fix(core): Update LitElement properties to use accessors
This commit is contained in:
parent
bdf9aa7e54
commit
472fa6b684
@ -1,5 +1,11 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 2025-01-17 - 1.4.4 - fix(core)
|
||||||
|
Update LitElement properties to use accessors
|
||||||
|
|
||||||
|
- Changes made in ts_web/elements/consentsoftware-toggle.ts
|
||||||
|
- Updated properties 'required' and 'selected' to use accessors
|
||||||
|
|
||||||
## 2025-01-17 - 1.4.3 - fix(consentsoftware-cookieconsent)
|
## 2025-01-17 - 1.4.3 - fix(consentsoftware-cookieconsent)
|
||||||
Fix transition property in consent button styles and add HTMLElementTagNameMap declaration for global interface.
|
Fix transition property in consent button styles and add HTMLElementTagNameMap declaration for global interface.
|
||||||
|
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@consent.software/catalog',
|
name: '@consent.software/catalog',
|
||||||
version: '1.4.3',
|
version: '1.4.4',
|
||||||
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.'
|
||||||
}
|
}
|
||||||
|
@ -6,10 +6,10 @@ import { delayFor } from '@push.rocks/smartdelay';
|
|||||||
@customElement('consentsoftware-toggle')
|
@customElement('consentsoftware-toggle')
|
||||||
export class ConsentsoftwareToggle extends LitElement {
|
export class ConsentsoftwareToggle extends LitElement {
|
||||||
@property({ type: Boolean })
|
@property({ type: Boolean })
|
||||||
public required = false;
|
public accessor required = false;
|
||||||
|
|
||||||
@property({ type: Boolean, reflect: true })
|
@property({ type: Boolean, reflect: true })
|
||||||
public selected = false;
|
public accessor selected = false;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* We always track the knob’s left offset in `currentX`.
|
* We always track the knob’s left offset in `currentX`.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user