@proximus/lavender-tile 2.0.0-alpha.59 → 2.0.0-alpha.60
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/index.es.js +6 -6
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -463,7 +463,7 @@ class B extends p {
|
|
|
463
463
|
}
|
|
464
464
|
connectedCallback() {
|
|
465
465
|
var t;
|
|
466
|
-
if (this.role = "radio", this.internals && (this.internals.role = "radio", this.internals.ariaChecked = `${this.checked}`), this.ariaChecked = `${this.checked}`, this.tabIndex = ((t = this.parentElement) == null ? void 0 : t.
|
|
466
|
+
if (this.role = "radio", this.internals && (this.internals.role = "radio", this.internals.ariaChecked = `${this.checked}`), this.ariaChecked = `${this.checked}`, this.tabIndex = ((t = this.parentElement) == null ? void 0 : t.querySelector("px-tile-radio")) === this ? 0 : -1, this.$slotPrefix) {
|
|
467
467
|
const e = this.querySelector('px-img[slot="prefix"]');
|
|
468
468
|
e && l(e);
|
|
469
469
|
}
|
|
@@ -624,10 +624,10 @@ class B extends p {
|
|
|
624
624
|
}
|
|
625
625
|
}
|
|
626
626
|
customElements.get("px-tile-radio") || customElements.define("px-tile-radio", B);
|
|
627
|
-
const T = ".tile-link{text-decoration:none}.tile-link px-icon{color:var(--px-color-icon-brand-default)}.tile-link[aria-disabled=true] px-icon{color:var(--px-color-icon-state-disabled-default)}:host([inverted]) .tile-link px-icon{color:var(--px-color-icon-brand-inverted)}:host([inverted]) .tile-link[aria-disabled=true] px-icon{color:var(--px-color-icon-state-disabled-inverted)}",
|
|
628
|
-
|
|
629
|
-
const
|
|
630
|
-
|
|
627
|
+
const T = ".tile-link{text-decoration:none}.tile-link px-icon{color:var(--px-color-icon-brand-default)}.tile-link[aria-disabled=true] px-icon{color:var(--px-color-icon-state-disabled-default)}:host([inverted]) .tile-link px-icon{color:var(--px-color-icon-brand-inverted)}:host([inverted]) .tile-link[aria-disabled=true] px-icon{color:var(--px-color-icon-state-disabled-inverted)}", y = new CSSStyleSheet();
|
|
628
|
+
y.replaceSync(T);
|
|
629
|
+
const w = new CSSStyleSheet();
|
|
630
|
+
w.replaceSync(a);
|
|
631
631
|
const d = class d extends k {
|
|
632
632
|
template() {
|
|
633
633
|
return `
|
|
@@ -646,7 +646,7 @@ const d = class d extends k {
|
|
|
646
646
|
`;
|
|
647
647
|
}
|
|
648
648
|
constructor() {
|
|
649
|
-
super(
|
|
649
|
+
super(w, y);
|
|
650
650
|
const t = document.createElement(d.nativeName);
|
|
651
651
|
t.classList.add("tile-link"), t.innerHTML = this.template(), this.shadowRoot.appendChild(t);
|
|
652
652
|
}
|