@proximus/lavender 2.0.0-alpha.84 → 2.0.0-alpha.86
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lavender.cjs.js +1 -1
- package/dist/lavender.es.js +5 -1
- package/dist/lavender.umd.js +1 -1
- package/package.json +1 -1
package/dist/lavender.es.js
CHANGED
|
@@ -2801,6 +2801,10 @@ const _Container = class _Container extends WithExtraAttributes {
|
|
|
2801
2801
|
`--container-anchor-spacing--laptop`,
|
|
2802
2802
|
`var(--px-spacing-${value}-laptop)`
|
|
2803
2803
|
);
|
|
2804
|
+
this.style.setProperty(
|
|
2805
|
+
`--container-anchor-spacing--desktop`,
|
|
2806
|
+
`var(--px-spacing-${value}-desktop)`
|
|
2807
|
+
);
|
|
2804
2808
|
}
|
|
2805
2809
|
};
|
|
2806
2810
|
updateAnchorSpacingStyle(oldValue);
|
|
@@ -15344,12 +15348,12 @@ const _Switch = class _Switch extends PxElement {
|
|
|
15344
15348
|
</div>`;
|
|
15345
15349
|
this.shadowRoot.innerHTML = this.template();
|
|
15346
15350
|
this.internals = (_a = this.attachInternals) == null ? void 0 : _a.call(this);
|
|
15347
|
-
this.role = "switch";
|
|
15348
15351
|
}
|
|
15349
15352
|
static get observedAttributes() {
|
|
15350
15353
|
return [...super.observedAttributes, "inverted", "hover"];
|
|
15351
15354
|
}
|
|
15352
15355
|
connectedCallback() {
|
|
15356
|
+
this.role = "switch";
|
|
15353
15357
|
const toggle = () => {
|
|
15354
15358
|
var _a;
|
|
15355
15359
|
if (!this.disabled) {
|