@proximus/lavender-toaster 1.4.20-alpha.3 → 1.4.20-alpha.4
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 +120 -26
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -59,27 +59,27 @@ var l = class e extends HTMLElement {
|
|
|
59
59
|
case "align-self--tablet":
|
|
60
60
|
case "align-self--laptop":
|
|
61
61
|
case "align-self--desktop":
|
|
62
|
-
this.updateProperties(t, n, r, this.parentElement?.localName === "px-grid" ?
|
|
62
|
+
this.updateProperties(t, n, r, this.parentElement?.localName === "px-grid" ? u : ee);
|
|
63
63
|
break;
|
|
64
64
|
case "justify-self":
|
|
65
65
|
case "justify-self--mobile":
|
|
66
66
|
case "justify-self--tablet":
|
|
67
67
|
case "justify-self--laptop":
|
|
68
68
|
case "justify-self--desktop":
|
|
69
|
-
this.updateProperties(t, n, r,
|
|
69
|
+
this.updateProperties(t, n, r, d);
|
|
70
70
|
break;
|
|
71
71
|
case "col-span":
|
|
72
72
|
case "col-span--mobile":
|
|
73
73
|
case "col-span--tablet":
|
|
74
74
|
case "col-span--laptop":
|
|
75
75
|
case "col-span--desktop":
|
|
76
|
-
this.updateProperties(t, n, r,
|
|
76
|
+
this.updateProperties(t, n, r, f);
|
|
77
77
|
break;
|
|
78
78
|
case "order":
|
|
79
79
|
case "order--mobile":
|
|
80
80
|
case "order--tablet":
|
|
81
81
|
case "order--laptop":
|
|
82
|
-
case "order--desktop": this.updateProperties(t, n, r,
|
|
82
|
+
case "order--desktop": this.updateProperties(t, n, r, p);
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
updateProperties(e, t, n, r) {
|
|
@@ -401,21 +401,21 @@ var ee = [
|
|
|
401
401
|
"center",
|
|
402
402
|
"baseline",
|
|
403
403
|
"stretch"
|
|
404
|
-
],
|
|
404
|
+
], u = [
|
|
405
405
|
"",
|
|
406
406
|
"default",
|
|
407
407
|
"start",
|
|
408
408
|
"end",
|
|
409
409
|
"center",
|
|
410
410
|
"stretch"
|
|
411
|
-
],
|
|
411
|
+
], d = [
|
|
412
412
|
"",
|
|
413
413
|
"default",
|
|
414
414
|
"start",
|
|
415
415
|
"end",
|
|
416
416
|
"center",
|
|
417
417
|
"stretch"
|
|
418
|
-
],
|
|
418
|
+
], f = [
|
|
419
419
|
"",
|
|
420
420
|
"1",
|
|
421
421
|
"2",
|
|
@@ -429,7 +429,7 @@ var ee = [
|
|
|
429
429
|
"10",
|
|
430
430
|
"11",
|
|
431
431
|
"12"
|
|
432
|
-
],
|
|
432
|
+
], p = [
|
|
433
433
|
"",
|
|
434
434
|
"-1",
|
|
435
435
|
"0",
|
|
@@ -445,7 +445,7 @@ var ee = [
|
|
|
445
445
|
"10",
|
|
446
446
|
"11",
|
|
447
447
|
"12"
|
|
448
|
-
],
|
|
448
|
+
], m = [
|
|
449
449
|
"",
|
|
450
450
|
"default",
|
|
451
451
|
...[
|
|
@@ -455,7 +455,7 @@ var ee = [
|
|
|
455
455
|
"L",
|
|
456
456
|
"Xl"
|
|
457
457
|
].map((e) => e.toLowerCase())
|
|
458
|
-
],
|
|
458
|
+
], h = [
|
|
459
459
|
"",
|
|
460
460
|
"none",
|
|
461
461
|
"3xs",
|
|
@@ -465,13 +465,13 @@ var ee = [
|
|
|
465
465
|
"m",
|
|
466
466
|
"l",
|
|
467
467
|
"xl"
|
|
468
|
-
],
|
|
468
|
+
], te = [
|
|
469
469
|
"",
|
|
470
470
|
"none",
|
|
471
471
|
"s",
|
|
472
472
|
"m",
|
|
473
473
|
"l"
|
|
474
|
-
],
|
|
474
|
+
], ne = [
|
|
475
475
|
"",
|
|
476
476
|
"none",
|
|
477
477
|
"main",
|
|
@@ -674,13 +674,13 @@ var j = [
|
|
|
674
674
|
"11",
|
|
675
675
|
"12"
|
|
676
676
|
], N = (e, t, n) => `:host([${e}${n ? `--${n}` : ""}='${t}']) .container`, P = "px-padding", F = [
|
|
677
|
-
w("padding", N,
|
|
678
|
-
w("padding-inline", N,
|
|
679
|
-
w("padding-block", N,
|
|
680
|
-
w("padding-top", N,
|
|
681
|
-
w("padding-right", N,
|
|
682
|
-
w("padding-bottom", N,
|
|
683
|
-
w("padding-left", N,
|
|
677
|
+
w("padding", N, h, P, "--container-padding"),
|
|
678
|
+
w("padding-inline", N, h, P),
|
|
679
|
+
w("padding-block", N, h, P),
|
|
680
|
+
w("padding-top", N, h, P),
|
|
681
|
+
w("padding-right", N, h, P, "--container-padding-right"),
|
|
682
|
+
w("padding-bottom", N, h, P),
|
|
683
|
+
w("padding-left", N, h, P, "--container-padding-left"),
|
|
684
684
|
w("gap", N, b, "px-spacing", void 0, "subgrid-gap")
|
|
685
685
|
], I = class e extends l {
|
|
686
686
|
static {
|
|
@@ -746,7 +746,7 @@ var j = [
|
|
|
746
746
|
attributeChangedCallback(e, t, n) {
|
|
747
747
|
if (t !== n) switch (e) {
|
|
748
748
|
case "border":
|
|
749
|
-
this.updateAttribute(e, t, n,
|
|
749
|
+
this.updateAttribute(e, t, n, te);
|
|
750
750
|
break;
|
|
751
751
|
case "border-color":
|
|
752
752
|
this.updateBorderColor(e, n);
|
|
@@ -758,7 +758,7 @@ var j = [
|
|
|
758
758
|
this.updateAttribute(e, t, n, _);
|
|
759
759
|
break;
|
|
760
760
|
case "border-radius":
|
|
761
|
-
this.updateAttribute(e, t, n,
|
|
761
|
+
this.updateAttribute(e, t, n, ne);
|
|
762
762
|
break;
|
|
763
763
|
case "no-border-radius":
|
|
764
764
|
case "no-border-radius--mobile":
|
|
@@ -794,7 +794,7 @@ var j = [
|
|
|
794
794
|
this.updateAttribute(e, t, n, ie);
|
|
795
795
|
break;
|
|
796
796
|
case "anchor-offset":
|
|
797
|
-
this.updateAnchorOffset(t, n,
|
|
797
|
+
this.updateAnchorOffset(t, n, h);
|
|
798
798
|
break;
|
|
799
799
|
case "anchor-spacing":
|
|
800
800
|
this.updateAnchorSpacing(t, n, j);
|
|
@@ -1274,7 +1274,7 @@ var j = [
|
|
|
1274
1274
|
customElements.get("px-container") || customElements.define("px-container", I);
|
|
1275
1275
|
//#endregion
|
|
1276
1276
|
//#region ../Layout/src/Stack.css?inline
|
|
1277
|
-
var L = ":host{--host-gap--mobile:var(--px-spacing-none-mobile);--host-gap--tablet:var(--px-spacing-none-tablet);--host-gap--laptop:var(--px-spacing-none-desktop);--host-gap--desktop:var(--px-spacing-none-desktop);--overflow-x-all:visible;--overflow-x-all-mobile:initial;--overflow-x-all-tablet:initial;--overflow-x-all-laptop:initial;--overflow-x-all-desktop:initial;display:block}:host ::slotted(px-h1[auto-spacing]),:host ::slotted(px-h2[auto-spacing]),:host ::slotted(px-h3[auto-spacing]),:host ::slotted(px-h4[auto-spacing]),:host ::slotted(px-h5[auto-spacing]),:host ::slotted(px-h6[auto-spacing]){margin-bottom:calc(var(--px-spacing-heading-to-content-mobile) - var(--host-gap--mobile))}:host([overflow-x=auto]){margin:calc(calc(var(--px-focus-outline-mobile) + var(--px-focus-offset-mobile)) * -1)}:host([overflow-x=auto]) .flex-container{padding:calc(var(--px-focus-outline-mobile) + var(--px-focus-offset-mobile))}.flex-container{--flex-direction--mobile-value:row;--flex-direction--tablet-value:row;--flex-direction--laptop-value:row;--flex-direction--desktop-value:row;--flex-gap--mobile-value:var(--px-spacing-none-mobile);--flex-gap--tablet-value:var(--px-spacing-none-tablet);--flex-gap--laptop-value:var(--px-spacing-none-desktop);--flex-gap--desktop-value:var(--px-spacing-none-desktop);--flex-align-items--mobile-value:stretch;--flex-align-items--tablet-value:stretch;--flex-align-items--laptop-value:stretch;--flex-align-items--desktop-value:stretch;--flex-justify-content--mobile-value:flex-start;--flex-justify-content--tablet-value:flex-start;--flex-justify-content--laptop-value:flex-start;--flex-justify-content--desktop-value:flex-start;--flex-wrap--mobile-value:nowrap;--flex-wrap--tablet-value:nowrap;--flex-wrap--laptop-value:nowrap;--flex-wrap--desktop-value:nowrap;box-sizing:border-box;flex-direction:var(--flex-direction--mobile-value);gap:var(--flex-gap--mobile-value);flex-wrap:var(--flex-wrap--mobile-value);justify-content:var(--flex-justify-content--mobile-value);align-items:var(--flex-align-items--mobile-value);width:100%;height:100%;overflow-x:var(--overflow-x-all);display:flex}@media screen and (width<=47.938rem){.flex-container{overflow-x:var(--overflow-x-all-mobile,var(--overflow-x-all));scrollbar-width:none}.flex-container::-webkit-scrollbar{display:none}}@media screen and (width>=48rem){.flex-container{flex-direction:var(--flex-direction--tablet-value);gap:var(--flex-gap--tablet-value);flex-wrap:var(--flex-wrap--tablet-value);justify-content:var(--flex-justify-content--tablet-value);align-items:var(--flex-align-items--tablet-value)}:host ::slotted(px-h1[auto-spacing]),:host ::slotted(px-h2[auto-spacing]),:host ::slotted(px-h3[auto-spacing]),:host ::slotted(px-h4[auto-spacing]),:host ::slotted(px-h5[auto-spacing]),:host ::slotted(px-h6[auto-spacing]){margin-bottom:calc(var(--px-spacing-heading-to-content-tablet) - var(--host-gap--tablet))}:host([overflow-x=auto]){margin:calc(calc(var(--px-focus-outline-tablet) + var(--px-focus-offset-tablet)) * -1)}:host([overflow-x=auto]) .flex-container{padding:calc(var(--px-focus-outline-tablet) + var(--px-focus-offset-tablet))}}@media screen and (width>=48rem) and (width<=64rem){.flex-container{overflow-x:var(--overflow-x-all-tablet,var(--overflow-x-all));scrollbar-width:none}.flex-container::-webkit-scrollbar{display:none}}@media screen and (width>=64.0625rem){.flex-container{flex-direction:var(--flex-direction--laptop-value);gap:var(--flex-gap--laptop-value);flex-wrap:var(--flex-wrap--laptop-value);justify-content:var(--flex-justify-content--laptop-value);align-items:var(--flex-align-items--laptop-value)}:host ::slotted(px-h1[auto-spacing]),:host ::slotted(px-h2[auto-spacing]),:host ::slotted(px-h3[auto-spacing]),:host ::slotted(px-h4[auto-spacing]),:host ::slotted(px-h5[auto-spacing]),:host ::slotted(px-h6[auto-spacing]){margin-bottom:calc(var(--px-spacing-heading-to-content-laptop) - var(--host-gap--laptop))}:host([overflow-x=auto]){margin:calc(calc(var(--px-focus-outline-laptop) + var(--px-focus-offset-laptop)) * -1)}:host([overflow-x=auto]) .flex-container{padding:calc(var(--px-focus-outline-laptop) + var(--px-focus-offset-laptop))}}@media screen and (width>=64.0625rem) and (width<=90rem){.flex-container{overflow-x:var(--overflow-x-all-laptop,var(--overflow-x-all))}}@media screen and (width>=90.0625rem){.flex-container{flex-direction:var(--flex-direction--desktop-value);gap:var(--flex-gap--desktop-value);flex-wrap:var(--flex-wrap--desktop-value);justify-content:var(--flex-justify-content--desktop-value);align-items:var(--flex-align-items--desktop-value);overflow-x:var(--overflow-x-all-desktop,var(--overflow-x-all))}:host ::slotted(px-h1[auto-spacing]),:host ::slotted(px-h2[auto-spacing]),:host ::slotted(px-h3[auto-spacing]),:host ::slotted(px-h4[auto-spacing]),:host ::slotted(px-h5[auto-spacing]),:host ::slotted(px-h6[auto-spacing]){margin-bottom:calc(var(--px-spacing-heading-to-content-desktop) - var(--host-gap--desktop))}:host([overflow-x=auto]){margin:calc(calc(var(--px-focus-outline-desktop) + var(--px-focus-offset-desktop)) * -1)}:host([overflow-x=auto]) .flex-container{padding:calc(var(--px-focus-outline-desktop) + var(--px-focus-offset-desktop))}}:host(px-vstack) .flex-container{--flex-direction--mobile-value:column!important;--flex-direction--tablet-value:column!important;--flex-direction--laptop-value:column!important;--flex-direction--desktop-value:column!important}:host(px-hstack) .flex-container{--flex-direction--mobile-value:row!important;--flex-direction--tablet-value:row!important;--flex-direction--laptop-value:row!important;--flex-direction--desktop-value:row!important}", R = new CSSStyleSheet();
|
|
1277
|
+
var L = ":host{--host-gap--mobile:var(--px-spacing-none-mobile);--host-gap--tablet:var(--px-spacing-none-tablet);--host-gap--laptop:var(--px-spacing-none-desktop);--host-gap--desktop:var(--px-spacing-none-desktop);--overflow-x-all:visible;--overflow-x-all-mobile:initial;--overflow-x-all-tablet:initial;--overflow-x-all-laptop:initial;--overflow-x-all-desktop:initial;display:block}:host ::slotted(px-h1[auto-spacing]),:host ::slotted(px-h2[auto-spacing]),:host ::slotted(px-h3[auto-spacing]),:host ::slotted(px-h4[auto-spacing]),:host ::slotted(px-h5[auto-spacing]),:host ::slotted(px-h6[auto-spacing]){margin-bottom:calc(var(--px-spacing-heading-to-content-mobile) - var(--host-gap--mobile))}:host([overflow-x=auto]){margin:calc(calc(var(--px-focus-outline-mobile) + var(--px-focus-offset-mobile)) * -1)}:host([overflow-x=auto]) .flex-container{padding:calc(var(--px-focus-outline-mobile) + var(--px-focus-offset-mobile))}.flex-container{--flex-direction--mobile-value:row;--flex-direction--tablet-value:row;--flex-direction--laptop-value:row;--flex-direction--desktop-value:row;--flex-gap--mobile-value:var(--px-spacing-none-mobile);--flex-gap--tablet-value:var(--px-spacing-none-tablet);--flex-gap--laptop-value:var(--px-spacing-none-desktop);--flex-gap--desktop-value:var(--px-spacing-none-desktop);--flex-align-items--mobile-value:stretch;--flex-align-items--tablet-value:stretch;--flex-align-items--laptop-value:stretch;--flex-align-items--desktop-value:stretch;--flex-justify-content--mobile-value:flex-start;--flex-justify-content--tablet-value:flex-start;--flex-justify-content--laptop-value:flex-start;--flex-justify-content--desktop-value:flex-start;--flex-wrap--mobile-value:nowrap;--flex-wrap--tablet-value:nowrap;--flex-wrap--laptop-value:nowrap;--flex-wrap--desktop-value:nowrap;--flex-overflow-y--mobile-value:visible;--flex-overflow-y--tablet-value:visible;--flex-overflow-y--laptop-value:visible;--flex-overflow-y--desktop-value:visible;--flex-max-height--mobile-value:none;--flex-max-height--tablet-value:none;--flex-max-height--laptop-value:none;--flex-max-height--desktop-value:none;box-sizing:border-box;flex-direction:var(--flex-direction--mobile-value);gap:var(--flex-gap--mobile-value);flex-wrap:var(--flex-wrap--mobile-value);justify-content:var(--flex-justify-content--mobile-value);align-items:var(--flex-align-items--mobile-value);width:100%;height:100%;overflow-x:var(--overflow-x-all);overflow-y:var(--flex-overflow-y--mobile-value);max-height:var(--flex-max-height--mobile-value);display:flex}@media screen and (width<=47.938rem){.flex-container{overflow-x:var(--overflow-x-all-mobile,var(--overflow-x-all));scrollbar-width:none}.flex-container::-webkit-scrollbar{display:none}}@media screen and (width>=48rem){.flex-container{flex-direction:var(--flex-direction--tablet-value);gap:var(--flex-gap--tablet-value);flex-wrap:var(--flex-wrap--tablet-value);justify-content:var(--flex-justify-content--tablet-value);align-items:var(--flex-align-items--tablet-value);overflow-y:var(--flex-overflow-y--tablet-value);max-height:var(--flex-max-height--tablet-value)}:host ::slotted(px-h1[auto-spacing]),:host ::slotted(px-h2[auto-spacing]),:host ::slotted(px-h3[auto-spacing]),:host ::slotted(px-h4[auto-spacing]),:host ::slotted(px-h5[auto-spacing]),:host ::slotted(px-h6[auto-spacing]){margin-bottom:calc(var(--px-spacing-heading-to-content-tablet) - var(--host-gap--tablet))}:host([overflow-x=auto]){margin:calc(calc(var(--px-focus-outline-tablet) + var(--px-focus-offset-tablet)) * -1)}:host([overflow-x=auto]) .flex-container{padding:calc(var(--px-focus-outline-tablet) + var(--px-focus-offset-tablet))}}@media screen and (width>=48rem) and (width<=64rem){.flex-container{overflow-x:var(--overflow-x-all-tablet,var(--overflow-x-all));scrollbar-width:none}.flex-container::-webkit-scrollbar{display:none}}@media screen and (width>=64.0625rem){.flex-container{flex-direction:var(--flex-direction--laptop-value);gap:var(--flex-gap--laptop-value);flex-wrap:var(--flex-wrap--laptop-value);justify-content:var(--flex-justify-content--laptop-value);align-items:var(--flex-align-items--laptop-value);overflow-y:var(--flex-overflow-y--laptop-value);max-height:var(--flex-max-height--laptop-value)}:host ::slotted(px-h1[auto-spacing]),:host ::slotted(px-h2[auto-spacing]),:host ::slotted(px-h3[auto-spacing]),:host ::slotted(px-h4[auto-spacing]),:host ::slotted(px-h5[auto-spacing]),:host ::slotted(px-h6[auto-spacing]){margin-bottom:calc(var(--px-spacing-heading-to-content-laptop) - var(--host-gap--laptop))}:host([overflow-x=auto]){margin:calc(calc(var(--px-focus-outline-laptop) + var(--px-focus-offset-laptop)) * -1)}:host([overflow-x=auto]) .flex-container{padding:calc(var(--px-focus-outline-laptop) + var(--px-focus-offset-laptop))}}@media screen and (width>=64.0625rem) and (width<=90rem){.flex-container{overflow-x:var(--overflow-x-all-laptop,var(--overflow-x-all))}}@media screen and (width>=90.0625rem){.flex-container{flex-direction:var(--flex-direction--desktop-value);gap:var(--flex-gap--desktop-value);flex-wrap:var(--flex-wrap--desktop-value);justify-content:var(--flex-justify-content--desktop-value);align-items:var(--flex-align-items--desktop-value);overflow-y:var(--flex-overflow-y--desktop-value);max-height:var(--flex-max-height--desktop-value);overflow-x:var(--overflow-x-all-desktop,var(--overflow-x-all))}:host ::slotted(px-h1[auto-spacing]),:host ::slotted(px-h2[auto-spacing]),:host ::slotted(px-h3[auto-spacing]),:host ::slotted(px-h4[auto-spacing]),:host ::slotted(px-h5[auto-spacing]),:host ::slotted(px-h6[auto-spacing]){margin-bottom:calc(var(--px-spacing-heading-to-content-desktop) - var(--host-gap--desktop))}:host([overflow-x=auto]){margin:calc(calc(var(--px-focus-outline-desktop) + var(--px-focus-offset-desktop)) * -1)}:host([overflow-x=auto]) .flex-container{padding:calc(var(--px-focus-outline-desktop) + var(--px-focus-offset-desktop))}}:host(px-vstack) .flex-container{--flex-direction--mobile-value:column!important;--flex-direction--tablet-value:column!important;--flex-direction--laptop-value:column!important;--flex-direction--desktop-value:column!important}:host(px-hstack) .flex-container{--flex-direction--mobile-value:row!important;--flex-direction--tablet-value:row!important;--flex-direction--laptop-value:row!important;--flex-direction--desktop-value:row!important}", R = new CSSStyleSheet();
|
|
1278
1278
|
R.replaceSync(L);
|
|
1279
1279
|
var z = document.createElement("template");
|
|
1280
1280
|
z.innerHTML = "<div class=\"flex-container\"><slot></slot></div>";
|
|
@@ -1355,7 +1355,17 @@ var B = [
|
|
|
1355
1355
|
"overflow-x--mobile",
|
|
1356
1356
|
"overflow-x--tablet",
|
|
1357
1357
|
"overflow-x--laptop",
|
|
1358
|
-
"overflow-x--desktop"
|
|
1358
|
+
"overflow-x--desktop",
|
|
1359
|
+
"overflow-y",
|
|
1360
|
+
"overflow-y--mobile",
|
|
1361
|
+
"overflow-y--tablet",
|
|
1362
|
+
"overflow-y--laptop",
|
|
1363
|
+
"overflow-y--desktop",
|
|
1364
|
+
"max-height",
|
|
1365
|
+
"max-height--mobile",
|
|
1366
|
+
"max-height--tablet",
|
|
1367
|
+
"max-height--laptop",
|
|
1368
|
+
"max-height--desktop"
|
|
1359
1369
|
];
|
|
1360
1370
|
}
|
|
1361
1371
|
attributeChangedCallback(e, t, n) {
|
|
@@ -1393,7 +1403,19 @@ var B = [
|
|
|
1393
1403
|
case "direction--tablet":
|
|
1394
1404
|
case "direction--laptop":
|
|
1395
1405
|
case "direction--desktop":
|
|
1396
|
-
this.updateFlexProperties(e, t, n, B);
|
|
1406
|
+
this.updateFlexProperties(e, t, n, B), this.updateVerticalStyles();
|
|
1407
|
+
break;
|
|
1408
|
+
case "overflow-y":
|
|
1409
|
+
case "overflow-y--mobile":
|
|
1410
|
+
case "overflow-y--tablet":
|
|
1411
|
+
case "overflow-y--laptop":
|
|
1412
|
+
case "overflow-y--desktop":
|
|
1413
|
+
case "max-height":
|
|
1414
|
+
case "max-height--mobile":
|
|
1415
|
+
case "max-height--tablet":
|
|
1416
|
+
case "max-height--laptop":
|
|
1417
|
+
case "max-height--desktop":
|
|
1418
|
+
n && !this.isValidVerticalValue(e, n) && c(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}.`), this.updateVerticalStyles();
|
|
1397
1419
|
break;
|
|
1398
1420
|
case "overflow-x":
|
|
1399
1421
|
case "overflow-x--mobile":
|
|
@@ -1405,6 +1427,18 @@ var B = [
|
|
|
1405
1427
|
default: super.attributeChangedCallback(e, t, n);
|
|
1406
1428
|
}
|
|
1407
1429
|
}
|
|
1430
|
+
isValidVerticalValue(e, t) {
|
|
1431
|
+
return e.startsWith("overflow-y") ? W.includes(t) : CSS.supports("max-height", t);
|
|
1432
|
+
}
|
|
1433
|
+
updateVerticalStyles() {
|
|
1434
|
+
for (let t of e.breakpoints) {
|
|
1435
|
+
let e = this.localName === "px-stack" && this.getAttribute(`direction--${t}`) || this.direction, n = e === "column" || e === "column-reverse";
|
|
1436
|
+
for (let e of ["overflow-y", "max-height"]) {
|
|
1437
|
+
let r = this.getAttribute(`${e}--${t}`) || this.getAttribute(e);
|
|
1438
|
+
this.updateStyle(e, t, n && r && this.isValidVerticalValue(e, r) ? r : null);
|
|
1439
|
+
}
|
|
1440
|
+
}
|
|
1441
|
+
}
|
|
1408
1442
|
updateOverflowX(e, t, n, r) {
|
|
1409
1443
|
if (!x(r, n)) {
|
|
1410
1444
|
c(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join("\", \"")}".`);
|
|
@@ -1620,6 +1654,66 @@ var B = [
|
|
|
1620
1654
|
set overflowXDesktop(e) {
|
|
1621
1655
|
S(this, "overflow-x--desktop", e);
|
|
1622
1656
|
}
|
|
1657
|
+
get overflowY() {
|
|
1658
|
+
return this.getAttribute("overflow-y") ?? "visible";
|
|
1659
|
+
}
|
|
1660
|
+
set overflowY(e) {
|
|
1661
|
+
S(this, "overflow-y", e);
|
|
1662
|
+
}
|
|
1663
|
+
get overflowYMobile() {
|
|
1664
|
+
return this.getAttribute("overflow-y--mobile");
|
|
1665
|
+
}
|
|
1666
|
+
set overflowYMobile(e) {
|
|
1667
|
+
S(this, "overflow-y--mobile", e);
|
|
1668
|
+
}
|
|
1669
|
+
get overflowYTablet() {
|
|
1670
|
+
return this.getAttribute("overflow-y--tablet");
|
|
1671
|
+
}
|
|
1672
|
+
set overflowYTablet(e) {
|
|
1673
|
+
S(this, "overflow-y--tablet", e);
|
|
1674
|
+
}
|
|
1675
|
+
get overflowYLaptop() {
|
|
1676
|
+
return this.getAttribute("overflow-y--laptop");
|
|
1677
|
+
}
|
|
1678
|
+
set overflowYLaptop(e) {
|
|
1679
|
+
S(this, "overflow-y--laptop", e);
|
|
1680
|
+
}
|
|
1681
|
+
get overflowYDesktop() {
|
|
1682
|
+
return this.getAttribute("overflow-y--desktop");
|
|
1683
|
+
}
|
|
1684
|
+
set overflowYDesktop(e) {
|
|
1685
|
+
S(this, "overflow-y--desktop", e);
|
|
1686
|
+
}
|
|
1687
|
+
get maxHeight() {
|
|
1688
|
+
return this.getAttribute("max-height") ?? "none";
|
|
1689
|
+
}
|
|
1690
|
+
set maxHeight(e) {
|
|
1691
|
+
S(this, "max-height", e);
|
|
1692
|
+
}
|
|
1693
|
+
get maxHeightMobile() {
|
|
1694
|
+
return this.getAttribute("max-height--mobile");
|
|
1695
|
+
}
|
|
1696
|
+
set maxHeightMobile(e) {
|
|
1697
|
+
S(this, "max-height--mobile", e);
|
|
1698
|
+
}
|
|
1699
|
+
get maxHeightTablet() {
|
|
1700
|
+
return this.getAttribute("max-height--tablet");
|
|
1701
|
+
}
|
|
1702
|
+
set maxHeightTablet(e) {
|
|
1703
|
+
S(this, "max-height--tablet", e);
|
|
1704
|
+
}
|
|
1705
|
+
get maxHeightLaptop() {
|
|
1706
|
+
return this.getAttribute("max-height--laptop");
|
|
1707
|
+
}
|
|
1708
|
+
set maxHeightLaptop(e) {
|
|
1709
|
+
S(this, "max-height--laptop", e);
|
|
1710
|
+
}
|
|
1711
|
+
get maxHeightDesktop() {
|
|
1712
|
+
return this.getAttribute("max-height--desktop");
|
|
1713
|
+
}
|
|
1714
|
+
set maxHeightDesktop(e) {
|
|
1715
|
+
S(this, "max-height--desktop", e);
|
|
1716
|
+
}
|
|
1623
1717
|
get $el() {
|
|
1624
1718
|
return this.shadowRoot.firstElementChild;
|
|
1625
1719
|
}
|
|
@@ -1965,7 +2059,7 @@ var Y = class e extends l {
|
|
|
1965
2059
|
this.updateName(t, n);
|
|
1966
2060
|
break;
|
|
1967
2061
|
case "size":
|
|
1968
|
-
this.updateAttribute(e, t, n,
|
|
2062
|
+
this.updateAttribute(e, t, n, m);
|
|
1969
2063
|
break;
|
|
1970
2064
|
case "color":
|
|
1971
2065
|
this.updateAttribute(e, t, n, me);
|