@fabio.caffarello/react-design-system 3.0.0 → 3.1.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,37 +1,113 @@
1
- var ee = Object.defineProperty, ae = Object.defineProperties;
2
- var te = Object.getOwnPropertyDescriptors;
3
- var V = Object.getOwnPropertySymbols;
4
- var _ = Object.prototype.hasOwnProperty, K = Object.prototype.propertyIsEnumerable;
5
- var B = (r, a, i) => a in r ? ee(r, a, { enumerable: !0, configurable: !0, writable: !0, value: i }) : r[a] = i, b = (r, a) => {
6
- for (var i in a || (a = {}))
7
- _.call(a, i) && B(r, i, a[i]);
8
- if (V)
9
- for (var i of V(a))
10
- K.call(a, i) && B(r, i, a[i]);
11
- return r;
12
- }, k = (r, a) => ae(r, te(a));
13
- var h = (r, a) => {
14
- var i = {};
15
- for (var t in r)
16
- _.call(r, t) && a.indexOf(t) < 0 && (i[t] = r[t]);
17
- if (r != null && V)
18
- for (var t of V(r))
19
- a.indexOf(t) < 0 && K.call(r, t) && (i[t] = r[t]);
20
- return i;
1
+ var ne = Object.defineProperty, ie = Object.defineProperties;
2
+ var se = Object.getOwnPropertyDescriptors;
3
+ var _ = Object.getOwnPropertySymbols;
4
+ var K = Object.prototype.hasOwnProperty, X = Object.prototype.propertyIsEnumerable;
5
+ var H = (t, a, n) => a in t ? ne(t, a, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[a] = n, b = (t, a) => {
6
+ for (var n in a || (a = {}))
7
+ K.call(a, n) && H(t, n, a[n]);
8
+ if (_)
9
+ for (var n of _(a))
10
+ X.call(a, n) && H(t, n, a[n]);
11
+ return t;
12
+ }, w = (t, a) => ie(t, se(a));
13
+ var y = (t, a) => {
14
+ var n = {};
15
+ for (var r in t)
16
+ K.call(t, r) && a.indexOf(r) < 0 && (n[r] = t[r]);
17
+ if (t != null && _)
18
+ for (var r of _(t))
19
+ a.indexOf(r) < 0 && X.call(t, r) && (n[r] = t[r]);
20
+ return n;
21
21
  };
22
- var X = (r, a, i) => B(r, typeof a != "symbol" ? a + "" : a, i);
23
- import { jsxs as T, jsx as o } from "react/jsx-runtime";
24
- import Q, { forwardRef as H, memo as re } from "react";
25
- import { X as ie, AlertCircle as ne, Loader2 as se, CheckCircle2 as G } from "lucide-react";
26
- import { clsx as le } from "clsx";
27
- import { twMerge as oe } from "tailwind-merge";
28
- import { cva as ce } from "class-variance-authority";
29
- class A {
22
+ var Y = (t, a, n) => H(t, typeof a != "symbol" ? a + "" : a, n);
23
+ import { jsx as o, jsxs as T } from "react/jsx-runtime";
24
+ import * as S from "react";
25
+ import ee, { forwardRef as O, memo as le } from "react";
26
+ import { X as oe, AlertCircle as ce, Loader2 as de, CheckCircle2 as Z } from "lucide-react";
27
+ import { clsx as fe } from "clsx";
28
+ import { twMerge as pe } from "tailwind-merge";
29
+ import { cva as ue } from "class-variance-authority";
30
+ function G(t, a) {
31
+ if (typeof t == "function")
32
+ return t(a);
33
+ t != null && (t.current = a);
34
+ }
35
+ function me(...t) {
36
+ return (a) => {
37
+ let n = !1;
38
+ const r = t.map((i) => {
39
+ const s = G(i, a);
40
+ return !n && typeof s == "function" && (n = !0), s;
41
+ });
42
+ if (n)
43
+ return () => {
44
+ for (let i = 0; i < r.length; i++) {
45
+ const s = r[i];
46
+ typeof s == "function" ? s() : G(t[i], null);
47
+ }
48
+ };
49
+ };
50
+ }
51
+ var be = /* @__PURE__ */ Symbol.for("react.lazy"), V = S[" use ".trim().toString()];
52
+ function ge(t) {
53
+ return typeof t == "object" && t !== null && "then" in t;
54
+ }
55
+ function ae(t) {
56
+ return t != null && typeof t == "object" && "$$typeof" in t && t.$$typeof === be && "_payload" in t && ge(t._payload);
57
+ }
58
+ // @__NO_SIDE_EFFECTS__
59
+ function xe(t) {
60
+ const a = /* @__PURE__ */ ye(t), n = S.forwardRef((r, i) => {
61
+ let m = r, { children: s } = m, c = y(m, ["children"]);
62
+ ae(s) && typeof V == "function" && (s = V(s._payload));
63
+ const d = S.Children.toArray(s), p = d.find(ve);
64
+ if (p) {
65
+ const u = p.props.children, x = d.map((h) => h === p ? S.Children.count(u) > 1 ? S.Children.only(null) : S.isValidElement(u) ? u.props.children : null : h);
66
+ return /* @__PURE__ */ o(a, w(b({}, c), { ref: i, children: S.isValidElement(u) ? S.cloneElement(u, void 0, x) : null }));
67
+ }
68
+ return /* @__PURE__ */ o(a, w(b({}, c), { ref: i, children: s }));
69
+ });
70
+ return n.displayName = `${t}.Slot`, n;
71
+ }
72
+ var he = /* @__PURE__ */ xe("Slot");
73
+ // @__NO_SIDE_EFFECTS__
74
+ function ye(t) {
75
+ const a = S.forwardRef((n, r) => {
76
+ let c = n, { children: i } = c, s = y(c, ["children"]);
77
+ if (ae(i) && typeof V == "function" && (i = V(i._payload)), S.isValidElement(i)) {
78
+ const d = $e(i), p = ke(s, i.props);
79
+ return i.type !== S.Fragment && (p.ref = r ? me(r, d) : d), S.cloneElement(i, p);
80
+ }
81
+ return S.Children.count(i) > 1 ? S.Children.only(null) : null;
82
+ });
83
+ return a.displayName = `${t}.SlotClone`, a;
84
+ }
85
+ var we = /* @__PURE__ */ Symbol("radix.slottable");
86
+ function ve(t) {
87
+ return S.isValidElement(t) && typeof t.type == "function" && "__radixId" in t.type && t.type.__radixId === we;
88
+ }
89
+ function ke(t, a) {
90
+ const n = b({}, a);
91
+ for (const r in a) {
92
+ const i = t[r], s = a[r];
93
+ /^on[A-Z]/.test(r) ? i && s ? n[r] = (...d) => {
94
+ const p = s(...d);
95
+ return i(...d), p;
96
+ } : i && (n[r] = i) : r === "style" ? n[r] = b(b({}, i), s) : r === "className" && (n[r] = [i, s].filter(Boolean).join(" "));
97
+ }
98
+ return b(b({}, t), n);
99
+ }
100
+ function $e(t) {
101
+ var r, i;
102
+ let a = (r = Object.getOwnPropertyDescriptor(t.props, "ref")) == null ? void 0 : r.get, n = a && "isReactWarning" in a && a.isReactWarning;
103
+ return n ? t.ref : (a = (i = Object.getOwnPropertyDescriptor(t, "ref")) == null ? void 0 : i.get, n = a && "isReactWarning" in a && a.isReactWarning, n ? t.props.ref : t.props.ref || t.ref);
104
+ }
105
+ class I {
30
106
  /**
31
107
  * Create a radius token
32
108
  */
33
109
  static create(a) {
34
- const t = {
110
+ const r = {
35
111
  none: {
36
112
  px: 0,
37
113
  tailwind: "rounded-none",
@@ -74,38 +150,38 @@ class A {
74
150
  }
75
151
  }[a];
76
152
  return {
77
- value: t.px,
78
- rem: `${t.px / 16}rem`,
79
- px: `${t.px}px`,
80
- tailwind: t.tailwind,
81
- description: t.description
153
+ value: r.px,
154
+ rem: `${r.px / 16}rem`,
155
+ px: `${r.px}px`,
156
+ tailwind: r.tailwind,
157
+ description: r.description
82
158
  };
83
159
  }
84
160
  }
85
- const de = {
86
- none: A.create("none"),
87
- sm: A.create("sm"),
88
- md: A.create("md"),
89
- lg: A.create("lg"),
90
- xl: A.create("xl"),
91
- "2xl": A.create("2xl"),
92
- "3xl": A.create("3xl"),
93
- full: A.create("full")
161
+ const Ne = {
162
+ none: I.create("none"),
163
+ sm: I.create("sm"),
164
+ md: I.create("md"),
165
+ lg: I.create("lg"),
166
+ xl: I.create("xl"),
167
+ "2xl": I.create("2xl"),
168
+ "3xl": I.create("3xl"),
169
+ full: I.create("full")
94
170
  };
95
- function S(r) {
96
- return de[r].tailwind;
171
+ function F(t) {
172
+ return Ne[t].tailwind;
97
173
  }
98
- class w {
174
+ class v {
99
175
  // 4px base
100
176
  /**
101
177
  * Create a spacing token from scale value
102
178
  */
103
179
  static create(a) {
104
- const i = a * this.BASE_UNIT, t = i / 16;
180
+ const n = a * this.BASE_UNIT, r = n / 16;
105
181
  return {
106
- value: i,
107
- rem: `${t}rem`,
108
- px: `${i}px`,
182
+ value: n,
183
+ rem: `${r}rem`,
184
+ px: `${n}px`,
109
185
  tailwind: this.getTailwindClass(a)
110
186
  };
111
187
  }
@@ -162,46 +238,46 @@ class w {
162
238
  }[a] || String(a);
163
239
  }
164
240
  }
165
- X(w, "BASE_UNIT", 4);
166
- const fe = {
241
+ Y(v, "BASE_UNIT", 4);
242
+ const Se = {
167
243
  // Micro spacing (0-14px)
168
- none: w.create(0),
169
- "0.5": w.create(0.5),
244
+ none: v.create(0),
245
+ "0.5": v.create(0.5),
170
246
  // 2px (half-step)
171
- xs: w.create(1),
247
+ xs: v.create(1),
172
248
  // 4px
173
- "1.5": w.create(1.5),
249
+ "1.5": v.create(1.5),
174
250
  // 6px (half-step)
175
- sm: w.create(2),
251
+ sm: v.create(2),
176
252
  // 8px
177
- "2.5": w.create(2.5),
253
+ "2.5": v.create(2.5),
178
254
  // 10px (half-step)
179
- md: w.create(3),
255
+ md: v.create(3),
180
256
  // 12px
181
- "3.5": w.create(3.5),
257
+ "3.5": v.create(3.5),
182
258
  // 14px (half-step)
183
259
  // Standard spacing (16-32px)
184
- base: w.create(4),
260
+ base: v.create(4),
185
261
  // 16px
186
- lg: w.create(6),
262
+ lg: v.create(6),
187
263
  // 24px
188
- xl: w.create(8),
264
+ xl: v.create(8),
189
265
  // 32px
190
266
  // Large spacing (40-64px)
191
- "2xl": w.create(10),
267
+ "2xl": v.create(10),
192
268
  // 40px
193
- "3xl": w.create(12),
269
+ "3xl": v.create(12),
194
270
  // 48px
195
- "4xl": w.create(16),
271
+ "4xl": v.create(16),
196
272
  // 64px
197
273
  // Extra large spacing (80px+)
198
- "5xl": w.create(20),
274
+ "5xl": v.create(20),
199
275
  // 80px
200
- "6xl": w.create(24)
276
+ "6xl": v.create(24)
201
277
  // 96px
202
278
  };
203
- function l(r, a = "p") {
204
- const t = fe[r].tailwind;
279
+ function l(t, a = "p") {
280
+ const r = Se[t].tailwind;
205
281
  return `${{
206
282
  p: "p",
207
283
  m: "m",
@@ -222,14 +298,14 @@ function l(r, a = "p") {
222
298
  "gap-y": "gap-y",
223
299
  "space-x": "space-x",
224
300
  "space-y": "space-y"
225
- }[a]}-${t}`;
301
+ }[a]}-${r}`;
226
302
  }
227
- class v {
303
+ class k {
228
304
  /**
229
305
  * Create font size token
230
306
  */
231
307
  static createFontSize(a) {
232
- const t = {
308
+ const r = {
233
309
  "2xs": { px: 10, tailwind: "text-2xs" },
234
310
  // micro-text (badge counters, mini chips)
235
311
  xs: { px: 12, tailwind: "text-xs" },
@@ -244,17 +320,17 @@ class v {
244
320
  "6xl": { px: 60, tailwind: "text-6xl" }
245
321
  }[a];
246
322
  return {
247
- value: t.px,
248
- rem: `${t.px / 16}rem`,
249
- px: `${t.px}px`,
250
- tailwind: t.tailwind
323
+ value: r.px,
324
+ rem: `${r.px / 16}rem`,
325
+ px: `${r.px}px`,
326
+ tailwind: r.tailwind
251
327
  };
252
328
  }
253
329
  /**
254
330
  * Create line height token
255
331
  */
256
332
  static createLineHeight(a) {
257
- const t = {
333
+ const r = {
258
334
  none: { value: 1, tailwind: "leading-none" },
259
335
  tight: { value: 1.25, tailwind: "leading-tight" },
260
336
  snug: { value: 1.375, tailwind: "leading-snug" },
@@ -263,15 +339,15 @@ class v {
263
339
  loose: { value: 2, tailwind: "leading-loose" }
264
340
  }[a];
265
341
  return {
266
- value: t.value,
267
- tailwind: t.tailwind
342
+ value: r.value,
343
+ tailwind: r.tailwind
268
344
  };
269
345
  }
270
346
  /**
271
347
  * Create font weight token
272
348
  */
273
349
  static createFontWeight(a) {
274
- const t = {
350
+ const r = {
275
351
  light: { value: 300, tailwind: "font-light" },
276
352
  normal: { value: 400, tailwind: "font-normal" },
277
353
  medium: { value: 500, tailwind: "font-medium" },
@@ -279,83 +355,83 @@ class v {
279
355
  bold: { value: 700, tailwind: "font-bold" }
280
356
  }[a];
281
357
  return {
282
- value: t.value,
283
- tailwind: t.tailwind
358
+ value: r.value,
359
+ tailwind: r.tailwind
284
360
  };
285
361
  }
286
362
  /**
287
363
  * Create complete typography token
288
364
  */
289
- static create(a, i = "normal", t = "normal") {
365
+ static create(a, n = "normal", r = "normal") {
290
366
  return {
291
367
  fontSize: this.createFontSize(a),
292
- lineHeight: this.createLineHeight(i),
293
- fontWeight: this.createFontWeight(t)
368
+ lineHeight: this.createLineHeight(n),
369
+ fontWeight: this.createFontWeight(r)
294
370
  };
295
371
  }
296
372
  }
297
- v.createFontWeight("light"), v.createFontWeight("normal"), v.createFontWeight("medium"), v.createFontWeight("semibold"), v.createFontWeight("bold");
373
+ k.createFontWeight("light"), k.createFontWeight("normal"), k.createFontWeight("medium"), k.createFontWeight("semibold"), k.createFontWeight("bold");
298
374
  const U = {
299
375
  // Headings
300
- h1: v.create("4xl", "tight", "bold"),
301
- h2: v.create("3xl", "tight", "bold"),
302
- h3: v.create("2xl", "snug", "semibold"),
303
- h4: v.create("xl", "snug", "semibold"),
304
- h5: v.create("lg", "normal", "medium"),
305
- h6: v.create("base", "normal", "medium"),
376
+ h1: k.create("4xl", "tight", "bold"),
377
+ h2: k.create("3xl", "tight", "bold"),
378
+ h3: k.create("2xl", "snug", "semibold"),
379
+ h4: k.create("xl", "snug", "semibold"),
380
+ h5: k.create("lg", "normal", "medium"),
381
+ h6: k.create("base", "normal", "medium"),
306
382
  // Body text
307
- body: v.create("base", "relaxed", "normal"),
308
- bodySmall: v.create("sm", "relaxed", "normal"),
309
- bodyLarge: v.create("lg", "relaxed", "normal"),
383
+ body: k.create("base", "relaxed", "normal"),
384
+ bodySmall: k.create("sm", "relaxed", "normal"),
385
+ bodyLarge: k.create("lg", "relaxed", "normal"),
310
386
  // UI elements
311
- label: v.create("sm", "normal", "medium"),
312
- caption: v.create("xs", "normal", "normal"),
313
- button: v.create("base", "normal", "medium")
387
+ label: k.create("sm", "normal", "medium"),
388
+ caption: k.create("xs", "normal", "normal"),
389
+ button: k.create("base", "normal", "medium")
314
390
  };
315
- function I(r) {
316
- const a = U[r];
391
+ function R(t) {
392
+ const a = U[t];
317
393
  return `${a.fontSize.tailwind} ${a.lineHeight.tailwind} ${a.fontWeight.tailwind}`;
318
394
  }
319
- function C(r) {
320
- return U[r].fontSize.tailwind;
395
+ function E(t) {
396
+ return U[t].fontSize.tailwind;
321
397
  }
322
- function R(r) {
323
- return U[r].fontWeight.tailwind;
398
+ function B(t) {
399
+ return U[t].fontWeight.tailwind;
324
400
  }
325
- function d(...r) {
326
- return oe(le(r));
401
+ function f(...t) {
402
+ return pe(fe(t));
327
403
  }
328
- const O = (r, a) => {
329
- const i = ce(r, a);
330
- return ((t) => {
331
- const n = i(t);
332
- return d(n);
404
+ const P = (t, a) => {
405
+ const n = ue(t, a);
406
+ return ((r) => {
407
+ const i = n(r);
408
+ return f(i);
333
409
  });
334
- }, pe = O(
410
+ }, Q = P(
335
411
  // Base classes
336
- d(
412
+ f(
337
413
  "inline-flex",
338
414
  "items-center",
339
415
  "font-medium",
340
- S("full"),
416
+ F("full"),
341
417
  l("xs", "gap")
342
418
  ),
343
419
  {
344
420
  variants: {
345
421
  variant: {
346
- default: d(
422
+ default: f(
347
423
  "bg-surface-muted",
348
424
  "text-fg-primary",
349
425
  "border",
350
426
  "border-line-default"
351
427
  ),
352
- outlined: d(
428
+ outlined: f(
353
429
  "bg-transparent",
354
430
  "text-fg-primary",
355
431
  "border",
356
432
  "border-line-default"
357
433
  ),
358
- filled: d(
434
+ filled: f(
359
435
  "bg-surface-brand-strong",
360
436
  "text-fg-inverse",
361
437
  "border",
@@ -363,24 +439,24 @@ const O = (r, a) => {
363
439
  )
364
440
  },
365
441
  size: {
366
- sm: d(
442
+ sm: f(
367
443
  l("xs", "px"),
368
444
  l("xs", "py"),
369
- C("caption")
445
+ E("caption")
370
446
  ),
371
- md: d(
447
+ md: f(
372
448
  l("sm", "px"),
373
449
  l("xs", "py"),
374
- C("bodySmall")
450
+ E("bodySmall")
375
451
  ),
376
- lg: d(
452
+ lg: f(
377
453
  l("md", "px"),
378
454
  l("sm", "py"),
379
- C("body")
455
+ E("body")
380
456
  )
381
457
  },
382
458
  selected: {
383
- true: d(
459
+ true: f(
384
460
  "bg-surface-brand-strong",
385
461
  "text-fg-inverse",
386
462
  "border",
@@ -420,64 +496,66 @@ const O = (r, a) => {
420
496
  disabled: !1
421
497
  }
422
498
  }
423
- ), ue = H(function(N, y) {
424
- var F = N, {
425
- children: a,
499
+ ), Te = O(function(a, n) {
500
+ const {
501
+ children: r,
426
502
  variant: i = "default",
427
- size: t = "md",
428
- onRemove: n,
429
- selected: s = !1,
430
- disabled: c = !1,
431
- className: f = "",
503
+ size: s = "md",
504
+ selected: c = !1,
505
+ disabled: d = !1,
506
+ className: p = "",
432
507
  "aria-label": m,
433
- onClick: p,
434
- tabIndex: u
435
- } = F, x = h(F, [
436
- "children",
437
- "variant",
438
- "size",
439
- "onRemove",
440
- "selected",
441
- "disabled",
442
- "className",
443
- "aria-label",
444
- "onClick",
445
- "tabIndex"
446
- ]);
447
- const q = (() => {
508
+ tabIndex: u,
509
+ asChild: x = !1
510
+ } = a, $ = (() => {
448
511
  if (m) return m;
449
- if (typeof a == "string") return a;
450
- if (typeof a == "object" && a !== null && "props" in a) {
451
- const M = a.props;
512
+ if (typeof r == "string") return r;
513
+ if (typeof r == "object" && r !== null && "props" in r) {
514
+ const M = r.props;
452
515
  if (M != null && M.children && typeof M.children == "string")
453
516
  return M.children;
454
517
  }
455
- })(), P = p !== void 0, Z = P && !c, J = (M) => {
456
- c || (M.key === "Enter" || M.key === " ") && (M.preventDefault(), p == null || p());
518
+ })();
519
+ if (x)
520
+ return /* @__PURE__ */ o(
521
+ he,
522
+ {
523
+ ref: n,
524
+ className: f(
525
+ Q({ variant: i, size: s, selected: c, disabled: d }),
526
+ p
527
+ ),
528
+ "aria-label": m,
529
+ "aria-disabled": d || void 0,
530
+ tabIndex: u,
531
+ children: r
532
+ }
533
+ );
534
+ const { onRemove: C, onClick: L } = a, q = L !== void 0, te = q && !d, re = (M) => {
535
+ d || (M.key === "Enter" || M.key === " ") && (M.preventDefault(), L == null || L());
457
536
  };
458
537
  return /* @__PURE__ */ T(
459
538
  "div",
460
- k(b({
461
- ref: y,
462
- className: d(
463
- pe({ variant: i, size: t, selected: s, disabled: c }),
464
- n && l("xs", "pr"),
465
- f
539
+ {
540
+ ref: n,
541
+ className: f(
542
+ Q({ variant: i, size: s, selected: c, disabled: d }),
543
+ C && l("xs", "pr"),
544
+ p
466
545
  ),
467
- "aria-disabled": c
468
- }, x), {
546
+ "aria-disabled": d,
469
547
  children: [
470
- P ? /* @__PURE__ */ o(
548
+ q ? /* @__PURE__ */ o(
471
549
  "button",
472
550
  {
473
551
  type: "button",
474
- onClick: c ? void 0 : p,
475
- onKeyDown: J,
476
- disabled: c,
477
- "aria-pressed": s ? !0 : void 0,
478
- "aria-label": m || q,
479
- tabIndex: u !== void 0 ? u : Z ? 0 : void 0,
480
- className: d(
552
+ onClick: d ? void 0 : L,
553
+ onKeyDown: re,
554
+ disabled: d,
555
+ "aria-pressed": c ? !0 : void 0,
556
+ "aria-label": m || $,
557
+ tabIndex: u !== void 0 ? u : te ? 0 : void 0,
558
+ className: f(
481
559
  "flex-1",
482
560
  "bg-transparent",
483
561
  "border-0",
@@ -489,22 +567,22 @@ const O = (r, a) => {
489
567
  "focus:ring-2",
490
568
  "focus:ring-line-focus",
491
569
  "focus:ring-offset-2",
492
- S("full")
570
+ F("full")
493
571
  ),
494
- children: a
572
+ children: r
495
573
  }
496
- ) : /* @__PURE__ */ o("span", { children: a }),
497
- n && !c && /* @__PURE__ */ o(
574
+ ) : /* @__PURE__ */ o("span", { children: r }),
575
+ C && !d && /* @__PURE__ */ o(
498
576
  "button",
499
577
  {
500
578
  type: "button",
501
579
  onClick: (M) => {
502
- M.stopPropagation(), n();
580
+ M.stopPropagation(), C();
503
581
  },
504
- className: d(
582
+ className: f(
505
583
  l("xs", "ml"),
506
584
  "hover:bg-tint-hover",
507
- S("full"),
585
+ F("full"),
508
586
  l("xs", "p"),
509
587
  "transition-colors",
510
588
  "focus:outline-none",
@@ -512,139 +590,139 @@ const O = (r, a) => {
512
590
  "focus:ring-line-focus",
513
591
  "focus:ring-offset-1"
514
592
  ),
515
- "aria-label": `Remove ${q || "chip"}`,
516
- children: /* @__PURE__ */ o(ie, { className: "h-3 w-3", "aria-hidden": "true" })
593
+ "aria-label": `Remove ${$ || "chip"}`,
594
+ children: /* @__PURE__ */ o(oe, { className: "h-3 w-3", "aria-hidden": "true" })
517
595
  }
518
596
  )
519
597
  ]
520
- })
598
+ }
521
599
  );
522
600
  });
523
- ue.displayName = "Chip";
524
- function De(n) {
525
- var s = n, {
526
- message: r,
601
+ Te.displayName = "Chip";
602
+ function Xe(i) {
603
+ var s = i, {
604
+ message: t,
527
605
  id: a,
528
- className: i = ""
529
- } = s, t = h(s, [
606
+ className: n = ""
607
+ } = s, r = y(s, [
530
608
  "message",
531
609
  "id",
532
610
  "className"
533
611
  ]);
534
612
  const c = [
535
613
  l("xs", "mt"),
536
- C("bodySmall"),
614
+ E("bodySmall"),
537
615
  "text-fg-error",
538
616
  "flex",
539
617
  "items-center",
540
618
  l("xs", "gap")
541
- ], f = d(...c, i);
542
- return /* @__PURE__ */ T("div", k(b({ role: "alert", id: a, className: f, "aria-live": "polite" }, t), { children: [
543
- /* @__PURE__ */ o(ne, { className: "h-4 w-4 shrink-0", "aria-hidden": "true" }),
544
- /* @__PURE__ */ o("span", { children: r })
619
+ ], d = f(...c, n);
620
+ return /* @__PURE__ */ T("div", w(b({ role: "alert", id: a, className: d, "aria-live": "polite" }, r), { children: [
621
+ /* @__PURE__ */ o(ce, { className: "h-4 w-4 shrink-0", "aria-hidden": "true" }),
622
+ /* @__PURE__ */ o("span", { children: t })
545
623
  ] }));
546
624
  }
547
- function je(t) {
548
- var n = t, {
549
- variant: r = "info",
625
+ function Ye(r) {
626
+ var i = r, {
627
+ variant: t = "info",
550
628
  className: a
551
- } = n, i = h(n, [
629
+ } = i, n = y(i, [
552
630
  "variant",
553
631
  "className"
554
632
  ]);
555
633
  const s = {
556
- warning: d("bg-warning-bg", "text-warning-dark", "border-warning"),
557
- error: d("bg-error-bg", "text-error-dark", "border-error"),
558
- info: d("bg-info-bg", "text-info-dark", "border-info")
634
+ warning: f("bg-warning-bg", "text-warning-dark", "border-warning"),
635
+ error: f("bg-error-bg", "text-error-dark", "border-error"),
636
+ info: f("bg-info-bg", "text-info-dark", "border-info")
559
637
  };
560
638
  return /* @__PURE__ */ o(
561
639
  "div",
562
640
  b({
563
641
  role: "alert",
564
- className: d(
642
+ className: f(
565
643
  "border",
566
644
  l("base", "px"),
567
645
  l("sm", "py"),
568
- S("lg"),
569
- s[r],
646
+ F("lg"),
647
+ s[t],
570
648
  a
571
649
  )
572
- }, i)
650
+ }, n)
573
651
  );
574
652
  }
575
- function g(r, a, i) {
576
- const t = me(r), n = be(r);
653
+ function g(t, a, n) {
654
+ const r = Ce(t), i = Me(t);
577
655
  return {
578
- hex: r,
579
- rgb: t,
580
- hsl: n,
581
- cssVar: `var(--color-${a}-${i})`,
582
- tailwind: `${a}-${i}`
656
+ hex: t,
657
+ rgb: r,
658
+ hsl: i,
659
+ cssVar: `var(--color-${a}-${n})`,
660
+ tailwind: `${a}-${n}`
583
661
  };
584
662
  }
585
- function me(r) {
586
- const a = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(r);
663
+ function Ce(t) {
664
+ const a = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);
587
665
  return a ? `${parseInt(a[1], 16)}, ${parseInt(a[2], 16)}, ${parseInt(a[3], 16)}` : "0, 0, 0";
588
666
  }
589
- function be(r) {
590
- const a = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(r);
667
+ function Me(t) {
668
+ const a = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);
591
669
  if (!a) return "0, 0%, 0%";
592
- const i = parseInt(a[1], 16) / 255, t = parseInt(a[2], 16) / 255, n = parseInt(a[3], 16) / 255, s = Math.max(i, t, n), c = Math.min(i, t, n);
593
- let f = 0, m = 0;
594
- const p = (s + c) / 2;
670
+ const n = parseInt(a[1], 16) / 255, r = parseInt(a[2], 16) / 255, i = parseInt(a[3], 16) / 255, s = Math.max(n, r, i), c = Math.min(n, r, i);
671
+ let d = 0, p = 0;
672
+ const m = (s + c) / 2;
595
673
  if (s !== c) {
596
674
  const u = s - c;
597
- switch (m = p > 0.5 ? u / (2 - s - c) : u / (s + c), s) {
598
- case i:
599
- f = ((t - n) / u + (t < n ? 6 : 0)) / 6;
675
+ switch (p = m > 0.5 ? u / (2 - s - c) : u / (s + c), s) {
676
+ case n:
677
+ d = ((r - i) / u + (r < i ? 6 : 0)) / 6;
600
678
  break;
601
- case t:
602
- f = ((n - i) / u + 2) / 6;
679
+ case r:
680
+ d = ((i - n) / u + 2) / 6;
603
681
  break;
604
- case n:
605
- f = ((i - t) / u + 4) / 6;
682
+ case i:
683
+ d = ((n - r) / u + 4) / 6;
606
684
  break;
607
685
  }
608
686
  }
609
- return `${Math.round(f * 360)}, ${Math.round(m * 100)}%, ${Math.round(p * 100)}%`;
687
+ return `${Math.round(d * 360)}, ${Math.round(p * 100)}%, ${Math.round(m * 100)}%`;
610
688
  }
611
689
  g("#f0f4f8", "brand-primary", 50), g("#d9e2ec", "brand-primary", 100), g("#bcccdc", "brand-primary", 200), g("#9fb3c8", "brand-primary", 300), g("#7390ad", "brand-primary", 400), g("#486581", "brand-primary", 500), g("#334e68", "brand-primary", 600), g("#243b53", "brand-primary", 700), g("#1a2a3a", "brand-primary", 800), g("#102a43", "brand-primary", 900), g("#061a35", "brand-primary", 950);
612
690
  g("#f7f5ff", "brand-secondary", 50), g("#eee9ff", "brand-secondary", 100), g("#e0d6ff", "brand-secondary", 200), g("#cbb8ff", "brand-secondary", 300), g("#aa89fc", "brand-secondary", 400), g("#8e58f2", "brand-secondary", 500), g("#703bc8", "brand-secondary", 600), g("#582aa2", "brand-secondary", 700), g("#44227e", "brand-secondary", 800), g("#32185d", "brand-secondary", 900), g("#180635", "brand-secondary", 950);
613
- function e(r, a, i) {
614
- const t = ge(r), n = xe(r);
691
+ function e(t, a, n) {
692
+ const r = Fe(t), i = Le(t);
615
693
  return {
616
- hex: r,
617
- rgb: t,
618
- hsl: n,
619
- cssVar: `var(--color-${a}-${i})`,
620
- tailwind: `${a}-${i}`
694
+ hex: t,
695
+ rgb: r,
696
+ hsl: i,
697
+ cssVar: `var(--color-${a}-${n})`,
698
+ tailwind: `${a}-${n}`
621
699
  };
622
700
  }
623
- function ge(r) {
624
- const a = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(r);
701
+ function Fe(t) {
702
+ const a = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);
625
703
  return a ? `${parseInt(a[1], 16)}, ${parseInt(a[2], 16)}, ${parseInt(a[3], 16)}` : "0, 0, 0";
626
704
  }
627
- function xe(r) {
628
- const a = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(r);
705
+ function Le(t) {
706
+ const a = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);
629
707
  if (!a) return "0, 0%, 0%";
630
- const i = parseInt(a[1], 16) / 255, t = parseInt(a[2], 16) / 255, n = parseInt(a[3], 16) / 255, s = Math.max(i, t, n), c = Math.min(i, t, n);
631
- let f = 0, m = 0;
632
- const p = (s + c) / 2;
708
+ const n = parseInt(a[1], 16) / 255, r = parseInt(a[2], 16) / 255, i = parseInt(a[3], 16) / 255, s = Math.max(n, r, i), c = Math.min(n, r, i);
709
+ let d = 0, p = 0;
710
+ const m = (s + c) / 2;
633
711
  if (s !== c) {
634
712
  const u = s - c;
635
- switch (m = p > 0.5 ? u / (2 - s - c) : u / (s + c), s) {
636
- case i:
637
- f = ((t - n) / u + (t < n ? 6 : 0)) / 6;
713
+ switch (p = m > 0.5 ? u / (2 - s - c) : u / (s + c), s) {
714
+ case n:
715
+ d = ((r - i) / u + (r < i ? 6 : 0)) / 6;
638
716
  break;
639
- case t:
640
- f = ((n - i) / u + 2) / 6;
717
+ case r:
718
+ d = ((i - n) / u + 2) / 6;
641
719
  break;
642
- case n:
643
- f = ((i - t) / u + 4) / 6;
720
+ case i:
721
+ d = ((n - r) / u + 4) / 6;
644
722
  break;
645
723
  }
646
724
  }
647
- return `${Math.round(f * 360)}, ${Math.round(m * 100)}%, ${Math.round(p * 100)}%`;
725
+ return `${Math.round(d * 360)}, ${Math.round(p * 100)}%, ${Math.round(m * 100)}%`;
648
726
  }
649
727
  e("#eef2ff", "indigo", 50), e("#e0e7ff", "indigo", 100), e("#c7d2fe", "indigo", 200), e("#a5b4fc", "indigo", 300), e("#818cf8", "indigo", 400), e("#6366f1", "indigo", 500), e("#4f46e5", "indigo", 600), e("#4338ca", "indigo", 700), e("#3730a3", "indigo", 800), e("#312e81", "indigo", 900), e("#1e1b4b", "indigo", 950);
650
728
  e("#f5f3ff", "violet", 50), e("#ede9fe", "violet", 100), e("#ddd6fe", "violet", 200), e("#c4b5fd", "violet", 300), e("#a78bfa", "violet", 400), e("#8b5cf6", "violet", 500), e("#7c3aed", "violet", 600), e("#6d28d9", "violet", 700), e("#5b21b6", "violet", 800), e("#4c1d95", "violet", 900), e("#2e1065", "violet", 950);
@@ -665,7 +743,7 @@ e("#fdf2f8", "pink", 50), e("#fce7f3", "pink", 100), e("#fbcfe8", "pink", 200),
665
743
  e("#faf5ff", "purple", 50), e("#f3e8ff", "purple", 100), e("#e9d5ff", "purple", 200), e("#d8b4fe", "purple", 300), e("#c084fc", "purple", 400), e("#a855f7", "purple", 500), e("#9333ea", "purple", 600), e("#7e22ce", "purple", 700), e("#6b21a8", "purple", 800), e("#581c87", "purple", 900), e("#3b0764", "purple", 950);
666
744
  e("#f0fdfa", "teal", 50), e("#ccfbf1", "teal", 100), e("#99f6e4", "teal", 200), e("#5eead4", "teal", 300), e("#2dd4bf", "teal", 400), e("#14b8a6", "teal", 500), e("#0d9488", "teal", 600), e("#0f766e", "teal", 700), e("#115e59", "teal", 800), e("#134e4a", "teal", 900), e("#042f2e", "teal", 950);
667
745
  e("#f7fee7", "lime", 50), e("#ecfccb", "lime", 100), e("#d9f99d", "lime", 200), e("#bef264", "lime", 300), e("#a3e635", "lime", 400), e("#84cc16", "lime", 500), e("#65a30d", "lime", 600), e("#4d7c0f", "lime", 700), e("#3f6212", "lime", 800), e("#365314", "lime", 900), e("#1a2e05", "lime", 950);
668
- class D {
746
+ class j {
669
747
  /**
670
748
  * Create a shadow token
671
749
  */
@@ -709,13 +787,13 @@ class D {
709
787
  }[a];
710
788
  }
711
789
  }
712
- D.create("none"), D.create("sm"), D.create("md"), D.create("lg"), D.create("xl"), D.create("2xl"), D.create("inner");
790
+ j.create("none"), j.create("sm"), j.create("md"), j.create("lg"), j.create("xl"), j.create("2xl"), j.create("inner");
713
791
  class z {
714
792
  /**
715
793
  * Create a border width token
716
794
  */
717
795
  static createWidth(a) {
718
- const t = {
796
+ const r = {
719
797
  none: {
720
798
  px: 0,
721
799
  tailwind: "border-0"
@@ -738,29 +816,29 @@ class z {
738
816
  }
739
817
  }[a];
740
818
  return {
741
- value: t.px,
742
- px: `${t.px}px`,
743
- tailwind: t.tailwind
819
+ value: r.px,
820
+ px: `${r.px}px`,
821
+ tailwind: r.tailwind
744
822
  };
745
823
  }
746
824
  /**
747
825
  * Create a complete border token
748
826
  */
749
- static create(a, i = "solid") {
827
+ static create(a, n = "solid") {
750
828
  return {
751
829
  width: this.createWidth(a),
752
- style: i,
753
- description: `${a} ${i} border`
830
+ style: n,
831
+ description: `${a} ${n} border`
754
832
  };
755
833
  }
756
834
  }
757
835
  z.create("none"), z.create("thin"), z.create("base"), z.create("medium"), z.create("thick"), z.create("thin", "dashed"), z.create("base", "dashed"), z.create("thin", "dotted"), z.create("base", "dotted");
758
- class E {
836
+ class D {
759
837
  /**
760
838
  * Create breakpoint token
761
839
  */
762
840
  static create(a) {
763
- const t = {
841
+ const r = {
764
842
  sm: { minWidth: 640, tailwind: "sm" },
765
843
  md: { minWidth: 768, tailwind: "md" },
766
844
  lg: { minWidth: 1024, tailwind: "lg" },
@@ -769,20 +847,20 @@ class E {
769
847
  }[a];
770
848
  return {
771
849
  name: a,
772
- minWidth: t.minWidth,
773
- px: `${t.minWidth}px`,
774
- rem: `${t.minWidth / 16}rem`,
775
- tailwind: t.tailwind
850
+ minWidth: r.minWidth,
851
+ px: `${r.minWidth}px`,
852
+ rem: `${r.minWidth / 16}rem`,
853
+ tailwind: r.tailwind
776
854
  };
777
855
  }
778
856
  }
779
- E.create("sm"), E.create("md"), E.create("lg"), E.create("xl"), E.create("2xl");
857
+ D.create("sm"), D.create("md"), D.create("lg"), D.create("xl"), D.create("2xl");
780
858
  class W {
781
859
  /**
782
860
  * Create an animation token
783
861
  */
784
- static create(a, i = "ease-in-out") {
785
- const t = {
862
+ static create(a, n = "ease-in-out") {
863
+ const r = {
786
864
  fast: {
787
865
  value: "150ms",
788
866
  ms: 150,
@@ -803,7 +881,7 @@ class W {
803
881
  ms: 500,
804
882
  tailwind: "duration-500"
805
883
  }
806
- }, n = {
884
+ }, i = {
807
885
  "ease-in": {
808
886
  value: "cubic-bezier(0.4, 0, 1, 1)",
809
887
  tailwind: "ease-in",
@@ -826,22 +904,22 @@ class W {
826
904
  }
827
905
  };
828
906
  return {
829
- duration: t[a],
830
- easing: n[i]
907
+ duration: r[a],
908
+ easing: i[n]
831
909
  };
832
910
  }
833
911
  /**
834
912
  * Create a transition token
835
913
  */
836
- static createTransition(a, i = "base", t = "ease-in-out") {
837
- const n = this.create(i, t), s = Array.isArray(a) ? a.join(", ") : a, c = [
838
- n.duration.tailwind,
839
- n.easing.tailwind
914
+ static createTransition(a, n = "base", r = "ease-in-out") {
915
+ const i = this.create(n, r), s = Array.isArray(a) ? a.join(", ") : a, c = [
916
+ i.duration.tailwind,
917
+ i.easing.tailwind
840
918
  ].join(" ");
841
919
  return {
842
920
  property: s,
843
- duration: n.duration.value,
844
- timingFunction: n.easing.value,
921
+ duration: i.duration.value,
922
+ timingFunction: i.easing.value,
845
923
  tailwind: c
846
924
  };
847
925
  }
@@ -850,7 +928,7 @@ W.create("fast"), W.create("base"), W.create("slow"), W.create("slower"), W.crea
850
928
  ["color", "background-color", "border-color"],
851
929
  "base"
852
930
  ), W.createTransition("opacity", "fast"), W.createTransition("transform", "base"), W.createTransition("all", "base");
853
- class L {
931
+ class A {
854
932
  /**
855
933
  * Create a z-index token
856
934
  */
@@ -904,13 +982,13 @@ class L {
904
982
  }[a];
905
983
  }
906
984
  }
907
- L.create("base"), L.create("dropdown"), L.create("sticky"), L.create("fixed"), L.create("modal-backdrop"), L.create("modal"), L.create("popover"), L.create("tooltip"), L.create("toast");
908
- class $ {
985
+ A.create("base"), A.create("dropdown"), A.create("sticky"), A.create("fixed"), A.create("modal-backdrop"), A.create("modal"), A.create("popover"), A.create("tooltip"), A.create("toast");
986
+ class N {
909
987
  /**
910
988
  * Create an opacity token
911
989
  */
912
990
  static create(a) {
913
- const i = a / 100, t = {
991
+ const n = a / 100, r = {
914
992
  0: "Fully transparent",
915
993
  5: "Very light overlay",
916
994
  10: "Light overlay",
@@ -929,7 +1007,7 @@ class $ {
929
1007
  };
930
1008
  return {
931
1009
  value: a,
932
- decimal: i,
1010
+ decimal: n,
933
1011
  tailwind: {
934
1012
  0: "opacity-0",
935
1013
  5: "opacity-5",
@@ -947,12 +1025,12 @@ class $ {
947
1025
  95: "opacity-95",
948
1026
  100: "opacity-100"
949
1027
  }[a],
950
- description: t[a]
1028
+ description: r[a]
951
1029
  };
952
1030
  }
953
1031
  }
954
- $.create(0), $.create(5), $.create(10), $.create(20), $.create(25), $.create(30), $.create(40), $.create(50), $.create(60), $.create(70), $.create(75), $.create(80), $.create(90), $.create(95), $.create(100);
955
- const he = O("w-full", {
1032
+ N.create(0), N.create(5), N.create(10), N.create(20), N.create(25), N.create(30), N.create(40), N.create(50), N.create(60), N.create(70), N.create(75), N.create(80), N.create(90), N.create(95), N.create(100);
1033
+ const ze = P("w-full", {
956
1034
  variants: {
957
1035
  size: {
958
1036
  sm: "h-1",
@@ -972,7 +1050,7 @@ const he = O("w-full", {
972
1050
  size: "md",
973
1051
  variant: "primary"
974
1052
  }
975
- }), Y = O("transition-all", {
1053
+ }), J = P("transition-all", {
976
1054
  variants: {
977
1055
  variant: {
978
1056
  primary: "bg-surface-brand",
@@ -986,17 +1064,17 @@ const he = O("w-full", {
986
1064
  defaultVariants: {
987
1065
  variant: "primary"
988
1066
  }
989
- }), ye = H(function(x, u) {
990
- var y = x, {
1067
+ }), Ae = O(function(x, u) {
1068
+ var h = x, {
991
1069
  value: a,
992
- max: i = 100,
993
- variant: t = "primary",
994
- size: n = "md",
1070
+ max: n = 100,
1071
+ variant: r = "primary",
1072
+ size: i = "md",
995
1073
  showLabel: s = !1,
996
1074
  label: c,
997
- "aria-label": f,
998
- className: m = ""
999
- } = y, p = h(y, [
1075
+ "aria-label": d,
1076
+ className: p = ""
1077
+ } = h, m = y(h, [
1000
1078
  "value",
1001
1079
  "max",
1002
1080
  "variant",
@@ -1006,12 +1084,12 @@ const he = O("w-full", {
1006
1084
  "aria-label",
1007
1085
  "className"
1008
1086
  ]);
1009
- const N = a === void 0, F = N ? void 0 : Math.min(Math.max(a / i * 100, 0), 100), j = f || (N ? "Loading in progress" : `Progress: ${F == null ? void 0 : F.toFixed(0)}%`);
1010
- return /* @__PURE__ */ T("div", k(b({ ref: u, className: d("w-full", m) }, p), { children: [
1011
- s && (c || !N) && /* @__PURE__ */ T(
1087
+ const $ = a === void 0, C = $ ? void 0 : Math.min(Math.max(a / n * 100, 0), 100), L = d || ($ ? "Loading in progress" : `Progress: ${C == null ? void 0 : C.toFixed(0)}%`);
1088
+ return /* @__PURE__ */ T("div", w(b({ ref: u, className: f("w-full", p) }, m), { children: [
1089
+ s && (c || !$) && /* @__PURE__ */ T(
1012
1090
  "div",
1013
1091
  {
1014
- className: d(
1092
+ className: f(
1015
1093
  "flex",
1016
1094
  "items-center",
1017
1095
  "justify-between",
@@ -1021,23 +1099,23 @@ const he = O("w-full", {
1021
1099
  c && /* @__PURE__ */ o(
1022
1100
  "span",
1023
1101
  {
1024
- className: d(
1025
- C("bodySmall"),
1026
- R("label"),
1102
+ className: f(
1103
+ E("bodySmall"),
1104
+ B("label"),
1027
1105
  "text-fg-primary"
1028
1106
  ),
1029
1107
  children: c
1030
1108
  }
1031
1109
  ),
1032
- !N && F !== void 0 && /* @__PURE__ */ T(
1110
+ !$ && C !== void 0 && /* @__PURE__ */ T(
1033
1111
  "span",
1034
1112
  {
1035
- className: d(
1036
- C("bodySmall"),
1113
+ className: f(
1114
+ E("bodySmall"),
1037
1115
  "text-fg-secondary"
1038
1116
  ),
1039
1117
  children: [
1040
- F.toFixed(0),
1118
+ C.toFixed(0),
1041
1119
  "%"
1042
1120
  ]
1043
1121
  }
@@ -1049,28 +1127,28 @@ const he = O("w-full", {
1049
1127
  "div",
1050
1128
  {
1051
1129
  role: "progressbar",
1052
- "aria-valuemin": N ? void 0 : 0,
1053
- "aria-valuemax": N ? void 0 : i,
1054
- "aria-valuenow": N ? void 0 : a,
1055
- "aria-label": j,
1056
- "aria-busy": N,
1057
- className: d(
1130
+ "aria-valuemin": $ ? void 0 : 0,
1131
+ "aria-valuemax": $ ? void 0 : n,
1132
+ "aria-valuenow": $ ? void 0 : a,
1133
+ "aria-label": L,
1134
+ "aria-busy": $,
1135
+ className: f(
1058
1136
  "relative",
1059
1137
  "w-full",
1060
1138
  "overflow-hidden",
1061
- he({ size: n, variant: t }),
1062
- S("full")
1139
+ ze({ size: i, variant: r }),
1140
+ F("full")
1063
1141
  ),
1064
- children: N ? /* @__PURE__ */ o(
1142
+ children: $ ? /* @__PURE__ */ o(
1065
1143
  "div",
1066
1144
  {
1067
- className: d(
1145
+ className: f(
1068
1146
  "absolute",
1069
1147
  "top-0",
1070
1148
  "left-0",
1071
1149
  "bottom-0",
1072
- Y({ variant: t }),
1073
- S("full"),
1150
+ J({ variant: r }),
1151
+ F("full"),
1074
1152
  "motion-reduce:animate-none"
1075
1153
  ),
1076
1154
  style: {
@@ -1081,16 +1159,16 @@ const he = O("w-full", {
1081
1159
  ) : /* @__PURE__ */ o(
1082
1160
  "div",
1083
1161
  {
1084
- className: d(
1162
+ className: f(
1085
1163
  "h-full",
1086
- Y({ variant: t }),
1087
- S("full"),
1164
+ J({ variant: r }),
1165
+ F("full"),
1088
1166
  "transition-all",
1089
1167
  "duration-300",
1090
1168
  "ease-out"
1091
1169
  ),
1092
1170
  style: {
1093
- width: `${F}%`
1171
+ width: `${C}%`
1094
1172
  },
1095
1173
  "aria-hidden": "true"
1096
1174
  }
@@ -1099,16 +1177,16 @@ const he = O("w-full", {
1099
1177
  )
1100
1178
  ] }));
1101
1179
  });
1102
- ye.displayName = "Progress";
1103
- function Ee(f) {
1104
- var m = f, {
1105
- variant: r = "text",
1180
+ Ae.displayName = "Progress";
1181
+ function Ze(d) {
1182
+ var p = d, {
1183
+ variant: t = "text",
1106
1184
  width: a,
1107
- height: i,
1108
- lines: t = 1,
1109
- className: n = "",
1185
+ height: n,
1186
+ lines: r = 1,
1187
+ className: i = "",
1110
1188
  "aria-label": s
1111
- } = m, c = h(m, [
1189
+ } = p, c = y(p, [
1112
1190
  "variant",
1113
1191
  "width",
1114
1192
  "height",
@@ -1116,48 +1194,48 @@ function Ee(f) {
1116
1194
  "className",
1117
1195
  "aria-label"
1118
1196
  ]);
1119
- const p = [
1197
+ const m = [
1120
1198
  "motion-safe:animate-pulse",
1121
1199
  "bg-surface-muted",
1122
- S("sm")
1200
+ F("sm")
1123
1201
  ], u = {
1124
1202
  text: "h-4",
1125
1203
  card: "h-32",
1126
1204
  list: "h-12",
1127
- circle: S("full")
1128
- }, x = d(...p, u[r], n), y = {};
1129
- a && (y.width = a), i && (y.height = i);
1130
- const N = s || `Loading ${r} content`;
1131
- return r === "text" && t > 1 ? /* @__PURE__ */ o(
1205
+ circle: F("full")
1206
+ }, x = f(...m, u[t], i), h = {};
1207
+ a && (h.width = a), n && (h.height = n);
1208
+ const $ = s || `Loading ${t} content`;
1209
+ return t === "text" && r > 1 ? /* @__PURE__ */ o(
1132
1210
  "div",
1133
- k(b({
1211
+ w(b({
1134
1212
  className: l("sm", "space-y"),
1135
1213
  role: "status",
1136
1214
  "aria-busy": "true",
1137
- "aria-label": N
1215
+ "aria-label": $
1138
1216
  }, c), {
1139
- children: Array.from({ length: t }).map((F, j) => /* @__PURE__ */ o(
1217
+ children: Array.from({ length: r }).map((C, L) => /* @__PURE__ */ o(
1140
1218
  "div",
1141
1219
  {
1142
1220
  className: x,
1143
- style: j === t - 1 ? { width: "75%" } : y,
1221
+ style: L === r - 1 ? { width: "75%" } : h,
1144
1222
  "aria-hidden": "true"
1145
1223
  },
1146
- j
1224
+ L
1147
1225
  ))
1148
1226
  })
1149
1227
  ) : /* @__PURE__ */ o(
1150
1228
  "div",
1151
1229
  b({
1152
1230
  className: x,
1153
- style: y,
1231
+ style: h,
1154
1232
  role: "status",
1155
1233
  "aria-busy": "true",
1156
- "aria-label": N
1234
+ "aria-label": $
1157
1235
  }, c)
1158
1236
  );
1159
1237
  }
1160
- const we = O("motion-safe:animate-spin", {
1238
+ const Ee = P("motion-safe:animate-spin", {
1161
1239
  variants: {
1162
1240
  size: {
1163
1241
  sm: "h-4 w-4",
@@ -1174,13 +1252,13 @@ const we = O("motion-safe:animate-spin", {
1174
1252
  size: "md",
1175
1253
  variant: "primary"
1176
1254
  }
1177
- }), ve = re(function(c) {
1178
- var f = c, {
1255
+ }), Ie = le(function(c) {
1256
+ var d = c, {
1179
1257
  size: a = "md",
1180
- variant: i = "primary",
1181
- label: t,
1182
- className: n = ""
1183
- } = f, s = h(f, [
1258
+ variant: n = "primary",
1259
+ label: r,
1260
+ className: i = ""
1261
+ } = d, s = y(d, [
1184
1262
  "size",
1185
1263
  "variant",
1186
1264
  "label",
@@ -1188,38 +1266,38 @@ const we = O("motion-safe:animate-spin", {
1188
1266
  ]);
1189
1267
  return /* @__PURE__ */ T(
1190
1268
  "div",
1191
- k(b({
1192
- className: d("inline-flex", "items-center", n),
1269
+ w(b({
1270
+ className: f("inline-flex", "items-center", i),
1193
1271
  role: "status",
1194
- "aria-label": t || "Loading",
1272
+ "aria-label": r || "Loading",
1195
1273
  "aria-live": "polite"
1196
1274
  }, s), {
1197
1275
  children: [
1198
1276
  /* @__PURE__ */ o(
1199
- se,
1277
+ de,
1200
1278
  {
1201
- className: d(we({ size: a, variant: i })),
1279
+ className: f(Ee({ size: a, variant: n })),
1202
1280
  "aria-hidden": "true"
1203
1281
  }
1204
1282
  ),
1205
- t && /* @__PURE__ */ o(
1283
+ r && /* @__PURE__ */ o(
1206
1284
  "span",
1207
1285
  {
1208
- className: d(
1286
+ className: f(
1209
1287
  l("sm", "ml"),
1210
- C("bodySmall"),
1288
+ E("bodySmall"),
1211
1289
  "text-fg-secondary",
1212
1290
  "sr-only"
1213
1291
  ),
1214
- children: t
1292
+ children: r
1215
1293
  }
1216
1294
  )
1217
1295
  ]
1218
1296
  })
1219
1297
  );
1220
1298
  });
1221
- ve.displayName = "Spinner";
1222
- const ke = {
1299
+ Ie.displayName = "Spinner";
1300
+ const We = {
1223
1301
  primary: {
1224
1302
  // exception: variant color — no semantic equivalent (Principle 3, .claude/rules/colors.md)
1225
1303
  light: "text-indigo-400",
@@ -1271,16 +1349,16 @@ const ke = {
1271
1349
  contrast: "text-fg-inverse"
1272
1350
  }
1273
1351
  };
1274
- function $e(p, m) {
1275
- var u = p, {
1276
- variant: r = "paragraph",
1352
+ function Re(m, p) {
1353
+ var u = m, {
1354
+ variant: t = "paragraph",
1277
1355
  bold: a,
1278
- italic: i,
1279
- className: t,
1280
- as: n,
1356
+ italic: n,
1357
+ className: r,
1358
+ as: i,
1281
1359
  colorRole: s = "neutral",
1282
1360
  colorShade: c = "dark"
1283
- } = u, f = h(u, [
1361
+ } = u, d = y(u, [
1284
1362
  "variant",
1285
1363
  "bold",
1286
1364
  "italic",
@@ -1290,40 +1368,40 @@ function $e(p, m) {
1290
1368
  "colorShade"
1291
1369
  ]);
1292
1370
  const x = [];
1293
- let y;
1294
- if (n)
1295
- y = n;
1371
+ let h;
1372
+ if (i)
1373
+ h = i;
1296
1374
  else
1297
- switch (r) {
1375
+ switch (t) {
1298
1376
  case "heading":
1299
- y = "h2";
1377
+ h = "h2";
1300
1378
  break;
1301
1379
  case "list":
1302
- y = "li";
1380
+ h = "li";
1303
1381
  break;
1304
1382
  default:
1305
- y = "p";
1383
+ h = "p";
1306
1384
  break;
1307
1385
  }
1308
- return r === "heading" ? x.push(I("h2")) : r === "body" || r === "paragraph" ? x.push(I("body")) : r === "bodySmall" ? x.push(I("bodySmall")) : r === "bodyLarge" ? x.push(I("bodyLarge")) : r === "caption" ? x.push(I("caption")) : r === "label" ? x.push(I("label")) : x.push(I("body")), a && x.push("font-bold"), i && x.push("italic"), x.push(ke[s][c]), /* @__PURE__ */ o(y, b({ ref: m, className: d(...x, t) }, f));
1386
+ return t === "heading" ? x.push(R("h2")) : t === "body" || t === "paragraph" ? x.push(R("body")) : t === "bodySmall" ? x.push(R("bodySmall")) : t === "bodyLarge" ? x.push(R("bodyLarge")) : t === "caption" ? x.push(R("caption")) : t === "label" ? x.push(R("label")) : x.push(R("body")), a && x.push("font-bold"), n && x.push("italic"), x.push(We[s][c]), /* @__PURE__ */ o(h, b({ ref: p, className: f(...x, r) }, d));
1309
1387
  }
1310
- const Ve = H($e), Ne = {
1388
+ const Ge = O(Re), je = {
1311
1389
  sm: "max-w-screen-sm",
1312
1390
  md: "max-w-screen-md",
1313
1391
  lg: "max-w-screen-lg",
1314
1392
  xl: "max-w-screen-xl",
1315
1393
  "2xl": "max-w-screen-2xl",
1316
1394
  full: "max-w-full"
1317
- }, Te = Q.forwardRef(
1318
- (m, f) => {
1319
- var p = m, {
1320
- className: r,
1395
+ }, De = ee.forwardRef(
1396
+ (p, d) => {
1397
+ var m = p, {
1398
+ className: t,
1321
1399
  maxWidth: a = "lg",
1322
- paddingX: i = "base",
1323
- paddingY: t = "base",
1324
- center: n = !0,
1400
+ paddingX: n = "base",
1401
+ paddingY: r = "base",
1402
+ center: i = !0,
1325
1403
  children: s
1326
- } = p, c = h(p, [
1404
+ } = m, c = y(m, [
1327
1405
  "className",
1328
1406
  "maxWidth",
1329
1407
  "paddingX",
@@ -1333,15 +1411,15 @@ const Ve = H($e), Ne = {
1333
1411
  ]);
1334
1412
  return /* @__PURE__ */ o(
1335
1413
  "div",
1336
- k(b({
1337
- ref: f,
1338
- className: d(
1414
+ w(b({
1415
+ ref: d,
1416
+ className: f(
1339
1417
  "w-full",
1340
- Ne[a],
1341
- l(i, "px"),
1342
- l(t, "py"),
1343
- n && "mx-auto",
1344
- r
1418
+ je[a],
1419
+ l(n, "px"),
1420
+ l(r, "py"),
1421
+ i && "mx-auto",
1422
+ t
1345
1423
  )
1346
1424
  }, c), {
1347
1425
  children: s
@@ -1349,17 +1427,17 @@ const Ve = H($e), Ne = {
1349
1427
  );
1350
1428
  }
1351
1429
  );
1352
- Te.displayName = "Container";
1353
- const Me = Q.forwardRef(
1354
- (m, f) => {
1355
- var p = m, {
1356
- className: r,
1430
+ De.displayName = "Container";
1431
+ const _e = ee.forwardRef(
1432
+ (p, d) => {
1433
+ var m = p, {
1434
+ className: t,
1357
1435
  spacing: a = "base",
1358
- align: i = "stretch",
1359
- justify: t = "start",
1360
- direction: n = "column",
1436
+ align: n = "stretch",
1437
+ justify: r = "start",
1438
+ direction: i = "column",
1361
1439
  children: s
1362
- } = p, c = h(p, [
1440
+ } = m, c = y(m, [
1363
1441
  "className",
1364
1442
  "spacing",
1365
1443
  "align",
@@ -1367,12 +1445,12 @@ const Me = Q.forwardRef(
1367
1445
  "direction",
1368
1446
  "children"
1369
1447
  ]);
1370
- const u = n === "column" ? l(a, "gap-y") : l(a, "gap-x"), x = {
1448
+ const u = i === "column" ? l(a, "gap-y") : l(a, "gap-x"), x = {
1371
1449
  start: "items-start",
1372
1450
  center: "items-center",
1373
1451
  end: "items-end",
1374
1452
  stretch: "items-stretch"
1375
- }, y = {
1453
+ }, h = {
1376
1454
  start: "justify-start",
1377
1455
  center: "justify-center",
1378
1456
  end: "justify-end",
@@ -1382,15 +1460,15 @@ const Me = Q.forwardRef(
1382
1460
  };
1383
1461
  return /* @__PURE__ */ o(
1384
1462
  "div",
1385
- k(b({
1386
- ref: f,
1387
- className: d(
1463
+ w(b({
1464
+ ref: d,
1465
+ className: f(
1388
1466
  "flex",
1389
- n === "column" ? "flex-col" : "flex-row",
1467
+ i === "column" ? "flex-col" : "flex-row",
1390
1468
  u,
1391
- x[i],
1392
- y[t],
1393
- r
1469
+ x[n],
1470
+ h[r],
1471
+ t
1394
1472
  )
1395
1473
  }, c), {
1396
1474
  children: s
@@ -1398,18 +1476,18 @@ const Me = Q.forwardRef(
1398
1476
  );
1399
1477
  }
1400
1478
  );
1401
- Me.displayName = "Stack";
1402
- const Se = H(
1403
- function({ option: a, isHighlighted: i, onSelect: t }, n) {
1479
+ _e.displayName = "Stack";
1480
+ const Ve = O(
1481
+ function({ option: a, isHighlighted: n, onSelect: r }, i) {
1404
1482
  const s = () => {
1405
- a.disabled || t(a);
1483
+ a.disabled || r(a);
1406
1484
  };
1407
1485
  return /* @__PURE__ */ T(
1408
1486
  "div",
1409
1487
  {
1410
- ref: n,
1488
+ ref: i,
1411
1489
  role: "option",
1412
- "aria-selected": i,
1490
+ "aria-selected": n,
1413
1491
  "aria-disabled": a.disabled,
1414
1492
  onClick: s,
1415
1493
  className: `
@@ -1421,7 +1499,7 @@ const Se = H(
1421
1499
  text-sm
1422
1500
  cursor-pointer
1423
1501
  transition-colors
1424
- ${i ? "bg-surface-active" : ""}
1502
+ ${n ? "bg-surface-active" : ""}
1425
1503
  ${a.disabled ? "opacity-50 cursor-not-allowed" : "hover:bg-surface-hover"}
1426
1504
  `,
1427
1505
  children: [
@@ -1432,13 +1510,13 @@ const Se = H(
1432
1510
  );
1433
1511
  }
1434
1512
  );
1435
- Se.displayName = "AutocompleteOption";
1436
- function He(n) {
1437
- var s = n, {
1438
- items: r,
1513
+ Ve.displayName = "AutocompleteOption";
1514
+ function Qe(i) {
1515
+ var s = i, {
1516
+ items: t,
1439
1517
  separator: a = "/",
1440
- className: i = ""
1441
- } = s, t = h(s, [
1518
+ className: n = ""
1519
+ } = s, r = y(s, [
1442
1520
  "items",
1443
1521
  "separator",
1444
1522
  "className"
@@ -1447,19 +1525,19 @@ function He(n) {
1447
1525
  "flex",
1448
1526
  "items-center",
1449
1527
  l("sm", "space-x"),
1450
- C("bodySmall")
1451
- ], f = d(...c, i);
1452
- return /* @__PURE__ */ o("nav", k(b({ "aria-label": "Breadcrumb", className: f }, t), { children: /* @__PURE__ */ o(
1528
+ E("bodySmall")
1529
+ ], d = f(...c, n);
1530
+ return /* @__PURE__ */ o("nav", w(b({ "aria-label": "Breadcrumb", className: d }, r), { children: /* @__PURE__ */ o(
1453
1531
  "ol",
1454
1532
  {
1455
- className: d("flex", "items-center", l("sm", "space-x")),
1456
- children: r.map((m, p) => {
1457
- const u = p === r.length - 1;
1533
+ className: f("flex", "items-center", l("sm", "space-x")),
1534
+ children: t.map((p, m) => {
1535
+ const u = m === t.length - 1;
1458
1536
  return /* @__PURE__ */ T("li", { className: "flex items-center", children: [
1459
- p > 0 && /* @__PURE__ */ o(
1537
+ m > 0 && /* @__PURE__ */ o(
1460
1538
  "span",
1461
1539
  {
1462
- className: d(
1540
+ className: f(
1463
1541
  l("sm", "mx"),
1464
1542
  "text-fg-tertiary"
1465
1543
  ),
@@ -1470,106 +1548,106 @@ function He(n) {
1470
1548
  u ? /* @__PURE__ */ o(
1471
1549
  "span",
1472
1550
  {
1473
- className: d(
1551
+ className: f(
1474
1552
  "text-fg-primary",
1475
- R("label")
1553
+ B("label")
1476
1554
  ),
1477
1555
  "aria-current": "page",
1478
- children: m.label
1556
+ children: p.label
1479
1557
  }
1480
- ) : m.href ? /* @__PURE__ */ o(
1558
+ ) : p.href ? /* @__PURE__ */ o(
1481
1559
  "a",
1482
1560
  {
1483
- href: m.href,
1484
- className: d(
1561
+ href: p.href,
1562
+ className: f(
1485
1563
  "inline-flex",
1486
1564
  "items-center",
1487
1565
  l("xs", "px"),
1488
1566
  l("xs", "pt"),
1489
1567
  "border-b-2",
1490
1568
  "border-transparent",
1491
- C("bodySmall"),
1492
- R("label"),
1569
+ E("bodySmall"),
1570
+ B("label"),
1493
1571
  "transition-colors",
1494
1572
  "text-fg-secondary",
1495
1573
  "hover:border-line-emphasis",
1496
1574
  "hover:text-fg-primary"
1497
1575
  ),
1498
- children: m.label
1576
+ children: p.label
1499
1577
  }
1500
- ) : /* @__PURE__ */ o("span", { className: "text-fg-secondary", children: m.label })
1501
- ] }, p);
1578
+ ) : /* @__PURE__ */ o("span", { className: "text-fg-secondary", children: p.label })
1579
+ ] }, m);
1502
1580
  })
1503
1581
  }
1504
1582
  ) }));
1505
1583
  }
1506
- function Oe(t) {
1507
- var n = t, {
1508
- children: r,
1584
+ function Je(r) {
1585
+ var i = r, {
1586
+ children: t,
1509
1587
  className: a = ""
1510
- } = n, i = h(n, [
1588
+ } = i, n = y(i, [
1511
1589
  "children",
1512
1590
  "className"
1513
1591
  ]);
1514
1592
  return /* @__PURE__ */ o(
1515
1593
  "div",
1516
- k(b({
1594
+ w(b({
1517
1595
  className: `flex flex-col ${l("1.5", "space-y")} ${l("lg", "p")} ${l("base", "pb")} ${a}`
1518
- }, i), {
1519
- children: r
1596
+ }, n), {
1597
+ children: t
1520
1598
  })
1521
1599
  );
1522
1600
  }
1523
- function Be(t) {
1524
- var n = t, {
1525
- children: r,
1601
+ function ea(r) {
1602
+ var i = r, {
1603
+ children: t,
1526
1604
  className: a = ""
1527
- } = n, i = h(n, [
1605
+ } = i, n = y(i, [
1528
1606
  "children",
1529
1607
  "className"
1530
1608
  ]);
1531
1609
  return /* @__PURE__ */ o(
1532
1610
  "div",
1533
- k(b({
1611
+ w(b({
1534
1612
  className: `flex flex-col-reverse sm:flex-row sm:justify-end sm:${l("sm", "space-x")} ${l("lg", "p")} ${l("base", "pt")} ${a}`
1535
- }, i), {
1536
- children: r
1613
+ }, n), {
1614
+ children: t
1537
1615
  })
1538
1616
  );
1539
1617
  }
1540
- function Re(t) {
1541
- var n = t, {
1542
- children: r,
1618
+ function aa(r) {
1619
+ var i = r, {
1620
+ children: t,
1543
1621
  className: a = ""
1544
- } = n, i = h(n, [
1622
+ } = i, n = y(i, [
1545
1623
  "children",
1546
1624
  "className"
1547
1625
  ]);
1548
1626
  return /* @__PURE__ */ o(
1549
1627
  "div",
1550
- k(b({
1628
+ w(b({
1551
1629
  className: `
1552
1630
  ${l("lg", "p")}
1553
1631
  border-b
1554
1632
  border-line-default
1555
1633
  ${a}
1556
1634
  `
1557
- }, i), {
1558
- children: r
1635
+ }, n), {
1636
+ children: t
1559
1637
  })
1560
1638
  );
1561
1639
  }
1562
- function Ue(t) {
1563
- var n = t, {
1564
- children: r,
1640
+ function ta(r) {
1641
+ var i = r, {
1642
+ children: t,
1565
1643
  className: a = ""
1566
- } = n, i = h(n, [
1644
+ } = i, n = y(i, [
1567
1645
  "children",
1568
1646
  "className"
1569
1647
  ]);
1570
1648
  return /* @__PURE__ */ o(
1571
1649
  "div",
1572
- k(b({
1650
+ w(b({
1573
1651
  className: `
1574
1652
  ${l("lg", "p")}
1575
1653
  border-t
@@ -1579,32 +1657,32 @@ function Ue(t) {
1579
1657
  ${l("sm", "gap")}
1580
1658
  ${a}
1581
1659
  `
1582
- }, i), {
1583
- children: r
1660
+ }, n), {
1661
+ children: t
1584
1662
  })
1585
1663
  );
1586
1664
  }
1587
- function qe({ children: r, className: a }) {
1665
+ function ra({ children: t, className: a }) {
1588
1666
  return /* @__PURE__ */ o(
1589
1667
  "div",
1590
1668
  {
1591
- className: d(
1669
+ className: f(
1592
1670
  "flex-shrink-0 flex items-center",
1593
1671
  l("sm", "gap"),
1594
1672
  a
1595
1673
  ),
1596
- children: r
1674
+ children: t
1597
1675
  }
1598
1676
  );
1599
1677
  }
1600
- function Pe({
1601
- children: r,
1678
+ function na({
1679
+ children: t,
1602
1680
  className: a
1603
1681
  }) {
1604
1682
  return /* @__PURE__ */ o(
1605
1683
  "nav",
1606
1684
  {
1607
- className: d(
1685
+ className: f(
1608
1686
  "flex-1 flex items-center justify-center",
1609
1687
  l("base", "gap"),
1610
1688
  "hidden md:flex",
@@ -1612,14 +1690,14 @@ function Pe({
1612
1690
  a
1613
1691
  ),
1614
1692
  "aria-label": "Main navigation",
1615
- children: r
1693
+ children: t
1616
1694
  }
1617
1695
  );
1618
1696
  }
1619
- function _e(i) {
1620
- var t = i, {
1621
- className: r = ""
1622
- } = t, a = h(t, [
1697
+ function ia(n) {
1698
+ var r = n, {
1699
+ className: t = ""
1700
+ } = r, a = y(r, [
1623
1701
  "className"
1624
1702
  ]);
1625
1703
  return /* @__PURE__ */ o(
@@ -1630,30 +1708,30 @@ function _e(i) {
1630
1708
  h-px
1631
1709
  bg-line-default
1632
1710
  ${l("sm", "my")}
1633
- ${r}
1711
+ ${t}
1634
1712
  `
1635
1713
  }, a)
1636
1714
  );
1637
1715
  }
1638
- function Ke(t) {
1639
- var n = t, {
1640
- orientation: r = "horizontal",
1716
+ function sa(r) {
1717
+ var i = r, {
1718
+ orientation: t = "horizontal",
1641
1719
  className: a = ""
1642
- } = n, i = h(n, [
1720
+ } = i, n = y(i, [
1643
1721
  "orientation",
1644
1722
  "className"
1645
1723
  ]);
1646
- return r === "vertical" ? /* @__PURE__ */ o(
1724
+ return t === "vertical" ? /* @__PURE__ */ o(
1647
1725
  "div",
1648
1726
  b({
1649
- className: d("w-px", "h-6", "bg-line-default", "mx-auto", a),
1727
+ className: f("w-px", "h-6", "bg-line-default", "mx-auto", a),
1650
1728
  role: "separator",
1651
1729
  "aria-orientation": "vertical"
1652
- }, i)
1730
+ }, n)
1653
1731
  ) : /* @__PURE__ */ o(
1654
1732
  "div",
1655
1733
  b({
1656
- className: d(
1734
+ className: f(
1657
1735
  "w-full",
1658
1736
  "h-px",
1659
1737
  "bg-line-default",
@@ -1670,43 +1748,43 @@ function Ke(t) {
1670
1748
  willChange: "auto",
1671
1749
  transform: "none"
1672
1750
  }
1673
- }, i)
1751
+ }, n)
1674
1752
  );
1675
1753
  }
1676
- function Xe(n) {
1677
- var s = n, { column: r, row: a, className: i = "" } = s, t = h(s, ["column", "row", "className"]);
1678
- const c = r.key in a ? a[r.key] : void 0;
1754
+ function la(i) {
1755
+ var s = i, { column: t, row: a, className: n = "" } = s, r = y(s, ["column", "row", "className"]);
1756
+ const c = t.key in a ? a[t.key] : void 0;
1679
1757
  return /* @__PURE__ */ o(
1680
1758
  "td",
1681
- k(b({
1682
- className: `${l("lg", "px")} ${l("base", "py")} whitespace-nowrap text-sm text-fg-primary ${r.hiddenOnMobile ? "hidden md:table-cell" : ""} ${i}`
1683
- }, t), {
1684
- children: r.render ? r.render(c, a) : String(c != null ? c : "")
1759
+ w(b({
1760
+ className: `${l("lg", "px")} ${l("base", "py")} whitespace-nowrap text-sm text-fg-primary ${t.hiddenOnMobile ? "hidden md:table-cell" : ""} ${n}`
1761
+ }, r), {
1762
+ children: t.render ? t.render(c, a) : String(c != null ? c : "")
1685
1763
  })
1686
1764
  );
1687
1765
  }
1688
- function Ge({
1689
- items: r,
1766
+ function oa({
1767
+ items: t,
1690
1768
  orientation: a = "vertical",
1691
- className: i = ""
1769
+ className: n = ""
1692
1770
  }) {
1693
- return a === "horizontal" ? /* @__PURE__ */ o("div", { className: `flex items-start ${i}`, children: r.map((t, n) => {
1694
- const s = t.status || (n === 0 ? "active" : n < r.findIndex((f) => f.status === "active") ? "completed" : "default"), c = n === r.length - 1;
1771
+ return a === "horizontal" ? /* @__PURE__ */ o("div", { className: `flex items-start ${n}`, children: t.map((r, i) => {
1772
+ const s = r.status || (i === 0 ? "active" : i < t.findIndex((d) => d.status === "active") ? "completed" : "default"), c = i === t.length - 1;
1695
1773
  return /* @__PURE__ */ o("div", { className: "flex items-start flex-1", children: /* @__PURE__ */ T("div", { className: "flex flex-col items-center flex-1", children: [
1696
1774
  /* @__PURE__ */ o(
1697
1775
  "div",
1698
- k(b({}, s === "default" ? { "data-marker": "pending" } : {}), {
1776
+ w(b({}, s === "default" ? { "data-marker": "pending" } : {}), {
1699
1777
  className: `
1700
1778
  flex
1701
1779
  items-center
1702
1780
  justify-center
1703
1781
  w-10
1704
1782
  h-10
1705
- ${S("full")}
1783
+ ${F("full")}
1706
1784
  border-2
1707
1785
  ${s === "completed" ? "bg-success border-success text-fg-inverse" : s === "active" ? "bg-surface-brand-strong border-line-brand text-fg-inverse" : s === "error" ? "bg-error border-error text-fg-inverse" : "bg-surface-base border-line-emphasis text-fg-quaternary"}
1708
1786
  `,
1709
- children: t.icon || (s === "completed" ? /* @__PURE__ */ o(G, { className: "h-4 w-4" }) : n + 1)
1787
+ children: r.icon || (s === "completed" ? /* @__PURE__ */ o(Z, { className: "h-4 w-4" }) : i + 1)
1710
1788
  })
1711
1789
  ),
1712
1790
  !c && /* @__PURE__ */ o(
@@ -1725,28 +1803,28 @@ function Ge({
1725
1803
  {
1726
1804
  className: `${l("base", "mt")} text-center ${l("base", "px")}`,
1727
1805
  children: [
1728
- t.timestamp && /* @__PURE__ */ o(
1806
+ r.timestamp && /* @__PURE__ */ o(
1729
1807
  "p",
1730
1808
  {
1731
1809
  className: `text-xs text-fg-tertiary ${l("xs", "mb")}`,
1732
- children: t.timestamp
1810
+ children: r.timestamp
1733
1811
  }
1734
1812
  ),
1735
- /* @__PURE__ */ o("h3", { className: "text-sm font-semibold text-fg-primary", children: t.title }),
1736
- t.description && /* @__PURE__ */ o(
1813
+ /* @__PURE__ */ o("h3", { className: "text-sm font-semibold text-fg-primary", children: r.title }),
1814
+ r.description && /* @__PURE__ */ o(
1737
1815
  "p",
1738
1816
  {
1739
1817
  className: `text-xs text-fg-secondary ${l("xs", "mt")}`,
1740
- children: t.description
1818
+ children: r.description
1741
1819
  }
1742
1820
  ),
1743
- t.content && /* @__PURE__ */ o("div", { className: l("sm", "mt"), children: t.content })
1821
+ r.content && /* @__PURE__ */ o("div", { className: l("sm", "mt"), children: r.content })
1744
1822
  ]
1745
1823
  }
1746
1824
  )
1747
- ] }) }, t.id);
1748
- }) }) : /* @__PURE__ */ o("div", { className: `${l("none", "space-y")} ${i}`, children: r.map((t, n) => {
1749
- const s = t.status || (n === 0 ? "active" : n < r.findIndex((f) => f.status === "active") ? "completed" : "default"), c = n === r.length - 1;
1825
+ ] }) }, r.id);
1826
+ }) }) : /* @__PURE__ */ o("div", { className: `${l("none", "space-y")} ${n}`, children: t.map((r, i) => {
1827
+ const s = r.status || (i === 0 ? "active" : i < t.findIndex((d) => d.status === "active") ? "completed" : "default"), c = i === t.length - 1;
1750
1828
  return /* @__PURE__ */ T(
1751
1829
  "div",
1752
1830
  {
@@ -1755,18 +1833,18 @@ function Ge({
1755
1833
  /* @__PURE__ */ T("div", { className: "flex flex-col items-center", children: [
1756
1834
  /* @__PURE__ */ o(
1757
1835
  "div",
1758
- k(b({}, s === "default" ? { "data-marker": "pending" } : {}), {
1836
+ w(b({}, s === "default" ? { "data-marker": "pending" } : {}), {
1759
1837
  className: `
1760
1838
  flex
1761
1839
  items-center
1762
1840
  justify-center
1763
1841
  w-10
1764
1842
  h-10
1765
- ${S("full")}
1843
+ ${F("full")}
1766
1844
  border-2
1767
1845
  ${s === "completed" ? "bg-success border-success text-fg-inverse" : s === "active" ? "bg-surface-brand-strong border-line-brand text-fg-inverse" : s === "error" ? "bg-error border-error text-fg-inverse" : "bg-surface-base border-line-emphasis text-fg-quaternary"}
1768
1846
  `,
1769
- children: t.icon || (s === "completed" ? /* @__PURE__ */ o(G, { className: "h-4 w-4" }) : n + 1)
1847
+ children: r.icon || (s === "completed" ? /* @__PURE__ */ o(Z, { className: "h-4 w-4" }) : i + 1)
1770
1848
  })
1771
1849
  ),
1772
1850
  !c && /* @__PURE__ */ o(
@@ -1783,11 +1861,11 @@ function Ge({
1783
1861
  )
1784
1862
  ] }),
1785
1863
  /* @__PURE__ */ T("div", { className: `flex-1 ${l("xl", "pb")}`, children: [
1786
- t.timestamp && /* @__PURE__ */ o(
1864
+ r.timestamp && /* @__PURE__ */ o(
1787
1865
  "p",
1788
1866
  {
1789
1867
  className: `text-xs text-fg-tertiary ${l("xs", "mb")}`,
1790
- children: t.timestamp
1868
+ children: r.timestamp
1791
1869
  }
1792
1870
  ),
1793
1871
  /* @__PURE__ */ o(
@@ -1798,45 +1876,45 @@ function Ge({
1798
1876
  font-semibold
1799
1877
  ${s === "active" ? "text-fg-brand-emphasis" : "text-fg-primary"}
1800
1878
  `,
1801
- children: t.title
1879
+ children: r.title
1802
1880
  }
1803
1881
  ),
1804
- t.description && /* @__PURE__ */ o(
1882
+ r.description && /* @__PURE__ */ o(
1805
1883
  "p",
1806
1884
  {
1807
1885
  className: `text-sm text-fg-secondary ${l("xs", "mt")}`,
1808
- children: t.description
1886
+ children: r.description
1809
1887
  }
1810
1888
  ),
1811
- t.content && /* @__PURE__ */ o("div", { className: l("md", "mt"), children: t.content })
1889
+ r.content && /* @__PURE__ */ o("div", { className: l("md", "mt"), children: r.content })
1812
1890
  ] })
1813
1891
  ]
1814
1892
  },
1815
- t.id
1893
+ r.id
1816
1894
  );
1817
1895
  }) });
1818
1896
  }
1819
1897
  export {
1820
- Se as AutocompleteOption,
1821
- He as Breadcrumb,
1822
- ue as Chip,
1823
- Te as Container,
1824
- Be as DialogFooter,
1825
- Oe as DialogHeader,
1826
- Ue as DrawerFooter,
1827
- Re as DrawerHeader,
1828
- De as ErrorMessage,
1829
- qe as HeaderActions,
1830
- Pe as HeaderNavigation,
1831
- je as Info,
1832
- _e as MenuSeparator,
1833
- Ke as NavbarSeparator,
1834
- ye as Progress,
1835
- Ee as Skeleton,
1836
- ve as Spinner,
1837
- Me as Stack,
1838
- Xe as TableCell,
1839
- Ve as Text,
1840
- Ge as Timeline
1898
+ Ve as AutocompleteOption,
1899
+ Qe as Breadcrumb,
1900
+ Te as Chip,
1901
+ De as Container,
1902
+ ea as DialogFooter,
1903
+ Je as DialogHeader,
1904
+ ta as DrawerFooter,
1905
+ aa as DrawerHeader,
1906
+ Xe as ErrorMessage,
1907
+ ra as HeaderActions,
1908
+ na as HeaderNavigation,
1909
+ Ye as Info,
1910
+ ia as MenuSeparator,
1911
+ sa as NavbarSeparator,
1912
+ Ae as Progress,
1913
+ Ze as Skeleton,
1914
+ Ie as Spinner,
1915
+ _e as Stack,
1916
+ la as TableCell,
1917
+ Ge as Text,
1918
+ oa as Timeline
1841
1919
  };
1842
1920
  //# sourceMappingURL=index.js.map