@plyaz/ui 0.4.11 → 0.4.12

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.
package/dist/ui.es.js CHANGED
@@ -1,370 +1,44 @@
1
- import { jsx as g, jsxs as re } from "react/jsx-runtime";
2
- import V, { clsx as Ae } from "clsx";
3
- import { Slot as $e } from "@radix-ui/react-slot";
1
+ import { jsx as g, jsxs as te } from "react/jsx-runtime";
2
+ import { clsx as Ce } from "clsx";
3
+ import { Slot as Fe } from "@radix-ui/react-slot";
4
4
  import { memo as Ue } from "react";
5
- import * as w from "@radix-ui/react-select";
6
- import { CheckIcon as We, ChevronDownIcon as Me, ChevronUpIcon as De } from "lucide-react";
7
- const Z = ({ children: e, element: r = "div", className: t = "", ...o }) => /* @__PURE__ */ g(r, { className: t, ...o, "data-testid": "box", children: e }), Dt = ({ className: e = "", children: r, element: t, ...o }) => /* @__PURE__ */ g(
8
- Z,
9
- {
10
- element: t,
11
- className: V(
12
- `
13
- mx-auto max-w-7xl px-4
14
- sm:px-6
15
- lg:px-8
16
- `,
17
- e
18
- ),
19
- ...o,
20
- children: r
21
- }
22
- ), we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Ae, He = (e, r) => (t) => {
23
- var o;
24
- if ((r == null ? void 0 : r.variants) == null) return ye(e, t == null ? void 0 : t.class, t == null ? void 0 : t.className);
25
- const { variants: a, defaultVariants: i } = r, l = Object.keys(a).map((f) => {
26
- const b = t == null ? void 0 : t[f], y = i == null ? void 0 : i[f];
27
- if (b === null) return null;
28
- const C = we(b) || we(y);
29
- return a[f][C];
30
- }), p = t && Object.entries(t).reduce((f, b) => {
31
- let [y, C] = b;
32
- return C === void 0 || (f[y] = C), f;
33
- }, {}), m = r == null || (o = r.compoundVariants) === null || o === void 0 ? void 0 : o.reduce((f, b) => {
34
- let { class: y, className: C, ...R } = b;
35
- return Object.entries(R).every((k) => {
36
- let [z, A] = k;
37
- return Array.isArray(A) ? A.includes({
38
- ...i,
39
- ...p
40
- }[z]) : {
41
- ...i,
42
- ...p
43
- }[z] === A;
44
- }) ? [
45
- ...f,
46
- y,
47
- C
48
- ] : f;
49
- }, []);
50
- return ye(e, l, m, t == null ? void 0 : t.class, t == null ? void 0 : t.className);
51
- }, Ne = {
52
- start: "justify-start",
53
- end: "justify-end",
54
- center: "justify-center",
55
- between: "justify-between",
56
- around: "justify-around",
57
- evenly: "justify-evenly",
58
- stretch: "justify-stretch"
59
- }, Pe = {
60
- start: "items-start",
61
- end: "items-end",
62
- center: "items-center",
63
- baseline: "items-baseline",
64
- stretch: "items-stretch"
65
- }, Ze = {
66
- body: "font-sans",
67
- heading: "font-sans",
68
- caption: "font-sans"
69
- }, qe = {
70
- xs: "text-xs",
71
- sm: "text-sm",
72
- base: "text-base",
73
- lg: "text-lg",
74
- xl: "text-xl",
75
- "2xl": "text-2xl",
76
- "3xl": "text-3xl",
77
- "4xl": "text-4xl",
78
- "5xl": "text-5xl",
79
- "6xl": "text-6xl",
80
- "7xl": "text-7xl",
81
- "8xl": "text-8xl",
82
- "9xl": "text-9xl"
83
- }, Je = {
84
- normal: "font-normal",
85
- medium: "font-medium",
86
- semibold: "font-semibold",
87
- bold: "font-bold",
88
- light: "font-light"
89
- }, Xe = {
90
- 1: "grid-cols-1",
91
- 2: "grid-cols-2",
92
- 3: "grid-cols-3",
93
- 4: "grid-cols-4",
94
- 5: "grid-cols-5",
95
- 6: "grid-cols-6",
96
- 7: "grid-cols-7",
97
- 8: "grid-cols-8",
98
- 9: "grid-cols-9"
99
- }, Ke = {
100
- 1: "grid-rows-1",
101
- 2: "grid-rows-2",
102
- 3: "grid-rows-3",
103
- 4: "grid-rows-4",
104
- 5: "grid-rows-5",
105
- 6: "grid-rows-6",
106
- 7: "grid-rows-7",
107
- 8: "grid-rows-8",
108
- 9: "grid-rows-9"
109
- }, Ie = {
110
- 1: "gap-1",
111
- 2: "gap-2",
112
- 3: "gap-3",
113
- 4: "gap-4",
114
- 5: "gap-5",
115
- 6: "gap-6",
116
- 7: "gap-7",
117
- 8: "gap-8",
118
- 9: "gap-9"
119
- }, Ye = He(
120
- "inline-flex justify-center items-center gap-2 disabled:opacity-50 aria-invalid:border-destructive focus-visible:border-ring rounded-md outline-none aria-invalid:ring-destructive/20 focus-visible:ring-[3px] focus-visible:ring-ring/50 dark:aria-invalid:ring-destructive/40 [&_svg:not([class*='size-'])]:size-4 font-medium text-sm whitespace-nowrap transition-all [&_svg]:pointer-events-none disabled:pointer-events-none shrink-0 [&_svg]:shrink-0",
121
- {
122
- variants: {
123
- variant: {
124
- default: `
125
- bg-primary text-primary-foreground shadow-xs
126
- hover:bg-primary/90
127
- `,
128
- destructive: `
129
- bg-destructive text-white shadow-xs
130
- hover:bg-destructive/90
131
- focus-visible:ring-destructive/20
132
- dark:bg-destructive/60 dark:focus-visible:ring-destructive/40
133
- `,
134
- outline: `
135
- border bg-background shadow-xs
136
- hover:bg-accent hover:text-accent-foreground
137
- dark:border-input dark:bg-input/30 dark:hover:bg-input/50
138
- `,
139
- secondary: `
140
- bg-secondary text-secondary-foreground shadow-xs
141
- hover:bg-secondary/80
142
- `,
143
- ghost: `
144
- hover:bg-accent hover:text-accent-foreground
145
- dark:hover:bg-accent/50
146
- `,
147
- link: `
148
- text-primary underline-offset-4
149
- hover:underline
150
- `
151
- },
152
- size: {
153
- default: `
154
- h-9 px-4 py-2
155
- has-[>svg]:px-3
156
- `,
157
- sm: `
158
- h-8 gap-1.5 rounded-md px-3
159
- has-[>svg]:px-2.5
160
- `,
161
- lg: `
162
- h-10 rounded-md px-6
163
- has-[>svg]:px-4
164
- `,
165
- icon: "size-9"
166
- }
167
- },
168
- defaultVariants: {
169
- variant: "default",
170
- size: "default"
171
- }
172
- }
173
- ), Qe = {
174
- row: "flex-row",
175
- col: "flex-col",
176
- row_reverse: "flex-row-reverse",
177
- col_reverse: "flex-col-reverse"
178
- }, et = {
179
- wrap: "flex-wrap",
180
- nowrap: "flex-nowrap",
181
- wrap_reverse: "flex-wrap-reverse"
182
- }, Ht = ({
183
- children: e,
184
- gap: r,
185
- direction: t,
186
- justify: o,
187
- align: a,
188
- wrap: i,
189
- className: l = "",
190
- element: p,
191
- ...m
192
- }) => /* @__PURE__ */ g(
193
- Z,
194
- {
195
- element: p,
196
- className: V(
197
- "flex",
198
- t && Qe[t],
199
- o && Ne[o],
200
- a && Pe[a],
201
- i && et[i],
202
- r && Ie[r],
203
- l
204
- ),
205
- ...m,
206
- children: e
207
- }
208
- ), Zt = ({
209
- children: e,
210
- className: r,
211
- cols: t,
212
- rows: o,
213
- gap: a,
214
- justify: i,
215
- align: l,
216
- element: p,
217
- ...m
218
- }) => /* @__PURE__ */ g(
219
- Z,
220
- {
221
- element: p,
222
- className: V(
223
- "grid",
224
- t && Xe[t],
225
- o && Ke[o],
226
- a && Ie[a],
227
- i && Ne[i],
228
- l && Pe[l],
229
- r
230
- ),
231
- ...m,
232
- children: e
233
- }
234
- ), tt = {
235
- xs: "xs",
236
- sm: "sm",
237
- base: "base",
238
- lg: "lg",
239
- xl: "xl",
240
- "2xl": "2xl",
241
- "3xl": "3xl",
242
- "4xl": "4xl"
243
- }, qt = ({ children: e, element: r, className: t, size: o, ...a }) => /* @__PURE__ */ g(
244
- Ee,
245
- {
246
- className: t,
247
- element: r,
248
- size: tt[o],
249
- variant: "heading",
250
- weight: "medium",
251
- ...a,
252
- children: e
253
- }
254
- ), Jt = ({ children: e, className: r, href: t, ...o }) => /* @__PURE__ */ g(
255
- "a",
256
- {
257
- "data-testid": "link",
258
- href: t,
259
- rel: "noopener noreferrer",
260
- target: "_blank",
261
- className: V(
262
- `
263
- text-blue-600
264
- visited:text-purple-600
265
- hover:underline
266
- focus:outline-none
267
- active:text-blue-900
268
- `,
269
- r
270
- ),
271
- ...o,
272
- children: e
273
- }
274
- ), rt = {
275
- xs: "xs",
276
- sm: "sm",
277
- base: "base",
278
- lg: "lg"
279
- }, Xt = ({ children: e, className: r, size: t, ...o }) => /* @__PURE__ */ g(
280
- Ee,
281
- {
282
- className: r,
283
- element: "p",
284
- size: rt[t],
285
- variant: "body",
286
- weight: "normal",
287
- ...o,
288
- children: e
289
- }
290
- ), Kt = ({ className: e = "", children: r, ...t }) => /* @__PURE__ */ g(
291
- Z,
292
- {
293
- element: "section",
294
- className: V(
295
- `
296
- mx-2 my-4 p-4
297
- sm:p-6
298
- `,
299
- e
300
- ),
301
- ...t,
302
- children: r
303
- }
304
- ), Yt = ({
305
- children: e,
306
- direction: r = "horizontal",
307
- spacing: t = "space-x-2",
308
- element: o,
309
- className: a,
310
- ...i
311
- }) => /* @__PURE__ */ g(Z, { className: V("flex", r === "vertical" ? "flex-col" : "flex-row", t, a), element: o, ...i, children: e }), Ee = ({
312
- className: e,
313
- children: r,
314
- element: t,
315
- weight: o,
316
- variant: a,
317
- size: i,
318
- ...l
319
- }) => /* @__PURE__ */ g(
320
- t,
321
- {
322
- "data-testid": "text",
323
- className: V(
324
- "font-sans text-base font-normal",
325
- i && qe[i],
326
- o && Je[o],
327
- a && Ze[a],
328
- e
329
- ),
330
- ...l,
331
- children: r
332
- }
333
- ), me = "-", ot = (e) => {
334
- const r = nt(e), {
5
+ import * as y from "@radix-ui/react-select";
6
+ import { CheckIcon as We, ChevronDownIcon as Ae, ChevronUpIcon as $e } from "lucide-react";
7
+ const H = ({ children: e, element: r = "div", className: t = "", ...o }) => /* @__PURE__ */ g(r, { className: t, ...o, "data-testid": "box", children: e }), de = "-", De = (e) => {
8
+ const r = Ze(e), {
335
9
  conflictingClassGroups: t,
336
10
  conflictingClassGroupModifiers: o
337
11
  } = e;
338
12
  return {
339
13
  getClassGroupId: (l) => {
340
- const p = l.split(me);
341
- return p[0] === "" && p.length !== 1 && p.shift(), Re(p, r) || st(l);
14
+ const p = l.split(de);
15
+ return p[0] === "" && p.length !== 1 && p.shift(), Me(p, r) || He(l);
342
16
  },
343
17
  getConflictingClassGroupIds: (l, p) => {
344
18
  const m = t[l] || [];
345
19
  return p && o[l] ? [...m, ...o[l]] : m;
346
20
  }
347
21
  };
348
- }, Re = (e, r) => {
22
+ }, Me = (e, r) => {
349
23
  var l;
350
24
  if (e.length === 0)
351
25
  return r.classGroupId;
352
- const t = e[0], o = r.nextPart.get(t), a = o ? Re(e.slice(1), o) : void 0;
26
+ const t = e[0], o = r.nextPart.get(t), a = o ? Me(e.slice(1), o) : void 0;
353
27
  if (a)
354
28
  return a;
355
29
  if (r.validators.length === 0)
356
30
  return;
357
- const i = e.join(me);
31
+ const i = e.join(de);
358
32
  return (l = r.validators.find(({
359
33
  validator: p
360
34
  }) => p(i))) == null ? void 0 : l.classGroupId;
361
- }, ke = /^\[(.+)\]$/, st = (e) => {
362
- if (ke.test(e)) {
363
- const r = ke.exec(e)[1], t = r == null ? void 0 : r.substring(0, r.indexOf(":"));
35
+ }, ve = /^\[(.+)\]$/, He = (e) => {
36
+ if (ve.test(e)) {
37
+ const r = ve.exec(e)[1], t = r == null ? void 0 : r.substring(0, r.indexOf(":"));
364
38
  if (t)
365
39
  return "arbitrary.." + t;
366
40
  }
367
- }, nt = (e) => {
41
+ }, Ze = (e) => {
368
42
  const {
369
43
  theme: r,
370
44
  classGroups: t
@@ -373,18 +47,18 @@ const Z = ({ children: e, element: r = "div", className: t = "", ...o }) => /* @
373
47
  validators: []
374
48
  };
375
49
  for (const a in t)
376
- le(t[a], o, a, r);
50
+ ie(t[a], o, a, r);
377
51
  return o;
378
- }, le = (e, r, t, o) => {
52
+ }, ie = (e, r, t, o) => {
379
53
  e.forEach((a) => {
380
54
  if (typeof a == "string") {
381
- const i = a === "" ? r : ze(r, a);
55
+ const i = a === "" ? r : we(r, a);
382
56
  i.classGroupId = t;
383
57
  return;
384
58
  }
385
59
  if (typeof a == "function") {
386
- if (at(a)) {
387
- le(a(o), r, t, o);
60
+ if (qe(a)) {
61
+ ie(a(o), r, t, o);
388
62
  return;
389
63
  }
390
64
  r.validators.push({
@@ -394,18 +68,18 @@ const Z = ({ children: e, element: r = "div", className: t = "", ...o }) => /* @
394
68
  return;
395
69
  }
396
70
  Object.entries(a).forEach(([i, l]) => {
397
- le(l, ze(r, i), t, o);
71
+ ie(l, we(r, i), t, o);
398
72
  });
399
73
  });
400
- }, ze = (e, r) => {
74
+ }, we = (e, r) => {
401
75
  let t = e;
402
- return r.split(me).forEach((o) => {
76
+ return r.split(de).forEach((o) => {
403
77
  t.nextPart.has(o) || t.nextPart.set(o, {
404
78
  nextPart: /* @__PURE__ */ new Map(),
405
79
  validators: []
406
80
  }), t = t.nextPart.get(o);
407
81
  }), t;
408
- }, at = (e) => e.isThemeGetter, it = (e) => {
82
+ }, qe = (e) => e.isThemeGetter, Je = (e) => {
409
83
  if (e < 1)
410
84
  return {
411
85
  get: () => {
@@ -429,7 +103,7 @@ const Z = ({ children: e, element: r = "div", className: t = "", ...o }) => /* @
429
103
  t.has(i) ? t.set(i, l) : a(i, l);
430
104
  }
431
105
  };
432
- }, ce = "!", de = ":", lt = de.length, ct = (e) => {
106
+ }, le = "!", ce = ":", Xe = ce.length, Ke = (e) => {
433
107
  const {
434
108
  prefix: r,
435
109
  experimentalParseClassName: t
@@ -437,30 +111,30 @@ const Z = ({ children: e, element: r = "div", className: t = "", ...o }) => /* @
437
111
  let o = (a) => {
438
112
  const i = [];
439
113
  let l = 0, p = 0, m = 0, f;
440
- for (let k = 0; k < a.length; k++) {
441
- let z = a[k];
114
+ for (let z = 0; z < a.length; z++) {
115
+ let S = a[z];
442
116
  if (l === 0 && p === 0) {
443
- if (z === de) {
444
- i.push(a.slice(m, k)), m = k + lt;
117
+ if (S === ce) {
118
+ i.push(a.slice(m, z)), m = z + Xe;
445
119
  continue;
446
120
  }
447
- if (z === "/") {
448
- f = k;
121
+ if (S === "/") {
122
+ f = z;
449
123
  continue;
450
124
  }
451
125
  }
452
- z === "[" ? l++ : z === "]" ? l-- : z === "(" ? p++ : z === ")" && p--;
126
+ S === "[" ? l++ : S === "]" ? l-- : S === "(" ? p++ : S === ")" && p--;
453
127
  }
454
- const b = i.length === 0 ? a : a.substring(m), y = dt(b), C = y !== b, R = f && f > m ? f - m : void 0;
128
+ const b = i.length === 0 ? a : a.substring(m), k = Ye(b), A = k !== b, R = f && f > m ? f - m : void 0;
455
129
  return {
456
130
  modifiers: i,
457
- hasImportantModifier: C,
458
- baseClassName: y,
131
+ hasImportantModifier: A,
132
+ baseClassName: k,
459
133
  maybePostfixModifierPosition: R
460
134
  };
461
135
  };
462
136
  if (r) {
463
- const a = r + de, i = o;
137
+ const a = r + ce, i = o;
464
138
  o = (l) => l.startsWith(a) ? i(l.substring(a.length)) : {
465
139
  isExternal: !0,
466
140
  modifiers: [],
@@ -477,7 +151,7 @@ const Z = ({ children: e, element: r = "div", className: t = "", ...o }) => /* @
477
151
  });
478
152
  }
479
153
  return o;
480
- }, dt = (e) => e.endsWith(ce) ? e.substring(0, e.length - 1) : e.startsWith(ce) ? e.substring(1) : e, mt = (e) => {
154
+ }, Ye = (e) => e.endsWith(le) ? e.substring(0, e.length - 1) : e.startsWith(le) ? e.substring(1) : e, Qe = (e) => {
481
155
  const r = Object.fromEntries(e.orderSensitiveModifiers.map((o) => [o, !0]));
482
156
  return (o) => {
483
157
  if (o.length <= 1)
@@ -488,103 +162,103 @@ const Z = ({ children: e, element: r = "div", className: t = "", ...o }) => /* @
488
162
  l[0] === "[" || r[l] ? (a.push(...i.sort(), l), i = []) : i.push(l);
489
163
  }), a.push(...i.sort()), a;
490
164
  };
491
- }, ut = (e) => ({
492
- cache: it(e.cacheSize),
493
- parseClassName: ct(e),
494
- sortModifiers: mt(e),
495
- ...ot(e)
496
- }), pt = /\s+/, gt = (e, r) => {
165
+ }, et = (e) => ({
166
+ cache: Je(e.cacheSize),
167
+ parseClassName: Ke(e),
168
+ sortModifiers: Qe(e),
169
+ ...De(e)
170
+ }), tt = /\s+/, rt = (e, r) => {
497
171
  const {
498
172
  parseClassName: t,
499
173
  getClassGroupId: o,
500
174
  getConflictingClassGroupIds: a,
501
175
  sortModifiers: i
502
- } = r, l = [], p = e.trim().split(pt);
176
+ } = r, l = [], p = e.trim().split(tt);
503
177
  let m = "";
504
178
  for (let f = p.length - 1; f >= 0; f -= 1) {
505
179
  const b = p[f], {
506
- isExternal: y,
507
- modifiers: C,
180
+ isExternal: k,
181
+ modifiers: A,
508
182
  hasImportantModifier: R,
509
- baseClassName: k,
510
- maybePostfixModifierPosition: z
183
+ baseClassName: z,
184
+ maybePostfixModifierPosition: S
511
185
  } = t(b);
512
- if (y) {
186
+ if (k) {
513
187
  m = b + (m.length > 0 ? " " + m : m);
514
188
  continue;
515
189
  }
516
- let A = !!z, T = o(A ? k.substring(0, z) : k);
190
+ let M = !!S, T = o(M ? z.substring(0, S) : z);
517
191
  if (!T) {
518
- if (!A) {
192
+ if (!M) {
519
193
  m = b + (m.length > 0 ? " " + m : m);
520
194
  continue;
521
195
  }
522
- if (T = o(k), !T) {
196
+ if (T = o(z), !T) {
523
197
  m = b + (m.length > 0 ? " " + m : m);
524
198
  continue;
525
199
  }
526
- A = !1;
200
+ M = !1;
527
201
  }
528
- const q = i(C).join(":"), W = R ? q + ce : q, L = W + T;
529
- if (l.includes(L))
202
+ const Z = i(A).join(":"), W = R ? Z + le : Z, V = W + T;
203
+ if (l.includes(V))
530
204
  continue;
531
- l.push(L);
532
- const O = a(T, A);
533
- for (let _ = 0; _ < O.length; ++_) {
534
- const D = O[_];
535
- l.push(W + D);
205
+ l.push(V);
206
+ const L = a(T, M);
207
+ for (let _ = 0; _ < L.length; ++_) {
208
+ const $ = L[_];
209
+ l.push(W + $);
536
210
  }
537
211
  m = b + (m.length > 0 ? " " + m : m);
538
212
  }
539
213
  return m;
540
214
  };
541
- function ft() {
215
+ function ot() {
542
216
  let e = 0, r, t, o = "";
543
217
  for (; e < arguments.length; )
544
- (r = arguments[e++]) && (t = Te(r)) && (o && (o += " "), o += t);
218
+ (r = arguments[e++]) && (t = Ne(r)) && (o && (o += " "), o += t);
545
219
  return o;
546
220
  }
547
- const Te = (e) => {
221
+ const Ne = (e) => {
548
222
  if (typeof e == "string")
549
223
  return e;
550
224
  let r, t = "";
551
225
  for (let o = 0; o < e.length; o++)
552
- e[o] && (r = Te(e[o])) && (t && (t += " "), t += r);
226
+ e[o] && (r = Ne(e[o])) && (t && (t += " "), t += r);
553
227
  return t;
554
228
  };
555
- function bt(e, ...r) {
229
+ function st(e, ...r) {
556
230
  let t, o, a, i = l;
557
231
  function l(m) {
558
- const f = r.reduce((b, y) => y(b), e());
559
- return t = ut(f), o = t.cache.get, a = t.cache.set, i = p, p(m);
232
+ const f = r.reduce((b, k) => k(b), e());
233
+ return t = et(f), o = t.cache.get, a = t.cache.set, i = p, p(m);
560
234
  }
561
235
  function p(m) {
562
236
  const f = o(m);
563
237
  if (f)
564
238
  return f;
565
- const b = gt(m, t);
239
+ const b = rt(m, t);
566
240
  return a(m, b), b;
567
241
  }
568
242
  return function() {
569
- return i(ft.apply(null, arguments));
243
+ return i(ot.apply(null, arguments));
570
244
  };
571
245
  }
572
246
  const x = (e) => {
573
247
  const r = (t) => t[e] || [];
574
248
  return r.isThemeGetter = !0, r;
575
- }, _e = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ge = /^\((?:(\w[\w-]*):)?(.+)\)$/i, xt = /^\d+\/\d+$/, ht = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, vt = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, wt = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, yt = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, kt = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, F = (e) => xt.test(e), u = (e) => !!e && !Number.isNaN(Number(e)), E = (e) => !!e && Number.isInteger(Number(e)), ae = (e) => e.endsWith("%") && u(e.slice(0, -1)), I = (e) => ht.test(e), zt = () => !0, St = (e) => (
249
+ }, Pe = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ie = /^\((?:(\w[\w-]*):)?(.+)\)$/i, nt = /^\d+\/\d+$/, at = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, it = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, lt = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, ct = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, dt = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, B = (e) => nt.test(e), u = (e) => !!e && !Number.isNaN(Number(e)), E = (e) => !!e && Number.isInteger(Number(e)), ne = (e) => e.endsWith("%") && u(e.slice(0, -1)), I = (e) => at.test(e), mt = () => !0, ut = (e) => (
576
250
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
577
251
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
578
252
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
579
- vt.test(e) && !wt.test(e)
580
- ), je = () => !1, Ct = (e) => yt.test(e), At = (e) => kt.test(e), Mt = (e) => !s(e) && !n(e), Nt = (e) => $(e, Oe, je), s = (e) => _e.test(e), j = (e) => $(e, Be, St), ie = (e) => $(e, Tt, u), Se = (e) => $(e, Ve, je), Pt = (e) => $(e, Le, At), ee = (e) => $(e, Fe, Ct), n = (e) => Ge.test(e), H = (e) => U(e, Be), It = (e) => U(e, _t), Ce = (e) => U(e, Ve), Et = (e) => U(e, Oe), Rt = (e) => U(e, Le), te = (e) => U(e, Fe, !0), $ = (e, r, t) => {
581
- const o = _e.exec(e);
253
+ it.test(e) && !lt.test(e)
254
+ ), Ee = () => !1, pt = (e) => ct.test(e), gt = (e) => dt.test(e), ft = (e) => !s(e) && !n(e), bt = (e) => F(e, _e, Ee), s = (e) => Pe.test(e), j = (e) => F(e, Ge, ut), ae = (e) => F(e, yt, u), ye = (e) => F(e, Re, Ee), xt = (e) => F(e, Te, gt), Q = (e) => F(e, je, pt), n = (e) => Ie.test(e), D = (e) => U(e, Ge), ht = (e) => U(e, kt), ke = (e) => U(e, Re), vt = (e) => U(e, _e), wt = (e) => U(e, Te), ee = (e) => U(e, je, !0), F = (e, r, t) => {
255
+ const o = Pe.exec(e);
582
256
  return o ? o[1] ? r(o[1]) : t(o[2]) : !1;
583
257
  }, U = (e, r, t = !1) => {
584
- const o = Ge.exec(e);
258
+ const o = Ie.exec(e);
585
259
  return o ? o[1] ? r(o[1]) : t : !1;
586
- }, Ve = (e) => e === "position" || e === "percentage", Le = (e) => e === "image" || e === "url", Oe = (e) => e === "length" || e === "size" || e === "bg-size", Be = (e) => e === "length", Tt = (e) => e === "number", _t = (e) => e === "family-name", Fe = (e) => e === "shadow", Gt = () => {
587
- const e = x("color"), r = x("font"), t = x("text"), o = x("font-weight"), a = x("tracking"), i = x("leading"), l = x("breakpoint"), p = x("container"), m = x("spacing"), f = x("radius"), b = x("shadow"), y = x("inset-shadow"), C = x("text-shadow"), R = x("drop-shadow"), k = x("blur"), z = x("perspective"), A = x("aspect"), T = x("ease"), q = x("animate"), W = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], L = () => [
260
+ }, Re = (e) => e === "position" || e === "percentage", Te = (e) => e === "image" || e === "url", _e = (e) => e === "length" || e === "size" || e === "bg-size", Ge = (e) => e === "length", yt = (e) => e === "number", kt = (e) => e === "family-name", je = (e) => e === "shadow", zt = () => {
261
+ const e = x("color"), r = x("font"), t = x("text"), o = x("font-weight"), a = x("tracking"), i = x("leading"), l = x("breakpoint"), p = x("container"), m = x("spacing"), f = x("radius"), b = x("shadow"), k = x("inset-shadow"), A = x("text-shadow"), R = x("drop-shadow"), z = x("blur"), S = x("perspective"), M = x("aspect"), T = x("ease"), Z = x("animate"), W = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], V = () => [
588
262
  "center",
589
263
  "top",
590
264
  "bottom",
@@ -602,15 +276,15 @@ const x = (e) => {
602
276
  "bottom-left",
603
277
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
604
278
  "left-bottom"
605
- ], O = () => [...L(), n, s], _ = () => ["auto", "hidden", "clip", "visible", "scroll"], D = () => ["auto", "contain", "none"], d = () => [n, s, m], N = () => [F, "full", "auto", ...d()], ue = () => [E, "none", "subgrid", n, s], pe = () => ["auto", {
279
+ ], L = () => [...V(), n, s], _ = () => ["auto", "hidden", "clip", "visible", "scroll"], $ = () => ["auto", "contain", "none"], d = () => [n, s, m], N = () => [B, "full", "auto", ...d()], me = () => [E, "none", "subgrid", n, s], ue = () => ["auto", {
606
280
  span: ["full", E, n, s]
607
- }, E, n, s], J = () => [E, "auto", n, s], ge = () => ["auto", "min", "max", "fr", n, s], oe = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], B = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], P = () => ["auto", ...d()], G = () => [F, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...d()], c = () => [e, n, s], fe = () => [...L(), Ce, Se, {
281
+ }, E, n, s], q = () => [E, "auto", n, s], pe = () => ["auto", "min", "max", "fr", n, s], re = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], O = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], P = () => ["auto", ...d()], G = () => [B, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...d()], c = () => [e, n, s], ge = () => [...V(), ke, ye, {
608
282
  position: [n, s]
609
- }], be = () => ["no-repeat", {
283
+ }], fe = () => ["no-repeat", {
610
284
  repeat: ["", "x", "y", "space", "round"]
611
- }], xe = () => ["auto", "cover", "contain", Et, Nt, {
285
+ }], be = () => ["auto", "cover", "contain", vt, bt, {
612
286
  size: [n, s]
613
- }], se = () => [ae, H, j], v = () => [
287
+ }], oe = () => [ne, D, j], w = () => [
614
288
  // Deprecated since Tailwind CSS v4.0.0
615
289
  "",
616
290
  "none",
@@ -618,14 +292,14 @@ const x = (e) => {
618
292
  f,
619
293
  n,
620
294
  s
621
- ], S = () => ["", u, H, j], X = () => ["solid", "dashed", "dotted", "double"], he = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], h = () => [u, ae, Ce, Se], ve = () => [
295
+ ], C = () => ["", u, D, j], J = () => ["solid", "dashed", "dotted", "double"], xe = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], h = () => [u, ne, ke, ye], he = () => [
622
296
  // Deprecated since Tailwind CSS v4.0.0
623
297
  "",
624
298
  "none",
625
- k,
299
+ z,
626
300
  n,
627
301
  s
628
- ], K = () => ["none", u, n, s], Y = () => ["none", u, n, s], ne = () => [u, n, s], Q = () => [F, "full", ...d()];
302
+ ], X = () => ["none", u, n, s], K = () => ["none", u, n, s], se = () => [u, n, s], Y = () => [B, "full", ...d()];
629
303
  return {
630
304
  cacheSize: 500,
631
305
  theme: {
@@ -633,11 +307,11 @@ const x = (e) => {
633
307
  aspect: ["video"],
634
308
  blur: [I],
635
309
  breakpoint: [I],
636
- color: [zt],
310
+ color: [mt],
637
311
  container: [I],
638
312
  "drop-shadow": [I],
639
313
  ease: ["in", "out", "in-out"],
640
- font: [Mt],
314
+ font: [ft],
641
315
  "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
642
316
  "inset-shadow": [I],
643
317
  leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
@@ -658,7 +332,7 @@ const x = (e) => {
658
332
  * @see https://tailwindcss.com/docs/aspect-ratio
659
333
  */
660
334
  aspect: [{
661
- aspect: ["auto", "square", F, s, n, A]
335
+ aspect: ["auto", "square", B, s, n, M]
662
336
  }],
663
337
  /**
664
338
  * Container
@@ -749,7 +423,7 @@ const x = (e) => {
749
423
  * @see https://tailwindcss.com/docs/object-position
750
424
  */
751
425
  "object-position": [{
752
- object: O()
426
+ object: L()
753
427
  }],
754
428
  /**
755
429
  * Overflow
@@ -777,21 +451,21 @@ const x = (e) => {
777
451
  * @see https://tailwindcss.com/docs/overscroll-behavior
778
452
  */
779
453
  overscroll: [{
780
- overscroll: D()
454
+ overscroll: $()
781
455
  }],
782
456
  /**
783
457
  * Overscroll Behavior X
784
458
  * @see https://tailwindcss.com/docs/overscroll-behavior
785
459
  */
786
460
  "overscroll-x": [{
787
- "overscroll-x": D()
461
+ "overscroll-x": $()
788
462
  }],
789
463
  /**
790
464
  * Overscroll Behavior Y
791
465
  * @see https://tailwindcss.com/docs/overscroll-behavior
792
466
  */
793
467
  "overscroll-y": [{
794
- "overscroll-y": D()
468
+ "overscroll-y": $()
795
469
  }],
796
470
  /**
797
471
  * Position
@@ -881,7 +555,7 @@ const x = (e) => {
881
555
  * @see https://tailwindcss.com/docs/flex-basis
882
556
  */
883
557
  basis: [{
884
- basis: [F, "full", "auto", p, ...d()]
558
+ basis: [B, "full", "auto", p, ...d()]
885
559
  }],
886
560
  /**
887
561
  * Flex Direction
@@ -902,7 +576,7 @@ const x = (e) => {
902
576
  * @see https://tailwindcss.com/docs/flex
903
577
  */
904
578
  flex: [{
905
- flex: [u, F, "auto", "initial", "none", s]
579
+ flex: [u, B, "auto", "initial", "none", s]
906
580
  }],
907
581
  /**
908
582
  * Flex Grow
@@ -930,56 +604,56 @@ const x = (e) => {
930
604
  * @see https://tailwindcss.com/docs/grid-template-columns
931
605
  */
932
606
  "grid-cols": [{
933
- "grid-cols": ue()
607
+ "grid-cols": me()
934
608
  }],
935
609
  /**
936
610
  * Grid Column Start / End
937
611
  * @see https://tailwindcss.com/docs/grid-column
938
612
  */
939
613
  "col-start-end": [{
940
- col: pe()
614
+ col: ue()
941
615
  }],
942
616
  /**
943
617
  * Grid Column Start
944
618
  * @see https://tailwindcss.com/docs/grid-column
945
619
  */
946
620
  "col-start": [{
947
- "col-start": J()
621
+ "col-start": q()
948
622
  }],
949
623
  /**
950
624
  * Grid Column End
951
625
  * @see https://tailwindcss.com/docs/grid-column
952
626
  */
953
627
  "col-end": [{
954
- "col-end": J()
628
+ "col-end": q()
955
629
  }],
956
630
  /**
957
631
  * Grid Template Rows
958
632
  * @see https://tailwindcss.com/docs/grid-template-rows
959
633
  */
960
634
  "grid-rows": [{
961
- "grid-rows": ue()
635
+ "grid-rows": me()
962
636
  }],
963
637
  /**
964
638
  * Grid Row Start / End
965
639
  * @see https://tailwindcss.com/docs/grid-row
966
640
  */
967
641
  "row-start-end": [{
968
- row: pe()
642
+ row: ue()
969
643
  }],
970
644
  /**
971
645
  * Grid Row Start
972
646
  * @see https://tailwindcss.com/docs/grid-row
973
647
  */
974
648
  "row-start": [{
975
- "row-start": J()
649
+ "row-start": q()
976
650
  }],
977
651
  /**
978
652
  * Grid Row End
979
653
  * @see https://tailwindcss.com/docs/grid-row
980
654
  */
981
655
  "row-end": [{
982
- "row-end": J()
656
+ "row-end": q()
983
657
  }],
984
658
  /**
985
659
  * Grid Auto Flow
@@ -993,14 +667,14 @@ const x = (e) => {
993
667
  * @see https://tailwindcss.com/docs/grid-auto-columns
994
668
  */
995
669
  "auto-cols": [{
996
- "auto-cols": ge()
670
+ "auto-cols": pe()
997
671
  }],
998
672
  /**
999
673
  * Grid Auto Rows
1000
674
  * @see https://tailwindcss.com/docs/grid-auto-rows
1001
675
  */
1002
676
  "auto-rows": [{
1003
- "auto-rows": ge()
677
+ "auto-rows": pe()
1004
678
  }],
1005
679
  /**
1006
680
  * Gap
@@ -1028,35 +702,35 @@ const x = (e) => {
1028
702
  * @see https://tailwindcss.com/docs/justify-content
1029
703
  */
1030
704
  "justify-content": [{
1031
- justify: [...oe(), "normal"]
705
+ justify: [...re(), "normal"]
1032
706
  }],
1033
707
  /**
1034
708
  * Justify Items
1035
709
  * @see https://tailwindcss.com/docs/justify-items
1036
710
  */
1037
711
  "justify-items": [{
1038
- "justify-items": [...B(), "normal"]
712
+ "justify-items": [...O(), "normal"]
1039
713
  }],
1040
714
  /**
1041
715
  * Justify Self
1042
716
  * @see https://tailwindcss.com/docs/justify-self
1043
717
  */
1044
718
  "justify-self": [{
1045
- "justify-self": ["auto", ...B()]
719
+ "justify-self": ["auto", ...O()]
1046
720
  }],
1047
721
  /**
1048
722
  * Align Content
1049
723
  * @see https://tailwindcss.com/docs/align-content
1050
724
  */
1051
725
  "align-content": [{
1052
- content: ["normal", ...oe()]
726
+ content: ["normal", ...re()]
1053
727
  }],
1054
728
  /**
1055
729
  * Align Items
1056
730
  * @see https://tailwindcss.com/docs/align-items
1057
731
  */
1058
732
  "align-items": [{
1059
- items: [...B(), {
733
+ items: [...O(), {
1060
734
  baseline: ["", "last"]
1061
735
  }]
1062
736
  }],
@@ -1065,7 +739,7 @@ const x = (e) => {
1065
739
  * @see https://tailwindcss.com/docs/align-self
1066
740
  */
1067
741
  "align-self": [{
1068
- self: ["auto", ...B(), {
742
+ self: ["auto", ...O(), {
1069
743
  baseline: ["", "last"]
1070
744
  }]
1071
745
  }],
@@ -1074,21 +748,21 @@ const x = (e) => {
1074
748
  * @see https://tailwindcss.com/docs/place-content
1075
749
  */
1076
750
  "place-content": [{
1077
- "place-content": oe()
751
+ "place-content": re()
1078
752
  }],
1079
753
  /**
1080
754
  * Place Items
1081
755
  * @see https://tailwindcss.com/docs/place-items
1082
756
  */
1083
757
  "place-items": [{
1084
- "place-items": [...B(), "baseline"]
758
+ "place-items": [...O(), "baseline"]
1085
759
  }],
1086
760
  /**
1087
761
  * Place Self
1088
762
  * @see https://tailwindcss.com/docs/place-self
1089
763
  */
1090
764
  "place-self": [{
1091
- "place-self": ["auto", ...B()]
765
+ "place-self": ["auto", ...O()]
1092
766
  }],
1093
767
  // Spacing
1094
768
  /**
@@ -1318,7 +992,7 @@ const x = (e) => {
1318
992
  * @see https://tailwindcss.com/docs/font-size
1319
993
  */
1320
994
  "font-size": [{
1321
- text: ["base", t, H, j]
995
+ text: ["base", t, D, j]
1322
996
  }],
1323
997
  /**
1324
998
  * Font Smoothing
@@ -1335,21 +1009,21 @@ const x = (e) => {
1335
1009
  * @see https://tailwindcss.com/docs/font-weight
1336
1010
  */
1337
1011
  "font-weight": [{
1338
- font: [o, n, ie]
1012
+ font: [o, n, ae]
1339
1013
  }],
1340
1014
  /**
1341
1015
  * Font Stretch
1342
1016
  * @see https://tailwindcss.com/docs/font-stretch
1343
1017
  */
1344
1018
  "font-stretch": [{
1345
- "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", ae, s]
1019
+ "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", ne, s]
1346
1020
  }],
1347
1021
  /**
1348
1022
  * Font Family
1349
1023
  * @see https://tailwindcss.com/docs/font-family
1350
1024
  */
1351
1025
  "font-family": [{
1352
- font: [It, s, r]
1026
+ font: [ht, s, r]
1353
1027
  }],
1354
1028
  /**
1355
1029
  * Font Variant Numeric
@@ -1393,7 +1067,7 @@ const x = (e) => {
1393
1067
  * @see https://tailwindcss.com/docs/line-clamp
1394
1068
  */
1395
1069
  "line-clamp": [{
1396
- "line-clamp": [u, "none", n, ie]
1070
+ "line-clamp": [u, "none", n, ae]
1397
1071
  }],
1398
1072
  /**
1399
1073
  * Line Height
@@ -1459,7 +1133,7 @@ const x = (e) => {
1459
1133
  * @see https://tailwindcss.com/docs/text-decoration-style
1460
1134
  */
1461
1135
  "text-decoration-style": [{
1462
- decoration: [...X(), "wavy"]
1136
+ decoration: [...J(), "wavy"]
1463
1137
  }],
1464
1138
  /**
1465
1139
  * Text Decoration Thickness
@@ -1577,21 +1251,21 @@ const x = (e) => {
1577
1251
  * @see https://tailwindcss.com/docs/background-position
1578
1252
  */
1579
1253
  "bg-position": [{
1580
- bg: fe()
1254
+ bg: ge()
1581
1255
  }],
1582
1256
  /**
1583
1257
  * Background Repeat
1584
1258
  * @see https://tailwindcss.com/docs/background-repeat
1585
1259
  */
1586
1260
  "bg-repeat": [{
1587
- bg: be()
1261
+ bg: fe()
1588
1262
  }],
1589
1263
  /**
1590
1264
  * Background Size
1591
1265
  * @see https://tailwindcss.com/docs/background-size
1592
1266
  */
1593
1267
  "bg-size": [{
1594
- bg: xe()
1268
+ bg: be()
1595
1269
  }],
1596
1270
  /**
1597
1271
  * Background Image
@@ -1604,7 +1278,7 @@ const x = (e) => {
1604
1278
  }, E, n, s],
1605
1279
  radial: ["", n, s],
1606
1280
  conic: [E, n, s]
1607
- }, Rt, Pt]
1281
+ }, wt, xt]
1608
1282
  }],
1609
1283
  /**
1610
1284
  * Background Color
@@ -1618,21 +1292,21 @@ const x = (e) => {
1618
1292
  * @see https://tailwindcss.com/docs/gradient-color-stops
1619
1293
  */
1620
1294
  "gradient-from-pos": [{
1621
- from: se()
1295
+ from: oe()
1622
1296
  }],
1623
1297
  /**
1624
1298
  * Gradient Color Stops Via Position
1625
1299
  * @see https://tailwindcss.com/docs/gradient-color-stops
1626
1300
  */
1627
1301
  "gradient-via-pos": [{
1628
- via: se()
1302
+ via: oe()
1629
1303
  }],
1630
1304
  /**
1631
1305
  * Gradient Color Stops To Position
1632
1306
  * @see https://tailwindcss.com/docs/gradient-color-stops
1633
1307
  */
1634
1308
  "gradient-to-pos": [{
1635
- to: se()
1309
+ to: oe()
1636
1310
  }],
1637
1311
  /**
1638
1312
  * Gradient Color Stops From
@@ -1663,175 +1337,175 @@ const x = (e) => {
1663
1337
  * @see https://tailwindcss.com/docs/border-radius
1664
1338
  */
1665
1339
  rounded: [{
1666
- rounded: v()
1340
+ rounded: w()
1667
1341
  }],
1668
1342
  /**
1669
1343
  * Border Radius Start
1670
1344
  * @see https://tailwindcss.com/docs/border-radius
1671
1345
  */
1672
1346
  "rounded-s": [{
1673
- "rounded-s": v()
1347
+ "rounded-s": w()
1674
1348
  }],
1675
1349
  /**
1676
1350
  * Border Radius End
1677
1351
  * @see https://tailwindcss.com/docs/border-radius
1678
1352
  */
1679
1353
  "rounded-e": [{
1680
- "rounded-e": v()
1354
+ "rounded-e": w()
1681
1355
  }],
1682
1356
  /**
1683
1357
  * Border Radius Top
1684
1358
  * @see https://tailwindcss.com/docs/border-radius
1685
1359
  */
1686
1360
  "rounded-t": [{
1687
- "rounded-t": v()
1361
+ "rounded-t": w()
1688
1362
  }],
1689
1363
  /**
1690
1364
  * Border Radius Right
1691
1365
  * @see https://tailwindcss.com/docs/border-radius
1692
1366
  */
1693
1367
  "rounded-r": [{
1694
- "rounded-r": v()
1368
+ "rounded-r": w()
1695
1369
  }],
1696
1370
  /**
1697
1371
  * Border Radius Bottom
1698
1372
  * @see https://tailwindcss.com/docs/border-radius
1699
1373
  */
1700
1374
  "rounded-b": [{
1701
- "rounded-b": v()
1375
+ "rounded-b": w()
1702
1376
  }],
1703
1377
  /**
1704
1378
  * Border Radius Left
1705
1379
  * @see https://tailwindcss.com/docs/border-radius
1706
1380
  */
1707
1381
  "rounded-l": [{
1708
- "rounded-l": v()
1382
+ "rounded-l": w()
1709
1383
  }],
1710
1384
  /**
1711
1385
  * Border Radius Start Start
1712
1386
  * @see https://tailwindcss.com/docs/border-radius
1713
1387
  */
1714
1388
  "rounded-ss": [{
1715
- "rounded-ss": v()
1389
+ "rounded-ss": w()
1716
1390
  }],
1717
1391
  /**
1718
1392
  * Border Radius Start End
1719
1393
  * @see https://tailwindcss.com/docs/border-radius
1720
1394
  */
1721
1395
  "rounded-se": [{
1722
- "rounded-se": v()
1396
+ "rounded-se": w()
1723
1397
  }],
1724
1398
  /**
1725
1399
  * Border Radius End End
1726
1400
  * @see https://tailwindcss.com/docs/border-radius
1727
1401
  */
1728
1402
  "rounded-ee": [{
1729
- "rounded-ee": v()
1403
+ "rounded-ee": w()
1730
1404
  }],
1731
1405
  /**
1732
1406
  * Border Radius End Start
1733
1407
  * @see https://tailwindcss.com/docs/border-radius
1734
1408
  */
1735
1409
  "rounded-es": [{
1736
- "rounded-es": v()
1410
+ "rounded-es": w()
1737
1411
  }],
1738
1412
  /**
1739
1413
  * Border Radius Top Left
1740
1414
  * @see https://tailwindcss.com/docs/border-radius
1741
1415
  */
1742
1416
  "rounded-tl": [{
1743
- "rounded-tl": v()
1417
+ "rounded-tl": w()
1744
1418
  }],
1745
1419
  /**
1746
1420
  * Border Radius Top Right
1747
1421
  * @see https://tailwindcss.com/docs/border-radius
1748
1422
  */
1749
1423
  "rounded-tr": [{
1750
- "rounded-tr": v()
1424
+ "rounded-tr": w()
1751
1425
  }],
1752
1426
  /**
1753
1427
  * Border Radius Bottom Right
1754
1428
  * @see https://tailwindcss.com/docs/border-radius
1755
1429
  */
1756
1430
  "rounded-br": [{
1757
- "rounded-br": v()
1431
+ "rounded-br": w()
1758
1432
  }],
1759
1433
  /**
1760
1434
  * Border Radius Bottom Left
1761
1435
  * @see https://tailwindcss.com/docs/border-radius
1762
1436
  */
1763
1437
  "rounded-bl": [{
1764
- "rounded-bl": v()
1438
+ "rounded-bl": w()
1765
1439
  }],
1766
1440
  /**
1767
1441
  * Border Width
1768
1442
  * @see https://tailwindcss.com/docs/border-width
1769
1443
  */
1770
1444
  "border-w": [{
1771
- border: S()
1445
+ border: C()
1772
1446
  }],
1773
1447
  /**
1774
1448
  * Border Width X
1775
1449
  * @see https://tailwindcss.com/docs/border-width
1776
1450
  */
1777
1451
  "border-w-x": [{
1778
- "border-x": S()
1452
+ "border-x": C()
1779
1453
  }],
1780
1454
  /**
1781
1455
  * Border Width Y
1782
1456
  * @see https://tailwindcss.com/docs/border-width
1783
1457
  */
1784
1458
  "border-w-y": [{
1785
- "border-y": S()
1459
+ "border-y": C()
1786
1460
  }],
1787
1461
  /**
1788
1462
  * Border Width Start
1789
1463
  * @see https://tailwindcss.com/docs/border-width
1790
1464
  */
1791
1465
  "border-w-s": [{
1792
- "border-s": S()
1466
+ "border-s": C()
1793
1467
  }],
1794
1468
  /**
1795
1469
  * Border Width End
1796
1470
  * @see https://tailwindcss.com/docs/border-width
1797
1471
  */
1798
1472
  "border-w-e": [{
1799
- "border-e": S()
1473
+ "border-e": C()
1800
1474
  }],
1801
1475
  /**
1802
1476
  * Border Width Top
1803
1477
  * @see https://tailwindcss.com/docs/border-width
1804
1478
  */
1805
1479
  "border-w-t": [{
1806
- "border-t": S()
1480
+ "border-t": C()
1807
1481
  }],
1808
1482
  /**
1809
1483
  * Border Width Right
1810
1484
  * @see https://tailwindcss.com/docs/border-width
1811
1485
  */
1812
1486
  "border-w-r": [{
1813
- "border-r": S()
1487
+ "border-r": C()
1814
1488
  }],
1815
1489
  /**
1816
1490
  * Border Width Bottom
1817
1491
  * @see https://tailwindcss.com/docs/border-width
1818
1492
  */
1819
1493
  "border-w-b": [{
1820
- "border-b": S()
1494
+ "border-b": C()
1821
1495
  }],
1822
1496
  /**
1823
1497
  * Border Width Left
1824
1498
  * @see https://tailwindcss.com/docs/border-width
1825
1499
  */
1826
1500
  "border-w-l": [{
1827
- "border-l": S()
1501
+ "border-l": C()
1828
1502
  }],
1829
1503
  /**
1830
1504
  * Divide Width X
1831
1505
  * @see https://tailwindcss.com/docs/border-width#between-children
1832
1506
  */
1833
1507
  "divide-x": [{
1834
- "divide-x": S()
1508
+ "divide-x": C()
1835
1509
  }],
1836
1510
  /**
1837
1511
  * Divide Width X Reverse
@@ -1843,7 +1517,7 @@ const x = (e) => {
1843
1517
  * @see https://tailwindcss.com/docs/border-width#between-children
1844
1518
  */
1845
1519
  "divide-y": [{
1846
- "divide-y": S()
1520
+ "divide-y": C()
1847
1521
  }],
1848
1522
  /**
1849
1523
  * Divide Width Y Reverse
@@ -1855,14 +1529,14 @@ const x = (e) => {
1855
1529
  * @see https://tailwindcss.com/docs/border-style
1856
1530
  */
1857
1531
  "border-style": [{
1858
- border: [...X(), "hidden", "none"]
1532
+ border: [...J(), "hidden", "none"]
1859
1533
  }],
1860
1534
  /**
1861
1535
  * Divide Style
1862
1536
  * @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
1863
1537
  */
1864
1538
  "divide-style": [{
1865
- divide: [...X(), "hidden", "none"]
1539
+ divide: [...J(), "hidden", "none"]
1866
1540
  }],
1867
1541
  /**
1868
1542
  * Border Color
@@ -1939,7 +1613,7 @@ const x = (e) => {
1939
1613
  * @see https://tailwindcss.com/docs/outline-style
1940
1614
  */
1941
1615
  "outline-style": [{
1942
- outline: [...X(), "none", "hidden"]
1616
+ outline: [...J(), "none", "hidden"]
1943
1617
  }],
1944
1618
  /**
1945
1619
  * Outline Offset
@@ -1953,7 +1627,7 @@ const x = (e) => {
1953
1627
  * @see https://tailwindcss.com/docs/outline-width
1954
1628
  */
1955
1629
  "outline-w": [{
1956
- outline: ["", u, H, j]
1630
+ outline: ["", u, D, j]
1957
1631
  }],
1958
1632
  /**
1959
1633
  * Outline Color
@@ -1975,8 +1649,8 @@ const x = (e) => {
1975
1649
  "",
1976
1650
  "none",
1977
1651
  b,
1978
- te,
1979
- ee
1652
+ ee,
1653
+ Q
1980
1654
  ]
1981
1655
  }],
1982
1656
  /**
@@ -1991,7 +1665,7 @@ const x = (e) => {
1991
1665
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
1992
1666
  */
1993
1667
  "inset-shadow": [{
1994
- "inset-shadow": ["none", y, te, ee]
1668
+ "inset-shadow": ["none", k, ee, Q]
1995
1669
  }],
1996
1670
  /**
1997
1671
  * Inset Box Shadow Color
@@ -2005,7 +1679,7 @@ const x = (e) => {
2005
1679
  * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
2006
1680
  */
2007
1681
  "ring-w": [{
2008
- ring: S()
1682
+ ring: C()
2009
1683
  }],
2010
1684
  /**
2011
1685
  * Ring Width Inset
@@ -2044,7 +1718,7 @@ const x = (e) => {
2044
1718
  * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
2045
1719
  */
2046
1720
  "inset-ring-w": [{
2047
- "inset-ring": S()
1721
+ "inset-ring": C()
2048
1722
  }],
2049
1723
  /**
2050
1724
  * Inset Ring Color
@@ -2058,7 +1732,7 @@ const x = (e) => {
2058
1732
  * @see https://tailwindcss.com/docs/text-shadow
2059
1733
  */
2060
1734
  "text-shadow": [{
2061
- "text-shadow": ["none", C, te, ee]
1735
+ "text-shadow": ["none", A, ee, Q]
2062
1736
  }],
2063
1737
  /**
2064
1738
  * Text Shadow Color
@@ -2079,14 +1753,14 @@ const x = (e) => {
2079
1753
  * @see https://tailwindcss.com/docs/mix-blend-mode
2080
1754
  */
2081
1755
  "mix-blend": [{
2082
- "mix-blend": [...he(), "plus-darker", "plus-lighter"]
1756
+ "mix-blend": [...xe(), "plus-darker", "plus-lighter"]
2083
1757
  }],
2084
1758
  /**
2085
1759
  * Background Blend Mode
2086
1760
  * @see https://tailwindcss.com/docs/background-blend-mode
2087
1761
  */
2088
1762
  "bg-blend": [{
2089
- "bg-blend": he()
1763
+ "bg-blend": xe()
2090
1764
  }],
2091
1765
  /**
2092
1766
  * Mask Clip
@@ -2218,7 +1892,7 @@ const x = (e) => {
2218
1892
  }]
2219
1893
  }],
2220
1894
  "mask-image-radial-pos": [{
2221
- "mask-radial-at": L()
1895
+ "mask-radial-at": V()
2222
1896
  }],
2223
1897
  "mask-image-conic-pos": [{
2224
1898
  "mask-conic": [u]
@@ -2254,21 +1928,21 @@ const x = (e) => {
2254
1928
  * @see https://tailwindcss.com/docs/mask-position
2255
1929
  */
2256
1930
  "mask-position": [{
2257
- mask: fe()
1931
+ mask: ge()
2258
1932
  }],
2259
1933
  /**
2260
1934
  * Mask Repeat
2261
1935
  * @see https://tailwindcss.com/docs/mask-repeat
2262
1936
  */
2263
1937
  "mask-repeat": [{
2264
- mask: be()
1938
+ mask: fe()
2265
1939
  }],
2266
1940
  /**
2267
1941
  * Mask Size
2268
1942
  * @see https://tailwindcss.com/docs/mask-size
2269
1943
  */
2270
1944
  "mask-size": [{
2271
- mask: xe()
1945
+ mask: be()
2272
1946
  }],
2273
1947
  /**
2274
1948
  * Mask Type
@@ -2305,7 +1979,7 @@ const x = (e) => {
2305
1979
  * @see https://tailwindcss.com/docs/blur
2306
1980
  */
2307
1981
  blur: [{
2308
- blur: ve()
1982
+ blur: he()
2309
1983
  }],
2310
1984
  /**
2311
1985
  * Brightness
@@ -2331,8 +2005,8 @@ const x = (e) => {
2331
2005
  "",
2332
2006
  "none",
2333
2007
  R,
2334
- te,
2335
- ee
2008
+ ee,
2009
+ Q
2336
2010
  ]
2337
2011
  }],
2338
2012
  /**
@@ -2395,7 +2069,7 @@ const x = (e) => {
2395
2069
  * @see https://tailwindcss.com/docs/backdrop-blur
2396
2070
  */
2397
2071
  "backdrop-blur": [{
2398
- "backdrop-blur": ve()
2072
+ "backdrop-blur": he()
2399
2073
  }],
2400
2074
  /**
2401
2075
  * Backdrop Brightness
@@ -2541,7 +2215,7 @@ const x = (e) => {
2541
2215
  * @see https://tailwindcss.com/docs/animation
2542
2216
  */
2543
2217
  animate: [{
2544
- animate: ["none", q, n, s]
2218
+ animate: ["none", Z, n, s]
2545
2219
  }],
2546
2220
  // ------------------
2547
2221
  // --- Transforms ---
@@ -2558,70 +2232,70 @@ const x = (e) => {
2558
2232
  * @see https://tailwindcss.com/docs/perspective
2559
2233
  */
2560
2234
  perspective: [{
2561
- perspective: [z, n, s]
2235
+ perspective: [S, n, s]
2562
2236
  }],
2563
2237
  /**
2564
2238
  * Perspective Origin
2565
2239
  * @see https://tailwindcss.com/docs/perspective-origin
2566
2240
  */
2567
2241
  "perspective-origin": [{
2568
- "perspective-origin": O()
2242
+ "perspective-origin": L()
2569
2243
  }],
2570
2244
  /**
2571
2245
  * Rotate
2572
2246
  * @see https://tailwindcss.com/docs/rotate
2573
2247
  */
2574
2248
  rotate: [{
2575
- rotate: K()
2249
+ rotate: X()
2576
2250
  }],
2577
2251
  /**
2578
2252
  * Rotate X
2579
2253
  * @see https://tailwindcss.com/docs/rotate
2580
2254
  */
2581
2255
  "rotate-x": [{
2582
- "rotate-x": K()
2256
+ "rotate-x": X()
2583
2257
  }],
2584
2258
  /**
2585
2259
  * Rotate Y
2586
2260
  * @see https://tailwindcss.com/docs/rotate
2587
2261
  */
2588
2262
  "rotate-y": [{
2589
- "rotate-y": K()
2263
+ "rotate-y": X()
2590
2264
  }],
2591
2265
  /**
2592
2266
  * Rotate Z
2593
2267
  * @see https://tailwindcss.com/docs/rotate
2594
2268
  */
2595
2269
  "rotate-z": [{
2596
- "rotate-z": K()
2270
+ "rotate-z": X()
2597
2271
  }],
2598
2272
  /**
2599
2273
  * Scale
2600
2274
  * @see https://tailwindcss.com/docs/scale
2601
2275
  */
2602
2276
  scale: [{
2603
- scale: Y()
2277
+ scale: K()
2604
2278
  }],
2605
2279
  /**
2606
2280
  * Scale X
2607
2281
  * @see https://tailwindcss.com/docs/scale
2608
2282
  */
2609
2283
  "scale-x": [{
2610
- "scale-x": Y()
2284
+ "scale-x": K()
2611
2285
  }],
2612
2286
  /**
2613
2287
  * Scale Y
2614
2288
  * @see https://tailwindcss.com/docs/scale
2615
2289
  */
2616
2290
  "scale-y": [{
2617
- "scale-y": Y()
2291
+ "scale-y": K()
2618
2292
  }],
2619
2293
  /**
2620
2294
  * Scale Z
2621
2295
  * @see https://tailwindcss.com/docs/scale
2622
2296
  */
2623
2297
  "scale-z": [{
2624
- "scale-z": Y()
2298
+ "scale-z": K()
2625
2299
  }],
2626
2300
  /**
2627
2301
  * Scale 3D
@@ -2633,21 +2307,21 @@ const x = (e) => {
2633
2307
  * @see https://tailwindcss.com/docs/skew
2634
2308
  */
2635
2309
  skew: [{
2636
- skew: ne()
2310
+ skew: se()
2637
2311
  }],
2638
2312
  /**
2639
2313
  * Skew X
2640
2314
  * @see https://tailwindcss.com/docs/skew
2641
2315
  */
2642
2316
  "skew-x": [{
2643
- "skew-x": ne()
2317
+ "skew-x": se()
2644
2318
  }],
2645
2319
  /**
2646
2320
  * Skew Y
2647
2321
  * @see https://tailwindcss.com/docs/skew
2648
2322
  */
2649
2323
  "skew-y": [{
2650
- "skew-y": ne()
2324
+ "skew-y": se()
2651
2325
  }],
2652
2326
  /**
2653
2327
  * Transform
@@ -2661,7 +2335,7 @@ const x = (e) => {
2661
2335
  * @see https://tailwindcss.com/docs/transform-origin
2662
2336
  */
2663
2337
  "transform-origin": [{
2664
- origin: O()
2338
+ origin: L()
2665
2339
  }],
2666
2340
  /**
2667
2341
  * Transform Style
@@ -2675,28 +2349,28 @@ const x = (e) => {
2675
2349
  * @see https://tailwindcss.com/docs/translate
2676
2350
  */
2677
2351
  translate: [{
2678
- translate: Q()
2352
+ translate: Y()
2679
2353
  }],
2680
2354
  /**
2681
2355
  * Translate X
2682
2356
  * @see https://tailwindcss.com/docs/translate
2683
2357
  */
2684
2358
  "translate-x": [{
2685
- "translate-x": Q()
2359
+ "translate-x": Y()
2686
2360
  }],
2687
2361
  /**
2688
2362
  * Translate Y
2689
2363
  * @see https://tailwindcss.com/docs/translate
2690
2364
  */
2691
2365
  "translate-y": [{
2692
- "translate-y": Q()
2366
+ "translate-y": Y()
2693
2367
  }],
2694
2368
  /**
2695
2369
  * Translate Z
2696
2370
  * @see https://tailwindcss.com/docs/translate
2697
2371
  */
2698
2372
  "translate-z": [{
2699
- "translate-z": Q()
2373
+ "translate-z": Y()
2700
2374
  }],
2701
2375
  /**
2702
2376
  * Translate None
@@ -2978,7 +2652,7 @@ const x = (e) => {
2978
2652
  * @see https://tailwindcss.com/docs/stroke-width
2979
2653
  */
2980
2654
  "stroke-w": [{
2981
- stroke: [u, H, j, ie]
2655
+ stroke: [u, D, j, ae]
2982
2656
  }],
2983
2657
  /**
2984
2658
  * Stroke
@@ -3053,11 +2727,311 @@ const x = (e) => {
3053
2727
  },
3054
2728
  orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
3055
2729
  };
3056
- }, jt = /* @__PURE__ */ bt(Gt);
3057
- function M(...e) {
3058
- return jt(Ae(e));
2730
+ }, St = /* @__PURE__ */ st(zt);
2731
+ function v(...e) {
2732
+ return St(Ce(e));
3059
2733
  }
3060
- function Qt({
2734
+ const $t = ({ className: e = "", children: r, element: t, ...o }) => /* @__PURE__ */ g(
2735
+ H,
2736
+ {
2737
+ element: t,
2738
+ className: v("mx-auto px-4 sm:px-6 lg:px-8 max-w-7xl", e),
2739
+ ...o,
2740
+ children: r
2741
+ }
2742
+ ), ze = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Se = Ce, Ct = (e, r) => (t) => {
2743
+ var o;
2744
+ if ((r == null ? void 0 : r.variants) == null) return Se(e, t == null ? void 0 : t.class, t == null ? void 0 : t.className);
2745
+ const { variants: a, defaultVariants: i } = r, l = Object.keys(a).map((f) => {
2746
+ const b = t == null ? void 0 : t[f], k = i == null ? void 0 : i[f];
2747
+ if (b === null) return null;
2748
+ const A = ze(b) || ze(k);
2749
+ return a[f][A];
2750
+ }), p = t && Object.entries(t).reduce((f, b) => {
2751
+ let [k, A] = b;
2752
+ return A === void 0 || (f[k] = A), f;
2753
+ }, {}), m = r == null || (o = r.compoundVariants) === null || o === void 0 ? void 0 : o.reduce((f, b) => {
2754
+ let { class: k, className: A, ...R } = b;
2755
+ return Object.entries(R).every((z) => {
2756
+ let [S, M] = z;
2757
+ return Array.isArray(M) ? M.includes({
2758
+ ...i,
2759
+ ...p
2760
+ }[S]) : {
2761
+ ...i,
2762
+ ...p
2763
+ }[S] === M;
2764
+ }) ? [
2765
+ ...f,
2766
+ k,
2767
+ A
2768
+ ] : f;
2769
+ }, []);
2770
+ return Se(e, l, m, t == null ? void 0 : t.class, t == null ? void 0 : t.className);
2771
+ }, Ve = {
2772
+ start: "justify-start",
2773
+ end: "justify-end",
2774
+ center: "justify-center",
2775
+ between: "justify-between",
2776
+ around: "justify-around",
2777
+ evenly: "justify-evenly",
2778
+ stretch: "justify-stretch"
2779
+ }, Le = {
2780
+ start: "items-start",
2781
+ end: "items-end",
2782
+ center: "items-center",
2783
+ baseline: "items-baseline",
2784
+ stretch: "items-stretch"
2785
+ }, At = {
2786
+ body: "font-sans",
2787
+ heading: "font-sans",
2788
+ caption: "font-sans"
2789
+ }, Mt = {
2790
+ xs: "text-xs",
2791
+ sm: "text-sm",
2792
+ base: "text-base",
2793
+ lg: "text-lg",
2794
+ xl: "text-xl",
2795
+ "2xl": "text-2xl",
2796
+ "3xl": "text-3xl",
2797
+ "4xl": "text-4xl",
2798
+ "5xl": "text-5xl",
2799
+ "6xl": "text-6xl",
2800
+ "7xl": "text-7xl",
2801
+ "8xl": "text-8xl",
2802
+ "9xl": "text-9xl"
2803
+ }, Nt = {
2804
+ normal: "font-normal",
2805
+ medium: "font-medium",
2806
+ semibold: "font-semibold",
2807
+ bold: "font-bold",
2808
+ light: "font-light"
2809
+ }, Pt = {
2810
+ 1: "grid-cols-1",
2811
+ 2: "grid-cols-2",
2812
+ 3: "grid-cols-3",
2813
+ 4: "grid-cols-4",
2814
+ 5: "grid-cols-5",
2815
+ 6: "grid-cols-6",
2816
+ 7: "grid-cols-7",
2817
+ 8: "grid-cols-8",
2818
+ 9: "grid-cols-9"
2819
+ }, It = {
2820
+ 1: "grid-rows-1",
2821
+ 2: "grid-rows-2",
2822
+ 3: "grid-rows-3",
2823
+ 4: "grid-rows-4",
2824
+ 5: "grid-rows-5",
2825
+ 6: "grid-rows-6",
2826
+ 7: "grid-rows-7",
2827
+ 8: "grid-rows-8",
2828
+ 9: "grid-rows-9"
2829
+ }, Oe = {
2830
+ 1: "gap-1",
2831
+ 2: "gap-2",
2832
+ 3: "gap-3",
2833
+ 4: "gap-4",
2834
+ 5: "gap-5",
2835
+ 6: "gap-6",
2836
+ 7: "gap-7",
2837
+ 8: "gap-8",
2838
+ 9: "gap-9"
2839
+ }, Et = Ct(
2840
+ "inline-flex justify-center items-center gap-2 disabled:opacity-50 aria-invalid:border-destructive focus-visible:border-ring rounded-md outline-none aria-invalid:ring-destructive/20 focus-visible:ring-[3px] focus-visible:ring-ring/50 dark:aria-invalid:ring-destructive/40 [&_svg:not([class*='size-'])]:size-4 font-medium text-sm whitespace-nowrap transition-all [&_svg]:pointer-events-none disabled:pointer-events-none shrink-0 [&_svg]:shrink-0",
2841
+ {
2842
+ variants: {
2843
+ variant: {
2844
+ default: `
2845
+ bg-primary text-primary-foreground shadow-xs
2846
+ hover:bg-primary/90
2847
+ `,
2848
+ destructive: `
2849
+ bg-destructive text-white shadow-xs
2850
+ hover:bg-destructive/90
2851
+ focus-visible:ring-destructive/20
2852
+ dark:bg-destructive/60 dark:focus-visible:ring-destructive/40
2853
+ `,
2854
+ outline: `
2855
+ border bg-background shadow-xs
2856
+ hover:bg-accent hover:text-accent-foreground
2857
+ dark:border-input dark:bg-input/30 dark:hover:bg-input/50
2858
+ `,
2859
+ secondary: `
2860
+ bg-secondary text-secondary-foreground shadow-xs
2861
+ hover:bg-secondary/80
2862
+ `,
2863
+ ghost: `
2864
+ hover:bg-accent hover:text-accent-foreground
2865
+ dark:hover:bg-accent/50
2866
+ `,
2867
+ link: `
2868
+ text-primary underline-offset-4
2869
+ hover:underline
2870
+ `
2871
+ },
2872
+ size: {
2873
+ default: `
2874
+ h-9 px-4 py-2
2875
+ has-[>svg]:px-3
2876
+ `,
2877
+ sm: `
2878
+ h-8 gap-1.5 rounded-md px-3
2879
+ has-[>svg]:px-2.5
2880
+ `,
2881
+ lg: `
2882
+ h-10 rounded-md px-6
2883
+ has-[>svg]:px-4
2884
+ `,
2885
+ icon: "size-9"
2886
+ }
2887
+ },
2888
+ defaultVariants: {
2889
+ variant: "default",
2890
+ size: "default"
2891
+ }
2892
+ }
2893
+ ), Rt = {
2894
+ row: "flex-row",
2895
+ col: "flex-col",
2896
+ row_reverse: "flex-row-reverse",
2897
+ col_reverse: "flex-col-reverse"
2898
+ }, Tt = {
2899
+ wrap: "flex-wrap",
2900
+ nowrap: "flex-nowrap",
2901
+ wrap_reverse: "flex-wrap-reverse"
2902
+ }, Dt = ({
2903
+ children: e,
2904
+ gap: r,
2905
+ direction: t,
2906
+ justify: o,
2907
+ align: a,
2908
+ wrap: i,
2909
+ className: l = "",
2910
+ element: p,
2911
+ ...m
2912
+ }) => /* @__PURE__ */ g(
2913
+ H,
2914
+ {
2915
+ element: p,
2916
+ className: v(
2917
+ "flex",
2918
+ t && Rt[t],
2919
+ o && Ve[o],
2920
+ a && Le[a],
2921
+ i && Tt[i],
2922
+ r && Oe[r],
2923
+ l
2924
+ ),
2925
+ ...m,
2926
+ children: e
2927
+ }
2928
+ ), Ht = ({
2929
+ children: e,
2930
+ className: r,
2931
+ cols: t,
2932
+ rows: o,
2933
+ gap: a,
2934
+ justify: i,
2935
+ align: l,
2936
+ element: p,
2937
+ ...m
2938
+ }) => /* @__PURE__ */ g(
2939
+ H,
2940
+ {
2941
+ element: p,
2942
+ className: v(
2943
+ "grid",
2944
+ t && Pt[t],
2945
+ o && It[o],
2946
+ a && Oe[a],
2947
+ i && Ve[i],
2948
+ l && Le[l],
2949
+ r
2950
+ ),
2951
+ ...m,
2952
+ children: e
2953
+ }
2954
+ ), _t = {
2955
+ xs: "xs",
2956
+ sm: "sm",
2957
+ base: "base",
2958
+ lg: "lg",
2959
+ xl: "xl",
2960
+ "2xl": "2xl",
2961
+ "3xl": "3xl",
2962
+ "4xl": "4xl"
2963
+ }, Zt = ({ children: e, element: r, className: t, size: o, ...a }) => /* @__PURE__ */ g(
2964
+ Be,
2965
+ {
2966
+ className: t,
2967
+ element: r,
2968
+ size: _t[o],
2969
+ variant: "heading",
2970
+ weight: "medium",
2971
+ ...a,
2972
+ children: e
2973
+ }
2974
+ ), qt = ({ children: e, className: r, href: t, ...o }) => /* @__PURE__ */ g(
2975
+ "a",
2976
+ {
2977
+ "data-testid": "link",
2978
+ href: t,
2979
+ rel: "noopener noreferrer",
2980
+ target: "_blank",
2981
+ className: v(
2982
+ "focus:outline-none text-blue-600 active:text-blue-900 visited:text-purple-600 hover:underline",
2983
+ r
2984
+ ),
2985
+ ...o,
2986
+ children: e
2987
+ }
2988
+ ), Gt = {
2989
+ xs: "xs",
2990
+ sm: "sm",
2991
+ base: "base",
2992
+ lg: "lg"
2993
+ }, Jt = ({ children: e, className: r, size: t, ...o }) => /* @__PURE__ */ g(
2994
+ Be,
2995
+ {
2996
+ className: r,
2997
+ element: "p",
2998
+ size: Gt[t],
2999
+ variant: "body",
3000
+ weight: "normal",
3001
+ ...o,
3002
+ children: e
3003
+ }
3004
+ ), Xt = ({ className: e = "", children: r, ...t }) => /* @__PURE__ */ g(H, { element: "section", className: v("mx-2 my-4 p-4 sm:p-6", e), ...t, children: r }), Kt = ({
3005
+ children: e,
3006
+ direction: r = "horizontal",
3007
+ spacing: t = "space-x-2",
3008
+ element: o,
3009
+ className: a,
3010
+ ...i
3011
+ }) => /* @__PURE__ */ g(H, { className: v("flex", r === "vertical" ? "flex-col" : "flex-row", t, a), element: o, ...i, children: e }), Be = ({
3012
+ className: e,
3013
+ children: r,
3014
+ element: t,
3015
+ weight: o,
3016
+ variant: a,
3017
+ size: i,
3018
+ ...l
3019
+ }) => /* @__PURE__ */ g(
3020
+ t,
3021
+ {
3022
+ "data-testid": "text",
3023
+ className: v(
3024
+ "font-sans font-normal text-base",
3025
+ i && Mt[i],
3026
+ o && Nt[o],
3027
+ a && At[a],
3028
+ e
3029
+ ),
3030
+ ...l,
3031
+ children: r
3032
+ }
3033
+ );
3034
+ function Yt({
3061
3035
  className: e,
3062
3036
  variant: r,
3063
3037
  size: t,
@@ -3065,22 +3039,22 @@ function Qt({
3065
3039
  ...a
3066
3040
  }) {
3067
3041
  return /* @__PURE__ */ g(
3068
- o ? $e : "button",
3042
+ o ? Fe : "button",
3069
3043
  {
3070
3044
  "data-slot": "button",
3071
- className: M(Ye({ variant: r, size: t, className: e })),
3045
+ className: v(Et({ variant: r, size: t, className: e })),
3072
3046
  ...a,
3073
3047
  "data-testid": "button"
3074
3048
  }
3075
3049
  );
3076
3050
  }
3077
- function er({ className: e, type: r, ...t }) {
3051
+ function Qt({ className: e, type: r, ...t }) {
3078
3052
  return /* @__PURE__ */ g(
3079
3053
  "input",
3080
3054
  {
3081
3055
  type: r,
3082
3056
  "data-slot": "input",
3083
- className: M(
3057
+ className: v(
3084
3058
  `
3085
3059
  flex h-9 w-full min-w-0 rounded-md border border-input bg-transparent
3086
3060
  px-3 py-1 text-base shadow-xs transition-[color,box-shadow]
@@ -3109,7 +3083,7 @@ function er({ className: e, type: r, ...t }) {
3109
3083
  }
3110
3084
  );
3111
3085
  }
3112
- const Vt = Ue(
3086
+ const jt = Ue(
3113
3087
  ({
3114
3088
  children: e,
3115
3089
  className: r = "",
@@ -3122,7 +3096,7 @@ const Vt = Ue(
3122
3096
  WebkitTextFillColor: "transparent",
3123
3097
  animationDuration: `${10 / o}s`
3124
3098
  };
3125
- return /* @__PURE__ */ re(
3099
+ return /* @__PURE__ */ te(
3126
3100
  "span",
3127
3101
  {
3128
3102
  className: `
@@ -3149,28 +3123,28 @@ const Vt = Ue(
3149
3123
  );
3150
3124
  }
3151
3125
  );
3152
- Vt.displayName = "AuroraText";
3126
+ jt.displayName = "AuroraText";
3127
+ function er({ ...e }) {
3128
+ return /* @__PURE__ */ g(y.Root, { "data-slot": "select", ...e });
3129
+ }
3153
3130
  function tr({ ...e }) {
3154
- return /* @__PURE__ */ g(w.Root, { "data-slot": "select", ...e });
3131
+ return /* @__PURE__ */ g(y.Group, { "data-slot": "select-group", ...e });
3155
3132
  }
3156
3133
  function rr({ ...e }) {
3157
- return /* @__PURE__ */ g(w.Group, { "data-slot": "select-group", ...e });
3134
+ return /* @__PURE__ */ g(y.Value, { "data-slot": "select-value", ...e });
3158
3135
  }
3159
- function or({ ...e }) {
3160
- return /* @__PURE__ */ g(w.Value, { "data-slot": "select-value", ...e });
3161
- }
3162
- function sr({
3136
+ function or({
3163
3137
  className: e,
3164
3138
  size: r = "default",
3165
3139
  children: t,
3166
3140
  ...o
3167
3141
  }) {
3168
- return /* @__PURE__ */ re(
3169
- w.Trigger,
3142
+ return /* @__PURE__ */ te(
3143
+ y.Trigger,
3170
3144
  {
3171
3145
  "data-slot": "select-trigger",
3172
3146
  "data-size": r,
3173
- className: M(
3147
+ className: v(
3174
3148
  `
3175
3149
  flex w-fit items-center justify-between gap-2 rounded-md border
3176
3150
  border-input bg-transparent px-3 py-2 text-sm whitespace-nowrap
@@ -3197,22 +3171,22 @@ function sr({
3197
3171
  ...o,
3198
3172
  children: [
3199
3173
  t,
3200
- /* @__PURE__ */ g(w.Icon, { asChild: !0, children: /* @__PURE__ */ g(Me, { className: "size-4 opacity-50" }) })
3174
+ /* @__PURE__ */ g(y.Icon, { asChild: !0, children: /* @__PURE__ */ g(Ae, { className: "size-4 opacity-50" }) })
3201
3175
  ]
3202
3176
  }
3203
3177
  );
3204
3178
  }
3205
- function nr({
3179
+ function sr({
3206
3180
  className: e,
3207
3181
  children: r,
3208
3182
  position: t = "popper",
3209
3183
  ...o
3210
3184
  }) {
3211
- return /* @__PURE__ */ g(w.Portal, { "data-testid": "select", children: /* @__PURE__ */ re(
3212
- w.Content,
3185
+ return /* @__PURE__ */ g(y.Portal, { "data-testid": "select", children: /* @__PURE__ */ te(
3186
+ y.Content,
3213
3187
  {
3214
3188
  "data-slot": "select-content",
3215
- className: M(
3189
+ className: v(
3216
3190
  `
3217
3191
  relative z-50 max-h-(--radix-select-content-available-height)
3218
3192
  min-w-[8rem] origin-(--radix-select-content-transform-origin)
@@ -3238,11 +3212,11 @@ function nr({
3238
3212
  position: t,
3239
3213
  ...o,
3240
3214
  children: [
3241
- /* @__PURE__ */ g(Lt, {}),
3215
+ /* @__PURE__ */ g(Vt, {}),
3242
3216
  /* @__PURE__ */ g(
3243
- w.Viewport,
3217
+ y.Viewport,
3244
3218
  {
3245
- className: M(
3219
+ className: v(
3246
3220
  "p-1",
3247
3221
  t === "popper" && `
3248
3222
  h-[var(--radix-select-trigger-height)] w-full
@@ -3252,31 +3226,31 @@ function nr({
3252
3226
  children: r
3253
3227
  }
3254
3228
  ),
3255
- /* @__PURE__ */ g(Ot, {})
3229
+ /* @__PURE__ */ g(Lt, {})
3256
3230
  ]
3257
3231
  }
3258
3232
  ) });
3259
3233
  }
3260
- function ar({ className: e, ...r }) {
3234
+ function nr({ className: e, ...r }) {
3261
3235
  return /* @__PURE__ */ g(
3262
- w.Label,
3236
+ y.Label,
3263
3237
  {
3264
3238
  "data-slot": "select-label",
3265
- className: M("px-2 py-1.5 text-xs text-muted-foreground", e),
3239
+ className: v("px-2 py-1.5 text-xs text-muted-foreground", e),
3266
3240
  ...r
3267
3241
  }
3268
3242
  );
3269
3243
  }
3270
- function ir({
3244
+ function ar({
3271
3245
  className: e,
3272
3246
  children: r,
3273
3247
  ...t
3274
3248
  }) {
3275
- return /* @__PURE__ */ re(
3276
- w.Item,
3249
+ return /* @__PURE__ */ te(
3250
+ y.Item,
3277
3251
  {
3278
3252
  "data-slot": "select-item",
3279
- className: M(
3253
+ className: v(
3280
3254
  `
3281
3255
  relative flex w-full cursor-default items-center gap-2 rounded-sm
3282
3256
  py-1.5 pr-8 pl-2 text-sm outline-hidden select-none
@@ -3297,77 +3271,77 @@ function ir({
3297
3271
  className: `
3298
3272
  absolute right-2 flex size-3.5 items-center justify-center
3299
3273
  `,
3300
- children: /* @__PURE__ */ g(w.ItemIndicator, { children: /* @__PURE__ */ g(We, { className: "size-4" }) })
3274
+ children: /* @__PURE__ */ g(y.ItemIndicator, { children: /* @__PURE__ */ g(We, { className: "size-4" }) })
3301
3275
  }
3302
3276
  ),
3303
- /* @__PURE__ */ g(w.ItemText, { children: r })
3277
+ /* @__PURE__ */ g(y.ItemText, { children: r })
3304
3278
  ]
3305
3279
  }
3306
3280
  );
3307
3281
  }
3308
- function lr({
3282
+ function ir({
3309
3283
  className: e,
3310
3284
  ...r
3311
3285
  }) {
3312
3286
  return /* @__PURE__ */ g(
3313
- w.Separator,
3287
+ y.Separator,
3314
3288
  {
3315
3289
  "data-slot": "select-separator",
3316
- className: M("pointer-events-none -mx-1 my-1 h-px bg-border", e),
3290
+ className: v("pointer-events-none -mx-1 my-1 h-px bg-border", e),
3317
3291
  ...r
3318
3292
  }
3319
3293
  );
3320
3294
  }
3321
- function Lt({
3295
+ function Vt({
3322
3296
  className: e,
3323
3297
  ...r
3324
3298
  }) {
3325
3299
  return /* @__PURE__ */ g(
3326
- w.ScrollUpButton,
3300
+ y.ScrollUpButton,
3327
3301
  {
3328
3302
  "data-slot": "select-scroll-up-button",
3329
- className: M("flex cursor-default items-center justify-center py-1", e),
3303
+ className: v("flex cursor-default items-center justify-center py-1", e),
3330
3304
  ...r,
3331
- children: /* @__PURE__ */ g(De, { className: "size-4" })
3305
+ children: /* @__PURE__ */ g($e, { className: "size-4" })
3332
3306
  }
3333
3307
  );
3334
3308
  }
3335
- function Ot({
3309
+ function Lt({
3336
3310
  className: e,
3337
3311
  ...r
3338
3312
  }) {
3339
3313
  return /* @__PURE__ */ g(
3340
- w.ScrollDownButton,
3314
+ y.ScrollDownButton,
3341
3315
  {
3342
3316
  "data-slot": "select-scroll-down-button",
3343
- className: M("flex cursor-default items-center justify-center py-1", e),
3317
+ className: v("flex cursor-default items-center justify-center py-1", e),
3344
3318
  ...r,
3345
- children: /* @__PURE__ */ g(Me, { className: "size-4" })
3319
+ children: /* @__PURE__ */ g(Ae, { className: "size-4" })
3346
3320
  }
3347
3321
  );
3348
3322
  }
3349
3323
  export {
3350
- Vt as AuroraText,
3351
- Z as Box,
3352
- Qt as Button,
3353
- Dt as Container,
3354
- Jt as ExternalLink,
3355
- Ht as Flex,
3356
- Zt as Grid,
3357
- qt as Heading,
3358
- er as Input,
3359
- Xt as Paragraph,
3360
- Kt as Section,
3361
- tr as Select,
3362
- nr as SelectContent,
3363
- rr as SelectGroup,
3364
- ir as SelectItem,
3365
- ar as SelectLabel,
3366
- Ot as SelectScrollDownButton,
3367
- Lt as SelectScrollUpButton,
3368
- lr as SelectSeparator,
3369
- sr as SelectTrigger,
3370
- or as SelectValue,
3371
- Yt as Stack,
3372
- Ee as Text
3324
+ jt as AuroraText,
3325
+ H as Box,
3326
+ Yt as Button,
3327
+ $t as Container,
3328
+ qt as ExternalLink,
3329
+ Dt as Flex,
3330
+ Ht as Grid,
3331
+ Zt as Heading,
3332
+ Qt as Input,
3333
+ Jt as Paragraph,
3334
+ Xt as Section,
3335
+ er as Select,
3336
+ sr as SelectContent,
3337
+ tr as SelectGroup,
3338
+ ar as SelectItem,
3339
+ nr as SelectLabel,
3340
+ Lt as SelectScrollDownButton,
3341
+ Vt as SelectScrollUpButton,
3342
+ ir as SelectSeparator,
3343
+ or as SelectTrigger,
3344
+ rr as SelectValue,
3345
+ Kt as Stack,
3346
+ Be as Text
3373
3347
  };