@fabio.caffarello/react-design-system 4.6.0 → 4.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,33 +1,33 @@
1
- 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, m = (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 L, memo as M } 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,19 +83,120 @@ 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
  }
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 = L(
121
+ function(x, p) {
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, b = h(f, [
132
+ "src",
133
+ "alt",
134
+ "fallback",
135
+ "size",
136
+ "variant",
137
+ "loading",
138
+ "aria-label",
139
+ "className"
140
+ ]);
141
+ const g = !a, w = typeof t == "string" ? t.toUpperCase().slice(0, 2) : t, N = d || r || "User avatar";
142
+ return /* @__PURE__ */ v(
143
+ "div",
144
+ y(m({
145
+ ref: p,
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": N
162
+ }, b), {
163
+ children: [
164
+ !g && /* @__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
+ g && /* @__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: w || "?"
192
+ }
193
+ )
194
+ ]
195
+ })
196
+ );
197
+ }
198
+ );
199
+ Ee.displayName = "AvatarBase";
99
200
  class C {
100
201
  // 4px base
101
202
  /**
@@ -163,8 +264,8 @@ class C {
163
264
  }[a] || String(a);
164
265
  }
165
266
  }
166
- re(C, "BASE_UNIT", 4);
167
- const ke = {
267
+ ne(C, "BASE_UNIT", 4);
268
+ const Te = {
168
269
  // Micro spacing (0-14px)
169
270
  none: C.create(0),
170
271
  "0.5": C.create(0.5),
@@ -202,7 +303,7 @@ const ke = {
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",
@@ -296,7 +397,7 @@ class E {
296
397
  }
297
398
  }
298
399
  E.createFontWeight("light"), E.createFontWeight("normal"), E.createFontWeight("medium"), E.createFontWeight("semibold"), E.createFontWeight("bold");
299
- const J = {
400
+ const Q = {
300
401
  // Headings
301
402
  h1: E.create("4xl", "tight", "bold"),
302
403
  h2: E.create("3xl", "tight", "bold"),
@@ -314,31 +415,22 @@ const J = {
314
415
  button: E.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
- function w(e) {
321
- return J[e].fontSize.tailwind;
421
+ function S(e) {
422
+ return Q[e].fontSize.tailwind;
322
423
  }
323
- function j(e) {
324
- return J[e].fontWeight.tailwind;
424
+ function _(e) {
425
+ return Q[e].fontWeight.tailwind;
325
426
  }
326
- function n(...e) {
327
- return ye(he(e));
328
- }
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(
427
+ const Ve = z(
336
428
  // Base classes
337
429
  n(
338
430
  "inline-flex",
339
431
  "items-center",
340
432
  "justify-center",
341
- j("label"),
433
+ _("label"),
342
434
  $("md"),
343
435
  "border"
344
436
  ),
@@ -357,17 +449,17 @@ const A = (e, a) => {
357
449
  sm: n(
358
450
  s("1.5", "px"),
359
451
  s("0.5", "py"),
360
- w("caption")
452
+ S("caption")
361
453
  ),
362
454
  md: n(
363
455
  s("sm", "px"),
364
456
  s("xs", "py"),
365
- w("caption")
457
+ S("caption")
366
458
  ),
367
459
  lg: n(
368
460
  s("sm", "px"),
369
461
  s("xs", "py"),
370
- w("bodySmall")
462
+ S("bodySmall")
371
463
  )
372
464
  },
373
465
  style: {
@@ -470,16 +562,16 @@ const A = (e, a) => {
470
562
  style: "solid"
471
563
  }
472
564
  }
473
- ), Ee = M(
474
- F(function(b, u) {
475
- var m = b, {
565
+ ), Ae = M(
566
+ L(function(b, u) {
567
+ var p = b, {
476
568
  variant: a = "neutral",
477
569
  size: r = "md",
478
570
  style: t = "solid",
479
571
  className: i = "",
480
572
  children: o,
481
573
  "aria-label": c
482
- } = m, d = h(m, [
574
+ } = p, d = h(p, [
483
575
  "variant",
484
576
  "size",
485
577
  "style",
@@ -487,7 +579,7 @@ const A = (e, a) => {
487
579
  "children",
488
580
  "aria-label"
489
581
  ]);
490
- const x = n(Ce({ variant: a, size: r, style: t }), i);
582
+ const x = n(Ve({ variant: a, size: r, style: t }), i);
491
583
  let f;
492
584
  if (c)
493
585
  f = c;
@@ -499,7 +591,7 @@ const A = (e, a) => {
499
591
  }
500
592
  return /* @__PURE__ */ l(
501
593
  "span",
502
- y(p({
594
+ y(m({
503
595
  ref: u,
504
596
  role: "status",
505
597
  "aria-label": f,
@@ -510,107 +602,107 @@ const A = (e, a) => {
510
602
  );
511
603
  })
512
604
  );
513
- Ee.displayName = "Badge";
514
- function se(e, a) {
605
+ Ae.displayName = "Badge";
606
+ function ie(e, a) {
515
607
  if (typeof e == "function")
516
608
  return e(a);
517
609
  e != null && (e.current = a);
518
610
  }
519
- function Te(...e) {
611
+ function ze(...e) {
520
612
  return (a) => {
521
613
  let r = !1;
522
614
  const t = e.map((i) => {
523
- const o = se(i, a);
615
+ const o = ie(i, a);
524
616
  return !r && typeof o == "function" && (r = !0), o;
525
617
  });
526
618
  if (r)
527
619
  return () => {
528
620
  for (let i = 0; i < t.length; i++) {
529
621
  const o = t[i];
530
- typeof o == "function" ? o() : se(e[i], null);
622
+ typeof o == "function" ? o() : ie(e[i], null);
531
623
  }
532
624
  };
533
625
  };
534
626
  }
535
- function Ve(...e) {
536
- return z.useCallback(Te(...e), e);
627
+ function Le(...e) {
628
+ return A.useCallback(ze(...e), e);
537
629
  }
538
630
  // @__NO_SIDE_EFFECTS__
539
- function ze(e) {
540
- const a = z.forwardRef((r, t) => {
631
+ function Fe(e) {
632
+ const a = A.forwardRef((r, t) => {
541
633
  var g;
542
634
  let f = r, { children: i } = f, o = h(f, ["children"]), c = null, d = !1;
543
635
  const u = [];
544
- ie(i) && typeof q == "function" && (i = q(i._payload)), z.Children.forEach(i, (N) => {
545
- var S;
546
- if (je(N)) {
636
+ le(i) && typeof q == "function" && (i = q(i._payload)), A.Children.forEach(i, (w) => {
637
+ var N;
638
+ if (Oe(w)) {
547
639
  d = !0;
548
- const T = N;
640
+ const T = w;
549
641
  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);
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);
551
643
  } else
552
- u.push(N);
553
- }), c ? c = z.cloneElement(c, void 0, u) : (
644
+ u.push(w);
645
+ }), c ? c = A.cloneElement(c, void 0, u) : (
554
646
  // A `Slottable` was found but it didn't resolve to a single element (e.g.
555
647
  // it wrapped multiple elements, text, or a render-prop `child` that
556
648
  // wasn't an element). Don't fall back to treating the `Slottable` wrapper
557
649
  // itself as the slot target — throw a descriptive error below instead.
558
- !d && z.Children.count(i) === 1 && z.isValidElement(i) && (c = i)
650
+ !d && A.Children.count(i) === 1 && A.isValidElement(i) && (c = i)
559
651
  );
560
- const b = c ? _e(c) : void 0, m = Ve(t, b);
652
+ const b = c ? Be(c) : void 0, p = Le(t, b);
561
653
  if (!c) {
562
654
  if (i || i === 0)
563
655
  throw new Error(
564
- d ? Me(e) : Be(e)
656
+ d ? Ie(e) : Pe(e)
565
657
  );
566
658
  return i;
567
659
  }
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);
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);
570
662
  });
571
663
  return a.displayName = `${e}.Slot`, a;
572
664
  }
573
- var de = /* @__PURE__ */ ze("Slot"), ue = /* @__PURE__ */ Symbol.for("radix.slottable");
665
+ var ue = /* @__PURE__ */ Fe("Slot"), fe = /* @__PURE__ */ Symbol.for("radix.slottable");
574
666
  // @__NO_SIDE_EFFECTS__
575
- function Ae(e) {
667
+ function De(e) {
576
668
  const a = (r) => "child" in r ? r.children(r.child) : r.children;
577
- return a.displayName = `${e}.Slottable`, a.__radixId = ue, a;
669
+ return a.displayName = `${e}.Slottable`, a.__radixId = fe, a;
578
670
  }
579
- var Le = /* @__PURE__ */ Ae("Slottable"), De = (e, a) => {
671
+ var je = /* @__PURE__ */ De("Slottable"), _e = (e, a) => {
580
672
  if ("child" in e.props) {
581
673
  const r = e.props.child;
582
- return z.isValidElement(r) ? z.cloneElement(r, void 0, e.props.children(r.props.children)) : null;
674
+ return A.isValidElement(r) ? A.cloneElement(r, void 0, e.props.children(r.props.children)) : null;
583
675
  }
584
- return z.isValidElement(a) ? a : null;
676
+ return A.isValidElement(a) ? a : null;
585
677
  };
586
- function Fe(e, a) {
587
- const r = p({}, a);
678
+ function Re(e, a) {
679
+ const r = m({}, a);
588
680
  for (const t in a) {
589
681
  const i = e[t], o = a[t];
590
682
  /^on[A-Z]/.test(t) ? i && o ? r[t] = (...d) => {
591
683
  const u = o(...d);
592
684
  return i(...d), u;
593
- } : i && (r[t] = i) : t === "style" ? r[t] = p(p({}, i), o) : t === "className" && (r[t] = [i, o].filter(Boolean).join(" "));
685
+ } : i && (r[t] = i) : t === "style" ? r[t] = m(m({}, i), o) : t === "className" && (r[t] = [i, o].filter(Boolean).join(" "));
594
686
  }
595
- return p(p({}, e), r);
687
+ return m(m({}, e), r);
596
688
  }
597
- function _e(e) {
689
+ function Be(e) {
598
690
  var t, i;
599
691
  let a = (t = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : t.get, r = a && "isReactWarning" in a && a.isReactWarning;
600
692
  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
693
  }
602
- function je(e) {
603
- return z.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === ue;
694
+ function Oe(e) {
695
+ return A.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === fe;
604
696
  }
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);
697
+ var Me = /* @__PURE__ */ Symbol.for("react.lazy");
698
+ function le(e) {
699
+ return e != null && typeof e == "object" && "$$typeof" in e && e.$$typeof === Me && "_payload" in e && He(e._payload);
608
700
  }
609
- function Oe(e) {
701
+ function He(e) {
610
702
  return typeof e == "object" && e !== null && "then" in e;
611
703
  }
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", {
704
+ 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", {
614
706
  variants: {
615
707
  size: {
616
708
  sm: "h-4 w-4",
@@ -627,7 +719,7 @@ const He = A("motion-safe:animate-spin", {
627
719
  size: "md",
628
720
  variant: "primary"
629
721
  }
630
- }), fe = M(function(c) {
722
+ }), pe = M(function(c) {
631
723
  var d = c, {
632
724
  size: a = "md",
633
725
  variant: r = "primary",
@@ -641,7 +733,7 @@ const He = A("motion-safe:animate-spin", {
641
733
  ]);
642
734
  return /* @__PURE__ */ v(
643
735
  "div",
644
- y(p({
736
+ y(m({
645
737
  className: n("inline-flex", "items-center", i),
646
738
  role: "status",
647
739
  "aria-label": t || "Loading",
@@ -649,9 +741,9 @@ const He = A("motion-safe:animate-spin", {
649
741
  }, o), {
650
742
  children: [
651
743
  /* @__PURE__ */ l(
652
- we,
744
+ Ne,
653
745
  {
654
- className: n(He({ size: a, variant: r })),
746
+ className: n(We({ size: a, variant: r })),
655
747
  "aria-hidden": "true"
656
748
  }
657
749
  ),
@@ -660,7 +752,7 @@ const He = A("motion-safe:animate-spin", {
660
752
  {
661
753
  className: n(
662
754
  s("sm", "ml"),
663
- w("bodySmall"),
755
+ S("bodySmall"),
664
756
  "text-fg-secondary",
665
757
  "sr-only"
666
758
  ),
@@ -671,8 +763,8 @@ const He = A("motion-safe:animate-spin", {
671
763
  })
672
764
  );
673
765
  });
674
- fe.displayName = "Spinner";
675
- const Pe = A(
766
+ pe.displayName = "Spinner";
767
+ const Ue = z(
676
768
  // Base classes
677
769
  n(
678
770
  "inline-flex",
@@ -769,19 +861,19 @@ const Pe = A(
769
861
  sm: n(
770
862
  s("md", "px"),
771
863
  s("1.5", "py"),
772
- w("bodySmall"),
864
+ S("bodySmall"),
773
865
  s("1.5", "gap")
774
866
  ),
775
867
  md: n(
776
868
  s("base", "px"),
777
869
  s("sm", "py"),
778
- w("body"),
870
+ S("body"),
779
871
  s("sm", "gap")
780
872
  ),
781
873
  lg: n(
782
874
  s("lg", "px"),
783
875
  s("md", "py"),
784
- w("bodyLarge"),
876
+ S("bodyLarge"),
785
877
  s("2.5", "gap")
786
878
  )
787
879
  }
@@ -843,9 +935,9 @@ function X({
843
935
  }
844
936
  ) : null;
845
937
  }
846
- const Ie = M(
847
- F(function(k, T) {
848
- var L = k, {
938
+ const Ke = M(
939
+ L(function(k, T) {
940
+ var F = k, {
849
941
  variant: a = "primary",
850
942
  size: r = "md",
851
943
  isLoading: t = !1,
@@ -855,12 +947,12 @@ const Ie = M(
855
947
  rightIcon: d,
856
948
  fullWidth: u = !1,
857
949
  asChild: b = !1,
858
- as: m,
950
+ as: p,
859
951
  className: x = "",
860
952
  disabled: f = !1,
861
953
  children: g,
862
- "aria-label": N
863
- } = L, S = h(L, [
954
+ "aria-label": w
955
+ } = F, N = h(F, [
864
956
  "variant",
865
957
  "size",
866
958
  "isLoading",
@@ -876,37 +968,37 @@ const Ie = M(
876
968
  "children",
877
969
  "aria-label"
878
970
  ]);
879
- typeof process != "undefined" && process.env.NODE_ENV !== "production" && b && m !== void 0 && m !== "button" && console.warn(
971
+ typeof process != "undefined" && process.env.NODE_ENV !== "production" && b && p !== void 0 && p !== "button" && console.warn(
880
972
  "[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
973
  );
882
- const R = b ? de : m != null ? m : "button", O = n(
883
- Pe({ variant: a, size: r }),
974
+ const R = b ? ue : p != null ? p : "button", B = n(
975
+ Ue({ variant: a, size: r }),
884
976
  u && "w-full",
885
977
  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({
887
- className: O,
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,
888
980
  disabled: f || t,
889
981
  "aria-busy": t,
890
982
  "aria-label": I,
891
983
  "aria-disabled": f || t
892
- }, Q ? { type: Q } : {}), S);
893
- return b ? /* @__PURE__ */ v(R, y(p({ ref: T }, ee), { children: [
984
+ }, ee ? { type: ee } : {}), N);
985
+ return b ? /* @__PURE__ */ v(R, y(m({ ref: T }, ae), { children: [
894
986
  c && /* @__PURE__ */ l(X, { position: "left", children: c }),
895
- /* @__PURE__ */ l(Le, { children: g }),
987
+ /* @__PURE__ */ l(je, { children: g }),
896
988
  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,
989
+ ] })) : /* @__PURE__ */ l(R, y(m({ ref: T }, ae), { children: t ? /* @__PURE__ */ v(J, { children: [
990
+ ge,
899
991
  i && /* @__PURE__ */ l("span", { className: s("sm", "ml"), children: i }),
900
992
  !i && g && /* @__PURE__ */ l("span", { className: `${s("sm", "ml")} opacity-0`, children: g })
901
- ] }) : /* @__PURE__ */ v(Z, { children: [
993
+ ] }) : /* @__PURE__ */ v(J, { children: [
902
994
  c && /* @__PURE__ */ l(X, { position: "left", children: c }),
903
995
  g,
904
996
  d && /* @__PURE__ */ l(X, { position: "right", children: d })
905
997
  ] }) }));
906
998
  })
907
999
  );
908
- Ie.displayName = "Button";
909
- const le = A(
1000
+ Ke.displayName = "Button";
1001
+ const oe = z(
910
1002
  // Base classes
911
1003
  n(
912
1004
  "inline-flex",
@@ -941,17 +1033,17 @@ const le = A(
941
1033
  sm: n(
942
1034
  s("xs", "px"),
943
1035
  s("xs", "py"),
944
- w("caption")
1036
+ S("caption")
945
1037
  ),
946
1038
  md: n(
947
1039
  s("sm", "px"),
948
1040
  s("xs", "py"),
949
- w("bodySmall")
1041
+ S("bodySmall")
950
1042
  ),
951
1043
  lg: n(
952
1044
  s("md", "px"),
953
1045
  s("sm", "py"),
954
- w("body")
1046
+ S("body")
955
1047
  )
956
1048
  },
957
1049
  selected: {
@@ -995,7 +1087,7 @@ const le = A(
995
1087
  disabled: !1
996
1088
  }
997
1089
  }
998
- ), We = F(function(a, r) {
1090
+ ), qe = L(function(a, r) {
999
1091
  const {
1000
1092
  children: t,
1001
1093
  variant: i = "default",
@@ -1004,7 +1096,7 @@ const le = A(
1004
1096
  disabled: d = !1,
1005
1097
  className: u = "",
1006
1098
  "aria-label": b,
1007
- tabIndex: m,
1099
+ tabIndex: p,
1008
1100
  asChild: x = !1
1009
1101
  } = a, g = (() => {
1010
1102
  if (b) return b;
@@ -1017,22 +1109,22 @@ const le = A(
1017
1109
  })();
1018
1110
  if (x)
1019
1111
  return /* @__PURE__ */ l(
1020
- de,
1112
+ ue,
1021
1113
  {
1022
1114
  ref: r,
1023
1115
  className: n(
1024
- le({ variant: i, size: o, selected: c, disabled: d }),
1116
+ oe({ variant: i, size: o, selected: c, disabled: d }),
1025
1117
  u
1026
1118
  ),
1027
1119
  "aria-label": b,
1028
1120
  "aria-disabled": d || void 0,
1029
- tabIndex: m,
1121
+ tabIndex: p,
1030
1122
  children: t
1031
1123
  }
1032
1124
  );
1033
- const { onRemove: N, onClick: S, count: T } = a, k = S !== void 0, L = k && !d, R = (V) => {
1034
- d || (V.key === "Enter" || V.key === " ") && (V.preventDefault(), S == null || S());
1035
- }, O = T !== void 0, P = c || i === "filled", I = O ? /* @__PURE__ */ l(
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(
1036
1128
  "span",
1037
1129
  {
1038
1130
  "aria-hidden": k || void 0,
@@ -1045,20 +1137,20 @@ const le = A(
1045
1137
  $("full"),
1046
1138
  s("xs", "px"),
1047
1139
  s("0.5", "py"),
1048
- w("caption"),
1049
- j("label"),
1140
+ S("caption"),
1141
+ _("label"),
1050
1142
  P ? n("bg-surface-base", "text-fg-brand-emphasis") : n("bg-surface-brand-strong", "text-fg-inverse")
1051
1143
  ),
1052
1144
  children: T
1053
1145
  }
1054
- ) : null, U = O && g !== void 0 ? `${g}, ${T}` : g;
1146
+ ) : null, U = B && g !== void 0 ? `${g}, ${T}` : g;
1055
1147
  return /* @__PURE__ */ v(
1056
1148
  "div",
1057
1149
  {
1058
1150
  ref: r,
1059
1151
  className: n(
1060
- le({ variant: i, size: o, selected: c, disabled: d }),
1061
- N && s("xs", "pr"),
1152
+ oe({ variant: i, size: o, selected: c, disabled: d }),
1153
+ w && s("xs", "pr"),
1062
1154
  u
1063
1155
  ),
1064
1156
  "aria-disabled": d,
@@ -1067,12 +1159,12 @@ const le = A(
1067
1159
  "button",
1068
1160
  {
1069
1161
  type: "button",
1070
- onClick: d ? void 0 : S,
1162
+ onClick: d ? void 0 : N,
1071
1163
  onKeyDown: R,
1072
1164
  disabled: d,
1073
1165
  "aria-pressed": c ? !0 : void 0,
1074
1166
  "aria-label": b || U,
1075
- tabIndex: m !== void 0 ? m : L ? 0 : void 0,
1167
+ tabIndex: p !== void 0 ? p : F ? 0 : void 0,
1076
1168
  className: n(
1077
1169
  "flex-1",
1078
1170
  "bg-transparent",
@@ -1091,12 +1183,12 @@ const le = A(
1091
1183
  }
1092
1184
  ) : /* @__PURE__ */ l("span", { children: t }),
1093
1185
  I,
1094
- N && !d && /* @__PURE__ */ l(
1186
+ w && !d && /* @__PURE__ */ l(
1095
1187
  "button",
1096
1188
  {
1097
1189
  type: "button",
1098
1190
  onClick: (V) => {
1099
- V.stopPropagation(), N();
1191
+ V.stopPropagation(), w();
1100
1192
  },
1101
1193
  className: n(
1102
1194
  s("xs", "ml"),
@@ -1110,15 +1202,15 @@ const le = A(
1110
1202
  "focus:ring-offset-1"
1111
1203
  ),
1112
1204
  "aria-label": `Remove ${g || "chip"}`,
1113
- children: /* @__PURE__ */ l(Ne, { className: "h-3 w-3", "aria-hidden": "true" })
1205
+ children: /* @__PURE__ */ l(Se, { className: "h-3 w-3", "aria-hidden": "true" })
1114
1206
  }
1115
1207
  )
1116
1208
  ]
1117
1209
  }
1118
1210
  );
1119
1211
  });
1120
- We.displayName = "Chip";
1121
- const Ue = A(
1212
+ qe.displayName = "Chip";
1213
+ const Xe = z(
1122
1214
  n("inline-flex", "items-center", "border", $("md")),
1123
1215
  {
1124
1216
  variants: {
@@ -1163,16 +1255,16 @@ const Ue = A(
1163
1255
  },
1164
1256
  defaultVariants: { tone: "neutral", size: "md" }
1165
1257
  }
1166
- ), Ke = M(
1167
- F(function(b, u) {
1168
- var m = b, {
1258
+ ), Ge = M(
1259
+ L(function(b, u) {
1260
+ var p = b, {
1169
1261
  label: a,
1170
1262
  source: r,
1171
1263
  tone: t = "neutral",
1172
1264
  size: i = "md",
1173
1265
  icon: o,
1174
1266
  className: c = ""
1175
- } = m, d = h(m, [
1267
+ } = p, d = h(p, [
1176
1268
  "label",
1177
1269
  "source",
1178
1270
  "tone",
@@ -1183,9 +1275,9 @@ const Ue = A(
1183
1275
  const x = r != null && r !== "", f = i === "sm" ? "caption" : "bodySmall";
1184
1276
  return /* @__PURE__ */ v(
1185
1277
  "span",
1186
- y(p({
1278
+ y(m({
1187
1279
  ref: u,
1188
- className: n(Ue({ tone: t, size: i }), c)
1280
+ className: n(Xe({ tone: t, size: i }), c)
1189
1281
  }, d), {
1190
1282
  children: [
1191
1283
  o ? /* @__PURE__ */ l(
@@ -1200,20 +1292,20 @@ const Ue = A(
1200
1292
  "span",
1201
1293
  {
1202
1294
  className: n(
1203
- w(f),
1204
- j("label")
1295
+ S(f),
1296
+ _("label")
1205
1297
  ),
1206
1298
  children: a
1207
1299
  }
1208
1300
  ),
1209
- x ? /* @__PURE__ */ v(Z, { children: [
1210
- /* @__PURE__ */ l("span", { "aria-hidden": "true", className: w("caption"), children: "·" }),
1301
+ x ? /* @__PURE__ */ v(J, { children: [
1302
+ /* @__PURE__ */ l("span", { "aria-hidden": "true", className: S("caption"), children: "·" }),
1211
1303
  /* @__PURE__ */ l(
1212
1304
  "span",
1213
1305
  {
1214
1306
  className: n(
1215
- w("caption"),
1216
- j("caption")
1307
+ S("caption"),
1308
+ _("caption")
1217
1309
  ),
1218
1310
  children: r
1219
1311
  }
@@ -1224,8 +1316,8 @@ const Ue = A(
1224
1316
  );
1225
1317
  })
1226
1318
  );
1227
- Ke.displayName = "DataBadge";
1228
- function ja(i) {
1319
+ Ge.displayName = "DataBadge";
1320
+ function Oa(i) {
1229
1321
  var o = i, {
1230
1322
  message: e,
1231
1323
  id: a,
@@ -1237,18 +1329,18 @@ function ja(i) {
1237
1329
  ]);
1238
1330
  const c = [
1239
1331
  s("xs", "mt"),
1240
- w("bodySmall"),
1332
+ S("bodySmall"),
1241
1333
  "text-fg-error",
1242
1334
  "flex",
1243
1335
  "items-center",
1244
1336
  s("xs", "gap")
1245
1337
  ], d = n(...c, r);
1246
- 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" }),
1338
+ return /* @__PURE__ */ v("div", y(m({ role: "alert", id: a, className: d, "aria-live": "polite" }, t), { children: [
1339
+ /* @__PURE__ */ l($e, { className: "h-4 w-4 shrink-0", "aria-hidden": "true" }),
1248
1340
  /* @__PURE__ */ l("span", { children: e })
1249
1341
  ] }));
1250
1342
  }
1251
- function Ra(t) {
1343
+ function Ma(t) {
1252
1344
  var i = t, {
1253
1345
  variant: e = "info",
1254
1346
  className: a
@@ -1263,7 +1355,7 @@ function Ra(t) {
1263
1355
  };
1264
1356
  return /* @__PURE__ */ l(
1265
1357
  "div",
1266
- p({
1358
+ m({
1267
1359
  role: "alert",
1268
1360
  className: n(
1269
1361
  "border",
@@ -1276,7 +1368,7 @@ function Ra(t) {
1276
1368
  }, r)
1277
1369
  );
1278
1370
  }
1279
- const qe = A(
1371
+ const Ye = z(
1280
1372
  n(
1281
1373
  "w-full",
1282
1374
  $("md"),
@@ -1312,17 +1404,17 @@ const qe = A(
1312
1404
  size: {
1313
1405
  sm: n(
1314
1406
  "h-8",
1315
- w("bodySmall"),
1407
+ S("bodySmall"),
1316
1408
  s("md", "px")
1317
1409
  ),
1318
1410
  md: n(
1319
1411
  "h-10",
1320
- w("body"),
1412
+ S("body"),
1321
1413
  s("base", "px")
1322
1414
  ),
1323
1415
  lg: n(
1324
1416
  "h-12",
1325
- w("bodyLarge"),
1417
+ S("bodyLarge"),
1326
1418
  s("lg", "px")
1327
1419
  )
1328
1420
  },
@@ -1343,7 +1435,7 @@ const qe = A(
1343
1435
  }
1344
1436
  }
1345
1437
  );
1346
- function Xe({
1438
+ function Ze({
1347
1439
  error: e,
1348
1440
  success: a,
1349
1441
  helperText: r,
@@ -1367,8 +1459,8 @@ function Xe({
1367
1459
  }
1368
1460
  );
1369
1461
  }
1370
- const Ge = F(
1371
- function(T, S) {
1462
+ const Je = L(
1463
+ function(T, N) {
1372
1464
  var k = T, {
1373
1465
  id: a,
1374
1466
  label: r,
@@ -1379,11 +1471,11 @@ const Ge = F(
1379
1471
  variant: d = "outlined",
1380
1472
  leftIcon: u,
1381
1473
  rightIcon: b,
1382
- rightSlot: m,
1474
+ rightSlot: p,
1383
1475
  className: x = "",
1384
1476
  disabled: f = !1,
1385
1477
  type: g = "text"
1386
- } = k, N = h(k, [
1478
+ } = k, w = h(k, [
1387
1479
  "id",
1388
1480
  "label",
1389
1481
  "error",
@@ -1401,13 +1493,13 @@ const Ge = F(
1401
1493
  typeof process != "undefined" && process.env.NODE_ENV !== "production" && r && !a && console.warn(
1402
1494
  "[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
1495
  );
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 }),
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 }),
1406
1498
  // Icon padding — `pl-9` / `pr-9` aren't on the spacing scale (no
1407
1499
  // semantic key for 36px) so they stay raw at the `sm` size; md/lg use
1408
1500
  // the getter. Mirrors the original Input contract.
1409
1501
  u && (c === "sm" ? "pl-9" : s(c === "lg" ? "3xl" : "2xl", "pl")),
1410
- (b || m) && (c === "sm" ? "pr-9" : s(c === "lg" ? "3xl" : "2xl", "pr")),
1502
+ (b || p) && (c === "sm" ? "pr-9" : s(c === "lg" ? "3xl" : "2xl", "pr")),
1411
1503
  x
1412
1504
  ), V = n(
1413
1505
  "block",
@@ -1427,23 +1519,23 @@ const Ge = F(
1427
1519
  ),
1428
1520
  /* @__PURE__ */ l(
1429
1521
  "input",
1430
- p({
1522
+ m({
1431
1523
  id: a,
1432
- ref: S,
1524
+ ref: N,
1433
1525
  type: g,
1434
1526
  className: U,
1435
1527
  disabled: f,
1436
1528
  "aria-invalid": t,
1437
- "aria-required": N.required,
1438
- "aria-describedby": R || O,
1529
+ "aria-required": w.required,
1530
+ "aria-describedby": R || B,
1439
1531
  suppressHydrationWarning: !0
1440
- }, N)
1532
+ }, w)
1441
1533
  ),
1442
- (b || m) && /* @__PURE__ */ l(
1534
+ (b || p) && /* @__PURE__ */ l(
1443
1535
  "div",
1444
1536
  {
1445
1537
  className: `absolute right-3 top-0 bottom-0 flex items-center ${s("xs", "gap")}`,
1446
- children: m != null ? m : /* @__PURE__ */ l(
1538
+ children: p != null ? p : /* @__PURE__ */ l(
1447
1539
  "div",
1448
1540
  {
1449
1541
  className: `text-fg-secondary opacity-60 pointer-events-none ${P}`,
@@ -1454,25 +1546,25 @@ const Ge = F(
1454
1546
  )
1455
1547
  ] }),
1456
1548
  (t || i || o) && /* @__PURE__ */ l(
1457
- Xe,
1549
+ Ze,
1458
1550
  {
1459
1551
  error: t,
1460
1552
  success: i,
1461
1553
  helperText: o,
1462
1554
  errorId: R,
1463
- helperId: O
1555
+ helperId: B
1464
1556
  }
1465
1557
  )
1466
1558
  ] });
1467
1559
  }
1468
1560
  );
1469
- Ge.displayName = "InputBase";
1470
- const Ye = n(
1561
+ Je.displayName = "InputBase";
1562
+ const Qe = n(
1471
1563
  "block",
1472
- w("label"),
1473
- j("label"),
1564
+ S("label"),
1565
+ _("label"),
1474
1566
  "text-fg-primary"
1475
- ), Ze = {
1567
+ ), ea = {
1476
1568
  default: "",
1477
1569
  required: n(
1478
1570
  "after:content-['*']",
@@ -1485,19 +1577,19 @@ const Ye = n(
1485
1577
  "after:text-fg-tertiary",
1486
1578
  "after:font-normal"
1487
1579
  )
1488
- }, Je = M(
1489
- F(function(c, o) {
1580
+ }, aa = M(
1581
+ L(function(c, o) {
1490
1582
  var d = c, { variant: a = "default", className: r = "", children: t } = d, i = h(d, ["variant", "className", "children"]);
1491
1583
  const u = n(
1492
- Ye,
1493
- Ze[a],
1584
+ Qe,
1585
+ ea[a],
1494
1586
  r
1495
1587
  );
1496
- return /* @__PURE__ */ l("label", y(p({ ref: o, className: u }, i), { children: t }));
1588
+ return /* @__PURE__ */ l("label", y(m({ ref: o, className: u }, i), { children: t }));
1497
1589
  })
1498
1590
  );
1499
- Je.displayName = "Label";
1500
- class B {
1591
+ aa.displayName = "Label";
1592
+ class O {
1501
1593
  /**
1502
1594
  * Create a shadow token
1503
1595
  */
@@ -1541,19 +1633,19 @@ class B {
1541
1633
  }[a];
1542
1634
  }
1543
1635
  }
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")
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")
1552
1644
  };
1553
- function Y(e) {
1554
- return Qe[e].tailwind;
1645
+ function Z(e) {
1646
+ return ta[e].tailwind;
1555
1647
  }
1556
- const ea = A("w-full", {
1648
+ const ra = z("w-full", {
1557
1649
  variants: {
1558
1650
  size: {
1559
1651
  sm: "h-1",
@@ -1573,7 +1665,7 @@ const ea = A("w-full", {
1573
1665
  size: "md",
1574
1666
  variant: "primary"
1575
1667
  }
1576
- }), oe = A("transition-all", {
1668
+ }), ce = z("transition-all", {
1577
1669
  variants: {
1578
1670
  variant: {
1579
1671
  primary: "bg-surface-brand",
@@ -1587,7 +1679,7 @@ const ea = A("w-full", {
1587
1679
  defaultVariants: {
1588
1680
  variant: "primary"
1589
1681
  }
1590
- }), aa = F(function(x, m) {
1682
+ }), na = L(function(x, p) {
1591
1683
  var f = x, {
1592
1684
  value: a,
1593
1685
  max: r = 100,
@@ -1607,8 +1699,8 @@ const ea = A("w-full", {
1607
1699
  "aria-label",
1608
1700
  "className"
1609
1701
  ]);
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: [
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: [
1612
1704
  o && (c || !g) && /* @__PURE__ */ v(
1613
1705
  "div",
1614
1706
  {
@@ -1623,22 +1715,22 @@ const ea = A("w-full", {
1623
1715
  "span",
1624
1716
  {
1625
1717
  className: n(
1626
- w("bodySmall"),
1627
- j("label"),
1718
+ S("bodySmall"),
1719
+ _("label"),
1628
1720
  "text-fg-primary"
1629
1721
  ),
1630
1722
  children: c
1631
1723
  }
1632
1724
  ),
1633
- !g && N !== void 0 && /* @__PURE__ */ v(
1725
+ !g && w !== void 0 && /* @__PURE__ */ v(
1634
1726
  "span",
1635
1727
  {
1636
1728
  className: n(
1637
- w("bodySmall"),
1729
+ S("bodySmall"),
1638
1730
  "text-fg-secondary"
1639
1731
  ),
1640
1732
  children: [
1641
- N.toFixed(0),
1733
+ w.toFixed(0),
1642
1734
  "%"
1643
1735
  ]
1644
1736
  }
@@ -1653,13 +1745,13 @@ const ea = A("w-full", {
1653
1745
  "aria-valuemin": g ? void 0 : 0,
1654
1746
  "aria-valuemax": g ? void 0 : r,
1655
1747
  "aria-valuenow": g ? void 0 : a,
1656
- "aria-label": S,
1748
+ "aria-label": N,
1657
1749
  "aria-busy": g,
1658
1750
  className: n(
1659
1751
  "relative",
1660
1752
  "w-full",
1661
1753
  "overflow-hidden",
1662
- ea({ size: i, variant: t }),
1754
+ ra({ size: i, variant: t }),
1663
1755
  $("full")
1664
1756
  ),
1665
1757
  children: g ? /* @__PURE__ */ l(
@@ -1670,7 +1762,7 @@ const ea = A("w-full", {
1670
1762
  "top-0",
1671
1763
  "left-0",
1672
1764
  "bottom-0",
1673
- oe({ variant: t }),
1765
+ ce({ variant: t }),
1674
1766
  $("full"),
1675
1767
  "motion-reduce:animate-none"
1676
1768
  ),
@@ -1684,14 +1776,14 @@ const ea = A("w-full", {
1684
1776
  {
1685
1777
  className: n(
1686
1778
  "h-full",
1687
- oe({ variant: t }),
1779
+ ce({ variant: t }),
1688
1780
  $("full"),
1689
1781
  "transition-all",
1690
1782
  "duration-300",
1691
1783
  "ease-out"
1692
1784
  ),
1693
1785
  style: {
1694
- width: `${N}%`
1786
+ width: `${w}%`
1695
1787
  },
1696
1788
  "aria-hidden": "true"
1697
1789
  }
@@ -1700,15 +1792,15 @@ const ea = A("w-full", {
1700
1792
  )
1701
1793
  ] }));
1702
1794
  });
1703
- aa.displayName = "Progress";
1704
- const ta = {
1795
+ na.displayName = "Progress";
1796
+ const sa = {
1705
1797
  horizontal: "w-full border-t",
1706
1798
  vertical: "h-full border-l self-stretch"
1707
- }, ra = {
1799
+ }, ia = {
1708
1800
  solid: "border-solid",
1709
1801
  dashed: "border-dashed",
1710
1802
  dotted: "border-dotted"
1711
- }, na = M(function(o) {
1803
+ }, la = M(function(o) {
1712
1804
  var c = o, {
1713
1805
  orientation: a = "horizontal",
1714
1806
  variant: r = "solid",
@@ -1721,28 +1813,28 @@ const ta = {
1721
1813
  const d = n(
1722
1814
  "border-0",
1723
1815
  "border-line-default",
1724
- ta[a],
1725
- ra[r],
1816
+ sa[a],
1817
+ ia[r],
1726
1818
  t
1727
1819
  );
1728
1820
  return a === "vertical" ? /* @__PURE__ */ l(
1729
1821
  "div",
1730
- p({
1822
+ m({
1731
1823
  className: d,
1732
1824
  role: "separator",
1733
1825
  "aria-orientation": "vertical"
1734
1826
  }, i)
1735
1827
  ) : /* @__PURE__ */ l(
1736
1828
  "hr",
1737
- p({
1829
+ m({
1738
1830
  className: d,
1739
1831
  role: "separator",
1740
1832
  "aria-orientation": "horizontal"
1741
1833
  }, i)
1742
1834
  );
1743
1835
  });
1744
- na.displayName = "Separator";
1745
- function Oa(d) {
1836
+ la.displayName = "Separator";
1837
+ function Ha(d) {
1746
1838
  var u = d, {
1747
1839
  variant: e = "text",
1748
1840
  width: a,
@@ -1762,35 +1854,35 @@ function Oa(d) {
1762
1854
  "motion-safe:animate-pulse",
1763
1855
  "bg-surface-muted",
1764
1856
  $("sm")
1765
- ], m = {
1857
+ ], p = {
1766
1858
  text: "h-4",
1767
1859
  card: "h-32",
1768
1860
  list: "h-12",
1769
1861
  circle: $("full")
1770
- }, x = n(...b, m[e], i), f = {};
1862
+ }, x = n(...b, p[e], i), f = {};
1771
1863
  a && (f.width = a), r && (f.height = r);
1772
1864
  const g = o || `Loading ${e} content`;
1773
1865
  return e === "text" && t > 1 ? /* @__PURE__ */ l(
1774
1866
  "div",
1775
- y(p({
1867
+ y(m({
1776
1868
  className: s("sm", "space-y"),
1777
1869
  role: "status",
1778
1870
  "aria-busy": "true",
1779
1871
  "aria-label": g
1780
1872
  }, c), {
1781
- children: Array.from({ length: t }).map((N, S) => /* @__PURE__ */ l(
1873
+ children: Array.from({ length: t }).map((w, N) => /* @__PURE__ */ l(
1782
1874
  "div",
1783
1875
  {
1784
1876
  className: x,
1785
- style: S === t - 1 ? { width: "75%" } : f,
1877
+ style: N === t - 1 ? { width: "75%" } : f,
1786
1878
  "aria-hidden": "true"
1787
1879
  },
1788
- S
1880
+ N
1789
1881
  ))
1790
1882
  })
1791
1883
  ) : /* @__PURE__ */ l(
1792
1884
  "div",
1793
- p({
1885
+ m({
1794
1886
  className: x,
1795
1887
  style: f,
1796
1888
  role: "status",
@@ -1799,7 +1891,7 @@ function Oa(d) {
1799
1891
  }, c)
1800
1892
  );
1801
1893
  }
1802
- const sa = {
1894
+ const oa = {
1803
1895
  primary: {
1804
1896
  // exception: variant color — no semantic equivalent (Principle 3, .claude/rules/colors.md)
1805
1897
  light: "text-indigo-400",
@@ -1851,8 +1943,8 @@ const sa = {
1851
1943
  contrast: "text-fg-inverse"
1852
1944
  }
1853
1945
  };
1854
- function ia(b, u) {
1855
- var m = b, {
1946
+ function ca(b, u) {
1947
+ var p = b, {
1856
1948
  variant: e = "paragraph",
1857
1949
  bold: a,
1858
1950
  italic: r,
@@ -1860,7 +1952,7 @@ function ia(b, u) {
1860
1952
  as: i,
1861
1953
  colorRole: o = "neutral",
1862
1954
  colorShade: c = "dark"
1863
- } = m, d = h(m, [
1955
+ } = p, d = h(p, [
1864
1956
  "variant",
1865
1957
  "bold",
1866
1958
  "italic",
@@ -1885,16 +1977,16 @@ function ia(b, u) {
1885
1977
  f = "p";
1886
1978
  break;
1887
1979
  }
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));
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));
1889
1981
  }
1890
- const H = F(ia), la = {
1982
+ const H = L(ca), da = {
1891
1983
  sm: "max-w-screen-sm",
1892
1984
  md: "max-w-screen-md",
1893
1985
  lg: "max-w-screen-lg",
1894
1986
  xl: "max-w-screen-xl",
1895
1987
  "2xl": "max-w-screen-2xl",
1896
1988
  full: "max-w-full"
1897
- }, oa = ce.forwardRef(
1989
+ }, ua = de.forwardRef(
1898
1990
  (u, d) => {
1899
1991
  var b = u, {
1900
1992
  className: e,
@@ -1913,11 +2005,11 @@ const H = F(ia), la = {
1913
2005
  ]);
1914
2006
  return /* @__PURE__ */ l(
1915
2007
  "div",
1916
- y(p({
2008
+ y(m({
1917
2009
  ref: d,
1918
2010
  className: n(
1919
2011
  "w-full",
1920
- la[a],
2012
+ da[a],
1921
2013
  s(r, "px"),
1922
2014
  s(t, "py"),
1923
2015
  i && "mx-auto",
@@ -1929,8 +2021,8 @@ const H = F(ia), la = {
1929
2021
  );
1930
2022
  }
1931
2023
  );
1932
- oa.displayName = "Container";
1933
- const ca = ce.forwardRef(
2024
+ ua.displayName = "Container";
2025
+ const fa = de.forwardRef(
1934
2026
  (u, d) => {
1935
2027
  var b = u, {
1936
2028
  className: e,
@@ -1947,7 +2039,7 @@ const ca = ce.forwardRef(
1947
2039
  "direction",
1948
2040
  "children"
1949
2041
  ]);
1950
- const m = i === "column" ? s(a, "gap-y") : s(a, "gap-x"), x = {
2042
+ const p = i === "column" ? s(a, "gap-y") : s(a, "gap-x"), x = {
1951
2043
  start: "items-start",
1952
2044
  center: "items-center",
1953
2045
  end: "items-end",
@@ -1962,12 +2054,12 @@ const ca = ce.forwardRef(
1962
2054
  };
1963
2055
  return /* @__PURE__ */ l(
1964
2056
  "div",
1965
- y(p({
2057
+ y(m({
1966
2058
  ref: d,
1967
2059
  className: n(
1968
2060
  "flex",
1969
2061
  i === "column" ? "flex-col" : "flex-row",
1970
- m,
2062
+ p,
1971
2063
  x[r],
1972
2064
  f[t],
1973
2065
  e
@@ -1978,8 +2070,8 @@ const ca = ce.forwardRef(
1978
2070
  );
1979
2071
  }
1980
2072
  );
1981
- ca.displayName = "Stack";
1982
- function da(i) {
2073
+ fa.displayName = "Stack";
2074
+ function pa(i) {
1983
2075
  var o = i, {
1984
2076
  items: e,
1985
2077
  separator: a = "/",
@@ -1993,14 +2085,14 @@ function da(i) {
1993
2085
  "flex",
1994
2086
  "items-center",
1995
2087
  s("sm", "space-x"),
1996
- w("bodySmall")
2088
+ S("bodySmall")
1997
2089
  ], d = n(...c, r);
1998
- return /* @__PURE__ */ l("nav", y(p({ "aria-label": "Breadcrumb", className: d }, t), { children: /* @__PURE__ */ l(
2090
+ return /* @__PURE__ */ l("nav", y(m({ "aria-label": "Breadcrumb", className: d }, t), { children: /* @__PURE__ */ l(
1999
2091
  "ol",
2000
2092
  {
2001
2093
  className: n("flex", "items-center", s("sm", "space-x")),
2002
2094
  children: e.map((u, b) => {
2003
- const m = b === e.length - 1;
2095
+ const p = b === e.length - 1;
2004
2096
  return /* @__PURE__ */ v("li", { className: "flex items-center", children: [
2005
2097
  b > 0 && /* @__PURE__ */ l(
2006
2098
  "span",
@@ -2013,12 +2105,12 @@ function da(i) {
2013
2105
  children: a
2014
2106
  }
2015
2107
  ),
2016
- m ? /* @__PURE__ */ l(
2108
+ p ? /* @__PURE__ */ l(
2017
2109
  "span",
2018
2110
  {
2019
2111
  className: n(
2020
2112
  "text-fg-primary",
2021
- j("label")
2113
+ _("label")
2022
2114
  ),
2023
2115
  "aria-current": "page",
2024
2116
  children: u.label
@@ -2034,8 +2126,8 @@ function da(i) {
2034
2126
  s("xs", "pt"),
2035
2127
  "border-b-2",
2036
2128
  "border-transparent",
2037
- w("bodySmall"),
2038
- j("label"),
2129
+ S("bodySmall"),
2130
+ _("label"),
2039
2131
  "transition-colors",
2040
2132
  "text-fg-secondary",
2041
2133
  "hover:border-line-emphasis",
@@ -2049,11 +2141,11 @@ function da(i) {
2049
2141
  }
2050
2142
  ) }));
2051
2143
  }
2052
- function ua(t) {
2144
+ function ma(t) {
2053
2145
  var i = t, { children: e, className: a } = i, r = h(i, ["children", "className"]);
2054
2146
  return /* @__PURE__ */ l(
2055
2147
  "div",
2056
- y(p({
2148
+ y(m({
2057
2149
  className: n(
2058
2150
  "grid items-start",
2059
2151
  s("1.5", "gap"),
@@ -2067,7 +2159,7 @@ function ua(t) {
2067
2159
  })
2068
2160
  );
2069
2161
  }
2070
- function fa(c) {
2162
+ function ga(c) {
2071
2163
  var d = c, {
2072
2164
  children: e,
2073
2165
  icon: a,
@@ -2083,7 +2175,7 @@ function fa(c) {
2083
2175
  ]);
2084
2176
  return /* @__PURE__ */ v(
2085
2177
  t,
2086
- y(p({
2178
+ y(m({
2087
2179
  className: n(
2088
2180
  "text-base font-semibold text-fg-primary",
2089
2181
  "flex items-center",
@@ -2099,7 +2191,7 @@ function fa(c) {
2099
2191
  })
2100
2192
  );
2101
2193
  }
2102
- function pa(t) {
2194
+ function ba(t) {
2103
2195
  var i = t, {
2104
2196
  children: e,
2105
2197
  className: a
@@ -2107,9 +2199,9 @@ function pa(t) {
2107
2199
  "children",
2108
2200
  "className"
2109
2201
  ]);
2110
- return /* @__PURE__ */ l("p", y(p({ className: n("text-sm text-fg-secondary", a) }, r), { children: e }));
2202
+ return /* @__PURE__ */ l("p", y(m({ className: n("text-sm text-fg-secondary", a) }, r), { children: e }));
2111
2203
  }
2112
- function ma(t) {
2204
+ function xa(t) {
2113
2205
  var i = t, {
2114
2206
  children: e,
2115
2207
  className: a
@@ -2119,7 +2211,7 @@ function ma(t) {
2119
2211
  ]);
2120
2212
  return /* @__PURE__ */ l(
2121
2213
  "div",
2122
- y(p({
2214
+ y(m({
2123
2215
  "data-card-actions": "",
2124
2216
  className: n(
2125
2217
  "flex items-center self-start",
@@ -2131,12 +2223,12 @@ function ma(t) {
2131
2223
  })
2132
2224
  );
2133
2225
  }
2134
- function ga(t) {
2226
+ function ha(t) {
2135
2227
  var i = t, { children: e, className: a } = i, r = h(i, ["children", "className"]);
2136
- return /* @__PURE__ */ l("div", y(p({ className: n(a) }, r), { children: e }));
2228
+ return /* @__PURE__ */ l("div", y(m({ className: n(a) }, r), { children: e }));
2137
2229
  }
2138
- function ba(b) {
2139
- var m = b, {
2230
+ function ya(b) {
2231
+ var p = b, {
2140
2232
  variant: e = "default",
2141
2233
  padding: a = "medium",
2142
2234
  className: r = "",
@@ -2145,7 +2237,7 @@ function ba(b) {
2145
2237
  "aria-labelledby": o,
2146
2238
  asSection: c = !1,
2147
2239
  children: d
2148
- } = m, u = h(m, [
2240
+ } = p, u = h(p, [
2149
2241
  "variant",
2150
2242
  "padding",
2151
2243
  "className",
@@ -2158,24 +2250,24 @@ function ba(b) {
2158
2250
  typeof process != "undefined" && process.env.NODE_ENV !== "production" && c && !i && !o && console.warn(
2159
2251
  "[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
2252
  );
2161
- const x = A(
2253
+ const x = z(
2162
2254
  n(
2163
2255
  "bg-surface-base",
2164
2256
  $("lg"),
2165
2257
  "border",
2166
2258
  "border-line-default",
2167
- Y("sm")
2259
+ Z("sm")
2168
2260
  ),
2169
2261
  {
2170
2262
  variants: {
2171
2263
  variant: {
2172
2264
  default: "",
2173
2265
  hover: n(
2174
- `hover:${Y("md")}`,
2266
+ `hover:${Z("md")}`,
2175
2267
  "transition-shadow",
2176
2268
  "cursor-pointer"
2177
2269
  ),
2178
- selected: n("border-line-brand", Y("md"))
2270
+ selected: n("border-line-brand", Z("md"))
2179
2271
  },
2180
2272
  padding: {
2181
2273
  none: "",
@@ -2189,28 +2281,28 @@ function ba(b) {
2189
2281
  padding: "medium"
2190
2282
  }
2191
2283
  }
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({
2193
- className: S,
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,
2194
2286
  role: g,
2195
- tabIndex: N,
2287
+ tabIndex: w,
2196
2288
  onClick: t,
2197
- onKeyDown: f ? (L) => {
2198
- f && (L.key === "Enter" || L.key === " ") && (L.preventDefault(), t == null || t());
2289
+ onKeyDown: f ? (F) => {
2290
+ f && (F.key === "Enter" || F.key === " ") && (F.preventDefault(), t == null || t());
2199
2291
  } : void 0,
2200
2292
  "aria-label": i,
2201
2293
  "aria-labelledby": o
2202
2294
  }, u);
2203
- return c ? /* @__PURE__ */ l("section", y(p({}, k), { children: d })) : /* @__PURE__ */ l("div", y(p({}, k), { children: d }));
2295
+ return c ? /* @__PURE__ */ l("section", y(m({}, k), { children: d })) : /* @__PURE__ */ l("div", y(m({}, k), { children: d }));
2204
2296
  }
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) {
2297
+ const me = M(ya);
2298
+ 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) {
2214
2306
  var i = t, {
2215
2307
  children: e,
2216
2308
  className: a = ""
@@ -2220,14 +2312,14 @@ function Ba(t) {
2220
2312
  ]);
2221
2313
  return /* @__PURE__ */ l(
2222
2314
  "div",
2223
- y(p({
2315
+ y(m({
2224
2316
  className: `flex flex-col ${s("1.5", "space-y")} ${s("lg", "p")} ${s("base", "pb")} ${a}`
2225
2317
  }, r), {
2226
2318
  children: e
2227
2319
  })
2228
2320
  );
2229
2321
  }
2230
- function Ma(t) {
2322
+ function Ia(t) {
2231
2323
  var i = t, {
2232
2324
  children: e,
2233
2325
  className: a = ""
@@ -2237,14 +2329,14 @@ function Ma(t) {
2237
2329
  ]);
2238
2330
  return /* @__PURE__ */ l(
2239
2331
  "div",
2240
- y(p({
2332
+ y(m({
2241
2333
  className: `flex flex-col-reverse sm:flex-row sm:justify-end sm:${s("sm", "space-x")} ${s("lg", "p")} ${s("base", "pt")} ${a}`
2242
2334
  }, r), {
2243
2335
  children: e
2244
2336
  })
2245
2337
  );
2246
2338
  }
2247
- function Ha(t) {
2339
+ function Wa(t) {
2248
2340
  var i = t, {
2249
2341
  children: e,
2250
2342
  className: a = ""
@@ -2254,7 +2346,7 @@ function Ha(t) {
2254
2346
  ]);
2255
2347
  return /* @__PURE__ */ l(
2256
2348
  "div",
2257
- y(p({
2349
+ y(m({
2258
2350
  className: `
2259
2351
  ${s("lg", "p")}
2260
2352
  border-b
@@ -2266,7 +2358,7 @@ function Ha(t) {
2266
2358
  })
2267
2359
  );
2268
2360
  }
2269
- function Pa(t) {
2361
+ function Ua(t) {
2270
2362
  var i = t, {
2271
2363
  children: e,
2272
2364
  className: a = ""
@@ -2276,7 +2368,7 @@ function Pa(t) {
2276
2368
  ]);
2277
2369
  return /* @__PURE__ */ l(
2278
2370
  "div",
2279
- y(p({
2371
+ y(m({
2280
2372
  className: `
2281
2373
  ${s("lg", "p")}
2282
2374
  border-t
@@ -2291,7 +2383,7 @@ function Pa(t) {
2291
2383
  })
2292
2384
  );
2293
2385
  }
2294
- function Ia(o) {
2386
+ function Ka(o) {
2295
2387
  var c = o, {
2296
2388
  label: e,
2297
2389
  children: a,
@@ -2306,7 +2398,7 @@ function Ia(o) {
2306
2398
  const u = !(i["aria-label"] != null || i["aria-labelledby"] != null) && typeof e == "string" && e !== "" ? e : void 0;
2307
2399
  return /* @__PURE__ */ v(
2308
2400
  "div",
2309
- y(p({
2401
+ y(m({
2310
2402
  role: "group",
2311
2403
  "aria-label": u,
2312
2404
  className: n(
@@ -2328,7 +2420,7 @@ function Ia(o) {
2328
2420
  })
2329
2421
  );
2330
2422
  }
2331
- function Wa({ children: e, className: a }) {
2423
+ function qa({ children: e, className: a }) {
2332
2424
  return /* @__PURE__ */ l(
2333
2425
  "div",
2334
2426
  {
@@ -2341,7 +2433,7 @@ function Wa({ children: e, className: a }) {
2341
2433
  }
2342
2434
  );
2343
2435
  }
2344
- function Ua({
2436
+ function Xa({
2345
2437
  children: e,
2346
2438
  className: a
2347
2439
  }) {
@@ -2360,7 +2452,7 @@ function Ua({
2360
2452
  }
2361
2453
  );
2362
2454
  }
2363
- const xa = A(
2455
+ const va = z(
2364
2456
  n(
2365
2457
  "w-full flex flex-col",
2366
2458
  s("2xl", "py"),
@@ -2387,15 +2479,15 @@ const xa = A(
2387
2479
  align: "start"
2388
2480
  }
2389
2481
  }
2390
- ), ha = {
2482
+ ), wa = {
2391
2483
  start: "items-start",
2392
2484
  center: "items-center"
2393
- }, ya = {
2485
+ }, Na = {
2394
2486
  start: "justify-start",
2395
2487
  center: "justify-center"
2396
- }, va = F(
2397
- function(N, g) {
2398
- var S = N, {
2488
+ }, Sa = L(
2489
+ function(w, g) {
2490
+ var N = w, {
2399
2491
  kicker: a,
2400
2492
  title: r,
2401
2493
  description: t,
@@ -2405,9 +2497,9 @@ const xa = A(
2405
2497
  variant: d = "plain",
2406
2498
  align: u = "start",
2407
2499
  className: b,
2408
- "aria-label": m,
2500
+ "aria-label": p,
2409
2501
  "aria-labelledby": x
2410
- } = S, f = h(S, [
2502
+ } = N, f = h(N, [
2411
2503
  "kicker",
2412
2504
  "title",
2413
2505
  "description",
@@ -2420,14 +2512,14 @@ const xa = A(
2420
2512
  "aria-label",
2421
2513
  "aria-labelledby"
2422
2514
  ]);
2423
- const T = m != null || x != null, k = m != null ? m : typeof r == "string" ? r : void 0;
2515
+ const T = p != null || x != null, k = p != null ? p : typeof r == "string" ? r : void 0;
2424
2516
  return typeof process != "undefined" && process.env.NODE_ENV !== "production" && !T && typeof r != "string" && console.warn(
2425
2517
  "[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
2518
  ), /* @__PURE__ */ v(
2427
2519
  "section",
2428
- y(p({
2520
+ y(m({
2429
2521
  ref: g,
2430
- className: n(xa({ variant: d, align: u }), b),
2522
+ className: n(va({ variant: d, align: u }), b),
2431
2523
  "aria-label": k,
2432
2524
  "aria-labelledby": x
2433
2525
  }, f), {
@@ -2438,7 +2530,7 @@ const xa = A(
2438
2530
  className: n(
2439
2531
  "flex flex-col",
2440
2532
  s("md", "gap-y"),
2441
- ha[u]
2533
+ wa[u]
2442
2534
  ),
2443
2535
  children: [
2444
2536
  a ? /* @__PURE__ */ l(
@@ -2481,7 +2573,7 @@ const xa = A(
2481
2573
  className: n(
2482
2574
  "flex flex-wrap",
2483
2575
  s("sm", "gap"),
2484
- ya[u]
2576
+ Na[u]
2485
2577
  ),
2486
2578
  children: i
2487
2579
  }
@@ -2503,8 +2595,8 @@ const xa = A(
2503
2595
  );
2504
2596
  }
2505
2597
  );
2506
- va.displayName = "HeroSection";
2507
- function Ka(r) {
2598
+ Sa.displayName = "HeroSection";
2599
+ function Ga(r) {
2508
2600
  var t = r, {
2509
2601
  className: e = ""
2510
2602
  } = t, a = h(t, [
@@ -2512,7 +2604,7 @@ function Ka(r) {
2512
2604
  ]);
2513
2605
  return /* @__PURE__ */ l(
2514
2606
  "div",
2515
- p({
2607
+ m({
2516
2608
  role: "separator",
2517
2609
  className: `
2518
2610
  h-px
@@ -2523,7 +2615,7 @@ function Ka(r) {
2523
2615
  }, a)
2524
2616
  );
2525
2617
  }
2526
- function qa(t) {
2618
+ function Ya(t) {
2527
2619
  var i = t, {
2528
2620
  orientation: e = "horizontal",
2529
2621
  className: a = ""
@@ -2533,14 +2625,14 @@ function qa(t) {
2533
2625
  ]);
2534
2626
  return e === "vertical" ? /* @__PURE__ */ l(
2535
2627
  "div",
2536
- p({
2628
+ m({
2537
2629
  className: n("w-px", "h-6", "bg-line-default", "mx-auto", a),
2538
2630
  role: "separator",
2539
2631
  "aria-orientation": "vertical"
2540
2632
  }, r)
2541
2633
  ) : /* @__PURE__ */ l(
2542
2634
  "div",
2543
- p({
2635
+ m({
2544
2636
  className: n(
2545
2637
  "w-full",
2546
2638
  "h-px",
@@ -2561,7 +2653,7 @@ function qa(t) {
2561
2653
  }, r)
2562
2654
  );
2563
2655
  }
2564
- const wa = A(
2656
+ const $a = z(
2565
2657
  // Base classes
2566
2658
  n("w-full", "flex", "flex-col", s("sm", "gap")),
2567
2659
  {
@@ -2576,7 +2668,7 @@ const wa = A(
2576
2668
  }
2577
2669
  }
2578
2670
  );
2579
- function Xa(d) {
2671
+ function Za(d) {
2580
2672
  var u = d, {
2581
2673
  title: e,
2582
2674
  description: a,
@@ -2592,8 +2684,8 @@ function Xa(d) {
2592
2684
  "variant",
2593
2685
  "className"
2594
2686
  ]);
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 }),
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 }),
2597
2689
  /* @__PURE__ */ v(
2598
2690
  "div",
2599
2691
  {
@@ -2623,16 +2715,16 @@ function Xa(d) {
2623
2715
  )
2624
2716
  ] }));
2625
2717
  }
2626
- const Na = {
2718
+ const ka = {
2627
2719
  start: "items-start text-left",
2628
2720
  center: "items-center text-center"
2629
- }, Sa = {
2721
+ }, Ca = {
2630
2722
  neutral: "text-fg-tertiary",
2631
2723
  success: "text-fg-success",
2632
2724
  warning: "text-fg-warning",
2633
2725
  error: "text-fg-error"
2634
2726
  };
2635
- function Ga(u) {
2727
+ function Ja(u) {
2636
2728
  var b = u, {
2637
2729
  value: e,
2638
2730
  label: a,
@@ -2650,21 +2742,21 @@ function Ga(u) {
2650
2742
  "tone",
2651
2743
  "className"
2652
2744
  ]);
2653
- const m = e == null;
2745
+ const p = e == null;
2654
2746
  return /* @__PURE__ */ v(
2655
2747
  "div",
2656
- y(p({
2748
+ y(m({
2657
2749
  className: n(
2658
2750
  "bg-surface-base flex-1 flex flex-col",
2659
2751
  s("base", "p"),
2660
2752
  s("xs", "gap-y"),
2661
- Na[i],
2753
+ ka[i],
2662
2754
  c
2663
2755
  )
2664
2756
  }, d), {
2665
2757
  children: [
2666
2758
  t ? /* @__PURE__ */ l("span", { className: "text-icon-default inline-flex", children: t }) : null,
2667
- m ? /* @__PURE__ */ l(
2759
+ p ? /* @__PURE__ */ l(
2668
2760
  "span",
2669
2761
  {
2670
2762
  "aria-label": "No data",
@@ -2673,17 +2765,17 @@ function Ga(u) {
2673
2765
  }
2674
2766
  ) : /* @__PURE__ */ l("span", { className: "text-fg-primary text-2xl font-semibold leading-tight", children: e }),
2675
2767
  /* @__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
2768
+ r ? /* @__PURE__ */ l("span", { className: n("text-xs", Ca[o]), children: r }) : null
2677
2769
  ]
2678
2770
  })
2679
2771
  );
2680
2772
  }
2681
- const $a = {
2773
+ const Ea = {
2682
2774
  2: "md:grid-cols-2",
2683
2775
  3: "md:grid-cols-3",
2684
2776
  4: "md:grid-cols-4"
2685
2777
  };
2686
- function Ya(c) {
2778
+ function Qa(c) {
2687
2779
  var d = c, {
2688
2780
  layout: e = "grid",
2689
2781
  cols: a = 4,
@@ -2700,7 +2792,7 @@ function Ya(c) {
2700
2792
  const u = e === "grid";
2701
2793
  return /* @__PURE__ */ v(
2702
2794
  "div",
2703
- y(p({
2795
+ y(m({
2704
2796
  className: n(
2705
2797
  "relative",
2706
2798
  r && s("base", "pt"),
@@ -2715,7 +2807,7 @@ function Ya(c) {
2715
2807
  className: n(
2716
2808
  "bg-line-default border border-line-default overflow-hidden gap-px",
2717
2809
  $("lg"),
2718
- u ? `grid grid-cols-2 ${$a[a]}` : "flex"
2810
+ u ? `grid grid-cols-2 ${Ea[a]}` : "flex"
2719
2811
  ),
2720
2812
  children: i
2721
2813
  }
@@ -2724,19 +2816,19 @@ function Ya(c) {
2724
2816
  })
2725
2817
  );
2726
2818
  }
2727
- function Za(i) {
2819
+ function et(i) {
2728
2820
  var o = i, { column: e, row: a, className: r = "" } = o, t = h(o, ["column", "row", "className"]);
2729
2821
  const c = e.key in a ? a[e.key] : void 0;
2730
2822
  return /* @__PURE__ */ l(
2731
2823
  "td",
2732
- y(p({
2824
+ y(m({
2733
2825
  className: `${s("lg", "px")} ${s("base", "py")} whitespace-nowrap text-sm text-fg-primary ${e.hiddenOnMobile ? "hidden md:table-cell" : ""} ${r}`
2734
2826
  }, t), {
2735
2827
  children: e.render ? e.render(c, a) : String(c != null ? c : "")
2736
2828
  })
2737
2829
  );
2738
2830
  }
2739
- const ka = A(n("flex items-center", "border-b"), {
2831
+ const Ta = z(n("flex items-center", "border-b"), {
2740
2832
  variants: {
2741
2833
  variant: {
2742
2834
  default: n("border-line-default", s("base", "gap-x")),
@@ -2746,7 +2838,7 @@ const ka = A(n("flex items-center", "border-b"), {
2746
2838
  defaultVariants: {
2747
2839
  variant: "default"
2748
2840
  }
2749
- }), Ca = A(
2841
+ }), Va = z(
2750
2842
  n(
2751
2843
  "relative -mb-px inline-flex items-center",
2752
2844
  s("xs", "gap-x"),
@@ -2764,12 +2856,12 @@ const ka = A(n("flex items-center", "border-b"), {
2764
2856
  default: n(
2765
2857
  s("sm", "px"),
2766
2858
  s("sm", "py"),
2767
- w("body")
2859
+ S("body")
2768
2860
  ),
2769
2861
  sub: n(
2770
2862
  s("sm", "px"),
2771
2863
  s("xs", "py"),
2772
- w("bodySmall")
2864
+ S("bodySmall")
2773
2865
  )
2774
2866
  },
2775
2867
  active: {
@@ -2794,21 +2886,21 @@ const ka = A(n("flex items-center", "border-b"), {
2794
2886
  active: !1
2795
2887
  }
2796
2888
  }
2797
- ), Ea = n(
2889
+ ), Aa = n(
2798
2890
  "inline-flex items-center justify-center",
2799
2891
  $("full"),
2800
2892
  s("xs", "px"),
2801
2893
  "bg-surface-muted text-fg-secondary text-xs"
2802
- ), Ta = F(
2894
+ ), za = L(
2803
2895
  function(b, u) {
2804
- var m = b, {
2896
+ var p = b, {
2805
2897
  items: a,
2806
2898
  variant: r = "default",
2807
2899
  linkComponent: t,
2808
2900
  className: i,
2809
2901
  "aria-label": o,
2810
2902
  "aria-labelledby": c
2811
- } = m, d = h(m, [
2903
+ } = p, d = h(p, [
2812
2904
  "items",
2813
2905
  "variant",
2814
2906
  "linkComponent",
@@ -2822,9 +2914,9 @@ const ka = A(n("flex items-center", "border-b"), {
2822
2914
  const x = t != null ? t : "a";
2823
2915
  return /* @__PURE__ */ l(
2824
2916
  "nav",
2825
- y(p({
2917
+ y(m({
2826
2918
  ref: u,
2827
- className: n(ka({ variant: r }), i),
2919
+ className: n(Ta({ variant: r }), i),
2828
2920
  "aria-label": o,
2829
2921
  "aria-labelledby": c
2830
2922
  }, d), {
@@ -2834,11 +2926,11 @@ const ka = A(n("flex items-center", "border-b"), {
2834
2926
  href: f.href,
2835
2927
  "aria-current": f.active ? "page" : void 0,
2836
2928
  "data-active": f.active ? "true" : void 0,
2837
- className: Ca({ variant: r, active: !!f.active }),
2929
+ className: Va({ variant: r, active: !!f.active }),
2838
2930
  children: [
2839
2931
  f.icon ? /* @__PURE__ */ l("span", { "aria-hidden": "true", className: "inline-flex shrink-0", children: f.icon }) : null,
2840
2932
  /* @__PURE__ */ l("span", { children: f.label }),
2841
- f.count !== void 0 ? /* @__PURE__ */ l("span", { className: Ea, children: f.count }) : null
2933
+ f.count !== void 0 ? /* @__PURE__ */ l("span", { className: Aa, children: f.count }) : null
2842
2934
  ]
2843
2935
  },
2844
2936
  f.href || g
@@ -2847,8 +2939,8 @@ const ka = A(n("flex items-center", "border-b"), {
2847
2939
  );
2848
2940
  }
2849
2941
  );
2850
- Ta.displayName = "TabsAsLinks";
2851
- function Ja({
2942
+ za.displayName = "TabsAsLinks";
2943
+ function at({
2852
2944
  items: e,
2853
2945
  orientation: a = "vertical",
2854
2946
  className: r = ""
@@ -2858,7 +2950,7 @@ function Ja({
2858
2950
  return /* @__PURE__ */ l("div", { className: "flex items-start flex-1", children: /* @__PURE__ */ v("div", { className: "flex flex-col items-center flex-1", children: [
2859
2951
  /* @__PURE__ */ l(
2860
2952
  "div",
2861
- y(p({}, o === "default" ? { "data-marker": "pending" } : {}), {
2953
+ y(m({}, o === "default" ? { "data-marker": "pending" } : {}), {
2862
2954
  className: `
2863
2955
  flex
2864
2956
  items-center
@@ -2869,7 +2961,7 @@ function Ja({
2869
2961
  border-2
2870
2962
  ${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
2963
  `,
2872
- children: t.icon || (o === "completed" ? /* @__PURE__ */ l(ne, { className: "h-4 w-4" }) : i + 1)
2964
+ children: t.icon || (o === "completed" ? /* @__PURE__ */ l(se, { className: "h-4 w-4" }) : i + 1)
2873
2965
  })
2874
2966
  ),
2875
2967
  !c && /* @__PURE__ */ l(
@@ -2918,7 +3010,7 @@ function Ja({
2918
3010
  /* @__PURE__ */ v("div", { className: "flex flex-col items-center", children: [
2919
3011
  /* @__PURE__ */ l(
2920
3012
  "div",
2921
- y(p({}, o === "default" ? { "data-marker": "pending" } : {}), {
3013
+ y(m({}, o === "default" ? { "data-marker": "pending" } : {}), {
2922
3014
  className: `
2923
3015
  flex
2924
3016
  items-center
@@ -2929,7 +3021,7 @@ function Ja({
2929
3021
  border-2
2930
3022
  ${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
3023
  `,
2932
- children: t.icon || (o === "completed" ? /* @__PURE__ */ l(ne, { className: "h-4 w-4" }) : i + 1)
3024
+ children: t.icon || (o === "completed" ? /* @__PURE__ */ l(se, { className: "h-4 w-4" }) : i + 1)
2933
3025
  })
2934
3026
  ),
2935
3027
  !c && /* @__PURE__ */ l(
@@ -2980,43 +3072,44 @@ function Ja({
2980
3072
  }) });
2981
3073
  }
2982
3074
  export {
2983
- Ee as Badge,
2984
- da as Breadcrumb,
2985
- Ie as Button,
3075
+ Ee as AvatarBase,
3076
+ Ae as Badge,
3077
+ pa as Breadcrumb,
3078
+ Ke as Button,
2986
3079
  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,
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,
3106
+ pe as Spinner,
3107
+ fa as Stack,
3108
+ Ja as Stat,
3109
+ Qa as StatGroup,
3110
+ et as TableCell,
3111
+ za as TabsAsLinks,
3019
3112
  H as Text,
3020
- Ja as Timeline
3113
+ at as Timeline
3021
3114
  };
3022
3115
  //# sourceMappingURL=index.js.map