@proximus/lavender-link 1.2.0-alpha.53 → 1.2.0-alpha.54
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/index.es.js +12 -2
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -27,11 +27,12 @@ const h = [
|
|
|
27
27
|
"inverted",
|
|
28
28
|
"font-size",
|
|
29
29
|
"color",
|
|
30
|
-
"font-weight"
|
|
30
|
+
"font-weight",
|
|
31
|
+
"title"
|
|
31
32
|
];
|
|
32
33
|
}
|
|
33
34
|
connectedCallback() {
|
|
34
|
-
super.connectedCallback(), this.$before && this.$before.localName === "px-icon" && this.configureBeforeAfterIcon(this.$before), this.$after && this.$after.localName === "px-icon" && this.configureBeforeAfterIcon(this.$after), c(this, this.$el);
|
|
35
|
+
super.connectedCallback(), this.$before && this.$before.localName === "px-icon" && this.configureBeforeAfterIcon(this.$before), this.$after && this.$after.localName === "px-icon" && this.configureBeforeAfterIcon(this.$after), c(this, this.$el, !1);
|
|
35
36
|
}
|
|
36
37
|
attributeChangedCallback(t, e, o) {
|
|
37
38
|
if (e !== o)
|
|
@@ -57,6 +58,9 @@ const h = [
|
|
|
57
58
|
case "font-weight":
|
|
58
59
|
this.updateTypography(t, e, o, p);
|
|
59
60
|
break;
|
|
61
|
+
case "title":
|
|
62
|
+
o && (this.$el.setAttribute("title", o), this.removeAttribute("title"));
|
|
63
|
+
break;
|
|
60
64
|
default:
|
|
61
65
|
super.attributeChangedCallback(t, e, o);
|
|
62
66
|
break;
|
|
@@ -147,6 +151,12 @@ const h = [
|
|
|
147
151
|
set fontweight(t) {
|
|
148
152
|
this.setAttribute("font-weight", t);
|
|
149
153
|
}
|
|
154
|
+
get title() {
|
|
155
|
+
return this.getAttribute("title");
|
|
156
|
+
}
|
|
157
|
+
set title(t) {
|
|
158
|
+
t ? this.setAttribute("title", t) : this.removeAttribute("title");
|
|
159
|
+
}
|
|
150
160
|
};
|
|
151
161
|
a.nativeName = "a";
|
|
152
162
|
let r = a;
|