@proximus/lavender-mega-dropdown 2.0.0-alpha.55 → 2.0.0-alpha.57
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 +4 -7
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -294,7 +294,7 @@ class Kt extends Tt {
|
|
|
294
294
|
v(this, x);
|
|
295
295
|
v(this, b);
|
|
296
296
|
v(this, S, () => `<svg aria-hidden="true">
|
|
297
|
-
<use
|
|
297
|
+
<use></use>
|
|
298
298
|
</svg>`);
|
|
299
299
|
this.shadowRoot.innerHTML = d(this, S).call(this), A(this, b, (o = this.attachInternals) == null ? void 0 : o.call(this)), d(this, b) && (d(this, b).role = "img");
|
|
300
300
|
}
|
|
@@ -333,10 +333,7 @@ class Kt extends Tt {
|
|
|
333
333
|
}
|
|
334
334
|
}
|
|
335
335
|
connectedCallback() {
|
|
336
|
-
this.role = "img"
|
|
337
|
-
"xlink:href",
|
|
338
|
-
`#icon-${this.name}`
|
|
339
|
-
);
|
|
336
|
+
this.role = "img";
|
|
340
337
|
const e = document.querySelectorAll("px-icon-set");
|
|
341
338
|
e || console.log("<px-icon-set> component not found");
|
|
342
339
|
for (const o of e) {
|
|
@@ -345,7 +342,7 @@ class Kt extends Tt {
|
|
|
345
342
|
continue;
|
|
346
343
|
}
|
|
347
344
|
o.getAttribute("name") === this.from && o.getAttribute("type") !== "font" && (A(this, x, o.getAttribute("src")), this.$el.firstElementChild.setAttribute(
|
|
348
|
-
"
|
|
345
|
+
"href",
|
|
349
346
|
`${d(this, x)}#icon-${this.name}`
|
|
350
347
|
));
|
|
351
348
|
}
|
|
@@ -358,7 +355,7 @@ class Kt extends Tt {
|
|
|
358
355
|
}
|
|
359
356
|
updateName(e, o) {
|
|
360
357
|
d(this, x) && this.$el.firstElementChild.setAttribute(
|
|
361
|
-
"
|
|
358
|
+
"href",
|
|
362
359
|
`${d(this, x)}#icon-${o}`
|
|
363
360
|
);
|
|
364
361
|
}
|