@fabio.caffarello/react-design-system 1.11.0 → 1.11.1

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,103 +1,1607 @@
1
- import { U as e, A as t, aH as o, a0 as g, ax as r, K as T, B as i, aG as C, an as S, L as n, N as O, Q as E, H as l, I as y, a1 as N, aC as I, P as A, R, aK as c, M as p, a5 as d, aB as _, W as F, aJ as h, a2 as L, a6 as K, a3 as k, av as B, _ as m, X as G, aF as D, a9 as P, n as M, m as u, at as H, S as W, $ as Y, O as w, o as x, aD as v, aE as z, F as U, a4 as Z, T as f, ao as V, G as b, V as j, Y as q, aI as J, Z as Q, ak as X, aq as $, am as aa, ap as sa, v as ea, i as ta, ay as oa, aA as ga, az as ra, k as Ta, t as ia, s as Ca, r as Sa, aj as na, af as Oa, ag as Ea, D as la, C as ya, ae as Na, u as Ia, E as Aa, z as Ra, y as ca, a7 as pa, a8 as da, aw as _a, a as Fa, aa as ha, ad as La, ab as Ka, ac as ka, au as Ba, f as ma, p as Ga, g as Da, l as Pa, w as Ma, q as ua, j as Ha, J as Wa, d as Ya, b as wa, e as xa, c as va, x as za, h as Ua, ai as Za, al as fa, ah as Va } from "../tokens-BCpPv8tI.js";
1
+ var K = Object.defineProperty;
2
+ var P = (t, a, n) => a in t ? K(t, a, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[a] = n;
3
+ var R = (t, a, n) => P(t, typeof a != "symbol" ? a + "" : a, n);
4
+ const I = {
5
+ // Icon sizes
6
+ icon: {
7
+ sm: "h-4 w-4",
8
+ // 16px
9
+ md: "h-5 w-5",
10
+ // 20px (default)
11
+ lg: "h-6 w-6"
12
+ // 24px
13
+ },
14
+ // Text sizes
15
+ text: {
16
+ xs: "text-xs",
17
+ // 12px (group titles)
18
+ sm: "text-sm",
19
+ // 14px (items - default)
20
+ base: "text-base"
21
+ // 16px
22
+ },
23
+ // Spacing
24
+ spacing: {
25
+ itemPaddingX: "px-4",
26
+ // 16px horizontal padding for items
27
+ itemPaddingY: "py-2",
28
+ // 8px vertical padding for items
29
+ nestedIndent: "pl-6",
30
+ // 24px for nested items (level 1)
31
+ nestedIndentLevel2: "pl-10",
32
+ // 40px for nested items (level 2)
33
+ nestedIndentLevel3: "pl-14",
34
+ // 56px for nested items (level 3)
35
+ groupTitlePadding: "px-4 py-2",
36
+ // Padding for group titles
37
+ iconMargin: "mr-3"
38
+ // 12px margin between icon and text
39
+ },
40
+ // Colors (using Tailwind classes)
41
+ colors: {
42
+ active: {
43
+ bg: "bg-indigo-50",
44
+ text: "text-indigo-700",
45
+ border: "border-indigo-600"
46
+ },
47
+ inactive: {
48
+ text: "text-gray-700",
49
+ hover: "hover:bg-gray-100 hover:text-gray-900"
50
+ },
51
+ groupTitle: "text-gray-500"
52
+ },
53
+ // Chevron (for collapsible groups)
54
+ chevron: {
55
+ size: "h-3 w-3",
56
+ // 12px (reduced from h-4 w-4)
57
+ color: "text-gray-400"
58
+ // Subtle gray color
59
+ },
60
+ // Navigation column (for split sidebar)
61
+ navigation: {
62
+ width: {
63
+ default: "56px",
64
+ compact: "48px",
65
+ expanded: "200px"
66
+ },
67
+ background: {
68
+ default: "#fafafa",
69
+ hover: "#f5f5f5"
70
+ }
71
+ },
72
+ // Split sidebar
73
+ split: {
74
+ transition: "transition-all duration-300",
75
+ collapsedWidth: "0px"
76
+ },
77
+ // Content area
78
+ content: {
79
+ scrollbar: {
80
+ width: "thin",
81
+ color: {
82
+ thumb: "#cbd5e1",
83
+ track: "#f1f5f9"
84
+ }
85
+ }
86
+ }
87
+ };
88
+ function d0(t) {
89
+ return t <= 0 ? I.spacing.itemPaddingX : t === 1 ? I.spacing.nestedIndent : t === 2 ? I.spacing.nestedIndentLevel2 : t === 3 ? I.spacing.nestedIndentLevel3 : `pl-${4 + t * 4}`;
90
+ }
91
+ class c {
92
+ // 4px base
93
+ /**
94
+ * Create a spacing token from scale value
95
+ */
96
+ static create(a) {
97
+ const n = a * this.BASE_UNIT, i = n / 16;
98
+ return {
99
+ value: n,
100
+ rem: `${i}rem`,
101
+ px: `${n}px`,
102
+ tailwind: this.getTailwindClass(a)
103
+ };
104
+ }
105
+ /**
106
+ * Get Tailwind class for spacing value
107
+ */
108
+ static getTailwindClass(a) {
109
+ return {
110
+ 0: "0",
111
+ 0.5: "0.5",
112
+ // 2px — half-step, used by fine UI (badges, switches, separators)
113
+ 1: "1",
114
+ // 4px
115
+ 1.5: "1.5",
116
+ // 6px — half-step
117
+ 2: "2",
118
+ // 8px
119
+ 2.5: "2.5",
120
+ // 10px — half-step
121
+ 3: "3",
122
+ // 12px
123
+ 3.5: "3.5",
124
+ // 14px — half-step
125
+ 4: "4",
126
+ // 16px
127
+ 5: "5",
128
+ // 20px
129
+ 6: "6",
130
+ // 24px
131
+ 8: "8",
132
+ // 32px
133
+ 10: "10",
134
+ // 40px
135
+ 12: "12",
136
+ // 48px
137
+ 16: "16",
138
+ // 64px
139
+ 20: "20",
140
+ // 80px
141
+ 24: "24",
142
+ // 96px
143
+ 32: "32",
144
+ // 128px
145
+ 40: "40",
146
+ // 160px
147
+ 48: "48",
148
+ // 192px
149
+ 64: "64",
150
+ // 256px
151
+ 80: "80",
152
+ // 320px
153
+ 96: "96"
154
+ // 384px
155
+ }[a] || String(a);
156
+ }
157
+ }
158
+ R(c, "BASE_UNIT", 4);
159
+ const W = {
160
+ // Micro spacing (0-14px)
161
+ none: c.create(0),
162
+ "0.5": c.create(0.5),
163
+ // 2px (half-step)
164
+ xs: c.create(1),
165
+ // 4px
166
+ "1.5": c.create(1.5),
167
+ // 6px (half-step)
168
+ sm: c.create(2),
169
+ // 8px
170
+ "2.5": c.create(2.5),
171
+ // 10px (half-step)
172
+ md: c.create(3),
173
+ // 12px
174
+ "3.5": c.create(3.5),
175
+ // 14px (half-step)
176
+ // Standard spacing (16-32px)
177
+ base: c.create(4),
178
+ // 16px
179
+ lg: c.create(6),
180
+ // 24px
181
+ xl: c.create(8),
182
+ // 32px
183
+ // Large spacing (40-64px)
184
+ "2xl": c.create(10),
185
+ // 40px
186
+ "3xl": c.create(12),
187
+ // 48px
188
+ "4xl": c.create(16),
189
+ // 64px
190
+ // Extra large spacing (80px+)
191
+ "5xl": c.create(20),
192
+ // 80px
193
+ "6xl": c.create(24)
194
+ // 96px
195
+ };
196
+ function f0(t) {
197
+ return W[t];
198
+ }
199
+ function u0(t, a = "p") {
200
+ const i = W[t].tailwind;
201
+ return `${{
202
+ p: "p",
203
+ m: "m",
204
+ px: "px",
205
+ mx: "mx",
206
+ py: "py",
207
+ my: "my",
208
+ pt: "pt",
209
+ mt: "mt",
210
+ pr: "pr",
211
+ mr: "mr",
212
+ pb: "pb",
213
+ mb: "mb",
214
+ pl: "pl",
215
+ ml: "ml",
216
+ gap: "gap",
217
+ "gap-x": "gap-x",
218
+ "gap-y": "gap-y",
219
+ "space-y": "space-y"
220
+ }[a]}-${i}`;
221
+ }
222
+ class l {
223
+ /**
224
+ * Create font size token
225
+ */
226
+ static createFontSize(a) {
227
+ const i = {
228
+ "2xs": { px: 10, tailwind: "text-2xs" },
229
+ // micro-text (badge counters, mini chips)
230
+ xs: { px: 12, tailwind: "text-xs" },
231
+ sm: { px: 14, tailwind: "text-sm" },
232
+ base: { px: 16, tailwind: "text-base" },
233
+ lg: { px: 18, tailwind: "text-lg" },
234
+ xl: { px: 20, tailwind: "text-xl" },
235
+ "2xl": { px: 24, tailwind: "text-2xl" },
236
+ "3xl": { px: 30, tailwind: "text-3xl" },
237
+ "4xl": { px: 36, tailwind: "text-4xl" },
238
+ "5xl": { px: 48, tailwind: "text-5xl" },
239
+ "6xl": { px: 60, tailwind: "text-6xl" }
240
+ }[a];
241
+ return {
242
+ value: i.px,
243
+ rem: `${i.px / 16}rem`,
244
+ px: `${i.px}px`,
245
+ tailwind: i.tailwind
246
+ };
247
+ }
248
+ /**
249
+ * Create line height token
250
+ */
251
+ static createLineHeight(a) {
252
+ const i = {
253
+ none: { value: 1, tailwind: "leading-none" },
254
+ tight: { value: 1.25, tailwind: "leading-tight" },
255
+ snug: { value: 1.375, tailwind: "leading-snug" },
256
+ normal: { value: 1.5, tailwind: "leading-normal" },
257
+ relaxed: { value: 1.625, tailwind: "leading-relaxed" },
258
+ loose: { value: 2, tailwind: "leading-loose" }
259
+ }[a];
260
+ return {
261
+ value: i.value,
262
+ tailwind: i.tailwind
263
+ };
264
+ }
265
+ /**
266
+ * Create font weight token
267
+ */
268
+ static createFontWeight(a) {
269
+ const i = {
270
+ light: { value: 300, tailwind: "font-light" },
271
+ normal: { value: 400, tailwind: "font-normal" },
272
+ medium: { value: 500, tailwind: "font-medium" },
273
+ semibold: { value: 600, tailwind: "font-semibold" },
274
+ bold: { value: 700, tailwind: "font-bold" }
275
+ }[a];
276
+ return {
277
+ value: i.value,
278
+ tailwind: i.tailwind
279
+ };
280
+ }
281
+ /**
282
+ * Create complete typography token
283
+ */
284
+ static create(a, n = "normal", i = "normal") {
285
+ return {
286
+ fontSize: this.createFontSize(a),
287
+ lineHeight: this.createLineHeight(n),
288
+ fontWeight: this.createFontWeight(i)
289
+ };
290
+ }
291
+ }
292
+ const p0 = {
293
+ sans: {
294
+ name: "sans",
295
+ stack: 'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif',
296
+ tailwind: "font-sans"
297
+ },
298
+ serif: {
299
+ name: "serif",
300
+ stack: 'ui-serif, Georgia, Cambria, "Times New Roman", Times, serif',
301
+ tailwind: "font-serif"
302
+ },
303
+ mono: {
304
+ name: "mono",
305
+ stack: 'ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace',
306
+ tailwind: "font-mono"
307
+ }
308
+ }, g0 = {
309
+ light: l.createFontWeight("light"),
310
+ normal: l.createFontWeight("normal"),
311
+ medium: l.createFontWeight("medium"),
312
+ semibold: l.createFontWeight("semibold"),
313
+ bold: l.createFontWeight("bold")
314
+ }, A = {
315
+ // Headings
316
+ h1: l.create("4xl", "tight", "bold"),
317
+ h2: l.create("3xl", "tight", "bold"),
318
+ h3: l.create("2xl", "snug", "semibold"),
319
+ h4: l.create("xl", "snug", "semibold"),
320
+ h5: l.create("lg", "normal", "medium"),
321
+ h6: l.create("base", "normal", "medium"),
322
+ // Body text
323
+ body: l.create("base", "relaxed", "normal"),
324
+ bodySmall: l.create("sm", "relaxed", "normal"),
325
+ bodyLarge: l.create("lg", "relaxed", "normal"),
326
+ // UI elements
327
+ label: l.create("sm", "normal", "medium"),
328
+ caption: l.create("xs", "normal", "normal"),
329
+ button: l.create("base", "normal", "medium")
330
+ };
331
+ function h0(t) {
332
+ return A[t];
333
+ }
334
+ function b0(t) {
335
+ const a = A[t];
336
+ return `${a.fontSize.tailwind} ${a.lineHeight.tailwind} ${a.fontWeight.tailwind}`;
337
+ }
338
+ function m0(t) {
339
+ return A[t].fontSize.tailwind;
340
+ }
341
+ function w0(t) {
342
+ return l.createFontSize(t).tailwind;
343
+ }
344
+ function x0(t) {
345
+ return A[t].fontWeight.tailwind;
346
+ }
347
+ function y0(t) {
348
+ return l.createFontWeight(t).tailwind;
349
+ }
350
+ function k0(t) {
351
+ return A[t].lineHeight.tailwind;
352
+ }
353
+ const v0 = [
354
+ 50,
355
+ 100,
356
+ 200,
357
+ 300,
358
+ 400,
359
+ 500,
360
+ 600,
361
+ 700,
362
+ 800,
363
+ 900,
364
+ 950
365
+ ];
366
+ function e(t, a, n) {
367
+ const i = G(t), r = Y(t);
368
+ return {
369
+ hex: t,
370
+ rgb: i,
371
+ hsl: r,
372
+ cssVar: `var(--color-${a}-${n})`,
373
+ tailwind: `${a}-${n}`
374
+ };
375
+ }
376
+ function G(t) {
377
+ const a = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);
378
+ return a ? `${parseInt(a[1], 16)}, ${parseInt(a[2], 16)}, ${parseInt(a[3], 16)}` : "0, 0, 0";
379
+ }
380
+ function Y(t) {
381
+ const a = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);
382
+ if (!a) return "0, 0%, 0%";
383
+ const n = parseInt(a[1], 16) / 255, i = parseInt(a[2], 16) / 255, r = parseInt(a[3], 16) / 255, o = Math.max(n, i, r), s = Math.min(n, i, r);
384
+ let f = 0, L = 0;
385
+ const u = (o + s) / 2;
386
+ if (o !== s) {
387
+ const b = o - s;
388
+ switch (L = u > 0.5 ? b / (2 - o - s) : b / (o + s), o) {
389
+ case n:
390
+ f = ((i - r) / b + (i < r ? 6 : 0)) / 6;
391
+ break;
392
+ case i:
393
+ f = ((r - n) / b + 2) / 6;
394
+ break;
395
+ case r:
396
+ f = ((n - i) / b + 4) / 6;
397
+ break;
398
+ }
399
+ }
400
+ return `${Math.round(f * 360)}, ${Math.round(L * 100)}%, ${Math.round(u * 100)}%`;
401
+ }
402
+ const x = {
403
+ 50: e("#eef2ff", "indigo", 50),
404
+ 100: e("#e0e7ff", "indigo", 100),
405
+ 200: e("#c7d2fe", "indigo", 200),
406
+ 300: e("#a5b4fc", "indigo", 300),
407
+ 400: e("#818cf8", "indigo", 400),
408
+ 500: e("#6366f1", "indigo", 500),
409
+ 600: e("#4f46e5", "indigo", 600),
410
+ 700: e("#4338ca", "indigo", 700),
411
+ 800: e("#3730a3", "indigo", 800),
412
+ 900: e("#312e81", "indigo", 900),
413
+ 950: e("#1e1b4b", "indigo", 950)
414
+ }, y = {
415
+ 50: e("#f5f3ff", "violet", 50),
416
+ 100: e("#ede9fe", "violet", 100),
417
+ 200: e("#ddd6fe", "violet", 200),
418
+ 300: e("#c4b5fd", "violet", 300),
419
+ 400: e("#a78bfa", "violet", 400),
420
+ 500: e("#8b5cf6", "violet", 500),
421
+ 600: e("#7c3aed", "violet", 600),
422
+ 700: e("#6d28d9", "violet", 700),
423
+ 800: e("#5b21b6", "violet", 800),
424
+ 900: e("#4c1d95", "violet", 900),
425
+ 950: e("#2e1065", "violet", 950)
426
+ }, k = {
427
+ 50: e("#ecfeff", "cyan", 50),
428
+ 100: e("#cffafe", "cyan", 100),
429
+ 200: e("#a5f3fc", "cyan", 200),
430
+ 300: e("#67e8f9", "cyan", 300),
431
+ 400: e("#22d3ee", "cyan", 400),
432
+ 500: e("#06b6d4", "cyan", 500),
433
+ 600: e("#0891b2", "cyan", 600),
434
+ 700: e("#0e7490", "cyan", 700),
435
+ 800: e("#155e75", "cyan", 800),
436
+ 900: e("#164e63", "cyan", 900),
437
+ 950: e("#083344", "cyan", 950)
438
+ }, v = {
439
+ 50: e("#f8fafc", "slate", 50),
440
+ 100: e("#f1f5f9", "slate", 100),
441
+ 200: e("#e2e8f0", "slate", 200),
442
+ 300: e("#cbd5e1", "slate", 300),
443
+ 400: e("#94a3b8", "slate", 400),
444
+ 500: e("#64748b", "slate", 500),
445
+ 600: e("#475569", "slate", 600),
446
+ 700: e("#334155", "slate", 700),
447
+ 800: e("#1e293b", "slate", 800),
448
+ 900: e("#0f172a", "slate", 900),
449
+ 950: e("#020617", "slate", 950)
450
+ }, q = {
451
+ 50: e("#f9fafb", "gray", 50),
452
+ 100: e("#f3f4f6", "gray", 100),
453
+ 200: e("#e5e7eb", "gray", 200),
454
+ 300: e("#d1d5db", "gray", 300),
455
+ 400: e("#9ca3af", "gray", 400),
456
+ 500: e("#6b7280", "gray", 500),
457
+ 600: e("#4b5563", "gray", 600),
458
+ 700: e("#374151", "gray", 700),
459
+ 800: e("#1f2937", "gray", 800),
460
+ 900: e("#111827", "gray", 900),
461
+ 950: e("#030712", "gray", 950)
462
+ }, T = {
463
+ 50: e("#ecfdf5", "emerald", 50),
464
+ 100: e("#d1fae5", "emerald", 100),
465
+ 200: e("#a7f3d0", "emerald", 200),
466
+ 300: e("#6ee7b7", "emerald", 300),
467
+ 400: e("#34d399", "emerald", 400),
468
+ 500: e("#10b981", "emerald", 500),
469
+ 600: e("#059669", "emerald", 600),
470
+ 700: e("#047857", "emerald", 700),
471
+ 800: e("#065f46", "emerald", 800),
472
+ 900: e("#064e3b", "emerald", 900),
473
+ 950: e("#022c22", "emerald", 950)
474
+ }, X = {
475
+ 50: e("#f0fdf4", "green", 50),
476
+ 100: e("#dcfce7", "green", 100),
477
+ 200: e("#bbf7d0", "green", 200),
478
+ 300: e("#86efac", "green", 300),
479
+ 400: e("#4ade80", "green", 400),
480
+ 500: e("#22c55e", "green", 500),
481
+ 600: e("#16a34a", "green", 600),
482
+ 700: e("#15803d", "green", 700),
483
+ 800: e("#166534", "green", 800),
484
+ 900: e("#14532d", "green", 900),
485
+ 950: e("#052e16", "green", 950)
486
+ }, $ = {
487
+ 50: e("#fffbeb", "amber", 50),
488
+ 100: e("#fef3c7", "amber", 100),
489
+ 200: e("#fde68a", "amber", 200),
490
+ 300: e("#fcd34d", "amber", 300),
491
+ 400: e("#fbbf24", "amber", 400),
492
+ 500: e("#f59e0b", "amber", 500),
493
+ 600: e("#d97706", "amber", 600),
494
+ 700: e("#b45309", "amber", 700),
495
+ 800: e("#92400e", "amber", 800),
496
+ 900: e("#78350f", "amber", 900),
497
+ 950: e("#451a03", "amber", 950)
498
+ }, j = {
499
+ 50: e("#fefce8", "yellow", 50),
500
+ 100: e("#fef9c3", "yellow", 100),
501
+ 200: e("#fef08a", "yellow", 200),
502
+ 300: e("#fde047", "yellow", 300),
503
+ 400: e("#facc15", "yellow", 400),
504
+ 500: e("#eab308", "yellow", 500),
505
+ 600: e("#ca8a04", "yellow", 600),
506
+ 700: e("#a16207", "yellow", 700),
507
+ 800: e("#854d0e", "yellow", 800),
508
+ 900: e("#713f12", "yellow", 900),
509
+ 950: e("#422006", "yellow", 950)
510
+ }, Z = {
511
+ 50: e("#fff7ed", "orange", 50),
512
+ 100: e("#ffedd5", "orange", 100),
513
+ 200: e("#fed7aa", "orange", 200),
514
+ 300: e("#fdba74", "orange", 300),
515
+ 400: e("#fb923c", "orange", 400),
516
+ 500: e("#f97316", "orange", 500),
517
+ 600: e("#ea580c", "orange", 600),
518
+ 700: e("#c2410c", "orange", 700),
519
+ 800: e("#9a3412", "orange", 800),
520
+ 900: e("#7c2d12", "orange", 900),
521
+ 950: e("#431407", "orange", 950)
522
+ }, S = {
523
+ 50: e("#fff1f2", "rose", 50),
524
+ 100: e("#ffe4e6", "rose", 100),
525
+ 200: e("#fecdd3", "rose", 200),
526
+ 300: e("#fda4af", "rose", 300),
527
+ 400: e("#fb7185", "rose", 400),
528
+ 500: e("#f43f5e", "rose", 500),
529
+ 600: e("#e11d48", "rose", 600),
530
+ 700: e("#be123c", "rose", 700),
531
+ 800: e("#9f1239", "rose", 800),
532
+ 900: e("#881337", "rose", 900),
533
+ 950: e("#4c0519", "rose", 950)
534
+ }, Q = {
535
+ 50: e("#fef2f2", "red", 50),
536
+ 100: e("#fee2e2", "red", 100),
537
+ 200: e("#fecaca", "red", 200),
538
+ 300: e("#fca5a5", "red", 300),
539
+ 400: e("#f87171", "red", 400),
540
+ 500: e("#ef4444", "red", 500),
541
+ 600: e("#dc2626", "red", 600),
542
+ 700: e("#b91c1c", "red", 700),
543
+ 800: e("#991b1b", "red", 800),
544
+ 900: e("#7f1d1d", "red", 900),
545
+ 950: e("#450a0a", "red", 950)
546
+ }, E = {
547
+ 50: e("#f0f9ff", "sky", 50),
548
+ 100: e("#e0f2fe", "sky", 100),
549
+ 200: e("#bae6fd", "sky", 200),
550
+ 300: e("#7dd3fc", "sky", 300),
551
+ 400: e("#38bdf8", "sky", 400),
552
+ 500: e("#0ea5e9", "sky", 500),
553
+ 600: e("#0284c7", "sky", 600),
554
+ 700: e("#0369a1", "sky", 700),
555
+ 800: e("#075985", "sky", 800),
556
+ 900: e("#0c4a6e", "sky", 900),
557
+ 950: e("#082f49", "sky", 950)
558
+ }, J = {
559
+ 50: e("#eff6ff", "blue", 50),
560
+ 100: e("#dbeafe", "blue", 100),
561
+ 200: e("#bfdbfe", "blue", 200),
562
+ 300: e("#93c5fd", "blue", 300),
563
+ 400: e("#60a5fa", "blue", 400),
564
+ 500: e("#3b82f6", "blue", 500),
565
+ 600: e("#2563eb", "blue", 600),
566
+ 700: e("#1d4ed8", "blue", 700),
567
+ 800: e("#1e40af", "blue", 800),
568
+ 900: e("#1e3a8a", "blue", 900),
569
+ 950: e("#172554", "blue", 950)
570
+ }, e0 = {
571
+ 50: e("#fdf4ff", "fuchsia", 50),
572
+ 100: e("#fae8ff", "fuchsia", 100),
573
+ 200: e("#f5d0fe", "fuchsia", 200),
574
+ 300: e("#f0abfc", "fuchsia", 300),
575
+ 400: e("#e879f9", "fuchsia", 400),
576
+ 500: e("#d946ef", "fuchsia", 500),
577
+ 600: e("#c026d3", "fuchsia", 600),
578
+ 700: e("#a21caf", "fuchsia", 700),
579
+ 800: e("#86198f", "fuchsia", 800),
580
+ 900: e("#701a75", "fuchsia", 900),
581
+ 950: e("#4a044e", "fuchsia", 950)
582
+ }, t0 = {
583
+ 50: e("#fdf2f8", "pink", 50),
584
+ 100: e("#fce7f3", "pink", 100),
585
+ 200: e("#fbcfe8", "pink", 200),
586
+ 300: e("#f9a8d4", "pink", 300),
587
+ 400: e("#f472b6", "pink", 400),
588
+ 500: e("#ec4899", "pink", 500),
589
+ 600: e("#db2777", "pink", 600),
590
+ 700: e("#be185d", "pink", 700),
591
+ 800: e("#9d174d", "pink", 800),
592
+ 900: e("#831843", "pink", 900),
593
+ 950: e("#500724", "pink", 950)
594
+ }, a0 = {
595
+ 50: e("#faf5ff", "purple", 50),
596
+ 100: e("#f3e8ff", "purple", 100),
597
+ 200: e("#e9d5ff", "purple", 200),
598
+ 300: e("#d8b4fe", "purple", 300),
599
+ 400: e("#c084fc", "purple", 400),
600
+ 500: e("#a855f7", "purple", 500),
601
+ 600: e("#9333ea", "purple", 600),
602
+ 700: e("#7e22ce", "purple", 700),
603
+ 800: e("#6b21a8", "purple", 800),
604
+ 900: e("#581c87", "purple", 900),
605
+ 950: e("#3b0764", "purple", 950)
606
+ }, i0 = {
607
+ 50: e("#f0fdfa", "teal", 50),
608
+ 100: e("#ccfbf1", "teal", 100),
609
+ 200: e("#99f6e4", "teal", 200),
610
+ 300: e("#5eead4", "teal", 300),
611
+ 400: e("#2dd4bf", "teal", 400),
612
+ 500: e("#14b8a6", "teal", 500),
613
+ 600: e("#0d9488", "teal", 600),
614
+ 700: e("#0f766e", "teal", 700),
615
+ 800: e("#115e59", "teal", 800),
616
+ 900: e("#134e4a", "teal", 900),
617
+ 950: e("#042f2e", "teal", 950)
618
+ }, n0 = {
619
+ 50: e("#f7fee7", "lime", 50),
620
+ 100: e("#ecfccb", "lime", 100),
621
+ 200: e("#d9f99d", "lime", 200),
622
+ 300: e("#bef264", "lime", 300),
623
+ 400: e("#a3e635", "lime", 400),
624
+ 500: e("#84cc16", "lime", 500),
625
+ 600: e("#65a30d", "lime", 600),
626
+ 700: e("#4d7c0f", "lime", 700),
627
+ 800: e("#3f6212", "lime", 800),
628
+ 900: e("#365314", "lime", 900),
629
+ 950: e("#1a2e05", "lime", 950)
630
+ }, U = {
631
+ indigo: x,
632
+ violet: y,
633
+ cyan: k,
634
+ slate: v,
635
+ gray: q,
636
+ emerald: T,
637
+ green: X,
638
+ amber: $,
639
+ yellow: j,
640
+ orange: Z,
641
+ rose: S,
642
+ red: Q,
643
+ sky: E,
644
+ blue: J,
645
+ fuchsia: e0,
646
+ pink: t0,
647
+ purple: a0,
648
+ teal: i0,
649
+ lime: n0
650
+ };
651
+ function C(t, a) {
652
+ return U[t][a];
653
+ }
654
+ function T0(t) {
655
+ return U[t];
656
+ }
657
+ const D = {
658
+ primary: {
659
+ light: x[400],
660
+ DEFAULT: x[500],
661
+ dark: x[600],
662
+ contrast: {
663
+ hex: "#ffffff",
664
+ rgb: "255, 255, 255",
665
+ hsl: "0, 0%, 100%",
666
+ cssVar: "var(--color-white)",
667
+ tailwind: "white"
668
+ }
669
+ },
670
+ secondary: {
671
+ light: y[400],
672
+ DEFAULT: y[500],
673
+ dark: y[600],
674
+ contrast: {
675
+ hex: "#ffffff",
676
+ rgb: "255, 255, 255",
677
+ hsl: "0, 0%, 100%",
678
+ cssVar: "var(--color-white)",
679
+ tailwind: "white"
680
+ }
681
+ },
682
+ accent: {
683
+ light: k[400],
684
+ DEFAULT: k[500],
685
+ dark: k[600],
686
+ contrast: {
687
+ hex: "#ffffff",
688
+ rgb: "255, 255, 255",
689
+ hsl: "0, 0%, 100%",
690
+ cssVar: "var(--color-white)",
691
+ tailwind: "white"
692
+ }
693
+ },
694
+ success: {
695
+ light: T[400],
696
+ DEFAULT: T[500],
697
+ dark: T[600],
698
+ contrast: {
699
+ hex: "#ffffff",
700
+ rgb: "255, 255, 255",
701
+ hsl: "0, 0%, 100%",
702
+ cssVar: "var(--color-white)",
703
+ tailwind: "white"
704
+ }
705
+ },
706
+ warning: {
707
+ light: $[400],
708
+ DEFAULT: $[500],
709
+ dark: $[600],
710
+ contrast: {
711
+ hex: "#000000",
712
+ rgb: "0, 0, 0",
713
+ hsl: "0, 0%, 0%",
714
+ cssVar: "var(--color-black)",
715
+ tailwind: "black"
716
+ }
717
+ },
718
+ error: {
719
+ light: S[400],
720
+ DEFAULT: S[500],
721
+ dark: S[600],
722
+ contrast: {
723
+ hex: "#ffffff",
724
+ rgb: "255, 255, 255",
725
+ hsl: "0, 0%, 100%",
726
+ cssVar: "var(--color-white)",
727
+ tailwind: "white"
728
+ }
729
+ },
730
+ info: {
731
+ light: E[400],
732
+ DEFAULT: E[500],
733
+ dark: E[600],
734
+ contrast: {
735
+ hex: "#ffffff",
736
+ rgb: "255, 255, 255",
737
+ hsl: "0, 0%, 100%",
738
+ cssVar: "var(--color-white)",
739
+ tailwind: "white"
740
+ }
741
+ },
742
+ neutral: {
743
+ light: v[100],
744
+ DEFAULT: v[500],
745
+ dark: v[700],
746
+ contrast: {
747
+ hex: "#ffffff",
748
+ rgb: "255, 255, 255",
749
+ hsl: "0, 0%, 100%",
750
+ cssVar: "var(--color-white)",
751
+ tailwind: "white"
752
+ }
753
+ }
754
+ }, V = {
755
+ primary: {
756
+ light: x[500],
757
+ DEFAULT: x[400],
758
+ dark: x[300],
759
+ contrast: {
760
+ hex: "#ffffff",
761
+ rgb: "255, 255, 255",
762
+ hsl: "0, 0%, 100%",
763
+ cssVar: "var(--color-white)",
764
+ tailwind: "white"
765
+ }
766
+ },
767
+ secondary: {
768
+ light: y[500],
769
+ DEFAULT: y[400],
770
+ dark: y[300],
771
+ contrast: {
772
+ hex: "#ffffff",
773
+ rgb: "255, 255, 255",
774
+ hsl: "0, 0%, 100%",
775
+ cssVar: "var(--color-white)",
776
+ tailwind: "white"
777
+ }
778
+ },
779
+ accent: {
780
+ light: k[500],
781
+ DEFAULT: k[400],
782
+ dark: k[300],
783
+ contrast: {
784
+ hex: "#000000",
785
+ rgb: "0, 0, 0",
786
+ hsl: "0, 0%, 0%",
787
+ cssVar: "var(--color-black)",
788
+ tailwind: "black"
789
+ }
790
+ },
791
+ success: {
792
+ light: T[500],
793
+ DEFAULT: T[400],
794
+ dark: T[300],
795
+ contrast: {
796
+ hex: "#000000",
797
+ rgb: "0, 0, 0",
798
+ hsl: "0, 0%, 0%",
799
+ cssVar: "var(--color-black)",
800
+ tailwind: "black"
801
+ }
802
+ },
803
+ warning: {
804
+ light: $[500],
805
+ DEFAULT: $[400],
806
+ dark: $[300],
807
+ contrast: {
808
+ hex: "#000000",
809
+ rgb: "0, 0, 0",
810
+ hsl: "0, 0%, 0%",
811
+ cssVar: "var(--color-black)",
812
+ tailwind: "black"
813
+ }
814
+ },
815
+ error: {
816
+ light: S[500],
817
+ DEFAULT: S[400],
818
+ dark: S[300],
819
+ contrast: {
820
+ hex: "#ffffff",
821
+ rgb: "255, 255, 255",
822
+ hsl: "0, 0%, 100%",
823
+ cssVar: "var(--color-white)",
824
+ tailwind: "white"
825
+ }
826
+ },
827
+ info: {
828
+ light: E[500],
829
+ DEFAULT: E[400],
830
+ dark: E[300],
831
+ contrast: {
832
+ hex: "#ffffff",
833
+ rgb: "255, 255, 255",
834
+ hsl: "0, 0%, 100%",
835
+ cssVar: "var(--color-white)",
836
+ tailwind: "white"
837
+ }
838
+ },
839
+ neutral: {
840
+ light: v[700],
841
+ DEFAULT: v[400],
842
+ dark: v[300],
843
+ contrast: {
844
+ hex: "#ffffff",
845
+ rgb: "255, 255, 255",
846
+ hsl: "0, 0%, 100%",
847
+ cssVar: "var(--color-white)",
848
+ tailwind: "white"
849
+ }
850
+ }
851
+ }, $0 = D;
852
+ function O(t, a = "DEFAULT", n = "light") {
853
+ return (n === "dark" ? V : D)[t][a];
854
+ }
855
+ function S0(t, a = "light") {
856
+ return (a === "dark" ? V : D)[t];
857
+ }
858
+ function E0(t, a, n = {}) {
859
+ const { format: i = "hex", opacity: r } = n, o = C(t, a);
860
+ let s;
861
+ switch (i) {
862
+ case "rgb":
863
+ s = r !== void 0 ? `rgba(${o.rgb}, ${r})` : `rgb(${o.rgb})`;
864
+ break;
865
+ case "hsl":
866
+ s = r !== void 0 ? `hsla(${o.hsl}, ${r})` : `hsl(${o.hsl})`;
867
+ break;
868
+ case "cssVar":
869
+ s = o.cssVar;
870
+ break;
871
+ case "tailwind":
872
+ s = o.tailwind;
873
+ break;
874
+ case "hex":
875
+ default:
876
+ s = o.hex;
877
+ }
878
+ return s;
879
+ }
880
+ function F0(t, a = "DEFAULT", n = {}) {
881
+ const { format: i = "hex", opacity: r } = n, o = O(t, a);
882
+ let s;
883
+ switch (i) {
884
+ case "rgb":
885
+ s = r !== void 0 ? `rgba(${o.rgb}, ${r})` : `rgb(${o.rgb})`;
886
+ break;
887
+ case "hsl":
888
+ s = r !== void 0 ? `hsla(${o.hsl}, ${r})` : `hsl(${o.hsl})`;
889
+ break;
890
+ case "cssVar":
891
+ s = o.cssVar;
892
+ break;
893
+ case "tailwind":
894
+ s = o.tailwind;
895
+ break;
896
+ case "hex":
897
+ default:
898
+ s = o.hex;
899
+ }
900
+ return s;
901
+ }
902
+ function M0(t, a, n = {}) {
903
+ const {
904
+ type: i = "text",
905
+ hover: r = !1,
906
+ focus: o = !1,
907
+ active: s = !1
908
+ } = n, f = C(t, a), u = [`${i}-${f.tailwind}`];
909
+ return r && u.push(`hover:${i}-${f.tailwind}`), o && u.push(`focus:${i}-${f.tailwind}`), s && u.push(`active:${i}-${f.tailwind}`), u.join(" ");
910
+ }
911
+ function A0(t, a = "DEFAULT", n = {}) {
912
+ const {
913
+ type: i = "text",
914
+ hover: r = !1,
915
+ focus: o = !1,
916
+ active: s = !1
917
+ } = n, f = O(t, a), u = [`${i}-${f.tailwind}`];
918
+ if (r) {
919
+ const b = O(
920
+ t,
921
+ a === "DEFAULT" ? "dark" : "DEFAULT"
922
+ );
923
+ u.push(`hover:${i}-${b.tailwind}`);
924
+ }
925
+ if (o && u.push(`focus:${i}-${f.tailwind}`), s) {
926
+ const b = O(t, "dark");
927
+ u.push(`active:${i}-${b.tailwind}`);
928
+ }
929
+ return u.join(" ");
930
+ }
931
+ function C0(t, a, n = "bg") {
932
+ const i = C(t, a);
933
+ return `hover:${n}-${i.tailwind}`;
934
+ }
935
+ function L0(t, a, n = "border") {
936
+ const i = C(t, a);
937
+ return `focus:${n}-${i.tailwind}`;
938
+ }
939
+ function I0(t, a) {
940
+ return `focus:ring-${C(t, a).tailwind}`;
941
+ }
942
+ function O0(t, a) {
943
+ return `rgba(${t.rgb}, ${a})`;
944
+ }
945
+ function r0(t) {
946
+ const a = N(t);
947
+ return a ? 0.299 * a[0] + 0.587 * a[1] + 0.114 * a[2] > 128 : !0;
948
+ }
949
+ function N0(t) {
950
+ return r0(t) ? "#000000" : "#ffffff";
951
+ }
952
+ function N(t) {
953
+ const a = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);
954
+ return a ? [
955
+ parseInt(a[1], 16),
956
+ parseInt(a[2], 16),
957
+ parseInt(a[3], 16)
958
+ ] : null;
959
+ }
960
+ function _(t, a, n = 0.5) {
961
+ const i = N(t), r = N(a);
962
+ if (!i || !r) return t;
963
+ const o = Math.round(i[0] * (1 - n) + r[0] * n), s = Math.round(i[1] * (1 - n) + r[1] * n), f = Math.round(i[2] * (1 - n) + r[2] * n);
964
+ return `#${((1 << 24) + (o << 16) + (s << 8) + f).toString(16).slice(1)}`;
965
+ }
966
+ function D0(t, a) {
967
+ return _(t, "#ffffff", a / 100);
968
+ }
969
+ function R0(t, a) {
970
+ return _(t, "#000000", a / 100);
971
+ }
972
+ const W0 = {
973
+ primary: {
974
+ name: "indigo",
975
+ light: 400,
976
+ default: 500,
977
+ dark: 600
978
+ },
979
+ secondary: {
980
+ name: "violet",
981
+ light: 400,
982
+ default: 500,
983
+ dark: 600
984
+ },
985
+ accent: {
986
+ name: "cyan",
987
+ light: 400,
988
+ default: 500,
989
+ dark: 600
990
+ }
991
+ };
992
+ class F {
993
+ /**
994
+ * Create breakpoint token
995
+ */
996
+ static create(a) {
997
+ const i = {
998
+ sm: { minWidth: 640, tailwind: "sm" },
999
+ md: { minWidth: 768, tailwind: "md" },
1000
+ lg: { minWidth: 1024, tailwind: "lg" },
1001
+ xl: { minWidth: 1280, tailwind: "xl" },
1002
+ "2xl": { minWidth: 1536, tailwind: "2xl" }
1003
+ }[a];
1004
+ return {
1005
+ name: a,
1006
+ minWidth: i.minWidth,
1007
+ px: `${i.minWidth}px`,
1008
+ rem: `${i.minWidth / 16}rem`,
1009
+ tailwind: i.tailwind
1010
+ };
1011
+ }
1012
+ }
1013
+ const z = {
1014
+ sm: F.create("sm"),
1015
+ md: F.create("md"),
1016
+ lg: F.create("lg"),
1017
+ xl: F.create("xl"),
1018
+ "2xl": F.create("2xl")
1019
+ };
1020
+ function U0(t) {
1021
+ return z[t];
1022
+ }
1023
+ function V0(t, a = "min") {
1024
+ const n = z[t];
1025
+ return `@media (${a === "min" ? "min-width" : "max-width"}: ${n.px})`;
1026
+ }
1027
+ class g {
1028
+ /**
1029
+ * Create an animation token
1030
+ */
1031
+ static create(a, n = "ease-in-out") {
1032
+ const i = {
1033
+ fast: {
1034
+ value: "150ms",
1035
+ ms: 150,
1036
+ tailwind: "duration-150"
1037
+ },
1038
+ base: {
1039
+ value: "200ms",
1040
+ ms: 200,
1041
+ tailwind: "duration-200"
1042
+ },
1043
+ slow: {
1044
+ value: "300ms",
1045
+ ms: 300,
1046
+ tailwind: "duration-300"
1047
+ },
1048
+ slower: {
1049
+ value: "500ms",
1050
+ ms: 500,
1051
+ tailwind: "duration-500"
1052
+ }
1053
+ }, r = {
1054
+ "ease-in": {
1055
+ value: "cubic-bezier(0.4, 0, 1, 1)",
1056
+ tailwind: "ease-in",
1057
+ description: "Slow start, fast end"
1058
+ },
1059
+ "ease-out": {
1060
+ value: "cubic-bezier(0, 0, 0.2, 1)",
1061
+ tailwind: "ease-out",
1062
+ description: "Fast start, slow end"
1063
+ },
1064
+ "ease-in-out": {
1065
+ value: "cubic-bezier(0.4, 0, 0.2, 1)",
1066
+ tailwind: "ease-in-out",
1067
+ description: "Slow start and end, fast middle"
1068
+ },
1069
+ spring: {
1070
+ value: "cubic-bezier(0.68, -0.55, 0.265, 1.55)",
1071
+ tailwind: "ease-[cubic-bezier(0.68,-0.55,0.265,1.55)]",
1072
+ description: "Spring-like bounce effect"
1073
+ }
1074
+ };
1075
+ return {
1076
+ duration: i[a],
1077
+ easing: r[n]
1078
+ };
1079
+ }
1080
+ /**
1081
+ * Create a transition token
1082
+ */
1083
+ static createTransition(a, n = "base", i = "ease-in-out") {
1084
+ const r = this.create(n, i), o = Array.isArray(a) ? a.join(", ") : a, s = [
1085
+ r.duration.tailwind,
1086
+ r.easing.tailwind
1087
+ ].join(" ");
1088
+ return {
1089
+ property: o,
1090
+ duration: r.duration.value,
1091
+ timingFunction: r.easing.value,
1092
+ tailwind: s
1093
+ };
1094
+ }
1095
+ }
1096
+ const _0 = {
1097
+ fast: g.create("fast"),
1098
+ base: g.create("base"),
1099
+ slow: g.create("slow"),
1100
+ slower: g.create("slower"),
1101
+ // Common transitions
1102
+ colors: g.createTransition(
1103
+ ["color", "background-color", "border-color"],
1104
+ "base"
1105
+ ),
1106
+ opacity: g.createTransition("opacity", "fast"),
1107
+ transform: g.createTransition("transform", "base"),
1108
+ all: g.createTransition("all", "base")
1109
+ };
1110
+ function z0(t, a) {
1111
+ return g.create(t, a);
1112
+ }
1113
+ function B0(t, a = "ease-in-out") {
1114
+ const n = g.create(t, a);
1115
+ return `${n.duration.tailwind} ${n.easing.tailwind}`;
1116
+ }
1117
+ function H0(t, a = "base", n = "ease-in-out") {
1118
+ return g.createTransition(
1119
+ t,
1120
+ a,
1121
+ n
1122
+ ).tailwind;
1123
+ }
1124
+ class p {
1125
+ /**
1126
+ * Create a z-index token
1127
+ */
1128
+ static create(a) {
1129
+ return {
1130
+ base: {
1131
+ value: 0,
1132
+ tailwind: "z-0",
1133
+ description: "Base layer for normal content"
1134
+ },
1135
+ dropdown: {
1136
+ value: 1e3,
1137
+ tailwind: "z-[1000]",
1138
+ description: "Dropdown menus and select options"
1139
+ },
1140
+ sticky: {
1141
+ value: 1020,
1142
+ tailwind: "z-[1020]",
1143
+ description: "Sticky headers and navigation"
1144
+ },
1145
+ fixed: {
1146
+ value: 1030,
1147
+ tailwind: "z-[1030]",
1148
+ description: "Fixed position elements"
1149
+ },
1150
+ "modal-backdrop": {
1151
+ value: 1040,
1152
+ tailwind: "z-[1040]",
1153
+ description: "Modal backdrop/overlay"
1154
+ },
1155
+ modal: {
1156
+ value: 1050,
1157
+ tailwind: "z-[1050]",
1158
+ description: "Modal dialogs and drawers"
1159
+ },
1160
+ popover: {
1161
+ value: 1060,
1162
+ tailwind: "z-[1060]",
1163
+ description: "Popovers and tooltips"
1164
+ },
1165
+ tooltip: {
1166
+ value: 1070,
1167
+ tailwind: "z-[1070]",
1168
+ description: "Tooltips (highest priority)"
1169
+ },
1170
+ toast: {
1171
+ value: 1080,
1172
+ tailwind: "z-[1080]",
1173
+ description: "Toast notifications (highest priority)"
1174
+ }
1175
+ }[a];
1176
+ }
1177
+ }
1178
+ const K0 = {
1179
+ base: p.create("base"),
1180
+ dropdown: p.create("dropdown"),
1181
+ sticky: p.create("sticky"),
1182
+ fixed: p.create("fixed"),
1183
+ "modal-backdrop": p.create("modal-backdrop"),
1184
+ modal: p.create("modal"),
1185
+ popover: p.create("popover"),
1186
+ tooltip: p.create("tooltip"),
1187
+ toast: p.create("toast")
1188
+ };
1189
+ function P0(t) {
1190
+ return p.create(t);
1191
+ }
1192
+ function G0(t) {
1193
+ return p.create(t).tailwind;
1194
+ }
1195
+ class d {
1196
+ /**
1197
+ * Create an opacity token
1198
+ */
1199
+ static create(a) {
1200
+ const n = a / 100, i = {
1201
+ 0: "Fully transparent",
1202
+ 5: "Very light overlay",
1203
+ 10: "Light overlay",
1204
+ 20: "Subtle overlay",
1205
+ 25: "Quarter opacity",
1206
+ 30: "Light background",
1207
+ 40: "Semi-transparent",
1208
+ 50: "Half opacity",
1209
+ 60: "Semi-opaque",
1210
+ 70: "Mostly opaque",
1211
+ 75: "Three-quarter opacity",
1212
+ 80: "High opacity",
1213
+ 90: "Very high opacity",
1214
+ 95: "Nearly opaque",
1215
+ 100: "Fully opaque"
1216
+ };
1217
+ return {
1218
+ value: a,
1219
+ decimal: n,
1220
+ tailwind: {
1221
+ 0: "opacity-0",
1222
+ 5: "opacity-5",
1223
+ 10: "opacity-10",
1224
+ 20: "opacity-20",
1225
+ 25: "opacity-25",
1226
+ 30: "opacity-30",
1227
+ 40: "opacity-40",
1228
+ 50: "opacity-50",
1229
+ 60: "opacity-60",
1230
+ 70: "opacity-70",
1231
+ 75: "opacity-75",
1232
+ 80: "opacity-80",
1233
+ 90: "opacity-90",
1234
+ 95: "opacity-95",
1235
+ 100: "opacity-100"
1236
+ }[a],
1237
+ description: i[a]
1238
+ };
1239
+ }
1240
+ }
1241
+ const Y0 = {
1242
+ transparent: d.create(0),
1243
+ 5: d.create(5),
1244
+ 10: d.create(10),
1245
+ 20: d.create(20),
1246
+ 25: d.create(25),
1247
+ 30: d.create(30),
1248
+ 40: d.create(40),
1249
+ 50: d.create(50),
1250
+ 60: d.create(60),
1251
+ 70: d.create(70),
1252
+ 75: d.create(75),
1253
+ 80: d.create(80),
1254
+ 90: d.create(90),
1255
+ 95: d.create(95),
1256
+ opaque: d.create(100)
1257
+ };
1258
+ function q0(t) {
1259
+ return d.create(t);
1260
+ }
1261
+ function X0(t) {
1262
+ return d.create(t).tailwind;
1263
+ }
1264
+ class m {
1265
+ /**
1266
+ * Create a radius token
1267
+ */
1268
+ static create(a) {
1269
+ const i = {
1270
+ none: {
1271
+ px: 0,
1272
+ tailwind: "rounded-none",
1273
+ description: "No border radius"
1274
+ },
1275
+ sm: {
1276
+ px: 2,
1277
+ tailwind: "rounded-sm",
1278
+ description: "Small radius (2px) for subtle rounding"
1279
+ },
1280
+ md: {
1281
+ px: 6,
1282
+ tailwind: "rounded-md",
1283
+ description: "Medium radius (6px) for buttons and inputs"
1284
+ },
1285
+ lg: {
1286
+ px: 8,
1287
+ tailwind: "rounded-lg",
1288
+ description: "Large radius (8px) for cards and containers"
1289
+ },
1290
+ xl: {
1291
+ px: 12,
1292
+ tailwind: "rounded-xl",
1293
+ description: "Extra large radius (12px) for prominent elements"
1294
+ },
1295
+ "2xl": {
1296
+ px: 16,
1297
+ tailwind: "rounded-2xl",
1298
+ description: "2X large radius (16px) for large containers"
1299
+ },
1300
+ "3xl": {
1301
+ px: 24,
1302
+ tailwind: "rounded-3xl",
1303
+ description: "3X large radius (24px) for very large containers"
1304
+ },
1305
+ full: {
1306
+ px: 9999,
1307
+ tailwind: "rounded-full",
1308
+ description: "Full radius for circular elements"
1309
+ }
1310
+ }[a];
1311
+ return {
1312
+ value: i.px,
1313
+ rem: `${i.px / 16}rem`,
1314
+ px: `${i.px}px`,
1315
+ tailwind: i.tailwind,
1316
+ description: i.description
1317
+ };
1318
+ }
1319
+ }
1320
+ const B = {
1321
+ none: m.create("none"),
1322
+ sm: m.create("sm"),
1323
+ md: m.create("md"),
1324
+ lg: m.create("lg"),
1325
+ xl: m.create("xl"),
1326
+ "2xl": m.create("2xl"),
1327
+ "3xl": m.create("3xl"),
1328
+ full: m.create("full")
1329
+ };
1330
+ function j0(t) {
1331
+ return B[t];
1332
+ }
1333
+ function Z0(t) {
1334
+ return B[t].tailwind;
1335
+ }
1336
+ class h {
1337
+ /**
1338
+ * Create a border width token
1339
+ */
1340
+ static createWidth(a) {
1341
+ const i = {
1342
+ none: {
1343
+ px: 0,
1344
+ tailwind: "border-0"
1345
+ },
1346
+ thin: {
1347
+ px: 1,
1348
+ tailwind: "border"
1349
+ },
1350
+ base: {
1351
+ px: 1,
1352
+ tailwind: "border"
1353
+ },
1354
+ medium: {
1355
+ px: 2,
1356
+ tailwind: "border-2"
1357
+ },
1358
+ thick: {
1359
+ px: 4,
1360
+ tailwind: "border-4"
1361
+ }
1362
+ }[a];
1363
+ return {
1364
+ value: i.px,
1365
+ px: `${i.px}px`,
1366
+ tailwind: i.tailwind
1367
+ };
1368
+ }
1369
+ /**
1370
+ * Create a complete border token
1371
+ */
1372
+ static create(a, n = "solid") {
1373
+ return {
1374
+ width: this.createWidth(a),
1375
+ style: n,
1376
+ description: `${a} ${n} border`
1377
+ };
1378
+ }
1379
+ }
1380
+ const o0 = {
1381
+ none: h.create("none"),
1382
+ thin: h.create("thin"),
1383
+ base: h.create("base"),
1384
+ medium: h.create("medium"),
1385
+ thick: h.create("thick"),
1386
+ // Dashed variants
1387
+ thinDashed: h.create("thin", "dashed"),
1388
+ baseDashed: h.create("base", "dashed"),
1389
+ // Dotted variants
1390
+ thinDotted: h.create("thin", "dotted"),
1391
+ baseDotted: h.create("base", "dotted")
1392
+ };
1393
+ function Q0(t) {
1394
+ return o0[t];
1395
+ }
1396
+ function s0(t) {
1397
+ return h.createWidth(t).tailwind;
1398
+ }
1399
+ function l0(t) {
1400
+ return {
1401
+ solid: "border-solid",
1402
+ dashed: "border-dashed",
1403
+ dotted: "border-dotted"
1404
+ }[t];
1405
+ }
1406
+ function J0(t, a = "solid") {
1407
+ return `${s0(t)} ${l0(a)}`;
1408
+ }
1409
+ class w {
1410
+ /**
1411
+ * Create a shadow token
1412
+ */
1413
+ static create(a) {
1414
+ return {
1415
+ none: {
1416
+ value: "none",
1417
+ tailwind: "shadow-none",
1418
+ description: "No shadow"
1419
+ },
1420
+ sm: {
1421
+ value: "0 1px 2px 0 rgb(0 0 0 / 0.05)",
1422
+ tailwind: "shadow-sm",
1423
+ description: "Small shadow for subtle elevation"
1424
+ },
1425
+ md: {
1426
+ value: "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",
1427
+ tailwind: "shadow-md",
1428
+ description: "Medium shadow for cards and elevated elements"
1429
+ },
1430
+ lg: {
1431
+ value: "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",
1432
+ tailwind: "shadow-lg",
1433
+ description: "Large shadow for modals and dropdowns"
1434
+ },
1435
+ xl: {
1436
+ value: "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",
1437
+ tailwind: "shadow-xl",
1438
+ description: "Extra large shadow for prominent modals"
1439
+ },
1440
+ "2xl": {
1441
+ value: "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)",
1442
+ tailwind: "shadow-2xl",
1443
+ description: "2X large shadow for maximum elevation"
1444
+ },
1445
+ inner: {
1446
+ value: "inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",
1447
+ tailwind: "shadow-inner",
1448
+ description: "Inner shadow for inset elements"
1449
+ }
1450
+ }[a];
1451
+ }
1452
+ }
1453
+ const H = {
1454
+ none: w.create("none"),
1455
+ sm: w.create("sm"),
1456
+ md: w.create("md"),
1457
+ lg: w.create("lg"),
1458
+ xl: w.create("xl"),
1459
+ "2xl": w.create("2xl"),
1460
+ inner: w.create("inner")
1461
+ };
1462
+ function ee(t) {
1463
+ return H[t];
1464
+ }
1465
+ function te(t) {
1466
+ return H[t].tailwind;
1467
+ }
1468
+ const M = {
1469
+ /**
1470
+ * Track (the rounded background bar).
1471
+ * w * h:
1472
+ * sm — 36 × 20 px
1473
+ * md — 44 × 24 px
1474
+ * lg — 56 × 28 px
1475
+ */
1476
+ track: {
1477
+ sm: { w: "w-9", h: "h-5" },
1478
+ md: { w: "w-11", h: "h-6" },
1479
+ lg: { w: "w-14", h: "h-7" }
1480
+ },
1481
+ /**
1482
+ * Thumb (the circular knob).
1483
+ * w * h:
1484
+ * sm — 16 × 16 px
1485
+ * md — 20 × 20 px
1486
+ * lg — 24 × 24 px
1487
+ */
1488
+ thumb: {
1489
+ sm: { w: "w-4", h: "h-4" },
1490
+ md: { w: "w-5", h: "h-5" },
1491
+ lg: { w: "w-6", h: "h-6" }
1492
+ },
1493
+ /**
1494
+ * Translation distance of the thumb when the switch is on. Matches the
1495
+ * track width minus the thumb width and border for visual symmetry.
1496
+ * sm — 16 px
1497
+ * md — 20 px
1498
+ * lg — 28 px
1499
+ */
1500
+ translate: {
1501
+ sm: "translate-x-4",
1502
+ md: "translate-x-5",
1503
+ lg: "translate-x-7"
1504
+ }
1505
+ };
1506
+ function ae(t) {
1507
+ return {
1508
+ track: `${M.track[t].w} ${M.track[t].h}`,
1509
+ thumb: `${M.thumb[t].w} ${M.thumb[t].h}`,
1510
+ translate: M.translate[t]
1511
+ };
1512
+ }
2
1513
  export {
3
- e as AMBER,
4
- t as ANIMATION_TOKENS,
5
- o as AnimationTokenFactory,
6
- g as BLUE,
7
- r as BORDER_TOKENS,
8
- T as BRAND_COLORS,
9
- i as BREAKPOINT_TOKENS,
10
- C as BorderTokenFactory,
11
- S as BreakpointTokenFactory,
12
- n as COLOR_SCALES,
13
- O as CYAN,
14
- E as EMERALD,
15
- l as FONT_FAMILY_TOKENS,
16
- y as FONT_WEIGHT_TOKENS,
17
- N as FUCHSIA,
18
- I as GRADIENT_TOKENS,
19
- A as GRAY,
20
- R as GREEN,
21
- c as GradientTokenFactory,
22
- p as INDIGO,
23
- d as LIME,
24
- _ as OPACITY_TOKENS,
25
- F as ORANGE,
26
- h as OpacityTokenFactory,
27
- L as PINK,
28
- K as PRIMITIVE_COLORS,
29
- k as PURPLE,
1514
+ $ as AMBER,
1515
+ _0 as ANIMATION_TOKENS,
1516
+ g as AnimationTokenFactory,
1517
+ J as BLUE,
1518
+ o0 as BORDER_TOKENS,
1519
+ W0 as BRAND_COLORS,
1520
+ z as BREAKPOINT_TOKENS,
1521
+ h as BorderTokenFactory,
1522
+ F as BreakpointTokenFactory,
1523
+ v0 as COLOR_SCALES,
1524
+ k as CYAN,
1525
+ T as EMERALD,
1526
+ p0 as FONT_FAMILY_TOKENS,
1527
+ g0 as FONT_WEIGHT_TOKENS,
1528
+ e0 as FUCHSIA,
1529
+ q as GRAY,
1530
+ X as GREEN,
1531
+ x as INDIGO,
1532
+ n0 as LIME,
1533
+ Y0 as OPACITY_TOKENS,
1534
+ Z as ORANGE,
1535
+ d as OpacityTokenFactory,
1536
+ t0 as PINK,
1537
+ U as PRIMITIVE_COLORS,
1538
+ a0 as PURPLE,
30
1539
  B as RADIUS_TOKENS,
31
- m as RED,
32
- G as ROSE,
33
- D as RadiusTokenFactory,
34
- P as SEMANTIC_COLORS,
35
- M as SEMANTIC_COLORS_DARK,
36
- u as SEMANTIC_COLORS_LIGHT,
1540
+ Q as RED,
1541
+ S as ROSE,
1542
+ m as RadiusTokenFactory,
1543
+ $0 as SEMANTIC_COLORS,
1544
+ V as SEMANTIC_COLORS_DARK,
1545
+ D as SEMANTIC_COLORS_LIGHT,
37
1546
  H as SHADOW_TOKENS,
38
- W as SIDEBAR_TOKENS,
39
- Y as SKY,
40
- w as SLATE,
41
- x as SPACING_TOKENS,
42
- v as SWITCH_TOKENS,
43
- z as ShadowTokenFactory,
44
- U as SpacingTokenFactory,
45
- Z as TEAL,
46
- f as TYPOGRAPHY_TOKENS,
47
- V as TokensFactory,
48
- b as TypographyTokenFactory,
49
- j as VIOLET,
50
- q as YELLOW,
51
- J as ZIndexTokenFactory,
52
- Q as Z_INDEX_TOKENS,
53
- X as blendColors,
54
- $ as createTokenSet,
55
- aa as darken,
56
- sa as defaultTokensFactory,
57
- ea as getAnimation,
58
- ta as getAnimationClass,
59
- oa as getBorder,
60
- ga as getBorderClasses,
61
- ra as getBorderStyleClass,
62
- Ta as getBorderWidthClass,
63
- ia as getBreakpoint,
64
- Ca as getColor,
65
- Sa as getColorClass,
66
- na as getContrastColor,
67
- Oa as getFocusColorClass,
68
- Ea as getFocusRingClass,
69
- la as getGradient,
70
- ya as getGradientClass,
71
- Na as getHoverColorClass,
72
- Ia as getMediaQuery,
73
- Aa as getNestedIndentClass,
74
- Ra as getOpacity,
75
- ca as getOpacityClass,
76
- pa as getPrimitiveColor,
77
- da as getPrimitiveColorPalette,
78
- _a as getRadius,
79
- Fa as getRadiusClass,
80
- ha as getSemanticColor,
81
- La as getSemanticColorClass,
82
- Ka as getSemanticColorRole,
83
- ka as getSemanticColorValue,
84
- Ba as getShadow,
85
- ma as getShadowClass,
86
- Ga as getSpacing,
87
- Da as getSpacingClass,
88
- Pa as getSwitchClasses,
89
- Ma as getTransitionClass,
90
- ua as getTypography,
91
- Ha as getTypographyClasses,
92
- Wa as getTypographyLineHeight,
93
- Ya as getTypographySize,
94
- wa as getTypographySizeFromFontSize,
95
- xa as getTypographyWeight,
96
- va as getTypographyWeightFromFontWeight,
97
- za as getZIndex,
98
- Ua as getZIndexClass,
99
- Za as isLightColor,
100
- fa as lighten,
101
- Va as withOpacity
1547
+ I as SIDEBAR_TOKENS,
1548
+ E as SKY,
1549
+ v as SLATE,
1550
+ W as SPACING_TOKENS,
1551
+ M as SWITCH_TOKENS,
1552
+ w as ShadowTokenFactory,
1553
+ c as SpacingTokenFactory,
1554
+ i0 as TEAL,
1555
+ A as TYPOGRAPHY_TOKENS,
1556
+ l as TypographyTokenFactory,
1557
+ y as VIOLET,
1558
+ j as YELLOW,
1559
+ p as ZIndexTokenFactory,
1560
+ K0 as Z_INDEX_TOKENS,
1561
+ _ as blendColors,
1562
+ R0 as darken,
1563
+ z0 as getAnimation,
1564
+ B0 as getAnimationClass,
1565
+ Q0 as getBorder,
1566
+ J0 as getBorderClasses,
1567
+ l0 as getBorderStyleClass,
1568
+ s0 as getBorderWidthClass,
1569
+ U0 as getBreakpoint,
1570
+ E0 as getColor,
1571
+ M0 as getColorClass,
1572
+ N0 as getContrastColor,
1573
+ L0 as getFocusColorClass,
1574
+ I0 as getFocusRingClass,
1575
+ C0 as getHoverColorClass,
1576
+ V0 as getMediaQuery,
1577
+ d0 as getNestedIndentClass,
1578
+ q0 as getOpacity,
1579
+ X0 as getOpacityClass,
1580
+ C as getPrimitiveColor,
1581
+ T0 as getPrimitiveColorPalette,
1582
+ j0 as getRadius,
1583
+ Z0 as getRadiusClass,
1584
+ O as getSemanticColor,
1585
+ A0 as getSemanticColorClass,
1586
+ S0 as getSemanticColorRole,
1587
+ F0 as getSemanticColorValue,
1588
+ ee as getShadow,
1589
+ te as getShadowClass,
1590
+ f0 as getSpacing,
1591
+ u0 as getSpacingClass,
1592
+ ae as getSwitchClasses,
1593
+ H0 as getTransitionClass,
1594
+ h0 as getTypography,
1595
+ b0 as getTypographyClasses,
1596
+ k0 as getTypographyLineHeight,
1597
+ m0 as getTypographySize,
1598
+ w0 as getTypographySizeFromFontSize,
1599
+ x0 as getTypographyWeight,
1600
+ y0 as getTypographyWeightFromFontWeight,
1601
+ P0 as getZIndex,
1602
+ G0 as getZIndexClass,
1603
+ r0 as isLightColor,
1604
+ D0 as lighten,
1605
+ O0 as withOpacity
102
1606
  };
103
1607
  //# sourceMappingURL=index.js.map