@proximus/lavender-link 2.0.0-alpha.206 → 2.0.0-alpha.207
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 +1 -5
- package/dist/web-types.json +3 -3
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -108,11 +108,7 @@ var g = [
|
|
|
108
108
|
e !== null && e !== "" && e !== "link" && this._toggleClassList(e), t !== null && t !== "" && t !== "link" && this._toggleClassList(t), this.checkName(_, t) || s(`"${t}" is not a valid variant value for ${this.tagName.toLowerCase()}. Allowed values are: "${_.join("\", \"")}".`);
|
|
109
109
|
}
|
|
110
110
|
updateShape(e, t, r) {
|
|
111
|
-
|
|
112
|
-
s(`"${t}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join("\", \"")}".`);
|
|
113
|
-
return;
|
|
114
|
-
}
|
|
115
|
-
t !== null && t !== "" && this.$el.setAttribute(e, t);
|
|
111
|
+
n(r, t) ? t !== null && t !== "" && this.$el.setAttribute(e, t) : s(`"${t}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join("\", \"")}".`);
|
|
116
112
|
}
|
|
117
113
|
updateTypography(e, t, n, r) {
|
|
118
114
|
t !== null && t !== "" && t !== "default" && this.$el.classList.toggle(`${e}-${t}`), n !== null && n !== "" && n !== "default" && this.$el.classList.toggle(`${e}-${n}`), this.checkName(r, n) || s(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join("\", \"")}".`);
|
package/dist/web-types.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"name": "@proximus/lavender-link",
|
|
4
|
-
"version": "2.0.0-alpha.
|
|
4
|
+
"version": "2.0.0-alpha.207",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
8
8
|
"elements": [
|
|
9
9
|
{
|
|
10
10
|
"name": "px-a",
|
|
11
|
-
"description": "A link component.\n---\n\n\n### **Slots:**\n - **before** - Content to be placed before the link text.\n- **after** - Content to be placed after the link text.",
|
|
11
|
+
"description": "A link component.\n\n---\n\n\n### **Slots:**\n - **before** - Content to be placed before the link text.\n- **after** - Content to be placed after the link text.",
|
|
12
12
|
"doc-url": "",
|
|
13
13
|
"attributes": [
|
|
14
14
|
{ "name": "disabled", "value": { "type": "string" } },
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
},
|
|
89
89
|
{
|
|
90
90
|
"name": "px-a-wrapper",
|
|
91
|
-
"description": "A wrapper link that propagates interactive states (hover/focus) to child components.\n---\n\n\n### **Slots:**\n - **before** - Content to be placed before the link text.\n- **after** - Content to be placed after the link text.",
|
|
91
|
+
"description": "A wrapper link that propagates interactive states (hover/focus) to child components.\n\n---\n\n\n### **Slots:**\n - **before** - Content to be placed before the link text.\n- **after** - Content to be placed after the link text.",
|
|
92
92
|
"doc-url": "",
|
|
93
93
|
"attributes": [
|
|
94
94
|
{
|