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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,33 +1,33 @@
1
- var ge = Object.defineProperty, xe = Object.defineProperties;
2
- var be = Object.getOwnPropertyDescriptors;
3
- var B = Object.getOwnPropertySymbols;
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) => {
1
+ var ge = Object.defineProperty, be = Object.defineProperties;
2
+ var xe = Object.getOwnPropertyDescriptors;
3
+ var K = Object.getOwnPropertySymbols;
4
+ var ae = Object.prototype.hasOwnProperty, te = Object.prototype.propertyIsEnumerable;
5
+ var G = (e, a, r) => a in e ? ge(e, a, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[a] = r, f = (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
+ ae.call(a, r) && G(e, r, a[r]);
8
+ if (K)
9
+ for (var r of K(a))
10
+ te.call(a, r) && G(e, r, a[r]);
11
11
  return e;
12
- }, y = (e, a) => xe(e, be(a));
13
- var b = (e, a) => {
12
+ }, y = (e, a) => be(e, xe(a));
13
+ var h = (e, a) => {
14
14
  var r = {};
15
15
  for (var t in e)
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))
19
- a.indexOf(t) < 0 && ae.call(e, t) && (r[t] = e[t]);
16
+ ae.call(e, t) && a.indexOf(t) < 0 && (r[t] = e[t]);
17
+ if (e != null && K)
18
+ for (var t of K(e))
19
+ a.indexOf(t) < 0 && te.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);
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";
22
+ var re = (e, a, r) => G(e, typeof a != "symbol" ? a + "" : a, r);
23
+ import { jsx as l, jsxs as v, Fragment as Z } from "react/jsx-runtime";
24
+ import * as A from "react";
25
+ import ce, { memo as M, forwardRef as z } 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 _ {
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: _.create("none"),
88
+ sm: _.create("sm"),
89
+ md: _.create("md"),
90
+ lg: _.create("lg"),
91
+ xl: _.create("xl"),
92
+ "2xl": _.create("2xl"),
93
+ "3xl": _.create("3xl"),
94
+ full: _.create("full")
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,45 +163,45 @@ class k {
163
163
  }[a] || String(a);
164
164
  }
165
165
  }
