Compare commits
8 Commits
Author | SHA1 | Date | |
---|---|---|---|
fc2ba54725 | |||
a9ae67b43b | |||
599b529744 | |||
d15f8ecf39 | |||
ed51ea2049 | |||
7ab409ca80 | |||
e4b611c86d | |||
5bb5e8e458 |
24
changelog.md
24
changelog.md
@ -1,5 +1,29 @@
|
||||
# Changelog
|
||||
|
||||
## 2025-01-21 - 1.5.4 - fix(consentsoftware-components)
|
||||
Add interactive consent software components for managing cookie levels.
|
||||
|
||||
- Implemented 'consentsoftware-cookieconsent' component for cookie management
|
||||
- Introduced 'consentsoftware-toggle' for user interaction improvements
|
||||
- Added theme support for light/dark modes in consent components
|
||||
- Enhanced consent interface with responsive design and accessibility features
|
||||
|
||||
## 2025-01-20 - 1.5.3 - fix(consentsoftware-cookieconsent)
|
||||
Fix visual inconsistencies in the consent software modal overlay and shadow.
|
||||
|
||||
- Updated the shadow color in the modal box to use a consistent color.
|
||||
- Restored backdrop blur effect in the page overlay when visible.
|
||||
|
||||
## 2025-01-20 - 1.5.2 - fix(core)
|
||||
No changes detected
|
||||
|
||||
|
||||
## 2025-01-20 - 1.5.1 - fix(consentsoftware-cookieconsent)
|
||||
Adjusted shake animation duration and box-shadow for modalBox in consent cookie component.
|
||||
|
||||
- Changed the box-shadow to be softer with reduced spread for more subtle visual effect.
|
||||
- Increased the duration of shake animation from 300ms to 2000ms for enhanced user feedback upon overlay interaction.
|
||||
|
||||
## 2025-01-20 - 1.5.0 - feat(consentsoftware-cookieconsent)
|
||||
Enhance consent modal with shake animation on overlay click
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@consent.software/catalog",
|
||||
"version": "1.5.0",
|
||||
"version": "1.5.4",
|
||||
"private": false,
|
||||
"description": "A library of web components designed to integrate robust consent management capabilities into web applications, ensuring compliance with privacy regulations.",
|
||||
"exports": {
|
||||
|
@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@consent.software/catalog',
|
||||
version: '1.5.0',
|
||||
version: '1.5.4',
|
||||
description: 'A library of web components designed to integrate robust consent management capabilities into web applications, ensuring compliance with privacy regulations.'
|
||||
}
|
||||
|
@ -80,14 +80,13 @@ export class ConsentsoftwareCookieconsent extends LitElement {
|
||||
|
||||
.pageOverlay.shake {
|
||||
background: rgba(0, 0, 0, 0.5) !important;
|
||||
backdrop-filter: blur(20px) !important;
|
||||
}
|
||||
|
||||
.modalBox {
|
||||
display: block;
|
||||
color: var(--text-color);
|
||||
background: var(--background-color);
|
||||
box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.6);
|
||||
box-shadow: 0px 0px 8px rgba(255, 255, 255, 0.6);
|
||||
position: realtive;
|
||||
border: 1px dotted rgba(255, 255, 255, 0.1);
|
||||
border-top: 1px solid var(--accent-color);
|
||||
@ -104,7 +103,6 @@ export class ConsentsoftwareCookieconsent extends LitElement {
|
||||
|
||||
.modalBox.shake {
|
||||
animation: shake 150ms 2 linear;
|
||||
box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.6);
|
||||
}
|
||||
|
||||
@keyframes shake {
|
||||
@ -286,8 +284,8 @@ export class ConsentsoftwareCookieconsent extends LitElement {
|
||||
await this.updated();
|
||||
const pageOverlay: HTMLDivElement = this.shadowRoot?.querySelector('.pageOverlay');
|
||||
if (pageOverlay) {
|
||||
pageOverlay.style.background = 'rgba(255,255,255, 0.1)';
|
||||
pageOverlay.style.backdropFilter = 'blur(0px)';
|
||||
pageOverlay.style.background = 'rgba(0,0,0, 0.5)';
|
||||
pageOverlay.style.backdropFilter = 'blur(20px)';
|
||||
}
|
||||
const modalBox: HTMLDivElement = this.shadowRoot?.querySelector('.modalBox');
|
||||
if (modalBox) {
|
||||
@ -350,7 +348,7 @@ export class ConsentsoftwareCookieconsent extends LitElement {
|
||||
if (pageOverlay && modalBox) {
|
||||
pageOverlay.classList.add('shake');
|
||||
modalBox.classList.add('shake');
|
||||
await delayFor(300);
|
||||
await delayFor(2000);
|
||||
pageOverlay.classList.remove('shake');
|
||||
modalBox.classList.remove('shake');
|
||||
}
|
||||
|
Reference in New Issue
Block a user