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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,26 +2,26 @@ var de = Object.defineProperty, ce = Object.defineProperties;
2
2
  var fe = Object.getOwnPropertyDescriptors;
3
3
  var U = Object.getOwnPropertySymbols;
4
4
  var Q = Object.prototype.hasOwnProperty, J = Object.prototype.propertyIsEnumerable;
5
- var Y = (r, a, n) => a in r ? de(r, a, { enumerable: !0, configurable: !0, writable: !0, value: n }) : r[a] = n, u = (r, a) => {
5
+ var G = (t, a, n) => a in t ? de(t, a, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[a] = n, p = (t, a) => {
6
6
  for (var n in a || (a = {}))
7
- Q.call(a, n) && Y(r, n, a[n]);
7
+ Q.call(a, n) && G(t, n, a[n]);
8
8
  if (U)
9
9
  for (var n of U(a))
10
- J.call(a, n) && Y(r, n, a[n]);
11
- return r;
12
- }, y = (r, a) => ce(r, fe(a));
13
- var x = (r, a) => {
10
+ J.call(a, n) && G(t, n, a[n]);
11
+ return t;
12
+ }, y = (t, a) => ce(t, fe(a));
13
+ var g = (t, a) => {
14
14
  var n = {};
15
- for (var t in r)
16
- Q.call(r, t) && a.indexOf(t) < 0 && (n[t] = r[t]);
17
- if (r != null && U)
18
- for (var t of U(r))
19
- a.indexOf(t) < 0 && J.call(r, t) && (n[t] = r[t]);
15
+ for (var r in t)
16
+ Q.call(t, r) && a.indexOf(r) < 0 && (n[r] = t[r]);
17
+ if (t != null && U)
18
+ for (var r of U(t))
19
+ a.indexOf(r) < 0 && J.call(t, r) && (n[r] = t[r]);
20
20
  return n;
21
21
  };
22
- var ee = (r, a, n) => Y(r, typeof a != "symbol" ? a + "" : a, n);
23
- import { jsx as d, jsxs as $ } from "react/jsx-runtime";
24
- import * as T from "react";
22
+ var ee = (t, a, n) => G(t, typeof a != "symbol" ? a + "" : a, n);
23
+ import { jsx as o, jsxs as $ } from "react/jsx-runtime";
24
+ import * as C from "react";
25
25
  import ie, { memo as B, forwardRef as O } from "react";
26
26
  import { clsx as pe } from "clsx";
27
27
  import { twMerge as ue } from "tailwind-merge";
@@ -32,7 +32,7 @@ class I {
32
32
  * Create a radius token
33
33
  */
34
34
  static create(a) {
35
- const t = {
35
+ const r = {
36
36
  none: {
37
37
  px: 0,
38
38
  tailwind: "rounded-none",
@@ -75,11 +75,11 @@ class I {
75
75
  }
76
76
  }[a];
77
77
  return {
78
- value: t.px,
79
- rem: `${t.px / 16}rem`,
80
- px: `${t.px}px`,
81
- tailwind: t.tailwind,
82
- description: t.description
78
+ value: r.px,
79
+ rem: `${r.px / 16}rem`,
80
+ px: `${r.px}px`,
81
+ tailwind: r.tailwind,
82
+ description: r.description
83
83
  };
84
84
  }
85
85
  }
@@ -93,8 +93,8 @@ const ye = {
93
93
  "3xl": I.create("3xl"),
94
94
  full: I.create("full")
95
95
  };
96
- function M(r) {
97
- return ye[r].tailwind;
96
+ function T(t) {
97
+ return ye[t].tailwind;
98
98
  }
99
99
  class N {
100
100
  // 4px base
@@ -102,10 +102,10 @@ class N {
102
102
  * Create a spacing token from scale value
103
103
  */
104
104
  static create(a) {
105
- const n = a * this.BASE_UNIT, t = n / 16;
105
+ const n = a * this.BASE_UNIT, r = n / 16;
106
106
  return {
107
107
  value: n,
108
- rem: `${t}rem`,
108
+ rem: `${r}rem`,
109
109
  px: `${n}px`,
110
110
  tailwind: this.getTailwindClass(a)
111
111
  };
@@ -201,8 +201,8 @@ const he = {
201
201
  "6xl": N.create(24)
202
202
  // 96px
203
203
  };
204
- function o(r, a = "p") {
205
- const t = he[r].tailwind;
204
+ function d(t, a = "p") {
205
+ const r = he[t].tailwind;
206
206
  return `${{
207
207
  p: "p",
208
208
  m: "m",
@@ -223,14 +223,14 @@ function o(r, a = "p") {
223
223
  "gap-y": "gap-y",
224
224
  "space-x": "space-x",
225
225
  "space-y": "space-y"
226
- }[a]}-${t}`;
226
+ }[a]}-${r}`;
227
227
  }
228
228
  class k {
229
229
  /**
230
230
  * Create font size token
231
231
  */
232
232
  static createFontSize(a) {
233
- const t = {
233
+ const r = {
234
234
  "2xs": { px: 10, tailwind: "text-2xs" },
235
235
  // micro-text (badge counters, mini chips)
236
236
  xs: { px: 12, tailwind: "text-xs" },
@@ -245,17 +245,17 @@ class k {
245
245
  "6xl": { px: 60, tailwind: "text-6xl" }
246
246
  }[a];
247
247
  return {
248
- value: t.px,
249
- rem: `${t.px / 16}rem`,
250
- px: `${t.px}px`,
251
- tailwind: t.tailwind
248
+ value: r.px,
249
+ rem: `${r.px / 16}rem`,
250
+ px: `${r.px}px`,
251
+ tailwind: r.tailwind
252
252
  };
253
253
  }
254
254
  /**
255
255
  * Create line height token
256
256
  */
257
257
  static createLineHeight(a) {
258
- const t = {
258
+ const r = {
259
259
  none: { value: 1, tailwind: "leading-none" },
260
260
  tight: { value: 1.25, tailwind: "leading-tight" },
261
261
  snug: { value: 1.375, tailwind: "leading-snug" },
@@ -264,15 +264,15 @@ class k {
264
264
  loose: { value: 2, tailwind: "leading-loose" }
265
265
  }[a];
266
266
  return {
267
- value: t.value,
268
- tailwind: t.tailwind
267
+ value: r.value,
268
+ tailwind: r.tailwind
269
269
  };
270
270
  }
271
271
  /**
272
272
  * Create font weight token
273
273
  */
274
274
  static createFontWeight(a) {
275
- const t = {
275
+ const r = {
276
276
  light: { value: 300, tailwind: "font-light" },
277
277
  normal: { value: 400, tailwind: "font-normal" },
278
278
  medium: { value: 500, tailwind: "font-medium" },
@@ -280,23 +280,23 @@ class k {
280
280
  bold: { value: 700, tailwind: "font-bold" }
281
281
  }[a];
282
282
  return {
283
- value: t.value,
284
- tailwind: t.tailwind
283
+ value: r.value,
284
+ tailwind: r.tailwind
285
285
  };
286
286
  }
287
287
  /**
288
288
  * Create complete typography token
289
289
  */
290
- static create(a, n = "normal", t = "normal") {
290
+ static create(a, n = "normal", r = "normal") {
291
291
  return {
292
292
  fontSize: this.createFontSize(a),
293
293
  lineHeight: this.createLineHeight(n),
294
- fontWeight: this.createFontWeight(t)
294
+ fontWeight: this.createFontWeight(r)
295
295
  };
296
296
  }
297
297
  }
298
298
  k.createFontWeight("light"), k.createFontWeight("normal"), k.createFontWeight("medium"), k.createFontWeight("semibold"), k.createFontWeight("bold");
299
- const G = {
299
+ const Z = {
300
300
  // Headings
301
301
  h1: k.create("4xl", "tight", "bold"),
302
302
  h2: k.create("3xl", "tight", "bold"),
@@ -313,23 +313,23 @@ const G = {
313
313
  caption: k.create("xs", "normal", "normal"),
314
314
  button: k.create("base", "normal", "medium")
315
315
  };
316
- function V(r) {
317
- const a = G[r];
316
+ function V(t) {
317
+ const a = Z[t];
318
318
  return `${a.fontSize.tailwind} ${a.lineHeight.tailwind} ${a.fontWeight.tailwind}`;
319
319
  }
320
- function z(r) {
321
- return G[r].fontSize.tailwind;
320
+ function z(t) {
321
+ return Z[t].fontSize.tailwind;
322
322
  }
323
- function H(r) {
324
- return G[r].fontWeight.tailwind;
323
+ function H(t) {
324
+ return Z[t].fontWeight.tailwind;
325
325
  }
326
- function l(...r) {
327
- return ue(pe(r));
326
+ function l(...t) {
327
+ return ue(pe(t));
328
328
  }
329
- const j = (r, a) => {
330
- const n = me(r, a);
331
- return ((t) => {
332
- const s = n(t);
329
+ const j = (t, a) => {
330
+ const n = me(t, a);
331
+ return ((r) => {
332
+ const s = n(r);
333
333
  return l(s);
334
334
  });
335
335
  }, ve = j(
@@ -339,7 +339,7 @@ const j = (r, a) => {
339
339
  "items-center",
340
340
  "justify-center",
341
341
  H("label"),
342
- M("md"),
342
+ T("md"),
343
343
  "border"
344
344
  ),
345
345
  {
@@ -355,18 +355,18 @@ const j = (r, a) => {
355
355
  },
356
356
  size: {
357
357
  sm: l(
358
- o("1.5", "px"),
359
- o("0.5", "py"),
358
+ d("1.5", "px"),
359
+ d("0.5", "py"),
360
360
  z("caption")
361
361
  ),
362
362
  md: l(
363
- o("sm", "px"),
364
- o("xs", "py"),
363
+ d("sm", "px"),
364
+ d("xs", "py"),
365
365
  z("caption")
366
366
  ),
367
367
  lg: l(
368
- o("sm", "px"),
369
- o("xs", "py"),
368
+ d("sm", "px"),
369
+ d("xs", "py"),
370
370
  z("bodySmall")
371
371
  )
372
372
  },
@@ -471,15 +471,15 @@ const j = (r, a) => {
471
471
  }
472
472
  }
473
473
  ), we = B(
474
- O(function(b, p) {
474
+ O(function(b, u) {
475
475
  var m = b, {
476
476
  variant: a = "neutral",
477
477
  size: n = "md",
478
- style: t = "solid",
478
+ style: r = "solid",
479
479
  className: s = "",
480
480
  children: i,
481
481
  "aria-label": c
482
- } = m, f = x(m, [
482
+ } = m, f = g(m, [
483
483
  "variant",
484
484
  "size",
485
485
  "style",
@@ -487,22 +487,22 @@ const j = (r, a) => {
487
487
  "children",
488
488
  "aria-label"
489
489
  ]);
490
- const h = l(ve({ variant: a, size: n, style: t }), s);
491
- let g;
490
+ const h = l(ve({ variant: a, size: n, style: r }), s);
491
+ let x;
492
492
  if (c)
493
- g = c;
493
+ x = c;
494
494
  else if (typeof i == "string")
495
- g = i;
495
+ x = i;
496
496
  else if (typeof i == "object" && i !== null && "props" in i) {
497
497
  const v = i.props;
498
- v != null && v.children && typeof v.children == "string" && (g = v.children);
498
+ v != null && v.children && typeof v.children == "string" && (x = v.children);
499
499
  }
500
- return /* @__PURE__ */ d(
500
+ return /* @__PURE__ */ o(
501
501
  "span",
502
- y(u({
503
- ref: p,
502
+ y(p({
503
+ ref: u,
504
504
  role: "status",
505
- "aria-label": g,
505
+ "aria-label": x,
506
506
  className: h
507
507
  }, f), {
508
508
  children: i
@@ -511,80 +511,80 @@ const j = (r, a) => {
511
511
  })
512
512
  );
513
513
  we.displayName = "Badge";
514
- function te(r, a) {
515
- if (typeof r == "function")
516
- return r(a);
517
- r != null && (r.current = a);
514
+ function te(t, a) {
515
+ if (typeof t == "function")
516
+ return t(a);
517
+ t != null && (t.current = a);
518
518
  }
519
- function Ne(...r) {
519
+ function Ne(...t) {
520
520
  return (a) => {
521
521
  let n = !1;
522
- const t = r.map((s) => {
522
+ const r = t.map((s) => {
523
523
  const i = te(s, a);
524
524
  return !n && typeof i == "function" && (n = !0), i;
525
525
  });
526
526
  if (n)
527
527
  return () => {
528
- for (let s = 0; s < t.length; s++) {
529
- const i = t[s];
530
- typeof i == "function" ? i() : te(r[s], null);
528
+ for (let s = 0; s < r.length; s++) {
529
+ const i = r[s];
530
+ typeof i == "function" ? i() : te(t[s], null);
531
531
  }
532
532
  };
533
533
  };
534
534
  }
535
- var ke = /* @__PURE__ */ Symbol.for("react.lazy"), K = T[" use ".trim().toString()];
536
- function $e(r) {
537
- return typeof r == "object" && r !== null && "then" in r;
535
+ var ke = /* @__PURE__ */ Symbol.for("react.lazy"), K = C[" use ".trim().toString()];
536
+ function $e(t) {
537
+ return typeof t == "object" && t !== null && "then" in t;
538
538
  }
539
- function le(r) {
540
- return r != null && typeof r == "object" && "$$typeof" in r && r.$$typeof === ke && "_payload" in r && $e(r._payload);
539
+ function le(t) {
540
+ return t != null && typeof t == "object" && "$$typeof" in t && t.$$typeof === ke && "_payload" in t && $e(t._payload);
541
541
  }
542
542
  // @__NO_SIDE_EFFECTS__
543
- function Se(r) {
544
- const a = /* @__PURE__ */ Ce(r), n = T.forwardRef((t, s) => {
545
- let b = t, { children: i } = b, c = x(b, ["children"]);
543
+ function Se(t) {
544
+ const a = /* @__PURE__ */ Te(t), n = C.forwardRef((r, s) => {
545
+ let b = r, { children: i } = b, c = g(b, ["children"]);
546
546
  le(i) && typeof K == "function" && (i = K(i._payload));
547
- const f = T.Children.toArray(i), p = f.find(ze);
548
- if (p) {
549
- const m = p.props.children, h = f.map((g) => g === p ? T.Children.count(m) > 1 ? T.Children.only(null) : T.isValidElement(m) ? m.props.children : null : g);
550
- return /* @__PURE__ */ d(a, y(u({}, c), { ref: s, children: T.isValidElement(m) ? T.cloneElement(m, void 0, h) : null }));
547
+ const f = C.Children.toArray(i), u = f.find(ze);
548
+ if (u) {
549
+ const m = u.props.children, h = f.map((x) => x === u ? C.Children.count(m) > 1 ? C.Children.only(null) : C.isValidElement(m) ? m.props.children : null : x);
550
+ return /* @__PURE__ */ o(a, y(p({}, c), { ref: s, children: C.isValidElement(m) ? C.cloneElement(m, void 0, h) : null }));
551
551
  }
552
- return /* @__PURE__ */ d(a, y(u({}, c), { ref: s, children: i }));
552
+ return /* @__PURE__ */ o(a, y(p({}, c), { ref: s, children: i }));
553
553
  });
554
- return n.displayName = `${r}.Slot`, n;
554
+ return n.displayName = `${t}.Slot`, n;
555
555
  }
556
- var Te = /* @__PURE__ */ Se("Slot");
556
+ var Ce = /* @__PURE__ */ Se("Slot");
557
557
  // @__NO_SIDE_EFFECTS__
558
- function Ce(r) {
559
- const a = T.forwardRef((n, t) => {
560
- let c = n, { children: s } = c, i = x(c, ["children"]);
561
- if (le(s) && typeof K == "function" && (s = K(s._payload)), T.isValidElement(s)) {
562
- const f = Fe(s), p = Le(i, s.props);
563
- return s.type !== T.Fragment && (p.ref = t ? Ne(t, f) : f), T.cloneElement(s, p);
558
+ function Te(t) {
559
+ const a = C.forwardRef((n, r) => {
560
+ let c = n, { children: s } = c, i = g(c, ["children"]);
561
+ if (le(s) && typeof K == "function" && (s = K(s._payload)), C.isValidElement(s)) {
562
+ const f = Fe(s), u = Le(i, s.props);
563
+ return s.type !== C.Fragment && (u.ref = r ? Ne(r, f) : f), C.cloneElement(s, u);
564
564
  }
565
- return T.Children.count(s) > 1 ? T.Children.only(null) : null;
565
+ return C.Children.count(s) > 1 ? C.Children.only(null) : null;
566
566
  });
567
- return a.displayName = `${r}.SlotClone`, a;
567
+ return a.displayName = `${t}.SlotClone`, a;
568
568
  }
569
569
  var Me = /* @__PURE__ */ Symbol("radix.slottable");
570
- function ze(r) {
571
- return T.isValidElement(r) && typeof r.type == "function" && "__radixId" in r.type && r.type.__radixId === Me;
570
+ function ze(t) {
571
+ return C.isValidElement(t) && typeof t.type == "function" && "__radixId" in t.type && t.type.__radixId === Me;
572
572
  }
573
- function Le(r, a) {
574
- const n = u({}, a);
575
- for (const t in a) {
576
- const s = r[t], i = a[t];
577
- /^on[A-Z]/.test(t) ? s && i ? n[t] = (...f) => {
578
- const p = i(...f);
579
- return s(...f), p;
580
- } : s && (n[t] = s) : t === "style" ? n[t] = u(u({}, s), i) : t === "className" && (n[t] = [s, i].filter(Boolean).join(" "));
573
+ function Le(t, a) {
574
+ const n = p({}, a);
575
+ for (const r in a) {
576
+ const s = t[r], i = a[r];
577
+ /^on[A-Z]/.test(r) ? s && i ? n[r] = (...f) => {
578
+ const u = i(...f);
579
+ return s(...f), u;
580
+ } : s && (n[r] = s) : r === "style" ? n[r] = p(p({}, s), i) : r === "className" && (n[r] = [s, i].filter(Boolean).join(" "));
581
581
  }
582
- return u(u({}, r), n);
582
+ return p(p({}, t), n);
583
583
  }
584
- function Fe(r) {
585
- var t, s;
586
- let a = (t = Object.getOwnPropertyDescriptor(r.props, "ref")) == null ? void 0 : t.get, n = a && "isReactWarning" in a && a.isReactWarning;
587
- return n ? r.ref : (a = (s = Object.getOwnPropertyDescriptor(r, "ref")) == null ? void 0 : s.get, n = a && "isReactWarning" in a && a.isReactWarning, n ? r.props.ref : r.props.ref || r.ref);
584
+ function Fe(t) {
585
+ var r, s;
586
+ let a = (r = Object.getOwnPropertyDescriptor(t.props, "ref")) == null ? void 0 : r.get, n = a && "isReactWarning" in a && a.isReactWarning;
587
+ return n ? t.ref : (a = (s = Object.getOwnPropertyDescriptor(t, "ref")) == null ? void 0 : s.get, n = a && "isReactWarning" in a && a.isReactWarning, n ? t.props.ref : t.props.ref || t.ref);
588
588
  }
589
589
  const re = j(
590
590
  // Base classes
@@ -592,8 +592,8 @@ const re = j(
592
592
  "inline-flex",
593
593
  "items-center",
594
594
  "font-medium",
595
- M("full"),
596
- o("xs", "gap")
595
+ T("full"),
596
+ d("xs", "gap")
597
597
  ),
598
598
  {
599
599
  variants: {
@@ -619,18 +619,18 @@ const re = j(
619
619
  },
620
620
  size: {
621
621
  sm: l(
622
- o("xs", "px"),
623
- o("xs", "py"),
622
+ d("xs", "px"),
623
+ d("xs", "py"),
624
624
  z("caption")
625
625
  ),
626
626
  md: l(
627
- o("sm", "px"),
628
- o("xs", "py"),
627
+ d("sm", "px"),
628
+ d("xs", "py"),
629
629
  z("bodySmall")
630
630
  ),
631
631
  lg: l(
632
- o("md", "px"),
633
- o("sm", "py"),
632
+ d("md", "px"),
633
+ d("sm", "py"),
634
634
  z("body")
635
635
  )
636
636
  },
@@ -677,40 +677,40 @@ const re = j(
677
677
  }
678
678
  ), Ee = O(function(a, n) {
679
679
  const {
680
- children: t,
680
+ children: r,
681
681
  variant: s = "default",
682
682
  size: i = "md",
683
683
  selected: c = !1,
684
684
  disabled: f = !1,
685
- className: p = "",
685
+ className: u = "",
686
686
  "aria-label": b,
687
687
  tabIndex: m,
688
688
  asChild: h = !1
689
689
  } = a, v = (() => {
690
690
  if (b) return b;
691
- if (typeof t == "string") return t;
692
- if (typeof t == "object" && t !== null && "props" in t) {
693
- const F = t.props;
691
+ if (typeof r == "string") return r;
692
+ if (typeof r == "object" && r !== null && "props" in r) {
693
+ const F = r.props;
694
694
  if (F != null && F.children && typeof F.children == "string")
695
695
  return F.children;
696
696
  }
697
697
  })();
698
698
  if (h)
699
- return /* @__PURE__ */ d(
700
- Te,
699
+ return /* @__PURE__ */ o(
700
+ Ce,
701
701
  {
702
702
  ref: n,
703
703
  className: l(
704
704
  re({ variant: s, size: i, selected: c, disabled: f }),
705
- p
705
+ u
706
706
  ),
707
707
  "aria-label": b,
708
708
  "aria-disabled": f || void 0,
709
709
  tabIndex: m,
710
- children: t
710
+ children: r
711
711
  }
712
712
  );
713
- const { onRemove: C, onClick: L } = a, X = L !== void 0, q = X && !f, R = (F) => {
713
+ const { onRemove: M, onClick: L } = a, X = L !== void 0, q = X && !f, R = (F) => {
714
714
  f || (F.key === "Enter" || F.key === " ") && (F.preventDefault(), L == null || L());
715
715
  };
716
716
  return /* @__PURE__ */ $(
@@ -719,12 +719,12 @@ const re = j(
719
719
  ref: n,
720
720
  className: l(
721
721
  re({ variant: s, size: i, selected: c, disabled: f }),
722
- C && o("xs", "pr"),
723
- p
722
+ M && d("xs", "pr"),
723
+ u
724
724
  ),
725
725
  "aria-disabled": f,
726
726
  children: [
727
- X ? /* @__PURE__ */ d(
727
+ X ? /* @__PURE__ */ o(
728
728
  "button",
729
729
  {
730
730
  type: "button",
@@ -738,7 +738,7 @@ const re = j(
738
738
  "flex-1",
739
739
  "bg-transparent",
740
740
  "border-0",
741
- o("none", "p"),
741
+ d("none", "p"),
742
742
  "text-inherit",
743
743
  "text-left",
744
744
  "cursor-pointer",
@@ -746,23 +746,23 @@ const re = j(
746
746
  "focus:ring-2",
747
747
  "focus:ring-line-focus",
748
748
  "focus:ring-offset-2",
749
- M("full")
749
+ T("full")
750
750
  ),
751
- children: t
751
+ children: r
752
752
  }
753
- ) : /* @__PURE__ */ d("span", { children: t }),
754
- C && !f && /* @__PURE__ */ d(
753
+ ) : /* @__PURE__ */ o("span", { children: r }),
754
+ M && !f && /* @__PURE__ */ o(
755
755
  "button",
756
756
  {
757
757
  type: "button",
758
758
  onClick: (F) => {
759
- F.stopPropagation(), C();
759
+ F.stopPropagation(), M();
760
760
  },
761
761
  className: l(
762
- o("xs", "ml"),
762
+ d("xs", "ml"),
763
763
  "hover:bg-tint-hover",
764
- M("full"),
765
- o("xs", "p"),
764
+ T("full"),
765
+ d("xs", "p"),
766
766
  "transition-colors",
767
767
  "focus:outline-none",
768
768
  "focus:ring-2",
@@ -770,7 +770,7 @@ const re = j(
770
770
  "focus:ring-offset-1"
771
771
  ),
772
772
  "aria-label": `Remove ${v || "chip"}`,
773
- children: /* @__PURE__ */ d(be, { className: "h-3 w-3", "aria-hidden": "true" })
773
+ children: /* @__PURE__ */ o(be, { className: "h-3 w-3", "aria-hidden": "true" })
774
774
  }
775
775
  )
776
776
  ]
@@ -778,34 +778,34 @@ const re = j(
778
778
  );
779
779
  });
780
780
  Ee.displayName = "Chip";
781
- function ma(s) {
781
+ function xa(s) {
782
782
  var i = s, {
783
- message: r,
783
+ message: t,
784
784
  id: a,
785
785
  className: n = ""
786
- } = i, t = x(i, [
786
+ } = i, r = g(i, [
787
787
  "message",
788
788
  "id",
789
789
  "className"
790
790
  ]);
791
791
  const c = [
792
- o("xs", "mt"),
792
+ d("xs", "mt"),
793
793
  z("bodySmall"),
794
794
  "text-fg-error",
795
795
  "flex",
796
796
  "items-center",
797
- o("xs", "gap")
797
+ d("xs", "gap")
798
798
  ], f = l(...c, n);
799
- return /* @__PURE__ */ $("div", y(u({ role: "alert", id: a, className: f, "aria-live": "polite" }, t), { children: [
800
- /* @__PURE__ */ d(ge, { className: "h-4 w-4 shrink-0", "aria-hidden": "true" }),
801
- /* @__PURE__ */ d("span", { children: r })
799
+ return /* @__PURE__ */ $("div", y(p({ role: "alert", id: a, className: f, "aria-live": "polite" }, r), { children: [
800
+ /* @__PURE__ */ o(ge, { className: "h-4 w-4 shrink-0", "aria-hidden": "true" }),
801
+ /* @__PURE__ */ o("span", { children: t })
802
802
  ] }));
803
803
  }
804
- function ba(t) {
805
- var s = t, {
806
- variant: r = "info",
804
+ function ya(r) {
805
+ var s = r, {
806
+ variant: t = "info",
807
807
  className: a
808
- } = s, n = x(s, [
808
+ } = s, n = g(s, [
809
809
  "variant",
810
810
  "className"
811
811
  ]);
@@ -814,16 +814,16 @@ function ba(t) {
814
814
  error: l("bg-error-bg", "text-error-dark", "border-error"),
815
815
  info: l("bg-info-bg", "text-info-dark", "border-info")
816
816
  };
817
- return /* @__PURE__ */ d(
817
+ return /* @__PURE__ */ o(
818
818
  "div",
819
- u({
819
+ p({
820
820
  role: "alert",
821
821
  className: l(
822
822
  "border",
823
- o("base", "px"),
824
- o("sm", "py"),
825
- M("lg"),
826
- i[r],
823
+ d("base", "px"),
824
+ d("sm", "py"),
825
+ T("lg"),
826
+ i[t],
827
827
  a
828
828
  )
829
829
  }, n)
@@ -838,100 +838,100 @@ const Ae = l(
838
838
  default: "",
839
839
  required: l(
840
840
  "after:content-['*']",
841
- `after:${o("0.5", "ml")}`,
841
+ `after:${d("0.5", "ml")}`,
842
842
  "after:text-fg-error"
843
843
  ),
844
844
  optional: l(
845
845
  "after:content-['(optional)']",
846
- `after:${o("xs", "ml")}`,
846
+ `after:${d("xs", "ml")}`,
847
847
  "after:text-fg-tertiary",
848
848
  "after:font-normal"
849
849
  )
850
850
  }, De = B(
851
851
  O(function(c, i) {
852
- var f = c, { variant: a = "default", className: n = "", children: t } = f, s = x(f, ["variant", "className", "children"]);
853
- const p = l(
852
+ var f = c, { variant: a = "default", className: n = "", children: r } = f, s = g(f, ["variant", "className", "children"]);
853
+ const u = l(
854
854
  Ae,
855
855
  Ie[a],
856
856
  n
857
857
  );
858
- return /* @__PURE__ */ d("label", y(u({ ref: i, className: p }, s), { children: t }));
858
+ return /* @__PURE__ */ o("label", y(p({ ref: i, className: u }, s), { children: r }));
859
859
  })
860
860
  );
861
861
  De.displayName = "Label";
862
- function w(r, a, n) {
863
- const t = Ve(r), s = We(r);
862
+ function w(t, a, n) {
863
+ const r = Ve(t), s = We(t);
864
864
  return {
865
- hex: r,
866
- rgb: t,
865
+ hex: t,
866
+ rgb: r,
867
867
  hsl: s,
868
868
  cssVar: `var(--color-${a}-${n})`,
869
869
  tailwind: `${a}-${n}`
870
870
  };
871
871
  }
872
- function Ve(r) {
873
- const a = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(r);
872
+ function Ve(t) {
873
+ const a = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);
874
874
  return a ? `${parseInt(a[1], 16)}, ${parseInt(a[2], 16)}, ${parseInt(a[3], 16)}` : "0, 0, 0";
875
875
  }
876
- function We(r) {
877
- const a = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(r);
876
+ function We(t) {
877
+ const a = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);
878
878
  if (!a) return "0, 0%, 0%";
879
- const n = parseInt(a[1], 16) / 255, t = parseInt(a[2], 16) / 255, s = parseInt(a[3], 16) / 255, i = Math.max(n, t, s), c = Math.min(n, t, s);
880
- let f = 0, p = 0;
879
+ const n = parseInt(a[1], 16) / 255, r = parseInt(a[2], 16) / 255, s = parseInt(a[3], 16) / 255, i = Math.max(n, r, s), c = Math.min(n, r, s);
880
+ let f = 0, u = 0;
881
881
  const b = (i + c) / 2;
882
882
  if (i !== c) {
883
883
  const m = i - c;
884
- switch (p = b > 0.5 ? m / (2 - i - c) : m / (i + c), i) {
884
+ switch (u = b > 0.5 ? m / (2 - i - c) : m / (i + c), i) {
885
885
  case n:
886
- f = ((t - s) / m + (t < s ? 6 : 0)) / 6;
886
+ f = ((r - s) / m + (r < s ? 6 : 0)) / 6;
887
887
  break;
888
- case t:
888
+ case r:
889
889
  f = ((s - n) / m + 2) / 6;
890
890
  break;
891
891
  case s:
892
- f = ((n - t) / m + 4) / 6;
892
+ f = ((n - r) / m + 4) / 6;
893
893
  break;
894
894
  }
895
895
  }
896
- return `${Math.round(f * 360)}, ${Math.round(p * 100)}%, ${Math.round(b * 100)}%`;
896
+ return `${Math.round(f * 360)}, ${Math.round(u * 100)}%, ${Math.round(b * 100)}%`;
897
897
  }
898
898
  w("#f0f4f8", "brand-primary", 50), w("#d9e2ec", "brand-primary", 100), w("#bcccdc", "brand-primary", 200), w("#9fb3c8", "brand-primary", 300), w("#7390ad", "brand-primary", 400), w("#486581", "brand-primary", 500), w("#334e68", "brand-primary", 600), w("#243b53", "brand-primary", 700), w("#1a2a3a", "brand-primary", 800), w("#102a43", "brand-primary", 900), w("#061a35", "brand-primary", 950);
899
899
  w("#f7f5ff", "brand-secondary", 50), w("#eee9ff", "brand-secondary", 100), w("#e0d6ff", "brand-secondary", 200), w("#cbb8ff", "brand-secondary", 300), w("#aa89fc", "brand-secondary", 400), w("#8e58f2", "brand-secondary", 500), w("#703bc8", "brand-secondary", 600), w("#582aa2", "brand-secondary", 700), w("#44227e", "brand-secondary", 800), w("#32185d", "brand-secondary", 900), w("#180635", "brand-secondary", 950);
900
- function e(r, a, n) {
901
- const t = je(r), s = Re(r);
900
+ function e(t, a, n) {
901
+ const r = je(t), s = Re(t);
902
902
  return {
903
- hex: r,
904
- rgb: t,
903
+ hex: t,
904
+ rgb: r,
905
905
  hsl: s,
906
906
  cssVar: `var(--color-${a}-${n})`,
907
907
  tailwind: `${a}-${n}`
908
908
  };
909
909
  }
910
- function je(r) {
911
- const a = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(r);
910
+ function je(t) {
911
+ const a = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);
912
912
  return a ? `${parseInt(a[1], 16)}, ${parseInt(a[2], 16)}, ${parseInt(a[3], 16)}` : "0, 0, 0";
913
913
  }
914
- function Re(r) {
915
- const a = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(r);
914
+ function Re(t) {
915
+ const a = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);
916
916
  if (!a) return "0, 0%, 0%";
917
- const n = parseInt(a[1], 16) / 255, t = parseInt(a[2], 16) / 255, s = parseInt(a[3], 16) / 255, i = Math.max(n, t, s), c = Math.min(n, t, s);
918
- let f = 0, p = 0;
917
+ const n = parseInt(a[1], 16) / 255, r = parseInt(a[2], 16) / 255, s = parseInt(a[3], 16) / 255, i = Math.max(n, r, s), c = Math.min(n, r, s);
918
+ let f = 0, u = 0;
919
919
  const b = (i + c) / 2;
920
920
  if (i !== c) {
921
921
  const m = i - c;
922
- switch (p = b > 0.5 ? m / (2 - i - c) : m / (i + c), i) {
922
+ switch (u = b > 0.5 ? m / (2 - i - c) : m / (i + c), i) {
923
923
  case n:
924
- f = ((t - s) / m + (t < s ? 6 : 0)) / 6;
924
+ f = ((r - s) / m + (r < s ? 6 : 0)) / 6;
925
925
  break;
926
- case t:
926
+ case r:
927
927
  f = ((s - n) / m + 2) / 6;
928
928
  break;
929
929
  case s:
930
- f = ((n - t) / m + 4) / 6;
930
+ f = ((n - r) / m + 4) / 6;
931
931
  break;
932
932
  }
933
933
  }
934
- return `${Math.round(f * 360)}, ${Math.round(p * 100)}%, ${Math.round(b * 100)}%`;
934
+ return `${Math.round(f * 360)}, ${Math.round(u * 100)}%, ${Math.round(b * 100)}%`;
935
935
  }
936
936
  e("#eef2ff", "indigo", 50), e("#e0e7ff", "indigo", 100), e("#c7d2fe", "indigo", 200), e("#a5b4fc", "indigo", 300), e("#818cf8", "indigo", 400), e("#6366f1", "indigo", 500), e("#4f46e5", "indigo", 600), e("#4338ca", "indigo", 700), e("#3730a3", "indigo", 800), e("#312e81", "indigo", 900), e("#1e1b4b", "indigo", 950);
937
937
  e("#f5f3ff", "violet", 50), e("#ede9fe", "violet", 100), e("#ddd6fe", "violet", 200), e("#c4b5fd", "violet", 300), e("#a78bfa", "violet", 400), e("#8b5cf6", "violet", 500), e("#7c3aed", "violet", 600), e("#6d28d9", "violet", 700), e("#5b21b6", "violet", 800), e("#4c1d95", "violet", 900), e("#2e1065", "violet", 950);
@@ -1005,15 +1005,15 @@ const _e = {
1005
1005
  "2xl": W.create("2xl"),
1006
1006
  inner: W.create("inner")
1007
1007
  };
1008
- function Z(r) {
1009
- return _e[r].tailwind;
1008
+ function Y(t) {
1009
+ return _e[t].tailwind;
1010
1010
  }
1011
1011
  class E {
1012
1012
  /**
1013
1013
  * Create a border width token
1014
1014
  */
1015
1015
  static createWidth(a) {
1016
- const t = {
1016
+ const r = {
1017
1017
  none: {
1018
1018
  px: 0,
1019
1019
  tailwind: "border-0"
@@ -1036,9 +1036,9 @@ class E {
1036
1036
  }
1037
1037
  }[a];
1038
1038
  return {
1039
- value: t.px,
1040
- px: `${t.px}px`,
1041
- tailwind: t.tailwind
1039
+ value: r.px,
1040
+ px: `${r.px}px`,
1041
+ tailwind: r.tailwind
1042
1042
  };
1043
1043
  }
1044
1044
  /**
@@ -1058,7 +1058,7 @@ class _ {
1058
1058
  * Create breakpoint token
1059
1059
  */
1060
1060
  static create(a) {
1061
- const t = {
1061
+ const r = {
1062
1062
  sm: { minWidth: 640, tailwind: "sm" },
1063
1063
  md: { minWidth: 768, tailwind: "md" },
1064
1064
  lg: { minWidth: 1024, tailwind: "lg" },
@@ -1067,10 +1067,10 @@ class _ {
1067
1067
  }[a];
1068
1068
  return {
1069
1069
  name: a,
1070
- minWidth: t.minWidth,
1071
- px: `${t.minWidth}px`,
1072
- rem: `${t.minWidth / 16}rem`,
1073
- tailwind: t.tailwind
1070
+ minWidth: r.minWidth,
1071
+ px: `${r.minWidth}px`,
1072
+ rem: `${r.minWidth / 16}rem`,
1073
+ tailwind: r.tailwind
1074
1074
  };
1075
1075
  }
1076
1076
  }
@@ -1080,7 +1080,7 @@ class D {
1080
1080
  * Create an animation token
1081
1081
  */
1082
1082
  static create(a, n = "ease-in-out") {
1083
- const t = {
1083
+ const r = {
1084
1084
  fast: {
1085
1085
  value: "150ms",
1086
1086
  ms: 150,
@@ -1124,15 +1124,15 @@ class D {
1124
1124
  }
1125
1125
  };
1126
1126
  return {
1127
- duration: t[a],
1127
+ duration: r[a],
1128
1128
  easing: s[n]
1129
1129
  };
1130
1130
  }
1131
1131
  /**
1132
1132
  * Create a transition token
1133
1133
  */
1134
- static createTransition(a, n = "base", t = "ease-in-out") {
1135
- const s = this.create(n, t), i = Array.isArray(a) ? a.join(", ") : a, c = [
1134
+ static createTransition(a, n = "base", r = "ease-in-out") {
1135
+ const s = this.create(n, r), i = Array.isArray(a) ? a.join(", ") : a, c = [
1136
1136
  s.duration.tailwind,
1137
1137
  s.easing.tailwind
1138
1138
  ].join(" ");
@@ -1208,7 +1208,7 @@ class S {
1208
1208
  * Create an opacity token
1209
1209
  */
1210
1210
  static create(a) {
1211
- const n = a / 100, t = {
1211
+ const n = a / 100, r = {
1212
1212
  0: "Fully transparent",
1213
1213
  5: "Very light overlay",
1214
1214
  10: "Light overlay",
@@ -1245,7 +1245,7 @@ class S {
1245
1245
  95: "opacity-95",
1246
1246
  100: "opacity-100"
1247
1247
  }[a],
1248
- description: t[a]
1248
+ description: r[a]
1249
1249
  };
1250
1250
  }
1251
1251
  }
@@ -1285,16 +1285,16 @@ const He = j("w-full", {
1285
1285
  variant: "primary"
1286
1286
  }
1287
1287
  }), Be = O(function(h, m) {
1288
- var g = h, {
1288
+ var x = h, {
1289
1289
  value: a,
1290
1290
  max: n = 100,
1291
- variant: t = "primary",
1291
+ variant: r = "primary",
1292
1292
  size: s = "md",
1293
1293
  showLabel: i = !1,
1294
1294
  label: c,
1295
1295
  "aria-label": f,
1296
- className: p = ""
1297
- } = g, b = x(g, [
1296
+ className: u = ""
1297
+ } = x, b = g(x, [
1298
1298
  "value",
1299
1299
  "max",
1300
1300
  "variant",
@@ -1304,8 +1304,8 @@ const He = j("w-full", {
1304
1304
  "aria-label",
1305
1305
  "className"
1306
1306
  ]);
1307
- const v = a === void 0, C = v ? void 0 : Math.min(Math.max(a / n * 100, 0), 100), L = f || (v ? "Loading in progress" : `Progress: ${C == null ? void 0 : C.toFixed(0)}%`);
1308
- return /* @__PURE__ */ $("div", y(u({ ref: m, className: l("w-full", p) }, b), { children: [
1307
+ const v = a === void 0, M = v ? void 0 : Math.min(Math.max(a / n * 100, 0), 100), L = f || (v ? "Loading in progress" : `Progress: ${M == null ? void 0 : M.toFixed(0)}%`);
1308
+ return /* @__PURE__ */ $("div", y(p({ ref: m, className: l("w-full", u) }, b), { children: [
1309
1309
  i && (c || !v) && /* @__PURE__ */ $(
1310
1310
  "div",
1311
1311
  {
@@ -1313,10 +1313,10 @@ const He = j("w-full", {
1313
1313
  "flex",
1314
1314
  "items-center",
1315
1315
  "justify-between",
1316
- o("xs", "mb")
1316
+ d("xs", "mb")
1317
1317
  ),
1318
1318
  children: [
1319
- c && /* @__PURE__ */ d(
1319
+ c && /* @__PURE__ */ o(
1320
1320
  "span",
1321
1321
  {
1322
1322
  className: l(
@@ -1327,7 +1327,7 @@ const He = j("w-full", {
1327
1327
  children: c
1328
1328
  }
1329
1329
  ),
1330
- !v && C !== void 0 && /* @__PURE__ */ $(
1330
+ !v && M !== void 0 && /* @__PURE__ */ $(
1331
1331
  "span",
1332
1332
  {
1333
1333
  className: l(
@@ -1335,7 +1335,7 @@ const He = j("w-full", {
1335
1335
  "text-fg-secondary"
1336
1336
  ),
1337
1337
  children: [
1338
- C.toFixed(0),
1338
+ M.toFixed(0),
1339
1339
  "%"
1340
1340
  ]
1341
1341
  }
@@ -1343,7 +1343,7 @@ const He = j("w-full", {
1343
1343
  ]
1344
1344
  }
1345
1345
  ),
1346
- /* @__PURE__ */ d(
1346
+ /* @__PURE__ */ o(
1347
1347
  "div",
1348
1348
  {
1349
1349
  role: "progressbar",
@@ -1356,10 +1356,10 @@ const He = j("w-full", {
1356
1356
  "relative",
1357
1357
  "w-full",
1358
1358
  "overflow-hidden",
1359
- He({ size: s, variant: t }),
1360
- M("full")
1359
+ He({ size: s, variant: r }),
1360
+ T("full")
1361
1361
  ),
1362
- children: v ? /* @__PURE__ */ d(
1362
+ children: v ? /* @__PURE__ */ o(
1363
1363
  "div",
1364
1364
  {
1365
1365
  className: l(
@@ -1367,8 +1367,8 @@ const He = j("w-full", {
1367
1367
  "top-0",
1368
1368
  "left-0",
1369
1369
  "bottom-0",
1370
- ne({ variant: t }),
1371
- M("full"),
1370
+ ne({ variant: r }),
1371
+ T("full"),
1372
1372
  "motion-reduce:animate-none"
1373
1373
  ),
1374
1374
  style: {
@@ -1376,19 +1376,19 @@ const He = j("w-full", {
1376
1376
  animation: "progress-indeterminate 1.5s ease-in-out infinite"
1377
1377
  }
1378
1378
  }
1379
- ) : /* @__PURE__ */ d(
1379
+ ) : /* @__PURE__ */ o(
1380
1380
  "div",
1381
1381
  {
1382
1382
  className: l(
1383
1383
  "h-full",
1384
- ne({ variant: t }),
1385
- M("full"),
1384
+ ne({ variant: r }),
1385
+ T("full"),
1386
1386
  "transition-all",
1387
1387
  "duration-300",
1388
1388
  "ease-out"
1389
1389
  ),
1390
1390
  style: {
1391
- width: `${C}%`
1391
+ width: `${M}%`
1392
1392
  },
1393
1393
  "aria-hidden": "true"
1394
1394
  }
@@ -1409,8 +1409,8 @@ const Oe = {
1409
1409
  var c = i, {
1410
1410
  orientation: a = "horizontal",
1411
1411
  variant: n = "solid",
1412
- className: t = ""
1413
- } = c, s = x(c, [
1412
+ className: r = ""
1413
+ } = c, s = g(c, [
1414
1414
  "orientation",
1415
1415
  "variant",
1416
1416
  "className"
@@ -1420,18 +1420,18 @@ const Oe = {
1420
1420
  "border-line-default",
1421
1421
  Oe[a],
1422
1422
  Pe[n],
1423
- t
1423
+ r
1424
1424
  );
1425
- return a === "vertical" ? /* @__PURE__ */ d(
1425
+ return a === "vertical" ? /* @__PURE__ */ o(
1426
1426
  "div",
1427
- u({
1427
+ p({
1428
1428
  className: f,
1429
1429
  role: "separator",
1430
1430
  "aria-orientation": "vertical"
1431
1431
  }, s)
1432
- ) : /* @__PURE__ */ d(
1432
+ ) : /* @__PURE__ */ o(
1433
1433
  "hr",
1434
- u({
1434
+ p({
1435
1435
  className: f,
1436
1436
  role: "separator",
1437
1437
  "aria-orientation": "horizontal"
@@ -1439,15 +1439,15 @@ const Oe = {
1439
1439
  );
1440
1440
  });
1441
1441
  qe.displayName = "Separator";
1442
- function ga(f) {
1443
- var p = f, {
1444
- variant: r = "text",
1442
+ function ha(f) {
1443
+ var u = f, {
1444
+ variant: t = "text",
1445
1445
  width: a,
1446
1446
  height: n,
1447
- lines: t = 1,
1447
+ lines: r = 1,
1448
1448
  className: s = "",
1449
1449
  "aria-label": i
1450
- } = p, c = x(p, [
1450
+ } = u, c = g(u, [
1451
1451
  "variant",
1452
1452
  "width",
1453
1453
  "height",
@@ -1458,38 +1458,38 @@ function ga(f) {
1458
1458
  const b = [
1459
1459
  "motion-safe:animate-pulse",
1460
1460
  "bg-surface-muted",
1461
- M("sm")
1461
+ T("sm")
1462
1462
  ], m = {
1463
1463
  text: "h-4",
1464
1464
  card: "h-32",
1465
1465
  list: "h-12",
1466
- circle: M("full")
1467
- }, h = l(...b, m[r], s), g = {};
1468
- a && (g.width = a), n && (g.height = n);
1469
- const v = i || `Loading ${r} content`;
1470
- return r === "text" && t > 1 ? /* @__PURE__ */ d(
1466
+ circle: T("full")
1467
+ }, h = l(...b, m[t], s), x = {};
1468
+ a && (x.width = a), n && (x.height = n);
1469
+ const v = i || `Loading ${t} content`;
1470
+ return t === "text" && r > 1 ? /* @__PURE__ */ o(
1471
1471
  "div",
1472
- y(u({
1473
- className: o("sm", "space-y"),
1472
+ y(p({
1473
+ className: d("sm", "space-y"),
1474
1474
  role: "status",
1475
1475
  "aria-busy": "true",
1476
1476
  "aria-label": v
1477
1477
  }, c), {
1478
- children: Array.from({ length: t }).map((C, L) => /* @__PURE__ */ d(
1478
+ children: Array.from({ length: r }).map((M, L) => /* @__PURE__ */ o(
1479
1479
  "div",
1480
1480
  {
1481
1481
  className: h,
1482
- style: L === t - 1 ? { width: "75%" } : g,
1482
+ style: L === r - 1 ? { width: "75%" } : x,
1483
1483
  "aria-hidden": "true"
1484
1484
  },
1485
1485
  L
1486
1486
  ))
1487
1487
  })
1488
- ) : /* @__PURE__ */ d(
1488
+ ) : /* @__PURE__ */ o(
1489
1489
  "div",
1490
- u({
1490
+ p({
1491
1491
  className: h,
1492
- style: g,
1492
+ style: x,
1493
1493
  role: "status",
1494
1494
  "aria-busy": "true",
1495
1495
  "aria-label": v
@@ -1517,9 +1517,9 @@ const Ue = j("motion-safe:animate-spin", {
1517
1517
  var f = c, {
1518
1518
  size: a = "md",
1519
1519
  variant: n = "primary",
1520
- label: t,
1520
+ label: r,
1521
1521
  className: s = ""
1522
- } = f, i = x(f, [
1522
+ } = f, i = g(f, [
1523
1523
  "size",
1524
1524
  "variant",
1525
1525
  "label",
@@ -1527,30 +1527,30 @@ const Ue = j("motion-safe:animate-spin", {
1527
1527
  ]);
1528
1528
  return /* @__PURE__ */ $(
1529
1529
  "div",
1530
- y(u({
1530
+ y(p({
1531
1531
  className: l("inline-flex", "items-center", s),
1532
1532
  role: "status",
1533
- "aria-label": t || "Loading",
1533
+ "aria-label": r || "Loading",
1534
1534
  "aria-live": "polite"
1535
1535
  }, i), {
1536
1536
  children: [
1537
- /* @__PURE__ */ d(
1537
+ /* @__PURE__ */ o(
1538
1538
  xe,
1539
1539
  {
1540
1540
  className: l(Ue({ size: a, variant: n })),
1541
1541
  "aria-hidden": "true"
1542
1542
  }
1543
1543
  ),
1544
- t && /* @__PURE__ */ d(
1544
+ r && /* @__PURE__ */ o(
1545
1545
  "span",
1546
1546
  {
1547
1547
  className: l(
1548
- o("sm", "ml"),
1548
+ d("sm", "ml"),
1549
1549
  z("bodySmall"),
1550
1550
  "text-fg-secondary",
1551
1551
  "sr-only"
1552
1552
  ),
1553
- children: t
1553
+ children: r
1554
1554
  }
1555
1555
  )
1556
1556
  ]
@@ -1610,16 +1610,16 @@ const Xe = {
1610
1610
  contrast: "text-fg-inverse"
1611
1611
  }
1612
1612
  };
1613
- function Ye(b, p) {
1613
+ function Ge(b, u) {
1614
1614
  var m = b, {
1615
- variant: r = "paragraph",
1615
+ variant: t = "paragraph",
1616
1616
  bold: a,
1617
1617
  italic: n,
1618
- className: t,
1618
+ className: r,
1619
1619
  as: s,
1620
1620
  colorRole: i = "neutral",
1621
1621
  colorShade: c = "dark"
1622
- } = m, f = x(m, [
1622
+ } = m, f = g(m, [
1623
1623
  "variant",
1624
1624
  "bold",
1625
1625
  "italic",
@@ -1629,40 +1629,40 @@ function Ye(b, p) {
1629
1629
  "colorShade"
1630
1630
  ]);
1631
1631
  const h = [];
1632
- let g;
1632
+ let x;
1633
1633
  if (s)
1634
- g = s;
1634
+ x = s;
1635
1635
  else
1636
- switch (r) {
1636
+ switch (t) {
1637
1637
  case "heading":
1638
- g = "h2";
1638
+ x = "h2";
1639
1639
  break;
1640
1640
  case "list":
1641
- g = "li";
1641
+ x = "li";
1642
1642
  break;
1643
1643
  default:
1644
- g = "p";
1644
+ x = "p";
1645
1645
  break;
1646
1646
  }
1647
- return r === "heading" ? h.push(V("h2")) : r === "body" || r === "paragraph" ? h.push(V("body")) : r === "bodySmall" ? h.push(V("bodySmall")) : r === "bodyLarge" ? h.push(V("bodyLarge")) : r === "caption" ? h.push(V("caption")) : r === "label" ? h.push(V("label")) : h.push(V("body")), a && h.push("font-bold"), n && h.push("italic"), h.push(Xe[i][c]), /* @__PURE__ */ d(g, u({ ref: p, className: l(...h, t) }, f));
1647
+ return t === "heading" ? h.push(V("h2")) : t === "body" || t === "paragraph" ? h.push(V("body")) : t === "bodySmall" ? h.push(V("bodySmall")) : t === "bodyLarge" ? h.push(V("bodyLarge")) : t === "caption" ? h.push(V("caption")) : t === "label" ? h.push(V("label")) : h.push(V("body")), a && h.push("font-bold"), n && h.push("italic"), h.push(Xe[i][c]), /* @__PURE__ */ o(x, p({ ref: u, className: l(...h, r) }, f));
1648
1648
  }
1649
- const se = O(Ye), Ze = {
1649
+ const se = O(Ge), Ye = {
1650
1650
  sm: "max-w-screen-sm",
1651
1651
  md: "max-w-screen-md",
1652
1652
  lg: "max-w-screen-lg",
1653
1653
  xl: "max-w-screen-xl",
1654
1654
  "2xl": "max-w-screen-2xl",
1655
1655
  full: "max-w-full"
1656
- }, Ge = ie.forwardRef(
1657
- (p, f) => {
1658
- var b = p, {
1659
- className: r,
1656
+ }, Ze = ie.forwardRef(
1657
+ (u, f) => {
1658
+ var b = u, {
1659
+ className: t,
1660
1660
  maxWidth: a = "lg",
1661
1661
  paddingX: n = "base",
1662
- paddingY: t = "base",
1662
+ paddingY: r = "base",
1663
1663
  center: s = !0,
1664
1664
  children: i
1665
- } = b, c = x(b, [
1665
+ } = b, c = g(b, [
1666
1666
  "className",
1667
1667
  "maxWidth",
1668
1668
  "paddingX",
@@ -1670,17 +1670,17 @@ const se = O(Ye), Ze = {
1670
1670
  "center",
1671
1671
  "children"
1672
1672
  ]);
1673
- return /* @__PURE__ */ d(
1673
+ return /* @__PURE__ */ o(
1674
1674
  "div",
1675
- y(u({
1675
+ y(p({
1676
1676
  ref: f,
1677
1677
  className: l(
1678
1678
  "w-full",
1679
- Ze[a],
1680
- o(n, "px"),
1681
- o(t, "py"),
1679
+ Ye[a],
1680
+ d(n, "px"),
1681
+ d(r, "py"),
1682
1682
  s && "mx-auto",
1683
- r
1683
+ t
1684
1684
  )
1685
1685
  }, c), {
1686
1686
  children: i
@@ -1688,17 +1688,17 @@ const se = O(Ye), Ze = {
1688
1688
  );
1689
1689
  }
1690
1690
  );
1691
- Ge.displayName = "Container";
1691
+ Ze.displayName = "Container";
1692
1692
  const Qe = ie.forwardRef(
1693
- (p, f) => {
1694
- var b = p, {
1695
- className: r,
1693
+ (u, f) => {
1694
+ var b = u, {
1695
+ className: t,
1696
1696
  spacing: a = "base",
1697
1697
  align: n = "stretch",
1698
- justify: t = "start",
1698
+ justify: r = "start",
1699
1699
  direction: s = "column",
1700
1700
  children: i
1701
- } = b, c = x(b, [
1701
+ } = b, c = g(b, [
1702
1702
  "className",
1703
1703
  "spacing",
1704
1704
  "align",
@@ -1706,12 +1706,12 @@ const Qe = ie.forwardRef(
1706
1706
  "direction",
1707
1707
  "children"
1708
1708
  ]);
1709
- const m = s === "column" ? o(a, "gap-y") : o(a, "gap-x"), h = {
1709
+ const m = s === "column" ? d(a, "gap-y") : d(a, "gap-x"), h = {
1710
1710
  start: "items-start",
1711
1711
  center: "items-center",
1712
1712
  end: "items-end",
1713
1713
  stretch: "items-stretch"
1714
- }, g = {
1714
+ }, x = {
1715
1715
  start: "justify-start",
1716
1716
  center: "justify-center",
1717
1717
  end: "justify-end",
@@ -1719,17 +1719,17 @@ const Qe = ie.forwardRef(
1719
1719
  around: "justify-around",
1720
1720
  evenly: "justify-evenly"
1721
1721
  };
1722
- return /* @__PURE__ */ d(
1722
+ return /* @__PURE__ */ o(
1723
1723
  "div",
1724
- y(u({
1724
+ y(p({
1725
1725
  ref: f,
1726
1726
  className: l(
1727
1727
  "flex",
1728
1728
  s === "column" ? "flex-col" : "flex-row",
1729
1729
  m,
1730
1730
  h[n],
1731
- g[t],
1732
- r
1731
+ x[r],
1732
+ t
1733
1733
  )
1734
1734
  }, c), {
1735
1735
  children: i
@@ -1740,10 +1740,10 @@ const Qe = ie.forwardRef(
1740
1740
  Qe.displayName = "Stack";
1741
1741
  function Je(s) {
1742
1742
  var i = s, {
1743
- items: r,
1743
+ items: t,
1744
1744
  separator: a = "/",
1745
1745
  className: n = ""
1746
- } = i, t = x(i, [
1746
+ } = i, r = g(i, [
1747
1747
  "items",
1748
1748
  "separator",
1749
1749
  "className"
@@ -1751,28 +1751,28 @@ function Je(s) {
1751
1751
  const c = [
1752
1752
  "flex",
1753
1753
  "items-center",
1754
- o("sm", "space-x"),
1754
+ d("sm", "space-x"),
1755
1755
  z("bodySmall")
1756
1756
  ], f = l(...c, n);
1757
- return /* @__PURE__ */ d("nav", y(u({ "aria-label": "Breadcrumb", className: f }, t), { children: /* @__PURE__ */ d(
1757
+ return /* @__PURE__ */ o("nav", y(p({ "aria-label": "Breadcrumb", className: f }, r), { children: /* @__PURE__ */ o(
1758
1758
  "ol",
1759
1759
  {
1760
- className: l("flex", "items-center", o("sm", "space-x")),
1761
- children: r.map((p, b) => {
1762
- const m = b === r.length - 1;
1760
+ className: l("flex", "items-center", d("sm", "space-x")),
1761
+ children: t.map((u, b) => {
1762
+ const m = b === t.length - 1;
1763
1763
  return /* @__PURE__ */ $("li", { className: "flex items-center", children: [
1764
- b > 0 && /* @__PURE__ */ d(
1764
+ b > 0 && /* @__PURE__ */ o(
1765
1765
  "span",
1766
1766
  {
1767
1767
  className: l(
1768
- o("sm", "mx"),
1768
+ d("sm", "mx"),
1769
1769
  "text-fg-tertiary"
1770
1770
  ),
1771
1771
  "aria-hidden": "true",
1772
1772
  children: a
1773
1773
  }
1774
1774
  ),
1775
- m ? /* @__PURE__ */ d(
1775
+ m ? /* @__PURE__ */ o(
1776
1776
  "span",
1777
1777
  {
1778
1778
  className: l(
@@ -1780,17 +1780,17 @@ function Je(s) {
1780
1780
  H("label")
1781
1781
  ),
1782
1782
  "aria-current": "page",
1783
- children: p.label
1783
+ children: u.label
1784
1784
  }
1785
- ) : p.href ? /* @__PURE__ */ d(
1785
+ ) : u.href ? /* @__PURE__ */ o(
1786
1786
  "a",
1787
1787
  {
1788
- href: p.href,
1788
+ href: u.href,
1789
1789
  className: l(
1790
1790
  "inline-flex",
1791
1791
  "items-center",
1792
- o("xs", "px"),
1793
- o("xs", "pt"),
1792
+ d("xs", "px"),
1793
+ d("xs", "pt"),
1794
1794
  "border-b-2",
1795
1795
  "border-transparent",
1796
1796
  z("bodySmall"),
@@ -1800,40 +1800,40 @@ function Je(s) {
1800
1800
  "hover:border-line-emphasis",
1801
1801
  "hover:text-fg-primary"
1802
1802
  ),
1803
- children: p.label
1803
+ children: u.label
1804
1804
  }
1805
- ) : /* @__PURE__ */ d("span", { className: "text-fg-secondary", children: p.label })
1805
+ ) : /* @__PURE__ */ o("span", { className: "text-fg-secondary", children: u.label })
1806
1806
  ] }, b);
1807
1807
  })
1808
1808
  }
1809
1809
  ) }));
1810
1810
  }
1811
- function ea(t) {
1812
- var s = t, { children: r, className: a } = s, n = x(s, ["children", "className"]);
1813
- return /* @__PURE__ */ d(
1811
+ function ea(r) {
1812
+ var s = r, { children: t, className: a } = s, n = g(s, ["children", "className"]);
1813
+ return /* @__PURE__ */ o(
1814
1814
  "div",
1815
- y(u({
1815
+ y(p({
1816
1816
  className: l(
1817
1817
  "grid items-start",
1818
- o("1.5", "gap"),
1819
- o("base", "mb"),
1818
+ d("1.5", "gap"),
1819
+ d("base", "mb"),
1820
1820
  "[&:has([data-card-actions])]:grid-cols-[1fr_auto]",
1821
1821
  "[&:has([data-card-actions])>[data-card-actions]]:row-span-full",
1822
1822
  a
1823
1823
  )
1824
1824
  }, n), {
1825
- children: r
1825
+ children: t
1826
1826
  })
1827
1827
  );
1828
1828
  }
1829
1829
  function aa(c) {
1830
1830
  var f = c, {
1831
- children: r,
1831
+ children: t,
1832
1832
  icon: a,
1833
1833
  badge: n,
1834
- as: t = "h2",
1834
+ as: r = "h2",
1835
1835
  className: s
1836
- } = f, i = x(f, [
1836
+ } = f, i = g(f, [
1837
1837
  "children",
1838
1838
  "icon",
1839
1839
  "badge",
@@ -1841,70 +1841,70 @@ function aa(c) {
1841
1841
  "className"
1842
1842
  ]);
1843
1843
  return /* @__PURE__ */ $(
1844
- t,
1845
- y(u({
1844
+ r,
1845
+ y(p({
1846
1846
  className: l(
1847
1847
  "text-base font-semibold text-fg-primary",
1848
1848
  "flex items-center",
1849
- o("sm", "gap"),
1849
+ d("sm", "gap"),
1850
1850
  s
1851
1851
  )
1852
1852
  }, i), {
1853
1853
  children: [
1854
- a ? /* @__PURE__ */ d("span", { className: "shrink-0 inline-flex", children: a }) : null,
1855
- /* @__PURE__ */ d("span", { children: r }),
1856
- n ? /* @__PURE__ */ d("span", { className: "inline-flex", children: n }) : null
1854
+ a ? /* @__PURE__ */ o("span", { className: "shrink-0 inline-flex", children: a }) : null,
1855
+ /* @__PURE__ */ o("span", { children: t }),
1856
+ n ? /* @__PURE__ */ o("span", { className: "inline-flex", children: n }) : null
1857
1857
  ]
1858
1858
  })
1859
1859
  );
1860
1860
  }
1861
- function ta(t) {
1862
- var s = t, {
1863
- children: r,
1861
+ function ta(r) {
1862
+ var s = r, {
1863
+ children: t,
1864
1864
  className: a
1865
- } = s, n = x(s, [
1865
+ } = s, n = g(s, [
1866
1866
  "children",
1867
1867
  "className"
1868
1868
  ]);
1869
- return /* @__PURE__ */ d("p", y(u({ className: l("text-sm text-fg-secondary", a) }, n), { children: r }));
1869
+ return /* @__PURE__ */ o("p", y(p({ className: l("text-sm text-fg-secondary", a) }, n), { children: t }));
1870
1870
  }
1871
- function ra(t) {
1872
- var s = t, {
1873
- children: r,
1871
+ function ra(r) {
1872
+ var s = r, {
1873
+ children: t,
1874
1874
  className: a
1875
- } = s, n = x(s, [
1875
+ } = s, n = g(s, [
1876
1876
  "children",
1877
1877
  "className"
1878
1878
  ]);
1879
- return /* @__PURE__ */ d(
1879
+ return /* @__PURE__ */ o(
1880
1880
  "div",
1881
- y(u({
1881
+ y(p({
1882
1882
  "data-card-actions": "",
1883
1883
  className: l(
1884
1884
  "flex items-center self-start",
1885
- o("sm", "gap"),
1885
+ d("sm", "gap"),
1886
1886
  a
1887
1887
  )
1888
1888
  }, n), {
1889
- children: r
1889
+ children: t
1890
1890
  })
1891
1891
  );
1892
1892
  }
1893
- function na(t) {
1894
- var s = t, { children: r, className: a } = s, n = x(s, ["children", "className"]);
1895
- return /* @__PURE__ */ d("div", y(u({ className: l(a) }, n), { children: r }));
1893
+ function na(r) {
1894
+ var s = r, { children: t, className: a } = s, n = g(s, ["children", "className"]);
1895
+ return /* @__PURE__ */ o("div", y(p({ className: l(a) }, n), { children: t }));
1896
1896
  }
1897
1897
  function sa(b) {
1898
1898
  var m = b, {
1899
- variant: r = "default",
1899
+ variant: t = "default",
1900
1900
  padding: a = "medium",
1901
1901
  className: n = "",
1902
- onClick: t,
1902
+ onClick: r,
1903
1903
  "aria-label": s,
1904
1904
  "aria-labelledby": i,
1905
1905
  asSection: c = !1,
1906
1906
  children: f
1907
- } = m, p = x(m, [
1907
+ } = m, u = g(m, [
1908
1908
  "variant",
1909
1909
  "padding",
1910
1910
  "className",
@@ -1920,27 +1920,27 @@ function sa(b) {
1920
1920
  const h = j(
1921
1921
  l(
1922
1922
  "bg-surface-base",
1923
- M("lg"),
1923
+ T("lg"),
1924
1924
  "border",
1925
1925
  "border-line-default",
1926
- Z("sm")
1926
+ Y("sm")
1927
1927
  ),
1928
1928
  {
1929
1929
  variants: {
1930
1930
  variant: {
1931
1931
  default: "",
1932
1932
  hover: l(
1933
- `hover:${Z("md")}`,
1933
+ `hover:${Y("md")}`,
1934
1934
  "transition-shadow",
1935
1935
  "cursor-pointer"
1936
1936
  ),
1937
- selected: l("border-line-brand", Z("md"))
1937
+ selected: l("border-line-brand", Y("md"))
1938
1938
  },
1939
1939
  padding: {
1940
1940
  none: "",
1941
- small: o("xs", "p"),
1942
- medium: o("base", "p"),
1943
- large: o("lg", "p")
1941
+ small: d("xs", "p"),
1942
+ medium: d("base", "p"),
1943
+ large: d("lg", "p")
1944
1944
  }
1945
1945
  },
1946
1946
  defaultVariants: {
@@ -1948,18 +1948,18 @@ function sa(b) {
1948
1948
  padding: "medium"
1949
1949
  }
1950
1950
  }
1951
- ), g = t !== void 0, v = g ? "button" : void 0, C = g ? 0 : void 0, L = l(h({ variant: r, padding: a }), n), q = u({
1951
+ ), x = r !== void 0, v = x ? "button" : void 0, M = x ? 0 : void 0, L = l(h({ variant: t, padding: a }), n), q = p({
1952
1952
  className: L,
1953
1953
  role: v,
1954
- tabIndex: C,
1955
- onClick: t,
1956
- onKeyDown: g ? (R) => {
1957
- g && (R.key === "Enter" || R.key === " ") && (R.preventDefault(), t == null || t());
1954
+ tabIndex: M,
1955
+ onClick: r,
1956
+ onKeyDown: x ? (R) => {
1957
+ x && (R.key === "Enter" || R.key === " ") && (R.preventDefault(), r == null || r());
1958
1958
  } : void 0,
1959
1959
  "aria-label": s,
1960
1960
  "aria-labelledby": i
1961
- }, p);
1962
- return c ? /* @__PURE__ */ d("section", y(u({}, q), { children: f })) : /* @__PURE__ */ d("div", y(u({}, q), { children: f }));
1961
+ }, u);
1962
+ return c ? /* @__PURE__ */ o("section", y(p({}, q), { children: f })) : /* @__PURE__ */ o("div", y(p({}, q), { children: f }));
1963
1963
  }
1964
1964
  const oe = B(sa);
1965
1965
  oe.displayName = "Card";
@@ -1969,161 +1969,161 @@ P.Title = aa;
1969
1969
  P.Subtitle = ta;
1970
1970
  P.Actions = ra;
1971
1971
  P.Body = na;
1972
- function xa(t) {
1973
- var s = t, {
1974
- children: r,
1972
+ function va(r) {
1973
+ var s = r, {
1974
+ children: t,
1975
1975
  className: a = ""
1976
- } = s, n = x(s, [
1976
+ } = s, n = g(s, [
1977
1977
  "children",
1978
1978
  "className"
1979
1979
  ]);
1980
- return /* @__PURE__ */ d(
1980
+ return /* @__PURE__ */ o(
1981
1981
  "div",
1982
- y(u({
1983
- className: `flex flex-col ${o("1.5", "space-y")} ${o("lg", "p")} ${o("base", "pb")} ${a}`
1982
+ y(p({
1983
+ className: `flex flex-col ${d("1.5", "space-y")} ${d("lg", "p")} ${d("base", "pb")} ${a}`
1984
1984
  }, n), {
1985
- children: r
1985
+ children: t
1986
1986
  })
1987
1987
  );
1988
1988
  }
1989
- function ya(t) {
1990
- var s = t, {
1991
- children: r,
1989
+ function wa(r) {
1990
+ var s = r, {
1991
+ children: t,
1992
1992
  className: a = ""
1993
- } = s, n = x(s, [
1993
+ } = s, n = g(s, [
1994
1994
  "children",
1995
1995
  "className"
1996
1996
  ]);
1997
- return /* @__PURE__ */ d(
1997
+ return /* @__PURE__ */ o(
1998
1998
  "div",
1999
- y(u({
2000
- className: `flex flex-col-reverse sm:flex-row sm:justify-end sm:${o("sm", "space-x")} ${o("lg", "p")} ${o("base", "pt")} ${a}`
1999
+ y(p({
2000
+ className: `flex flex-col-reverse sm:flex-row sm:justify-end sm:${d("sm", "space-x")} ${d("lg", "p")} ${d("base", "pt")} ${a}`
2001
2001
  }, n), {
2002
- children: r
2002
+ children: t
2003
2003
  })
2004
2004
  );
2005
2005
  }
2006
- function ha(t) {
2007
- var s = t, {
2008
- children: r,
2006
+ function Na(r) {
2007
+ var s = r, {
2008
+ children: t,
2009
2009
  className: a = ""
2010
- } = s, n = x(s, [
2010
+ } = s, n = g(s, [
2011
2011
  "children",
2012
2012
  "className"
2013
2013
  ]);
2014
- return /* @__PURE__ */ d(
2014
+ return /* @__PURE__ */ o(
2015
2015
  "div",
2016
- y(u({
2016
+ y(p({
2017
2017
  className: `
2018
- ${o("lg", "p")}
2018
+ ${d("lg", "p")}
2019
2019
  border-b
2020
2020
  border-line-default
2021
2021
  ${a}
2022
2022
  `
2023
2023
  }, n), {
2024
- children: r
2024
+ children: t
2025
2025
  })
2026
2026
  );
2027
2027
  }
2028
- function va(t) {
2029
- var s = t, {
2030
- children: r,
2028
+ function ka(r) {
2029
+ var s = r, {
2030
+ children: t,
2031
2031
  className: a = ""
2032
- } = s, n = x(s, [
2032
+ } = s, n = g(s, [
2033
2033
  "children",
2034
2034
  "className"
2035
2035
  ]);
2036
- return /* @__PURE__ */ d(
2036
+ return /* @__PURE__ */ o(
2037
2037
  "div",
2038
- y(u({
2038
+ y(p({
2039
2039
  className: `
2040
- ${o("lg", "p")}
2040
+ ${d("lg", "p")}
2041
2041
  border-t
2042
2042
  border-line-default
2043
2043
  flex
2044
2044
  justify-end
2045
- ${o("sm", "gap")}
2045
+ ${d("sm", "gap")}
2046
2046
  ${a}
2047
2047
  `
2048
2048
  }, n), {
2049
- children: r
2049
+ children: t
2050
2050
  })
2051
2051
  );
2052
2052
  }
2053
- function wa({ children: r, className: a }) {
2054
- return /* @__PURE__ */ d(
2053
+ function $a({ children: t, className: a }) {
2054
+ return /* @__PURE__ */ o(
2055
2055
  "div",
2056
2056
  {
2057
2057
  className: l(
2058
2058
  "flex-shrink-0 flex items-center",
2059
- o("sm", "gap"),
2059
+ d("sm", "gap"),
2060
2060
  a
2061
2061
  ),
2062
- children: r
2062
+ children: t
2063
2063
  }
2064
2064
  );
2065
2065
  }
2066
- function Na({
2067
- children: r,
2066
+ function Sa({
2067
+ children: t,
2068
2068
  className: a
2069
2069
  }) {
2070
- return /* @__PURE__ */ d(
2070
+ return /* @__PURE__ */ o(
2071
2071
  "nav",
2072
2072
  {
2073
2073
  className: l(
2074
2074
  "flex-1 flex items-center justify-center",
2075
- o("base", "gap"),
2075
+ d("base", "gap"),
2076
2076
  "hidden md:flex",
2077
2077
  // Hidden on mobile, visible on desktop
2078
2078
  a
2079
2079
  ),
2080
2080
  "aria-label": "Main navigation",
2081
- children: r
2081
+ children: t
2082
2082
  }
2083
2083
  );
2084
2084
  }
2085
- function ka(n) {
2086
- var t = n, {
2087
- className: r = ""
2088
- } = t, a = x(t, [
2085
+ function Ca(n) {
2086
+ var r = n, {
2087
+ className: t = ""
2088
+ } = r, a = g(r, [
2089
2089
  "className"
2090
2090
  ]);
2091
- return /* @__PURE__ */ d(
2091
+ return /* @__PURE__ */ o(
2092
2092
  "div",
2093
- u({
2093
+ p({
2094
2094
  role: "separator",
2095
2095
  className: `
2096
2096
  h-px
2097
2097
  bg-line-default
2098
- ${o("sm", "my")}
2099
- ${r}
2098
+ ${d("sm", "my")}
2099
+ ${t}
2100
2100
  `
2101
2101
  }, a)
2102
2102
  );
2103
2103
  }
2104
- function $a(t) {
2105
- var s = t, {
2106
- orientation: r = "horizontal",
2104
+ function Ta(r) {
2105
+ var s = r, {
2106
+ orientation: t = "horizontal",
2107
2107
  className: a = ""
2108
- } = s, n = x(s, [
2108
+ } = s, n = g(s, [
2109
2109
  "orientation",
2110
2110
  "className"
2111
2111
  ]);
2112
- return r === "vertical" ? /* @__PURE__ */ d(
2112
+ return t === "vertical" ? /* @__PURE__ */ o(
2113
2113
  "div",
2114
- u({
2114
+ p({
2115
2115
  className: l("w-px", "h-6", "bg-line-default", "mx-auto", a),
2116
2116
  role: "separator",
2117
2117
  "aria-orientation": "vertical"
2118
2118
  }, n)
2119
- ) : /* @__PURE__ */ d(
2119
+ ) : /* @__PURE__ */ o(
2120
2120
  "div",
2121
- u({
2121
+ p({
2122
2122
  className: l(
2123
2123
  "w-full",
2124
2124
  "h-px",
2125
2125
  "bg-line-default",
2126
- o("sm", "my"),
2126
+ d("sm", "my"),
2127
2127
  // my-2 (8px) para consistência com gap-2 usado em outros lugares
2128
2128
  "flex-shrink-0",
2129
2129
  // Prevenir que separator encolha
@@ -2141,12 +2141,12 @@ function $a(t) {
2141
2141
  }
2142
2142
  const ia = j(
2143
2143
  // Base classes
2144
- l("w-full", "flex", "flex-col", o("sm", "gap")),
2144
+ l("w-full", "flex", "flex-col", d("sm", "gap")),
2145
2145
  {
2146
2146
  variants: {
2147
2147
  variant: {
2148
- default: l(o("base", "mb")),
2149
- compact: l(o("sm", "mb"))
2148
+ default: l(d("base", "mb")),
2149
+ compact: l(d("sm", "mb"))
2150
2150
  }
2151
2151
  },
2152
2152
  defaultVariants: {
@@ -2154,15 +2154,15 @@ const ia = j(
2154
2154
  }
2155
2155
  }
2156
2156
  );
2157
- function Sa(f) {
2158
- var p = f, {
2159
- title: r,
2157
+ function Ma(f) {
2158
+ var u = f, {
2159
+ title: t,
2160
2160
  description: a,
2161
2161
  breadcrumb: n,
2162
- actions: t,
2162
+ actions: r,
2163
2163
  variant: s = "default",
2164
2164
  className: i
2165
- } = p, c = x(p, [
2165
+ } = u, c = g(u, [
2166
2166
  "title",
2167
2167
  "description",
2168
2168
  "breadcrumb",
@@ -2170,30 +2170,30 @@ function Sa(f) {
2170
2170
  "variant",
2171
2171
  "className"
2172
2172
  ]);
2173
- return /* @__PURE__ */ $("div", y(u({ className: l(ia({ variant: s }), i) }, c), { children: [
2174
- n && n.length > 0 && /* @__PURE__ */ d(Je, { items: n }),
2173
+ return /* @__PURE__ */ $("div", y(p({ className: l(ia({ variant: s }), i) }, c), { children: [
2174
+ n && n.length > 0 && /* @__PURE__ */ o(Je, { items: n }),
2175
2175
  /* @__PURE__ */ $(
2176
2176
  "div",
2177
2177
  {
2178
- className: `flex items-start justify-between ${o("base", "gap")}`,
2178
+ className: `flex items-start justify-between ${d("base", "gap")}`,
2179
2179
  children: [
2180
2180
  /* @__PURE__ */ $("div", { className: "flex-1 min-w-0", children: [
2181
- /* @__PURE__ */ d(
2181
+ /* @__PURE__ */ o(
2182
2182
  se,
2183
2183
  {
2184
2184
  variant: "heading",
2185
2185
  as: "h1",
2186
- className: `${o("sm", "mb")} text-2xl font-bold`,
2187
- children: r
2186
+ className: `${d("sm", "mb")} text-2xl font-bold`,
2187
+ children: t
2188
2188
  }
2189
2189
  ),
2190
- a && /* @__PURE__ */ d(se, { variant: "body", className: "text-fg-secondary", children: a })
2190
+ a && /* @__PURE__ */ o(se, { variant: "body", className: "text-fg-secondary", children: a })
2191
2191
  ] }),
2192
- t && /* @__PURE__ */ d(
2192
+ r && /* @__PURE__ */ o(
2193
2193
  "div",
2194
2194
  {
2195
- className: `flex items-center ${o("sm", "gap")} flex-shrink-0`,
2196
- children: t
2195
+ className: `flex items-center ${d("sm", "gap")} flex-shrink-0`,
2196
+ children: r
2197
2197
  }
2198
2198
  )
2199
2199
  ]
@@ -2201,49 +2201,136 @@ function Sa(f) {
2201
2201
  )
2202
2202
  ] }));
2203
2203
  }
2204
- function Ta(s) {
2205
- var i = s, { column: r, row: a, className: n = "" } = i, t = x(i, ["column", "row", "className"]);
2206
- const c = r.key in a ? a[r.key] : void 0;
2207
- return /* @__PURE__ */ d(
2204
+ const la = {
2205
+ start: "items-start text-left",
2206
+ center: "items-center text-center"
2207
+ }, oa = {
2208
+ neutral: "text-fg-tertiary",
2209
+ success: "text-fg-success",
2210
+ warning: "text-fg-warning",
2211
+ error: "text-fg-error"
2212
+ };
2213
+ function za(u) {
2214
+ var b = u, {
2215
+ value: t,
2216
+ label: a,
2217
+ hint: n,
2218
+ icon: r,
2219
+ align: s = "start",
2220
+ tone: i = "neutral",
2221
+ className: c
2222
+ } = b, f = g(b, [
2223
+ "value",
2224
+ "label",
2225
+ "hint",
2226
+ "icon",
2227
+ "align",
2228
+ "tone",
2229
+ "className"
2230
+ ]);
2231
+ const m = t == null;
2232
+ return /* @__PURE__ */ $(
2233
+ "div",
2234
+ y(p({
2235
+ className: l(
2236
+ "bg-surface-base flex-1 flex flex-col",
2237
+ d("base", "p"),
2238
+ d("xs", "gap-y"),
2239
+ la[s],
2240
+ c
2241
+ )
2242
+ }, f), {
2243
+ children: [
2244
+ r ? /* @__PURE__ */ o("span", { className: "text-icon-default inline-flex", children: r }) : null,
2245
+ m ? /* @__PURE__ */ o(
2246
+ "span",
2247
+ {
2248
+ "aria-label": "No data",
2249
+ className: "text-fg-tertiary text-2xl font-semibold leading-tight",
2250
+ children: "—"
2251
+ }
2252
+ ) : /* @__PURE__ */ o("span", { className: "text-fg-primary text-2xl font-semibold leading-tight", children: t }),
2253
+ /* @__PURE__ */ o("span", { className: "text-fg-secondary text-sm", children: a }),
2254
+ n ? /* @__PURE__ */ o("span", { className: l("text-xs", oa[i]), children: n }) : null
2255
+ ]
2256
+ })
2257
+ );
2258
+ }
2259
+ const da = {
2260
+ 2: "md:grid-cols-2",
2261
+ 3: "md:grid-cols-3",
2262
+ 4: "md:grid-cols-4"
2263
+ };
2264
+ function La(i) {
2265
+ var c = i, {
2266
+ layout: t = "grid",
2267
+ cols: a = 4,
2268
+ className: n,
2269
+ children: r
2270
+ } = c, s = g(c, [
2271
+ "layout",
2272
+ "cols",
2273
+ "className",
2274
+ "children"
2275
+ ]);
2276
+ const f = t === "grid";
2277
+ return /* @__PURE__ */ o(
2278
+ "div",
2279
+ y(p({
2280
+ className: l(
2281
+ "bg-line-default border border-line-default overflow-hidden gap-px",
2282
+ T("lg"),
2283
+ f ? `grid grid-cols-2 ${da[a]}` : "flex",
2284
+ n
2285
+ )
2286
+ }, s), {
2287
+ children: r
2288
+ })
2289
+ );
2290
+ }
2291
+ function Fa(s) {
2292
+ var i = s, { column: t, row: a, className: n = "" } = i, r = g(i, ["column", "row", "className"]);
2293
+ const c = t.key in a ? a[t.key] : void 0;
2294
+ return /* @__PURE__ */ o(
2208
2295
  "td",
2209
- y(u({
2210
- className: `${o("lg", "px")} ${o("base", "py")} whitespace-nowrap text-sm text-fg-primary ${r.hiddenOnMobile ? "hidden md:table-cell" : ""} ${n}`
2211
- }, t), {
2212
- children: r.render ? r.render(c, a) : String(c != null ? c : "")
2296
+ y(p({
2297
+ className: `${d("lg", "px")} ${d("base", "py")} whitespace-nowrap text-sm text-fg-primary ${t.hiddenOnMobile ? "hidden md:table-cell" : ""} ${n}`
2298
+ }, r), {
2299
+ children: t.render ? t.render(c, a) : String(c != null ? c : "")
2213
2300
  })
2214
2301
  );
2215
2302
  }
2216
- function Ca({
2217
- items: r,
2303
+ function Ea({
2304
+ items: t,
2218
2305
  orientation: a = "vertical",
2219
2306
  className: n = ""
2220
2307
  }) {
2221
- return a === "horizontal" ? /* @__PURE__ */ d("div", { className: `flex items-start ${n}`, children: r.map((t, s) => {
2222
- const i = t.status || (s === 0 ? "active" : s < r.findIndex((f) => f.status === "active") ? "completed" : "default"), c = s === r.length - 1;
2223
- return /* @__PURE__ */ d("div", { className: "flex items-start flex-1", children: /* @__PURE__ */ $("div", { className: "flex flex-col items-center flex-1", children: [
2224
- /* @__PURE__ */ d(
2308
+ return a === "horizontal" ? /* @__PURE__ */ o("div", { className: `flex items-start ${n}`, children: t.map((r, s) => {
2309
+ const i = r.status || (s === 0 ? "active" : s < t.findIndex((f) => f.status === "active") ? "completed" : "default"), c = s === t.length - 1;
2310
+ return /* @__PURE__ */ o("div", { className: "flex items-start flex-1", children: /* @__PURE__ */ $("div", { className: "flex flex-col items-center flex-1", children: [
2311
+ /* @__PURE__ */ o(
2225
2312
  "div",
2226
- y(u({}, i === "default" ? { "data-marker": "pending" } : {}), {
2313
+ y(p({}, i === "default" ? { "data-marker": "pending" } : {}), {
2227
2314
  className: `
2228
2315
  flex
2229
2316
  items-center
2230
2317
  justify-center
2231
2318
  w-10
2232
2319
  h-10
2233
- ${M("full")}
2320
+ ${T("full")}
2234
2321
  border-2
2235
2322
  ${i === "completed" ? "bg-success border-success text-fg-inverse" : i === "active" ? "bg-surface-brand-strong border-line-brand text-fg-inverse" : i === "error" ? "bg-error border-error text-fg-inverse" : "bg-surface-base border-line-emphasis text-fg-quaternary"}
2236
2323
  `,
2237
- children: t.icon || (i === "completed" ? /* @__PURE__ */ d(ae, { className: "h-4 w-4" }) : s + 1)
2324
+ children: r.icon || (i === "completed" ? /* @__PURE__ */ o(ae, { className: "h-4 w-4" }) : s + 1)
2238
2325
  })
2239
2326
  ),
2240
- !c && /* @__PURE__ */ d(
2327
+ !c && /* @__PURE__ */ o(
2241
2328
  "div",
2242
2329
  {
2243
2330
  className: `
2244
2331
  w-full
2245
2332
  h-0.5
2246
- ${o("sm", "mt")}
2333
+ ${d("sm", "mt")}
2247
2334
  ${i === "completed" ? "bg-success" : "bg-line-emphasis"}
2248
2335
  `
2249
2336
  }
@@ -2251,74 +2338,74 @@ function Ca({
2251
2338
  /* @__PURE__ */ $(
2252
2339
  "div",
2253
2340
  {
2254
- className: `${o("base", "mt")} text-center ${o("base", "px")}`,
2341
+ className: `${d("base", "mt")} text-center ${d("base", "px")}`,
2255
2342
  children: [
2256
- t.timestamp && /* @__PURE__ */ d(
2343
+ r.timestamp && /* @__PURE__ */ o(
2257
2344
  "p",
2258
2345
  {
2259
- className: `text-xs text-fg-tertiary ${o("xs", "mb")}`,
2260
- children: t.timestamp
2346
+ className: `text-xs text-fg-tertiary ${d("xs", "mb")}`,
2347
+ children: r.timestamp
2261
2348
  }
2262
2349
  ),
2263
- /* @__PURE__ */ d("h3", { className: "text-sm font-semibold text-fg-primary", children: t.title }),
2264
- t.description && /* @__PURE__ */ d(
2350
+ /* @__PURE__ */ o("h3", { className: "text-sm font-semibold text-fg-primary", children: r.title }),
2351
+ r.description && /* @__PURE__ */ o(
2265
2352
  "p",
2266
2353
  {
2267
- className: `text-xs text-fg-secondary ${o("xs", "mt")}`,
2268
- children: t.description
2354
+ className: `text-xs text-fg-secondary ${d("xs", "mt")}`,
2355
+ children: r.description
2269
2356
  }
2270
2357
  ),
2271
- t.content && /* @__PURE__ */ d("div", { className: o("sm", "mt"), children: t.content })
2358
+ r.content && /* @__PURE__ */ o("div", { className: d("sm", "mt"), children: r.content })
2272
2359
  ]
2273
2360
  }
2274
2361
  )
2275
- ] }) }, t.id);
2276
- }) }) : /* @__PURE__ */ d("div", { className: `${o("none", "space-y")} ${n}`, children: r.map((t, s) => {
2277
- const i = t.status || (s === 0 ? "active" : s < r.findIndex((f) => f.status === "active") ? "completed" : "default"), c = s === r.length - 1;
2362
+ ] }) }, r.id);
2363
+ }) }) : /* @__PURE__ */ o("div", { className: `${d("none", "space-y")} ${n}`, children: t.map((r, s) => {
2364
+ const i = r.status || (s === 0 ? "active" : s < t.findIndex((f) => f.status === "active") ? "completed" : "default"), c = s === t.length - 1;
2278
2365
  return /* @__PURE__ */ $(
2279
2366
  "div",
2280
2367
  {
2281
- className: `flex items-start ${o("base", "gap")}`,
2368
+ className: `flex items-start ${d("base", "gap")}`,
2282
2369
  children: [
2283
2370
  /* @__PURE__ */ $("div", { className: "flex flex-col items-center", children: [
2284
- /* @__PURE__ */ d(
2371
+ /* @__PURE__ */ o(
2285
2372
  "div",
2286
- y(u({}, i === "default" ? { "data-marker": "pending" } : {}), {
2373
+ y(p({}, i === "default" ? { "data-marker": "pending" } : {}), {
2287
2374
  className: `
2288
2375
  flex
2289
2376
  items-center
2290
2377
  justify-center
2291
2378
  w-10
2292
2379
  h-10
2293
- ${M("full")}
2380
+ ${T("full")}
2294
2381
  border-2
2295
2382
  ${i === "completed" ? "bg-success border-success text-fg-inverse" : i === "active" ? "bg-surface-brand-strong border-line-brand text-fg-inverse" : i === "error" ? "bg-error border-error text-fg-inverse" : "bg-surface-base border-line-emphasis text-fg-quaternary"}
2296
2383
  `,
2297
- children: t.icon || (i === "completed" ? /* @__PURE__ */ d(ae, { className: "h-4 w-4" }) : s + 1)
2384
+ children: r.icon || (i === "completed" ? /* @__PURE__ */ o(ae, { className: "h-4 w-4" }) : s + 1)
2298
2385
  })
2299
2386
  ),
2300
- !c && /* @__PURE__ */ d(
2387
+ !c && /* @__PURE__ */ o(
2301
2388
  "div",
2302
2389
  {
2303
2390
  className: `
2304
2391
  w-0.5
2305
2392
  flex-1
2306
2393
  min-h-16
2307
- ${o("sm", "mt")}
2394
+ ${d("sm", "mt")}
2308
2395
  ${i === "completed" ? "bg-success" : "bg-line-emphasis"}
2309
2396
  `
2310
2397
  }
2311
2398
  )
2312
2399
  ] }),
2313
- /* @__PURE__ */ $("div", { className: `flex-1 ${o("xl", "pb")}`, children: [
2314
- t.timestamp && /* @__PURE__ */ d(
2400
+ /* @__PURE__ */ $("div", { className: `flex-1 ${d("xl", "pb")}`, children: [
2401
+ r.timestamp && /* @__PURE__ */ o(
2315
2402
  "p",
2316
2403
  {
2317
- className: `text-xs text-fg-tertiary ${o("xs", "mb")}`,
2318
- children: t.timestamp
2404
+ className: `text-xs text-fg-tertiary ${d("xs", "mb")}`,
2405
+ children: r.timestamp
2319
2406
  }
2320
2407
  ),
2321
- /* @__PURE__ */ d(
2408
+ /* @__PURE__ */ o(
2322
2409
  "h3",
2323
2410
  {
2324
2411
  className: `
@@ -2326,21 +2413,21 @@ function Ca({
2326
2413
  font-semibold
2327
2414
  ${i === "active" ? "text-fg-brand-emphasis" : "text-fg-primary"}
2328
2415
  `,
2329
- children: t.title
2416
+ children: r.title
2330
2417
  }
2331
2418
  ),
2332
- t.description && /* @__PURE__ */ d(
2419
+ r.description && /* @__PURE__ */ o(
2333
2420
  "p",
2334
2421
  {
2335
- className: `text-sm text-fg-secondary ${o("xs", "mt")}`,
2336
- children: t.description
2422
+ className: `text-sm text-fg-secondary ${d("xs", "mt")}`,
2423
+ children: r.description
2337
2424
  }
2338
2425
  ),
2339
- t.content && /* @__PURE__ */ d("div", { className: o("md", "mt"), children: t.content })
2426
+ r.content && /* @__PURE__ */ o("div", { className: d("md", "mt"), children: r.content })
2340
2427
  ] })
2341
2428
  ]
2342
2429
  },
2343
- t.id
2430
+ r.id
2344
2431
  );
2345
2432
  }) });
2346
2433
  }
@@ -2354,26 +2441,28 @@ export {
2354
2441
  ta as CardSubtitle,
2355
2442
  aa as CardTitle,
2356
2443
  Ee as Chip,
2357
- Ge as Container,
2358
- ya as DialogFooter,
2359
- xa as DialogHeader,
2360
- va as DrawerFooter,
2361
- ha as DrawerHeader,
2362
- ma as ErrorMessage,
2363
- wa as HeaderActions,
2364
- Na as HeaderNavigation,
2365
- ba as Info,
2444
+ Ze as Container,
2445
+ wa as DialogFooter,
2446
+ va as DialogHeader,
2447
+ ka as DrawerFooter,
2448
+ Na as DrawerHeader,
2449
+ xa as ErrorMessage,
2450
+ $a as HeaderActions,
2451
+ Sa as HeaderNavigation,
2452
+ ya as Info,
2366
2453
  De as Label,
2367
- ka as MenuSeparator,
2368
- $a as NavbarSeparator,
2369
- Sa as PageHeader,
2454
+ Ca as MenuSeparator,
2455
+ Ta as NavbarSeparator,
2456
+ Ma as PageHeader,
2370
2457
  Be as Progress,
2371
2458
  qe as Separator,
2372
- ga as Skeleton,
2459
+ ha as Skeleton,
2373
2460
  Ke as Spinner,
2374
2461
  Qe as Stack,
2375
- Ta as TableCell,
2462
+ za as Stat,
2463
+ La as StatGroup,
2464
+ Fa as TableCell,
2376
2465
  se as Text,
2377
- Ca as Timeline
2466
+ Ea as Timeline
2378
2467
  };
2379
2468
  //# sourceMappingURL=index.js.map