@fabio.caffarello/react-design-system 4.8.0 → 4.9.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.
@@ -2,7 +2,7 @@ var be = Object.defineProperty, xe = Object.defineProperties;
2
2
  var he = Object.getOwnPropertyDescriptors;
3
3
  var K = Object.getOwnPropertySymbols;
4
4
  var te = Object.prototype.hasOwnProperty, re = Object.prototype.propertyIsEnumerable;
5
- var G = (e, a, r) => a in e ? be(e, a, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[a] = r, m = (e, a) => {
5
+ var G = (e, a, r) => a in e ? be(e, a, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[a] = r, p = (e, a) => {
6
6
  for (var r in a || (a = {}))
7
7
  te.call(a, r) && G(e, r, a[r]);
8
8
  if (K)
@@ -22,7 +22,7 @@ var h = (e, a) => {
22
22
  var ne = (e, a, r) => G(e, typeof a != "symbol" ? a + "" : a, r);
23
23
  import { jsxs as v, jsx as l, Fragment as J } from "react/jsx-runtime";
24
24
  import * as A from "react";
25
- import de, { forwardRef as L, memo as M } from "react";
25
+ import de, { forwardRef as F, memo as W } from "react";
26
26
  import { clsx as ye } from "clsx";
27
27
  import { twMerge as ve } from "tailwind-merge";
28
28
  import { cva as we } from "class-variance-authority";
@@ -117,8 +117,8 @@ const z = (e, a) => {
117
117
  circle: $("full"),
118
118
  square: $("none"),
119
119
  rounded: $("md")
120
- }, Ee = L(
121
- function(x, p) {
120
+ }, Ee = F(
121
+ function(x, m) {
122
122
  var f = x, {
123
123
  src: a,
124
124
  alt: r,
@@ -128,7 +128,7 @@ const z = (e, a) => {
128
128
  loading: c = "eager",
129
129
  "aria-label": d,
130
130
  className: u = ""
131
- } = f, b = h(f, [
131
+ } = f, g = h(f, [
132
132
  "src",
133
133
  "alt",
134
134
  "fallback",
@@ -138,11 +138,11 @@ const z = (e, a) => {
138
138
  "aria-label",
139
139
  "className"
140
140
  ]);
141
- const g = !a, w = typeof t == "string" ? t.toUpperCase().slice(0, 2) : t, N = d || r || "User avatar";
141
+ const b = !a, N = typeof t == "string" ? t.toUpperCase().slice(0, 2) : t, S = d || r || "User avatar";
142
142
  return /* @__PURE__ */ v(
143
143
  "div",
144
- y(m({
145
- ref: p,
144
+ y(p({
145
+ ref: m,
146
146
  className: n(
147
147
  "relative",
148
148
  "inline-flex",
@@ -158,10 +158,10 @@ const z = (e, a) => {
158
158
  u
159
159
  ),
160
160
  role: "img",
161
- "aria-label": N
162
- }, b), {
161
+ "aria-label": S
162
+ }, g), {
163
163
  children: [
164
- !g && /* @__PURE__ */ l(
164
+ !b && /* @__PURE__ */ l(
165
165
  "img",
166
166
  {
167
167
  src: a,
@@ -176,7 +176,7 @@ const z = (e, a) => {
176
176
  "aria-hidden": "true"
177
177
  }
178
178
  ),
179
- g && /* @__PURE__ */ l(
179
+ b && /* @__PURE__ */ l(
180
180
  "span",
181
181
  {
182
182
  className: n(
@@ -188,7 +188,7 @@ const z = (e, a) => {
188
188
  Y[o]
189
189
  ),
190
190
  "aria-hidden": "true",
191
- children: w || "?"
191
+ children: N || "?"
192
192
  }
193
193
  )
194
194
  ]
@@ -197,7 +197,7 @@ const z = (e, a) => {
197
197
  }
198
198
  );
199
199
  Ee.displayName = "AvatarBase";
200
- class C {
200
+ class E {
201
201
  // 4px base
202
202
  /**
203
203
  * Create a spacing token from scale value
@@ -264,42 +264,42 @@ class C {
264
264
  }[a] || String(a);
265
265
  }
266
266
  }
267
- ne(C, "BASE_UNIT", 4);
267
+ ne(E, "BASE_UNIT", 4);
268
268
  const Te = {
269
269
  // Micro spacing (0-14px)
270
- none: C.create(0),
271
- "0.5": C.create(0.5),
270
+ none: E.create(0),
271
+ "0.5": E.create(0.5),
272
272
  // 2px (half-step)
273
- xs: C.create(1),
273
+ xs: E.create(1),
274
274
  // 4px
275
- "1.5": C.create(1.5),
275
+ "1.5": E.create(1.5),
276
276
  // 6px (half-step)
277
- sm: C.create(2),
277
+ sm: E.create(2),
278
278
  // 8px
279
- "2.5": C.create(2.5),
279
+ "2.5": E.create(2.5),
280
280
  // 10px (half-step)
281
- md: C.create(3),
281
+ md: E.create(3),
282
282
  // 12px
283
- "3.5": C.create(3.5),
283
+ "3.5": E.create(3.5),
284
284
  // 14px (half-step)
285
285
  // Standard spacing (16-32px)
286
- base: C.create(4),
286
+ base: E.create(4),
287
287
  // 16px
288
- lg: C.create(6),
288
+ lg: E.create(6),
289
289
  // 24px
290
- xl: C.create(8),
290
+ xl: E.create(8),
291
291
  // 32px
292
292
  // Large spacing (40-64px)
293
- "2xl": C.create(10),
293
+ "2xl": E.create(10),
294
294
  // 40px
295
- "3xl": C.create(12),
295
+ "3xl": E.create(12),
296
296
  // 48px
297
- "4xl": C.create(16),
297
+ "4xl": E.create(16),
298
298
  // 64px
299
299
  // Extra large spacing (80px+)
300
- "5xl": C.create(20),
300
+ "5xl": E.create(20),
301
301
  // 80px
302
- "6xl": C.create(24)
302
+ "6xl": E.create(24)
303
303
  // 96px
304
304
  };
305
305
  function s(e, a = "p") {
@@ -326,7 +326,7 @@ function s(e, a = "p") {
326
326
  "space-y": "space-y"
327
327
  }[a]}-${t}`;
328
328
  }
329
- class E {
329
+ class k {
330
330
  /**
331
331
  * Create font size token
332
332
  */
@@ -396,41 +396,44 @@ class E {
396
396
  };
397
397
  }
398
398
  }
399
- E.createFontWeight("light"), E.createFontWeight("normal"), E.createFontWeight("medium"), E.createFontWeight("semibold"), E.createFontWeight("bold");
399
+ k.createFontWeight("light"), k.createFontWeight("normal"), k.createFontWeight("medium"), k.createFontWeight("semibold"), k.createFontWeight("bold");
400
400
  const Q = {
401
401
  // Headings
402
- h1: E.create("4xl", "tight", "bold"),
403
- h2: E.create("3xl", "tight", "bold"),
404
- h3: E.create("2xl", "snug", "semibold"),
405
- h4: E.create("xl", "snug", "semibold"),
406
- h5: E.create("lg", "normal", "medium"),
407
- h6: E.create("base", "normal", "medium"),
402
+ h1: k.create("4xl", "tight", "bold"),
403
+ h2: k.create("3xl", "tight", "bold"),
404
+ h3: k.create("2xl", "snug", "semibold"),
405
+ h4: k.create("xl", "snug", "semibold"),
406
+ h5: k.create("lg", "normal", "medium"),
407
+ h6: k.create("base", "normal", "medium"),
408
408
  // Body text
409
- body: E.create("base", "relaxed", "normal"),
410
- bodySmall: E.create("sm", "relaxed", "normal"),
411
- bodyLarge: E.create("lg", "relaxed", "normal"),
409
+ body: k.create("base", "relaxed", "normal"),
410
+ bodySmall: k.create("sm", "relaxed", "normal"),
411
+ bodyLarge: k.create("lg", "relaxed", "normal"),
412
412
  // UI elements
413
- label: E.create("sm", "normal", "medium"),
414
- caption: E.create("xs", "normal", "normal"),
415
- button: E.create("base", "normal", "medium")
413
+ label: k.create("sm", "normal", "medium"),
414
+ caption: k.create("xs", "normal", "normal"),
415
+ button: k.create("base", "normal", "medium")
416
416
  };
417
417
  function D(e) {
418
418
  const a = Q[e];
419
419
  return `${a.fontSize.tailwind} ${a.lineHeight.tailwind} ${a.fontWeight.tailwind}`;
420
420
  }
421
- function S(e) {
421
+ function w(e) {
422
422
  return Q[e].fontSize.tailwind;
423
423
  }
424
- function _(e) {
424
+ function B(e) {
425
425
  return Q[e].fontWeight.tailwind;
426
426
  }
427
- const Ve = z(
427
+ function Ve(e) {
428
+ return k.createFontWeight(e).tailwind;
429
+ }
430
+ const Ae = z(
428
431
  // Base classes
429
432
  n(
430
433
  "inline-flex",
431
434
  "items-center",
432
435
  "justify-center",
433
- _("label"),
436
+ B("label"),
434
437
  $("md"),
435
438
  "border"
436
439
  ),
@@ -449,17 +452,17 @@ const Ve = z(
449
452
  sm: n(
450
453
  s("1.5", "px"),
451
454
  s("0.5", "py"),
452
- S("caption")
455
+ w("caption")
453
456
  ),
454
457
  md: n(
455
458
  s("sm", "px"),
456
459
  s("xs", "py"),
457
- S("caption")
460
+ w("caption")
458
461
  ),
459
462
  lg: n(
460
463
  s("sm", "px"),
461
464
  s("xs", "py"),
462
- S("bodySmall")
465
+ w("bodySmall")
463
466
  )
464
467
  },
465
468
  style: {
@@ -562,16 +565,16 @@ const Ve = z(
562
565
  style: "solid"
563
566
  }
564
567
  }
565
- ), Ae = M(
566
- L(function(b, u) {
567
- var p = b, {
568
+ ), ze = W(
569
+ F(function(g, u) {
570
+ var m = g, {
568
571
  variant: a = "neutral",
569
572
  size: r = "md",
570
573
  style: t = "solid",
571
574
  className: i = "",
572
575
  children: o,
573
576
  "aria-label": c
574
- } = p, d = h(p, [
577
+ } = m, d = h(m, [
575
578
  "variant",
576
579
  "size",
577
580
  "style",
@@ -579,19 +582,19 @@ const Ve = z(
579
582
  "children",
580
583
  "aria-label"
581
584
  ]);
582
- const x = n(Ve({ variant: a, size: r, style: t }), i);
585
+ const x = n(Ae({ variant: a, size: r, style: t }), i);
583
586
  let f;
584
587
  if (c)
585
588
  f = c;
586
589
  else if (typeof o == "string")
587
590
  f = o;
588
591
  else if (typeof o == "object" && o !== null && "props" in o) {
589
- const g = o.props;
590
- g != null && g.children && typeof g.children == "string" && (f = g.children);
592
+ const b = o.props;
593
+ b != null && b.children && typeof b.children == "string" && (f = b.children);
591
594
  }
592
595
  return /* @__PURE__ */ l(
593
596
  "span",
594
- y(m({
597
+ y(p({
595
598
  ref: u,
596
599
  role: "status",
597
600
  "aria-label": f,
@@ -602,13 +605,13 @@ const Ve = z(
602
605
  );
603
606
  })
604
607
  );
605
- Ae.displayName = "Badge";
608
+ ze.displayName = "Badge";
606
609
  function ie(e, a) {
607
610
  if (typeof e == "function")
608
611
  return e(a);
609
612
  e != null && (e.current = a);
610
613
  }
611
- function ze(...e) {
614
+ function Fe(...e) {
612
615
  return (a) => {
613
616
  let r = !1;
614
617
  const t = e.map((i) => {
@@ -625,23 +628,23 @@ function ze(...e) {
625
628
  };
626
629
  }
627
630
  function Le(...e) {
628
- return A.useCallback(ze(...e), e);
631
+ return A.useCallback(Fe(...e), e);
629
632
  }
630
633
  // @__NO_SIDE_EFFECTS__
631
- function Fe(e) {
634
+ function De(e) {
632
635
  const a = A.forwardRef((r, t) => {
633
- var g;
636
+ var b;
634
637
  let f = r, { children: i } = f, o = h(f, ["children"]), c = null, d = !1;
635
638
  const u = [];
636
- le(i) && typeof q == "function" && (i = q(i._payload)), A.Children.forEach(i, (w) => {
637
- var N;
638
- if (Oe(w)) {
639
+ le(i) && typeof q == "function" && (i = q(i._payload)), A.Children.forEach(i, (N) => {
640
+ var S;
641
+ if (Me(N)) {
639
642
  d = !0;
640
- const T = w;
641
- let k = "child" in T.props ? T.props.child : T.props.children;
642
- le(k) && typeof q == "function" && (k = q(k._payload)), c = _e(T, k), u.push((N = c == null ? void 0 : c.props) == null ? void 0 : N.children);
643
+ const T = N;
644
+ let C = "child" in T.props ? T.props.child : T.props.children;
645
+ le(C) && typeof q == "function" && (C = q(C._payload)), c = Be(T, C), u.push((S = c == null ? void 0 : c.props) == null ? void 0 : S.children);
643
646
  } else
644
- u.push(w);
647
+ u.push(N);
645
648
  }), c ? c = A.cloneElement(c, void 0, u) : (
646
649
  // A `Slottable` was found but it didn't resolve to a single element (e.g.
647
650
  // it wrapped multiple elements, text, or a render-prop `child` that
@@ -649,7 +652,7 @@ function Fe(e) {
649
652
  // itself as the slot target — throw a descriptive error below instead.
650
653
  !d && A.Children.count(i) === 1 && A.isValidElement(i) && (c = i)
651
654
  );
652
- const b = c ? Be(c) : void 0, p = Le(t, b);
655
+ const g = c ? Oe(c) : void 0, m = Le(t, g);
653
656
  if (!c) {
654
657
  if (i || i === 0)
655
658
  throw new Error(
@@ -657,18 +660,18 @@ function Fe(e) {
657
660
  );
658
661
  return i;
659
662
  }
660
- const x = Re(o, (g = c.props) != null ? g : {});
661
- return c.type !== A.Fragment && (x.ref = t ? p : b), A.cloneElement(c, x);
663
+ const x = Re(o, (b = c.props) != null ? b : {});
664
+ return c.type !== A.Fragment && (x.ref = t ? m : g), A.cloneElement(c, x);
662
665
  });
663
666
  return a.displayName = `${e}.Slot`, a;
664
667
  }
665
- var ue = /* @__PURE__ */ Fe("Slot"), fe = /* @__PURE__ */ Symbol.for("radix.slottable");
668
+ var ue = /* @__PURE__ */ De("Slot"), fe = /* @__PURE__ */ Symbol.for("radix.slottable");
666
669
  // @__NO_SIDE_EFFECTS__
667
- function De(e) {
670
+ function je(e) {
668
671
  const a = (r) => "child" in r ? r.children(r.child) : r.children;
669
672
  return a.displayName = `${e}.Slottable`, a.__radixId = fe, a;
670
673
  }
671
- var je = /* @__PURE__ */ De("Slottable"), _e = (e, a) => {
674
+ var _e = /* @__PURE__ */ je("Slottable"), Be = (e, a) => {
672
675
  if ("child" in e.props) {
673
676
  const r = e.props.child;
674
677
  return A.isValidElement(r) ? A.cloneElement(r, void 0, e.props.children(r.props.children)) : null;
@@ -676,33 +679,33 @@ var je = /* @__PURE__ */ De("Slottable"), _e = (e, a) => {
676
679
  return A.isValidElement(a) ? a : null;
677
680
  };
678
681
  function Re(e, a) {
679
- const r = m({}, a);
682
+ const r = p({}, a);
680
683
  for (const t in a) {
681
684
  const i = e[t], o = a[t];
682
685
  /^on[A-Z]/.test(t) ? i && o ? r[t] = (...d) => {
683
686
  const u = o(...d);
684
687
  return i(...d), u;
685
- } : i && (r[t] = i) : t === "style" ? r[t] = m(m({}, i), o) : t === "className" && (r[t] = [i, o].filter(Boolean).join(" "));
688
+ } : i && (r[t] = i) : t === "style" ? r[t] = p(p({}, i), o) : t === "className" && (r[t] = [i, o].filter(Boolean).join(" "));
686
689
  }
687
- return m(m({}, e), r);
690
+ return p(p({}, e), r);
688
691
  }
689
- function Be(e) {
692
+ function Oe(e) {
690
693
  var t, i;
691
694
  let a = (t = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : t.get, r = a && "isReactWarning" in a && a.isReactWarning;
692
695
  return r ? e.ref : (a = (i = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : i.get, r = a && "isReactWarning" in a && a.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);
693
696
  }
694
- function Oe(e) {
697
+ function Me(e) {
695
698
  return A.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === fe;
696
699
  }
697
- var Me = /* @__PURE__ */ Symbol.for("react.lazy");
700
+ var We = /* @__PURE__ */ Symbol.for("react.lazy");
698
701
  function le(e) {
699
- return e != null && typeof e == "object" && "$$typeof" in e && e.$$typeof === Me && "_payload" in e && He(e._payload);
702
+ return e != null && typeof e == "object" && "$$typeof" in e && e.$$typeof === We && "_payload" in e && He(e._payload);
700
703
  }
701
704
  function He(e) {
702
705
  return typeof e == "object" && e !== null && "then" in e;
703
706
  }
704
707
  var Pe = (e) => `${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`, Ie = (e) => `${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`, q = A[" use ".trim().toString()];
705
- const We = z("motion-safe:animate-spin", {
708
+ const Ue = z("motion-safe:animate-spin", {
706
709
  variants: {
707
710
  size: {
708
711
  sm: "h-4 w-4",
@@ -719,7 +722,7 @@ const We = z("motion-safe:animate-spin", {
719
722
  size: "md",
720
723
  variant: "primary"
721
724
  }
722
- }), pe = M(function(c) {
725
+ }), pe = W(function(c) {
723
726
  var d = c, {
724
727
  size: a = "md",
725
728
  variant: r = "primary",
@@ -733,7 +736,7 @@ const We = z("motion-safe:animate-spin", {
733
736
  ]);
734
737
  return /* @__PURE__ */ v(
735
738
  "div",
736
- y(m({
739
+ y(p({
737
740
  className: n("inline-flex", "items-center", i),
738
741
  role: "status",
739
742
  "aria-label": t || "Loading",
@@ -743,7 +746,7 @@ const We = z("motion-safe:animate-spin", {
743
746
  /* @__PURE__ */ l(
744
747
  Ne,
745
748
  {
746
- className: n(We({ size: a, variant: r })),
749
+ className: n(Ue({ size: a, variant: r })),
747
750
  "aria-hidden": "true"
748
751
  }
749
752
  ),
@@ -752,7 +755,7 @@ const We = z("motion-safe:animate-spin", {
752
755
  {
753
756
  className: n(
754
757
  s("sm", "ml"),
755
- S("bodySmall"),
758
+ w("bodySmall"),
756
759
  "text-fg-secondary",
757
760
  "sr-only"
758
761
  ),
@@ -764,7 +767,7 @@ const We = z("motion-safe:animate-spin", {
764
767
  );
765
768
  });
766
769
  pe.displayName = "Spinner";
767
- const Ue = z(
770
+ const Ke = z(
768
771
  // Base classes
769
772
  n(
770
773
  "inline-flex",
@@ -861,19 +864,19 @@ const Ue = z(
861
864
  sm: n(
862
865
  s("md", "px"),
863
866
  s("1.5", "py"),
864
- S("bodySmall"),
867
+ w("bodySmall"),
865
868
  s("1.5", "gap")
866
869
  ),
867
870
  md: n(
868
871
  s("base", "px"),
869
872
  s("sm", "py"),
870
- S("body"),
873
+ w("body"),
871
874
  s("sm", "gap")
872
875
  ),
873
876
  lg: n(
874
877
  s("lg", "px"),
875
878
  s("md", "py"),
876
- S("bodyLarge"),
879
+ w("bodyLarge"),
877
880
  s("2.5", "gap")
878
881
  )
879
882
  }
@@ -935,9 +938,9 @@ function X({
935
938
  }
936
939
  ) : null;
937
940
  }
938
- const Ke = M(
939
- L(function(k, T) {
940
- var F = k, {
941
+ const qe = W(
942
+ F(function(C, T) {
943
+ var L = C, {
941
944
  variant: a = "primary",
942
945
  size: r = "md",
943
946
  isLoading: t = !1,
@@ -946,13 +949,13 @@ const Ke = M(
946
949
  leftIcon: c,
947
950
  rightIcon: d,
948
951
  fullWidth: u = !1,
949
- asChild: b = !1,
950
- as: p,
952
+ asChild: g = !1,
953
+ as: m,
951
954
  className: x = "",
952
955
  disabled: f = !1,
953
- children: g,
954
- "aria-label": w
955
- } = F, N = h(F, [
956
+ children: b,
957
+ "aria-label": N
958
+ } = L, S = h(L, [
956
959
  "variant",
957
960
  "size",
958
961
  "isLoading",
@@ -968,36 +971,36 @@ const Ke = M(
968
971
  "children",
969
972
  "aria-label"
970
973
  ]);
971
- typeof process != "undefined" && process.env.NODE_ENV !== "production" && b && p !== void 0 && p !== "button" && console.warn(
974
+ typeof process != "undefined" && process.env.NODE_ENV !== "production" && g && m !== void 0 && m !== "button" && console.warn(
972
975
  "[Button] `as` is ignored when `asChild` is true; the child element is used as the root. Drop one of the two props to silence this warning."
973
976
  );
974
- const R = b ? ue : p != null ? p : "button", B = n(
975
- Ue({ variant: a, size: r }),
977
+ const R = g ? ue : m != null ? m : "button", O = n(
978
+ Ke({ variant: a, size: r }),
976
979
  u && "w-full",
977
980
  x
978
- ), I = (a === "iconOnly" || !g && (c || d)) && !w && !g ? "Button" : w, ge = o || /* @__PURE__ */ l(pe, { size: r === "sm" ? "sm" : r === "lg" ? "lg" : "md", variant: a === "error" ? "primary" : a === "primary" || a === "secondary" ? "neutral" : "primary" }), ee = !b && (p === void 0 || p === "button") && !N.type ? "button" : void 0, ae = m(m({
979
- className: B,
981
+ ), P = (a === "iconOnly" || !b && (c || d)) && !N && !b ? "Button" : N, ge = o || /* @__PURE__ */ l(pe, { size: r === "sm" ? "sm" : r === "lg" ? "lg" : "md", variant: a === "error" ? "primary" : a === "primary" || a === "secondary" ? "neutral" : "primary" }), ee = !g && (m === void 0 || m === "button") && !S.type ? "button" : void 0, ae = p(p({
982
+ className: O,
980
983
  disabled: f || t,
981
984
  "aria-busy": t,
982
- "aria-label": I,
985
+ "aria-label": P,
983
986
  "aria-disabled": f || t
984
- }, ee ? { type: ee } : {}), N);
985
- return b ? /* @__PURE__ */ v(R, y(m({ ref: T }, ae), { children: [
987
+ }, ee ? { type: ee } : {}), S);
988
+ return g ? /* @__PURE__ */ v(R, y(p({ ref: T }, ae), { children: [
986
989
  c && /* @__PURE__ */ l(X, { position: "left", children: c }),
987
- /* @__PURE__ */ l(je, { children: g }),
990
+ /* @__PURE__ */ l(_e, { children: b }),
988
991
  d && /* @__PURE__ */ l(X, { position: "right", children: d })
989
- ] })) : /* @__PURE__ */ l(R, y(m({ ref: T }, ae), { children: t ? /* @__PURE__ */ v(J, { children: [
992
+ ] })) : /* @__PURE__ */ l(R, y(p({ ref: T }, ae), { children: t ? /* @__PURE__ */ v(J, { children: [
990
993
  ge,
991
994
  i && /* @__PURE__ */ l("span", { className: s("sm", "ml"), children: i }),
992
- !i && g && /* @__PURE__ */ l("span", { className: `${s("sm", "ml")} opacity-0`, children: g })
995
+ !i && b && /* @__PURE__ */ l("span", { className: `${s("sm", "ml")} opacity-0`, children: b })
993
996
  ] }) : /* @__PURE__ */ v(J, { children: [
994
997
  c && /* @__PURE__ */ l(X, { position: "left", children: c }),
995
- g,
998
+ b,
996
999
  d && /* @__PURE__ */ l(X, { position: "right", children: d })
997
1000
  ] }) }));
998
1001
  })
999
1002
  );
1000
- Ke.displayName = "Button";
1003
+ qe.displayName = "Button";
1001
1004
  const oe = z(
1002
1005
  // Base classes
1003
1006
  n(
@@ -1033,17 +1036,17 @@ const oe = z(
1033
1036
  sm: n(
1034
1037
  s("xs", "px"),
1035
1038
  s("xs", "py"),
1036
- S("caption")
1039
+ w("caption")
1037
1040
  ),
1038
1041
  md: n(
1039
1042
  s("sm", "px"),
1040
1043
  s("xs", "py"),
1041
- S("bodySmall")
1044
+ w("bodySmall")
1042
1045
  ),
1043
1046
  lg: n(
1044
1047
  s("md", "px"),
1045
1048
  s("sm", "py"),
1046
- S("body")
1049
+ w("body")
1047
1050
  )
1048
1051
  },
1049
1052
  selected: {
@@ -1087,7 +1090,7 @@ const oe = z(
1087
1090
  disabled: !1
1088
1091
  }
1089
1092
  }
1090
- ), qe = L(function(a, r) {
1093
+ ), Xe = F(function(a, r) {
1091
1094
  const {
1092
1095
  children: t,
1093
1096
  variant: i = "default",
@@ -1095,11 +1098,11 @@ const oe = z(
1095
1098
  selected: c = !1,
1096
1099
  disabled: d = !1,
1097
1100
  className: u = "",
1098
- "aria-label": b,
1099
- tabIndex: p,
1101
+ "aria-label": g,
1102
+ tabIndex: m,
1100
1103
  asChild: x = !1
1101
- } = a, g = (() => {
1102
- if (b) return b;
1104
+ } = a, b = (() => {
1105
+ if (g) return g;
1103
1106
  if (typeof t == "string") return t;
1104
1107
  if (typeof t == "object" && t !== null && "props" in t) {
1105
1108
  const V = t.props;
@@ -1116,18 +1119,18 @@ const oe = z(
1116
1119
  oe({ variant: i, size: o, selected: c, disabled: d }),
1117
1120
  u
1118
1121
  ),
1119
- "aria-label": b,
1122
+ "aria-label": g,
1120
1123
  "aria-disabled": d || void 0,
1121
- tabIndex: p,
1124
+ tabIndex: m,
1122
1125
  children: t
1123
1126
  }
1124
1127
  );
1125
- const { onRemove: w, onClick: N, count: T } = a, k = N !== void 0, F = k && !d, R = (V) => {
1126
- d || (V.key === "Enter" || V.key === " ") && (V.preventDefault(), N == null || N());
1127
- }, B = T !== void 0, P = c || i === "filled", I = B ? /* @__PURE__ */ l(
1128
+ const { onRemove: N, onClick: S, count: T } = a, C = S !== void 0, L = C && !d, R = (V) => {
1129
+ d || (V.key === "Enter" || V.key === " ") && (V.preventDefault(), S == null || S());
1130
+ }, O = T !== void 0, H = c || i === "filled", P = O ? /* @__PURE__ */ l(
1128
1131
  "span",
1129
1132
  {
1130
- "aria-hidden": k || void 0,
1133
+ "aria-hidden": C || void 0,
1131
1134
  className: n(
1132
1135
  "inline-flex",
1133
1136
  "items-center",
@@ -1137,34 +1140,34 @@ const oe = z(
1137
1140
  $("full"),
1138
1141
  s("xs", "px"),
1139
1142
  s("0.5", "py"),
1140
- S("caption"),
1141
- _("label"),
1142
- P ? n("bg-surface-base", "text-fg-brand-emphasis") : n("bg-surface-brand-strong", "text-fg-inverse")
1143
+ w("caption"),
1144
+ B("label"),
1145
+ H ? n("bg-surface-base", "text-fg-brand-emphasis") : n("bg-surface-brand-strong", "text-fg-inverse")
1143
1146
  ),
1144
1147
  children: T
1145
1148
  }
1146
- ) : null, U = B && g !== void 0 ? `${g}, ${T}` : g;
1149
+ ) : null, U = O && b !== void 0 ? `${b}, ${T}` : b;
1147
1150
  return /* @__PURE__ */ v(
1148
1151
  "div",
1149
1152
  {
1150
1153
  ref: r,
1151
1154
  className: n(
1152
1155
  oe({ variant: i, size: o, selected: c, disabled: d }),
1153
- w && s("xs", "pr"),
1156
+ N && s("xs", "pr"),
1154
1157
  u
1155
1158
  ),
1156
1159
  "aria-disabled": d,
1157
1160
  children: [
1158
- k ? /* @__PURE__ */ l(
1161
+ C ? /* @__PURE__ */ l(
1159
1162
  "button",
1160
1163
  {
1161
1164
  type: "button",
1162
- onClick: d ? void 0 : N,
1165
+ onClick: d ? void 0 : S,
1163
1166
  onKeyDown: R,
1164
1167
  disabled: d,
1165
1168
  "aria-pressed": c ? !0 : void 0,
1166
- "aria-label": b || U,
1167
- tabIndex: p !== void 0 ? p : F ? 0 : void 0,
1169
+ "aria-label": g || U,
1170
+ tabIndex: m !== void 0 ? m : L ? 0 : void 0,
1168
1171
  className: n(
1169
1172
  "flex-1",
1170
1173
  "bg-transparent",
@@ -1182,13 +1185,13 @@ const oe = z(
1182
1185
  children: t
1183
1186
  }
1184
1187
  ) : /* @__PURE__ */ l("span", { children: t }),
1185
- I,
1186
- w && !d && /* @__PURE__ */ l(
1188
+ P,
1189
+ N && !d && /* @__PURE__ */ l(
1187
1190
  "button",
1188
1191
  {
1189
1192
  type: "button",
1190
1193
  onClick: (V) => {
1191
- V.stopPropagation(), w();
1194
+ V.stopPropagation(), N();
1192
1195
  },
1193
1196
  className: n(
1194
1197
  s("xs", "ml"),
@@ -1201,7 +1204,7 @@ const oe = z(
1201
1204
  "focus:ring-line-focus",
1202
1205
  "focus:ring-offset-1"
1203
1206
  ),
1204
- "aria-label": `Remove ${g || "chip"}`,
1207
+ "aria-label": `Remove ${b || "chip"}`,
1205
1208
  children: /* @__PURE__ */ l(Se, { className: "h-3 w-3", "aria-hidden": "true" })
1206
1209
  }
1207
1210
  )
@@ -1209,8 +1212,8 @@ const oe = z(
1209
1212
  }
1210
1213
  );
1211
1214
  });
1212
- qe.displayName = "Chip";
1213
- const Xe = z(
1215
+ Xe.displayName = "Chip";
1216
+ const Ge = z(
1214
1217
  n("inline-flex", "items-center", "border", $("md")),
1215
1218
  {
1216
1219
  variants: {
@@ -1255,16 +1258,16 @@ const Xe = z(
1255
1258
  },
1256
1259
  defaultVariants: { tone: "neutral", size: "md" }
1257
1260
  }
1258
- ), Ge = M(
1259
- L(function(b, u) {
1260
- var p = b, {
1261
+ ), Ye = W(
1262
+ F(function(g, u) {
1263
+ var m = g, {
1261
1264
  label: a,
1262
1265
  source: r,
1263
1266
  tone: t = "neutral",
1264
1267
  size: i = "md",
1265
1268
  icon: o,
1266
1269
  className: c = ""
1267
- } = p, d = h(p, [
1270
+ } = m, d = h(m, [
1268
1271
  "label",
1269
1272
  "source",
1270
1273
  "tone",
@@ -1275,9 +1278,9 @@ const Xe = z(
1275
1278
  const x = r != null && r !== "", f = i === "sm" ? "caption" : "bodySmall";
1276
1279
  return /* @__PURE__ */ v(
1277
1280
  "span",
1278
- y(m({
1281
+ y(p({
1279
1282
  ref: u,
1280
- className: n(Xe({ tone: t, size: i }), c)
1283
+ className: n(Ge({ tone: t, size: i }), c)
1281
1284
  }, d), {
1282
1285
  children: [
1283
1286
  o ? /* @__PURE__ */ l(
@@ -1292,20 +1295,20 @@ const Xe = z(
1292
1295
  "span",
1293
1296
  {
1294
1297
  className: n(
1295
- S(f),
1296
- _("label")
1298
+ w(f),
1299
+ B("label")
1297
1300
  ),
1298
1301
  children: a
1299
1302
  }
1300
1303
  ),
1301
1304
  x ? /* @__PURE__ */ v(J, { children: [
1302
- /* @__PURE__ */ l("span", { "aria-hidden": "true", className: S("caption"), children: "·" }),
1305
+ /* @__PURE__ */ l("span", { "aria-hidden": "true", className: w("caption"), children: "·" }),
1303
1306
  /* @__PURE__ */ l(
1304
1307
  "span",
1305
1308
  {
1306
1309
  className: n(
1307
- S("caption"),
1308
- _("caption")
1310
+ w("caption"),
1311
+ B("caption")
1309
1312
  ),
1310
1313
  children: r
1311
1314
  }
@@ -1316,8 +1319,8 @@ const Xe = z(
1316
1319
  );
1317
1320
  })
1318
1321
  );
1319
- Ge.displayName = "DataBadge";
1320
- function Oa(i) {
1322
+ Ye.displayName = "DataBadge";
1323
+ function Wa(i) {
1321
1324
  var o = i, {
1322
1325
  message: e,
1323
1326
  id: a,
@@ -1329,18 +1332,18 @@ function Oa(i) {
1329
1332
  ]);
1330
1333
  const c = [
1331
1334
  s("xs", "mt"),
1332
- S("bodySmall"),
1335
+ w("bodySmall"),
1333
1336
  "text-fg-error",
1334
1337
  "flex",
1335
1338
  "items-center",
1336
1339
  s("xs", "gap")
1337
1340
  ], d = n(...c, r);
1338
- return /* @__PURE__ */ v("div", y(m({ role: "alert", id: a, className: d, "aria-live": "polite" }, t), { children: [
1341
+ return /* @__PURE__ */ v("div", y(p({ role: "alert", id: a, className: d, "aria-live": "polite" }, t), { children: [
1339
1342
  /* @__PURE__ */ l($e, { className: "h-4 w-4 shrink-0", "aria-hidden": "true" }),
1340
1343
  /* @__PURE__ */ l("span", { children: e })
1341
1344
  ] }));
1342
1345
  }
1343
- function Ma(t) {
1346
+ function Ha(t) {
1344
1347
  var i = t, {
1345
1348
  variant: e = "info",
1346
1349
  className: a
@@ -1355,7 +1358,7 @@ function Ma(t) {
1355
1358
  };
1356
1359
  return /* @__PURE__ */ l(
1357
1360
  "div",
1358
- m({
1361
+ p({
1359
1362
  role: "alert",
1360
1363
  className: n(
1361
1364
  "border",
@@ -1368,7 +1371,7 @@ function Ma(t) {
1368
1371
  }, r)
1369
1372
  );
1370
1373
  }
1371
- const Ye = z(
1374
+ const Ze = z(
1372
1375
  n(
1373
1376
  "w-full",
1374
1377
  $("md"),
@@ -1404,17 +1407,17 @@ const Ye = z(
1404
1407
  size: {
1405
1408
  sm: n(
1406
1409
  "h-8",
1407
- S("bodySmall"),
1410
+ w("bodySmall"),
1408
1411
  s("md", "px")
1409
1412
  ),
1410
1413
  md: n(
1411
1414
  "h-10",
1412
- S("body"),
1415
+ w("body"),
1413
1416
  s("base", "px")
1414
1417
  ),
1415
1418
  lg: n(
1416
1419
  "h-12",
1417
- S("bodyLarge"),
1420
+ w("bodyLarge"),
1418
1421
  s("lg", "px")
1419
1422
  )
1420
1423
  },
@@ -1435,7 +1438,7 @@ const Ye = z(
1435
1438
  }
1436
1439
  }
1437
1440
  );
1438
- function Ze({
1441
+ function Je({
1439
1442
  error: e,
1440
1443
  success: a,
1441
1444
  helperText: r,
@@ -1459,9 +1462,9 @@ function Ze({
1459
1462
  }
1460
1463
  );
1461
1464
  }
1462
- const Je = L(
1463
- function(T, N) {
1464
- var k = T, {
1465
+ const Qe = F(
1466
+ function(T, S) {
1467
+ var C = T, {
1465
1468
  id: a,
1466
1469
  label: r,
1467
1470
  error: t = !1,
@@ -1470,12 +1473,12 @@ const Je = L(
1470
1473
  size: c = "md",
1471
1474
  variant: d = "outlined",
1472
1475
  leftIcon: u,
1473
- rightIcon: b,
1474
- rightSlot: p,
1476
+ rightIcon: g,
1477
+ rightSlot: m,
1475
1478
  className: x = "",
1476
1479
  disabled: f = !1,
1477
- type: g = "text"
1478
- } = k, w = h(k, [
1480
+ type: b = "text"
1481
+ } = C, N = h(C, [
1479
1482
  "id",
1480
1483
  "label",
1481
1484
  "error",
@@ -1493,13 +1496,13 @@ const Je = L(
1493
1496
  typeof process != "undefined" && process.env.NODE_ENV !== "production" && r && !a && console.warn(
1494
1497
  "[InputBase] `label` was provided without an `id`. The <label> cannot bind to the input (InputBase does not auto-generate an id — that needs a client hook). Pass an `id`, or use the interactive `Input` which auto-generates one."
1495
1498
  );
1496
- const F = t ? "error" : i ? "success" : "default", R = t && a ? `${a}-error` : void 0, B = o && a ? `${a}-helper` : void 0, P = c === "sm" ? "h-4 w-4" : c === "lg" ? "h-5 w-5" : "h-4 w-4", I = c === "sm" ? "top-2" : c === "lg" ? "top-3.5" : "top-2.5", U = n(
1497
- Ye({ variant: d, size: c, state: F }),
1499
+ const L = t ? "error" : i ? "success" : "default", R = t && a ? `${a}-error` : void 0, O = o && a ? `${a}-helper` : void 0, H = c === "sm" ? "h-4 w-4" : c === "lg" ? "h-5 w-5" : "h-4 w-4", P = c === "sm" ? "top-2" : c === "lg" ? "top-3.5" : "top-2.5", U = n(
1500
+ Ze({ variant: d, size: c, state: L }),
1498
1501
  // Icon padding — `pl-9` / `pr-9` aren't on the spacing scale (no
1499
1502
  // semantic key for 36px) so they stay raw at the `sm` size; md/lg use
1500
1503
  // the getter. Mirrors the original Input contract.
1501
1504
  u && (c === "sm" ? "pl-9" : s(c === "lg" ? "3xl" : "2xl", "pl")),
1502
- (b || p) && (c === "sm" ? "pr-9" : s(c === "lg" ? "3xl" : "2xl", "pr")),
1505
+ (g || m) && (c === "sm" ? "pr-9" : s(c === "lg" ? "3xl" : "2xl", "pr")),
1503
1506
  x
1504
1507
  ), V = n(
1505
1508
  "block",
@@ -1513,58 +1516,58 @@ const Je = L(
1513
1516
  u && /* @__PURE__ */ l(
1514
1517
  "div",
1515
1518
  {
1516
- className: `absolute left-3 ${I} text-fg-secondary opacity-60 pointer-events-none`,
1517
- children: /* @__PURE__ */ l("div", { className: P, children: u })
1519
+ className: `absolute left-3 ${P} text-fg-secondary opacity-60 pointer-events-none`,
1520
+ children: /* @__PURE__ */ l("div", { className: H, children: u })
1518
1521
  }
1519
1522
  ),
1520
1523
  /* @__PURE__ */ l(
1521
1524
  "input",
1522
- m({
1525
+ p({
1523
1526
  id: a,
1524
- ref: N,
1525
- type: g,
1527
+ ref: S,
1528
+ type: b,
1526
1529
  className: U,
1527
1530
  disabled: f,
1528
1531
  "aria-invalid": t,
1529
- "aria-required": w.required,
1530
- "aria-describedby": R || B,
1532
+ "aria-required": N.required,
1533
+ "aria-describedby": R || O,
1531
1534
  suppressHydrationWarning: !0
1532
- }, w)
1535
+ }, N)
1533
1536
  ),
1534
- (b || p) && /* @__PURE__ */ l(
1537
+ (g || m) && /* @__PURE__ */ l(
1535
1538
  "div",
1536
1539
  {
1537
1540
  className: `absolute right-3 top-0 bottom-0 flex items-center ${s("xs", "gap")}`,
1538
- children: p != null ? p : /* @__PURE__ */ l(
1541
+ children: m != null ? m : /* @__PURE__ */ l(
1539
1542
  "div",
1540
1543
  {
1541
- className: `text-fg-secondary opacity-60 pointer-events-none ${P}`,
1542
- children: b
1544
+ className: `text-fg-secondary opacity-60 pointer-events-none ${H}`,
1545
+ children: g
1543
1546
  }
1544
1547
  )
1545
1548
  }
1546
1549
  )
1547
1550
  ] }),
1548
1551
  (t || i || o) && /* @__PURE__ */ l(
1549
- Ze,
1552
+ Je,
1550
1553
  {
1551
1554
  error: t,
1552
1555
  success: i,
1553
1556
  helperText: o,
1554
1557
  errorId: R,
1555
- helperId: B
1558
+ helperId: O
1556
1559
  }
1557
1560
  )
1558
1561
  ] });
1559
1562
  }
1560
1563
  );
1561
- Je.displayName = "InputBase";
1562
- const Qe = n(
1564
+ Qe.displayName = "InputBase";
1565
+ const ea = n(
1563
1566
  "block",
1564
- S("label"),
1565
- _("label"),
1567
+ w("label"),
1568
+ B("label"),
1566
1569
  "text-fg-primary"
1567
- ), ea = {
1570
+ ), aa = {
1568
1571
  default: "",
1569
1572
  required: n(
1570
1573
  "after:content-['*']",
@@ -1577,19 +1580,19 @@ const Qe = n(
1577
1580
  "after:text-fg-tertiary",
1578
1581
  "after:font-normal"
1579
1582
  )
1580
- }, aa = M(
1581
- L(function(c, o) {
1583
+ }, ta = W(
1584
+ F(function(c, o) {
1582
1585
  var d = c, { variant: a = "default", className: r = "", children: t } = d, i = h(d, ["variant", "className", "children"]);
1583
1586
  const u = n(
1584
- Qe,
1585
- ea[a],
1587
+ ea,
1588
+ aa[a],
1586
1589
  r
1587
1590
  );
1588
- return /* @__PURE__ */ l("label", y(m({ ref: o, className: u }, i), { children: t }));
1591
+ return /* @__PURE__ */ l("label", y(p({ ref: o, className: u }, i), { children: t }));
1589
1592
  })
1590
1593
  );
1591
- aa.displayName = "Label";
1592
- class O {
1594
+ ta.displayName = "Label";
1595
+ class M {
1593
1596
  /**
1594
1597
  * Create a shadow token
1595
1598
  */
@@ -1633,19 +1636,19 @@ class O {
1633
1636
  }[a];
1634
1637
  }
1635
1638
  }
1636
- const ta = {
1637
- none: O.create("none"),
1638
- sm: O.create("sm"),
1639
- md: O.create("md"),
1640
- lg: O.create("lg"),
1641
- xl: O.create("xl"),
1642
- "2xl": O.create("2xl"),
1643
- inner: O.create("inner")
1639
+ const ra = {
1640
+ none: M.create("none"),
1641
+ sm: M.create("sm"),
1642
+ md: M.create("md"),
1643
+ lg: M.create("lg"),
1644
+ xl: M.create("xl"),
1645
+ "2xl": M.create("2xl"),
1646
+ inner: M.create("inner")
1644
1647
  };
1645
1648
  function Z(e) {
1646
- return ta[e].tailwind;
1649
+ return ra[e].tailwind;
1647
1650
  }
1648
- const ra = z("w-full", {
1651
+ const na = z("w-full", {
1649
1652
  variants: {
1650
1653
  size: {
1651
1654
  sm: "h-1",
@@ -1679,7 +1682,7 @@ const ra = z("w-full", {
1679
1682
  defaultVariants: {
1680
1683
  variant: "primary"
1681
1684
  }
1682
- }), na = L(function(x, p) {
1685
+ }), sa = F(function(x, m) {
1683
1686
  var f = x, {
1684
1687
  value: a,
1685
1688
  max: r = 100,
@@ -1689,7 +1692,7 @@ const ra = z("w-full", {
1689
1692
  label: c,
1690
1693
  "aria-label": d,
1691
1694
  className: u = ""
1692
- } = f, b = h(f, [
1695
+ } = f, g = h(f, [
1693
1696
  "value",
1694
1697
  "max",
1695
1698
  "variant",
@@ -1699,9 +1702,9 @@ const ra = z("w-full", {
1699
1702
  "aria-label",
1700
1703
  "className"
1701
1704
  ]);
1702
- const g = a === void 0, w = g ? void 0 : Math.min(Math.max(a / r * 100, 0), 100), N = d || (g ? "Loading in progress" : `Progress: ${w == null ? void 0 : w.toFixed(0)}%`);
1703
- return /* @__PURE__ */ v("div", y(m({ ref: p, className: n("w-full", u) }, b), { children: [
1704
- o && (c || !g) && /* @__PURE__ */ v(
1705
+ const b = a === void 0, N = b ? void 0 : Math.min(Math.max(a / r * 100, 0), 100), S = d || (b ? "Loading in progress" : `Progress: ${N == null ? void 0 : N.toFixed(0)}%`);
1706
+ return /* @__PURE__ */ v("div", y(p({ ref: m, className: n("w-full", u) }, g), { children: [
1707
+ o && (c || !b) && /* @__PURE__ */ v(
1705
1708
  "div",
1706
1709
  {
1707
1710
  className: n(
@@ -1715,22 +1718,22 @@ const ra = z("w-full", {
1715
1718
  "span",
1716
1719
  {
1717
1720
  className: n(
1718
- S("bodySmall"),
1719
- _("label"),
1721
+ w("bodySmall"),
1722
+ B("label"),
1720
1723
  "text-fg-primary"
1721
1724
  ),
1722
1725
  children: c
1723
1726
  }
1724
1727
  ),
1725
- !g && w !== void 0 && /* @__PURE__ */ v(
1728
+ !b && N !== void 0 && /* @__PURE__ */ v(
1726
1729
  "span",
1727
1730
  {
1728
1731
  className: n(
1729
- S("bodySmall"),
1732
+ w("bodySmall"),
1730
1733
  "text-fg-secondary"
1731
1734
  ),
1732
1735
  children: [
1733
- w.toFixed(0),
1736
+ N.toFixed(0),
1734
1737
  "%"
1735
1738
  ]
1736
1739
  }
@@ -1742,19 +1745,19 @@ const ra = z("w-full", {
1742
1745
  "div",
1743
1746
  {
1744
1747
  role: "progressbar",
1745
- "aria-valuemin": g ? void 0 : 0,
1746
- "aria-valuemax": g ? void 0 : r,
1747
- "aria-valuenow": g ? void 0 : a,
1748
- "aria-label": N,
1749
- "aria-busy": g,
1748
+ "aria-valuemin": b ? void 0 : 0,
1749
+ "aria-valuemax": b ? void 0 : r,
1750
+ "aria-valuenow": b ? void 0 : a,
1751
+ "aria-label": S,
1752
+ "aria-busy": b,
1750
1753
  className: n(
1751
1754
  "relative",
1752
1755
  "w-full",
1753
1756
  "overflow-hidden",
1754
- ra({ size: i, variant: t }),
1757
+ na({ size: i, variant: t }),
1755
1758
  $("full")
1756
1759
  ),
1757
- children: g ? /* @__PURE__ */ l(
1760
+ children: b ? /* @__PURE__ */ l(
1758
1761
  "div",
1759
1762
  {
1760
1763
  className: n(
@@ -1783,7 +1786,7 @@ const ra = z("w-full", {
1783
1786
  "ease-out"
1784
1787
  ),
1785
1788
  style: {
1786
- width: `${w}%`
1789
+ width: `${N}%`
1787
1790
  },
1788
1791
  "aria-hidden": "true"
1789
1792
  }
@@ -1792,15 +1795,15 @@ const ra = z("w-full", {
1792
1795
  )
1793
1796
  ] }));
1794
1797
  });
1795
- na.displayName = "Progress";
1796
- const sa = {
1798
+ sa.displayName = "Progress";
1799
+ const ia = {
1797
1800
  horizontal: "w-full border-t",
1798
1801
  vertical: "h-full border-l self-stretch"
1799
- }, ia = {
1802
+ }, la = {
1800
1803
  solid: "border-solid",
1801
1804
  dashed: "border-dashed",
1802
1805
  dotted: "border-dotted"
1803
- }, la = M(function(o) {
1806
+ }, oa = W(function(o) {
1804
1807
  var c = o, {
1805
1808
  orientation: a = "horizontal",
1806
1809
  variant: r = "solid",
@@ -1813,28 +1816,28 @@ const sa = {
1813
1816
  const d = n(
1814
1817
  "border-0",
1815
1818
  "border-line-default",
1816
- sa[a],
1817
- ia[r],
1819
+ ia[a],
1820
+ la[r],
1818
1821
  t
1819
1822
  );
1820
1823
  return a === "vertical" ? /* @__PURE__ */ l(
1821
1824
  "div",
1822
- m({
1825
+ p({
1823
1826
  className: d,
1824
1827
  role: "separator",
1825
1828
  "aria-orientation": "vertical"
1826
1829
  }, i)
1827
1830
  ) : /* @__PURE__ */ l(
1828
1831
  "hr",
1829
- m({
1832
+ p({
1830
1833
  className: d,
1831
1834
  role: "separator",
1832
1835
  "aria-orientation": "horizontal"
1833
1836
  }, i)
1834
1837
  );
1835
1838
  });
1836
- la.displayName = "Separator";
1837
- function Ha(d) {
1839
+ oa.displayName = "Separator";
1840
+ function Pa(d) {
1838
1841
  var u = d, {
1839
1842
  variant: e = "text",
1840
1843
  width: a,
@@ -1850,48 +1853,48 @@ function Ha(d) {
1850
1853
  "className",
1851
1854
  "aria-label"
1852
1855
  ]);
1853
- const b = [
1856
+ const g = [
1854
1857
  "motion-safe:animate-pulse",
1855
1858
  "bg-surface-muted",
1856
1859
  $("sm")
1857
- ], p = {
1860
+ ], m = {
1858
1861
  text: "h-4",
1859
1862
  card: "h-32",
1860
1863
  list: "h-12",
1861
1864
  circle: $("full")
1862
- }, x = n(...b, p[e], i), f = {};
1865
+ }, x = n(...g, m[e], i), f = {};
1863
1866
  a && (f.width = a), r && (f.height = r);
1864
- const g = o || `Loading ${e} content`;
1867
+ const b = o || `Loading ${e} content`;
1865
1868
  return e === "text" && t > 1 ? /* @__PURE__ */ l(
1866
1869
  "div",
1867
- y(m({
1870
+ y(p({
1868
1871
  className: s("sm", "space-y"),
1869
1872
  role: "status",
1870
1873
  "aria-busy": "true",
1871
- "aria-label": g
1874
+ "aria-label": b
1872
1875
  }, c), {
1873
- children: Array.from({ length: t }).map((w, N) => /* @__PURE__ */ l(
1876
+ children: Array.from({ length: t }).map((N, S) => /* @__PURE__ */ l(
1874
1877
  "div",
1875
1878
  {
1876
1879
  className: x,
1877
- style: N === t - 1 ? { width: "75%" } : f,
1880
+ style: S === t - 1 ? { width: "75%" } : f,
1878
1881
  "aria-hidden": "true"
1879
1882
  },
1880
- N
1883
+ S
1881
1884
  ))
1882
1885
  })
1883
1886
  ) : /* @__PURE__ */ l(
1884
1887
  "div",
1885
- m({
1888
+ p({
1886
1889
  className: x,
1887
1890
  style: f,
1888
1891
  role: "status",
1889
1892
  "aria-busy": "true",
1890
- "aria-label": g
1893
+ "aria-label": b
1891
1894
  }, c)
1892
1895
  );
1893
1896
  }
1894
- const oa = {
1897
+ const ca = {
1895
1898
  primary: {
1896
1899
  // exception: variant color — no semantic equivalent (Principle 3, .claude/rules/colors.md)
1897
1900
  light: "text-indigo-400",
@@ -1943,8 +1946,8 @@ const oa = {
1943
1946
  contrast: "text-fg-inverse"
1944
1947
  }
1945
1948
  };
1946
- function ca(b, u) {
1947
- var p = b, {
1949
+ function da(g, u) {
1950
+ var m = g, {
1948
1951
  variant: e = "paragraph",
1949
1952
  bold: a,
1950
1953
  italic: r,
@@ -1952,7 +1955,7 @@ function ca(b, u) {
1952
1955
  as: i,
1953
1956
  colorRole: o = "neutral",
1954
1957
  colorShade: c = "dark"
1955
- } = p, d = h(p, [
1958
+ } = m, d = h(m, [
1956
1959
  "variant",
1957
1960
  "bold",
1958
1961
  "italic",
@@ -1977,25 +1980,25 @@ function ca(b, u) {
1977
1980
  f = "p";
1978
1981
  break;
1979
1982
  }
1980
- return e === "heading" ? x.push(D("h2")) : e === "body" || e === "paragraph" ? x.push(D("body")) : e === "bodySmall" ? x.push(D("bodySmall")) : e === "bodyLarge" ? x.push(D("bodyLarge")) : e === "caption" ? x.push(D("caption")) : e === "label" ? x.push(D("label")) : x.push(D("body")), a && x.push("font-bold"), r && x.push("italic"), x.push(oa[o][c]), /* @__PURE__ */ l(f, m({ ref: u, className: n(...x, t) }, d));
1983
+ return e === "heading" ? x.push(D("h2")) : e === "body" || e === "paragraph" ? x.push(D("body")) : e === "bodySmall" ? x.push(D("bodySmall")) : e === "bodyLarge" ? x.push(D("bodyLarge")) : e === "caption" ? x.push(D("caption")) : e === "label" ? x.push(D("label")) : x.push(D("body")), a && x.push("font-bold"), r && x.push("italic"), x.push(ca[o][c]), /* @__PURE__ */ l(f, p({ ref: u, className: n(...x, t) }, d));
1981
1984
  }
1982
- const H = L(ca), da = {
1985
+ const _ = F(da), ua = {
1983
1986
  sm: "max-w-screen-sm",
1984
1987
  md: "max-w-screen-md",
1985
1988
  lg: "max-w-screen-lg",
1986
1989
  xl: "max-w-screen-xl",
1987
1990
  "2xl": "max-w-screen-2xl",
1988
1991
  full: "max-w-full"
1989
- }, ua = de.forwardRef(
1992
+ }, fa = de.forwardRef(
1990
1993
  (u, d) => {
1991
- var b = u, {
1994
+ var g = u, {
1992
1995
  className: e,
1993
1996
  maxWidth: a = "lg",
1994
1997
  paddingX: r = "base",
1995
1998
  paddingY: t = "base",
1996
1999
  center: i = !0,
1997
2000
  children: o
1998
- } = b, c = h(b, [
2001
+ } = g, c = h(g, [
1999
2002
  "className",
2000
2003
  "maxWidth",
2001
2004
  "paddingX",
@@ -2005,11 +2008,11 @@ const H = L(ca), da = {
2005
2008
  ]);
2006
2009
  return /* @__PURE__ */ l(
2007
2010
  "div",
2008
- y(m({
2011
+ y(p({
2009
2012
  ref: d,
2010
2013
  className: n(
2011
2014
  "w-full",
2012
- da[a],
2015
+ ua[a],
2013
2016
  s(r, "px"),
2014
2017
  s(t, "py"),
2015
2018
  i && "mx-auto",
@@ -2021,17 +2024,17 @@ const H = L(ca), da = {
2021
2024
  );
2022
2025
  }
2023
2026
  );
2024
- ua.displayName = "Container";
2025
- const fa = de.forwardRef(
2027
+ fa.displayName = "Container";
2028
+ const pa = de.forwardRef(
2026
2029
  (u, d) => {
2027
- var b = u, {
2030
+ var g = u, {
2028
2031
  className: e,
2029
2032
  spacing: a = "base",
2030
2033
  align: r = "stretch",
2031
2034
  justify: t = "start",
2032
2035
  direction: i = "column",
2033
2036
  children: o
2034
- } = b, c = h(b, [
2037
+ } = g, c = h(g, [
2035
2038
  "className",
2036
2039
  "spacing",
2037
2040
  "align",
@@ -2039,7 +2042,7 @@ const fa = de.forwardRef(
2039
2042
  "direction",
2040
2043
  "children"
2041
2044
  ]);
2042
- const p = i === "column" ? s(a, "gap-y") : s(a, "gap-x"), x = {
2045
+ const m = i === "column" ? s(a, "gap-y") : s(a, "gap-x"), x = {
2043
2046
  start: "items-start",
2044
2047
  center: "items-center",
2045
2048
  end: "items-end",
@@ -2054,12 +2057,12 @@ const fa = de.forwardRef(
2054
2057
  };
2055
2058
  return /* @__PURE__ */ l(
2056
2059
  "div",
2057
- y(m({
2060
+ y(p({
2058
2061
  ref: d,
2059
2062
  className: n(
2060
2063
  "flex",
2061
2064
  i === "column" ? "flex-col" : "flex-row",
2062
- p,
2065
+ m,
2063
2066
  x[r],
2064
2067
  f[t],
2065
2068
  e
@@ -2070,8 +2073,8 @@ const fa = de.forwardRef(
2070
2073
  );
2071
2074
  }
2072
2075
  );
2073
- fa.displayName = "Stack";
2074
- function pa(i) {
2076
+ pa.displayName = "Stack";
2077
+ function ma(i) {
2075
2078
  var o = i, {
2076
2079
  items: e,
2077
2080
  separator: a = "/",
@@ -2085,16 +2088,16 @@ function pa(i) {
2085
2088
  "flex",
2086
2089
  "items-center",
2087
2090
  s("sm", "space-x"),
2088
- S("bodySmall")
2091
+ w("bodySmall")
2089
2092
  ], d = n(...c, r);
2090
- return /* @__PURE__ */ l("nav", y(m({ "aria-label": "Breadcrumb", className: d }, t), { children: /* @__PURE__ */ l(
2093
+ return /* @__PURE__ */ l("nav", y(p({ "aria-label": "Breadcrumb", className: d }, t), { children: /* @__PURE__ */ l(
2091
2094
  "ol",
2092
2095
  {
2093
2096
  className: n("flex", "items-center", s("sm", "space-x")),
2094
- children: e.map((u, b) => {
2095
- const p = b === e.length - 1;
2097
+ children: e.map((u, g) => {
2098
+ const m = g === e.length - 1;
2096
2099
  return /* @__PURE__ */ v("li", { className: "flex items-center", children: [
2097
- b > 0 && /* @__PURE__ */ l(
2100
+ g > 0 && /* @__PURE__ */ l(
2098
2101
  "span",
2099
2102
  {
2100
2103
  className: n(
@@ -2105,12 +2108,12 @@ function pa(i) {
2105
2108
  children: a
2106
2109
  }
2107
2110
  ),
2108
- p ? /* @__PURE__ */ l(
2111
+ m ? /* @__PURE__ */ l(
2109
2112
  "span",
2110
2113
  {
2111
2114
  className: n(
2112
2115
  "text-fg-primary",
2113
- _("label")
2116
+ B("label")
2114
2117
  ),
2115
2118
  "aria-current": "page",
2116
2119
  children: u.label
@@ -2126,8 +2129,8 @@ function pa(i) {
2126
2129
  s("xs", "pt"),
2127
2130
  "border-b-2",
2128
2131
  "border-transparent",
2129
- S("bodySmall"),
2130
- _("label"),
2132
+ w("bodySmall"),
2133
+ B("label"),
2131
2134
  "transition-colors",
2132
2135
  "text-fg-secondary",
2133
2136
  "hover:border-line-emphasis",
@@ -2136,16 +2139,72 @@ function pa(i) {
2136
2139
  children: u.label
2137
2140
  }
2138
2141
  ) : /* @__PURE__ */ l("span", { className: "text-fg-secondary", children: u.label })
2139
- ] }, b);
2142
+ ] }, g);
2140
2143
  })
2141
2144
  }
2142
2145
  ) }));
2143
2146
  }
2144
- function ma(t) {
2147
+ const ga = F(
2148
+ function(u, d) {
2149
+ var g = u, { title: a, message: r, illustration: t, action: i, className: o = "" } = g, c = h(g, ["title", "message", "illustration", "action", "className"]);
2150
+ return /* @__PURE__ */ v(
2151
+ "div",
2152
+ y(p({
2153
+ ref: d,
2154
+ className: n(
2155
+ "flex",
2156
+ "flex-col",
2157
+ "items-center",
2158
+ "justify-center",
2159
+ "text-center",
2160
+ s("xl", "py"),
2161
+ s("base", "px"),
2162
+ o
2163
+ ),
2164
+ role: "status",
2165
+ "aria-live": "polite",
2166
+ "aria-label": r ? `${a}. ${r}` : a
2167
+ }, c), {
2168
+ children: [
2169
+ t && /* @__PURE__ */ l("div", { className: n(s("base", "mb")), "aria-hidden": "true", children: t }),
2170
+ /* @__PURE__ */ l(
2171
+ _,
2172
+ {
2173
+ as: "h3",
2174
+ className: n(
2175
+ w("h4"),
2176
+ Ve("semibold"),
2177
+ "text-fg-primary",
2178
+ s("sm", "mb")
2179
+ ),
2180
+ children: a
2181
+ }
2182
+ ),
2183
+ r && /* @__PURE__ */ l(
2184
+ _,
2185
+ {
2186
+ as: "p",
2187
+ className: n(
2188
+ w("bodySmall"),
2189
+ "text-fg-secondary",
2190
+ s("md", "mb"),
2191
+ "max-w-sm"
2192
+ ),
2193
+ children: r
2194
+ }
2195
+ ),
2196
+ i
2197
+ ]
2198
+ })
2199
+ );
2200
+ }
2201
+ );
2202
+ ga.displayName = "EmptyStateBase";
2203
+ function ba(t) {
2145
2204
  var i = t, { children: e, className: a } = i, r = h(i, ["children", "className"]);
2146
2205
  return /* @__PURE__ */ l(
2147
2206
  "div",
2148
- y(m({
2207
+ y(p({
2149
2208
  className: n(
2150
2209
  "grid items-start",
2151
2210
  s("1.5", "gap"),
@@ -2159,7 +2218,7 @@ function ma(t) {
2159
2218
  })
2160
2219
  );
2161
2220
  }
2162
- function ga(c) {
2221
+ function xa(c) {
2163
2222
  var d = c, {
2164
2223
  children: e,
2165
2224
  icon: a,
@@ -2175,7 +2234,7 @@ function ga(c) {
2175
2234
  ]);
2176
2235
  return /* @__PURE__ */ v(
2177
2236
  t,
2178
- y(m({
2237
+ y(p({
2179
2238
  className: n(
2180
2239
  "text-base font-semibold text-fg-primary",
2181
2240
  "flex items-center",
@@ -2191,7 +2250,7 @@ function ga(c) {
2191
2250
  })
2192
2251
  );
2193
2252
  }
2194
- function ba(t) {
2253
+ function ha(t) {
2195
2254
  var i = t, {
2196
2255
  children: e,
2197
2256
  className: a
@@ -2199,9 +2258,9 @@ function ba(t) {
2199
2258
  "children",
2200
2259
  "className"
2201
2260
  ]);
2202
- return /* @__PURE__ */ l("p", y(m({ className: n("text-sm text-fg-secondary", a) }, r), { children: e }));
2261
+ return /* @__PURE__ */ l("p", y(p({ className: n("text-sm text-fg-secondary", a) }, r), { children: e }));
2203
2262
  }
2204
- function xa(t) {
2263
+ function ya(t) {
2205
2264
  var i = t, {
2206
2265
  children: e,
2207
2266
  className: a
@@ -2211,7 +2270,7 @@ function xa(t) {
2211
2270
  ]);
2212
2271
  return /* @__PURE__ */ l(
2213
2272
  "div",
2214
- y(m({
2273
+ y(p({
2215
2274
  "data-card-actions": "",
2216
2275
  className: n(
2217
2276
  "flex items-center self-start",
@@ -2223,12 +2282,12 @@ function xa(t) {
2223
2282
  })
2224
2283
  );
2225
2284
  }
2226
- function ha(t) {
2285
+ function va(t) {
2227
2286
  var i = t, { children: e, className: a } = i, r = h(i, ["children", "className"]);
2228
- return /* @__PURE__ */ l("div", y(m({ className: n(a) }, r), { children: e }));
2287
+ return /* @__PURE__ */ l("div", y(p({ className: n(a) }, r), { children: e }));
2229
2288
  }
2230
- function ya(b) {
2231
- var p = b, {
2289
+ function wa(g) {
2290
+ var m = g, {
2232
2291
  variant: e = "default",
2233
2292
  padding: a = "medium",
2234
2293
  className: r = "",
@@ -2237,7 +2296,7 @@ function ya(b) {
2237
2296
  "aria-labelledby": o,
2238
2297
  asSection: c = !1,
2239
2298
  children: d
2240
- } = p, u = h(p, [
2299
+ } = m, u = h(m, [
2241
2300
  "variant",
2242
2301
  "padding",
2243
2302
  "className",
@@ -2281,28 +2340,28 @@ function ya(b) {
2281
2340
  padding: "medium"
2282
2341
  }
2283
2342
  }
2284
- ), f = t !== void 0, g = f ? "button" : void 0, w = f ? 0 : void 0, N = n(x({ variant: e, padding: a }), r), k = m({
2285
- className: N,
2286
- role: g,
2287
- tabIndex: w,
2343
+ ), f = t !== void 0, b = f ? "button" : void 0, N = f ? 0 : void 0, S = n(x({ variant: e, padding: a }), r), C = p({
2344
+ className: S,
2345
+ role: b,
2346
+ tabIndex: N,
2288
2347
  onClick: t,
2289
- onKeyDown: f ? (F) => {
2290
- f && (F.key === "Enter" || F.key === " ") && (F.preventDefault(), t == null || t());
2348
+ onKeyDown: f ? (L) => {
2349
+ f && (L.key === "Enter" || L.key === " ") && (L.preventDefault(), t == null || t());
2291
2350
  } : void 0,
2292
2351
  "aria-label": i,
2293
2352
  "aria-labelledby": o
2294
2353
  }, u);
2295
- return c ? /* @__PURE__ */ l("section", y(m({}, k), { children: d })) : /* @__PURE__ */ l("div", y(m({}, k), { children: d }));
2354
+ return c ? /* @__PURE__ */ l("section", y(p({}, C), { children: d })) : /* @__PURE__ */ l("div", y(p({}, C), { children: d }));
2296
2355
  }
2297
- const me = M(ya);
2356
+ const me = W(wa);
2298
2357
  me.displayName = "Card";
2299
- const W = me;
2300
- W.Header = ma;
2301
- W.Title = ga;
2302
- W.Subtitle = ba;
2303
- W.Actions = xa;
2304
- W.Body = ha;
2305
- function Pa(t) {
2358
+ const I = me;
2359
+ I.Header = ba;
2360
+ I.Title = xa;
2361
+ I.Subtitle = ha;
2362
+ I.Actions = ya;
2363
+ I.Body = va;
2364
+ function Ia(t) {
2306
2365
  var i = t, {
2307
2366
  children: e,
2308
2367
  className: a = ""
@@ -2312,14 +2371,14 @@ function Pa(t) {
2312
2371
  ]);
2313
2372
  return /* @__PURE__ */ l(
2314
2373
  "div",
2315
- y(m({
2374
+ y(p({
2316
2375
  className: `flex flex-col ${s("1.5", "space-y")} ${s("lg", "p")} ${s("base", "pb")} ${a}`
2317
2376
  }, r), {
2318
2377
  children: e
2319
2378
  })
2320
2379
  );
2321
2380
  }
2322
- function Ia(t) {
2381
+ function Ua(t) {
2323
2382
  var i = t, {
2324
2383
  children: e,
2325
2384
  className: a = ""
@@ -2329,14 +2388,14 @@ function Ia(t) {
2329
2388
  ]);
2330
2389
  return /* @__PURE__ */ l(
2331
2390
  "div",
2332
- y(m({
2391
+ y(p({
2333
2392
  className: `flex flex-col-reverse sm:flex-row sm:justify-end sm:${s("sm", "space-x")} ${s("lg", "p")} ${s("base", "pt")} ${a}`
2334
2393
  }, r), {
2335
2394
  children: e
2336
2395
  })
2337
2396
  );
2338
2397
  }
2339
- function Wa(t) {
2398
+ function Ka(t) {
2340
2399
  var i = t, {
2341
2400
  children: e,
2342
2401
  className: a = ""
@@ -2346,7 +2405,7 @@ function Wa(t) {
2346
2405
  ]);
2347
2406
  return /* @__PURE__ */ l(
2348
2407
  "div",
2349
- y(m({
2408
+ y(p({
2350
2409
  className: `
2351
2410
  ${s("lg", "p")}
2352
2411
  border-b
@@ -2358,7 +2417,7 @@ function Wa(t) {
2358
2417
  })
2359
2418
  );
2360
2419
  }
2361
- function Ua(t) {
2420
+ function qa(t) {
2362
2421
  var i = t, {
2363
2422
  children: e,
2364
2423
  className: a = ""
@@ -2368,7 +2427,7 @@ function Ua(t) {
2368
2427
  ]);
2369
2428
  return /* @__PURE__ */ l(
2370
2429
  "div",
2371
- y(m({
2430
+ y(p({
2372
2431
  className: `
2373
2432
  ${s("lg", "p")}
2374
2433
  border-t
@@ -2383,7 +2442,7 @@ function Ua(t) {
2383
2442
  })
2384
2443
  );
2385
2444
  }
2386
- function Ka(o) {
2445
+ function Xa(o) {
2387
2446
  var c = o, {
2388
2447
  label: e,
2389
2448
  children: a,
@@ -2398,7 +2457,7 @@ function Ka(o) {
2398
2457
  const u = !(i["aria-label"] != null || i["aria-labelledby"] != null) && typeof e == "string" && e !== "" ? e : void 0;
2399
2458
  return /* @__PURE__ */ v(
2400
2459
  "div",
2401
- y(m({
2460
+ y(p({
2402
2461
  role: "group",
2403
2462
  "aria-label": u,
2404
2463
  className: n(
@@ -2420,7 +2479,7 @@ function Ka(o) {
2420
2479
  })
2421
2480
  );
2422
2481
  }
2423
- function qa({ children: e, className: a }) {
2482
+ function Ga({ children: e, className: a }) {
2424
2483
  return /* @__PURE__ */ l(
2425
2484
  "div",
2426
2485
  {
@@ -2433,7 +2492,7 @@ function qa({ children: e, className: a }) {
2433
2492
  }
2434
2493
  );
2435
2494
  }
2436
- function Xa({
2495
+ function Ya({
2437
2496
  children: e,
2438
2497
  className: a
2439
2498
  }) {
@@ -2452,7 +2511,7 @@ function Xa({
2452
2511
  }
2453
2512
  );
2454
2513
  }
2455
- const va = z(
2514
+ const Na = z(
2456
2515
  n(
2457
2516
  "w-full flex flex-col",
2458
2517
  s("2xl", "py"),
@@ -2479,15 +2538,15 @@ const va = z(
2479
2538
  align: "start"
2480
2539
  }
2481
2540
  }
2482
- ), wa = {
2541
+ ), Sa = {
2483
2542
  start: "items-start",
2484
2543
  center: "items-center"
2485
- }, Na = {
2544
+ }, $a = {
2486
2545
  start: "justify-start",
2487
2546
  center: "justify-center"
2488
- }, Sa = L(
2489
- function(w, g) {
2490
- var N = w, {
2547
+ }, ka = F(
2548
+ function(N, b) {
2549
+ var S = N, {
2491
2550
  kicker: a,
2492
2551
  title: r,
2493
2552
  description: t,
@@ -2496,10 +2555,10 @@ const va = z(
2496
2555
  meta: c,
2497
2556
  variant: d = "plain",
2498
2557
  align: u = "start",
2499
- className: b,
2500
- "aria-label": p,
2558
+ className: g,
2559
+ "aria-label": m,
2501
2560
  "aria-labelledby": x
2502
- } = N, f = h(N, [
2561
+ } = S, f = h(S, [
2503
2562
  "kicker",
2504
2563
  "title",
2505
2564
  "description",
@@ -2512,15 +2571,15 @@ const va = z(
2512
2571
  "aria-label",
2513
2572
  "aria-labelledby"
2514
2573
  ]);
2515
- const T = p != null || x != null, k = p != null ? p : typeof r == "string" ? r : void 0;
2574
+ const T = m != null || x != null, C = m != null ? m : typeof r == "string" ? r : void 0;
2516
2575
  return typeof process != "undefined" && process.env.NODE_ENV !== "production" && !T && typeof r != "string" && console.warn(
2517
2576
  "[HeroSection] A non-string `title` was provided without `aria-label` or `aria-labelledby`. The hero <section> landmark will have no accessible name. Pass `aria-label`, or set `aria-labelledby` to your title's id."
2518
2577
  ), /* @__PURE__ */ v(
2519
2578
  "section",
2520
- y(m({
2521
- ref: g,
2522
- className: n(va({ variant: d, align: u }), b),
2523
- "aria-label": k,
2579
+ y(p({
2580
+ ref: b,
2581
+ className: n(Na({ variant: d, align: u }), g),
2582
+ "aria-label": C,
2524
2583
  "aria-labelledby": x
2525
2584
  }, f), {
2526
2585
  children: [
@@ -2530,11 +2589,11 @@ const va = z(
2530
2589
  className: n(
2531
2590
  "flex flex-col",
2532
2591
  s("md", "gap-y"),
2533
- wa[u]
2592
+ Sa[u]
2534
2593
  ),
2535
2594
  children: [
2536
2595
  a ? /* @__PURE__ */ l(
2537
- H,
2596
+ _,
2538
2597
  {
2539
2598
  as: "span",
2540
2599
  variant: "caption",
@@ -2545,7 +2604,7 @@ const va = z(
2545
2604
  }
2546
2605
  ) : null,
2547
2606
  /* @__PURE__ */ l(
2548
- H,
2607
+ _,
2549
2608
  {
2550
2609
  as: "h1",
2551
2610
  variant: "heading",
@@ -2554,7 +2613,7 @@ const va = z(
2554
2613
  }
2555
2614
  ),
2556
2615
  t ? /* @__PURE__ */ l(
2557
- H,
2616
+ _,
2558
2617
  {
2559
2618
  as: "p",
2560
2619
  variant: "body",
@@ -2573,14 +2632,14 @@ const va = z(
2573
2632
  className: n(
2574
2633
  "flex flex-wrap",
2575
2634
  s("sm", "gap"),
2576
- Na[u]
2635
+ $a[u]
2577
2636
  ),
2578
2637
  children: i
2579
2638
  }
2580
2639
  ) : null,
2581
2640
  o ? /* @__PURE__ */ l("div", { className: "w-full", children: o }) : null,
2582
2641
  c ? /* @__PURE__ */ l(
2583
- H,
2642
+ _,
2584
2643
  {
2585
2644
  as: "p",
2586
2645
  variant: "caption",
@@ -2595,8 +2654,8 @@ const va = z(
2595
2654
  );
2596
2655
  }
2597
2656
  );
2598
- Sa.displayName = "HeroSection";
2599
- function Ga(r) {
2657
+ ka.displayName = "HeroSection";
2658
+ function Za(r) {
2600
2659
  var t = r, {
2601
2660
  className: e = ""
2602
2661
  } = t, a = h(t, [
@@ -2604,7 +2663,7 @@ function Ga(r) {
2604
2663
  ]);
2605
2664
  return /* @__PURE__ */ l(
2606
2665
  "div",
2607
- m({
2666
+ p({
2608
2667
  role: "separator",
2609
2668
  className: `
2610
2669
  h-px
@@ -2615,7 +2674,7 @@ function Ga(r) {
2615
2674
  }, a)
2616
2675
  );
2617
2676
  }
2618
- function Ya(t) {
2677
+ function Ja(t) {
2619
2678
  var i = t, {
2620
2679
  orientation: e = "horizontal",
2621
2680
  className: a = ""
@@ -2625,14 +2684,14 @@ function Ya(t) {
2625
2684
  ]);
2626
2685
  return e === "vertical" ? /* @__PURE__ */ l(
2627
2686
  "div",
2628
- m({
2687
+ p({
2629
2688
  className: n("w-px", "h-6", "bg-line-default", "mx-auto", a),
2630
2689
  role: "separator",
2631
2690
  "aria-orientation": "vertical"
2632
2691
  }, r)
2633
2692
  ) : /* @__PURE__ */ l(
2634
2693
  "div",
2635
- m({
2694
+ p({
2636
2695
  className: n(
2637
2696
  "w-full",
2638
2697
  "h-px",
@@ -2653,7 +2712,7 @@ function Ya(t) {
2653
2712
  }, r)
2654
2713
  );
2655
2714
  }
2656
- const $a = z(
2715
+ const Ca = z(
2657
2716
  // Base classes
2658
2717
  n("w-full", "flex", "flex-col", s("sm", "gap")),
2659
2718
  {
@@ -2668,7 +2727,7 @@ const $a = z(
2668
2727
  }
2669
2728
  }
2670
2729
  );
2671
- function Za(d) {
2730
+ function Qa(d) {
2672
2731
  var u = d, {
2673
2732
  title: e,
2674
2733
  description: a,
@@ -2684,8 +2743,8 @@ function Za(d) {
2684
2743
  "variant",
2685
2744
  "className"
2686
2745
  ]);
2687
- return /* @__PURE__ */ v("div", y(m({ className: n($a({ variant: i }), o) }, c), { children: [
2688
- r && r.length > 0 && /* @__PURE__ */ l(pa, { items: r }),
2746
+ return /* @__PURE__ */ v("div", y(p({ className: n(Ca({ variant: i }), o) }, c), { children: [
2747
+ r && r.length > 0 && /* @__PURE__ */ l(ma, { items: r }),
2689
2748
  /* @__PURE__ */ v(
2690
2749
  "div",
2691
2750
  {
@@ -2693,7 +2752,7 @@ function Za(d) {
2693
2752
  children: [
2694
2753
  /* @__PURE__ */ v("div", { className: "flex-1 min-w-0", children: [
2695
2754
  /* @__PURE__ */ l(
2696
- H,
2755
+ _,
2697
2756
  {
2698
2757
  variant: "heading",
2699
2758
  as: "h1",
@@ -2701,7 +2760,7 @@ function Za(d) {
2701
2760
  children: e
2702
2761
  }
2703
2762
  ),
2704
- a && /* @__PURE__ */ l(H, { variant: "body", className: "text-fg-secondary", children: a })
2763
+ a && /* @__PURE__ */ l(_, { variant: "body", className: "text-fg-secondary", children: a })
2705
2764
  ] }),
2706
2765
  t && /* @__PURE__ */ l(
2707
2766
  "div",
@@ -2715,17 +2774,17 @@ function Za(d) {
2715
2774
  )
2716
2775
  ] }));
2717
2776
  }
2718
- const ka = {
2777
+ const Ea = {
2719
2778
  start: "items-start text-left",
2720
2779
  center: "items-center text-center"
2721
- }, Ca = {
2780
+ }, Ta = {
2722
2781
  neutral: "text-fg-tertiary",
2723
2782
  success: "text-fg-success",
2724
2783
  warning: "text-fg-warning",
2725
2784
  error: "text-fg-error"
2726
2785
  };
2727
- function Ja(u) {
2728
- var b = u, {
2786
+ function et(u) {
2787
+ var g = u, {
2729
2788
  value: e,
2730
2789
  label: a,
2731
2790
  hint: r,
@@ -2733,7 +2792,7 @@ function Ja(u) {
2733
2792
  align: i = "start",
2734
2793
  tone: o = "neutral",
2735
2794
  className: c
2736
- } = b, d = h(b, [
2795
+ } = g, d = h(g, [
2737
2796
  "value",
2738
2797
  "label",
2739
2798
  "hint",
@@ -2742,21 +2801,21 @@ function Ja(u) {
2742
2801
  "tone",
2743
2802
  "className"
2744
2803
  ]);
2745
- const p = e == null;
2804
+ const m = e == null;
2746
2805
  return /* @__PURE__ */ v(
2747
2806
  "div",
2748
- y(m({
2807
+ y(p({
2749
2808
  className: n(
2750
2809
  "bg-surface-base flex-1 flex flex-col",
2751
2810
  s("base", "p"),
2752
2811
  s("xs", "gap-y"),
2753
- ka[i],
2812
+ Ea[i],
2754
2813
  c
2755
2814
  )
2756
2815
  }, d), {
2757
2816
  children: [
2758
2817
  t ? /* @__PURE__ */ l("span", { className: "text-icon-default inline-flex", children: t }) : null,
2759
- p ? /* @__PURE__ */ l(
2818
+ m ? /* @__PURE__ */ l(
2760
2819
  "span",
2761
2820
  {
2762
2821
  "aria-label": "No data",
@@ -2765,17 +2824,17 @@ function Ja(u) {
2765
2824
  }
2766
2825
  ) : /* @__PURE__ */ l("span", { className: "text-fg-primary text-2xl font-semibold leading-tight", children: e }),
2767
2826
  /* @__PURE__ */ l("span", { className: "text-fg-secondary text-sm", children: a }),
2768
- r ? /* @__PURE__ */ l("span", { className: n("text-xs", Ca[o]), children: r }) : null
2827
+ r ? /* @__PURE__ */ l("span", { className: n("text-xs", Ta[o]), children: r }) : null
2769
2828
  ]
2770
2829
  })
2771
2830
  );
2772
2831
  }
2773
- const Ea = {
2832
+ const Va = {
2774
2833
  2: "md:grid-cols-2",
2775
2834
  3: "md:grid-cols-3",
2776
2835
  4: "md:grid-cols-4"
2777
2836
  };
2778
- function Qa(c) {
2837
+ function at(c) {
2779
2838
  var d = c, {
2780
2839
  layout: e = "grid",
2781
2840
  cols: a = 4,
@@ -2792,7 +2851,7 @@ function Qa(c) {
2792
2851
  const u = e === "grid";
2793
2852
  return /* @__PURE__ */ v(
2794
2853
  "div",
2795
- y(m({
2854
+ y(p({
2796
2855
  className: n(
2797
2856
  "relative",
2798
2857
  r && s("base", "pt"),
@@ -2807,7 +2866,7 @@ function Qa(c) {
2807
2866
  className: n(
2808
2867
  "bg-line-default border border-line-default overflow-hidden gap-px",
2809
2868
  $("lg"),
2810
- u ? `grid grid-cols-2 ${Ea[a]}` : "flex"
2869
+ u ? `grid grid-cols-2 ${Va[a]}` : "flex"
2811
2870
  ),
2812
2871
  children: i
2813
2872
  }
@@ -2816,19 +2875,19 @@ function Qa(c) {
2816
2875
  })
2817
2876
  );
2818
2877
  }
2819
- function et(i) {
2878
+ function tt(i) {
2820
2879
  var o = i, { column: e, row: a, className: r = "" } = o, t = h(o, ["column", "row", "className"]);
2821
2880
  const c = e.key in a ? a[e.key] : void 0;
2822
2881
  return /* @__PURE__ */ l(
2823
2882
  "td",
2824
- y(m({
2883
+ y(p({
2825
2884
  className: `${s("lg", "px")} ${s("base", "py")} whitespace-nowrap text-sm text-fg-primary ${e.hiddenOnMobile ? "hidden md:table-cell" : ""} ${r}`
2826
2885
  }, t), {
2827
2886
  children: e.render ? e.render(c, a) : String(c != null ? c : "")
2828
2887
  })
2829
2888
  );
2830
2889
  }
2831
- const Ta = z(n("flex items-center", "border-b"), {
2890
+ const Aa = z(n("flex items-center", "border-b"), {
2832
2891
  variants: {
2833
2892
  variant: {
2834
2893
  default: n("border-line-default", s("base", "gap-x")),
@@ -2838,7 +2897,7 @@ const Ta = z(n("flex items-center", "border-b"), {
2838
2897
  defaultVariants: {
2839
2898
  variant: "default"
2840
2899
  }
2841
- }), Va = z(
2900
+ }), za = z(
2842
2901
  n(
2843
2902
  "relative -mb-px inline-flex items-center",
2844
2903
  s("xs", "gap-x"),
@@ -2856,12 +2915,12 @@ const Ta = z(n("flex items-center", "border-b"), {
2856
2915
  default: n(
2857
2916
  s("sm", "px"),
2858
2917
  s("sm", "py"),
2859
- S("body")
2918
+ w("body")
2860
2919
  ),
2861
2920
  sub: n(
2862
2921
  s("sm", "px"),
2863
2922
  s("xs", "py"),
2864
- S("bodySmall")
2923
+ w("bodySmall")
2865
2924
  )
2866
2925
  },
2867
2926
  active: {
@@ -2886,21 +2945,21 @@ const Ta = z(n("flex items-center", "border-b"), {
2886
2945
  active: !1
2887
2946
  }
2888
2947
  }
2889
- ), Aa = n(
2948
+ ), Fa = n(
2890
2949
  "inline-flex items-center justify-center",
2891
2950
  $("full"),
2892
2951
  s("xs", "px"),
2893
2952
  "bg-surface-muted text-fg-secondary text-xs"
2894
- ), za = L(
2895
- function(b, u) {
2896
- var p = b, {
2953
+ ), La = F(
2954
+ function(g, u) {
2955
+ var m = g, {
2897
2956
  items: a,
2898
2957
  variant: r = "default",
2899
2958
  linkComponent: t,
2900
2959
  className: i,
2901
2960
  "aria-label": o,
2902
2961
  "aria-labelledby": c
2903
- } = p, d = h(p, [
2962
+ } = m, d = h(m, [
2904
2963
  "items",
2905
2964
  "variant",
2906
2965
  "linkComponent",
@@ -2914,33 +2973,33 @@ const Ta = z(n("flex items-center", "border-b"), {
2914
2973
  const x = t != null ? t : "a";
2915
2974
  return /* @__PURE__ */ l(
2916
2975
  "nav",
2917
- y(m({
2976
+ y(p({
2918
2977
  ref: u,
2919
- className: n(Ta({ variant: r }), i),
2978
+ className: n(Aa({ variant: r }), i),
2920
2979
  "aria-label": o,
2921
2980
  "aria-labelledby": c
2922
2981
  }, d), {
2923
- children: a.map((f, g) => /* @__PURE__ */ v(
2982
+ children: a.map((f, b) => /* @__PURE__ */ v(
2924
2983
  x,
2925
2984
  {
2926
2985
  href: f.href,
2927
2986
  "aria-current": f.active ? "page" : void 0,
2928
2987
  "data-active": f.active ? "true" : void 0,
2929
- className: Va({ variant: r, active: !!f.active }),
2988
+ className: za({ variant: r, active: !!f.active }),
2930
2989
  children: [
2931
2990
  f.icon ? /* @__PURE__ */ l("span", { "aria-hidden": "true", className: "inline-flex shrink-0", children: f.icon }) : null,
2932
2991
  /* @__PURE__ */ l("span", { children: f.label }),
2933
- f.count !== void 0 ? /* @__PURE__ */ l("span", { className: Aa, children: f.count }) : null
2992
+ f.count !== void 0 ? /* @__PURE__ */ l("span", { className: Fa, children: f.count }) : null
2934
2993
  ]
2935
2994
  },
2936
- f.href || g
2995
+ f.href || b
2937
2996
  ))
2938
2997
  })
2939
2998
  );
2940
2999
  }
2941
3000
  );
2942
- za.displayName = "TabsAsLinks";
2943
- function at({
3001
+ La.displayName = "TabsAsLinks";
3002
+ function rt({
2944
3003
  items: e,
2945
3004
  orientation: a = "vertical",
2946
3005
  className: r = ""
@@ -2950,7 +3009,7 @@ function at({
2950
3009
  return /* @__PURE__ */ l("div", { className: "flex items-start flex-1", children: /* @__PURE__ */ v("div", { className: "flex flex-col items-center flex-1", children: [
2951
3010
  /* @__PURE__ */ l(
2952
3011
  "div",
2953
- y(m({}, o === "default" ? { "data-marker": "pending" } : {}), {
3012
+ y(p({}, o === "default" ? { "data-marker": "pending" } : {}), {
2954
3013
  className: `
2955
3014
  flex
2956
3015
  items-center
@@ -3010,7 +3069,7 @@ function at({
3010
3069
  /* @__PURE__ */ v("div", { className: "flex flex-col items-center", children: [
3011
3070
  /* @__PURE__ */ l(
3012
3071
  "div",
3013
- y(m({}, o === "default" ? { "data-marker": "pending" } : {}), {
3072
+ y(p({}, o === "default" ? { "data-marker": "pending" } : {}), {
3014
3073
  className: `
3015
3074
  flex
3016
3075
  items-center
@@ -3073,43 +3132,44 @@ function at({
3073
3132
  }
3074
3133
  export {
3075
3134
  Ee as AvatarBase,
3076
- Ae as Badge,
3077
- pa as Breadcrumb,
3078
- Ke as Button,
3079
- W as Card,
3080
- xa as CardActions,
3081
- ha as CardBody,
3082
- ma as CardHeader,
3083
- ba as CardSubtitle,
3084
- ga as CardTitle,
3085
- qe as Chip,
3086
- ua as Container,
3087
- Ge as DataBadge,
3088
- Ia as DialogFooter,
3089
- Pa as DialogHeader,
3090
- Ua as DrawerFooter,
3091
- Wa as DrawerHeader,
3092
- Oa as ErrorMessage,
3093
- Ka as FilterChips,
3094
- qa as HeaderActions,
3095
- Xa as HeaderNavigation,
3096
- Sa as HeroSection,
3097
- Ma as Info,
3098
- Je as InputBase,
3099
- aa as Label,
3100
- Ga as MenuSeparator,
3101
- Ya as NavbarSeparator,
3102
- Za as PageHeader,
3103
- na as Progress,
3104
- la as Separator,
3105
- Ha as Skeleton,
3135
+ ze as Badge,
3136
+ ma as Breadcrumb,
3137
+ qe as Button,
3138
+ I as Card,
3139
+ ya as CardActions,
3140
+ va as CardBody,
3141
+ ba as CardHeader,
3142
+ ha as CardSubtitle,
3143
+ xa as CardTitle,
3144
+ Xe as Chip,
3145
+ fa as Container,
3146
+ Ye as DataBadge,
3147
+ Ua as DialogFooter,
3148
+ Ia as DialogHeader,
3149
+ qa as DrawerFooter,
3150
+ Ka as DrawerHeader,
3151
+ ga as EmptyStateBase,
3152
+ Wa as ErrorMessage,
3153
+ Xa as FilterChips,
3154
+ Ga as HeaderActions,
3155
+ Ya as HeaderNavigation,
3156
+ ka as HeroSection,
3157
+ Ha as Info,
3158
+ Qe as InputBase,
3159
+ ta as Label,
3160
+ Za as MenuSeparator,
3161
+ Ja as NavbarSeparator,
3162
+ Qa as PageHeader,
3163
+ sa as Progress,
3164
+ oa as Separator,
3165
+ Pa as Skeleton,
3106
3166
  pe as Spinner,
3107
- fa as Stack,
3108
- Ja as Stat,
3109
- Qa as StatGroup,
3110
- et as TableCell,
3111
- za as TabsAsLinks,
3112
- H as Text,
3113
- at as Timeline
3167
+ pa as Stack,
3168
+ et as Stat,
3169
+ at as StatGroup,
3170
+ tt as TableCell,
3171
+ La as TabsAsLinks,
3172
+ _ as Text,
3173
+ rt as Timeline
3114
3174
  };
3115
3175
  //# sourceMappingURL=index.js.map