@proximus/lavender-toaster 1.4.16-beta.4 → 1.4.16-beta.5

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 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" ? d : u);
62
+ this.updateProperties(t, n, r, this.parentElement?.localName === "px-grid" ? te : 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, ee);
69
+ this.updateProperties(t, n, r, u);
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, te);
76
+ this.updateProperties(t, n, r, d);
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, ne);
82
+ case "order--desktop": this.updateProperties(t, n, r, f);
83
83
  }
84
84
  }
85
85
  updateProperties(e, t, n, r) {
@@ -119,235 +119,235 @@ var l = class e extends HTMLElement {
119
119
  return this.getAttribute("grow");
120
120
  }
121
121
  set grow(e) {
122
- C(this, "grow", e);
122
+ S(this, "grow", e);
123
123
  }
124
124
  get growMobile() {
125
125
  return this.getAttribute("grow--mobile");
126
126
  }
127
127
  set growMobile(e) {
128
- C(this, "grow--mobile", e);
128
+ S(this, "grow--mobile", e);
129
129
  }
130
130
  get growTablet() {
131
131
  return this.getAttribute("grow--tablet");
132
132
  }
133
133
  set growTablet(e) {
134
- C(this, "grow--tablet", e);
134
+ S(this, "grow--tablet", e);
135
135
  }
136
136
  get growLaptop() {
137
137
  return this.getAttribute("grow--laptop");
138
138
  }
139
139
  set growLaptop(e) {
140
- C(this, "grow--laptop", e);
140
+ S(this, "grow--laptop", e);
141
141
  }
142
142
  get growDesktop() {
143
143
  return this.getAttribute("grow--desktop");
144
144
  }
145
145
  set growDesktop(e) {
146
- C(this, "grow--desktop", e);
146
+ S(this, "grow--desktop", e);
147
147
  }
148
148
  get shrink() {
149
149
  return this.getAttribute("shrink");
150
150
  }
151
151
  set shrink(e) {
152
- C(this, "shrink", e);
152
+ S(this, "shrink", e);
153
153
  }
154
154
  get shrinkMobile() {
155
155
  return this.getAttribute("shrink--mobile");
156
156
  }
157
157
  set shrinkMobile(e) {
158
- C(this, "shrink--mobile", e);
158
+ S(this, "shrink--mobile", e);
159
159
  }
160
160
  get shrinkTablet() {
161
161
  return this.getAttribute("shrink--tablet");
162
162
  }
163
163
  set shrinkTablet(e) {
164
- C(this, "shrink--tablet", e);
164
+ S(this, "shrink--tablet", e);
165
165
  }
166
166
  get shrinkLaptop() {
167
167
  return this.getAttribute("shrink--laptop");
168
168
  }
169
169
  set shrinkLaptop(e) {
170
- C(this, "shrink--laptop", e);
170
+ S(this, "shrink--laptop", e);
171
171
  }
172
172
  get shrinkDesktop() {
173
173
  return this.getAttribute("shrink--desktop");
174
174
  }
175
175
  set shrinkDesktop(e) {
176
- C(this, "shrink--desktop", e);
176
+ S(this, "shrink--desktop", e);
177
177
  }
178
178
  get basis() {
179
179
  return this.getAttribute("basis");
180
180
  }
181
181
  set basis(e) {
182
- C(this, "basis", e);
182
+ S(this, "basis", e);
183
183
  }
184
184
  get basisMobile() {
185
185
  return this.getAttribute("basis--mobile");
186
186
  }
187
187
  set basisMobile(e) {
188
- C(this, "basis--mobile", e);
188
+ S(this, "basis--mobile", e);
189
189
  }
190
190
  get basisTablet() {
191
191
  return this.getAttribute("basis--tablet");
192
192
  }
193
193
  set basisTablet(e) {
194
- C(this, "basis--tablet", e);
194
+ S(this, "basis--tablet", e);
195
195
  }
196
196
  get basisLaptop() {
197
197
  return this.getAttribute("basis--laptop");
198
198
  }
199
199
  set basisLaptop(e) {
200
- C(this, "basis--laptop", e);
200
+ S(this, "basis--laptop", e);
201
201
  }
202
202
  get basisDesktop() {
203
203
  return this.getAttribute("basis--desktop");
204
204
  }
205
205
  set basisDesktop(e) {
206
- C(this, "basis--desktop", e);
206
+ S(this, "basis--desktop", e);
207
207
  }
208
208
  get alignSelf() {
209
209
  return this.getAttribute("align-self");
210
210
  }
211
211
  set alignSelf(e) {
212
- C(this, "align-self", e);
212
+ S(this, "align-self", e);
213
213
  }
214
214
  get alignSelfMobile() {
215
215
  return this.getAttribute("align-self--mobile");
216
216
  }
217
217
  set alignSelfMobile(e) {
218
- C(this, "align-self--mobile", e);
218
+ S(this, "align-self--mobile", e);
219
219
  }
220
220
  get alignSelfTablet() {
221
221
  return this.getAttribute("align-self--tablet");
222
222
  }
223
223
  set alignSelfTablet(e) {
224
- C(this, "align-self--tablet", e);
224
+ S(this, "align-self--tablet", e);
225
225
  }
226
226
  get alignSelfLaptop() {
227
227
  return this.getAttribute("align-self--laptop");
228
228
  }
229
229
  set alignSelfLaptop(e) {
230
- C(this, "align-self--laptop", e);
230
+ S(this, "align-self--laptop", e);
231
231
  }
232
232
  get alignSelfDesktop() {
233
233
  return this.getAttribute("align-self--desktop");
234
234
  }
235
235
  set alignSelfDesktop(e) {
236
- C(this, "align-self--desktop", e);
236
+ S(this, "align-self--desktop", e);
237
237
  }
238
238
  get justifySelf() {
239
239
  return this.getAttribute("justify-self");
240
240
  }
241
241
  set justifySelf(e) {
242
- C(this, "justify-self", e);
242
+ S(this, "justify-self", e);
243
243
  }
244
244
  get justifySelfMobile() {
245
245
  return this.getAttribute("justify-self--mobile");
246
246
  }
247
247
  set justifySelfMobile(e) {
248
- C(this, "justify-self--mobile", e);
248
+ S(this, "justify-self--mobile", e);
249
249
  }
250
250
  get justifySelfTablet() {
251
251
  return this.getAttribute("justify-self--tablet");
252
252
  }
253
253
  set justifySelfTablet(e) {
254
- C(this, "justify-self--tablet", e);
254
+ S(this, "justify-self--tablet", e);
255
255
  }
256
256
  get justifySelfLaptop() {
257
257
  return this.getAttribute("justify-self--laptop");
258
258
  }
259
259
  set justifySelfLaptop(e) {
260
- C(this, "justify-self--laptop", e);
260
+ S(this, "justify-self--laptop", e);
261
261
  }
262
262
  get justifySelfDesktop() {
263
263
  return this.getAttribute("justify-self--desktop");
264
264
  }
265
265
  set justifySelfDesktop(e) {
266
- C(this, "justify-self--desktop", e);
266
+ S(this, "justify-self--desktop", e);
267
267
  }
268
268
  get hiddenMobile() {
269
269
  return this.hasAttribute("hidden--mobile");
270
270
  }
271
271
  set hiddenMobile(e) {
272
- w(this, "hidden--mobile", e);
272
+ C(this, "hidden--mobile", e);
273
273
  }
274
274
  get hiddenTablet() {
275
275
  return this.hasAttribute("hidden--tablet");
276
276
  }
277
277
  set hiddenTablet(e) {
278
- w(this, "hidden--tablet", e);
278
+ C(this, "hidden--tablet", e);
279
279
  }
280
280
  get hiddenLaptop() {
281
281
  return this.hasAttribute("hidden--laptop");
282
282
  }
283
283
  set hiddenLaptop(e) {
284
- w(this, "hidden--laptop", e);
284
+ C(this, "hidden--laptop", e);
285
285
  }
286
286
  get hiddenDesktop() {
287
287
  return this.hasAttribute("hidden--desktop");
288
288
  }
289
289
  set hiddenDesktop(e) {
290
- w(this, "hidden--desktop", e);
290
+ C(this, "hidden--desktop", e);
291
291
  }
292
292
  get colSpan() {
293
293
  return this.getAttribute("col-span");
294
294
  }
295
295
  set colSpan(e) {
296
- C(this, "col-span", e);
296
+ S(this, "col-span", e);
297
297
  }
298
298
  get colSpanMobile() {
299
299
  return this.getAttribute("col-span--mobile");
300
300
  }
301
301
  set colSpanMobile(e) {
302
- C(this, "col-span--mobile", e);
302
+ S(this, "col-span--mobile", e);
303
303
  }
304
304
  get colSpanTablet() {
305
305
  return this.getAttribute("col-span--tablet");
306
306
  }
307
307
  set colSpanTablet(e) {
308
- C(this, "col-span--tablet", e);
308
+ S(this, "col-span--tablet", e);
309
309
  }
310
310
  get colSpanLaptop() {
311
311
  return this.getAttribute("col-span--laptop");
312
312
  }
313
313
  set colSpanLaptop(e) {
314
- C(this, "col-span--laptop", e);
314
+ S(this, "col-span--laptop", e);
315
315
  }
316
316
  get colSpanDesktop() {
317
317
  return this.getAttribute("col-span--desktop");
318
318
  }
319
319
  set colSpanDesktop(e) {
320
- C(this, "col-span--desktop", e);
320
+ S(this, "col-span--desktop", e);
321
321
  }
322
322
  get order() {
323
323
  return this.getAttribute("order");
324
324
  }
325
325
  set order(e) {
326
- C(this, "order", e);
326
+ S(this, "order", e);
327
327
  }
328
328
  get orderMobile() {
329
329
  return this.getAttribute("order--mobile");
330
330
  }
331
331
  set orderMobile(e) {
332
- C(this, "order--mobile", e);
332
+ S(this, "order--mobile", e);
333
333
  }
334
334
  get orderTablet() {
335
335
  return this.getAttribute("order--tablet");
336
336
  }
337
337
  set orderTablet(e) {
338
- C(this, "order--tablet", e);
338
+ S(this, "order--tablet", e);
339
339
  }
340
340
  get orderLaptop() {
341
341
  return this.getAttribute("order--laptop");
342
342
  }
343
343
  set orderLaptop(e) {
344
- C(this, "order--laptop", e);
344
+ S(this, "order--laptop", e);
345
345
  }
346
346
  get orderDesktop() {
347
347
  return this.getAttribute("order--desktop");
348
348
  }
349
349
  set orderDesktop(e) {
350
- C(this, "order--desktop", e);
350
+ S(this, "order--desktop", e);
351
351
  }
352
352
  };
