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