@fabio.caffarello/react-design-system 4.7.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.
@@ -1,33 +1,33 @@
1
- var ge = Object.defineProperty, be = Object.defineProperties;
2
- var xe = Object.getOwnPropertyDescriptors;
1
+ var be = Object.defineProperty, xe = Object.defineProperties;
2
+ var he = Object.getOwnPropertyDescriptors;
3
3
  var K = Object.getOwnPropertySymbols;
4
- var ae = Object.prototype.hasOwnProperty, te = Object.prototype.propertyIsEnumerable;
5
- var G = (e, a, r) => a in e ? ge(e, a, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[a] = r, p = (e, a) => {
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, p = (e, a) => {
6
6
  for (var r in a || (a = {}))
7
- ae.call(a, r) && G(e, r, a[r]);
7
+ te.call(a, r) && G(e, r, a[r]);
8
8
  if (K)
9
9
  for (var r of K(a))
10
- te.call(a, r) && G(e, r, a[r]);
10
+ re.call(a, r) && G(e, r, a[r]);
11
11
  return e;
12
- }, y = (e, a) => be(e, xe(a));
12
+ }, y = (e, a) => xe(e, he(a));
13
13
  var h = (e, a) => {
14
14
  var r = {};
15
15
  for (var t in e)
16
- ae.call(e, t) && a.indexOf(t) < 0 && (r[t] = e[t]);
16
+ te.call(e, t) && a.indexOf(t) < 0 && (r[t] = e[t]);
17
17
  if (e != null && K)
18
18
  for (var t of K(e))
19
- a.indexOf(t) < 0 && te.call(e, t) && (r[t] = e[t]);
19
+ a.indexOf(t) < 0 && re.call(e, t) && (r[t] = e[t]);
20
20
  return r;
21
21
  };
22
- var re = (e, a, r) => G(e, typeof a != "symbol" ? a + "" : a, r);
23
- import { jsx as l, jsxs as v, Fragment as Z } from "react/jsx-runtime";
24
- import * as z from "react";
25
- import ce, { memo as M, forwardRef as F } from "react";
26
- import { clsx as he } from "clsx";
27
- import { twMerge as ye } from "tailwind-merge";
28
- import { cva as ve } from "class-variance-authority";
29
- import { Loader2 as we, X as Ne, AlertCircle as Se, CheckCircle2 as ne } from "lucide-react";
30
- class _ {
22
+ var ne = (e, a, r) => G(e, typeof a != "symbol" ? a + "" : a, r);
23
+ import { jsxs as v, jsx as l, Fragment as J } from "react/jsx-runtime";
24
+ import * as A from "react";
25
+ import de, { forwardRef as F, memo as W } from "react";
26
+ import { clsx as ye } from "clsx";
27
+ import { twMerge as ve } from "tailwind-merge";
28
+ import { cva as we } from "class-variance-authority";
29
+ import { Loader2 as Ne, X as Se, AlertCircle as $e, CheckCircle2 as se } from "lucide-react";
30
+ class j {
31
31
  /**
32
32
  * Create a radius token
33
33
  */
@@ -83,20 +83,121 @@ class _ {
83
83
  };
84
84
  }
85
85
  }
86
- const $e = {
87
- none: _.create("none"),
88
- sm: _.create("sm"),
89
- md: _.create("md"),
90
- lg: _.create("lg"),
91
- xl: _.create("xl"),
92
- "2xl": _.create("2xl"),
93
- "3xl": _.create("3xl"),
94
- full: _.create("full")
86
+ const ke = {
87
+ none: j.create("none"),
88
+ sm: j.create("sm"),
89
+ md: j.create("md"),
90
+ lg: j.create("lg"),
91
+ xl: j.create("xl"),
92
+ "2xl": j.create("2xl"),
93
+ "3xl": j.create("3xl"),
94
+ full: j.create("full")
95
95
  };
96
96
  function $(e) {
97
- return $e[e].tailwind;
97
+ return ke[e].tailwind;
98
+ }
99
+ function n(...e) {
100
+ return ve(ye(e));
98
101
  }
99
- class C {
102
+ const z = (e, a) => {
103
+ const r = we(e, a);
104
+ return ((t) => {
105
+ const i = r(t);
106
+ return n(i);
107
+ });
108
+ }, Ce = {
109
+ xs: "h-6 w-6 text-xs",
110
+ sm: "h-8 w-8 text-sm",
111
+ md: "h-10 w-10 text-base",
112
+ lg: "h-12 w-12 text-lg",
113
+ xl: "h-16 w-16 text-xl",
114
+ "2xl": "h-24 w-24 text-3xl",
115
+ "3xl": "h-28 w-28 text-4xl"
116
+ }, Y = {
117
+ circle: $("full"),
118
+ square: $("none"),
119
+ rounded: $("md")
120
+ }, Ee = F(
121
+ function(x, m) {
122
+ var f = x, {
123
+ src: a,
124
+ alt: r,
125
+ fallback: t,
126
+ size: i = "md",
127
+ variant: o = "circle",
128
+ loading: c = "eager",
129
+ "aria-label": d,
130
+ className: u = ""
131
+ } = f, g = h(f, [
132
+ "src",
133
+ "alt",
134
+ "fallback",
135
+ "size",
136
+ "variant",
137
+ "loading",
138
+ "aria-label",
139
+ "className"
140
+ ]);
141
+ const b = !a, N = typeof t == "string" ? t.toUpperCase().slice(0, 2) : t, S = d || r || "User avatar";
142
+ return /* @__PURE__ */ v(
143
+ "div",
144
+ y(p({
145
+ ref: m,
146
+ className: n(
147
+ "relative",
148
+ "inline-flex",
149
+ "items-center",
150
+ "justify-center",
151
+ "shrink-0",
152
+ "font-medium",
153
+ "overflow-hidden",
154
+ Ce[i],
155
+ Y[o],
156
+ "bg-surface-muted",
157
+ "text-fg-primary",
158
+ u
159
+ ),
160
+ role: "img",
161
+ "aria-label": S
162
+ }, g), {
163
+ children: [
164
+ !b && /* @__PURE__ */ l(
165
+ "img",
166
+ {
167
+ src: a,
168
+ alt: r || "",
169
+ loading: c,
170
+ className: n(
171
+ "w-full",
172
+ "h-full",
173
+ "object-cover",
174
+ Y[o]
175
+ ),
176
+ "aria-hidden": "true"
177
+ }
178
+ ),
179
+ b && /* @__PURE__ */ l(
180
+ "span",
181
+ {
182
+ className: n(
183
+ "flex",
184
+ "items-center",
185
+ "justify-center",
186
+ "w-full",
187
+ "h-full",
188
+ Y[o]
189
+ ),
190
+ "aria-hidden": "true",
191
+ children: N || "?"
192
+ }
193
+ )
194
+ ]
195
+ })
196
+ );
197
+ }
198
+ );
199
+ Ee.displayName = "AvatarBase";
200
+ class E {
100
201
  // 4px base
101
202
  /**
102
203
  * Create a spacing token from scale value
@@ -163,46 +264,46 @@ class C {
163
264
  }[a] || String(a);
164
265
  }
165
266
  }
166
- re(C, "BASE_UNIT", 4);
167
- const ke = {
267
+ ne(E, "BASE_UNIT", 4);
268
+ const Te = {
168
269
  // Micro spacing (0-14px)
169
- none: C.create(0),
170
- "0.5": C.create(0.5),
270
+ none: E.create(0),
271
+ "0.5": E.create(0.5),
171
272
  // 2px (half-step)
172
- xs: C.create(1),
273
+ xs: E.create(1),
173
274
  // 4px
174
- "1.5": C.create(1.5),
275
+ "1.5": E.create(1.5),
175
276
  // 6px (half-step)
176
- sm: C.create(2),
277
+ sm: E.create(2),
177
278
  // 8px
178
- "2.5": C.create(2.5),
279
+ "2.5": E.create(2.5),
179
280
  // 10px (half-step)
180
- md: C.create(3),
281
+ md: E.create(3),
181
282
  // 12px
182
- "3.5": C.create(3.5),
283
+ "3.5": E.create(3.5),
183
284
  // 14px (half-step)
184
285
  // Standard spacing (16-32px)
185
- base: C.create(4),
286
+ base: E.create(4),
186
287
  // 16px
187
- lg: C.create(6),
288
+ lg: E.create(6),
188
289
  // 24px
189
- xl: C.create(8),
290
+ xl: E.create(8),
190
291
  // 32px
191
292
  // Large spacing (40-64px)
192
- "2xl": C.create(10),
293
+ "2xl": E.create(10),
193
294
  // 40px
194
- "3xl": C.create(12),
295
+ "3xl": E.create(12),
195
296
  // 48px
196
- "4xl": C.create(16),
297
+ "4xl": E.create(16),
197
298
  // 64px
198
299
  // Extra large spacing (80px+)
199
- "5xl": C.create(20),
300
+ "5xl": E.create(20),
200
301
  // 80px
201
- "6xl": C.create(24)
302
+ "6xl": E.create(24)
202
303
  // 96px
203
304
  };
204
305
  function s(e, a = "p") {
205
- const t = ke[e].tailwind;
306
+ const t = Te[e].tailwind;
206
307
  return `${{
207
308
  p: "p",
208
309
  m: "m",
@@ -225,7 +326,7 @@ function s(e, a = "p") {
225
326
  "space-y": "space-y"
226
327
  }[a]}-${t}`;
227
328
  }
228
- class E {
329
+ class k {
229
330
  /**
230
331
  * Create font size token
231
332
  */
@@ -295,50 +396,44 @@ class E {
295
396
  };
296
397
  }
297
398
  }
298
- E.createFontWeight("light"), E.createFontWeight("normal"), E.createFontWeight("medium"), E.createFontWeight("semibold"), E.createFontWeight("bold");
299
- const J = {
399
+ k.createFontWeight("light"), k.createFontWeight("normal"), k.createFontWeight("medium"), k.createFontWeight("semibold"), k.createFontWeight("bold");
400
+ const Q = {
300
401
  // Headings
301
- h1: E.create("4xl", "tight", "bold"),
302
- h2: E.create("3xl", "tight", "bold"),
303
- h3: E.create("2xl", "snug", "semibold"),
304
- h4: E.create("xl", "snug", "semibold"),
305
- h5: E.create("lg", "normal", "medium"),
306
- 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"),
307
408
  // Body text
308
- body: E.create("base", "relaxed", "normal"),
309
- bodySmall: E.create("sm", "relaxed", "normal"),
310
- 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"),
311
412
  // UI elements
312
- label: E.create("sm", "normal", "medium"),
313
- caption: E.create("xs", "normal", "normal"),
314
- 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")
315
416
  };
316
417
  function D(e) {
317
- const a = J[e];
418
+ const a = Q[e];
318
419
  return `${a.fontSize.tailwind} ${a.lineHeight.tailwind} ${a.fontWeight.tailwind}`;
319
420
  }
320
421
  function w(e) {
321
- return J[e].fontSize.tailwind;
422
+ return Q[e].fontSize.tailwind;
322
423
  }
323
- function j(e) {
324
- return J[e].fontWeight.tailwind;
424
+ function B(e) {
425
+ return Q[e].fontWeight.tailwind;
325
426
  }
326
- function n(...e) {
327
- return ye(he(e));
427
+ function Ve(e) {
428
+ return k.createFontWeight(e).tailwind;
328
429
  }
329
- const A = (e, a) => {
330
- const r = ve(e, a);
331
- return ((t) => {
332
- const i = r(t);
333
- return n(i);
334
- });
335
- }, Ce = A(
430
+ const Ae = z(
336
431
  // Base classes
337
432
  n(
338
433
  "inline-flex",
339
434
  "items-center",
340
435
  "justify-center",
341
- j("label"),
436
+ B("label"),
342
437
  $("md"),
343
438
  "border"
344
439
  ),
@@ -470,9 +565,9 @@ const A = (e, a) => {
470
565
  style: "solid"
471
566
  }
472
567
  }
473
- ), Ee = M(
474
- F(function(b, u) {
475
- var m = b, {
568
+ ), ze = W(
569
+ F(function(g, u) {
570
+ var m = g, {
476
571
  variant: a = "neutral",
477
572
  size: r = "md",
478
573
  style: t = "solid",
@@ -487,15 +582,15 @@ const A = (e, a) => {
487
582
  "children",
488
583
  "aria-label"
489
584
  ]);
490
- const x = n(Ce({ variant: a, size: r, style: t }), i);
585
+ const x = n(Ae({ variant: a, size: r, style: t }), i);
491
586
  let f;
492
587
  if (c)
493
588
  f = c;
494
589
  else if (typeof o == "string")
495
590
  f = o;
496
591
  else if (typeof o == "object" && o !== null && "props" in o) {
497
- const g = o.props;
498
- 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);
499
594
  }
500
595
  return /* @__PURE__ */ l(
501
596
  "span",
@@ -510,80 +605,80 @@ const A = (e, a) => {
510
605
  );
511
606
  })
512
607
  );
513
- Ee.displayName = "Badge";
514
- function se(e, a) {
608
+ ze.displayName = "Badge";
609
+ function ie(e, a) {
515
610
  if (typeof e == "function")
516
611
  return e(a);
517
612
  e != null && (e.current = a);
518
613
  }
519
- function Te(...e) {
614
+ function Fe(...e) {
520
615
  return (a) => {
521
616
  let r = !1;
522
617
  const t = e.map((i) => {
523
- const o = se(i, a);
618
+ const o = ie(i, a);
524
619
  return !r && typeof o == "function" && (r = !0), o;
525
620
  });
526
621
  if (r)
527
622
  return () => {
528
623
  for (let i = 0; i < t.length; i++) {
529
624
  const o = t[i];
530
- typeof o == "function" ? o() : se(e[i], null);
625
+ typeof o == "function" ? o() : ie(e[i], null);
531
626
  }
532
627
  };
533
628
  };
534
629
  }
535
- function Ve(...e) {
536
- return z.useCallback(Te(...e), e);
630
+ function Le(...e) {
631
+ return A.useCallback(Fe(...e), e);
537
632
  }
538
633
  // @__NO_SIDE_EFFECTS__
539
- function ze(e) {
540
- const a = z.forwardRef((r, t) => {
541
- var g;
634
+ function De(e) {
635
+ const a = A.forwardRef((r, t) => {
636
+ var b;
542
637
  let f = r, { children: i } = f, o = h(f, ["children"]), c = null, d = !1;
543
638
  const u = [];
544
- ie(i) && typeof q == "function" && (i = q(i._payload)), z.Children.forEach(i, (N) => {
639
+ le(i) && typeof q == "function" && (i = q(i._payload)), A.Children.forEach(i, (N) => {
545
640
  var S;
546
- if (je(N)) {
641
+ if (Me(N)) {
547
642
  d = !0;
548
643
  const T = N;
549
- let k = "child" in T.props ? T.props.child : T.props.children;
550
- ie(k) && typeof q == "function" && (k = q(k._payload)), c = De(T, k), u.push((S = c == null ? void 0 : c.props) == null ? void 0 : S.children);
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);
551
646
  } else
552
647
  u.push(N);
553
- }), c ? c = z.cloneElement(c, void 0, u) : (
648
+ }), c ? c = A.cloneElement(c, void 0, u) : (
554
649
  // A `Slottable` was found but it didn't resolve to a single element (e.g.
555
650
  // it wrapped multiple elements, text, or a render-prop `child` that
556
651
  // wasn't an element). Don't fall back to treating the `Slottable` wrapper
557
652
  // itself as the slot target — throw a descriptive error below instead.
558
- !d && z.Children.count(i) === 1 && z.isValidElement(i) && (c = i)
653
+ !d && A.Children.count(i) === 1 && A.isValidElement(i) && (c = i)
559
654
  );
560
- const b = c ? _e(c) : void 0, m = Ve(t, b);
655
+ const g = c ? Oe(c) : void 0, m = Le(t, g);
561
656
  if (!c) {
562
657
  if (i || i === 0)
563
658
  throw new Error(
564
- d ? Me(e) : Be(e)
659
+ d ? Ie(e) : Pe(e)
565
660
  );
566
661
  return i;
567
662
  }
568
- const x = Fe(o, (g = c.props) != null ? g : {});
569
- return c.type !== z.Fragment && (x.ref = t ? m : b), z.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);
570
665
  });
571
666
  return a.displayName = `${e}.Slot`, a;
572
667
  }
573
- var de = /* @__PURE__ */ ze("Slot"), ue = /* @__PURE__ */ Symbol.for("radix.slottable");
668
+ var ue = /* @__PURE__ */ De("Slot"), fe = /* @__PURE__ */ Symbol.for("radix.slottable");
574
669
  // @__NO_SIDE_EFFECTS__
575
- function Ae(e) {
670
+ function je(e) {
576
671
  const a = (r) => "child" in r ? r.children(r.child) : r.children;
577
- return a.displayName = `${e}.Slottable`, a.__radixId = ue, a;
672
+ return a.displayName = `${e}.Slottable`, a.__radixId = fe, a;
578
673
  }
579
- var Le = /* @__PURE__ */ Ae("Slottable"), De = (e, a) => {
674
+ var _e = /* @__PURE__ */ je("Slottable"), Be = (e, a) => {
580
675
  if ("child" in e.props) {
581
676
  const r = e.props.child;
582
- return z.isValidElement(r) ? z.cloneElement(r, void 0, e.props.children(r.props.children)) : null;
677
+ return A.isValidElement(r) ? A.cloneElement(r, void 0, e.props.children(r.props.children)) : null;
583
678
  }
584
- return z.isValidElement(a) ? a : null;
679
+ return A.isValidElement(a) ? a : null;
585
680
  };
586
- function Fe(e, a) {
681
+ function Re(e, a) {
587
682
  const r = p({}, a);
588
683
  for (const t in a) {
589
684
  const i = e[t], o = a[t];
@@ -594,23 +689,23 @@ function Fe(e, a) {
594
689
  }
595
690
  return p(p({}, e), r);
596
691
  }
597
- function _e(e) {
692
+ function Oe(e) {
598
693
  var t, i;
599
694
  let a = (t = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : t.get, r = a && "isReactWarning" in a && a.isReactWarning;
600
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);
601
696
  }
602
- function je(e) {
603
- return z.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === ue;
697
+ function Me(e) {
698
+ return A.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === fe;
604
699
  }
605
- var Re = /* @__PURE__ */ Symbol.for("react.lazy");
606
- function ie(e) {
607
- return e != null && typeof e == "object" && "$$typeof" in e && e.$$typeof === Re && "_payload" in e && Oe(e._payload);
700
+ var We = /* @__PURE__ */ Symbol.for("react.lazy");
701
+ function le(e) {
702
+ return e != null && typeof e == "object" && "$$typeof" in e && e.$$typeof === We && "_payload" in e && He(e._payload);
608
703
  }
609
- function Oe(e) {
704
+ function He(e) {
610
705
  return typeof e == "object" && e !== null && "then" in e;
611
706
  }
612
- var Be = (e) => `${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`, Me = (e) => `${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`, q = z[" use ".trim().toString()];
613
- const He = A("motion-safe:animate-spin", {
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()];
708
+ const Ue = z("motion-safe:animate-spin", {
614
709
  variants: {
615
710
  size: {
616
711
  sm: "h-4 w-4",
@@ -627,7 +722,7 @@ const He = A("motion-safe:animate-spin", {
627
722
  size: "md",
628
723
  variant: "primary"
629
724
  }
630
- }), fe = M(function(c) {
725
+ }), pe = W(function(c) {
631
726
  var d = c, {
632
727
  size: a = "md",
633
728
  variant: r = "primary",
@@ -649,9 +744,9 @@ const He = A("motion-safe:animate-spin", {
649
744
  }, o), {
650
745
  children: [
651
746
  /* @__PURE__ */ l(
652
- we,
747
+ Ne,
653
748
  {
654
- className: n(He({ size: a, variant: r })),
749
+ className: n(Ue({ size: a, variant: r })),
655
750
  "aria-hidden": "true"
656
751
  }
657
752
  ),
@@ -671,8 +766,8 @@ const He = A("motion-safe:animate-spin", {
671
766
  })
672
767
  );
673
768
  });
674
- fe.displayName = "Spinner";
675
- const Pe = A(
769
+ pe.displayName = "Spinner";
770
+ const Ke = z(
676
771
  // Base classes
677
772
  n(
678
773
  "inline-flex",
@@ -843,9 +938,9 @@ function X({
843
938
  }
844
939
  ) : null;
845
940
  }
846
- const Ie = M(
847
- F(function(k, T) {
848
- var L = k, {
941
+ const qe = W(
942
+ F(function(C, T) {
943
+ var L = C, {
849
944
  variant: a = "primary",
850
945
  size: r = "md",
851
946
  isLoading: t = !1,
@@ -854,11 +949,11 @@ const Ie = M(
854
949
  leftIcon: c,
855
950
  rightIcon: d,
856
951
  fullWidth: u = !1,
857
- asChild: b = !1,
952
+ asChild: g = !1,
858
953
  as: m,
859
954
  className: x = "",
860
955
  disabled: f = !1,
861
- children: g,
956
+ children: b,
862
957
  "aria-label": N
863
958
  } = L, S = h(L, [
864
959
  "variant",
@@ -876,37 +971,37 @@ const Ie = M(
876
971
  "children",
877
972
  "aria-label"
878
973
  ]);
879
- typeof process != "undefined" && process.env.NODE_ENV !== "production" && b && m !== void 0 && m !== "button" && console.warn(
974
+ typeof process != "undefined" && process.env.NODE_ENV !== "production" && g && m !== void 0 && m !== "button" && console.warn(
880
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."
881
976
  );
882
- const R = b ? de : m != null ? m : "button", O = n(
883
- Pe({ variant: a, size: r }),
977
+ const R = g ? ue : m != null ? m : "button", O = n(
978
+ Ke({ variant: a, size: r }),
884
979
  u && "w-full",
885
980
  x
886
- ), I = (a === "iconOnly" || !g && (c || d)) && !N && !g ? "Button" : N, me = o || /* @__PURE__ */ l(fe, { size: r === "sm" ? "sm" : r === "lg" ? "lg" : "md", variant: a === "error" ? "primary" : a === "primary" || a === "secondary" ? "neutral" : "primary" }), Q = !b && (m === void 0 || m === "button") && !S.type ? "button" : void 0, ee = p(p({
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({
887
982
  className: O,
888
983
  disabled: f || t,
889
984
  "aria-busy": t,
890
- "aria-label": I,
985
+ "aria-label": P,
891
986
  "aria-disabled": f || t
892
- }, Q ? { type: Q } : {}), S);
893
- return b ? /* @__PURE__ */ v(R, y(p({ ref: T }, ee), { children: [
987
+ }, ee ? { type: ee } : {}), S);
988
+ return g ? /* @__PURE__ */ v(R, y(p({ ref: T }, ae), { children: [
894
989
  c && /* @__PURE__ */ l(X, { position: "left", children: c }),
895
- /* @__PURE__ */ l(Le, { children: g }),
990
+ /* @__PURE__ */ l(_e, { children: b }),
896
991
  d && /* @__PURE__ */ l(X, { position: "right", children: d })
897
- ] })) : /* @__PURE__ */ l(R, y(p({ ref: T }, ee), { children: t ? /* @__PURE__ */ v(Z, { children: [
898
- me,
992
+ ] })) : /* @__PURE__ */ l(R, y(p({ ref: T }, ae), { children: t ? /* @__PURE__ */ v(J, { children: [
993
+ ge,
899
994
  i && /* @__PURE__ */ l("span", { className: s("sm", "ml"), children: i }),
900
- !i && g && /* @__PURE__ */ l("span", { className: `${s("sm", "ml")} opacity-0`, children: g })
901
- ] }) : /* @__PURE__ */ v(Z, { children: [
995
+ !i && b && /* @__PURE__ */ l("span", { className: `${s("sm", "ml")} opacity-0`, children: b })
996
+ ] }) : /* @__PURE__ */ v(J, { children: [
902
997
  c && /* @__PURE__ */ l(X, { position: "left", children: c }),
903
- g,
998
+ b,
904
999
  d && /* @__PURE__ */ l(X, { position: "right", children: d })
905
1000
  ] }) }));
906
1001
  })
907
1002
  );
908
- Ie.displayName = "Button";
909
- const le = A(
1003
+ qe.displayName = "Button";
1004
+ const oe = z(
910
1005
  // Base classes
911
1006
  n(
912
1007
  "inline-flex",
@@ -995,7 +1090,7 @@ const le = A(
995
1090
  disabled: !1
996
1091
  }
997
1092
  }
998
- ), We = F(function(a, r) {
1093
+ ), Xe = F(function(a, r) {
999
1094
  const {
1000
1095
  children: t,
1001
1096
  variant: i = "default",
@@ -1003,11 +1098,11 @@ const le = A(
1003
1098
  selected: c = !1,
1004
1099
  disabled: d = !1,
1005
1100
  className: u = "",
1006
- "aria-label": b,
1101
+ "aria-label": g,
1007
1102
  tabIndex: m,
1008
1103
  asChild: x = !1
1009
- } = a, g = (() => {
1010
- if (b) return b;
1104
+ } = a, b = (() => {
1105
+ if (g) return g;
1011
1106
  if (typeof t == "string") return t;
1012
1107
  if (typeof t == "object" && t !== null && "props" in t) {
1013
1108
  const V = t.props;
@@ -1017,25 +1112,25 @@ const le = A(
1017
1112
  })();
1018
1113
  if (x)
1019
1114
  return /* @__PURE__ */ l(
1020
- de,
1115
+ ue,
1021
1116
  {
1022
1117
  ref: r,
1023
1118
  className: n(
1024
- le({ variant: i, size: o, selected: c, disabled: d }),
1119
+ oe({ variant: i, size: o, selected: c, disabled: d }),
1025
1120
  u
1026
1121
  ),
1027
- "aria-label": b,
1122
+ "aria-label": g,
1028
1123
  "aria-disabled": d || void 0,
1029
1124
  tabIndex: m,
1030
1125
  children: t
1031
1126
  }
1032
1127
  );
1033
- const { onRemove: N, onClick: S, count: T } = a, k = S !== void 0, L = k && !d, R = (V) => {
1128
+ const { onRemove: N, onClick: S, count: T } = a, C = S !== void 0, L = C && !d, R = (V) => {
1034
1129
  d || (V.key === "Enter" || V.key === " ") && (V.preventDefault(), S == null || S());
1035
- }, O = T !== void 0, P = c || i === "filled", I = O ? /* @__PURE__ */ l(
1130
+ }, O = T !== void 0, H = c || i === "filled", P = O ? /* @__PURE__ */ l(
1036
1131
  "span",
1037
1132
  {
1038
- "aria-hidden": k || void 0,
1133
+ "aria-hidden": C || void 0,
1039
1134
  className: n(
1040
1135
  "inline-flex",
1041
1136
  "items-center",
@@ -1046,24 +1141,24 @@ const le = A(
1046
1141
  s("xs", "px"),
1047
1142
  s("0.5", "py"),
1048
1143
  w("caption"),
1049
- j("label"),
1050
- P ? n("bg-surface-base", "text-fg-brand-emphasis") : n("bg-surface-brand-strong", "text-fg-inverse")
1144
+ B("label"),
1145
+ H ? n("bg-surface-base", "text-fg-brand-emphasis") : n("bg-surface-brand-strong", "text-fg-inverse")
1051
1146
  ),
1052
1147
  children: T
1053
1148
  }
1054
- ) : null, U = O && g !== void 0 ? `${g}, ${T}` : g;
1149
+ ) : null, U = O && b !== void 0 ? `${b}, ${T}` : b;
1055
1150
  return /* @__PURE__ */ v(
1056
1151
  "div",
1057
1152
  {
1058
1153
  ref: r,
1059
1154
  className: n(
1060
- le({ variant: i, size: o, selected: c, disabled: d }),
1155
+ oe({ variant: i, size: o, selected: c, disabled: d }),
1061
1156
  N && s("xs", "pr"),
1062
1157
  u
1063
1158
  ),
1064
1159
  "aria-disabled": d,
1065
1160
  children: [
1066
- k ? /* @__PURE__ */ l(
1161
+ C ? /* @__PURE__ */ l(
1067
1162
  "button",
1068
1163
  {
1069
1164
  type: "button",
@@ -1071,7 +1166,7 @@ const le = A(
1071
1166
  onKeyDown: R,
1072
1167
  disabled: d,
1073
1168
  "aria-pressed": c ? !0 : void 0,
1074
- "aria-label": b || U,
1169
+ "aria-label": g || U,
1075
1170
  tabIndex: m !== void 0 ? m : L ? 0 : void 0,
1076
1171
  className: n(
1077
1172
  "flex-1",
@@ -1090,7 +1185,7 @@ const le = A(
1090
1185
  children: t
1091
1186
  }
1092
1187
  ) : /* @__PURE__ */ l("span", { children: t }),
1093
- I,
1188
+ P,
1094
1189
  N && !d && /* @__PURE__ */ l(
1095
1190
  "button",
1096
1191
  {
@@ -1109,16 +1204,16 @@ const le = A(
1109
1204
  "focus:ring-line-focus",
1110
1205
  "focus:ring-offset-1"
1111
1206
  ),
1112
- "aria-label": `Remove ${g || "chip"}`,
1113
- children: /* @__PURE__ */ l(Ne, { className: "h-3 w-3", "aria-hidden": "true" })
1207
+ "aria-label": `Remove ${b || "chip"}`,
1208
+ children: /* @__PURE__ */ l(Se, { className: "h-3 w-3", "aria-hidden": "true" })
1114
1209
  }
1115
1210
  )
1116
1211
  ]
1117
1212
  }
1118
1213
  );
1119
1214
  });
1120
- We.displayName = "Chip";
1121
- const Ue = A(
1215
+ Xe.displayName = "Chip";
1216
+ const Ge = z(
1122
1217
  n("inline-flex", "items-center", "border", $("md")),
1123
1218
  {
1124
1219
  variants: {
@@ -1163,9 +1258,9 @@ const Ue = A(
1163
1258
  },
1164
1259
  defaultVariants: { tone: "neutral", size: "md" }
1165
1260
  }
1166
- ), Ke = M(
1167
- F(function(b, u) {
1168
- var m = b, {
1261
+ ), Ye = W(
1262
+ F(function(g, u) {
1263
+ var m = g, {
1169
1264
  label: a,
1170
1265
  source: r,
1171
1266
  tone: t = "neutral",
@@ -1185,7 +1280,7 @@ const Ue = A(
1185
1280
  "span",
1186
1281
  y(p({
1187
1282
  ref: u,
1188
- className: n(Ue({ tone: t, size: i }), c)
1283
+ className: n(Ge({ tone: t, size: i }), c)
1189
1284
  }, d), {
1190
1285
  children: [
1191
1286
  o ? /* @__PURE__ */ l(
@@ -1201,19 +1296,19 @@ const Ue = A(
1201
1296
  {
1202
1297
  className: n(
1203
1298
  w(f),
1204
- j("label")
1299
+ B("label")
1205
1300
  ),
1206
1301
  children: a
1207
1302
  }
1208
1303
  ),
1209
- x ? /* @__PURE__ */ v(Z, { children: [
1304
+ x ? /* @__PURE__ */ v(J, { children: [
1210
1305
  /* @__PURE__ */ l("span", { "aria-hidden": "true", className: w("caption"), children: "·" }),
1211
1306
  /* @__PURE__ */ l(
1212
1307
  "span",
1213
1308
  {
1214
1309
  className: n(
1215
1310
  w("caption"),
1216
- j("caption")
1311
+ B("caption")
1217
1312
  ),
1218
1313
  children: r
1219
1314
  }
@@ -1224,8 +1319,8 @@ const Ue = A(
1224
1319
  );
1225
1320
  })
1226
1321
  );
1227
- Ke.displayName = "DataBadge";
1228
- function ja(i) {
1322
+ Ye.displayName = "DataBadge";
1323
+ function Wa(i) {
1229
1324
  var o = i, {
1230
1325
  message: e,
1231
1326
  id: a,
@@ -1244,11 +1339,11 @@ function ja(i) {
1244
1339
  s("xs", "gap")
1245
1340
  ], d = n(...c, r);
1246
1341
  return /* @__PURE__ */ v("div", y(p({ role: "alert", id: a, className: d, "aria-live": "polite" }, t), { children: [
1247
- /* @__PURE__ */ l(Se, { className: "h-4 w-4 shrink-0", "aria-hidden": "true" }),
1342
+ /* @__PURE__ */ l($e, { className: "h-4 w-4 shrink-0", "aria-hidden": "true" }),
1248
1343
  /* @__PURE__ */ l("span", { children: e })
1249
1344
  ] }));
1250
1345
  }
1251
- function Ra(t) {
1346
+ function Ha(t) {
1252
1347
  var i = t, {
1253
1348
  variant: e = "info",
1254
1349
  className: a
@@ -1276,7 +1371,7 @@ function Ra(t) {
1276
1371
  }, r)
1277
1372
  );
1278
1373
  }
1279
- const qe = A(
1374
+ const Ze = z(
1280
1375
  n(
1281
1376
  "w-full",
1282
1377
  $("md"),
@@ -1343,7 +1438,7 @@ const qe = A(
1343
1438
  }
1344
1439
  }
1345
1440
  );
1346
- function Xe({
1441
+ function Je({
1347
1442
  error: e,
1348
1443
  success: a,
1349
1444
  helperText: r,
@@ -1367,9 +1462,9 @@ function Xe({
1367
1462
  }
1368
1463
  );
1369
1464
  }
1370
- const Ge = F(
1465
+ const Qe = F(
1371
1466
  function(T, S) {
1372
- var k = T, {
1467
+ var C = T, {
1373
1468
  id: a,
1374
1469
  label: r,
1375
1470
  error: t = !1,
@@ -1378,12 +1473,12 @@ const Ge = F(
1378
1473
  size: c = "md",
1379
1474
  variant: d = "outlined",
1380
1475
  leftIcon: u,
1381
- rightIcon: b,
1476
+ rightIcon: g,
1382
1477
  rightSlot: m,
1383
1478
  className: x = "",
1384
1479
  disabled: f = !1,
1385
- type: g = "text"
1386
- } = k, N = h(k, [
1480
+ type: b = "text"
1481
+ } = C, N = h(C, [
1387
1482
  "id",
1388
1483
  "label",
1389
1484
  "error",
@@ -1401,13 +1496,13 @@ const Ge = F(
1401
1496
  typeof process != "undefined" && process.env.NODE_ENV !== "production" && r && !a && console.warn(
1402
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."
1403
1498
  );
1404
- const L = t ? "error" : i ? "success" : "default", R = t && a ? `${a}-error` : void 0, O = 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(
1405
- qe({ variant: d, size: c, state: L }),
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 }),
1406
1501
  // Icon padding — `pl-9` / `pr-9` aren't on the spacing scale (no
1407
1502
  // semantic key for 36px) so they stay raw at the `sm` size; md/lg use
1408
1503
  // the getter. Mirrors the original Input contract.
1409
1504
  u && (c === "sm" ? "pl-9" : s(c === "lg" ? "3xl" : "2xl", "pl")),
1410
- (b || m) && (c === "sm" ? "pr-9" : s(c === "lg" ? "3xl" : "2xl", "pr")),
1505
+ (g || m) && (c === "sm" ? "pr-9" : s(c === "lg" ? "3xl" : "2xl", "pr")),
1411
1506
  x
1412
1507
  ), V = n(
1413
1508
  "block",
@@ -1421,8 +1516,8 @@ const Ge = F(
1421
1516
  u && /* @__PURE__ */ l(
1422
1517
  "div",
1423
1518
  {
1424
- className: `absolute left-3 ${I} text-fg-secondary opacity-60 pointer-events-none`,
1425
- 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 })
1426
1521
  }
1427
1522
  ),
1428
1523
  /* @__PURE__ */ l(
@@ -1430,7 +1525,7 @@ const Ge = F(
1430
1525
  p({
1431
1526
  id: a,
1432
1527
  ref: S,
1433
- type: g,
1528
+ type: b,
1434
1529
  className: U,
1435
1530
  disabled: f,
1436
1531
  "aria-invalid": t,
@@ -1439,22 +1534,22 @@ const Ge = F(
1439
1534
  suppressHydrationWarning: !0
1440
1535
  }, N)
1441
1536
  ),
1442
- (b || m) && /* @__PURE__ */ l(
1537
+ (g || m) && /* @__PURE__ */ l(
1443
1538
  "div",
1444
1539
  {
1445
1540
  className: `absolute right-3 top-0 bottom-0 flex items-center ${s("xs", "gap")}`,
1446
1541
  children: m != null ? m : /* @__PURE__ */ l(
1447
1542
  "div",
1448
1543
  {
1449
- className: `text-fg-secondary opacity-60 pointer-events-none ${P}`,
1450
- children: b
1544
+ className: `text-fg-secondary opacity-60 pointer-events-none ${H}`,
1545
+ children: g
1451
1546
  }
1452
1547
  )
1453
1548
  }
1454
1549
  )
1455
1550
  ] }),
1456
1551
  (t || i || o) && /* @__PURE__ */ l(
1457
- Xe,
1552
+ Je,
1458
1553
  {
1459
1554
  error: t,
1460
1555
  success: i,
@@ -1466,13 +1561,13 @@ const Ge = F(
1466
1561
  ] });
1467
1562
  }
1468
1563
  );
1469
- Ge.displayName = "InputBase";
1470
- const Ye = n(
1564
+ Qe.displayName = "InputBase";
1565
+ const ea = n(
1471
1566
  "block",
1472
1567
  w("label"),
1473
- j("label"),
1568
+ B("label"),
1474
1569
  "text-fg-primary"
1475
- ), Ze = {
1570
+ ), aa = {
1476
1571
  default: "",
1477
1572
  required: n(
1478
1573
  "after:content-['*']",
@@ -1485,19 +1580,19 @@ const Ye = n(
1485
1580
  "after:text-fg-tertiary",
1486
1581
  "after:font-normal"
1487
1582
  )
1488
- }, Je = M(
1583
+ }, ta = W(
1489
1584
  F(function(c, o) {
1490
1585
  var d = c, { variant: a = "default", className: r = "", children: t } = d, i = h(d, ["variant", "className", "children"]);
1491
1586
  const u = n(
1492
- Ye,
1493
- Ze[a],
1587
+ ea,
1588
+ aa[a],
1494
1589
  r
1495
1590
  );
1496
1591
  return /* @__PURE__ */ l("label", y(p({ ref: o, className: u }, i), { children: t }));
1497
1592
  })
1498
1593
  );
1499
- Je.displayName = "Label";
1500
- class B {
1594
+ ta.displayName = "Label";
1595
+ class M {
1501
1596
  /**
1502
1597
  * Create a shadow token
1503
1598
  */
@@ -1541,19 +1636,19 @@ class B {
1541
1636
  }[a];
1542
1637
  }
1543
1638
  }
1544
- const Qe = {
1545
- none: B.create("none"),
1546
- sm: B.create("sm"),
1547
- md: B.create("md"),
1548
- lg: B.create("lg"),
1549
- xl: B.create("xl"),
1550
- "2xl": B.create("2xl"),
1551
- inner: B.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")
1552
1647
  };
1553
- function Y(e) {
1554
- return Qe[e].tailwind;
1648
+ function Z(e) {
1649
+ return ra[e].tailwind;
1555
1650
  }
1556
- const ea = A("w-full", {
1651
+ const na = z("w-full", {
1557
1652
  variants: {
1558
1653
  size: {
1559
1654
  sm: "h-1",
@@ -1573,7 +1668,7 @@ const ea = A("w-full", {
1573
1668
  size: "md",
1574
1669
  variant: "primary"
1575
1670
  }
1576
- }), oe = A("transition-all", {
1671
+ }), ce = z("transition-all", {
1577
1672
  variants: {
1578
1673
  variant: {
1579
1674
  primary: "bg-surface-brand",
@@ -1587,7 +1682,7 @@ const ea = A("w-full", {
1587
1682
  defaultVariants: {
1588
1683
  variant: "primary"
1589
1684
  }
1590
- }), aa = F(function(x, m) {
1685
+ }), sa = F(function(x, m) {
1591
1686
  var f = x, {
1592
1687
  value: a,
1593
1688
  max: r = 100,
@@ -1597,7 +1692,7 @@ const ea = A("w-full", {
1597
1692
  label: c,
1598
1693
  "aria-label": d,
1599
1694
  className: u = ""
1600
- } = f, b = h(f, [
1695
+ } = f, g = h(f, [
1601
1696
  "value",
1602
1697
  "max",
1603
1698
  "variant",
@@ -1607,9 +1702,9 @@ const ea = A("w-full", {
1607
1702
  "aria-label",
1608
1703
  "className"
1609
1704
  ]);
1610
- const g = a === void 0, N = g ? void 0 : Math.min(Math.max(a / r * 100, 0), 100), S = d || (g ? "Loading in progress" : `Progress: ${N == null ? void 0 : N.toFixed(0)}%`);
1611
- return /* @__PURE__ */ v("div", y(p({ ref: m, className: n("w-full", u) }, b), { children: [
1612
- 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(
1613
1708
  "div",
1614
1709
  {
1615
1710
  className: n(
@@ -1624,13 +1719,13 @@ const ea = A("w-full", {
1624
1719
  {
1625
1720
  className: n(
1626
1721
  w("bodySmall"),
1627
- j("label"),
1722
+ B("label"),
1628
1723
  "text-fg-primary"
1629
1724
  ),
1630
1725
  children: c
1631
1726
  }
1632
1727
  ),
1633
- !g && N !== void 0 && /* @__PURE__ */ v(
1728
+ !b && N !== void 0 && /* @__PURE__ */ v(
1634
1729
  "span",
1635
1730
  {
1636
1731
  className: n(
@@ -1650,19 +1745,19 @@ const ea = A("w-full", {
1650
1745
  "div",
1651
1746
  {
1652
1747
  role: "progressbar",
1653
- "aria-valuemin": g ? void 0 : 0,
1654
- "aria-valuemax": g ? void 0 : r,
1655
- "aria-valuenow": g ? void 0 : a,
1748
+ "aria-valuemin": b ? void 0 : 0,
1749
+ "aria-valuemax": b ? void 0 : r,
1750
+ "aria-valuenow": b ? void 0 : a,
1656
1751
  "aria-label": S,
1657
- "aria-busy": g,
1752
+ "aria-busy": b,
1658
1753
  className: n(
1659
1754
  "relative",
1660
1755
  "w-full",
1661
1756
  "overflow-hidden",
1662
- ea({ size: i, variant: t }),
1757
+ na({ size: i, variant: t }),
1663
1758
  $("full")
1664
1759
  ),
1665
- children: g ? /* @__PURE__ */ l(
1760
+ children: b ? /* @__PURE__ */ l(
1666
1761
  "div",
1667
1762
  {
1668
1763
  className: n(
@@ -1670,7 +1765,7 @@ const ea = A("w-full", {
1670
1765
  "top-0",
1671
1766
  "left-0",
1672
1767
  "bottom-0",
1673
- oe({ variant: t }),
1768
+ ce({ variant: t }),
1674
1769
  $("full"),
1675
1770
  "motion-reduce:animate-none"
1676
1771
  ),
@@ -1684,7 +1779,7 @@ const ea = A("w-full", {
1684
1779
  {
1685
1780
  className: n(
1686
1781
  "h-full",
1687
- oe({ variant: t }),
1782
+ ce({ variant: t }),
1688
1783
  $("full"),
1689
1784
  "transition-all",
1690
1785
  "duration-300",
@@ -1700,15 +1795,15 @@ const ea = A("w-full", {
1700
1795
  )
1701
1796
  ] }));
1702
1797
  });
1703
- aa.displayName = "Progress";
1704
- const ta = {
1798
+ sa.displayName = "Progress";
1799
+ const ia = {
1705
1800
  horizontal: "w-full border-t",
1706
1801
  vertical: "h-full border-l self-stretch"
1707
- }, ra = {
1802
+ }, la = {
1708
1803
  solid: "border-solid",
1709
1804
  dashed: "border-dashed",
1710
1805
  dotted: "border-dotted"
1711
- }, na = M(function(o) {
1806
+ }, oa = W(function(o) {
1712
1807
  var c = o, {
1713
1808
  orientation: a = "horizontal",
1714
1809
  variant: r = "solid",
@@ -1721,8 +1816,8 @@ const ta = {
1721
1816
  const d = n(
1722
1817
  "border-0",
1723
1818
  "border-line-default",
1724
- ta[a],
1725
- ra[r],
1819
+ ia[a],
1820
+ la[r],
1726
1821
  t
1727
1822
  );
1728
1823
  return a === "vertical" ? /* @__PURE__ */ l(
@@ -1741,8 +1836,8 @@ const ta = {
1741
1836
  }, i)
1742
1837
  );
1743
1838
  });
1744
- na.displayName = "Separator";
1745
- function Oa(d) {
1839
+ oa.displayName = "Separator";
1840
+ function Pa(d) {
1746
1841
  var u = d, {
1747
1842
  variant: e = "text",
1748
1843
  width: a,
@@ -1758,7 +1853,7 @@ function Oa(d) {
1758
1853
  "className",
1759
1854
  "aria-label"
1760
1855
  ]);
1761
- const b = [
1856
+ const g = [
1762
1857
  "motion-safe:animate-pulse",
1763
1858
  "bg-surface-muted",
1764
1859
  $("sm")
@@ -1767,16 +1862,16 @@ function Oa(d) {
1767
1862
  card: "h-32",
1768
1863
  list: "h-12",
1769
1864
  circle: $("full")
1770
- }, x = n(...b, m[e], i), f = {};
1865
+ }, x = n(...g, m[e], i), f = {};
1771
1866
  a && (f.width = a), r && (f.height = r);
1772
- const g = o || `Loading ${e} content`;
1867
+ const b = o || `Loading ${e} content`;
1773
1868
  return e === "text" && t > 1 ? /* @__PURE__ */ l(
1774
1869
  "div",
1775
1870
  y(p({
1776
1871
  className: s("sm", "space-y"),
1777
1872
  role: "status",
1778
1873
  "aria-busy": "true",
1779
- "aria-label": g
1874
+ "aria-label": b
1780
1875
  }, c), {
1781
1876
  children: Array.from({ length: t }).map((N, S) => /* @__PURE__ */ l(
1782
1877
  "div",
@@ -1795,11 +1890,11 @@ function Oa(d) {
1795
1890
  style: f,
1796
1891
  role: "status",
1797
1892
  "aria-busy": "true",
1798
- "aria-label": g
1893
+ "aria-label": b
1799
1894
  }, c)
1800
1895
  );
1801
1896
  }
1802
- const sa = {
1897
+ const ca = {
1803
1898
  primary: {
1804
1899
  // exception: variant color — no semantic equivalent (Principle 3, .claude/rules/colors.md)
1805
1900
  light: "text-indigo-400",
@@ -1851,8 +1946,8 @@ const sa = {
1851
1946
  contrast: "text-fg-inverse"
1852
1947
  }
1853
1948
  };
1854
- function ia(b, u) {
1855
- var m = b, {
1949
+ function da(g, u) {
1950
+ var m = g, {
1856
1951
  variant: e = "paragraph",
1857
1952
  bold: a,
1858
1953
  italic: r,
@@ -1885,25 +1980,25 @@ function ia(b, u) {
1885
1980
  f = "p";
1886
1981
  break;
1887
1982
  }
1888
- 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(sa[o][c]), /* @__PURE__ */ l(f, p({ 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));
1889
1984
  }
1890
- const H = F(ia), la = {
1985
+ const _ = F(da), ua = {
1891
1986
  sm: "max-w-screen-sm",
1892
1987
  md: "max-w-screen-md",
1893
1988
  lg: "max-w-screen-lg",
1894
1989
  xl: "max-w-screen-xl",
1895
1990
  "2xl": "max-w-screen-2xl",
1896
1991
  full: "max-w-full"
1897
- }, oa = ce.forwardRef(
1992
+ }, fa = de.forwardRef(
1898
1993
  (u, d) => {
1899
- var b = u, {
1994
+ var g = u, {
1900
1995
  className: e,
1901
1996
  maxWidth: a = "lg",
1902
1997
  paddingX: r = "base",
1903
1998
  paddingY: t = "base",
1904
1999
  center: i = !0,
1905
2000
  children: o
1906
- } = b, c = h(b, [
2001
+ } = g, c = h(g, [
1907
2002
  "className",
1908
2003
  "maxWidth",
1909
2004
  "paddingX",
@@ -1917,7 +2012,7 @@ const H = F(ia), la = {
1917
2012
  ref: d,
1918
2013
  className: n(
1919
2014
  "w-full",
1920
- la[a],
2015
+ ua[a],
1921
2016
  s(r, "px"),
1922
2017
  s(t, "py"),
1923
2018
  i && "mx-auto",
@@ -1929,17 +2024,17 @@ const H = F(ia), la = {
1929
2024
  );
1930
2025
  }
1931
2026
  );
1932
- oa.displayName = "Container";
1933
- const ca = ce.forwardRef(
2027
+ fa.displayName = "Container";
2028
+ const pa = de.forwardRef(
1934
2029
  (u, d) => {
1935
- var b = u, {
2030
+ var g = u, {
1936
2031
  className: e,
1937
2032
  spacing: a = "base",
1938
2033
  align: r = "stretch",
1939
2034
  justify: t = "start",
1940
2035
  direction: i = "column",
1941
2036
  children: o
1942
- } = b, c = h(b, [
2037
+ } = g, c = h(g, [
1943
2038
  "className",
1944
2039
  "spacing",
1945
2040
  "align",
@@ -1978,8 +2073,8 @@ const ca = ce.forwardRef(
1978
2073
  );
1979
2074
  }
1980
2075
  );
1981
- ca.displayName = "Stack";
1982
- function da(i) {
2076
+ pa.displayName = "Stack";
2077
+ function ma(i) {
1983
2078
  var o = i, {
1984
2079
  items: e,
1985
2080
  separator: a = "/",
@@ -1999,10 +2094,10 @@ function da(i) {
1999
2094
  "ol",
2000
2095
  {
2001
2096
  className: n("flex", "items-center", s("sm", "space-x")),
2002
- children: e.map((u, b) => {
2003
- const m = b === e.length - 1;
2097
+ children: e.map((u, g) => {
2098
+ const m = g === e.length - 1;
2004
2099
  return /* @__PURE__ */ v("li", { className: "flex items-center", children: [
2005
- b > 0 && /* @__PURE__ */ l(
2100
+ g > 0 && /* @__PURE__ */ l(
2006
2101
  "span",
2007
2102
  {
2008
2103
  className: n(
@@ -2018,7 +2113,7 @@ function da(i) {
2018
2113
  {
2019
2114
  className: n(
2020
2115
  "text-fg-primary",
2021
- j("label")
2116
+ B("label")
2022
2117
  ),
2023
2118
  "aria-current": "page",
2024
2119
  children: u.label
@@ -2035,7 +2130,7 @@ function da(i) {
2035
2130
  "border-b-2",
2036
2131
  "border-transparent",
2037
2132
  w("bodySmall"),
2038
- j("label"),
2133
+ B("label"),
2039
2134
  "transition-colors",
2040
2135
  "text-fg-secondary",
2041
2136
  "hover:border-line-emphasis",
@@ -2044,12 +2139,68 @@ function da(i) {
2044
2139
  children: u.label
2045
2140
  }
2046
2141
  ) : /* @__PURE__ */ l("span", { className: "text-fg-secondary", children: u.label })
2047
- ] }, b);
2142
+ ] }, g);
2048
2143
  })
2049
2144
  }
2050
2145
  ) }));
2051
2146
  }
2052
- function ua(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) {
2053
2204
  var i = t, { children: e, className: a } = i, r = h(i, ["children", "className"]);
2054
2205
  return /* @__PURE__ */ l(
2055
2206
  "div",
@@ -2067,7 +2218,7 @@ function ua(t) {
2067
2218
  })
2068
2219
  );
2069
2220
  }
2070
- function fa(c) {
2221
+ function xa(c) {
2071
2222
  var d = c, {
2072
2223
  children: e,
2073
2224
  icon: a,
@@ -2099,7 +2250,7 @@ function fa(c) {
2099
2250
  })
2100
2251
  );
2101
2252
  }
2102
- function pa(t) {
2253
+ function ha(t) {
2103
2254
  var i = t, {
2104
2255
  children: e,
2105
2256
  className: a
@@ -2109,7 +2260,7 @@ function pa(t) {
2109
2260
  ]);
2110
2261
  return /* @__PURE__ */ l("p", y(p({ className: n("text-sm text-fg-secondary", a) }, r), { children: e }));
2111
2262
  }
2112
- function ma(t) {
2263
+ function ya(t) {
2113
2264
  var i = t, {
2114
2265
  children: e,
2115
2266
  className: a
@@ -2131,12 +2282,12 @@ function ma(t) {
2131
2282
  })
2132
2283
  );
2133
2284
  }
2134
- function ga(t) {
2285
+ function va(t) {
2135
2286
  var i = t, { children: e, className: a } = i, r = h(i, ["children", "className"]);
2136
2287
  return /* @__PURE__ */ l("div", y(p({ className: n(a) }, r), { children: e }));
2137
2288
  }
2138
- function ba(b) {
2139
- var m = b, {
2289
+ function wa(g) {
2290
+ var m = g, {
2140
2291
  variant: e = "default",
2141
2292
  padding: a = "medium",
2142
2293
  className: r = "",
@@ -2158,24 +2309,24 @@ function ba(b) {
2158
2309
  typeof process != "undefined" && process.env.NODE_ENV !== "production" && c && !i && !o && console.warn(
2159
2310
  "[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."
2160
2311
  );
2161
- const x = A(
2312
+ const x = z(
2162
2313
  n(
2163
2314
  "bg-surface-base",
2164
2315
  $("lg"),
2165
2316
  "border",
2166
2317
  "border-line-default",
2167
- Y("sm")
2318
+ Z("sm")
2168
2319
  ),
2169
2320
  {
2170
2321
  variants: {
2171
2322
  variant: {
2172
2323
  default: "",
2173
2324
  hover: n(
2174
- `hover:${Y("md")}`,
2325
+ `hover:${Z("md")}`,
2175
2326
  "transition-shadow",
2176
2327
  "cursor-pointer"
2177
2328
  ),
2178
- selected: n("border-line-brand", Y("md"))
2329
+ selected: n("border-line-brand", Z("md"))
2179
2330
  },
2180
2331
  padding: {
2181
2332
  none: "",
@@ -2189,9 +2340,9 @@ function ba(b) {
2189
2340
  padding: "medium"
2190
2341
  }
2191
2342
  }
2192
- ), f = t !== void 0, g = f ? "button" : void 0, N = f ? 0 : void 0, S = n(x({ variant: e, padding: a }), r), k = p({
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({
2193
2344
  className: S,
2194
- role: g,
2345
+ role: b,
2195
2346
  tabIndex: N,
2196
2347
  onClick: t,
2197
2348
  onKeyDown: f ? (L) => {
@@ -2200,17 +2351,17 @@ function ba(b) {
2200
2351
  "aria-label": i,
2201
2352
  "aria-labelledby": o
2202
2353
  }, u);
2203
- return c ? /* @__PURE__ */ l("section", y(p({}, k), { children: d })) : /* @__PURE__ */ l("div", y(p({}, k), { children: d }));
2354
+ return c ? /* @__PURE__ */ l("section", y(p({}, C), { children: d })) : /* @__PURE__ */ l("div", y(p({}, C), { children: d }));
2204
2355
  }
2205
- const pe = M(ba);
2206
- pe.displayName = "Card";
2207
- const W = pe;
2208
- W.Header = ua;
2209
- W.Title = fa;
2210
- W.Subtitle = pa;
2211
- W.Actions = ma;
2212
- W.Body = ga;
2213
- function Ba(t) {
2356
+ const me = W(wa);
2357
+ me.displayName = "Card";
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) {
2214
2365
  var i = t, {
2215
2366
  children: e,
2216
2367
  className: a = ""
@@ -2227,7 +2378,7 @@ function Ba(t) {
2227
2378
  })
2228
2379
  );
2229
2380
  }
2230
- function Ma(t) {
2381
+ function Ua(t) {
2231
2382
  var i = t, {
2232
2383
  children: e,
2233
2384
  className: a = ""
@@ -2244,7 +2395,7 @@ function Ma(t) {
2244
2395
  })
2245
2396
  );
2246
2397
  }
2247
- function Ha(t) {
2398
+ function Ka(t) {
2248
2399
  var i = t, {
2249
2400
  children: e,
2250
2401
  className: a = ""
@@ -2266,7 +2417,7 @@ function Ha(t) {
2266
2417
  })
2267
2418
  );
2268
2419
  }
2269
- function Pa(t) {
2420
+ function qa(t) {
2270
2421
  var i = t, {
2271
2422
  children: e,
2272
2423
  className: a = ""
@@ -2291,7 +2442,7 @@ function Pa(t) {
2291
2442
  })
2292
2443
  );
2293
2444
  }
2294
- function Ia(o) {
2445
+ function Xa(o) {
2295
2446
  var c = o, {
2296
2447
  label: e,
2297
2448
  children: a,
@@ -2328,7 +2479,7 @@ function Ia(o) {
2328
2479
  })
2329
2480
  );
2330
2481
  }
2331
- function Wa({ children: e, className: a }) {
2482
+ function Ga({ children: e, className: a }) {
2332
2483
  return /* @__PURE__ */ l(
2333
2484
  "div",
2334
2485
  {
@@ -2341,7 +2492,7 @@ function Wa({ children: e, className: a }) {
2341
2492
  }
2342
2493
  );
2343
2494
  }
2344
- function Ua({
2495
+ function Ya({
2345
2496
  children: e,
2346
2497
  className: a
2347
2498
  }) {
@@ -2360,7 +2511,7 @@ function Ua({
2360
2511
  }
2361
2512
  );
2362
2513
  }
2363
- const xa = A(
2514
+ const Na = z(
2364
2515
  n(
2365
2516
  "w-full flex flex-col",
2366
2517
  s("2xl", "py"),
@@ -2387,14 +2538,14 @@ const xa = A(
2387
2538
  align: "start"
2388
2539
  }
2389
2540
  }
2390
- ), ha = {
2541
+ ), Sa = {
2391
2542
  start: "items-start",
2392
2543
  center: "items-center"
2393
- }, ya = {
2544
+ }, $a = {
2394
2545
  start: "justify-start",
2395
2546
  center: "justify-center"
2396
- }, va = F(
2397
- function(N, g) {
2547
+ }, ka = F(
2548
+ function(N, b) {
2398
2549
  var S = N, {
2399
2550
  kicker: a,
2400
2551
  title: r,
@@ -2404,7 +2555,7 @@ const xa = A(
2404
2555
  meta: c,
2405
2556
  variant: d = "plain",
2406
2557
  align: u = "start",
2407
- className: b,
2558
+ className: g,
2408
2559
  "aria-label": m,
2409
2560
  "aria-labelledby": x
2410
2561
  } = S, f = h(S, [
@@ -2420,15 +2571,15 @@ const xa = A(
2420
2571
  "aria-label",
2421
2572
  "aria-labelledby"
2422
2573
  ]);
2423
- const T = m != null || x != null, k = m != null ? m : typeof r == "string" ? r : void 0;
2574
+ const T = m != null || x != null, C = m != null ? m : typeof r == "string" ? r : void 0;
2424
2575
  return typeof process != "undefined" && process.env.NODE_ENV !== "production" && !T && typeof r != "string" && console.warn(
2425
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."
2426
2577
  ), /* @__PURE__ */ v(
2427
2578
  "section",
2428
2579
  y(p({
2429
- ref: g,
2430
- className: n(xa({ variant: d, align: u }), b),
2431
- "aria-label": k,
2580
+ ref: b,
2581
+ className: n(Na({ variant: d, align: u }), g),
2582
+ "aria-label": C,
2432
2583
  "aria-labelledby": x
2433
2584
  }, f), {
2434
2585
  children: [
@@ -2438,11 +2589,11 @@ const xa = A(
2438
2589
  className: n(
2439
2590
  "flex flex-col",
2440
2591
  s("md", "gap-y"),
2441
- ha[u]
2592
+ Sa[u]
2442
2593
  ),
2443
2594
  children: [
2444
2595
  a ? /* @__PURE__ */ l(
2445
- H,
2596
+ _,
2446
2597
  {
2447
2598
  as: "span",
2448
2599
  variant: "caption",
@@ -2453,7 +2604,7 @@ const xa = A(
2453
2604
  }
2454
2605
  ) : null,
2455
2606
  /* @__PURE__ */ l(
2456
- H,
2607
+ _,
2457
2608
  {
2458
2609
  as: "h1",
2459
2610
  variant: "heading",
@@ -2462,7 +2613,7 @@ const xa = A(
2462
2613
  }
2463
2614
  ),
2464
2615
  t ? /* @__PURE__ */ l(
2465
- H,
2616
+ _,
2466
2617
  {
2467
2618
  as: "p",
2468
2619
  variant: "body",
@@ -2481,14 +2632,14 @@ const xa = A(
2481
2632
  className: n(
2482
2633
  "flex flex-wrap",
2483
2634
  s("sm", "gap"),
2484
- ya[u]
2635
+ $a[u]
2485
2636
  ),
2486
2637
  children: i
2487
2638
  }
2488
2639
  ) : null,
2489
2640
  o ? /* @__PURE__ */ l("div", { className: "w-full", children: o }) : null,
2490
2641
  c ? /* @__PURE__ */ l(
2491
- H,
2642
+ _,
2492
2643
  {
2493
2644
  as: "p",
2494
2645
  variant: "caption",
@@ -2503,8 +2654,8 @@ const xa = A(
2503
2654
  );
2504
2655
  }
2505
2656
  );
2506
- va.displayName = "HeroSection";
2507
- function Ka(r) {
2657
+ ka.displayName = "HeroSection";
2658
+ function Za(r) {
2508
2659
  var t = r, {
2509
2660
  className: e = ""
2510
2661
  } = t, a = h(t, [
@@ -2523,7 +2674,7 @@ function Ka(r) {
2523
2674
  }, a)
2524
2675
  );
2525
2676
  }
2526
- function qa(t) {
2677
+ function Ja(t) {
2527
2678
  var i = t, {
2528
2679
  orientation: e = "horizontal",
2529
2680
  className: a = ""
@@ -2561,7 +2712,7 @@ function qa(t) {
2561
2712
  }, r)
2562
2713
  );
2563
2714
  }
2564
- const wa = A(
2715
+ const Ca = z(
2565
2716
  // Base classes
2566
2717
  n("w-full", "flex", "flex-col", s("sm", "gap")),
2567
2718
  {
@@ -2576,7 +2727,7 @@ const wa = A(
2576
2727
  }
2577
2728
  }
2578
2729
  );
2579
- function Xa(d) {
2730
+ function Qa(d) {
2580
2731
  var u = d, {
2581
2732
  title: e,
2582
2733
  description: a,
@@ -2592,8 +2743,8 @@ function Xa(d) {
2592
2743
  "variant",
2593
2744
  "className"
2594
2745
  ]);
2595
- return /* @__PURE__ */ v("div", y(p({ className: n(wa({ variant: i }), o) }, c), { children: [
2596
- r && r.length > 0 && /* @__PURE__ */ l(da, { 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 }),
2597
2748
  /* @__PURE__ */ v(
2598
2749
  "div",
2599
2750
  {
@@ -2601,7 +2752,7 @@ function Xa(d) {
2601
2752
  children: [
2602
2753
  /* @__PURE__ */ v("div", { className: "flex-1 min-w-0", children: [
2603
2754
  /* @__PURE__ */ l(
2604
- H,
2755
+ _,
2605
2756
  {
2606
2757
  variant: "heading",
2607
2758
  as: "h1",
@@ -2609,7 +2760,7 @@ function Xa(d) {
2609
2760
  children: e
2610
2761
  }
2611
2762
  ),
2612
- a && /* @__PURE__ */ l(H, { variant: "body", className: "text-fg-secondary", children: a })
2763
+ a && /* @__PURE__ */ l(_, { variant: "body", className: "text-fg-secondary", children: a })
2613
2764
  ] }),
2614
2765
  t && /* @__PURE__ */ l(
2615
2766
  "div",
@@ -2623,17 +2774,17 @@ function Xa(d) {
2623
2774
  )
2624
2775
  ] }));
2625
2776
  }
2626
- const Na = {
2777
+ const Ea = {
2627
2778
  start: "items-start text-left",
2628
2779
  center: "items-center text-center"
2629
- }, Sa = {
2780
+ }, Ta = {
2630
2781
  neutral: "text-fg-tertiary",
2631
2782
  success: "text-fg-success",
2632
2783
  warning: "text-fg-warning",
2633
2784
  error: "text-fg-error"
2634
2785
  };
2635
- function Ga(u) {
2636
- var b = u, {
2786
+ function et(u) {
2787
+ var g = u, {
2637
2788
  value: e,
2638
2789
  label: a,
2639
2790
  hint: r,
@@ -2641,7 +2792,7 @@ function Ga(u) {
2641
2792
  align: i = "start",
2642
2793
  tone: o = "neutral",
2643
2794
  className: c
2644
- } = b, d = h(b, [
2795
+ } = g, d = h(g, [
2645
2796
  "value",
2646
2797
  "label",
2647
2798
  "hint",
@@ -2658,7 +2809,7 @@ function Ga(u) {
2658
2809
  "bg-surface-base flex-1 flex flex-col",
2659
2810
  s("base", "p"),
2660
2811
  s("xs", "gap-y"),
2661
- Na[i],
2812
+ Ea[i],
2662
2813
  c
2663
2814
  )
2664
2815
  }, d), {
@@ -2673,17 +2824,17 @@ function Ga(u) {
2673
2824
  }
2674
2825
  ) : /* @__PURE__ */ l("span", { className: "text-fg-primary text-2xl font-semibold leading-tight", children: e }),
2675
2826
  /* @__PURE__ */ l("span", { className: "text-fg-secondary text-sm", children: a }),
2676
- r ? /* @__PURE__ */ l("span", { className: n("text-xs", Sa[o]), children: r }) : null
2827
+ r ? /* @__PURE__ */ l("span", { className: n("text-xs", Ta[o]), children: r }) : null
2677
2828
  ]
2678
2829
  })
2679
2830
  );
2680
2831
  }
2681
- const $a = {
2832
+ const Va = {
2682
2833
  2: "md:grid-cols-2",
2683
2834
  3: "md:grid-cols-3",
2684
2835
  4: "md:grid-cols-4"
2685
2836
  };
2686
- function Ya(c) {
2837
+ function at(c) {
2687
2838
  var d = c, {
2688
2839
  layout: e = "grid",
2689
2840
  cols: a = 4,
@@ -2715,7 +2866,7 @@ function Ya(c) {
2715
2866
  className: n(
2716
2867
  "bg-line-default border border-line-default overflow-hidden gap-px",
2717
2868
  $("lg"),
2718
- u ? `grid grid-cols-2 ${$a[a]}` : "flex"
2869
+ u ? `grid grid-cols-2 ${Va[a]}` : "flex"
2719
2870
  ),
2720
2871
  children: i
2721
2872
  }
@@ -2724,7 +2875,7 @@ function Ya(c) {
2724
2875
  })
2725
2876
  );
2726
2877
  }
2727
- function Za(i) {
2878
+ function tt(i) {
2728
2879
  var o = i, { column: e, row: a, className: r = "" } = o, t = h(o, ["column", "row", "className"]);
2729
2880
  const c = e.key in a ? a[e.key] : void 0;
2730
2881
  return /* @__PURE__ */ l(
@@ -2736,7 +2887,7 @@ function Za(i) {
2736
2887
  })
2737
2888
  );
2738
2889
  }
2739
- const ka = A(n("flex items-center", "border-b"), {
2890
+ const Aa = z(n("flex items-center", "border-b"), {
2740
2891
  variants: {
2741
2892
  variant: {
2742
2893
  default: n("border-line-default", s("base", "gap-x")),
@@ -2746,7 +2897,7 @@ const ka = A(n("flex items-center", "border-b"), {
2746
2897
  defaultVariants: {
2747
2898
  variant: "default"
2748
2899
  }
2749
- }), Ca = A(
2900
+ }), za = z(
2750
2901
  n(
2751
2902
  "relative -mb-px inline-flex items-center",
2752
2903
  s("xs", "gap-x"),
@@ -2794,14 +2945,14 @@ const ka = A(n("flex items-center", "border-b"), {
2794
2945
  active: !1
2795
2946
  }
2796
2947
  }
2797
- ), Ea = n(
2948
+ ), Fa = n(
2798
2949
  "inline-flex items-center justify-center",
2799
2950
  $("full"),
2800
2951
  s("xs", "px"),
2801
2952
  "bg-surface-muted text-fg-secondary text-xs"
2802
- ), Ta = F(
2803
- function(b, u) {
2804
- var m = b, {
2953
+ ), La = F(
2954
+ function(g, u) {
2955
+ var m = g, {
2805
2956
  items: a,
2806
2957
  variant: r = "default",
2807
2958
  linkComponent: t,
@@ -2824,31 +2975,31 @@ const ka = A(n("flex items-center", "border-b"), {
2824
2975
  "nav",
2825
2976
  y(p({
2826
2977
  ref: u,
2827
- className: n(ka({ variant: r }), i),
2978
+ className: n(Aa({ variant: r }), i),
2828
2979
  "aria-label": o,
2829
2980
  "aria-labelledby": c
2830
2981
  }, d), {
2831
- children: a.map((f, g) => /* @__PURE__ */ v(
2982
+ children: a.map((f, b) => /* @__PURE__ */ v(
2832
2983
  x,
2833
2984
  {
2834
2985
  href: f.href,
2835
2986
  "aria-current": f.active ? "page" : void 0,
2836
2987
  "data-active": f.active ? "true" : void 0,
2837
- className: Ca({ variant: r, active: !!f.active }),
2988
+ className: za({ variant: r, active: !!f.active }),
2838
2989
  children: [
2839
2990
  f.icon ? /* @__PURE__ */ l("span", { "aria-hidden": "true", className: "inline-flex shrink-0", children: f.icon }) : null,
2840
2991
  /* @__PURE__ */ l("span", { children: f.label }),
2841
- f.count !== void 0 ? /* @__PURE__ */ l("span", { className: Ea, children: f.count }) : null
2992
+ f.count !== void 0 ? /* @__PURE__ */ l("span", { className: Fa, children: f.count }) : null
2842
2993
  ]
2843
2994
  },
2844
- f.href || g
2995
+ f.href || b
2845
2996
  ))
2846
2997
  })
2847
2998
  );
2848
2999
  }
2849
3000
  );
2850
- Ta.displayName = "TabsAsLinks";
2851
- function Ja({
3001
+ La.displayName = "TabsAsLinks";
3002
+ function rt({
2852
3003
  items: e,
2853
3004
  orientation: a = "vertical",
2854
3005
  className: r = ""
@@ -2869,7 +3020,7 @@ function Ja({
2869
3020
  border-2
2870
3021
  ${o === "completed" ? "bg-success border-success text-fg-inverse" : o === "active" ? "bg-surface-brand-strong border-line-brand text-fg-inverse" : o === "error" ? "bg-error border-error text-fg-inverse" : "bg-surface-base border-line-emphasis text-fg-quaternary"}
2871
3022
  `,
2872
- children: t.icon || (o === "completed" ? /* @__PURE__ */ l(ne, { className: "h-4 w-4" }) : i + 1)
3023
+ children: t.icon || (o === "completed" ? /* @__PURE__ */ l(se, { className: "h-4 w-4" }) : i + 1)
2873
3024
  })
2874
3025
  ),
2875
3026
  !c && /* @__PURE__ */ l(
@@ -2929,7 +3080,7 @@ function Ja({
2929
3080
  border-2
2930
3081
  ${o === "completed" ? "bg-success border-success text-fg-inverse" : o === "active" ? "bg-surface-brand-strong border-line-brand text-fg-inverse" : o === "error" ? "bg-error border-error text-fg-inverse" : "bg-surface-base border-line-emphasis text-fg-quaternary"}
2931
3082
  `,
2932
- children: t.icon || (o === "completed" ? /* @__PURE__ */ l(ne, { className: "h-4 w-4" }) : i + 1)
3083
+ children: t.icon || (o === "completed" ? /* @__PURE__ */ l(se, { className: "h-4 w-4" }) : i + 1)
2933
3084
  })
2934
3085
  ),
2935
3086
  !c && /* @__PURE__ */ l(
@@ -2980,43 +3131,45 @@ function Ja({
2980
3131
  }) });
2981
3132
  }
2982
3133
  export {
2983
- Ee as Badge,
2984
- da as Breadcrumb,
2985
- Ie as Button,
2986
- W as Card,
2987
- ma as CardActions,
2988
- ga as CardBody,
2989
- ua as CardHeader,
2990
- pa as CardSubtitle,
2991
- fa as CardTitle,
2992
- We as Chip,
2993
- oa as Container,
2994
- Ke as DataBadge,
2995
- Ma as DialogFooter,
2996
- Ba as DialogHeader,
2997
- Pa as DrawerFooter,
2998
- Ha as DrawerHeader,
2999
- ja as ErrorMessage,
3000
- Ia as FilterChips,
3001
- Wa as HeaderActions,
3002
- Ua as HeaderNavigation,
3003
- va as HeroSection,
3004
- Ra as Info,
3005
- Ge as InputBase,
3006
- Je as Label,
3007
- Ka as MenuSeparator,
3008
- qa as NavbarSeparator,
3009
- Xa as PageHeader,
3010
- aa as Progress,
3011
- na as Separator,
3012
- Oa as Skeleton,
3013
- fe as Spinner,
3014
- ca as Stack,
3015
- Ga as Stat,
3016
- Ya as StatGroup,
3017
- Za as TableCell,
3018
- Ta as TabsAsLinks,
3019
- H as Text,
3020
- Ja as Timeline
3134
+ Ee as AvatarBase,
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,
3166
+ pe as Spinner,
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
3021
3174
  };
3022
3175
  //# sourceMappingURL=index.js.map