@uoguelph/web-components 2.0.6 → 2.0.8-rc.0

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