@proximus/lavender-carousel 1.4.3-alpha.2 → 1.4.3-alpha.4

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 -2
  2. package/package.json +1 -1
package/dist/index.es.js CHANGED
@@ -794,9 +794,9 @@ class Et extends I {
794
794
  k(this, h);
795
795
  k(this, p);
796
796
  k(this, $, () => `<svg aria-hidden="true">
797
- <use xlink:href="#icon-${this.name}"></use>
797
+ <use xlink:href=""></use>
798
798
  </svg>`);
799
- this.shadowRoot.innerHTML = d(this, $).call(this), this.role = "img", j(this, p, (i = this.attachInternals) == null ? void 0 : i.call(this)), d(this, p) && (d(this, p).role = "img");
799
+ this.shadowRoot.innerHTML = d(this, $).call(this), j(this, p, (i = this.attachInternals) == null ? void 0 : i.call(this)), d(this, p) && (d(this, p).role = "img");
800
800
  }
801
801
  static get observedAttributes() {
802
802
  return [...super.observedAttributes, ...Tt];
@@ -824,6 +824,10 @@ class Et extends I {
824
824
  }
825
825
  }
826
826
  connectedCallback() {
827
+ this.role = "img", this.name && this.$el.firstElementChild.setAttribute(
828
+ "xlink:href",
829
+ `#icon-${this.name}`
830
+ );
827
831
  const e = document.querySelectorAll("px-icon-set");
828
832
  e || console.log("<px-icon-set> component not found");
829
833
  for (const i of e) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proximus/lavender-carousel",
3
- "version": "1.4.3-alpha.2",
3
+ "version": "1.4.3-alpha.4",
4
4
  "description": "",
5
5
  "main": "dist/index.es.js",
6
6
  "types": "dist/index.d.ts",