@gryt/ui 0.1.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.
Files changed (68) hide show
  1. package/README.md +38 -0
  2. package/dist/GrytProvider.d.ts +9 -0
  3. package/dist/GrytProvider.d.ts.map +1 -0
  4. package/dist/components/Accordion/Accordion.d.ts +7 -0
  5. package/dist/components/Accordion/Accordion.d.ts.map +1 -0
  6. package/dist/components/Alert/Alert.d.ts +4 -0
  7. package/dist/components/Alert/Alert.d.ts.map +1 -0
  8. package/dist/components/Avatar/Avatar.d.ts +4 -0
  9. package/dist/components/Avatar/Avatar.d.ts.map +1 -0
  10. package/dist/components/Badge/Badge.d.ts +4 -0
  11. package/dist/components/Badge/Badge.d.ts.map +1 -0
  12. package/dist/components/Button/Button.d.ts +9 -0
  13. package/dist/components/Button/Button.d.ts.map +1 -0
  14. package/dist/components/Card/Card.d.ts +8 -0
  15. package/dist/components/Card/Card.d.ts.map +1 -0
  16. package/dist/components/Checkbox/Checkbox.d.ts +4 -0
  17. package/dist/components/Checkbox/Checkbox.d.ts.map +1 -0
  18. package/dist/components/Chip/Chip.d.ts +4 -0
  19. package/dist/components/Chip/Chip.d.ts.map +1 -0
  20. package/dist/components/Composer/Composer.d.ts +8 -0
  21. package/dist/components/Composer/Composer.d.ts.map +1 -0
  22. package/dist/components/ConversationItem/ConversationItem.d.ts +9 -0
  23. package/dist/components/ConversationItem/ConversationItem.d.ts.map +1 -0
  24. package/dist/components/Dialog/Dialog.d.ts +8 -0
  25. package/dist/components/Dialog/Dialog.d.ts.map +1 -0
  26. package/dist/components/Divider/Divider.d.ts +4 -0
  27. package/dist/components/Divider/Divider.d.ts.map +1 -0
  28. package/dist/components/Drawer/Drawer.d.ts +4 -0
  29. package/dist/components/Drawer/Drawer.d.ts.map +1 -0
  30. package/dist/components/IconButton/IconButton.d.ts +9 -0
  31. package/dist/components/IconButton/IconButton.d.ts.map +1 -0
  32. package/dist/components/Menu/Menu.d.ts +7 -0
  33. package/dist/components/Menu/Menu.d.ts.map +1 -0
  34. package/dist/components/MessageBubble/MessageBubble.d.ts +7 -0
  35. package/dist/components/MessageBubble/MessageBubble.d.ts.map +1 -0
  36. package/dist/components/Progress/Progress.d.ts +5 -0
  37. package/dist/components/Progress/Progress.d.ts.map +1 -0
  38. package/dist/components/Radio/Radio.d.ts +4 -0
  39. package/dist/components/Radio/Radio.d.ts.map +1 -0
  40. package/dist/components/Select/Select.d.ts +14 -0
  41. package/dist/components/Select/Select.d.ts.map +1 -0
  42. package/dist/components/Skeleton/Skeleton.d.ts +4 -0
  43. package/dist/components/Skeleton/Skeleton.d.ts.map +1 -0
  44. package/dist/components/Slider/Slider.d.ts +4 -0
  45. package/dist/components/Slider/Slider.d.ts.map +1 -0
  46. package/dist/components/Surface/Surface.d.ts +6 -0
  47. package/dist/components/Surface/Surface.d.ts.map +1 -0
  48. package/dist/components/Switch/Switch.d.ts +4 -0
  49. package/dist/components/Switch/Switch.d.ts.map +1 -0
  50. package/dist/components/Tabs/Tabs.d.ts +7 -0
  51. package/dist/components/Tabs/Tabs.d.ts.map +1 -0
  52. package/dist/components/TextField/TextField.d.ts +4 -0
  53. package/dist/components/TextField/TextField.d.ts.map +1 -0
  54. package/dist/components/Tooltip/Tooltip.d.ts +4 -0
  55. package/dist/components/Tooltip/Tooltip.d.ts.map +1 -0
  56. package/dist/components/utils/cn.d.ts +3 -0
  57. package/dist/components/utils/cn.d.ts.map +1 -0
  58. package/dist/index.cjs +2 -0
  59. package/dist/index.cjs.map +1 -0
  60. package/dist/index.d.cts +56 -0
  61. package/dist/index.d.ts +56 -0
  62. package/dist/index.d.ts.map +1 -0
  63. package/dist/index.js +3636 -0
  64. package/dist/index.js.map +1 -0
  65. package/dist/styles.css +1 -0
  66. package/dist/theme/createGrytTheme.d.ts +27 -0
  67. package/dist/theme/createGrytTheme.d.ts.map +1 -0
  68. package/package.json +92 -0
