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