@proximus/lavender-light 2.0.0-alpha.113 → 2.0.0-alpha.115
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.
|
@@ -3087,6 +3087,9 @@ class Icon extends WithExtraAttributes {
|
|
|
3087
3087
|
__privateGet(this, _internals).ariaHidden = "true";
|
|
3088
3088
|
this.ariaHidden = "true";
|
|
3089
3089
|
}
|
|
3090
|
+
if (this.parentElement.localName === "px-a" && this.slot !== "before" && this.slot !== "after") {
|
|
3091
|
+
this.setAttribute("color", "inherit");
|
|
3092
|
+
}
|
|
3090
3093
|
}
|
|
3091
3094
|
updateAttribute(attrName, oldValue, newValue, attrValues) {
|
|
3092
3095
|
if (oldValue !== null && oldValue !== "") {
|
|
@@ -4912,9 +4915,6 @@ const _Link = class _Link extends PxElement {
|
|
|
4912
4915
|
`"${newValue}" is not a valid variant value for ${this.tagName.toLowerCase()}. Allowed values are: "${linkVariantValues.join('", "')}".`
|
|
4913
4916
|
);
|
|
4914
4917
|
}
|
|
4915
|
-
if (newValue === "icon-link") {
|
|
4916
|
-
this.$iconNotBeforeAfter.setAttribute("color", "inherit");
|
|
4917
|
-
}
|
|
4918
4918
|
}
|
|
4919
4919
|
updateShape(attrName, newValue, attrValue) {
|
|
4920
4920
|
if (!checkName(attrValue, newValue)) {
|