@fabio.caffarello/react-design-system 3.4.0 → 3.5.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
- var le = Object.defineProperty, oe = Object.defineProperties;
2
- var de = Object.getOwnPropertyDescriptors;
3
- var P = Object.getOwnPropertySymbols;
4
- var Z = Object.prototype.hasOwnProperty, G = Object.prototype.propertyIsEnumerable;
5
- var K = (r, a, n) => a in r ? le(r, a, { enumerable: !0, configurable: !0, writable: !0, value: n }) : r[a] = n, m = (r, a) => {
1
+ var de = Object.defineProperty, ce = Object.defineProperties;
2
+ var fe = Object.getOwnPropertyDescriptors;
3
+ var U = Object.getOwnPropertySymbols;
4
+ var Q = Object.prototype.hasOwnProperty, J = Object.prototype.propertyIsEnumerable;
5
+ var Y = (r, a, n) => a in r ? de(r, a, { enumerable: !0, configurable: !0, writable: !0, value: n }) : r[a] = n, u = (r, a) => {
6
6
  for (var n in a || (a = {}))
7
- Z.call(a, n) && K(r, n, a[n]);
8
- if (P)
9
- for (var n of P(a))
10
- G.call(a, n) && K(r, n, a[n]);
7
+ Q.call(a, n) && Y(r, n, a[n]);
8
+ if (U)
9
+ for (var n of U(a))
10
+ J.call(a, n) && Y(r, n, a[n]);
11
11
  return r;
12
- }, v = (r, a) => oe(r, de(a));
13
- var y = (r, a) => {
12
+ }, y = (r, a) => ce(r, fe(a));
13
+ var x = (r, a) => {
14
14
  var n = {};
15
15
  for (var t in r)
16
- Z.call(r, t) && a.indexOf(t) < 0 && (n[t] = r[t]);
17
- if (r != null && P)
18
- for (var t of P(r))
19
- a.indexOf(t) < 0 && G.call(r, t) && (n[t] = r[t]);
16
+ Q.call(r, t) && a.indexOf(t) < 0 && (n[t] = r[t]);
17
+ if (r != null && U)
18
+ for (var t of U(r))
19
+ a.indexOf(t) < 0 && J.call(r, t) && (n[t] = r[t]);
20
20
  return n;
21
21
  };
22
- var Q = (r, a, n) => K(r, typeof a != "symbol" ? a + "" : a, n);
23
- import { jsx as d, jsxs as T } from "react/jsx-runtime";
24
- import * as S from "react";
25
- import ne, { memo as B, forwardRef as O } from "react";
26
- import { clsx as ce } from "clsx";
27
- import { twMerge as fe } from "tailwind-merge";
28
- import { cva as pe } from "class-variance-authority";
29
- import { X as ue, AlertCircle as me, Loader2 as be, CheckCircle2 as J } from "lucide-react";
30
- class A {
22
+ var ee = (r, a, n) => Y(r, typeof a != "symbol" ? a + "" : a, n);
23
+ import { jsx as d, jsxs as $ } from "react/jsx-runtime";
24
+ import * as T from "react";
25
+ import ie, { memo as B, forwardRef as O } from "react";
26
+ import { clsx as pe } from "clsx";
27
+ import { twMerge as ue } from "tailwind-merge";
28
+ import { cva as me } from "class-variance-authority";
29
+ import { X as be, AlertCircle as ge, Loader2 as xe, CheckCircle2 as ae } from "lucide-react";
30
+ class I {
31
31
  /**
32
32
  * Create a radius token
33
33
  */
@@ -83,20 +83,20 @@ class A {
83
83
  };
84
84
  }
85
85
  }
86
- const ge = {
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")
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")
95
95
  };
96
96
  function M(r) {
97
- return ge[r].tailwind;
97
+ return ye[r].tailwind;
98
98
  }
99
- class k {
99
+ class N {
100
100
  // 4px base
101
101
  /**
102
102
  * Create a spacing token from scale value
@@ -163,46 +163,46 @@ class k {
163
163
  }[a] || String(a);
164
164
  }
165
165
  }
166
- Q(k, "BASE_UNIT", 4);
167
- const xe = {
166
+ ee(N, "BASE_UNIT", 4);
167
+ const he = {
168
168
  // Micro spacing (0-14px)
169
- none: k.create(0),
170
- "0.5": k.create(0.5),
169
+ none: N.create(0),
170
+ "0.5": N.create(0.5),
171
171
  // 2px (half-step)
172
- xs: k.create(1),
172
+ xs: N.create(1),
173
173
  // 4px
174
- "1.5": k.create(1.5),
174
+ "1.5": N.create(1.5),
175
175
  // 6px (half-step)
176
- sm: k.create(2),
176
+ sm: N.create(2),
177
177
  // 8px
178
- "2.5": k.create(2.5),
178
+ "2.5": N.create(2.5),
179
179
  // 10px (half-step)
180
- md: k.create(3),
180
+ md: N.create(3),
181
181
  // 12px
182
- "3.5": k.create(3.5),
182
+ "3.5": N.create(3.5),
183
183
  // 14px (half-step)
184
184
  // Standard spacing (16-32px)
185
- base: k.create(4),
185
+ base: N.create(4),
186
186
  // 16px
187
- lg: k.create(6),
187
+ lg: N.create(6),
188
188
  // 24px
189
- xl: k.create(8),
189
+ xl: N.create(8),
190
190
  // 32px
191
191
  // Large spacing (40-64px)
192
- "2xl": k.create(10),
192
+ "2xl": N.create(10),
193
193
  // 40px
194
- "3xl": k.create(12),
194
+ "3xl": N.create(12),
195
195
  // 48px
196
- "4xl": k.create(16),
196
+ "4xl": N.create(16),
197
197
  // 64px
198
198
  // Extra large spacing (80px+)
199
- "5xl": k.create(20),
199
+ "5xl": N.create(20),
200
200
  // 80px
201
- "6xl": k.create(24)
201
+ "6xl": N.create(24)
202
202
  // 96px
203
203
  };
204
204
  function o(r, a = "p") {
205
- const t = xe[r].tailwind;
205
+ const t = he[r].tailwind;
206
206
  return `${{
207
207
  p: "p",
208
208
  m: "m",
@@ -225,7 +225,7 @@ function o(r, a = "p") {
225
225
  "space-y": "space-y"
226
226
  }[a]}-${t}`;
227
227
  }
228
- class N {
228
+ class k {
229
229
  /**
230
230
  * Create font size token
231
231
  */
@@ -295,44 +295,44 @@ class N {
295
295
  };
296
296
  }
297
297
  }
298
- N.createFontWeight("light"), N.createFontWeight("normal"), N.createFontWeight("medium"), N.createFontWeight("semibold"), N.createFontWeight("bold");
299
- const Y = {
298
+ k.createFontWeight("light"), k.createFontWeight("normal"), k.createFontWeight("medium"), k.createFontWeight("semibold"), k.createFontWeight("bold");
299
+ const G = {
300
300
  // Headings
301
- h1: N.create("4xl", "tight", "bold"),
302
- h2: N.create("3xl", "tight", "bold"),
303
- h3: N.create("2xl", "snug", "semibold"),
304
- h4: N.create("xl", "snug", "semibold"),
305
- h5: N.create("lg", "normal", "medium"),
306
- h6: N.create("base", "normal", "medium"),
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"),
307
307
  // Body text
308
- body: N.create("base", "relaxed", "normal"),
309
- bodySmall: N.create("sm", "relaxed", "normal"),
310
- bodyLarge: N.create("lg", "relaxed", "normal"),
308
+ body: k.create("base", "relaxed", "normal"),
309
+ bodySmall: k.create("sm", "relaxed", "normal"),
310
+ bodyLarge: k.create("lg", "relaxed", "normal"),
311
311
  // UI elements
312
- label: N.create("sm", "normal", "medium"),
313
- caption: N.create("xs", "normal", "normal"),
314
- button: N.create("base", "normal", "medium")
312
+ label: k.create("sm", "normal", "medium"),
313
+ caption: k.create("xs", "normal", "normal"),
314
+ button: k.create("base", "normal", "medium")
315
315
  };
316
- function D(r) {
317
- const a = Y[r];
316
+ function V(r) {
317
+ const a = G[r];
318
318
  return `${a.fontSize.tailwind} ${a.lineHeight.tailwind} ${a.fontWeight.tailwind}`;
319
319
  }
320
- function L(r) {
321
- return Y[r].fontSize.tailwind;
320
+ function z(r) {
321
+ return G[r].fontSize.tailwind;
322
322
  }
323
323
  function H(r) {
324
- return Y[r].fontWeight.tailwind;
324
+ return G[r].fontWeight.tailwind;
325
325
  }
326
326
  function l(...r) {
327
- return fe(ce(r));
327
+ return ue(pe(r));
328
328
  }
329
329
  const j = (r, a) => {
330
- const n = pe(r, a);
330
+ const n = me(r, a);
331
331
  return ((t) => {
332
- const i = n(t);
333
- return l(i);
332
+ const s = n(t);
333
+ return l(s);
334
334
  });
335
- }, ye = j(
335
+ }, ve = j(
336
336
  // Base classes
337
337
  l(
338
338
  "inline-flex",
@@ -357,17 +357,17 @@ const j = (r, a) => {
357
357
  sm: l(
358
358
  o("1.5", "px"),
359
359
  o("0.5", "py"),
360
- L("caption")
360
+ z("caption")
361
361
  ),
362
362
  md: l(
363
363
  o("sm", "px"),
364
364
  o("xs", "py"),
365
- L("caption")
365
+ z("caption")
366
366
  ),
367
367
  lg: l(
368
368
  o("sm", "px"),
369
369
  o("xs", "py"),
370
- L("bodySmall")
370
+ z("bodySmall")
371
371
  )
372
372
  },
373
373
  style: {
@@ -470,16 +470,16 @@ const j = (r, a) => {
470
470
  style: "solid"
471
471
  }
472
472
  }
473
- ), he = B(
473
+ ), we = B(
474
474
  O(function(b, p) {
475
- var u = b, {
475
+ var m = b, {
476
476
  variant: a = "neutral",
477
477
  size: n = "md",
478
478
  style: t = "solid",
479
- className: i = "",
480
- children: s,
479
+ className: s = "",
480
+ children: i,
481
481
  "aria-label": c
482
- } = u, f = y(u, [
482
+ } = m, f = x(m, [
483
483
  "variant",
484
484
  "size",
485
485
  "style",
@@ -487,106 +487,106 @@ const j = (r, a) => {
487
487
  "children",
488
488
  "aria-label"
489
489
  ]);
490
- const x = l(ye({ variant: a, size: n, style: t }), i);
490
+ const h = l(ve({ variant: a, size: n, style: t }), s);
491
491
  let g;
492
492
  if (c)
493
493
  g = c;
494
- else if (typeof s == "string")
495
- g = s;
496
- else if (typeof s == "object" && s !== null && "props" in s) {
497
- const h = s.props;
498
- h != null && h.children && typeof h.children == "string" && (g = h.children);
494
+ else if (typeof i == "string")
495
+ g = i;
496
+ else if (typeof i == "object" && i !== null && "props" in i) {
497
+ const v = i.props;
498
+ v != null && v.children && typeof v.children == "string" && (g = v.children);
499
499
  }
500
500
  return /* @__PURE__ */ d(
501
501
  "span",
502
- v(m({
502
+ y(u({
503
503
  ref: p,
504
504
  role: "status",
505
505
  "aria-label": g,
506
- className: x
506
+ className: h
507
507
  }, f), {
508
- children: s
508
+ children: i
509
509
  })
510
510
  );
511
511
  })
512
512
  );
513
- he.displayName = "Badge";
514
- function ee(r, a) {
513
+ we.displayName = "Badge";
514
+ function te(r, a) {
515
515
  if (typeof r == "function")
516
516
  return r(a);
517
517
  r != null && (r.current = a);
518
518
  }
519
- function we(...r) {
519
+ function Ne(...r) {
520
520
  return (a) => {
521
521
  let n = !1;
522
- const t = r.map((i) => {
523
- const s = ee(i, a);
524
- return !n && typeof s == "function" && (n = !0), s;
522
+ const t = r.map((s) => {
523
+ const i = te(s, a);
524
+ return !n && typeof i == "function" && (n = !0), i;
525
525
  });
526
526
  if (n)
527
527
  return () => {
528
- for (let i = 0; i < t.length; i++) {
529
- const s = t[i];
530
- typeof s == "function" ? s() : ee(r[i], null);
528
+ for (let s = 0; s < t.length; s++) {
529
+ const i = t[s];
530
+ typeof i == "function" ? i() : te(r[s], null);
531
531
  }
532
532
  };
533
533
  };
534
534
  }
535
- var ve = /* @__PURE__ */ Symbol.for("react.lazy"), U = S[" use ".trim().toString()];
536
- function ke(r) {
535
+ var ke = /* @__PURE__ */ Symbol.for("react.lazy"), K = T[" use ".trim().toString()];
536
+ function $e(r) {
537
537
  return typeof r == "object" && r !== null && "then" in r;
538
538
  }
539
- function ie(r) {
540
- return r != null && typeof r == "object" && "$$typeof" in r && r.$$typeof === ve && "_payload" in r && ke(r._payload);
539
+ function le(r) {
540
+ return r != null && typeof r == "object" && "$$typeof" in r && r.$$typeof === ke && "_payload" in r && $e(r._payload);
541
541
  }
542
542
  // @__NO_SIDE_EFFECTS__
543
- function Ne(r) {
544
- const a = /* @__PURE__ */ Se(r), n = S.forwardRef((t, i) => {
545
- let b = t, { children: s } = b, c = y(b, ["children"]);
546
- ie(s) && typeof U == "function" && (s = U(s._payload));
547
- const f = S.Children.toArray(s), p = f.find(Ce);
543
+ function Se(r) {
544
+ const a = /* @__PURE__ */ Ce(r), n = T.forwardRef((t, s) => {
545
+ let b = t, { children: i } = b, c = x(b, ["children"]);
546
+ le(i) && typeof K == "function" && (i = K(i._payload));
547
+ const f = T.Children.toArray(i), p = f.find(ze);
548
548
  if (p) {
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 }));
549
+ const m = p.props.children, h = f.map((g) => g === p ? T.Children.count(m) > 1 ? T.Children.only(null) : T.isValidElement(m) ? m.props.children : null : g);
550
+ return /* @__PURE__ */ d(a, y(u({}, c), { ref: s, children: T.isValidElement(m) ? T.cloneElement(m, void 0, h) : null }));
551
551
  }
552
- return /* @__PURE__ */ d(a, v(m({}, c), { ref: i, children: s }));
552
+ return /* @__PURE__ */ d(a, y(u({}, c), { ref: s, children: i }));
553
553
  });
554
554
  return n.displayName = `${r}.Slot`, n;
555
555
  }
556
- var $e = /* @__PURE__ */ Ne("Slot");
556
+ var Te = /* @__PURE__ */ Se("Slot");
557
557
  // @__NO_SIDE_EFFECTS__
558
- function Se(r) {
559
- const a = S.forwardRef((n, t) => {
560
- let c = n, { children: i } = c, s = y(c, ["children"]);
561
- if (ie(i) && typeof U == "function" && (i = U(i._payload)), S.isValidElement(i)) {
562
- const f = Le(i), p = Me(s, i.props);
563
- return i.type !== S.Fragment && (p.ref = t ? we(t, f) : f), S.cloneElement(i, p);
558
+ function Ce(r) {
559
+ const a = T.forwardRef((n, t) => {
560
+ let c = n, { children: s } = c, i = x(c, ["children"]);
561
+ if (le(s) && typeof K == "function" && (s = K(s._payload)), T.isValidElement(s)) {
562
+ const f = Fe(s), p = Le(i, s.props);
563
+ return s.type !== T.Fragment && (p.ref = t ? Ne(t, f) : f), T.cloneElement(s, p);
564
564
  }
565
- return S.Children.count(i) > 1 ? S.Children.only(null) : null;
565
+ return T.Children.count(s) > 1 ? T.Children.only(null) : null;
566
566
  });
567
567
  return a.displayName = `${r}.SlotClone`, a;
568
568
  }
569
- var Te = /* @__PURE__ */ Symbol("radix.slottable");
570
- function Ce(r) {
571
- return S.isValidElement(r) && typeof r.type == "function" && "__radixId" in r.type && r.type.__radixId === Te;
569
+ var Me = /* @__PURE__ */ Symbol("radix.slottable");
570
+ function ze(r) {
571
+ return T.isValidElement(r) && typeof r.type == "function" && "__radixId" in r.type && r.type.__radixId === Me;
572
572
  }
573
- function Me(r, a) {
574
- const n = m({}, a);
573
+ function Le(r, a) {
574
+ const n = u({}, a);
575
575
  for (const t in a) {
576
- const i = r[t], s = a[t];
577
- /^on[A-Z]/.test(t) ? i && s ? n[t] = (...f) => {
578
- const p = s(...f);
579
- return i(...f), p;
580
- } : i && (n[t] = i) : t === "style" ? n[t] = m(m({}, i), s) : t === "className" && (n[t] = [i, s].filter(Boolean).join(" "));
576
+ const s = r[t], i = a[t];
577
+ /^on[A-Z]/.test(t) ? s && i ? n[t] = (...f) => {
578
+ const p = i(...f);
579
+ return s(...f), p;
580
+ } : s && (n[t] = s) : t === "style" ? n[t] = u(u({}, s), i) : t === "className" && (n[t] = [s, i].filter(Boolean).join(" "));
581
581
  }
582
- return m(m({}, r), n);
582
+ return u(u({}, r), n);
583
583
  }
584
- function Le(r) {
585
- var t, i;
584
+ function Fe(r) {
585
+ var t, s;
586
586
  let a = (t = Object.getOwnPropertyDescriptor(r.props, "ref")) == null ? void 0 : t.get, n = a && "isReactWarning" in a && a.isReactWarning;
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);
587
+ return n ? r.ref : (a = (s = Object.getOwnPropertyDescriptor(r, "ref")) == null ? void 0 : s.get, n = a && "isReactWarning" in a && a.isReactWarning, n ? r.props.ref : r.props.ref || r.ref);
588
588
  }
589
- const ae = j(
589
+ const re = j(
590
590
  // Base classes
591
591
  l(
592
592
  "inline-flex",
@@ -621,17 +621,17 @@ const ae = j(
621
621
  sm: l(
622
622
  o("xs", "px"),
623
623
  o("xs", "py"),
624
- L("caption")
624
+ z("caption")
625
625
  ),
626
626
  md: l(
627
627
  o("sm", "px"),
628
628
  o("xs", "py"),
629
- L("bodySmall")
629
+ z("bodySmall")
630
630
  ),
631
631
  lg: l(
632
632
  o("md", "px"),
633
633
  o("sm", "py"),
634
- L("body")
634
+ z("body")
635
635
  )
636
636
  },
637
637
  selected: {
@@ -675,18 +675,18 @@ const ae = j(
675
675
  disabled: !1
676
676
  }
677
677
  }
678
- ), ze = O(function(a, n) {
678
+ ), Ee = O(function(a, n) {
679
679
  const {
680
680
  children: t,
681
- variant: i = "default",
682
- size: s = "md",
681
+ variant: s = "default",
682
+ size: i = "md",
683
683
  selected: c = !1,
684
684
  disabled: f = !1,
685
685
  className: p = "",
686
686
  "aria-label": b,
687
- tabIndex: u,
688
- asChild: x = !1
689
- } = a, h = (() => {
687
+ tabIndex: m,
688
+ asChild: h = !1
689
+ } = a, v = (() => {
690
690
  if (b) return b;
691
691
  if (typeof t == "string") return t;
692
692
  if (typeof t == "object" && t !== null && "props" in t) {
@@ -695,45 +695,45 @@ const ae = j(
695
695
  return F.children;
696
696
  }
697
697
  })();
698
- if (x)
698
+ if (h)
699
699
  return /* @__PURE__ */ d(
700
- $e,
700
+ Te,
701
701
  {
702
702
  ref: n,
703
703
  className: l(
704
- ae({ variant: i, size: s, selected: c, disabled: f }),
704
+ re({ variant: s, size: i, selected: c, disabled: f }),
705
705
  p
706
706
  ),
707
707
  "aria-label": b,
708
708
  "aria-disabled": f || void 0,
709
- tabIndex: u,
709
+ tabIndex: m,
710
710
  children: t
711
711
  }
712
712
  );
713
- const { onRemove: C, onClick: z } = a, q = z !== void 0, R = q && !f, se = (F) => {
714
- f || (F.key === "Enter" || F.key === " ") && (F.preventDefault(), z == null || z());
713
+ const { onRemove: C, onClick: L } = a, X = L !== void 0, q = X && !f, R = (F) => {
714
+ f || (F.key === "Enter" || F.key === " ") && (F.preventDefault(), L == null || L());
715
715
  };
716
- return /* @__PURE__ */ T(
716
+ return /* @__PURE__ */ $(
717
717
  "div",
718
718
  {
719
719
  ref: n,
720
720
  className: l(
721
- ae({ variant: i, size: s, selected: c, disabled: f }),
721
+ re({ variant: s, size: i, selected: c, disabled: f }),
722
722
  C && o("xs", "pr"),
723
723
  p
724
724
  ),
725
725
  "aria-disabled": f,
726
726
  children: [
727
- q ? /* @__PURE__ */ d(
727
+ X ? /* @__PURE__ */ d(
728
728
  "button",
729
729
  {
730
730
  type: "button",
731
- onClick: f ? void 0 : z,
732
- onKeyDown: se,
731
+ onClick: f ? void 0 : L,
732
+ onKeyDown: R,
733
733
  disabled: f,
734
734
  "aria-pressed": c ? !0 : void 0,
735
- "aria-label": b || h,
736
- tabIndex: u !== void 0 ? u : R ? 0 : void 0,
735
+ "aria-label": b || v,
736
+ tabIndex: m !== void 0 ? m : q ? 0 : void 0,
737
737
  className: l(
738
738
  "flex-1",
739
739
  "bg-transparent",
@@ -769,72 +769,72 @@ const ae = j(
769
769
  "focus:ring-line-focus",
770
770
  "focus:ring-offset-1"
771
771
  ),
772
- "aria-label": `Remove ${h || "chip"}`,
773
- children: /* @__PURE__ */ d(ue, { className: "h-3 w-3", "aria-hidden": "true" })
772
+ "aria-label": `Remove ${v || "chip"}`,
773
+ children: /* @__PURE__ */ d(be, { className: "h-3 w-3", "aria-hidden": "true" })
774
774
  }
775
775
  )
776
776
  ]
777
777
  }
778
778
  );
779
779
  });
780
- ze.displayName = "Chip";
781
- function la(i) {
782
- var s = i, {
780
+ Ee.displayName = "Chip";
781
+ function ma(s) {
782
+ var i = s, {
783
783
  message: r,
784
784
  id: a,
785
785
  className: n = ""
786
- } = s, t = y(s, [
786
+ } = i, t = x(i, [
787
787
  "message",
788
788
  "id",
789
789
  "className"
790
790
  ]);
791
791
  const c = [
792
792
  o("xs", "mt"),
793
- L("bodySmall"),
793
+ z("bodySmall"),
794
794
  "text-fg-error",
795
795
  "flex",
796
796
  "items-center",
797
797
  o("xs", "gap")
798
798
  ], f = l(...c, n);
799
- return /* @__PURE__ */ T("div", v(m({ role: "alert", id: a, className: f, "aria-live": "polite" }, t), { children: [
800
- /* @__PURE__ */ d(me, { className: "h-4 w-4 shrink-0", "aria-hidden": "true" }),
799
+ return /* @__PURE__ */ $("div", y(u({ role: "alert", id: a, className: f, "aria-live": "polite" }, t), { children: [
800
+ /* @__PURE__ */ d(ge, { className: "h-4 w-4 shrink-0", "aria-hidden": "true" }),
801
801
  /* @__PURE__ */ d("span", { children: r })
802
802
  ] }));
803
803
  }
804
- function oa(t) {
805
- var i = t, {
804
+ function ba(t) {
805
+ var s = t, {
806
806
  variant: r = "info",
807
807
  className: a
808
- } = i, n = y(i, [
808
+ } = s, n = x(s, [
809
809
  "variant",
810
810
  "className"
811
811
  ]);
812
- const s = {
812
+ const i = {
813
813
  warning: l("bg-warning-bg", "text-warning-dark", "border-warning"),
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
817
  return /* @__PURE__ */ d(
818
818
  "div",
819
- m({
819
+ u({
820
820
  role: "alert",
821
821
  className: l(
822
822
  "border",
823
823
  o("base", "px"),
824
824
  o("sm", "py"),
825
825
  M("lg"),
826
- s[r],
826
+ i[r],
827
827
  a
828
828
  )
829
829
  }, n)
830
830
  );
831
831
  }
832
- const Fe = l(
832
+ const Ae = l(
833
833
  "block",
834
- L("label"),
834
+ z("label"),
835
835
  H("label"),
836
836
  "text-fg-primary"
837
- ), Ee = {
837
+ ), Ie = {
838
838
  default: "",
839
839
  required: l(
840
840
  "after:content-['*']",
@@ -847,49 +847,49 @@ const Fe = l(
847
847
  "after:text-fg-tertiary",
848
848
  "after:font-normal"
849
849
  )
850
- }, Ie = B(
851
- O(function(c, s) {
852
- var f = c, { variant: a = "default", className: n = "", children: t } = f, i = y(f, ["variant", "className", "children"]);
850
+ }, De = B(
851
+ O(function(c, i) {
852
+ var f = c, { variant: a = "default", className: n = "", children: t } = f, s = x(f, ["variant", "className", "children"]);
853
853
  const p = l(
854
- Fe,
855
- Ee[a],
854
+ Ae,
855
+ Ie[a],
856
856
  n
857
857
  );
858
- return /* @__PURE__ */ d("label", v(m({ ref: s, className: p }, i), { children: t }));
858
+ return /* @__PURE__ */ d("label", y(u({ ref: i, className: p }, s), { children: t }));
859
859
  })
860
860
  );
861
- Ie.displayName = "Label";
861
+ De.displayName = "Label";
862
862
  function w(r, a, n) {
863
- const t = Ae(r), i = We(r);
863
+ const t = Ve(r), s = We(r);
864
864
  return {
865
865
  hex: r,
866
866
  rgb: t,
867
- hsl: i,
867
+ hsl: s,
868
868
  cssVar: `var(--color-${a}-${n})`,
869
869
  tailwind: `${a}-${n}`
870
870
  };
871
871
  }
872
- function Ae(r) {
872
+ function Ve(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
876
  function We(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, s = parseInt(a[3], 16) / 255, i = Math.max(n, t, s), c = Math.min(n, t, s);
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 = (i + c) / 2;
882
+ if (i !== c) {
883
+ const m = i - c;
884
+ switch (p = b > 0.5 ? m / (2 - i - c) : m / (i + c), i) {
885
885
  case n:
886
- f = ((t - i) / u + (t < i ? 6 : 0)) / 6;
886
+ f = ((t - s) / m + (t < s ? 6 : 0)) / 6;
887
887
  break;
888
888
  case t:
889
- f = ((i - n) / u + 2) / 6;
889
+ f = ((s - n) / m + 2) / 6;
890
890
  break;
891
- case i:
892
- f = ((n - t) / u + 4) / 6;
891
+ case s:
892
+ f = ((n - t) / m + 4) / 6;
893
893
  break;
894
894
  }
895
895
  }
@@ -898,36 +898,36 @@ function We(r) {
898
898
  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
899
  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
900
  function e(r, a, n) {
901
- const t = De(r), i = Ve(r);
901
+ const t = je(r), s = Re(r);
902
902
  return {
903
903
  hex: r,
904
904
  rgb: t,
905
- hsl: i,
905
+ hsl: s,
906
906
  cssVar: `var(--color-${a}-${n})`,
907
907
  tailwind: `${a}-${n}`
908
908
  };
909
909
  }
910
- function De(r) {
910
+ function je(r) {
911
911
  const a = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(r);
912
912
  return a ? `${parseInt(a[1], 16)}, ${parseInt(a[2], 16)}, ${parseInt(a[3], 16)}` : "0, 0, 0";
913
913
  }
914
- function Ve(r) {
914
+ function Re(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, s = parseInt(a[3], 16) / 255, i = Math.max(n, t, s), c = Math.min(n, t, s);
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 = (i + c) / 2;
920
+ if (i !== c) {
921
+ const m = i - c;
922
+ switch (p = b > 0.5 ? m / (2 - i - c) : m / (i + c), i) {
923
923
  case n:
924
- f = ((t - i) / u + (t < i ? 6 : 0)) / 6;
924
+ f = ((t - s) / m + (t < s ? 6 : 0)) / 6;
925
925
  break;
926
926
  case t:
927
- f = ((i - n) / u + 2) / 6;
927
+ f = ((s - n) / m + 2) / 6;
928
928
  break;
929
- case i:
930
- f = ((n - t) / u + 4) / 6;
929
+ case s:
930
+ f = ((n - t) / m + 4) / 6;
931
931
  break;
932
932
  }
933
933
  }
@@ -952,7 +952,7 @@ e("#fdf2f8", "pink", 50), e("#fce7f3", "pink", 100), e("#fbcfe8", "pink", 200),
952
952
  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
953
  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
954
  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 V {
955
+ class W {
956
956
  /**
957
957
  * Create a shadow token
958
958
  */
@@ -996,17 +996,17 @@ class V {
996
996
  }[a];
997
997
  }
998
998
  }
999
- const je = {
1000
- none: V.create("none"),
1001
- sm: V.create("sm"),
1002
- md: V.create("md"),
1003
- lg: V.create("lg"),
1004
- xl: V.create("xl"),
1005
- "2xl": V.create("2xl"),
1006
- inner: V.create("inner")
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")
1007
1007
  };
1008
- function X(r) {
1009
- return je[r].tailwind;
1008
+ function Z(r) {
1009
+ return _e[r].tailwind;
1010
1010
  }
1011
1011
  class E {
1012
1012
  /**
@@ -1075,7 +1075,7 @@ class _ {
1075
1075
  }
1076
1076
  }
1077
1077
  _.create("sm"), _.create("md"), _.create("lg"), _.create("xl"), _.create("2xl");
1078
- class W {
1078
+ class D {
1079
1079
  /**
1080
1080
  * Create an animation token
1081
1081
  */
@@ -1101,7 +1101,7 @@ class W {
1101
1101
  ms: 500,
1102
1102
  tailwind: "duration-500"
1103
1103
  }
1104
- }, i = {
1104
+ }, s = {
1105
1105
  "ease-in": {
1106
1106
  value: "cubic-bezier(0.4, 0, 1, 1)",
1107
1107
  tailwind: "ease-in",
@@ -1125,30 +1125,30 @@ class W {
1125
1125
  };
1126
1126
  return {
1127
1127
  duration: t[a],
1128
- easing: i[n]
1128
+ easing: s[n]
1129
1129
  };
1130
1130
  }
1131
1131
  /**
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 = [
1136
- i.duration.tailwind,
1137
- i.easing.tailwind
1135
+ const s = this.create(n, t), i = Array.isArray(a) ? a.join(", ") : a, c = [
1136
+ s.duration.tailwind,
1137
+ s.easing.tailwind
1138
1138
  ].join(" ");
1139
1139
  return {
1140
- property: s,
1141
- duration: i.duration.value,
1142
- timingFunction: i.easing.value,
1140
+ property: i,
1141
+ duration: s.duration.value,
1142
+ timingFunction: s.easing.value,
1143
1143
  tailwind: c
1144
1144
  };
1145
1145
  }
1146
1146
  }
1147
- W.create("fast"), W.create("base"), W.create("slow"), W.create("slower"), W.createTransition(
1147
+ D.create("fast"), D.create("base"), D.create("slow"), D.create("slower"), D.createTransition(
1148
1148
  ["color", "background-color", "border-color"],
1149
1149
  "base"
1150
- ), W.createTransition("opacity", "fast"), W.createTransition("transform", "base"), W.createTransition("all", "base");
1151
- class I {
1150
+ ), D.createTransition("opacity", "fast"), D.createTransition("transform", "base"), D.createTransition("all", "base");
1151
+ class A {
1152
1152
  /**
1153
1153
  * Create a z-index token
1154
1154
  */
@@ -1202,8 +1202,8 @@ class I {
1202
1202
  }[a];
1203
1203
  }
1204
1204
  }
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
- class $ {
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 {
1207
1207
  /**
1208
1208
  * Create an opacity token
1209
1209
  */
@@ -1249,8 +1249,8 @@ class $ {
1249
1249
  };
1250
1250
  }
1251
1251
  }
1252
- $.create(0), $.create(5), $.create(10), $.create(20), $.create(25), $.create(30), $.create(40), $.create(50), $.create(60), $.create(70), $.create(75), $.create(80), $.create(90), $.create(95), $.create(100);
1253
- const Re = j("w-full", {
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", {
1254
1254
  variants: {
1255
1255
  size: {
1256
1256
  sm: "h-1",
@@ -1270,7 +1270,7 @@ const Re = j("w-full", {
1270
1270
  size: "md",
1271
1271
  variant: "primary"
1272
1272
  }
1273
- }), te = j("transition-all", {
1273
+ }), ne = j("transition-all", {
1274
1274
  variants: {
1275
1275
  variant: {
1276
1276
  primary: "bg-surface-brand",
@@ -1284,17 +1284,17 @@ const Re = j("w-full", {
1284
1284
  defaultVariants: {
1285
1285
  variant: "primary"
1286
1286
  }
1287
- }), _e = O(function(x, u) {
1288
- var g = x, {
1287
+ }), Be = O(function(h, m) {
1288
+ var g = h, {
1289
1289
  value: a,
1290
1290
  max: n = 100,
1291
1291
  variant: t = "primary",
1292
- size: i = "md",
1293
- showLabel: s = !1,
1292
+ size: s = "md",
1293
+ showLabel: i = !1,
1294
1294
  label: c,
1295
1295
  "aria-label": f,
1296
1296
  className: p = ""
1297
- } = g, b = y(g, [
1297
+ } = g, b = x(g, [
1298
1298
  "value",
1299
1299
  "max",
1300
1300
  "variant",
@@ -1304,9 +1304,9 @@ const Re = j("w-full", {
1304
1304
  "aria-label",
1305
1305
  "className"
1306
1306
  ]);
1307
- const h = a === void 0, C = h ? void 0 : Math.min(Math.max(a / n * 100, 0), 100), z = f || (h ? "Loading in progress" : `Progress: ${C == null ? void 0 : C.toFixed(0)}%`);
1308
- return /* @__PURE__ */ T("div", v(m({ ref: u, className: l("w-full", p) }, b), { children: [
1309
- s && (c || !h) && /* @__PURE__ */ T(
1307
+ const v = a === void 0, C = v ? void 0 : Math.min(Math.max(a / n * 100, 0), 100), L = f || (v ? "Loading in progress" : `Progress: ${C == null ? void 0 : C.toFixed(0)}%`);
1308
+ return /* @__PURE__ */ $("div", y(u({ ref: m, className: l("w-full", p) }, b), { children: [
1309
+ i && (c || !v) && /* @__PURE__ */ $(
1310
1310
  "div",
1311
1311
  {
1312
1312
  className: l(
@@ -1320,18 +1320,18 @@ const Re = j("w-full", {
1320
1320
  "span",
1321
1321
  {
1322
1322
  className: l(
1323
- L("bodySmall"),
1323
+ z("bodySmall"),
1324
1324
  H("label"),
1325
1325
  "text-fg-primary"
1326
1326
  ),
1327
1327
  children: c
1328
1328
  }
1329
1329
  ),
1330
- !h && C !== void 0 && /* @__PURE__ */ T(
1330
+ !v && C !== void 0 && /* @__PURE__ */ $(
1331
1331
  "span",
1332
1332
  {
1333
1333
  className: l(
1334
- L("bodySmall"),
1334
+ z("bodySmall"),
1335
1335
  "text-fg-secondary"
1336
1336
  ),
1337
1337
  children: [
@@ -1347,19 +1347,19 @@ const Re = j("w-full", {
1347
1347
  "div",
1348
1348
  {
1349
1349
  role: "progressbar",
1350
- "aria-valuemin": h ? void 0 : 0,
1351
- "aria-valuemax": h ? void 0 : n,
1352
- "aria-valuenow": h ? void 0 : a,
1353
- "aria-label": z,
1354
- "aria-busy": h,
1350
+ "aria-valuemin": v ? void 0 : 0,
1351
+ "aria-valuemax": v ? void 0 : n,
1352
+ "aria-valuenow": v ? void 0 : a,
1353
+ "aria-label": L,
1354
+ "aria-busy": v,
1355
1355
  className: l(
1356
1356
  "relative",
1357
1357
  "w-full",
1358
1358
  "overflow-hidden",
1359
- Re({ size: i, variant: t }),
1359
+ He({ size: s, variant: t }),
1360
1360
  M("full")
1361
1361
  ),
1362
- children: h ? /* @__PURE__ */ d(
1362
+ children: v ? /* @__PURE__ */ d(
1363
1363
  "div",
1364
1364
  {
1365
1365
  className: l(
@@ -1367,7 +1367,7 @@ const Re = j("w-full", {
1367
1367
  "top-0",
1368
1368
  "left-0",
1369
1369
  "bottom-0",
1370
- te({ variant: t }),
1370
+ ne({ variant: t }),
1371
1371
  M("full"),
1372
1372
  "motion-reduce:animate-none"
1373
1373
  ),
@@ -1381,7 +1381,7 @@ const Re = j("w-full", {
1381
1381
  {
1382
1382
  className: l(
1383
1383
  "h-full",
1384
- te({ variant: t }),
1384
+ ne({ variant: t }),
1385
1385
  M("full"),
1386
1386
  "transition-all",
1387
1387
  "duration-300",
@@ -1397,20 +1397,20 @@ const Re = j("w-full", {
1397
1397
  )
1398
1398
  ] }));
1399
1399
  });
1400
- _e.displayName = "Progress";
1401
- const He = {
1400
+ Be.displayName = "Progress";
1401
+ const Oe = {
1402
1402
  horizontal: "w-full border-t",
1403
1403
  vertical: "h-full border-l self-stretch"
1404
- }, Be = {
1404
+ }, Pe = {
1405
1405
  solid: "border-solid",
1406
1406
  dashed: "border-dashed",
1407
1407
  dotted: "border-dotted"
1408
- }, Oe = B(function(s) {
1409
- var c = s, {
1408
+ }, qe = B(function(i) {
1409
+ var c = i, {
1410
1410
  orientation: a = "horizontal",
1411
1411
  variant: n = "solid",
1412
1412
  className: t = ""
1413
- } = c, i = y(c, [
1413
+ } = c, s = x(c, [
1414
1414
  "orientation",
1415
1415
  "variant",
1416
1416
  "className"
@@ -1418,36 +1418,36 @@ const He = {
1418
1418
  const f = l(
1419
1419
  "border-0",
1420
1420
  "border-line-default",
1421
- He[a],
1422
- Be[n],
1421
+ Oe[a],
1422
+ Pe[n],
1423
1423
  t
1424
1424
  );
1425
1425
  return a === "vertical" ? /* @__PURE__ */ d(
1426
1426
  "div",
1427
- m({
1427
+ u({
1428
1428
  className: f,
1429
1429
  role: "separator",
1430
1430
  "aria-orientation": "vertical"
1431
- }, i)
1431
+ }, s)
1432
1432
  ) : /* @__PURE__ */ d(
1433
1433
  "hr",
1434
- m({
1434
+ u({
1435
1435
  className: f,
1436
1436
  role: "separator",
1437
1437
  "aria-orientation": "horizontal"
1438
- }, i)
1438
+ }, s)
1439
1439
  );
1440
1440
  });
1441
- Oe.displayName = "Separator";
1442
- function da(f) {
1441
+ qe.displayName = "Separator";
1442
+ function ga(f) {
1443
1443
  var p = f, {
1444
1444
  variant: r = "text",
1445
1445
  width: a,
1446
1446
  height: n,
1447
1447
  lines: t = 1,
1448
- className: i = "",
1449
- "aria-label": s
1450
- } = p, c = y(p, [
1448
+ className: s = "",
1449
+ "aria-label": i
1450
+ } = p, c = x(p, [
1451
1451
  "variant",
1452
1452
  "width",
1453
1453
  "height",
@@ -1459,44 +1459,44 @@ function da(f) {
1459
1459
  "motion-safe:animate-pulse",
1460
1460
  "bg-surface-muted",
1461
1461
  M("sm")
1462
- ], u = {
1462
+ ], m = {
1463
1463
  text: "h-4",
1464
1464
  card: "h-32",
1465
1465
  list: "h-12",
1466
1466
  circle: M("full")
1467
- }, x = l(...b, u[r], i), g = {};
1467
+ }, h = l(...b, m[r], s), g = {};
1468
1468
  a && (g.width = a), n && (g.height = n);
1469
- const h = s || `Loading ${r} content`;
1469
+ const v = i || `Loading ${r} content`;
1470
1470
  return r === "text" && t > 1 ? /* @__PURE__ */ d(
1471
1471
  "div",
1472
- v(m({
1472
+ y(u({
1473
1473
  className: o("sm", "space-y"),
1474
1474
  role: "status",
1475
1475
  "aria-busy": "true",
1476
- "aria-label": h
1476
+ "aria-label": v
1477
1477
  }, c), {
1478
- children: Array.from({ length: t }).map((C, z) => /* @__PURE__ */ d(
1478
+ children: Array.from({ length: t }).map((C, L) => /* @__PURE__ */ d(
1479
1479
  "div",
1480
1480
  {
1481
- className: x,
1482
- style: z === t - 1 ? { width: "75%" } : g,
1481
+ className: h,
1482
+ style: L === t - 1 ? { width: "75%" } : g,
1483
1483
  "aria-hidden": "true"
1484
1484
  },
1485
- z
1485
+ L
1486
1486
  ))
1487
1487
  })
1488
1488
  ) : /* @__PURE__ */ d(
1489
1489
  "div",
1490
- m({
1491
- className: x,
1490
+ u({
1491
+ className: h,
1492
1492
  style: g,
1493
1493
  role: "status",
1494
1494
  "aria-busy": "true",
1495
- "aria-label": h
1495
+ "aria-label": v
1496
1496
  }, c)
1497
1497
  );
1498
1498
  }
1499
- const Pe = j("motion-safe:animate-spin", {
1499
+ const Ue = j("motion-safe:animate-spin", {
1500
1500
  variants: {
1501
1501
  size: {
1502
1502
  sm: "h-4 w-4",
@@ -1513,31 +1513,31 @@ const Pe = j("motion-safe:animate-spin", {
1513
1513
  size: "md",
1514
1514
  variant: "primary"
1515
1515
  }
1516
- }), Ue = B(function(c) {
1516
+ }), Ke = B(function(c) {
1517
1517
  var f = c, {
1518
1518
  size: a = "md",
1519
1519
  variant: n = "primary",
1520
1520
  label: t,
1521
- className: i = ""
1522
- } = f, s = y(f, [
1521
+ className: s = ""
1522
+ } = f, i = x(f, [
1523
1523
  "size",
1524
1524
  "variant",
1525
1525
  "label",
1526
1526
  "className"
1527
1527
  ]);
1528
- return /* @__PURE__ */ T(
1528
+ return /* @__PURE__ */ $(
1529
1529
  "div",
1530
- v(m({
1531
- className: l("inline-flex", "items-center", i),
1530
+ y(u({
1531
+ className: l("inline-flex", "items-center", s),
1532
1532
  role: "status",
1533
1533
  "aria-label": t || "Loading",
1534
1534
  "aria-live": "polite"
1535
- }, s), {
1535
+ }, i), {
1536
1536
  children: [
1537
1537
  /* @__PURE__ */ d(
1538
- be,
1538
+ xe,
1539
1539
  {
1540
- className: l(Pe({ size: a, variant: n })),
1540
+ className: l(Ue({ size: a, variant: n })),
1541
1541
  "aria-hidden": "true"
1542
1542
  }
1543
1543
  ),
@@ -1546,7 +1546,7 @@ const Pe = j("motion-safe:animate-spin", {
1546
1546
  {
1547
1547
  className: l(
1548
1548
  o("sm", "ml"),
1549
- L("bodySmall"),
1549
+ z("bodySmall"),
1550
1550
  "text-fg-secondary",
1551
1551
  "sr-only"
1552
1552
  ),
@@ -1557,8 +1557,8 @@ const Pe = j("motion-safe:animate-spin", {
1557
1557
  })
1558
1558
  );
1559
1559
  });
1560
- Ue.displayName = "Spinner";
1561
- const qe = {
1560
+ Ke.displayName = "Spinner";
1561
+ const Xe = {
1562
1562
  primary: {
1563
1563
  // exception: variant color — no semantic equivalent (Principle 3, .claude/rules/colors.md)
1564
1564
  light: "text-indigo-400",
@@ -1610,16 +1610,16 @@ const qe = {
1610
1610
  contrast: "text-fg-inverse"
1611
1611
  }
1612
1612
  };
1613
- function Ke(b, p) {
1614
- var u = b, {
1613
+ function Ye(b, p) {
1614
+ var m = b, {
1615
1615
  variant: r = "paragraph",
1616
1616
  bold: a,
1617
1617
  italic: n,
1618
1618
  className: t,
1619
- as: i,
1620
- colorRole: s = "neutral",
1619
+ as: s,
1620
+ colorRole: i = "neutral",
1621
1621
  colorShade: c = "dark"
1622
- } = u, f = y(u, [
1622
+ } = m, f = x(m, [
1623
1623
  "variant",
1624
1624
  "bold",
1625
1625
  "italic",
@@ -1628,10 +1628,10 @@ function Ke(b, p) {
1628
1628
  "colorRole",
1629
1629
  "colorShade"
1630
1630
  ]);
1631
- const x = [];
1631
+ const h = [];
1632
1632
  let g;
1633
- if (i)
1634
- g = i;
1633
+ if (s)
1634
+ g = s;
1635
1635
  else
1636
1636
  switch (r) {
1637
1637
  case "heading":
@@ -1644,25 +1644,25 @@ function Ke(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(qe[s][c]), /* @__PURE__ */ d(g, m({ ref: p, className: l(...x, t) }, f));
1647
+ return r === "heading" ? h.push(V("h2")) : r === "body" || r === "paragraph" ? h.push(V("body")) : r === "bodySmall" ? h.push(V("bodySmall")) : r === "bodyLarge" ? h.push(V("bodyLarge")) : r === "caption" ? h.push(V("caption")) : r === "label" ? h.push(V("label")) : h.push(V("body")), a && h.push("font-bold"), n && h.push("italic"), h.push(Xe[i][c]), /* @__PURE__ */ d(g, u({ ref: p, className: l(...h, t) }, f));
1648
1648
  }
1649
- const re = O(Ke), Xe = {
1649
+ const se = O(Ye), Ze = {
1650
1650
  sm: "max-w-screen-sm",
1651
1651
  md: "max-w-screen-md",
1652
1652
  lg: "max-w-screen-lg",
1653
1653
  xl: "max-w-screen-xl",
1654
1654
  "2xl": "max-w-screen-2xl",
1655
1655
  full: "max-w-full"
1656
- }, Ye = ne.forwardRef(
1656
+ }, Ge = ie.forwardRef(
1657
1657
  (p, f) => {
1658
1658
  var b = p, {
1659
1659
  className: r,
1660
1660
  maxWidth: a = "lg",
1661
1661
  paddingX: n = "base",
1662
1662
  paddingY: t = "base",
1663
- center: i = !0,
1664
- children: s
1665
- } = b, c = y(b, [
1663
+ center: s = !0,
1664
+ children: i
1665
+ } = b, c = x(b, [
1666
1666
  "className",
1667
1667
  "maxWidth",
1668
1668
  "paddingX",
@@ -1672,33 +1672,33 @@ const re = O(Ke), Xe = {
1672
1672
  ]);
1673
1673
  return /* @__PURE__ */ d(
1674
1674
  "div",
1675
- v(m({
1675
+ y(u({
1676
1676
  ref: f,
1677
1677
  className: l(
1678
1678
  "w-full",
1679
- Xe[a],
1679
+ Ze[a],
1680
1680
  o(n, "px"),
1681
1681
  o(t, "py"),
1682
- i && "mx-auto",
1682
+ s && "mx-auto",
1683
1683
  r
1684
1684
  )
1685
1685
  }, c), {
1686
- children: s
1686
+ children: i
1687
1687
  })
1688
1688
  );
1689
1689
  }
1690
1690
  );
1691
- Ye.displayName = "Container";
1692
- const Ze = ne.forwardRef(
1691
+ Ge.displayName = "Container";
1692
+ const Qe = ie.forwardRef(
1693
1693
  (p, f) => {
1694
1694
  var b = p, {
1695
1695
  className: r,
1696
1696
  spacing: a = "base",
1697
1697
  align: n = "stretch",
1698
1698
  justify: t = "start",
1699
- direction: i = "column",
1700
- children: s
1701
- } = b, c = y(b, [
1699
+ direction: s = "column",
1700
+ children: i
1701
+ } = b, c = x(b, [
1702
1702
  "className",
1703
1703
  "spacing",
1704
1704
  "align",
@@ -1706,7 +1706,7 @@ const Ze = ne.forwardRef(
1706
1706
  "direction",
1707
1707
  "children"
1708
1708
  ]);
1709
- const u = i === "column" ? o(a, "gap-y") : o(a, "gap-x"), x = {
1709
+ const m = s === "column" ? o(a, "gap-y") : o(a, "gap-x"), h = {
1710
1710
  start: "items-start",
1711
1711
  center: "items-center",
1712
1712
  end: "items-end",
@@ -1721,29 +1721,29 @@ const Ze = ne.forwardRef(
1721
1721
  };
1722
1722
  return /* @__PURE__ */ d(
1723
1723
  "div",
1724
- v(m({
1724
+ y(u({
1725
1725
  ref: f,
1726
1726
  className: l(
1727
1727
  "flex",
1728
- i === "column" ? "flex-col" : "flex-row",
1729
- u,
1730
- x[n],
1728
+ s === "column" ? "flex-col" : "flex-row",
1729
+ m,
1730
+ h[n],
1731
1731
  g[t],
1732
1732
  r
1733
1733
  )
1734
1734
  }, c), {
1735
- children: s
1735
+ children: i
1736
1736
  })
1737
1737
  );
1738
1738
  }
1739
1739
  );
1740
- Ze.displayName = "Stack";
1741
- function Ge(i) {
1742
- var s = i, {
1740
+ Qe.displayName = "Stack";
1741
+ function Je(s) {
1742
+ var i = s, {
1743
1743
  items: r,
1744
1744
  separator: a = "/",
1745
1745
  className: n = ""
1746
- } = s, t = y(s, [
1746
+ } = i, t = x(i, [
1747
1747
  "items",
1748
1748
  "separator",
1749
1749
  "className"
@@ -1752,15 +1752,15 @@ function Ge(i) {
1752
1752
  "flex",
1753
1753
  "items-center",
1754
1754
  o("sm", "space-x"),
1755
- L("bodySmall")
1755
+ z("bodySmall")
1756
1756
  ], f = l(...c, n);
1757
- return /* @__PURE__ */ d("nav", v(m({ "aria-label": "Breadcrumb", className: f }, t), { children: /* @__PURE__ */ d(
1757
+ return /* @__PURE__ */ d("nav", y(u({ "aria-label": "Breadcrumb", className: f }, t), { children: /* @__PURE__ */ d(
1758
1758
  "ol",
1759
1759
  {
1760
1760
  className: l("flex", "items-center", o("sm", "space-x")),
1761
1761
  children: r.map((p, b) => {
1762
- const u = b === r.length - 1;
1763
- return /* @__PURE__ */ T("li", { className: "flex items-center", children: [
1762
+ const m = b === r.length - 1;
1763
+ return /* @__PURE__ */ $("li", { className: "flex items-center", children: [
1764
1764
  b > 0 && /* @__PURE__ */ d(
1765
1765
  "span",
1766
1766
  {
@@ -1772,7 +1772,7 @@ function Ge(i) {
1772
1772
  children: a
1773
1773
  }
1774
1774
  ),
1775
- u ? /* @__PURE__ */ d(
1775
+ m ? /* @__PURE__ */ d(
1776
1776
  "span",
1777
1777
  {
1778
1778
  className: l(
@@ -1793,7 +1793,7 @@ function Ge(i) {
1793
1793
  o("xs", "pt"),
1794
1794
  "border-b-2",
1795
1795
  "border-transparent",
1796
- L("bodySmall"),
1796
+ z("bodySmall"),
1797
1797
  H("label"),
1798
1798
  "transition-colors",
1799
1799
  "text-fg-secondary",
@@ -1808,42 +1808,133 @@ function Ge(i) {
1808
1808
  }
1809
1809
  ) }));
1810
1810
  }
1811
- const Qe = B(function(b) {
1812
- var u = b, {
1813
- variant: a = "default",
1814
- padding: n = "medium",
1815
- className: t = "",
1816
- onClick: i,
1811
+ function ea(t) {
1812
+ var s = t, { children: r, className: a } = s, n = x(s, ["children", "className"]);
1813
+ return /* @__PURE__ */ d(
1814
+ "div",
1815
+ y(u({
1816
+ className: l(
1817
+ "grid items-start",
1818
+ o("1.5", "gap"),
1819
+ o("base", "mb"),
1820
+ "[&:has([data-card-actions])]:grid-cols-[1fr_auto]",
1821
+ "[&:has([data-card-actions])>[data-card-actions]]:row-span-full",
1822
+ a
1823
+ )
1824
+ }, n), {
1825
+ children: r
1826
+ })
1827
+ );
1828
+ }
1829
+ function aa(c) {
1830
+ var f = c, {
1831
+ children: r,
1832
+ icon: a,
1833
+ badge: n,
1834
+ as: t = "h2",
1835
+ className: s
1836
+ } = f, i = x(f, [
1837
+ "children",
1838
+ "icon",
1839
+ "badge",
1840
+ "as",
1841
+ "className"
1842
+ ]);
1843
+ return /* @__PURE__ */ $(
1844
+ t,
1845
+ y(u({
1846
+ className: l(
1847
+ "text-base font-semibold text-fg-primary",
1848
+ "flex items-center",
1849
+ o("sm", "gap"),
1850
+ s
1851
+ )
1852
+ }, i), {
1853
+ children: [
1854
+ a ? /* @__PURE__ */ d("span", { className: "shrink-0 inline-flex", children: a }) : null,
1855
+ /* @__PURE__ */ d("span", { children: r }),
1856
+ n ? /* @__PURE__ */ d("span", { className: "inline-flex", children: n }) : null
1857
+ ]
1858
+ })
1859
+ );
1860
+ }
1861
+ function ta(t) {
1862
+ var s = t, {
1863
+ children: r,
1864
+ className: a
1865
+ } = s, n = x(s, [
1866
+ "children",
1867
+ "className"
1868
+ ]);
1869
+ return /* @__PURE__ */ d("p", y(u({ className: l("text-sm text-fg-secondary", a) }, n), { children: r }));
1870
+ }
1871
+ function ra(t) {
1872
+ var s = t, {
1873
+ children: r,
1874
+ className: a
1875
+ } = s, n = x(s, [
1876
+ "children",
1877
+ "className"
1878
+ ]);
1879
+ return /* @__PURE__ */ d(
1880
+ "div",
1881
+ y(u({
1882
+ "data-card-actions": "",
1883
+ className: l(
1884
+ "flex items-center self-start",
1885
+ o("sm", "gap"),
1886
+ a
1887
+ )
1888
+ }, n), {
1889
+ children: r
1890
+ })
1891
+ );
1892
+ }
1893
+ function na(t) {
1894
+ var s = t, { children: r, className: a } = s, n = x(s, ["children", "className"]);
1895
+ return /* @__PURE__ */ d("div", y(u({ className: l(a) }, n), { children: r }));
1896
+ }
1897
+ function sa(b) {
1898
+ var m = b, {
1899
+ variant: r = "default",
1900
+ padding: a = "medium",
1901
+ className: n = "",
1902
+ onClick: t,
1817
1903
  "aria-label": s,
1818
- "aria-labelledby": c,
1904
+ "aria-labelledby": i,
1905
+ asSection: c = !1,
1819
1906
  children: f
1820
- } = u, p = y(u, [
1907
+ } = m, p = x(m, [
1821
1908
  "variant",
1822
1909
  "padding",
1823
1910
  "className",
1824
1911
  "onClick",
1825
1912
  "aria-label",
1826
1913
  "aria-labelledby",
1914
+ "asSection",
1827
1915
  "children"
1828
1916
  ]);
1829
- const x = j(
1917
+ typeof process != "undefined" && process.env.NODE_ENV !== "production" && c && !s && !i && console.warn(
1918
+ "[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
+ );
1920
+ const h = j(
1830
1921
  l(
1831
1922
  "bg-surface-base",
1832
1923
  M("lg"),
1833
1924
  "border",
1834
1925
  "border-line-default",
1835
- X("sm")
1926
+ Z("sm")
1836
1927
  ),
1837
1928
  {
1838
1929
  variants: {
1839
1930
  variant: {
1840
1931
  default: "",
1841
1932
  hover: l(
1842
- `hover:${X("md")}`,
1933
+ `hover:${Z("md")}`,
1843
1934
  "transition-shadow",
1844
1935
  "cursor-pointer"
1845
1936
  ),
1846
- selected: l("border-line-brand", X("md"))
1937
+ selected: l("border-line-brand", Z("md"))
1847
1938
  },
1848
1939
  padding: {
1849
1940
  none: "",
@@ -1857,70 +1948,72 @@ const Qe = B(function(b) {
1857
1948
  padding: "medium"
1858
1949
  }
1859
1950
  }
1860
- ), g = i !== void 0, h = g ? "button" : void 0, C = g ? 0 : void 0, z = l(x({ variant: a, padding: n }), t);
1861
- return /* @__PURE__ */ d(
1862
- "div",
1863
- v(m({
1864
- className: z,
1865
- role: h,
1866
- tabIndex: C,
1867
- onClick: i,
1868
- onKeyDown: g ? (R) => {
1869
- g && (R.key === "Enter" || R.key === " ") && (R.preventDefault(), i == null || i());
1870
- } : void 0,
1871
- "aria-label": s,
1872
- "aria-labelledby": c
1873
- }, p), {
1874
- children: f
1875
- })
1876
- );
1877
- });
1878
- Qe.displayName = "Card";
1879
- function ca(t) {
1880
- var i = t, {
1951
+ ), g = t !== void 0, v = g ? "button" : void 0, C = g ? 0 : void 0, L = l(h({ variant: r, padding: a }), n), q = u({
1952
+ className: L,
1953
+ role: v,
1954
+ tabIndex: C,
1955
+ onClick: t,
1956
+ onKeyDown: g ? (R) => {
1957
+ g && (R.key === "Enter" || R.key === " ") && (R.preventDefault(), t == null || t());
1958
+ } : void 0,
1959
+ "aria-label": s,
1960
+ "aria-labelledby": i
1961
+ }, p);
1962
+ return c ? /* @__PURE__ */ d("section", y(u({}, q), { children: f })) : /* @__PURE__ */ d("div", y(u({}, q), { children: f }));
1963
+ }
1964
+ const oe = B(sa);
1965
+ 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 xa(t) {
1973
+ var s = t, {
1881
1974
  children: r,
1882
1975
  className: a = ""
1883
- } = i, n = y(i, [
1976
+ } = s, n = x(s, [
1884
1977
  "children",
1885
1978
  "className"
1886
1979
  ]);
1887
1980
  return /* @__PURE__ */ d(
1888
1981
  "div",
1889
- v(m({
1982
+ y(u({
1890
1983
  className: `flex flex-col ${o("1.5", "space-y")} ${o("lg", "p")} ${o("base", "pb")} ${a}`
1891
1984
  }, n), {
1892
1985
  children: r
1893
1986
  })
1894
1987
  );
1895
1988
  }
1896
- function fa(t) {
1897
- var i = t, {
1989
+ function ya(t) {
1990
+ var s = t, {
1898
1991
  children: r,
1899
1992
  className: a = ""
1900
- } = i, n = y(i, [
1993
+ } = s, n = x(s, [
1901
1994
  "children",
1902
1995
  "className"
1903
1996
  ]);
1904
1997
  return /* @__PURE__ */ d(
1905
1998
  "div",
1906
- v(m({
1999
+ y(u({
1907
2000
  className: `flex flex-col-reverse sm:flex-row sm:justify-end sm:${o("sm", "space-x")} ${o("lg", "p")} ${o("base", "pt")} ${a}`
1908
2001
  }, n), {
1909
2002
  children: r
1910
2003
  })
1911
2004
  );
1912
2005
  }
1913
- function pa(t) {
1914
- var i = t, {
2006
+ function ha(t) {
2007
+ var s = t, {
1915
2008
  children: r,
1916
2009
  className: a = ""
1917
- } = i, n = y(i, [
2010
+ } = s, n = x(s, [
1918
2011
  "children",
1919
2012
  "className"
1920
2013
  ]);
1921
2014
  return /* @__PURE__ */ d(
1922
2015
  "div",
1923
- v(m({
2016
+ y(u({
1924
2017
  className: `
1925
2018
  ${o("lg", "p")}
1926
2019
  border-b
@@ -1932,17 +2025,17 @@ function pa(t) {
1932
2025
  })
1933
2026
  );
1934
2027
  }
1935
- function ua(t) {
1936
- var i = t, {
2028
+ function va(t) {
2029
+ var s = t, {
1937
2030
  children: r,
1938
2031
  className: a = ""
1939
- } = i, n = y(i, [
2032
+ } = s, n = x(s, [
1940
2033
  "children",
1941
2034
  "className"
1942
2035
  ]);
1943
2036
  return /* @__PURE__ */ d(
1944
2037
  "div",
1945
- v(m({
2038
+ y(u({
1946
2039
  className: `
1947
2040
  ${o("lg", "p")}
1948
2041
  border-t
@@ -1957,7 +2050,7 @@ function ua(t) {
1957
2050
  })
1958
2051
  );
1959
2052
  }
1960
- function ma({ children: r, className: a }) {
2053
+ function wa({ children: r, className: a }) {
1961
2054
  return /* @__PURE__ */ d(
1962
2055
  "div",
1963
2056
  {
@@ -1970,7 +2063,7 @@ function ma({ children: r, className: a }) {
1970
2063
  }
1971
2064
  );
1972
2065
  }
1973
- function ba({
2066
+ function Na({
1974
2067
  children: r,
1975
2068
  className: a
1976
2069
  }) {
@@ -1989,15 +2082,15 @@ function ba({
1989
2082
  }
1990
2083
  );
1991
2084
  }
1992
- function ga(n) {
2085
+ function ka(n) {
1993
2086
  var t = n, {
1994
2087
  className: r = ""
1995
- } = t, a = y(t, [
2088
+ } = t, a = x(t, [
1996
2089
  "className"
1997
2090
  ]);
1998
2091
  return /* @__PURE__ */ d(
1999
2092
  "div",
2000
- m({
2093
+ u({
2001
2094
  role: "separator",
2002
2095
  className: `
2003
2096
  h-px
@@ -2008,24 +2101,24 @@ function ga(n) {
2008
2101
  }, a)
2009
2102
  );
2010
2103
  }
2011
- function xa(t) {
2012
- var i = t, {
2104
+ function $a(t) {
2105
+ var s = t, {
2013
2106
  orientation: r = "horizontal",
2014
2107
  className: a = ""
2015
- } = i, n = y(i, [
2108
+ } = s, n = x(s, [
2016
2109
  "orientation",
2017
2110
  "className"
2018
2111
  ]);
2019
2112
  return r === "vertical" ? /* @__PURE__ */ d(
2020
2113
  "div",
2021
- m({
2114
+ u({
2022
2115
  className: l("w-px", "h-6", "bg-line-default", "mx-auto", a),
2023
2116
  role: "separator",
2024
2117
  "aria-orientation": "vertical"
2025
2118
  }, n)
2026
2119
  ) : /* @__PURE__ */ d(
2027
2120
  "div",
2028
- m({
2121
+ u({
2029
2122
  className: l(
2030
2123
  "w-full",
2031
2124
  "h-px",
@@ -2046,7 +2139,7 @@ function xa(t) {
2046
2139
  }, n)
2047
2140
  );
2048
2141
  }
2049
- const Je = j(
2142
+ const ia = j(
2050
2143
  // Base classes
2051
2144
  l("w-full", "flex", "flex-col", o("sm", "gap")),
2052
2145
  {
@@ -2061,15 +2154,15 @@ const Je = j(
2061
2154
  }
2062
2155
  }
2063
2156
  );
2064
- function ya(f) {
2157
+ function Sa(f) {
2065
2158
  var p = f, {
2066
2159
  title: r,
2067
2160
  description: a,
2068
2161
  breadcrumb: n,
2069
2162
  actions: t,
2070
- variant: i = "default",
2071
- className: s
2072
- } = p, c = y(p, [
2163
+ variant: s = "default",
2164
+ className: i
2165
+ } = p, c = x(p, [
2073
2166
  "title",
2074
2167
  "description",
2075
2168
  "breadcrumb",
@@ -2077,16 +2170,16 @@ function ya(f) {
2077
2170
  "variant",
2078
2171
  "className"
2079
2172
  ]);
2080
- return /* @__PURE__ */ T("div", v(m({ className: l(Je({ variant: i }), s) }, c), { children: [
2081
- n && n.length > 0 && /* @__PURE__ */ d(Ge, { items: n }),
2082
- /* @__PURE__ */ T(
2173
+ return /* @__PURE__ */ $("div", y(u({ className: l(ia({ variant: s }), i) }, c), { children: [
2174
+ n && n.length > 0 && /* @__PURE__ */ d(Je, { items: n }),
2175
+ /* @__PURE__ */ $(
2083
2176
  "div",
2084
2177
  {
2085
2178
  className: `flex items-start justify-between ${o("base", "gap")}`,
2086
2179
  children: [
2087
- /* @__PURE__ */ T("div", { className: "flex-1 min-w-0", children: [
2180
+ /* @__PURE__ */ $("div", { className: "flex-1 min-w-0", children: [
2088
2181
  /* @__PURE__ */ d(
2089
- re,
2182
+ se,
2090
2183
  {
2091
2184
  variant: "heading",
2092
2185
  as: "h1",
@@ -2094,7 +2187,7 @@ function ya(f) {
2094
2187
  children: r
2095
2188
  }
2096
2189
  ),
2097
- a && /* @__PURE__ */ d(re, { variant: "body", className: "text-fg-secondary", children: a })
2190
+ a && /* @__PURE__ */ d(se, { variant: "body", className: "text-fg-secondary", children: a })
2098
2191
  ] }),
2099
2192
  t && /* @__PURE__ */ d(
2100
2193
  "div",
@@ -2108,29 +2201,29 @@ function ya(f) {
2108
2201
  )
2109
2202
  ] }));
2110
2203
  }
2111
- function ha(i) {
2112
- var s = i, { column: r, row: a, className: n = "" } = s, t = y(s, ["column", "row", "className"]);
2204
+ function Ta(s) {
2205
+ var i = s, { column: r, row: a, className: n = "" } = i, t = x(i, ["column", "row", "className"]);
2113
2206
  const c = r.key in a ? a[r.key] : void 0;
2114
2207
  return /* @__PURE__ */ d(
2115
2208
  "td",
2116
- v(m({
2209
+ y(u({
2117
2210
  className: `${o("lg", "px")} ${o("base", "py")} whitespace-nowrap text-sm text-fg-primary ${r.hiddenOnMobile ? "hidden md:table-cell" : ""} ${n}`
2118
2211
  }, t), {
2119
2212
  children: r.render ? r.render(c, a) : String(c != null ? c : "")
2120
2213
  })
2121
2214
  );
2122
2215
  }
2123
- function wa({
2216
+ function Ca({
2124
2217
  items: r,
2125
2218
  orientation: a = "vertical",
2126
2219
  className: n = ""
2127
2220
  }) {
2128
- return a === "horizontal" ? /* @__PURE__ */ d("div", { className: `flex items-start ${n}`, children: r.map((t, i) => {
2129
- const s = t.status || (i === 0 ? "active" : i < r.findIndex((f) => f.status === "active") ? "completed" : "default"), c = i === r.length - 1;
2130
- return /* @__PURE__ */ d("div", { className: "flex items-start flex-1", children: /* @__PURE__ */ T("div", { className: "flex flex-col items-center flex-1", children: [
2221
+ return a === "horizontal" ? /* @__PURE__ */ d("div", { className: `flex items-start ${n}`, children: r.map((t, s) => {
2222
+ const i = t.status || (s === 0 ? "active" : s < r.findIndex((f) => f.status === "active") ? "completed" : "default"), c = s === r.length - 1;
2223
+ return /* @__PURE__ */ d("div", { className: "flex items-start flex-1", children: /* @__PURE__ */ $("div", { className: "flex flex-col items-center flex-1", children: [
2131
2224
  /* @__PURE__ */ d(
2132
2225
  "div",
2133
- v(m({}, s === "default" ? { "data-marker": "pending" } : {}), {
2226
+ y(u({}, i === "default" ? { "data-marker": "pending" } : {}), {
2134
2227
  className: `
2135
2228
  flex
2136
2229
  items-center
@@ -2139,9 +2232,9 @@ function wa({
2139
2232
  h-10
2140
2233
  ${M("full")}
2141
2234
  border-2
2142
- ${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"}
2235
+ ${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"}
2143
2236
  `,
2144
- children: t.icon || (s === "completed" ? /* @__PURE__ */ d(J, { className: "h-4 w-4" }) : i + 1)
2237
+ children: t.icon || (i === "completed" ? /* @__PURE__ */ d(ae, { className: "h-4 w-4" }) : s + 1)
2145
2238
  })
2146
2239
  ),
2147
2240
  !c && /* @__PURE__ */ d(
@@ -2151,11 +2244,11 @@ function wa({
2151
2244
  w-full
2152
2245
  h-0.5
2153
2246
  ${o("sm", "mt")}
2154
- ${s === "completed" ? "bg-success" : "bg-line-emphasis"}
2247
+ ${i === "completed" ? "bg-success" : "bg-line-emphasis"}
2155
2248
  `
2156
2249
  }
2157
2250
  ),
2158
- /* @__PURE__ */ T(
2251
+ /* @__PURE__ */ $(
2159
2252
  "div",
2160
2253
  {
2161
2254
  className: `${o("base", "mt")} text-center ${o("base", "px")}`,
@@ -2180,17 +2273,17 @@ function wa({
2180
2273
  }
2181
2274
  )
2182
2275
  ] }) }, t.id);
2183
- }) }) : /* @__PURE__ */ d("div", { className: `${o("none", "space-y")} ${n}`, children: r.map((t, i) => {
2184
- const s = t.status || (i === 0 ? "active" : i < r.findIndex((f) => f.status === "active") ? "completed" : "default"), c = i === r.length - 1;
2185
- return /* @__PURE__ */ T(
2276
+ }) }) : /* @__PURE__ */ d("div", { className: `${o("none", "space-y")} ${n}`, children: r.map((t, s) => {
2277
+ const i = t.status || (s === 0 ? "active" : s < r.findIndex((f) => f.status === "active") ? "completed" : "default"), c = s === r.length - 1;
2278
+ return /* @__PURE__ */ $(
2186
2279
  "div",
2187
2280
  {
2188
2281
  className: `flex items-start ${o("base", "gap")}`,
2189
2282
  children: [
2190
- /* @__PURE__ */ T("div", { className: "flex flex-col items-center", children: [
2283
+ /* @__PURE__ */ $("div", { className: "flex flex-col items-center", children: [
2191
2284
  /* @__PURE__ */ d(
2192
2285
  "div",
2193
- v(m({}, s === "default" ? { "data-marker": "pending" } : {}), {
2286
+ y(u({}, i === "default" ? { "data-marker": "pending" } : {}), {
2194
2287
  className: `
2195
2288
  flex
2196
2289
  items-center
@@ -2199,9 +2292,9 @@ function wa({
2199
2292
  h-10
2200
2293
  ${M("full")}
2201
2294
  border-2
2202
- ${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"}
2295
+ ${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"}
2203
2296
  `,
2204
- children: t.icon || (s === "completed" ? /* @__PURE__ */ d(J, { className: "h-4 w-4" }) : i + 1)
2297
+ children: t.icon || (i === "completed" ? /* @__PURE__ */ d(ae, { className: "h-4 w-4" }) : s + 1)
2205
2298
  })
2206
2299
  ),
2207
2300
  !c && /* @__PURE__ */ d(
@@ -2212,12 +2305,12 @@ function wa({
2212
2305
  flex-1
2213
2306
  min-h-16
2214
2307
  ${o("sm", "mt")}
2215
- ${s === "completed" ? "bg-success" : "bg-line-emphasis"}
2308
+ ${i === "completed" ? "bg-success" : "bg-line-emphasis"}
2216
2309
  `
2217
2310
  }
2218
2311
  )
2219
2312
  ] }),
2220
- /* @__PURE__ */ T("div", { className: `flex-1 ${o("xl", "pb")}`, children: [
2313
+ /* @__PURE__ */ $("div", { className: `flex-1 ${o("xl", "pb")}`, children: [
2221
2314
  t.timestamp && /* @__PURE__ */ d(
2222
2315
  "p",
2223
2316
  {
@@ -2231,7 +2324,7 @@ function wa({
2231
2324
  className: `
2232
2325
  text-base
2233
2326
  font-semibold
2234
- ${s === "active" ? "text-fg-brand-emphasis" : "text-fg-primary"}
2327
+ ${i === "active" ? "text-fg-brand-emphasis" : "text-fg-primary"}
2235
2328
  `,
2236
2329
  children: t.title
2237
2330
  }
@@ -2252,30 +2345,35 @@ function wa({
2252
2345
  }) });
2253
2346
  }
2254
2347
  export {
2255
- he as Badge,
2256
- Ge as Breadcrumb,
2257
- Qe as Card,
2258
- ze as Chip,
2259
- Ye as Container,
2260
- fa as DialogFooter,
2261
- ca as DialogHeader,
2262
- ua as DrawerFooter,
2263
- pa as DrawerHeader,
2264
- la as ErrorMessage,
2265
- ma as HeaderActions,
2266
- ba as HeaderNavigation,
2267
- oa as Info,
2268
- Ie as Label,
2269
- ga as MenuSeparator,
2270
- xa as NavbarSeparator,
2271
- ya as PageHeader,
2272
- _e as Progress,
2273
- Oe as Separator,
2274
- da as Skeleton,
2275
- Ue as Spinner,
2276
- Ze as Stack,
2277
- ha as TableCell,
2278
- re as Text,
2279
- wa as Timeline
2348
+ we as Badge,
2349
+ Je as Breadcrumb,
2350
+ P as Card,
2351
+ ra as CardActions,
2352
+ na as CardBody,
2353
+ ea as CardHeader,
2354
+ ta as CardSubtitle,
2355
+ aa as CardTitle,
2356
+ Ee as Chip,
2357
+ Ge as Container,
2358
+ ya as DialogFooter,
2359
+ xa as DialogHeader,
2360
+ va as DrawerFooter,
2361
+ ha as DrawerHeader,
2362
+ ma as ErrorMessage,
2363
+ wa as HeaderActions,
2364
+ Na as HeaderNavigation,
2365
+ ba as Info,
2366
+ De as Label,
2367
+ ka as MenuSeparator,
2368
+ $a as NavbarSeparator,
2369
+ Sa as PageHeader,
2370
+ Be as Progress,
2371
+ qe as Separator,
2372
+ ga as Skeleton,
2373
+ Ke as Spinner,
2374
+ Qe as Stack,
2375
+ Ta as TableCell,
2376
+ se as Text,
2377
+ Ca as Timeline
2280
2378
  };
2281
2379
  //# sourceMappingURL=index.js.map