@vezham/react 0.4.3 → 26.0.0-alpha.2

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