@proximus/lavender-content-header 2.0.0-alpha.206 → 2.0.0-alpha.208
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 +3 -10
- package/dist/web-types.json +2 -2
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -755,11 +755,7 @@ var M = [
|
|
|
755
755
|
}
|
|
756
756
|
}
|
|
757
757
|
updateOverflowX(e, t, n, r) {
|
|
758
|
-
|
|
759
|
-
m(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join("\", \"")}".`);
|
|
760
|
-
return;
|
|
761
|
-
}
|
|
762
|
-
this.overflowXAttributeDelegate.attributeChangedCallback(e, t, n);
|
|
758
|
+
l(r, n) ? this.overflowXAttributeDelegate.attributeChangedCallback(e, t, n) : m(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join("\", \"")}".`);
|
|
763
759
|
}
|
|
764
760
|
updateFlexProperties(e, n, r, i) {
|
|
765
761
|
r !== null && !this.checkName(i, r) && m(`"${r}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${i.join("\", \"")}".`);
|
|
@@ -772,11 +768,8 @@ var M = [
|
|
|
772
768
|
}
|
|
773
769
|
updateStyle(e, t, n, r) {
|
|
774
770
|
let i = `--flex-${e}--${t}-value`, a = e === "gap";
|
|
775
|
-
if (!n) {
|
|
776
|
-
|
|
777
|
-
return;
|
|
778
|
-
}
|
|
779
|
-
if (a && r && r.includes(n)) {
|
|
771
|
+
if (!n) this.$el.style.removeProperty(i), a && this.style.removeProperty(`--host-gap--${t}`);
|
|
772
|
+
else if (a && r && r.includes(n)) {
|
|
780
773
|
let e = `var(--px-spacing-${n}-${t === "laptop" ? "desktop" : t})`;
|
|
781
774
|
this.$el.style.setProperty(i, e), this.style.setProperty(`--host-gap--${t}`, e);
|
|
782
775
|
} else this.$el.style.setProperty(i, n);
|
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-content-header",
|
|
4
|
-
"version": "2.0.0-alpha.
|
|
4
|
+
"version": "2.0.0-alpha.208",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
8
8
|
"elements": [
|
|
9
9
|
{
|
|
10
10
|
"name": "px-content-header",
|
|
11
|
-
"description": "\n---\n",
|
|
11
|
+
"description": "\n\n---\n",
|
|
12
12
|
"doc-url": "",
|
|
13
13
|
"attributes": [
|
|
14
14
|
{ "name": "background-color", "value": { "type": "string" } },
|