@proximus/lavender-carousel 1.4.1-beta.1 → 1.4.1

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 +3 -3
  2. package/package.json +1 -1
package/dist/index.es.js CHANGED
@@ -783,7 +783,7 @@ class Tt extends T {
783
783
  m(this, w, () => `<svg aria-hidden="true">
784
784
  <use xlink:href="#icon-${this.name}"></use>
785
785
  </svg>`);
786
- this.shadowRoot.innerHTML = d(this, w).call(this), C(this, p, (i = this.attachInternals) == null ? void 0 : i.call(this)), d(this, p) && (d(this, p).role = "img");
786
+ this.shadowRoot.innerHTML = d(this, w).call(this), this.role = "img", C(this, p, (i = this.attachInternals) == null ? void 0 : i.call(this)), d(this, p) && (d(this, p).role = "img");
787
787
  }
788
788
  static get observedAttributes() {
789
789
  return [...super.observedAttributes, ...Lt];
@@ -806,7 +806,7 @@ class Tt extends T {
806
806
  case "aria-label":
807
807
  if (!d(this, p))
808
808
  return;
809
- s ? d(this, p).ariaHidden = "false" : d(this, p).ariaHidden = "true";
809
+ s ? (d(this, p).ariaHidden = "false", this.ariaHidden = "false") : (d(this, p).ariaHidden = "true", this.ariaHidden = "true");
810
810
  break;
811
811
  }
812
812
  }
@@ -823,7 +823,7 @@ class Tt extends T {
823
823
  `${d(this, h)}#icon-${this.name}`
824
824
  ));
825
825
  }
826
- !this.ariaLabel && d(this, p) && (d(this, p).ariaHidden = "true");
826
+ !this.ariaLabel && d(this, p) && (d(this, p).ariaHidden = "true", this.ariaHidden = "true");
827
827
  }
828
828
  updateAttribute(e, i, s, n) {
829
829
  i !== null && i !== "" && (e === "size" ? this.$el.classList.toggle(`${e}-${i}`) : this.$el.classList.toggle(i)), s !== null && s !== "" && (e === "size" ? this.$el.classList.toggle(`${e}-${s}`) : this.$el.classList.toggle(s)), this.checkName(n, s) || console.error(`${s} is not an allowed ${e} value`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proximus/lavender-carousel",
3
- "version": "1.4.1-beta.1",
3
+ "version": "1.4.1",
4
4
  "description": "",
5
5
  "main": "dist/index.es.js",
6
6
  "types": "dist/index.d.ts",