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