@proximus/lavender 2.0.0-alpha.113 → 2.0.0-alpha.114
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/lavender.cjs.js +1 -1
- package/dist/lavender.es.js +3 -3
- package/dist/lavender.umd.js +1 -1
- package/package.json +1 -1
package/dist/lavender.es.js
CHANGED
|
@@ -2185,6 +2185,9 @@ class Icon extends WithExtraAttributes {
|
|
|
2185
2185
|
__privateGet(this, _internals).ariaHidden = "true";
|
|
2186
2186
|
this.ariaHidden = "true";
|
|
2187
2187
|
}
|
|
2188
|
+
if (this.parentElement.localName === "px-a" && this.slot !== "before" && this.slot !== "after") {
|
|
2189
|
+
this.setAttribute("color", "inherit");
|
|
2190
|
+
}
|
|
2188
2191
|
}
|
|
2189
2192
|
updateAttribute(attrName, oldValue, newValue, attrValues) {
|
|
2190
2193
|
if (oldValue !== null && oldValue !== "") {
|
|
@@ -10627,9 +10630,6 @@ const _Link = class _Link extends PxElement {
|
|
|
10627
10630
|
`"${newValue}" is not a valid variant value for ${this.tagName.toLowerCase()}. Allowed values are: "${linkVariantValues.join('", "')}".`
|
|
10628
10631
|
);
|
|
10629
10632
|
}
|
|
10630
|
-
if (newValue === "icon-link") {
|
|
10631
|
-
this.$iconNotBeforeAfter.setAttribute("color", "inherit");
|
|
10632
|
-
}
|
|
10633
10633
|
}
|
|
10634
10634
|
updateShape(attrName, newValue, attrValue) {
|
|
10635
10635
|
if (!checkName(attrValue, newValue)) {
|