fix(build): Update TypeScript config and build tooling; use accessor for Lit properties; bump deps and adjust package metadata

This commit is contained in:
2025-11-30 21:22:51 +00:00
parent 2184d8be18
commit 1e74560aca
9 changed files with 1508 additions and 987 deletions

View File

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

View File

@@ -23,7 +23,7 @@ export class ConsentsoftwareCookieconsent extends LitElement {
// Reflects the current theme ('light' or 'dark')
@property({ type: String, reflect: true })
public theme: 'light' | 'dark' = 'light';
public accessor theme: 'light' | 'dark' = 'light';
/**
* Define component styles with CSS variables that adjust based on theme.

View File

@@ -7,10 +7,10 @@ export class ConsentsoftwareMainSelection extends LitElement {
public static demo = () => html`<consentsoftware-mainselection></consentsoftware-mainselection>`;
@property({ type: Boolean })
public required = false;
public accessor required = false;
@property({ type: Boolean })
public selected = false;
public accessor selected = false;
public static styles = css`
:host {

View File

@@ -1,9 +1,9 @@
{
"compilerOptions": {
"target": "es2017",
"module": "es2015",
"moduleResolution": "node",
"lib": ["es2017", "dom"],
"target": "ES2022",
"module": "ES2022",
"moduleResolution": "bundler",
"lib": ["ES2022", "DOM", "DOM.Iterable"],
"declaration": true,
"inlineSources": true,
"inlineSourceMap": true,