fix(build): Update TypeScript config and build tooling; use accessor for Lit properties; bump deps and adjust package metadata
This commit is contained in:
@@ -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.'
|
||||
}
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user