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