@proximus/lavender-mega-dropdown 2.0.0-alpha.56 → 2.0.0-alpha.58

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 +4 -7
  2. 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 xlink:href=""></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", this.name && this.$el.firstElementChild.setAttribute(
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
- "xlink:href",
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
- "xlink:href",
358
+ "href",
362
359
  `${d(this, x)}#icon-${o}`
363
360
  );
364
361
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proximus/lavender-mega-dropdown",
3
- "version": "2.0.0-alpha.56",
3
+ "version": "2.0.0-alpha.58",
4
4
  "description": "",
5
5
  "main": "dist/index.es.js",
6
6
  "types": "dist/index.d.ts",