@proximus/lavender-mega-dropdown 1.4.11-alpha.4 → 1.4.11-alpha.5

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 +2 -2
  2. package/package.json +1 -1
package/dist/index.es.js CHANGED
@@ -389,7 +389,7 @@ class ie extends X {
389
389
  `${n(this, m)}#icon-${this.name}`
390
390
  ));
391
391
  }
392
- !this.ariaLabel && n(this, b) && (n(this, b).ariaHidden = "true", this.ariaHidden = "true");
392
+ !this.ariaLabel && n(this, b) && (n(this, b).ariaHidden = "true", this.ariaHidden = "true"), this.parentElement.localName === "px-a" && this.slot !== "before" && this.slot !== "after" && this.setAttribute("color", "inherit");
393
393
  }
394
394
  updateAttribute(e, r, o, i) {
395
395
  r !== null && r !== "" && (e === "size" ? this.$el.classList.toggle(`${e}-${r}`) : this.$el.classList.toggle(r)), o !== null && o !== "" && (e === "size" ? this.$el.classList.toggle(`${e}-${o}`) : this.$el.classList.toggle(o)), this.checkName(i, o) || d(
@@ -2408,7 +2408,7 @@ const ye = [...ut, "link-m", "link-s"], lt = [
2408
2408
  updateVariant(t, e) {
2409
2409
  t !== null && t !== "" && t !== "link" && this._toggleClassList(t), e !== null && e !== "" && e !== "link" && this._toggleClassList(e), this.checkName(lt, e) || d(
2410
2410
  `"${e}" is not a valid variant value for ${this.tagName.toLowerCase()}. Allowed values are: "${lt.join('", "')}".`
2411
- ), e === "icon-link" && this.$iconNotBeforeAfter.setAttribute("color", "inherit");
2411
+ );
2412
2412
  }
2413
2413
  updateShape(t, e, r) {
2414
2414
  if (!w(r, e)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proximus/lavender-mega-dropdown",
3
- "version": "1.4.11-alpha.4",
3
+ "version": "1.4.11-alpha.5",
4
4
  "description": "",
5
5
  "main": "dist/index.es.js",
6
6
  "types": "dist/index.d.ts",