@proximus/lavender-toaster 2.0.0-alpha.227 → 2.0.0-alpha.228
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) {
|
|
@@ -398,21 +398,21 @@ var ee = [
|
|
|
398
398
|
"center",
|
|
399
399
|
"baseline",
|
|
400
400
|
"stretch"
|
|
401
|
-
],
|
|
401
|
+
], u = [
|
|
402
402
|
"",
|
|
403
403
|
"default",
|
|
404
404
|
"start",
|
|
405
405
|
"end",
|
|
406
406
|
"center",
|
|
407
407
|
"stretch"
|
|
408
|
-
],
|
|
408
|
+
], d = [
|
|
409
409
|
"",
|
|
410
410
|
"default",
|
|
411
411
|
"start",
|
|
412
412
|
"end",
|
|
413
413
|
"center",
|
|
414
414
|
"stretch"
|
|
415
|
-
],
|
|
415
|
+
], f = [
|
|
416
416
|
"",
|
|
417
417
|
"1",
|
|
418
418
|
"2",
|
|
@@ -426,7 +426,7 @@ var ee = [
|
|
|
426
426
|
"10",
|
|
427
427
|
"11",
|
|
428
428
|
"12"
|
|
429
|
-
],
|
|
429
|
+
], p = [
|
|
430
430
|
"",
|
|
431
431
|
"-1",
|
|
432
432
|
"0",
|
|
@@ -442,7 +442,7 @@ var ee = [
|
|
|
442
442
|
"10",
|
|
443
443
|
"11",
|
|
444
444
|
"12"
|
|
445
|
-
],
|
|
445
|
+
], m = [
|
|
446
446
|
"",
|
|
447
447
|
"default",
|
|
448
448
|
...[
|
|
@@ -452,7 +452,7 @@ var ee = [
|
|
|
452
452
|
"L",
|
|
453
453
|
"Xl"
|
|
454
454
|
].map((e) => e.toLowerCase())
|
|
455
|
-
],
|
|
455
|
+
], h = [
|
|
456
456
|
"",
|
|
457
457
|
"none",
|
|
458
458
|
"3xs",
|
|
@@ -462,13 +462,13 @@ var ee = [
|
|
|
462
462
|
"m",
|
|
463
463
|
"l",
|
|
464
464
|
"xl"
|
|
465
|
-
],
|
|
465
|
+
], te = [
|
|
466
466
|
"",
|
|
467
467
|
"none",
|
|
468
468
|
"s",
|
|
469
469
|
"m",
|
|
470
470
|
"l"
|
|
471
|
-
],
|
|
471
|
+
], ne = [
|
|
472
472
|
"",
|
|
473
473
|
"none",
|
|
474
474
|
"main",
|
|
@@ -663,13 +663,13 @@ var j = [
|
|
|
663
663
|
"11",
|
|
664
664
|
"12"
|
|
665
665
|
], N = (e, t, n) => `:host([${e}${n ? `--${n}` : ""}='${t}']) .container`, P = "px-padding", F = [
|
|
666
|
-
w("padding", N,
|
|
667
|
-
w("padding-inline", N,
|
|
668
|
-
w("padding-block", N,
|
|
669
|
-
w("padding-top", N,
|
|
670
|
-
w("padding-right", N,
|
|
671
|
-
w("padding-bottom", N,
|
|
672
|
-
w("padding-left", N,
|
|
666
|
+
w("padding", N, h, P, "--container-padding"),
|
|
667
|
+
w("padding-inline", N, h, P),
|
|
668
|
+
w("padding-block", N, h, P),
|
|
669
|
+
w("padding-top", N, h, P),
|
|
670
|
+
w("padding-right", N, h, P, "--container-padding-right"),
|
|
671
|
+
w("padding-bottom", N, h, P),
|
|
672
|
+
w("padding-left", N, h, P, "--container-padding-left"),
|
|
673
673
|
w("gap", N, b, "px-spacing", void 0, "subgrid-gap")
|
|
674
674
|
], I = class e extends l {
|
|
675
675
|
static {
|
|
@@ -735,7 +735,7 @@ var j = [
|
|
|
735
735
|
attributeChangedCallback(e, t, n) {
|
|
736
736
|
if (t !== n) switch (e) {
|
|
737
737
|
case "border":
|
|
738
|
-
this.updateAttribute(e, t, n,
|
|
738
|
+
this.updateAttribute(e, t, n, te);
|
|
739
739
|
break;
|
|
740
740
|
case "border-color":
|
|
741
741
|
this.updateBorderColor(e, n);
|
|
@@ -747,7 +747,7 @@ var j = [
|
|
|
747
747
|
this.updateAttribute(e, t, n, _);
|
|
748
748
|
break;
|
|
749
749
|
case "border-radius":
|
|
750
|
-
this.updateAttribute(e, t, n,
|
|
750
|
+
this.updateAttribute(e, t, n, ne);
|
|
751
751
|
break;
|
|
752
752
|
case "no-border-radius":
|
|
753
753
|
case "no-border-radius--mobile":
|
|
@@ -783,7 +783,7 @@ var j = [
|
|
|
783
783
|
this.updateAttribute(e, t, n, ie);
|
|
784
784
|
break;
|
|
785
785
|
case "anchor-offset":
|
|
786
|
-
this.updateAnchorOffset(t, n,
|
|
786
|
+
this.updateAnchorOffset(t, n, h);
|
|
787
787
|
break;
|
|
788
788
|
case "anchor-spacing":
|
|
789
789
|
this.updateAnchorSpacing(t, n, j);
|
|
@@ -1263,7 +1263,7 @@ var j = [
|
|
|
1263
1263
|
customElements.get("px-container") || customElements.define("px-container", I);
|
|
1264
1264
|
//#endregion
|
|
1265
1265
|
//#region ../Layout/src/Stack.css?inline
|
|
1266
|
-
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();
|
|
1266
|
+
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();
|
|
1267
1267
|
R.replaceSync(L);
|
|
1268
1268
|
var z = document.createElement("template");
|
|
1269
1269
|
z.innerHTML = "<div class=\"flex-container\"><slot></slot></div>";
|
|
@@ -1344,7 +1344,17 @@ var B = [
|
|
|
1344
1344
|
"overflow-x--mobile",
|
|
1345
1345
|
"overflow-x--tablet",
|
|
1346
1346
|
"overflow-x--laptop",
|
|
1347
|
-
"overflow-x--desktop"
|
|
1347
|
+
"overflow-x--desktop",
|
|
1348
|
+
"overflow-y",
|
|
1349
|
+
"overflow-y--mobile",
|
|
1350
|
+
"overflow-y--tablet",
|
|
1351
|
+
"overflow-y--laptop",
|
|
1352
|
+
"overflow-y--desktop",
|
|
1353
|
+
"max-height",
|
|
1354
|
+
"max-height--mobile",
|
|
1355
|
+
"max-height--tablet",
|
|
1356
|
+
"max-height--laptop",
|
|
1357
|
+
"max-height--desktop"
|
|
1348
1358
|
];
|
|
1349
1359
|
}
|
|
1350
1360
|
attributeChangedCallback(e, t, n) {
|
|
@@ -1382,7 +1392,19 @@ var B = [
|
|
|
1382
1392
|
case "direction--tablet":
|
|
1383
1393
|
case "direction--laptop":
|
|
1384
1394
|
case "direction--desktop":
|
|
1385
|
-
this.updateFlexProperties(e, t, n, B);
|
|
1395
|
+
this.updateFlexProperties(e, t, n, B), this.updateVerticalStyles();
|
|
1396
|
+
break;
|
|
1397
|
+
case "overflow-y":
|
|
1398
|
+
case "overflow-y--mobile":
|
|
1399
|
+
case "overflow-y--tablet":
|
|
1400
|
+
case "overflow-y--laptop":
|
|
1401
|
+
case "overflow-y--desktop":
|
|
1402
|
+
case "max-height":
|
|
1403
|
+
case "max-height--mobile":
|
|
1404
|
+
case "max-height--tablet":
|
|
1405
|
+
case "max-height--laptop":
|
|
1406
|
+
case "max-height--desktop":
|
|
1407
|
+
n && !this.isValidVerticalValue(e, n) && c(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}.`), this.updateVerticalStyles();
|
|
1386
1408
|
break;
|
|
1387
1409
|
case "overflow-x":
|
|
1388
1410
|
case "overflow-x--mobile":
|
|
@@ -1394,6 +1416,18 @@ var B = [
|
|
|
1394
1416
|
default: super.attributeChangedCallback(e, t, n);
|
|
1395
1417
|
}
|
|
1396
1418
|
}
|
|
1419
|
+
isValidVerticalValue(e, t) {
|
|
1420
|
+
return e.startsWith("overflow-y") ? W.includes(t) : CSS.supports("max-height", t);
|
|
1421
|
+
}
|
|
1422
|
+
updateVerticalStyles() {
|
|
1423
|
+
for (let t of e.breakpoints) {
|
|
1424
|
+
let e = this.localName === "px-stack" && this.getAttribute(`direction--${t}`) || this.direction, n = e === "column" || e === "column-reverse";
|
|
1425
|
+
for (let e of ["overflow-y", "max-height"]) {
|
|
1426
|
+
let r = this.getAttribute(`${e}--${t}`) || this.getAttribute(e);
|
|
1427
|
+
this.updateStyle(e, t, n && r && this.isValidVerticalValue(e, r) ? r : null);
|
|
1428
|
+
}
|
|
1429
|
+
}
|
|
1430
|
+
}
|
|
1397
1431
|
updateOverflowX(e, t, n, r) {
|
|
1398
1432
|
x(r, n) ? this.overflowXAttributeDelegate.attributeChangedCallback(e, t, n) : c(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join("\", \"")}".`);
|
|
1399
1433
|
}
|
|
@@ -1602,6 +1636,66 @@ var B = [
|
|
|
1602
1636
|
set overflowXDesktop(e) {
|
|
1603
1637
|
S(this, "overflow-x--desktop", e);
|
|
1604
1638
|
}
|
|
1639
|
+
get overflowY() {
|
|
1640
|
+
return this.getAttribute("overflow-y") ?? "visible";
|
|
1641
|
+
}
|
|
1642
|
+
set overflowY(e) {
|
|
1643
|
+
S(this, "overflow-y", e);
|
|
1644
|
+
}
|
|
1645
|
+
get overflowYMobile() {
|
|
1646
|
+
return this.getAttribute("overflow-y--mobile");
|
|
1647
|
+
}
|
|
1648
|
+
set overflowYMobile(e) {
|
|
1649
|
+
S(this, "overflow-y--mobile", e);
|
|
1650
|
+
}
|
|
1651
|
+
get overflowYTablet() {
|
|
1652
|
+
return this.getAttribute("overflow-y--tablet");
|
|
1653
|
+
}
|
|
1654
|
+
set overflowYTablet(e) {
|
|
1655
|
+
S(this, "overflow-y--tablet", e);
|
|
1656
|
+
}
|
|
1657
|
+
get overflowYLaptop() {
|
|
1658
|
+
return this.getAttribute("overflow-y--laptop");
|
|
1659
|
+
}
|
|
1660
|
+
set overflowYLaptop(e) {
|
|
1661
|
+
S(this, "overflow-y--laptop", e);
|
|
1662
|
+
}
|
|
1663
|
+
get overflowYDesktop() {
|
|
1664
|
+
return this.getAttribute("overflow-y--desktop");
|
|
1665
|
+
}
|
|
1666
|
+
set overflowYDesktop(e) {
|
|
1667
|
+
S(this, "overflow-y--desktop", e);
|
|
1668
|
+
}
|
|
1669
|
+
get maxHeight() {
|
|
1670
|
+
return this.getAttribute("max-height") ?? "none";
|
|
1671
|
+
}
|
|
1672
|
+
set maxHeight(e) {
|
|
1673
|
+
S(this, "max-height", e);
|
|
1674
|
+
}
|
|
1675
|
+
get maxHeightMobile() {
|
|
1676
|
+
return this.getAttribute("max-height--mobile");
|
|
1677
|
+
}
|
|
1678
|
+
set maxHeightMobile(e) {
|
|
1679
|
+
S(this, "max-height--mobile", e);
|
|
1680
|
+
}
|
|
1681
|
+
get maxHeightTablet() {
|
|
1682
|
+
return this.getAttribute("max-height--tablet");
|
|
1683
|
+
}
|
|
1684
|
+
set maxHeightTablet(e) {
|
|
1685
|
+
S(this, "max-height--tablet", e);
|
|
1686
|
+
}
|
|
1687
|
+
get maxHeightLaptop() {
|
|
1688
|
+
return this.getAttribute("max-height--laptop");
|
|
1689
|
+
}
|
|
1690
|
+
set maxHeightLaptop(e) {
|
|
1691
|
+
S(this, "max-height--laptop", e);
|
|
1692
|
+
}
|
|
1693
|
+
get maxHeightDesktop() {
|
|
1694
|
+
return this.getAttribute("max-height--desktop");
|
|
1695
|
+
}
|
|
1696
|
+
set maxHeightDesktop(e) {
|
|
1697
|
+
S(this, "max-height--desktop", e);
|
|
1698
|
+
}
|
|
1605
1699
|
get $el() {
|
|
1606
1700
|
return this.shadowRoot.firstElementChild;
|
|
1607
1701
|
}
|
|
@@ -1947,7 +2041,7 @@ var Y = class e extends l {
|
|
|
1947
2041
|
this.updateName(t, n);
|
|
1948
2042
|
break;
|
|
1949
2043
|
case "size":
|
|
1950
|
-
this.updateAttribute(e, t, n,
|
|
2044
|
+
this.updateAttribute(e, t, n, m);
|
|
1951
2045
|
break;
|
|
1952
2046
|
case "color":
|
|
1953
2047
|
this.updateAttribute(e, t, n, me);
|