@proximus/lavender-header 2.0.0-alpha.205 → 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 +5 -5
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -178,11 +178,7 @@ var S = [
|
|
|
178
178
|
e !== null && e !== "" && e !== "link" && this._toggleClassList(e), t !== null && t !== "" && t !== "link" && this._toggleClassList(t), this.checkName(C, t) || l(`"${t}" is not a valid variant value for ${this.tagName.toLowerCase()}. Allowed values are: "${C.join("\", \"")}".`);
|
|
179
179
|
}
|
|
180
180
|
updateShape(e, t, n) {
|
|
181
|
-
|
|
182
|
-
l(`"${t}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${n.join("\", \"")}".`);
|
|
183
|
-
return;
|
|
184
|
-
}
|
|
185
|
-
t !== null && t !== "" && this.$el.setAttribute(e, t);
|
|
181
|
+
i(n, t) ? t !== null && t !== "" && this.$el.setAttribute(e, t) : l(`"${t}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${n.join("\", \"")}".`);
|
|
186
182
|
}
|
|
187
183
|
updateTypography(e, t, n, r) {
|
|
188
184
|
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) || l(`"${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-header",
|
|
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-header",
|
|
11
|
-
"description": "\n---\n\n\n### **Events:**\n - **close-panel**",
|
|
11
|
+
"description": "\n\n---\n\n\n### **Events:**\n - **close-panel**",
|
|
12
12
|
"doc-url": "",
|
|
13
13
|
"attributes": [
|
|
14
14
|
{ "name": "burger-menu-aria-label", "value": { "type": "string" } },
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
},
|
|
50
50
|
{
|
|
51
51
|
"name": "px-header-item",
|
|
52
|
-
"description": "\n---\n",
|
|
52
|
+
"description": "\n\n---\n",
|
|
53
53
|
"doc-url": "",
|
|
54
54
|
"attributes": [
|
|
55
55
|
{ "name": "for", "value": { "type": "string" } },
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
},
|
|
74
74
|
{
|
|
75
75
|
"name": "px-mdd-a",
|
|
76
|
-
"description": "\n---\n",
|
|
76
|
+
"description": "\n\n---\n",
|
|
77
77
|
"doc-url": "",
|
|
78
78
|
"attributes": [],
|
|
79
79
|
"events": [],
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
},
|
|
82
82
|
{
|
|
83
83
|
"name": "px-header-mobile-menu",
|
|
84
|
-
"description": "\n---\n\n\n### **Methods:**\n - **render()** - Builds the menu content from the header items. Runs only once.",
|
|
84
|
+
"description": "\n\n---\n\n\n### **Methods:**\n - **render()** - Builds the menu content from the header items. Runs only once.",
|
|
85
85
|
"doc-url": "",
|
|
86
86
|
"attributes": [],
|
|
87
87
|
"events": [],
|