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