mainstack-design-system 0.4.0 → 0.4.1

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.
@@ -1,7 +1,7 @@
1
1
  import "./index.css";
2
2
  import { jsx as f, jsxs as Q, Fragment as pr } from "react/jsx-runtime";
3
3
  import * as pt from "react";
4
- import R1, { forwardRef as v2, useContext as Rn, createContext as il, useLayoutEffect as g9, useEffect as d1, useState as Et, useRef as Lt, useMemo as z1, useCallback as it, useReducer as TL, useInsertionEffect as EL, createElement as LL, useId as ol, cloneElement as es, Children as eh, isValidElement as ts, memo as OP, useSyncExternalStore as IP, Component as VP, Fragment as Cg } from "react";
4
+ import R1, { forwardRef as v2, useContext as Rn, createContext as il, useLayoutEffect as g9, useEffect as d1, useState as Et, useRef as Lt, useMemo as W1, useCallback as it, useReducer as TL, useInsertionEffect as EL, createElement as LL, useId as ol, cloneElement as es, Children as eh, isValidElement as ts, memo as OP, useSyncExternalStore as IP, Component as VP, Fragment as Cg } from "react";
5
5
  function DP(e) {
6
6
  if (e.sheet)
7
7
  return e.sheet;
@@ -47,7 +47,7 @@ var RP = /* @__PURE__ */ function() {
47
47
  return i.parentNode && i.parentNode.removeChild(i);
48
48
  }), this.tags = [], this.ctr = 0, process.env.NODE_ENV !== "production" && (this._alreadyInsertedOrderInsensitiveRule = !1);
49
49
  }, e;
50
- }(), Aa = "-ms-", wf = "-moz-", $1 = "-webkit-", Cy = "comm", vy = "rule", gy = "decl", NP = "@import", ML = "@keyframes", PP = "@layer", BP = Math.abs, th = String.fromCharCode, FP = Object.assign;
50
+ }(), Aa = "-ms-", wf = "-moz-", j1 = "-webkit-", Cy = "comm", vy = "rule", gy = "decl", NP = "@import", ML = "@keyframes", PP = "@layer", BP = Math.abs, th = String.fromCharCode, FP = Object.assign;
51
51
  function ZP(e, n) {
52
52
  return sa(e, 0) ^ 45 ? (((n << 2 ^ sa(e, 0)) << 2 ^ sa(e, 1)) << 2 ^ sa(e, 2)) << 2 ^ sa(e, 3) : 0;
53
53
  }
