@proximus/lavender-common 1.4.9-beta.2 → 1.4.9

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/common.d.ts CHANGED
@@ -125,7 +125,7 @@ export declare class VerticallyExtendedElement<HTML_TYPE extends Element> extend
125
125
  connectedCallback(): void;
126
126
  }
127
127
  export declare const gridGapValues: string[];
128
- export declare const flexboxAlignSelfValues: readonly ["", "default", "auto", "flex-start", "start", "flex-end", "end", "center", "baseline", "stretch"];
128
+ export declare const flexboxAlignSelfValues: readonly ["", "default", "auto", "flex-start", "flex-end", "center", "baseline", "stretch"];
129
129
  export declare const cssGridAlignSelfValues: readonly ["", "default", "start", "end", "center", "stretch"];
130
130
  export declare const cssGridJustifySelfValues: readonly ["", "default", "start", "end", "center", "stretch"];
131
131
  export declare const cssGridColSpanValues: string[];
package/dist/index.es.js CHANGED
@@ -1,43 +1,42 @@
1
- var S = (i) => {
1
+ var w = (i) => {
2
2
  throw TypeError(i);
3
3
  };
4
- var $ = (i, t, s) => t.has(i) || S("Cannot " + s);
5
- var a = (i, t, s) => ($(i, t, "read from private field"), s ? s.call(i) : t.get(i)), d = (i, t, s) => t.has(i) ? S("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(i) : t.set(i, s), p = (i, t, s, e) => ($(i, t, "write to private field"), e ? e.call(i, s) : t.set(i, s), s);
6
- const M = ":host([grow]){flex-grow:var(--grow-value)}:host([shrink]){flex-shrink:var(--shrink-value)}:host([basis]){flex-basis:var(--basis-value)}:host([align-self]){align-self:var(--align-self-value)}:host([col-span]){grid-column:span var(--col-span-value) / span var(--col-span-value)}:host([justify-self]){justify-self:var(--justify-self-value)}:host([order]),::slotted([order]){order:var(--order-value)}:host([sticky-top]){position:sticky;top:0}:host([sticky-bottom]){position:sticky;bottom:0}:host([hidden]),::slotted([hidden]){display:none}:host([shown--sr]),::slotted(*[shown--sr]){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}@media screen and (max-width: 47.938rem){:host([hidden--mobile]),::slotted([hidden--mobile]){display:none}:host([grow--mobile]){flex-grow:var(--grow--mobile-value)!important}:host([shrink--mobile]){flex-shrink:var(--shrink--mobile-value)!important}:host([basis--mobile]){flex-basis:var(--basis--mobile-value)!important}:host([align-self--mobile]){align-self:var(--align-self--mobile-value)!important}:host([col-span--mobile]){grid-column:span var(--col-span--mobile-value) / span var(--col-span--mobile-value)!important}:host([justify-self--mobile]){justify-self:var(--justify-self--mobile-value)!important}:host([order--mobile]),::slotted([order--mobile]){order:var(--order--mobile-value)!important}:host([shown--sr--mobile]),::slotted(*[shown--sr--mobile]){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}}@media screen and (min-width: 48rem) and (max-width: 64rem){:host([hidden--tablet]),::slotted([hidden--tablet]){display:none}:host([grow--tablet]){flex-grow:var(--grow--tablet-value)!important}:host([shrink--tablet]){flex-shrink:var(--shrink--tablet-value)!important}:host([basis--tablet]){flex-basis:var(--basis--tablet-value)!important}:host([align-self--tablet]){align-self:var(--align-self--tablet-value)!important}:host([col-span--tablet]){grid-column:span var(--col-span--tablet-value) / span var(--col-span--tablet-value)!important}:host([justify-self--tablet]){justify-self:var(--justify-self--tablet-value)!important}:host([order--tablet]),::slotted([order--tablet]){order:var(--order--tablet-value)!important}:host([shown--sr--tablet]),::slotted(*[shown--sr--tablet]){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}}@media screen and (min-width: 64.0625rem){:host([shown--sr--laptop]),::slotted(*[shown--sr--laptop]){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}:host([hidden--laptop]),::slotted([hidden--laptop]){display:none!important}:host([grow--laptop]){flex-grow:var(--grow--laptop-value)!important}:host([shrink--laptop]){flex-shrink:var(--shrink--laptop-value)!important}:host([basis--laptop]){flex-basis:var(--basis--laptop-value)!important}:host([align-self--laptop]){align-self:var(--align-self--laptop-value)!important}:host([col-span--laptop]){grid-column:span var(--col-span--laptop-value) / span var(--col-span--laptop-value)!important}:host([justify-self--laptop]){justify-self:var(--justify-self--laptop-value)!important}:host([order--laptop]),::slotted([order--laptop]){order:var(--order--laptop-value)!important}}@media screen and (min-width: 90.0625rem){:host([col-span--desktop]){grid-column:span var(--col-span--desktop-value) / span var(--col-span--desktop-value)!important}:host([justify-self--desktop]){justify-self:var(--justify-self--desktop-value)!important}:host([order--desktop]),::slotted([order--desktop]){order:var(--order--desktop-value)!important}:host([hidden--desktop]),::slotted([hidden--desktop]){display:none!important}:host([grow--desktop]){flex-grow:var(--grow--desktop-value)!important}:host([shrink--desktop]){flex-shrink:var(--shrink--desktop-value)!important}:host([basis--desktop]){flex-basis:var(--basis--desktop-value)!important}:host([align-self--desktop]){align-self:var(--align-self--desktop-value)!important}}", x = { DEV: !0, VITE_COMPONENT_DEBUG: "true" };
4
+ var A = (i, t, s) => t.has(i) || w("Cannot " + s);
5
+ var a = (i, t, s) => (A(i, t, "read from private field"), s ? s.call(i) : t.get(i)), d = (i, t, s) => t.has(i) ? w("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(i) : t.set(i, s), p = (i, t, s, e) => (A(i, t, "write to private field"), e ? e.call(i, s) : t.set(i, s), s);
6
+ const C = ":host([grow]){flex-grow:var(--grow-value)}:host([shrink]){flex-shrink:var(--shrink-value)}:host([basis]){flex-basis:var(--basis-value)}:host([align-self]){align-self:var(--align-self-value)}:host([col-span]){grid-column:span var(--col-span-value) / span var(--col-span-value)}:host([justify-self]){justify-self:var(--justify-self-value)}:host([order]),::slotted([order]){order:var(--order-value)}:host([sticky-top]){position:sticky;top:0}:host([sticky-bottom]){position:sticky;bottom:0}:host([hidden]),::slotted([hidden]){display:none}:host([shown--sr]),::slotted(*[shown--sr]){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}@media screen and (max-width: 767px){:host([hidden--mobile]),::slotted([hidden--mobile]){display:none}:host([grow--mobile]){flex-grow:var(--grow--mobile-value)!important}:host([shrink--mobile]){flex-shrink:var(--shrink--mobile-value)!important}:host([basis--mobile]){flex-basis:var(--basis--mobile-value)!important}:host([align-self--mobile]){align-self:var(--align-self--mobile-value)!important}:host([col-span--mobile]){grid-column:span var(--col-span--mobile-value) / span var(--col-span--mobile-value)!important}:host([justify-self--mobile]){justify-self:var(--justify-self--mobile-value)!important}:host([order--mobile]),::slotted([order--mobile]){order:var(--order--mobile-value)!important}:host([shown--sr--mobile]),::slotted(*[shown--sr--mobile]){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}}@media screen and (min-width: 768px) and (max-width: 1024px){:host([hidden--tablet]),::slotted([hidden--tablet]){display:none}:host([grow--tablet]){flex-grow:var(--grow--tablet-value)!important}:host([shrink--tablet]){flex-shrink:var(--shrink--tablet-value)!important}:host([basis--tablet]){flex-basis:var(--basis--tablet-value)!important}:host([align-self--tablet]){align-self:var(--align-self--tablet-value)!important}:host([col-span--tablet]){grid-column:span var(--col-span--tablet-value) / span var(--col-span--tablet-value)!important}:host([justify-self--tablet]){justify-self:var(--justify-self--tablet-value)!important}:host([order--tablet]),::slotted([order--tablet]){order:var(--order--tablet-value)!important}:host([shown--sr--tablet]),::slotted(*[shown--sr--tablet]){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}}@media screen and (min-width: 1025px){:host([shown--sr--laptop]),::slotted(*[shown--sr--laptop]){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}}@media screen and (min-width: 1025px){:host([hidden--laptop]),::slotted([hidden--laptop]){display:none!important}:host([grow--laptop]){flex-grow:var(--grow--laptop-value)!important}:host([shrink--laptop]){flex-shrink:var(--shrink--laptop-value)!important}:host([basis--laptop]){flex-basis:var(--basis--laptop-value)!important}:host([align-self--laptop]){align-self:var(--align-self--laptop-value)!important}:host([col-span--laptop]){grid-column:span var(--col-span--laptop-value) / span var(--col-span--laptop-value)!important}:host([justify-self--laptop]){justify-self:var(--justify-self--laptop-value)!important}:host([order--laptop]),::slotted([order--laptop]){order:var(--order--laptop-value)!important}}@media screen and (min-width: 1441px){:host([col-span--desktop]){grid-column:span var(--col-span--desktop-value) / span var(--col-span--desktop-value)!important}:host([justify-self--desktop]){justify-self:var(--justify-self--desktop-value)!important}:host([order--desktop]),::slotted([order--desktop]){order:var(--order--desktop-value)!important}:host([hidden--desktop]),::slotted([hidden--desktop]){display:none!important}:host([grow--desktop]){flex-grow:var(--grow--desktop-value)!important}:host([shrink--desktop]){flex-shrink:var(--shrink--desktop-value)!important}:host([basis--desktop]){flex-basis:var(--basis--desktop-value)!important}:host([align-self--desktop]){align-self:var(--align-self--desktop-value)!important}}", L = {};
7
7
  function N(i) {
8
8
  const t = document.createElement(i), s = Object.getPrototypeOf(t);
9
9
  return Object.getOwnPropertyNames(s);
10
10
  }
11
- function D(i) {
11
+ function M(i) {
12
12
  const t = document.createElement(i), s = Object.getPrototypeOf(t);
13
13
  return Object.getOwnPropertyNames(s).map(
14
14
  (e) => e.toLowerCase()
15
15
  );
16
16
  }
17
- const j = new CSSStyleSheet();
18
- j.replaceSync(M);
19
- const c = typeof import.meta < "u" && typeof x < "u" ? x : void 0, T = (c == null ? void 0 : c.VITE_COMPONENT_DEBUG) === "true" || (c == null ? void 0 : c.DEV) === !0;
20
- typeof window < "u" && (window.isComponentDebug = y);
21
- function y() {
22
- return T;
17
+ const S = new CSSStyleSheet();
18
+ S.replaceSync(C);
19
+ const D = typeof import.meta < "u" && typeof L < "u" && !1;
20
+ typeof window < "u" && (window.isComponentDebug = $);
21
+ function $() {
22
+ return D;
23
23
  }
24
- function E(i) {
25
- y() && console.error(i);
24
+ function V(i) {
26
25
  }
27
- var g, n, f, h, u, k, C;
28
- class U {
26
+ var c, n, g, h, u, m, x;
27
+ class R {
29
28
  constructor(t, s, e) {
30
- d(this, k);
31
- d(this, g);
29
+ d(this, m);
30
+ d(this, c);
32
31
  d(this, n);
33
- d(this, f);
32
+ d(this, g);
34
33
  d(this, h);
35
34
  d(this, u);
36
35
  p(this, h, !1), p(this, u, () => {
37
36
  this.setInteractiveState("hover");
38
37
  }), this.clearInteractiveState = () => {
39
38
  this.setInteractiveState(null);
40
- }, p(this, g, t), p(this, n, s), p(this, f, e);
39
+ }, p(this, c, t), p(this, n, s), p(this, g, e);
41
40
  }
42
41
  connect() {
43
42
  a(this, h) || (a(this, n).addEventListener(
@@ -70,8 +69,8 @@ class U {
70
69
  ), p(this, h, !1));
71
70
  }
72
71
  setInteractiveState(t) {
73
- const s = a(this, k, C);
74
- if (!a(this, f).call(this)) {
72
+ const s = a(this, m, x);
73
+ if (!a(this, g).call(this)) {
75
74
  s.forEach((e) => e.removeAttribute("interactive-state"));
76
75
  return;
77
76
  }
@@ -80,12 +79,12 @@ class U {
80
79
  });
81
80
  }
82
81
  }
83
- g = new WeakMap(), n = new WeakMap(), f = new WeakMap(), h = new WeakMap(), u = new WeakMap(), k = new WeakSet(), C = function() {
84
- return Array.from(a(this, g).querySelectorAll("*")).filter(
85
- O
82
+ c = new WeakMap(), n = new WeakMap(), g = new WeakMap(), h = new WeakMap(), u = new WeakMap(), m = new WeakSet(), x = function() {
83
+ return Array.from(a(this, c).querySelectorAll("*")).filter(
84
+ T
86
85
  );
87
86
  };
88
- function O(i) {
87
+ function T(i) {
89
88
  var s;
90
89
  if (i.hasAttribute("interactive-state"))
91
90
  return !0;
@@ -94,8 +93,8 @@ function O(i) {
94
93
  );
95
94
  return ((s = t == null ? void 0 : t.observedAttributes) == null ? void 0 : s.includes("interactive-state")) ?? !1;
96
95
  }
97
- typeof window < "u" && (window.isComponentDebug = y);
98
- class w extends HTMLElement {
96
+ typeof window < "u" && (window.isComponentDebug = $);
97
+ class v extends HTMLElement {
99
98
  static get observedAttributes() {
100
99
  return [
101
100
  "grow",
@@ -149,13 +148,13 @@ class w extends HTMLElement {
149
148
  }
150
149
  constructor(...t) {
151
150
  super(), this.shadowRoot || this.attachShadow({ mode: "open" }), this.shadowRoot.adoptedStyleSheets = [
152
- j,
151
+ S,
153
152
  ...t
154
153
  ];
155
154
  }
156
155
  attributeChangedCallback(t, s, e) {
157
156
  var o;
158
- if (w.observedAttributes.indexOf(t) !== -1)
157
+ if (v.observedAttributes.indexOf(t) !== -1)
159
158
  switch (t) {
160
159
  case "grow":
161
160
  case "grow--mobile":
@@ -183,7 +182,7 @@ class w extends HTMLElement {
183
182
  t,
184
183
  s,
185
184
  e,
186
- ((o = this.parentElement) == null ? void 0 : o.localName) === "px-grid" ? I : _
185
+ ((o = this.parentElement) == null ? void 0 : o.localName) === "px-grid" ? O : E
187
186
  );
188
187
  break;
189
188
  case "justify-self":
@@ -195,7 +194,7 @@ class w extends HTMLElement {
195
194
  t,
196
195
  s,
197
196
  e,
198
- P
197
+ I
199
198
  );
200
199
  break;
201
200
  case "col-span":
@@ -203,7 +202,7 @@ class w extends HTMLElement {
203
202
  case "col-span--tablet":
204
203
  case "col-span--laptop":
205
204
  case "col-span--desktop":
206
- this.updateProperties(t, s, e, G);
205
+ this.updateProperties(t, s, e, _);
207
206
  break;
208
207
  case "order":
209
208
  case "order--mobile":
@@ -215,9 +214,7 @@ class w extends HTMLElement {
215
214
  }
216
215
  }
217
216
  updateProperties(t, s, e, o) {
218
- o && (this.checkName(o, e) || E(
219
- `"${e}" is not an allowed ${t} value for ${this.tagName.toLowerCase()}. Allowed values are: "${o.join('", "')}".`
220
- ));
217
+ o && (this.checkName(o, e) || (`${e}${o}${this.tagName.toLowerCase()}`, void 0));
221
218
  const l = t.indexOf("--") > -1, b = l ? t.split("--")[0] : t;
222
219
  if (!l)
223
220
  this.style.setProperty(
@@ -228,12 +225,12 @@ class w extends HTMLElement {
228
225
  e
229
226
  );
230
227
  else {
231
- const m = t.split("--")[1];
228
+ const f = t.split("--")[1];
232
229
  this.style.setProperty(
233
- `--${b}--${m}-value`,
230
+ `--${b}--${f}-value`,
234
231
  s
235
232
  ), this.style.setProperty(
236
- `--${b}--${m}-value`,
233
+ `--${b}--${f}-value`,
237
234
  e
238
235
  );
239
236
  }
@@ -502,12 +499,12 @@ class w extends HTMLElement {
502
499
  this.setAttribute("order--desktop", t);
503
500
  }
504
501
  }
505
- const A = class A extends w {
502
+ const y = class y extends v {
506
503
  // nativeName: string;
507
504
  static get observedAttributes() {
508
505
  return [
509
506
  ...super.observedAttributes,
510
- ...D(this.nativeName)
507
+ ...M(this.nativeName)
511
508
  ];
512
509
  }
513
510
  attributeChangedCallback(t, s, e) {
@@ -548,39 +545,37 @@ const A = class A extends w {
548
545
  s ? this.setAttribute(t, "") : this.removeAttribute(t);
549
546
  }
550
547
  };
551
- A.accessorExclusions = [];
552
- let v = A;
553
- class V extends v {
548
+ y.accessorExclusions = [];
549
+ let k = y;
550
+ class z extends k {
554
551
  connectedCallback() {
555
552
  this.isInsideGridOrStack && (this.$el.style.display = "block", this.$el.style.height = "100%");
556
553
  }
557
554
  }
558
- const W = ["", "default", "none", "l"], _ = [
555
+ const W = ["", "default", "none", "l"], E = [
559
556
  "",
560
557
  "default",
561
558
  "auto",
562
559
  "flex-start",
563
- "start",
564
560
  "flex-end",
565
- "end",
566
561
  "center",
567
562
  "baseline",
568
563
  "stretch"
569
- ], I = [
564
+ ], O = [
570
565
  "",
571
566
  "default",
572
567
  "start",
573
568
  "end",
574
569
  "center",
575
570
  "stretch"
576
- ], P = [
571
+ ], I = [
577
572
  "",
578
573
  "default",
579
574
  "start",
580
575
  "end",
581
576
  "center",
582
577
  "stretch"
583
- ], G = [
578
+ ], _ = [
584
579
  "",
585
580
  "1",
586
581
  "2",
@@ -649,7 +644,7 @@ const W = ["", "default", "none", "l"], _ = [
649
644
  "state-hover",
650
645
  "state-active",
651
646
  "state-disabled"
652
- ], J = [
647
+ ], U = [
653
648
  "",
654
649
  "default",
655
650
  "inherit",
@@ -657,11 +652,11 @@ const W = ["", "default", "none", "l"], _ = [
657
652
  "title",
658
653
  "title-large",
659
654
  "subtitle"
660
- ], B = ["Xs", "S", "M", "L", "Xl"], K = [
655
+ ], P = ["Xs", "S", "M", "L", "Xl"], J = [
661
656
  "",
662
657
  "default",
663
- ...B.map((i) => i.toLowerCase())
664
- ], Q = ["", "default", "left", "center", "right"], Y = [
658
+ ...P.map((i) => i.toLowerCase())
659
+ ], K = ["", "default", "left", "center", "right"], Q = [
665
660
  "",
666
661
  "none",
667
662
  "3xs",
@@ -671,7 +666,7 @@ const W = ["", "default", "none", "l"], _ = [
671
666
  "m",
672
667
  "l",
673
668
  "xl"
674
- ], Z = ["", "none", "s", "m", "l"], tt = ["", "none", "main", "pill"], et = [
669
+ ], Y = ["", "none", "s", "m", "l"], Z = ["", "none", "main", "pill"], tt = [
675
670
  "none",
676
671
  "main",
677
672
  "brand",
@@ -682,7 +677,7 @@ const W = ["", "default", "none", "l"], _ = [
682
677
  "purpose-warning",
683
678
  "purpose-error",
684
679
  "purpose-unlimited"
685
- ], st = [
680
+ ], et = [
686
681
  "",
687
682
  "all",
688
683
  "top",
@@ -691,7 +686,7 @@ const W = ["", "default", "none", "l"], _ = [
691
686
  "left",
692
687
  "block",
693
688
  "inline"
694
- ], it = [
689
+ ], st = [
695
690
  "",
696
691
  "none",
697
692
  "surface-light",
@@ -719,7 +714,7 @@ const W = ["", "default", "none", "l"], _ = [
719
714
  "purpose-eco",
720
715
  "purpose-notification",
721
716
  "footer-sitemap"
722
- ], ot = ["", "cover", "contain", "default"], rt = ["", "none", "s", "m", "l", "xl"], at = [
717
+ ], it = ["", "cover", "contain", "default"], ot = ["", "none", "s", "m", "l", "xl"], rt = [
723
718
  "",
724
719
  "default",
725
720
  "title-4xl",
@@ -730,7 +725,7 @@ const W = ["", "default", "none", "l"], _ = [
730
725
  "title-m",
731
726
  "title-s",
732
727
  "subtitle"
733
- ], lt = [
728
+ ], at = [
734
729
  "",
735
730
  "purple-top-red",
736
731
  "purple-top-magenta",
@@ -780,7 +775,7 @@ const W = ["", "default", "none", "l"], _ = [
780
775
  "color-bottom-right-blue",
781
776
  "color-bottom-right-turquoise",
782
777
  "color-bottom-right-green"
783
- ], nt = [
778
+ ], lt = [
784
779
  "none",
785
780
  "2xs",
786
781
  "xs",
@@ -790,14 +785,14 @@ const W = ["", "default", "none", "l"], _ = [
790
785
  "heading-to-subtitle",
791
786
  "heading-to-content",
792
787
  "page-layout-between-sections"
793
- ], pt = [
788
+ ], nt = [
794
789
  "",
795
790
  "all",
796
791
  "top",
797
792
  "right",
798
793
  "bottom",
799
794
  "left"
800
- ], ht = [
795
+ ], pt = [
801
796
  "",
802
797
  "default",
803
798
  "xs",
@@ -806,20 +801,20 @@ const W = ["", "default", "none", "l"], _ = [
806
801
  "l",
807
802
  "xl"
808
803
  ];
809
- function ut(i) {
804
+ function ht(i) {
810
805
  const t = document.createElement("style");
811
806
  t.innerHTML = i, document.head.appendChild(t);
812
807
  }
813
- function bt(i) {
808
+ function ut(i) {
814
809
  return typeof i == "string" && (i === "false" || i === "0" || i === "null") || typeof i == "boolean" && !i;
815
810
  }
816
- function dt() {
811
+ function bt() {
817
812
  return window.matchMedia("only screen and (min-width: 768px)").matches ? "tablet" : window.matchMedia("only screen and (min-width: 1025px)").matches ? "laptop" : "mobile";
818
813
  }
819
- function ct(i, t) {
814
+ function dt(i, t) {
820
815
  return i.includes(t);
821
816
  }
822
- const R = [
817
+ const G = [
823
818
  "aria-label",
824
819
  "aria-labelledby",
825
820
  "aria-describedby",
@@ -854,24 +849,24 @@ const R = [
854
849
  "aria-busy",
855
850
  "aria-owns"
856
851
  ];
857
- function gt(i, t, s = !1) {
852
+ function ct(i, t, s = !1) {
858
853
  var e;
859
- if (R.forEach((o) => {
854
+ if (G.forEach((o) => {
860
855
  i.getAttribute(o) && (t.setAttribute(o, i.getAttribute(o)), i.removeAttribute(o));
861
856
  }), s && !i.getAttribute("aria-labelledby")) {
862
857
  const o = `px-${((e = t.localName) == null ? void 0 : e.toLowerCase()) ?? "component"}-${Math.random().toString(36).substring(2, 15)}`;
863
858
  t.setAttribute("id", o), i.setAttribute("aria-labelledby", o);
864
859
  }
865
860
  }
866
- function ft(i, t, s, e = "", o, l = i) {
867
- const b = new CSSStyleSheet(), m = s.reduce(
868
- (L, r) => L + `
861
+ function gt(i, t, s, e = "", o, l = i) {
862
+ const b = new CSSStyleSheet(), f = s.reduce(
863
+ (j, r) => j + `
869
864
  ${t(l, r)} {
870
865
  ${i}: var(--${e}-${r}-desktop);
871
866
  ${o ? `${o}:var(--${e}-${r}-desktop)` : ""}
872
867
  }
873
868
  /* Mobile only - max 767px */
874
- @media only screen and (max-width: 47.938rem) {
869
+ @media only screen and (max-width: 47.938em) {
875
870
  ${t(l, r)} {
876
871
  ${i}: var(--${e}-${r}-mobile);
877
872
  ${o ? `${o}: var(--${e}-${r}-mobile)` : ""}
@@ -879,37 +874,37 @@ function ft(i, t, s, e = "", o, l = i) {
879
874
  }
880
875
  ${t(l, r, "mobile")} {
881
876
  /* Mobile only - max 767px */
882
- @media only screen and (max-width: 47.938rem) {
877
+ @media only screen and (max-width: 47.938em) {
883
878
  ${i}: var(--${e}-${r}-mobile) !important;
884
879
  ${o ? `${o}: var(--${e}-${r}-mobile)` : ""}
885
880
  }
886
881
  }
887
882
  ${t(l, r, "tablet")} {
888
883
  /* Tablet - min 768px max 1024px */
889
- @media only screen and (min-width: 48rem) and (max-width: 64rem) {
884
+ @media only screen and (min-width: 48em) and (max-width: 64em) {
890
885
  ${i}: var(--${e}-${r}-desktop) !important;
891
886
  ${o ? `${o}: var(--${e}-${r}-desktop)` : ""}
892
887
  }
893
888
  }
894
889
  ${t(l, r, "laptop")} {
895
890
  /* Laptop - 1025px*/
896
- @media only screen and (min-width: 64.0625rem) {
891
+ @media only screen and (min-width: 64.0625em) {
897
892
  ${i}: var(--${e}-${r}-desktop) !important;
898
893
  ${o ? `${o}: var(--${e}-${r}-desktop)` : ""}
899
894
  }
900
895
  }
901
896
  ${t(l, r, "desktop")} {
902
897
  /* Desktop - 1025px*/
903
- @media only screen and (min-width: 64.0625rem) {
898
+ @media only screen and (min-width: 64.0625em) {
904
899
  ${i}: var(--${e}-${r}-desktop) !important;
905
900
  ${o ? `${o}: var(--${e}-${r}-desktop)` : ""}
906
901
  }
907
902
  }`,
908
903
  ""
909
904
  );
910
- return b.replaceSync(m), b;
905
+ return b.replaceSync(f), b;
911
906
  }
912
- class mt {
907
+ class ft {
913
908
  constructor(t, s, e, o) {
914
909
  this.component = t, this.attributeName = s, this.cssVariable = o, this.attributeNameMobile = `${this.attributeName}--mobile`, this.attributeNameTablet = `${this.attributeName}--tablet`, this.attributeNameLaptop = `${this.attributeName}--laptop`, this.attributeNameDesktop = `${this.attributeName}--desktop`, this._attributeValue = e, Object.defineProperty(
915
910
  this.component,
@@ -990,46 +985,46 @@ class mt {
990
985
  }
991
986
  }
992
987
  export {
993
- mt as AttributeBreakpointHandlerDelegate,
994
- v as PxElement,
995
- V as VerticallyExtendedElement,
996
- w as WithExtraAttributes,
997
- U as WrappedInteractiveStateController,
998
- R as accessibilityAttributes,
999
- ut as addGlobalStylesheet,
1000
- ht as assetContainerImgWidthValues,
1001
- it as backgroundColorValues,
1002
- ot as backgroundSizeValues,
1003
- et as borderColorValues,
1004
- tt as borderRadiusValues,
1005
- st as borderSideValues,
1006
- Z as borderValues,
1007
- rt as boxShadowValues,
1008
- ct as checkName,
988
+ ft as AttributeBreakpointHandlerDelegate,
989
+ k as PxElement,
990
+ z as VerticallyExtendedElement,
991
+ v as WithExtraAttributes,
992
+ R as WrappedInteractiveStateController,
993
+ G as accessibilityAttributes,
994
+ ht as addGlobalStylesheet,
995
+ pt as assetContainerImgWidthValues,
996
+ st as backgroundColorValues,
997
+ it as backgroundSizeValues,
998
+ tt as borderColorValues,
999
+ Z as borderRadiusValues,
1000
+ et as borderSideValues,
1001
+ Y as borderValues,
1002
+ ot as boxShadowValues,
1003
+ dt as checkName,
1009
1004
  F as colorValues,
1010
- I as cssGridAlignSelfValues,
1011
- G as cssGridColSpanValues,
1012
- P as cssGridJustifySelfValues,
1005
+ O as cssGridAlignSelfValues,
1006
+ _ as cssGridColSpanValues,
1007
+ I as cssGridJustifySelfValues,
1013
1008
  q as cssGridOrderValues,
1014
1009
  H as cssGridPlaceSelfValues,
1015
- ft as cssTokenBreakpoints,
1016
- _ as flexboxAlignSelfValues,
1010
+ gt as cssTokenBreakpoints,
1011
+ E as flexboxAlignSelfValues,
1017
1012
  X as fontsizeValues,
1018
- J as fontweightValues,
1019
- nt as gapValues,
1020
- D as getSupportedAttributeNames,
1013
+ U as fontweightValues,
1014
+ lt as gapValues,
1015
+ M as getSupportedAttributeNames,
1021
1016
  N as getSupportedPropertyNames,
1022
- dt as getViewportFormat,
1023
- lt as gradientValues,
1017
+ bt as getViewportFormat,
1018
+ at as gradientValues,
1024
1019
  W as gridGapValues,
1025
- at as headingValues,
1026
- B as iconSizeValues,
1027
- K as iconSizeValuesKC,
1028
- y as isComponentDebug,
1029
- bt as isFalsy,
1030
- E as log,
1031
- pt as noBorderRadiusValues,
1032
- Y as paddingValues,
1033
- Q as textalignValues,
1034
- gt as transferAccessibilityAttributes
1020
+ rt as headingValues,
1021
+ P as iconSizeValues,
1022
+ J as iconSizeValuesKC,
1023
+ $ as isComponentDebug,
1024
+ ut as isFalsy,
1025
+ V as log,
1026
+ nt as noBorderRadiusValues,
1027
+ Q as paddingValues,
1028
+ K as textalignValues,
1029
+ ct as transferAccessibilityAttributes
1035
1030
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proximus/lavender-common",
3
- "version": "1.4.9-beta.2",
3
+ "version": "1.4.9",
4
4
  "description": "",
5
5
  "main": "dist/index.es.js",
6
6
  "types": "dist/index.d.ts",