@akad/design-system 4.0.0 → 4.0.2

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.
@@ -177,7 +177,7 @@ function Sn() {
177
177
  if (ns) return K;
178
178
  ns = 1;
179
179
  var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, s = t ? Symbol.for("react.portal") : 60106, a = t ? Symbol.for("react.fragment") : 60107, n = t ? Symbol.for("react.strict_mode") : 60108, r = t ? Symbol.for("react.profiler") : 60114, i = t ? Symbol.for("react.provider") : 60109, o = t ? Symbol.for("react.context") : 60110, u = t ? Symbol.for("react.async_mode") : 60111, d = t ? Symbol.for("react.concurrent_mode") : 60111, h = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, k = t ? Symbol.for("react.suspense_list") : 60120, y = t ? Symbol.for("react.memo") : 60115, _ = t ? Symbol.for("react.lazy") : 60116, v = t ? Symbol.for("react.block") : 60121, g = t ? Symbol.for("react.fundamental") : 60117, x = t ? Symbol.for("react.responder") : 60118, O = t ? Symbol.for("react.scope") : 60119;
180
- function E(p) {
180
+ function w(p) {
181
181
  if (typeof p == "object" && p !== null) {
182
182
  var A = p.$$typeof;
183
183
  switch (A) {
@@ -208,35 +208,35 @@ function Sn() {
208
208
  }
209
209
  }
210
210
  function C(p) {
211
- return E(p) === d;
211
+ return w(p) === d;
212
212
  }
213
213
  return K.AsyncMode = u, K.ConcurrentMode = d, K.ContextConsumer = o, K.ContextProvider = i, K.Element = e, K.ForwardRef = h, K.Fragment = a, K.Lazy = _, K.Memo = y, K.Portal = s, K.Profiler = r, K.StrictMode = n, K.Suspense = f, K.isAsyncMode = function(p) {
214
- return C(p) || E(p) === u;
214
+ return C(p) || w(p) === u;
215
215
  }, K.isConcurrentMode = C, K.isContextConsumer = function(p) {
216
- return E(p) === o;
216
+ return w(p) === o;
217
217
  }, K.isContextProvider = function(p) {
218
- return E(p) === i;
218
+ return w(p) === i;
219
219
  }, K.isElement = function(p) {
220
220
  return typeof p == "object" && p !== null && p.$$typeof === e;
221
221
  }, K.isForwardRef = function(p) {
222
- return E(p) === h;
222
+ return w(p) === h;
223
223
  }, K.isFragment = function(p) {
224
- return E(p) === a;
224
+ return w(p) === a;
225
225
  }, K.isLazy = function(p) {
226
- return E(p) === _;
226
+ return w(p) === _;
227
227
  }, K.isMemo = function(p) {
228
- return E(p) === y;
228
+ return w(p) === y;
229
229
  }, K.isPortal = function(p) {
230
- return E(p) === s;
230
+ return w(p) === s;
231
231
  }, K.isProfiler = function(p) {
232
- return E(p) === r;
232
+ return w(p) === r;
233
233
  }, K.isStrictMode = function(p) {
234
- return E(p) === n;
234
+ return w(p) === n;
235
235
  }, K.isSuspense = function(p) {
236
- return E(p) === f;
236
+ return w(p) === f;
237
237
  }, K.isValidElementType = function(p) {
238
238
  return typeof p == "string" || typeof p == "function" || p === a || p === d || p === r || p === n || p === f || p === k || typeof p == "object" && p !== null && (p.$$typeof === _ || p.$$typeof === y || p.$$typeof === i || p.$$typeof === o || p.$$typeof === h || p.$$typeof === g || p.$$typeof === x || p.$$typeof === O || p.$$typeof === v);
239
- }, K.typeOf = E, K;
239
+ }, K.typeOf = w, K;
240
240
  }
241
241
  var G = {};
242
242
  /** @license React v16.13.1
@@ -251,7 +251,7 @@ var rs;
251
251
  function En() {
252
252
  return rs || (rs = 1, process.env.NODE_ENV !== "production" && function() {
253
253
  var t = typeof Symbol == "function" && Symbol.for, e = t ? Symbol.for("react.element") : 60103, s = t ? Symbol.for("react.portal") : 60106, a = t ? Symbol.for("react.fragment") : 60107, n = t ? Symbol.for("react.strict_mode") : 60108, r = t ? Symbol.for("react.profiler") : 60114, i = t ? Symbol.for("react.provider") : 60109, o = t ? Symbol.for("react.context") : 60110, u = t ? Symbol.for("react.async_mode") : 60111, d = t ? Symbol.for("react.concurrent_mode") : 60111, h = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, k = t ? Symbol.for("react.suspense_list") : 60120, y = t ? Symbol.for("react.memo") : 60115, _ = t ? Symbol.for("react.lazy") : 60116, v = t ? Symbol.for("react.block") : 60121, g = t ? Symbol.for("react.fundamental") : 60117, x = t ? Symbol.for("react.responder") : 60118, O = t ? Symbol.for("react.scope") : 60119;
254
- function E(S) {
254
+ function w(S) {
255
255
  return typeof S == "string" || typeof S == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
256
256
  S === a || S === d || S === r || S === n || S === f || S === k || typeof S == "object" && S !== null && (S.$$typeof === _ || S.$$typeof === y || S.$$typeof === i || S.$$typeof === o || S.$$typeof === h || S.$$typeof === g || S.$$typeof === x || S.$$typeof === O || S.$$typeof === v);
257
257
  }
@@ -294,10 +294,10 @@ function En() {
294
294
  function m(S) {
295
295
  return C(S) === d;
296
296
  }
297
- function w(S) {
297
+ function E(S) {
298
298
  return C(S) === o;
299
299
  }
300
- function M(S) {
300
+ function R(S) {
301
301
  return C(S) === i;
302
302
  }
303
303
  function V(S) {
@@ -327,7 +327,7 @@ function En() {
327
327
  function X(S) {
328
328
  return C(S) === f;
329
329
  }
330
- G.AsyncMode = p, G.ConcurrentMode = A, G.ContextConsumer = N, G.ContextProvider = q, G.Element = I, G.ForwardRef = te, G.Fragment = B, G.Lazy = z, G.Memo = Q, G.Portal = le, G.Profiler = _e, G.StrictMode = Z, G.Suspense = ue, G.isAsyncMode = Se, G.isConcurrentMode = m, G.isContextConsumer = w, G.isContextProvider = M, G.isElement = V, G.isForwardRef = $, G.isFragment = D, G.isLazy = L, G.isMemo = j, G.isPortal = H, G.isProfiler = W, G.isStrictMode = b, G.isSuspense = X, G.isValidElementType = E, G.typeOf = C;
330
+ G.AsyncMode = p, G.ConcurrentMode = A, G.ContextConsumer = N, G.ContextProvider = q, G.Element = I, G.ForwardRef = te, G.Fragment = B, G.Lazy = z, G.Memo = Q, G.Portal = le, G.Profiler = _e, G.StrictMode = Z, G.Suspense = ue, G.isAsyncMode = Se, G.isConcurrentMode = m, G.isContextConsumer = E, G.isContextProvider = R, G.isElement = V, G.isForwardRef = $, G.isFragment = D, G.isLazy = L, G.isMemo = j, G.isPortal = H, G.isProfiler = W, G.isStrictMode = b, G.isSuspense = X, G.isValidElementType = w, G.typeOf = C;
331
331
  }()), G;
332
332
  }
333
333
  var is;
@@ -465,9 +465,9 @@ function An() {
465
465
  return Rt = function(o, u) {
466
466
  var d = typeof Symbol == "function" && Symbol.iterator, h = "@@iterator";
467
467
  function f(m) {
468
- var w = m && (d && m[d] || m[h]);
469
- if (typeof w == "function")
470
- return w;
468
+ var E = m && (d && m[d] || m[h]);
469
+ if (typeof E == "function")
470
+ return E;
471
471
  }
472
472
  var k = "<<anonymous>>", y = {
473
473
  array: x("array"),
@@ -479,7 +479,7 @@ function An() {
479
479
  string: x("string"),
480
480
  symbol: x("symbol"),
481
481
  any: O(),
482
- arrayOf: E,
482
+ arrayOf: w,
483
483
  element: C(),
484
484
  elementType: p(),
485
485
  instanceOf: A,
@@ -490,16 +490,16 @@ function An() {
490
490
  shape: z,
491
491
  exact: Q
492
492
  };
493
- function _(m, w) {
494
- return m === w ? m !== 0 || 1 / m === 1 / w : m !== m && w !== w;
493
+ function _(m, E) {
494
+ return m === E ? m !== 0 || 1 / m === 1 / E : m !== m && E !== E;
495
495
  }
496
- function v(m, w) {
497
- this.message = m, this.data = w && typeof w == "object" ? w : {}, this.stack = "";
496
+ function v(m, E) {
497
+ this.message = m, this.data = E && typeof E == "object" ? E : {}, this.stack = "";
498
498
  }
499
499
  v.prototype = Error.prototype;
500
500
  function g(m) {
501
501
  if (process.env.NODE_ENV !== "production")
502
- var w = {}, M = 0;
502
+ var E = {}, R = 0;
503
503
  function V(D, L, j, H, W, b, X) {
504
504
  if (H = H || k, b = b || j, X !== s) {
505
505
  if (u) {
@@ -509,10 +509,10 @@ function An() {
509
509
  throw S.name = "Invariant Violation", S;
510
510
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
511
511
  var oe = H + ":" + j;
512
- !w[oe] && // Avoid spamming the console because they are often not actionable except for lib authors
513
- M < 3 && (r(
512
+ !E[oe] && // Avoid spamming the console because they are often not actionable except for lib authors
513
+ R < 3 && (r(
514
514
  "You are manually calling a React.PropTypes validation function for the `" + b + "` prop on `" + H + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
515
- ), w[oe] = !0, M++);
515
+ ), E[oe] = !0, R++);
516
516
  }
517
517
  }
518
518
  return L[j] == null ? D ? L[j] === null ? new v("The " + W + " `" + b + "` is marked as required " + ("in `" + H + "`, but its value is `null`.")) : new v("The " + W + " `" + b + "` is marked as required in " + ("`" + H + "`, but its value is `undefined`.")) : null : m(L, j, H, W, b);
@@ -521,8 +521,8 @@ function An() {
521
521
  return $.isRequired = V.bind(null, !0), $;
522
522
  }
523
523
  function x(m) {
524
- function w(M, V, $, D, L, j) {
525
- var H = M[V], W = Z(H);
524
+ function E(R, V, $, D, L, j) {
525
+ var H = R[V], W = Z(H);
526
526
  if (W !== m) {
527
527
  var b = ue(H);
528
528
  return new v(
@@ -532,16 +532,16 @@ function An() {
532
532
  }
533
533
  return null;
534
534
  }
535
- return g(w);
535
+ return g(E);
536
536
  }
537
537
  function O() {
538
538
  return g(i);
539
539
  }
540
- function E(m) {
541
- function w(M, V, $, D, L) {
540
+ function w(m) {
541
+ function E(R, V, $, D, L) {
542
542
  if (typeof m != "function")
543
543
  return new v("Property `" + L + "` of component `" + $ + "` has invalid PropType notation inside arrayOf.");
544
- var j = M[V];
544
+ var j = R[V];
545
545
  if (!Array.isArray(j)) {
546
546
  var H = Z(j);
547
547
  return new v("Invalid " + D + " `" + L + "` of type " + ("`" + H + "` supplied to `" + $ + "`, expected an array."));
@@ -553,11 +553,11 @@ function An() {
553
553
  }
554
554
  return null;
555
555
  }
556
- return g(w);
556
+ return g(E);
557
557
  }
558
558
  function C() {
559
- function m(w, M, V, $, D) {
560
- var L = w[M];
559
+ function m(E, R, V, $, D) {
560
+ var L = E[R];
561
561
  if (!o(L)) {
562
562
  var j = Z(L);
563
563
  return new v("Invalid " + $ + " `" + D + "` of type " + ("`" + j + "` supplied to `" + V + "`, expected a single ReactElement."));
@@ -567,8 +567,8 @@ function An() {
567
567
  return g(m);
568
568
  }
569
569
  function p() {
570
- function m(w, M, V, $, D) {
571
- var L = w[M];
570
+ function m(E, R, V, $, D) {
571
+ var L = E[R];
572
572
  if (!t.isValidElementType(L)) {
573
573
  var j = Z(L);
574
574
  return new v("Invalid " + $ + " `" + D + "` of type " + ("`" + j + "` supplied to `" + V + "`, expected a single ReactElement type."));
@@ -578,22 +578,22 @@ function An() {
578
578
  return g(m);
579
579
  }
580
580
  function A(m) {
581
- function w(M, V, $, D, L) {
582
- if (!(M[V] instanceof m)) {
583
- var j = m.name || k, H = Se(M[V]);
581
+ function E(R, V, $, D, L) {
582
+ if (!(R[V] instanceof m)) {
583
+ var j = m.name || k, H = Se(R[V]);
584
584
  return new v("Invalid " + D + " `" + L + "` of type " + ("`" + H + "` supplied to `" + $ + "`, expected ") + ("instance of `" + j + "`."));
585
585
  }
586
586
  return null;
587
587
  }
588
- return g(w);
588
+ return g(E);
589
589
  }
590
590
  function N(m) {
591
591
  if (!Array.isArray(m))
592
592
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? r(
593
593
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
594
594
  ) : r("Invalid argument supplied to oneOf, expected an array.")), i;
595
- function w(M, V, $, D, L) {
596
- for (var j = M[V], H = 0; H < m.length; H++)
595
+ function E(R, V, $, D, L) {
596
+ for (var j = R[V], H = 0; H < m.length; H++)
597
597
  if (_(j, m[H]))
598
598
  return null;
599
599
  var W = JSON.stringify(m, function(X, S) {
@@ -602,13 +602,13 @@ function An() {
602
602
  });
603
603
  return new v("Invalid " + D + " `" + L + "` of value `" + String(j) + "` " + ("supplied to `" + $ + "`, expected one of " + W + "."));
604
604
  }
605
- return g(w);
605
+ return g(E);
606
606
  }
607
607
  function q(m) {
608
- function w(M, V, $, D, L) {
608
+ function E(R, V, $, D, L) {
609
609
  if (typeof m != "function")
610
610
  return new v("Property `" + L + "` of component `" + $ + "` has invalid PropType notation inside objectOf.");
611
- var j = M[V], H = Z(j);
611
+ var j = R[V], H = Z(j);
612
612
  if (H !== "object")
613
613
  return new v("Invalid " + D + " `" + L + "` of type " + ("`" + H + "` supplied to `" + $ + "`, expected an object."));
614
614
  for (var W in j)
@@ -619,16 +619,16 @@ function An() {
619
619
  }
620
620
  return null;
621
621
  }
622
- return g(w);
622
+ return g(E);
623
623
  }
624
624
  function I(m) {
625
625
  if (!Array.isArray(m))
626
626
  return process.env.NODE_ENV !== "production" && r("Invalid argument supplied to oneOfType, expected an instance of array."), i;
627
- for (var w = 0; w < m.length; w++) {
628
- var M = m[w];
629
- if (typeof M != "function")
627
+ for (var E = 0; E < m.length; E++) {
628
+ var R = m[E];
629
+ if (typeof R != "function")
630
630
  return r(
631
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + De(M) + " at index " + w + "."
631
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + De(R) + " at index " + E + "."
632
632
  ), i;
633
633
  }
634
634
  function V($, D, L, j, H) {
@@ -644,19 +644,19 @@ function An() {
644
644
  return g(V);
645
645
  }
646
646
  function te() {
647
- function m(w, M, V, $, D) {
648
- return le(w[M]) ? null : new v("Invalid " + $ + " `" + D + "` supplied to " + ("`" + V + "`, expected a ReactNode."));
647
+ function m(E, R, V, $, D) {
648
+ return le(E[R]) ? null : new v("Invalid " + $ + " `" + D + "` supplied to " + ("`" + V + "`, expected a ReactNode."));
649
649
  }
650
650
  return g(m);
651
651
  }
652
- function B(m, w, M, V, $) {
652
+ function B(m, E, R, V, $) {
653
653
  return new v(
654
- (m || "React class") + ": " + w + " type `" + M + "." + V + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + $ + "`."
654
+ (m || "React class") + ": " + E + " type `" + R + "." + V + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + $ + "`."
655
655
  );
656
656
  }
657
657
  function z(m) {
658
- function w(M, V, $, D, L) {
659
- var j = M[V], H = Z(j);
658
+ function E(R, V, $, D, L) {
659
+ var j = R[V], H = Z(j);
660
660
  if (H !== "object")
661
661
  return new v("Invalid " + D + " `" + L + "` of type `" + H + "` " + ("supplied to `" + $ + "`, expected `object`."));
662
662
  for (var W in m) {
@@ -669,21 +669,21 @@ function An() {
669
669
  }
670
670
  return null;
671
671
  }
672
- return g(w);
672
+ return g(E);
673
673
  }
674
674
  function Q(m) {
675
- function w(M, V, $, D, L) {
676
- var j = M[V], H = Z(j);
675
+ function E(R, V, $, D, L) {
676
+ var j = R[V], H = Z(j);
677
677
  if (H !== "object")
678
678
  return new v("Invalid " + D + " `" + L + "` of type `" + H + "` " + ("supplied to `" + $ + "`, expected `object`."));
679
- var W = e({}, M[V], m);
679
+ var W = e({}, R[V], m);
680
680
  for (var b in W) {
681
681
  var X = m[b];
682
682
  if (a(m, b) && typeof X != "function")
683
683
  return B($, D, L, b, ue(X));
684
684
  if (!X)
685
685
  return new v(
686
- "Invalid " + D + " `" + L + "` key `" + b + "` supplied to `" + $ + "`.\nBad object: " + JSON.stringify(M[V], null, " ") + `
686
+ "Invalid " + D + " `" + L + "` key `" + b + "` supplied to `" + $ + "`.\nBad object: " + JSON.stringify(R[V], null, " ") + `
687
687
  Valid keys: ` + JSON.stringify(Object.keys(m), null, " ")
688
688
  );
689
689
  var S = X(j, b, $, D, L + "." + b, s);
@@ -692,7 +692,7 @@ Valid keys: ` + JSON.stringify(Object.keys(m), null, " ")
692
692
  }
693
693
  return null;
694
694
  }
695
- return g(w);
695
+ return g(E);
696
696
  }
697
697
  function le(m) {
698
698
  switch (typeof m) {
@@ -707,15 +707,15 @@ Valid keys: ` + JSON.stringify(Object.keys(m), null, " ")
707
707
  return m.every(le);
708
708
  if (m === null || o(m))
709
709
  return !0;
710
- var w = f(m);
711
- if (w) {
712
- var M = w.call(m), V;
713
- if (w !== m.entries) {
714
- for (; !(V = M.next()).done; )
710
+ var E = f(m);
711
+ if (E) {
712
+ var R = E.call(m), V;
713
+ if (E !== m.entries) {
714
+ for (; !(V = R.next()).done; )
715
715
  if (!le(V.value))
716
716
  return !1;
717
717
  } else
718
- for (; !(V = M.next()).done; ) {
718
+ for (; !(V = R.next()).done; ) {
719
719
  var $ = V.value;
720
720
  if ($ && !le($[1]))
721
721
  return !1;
@@ -727,37 +727,37 @@ Valid keys: ` + JSON.stringify(Object.keys(m), null, " ")
727
727
  return !1;
728
728
  }
729
729
  }
730
- function _e(m, w) {
731
- return m === "symbol" ? !0 : w ? w["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && w instanceof Symbol : !1;
730
+ function _e(m, E) {
731
+ return m === "symbol" ? !0 : E ? E["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && E instanceof Symbol : !1;
732
732
  }
733
733
  function Z(m) {
734
- var w = typeof m;
735
- return Array.isArray(m) ? "array" : m instanceof RegExp ? "object" : _e(w, m) ? "symbol" : w;
734
+ var E = typeof m;
735
+ return Array.isArray(m) ? "array" : m instanceof RegExp ? "object" : _e(E, m) ? "symbol" : E;
736
736
  }
737
737
  function ue(m) {
738
738
  if (typeof m > "u" || m === null)
739
739
  return "" + m;
740
- var w = Z(m);
741
- if (w === "object") {
740
+ var E = Z(m);
741
+ if (E === "object") {
742
742
  if (m instanceof Date)
743
743
  return "date";
744
744
  if (m instanceof RegExp)
745
745
  return "regexp";
746
746
  }
747
- return w;
747
+ return E;
748
748
  }
749
749
  function De(m) {
750
- var w = ue(m);
751
- switch (w) {
750
+ var E = ue(m);
751
+ switch (E) {
752
752
  case "array":
753
753
  case "object":
754
- return "an " + w;
754
+ return "an " + E;
755
755
  case "boolean":
756
756
  case "date":
757
757
  case "regexp":
758
- return "a " + w;
758
+ return "a " + E;
759
759
  default:
760
- return w;
760
+ return E;
761
761
  }
762
762
  }
763
763
  function Se(m) {
@@ -1000,7 +1000,7 @@ const _t = ({
1000
1000
  fullSize: y = J.props.fullSize.default,
1001
1001
  trackingData: _
1002
1002
  }) => {
1003
- const v = a && J.props.size.options.find((q) => q === a) ? `${J.class}--${a}` : `${J.class}__${J.props.size.default}`, g = n && `${J.class}--disabled`, x = `${J.class}__${h}--${d}`, O = u && `${J.class}--elevation-${u}`, E = r && `${J.class}--with-icon`, C = y ? `${J.class}--full-size` : "", p = k === "right" ? `${J.class}__icon` : `${J.class}__icon--left`, A = k === "right" ? `${J.class}__text` : `${J.class}__text--reversed`, N = (q) => {
1003
+ const v = a && J.props.size.options.find((q) => q === a) ? `${J.class}--${a}` : `${J.class}__${J.props.size.default}`, g = n && `${J.class}--disabled`, x = `${J.class}__${h}--${d}`, O = u && `${J.class}--elevation-${u}`, w = r && `${J.class}--with-icon`, C = y ? `${J.class}--full-size` : "", p = k === "right" ? `${J.class}__icon` : `${J.class}__icon--left`, A = k === "right" ? `${J.class}__text` : `${J.class}__text--reversed`, N = (q) => {
1004
1004
  var I, te, B, z;
1005
1005
  _ && kn({
1006
1006
  elementType: Qt.Button,
@@ -1023,7 +1023,7 @@ const _t = ({
1023
1023
  v,
1024
1024
  x,
1025
1025
  O,
1026
- E,
1026
+ w,
1027
1027
  e
1028
1028
  ].filter((q) => q).join(" "),
1029
1029
  "data-testid": o,
@@ -1228,7 +1228,7 @@ const ve = {
1228
1228
  image: y ? "check_box" : "check_box_outline_blank",
1229
1229
  class: y ? `${ve.class}__icon--checked` : `${ve.class}__icon--unchecked`
1230
1230
  }, g = o && `${ve.class}--disabled`, x = (O) => {
1231
- o || (_((E) => !E), d && d(O));
1231
+ o || (_((w) => !w), d && d(O));
1232
1232
  };
1233
1233
  return ae(() => {
1234
1234
  f && _(i);
@@ -1531,25 +1531,25 @@ class Bn {
1531
1531
  this.oldSelection.end === this.oldSelection.start ? T.RIGHT : T.LEFT;
1532
1532
  }
1533
1533
  }
1534
- function R(t, e) {
1535
- return new R.InputMask(t, e);
1534
+ function M(t, e) {
1535
+ return new M.InputMask(t, e);
1536
1536
  }
1537
1537
  function Xs(t) {
1538
1538
  if (t == null) throw new Error("mask property should be defined");
1539
- return t instanceof RegExp ? R.MaskedRegExp : Ue(t) ? R.MaskedPattern : t === Date ? R.MaskedDate : t === Number ? R.MaskedNumber : Array.isArray(t) || t === Array ? R.MaskedDynamic : R.Masked && t.prototype instanceof R.Masked ? t : R.Masked && t instanceof R.Masked ? t.constructor : t instanceof Function ? R.MaskedFunction : (console.warn("Mask not found for mask", t), R.Masked);
1539
+ return t instanceof RegExp ? M.MaskedRegExp : Ue(t) ? M.MaskedPattern : t === Date ? M.MaskedDate : t === Number ? M.MaskedNumber : Array.isArray(t) || t === Array ? M.MaskedDynamic : M.Masked && t.prototype instanceof M.Masked ? t : M.Masked && t instanceof M.Masked ? t.constructor : t instanceof Function ? M.MaskedFunction : (console.warn("Mask not found for mask", t), M.Masked);
1540
1540
  }
1541
1541
  function ot(t) {
1542
1542
  if (!t) throw new Error("Options in not defined");
1543
- if (R.Masked) {
1544
- if (t.prototype instanceof R.Masked) return {
1543
+ if (M.Masked) {
1544
+ if (t.prototype instanceof M.Masked) return {
1545
1545
  mask: t
1546
1546
  };
1547
1547
  const {
1548
1548
  mask: e = void 0,
1549
1549
  ...s
1550
- } = t instanceof R.Masked ? {
1550
+ } = t instanceof M.Masked ? {
1551
1551
  mask: t
1552
- } : fs(t) && t.mask instanceof R.Masked ? t : {};
1552
+ } : fs(t) && t.mask instanceof M.Masked ? t : {};
1553
1553
  if (e) {
1554
1554
  const a = e.mask;
1555
1555
  return {
@@ -1567,12 +1567,12 @@ function ot(t) {
1567
1567
  };
1568
1568
  }
1569
1569
  function Pe(t) {
1570
- if (R.Masked && t instanceof R.Masked) return t;
1570
+ if (M.Masked && t instanceof M.Masked) return t;
1571
1571
  const e = ot(t), s = Xs(e.mask);
1572
1572
  if (!s) throw new Error("Masked class is not found for provided mask " + e.mask + ", appropriate module needs to be imported manually before creating mask.");
1573
1573
  return e.mask === s && delete e.mask, e._mask && (e.mask = e._mask, delete e._mask), new s(e);
1574
1574
  }
1575
- R.createMask = Pe;
1575
+ M.createMask = Pe;
1576
1576
  class es {
1577
1577
  /** */
1578
1578
  /** */
@@ -1611,7 +1611,7 @@ class es {
1611
1611
  /** */
1612
1612
  /** */
1613
1613
  }
1614
- R.MaskElement = es;
1614
+ M.MaskElement = es;
1615
1615
  const gs = 90, Rn = 89;
1616
1616
  class Ct extends es {
1617
1617
  /** HTMLElement to use mask on */
@@ -1654,7 +1654,7 @@ class Ct extends es {
1654
1654
  this.input.removeEventListener("keydown", this._onKeydown), this.input.removeEventListener("input", this._onInput), this.input.removeEventListener("beforeinput", this._onBeforeinput), this.input.removeEventListener("compositionend", this._onCompositionEnd), this.input.removeEventListener("drop", this._handlers.drop), this.input.removeEventListener("click", this._handlers.click), this.input.removeEventListener("focus", this._handlers.focus), this.input.removeEventListener("blur", this._handlers.commit), this._handlers = {};
1655
1655
  }
1656
1656
  }
1657
- R.HTMLMaskElement = Ct;
1657
+ M.HTMLMaskElement = Ct;
1658
1658
  class Mn extends Ct {
1659
1659
  /** InputElement to use mask on */
1660
1660
  constructor(e) {
@@ -1679,7 +1679,7 @@ class Mn extends Ct {
1679
1679
  this.input.value = e;
1680
1680
  }
1681
1681
  }
1682
- R.HTMLMaskElement = Ct;
1682
+ M.HTMLMaskElement = Ct;
1683
1683
  class Ys extends Ct {
1684
1684
  /** Returns HTMLElement selection start */
1685
1685
  get _unsafeSelectionStart() {
@@ -1707,7 +1707,7 @@ class Ys extends Ct {
1707
1707
  this.input.textContent = e;
1708
1708
  }
1709
1709
  }
1710
- R.HTMLContenteditableMaskElement = Ys;
1710
+ M.HTMLContenteditableMaskElement = Ys;
1711
1711
  class Dt {
1712
1712
  constructor() {
1713
1713
  this.states = [], this.currentIndex = 0;
@@ -1753,13 +1753,13 @@ class Vn {
1753
1753
  }
1754
1754
  set mask(e) {
1755
1755
  if (this.maskEquals(e)) return;
1756
- if (!(e instanceof R.Masked) && this.masked.constructor === Xs(e)) {
1756
+ if (!(e instanceof M.Masked) && this.masked.constructor === Xs(e)) {
1757
1757
  this.masked.updateOptions({
1758
1758
  mask: e
1759
1759
  });
1760
1760
  return;
1761
1761
  }
1762
- const s = e instanceof R.Masked ? e : Pe({
1762
+ const s = e instanceof M.Masked ? e : Pe({
1763
1763
  mask: e
1764
1764
  });
1765
1765
  s.unmaskedValue = this.masked.unmaskedValue, this.masked = s;
@@ -1944,7 +1944,7 @@ class Vn {
1944
1944
  this._unbindEvents(), this._listeners.length = 0, delete this.el;
1945
1945
  }
1946
1946
  }
1947
- R.InputMask = Vn;
1947
+ M.InputMask = Vn;
1948
1948
  class P {
1949
1949
  /** Inserted symbols */
1950
1950
  /** Additional offset if any changes occurred before tail */
@@ -1976,7 +1976,7 @@ class P {
1976
1976
  return this.inserted === e.inserted && this.tailShift === e.tailShift && this.rawInserted === e.rawInserted && this.skip === e.skip;
1977
1977
  }
1978
1978
  }
1979
- R.ChangeDetails = P;
1979
+ M.ChangeDetails = P;
1980
1980
  class Re {
1981
1981
  /** Tail value as string */
1982
1982
  /** Tail start position */
@@ -2260,7 +2260,7 @@ ge.DEFAULTS = {
2260
2260
  skipInvalid: !0
2261
2261
  };
2262
2262
  ge.EMPTY_VALUES = [void 0, null, ""];
2263
- R.Masked = ge;
2263
+ M.Masked = ge;
2264
2264
  class Ye {
2265
2265
  /** */
2266
2266
  constructor(e, s) {
@@ -2287,7 +2287,7 @@ class Ye {
2287
2287
  }
2288
2288
  }
2289
2289
  appendTo(e) {
2290
- if (!(e instanceof R.MaskedPattern))
2290
+ if (!(e instanceof M.MaskedPattern))
2291
2291
  return new Re(this.toString()).appendTo(e);
2292
2292
  const s = new P();
2293
2293
  for (let a = 0; a < this.chunks.length; ++a) {
@@ -2690,7 +2690,7 @@ class jn extends ge {
2690
2690
  s && (e.validate = (a) => a.search(s) >= 0), super._update(e);
2691
2691
  }
2692
2692
  }
2693
- R.MaskedRegExp = jn;
2693
+ M.MaskedRegExp = jn;
2694
2694
  class me extends ge {
2695
2695
  /** */
2696
2696
  /** */
@@ -2740,7 +2740,7 @@ class me extends ge {
2740
2740
  ..._,
2741
2741
  repeat: y,
2742
2742
  parent: this
2743
- }, g = y != null ? new R.RepeatBlock(
2743
+ }, g = y != null ? new M.RepeatBlock(
2744
2744
  v
2745
2745
  /* TODO */
2746
2746
  ) : Pe(v);
@@ -2999,7 +2999,7 @@ me.STOP_CHAR = "`";
2999
2999
  me.ESCAPE_CHAR = "\\";
3000
3000
  me.InputDefinition = Et;
3001
3001
  me.FixedDefinition = Ks;
3002
- R.MaskedPattern = me;
3002
+ M.MaskedPattern = me;
3003
3003
  class mt extends me {
3004
3004
  /**
3005
3005
  Optionally sets max length of pattern.
@@ -3067,7 +3067,7 @@ class mt extends me {
3067
3067
  return s;
3068
3068
  }
3069
3069
  }
3070
- R.MaskedRange = mt;
3070
+ M.MaskedRange = mt;
3071
3071
  const Pn = "d{.}`m{.}`Y";
3072
3072
  class je extends me {
3073
3073
  static extractPatternOptions(e) {
@@ -3172,7 +3172,7 @@ je.DEFAULTS = {
3172
3172
  return new Date(n, a - 1, s);
3173
3173
  }
3174
3174
  };
3175
- R.MaskedDate = je;
3175
+ M.MaskedDate = je;
3176
3176
  class Tt extends ge {
3177
3177
  constructor(e) {
3178
3178
  super({
@@ -3386,7 +3386,7 @@ Tt.DEFAULTS = {
3386
3386
  return r.sort((i, o) => o.weight - i.weight || o.totalInputPositions - i.totalInputPositions), e.compiledMasks[r[0].index];
3387
3387
  }
3388
3388
  };
3389
- R.MaskedDynamic = Tt;
3389
+ M.MaskedDynamic = Tt;
3390
3390
  class Ft extends me {
3391
3391
  constructor(e) {
3392
3392
  super({
@@ -3443,7 +3443,7 @@ Ft.DEFAULTS = {
3443
3443
  ...me.DEFAULTS,
3444
3444
  matchValue: (t, e, s) => t.indexOf(e, s) === s
3445
3445
  };
3446
- R.MaskedEnum = Ft;
3446
+ M.MaskedEnum = Ft;
3447
3447
  class qn extends ge {
3448
3448
  /** */
3449
3449
  /** Enable characters overwriting */
@@ -3460,7 +3460,7 @@ class qn extends ge {
3460
3460
  });
3461
3461
  }
3462
3462
  }
3463
- R.MaskedFunction = qn;
3463
+ M.MaskedFunction = qn;
3464
3464
  var Gs;
3465
3465
  class Ae extends ge {
3466
3466
  /** Single char */
@@ -3665,7 +3665,7 @@ Ae.DEFAULTS = {
3665
3665
  maximumFractionDigits: 20
3666
3666
  })
3667
3667
  };
3668
- R.MaskedNumber = Ae;
3668
+ M.MaskedNumber = Ae;
3669
3669
  const Wt = {
3670
3670
  MASKED: "value",
3671
3671
  UNMASKED: "unmaskedValue",
@@ -3679,9 +3679,9 @@ function Qs(t, e, s) {
3679
3679
  function Un(t, e, s, a) {
3680
3680
  return Qs(e, s, a)(t);
3681
3681
  }
3682
- R.PIPE_TYPE = Wt;
3683
- R.createPipe = Qs;
3684
- R.pipe = Un;
3682
+ M.PIPE_TYPE = Wt;
3683
+ M.createPipe = Qs;
3684
+ M.pipe = Un;
3685
3685
  class zn extends me {
3686
3686
  get repeatFrom() {
3687
3687
  var e;
@@ -3775,14 +3775,14 @@ class zn extends me {
3775
3775
  this._blocks.length = e._blocks.length, this.mask = this.mask.slice(0, this._blocks.length), super.state = e;
3776
3776
  }
3777
3777
  }
3778
- R.RepeatBlock = zn;
3778
+ M.RepeatBlock = zn;
3779
3779
  try {
3780
- globalThis.IMask = R;
3780
+ globalThis.IMask = M;
3781
3781
  } catch {
3782
3782
  }
3783
3783
  const Zs = {
3784
3784
  // common
3785
- mask: l.oneOfType([l.array, l.func, l.string, l.instanceOf(RegExp), l.oneOf([Date, Number, R.Masked]), l.instanceOf(R.Masked)]),
3785
+ mask: l.oneOfType([l.array, l.func, l.string, l.instanceOf(RegExp), l.oneOf([Date, Number, M.Masked]), l.instanceOf(M.Masked)]),
3786
3786
  value: l.any,
3787
3787
  unmask: l.oneOfType([l.bool, l.oneOf(["typed"])]),
3788
3788
  prepare: l.func,
@@ -3853,7 +3853,7 @@ function Xn(t) {
3853
3853
  this.element = r, this.props.inputRef && (Object.prototype.hasOwnProperty.call(this.props.inputRef, "current") ? this.props.inputRef.current = r : this.props.inputRef(r));
3854
3854
  }
3855
3855
  initMask(r) {
3856
- r === void 0 && (r = this._extractMaskOptionsFromProps(this.props)), this.maskRef = R(this.element, r).on("accept", this._onAccept.bind(this)).on("complete", this._onComplete.bind(this)), "value" in this.props && this.props.value !== void 0 && (this.maskValue = this.props.value);
3856
+ r === void 0 && (r = this._extractMaskOptionsFromProps(this.props)), this.maskRef = M(this.element, r).on("accept", this._onAccept.bind(this)).on("complete", this._onComplete.bind(this)), "value" in this.props && this.props.value !== void 0 && (this.maskValue = this.props.value);
3857
3857
  }
3858
3858
  destroyMask() {
3859
3859
  this.maskRef && (this.maskRef.destroy(), delete this.maskRef);
@@ -3931,7 +3931,7 @@ function Gn(t, e) {
3931
3931
  unmaskedValue: p.unmaskedValue,
3932
3932
  typedValue: p.typedValue
3933
3933
  }), g(p.typedValue), _(p.unmaskedValue), k(p.value));
3934
- }, []), E = Ce((p) => {
3934
+ }, []), w = Ce((p) => {
3935
3935
  const A = u.current;
3936
3936
  A && (O(), s == null || s(A.value, A, p));
3937
3937
  }, [s]), C = Ce((p) => u.current && (a == null ? void 0 : a(u.current.value, u.current, p)), [a]);
@@ -3940,31 +3940,31 @@ function Gn(t, e) {
3940
3940
  value: p,
3941
3941
  ...A
3942
3942
  } = d, N = u.current;
3943
- !N || f === void 0 || (p !== f && (N.value = f, N.value !== f && E()), h(A));
3943
+ !N || f === void 0 || (p !== f && (N.value = f, N.value !== f && w()), h(A));
3944
3944
  }, [f]), ae(() => {
3945
3945
  const {
3946
3946
  unmaskedValue: p,
3947
3947
  ...A
3948
3948
  } = d, N = u.current;
3949
- !N || y === void 0 || (p !== y && (N.unmaskedValue = y, N.unmaskedValue !== y && E()), h(A));
3949
+ !N || y === void 0 || (p !== y && (N.unmaskedValue = y, N.unmaskedValue !== y && w()), h(A));
3950
3950
  }, [y]), ae(() => {
3951
3951
  const {
3952
3952
  typedValue: p,
3953
3953
  ...A
3954
3954
  } = d, N = u.current;
3955
- !N || v === void 0 || (p !== v && (N.typedValue = v, N.masked.typedValueEquals(v) || E()), h(A));
3955
+ !N || v === void 0 || (p !== v && (N.typedValue = v, N.masked.typedValueEquals(v) || w()), h(A));
3956
3956
  }, [v]), ae(() => {
3957
3957
  const p = n.current;
3958
3958
  if (!p || !(t != null && t.mask)) return x();
3959
3959
  const A = u.current;
3960
- A ? A == null || A.updateOptions(t) : p && t != null && t.mask && (u.current = R(p, t), O(), r !== void 0 && k(r), i !== void 0 && _(i), o !== void 0 && g(o));
3961
- }, [t, x, E]), ae(() => {
3960
+ A ? A == null || A.updateOptions(t) : p && t != null && t.mask && (u.current = M(p, t), O(), r !== void 0 && k(r), i !== void 0 && _(i), o !== void 0 && g(o));
3961
+ }, [t, x, w]), ae(() => {
3962
3962
  if (!u.current) return;
3963
3963
  const p = u.current;
3964
- return p.on("accept", E), p.on("complete", C), () => {
3965
- p.off("accept", E), p.off("complete", C);
3964
+ return p.on("accept", w), p.on("complete", C), () => {
3965
+ p.off("accept", w), p.off("complete", C);
3966
3966
  };
3967
- }, [E, C]), ae(() => x, [x]), {
3967
+ }, [w, C]), ae(() => x, [x]), {
3968
3968
  ref: n,
3969
3969
  maskRef: u,
3970
3970
  value: f,
@@ -4271,7 +4271,7 @@ const ut = be.forwardRef(
4271
4271
  hasFeedback: g = ne.props.hasFeedback.default,
4272
4272
  noMargin: x = ne.props.noMargin.default,
4273
4273
  disabled: O = ne.props.disabled.default,
4274
- autoFocus: E,
4274
+ autoFocus: w,
4275
4275
  className: C,
4276
4276
  mask: p,
4277
4277
  onChangeHandler: A = ne.props.onChangeHandler.default,
@@ -4305,9 +4305,9 @@ const ut = be.forwardRef(
4305
4305
  }
4306
4306
  ), m = (b) => {
4307
4307
  A && !_e && A(b);
4308
- }, w = (b) => {
4308
+ }, E = (b) => {
4309
4309
  q && q(b);
4310
- }, M = (b) => {
4310
+ }, R = (b) => {
4311
4311
  z(!1), N && N(b);
4312
4312
  }, V = (b) => {
4313
4313
  z(!0), I && I(b);
@@ -4330,7 +4330,7 @@ const ut = be.forwardRef(
4330
4330
  /* @__PURE__ */ c(
4331
4331
  "input",
4332
4332
  {
4333
- autoFocus: E,
4333
+ autoFocus: w,
4334
4334
  className: "ds-input__input",
4335
4335
  "data-testid": e,
4336
4336
  disabled: O,
@@ -4338,11 +4338,11 @@ const ut = be.forwardRef(
4338
4338
  max: d,
4339
4339
  min: u,
4340
4340
  name: t,
4341
- onBlur: M,
4341
+ onBlur: R,
4342
4342
  onChange: m,
4343
4343
  onFocus: V,
4344
4344
  onInput: m,
4345
- onKeyDown: w,
4345
+ onKeyDown: E,
4346
4346
  placeholder: H(),
4347
4347
  ref: De,
4348
4348
  type: D,
@@ -4976,7 +4976,7 @@ const Ee = {
4976
4976
  const y = wt(), _ = a ?? `${Ee.class}-${y.replace(/:/g, "")}`, v = e !== void 0, g = pe(
4977
4977
  () => t.findIndex((B) => !B.disabled),
4978
4978
  [t]
4979
- ), x = pe(() => v ? e : s !== void 0 ? s : g >= 0 ? t[g].value : void 0, [s, g, v, t, e]), [O, E] = U(
4979
+ ), x = pe(() => v ? e : s !== void 0 ? s : g >= 0 ? t[g].value : void 0, [s, g, v, t, e]), [O, w] = U(
4980
4980
  x
4981
4981
  ), C = v ? e : O, p = Ke([]);
4982
4982
  ae(() => {
@@ -4996,7 +4996,7 @@ const Ee = {
4996
4996
  [t]
4997
4997
  ), q = Ce(
4998
4998
  (B, z) => {
4999
- i || B.disabled || B.value !== C && (v || E(B.value), d == null || d(B.value, z));
4999
+ i || B.disabled || B.value !== C && (v || w(B.value), d == null || d(B.value, z));
5000
5000
  },
5001
5001
  [C, i, v, d]
5002
5002
  ), I = (B, z) => {
@@ -5165,7 +5165,7 @@ const re = {
5165
5165
  tooltipPlacement: g = re.props.tooltipPlacement.default,
5166
5166
  feedback: x,
5167
5167
  ...O
5168
- }, E) => {
5168
+ }, w) => {
5169
5169
  const [C, p] = U(!1), A = (I) => {
5170
5170
  p(!1), h && h(I, I.target.value), f && f(I, I.target.value);
5171
5171
  }, N = () => {
@@ -5214,7 +5214,7 @@ const re = {
5214
5214
  onBlur: () => p(!1),
5215
5215
  onChange: (I) => A(I),
5216
5216
  onFocus: () => p(!0),
5217
- ref: E,
5217
+ ref: w,
5218
5218
  value: u ?? "",
5219
5219
  ...O,
5220
5220
  children: [
@@ -5243,13 +5243,7 @@ const re = {
5243
5243
  }
5244
5244
  ),
5245
5245
  x && /* @__PURE__ */ F("div", { className: "ds-select__feedback-container", children: [
5246
- /* @__PURE__ */ c(
5247
- ee,
5248
- {
5249
- className: "ds-select__icon",
5250
- image: y === "success" ? "check_circle" : "info"
5251
- }
5252
- ),
5246
+ /* @__PURE__ */ c(ee, { image: y === "success" ? "check_circle" : "info" }),
5253
5247
  /* @__PURE__ */ c("span", { className: "ds-select__feedback", children: x })
5254
5248
  ] })
5255
5249
  ] });
@@ -5412,7 +5406,7 @@ const he = {
5412
5406
  resize: g = he.props.resize.default,
5413
5407
  onChangeHandler: x,
5414
5408
  onBlurHandler: O,
5415
- onKeyDownHandler: E,
5409
+ onKeyDownHandler: w,
5416
5410
  onFocusHandler: C,
5417
5411
  rows: p = he.props.rows.default,
5418
5412
  cols: A,
@@ -5426,7 +5420,7 @@ const he = {
5426
5420
  const Z = (D) => {
5427
5421
  Q(D.target.value.length), x && x(D);
5428
5422
  }, ue = (D) => {
5429
- E && E(D);
5423
+ w && w(D);
5430
5424
  }, De = (D) => {
5431
5425
  B(!1), O && O(D);
5432
5426
  }, Se = (D) => {
@@ -5434,10 +5428,10 @@ const he = {
5434
5428
  }, m = () => {
5435
5429
  const D = [`${he.class}`];
5436
5430
  return a && D.push(`${he.class}--${a}`), s && D.push(`${he.class}--animated`), d && D.push(`${he.class}--with-icon`), f && D.push(`${he.class}--${f}`), v && D.push(v), D.join(" ");
5437
- }, w = pe(() => {
5431
+ }, E = pe(() => {
5438
5432
  const D = [`${he.class}__label`];
5439
5433
  return (te || i) && D.push(`${he.class}__label--active`), D.join(" ");
5440
- }, [i, te]), M = () => !s && r ? r : "", V = () => f && f === "error" ? "info" : "check_circle", $ = {
5434
+ }, [i, te]), R = () => !s && r ? r : "", V = () => f && f === "error" ? "info" : "check_circle", $ = {
5441
5435
  resize: g,
5442
5436
  ...q ?? {}
5443
5437
  };
@@ -5463,14 +5457,14 @@ const he = {
5463
5457
  onChange: Z,
5464
5458
  onFocus: Se,
5465
5459
  onKeyDown: ue,
5466
- placeholder: M(),
5460
+ placeholder: R(),
5467
5461
  ref: I,
5468
5462
  required: _,
5469
5463
  rows: p,
5470
5464
  style: $
5471
5465
  }
5472
5466
  ),
5473
- /* @__PURE__ */ c("label", { className: w, htmlFor: t, children: n }),
5467
+ /* @__PURE__ */ c("label", { className: E, htmlFor: t, children: n }),
5474
5468
  u && /* @__PURE__ */ F("span", { className: "ds-textarea__count", children: [
5475
5469
  z,
5476
5470
  "/",
@@ -5627,14 +5621,14 @@ const Na = ({
5627
5621
  height: u = de.props.height.default
5628
5622
  }) => {
5629
5623
  const d = a && `${de.class}__v-gap--${s}`, h = n && `${de.class}__h-gap--${s}`, f = r && de.props.horizontalAlign.options.find(
5630
- (E) => E === r
5624
+ (w) => w === r
5631
5625
  ) ? `${de.class}--h-${r}` : null, k = i && de.props.verticalAlign.options.find(
5632
- (E) => E === i
5626
+ (w) => w === i
5633
5627
  ) ? `${de.class}--v-${i}` : null, { width: y } = er(), [_, v] = U("auto");
5634
5628
  ae(() => {
5635
5629
  y <= 768 ? v("6") : v("12");
5636
5630
  }, [y]);
5637
- const g = (E) => /^[+-]?\d+$/.test(E), x = () => e.split(",").map((C) => (C = C.trim(), C === "0" || C === "*" || C === "auto" ? "auto" : g(C) ? C + "fr" : C)).join(" "), O = () => `repeat(${_}, minmax(0, 1fr))`;
5631
+ const g = (w) => /^[+-]?\d+$/.test(w), x = () => e.split(",").map((C) => (C = C.trim(), C === "0" || C === "*" || C === "auto" ? "auto" : g(C) ? C + "fr" : C)).join(" "), O = () => `repeat(${_}, minmax(0, 1fr))`;
5638
5632
  return /* @__PURE__ */ c(
5639
5633
  "div",
5640
5634
  {
@@ -5644,7 +5638,7 @@ const Na = ({
5644
5638
  k,
5645
5639
  d,
5646
5640
  h
5647
- ].filter((E) => E).join(" "),
5641
+ ].filter((w) => w).join(" "),
5648
5642
  style: {
5649
5643
  width: o,
5650
5644
  height: u,
@@ -5705,7 +5699,7 @@ const yr = {
5705
5699
  }
5706
5700
  }
5707
5701
  };
5708
- var Qe = /* @__PURE__ */ ((t) => (t.None = "none", t.Quark = "quark", t.Nano = "nano", t.ExtraSmall = "xs", t.Small = "sm", t.Medium = "md", t.Large = "lg", t))(Qe || {});
5702
+ var Ze = /* @__PURE__ */ ((t) => (t.None = "none", t.Quark = "quark", t.Nano = "nano", t.ExtraSmall = "xs", t.Small = "sm", t.Medium = "md", t.Large = "lg", t))(Ze || {});
5709
5703
  const Ne = {
5710
5704
  name: "Wrapper",
5711
5705
  class: "ds-wrapper",
@@ -5713,27 +5707,27 @@ const Ne = {
5713
5707
  space: {
5714
5708
  type: String,
5715
5709
  default: "xs",
5716
- options: Object.values(Qe)
5710
+ options: Object.values(Ze)
5717
5711
  },
5718
5712
  top: {
5719
5713
  type: String,
5720
5714
  default: "none",
5721
- options: Object.values(Qe)
5715
+ options: Object.values(Ze)
5722
5716
  },
5723
5717
  right: {
5724
5718
  type: String,
5725
5719
  default: "none",
5726
- options: Object.values(Qe)
5720
+ options: Object.values(Ze)
5727
5721
  },
5728
5722
  bottom: {
5729
5723
  type: String,
5730
5724
  default: "none",
5731
- options: Object.values(Qe)
5725
+ options: Object.values(Ze)
5732
5726
  },
5733
5727
  left: {
5734
5728
  type: String,
5735
5729
  default: "none",
5736
- options: Object.values(Qe)
5730
+ options: Object.values(Ze)
5737
5731
  }
5738
5732
  }
5739
5733
  }, lt = ({
@@ -5778,7 +5772,7 @@ const Pt = {
5778
5772
  default: 0
5779
5773
  }
5780
5774
  }
5781
- }, Ge = {
5775
+ }, Qe = {
5782
5776
  name: "AccordionItem",
5783
5777
  class: "ds-accordion-item",
5784
5778
  props: {
@@ -5803,19 +5797,19 @@ const Pt = {
5803
5797
  title: t,
5804
5798
  content: e,
5805
5799
  onToggle: s,
5806
- active: a = Ge.props.active.default,
5807
- disabled: n = Ge.props.disabled.default
5800
+ active: a = Qe.props.active.default,
5801
+ disabled: n = Qe.props.disabled.default
5808
5802
  }) => {
5809
- const r = a && `${Ge.class}--active`;
5803
+ const r = a && `${Qe.class}--active`;
5810
5804
  return /* @__PURE__ */ F(
5811
5805
  "li",
5812
5806
  {
5813
- className: [Ge.class, r].filter((i) => i).join(" "),
5807
+ className: [Qe.class, r].filter((i) => i).join(" "),
5814
5808
  children: [
5815
5809
  /* @__PURE__ */ F(
5816
5810
  "button",
5817
5811
  {
5818
- className: `${Ge.class}__button`,
5812
+ className: `${Qe.class}__button`,
5819
5813
  disabled: n,
5820
5814
  onClick: s,
5821
5815
  children: [
@@ -5823,7 +5817,7 @@ const Pt = {
5823
5817
  /* @__PURE__ */ c(
5824
5818
  ee,
5825
5819
  {
5826
- className: `${Ge.class}__icon`,
5820
+ className: `${Qe.class}__icon`,
5827
5821
  color: "neutral-90",
5828
5822
  image: "expand_more",
5829
5823
  size: "xl"
@@ -6031,7 +6025,7 @@ ar.propTypes = {
6031
6025
  imageMaxHeight: l.oneOfType([l.number, l.string]),
6032
6026
  imageMaxWidth: l.oneOfType([l.number, l.string])
6033
6027
  };
6034
- var Ze = /* @__PURE__ */ ((t) => (t.Default = "", t.Error = "error", t.Warning = "warning", t))(Ze || {});
6028
+ var Ge = /* @__PURE__ */ ((t) => (t.Default = "", t.Error = "error", t.Warning = "warning", t))(Ge || {});
6035
6029
  const _s = {
6036
6030
  Checked: "check_box",
6037
6031
  Unchecked: "check_box_outline_blank"
@@ -6049,7 +6043,7 @@ const _s = {
6049
6043
  status: {
6050
6044
  type: String,
6051
6045
  default: "",
6052
- options: Object.values(Ze)
6046
+ options: Object.values(Ge)
6053
6047
  },
6054
6048
  feedback: {
6055
6049
  type: String,
@@ -6097,7 +6091,7 @@ const _s = {
6097
6091
  onFocusHandler: _,
6098
6092
  ...v
6099
6093
  }, g) => {
6100
- const x = wt(), O = o ?? `${ie.class}-${x.replace(/:/g, "")}`, E = `${O}-label`, C = `${O}-description`, p = `${O}-feedback`, A = !!(d && a), N = A || r, q = !!u && !v["aria-label"] && !v["aria-labelledby"], I = [
6094
+ const x = wt(), O = o ?? `${ie.class}-${x.replace(/:/g, "")}`, w = `${O}-label`, C = `${O}-description`, p = `${O}-feedback`, A = !!(d && a), N = A || r, q = !!u && !v["aria-label"] && !v["aria-labelledby"], I = [
6101
6095
  e && C,
6102
6096
  A && p,
6103
6097
  v["aria-describedby"]
@@ -6120,8 +6114,8 @@ const _s = {
6120
6114
  {
6121
6115
  ...v,
6122
6116
  "aria-describedby": I,
6123
- "aria-invalid": d === Ze.Error ? !0 : v["aria-invalid"],
6124
- "aria-labelledby": q ? E : v["aria-labelledby"],
6117
+ "aria-invalid": d === Ge.Error ? !0 : v["aria-invalid"],
6118
+ "aria-labelledby": q ? w : v["aria-labelledby"],
6125
6119
  className: `${ie.class}__input`,
6126
6120
  "data-testid": h,
6127
6121
  disabled: s,
@@ -6166,7 +6160,7 @@ const _s = {
6166
6160
  "span",
6167
6161
  {
6168
6162
  className: `${ie.class}__label`,
6169
- id: E,
6163
+ id: w,
6170
6164
  children: u
6171
6165
  }
6172
6166
  ),
@@ -6241,8 +6235,8 @@ const ce = {
6241
6235
  },
6242
6236
  status: {
6243
6237
  type: String,
6244
- default: Ze.Default,
6245
- options: Object.values(Ze)
6238
+ default: Ge.Default,
6239
+ options: Object.values(Ge)
6246
6240
  },
6247
6241
  feedback: {
6248
6242
  type: String,
@@ -6295,18 +6289,18 @@ const ce = {
6295
6289
  onChangeHandler: g,
6296
6290
  onBlurHandler: x,
6297
6291
  onFocusHandler: O,
6298
- ...E
6292
+ ...w
6299
6293
  }, C) => {
6300
6294
  const p = wt(), A = o ?? `${ce.class}-${p.replace(/:/g, "")}`, N = h ?? A, q = `${A}-description`, I = `${A}-feedback`, te = !!(y && n), B = te || i, z = [
6301
6295
  s && q,
6302
6296
  te && I,
6303
- E["aria-describedby"]
6297
+ w["aria-describedby"]
6304
6298
  ].filter(Boolean).join(" ") || void 0, Q = v !== void 0, [le, _e] = U(
6305
6299
  e ?? []
6306
6300
  ), Z = Q ? v : le, ue = pe(() => new Set(Z), [Z]), De = Ce(
6307
6301
  (m) => {
6308
6302
  if (a) return;
6309
- const { checked: w, value: M } = m.target, V = w ? [...Z.filter(($) => $ !== M), M] : Z.filter(($) => $ !== M);
6303
+ const { checked: E, value: R } = m.target, V = E ? [...Z.filter(($) => $ !== R), R] : Z.filter(($) => $ !== R);
6310
6304
  Q || _e(V), f == null || f(V, m);
6311
6305
  },
6312
6306
  [Z, a, Q, f]
@@ -6325,7 +6319,7 @@ const ce = {
6325
6319
  /* @__PURE__ */ F(
6326
6320
  "fieldset",
6327
6321
  {
6328
- ...E,
6322
+ ...w,
6329
6323
  "aria-describedby": z,
6330
6324
  "aria-disabled": a || void 0,
6331
6325
  className: Se,
@@ -6347,24 +6341,27 @@ const ce = {
6347
6341
  {
6348
6342
  className: `${ce.class}__items`,
6349
6343
  "data-testid": `${_}-items`,
6350
- children: u.map((m) => /* @__PURE__ */ c(
6351
- Ba,
6352
- {
6353
- checked: ue.has(m.value),
6354
- description: m.description,
6355
- disabled: a || m.disabled,
6356
- feedback: m.feedback,
6357
- icon: m.icon,
6358
- id: `${A}-${m.value}`,
6359
- label: m.label,
6360
- name: N,
6361
- onChange: De,
6362
- status: m.status,
6363
- testId: m.testId ?? `${_}-item-${m.value}`,
6364
- value: m.value
6365
- },
6366
- m.value
6367
- ))
6344
+ children: u.map((m) => {
6345
+ const E = a || m.disabled, R = m.status || (E ? Ge.Default : y);
6346
+ return /* @__PURE__ */ c(
6347
+ Ba,
6348
+ {
6349
+ checked: ue.has(m.value),
6350
+ description: m.description,
6351
+ disabled: E,
6352
+ feedback: m.status ? m.feedback : void 0,
6353
+ icon: m.icon,
6354
+ id: `${A}-${m.value}`,
6355
+ label: m.label,
6356
+ name: N,
6357
+ onChange: De,
6358
+ status: R,
6359
+ testId: m.testId ?? `${_}-item-${m.value}`,
6360
+ value: m.value
6361
+ },
6362
+ m.value
6363
+ );
6364
+ })
6368
6365
  }
6369
6366
  ),
6370
6367
  B && /* @__PURE__ */ c(
@@ -6372,7 +6369,7 @@ const ce = {
6372
6369
  {
6373
6370
  className: `${ce.class}__feedback`,
6374
6371
  id: I,
6375
- role: y === Ze.Error ? "alert" : void 0,
6372
+ role: y === Ge.Error ? "alert" : void 0,
6376
6373
  children: te && /* @__PURE__ */ F(Je, { children: [
6377
6374
  /* @__PURE__ */ c(
6378
6375
  "span",
@@ -6518,7 +6515,7 @@ const Y = {
6518
6515
  inputAutoFocus: g = Y.props.inputAutoFocus.default,
6519
6516
  placeholder: x = Y.props.placeholder.default,
6520
6517
  loading: O,
6521
- showOptionsOnFocus: E = !1,
6518
+ showOptionsOnFocus: w = !1,
6522
6519
  inputType: C,
6523
6520
  inputMin: p,
6524
6521
  inputMax: A,
@@ -6531,19 +6528,19 @@ const Y = {
6531
6528
  inputMask: Q,
6532
6529
  inputOnKeyDownHandler: le
6533
6530
  }) => {
6534
- const [_e, Z] = U(!1), [ue, De] = U(a), [Se, m] = U(!0), w = Ke(null), M = (b) => {
6535
- if (E) {
6531
+ const [_e, Z] = U(!1), [ue, De] = U(a), [Se, m] = U(!0), E = Ke(null), R = (b) => {
6532
+ if (w) {
6536
6533
  const oe = a.trim().toLowerCase(), Me = b.currentTarget.value.trim().toLowerCase(), tt = n.map((Ja) => Ja.label.trim().toLowerCase()), Qa = !!oe && tt.includes(oe), Za = !!Me && tt.includes(Me);
6537
6534
  Qa && !Za && u();
6538
6535
  }
6539
6536
  i(b), m(!1);
6540
6537
  const X = b.currentTarget.value.length;
6541
- (E || O == null && X > 0 || !O && X > 2) && Z(!0);
6538
+ (w || O == null && X > 0 || !O && X > 2) && Z(!0);
6542
6539
  }, V = () => {
6543
- _(), m(!0), E && Z(!0);
6540
+ _(), m(!0), w && Z(!0);
6544
6541
  }, $ = () => {
6545
6542
  var S, oe;
6546
- const b = (S = w.current) == null ? void 0 : S.querySelector("input");
6543
+ const b = (S = E.current) == null ? void 0 : S.querySelector("input");
6547
6544
  if (!b) return;
6548
6545
  const X = (oe = Object.getOwnPropertyDescriptor(
6549
6546
  window.HTMLInputElement.prototype,
@@ -6551,7 +6548,7 @@ const Y = {
6551
6548
  )) == null ? void 0 : oe.set;
6552
6549
  X == null || X.call(b, ""), b.dispatchEvent(new Event("input", { bubbles: !0 }));
6553
6550
  }, D = () => {
6554
- if (E) {
6551
+ if (w) {
6555
6552
  const b = a.trim(), X = b ? n.find(
6556
6553
  (S) => S.label.trim().toLowerCase() === b.toLowerCase()
6557
6554
  ) : void 0;
@@ -6559,20 +6556,20 @@ const Y = {
6559
6556
  }
6560
6557
  y(), m(!0);
6561
6558
  }, L = (b) => {
6562
- o(b), y(), E || De(crypto.randomUUID().toString()), m(!0), Z(!1);
6559
+ o(b), y(), w || De(crypto.randomUUID().toString()), m(!0), Z(!1);
6563
6560
  }, j = (b) => {
6564
6561
  f || L(b);
6565
6562
  };
6566
6563
  ae(() => {
6567
- !E && a.length === 0 && Z(!1);
6568
- }, [a, E]), ae(() => {
6569
- if (!E) return;
6564
+ !w && a.length === 0 && Z(!1);
6565
+ }, [a, w]), ae(() => {
6566
+ if (!w) return;
6570
6567
  const b = (X) => {
6571
- w.current && !w.current.contains(X.target) && Z(!1);
6568
+ E.current && !E.current.contains(X.target) && Z(!1);
6572
6569
  };
6573
6570
  return document.addEventListener("mousedown", b), () => document.removeEventListener("mousedown", b);
6574
- }, [E]);
6575
- const H = pe(() => E ? Se ? ks(n) : rr(n, a) : ks(n), [n, a, E, Se]), W = () => H.length > 0 ? H.map((b, X) => {
6571
+ }, [w]);
6572
+ const H = pe(() => w ? Se ? ks(n) : rr(n, a) : ks(n), [n, a, w, Se]), W = () => H.length > 0 ? H.map((b, X) => {
6576
6573
  const oe = b.label === a ? ` ${Y.class}__option--selected` : "";
6577
6574
  return /* @__PURE__ */ c(
6578
6575
  "button",
@@ -6598,7 +6595,7 @@ const Y = {
6598
6595
  "div",
6599
6596
  {
6600
6597
  className: `${Y.class}__container`,
6601
- ref: w,
6598
+ ref: E,
6602
6599
  children: [
6603
6600
  /* @__PURE__ */ c(
6604
6601
  ut,
@@ -6616,7 +6613,7 @@ const Y = {
6616
6613
  name: e,
6617
6614
  noMargin: z,
6618
6615
  onBlurHandler: D,
6619
- onChangeHandler: M,
6616
+ onChangeHandler: R,
6620
6617
  onFocusHandler: V,
6621
6618
  onKeyDownHandler: le,
6622
6619
  placeholder: x,
@@ -6970,7 +6967,7 @@ const za = ({
6970
6967
  handleClose: f,
6971
6968
  testId: k = ke.props.testId.default
6972
6969
  }) => {
6973
- const [y, _] = U(o), [v, g] = U(!1), [x, O] = U(!0), E = [
6970
+ const [y, _] = U(o), [v, g] = U(!1), [x, O] = U(!0), w = [
6974
6971
  ke.class,
6975
6972
  e && `${ke.class}--${e}`,
6976
6973
  s && `${ke.class}--${s}`,
@@ -6994,7 +6991,7 @@ const za = ({
6994
6991
  return x ? /* @__PURE__ */ F(
6995
6992
  "div",
6996
6993
  {
6997
- className: E,
6994
+ className: w,
6998
6995
  "data-testid": k,
6999
6996
  id: a,
7000
6997
  onMouseEnter: p,
@@ -7100,7 +7097,7 @@ const qt = {
7100
7097
  ), v = Ce(
7101
7098
  (p) => {
7102
7099
  r(p.currentTarget.value);
7103
- const A = _(p.currentTarget.value), N = E(A);
7100
+ const A = _(p.currentTarget.value), N = w(A);
7104
7101
  t({
7105
7102
  password: p.currentTarget.value,
7106
7103
  confirmationPassword: i,
@@ -7112,7 +7109,7 @@ const qt = {
7112
7109
  ), g = Ce(
7113
7110
  (p) => {
7114
7111
  o(p.currentTarget.value);
7115
- const A = _(n), N = E(A);
7112
+ const A = _(n), N = w(A);
7116
7113
  t({
7117
7114
  password: n,
7118
7115
  confirmationPassword: p.currentTarget.value,
@@ -7131,7 +7128,7 @@ const qt = {
7131
7128
  return p > 30 && p < 75 ? (A.color = "warning", A.label = ft.medium) : p >= 75 && p < 100 ? (A.color = "success", A.label = ft.good) : p === 100 && (A.color = "success-dark", A.label = ft.strong), A;
7132
7129
  },
7133
7130
  []
7134
- ), E = Ce(
7131
+ ), w = Ce(
7135
7132
  (p) => {
7136
7133
  const A = p.reduce(
7137
7134
  (q, I) => {
@@ -7472,7 +7469,7 @@ const br = ({
7472
7469
  className: `${ye.class}__header`,
7473
7470
  role: _ ? "tablist" : void 0,
7474
7471
  children: f.map(({ tab: g, index: x }) => {
7475
- const O = `${ye.class}-tab-${g.name ?? x}`, E = `${ye.class}-panel-${g.name ?? x}`, C = g.content !== void 0;
7472
+ const O = `${ye.class}-tab-${g.name ?? x}`, w = `${ye.class}-panel-${g.name ?? x}`, C = g.content !== void 0;
7476
7473
  return /* @__PURE__ */ c(
7477
7474
  dr,
7478
7475
  {
@@ -7482,7 +7479,7 @@ const br = ({
7482
7479
  hasPanel: C,
7483
7480
  index: x,
7484
7481
  onClick: () => k(x),
7485
- panelDomId: C ? E : void 0,
7482
+ panelDomId: C ? w : void 0,
7486
7483
  tabDomId: O,
7487
7484
  variant: n
7488
7485
  },
@@ -7493,11 +7490,11 @@ const br = ({
7493
7490
  ),
7494
7491
  _ ? f.map(({ tab: g, index: x }) => {
7495
7492
  if (g.content === void 0) return null;
7496
- const O = `${ye.class}-panel-${g.name ?? x}`, E = `${ye.class}-tab-${g.name ?? x}`, C = d === x;
7493
+ const O = `${ye.class}-panel-${g.name ?? x}`, w = `${ye.class}-tab-${g.name ?? x}`, C = d === x;
7497
7494
  return /* @__PURE__ */ c(
7498
7495
  "div",
7499
7496
  {
7500
- "aria-labelledby": E,
7497
+ "aria-labelledby": w,
7501
7498
  className: `${ye.class}__panel`,
7502
7499
  "data-testid": g.panelDataTestId ?? `ds-tabs-panel-${g.name ?? x}`,
7503
7500
  hidden: !C,
@@ -7645,7 +7642,7 @@ export {
7645
7642
  Ia as CheckboxCardFeedbackGlyph,
7646
7643
  _s as CheckboxCardGlyph,
7647
7644
  Ra as CheckboxCardGroupOrientation,
7648
- Ze as CheckboxCardStatus,
7645
+ Ge as CheckboxCardStatus,
7649
7646
  js as ChipColor,
7650
7647
  bt as ChipIconPosition,
7651
7648
  Ps as ChipVariant,
@@ -7739,9 +7736,9 @@ export {
7739
7736
  pr as ThemeProvider,
7740
7737
  ia as TooltipPlacement,
7741
7738
  ra as TooltipPosition,
7742
- Qe as WrapperSpace,
7739
+ Ze as WrapperSpace,
7743
7740
  Pt as accordionConfig,
7744
- Ge as accordionItemConfig,
7741
+ Qe as accordionItemConfig,
7745
7742
  _r as activeTagsConfig,
7746
7743
  J as buttonConfig,
7747
7744
  $n as captionConfig,