@fabio.caffarello/react-design-system 3.7.0 → 3.8.0

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,33 +1,33 @@
1
1
  var de = Object.defineProperty, ce = Object.defineProperties;
2
2
  var fe = Object.getOwnPropertyDescriptors;
3
- var U = Object.getOwnPropertySymbols;
3
+ var K = Object.getOwnPropertySymbols;
4
4
  var Q = Object.prototype.hasOwnProperty, J = Object.prototype.propertyIsEnumerable;
5
5
  var G = (t, a, n) => a in t ? de(t, a, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[a] = n, p = (t, a) => {
6
6
  for (var n in a || (a = {}))
7
7
  Q.call(a, n) && G(t, n, a[n]);
8
- if (U)
9
- for (var n of U(a))
8
+ if (K)
9
+ for (var n of K(a))
10
10
  J.call(a, n) && G(t, n, a[n]);
11
11
  return t;
12
- }, y = (t, a) => ce(t, fe(a));
12
+ }, h = (t, a) => ce(t, fe(a));
13
13
  var g = (t, a) => {
14
14
  var n = {};
15
15
  for (var r in t)
16
16
  Q.call(t, r) && a.indexOf(r) < 0 && (n[r] = t[r]);
17
- if (t != null && U)
18
- for (var r of U(t))
17
+ if (t != null && K)
18
+ for (var r of K(t))
19
19
  a.indexOf(r) < 0 && J.call(t, r) && (n[r] = t[r]);
20
20
  return n;
21
21
  };
22
22
  var ee = (t, a, n) => G(t, typeof a != "symbol" ? a + "" : a, n);
23
- import { jsx as o, jsxs as $ } from "react/jsx-runtime";
24
- import * as C from "react";
25
- import ie, { memo as B, forwardRef as O } from "react";
23
+ import { jsx as c, jsxs as S } from "react/jsx-runtime";
24
+ import * as E from "react";
25
+ import le, { memo as P, forwardRef as q } from "react";
26
26
  import { clsx as pe } from "clsx";
27
27
  import { twMerge as ue } from "tailwind-merge";
28
28
  import { cva as me } from "class-variance-authority";
29
29
  import { X as be, AlertCircle as ge, Loader2 as xe, CheckCircle2 as ae } from "lucide-react";
30
- class I {
30
+ class V {
31
31
  /**
32
32
  * Create a radius token
33
33
  */
@@ -83,20 +83,20 @@ class I {
83
83
  };
84
84
  }
85
85
  }