353
353
  (class extends l {
@@ -384,13 +384,13 @@ var l = class e extends HTMLElement {
384
384
  return this.shadowRoot.querySelector(this.ctor.nativeName);
385
385
  }
386
386
  _updateAttribute(e, t) {
387
- C(this, e, t);
387
+ S(this, e, t);
388
388
  }
389
389
  _updateBooleanAttribute(e, t) {
390
- w(this, e, t);
390
+ C(this, e, t);
391
391
  }
392
392
  });
393
- var u = [
393
+ var ee = [
394
394
  "",
395
395
  "default",
396
396
  "auto",
@@ -401,21 +401,21 @@ var u = [
401
401
  "center",
402
402
  "baseline",
403
403
  "stretch"
404
- ], d = [
404
+ ], te = [
405
405
  "",
406
406
  "default",
407
407
  "start",
408
408
  "end",
409
409
  "center",
410
410
  "stretch"
411
- ], ee = [
411
+ ], u = [
412
412
  "",
413
413
  "default",
414
414
  "start",
415
415
  "end",
416
416
  "center",
417
417
  "stretch"
418
- ], te = [
418
+ ], d = [
419
419
  "",
420
420
  "1",
421
421
  "2",
@@ -429,7 +429,7 @@ var u = [
429
429
  "10",
430
430
  "11",
431
431
  "12"
432
- ], ne = [
432
+ ], f = [
433
433
  "",
434
434
  "-1",
435
435
  "0",
@@ -445,7 +445,7 @@ var u = [
445
445
  "10",
446
446
  "11",
447
447
  "12"
448
- ], re = [
448
+ ], p = [
449
449
  "",
450
450
  "default",
451
451
  ...[
@@ -455,7 +455,7 @@ var u = [
455
455
  "L",
456
456
  "Xl"
457
457
  ].map((e) => e.toLowerCase())
458
- ], f = [
458
+ ], m = [
459
459
  "",
460
460
  "none",
461
461
  "3xs",
@@ -465,18 +465,18 @@ var u = [
465
465
  "m",
466
466
  "l",
467
467
  "xl"
468
- ], p = [
468
+ ], ne = [
469
469
  "",
470
470
  "none",
471
471
  "s",
472
472
  "m",
473
473
  "l"
474
- ], m = [
474
+ ], h = [
475
475
  "",
476
476
  "none",
477
477
  "main",
478
478
  "pill"
479
- ], h = [
479
+ ], g = [
480
480
  "none",
481
481
  "main",
482
482
  "brand",
@@ -487,7 +487,7 @@ var u = [
487
487
  "purpose-warning",
488
488
  "purpose-error",
489
489
  "purpose-unlimited"
490
- ], ie = [
490
+ ], _ = [
491
491
  "",
492
492
  "all",
493
493
  "top",
@@ -496,12 +496,12 @@ var u = [
496
496
  "left",
497
497
  "block",
498
498
  "inline"
499
- ], g = /* @__PURE__ */ ".none.surface-light.surface-default.surface-strong.surface-stronger.surface-dark.surface-brand.surface-brand-light.container-primary.container-secondary.container-light.container-default.container-strong.state-hover.state-hover-bordered.state-active.state-disabled.purpose-success.purpose-warning.purpose-error.purpose-unlimited.purpose-promo.purpose-info.purpose-eco.purpose-notification.footer-sitemap".split("."), _ = [
499
+ ], v = /* @__PURE__ */ ".none.surface-light.surface-default.surface-strong.surface-stronger.surface-dark.surface-brand.surface-brand-light.container-primary.container-secondary.container-light.container-default.container-strong.state-hover.state-hover-bordered.state-active.state-disabled.purpose-success.purpose-warning.purpose-error.purpose-unlimited.purpose-promo.purpose-info.purpose-eco.purpose-notification.footer-sitemap".split("."), re = [
500
500
  "",
501
501
  "cover",
502
502
  "contain",
503
503
  "default"
504
- ], v = [
504
+ ], ie = [
505
505
  "",
506
506
  "none",
507
507
  "s",
@@ -518,7 +518,7 @@ var u = [
518
518
  "heading-to-subtitle",
519
519
  "heading-to-content",
520
520
  "page-layout-between-sections"
521
- ], x = [
521
+ ], ae = [
522
522
  "",
523
523
  "all",
524
524
  "top",
@@ -526,17 +526,17 @@ var u = [
526
526
  "bottom",
527
527
  "left"
528
528
  ];
529
- function S(e, t) {
529
+ function x(e, t) {
530
530
  return t !== null && e.includes(t);
531
531
  }
532
- function C(e, t, n) {
532
+ function S(e, t, n) {
533
533
  if (n == null || n === "") {
534
534
  e.removeAttribute(t);
535
535
  return;
536
536
  }
537
537
  e.setAttribute(t, n.toString());
538
538
  }
539
- function w(e, t, n) {
539
+ function C(e, t, n) {
540
540
  if (!n) {
541
541
  e.removeAttribute(t);
542
542
  return;
@@ -545,7 +545,7 @@ function w(e, t, n) {
545
545
  }
546
546
  //#endregion
547
547
  //#region ../common/src/breakpoints.ts
548
- function T(e, t, n, r = "", i, a = e) {
548
+ function w(e, t, n, r = "", i, a = e) {
549
549
  let o = new CSSStyleSheet(), s = n.reduce((n, o) => n + `
550
550
  ${t(a, o)} {
551
551
  ${e}: var(--${r}-${o}-desktop);
@@ -588,7 +588,7 @@ function T(e, t, n, r = "", i, a = e) {
588
588
  }`, "");
589
589
  return o.replaceSync(s), o;
590
590
  }
591
- var ae = class {
591
+ var T = class {
592
592
  constructor(e, t, n, r) {
593
593
  this.component = e, this.attributeName = t, this.cssVariable = r, this.attributeNameMobile = `${this.attributeName}--mobile`, this.attributeNameTablet = `${this.attributeName}--tablet`, this.attributeNameLaptop = `${this.attributeName}--laptop`, this.attributeNameDesktop = `${this.attributeName}--desktop`, this._attributeValue = n, Object.defineProperty(this.component, this.toCamelCase(this.attributeName), {
594
594
  get: () => this.component.getAttribute(this.attributeName),
@@ -634,15 +634,33 @@ var ae = class {
634
634
  set attributeValue(e) {
635
635
  this._attributeValue = e, this.setCSSProperties();
636
636
  }
637
- }, E = new CSSStyleSheet();
638
- E.replaceSync(e);
639
- var D = [
637
+ }, E = /* @__PURE__ */ new Map(), oe = 500;
638
+ function D(e) {
639
+ let t = document.createElement("template");
640
+ return t.innerHTML = e, t;
641
+ }
642
+ function O(e) {
643
+ return D(e);
644
+ }
645
+ function se(e) {
646
+ let t = E.get(e);
647
+ return t || (t = D(e), E.size < oe && E.set(e, t)), t;
648
+ }
649
+ function k(e, t) {
650
+ let n = typeof t == "string" ? se(t) : t;
651
+ e.replaceChildren(document.importNode(n.content, !0));
652
+ }
653
+ //#endregion
654
+ //#region ../Container/src/Container.ts
655
+ var A = new CSSStyleSheet();
656
+ A.replaceSync(e);
657
+ var j = [
640
658
  "top-patch",
641
659
  "top-neighbor-patch",
642
660
  "top-ribbon",
643
661
  "top-neighbor-ribbon",
644
662
  "top-patch-and-neighbor-ribbon"
645
- ], O = [
663
+ ], M = [
646
664
  "1",
647
665
  "2",
648
666
  "3",
@@ -655,21 +673,24 @@ var D = [
655
673
  "10",
656
674
  "11",
657
675
  "12"
658
- ], k = (e, t, n) => `:host([${e}${n ? `--${n}` : ""}='${t}']) .container`, A = "px-padding", j = [
659
- T("padding", k, f, A, "--container-padding"),
660
- T("padding-inline", k, f, A),
661
- T("padding-block", k, f, A),
662
- T("padding-top", k, f, A),
663
- T("padding-right", k, f, A, "--container-padding-right"),
664
- T("padding-bottom", k, f, A),
665
- T("padding-left", k, f, A, "--container-padding-left"),
666
- T("gap", k, b, "px-spacing", void 0, "subgrid-gap")
667
- ], M = class extends l {
676
+ ], N = (e, t, n) => `:host([${e}${n ? `--${n}` : ""}='${t}']) .container`, P = "px-padding", F = [
677
+ w("padding", N, m, P, "--container-padding"),
678
+ w("padding-inline", N, m, P),
679
+ w("padding-block", N, m, P),
680
+ w("padding-top", N, m, P),
681
+ w("padding-right", N, m, P, "--container-padding-right"),
682
+ w("padding-bottom", N, m, P),
683
+ w("padding-left", N, m, P, "--container-padding-left"),
684
+ w("gap", N, b, "px-spacing", void 0, "subgrid-gap")
685
+ ], I = class e extends l {
686
+ static {
687
+ this.template = O("<div class=\"container\"><slot></slot><slot name=\"anchor-left\"></slot><slot name=\"anchor-right\"></slot><slot name=\"anchor-full\"></slot></div>");
688
+ }
668
689
  static {
669
690
  this.nativeName = "div";
670
691
  }
671
692
  constructor() {
672
- super(E, ...j), this.template = () => "<div class=\"container\">\n <slot></slot>\n <slot name=\"anchor-left\"></slot>\n <slot name=\"anchor-right\"></slot>\n <slot name=\"anchor-full\"></slot>\n </div>", this._bgObserver = null, this._isInViewport = !1, this.contentObserver = null, this.shadowRoot.innerHTML = this.template();
693
+ super(A, ...F), this._bgObserver = null, this._isInViewport = !1, this.contentObserver = null, k(this.shadowRoot, e.template);
673
694
  }
674
695
  static get observedAttributes() {
675
696
  return [
@@ -725,7 +746,7 @@ var D = [
725
746
  attributeChangedCallback(e, t, n) {
726
747
  if (t !== n) switch (e) {
727
748
  case "border":
728
- this.updateAttribute(e, t, n, p);
749
+ this.updateAttribute(e, t, n, ne);
729
750
  break;
730
751
  case "border-color":
731
752
  this.updateBorderColor(e, n);
@@ -734,16 +755,16 @@ var D = [
734
755
  case "border-side--mobile":
735
756
  case "border-side--tablet":
736
757
  case "border-side--laptop":
737
- this.updateAttribute(e, t, n, ie);
758
+ this.updateAttribute(e, t, n, _);
738
759
  break;
739
760
  case "border-radius":
740
- this.updateAttribute(e, t, n, m);
761
+ this.updateAttribute(e, t, n, h);
741
762
  break;
742
763
  case "no-border-radius":
743
764
  case "no-border-radius--mobile":
744
765
  case "no-border-radius--tablet":
745
766
  case "no-border-radius--laptop":
746
- this.updateNoBorderRadius(e, t, n, x);
767
+ this.updateNoBorderRadius(e, t, n, ae);
747
768
  break;
748
769
  case "background-color":
749
770
  case "background-color--mobile":
@@ -758,7 +779,7 @@ var D = [
758
779
  this.updateGradient(e, n);
759
780
  break;
760
781
  case "background-size":
761
- this.updateAttribute(e, t, n, _);
782
+ this.updateAttribute(e, t, n, re);
762
783
  break;
763
784
  case "background-image":
764
785
  case "background-image--mobile":
@@ -770,16 +791,16 @@ var D = [
770
791
  n !== null && n !== "" && (this.$el.style.backgroundPosition = n);
771
792
  break;
772
793
  case "box-shadow":
773
- this.updateAttribute(e, t, n, v);
794
+ this.updateAttribute(e, t, n, ie);
774
795
  break;
775
796
  case "anchor-offset":
776
- this.updateAnchorOffset(t, n, f);
797
+ this.updateAnchorOffset(t, n, m);
777
798
  break;
778
799
  case "anchor-spacing":
779
- this.updateAnchorSpacing(t, n, D);
800
+ this.updateAnchorSpacing(t, n, j);
780
801
  break;
781
802
  case "subgrid-rows":
782
- this.updateSubgridRows(e, t, n, O);
803
+ this.updateSubgridRows(e, t, n, M);
783
804
  break;
784
805
  default: super.attributeChangedCallback(e, t, n);
785
806
  }
@@ -808,13 +829,13 @@ var D = [
808
829
  }
809
830
  updateBackgroundColor(e, t) {
810
831
  let n = t.startsWith("surface-");
811
- if (this.checkName(g, t)) {
832
+ if (this.checkName(v, t)) {
812
833
  let r = this.splitAttrNameFromBreakpoint(e), i = r.breakpoint;
813
834
  this.$el.style.setProperty(`--${r.attrName}${i}`, `var(--px-color-background-${t}${n ? "" : "-default"})`), this.$el.style.setProperty(`--${r.attrName}-inverted${i}`, `var(--px-color-background-${t}${n ? "" : "-inverted"})`);
814
- } else c(`"${t}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${g.join("\", \"")}".`);
835
+ } else c(`"${t}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${v.join("\", \"")}".`);
815
836
  }
816
837
  updateBorderColor(e, t) {
817
- this.checkName(h, t) ? (this.$el.style.setProperty(`--${e}`, `var(--px-color-border-${t}-default)`), this.$el.style.setProperty(`--${e}-inverted`, `var(--px-color-border-${t}-inverted)`)) : c(`"${t}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${h.join("\", \"")}".`);
838
+ this.checkName(g, t) ? (this.$el.style.setProperty(`--${e}`, `var(--px-color-border-${t}-default)`), this.$el.style.setProperty(`--${e}-inverted`, `var(--px-color-border-${t}-inverted)`)) : c(`"${t}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${g.join("\", \"")}".`);
818
839
  }
819
840
  updateNoBorderRadius(e, t, n, r) {
820
841
  if (!this.checkName(r, n)) c(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join("\", \"")}".`);
@@ -846,7 +867,7 @@ var D = [
846
867
  };
847
868
  }
848
869
  updateAnchorOffset(e, t, n) {
849
- if (!S(n, t)) {
870
+ if (!x(n, t)) {
850
871
  c(`"${t}" is not a valid anchor-offset value for ${this.tagName.toLowerCase()}. Allowed values are: "${n.join("\", \"")}".`);
851
872
  return;
852
873
  }
@@ -859,7 +880,7 @@ var D = [
859
880
  this.$el.classList.contains("anchored") || this.$el.classList.add("anchored");
860
881
  }
861
882
  updateAnchorSpacing(e, t, n) {
862
- if (!S(n, t)) {
883
+ if (!x(n, t)) {
863
884
  c(`"${t}" is not a valid anchor-spacing value for ${this.tagName.toLowerCase()}. Allowed values are: "${n.join("\", \"")}".`);
864
885
  return;
865
886
  }
@@ -869,7 +890,7 @@ var D = [
869
890
  r(e), r(t);
870
891
  }
871
892
  updateSubgridRows(e, t, n, r) {
872
- S(r, n) ? this.style.setProperty(`--${e}`, n) : c(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join("\", \"")}".`);
893
+ x(r, n) ? this.style.setProperty(`--${e}`, n) : c(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join("\", \"")}".`);
873
894
  }
874
895
  get $el() {
875
896
  return this?.shadowRoot?.querySelector(".container");
@@ -881,388 +902,390 @@ var D = [
881
902
  return this.getAttribute("padding");
882
903
  }
883
904
  set padding(e) {
884
- C(this, "padding", e);
905
+ S(this, "padding", e);
885
906
  }
886
907
  get paddingBlock() {
887
908
  return this.getAttribute("padding-block");
888
909
  }
889
910
  set paddingBlock(e) {
890
- C(this, "padding-block", e);
911
+ S(this, "padding-block", e);
891
912
  }
892
913
  get paddingInline() {
893
914
  return this.getAttribute("padding-inline");
894
915
  }
895
916
  set paddingInline(e) {
896
- C(this, "padding-inline", e);
917
+ S(this, "padding-inline", e);
897
918
  }
898
919
  get paddingTop() {
899
920
  return this.getAttribute("padding-top");
900
921
  }
901
922
  set paddingTop(e) {
902
- C(this, "padding-top", e);
923
+ S(this, "padding-top", e);
903
924
  }
904
925
  get paddingRight() {
905
926
  return this.getAttribute("padding-right");
906
927
  }
907
928
  set paddingRight(e) {
908
- C(this, "padding-right", e);
929
+ S(this, "padding-right", e);
909
930
  }
910
931
  get paddingBottom() {
911
932
  return this.getAttribute("padding-bottom");
912
933
  }
913
934
  set paddingBottom(e) {
914
- C(this, "padding-bottom", e);
935
+ S(this, "padding-bottom", e);
915
936
  }
916
937
  get paddingLeft() {
917
938
  return this.getAttribute("padding-left");
918
939
  }
919
940
  set paddingLeft(e) {
920
- C(this, "padding-left", e);
941
+ S(this, "padding-left", e);
921
942
  }
922
943
  get paddingMobile() {
923
944
  return this.getAttribute("padding--mobile");
924
945
  }
925
946
  set paddingMobile(e) {
926
- C(this, "padding--mobile", e);
947
+ S(this, "padding--mobile", e);
927
948
  }
928
949
  get paddingBlockMobile() {
929
950
  return this.getAttribute("padding-block--mobile");
930
951
  }
931
952
  set paddingBlockMobile(e) {
932
- C(this, "padding-block--mobile", e);
953
+ S(this, "padding-block--mobile", e);
933
954
  }
934
955
  get paddingInlineMobile() {
935
956
  return this.getAttribute("padding-inline--mobile");
936
957
  }
937
958
  set paddingInlineMobile(e) {
938
- C(this, "padding-inline--mobile", e);
959
+ S(this, "padding-inline--mobile", e);
939
960
  }
940
961
  get paddingTopMobile() {
941
962
  return this.getAttribute("padding-top--mobile");
942
963
  }
943
964
  set paddingTopMobile(e) {
944
- C(this, "padding-top--mobile", e);
965
+ S(this, "padding-top--mobile", e);
945
966
  }
946
967
  get paddingRightMobile() {
947
968
  return this.getAttribute("padding-right--mobile");
948
969
  }
949
970
  set paddingRightMobile(e) {
950
- C(this, "padding-right--mobile", e);
971
+ S(this, "padding-right--mobile", e);
951
972
  }
952
973
  get paddingBottomMobile() {
953
974
  return this.getAttribute("padding-bottom--mobile");
954
975
  }
955
976
  set paddingBottomMobile(e) {
956
- C(this, "padding-bottom--mobile", e);
977
+ S(this, "padding-bottom--mobile", e);
957
978
  }
958
979
  get paddingLeftMobile() {
959
980
  return this.getAttribute("padding-left--mobile");
960
981
  }
961
982
  set paddingLeftMobile(e) {
962
- C(this, "padding-left--mobile", e);
983
+ S(this, "padding-left--mobile", e);
963
984
  }
964
985
  get paddingTablet() {
965
986
  return this.getAttribute("padding--tablet");
966
987
  }
967
988
  set paddingTablet(e) {
968
- C(this, "padding--tablet", e);
989
+ S(this, "padding--tablet", e);
969
990
  }
970
991
  get paddingBlockTablet() {
971
992
  return this.getAttribute("padding-block--tablet");
972
993
  }
973
994
  set paddingBlockTablet(e) {
974
- C(this, "padding-block--tablet", e);
995
+ S(this, "padding-block--tablet", e);
975
996
  }
976
997
  get paddingInlineTablet() {
977
998
  return this.getAttribute("padding-inline--tablet");
978
999
  }
979
1000
  set paddingInlineTablet(e) {
980
- C(this, "padding-inline--tablet", e);
1001
+ S(this, "padding-inline--tablet", e);
981
1002
  }
982
1003
  get paddingTopTablet() {
983
1004
  return this.getAttribute("padding-top--tablet");
984
1005
  }
985
1006
  set paddingTopTablet(e) {
986
- C(this, "padding-top--tablet", e);
1007
+ S(this, "padding-top--tablet", e);
987
1008
  }
988
1009
  get paddingRightTablet() {
989
1010
  return this.getAttribute("padding-right--tablet");
990
1011
  }
991
1012
  set paddingRightTablet(e) {
992
- C(this, "padding-right--tablet", e);
1013
+ S(this, "padding-right--tablet", e);
993
1014
  }
994
1015
  get paddingBottomTablet() {
995
1016
  return this.getAttribute("padding-bottom--tablet");
996
1017
  }
997
1018
  set paddingBottomTablet(e) {
998
- C(this, "padding-bottom--tablet", e);
1019
+ S(this, "padding-bottom--tablet", e);
999
1020
  }
1000
1021
  get paddingLeftTablet() {
1001
1022
  return this.getAttribute("padding-left--tablet");
1002
1023
  }
1003
1024
  set paddingLeftTablet(e) {
1004
- C(this, "padding-left--tablet", e);
1025
+ S(this, "padding-left--tablet", e);
1005
1026
  }
1006
1027
  get paddingLaptop() {
1007
1028
  return this.getAttribute("padding--laptop");
1008
1029
  }
1009
1030
  set paddingLaptop(e) {
1010
- C(this, "padding--laptop", e);
1031
+ S(this, "padding--laptop", e);
1011
1032
  }
1012
1033
  get paddingBlockLaptop() {
1013
1034
  return this.getAttribute("padding-block--laptop");
1014
1035
  }
1015
1036
  set paddingBlockLaptop(e) {
1016
- C(this, "padding-block--laptop", e);
1037
+ S(this, "padding-block--laptop", e);
1017
1038
  }
1018
1039
  get paddingInlineLaptop() {
1019
1040
  return this.getAttribute("padding-inline--laptop");
1020
1041
  }
1021
1042
  set paddingInlineLaptop(e) {
1022
- C(this, "padding-inline--laptop", e);
1043
+ S(this, "padding-inline--laptop", e);
1023
1044
  }
1024
1045
  get paddingTopLaptop() {
1025
1046
  return this.getAttribute("padding-top--laptop");
1026
1047
  }
1027
1048
  set paddingTopLaptop(e) {
1028
- C(this, "padding-top--laptop", e);
1049
+ S(this, "padding-top--laptop", e);
1029
1050
  }
1030
1051
  get paddingRightLaptop() {
1031
1052
  return this.getAttribute("padding-right--laptop");
1032
1053
  }
1033
1054
  set paddingRightLaptop(e) {
1034
- C(this, "padding-right--laptop", e);
1055
+ S(this, "padding-right--laptop", e);
1035
1056
  }
1036
1057
  get paddingBottomLaptop() {
1037
1058
  return this.getAttribute("padding-bottom--laptop");
1038
1059
  }
1039
1060
  set paddingBottomLaptop(e) {
1040
- C(this, "padding-bottom--laptop", e);
1061
+ S(this, "padding-bottom--laptop", e);
1041
1062
  }
1042
1063
  get paddingLeftLaptop() {
1043
1064
  return this.getAttribute("padding-left--laptop");
1044
1065
  }
1045
1066
  set paddingLeftLaptop(e) {
1046
- C(this, "padding-left--laptop", e);
1067
+ S(this, "padding-left--laptop", e);
1047
1068
  }
1048
1069
  get border() {
1049
1070
  return this.getAttribute("border");
1050
1071
  }
1051
1072
  set border(e) {
1052
- C(this, "border", e);
1073
+ S(this, "border", e);
1053
1074
  }
1054
1075
  get borderColor() {
1055
1076
  return this.getAttribute("border-color");
1056
1077
  }
1057
1078
  set borderColor(e) {
1058
- C(this, "border-color", e);
1079
+ S(this, "border-color", e);
1059
1080
  }
1060
1081
  get borderSide() {
1061
1082
  return this.getAttribute("border-side");
1062
1083
  }
1063
1084
  set borderSide(e) {
1064
- C(this, "border-side", e);
1085
+ S(this, "border-side", e);
1065
1086
  }
1066
1087
  get borderSideMobile() {
1067
1088
  return this.getAttribute("border-side--mobile");
1068
1089
  }
1069
1090
  set borderSideMobile(e) {
1070
- C(this, "border-side--mobile", e);
1091
+ S(this, "border-side--mobile", e);
1071
1092
  }
1072
1093
  get borderSideTablet() {
1073
1094
  return this.getAttribute("border-side--tablet");
1074
1095
  }
1075
1096
  set borderSideTablet(e) {
1076
- C(this, "border-side--tablet", e);
1097
+ S(this, "border-side--tablet", e);
1077
1098
  }
1078
1099
  get borderSideLaptop() {
1079
1100
  return this.getAttribute("border-side--laptop");
1080
1101
  }
1081
1102
  set borderSideLaptop(e) {
1082
- C(this, "border-side--laptop", e);
1103
+ S(this, "border-side--laptop", e);
1083
1104
  }
1084
1105
  get borderRadius() {
1085
1106
  return this.getAttribute("border-radius");
1086
1107
  }
1087
1108
  set borderRadius(e) {
1088
- C(this, "border-radius", e);
1109
+ S(this, "border-radius", e);
1089
1110
  }
1090
1111
  get noBorderRadius() {
1091
1112
  return this.getAttribute("no-border-radius");
1092
1113
  }
1093
1114
  set noBorderRadius(e) {
1094
- C(this, "no-border-radius", e);
1115
+ S(this, "no-border-radius", e);
1095
1116
  }
1096
1117
  get noBorderRadiusMobile() {
1097
1118
  return this.getAttribute("no-border-radius--mobile");
1098
1119
  }
1099
1120
  set noBorderRadiusMobile(e) {
1100
- C(this, "no-border-radius--mobile", e);
1121
+ S(this, "no-border-radius--mobile", e);
1101
1122
  }
1102
1123
  get noBorderRadiusTablet() {
1103
1124
  return this.getAttribute("no-border-radius--tablet");
1104
1125
  }
1105
1126
  set noBorderRadiusTablet(e) {
1106
- C(this, "no-border-radius--tablet", e);
1127
+ S(this, "no-border-radius--tablet", e);
1107
1128
  }
1108
1129
  get noBorderRadiusLaptop() {
1109
1130
  return this.getAttribute("no-border-radius--laptop");
1110
1131
  }
1111
1132
  set noBorderRadiusLaptop(e) {
1112
- C(this, "no-border-radius--laptop", e);
1133
+ S(this, "no-border-radius--laptop", e);
1113
1134
  }
1114
1135
  get backgroundColor() {
1115
1136
  return this.getAttribute("background-color");
1116
1137
  }
1117
1138
  set backgroundColor(e) {
1118
- C(this, "background-color", e);
1139
+ S(this, "background-color", e);
1119
1140
  }
1120
1141
  get backgroundColorMobile() {
1121
1142
  return this.getAttribute("background-color--mobile");
1122
1143
  }
1123
1144
  set backgroundColorMobile(e) {
1124
- C(this, "background-color--mobile", e);
1145
+ S(this, "background-color--mobile", e);
1125
1146
  }
1126
1147
  get backgroundColorTablet() {
1127
1148
  return this.getAttribute("background-color--tablet");
1128
1149
  }
1129
1150
  set backgroundColorTablet(e) {
1130
- C(this, "background-color--tablet", e);
1151
+ S(this, "background-color--tablet", e);
1131
1152
  }
1132
1153
  get backgroundColorLaptop() {
1133
1154
  return this.getAttribute("background-color--laptop");
1134
1155
  }
1135
1156
  set backgroundColorLaptop(e) {
1136
- C(this, "background-color--laptop", e);
1157
+ S(this, "background-color--laptop", e);
1137
1158
  }
1138
1159
  get gradient() {
1139
1160
  return this.getAttribute("background-gradient");
1140
1161
  }
1141
1162
  set gradient(e) {
1142
- C(this, "background-gradient", e);
1163
+ S(this, "background-gradient", e);
1143
1164
  }
1144
1165
  get gradientMobile() {
1145
1166
  return this.getAttribute("background-gradient--mobile");
1146
1167
  }
1147
1168
  set gradientMobile(e) {
1148
- C(this, "background-gradient--mobile", e);
1169
+ S(this, "background-gradient--mobile", e);
1149
1170
  }
1150
1171
  get gradientTablet() {
1151
1172
  return this.getAttribute("background-gradient--tablet");
1152
1173
  }
1153
1174
  set gradientTablet(e) {
1154
- C(this, "background-gradient--tablet", e);
1175
+ S(this, "background-gradient--tablet", e);
1155
1176
  }
1156
1177
  get gradientLaptop() {
1157
1178
  return this.getAttribute("background-gradient--laptop");
1158
1179
  }
1159
1180
  set gradientLaptop(e) {
1160
- C(this, "background-gradient--laptop", e);
1181
+ S(this, "background-gradient--laptop", e);
1161
1182
  }
1162
1183
  get backgroundImage() {
1163
1184
  return this.getAttribute("background-image");
1164
1185
  }
1165
1186
  set backgroundImage(e) {
1166
- C(this, "background-image", e);
1187
+ S(this, "background-image", e);
1167
1188
  }
1168
1189
  get backgroundImageMobile() {
1169
1190
  return this.getAttribute("background-image--mobile");
1170
1191
  }
1171
1192
  set backgroundImageMobile(e) {
1172
- C(this, "background-image--mobile", e);
1193
+ S(this, "background-image--mobile", e);
1173
1194
  }
1174
1195
  get backgroundImageTablet() {
1175
1196
  return this.getAttribute("background-image--tablet");
1176
1197
  }
1177
1198
  set backgroundImageTablet(e) {
1178
- C(this, "background-image--tablet", e);
1199
+ S(this, "background-image--tablet", e);
1179
1200
  }
1180
1201
  get backgroundImageLaptop() {
1181
1202
  return this.getAttribute("background-image--laptop");
1182
1203
  }
1183
1204
  set backgroundImageLaptop(e) {
1184
- C(this, "background-image--laptop", e);
1205
+ S(this, "background-image--laptop", e);
1185
1206
  }
1186
1207
  get backgroundSize() {
1187
1208
  return this.getAttribute("background-size");
1188
1209
  }
1189
1210
  set backgroundSize(e) {
1190
- C(this, "background-size", e);
1211
+ S(this, "background-size", e);
1191
1212
  }
1192
1213
  get backgroundPosition() {
1193
1214
  return this.getAttribute("background-position");
1194
1215
  }
1195
1216
  set backgroundPosition(e) {
1196
- C(this, "background-position", e);
1217
+ S(this, "background-position", e);
1197
1218
  }
1198
1219
  get boxShadow() {
1199
1220
  return this.getAttribute("box-shadow");
1200
1221
  }
1201
1222
  set boxShadow(e) {
1202
- C(this, "box-shadow", e);
1223
+ S(this, "box-shadow", e);
1203
1224
  }
1204
1225
  get anchorOffset() {
1205
1226
  return this.getAttribute("anchor-offset");
1206
1227
  }
1207
1228
  set anchorOffset(e) {
1208
- C(this, "anchor-offset", e);
1229
+ S(this, "anchor-offset", e);
1209
1230
  }
1210
1231
  get anchorSpacing() {
1211
1232
  return this.getAttribute("anchor-spacing");
1212
1233
  }
1213
1234
  set anchorSpacing(e) {
1214
- C(this, "anchor-spacing", e);
1235
+ S(this, "anchor-spacing", e);
1215
1236
  }
1216
1237
  get inverted() {
1217
1238
  return this.hasAttribute("inverted");
1218
1239
  }
1219
1240
  set inverted(e) {
1220
- w(this, "inverted", e);
1241
+ C(this, "inverted", e);
1221
1242
  }
1222
1243
  get subgridRows() {
1223
1244
  return this.getAttribute("subgrid-rows");
1224
1245
  }
1225
1246
  set subgridRows(e) {
1226
- C(this, "subgrid-rows", e);
1247
+ S(this, "subgrid-rows", e);
1227
1248
  }
1228
1249
  get subgridGap() {
1229
1250
  return this.getAttribute("subgrid-gap");
1230
1251
  }
1231
1252
  set subgridGap(e) {
1232
- C(this, "subgrid-gap", e);
1253
+ S(this, "subgrid-gap", e);
1233
1254
  }
1234
1255
  get subgridGapMobile() {
1235
1256
  return this.getAttribute("subgrid-gap--mobile");
1236
1257
  }
1237
1258
  set subgridGapMobile(e) {
1238
- C(this, "subgrid-gap--mobile", e);
1259
+ S(this, "subgrid-gap--mobile", e);
1239
1260
  }
1240
1261
  get subgridGapTablet() {
1241
1262
  return this.getAttribute("subgrid-gap--tablet");
1242
1263
  }
1243
1264
  set subgridGapTablet(e) {
1244
- C(this, "subgrid-gap--tablet", e);
1265
+ S(this, "subgrid-gap--tablet", e);
1245
1266
  }
1246
1267
  get subgridGapLaptop() {
1247
1268
  return this.getAttribute("subgrid-gap--laptop");
1248
1269
  }
1249
1270
  set subgridGapLaptop(e) {
1250
- C(this, "subgrid-gap--laptop", e);
1271
+ S(this, "subgrid-gap--laptop", e);
1251
1272
  }
1252
1273
  };
1253
- customElements.get("px-container") || customElements.define("px-container", M);
1274
+ customElements.get("px-container") || customElements.define("px-container", I);
1254
1275
  //#endregion
1255
1276
  //#region ../Layout/src/Stack.css?inline
1256
- var N = ":host{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{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))}}", P = new CSSStyleSheet();
1257
- P.replaceSync(N);
1258
- var F = [
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();
1278
+ R.replaceSync(L);
1279
+ var z = document.createElement("template");
1280
+ z.innerHTML = "<div class=\"flex-container\"><slot></slot></div>";
1281
+ var B = [
1259
1282
  "",
1260
1283
  "default",
1261
1284
  "row",
1262
1285
  "row-reverse",
1263
1286
  "column",
1264
1287
  "column-reverse"
1265
- ], I = [
1288
+ ], V = [
1266
1289
  "",
1267
1290
  "default",
1268
1291
  "stretch",
@@ -1272,7 +1295,7 @@ var F = [
1272
1295
  "end",
1273
1296
  "center",
1274
1297
  "baseline"
1275
- ], L = [
1298
+ ], H = [
1276
1299
  "",
1277
1300
  "default",
1278
1301
  "flex-start",
@@ -1283,25 +1306,23 @@ var F = [
1283
1306
  "space-between",
1284
1307
  "space-around",
1285
1308
  "space-evenly"
1286
- ], R = [
1309
+ ], U = [
1287
1310
  "",
1288
1311
  "default",
1289
1312
  "nowrap",
1290
1313
  "wrap",
1291
1314
  "wrap-reverse"
1292
- ], z = [
1315
+ ], W = [
1293
1316
  "",
1294
1317
  "visible",
1295
1318
  "hidden",
1296
1319
  "scroll",
1297
1320
  "auto"
1298
- ], B = class extends l {
1321
+ ], G = class e extends l {
1299
1322
  constructor() {
1300
- super(P), this.overflowXAttributeDelegate = new ae(this, "overflow-x", (e) => e, "--overflow-x"), this.template = "<div class=\"flex-container\">\n <slot></slot>\n </div>", this.shadowRoot.innerHTML = this.template;
1301
- }
1302
- connectedCallback() {
1303
- this.hasAttribute("direction") || (this.direction = "row"), this.hasAttribute("gap") || (this.gap = "none"), this.hasAttribute("align-items") || (this.alignItems = "stretch"), this.hasAttribute("justify-content") || (this.justifyContent = "flex-start"), this.hasAttribute("wrap") || (this.wrap = "nowrap"), this.hasAttribute("overflow-x") || this.overflowXAttributeDelegate.init("visible");
1323
+ super(R), this.overflowXAttributeDelegate = new T(this, "overflow-x", (e) => e, "--overflow-x"), this.shadowRoot.firstChild || this.shadowRoot.appendChild(document.importNode(z.content, !0));
1304
1324
  }
1325
+ connectedCallback() {}
1305
1326
  static get observedAttributes() {
1306
1327
  return [
1307
1328
  ...super.observedAttributes,
@@ -1351,266 +1372,286 @@ var F = [
1351
1372
  case "justify-content--tablet":
1352
1373
  case "justify-content--laptop":
1353
1374
  case "justify-content--desktop":
1354
- this.updateFlexProperties(e, t, n, L);
1375
+ this.updateFlexProperties(e, t, n, H);
1355
1376
  break;
1356
1377
  case "align-items":
1357
1378
  case "align-items--mobile":
1358
1379
  case "align-items--tablet":
1359
1380
  case "align-items--laptop":
1360
1381
  case "align-items--desktop":
1361
- this.updateFlexProperties(e, t, n, I);
1382
+ this.updateFlexProperties(e, t, n, V);
1362
1383
  break;
1363
1384
  case "wrap":
1364
1385
  case "wrap--mobile":
1365
1386
  case "wrap--tablet":
1366
1387
  case "wrap--laptop":
1367
1388
  case "wrap--desktop":
1368
- this.updateFlexProperties(e, t, n, R);
1389
+ this.updateFlexProperties(e, t, n, U);
1369
1390
  break;
1370
1391
  case "direction":
1371
1392
  case "direction--mobile":
1372
1393
  case "direction--tablet":
1373
1394
  case "direction--laptop":
1374
1395
  case "direction--desktop":
1375
- this.updateFlexProperties(e, t, n, F);
1396
+ this.updateFlexProperties(e, t, n, B);
1376
1397
  break;
1377
1398
  case "overflow-x":
1378
1399
  case "overflow-x--mobile":
1379
1400
  case "overflow-x--tablet":
1380
1401
  case "overflow-x--laptop":
1381
1402
  case "overflow-x--desktop":
1382
- this.updateOverflowX(e, t, n, z);
1403
+ this.updateOverflowX(e, t, n, W);
1383
1404
  break;
1384
1405
  default: super.attributeChangedCallback(e, t, n);
1385
1406
  }
1386
1407
  }
1387
1408
  updateOverflowX(e, t, n, r) {
1388
- if (!S(r, n)) {
1409
+ if (!x(r, n)) {
1389
1410
  c(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join("\", \"")}".`);
1390
1411
  return;
1391
1412
  }
1392
1413
  this.overflowXAttributeDelegate.attributeChangedCallback(e, t, n);
1393
1414
  }
1394
- updateFlexProperties(e, t, n, r) {
1395
- this.checkName(r, n) || c(`"${n}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join("\", \"")}".`);
1396
- let i = e.indexOf("--") > -1, a = i ? e.split("--")[0] : e, o = [];
1397
- if (!i) this.getAttribute(a + "--mobile") || o.push("mobile"), this.getAttribute(a + "--tablet") || o.push("tablet"), this.getAttribute(a + "--laptop") || o.push("laptop"), this.getAttribute(a + "--desktop") || o.push("desktop"), o.forEach((e) => {
1398
- this.updateStyle(a, e, t, r), this.updateStyle(a, e, n, r);
1399
- });
1415
+ updateFlexProperties(t, n, r, i) {
1416
+ r !== null && !this.checkName(i, r) && c(`"${r}" is not a valid ${t} value for ${this.tagName.toLowerCase()}. Allowed values are: "${i.join("\", \"")}".`);
1417
+ let a = t.indexOf("--");
1418
+ if (a === -1) for (let n of e.breakpoints) this.getAttribute(`${t}--${n}`) || this.updateStyle(t, n, r, i);
1400
1419
  else {
1401
- let i = e.split("--")[1];
1402
- this.updateStyle(a, i, t, r), this.updateStyle(a, i, n, r);
1420
+ let e = t.slice(0, a), n = t.slice(a + 2);
1421
+ this.updateStyle(e, n, r || this.getAttribute(e), i);
1403
1422
  }
1404
1423
  }
1405
1424
  updateStyle(e, t, n, r) {
1406
- n && (e === "gap" && r && r.includes(n) ? (this.$el.style.setProperty(`--flex-${e}--${t}-value`, `var(--px-spacing-${n}-${t === "laptop" ? "desktop" : t})`), this.style.setProperty(`--host-gap--${t}`, `var(--px-spacing-${n}-${t === "laptop" ? "desktop" : t})`)) : this.$el.style.setProperty(`--flex-${e}--${t}-value`, n));
1425
+ let i = `--flex-${e}--${t}-value`, a = e === "gap";
1426
+ if (!n) {
1427
+ this.$el.style.removeProperty(i), a && this.style.removeProperty(`--host-gap--${t}`);
1428
+ return;
1429
+ }
1430
+ if (a && r && r.includes(n)) {
1431
+ let e = `var(--px-spacing-${n}-${t === "laptop" ? "desktop" : t})`;
1432
+ this.$el.style.setProperty(i, e), this.style.setProperty(`--host-gap--${t}`, e);
1433
+ } else this.$el.style.setProperty(i, n);
1434
+ }
1435
+ static {
1436
+ this.breakpoints = [
1437
+ "mobile",
1438
+ "tablet",
1439
+ "laptop",
1440
+ "desktop"
1441
+ ];
1407
1442
  }
1408
1443
  get direction() {
1409
- return this.getAttribute("direction");
1444
+ return this.getAttribute("direction") ?? "row";
1410
1445
  }
1411
1446
  set direction(e) {
1412
- C(this, "direction", e);
1447
+ S(this, "direction", e);
1413
1448
  }
1414
1449
  get directionMobile() {
1415
1450
  return this.getAttribute("direction--mobile");
1416
1451
  }
1417
1452
  set directionMobile(e) {
1418
- C(this, "direction--mobile", e);
1453
+ S(this, "direction--mobile", e);
1419
1454
  }
1420
1455
  get directionTablet() {
1421
1456
  return this.getAttribute("direction--tablet");
1422
1457
  }
1423
1458
  set directionTablet(e) {
1424
- C(this, "direction--tablet", e);
1459
+ S(this, "direction--tablet", e);
1425
1460
  }
1426
1461
  get directionLaptop() {
1427
1462
  return this.getAttribute("direction--laptop");
1428
1463
  }
1429
1464
  set directionLaptop(e) {
1430
- C(this, "direction--laptop", e);
1465
+ S(this, "direction--laptop", e);
1431
1466
  }
1432
1467
  get directionDesktop() {
1433
1468
  return this.getAttribute("direction--desktop");
1434
1469
  }
1435
1470
  set directionDesktop(e) {
1436
- C(this, "direction--desktop", e);
1471
+ S(this, "direction--desktop", e);
1437
1472
  }
1438
1473
  get gap() {
1439
- return this.getAttribute("gap");
1474
+ return this.getAttribute("gap") ?? "none";
1440
1475
  }
1441
1476
  set gap(e) {
1442
- C(this, "gap", e);
1477
+ S(this, "gap", e);
1443
1478
  }
1444
1479
  get gapMobile() {
1445
1480
  return this.getAttribute("gap--mobile");
1446
1481
  }
1447
1482
  set gapMobile(e) {
1448
- C(this, "gap--mobile", e);
1483
+ S(this, "gap--mobile", e);
1449
1484
  }
1450
1485
  get gapTablet() {
1451
1486
  return this.getAttribute("gap--tablet");
1452
1487
  }
1453
1488
  set gapTablet(e) {
1454
- C(this, "gap--tablet", e);
1489
+ S(this, "gap--tablet", e);
1455
1490
  }
1456
1491
  get gapLaptop() {
1457
1492
  return this.getAttribute("gap--laptop");
1458
1493
  }
1459
1494
  set gapLaptop(e) {
1460
- C(this, "gap--laptop", e);
1495
+ S(this, "gap--laptop", e);
1461
1496
  }
1462
1497
  get gapDesktop() {
1463
1498
  return this.getAttribute("gap--desktop");
1464
1499
  }
1465
1500
  set gapDesktop(e) {
1466
- C(this, "gap--desktop", e);
1501
+ S(this, "gap--desktop", e);
1467
1502
  }
1468
1503
  get justifyContent() {
1469
- return this.getAttribute("justify-content");
1504
+ return this.getAttribute("justify-content") ?? "flex-start";
1470
1505
  }
1471
1506
  set justifyContent(e) {
1472
- C(this, "justify-content", e);
1507
+ S(this, "justify-content", e);
1473
1508
  }
1474
1509
  get justifyContentMobile() {
1475
1510
  return this.getAttribute("justify-content--mobile");
1476
1511
  }
1477
1512
  set justifyContentMobile(e) {
1478
- C(this, "justify-content--mobile", e);
1513
+ S(this, "justify-content--mobile", e);
1479
1514
  }
1480
1515
  get justifyContentTablet() {
1481
1516
  return this.getAttribute("justify-content--tablet");
1482
1517
  }
1483
1518
  set justifyContentTablet(e) {
1484
- C(this, "justify-content--tablet", e);
1519
+ S(this, "justify-content--tablet", e);
1485
1520
  }
1486
1521
  get justifyContentLaptop() {
1487
1522
  return this.getAttribute("justify-content--laptop");
1488
1523
  }
1489
1524
  set justifyContentLaptop(e) {
1490
- C(this, "justify-content--laptop", e);
1525
+ S(this, "justify-content--laptop", e);
1491
1526
  }
1492
1527
  get justifyContentDesktop() {
1493
1528
  return this.getAttribute("justify-content--desktop");
1494
1529
  }
1495
1530
  set justifyContentDesktop(e) {
1496
- C(this, "justify-content--desktop", e);
1531
+ S(this, "justify-content--desktop", e);
1497
1532
  }
1498
1533
  get alignItems() {
1499
- return this.getAttribute("align-items");
1534
+ return this.getAttribute("align-items") ?? "stretch";
1500
1535
  }
1501
1536
  set alignItems(e) {
1502
- C(this, "align-items", e);
1537
+ S(this, "align-items", e);
1503
1538
  }
1504
1539
  get alignItemsMobile() {
1505
1540
  return this.getAttribute("align-items--mobile");
1506
1541
  }
1507
1542
  set alignItemsMobile(e) {
1508
- C(this, "align-items--mobile", e);
1543
+ S(this, "align-items--mobile", e);
1509
1544
  }
1510
1545
  get alignItemsTablet() {
1511
1546
  return this.getAttribute("align-items--tablet");
1512
1547
  }
1513
1548
  set alignItemsTablet(e) {
1514
- C(this, "align-items--tablet", e);
1549
+ S(this, "align-items--tablet", e);
1515
1550
  }
1516
1551
  get alignItemsLaptop() {
1517
1552
  return this.getAttribute("align-items--laptop");
1518
1553
  }
1519
1554
  set alignItemsLaptop(e) {
1520
- C(this, "align-items--laptop", e);
1555
+ S(this, "align-items--laptop", e);
1521
1556
  }
1522
1557
  get alignItemsDesktop() {
1523
1558
  return this.getAttribute("align-items--desktop");
1524
1559
  }
1525
1560
  set alignItemsDesktop(e) {
1526
- C(this, "align-items--desktop", e);
1561
+ S(this, "align-items--desktop", e);
1527
1562
  }
1528
1563
  get wrap() {
1529
- return this.getAttribute("wrap");
1564
+ return this.getAttribute("wrap") ?? "nowrap";
1530
1565
  }
1531
1566
  set wrap(e) {
1532
- C(this, "wrap", e);
1567
+ S(this, "wrap", e);
1533
1568
  }
1534
1569
  get wrapMobile() {
1535
1570
  return this.getAttribute("wrap--mobile");
1536
1571
  }
1537
1572
  set wrapMobile(e) {
1538
- C(this, "wrap--mobile", e);
1573
+ S(this, "wrap--mobile", e);
1539
1574
  }
1540
1575
  get wrapTablet() {
1541
1576
  return this.getAttribute("wrap--tablet");
1542
1577
  }
1543
1578
  set wrapTablet(e) {
1544
- C(this, "wrap--tablet", e);
1579
+ S(this, "wrap--tablet", e);
1545
1580
  }
1546
1581
  get wrapLaptop() {
1547
1582
  return this.getAttribute("wrap--laptop");
1548
1583
  }
1549
1584
  set wrapLaptop(e) {
1550
- C(this, "wrap--laptop", e);
1585
+ S(this, "wrap--laptop", e);
1551
1586
  }
1552
1587
  get wrapDesktop() {
1553
1588
  return this.getAttribute("wrap--desktop");
1554
1589
  }
1555
1590
  set wrapDesktop(e) {
1556
- C(this, "wrap--desktop", e);
1591
+ S(this, "wrap--desktop", e);
1557
1592
  }
1558
1593
  get overflowX() {
1559
- return this.getAttribute("overflow-x");
1594
+ return this.getAttribute("overflow-x") ?? "visible";
1560
1595
  }
1561
1596
  set overflowX(e) {
1562
- C(this, "overflow-x", e);
1597
+ S(this, "overflow-x", e);
1563
1598
  }
1564
1599
  get overflowXMobile() {
1565
1600
  return this.getAttribute("overflow-x--mobile");
1566
1601
  }
1567
1602
  set overflowXMobile(e) {
1568
- C(this, "overflow-x--mobile", e);
1603
+ S(this, "overflow-x--mobile", e);
1569
1604
  }
1570
1605
  get overflowXTablet() {
1571
1606
  return this.getAttribute("overflow-x--tablet");
1572
1607
  }
1573
1608
  set overflowXTablet(e) {
1574
- C(this, "overflow-x--tablet", e);
1609
+ S(this, "overflow-x--tablet", e);
1575
1610
  }
1576
1611
  get overflowXLaptop() {
1577
1612
  return this.getAttribute("overflow-x--laptop");
1578
1613
  }
1579
1614
  set overflowXLaptop(e) {
1580
- C(this, "overflow-x--laptop", e);
1615
+ S(this, "overflow-x--laptop", e);
1581
1616
  }
1582
1617
  get overflowXDesktop() {
1583
1618
  return this.getAttribute("overflow-x--desktop");
1584
1619
  }
1585
1620
  set overflowXDesktop(e) {
1586
- C(this, "overflow-x--desktop", e);
1621
+ S(this, "overflow-x--desktop", e);
1587
1622
  }
1588
1623
  get $el() {
1589
- return this.shadowRoot.querySelector(".flex-container");
1624
+ return this.shadowRoot.firstElementChild;
1590
1625
  }
1591
1626
  };
1592
- customElements.get("px-stack") || customElements.define("px-stack", B);
1593
- var oe = class extends B {
1594
- constructor() {
1595
- super();
1627
+ customElements.get("px-stack") || customElements.define("px-stack", G);
1628
+ var K = (e) => e === "direction" || e.startsWith("direction--"), ce = class extends G {
1629
+ get direction() {
1630
+ return "column";
1596
1631
  }
1597
- connectedCallback() {
1598
- super.connectedCallback(), this.direction = "column", this.directionMobile = "column", this.directionTablet = "column", this.directionLaptop = "column", this.directionDesktop = "column";
1632
+ set direction(e) {
1633
+ S(this, "direction", e);
1634
+ }
1635
+ attributeChangedCallback(e, t, n) {
1636
+ K(e) || super.attributeChangedCallback(e, t, n);
1599
1637
  }
1600
1638
  };
1601
- customElements.get("px-vstack") || customElements.define("px-vstack", oe);
1602
- var V = class extends B {
1603
- constructor() {
1604
- super();
1639
+ customElements.get("px-vstack") || customElements.define("px-vstack", ce);
1640
+ var le = class extends G {
1641
+ get direction() {
1642
+ return "row";
1605
1643
  }
1606
- connectedCallback() {
1607
- super.connectedCallback(), this.direction = "row", this.directionMobile = "row", this.directionTablet = "row", this.directionLaptop = "row", this.directionDesktop = "row";
1644
+ set direction(e) {
1645
+ S(this, "direction", e);
1646
+ }
1647
+ attributeChangedCallback(e, t, n) {
1648
+ K(e) || super.attributeChangedCallback(e, t, n);
1608
1649
  }
1609
1650
  };
1610
- customElements.get("px-hstack") || customElements.define("px-hstack", V);
1651
+ customElements.get("px-hstack") || customElements.define("px-hstack", le);
1611
1652
  //#endregion
1612
1653
  //#region ../Layout/src/Spacer.ts
1613
- var H = class extends HTMLElement {
1654
+ var ue = class extends HTMLElement {
1614
1655
  constructor() {
1615
1656
  super(), this.isZeroSized = !1, this.growValue = "1", this.isVertical = !1;
1616
1657
  }
@@ -1656,14 +1697,14 @@ var H = class extends HTMLElement {
1656
1697
  e ? this.setAttribute("nogap", "") : this.removeAttribute("nogap");
1657
1698
  }
1658
1699
  };
1659
- customElements.get("px-spacer") || customElements.define("px-spacer", H);
1700
+ customElements.get("px-spacer") || customElements.define("px-spacer", ue);
1660
1701
  //#endregion
1661
1702
  //#region ../Layout/src/Page.css?inline
1662
- var U = ":host{box-sizing:border-box;display:block}slot[name=body-container]{min-height:100vh}#image-sticky-box{margin-top:-2.5rem}", W = new CSSStyleSheet();
1663
- W.replaceSync(U);
1664
- var G = class extends l {
1703
+ var de = ":host{box-sizing:border-box;display:block}slot[name=body-container]{min-height:100vh}#image-sticky-box{margin-top:-2.5rem}", q = new CSSStyleSheet();
1704
+ q.replaceSync(de);
1705
+ var fe = class extends l {
1665
1706
  constructor() {
1666
- super(W), this.template = () => `
1707
+ super(q), this.template = () => `
1667
1708
  <px-container border-radius="none" padding="none">
1668
1709
  <px-vstack>
1669
1710
  <px-container id="header-container" border-radius="none">
@@ -1756,7 +1797,7 @@ var G = class extends l {
1756
1797
  </px-container>
1757
1798
  </px-vstack>
1758
1799
  </px-container>
1759
- `, this.shadowRoot.innerHTML = this.template();
1800
+ `, k(this.shadowRoot, this.template());
1760
1801
  }
1761
1802
  static get observedAttributes() {
1762
1803
  return [
@@ -1825,7 +1866,7 @@ var G = class extends l {
1825
1866
  this.$bodyVStackContainer.setAttribute("gap", n);
1826
1867
  break;
1827
1868
  case "background-color":
1828
- this.$bodyContainer.setAttribute("background-color", g.indexOf(n) > 0 ? n : "none");
1869
+ this.$bodyContainer.setAttribute("background-color", v.indexOf(n) > 0 ? n : "none");
1829
1870
  break;
1830
1871
  case "padding-vertical":
1831
1872
  this.handlePaddingVerticalChange(n);
@@ -1843,10 +1884,10 @@ var G = class extends l {
1843
1884
  this.$headerContainer.paddingLeft = e, this.$headerContainer.paddingRight = e, this.$bodyContainer.paddingLeft = e, this.$bodyContainer.paddingRight = e, this.$contactContainer.paddingLeft = e, this.$contactContainer.paddingRight = e, this.$footerContainer.paddingLeft = e, this.$footerContainer.paddingRight = e, this.$imageContainer.paddingLeft = e, this.$imageContainer.paddingRight = e;
1844
1885
  }
1845
1886
  };
1846
- customElements.get("px-page") === void 0 && customElements.define("px-page", G);
1887
+ customElements.get("px-page") === void 0 && customElements.define("px-page", fe);
1847
1888
  //#endregion
1848
1889
  //#region ../Icon/common/src/IconSet.ts
1849
- var K = class extends HTMLElement {
1890
+ var pe = class extends HTMLElement {
1850
1891
  constructor() {
1851
1892
  super();
1852
1893
  }
@@ -1880,8 +1921,8 @@ var K = class extends HTMLElement {
1880
1921
  e && e.remove();
1881
1922
  }
1882
1923
  };
1883
- customElements.get("px-icon-set") || customElements.define("px-icon-set", K);
1884
- var q = [
1924
+ customElements.get("px-icon-set") || customElements.define("px-icon-set", pe);
1925
+ var me = [
1885
1926
  "Inherit",
1886
1927
  "Brand",
1887
1928
  "Accent",
@@ -1895,12 +1936,14 @@ var q = [
1895
1936
  "StateHover",
1896
1937
  "StateActive",
1897
1938
  "StateDisabled"
1898
- ].map((e) => e.replace(/([A-Z])/g, "-$1").toLowerCase().slice(1)), J = ":host{flex-direction:column;justify-content:center;display:inline-flex}svg{font-size:var(--px-size-icon-s);width:1em;height:1em;color:var(--px-color-icon-accent-default);line-height:1}.inherit{color:inherit}.brand{color:var(--px-color-icon-brand-default)}.accent{color:var(--px-color-icon-accent-default)}.neutral{color:var(--px-color-icon-neutral-default)}.dimmed{color:var(--px-color-icon-dimmed-default)}.purpose-success{color:var(--px-color-icon-purpose-success-default)}.purpose-warning{color:var(--px-color-icon-purpose-warning-default)}.purpose-error{color:var(--px-color-icon-purpose-error-default)}.purpose-unlimited{color:var(--px-color-icon-purpose-unlimited-default)}.purpose-promo{color:var(--px-color-icon-purpose-promo-default)}.state-hover:hover{color:var(--px-color-icon-state-hover-default)}.state-active:active{color:var(--px-color-icon-state-active-default)}.state-disabled{color:var(--px-color-icon-state-disabled-default)}:host([inverted]) svg{color:var(--px-color-icon-accent-inverted)}:host([inverted]) .inherit{color:inherit}:host([inverted]) .brand{color:var(--px-color-icon-brand-inverted)}:host([inverted]) .accent{color:var(--px-color-icon-accent-inverted)}:host([inverted]) .neutral{color:var(--px-color-icon-neutral-inverted)}:host([inverted]) .dimmed{color:var(--px-color-icon-dimmed-inverted)}:host([inverted]) .purpose-success{color:var(--px-color-icon-purpose-success-inverted)}:host([inverted]) .purpose-warning{color:var(--px-color-icon-purpose-warning-inverted)}:host([inverted]) .purpose-error{color:var(--px-color-icon-purpose-error-inverted)}:host([inverted]) .purpose-unlimited{color:var(--px-color-icon-purpose-unlimited-inverted)}:host([inverted]) .purpose-promo{color:var(--px-color-icon-purpose-promo-inverted)}:host([inverted]) .state-hover:hover{color:var(--px-color-icon-state-hover-inverted)}:host([inverted]) .state-active:active{color:var(--px-color-icon-state-active-inverted)}:host([inverted]) .state-disabled{color:var(--px-color-icon-state-disabled-inverted)}.size-xs{font-size:var(--px-size-icon-xs)}.size-s{font-size:var(--px-size-icon-s)}.size-m{font-size:var(--px-size-icon-m)}.size-l{font-size:var(--px-size-icon-l)}.size-xl{font-size:var(--px-size-icon-xl)}", Y = new CSSStyleSheet();
1899
- Y.replaceSync(J);
1900
- var se = class extends l {
1939
+ ].map((e) => e.replace(/([A-Z])/g, "-$1").toLowerCase().slice(1)), he = ":host{flex-direction:column;justify-content:center;display:inline-flex}svg{font-size:var(--px-size-icon-s);width:1em;height:1em;color:var(--px-color-icon-accent-default);line-height:1}.inherit{color:inherit}.brand{color:var(--px-color-icon-brand-default)}.accent{color:var(--px-color-icon-accent-default)}.neutral{color:var(--px-color-icon-neutral-default)}.dimmed{color:var(--px-color-icon-dimmed-default)}.purpose-success{color:var(--px-color-icon-purpose-success-default)}.purpose-warning{color:var(--px-color-icon-purpose-warning-default)}.purpose-error{color:var(--px-color-icon-purpose-error-default)}.purpose-unlimited{color:var(--px-color-icon-purpose-unlimited-default)}.purpose-promo{color:var(--px-color-icon-purpose-promo-default)}.state-hover:hover{color:var(--px-color-icon-state-hover-default)}.state-active:active{color:var(--px-color-icon-state-active-default)}.state-disabled{color:var(--px-color-icon-state-disabled-default)}:host([inverted]) svg{color:var(--px-color-icon-accent-inverted)}:host([inverted]) .inherit{color:inherit}:host([inverted]) .brand{color:var(--px-color-icon-brand-inverted)}:host([inverted]) .accent{color:var(--px-color-icon-accent-inverted)}:host([inverted]) .neutral{color:var(--px-color-icon-neutral-inverted)}:host([inverted]) .dimmed{color:var(--px-color-icon-dimmed-inverted)}:host([inverted]) .purpose-success{color:var(--px-color-icon-purpose-success-inverted)}:host([inverted]) .purpose-warning{color:var(--px-color-icon-purpose-warning-inverted)}:host([inverted]) .purpose-error{color:var(--px-color-icon-purpose-error-inverted)}:host([inverted]) .purpose-unlimited{color:var(--px-color-icon-purpose-unlimited-inverted)}:host([inverted]) .purpose-promo{color:var(--px-color-icon-purpose-promo-inverted)}:host([inverted]) .state-hover:hover{color:var(--px-color-icon-state-hover-inverted)}:host([inverted]) .state-active:active{color:var(--px-color-icon-state-active-inverted)}:host([inverted]) .state-disabled{color:var(--px-color-icon-state-disabled-inverted)}.size-xs{font-size:var(--px-size-icon-xs)}.size-s{font-size:var(--px-size-icon-s)}.size-m{font-size:var(--px-size-icon-m)}.size-l{font-size:var(--px-size-icon-l)}.size-xl{font-size:var(--px-size-icon-xl)}", J = new CSSStyleSheet();
1940
+ J.replaceSync(he);
1941
+ var Y = class e extends l {
1942
+ static {
1943
+ this.template = O("<svg aria-hidden=\"true\"><use></use></svg>");
1944
+ }
1901
1945
  #e = null;
1902
1946
  #t;
1903
- #n = () => "<svg aria-hidden=\"true\">\n <use></use>\n </svg>";
1904
1947
  static get observedAttributes() {
1905
1948
  return [
1906
1949
  ...super.observedAttributes,
@@ -1913,8 +1956,8 @@ var se = class extends l {
1913
1956
  "disabled"
1914
1957
  ];
1915
1958
  }
1916
- constructor(...e) {
1917
- super(...e, Y), this.shadowRoot.innerHTML = this.#n(), this.#t = this.attachInternals?.(), this.#t && (this.#t.role = "img");
1959
+ constructor(...t) {
1960
+ super(...t, J), k(this.shadowRoot, e.template), this.#t = this.attachInternals?.(), this.#t && (this.#t.role = "img");
1918
1961
  }
1919
1962
  attributeChangedCallback(e, t, n) {
1920
1963
  if (t !== n) switch (e) {
@@ -1922,10 +1965,10 @@ var se = class extends l {
1922
1965
  this.updateName(t, n);
1923
1966
  break;
1924
1967
  case "size":
1925
- this.updateAttribute(e, t, n, re);
1968
+ this.updateAttribute(e, t, n, p);
1926
1969
  break;
1927
1970
  case "color":
1928
- this.updateAttribute(e, t, n, q);
1971
+ this.updateAttribute(e, t, n, me);
1929
1972
  break;
1930
1973
  case "disabled":
1931
1974
  this.color = "state-disabled";
@@ -1961,57 +2004,60 @@ var se = class extends l {
1961
2004
  return this.getAttribute("name");
1962
2005
  }
1963
2006
  set name(e) {
1964
- C(this, "name", e);
2007
+ S(this, "name", e);
1965
2008
  }
1966
2009
  get size() {
1967
2010
  return this.getAttribute("size");
1968
2011
  }
1969
2012
  set size(e) {
1970
- C(this, "size", e);
2013
+ S(this, "size", e);
1971
2014
  }
1972
2015
  get color() {
1973
2016
  return this.getAttribute("color");
1974
2017
  }
1975
2018
  set color(e) {
1976
- C(this, "color", e);
2019
+ S(this, "color", e);
1977
2020
  }
1978
2021
  get arialabel() {
1979
2022
  return this.getAttribute("aria-label");
1980
2023
  }
1981
2024
  set arialabel(e) {
1982
- C(this, "aria-label", e);
2025
+ S(this, "aria-label", e);
1983
2026
  }
1984
2027
  get inverted() {
1985
2028
  return this.hasAttribute("inverted");
1986
2029
  }
1987
2030
  set inverted(e) {
1988
- w(this, "inverted", e);
2031
+ C(this, "inverted", e);
1989
2032
  }
1990
2033
  get from() {
1991
2034
  return this.getAttribute("from");
1992
2035
  }
1993
2036
  set from(e) {
1994
- C(this, "from", e);
2037
+ S(this, "from", e);
1995
2038
  }
1996
2039
  get disabled() {
1997
2040
  return this.hasAttribute("disabled");
1998
2041
  }
1999
2042
  set disabled(e) {
2000
- w(this, "disabled", e);
2043
+ C(this, "disabled", e);
2001
2044
  }
2002
2045
  };
2003
- customElements.get("px-icon") || customElements.define("px-icon", se);
2046
+ customElements.get("px-icon") || customElements.define("px-icon", Y);
2004
2047
  //#endregion
2005
2048
  //#region src/toaster.css?inline
2006
- var ce = ":host{display:block}:host *{box-sizing:border-box}dialog{box-shadow:none;margin:auto var(--px-spacing-s-mobile) var(--px-spacing-s-mobile) var(--px-spacing-s-mobile);box-sizing:border-box;max-width:30rem;width:calc(100% - var(--px-spacing-s-mobile) * 2);outline-color:var(--px-color-border-focus-outline-default);outline-width:var(--px-focus-outline-mobile);background:0 0;border:0;border-radius:0;padding:0;animation:.3s ease-out forwards modalIn}dialog:focus-visible{outline-offset:var(--px-focus-offset-mobile);outline-style:solid}dialog[open]{justify-content:center;display:flex}::slotted([slot=label]){font-size:var(--px-text-size-label-l-mobile);font-weight:var(--px-font-weight-body);line-height:var(--px-line-height-ratio-l);color:var(--px-color-text-neutral-inverted);margin-top:3px}.toaster-message{flex-grow:1}slot[name=footer]{align-items:center;gap:var(--px-spacing-xs-mobile);display:flex}@media screen and (width>=32rem){dialog{margin:auto auto var(--px-spacing-s-mobile) auto;width:480px}}@media screen and (width>=48rem){dialog{margin:auto auto var(--px-spacing-s-tablet) auto}::slotted([slot=label]){font-size:var(--px-text-size-label-l-tablet);margin-top:0}slot[name=footer]{gap:var(--px-spacing-s-tablet)}}@media screen and (width>=64.0625rem){dialog{margin:auto auto var(--px-spacing-s-laptop) auto}::slotted([slot=label]){font-size:var(--px-text-size-label-l-laptop)}slot[name=footer]{gap:var(--px-spacing-s-laptop)}}@media screen and (width>=90.0625rem){dialog{margin:auto auto var(--px-spacing-s-desktop) auto}::slotted([slot=label]){font-size:var(--px-text-size-label-l-desktop)}slot[name=footer]{gap:var(--px-spacing-s-desktop)}}:host([inverted]) dialog{outline-color:var(--px-color-border-focus-outline-inverted)}:host([inverted]) ::slotted([slot=label]){color:var(--px-color-text-neutral-default)}", X = new CSSStyleSheet();
2007
- X.replaceSync(ce);
2049
+ var ge = ":host{display:block}:host *{box-sizing:border-box}dialog{box-shadow:none;margin:auto var(--px-spacing-s-mobile) var(--px-spacing-s-mobile) var(--px-spacing-s-mobile);box-sizing:border-box;max-width:30rem;width:calc(100% - var(--px-spacing-s-mobile) * 2);outline-color:var(--px-color-border-focus-outline-default);outline-width:var(--px-focus-outline-mobile);background:0 0;border:0;border-radius:0;padding:0;animation:.3s ease-out forwards modalIn}dialog:focus-visible{outline-offset:var(--px-focus-offset-mobile);outline-style:solid}dialog[open]{justify-content:center;display:flex}::slotted([slot=label]){font-size:var(--px-text-size-label-l-mobile);font-weight:var(--px-font-weight-body);line-height:var(--px-line-height-ratio-l);color:var(--px-color-text-neutral-inverted);margin-top:3px}.toaster-message{flex-grow:1}slot[name=footer]{align-items:center;gap:var(--px-spacing-xs-mobile);display:flex}@media screen and (width>=32rem){dialog{margin:auto auto var(--px-spacing-s-mobile) auto;width:480px}}@media screen and (width>=48rem){dialog{margin:auto auto var(--px-spacing-s-tablet) auto}::slotted([slot=label]){font-size:var(--px-text-size-label-l-tablet);margin-top:0}slot[name=footer]{gap:var(--px-spacing-s-tablet)}}@media screen and (width>=64.0625rem){dialog{margin:auto auto var(--px-spacing-s-laptop) auto}::slotted([slot=label]){font-size:var(--px-text-size-label-l-laptop)}slot[name=footer]{gap:var(--px-spacing-s-laptop)}}@media screen and (width>=90.0625rem){dialog{margin:auto auto var(--px-spacing-s-desktop) auto}::slotted([slot=label]){font-size:var(--px-text-size-label-l-desktop)}slot[name=footer]{gap:var(--px-spacing-s-desktop)}}:host([inverted]) dialog{outline-color:var(--px-color-border-focus-outline-inverted)}:host([inverted]) ::slotted([slot=label]){color:var(--px-color-text-neutral-default)}", X = new CSSStyleSheet();
2050
+ X.replaceSync(ge);
2008
2051
  var Z = [
2009
2052
  "",
2010
2053
  "info",
2011
2054
  "success",
2012
2055
  "error",
2013
2056
  "warning"
2014
- ], le = "px.lavender.toaster.hide", Q = 0, $ = class extends HTMLElement {
2057
+ ], _e = "px.lavender.toaster.hide", Q = 0, $ = class e extends HTMLElement {
2058
+ static {
2059
+ this.template = O("<dialog popover=\"manual\"><px-container padding=\"s\" background-color=\"surface-dark\"><px-vstack gap=\"s\" ><px-hstack gap=\"s\" align-items=\"flex-start\" class=\"toaster-content\"><slot name=\"visual\"></slot><div class=\"toaster-message\" role=\"status\" aria-atomic=\"true\"><slot name=\"label\"></slot></div><slot name=\"action\"></slot></px-hstack><slot name=\"footer\"></slot></px-vstack></px-container></dialog>");
2060
+ }
2015
2061
  constructor() {
2016
2062
  super(), this.popoverButtonsCleanups = [], this.onHideClick = () => this.hide(), this.onShowClick = () => this.show(), this.autoHideTimeoutId = null, this.timeoutStartedAt = null, this.remainingDuration = null, this.isVisible = !1, this.isHovered = !1, this.isFocused = !1, this.onPointerEnter = () => {
2017
2063
  this.isHovered = !0, this.pauseAutoHideTimeout();
@@ -2022,9 +2068,9 @@ var Z = [
2022
2068
  }, this.onFocusOut = (e) => {
2023
2069
  let t = e.relatedTarget;
2024
2070
  this.isFocused = !!t && t !== this.$dialog && (this.contains(t) || this.$dialog?.contains(t) === !0), this.isFocused || this.resumeAutoHideTimeout();
2025
- }, this.template = "<dialog popover=\"manual\">\n <px-container padding=\"s\" background-color=\"surface-dark\">\n <px-vstack gap=\"s\" >\n <px-hstack gap=\"s\" align-items=\"flex-start\" class=\"toaster-content\">\n <slot name=\"visual\"></slot>\n <div class=\"toaster-message\" role=\"status\" aria-atomic=\"true\">\n <slot name=\"label\"></slot>\n </div>\n <slot name=\"action\"></slot>\n </px-hstack>\n <slot name=\"footer\"></slot>\n </px-vstack>\n </px-container>\n </dialog>";
2026
- let e = this.attachShadow({ mode: "open" });
2027
- e && (e.innerHTML = this.template, e.adoptedStyleSheets = [X]);
2071
+ };
2072
+ let t = this.attachShadow({ mode: "open" });
2073
+ t && (k(t, e.template), t.adoptedStyleSheets = [X]);
2028
2074
  }
2029
2075
  connectedCallback() {
2030
2076
  this.addEventListenersToHideButtons(), this.$dialog?.addEventListener("pointerenter", this.onPointerEnter), this.$dialog?.addEventListener("pointerleave", this.onPointerLeave), this.$dialog?.addEventListener("focusin", this.onFocusIn), this.$dialog?.addEventListener("focusout", this.onFocusOut), this.hasAttribute("open") && this.show();
@@ -2065,7 +2111,7 @@ var Z = [
2065
2111
  this.$dialog?.showPopover(), this.isVisible = !0, this.remainingDuration = this.duration, this.startAutoHideTimeout();
2066
2112
  }
2067
2113
  hide() {
2068
- this.isVisible = !1, this.isHovered = !1, this.isFocused = !1, this.clearAutoHideTimeout(), this.remainingDuration = null, this.$dialog?.hidePopover(), this.dispatchEvent(new CustomEvent(le, {
2114
+ this.isVisible = !1, this.isHovered = !1, this.isFocused = !1, this.clearAutoHideTimeout(), this.remainingDuration = null, this.$dialog?.hidePopover(), this.dispatchEvent(new CustomEvent(_e, {
2069
2115
  bubbles: !0,
2070
2116
  composed: !0
2071
2117
  }));
@@ -2102,7 +2148,7 @@ var Z = [
2102
2148
  this.popoverButtonsCleanups.forEach((e) => e()), this.popoverButtonsCleanups = [];
2103
2149
  }
2104
2150
  handleStatusChange(e, t) {
2105
- if (!S(t, e)) {
2151
+ if (!x(t, e)) {
2106
2152
  c(`"${e}" is not a valid background-color value for ${this.tagName.toLowerCase()}.
2107
2153
  Allowed values are: "${t.join("\", \"")}".`);
2108
2154
  return;
@@ -2133,13 +2179,13 @@ var Z = [
2133
2179
  return this.getAttribute("status") || "";
2134
2180
  }
2135
2181
  set status(e) {
2136
- C(this, "status", e);
2182
+ S(this, "status", e);
2137
2183
  }
2138
2184
  get open() {
2139
2185
  return this.hasAttribute("open");
2140
2186
  }
2141
2187
  set open(e) {
2142
- w(this, "open", e);
2188
+ C(this, "open", e);
2143
2189
  }
2144
2190
  get duration() {
2145
2191
  if (!this.hasAttribute("duration")) return Q;
@@ -2147,13 +2193,13 @@ var Z = [
2147
2193
  return Number.isNaN(e) ? Q : e;
2148
2194
  }
2149
2195
  set duration(e) {
2150
- C(this, "duration", e);
2196
+ S(this, "duration", e);
2151
2197
  }
2152
2198
  get inverted() {
2153
2199
  return this.hasAttribute("inverted");
2154
2200
  }
2155
2201
  set inverted(e) {
2156
- w(this, "inverted", e);
2202
+ C(this, "inverted", e);
2157
2203
  }
2158
2204
  };
2159
2205
  customElements.get("px-toaster") || customElements.define("px-toaster", $);