@fabio.caffarello/react-design-system 4.5.0 → 4.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,7 +2,7 @@ var ge = Object.defineProperty, be = Object.defineProperties;
2
2
  var xe = Object.getOwnPropertyDescriptors;
3
3
  var K = Object.getOwnPropertySymbols;
4
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, f = (e, a) => {
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) => {
6
6
  for (var r in a || (a = {}))
7
7
  ae.call(a, r) && G(e, r, a[r]);
8
8
  if (K)
@@ -21,7 +21,7 @@ var h = (e, a) => {
21
21
  };
22
22
  var re = (e, a, r) => G(e, typeof a != "symbol" ? a + "" : a, r);
23
23
  import { jsx as l, jsxs as v, Fragment as Z } from "react/jsx-runtime";
24
- import * as A from "react";
24
+ import * as z from "react";
25
25
  import ce, { memo as M, forwardRef as F } from "react";
26
26
  import { clsx as he } from "clsx";
27
27
  import { twMerge as ye } from "tailwind-merge";
@@ -326,13 +326,13 @@ function j(e) {
326
326
  function n(...e) {
327
327
  return ye(he(e));
328
328
  }
329
- const L = (e, a) => {
329
+ const A = (e, a) => {
330
330
  const r = ve(e, a);
331
331
  return ((t) => {
332
332
  const i = r(t);
333
333
  return n(i);
334
334
  });
335
- }, Ce = L(
335
+ }, Ce = A(
336
336
  // Base classes
337
337
  n(
338
338
  "inline-flex",
@@ -471,14 +471,14 @@ const L = (e, a) => {
471
471
  }
472
472
  }
473
473
  ), Ee = M(
474
- F(function(b, p) {
474
+ F(function(b, u) {
475
475
  var m = b, {
476
476
  variant: a = "neutral",
477
477
  size: r = "md",
478
478
  style: t = "solid",
479
479
  className: i = "",
480
- children: c,
481
- "aria-label": o
480
+ children: o,
481
+ "aria-label": c
482
482
  } = m, d = h(m, [
483
483
  "variant",
484
484
  "size",
@@ -488,24 +488,24 @@ const L = (e, a) => {
488
488
  "aria-label"
489
489
  ]);
490
490
  const x = n(Ce({ variant: a, size: r, style: t }), i);
491
- let u;
492
- if (o)
493
- u = o;
494
- else if (typeof c == "string")
495
- u = c;
496
- else if (typeof c == "object" && c !== null && "props" in c) {
497
- const g = c.props;
498
- g != null && g.children && typeof g.children == "string" && (u = g.children);
491
+ let f;
492
+ if (c)
493
+ f = c;
494
+ else if (typeof o == "string")
495
+ f = o;
496
+ else if (typeof o == "object" && o !== null && "props" in o) {
497
+ const g = o.props;
498
+ g != null && g.children && typeof g.children == "string" && (f = g.children);
499
499
  }
500
500
  return /* @__PURE__ */ l(
501
501
  "span",
502
- y(f({
503
- ref: p,
502
+ y(p({
503
+ ref: u,
504
504
  role: "status",
505
- "aria-label": u,
505
+ "aria-label": f,
506
506
  className: x
507
507
  }, d), {
508
- children: c
508
+ children: o
509
509
  })
510
510
  );
511
511
  })
@@ -520,79 +520,79 @@ function Te(...e) {
520
520
  return (a) => {
521
521
  let r = !1;
522
522
  const t = e.map((i) => {
523
- const c = se(i, a);
524
- return !r && typeof c == "function" && (r = !0), c;
523
+ const o = se(i, a);
524
+ return !r && typeof o == "function" && (r = !0), o;
525
525
  });
526
526
  if (r)
527
527
  return () => {
528
528
  for (let i = 0; i < t.length; i++) {
529
- const c = t[i];
530
- typeof c == "function" ? c() : se(e[i], null);
529
+ const o = t[i];
530
+ typeof o == "function" ? o() : se(e[i], null);
531
531
  }
532
532
  };
533
533
  };
534
534
  }
535
535
  function Ve(...e) {
536
- return A.useCallback(Te(...e), e);
536
+ return z.useCallback(Te(...e), e);
537
537
  }
538
538
  // @__NO_SIDE_EFFECTS__
539
- function Ae(e) {
540
- const a = A.forwardRef((r, t) => {
539
+ function ze(e) {
540
+ const a = z.forwardRef((r, t) => {
541
541
  var g;
542
- let u = r, { children: i } = u, c = h(u, ["children"]), o = null, d = !1;
543
- const p = [];
544
- ie(i) && typeof q == "function" && (i = q(i._payload)), A.Children.forEach(i, (N) => {
542
+ let f = r, { children: i } = f, o = h(f, ["children"]), c = null, d = !1;
543
+ const u = [];
544
+ ie(i) && typeof q == "function" && (i = q(i._payload)), z.Children.forEach(i, (N) => {
545
545
  var S;
546
546
  if (je(N)) {
547
547
  d = !0;
548
548
  const T = N;
549
549
  let k = "child" in T.props ? T.props.child : T.props.children;
550
- ie(k) && typeof q == "function" && (k = q(k._payload)), o = De(T, k), p.push((S = o == null ? void 0 : o.props) == null ? void 0 : S.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);
551
551
  } else
552
- p.push(N);
553
- }), o ? o = A.cloneElement(o, void 0, p) : (
552
+ u.push(N);
553
+ }), c ? c = z.cloneElement(c, void 0, u) : (
554
554
  // A `Slottable` was found but it didn't resolve to a single element (e.g.
555
555
  // it wrapped multiple elements, text, or a render-prop `child` that
556
556
  // wasn't an element). Don't fall back to treating the `Slottable` wrapper
557
557
  // itself as the slot target — throw a descriptive error below instead.
558
- !d && A.Children.count(i) === 1 && A.isValidElement(i) && (o = i)
558
+ !d && z.Children.count(i) === 1 && z.isValidElement(i) && (c = i)
559
559
  );
560
- const b = o ? _e(o) : void 0, m = Ve(t, b);
561
- if (!o) {
560
+ const b = c ? _e(c) : void 0, m = Ve(t, b);
561
+ if (!c) {
562
562
  if (i || i === 0)
563
563
  throw new Error(
564
- d ? Me(e) : Oe(e)
564
+ d ? Me(e) : Be(e)
565
565
  );
566
566
  return i;
567
567
  }
568
- const x = Fe(c, (g = o.props) != null ? g : {});
569
- return o.type !== A.Fragment && (x.ref = t ? m : b), A.cloneElement(o, x);
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);
570
570
  });
571
571
  return a.displayName = `${e}.Slot`, a;
572
572
  }
573
- var de = /* @__PURE__ */ Ae("Slot"), ue = /* @__PURE__ */ Symbol.for("radix.slottable");
573
+ var de = /* @__PURE__ */ ze("Slot"), ue = /* @__PURE__ */ Symbol.for("radix.slottable");
574
574
  // @__NO_SIDE_EFFECTS__
575
- function Le(e) {
575
+ function Ae(e) {
576
576
  const a = (r) => "child" in r ? r.children(r.child) : r.children;
577
577
  return a.displayName = `${e}.Slottable`, a.__radixId = ue, a;
578
578
  }
579
- var ze = /* @__PURE__ */ Le("Slottable"), De = (e, a) => {
579
+ var Le = /* @__PURE__ */ Ae("Slottable"), De = (e, a) => {
580
580
  if ("child" in e.props) {
581
581
  const r = e.props.child;
582
- return A.isValidElement(r) ? A.cloneElement(r, void 0, e.props.children(r.props.children)) : null;
582
+ return z.isValidElement(r) ? z.cloneElement(r, void 0, e.props.children(r.props.children)) : null;
583
583
  }
584
- return A.isValidElement(a) ? a : null;
584
+ return z.isValidElement(a) ? a : null;
585
585
  };
586
586
  function Fe(e, a) {
587
- const r = f({}, a);
587
+ const r = p({}, a);
588
588
  for (const t in a) {
589
- const i = e[t], c = a[t];
590
- /^on[A-Z]/.test(t) ? i && c ? r[t] = (...d) => {
591
- const p = c(...d);
592
- return i(...d), p;
593
- } : i && (r[t] = i) : t === "style" ? r[t] = f(f({}, i), c) : t === "className" && (r[t] = [i, c].filter(Boolean).join(" "));
589
+ const i = e[t], o = a[t];
590
+ /^on[A-Z]/.test(t) ? i && o ? r[t] = (...d) => {
591
+ const u = o(...d);
592
+ 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(" "));
594
594
  }
595
- return f(f({}, e), r);
595
+ return p(p({}, e), r);
596
596
  }
597
597
  function _e(e) {
598
598
  var t, i;
@@ -600,17 +600,17 @@ function _e(e) {
600
600
  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
601
  }
602
602
  function je(e) {
603
- return A.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === ue;
603
+ return z.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === ue;
604
604
  }
605
605
  var Re = /* @__PURE__ */ Symbol.for("react.lazy");
606
606
  function ie(e) {
607
- return e != null && typeof e == "object" && "$$typeof" in e && e.$$typeof === Re && "_payload" in e && Be(e._payload);
607
+ return e != null && typeof e == "object" && "$$typeof" in e && e.$$typeof === Re && "_payload" in e && Oe(e._payload);
608
608
  }
609
- function Be(e) {
609
+ function Oe(e) {
610
610
  return typeof e == "object" && e !== null && "then" in e;
611
611
  }
612
- var Oe = (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 = A[" use ".trim().toString()];
613
- const He = L("motion-safe:animate-spin", {
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", {
614
614
  variants: {
615
615
  size: {
616
616
  sm: "h-4 w-4",
@@ -627,13 +627,13 @@ const He = L("motion-safe:animate-spin", {
627
627
  size: "md",
628
628
  variant: "primary"
629
629
  }
630
- }), fe = M(function(o) {
631
- var d = o, {
630
+ }), fe = M(function(c) {
631
+ var d = c, {
632
632
  size: a = "md",
633
633
  variant: r = "primary",
634
634
  label: t,
635
635
  className: i = ""
636
- } = d, c = h(d, [
636
+ } = d, o = h(d, [
637
637
  "size",
638
638
  "variant",
639
639
  "label",
@@ -641,12 +641,12 @@ const He = L("motion-safe:animate-spin", {
641
641
  ]);
642
642
  return /* @__PURE__ */ v(
643
643
  "div",
644
- y(f({
644
+ y(p({
645
645
  className: n("inline-flex", "items-center", i),
646
646
  role: "status",
647
647
  "aria-label": t || "Loading",
648
648
  "aria-live": "polite"
649
- }, c), {
649
+ }, o), {
650
650
  children: [
651
651
  /* @__PURE__ */ l(
652
652
  we,
@@ -672,7 +672,7 @@ const He = L("motion-safe:animate-spin", {
672
672
  );
673
673
  });
674
674
  fe.displayName = "Spinner";
675
- const Pe = L(
675
+ const Pe = A(
676
676
  // Base classes
677
677
  n(
678
678
  "inline-flex",
@@ -845,22 +845,22 @@ function X({
845
845
  }
846
846
  const Ie = M(
847
847
  F(function(k, T) {
848
- var z = k, {
848
+ var L = k, {
849
849
  variant: a = "primary",
850
850
  size: r = "md",
851
851
  isLoading: t = !1,
852
852
  loadingText: i,
853
- loadingIcon: c,
854
- leftIcon: o,
853
+ loadingIcon: o,
854
+ leftIcon: c,
855
855
  rightIcon: d,
856
- fullWidth: p = !1,
856
+ fullWidth: u = !1,
857
857
  asChild: b = !1,
858
858
  as: m,
859
859
  className: x = "",
860
- disabled: u = !1,
860
+ disabled: f = !1,
861
861
  children: g,
862
862
  "aria-label": N
863
- } = z, S = h(z, [
863
+ } = L, S = h(L, [
864
864
  "variant",
865
865
  "size",
866
866
  "isLoading",
@@ -879,34 +879,34 @@ const Ie = M(
879
879
  typeof process != "undefined" && process.env.NODE_ENV !== "production" && b && m !== void 0 && m !== "button" && console.warn(
880
880
  "[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
881
  );
882
- const R = b ? de : m != null ? m : "button", B = n(
882
+ const R = b ? de : m != null ? m : "button", O = n(
883
883
  Pe({ variant: a, size: r }),
884
- p && "w-full",
884
+ u && "w-full",
885
885
  x
886
- ), I = (a === "iconOnly" || !g && (o || d)) && !N && !g ? "Button" : N, me = c || /* @__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 = f(f({
887
- className: B,
888
- disabled: u || t,
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,
888
+ disabled: f || t,
889
889
  "aria-busy": t,
890
890
  "aria-label": I,
891
- "aria-disabled": u || t
891
+ "aria-disabled": f || t
892
892
  }, Q ? { type: Q } : {}), S);
893
- return b ? /* @__PURE__ */ v(R, y(f({ ref: T }, ee), { children: [
894
- o && /* @__PURE__ */ l(X, { position: "left", children: o }),
895
- /* @__PURE__ */ l(ze, { children: g }),
893
+ return b ? /* @__PURE__ */ v(R, y(p({ ref: T }, ee), { children: [
894
+ c && /* @__PURE__ */ l(X, { position: "left", children: c }),
895
+ /* @__PURE__ */ l(Le, { children: g }),
896
896
  d && /* @__PURE__ */ l(X, { position: "right", children: d })
897
- ] })) : /* @__PURE__ */ l(R, y(f({ ref: T }, ee), { children: t ? /* @__PURE__ */ v(Z, { children: [
897
+ ] })) : /* @__PURE__ */ l(R, y(p({ ref: T }, ee), { children: t ? /* @__PURE__ */ v(Z, { children: [
898
898
  me,
899
899
  i && /* @__PURE__ */ l("span", { className: s("sm", "ml"), children: i }),
900
900
  !i && g && /* @__PURE__ */ l("span", { className: `${s("sm", "ml")} opacity-0`, children: g })
901
901
  ] }) : /* @__PURE__ */ v(Z, { children: [
902
- o && /* @__PURE__ */ l(X, { position: "left", children: o }),
902
+ c && /* @__PURE__ */ l(X, { position: "left", children: c }),
903
903
  g,
904
904
  d && /* @__PURE__ */ l(X, { position: "right", children: d })
905
905
  ] }) }));
906
906
  })
907
907
  );
908
908
  Ie.displayName = "Button";
909
- const le = L(
909
+ const le = A(
910
910
  // Base classes
911
911
  n(
912
912
  "inline-flex",
@@ -999,10 +999,10 @@ const le = L(
999
999
  const {
1000
1000
  children: t,
1001
1001
  variant: i = "default",
1002
- size: c = "md",
1003
- selected: o = !1,
1002
+ size: o = "md",
1003
+ selected: c = !1,
1004
1004
  disabled: d = !1,
1005
- className: p = "",
1005
+ className: u = "",
1006
1006
  "aria-label": b,
1007
1007
  tabIndex: m,
1008
1008
  asChild: x = !1
@@ -1021,8 +1021,8 @@ const le = L(
1021
1021
  {
1022
1022
  ref: r,
1023
1023
  className: n(
1024
- le({ variant: i, size: c, selected: o, disabled: d }),
1025
- p
1024
+ le({ variant: i, size: o, selected: c, disabled: d }),
1025
+ u
1026
1026
  ),
1027
1027
  "aria-label": b,
1028
1028
  "aria-disabled": d || void 0,
@@ -1030,9 +1030,9 @@ const le = L(
1030
1030
  children: t
1031
1031
  }
1032
1032
  );
1033
- const { onRemove: N, onClick: S, count: T } = a, k = S !== void 0, z = k && !d, R = (V) => {
1033
+ const { onRemove: N, onClick: S, count: T } = a, k = S !== void 0, L = k && !d, R = (V) => {
1034
1034
  d || (V.key === "Enter" || V.key === " ") && (V.preventDefault(), S == null || S());
1035
- }, B = T !== void 0, P = o || i === "filled", I = B ? /* @__PURE__ */ l(
1035
+ }, O = T !== void 0, P = c || i === "filled", I = O ? /* @__PURE__ */ l(
1036
1036
  "span",
1037
1037
  {
1038
1038
  "aria-hidden": k || void 0,
@@ -1051,15 +1051,15 @@ const le = L(
1051
1051
  ),
1052
1052
  children: T
1053
1053
  }
1054
- ) : null, U = B && g !== void 0 ? `${g}, ${T}` : g;
1054
+ ) : null, U = O && g !== void 0 ? `${g}, ${T}` : g;
1055
1055
  return /* @__PURE__ */ v(
1056
1056
  "div",
1057
1057
  {
1058
1058
  ref: r,
1059
1059
  className: n(
1060
- le({ variant: i, size: c, selected: o, disabled: d }),
1060
+ le({ variant: i, size: o, selected: c, disabled: d }),
1061
1061
  N && s("xs", "pr"),
1062
- p
1062
+ u
1063
1063
  ),
1064
1064
  "aria-disabled": d,
1065
1065
  children: [
@@ -1070,9 +1070,9 @@ const le = L(
1070
1070
  onClick: d ? void 0 : S,
1071
1071
  onKeyDown: R,
1072
1072
  disabled: d,
1073
- "aria-pressed": o ? !0 : void 0,
1073
+ "aria-pressed": c ? !0 : void 0,
1074
1074
  "aria-label": b || U,
1075
- tabIndex: m !== void 0 ? m : z ? 0 : void 0,
1075
+ tabIndex: m !== void 0 ? m : L ? 0 : void 0,
1076
1076
  className: n(
1077
1077
  "flex-1",
1078
1078
  "bg-transparent",
@@ -1118,7 +1118,7 @@ const le = L(
1118
1118
  );
1119
1119
  });
1120
1120
  We.displayName = "Chip";
1121
- const Ue = L(
1121
+ const Ue = A(
1122
1122
  n("inline-flex", "items-center", "border", $("md")),
1123
1123
  {
1124
1124
  variants: {
@@ -1164,14 +1164,14 @@ const Ue = L(
1164
1164
  defaultVariants: { tone: "neutral", size: "md" }
1165
1165
  }
1166
1166
  ), Ke = M(
1167
- F(function(b, p) {
1167
+ F(function(b, u) {
1168
1168
  var m = b, {
1169
1169
  label: a,
1170
1170
  source: r,
1171
1171
  tone: t = "neutral",
1172
1172
  size: i = "md",
1173
- icon: c,
1174
- className: o = ""
1173
+ icon: o,
1174
+ className: c = ""
1175
1175
  } = m, d = h(m, [
1176
1176
  "label",
1177
1177
  "source",
@@ -1180,27 +1180,27 @@ const Ue = L(
1180
1180
  "icon",
1181
1181
  "className"
1182
1182
  ]);
1183
- const x = r != null && r !== "", u = i === "sm" ? "caption" : "bodySmall";
1183
+ const x = r != null && r !== "", f = i === "sm" ? "caption" : "bodySmall";
1184
1184
  return /* @__PURE__ */ v(
1185
1185
  "span",
1186
- y(f({
1187
- ref: p,
1188
- className: n(Ue({ tone: t, size: i }), o)
1186
+ y(p({
1187
+ ref: u,
1188
+ className: n(Ue({ tone: t, size: i }), c)
1189
1189
  }, d), {
1190
1190
  children: [
1191
- c ? /* @__PURE__ */ l(
1191
+ o ? /* @__PURE__ */ l(
1192
1192
  "span",
1193
1193
  {
1194
1194
  className: "inline-flex shrink-0 items-center",
1195
1195
  "aria-hidden": "true",
1196
- children: c
1196
+ children: o
1197
1197
  }
1198
1198
  ) : null,
1199
1199
  /* @__PURE__ */ l(
1200
1200
  "span",
1201
1201
  {
1202
1202
  className: n(
1203
- w(u),
1203
+ w(f),
1204
1204
  j("label")
1205
1205
  ),
1206
1206
  children: a
@@ -1226,24 +1226,24 @@ const Ue = L(
1226
1226
  );
1227
1227
  Ke.displayName = "DataBadge";
1228
1228
  function ja(i) {
1229
- var c = i, {
1229
+ var o = i, {
1230
1230
  message: e,
1231
1231
  id: a,
1232
1232
  className: r = ""
1233
- } = c, t = h(c, [
1233
+ } = o, t = h(o, [
1234
1234
  "message",
1235
1235
  "id",
1236
1236
  "className"
1237
1237
  ]);
1238
- const o = [
1238
+ const c = [
1239
1239
  s("xs", "mt"),
1240
1240
  w("bodySmall"),
1241
1241
  "text-fg-error",
1242
1242
  "flex",
1243
1243
  "items-center",
1244
1244
  s("xs", "gap")
1245
- ], d = n(...o, r);
1246
- return /* @__PURE__ */ v("div", y(f({ role: "alert", id: a, className: d, "aria-live": "polite" }, t), { children: [
1245
+ ], d = n(...c, r);
1246
+ return /* @__PURE__ */ v("div", y(p({ role: "alert", id: a, className: d, "aria-live": "polite" }, t), { children: [
1247
1247
  /* @__PURE__ */ l(Se, { className: "h-4 w-4 shrink-0", "aria-hidden": "true" }),
1248
1248
  /* @__PURE__ */ l("span", { children: e })
1249
1249
  ] }));
@@ -1256,27 +1256,27 @@ function Ra(t) {
1256
1256
  "variant",
1257
1257
  "className"
1258
1258
  ]);
1259
- const c = {
1259
+ const o = {
1260
1260
  warning: n("bg-warning-bg", "text-warning-dark", "border-warning"),
1261
1261
  error: n("bg-error-bg", "text-error-dark", "border-error"),
1262
1262
  info: n("bg-info-bg", "text-info-dark", "border-info")
1263
1263
  };
1264
1264
  return /* @__PURE__ */ l(
1265
1265
  "div",
1266
- f({
1266
+ p({
1267
1267
  role: "alert",
1268
1268
  className: n(
1269
1269
  "border",
1270
1270
  s("base", "px"),
1271
1271
  s("sm", "py"),
1272
1272
  $("lg"),
1273
- c[e],
1273
+ o[e],
1274
1274
  a
1275
1275
  )
1276
1276
  }, r)
1277
1277
  );
1278
1278
  }
1279
- const qe = L(
1279
+ const qe = A(
1280
1280
  n(
1281
1281
  "w-full",
1282
1282
  $("md"),
@@ -1350,7 +1350,7 @@ function Xe({
1350
1350
  errorId: t,
1351
1351
  helperId: i
1352
1352
  }) {
1353
- const c = n(
1353
+ const o = n(
1354
1354
  s("xs", "mt"),
1355
1355
  D("caption"),
1356
1356
  e && "text-fg-error",
@@ -1361,7 +1361,7 @@ function Xe({
1361
1361
  "div",
1362
1362
  {
1363
1363
  id: t || i,
1364
- className: c,
1364
+ className: o,
1365
1365
  role: e || a ? "alert" : void 0,
1366
1366
  children: r || (e ? "Error" : a ? "Success" : "")
1367
1367
  }
@@ -1374,14 +1374,14 @@ const Ge = F(
1374
1374
  label: r,
1375
1375
  error: t = !1,
1376
1376
  success: i = !1,
1377
- helperText: c,
1378
- size: o = "md",
1377
+ helperText: o,
1378
+ size: c = "md",
1379
1379
  variant: d = "outlined",
1380
- leftIcon: p,
1380
+ leftIcon: u,
1381
1381
  rightIcon: b,
1382
1382
  rightSlot: m,
1383
1383
  className: x = "",
1384
- disabled: u = !1,
1384
+ disabled: f = !1,
1385
1385
  type: g = "text"
1386
1386
  } = k, N = h(k, [
1387
1387
  "id",
@@ -1401,41 +1401,41 @@ const Ge = F(
1401
1401
  typeof process != "undefined" && process.env.NODE_ENV !== "production" && r && !a && console.warn(
1402
1402
  "[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
1403
  );
1404
- const z = t ? "error" : i ? "success" : "default", R = t && a ? `${a}-error` : void 0, B = c && a ? `${a}-helper` : void 0, P = o === "sm" ? "h-4 w-4" : o === "lg" ? "h-5 w-5" : "h-4 w-4", I = o === "sm" ? "top-2" : o === "lg" ? "top-3.5" : "top-2.5", U = n(
1405
- qe({ variant: d, size: o, state: z }),
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 }),
1406
1406
  // Icon padding — `pl-9` / `pr-9` aren't on the spacing scale (no
1407
1407
  // semantic key for 36px) so they stay raw at the `sm` size; md/lg use
1408
1408
  // the getter. Mirrors the original Input contract.
1409
- p && (o === "sm" ? "pl-9" : s(o === "lg" ? "3xl" : "2xl", "pl")),
1410
- (b || m) && (o === "sm" ? "pr-9" : s(o === "lg" ? "3xl" : "2xl", "pr")),
1409
+ u && (c === "sm" ? "pl-9" : s(c === "lg" ? "3xl" : "2xl", "pl")),
1410
+ (b || m) && (c === "sm" ? "pr-9" : s(c === "lg" ? "3xl" : "2xl", "pr")),
1411
1411
  x
1412
1412
  ), V = n(
1413
1413
  "block",
1414
1414
  D("label"),
1415
1415
  s("xs", "mb"),
1416
- u && "opacity-50"
1416
+ f && "opacity-50"
1417
1417
  );
1418
1418
  return /* @__PURE__ */ v("div", { className: "w-full", children: [
1419
1419
  r && /* @__PURE__ */ l("label", { htmlFor: a, className: V, children: r }),
1420
1420
  /* @__PURE__ */ v("div", { className: "relative", children: [
1421
- p && /* @__PURE__ */ l(
1421
+ u && /* @__PURE__ */ l(
1422
1422
  "div",
1423
1423
  {
1424
1424
  className: `absolute left-3 ${I} text-fg-secondary opacity-60 pointer-events-none`,
1425
- children: /* @__PURE__ */ l("div", { className: P, children: p })
1425
+ children: /* @__PURE__ */ l("div", { className: P, children: u })
1426
1426
  }
1427
1427
  ),
1428
1428
  /* @__PURE__ */ l(
1429
1429
  "input",
1430
- f({
1430
+ p({
1431
1431
  id: a,
1432
1432
  ref: S,
1433
1433
  type: g,
1434
1434
  className: U,
1435
- disabled: u,
1435
+ disabled: f,
1436
1436
  "aria-invalid": t,
1437
1437
  "aria-required": N.required,
1438
- "aria-describedby": R || B,
1438
+ "aria-describedby": R || O,
1439
1439
  suppressHydrationWarning: !0
1440
1440
  }, N)
1441
1441
  ),
@@ -1453,14 +1453,14 @@ const Ge = F(
1453
1453
  }
1454
1454
  )
1455
1455
  ] }),
1456
- (t || i || c) && /* @__PURE__ */ l(
1456
+ (t || i || o) && /* @__PURE__ */ l(
1457
1457
  Xe,
1458
1458
  {
1459
1459
  error: t,
1460
1460
  success: i,
1461
- helperText: c,
1461
+ helperText: o,
1462
1462
  errorId: R,
1463
- helperId: B
1463
+ helperId: O
1464
1464
  }
1465
1465
  )
1466
1466
  ] });
@@ -1486,18 +1486,18 @@ const Ye = n(
1486
1486
  "after:font-normal"
1487
1487
  )
1488
1488
  }, Je = M(
1489
- F(function(o, c) {
1490
- var d = o, { variant: a = "default", className: r = "", children: t } = d, i = h(d, ["variant", "className", "children"]);
1491
- const p = n(
1489
+ F(function(c, o) {
1490
+ var d = c, { variant: a = "default", className: r = "", children: t } = d, i = h(d, ["variant", "className", "children"]);
1491
+ const u = n(
1492
1492
  Ye,
1493
1493
  Ze[a],
1494
1494
  r
1495
1495
  );
1496
- return /* @__PURE__ */ l("label", y(f({ ref: c, className: p }, i), { children: t }));
1496
+ return /* @__PURE__ */ l("label", y(p({ ref: o, className: u }, i), { children: t }));
1497
1497
  })
1498
1498
  );
1499
1499
  Je.displayName = "Label";
1500
- class O {
1500
+ class B {
1501
1501
  /**
1502
1502
  * Create a shadow token
1503
1503
  */
@@ -1542,18 +1542,18 @@ class O {
1542
1542
  }
1543
1543
  }
1544
1544
  const Qe = {
1545
- none: O.create("none"),
1546
- sm: O.create("sm"),
1547
- md: O.create("md"),
1548
- lg: O.create("lg"),
1549
- xl: O.create("xl"),
1550
- "2xl": O.create("2xl"),
1551
- inner: O.create("inner")
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")
1552
1552
  };
1553
1553
  function Y(e) {
1554
1554
  return Qe[e].tailwind;
1555
1555
  }
1556
- const ea = L("w-full", {
1556
+ const ea = A("w-full", {
1557
1557
  variants: {
1558
1558
  size: {
1559
1559
  sm: "h-1",
@@ -1573,7 +1573,7 @@ const ea = L("w-full", {
1573
1573
  size: "md",
1574
1574
  variant: "primary"
1575
1575
  }
1576
- }), oe = L("transition-all", {
1576
+ }), oe = A("transition-all", {
1577
1577
  variants: {
1578
1578
  variant: {
1579
1579
  primary: "bg-surface-brand",
@@ -1588,16 +1588,16 @@ const ea = L("w-full", {
1588
1588
  variant: "primary"
1589
1589
  }
1590
1590
  }), aa = F(function(x, m) {
1591
- var u = x, {
1591
+ var f = x, {
1592
1592
  value: a,
1593
1593
  max: r = 100,
1594
1594
  variant: t = "primary",
1595
1595
  size: i = "md",
1596
- showLabel: c = !1,
1597
- label: o,
1596
+ showLabel: o = !1,
1597
+ label: c,
1598
1598
  "aria-label": d,
1599
- className: p = ""
1600
- } = u, b = h(u, [
1599
+ className: u = ""
1600
+ } = f, b = h(f, [
1601
1601
  "value",
1602
1602
  "max",
1603
1603
  "variant",
@@ -1608,8 +1608,8 @@ const ea = L("w-full", {
1608
1608
  "className"
1609
1609
  ]);
1610
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(f({ ref: m, className: n("w-full", p) }, b), { children: [
1612
- c && (o || !g) && /* @__PURE__ */ v(
1611
+ return /* @__PURE__ */ v("div", y(p({ ref: m, className: n("w-full", u) }, b), { children: [
1612
+ o && (c || !g) && /* @__PURE__ */ v(
1613
1613
  "div",
1614
1614
  {
1615
1615
  className: n(
@@ -1619,7 +1619,7 @@ const ea = L("w-full", {
1619
1619
  s("xs", "mb")
1620
1620
  ),
1621
1621
  children: [
1622
- o && /* @__PURE__ */ l(
1622
+ c && /* @__PURE__ */ l(
1623
1623
  "span",
1624
1624
  {
1625
1625
  className: n(
@@ -1627,7 +1627,7 @@ const ea = L("w-full", {
1627
1627
  j("label"),
1628
1628
  "text-fg-primary"
1629
1629
  ),
1630
- children: o
1630
+ children: c
1631
1631
  }
1632
1632
  ),
1633
1633
  !g && N !== void 0 && /* @__PURE__ */ v(
@@ -1708,12 +1708,12 @@ const ta = {
1708
1708
  solid: "border-solid",
1709
1709
  dashed: "border-dashed",
1710
1710
  dotted: "border-dotted"
1711
- }, na = M(function(c) {
1712
- var o = c, {
1711
+ }, na = M(function(o) {
1712
+ var c = o, {
1713
1713
  orientation: a = "horizontal",
1714
1714
  variant: r = "solid",
1715
1715
  className: t = ""
1716
- } = o, i = h(o, [
1716
+ } = c, i = h(c, [
1717
1717
  "orientation",
1718
1718
  "variant",
1719
1719
  "className"
@@ -1727,14 +1727,14 @@ const ta = {
1727
1727
  );
1728
1728
  return a === "vertical" ? /* @__PURE__ */ l(
1729
1729
  "div",
1730
- f({
1730
+ p({
1731
1731
  className: d,
1732
1732
  role: "separator",
1733
1733
  "aria-orientation": "vertical"
1734
1734
  }, i)
1735
1735
  ) : /* @__PURE__ */ l(
1736
1736
  "hr",
1737
- f({
1737
+ p({
1738
1738
  className: d,
1739
1739
  role: "separator",
1740
1740
  "aria-orientation": "horizontal"
@@ -1742,15 +1742,15 @@ const ta = {
1742
1742
  );
1743
1743
  });
1744
1744
  na.displayName = "Separator";
1745
- function Ba(d) {
1746
- var p = d, {
1745
+ function Oa(d) {
1746
+ var u = d, {
1747
1747
  variant: e = "text",
1748
1748
  width: a,
1749
1749
  height: r,
1750
1750
  lines: t = 1,
1751
1751
  className: i = "",
1752
- "aria-label": c
1753
- } = p, o = h(p, [
1752
+ "aria-label": o
1753
+ } = u, c = h(u, [
1754
1754
  "variant",
1755
1755
  "width",
1756
1756
  "height",
@@ -1767,22 +1767,22 @@ function Ba(d) {
1767
1767
  card: "h-32",
1768
1768
  list: "h-12",
1769
1769
  circle: $("full")
1770
- }, x = n(...b, m[e], i), u = {};
1771
- a && (u.width = a), r && (u.height = r);
1772
- const g = c || `Loading ${e} content`;
1770
+ }, x = n(...b, m[e], i), f = {};
1771
+ a && (f.width = a), r && (f.height = r);
1772
+ const g = o || `Loading ${e} content`;
1773
1773
  return e === "text" && t > 1 ? /* @__PURE__ */ l(
1774
1774
  "div",
1775
- y(f({
1775
+ y(p({
1776
1776
  className: s("sm", "space-y"),
1777
1777
  role: "status",
1778
1778
  "aria-busy": "true",
1779
1779
  "aria-label": g
1780
- }, o), {
1780
+ }, c), {
1781
1781
  children: Array.from({ length: t }).map((N, S) => /* @__PURE__ */ l(
1782
1782
  "div",
1783
1783
  {
1784
1784
  className: x,
1785
- style: S === t - 1 ? { width: "75%" } : u,
1785
+ style: S === t - 1 ? { width: "75%" } : f,
1786
1786
  "aria-hidden": "true"
1787
1787
  },
1788
1788
  S
@@ -1790,13 +1790,13 @@ function Ba(d) {
1790
1790
  })
1791
1791
  ) : /* @__PURE__ */ l(
1792
1792
  "div",
1793
- f({
1793
+ p({
1794
1794
  className: x,
1795
- style: u,
1795
+ style: f,
1796
1796
  role: "status",
1797
1797
  "aria-busy": "true",
1798
1798
  "aria-label": g
1799
- }, o)
1799
+ }, c)
1800
1800
  );
1801
1801
  }
1802
1802
  const sa = {
@@ -1851,15 +1851,15 @@ const sa = {
1851
1851
  contrast: "text-fg-inverse"
1852
1852
  }
1853
1853
  };
1854
- function ia(b, p) {
1854
+ function ia(b, u) {
1855
1855
  var m = b, {
1856
1856
  variant: e = "paragraph",
1857
1857
  bold: a,
1858
1858
  italic: r,
1859
1859
  className: t,
1860
1860
  as: i,
1861
- colorRole: c = "neutral",
1862
- colorShade: o = "dark"
1861
+ colorRole: o = "neutral",
1862
+ colorShade: c = "dark"
1863
1863
  } = m, d = h(m, [
1864
1864
  "variant",
1865
1865
  "bold",
@@ -1870,22 +1870,22 @@ function ia(b, p) {
1870
1870
  "colorShade"
1871
1871
  ]);
1872
1872
  const x = [];
1873
- let u;
1873
+ let f;
1874
1874
  if (i)
1875
- u = i;
1875
+ f = i;
1876
1876
  else
1877
1877
  switch (e) {
1878
1878
  case "heading":
1879
- u = "h2";
1879
+ f = "h2";
1880
1880
  break;
1881
1881
  case "list":
1882
- u = "li";
1882
+ f = "li";
1883
1883
  break;
1884
1884
  default:
1885
- u = "p";
1885
+ f = "p";
1886
1886
  break;
1887
1887
  }
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[c][o]), /* @__PURE__ */ l(u, f({ ref: p, className: n(...x, t) }, d));
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));
1889
1889
  }
1890
1890
  const H = F(ia), la = {
1891
1891
  sm: "max-w-screen-sm",
@@ -1895,15 +1895,15 @@ const H = F(ia), la = {
1895
1895
  "2xl": "max-w-screen-2xl",
1896
1896
  full: "max-w-full"
1897
1897
  }, oa = ce.forwardRef(
1898
- (p, d) => {
1899
- var b = p, {
1898
+ (u, d) => {
1899
+ var b = u, {
1900
1900
  className: e,
1901
1901
  maxWidth: a = "lg",
1902
1902
  paddingX: r = "base",
1903
1903
  paddingY: t = "base",
1904
1904
  center: i = !0,
1905
- children: c
1906
- } = b, o = h(b, [
1905
+ children: o
1906
+ } = b, c = h(b, [
1907
1907
  "className",
1908
1908
  "maxWidth",
1909
1909
  "paddingX",
@@ -1913,7 +1913,7 @@ const H = F(ia), la = {
1913
1913
  ]);
1914
1914
  return /* @__PURE__ */ l(
1915
1915
  "div",
1916
- y(f({
1916
+ y(p({
1917
1917
  ref: d,
1918
1918
  className: n(
1919
1919
  "w-full",
@@ -1923,23 +1923,23 @@ const H = F(ia), la = {
1923
1923
  i && "mx-auto",
1924
1924
  e
1925
1925
  )
1926
- }, o), {
1927
- children: c
1926
+ }, c), {
1927
+ children: o
1928
1928
  })
1929
1929
  );
1930
1930
  }
1931
1931
  );
1932
1932
  oa.displayName = "Container";
1933
1933
  const ca = ce.forwardRef(
1934
- (p, d) => {
1935
- var b = p, {
1934
+ (u, d) => {
1935
+ var b = u, {
1936
1936
  className: e,
1937
1937
  spacing: a = "base",
1938
1938
  align: r = "stretch",
1939
1939
  justify: t = "start",
1940
1940
  direction: i = "column",
1941
- children: c
1942
- } = b, o = h(b, [
1941
+ children: o
1942
+ } = b, c = h(b, [
1943
1943
  "className",
1944
1944
  "spacing",
1945
1945
  "align",
@@ -1952,7 +1952,7 @@ const ca = ce.forwardRef(
1952
1952
  center: "items-center",
1953
1953
  end: "items-end",
1954
1954
  stretch: "items-stretch"
1955
- }, u = {
1955
+ }, f = {
1956
1956
  start: "justify-start",
1957
1957
  center: "justify-center",
1958
1958
  end: "justify-end",
@@ -1962,44 +1962,44 @@ const ca = ce.forwardRef(
1962
1962
  };
1963
1963
  return /* @__PURE__ */ l(
1964
1964
  "div",
1965
- y(f({
1965
+ y(p({
1966
1966
  ref: d,
1967
1967
  className: n(
1968
1968
  "flex",
1969
1969
  i === "column" ? "flex-col" : "flex-row",
1970
1970
  m,
1971
1971
  x[r],
1972
- u[t],
1972
+ f[t],
1973
1973
  e
1974
1974
  )
1975
- }, o), {
1976
- children: c
1975
+ }, c), {
1976
+ children: o
1977
1977
  })
1978
1978
  );
1979
1979
  }
1980
1980
  );
1981
1981
  ca.displayName = "Stack";
1982
1982
  function da(i) {
1983
- var c = i, {
1983
+ var o = i, {
1984
1984
  items: e,
1985
1985
  separator: a = "/",
1986
1986
  className: r = ""
1987
- } = c, t = h(c, [
1987
+ } = o, t = h(o, [
1988
1988
  "items",
1989
1989
  "separator",
1990
1990
  "className"
1991
1991
  ]);
1992
- const o = [
1992
+ const c = [
1993
1993
  "flex",
1994
1994
  "items-center",
1995
1995
  s("sm", "space-x"),
1996
1996
  w("bodySmall")
1997
- ], d = n(...o, r);
1998
- return /* @__PURE__ */ l("nav", y(f({ "aria-label": "Breadcrumb", className: d }, t), { children: /* @__PURE__ */ l(
1997
+ ], d = n(...c, r);
1998
+ return /* @__PURE__ */ l("nav", y(p({ "aria-label": "Breadcrumb", className: d }, t), { children: /* @__PURE__ */ l(
1999
1999
  "ol",
2000
2000
  {
2001
2001
  className: n("flex", "items-center", s("sm", "space-x")),
2002
- children: e.map((p, b) => {
2002
+ children: e.map((u, b) => {
2003
2003
  const m = b === e.length - 1;
2004
2004
  return /* @__PURE__ */ v("li", { className: "flex items-center", children: [
2005
2005
  b > 0 && /* @__PURE__ */ l(
@@ -2021,12 +2021,12 @@ function da(i) {
2021
2021
  j("label")
2022
2022
  ),
2023
2023
  "aria-current": "page",
2024
- children: p.label
2024
+ children: u.label
2025
2025
  }
2026
- ) : p.href ? /* @__PURE__ */ l(
2026
+ ) : u.href ? /* @__PURE__ */ l(
2027
2027
  "a",
2028
2028
  {
2029
- href: p.href,
2029
+ href: u.href,
2030
2030
  className: n(
2031
2031
  "inline-flex",
2032
2032
  "items-center",
@@ -2041,9 +2041,9 @@ function da(i) {
2041
2041
  "hover:border-line-emphasis",
2042
2042
  "hover:text-fg-primary"
2043
2043
  ),
2044
- children: p.label
2044
+ children: u.label
2045
2045
  }
2046
- ) : /* @__PURE__ */ l("span", { className: "text-fg-secondary", children: p.label })
2046
+ ) : /* @__PURE__ */ l("span", { className: "text-fg-secondary", children: u.label })
2047
2047
  ] }, b);
2048
2048
  })
2049
2049
  }
@@ -2053,7 +2053,7 @@ function ua(t) {
2053
2053
  var i = t, { children: e, className: a } = i, r = h(i, ["children", "className"]);
2054
2054
  return /* @__PURE__ */ l(
2055
2055
  "div",
2056
- y(f({
2056
+ y(p({
2057
2057
  className: n(
2058
2058
  "grid items-start",
2059
2059
  s("1.5", "gap"),
@@ -2067,14 +2067,14 @@ function ua(t) {
2067
2067
  })
2068
2068
  );
2069
2069
  }
2070
- function fa(o) {
2071
- var d = o, {
2070
+ function fa(c) {
2071
+ var d = c, {
2072
2072
  children: e,
2073
2073
  icon: a,
2074
2074
  badge: r,
2075
2075
  as: t = "h2",
2076
2076
  className: i
2077
- } = d, c = h(d, [
2077
+ } = d, o = h(d, [
2078
2078
  "children",
2079
2079
  "icon",
2080
2080
  "badge",
@@ -2083,14 +2083,14 @@ function fa(o) {
2083
2083
  ]);
2084
2084
  return /* @__PURE__ */ v(
2085
2085
  t,
2086
- y(f({
2086
+ y(p({
2087
2087
  className: n(
2088
2088
  "text-base font-semibold text-fg-primary",
2089
2089
  "flex items-center",
2090
2090
  s("sm", "gap"),
2091
2091
  i
2092
2092
  )
2093
- }, c), {
2093
+ }, o), {
2094
2094
  children: [
2095
2095
  a ? /* @__PURE__ */ l("span", { className: "shrink-0 inline-flex", children: a }) : null,
2096
2096
  /* @__PURE__ */ l("span", { children: e }),
@@ -2107,7 +2107,7 @@ function pa(t) {
2107
2107
  "children",
2108
2108
  "className"
2109
2109
  ]);
2110
- return /* @__PURE__ */ l("p", y(f({ className: n("text-sm text-fg-secondary", a) }, r), { children: e }));
2110
+ return /* @__PURE__ */ l("p", y(p({ className: n("text-sm text-fg-secondary", a) }, r), { children: e }));
2111
2111
  }
2112
2112
  function ma(t) {
2113
2113
  var i = t, {
@@ -2119,7 +2119,7 @@ function ma(t) {
2119
2119
  ]);
2120
2120
  return /* @__PURE__ */ l(
2121
2121
  "div",
2122
- y(f({
2122
+ y(p({
2123
2123
  "data-card-actions": "",
2124
2124
  className: n(
2125
2125
  "flex items-center self-start",
@@ -2133,7 +2133,7 @@ function ma(t) {
2133
2133
  }
2134
2134
  function ga(t) {
2135
2135
  var i = t, { children: e, className: a } = i, r = h(i, ["children", "className"]);
2136
- return /* @__PURE__ */ l("div", y(f({ className: n(a) }, r), { children: e }));
2136
+ return /* @__PURE__ */ l("div", y(p({ className: n(a) }, r), { children: e }));
2137
2137
  }
2138
2138
  function ba(b) {
2139
2139
  var m = b, {
@@ -2142,10 +2142,10 @@ function ba(b) {
2142
2142
  className: r = "",
2143
2143
  onClick: t,
2144
2144
  "aria-label": i,
2145
- "aria-labelledby": c,
2146
- asSection: o = !1,
2145
+ "aria-labelledby": o,
2146
+ asSection: c = !1,
2147
2147
  children: d
2148
- } = m, p = h(m, [
2148
+ } = m, u = h(m, [
2149
2149
  "variant",
2150
2150
  "padding",
2151
2151
  "className",
@@ -2155,10 +2155,10 @@ function ba(b) {
2155
2155
  "asSection",
2156
2156
  "children"
2157
2157
  ]);
2158
- typeof process != "undefined" && process.env.NODE_ENV !== "production" && o && !i && !c && console.warn(
2158
+ typeof process != "undefined" && process.env.NODE_ENV !== "production" && c && !i && !o && console.warn(
2159
2159
  "[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
2160
  );
2161
- const x = L(
2161
+ const x = A(
2162
2162
  n(
2163
2163
  "bg-surface-base",
2164
2164
  $("lg"),
@@ -2189,18 +2189,18 @@ function ba(b) {
2189
2189
  padding: "medium"
2190
2190
  }
2191
2191
  }
2192
- ), u = t !== void 0, g = u ? "button" : void 0, N = u ? 0 : void 0, S = n(x({ variant: e, padding: a }), r), k = f({
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
2193
  className: S,
2194
2194
  role: g,
2195
2195
  tabIndex: N,
2196
2196
  onClick: t,
2197
- onKeyDown: u ? (z) => {
2198
- u && (z.key === "Enter" || z.key === " ") && (z.preventDefault(), t == null || t());
2197
+ onKeyDown: f ? (L) => {
2198
+ f && (L.key === "Enter" || L.key === " ") && (L.preventDefault(), t == null || t());
2199
2199
  } : void 0,
2200
2200
  "aria-label": i,
2201
- "aria-labelledby": c
2202
- }, p);
2203
- return o ? /* @__PURE__ */ l("section", y(f({}, k), { children: d })) : /* @__PURE__ */ l("div", y(f({}, k), { children: d }));
2201
+ "aria-labelledby": o
2202
+ }, u);
2203
+ return c ? /* @__PURE__ */ l("section", y(p({}, k), { children: d })) : /* @__PURE__ */ l("div", y(p({}, k), { children: d }));
2204
2204
  }
2205
2205
  const pe = M(ba);
2206
2206
  pe.displayName = "Card";
@@ -2210,7 +2210,7 @@ W.Title = fa;
2210
2210
  W.Subtitle = pa;
2211
2211
  W.Actions = ma;
2212
2212
  W.Body = ga;
2213
- function Oa(t) {
2213
+ function Ba(t) {
2214
2214
  var i = t, {
2215
2215
  children: e,
2216
2216
  className: a = ""
@@ -2220,7 +2220,7 @@ function Oa(t) {
2220
2220
  ]);
2221
2221
  return /* @__PURE__ */ l(
2222
2222
  "div",
2223
- y(f({
2223
+ y(p({
2224
2224
  className: `flex flex-col ${s("1.5", "space-y")} ${s("lg", "p")} ${s("base", "pb")} ${a}`
2225
2225
  }, r), {
2226
2226
  children: e
@@ -2237,7 +2237,7 @@ function Ma(t) {
2237
2237
  ]);
2238
2238
  return /* @__PURE__ */ l(
2239
2239
  "div",
2240
- y(f({
2240
+ y(p({
2241
2241
  className: `flex flex-col-reverse sm:flex-row sm:justify-end sm:${s("sm", "space-x")} ${s("lg", "p")} ${s("base", "pt")} ${a}`
2242
2242
  }, r), {
2243
2243
  children: e
@@ -2254,7 +2254,7 @@ function Ha(t) {
2254
2254
  ]);
2255
2255
  return /* @__PURE__ */ l(
2256
2256
  "div",
2257
- y(f({
2257
+ y(p({
2258
2258
  className: `
2259
2259
  ${s("lg", "p")}
2260
2260
  border-b
@@ -2276,7 +2276,7 @@ function Pa(t) {
2276
2276
  ]);
2277
2277
  return /* @__PURE__ */ l(
2278
2278
  "div",
2279
- y(f({
2279
+ y(p({
2280
2280
  className: `
2281
2281
  ${s("lg", "p")}
2282
2282
  border-t
@@ -2291,24 +2291,24 @@ function Pa(t) {
2291
2291
  })
2292
2292
  );
2293
2293
  }
2294
- function Ia(c) {
2295
- var o = c, {
2294
+ function Ia(o) {
2295
+ var c = o, {
2296
2296
  label: e,
2297
2297
  children: a,
2298
2298
  wrap: r = !0,
2299
2299
  className: t
2300
- } = o, i = h(o, [
2300
+ } = c, i = h(c, [
2301
2301
  "label",
2302
2302
  "children",
2303
2303
  "wrap",
2304
2304
  "className"
2305
2305
  ]);
2306
- const p = !(i["aria-label"] != null || i["aria-labelledby"] != null) && typeof e == "string" && e !== "" ? e : void 0;
2306
+ const u = !(i["aria-label"] != null || i["aria-labelledby"] != null) && typeof e == "string" && e !== "" ? e : void 0;
2307
2307
  return /* @__PURE__ */ v(
2308
2308
  "div",
2309
- y(f({
2309
+ y(p({
2310
2310
  role: "group",
2311
- "aria-label": p,
2311
+ "aria-label": u,
2312
2312
  className: n(
2313
2313
  "flex items-center",
2314
2314
  r ? "flex-wrap" : "flex-nowrap",
@@ -2360,7 +2360,7 @@ function Ua({
2360
2360
  }
2361
2361
  );
2362
2362
  }
2363
- const xa = L(
2363
+ const xa = A(
2364
2364
  n(
2365
2365
  "w-full flex flex-col",
2366
2366
  s("2xl", "py"),
@@ -2400,14 +2400,14 @@ const xa = L(
2400
2400
  title: r,
2401
2401
  description: t,
2402
2402
  actions: i,
2403
- kpis: c,
2404
- meta: o,
2403
+ kpis: o,
2404
+ meta: c,
2405
2405
  variant: d = "plain",
2406
- align: p = "start",
2406
+ align: u = "start",
2407
2407
  className: b,
2408
2408
  "aria-label": m,
2409
2409
  "aria-labelledby": x
2410
- } = S, u = h(S, [
2410
+ } = S, f = h(S, [
2411
2411
  "kicker",
2412
2412
  "title",
2413
2413
  "description",
@@ -2425,12 +2425,12 @@ const xa = L(
2425
2425
  "[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
2426
  ), /* @__PURE__ */ v(
2427
2427
  "section",
2428
- y(f({
2428
+ y(p({
2429
2429
  ref: g,
2430
- className: n(xa({ variant: d, align: p }), b),
2430
+ className: n(xa({ variant: d, align: u }), b),
2431
2431
  "aria-label": k,
2432
2432
  "aria-labelledby": x
2433
- }, u), {
2433
+ }, f), {
2434
2434
  children: [
2435
2435
  /* @__PURE__ */ v(
2436
2436
  "div",
@@ -2438,7 +2438,7 @@ const xa = L(
2438
2438
  className: n(
2439
2439
  "flex flex-col",
2440
2440
  s("md", "gap-y"),
2441
- ha[p]
2441
+ ha[u]
2442
2442
  ),
2443
2443
  children: [
2444
2444
  a ? /* @__PURE__ */ l(
@@ -2481,13 +2481,13 @@ const xa = L(
2481
2481
  className: n(
2482
2482
  "flex flex-wrap",
2483
2483
  s("sm", "gap"),
2484
- ya[p]
2484
+ ya[u]
2485
2485
  ),
2486
2486
  children: i
2487
2487
  }
2488
2488
  ) : null,
2489
- c ? /* @__PURE__ */ l("div", { className: "w-full", children: c }) : null,
2490
- o ? /* @__PURE__ */ l(
2489
+ o ? /* @__PURE__ */ l("div", { className: "w-full", children: o }) : null,
2490
+ c ? /* @__PURE__ */ l(
2491
2491
  H,
2492
2492
  {
2493
2493
  as: "p",
@@ -2495,7 +2495,7 @@ const xa = L(
2495
2495
  colorRole: "neutral",
2496
2496
  colorShade: "light",
2497
2497
  className: "text-sm",
2498
- children: o
2498
+ children: c
2499
2499
  }
2500
2500
  ) : null
2501
2501
  ]
@@ -2512,7 +2512,7 @@ function Ka(r) {
2512
2512
  ]);
2513
2513
  return /* @__PURE__ */ l(
2514
2514
  "div",
2515
- f({
2515
+ p({
2516
2516
  role: "separator",
2517
2517
  className: `
2518
2518
  h-px
@@ -2533,14 +2533,14 @@ function qa(t) {
2533
2533
  ]);
2534
2534
  return e === "vertical" ? /* @__PURE__ */ l(
2535
2535
  "div",
2536
- f({
2536
+ p({
2537
2537
  className: n("w-px", "h-6", "bg-line-default", "mx-auto", a),
2538
2538
  role: "separator",
2539
2539
  "aria-orientation": "vertical"
2540
2540
  }, r)
2541
2541
  ) : /* @__PURE__ */ l(
2542
2542
  "div",
2543
- f({
2543
+ p({
2544
2544
  className: n(
2545
2545
  "w-full",
2546
2546
  "h-px",
@@ -2561,7 +2561,7 @@ function qa(t) {
2561
2561
  }, r)
2562
2562
  );
2563
2563
  }
2564
- const wa = L(
2564
+ const wa = A(
2565
2565
  // Base classes
2566
2566
  n("w-full", "flex", "flex-col", s("sm", "gap")),
2567
2567
  {
@@ -2577,14 +2577,14 @@ const wa = L(
2577
2577
  }
2578
2578
  );
2579
2579
  function Xa(d) {
2580
- var p = d, {
2580
+ var u = d, {
2581
2581
  title: e,
2582
2582
  description: a,
2583
2583
  breadcrumb: r,
2584
2584
  actions: t,
2585
2585
  variant: i = "default",
2586
- className: c
2587
- } = p, o = h(p, [
2586
+ className: o
2587
+ } = u, c = h(u, [
2588
2588
  "title",
2589
2589
  "description",
2590
2590
  "breadcrumb",
@@ -2592,7 +2592,7 @@ function Xa(d) {
2592
2592
  "variant",
2593
2593
  "className"
2594
2594
  ]);
2595
- return /* @__PURE__ */ v("div", y(f({ className: n(wa({ variant: i }), c) }, o), { children: [
2595
+ return /* @__PURE__ */ v("div", y(p({ className: n(wa({ variant: i }), o) }, c), { children: [
2596
2596
  r && r.length > 0 && /* @__PURE__ */ l(da, { items: r }),
2597
2597
  /* @__PURE__ */ v(
2598
2598
  "div",
@@ -2632,15 +2632,15 @@ const Na = {
2632
2632
  warning: "text-fg-warning",
2633
2633
  error: "text-fg-error"
2634
2634
  };
2635
- function Ga(p) {
2636
- var b = p, {
2635
+ function Ga(u) {
2636
+ var b = u, {
2637
2637
  value: e,
2638
2638
  label: a,
2639
2639
  hint: r,
2640
2640
  icon: t,
2641
2641
  align: i = "start",
2642
- tone: c = "neutral",
2643
- className: o
2642
+ tone: o = "neutral",
2643
+ className: c
2644
2644
  } = b, d = h(b, [
2645
2645
  "value",
2646
2646
  "label",
@@ -2653,13 +2653,13 @@ function Ga(p) {
2653
2653
  const m = e == null;
2654
2654
  return /* @__PURE__ */ v(
2655
2655
  "div",
2656
- y(f({
2656
+ y(p({
2657
2657
  className: n(
2658
2658
  "bg-surface-base flex-1 flex flex-col",
2659
2659
  s("base", "p"),
2660
2660
  s("xs", "gap-y"),
2661
2661
  Na[i],
2662
- o
2662
+ c
2663
2663
  )
2664
2664
  }, d), {
2665
2665
  children: [
@@ -2673,7 +2673,7 @@ function Ga(p) {
2673
2673
  }
2674
2674
  ) : /* @__PURE__ */ l("span", { className: "text-fg-primary text-2xl font-semibold leading-tight", children: e }),
2675
2675
  /* @__PURE__ */ l("span", { className: "text-fg-secondary text-sm", children: a }),
2676
- r ? /* @__PURE__ */ l("span", { className: n("text-xs", Sa[c]), children: r }) : null
2676
+ r ? /* @__PURE__ */ l("span", { className: n("text-xs", Sa[o]), children: r }) : null
2677
2677
  ]
2678
2678
  })
2679
2679
  );
@@ -2684,45 +2684,59 @@ const $a = {
2684
2684
  4: "md:grid-cols-4"
2685
2685
  };
2686
2686
  function Ya(c) {
2687
- var o = c, {
2687
+ var d = c, {
2688
2688
  layout: e = "grid",
2689
2689
  cols: a = 4,
2690
- className: r,
2691
- children: t
2692
- } = o, i = h(o, [
2690
+ floatingBadge: r,
2691
+ className: t,
2692
+ children: i
2693
+ } = d, o = h(d, [
2693
2694
  "layout",
2694
2695
  "cols",
2696
+ "floatingBadge",
2695
2697
  "className",
2696
2698
  "children"
2697
2699
  ]);
2698
- const d = e === "grid";
2699
- return /* @__PURE__ */ l(
2700
+ const u = e === "grid";
2701
+ return /* @__PURE__ */ v(
2700
2702
  "div",
2701
- y(f({
2703
+ y(p({
2702
2704
  className: n(
2703
- "bg-line-default border border-line-default overflow-hidden gap-px",
2704
- $("lg"),
2705
- d ? `grid grid-cols-2 ${$a[a]}` : "flex",
2706
- r
2705
+ "relative",
2706
+ r && s("base", "pt"),
2707
+ t
2707
2708
  )
2708
- }, i), {
2709
- children: t
2709
+ }, o), {
2710
+ children: [
2711
+ r ? /* @__PURE__ */ l("div", { className: "absolute top-4 left-1/2 -translate-x-1/2 -translate-y-1/2 z-10", children: r }) : null,
2712
+ /* @__PURE__ */ l(
2713
+ "div",
2714
+ {
2715
+ className: n(
2716
+ "bg-line-default border border-line-default overflow-hidden gap-px",
2717
+ $("lg"),
2718
+ u ? `grid grid-cols-2 ${$a[a]}` : "flex"
2719
+ ),
2720
+ children: i
2721
+ }
2722
+ )
2723
+ ]
2710
2724
  })
2711
2725
  );
2712
2726
  }
2713
2727
  function Za(i) {
2714
- var c = i, { column: e, row: a, className: r = "" } = c, t = h(c, ["column", "row", "className"]);
2715
- const o = e.key in a ? a[e.key] : void 0;
2728
+ var o = i, { column: e, row: a, className: r = "" } = o, t = h(o, ["column", "row", "className"]);
2729
+ const c = e.key in a ? a[e.key] : void 0;
2716
2730
  return /* @__PURE__ */ l(
2717
2731
  "td",
2718
- y(f({
2732
+ y(p({
2719
2733
  className: `${s("lg", "px")} ${s("base", "py")} whitespace-nowrap text-sm text-fg-primary ${e.hiddenOnMobile ? "hidden md:table-cell" : ""} ${r}`
2720
2734
  }, t), {
2721
- children: e.render ? e.render(o, a) : String(o != null ? o : "")
2735
+ children: e.render ? e.render(c, a) : String(c != null ? c : "")
2722
2736
  })
2723
2737
  );
2724
2738
  }
2725
- const ka = L(n("flex items-center", "border-b"), {
2739
+ const ka = A(n("flex items-center", "border-b"), {
2726
2740
  variants: {
2727
2741
  variant: {
2728
2742
  default: n("border-line-default", s("base", "gap-x")),
@@ -2732,7 +2746,7 @@ const ka = L(n("flex items-center", "border-b"), {
2732
2746
  defaultVariants: {
2733
2747
  variant: "default"
2734
2748
  }
2735
- }), Ca = L(
2749
+ }), Ca = A(
2736
2750
  n(
2737
2751
  "relative -mb-px inline-flex items-center",
2738
2752
  s("xs", "gap-x"),
@@ -2786,14 +2800,14 @@ const ka = L(n("flex items-center", "border-b"), {
2786
2800
  s("xs", "px"),
2787
2801
  "bg-surface-muted text-fg-secondary text-xs"
2788
2802
  ), Ta = F(
2789
- function(b, p) {
2803
+ function(b, u) {
2790
2804
  var m = b, {
2791
2805
  items: a,
2792
2806
  variant: r = "default",
2793
2807
  linkComponent: t,
2794
2808
  className: i,
2795
- "aria-label": c,
2796
- "aria-labelledby": o
2809
+ "aria-label": o,
2810
+ "aria-labelledby": c
2797
2811
  } = m, d = h(m, [
2798
2812
  "items",
2799
2813
  "variant",
@@ -2802,32 +2816,32 @@ const ka = L(n("flex items-center", "border-b"), {
2802
2816
  "aria-label",
2803
2817
  "aria-labelledby"
2804
2818
  ]);
2805
- typeof process != "undefined" && process.env.NODE_ENV !== "production" && !c && !o && console.warn(
2819
+ typeof process != "undefined" && process.env.NODE_ENV !== "production" && !o && !c && console.warn(
2806
2820
  '[TabsAsLinks] renders a <nav> landmark and should have an accessible name. Pass `aria-label` (e.g. "Painel") or `aria-labelledby` — multiple unnamed navs on a page are ambiguous to screen readers.'
2807
2821
  );
2808
2822
  const x = t != null ? t : "a";
2809
2823
  return /* @__PURE__ */ l(
2810
2824
  "nav",
2811
- y(f({
2812
- ref: p,
2825
+ y(p({
2826
+ ref: u,
2813
2827
  className: n(ka({ variant: r }), i),
2814
- "aria-label": c,
2815
- "aria-labelledby": o
2828
+ "aria-label": o,
2829
+ "aria-labelledby": c
2816
2830
  }, d), {
2817
- children: a.map((u, g) => /* @__PURE__ */ v(
2831
+ children: a.map((f, g) => /* @__PURE__ */ v(
2818
2832
  x,
2819
2833
  {
2820
- href: u.href,
2821
- "aria-current": u.active ? "page" : void 0,
2822
- "data-active": u.active ? "true" : void 0,
2823
- className: Ca({ variant: r, active: !!u.active }),
2834
+ href: f.href,
2835
+ "aria-current": f.active ? "page" : void 0,
2836
+ "data-active": f.active ? "true" : void 0,
2837
+ className: Ca({ variant: r, active: !!f.active }),
2824
2838
  children: [
2825
- u.icon ? /* @__PURE__ */ l("span", { "aria-hidden": "true", className: "inline-flex shrink-0", children: u.icon }) : null,
2826
- /* @__PURE__ */ l("span", { children: u.label }),
2827
- u.count !== void 0 ? /* @__PURE__ */ l("span", { className: Ea, children: u.count }) : null
2839
+ f.icon ? /* @__PURE__ */ l("span", { "aria-hidden": "true", className: "inline-flex shrink-0", children: f.icon }) : null,
2840
+ /* @__PURE__ */ l("span", { children: f.label }),
2841
+ f.count !== void 0 ? /* @__PURE__ */ l("span", { className: Ea, children: f.count }) : null
2828
2842
  ]
2829
2843
  },
2830
- u.href || g
2844
+ f.href || g
2831
2845
  ))
2832
2846
  })
2833
2847
  );
@@ -2840,11 +2854,11 @@ function Ja({
2840
2854
  className: r = ""
2841
2855
  }) {
2842
2856
  return a === "horizontal" ? /* @__PURE__ */ l("div", { className: `flex items-start ${r}`, children: e.map((t, i) => {
2843
- const c = t.status || (i === 0 ? "active" : i < e.findIndex((d) => d.status === "active") ? "completed" : "default"), o = i === e.length - 1;
2857
+ const o = t.status || (i === 0 ? "active" : i < e.findIndex((d) => d.status === "active") ? "completed" : "default"), c = i === e.length - 1;
2844
2858
  return /* @__PURE__ */ l("div", { className: "flex items-start flex-1", children: /* @__PURE__ */ v("div", { className: "flex flex-col items-center flex-1", children: [
2845
2859
  /* @__PURE__ */ l(
2846
2860
  "div",
2847
- y(f({}, c === "default" ? { "data-marker": "pending" } : {}), {
2861
+ y(p({}, o === "default" ? { "data-marker": "pending" } : {}), {
2848
2862
  className: `
2849
2863
  flex
2850
2864
  items-center
@@ -2853,19 +2867,19 @@ function Ja({
2853
2867
  h-10
2854
2868
  ${$("full")}
2855
2869
  border-2
2856
- ${c === "completed" ? "bg-success border-success text-fg-inverse" : c === "active" ? "bg-surface-brand-strong border-line-brand text-fg-inverse" : c === "error" ? "bg-error border-error text-fg-inverse" : "bg-surface-base border-line-emphasis text-fg-quaternary"}
2870
+ ${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"}
2857
2871
  `,
2858
- children: t.icon || (c === "completed" ? /* @__PURE__ */ l(ne, { className: "h-4 w-4" }) : i + 1)
2872
+ children: t.icon || (o === "completed" ? /* @__PURE__ */ l(ne, { className: "h-4 w-4" }) : i + 1)
2859
2873
  })
2860
2874
  ),
2861
- !o && /* @__PURE__ */ l(
2875
+ !c && /* @__PURE__ */ l(
2862
2876
  "div",
2863
2877
  {
2864
2878
  className: `
2865
2879
  w-full
2866
2880
  h-0.5
2867
2881
  ${s("sm", "mt")}
2868
- ${c === "completed" ? "bg-success" : "bg-line-emphasis"}
2882
+ ${o === "completed" ? "bg-success" : "bg-line-emphasis"}
2869
2883
  `
2870
2884
  }
2871
2885
  ),
@@ -2895,7 +2909,7 @@ function Ja({
2895
2909
  )
2896
2910
  ] }) }, t.id);
2897
2911
  }) }) : /* @__PURE__ */ l("div", { className: `${s("none", "space-y")} ${r}`, children: e.map((t, i) => {
2898
- const c = t.status || (i === 0 ? "active" : i < e.findIndex((d) => d.status === "active") ? "completed" : "default"), o = i === e.length - 1;
2912
+ const o = t.status || (i === 0 ? "active" : i < e.findIndex((d) => d.status === "active") ? "completed" : "default"), c = i === e.length - 1;
2899
2913
  return /* @__PURE__ */ v(
2900
2914
  "div",
2901
2915
  {
@@ -2904,7 +2918,7 @@ function Ja({
2904
2918
  /* @__PURE__ */ v("div", { className: "flex flex-col items-center", children: [
2905
2919
  /* @__PURE__ */ l(
2906
2920
  "div",
2907
- y(f({}, c === "default" ? { "data-marker": "pending" } : {}), {
2921
+ y(p({}, o === "default" ? { "data-marker": "pending" } : {}), {
2908
2922
  className: `
2909
2923
  flex
2910
2924
  items-center
@@ -2913,12 +2927,12 @@ function Ja({
2913
2927
  h-10
2914
2928
  ${$("full")}
2915
2929
  border-2
2916
- ${c === "completed" ? "bg-success border-success text-fg-inverse" : c === "active" ? "bg-surface-brand-strong border-line-brand text-fg-inverse" : c === "error" ? "bg-error border-error text-fg-inverse" : "bg-surface-base border-line-emphasis text-fg-quaternary"}
2930
+ ${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"}
2917
2931
  `,
2918
- children: t.icon || (c === "completed" ? /* @__PURE__ */ l(ne, { className: "h-4 w-4" }) : i + 1)
2932
+ children: t.icon || (o === "completed" ? /* @__PURE__ */ l(ne, { className: "h-4 w-4" }) : i + 1)
2919
2933
  })
2920
2934
  ),
2921
- !o && /* @__PURE__ */ l(
2935
+ !c && /* @__PURE__ */ l(
2922
2936
  "div",
2923
2937
  {
2924
2938
  className: `
@@ -2926,7 +2940,7 @@ function Ja({
2926
2940
  flex-1
2927
2941
  min-h-16
2928
2942
  ${s("sm", "mt")}
2929
- ${c === "completed" ? "bg-success" : "bg-line-emphasis"}
2943
+ ${o === "completed" ? "bg-success" : "bg-line-emphasis"}
2930
2944
  `
2931
2945
  }
2932
2946
  )
@@ -2945,7 +2959,7 @@ function Ja({
2945
2959
  className: `
2946
2960
  text-base
2947
2961
  font-semibold
2948
- ${c === "active" ? "text-fg-brand-emphasis" : "text-fg-primary"}
2962
+ ${o === "active" ? "text-fg-brand-emphasis" : "text-fg-primary"}
2949
2963
  `,
2950
2964
  children: t.title
2951
2965
  }
@@ -2979,7 +2993,7 @@ export {
2979
2993
  oa as Container,
2980
2994
  Ke as DataBadge,
2981
2995
  Ma as DialogFooter,
2982
- Oa as DialogHeader,
2996
+ Ba as DialogHeader,
2983
2997
  Pa as DrawerFooter,
2984
2998
  Ha as DrawerHeader,
2985
2999
  ja as ErrorMessage,
@@ -2995,7 +3009,7 @@ export {
2995
3009
  Xa as PageHeader,
2996
3010
  aa as Progress,
2997
3011
  na as Separator,
2998
- Ba as Skeleton,
3012
+ Oa as Skeleton,
2999
3013
  fe as Spinner,
3000
3014
  ca as Stack,
3001
3015
  Ga as Stat,