86
- const ye = {
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")
86
+ const he = {
87
+ none: V.create("none"),
88
+ sm: V.create("sm"),
89
+ md: V.create("md"),
90
+ lg: V.create("lg"),
91
+ xl: V.create("xl"),
92
+ "2xl": V.create("2xl"),
93
+ "3xl": V.create("3xl"),
94
+ full: V.create("full")
95
95
  };
96
- function T(t) {
97
- return ye[t].tailwind;
96
+ function M(t) {
97
+ return he[t].tailwind;
98
98
  }
99
- class N {
99
+ class k {
100
100
  // 4px base
101
101
  /**
102
102
  * Create a spacing token from scale value
@@ -163,46 +163,46 @@ class N {
163
163
  }[a] || String(a);
164
164
  }
165
165
  }
166
- ee(N, "BASE_UNIT", 4);
167
- const he = {
166
+ ee(k, "BASE_UNIT", 4);
167
+ const ye = {
168
168
  // Micro spacing (0-14px)
169
- none: N.create(0),
170
- "0.5": N.create(0.5),
169
+ none: k.create(0),
170
+ "0.5": k.create(0.5),
171
171
  // 2px (half-step)
172
- xs: N.create(1),
172
+ xs: k.create(1),
173
173
  // 4px
174
- "1.5": N.create(1.5),
174
+ "1.5": k.create(1.5),
175
175
  // 6px (half-step)
176
- sm: N.create(2),
176
+ sm: k.create(2),
177
177
  // 8px
178
- "2.5": N.create(2.5),
178
+ "2.5": k.create(2.5),
179
179
  // 10px (half-step)
180
- md: N.create(3),
180
+ md: k.create(3),
181
181
  // 12px
182
- "3.5": N.create(3.5),
182
+ "3.5": k.create(3.5),
183
183
  // 14px (half-step)
184
184
  // Standard spacing (16-32px)
185
- base: N.create(4),
185
+ base: k.create(4),
186
186
  // 16px
187
- lg: N.create(6),
187
+ lg: k.create(6),
188
188
  // 24px
189
- xl: N.create(8),
189
+ xl: k.create(8),
190
190
  // 32px
191
191
  // Large spacing (40-64px)
192
- "2xl": N.create(10),
192
+ "2xl": k.create(10),
193
193
  // 40px
194
- "3xl": N.create(12),
194
+ "3xl": k.create(12),
195
195
  // 48px
196
- "4xl": N.create(16),
196
+ "4xl": k.create(16),
197
197
  // 64px
198
198
  // Extra large spacing (80px+)
199
- "5xl": N.create(20),
199
+ "5xl": k.create(20),
200
200
  // 80px
201
- "6xl": N.create(24)
201
+ "6xl": k.create(24)
202
202
  // 96px
203
203
  };
204
204
  function d(t, a = "p") {
205
- const r = he[t].tailwind;
205
+ const r = ye[t].tailwind;
206
206
  return `${{
207
207
  p: "p",
208
208
  m: "m",
@@ -225,7 +225,7 @@ function d(t, a = "p") {
225
225
  "space-y": "space-y"
226
226
  }[a]}-${r}`;
227
227
  }
228
- class k {
228
+ class $ {
229
229
  /**
230
230
  * Create font size token
231
231
  */
@@ -295,51 +295,51 @@ class k {
295
295
  };
296
296
  }
297
297
  }
298
- k.createFontWeight("light"), k.createFontWeight("normal"), k.createFontWeight("medium"), k.createFontWeight("semibold"), k.createFontWeight("bold");
298
+ $.createFontWeight("light"), $.createFontWeight("normal"), $.createFontWeight("medium"), $.createFontWeight("semibold"), $.createFontWeight("bold");
299
299
  const Z = {
300
300
  // Headings
301
- h1: k.create("4xl", "tight", "bold"),
302
- h2: k.create("3xl", "tight", "bold"),
303
- h3: k.create("2xl", "snug", "semibold"),
304
- h4: k.create("xl", "snug", "semibold"),
305
- h5: k.create("lg", "normal", "medium"),
306
- h6: k.create("base", "normal", "medium"),
301
+ h1: $.create("4xl", "tight", "bold"),
302
+ h2: $.create("3xl", "tight", "bold"),
303
+ h3: $.create("2xl", "snug", "semibold"),
304
+ h4: $.create("xl", "snug", "semibold"),
305
+ h5: $.create("lg", "normal", "medium"),
306
+ h6: $.create("base", "normal", "medium"),
307
307
  // Body text
308
- body: k.create("base", "relaxed", "normal"),
309
- bodySmall: k.create("sm", "relaxed", "normal"),
310
- bodyLarge: k.create("lg", "relaxed", "normal"),
308
+ body: $.create("base", "relaxed", "normal"),
309
+ bodySmall: $.create("sm", "relaxed", "normal"),
310
+ bodyLarge: $.create("lg", "relaxed", "normal"),
311
311
  // UI elements
312
- label: k.create("sm", "normal", "medium"),
313
- caption: k.create("xs", "normal", "normal"),
314
- button: k.create("base", "normal", "medium")
312
+ label: $.create("sm", "normal", "medium"),
313
+ caption: $.create("xs", "normal", "normal"),
314
+ button: $.create("base", "normal", "medium")
315
315
  };
316
- function V(t) {
316
+ function R(t) {
317
317
  const a = Z[t];
318
318
  return `${a.fontSize.tailwind} ${a.lineHeight.tailwind} ${a.fontWeight.tailwind}`;
319
319
  }
320
320
  function z(t) {
321
321
  return Z[t].fontSize.tailwind;
322
322
  }
323
- function H(t) {
323
+ function O(t) {
324
324
  return Z[t].fontWeight.tailwind;
325
325
  }
326
326
  function l(...t) {
327
327
  return ue(pe(t));
328
328
  }
329
- const j = (t, a) => {
329
+ const _ = (t, a) => {
330
330
  const n = me(t, a);
331
331
  return ((r) => {
332
332
  const s = n(r);
333
333
  return l(s);
334
334
  });
335
- }, ve = j(
335
+ }, ve = _(
336
336
  // Base classes
337
337
  l(
338
338
  "inline-flex",
339
339
  "items-center",
340
340
  "justify-center",
341
- H("label"),
342
- T("md"),
341
+ O("label"),
342
+ M("md"),
343
343
  "border"
344
344
  ),
345
345
  {
@@ -470,15 +470,15 @@ const j = (t, a) => {
470
470
  style: "solid"
471
471
  }
472
472
  }
473
- ), we = B(
474
- O(function(b, u) {
473
+ ), we = P(
474
+ q(function(b, u) {
475
475
  var m = b, {
476
476
  variant: a = "neutral",
477
477
  size: n = "md",
478
478
  style: r = "solid",
479
479
  className: s = "",
480
480
  children: i,
481
- "aria-label": c
481
+ "aria-label": o
482
482
  } = m, f = g(m, [
483
483
  "variant",
484
484
  "size",
@@ -487,23 +487,23 @@ const j = (t, a) => {
487
487
  "children",
488
488
  "aria-label"
489
489
  ]);
490
- const h = l(ve({ variant: a, size: n, style: r }), s);
490
+ const y = l(ve({ variant: a, size: n, style: r }), s);
491
491
  let x;
492
- if (c)
493
- x = c;
492
+ if (o)
493
+ x = o;
494
494
  else if (typeof i == "string")
495
495
  x = i;
496
496
  else if (typeof i == "object" && i !== null && "props" in i) {
497
497
  const v = i.props;
498
498
  v != null && v.children && typeof v.children == "string" && (x = v.children);
499
499
  }
500
- return /* @__PURE__ */ o(
500
+ return /* @__PURE__ */ c(
501
501
  "span",
502
- y(p({
502
+ h(p({
503
503
  ref: u,
504
504
  role: "status",
505
505
  "aria-label": x,
506
- className: h
506
+ className: y
507
507
  }, f), {
508
508
  children: i
509
509
  })
@@ -532,45 +532,52 @@ function Ne(...t) {
532
532
  };
533
533
  };
534
534
  }
535
- var ke = /* @__PURE__ */ Symbol.for("react.lazy"), K = C[" use ".trim().toString()];
536
- function $e(t) {
537
- return typeof t == "object" && t !== null && "then" in t;
538
- }
539
- function le(t) {
540
- return t != null && typeof t == "object" && "$$typeof" in t && t.$$typeof === ke && "_payload" in t && $e(t._payload);
535
+ function ke(...t) {
536
+ return E.useCallback(Ne(...t), t);
541
537
  }
542
538
  // @__NO_SIDE_EFFECTS__
543
- function Se(t) {
544
- const a = /* @__PURE__ */ Te(t), n = C.forwardRef((r, s) => {
545
- let b = r, { children: i } = b, c = g(b, ["children"]);
546
- le(i) && typeof K == "function" && (i = K(i._payload));
547
- const f = C.Children.toArray(i), u = f.find(ze);
548
- if (u) {
549
- const m = u.props.children, h = f.map((x) => x === u ? C.Children.count(m) > 1 ? C.Children.only(null) : C.isValidElement(m) ? m.props.children : null : x);
550
- return /* @__PURE__ */ o(a, y(p({}, c), { ref: s, children: C.isValidElement(m) ? C.cloneElement(m, void 0, h) : null }));
551
- }
552
- return /* @__PURE__ */ o(a, y(p({}, c), { ref: s, children: i }));
553
- });
554
- return n.displayName = `${t}.Slot`, n;
555
- }
556
- var Ce = /* @__PURE__ */ Se("Slot");
557
- // @__NO_SIDE_EFFECTS__
558
- function Te(t) {
559
- const a = C.forwardRef((n, r) => {
560
- let c = n, { children: s } = c, i = g(c, ["children"]);
561
- if (le(s) && typeof K == "function" && (s = K(s._payload)), C.isValidElement(s)) {
562
- const f = Fe(s), u = Le(i, s.props);
563
- return s.type !== C.Fragment && (u.ref = r ? Ne(r, f) : f), C.cloneElement(s, u);
539
+ function $e(t) {
540
+ const a = E.forwardRef((n, r) => {
541
+ var v;
542
+ let x = n, { children: s } = x, i = g(x, ["children"]), o = null, f = !1;
543
+ const u = [];
544
+ re(s) && typeof X == "function" && (s = X(s._payload)), E.Children.forEach(s, (N) => {
545
+ var T;
546
+ if (ze(N)) {
547
+ f = !0;
548
+ const D = N;
549
+ let L = "child" in D.props ? D.props.child : D.props.children;
550
+ re(L) && typeof X == "function" && (L = X(L._payload)), o = Ce(D, L), u.push((T = o == null ? void 0 : o.props) == null ? void 0 : T.children);
551
+ } else
552
+ u.push(N);
553
+ }), o ? o = E.cloneElement(o, void 0, u) : (
554
+ // A `Slottable` was found but it didn't resolve to a single element (e.g.
555
+ // it wrapped multiple elements, text, or a render-prop `child` that
556
+ // wasn't an element). Don't fall back to treating the `Slottable` wrapper
557
+ // itself as the slot target throw a descriptive error below instead.
558
+ !f && E.Children.count(s) === 1 && E.isValidElement(s) && (o = s)
559
+ );
560
+ const b = o ? Ee(o) : void 0, m = ke(r, b);
561
+ if (!o) {
562
+ if (s || s === 0)
563
+ throw new Error(
564
+ f ? Ie(t) : Ae(t)
565
+ );
566
+ return s;
564
567
  }
565
- return C.Children.count(s) > 1 ? C.Children.only(null) : null;
568
+ const y = Me(i, (v = o.props) != null ? v : {});
569
+ return o.type !== E.Fragment && (y.ref = r ? m : b), E.cloneElement(o, y);
566
570
  });
567
- return a.displayName = `${t}.SlotClone`, a;
571
+ return a.displayName = `${t}.Slot`, a;
568
572
  }
569
- var Me = /* @__PURE__ */ Symbol("radix.slottable");
570
- function ze(t) {
571
- return C.isValidElement(t) && typeof t.type == "function" && "__radixId" in t.type && t.type.__radixId === Me;
572
- }
573
- function Le(t, a) {
573
+ var Se = /* @__PURE__ */ $e("Slot"), Te = /* @__PURE__ */ Symbol.for("radix.slottable"), Ce = (t, a) => {
574
+ if ("child" in t.props) {
575
+ const n = t.props.child;
576
+ return E.isValidElement(n) ? E.cloneElement(n, void 0, t.props.children(n.props.children)) : null;
577
+ }
578
+ return E.isValidElement(a) ? a : null;
579
+ };
580
+ function Me(t, a) {
574
581
  const n = p({}, a);
575
582
  for (const r in a) {
576
583
  const s = t[r], i = a[r];
@@ -581,18 +588,29 @@ function Le(t, a) {
581
588
  }
582
589
  return p(p({}, t), n);
583
590
  }
584
- function Fe(t) {
591
+ function Ee(t) {
585
592
  var r, s;
586
593
  let a = (r = Object.getOwnPropertyDescriptor(t.props, "ref")) == null ? void 0 : r.get, n = a && "isReactWarning" in a && a.isReactWarning;
587
594
  return n ? t.ref : (a = (s = Object.getOwnPropertyDescriptor(t, "ref")) == null ? void 0 : s.get, n = a && "isReactWarning" in a && a.isReactWarning, n ? t.props.ref : t.props.ref || t.ref);
588
595
  }
589
- const re = j(
596
+ function ze(t) {
597
+ return E.isValidElement(t) && typeof t.type == "function" && "__radixId" in t.type && t.type.__radixId === Te;
598
+ }
599
+ var Fe = /* @__PURE__ */ Symbol.for("react.lazy");
600
+ function re(t) {
601
+ return t != null && typeof t == "object" && "$$typeof" in t && t.$$typeof === Fe && "_payload" in t && Le(t._payload);
602
+ }
603
+ function Le(t) {
604
+ return typeof t == "object" && t !== null && "then" in t;
605
+ }
606
+ var Ae = (t) => `${t} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`, Ie = (t) => `${t} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`, X = E[" use ".trim().toString()];
607
+ const ne = _(
590
608
  // Base classes
591
609
  l(
592
610
  "inline-flex",
593
611
  "items-center",
594
612
  "font-medium",
595
- T("full"),
613
+ M("full"),
596
614
  d("xs", "gap")
597
615
  ),
598
616
  {
@@ -675,17 +693,17 @@ const re = j(
675
693
  disabled: !1
676
694
  }
677
695
  }
678
- ), Ee = O(function(a, n) {
696
+ ), De = q(function(a, n) {
679
697
  const {
680
698
  children: r,
681
699
  variant: s = "default",
682
700
  size: i = "md",
683
- selected: c = !1,
701
+ selected: o = !1,
684
702
  disabled: f = !1,
685
703
  className: u = "",
686
704
  "aria-label": b,
687
705
  tabIndex: m,
688
- asChild: h = !1
706
+ asChild: y = !1
689
707
  } = a, v = (() => {
690
708
  if (b) return b;
691
709
  if (typeof r == "string") return r;
@@ -695,13 +713,13 @@ const re = j(
695
713
  return F.children;
696
714
  }
697
715
  })();
698
- if (h)
699
- return /* @__PURE__ */ o(
700
- Ce,
716
+ if (y)
717
+ return /* @__PURE__ */ c(
718
+ Se,
701
719
  {
702
720
  ref: n,
703
721
  className: l(
704
- re({ variant: s, size: i, selected: c, disabled: f }),
722
+ ne({ variant: s, size: i, selected: o, disabled: f }),
705
723
  u
706
724
  ),
707
725
  "aria-label": b,
@@ -710,30 +728,30 @@ const re = j(
710
728
  children: r
711
729
  }
712
730
  );
713
- const { onRemove: M, onClick: L } = a, X = L !== void 0, q = X && !f, R = (F) => {
714
- f || (F.key === "Enter" || F.key === " ") && (F.preventDefault(), L == null || L());
731
+ const { onRemove: N, onClick: T } = a, D = T !== void 0, L = D && !f, H = (F) => {
732
+ f || (F.key === "Enter" || F.key === " ") && (F.preventDefault(), T == null || T());
715
733
  };
716
- return /* @__PURE__ */ $(
734
+ return /* @__PURE__ */ S(
717
735
  "div",
718
736
  {
719
737
  ref: n,
720
738
  className: l(
721
- re({ variant: s, size: i, selected: c, disabled: f }),
722
- M && d("xs", "pr"),
739
+ ne({ variant: s, size: i, selected: o, disabled: f }),
740
+ N && d("xs", "pr"),
723
741
  u
724
742
  ),
725
743
  "aria-disabled": f,
726
744
  children: [
727
- X ? /* @__PURE__ */ o(
745
+ D ? /* @__PURE__ */ c(
728
746
  "button",
729
747
  {
730
748
  type: "button",
731
- onClick: f ? void 0 : L,
732
- onKeyDown: R,
749
+ onClick: f ? void 0 : T,
750
+ onKeyDown: H,
733
751
  disabled: f,
734
- "aria-pressed": c ? !0 : void 0,
752
+ "aria-pressed": o ? !0 : void 0,
735
753
  "aria-label": b || v,
736
- tabIndex: m !== void 0 ? m : q ? 0 : void 0,
754
+ tabIndex: m !== void 0 ? m : L ? 0 : void 0,
737
755
  className: l(
738
756
  "flex-1",
739
757
  "bg-transparent",
@@ -746,22 +764,22 @@ const re = j(
746
764
  "focus:ring-2",
747
765
  "focus:ring-line-focus",
748
766
  "focus:ring-offset-2",
749
- T("full")
767
+ M("full")
750
768
  ),
751
769
  children: r
752
770
  }
753
- ) : /* @__PURE__ */ o("span", { children: r }),
754
- M && !f && /* @__PURE__ */ o(
771
+ ) : /* @__PURE__ */ c("span", { children: r }),
772
+ N && !f && /* @__PURE__ */ c(
755
773
  "button",
756
774
  {
757
775
  type: "button",
758
776
  onClick: (F) => {
759
- F.stopPropagation(), M();
777
+ F.stopPropagation(), N();
760
778
  },
761
779
  className: l(
762
780
  d("xs", "ml"),
763
781
  "hover:bg-tint-hover",
764
- T("full"),
782
+ M("full"),
765
783
  d("xs", "p"),
766
784
  "transition-colors",
767
785
  "focus:outline-none",
@@ -770,15 +788,15 @@ const re = j(
770
788
  "focus:ring-offset-1"
771
789
  ),
772
790
  "aria-label": `Remove ${v || "chip"}`,
773
- children: /* @__PURE__ */ o(be, { className: "h-3 w-3", "aria-hidden": "true" })
791
+ children: /* @__PURE__ */ c(be, { className: "h-3 w-3", "aria-hidden": "true" })
774
792
  }
775
793
  )
776
794
  ]
777
795
  }
778
796
  );
779
797
  });
780
- Ee.displayName = "Chip";
781
- function xa(s) {
798
+ De.displayName = "Chip";
799
+ function va(s) {
782
800
  var i = s, {
783
801
  message: t,
784
802
  id: a,
@@ -788,20 +806,20 @@ function xa(s) {
788
806
  "id",
789
807
  "className"
790
808
  ]);
791
- const c = [
809
+ const o = [
792
810
  d("xs", "mt"),
793
811
  z("bodySmall"),
794
812
  "text-fg-error",
795
813
  "flex",
796
814
  "items-center",
797
815
  d("xs", "gap")
798
- ], f = l(...c, n);
799
- return /* @__PURE__ */ $("div", y(p({ role: "alert", id: a, className: f, "aria-live": "polite" }, r), { children: [
800
- /* @__PURE__ */ o(ge, { className: "h-4 w-4 shrink-0", "aria-hidden": "true" }),
801
- /* @__PURE__ */ o("span", { children: t })
816
+ ], f = l(...o, n);
817
+ return /* @__PURE__ */ S("div", h(p({ role: "alert", id: a, className: f, "aria-live": "polite" }, r), { children: [
818
+ /* @__PURE__ */ c(ge, { className: "h-4 w-4 shrink-0", "aria-hidden": "true" }),
819
+ /* @__PURE__ */ c("span", { children: t })
802
820
  ] }));
803
821
  }
804
- function ya(r) {
822
+ function wa(r) {
805
823
  var s = r, {
806
824
  variant: t = "info",
807
825
  className: a
@@ -814,7 +832,7 @@ function ya(r) {
814
832
  error: l("bg-error-bg", "text-error-dark", "border-error"),
815
833
  info: l("bg-info-bg", "text-info-dark", "border-info")
816
834
  };
817
- return /* @__PURE__ */ o(
835
+ return /* @__PURE__ */ c(
818
836
  "div",
819
837
  p({
820
838
  role: "alert",
@@ -822,19 +840,19 @@ function ya(r) {
822
840
  "border",
823
841
  d("base", "px"),
824
842
  d("sm", "py"),
825
- T("lg"),
843
+ M("lg"),
826
844
  i[t],
827
845
  a
828
846
  )
829
847
  }, n)
830
848
  );
831
849
  }
832
- const Ae = l(
850
+ const Ve = l(
833
851
  "block",
834
852
  z("label"),
835
- H("label"),
853
+ O("label"),
836
854
  "text-fg-primary"
837
- ), Ie = {
855
+ ), We = {
838
856
  default: "",
839
857
  required: l(
840
858
  "after:content-['*']",
@@ -847,20 +865,20 @@ const Ae = l(
847
865
  "after:text-fg-tertiary",
848
866
  "after:font-normal"
849
867
  )
850
- }, De = B(
851
- O(function(c, i) {
852
- var f = c, { variant: a = "default", className: n = "", children: r } = f, s = g(f, ["variant", "className", "children"]);
868
+ }, Re = P(
869
+ q(function(o, i) {
870
+ var f = o, { variant: a = "default", className: n = "", children: r } = f, s = g(f, ["variant", "className", "children"]);
853
871
  const u = l(
854
- Ae,
855
- Ie[a],
872
+ Ve,
873
+ We[a],
856
874
  n
857
875
  );
858
- return /* @__PURE__ */ o("label", y(p({ ref: i, className: u }, s), { children: r }));
876
+ return /* @__PURE__ */ c("label", h(p({ ref: i, className: u }, s), { children: r }));
859
877
  })
860
878
  );
861
- De.displayName = "Label";
879
+ Re.displayName = "Label";
862
880
  function w(t, a, n) {
863
- const r = Ve(t), s = We(t);
881
+ const r = je(t), s = _e(t);
864
882
  return {
865
883
  hex: t,
866
884
  rgb: r,
@@ -869,19 +887,19 @@ function w(t, a, n) {
869
887
  tailwind: `${a}-${n}`
870
888
  };
871
889
  }
872
- function Ve(t) {
890
+ function je(t) {
873
891
  const a = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);
874
892
  return a ? `${parseInt(a[1], 16)}, ${parseInt(a[2], 16)}, ${parseInt(a[3], 16)}` : "0, 0, 0";
875
893
  }
876
- function We(t) {
894
+ function _e(t) {
877
895
  const a = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);
878
896
  if (!a) return "0, 0%, 0%";
879
- const n = parseInt(a[1], 16) / 255, r = parseInt(a[2], 16) / 255, s = parseInt(a[3], 16) / 255, i = Math.max(n, r, s), c = Math.min(n, r, s);
897
+ const n = parseInt(a[1], 16) / 255, r = parseInt(a[2], 16) / 255, s = parseInt(a[3], 16) / 255, i = Math.max(n, r, s), o = Math.min(n, r, s);
880
898
  let f = 0, u = 0;
881
- const b = (i + c) / 2;
882
- if (i !== c) {
883
- const m = i - c;
884
- switch (u = b > 0.5 ? m / (2 - i - c) : m / (i + c), i) {
899
+ const b = (i + o) / 2;
900
+ if (i !== o) {
901
+ const m = i - o;
902
+ switch (u = b > 0.5 ? m / (2 - i - o) : m / (i + o), i) {
885
903
  case n:
886
904
  f = ((r - s) / m + (r < s ? 6 : 0)) / 6;
887
905
  break;
@@ -898,7 +916,7 @@ function We(t) {
898
916
  w("#f0f4f8", "brand-primary", 50), w("#d9e2ec", "brand-primary", 100), w("#bcccdc", "brand-primary", 200), w("#9fb3c8", "brand-primary", 300), w("#7390ad", "brand-primary", 400), w("#486581", "brand-primary", 500), w("#334e68", "brand-primary", 600), w("#243b53", "brand-primary", 700), w("#1a2a3a", "brand-primary", 800), w("#102a43", "brand-primary", 900), w("#061a35", "brand-primary", 950);
899
917
  w("#f7f5ff", "brand-secondary", 50), w("#eee9ff", "brand-secondary", 100), w("#e0d6ff", "brand-secondary", 200), w("#cbb8ff", "brand-secondary", 300), w("#aa89fc", "brand-secondary", 400), w("#8e58f2", "brand-secondary", 500), w("#703bc8", "brand-secondary", 600), w("#582aa2", "brand-secondary", 700), w("#44227e", "brand-secondary", 800), w("#32185d", "brand-secondary", 900), w("#180635", "brand-secondary", 950);
900
918
  function e(t, a, n) {
901
- const r = je(t), s = Re(t);
919
+ const r = He(t), s = Be(t);
902
920
  return {
903
921
  hex: t,
904
922
  rgb: r,
@@ -907,19 +925,19 @@ function e(t, a, n) {
907
925
  tailwind: `${a}-${n}`
908
926
  };
909
927
  }
910
- function je(t) {
928
+ function He(t) {
911
929
  const a = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);
912
930
  return a ? `${parseInt(a[1], 16)}, ${parseInt(a[2], 16)}, ${parseInt(a[3], 16)}` : "0, 0, 0";
913
931
  }
914
- function Re(t) {
932
+ function Be(t) {
915
933
  const a = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);
916
934
  if (!a) return "0, 0%, 0%";
917
- const n = parseInt(a[1], 16) / 255, r = parseInt(a[2], 16) / 255, s = parseInt(a[3], 16) / 255, i = Math.max(n, r, s), c = Math.min(n, r, s);
935
+ const n = parseInt(a[1], 16) / 255, r = parseInt(a[2], 16) / 255, s = parseInt(a[3], 16) / 255, i = Math.max(n, r, s), o = Math.min(n, r, s);
918
936
  let f = 0, u = 0;
919
- const b = (i + c) / 2;
920
- if (i !== c) {
921
- const m = i - c;
922
- switch (u = b > 0.5 ? m / (2 - i - c) : m / (i + c), i) {
937
+ const b = (i + o) / 2;
938
+ if (i !== o) {
939
+ const m = i - o;
940
+ switch (u = b > 0.5 ? m / (2 - i - o) : m / (i + o), i) {
923
941
  case n:
924
942
  f = ((r - s) / m + (r < s ? 6 : 0)) / 6;
925
943
  break;
@@ -952,7 +970,7 @@ e("#fdf2f8", "pink", 50), e("#fce7f3", "pink", 100), e("#fbcfe8", "pink", 200),
952
970
  e("#faf5ff", "purple", 50), e("#f3e8ff", "purple", 100), e("#e9d5ff", "purple", 200), e("#d8b4fe", "purple", 300), e("#c084fc", "purple", 400), e("#a855f7", "purple", 500), e("#9333ea", "purple", 600), e("#7e22ce", "purple", 700), e("#6b21a8", "purple", 800), e("#581c87", "purple", 900), e("#3b0764", "purple", 950);
953
971
  e("#f0fdfa", "teal", 50), e("#ccfbf1", "teal", 100), e("#99f6e4", "teal", 200), e("#5eead4", "teal", 300), e("#2dd4bf", "teal", 400), e("#14b8a6", "teal", 500), e("#0d9488", "teal", 600), e("#0f766e", "teal", 700), e("#115e59", "teal", 800), e("#134e4a", "teal", 900), e("#042f2e", "teal", 950);
954
972
  e("#f7fee7", "lime", 50), e("#ecfccb", "lime", 100), e("#d9f99d", "lime", 200), e("#bef264", "lime", 300), e("#a3e635", "lime", 400), e("#84cc16", "lime", 500), e("#65a30d", "lime", 600), e("#4d7c0f", "lime", 700), e("#3f6212", "lime", 800), e("#365314", "lime", 900), e("#1a2e05", "lime", 950);
955
- class W {
973
+ class j {
956
974
  /**
957
975
  * Create a shadow token
958
976
  */
@@ -996,19 +1014,19 @@ class W {
996
1014
  }[a];
997
1015
  }
998
1016
  }
999
- const _e = {
1000
- none: W.create("none"),
1001
- sm: W.create("sm"),
1002
- md: W.create("md"),
1003
- lg: W.create("lg"),
1004
- xl: W.create("xl"),
1005
- "2xl": W.create("2xl"),
1006
- inner: W.create("inner")
1017
+ const Oe = {
1018
+ none: j.create("none"),
1019
+ sm: j.create("sm"),
1020
+ md: j.create("md"),
1021
+ lg: j.create("lg"),
1022
+ xl: j.create("xl"),
1023
+ "2xl": j.create("2xl"),
1024
+ inner: j.create("inner")
1007
1025
  };
1008
1026
  function Y(t) {
1009
- return _e[t].tailwind;
1027
+ return Oe[t].tailwind;
1010
1028
  }
1011
- class E {
1029
+ class A {
1012
1030
  /**
1013
1031
  * Create a border width token
1014
1032
  */
@@ -1052,8 +1070,8 @@ class E {
1052
1070
  };
1053
1071
  }
1054
1072
  }
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 _ {
1073
+ 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");
1074
+ class B {
1057
1075
  /**
1058
1076
  * Create breakpoint token
1059
1077
  */
@@ -1074,8 +1092,8 @@ class _ {
1074
1092
  };
1075
1093
  }
1076
1094
  }
1077
- _.create("sm"), _.create("md"), _.create("lg"), _.create("xl"), _.create("2xl");
1078
- class D {
1095
+ B.create("sm"), B.create("md"), B.create("lg"), B.create("xl"), B.create("2xl");
1096
+ class W {
1079
1097
  /**
1080
1098
  * Create an animation token
1081
1099
  */
@@ -1132,7 +1150,7 @@ class D {
1132
1150
  * Create a transition token
1133
1151
  */
1134
1152
  static createTransition(a, n = "base", r = "ease-in-out") {
1135
- const s = this.create(n, r), i = Array.isArray(a) ? a.join(", ") : a, c = [
1153
+ const s = this.create(n, r), i = Array.isArray(a) ? a.join(", ") : a, o = [
1136
1154
  s.duration.tailwind,
1137
1155
  s.easing.tailwind
1138
1156
  ].join(" ");
@@ -1140,15 +1158,15 @@ class D {
1140
1158
  property: i,
1141
1159
  duration: s.duration.value,
1142
1160
  timingFunction: s.easing.value,
1143
- tailwind: c
1161
+ tailwind: o
1144
1162
  };
1145
1163
  }
1146
1164
  }
1147
- D.create("fast"), D.create("base"), D.create("slow"), D.create("slower"), D.createTransition(
1165
+ W.create("fast"), W.create("base"), W.create("slow"), W.create("slower"), W.createTransition(
1148
1166
  ["color", "background-color", "border-color"],
1149
1167
  "base"
1150
- ), D.createTransition("opacity", "fast"), D.createTransition("transform", "base"), D.createTransition("all", "base");
1151
- class A {
1168
+ ), W.createTransition("opacity", "fast"), W.createTransition("transform", "base"), W.createTransition("all", "base");
1169
+ class I {
1152
1170
  /**
1153
1171
  * Create a z-index token
1154
1172
  */
@@ -1202,8 +1220,8 @@ class A {
1202
1220
  }[a];
1203
1221
  }
1204
1222
  }
1205
- A.create("base"), A.create("dropdown"), A.create("sticky"), A.create("fixed"), A.create("modal-backdrop"), A.create("modal"), A.create("popover"), A.create("tooltip"), A.create("toast");
1206
- class S {
1223
+ 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");
1224
+ class C {
1207
1225
  /**
1208
1226
  * Create an opacity token
1209
1227
  */
@@ -1249,8 +1267,8 @@ class S {
1249
1267
  };
1250
1268
  }
1251
1269
  }
1252
- S.create(0), S.create(5), S.create(10), S.create(20), S.create(25), S.create(30), S.create(40), S.create(50), S.create(60), S.create(70), S.create(75), S.create(80), S.create(90), S.create(95), S.create(100);
1253
- const He = j("w-full", {
1270
+ C.create(0), C.create(5), C.create(10), C.create(20), C.create(25), C.create(30), C.create(40), C.create(50), C.create(60), C.create(70), C.create(75), C.create(80), C.create(90), C.create(95), C.create(100);
1271
+ const Pe = _("w-full", {
1254
1272
  variants: {
1255
1273
  size: {
1256
1274
  sm: "h-1",
@@ -1270,7 +1288,7 @@ const He = j("w-full", {
1270
1288
  size: "md",
1271
1289
  variant: "primary"
1272
1290
  }
1273
- }), ne = j("transition-all", {
1291
+ }), se = _("transition-all", {
1274
1292
  variants: {
1275
1293
  variant: {
1276
1294
  primary: "bg-surface-brand",
@@ -1284,14 +1302,14 @@ const He = j("w-full", {
1284
1302
  defaultVariants: {
1285
1303
  variant: "primary"
1286
1304
  }
1287
- }), Be = O(function(h, m) {
1288
- var x = h, {
1305
+ }), qe = q(function(y, m) {
1306
+ var x = y, {
1289
1307
  value: a,
1290
1308
  max: n = 100,
1291
1309
  variant: r = "primary",
1292
1310
  size: s = "md",
1293
1311
  showLabel: i = !1,
1294
- label: c,
1312
+ label: o,
1295
1313
  "aria-label": f,
1296
1314
  className: u = ""
1297
1315
  } = x, b = g(x, [
@@ -1304,9 +1322,9 @@ const He = j("w-full", {
1304
1322
  "aria-label",
1305
1323
  "className"
1306
1324
  ]);
1307
- const v = a === void 0, M = v ? void 0 : Math.min(Math.max(a / n * 100, 0), 100), L = f || (v ? "Loading in progress" : `Progress: ${M == null ? void 0 : M.toFixed(0)}%`);
1308
- return /* @__PURE__ */ $("div", y(p({ ref: m, className: l("w-full", u) }, b), { children: [
1309
- i && (c || !v) && /* @__PURE__ */ $(
1325
+ const v = a === void 0, N = v ? void 0 : Math.min(Math.max(a / n * 100, 0), 100), T = f || (v ? "Loading in progress" : `Progress: ${N == null ? void 0 : N.toFixed(0)}%`);
1326
+ return /* @__PURE__ */ S("div", h(p({ ref: m, className: l("w-full", u) }, b), { children: [
1327
+ i && (o || !v) && /* @__PURE__ */ S(
1310
1328
  "div",
1311
1329
  {
1312
1330
  className: l(
@@ -1316,18 +1334,18 @@ const He = j("w-full", {
1316
1334
  d("xs", "mb")
1317
1335
  ),
1318
1336
  children: [
1319
- c && /* @__PURE__ */ o(
1337
+ o && /* @__PURE__ */ c(
1320
1338
  "span",
1321
1339
  {
1322
1340
  className: l(
1323
1341
  z("bodySmall"),
1324
- H("label"),
1342
+ O("label"),
1325
1343
  "text-fg-primary"
1326
1344
  ),
1327
- children: c
1345
+ children: o
1328
1346
  }
1329
1347
  ),
1330
- !v && M !== void 0 && /* @__PURE__ */ $(
1348
+ !v && N !== void 0 && /* @__PURE__ */ S(
1331
1349
  "span",
1332
1350
  {
1333
1351
  className: l(
@@ -1335,7 +1353,7 @@ const He = j("w-full", {
1335
1353
  "text-fg-secondary"
1336
1354
  ),
1337
1355
  children: [
1338
- M.toFixed(0),
1356
+ N.toFixed(0),
1339
1357
  "%"
1340
1358
  ]
1341
1359
  }
@@ -1343,23 +1361,23 @@ const He = j("w-full", {
1343
1361
  ]
1344
1362
  }
1345
1363
  ),
1346
- /* @__PURE__ */ o(
1364
+ /* @__PURE__ */ c(
1347
1365
  "div",
1348
1366
  {
1349
1367
  role: "progressbar",
1350
1368
  "aria-valuemin": v ? void 0 : 0,
1351
1369
  "aria-valuemax": v ? void 0 : n,
1352
1370
  "aria-valuenow": v ? void 0 : a,
1353
- "aria-label": L,
1371
+ "aria-label": T,
1354
1372
  "aria-busy": v,
1355
1373
  className: l(
1356
1374
  "relative",
1357
1375
  "w-full",
1358
1376
  "overflow-hidden",
1359
- He({ size: s, variant: r }),
1360
- T("full")
1377
+ Pe({ size: s, variant: r }),
1378
+ M("full")
1361
1379
  ),
1362
- children: v ? /* @__PURE__ */ o(
1380
+ children: v ? /* @__PURE__ */ c(
1363
1381
  "div",
1364
1382
  {
1365
1383
  className: l(
@@ -1367,8 +1385,8 @@ const He = j("w-full", {
1367
1385
  "top-0",
1368
1386
  "left-0",
1369
1387
  "bottom-0",
1370
- ne({ variant: r }),
1371
- T("full"),
1388
+ se({ variant: r }),
1389
+ M("full"),
1372
1390
  "motion-reduce:animate-none"
1373
1391
  ),
1374
1392
  style: {
@@ -1376,19 +1394,19 @@ const He = j("w-full", {
1376
1394
  animation: "progress-indeterminate 1.5s ease-in-out infinite"
1377
1395
  }
1378
1396
  }
1379
- ) : /* @__PURE__ */ o(
1397
+ ) : /* @__PURE__ */ c(
1380
1398
  "div",
1381
1399
  {
1382
1400
  className: l(
1383
1401
  "h-full",
1384
- ne({ variant: r }),
1385
- T("full"),
1402
+ se({ variant: r }),
1403
+ M("full"),
1386
1404
  "transition-all",
1387
1405
  "duration-300",
1388
1406
  "ease-out"
1389
1407
  ),
1390
1408
  style: {
1391
- width: `${M}%`
1409
+ width: `${N}%`
1392
1410
  },
1393
1411
  "aria-hidden": "true"
1394
1412
  }
@@ -1397,20 +1415,20 @@ const He = j("w-full", {
1397
1415
  )
1398
1416
  ] }));
1399
1417
  });
1400
- Be.displayName = "Progress";
1401
- const Oe = {
1418
+ qe.displayName = "Progress";
1419
+ const Ue = {
1402
1420
  horizontal: "w-full border-t",
1403
1421
  vertical: "h-full border-l self-stretch"
1404
- }, Pe = {
1422
+ }, Ke = {
1405
1423
  solid: "border-solid",
1406
1424
  dashed: "border-dashed",
1407
1425
  dotted: "border-dotted"
1408
- }, qe = B(function(i) {
1409
- var c = i, {
1426
+ }, Xe = P(function(i) {
1427
+ var o = i, {
1410
1428
  orientation: a = "horizontal",
1411
1429
  variant: n = "solid",
1412
1430
  className: r = ""
1413
- } = c, s = g(c, [
1431
+ } = o, s = g(o, [
1414
1432
  "orientation",
1415
1433
  "variant",
1416
1434
  "className"
@@ -1418,18 +1436,18 @@ const Oe = {
1418
1436
  const f = l(
1419
1437
  "border-0",
1420
1438
  "border-line-default",
1421
- Oe[a],
1422
- Pe[n],
1439
+ Ue[a],
1440
+ Ke[n],
1423
1441
  r
1424
1442
  );
1425
- return a === "vertical" ? /* @__PURE__ */ o(
1443
+ return a === "vertical" ? /* @__PURE__ */ c(
1426
1444
  "div",
1427
1445
  p({
1428
1446
  className: f,
1429
1447
  role: "separator",
1430
1448
  "aria-orientation": "vertical"
1431
1449
  }, s)
1432
- ) : /* @__PURE__ */ o(
1450
+ ) : /* @__PURE__ */ c(
1433
1451
  "hr",
1434
1452
  p({
1435
1453
  className: f,
@@ -1438,8 +1456,8 @@ const Oe = {
1438
1456
  }, s)
1439
1457
  );
1440
1458
  });
1441
- qe.displayName = "Separator";
1442
- function ha(f) {
1459
+ Xe.displayName = "Separator";
1460
+ function Na(f) {
1443
1461
  var u = f, {
1444
1462
  variant: t = "text",
1445
1463
  width: a,
@@ -1447,7 +1465,7 @@ function ha(f) {
1447
1465
  lines: r = 1,
1448
1466
  className: s = "",
1449
1467
  "aria-label": i
1450
- } = u, c = g(u, [
1468
+ } = u, o = g(u, [
1451
1469
  "variant",
1452
1470
  "width",
1453
1471
  "height",
@@ -1458,45 +1476,45 @@ function ha(f) {
1458
1476
  const b = [
1459
1477
  "motion-safe:animate-pulse",
1460
1478
  "bg-surface-muted",
1461
- T("sm")
1479
+ M("sm")
1462
1480
  ], m = {
1463
1481
  text: "h-4",
1464
1482
  card: "h-32",
1465
1483
  list: "h-12",
1466
- circle: T("full")
1467
- }, h = l(...b, m[t], s), x = {};
1484
+ circle: M("full")
1485
+ }, y = l(...b, m[t], s), x = {};
1468
1486
  a && (x.width = a), n && (x.height = n);
1469
1487
  const v = i || `Loading ${t} content`;
1470
- return t === "text" && r > 1 ? /* @__PURE__ */ o(
1488
+ return t === "text" && r > 1 ? /* @__PURE__ */ c(
1471
1489
  "div",
1472
- y(p({
1490
+ h(p({
1473
1491
  className: d("sm", "space-y"),
1474
1492
  role: "status",
1475
1493
  "aria-busy": "true",
1476
1494
  "aria-label": v
1477
- }, c), {
1478
- children: Array.from({ length: r }).map((M, L) => /* @__PURE__ */ o(
1495
+ }, o), {
1496
+ children: Array.from({ length: r }).map((N, T) => /* @__PURE__ */ c(
1479
1497
  "div",
1480
1498
  {
1481
- className: h,
1482
- style: L === r - 1 ? { width: "75%" } : x,
1499
+ className: y,
1500
+ style: T === r - 1 ? { width: "75%" } : x,
1483
1501
  "aria-hidden": "true"
1484
1502
  },
1485
- L
1503
+ T
1486
1504
  ))
1487
1505
  })
1488
- ) : /* @__PURE__ */ o(
1506
+ ) : /* @__PURE__ */ c(
1489
1507
  "div",
1490
1508
  p({
1491
- className: h,
1509
+ className: y,
1492
1510
  style: x,
1493
1511
  role: "status",
1494
1512
  "aria-busy": "true",
1495
1513
  "aria-label": v
1496
- }, c)
1514
+ }, o)
1497
1515
  );
1498
1516
  }
1499
- const Ue = j("motion-safe:animate-spin", {
1517
+ const Ge = _("motion-safe:animate-spin", {
1500
1518
  variants: {
1501
1519
  size: {
1502
1520
  sm: "h-4 w-4",
@@ -1513,8 +1531,8 @@ const Ue = j("motion-safe:animate-spin", {
1513
1531
  size: "md",
1514
1532
  variant: "primary"
1515
1533
  }
1516
- }), Ke = B(function(c) {
1517
- var f = c, {
1534
+ }), Ye = P(function(o) {
1535
+ var f = o, {
1518
1536
  size: a = "md",
1519
1537
  variant: n = "primary",
1520
1538
  label: r,
@@ -1525,23 +1543,23 @@ const Ue = j("motion-safe:animate-spin", {
1525
1543
  "label",
1526
1544
  "className"
1527
1545
  ]);
1528
- return /* @__PURE__ */ $(
1546
+ return /* @__PURE__ */ S(
1529
1547
  "div",
1530
- y(p({
1548
+ h(p({
1531
1549
  className: l("inline-flex", "items-center", s),
1532
1550
  role: "status",
1533
1551
  "aria-label": r || "Loading",
1534
1552
  "aria-live": "polite"
1535
1553
  }, i), {
1536
1554
  children: [
1537
- /* @__PURE__ */ o(
1555
+ /* @__PURE__ */ c(
1538
1556
  xe,
1539
1557
  {
1540
- className: l(Ue({ size: a, variant: n })),
1558
+ className: l(Ge({ size: a, variant: n })),
1541
1559
  "aria-hidden": "true"
1542
1560
  }
1543
1561
  ),
1544
- r && /* @__PURE__ */ o(
1562
+ r && /* @__PURE__ */ c(
1545
1563
  "span",
1546
1564
  {
1547
1565
  className: l(
@@ -1557,8 +1575,8 @@ const Ue = j("motion-safe:animate-spin", {
1557
1575
  })
1558
1576
  );
1559
1577
  });
1560
- Ke.displayName = "Spinner";
1561
- const Xe = {
1578
+ Ye.displayName = "Spinner";
1579
+ const Ze = {
1562
1580
  primary: {
1563
1581
  // exception: variant color — no semantic equivalent (Principle 3, .claude/rules/colors.md)
1564
1582
  light: "text-indigo-400",
@@ -1610,7 +1628,7 @@ const Xe = {
1610
1628
  contrast: "text-fg-inverse"
1611
1629
  }
1612
1630
  };
1613
- function Ge(b, u) {
1631
+ function Qe(b, u) {
1614
1632
  var m = b, {
1615
1633
  variant: t = "paragraph",
1616
1634
  bold: a,
@@ -1618,7 +1636,7 @@ function Ge(b, u) {
1618
1636
  className: r,
1619
1637
  as: s,
1620
1638
  colorRole: i = "neutral",
1621
- colorShade: c = "dark"
1639
+ colorShade: o = "dark"
1622
1640
  } = m, f = g(m, [
1623
1641
  "variant",
1624
1642
  "bold",
@@ -1628,7 +1646,7 @@ function Ge(b, u) {
1628
1646
  "colorRole",
1629
1647
  "colorShade"
1630
1648
  ]);
1631
- const h = [];
1649
+ const y = [];
1632
1650
  let x;
1633
1651
  if (s)
1634
1652
  x = s;
@@ -1644,16 +1662,16 @@ function Ge(b, u) {
1644
1662
  x = "p";
1645
1663
  break;
1646
1664
  }
1647
- return t === "heading" ? h.push(V("h2")) : t === "body" || t === "paragraph" ? h.push(V("body")) : t === "bodySmall" ? h.push(V("bodySmall")) : t === "bodyLarge" ? h.push(V("bodyLarge")) : t === "caption" ? h.push(V("caption")) : t === "label" ? h.push(V("label")) : h.push(V("body")), a && h.push("font-bold"), n && h.push("italic"), h.push(Xe[i][c]), /* @__PURE__ */ o(x, p({ ref: u, className: l(...h, r) }, f));
1665
+ return t === "heading" ? y.push(R("h2")) : t === "body" || t === "paragraph" ? y.push(R("body")) : t === "bodySmall" ? y.push(R("bodySmall")) : t === "bodyLarge" ? y.push(R("bodyLarge")) : t === "caption" ? y.push(R("caption")) : t === "label" ? y.push(R("label")) : y.push(R("body")), a && y.push("font-bold"), n && y.push("italic"), y.push(Ze[i][o]), /* @__PURE__ */ c(x, p({ ref: u, className: l(...y, r) }, f));
1648
1666
  }
1649
- const se = O(Ge), Ye = {
1667
+ const ie = q(Qe), Je = {
1650
1668
  sm: "max-w-screen-sm",
1651
1669
  md: "max-w-screen-md",
1652
1670
  lg: "max-w-screen-lg",
1653
1671
  xl: "max-w-screen-xl",
1654
1672
  "2xl": "max-w-screen-2xl",
1655
1673
  full: "max-w-full"
1656
- }, Ze = ie.forwardRef(
1674
+ }, ea = le.forwardRef(
1657
1675
  (u, f) => {
1658
1676
  var b = u, {
1659
1677
  className: t,
@@ -1662,7 +1680,7 @@ const se = O(Ge), Ye = {
1662
1680
  paddingY: r = "base",
1663
1681
  center: s = !0,
1664
1682
  children: i
1665
- } = b, c = g(b, [
1683
+ } = b, o = g(b, [
1666
1684
  "className",
1667
1685
  "maxWidth",
1668
1686
  "paddingX",
@@ -1670,26 +1688,26 @@ const se = O(Ge), Ye = {
1670
1688
  "center",
1671
1689
  "children"
1672
1690
  ]);
1673
- return /* @__PURE__ */ o(
1691
+ return /* @__PURE__ */ c(
1674
1692
  "div",
1675
- y(p({
1693
+ h(p({
1676
1694
  ref: f,
1677
1695
  className: l(
1678
1696
  "w-full",
1679
- Ye[a],
1697
+ Je[a],
1680
1698
  d(n, "px"),
1681
1699
  d(r, "py"),
1682
1700
  s && "mx-auto",
1683
1701
  t
1684
1702
  )
1685
- }, c), {
1703
+ }, o), {
1686
1704
  children: i
1687
1705
  })
1688
1706
  );
1689
1707
  }
1690
1708
  );
1691
- Ze.displayName = "Container";
1692
- const Qe = ie.forwardRef(
1709
+ ea.displayName = "Container";
1710
+ const aa = le.forwardRef(
1693
1711
  (u, f) => {
1694
1712
  var b = u, {
1695
1713
  className: t,
@@ -1698,7 +1716,7 @@ const Qe = ie.forwardRef(
1698
1716
  justify: r = "start",
1699
1717
  direction: s = "column",
1700
1718
  children: i
1701
- } = b, c = g(b, [
1719
+ } = b, o = g(b, [
1702
1720
  "className",
1703
1721
  "spacing",
1704
1722
  "align",
@@ -1706,7 +1724,7 @@ const Qe = ie.forwardRef(
1706
1724
  "direction",
1707
1725
  "children"
1708
1726
  ]);
1709
- const m = s === "column" ? d(a, "gap-y") : d(a, "gap-x"), h = {
1727
+ const m = s === "column" ? d(a, "gap-y") : d(a, "gap-x"), y = {
1710
1728
  start: "items-start",
1711
1729
  center: "items-center",
1712
1730
  end: "items-end",
@@ -1719,26 +1737,26 @@ const Qe = ie.forwardRef(
1719
1737
  around: "justify-around",
1720
1738
  evenly: "justify-evenly"
1721
1739
  };
1722
- return /* @__PURE__ */ o(
1740
+ return /* @__PURE__ */ c(
1723
1741
  "div",
1724
- y(p({
1742
+ h(p({
1725
1743
  ref: f,
1726
1744
  className: l(
1727
1745
  "flex",
1728
1746
  s === "column" ? "flex-col" : "flex-row",
1729
1747
  m,
1730
- h[n],
1748
+ y[n],
1731
1749
  x[r],
1732
1750
  t
1733
1751
  )
1734
- }, c), {
1752
+ }, o), {
1735
1753
  children: i
1736
1754
  })
1737
1755
  );
1738
1756
  }
1739
1757
  );
1740
- Qe.displayName = "Stack";
1741
- function Je(s) {
1758
+ aa.displayName = "Stack";
1759
+ function ta(s) {
1742
1760
  var i = s, {
1743
1761
  items: t,
1744
1762
  separator: a = "/",
@@ -1748,20 +1766,20 @@ function Je(s) {
1748
1766
  "separator",
1749
1767
  "className"
1750
1768
  ]);
1751
- const c = [
1769
+ const o = [
1752
1770
  "flex",
1753
1771
  "items-center",
1754
1772
  d("sm", "space-x"),
1755
1773
  z("bodySmall")
1756
- ], f = l(...c, n);
1757
- return /* @__PURE__ */ o("nav", y(p({ "aria-label": "Breadcrumb", className: f }, r), { children: /* @__PURE__ */ o(
1774
+ ], f = l(...o, n);
1775
+ return /* @__PURE__ */ c("nav", h(p({ "aria-label": "Breadcrumb", className: f }, r), { children: /* @__PURE__ */ c(
1758
1776
  "ol",
1759
1777
  {
1760
1778
  className: l("flex", "items-center", d("sm", "space-x")),
1761
1779
  children: t.map((u, b) => {
1762
1780
  const m = b === t.length - 1;
1763
- return /* @__PURE__ */ $("li", { className: "flex items-center", children: [
1764
- b > 0 && /* @__PURE__ */ o(
1781
+ return /* @__PURE__ */ S("li", { className: "flex items-center", children: [
1782
+ b > 0 && /* @__PURE__ */ c(
1765
1783
  "span",
1766
1784
  {
1767
1785
  className: l(
@@ -1772,17 +1790,17 @@ function Je(s) {
1772
1790
  children: a
1773
1791
  }
1774
1792
  ),
1775
- m ? /* @__PURE__ */ o(
1793
+ m ? /* @__PURE__ */ c(
1776
1794
  "span",
1777
1795
  {
1778
1796
  className: l(
1779
1797
  "text-fg-primary",
1780
- H("label")
1798
+ O("label")
1781
1799
  ),
1782
1800
  "aria-current": "page",
1783
1801
  children: u.label
1784
1802
  }
1785
- ) : u.href ? /* @__PURE__ */ o(
1803
+ ) : u.href ? /* @__PURE__ */ c(
1786
1804
  "a",
1787
1805
  {
1788
1806
  href: u.href,
@@ -1794,7 +1812,7 @@ function Je(s) {
1794
1812
  "border-b-2",
1795
1813
  "border-transparent",
1796
1814
  z("bodySmall"),
1797
- H("label"),
1815
+ O("label"),
1798
1816
  "transition-colors",
1799
1817
  "text-fg-secondary",
1800
1818
  "hover:border-line-emphasis",
@@ -1802,17 +1820,17 @@ function Je(s) {
1802
1820
  ),
1803
1821
  children: u.label
1804
1822
  }
1805
- ) : /* @__PURE__ */ o("span", { className: "text-fg-secondary", children: u.label })
1823
+ ) : /* @__PURE__ */ c("span", { className: "text-fg-secondary", children: u.label })
1806
1824
  ] }, b);
1807
1825
  })
1808
1826
  }
1809
1827
  ) }));
1810
1828
  }
1811
- function ea(r) {
1829
+ function ra(r) {
1812
1830
  var s = r, { children: t, className: a } = s, n = g(s, ["children", "className"]);
1813
- return /* @__PURE__ */ o(
1831
+ return /* @__PURE__ */ c(
1814
1832
  "div",
1815
- y(p({
1833
+ h(p({
1816
1834
  className: l(
1817
1835
  "grid items-start",
1818
1836
  d("1.5", "gap"),
@@ -1826,8 +1844,8 @@ function ea(r) {
1826
1844
  })
1827
1845
  );
1828
1846
  }
1829
- function aa(c) {
1830
- var f = c, {
1847
+ function na(o) {
1848
+ var f = o, {
1831
1849
  children: t,
1832
1850
  icon: a,
1833
1851
  badge: n,
@@ -1840,9 +1858,9 @@ function aa(c) {
1840
1858
  "as",
1841
1859
  "className"
1842
1860
  ]);
1843
- return /* @__PURE__ */ $(
1861
+ return /* @__PURE__ */ S(
1844
1862
  r,
1845
- y(p({
1863
+ h(p({
1846
1864
  className: l(
1847
1865
  "text-base font-semibold text-fg-primary",
1848
1866
  "flex items-center",
@@ -1851,14 +1869,14 @@ function aa(c) {
1851
1869
  )
1852
1870
  }, i), {
1853
1871
  children: [
1854
- a ? /* @__PURE__ */ o("span", { className: "shrink-0 inline-flex", children: a }) : null,
1855
- /* @__PURE__ */ o("span", { children: t }),
1856
- n ? /* @__PURE__ */ o("span", { className: "inline-flex", children: n }) : null
1872
+ a ? /* @__PURE__ */ c("span", { className: "shrink-0 inline-flex", children: a }) : null,
1873
+ /* @__PURE__ */ c("span", { children: t }),
1874
+ n ? /* @__PURE__ */ c("span", { className: "inline-flex", children: n }) : null
1857
1875
  ]
1858
1876
  })
1859
1877
  );
1860
1878
  }
1861
- function ta(r) {
1879
+ function sa(r) {
1862
1880
  var s = r, {
1863
1881
  children: t,
1864
1882
  className: a
@@ -1866,9 +1884,9 @@ function ta(r) {
1866
1884
  "children",
1867
1885
  "className"
1868
1886
  ]);
1869
- return /* @__PURE__ */ o("p", y(p({ className: l("text-sm text-fg-secondary", a) }, n), { children: t }));
1887
+ return /* @__PURE__ */ c("p", h(p({ className: l("text-sm text-fg-secondary", a) }, n), { children: t }));
1870
1888
  }
1871
- function ra(r) {
1889
+ function ia(r) {
1872
1890
  var s = r, {
1873
1891
  children: t,
1874
1892
  className: a
@@ -1876,9 +1894,9 @@ function ra(r) {
1876
1894
  "children",
1877
1895
  "className"
1878
1896
  ]);
1879
- return /* @__PURE__ */ o(
1897
+ return /* @__PURE__ */ c(
1880
1898
  "div",
1881
- y(p({
1899
+ h(p({
1882
1900
  "data-card-actions": "",
1883
1901
  className: l(
1884
1902
  "flex items-center self-start",
@@ -1890,11 +1908,11 @@ function ra(r) {
1890
1908
  })
1891
1909
  );
1892
1910
  }
1893
- function na(r) {
1911
+ function la(r) {
1894
1912
  var s = r, { children: t, className: a } = s, n = g(s, ["children", "className"]);
1895
- return /* @__PURE__ */ o("div", y(p({ className: l(a) }, n), { children: t }));
1913
+ return /* @__PURE__ */ c("div", h(p({ className: l(a) }, n), { children: t }));
1896
1914
  }
1897
- function sa(b) {
1915
+ function oa(b) {
1898
1916
  var m = b, {
1899
1917
  variant: t = "default",
1900
1918
  padding: a = "medium",
@@ -1902,7 +1920,7 @@ function sa(b) {
1902
1920
  onClick: r,
1903
1921
  "aria-label": s,
1904
1922
  "aria-labelledby": i,
1905
- asSection: c = !1,
1923
+ asSection: o = !1,
1906
1924
  children: f
1907
1925
  } = m, u = g(m, [
1908
1926
  "variant",
@@ -1914,13 +1932,13 @@ function sa(b) {
1914
1932
  "asSection",
1915
1933
  "children"
1916
1934
  ]);
1917
- typeof process != "undefined" && process.env.NODE_ENV !== "production" && c && !s && !i && console.warn(
1935
+ typeof process != "undefined" && process.env.NODE_ENV !== "production" && o && !s && !i && console.warn(
1918
1936
  "[Card] `asSection={true}` requires an accessible name. Pass `aria-labelledby` pointing to your Card.Title `id`, or `aria-label`. A <section> without a name is an anonymous landmark that hurts screen-reader navigation."
1919
1937
  );
1920
- const h = j(
1938
+ const y = _(
1921
1939
  l(
1922
1940
  "bg-surface-base",
1923
- T("lg"),
1941
+ M("lg"),
1924
1942
  "border",
1925
1943
  "border-line-default",
1926
1944
  Y("sm")
@@ -1948,28 +1966,28 @@ function sa(b) {
1948
1966
  padding: "medium"
1949
1967
  }
1950
1968
  }
1951
- ), x = r !== void 0, v = x ? "button" : void 0, M = x ? 0 : void 0, L = l(h({ variant: t, padding: a }), n), q = p({
1952
- className: L,
1969
+ ), x = r !== void 0, v = x ? "button" : void 0, N = x ? 0 : void 0, T = l(y({ variant: t, padding: a }), n), L = p({
1970
+ className: T,
1953
1971
  role: v,
1954
- tabIndex: M,
1972
+ tabIndex: N,
1955
1973
  onClick: r,
1956
- onKeyDown: x ? (R) => {
1957
- x && (R.key === "Enter" || R.key === " ") && (R.preventDefault(), r == null || r());
1974
+ onKeyDown: x ? (H) => {
1975
+ x && (H.key === "Enter" || H.key === " ") && (H.preventDefault(), r == null || r());
1958
1976
  } : void 0,
1959
1977
  "aria-label": s,
1960
1978
  "aria-labelledby": i
1961
1979
  }, u);
1962
- return c ? /* @__PURE__ */ o("section", y(p({}, q), { children: f })) : /* @__PURE__ */ o("div", y(p({}, q), { children: f }));
1980
+ return o ? /* @__PURE__ */ c("section", h(p({}, L), { children: f })) : /* @__PURE__ */ c("div", h(p({}, L), { children: f }));
1963
1981
  }
1964
- const oe = B(sa);
1982
+ const oe = P(oa);
1965
1983
  oe.displayName = "Card";
1966
- const P = oe;
1967
- P.Header = ea;
1968
- P.Title = aa;
1969
- P.Subtitle = ta;
1970
- P.Actions = ra;
1971
- P.Body = na;
1972
- function va(r) {
1984
+ const U = oe;
1985
+ U.Header = ra;
1986
+ U.Title = na;
1987
+ U.Subtitle = sa;
1988
+ U.Actions = ia;
1989
+ U.Body = la;
1990
+ function ka(r) {
1973
1991
  var s = r, {
1974
1992
  children: t,
1975
1993
  className: a = ""
@@ -1977,16 +1995,16 @@ function va(r) {
1977
1995
  "children",
1978
1996
  "className"
1979
1997
  ]);
1980
- return /* @__PURE__ */ o(
1998
+ return /* @__PURE__ */ c(
1981
1999
  "div",
1982
- y(p({
2000
+ h(p({
1983
2001
  className: `flex flex-col ${d("1.5", "space-y")} ${d("lg", "p")} ${d("base", "pb")} ${a}`
1984
2002
  }, n), {
1985
2003
  children: t
1986
2004
  })
1987
2005
  );
1988
2006
  }
1989
- function wa(r) {
2007
+ function $a(r) {
1990
2008
  var s = r, {
1991
2009
  children: t,
1992
2010
  className: a = ""
@@ -1994,16 +2012,16 @@ function wa(r) {
1994
2012
  "children",
1995
2013
  "className"
1996
2014
  ]);
1997
- return /* @__PURE__ */ o(
2015
+ return /* @__PURE__ */ c(
1998
2016
  "div",
1999
- y(p({
2017
+ h(p({
2000
2018
  className: `flex flex-col-reverse sm:flex-row sm:justify-end sm:${d("sm", "space-x")} ${d("lg", "p")} ${d("base", "pt")} ${a}`
2001
2019
  }, n), {
2002
2020
  children: t
2003
2021
  })
2004
2022
  );
2005
2023
  }
2006
- function Na(r) {
2024
+ function Sa(r) {
2007
2025
  var s = r, {
2008
2026
  children: t,
2009
2027
  className: a = ""
@@ -2011,9 +2029,9 @@ function Na(r) {
2011
2029
  "children",
2012
2030
  "className"
2013
2031
  ]);
2014
- return /* @__PURE__ */ o(
2032
+ return /* @__PURE__ */ c(
2015
2033
  "div",
2016
- y(p({
2034
+ h(p({
2017
2035
  className: `
2018
2036
  ${d("lg", "p")}
2019
2037
  border-b
@@ -2025,7 +2043,7 @@ function Na(r) {
2025
2043
  })
2026
2044
  );
2027
2045
  }
2028
- function ka(r) {
2046
+ function Ta(r) {
2029
2047
  var s = r, {
2030
2048
  children: t,
2031
2049
  className: a = ""
@@ -2033,9 +2051,9 @@ function ka(r) {
2033
2051
  "children",
2034
2052
  "className"
2035
2053
  ]);
2036
- return /* @__PURE__ */ o(
2054
+ return /* @__PURE__ */ c(
2037
2055
  "div",
2038
- y(p({
2056
+ h(p({
2039
2057
  className: `
2040
2058
  ${d("lg", "p")}
2041
2059
  border-t
@@ -2050,8 +2068,8 @@ function ka(r) {
2050
2068
  })
2051
2069
  );
2052
2070
  }
2053
- function $a({ children: t, className: a }) {
2054
- return /* @__PURE__ */ o(
2071
+ function Ca({ children: t, className: a }) {
2072
+ return /* @__PURE__ */ c(
2055
2073
  "div",
2056
2074
  {
2057
2075
  className: l(
@@ -2063,11 +2081,11 @@ function $a({ children: t, className: a }) {
2063
2081
  }
2064
2082
  );
2065
2083
  }
2066
- function Sa({
2084
+ function Ma({
2067
2085
  children: t,
2068
2086
  className: a
2069
2087
  }) {
2070
- return /* @__PURE__ */ o(
2088
+ return /* @__PURE__ */ c(
2071
2089
  "nav",
2072
2090
  {
2073
2091
  className: l(
@@ -2082,13 +2100,13 @@ function Sa({
2082
2100
  }
2083
2101
  );
2084
2102
  }
2085
- function Ca(n) {
2103
+ function Ea(n) {
2086
2104
  var r = n, {
2087
2105
  className: t = ""
2088
2106
  } = r, a = g(r, [
2089
2107
  "className"
2090
2108
  ]);
2091
- return /* @__PURE__ */ o(
2109
+ return /* @__PURE__ */ c(
2092
2110
  "div",
2093
2111
  p({
2094
2112
  role: "separator",
@@ -2101,7 +2119,7 @@ function Ca(n) {
2101
2119
  }, a)
2102
2120
  );
2103
2121
  }
2104
- function Ta(r) {
2122
+ function za(r) {
2105
2123
  var s = r, {
2106
2124
  orientation: t = "horizontal",
2107
2125
  className: a = ""
@@ -2109,14 +2127,14 @@ function Ta(r) {
2109
2127
  "orientation",
2110
2128
  "className"
2111
2129
  ]);
2112
- return t === "vertical" ? /* @__PURE__ */ o(
2130
+ return t === "vertical" ? /* @__PURE__ */ c(
2113
2131
  "div",
2114
2132
  p({
2115
2133
  className: l("w-px", "h-6", "bg-line-default", "mx-auto", a),
2116
2134
  role: "separator",
2117
2135
  "aria-orientation": "vertical"
2118
2136
  }, n)
2119
- ) : /* @__PURE__ */ o(
2137
+ ) : /* @__PURE__ */ c(
2120
2138
  "div",
2121
2139
  p({
2122
2140
  className: l(
@@ -2139,7 +2157,7 @@ function Ta(r) {
2139
2157
  }, n)
2140
2158
  );
2141
2159
  }
2142
- const ia = j(
2160
+ const da = _(
2143
2161
  // Base classes
2144
2162
  l("w-full", "flex", "flex-col", d("sm", "gap")),
2145
2163
  {
@@ -2154,7 +2172,7 @@ const ia = j(
2154
2172
  }
2155
2173
  }
2156
2174
  );
2157
- function Ma(f) {
2175
+ function Fa(f) {
2158
2176
  var u = f, {
2159
2177
  title: t,
2160
2178
  description: a,
@@ -2162,7 +2180,7 @@ function Ma(f) {
2162
2180
  actions: r,
2163
2181
  variant: s = "default",
2164
2182
  className: i
2165
- } = u, c = g(u, [
2183
+ } = u, o = g(u, [
2166
2184
  "title",
2167
2185
  "description",
2168
2186
  "breadcrumb",
@@ -2170,16 +2188,16 @@ function Ma(f) {
2170
2188
  "variant",
2171
2189
  "className"
2172
2190
  ]);
2173
- return /* @__PURE__ */ $("div", y(p({ className: l(ia({ variant: s }), i) }, c), { children: [
2174
- n && n.length > 0 && /* @__PURE__ */ o(Je, { items: n }),
2175
- /* @__PURE__ */ $(
2191
+ return /* @__PURE__ */ S("div", h(p({ className: l(da({ variant: s }), i) }, o), { children: [
2192
+ n && n.length > 0 && /* @__PURE__ */ c(ta, { items: n }),
2193
+ /* @__PURE__ */ S(
2176
2194
  "div",
2177
2195
  {
2178
2196
  className: `flex items-start justify-between ${d("base", "gap")}`,
2179
2197
  children: [
2180
- /* @__PURE__ */ $("div", { className: "flex-1 min-w-0", children: [
2181
- /* @__PURE__ */ o(
2182
- se,
2198
+ /* @__PURE__ */ S("div", { className: "flex-1 min-w-0", children: [
2199
+ /* @__PURE__ */ c(
2200
+ ie,
2183
2201
  {
2184
2202
  variant: "heading",
2185
2203
  as: "h1",
@@ -2187,9 +2205,9 @@ function Ma(f) {
2187
2205
  children: t
2188
2206
  }
2189
2207
  ),
2190
- a && /* @__PURE__ */ o(se, { variant: "body", className: "text-fg-secondary", children: a })
2208
+ a && /* @__PURE__ */ c(ie, { variant: "body", className: "text-fg-secondary", children: a })
2191
2209
  ] }),
2192
- r && /* @__PURE__ */ o(
2210
+ r && /* @__PURE__ */ c(
2193
2211
  "div",
2194
2212
  {
2195
2213
  className: `flex items-center ${d("sm", "gap")} flex-shrink-0`,
@@ -2201,16 +2219,16 @@ function Ma(f) {
2201
2219
  )
2202
2220
  ] }));
2203
2221
  }
2204
- const la = {
2222
+ const ca = {
2205
2223
  start: "items-start text-left",
2206
2224
  center: "items-center text-center"
2207
- }, oa = {
2225
+ }, fa = {
2208
2226
  neutral: "text-fg-tertiary",
2209
2227
  success: "text-fg-success",
2210
2228
  warning: "text-fg-warning",
2211
2229
  error: "text-fg-error"
2212
2230
  };
2213
- function za(u) {
2231
+ function La(u) {
2214
2232
  var b = u, {
2215
2233
  value: t,
2216
2234
  label: a,
@@ -2218,7 +2236,7 @@ function za(u) {
2218
2236
  icon: r,
2219
2237
  align: s = "start",
2220
2238
  tone: i = "neutral",
2221
- className: c
2239
+ className: o
2222
2240
  } = b, f = g(b, [
2223
2241
  "value",
2224
2242
  "label",
@@ -2229,58 +2247,58 @@ function za(u) {
2229
2247
  "className"
2230
2248
  ]);
2231
2249
  const m = t == null;
2232
- return /* @__PURE__ */ $(
2250
+ return /* @__PURE__ */ S(
2233
2251
  "div",
2234
- y(p({
2252
+ h(p({
2235
2253
  className: l(
2236
2254
  "bg-surface-base flex-1 flex flex-col",
2237
2255
  d("base", "p"),
2238
2256
  d("xs", "gap-y"),
2239
- la[s],
2240
- c
2257
+ ca[s],
2258
+ o
2241
2259
  )
2242
2260
  }, f), {
2243
2261
  children: [
2244
- r ? /* @__PURE__ */ o("span", { className: "text-icon-default inline-flex", children: r }) : null,
2245
- m ? /* @__PURE__ */ o(
2262
+ r ? /* @__PURE__ */ c("span", { className: "text-icon-default inline-flex", children: r }) : null,
2263
+ m ? /* @__PURE__ */ c(
2246
2264
  "span",
2247
2265
  {
2248
2266
  "aria-label": "No data",
2249
2267
  className: "text-fg-tertiary text-2xl font-semibold leading-tight",
2250
2268
  children: "—"
2251
2269
  }
2252
- ) : /* @__PURE__ */ o("span", { className: "text-fg-primary text-2xl font-semibold leading-tight", children: t }),
2253
- /* @__PURE__ */ o("span", { className: "text-fg-secondary text-sm", children: a }),
2254
- n ? /* @__PURE__ */ o("span", { className: l("text-xs", oa[i]), children: n }) : null
2270
+ ) : /* @__PURE__ */ c("span", { className: "text-fg-primary text-2xl font-semibold leading-tight", children: t }),
2271
+ /* @__PURE__ */ c("span", { className: "text-fg-secondary text-sm", children: a }),
2272
+ n ? /* @__PURE__ */ c("span", { className: l("text-xs", fa[i]), children: n }) : null
2255
2273
  ]
2256
2274
  })
2257
2275
  );
2258
2276
  }
2259
- const da = {
2277
+ const pa = {
2260
2278
  2: "md:grid-cols-2",
2261
2279
  3: "md:grid-cols-3",
2262
2280
  4: "md:grid-cols-4"
2263
2281
  };
2264
- function La(i) {
2265
- var c = i, {
2282
+ function Aa(i) {
2283
+ var o = i, {
2266
2284
  layout: t = "grid",
2267
2285
  cols: a = 4,
2268
2286
  className: n,
2269
2287
  children: r
2270
- } = c, s = g(c, [
2288
+ } = o, s = g(o, [
2271
2289
  "layout",
2272
2290
  "cols",
2273
2291
  "className",
2274
2292
  "children"
2275
2293
  ]);
2276
2294
  const f = t === "grid";
2277
- return /* @__PURE__ */ o(
2295
+ return /* @__PURE__ */ c(
2278
2296
  "div",
2279
- y(p({
2297
+ h(p({
2280
2298
  className: l(
2281
2299
  "bg-line-default border border-line-default overflow-hidden gap-px",
2282
- T("lg"),
2283
- f ? `grid grid-cols-2 ${da[a]}` : "flex",
2300
+ M("lg"),
2301
+ f ? `grid grid-cols-2 ${pa[a]}` : "flex",
2284
2302
  n
2285
2303
  )
2286
2304
  }, s), {
@@ -2288,43 +2306,43 @@ function La(i) {
2288
2306
  })
2289
2307
  );
2290
2308
  }
2291
- function Fa(s) {
2309
+ function Ia(s) {
2292
2310
  var i = s, { column: t, row: a, className: n = "" } = i, r = g(i, ["column", "row", "className"]);
2293
- const c = t.key in a ? a[t.key] : void 0;
2294
- return /* @__PURE__ */ o(
2311
+ const o = t.key in a ? a[t.key] : void 0;
2312
+ return /* @__PURE__ */ c(
2295
2313
  "td",
2296
- y(p({
2314
+ h(p({
2297
2315
  className: `${d("lg", "px")} ${d("base", "py")} whitespace-nowrap text-sm text-fg-primary ${t.hiddenOnMobile ? "hidden md:table-cell" : ""} ${n}`
2298
2316
  }, r), {
2299
- children: t.render ? t.render(c, a) : String(c != null ? c : "")
2317
+ children: t.render ? t.render(o, a) : String(o != null ? o : "")
2300
2318
  })
2301
2319
  );
2302
2320
  }
2303
- function Ea({
2321
+ function Da({
2304
2322
  items: t,
2305
2323
  orientation: a = "vertical",
2306
2324
  className: n = ""
2307
2325
  }) {
2308
- return a === "horizontal" ? /* @__PURE__ */ o("div", { className: `flex items-start ${n}`, children: t.map((r, s) => {
2309
- const i = r.status || (s === 0 ? "active" : s < t.findIndex((f) => f.status === "active") ? "completed" : "default"), c = s === t.length - 1;
2310
- return /* @__PURE__ */ o("div", { className: "flex items-start flex-1", children: /* @__PURE__ */ $("div", { className: "flex flex-col items-center flex-1", children: [
2311
- /* @__PURE__ */ o(
2326
+ return a === "horizontal" ? /* @__PURE__ */ c("div", { className: `flex items-start ${n}`, children: t.map((r, s) => {
2327
+ const i = r.status || (s === 0 ? "active" : s < t.findIndex((f) => f.status === "active") ? "completed" : "default"), o = s === t.length - 1;
2328
+ return /* @__PURE__ */ c("div", { className: "flex items-start flex-1", children: /* @__PURE__ */ S("div", { className: "flex flex-col items-center flex-1", children: [
2329
+ /* @__PURE__ */ c(
2312
2330
  "div",
2313
- y(p({}, i === "default" ? { "data-marker": "pending" } : {}), {
2331
+ h(p({}, i === "default" ? { "data-marker": "pending" } : {}), {
2314
2332
  className: `
2315
2333
  flex
2316
2334
  items-center
2317
2335
  justify-center
2318
2336
  w-10
2319
2337
  h-10
2320
- ${T("full")}
2338
+ ${M("full")}
2321
2339
  border-2
2322
2340
  ${i === "completed" ? "bg-success border-success text-fg-inverse" : i === "active" ? "bg-surface-brand-strong border-line-brand text-fg-inverse" : i === "error" ? "bg-error border-error text-fg-inverse" : "bg-surface-base border-line-emphasis text-fg-quaternary"}
2323
2341
  `,
2324
- children: r.icon || (i === "completed" ? /* @__PURE__ */ o(ae, { className: "h-4 w-4" }) : s + 1)
2342
+ children: r.icon || (i === "completed" ? /* @__PURE__ */ c(ae, { className: "h-4 w-4" }) : s + 1)
2325
2343
  })
2326
2344
  ),
2327
- !c && /* @__PURE__ */ o(
2345
+ !o && /* @__PURE__ */ c(
2328
2346
  "div",
2329
2347
  {
2330
2348
  className: `
@@ -2335,56 +2353,56 @@ function Ea({
2335
2353
  `
2336
2354
  }
2337
2355
  ),
2338
- /* @__PURE__ */ $(
2356
+ /* @__PURE__ */ S(
2339
2357
  "div",
2340
2358
  {
2341
2359
  className: `${d("base", "mt")} text-center ${d("base", "px")}`,
2342
2360
  children: [
2343
- r.timestamp && /* @__PURE__ */ o(
2361
+ r.timestamp && /* @__PURE__ */ c(
2344
2362
  "p",
2345
2363
  {
2346
2364
  className: `text-xs text-fg-tertiary ${d("xs", "mb")}`,
2347
2365
  children: r.timestamp
2348
2366
  }
2349
2367
  ),
2350
- /* @__PURE__ */ o("h3", { className: "text-sm font-semibold text-fg-primary", children: r.title }),
2351
- r.description && /* @__PURE__ */ o(
2368
+ /* @__PURE__ */ c("h3", { className: "text-sm font-semibold text-fg-primary", children: r.title }),
2369
+ r.description && /* @__PURE__ */ c(
2352
2370
  "p",
2353
2371
  {
2354
2372
  className: `text-xs text-fg-secondary ${d("xs", "mt")}`,
2355
2373
  children: r.description
2356
2374
  }
2357
2375
  ),
2358
- r.content && /* @__PURE__ */ o("div", { className: d("sm", "mt"), children: r.content })
2376
+ r.content && /* @__PURE__ */ c("div", { className: d("sm", "mt"), children: r.content })
2359
2377
  ]
2360
2378
  }
2361
2379
  )
2362
2380
  ] }) }, r.id);
2363
- }) }) : /* @__PURE__ */ o("div", { className: `${d("none", "space-y")} ${n}`, children: t.map((r, s) => {
2364
- const i = r.status || (s === 0 ? "active" : s < t.findIndex((f) => f.status === "active") ? "completed" : "default"), c = s === t.length - 1;
2365
- return /* @__PURE__ */ $(
2381
+ }) }) : /* @__PURE__ */ c("div", { className: `${d("none", "space-y")} ${n}`, children: t.map((r, s) => {
2382
+ const i = r.status || (s === 0 ? "active" : s < t.findIndex((f) => f.status === "active") ? "completed" : "default"), o = s === t.length - 1;
2383
+ return /* @__PURE__ */ S(
2366
2384
  "div",
2367
2385
  {
2368
2386
  className: `flex items-start ${d("base", "gap")}`,
2369
2387
  children: [
2370
- /* @__PURE__ */ $("div", { className: "flex flex-col items-center", children: [
2371
- /* @__PURE__ */ o(
2388
+ /* @__PURE__ */ S("div", { className: "flex flex-col items-center", children: [
2389
+ /* @__PURE__ */ c(
2372
2390
  "div",
2373
- y(p({}, i === "default" ? { "data-marker": "pending" } : {}), {
2391
+ h(p({}, i === "default" ? { "data-marker": "pending" } : {}), {
2374
2392
  className: `
2375
2393
  flex
2376
2394
  items-center
2377
2395
  justify-center
2378
2396
  w-10
2379
2397
  h-10
2380
- ${T("full")}
2398
+ ${M("full")}
2381
2399
  border-2
2382
2400
  ${i === "completed" ? "bg-success border-success text-fg-inverse" : i === "active" ? "bg-surface-brand-strong border-line-brand text-fg-inverse" : i === "error" ? "bg-error border-error text-fg-inverse" : "bg-surface-base border-line-emphasis text-fg-quaternary"}
2383
2401
  `,
2384
- children: r.icon || (i === "completed" ? /* @__PURE__ */ o(ae, { className: "h-4 w-4" }) : s + 1)
2402
+ children: r.icon || (i === "completed" ? /* @__PURE__ */ c(ae, { className: "h-4 w-4" }) : s + 1)
2385
2403
  })
2386
2404
  ),
2387
- !c && /* @__PURE__ */ o(
2405
+ !o && /* @__PURE__ */ c(
2388
2406
  "div",
2389
2407
  {
2390
2408
  className: `
@@ -2397,15 +2415,15 @@ function Ea({
2397
2415
  }
2398
2416
  )
2399
2417
  ] }),
2400
- /* @__PURE__ */ $("div", { className: `flex-1 ${d("xl", "pb")}`, children: [
2401
- r.timestamp && /* @__PURE__ */ o(
2418
+ /* @__PURE__ */ S("div", { className: `flex-1 ${d("xl", "pb")}`, children: [
2419
+ r.timestamp && /* @__PURE__ */ c(
2402
2420
  "p",
2403
2421
  {
2404
2422
  className: `text-xs text-fg-tertiary ${d("xs", "mb")}`,
2405
2423
  children: r.timestamp
2406
2424
  }
2407
2425
  ),
2408
- /* @__PURE__ */ o(
2426
+ /* @__PURE__ */ c(
2409
2427
  "h3",
2410
2428
  {
2411
2429
  className: `
@@ -2416,14 +2434,14 @@ function Ea({
2416
2434
  children: r.title
2417
2435
  }
2418
2436
  ),
2419
- r.description && /* @__PURE__ */ o(
2437
+ r.description && /* @__PURE__ */ c(
2420
2438
  "p",
2421
2439
  {
2422
2440
  className: `text-sm text-fg-secondary ${d("xs", "mt")}`,
2423
2441
  children: r.description
2424
2442
  }
2425
2443
  ),
2426
- r.content && /* @__PURE__ */ o("div", { className: d("md", "mt"), children: r.content })
2444
+ r.content && /* @__PURE__ */ c("div", { className: d("md", "mt"), children: r.content })
2427
2445
  ] })
2428
2446
  ]
2429
2447
  },
@@ -2433,36 +2451,36 @@ function Ea({
2433
2451
  }
2434
2452
  export {
2435
2453
  we as Badge,
2436
- Je as Breadcrumb,
2437
- P as Card,
2438
- ra as CardActions,
2439
- na as CardBody,
2440
- ea as CardHeader,
2441
- ta as CardSubtitle,
2442
- aa as CardTitle,
2443
- Ee as Chip,
2444
- Ze as Container,
2445
- wa as DialogFooter,
2446
- va as DialogHeader,
2447
- ka as DrawerFooter,
2448
- Na as DrawerHeader,
2449
- xa as ErrorMessage,
2450
- $a as HeaderActions,
2451
- Sa as HeaderNavigation,
2452
- ya as Info,
2453
- De as Label,
2454
- Ca as MenuSeparator,
2455
- Ta as NavbarSeparator,
2456
- Ma as PageHeader,
2457
- Be as Progress,
2458
- qe as Separator,
2459
- ha as Skeleton,
2460
- Ke as Spinner,
2461
- Qe as Stack,
2462
- za as Stat,
2463
- La as StatGroup,
2464
- Fa as TableCell,
2465
- se as Text,
2466
- Ea as Timeline
2454
+ ta as Breadcrumb,
2455
+ U as Card,
2456
+ ia as CardActions,
2457
+ la as CardBody,
2458
+ ra as CardHeader,
2459
+ sa as CardSubtitle,
2460
+ na as CardTitle,
2461
+ De as Chip,
2462
+ ea as Container,
2463
+ $a as DialogFooter,
2464
+ ka as DialogHeader,
2465
+ Ta as DrawerFooter,
2466
+ Sa as DrawerHeader,
2467
+ va as ErrorMessage,
2468
+ Ca as HeaderActions,
2469
+ Ma as HeaderNavigation,
2470
+ wa as Info,
2471
+ Re as Label,
2472
+ Ea as MenuSeparator,
2473
+ za as NavbarSeparator,
2474
+ Fa as PageHeader,
2475
+ qe as Progress,
2476
+ Xe as Separator,
2477
+ Na as Skeleton,
2478
+ Ye as Spinner,
2479
+ aa as Stack,
2480
+ La as Stat,
2481
+ Aa as StatGroup,
2482
+ Ia as TableCell,
2483
+ ie as Text,
2484
+ Da as Timeline
2467
2485
  };
2468
2486
  //# sourceMappingURL=index.js.map