package/dist/index.js ADDED
@@ -0,0 +1,3636 @@
1
+ import { jsxs as q, jsx as u } from "react/jsx-runtime";
2
+ import _e from "@mui/material/CssBaseline";
3
+ import { createTheme as $e, ThemeProvider as Ue } from "@mui/material/styles";
4
+ import He from "@mui/material/Button";
5
+ import { forwardRef as h } from "react";
6
+ import Ye from "@mui/material/IconButton";
7
+ import qe from "@mui/material/Paper";
8
+ import Xe from "@mui/material/TextField";
9
+ import Je from "@mui/material/TextareaAutosize";
10
+ import Ae from "@mui/material/Avatar";
11
+ import Qe from "@mui/material/Badge";
12
+ import Ke from "@mui/material/Chip";
13
+ import Ze from "@mui/material/Checkbox";
14
+ import er from "@mui/material/Radio";
15
+ import rr from "@mui/material/Switch";
16
+ import or from "@mui/material/Slider";
17
+ import Se from "@mui/material/MenuItem";
18
+ import { default as $t } from "@mui/material/MenuItem";
19
+ import tr from "@mui/material/Tooltip";
20
+ import nr from "@mui/material/Divider";
21
+ import sr from "@mui/material/Card";
22
+ import ar from "@mui/material/CardActions";
23
+ import ir from "@mui/material/CardContent";
24
+ import lr from "@mui/material/CardHeader";
25
+ import cr from "@mui/material/Alert";
26
+ import dr from "@mui/material/CircularProgress";
27
+ import mr from "@mui/material/LinearProgress";
28
+ import ur from "@mui/material/Skeleton";
29
+ import pr from "@mui/material/Dialog";
30
+ import br from "@mui/material/DialogActions";
31
+ import fr from "@mui/material/DialogContent";
32
+ import gr from "@mui/material/DialogTitle";
33
+ import hr from "@mui/material/Drawer";
34
+ import yr from "@mui/material/Menu";
35
+ import xr from "@mui/material/Tab";
36
+ import kr from "@mui/material/Tabs";
37
+ import wr from "@mui/material/Accordion";
38
+ import vr from "@mui/material/AccordionDetails";
39
+ import Cr from "@mui/material/AccordionSummary";
40
+ const k = {
41
+ color: {
42
+ bg: "#111318",
43
+ surface: "#1a1d24",
44
+ surfaceRaised: "#1e2028",
45
+ border: "#2b303d",
46
+ text: "#e0e0e6",
47
+ muted: "#888888",
48
+ accent: "#968FF8",
49
+ accentLight: "#b4afff",
50
+ secondary: "#7dd3fc",
51
+ success: "#4ade80",
52
+ danger: "#f87171",
53
+ warning: "#fbbf24"
54
+ },
55
+ radius: {
56
+ sm: 8,
57
+ md: 12,
58
+ lg: 20,
59
+ xl: 28,
60
+ full: 999
61
+ }
62
+ };
63
+ function zr(e = {}) {
64
+ return $e({
65
+ palette: {
66
+ mode: "dark",
67
+ primary: {
68
+ main: k.color.accent,
69
+ light: k.color.accentLight,
70
+ dark: "#7e77df",
71
+ contrastText: "#141126"
72
+ },
73
+ secondary: {
74
+ main: k.color.secondary,
75
+ contrastText: "#07131c"
76
+ },
77
+ success: {
78
+ main: k.color.success
79
+ },
80
+ error: {
81
+ main: k.color.danger
82
+ },
83
+ warning: {
84
+ main: k.color.warning
85
+ },
86
+ background: {
87
+ default: k.color.bg,
88
+ paper: k.color.surface
89
+ },
90
+ text: {
91
+ primary: k.color.text,
92
+ secondary: k.color.muted
93
+ },
94
+ divider: k.color.border
95
+ },
96
+ typography: {
97
+ fontFamily: "Inter, ui-sans-serif, system-ui, sans-serif",
98
+ button: {
99
+ textTransform: "none",
100
+ fontWeight: 650
101
+ }
102
+ },
103
+ shape: {
104
+ borderRadius: k.radius.lg
105
+ },
106
+ components: {
107
+ MuiButton: {
108
+ defaultProps: {
109
+ disableElevation: !0
110
+ },
111
+ styleOverrides: {
112
+ root: {
113
+ borderRadius: k.radius.full,
114
+ minHeight: 40,
115
+ paddingInline: 20
116
+ }
117
+ }
118
+ },
119
+ MuiIconButton: {
120
+ styleOverrides: {
121
+ root: {
122
+ borderRadius: k.radius.full
123
+ }
124
+ }
125
+ },
126
+ MuiPaper: {
127
+ styleOverrides: {
128
+ root: {
129
+ backgroundImage: "none",
130
+ borderRadius: k.radius.lg
131
+ }
132
+ }
133
+ },
134
+ MuiOutlinedInput: {
135
+ styleOverrides: {
136
+ root: {
137
+ borderRadius: k.radius.xl
138
+ }
139
+ }
140
+ }
141
+ },
142
+ ...e
143
+ });
144
+ }
145
+ const Mr = zr();
146
+ function it({
147
+ children: e,
148
+ theme: r = Mr,
149
+ disableBaseline: t = !1
150
+ }) {
151
+ return /* @__PURE__ */ q(Ue, { theme: r, children: [
152
+ t ? null : /* @__PURE__ */ u(_e, {}),
153
+ e
154
+ ] });
155
+ }
156
+ function Ne(e) {
157
+ var r, t, o = "";
158
+ if (typeof e == "string" || typeof e == "number") o += e;
159
+ else if (typeof e == "object") if (Array.isArray(e)) {
160
+ var n = e.length;
161
+ for (r = 0; r < n; r++) e[r] && (t = Ne(e[r])) && (o && (o += " "), o += t);
162
+ } else for (t in e) e[t] && (o && (o += " "), o += t);
163
+ return o;
164
+ }
165
+ function Ar() {
166
+ for (var e, r, t = 0, o = "", n = arguments.length; t < n; t++) (e = arguments[t]) && (r = Ne(e)) && (o && (o += " "), o += r);
167
+ return o;
168
+ }
169
+ const Sr = (e, r) => {
170
+ const t = new Array(e.length + r.length);
171
+ for (let o = 0; o < e.length; o++)
172
+ t[o] = e[o];
173
+ for (let o = 0; o < r.length; o++)
174
+ t[e.length + o] = r[o];
175
+ return t;
176
+ }, Nr = (e, r) => ({
177
+ classGroupId: e,
178
+ validator: r
179
+ }), Ie = (e = /* @__PURE__ */ new Map(), r = null, t) => ({
180
+ nextPart: e,
181
+ validators: r,
182
+ classGroupId: t
183
+ }), oe = "-", ke = [], Ir = "arbitrary..", Tr = (e) => {
184
+ const r = Pr(e), {
185
+ conflictingClassGroups: t,
186
+ conflictingClassGroupModifiers: o
187
+ } = e;
188
+ return {
189
+ getClassGroupId: (i) => {
190
+ if (i.startsWith("[") && i.endsWith("]"))
191
+ return Rr(i);
192
+ const p = i.split(oe), g = p[0] === "" && p.length > 1 ? 1 : 0;
193
+ return Te(p, g, r);
194
+ },
195
+ getConflictingClassGroupIds: (i, p) => {
196
+ if (p) {
197
+ const g = o[i], m = t[i];
198
+ return g ? m ? Sr(m, g) : g : m || ke;
199
+ }
200
+ return t[i] || ke;
201
+ }
202
+ };
203
+ }, Te = (e, r, t) => {
204
+ if (e.length - r === 0)
205
+ return t.classGroupId;
206
+ const n = e[r], l = t.nextPart.get(n);
207
+ if (l) {
208
+ const m = Te(e, r + 1, l);
209
+ if (m) return m;
210
+ }
211
+ const i = t.validators;
212
+ if (i === null)
213
+ return;
214
+ const p = r === 0 ? e.join(oe) : e.slice(r).join(oe), g = i.length;
215
+ for (let m = 0; m < g; m++) {
216
+ const w = i[m];
217
+ if (w.validator(p))
218
+ return w.classGroupId;
219
+ }
220
+ }, Rr = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
221
+ const r = e.slice(1, -1), t = r.indexOf(":"), o = r.slice(0, t);
222
+ return o ? Ir + o : void 0;
223
+ })(), Pr = (e) => {
224
+ const {
225
+ theme: r,
226
+ classGroups: t
227
+ } = e;
228
+ return Gr(t, r);
229
+ }, Gr = (e, r) => {
230
+ const t = Ie();
231
+ for (const o in e) {
232
+ const n = e[o];
233
+ de(n, t, o, r);
234
+ }
235
+ return t;
236
+ }, de = (e, r, t, o) => {
237
+ const n = e.length;
238
+ for (let l = 0; l < n; l++) {
239
+ const i = e[l];
240
+ Lr(i, r, t, o);
241
+ }
242
+ }, Lr = (e, r, t, o) => {
243
+ if (typeof e == "string") {
244
+ Or(e, r, t);
245
+ return;
246
+ }
247
+ if (typeof e == "function") {
248
+ Br(e, r, t, o);
249
+ return;
250
+ }
251
+ jr(e, r, t, o);
252
+ }, Or = (e, r, t) => {
253
+ const o = e === "" ? r : Re(r, e);
254
+ o.classGroupId = t;
255
+ }, Br = (e, r, t, o) => {
256
+ if (Dr(e)) {
257
+ de(e(o), r, t, o);
258
+ return;
259
+ }
260
+ r.validators === null && (r.validators = []), r.validators.push(Nr(t, e));
261
+ }, jr = (e, r, t, o) => {
262
+ const n = Object.entries(e), l = n.length;
263
+ for (let i = 0; i < l; i++) {
264
+ const [p, g] = n[i];
265
+ de(g, Re(r, p), t, o);
266
+ }
267
+ }, Re = (e, r) => {
268
+ let t = e;
269
+ const o = r.split(oe), n = o.length;
270
+ for (let l = 0; l < n; l++) {
271
+ const i = o[l];
272
+ let p = t.nextPart.get(i);
273
+ p || (p = Ie(), t.nextPart.set(i, p)), t = p;
274
+ }
275
+ return t;
276
+ }, Dr = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Fr = (e) => {
277
+ if (e < 1)
278
+ return {
279
+ get: () => {
280
+ },
281
+ set: () => {
282
+ }
283
+ };
284
+ let r = 0, t = /* @__PURE__ */ Object.create(null), o = /* @__PURE__ */ Object.create(null);
285
+ const n = (l, i) => {
286
+ t[l] = i, r++, r > e && (r = 0, o = t, t = /* @__PURE__ */ Object.create(null));
287
+ };
288
+ return {
289
+ get(l) {
290
+ let i = t[l];
291
+ if (i !== void 0)
292
+ return i;
293
+ if ((i = o[l]) !== void 0)
294
+ return n(l, i), i;
295
+ },
296
+ set(l, i) {
297
+ l in t ? t[l] = i : n(l, i);
298
+ }
299
+ };
300
+ }, ce = "!", we = ":", Wr = [], ve = (e, r, t, o, n) => ({
301
+ modifiers: e,
302
+ hasImportantModifier: r,
303
+ baseClassName: t,
304
+ maybePostfixModifierPosition: o,
305
+ isExternal: n
306
+ }), Er = (e) => {
307
+ const {
308
+ prefix: r,
309
+ experimentalParseClassName: t
310
+ } = e;
311
+ let o = (n) => {
312
+ const l = [];
313
+ let i = 0, p = 0, g = 0, m;
314
+ const w = n.length;
315
+ for (let M = 0; M < w; M++) {
316
+ const N = n[M];
317
+ if (i === 0 && p === 0) {
318
+ if (N === we) {
319
+ l.push(n.slice(g, M)), g = M + 1;
320
+ continue;
321
+ }
322
+ if (N === "/") {
323
+ m = M;
324
+ continue;
325
+ }
326
+ }
327
+ N === "[" ? i++ : N === "]" ? i-- : N === "(" ? p++ : N === ")" && p--;
328
+ }
329
+ const v = l.length === 0 ? n : n.slice(g);
330
+ let B = v, T = !1;
331
+ v.endsWith(ce) ? (B = v.slice(0, -1), T = !0) : (
332
+ /**
333
+ * In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
334
+ * @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
335
+ */
336
+ v.startsWith(ce) && (B = v.slice(1), T = !0)
337
+ );
338
+ const U = m && m > g ? m - g : void 0;
339
+ return ve(l, T, B, U);
340
+ };
341
+ if (r) {
342
+ const n = r + we, l = o;
343
+ o = (i) => i.startsWith(n) ? l(i.slice(n.length)) : ve(Wr, !1, i, void 0, !0);
344
+ }
345
+ if (t) {
346
+ const n = o;
347
+ o = (l) => t({
348
+ className: l,
349
+ parseClassName: n
350
+ });
351
+ }
352
+ return o;
353
+ }, Vr = (e) => {
354
+ const r = /* @__PURE__ */ new Map();
355
+ return e.orderSensitiveModifiers.forEach((t, o) => {
356
+ r.set(t, 1e6 + o);
357
+ }), (t) => {
358
+ const o = [];
359
+ let n = [];
360
+ for (let l = 0; l < t.length; l++) {
361
+ const i = t[l], p = i[0] === "[", g = r.has(i);
362
+ p || g ? (n.length > 0 && (n.sort(), o.push(...n), n = []), o.push(i)) : n.push(i);
363
+ }
364
+ return n.length > 0 && (n.sort(), o.push(...n)), o;
365
+ };
366
+ }, _r = (e) => ({
367
+ cache: Fr(e.cacheSize),
368
+ parseClassName: Er(e),
369
+ sortModifiers: Vr(e),
370
+ postfixLookupClassGroupIds: $r(e),
371
+ ...Tr(e)
372
+ }), $r = (e) => {
373
+ const r = /* @__PURE__ */ Object.create(null), t = e.postfixLookupClassGroups;
374
+ if (t)
375
+ for (let o = 0; o < t.length; o++)
376
+ r[t[o]] = !0;
377
+ return r;
378
+ }, Ur = /\s+/, Hr = (e, r) => {
379
+ const {
380
+ parseClassName: t,
381
+ getClassGroupId: o,
382
+ getConflictingClassGroupIds: n,
383
+ sortModifiers: l,
384
+ postfixLookupClassGroupIds: i
385
+ } = r, p = [], g = e.trim().split(Ur);
386
+ let m = "";
387
+ for (let w = g.length - 1; w >= 0; w -= 1) {
388
+ const v = g[w], {
389
+ isExternal: B,
390
+ modifiers: T,
391
+ hasImportantModifier: U,
392
+ baseClassName: M,
393
+ maybePostfixModifierPosition: N
394
+ } = t(v);
395
+ if (B) {
396
+ m = v + (m.length > 0 ? " " + m : m);
397
+ continue;
398
+ }
399
+ let j = !!N, A;
400
+ if (j) {
401
+ const P = M.substring(0, N);
402
+ A = o(P);
403
+ const c = A && i[A] ? o(M) : void 0;
404
+ c && c !== A && (A = c, j = !1);
405
+ } else
406
+ A = o(M);
407
+ if (!A) {
408
+ if (!j) {
409
+ m = v + (m.length > 0 ? " " + m : m);
410
+ continue;
411
+ }
412
+ if (A = o(M), !A) {
413
+ m = v + (m.length > 0 ? " " + m : m);
414
+ continue;
415
+ }
416
+ j = !1;
417
+ }
418
+ const H = T.length === 0 ? "" : T.length === 1 ? T[0] : l(T).join(":"), E = U ? H + ce : H, V = E + A;
419
+ if (p.indexOf(V) > -1)
420
+ continue;
421
+ p.push(V);
422
+ const _ = n(A, j);
423
+ for (let P = 0; P < _.length; ++P) {
424
+ const c = _[P];
425
+ p.push(E + c);
426
+ }
427
+ m = v + (m.length > 0 ? " " + m : m);
428
+ }
429
+ return m;
430
+ }, Yr = (...e) => {
431
+ let r = 0, t, o, n = "";
432
+ for (; r < e.length; )
433
+ (t = e[r++]) && (o = Pe(t)) && (n && (n += " "), n += o);
434
+ return n;
435
+ }, Pe = (e) => {
436
+ if (typeof e == "string")
437
+ return e;
438
+ let r, t = "";
439
+ for (let o = 0; o < e.length; o++)
440
+ e[o] && (r = Pe(e[o])) && (t && (t += " "), t += r);
441
+ return t;
442
+ }, qr = (e, ...r) => {
443
+ let t, o, n, l;
444
+ const i = (g) => {
445
+ const m = r.reduce((w, v) => v(w), e());
446
+ return t = _r(m), o = t.cache.get, n = t.cache.set, l = p, p(g);
447
+ }, p = (g) => {
448
+ const m = o(g);
449
+ if (m)
450
+ return m;
451
+ const w = Hr(g, t);
452
+ return n(g, w), w;
453
+ };
454
+ return l = i, (...g) => l(Yr(...g));
455
+ }, Xr = [], y = (e) => {
456
+ const r = (t) => t[e] || Xr;
457
+ return r.isThemeGetter = !0, r;
458
+ }, Ge = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Le = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Jr = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Qr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Kr = /\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$/, Zr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, eo = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, ro = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, L = (e) => Jr.test(e), b = (e) => !!e && !Number.isNaN(Number(e)), R = (e) => !!e && Number.isInteger(Number(e)), le = (e) => e.endsWith("%") && b(e.slice(0, -1)), G = (e) => Qr.test(e), Oe = () => !0, oo = (e) => (
459
+ // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
460
+ // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
461
+ // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
462
+ Kr.test(e) && !Zr.test(e)
463
+ ), me = () => !1, to = (e) => eo.test(e), no = (e) => ro.test(e), so = (e) => !s(e) && !a(e), ao = (e) => e.startsWith("@container") && (e[10] === "/" && e[11] !== void 0 || e[11] === "s" && e[16] !== void 0 && e.startsWith("-size/", 10) || e[11] === "n" && e[18] !== void 0 && e.startsWith("-normal/", 10)), io = (e) => O(e, De, me), s = (e) => Ge.test(e), F = (e) => O(e, Fe, oo), Ce = (e) => O(e, go, b), lo = (e) => O(e, Ee, Oe), co = (e) => O(e, We, me), ze = (e) => O(e, Be, me), mo = (e) => O(e, je, no), ee = (e) => O(e, Ve, to), a = (e) => Le.test(e), Y = (e) => W(e, Fe), uo = (e) => W(e, We), Me = (e) => W(e, Be), po = (e) => W(e, De), bo = (e) => W(e, je), re = (e) => W(e, Ve, !0), fo = (e) => W(e, Ee, !0), O = (e, r, t) => {
464
+ const o = Ge.exec(e);
465
+ return o ? o[1] ? r(o[1]) : t(o[2]) : !1;
466
+ }, W = (e, r, t = !1) => {
467
+ const o = Le.exec(e);
468
+ return o ? o[1] ? r(o[1]) : t : !1;
469
+ }, Be = (e) => e === "position" || e === "percentage", je = (e) => e === "image" || e === "url", De = (e) => e === "length" || e === "size" || e === "bg-size", Fe = (e) => e === "length", go = (e) => e === "number", We = (e) => e === "family-name", Ee = (e) => e === "number" || e === "weight", Ve = (e) => e === "shadow", ho = () => {
470
+ const e = y("color"), r = y("font"), t = y("text"), o = y("font-weight"), n = y("tracking"), l = y("leading"), i = y("breakpoint"), p = y("container"), g = y("spacing"), m = y("radius"), w = y("shadow"), v = y("inset-shadow"), B = y("text-shadow"), T = y("drop-shadow"), U = y("blur"), M = y("perspective"), N = y("aspect"), j = y("ease"), A = y("animate"), H = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], E = () => [
471
+ "center",
472
+ "top",
473
+ "bottom",
474
+ "left",
475
+ "right",
476
+ "top-left",
477
+ // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
478
+ "left-top",
479
+ "top-right",
480
+ // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
481
+ "right-top",
482
+ "bottom-right",
483
+ // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
484
+ "right-bottom",
485
+ "bottom-left",
486
+ // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
487
+ "left-bottom"
488
+ ], V = () => [...E(), a, s], _ = () => ["auto", "hidden", "clip", "visible", "scroll"], P = () => ["auto", "contain", "none"], c = () => [a, s, g], S = () => [L, "full", "auto", ...c()], ue = () => [R, "none", "subgrid", a, s], pe = () => ["auto", {
489
+ span: ["full", R, a, s]
490
+ }, R, a, s], X = () => [R, "auto", a, s], be = () => ["auto", "min", "max", "fr", a, s], te = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], $ = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], I = () => ["auto", ...c()], D = () => [L, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...c()], ne = () => [L, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...c()], se = () => [L, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...c()], d = () => [e, a, s], fe = () => [...E(), Me, ze, {
491
+ position: [a, s]
492
+ }], ge = () => ["no-repeat", {
493
+ repeat: ["", "x", "y", "space", "round"]
494
+ }], he = () => ["auto", "cover", "contain", po, io, {
495
+ size: [a, s]
496
+ }], ae = () => [le, Y, F], C = () => [
497
+ // Deprecated since Tailwind CSS v4.0.0
498
+ "",
499
+ "none",
500
+ "full",
501
+ m,
502
+ a,
503
+ s
504
+ ], z = () => ["", b, Y, F], J = () => ["solid", "dashed", "dotted", "double"], ye = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], x = () => [b, le, Me, ze], xe = () => [
505
+ // Deprecated since Tailwind CSS v4.0.0
506
+ "",
507
+ "none",
508
+ U,
509
+ a,
510
+ s
511
+ ], Q = () => ["none", b, a, s], K = () => ["none", b, a, s], ie = () => [b, a, s], Z = () => [L, "full", ...c()];
512
+ return {
513
+ cacheSize: 500,
514
+ theme: {
515
+ animate: ["spin", "ping", "pulse", "bounce"],
516
+ aspect: ["video"],
517
+ blur: [G],
518
+ breakpoint: [G],
519
+ color: [Oe],
520
+ container: [G],
521
+ "drop-shadow": [G],
522
+ ease: ["in", "out", "in-out"],
523
+ font: [so],
524
+ "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
525
+ "inset-shadow": [G],
526
+ leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
527
+ perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
528
+ radius: [G],
529
+ shadow: [G],
530
+ spacing: ["px", b],
531
+ text: [G],
532
+ "text-shadow": [G],
533
+ tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
534
+ },
535
+ classGroups: {
536
+ // --------------
537
+ // --- Layout ---
538
+ // --------------
539
+ /**
540
+ * Aspect Ratio
541
+ * @see https://tailwindcss.com/docs/aspect-ratio
542
+ */
543
+ aspect: [{
544
+ aspect: ["auto", "square", L, s, a, N]
545
+ }],
546
+ /**
547
+ * Container
548
+ * @see https://tailwindcss.com/docs/container
549
+ * @deprecated since Tailwind CSS v4.0.0
550
+ */
551
+ container: ["container"],
552
+ /**
553
+ * Container Type
554
+ * @see https://tailwindcss.com/docs/responsive-design#container-queries
555
+ */
556
+ "container-type": [{
557
+ "@container": ["", "normal", "size", a, s]
558
+ }],
559
+ /**
560
+ * Container Name
561
+ * @see https://tailwindcss.com/docs/responsive-design#named-containers
562
+ */
563
+ "container-named": [ao],
564
+ /**
565
+ * Columns
566
+ * @see https://tailwindcss.com/docs/columns
567
+ */
568
+ columns: [{
569
+ columns: [b, s, a, p]
570
+ }],
571
+ /**
572
+ * Break After
573
+ * @see https://tailwindcss.com/docs/break-after
574
+ */
575
+ "break-after": [{
576
+ "break-after": H()
577
+ }],
578
+ /**
579
+ * Break Before
580
+ * @see https://tailwindcss.com/docs/break-before
581
+ */
582
+ "break-before": [{
583
+ "break-before": H()
584
+ }],
585
+ /**
586
+ * Break Inside
587
+ * @see https://tailwindcss.com/docs/break-inside
588
+ */
589
+ "break-inside": [{
590
+ "break-inside": ["auto", "avoid", "avoid-page", "avoid-column"]
591
+ }],
592
+ /**
593
+ * Box Decoration Break
594
+ * @see https://tailwindcss.com/docs/box-decoration-break
595
+ */
596
+ "box-decoration": [{
597
+ "box-decoration": ["slice", "clone"]
598
+ }],
599
+ /**
600
+ * Box Sizing
601
+ * @see https://tailwindcss.com/docs/box-sizing
602
+ */
603
+ box: [{
604
+ box: ["border", "content"]
605
+ }],
606
+ /**
607
+ * Display
608
+ * @see https://tailwindcss.com/docs/display
609
+ */
610
+ display: ["block", "inline-block", "inline", "flex", "inline-flex", "table", "inline-table", "table-caption", "table-cell", "table-column", "table-column-group", "table-footer-group", "table-header-group", "table-row-group", "table-row", "flow-root", "grid", "inline-grid", "contents", "list-item", "hidden"],
611
+ /**
612
+ * Screen Reader Only
613
+ * @see https://tailwindcss.com/docs/display#screen-reader-only
614
+ */
615
+ sr: ["sr-only", "not-sr-only"],
616
+ /**
617
+ * Floats
618
+ * @see https://tailwindcss.com/docs/float
619
+ */
620
+ float: [{
621
+ float: ["right", "left", "none", "start", "end"]
622
+ }],
623
+ /**
624
+ * Clear
625
+ * @see https://tailwindcss.com/docs/clear
626
+ */
627
+ clear: [{
628
+ clear: ["left", "right", "both", "none", "start", "end"]
629
+ }],
630
+ /**
631
+ * Isolation
632
+ * @see https://tailwindcss.com/docs/isolation
633
+ */
634
+ isolation: ["isolate", "isolation-auto"],
635
+ /**
636
+ * Object Fit
637
+ * @see https://tailwindcss.com/docs/object-fit
638
+ */
639
+ "object-fit": [{
640
+ object: ["contain", "cover", "fill", "none", "scale-down"]
641
+ }],
642
+ /**
643
+ * Object Position
644
+ * @see https://tailwindcss.com/docs/object-position
645
+ */
646
+ "object-position": [{
647
+ object: V()
648
+ }],
649
+ /**
650
+ * Overflow
651
+ * @see https://tailwindcss.com/docs/overflow
652
+ */
653
+ overflow: [{
654
+ overflow: _()
655
+ }],
656
+ /**
657
+ * Overflow X
658
+ * @see https://tailwindcss.com/docs/overflow
659
+ */
660
+ "overflow-x": [{
661
+ "overflow-x": _()
662
+ }],
663
+ /**
664
+ * Overflow Y
665
+ * @see https://tailwindcss.com/docs/overflow
666
+ */
667
+ "overflow-y": [{
668
+ "overflow-y": _()
669
+ }],
670
+ /**
671
+ * Overscroll Behavior
672
+ * @see https://tailwindcss.com/docs/overscroll-behavior
673
+ */
674
+ overscroll: [{
675
+ overscroll: P()
676
+ }],
677
+ /**
678
+ * Overscroll Behavior X
679
+ * @see https://tailwindcss.com/docs/overscroll-behavior
680
+ */
681
+ "overscroll-x": [{
682
+ "overscroll-x": P()
683
+ }],
684
+ /**
685
+ * Overscroll Behavior Y
686
+ * @see https://tailwindcss.com/docs/overscroll-behavior
687
+ */
688
+ "overscroll-y": [{
689
+ "overscroll-y": P()
690
+ }],
691
+ /**
692
+ * Position
693
+ * @see https://tailwindcss.com/docs/position
694
+ */
695
+ position: ["static", "fixed", "absolute", "relative", "sticky"],
696
+ /**
697
+ * Inset
698
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
699
+ */
700
+ inset: [{
701
+ inset: S()
702
+ }],
703
+ /**
704
+ * Inset Inline
705
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
706
+ */
707
+ "inset-x": [{
708
+ "inset-x": S()
709
+ }],
710
+ /**
711
+ * Inset Block
712
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
713
+ */
714
+ "inset-y": [{
715
+ "inset-y": S()
716
+ }],
717
+ /**
718
+ * Inset Inline Start
719
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
720
+ * @todo class group will be renamed to `inset-s` in next major release
721
+ */
722
+ start: [{
723
+ "inset-s": S(),
724
+ /**
725
+ * @deprecated since Tailwind CSS v4.2.0 in favor of `inset-s-*` utilities.
726
+ * @see https://github.com/tailwindlabs/tailwindcss/pull/19613
727
+ */
728
+ start: S()
729
+ }],
730
+ /**
731
+ * Inset Inline End
732
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
733
+ * @todo class group will be renamed to `inset-e` in next major release
734
+ */
735
+ end: [{
736
+ "inset-e": S(),
737
+ /**
738
+ * @deprecated since Tailwind CSS v4.2.0 in favor of `inset-e-*` utilities.
739
+ * @see https://github.com/tailwindlabs/tailwindcss/pull/19613
740
+ */
741
+ end: S()
742
+ }],
743
+ /**
744
+ * Inset Block Start
745
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
746
+ */
747
+ "inset-bs": [{
748
+ "inset-bs": S()
749
+ }],
750
+ /**
751
+ * Inset Block End
752
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
753
+ */
754
+ "inset-be": [{
755
+ "inset-be": S()
756
+ }],
757
+ /**
758
+ * Top
759
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
760
+ */
761
+ top: [{
762
+ top: S()
763
+ }],
764
+ /**
765
+ * Right
766
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
767
+ */
768
+ right: [{
769
+ right: S()
770
+ }],
771
+ /**
772
+ * Bottom
773
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
774
+ */
775
+ bottom: [{
776
+ bottom: S()
777
+ }],
778
+ /**
779
+ * Left
780
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
781
+ */
782
+ left: [{
783
+ left: S()
784
+ }],
785
+ /**
786
+ * Visibility
787
+ * @see https://tailwindcss.com/docs/visibility
788
+ */
789
+ visibility: ["visible", "invisible", "collapse"],
790
+ /**
791
+ * Z-Index
792
+ * @see https://tailwindcss.com/docs/z-index
793
+ */
794
+ z: [{
795
+ z: [R, "auto", a, s]
796
+ }],
797
+ // ------------------------
798
+ // --- Flexbox and Grid ---
799
+ // ------------------------
800
+ /**
801
+ * Flex Basis
802
+ * @see https://tailwindcss.com/docs/flex-basis
803
+ */
804
+ basis: [{
805
+ basis: [L, "full", "auto", p, ...c()]
806
+ }],
807
+ /**
808
+ * Flex Direction
809
+ * @see https://tailwindcss.com/docs/flex-direction
810
+ */
811
+ "flex-direction": [{
812
+ flex: ["row", "row-reverse", "col", "col-reverse"]
813
+ }],
814
+ /**
815
+ * Flex Wrap
816
+ * @see https://tailwindcss.com/docs/flex-wrap
817
+ */
818
+ "flex-wrap": [{
819
+ flex: ["nowrap", "wrap", "wrap-reverse"]
820
+ }],
821
+ /**
822
+ * Flex
823
+ * @see https://tailwindcss.com/docs/flex
824
+ */
825
+ flex: [{
826
+ flex: [b, L, "auto", "initial", "none", s]
827
+ }],
828
+ /**
829
+ * Flex Grow
830
+ * @see https://tailwindcss.com/docs/flex-grow
831
+ */
832
+ grow: [{
833
+ grow: ["", b, a, s]
834
+ }],
835
+ /**
836
+ * Flex Shrink
837
+ * @see https://tailwindcss.com/docs/flex-shrink
838
+ */
839
+ shrink: [{
840
+ shrink: ["", b, a, s]
841
+ }],
842
+ /**
843
+ * Order
844
+ * @see https://tailwindcss.com/docs/order
845
+ */
846
+ order: [{
847
+ order: [R, "first", "last", "none", a, s]
848
+ }],
849
+ /**
850
+ * Grid Template Columns
851
+ * @see https://tailwindcss.com/docs/grid-template-columns
852
+ */
853
+ "grid-cols": [{
854
+ "grid-cols": ue()
855
+ }],
856
+ /**
857
+ * Grid Column Start / End
858
+ * @see https://tailwindcss.com/docs/grid-column
859
+ */
860
+ "col-start-end": [{
861
+ col: pe()
862
+ }],
863
+ /**
864
+ * Grid Column Start
865
+ * @see https://tailwindcss.com/docs/grid-column
866
+ */
867
+ "col-start": [{
868
+ "col-start": X()
869
+ }],
870
+ /**
871
+ * Grid Column End
872
+ * @see https://tailwindcss.com/docs/grid-column
873
+ */
874
+ "col-end": [{
875
+ "col-end": X()
876
+ }],
877
+ /**
878
+ * Grid Template Rows
879
+ * @see https://tailwindcss.com/docs/grid-template-rows
880
+ */
881
+ "grid-rows": [{
882
+ "grid-rows": ue()
883
+ }],
884
+ /**
885
+ * Grid Row Start / End
886
+ * @see https://tailwindcss.com/docs/grid-row
887
+ */
888
+ "row-start-end": [{
889
+ row: pe()
890
+ }],
891
+ /**
892
+ * Grid Row Start
893
+ * @see https://tailwindcss.com/docs/grid-row
894
+ */
895
+ "row-start": [{
896
+ "row-start": X()
897
+ }],
898
+ /**
899
+ * Grid Row End
900
+ * @see https://tailwindcss.com/docs/grid-row
901
+ */
902
+ "row-end": [{
903
+ "row-end": X()
904
+ }],
905
+ /**
906
+ * Grid Auto Flow
907
+ * @see https://tailwindcss.com/docs/grid-auto-flow
908
+ */
909
+ "grid-flow": [{
910
+ "grid-flow": ["row", "col", "dense", "row-dense", "col-dense"]
911
+ }],
912
+ /**
913
+ * Grid Auto Columns
914
+ * @see https://tailwindcss.com/docs/grid-auto-columns
915
+ */
916
+ "auto-cols": [{
917
+ "auto-cols": be()
918
+ }],
919
+ /**
920
+ * Grid Auto Rows
921
+ * @see https://tailwindcss.com/docs/grid-auto-rows
922
+ */
923
+ "auto-rows": [{
924
+ "auto-rows": be()
925
+ }],
926
+ /**
927
+ * Gap
928
+ * @see https://tailwindcss.com/docs/gap
929
+ */
930
+ gap: [{
931
+ gap: c()
932
+ }],
933
+ /**
934
+ * Gap X
935
+ * @see https://tailwindcss.com/docs/gap
936
+ */
937
+ "gap-x": [{
938
+ "gap-x": c()
939
+ }],
940
+ /**
941
+ * Gap Y
942
+ * @see https://tailwindcss.com/docs/gap
943
+ */
944
+ "gap-y": [{
945
+ "gap-y": c()
946
+ }],
947
+ /**
948
+ * Justify Content
949
+ * @see https://tailwindcss.com/docs/justify-content
950
+ */
951
+ "justify-content": [{
952
+ justify: [...te(), "normal"]
953
+ }],
954
+ /**
955
+ * Justify Items
956
+ * @see https://tailwindcss.com/docs/justify-items
957
+ */
958
+ "justify-items": [{
959
+ "justify-items": [...$(), "normal"]
960
+ }],
961
+ /**
962
+ * Justify Self
963
+ * @see https://tailwindcss.com/docs/justify-self
964
+ */
965
+ "justify-self": [{
966
+ "justify-self": ["auto", ...$()]
967
+ }],
968
+ /**
969
+ * Align Content
970
+ * @see https://tailwindcss.com/docs/align-content
971
+ */
972
+ "align-content": [{
973
+ content: ["normal", ...te()]
974
+ }],
975
+ /**
976
+ * Align Items
977
+ * @see https://tailwindcss.com/docs/align-items
978
+ */
979
+ "align-items": [{
980
+ items: [...$(), {
981
+ baseline: ["", "last"]
982
+ }]
983
+ }],
984
+ /**
985
+ * Align Self
986
+ * @see https://tailwindcss.com/docs/align-self
987
+ */
988
+ "align-self": [{
989
+ self: ["auto", ...$(), {
990
+ baseline: ["", "last"]
991
+ }]
992
+ }],
993
+ /**
994
+ * Place Content
995
+ * @see https://tailwindcss.com/docs/place-content
996
+ */
997
+ "place-content": [{
998
+ "place-content": te()
999
+ }],
1000
+ /**
1001
+ * Place Items
1002
+ * @see https://tailwindcss.com/docs/place-items
1003
+ */
1004
+ "place-items": [{
1005
+ "place-items": [...$(), "baseline"]
1006
+ }],
1007
+ /**
1008
+ * Place Self
1009
+ * @see https://tailwindcss.com/docs/place-self
1010
+ */
1011
+ "place-self": [{
1012
+ "place-self": ["auto", ...$()]
1013
+ }],
1014
+ // Spacing
1015
+ /**
1016
+ * Padding
1017
+ * @see https://tailwindcss.com/docs/padding
1018
+ */
1019
+ p: [{
1020
+ p: c()
1021
+ }],
1022
+ /**
1023
+ * Padding Inline
1024
+ * @see https://tailwindcss.com/docs/padding
1025
+ */
1026
+ px: [{
1027
+ px: c()
1028
+ }],
1029
+ /**
1030
+ * Padding Block
1031
+ * @see https://tailwindcss.com/docs/padding
1032
+ */
1033
+ py: [{
1034
+ py: c()
1035
+ }],
1036
+ /**
1037
+ * Padding Inline Start
1038
+ * @see https://tailwindcss.com/docs/padding
1039
+ */
1040
+ ps: [{
1041
+ ps: c()
1042
+ }],
1043
+ /**
1044
+ * Padding Inline End
1045
+ * @see https://tailwindcss.com/docs/padding
1046
+ */
1047
+ pe: [{
1048
+ pe: c()
1049
+ }],
1050
+ /**
1051
+ * Padding Block Start
1052
+ * @see https://tailwindcss.com/docs/padding
1053
+ */
1054
+ pbs: [{
1055
+ pbs: c()
1056
+ }],
1057
+ /**
1058
+ * Padding Block End
1059
+ * @see https://tailwindcss.com/docs/padding
1060
+ */
1061
+ pbe: [{
1062
+ pbe: c()
1063
+ }],
1064
+ /**
1065
+ * Padding Top
1066
+ * @see https://tailwindcss.com/docs/padding
1067
+ */
1068
+ pt: [{
1069
+ pt: c()
1070
+ }],
1071
+ /**
1072
+ * Padding Right
1073
+ * @see https://tailwindcss.com/docs/padding
1074
+ */
1075
+ pr: [{
1076
+ pr: c()
1077
+ }],
1078
+ /**
1079
+ * Padding Bottom
1080
+ * @see https://tailwindcss.com/docs/padding
1081
+ */
1082
+ pb: [{
1083
+ pb: c()
1084
+ }],
1085
+ /**
1086
+ * Padding Left
1087
+ * @see https://tailwindcss.com/docs/padding
1088
+ */
1089
+ pl: [{
1090
+ pl: c()
1091
+ }],
1092
+ /**
1093
+ * Margin
1094
+ * @see https://tailwindcss.com/docs/margin
1095
+ */
1096
+ m: [{
1097
+ m: I()
1098
+ }],
1099
+ /**
1100
+ * Margin Inline
1101
+ * @see https://tailwindcss.com/docs/margin
1102
+ */
1103
+ mx: [{
1104
+ mx: I()
1105
+ }],
1106
+ /**
1107
+ * Margin Block
1108
+ * @see https://tailwindcss.com/docs/margin
1109
+ */
1110
+ my: [{
1111
+ my: I()
1112
+ }],
1113
+ /**
1114
+ * Margin Inline Start
1115
+ * @see https://tailwindcss.com/docs/margin
1116
+ */
1117
+ ms: [{
1118
+ ms: I()
1119
+ }],
1120
+ /**
1121
+ * Margin Inline End
1122
+ * @see https://tailwindcss.com/docs/margin
1123
+ */
1124
+ me: [{
1125
+ me: I()
1126
+ }],
1127
+ /**
1128
+ * Margin Block Start
1129
+ * @see https://tailwindcss.com/docs/margin
1130
+ */
1131
+ mbs: [{
1132
+ mbs: I()
1133
+ }],
1134
+ /**
1135
+ * Margin Block End
1136
+ * @see https://tailwindcss.com/docs/margin
1137
+ */
1138
+ mbe: [{
1139
+ mbe: I()
1140
+ }],
1141
+ /**
1142
+ * Margin Top
1143
+ * @see https://tailwindcss.com/docs/margin
1144
+ */
1145
+ mt: [{
1146
+ mt: I()
1147
+ }],
1148
+ /**
1149
+ * Margin Right
1150
+ * @see https://tailwindcss.com/docs/margin
1151
+ */
1152
+ mr: [{
1153
+ mr: I()
1154
+ }],
1155
+ /**
1156
+ * Margin Bottom
1157
+ * @see https://tailwindcss.com/docs/margin
1158
+ */
1159
+ mb: [{
1160
+ mb: I()
1161
+ }],
1162
+ /**
1163
+ * Margin Left
1164
+ * @see https://tailwindcss.com/docs/margin
1165
+ */
1166
+ ml: [{
1167
+ ml: I()
1168
+ }],
1169
+ /**
1170
+ * Space Between X
1171
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1172
+ */
1173
+ "space-x": [{
1174
+ "space-x": c()
1175
+ }],
1176
+ /**
1177
+ * Space Between X Reverse
1178
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1179
+ */
1180
+ "space-x-reverse": ["space-x-reverse"],
1181
+ /**
1182
+ * Space Between Y
1183
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1184
+ */
1185
+ "space-y": [{
1186
+ "space-y": c()
1187
+ }],
1188
+ /**
1189
+ * Space Between Y Reverse
1190
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1191
+ */
1192
+ "space-y-reverse": ["space-y-reverse"],
1193
+ // --------------
1194
+ // --- Sizing ---
1195
+ // --------------
1196
+ /**
1197
+ * Size
1198
+ * @see https://tailwindcss.com/docs/width#setting-both-width-and-height
1199
+ */
1200
+ size: [{
1201
+ size: D()
1202
+ }],
1203
+ /**
1204
+ * Inline Size
1205
+ * @see https://tailwindcss.com/docs/width
1206
+ */
1207
+ "inline-size": [{
1208
+ inline: ["auto", ...ne()]
1209
+ }],
1210
+ /**
1211
+ * Min-Inline Size
1212
+ * @see https://tailwindcss.com/docs/min-width
1213
+ */
1214
+ "min-inline-size": [{
1215
+ "min-inline": ["auto", ...ne()]
1216
+ }],
1217
+ /**
1218
+ * Max-Inline Size
1219
+ * @see https://tailwindcss.com/docs/max-width
1220
+ */
1221
+ "max-inline-size": [{
1222
+ "max-inline": ["none", ...ne()]
1223
+ }],
1224
+ /**
1225
+ * Block Size
1226
+ * @see https://tailwindcss.com/docs/height
1227
+ */
1228
+ "block-size": [{
1229
+ block: ["auto", ...se()]
1230
+ }],
1231
+ /**
1232
+ * Min-Block Size
1233
+ * @see https://tailwindcss.com/docs/min-height
1234
+ */
1235
+ "min-block-size": [{
1236
+ "min-block": ["auto", ...se()]
1237
+ }],
1238
+ /**
1239
+ * Max-Block Size
1240
+ * @see https://tailwindcss.com/docs/max-height
1241
+ */
1242
+ "max-block-size": [{
1243
+ "max-block": ["none", ...se()]
1244
+ }],
1245
+ /**
1246
+ * Width
1247
+ * @see https://tailwindcss.com/docs/width
1248
+ */
1249
+ w: [{
1250
+ w: [p, "screen", ...D()]
1251
+ }],
1252
+ /**
1253
+ * Min-Width
1254
+ * @see https://tailwindcss.com/docs/min-width
1255
+ */
1256
+ "min-w": [{
1257
+ "min-w": [
1258
+ p,
1259
+ "screen",
1260
+ /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1261
+ "none",
1262
+ ...D()
1263
+ ]
1264
+ }],
1265
+ /**
1266
+ * Max-Width
1267
+ * @see https://tailwindcss.com/docs/max-width
1268
+ */
1269
+ "max-w": [{
1270
+ "max-w": [
1271
+ p,
1272
+ "screen",
1273
+ "none",
1274
+ /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1275
+ "prose",
1276
+ /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1277
+ {
1278
+ screen: [i]
1279
+ },
1280
+ ...D()
1281
+ ]
1282
+ }],
1283
+ /**
1284
+ * Height
1285
+ * @see https://tailwindcss.com/docs/height
1286
+ */
1287
+ h: [{
1288
+ h: ["screen", "lh", ...D()]
1289
+ }],
1290
+ /**
1291
+ * Min-Height
1292
+ * @see https://tailwindcss.com/docs/min-height
1293
+ */
1294
+ "min-h": [{
1295
+ "min-h": ["screen", "lh", "none", ...D()]
1296
+ }],
1297
+ /**
1298
+ * Max-Height
1299
+ * @see https://tailwindcss.com/docs/max-height
1300
+ */
1301
+ "max-h": [{
1302
+ "max-h": ["screen", "lh", ...D()]
1303
+ }],
1304
+ // ------------------
1305
+ // --- Typography ---
1306
+ // ------------------
1307
+ /**
1308
+ * Font Size
1309
+ * @see https://tailwindcss.com/docs/font-size
1310
+ */
1311
+ "font-size": [{
1312
+ text: ["base", t, Y, F]
1313
+ }],
1314
+ /**
1315
+ * Font Smoothing
1316
+ * @see https://tailwindcss.com/docs/font-smoothing
1317
+ */
1318
+ "font-smoothing": ["antialiased", "subpixel-antialiased"],
1319
+ /**
1320
+ * Font Style
1321
+ * @see https://tailwindcss.com/docs/font-style
1322
+ */
1323
+ "font-style": ["italic", "not-italic"],
1324
+ /**
1325
+ * Font Weight
1326
+ * @see https://tailwindcss.com/docs/font-weight
1327
+ */
1328
+ "font-weight": [{
1329
+ font: [o, fo, lo]
1330
+ }],
1331
+ /**
1332
+ * Font Stretch
1333
+ * @see https://tailwindcss.com/docs/font-stretch
1334
+ */
1335
+ "font-stretch": [{
1336
+ "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", le, s]
1337
+ }],
1338
+ /**
1339
+ * Font Family
1340
+ * @see https://tailwindcss.com/docs/font-family
1341
+ */
1342
+ "font-family": [{
1343
+ font: [uo, co, r]
1344
+ }],
1345
+ /**
1346
+ * Font Feature Settings
1347
+ * @see https://tailwindcss.com/docs/font-feature-settings
1348
+ */
1349
+ "font-features": [{
1350
+ "font-features": [s]
1351
+ }],
1352
+ /**
1353
+ * Font Variant Numeric
1354
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1355
+ */
1356
+ "fvn-normal": ["normal-nums"],
1357
+ /**
1358
+ * Font Variant Numeric
1359
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1360
+ */
1361
+ "fvn-ordinal": ["ordinal"],
1362
+ /**
1363
+ * Font Variant Numeric
1364
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1365
+ */
1366
+ "fvn-slashed-zero": ["slashed-zero"],
1367
+ /**
1368
+ * Font Variant Numeric
1369
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1370
+ */
1371
+ "fvn-figure": ["lining-nums", "oldstyle-nums"],
1372
+ /**
1373
+ * Font Variant Numeric
1374
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1375
+ */
1376
+ "fvn-spacing": ["proportional-nums", "tabular-nums"],
1377
+ /**
1378
+ * Font Variant Numeric
1379
+ * @see https://tailwindcss.com/docs/font-variant-numeric
1380
+ */
1381
+ "fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
1382
+ /**
1383
+ * Letter Spacing
1384
+ * @see https://tailwindcss.com/docs/letter-spacing
1385
+ */
1386
+ tracking: [{
1387
+ tracking: [n, a, s]
1388
+ }],
1389
+ /**
1390
+ * Line Clamp
1391
+ * @see https://tailwindcss.com/docs/line-clamp
1392
+ */
1393
+ "line-clamp": [{
1394
+ "line-clamp": [b, "none", a, Ce]
1395
+ }],
1396
+ /**
1397
+ * Line Height
1398
+ * @see https://tailwindcss.com/docs/line-height
1399
+ */
1400
+ leading: [{
1401
+ leading: [
1402
+ /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1403
+ l,
1404
+ ...c()
1405
+ ]
1406
+ }],
1407
+ /**
1408
+ * List Style Image
1409
+ * @see https://tailwindcss.com/docs/list-style-image
1410
+ */
1411
+ "list-image": [{
1412
+ "list-image": ["none", a, s]
1413
+ }],
1414
+ /**
1415
+ * List Style Position
1416
+ * @see https://tailwindcss.com/docs/list-style-position
1417
+ */
1418
+ "list-style-position": [{
1419
+ list: ["inside", "outside"]
1420
+ }],
1421
+ /**
1422
+ * List Style Type
1423
+ * @see https://tailwindcss.com/docs/list-style-type
1424
+ */
1425
+ "list-style-type": [{
1426
+ list: ["disc", "decimal", "none", a, s]
1427
+ }],
1428
+ /**
1429
+ * Text Alignment
1430
+ * @see https://tailwindcss.com/docs/text-align
1431
+ */
1432
+ "text-alignment": [{
1433
+ text: ["left", "center", "right", "justify", "start", "end"]
1434
+ }],
1435
+ /**
1436
+ * Placeholder Color
1437
+ * @deprecated since Tailwind CSS v3.0.0
1438
+ * @see https://v3.tailwindcss.com/docs/placeholder-color
1439
+ */
1440
+ "placeholder-color": [{
1441
+ placeholder: d()
1442
+ }],
1443
+ /**
1444
+ * Text Color
1445
+ * @see https://tailwindcss.com/docs/text-color
1446
+ */
1447
+ "text-color": [{
1448
+ text: d()
1449
+ }],
1450
+ /**
1451
+ * Text Decoration
1452
+ * @see https://tailwindcss.com/docs/text-decoration
1453
+ */
1454
+ "text-decoration": ["underline", "overline", "line-through", "no-underline"],
1455
+ /**
1456
+ * Text Decoration Style
1457
+ * @see https://tailwindcss.com/docs/text-decoration-style
1458
+ */
1459
+ "text-decoration-style": [{
1460
+ decoration: [...J(), "wavy"]
1461
+ }],
1462
+ /**
1463
+ * Text Decoration Thickness
1464
+ * @see https://tailwindcss.com/docs/text-decoration-thickness
1465
+ */
1466
+ "text-decoration-thickness": [{
1467
+ decoration: [b, "from-font", "auto", a, F]
1468
+ }],
1469
+ /**
1470
+ * Text Decoration Color
1471
+ * @see https://tailwindcss.com/docs/text-decoration-color
1472
+ */
1473
+ "text-decoration-color": [{
1474
+ decoration: d()
1475
+ }],
1476
+ /**
1477
+ * Text Underline Offset
1478
+ * @see https://tailwindcss.com/docs/text-underline-offset
1479
+ */
1480
+ "underline-offset": [{
1481
+ "underline-offset": [b, "auto", a, s]
1482
+ }],
1483
+ /**
1484
+ * Text Transform
1485
+ * @see https://tailwindcss.com/docs/text-transform
1486
+ */
1487
+ "text-transform": ["uppercase", "lowercase", "capitalize", "normal-case"],
1488
+ /**
1489
+ * Text Overflow
1490
+ * @see https://tailwindcss.com/docs/text-overflow
1491
+ */
1492
+ "text-overflow": ["truncate", "text-ellipsis", "text-clip"],
1493
+ /**
1494
+ * Text Wrap
1495
+ * @see https://tailwindcss.com/docs/text-wrap
1496
+ */
1497
+ "text-wrap": [{
1498
+ text: ["wrap", "nowrap", "balance", "pretty"]
1499
+ }],
1500
+ /**
1501
+ * Text Indent
1502
+ * @see https://tailwindcss.com/docs/text-indent
1503
+ */
1504
+ indent: [{
1505
+ indent: c()
1506
+ }],
1507
+ /**
1508
+ * Tab Size
1509
+ * @see https://tailwindcss.com/docs/tab-size
1510
+ */
1511
+ "tab-size": [{
1512
+ tab: [R, a, s]
1513
+ }],
1514
+ /**
1515
+ * Vertical Alignment
1516
+ * @see https://tailwindcss.com/docs/vertical-align
1517
+ */
1518
+ "vertical-align": [{
1519
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", a, s]
1520
+ }],
1521
+ /**
1522
+ * Whitespace
1523
+ * @see https://tailwindcss.com/docs/whitespace
1524
+ */
1525
+ whitespace: [{
1526
+ whitespace: ["normal", "nowrap", "pre", "pre-line", "pre-wrap", "break-spaces"]
1527
+ }],
1528
+ /**
1529
+ * Word Break
1530
+ * @see https://tailwindcss.com/docs/word-break
1531
+ */
1532
+ break: [{
1533
+ break: ["normal", "words", "all", "keep"]
1534
+ }],
1535
+ /**
1536
+ * Overflow Wrap
1537
+ * @see https://tailwindcss.com/docs/overflow-wrap
1538
+ */
1539
+ wrap: [{
1540
+ wrap: ["break-word", "anywhere", "normal"]
1541
+ }],
1542
+ /**
1543
+ * Hyphens
1544
+ * @see https://tailwindcss.com/docs/hyphens
1545
+ */
1546
+ hyphens: [{
1547
+ hyphens: ["none", "manual", "auto"]
1548
+ }],
1549
+ /**
1550
+ * Content
1551
+ * @see https://tailwindcss.com/docs/content
1552
+ */
1553
+ content: [{
1554
+ content: ["none", a, s]
1555
+ }],
1556
+ // -------------------
1557
+ // --- Backgrounds ---
1558
+ // -------------------
1559
+ /**
1560
+ * Background Attachment
1561
+ * @see https://tailwindcss.com/docs/background-attachment
1562
+ */
1563
+ "bg-attachment": [{
1564
+ bg: ["fixed", "local", "scroll"]
1565
+ }],
1566
+ /**
1567
+ * Background Clip
1568
+ * @see https://tailwindcss.com/docs/background-clip
1569
+ */
1570
+ "bg-clip": [{
1571
+ "bg-clip": ["border", "padding", "content", "text"]
1572
+ }],
1573
+ /**
1574
+ * Background Origin
1575
+ * @see https://tailwindcss.com/docs/background-origin
1576
+ */
1577
+ "bg-origin": [{
1578
+ "bg-origin": ["border", "padding", "content"]
1579
+ }],
1580
+ /**
1581
+ * Background Position
1582
+ * @see https://tailwindcss.com/docs/background-position
1583
+ */
1584
+ "bg-position": [{
1585
+ bg: fe()
1586
+ }],
1587
+ /**
1588
+ * Background Repeat
1589
+ * @see https://tailwindcss.com/docs/background-repeat
1590
+ */
1591
+ "bg-repeat": [{
1592
+ bg: ge()
1593
+ }],
1594
+ /**
1595
+ * Background Size
1596
+ * @see https://tailwindcss.com/docs/background-size
1597
+ */
1598
+ "bg-size": [{
1599
+ bg: he()
1600
+ }],
1601
+ /**
1602
+ * Background Image
1603
+ * @see https://tailwindcss.com/docs/background-image
1604
+ */
1605
+ "bg-image": [{
1606
+ bg: ["none", {
1607
+ linear: [{
1608
+ to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1609
+ }, R, a, s],
1610
+ radial: ["", a, s],
1611
+ conic: [R, a, s]
1612
+ }, bo, mo]
1613
+ }],
1614
+ /**
1615
+ * Background Color
1616
+ * @see https://tailwindcss.com/docs/background-color
1617
+ */
1618
+ "bg-color": [{
1619
+ bg: d()
1620
+ }],
1621
+ /**
1622
+ * Gradient Color Stops From Position
1623
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1624
+ */
1625
+ "gradient-from-pos": [{
1626
+ from: ae()
1627
+ }],
1628
+ /**
1629
+ * Gradient Color Stops Via Position
1630
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1631
+ */
1632
+ "gradient-via-pos": [{
1633
+ via: ae()
1634
+ }],
1635
+ /**
1636
+ * Gradient Color Stops To Position
1637
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1638
+ */
1639
+ "gradient-to-pos": [{
1640
+ to: ae()
1641
+ }],
1642
+ /**
1643
+ * Gradient Color Stops From
1644
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1645
+ */
1646
+ "gradient-from": [{
1647
+ from: d()
1648
+ }],
1649
+ /**
1650
+ * Gradient Color Stops Via
1651
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1652
+ */
1653
+ "gradient-via": [{
1654
+ via: d()
1655
+ }],
1656
+ /**
1657
+ * Gradient Color Stops To
1658
+ * @see https://tailwindcss.com/docs/gradient-color-stops
1659
+ */
1660
+ "gradient-to": [{
1661
+ to: d()
1662
+ }],
1663
+ // ---------------
1664
+ // --- Borders ---
1665
+ // ---------------
1666
+ /**
1667
+ * Border Radius
1668
+ * @see https://tailwindcss.com/docs/border-radius
1669
+ */
1670
+ rounded: [{
1671
+ rounded: C()
1672
+ }],
1673
+ /**
1674
+ * Border Radius Start
1675
+ * @see https://tailwindcss.com/docs/border-radius
1676
+ */
1677
+ "rounded-s": [{
1678
+ "rounded-s": C()
1679
+ }],
1680
+ /**
1681
+ * Border Radius End
1682
+ * @see https://tailwindcss.com/docs/border-radius
1683
+ */
1684
+ "rounded-e": [{
1685
+ "rounded-e": C()
1686
+ }],
1687
+ /**
1688
+ * Border Radius Top
1689
+ * @see https://tailwindcss.com/docs/border-radius
1690
+ */
1691
+ "rounded-t": [{
1692
+ "rounded-t": C()
1693
+ }],
1694
+ /**
1695
+ * Border Radius Right
1696
+ * @see https://tailwindcss.com/docs/border-radius
1697
+ */
1698
+ "rounded-r": [{
1699
+ "rounded-r": C()
1700
+ }],
1701
+ /**
1702
+ * Border Radius Bottom
1703
+ * @see https://tailwindcss.com/docs/border-radius
1704
+ */
1705
+ "rounded-b": [{
1706
+ "rounded-b": C()
1707
+ }],
1708
+ /**
1709
+ * Border Radius Left
1710
+ * @see https://tailwindcss.com/docs/border-radius
1711
+ */
1712
+ "rounded-l": [{
1713
+ "rounded-l": C()
1714
+ }],
1715
+ /**
1716
+ * Border Radius Start Start
1717
+ * @see https://tailwindcss.com/docs/border-radius
1718
+ */
1719
+ "rounded-ss": [{
1720
+ "rounded-ss": C()
1721
+ }],
1722
+ /**
1723
+ * Border Radius Start End
1724
+ * @see https://tailwindcss.com/docs/border-radius
1725
+ */
1726
+ "rounded-se": [{
1727
+ "rounded-se": C()
1728
+ }],
1729
+ /**
1730
+ * Border Radius End End
1731
+ * @see https://tailwindcss.com/docs/border-radius
1732
+ */
1733
+ "rounded-ee": [{
1734
+ "rounded-ee": C()
1735
+ }],
1736
+ /**
1737
+ * Border Radius End Start
1738
+ * @see https://tailwindcss.com/docs/border-radius
1739
+ */
1740
+ "rounded-es": [{
1741
+ "rounded-es": C()
1742
+ }],
1743
+ /**
1744
+ * Border Radius Top Left
1745
+ * @see https://tailwindcss.com/docs/border-radius
1746
+ */
1747
+ "rounded-tl": [{
1748
+ "rounded-tl": C()
1749
+ }],
1750
+ /**
1751
+ * Border Radius Top Right
1752
+ * @see https://tailwindcss.com/docs/border-radius
1753
+ */
1754
+ "rounded-tr": [{
1755
+ "rounded-tr": C()
1756
+ }],
1757
+ /**
1758
+ * Border Radius Bottom Right
1759
+ * @see https://tailwindcss.com/docs/border-radius
1760
+ */
1761
+ "rounded-br": [{
1762
+ "rounded-br": C()
1763
+ }],
1764
+ /**
1765
+ * Border Radius Bottom Left
1766
+ * @see https://tailwindcss.com/docs/border-radius
1767
+ */
1768
+ "rounded-bl": [{
1769
+ "rounded-bl": C()
1770
+ }],
1771
+ /**
1772
+ * Border Width
1773
+ * @see https://tailwindcss.com/docs/border-width
1774
+ */
1775
+ "border-w": [{
1776
+ border: z()
1777
+ }],
1778
+ /**
1779
+ * Border Width Inline
1780
+ * @see https://tailwindcss.com/docs/border-width
1781
+ */
1782
+ "border-w-x": [{
1783
+ "border-x": z()
1784
+ }],
1785
+ /**
1786
+ * Border Width Block
1787
+ * @see https://tailwindcss.com/docs/border-width
1788
+ */
1789
+ "border-w-y": [{
1790
+ "border-y": z()
1791
+ }],
1792
+ /**
1793
+ * Border Width Inline Start
1794
+ * @see https://tailwindcss.com/docs/border-width
1795
+ */
1796
+ "border-w-s": [{
1797
+ "border-s": z()
1798
+ }],
1799
+ /**
1800
+ * Border Width Inline End
1801
+ * @see https://tailwindcss.com/docs/border-width
1802
+ */
1803
+ "border-w-e": [{
1804
+ "border-e": z()
1805
+ }],
1806
+ /**
1807
+ * Border Width Block Start
1808
+ * @see https://tailwindcss.com/docs/border-width
1809
+ */
1810
+ "border-w-bs": [{
1811
+ "border-bs": z()
1812
+ }],
1813
+ /**
1814
+ * Border Width Block End
1815
+ * @see https://tailwindcss.com/docs/border-width
1816
+ */
1817
+ "border-w-be": [{
1818
+ "border-be": z()
1819
+ }],
1820
+ /**
1821
+ * Border Width Top
1822
+ * @see https://tailwindcss.com/docs/border-width
1823
+ */
1824
+ "border-w-t": [{
1825
+ "border-t": z()
1826
+ }],
1827
+ /**
1828
+ * Border Width Right
1829
+ * @see https://tailwindcss.com/docs/border-width
1830
+ */
1831
+ "border-w-r": [{
1832
+ "border-r": z()
1833
+ }],
1834
+ /**
1835
+ * Border Width Bottom
1836
+ * @see https://tailwindcss.com/docs/border-width
1837
+ */
1838
+ "border-w-b": [{
1839
+ "border-b": z()
1840
+ }],
1841
+ /**
1842
+ * Border Width Left
1843
+ * @see https://tailwindcss.com/docs/border-width
1844
+ */
1845
+ "border-w-l": [{
1846
+ "border-l": z()
1847
+ }],
1848
+ /**
1849
+ * Divide Width X
1850
+ * @see https://tailwindcss.com/docs/border-width#between-children
1851
+ */
1852
+ "divide-x": [{
1853
+ "divide-x": z()
1854
+ }],
1855
+ /**
1856
+ * Divide Width X Reverse
1857
+ * @see https://tailwindcss.com/docs/border-width#between-children
1858
+ */
1859
+ "divide-x-reverse": ["divide-x-reverse"],
1860
+ /**
1861
+ * Divide Width Y
1862
+ * @see https://tailwindcss.com/docs/border-width#between-children
1863
+ */
1864
+ "divide-y": [{
1865
+ "divide-y": z()
1866
+ }],
1867
+ /**
1868
+ * Divide Width Y Reverse
1869
+ * @see https://tailwindcss.com/docs/border-width#between-children
1870
+ */
1871
+ "divide-y-reverse": ["divide-y-reverse"],
1872
+ /**
1873
+ * Border Style
1874
+ * @see https://tailwindcss.com/docs/border-style
1875
+ */
1876
+ "border-style": [{
1877
+ border: [...J(), "hidden", "none"]
1878
+ }],
1879
+ /**
1880
+ * Divide Style
1881
+ * @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
1882
+ */
1883
+ "divide-style": [{
1884
+ divide: [...J(), "hidden", "none"]
1885
+ }],
1886
+ /**
1887
+ * Border Color
1888
+ * @see https://tailwindcss.com/docs/border-color
1889
+ */
1890
+ "border-color": [{
1891
+ border: d()
1892
+ }],
1893
+ /**
1894
+ * Border Color Inline
1895
+ * @see https://tailwindcss.com/docs/border-color
1896
+ */
1897
+ "border-color-x": [{
1898
+ "border-x": d()
1899
+ }],
1900
+ /**
1901
+ * Border Color Block
1902
+ * @see https://tailwindcss.com/docs/border-color
1903
+ */
1904
+ "border-color-y": [{
1905
+ "border-y": d()
1906
+ }],
1907
+ /**
1908
+ * Border Color Inline Start
1909
+ * @see https://tailwindcss.com/docs/border-color
1910
+ */
1911
+ "border-color-s": [{
1912
+ "border-s": d()
1913
+ }],
1914
+ /**
1915
+ * Border Color Inline End
1916
+ * @see https://tailwindcss.com/docs/border-color
1917
+ */
1918
+ "border-color-e": [{
1919
+ "border-e": d()
1920
+ }],
1921
+ /**
1922
+ * Border Color Block Start
1923
+ * @see https://tailwindcss.com/docs/border-color
1924
+ */
1925
+ "border-color-bs": [{
1926
+ "border-bs": d()
1927
+ }],
1928
+ /**
1929
+ * Border Color Block End
1930
+ * @see https://tailwindcss.com/docs/border-color
1931
+ */
1932
+ "border-color-be": [{
1933
+ "border-be": d()
1934
+ }],
1935
+ /**
1936
+ * Border Color Top
1937
+ * @see https://tailwindcss.com/docs/border-color
1938
+ */
1939
+ "border-color-t": [{
1940
+ "border-t": d()
1941
+ }],
1942
+ /**
1943
+ * Border Color Right
1944
+ * @see https://tailwindcss.com/docs/border-color
1945
+ */
1946
+ "border-color-r": [{
1947
+ "border-r": d()
1948
+ }],
1949
+ /**
1950
+ * Border Color Bottom
1951
+ * @see https://tailwindcss.com/docs/border-color
1952
+ */
1953
+ "border-color-b": [{
1954
+ "border-b": d()
1955
+ }],
1956
+ /**
1957
+ * Border Color Left
1958
+ * @see https://tailwindcss.com/docs/border-color
1959
+ */
1960
+ "border-color-l": [{
1961
+ "border-l": d()
1962
+ }],
1963
+ /**
1964
+ * Divide Color
1965
+ * @see https://tailwindcss.com/docs/divide-color
1966
+ */
1967
+ "divide-color": [{
1968
+ divide: d()
1969
+ }],
1970
+ /**
1971
+ * Outline Style
1972
+ * @see https://tailwindcss.com/docs/outline-style
1973
+ */
1974
+ "outline-style": [{
1975
+ outline: [...J(), "none", "hidden"]
1976
+ }],
1977
+ /**
1978
+ * Outline Offset
1979
+ * @see https://tailwindcss.com/docs/outline-offset
1980
+ */
1981
+ "outline-offset": [{
1982
+ "outline-offset": [b, a, s]
1983
+ }],
1984
+ /**
1985
+ * Outline Width
1986
+ * @see https://tailwindcss.com/docs/outline-width
1987
+ */
1988
+ "outline-w": [{
1989
+ outline: ["", b, Y, F]
1990
+ }],
1991
+ /**
1992
+ * Outline Color
1993
+ * @see https://tailwindcss.com/docs/outline-color
1994
+ */
1995
+ "outline-color": [{
1996
+ outline: d()
1997
+ }],
1998
+ // ---------------
1999
+ // --- Effects ---
2000
+ // ---------------
2001
+ /**
2002
+ * Box Shadow
2003
+ * @see https://tailwindcss.com/docs/box-shadow
2004
+ */
2005
+ shadow: [{
2006
+ shadow: [
2007
+ // Deprecated since Tailwind CSS v4.0.0
2008
+ "",
2009
+ "none",
2010
+ w,
2011
+ re,
2012
+ ee
2013
+ ]
2014
+ }],
2015
+ /**
2016
+ * Box Shadow Color
2017
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
2018
+ */
2019
+ "shadow-color": [{
2020
+ shadow: d()
2021
+ }],
2022
+ /**
2023
+ * Inset Box Shadow
2024
+ * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
2025
+ */
2026
+ "inset-shadow": [{
2027
+ "inset-shadow": ["none", v, re, ee]
2028
+ }],
2029
+ /**
2030
+ * Inset Box Shadow Color
2031
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
2032
+ */
2033
+ "inset-shadow-color": [{
2034
+ "inset-shadow": d()
2035
+ }],
2036
+ /**
2037
+ * Ring Width
2038
+ * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
2039
+ */
2040
+ "ring-w": [{
2041
+ ring: z()
2042
+ }],
2043
+ /**
2044
+ * Ring Width Inset
2045
+ * @see https://v3.tailwindcss.com/docs/ring-width#inset-rings
2046
+ * @deprecated since Tailwind CSS v4.0.0
2047
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
2048
+ */
2049
+ "ring-w-inset": ["ring-inset"],
2050
+ /**
2051
+ * Ring Color
2052
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
2053
+ */
2054
+ "ring-color": [{
2055
+ ring: d()
2056
+ }],
2057
+ /**
2058
+ * Ring Offset Width
2059
+ * @see https://v3.tailwindcss.com/docs/ring-offset-width
2060
+ * @deprecated since Tailwind CSS v4.0.0
2061
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
2062
+ */
2063
+ "ring-offset-w": [{
2064
+ "ring-offset": [b, F]
2065
+ }],
2066
+ /**
2067
+ * Ring Offset Color
2068
+ * @see https://v3.tailwindcss.com/docs/ring-offset-color
2069
+ * @deprecated since Tailwind CSS v4.0.0
2070
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
2071
+ */
2072
+ "ring-offset-color": [{
2073
+ "ring-offset": d()
2074
+ }],
2075
+ /**
2076
+ * Inset Ring Width
2077
+ * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
2078
+ */
2079
+ "inset-ring-w": [{
2080
+ "inset-ring": z()
2081
+ }],
2082
+ /**
2083
+ * Inset Ring Color
2084
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
2085
+ */
2086
+ "inset-ring-color": [{
2087
+ "inset-ring": d()
2088
+ }],
2089
+ /**
2090
+ * Text Shadow
2091
+ * @see https://tailwindcss.com/docs/text-shadow
2092
+ */
2093
+ "text-shadow": [{
2094
+ "text-shadow": ["none", B, re, ee]
2095
+ }],
2096
+ /**
2097
+ * Text Shadow Color
2098
+ * @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
2099
+ */
2100
+ "text-shadow-color": [{
2101
+ "text-shadow": d()
2102
+ }],
2103
+ /**
2104
+ * Opacity
2105
+ * @see https://tailwindcss.com/docs/opacity
2106
+ */
2107
+ opacity: [{
2108
+ opacity: [b, a, s]
2109
+ }],
2110
+ /**
2111
+ * Mix Blend Mode
2112
+ * @see https://tailwindcss.com/docs/mix-blend-mode
2113
+ */
2114
+ "mix-blend": [{
2115
+ "mix-blend": [...ye(), "plus-darker", "plus-lighter"]
2116
+ }],
2117
+ /**
2118
+ * Background Blend Mode
2119
+ * @see https://tailwindcss.com/docs/background-blend-mode
2120
+ */
2121
+ "bg-blend": [{
2122
+ "bg-blend": ye()
2123
+ }],
2124
+ /**
2125
+ * Mask Clip
2126
+ * @see https://tailwindcss.com/docs/mask-clip
2127
+ */
2128
+ "mask-clip": [{
2129
+ "mask-clip": ["border", "padding", "content", "fill", "stroke", "view"]
2130
+ }, "mask-no-clip"],
2131
+ /**
2132
+ * Mask Composite
2133
+ * @see https://tailwindcss.com/docs/mask-composite
2134
+ */
2135
+ "mask-composite": [{
2136
+ mask: ["add", "subtract", "intersect", "exclude"]
2137
+ }],
2138
+ /**
2139
+ * Mask Image
2140
+ * @see https://tailwindcss.com/docs/mask-image
2141
+ */
2142
+ "mask-image-linear-pos": [{
2143
+ "mask-linear": [b]
2144
+ }],
2145
+ "mask-image-linear-from-pos": [{
2146
+ "mask-linear-from": x()
2147
+ }],
2148
+ "mask-image-linear-to-pos": [{
2149
+ "mask-linear-to": x()
2150
+ }],
2151
+ "mask-image-linear-from-color": [{
2152
+ "mask-linear-from": d()
2153
+ }],
2154
+ "mask-image-linear-to-color": [{
2155
+ "mask-linear-to": d()
2156
+ }],
2157
+ "mask-image-t-from-pos": [{
2158
+ "mask-t-from": x()
2159
+ }],
2160
+ "mask-image-t-to-pos": [{
2161
+ "mask-t-to": x()
2162
+ }],
2163
+ "mask-image-t-from-color": [{
2164
+ "mask-t-from": d()
2165
+ }],
2166
+ "mask-image-t-to-color": [{
2167
+ "mask-t-to": d()
2168
+ }],
2169
+ "mask-image-r-from-pos": [{
2170
+ "mask-r-from": x()
2171
+ }],
2172
+ "mask-image-r-to-pos": [{
2173
+ "mask-r-to": x()
2174
+ }],
2175
+ "mask-image-r-from-color": [{
2176
+ "mask-r-from": d()
2177
+ }],
2178
+ "mask-image-r-to-color": [{
2179
+ "mask-r-to": d()
2180
+ }],
2181
+ "mask-image-b-from-pos": [{
2182
+ "mask-b-from": x()
2183
+ }],
2184
+ "mask-image-b-to-pos": [{
2185
+ "mask-b-to": x()
2186
+ }],
2187
+ "mask-image-b-from-color": [{
2188
+ "mask-b-from": d()
2189
+ }],
2190
+ "mask-image-b-to-color": [{
2191
+ "mask-b-to": d()
2192
+ }],
2193
+ "mask-image-l-from-pos": [{
2194
+ "mask-l-from": x()
2195
+ }],
2196
+ "mask-image-l-to-pos": [{
2197
+ "mask-l-to": x()
2198
+ }],
2199
+ "mask-image-l-from-color": [{
2200
+ "mask-l-from": d()
2201
+ }],
2202
+ "mask-image-l-to-color": [{
2203
+ "mask-l-to": d()
2204
+ }],
2205
+ "mask-image-x-from-pos": [{
2206
+ "mask-x-from": x()
2207
+ }],
2208
+ "mask-image-x-to-pos": [{
2209
+ "mask-x-to": x()
2210
+ }],
2211
+ "mask-image-x-from-color": [{
2212
+ "mask-x-from": d()
2213
+ }],
2214
+ "mask-image-x-to-color": [{
2215
+ "mask-x-to": d()
2216
+ }],
2217
+ "mask-image-y-from-pos": [{
2218
+ "mask-y-from": x()
2219
+ }],
2220
+ "mask-image-y-to-pos": [{
2221
+ "mask-y-to": x()
2222
+ }],
2223
+ "mask-image-y-from-color": [{
2224
+ "mask-y-from": d()
2225
+ }],
2226
+ "mask-image-y-to-color": [{
2227
+ "mask-y-to": d()
2228
+ }],
2229
+ "mask-image-radial": [{
2230
+ "mask-radial": [a, s]
2231
+ }],
2232
+ "mask-image-radial-from-pos": [{
2233
+ "mask-radial-from": x()
2234
+ }],
2235
+ "mask-image-radial-to-pos": [{
2236
+ "mask-radial-to": x()
2237
+ }],
2238
+ "mask-image-radial-from-color": [{
2239
+ "mask-radial-from": d()
2240
+ }],
2241
+ "mask-image-radial-to-color": [{
2242
+ "mask-radial-to": d()
2243
+ }],
2244
+ "mask-image-radial-shape": [{
2245
+ "mask-radial": ["circle", "ellipse"]
2246
+ }],
2247
+ "mask-image-radial-size": [{
2248
+ "mask-radial": [{
2249
+ closest: ["side", "corner"],
2250
+ farthest: ["side", "corner"]
2251
+ }]
2252
+ }],
2253
+ "mask-image-radial-pos": [{
2254
+ "mask-radial-at": E()
2255
+ }],
2256
+ "mask-image-conic-pos": [{
2257
+ "mask-conic": [b]
2258
+ }],
2259
+ "mask-image-conic-from-pos": [{
2260
+ "mask-conic-from": x()
2261
+ }],
2262
+ "mask-image-conic-to-pos": [{
2263
+ "mask-conic-to": x()
2264
+ }],
2265
+ "mask-image-conic-from-color": [{
2266
+ "mask-conic-from": d()
2267
+ }],
2268
+ "mask-image-conic-to-color": [{
2269
+ "mask-conic-to": d()
2270
+ }],
2271
+ /**
2272
+ * Mask Mode
2273
+ * @see https://tailwindcss.com/docs/mask-mode
2274
+ */
2275
+ "mask-mode": [{
2276
+ mask: ["alpha", "luminance", "match"]
2277
+ }],
2278
+ /**
2279
+ * Mask Origin
2280
+ * @see https://tailwindcss.com/docs/mask-origin
2281
+ */
2282
+ "mask-origin": [{
2283
+ "mask-origin": ["border", "padding", "content", "fill", "stroke", "view"]
2284
+ }],
2285
+ /**
2286
+ * Mask Position
2287
+ * @see https://tailwindcss.com/docs/mask-position
2288
+ */
2289
+ "mask-position": [{
2290
+ mask: fe()
2291
+ }],
2292
+ /**
2293
+ * Mask Repeat
2294
+ * @see https://tailwindcss.com/docs/mask-repeat
2295
+ */
2296
+ "mask-repeat": [{
2297
+ mask: ge()
2298
+ }],
2299
+ /**
2300
+ * Mask Size
2301
+ * @see https://tailwindcss.com/docs/mask-size
2302
+ */
2303
+ "mask-size": [{
2304
+ mask: he()
2305
+ }],
2306
+ /**
2307
+ * Mask Type
2308
+ * @see https://tailwindcss.com/docs/mask-type
2309
+ */
2310
+ "mask-type": [{
2311
+ "mask-type": ["alpha", "luminance"]
2312
+ }],
2313
+ /**
2314
+ * Mask Image
2315
+ * @see https://tailwindcss.com/docs/mask-image
2316
+ */
2317
+ "mask-image": [{
2318
+ mask: ["none", a, s]
2319
+ }],
2320
+ // ---------------
2321
+ // --- Filters ---
2322
+ // ---------------
2323
+ /**
2324
+ * Filter
2325
+ * @see https://tailwindcss.com/docs/filter
2326
+ */
2327
+ filter: [{
2328
+ filter: [
2329
+ // Deprecated since Tailwind CSS v3.0.0
2330
+ "",
2331
+ "none",
2332
+ a,
2333
+ s
2334
+ ]
2335
+ }],
2336
+ /**
2337
+ * Blur
2338
+ * @see https://tailwindcss.com/docs/blur
2339
+ */
2340
+ blur: [{
2341
+ blur: xe()
2342
+ }],
2343
+ /**
2344
+ * Brightness
2345
+ * @see https://tailwindcss.com/docs/brightness
2346
+ */
2347
+ brightness: [{
2348
+ brightness: [b, a, s]
2349
+ }],
2350
+ /**
2351
+ * Contrast
2352
+ * @see https://tailwindcss.com/docs/contrast
2353
+ */
2354
+ contrast: [{
2355
+ contrast: [b, a, s]
2356
+ }],
2357
+ /**
2358
+ * Drop Shadow
2359
+ * @see https://tailwindcss.com/docs/drop-shadow
2360
+ */
2361
+ "drop-shadow": [{
2362
+ "drop-shadow": [
2363
+ // Deprecated since Tailwind CSS v4.0.0
2364
+ "",
2365
+ "none",
2366
+ T,
2367
+ re,
2368
+ ee
2369
+ ]
2370
+ }],
2371
+ /**
2372
+ * Drop Shadow Color
2373
+ * @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
2374
+ */
2375
+ "drop-shadow-color": [{
2376
+ "drop-shadow": d()
2377
+ }],
2378
+ /**
2379
+ * Grayscale
2380
+ * @see https://tailwindcss.com/docs/grayscale
2381
+ */
2382
+ grayscale: [{
2383
+ grayscale: ["", b, a, s]
2384
+ }],
2385
+ /**
2386
+ * Hue Rotate
2387
+ * @see https://tailwindcss.com/docs/hue-rotate
2388
+ */
2389
+ "hue-rotate": [{
2390
+ "hue-rotate": [b, a, s]
2391
+ }],
2392
+ /**
2393
+ * Invert
2394
+ * @see https://tailwindcss.com/docs/invert
2395
+ */
2396
+ invert: [{
2397
+ invert: ["", b, a, s]
2398
+ }],
2399
+ /**
2400
+ * Saturate
2401
+ * @see https://tailwindcss.com/docs/saturate
2402
+ */
2403
+ saturate: [{
2404
+ saturate: [b, a, s]
2405
+ }],
2406
+ /**
2407
+ * Sepia
2408
+ * @see https://tailwindcss.com/docs/sepia
2409
+ */
2410
+ sepia: [{
2411
+ sepia: ["", b, a, s]
2412
+ }],
2413
+ /**
2414
+ * Backdrop Filter
2415
+ * @see https://tailwindcss.com/docs/backdrop-filter
2416
+ */
2417
+ "backdrop-filter": [{
2418
+ "backdrop-filter": [
2419
+ // Deprecated since Tailwind CSS v3.0.0
2420
+ "",
2421
+ "none",
2422
+ a,
2423
+ s
2424
+ ]
2425
+ }],
2426
+ /**
2427
+ * Backdrop Blur
2428
+ * @see https://tailwindcss.com/docs/backdrop-blur
2429
+ */
2430
+ "backdrop-blur": [{
2431
+ "backdrop-blur": xe()
2432
+ }],
2433
+ /**
2434
+ * Backdrop Brightness
2435
+ * @see https://tailwindcss.com/docs/backdrop-brightness
2436
+ */
2437
+ "backdrop-brightness": [{
2438
+ "backdrop-brightness": [b, a, s]
2439
+ }],
2440
+ /**
2441
+ * Backdrop Contrast
2442
+ * @see https://tailwindcss.com/docs/backdrop-contrast
2443
+ */
2444
+ "backdrop-contrast": [{
2445
+ "backdrop-contrast": [b, a, s]
2446
+ }],
2447
+ /**
2448
+ * Backdrop Grayscale
2449
+ * @see https://tailwindcss.com/docs/backdrop-grayscale
2450
+ */
2451
+ "backdrop-grayscale": [{
2452
+ "backdrop-grayscale": ["", b, a, s]
2453
+ }],
2454
+ /**
2455
+ * Backdrop Hue Rotate
2456
+ * @see https://tailwindcss.com/docs/backdrop-hue-rotate
2457
+ */
2458
+ "backdrop-hue-rotate": [{
2459
+ "backdrop-hue-rotate": [b, a, s]
2460
+ }],
2461
+ /**
2462
+ * Backdrop Invert
2463
+ * @see https://tailwindcss.com/docs/backdrop-invert
2464
+ */
2465
+ "backdrop-invert": [{
2466
+ "backdrop-invert": ["", b, a, s]
2467
+ }],
2468
+ /**
2469
+ * Backdrop Opacity
2470
+ * @see https://tailwindcss.com/docs/backdrop-opacity
2471
+ */
2472
+ "backdrop-opacity": [{
2473
+ "backdrop-opacity": [b, a, s]
2474
+ }],
2475
+ /**
2476
+ * Backdrop Saturate
2477
+ * @see https://tailwindcss.com/docs/backdrop-saturate
2478
+ */
2479
+ "backdrop-saturate": [{
2480
+ "backdrop-saturate": [b, a, s]
2481
+ }],
2482
+ /**
2483
+ * Backdrop Sepia
2484
+ * @see https://tailwindcss.com/docs/backdrop-sepia
2485
+ */
2486
+ "backdrop-sepia": [{
2487
+ "backdrop-sepia": ["", b, a, s]
2488
+ }],
2489
+ // --------------
2490
+ // --- Tables ---
2491
+ // --------------
2492
+ /**
2493
+ * Border Collapse
2494
+ * @see https://tailwindcss.com/docs/border-collapse
2495
+ */
2496
+ "border-collapse": [{
2497
+ border: ["collapse", "separate"]
2498
+ }],
2499
+ /**
2500
+ * Border Spacing
2501
+ * @see https://tailwindcss.com/docs/border-spacing
2502
+ */
2503
+ "border-spacing": [{
2504
+ "border-spacing": c()
2505
+ }],
2506
+ /**
2507
+ * Border Spacing X
2508
+ * @see https://tailwindcss.com/docs/border-spacing
2509
+ */
2510
+ "border-spacing-x": [{
2511
+ "border-spacing-x": c()
2512
+ }],
2513
+ /**
2514
+ * Border Spacing Y
2515
+ * @see https://tailwindcss.com/docs/border-spacing
2516
+ */
2517
+ "border-spacing-y": [{
2518
+ "border-spacing-y": c()
2519
+ }],
2520
+ /**
2521
+ * Table Layout
2522
+ * @see https://tailwindcss.com/docs/table-layout
2523
+ */
2524
+ "table-layout": [{
2525
+ table: ["auto", "fixed"]
2526
+ }],
2527
+ /**
2528
+ * Caption Side
2529
+ * @see https://tailwindcss.com/docs/caption-side
2530
+ */
2531
+ caption: [{
2532
+ caption: ["top", "bottom"]
2533
+ }],
2534
+ // ---------------------------------
2535
+ // --- Transitions and Animation ---
2536
+ // ---------------------------------
2537
+ /**
2538
+ * Transition Property
2539
+ * @see https://tailwindcss.com/docs/transition-property
2540
+ */
2541
+ transition: [{
2542
+ transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", a, s]
2543
+ }],
2544
+ /**
2545
+ * Transition Behavior
2546
+ * @see https://tailwindcss.com/docs/transition-behavior
2547
+ */
2548
+ "transition-behavior": [{
2549
+ transition: ["normal", "discrete"]
2550
+ }],
2551
+ /**
2552
+ * Transition Duration
2553
+ * @see https://tailwindcss.com/docs/transition-duration
2554
+ */
2555
+ duration: [{
2556
+ duration: [b, "initial", a, s]
2557
+ }],
2558
+ /**
2559
+ * Transition Timing Function
2560
+ * @see https://tailwindcss.com/docs/transition-timing-function
2561
+ */
2562
+ ease: [{
2563
+ ease: ["linear", "initial", j, a, s]
2564
+ }],
2565
+ /**
2566
+ * Transition Delay
2567
+ * @see https://tailwindcss.com/docs/transition-delay
2568
+ */
2569
+ delay: [{
2570
+ delay: [b, a, s]
2571
+ }],
2572
+ /**
2573
+ * Animation
2574
+ * @see https://tailwindcss.com/docs/animation
2575
+ */
2576
+ animate: [{
2577
+ animate: ["none", A, a, s]
2578
+ }],
2579
+ // ------------------
2580
+ // --- Transforms ---
2581
+ // ------------------
2582
+ /**
2583
+ * Backface Visibility
2584
+ * @see https://tailwindcss.com/docs/backface-visibility
2585
+ */
2586
+ backface: [{
2587
+ backface: ["hidden", "visible"]
2588
+ }],
2589
+ /**
2590
+ * Perspective
2591
+ * @see https://tailwindcss.com/docs/perspective
2592
+ */
2593
+ perspective: [{
2594
+ perspective: [M, a, s]
2595
+ }],
2596
+ /**
2597
+ * Perspective Origin
2598
+ * @see https://tailwindcss.com/docs/perspective-origin
2599
+ */
2600
+ "perspective-origin": [{
2601
+ "perspective-origin": V()
2602
+ }],
2603
+ /**
2604
+ * Rotate
2605
+ * @see https://tailwindcss.com/docs/rotate
2606
+ */
2607
+ rotate: [{
2608
+ rotate: Q()
2609
+ }],
2610
+ /**
2611
+ * Rotate X
2612
+ * @see https://tailwindcss.com/docs/rotate
2613
+ */
2614
+ "rotate-x": [{
2615
+ "rotate-x": Q()
2616
+ }],
2617
+ /**
2618
+ * Rotate Y
2619
+ * @see https://tailwindcss.com/docs/rotate
2620
+ */
2621
+ "rotate-y": [{
2622
+ "rotate-y": Q()
2623
+ }],
2624
+ /**
2625
+ * Rotate Z
2626
+ * @see https://tailwindcss.com/docs/rotate
2627
+ */
2628
+ "rotate-z": [{
2629
+ "rotate-z": Q()
2630
+ }],
2631
+ /**
2632
+ * Scale
2633
+ * @see https://tailwindcss.com/docs/scale
2634
+ */
2635
+ scale: [{
2636
+ scale: K()
2637
+ }],
2638
+ /**
2639
+ * Scale X
2640
+ * @see https://tailwindcss.com/docs/scale
2641
+ */
2642
+ "scale-x": [{
2643
+ "scale-x": K()
2644
+ }],
2645
+ /**
2646
+ * Scale Y
2647
+ * @see https://tailwindcss.com/docs/scale
2648
+ */
2649
+ "scale-y": [{
2650
+ "scale-y": K()
2651
+ }],
2652
+ /**
2653
+ * Scale Z
2654
+ * @see https://tailwindcss.com/docs/scale
2655
+ */
2656
+ "scale-z": [{
2657
+ "scale-z": K()
2658
+ }],
2659
+ /**
2660
+ * Scale 3D
2661
+ * @see https://tailwindcss.com/docs/scale
2662
+ */
2663
+ "scale-3d": ["scale-3d"],
2664
+ /**
2665
+ * Skew
2666
+ * @see https://tailwindcss.com/docs/skew
2667
+ */
2668
+ skew: [{
2669
+ skew: ie()
2670
+ }],
2671
+ /**
2672
+ * Skew X
2673
+ * @see https://tailwindcss.com/docs/skew
2674
+ */
2675
+ "skew-x": [{
2676
+ "skew-x": ie()
2677
+ }],
2678
+ /**
2679
+ * Skew Y
2680
+ * @see https://tailwindcss.com/docs/skew
2681
+ */
2682
+ "skew-y": [{
2683
+ "skew-y": ie()
2684
+ }],
2685
+ /**
2686
+ * Transform
2687
+ * @see https://tailwindcss.com/docs/transform
2688
+ */
2689
+ transform: [{
2690
+ transform: [a, s, "", "none", "gpu", "cpu"]
2691
+ }],
2692
+ /**
2693
+ * Transform Origin
2694
+ * @see https://tailwindcss.com/docs/transform-origin
2695
+ */
2696
+ "transform-origin": [{
2697
+ origin: V()
2698
+ }],
2699
+ /**
2700
+ * Transform Style
2701
+ * @see https://tailwindcss.com/docs/transform-style
2702
+ */
2703
+ "transform-style": [{
2704
+ transform: ["3d", "flat"]
2705
+ }],
2706
+ /**
2707
+ * Translate
2708
+ * @see https://tailwindcss.com/docs/translate
2709
+ */
2710
+ translate: [{
2711
+ translate: Z()
2712
+ }],
2713
+ /**
2714
+ * Translate X
2715
+ * @see https://tailwindcss.com/docs/translate
2716
+ */
2717
+ "translate-x": [{
2718
+ "translate-x": Z()
2719
+ }],
2720
+ /**
2721
+ * Translate Y
2722
+ * @see https://tailwindcss.com/docs/translate
2723
+ */
2724
+ "translate-y": [{
2725
+ "translate-y": Z()
2726
+ }],
2727
+ /**
2728
+ * Translate Z
2729
+ * @see https://tailwindcss.com/docs/translate
2730
+ */
2731
+ "translate-z": [{
2732
+ "translate-z": Z()
2733
+ }],
2734
+ /**
2735
+ * Translate None
2736
+ * @see https://tailwindcss.com/docs/translate
2737
+ */
2738
+ "translate-none": ["translate-none"],
2739
+ /**
2740
+ * Zoom
2741
+ * @see https://tailwindcss.com/docs/zoom
2742
+ */
2743
+ zoom: [{
2744
+ zoom: [R, a, s]
2745
+ }],
2746
+ // ---------------------
2747
+ // --- Interactivity ---
2748
+ // ---------------------
2749
+ /**
2750
+ * Accent Color
2751
+ * @see https://tailwindcss.com/docs/accent-color
2752
+ */
2753
+ accent: [{
2754
+ accent: d()
2755
+ }],
2756
+ /**
2757
+ * Appearance
2758
+ * @see https://tailwindcss.com/docs/appearance
2759
+ */
2760
+ appearance: [{
2761
+ appearance: ["none", "auto"]
2762
+ }],
2763
+ /**
2764
+ * Caret Color
2765
+ * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
2766
+ */
2767
+ "caret-color": [{
2768
+ caret: d()
2769
+ }],
2770
+ /**
2771
+ * Color Scheme
2772
+ * @see https://tailwindcss.com/docs/color-scheme
2773
+ */
2774
+ "color-scheme": [{
2775
+ scheme: ["normal", "dark", "light", "light-dark", "only-dark", "only-light"]
2776
+ }],
2777
+ /**
2778
+ * Cursor
2779
+ * @see https://tailwindcss.com/docs/cursor
2780
+ */
2781
+ cursor: [{
2782
+ cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", a, s]
2783
+ }],
2784
+ /**
2785
+ * Field Sizing
2786
+ * @see https://tailwindcss.com/docs/field-sizing
2787
+ */
2788
+ "field-sizing": [{
2789
+ "field-sizing": ["fixed", "content"]
2790
+ }],
2791
+ /**
2792
+ * Pointer Events
2793
+ * @see https://tailwindcss.com/docs/pointer-events
2794
+ */
2795
+ "pointer-events": [{
2796
+ "pointer-events": ["auto", "none"]
2797
+ }],
2798
+ /**
2799
+ * Resize
2800
+ * @see https://tailwindcss.com/docs/resize
2801
+ */
2802
+ resize: [{
2803
+ resize: ["none", "", "y", "x"]
2804
+ }],
2805
+ /**
2806
+ * Scroll Behavior
2807
+ * @see https://tailwindcss.com/docs/scroll-behavior
2808
+ */
2809
+ "scroll-behavior": [{
2810
+ scroll: ["auto", "smooth"]
2811
+ }],
2812
+ /**
2813
+ * Scrollbar Thumb Color
2814
+ * @see https://tailwindcss.com/docs/scrollbar-color
2815
+ */
2816
+ "scrollbar-thumb-color": [{
2817
+ "scrollbar-thumb": d()
2818
+ }],
2819
+ /**
2820
+ * Scrollbar Track Color
2821
+ * @see https://tailwindcss.com/docs/scrollbar-color
2822
+ */
2823
+ "scrollbar-track-color": [{
2824
+ "scrollbar-track": d()
2825
+ }],
2826
+ /**
2827
+ * Scrollbar Gutter
2828
+ * @see https://tailwindcss.com/docs/scrollbar-gutter
2829
+ */
2830
+ "scrollbar-gutter": [{
2831
+ "scrollbar-gutter": ["auto", "stable", "both"]
2832
+ }],
2833
+ /**
2834
+ * Scrollbar Width
2835
+ * @see https://tailwindcss.com/docs/scrollbar-width
2836
+ */
2837
+ "scrollbar-w": [{
2838
+ scrollbar: ["auto", "thin", "none"]
2839
+ }],
2840
+ /**
2841
+ * Scroll Margin
2842
+ * @see https://tailwindcss.com/docs/scroll-margin
2843
+ */
2844
+ "scroll-m": [{
2845
+ "scroll-m": c()
2846
+ }],
2847
+ /**
2848
+ * Scroll Margin Inline
2849
+ * @see https://tailwindcss.com/docs/scroll-margin
2850
+ */
2851
+ "scroll-mx": [{
2852
+ "scroll-mx": c()
2853
+ }],
2854
+ /**
2855
+ * Scroll Margin Block
2856
+ * @see https://tailwindcss.com/docs/scroll-margin
2857
+ */
2858
+ "scroll-my": [{
2859
+ "scroll-my": c()
2860
+ }],
2861
+ /**
2862
+ * Scroll Margin Inline Start
2863
+ * @see https://tailwindcss.com/docs/scroll-margin
2864
+ */
2865
+ "scroll-ms": [{
2866
+ "scroll-ms": c()
2867
+ }],
2868
+ /**
2869
+ * Scroll Margin Inline End
2870
+ * @see https://tailwindcss.com/docs/scroll-margin
2871
+ */
2872
+ "scroll-me": [{
2873
+ "scroll-me": c()
2874
+ }],
2875
+ /**
2876
+ * Scroll Margin Block Start
2877
+ * @see https://tailwindcss.com/docs/scroll-margin
2878
+ */
2879
+ "scroll-mbs": [{
2880
+ "scroll-mbs": c()
2881
+ }],
2882
+ /**
2883
+ * Scroll Margin Block End
2884
+ * @see https://tailwindcss.com/docs/scroll-margin
2885
+ */
2886
+ "scroll-mbe": [{
2887
+ "scroll-mbe": c()
2888
+ }],
2889
+ /**
2890
+ * Scroll Margin Top
2891
+ * @see https://tailwindcss.com/docs/scroll-margin
2892
+ */
2893
+ "scroll-mt": [{
2894
+ "scroll-mt": c()
2895
+ }],
2896
+ /**
2897
+ * Scroll Margin Right
2898
+ * @see https://tailwindcss.com/docs/scroll-margin
2899
+ */
2900
+ "scroll-mr": [{
2901
+ "scroll-mr": c()
2902
+ }],
2903
+ /**
2904
+ * Scroll Margin Bottom
2905
+ * @see https://tailwindcss.com/docs/scroll-margin
2906
+ */
2907
+ "scroll-mb": [{
2908
+ "scroll-mb": c()
2909
+ }],
2910
+ /**
2911
+ * Scroll Margin Left
2912
+ * @see https://tailwindcss.com/docs/scroll-margin
2913
+ */
2914
+ "scroll-ml": [{
2915
+ "scroll-ml": c()
2916
+ }],
2917
+ /**
2918
+ * Scroll Padding
2919
+ * @see https://tailwindcss.com/docs/scroll-padding
2920
+ */
2921
+ "scroll-p": [{
2922
+ "scroll-p": c()
2923
+ }],
2924
+ /**
2925
+ * Scroll Padding Inline
2926
+ * @see https://tailwindcss.com/docs/scroll-padding
2927
+ */
2928
+ "scroll-px": [{
2929
+ "scroll-px": c()
2930
+ }],
2931
+ /**
2932
+ * Scroll Padding Block
2933
+ * @see https://tailwindcss.com/docs/scroll-padding
2934
+ */
2935
+ "scroll-py": [{
2936
+ "scroll-py": c()
2937
+ }],
2938
+ /**
2939
+ * Scroll Padding Inline Start
2940
+ * @see https://tailwindcss.com/docs/scroll-padding
2941
+ */
2942
+ "scroll-ps": [{
2943
+ "scroll-ps": c()
2944
+ }],
2945
+ /**
2946
+ * Scroll Padding Inline End
2947
+ * @see https://tailwindcss.com/docs/scroll-padding
2948
+ */
2949
+ "scroll-pe": [{
2950
+ "scroll-pe": c()
2951
+ }],
2952
+ /**
2953
+ * Scroll Padding Block Start
2954
+ * @see https://tailwindcss.com/docs/scroll-padding
2955
+ */
2956
+ "scroll-pbs": [{
2957
+ "scroll-pbs": c()
2958
+ }],
2959
+ /**
2960
+ * Scroll Padding Block End
2961
+ * @see https://tailwindcss.com/docs/scroll-padding
2962
+ */
2963
+ "scroll-pbe": [{
2964
+ "scroll-pbe": c()
2965
+ }],
2966
+ /**
2967
+ * Scroll Padding Top
2968
+ * @see https://tailwindcss.com/docs/scroll-padding
2969
+ */
2970
+ "scroll-pt": [{
2971
+ "scroll-pt": c()
2972
+ }],
2973
+ /**
2974
+ * Scroll Padding Right
2975
+ * @see https://tailwindcss.com/docs/scroll-padding
2976
+ */
2977
+ "scroll-pr": [{
2978
+ "scroll-pr": c()
2979
+ }],
2980
+ /**
2981
+ * Scroll Padding Bottom
2982
+ * @see https://tailwindcss.com/docs/scroll-padding
2983
+ */
2984
+ "scroll-pb": [{
2985
+ "scroll-pb": c()
2986
+ }],
2987
+ /**
2988
+ * Scroll Padding Left
2989
+ * @see https://tailwindcss.com/docs/scroll-padding
2990
+ */
2991
+ "scroll-pl": [{
2992
+ "scroll-pl": c()
2993
+ }],
2994
+ /**
2995
+ * Scroll Snap Align
2996
+ * @see https://tailwindcss.com/docs/scroll-snap-align
2997
+ */
2998
+ "snap-align": [{
2999
+ snap: ["start", "end", "center", "align-none"]
3000
+ }],
3001
+ /**
3002
+ * Scroll Snap Stop
3003
+ * @see https://tailwindcss.com/docs/scroll-snap-stop
3004
+ */
3005
+ "snap-stop": [{
3006
+ snap: ["normal", "always"]
3007
+ }],
3008
+ /**
3009
+ * Scroll Snap Type
3010
+ * @see https://tailwindcss.com/docs/scroll-snap-type
3011
+ */
3012
+ "snap-type": [{
3013
+ snap: ["none", "x", "y", "both"]
3014
+ }],
3015
+ /**
3016
+ * Scroll Snap Type Strictness
3017
+ * @see https://tailwindcss.com/docs/scroll-snap-type
3018
+ */
3019
+ "snap-strictness": [{
3020
+ snap: ["mandatory", "proximity"]
3021
+ }],
3022
+ /**
3023
+ * Touch Action
3024
+ * @see https://tailwindcss.com/docs/touch-action
3025
+ */
3026
+ touch: [{
3027
+ touch: ["auto", "none", "manipulation"]
3028
+ }],
3029
+ /**
3030
+ * Touch Action X
3031
+ * @see https://tailwindcss.com/docs/touch-action
3032
+ */
3033
+ "touch-x": [{
3034
+ "touch-pan": ["x", "left", "right"]
3035
+ }],
3036
+ /**
3037
+ * Touch Action Y
3038
+ * @see https://tailwindcss.com/docs/touch-action
3039
+ */
3040
+ "touch-y": [{
3041
+ "touch-pan": ["y", "up", "down"]
3042
+ }],
3043
+ /**
3044
+ * Touch Action Pinch Zoom
3045
+ * @see https://tailwindcss.com/docs/touch-action
3046
+ */
3047
+ "touch-pz": ["touch-pinch-zoom"],
3048
+ /**
3049
+ * User Select
3050
+ * @see https://tailwindcss.com/docs/user-select
3051
+ */
3052
+ select: [{
3053
+ select: ["none", "text", "all", "auto"]
3054
+ }],
3055
+ /**
3056
+ * Will Change
3057
+ * @see https://tailwindcss.com/docs/will-change
3058
+ */
3059
+ "will-change": [{
3060
+ "will-change": ["auto", "scroll", "contents", "transform", a, s]
3061
+ }],
3062
+ // -----------
3063
+ // --- SVG ---
3064
+ // -----------
3065
+ /**
3066
+ * Fill
3067
+ * @see https://tailwindcss.com/docs/fill
3068
+ */
3069
+ fill: [{
3070
+ fill: ["none", ...d()]
3071
+ }],
3072
+ /**
3073
+ * Stroke Width
3074
+ * @see https://tailwindcss.com/docs/stroke-width
3075
+ */
3076
+ "stroke-w": [{
3077
+ stroke: [b, Y, F, Ce]
3078
+ }],
3079
+ /**
3080
+ * Stroke
3081
+ * @see https://tailwindcss.com/docs/stroke
3082
+ */
3083
+ stroke: [{
3084
+ stroke: ["none", ...d()]
3085
+ }],
3086
+ // ---------------------
3087
+ // --- Accessibility ---
3088
+ // ---------------------
3089
+ /**
3090
+ * Forced Color Adjust
3091
+ * @see https://tailwindcss.com/docs/forced-color-adjust
3092
+ */
3093
+ "forced-color-adjust": [{
3094
+ "forced-color-adjust": ["auto", "none"]
3095
+ }]
3096
+ },
3097
+ conflictingClassGroups: {
3098
+ "container-named": ["container-type"],
3099
+ overflow: ["overflow-x", "overflow-y"],
3100
+ overscroll: ["overscroll-x", "overscroll-y"],
3101
+ inset: ["inset-x", "inset-y", "inset-bs", "inset-be", "start", "end", "top", "right", "bottom", "left"],
3102
+ "inset-x": ["right", "left"],
3103
+ "inset-y": ["top", "bottom"],
3104
+ flex: ["basis", "grow", "shrink"],
3105
+ gap: ["gap-x", "gap-y"],
3106
+ p: ["px", "py", "ps", "pe", "pbs", "pbe", "pt", "pr", "pb", "pl"],
3107
+ px: ["pr", "pl"],
3108
+ py: ["pt", "pb"],
3109
+ m: ["mx", "my", "ms", "me", "mbs", "mbe", "mt", "mr", "mb", "ml"],
3110
+ mx: ["mr", "ml"],
3111
+ my: ["mt", "mb"],
3112
+ size: ["w", "h"],
3113
+ "font-size": ["leading"],
3114
+ "fvn-normal": ["fvn-ordinal", "fvn-slashed-zero", "fvn-figure", "fvn-spacing", "fvn-fraction"],
3115
+ "fvn-ordinal": ["fvn-normal"],
3116
+ "fvn-slashed-zero": ["fvn-normal"],
3117
+ "fvn-figure": ["fvn-normal"],
3118
+ "fvn-spacing": ["fvn-normal"],
3119
+ "fvn-fraction": ["fvn-normal"],
3120
+ "line-clamp": ["display", "overflow"],
3121
+ rounded: ["rounded-s", "rounded-e", "rounded-t", "rounded-r", "rounded-b", "rounded-l", "rounded-ss", "rounded-se", "rounded-ee", "rounded-es", "rounded-tl", "rounded-tr", "rounded-br", "rounded-bl"],
3122
+ "rounded-s": ["rounded-ss", "rounded-es"],
3123
+ "rounded-e": ["rounded-se", "rounded-ee"],
3124
+ "rounded-t": ["rounded-tl", "rounded-tr"],
3125
+ "rounded-r": ["rounded-tr", "rounded-br"],
3126
+ "rounded-b": ["rounded-br", "rounded-bl"],
3127
+ "rounded-l": ["rounded-tl", "rounded-bl"],
3128
+ "border-spacing": ["border-spacing-x", "border-spacing-y"],
3129
+ "border-w": ["border-w-x", "border-w-y", "border-w-s", "border-w-e", "border-w-bs", "border-w-be", "border-w-t", "border-w-r", "border-w-b", "border-w-l"],
3130
+ "border-w-x": ["border-w-r", "border-w-l"],
3131
+ "border-w-y": ["border-w-t", "border-w-b"],
3132
+ "border-color": ["border-color-x", "border-color-y", "border-color-s", "border-color-e", "border-color-bs", "border-color-be", "border-color-t", "border-color-r", "border-color-b", "border-color-l"],
3133
+ "border-color-x": ["border-color-r", "border-color-l"],
3134
+ "border-color-y": ["border-color-t", "border-color-b"],
3135
+ translate: ["translate-x", "translate-y", "translate-none"],
3136
+ "translate-none": ["translate", "translate-x", "translate-y", "translate-z"],
3137
+ "scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mbs", "scroll-mbe", "scroll-mt", "scroll-mr", "scroll-mb", "scroll-ml"],
3138
+ "scroll-mx": ["scroll-mr", "scroll-ml"],
3139
+ "scroll-my": ["scroll-mt", "scroll-mb"],
3140
+ "scroll-p": ["scroll-px", "scroll-py", "scroll-ps", "scroll-pe", "scroll-pbs", "scroll-pbe", "scroll-pt", "scroll-pr", "scroll-pb", "scroll-pl"],
3141
+ "scroll-px": ["scroll-pr", "scroll-pl"],
3142
+ "scroll-py": ["scroll-pt", "scroll-pb"],
3143
+ touch: ["touch-x", "touch-y", "touch-pz"],
3144
+ "touch-x": ["touch"],
3145
+ "touch-y": ["touch"],
3146
+ "touch-pz": ["touch"]
3147
+ },
3148
+ conflictingClassGroupModifiers: {
3149
+ "font-size": ["leading"]
3150
+ },
3151
+ postfixLookupClassGroups: ["container-type"],
3152
+ orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
3153
+ };
3154
+ }, yo = /* @__PURE__ */ qr(ho);
3155
+ function f(...e) {
3156
+ return yo(Ar(e));
3157
+ }
3158
+ const xo = {
3159
+ primary: {
3160
+ backgroundColor: "var(--gryt-accent)",
3161
+ color: "#141126",
3162
+ "&:hover": {
3163
+ backgroundColor: "var(--gryt-accent-light)"
3164
+ }
3165
+ },
3166
+ secondary: {
3167
+ backgroundColor: "var(--gryt-secondary)",
3168
+ color: "#07131c",
3169
+ "&:hover": {
3170
+ backgroundColor: "#bae6fd"
3171
+ }
3172
+ },
3173
+ neutral: {
3174
+ backgroundColor: "var(--gryt-surface-raised)",
3175
+ color: "var(--gryt-text)",
3176
+ "&:hover": {
3177
+ backgroundColor: "#334155"
3178
+ }
3179
+ },
3180
+ danger: {
3181
+ backgroundColor: "var(--gryt-danger)",
3182
+ color: "#250b0b",
3183
+ "&:hover": {
3184
+ backgroundColor: "#fca5a5"
3185
+ }
3186
+ },
3187
+ ghost: {
3188
+ backgroundColor: "transparent",
3189
+ color: "var(--gryt-muted)",
3190
+ "&:hover": {
3191
+ backgroundColor: "rgb(255 255 255 / 0.08)",
3192
+ color: "var(--gryt-text)"
3193
+ }
3194
+ }
3195
+ }, ko = h(
3196
+ function({
3197
+ className: r,
3198
+ size: t = "medium",
3199
+ sx: o,
3200
+ tone: n = "primary",
3201
+ variant: l = "contained",
3202
+ ...i
3203
+ }, p) {
3204
+ return /* @__PURE__ */ u(
3205
+ He,
3206
+ {
3207
+ ref: p,
3208
+ size: t === "xsmall" ? "small" : t,
3209
+ variant: l,
3210
+ className: f(
3211
+ "gryt-button",
3212
+ t === "xsmall" && "min-h-8 px-3 text-xs",
3213
+ r
3214
+ ),
3215
+ sx: [
3216
+ xo[n],
3217
+ t === "xsmall" && {
3218
+ minHeight: 32,
3219
+ paddingInline: 12,
3220
+ fontSize: "0.75rem"
3221
+ },
3222
+ ...Array.isArray(o) ? o : o ? [o] : []
3223
+ ],
3224
+ ...i
3225
+ }
3226
+ );
3227
+ }
3228
+ ), wo = {
3229
+ primary: {
3230
+ color: "var(--gryt-accent)",
3231
+ "&:hover": { backgroundColor: "rgb(150 143 248 / 0.1)" }
3232
+ },
3233
+ secondary: {
3234
+ color: "var(--gryt-secondary)",
3235
+ "&:hover": { backgroundColor: "rgb(125 211 252 / 0.1)" }
3236
+ },
3237
+ neutral: {
3238
+ color: "var(--gryt-muted)",
3239
+ "&:hover": {
3240
+ backgroundColor: "rgb(255 255 255 / 0.08)",
3241
+ color: "var(--gryt-text)"
3242
+ }
3243
+ },
3244
+ danger: {
3245
+ color: "var(--gryt-danger)",
3246
+ "&:hover": { backgroundColor: "rgb(248 113 113 / 0.1)" }
3247
+ },
3248
+ ghost: {
3249
+ color: "var(--gryt-muted)",
3250
+ "&:hover": {
3251
+ backgroundColor: "rgb(255 255 255 / 0.08)",
3252
+ color: "var(--gryt-text)"
3253
+ }
3254
+ }
3255
+ }, lt = h(
3256
+ function({ className: r, size: t = "medium", sx: o, tone: n = "neutral", ...l }, i) {
3257
+ return /* @__PURE__ */ u(
3258
+ Ye,
3259
+ {
3260
+ ref: i,
3261
+ size: t === "xsmall" ? "small" : t,
3262
+ className: f("gryt-icon-button", r),
3263
+ sx: [
3264
+ wo[n],
3265
+ t === "xsmall" && {
3266
+ height: 32,
3267
+ width: 32,
3268
+ padding: 0.5
3269
+ },
3270
+ ...Array.isArray(o) ? o : o ? [o] : []
3271
+ ],
3272
+ ...l
3273
+ }
3274
+ );
3275
+ }
3276
+ ), ct = h(
3277
+ function({ className: r, elevated: t = !1, ...o }, n) {
3278
+ return /* @__PURE__ */ u(
3279
+ qe,
3280
+ {
3281
+ ref: n,
3282
+ className: f(
3283
+ "gryt-surface rounded-(--gryt-radius-lg)",
3284
+ t && "bg-gryt-surface-raised",
3285
+ r
3286
+ ),
3287
+ ...o
3288
+ }
3289
+ );
3290
+ }
3291
+ ), dt = h(
3292
+ function({ children: r, className: t, from: o = "assistant", ...n }, l) {
3293
+ return /* @__PURE__ */ u(
3294
+ "div",
3295
+ {
3296
+ ref: l,
3297
+ className: f(
3298
+ "gryt-message-bubble",
3299
+ o === "user" && "ml-auto bg-gryt-accent text-[#141126]",
3300
+ o === "assistant" && "mr-auto border border-gryt-border bg-gryt-surface text-gryt-text",
3301
+ o === "system" && "mx-auto border border-dashed border-gryt-border bg-transparent text-gryt-muted",
3302
+ t
3303
+ ),
3304
+ ...n,
3305
+ children: r
3306
+ }
3307
+ );
3308
+ }
3309
+ ), vo = h(
3310
+ function({ className: r, variant: t = "outlined", ...o }, n) {
3311
+ return /* @__PURE__ */ u(
3312
+ Xe,
3313
+ {
3314
+ ref: n,
3315
+ variant: t,
3316
+ className: f("gryt-text-field", r),
3317
+ ...o
3318
+ }
3319
+ );
3320
+ }
3321
+ ), mt = h(
3322
+ function({
3323
+ className: r,
3324
+ disabled: t = !1,
3325
+ onSubmit: o,
3326
+ placeholder: n = "Message Gryt",
3327
+ submitLabel: l = "Send",
3328
+ ...i
3329
+ }, p) {
3330
+ function g(m) {
3331
+ if (!o) {
3332
+ m.preventDefault();
3333
+ return;
3334
+ }
3335
+ o(m);
3336
+ }
3337
+ return /* @__PURE__ */ q("form", { className: f("gryt-composer", r), onSubmit: g, children: [
3338
+ /* @__PURE__ */ u(
3339
+ Je,
3340
+ {
3341
+ ref: p,
3342
+ minRows: 1,
3343
+ maxRows: 8,
3344
+ disabled: t,
3345
+ placeholder: n,
3346
+ className: "gryt-composer-textarea disabled:cursor-not-allowed disabled:opacity-60",
3347
+ ...i
3348
+ }
3349
+ ),
3350
+ /* @__PURE__ */ u(ko, { type: "submit", disabled: t, size: "small", children: l })
3351
+ ] });
3352
+ }
3353
+ ), ut = h(function({ active: r = !1, avatar: t, className: o, subtitle: n, title: l, ...i }, p) {
3354
+ return /* @__PURE__ */ q(
3355
+ "button",
3356
+ {
3357
+ ref: p,
3358
+ type: "button",
3359
+ className: f(
3360
+ "gryt-conversation-item",
3361
+ r ? "bg-gryt-accent text-[#141126]" : "text-gryt-text hover:bg-white/5",
3362
+ o
3363
+ ),
3364
+ ...i,
3365
+ children: [
3366
+ t ?? /* @__PURE__ */ u(
3367
+ Ae,
3368
+ {
3369
+ className: f(
3370
+ "h-9 w-9 text-sm",
3371
+ r ? "bg-[#141126] text-gryt-accent" : "bg-gryt-surface-raised text-gryt-text"
3372
+ ),
3373
+ children: l.slice(0, 1).toUpperCase()
3374
+ }
3375
+ ),
3376
+ /* @__PURE__ */ q("span", { className: "min-w-0 flex-1", children: [
3377
+ /* @__PURE__ */ u("span", { className: "block truncate text-sm font-semibold", children: l }),
3378
+ n ? /* @__PURE__ */ u(
3379
+ "span",
3380
+ {
3381
+ className: f(
3382
+ "block truncate text-xs",
3383
+ r ? "text-[#302a63]" : "text-gryt-muted"
3384
+ ),
3385
+ children: n
3386
+ }
3387
+ ) : null
3388
+ ] })
3389
+ ]
3390
+ }
3391
+ );
3392
+ }), pt = h(function({ className: r, ...t }, o) {
3393
+ return /* @__PURE__ */ u(Ae, { ref: o, className: f("gryt-avatar", r), ...t });
3394
+ }), bt = h(function({ className: r, ...t }, o) {
3395
+ return /* @__PURE__ */ u(Qe, { ref: o, className: f("gryt-badge", r), ...t });
3396
+ }), ft = h(function({ className: r, ...t }, o) {
3397
+ return /* @__PURE__ */ u(Ke, { ref: o, className: f("gryt-chip", r), ...t });
3398
+ }), gt = h(
3399
+ function({ className: r, ...t }, o) {
3400
+ return /* @__PURE__ */ u(
3401
+ Ze,
3402
+ {
3403
+ ref: o,
3404
+ className: f("gryt-checkbox", r),
3405
+ ...t
3406
+ }
3407
+ );
3408
+ }
3409
+ ), ht = h(function({ className: r, ...t }, o) {
3410
+ return /* @__PURE__ */ u(er, { ref: o, className: f("gryt-radio", r), ...t });
3411
+ }), yt = h(
3412
+ function({ className: r, ...t }, o) {
3413
+ return /* @__PURE__ */ u(
3414
+ rr,
3415
+ {
3416
+ ref: o,
3417
+ className: f("gryt-switch", r),
3418
+ ...t
3419
+ }
3420
+ );
3421
+ }
3422
+ ), xt = h(function({ className: r, ...t }, o) {
3423
+ return /* @__PURE__ */ u(or, { ref: o, className: f("gryt-slider", r), ...t });
3424
+ });
3425
+ function kt({ children: e, options: r, ...t }) {
3426
+ return /* @__PURE__ */ q(vo, { select: !0, ...t, children: [
3427
+ r?.map((o) => /* @__PURE__ */ u(
3428
+ Se,
3429
+ {
3430
+ value: o.value,
3431
+ disabled: o.disabled,
3432
+ children: o.label
3433
+ },
3434
+ o.value
3435
+ )),
3436
+ e
3437
+ ] });
3438
+ }
3439
+ function wt(e) {
3440
+ return /* @__PURE__ */ u(tr, { arrow: !0, enterDelay: 350, ...e });
3441
+ }
3442
+ const vt = h(function({ className: r, ...t }, o) {
3443
+ return /* @__PURE__ */ u(
3444
+ nr,
3445
+ {
3446
+ ref: o,
3447
+ className: f("gryt-divider", r),
3448
+ ...t
3449
+ }
3450
+ );
3451
+ }), Ct = h(function({ className: r, ...t }, o) {
3452
+ return /* @__PURE__ */ u(sr, { ref: o, className: f("gryt-card", r), ...t });
3453
+ });
3454
+ function zt({ className: e, ...r }) {
3455
+ return /* @__PURE__ */ u(lr, { className: f("gryt-card-header", e), ...r });
3456
+ }
3457
+ function Mt({ className: e, ...r }) {
3458
+ return /* @__PURE__ */ u(ir, { className: f("gryt-card-content", e), ...r });
3459
+ }
3460
+ function At({ className: e, ...r }) {
3461
+ return /* @__PURE__ */ u(ar, { className: f("gryt-card-actions", e), ...r });
3462
+ }
3463
+ const St = h(function({ className: r, variant: t = "outlined", ...o }, n) {
3464
+ return /* @__PURE__ */ u(
3465
+ cr,
3466
+ {
3467
+ ref: n,
3468
+ variant: t,
3469
+ className: f("gryt-alert", r),
3470
+ ...o
3471
+ }
3472
+ );
3473
+ });
3474
+ function Nt({ className: e, ...r }) {
3475
+ return /* @__PURE__ */ u(dr, { className: f("gryt-spinner", e), ...r });
3476
+ }
3477
+ function It({ className: e, ...r }) {
3478
+ return /* @__PURE__ */ u(mr, { className: f("gryt-progress", e), ...r });
3479
+ }
3480
+ function Tt({ className: e, ...r }) {
3481
+ return /* @__PURE__ */ u(ur, { className: f("gryt-skeleton", e), ...r });
3482
+ }
3483
+ function Rt({ PaperProps: e, ...r }) {
3484
+ return /* @__PURE__ */ u(
3485
+ pr,
3486
+ {
3487
+ PaperProps: {
3488
+ ...e,
3489
+ className: f("gryt-dialog", e?.className)
3490
+ },
3491
+ ...r
3492
+ }
3493
+ );
3494
+ }
3495
+ function Pt({ className: e, ...r }) {
3496
+ return /* @__PURE__ */ u(gr, { className: f("gryt-dialog-title", e), ...r });
3497
+ }
3498
+ function Gt({ className: e, ...r }) {
3499
+ return /* @__PURE__ */ u(
3500
+ fr,
3501
+ {
3502
+ className: f("gryt-dialog-content", e),
3503
+ ...r
3504
+ }
3505
+ );
3506
+ }
3507
+ function Lt({ className: e, ...r }) {
3508
+ return /* @__PURE__ */ u(
3509
+ br,
3510
+ {
3511
+ className: f("gryt-dialog-actions", e),
3512
+ ...r
3513
+ }
3514
+ );
3515
+ }
3516
+ function Ot({ PaperProps: e, ...r }) {
3517
+ return /* @__PURE__ */ u(
3518
+ hr,
3519
+ {
3520
+ PaperProps: {
3521
+ ...e,
3522
+ className: f("gryt-drawer", e?.className)
3523
+ },
3524
+ ...r
3525
+ }
3526
+ );
3527
+ }
3528
+ function Bt({ PaperProps: e, ...r }) {
3529
+ return /* @__PURE__ */ u(
3530
+ yr,
3531
+ {
3532
+ PaperProps: {
3533
+ ...e,
3534
+ className: f("gryt-menu", e?.className)
3535
+ },
3536
+ ...r
3537
+ }
3538
+ );
3539
+ }
3540
+ h(
3541
+ function({ className: r, ...t }, o) {
3542
+ return /* @__PURE__ */ u(
3543
+ Se,
3544
+ {
3545
+ ref: o,
3546
+ className: f("gryt-menu-item", r),
3547
+ ...t
3548
+ }
3549
+ );
3550
+ }
3551
+ );
3552
+ const jt = h(function({ className: r, ...t }, o) {
3553
+ return /* @__PURE__ */ u(kr, { ref: o, className: f("gryt-tabs", r), ...t });
3554
+ }), Dt = h(function({ className: r, ...t }, o) {
3555
+ return /* @__PURE__ */ u(xr, { ref: o, className: f("gryt-tab", r), ...t });
3556
+ }), Ft = h(
3557
+ function({ className: r, disableGutters: t = !0, elevation: o = 0, ...n }, l) {
3558
+ return /* @__PURE__ */ u(
3559
+ wr,
3560
+ {
3561
+ ref: l,
3562
+ disableGutters: t,
3563
+ elevation: o,
3564
+ className: f("gryt-accordion", r),
3565
+ ...n
3566
+ }
3567
+ );
3568
+ }
3569
+ );
3570
+ function Wt({
3571
+ className: e,
3572
+ ...r
3573
+ }) {
3574
+ return /* @__PURE__ */ u(
3575
+ Cr,
3576
+ {
3577
+ className: f("gryt-accordion-summary", e),
3578
+ ...r
3579
+ }
3580
+ );
3581
+ }
3582
+ function Et({
3583
+ className: e,
3584
+ ...r
3585
+ }) {
3586
+ return /* @__PURE__ */ u(
3587
+ vr,
3588
+ {
3589
+ className: f("gryt-accordion-details", e),
3590
+ ...r
3591
+ }
3592
+ );
3593
+ }
3594
+ export {
3595
+ Ft as Accordion,
3596
+ Et as AccordionDetails,
3597
+ Wt as AccordionSummary,
3598
+ St as Alert,
3599
+ pt as Avatar,
3600
+ bt as Badge,
3601
+ ko as Button,
3602
+ Ct as Card,
3603
+ At as CardActions,
3604
+ Mt as CardContent,
3605
+ zt as CardHeader,
3606
+ gt as Checkbox,
3607
+ ft as Chip,
3608
+ mt as Composer,
3609
+ ut as ConversationItem,
3610
+ Rt as Dialog,
3611
+ Lt as DialogActions,
3612
+ Gt as DialogContent,
3613
+ Pt as DialogTitle,
3614
+ vt as Divider,
3615
+ Ot as Drawer,
3616
+ it as GrytProvider,
3617
+ lt as IconButton,
3618
+ Bt as Menu,
3619
+ $t as MenuItem,
3620
+ dt as MessageBubble,
3621
+ It as Progress,
3622
+ ht as Radio,
3623
+ kt as Select,
3624
+ Tt as Skeleton,
3625
+ xt as Slider,
3626
+ Nt as Spinner,
3627
+ ct as Surface,
3628
+ yt as Switch,
3629
+ Dt as Tab,
3630
+ jt as Tabs,
3631
+ vo as TextField,
3632
+ wt as Tooltip,
3633
+ zr as createGrytTheme,
3634
+ k as grytTokens
3635
+ };
3636
+ //# sourceMappingURL=index.js.map