@fabio.caffarello/react-design-system 3.2.0 → 3.3.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.
@@ -20,14 +20,14 @@ var h = (r, a) => {
20
20
  return n;
21
21
  };
22
22
  var Q = (r, a, n) => K(r, typeof a != "symbol" ? a + "" : a, n);
23
- import { jsx as d, jsxs as C } from "react/jsx-runtime";
23
+ import { jsx as c, jsxs as z } from "react/jsx-runtime";
24
24
  import * as S from "react";
25
- import re, { memo as H, forwardRef as j } from "react";
25
+ import re, { memo as H, forwardRef as O } from "react";
26
26
  import { clsx as de } from "clsx";
27
27
  import { twMerge as ce } from "tailwind-merge";
28
28
  import { cva as fe } from "class-variance-authority";
29
29
  import { X as pe, AlertCircle as ue, Loader2 as me, CheckCircle2 as J } from "lucide-react";
30
- class I {
30
+ class A {
31
31
  /**
32
32
  * Create a radius token
33
33
  */
@@ -84,16 +84,16 @@ class I {
84
84
  }
85
85
  }
86
86
  const be = {
87
- none: I.create("none"),
88
- sm: I.create("sm"),
89
- md: I.create("md"),
90
- lg: I.create("lg"),
91
- xl: I.create("xl"),
92
- "2xl": I.create("2xl"),
93
- "3xl": I.create("3xl"),
94
- full: I.create("full")
87
+ none: A.create("none"),
88
+ sm: A.create("sm"),
89
+ md: A.create("md"),
90
+ lg: A.create("lg"),
91
+ xl: A.create("xl"),
92
+ "2xl": A.create("2xl"),
93
+ "3xl": A.create("3xl"),
94
+ full: A.create("full")
95
95
  };
96
- function M(r) {
96
+ function C(r) {
97
97
  return be[r].tailwind;
98
98
  }
99
99
  class k {
@@ -317,7 +317,7 @@ function D(r) {
317
317
  const a = Y[r];
318
318
  return `${a.fontSize.tailwind} ${a.lineHeight.tailwind} ${a.fontWeight.tailwind}`;
319
319
  }
320
- function L(r) {
320
+ function M(r) {
321
321
  return Y[r].fontSize.tailwind;
322
322
  }
323
323
  function B(r) {
@@ -326,20 +326,20 @@ function B(r) {
326
326
  function l(...r) {
327
327
  return ce(de(r));
328
328
  }
329
- const R = (r, a) => {
329
+ const j = (r, a) => {
330
330
  const n = fe(r, a);
331
331
  return ((t) => {
332
332
  const i = n(t);
333
333
  return l(i);
334
334
  });
335
- }, xe = R(
335
+ }, xe = j(
336
336
  // Base classes
337
337
  l(
338
338
  "inline-flex",
339
339
  "items-center",
340
340
  "justify-center",
341
341
  B("label"),
342
- M("md"),
342
+ C("md"),
343
343
  "border"
344
344
  ),
345
345
  {
@@ -357,17 +357,17 @@ const R = (r, a) => {
357
357
  sm: l(
358
358
  o("1.5", "px"),
359
359
  o("0.5", "py"),
360
- L("caption")
360
+ M("caption")
361
361
  ),
362
362
  md: l(
363
363
  o("sm", "px"),
364
364
  o("xs", "py"),
365
- L("caption")
365
+ M("caption")
366
366
  ),
367
367
  lg: l(
368
368
  o("sm", "px"),
369
369
  o("xs", "py"),
370
- L("bodySmall")
370
+ M("bodySmall")
371
371
  )
372
372
  },
373
373
  style: {
@@ -471,14 +471,14 @@ const R = (r, a) => {
471
471
  }
472
472
  }
473
473
  ), ye = H(
474
- j(function(b, p) {
474
+ O(function(b, p) {
475
475
  var u = b, {
476
476
  variant: a = "neutral",
477
477
  size: n = "md",
478
478
  style: t = "solid",
479
479
  className: i = "",
480
480
  children: s,
481
- "aria-label": c
481
+ "aria-label": d
482
482
  } = u, f = h(u, [
483
483
  "variant",
484
484
  "size",
@@ -489,15 +489,15 @@ const R = (r, a) => {
489
489
  ]);
490
490
  const x = l(xe({ variant: a, size: n, style: t }), i);
491
491
  let g;
492
- if (c)
493
- g = c;
492
+ if (d)
493
+ g = d;
494
494
  else if (typeof s == "string")
495
495
  g = s;
496
496
  else if (typeof s == "object" && s !== null && "props" in s) {
497
497
  const y = s.props;
498
498
  y != null && y.children && typeof y.children == "string" && (g = y.children);
499
499
  }
500
- return /* @__PURE__ */ d(
500
+ return /* @__PURE__ */ c(
501
501
  "span",
502
502
  v(m({
503
503
  ref: p,
@@ -542,14 +542,14 @@ function ne(r) {
542
542
  // @__NO_SIDE_EFFECTS__
543
543
  function ke(r) {
544
544
  const a = /* @__PURE__ */ Ne(r), n = S.forwardRef((t, i) => {
545
- let b = t, { children: s } = b, c = h(b, ["children"]);
545
+ let b = t, { children: s } = b, d = h(b, ["children"]);
546
546
  ne(s) && typeof U == "function" && (s = U(s._payload));
547
547
  const f = S.Children.toArray(s), p = f.find(Te);
548
548
  if (p) {
549
549
  const u = p.props.children, x = f.map((g) => g === p ? S.Children.count(u) > 1 ? S.Children.only(null) : S.isValidElement(u) ? u.props.children : null : g);
550
- return /* @__PURE__ */ d(a, v(m({}, c), { ref: i, children: S.isValidElement(u) ? S.cloneElement(u, void 0, x) : null }));
550
+ return /* @__PURE__ */ c(a, v(m({}, d), { ref: i, children: S.isValidElement(u) ? S.cloneElement(u, void 0, x) : null }));
551
551
  }
552
- return /* @__PURE__ */ d(a, v(m({}, c), { ref: i, children: s }));
552
+ return /* @__PURE__ */ c(a, v(m({}, d), { ref: i, children: s }));
553
553
  });
554
554
  return n.displayName = `${r}.Slot`, n;
555
555
  }
@@ -557,7 +557,7 @@ var $e = /* @__PURE__ */ ke("Slot");
557
557
  // @__NO_SIDE_EFFECTS__
558
558
  function Ne(r) {
559
559
  const a = S.forwardRef((n, t) => {
560
- let c = n, { children: i } = c, s = h(c, ["children"]);
560
+ let d = n, { children: i } = d, s = h(d, ["children"]);
561
561
  if (ne(i) && typeof U == "function" && (i = U(i._payload)), S.isValidElement(i)) {
562
562
  const f = Me(i), p = Ce(s, i.props);
563
563
  return i.type !== S.Fragment && (p.ref = t ? he(t, f) : f), S.cloneElement(i, p);
@@ -586,13 +586,13 @@ function Me(r) {
586
586
  let a = (t = Object.getOwnPropertyDescriptor(r.props, "ref")) == null ? void 0 : t.get, n = a && "isReactWarning" in a && a.isReactWarning;
587
587
  return n ? r.ref : (a = (i = Object.getOwnPropertyDescriptor(r, "ref")) == null ? void 0 : i.get, n = a && "isReactWarning" in a && a.isReactWarning, n ? r.props.ref : r.props.ref || r.ref);
588
588
  }
589
- const ae = R(
589
+ const ae = j(
590
590
  // Base classes
591
591
  l(
592
592
  "inline-flex",
593
593
  "items-center",
594
594
  "font-medium",
595
- M("full"),
595
+ C("full"),
596
596
  o("xs", "gap")
597
597
  ),
598
598
  {
@@ -621,17 +621,17 @@ const ae = R(
621
621
  sm: l(
622
622
  o("xs", "px"),
623
623
  o("xs", "py"),
624
- L("caption")
624
+ M("caption")
625
625
  ),
626
626
  md: l(
627
627
  o("sm", "px"),
628
628
  o("xs", "py"),
629
- L("bodySmall")
629
+ M("bodySmall")
630
630
  ),
631
631
  lg: l(
632
632
  o("md", "px"),
633
633
  o("sm", "py"),
634
- L("body")
634
+ M("body")
635
635
  )
636
636
  },
637
637
  selected: {
@@ -675,12 +675,12 @@ const ae = R(
675
675
  disabled: !1
676
676
  }
677
677
  }
678
- ), Le = j(function(a, n) {
678
+ ), Le = O(function(a, n) {
679
679
  const {
680
680
  children: t,
681
681
  variant: i = "default",
682
682
  size: s = "md",
683
- selected: c = !1,
683
+ selected: d = !1,
684
684
  disabled: f = !1,
685
685
  className: p = "",
686
686
  "aria-label": b,
@@ -696,12 +696,12 @@ const ae = R(
696
696
  }
697
697
  })();
698
698
  if (x)
699
- return /* @__PURE__ */ d(
699
+ return /* @__PURE__ */ c(
700
700
  $e,
701
701
  {
702
702
  ref: n,
703
703
  className: l(
704
- ae({ variant: i, size: s, selected: c, disabled: f }),
704
+ ae({ variant: i, size: s, selected: d, disabled: f }),
705
705
  p
706
706
  ),
707
707
  "aria-label": b,
@@ -710,30 +710,30 @@ const ae = R(
710
710
  children: t
711
711
  }
712
712
  );
713
- const { onRemove: T, onClick: z } = a, q = z !== void 0, _ = q && !f, ie = (F) => {
714
- f || (F.key === "Enter" || F.key === " ") && (F.preventDefault(), z == null || z());
713
+ const { onRemove: T, onClick: L } = a, q = L !== void 0, R = q && !f, ie = (F) => {
714
+ f || (F.key === "Enter" || F.key === " ") && (F.preventDefault(), L == null || L());
715
715
  };
716
- return /* @__PURE__ */ C(
716
+ return /* @__PURE__ */ z(
717
717
  "div",
718
718
  {
719
719
  ref: n,
720
720
  className: l(
721
- ae({ variant: i, size: s, selected: c, disabled: f }),
721
+ ae({ variant: i, size: s, selected: d, disabled: f }),
722
722
  T && o("xs", "pr"),
723
723
  p
724
724
  ),
725
725
  "aria-disabled": f,
726
726
  children: [
727
- q ? /* @__PURE__ */ d(
727
+ q ? /* @__PURE__ */ c(
728
728
  "button",
729
729
  {
730
730
  type: "button",
731
- onClick: f ? void 0 : z,
731
+ onClick: f ? void 0 : L,
732
732
  onKeyDown: ie,
733
733
  disabled: f,
734
- "aria-pressed": c ? !0 : void 0,
734
+ "aria-pressed": d ? !0 : void 0,
735
735
  "aria-label": b || y,
736
- tabIndex: u !== void 0 ? u : _ ? 0 : void 0,
736
+ tabIndex: u !== void 0 ? u : R ? 0 : void 0,
737
737
  className: l(
738
738
  "flex-1",
739
739
  "bg-transparent",
@@ -746,12 +746,12 @@ const ae = R(
746
746
  "focus:ring-2",
747
747
  "focus:ring-line-focus",
748
748
  "focus:ring-offset-2",
749
- M("full")
749
+ C("full")
750
750
  ),
751
751
  children: t
752
752
  }
753
- ) : /* @__PURE__ */ d("span", { children: t }),
754
- T && !f && /* @__PURE__ */ d(
753
+ ) : /* @__PURE__ */ c("span", { children: t }),
754
+ T && !f && /* @__PURE__ */ c(
755
755
  "button",
756
756
  {
757
757
  type: "button",
@@ -761,7 +761,7 @@ const ae = R(
761
761
  className: l(
762
762
  o("xs", "ml"),
763
763
  "hover:bg-tint-hover",
764
- M("full"),
764
+ C("full"),
765
765
  o("xs", "p"),
766
766
  "transition-colors",
767
767
  "focus:outline-none",
@@ -770,7 +770,7 @@ const ae = R(
770
770
  "focus:ring-offset-1"
771
771
  ),
772
772
  "aria-label": `Remove ${y || "chip"}`,
773
- children: /* @__PURE__ */ d(pe, { className: "h-3 w-3", "aria-hidden": "true" })
773
+ children: /* @__PURE__ */ c(pe, { className: "h-3 w-3", "aria-hidden": "true" })
774
774
  }
775
775
  )
776
776
  ]
@@ -778,7 +778,7 @@ const ae = R(
778
778
  );
779
779
  });
780
780
  Le.displayName = "Chip";
781
- function ia(i) {
781
+ function na(i) {
782
782
  var s = i, {
783
783
  message: r,
784
784
  id: a,
@@ -788,20 +788,20 @@ function ia(i) {
788
788
  "id",
789
789
  "className"
790
790
  ]);
791
- const c = [
791
+ const d = [
792
792
  o("xs", "mt"),
793
- L("bodySmall"),
793
+ M("bodySmall"),
794
794
  "text-fg-error",
795
795
  "flex",
796
796
  "items-center",
797
797
  o("xs", "gap")
798
- ], f = l(...c, n);
799
- return /* @__PURE__ */ C("div", v(m({ role: "alert", id: a, className: f, "aria-live": "polite" }, t), { children: [
800
- /* @__PURE__ */ d(ue, { className: "h-4 w-4 shrink-0", "aria-hidden": "true" }),
801
- /* @__PURE__ */ d("span", { children: r })
798
+ ], f = l(...d, n);
799
+ return /* @__PURE__ */ z("div", v(m({ role: "alert", id: a, className: f, "aria-live": "polite" }, t), { children: [
800
+ /* @__PURE__ */ c(ue, { className: "h-4 w-4 shrink-0", "aria-hidden": "true" }),
801
+ /* @__PURE__ */ c("span", { children: r })
802
802
  ] }));
803
803
  }
804
- function sa(t) {
804
+ function ia(t) {
805
805
  var i = t, {
806
806
  variant: r = "info",
807
807
  className: a
@@ -814,7 +814,7 @@ function sa(t) {
814
814
  error: l("bg-error-bg", "text-error-dark", "border-error"),
815
815
  info: l("bg-info-bg", "text-info-dark", "border-info")
816
816
  };
817
- return /* @__PURE__ */ d(
817
+ return /* @__PURE__ */ c(
818
818
  "div",
819
819
  m({
820
820
  role: "alert",
@@ -822,7 +822,7 @@ function sa(t) {
822
822
  "border",
823
823
  o("base", "px"),
824
824
  o("sm", "py"),
825
- M("lg"),
825
+ C("lg"),
826
826
  s[r],
827
827
  a
828
828
  )
@@ -831,7 +831,7 @@ function sa(t) {
831
831
  }
832
832
  const ze = l(
833
833
  "block",
834
- L("label"),
834
+ M("label"),
835
835
  B("label"),
836
836
  "text-fg-primary"
837
837
  ), Fe = {
@@ -847,20 +847,20 @@ const ze = l(
847
847
  "after:text-fg-tertiary",
848
848
  "after:font-normal"
849
849
  )
850
- }, Ae = H(
851
- j(function(c, s) {
852
- var f = c, { variant: a = "default", className: n = "", children: t } = f, i = h(f, ["variant", "className", "children"]);
850
+ }, Ee = H(
851
+ O(function(d, s) {
852
+ var f = d, { variant: a = "default", className: n = "", children: t } = f, i = h(f, ["variant", "className", "children"]);
853
853
  const p = l(
854
854
  ze,
855
855
  Fe[a],
856
856
  n
857
857
  );
858
- return /* @__PURE__ */ d("label", v(m({ ref: s, className: p }, i), { children: t }));
858
+ return /* @__PURE__ */ c("label", v(m({ ref: s, className: p }, i), { children: t }));
859
859
  })
860
860
  );
861
- Ae.displayName = "Label";
861
+ Ee.displayName = "Label";
862
862
  function w(r, a, n) {
863
- const t = Ee(r), i = Ie(r);
863
+ const t = Ie(r), i = Ae(r);
864
864
  return {
865
865
  hex: r,
866
866
  rgb: t,
@@ -869,19 +869,19 @@ function w(r, a, n) {
869
869
  tailwind: `${a}-${n}`
870
870
  };
871
871
  }
872
- function Ee(r) {
872
+ function Ie(r) {
873
873
  const a = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(r);
874
874
  return a ? `${parseInt(a[1], 16)}, ${parseInt(a[2], 16)}, ${parseInt(a[3], 16)}` : "0, 0, 0";
875
875
  }
876
- function Ie(r) {
876
+ function Ae(r) {
877
877
  const a = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(r);
878
878
  if (!a) return "0, 0%, 0%";
879
- const n = parseInt(a[1], 16) / 255, t = parseInt(a[2], 16) / 255, i = parseInt(a[3], 16) / 255, s = Math.max(n, t, i), c = Math.min(n, t, i);
879
+ const n = parseInt(a[1], 16) / 255, t = parseInt(a[2], 16) / 255, i = parseInt(a[3], 16) / 255, s = Math.max(n, t, i), d = Math.min(n, t, i);
880
880
  let f = 0, p = 0;
881
- const b = (s + c) / 2;
882
- if (s !== c) {
883
- const u = s - c;
884
- switch (p = b > 0.5 ? u / (2 - s - c) : u / (s + c), s) {
881
+ const b = (s + d) / 2;
882
+ if (s !== d) {
883
+ const u = s - d;
884
+ switch (p = b > 0.5 ? u / (2 - s - d) : u / (s + d), s) {
885
885
  case n:
886
886
  f = ((t - i) / u + (t < i ? 6 : 0)) / 6;
887
887
  break;
@@ -914,12 +914,12 @@ function We(r) {
914
914
  function De(r) {
915
915
  const a = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(r);
916
916
  if (!a) return "0, 0%, 0%";
917
- const n = parseInt(a[1], 16) / 255, t = parseInt(a[2], 16) / 255, i = parseInt(a[3], 16) / 255, s = Math.max(n, t, i), c = Math.min(n, t, i);
917
+ const n = parseInt(a[1], 16) / 255, t = parseInt(a[2], 16) / 255, i = parseInt(a[3], 16) / 255, s = Math.max(n, t, i), d = Math.min(n, t, i);
918
918
  let f = 0, p = 0;
919
- const b = (s + c) / 2;
920
- if (s !== c) {
921
- const u = s - c;
922
- switch (p = b > 0.5 ? u / (2 - s - c) : u / (s + c), s) {
919
+ const b = (s + d) / 2;
920
+ if (s !== d) {
921
+ const u = s - d;
922
+ switch (p = b > 0.5 ? u / (2 - s - d) : u / (s + d), s) {
923
923
  case n:
924
924
  f = ((t - i) / u + (t < i ? 6 : 0)) / 6;
925
925
  break;
@@ -1008,7 +1008,7 @@ const Ve = {
1008
1008
  function X(r) {
1009
1009
  return Ve[r].tailwind;
1010
1010
  }
1011
- class A {
1011
+ class E {
1012
1012
  /**
1013
1013
  * Create a border width token
1014
1014
  */
@@ -1052,8 +1052,8 @@ class A {
1052
1052
  };
1053
1053
  }
1054
1054
  }
1055
- A.create("none"), A.create("thin"), A.create("base"), A.create("medium"), A.create("thick"), A.create("thin", "dashed"), A.create("base", "dashed"), A.create("thin", "dotted"), A.create("base", "dotted");
1056
- class O {
1055
+ E.create("none"), E.create("thin"), E.create("base"), E.create("medium"), E.create("thick"), E.create("thin", "dashed"), E.create("base", "dashed"), E.create("thin", "dotted"), E.create("base", "dotted");
1056
+ class _ {
1057
1057
  /**
1058
1058
  * Create breakpoint token
1059
1059
  */
@@ -1074,7 +1074,7 @@ class O {
1074
1074
  };
1075
1075
  }
1076
1076
  }
1077
- O.create("sm"), O.create("md"), O.create("lg"), O.create("xl"), O.create("2xl");
1077
+ _.create("sm"), _.create("md"), _.create("lg"), _.create("xl"), _.create("2xl");
1078
1078
  class W {
1079
1079
  /**
1080
1080
  * Create an animation token
@@ -1132,7 +1132,7 @@ class W {
1132
1132
  * Create a transition token
1133
1133
  */
1134
1134
  static createTransition(a, n = "base", t = "ease-in-out") {
1135
- const i = this.create(n, t), s = Array.isArray(a) ? a.join(", ") : a, c = [
1135
+ const i = this.create(n, t), s = Array.isArray(a) ? a.join(", ") : a, d = [
1136
1136
  i.duration.tailwind,
1137
1137
  i.easing.tailwind
1138
1138
  ].join(" ");
@@ -1140,7 +1140,7 @@ class W {
1140
1140
  property: s,
1141
1141
  duration: i.duration.value,
1142
1142
  timingFunction: i.easing.value,
1143
- tailwind: c
1143
+ tailwind: d
1144
1144
  };
1145
1145
  }
1146
1146
  }
@@ -1148,7 +1148,7 @@ W.create("fast"), W.create("base"), W.create("slow"), W.create("slower"), W.crea
1148
1148
  ["color", "background-color", "border-color"],
1149
1149
  "base"
1150
1150
  ), W.createTransition("opacity", "fast"), W.createTransition("transform", "base"), W.createTransition("all", "base");
1151
- class E {
1151
+ class I {
1152
1152
  /**
1153
1153
  * Create a z-index token
1154
1154
  */
@@ -1202,7 +1202,7 @@ class E {
1202
1202
  }[a];
1203
1203
  }
1204
1204
  }
1205
- E.create("base"), E.create("dropdown"), E.create("sticky"), E.create("fixed"), E.create("modal-backdrop"), E.create("modal"), E.create("popover"), E.create("tooltip"), E.create("toast");
1205
+ I.create("base"), I.create("dropdown"), I.create("sticky"), I.create("fixed"), I.create("modal-backdrop"), I.create("modal"), I.create("popover"), I.create("tooltip"), I.create("toast");
1206
1206
  class N {
1207
1207
  /**
1208
1208
  * Create an opacity token
@@ -1250,7 +1250,7 @@ class N {
1250
1250
  }
1251
1251
  }
1252
1252
  N.create(0), N.create(5), N.create(10), N.create(20), N.create(25), N.create(30), N.create(40), N.create(50), N.create(60), N.create(70), N.create(75), N.create(80), N.create(90), N.create(95), N.create(100);
1253
- const je = R("w-full", {
1253
+ const je = j("w-full", {
1254
1254
  variants: {
1255
1255
  size: {
1256
1256
  sm: "h-1",
@@ -1270,7 +1270,7 @@ const je = R("w-full", {
1270
1270
  size: "md",
1271
1271
  variant: "primary"
1272
1272
  }
1273
- }), te = R("transition-all", {
1273
+ }), te = j("transition-all", {
1274
1274
  variants: {
1275
1275
  variant: {
1276
1276
  primary: "bg-surface-brand",
@@ -1284,14 +1284,14 @@ const je = R("w-full", {
1284
1284
  defaultVariants: {
1285
1285
  variant: "primary"
1286
1286
  }
1287
- }), Re = j(function(x, u) {
1287
+ }), Re = O(function(x, u) {
1288
1288
  var g = x, {
1289
1289
  value: a,
1290
1290
  max: n = 100,
1291
1291
  variant: t = "primary",
1292
1292
  size: i = "md",
1293
1293
  showLabel: s = !1,
1294
- label: c,
1294
+ label: d,
1295
1295
  "aria-label": f,
1296
1296
  className: p = ""
1297
1297
  } = g, b = h(g, [
@@ -1304,9 +1304,9 @@ const je = R("w-full", {
1304
1304
  "aria-label",
1305
1305
  "className"
1306
1306
  ]);
1307
- const y = a === void 0, T = y ? void 0 : Math.min(Math.max(a / n * 100, 0), 100), z = f || (y ? "Loading in progress" : `Progress: ${T == null ? void 0 : T.toFixed(0)}%`);
1308
- return /* @__PURE__ */ C("div", v(m({ ref: u, className: l("w-full", p) }, b), { children: [
1309
- s && (c || !y) && /* @__PURE__ */ C(
1307
+ const y = a === void 0, T = y ? void 0 : Math.min(Math.max(a / n * 100, 0), 100), L = f || (y ? "Loading in progress" : `Progress: ${T == null ? void 0 : T.toFixed(0)}%`);
1308
+ return /* @__PURE__ */ z("div", v(m({ ref: u, className: l("w-full", p) }, b), { children: [
1309
+ s && (d || !y) && /* @__PURE__ */ z(
1310
1310
  "div",
1311
1311
  {
1312
1312
  className: l(
@@ -1316,22 +1316,22 @@ const je = R("w-full", {
1316
1316
  o("xs", "mb")
1317
1317
  ),
1318
1318
  children: [
1319
- c && /* @__PURE__ */ d(
1319
+ d && /* @__PURE__ */ c(
1320
1320
  "span",
1321
1321
  {
1322
1322
  className: l(
1323
- L("bodySmall"),
1323
+ M("bodySmall"),
1324
1324
  B("label"),
1325
1325
  "text-fg-primary"
1326
1326
  ),
1327
- children: c
1327
+ children: d
1328
1328
  }
1329
1329
  ),
1330
- !y && T !== void 0 && /* @__PURE__ */ C(
1330
+ !y && T !== void 0 && /* @__PURE__ */ z(
1331
1331
  "span",
1332
1332
  {
1333
1333
  className: l(
1334
- L("bodySmall"),
1334
+ M("bodySmall"),
1335
1335
  "text-fg-secondary"
1336
1336
  ),
1337
1337
  children: [
@@ -1343,23 +1343,23 @@ const je = R("w-full", {
1343
1343
  ]
1344
1344
  }
1345
1345
  ),
1346
- /* @__PURE__ */ d(
1346
+ /* @__PURE__ */ c(
1347
1347
  "div",
1348
1348
  {
1349
1349
  role: "progressbar",
1350
1350
  "aria-valuemin": y ? void 0 : 0,
1351
1351
  "aria-valuemax": y ? void 0 : n,
1352
1352
  "aria-valuenow": y ? void 0 : a,
1353
- "aria-label": z,
1353
+ "aria-label": L,
1354
1354
  "aria-busy": y,
1355
1355
  className: l(
1356
1356
  "relative",
1357
1357
  "w-full",
1358
1358
  "overflow-hidden",
1359
1359
  je({ size: i, variant: t }),
1360
- M("full")
1360
+ C("full")
1361
1361
  ),
1362
- children: y ? /* @__PURE__ */ d(
1362
+ children: y ? /* @__PURE__ */ c(
1363
1363
  "div",
1364
1364
  {
1365
1365
  className: l(
@@ -1368,7 +1368,7 @@ const je = R("w-full", {
1368
1368
  "left-0",
1369
1369
  "bottom-0",
1370
1370
  te({ variant: t }),
1371
- M("full"),
1371
+ C("full"),
1372
1372
  "motion-reduce:animate-none"
1373
1373
  ),
1374
1374
  style: {
@@ -1376,13 +1376,13 @@ const je = R("w-full", {
1376
1376
  animation: "progress-indeterminate 1.5s ease-in-out infinite"
1377
1377
  }
1378
1378
  }
1379
- ) : /* @__PURE__ */ d(
1379
+ ) : /* @__PURE__ */ c(
1380
1380
  "div",
1381
1381
  {
1382
1382
  className: l(
1383
1383
  "h-full",
1384
1384
  te({ variant: t }),
1385
- M("full"),
1385
+ C("full"),
1386
1386
  "transition-all",
1387
1387
  "duration-300",
1388
1388
  "ease-out"
@@ -1401,16 +1401,16 @@ Re.displayName = "Progress";
1401
1401
  const _e = {
1402
1402
  horizontal: "w-full border-t",
1403
1403
  vertical: "h-full border-l self-stretch"
1404
- }, Oe = {
1404
+ }, Be = {
1405
1405
  solid: "border-solid",
1406
1406
  dashed: "border-dashed",
1407
1407
  dotted: "border-dotted"
1408
- }, Be = H(function(s) {
1409
- var c = s, {
1408
+ }, He = H(function(s) {
1409
+ var d = s, {
1410
1410
  orientation: a = "horizontal",
1411
1411
  variant: n = "solid",
1412
1412
  className: t = ""
1413
- } = c, i = h(c, [
1413
+ } = d, i = h(d, [
1414
1414
  "orientation",
1415
1415
  "variant",
1416
1416
  "className"
@@ -1419,17 +1419,17 @@ const _e = {
1419
1419
  "border-0",
1420
1420
  "border-line-default",
1421
1421
  _e[a],
1422
- Oe[n],
1422
+ Be[n],
1423
1423
  t
1424
1424
  );
1425
- return a === "vertical" ? /* @__PURE__ */ d(
1425
+ return a === "vertical" ? /* @__PURE__ */ c(
1426
1426
  "div",
1427
1427
  m({
1428
1428
  className: f,
1429
1429
  role: "separator",
1430
1430
  "aria-orientation": "vertical"
1431
1431
  }, i)
1432
- ) : /* @__PURE__ */ d(
1432
+ ) : /* @__PURE__ */ c(
1433
1433
  "hr",
1434
1434
  m({
1435
1435
  className: f,
@@ -1438,8 +1438,8 @@ const _e = {
1438
1438
  }, i)
1439
1439
  );
1440
1440
  });
1441
- Be.displayName = "Separator";
1442
- function la(f) {
1441
+ He.displayName = "Separator";
1442
+ function sa(f) {
1443
1443
  var p = f, {
1444
1444
  variant: r = "text",
1445
1445
  width: a,
@@ -1447,7 +1447,7 @@ function la(f) {
1447
1447
  lines: t = 1,
1448
1448
  className: i = "",
1449
1449
  "aria-label": s
1450
- } = p, c = h(p, [
1450
+ } = p, d = h(p, [
1451
1451
  "variant",
1452
1452
  "width",
1453
1453
  "height",
@@ -1458,34 +1458,34 @@ function la(f) {
1458
1458
  const b = [
1459
1459
  "motion-safe:animate-pulse",
1460
1460
  "bg-surface-muted",
1461
- M("sm")
1461
+ C("sm")
1462
1462
  ], u = {
1463
1463
  text: "h-4",
1464
1464
  card: "h-32",
1465
1465
  list: "h-12",
1466
- circle: M("full")
1466
+ circle: C("full")
1467
1467
  }, x = l(...b, u[r], i), g = {};
1468
1468
  a && (g.width = a), n && (g.height = n);
1469
1469
  const y = s || `Loading ${r} content`;
1470
- return r === "text" && t > 1 ? /* @__PURE__ */ d(
1470
+ return r === "text" && t > 1 ? /* @__PURE__ */ c(
1471
1471
  "div",
1472
1472
  v(m({
1473
1473
  className: o("sm", "space-y"),
1474
1474
  role: "status",
1475
1475
  "aria-busy": "true",
1476
1476
  "aria-label": y
1477
- }, c), {
1478
- children: Array.from({ length: t }).map((T, z) => /* @__PURE__ */ d(
1477
+ }, d), {
1478
+ children: Array.from({ length: t }).map((T, L) => /* @__PURE__ */ c(
1479
1479
  "div",
1480
1480
  {
1481
1481
  className: x,
1482
- style: z === t - 1 ? { width: "75%" } : g,
1482
+ style: L === t - 1 ? { width: "75%" } : g,
1483
1483
  "aria-hidden": "true"
1484
1484
  },
1485
- z
1485
+ L
1486
1486
  ))
1487
1487
  })
1488
- ) : /* @__PURE__ */ d(
1488
+ ) : /* @__PURE__ */ c(
1489
1489
  "div",
1490
1490
  m({
1491
1491
  className: x,
@@ -1493,10 +1493,10 @@ function la(f) {
1493
1493
  role: "status",
1494
1494
  "aria-busy": "true",
1495
1495
  "aria-label": y
1496
- }, c)
1496
+ }, d)
1497
1497
  );
1498
1498
  }
1499
- const He = R("motion-safe:animate-spin", {
1499
+ const Oe = j("motion-safe:animate-spin", {
1500
1500
  variants: {
1501
1501
  size: {
1502
1502
  sm: "h-4 w-4",
@@ -1513,8 +1513,8 @@ const He = R("motion-safe:animate-spin", {
1513
1513
  size: "md",
1514
1514
  variant: "primary"
1515
1515
  }
1516
- }), Pe = H(function(c) {
1517
- var f = c, {
1516
+ }), Pe = H(function(d) {
1517
+ var f = d, {
1518
1518
  size: a = "md",
1519
1519
  variant: n = "primary",
1520
1520
  label: t,
@@ -1525,7 +1525,7 @@ const He = R("motion-safe:animate-spin", {
1525
1525
  "label",
1526
1526
  "className"
1527
1527
  ]);
1528
- return /* @__PURE__ */ C(
1528
+ return /* @__PURE__ */ z(
1529
1529
  "div",
1530
1530
  v(m({
1531
1531
  className: l("inline-flex", "items-center", i),
@@ -1534,19 +1534,19 @@ const He = R("motion-safe:animate-spin", {
1534
1534
  "aria-live": "polite"
1535
1535
  }, s), {
1536
1536
  children: [
1537
- /* @__PURE__ */ d(
1537
+ /* @__PURE__ */ c(
1538
1538
  me,
1539
1539
  {
1540
- className: l(He({ size: a, variant: n })),
1540
+ className: l(Oe({ size: a, variant: n })),
1541
1541
  "aria-hidden": "true"
1542
1542
  }
1543
1543
  ),
1544
- t && /* @__PURE__ */ d(
1544
+ t && /* @__PURE__ */ c(
1545
1545
  "span",
1546
1546
  {
1547
1547
  className: l(
1548
1548
  o("sm", "ml"),
1549
- L("bodySmall"),
1549
+ M("bodySmall"),
1550
1550
  "text-fg-secondary",
1551
1551
  "sr-only"
1552
1552
  ),
@@ -1618,7 +1618,7 @@ function qe(b, p) {
1618
1618
  className: t,
1619
1619
  as: i,
1620
1620
  colorRole: s = "neutral",
1621
- colorShade: c = "dark"
1621
+ colorShade: d = "dark"
1622
1622
  } = u, f = h(u, [
1623
1623
  "variant",
1624
1624
  "bold",
@@ -1644,9 +1644,9 @@ function qe(b, p) {
1644
1644
  g = "p";
1645
1645
  break;
1646
1646
  }
1647
- return r === "heading" ? x.push(D("h2")) : r === "body" || r === "paragraph" ? x.push(D("body")) : r === "bodySmall" ? x.push(D("bodySmall")) : r === "bodyLarge" ? x.push(D("bodyLarge")) : r === "caption" ? x.push(D("caption")) : r === "label" ? x.push(D("label")) : x.push(D("body")), a && x.push("font-bold"), n && x.push("italic"), x.push(Ue[s][c]), /* @__PURE__ */ d(g, m({ ref: p, className: l(...x, t) }, f));
1647
+ return r === "heading" ? x.push(D("h2")) : r === "body" || r === "paragraph" ? x.push(D("body")) : r === "bodySmall" ? x.push(D("bodySmall")) : r === "bodyLarge" ? x.push(D("bodyLarge")) : r === "caption" ? x.push(D("caption")) : r === "label" ? x.push(D("label")) : x.push(D("body")), a && x.push("font-bold"), n && x.push("italic"), x.push(Ue[s][d]), /* @__PURE__ */ c(g, m({ ref: p, className: l(...x, t) }, f));
1648
1648
  }
1649
- const oa = j(qe), Ke = {
1649
+ const la = O(qe), Ke = {
1650
1650
  sm: "max-w-screen-sm",
1651
1651
  md: "max-w-screen-md",
1652
1652
  lg: "max-w-screen-lg",
@@ -1662,7 +1662,7 @@ const oa = j(qe), Ke = {
1662
1662
  paddingY: t = "base",
1663
1663
  center: i = !0,
1664
1664
  children: s
1665
- } = b, c = h(b, [
1665
+ } = b, d = h(b, [
1666
1666
  "className",
1667
1667
  "maxWidth",
1668
1668
  "paddingX",
@@ -1670,7 +1670,7 @@ const oa = j(qe), Ke = {
1670
1670
  "center",
1671
1671
  "children"
1672
1672
  ]);
1673
- return /* @__PURE__ */ d(
1673
+ return /* @__PURE__ */ c(
1674
1674
  "div",
1675
1675
  v(m({
1676
1676
  ref: f,
@@ -1682,7 +1682,7 @@ const oa = j(qe), Ke = {
1682
1682
  i && "mx-auto",
1683
1683
  r
1684
1684
  )
1685
- }, c), {
1685
+ }, d), {
1686
1686
  children: s
1687
1687
  })
1688
1688
  );
@@ -1698,7 +1698,7 @@ const Ye = re.forwardRef(
1698
1698
  justify: t = "start",
1699
1699
  direction: i = "column",
1700
1700
  children: s
1701
- } = b, c = h(b, [
1701
+ } = b, d = h(b, [
1702
1702
  "className",
1703
1703
  "spacing",
1704
1704
  "align",
@@ -1719,7 +1719,7 @@ const Ye = re.forwardRef(
1719
1719
  around: "justify-around",
1720
1720
  evenly: "justify-evenly"
1721
1721
  };
1722
- return /* @__PURE__ */ d(
1722
+ return /* @__PURE__ */ c(
1723
1723
  "div",
1724
1724
  v(m({
1725
1725
  ref: f,
@@ -1731,48 +1731,14 @@ const Ye = re.forwardRef(
1731
1731
  g[t],
1732
1732
  r
1733
1733
  )
1734
- }, c), {
1734
+ }, d), {
1735
1735
  children: s
1736
1736
  })
1737
1737
  );
1738
1738
  }
1739
1739
  );
1740
1740
  Ye.displayName = "Stack";
1741
- const Ze = j(
1742
- function({ option: a, isHighlighted: n, onSelect: t }, i) {
1743
- const s = () => {
1744
- a.disabled || t(a);
1745
- };
1746
- return /* @__PURE__ */ C(
1747
- "div",
1748
- {
1749
- ref: i,
1750
- role: "option",
1751
- "aria-selected": n,
1752
- "aria-disabled": a.disabled,
1753
- onClick: s,
1754
- className: `
1755
- flex
1756
- items-center
1757
- ${o("sm", "gap")}
1758
- ${o("sm", "px")}
1759
- ${o("sm", "py")}
1760
- text-sm
1761
- cursor-pointer
1762
- transition-colors
1763
- ${n ? "bg-surface-active" : ""}
1764
- ${a.disabled ? "opacity-50 cursor-not-allowed" : "hover:bg-surface-hover"}
1765
- `,
1766
- children: [
1767
- a.icon && /* @__PURE__ */ d("span", { className: "flex-shrink-0", children: a.icon }),
1768
- /* @__PURE__ */ d("span", { className: "flex-1", children: a.label })
1769
- ]
1770
- }
1771
- );
1772
- }
1773
- );
1774
- Ze.displayName = "AutocompleteOption";
1775
- function da(i) {
1741
+ function oa(i) {
1776
1742
  var s = i, {
1777
1743
  items: r,
1778
1744
  separator: a = "/",
@@ -1782,20 +1748,20 @@ function da(i) {
1782
1748
  "separator",
1783
1749
  "className"
1784
1750
  ]);
1785
- const c = [
1751
+ const d = [
1786
1752
  "flex",
1787
1753
  "items-center",
1788
1754
  o("sm", "space-x"),
1789
- L("bodySmall")
1790
- ], f = l(...c, n);
1791
- return /* @__PURE__ */ d("nav", v(m({ "aria-label": "Breadcrumb", className: f }, t), { children: /* @__PURE__ */ d(
1755
+ M("bodySmall")
1756
+ ], f = l(...d, n);
1757
+ return /* @__PURE__ */ c("nav", v(m({ "aria-label": "Breadcrumb", className: f }, t), { children: /* @__PURE__ */ c(
1792
1758
  "ol",
1793
1759
  {
1794
1760
  className: l("flex", "items-center", o("sm", "space-x")),
1795
1761
  children: r.map((p, b) => {
1796
1762
  const u = b === r.length - 1;
1797
- return /* @__PURE__ */ C("li", { className: "flex items-center", children: [
1798
- b > 0 && /* @__PURE__ */ d(
1763
+ return /* @__PURE__ */ z("li", { className: "flex items-center", children: [
1764
+ b > 0 && /* @__PURE__ */ c(
1799
1765
  "span",
1800
1766
  {
1801
1767
  className: l(
@@ -1806,7 +1772,7 @@ function da(i) {
1806
1772
  children: a
1807
1773
  }
1808
1774
  ),
1809
- u ? /* @__PURE__ */ d(
1775
+ u ? /* @__PURE__ */ c(
1810
1776
  "span",
1811
1777
  {
1812
1778
  className: l(
@@ -1816,7 +1782,7 @@ function da(i) {
1816
1782
  "aria-current": "page",
1817
1783
  children: p.label
1818
1784
  }
1819
- ) : p.href ? /* @__PURE__ */ d(
1785
+ ) : p.href ? /* @__PURE__ */ c(
1820
1786
  "a",
1821
1787
  {
1822
1788
  href: p.href,
@@ -1827,7 +1793,7 @@ function da(i) {
1827
1793
  o("xs", "pt"),
1828
1794
  "border-b-2",
1829
1795
  "border-transparent",
1830
- L("bodySmall"),
1796
+ M("bodySmall"),
1831
1797
  B("label"),
1832
1798
  "transition-colors",
1833
1799
  "text-fg-secondary",
@@ -1836,20 +1802,20 @@ function da(i) {
1836
1802
  ),
1837
1803
  children: p.label
1838
1804
  }
1839
- ) : /* @__PURE__ */ d("span", { className: "text-fg-secondary", children: p.label })
1805
+ ) : /* @__PURE__ */ c("span", { className: "text-fg-secondary", children: p.label })
1840
1806
  ] }, b);
1841
1807
  })
1842
1808
  }
1843
1809
  ) }));
1844
1810
  }
1845
- const Ge = H(function(b) {
1811
+ const Ze = H(function(b) {
1846
1812
  var u = b, {
1847
1813
  variant: a = "default",
1848
1814
  padding: n = "medium",
1849
1815
  className: t = "",
1850
1816
  onClick: i,
1851
1817
  "aria-label": s,
1852
- "aria-labelledby": c,
1818
+ "aria-labelledby": d,
1853
1819
  children: f
1854
1820
  } = u, p = h(u, [
1855
1821
  "variant",
@@ -1860,10 +1826,10 @@ const Ge = H(function(b) {
1860
1826
  "aria-labelledby",
1861
1827
  "children"
1862
1828
  ]);
1863
- const x = R(
1829
+ const x = j(
1864
1830
  l(
1865
1831
  "bg-surface-base",
1866
- M("lg"),
1832
+ C("lg"),
1867
1833
  "border",
1868
1834
  "border-line-default",
1869
1835
  X("sm")
@@ -1891,26 +1857,26 @@ const Ge = H(function(b) {
1891
1857
  padding: "medium"
1892
1858
  }
1893
1859
  }
1894
- ), g = i !== void 0, y = g ? "button" : void 0, T = g ? 0 : void 0, z = l(x({ variant: a, padding: n }), t);
1895
- return /* @__PURE__ */ d(
1860
+ ), g = i !== void 0, y = g ? "button" : void 0, T = g ? 0 : void 0, L = l(x({ variant: a, padding: n }), t);
1861
+ return /* @__PURE__ */ c(
1896
1862
  "div",
1897
1863
  v(m({
1898
- className: z,
1864
+ className: L,
1899
1865
  role: y,
1900
1866
  tabIndex: T,
1901
1867
  onClick: i,
1902
- onKeyDown: (_) => {
1903
- g && (_.key === "Enter" || _.key === " ") && (_.preventDefault(), i == null || i());
1904
- },
1868
+ onKeyDown: g ? (R) => {
1869
+ g && (R.key === "Enter" || R.key === " ") && (R.preventDefault(), i == null || i());
1870
+ } : void 0,
1905
1871
  "aria-label": s,
1906
- "aria-labelledby": c
1872
+ "aria-labelledby": d
1907
1873
  }, p), {
1908
1874
  children: f
1909
1875
  })
1910
1876
  );
1911
1877
  });
1912
- Ge.displayName = "Card";
1913
- function ca(t) {
1878
+ Ze.displayName = "Card";
1879
+ function da(t) {
1914
1880
  var i = t, {
1915
1881
  children: r,
1916
1882
  className: a = ""
@@ -1918,7 +1884,7 @@ function ca(t) {
1918
1884
  "children",
1919
1885
  "className"
1920
1886
  ]);
1921
- return /* @__PURE__ */ d(
1887
+ return /* @__PURE__ */ c(
1922
1888
  "div",
1923
1889
  v(m({
1924
1890
  className: `flex flex-col ${o("1.5", "space-y")} ${o("lg", "p")} ${o("base", "pb")} ${a}`
@@ -1927,7 +1893,7 @@ function ca(t) {
1927
1893
  })
1928
1894
  );
1929
1895
  }
1930
- function fa(t) {
1896
+ function ca(t) {
1931
1897
  var i = t, {
1932
1898
  children: r,
1933
1899
  className: a = ""
@@ -1935,7 +1901,7 @@ function fa(t) {
1935
1901
  "children",
1936
1902
  "className"
1937
1903
  ]);
1938
- return /* @__PURE__ */ d(
1904
+ return /* @__PURE__ */ c(
1939
1905
  "div",
1940
1906
  v(m({
1941
1907
  className: `flex flex-col-reverse sm:flex-row sm:justify-end sm:${o("sm", "space-x")} ${o("lg", "p")} ${o("base", "pt")} ${a}`
@@ -1944,7 +1910,7 @@ function fa(t) {
1944
1910
  })
1945
1911
  );
1946
1912
  }
1947
- function pa(t) {
1913
+ function fa(t) {
1948
1914
  var i = t, {
1949
1915
  children: r,
1950
1916
  className: a = ""
@@ -1952,7 +1918,7 @@ function pa(t) {
1952
1918
  "children",
1953
1919
  "className"
1954
1920
  ]);
1955
- return /* @__PURE__ */ d(
1921
+ return /* @__PURE__ */ c(
1956
1922
  "div",
1957
1923
  v(m({
1958
1924
  className: `
@@ -1966,7 +1932,7 @@ function pa(t) {
1966
1932
  })
1967
1933
  );
1968
1934
  }
1969
- function ua(t) {
1935
+ function pa(t) {
1970
1936
  var i = t, {
1971
1937
  children: r,
1972
1938
  className: a = ""
@@ -1974,7 +1940,7 @@ function ua(t) {
1974
1940
  "children",
1975
1941
  "className"
1976
1942
  ]);
1977
- return /* @__PURE__ */ d(
1943
+ return /* @__PURE__ */ c(
1978
1944
  "div",
1979
1945
  v(m({
1980
1946
  className: `
@@ -1991,8 +1957,8 @@ function ua(t) {
1991
1957
  })
1992
1958
  );
1993
1959
  }
1994
- function ma({ children: r, className: a }) {
1995
- return /* @__PURE__ */ d(
1960
+ function ua({ children: r, className: a }) {
1961
+ return /* @__PURE__ */ c(
1996
1962
  "div",
1997
1963
  {
1998
1964
  className: l(
@@ -2004,11 +1970,11 @@ function ma({ children: r, className: a }) {
2004
1970
  }
2005
1971
  );
2006
1972
  }
2007
- function ba({
1973
+ function ma({
2008
1974
  children: r,
2009
1975
  className: a
2010
1976
  }) {
2011
- return /* @__PURE__ */ d(
1977
+ return /* @__PURE__ */ c(
2012
1978
  "nav",
2013
1979
  {
2014
1980
  className: l(
@@ -2023,13 +1989,13 @@ function ba({
2023
1989
  }
2024
1990
  );
2025
1991
  }
2026
- function ga(n) {
1992
+ function ba(n) {
2027
1993
  var t = n, {
2028
1994
  className: r = ""
2029
1995
  } = t, a = h(t, [
2030
1996
  "className"
2031
1997
  ]);
2032
- return /* @__PURE__ */ d(
1998
+ return /* @__PURE__ */ c(
2033
1999
  "div",
2034
2000
  m({
2035
2001
  role: "separator",
@@ -2042,7 +2008,7 @@ function ga(n) {
2042
2008
  }, a)
2043
2009
  );
2044
2010
  }
2045
- function xa(t) {
2011
+ function ga(t) {
2046
2012
  var i = t, {
2047
2013
  orientation: r = "horizontal",
2048
2014
  className: a = ""
@@ -2050,14 +2016,14 @@ function xa(t) {
2050
2016
  "orientation",
2051
2017
  "className"
2052
2018
  ]);
2053
- return r === "vertical" ? /* @__PURE__ */ d(
2019
+ return r === "vertical" ? /* @__PURE__ */ c(
2054
2020
  "div",
2055
2021
  m({
2056
2022
  className: l("w-px", "h-6", "bg-line-default", "mx-auto", a),
2057
2023
  role: "separator",
2058
2024
  "aria-orientation": "vertical"
2059
2025
  }, n)
2060
- ) : /* @__PURE__ */ d(
2026
+ ) : /* @__PURE__ */ c(
2061
2027
  "div",
2062
2028
  m({
2063
2029
  className: l(
@@ -2080,27 +2046,27 @@ function xa(t) {
2080
2046
  }, n)
2081
2047
  );
2082
2048
  }
2083
- function ya(i) {
2049
+ function xa(i) {
2084
2050
  var s = i, { column: r, row: a, className: n = "" } = s, t = h(s, ["column", "row", "className"]);
2085
- const c = r.key in a ? a[r.key] : void 0;
2086
- return /* @__PURE__ */ d(
2051
+ const d = r.key in a ? a[r.key] : void 0;
2052
+ return /* @__PURE__ */ c(
2087
2053
  "td",
2088
2054
  v(m({
2089
2055
  className: `${o("lg", "px")} ${o("base", "py")} whitespace-nowrap text-sm text-fg-primary ${r.hiddenOnMobile ? "hidden md:table-cell" : ""} ${n}`
2090
2056
  }, t), {
2091
- children: r.render ? r.render(c, a) : String(c != null ? c : "")
2057
+ children: r.render ? r.render(d, a) : String(d != null ? d : "")
2092
2058
  })
2093
2059
  );
2094
2060
  }
2095
- function ha({
2061
+ function ya({
2096
2062
  items: r,
2097
2063
  orientation: a = "vertical",
2098
2064
  className: n = ""
2099
2065
  }) {
2100
- return a === "horizontal" ? /* @__PURE__ */ d("div", { className: `flex items-start ${n}`, children: r.map((t, i) => {
2101
- const s = t.status || (i === 0 ? "active" : i < r.findIndex((f) => f.status === "active") ? "completed" : "default"), c = i === r.length - 1;
2102
- return /* @__PURE__ */ d("div", { className: "flex items-start flex-1", children: /* @__PURE__ */ C("div", { className: "flex flex-col items-center flex-1", children: [
2103
- /* @__PURE__ */ d(
2066
+ return a === "horizontal" ? /* @__PURE__ */ c("div", { className: `flex items-start ${n}`, children: r.map((t, i) => {
2067
+ const s = t.status || (i === 0 ? "active" : i < r.findIndex((f) => f.status === "active") ? "completed" : "default"), d = i === r.length - 1;
2068
+ return /* @__PURE__ */ c("div", { className: "flex items-start flex-1", children: /* @__PURE__ */ z("div", { className: "flex flex-col items-center flex-1", children: [
2069
+ /* @__PURE__ */ c(
2104
2070
  "div",
2105
2071
  v(m({}, s === "default" ? { "data-marker": "pending" } : {}), {
2106
2072
  className: `
@@ -2109,14 +2075,14 @@ function ha({
2109
2075
  justify-center
2110
2076
  w-10
2111
2077
  h-10
2112
- ${M("full")}
2078
+ ${C("full")}
2113
2079
  border-2
2114
2080
  ${s === "completed" ? "bg-success border-success text-fg-inverse" : s === "active" ? "bg-surface-brand-strong border-line-brand text-fg-inverse" : s === "error" ? "bg-error border-error text-fg-inverse" : "bg-surface-base border-line-emphasis text-fg-quaternary"}
2115
2081
  `,
2116
- children: t.icon || (s === "completed" ? /* @__PURE__ */ d(J, { className: "h-4 w-4" }) : i + 1)
2082
+ children: t.icon || (s === "completed" ? /* @__PURE__ */ c(J, { className: "h-4 w-4" }) : i + 1)
2117
2083
  })
2118
2084
  ),
2119
- !c && /* @__PURE__ */ d(
2085
+ !d && /* @__PURE__ */ c(
2120
2086
  "div",
2121
2087
  {
2122
2088
  className: `
@@ -2127,40 +2093,40 @@ function ha({
2127
2093
  `
2128
2094
  }
2129
2095
  ),
2130
- /* @__PURE__ */ C(
2096
+ /* @__PURE__ */ z(
2131
2097
  "div",
2132
2098
  {
2133
2099
  className: `${o("base", "mt")} text-center ${o("base", "px")}`,
2134
2100
  children: [
2135
- t.timestamp && /* @__PURE__ */ d(
2101
+ t.timestamp && /* @__PURE__ */ c(
2136
2102
  "p",
2137
2103
  {
2138
2104
  className: `text-xs text-fg-tertiary ${o("xs", "mb")}`,
2139
2105
  children: t.timestamp
2140
2106
  }
2141
2107
  ),
2142
- /* @__PURE__ */ d("h3", { className: "text-sm font-semibold text-fg-primary", children: t.title }),
2143
- t.description && /* @__PURE__ */ d(
2108
+ /* @__PURE__ */ c("h3", { className: "text-sm font-semibold text-fg-primary", children: t.title }),
2109
+ t.description && /* @__PURE__ */ c(
2144
2110
  "p",
2145
2111
  {
2146
2112
  className: `text-xs text-fg-secondary ${o("xs", "mt")}`,
2147
2113
  children: t.description
2148
2114
  }
2149
2115
  ),
2150
- t.content && /* @__PURE__ */ d("div", { className: o("sm", "mt"), children: t.content })
2116
+ t.content && /* @__PURE__ */ c("div", { className: o("sm", "mt"), children: t.content })
2151
2117
  ]
2152
2118
  }
2153
2119
  )
2154
2120
  ] }) }, t.id);
2155
- }) }) : /* @__PURE__ */ d("div", { className: `${o("none", "space-y")} ${n}`, children: r.map((t, i) => {
2156
- const s = t.status || (i === 0 ? "active" : i < r.findIndex((f) => f.status === "active") ? "completed" : "default"), c = i === r.length - 1;
2157
- return /* @__PURE__ */ C(
2121
+ }) }) : /* @__PURE__ */ c("div", { className: `${o("none", "space-y")} ${n}`, children: r.map((t, i) => {
2122
+ const s = t.status || (i === 0 ? "active" : i < r.findIndex((f) => f.status === "active") ? "completed" : "default"), d = i === r.length - 1;
2123
+ return /* @__PURE__ */ z(
2158
2124
  "div",
2159
2125
  {
2160
2126
  className: `flex items-start ${o("base", "gap")}`,
2161
2127
  children: [
2162
- /* @__PURE__ */ C("div", { className: "flex flex-col items-center", children: [
2163
- /* @__PURE__ */ d(
2128
+ /* @__PURE__ */ z("div", { className: "flex flex-col items-center", children: [
2129
+ /* @__PURE__ */ c(
2164
2130
  "div",
2165
2131
  v(m({}, s === "default" ? { "data-marker": "pending" } : {}), {
2166
2132
  className: `
@@ -2169,14 +2135,14 @@ function ha({
2169
2135
  justify-center
2170
2136
  w-10
2171
2137
  h-10
2172
- ${M("full")}
2138
+ ${C("full")}
2173
2139
  border-2
2174
2140
  ${s === "completed" ? "bg-success border-success text-fg-inverse" : s === "active" ? "bg-surface-brand-strong border-line-brand text-fg-inverse" : s === "error" ? "bg-error border-error text-fg-inverse" : "bg-surface-base border-line-emphasis text-fg-quaternary"}
2175
2141
  `,
2176
- children: t.icon || (s === "completed" ? /* @__PURE__ */ d(J, { className: "h-4 w-4" }) : i + 1)
2142
+ children: t.icon || (s === "completed" ? /* @__PURE__ */ c(J, { className: "h-4 w-4" }) : i + 1)
2177
2143
  })
2178
2144
  ),
2179
- !c && /* @__PURE__ */ d(
2145
+ !d && /* @__PURE__ */ c(
2180
2146
  "div",
2181
2147
  {
2182
2148
  className: `
@@ -2189,15 +2155,15 @@ function ha({
2189
2155
  }
2190
2156
  )
2191
2157
  ] }),
2192
- /* @__PURE__ */ C("div", { className: `flex-1 ${o("xl", "pb")}`, children: [
2193
- t.timestamp && /* @__PURE__ */ d(
2158
+ /* @__PURE__ */ z("div", { className: `flex-1 ${o("xl", "pb")}`, children: [
2159
+ t.timestamp && /* @__PURE__ */ c(
2194
2160
  "p",
2195
2161
  {
2196
2162
  className: `text-xs text-fg-tertiary ${o("xs", "mb")}`,
2197
2163
  children: t.timestamp
2198
2164
  }
2199
2165
  ),
2200
- /* @__PURE__ */ d(
2166
+ /* @__PURE__ */ c(
2201
2167
  "h3",
2202
2168
  {
2203
2169
  className: `
@@ -2208,14 +2174,14 @@ function ha({
2208
2174
  children: t.title
2209
2175
  }
2210
2176
  ),
2211
- t.description && /* @__PURE__ */ d(
2177
+ t.description && /* @__PURE__ */ c(
2212
2178
  "p",
2213
2179
  {
2214
2180
  className: `text-sm text-fg-secondary ${o("xs", "mt")}`,
2215
2181
  children: t.description
2216
2182
  }
2217
2183
  ),
2218
- t.content && /* @__PURE__ */ d("div", { className: o("md", "mt"), children: t.content })
2184
+ t.content && /* @__PURE__ */ c("div", { className: o("md", "mt"), children: t.content })
2219
2185
  ] })
2220
2186
  ]
2221
2187
  },
@@ -2224,30 +2190,29 @@ function ha({
2224
2190
  }) });
2225
2191
  }
2226
2192
  export {
2227
- Ze as AutocompleteOption,
2228
2193
  ye as Badge,
2229
- da as Breadcrumb,
2230
- Ge as Card,
2194
+ oa as Breadcrumb,
2195
+ Ze as Card,
2231
2196
  Le as Chip,
2232
2197
  Xe as Container,
2233
- fa as DialogFooter,
2234
- ca as DialogHeader,
2235
- ua as DrawerFooter,
2236
- pa as DrawerHeader,
2237
- ia as ErrorMessage,
2238
- ma as HeaderActions,
2239
- ba as HeaderNavigation,
2240
- sa as Info,
2241
- Ae as Label,
2242
- ga as MenuSeparator,
2243
- xa as NavbarSeparator,
2198
+ ca as DialogFooter,
2199
+ da as DialogHeader,
2200
+ pa as DrawerFooter,
2201
+ fa as DrawerHeader,
2202
+ na as ErrorMessage,
2203
+ ua as HeaderActions,
2204
+ ma as HeaderNavigation,
2205
+ ia as Info,
2206
+ Ee as Label,
2207
+ ba as MenuSeparator,
2208
+ ga as NavbarSeparator,
2244
2209
  Re as Progress,
2245
- Be as Separator,
2246
- la as Skeleton,
2210
+ He as Separator,
2211
+ sa as Skeleton,
2247
2212
  Pe as Spinner,
2248
2213
  Ye as Stack,
2249
- ya as TableCell,
2250
- oa as Text,
2251
- ha as Timeline
2214
+ xa as TableCell,
2215
+ la as Text,
2216
+ ya as Timeline
2252
2217
  };
2253
2218
  //# sourceMappingURL=index.js.map