@@ -57,7 +57,7 @@ function AL(e) {
57
57
  function zP(e, n) {
58
58
  return (e = n.exec(e)) ? e[0] : e;
59
59
  }
60
- function G1(e, n, a) {
60
+ function $1(e, n, a) {
61
61
  return e.replace(n, a);
62
62
  }
63
63
  function vg(e, n) {
@@ -194,7 +194,7 @@ function Kd(e, n, a, i, l, d, c, m, p) {
194
194
  switch (S = L, L = Gi()) {
195
195
  case 40:
196
196
  if (S != 108 && sa(H, y - 1) == 58) {
197
- vg(H += G1(Jd(L), "&", "&\f"), "&\f") != -1 && (M = -1);
197
+ vg(H += $1(Jd(L), "&", "&\f"), "&\f") != -1 && (M = -1);
198
198
  break;
199
199
  }
200
200
  case 34:
@@ -231,7 +231,7 @@ function Kd(e, n, a, i, l, d, c, m, p) {
231
231
  case 125:
232
232
  k = 0;
233
233
  case 59 + g:
234
- M == -1 && (H = G1(H, /\f/g, "")), w > 0 && Gl(H) - y && Ed(w > 32 ? AS(H + ";", i, a, y - 1) : AS(G1(H, " ", "") + ";", i, a, y - 2), p);
234
+ M == -1 && (H = $1(H, /\f/g, "")), w > 0 && Gl(H) - y && Ed(w > 32 ? AS(H + ";", i, a, y - 1) : AS($1(H, " ", "") + ";", i, a, y - 2), p);
235
235
  break;
236
236
  case 59:
237
237
  H += ";";
@@ -281,7 +281,7 @@ function Kd(e, n, a, i, l, d, c, m, p) {
281
281
  function MS(e, n, a, i, l, d, c, m, p, v, g) {
282
282
  for (var y = l - 1, b = l === 0 ? d : [""], w = yy(b), S = 0, T = 0, k = 0; S < i; ++S)
283
283
  for (var M = 0, L = i9(e, y + 1, y = BP(T = c[S])), I = e; M < w; ++M)
284
- (I = AL(T > 0 ? b[M] + " " + L : G1(L, /&\f/g, b[M]))) && (p[k++] = I);
284
+ (I = AL(T > 0 ? b[M] + " " + L : $1(L, /&\f/g, b[M]))) && (p[k++] = I);
285
285
  return rh(e, n, a, l === 0 ? vy : m, p, v, g);
286
286
  }
287
287
  function JP(e, n, a) {
@@ -428,7 +428,7 @@ var tB = function(n, a, i) {
428
428
  function RL(e, n) {
429
429
  switch (ZP(e, n)) {
430
430
  case 5103:
431
- return $1 + "print-" + e + e;
431
+ return j1 + "print-" + e + e;
432
432
  case 5737:
433
433
  case 4201:
434
434
  case 3177:
@@ -454,44 +454,44 @@ function RL(e, n) {
454
454
  case 5365:
455
455
  case 5621:
456
456
  case 3829:
457
- return $1 + e + e;
457
+ return j1 + e + e;
458
458
  case 5349:
459
459
  case 4246:
460
460
  case 4810:
461
461
  case 6968:
462
462
  case 2756:
463
- return $1 + e + wf + e + Aa + e + e;
463
+ return j1 + e + wf + e + Aa + e + e;
464
464
  case 6828:
465
465
  case 4268:
466
- return $1 + e + Aa + e + e;
466
+ return j1 + e + Aa + e + e;
467
467
  case 6165:
468
- return $1 + e + Aa + "flex-" + e + e;
468
+ return j1 + e + Aa + "flex-" + e + e;
469
469
  case 5187:
470
- return $1 + e + G1(e, /(\w+).+(:[^]+)/, $1 + "box-$1$2" + Aa + "flex-$1$2") + e;
470
+ return j1 + e + $1(e, /(\w+).+(:[^]+)/, j1 + "box-$1$2" + Aa + "flex-$1$2") + e;
471
471
  case 5443:
472
- return $1 + e + Aa + "flex-item-" + G1(e, /flex-|-self/, "") + e;
472
+ return j1 + e + Aa + "flex-item-" + $1(e, /flex-|-self/, "") + e;
473
473
  case 4675:
474
- return $1 + e + Aa + "flex-line-pack" + G1(e, /align-content|flex-|-self/, "") + e;
474
+ return j1 + e + Aa + "flex-line-pack" + $1(e, /align-content|flex-|-self/, "") + e;
475
475
  case 5548:
476
- return $1 + e + Aa + G1(e, "shrink", "negative") + e;
476
+ return j1 + e + Aa + $1(e, "shrink", "negative") + e;
477
477
  case 5292:
478
- return $1 + e + Aa + G1(e, "basis", "preferred-size") + e;
478
+ return j1 + e + Aa + $1(e, "basis", "preferred-size") + e;
479
479
  case 6060:
480
- return $1 + "box-" + G1(e, "-grow", "") + $1 + e + Aa + G1(e, "grow", "positive") + e;
480
+ return j1 + "box-" + $1(e, "-grow", "") + j1 + e + Aa + $1(e, "grow", "positive") + e;
481
481
  case 4554:
482
- return $1 + G1(e, /([^-])(transform)/g, "$1" + $1 + "$2") + e;
482
+ return j1 + $1(e, /([^-])(transform)/g, "$1" + j1 + "$2") + e;
483
483
  case 6187:
484
- return G1(G1(G1(e, /(zoom-|grab)/, $1 + "$1"), /(image-set)/, $1 + "$1"), e, "") + e;
484
+ return $1($1($1(e, /(zoom-|grab)/, j1 + "$1"), /(image-set)/, j1 + "$1"), e, "") + e;
485
485
  case 5495:
486
486
  case 3959:
487
- return G1(e, /(image-set\([^]*)/, $1 + "$1$`$1");
487
+ return $1(e, /(image-set\([^]*)/, j1 + "$1$`$1");
488
488
  case 4968:
489
- return G1(G1(e, /(.+:)(flex-)?(.*)/, $1 + "box-pack:$3" + Aa + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + $1 + e + e;
489
+ return $1($1(e, /(.+:)(flex-)?(.*)/, j1 + "box-pack:$3" + Aa + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + j1 + e + e;
490
490
  case 4095:
491
491
  case 3583:
492
492
  case 4068:
493
493
  case 2532:
494
- return G1(e, /(.+)-inline(.+)/, $1 + "$1$2") + e;
494
+ return $1(e, /(.+)-inline(.+)/, j1 + "$1$2") + e;
495
495
  case 8116:
496
496
  case 7059:
497
497
  case 5753:
@@ -510,9 +510,9 @@ function RL(e, n) {
510
510
  if (sa(e, n + 4) !== 45)
511
511
  break;
512
512
  case 102:
513
- return G1(e, /(.+:)(.+)-([^]+)/, "$1" + $1 + "$2-$3$1" + wf + (sa(e, n + 3) == 108 ? "$3" : "$2-$3")) + e;
513
+ return $1(e, /(.+:)(.+)-([^]+)/, "$1" + j1 + "$2-$3$1" + wf + (sa(e, n + 3) == 108 ? "$3" : "$2-$3")) + e;
514
514
  case 115:
515
- return ~vg(e, "stretch") ? RL(G1(e, "stretch", "fill-available"), n) + e : e;
515
+ return ~vg(e, "stretch") ? RL($1(e, "stretch", "fill-available"), n) + e : e;
516
516
  }
517
517
  break;
518
518
  case 4949:
@@ -521,21 +521,21 @@ function RL(e, n) {
521
521
  case 6444:
522
522
  switch (sa(e, Gl(e) - 3 - (~vg(e, "!important") && 10))) {
523
523
  case 107:
524
- return G1(e, ":", ":" + $1) + e;
524
+ return $1(e, ":", ":" + j1) + e;
525
525
  case 101:
526
- return G1(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + $1 + (sa(e, 14) === 45 ? "inline-" : "") + "box$3$1" + $1 + "$2$3$1" + Aa + "$2box$3") + e;
526
+ return $1(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + j1 + (sa(e, 14) === 45 ? "inline-" : "") + "box$3$1" + j1 + "$2$3$1" + Aa + "$2box$3") + e;
527
527
  }
528
528
  break;
529
529
  case 5936:
530
530
  switch (sa(e, n + 11)) {
531
531
  case 114:
532
- return $1 + e + Aa + G1(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
532
+ return j1 + e + Aa + $1(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
533
533
  case 108:
534
- return $1 + e + Aa + G1(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
534
+ return j1 + e + Aa + $1(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
535
535
  case 45:
536
- return $1 + e + Aa + G1(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
536
+ return j1 + e + Aa + $1(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
537
537
  }
538
- return $1 + e + Aa + e + e;
538
+ return j1 + e + Aa + e + e;
539
539
  }
540
540
  return e;
541
541
  }
@@ -547,7 +547,7 @@ var dB = function(n, a, i, l) {
547
547
  break;
548
548
  case ML:
549
549
  return $3([_4(n, {
550
- value: G1(n.value, "@", "@" + $1)
550
+ value: $1(n.value, "@", "@" + j1)
551
551
  })], l);
552
552
  case vy:
553
553
  if (n.length)
@@ -556,15 +556,15 @@ var dB = function(n, a, i, l) {
556
556
  case ":read-only":
557
557
  case ":read-write":
558
558
  return $3([_4(n, {
559
- props: [G1(d, /:(read-\w+)/, ":" + wf + "$1")]
559
+ props: [$1(d, /:(read-\w+)/, ":" + wf + "$1")]
560
560
  })], l);
561
561
  case "::placeholder":
562
562
  return $3([_4(n, {
563
- props: [G1(d, /:(plac\w+)/, ":" + $1 + "input-$1")]
563
+ props: [$1(d, /:(plac\w+)/, ":" + j1 + "input-$1")]
564
564
  }), _4(n, {
565
- props: [G1(d, /:(plac\w+)/, ":" + wf + "$1")]
565
+ props: [$1(d, /:(plac\w+)/, ":" + wf + "$1")]
566
566
  }), _4(n, {
567
- props: [G1(d, /:(plac\w+)/, Aa + "input-$1")]
567
+ props: [$1(d, /:(plac\w+)/, Aa + "input-$1")]
568
568
  })], l);
569
569
  }
570
570
  return "";
@@ -3058,7 +3058,7 @@ function eF() {
3058
3058
  return null;
3059
3059
  }
3060
3060
  var he = n.unstable_scheduleCallback, He = n.unstable_cancelCallback, Ye = n.unstable_shouldYield, at = n.unstable_requestPaint, ut = n.unstable_now, Mt = n.unstable_getCurrentPriorityLevel, Ht = n.unstable_ImmediatePriority, mt = n.unstable_UserBlockingPriority, h1 = n.unstable_NormalPriority, g1 = n.unstable_LowPriority, f1 = n.unstable_IdlePriority, Pn = null, tn = null;
3061
- function U1(o) {
3061
+ function z1(o) {
3062
3062
  if (tn && typeof tn.onCommitFiberRoot == "function")
3063
3063
  try {
3064
3064
  tn.onCommitFiberRoot(Pn, o, void 0, (o.current.flags & 128) === 128);
@@ -7191,7 +7191,7 @@ Error generating stack: ` + R.message + `
7191
7191
  m1 |= 4, m7.current = null, H6(o, C), N6(C, o), Ju(ds), Eo = !!Rc, ds = Rc = null, o.current = C, P6(C), at(), m1 = me, p1 = J, Zr.transition = R;
7192
7192
  } else
7193
7193
  o.current = C;
7194
- if (El && (El = !1, Ll = o, F0 = V), R = o.pendingLanes, R === 0 && (ao = null), U1(C.stateNode), jr(o, ut()), s !== null)
7194
+ if (El && (El = !1, Ll = o, F0 = V), R = o.pendingLanes, R === 0 && (ao = null), z1(C.stateNode), jr(o, ut()), s !== null)
7195
7195
  for (_ = o.onRecoverableError, C = 0; C < s.length; C++)
7196
7196
  V = s[C], _(V.value, { componentStack: V.stack, digest: V.digest });
7197
7197
  if (B0)
@@ -8496,14 +8496,14 @@ function tF() {
8496
8496
  var r = ut && t[ut] || t[Mt];
8497
8497
  return typeof r == "function" ? r : null;
8498
8498
  }
8499
- var mt = Object.assign, h1 = 0, g1, f1, Pn, tn, U1, x1, nr;
8499
+ var mt = Object.assign, h1 = 0, g1, f1, Pn, tn, z1, x1, nr;
8500
8500
  function Ka() {
8501
8501
  }
8502
8502
  Ka.__reactDisabledLog = !0;
8503
8503
  function Qa() {
8504
8504
  {
8505
8505
  if (h1 === 0) {
8506
- g1 = console.log, f1 = console.info, Pn = console.warn, tn = console.error, U1 = console.group, x1 = console.groupCollapsed, nr = console.groupEnd;
8506
+ g1 = console.log, f1 = console.info, Pn = console.warn, tn = console.error, z1 = console.group, x1 = console.groupCollapsed, nr = console.groupEnd;
8507
8507
  var t = {
8508
8508
  configurable: !0,
8509
8509
  enumerable: !0,
@@ -8545,7 +8545,7 @@ function tF() {
8545
8545
  value: tn
8546
8546
  }),
8547
8547
  group: mt({}, t, {
8548
- value: U1
8548
+ value: z1
8549
8549
  }),
8550
8550
  groupCollapsed: mt({}, t, {
8551
8551
  value: x1
@@ -21356,7 +21356,7 @@ var sh = xg.exports, [qL, nF] = Or({
21356
21356
  }
21357
21357
  );
21358
21358
  }, oF = (e) => {
21359
- const { children: n, containerRef: a, appendToParentPortal: i } = e, l = a.current, d = l ?? (typeof window < "u" ? document.body : void 0), c = z1(() => {
21359
+ const { children: n, containerRef: a, appendToParentPortal: i } = e, l = a.current, d = l ?? (typeof window < "u" ? document.body : void 0), c = W1(() => {
21360
21360
  const p = l == null ? void 0 : l.ownerDocument.createElement("div");
21361
21361
  return p && (p.className = Ty), p;
21362
21362
  }, [l]), [, m] = Et({});
@@ -21485,7 +21485,7 @@ function JL(e) {
21485
21485
  () => KS(c, m)
21486
21486
  ), [g, y] = Et(
21487
21487
  () => KS(c)
21488
- ), { getSystemTheme: b, setClassName: w, setDataset: S, addListener: T } = z1(
21488
+ ), { getSystemTheme: b, setClassName: w, setDataset: S, addListener: T } = W1(
21489
21489
  () => lF({ preventTransition: d }),
21490
21490
  [d]
21491
21491
  ), k = l === "system" && !p ? g : p, M = it(
@@ -21516,7 +21516,7 @@ function JL(e) {
21516
21516
  if (i)
21517
21517
  return T(M);
21518
21518
  }, [i, T, M]);
21519
- const I = z1(
21519
+ const I = W1(
21520
21520
  () => ({
21521
21521
  colorMode: n ?? k,
21522
21522
  toggleColorMode: n ? JS : L,
@@ -21835,14 +21835,14 @@ kf.exports;
21835
21835
  function tn(ce, we, Be, ft, u1) {
21836
21836
  ce !== we && Ht(we, function(D1, k1) {
21837
21837
  if (u1 || (u1 = new gr()), pn(D1))
21838
- U1(ce, we, k1, Be, tn, ft, u1);
21838
+ z1(ce, we, k1, Be, tn, ft, u1);
21839
21839
  else {
21840
21840
  var l1 = ft ? ft(Di(ce, k1), D1, k1 + "", ce, we, u1) : void 0;
21841
21841
  l1 === void 0 && (l1 = D1), Ye(ce, k1, l1);
21842
21842
  }
21843
21843
  }, k2);
21844
21844
  }
21845
- function U1(ce, we, Be, ft, u1, D1, k1) {
21845
+ function z1(ce, we, Be, ft, u1, D1, k1) {
21846
21846
  var l1 = Di(ce, Be), B1 = Di(we, Be), Nr = k1.get(B1);
21847
21847
  if (Nr) {
21848
21848
  Ye(ce, Be, Nr);
@@ -22353,7 +22353,7 @@ Object.assign(Qd, {
22353
22353
  bgImage: Qd.backgroundImage,
22354
22354
  bgImg: Qd.backgroundImage
22355
22355
  });
22356
- var j1 = {
22356
+ var U1 = {
22357
22357
  border: _e.borders("border"),
22358
22358
  borderWidth: _e.borderWidths("borderWidth"),
22359
22359
  borderStyle: _e.borderStyles("borderStyle"),
@@ -22455,36 +22455,36 @@ var j1 = {
22455
22455
  "borderBottomRightRadius"
22456
22456
  ])
22457
22457
  };
22458
- Object.assign(j1, {
22459
- rounded: j1.borderRadius,
22460
- roundedTop: j1.borderTopRadius,
22461
- roundedTopLeft: j1.borderTopLeftRadius,
22462
- roundedTopRight: j1.borderTopRightRadius,
22463
- roundedTopStart: j1.borderStartStartRadius,
22464
- roundedTopEnd: j1.borderStartEndRadius,
22465
- roundedBottom: j1.borderBottomRadius,
22466
- roundedBottomLeft: j1.borderBottomLeftRadius,
22467
- roundedBottomRight: j1.borderBottomRightRadius,
22468
- roundedBottomStart: j1.borderEndStartRadius,
22469
- roundedBottomEnd: j1.borderEndEndRadius,
22470
- roundedLeft: j1.borderLeftRadius,
22471
- roundedRight: j1.borderRightRadius,
22472
- roundedStart: j1.borderInlineStartRadius,
22473
- roundedEnd: j1.borderInlineEndRadius,
22474
- borderStart: j1.borderInlineStart,
22475
- borderEnd: j1.borderInlineEnd,
22476
- borderTopStartRadius: j1.borderStartStartRadius,
22477
- borderTopEndRadius: j1.borderStartEndRadius,
22478
- borderBottomStartRadius: j1.borderEndStartRadius,
22479
- borderBottomEndRadius: j1.borderEndEndRadius,
22480
- borderStartRadius: j1.borderInlineStartRadius,
22481
- borderEndRadius: j1.borderInlineEndRadius,
22482
- borderStartWidth: j1.borderInlineStartWidth,
22483
- borderEndWidth: j1.borderInlineEndWidth,
22484
- borderStartColor: j1.borderInlineStartColor,
22485
- borderEndColor: j1.borderInlineEndColor,
22486
- borderStartStyle: j1.borderInlineStartStyle,
22487
- borderEndStyle: j1.borderInlineEndStyle
22458
+ Object.assign(U1, {
22459
+ rounded: U1.borderRadius,
22460
+ roundedTop: U1.borderTopRadius,
22461
+ roundedTopLeft: U1.borderTopLeftRadius,
22462
+ roundedTopRight: U1.borderTopRightRadius,
22463
+ roundedTopStart: U1.borderStartStartRadius,
22464
+ roundedTopEnd: U1.borderStartEndRadius,
22465
+ roundedBottom: U1.borderBottomRadius,
22466
+ roundedBottomLeft: U1.borderBottomLeftRadius,
22467
+ roundedBottomRight: U1.borderBottomRightRadius,
22468
+ roundedBottomStart: U1.borderEndStartRadius,
22469
+ roundedBottomEnd: U1.borderEndEndRadius,
22470
+ roundedLeft: U1.borderLeftRadius,
22471
+ roundedRight: U1.borderRightRadius,
22472
+ roundedStart: U1.borderInlineStartRadius,
22473
+ roundedEnd: U1.borderInlineEndRadius,
22474
+ borderStart: U1.borderInlineStart,
22475
+ borderEnd: U1.borderInlineEnd,
22476
+ borderTopStartRadius: U1.borderStartStartRadius,
22477
+ borderTopEndRadius: U1.borderStartEndRadius,
22478
+ borderBottomStartRadius: U1.borderEndStartRadius,
22479
+ borderBottomEndRadius: U1.borderEndEndRadius,
22480
+ borderStartRadius: U1.borderInlineStartRadius,
22481
+ borderEndRadius: U1.borderInlineEndRadius,
22482
+ borderStartWidth: U1.borderInlineStartWidth,
22483
+ borderEndWidth: U1.borderInlineEndWidth,
22484
+ borderStartColor: U1.borderInlineStartColor,
22485
+ borderEndColor: U1.borderInlineEndColor,
22486
+ borderStartStyle: U1.borderInlineStartStyle,
22487
+ borderEndStyle: U1.borderInlineEndStyle
22488
22488
  });
22489
22489
  var HF = {
22490
22490
  color: _e.colors("color"),
@@ -23515,7 +23515,7 @@ function yZ(e) {
23515
23515
  var Oy = Wl(
23516
23516
  {},
23517
23517
  Qd,
23518
- j1,
23518
+ U1,
23519
23519
  HF,
23520
23520
  Sf,
23521
23521
  mo,
@@ -25392,7 +25392,7 @@ var ej = Ks((e) => {
25392
25392
  filled: tj,
25393
25393
  flushed: nj,
25394
25394
  unstyled: rj
25395
- }, W1 = JU({
25395
+ }, G1 = JU({
25396
25396
  baseStyle: KU,
25397
25397
  sizes: QU,
25398
25398
  variants: aj,
@@ -25401,7 +25401,7 @@ var ej = Ks((e) => {
25401
25401
  variant: "outline"
25402
25402
  }
25403
25403
  }), v_, ij = {
25404
- ...(v_ = W1.baseStyle) == null ? void 0 : v_.field,
25404
+ ...(v_ = G1.baseStyle) == null ? void 0 : v_.field,
25405
25405
  paddingY: "2",
25406
25406
  minHeight: "20",
25407
25407
  lineHeight: "short",
@@ -25409,22 +25409,22 @@ var ej = Ks((e) => {
25409
25409
  }, g_, y_, oj = {
25410
25410
  outline: (e) => {
25411
25411
  var n, a;
25412
- return (a = (n = W1.variants) == null ? void 0 : n.outline(e).field) != null ? a : {};
25412
+ return (a = (n = G1.variants) == null ? void 0 : n.outline(e).field) != null ? a : {};
25413
25413
  },
25414
25414
  flushed: (e) => {
25415
25415
  var n, a;
25416
- return (a = (n = W1.variants) == null ? void 0 : n.flushed(e).field) != null ? a : {};
25416
+ return (a = (n = G1.variants) == null ? void 0 : n.flushed(e).field) != null ? a : {};
25417
25417
  },
25418
25418
  filled: (e) => {
25419
25419
  var n, a;
25420
- return (a = (n = W1.variants) == null ? void 0 : n.filled(e).field) != null ? a : {};
25420
+ return (a = (n = G1.variants) == null ? void 0 : n.filled(e).field) != null ? a : {};
25421
25421
  },
25422
- unstyled: (y_ = (g_ = W1.variants) == null ? void 0 : g_.unstyled.field) != null ? y_ : {}
25422
+ unstyled: (y_ = (g_ = G1.variants) == null ? void 0 : g_.unstyled.field) != null ? y_ : {}
25423
25423
  }, b_, w_, x_, k_, S_, __, T_, E_, lj = {
25424
- xs: (w_ = (b_ = W1.sizes) == null ? void 0 : b_.xs.field) != null ? w_ : {},
25425
- sm: (k_ = (x_ = W1.sizes) == null ? void 0 : x_.sm.field) != null ? k_ : {},
25426
- md: (__ = (S_ = W1.sizes) == null ? void 0 : S_.md.field) != null ? __ : {},
25427
- lg: (E_ = (T_ = W1.sizes) == null ? void 0 : T_.lg.field) != null ? E_ : {}
25424
+ xs: (w_ = (b_ = G1.sizes) == null ? void 0 : b_.xs.field) != null ? w_ : {},
25425
+ sm: (k_ = (x_ = G1.sizes) == null ? void 0 : x_.sm.field) != null ? k_ : {},
25426
+ md: (__ = (S_ = G1.sizes) == null ? void 0 : S_.md.field) != null ? __ : {},
25427
+ lg: (E_ = (T_ = G1.sizes) == null ? void 0 : T_.lg.field) != null ? E_ : {}
25428
25428
  }, sj = {
25429
25429
  baseStyle: ij,
25430
25430
  sizes: lj,
@@ -25630,7 +25630,7 @@ var { definePartsStyle: of, defineMultiStyleConfig: wj } = gn(hz.keys), W4 = Wt(
25630
25630
  colorScheme: "blue"
25631
25631
  }
25632
25632
  }), { defineMultiStyleConfig: Vj, definePartsStyle: Dj } = gn(Tz.keys), Vd = Wt("select-bg"), L_, Hj = {
25633
- ...(L_ = W1.baseStyle) == null ? void 0 : L_.field,
25633
+ ...(L_ = G1.baseStyle) == null ? void 0 : L_.field,
25634
25634
  appearance: "none",
25635
25635
  paddingBottom: "1px",
25636
25636
  lineHeight: "normal",
@@ -25659,30 +25659,30 @@ var { definePartsStyle: of, defineMultiStyleConfig: wj } = gn(hz.keys), W4 = Wt(
25659
25659
  paddingInlineEnd: "8"
25660
25660
  }, M_, A_, O_, I_, V_, D_, H_, R_, Pj = {
25661
25661
  lg: {
25662
- ...(M_ = W1.sizes) == null ? void 0 : M_.lg,
25662
+ ...(M_ = G1.sizes) == null ? void 0 : M_.lg,
25663
25663
  field: {
25664
- ...(A_ = W1.sizes) == null ? void 0 : A_.lg.field,
25664
+ ...(A_ = G1.sizes) == null ? void 0 : A_.lg.field,
25665
25665
  ...Dd
25666
25666
  }
25667
25667
  },
25668
25668
  md: {
25669
- ...(O_ = W1.sizes) == null ? void 0 : O_.md,
25669
+ ...(O_ = G1.sizes) == null ? void 0 : O_.md,
25670
25670
  field: {
25671
- ...(I_ = W1.sizes) == null ? void 0 : I_.md.field,
25671
+ ...(I_ = G1.sizes) == null ? void 0 : I_.md.field,
25672
25672
  ...Dd
25673
25673
  }
25674
25674
  },
25675
25675
  sm: {
25676
- ...(V_ = W1.sizes) == null ? void 0 : V_.sm,
25676
+ ...(V_ = G1.sizes) == null ? void 0 : V_.sm,
25677
25677
  field: {
25678
- ...(D_ = W1.sizes) == null ? void 0 : D_.sm.field,
25678
+ ...(D_ = G1.sizes) == null ? void 0 : D_.sm.field,
25679
25679
  ...Dd
25680
25680
  }
25681
25681
  },
25682
25682
  xs: {
25683
- ...(H_ = W1.sizes) == null ? void 0 : H_.xs,
25683
+ ...(H_ = G1.sizes) == null ? void 0 : H_.xs,
25684
25684
  field: {
25685
- ...(R_ = W1.sizes) == null ? void 0 : R_.xs.field,
25685
+ ...(R_ = G1.sizes) == null ? void 0 : R_.xs.field,
25686
25686
  ...Dd
25687
25687
  },
25688
25688
  icon: {
@@ -25692,8 +25692,8 @@ var { definePartsStyle: of, defineMultiStyleConfig: wj } = gn(hz.keys), W4 = Wt(
25692
25692
  }, Bj = Vj({
25693
25693
  baseStyle: Nj,
25694
25694
  sizes: Pj,
25695
- variants: W1.variants,
25696
- defaultProps: W1.defaultProps
25695
+ variants: G1.variants,
25696
+ defaultProps: G1.defaultProps
25697
25697
  }), wv = Wt("skeleton-start-color"), xv = Wt("skeleton-end-color"), Fj = {
25698
25698
  [wv.variable]: "colors.gray.100",
25699
25699
  [xv.variable]: "colors.gray.400",
@@ -26108,7 +26108,7 @@ var Z$ = {
26108
26108
  [fM.variable]: j$
26109
26109
  }, G$ = (e) => {
26110
26110
  var n, a;
26111
- return (a = (n = Xa(W1.baseStyle, e)) == null ? void 0 : n.field) != null ? a : {};
26111
+ return (a = (n = Xa(G1.baseStyle, e)) == null ? void 0 : n.field) != null ? a : {};
26112
26112
  }, W$ = {
26113
26113
  width: Hy.reference
26114
26114
  }, X$ = {
@@ -26143,7 +26143,7 @@ var Z$ = {
26143
26143
  });
26144
26144
  function Hd(e) {
26145
26145
  var n, a, i;
26146
- const l = (n = W1.sizes) == null ? void 0 : n[e], d = {
26146
+ const l = (n = G1.sizes) == null ? void 0 : n[e], d = {
26147
26147
  lg: "md",
26148
26148
  md: "md",
26149
26149
  sm: "sm",
@@ -26176,10 +26176,10 @@ var q$ = {
26176
26176
  }, J$ = U$({
26177
26177
  baseStyle: Y$,
26178
26178
  sizes: q$,
26179
- variants: W1.variants,
26180
- defaultProps: W1.defaultProps
26179
+ variants: G1.variants,
26180
+ defaultProps: G1.defaultProps
26181
26181
  }), N_, K$ = {
26182
- ...(N_ = W1.baseStyle) == null ? void 0 : N_.field,
26182
+ ...(N_ = G1.baseStyle) == null ? void 0 : N_.field,
26183
26183
  textAlign: "center"
26184
26184
  }, Q$ = {
26185
26185
  lg: {
@@ -26209,22 +26209,22 @@ var q$ = {
26209
26209
  }, P_, B_, eG = {
26210
26210
  outline: (e) => {
26211
26211
  var n, a, i;
26212
- return (i = (a = Xa((n = W1.variants) == null ? void 0 : n.outline, e)) == null ? void 0 : a.field) != null ? i : {};
26212
+ return (i = (a = Xa((n = G1.variants) == null ? void 0 : n.outline, e)) == null ? void 0 : a.field) != null ? i : {};
26213
26213
  },
26214
26214
  flushed: (e) => {
26215
26215
  var n, a, i;
26216
- return (i = (a = Xa((n = W1.variants) == null ? void 0 : n.flushed, e)) == null ? void 0 : a.field) != null ? i : {};
26216
+ return (i = (a = Xa((n = G1.variants) == null ? void 0 : n.flushed, e)) == null ? void 0 : a.field) != null ? i : {};
26217
26217
  },
26218
26218
  filled: (e) => {
26219
26219
  var n, a, i;
26220
- return (i = (a = Xa((n = W1.variants) == null ? void 0 : n.filled, e)) == null ? void 0 : a.field) != null ? i : {};
26220
+ return (i = (a = Xa((n = G1.variants) == null ? void 0 : n.filled, e)) == null ? void 0 : a.field) != null ? i : {};
26221
26221
  },
26222
- unstyled: (B_ = (P_ = W1.variants) == null ? void 0 : P_.unstyled.field) != null ? B_ : {}
26222
+ unstyled: (B_ = (P_ = G1.variants) == null ? void 0 : P_.unstyled.field) != null ? B_ : {}
26223
26223
  }, tG = {
26224
26224
  baseStyle: K$,
26225
26225
  sizes: Q$,
26226
26226
  variants: eG,
26227
- defaultProps: W1.defaultProps
26227
+ defaultProps: G1.defaultProps
26228
26228
  }, { defineMultiStyleConfig: nG, definePartsStyle: rG } = gn(kz.keys), Rd = Ir("popper-bg"), aG = Ir("popper-arrow-bg"), F_ = Ir("popper-arrow-shadow-color"), iG = { zIndex: 10 }, oG = {
26229
26229
  [Rd.variable]: "colors.white",
26230
26230
  bg: Rd.reference,
@@ -27036,7 +27036,7 @@ var YW = {
27036
27036
  FormError: zG,
27037
27037
  FormLabel: jG,
27038
27038
  Heading: WG,
27039
- Input: W1,
27039
+ Input: G1,
27040
27040
  Kbd: h$,
27041
27041
  Link: m$,
27042
27042
  List: b$,
@@ -27560,7 +27560,7 @@ function EX(e = {}) {
27560
27560
  ];
27561
27561
  }
27562
27562
  function LX(e) {
27563
- const { cssVarsRoot: n, theme: a, children: i } = e, l = z1(() => yZ(a), [a]);
27563
+ const { cssVarsRoot: n, theme: a, children: i } = e, l = W1(() => yZ(a), [a]);
27564
27564
  return /* @__PURE__ */ Q(VB, { theme: l, children: [
27565
27565
  /* @__PURE__ */ f(MX, { root: n }),
27566
27566
  i
@@ -27602,7 +27602,7 @@ function OX({ defer: e } = {}) {
27602
27602
  }, [e]), Rn(Py);
27603
27603
  }
27604
27604
  function kM(e) {
27605
- const { children: n, environment: a, disabled: i } = e, l = Lt(null), d = z1(() => a || {
27605
+ const { children: n, environment: a, disabled: i } = e, l = Lt(null), d = W1(() => a || {
27606
27606
  getDocument: () => {
27607
27607
  var m, p;
27608
27608
  return (p = (m = l.current) == null ? void 0 : m.ownerDocument) != null ? p : document;
@@ -27794,7 +27794,7 @@ function BX(e, n) {
27794
27794
  }
27795
27795
  function FX(e) {
27796
27796
  const { initial: n, animate: a } = BX(e, Rn(hh));
27797
- return z1(() => ({ initial: n, animate: a }), [G_(n), G_(a)]);
27797
+ return W1(() => ({ initial: n, animate: a }), [G_(n), G_(a)]);
27798
27798
  }
27799
27799
  function G_(e) {
27800
27800
  return Array.isArray(e) ? e.join(" ") : e;
@@ -28095,7 +28095,7 @@ function DM(e, n, a) {
28095
28095
  !Ei(n[i]) && !MM(i, a) && (e[i] = n[i]);
28096
28096
  }
28097
28097
  function nY({ transformTemplate: e }, n, a) {
28098
- return z1(() => {
28098
+ return W1(() => {
28099
28099
  const i = $y();
28100
28100
  return jy(i, n, { enableHardwareAcceleration: !a }, e), Object.assign({}, i.vars, i.style);
28101
28101
  }, [n]);
@@ -28207,7 +28207,7 @@ const RM = () => ({
28207
28207
  attrs: {}
28208
28208
  }), Wy = (e) => typeof e == "string" && e.toLowerCase() === "svg";
28209
28209
  function fY(e, n, a, i) {
28210
- const l = z1(() => {
28210
+ const l = W1(() => {
28211
28211
  const d = RM();
28212
28212
  return Gy(d, n, { enableHardwareAcceleration: !1 }, Wy(i), e.transformTemplate), {
28213
28213
  ...d.attrs,
@@ -28226,7 +28226,7 @@ function hY(e = !1) {
28226
28226
  ...lY(i, typeof a == "string", e),
28227
28227
  ...p,
28228
28228
  ref: l
28229
- }, { children: y } = i, b = z1(() => Ei(y) ? y.get() : y, [y]);
28229
+ }, { children: y } = i, b = W1(() => Ei(y) ? y.get() : y, [y]);
28230
28230
  return LL(a, {
28231
28231
  ...g,
28232
28232
  children: b
@@ -31935,7 +31935,7 @@ function XK({ children: e, isPresent: n }) {
31935
31935
  }, [n]), pt.createElement(WK, { isPresent: n, childRef: i, sizeRef: l }, pt.cloneElement(e, { ref: i }));
31936
31936
  }
31937
31937
  const Wv = ({ children: e, initial: n, isPresent: a, onExitComplete: i, custom: l, presenceAffectsLayout: d, mode: c }) => {
31938
- const m = ZM(YK), p = ol(), v = z1(
31938
+ const m = ZM(YK), p = ol(), v = W1(
31939
31939
  () => ({
31940
31940
  id: p,
31941
31941
  initial: n,
@@ -31957,7 +31957,7 @@ const Wv = ({ children: e, initial: n, isPresent: a, onExitComplete: i, custom:
31957
31957
  */
31958
31958
  d ? void 0 : [a]
31959
31959
  );
31960
- return z1(() => {
31960
+ return W1(() => {
31961
31961
  m.forEach((g, y) => m.set(y, !1));
31962
31962
  }, [a]), pt.useEffect(() => {
31963
31963
  !a && !m.size && i && i();
@@ -32083,7 +32083,7 @@ var QK = {
32083
32083
  d1(() => {
32084
32084
  w && d && l();
32085
32085
  }, [w, d, l]), RX(k, y);
32086
- const M = z1(
32086
+ const M = W1(
32087
32087
  () => ({
32088
32088
  pointerEvents: "auto",
32089
32089
  maxWidth: 560,
@@ -32092,7 +32092,7 @@ var QK = {
32092
32092
  ...p
32093
32093
  }),
32094
32094
  [p, g]
32095
- ), L = z1(() => DX(c), [c]);
32095
+ ), L = W1(() => DX(c), [c]);
32096
32096
  return /* @__PURE__ */ f(
32097
32097
  cc.div,
32098
32098
  {
@@ -32674,7 +32674,7 @@ function Xr(...e) {
32674
32674
  };
32675
32675
  }
32676
32676
  function wQ(...e) {
32677
- return z1(() => Xr(...e), e);
32677
+ return W1(() => Xr(...e), e);
32678
32678
  }
32679
32679
  function xQ() {
32680
32680
  const e = Lt(new yQ());
@@ -32924,7 +32924,7 @@ var iO = o1(
32924
32924
  const { children: i, className: l } = n, { htmlProps: d, ...c } = IQ(n), p = {
32925
32925
  ...cb().container,
32926
32926
  overflowAnchor: "none"
32927
- }, v = z1(() => c, [c]);
32927
+ }, v = W1(() => c, [c]);
32928
32928
  return /* @__PURE__ */ f(TQ, { value: v, children: /* @__PURE__ */ f(
32929
32929
  It.div,
32930
32930
  {
@@ -33062,7 +33062,7 @@ var lO = o1(
33062
33062
  );
33063
33063
  lO.displayName = "AccordionPanel";
33064
33064
  var BQ = o1(function({ children: n, reduceMotion: a, ...i }, l) {
33065
- const d = l5("Accordion", i), c = Oa(i), { htmlProps: m, descendants: p, ...v } = AQ(c), g = z1(
33065
+ const d = l5("Accordion", i), c = Oa(i), { htmlProps: m, descendants: p, ...v } = AQ(c), g = W1(
33066
33066
  () => ({ ...v, reduceMotion: !!a }),
33067
33067
  [v, a]
33068
33068
  );
@@ -33215,7 +33215,7 @@ function Yg(e) {
33215
33215
  className: d,
33216
33216
  __css: c,
33217
33217
  ...m
33218
- } = e, p = E1("chakra-button__spinner", d), v = a === "start" ? "marginEnd" : "marginStart", g = z1(
33218
+ } = e, p = E1("chakra-button__spinner", d), v = a === "start" ? "marginEnd" : "marginStart", g = W1(
33219
33219
  () => ({
33220
33220
  display: "flex",
33221
33221
  alignItems: "center",
@@ -33246,7 +33246,7 @@ var wh = o1((e, n) => {
33246
33246
  className: T,
33247
33247
  as: k,
33248
33248
  ...M
33249
- } = Oa(e), L = z1(() => {
33249
+ } = Oa(e), L = W1(() => {
33250
33250
  const P = { ...i == null ? void 0 : i._focus, zIndex: 1 };
33251
33251
  return {
33252
33252
  display: "inline-flex",
@@ -36252,7 +36252,7 @@ var [y1e, b1e] = Or({
36252
36252
  isDisabled: m,
36253
36253
  isFocusable: p,
36254
36254
  ...v
36255
- } = e, { value: g, onChange: y, getRootProps: b, name: w, htmlProps: S } = g1e(v), T = z1(
36255
+ } = e, { value: g, onChange: y, getRootProps: b, name: w, htmlProps: S } = g1e(v), T = W1(
36256
36256
  () => ({
36257
36257
  name: w,
36258
36258
  size: i,
@@ -36585,7 +36585,7 @@ var FO = o1(function(n, a) {
36585
36585
  getCheckboxProps: v,
36586
36586
  getRootProps: g,
36587
36587
  getLabelProps: y
36588
- } = hb(c), b = z1(
36588
+ } = hb(c), b = W1(
36589
36589
  () => ({
36590
36590
  display: "inline-block",
36591
36591
  position: "relative",
@@ -36594,7 +36594,7 @@ var FO = o1(function(n, a) {
36594
36594
  ...i.container
36595
36595
  }),
36596
36596
  [i.container]
36597
- ), w = z1(
36597
+ ), w = W1(
36598
36598
  () => ({
36599
36599
  display: "inline-flex",
36600
36600
  flexShrink: 0,
@@ -36604,7 +36604,7 @@ var FO = o1(function(n, a) {
36604
36604
  ...i.track
36605
36605
  }),
36606
36606
  [i.track]
36607
- ), S = z1(
36607
+ ), S = W1(
36608
36608
  () => ({
36609
36609
  userSelect: "none",
36610
36610
  marginStart: l,
@@ -36808,7 +36808,7 @@ var [F1e, Lh] = Or({
36808
36808
  name: "TabsStylesContext",
36809
36809
  errorMessage: `useTabsStyles returned is 'undefined'. Seems you forgot to wrap the components in "<Tabs />" `
36810
36810
  }), Ab = o1(function(n, a) {
36811
- const i = l5("Tabs", n), { children: l, className: d, ...c } = Oa(n), { htmlProps: m, descendants: p, ...v } = I1e(c), g = z1(() => v, [v]), { isFitted: y, ...b } = m, w = {
36811
+ const i = l5("Tabs", n), { children: l, className: d, ...c } = Oa(n), { htmlProps: m, descendants: p, ...v } = I1e(c), g = W1(() => v, [v]), { isFitted: y, ...b } = m, w = {
36812
36812
  position: "relative",
36813
36813
  ...i.root
36814
36814
  };
@@ -49292,7 +49292,7 @@ var aI = function(n) {
49292
49292
  zIndex: 1
49293
49293
  };
49294
49294
  }, pre = function(n) {
49295
- var a = n.appendTo, i = n.children, l = n.controlElement, d = n.innerProps, c = n.menuPlacement, m = n.menuPosition, p = Lt(null), v = Lt(null), g = Et(aI(c)), y = Wr(g, 2), b = y[0], w = y[1], S = z1(function() {
49295
+ var a = n.appendTo, i = n.children, l = n.controlElement, d = n.innerProps, c = n.menuPlacement, m = n.menuPosition, p = Lt(null), v = Lt(null), g = Et(aI(c)), y = Wr(g, 2), b = y[0], w = y[1], S = W1(function() {
49296
49296
  return {
49297
49297
  setPortalPlacement: w
49298
49298
  };
@@ -49899,9 +49899,9 @@ var vae = process.env.NODE_ENV === "production" ? {
49899
49899
  return "".concat(i).concat(a ? " for search term " + a : "", ".");
49900
49900
  }
49901
49901
  }, bae = function(n) {
49902
- var a = n.ariaSelection, i = n.focusedOption, l = n.focusedValue, d = n.focusableOptions, c = n.isFocused, m = n.selectValue, p = n.selectProps, v = n.id, g = n.isAppleDevice, y = p.ariaLiveMessages, b = p.getOptionLabel, w = p.inputValue, S = p.isMulti, T = p.isOptionDisabled, k = p.isSearchable, M = p.menuIsOpen, L = p.options, I = p.screenReaderStatus, E = p.tabSelectsValue, O = p.isLoading, P = p["aria-label"], H = p["aria-live"], N = z1(function() {
49902
+ var a = n.ariaSelection, i = n.focusedOption, l = n.focusedValue, d = n.focusableOptions, c = n.isFocused, m = n.selectValue, p = n.selectProps, v = n.id, g = n.isAppleDevice, y = p.ariaLiveMessages, b = p.getOptionLabel, w = p.inputValue, S = p.isMulti, T = p.isOptionDisabled, k = p.isSearchable, M = p.menuIsOpen, L = p.options, I = p.screenReaderStatus, E = p.tabSelectsValue, O = p.isLoading, P = p["aria-label"], H = p["aria-live"], N = W1(function() {
49903
49903
  return Dt(Dt({}, yae), y || {});
49904
- }, [y]), $ = z1(function() {
49904
+ }, [y]), $ = W1(function() {
49905
49905
  var K = "";
49906
49906
  if (a && N.onChange) {
49907
49907
  var ne = a.option, re = a.options, fe = a.removedValue, ue = a.removedValues, Y = a.value, U = function(Ce) {
@@ -49916,7 +49916,7 @@ var vae = process.env.NODE_ENV === "production" ? {
49916
49916
  K = N.onChange(ee);
49917
49917
  }
49918
49918
  return K;
49919
- }, [a, N, T, m, b]), F = z1(function() {
49919
+ }, [a, N, T, m, b]), F = W1(function() {
49920
49920
  var K = "", ne = i || l, re = !!(i && m && m.includes(i));
49921
49921
  if (ne && N.onFocus) {
49922
49922
  var fe = {
@@ -49932,7 +49932,7 @@ var vae = process.env.NODE_ENV === "production" ? {
49932
49932
  K = N.onFocus(fe);
49933
49933
  }
49934
49934
  return K;
49935
- }, [i, l, b, T, N, d, m, g]), B = z1(function() {
49935
+ }, [i, l, b, T, N, d, m, g]), B = W1(function() {
49936
49936
  var K = "";
49937
49937
  if (M && L.length && !O && N.onFilter) {
49938
49938
  var ne = I({
@@ -49944,7 +49944,7 @@ var vae = process.env.NODE_ENV === "production" ? {
49944
49944
  });
49945
49945
  }
49946
49946
  return K;
49947
- }, [d, w, M, N, L, I, O]), z = (a == null ? void 0 : a.action) === "initial-input-focus", X = z1(function() {
49947
+ }, [d, w, M, N, L, I, O]), z = (a == null ? void 0 : a.action) === "initial-input-focus", X = W1(function() {
49948
49948
  var K = "";
49949
49949
  if (N.guidance) {
49950
49950
  var ne = l ? "value" : M ? "menu" : "input";
@@ -51621,12 +51621,12 @@ var nie = /* @__PURE__ */ v2(function(e, n) {
51621
51621
  }
51622
51622
  };
51623
51623
  function iie(e) {
51624
- var n = e.allowCreateWhileLoading, a = n === void 0 ? !1 : n, i = e.createOptionPosition, l = i === void 0 ? "last" : i, d = e.formatCreateLabel, c = d === void 0 ? lg.formatCreateLabel : d, m = e.isValidNewOption, p = m === void 0 ? lg.isValidNewOption : m, v = e.getNewOptionData, g = v === void 0 ? lg.getNewOptionData : v, y = e.onCreateOption, b = e.options, w = b === void 0 ? [] : b, S = e.onChange, T = ll(e, aie), k = T.getOptionValue, M = k === void 0 ? CI : k, L = T.getOptionLabel, I = L === void 0 ? mI : L, E = T.inputValue, O = T.isLoading, P = T.isMulti, H = T.value, N = T.name, $ = z1(function() {
51624
+ var n = e.allowCreateWhileLoading, a = n === void 0 ? !1 : n, i = e.createOptionPosition, l = i === void 0 ? "last" : i, d = e.formatCreateLabel, c = d === void 0 ? lg.formatCreateLabel : d, m = e.isValidNewOption, p = m === void 0 ? lg.isValidNewOption : m, v = e.getNewOptionData, g = v === void 0 ? lg.getNewOptionData : v, y = e.onCreateOption, b = e.options, w = b === void 0 ? [] : b, S = e.onChange, T = ll(e, aie), k = T.getOptionValue, M = k === void 0 ? CI : k, L = T.getOptionLabel, I = L === void 0 ? mI : L, E = T.inputValue, O = T.isLoading, P = T.isMulti, H = T.value, N = T.name, $ = W1(function() {
51625
51625
  return p(E, $f(H), w, {
51626
51626
  getOptionValue: M,
51627
51627
  getOptionLabel: I
51628
51628
  }) ? g(E, c(E)) : void 0;
51629
- }, [c, g, I, M, E, p, w, H]), F = z1(function() {
51629
+ }, [c, g, I, M, E, p, w, H]), F = W1(function() {
51630
51630
  return (a || !O) && $ ? l === "first" ? [$].concat(K3(w)) : [].concat(K3(w), [$]) : w;
51631
51631
  }, [a, l, O, $, w]), B = it(function(z, X) {
51632
51632
  if (X.action !== "select-option")
@@ -54347,9 +54347,9 @@ var pie = function(e) {
54347
54347
  }
54348
54348
  function Nn(he, He, Ye, at, ut) {
54349
54349
  return he === He || (he == null || He == null || !vr(he) && !gr(He) ? he != he && He != He : function(Mt, Ht, mt, h1, g1, f1) {
54350
- var Pn = Hr(Mt), tn = Hr(Ht), U1 = "[object Array]", x1 = "[object Array]";
54351
- Pn || (U1 = (U1 = Va(Mt)) == d ? m : U1), tn || (x1 = (x1 = Va(Ht)) == d ? m : x1);
54352
- var nr = U1 == m && !z(Mt), Ka = x1 == m && !z(Ht), Qa = U1 == x1;
54350
+ var Pn = Hr(Mt), tn = Hr(Ht), z1 = "[object Array]", x1 = "[object Array]";
54351
+ Pn || (z1 = (z1 = Va(Mt)) == d ? m : z1), tn || (x1 = (x1 = Va(Ht)) == d ? m : x1);
54352
+ var nr = z1 == m && !z(Mt), Ka = x1 == m && !z(Ht), Qa = z1 == x1;
54353
54353
  if (Qa && !nr)
54354
54354
  return f1 || (f1 = new jt()), Pn || Wn(Mt) ? rs(Mt, Ht, mt, h1, g1, f1) : function(S1, s1, Oi, ha, Ji, hn, Da) {
54355
54355
  switch (Oi) {
@@ -54385,7 +54385,7 @@ var pie = function(e) {
54385
54385
  return qe.call(S1) == qe.call(s1);
54386
54386
  }
54387
54387
  return !1;
54388
- }(Mt, Ht, U1, mt, h1, g1, f1);
54388
+ }(Mt, Ht, z1, mt, h1, g1, f1);
54389
54389
  if (!(2 & g1)) {
54390
54390
  var ei = nr && le.call(Mt, "__wrapped__"), Mi = Ka && le.call(Ht, "__wrapped__");
54391
54391
  if (ei || Mi) {
@@ -54441,8 +54441,8 @@ var pie = function(e) {
54441
54441
  return Ht === void 0 && Ht === ut ? function(mt, h1) {
54442
54442
  return mt != null && function(g1, f1, Pn) {
54443
54443
  f1 = Li(f1, g1) ? [f1] : I1(f1);
54444
- for (var tn, U1 = -1, x1 = f1.length; ++U1 < x1; ) {
54445
- var nr = da(f1[U1]);
54444
+ for (var tn, z1 = -1, x1 = f1.length; ++z1 < x1; ) {
54445
+ var nr = da(f1[z1]);
54446
54446
  if (!(tn = g1 != null && Pn(g1, nr)))
54447
54447
  break;
54448
54448
  g1 = g1[nr];
@@ -54465,13 +54465,13 @@ var pie = function(e) {
54465
54465
  if (Ht == null)
54466
54466
  return !Pn;
54467
54467
  for (Ht = Object(Ht); f1--; ) {
54468
- var U1 = h1[f1];
54469
- if (tn && U1[2] ? U1[1] !== Ht[U1[0]] : !(U1[0] in Ht))
54468
+ var z1 = h1[f1];
54469
+ if (tn && z1[2] ? z1[1] !== Ht[z1[0]] : !(z1[0] in Ht))
54470
54470
  return !1;
54471
54471
  }
54472
54472
  for (; ++f1 < Pn; ) {
54473
- var x1 = (U1 = h1[f1])[0], nr = Ht[x1], Ka = U1[1];
54474
- if (tn && U1[2]) {
54473
+ var x1 = (z1 = h1[f1])[0], nr = Ht[x1], Ka = z1[1];
54474
+ if (tn && z1[2]) {
54475
54475
  if (nr === void 0 && !(x1 in Ht))
54476
54476
  return !1;
54477
54477
  } else {
@@ -54514,9 +54514,9 @@ var pie = function(e) {
54514
54514
  return g1 == He;
54515
54515
  var f1 = -1, Pn = !0, tn = 1 & ut ? new fn() : void 0;
54516
54516
  for (Mt.set(he, He), Mt.set(He, he); ++f1 < mt; ) {
54517
- var U1 = he[f1], x1 = He[f1];
54517
+ var z1 = he[f1], x1 = He[f1];
54518
54518
  if (at)
54519
- var nr = Ht ? at(x1, U1, f1, He, he, Mt) : at(U1, x1, f1, he, He, Mt);
54519
+ var nr = Ht ? at(x1, z1, f1, He, he, Mt) : at(z1, x1, f1, he, He, Mt);
54520
54520
  if (nr !== void 0) {
54521
54521
  if (nr)
54522
54522
  continue;
@@ -54525,13 +54525,13 @@ var pie = function(e) {
54525
54525
  }
54526
54526
  if (tn) {
54527
54527
  if (!F(He, function(Ka, Qa) {
54528
- if (!tn.has(Qa) && (U1 === Ka || Ye(U1, Ka, at, ut, Mt)))
54528
+ if (!tn.has(Qa) && (z1 === Ka || Ye(z1, Ka, at, ut, Mt)))
54529
54529
  return tn.add(Qa);
54530
54530
  })) {
54531
54531
  Pn = !1;
54532
54532
  break;
54533
54533
  }
54534
- } else if (U1 !== x1 && !Ye(U1, x1, at, ut, Mt)) {
54534
+ } else if (z1 !== x1 && !Ye(z1, x1, at, ut, Mt)) {
54535
54535
  Pn = !1;
54536
54536
  break;
54537
54537
  }
@@ -63749,24 +63749,20 @@ const n0e = ({
63749
63749
  hasGenerateWithAi: p,
63750
63750
  ...v
63751
63751
  }) => {
63752
- const g = Lt(null), y = () => {
63753
- let w;
63754
- window && (w = document.createElement("input"), g.current.getEditor(), w.setAttribute("type", "file"), w.setAttribute("accept", "image/*"), w.click(), w.onchange = () => {
63755
- const S = w && w.files && w.files[0];
63756
- S && d(S);
63757
- });
63758
- }, b = z1(
63759
- () => ({
63760
- toolbar: {
63761
- container: "#toolbar",
63762
- handlers: {
63763
- image: y
63752
+ const g = Lt(null), b = {
63753
+ toolbar: {
63754
+ container: "#toolbar",
63755
+ handlers: {
63756
+ image: () => {
63757
+ let w;
63758
+ window && (w = document.createElement("input"), g.current.getEditor(), w.setAttribute("type", "file"), w.setAttribute("accept", "image/*"), w.click(), w.onchange = () => {
63759
+ const S = w && w.files && w.files[0];
63760
+ S && d(S);
63761
+ });
63764
63762
  }
63765
63763
  }
63766
- }),
63767
- // eslint-disable-next-line
63768
- []
63769
- );
63764
+ }
63765
+ };
63770
63766
  return /* @__PURE__ */ Q(v1, { w: "full", fontFamily: "Degular", fontWeight: 500, className: "ms-ds", children: [
63771
63767
  c && /* @__PURE__ */ f(
63772
63768
  dc,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mainstack-design-system",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "type": "module",
5
5
  "main": "build/mainstack-design-system.js",
6
6
  "types": "build/src/index.d.ts",