6 Commits

8 changed files with 44 additions and 1273 deletions

View File

@ -1,5 +1,24 @@
# Changelog # Changelog
## 2025-01-16 - 1.3.5 - fix(elements)
Improved styling consistency across several components
- Increased box-shadow intensity for better visual separation
- Changed border-bottom styles to use dotted lines for consistency
- Adjusted line-height for better vertical spacing
- Fixed border-right gradient on itemBox for better styling
## 2025-01-14 - 1.3.4 - fix(dependencies)
Corrected build script and updated @consent.software/webclient dependency version
- Corrected the build script entry in package.json.
- Updated @consent.software/webclient dependency to version ^1.1.0.
## 2025-01-14 - 1.3.3 - fix(package.json)
Fixed incorrect main and typings fields, replacing with exports field
- Updated package.json to use the 'exports' field instead of 'main' and 'typings' for module entry points
## 2025-01-14 - 1.3.2 - fix(core) ## 2025-01-14 - 1.3.2 - fix(core)
No code changes detected, maintain current state. No code changes detected, maintain current state.

View File

@ -1,21 +1,22 @@
{ {
"name": "@consent.software/catalog", "name": "@consent.software/catalog",
"version": "1.3.2", "version": "1.3.5",
"private": false, "private": false,
"description": "A library of web components designed to integrate robust consent management capabilities into web applications, ensuring compliance with privacy regulations.", "description": "A library of web components designed to integrate robust consent management capabilities into web applications, ensuring compliance with privacy regulations.",
"main": "dist_ts_web/index.js", "exports": {
"typings": "dist_ts_web/index.d.ts", ".": "./dist_ts_web/index.js"
},
"type": "module", "type": "module",
"scripts": { "scripts": {
"test": "npm run build", "test": "npm run build",
"build": "tsbuild element --allowimplicitany && tsbundle element --production", "build": "tsbuild tsfolders --allowimplicitany && tsbundle element --production",
"watch": "tswatch element" "watch": "tswatch element"
}, },
"author": "Lossless GmbH", "author": "Lossless GmbH",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@consent.software/interfaces": "^1.0.11", "@consent.software/interfaces": "^1.0.11",
"@consent.software/webclient": "^1.0.14", "@consent.software/webclient": "^1.1.0",
"@push.rocks/smartdelay": "^3.0.5", "@push.rocks/smartdelay": "^3.0.5",
"lit": "^3.2.1" "lit": "^3.2.1"
}, },

1265
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@consent.software/catalog', name: '@consent.software/catalog',
version: '1.3.2', version: '1.3.5',
description: 'A library of web components designed to integrate robust consent management capabilities into web applications, ensuring compliance with privacy regulations.' description: 'A library of web components designed to integrate robust consent management capabilities into web applications, ensuring compliance with privacy regulations.'
} }

View File

@ -75,8 +75,9 @@ export class ConsentsoftwareCookieconsent extends LitElement {
display: block; display: block;
color: var(--text-color); color: var(--text-color);
background: var(--background-color); background: var(--background-color);
box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.4); box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.6);
position: realtive; position: realtive;
border: 1px dotted rgba(255, 255, 255, 0.1);
border-top: 1px solid var(--accent-color); border-top: 1px solid var(--accent-color);
border-radius: 16px; border-radius: 16px;
max-width: 1100px; max-width: 1100px;
@ -142,9 +143,9 @@ export class ConsentsoftwareCookieconsent extends LitElement {
.info-container { .info-container {
color: var(--text-color); color: var(--text-color);
text-align: center; text-align: center;
line-height: 2em; line-height: 3em;
background: rgba(0, 0, 0, 0.1); background: rgba(0, 0, 0, 0.1);
border-top: 1px solid rgba(255, 255, 255, 0.1); border-top: 1px dotted rgba(255, 255, 255, 0.1);
font-size: 0.8em; font-size: 0.8em;
color: rgba(255, 255, 255, 0.5); color: rgba(255, 255, 255, 0.5);
} }
@ -269,7 +270,7 @@ export class ConsentsoftwareCookieconsent extends LitElement {
await this.updated(); await this.updated();
const pageOverlay: HTMLDivElement = this.shadowRoot?.querySelector('.pageOverlay'); const pageOverlay: HTMLDivElement = this.shadowRoot?.querySelector('.pageOverlay');
if (pageOverlay) { if (pageOverlay) {
pageOverlay.style.background = 'rgba(0, 0, 0, 0.5)'; pageOverlay.style.background = 'rgba(0, 0, 0, 0.1)';
pageOverlay.style.backdropFilter = 'blur(2px)'; pageOverlay.style.backdropFilter = 'blur(2px)';
} }
const modalBox: HTMLDivElement = this.shadowRoot?.querySelector('.modalBox'); const modalBox: HTMLDivElement = this.shadowRoot?.querySelector('.modalBox');

View File

@ -11,10 +11,10 @@ export class ConsentsoftwareHeader extends LitElement {
public static styles = css` public static styles = css`
:host { :host {
display: block; display: block;
line-height: 2em; line-height: 3em;
text-align: center; text-align: center;
font-family: ${shared.fontStack}; font-family: ${shared.fontStack};
border-bottom: 1px solid rgba(255, 255, 255, 0.1); border-bottom: 1px dotted rgba(255, 255, 255, 0.1);
} }
.heading { .heading {

View File

@ -16,8 +16,6 @@ export class ConsentsoftwareMainSelection extends LitElement {
:host { :host {
display: block; display: block;
position: relative; position: relative;
border-top: 1px solid rgba(255, 255, 255, 0.1);
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
} }
.maincontainer { .maincontainer {
@ -28,7 +26,8 @@ export class ConsentsoftwareMainSelection extends LitElement {
.itemBox { .itemBox {
padding: 16px; padding: 16px;
text-align: center; text-align: center;
border-right: 1px solid rgba(255, 255, 255, 0.1); border-right: 1px solid;
border-image: radial-gradient(circle, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0) 100%) 1;
} }
.itemBox:last-child { .itemBox:last-child {
border-right: none; border-right: none;

View File

@ -44,7 +44,7 @@ export class ConsentsoftwareTabs extends LitElement {
<div class="tabs"> <div class="tabs">
<div class="tab" @click=${this.handleClick}>Consent</div> <div class="tab" @click=${this.handleClick}>Consent</div>
<div class="tab" @click=${this.handleClick}>Details</div> <div class="tab" @click=${this.handleClick}>Details</div>
<div class="tab" @click=${this.handleClick}>About Cookies</div> <div class="tab" @click=${this.handleClick}>Cookie Policy + Legal Info</div>
</div> </div>
<div class="selector"></div> <div class="selector"></div>
`; `;