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