@fabio.caffarello/react-design-system 4.1.0 → 4.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,33 +1,33 @@
1
1
  var ge = Object.defineProperty, xe = Object.defineProperties;
2
2
  var be = Object.getOwnPropertyDescriptors;
3
- var B = Object.getOwnPropertySymbols;
3
+ var K = Object.getOwnPropertySymbols;
4
4
  var ee = Object.prototype.hasOwnProperty, ae = Object.prototype.propertyIsEnumerable;
5
- var X = (e, a, r) => a in e ? ge(e, a, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[a] = r, u = (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, u = (e, a) => {
6
6
  for (var r in a || (a = {}))
7
- ee.call(a, r) && X(e, r, a[r]);
8
- if (B)
9
- for (var r of B(a))
10
- ae.call(a, r) && X(e, r, a[r]);
7
+ ee.call(a, r) && G(e, r, a[r]);
8
+ if (K)
9
+ for (var r of K(a))
10
+ ae.call(a, r) && G(e, r, a[r]);
11
11
  return e;
12
12
  }, y = (e, a) => xe(e, be(a));
13
- var b = (e, a) => {
13
+ var h = (e, a) => {
14
14
  var r = {};
15
15
  for (var t in e)
16
16
  ee.call(e, t) && a.indexOf(t) < 0 && (r[t] = e[t]);
17
- if (e != null && B)
18
- for (var t of B(e))
17
+ if (e != null && K)
18
+ for (var t of K(e))
19
19
  a.indexOf(t) < 0 && ae.call(e, t) && (r[t] = e[t]);
20
20
  return r;
21
21
  };
22
- var te = (e, a, r) => X(e, typeof a != "symbol" ? a + "" : a, r);
22
+ var te = (e, a, r) => G(e, typeof a != "symbol" ? a + "" : a, r);
23
23
  import { jsx as l, jsxs as v, Fragment as re } from "react/jsx-runtime";
24
- import * as V from "react";
25
- import ce, { memo as M, forwardRef as j } from "react";
24
+ import * as A from "react";
25
+ import ce, { memo as H, forwardRef as _ } from "react";
26
26
  import { clsx as he } from "clsx";
27
27
  import { twMerge as ye } from "tailwind-merge";
28
28
  import { cva as ve } from "class-variance-authority";
29
29
  import { Loader2 as we, X as Ne, AlertCircle as Se, CheckCircle2 as ne } from "lucide-react";
30
- class F {
30
+ class j {
31
31
  /**
32
32
  * Create a radius token
33
33
  */
@@ -84,19 +84,19 @@ class F {
84
84
  }
85
85
  }
86
86
  const $e = {
87
- none: F.create("none"),
88
- sm: F.create("sm"),
89
- md: F.create("md"),
90
- lg: F.create("lg"),
91
- xl: F.create("xl"),
92
- "2xl": F.create("2xl"),
93
- "3xl": F.create("3xl"),
94
- full: F.create("full")
87
+ none: j.create("none"),
88
+ sm: j.create("sm"),
89
+ md: j.create("md"),
90
+ lg: j.create("lg"),
91
+ xl: j.create("xl"),
92
+ "2xl": j.create("2xl"),
93
+ "3xl": j.create("3xl"),
94
+ full: j.create("full")
95
95
  };
96
96
  function $(e) {
97
97
  return $e[e].tailwind;
98
98
  }
99
- class k {
99
+ class C {
100
100
  // 4px base
101
101
  /**
102
102
  * Create a spacing token from scale value
@@ -163,42 +163,42 @@ class k {
163
163
  }[a] || String(a);
164
164
  }
165
165
  }
166
- te(k, "BASE_UNIT", 4);
166
+ te(C, "BASE_UNIT", 4);
167
167
  const ke = {
168
168
  // Micro spacing (0-14px)
169
- none: k.create(0),
170
- "0.5": k.create(0.5),
169
+ none: C.create(0),
170
+ "0.5": C.create(0.5),
171
171
  // 2px (half-step)
172
- xs: k.create(1),
172
+ xs: C.create(1),
173
173
  // 4px
174
- "1.5": k.create(1.5),
174
+ "1.5": C.create(1.5),
175
175
  // 6px (half-step)
176
- sm: k.create(2),
176
+ sm: C.create(2),
177
177
  // 8px
178
- "2.5": k.create(2.5),
178
+ "2.5": C.create(2.5),
179
179
  // 10px (half-step)
180
- md: k.create(3),
180
+ md: C.create(3),
181
181
  // 12px
182
- "3.5": k.create(3.5),
182
+ "3.5": C.create(3.5),
183
183
  // 14px (half-step)
184
184
  // Standard spacing (16-32px)
185
- base: k.create(4),
185
+ base: C.create(4),
186
186
  // 16px
187
- lg: k.create(6),
187
+ lg: C.create(6),
188
188
  // 24px
189
- xl: k.create(8),
189
+ xl: C.create(8),
190
190
  // 32px
191
191
  // Large spacing (40-64px)
192
- "2xl": k.create(10),
192
+ "2xl": C.create(10),
193
193
  // 40px
194
- "3xl": k.create(12),
194
+ "3xl": C.create(12),
195
195
  // 48px
196
- "4xl": k.create(16),
196
+ "4xl": C.create(16),
197
197
  // 64px
198
198
  // Extra large spacing (80px+)
199
- "5xl": k.create(20),
199
+ "5xl": C.create(20),
200
200
  // 80px
201
- "6xl": k.create(24)
201
+ "6xl": C.create(24)
202
202
  // 96px
203
203
  };
204
204
  function i(e, a = "p") {
@@ -225,7 +225,7 @@ function i(e, a = "p") {
225
225
  "space-y": "space-y"
226
226
  }[a]}-${t}`;
227
227
  }
228
- class C {
228
+ class E {
229
229
  /**
230
230
  * Create font size token
231
231
  */
@@ -295,50 +295,50 @@ class C {
295
295
  };
296
296
  }
297
297
  }
298
- C.createFontWeight("light"), C.createFontWeight("normal"), C.createFontWeight("medium"), C.createFontWeight("semibold"), C.createFontWeight("bold");
299
- const G = {
298
+ E.createFontWeight("light"), E.createFontWeight("normal"), E.createFontWeight("medium"), E.createFontWeight("semibold"), E.createFontWeight("bold");
299
+ const Z = {
300
300
  // Headings
301
- h1: C.create("4xl", "tight", "bold"),
302
- h2: C.create("3xl", "tight", "bold"),
303
- h3: C.create("2xl", "snug", "semibold"),
304
- h4: C.create("xl", "snug", "semibold"),
305
- h5: C.create("lg", "normal", "medium"),
306
- h6: C.create("base", "normal", "medium"),
301
+ h1: E.create("4xl", "tight", "bold"),
302
+ h2: E.create("3xl", "tight", "bold"),
303
+ h3: E.create("2xl", "snug", "semibold"),
304
+ h4: E.create("xl", "snug", "semibold"),
305
+ h5: E.create("lg", "normal", "medium"),
306
+ h6: E.create("base", "normal", "medium"),
307
307
  // Body text
308
- body: C.create("base", "relaxed", "normal"),
309
- bodySmall: C.create("sm", "relaxed", "normal"),
310
- bodyLarge: C.create("lg", "relaxed", "normal"),
308
+ body: E.create("base", "relaxed", "normal"),
309
+ bodySmall: E.create("sm", "relaxed", "normal"),
310
+ bodyLarge: E.create("lg", "relaxed", "normal"),
311
311
  // UI elements
312
- label: C.create("sm", "normal", "medium"),
313
- caption: C.create("xs", "normal", "normal"),
314
- button: C.create("base", "normal", "medium")
312
+ label: E.create("sm", "normal", "medium"),
313
+ caption: E.create("xs", "normal", "normal"),
314
+ button: E.create("base", "normal", "medium")
315
315
  };
316
316
  function D(e) {
317
- const a = G[e];
317
+ const a = Z[e];
318
318
  return `${a.fontSize.tailwind} ${a.lineHeight.tailwind} ${a.fontWeight.tailwind}`;
319
319
  }
320
320
  function S(e) {
321
- return G[e].fontSize.tailwind;
321
+ return Z[e].fontSize.tailwind;
322
322
  }
323
- function O(e) {
324
- return G[e].fontWeight.tailwind;
323
+ function B(e) {
324
+ return Z[e].fontWeight.tailwind;
325
325
  }
326
- function s(...e) {
326
+ function n(...e) {
327
327
  return ye(he(e));
328
328
  }
329
329
  const L = (e, a) => {
330
330
  const r = ve(e, a);
331
331
  return ((t) => {
332
- const n = r(t);
333
- return s(n);
332
+ const s = r(t);
333
+ return n(s);
334
334
  });
335
335
  }, Ce = L(
336
336
  // Base classes
337
- s(
337
+ n(
338
338
  "inline-flex",
339
339
  "items-center",
340
340
  "justify-center",
341
- O("label"),
341
+ B("label"),
342
342
  $("md"),
343
343
  "border"
344
344
  ),
@@ -354,17 +354,17 @@ const L = (e, a) => {
354
354
  secondary: ""
355
355
  },
356
356
  size: {
357
- sm: s(
357
+ sm: n(
358
358
  i("1.5", "px"),
359
359
  i("0.5", "py"),
360
360
  S("caption")
361
361
  ),
362
- md: s(
362
+ md: n(
363
363
  i("sm", "px"),
364
364
  i("xs", "py"),
365
365
  S("caption")
366
366
  ),
367
- lg: s(
367
+ lg: n(
368
368
  i("sm", "px"),
369
369
  i("xs", "py"),
370
370
  S("bodySmall")
@@ -380,32 +380,32 @@ const L = (e, a) => {
380
380
  {
381
381
  variant: "success",
382
382
  style: "solid",
383
- class: s("bg-success-bg", "text-success-dark", "border-success")
383
+ class: n("bg-success-bg", "text-success-dark", "border-success")
384
384
  },
385
385
  {
386
386
  variant: "warning",
387
387
  style: "solid",
388
- class: s("bg-warning-bg", "text-warning-dark", "border-warning")
388
+ class: n("bg-warning-bg", "text-warning-dark", "border-warning")
389
389
  },
390
390
  {
391
391
  variant: "error",
392
392
  style: "solid",
393
- class: s("bg-error-bg", "text-error-dark", "border-error")
393
+ class: n("bg-error-bg", "text-error-dark", "border-error")
394
394
  },
395
395
  {
396
396
  variant: "info",
397
397
  style: "solid",
398
- class: s("bg-info-bg", "text-info-dark", "border-info")
398
+ class: n("bg-info-bg", "text-info-dark", "border-info")
399
399
  },
400
400
  {
401
401
  variant: "neutral",
402
402
  style: "solid",
403
- class: s("bg-surface-muted", "text-fg-primary", "border-line-default")
403
+ class: n("bg-surface-muted", "text-fg-primary", "border-line-default")
404
404
  },
405
405
  {
406
406
  variant: "primary",
407
407
  style: "solid",
408
- class: s(
408
+ class: n(
409
409
  "bg-surface-brand-subtle",
410
410
  "text-fg-brand-emphasis",
411
411
  "border-line-brand"
@@ -417,7 +417,7 @@ const L = (e, a) => {
417
417
  // bg-pink-300: secondary solid badge — no semantic equivalent
418
418
  // (would shift 2 shades to bg-surface-secondary). Kept literal until
419
419
  // secondary brand surface palette expands beyond DEFAULT.
420
- class: s(
420
+ class: n(
421
421
  "bg-pink-300",
422
422
  "text-fg-brand-secondary-emphasis",
423
423
  "border-line-secondary"
@@ -427,37 +427,37 @@ const L = (e, a) => {
427
427
  {
428
428
  variant: "success",
429
429
  style: "outline",
430
- class: s("bg-transparent", "border-success", "text-fg-success")
430
+ class: n("bg-transparent", "border-success", "text-fg-success")
431
431
  },
432
432
  {
433
433
  variant: "warning",
434
434
  style: "outline",
435
- class: s("bg-transparent", "border-warning", "text-fg-warning")
435
+ class: n("bg-transparent", "border-warning", "text-fg-warning")
436
436
  },
437
437
  {
438
438
  variant: "error",
439
439
  style: "outline",
440
- class: s("bg-transparent", "border-error", "text-fg-error")
440
+ class: n("bg-transparent", "border-error", "text-fg-error")
441
441
  },
442
442
  {
443
443
  variant: "info",
444
444
  style: "outline",
445
- class: s("bg-transparent", "border-info", "text-fg-info")
445
+ class: n("bg-transparent", "border-info", "text-fg-info")
446
446
  },
447
447
  {
448
448
  variant: "neutral",
449
449
  style: "outline",
450
- class: s("bg-transparent", "border-line-default", "text-fg-secondary")
450
+ class: n("bg-transparent", "border-line-default", "text-fg-secondary")
451
451
  },
452
452
  {
453
453
  variant: "primary",
454
454
  style: "outline",
455
- class: s("bg-transparent", "border-line-brand", "text-fg-brand")
455
+ class: n("bg-transparent", "border-line-brand", "text-fg-brand")
456
456
  },
457
457
  {
458
458
  variant: "secondary",
459
459
  style: "outline",
460
- class: s(
460
+ class: n(
461
461
  "bg-transparent",
462
462
  "border-line-secondary",
463
463
  "text-fg-brand-secondary"
@@ -470,16 +470,16 @@ const L = (e, a) => {
470
470
  style: "solid"
471
471
  }
472
472
  }
473
- ), Ee = M(
474
- j(function(x, p) {
473
+ ), Ee = H(
474
+ _(function(x, p) {
475
475
  var m = x, {
476
476
  variant: a = "neutral",
477
477
  size: r = "md",
478
478
  style: t = "solid",
479
- className: n = "",
480
- children: o,
481
- "aria-label": c
482
- } = m, d = b(m, [
479
+ className: s = "",
480
+ children: c,
481
+ "aria-label": o
482
+ } = m, d = h(m, [
483
483
  "variant",
484
484
  "size",
485
485
  "style",
@@ -487,14 +487,14 @@ const L = (e, a) => {
487
487
  "children",
488
488
  "aria-label"
489
489
  ]);
490
- const h = s(Ce({ variant: a, size: r, style: t }), n);
490
+ const b = n(Ce({ variant: a, size: r, style: t }), s);
491
491
  let f;
492
- if (c)
493
- f = c;
494
- else if (typeof o == "string")
492
+ if (o)
495
493
  f = o;
496
- else if (typeof o == "object" && o !== null && "props" in o) {
497
- const g = o.props;
494
+ else if (typeof c == "string")
495
+ f = c;
496
+ else if (typeof c == "object" && c !== null && "props" in c) {
497
+ const g = c.props;
498
498
  g != null && g.children && typeof g.children == "string" && (f = g.children);
499
499
  }
500
500
  return /* @__PURE__ */ l(
@@ -503,9 +503,9 @@ const L = (e, a) => {
503
503
  ref: p,
504
504
  role: "status",
505
505
  "aria-label": f,
506
- className: h
506
+ className: b
507
507
  }, d), {
508
- children: o
508
+ children: c
509
509
  })
510
510
  );
511
511
  })
@@ -519,54 +519,54 @@ function se(e, a) {
519
519
  function Te(...e) {
520
520
  return (a) => {
521
521
  let r = !1;
522
- const t = e.map((n) => {
523
- const o = se(n, a);
524
- return !r && typeof o == "function" && (r = !0), o;
522
+ const t = e.map((s) => {
523
+ const c = se(s, a);
524
+ return !r && typeof c == "function" && (r = !0), c;
525
525
  });
526
526
  if (r)
527
527
  return () => {
528
- for (let n = 0; n < t.length; n++) {
529
- const o = t[n];
530
- typeof o == "function" ? o() : se(e[n], null);
528
+ for (let s = 0; s < t.length; s++) {
529
+ const c = t[s];
530
+ typeof c == "function" ? c() : se(e[s], null);
531
531
  }
532
532
  };
533
533
  };
534
534
  }
535
535
  function Ve(...e) {
536
- return V.useCallback(Te(...e), e);
536
+ return A.useCallback(Te(...e), e);
537
537
  }
538
538
  // @__NO_SIDE_EFFECTS__
539
539
  function Ae(e) {
540
- const a = V.forwardRef((r, t) => {
540
+ const a = A.forwardRef((r, t) => {
541
541
  var g;
542
- let f = r, { children: n } = f, o = b(f, ["children"]), c = null, d = !1;
542
+ let f = r, { children: s } = f, c = h(f, ["children"]), o = null, d = !1;
543
543
  const p = [];
544
- ie(n) && typeof I == "function" && (n = I(n._payload)), V.Children.forEach(n, (w) => {
544
+ ie(s) && typeof q == "function" && (s = q(s._payload)), A.Children.forEach(s, (w) => {
545
545
  var N;
546
- if (Re(w)) {
546
+ if (ze(w)) {
547
547
  d = !0;
548
- const E = w;
549
- let T = "child" in E.props ? E.props.child : E.props.children;
550
- ie(T) && typeof I == "function" && (T = I(T._payload)), c = Fe(E, T), p.push((N = c == null ? void 0 : c.props) == null ? void 0 : N.children);
548
+ const T = w;
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((N = o == null ? void 0 : o.props) == null ? void 0 : N.children);
551
551
  } else
552
552
  p.push(w);
553
- }), c ? c = V.cloneElement(c, void 0, p) : (
553
+ }), o ? o = A.cloneElement(o, void 0, p) : (
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 && V.Children.count(n) === 1 && V.isValidElement(n) && (c = n)
558
+ !d && A.Children.count(s) === 1 && A.isValidElement(s) && (o = s)
559
559
  );
560
- const x = c ? je(c) : void 0, m = Ve(t, x);
561
- if (!c) {
562
- if (n || n === 0)
560
+ const x = o ? je(o) : void 0, m = Ve(t, x);
561
+ if (!o) {
562
+ if (s || s === 0)
563
563
  throw new Error(
564
- d ? He(e) : Me(e)
564
+ d ? Be(e) : Me(e)
565
565
  );
566
- return n;
566
+ return s;
567
567
  }
568
- const h = De(o, (g = c.props) != null ? g : {});
569
- return c.type !== V.Fragment && (h.ref = t ? m : x), V.cloneElement(c, h);
568
+ const b = _e(c, (g = o.props) != null ? g : {});
569
+ return o.type !== A.Fragment && (b.ref = t ? m : x), A.cloneElement(o, b);
570
570
  });
571
571
  return a.displayName = `${e}.Slot`, a;
572
572
  }
@@ -576,41 +576,41 @@ function Le(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"), Fe = (e, a) => {
579
+ var Fe = /* @__PURE__ */ Le("Slottable"), De = (e, a) => {
580
580
  if ("child" in e.props) {
581
581
  const r = e.props.child;
582
- return V.isValidElement(r) ? V.cloneElement(r, void 0, e.props.children(r.props.children)) : null;
582
+ return A.isValidElement(r) ? A.cloneElement(r, void 0, e.props.children(r.props.children)) : null;
583
583
  }
584
- return V.isValidElement(a) ? a : null;
584
+ return A.isValidElement(a) ? a : null;
585
585
  };
586
- function De(e, a) {
586
+ function _e(e, a) {
587
587
  const r = u({}, a);
588
588
  for (const t in a) {
589
- const n = e[t], o = a[t];
590
- /^on[A-Z]/.test(t) ? n && o ? r[t] = (...d) => {
591
- const p = o(...d);
592
- return n(...d), p;
593
- } : n && (r[t] = n) : t === "style" ? r[t] = u(u({}, n), o) : t === "className" && (r[t] = [n, o].filter(Boolean).join(" "));
589
+ const s = e[t], c = a[t];
590
+ /^on[A-Z]/.test(t) ? s && c ? r[t] = (...d) => {
591
+ const p = c(...d);
592
+ return s(...d), p;
593
+ } : s && (r[t] = s) : t === "style" ? r[t] = u(u({}, s), c) : t === "className" && (r[t] = [s, c].filter(Boolean).join(" "));
594
594
  }
595
595
  return u(u({}, e), r);
596
596
  }
597
597
  function je(e) {
598
- var t, n;
598
+ var t, s;
599
599
  let a = (t = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : t.get, r = a && "isReactWarning" in a && a.isReactWarning;
600
- return r ? e.ref : (a = (n = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : n.get, r = a && "isReactWarning" in a && a.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);
600
+ return r ? e.ref : (a = (s = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : s.get, r = a && "isReactWarning" in a && a.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);
601
601
  }
602
- function Re(e) {
603
- return V.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === ue;
602
+ function ze(e) {
603
+ return A.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === ue;
604
604
  }
605
- var _e = /* @__PURE__ */ Symbol.for("react.lazy");
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 === _e && "_payload" in e && Oe(e._payload);
607
+ return e != null && typeof e == "object" && "$$typeof" in e && e.$$typeof === Re && "_payload" in e && Oe(e._payload);
608
608
  }
609
609
  function Oe(e) {
610
610
  return typeof e == "object" && e !== null && "then" in e;
611
611
  }
612
- var Me = (e) => `${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`, He = (e) => `${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`, I = V[" use ".trim().toString()];
613
- const Pe = L("motion-safe:animate-spin", {
612
+ var Me = (e) => `${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`, Be = (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", {
614
614
  variants: {
615
615
  size: {
616
616
  sm: "h-4 w-4",
@@ -627,13 +627,13 @@ const Pe = L("motion-safe:animate-spin", {
627
627
  size: "md",
628
628
  variant: "primary"
629
629
  }
630
- }), fe = M(function(c) {
631
- var d = c, {
630
+ }), fe = H(function(o) {
631
+ var d = o, {
632
632
  size: a = "md",
633
633
  variant: r = "primary",
634
634
  label: t,
635
- className: n = ""
636
- } = d, o = b(d, [
635
+ className: s = ""
636
+ } = d, c = h(d, [
637
637
  "size",
638
638
  "variant",
639
639
  "label",
@@ -642,23 +642,23 @@ const Pe = L("motion-safe:animate-spin", {
642
642
  return /* @__PURE__ */ v(
643
643
  "div",
644
644
  y(u({
645
- className: s("inline-flex", "items-center", n),
645
+ className: n("inline-flex", "items-center", s),
646
646
  role: "status",
647
647
  "aria-label": t || "Loading",
648
648
  "aria-live": "polite"
649
- }, o), {
649
+ }, c), {
650
650
  children: [
651
651
  /* @__PURE__ */ l(
652
652
  we,
653
653
  {
654
- className: s(Pe({ size: a, variant: r })),
654
+ className: n(He({ size: a, variant: r })),
655
655
  "aria-hidden": "true"
656
656
  }
657
657
  ),
658
658
  t && /* @__PURE__ */ l(
659
659
  "span",
660
660
  {
661
- className: s(
661
+ className: n(
662
662
  i("sm", "ml"),
663
663
  S("bodySmall"),
664
664
  "text-fg-secondary",
@@ -672,9 +672,9 @@ const Pe = L("motion-safe:animate-spin", {
672
672
  );
673
673
  });
674
674
  fe.displayName = "Spinner";
675
- const We = L(
675
+ const Pe = L(
676
676
  // Base classes
677
- s(
677
+ n(
678
678
  "inline-flex",
679
679
  "items-center",
680
680
  "justify-center",
@@ -691,25 +691,25 @@ const We = L(
691
691
  {
692
692
  variants: {
693
693
  variant: {
694
- primary: s(
694
+ primary: n(
695
695
  "bg-surface-brand-strong",
696
696
  "text-fg-inverse",
697
697
  "hover:opacity-90",
698
698
  "focus:ring-line-brand"
699
699
  ),
700
- secondary: s(
700
+ secondary: n(
701
701
  "bg-surface-secondary",
702
702
  "text-fg-inverse",
703
703
  "hover:opacity-90",
704
704
  "focus:ring-line-secondary"
705
705
  ),
706
- error: s(
706
+ error: n(
707
707
  "bg-error",
708
708
  "text-fg-inverse",
709
709
  "hover:opacity-90",
710
710
  "focus:ring-error"
711
711
  ),
712
- outline: s(
712
+ outline: n(
713
713
  "border-2",
714
714
  "border-line-default",
715
715
  "bg-transparent",
@@ -717,13 +717,13 @@ const We = L(
717
717
  "hover:bg-surface-hover",
718
718
  "focus:ring-line-focus"
719
719
  ),
720
- ghost: s(
720
+ ghost: n(
721
721
  "bg-transparent",
722
722
  "text-fg-primary",
723
723
  "hover:bg-surface-hover",
724
724
  "focus:ring-line-focus"
725
725
  ),
726
- iconOnly: s(
726
+ iconOnly: n(
727
727
  "bg-transparent",
728
728
  "text-fg-primary",
729
729
  "hover:bg-surface-hover",
@@ -757,7 +757,7 @@ const We = L(
757
757
  // a disabled link should still receive the same visual
758
758
  // treatment as a disabled chrome variant — the opacity and
759
759
  // cursor signal the disabled state.
760
- link: s(
760
+ link: n(
761
761
  "bg-transparent",
762
762
  "text-fg-brand",
763
763
  "underline-offset-4",
@@ -766,19 +766,19 @@ const We = L(
766
766
  )
767
767
  },
768
768
  size: {
769
- sm: s(
769
+ sm: n(
770
770
  i("md", "px"),
771
771
  i("1.5", "py"),
772
772
  S("bodySmall"),
773
773
  i("1.5", "gap")
774
774
  ),
775
- md: s(
775
+ md: n(
776
776
  i("base", "px"),
777
777
  i("sm", "py"),
778
778
  S("body"),
779
779
  i("sm", "gap")
780
780
  ),
781
- lg: s(
781
+ lg: n(
782
782
  i("lg", "px"),
783
783
  i("md", "py"),
784
784
  S("bodyLarge"),
@@ -791,17 +791,17 @@ const We = L(
791
791
  {
792
792
  variant: "iconOnly",
793
793
  size: "sm",
794
- class: s("h-8", "w-8", i("none", "p"))
794
+ class: n("h-8", "w-8", i("none", "p"))
795
795
  },
796
796
  {
797
797
  variant: "iconOnly",
798
798
  size: "md",
799
- class: s("h-10", "w-10", i("none", "p"))
799
+ class: n("h-10", "w-10", i("none", "p"))
800
800
  },
801
801
  {
802
802
  variant: "iconOnly",
803
803
  size: "lg",
804
- class: s("h-12", "w-12", i("none", "p"))
804
+ class: n("h-12", "w-12", i("none", "p"))
805
805
  },
806
806
  // Link variant zeroes the size's padding via compoundVariants so
807
807
  // the override runs AFTER the size block's `px-N`/`py-N` and
@@ -812,17 +812,17 @@ const We = L(
812
812
  {
813
813
  variant: "link",
814
814
  size: "sm",
815
- class: s(i("none", "px"), i("none", "py"))
815
+ class: n(i("none", "px"), i("none", "py"))
816
816
  },
817
817
  {
818
818
  variant: "link",
819
819
  size: "md",
820
- class: s(i("none", "px"), i("none", "py"))
820
+ class: n(i("none", "px"), i("none", "py"))
821
821
  },
822
822
  {
823
823
  variant: "link",
824
824
  size: "lg",
825
- class: s(i("none", "px"), i("none", "py"))
825
+ class: n(i("none", "px"), i("none", "py"))
826
826
  }
827
827
  ],
828
828
  defaultVariants: {
@@ -831,7 +831,7 @@ const We = L(
831
831
  }
832
832
  }
833
833
  );
834
- function U({
834
+ function X({
835
835
  children: e,
836
836
  position: a
837
837
  }) {
@@ -843,24 +843,24 @@ function U({
843
843
  }
844
844
  ) : null;
845
845
  }
846
- const Be = M(
847
- j(function(T, E) {
848
- var z = T, {
846
+ const Ie = H(
847
+ _(function(k, T) {
848
+ var F = k, {
849
849
  variant: a = "primary",
850
850
  size: r = "md",
851
851
  isLoading: t = !1,
852
- loadingText: n,
853
- loadingIcon: o,
854
- leftIcon: c,
852
+ loadingText: s,
853
+ loadingIcon: c,
854
+ leftIcon: o,
855
855
  rightIcon: d,
856
856
  fullWidth: p = !1,
857
857
  asChild: x = !1,
858
858
  as: m,
859
- className: h = "",
859
+ className: b = "",
860
860
  disabled: f = !1,
861
861
  children: g,
862
862
  "aria-label": w
863
- } = z, N = b(z, [
863
+ } = F, N = h(F, [
864
864
  "variant",
865
865
  "size",
866
866
  "isLoading",
@@ -879,36 +879,36 @@ const Be = M(
879
879
  typeof process != "undefined" && process.env.NODE_ENV !== "production" && x && 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 P = x ? de : m != null ? m : "button", W = s(
883
- We({ variant: a, size: r }),
882
+ const z = x ? de : m != null ? m : "button", R = n(
883
+ Pe({ variant: a, size: r }),
884
884
  p && "w-full",
885
- h
886
- ), K = (a === "iconOnly" || !g && (c || d)) && !w && !g ? "Button" : w, me = o || /* @__PURE__ */ l(fe, { size: r === "sm" ? "sm" : r === "lg" ? "lg" : "md", variant: a === "error" ? "primary" : a === "primary" || a === "secondary" ? "neutral" : "primary" }), J = !x && (m === void 0 || m === "button") && !N.type ? "button" : void 0, Q = u(u({
887
- className: W,
885
+ b
886
+ ), I = (a === "iconOnly" || !g && (o || d)) && !w && !g ? "Button" : w, me = c || /* @__PURE__ */ l(fe, { size: r === "sm" ? "sm" : r === "lg" ? "lg" : "md", variant: a === "error" ? "primary" : a === "primary" || a === "secondary" ? "neutral" : "primary" }), J = !x && (m === void 0 || m === "button") && !N.type ? "button" : void 0, Q = u(u({
887
+ className: R,
888
888
  disabled: f || t,
889
889
  "aria-busy": t,
890
- "aria-label": K,
890
+ "aria-label": I,
891
891
  "aria-disabled": f || t
892
892
  }, J ? { type: J } : {}), N);
893
- return x ? /* @__PURE__ */ v(P, y(u({ ref: E }, Q), { children: [
894
- c && /* @__PURE__ */ l(U, { position: "left", children: c }),
895
- /* @__PURE__ */ l(ze, { children: g }),
896
- d && /* @__PURE__ */ l(U, { position: "right", children: d })
897
- ] })) : /* @__PURE__ */ l(P, y(u({ ref: E }, Q), { children: t ? /* @__PURE__ */ v(re, { children: [
893
+ return x ? /* @__PURE__ */ v(z, y(u({ ref: T }, Q), { children: [
894
+ o && /* @__PURE__ */ l(X, { position: "left", children: o }),
895
+ /* @__PURE__ */ l(Fe, { children: g }),
896
+ d && /* @__PURE__ */ l(X, { position: "right", children: d })
897
+ ] })) : /* @__PURE__ */ l(z, y(u({ ref: T }, Q), { children: t ? /* @__PURE__ */ v(re, { children: [
898
898
  me,
899
- n && /* @__PURE__ */ l("span", { className: i("sm", "ml"), children: n }),
900
- !n && g && /* @__PURE__ */ l("span", { className: `${i("sm", "ml")} opacity-0`, children: g })
899
+ s && /* @__PURE__ */ l("span", { className: i("sm", "ml"), children: s }),
900
+ !s && g && /* @__PURE__ */ l("span", { className: `${i("sm", "ml")} opacity-0`, children: g })
901
901
  ] }) : /* @__PURE__ */ v(re, { children: [
902
- c && /* @__PURE__ */ l(U, { position: "left", children: c }),
902
+ o && /* @__PURE__ */ l(X, { position: "left", children: o }),
903
903
  g,
904
- d && /* @__PURE__ */ l(U, { position: "right", children: d })
904
+ d && /* @__PURE__ */ l(X, { position: "right", children: d })
905
905
  ] }) }));
906
906
  })
907
907
  );
908
- Be.displayName = "Button";
908
+ Ie.displayName = "Button";
909
909
  const le = L(
910
910
  // Base classes
911
- s(
911
+ n(
912
912
  "inline-flex",
913
913
  "items-center",
914
914
  "font-medium",
@@ -918,19 +918,19 @@ const le = L(
918
918
  {
919
919
  variants: {
920
920
  variant: {
921
- default: s(
921
+ default: n(
922
922
  "bg-surface-muted",
923
923
  "text-fg-primary",
924
924
  "border",
925
925
  "border-line-default"
926
926
  ),
927
- outlined: s(
927
+ outlined: n(
928
928
  "bg-transparent",
929
929
  "text-fg-primary",
930
930
  "border",
931
931
  "border-line-default"
932
932
  ),
933
- filled: s(
933
+ filled: n(
934
934
  "bg-surface-brand-strong",
935
935
  "text-fg-inverse",
936
936
  "border",
@@ -938,24 +938,24 @@ const le = L(
938
938
  )
939
939
  },
940
940
  size: {
941
- sm: s(
941
+ sm: n(
942
942
  i("xs", "px"),
943
943
  i("xs", "py"),
944
944
  S("caption")
945
945
  ),
946
- md: s(
946
+ md: n(
947
947
  i("sm", "px"),
948
948
  i("xs", "py"),
949
949
  S("bodySmall")
950
950
  ),
951
- lg: s(
951
+ lg: n(
952
952
  i("md", "px"),
953
953
  i("sm", "py"),
954
954
  S("body")
955
955
  )
956
956
  },
957
957
  selected: {
958
- true: s(
958
+ true: n(
959
959
  "bg-surface-brand-strong",
960
960
  "text-fg-inverse",
961
961
  "border",
@@ -995,33 +995,33 @@ const le = L(
995
995
  disabled: !1
996
996
  }
997
997
  }
998
- ), Ie = j(function(a, r) {
998
+ ), We = _(function(a, r) {
999
999
  const {
1000
1000
  children: t,
1001
- variant: n = "default",
1002
- size: o = "md",
1003
- selected: c = !1,
1001
+ variant: s = "default",
1002
+ size: c = "md",
1003
+ selected: o = !1,
1004
1004
  disabled: d = !1,
1005
1005
  className: p = "",
1006
1006
  "aria-label": x,
1007
1007
  tabIndex: m,
1008
- asChild: h = !1
1008
+ asChild: b = !1
1009
1009
  } = a, g = (() => {
1010
1010
  if (x) return x;
1011
1011
  if (typeof t == "string") return t;
1012
1012
  if (typeof t == "object" && t !== null && "props" in t) {
1013
- const A = t.props;
1014
- if (A != null && A.children && typeof A.children == "string")
1015
- return A.children;
1013
+ const V = t.props;
1014
+ if (V != null && V.children && typeof V.children == "string")
1015
+ return V.children;
1016
1016
  }
1017
1017
  })();
1018
- if (h)
1018
+ if (b)
1019
1019
  return /* @__PURE__ */ l(
1020
1020
  de,
1021
1021
  {
1022
1022
  ref: r,
1023
- className: s(
1024
- le({ variant: n, size: o, selected: c, disabled: d }),
1023
+ className: n(
1024
+ le({ variant: s, size: c, selected: o, disabled: d }),
1025
1025
  p
1026
1026
  ),
1027
1027
  "aria-label": x,
@@ -1030,13 +1030,13 @@ const le = L(
1030
1030
  children: t
1031
1031
  }
1032
1032
  );
1033
- const { onRemove: w, onClick: N, count: E } = a, T = N !== void 0, z = T && !d, P = (A) => {
1034
- d || (A.key === "Enter" || A.key === " ") && (A.preventDefault(), N == null || N());
1035
- }, W = E !== void 0, Y = c || n === "filled", K = W ? /* @__PURE__ */ l(
1033
+ const { onRemove: w, onClick: N, count: T } = a, k = N !== void 0, F = k && !d, z = (V) => {
1034
+ d || (V.key === "Enter" || V.key === " ") && (V.preventDefault(), N == null || N());
1035
+ }, R = T !== void 0, P = o || s === "filled", I = R ? /* @__PURE__ */ l(
1036
1036
  "span",
1037
1037
  {
1038
- "aria-hidden": T || void 0,
1039
- className: s(
1038
+ "aria-hidden": k || void 0,
1039
+ className: n(
1040
1040
  "inline-flex",
1041
1041
  "items-center",
1042
1042
  "justify-center",
@@ -1046,34 +1046,34 @@ const le = L(
1046
1046
  i("xs", "px"),
1047
1047
  i("0.5", "py"),
1048
1048
  S("caption"),
1049
- O("label"),
1050
- Y ? s("bg-surface-base", "text-fg-brand-emphasis") : s("bg-surface-brand-strong", "text-fg-inverse")
1049
+ B("label"),
1050
+ P ? n("bg-surface-base", "text-fg-brand-emphasis") : n("bg-surface-brand-strong", "text-fg-inverse")
1051
1051
  ),
1052
- children: E
1052
+ children: T
1053
1053
  }
1054
- ) : null, Z = W && g !== void 0 ? `${g}, ${E}` : g;
1054
+ ) : null, U = R && g !== void 0 ? `${g}, ${T}` : g;
1055
1055
  return /* @__PURE__ */ v(
1056
1056
  "div",
1057
1057
  {
1058
1058
  ref: r,
1059
- className: s(
1060
- le({ variant: n, size: o, selected: c, disabled: d }),
1059
+ className: n(
1060
+ le({ variant: s, size: c, selected: o, disabled: d }),
1061
1061
  w && i("xs", "pr"),
1062
1062
  p
1063
1063
  ),
1064
1064
  "aria-disabled": d,
1065
1065
  children: [
1066
- T ? /* @__PURE__ */ l(
1066
+ k ? /* @__PURE__ */ l(
1067
1067
  "button",
1068
1068
  {
1069
1069
  type: "button",
1070
1070
  onClick: d ? void 0 : N,
1071
- onKeyDown: P,
1071
+ onKeyDown: z,
1072
1072
  disabled: d,
1073
- "aria-pressed": c ? !0 : void 0,
1074
- "aria-label": x || Z,
1075
- tabIndex: m !== void 0 ? m : z ? 0 : void 0,
1076
- className: s(
1073
+ "aria-pressed": o ? !0 : void 0,
1074
+ "aria-label": x || U,
1075
+ tabIndex: m !== void 0 ? m : F ? 0 : void 0,
1076
+ className: n(
1077
1077
  "flex-1",
1078
1078
  "bg-transparent",
1079
1079
  "border-0",
@@ -1090,15 +1090,15 @@ const le = L(
1090
1090
  children: t
1091
1091
  }
1092
1092
  ) : /* @__PURE__ */ l("span", { children: t }),
1093
- K,
1093
+ I,
1094
1094
  w && !d && /* @__PURE__ */ l(
1095
1095
  "button",
1096
1096
  {
1097
1097
  type: "button",
1098
- onClick: (A) => {
1099
- A.stopPropagation(), w();
1098
+ onClick: (V) => {
1099
+ V.stopPropagation(), w();
1100
1100
  },
1101
- className: s(
1101
+ className: n(
1102
1102
  i("xs", "ml"),
1103
1103
  "hover:bg-tint-hover",
1104
1104
  $("full"),
@@ -1117,89 +1117,280 @@ const le = L(
1117
1117
  }
1118
1118
  );
1119
1119
  });
1120
- Ie.displayName = "Chip";
1121
- function La(n) {
1122
- var o = n, {
1120
+ We.displayName = "Chip";
1121
+ function _a(s) {
1122
+ var c = s, {
1123
1123
  message: e,
1124
1124
  id: a,
1125
1125
  className: r = ""
1126
- } = o, t = b(o, [
1126
+ } = c, t = h(c, [
1127
1127
  "message",
1128
1128
  "id",
1129
1129
  "className"
1130
1130
  ]);
1131
- const c = [
1131
+ const o = [
1132
1132
  i("xs", "mt"),
1133
1133
  S("bodySmall"),
1134
1134
  "text-fg-error",
1135
1135
  "flex",
1136
1136
  "items-center",
1137
1137
  i("xs", "gap")
1138
- ], d = s(...c, r);
1138
+ ], d = n(...o, r);
1139
1139
  return /* @__PURE__ */ v("div", y(u({ role: "alert", id: a, className: d, "aria-live": "polite" }, t), { children: [
1140
1140
  /* @__PURE__ */ l(Se, { className: "h-4 w-4 shrink-0", "aria-hidden": "true" }),
1141
1141
  /* @__PURE__ */ l("span", { children: e })
1142
1142
  ] }));
1143
1143
  }
1144
- function za(t) {
1145
- var n = t, {
1144
+ function ja(t) {
1145
+ var s = t, {
1146
1146
  variant: e = "info",
1147
1147
  className: a
1148
- } = n, r = b(n, [
1148
+ } = s, r = h(s, [
1149
1149
  "variant",
1150
1150
  "className"
1151
1151
  ]);
1152
- const o = {
1153
- warning: s("bg-warning-bg", "text-warning-dark", "border-warning"),
1154
- error: s("bg-error-bg", "text-error-dark", "border-error"),
1155
- info: s("bg-info-bg", "text-info-dark", "border-info")
1152
+ const c = {
1153
+ warning: n("bg-warning-bg", "text-warning-dark", "border-warning"),
1154
+ error: n("bg-error-bg", "text-error-dark", "border-error"),
1155
+ info: n("bg-info-bg", "text-info-dark", "border-info")
1156
1156
  };
1157
1157
  return /* @__PURE__ */ l(
1158
1158
  "div",
1159
1159
  u({
1160
1160
  role: "alert",
1161
- className: s(
1161
+ className: n(
1162
1162
  "border",
1163
1163
  i("base", "px"),
1164
1164
  i("sm", "py"),
1165
1165
  $("lg"),
1166
- o[e],
1166
+ c[e],
1167
1167
  a
1168
1168
  )
1169
1169
  }, r)
1170
1170
  );
1171
1171
  }
1172
- const Ue = s(
1172
+ const Ue = L(
1173
+ n(
1174
+ "w-full",
1175
+ $("md"),
1176
+ "transition-colors",
1177
+ "focus:outline-none",
1178
+ "focus:ring-2",
1179
+ "focus:ring-offset-2",
1180
+ "disabled:opacity-50",
1181
+ "disabled:cursor-not-allowed"
1182
+ ),
1183
+ {
1184
+ variants: {
1185
+ variant: {
1186
+ default: n(
1187
+ "border-0",
1188
+ "border-b-2",
1189
+ "border-line-default",
1190
+ "focus:border-line-focus"
1191
+ ),
1192
+ outlined: n(
1193
+ "border",
1194
+ "border-line-default",
1195
+ "focus:border-line-focus"
1196
+ ),
1197
+ filled: n(
1198
+ "bg-surface-muted",
1199
+ "border-0",
1200
+ "focus:bg-surface-base",
1201
+ "focus:ring-2",
1202
+ "focus:ring-line-focus"
1203
+ )
1204
+ },
1205
+ size: {
1206
+ sm: n(
1207
+ "h-8",
1208
+ S("bodySmall"),
1209
+ i("md", "px")
1210
+ ),
1211
+ md: n(
1212
+ "h-10",
1213
+ S("body"),
1214
+ i("base", "px")
1215
+ ),
1216
+ lg: n(
1217
+ "h-12",
1218
+ S("bodyLarge"),
1219
+ i("lg", "px")
1220
+ )
1221
+ },
1222
+ state: {
1223
+ default: "",
1224
+ error: n("border-error", "focus:border-error", "focus:ring-error"),
1225
+ success: n(
1226
+ "border-success",
1227
+ "focus:border-success",
1228
+ "focus:ring-success"
1229
+ )
1230
+ }
1231
+ },
1232
+ defaultVariants: {
1233
+ variant: "outlined",
1234
+ size: "md",
1235
+ state: "default"
1236
+ }
1237
+ }
1238
+ );
1239
+ function Ke({
1240
+ error: e,
1241
+ success: a,
1242
+ helperText: r,
1243
+ errorId: t,
1244
+ helperId: s
1245
+ }) {
1246
+ const c = n(
1247
+ i("xs", "mt"),
1248
+ D("caption"),
1249
+ e && "text-fg-error",
1250
+ a && "text-fg-success",
1251
+ !e && !a && "text-fg-secondary"
1252
+ );
1253
+ return /* @__PURE__ */ l(
1254
+ "div",
1255
+ {
1256
+ id: t || s,
1257
+ className: c,
1258
+ role: e || a ? "alert" : void 0,
1259
+ children: r || (e ? "Error" : a ? "Success" : "")
1260
+ }
1261
+ );
1262
+ }
1263
+ const qe = _(
1264
+ function(T, N) {
1265
+ var k = T, {
1266
+ id: a,
1267
+ label: r,
1268
+ error: t = !1,
1269
+ success: s = !1,
1270
+ helperText: c,
1271
+ size: o = "md",
1272
+ variant: d = "outlined",
1273
+ leftIcon: p,
1274
+ rightIcon: x,
1275
+ rightSlot: m,
1276
+ className: b = "",
1277
+ disabled: f = !1,
1278
+ type: g = "text"
1279
+ } = k, w = h(k, [
1280
+ "id",
1281
+ "label",
1282
+ "error",
1283
+ "success",
1284
+ "helperText",
1285
+ "size",
1286
+ "variant",
1287
+ "leftIcon",
1288
+ "rightIcon",
1289
+ "rightSlot",
1290
+ "className",
1291
+ "disabled",
1292
+ "type"
1293
+ ]);
1294
+ typeof process != "undefined" && process.env.NODE_ENV !== "production" && r && !a && console.warn(
1295
+ "[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."
1296
+ );
1297
+ const F = t ? "error" : s ? "success" : "default", z = t && a ? `${a}-error` : void 0, R = 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(
1298
+ Ue({ variant: d, size: o, state: F }),
1299
+ // Icon padding — `pl-9` / `pr-9` aren't on the spacing scale (no
1300
+ // semantic key for 36px) so they stay raw at the `sm` size; md/lg use
1301
+ // the getter. Mirrors the original Input contract.
1302
+ p && (o === "sm" ? "pl-9" : i(o === "lg" ? "3xl" : "2xl", "pl")),
1303
+ (x || m) && (o === "sm" ? "pr-9" : i(o === "lg" ? "3xl" : "2xl", "pr")),
1304
+ b
1305
+ ), V = n(
1306
+ "block",
1307
+ D("label"),
1308
+ i("xs", "mb"),
1309
+ f && "opacity-50"
1310
+ );
1311
+ return /* @__PURE__ */ v("div", { className: "w-full", children: [
1312
+ r && /* @__PURE__ */ l("label", { htmlFor: a, className: V, children: r }),
1313
+ /* @__PURE__ */ v("div", { className: "relative", children: [
1314
+ p && /* @__PURE__ */ l(
1315
+ "div",
1316
+ {
1317
+ className: `absolute left-3 ${I} text-fg-secondary opacity-60 pointer-events-none`,
1318
+ children: /* @__PURE__ */ l("div", { className: P, children: p })
1319
+ }
1320
+ ),
1321
+ /* @__PURE__ */ l(
1322
+ "input",
1323
+ u({
1324
+ id: a,
1325
+ ref: N,
1326
+ type: g,
1327
+ className: U,
1328
+ disabled: f,
1329
+ "aria-invalid": t,
1330
+ "aria-required": w.required,
1331
+ "aria-describedby": z || R,
1332
+ suppressHydrationWarning: !0
1333
+ }, w)
1334
+ ),
1335
+ (x || m) && /* @__PURE__ */ l(
1336
+ "div",
1337
+ {
1338
+ className: `absolute right-3 top-0 bottom-0 flex items-center ${i("xs", "gap")}`,
1339
+ children: m != null ? m : /* @__PURE__ */ l(
1340
+ "div",
1341
+ {
1342
+ className: `text-fg-secondary opacity-60 pointer-events-none ${P}`,
1343
+ children: x
1344
+ }
1345
+ )
1346
+ }
1347
+ )
1348
+ ] }),
1349
+ (t || s || c) && /* @__PURE__ */ l(
1350
+ Ke,
1351
+ {
1352
+ error: t,
1353
+ success: s,
1354
+ helperText: c,
1355
+ errorId: z,
1356
+ helperId: R
1357
+ }
1358
+ )
1359
+ ] });
1360
+ }
1361
+ );
1362
+ qe.displayName = "InputBase";
1363
+ const Xe = n(
1173
1364
  "block",
1174
1365
  S("label"),
1175
- O("label"),
1366
+ B("label"),
1176
1367
  "text-fg-primary"
1177
- ), Ke = {
1368
+ ), Ge = {
1178
1369
  default: "",
1179
- required: s(
1370
+ required: n(
1180
1371
  "after:content-['*']",
1181
1372
  `after:${i("0.5", "ml")}`,
1182
1373
  "after:text-fg-error"
1183
1374
  ),
1184
- optional: s(
1375
+ optional: n(
1185
1376
  "after:content-['(optional)']",
1186
1377
  `after:${i("xs", "ml")}`,
1187
1378
  "after:text-fg-tertiary",
1188
1379
  "after:font-normal"
1189
1380
  )
1190
- }, Xe = M(
1191
- j(function(c, o) {
1192
- var d = c, { variant: a = "default", className: r = "", children: t } = d, n = b(d, ["variant", "className", "children"]);
1193
- const p = s(
1194
- Ue,
1195
- Ke[a],
1381
+ }, Ye = H(
1382
+ _(function(o, c) {
1383
+ var d = o, { variant: a = "default", className: r = "", children: t } = d, s = h(d, ["variant", "className", "children"]);
1384
+ const p = n(
1385
+ Xe,
1386
+ Ge[a],
1196
1387
  r
1197
1388
  );
1198
- return /* @__PURE__ */ l("label", y(u({ ref: o, className: p }, n), { children: t }));
1389
+ return /* @__PURE__ */ l("label", y(u({ ref: c, className: p }, s), { children: t }));
1199
1390
  })
1200
1391
  );
1201
- Xe.displayName = "Label";
1202
- class R {
1392
+ Ye.displayName = "Label";
1393
+ class O {
1203
1394
  /**
1204
1395
  * Create a shadow token
1205
1396
  */
@@ -1243,19 +1434,19 @@ class R {
1243
1434
  }[a];
1244
1435
  }
1245
1436
  }
1246
- const qe = {
1247
- none: R.create("none"),
1248
- sm: R.create("sm"),
1249
- md: R.create("md"),
1250
- lg: R.create("lg"),
1251
- xl: R.create("xl"),
1252
- "2xl": R.create("2xl"),
1253
- inner: R.create("inner")
1437
+ const Ze = {
1438
+ none: O.create("none"),
1439
+ sm: O.create("sm"),
1440
+ md: O.create("md"),
1441
+ lg: O.create("lg"),
1442
+ xl: O.create("xl"),
1443
+ "2xl": O.create("2xl"),
1444
+ inner: O.create("inner")
1254
1445
  };
1255
- function q(e) {
1256
- return qe[e].tailwind;
1446
+ function Y(e) {
1447
+ return Ze[e].tailwind;
1257
1448
  }
1258
- const Ge = L("w-full", {
1449
+ const Je = L("w-full", {
1259
1450
  variants: {
1260
1451
  size: {
1261
1452
  sm: "h-1",
@@ -1289,17 +1480,17 @@ const Ge = L("w-full", {
1289
1480
  defaultVariants: {
1290
1481
  variant: "primary"
1291
1482
  }
1292
- }), Ye = j(function(h, m) {
1293
- var f = h, {
1483
+ }), Qe = _(function(b, m) {
1484
+ var f = b, {
1294
1485
  value: a,
1295
1486
  max: r = 100,
1296
1487
  variant: t = "primary",
1297
- size: n = "md",
1298
- showLabel: o = !1,
1299
- label: c,
1488
+ size: s = "md",
1489
+ showLabel: c = !1,
1490
+ label: o,
1300
1491
  "aria-label": d,
1301
1492
  className: p = ""
1302
- } = f, x = b(f, [
1493
+ } = f, x = h(f, [
1303
1494
  "value",
1304
1495
  "max",
1305
1496
  "variant",
@@ -1310,32 +1501,32 @@ const Ge = L("w-full", {
1310
1501
  "className"
1311
1502
  ]);
1312
1503
  const g = a === void 0, w = g ? void 0 : Math.min(Math.max(a / r * 100, 0), 100), N = d || (g ? "Loading in progress" : `Progress: ${w == null ? void 0 : w.toFixed(0)}%`);
1313
- return /* @__PURE__ */ v("div", y(u({ ref: m, className: s("w-full", p) }, x), { children: [
1314
- o && (c || !g) && /* @__PURE__ */ v(
1504
+ return /* @__PURE__ */ v("div", y(u({ ref: m, className: n("w-full", p) }, x), { children: [
1505
+ c && (o || !g) && /* @__PURE__ */ v(
1315
1506
  "div",
1316
1507
  {
1317
- className: s(
1508
+ className: n(
1318
1509
  "flex",
1319
1510
  "items-center",
1320
1511
  "justify-between",
1321
1512
  i("xs", "mb")
1322
1513
  ),
1323
1514
  children: [
1324
- c && /* @__PURE__ */ l(
1515
+ o && /* @__PURE__ */ l(
1325
1516
  "span",
1326
1517
  {
1327
- className: s(
1518
+ className: n(
1328
1519
  S("bodySmall"),
1329
- O("label"),
1520
+ B("label"),
1330
1521
  "text-fg-primary"
1331
1522
  ),
1332
- children: c
1523
+ children: o
1333
1524
  }
1334
1525
  ),
1335
1526
  !g && w !== void 0 && /* @__PURE__ */ v(
1336
1527
  "span",
1337
1528
  {
1338
- className: s(
1529
+ className: n(
1339
1530
  S("bodySmall"),
1340
1531
  "text-fg-secondary"
1341
1532
  ),
@@ -1357,17 +1548,17 @@ const Ge = L("w-full", {
1357
1548
  "aria-valuenow": g ? void 0 : a,
1358
1549
  "aria-label": N,
1359
1550
  "aria-busy": g,
1360
- className: s(
1551
+ className: n(
1361
1552
  "relative",
1362
1553
  "w-full",
1363
1554
  "overflow-hidden",
1364
- Ge({ size: n, variant: t }),
1555
+ Je({ size: s, variant: t }),
1365
1556
  $("full")
1366
1557
  ),
1367
1558
  children: g ? /* @__PURE__ */ l(
1368
1559
  "div",
1369
1560
  {
1370
- className: s(
1561
+ className: n(
1371
1562
  "absolute",
1372
1563
  "top-0",
1373
1564
  "left-0",
@@ -1384,7 +1575,7 @@ const Ge = L("w-full", {
1384
1575
  ) : /* @__PURE__ */ l(
1385
1576
  "div",
1386
1577
  {
1387
- className: s(
1578
+ className: n(
1388
1579
  "h-full",
1389
1580
  oe({ variant: t }),
1390
1581
  $("full"),
@@ -1402,29 +1593,29 @@ const Ge = L("w-full", {
1402
1593
  )
1403
1594
  ] }));
1404
1595
  });
1405
- Ye.displayName = "Progress";
1406
- const Ze = {
1596
+ Qe.displayName = "Progress";
1597
+ const ea = {
1407
1598
  horizontal: "w-full border-t",
1408
1599
  vertical: "h-full border-l self-stretch"
1409
- }, Je = {
1600
+ }, aa = {
1410
1601
  solid: "border-solid",
1411
1602
  dashed: "border-dashed",
1412
1603
  dotted: "border-dotted"
1413
- }, Qe = M(function(o) {
1414
- var c = o, {
1604
+ }, ta = H(function(c) {
1605
+ var o = c, {
1415
1606
  orientation: a = "horizontal",
1416
1607
  variant: r = "solid",
1417
1608
  className: t = ""
1418
- } = c, n = b(c, [
1609
+ } = o, s = h(o, [
1419
1610
  "orientation",
1420
1611
  "variant",
1421
1612
  "className"
1422
1613
  ]);
1423
- const d = s(
1614
+ const d = n(
1424
1615
  "border-0",
1425
1616
  "border-line-default",
1426
- Ze[a],
1427
- Je[r],
1617
+ ea[a],
1618
+ aa[r],
1428
1619
  t
1429
1620
  );
1430
1621
  return a === "vertical" ? /* @__PURE__ */ l(
@@ -1433,26 +1624,26 @@ const Ze = {
1433
1624
  className: d,
1434
1625
  role: "separator",
1435
1626
  "aria-orientation": "vertical"
1436
- }, n)
1627
+ }, s)
1437
1628
  ) : /* @__PURE__ */ l(
1438
1629
  "hr",
1439
1630
  u({
1440
1631
  className: d,
1441
1632
  role: "separator",
1442
1633
  "aria-orientation": "horizontal"
1443
- }, n)
1634
+ }, s)
1444
1635
  );
1445
1636
  });
1446
- Qe.displayName = "Separator";
1447
- function Fa(d) {
1637
+ ta.displayName = "Separator";
1638
+ function za(d) {
1448
1639
  var p = d, {
1449
1640
  variant: e = "text",
1450
1641
  width: a,
1451
1642
  height: r,
1452
1643
  lines: t = 1,
1453
- className: n = "",
1454
- "aria-label": o
1455
- } = p, c = b(p, [
1644
+ className: s = "",
1645
+ "aria-label": c
1646
+ } = p, o = h(p, [
1456
1647
  "variant",
1457
1648
  "width",
1458
1649
  "height",
@@ -1469,9 +1660,9 @@ function Fa(d) {
1469
1660
  card: "h-32",
1470
1661
  list: "h-12",
1471
1662
  circle: $("full")
1472
- }, h = s(...x, m[e], n), f = {};
1663
+ }, b = n(...x, m[e], s), f = {};
1473
1664
  a && (f.width = a), r && (f.height = r);
1474
- const g = o || `Loading ${e} content`;
1665
+ const g = c || `Loading ${e} content`;
1475
1666
  return e === "text" && t > 1 ? /* @__PURE__ */ l(
1476
1667
  "div",
1477
1668
  y(u({
@@ -1479,11 +1670,11 @@ function Fa(d) {
1479
1670
  role: "status",
1480
1671
  "aria-busy": "true",
1481
1672
  "aria-label": g
1482
- }, c), {
1673
+ }, o), {
1483
1674
  children: Array.from({ length: t }).map((w, N) => /* @__PURE__ */ l(
1484
1675
  "div",
1485
1676
  {
1486
- className: h,
1677
+ className: b,
1487
1678
  style: N === t - 1 ? { width: "75%" } : f,
1488
1679
  "aria-hidden": "true"
1489
1680
  },
@@ -1493,15 +1684,15 @@ function Fa(d) {
1493
1684
  ) : /* @__PURE__ */ l(
1494
1685
  "div",
1495
1686
  u({
1496
- className: h,
1687
+ className: b,
1497
1688
  style: f,
1498
1689
  role: "status",
1499
1690
  "aria-busy": "true",
1500
1691
  "aria-label": g
1501
- }, c)
1692
+ }, o)
1502
1693
  );
1503
1694
  }
1504
- const ea = {
1695
+ const ra = {
1505
1696
  primary: {
1506
1697
  // exception: variant color — no semantic equivalent (Principle 3, .claude/rules/colors.md)
1507
1698
  light: "text-indigo-400",
@@ -1553,16 +1744,16 @@ const ea = {
1553
1744
  contrast: "text-fg-inverse"
1554
1745
  }
1555
1746
  };
1556
- function aa(x, p) {
1747
+ function na(x, p) {
1557
1748
  var m = x, {
1558
1749
  variant: e = "paragraph",
1559
1750
  bold: a,
1560
1751
  italic: r,
1561
1752
  className: t,
1562
- as: n,
1563
- colorRole: o = "neutral",
1564
- colorShade: c = "dark"
1565
- } = m, d = b(m, [
1753
+ as: s,
1754
+ colorRole: c = "neutral",
1755
+ colorShade: o = "dark"
1756
+ } = m, d = h(m, [
1566
1757
  "variant",
1567
1758
  "bold",
1568
1759
  "italic",
@@ -1571,10 +1762,10 @@ function aa(x, p) {
1571
1762
  "colorRole",
1572
1763
  "colorShade"
1573
1764
  ]);
1574
- const h = [];
1765
+ const b = [];
1575
1766
  let f;
1576
- if (n)
1577
- f = n;
1767
+ if (s)
1768
+ f = s;
1578
1769
  else
1579
1770
  switch (e) {
1580
1771
  case "heading":
@@ -1587,25 +1778,25 @@ function aa(x, p) {
1587
1778
  f = "p";
1588
1779
  break;
1589
1780
  }
1590
- return e === "heading" ? h.push(D("h2")) : e === "body" || e === "paragraph" ? h.push(D("body")) : e === "bodySmall" ? h.push(D("bodySmall")) : e === "bodyLarge" ? h.push(D("bodyLarge")) : e === "caption" ? h.push(D("caption")) : e === "label" ? h.push(D("label")) : h.push(D("body")), a && h.push("font-bold"), r && h.push("italic"), h.push(ea[o][c]), /* @__PURE__ */ l(f, u({ ref: p, className: s(...h, t) }, d));
1781
+ return e === "heading" ? b.push(D("h2")) : e === "body" || e === "paragraph" ? b.push(D("body")) : e === "bodySmall" ? b.push(D("bodySmall")) : e === "bodyLarge" ? b.push(D("bodyLarge")) : e === "caption" ? b.push(D("caption")) : e === "label" ? b.push(D("label")) : b.push(D("body")), a && b.push("font-bold"), r && b.push("italic"), b.push(ra[c][o]), /* @__PURE__ */ l(f, u({ ref: p, className: n(...b, t) }, d));
1591
1782
  }
1592
- const _ = j(aa), ta = {
1783
+ const M = _(na), sa = {
1593
1784
  sm: "max-w-screen-sm",
1594
1785
  md: "max-w-screen-md",
1595
1786
  lg: "max-w-screen-lg",
1596
1787
  xl: "max-w-screen-xl",
1597
1788
  "2xl": "max-w-screen-2xl",
1598
1789
  full: "max-w-full"
1599
- }, ra = ce.forwardRef(
1790
+ }, ia = ce.forwardRef(
1600
1791
  (p, d) => {
1601
1792
  var x = p, {
1602
1793
  className: e,
1603
1794
  maxWidth: a = "lg",
1604
1795
  paddingX: r = "base",
1605
1796
  paddingY: t = "base",
1606
- center: n = !0,
1607
- children: o
1608
- } = x, c = b(x, [
1797
+ center: s = !0,
1798
+ children: c
1799
+ } = x, o = h(x, [
1609
1800
  "className",
1610
1801
  "maxWidth",
1611
1802
  "paddingX",
@@ -1617,31 +1808,31 @@ const _ = j(aa), ta = {
1617
1808
  "div",
1618
1809
  y(u({
1619
1810
  ref: d,
1620
- className: s(
1811
+ className: n(
1621
1812
  "w-full",
1622
- ta[a],
1813
+ sa[a],
1623
1814
  i(r, "px"),
1624
1815
  i(t, "py"),
1625
- n && "mx-auto",
1816
+ s && "mx-auto",
1626
1817
  e
1627
1818
  )
1628
- }, c), {
1629
- children: o
1819
+ }, o), {
1820
+ children: c
1630
1821
  })
1631
1822
  );
1632
1823
  }
1633
1824
  );
1634
- ra.displayName = "Container";
1635
- const na = ce.forwardRef(
1825
+ ia.displayName = "Container";
1826
+ const la = ce.forwardRef(
1636
1827
  (p, d) => {
1637
1828
  var x = p, {
1638
1829
  className: e,
1639
1830
  spacing: a = "base",
1640
1831
  align: r = "stretch",
1641
1832
  justify: t = "start",
1642
- direction: n = "column",
1643
- children: o
1644
- } = x, c = b(x, [
1833
+ direction: s = "column",
1834
+ children: c
1835
+ } = x, o = h(x, [
1645
1836
  "className",
1646
1837
  "spacing",
1647
1838
  "align",
@@ -1649,7 +1840,7 @@ const na = ce.forwardRef(
1649
1840
  "direction",
1650
1841
  "children"
1651
1842
  ]);
1652
- const m = n === "column" ? i(a, "gap-y") : i(a, "gap-x"), h = {
1843
+ const m = s === "column" ? i(a, "gap-y") : i(a, "gap-x"), b = {
1653
1844
  start: "items-start",
1654
1845
  center: "items-center",
1655
1846
  end: "items-end",
@@ -1666,48 +1857,48 @@ const na = ce.forwardRef(
1666
1857
  "div",
1667
1858
  y(u({
1668
1859
  ref: d,
1669
- className: s(
1860
+ className: n(
1670
1861
  "flex",
1671
- n === "column" ? "flex-col" : "flex-row",
1862
+ s === "column" ? "flex-col" : "flex-row",
1672
1863
  m,
1673
- h[r],
1864
+ b[r],
1674
1865
  f[t],
1675
1866
  e
1676
1867
  )
1677
- }, c), {
1678
- children: o
1868
+ }, o), {
1869
+ children: c
1679
1870
  })
1680
1871
  );
1681
1872
  }
1682
1873
  );
1683
- na.displayName = "Stack";
1684
- function sa(n) {
1685
- var o = n, {
1874
+ la.displayName = "Stack";
1875
+ function oa(s) {
1876
+ var c = s, {
1686
1877
  items: e,
1687
1878
  separator: a = "/",
1688
1879
  className: r = ""
1689
- } = o, t = b(o, [
1880
+ } = c, t = h(c, [
1690
1881
  "items",
1691
1882
  "separator",
1692
1883
  "className"
1693
1884
  ]);
1694
- const c = [
1885
+ const o = [
1695
1886
  "flex",
1696
1887
  "items-center",
1697
1888
  i("sm", "space-x"),
1698
1889
  S("bodySmall")
1699
- ], d = s(...c, r);
1890
+ ], d = n(...o, r);
1700
1891
  return /* @__PURE__ */ l("nav", y(u({ "aria-label": "Breadcrumb", className: d }, t), { children: /* @__PURE__ */ l(
1701
1892
  "ol",
1702
1893
  {
1703
- className: s("flex", "items-center", i("sm", "space-x")),
1894
+ className: n("flex", "items-center", i("sm", "space-x")),
1704
1895
  children: e.map((p, x) => {
1705
1896
  const m = x === e.length - 1;
1706
1897
  return /* @__PURE__ */ v("li", { className: "flex items-center", children: [
1707
1898
  x > 0 && /* @__PURE__ */ l(
1708
1899
  "span",
1709
1900
  {
1710
- className: s(
1901
+ className: n(
1711
1902
  i("sm", "mx"),
1712
1903
  "text-fg-tertiary"
1713
1904
  ),
@@ -1718,9 +1909,9 @@ function sa(n) {
1718
1909
  m ? /* @__PURE__ */ l(
1719
1910
  "span",
1720
1911
  {
1721
- className: s(
1912
+ className: n(
1722
1913
  "text-fg-primary",
1723
- O("label")
1914
+ B("label")
1724
1915
  ),
1725
1916
  "aria-current": "page",
1726
1917
  children: p.label
@@ -1729,7 +1920,7 @@ function sa(n) {
1729
1920
  "a",
1730
1921
  {
1731
1922
  href: p.href,
1732
- className: s(
1923
+ className: n(
1733
1924
  "inline-flex",
1734
1925
  "items-center",
1735
1926
  i("xs", "px"),
@@ -1737,7 +1928,7 @@ function sa(n) {
1737
1928
  "border-b-2",
1738
1929
  "border-transparent",
1739
1930
  S("bodySmall"),
1740
- O("label"),
1931
+ B("label"),
1741
1932
  "transition-colors",
1742
1933
  "text-fg-secondary",
1743
1934
  "hover:border-line-emphasis",
@@ -1751,12 +1942,12 @@ function sa(n) {
1751
1942
  }
1752
1943
  ) }));
1753
1944
  }
1754
- function ia(t) {
1755
- var n = t, { children: e, className: a } = n, r = b(n, ["children", "className"]);
1945
+ function ca(t) {
1946
+ var s = t, { children: e, className: a } = s, r = h(s, ["children", "className"]);
1756
1947
  return /* @__PURE__ */ l(
1757
1948
  "div",
1758
1949
  y(u({
1759
- className: s(
1950
+ className: n(
1760
1951
  "grid items-start",
1761
1952
  i("1.5", "gap"),
1762
1953
  i("base", "mb"),
@@ -1769,14 +1960,14 @@ function ia(t) {
1769
1960
  })
1770
1961
  );
1771
1962
  }
1772
- function la(c) {
1773
- var d = c, {
1963
+ function da(o) {
1964
+ var d = o, {
1774
1965
  children: e,
1775
1966
  icon: a,
1776
1967
  badge: r,
1777
1968
  as: t = "h2",
1778
- className: n
1779
- } = d, o = b(d, [
1969
+ className: s
1970
+ } = d, c = h(d, [
1780
1971
  "children",
1781
1972
  "icon",
1782
1973
  "badge",
@@ -1786,13 +1977,13 @@ function la(c) {
1786
1977
  return /* @__PURE__ */ v(
1787
1978
  t,
1788
1979
  y(u({
1789
- className: s(
1980
+ className: n(
1790
1981
  "text-base font-semibold text-fg-primary",
1791
1982
  "flex items-center",
1792
1983
  i("sm", "gap"),
1793
- n
1984
+ s
1794
1985
  )
1795
- }, o), {
1986
+ }, c), {
1796
1987
  children: [
1797
1988
  a ? /* @__PURE__ */ l("span", { className: "shrink-0 inline-flex", children: a }) : null,
1798
1989
  /* @__PURE__ */ l("span", { children: e }),
@@ -1801,21 +1992,21 @@ function la(c) {
1801
1992
  })
1802
1993
  );
1803
1994
  }
1804
- function oa(t) {
1805
- var n = t, {
1995
+ function ua(t) {
1996
+ var s = t, {
1806
1997
  children: e,
1807
1998
  className: a
1808
- } = n, r = b(n, [
1999
+ } = s, r = h(s, [
1809
2000
  "children",
1810
2001
  "className"
1811
2002
  ]);
1812
- return /* @__PURE__ */ l("p", y(u({ className: s("text-sm text-fg-secondary", a) }, r), { children: e }));
2003
+ return /* @__PURE__ */ l("p", y(u({ className: n("text-sm text-fg-secondary", a) }, r), { children: e }));
1813
2004
  }
1814
- function ca(t) {
1815
- var n = t, {
2005
+ function fa(t) {
2006
+ var s = t, {
1816
2007
  children: e,
1817
2008
  className: a
1818
- } = n, r = b(n, [
2009
+ } = s, r = h(s, [
1819
2010
  "children",
1820
2011
  "className"
1821
2012
  ]);
@@ -1823,7 +2014,7 @@ function ca(t) {
1823
2014
  "div",
1824
2015
  y(u({
1825
2016
  "data-card-actions": "",
1826
- className: s(
2017
+ className: n(
1827
2018
  "flex items-center self-start",
1828
2019
  i("sm", "gap"),
1829
2020
  a
@@ -1833,21 +2024,21 @@ function ca(t) {
1833
2024
  })
1834
2025
  );
1835
2026
  }
1836
- function da(t) {
1837
- var n = t, { children: e, className: a } = n, r = b(n, ["children", "className"]);
1838
- return /* @__PURE__ */ l("div", y(u({ className: s(a) }, r), { children: e }));
2027
+ function pa(t) {
2028
+ var s = t, { children: e, className: a } = s, r = h(s, ["children", "className"]);
2029
+ return /* @__PURE__ */ l("div", y(u({ className: n(a) }, r), { children: e }));
1839
2030
  }
1840
- function ua(x) {
2031
+ function ma(x) {
1841
2032
  var m = x, {
1842
2033
  variant: e = "default",
1843
2034
  padding: a = "medium",
1844
2035
  className: r = "",
1845
2036
  onClick: t,
1846
- "aria-label": n,
1847
- "aria-labelledby": o,
1848
- asSection: c = !1,
2037
+ "aria-label": s,
2038
+ "aria-labelledby": c,
2039
+ asSection: o = !1,
1849
2040
  children: d
1850
- } = m, p = b(m, [
2041
+ } = m, p = h(m, [
1851
2042
  "variant",
1852
2043
  "padding",
1853
2044
  "className",
@@ -1857,27 +2048,27 @@ function ua(x) {
1857
2048
  "asSection",
1858
2049
  "children"
1859
2050
  ]);
1860
- typeof process != "undefined" && process.env.NODE_ENV !== "production" && c && !n && !o && console.warn(
2051
+ typeof process != "undefined" && process.env.NODE_ENV !== "production" && o && !s && !c && console.warn(
1861
2052
  "[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."
1862
2053
  );
1863
- const h = L(
1864
- s(
2054
+ const b = L(
2055
+ n(
1865
2056
  "bg-surface-base",
1866
2057
  $("lg"),
1867
2058
  "border",
1868
2059
  "border-line-default",
1869
- q("sm")
2060
+ Y("sm")
1870
2061
  ),
1871
2062
  {
1872
2063
  variants: {
1873
2064
  variant: {
1874
2065
  default: "",
1875
- hover: s(
1876
- `hover:${q("md")}`,
2066
+ hover: n(
2067
+ `hover:${Y("md")}`,
1877
2068
  "transition-shadow",
1878
2069
  "cursor-pointer"
1879
2070
  ),
1880
- selected: s("border-line-brand", q("md"))
2071
+ selected: n("border-line-brand", Y("md"))
1881
2072
  },
1882
2073
  padding: {
1883
2074
  none: "",
@@ -1891,32 +2082,32 @@ function ua(x) {
1891
2082
  padding: "medium"
1892
2083
  }
1893
2084
  }
1894
- ), f = t !== void 0, g = f ? "button" : void 0, w = f ? 0 : void 0, N = s(h({ variant: e, padding: a }), r), T = u({
2085
+ ), f = t !== void 0, g = f ? "button" : void 0, w = f ? 0 : void 0, N = n(b({ variant: e, padding: a }), r), k = u({
1895
2086
  className: N,
1896
2087
  role: g,
1897
2088
  tabIndex: w,
1898
2089
  onClick: t,
1899
- onKeyDown: f ? (z) => {
1900
- f && (z.key === "Enter" || z.key === " ") && (z.preventDefault(), t == null || t());
2090
+ onKeyDown: f ? (F) => {
2091
+ f && (F.key === "Enter" || F.key === " ") && (F.preventDefault(), t == null || t());
1901
2092
  } : void 0,
1902
- "aria-label": n,
1903
- "aria-labelledby": o
2093
+ "aria-label": s,
2094
+ "aria-labelledby": c
1904
2095
  }, p);
1905
- return c ? /* @__PURE__ */ l("section", y(u({}, T), { children: d })) : /* @__PURE__ */ l("div", y(u({}, T), { children: d }));
2096
+ return o ? /* @__PURE__ */ l("section", y(u({}, k), { children: d })) : /* @__PURE__ */ l("div", y(u({}, k), { children: d }));
1906
2097
  }
1907
- const pe = M(ua);
2098
+ const pe = H(ma);
1908
2099
  pe.displayName = "Card";
1909
- const H = pe;
1910
- H.Header = ia;
1911
- H.Title = la;
1912
- H.Subtitle = oa;
1913
- H.Actions = ca;
1914
- H.Body = da;
1915
- function Da(t) {
1916
- var n = t, {
2100
+ const W = pe;
2101
+ W.Header = ca;
2102
+ W.Title = da;
2103
+ W.Subtitle = ua;
2104
+ W.Actions = fa;
2105
+ W.Body = pa;
2106
+ function Ra(t) {
2107
+ var s = t, {
1917
2108
  children: e,
1918
2109
  className: a = ""
1919
- } = n, r = b(n, [
2110
+ } = s, r = h(s, [
1920
2111
  "children",
1921
2112
  "className"
1922
2113
  ]);
@@ -1929,11 +2120,11 @@ function Da(t) {
1929
2120
  })
1930
2121
  );
1931
2122
  }
1932
- function ja(t) {
1933
- var n = t, {
2123
+ function Oa(t) {
2124
+ var s = t, {
1934
2125
  children: e,
1935
2126
  className: a = ""
1936
- } = n, r = b(n, [
2127
+ } = s, r = h(s, [
1937
2128
  "children",
1938
2129
  "className"
1939
2130
  ]);
@@ -1946,11 +2137,11 @@ function ja(t) {
1946
2137
  })
1947
2138
  );
1948
2139
  }
1949
- function Ra(t) {
1950
- var n = t, {
2140
+ function Ma(t) {
2141
+ var s = t, {
1951
2142
  children: e,
1952
2143
  className: a = ""
1953
- } = n, r = b(n, [
2144
+ } = s, r = h(s, [
1954
2145
  "children",
1955
2146
  "className"
1956
2147
  ]);
@@ -1968,11 +2159,11 @@ function Ra(t) {
1968
2159
  })
1969
2160
  );
1970
2161
  }
1971
- function _a(t) {
1972
- var n = t, {
2162
+ function Ba(t) {
2163
+ var s = t, {
1973
2164
  children: e,
1974
2165
  className: a = ""
1975
- } = n, r = b(n, [
2166
+ } = s, r = h(s, [
1976
2167
  "children",
1977
2168
  "className"
1978
2169
  ]);
@@ -1993,31 +2184,31 @@ function _a(t) {
1993
2184
  })
1994
2185
  );
1995
2186
  }
1996
- function Oa(o) {
1997
- var c = o, {
2187
+ function Ha(c) {
2188
+ var o = c, {
1998
2189
  label: e,
1999
2190
  children: a,
2000
2191
  wrap: r = !0,
2001
2192
  className: t
2002
- } = c, n = b(c, [
2193
+ } = o, s = h(o, [
2003
2194
  "label",
2004
2195
  "children",
2005
2196
  "wrap",
2006
2197
  "className"
2007
2198
  ]);
2008
- const p = !(n["aria-label"] != null || n["aria-labelledby"] != null) && typeof e == "string" && e !== "" ? e : void 0;
2199
+ const p = !(s["aria-label"] != null || s["aria-labelledby"] != null) && typeof e == "string" && e !== "" ? e : void 0;
2009
2200
  return /* @__PURE__ */ v(
2010
2201
  "div",
2011
2202
  y(u({
2012
2203
  role: "group",
2013
2204
  "aria-label": p,
2014
- className: s(
2205
+ className: n(
2015
2206
  "flex items-center",
2016
2207
  r ? "flex-wrap" : "flex-nowrap",
2017
2208
  i("sm", "gap"),
2018
2209
  t
2019
2210
  )
2020
- }, n), {
2211
+ }, s), {
2021
2212
  children: [
2022
2213
  e ? (
2023
2214
  // shrink-0 keeps the label a stable leading unit: in the wrapping
@@ -2030,11 +2221,11 @@ function Oa(o) {
2030
2221
  })
2031
2222
  );
2032
2223
  }
2033
- function Ma({ children: e, className: a }) {
2224
+ function Pa({ children: e, className: a }) {
2034
2225
  return /* @__PURE__ */ l(
2035
2226
  "div",
2036
2227
  {
2037
- className: s(
2228
+ className: n(
2038
2229
  "flex-shrink-0 flex items-center",
2039
2230
  i("sm", "gap"),
2040
2231
  a
@@ -2043,14 +2234,14 @@ function Ma({ children: e, className: a }) {
2043
2234
  }
2044
2235
  );
2045
2236
  }
2046
- function Ha({
2237
+ function Ia({
2047
2238
  children: e,
2048
2239
  className: a
2049
2240
  }) {
2050
2241
  return /* @__PURE__ */ l(
2051
2242
  "nav",
2052
2243
  {
2053
- className: s(
2244
+ className: n(
2054
2245
  "flex-1 flex items-center justify-center",
2055
2246
  i("base", "gap"),
2056
2247
  "hidden md:flex",
@@ -2062,8 +2253,8 @@ function Ha({
2062
2253
  }
2063
2254
  );
2064
2255
  }
2065
- const fa = L(
2066
- s(
2256
+ const ga = L(
2257
+ n(
2067
2258
  "w-full flex flex-col",
2068
2259
  i("2xl", "py"),
2069
2260
  // 40px vertical breathing room
@@ -2077,7 +2268,7 @@ const fa = L(
2077
2268
  variant: {
2078
2269
  plain: "",
2079
2270
  gradient: "hero-gradient",
2080
- "gradient-glow": s("hero-gradient", "hero-glow")
2271
+ "gradient-glow": n("hero-gradient", "hero-glow")
2081
2272
  },
2082
2273
  align: {
2083
2274
  start: "text-left",
@@ -2089,27 +2280,27 @@ const fa = L(
2089
2280
  align: "start"
2090
2281
  }
2091
2282
  }
2092
- ), pa = {
2283
+ ), xa = {
2093
2284
  start: "items-start",
2094
2285
  center: "items-center"
2095
- }, ma = {
2286
+ }, ba = {
2096
2287
  start: "justify-start",
2097
2288
  center: "justify-center"
2098
- }, ga = j(
2289
+ }, ha = _(
2099
2290
  function(w, g) {
2100
2291
  var N = w, {
2101
2292
  kicker: a,
2102
2293
  title: r,
2103
2294
  description: t,
2104
- actions: n,
2105
- kpis: o,
2106
- meta: c,
2295
+ actions: s,
2296
+ kpis: c,
2297
+ meta: o,
2107
2298
  variant: d = "plain",
2108
2299
  align: p = "start",
2109
2300
  className: x,
2110
2301
  "aria-label": m,
2111
- "aria-labelledby": h
2112
- } = N, f = b(N, [
2302
+ "aria-labelledby": b
2303
+ } = N, f = h(N, [
2113
2304
  "kicker",
2114
2305
  "title",
2115
2306
  "description",
@@ -2122,29 +2313,29 @@ const fa = L(
2122
2313
  "aria-label",
2123
2314
  "aria-labelledby"
2124
2315
  ]);
2125
- const E = m != null || h != null, T = m != null ? m : typeof r == "string" ? r : void 0;
2126
- return typeof process != "undefined" && process.env.NODE_ENV !== "production" && !E && typeof r != "string" && console.warn(
2316
+ const T = m != null || b != null, k = m != null ? m : typeof r == "string" ? r : void 0;
2317
+ return typeof process != "undefined" && process.env.NODE_ENV !== "production" && !T && typeof r != "string" && console.warn(
2127
2318
  "[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."
2128
2319
  ), /* @__PURE__ */ v(
2129
2320
  "section",
2130
2321
  y(u({
2131
2322
  ref: g,
2132
- className: s(fa({ variant: d, align: p }), x),
2133
- "aria-label": T,
2134
- "aria-labelledby": h
2323
+ className: n(ga({ variant: d, align: p }), x),
2324
+ "aria-label": k,
2325
+ "aria-labelledby": b
2135
2326
  }, f), {
2136
2327
  children: [
2137
2328
  /* @__PURE__ */ v(
2138
2329
  "div",
2139
2330
  {
2140
- className: s(
2331
+ className: n(
2141
2332
  "flex flex-col",
2142
2333
  i("md", "gap-y"),
2143
- pa[p]
2334
+ xa[p]
2144
2335
  ),
2145
2336
  children: [
2146
2337
  a ? /* @__PURE__ */ l(
2147
- _,
2338
+ M,
2148
2339
  {
2149
2340
  as: "span",
2150
2341
  variant: "caption",
@@ -2155,7 +2346,7 @@ const fa = L(
2155
2346
  }
2156
2347
  ) : null,
2157
2348
  /* @__PURE__ */ l(
2158
- _,
2349
+ M,
2159
2350
  {
2160
2351
  as: "h1",
2161
2352
  variant: "heading",
@@ -2164,7 +2355,7 @@ const fa = L(
2164
2355
  }
2165
2356
  ),
2166
2357
  t ? /* @__PURE__ */ l(
2167
- _,
2358
+ M,
2168
2359
  {
2169
2360
  as: "p",
2170
2361
  variant: "body",
@@ -2177,27 +2368,27 @@ const fa = L(
2177
2368
  ]
2178
2369
  }
2179
2370
  ),
2180
- n ? /* @__PURE__ */ l(
2371
+ s ? /* @__PURE__ */ l(
2181
2372
  "div",
2182
2373
  {
2183
- className: s(
2374
+ className: n(
2184
2375
  "flex flex-wrap",
2185
2376
  i("sm", "gap"),
2186
- ma[p]
2377
+ ba[p]
2187
2378
  ),
2188
- children: n
2379
+ children: s
2189
2380
  }
2190
2381
  ) : null,
2191
- o ? /* @__PURE__ */ l("div", { className: "w-full", children: o }) : null,
2192
- c ? /* @__PURE__ */ l(
2193
- _,
2382
+ c ? /* @__PURE__ */ l("div", { className: "w-full", children: c }) : null,
2383
+ o ? /* @__PURE__ */ l(
2384
+ M,
2194
2385
  {
2195
2386
  as: "p",
2196
2387
  variant: "caption",
2197
2388
  colorRole: "neutral",
2198
2389
  colorShade: "light",
2199
2390
  className: "text-sm",
2200
- children: c
2391
+ children: o
2201
2392
  }
2202
2393
  ) : null
2203
2394
  ]
@@ -2205,11 +2396,11 @@ const fa = L(
2205
2396
  );
2206
2397
  }
2207
2398
  );
2208
- ga.displayName = "HeroSection";
2209
- function Pa(r) {
2399
+ ha.displayName = "HeroSection";
2400
+ function Wa(r) {
2210
2401
  var t = r, {
2211
2402
  className: e = ""
2212
- } = t, a = b(t, [
2403
+ } = t, a = h(t, [
2213
2404
  "className"
2214
2405
  ]);
2215
2406
  return /* @__PURE__ */ l(
@@ -2225,25 +2416,25 @@ function Pa(r) {
2225
2416
  }, a)
2226
2417
  );
2227
2418
  }
2228
- function Wa(t) {
2229
- var n = t, {
2419
+ function Ua(t) {
2420
+ var s = t, {
2230
2421
  orientation: e = "horizontal",
2231
2422
  className: a = ""
2232
- } = n, r = b(n, [
2423
+ } = s, r = h(s, [
2233
2424
  "orientation",
2234
2425
  "className"
2235
2426
  ]);
2236
2427
  return e === "vertical" ? /* @__PURE__ */ l(
2237
2428
  "div",
2238
2429
  u({
2239
- className: s("w-px", "h-6", "bg-line-default", "mx-auto", a),
2430
+ className: n("w-px", "h-6", "bg-line-default", "mx-auto", a),
2240
2431
  role: "separator",
2241
2432
  "aria-orientation": "vertical"
2242
2433
  }, r)
2243
2434
  ) : /* @__PURE__ */ l(
2244
2435
  "div",
2245
2436
  u({
2246
- className: s(
2437
+ className: n(
2247
2438
  "w-full",
2248
2439
  "h-px",
2249
2440
  "bg-line-default",
@@ -2263,14 +2454,14 @@ function Wa(t) {
2263
2454
  }, r)
2264
2455
  );
2265
2456
  }
2266
- const xa = L(
2457
+ const ya = L(
2267
2458
  // Base classes
2268
- s("w-full", "flex", "flex-col", i("sm", "gap")),
2459
+ n("w-full", "flex", "flex-col", i("sm", "gap")),
2269
2460
  {
2270
2461
  variants: {
2271
2462
  variant: {
2272
- default: s(i("base", "mb")),
2273
- compact: s(i("sm", "mb"))
2463
+ default: n(i("base", "mb")),
2464
+ compact: n(i("sm", "mb"))
2274
2465
  }
2275
2466
  },
2276
2467
  defaultVariants: {
@@ -2278,15 +2469,15 @@ const xa = L(
2278
2469
  }
2279
2470
  }
2280
2471
  );
2281
- function Ba(d) {
2472
+ function Ka(d) {
2282
2473
  var p = d, {
2283
2474
  title: e,
2284
2475
  description: a,
2285
2476
  breadcrumb: r,
2286
2477
  actions: t,
2287
- variant: n = "default",
2288
- className: o
2289
- } = p, c = b(p, [
2478
+ variant: s = "default",
2479
+ className: c
2480
+ } = p, o = h(p, [
2290
2481
  "title",
2291
2482
  "description",
2292
2483
  "breadcrumb",
@@ -2294,8 +2485,8 @@ function Ba(d) {
2294
2485
  "variant",
2295
2486
  "className"
2296
2487
  ]);
2297
- return /* @__PURE__ */ v("div", y(u({ className: s(xa({ variant: n }), o) }, c), { children: [
2298
- r && r.length > 0 && /* @__PURE__ */ l(sa, { items: r }),
2488
+ return /* @__PURE__ */ v("div", y(u({ className: n(ya({ variant: s }), c) }, o), { children: [
2489
+ r && r.length > 0 && /* @__PURE__ */ l(oa, { items: r }),
2299
2490
  /* @__PURE__ */ v(
2300
2491
  "div",
2301
2492
  {
@@ -2303,7 +2494,7 @@ function Ba(d) {
2303
2494
  children: [
2304
2495
  /* @__PURE__ */ v("div", { className: "flex-1 min-w-0", children: [
2305
2496
  /* @__PURE__ */ l(
2306
- _,
2497
+ M,
2307
2498
  {
2308
2499
  variant: "heading",
2309
2500
  as: "h1",
@@ -2311,7 +2502,7 @@ function Ba(d) {
2311
2502
  children: e
2312
2503
  }
2313
2504
  ),
2314
- a && /* @__PURE__ */ l(_, { variant: "body", className: "text-fg-secondary", children: a })
2505
+ a && /* @__PURE__ */ l(M, { variant: "body", className: "text-fg-secondary", children: a })
2315
2506
  ] }),
2316
2507
  t && /* @__PURE__ */ l(
2317
2508
  "div",
@@ -2325,25 +2516,25 @@ function Ba(d) {
2325
2516
  )
2326
2517
  ] }));
2327
2518
  }
2328
- const ba = {
2519
+ const va = {
2329
2520
  start: "items-start text-left",
2330
2521
  center: "items-center text-center"
2331
- }, ha = {
2522
+ }, wa = {
2332
2523
  neutral: "text-fg-tertiary",
2333
2524
  success: "text-fg-success",
2334
2525
  warning: "text-fg-warning",
2335
2526
  error: "text-fg-error"
2336
2527
  };
2337
- function Ia(p) {
2528
+ function qa(p) {
2338
2529
  var x = p, {
2339
2530
  value: e,
2340
2531
  label: a,
2341
2532
  hint: r,
2342
2533
  icon: t,
2343
- align: n = "start",
2344
- tone: o = "neutral",
2345
- className: c
2346
- } = x, d = b(x, [
2534
+ align: s = "start",
2535
+ tone: c = "neutral",
2536
+ className: o
2537
+ } = x, d = h(x, [
2347
2538
  "value",
2348
2539
  "label",
2349
2540
  "hint",
@@ -2356,12 +2547,12 @@ function Ia(p) {
2356
2547
  return /* @__PURE__ */ v(
2357
2548
  "div",
2358
2549
  y(u({
2359
- className: s(
2550
+ className: n(
2360
2551
  "bg-surface-base flex-1 flex flex-col",
2361
2552
  i("base", "p"),
2362
2553
  i("xs", "gap-y"),
2363
- ba[n],
2364
- c
2554
+ va[s],
2555
+ o
2365
2556
  )
2366
2557
  }, d), {
2367
2558
  children: [
@@ -2375,23 +2566,23 @@ function Ia(p) {
2375
2566
  }
2376
2567
  ) : /* @__PURE__ */ l("span", { className: "text-fg-primary text-2xl font-semibold leading-tight", children: e }),
2377
2568
  /* @__PURE__ */ l("span", { className: "text-fg-secondary text-sm", children: a }),
2378
- r ? /* @__PURE__ */ l("span", { className: s("text-xs", ha[o]), children: r }) : null
2569
+ r ? /* @__PURE__ */ l("span", { className: n("text-xs", wa[c]), children: r }) : null
2379
2570
  ]
2380
2571
  })
2381
2572
  );
2382
2573
  }
2383
- const ya = {
2574
+ const Na = {
2384
2575
  2: "md:grid-cols-2",
2385
2576
  3: "md:grid-cols-3",
2386
2577
  4: "md:grid-cols-4"
2387
2578
  };
2388
- function Ua(o) {
2389
- var c = o, {
2579
+ function Xa(c) {
2580
+ var o = c, {
2390
2581
  layout: e = "grid",
2391
2582
  cols: a = 4,
2392
2583
  className: r,
2393
2584
  children: t
2394
- } = c, n = b(c, [
2585
+ } = o, s = h(o, [
2395
2586
  "layout",
2396
2587
  "cols",
2397
2588
  "className",
@@ -2401,41 +2592,41 @@ function Ua(o) {
2401
2592
  return /* @__PURE__ */ l(
2402
2593
  "div",
2403
2594
  y(u({
2404
- className: s(
2595
+ className: n(
2405
2596
  "bg-line-default border border-line-default overflow-hidden gap-px",
2406
2597
  $("lg"),
2407
- d ? `grid grid-cols-2 ${ya[a]}` : "flex",
2598
+ d ? `grid grid-cols-2 ${Na[a]}` : "flex",
2408
2599
  r
2409
2600
  )
2410
- }, n), {
2601
+ }, s), {
2411
2602
  children: t
2412
2603
  })
2413
2604
  );
2414
2605
  }
2415
- function Ka(n) {
2416
- var o = n, { column: e, row: a, className: r = "" } = o, t = b(o, ["column", "row", "className"]);
2417
- const c = e.key in a ? a[e.key] : void 0;
2606
+ function Ga(s) {
2607
+ var c = s, { column: e, row: a, className: r = "" } = c, t = h(c, ["column", "row", "className"]);
2608
+ const o = e.key in a ? a[e.key] : void 0;
2418
2609
  return /* @__PURE__ */ l(
2419
2610
  "td",
2420
2611
  y(u({
2421
2612
  className: `${i("lg", "px")} ${i("base", "py")} whitespace-nowrap text-sm text-fg-primary ${e.hiddenOnMobile ? "hidden md:table-cell" : ""} ${r}`
2422
2613
  }, t), {
2423
- children: e.render ? e.render(c, a) : String(c != null ? c : "")
2614
+ children: e.render ? e.render(o, a) : String(o != null ? o : "")
2424
2615
  })
2425
2616
  );
2426
2617
  }
2427
- const va = L(s("flex items-center", "border-b"), {
2618
+ const Sa = L(n("flex items-center", "border-b"), {
2428
2619
  variants: {
2429
2620
  variant: {
2430
- default: s("border-line-default", i("base", "gap-x")),
2431
- sub: s("border-line-muted", i("sm", "gap-x"))
2621
+ default: n("border-line-default", i("base", "gap-x")),
2622
+ sub: n("border-line-muted", i("sm", "gap-x"))
2432
2623
  }
2433
2624
  },
2434
2625
  defaultVariants: {
2435
2626
  variant: "default"
2436
2627
  }
2437
- }), wa = L(
2438
- s(
2628
+ }), $a = L(
2629
+ n(
2439
2630
  "relative -mb-px inline-flex items-center",
2440
2631
  i("xs", "gap-x"),
2441
2632
  "border-b-2 border-transparent",
@@ -2449,20 +2640,20 @@ const va = L(s("flex items-center", "border-b"), {
2449
2640
  {
2450
2641
  variants: {
2451
2642
  variant: {
2452
- default: s(
2643
+ default: n(
2453
2644
  i("sm", "px"),
2454
2645
  i("sm", "py"),
2455
2646
  S("body")
2456
2647
  ),
2457
- sub: s(
2648
+ sub: n(
2458
2649
  i("sm", "px"),
2459
2650
  i("xs", "py"),
2460
2651
  S("bodySmall")
2461
2652
  )
2462
2653
  },
2463
2654
  active: {
2464
- true: s("border-line-brand", "text-fg-brand-emphasis", "font-medium"),
2465
- false: s(
2655
+ true: n("border-line-brand", "text-fg-brand-emphasis", "font-medium"),
2656
+ false: n(
2466
2657
  "text-fg-secondary",
2467
2658
  "hover:text-fg-primary",
2468
2659
  "hover:border-line-muted"
@@ -2474,7 +2665,7 @@ const va = L(s("flex items-center", "border-b"), {
2474
2665
  {
2475
2666
  variant: "sub",
2476
2667
  active: !1,
2477
- class: s("text-fg-tertiary", "hover:text-fg-secondary")
2668
+ class: n("text-fg-tertiary", "hover:text-fg-secondary")
2478
2669
  }
2479
2670
  ],
2480
2671
  defaultVariants: {
@@ -2482,21 +2673,21 @@ const va = L(s("flex items-center", "border-b"), {
2482
2673
  active: !1
2483
2674
  }
2484
2675
  }
2485
- ), Na = s(
2676
+ ), ka = n(
2486
2677
  "inline-flex items-center justify-center",
2487
2678
  $("full"),
2488
2679
  i("xs", "px"),
2489
2680
  "bg-surface-muted text-fg-secondary text-xs"
2490
- ), Sa = j(
2681
+ ), Ca = _(
2491
2682
  function(x, p) {
2492
2683
  var m = x, {
2493
2684
  items: a,
2494
2685
  variant: r = "default",
2495
2686
  linkComponent: t,
2496
- className: n,
2497
- "aria-label": o,
2498
- "aria-labelledby": c
2499
- } = m, d = b(m, [
2687
+ className: s,
2688
+ "aria-label": c,
2689
+ "aria-labelledby": o
2690
+ } = m, d = h(m, [
2500
2691
  "items",
2501
2692
  "variant",
2502
2693
  "linkComponent",
@@ -2504,29 +2695,29 @@ const va = L(s("flex items-center", "border-b"), {
2504
2695
  "aria-label",
2505
2696
  "aria-labelledby"
2506
2697
  ]);
2507
- typeof process != "undefined" && process.env.NODE_ENV !== "production" && !o && !c && console.warn(
2698
+ typeof process != "undefined" && process.env.NODE_ENV !== "production" && !c && !o && console.warn(
2508
2699
  '[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.'
2509
2700
  );
2510
- const h = t != null ? t : "a";
2701
+ const b = t != null ? t : "a";
2511
2702
  return /* @__PURE__ */ l(
2512
2703
  "nav",
2513
2704
  y(u({
2514
2705
  ref: p,
2515
- className: s(va({ variant: r }), n),
2516
- "aria-label": o,
2517
- "aria-labelledby": c
2706
+ className: n(Sa({ variant: r }), s),
2707
+ "aria-label": c,
2708
+ "aria-labelledby": o
2518
2709
  }, d), {
2519
2710
  children: a.map((f, g) => /* @__PURE__ */ v(
2520
- h,
2711
+ b,
2521
2712
  {
2522
2713
  href: f.href,
2523
2714
  "aria-current": f.active ? "page" : void 0,
2524
2715
  "data-active": f.active ? "true" : void 0,
2525
- className: wa({ variant: r, active: !!f.active }),
2716
+ className: $a({ variant: r, active: !!f.active }),
2526
2717
  children: [
2527
2718
  f.icon ? /* @__PURE__ */ l("span", { "aria-hidden": "true", className: "inline-flex shrink-0", children: f.icon }) : null,
2528
2719
  /* @__PURE__ */ l("span", { children: f.label }),
2529
- f.count !== void 0 ? /* @__PURE__ */ l("span", { className: Na, children: f.count }) : null
2720
+ f.count !== void 0 ? /* @__PURE__ */ l("span", { className: ka, children: f.count }) : null
2530
2721
  ]
2531
2722
  },
2532
2723
  f.href || g
@@ -2535,18 +2726,18 @@ const va = L(s("flex items-center", "border-b"), {
2535
2726
  );
2536
2727
  }
2537
2728
  );
2538
- Sa.displayName = "TabsAsLinks";
2539
- function Xa({
2729
+ Ca.displayName = "TabsAsLinks";
2730
+ function Ya({
2540
2731
  items: e,
2541
2732
  orientation: a = "vertical",
2542
2733
  className: r = ""
2543
2734
  }) {
2544
- return a === "horizontal" ? /* @__PURE__ */ l("div", { className: `flex items-start ${r}`, children: e.map((t, n) => {
2545
- const o = t.status || (n === 0 ? "active" : n < e.findIndex((d) => d.status === "active") ? "completed" : "default"), c = n === e.length - 1;
2735
+ return a === "horizontal" ? /* @__PURE__ */ l("div", { className: `flex items-start ${r}`, children: e.map((t, s) => {
2736
+ const c = t.status || (s === 0 ? "active" : s < e.findIndex((d) => d.status === "active") ? "completed" : "default"), o = s === e.length - 1;
2546
2737
  return /* @__PURE__ */ l("div", { className: "flex items-start flex-1", children: /* @__PURE__ */ v("div", { className: "flex flex-col items-center flex-1", children: [
2547
2738
  /* @__PURE__ */ l(
2548
2739
  "div",
2549
- y(u({}, o === "default" ? { "data-marker": "pending" } : {}), {
2740
+ y(u({}, c === "default" ? { "data-marker": "pending" } : {}), {
2550
2741
  className: `
2551
2742
  flex
2552
2743
  items-center
@@ -2555,19 +2746,19 @@ function Xa({
2555
2746
  h-10
2556
2747
  ${$("full")}
2557
2748
  border-2
2558
- ${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"}
2749
+ ${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"}
2559
2750
  `,
2560
- children: t.icon || (o === "completed" ? /* @__PURE__ */ l(ne, { className: "h-4 w-4" }) : n + 1)
2751
+ children: t.icon || (c === "completed" ? /* @__PURE__ */ l(ne, { className: "h-4 w-4" }) : s + 1)
2561
2752
  })
2562
2753
  ),
2563
- !c && /* @__PURE__ */ l(
2754
+ !o && /* @__PURE__ */ l(
2564
2755
  "div",
2565
2756
  {
2566
2757
  className: `
2567
2758
  w-full
2568
2759
  h-0.5
2569
2760
  ${i("sm", "mt")}
2570
- ${o === "completed" ? "bg-success" : "bg-line-emphasis"}
2761
+ ${c === "completed" ? "bg-success" : "bg-line-emphasis"}
2571
2762
  `
2572
2763
  }
2573
2764
  ),
@@ -2596,8 +2787,8 @@ function Xa({
2596
2787
  }
2597
2788
  )
2598
2789
  ] }) }, t.id);
2599
- }) }) : /* @__PURE__ */ l("div", { className: `${i("none", "space-y")} ${r}`, children: e.map((t, n) => {
2600
- const o = t.status || (n === 0 ? "active" : n < e.findIndex((d) => d.status === "active") ? "completed" : "default"), c = n === e.length - 1;
2790
+ }) }) : /* @__PURE__ */ l("div", { className: `${i("none", "space-y")} ${r}`, children: e.map((t, s) => {
2791
+ const c = t.status || (s === 0 ? "active" : s < e.findIndex((d) => d.status === "active") ? "completed" : "default"), o = s === e.length - 1;
2601
2792
  return /* @__PURE__ */ v(
2602
2793
  "div",
2603
2794
  {
@@ -2606,7 +2797,7 @@ function Xa({
2606
2797
  /* @__PURE__ */ v("div", { className: "flex flex-col items-center", children: [
2607
2798
  /* @__PURE__ */ l(
2608
2799
  "div",
2609
- y(u({}, o === "default" ? { "data-marker": "pending" } : {}), {
2800
+ y(u({}, c === "default" ? { "data-marker": "pending" } : {}), {
2610
2801
  className: `
2611
2802
  flex
2612
2803
  items-center
@@ -2615,12 +2806,12 @@ function Xa({
2615
2806
  h-10
2616
2807
  ${$("full")}
2617
2808
  border-2
2618
- ${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"}
2809
+ ${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"}
2619
2810
  `,
2620
- children: t.icon || (o === "completed" ? /* @__PURE__ */ l(ne, { className: "h-4 w-4" }) : n + 1)
2811
+ children: t.icon || (c === "completed" ? /* @__PURE__ */ l(ne, { className: "h-4 w-4" }) : s + 1)
2621
2812
  })
2622
2813
  ),
2623
- !c && /* @__PURE__ */ l(
2814
+ !o && /* @__PURE__ */ l(
2624
2815
  "div",
2625
2816
  {
2626
2817
  className: `
@@ -2628,7 +2819,7 @@ function Xa({
2628
2819
  flex-1
2629
2820
  min-h-16
2630
2821
  ${i("sm", "mt")}
2631
- ${o === "completed" ? "bg-success" : "bg-line-emphasis"}
2822
+ ${c === "completed" ? "bg-success" : "bg-line-emphasis"}
2632
2823
  `
2633
2824
  }
2634
2825
  )
@@ -2647,7 +2838,7 @@ function Xa({
2647
2838
  className: `
2648
2839
  text-base
2649
2840
  font-semibold
2650
- ${o === "active" ? "text-fg-brand-emphasis" : "text-fg-primary"}
2841
+ ${c === "active" ? "text-fg-brand-emphasis" : "text-fg-primary"}
2651
2842
  `,
2652
2843
  children: t.title
2653
2844
  }
@@ -2669,40 +2860,41 @@ function Xa({
2669
2860
  }
2670
2861
  export {
2671
2862
  Ee as Badge,
2672
- sa as Breadcrumb,
2673
- Be as Button,
2674
- H as Card,
2675
- ca as CardActions,
2676
- da as CardBody,
2677
- ia as CardHeader,
2678
- oa as CardSubtitle,
2679
- la as CardTitle,
2680
- Ie as Chip,
2681
- ra as Container,
2682
- ja as DialogFooter,
2683
- Da as DialogHeader,
2684
- _a as DrawerFooter,
2685
- Ra as DrawerHeader,
2686
- La as ErrorMessage,
2687
- Oa as FilterChips,
2688
- Ma as HeaderActions,
2689
- Ha as HeaderNavigation,
2690
- ga as HeroSection,
2691
- za as Info,
2692
- Xe as Label,
2693
- Pa as MenuSeparator,
2694
- Wa as NavbarSeparator,
2695
- Ba as PageHeader,
2696
- Ye as Progress,
2697
- Qe as Separator,
2698
- Fa as Skeleton,
2863
+ oa as Breadcrumb,
2864
+ Ie as Button,
2865
+ W as Card,
2866
+ fa as CardActions,
2867
+ pa as CardBody,
2868
+ ca as CardHeader,
2869
+ ua as CardSubtitle,
2870
+ da as CardTitle,
2871
+ We as Chip,
2872
+ ia as Container,
2873
+ Oa as DialogFooter,
2874
+ Ra as DialogHeader,
2875
+ Ba as DrawerFooter,
2876
+ Ma as DrawerHeader,
2877
+ _a as ErrorMessage,
2878
+ Ha as FilterChips,
2879
+ Pa as HeaderActions,
2880
+ Ia as HeaderNavigation,
2881
+ ha as HeroSection,
2882
+ ja as Info,
2883
+ qe as InputBase,
2884
+ Ye as Label,
2885
+ Wa as MenuSeparator,
2886
+ Ua as NavbarSeparator,
2887
+ Ka as PageHeader,
2888
+ Qe as Progress,
2889
+ ta as Separator,
2890
+ za as Skeleton,
2699
2891
  fe as Spinner,
2700
- na as Stack,
2701
- Ia as Stat,
2702
- Ua as StatGroup,
2703
- Ka as TableCell,
2704
- Sa as TabsAsLinks,
2705
- _ as Text,
2706
- Xa as Timeline
2892
+ la as Stack,
2893
+ qa as Stat,
2894
+ Xa as StatGroup,
2895
+ Ga as TableCell,
2896
+ Ca as TabsAsLinks,
2897
+ M as Text,
2898
+ Ya as Timeline
2707
2899
  };
2708
2900
  //# sourceMappingURL=index.js.map