@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.
- package/dist/index.es.js +6 -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="
|
|
797
|
+
<use xlink:href=""></use>
|
|
798
798
|
</svg>`);
|
|
799
|
-
this.shadowRoot.innerHTML = d(this, $).call(this),
|
|
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) {
|