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