@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.
Files changed (2) hide show
  1. package/dist/index.es.js +6 -6
  2. 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.firstElementChild) === this ? 0 : -1, this.$slotPrefix) {
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)}", w = new CSSStyleSheet();
628
- w.replaceSync(T);
629
- const y = new CSSStyleSheet();
630
- y.replaceSync(a);
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(y, w);
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proximus/lavender-tile",
3
- "version": "2.0.0-alpha.59",
3
+ "version": "2.0.0-alpha.60",
4
4
  "description": "",
5
5
  "main": "dist/index.es.js",
6
6
  "types": "dist/index.d.ts",