@proximus/lavender-carousel 1.4.10-beta.4 → 1.4.10

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 -5
  2. package/package.json +1 -1
package/dist/index.es.js CHANGED
@@ -831,21 +831,20 @@ class Rt extends M {
831
831
  }
832
832
  }
833
833
  connectedCallback() {
834
- var i;
835
834
  this.role = "img";
836
835
  const e = document.querySelectorAll("px-icon-set");
837
836
  e || console.log("<px-icon-set> component not found");
838
- for (const a of e) {
839
- if (!a.getAttribute("name") || !a.getAttribute("src")) {
837
+ for (const i of e) {
838
+ if (!i.getAttribute("name") || !i.getAttribute("src")) {
840
839
  console.error("Icon name or src not found");
841
840
  continue;
842
841
  }
843
- a.getAttribute("name") === this.from && a.getAttribute("type") !== "font" && (E(this, h, a.getAttribute("src")), this.$el.firstElementChild.setAttribute(
842
+ i.getAttribute("name") === this.from && i.getAttribute("type") !== "font" && (E(this, h, i.getAttribute("src")), this.$el.firstElementChild.setAttribute(
844
843
  "href",
845
844
  `${p(this, h)}#icon-${this.name}`
846
845
  ));
847
846
  }
848
- !this.ariaLabel && p(this, d) && (p(this, d).ariaHidden = "true", this.ariaHidden = "true"), ((i = this.parentElement) == null ? void 0 : i.localName) === "px-a" && this.slot !== "before" && this.slot !== "after" && (this.color || this.setAttribute("color", "inherit"));
847
+ !this.ariaLabel && p(this, d) && (p(this, d).ariaHidden = "true", this.ariaHidden = "true");
849
848
  }
850
849
  updateAttribute(e, i, a, r) {
851
850
  i !== null && i !== "" && (e === "size" ? this.$el.classList.toggle(`${e}-${i}`) : this.$el.classList.toggle(i)), a !== null && a !== "" && (e === "size" ? this.$el.classList.toggle(`${e}-${a}`) : this.$el.classList.toggle(a)), this.checkName(r, a) || f(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proximus/lavender-carousel",
3
- "version": "1.4.10-beta.4",
3
+ "version": "1.4.10",
4
4
  "description": "",
5
5
  "main": "dist/index.es.js",
6
6
  "types": "dist/index.d.ts",