@fabio.caffarello/react-design-system 3.3.0 → 3.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,16 +1,16 @@
1
- var se = Object.defineProperty, le = Object.defineProperties;
2
- var oe = Object.getOwnPropertyDescriptors;
1
+ var le = Object.defineProperty, oe = Object.defineProperties;
2
+ var de = Object.getOwnPropertyDescriptors;
3
3
  var P = Object.getOwnPropertySymbols;
4
4
  var Z = Object.prototype.hasOwnProperty, G = Object.prototype.propertyIsEnumerable;
5
- var K = (r, a, n) => a in r ? se(r, a, { enumerable: !0, configurable: !0, writable: !0, value: n }) : r[a] = n, m = (r, a) => {
5
+ var K = (r, a, n) => a in r ? le(r, a, { enumerable: !0, configurable: !0, writable: !0, value: n }) : r[a] = n, m = (r, a) => {
6
6
  for (var n in a || (a = {}))
7
7
  Z.call(a, n) && K(r, n, a[n]);
8
8
  if (P)
9
9
  for (var n of P(a))
10
10
  G.call(a, n) && K(r, n, a[n]);
11
11
  return r;
12
- }, v = (r, a) => le(r, oe(a));
13
- var h = (r, a) => {
12
+ }, v = (r, a) => oe(r, de(a));
13
+ var y = (r, a) => {
14
14
  var n = {};
15
15
  for (var t in r)
16
16
  Z.call(r, t) && a.indexOf(t) < 0 && (n[t] = r[t]);
@@ -20,14 +20,14 @@ var h = (r, a) => {
20
20
  return n;
21
21
  };
22
22
  var Q = (r, a, n) => K(r, typeof a != "symbol" ? a + "" : a, n);
23
- import { jsx as d, jsxs as C } from "react/jsx-runtime";
23
+ import { jsx as d, jsxs as T } from "react/jsx-runtime";
24
24
  import * as S from "react";
25
- import re, { memo as H, forwardRef as j } from "react";
26
- import { clsx as de } from "clsx";
27
- import { twMerge as ce } from "tailwind-merge";
28
- import { cva as fe } from "class-variance-authority";
29
- import { X as pe, AlertCircle as ue, Loader2 as me, CheckCircle2 as J } from "lucide-react";
30
- class I {
25
+ import ne, { memo as B, forwardRef as O } from "react";
26
+ import { clsx as ce } from "clsx";
27
+ import { twMerge as fe } from "tailwind-merge";
28
+ import { cva as pe } from "class-variance-authority";
29
+ import { X as ue, AlertCircle as me, Loader2 as be, CheckCircle2 as J } from "lucide-react";
30
+ class A {
31
31
  /**
32
32
  * Create a radius token
33
33
  */
@@ -83,18 +83,18 @@ class I {
83
83
  };
84
84
  }
85
85
  }
86
- const be = {
87
- none: I.create("none"),
88
- sm: I.create("sm"),
89
- md: I.create("md"),
90
- lg: I.create("lg"),
91
- xl: I.create("xl"),
92
- "2xl": I.create("2xl"),
93
- "3xl": I.create("3xl"),
94
- full: I.create("full")
86
+ const ge = {
87
+ none: A.create("none"),
88
+ sm: A.create("sm"),
89
+ md: A.create("md"),
90
+ lg: A.create("lg"),
91
+ xl: A.create("xl"),
92
+ "2xl": A.create("2xl"),
93
+ "3xl": A.create("3xl"),
94
+ full: A.create("full")
95
95
  };
96
96
  function M(r) {
97
- return be[r].tailwind;
97
+ return ge[r].tailwind;
98
98
  }
99
99
  class k {
100
100
  // 4px base
@@ -164,7 +164,7 @@ class k {
164
164
  }
165
165
  }
166
166
  Q(k, "BASE_UNIT", 4);
167
- const ge = {
167
+ const xe = {
168
168
  // Micro spacing (0-14px)
169
169
  none: k.create(0),
170
170
  "0.5": k.create(0.5),
@@ -202,7 +202,7 @@ const ge = {
202
202
  // 96px
203
203
  };
204
204
  function o(r, a = "p") {
205
- const t = ge[r].tailwind;
205
+ const t = xe[r].tailwind;
206
206
  return `${{
207
207
  p: "p",
208
208
  m: "m",
@@ -225,7 +225,7 @@ function o(r, a = "p") {
225
225
  "space-y": "space-y"
226
226
  }[a]}-${t}`;
227
227
  }
228
- class $ {
228
+ class N {
229
229
  /**
230
230
  * Create font size token
231
231
  */
@@ -295,23 +295,23 @@ class $ {
295
295
  };
296
296
  }
297
297
  }
298
- $.createFontWeight("light"), $.createFontWeight("normal"), $.createFontWeight("medium"), $.createFontWeight("semibold"), $.createFontWeight("bold");
298
+ N.createFontWeight("light"), N.createFontWeight("normal"), N.createFontWeight("medium"), N.createFontWeight("semibold"), N.createFontWeight("bold");
299
299
  const Y = {
300
300
  // Headings
301
- h1: $.create("4xl", "tight", "bold"),
302
- h2: $.create("3xl", "tight", "bold"),
303
- h3: $.create("2xl", "snug", "semibold"),
304
- h4: $.create("xl", "snug", "semibold"),
305
- h5: $.create("lg", "normal", "medium"),
306
- h6: $.create("base", "normal", "medium"),
301
+ h1: N.create("4xl", "tight", "bold"),
302
+ h2: N.create("3xl", "tight", "bold"),
303
+ h3: N.create("2xl", "snug", "semibold"),
304
+ h4: N.create("xl", "snug", "semibold"),
305
+ h5: N.create("lg", "normal", "medium"),
306
+ h6: N.create("base", "normal", "medium"),
307
307
  // Body text
308
- body: $.create("base", "relaxed", "normal"),
309
- bodySmall: $.create("sm", "relaxed", "normal"),
310
- bodyLarge: $.create("lg", "relaxed", "normal"),
308
+ body: N.create("base", "relaxed", "normal"),
309
+ bodySmall: N.create("sm", "relaxed", "normal"),
310
+ bodyLarge: N.create("lg", "relaxed", "normal"),
311
311
  // UI elements
312
- label: $.create("sm", "normal", "medium"),
313
- caption: $.create("xs", "normal", "normal"),
314
- button: $.create("base", "normal", "medium")
312
+ label: N.create("sm", "normal", "medium"),
313
+ caption: N.create("xs", "normal", "normal"),
314
+ button: N.create("base", "normal", "medium")
315
315
  };
316
316
  function D(r) {
317
317
  const a = Y[r];
@@ -320,25 +320,25 @@ function D(r) {
320
320
  function L(r) {
321
321
  return Y[r].fontSize.tailwind;
322
322
  }
323
- function B(r) {
323
+ function H(r) {
324
324
  return Y[r].fontWeight.tailwind;
325
325
  }
326
326
  function l(...r) {
327
- return ce(de(r));
327
+ return fe(ce(r));
328
328
  }
329
- const R = (r, a) => {
330
- const n = fe(r, a);
329
+ const j = (r, a) => {
330
+ const n = pe(r, a);
331
331
  return ((t) => {
332
332
  const i = n(t);
333
333
  return l(i);
334
334
  });
335
- }, xe = R(
335
+ }, ye = j(
336
336
  // Base classes
337
337
  l(
338
338
  "inline-flex",
339
339
  "items-center",
340
340
  "justify-center",
341
- B("label"),
341
+ H("label"),
342
342
  M("md"),
343
343
  "border"
344
344
  ),
@@ -470,8 +470,8 @@ const R = (r, a) => {
470
470
  style: "solid"
471
471
  }
472
472
  }
473
- ), ye = H(
474
- j(function(b, p) {
473
+ ), he = B(
474
+ O(function(b, p) {
475
475
  var u = b, {
476
476
  variant: a = "neutral",
477
477
  size: n = "md",
@@ -479,7 +479,7 @@ const R = (r, a) => {
479
479
  className: i = "",
480
480
  children: s,
481
481
  "aria-label": c
482
- } = u, f = h(u, [
482
+ } = u, f = y(u, [
483
483
  "variant",
484
484
  "size",
485
485
  "style",
@@ -487,15 +487,15 @@ const R = (r, a) => {
487
487
  "children",
488
488
  "aria-label"
489
489
  ]);
490
- const x = l(xe({ variant: a, size: n, style: t }), i);
490
+ const x = l(ye({ variant: a, size: n, style: t }), i);
491
491
  let g;
492
492
  if (c)
493
493
  g = c;
494
494
  else if (typeof s == "string")
495
495
  g = s;
496
496
  else if (typeof s == "object" && s !== null && "props" in s) {
497
- const y = s.props;
498
- y != null && y.children && typeof y.children == "string" && (g = y.children);
497
+ const h = s.props;
498
+ h != null && h.children && typeof h.children == "string" && (g = h.children);
499
499
  }
500
500
  return /* @__PURE__ */ d(
501
501
  "span",
@@ -510,13 +510,13 @@ const R = (r, a) => {
510
510
  );
511
511
  })
512
512
  );
513
- ye.displayName = "Badge";
513
+ he.displayName = "Badge";
514
514
  function ee(r, a) {
515
515
  if (typeof r == "function")
516
516
  return r(a);
517
517
  r != null && (r.current = a);
518
518
  }
519
- function he(...r) {
519
+ function we(...r) {
520
520
  return (a) => {
521
521
  let n = !1;
522
522
  const t = r.map((i) => {
@@ -532,19 +532,19 @@ function he(...r) {
532
532
  };
533
533
  };
534
534
  }
535
- var we = /* @__PURE__ */ Symbol.for("react.lazy"), U = S[" use ".trim().toString()];
536
- function ve(r) {
535
+ var ve = /* @__PURE__ */ Symbol.for("react.lazy"), U = S[" use ".trim().toString()];
536
+ function ke(r) {
537
537
  return typeof r == "object" && r !== null && "then" in r;
538
538
  }
539
- function ne(r) {
540
- return r != null && typeof r == "object" && "$$typeof" in r && r.$$typeof === we && "_payload" in r && ve(r._payload);
539
+ function ie(r) {
540
+ return r != null && typeof r == "object" && "$$typeof" in r && r.$$typeof === ve && "_payload" in r && ke(r._payload);
541
541
  }
542
542
  // @__NO_SIDE_EFFECTS__
543
- function ke(r) {
544
- const a = /* @__PURE__ */ Ne(r), n = S.forwardRef((t, i) => {
545
- let b = t, { children: s } = b, c = h(b, ["children"]);
546
- ne(s) && typeof U == "function" && (s = U(s._payload));
547
- const f = S.Children.toArray(s), p = f.find(Te);
543
+ function Ne(r) {
544
+ const a = /* @__PURE__ */ Se(r), n = S.forwardRef((t, i) => {
545
+ let b = t, { children: s } = b, c = y(b, ["children"]);
546
+ ie(s) && typeof U == "function" && (s = U(s._payload));
547
+ const f = S.Children.toArray(s), p = f.find(Ce);
548
548
  if (p) {
549
549
  const u = p.props.children, x = f.map((g) => g === p ? S.Children.count(u) > 1 ? S.Children.only(null) : S.isValidElement(u) ? u.props.children : null : g);
550
550
  return /* @__PURE__ */ d(a, v(m({}, c), { ref: i, children: S.isValidElement(u) ? S.cloneElement(u, void 0, x) : null }));
@@ -553,24 +553,24 @@ function ke(r) {
553
553
  });
554
554
  return n.displayName = `${r}.Slot`, n;
555
555
  }
556
- var $e = /* @__PURE__ */ ke("Slot");
556
+ var $e = /* @__PURE__ */ Ne("Slot");
557
557
  // @__NO_SIDE_EFFECTS__
558
- function Ne(r) {
558
+ function Se(r) {
559
559
  const a = S.forwardRef((n, t) => {
560
- let c = n, { children: i } = c, s = h(c, ["children"]);
561
- if (ne(i) && typeof U == "function" && (i = U(i._payload)), S.isValidElement(i)) {
562
- const f = Me(i), p = Ce(s, i.props);
563
- return i.type !== S.Fragment && (p.ref = t ? he(t, f) : f), S.cloneElement(i, p);
560
+ let c = n, { children: i } = c, s = y(c, ["children"]);
561
+ if (ie(i) && typeof U == "function" && (i = U(i._payload)), S.isValidElement(i)) {
562
+ const f = Le(i), p = Me(s, i.props);
563
+ return i.type !== S.Fragment && (p.ref = t ? we(t, f) : f), S.cloneElement(i, p);
564
564
  }
565
565
  return S.Children.count(i) > 1 ? S.Children.only(null) : null;
566
566
  });
567
567
  return a.displayName = `${r}.SlotClone`, a;
568
568
  }
569
- var Se = /* @__PURE__ */ Symbol("radix.slottable");
570
- function Te(r) {
571
- return S.isValidElement(r) && typeof r.type == "function" && "__radixId" in r.type && r.type.__radixId === Se;
569
+ var Te = /* @__PURE__ */ Symbol("radix.slottable");
570
+ function Ce(r) {
571
+ return S.isValidElement(r) && typeof r.type == "function" && "__radixId" in r.type && r.type.__radixId === Te;
572
572
  }
573
- function Ce(r, a) {
573
+ function Me(r, a) {
574
574
  const n = m({}, a);
575
575
  for (const t in a) {
576
576
  const i = r[t], s = a[t];
@@ -581,12 +581,12 @@ function Ce(r, a) {
581
581
  }
582
582
  return m(m({}, r), n);
583
583
  }
584
- function Me(r) {
584
+ function Le(r) {
585
585
  var t, i;
586
586
  let a = (t = Object.getOwnPropertyDescriptor(r.props, "ref")) == null ? void 0 : t.get, n = a && "isReactWarning" in a && a.isReactWarning;
587
587
  return n ? r.ref : (a = (i = Object.getOwnPropertyDescriptor(r, "ref")) == null ? void 0 : i.get, n = a && "isReactWarning" in a && a.isReactWarning, n ? r.props.ref : r.props.ref || r.ref);
588
588
  }
589
- const ae = R(
589
+ const ae = j(
590
590
  // Base classes
591
591
  l(
592
592
  "inline-flex",
@@ -675,7 +675,7 @@ const ae = R(
675
675
  disabled: !1
676
676
  }
677
677
  }
678
- ), Le = j(function(a, n) {
678
+ ), ze = O(function(a, n) {
679
679
  const {
680
680
  children: t,
681
681
  variant: i = "default",
@@ -686,7 +686,7 @@ const ae = R(
686
686
  "aria-label": b,
687
687
  tabIndex: u,
688
688
  asChild: x = !1
689
- } = a, y = (() => {
689
+ } = a, h = (() => {
690
690
  if (b) return b;
691
691
  if (typeof t == "string") return t;
692
692
  if (typeof t == "object" && t !== null && "props" in t) {
@@ -710,16 +710,16 @@ const ae = R(
710
710
  children: t
711
711
  }
712
712
  );
713
- const { onRemove: T, onClick: z } = a, q = z !== void 0, _ = q && !f, ie = (F) => {
713
+ const { onRemove: C, onClick: z } = a, q = z !== void 0, R = q && !f, se = (F) => {
714
714
  f || (F.key === "Enter" || F.key === " ") && (F.preventDefault(), z == null || z());
715
715
  };
716
- return /* @__PURE__ */ C(
716
+ return /* @__PURE__ */ T(
717
717
  "div",
718
718
  {
719
719
  ref: n,
720
720
  className: l(
721
721
  ae({ variant: i, size: s, selected: c, disabled: f }),
722
- T && o("xs", "pr"),
722
+ C && o("xs", "pr"),
723
723
  p
724
724
  ),
725
725
  "aria-disabled": f,
@@ -729,11 +729,11 @@ const ae = R(
729
729
  {
730
730
  type: "button",
731
731
  onClick: f ? void 0 : z,
732
- onKeyDown: ie,
732
+ onKeyDown: se,
733
733
  disabled: f,
734
734
  "aria-pressed": c ? !0 : void 0,
735
- "aria-label": b || y,
736
- tabIndex: u !== void 0 ? u : _ ? 0 : void 0,
735
+ "aria-label": b || h,
736
+ tabIndex: u !== void 0 ? u : R ? 0 : void 0,
737
737
  className: l(
738
738
  "flex-1",
739
739
  "bg-transparent",
@@ -751,12 +751,12 @@ const ae = R(
751
751
  children: t
752
752
  }
753
753
  ) : /* @__PURE__ */ d("span", { children: t }),
754
- T && !f && /* @__PURE__ */ d(
754
+ C && !f && /* @__PURE__ */ d(
755
755
  "button",
756
756
  {
757
757
  type: "button",
758
758
  onClick: (F) => {
759
- F.stopPropagation(), T();
759
+ F.stopPropagation(), C();
760
760
  },
761
761
  className: l(
762
762
  o("xs", "ml"),
@@ -769,21 +769,21 @@ const ae = R(
769
769
  "focus:ring-line-focus",
770
770
  "focus:ring-offset-1"
771
771
  ),
772
- "aria-label": `Remove ${y || "chip"}`,
773
- children: /* @__PURE__ */ d(pe, { className: "h-3 w-3", "aria-hidden": "true" })
772
+ "aria-label": `Remove ${h || "chip"}`,
773
+ children: /* @__PURE__ */ d(ue, { className: "h-3 w-3", "aria-hidden": "true" })
774
774
  }
775
775
  )
776
776
  ]
777
777
  }
778
778
  );
779
779
  });
780
- Le.displayName = "Chip";
781
- function ia(i) {
780
+ ze.displayName = "Chip";
781
+ function la(i) {
782
782
  var s = i, {
783
783
  message: r,
784
784
  id: a,
785
785
  className: n = ""
786
- } = s, t = h(s, [
786
+ } = s, t = y(s, [
787
787
  "message",
788
788
  "id",
789
789
  "className"
@@ -796,16 +796,16 @@ function ia(i) {
796
796
  "items-center",
797
797
  o("xs", "gap")
798
798
  ], f = l(...c, n);
799
- return /* @__PURE__ */ C("div", v(m({ role: "alert", id: a, className: f, "aria-live": "polite" }, t), { children: [
800
- /* @__PURE__ */ d(ue, { className: "h-4 w-4 shrink-0", "aria-hidden": "true" }),
799
+ return /* @__PURE__ */ T("div", v(m({ role: "alert", id: a, className: f, "aria-live": "polite" }, t), { children: [
800
+ /* @__PURE__ */ d(me, { className: "h-4 w-4 shrink-0", "aria-hidden": "true" }),
801
801
  /* @__PURE__ */ d("span", { children: r })
802
802
  ] }));
803
803
  }
804
- function sa(t) {
804
+ function oa(t) {
805
805
  var i = t, {
806
806
  variant: r = "info",
807
807
  className: a
808
- } = i, n = h(i, [
808
+ } = i, n = y(i, [
809
809
  "variant",
810
810
  "className"
811
811
  ]);
@@ -829,12 +829,12 @@ function sa(t) {
829
829
  }, n)
830
830
  );
831
831
  }
832
- const ze = l(
832
+ const Fe = l(
833
833
  "block",
834
834
  L("label"),
835
- B("label"),
835
+ H("label"),
836
836
  "text-fg-primary"
837
- ), Fe = {
837
+ ), Ee = {
838
838
  default: "",
839
839
  required: l(
840
840
  "after:content-['*']",
@@ -847,20 +847,20 @@ const ze = l(
847
847
  "after:text-fg-tertiary",
848
848
  "after:font-normal"
849
849
  )
850
- }, Ae = H(
851
- j(function(c, s) {
852
- var f = c, { variant: a = "default", className: n = "", children: t } = f, i = h(f, ["variant", "className", "children"]);
850
+ }, Ie = B(
851
+ O(function(c, s) {
852
+ var f = c, { variant: a = "default", className: n = "", children: t } = f, i = y(f, ["variant", "className", "children"]);
853
853
  const p = l(
854
- ze,
855
- Fe[a],
854
+ Fe,
855
+ Ee[a],
856
856
  n
857
857
  );
858
858
  return /* @__PURE__ */ d("label", v(m({ ref: s, className: p }, i), { children: t }));
859
859
  })
860
860
  );
861
- Ae.displayName = "Label";
861
+ Ie.displayName = "Label";
862
862
  function w(r, a, n) {
863
- const t = Ee(r), i = Ie(r);
863
+ const t = Ae(r), i = We(r);
864
864
  return {
865
865
  hex: r,
866
866
  rgb: t,
@@ -869,11 +869,11 @@ function w(r, a, n) {
869
869
  tailwind: `${a}-${n}`
870
870
  };
871
871
  }
872
- function Ee(r) {
872
+ function Ae(r) {
873
873
  const a = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(r);
874
874
  return a ? `${parseInt(a[1], 16)}, ${parseInt(a[2], 16)}, ${parseInt(a[3], 16)}` : "0, 0, 0";
875
875
  }
876
- function Ie(r) {
876
+ function We(r) {
877
877
  const a = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(r);
878
878
  if (!a) return "0, 0%, 0%";
879
879
  const n = parseInt(a[1], 16) / 255, t = parseInt(a[2], 16) / 255, i = parseInt(a[3], 16) / 255, s = Math.max(n, t, i), c = Math.min(n, t, i);
@@ -898,7 +898,7 @@ function Ie(r) {
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
900
  function e(r, a, n) {
901
- const t = We(r), i = De(r);
901
+ const t = De(r), i = Ve(r);
902
902
  return {
903
903
  hex: r,
904
904
  rgb: t,
@@ -907,11 +907,11 @@ function e(r, a, n) {
907
907
  tailwind: `${a}-${n}`
908
908
  };
909
909
  }
910
- function We(r) {
910
+ function De(r) {
911
911
  const a = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(r);
912
912
  return a ? `${parseInt(a[1], 16)}, ${parseInt(a[2], 16)}, ${parseInt(a[3], 16)}` : "0, 0, 0";
913
913
  }
914
- function De(r) {
914
+ function Ve(r) {
915
915
  const a = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(r);
916
916
  if (!a) return "0, 0%, 0%";
917
917
  const n = parseInt(a[1], 16) / 255, t = parseInt(a[2], 16) / 255, i = parseInt(a[3], 16) / 255, s = Math.max(n, t, i), c = Math.min(n, t, i);
@@ -996,7 +996,7 @@ class V {
996
996
  }[a];
997
997
  }
998
998
  }
999
- const Ve = {
999
+ const je = {
1000
1000
  none: V.create("none"),
1001
1001
  sm: V.create("sm"),
1002
1002
  md: V.create("md"),
@@ -1006,9 +1006,9 @@ const Ve = {
1006
1006
  inner: V.create("inner")
1007
1007
  };
1008
1008
  function X(r) {
1009
- return Ve[r].tailwind;
1009
+ return je[r].tailwind;
1010
1010
  }
1011
- class A {
1011
+ class E {
1012
1012
  /**
1013
1013
  * Create a border width token
1014
1014
  */
@@ -1052,8 +1052,8 @@ class A {
1052
1052
  };
1053
1053
  }
1054
1054
  }
1055
- A.create("none"), A.create("thin"), A.create("base"), A.create("medium"), A.create("thick"), A.create("thin", "dashed"), A.create("base", "dashed"), A.create("thin", "dotted"), A.create("base", "dotted");
1056
- class O {
1055
+ E.create("none"), E.create("thin"), E.create("base"), E.create("medium"), E.create("thick"), E.create("thin", "dashed"), E.create("base", "dashed"), E.create("thin", "dotted"), E.create("base", "dotted");
1056
+ class _ {
1057
1057
  /**
1058
1058
  * Create breakpoint token
1059
1059
  */
@@ -1074,7 +1074,7 @@ class O {
1074
1074
  };
1075
1075
  }
1076
1076
  }
1077
- O.create("sm"), O.create("md"), O.create("lg"), O.create("xl"), O.create("2xl");
1077
+ _.create("sm"), _.create("md"), _.create("lg"), _.create("xl"), _.create("2xl");
1078
1078
  class W {
1079
1079
  /**
1080
1080
  * Create an animation token
@@ -1148,7 +1148,7 @@ W.create("fast"), W.create("base"), W.create("slow"), W.create("slower"), W.crea
1148
1148
  ["color", "background-color", "border-color"],
1149
1149
  "base"
1150
1150
  ), W.createTransition("opacity", "fast"), W.createTransition("transform", "base"), W.createTransition("all", "base");
1151
- class E {
1151
+ class I {
1152
1152
  /**
1153
1153
  * Create a z-index token
1154
1154
  */
@@ -1202,8 +1202,8 @@ class E {
1202
1202
  }[a];
1203
1203
  }
1204
1204
  }
1205
- E.create("base"), E.create("dropdown"), E.create("sticky"), E.create("fixed"), E.create("modal-backdrop"), E.create("modal"), E.create("popover"), E.create("tooltip"), E.create("toast");
1206
- class N {
1205
+ I.create("base"), I.create("dropdown"), I.create("sticky"), I.create("fixed"), I.create("modal-backdrop"), I.create("modal"), I.create("popover"), I.create("tooltip"), I.create("toast");
1206
+ class $ {
1207
1207
  /**
1208
1208
  * Create an opacity token
1209
1209
  */
@@ -1249,8 +1249,8 @@ class N {
1249
1249
  };
1250
1250
  }
1251
1251
  }
1252
- N.create(0), N.create(5), N.create(10), N.create(20), N.create(25), N.create(30), N.create(40), N.create(50), N.create(60), N.create(70), N.create(75), N.create(80), N.create(90), N.create(95), N.create(100);
1253
- const je = R("w-full", {
1252
+ $.create(0), $.create(5), $.create(10), $.create(20), $.create(25), $.create(30), $.create(40), $.create(50), $.create(60), $.create(70), $.create(75), $.create(80), $.create(90), $.create(95), $.create(100);
1253
+ const Re = j("w-full", {
1254
1254
  variants: {
1255
1255
  size: {
1256
1256
  sm: "h-1",
@@ -1270,7 +1270,7 @@ const je = R("w-full", {
1270
1270
  size: "md",
1271
1271
  variant: "primary"
1272
1272
  }
1273
- }), te = R("transition-all", {
1273
+ }), te = j("transition-all", {
1274
1274
  variants: {
1275
1275
  variant: {
1276
1276
  primary: "bg-surface-brand",
@@ -1284,7 +1284,7 @@ const je = R("w-full", {
1284
1284
  defaultVariants: {
1285
1285
  variant: "primary"
1286
1286
  }
1287
- }), Re = j(function(x, u) {
1287
+ }), _e = O(function(x, u) {
1288
1288
  var g = x, {
1289
1289
  value: a,
1290
1290
  max: n = 100,
@@ -1294,7 +1294,7 @@ const je = R("w-full", {
1294
1294
  label: c,
1295
1295
  "aria-label": f,
1296
1296
  className: p = ""
1297
- } = g, b = h(g, [
1297
+ } = g, b = y(g, [
1298
1298
  "value",
1299
1299
  "max",
1300
1300
  "variant",
@@ -1304,9 +1304,9 @@ const je = R("w-full", {
1304
1304
  "aria-label",
1305
1305
  "className"
1306
1306
  ]);
1307
- const y = a === void 0, T = y ? void 0 : Math.min(Math.max(a / n * 100, 0), 100), z = f || (y ? "Loading in progress" : `Progress: ${T == null ? void 0 : T.toFixed(0)}%`);
1308
- return /* @__PURE__ */ C("div", v(m({ ref: u, className: l("w-full", p) }, b), { children: [
1309
- s && (c || !y) && /* @__PURE__ */ C(
1307
+ const h = a === void 0, C = h ? void 0 : Math.min(Math.max(a / n * 100, 0), 100), z = f || (h ? "Loading in progress" : `Progress: ${C == null ? void 0 : C.toFixed(0)}%`);
1308
+ return /* @__PURE__ */ T("div", v(m({ ref: u, className: l("w-full", p) }, b), { children: [
1309
+ s && (c || !h) && /* @__PURE__ */ T(
1310
1310
  "div",
1311
1311
  {
1312
1312
  className: l(
@@ -1321,13 +1321,13 @@ const je = R("w-full", {
1321
1321
  {
1322
1322
  className: l(
1323
1323
  L("bodySmall"),
1324
- B("label"),
1324
+ H("label"),
1325
1325
  "text-fg-primary"
1326
1326
  ),
1327
1327
  children: c
1328
1328
  }
1329
1329
  ),
1330
- !y && T !== void 0 && /* @__PURE__ */ C(
1330
+ !h && C !== void 0 && /* @__PURE__ */ T(
1331
1331
  "span",
1332
1332
  {
1333
1333
  className: l(
@@ -1335,7 +1335,7 @@ const je = R("w-full", {
1335
1335
  "text-fg-secondary"
1336
1336
  ),
1337
1337
  children: [
1338
- T.toFixed(0),
1338
+ C.toFixed(0),
1339
1339
  "%"
1340
1340
  ]
1341
1341
  }
@@ -1347,19 +1347,19 @@ const je = R("w-full", {
1347
1347
  "div",
1348
1348
  {
1349
1349
  role: "progressbar",
1350
- "aria-valuemin": y ? void 0 : 0,
1351
- "aria-valuemax": y ? void 0 : n,
1352
- "aria-valuenow": y ? void 0 : a,
1350
+ "aria-valuemin": h ? void 0 : 0,
1351
+ "aria-valuemax": h ? void 0 : n,
1352
+ "aria-valuenow": h ? void 0 : a,
1353
1353
  "aria-label": z,
1354
- "aria-busy": y,
1354
+ "aria-busy": h,
1355
1355
  className: l(
1356
1356
  "relative",
1357
1357
  "w-full",
1358
1358
  "overflow-hidden",
1359
- je({ size: i, variant: t }),
1359
+ Re({ size: i, variant: t }),
1360
1360
  M("full")
1361
1361
  ),
1362
- children: y ? /* @__PURE__ */ d(
1362
+ children: h ? /* @__PURE__ */ d(
1363
1363
  "div",
1364
1364
  {
1365
1365
  className: l(
@@ -1388,7 +1388,7 @@ const je = R("w-full", {
1388
1388
  "ease-out"
1389
1389
  ),
1390
1390
  style: {
1391
- width: `${T}%`
1391
+ width: `${C}%`
1392
1392
  },
1393
1393
  "aria-hidden": "true"
1394
1394
  }
@@ -1397,20 +1397,20 @@ const je = R("w-full", {
1397
1397
  )
1398
1398
  ] }));
1399
1399
  });
1400
- Re.displayName = "Progress";
1401
- const _e = {
1400
+ _e.displayName = "Progress";
1401
+ const He = {
1402
1402
  horizontal: "w-full border-t",
1403
1403
  vertical: "h-full border-l self-stretch"
1404
- }, Oe = {
1404
+ }, Be = {
1405
1405
  solid: "border-solid",
1406
1406
  dashed: "border-dashed",
1407
1407
  dotted: "border-dotted"
1408
- }, Be = H(function(s) {
1408
+ }, Oe = B(function(s) {
1409
1409
  var c = s, {
1410
1410
  orientation: a = "horizontal",
1411
1411
  variant: n = "solid",
1412
1412
  className: t = ""
1413
- } = c, i = h(c, [
1413
+ } = c, i = y(c, [
1414
1414
  "orientation",
1415
1415
  "variant",
1416
1416
  "className"
@@ -1418,8 +1418,8 @@ const _e = {
1418
1418
  const f = l(
1419
1419
  "border-0",
1420
1420
  "border-line-default",
1421
- _e[a],
1422
- Oe[n],
1421
+ He[a],
1422
+ Be[n],
1423
1423
  t
1424
1424
  );
1425
1425
  return a === "vertical" ? /* @__PURE__ */ d(
@@ -1438,8 +1438,8 @@ const _e = {
1438
1438
  }, i)
1439
1439
  );
1440
1440
  });
1441
- Be.displayName = "Separator";
1442
- function la(f) {
1441
+ Oe.displayName = "Separator";
1442
+ function da(f) {
1443
1443
  var p = f, {
1444
1444
  variant: r = "text",
1445
1445
  width: a,
@@ -1447,7 +1447,7 @@ function la(f) {
1447
1447
  lines: t = 1,
1448
1448
  className: i = "",
1449
1449
  "aria-label": s
1450
- } = p, c = h(p, [
1450
+ } = p, c = y(p, [
1451
1451
  "variant",
1452
1452
  "width",
1453
1453
  "height",
@@ -1466,16 +1466,16 @@ function la(f) {
1466
1466
  circle: M("full")
1467
1467
  }, x = l(...b, u[r], i), g = {};
1468
1468
  a && (g.width = a), n && (g.height = n);
1469
- const y = s || `Loading ${r} content`;
1469
+ const h = s || `Loading ${r} content`;
1470
1470
  return r === "text" && t > 1 ? /* @__PURE__ */ d(
1471
1471
  "div",
1472
1472
  v(m({
1473
1473
  className: o("sm", "space-y"),
1474
1474
  role: "status",
1475
1475
  "aria-busy": "true",
1476
- "aria-label": y
1476
+ "aria-label": h
1477
1477
  }, c), {
1478
- children: Array.from({ length: t }).map((T, z) => /* @__PURE__ */ d(
1478
+ children: Array.from({ length: t }).map((C, z) => /* @__PURE__ */ d(
1479
1479
  "div",
1480
1480
  {
1481
1481
  className: x,
@@ -1492,11 +1492,11 @@ function la(f) {
1492
1492
  style: g,
1493
1493
  role: "status",
1494
1494
  "aria-busy": "true",
1495
- "aria-label": y
1495
+ "aria-label": h
1496
1496
  }, c)
1497
1497
  );
1498
1498
  }
1499
- const He = R("motion-safe:animate-spin", {
1499
+ const Pe = j("motion-safe:animate-spin", {
1500
1500
  variants: {
1501
1501
  size: {
1502
1502
  sm: "h-4 w-4",
@@ -1513,19 +1513,19 @@ const He = R("motion-safe:animate-spin", {
1513
1513
  size: "md",
1514
1514
  variant: "primary"
1515
1515
  }
1516
- }), Pe = H(function(c) {
1516
+ }), Ue = B(function(c) {
1517
1517
  var f = c, {
1518
1518
  size: a = "md",
1519
1519
  variant: n = "primary",
1520
1520
  label: t,
1521
1521
  className: i = ""
1522
- } = f, s = h(f, [
1522
+ } = f, s = y(f, [
1523
1523
  "size",
1524
1524
  "variant",
1525
1525
  "label",
1526
1526
  "className"
1527
1527
  ]);
1528
- return /* @__PURE__ */ C(
1528
+ return /* @__PURE__ */ T(
1529
1529
  "div",
1530
1530
  v(m({
1531
1531
  className: l("inline-flex", "items-center", i),
@@ -1535,9 +1535,9 @@ const He = R("motion-safe:animate-spin", {
1535
1535
  }, s), {
1536
1536
  children: [
1537
1537
  /* @__PURE__ */ d(
1538
- me,
1538
+ be,
1539
1539
  {
1540
- className: l(He({ size: a, variant: n })),
1540
+ className: l(Pe({ size: a, variant: n })),
1541
1541
  "aria-hidden": "true"
1542
1542
  }
1543
1543
  ),
@@ -1557,8 +1557,8 @@ const He = R("motion-safe:animate-spin", {
1557
1557
  })
1558
1558
  );
1559
1559
  });
1560
- Pe.displayName = "Spinner";
1561
- const Ue = {
1560
+ Ue.displayName = "Spinner";
1561
+ const qe = {
1562
1562
  primary: {
1563
1563
  // exception: variant color — no semantic equivalent (Principle 3, .claude/rules/colors.md)
1564
1564
  light: "text-indigo-400",
@@ -1610,7 +1610,7 @@ const Ue = {
1610
1610
  contrast: "text-fg-inverse"
1611
1611
  }
1612
1612
  };
1613
- function qe(b, p) {
1613
+ function Ke(b, p) {
1614
1614
  var u = b, {
1615
1615
  variant: r = "paragraph",
1616
1616
  bold: a,
@@ -1619,7 +1619,7 @@ function qe(b, p) {
1619
1619
  as: i,
1620
1620
  colorRole: s = "neutral",
1621
1621
  colorShade: c = "dark"
1622
- } = u, f = h(u, [
1622
+ } = u, f = y(u, [
1623
1623
  "variant",
1624
1624
  "bold",
1625
1625
  "italic",
@@ -1644,16 +1644,16 @@ function qe(b, p) {
1644
1644
  g = "p";
1645
1645
  break;
1646
1646
  }
1647
- return r === "heading" ? x.push(D("h2")) : r === "body" || r === "paragraph" ? x.push(D("body")) : r === "bodySmall" ? x.push(D("bodySmall")) : r === "bodyLarge" ? x.push(D("bodyLarge")) : r === "caption" ? x.push(D("caption")) : r === "label" ? x.push(D("label")) : x.push(D("body")), a && x.push("font-bold"), n && x.push("italic"), x.push(Ue[s][c]), /* @__PURE__ */ d(g, m({ ref: p, className: l(...x, t) }, f));
1647
+ return r === "heading" ? x.push(D("h2")) : r === "body" || r === "paragraph" ? x.push(D("body")) : r === "bodySmall" ? x.push(D("bodySmall")) : r === "bodyLarge" ? x.push(D("bodyLarge")) : r === "caption" ? x.push(D("caption")) : r === "label" ? x.push(D("label")) : x.push(D("body")), a && x.push("font-bold"), n && x.push("italic"), x.push(qe[s][c]), /* @__PURE__ */ d(g, m({ ref: p, className: l(...x, t) }, f));
1648
1648
  }
1649
- const oa = j(qe), Ke = {
1649
+ const re = O(Ke), Xe = {
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
- }, Xe = re.forwardRef(
1656
+ }, Ye = ne.forwardRef(
1657
1657
  (p, f) => {
1658
1658
  var b = p, {
1659
1659
  className: r,
@@ -1662,7 +1662,7 @@ const oa = j(qe), Ke = {
1662
1662
  paddingY: t = "base",
1663
1663
  center: i = !0,
1664
1664
  children: s
1665
- } = b, c = h(b, [
1665
+ } = b, c = y(b, [
1666
1666
  "className",
1667
1667
  "maxWidth",
1668
1668
  "paddingX",
@@ -1676,7 +1676,7 @@ const oa = j(qe), Ke = {
1676
1676
  ref: f,
1677
1677
  className: l(
1678
1678
  "w-full",
1679
- Ke[a],
1679
+ Xe[a],
1680
1680
  o(n, "px"),
1681
1681
  o(t, "py"),
1682
1682
  i && "mx-auto",
@@ -1688,8 +1688,8 @@ const oa = j(qe), Ke = {
1688
1688
  );
1689
1689
  }
1690
1690
  );
1691
- Xe.displayName = "Container";
1692
- const Ye = re.forwardRef(
1691
+ Ye.displayName = "Container";
1692
+ const Ze = ne.forwardRef(
1693
1693
  (p, f) => {
1694
1694
  var b = p, {
1695
1695
  className: r,
@@ -1698,7 +1698,7 @@ const Ye = re.forwardRef(
1698
1698
  justify: t = "start",
1699
1699
  direction: i = "column",
1700
1700
  children: s
1701
- } = b, c = h(b, [
1701
+ } = b, c = y(b, [
1702
1702
  "className",
1703
1703
  "spacing",
1704
1704
  "align",
@@ -1737,47 +1737,13 @@ const Ye = re.forwardRef(
1737
1737
  );
1738
1738
  }
1739
1739
  );
1740
- Ye.displayName = "Stack";
1741
- const Ze = j(
1742
- function({ option: a, isHighlighted: n, onSelect: t }, i) {
1743
- const s = () => {
1744
- a.disabled || t(a);
1745
- };
1746
- return /* @__PURE__ */ C(
1747
- "div",
1748
- {
1749
- ref: i,
1750
- role: "option",
1751
- "aria-selected": n,
1752
- "aria-disabled": a.disabled,
1753
- onClick: s,
1754
- className: `
1755
- flex
1756
- items-center
1757
- ${o("sm", "gap")}
1758
- ${o("sm", "px")}
1759
- ${o("sm", "py")}
1760
- text-sm
1761
- cursor-pointer
1762
- transition-colors
1763
- ${n ? "bg-surface-active" : ""}
1764
- ${a.disabled ? "opacity-50 cursor-not-allowed" : "hover:bg-surface-hover"}
1765
- `,
1766
- children: [
1767
- a.icon && /* @__PURE__ */ d("span", { className: "flex-shrink-0", children: a.icon }),
1768
- /* @__PURE__ */ d("span", { className: "flex-1", children: a.label })
1769
- ]
1770
- }
1771
- );
1772
- }
1773
- );
1774
- Ze.displayName = "AutocompleteOption";
1775
- function da(i) {
1740
+ Ze.displayName = "Stack";
1741
+ function Ge(i) {
1776
1742
  var s = i, {
1777
1743
  items: r,
1778
1744
  separator: a = "/",
1779
1745
  className: n = ""
1780
- } = s, t = h(s, [
1746
+ } = s, t = y(s, [
1781
1747
  "items",
1782
1748
  "separator",
1783
1749
  "className"
@@ -1794,7 +1760,7 @@ function da(i) {
1794
1760
  className: l("flex", "items-center", o("sm", "space-x")),
1795
1761
  children: r.map((p, b) => {
1796
1762
  const u = b === r.length - 1;
1797
- return /* @__PURE__ */ C("li", { className: "flex items-center", children: [
1763
+ return /* @__PURE__ */ T("li", { className: "flex items-center", children: [
1798
1764
  b > 0 && /* @__PURE__ */ d(
1799
1765
  "span",
1800
1766
  {
@@ -1811,7 +1777,7 @@ function da(i) {
1811
1777
  {
1812
1778
  className: l(
1813
1779
  "text-fg-primary",
1814
- B("label")
1780
+ H("label")
1815
1781
  ),
1816
1782
  "aria-current": "page",
1817
1783
  children: p.label
@@ -1828,7 +1794,7 @@ function da(i) {
1828
1794
  "border-b-2",
1829
1795
  "border-transparent",
1830
1796
  L("bodySmall"),
1831
- B("label"),
1797
+ H("label"),
1832
1798
  "transition-colors",
1833
1799
  "text-fg-secondary",
1834
1800
  "hover:border-line-emphasis",
@@ -1842,7 +1808,7 @@ function da(i) {
1842
1808
  }
1843
1809
  ) }));
1844
1810
  }
1845
- const Ge = H(function(b) {
1811
+ const Qe = B(function(b) {
1846
1812
  var u = b, {
1847
1813
  variant: a = "default",
1848
1814
  padding: n = "medium",
@@ -1851,7 +1817,7 @@ const Ge = H(function(b) {
1851
1817
  "aria-label": s,
1852
1818
  "aria-labelledby": c,
1853
1819
  children: f
1854
- } = u, p = h(u, [
1820
+ } = u, p = y(u, [
1855
1821
  "variant",
1856
1822
  "padding",
1857
1823
  "className",
@@ -1860,7 +1826,7 @@ const Ge = H(function(b) {
1860
1826
  "aria-labelledby",
1861
1827
  "children"
1862
1828
  ]);
1863
- const x = R(
1829
+ const x = j(
1864
1830
  l(
1865
1831
  "bg-surface-base",
1866
1832
  M("lg"),
@@ -1891,17 +1857,17 @@ const Ge = H(function(b) {
1891
1857
  padding: "medium"
1892
1858
  }
1893
1859
  }
1894
- ), g = i !== void 0, y = g ? "button" : void 0, T = g ? 0 : void 0, z = l(x({ variant: a, padding: n }), t);
1860
+ ), g = i !== void 0, h = g ? "button" : void 0, C = g ? 0 : void 0, z = l(x({ variant: a, padding: n }), t);
1895
1861
  return /* @__PURE__ */ d(
1896
1862
  "div",
1897
1863
  v(m({
1898
1864
  className: z,
1899
- role: y,
1900
- tabIndex: T,
1865
+ role: h,
1866
+ tabIndex: C,
1901
1867
  onClick: i,
1902
- onKeyDown: (_) => {
1903
- g && (_.key === "Enter" || _.key === " ") && (_.preventDefault(), i == null || i());
1904
- },
1868
+ onKeyDown: g ? (R) => {
1869
+ g && (R.key === "Enter" || R.key === " ") && (R.preventDefault(), i == null || i());
1870
+ } : void 0,
1905
1871
  "aria-label": s,
1906
1872
  "aria-labelledby": c
1907
1873
  }, p), {
@@ -1909,12 +1875,12 @@ const Ge = H(function(b) {
1909
1875
  })
1910
1876
  );
1911
1877
  });
1912
- Ge.displayName = "Card";
1878
+ Qe.displayName = "Card";
1913
1879
  function ca(t) {
1914
1880
  var i = t, {
1915
1881
  children: r,
1916
1882
  className: a = ""
1917
- } = i, n = h(i, [
1883
+ } = i, n = y(i, [
1918
1884
  "children",
1919
1885
  "className"
1920
1886
  ]);
@@ -1931,7 +1897,7 @@ function fa(t) {
1931
1897
  var i = t, {
1932
1898
  children: r,
1933
1899
  className: a = ""
1934
- } = i, n = h(i, [
1900
+ } = i, n = y(i, [
1935
1901
  "children",
1936
1902
  "className"
1937
1903
  ]);
@@ -1948,7 +1914,7 @@ function pa(t) {
1948
1914
  var i = t, {
1949
1915
  children: r,
1950
1916
  className: a = ""
1951
- } = i, n = h(i, [
1917
+ } = i, n = y(i, [
1952
1918
  "children",
1953
1919
  "className"
1954
1920
  ]);
@@ -1970,7 +1936,7 @@ function ua(t) {
1970
1936
  var i = t, {
1971
1937
  children: r,
1972
1938
  className: a = ""
1973
- } = i, n = h(i, [
1939
+ } = i, n = y(i, [
1974
1940
  "children",
1975
1941
  "className"
1976
1942
  ]);
@@ -2026,7 +1992,7 @@ function ba({
2026
1992
  function ga(n) {
2027
1993
  var t = n, {
2028
1994
  className: r = ""
2029
- } = t, a = h(t, [
1995
+ } = t, a = y(t, [
2030
1996
  "className"
2031
1997
  ]);
2032
1998
  return /* @__PURE__ */ d(
@@ -2046,7 +2012,7 @@ function xa(t) {
2046
2012
  var i = t, {
2047
2013
  orientation: r = "horizontal",
2048
2014
  className: a = ""
2049
- } = i, n = h(i, [
2015
+ } = i, n = y(i, [
2050
2016
  "orientation",
2051
2017
  "className"
2052
2018
  ]);
@@ -2080,8 +2046,70 @@ function xa(t) {
2080
2046
  }, n)
2081
2047
  );
2082
2048
  }
2083
- function ya(i) {
2084
- var s = i, { column: r, row: a, className: n = "" } = s, t = h(s, ["column", "row", "className"]);
2049
+ const Je = j(
2050
+ // Base classes
2051
+ l("w-full", "flex", "flex-col", o("sm", "gap")),
2052
+ {
2053
+ variants: {
2054
+ variant: {
2055
+ default: l(o("base", "mb")),
2056
+ compact: l(o("sm", "mb"))
2057
+ }
2058
+ },
2059
+ defaultVariants: {
2060
+ variant: "default"
2061
+ }
2062
+ }
2063
+ );
2064
+ function ya(f) {
2065
+ var p = f, {
2066
+ title: r,
2067
+ description: a,
2068
+ breadcrumb: n,
2069
+ actions: t,
2070
+ variant: i = "default",
2071
+ className: s
2072
+ } = p, c = y(p, [
2073
+ "title",
2074
+ "description",
2075
+ "breadcrumb",
2076
+ "actions",
2077
+ "variant",
2078
+ "className"
2079
+ ]);
2080
+ return /* @__PURE__ */ T("div", v(m({ className: l(Je({ variant: i }), s) }, c), { children: [
2081
+ n && n.length > 0 && /* @__PURE__ */ d(Ge, { items: n }),
2082
+ /* @__PURE__ */ T(
2083
+ "div",
2084
+ {
2085
+ className: `flex items-start justify-between ${o("base", "gap")}`,
2086
+ children: [
2087
+ /* @__PURE__ */ T("div", { className: "flex-1 min-w-0", children: [
2088
+ /* @__PURE__ */ d(
2089
+ re,
2090
+ {
2091
+ variant: "heading",
2092
+ as: "h1",
2093
+ className: `${o("sm", "mb")} text-2xl font-bold`,
2094
+ children: r
2095
+ }
2096
+ ),
2097
+ a && /* @__PURE__ */ d(re, { variant: "body", className: "text-fg-secondary", children: a })
2098
+ ] }),
2099
+ t && /* @__PURE__ */ d(
2100
+ "div",
2101
+ {
2102
+ className: `flex items-center ${o("sm", "gap")} flex-shrink-0`,
2103
+ children: t
2104
+ }
2105
+ )
2106
+ ]
2107
+ }
2108
+ )
2109
+ ] }));
2110
+ }
2111
+ function ha(i) {
2112
+ var s = i, { column: r, row: a, className: n = "" } = s, t = y(s, ["column", "row", "className"]);
2085
2113
  const c = r.key in a ? a[r.key] : void 0;
2086
2114
  return /* @__PURE__ */ d(
2087
2115
  "td",
@@ -2092,14 +2120,14 @@ function ya(i) {
2092
2120
  })
2093
2121
  );
2094
2122
  }
2095
- function ha({
2123
+ function wa({
2096
2124
  items: r,
2097
2125
  orientation: a = "vertical",
2098
2126
  className: n = ""
2099
2127
  }) {
2100
2128
  return a === "horizontal" ? /* @__PURE__ */ d("div", { className: `flex items-start ${n}`, children: r.map((t, i) => {
2101
2129
  const s = t.status || (i === 0 ? "active" : i < r.findIndex((f) => f.status === "active") ? "completed" : "default"), c = i === r.length - 1;
2102
- return /* @__PURE__ */ d("div", { className: "flex items-start flex-1", children: /* @__PURE__ */ C("div", { className: "flex flex-col items-center flex-1", children: [
2130
+ return /* @__PURE__ */ d("div", { className: "flex items-start flex-1", children: /* @__PURE__ */ T("div", { className: "flex flex-col items-center flex-1", children: [
2103
2131
  /* @__PURE__ */ d(
2104
2132
  "div",
2105
2133
  v(m({}, s === "default" ? { "data-marker": "pending" } : {}), {
@@ -2127,7 +2155,7 @@ function ha({
2127
2155
  `
2128
2156
  }
2129
2157
  ),
2130
- /* @__PURE__ */ C(
2158
+ /* @__PURE__ */ T(
2131
2159
  "div",
2132
2160
  {
2133
2161
  className: `${o("base", "mt")} text-center ${o("base", "px")}`,
@@ -2154,12 +2182,12 @@ function ha({
2154
2182
  ] }) }, t.id);
2155
2183
  }) }) : /* @__PURE__ */ d("div", { className: `${o("none", "space-y")} ${n}`, children: r.map((t, i) => {
2156
2184
  const s = t.status || (i === 0 ? "active" : i < r.findIndex((f) => f.status === "active") ? "completed" : "default"), c = i === r.length - 1;
2157
- return /* @__PURE__ */ C(
2185
+ return /* @__PURE__ */ T(
2158
2186
  "div",
2159
2187
  {
2160
2188
  className: `flex items-start ${o("base", "gap")}`,
2161
2189
  children: [
2162
- /* @__PURE__ */ C("div", { className: "flex flex-col items-center", children: [
2190
+ /* @__PURE__ */ T("div", { className: "flex flex-col items-center", children: [
2163
2191
  /* @__PURE__ */ d(
2164
2192
  "div",
2165
2193
  v(m({}, s === "default" ? { "data-marker": "pending" } : {}), {
@@ -2189,7 +2217,7 @@ function ha({
2189
2217
  }
2190
2218
  )
2191
2219
  ] }),
2192
- /* @__PURE__ */ C("div", { className: `flex-1 ${o("xl", "pb")}`, children: [
2220
+ /* @__PURE__ */ T("div", { className: `flex-1 ${o("xl", "pb")}`, children: [
2193
2221
  t.timestamp && /* @__PURE__ */ d(
2194
2222
  "p",
2195
2223
  {
@@ -2224,30 +2252,30 @@ function ha({
2224
2252
  }) });
2225
2253
  }
2226
2254
  export {
2227
- Ze as AutocompleteOption,
2228
- ye as Badge,
2229
- da as Breadcrumb,
2230
- Ge as Card,
2231
- Le as Chip,
2232
- Xe as Container,
2255
+ he as Badge,
2256
+ Ge as Breadcrumb,
2257
+ Qe as Card,
2258
+ ze as Chip,
2259
+ Ye as Container,
2233
2260
  fa as DialogFooter,
2234
2261
  ca as DialogHeader,
2235
2262
  ua as DrawerFooter,
2236
2263
  pa as DrawerHeader,
2237
- ia as ErrorMessage,
2264
+ la as ErrorMessage,
2238
2265
  ma as HeaderActions,
2239
2266
  ba as HeaderNavigation,
2240
- sa as Info,
2241
- Ae as Label,
2267
+ oa as Info,
2268
+ Ie as Label,
2242
2269
  ga as MenuSeparator,
2243
2270
  xa as NavbarSeparator,
2244
- Re as Progress,
2245
- Be as Separator,
2246
- la as Skeleton,
2247
- Pe as Spinner,
2248
- Ye as Stack,
2249
- ya as TableCell,
2250
- oa as Text,
2251
- ha as Timeline
2271
+ ya as PageHeader,
2272
+ _e as Progress,
2273
+ Oe as Separator,
2274
+ da as Skeleton,
2275
+ Ue as Spinner,
2276
+ Ze as Stack,
2277
+ ha as TableCell,
2278
+ re as Text,
2279
+ wa as Timeline
2252
2280
  };
2253
2281
  //# sourceMappingURL=index.js.map