166
- te(k, "BASE_UNIT", 4);
166
+ re(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
- function i(e, a = "p") {
204
+ function s(e, a = "p") {
205
205
  const t = ke[e].tailwind;
206
206
  return `${{
207
207
  p: "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 J = {
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
- function D(e) {
317
- const a = G[e];
316
+ function F(e) {
317
+ const a = J[e];
318
318
  return `${a.fontSize.tailwind} ${a.lineHeight.tailwind} ${a.fontWeight.tailwind}`;
319
319
  }
320
- function S(e) {
321
- return G[e].fontSize.tailwind;
320
+ function w(e) {
321
+ return J[e].fontSize.tailwind;
322
322
  }
323
- function O(e) {
324
- return G[e].fontWeight.tailwind;
323
+ function j(e) {
324
+ return J[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 i = r(t);
333
+ return n(i);
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
+ j("label"),
342
342
  $("md"),
343
343
  "border"
344
344
  ),
@@ -354,20 +354,20 @@ const L = (e, a) => {
354
354
  secondary: ""
355
355
  },
356
356
  size: {
357
- sm: s(
358
- i("1.5", "px"),
359
- i("0.5", "py"),
360
- S("caption")
357
+ sm: n(
358
+ s("1.5", "px"),
359
+ s("0.5", "py"),
360
+ w("caption")
361
361
  ),
362
- md: s(
363
- i("sm", "px"),
364
- i("xs", "py"),
365
- S("caption")
362
+ md: n(
363
+ s("sm", "px"),
364
+ s("xs", "py"),
365
+ w("caption")
366
366
  ),
367
- lg: s(
368
- i("sm", "px"),
369
- i("xs", "py"),
370
- S("bodySmall")
367
+ lg: n(
368
+ s("sm", "px"),
369
+ s("xs", "py"),
370
+ w("bodySmall")
371
371
  )
372
372
  },
373
373
  style: {
@@ -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"
@@ -471,15 +471,15 @@ const L = (e, a) => {
471
471
  }
472
472
  }
473
473
  ), Ee = M(
474
- j(function(x, p) {
475
- var m = x, {
474
+ z(function(b, p) {
475
+ var m = b, {
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: i = "",
480
+ children: c,
481
+ "aria-label": o
482
+ } = m, d = h(m, [
483
483
  "variant",
484
484
  "size",
485
485
  "style",
@@ -487,25 +487,25 @@ 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);
491
- let f;
492
- if (c)
493
- f = c;
494
- else if (typeof o == "string")
495
- f = o;
496
- else if (typeof o == "object" && o !== null && "props" in o) {
497
- const g = o.props;
498
- g != null && g.children && typeof g.children == "string" && (f = g.children);
490
+ const x = n(Ce({ variant: a, size: r, style: t }), i);
491
+ let u;
492
+ if (o)
493
+ u = o;
494
+ else if (typeof c == "string")
495
+ u = c;
496
+ else if (typeof c == "object" && c !== null && "props" in c) {
497
+ const g = c.props;
498
+ g != null && g.children && typeof g.children == "string" && (u = g.children);
499
499
  }
500
500
  return /* @__PURE__ */ l(
501
501
  "span",
502
- y(u({
502
+ y(f({
503
503
  ref: p,
504
504
  role: "status",
505
- "aria-label": f,
506
- className: h
505
+ "aria-label": u,
506
+ className: x
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((i) => {
523
+ const c = se(i, 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 i = 0; i < t.length; i++) {
529
+ const c = t[i];
530
+ typeof c == "function" ? c() : se(e[i], 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 u = r, { children: i } = u, c = h(u, ["children"]), o = null, d = !1;
543
543
  const p = [];
544
- ie(n) && typeof I == "function" && (n = I(n._payload)), V.Children.forEach(n, (w) => {
545
- var N;
546
- if (Re(w)) {
544
+ ie(i) && typeof q == "function" && (i = q(i._payload)), A.Children.forEach(i, (N) => {
545
+ var S;
546
+ if (je(N)) {
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 = N;
549
+ let k = "child" in T.props ? T.props.child : T.props.children;
550
+ ie(k) && typeof q == "function" && (k = q(k._payload)), o = Fe(T, k), p.push((S = o == null ? void 0 : o.props) == null ? void 0 : S.children);
551
551
  } else
552
- p.push(w);
553
- }), c ? c = V.cloneElement(c, void 0, p) : (
552
+ p.push(N);
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(i) === 1 && A.isValidElement(i) && (o = i)
559
559
  );
560
- const x = c ? je(c) : void 0, m = Ve(t, x);
561
- if (!c) {
562
- if (n || n === 0)
560
+ const b = o ? _e(o) : void 0, m = Ve(t, b);
561
+ if (!o) {
562
+ if (i || i === 0)
563
563
  throw new Error(
564
- d ? He(e) : Me(e)
564
+ d ? Me(e) : Oe(e)
565
565
  );
566
- return n;
566
+ return i;
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 x = ze(c, (g = o.props) != null ? g : {});
569
+ return o.type !== A.Fragment && (x.ref = t ? m : b), A.cloneElement(o, x);
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 De = /* @__PURE__ */ Le("Slottable"), Fe = (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) {
587
- const r = u({}, a);
586
+ function ze(e, a) {
587
+ const r = f({}, 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 i = e[t], c = a[t];
590
+ /^on[A-Z]/.test(t) ? i && c ? r[t] = (...d) => {
591
+ const p = c(...d);
592
+ return i(...d), p;
593
+ } : i && (r[t] = i) : t === "style" ? r[t] = f(f({}, i), c) : t === "className" && (r[t] = [i, c].filter(Boolean).join(" "));
594
594
  }
595
- return u(u({}, e), r);
595
+ return f(f({}, e), r);
596
596
  }
597
- function je(e) {
598
- var t, n;
597
+ function _e(e) {
598
+ var t, i;
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 = (i = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : i.get, r = a && "isReactWarning" in a && a.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);
601
601
  }
602
- function Re(e) {
603
- return V.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === ue;
602
+ function je(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 && Be(e._payload);
608
608
  }
609
- function Oe(e) {
609
+ function Be(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 Oe = (e) => `${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`, Me = (e) => `${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`, q = A[" use ".trim().toString()];
613
+ const He = L("motion-safe:animate-spin", {
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 = M(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: i = ""
636
+ } = d, c = h(d, [
637
637
  "size",
638
638
  "variant",
639
639
  "label",
@@ -641,26 +641,26 @@ const Pe = L("motion-safe:animate-spin", {
641
641
  ]);
642
642
  return /* @__PURE__ */ v(
643
643
  "div",
644
- y(u({
645
- className: s("inline-flex", "items-center", n),
644
+ y(f({
645
+ className: n("inline-flex", "items-center", i),
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(
662
- i("sm", "ml"),
663
- S("bodySmall"),
661
+ className: n(
662
+ s("sm", "ml"),
663
+ w("bodySmall"),
664
664
  "text-fg-secondary",
665
665
  "sr-only"
666
666
  ),
@@ -672,13 +672,13 @@ 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",
681
- D("button").split(" ")[2] || "font-medium",
681
+ F("button").split(" ")[2] || "font-medium",
682
682
  // Extract font-medium
683
683
  $("md"),
684
684
  "transition-colors",
@@ -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,18 +717,18 @@ 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",
730
730
  "focus:ring-line-focus",
731
- i("none", "p")
731
+ s("none", "p")
732
732
  ),
733
733
  // Textual call-to-action — brand-coloured text, underline on
734
734
  // hover, no chrome (no surface, no border). Padding is zeroed
@@ -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,23 +766,23 @@ const We = L(
766
766
  )
767
767
  },
768
768
  size: {
769
- sm: s(
770
- i("md", "px"),
771
- i("1.5", "py"),
772
- S("bodySmall"),
773
- i("1.5", "gap")
769
+ sm: n(
770
+ s("md", "px"),
771
+ s("1.5", "py"),
772
+ w("bodySmall"),
773
+ s("1.5", "gap")
774
774
  ),
775
- md: s(
776
- i("base", "px"),
777
- i("sm", "py"),
778
- S("body"),
779
- i("sm", "gap")
775
+ md: n(
776
+ s("base", "px"),
777
+ s("sm", "py"),
778
+ w("body"),
779
+ s("sm", "gap")
780
780
  ),
781
- lg: s(
782
- i("lg", "px"),
783
- i("md", "py"),
784
- S("bodyLarge"),
785
- i("2.5", "gap")
781
+ lg: n(
782
+ s("lg", "px"),
783
+ s("md", "py"),
784
+ w("bodyLarge"),
785
+ s("2.5", "gap")
786
786
  )
787
787
  }
788
788
  },
@@ -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", s("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", s("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", s("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(s("none", "px"), s("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(s("none", "px"), s("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(s("none", "px"), s("none", "py"))
826
826
  }
827
827
  ],
828
828
  defaultVariants: {
@@ -831,36 +831,36 @@ 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
  }) {
838
838
  return e ? /* @__PURE__ */ l(
839
839
  "span",
840
840
  {
841
- className: `inline-flex items-center ${a === "left" ? i("none", "mr") : i("none", "ml")}`,
841
+ className: `inline-flex items-center ${a === "left" ? s("none", "mr") : s("none", "ml")}`,
842
842
  children: e
843
843
  }
844
844
  ) : null;
845
845
  }
846
- const Be = M(
847
- j(function(T, E) {
848
- var z = T, {
846
+ const Ie = M(
847
+ z(function(k, T) {
848
+ var D = 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: i,
853
+ loadingIcon: c,
854
+ leftIcon: o,
855
855
  rightIcon: d,
856
856
  fullWidth: p = !1,
857
- asChild: x = !1,
857
+ asChild: b = !1,
858
858
  as: m,
859
- className: h = "",
860
- disabled: f = !1,
859
+ className: x = "",
860
+ disabled: u = !1,
861
861
  children: g,
862
- "aria-label": w
863
- } = z, N = b(z, [
862
+ "aria-label": N
863
+ } = D, S = h(D, [
864
864
  "variant",
865
865
  "size",
866
866
  "isLoading",
@@ -876,61 +876,61 @@ const Be = M(
876
876
  "children",
877
877
  "aria-label"
878
878
  ]);
879
- typeof process != "undefined" && process.env.NODE_ENV !== "production" && x && m !== void 0 && m !== "button" && console.warn(
879
+ typeof process != "undefined" && process.env.NODE_ENV !== "production" && b && m !== void 0 && m !== "button" && console.warn(
880
880
  "[Button] `as` is ignored when `asChild` is true; the child element is used as the root. Drop one of the two props to silence this warning."
881
881
  );
882
- const P = x ? de : m != null ? m : "button", W = s(
883
- We({ variant: a, size: r }),
882
+ const R = b ? de : m != null ? m : "button", B = 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,
888
- disabled: f || t,
885
+ x
886
+ ), I = (a === "iconOnly" || !g && (o || d)) && !N && !g ? "Button" : N, me = c || /* @__PURE__ */ l(fe, { size: r === "sm" ? "sm" : r === "lg" ? "lg" : "md", variant: a === "error" ? "primary" : a === "primary" || a === "secondary" ? "neutral" : "primary" }), Q = !b && (m === void 0 || m === "button") && !S.type ? "button" : void 0, ee = f(f({
887
+ className: B,
888
+ disabled: u || t,
889
889
  "aria-busy": t,
890
- "aria-label": K,
891
- "aria-disabled": f || t
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: [
890
+ "aria-label": I,
891
+ "aria-disabled": u || t
892
+ }, Q ? { type: Q } : {}), S);
893
+ return b ? /* @__PURE__ */ v(R, y(f({ ref: T }, ee), { children: [
894
+ o && /* @__PURE__ */ l(X, { position: "left", children: o }),
895
+ /* @__PURE__ */ l(De, { children: g }),
896
+ d && /* @__PURE__ */ l(X, { position: "right", children: d })
897
+ ] })) : /* @__PURE__ */ l(R, y(f({ ref: T }, ee), { children: t ? /* @__PURE__ */ v(Z, { 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 })
901
- ] }) : /* @__PURE__ */ v(re, { children: [
902
- c && /* @__PURE__ */ l(U, { position: "left", children: c }),
899
+ i && /* @__PURE__ */ l("span", { className: s("sm", "ml"), children: i }),
900
+ !i && g && /* @__PURE__ */ l("span", { className: `${s("sm", "ml")} opacity-0`, children: g })
901
+ ] }) : /* @__PURE__ */ v(Z, { children: [
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",
915
915
  $("full"),
916
- i("xs", "gap")
916
+ s("xs", "gap")
917
917
  ),
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(
942
- i("xs", "px"),
943
- i("xs", "py"),
944
- S("caption")
941
+ sm: n(
942
+ s("xs", "px"),
943
+ s("xs", "py"),
944
+ w("caption")
945
945
  ),
946
- md: s(
947
- i("sm", "px"),
948
- i("xs", "py"),
949
- S("bodySmall")
946
+ md: n(
947
+ s("sm", "px"),
948
+ s("xs", "py"),
949
+ w("bodySmall")
950
950
  ),
951
- lg: s(
952
- i("md", "px"),
953
- i("sm", "py"),
954
- S("body")
951
+ lg: n(
952
+ s("md", "px"),
953
+ s("sm", "py"),
954
+ w("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,89 +995,89 @@ const le = L(
995
995
  disabled: !1
996
996
  }
997
997
  }
998
- ), Ie = j(function(a, r) {
998
+ ), We = z(function(a, r) {
999
999
  const {
1000
1000
  children: t,
1001
- variant: n = "default",
1002
- size: o = "md",
1003
- selected: c = !1,
1001
+ variant: i = "default",
1002
+ size: c = "md",
1003
+ selected: o = !1,
1004
1004
  disabled: d = !1,
1005
1005
  className: p = "",
1006
- "aria-label": x,
1006
+ "aria-label": b,
1007
1007
  tabIndex: m,
1008
- asChild: h = !1
1008
+ asChild: x = !1
1009
1009
  } = a, g = (() => {
1010
- if (x) return x;
1010
+ if (b) return b;
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 (x)
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: i, size: c, selected: o, disabled: d }),
1025
1025
  p
1026
1026
  ),
1027
- "aria-label": x,
1027
+ "aria-label": b,
1028
1028
  "aria-disabled": d || void 0,
1029
1029
  tabIndex: m,
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: N, onClick: S, count: T } = a, k = S !== void 0, D = k && !d, R = (V) => {
1034
+ d || (V.key === "Enter" || V.key === " ") && (V.preventDefault(), S == null || S());
1035
+ }, B = T !== void 0, P = o || i === "filled", I = B ? /* @__PURE__ */ l(
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",
1043
1043
  "tabular-nums",
1044
1044
  "leading-none",
1045
1045
  $("full"),
1046
- i("xs", "px"),
1047
- i("0.5", "py"),
1048
- S("caption"),
1049
- O("label"),
1050
- Y ? s("bg-surface-base", "text-fg-brand-emphasis") : s("bg-surface-brand-strong", "text-fg-inverse")
1046
+ s("xs", "px"),
1047
+ s("0.5", "py"),
1048
+ w("caption"),
1049
+ j("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 = B && 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 }),
1061
- w && i("xs", "pr"),
1059
+ className: n(
1060
+ le({ variant: i, size: c, selected: o, disabled: d }),
1061
+ N && s("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
- onClick: d ? void 0 : N,
1071
- onKeyDown: P,
1070
+ onClick: d ? void 0 : S,
1071
+ onKeyDown: R,
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": b || U,
1075
+ tabIndex: m !== void 0 ? m : D ? 0 : void 0,
1076
+ className: n(
1077
1077
  "flex-1",
1078
1078
  "bg-transparent",
1079
1079
  "border-0",
1080
- i("none", "p"),
1080
+ s("none", "p"),
1081
1081
  "text-inherit",
1082
1082
  "text-left",
1083
1083
  "cursor-pointer",
@@ -1090,19 +1090,19 @@ const le = L(
1090
1090
  children: t
1091
1091
  }
1092
1092
  ) : /* @__PURE__ */ l("span", { children: t }),
1093
- K,
1094
- w && !d && /* @__PURE__ */ l(
1093
+ I,
1094
+ N && !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(), N();
1100
1100
  },
1101
- className: s(
1102
- i("xs", "ml"),
1101
+ className: n(
1102
+ s("xs", "ml"),
1103
1103
  "hover:bg-tint-hover",
1104
1104
  $("full"),
1105
- i("xs", "p"),
1105
+ s("xs", "p"),
1106
1106
  "transition-colors",
1107
1107
  "focus:outline-none",
1108
1108
  "focus:ring-2",
@@ -1117,89 +1117,384 @@ 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
+ const Ue = L(
1122
+ n("inline-flex", "items-center", "border", $("md")),
1123
+ {
1124
+ variants: {
1125
+ tone: {
1126
+ neutral: n(
1127
+ "bg-surface-muted",
1128
+ "text-fg-primary",
1129
+ "border-line-default"
1130
+ ),
1131
+ success: n("bg-success-bg", "text-success-dark", "border-success"),
1132
+ warning: n("bg-warning-bg", "text-warning-dark", "border-warning"),
1133
+ error: n("bg-error-bg", "text-error-dark", "border-error"),
1134
+ info: n("bg-info-bg", "text-info-dark", "border-info"),
1135
+ primary: n(
1136
+ "bg-surface-brand-subtle",
1137
+ "text-fg-brand-emphasis",
1138
+ "border-line-brand"
1139
+ ),
1140
+ secondary: n(
1141
+ "bg-surface-secondary-subtle",
1142
+ "text-fg-brand-secondary-emphasis",
1143
+ "border-line-secondary"
1144
+ )
1145
+ },
1146
+ size: {
1147
+ sm: n(
1148
+ s("1.5", "px"),
1149
+ s("0.5", "py"),
1150
+ s("0.5", "gap"),
1151
+ "[&_svg]:size-3"
1152
+ ),
1153
+ md: n(
1154
+ s("sm", "px"),
1155
+ s("0.5", "py"),
1156
+ s("xs", "gap"),
1157
+ "[&_svg]:size-3.5"
1158
+ )
1159
+ }
1160
+ },
1161
+ defaultVariants: { tone: "neutral", size: "md" }
1162
+ }
1163
+ ), Ke = M(
1164
+ z(function(b, p) {
1165
+ var m = b, {
1166
+ label: a,
1167
+ source: r,
1168
+ tone: t = "neutral",
1169
+ size: i = "md",
1170
+ icon: c,
1171
+ className: o = ""
1172
+ } = m, d = h(m, [
1173
+ "label",
1174
+ "source",
1175
+ "tone",
1176
+ "size",
1177
+ "icon",
1178
+ "className"
1179
+ ]);
1180
+ const x = r != null && r !== "", u = i === "sm" ? "caption" : "bodySmall";
1181
+ return /* @__PURE__ */ v(
1182
+ "span",
1183
+ y(f({
1184
+ ref: p,
1185
+ className: n(Ue({ tone: t, size: i }), o)
1186
+ }, d), {
1187
+ children: [
1188
+ c ? /* @__PURE__ */ l(
1189
+ "span",
1190
+ {
1191
+ className: "inline-flex shrink-0 items-center",
1192
+ "aria-hidden": "true",
1193
+ children: c
1194
+ }
1195
+ ) : null,
1196
+ /* @__PURE__ */ l(
1197
+ "span",
1198
+ {
1199
+ className: n(
1200
+ w(u),
1201
+ j("label")
1202
+ ),
1203
+ children: a
1204
+ }
1205
+ ),
1206
+ x ? /* @__PURE__ */ v(Z, { children: [
1207
+ /* @__PURE__ */ l("span", { "aria-hidden": "true", className: w("caption"), children: "·" }),
1208
+ /* @__PURE__ */ l(
1209
+ "span",
1210
+ {
1211
+ className: n(
1212
+ w("caption"),
1213
+ j("caption")
1214
+ ),
1215
+ children: r
1216
+ }
1217
+ )
1218
+ ] }) : null
1219
+ ]
1220
+ })
1221
+ );
1222
+ })
1223
+ );
1224
+ Ke.displayName = "DataBadge";
1225
+ function ja(i) {
1226
+ var c = i, {
1123
1227
  message: e,
1124
1228
  id: a,
1125
1229
  className: r = ""
1126
- } = o, t = b(o, [
1230
+ } = c, t = h(c, [
1127
1231
  "message",
1128
1232
  "id",
1129
1233
  "className"
1130
1234
  ]);
1131
- const c = [
1132
- i("xs", "mt"),
1133
- S("bodySmall"),
1235
+ const o = [
1236
+ s("xs", "mt"),
1237
+ w("bodySmall"),
1134
1238
  "text-fg-error",
1135
1239
  "flex",
1136
1240
  "items-center",
1137
- i("xs", "gap")
1138
- ], d = s(...c, r);
1139
- return /* @__PURE__ */ v("div", y(u({ role: "alert", id: a, className: d, "aria-live": "polite" }, t), { children: [
1241
+ s("xs", "gap")
1242
+ ], d = n(...o, r);
1243
+ return /* @__PURE__ */ v("div", y(f({ role: "alert", id: a, className: d, "aria-live": "polite" }, t), { children: [
1140
1244
  /* @__PURE__ */ l(Se, { className: "h-4 w-4 shrink-0", "aria-hidden": "true" }),
1141
1245
  /* @__PURE__ */ l("span", { children: e })
1142
1246
  ] }));
1143
1247
  }
1144
- function za(t) {
1145
- var n = t, {
1248
+ function Ra(t) {
1249
+ var i = t, {
1146
1250
  variant: e = "info",
1147
1251
  className: a
1148
- } = n, r = b(n, [
1252
+ } = i, r = h(i, [
1149
1253
  "variant",
1150
1254
  "className"
1151
1255
  ]);
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")
1256
+ const c = {
1257
+ warning: n("bg-warning-bg", "text-warning-dark", "border-warning"),
1258
+ error: n("bg-error-bg", "text-error-dark", "border-error"),
1259
+ info: n("bg-info-bg", "text-info-dark", "border-info")
1156
1260
  };
1157
1261
  return /* @__PURE__ */ l(
1158
1262
  "div",
1159
- u({
1263
+ f({
1160
1264
  role: "alert",
1161
- className: s(
1265
+ className: n(
1162
1266
  "border",
1163
- i("base", "px"),
1164
- i("sm", "py"),
1267
+ s("base", "px"),
1268
+ s("sm", "py"),
1165
1269
  $("lg"),
1166
- o[e],
1270
+ c[e],
1167
1271
  a
1168
1272
  )
1169
1273
  }, r)
1170
1274
  );
1171
1275
  }
1172
- const Ue = s(
1276
+ const qe = L(
1277
+ n(
1278
+ "w-full",
1279
+ $("md"),
1280
+ "transition-colors",
1281
+ "focus:outline-none",
1282
+ "focus:ring-2",
1283
+ "focus:ring-offset-2",
1284
+ "disabled:opacity-50",
1285
+ "disabled:cursor-not-allowed"
1286
+ ),
1287
+ {
1288
+ variants: {
1289
+ variant: {
1290
+ default: n(
1291
+ "border-0",
1292
+ "border-b-2",
1293
+ "border-line-default",
1294
+ "focus:border-line-focus"
1295
+ ),
1296
+ outlined: n(
1297
+ "border",
1298
+ "border-line-default",
1299
+ "focus:border-line-focus"
1300
+ ),
1301
+ filled: n(
1302
+ "bg-surface-muted",
1303
+ "border-0",
1304
+ "focus:bg-surface-base",
1305
+ "focus:ring-2",
1306
+ "focus:ring-line-focus"
1307
+ )
1308
+ },
1309
+ size: {
1310
+ sm: n(
1311
+ "h-8",
1312
+ w("bodySmall"),
1313
+ s("md", "px")
1314
+ ),
1315
+ md: n(
1316
+ "h-10",
1317
+ w("body"),
1318
+ s("base", "px")
1319
+ ),
1320
+ lg: n(
1321
+ "h-12",
1322
+ w("bodyLarge"),
1323
+ s("lg", "px")
1324
+ )
1325
+ },
1326
+ state: {
1327
+ default: "",
1328
+ error: n("border-error", "focus:border-error", "focus:ring-error"),
1329
+ success: n(
1330
+ "border-success",
1331
+ "focus:border-success",
1332
+ "focus:ring-success"
1333
+ )
1334
+ }
1335
+ },
1336
+ defaultVariants: {
1337
+ variant: "outlined",
1338
+ size: "md",
1339
+ state: "default"
1340
+ }
1341
+ }
1342
+ );
1343
+ function Xe({
1344
+ error: e,
1345
+ success: a,
1346
+ helperText: r,
1347
+ errorId: t,
1348
+ helperId: i
1349
+ }) {
1350
+ const c = n(
1351
+ s("xs", "mt"),
1352
+ F("caption"),
1353
+ e && "text-fg-error",
1354
+ a && "text-fg-success",
1355
+ !e && !a && "text-fg-secondary"
1356
+ );
1357
+ return /* @__PURE__ */ l(
1358
+ "div",
1359
+ {
1360
+ id: t || i,
1361
+ className: c,
1362
+ role: e || a ? "alert" : void 0,
1363
+ children: r || (e ? "Error" : a ? "Success" : "")
1364
+ }
1365
+ );
1366
+ }
1367
+ const Ge = z(
1368
+ function(T, S) {
1369
+ var k = T, {
1370
+ id: a,
1371
+ label: r,
1372
+ error: t = !1,
1373
+ success: i = !1,
1374
+ helperText: c,
1375
+ size: o = "md",
1376
+ variant: d = "outlined",
1377
+ leftIcon: p,
1378
+ rightIcon: b,
1379
+ rightSlot: m,
1380
+ className: x = "",
1381
+ disabled: u = !1,
1382
+ type: g = "text"
1383
+ } = k, N = h(k, [
1384
+ "id",
1385
+ "label",
1386
+ "error",
1387
+ "success",
1388
+ "helperText",
1389
+ "size",
1390
+ "variant",
1391
+ "leftIcon",
1392
+ "rightIcon",
1393
+ "rightSlot",
1394
+ "className",
1395
+ "disabled",
1396
+ "type"
1397
+ ]);
1398
+ typeof process != "undefined" && process.env.NODE_ENV !== "production" && r && !a && console.warn(
1399
+ "[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."
1400
+ );
1401
+ const D = t ? "error" : i ? "success" : "default", R = t && a ? `${a}-error` : void 0, B = c && a ? `${a}-helper` : void 0, P = o === "sm" ? "h-4 w-4" : o === "lg" ? "h-5 w-5" : "h-4 w-4", I = o === "sm" ? "top-2" : o === "lg" ? "top-3.5" : "top-2.5", U = n(
1402
+ qe({ variant: d, size: o, state: D }),
1403
+ // Icon padding — `pl-9` / `pr-9` aren't on the spacing scale (no
1404
+ // semantic key for 36px) so they stay raw at the `sm` size; md/lg use
1405
+ // the getter. Mirrors the original Input contract.
1406
+ p && (o === "sm" ? "pl-9" : s(o === "lg" ? "3xl" : "2xl", "pl")),
1407
+ (b || m) && (o === "sm" ? "pr-9" : s(o === "lg" ? "3xl" : "2xl", "pr")),
1408
+ x
1409
+ ), V = n(
1410
+ "block",
1411
+ F("label"),
1412
+ s("xs", "mb"),
1413
+ u && "opacity-50"
1414
+ );
1415
+ return /* @__PURE__ */ v("div", { className: "w-full", children: [
1416
+ r && /* @__PURE__ */ l("label", { htmlFor: a, className: V, children: r }),
1417
+ /* @__PURE__ */ v("div", { className: "relative", children: [
1418
+ p && /* @__PURE__ */ l(
1419
+ "div",
1420
+ {
1421
+ className: `absolute left-3 ${I} text-fg-secondary opacity-60 pointer-events-none`,
1422
+ children: /* @__PURE__ */ l("div", { className: P, children: p })
1423
+ }
1424
+ ),
1425
+ /* @__PURE__ */ l(
1426
+ "input",
1427
+ f({
1428
+ id: a,
1429
+ ref: S,
1430
+ type: g,
1431
+ className: U,
1432
+ disabled: u,
1433
+ "aria-invalid": t,
1434
+ "aria-required": N.required,
1435
+ "aria-describedby": R || B,
1436
+ suppressHydrationWarning: !0
1437
+ }, N)
1438
+ ),
1439
+ (b || m) && /* @__PURE__ */ l(
1440
+ "div",
1441
+ {
1442
+ className: `absolute right-3 top-0 bottom-0 flex items-center ${s("xs", "gap")}`,
1443
+ children: m != null ? m : /* @__PURE__ */ l(
1444
+ "div",
1445
+ {
1446
+ className: `text-fg-secondary opacity-60 pointer-events-none ${P}`,
1447
+ children: b
1448
+ }
1449
+ )
1450
+ }
1451
+ )
1452
+ ] }),
1453
+ (t || i || c) && /* @__PURE__ */ l(
1454
+ Xe,
1455
+ {
1456
+ error: t,
1457
+ success: i,
1458
+ helperText: c,
1459
+ errorId: R,
1460
+ helperId: B
1461
+ }
1462
+ )
1463
+ ] });
1464
+ }
1465
+ );
1466
+ Ge.displayName = "InputBase";
1467
+ const Ye = n(
1173
1468
  "block",
1174
- S("label"),
1175
- O("label"),
1469
+ w("label"),
1470
+ j("label"),
1176
1471
  "text-fg-primary"
1177
- ), Ke = {
1472
+ ), Ze = {
1178
1473
  default: "",
1179
- required: s(
1474
+ required: n(
1180
1475
  "after:content-['*']",
1181
- `after:${i("0.5", "ml")}`,
1476
+ `after:${s("0.5", "ml")}`,
1182
1477
  "after:text-fg-error"
1183
1478
  ),
1184
- optional: s(
1479
+ optional: n(
1185
1480
  "after:content-['(optional)']",
1186
- `after:${i("xs", "ml")}`,
1481
+ `after:${s("xs", "ml")}`,
1187
1482
  "after:text-fg-tertiary",
1188
1483
  "after:font-normal"
1189
1484
  )
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],
1485
+ }, Je = M(
1486
+ z(function(o, c) {
1487
+ var d = o, { variant: a = "default", className: r = "", children: t } = d, i = h(d, ["variant", "className", "children"]);
1488
+ const p = n(
1489
+ Ye,
1490
+ Ze[a],
1196
1491
  r
1197
1492
  );
1198
- return /* @__PURE__ */ l("label", y(u({ ref: o, className: p }, n), { children: t }));
1493
+ return /* @__PURE__ */ l("label", y(f({ ref: c, className: p }, i), { children: t }));
1199
1494
  })
1200
1495
  );
1201
- Xe.displayName = "Label";
1202
- class R {
1496
+ Je.displayName = "Label";
1497
+ class O {
1203
1498
  /**
1204
1499
  * Create a shadow token
1205
1500
  */
@@ -1243,19 +1538,19 @@ class R {
1243
1538
  }[a];
1244
1539
  }
1245
1540
  }
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")
1541
+ const Qe = {
1542
+ none: O.create("none"),
1543
+ sm: O.create("sm"),
1544
+ md: O.create("md"),
1545
+ lg: O.create("lg"),
1546
+ xl: O.create("xl"),
1547
+ "2xl": O.create("2xl"),
1548
+ inner: O.create("inner")
1254
1549
  };
1255
- function q(e) {
1256
- return qe[e].tailwind;
1550
+ function Y(e) {
1551
+ return Qe[e].tailwind;
1257
1552
  }
1258
- const Ge = L("w-full", {
1553
+ const ea = L("w-full", {
1259
1554
  variants: {
1260
1555
  size: {
1261
1556
  sm: "h-1",
@@ -1289,17 +1584,17 @@ const Ge = L("w-full", {
1289
1584
  defaultVariants: {
1290
1585
  variant: "primary"
1291
1586
  }
1292
- }), Ye = j(function(h, m) {
1293
- var f = h, {
1587
+ }), aa = z(function(x, m) {
1588
+ var u = x, {
1294
1589
  value: a,
1295
1590
  max: r = 100,
1296
1591
  variant: t = "primary",
1297
- size: n = "md",
1298
- showLabel: o = !1,
1299
- label: c,
1592
+ size: i = "md",
1593
+ showLabel: c = !1,
1594
+ label: o,
1300
1595
  "aria-label": d,
1301
1596
  className: p = ""
1302
- } = f, x = b(f, [
1597
+ } = u, b = h(u, [
1303
1598
  "value",
1304
1599
  "max",
1305
1600
  "variant",
@@ -1309,38 +1604,38 @@ const Ge = L("w-full", {
1309
1604
  "aria-label",
1310
1605
  "className"
1311
1606
  ]);
1312
- 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(
1607
+ const g = a === void 0, N = g ? void 0 : Math.min(Math.max(a / r * 100, 0), 100), S = d || (g ? "Loading in progress" : `Progress: ${N == null ? void 0 : N.toFixed(0)}%`);
1608
+ return /* @__PURE__ */ v("div", y(f({ ref: m, className: n("w-full", p) }, b), { children: [
1609
+ c && (o || !g) && /* @__PURE__ */ v(
1315
1610
  "div",
1316
1611
  {
1317
- className: s(
1612
+ className: n(
1318
1613
  "flex",
1319
1614
  "items-center",
1320
1615
  "justify-between",
1321
- i("xs", "mb")
1616
+ s("xs", "mb")
1322
1617
  ),
1323
1618
  children: [
1324
- c && /* @__PURE__ */ l(
1619
+ o && /* @__PURE__ */ l(
1325
1620
  "span",
1326
1621
  {
1327
- className: s(
1328
- S("bodySmall"),
1329
- O("label"),
1622
+ className: n(
1623
+ w("bodySmall"),
1624
+ j("label"),
1330
1625
  "text-fg-primary"
1331
1626
  ),
1332
- children: c
1627
+ children: o
1333
1628
  }
1334
1629
  ),
1335
- !g && w !== void 0 && /* @__PURE__ */ v(
1630
+ !g && N !== void 0 && /* @__PURE__ */ v(
1336
1631
  "span",
1337
1632
  {
1338
- className: s(
1339
- S("bodySmall"),
1633
+ className: n(
1634
+ w("bodySmall"),
1340
1635
  "text-fg-secondary"
1341
1636
  ),
1342
1637
  children: [
1343
- w.toFixed(0),
1638
+ N.toFixed(0),
1344
1639
  "%"
1345
1640
  ]
1346
1641
  }
@@ -1355,19 +1650,19 @@ const Ge = L("w-full", {
1355
1650
  "aria-valuemin": g ? void 0 : 0,
1356
1651
  "aria-valuemax": g ? void 0 : r,
1357
1652
  "aria-valuenow": g ? void 0 : a,
1358
- "aria-label": N,
1653
+ "aria-label": S,
1359
1654
  "aria-busy": g,
1360
- className: s(
1655
+ className: n(
1361
1656
  "relative",
1362
1657
  "w-full",
1363
1658
  "overflow-hidden",
1364
- Ge({ size: n, variant: t }),
1659
+ ea({ size: i, variant: t }),
1365
1660
  $("full")
1366
1661
  ),
1367
1662
  children: g ? /* @__PURE__ */ l(
1368
1663
  "div",
1369
1664
  {
1370
- className: s(
1665
+ className: n(
1371
1666
  "absolute",
1372
1667
  "top-0",
1373
1668
  "left-0",
@@ -1384,7 +1679,7 @@ const Ge = L("w-full", {
1384
1679
  ) : /* @__PURE__ */ l(
1385
1680
  "div",
1386
1681
  {
1387
- className: s(
1682
+ className: n(
1388
1683
  "h-full",
1389
1684
  oe({ variant: t }),
1390
1685
  $("full"),
@@ -1393,7 +1688,7 @@ const Ge = L("w-full", {
1393
1688
  "ease-out"
1394
1689
  ),
1395
1690
  style: {
1396
- width: `${w}%`
1691
+ width: `${N}%`
1397
1692
  },
1398
1693
  "aria-hidden": "true"
1399
1694
  }
@@ -1402,57 +1697,57 @@ const Ge = L("w-full", {
1402
1697
  )
1403
1698
  ] }));
1404
1699
  });
1405
- Ye.displayName = "Progress";
1406
- const Ze = {
1700
+ aa.displayName = "Progress";
1701
+ const ta = {
1407
1702
  horizontal: "w-full border-t",
1408
1703
  vertical: "h-full border-l self-stretch"
1409
- }, Je = {
1704
+ }, ra = {
1410
1705
  solid: "border-solid",
1411
1706
  dashed: "border-dashed",
1412
1707
  dotted: "border-dotted"
1413
- }, Qe = M(function(o) {
1414
- var c = o, {
1708
+ }, na = M(function(c) {
1709
+ var o = c, {
1415
1710
  orientation: a = "horizontal",
1416
1711
  variant: r = "solid",
1417
1712
  className: t = ""
1418
- } = c, n = b(c, [
1713
+ } = o, i = h(o, [
1419
1714
  "orientation",
1420
1715
  "variant",
1421
1716
  "className"
1422
1717
  ]);
1423
- const d = s(
1718
+ const d = n(
1424
1719
  "border-0",
1425
1720
  "border-line-default",
1426
- Ze[a],
1427
- Je[r],
1721
+ ta[a],
1722
+ ra[r],
1428
1723
  t
1429
1724
  );
1430
1725
  return a === "vertical" ? /* @__PURE__ */ l(
1431
1726
  "div",
1432
- u({
1727
+ f({
1433
1728
  className: d,
1434
1729
  role: "separator",
1435
1730
  "aria-orientation": "vertical"
1436
- }, n)
1731
+ }, i)
1437
1732
  ) : /* @__PURE__ */ l(
1438
1733
  "hr",
1439
- u({
1734
+ f({
1440
1735
  className: d,
1441
1736
  role: "separator",
1442
1737
  "aria-orientation": "horizontal"
1443
- }, n)
1738
+ }, i)
1444
1739
  );
1445
1740
  });
1446
- Qe.displayName = "Separator";
1447
- function Fa(d) {
1741
+ na.displayName = "Separator";
1742
+ function Ba(d) {
1448
1743
  var p = d, {
1449
1744
  variant: e = "text",
1450
1745
  width: a,
1451
1746
  height: r,
1452
1747
  lines: t = 1,
1453
- className: n = "",
1454
- "aria-label": o
1455
- } = p, c = b(p, [
1748
+ className: i = "",
1749
+ "aria-label": c
1750
+ } = p, o = h(p, [
1456
1751
  "variant",
1457
1752
  "width",
1458
1753
  "height",
@@ -1460,7 +1755,7 @@ function Fa(d) {
1460
1755
  "className",
1461
1756
  "aria-label"
1462
1757
  ]);
1463
- const x = [
1758
+ const b = [
1464
1759
  "motion-safe:animate-pulse",
1465
1760
  "bg-surface-muted",
1466
1761
  $("sm")
@@ -1469,39 +1764,39 @@ function Fa(d) {
1469
1764
  card: "h-32",
1470
1765
  list: "h-12",
1471
1766
  circle: $("full")
1472
- }, h = s(...x, m[e], n), f = {};
1473
- a && (f.width = a), r && (f.height = r);
1474
- const g = o || `Loading ${e} content`;
1767
+ }, x = n(...b, m[e], i), u = {};
1768
+ a && (u.width = a), r && (u.height = r);
1769
+ const g = c || `Loading ${e} content`;
1475
1770
  return e === "text" && t > 1 ? /* @__PURE__ */ l(
1476
1771
  "div",
1477
- y(u({
1478
- className: i("sm", "space-y"),
1772
+ y(f({
1773
+ className: s("sm", "space-y"),
1479
1774
  role: "status",
1480
1775
  "aria-busy": "true",
1481
1776
  "aria-label": g
1482
- }, c), {
1483
- children: Array.from({ length: t }).map((w, N) => /* @__PURE__ */ l(
1777
+ }, o), {
1778
+ children: Array.from({ length: t }).map((N, S) => /* @__PURE__ */ l(
1484
1779
  "div",
1485
1780
  {
1486
- className: h,
1487
- style: N === t - 1 ? { width: "75%" } : f,
1781
+ className: x,
1782
+ style: S === t - 1 ? { width: "75%" } : u,
1488
1783
  "aria-hidden": "true"
1489
1784
  },
1490
- N
1785
+ S
1491
1786
  ))
1492
1787
  })
1493
1788
  ) : /* @__PURE__ */ l(
1494
1789
  "div",
1495
- u({
1496
- className: h,
1497
- style: f,
1790
+ f({
1791
+ className: x,
1792
+ style: u,
1498
1793
  role: "status",
1499
1794
  "aria-busy": "true",
1500
1795
  "aria-label": g
1501
- }, c)
1796
+ }, o)
1502
1797
  );
1503
1798
  }
1504
- const ea = {
1799
+ const sa = {
1505
1800
  primary: {
1506
1801
  // exception: variant color — no semantic equivalent (Principle 3, .claude/rules/colors.md)
1507
1802
  light: "text-indigo-400",
@@ -1553,16 +1848,16 @@ const ea = {
1553
1848
  contrast: "text-fg-inverse"
1554
1849
  }
1555
1850
  };
1556
- function aa(x, p) {
1557
- var m = x, {
1851
+ function ia(b, p) {
1852
+ var m = b, {
1558
1853
  variant: e = "paragraph",
1559
1854
  bold: a,
1560
1855
  italic: r,
1561
1856
  className: t,
1562
- as: n,
1563
- colorRole: o = "neutral",
1564
- colorShade: c = "dark"
1565
- } = m, d = b(m, [
1857
+ as: i,
1858
+ colorRole: c = "neutral",
1859
+ colorShade: o = "dark"
1860
+ } = m, d = h(m, [
1566
1861
  "variant",
1567
1862
  "bold",
1568
1863
  "italic",
@@ -1571,41 +1866,41 @@ function aa(x, p) {
1571
1866
  "colorRole",
1572
1867
  "colorShade"
1573
1868
  ]);
1574
- const h = [];
1575
- let f;
1576
- if (n)
1577
- f = n;
1869
+ const x = [];
1870
+ let u;
1871
+ if (i)
1872
+ u = i;
1578
1873
  else
1579
1874
  switch (e) {
1580
1875
  case "heading":
1581
- f = "h2";
1876
+ u = "h2";
1582
1877
  break;
1583
1878
  case "list":
1584
- f = "li";
1879
+ u = "li";
1585
1880
  break;
1586
1881
  default:
1587
- f = "p";
1882
+ u = "p";
1588
1883
  break;
1589
1884
  }
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));
1885
+ return e === "heading" ? x.push(F("h2")) : e === "body" || e === "paragraph" ? x.push(F("body")) : e === "bodySmall" ? x.push(F("bodySmall")) : e === "bodyLarge" ? x.push(F("bodyLarge")) : e === "caption" ? x.push(F("caption")) : e === "label" ? x.push(F("label")) : x.push(F("body")), a && x.push("font-bold"), r && x.push("italic"), x.push(sa[c][o]), /* @__PURE__ */ l(u, f({ ref: p, className: n(...x, t) }, d));
1591
1886
  }
1592
- const _ = j(aa), ta = {
1887
+ const H = z(ia), la = {
1593
1888
  sm: "max-w-screen-sm",
1594
1889
  md: "max-w-screen-md",
1595
1890
  lg: "max-w-screen-lg",
1596
1891
  xl: "max-w-screen-xl",
1597
1892
  "2xl": "max-w-screen-2xl",
1598
1893
  full: "max-w-full"
1599
- }, ra = ce.forwardRef(
1894
+ }, oa = ce.forwardRef(
1600
1895
  (p, d) => {
1601
- var x = p, {
1896
+ var b = p, {
1602
1897
  className: e,
1603
1898
  maxWidth: a = "lg",
1604
1899
  paddingX: r = "base",
1605
1900
  paddingY: t = "base",
1606
- center: n = !0,
1607
- children: o
1608
- } = x, c = b(x, [
1901
+ center: i = !0,
1902
+ children: c
1903
+ } = b, o = h(b, [
1609
1904
  "className",
1610
1905
  "maxWidth",
1611
1906
  "paddingX",
@@ -1615,33 +1910,33 @@ const _ = j(aa), ta = {
1615
1910
  ]);
1616
1911
  return /* @__PURE__ */ l(
1617
1912
  "div",
1618
- y(u({
1913
+ y(f({
1619
1914
  ref: d,
1620
- className: s(
1915
+ className: n(
1621
1916
  "w-full",
1622
- ta[a],
1623
- i(r, "px"),
1624
- i(t, "py"),
1625
- n && "mx-auto",
1917
+ la[a],
1918
+ s(r, "px"),
1919
+ s(t, "py"),
1920
+ i && "mx-auto",
1626
1921
  e
1627
1922
  )
1628
- }, c), {
1629
- children: o
1923
+ }, o), {
1924
+ children: c
1630
1925
  })
1631
1926
  );
1632
1927
  }
1633
1928
  );
1634
- ra.displayName = "Container";
1635
- const na = ce.forwardRef(
1929
+ oa.displayName = "Container";
1930
+ const ca = ce.forwardRef(
1636
1931
  (p, d) => {
1637
- var x = p, {
1932
+ var b = p, {
1638
1933
  className: e,
1639
1934
  spacing: a = "base",
1640
1935
  align: r = "stretch",
1641
1936
  justify: t = "start",
1642
- direction: n = "column",
1643
- children: o
1644
- } = x, c = b(x, [
1937
+ direction: i = "column",
1938
+ children: c
1939
+ } = b, o = h(b, [
1645
1940
  "className",
1646
1941
  "spacing",
1647
1942
  "align",
@@ -1649,12 +1944,12 @@ const na = ce.forwardRef(
1649
1944
  "direction",
1650
1945
  "children"
1651
1946
  ]);
1652
- const m = n === "column" ? i(a, "gap-y") : i(a, "gap-x"), h = {
1947
+ const m = i === "column" ? s(a, "gap-y") : s(a, "gap-x"), x = {
1653
1948
  start: "items-start",
1654
1949
  center: "items-center",
1655
1950
  end: "items-end",
1656
1951
  stretch: "items-stretch"
1657
- }, f = {
1952
+ }, u = {
1658
1953
  start: "justify-start",
1659
1954
  center: "justify-center",
1660
1955
  end: "justify-end",
@@ -1664,51 +1959,51 @@ const na = ce.forwardRef(
1664
1959
  };
1665
1960
  return /* @__PURE__ */ l(
1666
1961
  "div",
1667
- y(u({
1962
+ y(f({
1668
1963
  ref: d,
1669
- className: s(
1964
+ className: n(
1670
1965
  "flex",
1671
- n === "column" ? "flex-col" : "flex-row",
1966
+ i === "column" ? "flex-col" : "flex-row",
1672
1967
  m,
1673
- h[r],
1674
- f[t],
1968
+ x[r],
1969
+ u[t],
1675
1970
  e
1676
1971
  )
1677
- }, c), {
1678
- children: o
1972
+ }, o), {
1973
+ children: c
1679
1974
  })
1680
1975
  );
1681
1976
  }
1682
1977
  );
1683
- na.displayName = "Stack";
1684
- function sa(n) {
1685
- var o = n, {
1978
+ ca.displayName = "Stack";
1979
+ function da(i) {
1980
+ var c = i, {
1686
1981
  items: e,
1687
1982
  separator: a = "/",
1688
1983
  className: r = ""
1689
- } = o, t = b(o, [
1984
+ } = c, t = h(c, [
1690
1985
  "items",
1691
1986
  "separator",
1692
1987
  "className"
1693
1988
  ]);
1694
- const c = [
1989
+ const o = [
1695
1990
  "flex",
1696
1991
  "items-center",
1697
- i("sm", "space-x"),
1698
- S("bodySmall")
1699
- ], d = s(...c, r);
1700
- return /* @__PURE__ */ l("nav", y(u({ "aria-label": "Breadcrumb", className: d }, t), { children: /* @__PURE__ */ l(
1992
+ s("sm", "space-x"),
1993
+ w("bodySmall")
1994
+ ], d = n(...o, r);
1995
+ return /* @__PURE__ */ l("nav", y(f({ "aria-label": "Breadcrumb", className: d }, t), { children: /* @__PURE__ */ l(
1701
1996
  "ol",
1702
1997
  {
1703
- className: s("flex", "items-center", i("sm", "space-x")),
1704
- children: e.map((p, x) => {
1705
- const m = x === e.length - 1;
1998
+ className: n("flex", "items-center", s("sm", "space-x")),
1999
+ children: e.map((p, b) => {
2000
+ const m = b === e.length - 1;
1706
2001
  return /* @__PURE__ */ v("li", { className: "flex items-center", children: [
1707
- x > 0 && /* @__PURE__ */ l(
2002
+ b > 0 && /* @__PURE__ */ l(
1708
2003
  "span",
1709
2004
  {
1710
- className: s(
1711
- i("sm", "mx"),
2005
+ className: n(
2006
+ s("sm", "mx"),
1712
2007
  "text-fg-tertiary"
1713
2008
  ),
1714
2009
  "aria-hidden": "true",
@@ -1718,9 +2013,9 @@ function sa(n) {
1718
2013
  m ? /* @__PURE__ */ l(
1719
2014
  "span",
1720
2015
  {
1721
- className: s(
2016
+ className: n(
1722
2017
  "text-fg-primary",
1723
- O("label")
2018
+ j("label")
1724
2019
  ),
1725
2020
  "aria-current": "page",
1726
2021
  children: p.label
@@ -1729,15 +2024,15 @@ function sa(n) {
1729
2024
  "a",
1730
2025
  {
1731
2026
  href: p.href,
1732
- className: s(
2027
+ className: n(
1733
2028
  "inline-flex",
1734
2029
  "items-center",
1735
- i("xs", "px"),
1736
- i("xs", "pt"),
2030
+ s("xs", "px"),
2031
+ s("xs", "pt"),
1737
2032
  "border-b-2",
1738
2033
  "border-transparent",
1739
- S("bodySmall"),
1740
- O("label"),
2034
+ w("bodySmall"),
2035
+ j("label"),
1741
2036
  "transition-colors",
1742
2037
  "text-fg-secondary",
1743
2038
  "hover:border-line-emphasis",
@@ -1746,20 +2041,20 @@ function sa(n) {
1746
2041
  children: p.label
1747
2042
  }
1748
2043
  ) : /* @__PURE__ */ l("span", { className: "text-fg-secondary", children: p.label })
1749
- ] }, x);
2044
+ ] }, b);
1750
2045
  })
1751
2046
  }
1752
2047
  ) }));
1753
2048
  }
1754
- function ia(t) {
1755
- var n = t, { children: e, className: a } = n, r = b(n, ["children", "className"]);
2049
+ function ua(t) {
2050
+ var i = t, { children: e, className: a } = i, r = h(i, ["children", "className"]);
1756
2051
  return /* @__PURE__ */ l(
1757
2052
  "div",
1758
- y(u({
1759
- className: s(
2053
+ y(f({
2054
+ className: n(
1760
2055
  "grid items-start",
1761
- i("1.5", "gap"),
1762
- i("base", "mb"),
2056
+ s("1.5", "gap"),
2057
+ s("base", "mb"),
1763
2058
  "[&:has([data-card-actions])]:grid-cols-[1fr_auto]",
1764
2059
  "[&:has([data-card-actions])>[data-card-actions]]:row-span-full",
1765
2060
  a
@@ -1769,14 +2064,14 @@ function ia(t) {
1769
2064
  })
1770
2065
  );
1771
2066
  }
1772
- function la(c) {
1773
- var d = c, {
2067
+ function fa(o) {
2068
+ var d = o, {
1774
2069
  children: e,
1775
2070
  icon: a,
1776
2071
  badge: r,
1777
2072
  as: t = "h2",
1778
- className: n
1779
- } = d, o = b(d, [
2073
+ className: i
2074
+ } = d, c = h(d, [
1780
2075
  "children",
1781
2076
  "icon",
1782
2077
  "badge",
@@ -1785,14 +2080,14 @@ function la(c) {
1785
2080
  ]);
1786
2081
  return /* @__PURE__ */ v(
1787
2082
  t,
1788
- y(u({
1789
- className: s(
2083
+ y(f({
2084
+ className: n(
1790
2085
  "text-base font-semibold text-fg-primary",
1791
2086
  "flex items-center",
1792
- i("sm", "gap"),
1793
- n
2087
+ s("sm", "gap"),
2088
+ i
1794
2089
  )
1795
- }, o), {
2090
+ }, c), {
1796
2091
  children: [
1797
2092
  a ? /* @__PURE__ */ l("span", { className: "shrink-0 inline-flex", children: a }) : null,
1798
2093
  /* @__PURE__ */ l("span", { children: e }),
@@ -1801,31 +2096,31 @@ function la(c) {
1801
2096
  })
1802
2097
  );
1803
2098
  }
1804
- function oa(t) {
1805
- var n = t, {
2099
+ function pa(t) {
2100
+ var i = t, {
1806
2101
  children: e,
1807
2102
  className: a
1808
- } = n, r = b(n, [
2103
+ } = i, r = h(i, [
1809
2104
  "children",
1810
2105
  "className"
1811
2106
  ]);
1812
- return /* @__PURE__ */ l("p", y(u({ className: s("text-sm text-fg-secondary", a) }, r), { children: e }));
2107
+ return /* @__PURE__ */ l("p", y(f({ className: n("text-sm text-fg-secondary", a) }, r), { children: e }));
1813
2108
  }
1814
- function ca(t) {
1815
- var n = t, {
2109
+ function ma(t) {
2110
+ var i = t, {
1816
2111
  children: e,
1817
2112
  className: a
1818
- } = n, r = b(n, [
2113
+ } = i, r = h(i, [
1819
2114
  "children",
1820
2115
  "className"
1821
2116
  ]);
1822
2117
  return /* @__PURE__ */ l(
1823
2118
  "div",
1824
- y(u({
2119
+ y(f({
1825
2120
  "data-card-actions": "",
1826
- className: s(
2121
+ className: n(
1827
2122
  "flex items-center self-start",
1828
- i("sm", "gap"),
2123
+ s("sm", "gap"),
1829
2124
  a
1830
2125
  )
1831
2126
  }, r), {
@@ -1833,21 +2128,21 @@ function ca(t) {
1833
2128
  })
1834
2129
  );
1835
2130
  }
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 }));
2131
+ function ga(t) {
2132
+ var i = t, { children: e, className: a } = i, r = h(i, ["children", "className"]);
2133
+ return /* @__PURE__ */ l("div", y(f({ className: n(a) }, r), { children: e }));
1839
2134
  }
1840
- function ua(x) {
1841
- var m = x, {
2135
+ function ba(b) {
2136
+ var m = b, {
1842
2137
  variant: e = "default",
1843
2138
  padding: a = "medium",
1844
2139
  className: r = "",
1845
2140
  onClick: t,
1846
- "aria-label": n,
1847
- "aria-labelledby": o,
1848
- asSection: c = !1,
2141
+ "aria-label": i,
2142
+ "aria-labelledby": c,
2143
+ asSection: o = !1,
1849
2144
  children: d
1850
- } = m, p = b(m, [
2145
+ } = m, p = h(m, [
1851
2146
  "variant",
1852
2147
  "padding",
1853
2148
  "className",
@@ -1857,33 +2152,33 @@ function ua(x) {
1857
2152
  "asSection",
1858
2153
  "children"
1859
2154
  ]);
1860
- typeof process != "undefined" && process.env.NODE_ENV !== "production" && c && !n && !o && console.warn(
2155
+ typeof process != "undefined" && process.env.NODE_ENV !== "production" && o && !i && !c && console.warn(
1861
2156
  "[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
2157
  );
1863
- const h = L(
1864
- s(
2158
+ const x = L(
2159
+ n(
1865
2160
  "bg-surface-base",
1866
2161
  $("lg"),
1867
2162
  "border",
1868
2163
  "border-line-default",
1869
- q("sm")
2164
+ Y("sm")
1870
2165
  ),
1871
2166
  {
1872
2167
  variants: {
1873
2168
  variant: {
1874
2169
  default: "",
1875
- hover: s(
1876
- `hover:${q("md")}`,
2170
+ hover: n(
2171
+ `hover:${Y("md")}`,
1877
2172
  "transition-shadow",
1878
2173
  "cursor-pointer"
1879
2174
  ),
1880
- selected: s("border-line-brand", q("md"))
2175
+ selected: n("border-line-brand", Y("md"))
1881
2176
  },
1882
2177
  padding: {
1883
2178
  none: "",
1884
- small: i("xs", "p"),
1885
- medium: i("base", "p"),
1886
- large: i("lg", "p")
2179
+ small: s("xs", "p"),
2180
+ medium: s("base", "p"),
2181
+ large: s("lg", "p")
1887
2182
  }
1888
2183
  },
1889
2184
  defaultVariants: {
@@ -1891,74 +2186,74 @@ function ua(x) {
1891
2186
  padding: "medium"
1892
2187
  }
1893
2188
  }
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({
1895
- className: N,
2189
+ ), u = t !== void 0, g = u ? "button" : void 0, N = u ? 0 : void 0, S = n(x({ variant: e, padding: a }), r), k = f({
2190
+ className: S,
1896
2191
  role: g,
1897
- tabIndex: w,
2192
+ tabIndex: N,
1898
2193
  onClick: t,
1899
- onKeyDown: f ? (z) => {
1900
- f && (z.key === "Enter" || z.key === " ") && (z.preventDefault(), t == null || t());
2194
+ onKeyDown: u ? (D) => {
2195
+ u && (D.key === "Enter" || D.key === " ") && (D.preventDefault(), t == null || t());
1901
2196
  } : void 0,
1902
- "aria-label": n,
1903
- "aria-labelledby": o
2197
+ "aria-label": i,
2198
+ "aria-labelledby": c
1904
2199
  }, p);
1905
- return c ? /* @__PURE__ */ l("section", y(u({}, T), { children: d })) : /* @__PURE__ */ l("div", y(u({}, T), { children: d }));
2200
+ return o ? /* @__PURE__ */ l("section", y(f({}, k), { children: d })) : /* @__PURE__ */ l("div", y(f({}, k), { children: d }));
1906
2201
  }
1907
- const pe = M(ua);
2202
+ const pe = M(ba);
1908
2203
  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, {
2204
+ const W = pe;
2205
+ W.Header = ua;
2206
+ W.Title = fa;
2207
+ W.Subtitle = pa;
2208
+ W.Actions = ma;
2209
+ W.Body = ga;
2210
+ function Oa(t) {
2211
+ var i = t, {
1917
2212
  children: e,
1918
2213
  className: a = ""
1919
- } = n, r = b(n, [
2214
+ } = i, r = h(i, [
1920
2215
  "children",
1921
2216
  "className"
1922
2217
  ]);
1923
2218
  return /* @__PURE__ */ l(
1924
2219
  "div",
1925
- y(u({
1926
- className: `flex flex-col ${i("1.5", "space-y")} ${i("lg", "p")} ${i("base", "pb")} ${a}`
2220
+ y(f({
2221
+ className: `flex flex-col ${s("1.5", "space-y")} ${s("lg", "p")} ${s("base", "pb")} ${a}`
1927
2222
  }, r), {
1928
2223
  children: e
1929
2224
  })
1930
2225
  );
1931
2226
  }
1932
- function ja(t) {
1933
- var n = t, {
2227
+ function Ma(t) {
2228
+ var i = t, {
1934
2229
  children: e,
1935
2230
  className: a = ""
1936
- } = n, r = b(n, [
2231
+ } = i, r = h(i, [
1937
2232
  "children",
1938
2233
  "className"
1939
2234
  ]);
1940
2235
  return /* @__PURE__ */ l(
1941
2236
  "div",
1942
- y(u({
1943
- className: `flex flex-col-reverse sm:flex-row sm:justify-end sm:${i("sm", "space-x")} ${i("lg", "p")} ${i("base", "pt")} ${a}`
2237
+ y(f({
2238
+ className: `flex flex-col-reverse sm:flex-row sm:justify-end sm:${s("sm", "space-x")} ${s("lg", "p")} ${s("base", "pt")} ${a}`
1944
2239
  }, r), {
1945
2240
  children: e
1946
2241
  })
1947
2242
  );
1948
2243
  }
1949
- function Ra(t) {
1950
- var n = t, {
2244
+ function Ha(t) {
2245
+ var i = t, {
1951
2246
  children: e,
1952
2247
  className: a = ""
1953
- } = n, r = b(n, [
2248
+ } = i, r = h(i, [
1954
2249
  "children",
1955
2250
  "className"
1956
2251
  ]);
1957
2252
  return /* @__PURE__ */ l(
1958
2253
  "div",
1959
- y(u({
2254
+ y(f({
1960
2255
  className: `
1961
- ${i("lg", "p")}
2256
+ ${s("lg", "p")}
1962
2257
  border-b
1963
2258
  border-line-default
1964
2259
  ${a}
@@ -1968,24 +2263,24 @@ function Ra(t) {
1968
2263
  })
1969
2264
  );
1970
2265
  }
1971
- function _a(t) {
1972
- var n = t, {
2266
+ function Pa(t) {
2267
+ var i = t, {
1973
2268
  children: e,
1974
2269
  className: a = ""
1975
- } = n, r = b(n, [
2270
+ } = i, r = h(i, [
1976
2271
  "children",
1977
2272
  "className"
1978
2273
  ]);
1979
2274
  return /* @__PURE__ */ l(
1980
2275
  "div",
1981
- y(u({
2276
+ y(f({
1982
2277
  className: `
1983
- ${i("lg", "p")}
2278
+ ${s("lg", "p")}
1984
2279
  border-t
1985
2280
  border-line-default
1986
2281
  flex
1987
2282
  justify-end
1988
- ${i("sm", "gap")}
2283
+ ${s("sm", "gap")}
1989
2284
  ${a}
1990
2285
  `
1991
2286
  }, r), {
@@ -1993,31 +2288,31 @@ function _a(t) {
1993
2288
  })
1994
2289
  );
1995
2290
  }
1996
- function Oa(o) {
1997
- var c = o, {
2291
+ function Ia(c) {
2292
+ var o = c, {
1998
2293
  label: e,
1999
2294
  children: a,
2000
2295
  wrap: r = !0,
2001
2296
  className: t
2002
- } = c, n = b(c, [
2297
+ } = o, i = h(o, [
2003
2298
  "label",
2004
2299
  "children",
2005
2300
  "wrap",
2006
2301
  "className"
2007
2302
  ]);
2008
- const p = !(n["aria-label"] != null || n["aria-labelledby"] != null) && typeof e == "string" && e !== "" ? e : void 0;
2303
+ const p = !(i["aria-label"] != null || i["aria-labelledby"] != null) && typeof e == "string" && e !== "" ? e : void 0;
2009
2304
  return /* @__PURE__ */ v(
2010
2305
  "div",
2011
- y(u({
2306
+ y(f({
2012
2307
  role: "group",
2013
2308
  "aria-label": p,
2014
- className: s(
2309
+ className: n(
2015
2310
  "flex items-center",
2016
2311
  r ? "flex-wrap" : "flex-nowrap",
2017
- i("sm", "gap"),
2312
+ s("sm", "gap"),
2018
2313
  t
2019
2314
  )
2020
- }, n), {
2315
+ }, i), {
2021
2316
  children: [
2022
2317
  e ? (
2023
2318
  // shrink-0 keeps the label a stable leading unit: in the wrapping
@@ -2030,29 +2325,29 @@ function Oa(o) {
2030
2325
  })
2031
2326
  );
2032
2327
  }
2033
- function Ma({ children: e, className: a }) {
2328
+ function Wa({ children: e, className: a }) {
2034
2329
  return /* @__PURE__ */ l(
2035
2330
  "div",
2036
2331
  {
2037
- className: s(
2332
+ className: n(
2038
2333
  "flex-shrink-0 flex items-center",
2039
- i("sm", "gap"),
2334
+ s("sm", "gap"),
2040
2335
  a
2041
2336
  ),
2042
2337
  children: e
2043
2338
  }
2044
2339
  );
2045
2340
  }
2046
- function Ha({
2341
+ function Ua({
2047
2342
  children: e,
2048
2343
  className: a
2049
2344
  }) {
2050
2345
  return /* @__PURE__ */ l(
2051
2346
  "nav",
2052
2347
  {
2053
- className: s(
2348
+ className: n(
2054
2349
  "flex-1 flex items-center justify-center",
2055
- i("base", "gap"),
2350
+ s("base", "gap"),
2056
2351
  "hidden md:flex",
2057
2352
  // Hidden on mobile, visible on desktop
2058
2353
  a
@@ -2062,14 +2357,14 @@ function Ha({
2062
2357
  }
2063
2358
  );
2064
2359
  }
2065
- const fa = L(
2066
- s(
2360
+ const xa = L(
2361
+ n(
2067
2362
  "w-full flex flex-col",
2068
- i("2xl", "py"),
2363
+ s("2xl", "py"),
2069
2364
  // 40px vertical breathing room
2070
- i("lg", "px"),
2365
+ s("lg", "px"),
2071
2366
  // 24px horizontal
2072
- i("xl", "gap-y")
2367
+ s("xl", "gap-y")
2073
2368
  // 32px between major blocks
2074
2369
  ),
2075
2370
  {
@@ -2077,7 +2372,7 @@ const fa = L(
2077
2372
  variant: {
2078
2373
  plain: "",
2079
2374
  gradient: "hero-gradient",
2080
- "gradient-glow": s("hero-gradient", "hero-glow")
2375
+ "gradient-glow": n("hero-gradient", "hero-glow")
2081
2376
  },
2082
2377
  align: {
2083
2378
  start: "text-left",
@@ -2089,27 +2384,27 @@ const fa = L(
2089
2384
  align: "start"
2090
2385
  }
2091
2386
  }
2092
- ), pa = {
2387
+ ), ha = {
2093
2388
  start: "items-start",
2094
2389
  center: "items-center"
2095
- }, ma = {
2390
+ }, ya = {
2096
2391
  start: "justify-start",
2097
2392
  center: "justify-center"
2098
- }, ga = j(
2099
- function(w, g) {
2100
- var N = w, {
2393
+ }, va = z(
2394
+ function(N, g) {
2395
+ var S = N, {
2101
2396
  kicker: a,
2102
2397
  title: r,
2103
2398
  description: t,
2104
- actions: n,
2105
- kpis: o,
2106
- meta: c,
2399
+ actions: i,
2400
+ kpis: c,
2401
+ meta: o,
2107
2402
  variant: d = "plain",
2108
2403
  align: p = "start",
2109
- className: x,
2404
+ className: b,
2110
2405
  "aria-label": m,
2111
- "aria-labelledby": h
2112
- } = N, f = b(N, [
2406
+ "aria-labelledby": x
2407
+ } = S, u = h(S, [
2113
2408
  "kicker",
2114
2409
  "title",
2115
2410
  "description",
@@ -2122,29 +2417,29 @@ const fa = L(
2122
2417
  "aria-label",
2123
2418
  "aria-labelledby"
2124
2419
  ]);
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(
2420
+ const T = m != null || x != null, k = m != null ? m : typeof r == "string" ? r : void 0;
2421
+ return typeof process != "undefined" && process.env.NODE_ENV !== "production" && !T && typeof r != "string" && console.warn(
2127
2422
  "[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
2423
  ), /* @__PURE__ */ v(
2129
2424
  "section",
2130
- y(u({
2425
+ y(f({
2131
2426
  ref: g,
2132
- className: s(fa({ variant: d, align: p }), x),
2133
- "aria-label": T,
2134
- "aria-labelledby": h
2135
- }, f), {
2427
+ className: n(xa({ variant: d, align: p }), b),
2428
+ "aria-label": k,
2429
+ "aria-labelledby": x
2430
+ }, u), {
2136
2431
  children: [
2137
2432
  /* @__PURE__ */ v(
2138
2433
  "div",
2139
2434
  {
2140
- className: s(
2435
+ className: n(
2141
2436
  "flex flex-col",
2142
- i("md", "gap-y"),
2143
- pa[p]
2437
+ s("md", "gap-y"),
2438
+ ha[p]
2144
2439
  ),
2145
2440
  children: [
2146
2441
  a ? /* @__PURE__ */ l(
2147
- _,
2442
+ H,
2148
2443
  {
2149
2444
  as: "span",
2150
2445
  variant: "caption",
@@ -2155,7 +2450,7 @@ const fa = L(
2155
2450
  }
2156
2451
  ) : null,
2157
2452
  /* @__PURE__ */ l(
2158
- _,
2453
+ H,
2159
2454
  {
2160
2455
  as: "h1",
2161
2456
  variant: "heading",
@@ -2164,7 +2459,7 @@ const fa = L(
2164
2459
  }
2165
2460
  ),
2166
2461
  t ? /* @__PURE__ */ l(
2167
- _,
2462
+ H,
2168
2463
  {
2169
2464
  as: "p",
2170
2465
  variant: "body",
@@ -2177,27 +2472,27 @@ const fa = L(
2177
2472
  ]
2178
2473
  }
2179
2474
  ),
2180
- n ? /* @__PURE__ */ l(
2475
+ i ? /* @__PURE__ */ l(
2181
2476
  "div",
2182
2477
  {
2183
- className: s(
2478
+ className: n(
2184
2479
  "flex flex-wrap",
2185
- i("sm", "gap"),
2186
- ma[p]
2480
+ s("sm", "gap"),
2481
+ ya[p]
2187
2482
  ),
2188
- children: n
2483
+ children: i
2189
2484
  }
2190
2485
  ) : null,
2191
- o ? /* @__PURE__ */ l("div", { className: "w-full", children: o }) : null,
2192
- c ? /* @__PURE__ */ l(
2193
- _,
2486
+ c ? /* @__PURE__ */ l("div", { className: "w-full", children: c }) : null,
2487
+ o ? /* @__PURE__ */ l(
2488
+ H,
2194
2489
  {
2195
2490
  as: "p",
2196
2491
  variant: "caption",
2197
2492
  colorRole: "neutral",
2198
2493
  colorShade: "light",
2199
2494
  className: "text-sm",
2200
- children: c
2495
+ children: o
2201
2496
  }
2202
2497
  ) : null
2203
2498
  ]
@@ -2205,49 +2500,49 @@ const fa = L(
2205
2500
  );
2206
2501
  }
2207
2502
  );
2208
- ga.displayName = "HeroSection";
2209
- function Pa(r) {
2503
+ va.displayName = "HeroSection";
2504
+ function Ka(r) {
2210
2505
  var t = r, {
2211
2506
  className: e = ""
2212
- } = t, a = b(t, [
2507
+ } = t, a = h(t, [
2213
2508
  "className"
2214
2509
  ]);
2215
2510
  return /* @__PURE__ */ l(
2216
2511
  "div",
2217
- u({
2512
+ f({
2218
2513
  role: "separator",
2219
2514
  className: `
2220
2515
  h-px
2221
2516
  bg-line-default
2222
- ${i("sm", "my")}
2517
+ ${s("sm", "my")}
2223
2518
  ${e}
2224
2519
  `
2225
2520
  }, a)
2226
2521
  );
2227
2522
  }
2228
- function Wa(t) {
2229
- var n = t, {
2523
+ function qa(t) {
2524
+ var i = t, {
2230
2525
  orientation: e = "horizontal",
2231
2526
  className: a = ""
2232
- } = n, r = b(n, [
2527
+ } = i, r = h(i, [
2233
2528
  "orientation",
2234
2529
  "className"
2235
2530
  ]);
2236
2531
  return e === "vertical" ? /* @__PURE__ */ l(
2237
2532
  "div",
2238
- u({
2239
- className: s("w-px", "h-6", "bg-line-default", "mx-auto", a),
2533
+ f({
2534
+ className: n("w-px", "h-6", "bg-line-default", "mx-auto", a),
2240
2535
  role: "separator",
2241
2536
  "aria-orientation": "vertical"
2242
2537
  }, r)
2243
2538
  ) : /* @__PURE__ */ l(
2244
2539
  "div",
2245
- u({
2246
- className: s(
2540
+ f({
2541
+ className: n(
2247
2542
  "w-full",
2248
2543
  "h-px",
2249
2544
  "bg-line-default",
2250
- i("sm", "my"),
2545
+ s("sm", "my"),
2251
2546
  // my-2 (8px) para consistência com gap-2 usado em outros lugares
2252
2547
  "flex-shrink-0",
2253
2548
  // Prevenir que separator encolha
@@ -2263,14 +2558,14 @@ function Wa(t) {
2263
2558
  }, r)
2264
2559
  );
2265
2560
  }
2266
- const xa = L(
2561
+ const wa = L(
2267
2562
  // Base classes
2268
- s("w-full", "flex", "flex-col", i("sm", "gap")),
2563
+ n("w-full", "flex", "flex-col", s("sm", "gap")),
2269
2564
  {
2270
2565
  variants: {
2271
2566
  variant: {
2272
- default: s(i("base", "mb")),
2273
- compact: s(i("sm", "mb"))
2567
+ default: n(s("base", "mb")),
2568
+ compact: n(s("sm", "mb"))
2274
2569
  }
2275
2570
  },
2276
2571
  defaultVariants: {
@@ -2278,15 +2573,15 @@ const xa = L(
2278
2573
  }
2279
2574
  }
2280
2575
  );
2281
- function Ba(d) {
2576
+ function Xa(d) {
2282
2577
  var p = d, {
2283
2578
  title: e,
2284
2579
  description: a,
2285
2580
  breadcrumb: r,
2286
2581
  actions: t,
2287
- variant: n = "default",
2288
- className: o
2289
- } = p, c = b(p, [
2582
+ variant: i = "default",
2583
+ className: c
2584
+ } = p, o = h(p, [
2290
2585
  "title",
2291
2586
  "description",
2292
2587
  "breadcrumb",
@@ -2294,29 +2589,29 @@ function Ba(d) {
2294
2589
  "variant",
2295
2590
  "className"
2296
2591
  ]);
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 }),
2592
+ return /* @__PURE__ */ v("div", y(f({ className: n(wa({ variant: i }), c) }, o), { children: [
2593
+ r && r.length > 0 && /* @__PURE__ */ l(da, { items: r }),
2299
2594
  /* @__PURE__ */ v(
2300
2595
  "div",
2301
2596
  {
2302
- className: `flex items-start justify-between ${i("base", "gap")}`,
2597
+ className: `flex items-start justify-between ${s("base", "gap")}`,
2303
2598
  children: [
2304
2599
  /* @__PURE__ */ v("div", { className: "flex-1 min-w-0", children: [
2305
2600
  /* @__PURE__ */ l(
2306
- _,
2601
+ H,
2307
2602
  {
2308
2603
  variant: "heading",
2309
2604
  as: "h1",
2310
- className: `${i("sm", "mb")} text-2xl font-bold`,
2605
+ className: `${s("sm", "mb")} text-2xl font-bold`,
2311
2606
  children: e
2312
2607
  }
2313
2608
  ),
2314
- a && /* @__PURE__ */ l(_, { variant: "body", className: "text-fg-secondary", children: a })
2609
+ a && /* @__PURE__ */ l(H, { variant: "body", className: "text-fg-secondary", children: a })
2315
2610
  ] }),
2316
2611
  t && /* @__PURE__ */ l(
2317
2612
  "div",
2318
2613
  {
2319
- className: `flex items-center ${i("sm", "gap")} flex-shrink-0`,
2614
+ className: `flex items-center ${s("sm", "gap")} flex-shrink-0`,
2320
2615
  children: t
2321
2616
  }
2322
2617
  )
@@ -2325,25 +2620,25 @@ function Ba(d) {
2325
2620
  )
2326
2621
  ] }));
2327
2622
  }
2328
- const ba = {
2623
+ const Na = {
2329
2624
  start: "items-start text-left",
2330
2625
  center: "items-center text-center"
2331
- }, ha = {
2626
+ }, Sa = {
2332
2627
  neutral: "text-fg-tertiary",
2333
2628
  success: "text-fg-success",
2334
2629
  warning: "text-fg-warning",
2335
2630
  error: "text-fg-error"
2336
2631
  };
2337
- function Ia(p) {
2338
- var x = p, {
2632
+ function Ga(p) {
2633
+ var b = p, {
2339
2634
  value: e,
2340
2635
  label: a,
2341
2636
  hint: r,
2342
2637
  icon: t,
2343
- align: n = "start",
2344
- tone: o = "neutral",
2345
- className: c
2346
- } = x, d = b(x, [
2638
+ align: i = "start",
2639
+ tone: c = "neutral",
2640
+ className: o
2641
+ } = b, d = h(b, [
2347
2642
  "value",
2348
2643
  "label",
2349
2644
  "hint",
@@ -2355,13 +2650,13 @@ function Ia(p) {
2355
2650
  const m = e == null;
2356
2651
  return /* @__PURE__ */ v(
2357
2652
  "div",
2358
- y(u({
2359
- className: s(
2653
+ y(f({
2654
+ className: n(
2360
2655
  "bg-surface-base flex-1 flex flex-col",
2361
- i("base", "p"),
2362
- i("xs", "gap-y"),
2363
- ba[n],
2364
- c
2656
+ s("base", "p"),
2657
+ s("xs", "gap-y"),
2658
+ Na[i],
2659
+ o
2365
2660
  )
2366
2661
  }, d), {
2367
2662
  children: [
@@ -2375,23 +2670,23 @@ function Ia(p) {
2375
2670
  }
2376
2671
  ) : /* @__PURE__ */ l("span", { className: "text-fg-primary text-2xl font-semibold leading-tight", children: e }),
2377
2672
  /* @__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
2673
+ r ? /* @__PURE__ */ l("span", { className: n("text-xs", Sa[c]), children: r }) : null
2379
2674
  ]
2380
2675
  })
2381
2676
  );
2382
2677
  }
2383
- const ya = {
2678
+ const $a = {
2384
2679
  2: "md:grid-cols-2",
2385
2680
  3: "md:grid-cols-3",
2386
2681
  4: "md:grid-cols-4"
2387
2682
  };
2388
- function Ua(o) {
2389
- var c = o, {
2683
+ function Ya(c) {
2684
+ var o = c, {
2390
2685
  layout: e = "grid",
2391
2686
  cols: a = 4,
2392
2687
  className: r,
2393
2688
  children: t
2394
- } = c, n = b(c, [
2689
+ } = o, i = h(o, [
2395
2690
  "layout",
2396
2691
  "cols",
2397
2692
  "className",
@@ -2400,44 +2695,44 @@ function Ua(o) {
2400
2695
  const d = e === "grid";
2401
2696
  return /* @__PURE__ */ l(
2402
2697
  "div",
2403
- y(u({
2404
- className: s(
2698
+ y(f({
2699
+ className: n(
2405
2700
  "bg-line-default border border-line-default overflow-hidden gap-px",
2406
2701
  $("lg"),
2407
- d ? `grid grid-cols-2 ${ya[a]}` : "flex",
2702
+ d ? `grid grid-cols-2 ${$a[a]}` : "flex",
2408
2703
  r
2409
2704
  )
2410
- }, n), {
2705
+ }, i), {
2411
2706
  children: t
2412
2707
  })
2413
2708
  );
2414
2709
  }
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;
2710
+ function Za(i) {
2711
+ var c = i, { column: e, row: a, className: r = "" } = c, t = h(c, ["column", "row", "className"]);
2712
+ const o = e.key in a ? a[e.key] : void 0;
2418
2713
  return /* @__PURE__ */ l(
2419
2714
  "td",
2420
- y(u({
2421
- className: `${i("lg", "px")} ${i("base", "py")} whitespace-nowrap text-sm text-fg-primary ${e.hiddenOnMobile ? "hidden md:table-cell" : ""} ${r}`
2715
+ y(f({
2716
+ className: `${s("lg", "px")} ${s("base", "py")} whitespace-nowrap text-sm text-fg-primary ${e.hiddenOnMobile ? "hidden md:table-cell" : ""} ${r}`
2422
2717
  }, t), {
2423
- children: e.render ? e.render(c, a) : String(c != null ? c : "")
2718
+ children: e.render ? e.render(o, a) : String(o != null ? o : "")
2424
2719
  })
2425
2720
  );
2426
2721
  }
2427
- const va = L(s("flex items-center", "border-b"), {
2722
+ const ka = L(n("flex items-center", "border-b"), {
2428
2723
  variants: {
2429
2724
  variant: {
2430
- default: s("border-line-default", i("base", "gap-x")),
2431
- sub: s("border-line-muted", i("sm", "gap-x"))
2725
+ default: n("border-line-default", s("base", "gap-x")),
2726
+ sub: n("border-line-muted", s("sm", "gap-x"))
2432
2727
  }
2433
2728
  },
2434
2729
  defaultVariants: {
2435
2730
  variant: "default"
2436
2731
  }
2437
- }), wa = L(
2438
- s(
2732
+ }), Ca = L(
2733
+ n(
2439
2734
  "relative -mb-px inline-flex items-center",
2440
- i("xs", "gap-x"),
2735
+ s("xs", "gap-x"),
2441
2736
  "border-b-2 border-transparent",
2442
2737
  "transition-colors",
2443
2738
  "focus:outline-none",
@@ -2449,20 +2744,20 @@ const va = L(s("flex items-center", "border-b"), {
2449
2744
  {
2450
2745
  variants: {
2451
2746
  variant: {
2452
- default: s(
2453
- i("sm", "px"),
2454
- i("sm", "py"),
2455
- S("body")
2747
+ default: n(
2748
+ s("sm", "px"),
2749
+ s("sm", "py"),
2750
+ w("body")
2456
2751
  ),
2457
- sub: s(
2458
- i("sm", "px"),
2459
- i("xs", "py"),
2460
- S("bodySmall")
2752
+ sub: n(
2753
+ s("sm", "px"),
2754
+ s("xs", "py"),
2755
+ w("bodySmall")
2461
2756
  )
2462
2757
  },
2463
2758
  active: {
2464
- true: s("border-line-brand", "text-fg-brand-emphasis", "font-medium"),
2465
- false: s(
2759
+ true: n("border-line-brand", "text-fg-brand-emphasis", "font-medium"),
2760
+ false: n(
2466
2761
  "text-fg-secondary",
2467
2762
  "hover:text-fg-primary",
2468
2763
  "hover:border-line-muted"
@@ -2474,7 +2769,7 @@ const va = L(s("flex items-center", "border-b"), {
2474
2769
  {
2475
2770
  variant: "sub",
2476
2771
  active: !1,
2477
- class: s("text-fg-tertiary", "hover:text-fg-secondary")
2772
+ class: n("text-fg-tertiary", "hover:text-fg-secondary")
2478
2773
  }
2479
2774
  ],
2480
2775
  defaultVariants: {
@@ -2482,21 +2777,21 @@ const va = L(s("flex items-center", "border-b"), {
2482
2777
  active: !1
2483
2778
  }
2484
2779
  }
2485
- ), Na = s(
2780
+ ), Ea = n(
2486
2781
  "inline-flex items-center justify-center",
2487
2782
  $("full"),
2488
- i("xs", "px"),
2783
+ s("xs", "px"),
2489
2784
  "bg-surface-muted text-fg-secondary text-xs"
2490
- ), Sa = j(
2491
- function(x, p) {
2492
- var m = x, {
2785
+ ), Ta = z(
2786
+ function(b, p) {
2787
+ var m = b, {
2493
2788
  items: a,
2494
2789
  variant: r = "default",
2495
2790
  linkComponent: t,
2496
- className: n,
2497
- "aria-label": o,
2498
- "aria-labelledby": c
2499
- } = m, d = b(m, [
2791
+ className: i,
2792
+ "aria-label": c,
2793
+ "aria-labelledby": o
2794
+ } = m, d = h(m, [
2500
2795
  "items",
2501
2796
  "variant",
2502
2797
  "linkComponent",
@@ -2504,49 +2799,49 @@ const va = L(s("flex items-center", "border-b"), {
2504
2799
  "aria-label",
2505
2800
  "aria-labelledby"
2506
2801
  ]);
2507
- typeof process != "undefined" && process.env.NODE_ENV !== "production" && !o && !c && console.warn(
2802
+ typeof process != "undefined" && process.env.NODE_ENV !== "production" && !c && !o && console.warn(
2508
2803
  '[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
2804
  );
2510
- const h = t != null ? t : "a";
2805
+ const x = t != null ? t : "a";
2511
2806
  return /* @__PURE__ */ l(
2512
2807
  "nav",
2513
- y(u({
2808
+ y(f({
2514
2809
  ref: p,
2515
- className: s(va({ variant: r }), n),
2516
- "aria-label": o,
2517
- "aria-labelledby": c
2810
+ className: n(ka({ variant: r }), i),
2811
+ "aria-label": c,
2812
+ "aria-labelledby": o
2518
2813
  }, d), {
2519
- children: a.map((f, g) => /* @__PURE__ */ v(
2520
- h,
2814
+ children: a.map((u, g) => /* @__PURE__ */ v(
2815
+ x,
2521
2816
  {
2522
- href: f.href,
2523
- "aria-current": f.active ? "page" : void 0,
2524
- "data-active": f.active ? "true" : void 0,
2525
- className: wa({ variant: r, active: !!f.active }),
2817
+ href: u.href,
2818
+ "aria-current": u.active ? "page" : void 0,
2819
+ "data-active": u.active ? "true" : void 0,
2820
+ className: Ca({ variant: r, active: !!u.active }),
2526
2821
  children: [
2527
- f.icon ? /* @__PURE__ */ l("span", { "aria-hidden": "true", className: "inline-flex shrink-0", children: f.icon }) : null,
2528
- /* @__PURE__ */ l("span", { children: f.label }),
2529
- f.count !== void 0 ? /* @__PURE__ */ l("span", { className: Na, children: f.count }) : null
2822
+ u.icon ? /* @__PURE__ */ l("span", { "aria-hidden": "true", className: "inline-flex shrink-0", children: u.icon }) : null,
2823
+ /* @__PURE__ */ l("span", { children: u.label }),
2824
+ u.count !== void 0 ? /* @__PURE__ */ l("span", { className: Ea, children: u.count }) : null
2530
2825
  ]
2531
2826
  },
2532
- f.href || g
2827
+ u.href || g
2533
2828
  ))
2534
2829
  })
2535
2830
  );
2536
2831
  }
2537
2832
  );
2538
- Sa.displayName = "TabsAsLinks";
2539
- function Xa({
2833
+ Ta.displayName = "TabsAsLinks";
2834
+ function Ja({
2540
2835
  items: e,
2541
2836
  orientation: a = "vertical",
2542
2837
  className: r = ""
2543
2838
  }) {
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;
2839
+ return a === "horizontal" ? /* @__PURE__ */ l("div", { className: `flex items-start ${r}`, children: e.map((t, i) => {
2840
+ const c = t.status || (i === 0 ? "active" : i < e.findIndex((d) => d.status === "active") ? "completed" : "default"), o = i === e.length - 1;
2546
2841
  return /* @__PURE__ */ l("div", { className: "flex items-start flex-1", children: /* @__PURE__ */ v("div", { className: "flex flex-col items-center flex-1", children: [
2547
2842
  /* @__PURE__ */ l(
2548
2843
  "div",
2549
- y(u({}, o === "default" ? { "data-marker": "pending" } : {}), {
2844
+ y(f({}, c === "default" ? { "data-marker": "pending" } : {}), {
2550
2845
  className: `
2551
2846
  flex
2552
2847
  items-center
@@ -2555,31 +2850,31 @@ function Xa({
2555
2850
  h-10
2556
2851
  ${$("full")}
2557
2852
  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"}
2853
+ ${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
2854
  `,
2560
- children: t.icon || (o === "completed" ? /* @__PURE__ */ l(ne, { className: "h-4 w-4" }) : n + 1)
2855
+ children: t.icon || (c === "completed" ? /* @__PURE__ */ l(ne, { className: "h-4 w-4" }) : i + 1)
2561
2856
  })
2562
2857
  ),
2563
- !c && /* @__PURE__ */ l(
2858
+ !o && /* @__PURE__ */ l(
2564
2859
  "div",
2565
2860
  {
2566
2861
  className: `
2567
2862
  w-full
2568
2863
  h-0.5
2569
- ${i("sm", "mt")}
2570
- ${o === "completed" ? "bg-success" : "bg-line-emphasis"}
2864
+ ${s("sm", "mt")}
2865
+ ${c === "completed" ? "bg-success" : "bg-line-emphasis"}
2571
2866
  `
2572
2867
  }
2573
2868
  ),
2574
2869
  /* @__PURE__ */ v(
2575
2870
  "div",
2576
2871
  {
2577
- className: `${i("base", "mt")} text-center ${i("base", "px")}`,
2872
+ className: `${s("base", "mt")} text-center ${s("base", "px")}`,
2578
2873
  children: [
2579
2874
  t.timestamp && /* @__PURE__ */ l(
2580
2875
  "p",
2581
2876
  {
2582
- className: `text-xs text-fg-tertiary ${i("xs", "mb")}`,
2877
+ className: `text-xs text-fg-tertiary ${s("xs", "mb")}`,
2583
2878
  children: t.timestamp
2584
2879
  }
2585
2880
  ),
@@ -2587,26 +2882,26 @@ function Xa({
2587
2882
  t.description && /* @__PURE__ */ l(
2588
2883
  "p",
2589
2884
  {
2590
- className: `text-xs text-fg-secondary ${i("xs", "mt")}`,
2885
+ className: `text-xs text-fg-secondary ${s("xs", "mt")}`,
2591
2886
  children: t.description
2592
2887
  }
2593
2888
  ),
2594
- t.content && /* @__PURE__ */ l("div", { className: i("sm", "mt"), children: t.content })
2889
+ t.content && /* @__PURE__ */ l("div", { className: s("sm", "mt"), children: t.content })
2595
2890
  ]
2596
2891
  }
2597
2892
  )
2598
2893
  ] }) }, 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;
2894
+ }) }) : /* @__PURE__ */ l("div", { className: `${s("none", "space-y")} ${r}`, children: e.map((t, i) => {
2895
+ const c = t.status || (i === 0 ? "active" : i < e.findIndex((d) => d.status === "active") ? "completed" : "default"), o = i === e.length - 1;
2601
2896
  return /* @__PURE__ */ v(
2602
2897
  "div",
2603
2898
  {
2604
- className: `flex items-start ${i("base", "gap")}`,
2899
+ className: `flex items-start ${s("base", "gap")}`,
2605
2900
  children: [
2606
2901
  /* @__PURE__ */ v("div", { className: "flex flex-col items-center", children: [
2607
2902
  /* @__PURE__ */ l(
2608
2903
  "div",
2609
- y(u({}, o === "default" ? { "data-marker": "pending" } : {}), {
2904
+ y(f({}, c === "default" ? { "data-marker": "pending" } : {}), {
2610
2905
  className: `
2611
2906
  flex
2612
2907
  items-center
@@ -2615,29 +2910,29 @@ function Xa({
2615
2910
  h-10
2616
2911
  ${$("full")}
2617
2912
  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"}
2913
+ ${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
2914
  `,
2620
- children: t.icon || (o === "completed" ? /* @__PURE__ */ l(ne, { className: "h-4 w-4" }) : n + 1)
2915
+ children: t.icon || (c === "completed" ? /* @__PURE__ */ l(ne, { className: "h-4 w-4" }) : i + 1)
2621
2916
  })
2622
2917
  ),
2623
- !c && /* @__PURE__ */ l(
2918
+ !o && /* @__PURE__ */ l(
2624
2919
  "div",
2625
2920
  {
2626
2921
  className: `
2627
2922
  w-0.5
2628
2923
  flex-1
2629
2924
  min-h-16
2630
- ${i("sm", "mt")}
2631
- ${o === "completed" ? "bg-success" : "bg-line-emphasis"}
2925
+ ${s("sm", "mt")}
2926
+ ${c === "completed" ? "bg-success" : "bg-line-emphasis"}
2632
2927
  `
2633
2928
  }
2634
2929
  )
2635
2930
  ] }),
2636
- /* @__PURE__ */ v("div", { className: `flex-1 ${i("xl", "pb")}`, children: [
2931
+ /* @__PURE__ */ v("div", { className: `flex-1 ${s("xl", "pb")}`, children: [
2637
2932
  t.timestamp && /* @__PURE__ */ l(
2638
2933
  "p",
2639
2934
  {
2640
- className: `text-xs text-fg-tertiary ${i("xs", "mb")}`,
2935
+ className: `text-xs text-fg-tertiary ${s("xs", "mb")}`,
2641
2936
  children: t.timestamp
2642
2937
  }
2643
2938
  ),
@@ -2647,7 +2942,7 @@ function Xa({
2647
2942
  className: `
2648
2943
  text-base
2649
2944
  font-semibold
2650
- ${o === "active" ? "text-fg-brand-emphasis" : "text-fg-primary"}
2945
+ ${c === "active" ? "text-fg-brand-emphasis" : "text-fg-primary"}
2651
2946
  `,
2652
2947
  children: t.title
2653
2948
  }
@@ -2655,11 +2950,11 @@ function Xa({
2655
2950
  t.description && /* @__PURE__ */ l(
2656
2951
  "p",
2657
2952
  {
2658
- className: `text-sm text-fg-secondary ${i("xs", "mt")}`,
2953
+ className: `text-sm text-fg-secondary ${s("xs", "mt")}`,
2659
2954
  children: t.description
2660
2955
  }
2661
2956
  ),
2662
- t.content && /* @__PURE__ */ l("div", { className: i("md", "mt"), children: t.content })
2957
+ t.content && /* @__PURE__ */ l("div", { className: s("md", "mt"), children: t.content })
2663
2958
  ] })
2664
2959
  ]
2665
2960
  },
@@ -2669,40 +2964,42 @@ function Xa({
2669
2964
  }
2670
2965
  export {
2671
2966
  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,
2967
+ da as Breadcrumb,
2968
+ Ie as Button,
2969
+ W as Card,
2970
+ ma as CardActions,
2971
+ ga as CardBody,
2972
+ ua as CardHeader,
2973
+ pa as CardSubtitle,
2974
+ fa as CardTitle,
2975
+ We as Chip,
2976
+ oa as Container,
2977
+ Ke as DataBadge,
2978
+ Ma as DialogFooter,
2979
+ Oa as DialogHeader,
2980
+ Pa as DrawerFooter,
2981
+ Ha as DrawerHeader,
2982
+ ja as ErrorMessage,
2983
+ Ia as FilterChips,
2984
+ Wa as HeaderActions,
2985
+ Ua as HeaderNavigation,
2986
+ va as HeroSection,
2987
+ Ra as Info,
2988
+ Ge as InputBase,
2989
+ Je as Label,
2990
+ Ka as MenuSeparator,
2991
+ qa as NavbarSeparator,
2992
+ Xa as PageHeader,
2993
+ aa as Progress,
2994
+ na as Separator,
2995
+ Ba as Skeleton,
2699
2996
  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
2997
+ ca as Stack,
2998
+ Ga as Stat,
2999
+ Ya as StatGroup,
3000
+ Za as TableCell,
3001
+ Ta as TabsAsLinks,
3002
+ H as Text,
3003
+ Ja as Timeline
2707
3004
  };
2708
3005
  //# sourceMappingURL=index.js.map