@spear-ai/spectral 1.1.4 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2771 +0,0 @@
1
- "use client";
2
- function we(e) {
3
- var t, o, r = "";
4
- if (typeof e == "string" || typeof e == "number") r += e;
5
- else if (typeof e == "object") if (Array.isArray(e)) {
6
- var a = e.length;
7
- for (t = 0; t < a; t++) e[t] && (o = we(e[t])) && (r && (r += " "), r += o);
8
- } else for (o in e) e[o] && (r && (r += " "), r += o);
9
- return r;
10
- }
11
- function Ge() {
12
- for (var e, t, o = 0, r = "", a = arguments.length; o < a; o++) (e = arguments[o]) && (t = we(e)) && (r && (r += " "), r += t);
13
- return r;
14
- }
15
- const ne = "-", Ne = (e) => {
16
- const t = Ve(e), {
17
- conflictingClassGroups: o,
18
- conflictingClassGroupModifiers: r
19
- } = e;
20
- return {
21
- getClassGroupId: (l) => {
22
- const p = l.split(ne);
23
- return p[0] === "" && p.length !== 1 && p.shift(), ke(p, t) || Te(l);
24
- },
25
- getConflictingClassGroupIds: (l, p) => {
26
- const u = o[l] || [];
27
- return p && r[l] ? [...u, ...r[l]] : u;
28
- }
29
- };
30
- }, ke = (e, t) => {
31
- if (e.length === 0)
32
- return t.classGroupId;
33
- const o = e[0], r = t.nextPart.get(o), a = r ? ke(e.slice(1), r) : void 0;
34
- if (a)
35
- return a;
36
- if (t.validators.length === 0)
37
- return;
38
- const c = e.join(ne);
39
- return t.validators.find(({
40
- validator: l
41
- }) => l(c))?.classGroupId;
42
- }, fe = /^\[(.+)\]$/, Te = (e) => {
43
- if (fe.test(e)) {
44
- const t = fe.exec(e)[1], o = t?.substring(0, t.indexOf(":"));
45
- if (o)
46
- return "arbitrary.." + o;
47
- }
48
- }, Ve = (e) => {
49
- const {
50
- theme: t,
51
- classGroups: o
52
- } = e, r = {
53
- nextPart: /* @__PURE__ */ new Map(),
54
- validators: []
55
- };
56
- for (const a in o)
57
- re(o[a], r, a, t);
58
- return r;
59
- }, re = (e, t, o, r) => {
60
- e.forEach((a) => {
61
- if (typeof a == "string") {
62
- const c = a === "" ? t : be(t, a);
63
- c.classGroupId = o;
64
- return;
65
- }
66
- if (typeof a == "function") {
67
- if (Ee(a)) {
68
- re(a(r), t, o, r);
69
- return;
70
- }
71
- t.validators.push({
72
- validator: a,
73
- classGroupId: o
74
- });
75
- return;
76
- }
77
- Object.entries(a).forEach(([c, l]) => {
78
- re(l, be(t, c), o, r);
79
- });
80
- });
81
- }, be = (e, t) => {
82
- let o = e;
83
- return t.split(ne).forEach((r) => {
84
- o.nextPart.has(r) || o.nextPart.set(r, {
85
- nextPart: /* @__PURE__ */ new Map(),
86
- validators: []
87
- }), o = o.nextPart.get(r);
88
- }), o;
89
- }, Ee = (e) => e.isThemeGetter, je = (e) => {
90
- if (e < 1)
91
- return {
92
- get: () => {
93
- },
94
- set: () => {
95
- }
96
- };
97
- let t = 0, o = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map();
98
- const a = (c, l) => {
99
- o.set(c, l), t++, t > e && (t = 0, r = o, o = /* @__PURE__ */ new Map());
100
- };
101
- return {
102
- get(c) {
103
- let l = o.get(c);
104
- if (l !== void 0)
105
- return l;
106
- if ((l = r.get(c)) !== void 0)
107
- return a(c, l), l;
108
- },
109
- set(c, l) {
110
- o.has(c) ? o.set(c, l) : a(c, l);
111
- }
112
- };
113
- }, te = "!", se = ":", Le = se.length, Oe = (e) => {
114
- const {
115
- prefix: t,
116
- experimentalParseClassName: o
117
- } = e;
118
- let r = (a) => {
119
- const c = [];
120
- let l = 0, p = 0, u = 0, f;
121
- for (let w = 0; w < a.length; w++) {
122
- let k = a[w];
123
- if (l === 0 && p === 0) {
124
- if (k === se) {
125
- c.push(a.slice(u, w)), u = w + Le;
126
- continue;
127
- }
128
- if (k === "/") {
129
- f = w;
130
- continue;
131
- }
132
- }
133
- k === "[" ? l++ : k === "]" ? l-- : k === "(" ? p++ : k === ")" && p--;
134
- }
135
- const b = c.length === 0 ? a : a.substring(u), y = _e(b), z = y !== b, I = f && f > u ? f - u : void 0;
136
- return {
137
- modifiers: c,
138
- hasImportantModifier: z,
139
- baseClassName: y,
140
- maybePostfixModifierPosition: I
141
- };
142
- };
143
- if (t) {
144
- const a = t + se, c = r;
145
- r = (l) => l.startsWith(a) ? c(l.substring(a.length)) : {
146
- isExternal: !0,
147
- modifiers: [],
148
- hasImportantModifier: !1,
149
- baseClassName: l,
150
- maybePostfixModifierPosition: void 0
151
- };
152
- }
153
- if (o) {
154
- const a = r;
155
- r = (c) => o({
156
- className: c,
157
- parseClassName: a
158
- });
159
- }
160
- return r;
161
- }, _e = (e) => e.endsWith(te) ? e.substring(0, e.length - 1) : e.startsWith(te) ? e.substring(1) : e, Fe = (e) => {
162
- const t = Object.fromEntries(e.orderSensitiveModifiers.map((r) => [r, !0]));
163
- return (r) => {
164
- if (r.length <= 1)
165
- return r;
166
- const a = [];
167
- let c = [];
168
- return r.forEach((l) => {
169
- l[0] === "[" || t[l] ? (a.push(...c.sort(), l), c = []) : c.push(l);
170
- }), a.push(...c.sort()), a;
171
- };
172
- }, Be = (e) => ({
173
- cache: je(e.cacheSize),
174
- parseClassName: Oe(e),
175
- sortModifiers: Fe(e),
176
- ...Ne(e)
177
- }), We = /\s+/, $e = (e, t) => {
178
- const {
179
- parseClassName: o,
180
- getClassGroupId: r,
181
- getConflictingClassGroupIds: a,
182
- sortModifiers: c
183
- } = t, l = [], p = e.trim().split(We);
184
- let u = "";
185
- for (let f = p.length - 1; f >= 0; f -= 1) {
186
- const b = p[f], {
187
- isExternal: y,
188
- modifiers: z,
189
- hasImportantModifier: I,
190
- baseClassName: w,
191
- maybePostfixModifierPosition: k
192
- } = o(b);
193
- if (y) {
194
- u = b + (u.length > 0 ? " " + u : u);
195
- continue;
196
- }
197
- let C = !!k, R = r(C ? w.substring(0, k) : w);
198
- if (!R) {
199
- if (!C) {
200
- u = b + (u.length > 0 ? " " + u : u);
201
- continue;
202
- }
203
- if (R = r(w), !R) {
204
- u = b + (u.length > 0 ? " " + u : u);
205
- continue;
206
- }
207
- C = !1;
208
- }
209
- const $ = c(z).join(":"), F = I ? $ + te : $, V = F + R;
210
- if (l.includes(V))
211
- continue;
212
- l.push(V);
213
- const E = a(R, C);
214
- for (let G = 0; G < E.length; ++G) {
215
- const B = E[G];
216
- l.push(F + B);
217
- }
218
- u = b + (u.length > 0 ? " " + u : u);
219
- }
220
- return u;
221
- };
222
- function Ue() {
223
- let e = 0, t, o, r = "";
224
- for (; e < arguments.length; )
225
- (t = arguments[e++]) && (o = ve(t)) && (r && (r += " "), r += o);
226
- return r;
227
- }
228
- const ve = (e) => {
229
- if (typeof e == "string")
230
- return e;
231
- let t, o = "";
232
- for (let r = 0; r < e.length; r++)
233
- e[r] && (t = ve(e[r])) && (o && (o += " "), o += t);
234
- return o;
235
- };
236
- function qe(e, ...t) {
237
- let o, r, a, c = l;
238
- function l(u) {
239
- const f = t.reduce((b, y) => y(b), e());
240
- return o = Be(f), r = o.cache.get, a = o.cache.set, c = p, p(u);
241
- }
242
- function p(u) {
243
- const f = r(u);
244
- if (f)
245
- return f;
246
- const b = $e(u, o);
247
- return a(u, b), b;
248
- }
249
- return function() {
250
- return c(Ue.apply(null, arguments));
251
- };
252
- }
253
- const g = (e) => {
254
- const t = (o) => o[e] || [];
255
- return t.isThemeGetter = !0, t;
256
- }, ze = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ce = /^\((?:(\w[\w-]*):)?(.+)\)$/i, He = /^\d+\/\d+$/, Je = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Ke = /\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$/, Xe = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, De = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Qe = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, L = (e) => He.test(e), m = (e) => !!e && !Number.isNaN(Number(e)), P = (e) => !!e && Number.isInteger(Number(e)), ee = (e) => e.endsWith("%") && m(e.slice(0, -1)), S = (e) => Je.test(e), Ye = () => !0, Ze = (e) => (
257
- // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
258
- // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
259
- // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
260
- Ke.test(e) && !Xe.test(e)
261
- ), Ae = () => !1, eo = (e) => De.test(e), oo = (e) => Qe.test(e), ro = (e) => !s(e) && !n(e), to = (e) => O(e, Pe, Ae), s = (e) => ze.test(e), T = (e) => O(e, Ie, Ze), oe = (e) => O(e, lo, m), ge = (e) => O(e, Me, Ae), so = (e) => O(e, Se, oo), X = (e) => O(e, Re, eo), n = (e) => Ce.test(e), W = (e) => _(e, Ie), no = (e) => _(e, co), he = (e) => _(e, Me), ao = (e) => _(e, Pe), io = (e) => _(e, Se), D = (e) => _(e, Re, !0), O = (e, t, o) => {
262
- const r = ze.exec(e);
263
- return r ? r[1] ? t(r[1]) : o(r[2]) : !1;
264
- }, _ = (e, t, o = !1) => {
265
- const r = Ce.exec(e);
266
- return r ? r[1] ? t(r[1]) : o : !1;
267
- }, Me = (e) => e === "position" || e === "percentage", Se = (e) => e === "image" || e === "url", Pe = (e) => e === "length" || e === "size" || e === "bg-size", Ie = (e) => e === "length", lo = (e) => e === "number", co = (e) => e === "family-name", Re = (e) => e === "shadow", mo = () => {
268
- const e = g("color"), t = g("font"), o = g("text"), r = g("font-weight"), a = g("tracking"), c = g("leading"), l = g("breakpoint"), p = g("container"), u = g("spacing"), f = g("radius"), b = g("shadow"), y = g("inset-shadow"), z = g("text-shadow"), I = g("drop-shadow"), w = g("blur"), k = g("perspective"), C = g("aspect"), R = g("ease"), $ = g("animate"), F = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], V = () => [
269
- "center",
270
- "top",
271
- "bottom",
272
- "left",
273
- "right",
274
- "top-left",
275
- // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
276
- "left-top",
277
- "top-right",
278
- // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
279
- "right-top",
280
- "bottom-right",
281
- // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
282
- "right-bottom",
283
- "bottom-left",
284
- // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
285
- "left-bottom"
286
- ], E = () => [...V(), n, s], G = () => ["auto", "hidden", "clip", "visible", "scroll"], B = () => ["auto", "contain", "none"], d = () => [n, s, u], A = () => [L, "full", "auto", ...d()], ae = () => [P, "none", "subgrid", n, s], ie = () => ["auto", {
287
- span: ["full", P, n, s]
288
- }, P, n, s], U = () => [P, "auto", n, s], le = () => ["auto", "min", "max", "fr", n, s], Q = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], j = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], M = () => ["auto", ...d()], N = () => [L, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...d()], i = () => [e, n, s], ce = () => [...V(), he, ge, {
289
- position: [n, s]
290
- }], de = () => ["no-repeat", {
291
- repeat: ["", "x", "y", "space", "round"]
292
- }], me = () => ["auto", "cover", "contain", ao, to, {
293
- size: [n, s]
294
- }], Y = () => [ee, W, T], x = () => [
295
- // Deprecated since Tailwind CSS v4.0.0
296
- "",
297
- "none",
298
- "full",
299
- f,
300
- n,
301
- s
302
- ], v = () => ["", m, W, T], q = () => ["solid", "dashed", "dotted", "double"], ue = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], h = () => [m, ee, he, ge], pe = () => [
303
- // Deprecated since Tailwind CSS v4.0.0
304
- "",
305
- "none",
306
- w,
307
- n,
308
- s
309
- ], H = () => ["none", m, n, s], J = () => ["none", m, n, s], Z = () => [m, n, s], K = () => [L, "full", ...d()];
310
- return {
311
- cacheSize: 500,
312
- theme: {
313
- animate: ["spin", "ping", "pulse", "bounce"],
314
- aspect: ["video"],
315
- blur: [S],
316
- breakpoint: [S],
317
- color: [Ye],
318
- container: [S],
319
- "drop-shadow": [S],
320
- ease: ["in", "out", "in-out"],
321
- font: [ro],
322
- "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
323
- "inset-shadow": [S],
324
- leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
325
- perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
326
- radius: [S],
327
- shadow: [S],
328
- spacing: ["px", m],
329
- text: [S],
330
- "text-shadow": [S],
331
- tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
332
- },
333
- classGroups: {
334
- // --------------
335
- // --- Layout ---
336
- // --------------
337
- /**
338
- * Aspect Ratio
339
- * @see https://tailwindcss.com/docs/aspect-ratio
340
- */
341
- aspect: [{
342
- aspect: ["auto", "square", L, s, n, C]
343
- }],
344
- /**
345
- * Container
346
- * @see https://tailwindcss.com/docs/container
347
- * @deprecated since Tailwind CSS v4.0.0
348
- */
349
- container: ["container"],
350
- /**
351
- * Columns
352
- * @see https://tailwindcss.com/docs/columns
353
- */
354
- columns: [{
355
- columns: [m, s, n, p]
356
- }],
357
- /**
358
- * Break After
359
- * @see https://tailwindcss.com/docs/break-after
360
- */
361
- "break-after": [{
362
- "break-after": F()
363
- }],
364
- /**
365
- * Break Before
366
- * @see https://tailwindcss.com/docs/break-before
367
- */
368
- "break-before": [{
369
- "break-before": F()
370
- }],
371
- /**
372
- * Break Inside
373
- * @see https://tailwindcss.com/docs/break-inside
374
- */
375
- "break-inside": [{
376
- "break-inside": ["auto", "avoid", "avoid-page", "avoid-column"]
377
- }],
378
- /**
379
- * Box Decoration Break
380
- * @see https://tailwindcss.com/docs/box-decoration-break
381
- */
382
- "box-decoration": [{
383
- "box-decoration": ["slice", "clone"]
384
- }],
385
- /**
386
- * Box Sizing
387
- * @see https://tailwindcss.com/docs/box-sizing
388
- */
389
- box: [{
390
- box: ["border", "content"]
391
- }],
392
- /**
393
- * Display
394
- * @see https://tailwindcss.com/docs/display
395
- */
396
- 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"],
397
- /**
398
- * Screen Reader Only
399
- * @see https://tailwindcss.com/docs/display#screen-reader-only
400
- */
401
- sr: ["sr-only", "not-sr-only"],
402
- /**
403
- * Floats
404
- * @see https://tailwindcss.com/docs/float
405
- */
406
- float: [{
407
- float: ["right", "left", "none", "start", "end"]
408
- }],
409
- /**
410
- * Clear
411
- * @see https://tailwindcss.com/docs/clear
412
- */
413
- clear: [{
414
- clear: ["left", "right", "both", "none", "start", "end"]
415
- }],
416
- /**
417
- * Isolation
418
- * @see https://tailwindcss.com/docs/isolation
419
- */
420
- isolation: ["isolate", "isolation-auto"],
421
- /**
422
- * Object Fit
423
- * @see https://tailwindcss.com/docs/object-fit
424
- */
425
- "object-fit": [{
426
- object: ["contain", "cover", "fill", "none", "scale-down"]
427
- }],
428
- /**
429
- * Object Position
430
- * @see https://tailwindcss.com/docs/object-position
431
- */
432
- "object-position": [{
433
- object: E()
434
- }],
435
- /**
436
- * Overflow
437
- * @see https://tailwindcss.com/docs/overflow
438
- */
439
- overflow: [{
440
- overflow: G()
441
- }],
442
- /**
443
- * Overflow X
444
- * @see https://tailwindcss.com/docs/overflow
445
- */
446
- "overflow-x": [{
447
- "overflow-x": G()
448
- }],
449
- /**
450
- * Overflow Y
451
- * @see https://tailwindcss.com/docs/overflow
452
- */
453
- "overflow-y": [{
454
- "overflow-y": G()
455
- }],
456
- /**
457
- * Overscroll Behavior
458
- * @see https://tailwindcss.com/docs/overscroll-behavior
459
- */
460
- overscroll: [{
461
- overscroll: B()
462
- }],
463
- /**
464
- * Overscroll Behavior X
465
- * @see https://tailwindcss.com/docs/overscroll-behavior
466
- */
467
- "overscroll-x": [{
468
- "overscroll-x": B()
469
- }],
470
- /**
471
- * Overscroll Behavior Y
472
- * @see https://tailwindcss.com/docs/overscroll-behavior
473
- */
474
- "overscroll-y": [{
475
- "overscroll-y": B()
476
- }],
477
- /**
478
- * Position
479
- * @see https://tailwindcss.com/docs/position
480
- */
481
- position: ["static", "fixed", "absolute", "relative", "sticky"],
482
- /**
483
- * Top / Right / Bottom / Left
484
- * @see https://tailwindcss.com/docs/top-right-bottom-left
485
- */
486
- inset: [{
487
- inset: A()
488
- }],
489
- /**
490
- * Right / Left
491
- * @see https://tailwindcss.com/docs/top-right-bottom-left
492
- */
493
- "inset-x": [{
494
- "inset-x": A()
495
- }],
496
- /**
497
- * Top / Bottom
498
- * @see https://tailwindcss.com/docs/top-right-bottom-left
499
- */
500
- "inset-y": [{
501
- "inset-y": A()
502
- }],
503
- /**
504
- * Start
505
- * @see https://tailwindcss.com/docs/top-right-bottom-left
506
- */
507
- start: [{
508
- start: A()
509
- }],
510
- /**
511
- * End
512
- * @see https://tailwindcss.com/docs/top-right-bottom-left
513
- */
514
- end: [{
515
- end: A()
516
- }],
517
- /**
518
- * Top
519
- * @see https://tailwindcss.com/docs/top-right-bottom-left
520
- */
521
- top: [{
522
- top: A()
523
- }],
524
- /**
525
- * Right
526
- * @see https://tailwindcss.com/docs/top-right-bottom-left
527
- */
528
- right: [{
529
- right: A()
530
- }],
531
- /**
532
- * Bottom
533
- * @see https://tailwindcss.com/docs/top-right-bottom-left
534
- */
535
- bottom: [{
536
- bottom: A()
537
- }],
538
- /**
539
- * Left
540
- * @see https://tailwindcss.com/docs/top-right-bottom-left
541
- */
542
- left: [{
543
- left: A()
544
- }],
545
- /**
546
- * Visibility
547
- * @see https://tailwindcss.com/docs/visibility
548
- */
549
- visibility: ["visible", "invisible", "collapse"],
550
- /**
551
- * Z-Index
552
- * @see https://tailwindcss.com/docs/z-index
553
- */
554
- z: [{
555
- z: [P, "auto", n, s]
556
- }],
557
- // ------------------------
558
- // --- Flexbox and Grid ---
559
- // ------------------------
560
- /**
561
- * Flex Basis
562
- * @see https://tailwindcss.com/docs/flex-basis
563
- */
564
- basis: [{
565
- basis: [L, "full", "auto", p, ...d()]
566
- }],
567
- /**
568
- * Flex Direction
569
- * @see https://tailwindcss.com/docs/flex-direction
570
- */
571
- "flex-direction": [{
572
- flex: ["row", "row-reverse", "col", "col-reverse"]
573
- }],
574
- /**
575
- * Flex Wrap
576
- * @see https://tailwindcss.com/docs/flex-wrap
577
- */
578
- "flex-wrap": [{
579
- flex: ["nowrap", "wrap", "wrap-reverse"]
580
- }],
581
- /**
582
- * Flex
583
- * @see https://tailwindcss.com/docs/flex
584
- */
585
- flex: [{
586
- flex: [m, L, "auto", "initial", "none", s]
587
- }],
588
- /**
589
- * Flex Grow
590
- * @see https://tailwindcss.com/docs/flex-grow
591
- */
592
- grow: [{
593
- grow: ["", m, n, s]
594
- }],
595
- /**
596
- * Flex Shrink
597
- * @see https://tailwindcss.com/docs/flex-shrink
598
- */
599
- shrink: [{
600
- shrink: ["", m, n, s]
601
- }],
602
- /**
603
- * Order
604
- * @see https://tailwindcss.com/docs/order
605
- */
606
- order: [{
607
- order: [P, "first", "last", "none", n, s]
608
- }],
609
- /**
610
- * Grid Template Columns
611
- * @see https://tailwindcss.com/docs/grid-template-columns
612
- */
613
- "grid-cols": [{
614
- "grid-cols": ae()
615
- }],
616
- /**
617
- * Grid Column Start / End
618
- * @see https://tailwindcss.com/docs/grid-column
619
- */
620
- "col-start-end": [{
621
- col: ie()
622
- }],
623
- /**
624
- * Grid Column Start
625
- * @see https://tailwindcss.com/docs/grid-column
626
- */
627
- "col-start": [{
628
- "col-start": U()
629
- }],
630
- /**
631
- * Grid Column End
632
- * @see https://tailwindcss.com/docs/grid-column
633
- */
634
- "col-end": [{
635
- "col-end": U()
636
- }],
637
- /**
638
- * Grid Template Rows
639
- * @see https://tailwindcss.com/docs/grid-template-rows
640
- */
641
- "grid-rows": [{
642
- "grid-rows": ae()
643
- }],
644
- /**
645
- * Grid Row Start / End
646
- * @see https://tailwindcss.com/docs/grid-row
647
- */
648
- "row-start-end": [{
649
- row: ie()
650
- }],
651
- /**
652
- * Grid Row Start
653
- * @see https://tailwindcss.com/docs/grid-row
654
- */
655
- "row-start": [{
656
- "row-start": U()
657
- }],
658
- /**
659
- * Grid Row End
660
- * @see https://tailwindcss.com/docs/grid-row
661
- */
662
- "row-end": [{
663
- "row-end": U()
664
- }],
665
- /**
666
- * Grid Auto Flow
667
- * @see https://tailwindcss.com/docs/grid-auto-flow
668
- */
669
- "grid-flow": [{
670
- "grid-flow": ["row", "col", "dense", "row-dense", "col-dense"]
671
- }],
672
- /**
673
- * Grid Auto Columns
674
- * @see https://tailwindcss.com/docs/grid-auto-columns
675
- */
676
- "auto-cols": [{
677
- "auto-cols": le()
678
- }],
679
- /**
680
- * Grid Auto Rows
681
- * @see https://tailwindcss.com/docs/grid-auto-rows
682
- */
683
- "auto-rows": [{
684
- "auto-rows": le()
685
- }],
686
- /**
687
- * Gap
688
- * @see https://tailwindcss.com/docs/gap
689
- */
690
- gap: [{
691
- gap: d()
692
- }],
693
- /**
694
- * Gap X
695
- * @see https://tailwindcss.com/docs/gap
696
- */
697
- "gap-x": [{
698
- "gap-x": d()
699
- }],
700
- /**
701
- * Gap Y
702
- * @see https://tailwindcss.com/docs/gap
703
- */
704
- "gap-y": [{
705
- "gap-y": d()
706
- }],
707
- /**
708
- * Justify Content
709
- * @see https://tailwindcss.com/docs/justify-content
710
- */
711
- "justify-content": [{
712
- justify: [...Q(), "normal"]
713
- }],
714
- /**
715
- * Justify Items
716
- * @see https://tailwindcss.com/docs/justify-items
717
- */
718
- "justify-items": [{
719
- "justify-items": [...j(), "normal"]
720
- }],
721
- /**
722
- * Justify Self
723
- * @see https://tailwindcss.com/docs/justify-self
724
- */
725
- "justify-self": [{
726
- "justify-self": ["auto", ...j()]
727
- }],
728
- /**
729
- * Align Content
730
- * @see https://tailwindcss.com/docs/align-content
731
- */
732
- "align-content": [{
733
- content: ["normal", ...Q()]
734
- }],
735
- /**
736
- * Align Items
737
- * @see https://tailwindcss.com/docs/align-items
738
- */
739
- "align-items": [{
740
- items: [...j(), {
741
- baseline: ["", "last"]
742
- }]
743
- }],
744
- /**
745
- * Align Self
746
- * @see https://tailwindcss.com/docs/align-self
747
- */
748
- "align-self": [{
749
- self: ["auto", ...j(), {
750
- baseline: ["", "last"]
751
- }]
752
- }],
753
- /**
754
- * Place Content
755
- * @see https://tailwindcss.com/docs/place-content
756
- */
757
- "place-content": [{
758
- "place-content": Q()
759
- }],
760
- /**
761
- * Place Items
762
- * @see https://tailwindcss.com/docs/place-items
763
- */
764
- "place-items": [{
765
- "place-items": [...j(), "baseline"]
766
- }],
767
- /**
768
- * Place Self
769
- * @see https://tailwindcss.com/docs/place-self
770
- */
771
- "place-self": [{
772
- "place-self": ["auto", ...j()]
773
- }],
774
- // Spacing
775
- /**
776
- * Padding
777
- * @see https://tailwindcss.com/docs/padding
778
- */
779
- p: [{
780
- p: d()
781
- }],
782
- /**
783
- * Padding X
784
- * @see https://tailwindcss.com/docs/padding
785
- */
786
- px: [{
787
- px: d()
788
- }],
789
- /**
790
- * Padding Y
791
- * @see https://tailwindcss.com/docs/padding
792
- */
793
- py: [{
794
- py: d()
795
- }],
796
- /**
797
- * Padding Start
798
- * @see https://tailwindcss.com/docs/padding
799
- */
800
- ps: [{
801
- ps: d()
802
- }],
803
- /**
804
- * Padding End
805
- * @see https://tailwindcss.com/docs/padding
806
- */
807
- pe: [{
808
- pe: d()
809
- }],
810
- /**
811
- * Padding Top
812
- * @see https://tailwindcss.com/docs/padding
813
- */
814
- pt: [{
815
- pt: d()
816
- }],
817
- /**
818
- * Padding Right
819
- * @see https://tailwindcss.com/docs/padding
820
- */
821
- pr: [{
822
- pr: d()
823
- }],
824
- /**
825
- * Padding Bottom
826
- * @see https://tailwindcss.com/docs/padding
827
- */
828
- pb: [{
829
- pb: d()
830
- }],
831
- /**
832
- * Padding Left
833
- * @see https://tailwindcss.com/docs/padding
834
- */
835
- pl: [{
836
- pl: d()
837
- }],
838
- /**
839
- * Margin
840
- * @see https://tailwindcss.com/docs/margin
841
- */
842
- m: [{
843
- m: M()
844
- }],
845
- /**
846
- * Margin X
847
- * @see https://tailwindcss.com/docs/margin
848
- */
849
- mx: [{
850
- mx: M()
851
- }],
852
- /**
853
- * Margin Y
854
- * @see https://tailwindcss.com/docs/margin
855
- */
856
- my: [{
857
- my: M()
858
- }],
859
- /**
860
- * Margin Start
861
- * @see https://tailwindcss.com/docs/margin
862
- */
863
- ms: [{
864
- ms: M()
865
- }],
866
- /**
867
- * Margin End
868
- * @see https://tailwindcss.com/docs/margin
869
- */
870
- me: [{
871
- me: M()
872
- }],
873
- /**
874
- * Margin Top
875
- * @see https://tailwindcss.com/docs/margin
876
- */
877
- mt: [{
878
- mt: M()
879
- }],
880
- /**
881
- * Margin Right
882
- * @see https://tailwindcss.com/docs/margin
883
- */
884
- mr: [{
885
- mr: M()
886
- }],
887
- /**
888
- * Margin Bottom
889
- * @see https://tailwindcss.com/docs/margin
890
- */
891
- mb: [{
892
- mb: M()
893
- }],
894
- /**
895
- * Margin Left
896
- * @see https://tailwindcss.com/docs/margin
897
- */
898
- ml: [{
899
- ml: M()
900
- }],
901
- /**
902
- * Space Between X
903
- * @see https://tailwindcss.com/docs/margin#adding-space-between-children
904
- */
905
- "space-x": [{
906
- "space-x": d()
907
- }],
908
- /**
909
- * Space Between X Reverse
910
- * @see https://tailwindcss.com/docs/margin#adding-space-between-children
911
- */
912
- "space-x-reverse": ["space-x-reverse"],
913
- /**
914
- * Space Between Y
915
- * @see https://tailwindcss.com/docs/margin#adding-space-between-children
916
- */
917
- "space-y": [{
918
- "space-y": d()
919
- }],
920
- /**
921
- * Space Between Y Reverse
922
- * @see https://tailwindcss.com/docs/margin#adding-space-between-children
923
- */
924
- "space-y-reverse": ["space-y-reverse"],
925
- // --------------
926
- // --- Sizing ---
927
- // --------------
928
- /**
929
- * Size
930
- * @see https://tailwindcss.com/docs/width#setting-both-width-and-height
931
- */
932
- size: [{
933
- size: N()
934
- }],
935
- /**
936
- * Width
937
- * @see https://tailwindcss.com/docs/width
938
- */
939
- w: [{
940
- w: [p, "screen", ...N()]
941
- }],
942
- /**
943
- * Min-Width
944
- * @see https://tailwindcss.com/docs/min-width
945
- */
946
- "min-w": [{
947
- "min-w": [
948
- p,
949
- "screen",
950
- /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
951
- "none",
952
- ...N()
953
- ]
954
- }],
955
- /**
956
- * Max-Width
957
- * @see https://tailwindcss.com/docs/max-width
958
- */
959
- "max-w": [{
960
- "max-w": [
961
- p,
962
- "screen",
963
- "none",
964
- /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
965
- "prose",
966
- /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
967
- {
968
- screen: [l]
969
- },
970
- ...N()
971
- ]
972
- }],
973
- /**
974
- * Height
975
- * @see https://tailwindcss.com/docs/height
976
- */
977
- h: [{
978
- h: ["screen", "lh", ...N()]
979
- }],
980
- /**
981
- * Min-Height
982
- * @see https://tailwindcss.com/docs/min-height
983
- */
984
- "min-h": [{
985
- "min-h": ["screen", "lh", "none", ...N()]
986
- }],
987
- /**
988
- * Max-Height
989
- * @see https://tailwindcss.com/docs/max-height
990
- */
991
- "max-h": [{
992
- "max-h": ["screen", "lh", ...N()]
993
- }],
994
- // ------------------
995
- // --- Typography ---
996
- // ------------------
997
- /**
998
- * Font Size
999
- * @see https://tailwindcss.com/docs/font-size
1000
- */
1001
- "font-size": [{
1002
- text: ["base", o, W, T]
1003
- }],
1004
- /**
1005
- * Font Smoothing
1006
- * @see https://tailwindcss.com/docs/font-smoothing
1007
- */
1008
- "font-smoothing": ["antialiased", "subpixel-antialiased"],
1009
- /**
1010
- * Font Style
1011
- * @see https://tailwindcss.com/docs/font-style
1012
- */
1013
- "font-style": ["italic", "not-italic"],
1014
- /**
1015
- * Font Weight
1016
- * @see https://tailwindcss.com/docs/font-weight
1017
- */
1018
- "font-weight": [{
1019
- font: [r, n, oe]
1020
- }],
1021
- /**
1022
- * Font Stretch
1023
- * @see https://tailwindcss.com/docs/font-stretch
1024
- */
1025
- "font-stretch": [{
1026
- "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", ee, s]
1027
- }],
1028
- /**
1029
- * Font Family
1030
- * @see https://tailwindcss.com/docs/font-family
1031
- */
1032
- "font-family": [{
1033
- font: [no, s, t]
1034
- }],
1035
- /**
1036
- * Font Variant Numeric
1037
- * @see https://tailwindcss.com/docs/font-variant-numeric
1038
- */
1039
- "fvn-normal": ["normal-nums"],
1040
- /**
1041
- * Font Variant Numeric
1042
- * @see https://tailwindcss.com/docs/font-variant-numeric
1043
- */
1044
- "fvn-ordinal": ["ordinal"],
1045
- /**
1046
- * Font Variant Numeric
1047
- * @see https://tailwindcss.com/docs/font-variant-numeric
1048
- */
1049
- "fvn-slashed-zero": ["slashed-zero"],
1050
- /**
1051
- * Font Variant Numeric
1052
- * @see https://tailwindcss.com/docs/font-variant-numeric
1053
- */
1054
- "fvn-figure": ["lining-nums", "oldstyle-nums"],
1055
- /**
1056
- * Font Variant Numeric
1057
- * @see https://tailwindcss.com/docs/font-variant-numeric
1058
- */
1059
- "fvn-spacing": ["proportional-nums", "tabular-nums"],
1060
- /**
1061
- * Font Variant Numeric
1062
- * @see https://tailwindcss.com/docs/font-variant-numeric
1063
- */
1064
- "fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
1065
- /**
1066
- * Letter Spacing
1067
- * @see https://tailwindcss.com/docs/letter-spacing
1068
- */
1069
- tracking: [{
1070
- tracking: [a, n, s]
1071
- }],
1072
- /**
1073
- * Line Clamp
1074
- * @see https://tailwindcss.com/docs/line-clamp
1075
- */
1076
- "line-clamp": [{
1077
- "line-clamp": [m, "none", n, oe]
1078
- }],
1079
- /**
1080
- * Line Height
1081
- * @see https://tailwindcss.com/docs/line-height
1082
- */
1083
- leading: [{
1084
- leading: [
1085
- /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1086
- c,
1087
- ...d()
1088
- ]
1089
- }],
1090
- /**
1091
- * List Style Image
1092
- * @see https://tailwindcss.com/docs/list-style-image
1093
- */
1094
- "list-image": [{
1095
- "list-image": ["none", n, s]
1096
- }],
1097
- /**
1098
- * List Style Position
1099
- * @see https://tailwindcss.com/docs/list-style-position
1100
- */
1101
- "list-style-position": [{
1102
- list: ["inside", "outside"]
1103
- }],
1104
- /**
1105
- * List Style Type
1106
- * @see https://tailwindcss.com/docs/list-style-type
1107
- */
1108
- "list-style-type": [{
1109
- list: ["disc", "decimal", "none", n, s]
1110
- }],
1111
- /**
1112
- * Text Alignment
1113
- * @see https://tailwindcss.com/docs/text-align
1114
- */
1115
- "text-alignment": [{
1116
- text: ["left", "center", "right", "justify", "start", "end"]
1117
- }],
1118
- /**
1119
- * Placeholder Color
1120
- * @deprecated since Tailwind CSS v3.0.0
1121
- * @see https://v3.tailwindcss.com/docs/placeholder-color
1122
- */
1123
- "placeholder-color": [{
1124
- placeholder: i()
1125
- }],
1126
- /**
1127
- * Text Color
1128
- * @see https://tailwindcss.com/docs/text-color
1129
- */
1130
- "text-color": [{
1131
- text: i()
1132
- }],
1133
- /**
1134
- * Text Decoration
1135
- * @see https://tailwindcss.com/docs/text-decoration
1136
- */
1137
- "text-decoration": ["underline", "overline", "line-through", "no-underline"],
1138
- /**
1139
- * Text Decoration Style
1140
- * @see https://tailwindcss.com/docs/text-decoration-style
1141
- */
1142
- "text-decoration-style": [{
1143
- decoration: [...q(), "wavy"]
1144
- }],
1145
- /**
1146
- * Text Decoration Thickness
1147
- * @see https://tailwindcss.com/docs/text-decoration-thickness
1148
- */
1149
- "text-decoration-thickness": [{
1150
- decoration: [m, "from-font", "auto", n, T]
1151
- }],
1152
- /**
1153
- * Text Decoration Color
1154
- * @see https://tailwindcss.com/docs/text-decoration-color
1155
- */
1156
- "text-decoration-color": [{
1157
- decoration: i()
1158
- }],
1159
- /**
1160
- * Text Underline Offset
1161
- * @see https://tailwindcss.com/docs/text-underline-offset
1162
- */
1163
- "underline-offset": [{
1164
- "underline-offset": [m, "auto", n, s]
1165
- }],
1166
- /**
1167
- * Text Transform
1168
- * @see https://tailwindcss.com/docs/text-transform
1169
- */
1170
- "text-transform": ["uppercase", "lowercase", "capitalize", "normal-case"],
1171
- /**
1172
- * Text Overflow
1173
- * @see https://tailwindcss.com/docs/text-overflow
1174
- */
1175
- "text-overflow": ["truncate", "text-ellipsis", "text-clip"],
1176
- /**
1177
- * Text Wrap
1178
- * @see https://tailwindcss.com/docs/text-wrap
1179
- */
1180
- "text-wrap": [{
1181
- text: ["wrap", "nowrap", "balance", "pretty"]
1182
- }],
1183
- /**
1184
- * Text Indent
1185
- * @see https://tailwindcss.com/docs/text-indent
1186
- */
1187
- indent: [{
1188
- indent: d()
1189
- }],
1190
- /**
1191
- * Vertical Alignment
1192
- * @see https://tailwindcss.com/docs/vertical-align
1193
- */
1194
- "vertical-align": [{
1195
- align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", n, s]
1196
- }],
1197
- /**
1198
- * Whitespace
1199
- * @see https://tailwindcss.com/docs/whitespace
1200
- */
1201
- whitespace: [{
1202
- whitespace: ["normal", "nowrap", "pre", "pre-line", "pre-wrap", "break-spaces"]
1203
- }],
1204
- /**
1205
- * Word Break
1206
- * @see https://tailwindcss.com/docs/word-break
1207
- */
1208
- break: [{
1209
- break: ["normal", "words", "all", "keep"]
1210
- }],
1211
- /**
1212
- * Overflow Wrap
1213
- * @see https://tailwindcss.com/docs/overflow-wrap
1214
- */
1215
- wrap: [{
1216
- wrap: ["break-word", "anywhere", "normal"]
1217
- }],
1218
- /**
1219
- * Hyphens
1220
- * @see https://tailwindcss.com/docs/hyphens
1221
- */
1222
- hyphens: [{
1223
- hyphens: ["none", "manual", "auto"]
1224
- }],
1225
- /**
1226
- * Content
1227
- * @see https://tailwindcss.com/docs/content
1228
- */
1229
- content: [{
1230
- content: ["none", n, s]
1231
- }],
1232
- // -------------------
1233
- // --- Backgrounds ---
1234
- // -------------------
1235
- /**
1236
- * Background Attachment
1237
- * @see https://tailwindcss.com/docs/background-attachment
1238
- */
1239
- "bg-attachment": [{
1240
- bg: ["fixed", "local", "scroll"]
1241
- }],
1242
- /**
1243
- * Background Clip
1244
- * @see https://tailwindcss.com/docs/background-clip
1245
- */
1246
- "bg-clip": [{
1247
- "bg-clip": ["border", "padding", "content", "text"]
1248
- }],
1249
- /**
1250
- * Background Origin
1251
- * @see https://tailwindcss.com/docs/background-origin
1252
- */
1253
- "bg-origin": [{
1254
- "bg-origin": ["border", "padding", "content"]
1255
- }],
1256
- /**
1257
- * Background Position
1258
- * @see https://tailwindcss.com/docs/background-position
1259
- */
1260
- "bg-position": [{
1261
- bg: ce()
1262
- }],
1263
- /**
1264
- * Background Repeat
1265
- * @see https://tailwindcss.com/docs/background-repeat
1266
- */
1267
- "bg-repeat": [{
1268
- bg: de()
1269
- }],
1270
- /**
1271
- * Background Size
1272
- * @see https://tailwindcss.com/docs/background-size
1273
- */
1274
- "bg-size": [{
1275
- bg: me()
1276
- }],
1277
- /**
1278
- * Background Image
1279
- * @see https://tailwindcss.com/docs/background-image
1280
- */
1281
- "bg-image": [{
1282
- bg: ["none", {
1283
- linear: [{
1284
- to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1285
- }, P, n, s],
1286
- radial: ["", n, s],
1287
- conic: [P, n, s]
1288
- }, io, so]
1289
- }],
1290
- /**
1291
- * Background Color
1292
- * @see https://tailwindcss.com/docs/background-color
1293
- */
1294
- "bg-color": [{
1295
- bg: i()
1296
- }],
1297
- /**
1298
- * Gradient Color Stops From Position
1299
- * @see https://tailwindcss.com/docs/gradient-color-stops
1300
- */
1301
- "gradient-from-pos": [{
1302
- from: Y()
1303
- }],
1304
- /**
1305
- * Gradient Color Stops Via Position
1306
- * @see https://tailwindcss.com/docs/gradient-color-stops
1307
- */
1308
- "gradient-via-pos": [{
1309
- via: Y()
1310
- }],
1311
- /**
1312
- * Gradient Color Stops To Position
1313
- * @see https://tailwindcss.com/docs/gradient-color-stops
1314
- */
1315
- "gradient-to-pos": [{
1316
- to: Y()
1317
- }],
1318
- /**
1319
- * Gradient Color Stops From
1320
- * @see https://tailwindcss.com/docs/gradient-color-stops
1321
- */
1322
- "gradient-from": [{
1323
- from: i()
1324
- }],
1325
- /**
1326
- * Gradient Color Stops Via
1327
- * @see https://tailwindcss.com/docs/gradient-color-stops
1328
- */
1329
- "gradient-via": [{
1330
- via: i()
1331
- }],
1332
- /**
1333
- * Gradient Color Stops To
1334
- * @see https://tailwindcss.com/docs/gradient-color-stops
1335
- */
1336
- "gradient-to": [{
1337
- to: i()
1338
- }],
1339
- // ---------------
1340
- // --- Borders ---
1341
- // ---------------
1342
- /**
1343
- * Border Radius
1344
- * @see https://tailwindcss.com/docs/border-radius
1345
- */
1346
- rounded: [{
1347
- rounded: x()
1348
- }],
1349
- /**
1350
- * Border Radius Start
1351
- * @see https://tailwindcss.com/docs/border-radius
1352
- */
1353
- "rounded-s": [{
1354
- "rounded-s": x()
1355
- }],
1356
- /**
1357
- * Border Radius End
1358
- * @see https://tailwindcss.com/docs/border-radius
1359
- */
1360
- "rounded-e": [{
1361
- "rounded-e": x()
1362
- }],
1363
- /**
1364
- * Border Radius Top
1365
- * @see https://tailwindcss.com/docs/border-radius
1366
- */
1367
- "rounded-t": [{
1368
- "rounded-t": x()
1369
- }],
1370
- /**
1371
- * Border Radius Right
1372
- * @see https://tailwindcss.com/docs/border-radius
1373
- */
1374
- "rounded-r": [{
1375
- "rounded-r": x()
1376
- }],
1377
- /**
1378
- * Border Radius Bottom
1379
- * @see https://tailwindcss.com/docs/border-radius
1380
- */
1381
- "rounded-b": [{
1382
- "rounded-b": x()
1383
- }],
1384
- /**
1385
- * Border Radius Left
1386
- * @see https://tailwindcss.com/docs/border-radius
1387
- */
1388
- "rounded-l": [{
1389
- "rounded-l": x()
1390
- }],
1391
- /**
1392
- * Border Radius Start Start
1393
- * @see https://tailwindcss.com/docs/border-radius
1394
- */
1395
- "rounded-ss": [{
1396
- "rounded-ss": x()
1397
- }],
1398
- /**
1399
- * Border Radius Start End
1400
- * @see https://tailwindcss.com/docs/border-radius
1401
- */
1402
- "rounded-se": [{
1403
- "rounded-se": x()
1404
- }],
1405
- /**
1406
- * Border Radius End End
1407
- * @see https://tailwindcss.com/docs/border-radius
1408
- */
1409
- "rounded-ee": [{
1410
- "rounded-ee": x()
1411
- }],
1412
- /**
1413
- * Border Radius End Start
1414
- * @see https://tailwindcss.com/docs/border-radius
1415
- */
1416
- "rounded-es": [{
1417
- "rounded-es": x()
1418
- }],
1419
- /**
1420
- * Border Radius Top Left
1421
- * @see https://tailwindcss.com/docs/border-radius
1422
- */
1423
- "rounded-tl": [{
1424
- "rounded-tl": x()
1425
- }],
1426
- /**
1427
- * Border Radius Top Right
1428
- * @see https://tailwindcss.com/docs/border-radius
1429
- */
1430
- "rounded-tr": [{
1431
- "rounded-tr": x()
1432
- }],
1433
- /**
1434
- * Border Radius Bottom Right
1435
- * @see https://tailwindcss.com/docs/border-radius
1436
- */
1437
- "rounded-br": [{
1438
- "rounded-br": x()
1439
- }],
1440
- /**
1441
- * Border Radius Bottom Left
1442
- * @see https://tailwindcss.com/docs/border-radius
1443
- */
1444
- "rounded-bl": [{
1445
- "rounded-bl": x()
1446
- }],
1447
- /**
1448
- * Border Width
1449
- * @see https://tailwindcss.com/docs/border-width
1450
- */
1451
- "border-w": [{
1452
- border: v()
1453
- }],
1454
- /**
1455
- * Border Width X
1456
- * @see https://tailwindcss.com/docs/border-width
1457
- */
1458
- "border-w-x": [{
1459
- "border-x": v()
1460
- }],
1461
- /**
1462
- * Border Width Y
1463
- * @see https://tailwindcss.com/docs/border-width
1464
- */
1465
- "border-w-y": [{
1466
- "border-y": v()
1467
- }],
1468
- /**
1469
- * Border Width Start
1470
- * @see https://tailwindcss.com/docs/border-width
1471
- */
1472
- "border-w-s": [{
1473
- "border-s": v()
1474
- }],
1475
- /**
1476
- * Border Width End
1477
- * @see https://tailwindcss.com/docs/border-width
1478
- */
1479
- "border-w-e": [{
1480
- "border-e": v()
1481
- }],
1482
- /**
1483
- * Border Width Top
1484
- * @see https://tailwindcss.com/docs/border-width
1485
- */
1486
- "border-w-t": [{
1487
- "border-t": v()
1488
- }],
1489
- /**
1490
- * Border Width Right
1491
- * @see https://tailwindcss.com/docs/border-width
1492
- */
1493
- "border-w-r": [{
1494
- "border-r": v()
1495
- }],
1496
- /**
1497
- * Border Width Bottom
1498
- * @see https://tailwindcss.com/docs/border-width
1499
- */
1500
- "border-w-b": [{
1501
- "border-b": v()
1502
- }],
1503
- /**
1504
- * Border Width Left
1505
- * @see https://tailwindcss.com/docs/border-width
1506
- */
1507
- "border-w-l": [{
1508
- "border-l": v()
1509
- }],
1510
- /**
1511
- * Divide Width X
1512
- * @see https://tailwindcss.com/docs/border-width#between-children
1513
- */
1514
- "divide-x": [{
1515
- "divide-x": v()
1516
- }],
1517
- /**
1518
- * Divide Width X Reverse
1519
- * @see https://tailwindcss.com/docs/border-width#between-children
1520
- */
1521
- "divide-x-reverse": ["divide-x-reverse"],
1522
- /**
1523
- * Divide Width Y
1524
- * @see https://tailwindcss.com/docs/border-width#between-children
1525
- */
1526
- "divide-y": [{
1527
- "divide-y": v()
1528
- }],
1529
- /**
1530
- * Divide Width Y Reverse
1531
- * @see https://tailwindcss.com/docs/border-width#between-children
1532
- */
1533
- "divide-y-reverse": ["divide-y-reverse"],
1534
- /**
1535
- * Border Style
1536
- * @see https://tailwindcss.com/docs/border-style
1537
- */
1538
- "border-style": [{
1539
- border: [...q(), "hidden", "none"]
1540
- }],
1541
- /**
1542
- * Divide Style
1543
- * @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
1544
- */
1545
- "divide-style": [{
1546
- divide: [...q(), "hidden", "none"]
1547
- }],
1548
- /**
1549
- * Border Color
1550
- * @see https://tailwindcss.com/docs/border-color
1551
- */
1552
- "border-color": [{
1553
- border: i()
1554
- }],
1555
- /**
1556
- * Border Color X
1557
- * @see https://tailwindcss.com/docs/border-color
1558
- */
1559
- "border-color-x": [{
1560
- "border-x": i()
1561
- }],
1562
- /**
1563
- * Border Color Y
1564
- * @see https://tailwindcss.com/docs/border-color
1565
- */
1566
- "border-color-y": [{
1567
- "border-y": i()
1568
- }],
1569
- /**
1570
- * Border Color S
1571
- * @see https://tailwindcss.com/docs/border-color
1572
- */
1573
- "border-color-s": [{
1574
- "border-s": i()
1575
- }],
1576
- /**
1577
- * Border Color E
1578
- * @see https://tailwindcss.com/docs/border-color
1579
- */
1580
- "border-color-e": [{
1581
- "border-e": i()
1582
- }],
1583
- /**
1584
- * Border Color Top
1585
- * @see https://tailwindcss.com/docs/border-color
1586
- */
1587
- "border-color-t": [{
1588
- "border-t": i()
1589
- }],
1590
- /**
1591
- * Border Color Right
1592
- * @see https://tailwindcss.com/docs/border-color
1593
- */
1594
- "border-color-r": [{
1595
- "border-r": i()
1596
- }],
1597
- /**
1598
- * Border Color Bottom
1599
- * @see https://tailwindcss.com/docs/border-color
1600
- */
1601
- "border-color-b": [{
1602
- "border-b": i()
1603
- }],
1604
- /**
1605
- * Border Color Left
1606
- * @see https://tailwindcss.com/docs/border-color
1607
- */
1608
- "border-color-l": [{
1609
- "border-l": i()
1610
- }],
1611
- /**
1612
- * Divide Color
1613
- * @see https://tailwindcss.com/docs/divide-color
1614
- */
1615
- "divide-color": [{
1616
- divide: i()
1617
- }],
1618
- /**
1619
- * Outline Style
1620
- * @see https://tailwindcss.com/docs/outline-style
1621
- */
1622
- "outline-style": [{
1623
- outline: [...q(), "none", "hidden"]
1624
- }],
1625
- /**
1626
- * Outline Offset
1627
- * @see https://tailwindcss.com/docs/outline-offset
1628
- */
1629
- "outline-offset": [{
1630
- "outline-offset": [m, n, s]
1631
- }],
1632
- /**
1633
- * Outline Width
1634
- * @see https://tailwindcss.com/docs/outline-width
1635
- */
1636
- "outline-w": [{
1637
- outline: ["", m, W, T]
1638
- }],
1639
- /**
1640
- * Outline Color
1641
- * @see https://tailwindcss.com/docs/outline-color
1642
- */
1643
- "outline-color": [{
1644
- outline: i()
1645
- }],
1646
- // ---------------
1647
- // --- Effects ---
1648
- // ---------------
1649
- /**
1650
- * Box Shadow
1651
- * @see https://tailwindcss.com/docs/box-shadow
1652
- */
1653
- shadow: [{
1654
- shadow: [
1655
- // Deprecated since Tailwind CSS v4.0.0
1656
- "",
1657
- "none",
1658
- b,
1659
- D,
1660
- X
1661
- ]
1662
- }],
1663
- /**
1664
- * Box Shadow Color
1665
- * @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
1666
- */
1667
- "shadow-color": [{
1668
- shadow: i()
1669
- }],
1670
- /**
1671
- * Inset Box Shadow
1672
- * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
1673
- */
1674
- "inset-shadow": [{
1675
- "inset-shadow": ["none", y, D, X]
1676
- }],
1677
- /**
1678
- * Inset Box Shadow Color
1679
- * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
1680
- */
1681
- "inset-shadow-color": [{
1682
- "inset-shadow": i()
1683
- }],
1684
- /**
1685
- * Ring Width
1686
- * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
1687
- */
1688
- "ring-w": [{
1689
- ring: v()
1690
- }],
1691
- /**
1692
- * Ring Width Inset
1693
- * @see https://v3.tailwindcss.com/docs/ring-width#inset-rings
1694
- * @deprecated since Tailwind CSS v4.0.0
1695
- * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
1696
- */
1697
- "ring-w-inset": ["ring-inset"],
1698
- /**
1699
- * Ring Color
1700
- * @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
1701
- */
1702
- "ring-color": [{
1703
- ring: i()
1704
- }],
1705
- /**
1706
- * Ring Offset Width
1707
- * @see https://v3.tailwindcss.com/docs/ring-offset-width
1708
- * @deprecated since Tailwind CSS v4.0.0
1709
- * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
1710
- */
1711
- "ring-offset-w": [{
1712
- "ring-offset": [m, T]
1713
- }],
1714
- /**
1715
- * Ring Offset Color
1716
- * @see https://v3.tailwindcss.com/docs/ring-offset-color
1717
- * @deprecated since Tailwind CSS v4.0.0
1718
- * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
1719
- */
1720
- "ring-offset-color": [{
1721
- "ring-offset": i()
1722
- }],
1723
- /**
1724
- * Inset Ring Width
1725
- * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
1726
- */
1727
- "inset-ring-w": [{
1728
- "inset-ring": v()
1729
- }],
1730
- /**
1731
- * Inset Ring Color
1732
- * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
1733
- */
1734
- "inset-ring-color": [{
1735
- "inset-ring": i()
1736
- }],
1737
- /**
1738
- * Text Shadow
1739
- * @see https://tailwindcss.com/docs/text-shadow
1740
- */
1741
- "text-shadow": [{
1742
- "text-shadow": ["none", z, D, X]
1743
- }],
1744
- /**
1745
- * Text Shadow Color
1746
- * @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
1747
- */
1748
- "text-shadow-color": [{
1749
- "text-shadow": i()
1750
- }],
1751
- /**
1752
- * Opacity
1753
- * @see https://tailwindcss.com/docs/opacity
1754
- */
1755
- opacity: [{
1756
- opacity: [m, n, s]
1757
- }],
1758
- /**
1759
- * Mix Blend Mode
1760
- * @see https://tailwindcss.com/docs/mix-blend-mode
1761
- */
1762
- "mix-blend": [{
1763
- "mix-blend": [...ue(), "plus-darker", "plus-lighter"]
1764
- }],
1765
- /**
1766
- * Background Blend Mode
1767
- * @see https://tailwindcss.com/docs/background-blend-mode
1768
- */
1769
- "bg-blend": [{
1770
- "bg-blend": ue()
1771
- }],
1772
- /**
1773
- * Mask Clip
1774
- * @see https://tailwindcss.com/docs/mask-clip
1775
- */
1776
- "mask-clip": [{
1777
- "mask-clip": ["border", "padding", "content", "fill", "stroke", "view"]
1778
- }, "mask-no-clip"],
1779
- /**
1780
- * Mask Composite
1781
- * @see https://tailwindcss.com/docs/mask-composite
1782
- */
1783
- "mask-composite": [{
1784
- mask: ["add", "subtract", "intersect", "exclude"]
1785
- }],
1786
- /**
1787
- * Mask Image
1788
- * @see https://tailwindcss.com/docs/mask-image
1789
- */
1790
- "mask-image-linear-pos": [{
1791
- "mask-linear": [m]
1792
- }],
1793
- "mask-image-linear-from-pos": [{
1794
- "mask-linear-from": h()
1795
- }],
1796
- "mask-image-linear-to-pos": [{
1797
- "mask-linear-to": h()
1798
- }],
1799
- "mask-image-linear-from-color": [{
1800
- "mask-linear-from": i()
1801
- }],
1802
- "mask-image-linear-to-color": [{
1803
- "mask-linear-to": i()
1804
- }],
1805
- "mask-image-t-from-pos": [{
1806
- "mask-t-from": h()
1807
- }],
1808
- "mask-image-t-to-pos": [{
1809
- "mask-t-to": h()
1810
- }],
1811
- "mask-image-t-from-color": [{
1812
- "mask-t-from": i()
1813
- }],
1814
- "mask-image-t-to-color": [{
1815
- "mask-t-to": i()
1816
- }],
1817
- "mask-image-r-from-pos": [{
1818
- "mask-r-from": h()
1819
- }],
1820
- "mask-image-r-to-pos": [{
1821
- "mask-r-to": h()
1822
- }],
1823
- "mask-image-r-from-color": [{
1824
- "mask-r-from": i()
1825
- }],
1826
- "mask-image-r-to-color": [{
1827
- "mask-r-to": i()
1828
- }],
1829
- "mask-image-b-from-pos": [{
1830
- "mask-b-from": h()
1831
- }],
1832
- "mask-image-b-to-pos": [{
1833
- "mask-b-to": h()
1834
- }],
1835
- "mask-image-b-from-color": [{
1836
- "mask-b-from": i()
1837
- }],
1838
- "mask-image-b-to-color": [{
1839
- "mask-b-to": i()
1840
- }],
1841
- "mask-image-l-from-pos": [{
1842
- "mask-l-from": h()
1843
- }],
1844
- "mask-image-l-to-pos": [{
1845
- "mask-l-to": h()
1846
- }],
1847
- "mask-image-l-from-color": [{
1848
- "mask-l-from": i()
1849
- }],
1850
- "mask-image-l-to-color": [{
1851
- "mask-l-to": i()
1852
- }],
1853
- "mask-image-x-from-pos": [{
1854
- "mask-x-from": h()
1855
- }],
1856
- "mask-image-x-to-pos": [{
1857
- "mask-x-to": h()
1858
- }],
1859
- "mask-image-x-from-color": [{
1860
- "mask-x-from": i()
1861
- }],
1862
- "mask-image-x-to-color": [{
1863
- "mask-x-to": i()
1864
- }],
1865
- "mask-image-y-from-pos": [{
1866
- "mask-y-from": h()
1867
- }],
1868
- "mask-image-y-to-pos": [{
1869
- "mask-y-to": h()
1870
- }],
1871
- "mask-image-y-from-color": [{
1872
- "mask-y-from": i()
1873
- }],
1874
- "mask-image-y-to-color": [{
1875
- "mask-y-to": i()
1876
- }],
1877
- "mask-image-radial": [{
1878
- "mask-radial": [n, s]
1879
- }],
1880
- "mask-image-radial-from-pos": [{
1881
- "mask-radial-from": h()
1882
- }],
1883
- "mask-image-radial-to-pos": [{
1884
- "mask-radial-to": h()
1885
- }],
1886
- "mask-image-radial-from-color": [{
1887
- "mask-radial-from": i()
1888
- }],
1889
- "mask-image-radial-to-color": [{
1890
- "mask-radial-to": i()
1891
- }],
1892
- "mask-image-radial-shape": [{
1893
- "mask-radial": ["circle", "ellipse"]
1894
- }],
1895
- "mask-image-radial-size": [{
1896
- "mask-radial": [{
1897
- closest: ["side", "corner"],
1898
- farthest: ["side", "corner"]
1899
- }]
1900
- }],
1901
- "mask-image-radial-pos": [{
1902
- "mask-radial-at": V()
1903
- }],
1904
- "mask-image-conic-pos": [{
1905
- "mask-conic": [m]
1906
- }],
1907
- "mask-image-conic-from-pos": [{
1908
- "mask-conic-from": h()
1909
- }],
1910
- "mask-image-conic-to-pos": [{
1911
- "mask-conic-to": h()
1912
- }],
1913
- "mask-image-conic-from-color": [{
1914
- "mask-conic-from": i()
1915
- }],
1916
- "mask-image-conic-to-color": [{
1917
- "mask-conic-to": i()
1918
- }],
1919
- /**
1920
- * Mask Mode
1921
- * @see https://tailwindcss.com/docs/mask-mode
1922
- */
1923
- "mask-mode": [{
1924
- mask: ["alpha", "luminance", "match"]
1925
- }],
1926
- /**
1927
- * Mask Origin
1928
- * @see https://tailwindcss.com/docs/mask-origin
1929
- */
1930
- "mask-origin": [{
1931
- "mask-origin": ["border", "padding", "content", "fill", "stroke", "view"]
1932
- }],
1933
- /**
1934
- * Mask Position
1935
- * @see https://tailwindcss.com/docs/mask-position
1936
- */
1937
- "mask-position": [{
1938
- mask: ce()
1939
- }],
1940
- /**
1941
- * Mask Repeat
1942
- * @see https://tailwindcss.com/docs/mask-repeat
1943
- */
1944
- "mask-repeat": [{
1945
- mask: de()
1946
- }],
1947
- /**
1948
- * Mask Size
1949
- * @see https://tailwindcss.com/docs/mask-size
1950
- */
1951
- "mask-size": [{
1952
- mask: me()
1953
- }],
1954
- /**
1955
- * Mask Type
1956
- * @see https://tailwindcss.com/docs/mask-type
1957
- */
1958
- "mask-type": [{
1959
- "mask-type": ["alpha", "luminance"]
1960
- }],
1961
- /**
1962
- * Mask Image
1963
- * @see https://tailwindcss.com/docs/mask-image
1964
- */
1965
- "mask-image": [{
1966
- mask: ["none", n, s]
1967
- }],
1968
- // ---------------
1969
- // --- Filters ---
1970
- // ---------------
1971
- /**
1972
- * Filter
1973
- * @see https://tailwindcss.com/docs/filter
1974
- */
1975
- filter: [{
1976
- filter: [
1977
- // Deprecated since Tailwind CSS v3.0.0
1978
- "",
1979
- "none",
1980
- n,
1981
- s
1982
- ]
1983
- }],
1984
- /**
1985
- * Blur
1986
- * @see https://tailwindcss.com/docs/blur
1987
- */
1988
- blur: [{
1989
- blur: pe()
1990
- }],
1991
- /**
1992
- * Brightness
1993
- * @see https://tailwindcss.com/docs/brightness
1994
- */
1995
- brightness: [{
1996
- brightness: [m, n, s]
1997
- }],
1998
- /**
1999
- * Contrast
2000
- * @see https://tailwindcss.com/docs/contrast
2001
- */
2002
- contrast: [{
2003
- contrast: [m, n, s]
2004
- }],
2005
- /**
2006
- * Drop Shadow
2007
- * @see https://tailwindcss.com/docs/drop-shadow
2008
- */
2009
- "drop-shadow": [{
2010
- "drop-shadow": [
2011
- // Deprecated since Tailwind CSS v4.0.0
2012
- "",
2013
- "none",
2014
- I,
2015
- D,
2016
- X
2017
- ]
2018
- }],
2019
- /**
2020
- * Drop Shadow Color
2021
- * @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
2022
- */
2023
- "drop-shadow-color": [{
2024
- "drop-shadow": i()
2025
- }],
2026
- /**
2027
- * Grayscale
2028
- * @see https://tailwindcss.com/docs/grayscale
2029
- */
2030
- grayscale: [{
2031
- grayscale: ["", m, n, s]
2032
- }],
2033
- /**
2034
- * Hue Rotate
2035
- * @see https://tailwindcss.com/docs/hue-rotate
2036
- */
2037
- "hue-rotate": [{
2038
- "hue-rotate": [m, n, s]
2039
- }],
2040
- /**
2041
- * Invert
2042
- * @see https://tailwindcss.com/docs/invert
2043
- */
2044
- invert: [{
2045
- invert: ["", m, n, s]
2046
- }],
2047
- /**
2048
- * Saturate
2049
- * @see https://tailwindcss.com/docs/saturate
2050
- */
2051
- saturate: [{
2052
- saturate: [m, n, s]
2053
- }],
2054
- /**
2055
- * Sepia
2056
- * @see https://tailwindcss.com/docs/sepia
2057
- */
2058
- sepia: [{
2059
- sepia: ["", m, n, s]
2060
- }],
2061
- /**
2062
- * Backdrop Filter
2063
- * @see https://tailwindcss.com/docs/backdrop-filter
2064
- */
2065
- "backdrop-filter": [{
2066
- "backdrop-filter": [
2067
- // Deprecated since Tailwind CSS v3.0.0
2068
- "",
2069
- "none",
2070
- n,
2071
- s
2072
- ]
2073
- }],
2074
- /**
2075
- * Backdrop Blur
2076
- * @see https://tailwindcss.com/docs/backdrop-blur
2077
- */
2078
- "backdrop-blur": [{
2079
- "backdrop-blur": pe()
2080
- }],
2081
- /**
2082
- * Backdrop Brightness
2083
- * @see https://tailwindcss.com/docs/backdrop-brightness
2084
- */
2085
- "backdrop-brightness": [{
2086
- "backdrop-brightness": [m, n, s]
2087
- }],
2088
- /**
2089
- * Backdrop Contrast
2090
- * @see https://tailwindcss.com/docs/backdrop-contrast
2091
- */
2092
- "backdrop-contrast": [{
2093
- "backdrop-contrast": [m, n, s]
2094
- }],
2095
- /**
2096
- * Backdrop Grayscale
2097
- * @see https://tailwindcss.com/docs/backdrop-grayscale
2098
- */
2099
- "backdrop-grayscale": [{
2100
- "backdrop-grayscale": ["", m, n, s]
2101
- }],
2102
- /**
2103
- * Backdrop Hue Rotate
2104
- * @see https://tailwindcss.com/docs/backdrop-hue-rotate
2105
- */
2106
- "backdrop-hue-rotate": [{
2107
- "backdrop-hue-rotate": [m, n, s]
2108
- }],
2109
- /**
2110
- * Backdrop Invert
2111
- * @see https://tailwindcss.com/docs/backdrop-invert
2112
- */
2113
- "backdrop-invert": [{
2114
- "backdrop-invert": ["", m, n, s]
2115
- }],
2116
- /**
2117
- * Backdrop Opacity
2118
- * @see https://tailwindcss.com/docs/backdrop-opacity
2119
- */
2120
- "backdrop-opacity": [{
2121
- "backdrop-opacity": [m, n, s]
2122
- }],
2123
- /**
2124
- * Backdrop Saturate
2125
- * @see https://tailwindcss.com/docs/backdrop-saturate
2126
- */
2127
- "backdrop-saturate": [{
2128
- "backdrop-saturate": [m, n, s]
2129
- }],
2130
- /**
2131
- * Backdrop Sepia
2132
- * @see https://tailwindcss.com/docs/backdrop-sepia
2133
- */
2134
- "backdrop-sepia": [{
2135
- "backdrop-sepia": ["", m, n, s]
2136
- }],
2137
- // --------------
2138
- // --- Tables ---
2139
- // --------------
2140
- /**
2141
- * Border Collapse
2142
- * @see https://tailwindcss.com/docs/border-collapse
2143
- */
2144
- "border-collapse": [{
2145
- border: ["collapse", "separate"]
2146
- }],
2147
- /**
2148
- * Border Spacing
2149
- * @see https://tailwindcss.com/docs/border-spacing
2150
- */
2151
- "border-spacing": [{
2152
- "border-spacing": d()
2153
- }],
2154
- /**
2155
- * Border Spacing X
2156
- * @see https://tailwindcss.com/docs/border-spacing
2157
- */
2158
- "border-spacing-x": [{
2159
- "border-spacing-x": d()
2160
- }],
2161
- /**
2162
- * Border Spacing Y
2163
- * @see https://tailwindcss.com/docs/border-spacing
2164
- */
2165
- "border-spacing-y": [{
2166
- "border-spacing-y": d()
2167
- }],
2168
- /**
2169
- * Table Layout
2170
- * @see https://tailwindcss.com/docs/table-layout
2171
- */
2172
- "table-layout": [{
2173
- table: ["auto", "fixed"]
2174
- }],
2175
- /**
2176
- * Caption Side
2177
- * @see https://tailwindcss.com/docs/caption-side
2178
- */
2179
- caption: [{
2180
- caption: ["top", "bottom"]
2181
- }],
2182
- // ---------------------------------
2183
- // --- Transitions and Animation ---
2184
- // ---------------------------------
2185
- /**
2186
- * Transition Property
2187
- * @see https://tailwindcss.com/docs/transition-property
2188
- */
2189
- transition: [{
2190
- transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", n, s]
2191
- }],
2192
- /**
2193
- * Transition Behavior
2194
- * @see https://tailwindcss.com/docs/transition-behavior
2195
- */
2196
- "transition-behavior": [{
2197
- transition: ["normal", "discrete"]
2198
- }],
2199
- /**
2200
- * Transition Duration
2201
- * @see https://tailwindcss.com/docs/transition-duration
2202
- */
2203
- duration: [{
2204
- duration: [m, "initial", n, s]
2205
- }],
2206
- /**
2207
- * Transition Timing Function
2208
- * @see https://tailwindcss.com/docs/transition-timing-function
2209
- */
2210
- ease: [{
2211
- ease: ["linear", "initial", R, n, s]
2212
- }],
2213
- /**
2214
- * Transition Delay
2215
- * @see https://tailwindcss.com/docs/transition-delay
2216
- */
2217
- delay: [{
2218
- delay: [m, n, s]
2219
- }],
2220
- /**
2221
- * Animation
2222
- * @see https://tailwindcss.com/docs/animation
2223
- */
2224
- animate: [{
2225
- animate: ["none", $, n, s]
2226
- }],
2227
- // ------------------
2228
- // --- Transforms ---
2229
- // ------------------
2230
- /**
2231
- * Backface Visibility
2232
- * @see https://tailwindcss.com/docs/backface-visibility
2233
- */
2234
- backface: [{
2235
- backface: ["hidden", "visible"]
2236
- }],
2237
- /**
2238
- * Perspective
2239
- * @see https://tailwindcss.com/docs/perspective
2240
- */
2241
- perspective: [{
2242
- perspective: [k, n, s]
2243
- }],
2244
- /**
2245
- * Perspective Origin
2246
- * @see https://tailwindcss.com/docs/perspective-origin
2247
- */
2248
- "perspective-origin": [{
2249
- "perspective-origin": E()
2250
- }],
2251
- /**
2252
- * Rotate
2253
- * @see https://tailwindcss.com/docs/rotate
2254
- */
2255
- rotate: [{
2256
- rotate: H()
2257
- }],
2258
- /**
2259
- * Rotate X
2260
- * @see https://tailwindcss.com/docs/rotate
2261
- */
2262
- "rotate-x": [{
2263
- "rotate-x": H()
2264
- }],
2265
- /**
2266
- * Rotate Y
2267
- * @see https://tailwindcss.com/docs/rotate
2268
- */
2269
- "rotate-y": [{
2270
- "rotate-y": H()
2271
- }],
2272
- /**
2273
- * Rotate Z
2274
- * @see https://tailwindcss.com/docs/rotate
2275
- */
2276
- "rotate-z": [{
2277
- "rotate-z": H()
2278
- }],
2279
- /**
2280
- * Scale
2281
- * @see https://tailwindcss.com/docs/scale
2282
- */
2283
- scale: [{
2284
- scale: J()
2285
- }],
2286
- /**
2287
- * Scale X
2288
- * @see https://tailwindcss.com/docs/scale
2289
- */
2290
- "scale-x": [{
2291
- "scale-x": J()
2292
- }],
2293
- /**
2294
- * Scale Y
2295
- * @see https://tailwindcss.com/docs/scale
2296
- */
2297
- "scale-y": [{
2298
- "scale-y": J()
2299
- }],
2300
- /**
2301
- * Scale Z
2302
- * @see https://tailwindcss.com/docs/scale
2303
- */
2304
- "scale-z": [{
2305
- "scale-z": J()
2306
- }],
2307
- /**
2308
- * Scale 3D
2309
- * @see https://tailwindcss.com/docs/scale
2310
- */
2311
- "scale-3d": ["scale-3d"],
2312
- /**
2313
- * Skew
2314
- * @see https://tailwindcss.com/docs/skew
2315
- */
2316
- skew: [{
2317
- skew: Z()
2318
- }],
2319
- /**
2320
- * Skew X
2321
- * @see https://tailwindcss.com/docs/skew
2322
- */
2323
- "skew-x": [{
2324
- "skew-x": Z()
2325
- }],
2326
- /**
2327
- * Skew Y
2328
- * @see https://tailwindcss.com/docs/skew
2329
- */
2330
- "skew-y": [{
2331
- "skew-y": Z()
2332
- }],
2333
- /**
2334
- * Transform
2335
- * @see https://tailwindcss.com/docs/transform
2336
- */
2337
- transform: [{
2338
- transform: [n, s, "", "none", "gpu", "cpu"]
2339
- }],
2340
- /**
2341
- * Transform Origin
2342
- * @see https://tailwindcss.com/docs/transform-origin
2343
- */
2344
- "transform-origin": [{
2345
- origin: E()
2346
- }],
2347
- /**
2348
- * Transform Style
2349
- * @see https://tailwindcss.com/docs/transform-style
2350
- */
2351
- "transform-style": [{
2352
- transform: ["3d", "flat"]
2353
- }],
2354
- /**
2355
- * Translate
2356
- * @see https://tailwindcss.com/docs/translate
2357
- */
2358
- translate: [{
2359
- translate: K()
2360
- }],
2361
- /**
2362
- * Translate X
2363
- * @see https://tailwindcss.com/docs/translate
2364
- */
2365
- "translate-x": [{
2366
- "translate-x": K()
2367
- }],
2368
- /**
2369
- * Translate Y
2370
- * @see https://tailwindcss.com/docs/translate
2371
- */
2372
- "translate-y": [{
2373
- "translate-y": K()
2374
- }],
2375
- /**
2376
- * Translate Z
2377
- * @see https://tailwindcss.com/docs/translate
2378
- */
2379
- "translate-z": [{
2380
- "translate-z": K()
2381
- }],
2382
- /**
2383
- * Translate None
2384
- * @see https://tailwindcss.com/docs/translate
2385
- */
2386
- "translate-none": ["translate-none"],
2387
- // ---------------------
2388
- // --- Interactivity ---
2389
- // ---------------------
2390
- /**
2391
- * Accent Color
2392
- * @see https://tailwindcss.com/docs/accent-color
2393
- */
2394
- accent: [{
2395
- accent: i()
2396
- }],
2397
- /**
2398
- * Appearance
2399
- * @see https://tailwindcss.com/docs/appearance
2400
- */
2401
- appearance: [{
2402
- appearance: ["none", "auto"]
2403
- }],
2404
- /**
2405
- * Caret Color
2406
- * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
2407
- */
2408
- "caret-color": [{
2409
- caret: i()
2410
- }],
2411
- /**
2412
- * Color Scheme
2413
- * @see https://tailwindcss.com/docs/color-scheme
2414
- */
2415
- "color-scheme": [{
2416
- scheme: ["normal", "dark", "light", "light-dark", "only-dark", "only-light"]
2417
- }],
2418
- /**
2419
- * Cursor
2420
- * @see https://tailwindcss.com/docs/cursor
2421
- */
2422
- cursor: [{
2423
- 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", n, s]
2424
- }],
2425
- /**
2426
- * Field Sizing
2427
- * @see https://tailwindcss.com/docs/field-sizing
2428
- */
2429
- "field-sizing": [{
2430
- "field-sizing": ["fixed", "content"]
2431
- }],
2432
- /**
2433
- * Pointer Events
2434
- * @see https://tailwindcss.com/docs/pointer-events
2435
- */
2436
- "pointer-events": [{
2437
- "pointer-events": ["auto", "none"]
2438
- }],
2439
- /**
2440
- * Resize
2441
- * @see https://tailwindcss.com/docs/resize
2442
- */
2443
- resize: [{
2444
- resize: ["none", "", "y", "x"]
2445
- }],
2446
- /**
2447
- * Scroll Behavior
2448
- * @see https://tailwindcss.com/docs/scroll-behavior
2449
- */
2450
- "scroll-behavior": [{
2451
- scroll: ["auto", "smooth"]
2452
- }],
2453
- /**
2454
- * Scroll Margin
2455
- * @see https://tailwindcss.com/docs/scroll-margin
2456
- */
2457
- "scroll-m": [{
2458
- "scroll-m": d()
2459
- }],
2460
- /**
2461
- * Scroll Margin X
2462
- * @see https://tailwindcss.com/docs/scroll-margin
2463
- */
2464
- "scroll-mx": [{
2465
- "scroll-mx": d()
2466
- }],
2467
- /**
2468
- * Scroll Margin Y
2469
- * @see https://tailwindcss.com/docs/scroll-margin
2470
- */
2471
- "scroll-my": [{
2472
- "scroll-my": d()
2473
- }],
2474
- /**
2475
- * Scroll Margin Start
2476
- * @see https://tailwindcss.com/docs/scroll-margin
2477
- */
2478
- "scroll-ms": [{
2479
- "scroll-ms": d()
2480
- }],
2481
- /**
2482
- * Scroll Margin End
2483
- * @see https://tailwindcss.com/docs/scroll-margin
2484
- */
2485
- "scroll-me": [{
2486
- "scroll-me": d()
2487
- }],
2488
- /**
2489
- * Scroll Margin Top
2490
- * @see https://tailwindcss.com/docs/scroll-margin
2491
- */
2492
- "scroll-mt": [{
2493
- "scroll-mt": d()
2494
- }],
2495
- /**
2496
- * Scroll Margin Right
2497
- * @see https://tailwindcss.com/docs/scroll-margin
2498
- */
2499
- "scroll-mr": [{
2500
- "scroll-mr": d()
2501
- }],
2502
- /**
2503
- * Scroll Margin Bottom
2504
- * @see https://tailwindcss.com/docs/scroll-margin
2505
- */
2506
- "scroll-mb": [{
2507
- "scroll-mb": d()
2508
- }],
2509
- /**
2510
- * Scroll Margin Left
2511
- * @see https://tailwindcss.com/docs/scroll-margin
2512
- */
2513
- "scroll-ml": [{
2514
- "scroll-ml": d()
2515
- }],
2516
- /**
2517
- * Scroll Padding
2518
- * @see https://tailwindcss.com/docs/scroll-padding
2519
- */
2520
- "scroll-p": [{
2521
- "scroll-p": d()
2522
- }],
2523
- /**
2524
- * Scroll Padding X
2525
- * @see https://tailwindcss.com/docs/scroll-padding
2526
- */
2527
- "scroll-px": [{
2528
- "scroll-px": d()
2529
- }],
2530
- /**
2531
- * Scroll Padding Y
2532
- * @see https://tailwindcss.com/docs/scroll-padding
2533
- */
2534
- "scroll-py": [{
2535
- "scroll-py": d()
2536
- }],
2537
- /**
2538
- * Scroll Padding Start
2539
- * @see https://tailwindcss.com/docs/scroll-padding
2540
- */
2541
- "scroll-ps": [{
2542
- "scroll-ps": d()
2543
- }],
2544
- /**
2545
- * Scroll Padding End
2546
- * @see https://tailwindcss.com/docs/scroll-padding
2547
- */
2548
- "scroll-pe": [{
2549
- "scroll-pe": d()
2550
- }],
2551
- /**
2552
- * Scroll Padding Top
2553
- * @see https://tailwindcss.com/docs/scroll-padding
2554
- */
2555
- "scroll-pt": [{
2556
- "scroll-pt": d()
2557
- }],
2558
- /**
2559
- * Scroll Padding Right
2560
- * @see https://tailwindcss.com/docs/scroll-padding
2561
- */
2562
- "scroll-pr": [{
2563
- "scroll-pr": d()
2564
- }],
2565
- /**
2566
- * Scroll Padding Bottom
2567
- * @see https://tailwindcss.com/docs/scroll-padding
2568
- */
2569
- "scroll-pb": [{
2570
- "scroll-pb": d()
2571
- }],
2572
- /**
2573
- * Scroll Padding Left
2574
- * @see https://tailwindcss.com/docs/scroll-padding
2575
- */
2576
- "scroll-pl": [{
2577
- "scroll-pl": d()
2578
- }],
2579
- /**
2580
- * Scroll Snap Align
2581
- * @see https://tailwindcss.com/docs/scroll-snap-align
2582
- */
2583
- "snap-align": [{
2584
- snap: ["start", "end", "center", "align-none"]
2585
- }],
2586
- /**
2587
- * Scroll Snap Stop
2588
- * @see https://tailwindcss.com/docs/scroll-snap-stop
2589
- */
2590
- "snap-stop": [{
2591
- snap: ["normal", "always"]
2592
- }],
2593
- /**
2594
- * Scroll Snap Type
2595
- * @see https://tailwindcss.com/docs/scroll-snap-type
2596
- */
2597
- "snap-type": [{
2598
- snap: ["none", "x", "y", "both"]
2599
- }],
2600
- /**
2601
- * Scroll Snap Type Strictness
2602
- * @see https://tailwindcss.com/docs/scroll-snap-type
2603
- */
2604
- "snap-strictness": [{
2605
- snap: ["mandatory", "proximity"]
2606
- }],
2607
- /**
2608
- * Touch Action
2609
- * @see https://tailwindcss.com/docs/touch-action
2610
- */
2611
- touch: [{
2612
- touch: ["auto", "none", "manipulation"]
2613
- }],
2614
- /**
2615
- * Touch Action X
2616
- * @see https://tailwindcss.com/docs/touch-action
2617
- */
2618
- "touch-x": [{
2619
- "touch-pan": ["x", "left", "right"]
2620
- }],
2621
- /**
2622
- * Touch Action Y
2623
- * @see https://tailwindcss.com/docs/touch-action
2624
- */
2625
- "touch-y": [{
2626
- "touch-pan": ["y", "up", "down"]
2627
- }],
2628
- /**
2629
- * Touch Action Pinch Zoom
2630
- * @see https://tailwindcss.com/docs/touch-action
2631
- */
2632
- "touch-pz": ["touch-pinch-zoom"],
2633
- /**
2634
- * User Select
2635
- * @see https://tailwindcss.com/docs/user-select
2636
- */
2637
- select: [{
2638
- select: ["none", "text", "all", "auto"]
2639
- }],
2640
- /**
2641
- * Will Change
2642
- * @see https://tailwindcss.com/docs/will-change
2643
- */
2644
- "will-change": [{
2645
- "will-change": ["auto", "scroll", "contents", "transform", n, s]
2646
- }],
2647
- // -----------
2648
- // --- SVG ---
2649
- // -----------
2650
- /**
2651
- * Fill
2652
- * @see https://tailwindcss.com/docs/fill
2653
- */
2654
- fill: [{
2655
- fill: ["none", ...i()]
2656
- }],
2657
- /**
2658
- * Stroke Width
2659
- * @see https://tailwindcss.com/docs/stroke-width
2660
- */
2661
- "stroke-w": [{
2662
- stroke: [m, W, T, oe]
2663
- }],
2664
- /**
2665
- * Stroke
2666
- * @see https://tailwindcss.com/docs/stroke
2667
- */
2668
- stroke: [{
2669
- stroke: ["none", ...i()]
2670
- }],
2671
- // ---------------------
2672
- // --- Accessibility ---
2673
- // ---------------------
2674
- /**
2675
- * Forced Color Adjust
2676
- * @see https://tailwindcss.com/docs/forced-color-adjust
2677
- */
2678
- "forced-color-adjust": [{
2679
- "forced-color-adjust": ["auto", "none"]
2680
- }]
2681
- },
2682
- conflictingClassGroups: {
2683
- overflow: ["overflow-x", "overflow-y"],
2684
- overscroll: ["overscroll-x", "overscroll-y"],
2685
- inset: ["inset-x", "inset-y", "start", "end", "top", "right", "bottom", "left"],
2686
- "inset-x": ["right", "left"],
2687
- "inset-y": ["top", "bottom"],
2688
- flex: ["basis", "grow", "shrink"],
2689
- gap: ["gap-x", "gap-y"],
2690
- p: ["px", "py", "ps", "pe", "pt", "pr", "pb", "pl"],
2691
- px: ["pr", "pl"],
2692
- py: ["pt", "pb"],
2693
- m: ["mx", "my", "ms", "me", "mt", "mr", "mb", "ml"],
2694
- mx: ["mr", "ml"],
2695
- my: ["mt", "mb"],
2696
- size: ["w", "h"],
2697
- "font-size": ["leading"],
2698
- "fvn-normal": ["fvn-ordinal", "fvn-slashed-zero", "fvn-figure", "fvn-spacing", "fvn-fraction"],
2699
- "fvn-ordinal": ["fvn-normal"],
2700
- "fvn-slashed-zero": ["fvn-normal"],
2701
- "fvn-figure": ["fvn-normal"],
2702
- "fvn-spacing": ["fvn-normal"],
2703
- "fvn-fraction": ["fvn-normal"],
2704
- "line-clamp": ["display", "overflow"],
2705
- 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"],
2706
- "rounded-s": ["rounded-ss", "rounded-es"],
2707
- "rounded-e": ["rounded-se", "rounded-ee"],
2708
- "rounded-t": ["rounded-tl", "rounded-tr"],
2709
- "rounded-r": ["rounded-tr", "rounded-br"],
2710
- "rounded-b": ["rounded-br", "rounded-bl"],
2711
- "rounded-l": ["rounded-tl", "rounded-bl"],
2712
- "border-spacing": ["border-spacing-x", "border-spacing-y"],
2713
- "border-w": ["border-w-x", "border-w-y", "border-w-s", "border-w-e", "border-w-t", "border-w-r", "border-w-b", "border-w-l"],
2714
- "border-w-x": ["border-w-r", "border-w-l"],
2715
- "border-w-y": ["border-w-t", "border-w-b"],
2716
- "border-color": ["border-color-x", "border-color-y", "border-color-s", "border-color-e", "border-color-t", "border-color-r", "border-color-b", "border-color-l"],
2717
- "border-color-x": ["border-color-r", "border-color-l"],
2718
- "border-color-y": ["border-color-t", "border-color-b"],
2719
- translate: ["translate-x", "translate-y", "translate-none"],
2720
- "translate-none": ["translate", "translate-x", "translate-y", "translate-z"],
2721
- "scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mt", "scroll-mr", "scroll-mb", "scroll-ml"],
2722
- "scroll-mx": ["scroll-mr", "scroll-ml"],
2723
- "scroll-my": ["scroll-mt", "scroll-mb"],
2724
- "scroll-p": ["scroll-px", "scroll-py", "scroll-ps", "scroll-pe", "scroll-pt", "scroll-pr", "scroll-pb", "scroll-pl"],
2725
- "scroll-px": ["scroll-pr", "scroll-pl"],
2726
- "scroll-py": ["scroll-pt", "scroll-pb"],
2727
- touch: ["touch-x", "touch-y", "touch-pz"],
2728
- "touch-x": ["touch"],
2729
- "touch-y": ["touch"],
2730
- "touch-pz": ["touch"]
2731
- },
2732
- conflictingClassGroupModifiers: {
2733
- "font-size": ["leading"]
2734
- },
2735
- orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
2736
- };
2737
- }, uo = /* @__PURE__ */ qe(mo), xe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, ye = Ge, po = (e, t) => (o) => {
2738
- var r;
2739
- if (t?.variants == null) return ye(e, o?.class, o?.className);
2740
- const { variants: a, defaultVariants: c } = t, l = Object.keys(a).map((f) => {
2741
- const b = o?.[f], y = c?.[f];
2742
- if (b === null) return null;
2743
- const z = xe(b) || xe(y);
2744
- return a[f][z];
2745
- }), p = o && Object.entries(o).reduce((f, b) => {
2746
- let [y, z] = b;
2747
- return z === void 0 || (f[y] = z), f;
2748
- }, {}), u = t == null || (r = t.compoundVariants) === null || r === void 0 ? void 0 : r.reduce((f, b) => {
2749
- let { class: y, className: z, ...I } = b;
2750
- return Object.entries(I).every((w) => {
2751
- let [k, C] = w;
2752
- return Array.isArray(C) ? C.includes({
2753
- ...c,
2754
- ...p
2755
- }[k]) : {
2756
- ...c,
2757
- ...p
2758
- }[k] === C;
2759
- }) ? [
2760
- ...f,
2761
- y,
2762
- z
2763
- ] : f;
2764
- }, []);
2765
- return ye(e, l, u, o?.class, o?.className);
2766
- };
2767
- export {
2768
- po as a,
2769
- Ge as c,
2770
- uo as t
2771
- };