@antoniobenincasa/ui 0.0.3 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +4 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +14 -0
- package/dist/index.es.js +419 -333
- package/dist/index.es.js.map +1 -1
- package/dist/ui.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as S from "react";
|
|
2
2
|
import De from "react";
|
|
3
|
-
var
|
|
3
|
+
var de = { exports: {} }, ne = {};
|
|
4
4
|
/**
|
|
5
5
|
* @license React
|
|
6
6
|
* react-jsx-runtime.production.js
|
|
@@ -10,12 +10,12 @@ var le = { exports: {} }, te = {};
|
|
|
10
10
|
* This source code is licensed under the MIT license found in the
|
|
11
11
|
* LICENSE file in the root directory of this source tree.
|
|
12
12
|
*/
|
|
13
|
-
var
|
|
13
|
+
var xe;
|
|
14
14
|
function Ue() {
|
|
15
|
-
if (
|
|
16
|
-
|
|
17
|
-
var e = Symbol.for("react.transitional.element"),
|
|
18
|
-
function
|
|
15
|
+
if (xe) return ne;
|
|
16
|
+
xe = 1;
|
|
17
|
+
var e = Symbol.for("react.transitional.element"), r = Symbol.for("react.fragment");
|
|
18
|
+
function t(o, s, a) {
|
|
19
19
|
var i = null;
|
|
20
20
|
if (a !== void 0 && (i = "" + a), s.key !== void 0 && (i = "" + s.key), "key" in s) {
|
|
21
21
|
a = {};
|
|
@@ -30,9 +30,9 @@ function Ue() {
|
|
|
30
30
|
props: a
|
|
31
31
|
};
|
|
32
32
|
}
|
|
33
|
-
return
|
|
33
|
+
return ne.Fragment = r, ne.jsx = t, ne.jsxs = t, ne;
|
|
34
34
|
}
|
|
35
|
-
var
|
|
35
|
+
var se = {};
|
|
36
36
|
/**
|
|
37
37
|
* @license React
|
|
38
38
|
* react-jsx-runtime.development.js
|
|
@@ -42,39 +42,39 @@ var oe = {};
|
|
|
42
42
|
* This source code is licensed under the MIT license found in the
|
|
43
43
|
* LICENSE file in the root directory of this source tree.
|
|
44
44
|
*/
|
|
45
|
-
var
|
|
45
|
+
var ye;
|
|
46
46
|
function Be() {
|
|
47
|
-
return
|
|
47
|
+
return ye || (ye = 1, process.env.NODE_ENV !== "production" && function() {
|
|
48
48
|
function e(n) {
|
|
49
49
|
if (n == null) return null;
|
|
50
50
|
if (typeof n == "function")
|
|
51
|
-
return n.$$typeof ===
|
|
51
|
+
return n.$$typeof === le ? null : n.displayName || n.name || null;
|
|
52
52
|
if (typeof n == "string") return n;
|
|
53
53
|
switch (n) {
|
|
54
54
|
case w:
|
|
55
55
|
return "Fragment";
|
|
56
|
-
case
|
|
56
|
+
case J:
|
|
57
57
|
return "Profiler";
|
|
58
|
-
case j:
|
|
59
|
-
return "StrictMode";
|
|
60
58
|
case N:
|
|
59
|
+
return "StrictMode";
|
|
60
|
+
case I:
|
|
61
61
|
return "Suspense";
|
|
62
|
-
case
|
|
62
|
+
case B:
|
|
63
63
|
return "SuspenseList";
|
|
64
|
-
case
|
|
64
|
+
case ie:
|
|
65
65
|
return "Activity";
|
|
66
66
|
}
|
|
67
67
|
if (typeof n == "object")
|
|
68
68
|
switch (typeof n.tag == "number" && console.error(
|
|
69
69
|
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
70
70
|
), n.$$typeof) {
|
|
71
|
-
case
|
|
71
|
+
case C:
|
|
72
72
|
return "Portal";
|
|
73
|
-
case
|
|
73
|
+
case F:
|
|
74
74
|
return n.displayName || "Context";
|
|
75
|
-
case
|
|
75
|
+
case U:
|
|
76
76
|
return (n._context.displayName || "Context") + ".Consumer";
|
|
77
|
-
case
|
|
77
|
+
case W:
|
|
78
78
|
var b = n.render;
|
|
79
79
|
return n = n.displayName, n || (n = b.displayName || b.name || "", n = n !== "" ? "ForwardRef(" + n + ")" : "ForwardRef"), n;
|
|
80
80
|
case p:
|
|
@@ -88,12 +88,12 @@ function Be() {
|
|
|
88
88
|
}
|
|
89
89
|
return null;
|
|
90
90
|
}
|
|
91
|
-
function
|
|
91
|
+
function r(n) {
|
|
92
92
|
return "" + n;
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function t(n) {
|
|
95
95
|
try {
|
|
96
|
-
|
|
96
|
+
r(n);
|
|
97
97
|
var b = !1;
|
|
98
98
|
} catch {
|
|
99
99
|
b = !0;
|
|
@@ -105,7 +105,7 @@ function Be() {
|
|
|
105
105
|
b,
|
|
106
106
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
107
107
|
x
|
|
108
|
-
),
|
|
108
|
+
), r(n);
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
function o(n) {
|
|
@@ -120,14 +120,14 @@ function Be() {
|
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
122
|
function s() {
|
|
123
|
-
var n =
|
|
123
|
+
var n = $.A;
|
|
124
124
|
return n === null ? null : n.getOwner();
|
|
125
125
|
}
|
|
126
126
|
function a() {
|
|
127
127
|
return Error("react-stack-top-frame");
|
|
128
128
|
}
|
|
129
129
|
function i(n) {
|
|
130
|
-
if (
|
|
130
|
+
if (ee.call(n, "key")) {
|
|
131
131
|
var b = Object.getOwnPropertyDescriptor(n, "key").get;
|
|
132
132
|
if (b && b.isReactWarning) return !1;
|
|
133
133
|
}
|
|
@@ -151,7 +151,7 @@ function Be() {
|
|
|
151
151
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
152
152
|
)), n = this.props.ref, n !== void 0 ? n : null;
|
|
153
153
|
}
|
|
154
|
-
function f(n, b, h, x,
|
|
154
|
+
function f(n, b, h, x, M, X) {
|
|
155
155
|
var v = h.ref;
|
|
156
156
|
return n = {
|
|
157
157
|
$$typeof: T,
|
|
@@ -176,19 +176,19 @@ function Be() {
|
|
|
176
176
|
configurable: !1,
|
|
177
177
|
enumerable: !1,
|
|
178
178
|
writable: !0,
|
|
179
|
-
value:
|
|
179
|
+
value: M
|
|
180
180
|
}), Object.defineProperty(n, "_debugTask", {
|
|
181
181
|
configurable: !1,
|
|
182
182
|
enumerable: !1,
|
|
183
183
|
writable: !0,
|
|
184
|
-
value:
|
|
184
|
+
value: X
|
|
185
185
|
}), Object.freeze && (Object.freeze(n.props), Object.freeze(n)), n;
|
|
186
186
|
}
|
|
187
|
-
function y(n, b, h, x,
|
|
187
|
+
function y(n, b, h, x, M, X) {
|
|
188
188
|
var v = b.children;
|
|
189
189
|
if (v !== void 0)
|
|
190
190
|
if (x)
|
|
191
|
-
if (
|
|
191
|
+
if (re(v)) {
|
|
192
192
|
for (x = 0; x < v.length; x++)
|
|
193
193
|
k(v[x]);
|
|
194
194
|
Object.freeze && Object.freeze(v);
|
|
@@ -197,12 +197,12 @@ function Be() {
|
|
|
197
197
|
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
198
198
|
);
|
|
199
199
|
else k(v);
|
|
200
|
-
if (
|
|
200
|
+
if (ee.call(b, "key")) {
|
|
201
201
|
v = e(n);
|
|
202
|
-
var
|
|
203
|
-
return
|
|
202
|
+
var V = Object.keys(b).filter(function(H) {
|
|
203
|
+
return H !== "key";
|
|
204
204
|
});
|
|
205
|
-
x = 0 <
|
|
205
|
+
x = 0 < V.length ? "{key: someKey, " + V.join(": ..., ") + ": ...}" : "{key: someKey}", oe[v + x] || (V = 0 < V.length ? "{" + V.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
206
206
|
`A props object containing a "key" prop is being spread into JSX:
|
|
207
207
|
let props = %s;
|
|
208
208
|
<%s {...props} />
|
|
@@ -211,14 +211,14 @@ React keys must be passed directly to JSX without using spread:
|
|
|
211
211
|
<%s key={someKey} {...props} />`,
|
|
212
212
|
x,
|
|
213
213
|
v,
|
|
214
|
-
|
|
214
|
+
V,
|
|
215
215
|
v
|
|
216
|
-
),
|
|
216
|
+
), oe[v + x] = !0);
|
|
217
217
|
}
|
|
218
|
-
if (v = null, h !== void 0 && (
|
|
218
|
+
if (v = null, h !== void 0 && (t(h), v = "" + h), i(b) && (t(b.key), v = "" + b.key), "key" in b) {
|
|
219
219
|
h = {};
|
|
220
|
-
for (var
|
|
221
|
-
|
|
220
|
+
for (var Y in b)
|
|
221
|
+
Y !== "key" && (h[Y] = b[Y]);
|
|
222
222
|
} else h = b;
|
|
223
223
|
return v && u(
|
|
224
224
|
h,
|
|
@@ -228,8 +228,8 @@ React keys must be passed directly to JSX without using spread:
|
|
|
228
228
|
v,
|
|
229
229
|
h,
|
|
230
230
|
s(),
|
|
231
|
-
|
|
232
|
-
|
|
231
|
+
M,
|
|
232
|
+
X
|
|
233
233
|
);
|
|
234
234
|
}
|
|
235
235
|
function k(n) {
|
|
@@ -238,260 +238,260 @@ React keys must be passed directly to JSX without using spread:
|
|
|
238
238
|
function R(n) {
|
|
239
239
|
return typeof n == "object" && n !== null && n.$$typeof === T;
|
|
240
240
|
}
|
|
241
|
-
var
|
|
241
|
+
var _ = De, T = Symbol.for("react.transitional.element"), C = Symbol.for("react.portal"), w = Symbol.for("react.fragment"), N = Symbol.for("react.strict_mode"), J = Symbol.for("react.profiler"), U = Symbol.for("react.consumer"), F = Symbol.for("react.context"), W = Symbol.for("react.forward_ref"), I = Symbol.for("react.suspense"), B = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), A = Symbol.for("react.lazy"), ie = Symbol.for("react.activity"), le = Symbol.for("react.client.reference"), $ = _.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, ee = Object.prototype.hasOwnProperty, re = Array.isArray, z = console.createTask ? console.createTask : function() {
|
|
242
242
|
return null;
|
|
243
243
|
};
|
|
244
|
-
|
|
244
|
+
_ = {
|
|
245
245
|
react_stack_bottom_frame: function(n) {
|
|
246
246
|
return n();
|
|
247
247
|
}
|
|
248
248
|
};
|
|
249
|
-
var P, O = {}, m =
|
|
250
|
-
|
|
249
|
+
var P, O = {}, m = _.react_stack_bottom_frame.bind(
|
|
250
|
+
_,
|
|
251
251
|
a
|
|
252
|
-
)(),
|
|
253
|
-
|
|
254
|
-
var x = 1e4 >
|
|
252
|
+
)(), te = z(o(a)), oe = {};
|
|
253
|
+
se.Fragment = w, se.jsx = function(n, b, h) {
|
|
254
|
+
var x = 1e4 > $.recentlyCreatedOwnerStacks++;
|
|
255
255
|
return y(
|
|
256
256
|
n,
|
|
257
257
|
b,
|
|
258
258
|
h,
|
|
259
259
|
!1,
|
|
260
260
|
x ? Error("react-stack-top-frame") : m,
|
|
261
|
-
x ? z(o(n)) :
|
|
261
|
+
x ? z(o(n)) : te
|
|
262
262
|
);
|
|
263
|
-
},
|
|
264
|
-
var x = 1e4 >
|
|
263
|
+
}, se.jsxs = function(n, b, h) {
|
|
264
|
+
var x = 1e4 > $.recentlyCreatedOwnerStacks++;
|
|
265
265
|
return y(
|
|
266
266
|
n,
|
|
267
267
|
b,
|
|
268
268
|
h,
|
|
269
269
|
!0,
|
|
270
270
|
x ? Error("react-stack-top-frame") : m,
|
|
271
|
-
x ? z(o(n)) :
|
|
271
|
+
x ? z(o(n)) : te
|
|
272
272
|
);
|
|
273
273
|
};
|
|
274
|
-
}()),
|
|
274
|
+
}()), se;
|
|
275
275
|
}
|
|
276
|
-
var
|
|
276
|
+
var ke;
|
|
277
277
|
function qe() {
|
|
278
|
-
return
|
|
278
|
+
return ke || (ke = 1, process.env.NODE_ENV === "production" ? de.exports = Ue() : de.exports = Be()), de.exports;
|
|
279
279
|
}
|
|
280
|
-
var
|
|
281
|
-
function
|
|
280
|
+
var j = qe();
|
|
281
|
+
function we(e, r) {
|
|
282
282
|
if (typeof e == "function")
|
|
283
|
-
return e(
|
|
284
|
-
e != null && (e.current =
|
|
283
|
+
return e(r);
|
|
284
|
+
e != null && (e.current = r);
|
|
285
285
|
}
|
|
286
286
|
function Je(...e) {
|
|
287
|
-
return (
|
|
288
|
-
let
|
|
287
|
+
return (r) => {
|
|
288
|
+
let t = !1;
|
|
289
289
|
const o = e.map((s) => {
|
|
290
|
-
const a =
|
|
291
|
-
return !
|
|
290
|
+
const a = we(s, r);
|
|
291
|
+
return !t && typeof a == "function" && (t = !0), a;
|
|
292
292
|
});
|
|
293
|
-
if (
|
|
293
|
+
if (t)
|
|
294
294
|
return () => {
|
|
295
295
|
for (let s = 0; s < o.length; s++) {
|
|
296
296
|
const a = o[s];
|
|
297
|
-
typeof a == "function" ? a() :
|
|
297
|
+
typeof a == "function" ? a() : we(e[s], null);
|
|
298
298
|
}
|
|
299
299
|
};
|
|
300
300
|
};
|
|
301
301
|
}
|
|
302
302
|
// @__NO_SIDE_EFFECTS__
|
|
303
303
|
function Xe(e) {
|
|
304
|
-
const
|
|
305
|
-
const { children: a, ...i } = o, u =
|
|
304
|
+
const r = /* @__PURE__ */ Ze(e), t = S.forwardRef((o, s) => {
|
|
305
|
+
const { children: a, ...i } = o, u = S.Children.toArray(a), d = u.find(Ke);
|
|
306
306
|
if (d) {
|
|
307
|
-
const f = d.props.children, y = u.map((k) => k === d ?
|
|
308
|
-
return /* @__PURE__ */
|
|
307
|
+
const f = d.props.children, y = u.map((k) => k === d ? S.Children.count(f) > 1 ? S.Children.only(null) : S.isValidElement(f) ? f.props.children : null : k);
|
|
308
|
+
return /* @__PURE__ */ j.jsx(r, { ...i, ref: s, children: S.isValidElement(f) ? S.cloneElement(f, void 0, y) : null });
|
|
309
309
|
}
|
|
310
|
-
return /* @__PURE__ */
|
|
310
|
+
return /* @__PURE__ */ j.jsx(r, { ...i, ref: s, children: a });
|
|
311
311
|
});
|
|
312
|
-
return
|
|
312
|
+
return t.displayName = `${e}.Slot`, t;
|
|
313
313
|
}
|
|
314
314
|
var He = /* @__PURE__ */ Xe("Slot");
|
|
315
315
|
// @__NO_SIDE_EFFECTS__
|
|
316
316
|
function Ze(e) {
|
|
317
|
-
const
|
|
318
|
-
const { children: s, ...a } =
|
|
319
|
-
if (
|
|
317
|
+
const r = S.forwardRef((t, o) => {
|
|
318
|
+
const { children: s, ...a } = t;
|
|
319
|
+
if (S.isValidElement(s)) {
|
|
320
320
|
const i = rr(s), u = er(a, s.props);
|
|
321
|
-
return s.type !==
|
|
321
|
+
return s.type !== S.Fragment && (u.ref = o ? Je(o, i) : i), S.cloneElement(s, u);
|
|
322
322
|
}
|
|
323
|
-
return
|
|
323
|
+
return S.Children.count(s) > 1 ? S.Children.only(null) : null;
|
|
324
324
|
});
|
|
325
|
-
return
|
|
325
|
+
return r.displayName = `${e}.SlotClone`, r;
|
|
326
326
|
}
|
|
327
327
|
var Qe = Symbol("radix.slottable");
|
|
328
328
|
function Ke(e) {
|
|
329
|
-
return
|
|
329
|
+
return S.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === Qe;
|
|
330
330
|
}
|
|
331
|
-
function er(e,
|
|
332
|
-
const
|
|
333
|
-
for (const o in
|
|
334
|
-
const s = e[o], a =
|
|
335
|
-
/^on[A-Z]/.test(o) ? s && a ?
|
|
331
|
+
function er(e, r) {
|
|
332
|
+
const t = { ...r };
|
|
333
|
+
for (const o in r) {
|
|
334
|
+
const s = e[o], a = r[o];
|
|
335
|
+
/^on[A-Z]/.test(o) ? s && a ? t[o] = (...u) => {
|
|
336
336
|
const d = a(...u);
|
|
337
337
|
return s(...u), d;
|
|
338
|
-
} : s && (
|
|
338
|
+
} : s && (t[o] = s) : o === "style" ? t[o] = { ...s, ...a } : o === "className" && (t[o] = [s, a].filter(Boolean).join(" "));
|
|
339
339
|
}
|
|
340
|
-
return { ...e, ...
|
|
340
|
+
return { ...e, ...t };
|
|
341
341
|
}
|
|
342
342
|
function rr(e) {
|
|
343
|
-
let
|
|
344
|
-
return
|
|
343
|
+
let r = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, t = r && "isReactWarning" in r && r.isReactWarning;
|
|
344
|
+
return t ? e.ref : (r = Object.getOwnPropertyDescriptor(e, "ref")?.get, t = r && "isReactWarning" in r && r.isReactWarning, t ? e.props.ref : e.props.ref || e.ref);
|
|
345
345
|
}
|
|
346
|
-
function
|
|
347
|
-
var
|
|
346
|
+
function Pe(e) {
|
|
347
|
+
var r, t, o = "";
|
|
348
348
|
if (typeof e == "string" || typeof e == "number") o += e;
|
|
349
349
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
350
350
|
var s = e.length;
|
|
351
|
-
for (
|
|
352
|
-
} else for (
|
|
351
|
+
for (r = 0; r < s; r++) e[r] && (t = Pe(e[r])) && (o && (o += " "), o += t);
|
|
352
|
+
} else for (t in e) e[t] && (o && (o += " "), o += t);
|
|
353
353
|
return o;
|
|
354
354
|
}
|
|
355
|
-
function
|
|
356
|
-
for (var e,
|
|
355
|
+
function je() {
|
|
356
|
+
for (var e, r, t = 0, o = "", s = arguments.length; t < s; t++) (e = arguments[t]) && (r = Pe(e)) && (o && (o += " "), o += r);
|
|
357
357
|
return o;
|
|
358
358
|
}
|
|
359
|
-
const
|
|
359
|
+
const Re = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Ee = je, tr = (e, r) => (t) => {
|
|
360
360
|
var o;
|
|
361
|
-
if (
|
|
362
|
-
const { variants: s, defaultVariants: a } =
|
|
363
|
-
const y =
|
|
361
|
+
if (r?.variants == null) return Ee(e, t?.class, t?.className);
|
|
362
|
+
const { variants: s, defaultVariants: a } = r, i = Object.keys(s).map((f) => {
|
|
363
|
+
const y = t?.[f], k = a?.[f];
|
|
364
364
|
if (y === null) return null;
|
|
365
|
-
const R =
|
|
365
|
+
const R = Re(y) || Re(k);
|
|
366
366
|
return s[f][R];
|
|
367
|
-
}), u =
|
|
367
|
+
}), u = t && Object.entries(t).reduce((f, y) => {
|
|
368
368
|
let [k, R] = y;
|
|
369
369
|
return R === void 0 || (f[k] = R), f;
|
|
370
|
-
}, {}), d =
|
|
371
|
-
let { class: k, className: R, ...
|
|
372
|
-
return Object.entries(
|
|
373
|
-
let [
|
|
370
|
+
}, {}), d = r == null || (o = r.compoundVariants) === null || o === void 0 ? void 0 : o.reduce((f, y) => {
|
|
371
|
+
let { class: k, className: R, ..._ } = y;
|
|
372
|
+
return Object.entries(_).every((T) => {
|
|
373
|
+
let [C, w] = T;
|
|
374
374
|
return Array.isArray(w) ? w.includes({
|
|
375
375
|
...a,
|
|
376
376
|
...u
|
|
377
|
-
}[
|
|
377
|
+
}[C]) : {
|
|
378
378
|
...a,
|
|
379
379
|
...u
|
|
380
|
-
}[
|
|
380
|
+
}[C] === w;
|
|
381
381
|
}) ? [
|
|
382
382
|
...f,
|
|
383
383
|
k,
|
|
384
384
|
R
|
|
385
385
|
] : f;
|
|
386
386
|
}, []);
|
|
387
|
-
return
|
|
388
|
-
}, or = (e,
|
|
389
|
-
const
|
|
387
|
+
return Ee(e, i, d, t?.class, t?.className);
|
|
388
|
+
}, or = (e, r) => {
|
|
389
|
+
const t = new Array(e.length + r.length);
|
|
390
390
|
for (let o = 0; o < e.length; o++)
|
|
391
|
-
|
|
392
|
-
for (let o = 0; o <
|
|
393
|
-
|
|
394
|
-
return
|
|
395
|
-
}, nr = (e,
|
|
391
|
+
t[o] = e[o];
|
|
392
|
+
for (let o = 0; o < r.length; o++)
|
|
393
|
+
t[e.length + o] = r[o];
|
|
394
|
+
return t;
|
|
395
|
+
}, nr = (e, r) => ({
|
|
396
396
|
classGroupId: e,
|
|
397
|
-
validator:
|
|
398
|
-
}), ze = (e = /* @__PURE__ */ new Map(),
|
|
397
|
+
validator: r
|
|
398
|
+
}), ze = (e = /* @__PURE__ */ new Map(), r = null, t) => ({
|
|
399
399
|
nextPart: e,
|
|
400
|
-
validators:
|
|
401
|
-
classGroupId:
|
|
402
|
-
}),
|
|
403
|
-
const
|
|
404
|
-
conflictingClassGroups:
|
|
400
|
+
validators: r,
|
|
401
|
+
classGroupId: t
|
|
402
|
+
}), fe = "-", Ce = [], sr = "arbitrary..", ar = (e) => {
|
|
403
|
+
const r = lr(e), {
|
|
404
|
+
conflictingClassGroups: t,
|
|
405
405
|
conflictingClassGroupModifiers: o
|
|
406
406
|
} = e;
|
|
407
407
|
return {
|
|
408
408
|
getClassGroupId: (i) => {
|
|
409
409
|
if (i.startsWith("[") && i.endsWith("]"))
|
|
410
410
|
return ir(i);
|
|
411
|
-
const u = i.split(
|
|
412
|
-
return Oe(u, d,
|
|
411
|
+
const u = i.split(fe), d = u[0] === "" && u.length > 1 ? 1 : 0;
|
|
412
|
+
return Oe(u, d, r);
|
|
413
413
|
},
|
|
414
414
|
getConflictingClassGroupIds: (i, u) => {
|
|
415
415
|
if (u) {
|
|
416
|
-
const d = o[i], f =
|
|
417
|
-
return d ? f ? or(f, d) : d : f ||
|
|
416
|
+
const d = o[i], f = t[i];
|
|
417
|
+
return d ? f ? or(f, d) : d : f || Ce;
|
|
418
418
|
}
|
|
419
|
-
return
|
|
419
|
+
return t[i] || Ce;
|
|
420
420
|
}
|
|
421
421
|
};
|
|
422
|
-
}, Oe = (e,
|
|
423
|
-
if (e.length -
|
|
424
|
-
return
|
|
425
|
-
const s = e[
|
|
422
|
+
}, Oe = (e, r, t) => {
|
|
423
|
+
if (e.length - r === 0)
|
|
424
|
+
return t.classGroupId;
|
|
425
|
+
const s = e[r], a = t.nextPart.get(s);
|
|
426
426
|
if (a) {
|
|
427
|
-
const f = Oe(e,
|
|
427
|
+
const f = Oe(e, r + 1, a);
|
|
428
428
|
if (f) return f;
|
|
429
429
|
}
|
|
430
|
-
const i =
|
|
430
|
+
const i = t.validators;
|
|
431
431
|
if (i === null)
|
|
432
432
|
return;
|
|
433
|
-
const u =
|
|
433
|
+
const u = r === 0 ? e.join(fe) : e.slice(r).join(fe), d = i.length;
|
|
434
434
|
for (let f = 0; f < d; f++) {
|
|
435
435
|
const y = i[f];
|
|
436
436
|
if (y.validator(u))
|
|
437
437
|
return y.classGroupId;
|
|
438
438
|
}
|
|
439
439
|
}, ir = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
440
|
-
const
|
|
440
|
+
const r = e.slice(1, -1), t = r.indexOf(":"), o = r.slice(0, t);
|
|
441
441
|
return o ? sr + o : void 0;
|
|
442
442
|
})(), lr = (e) => {
|
|
443
443
|
const {
|
|
444
|
-
theme:
|
|
445
|
-
classGroups:
|
|
444
|
+
theme: r,
|
|
445
|
+
classGroups: t
|
|
446
446
|
} = e;
|
|
447
|
-
return cr(
|
|
448
|
-
}, cr = (e,
|
|
449
|
-
const
|
|
447
|
+
return cr(t, r);
|
|
448
|
+
}, cr = (e, r) => {
|
|
449
|
+
const t = ze();
|
|
450
450
|
for (const o in e) {
|
|
451
451
|
const s = e[o];
|
|
452
|
-
|
|
452
|
+
ve(s, t, o, r);
|
|
453
453
|
}
|
|
454
|
-
return
|
|
455
|
-
},
|
|
454
|
+
return t;
|
|
455
|
+
}, ve = (e, r, t, o) => {
|
|
456
456
|
const s = e.length;
|
|
457
457
|
for (let a = 0; a < s; a++) {
|
|
458
458
|
const i = e[a];
|
|
459
|
-
dr(i,
|
|
459
|
+
dr(i, r, t, o);
|
|
460
460
|
}
|
|
461
|
-
}, dr = (e,
|
|
461
|
+
}, dr = (e, r, t, o) => {
|
|
462
462
|
if (typeof e == "string") {
|
|
463
|
-
ur(e,
|
|
463
|
+
ur(e, r, t);
|
|
464
464
|
return;
|
|
465
465
|
}
|
|
466
466
|
if (typeof e == "function") {
|
|
467
|
-
mr(e,
|
|
467
|
+
mr(e, r, t, o);
|
|
468
468
|
return;
|
|
469
469
|
}
|
|
470
|
-
fr(e,
|
|
471
|
-
}, ur = (e,
|
|
472
|
-
const o = e === "" ?
|
|
473
|
-
o.classGroupId =
|
|
474
|
-
}, mr = (e,
|
|
470
|
+
fr(e, r, t, o);
|
|
471
|
+
}, ur = (e, r, t) => {
|
|
472
|
+
const o = e === "" ? r : Ne(r, e);
|
|
473
|
+
o.classGroupId = t;
|
|
474
|
+
}, mr = (e, r, t, o) => {
|
|
475
475
|
if (pr(e)) {
|
|
476
|
-
|
|
476
|
+
ve(e(o), r, t, o);
|
|
477
477
|
return;
|
|
478
478
|
}
|
|
479
|
-
|
|
480
|
-
}, fr = (e,
|
|
479
|
+
r.validators === null && (r.validators = []), r.validators.push(nr(t, e));
|
|
480
|
+
}, fr = (e, r, t, o) => {
|
|
481
481
|
const s = Object.entries(e), a = s.length;
|
|
482
482
|
for (let i = 0; i < a; i++) {
|
|
483
483
|
const [u, d] = s[i];
|
|
484
|
-
|
|
484
|
+
ve(d, Ne(r, u), t, o);
|
|
485
485
|
}
|
|
486
|
-
},
|
|
487
|
-
let
|
|
488
|
-
const o =
|
|
486
|
+
}, Ne = (e, r) => {
|
|
487
|
+
let t = e;
|
|
488
|
+
const o = r.split(fe), s = o.length;
|
|
489
489
|
for (let a = 0; a < s; a++) {
|
|
490
490
|
const i = o[a];
|
|
491
|
-
let u =
|
|
492
|
-
u || (u = ze(),
|
|
491
|
+
let u = t.nextPart.get(i);
|
|
492
|
+
u || (u = ze(), t.nextPart.set(i, u)), t = u;
|
|
493
493
|
}
|
|
494
|
-
return
|
|
494
|
+
return t;
|
|
495
495
|
}, pr = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, br = (e) => {
|
|
496
496
|
if (e < 1)
|
|
497
497
|
return {
|
|
@@ -500,84 +500,84 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
500
500
|
set: () => {
|
|
501
501
|
}
|
|
502
502
|
};
|
|
503
|
-
let
|
|
503
|
+
let r = 0, t = /* @__PURE__ */ Object.create(null), o = /* @__PURE__ */ Object.create(null);
|
|
504
504
|
const s = (a, i) => {
|
|
505
|
-
|
|
505
|
+
t[a] = i, r++, r > e && (r = 0, o = t, t = /* @__PURE__ */ Object.create(null));
|
|
506
506
|
};
|
|
507
507
|
return {
|
|
508
508
|
get(a) {
|
|
509
|
-
let i =
|
|
509
|
+
let i = t[a];
|
|
510
510
|
if (i !== void 0)
|
|
511
511
|
return i;
|
|
512
512
|
if ((i = o[a]) !== void 0)
|
|
513
513
|
return s(a, i), i;
|
|
514
514
|
},
|
|
515
515
|
set(a, i) {
|
|
516
|
-
a in
|
|
516
|
+
a in t ? t[a] = i : s(a, i);
|
|
517
517
|
}
|
|
518
518
|
};
|
|
519
|
-
},
|
|
519
|
+
}, he = "!", _e = ":", gr = [], Se = (e, r, t, o, s) => ({
|
|
520
520
|
modifiers: e,
|
|
521
|
-
hasImportantModifier:
|
|
522
|
-
baseClassName:
|
|
521
|
+
hasImportantModifier: r,
|
|
522
|
+
baseClassName: t,
|
|
523
523
|
maybePostfixModifierPosition: o,
|
|
524
524
|
isExternal: s
|
|
525
525
|
}), hr = (e) => {
|
|
526
526
|
const {
|
|
527
|
-
prefix:
|
|
528
|
-
experimentalParseClassName:
|
|
527
|
+
prefix: r,
|
|
528
|
+
experimentalParseClassName: t
|
|
529
529
|
} = e;
|
|
530
530
|
let o = (s) => {
|
|
531
531
|
const a = [];
|
|
532
532
|
let i = 0, u = 0, d = 0, f;
|
|
533
533
|
const y = s.length;
|
|
534
|
-
for (let
|
|
535
|
-
const w = s[
|
|
534
|
+
for (let C = 0; C < y; C++) {
|
|
535
|
+
const w = s[C];
|
|
536
536
|
if (i === 0 && u === 0) {
|
|
537
537
|
if (w === _e) {
|
|
538
|
-
a.push(s.slice(d,
|
|
538
|
+
a.push(s.slice(d, C)), d = C + 1;
|
|
539
539
|
continue;
|
|
540
540
|
}
|
|
541
541
|
if (w === "/") {
|
|
542
|
-
f =
|
|
542
|
+
f = C;
|
|
543
543
|
continue;
|
|
544
544
|
}
|
|
545
545
|
}
|
|
546
546
|
w === "[" ? i++ : w === "]" ? i-- : w === "(" ? u++ : w === ")" && u--;
|
|
547
547
|
}
|
|
548
548
|
const k = a.length === 0 ? s : s.slice(d);
|
|
549
|
-
let R = k,
|
|
550
|
-
k.endsWith(
|
|
549
|
+
let R = k, _ = !1;
|
|
550
|
+
k.endsWith(he) ? (R = k.slice(0, -1), _ = !0) : (
|
|
551
551
|
/**
|
|
552
552
|
* In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
|
|
553
553
|
* @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
|
|
554
554
|
*/
|
|
555
|
-
k.startsWith(
|
|
555
|
+
k.startsWith(he) && (R = k.slice(1), _ = !0)
|
|
556
556
|
);
|
|
557
557
|
const T = f && f > d ? f - d : void 0;
|
|
558
|
-
return Se(a,
|
|
558
|
+
return Se(a, _, R, T);
|
|
559
559
|
};
|
|
560
|
-
if (
|
|
561
|
-
const s =
|
|
560
|
+
if (r) {
|
|
561
|
+
const s = r + _e, a = o;
|
|
562
562
|
o = (i) => i.startsWith(s) ? a(i.slice(s.length)) : Se(gr, !1, i, void 0, !0);
|
|
563
563
|
}
|
|
564
|
-
if (
|
|
564
|
+
if (t) {
|
|
565
565
|
const s = o;
|
|
566
|
-
o = (a) =>
|
|
566
|
+
o = (a) => t({
|
|
567
567
|
className: a,
|
|
568
568
|
parseClassName: s
|
|
569
569
|
});
|
|
570
570
|
}
|
|
571
571
|
return o;
|
|
572
572
|
}, vr = (e) => {
|
|
573
|
-
const
|
|
574
|
-
return e.orderSensitiveModifiers.forEach((
|
|
575
|
-
|
|
576
|
-
}), (
|
|
573
|
+
const r = /* @__PURE__ */ new Map();
|
|
574
|
+
return e.orderSensitiveModifiers.forEach((t, o) => {
|
|
575
|
+
r.set(t, 1e6 + o);
|
|
576
|
+
}), (t) => {
|
|
577
577
|
const o = [];
|
|
578
578
|
let s = [];
|
|
579
|
-
for (let a = 0; a <
|
|
580
|
-
const i =
|
|
579
|
+
for (let a = 0; a < t.length; a++) {
|
|
580
|
+
const i = t[a], u = i[0] === "[", d = r.has(i);
|
|
581
581
|
u || d ? (s.length > 0 && (s.sort(), o.push(...s), s = []), o.push(i)) : s.push(i);
|
|
582
582
|
}
|
|
583
583
|
return s.length > 0 && (s.sort(), o.push(...s)), o;
|
|
@@ -587,91 +587,91 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
587
587
|
parseClassName: hr(e),
|
|
588
588
|
sortModifiers: vr(e),
|
|
589
589
|
...ar(e)
|
|
590
|
-
}), yr = /\s+/, kr = (e,
|
|
590
|
+
}), yr = /\s+/, kr = (e, r) => {
|
|
591
591
|
const {
|
|
592
|
-
parseClassName:
|
|
592
|
+
parseClassName: t,
|
|
593
593
|
getClassGroupId: o,
|
|
594
594
|
getConflictingClassGroupIds: s,
|
|
595
595
|
sortModifiers: a
|
|
596
|
-
} =
|
|
596
|
+
} = r, i = [], u = e.trim().split(yr);
|
|
597
597
|
let d = "";
|
|
598
598
|
for (let f = u.length - 1; f >= 0; f -= 1) {
|
|
599
599
|
const y = u[f], {
|
|
600
600
|
isExternal: k,
|
|
601
601
|
modifiers: R,
|
|
602
|
-
hasImportantModifier:
|
|
602
|
+
hasImportantModifier: _,
|
|
603
603
|
baseClassName: T,
|
|
604
|
-
maybePostfixModifierPosition:
|
|
605
|
-
} =
|
|
604
|
+
maybePostfixModifierPosition: C
|
|
605
|
+
} = t(y);
|
|
606
606
|
if (k) {
|
|
607
607
|
d = y + (d.length > 0 ? " " + d : d);
|
|
608
608
|
continue;
|
|
609
609
|
}
|
|
610
|
-
let w = !!
|
|
611
|
-
if (!
|
|
610
|
+
let w = !!C, N = o(w ? T.substring(0, C) : T);
|
|
611
|
+
if (!N) {
|
|
612
612
|
if (!w) {
|
|
613
613
|
d = y + (d.length > 0 ? " " + d : d);
|
|
614
614
|
continue;
|
|
615
615
|
}
|
|
616
|
-
if (
|
|
616
|
+
if (N = o(T), !N) {
|
|
617
617
|
d = y + (d.length > 0 ? " " + d : d);
|
|
618
618
|
continue;
|
|
619
619
|
}
|
|
620
620
|
w = !1;
|
|
621
621
|
}
|
|
622
|
-
const
|
|
623
|
-
if (i.indexOf(
|
|
622
|
+
const J = R.length === 0 ? "" : R.length === 1 ? R[0] : a(R).join(":"), U = _ ? J + he : J, F = U + N;
|
|
623
|
+
if (i.indexOf(F) > -1)
|
|
624
624
|
continue;
|
|
625
|
-
i.push(
|
|
626
|
-
const
|
|
627
|
-
for (let
|
|
628
|
-
const
|
|
629
|
-
i.push(
|
|
625
|
+
i.push(F);
|
|
626
|
+
const W = s(N, w);
|
|
627
|
+
for (let I = 0; I < W.length; ++I) {
|
|
628
|
+
const B = W[I];
|
|
629
|
+
i.push(U + B);
|
|
630
630
|
}
|
|
631
631
|
d = y + (d.length > 0 ? " " + d : d);
|
|
632
632
|
}
|
|
633
633
|
return d;
|
|
634
634
|
}, wr = (...e) => {
|
|
635
|
-
let
|
|
636
|
-
for (;
|
|
637
|
-
(
|
|
635
|
+
let r = 0, t, o, s = "";
|
|
636
|
+
for (; r < e.length; )
|
|
637
|
+
(t = e[r++]) && (o = Ie(t)) && (s && (s += " "), s += o);
|
|
638
638
|
return s;
|
|
639
|
-
},
|
|
639
|
+
}, Ie = (e) => {
|
|
640
640
|
if (typeof e == "string")
|
|
641
641
|
return e;
|
|
642
|
-
let
|
|
642
|
+
let r, t = "";
|
|
643
643
|
for (let o = 0; o < e.length; o++)
|
|
644
|
-
e[o] && (
|
|
645
|
-
return
|
|
646
|
-
}, Rr = (e, ...
|
|
647
|
-
let
|
|
644
|
+
e[o] && (r = Ie(e[o])) && (t && (t += " "), t += r);
|
|
645
|
+
return t;
|
|
646
|
+
}, Rr = (e, ...r) => {
|
|
647
|
+
let t, o, s, a;
|
|
648
648
|
const i = (d) => {
|
|
649
|
-
const f =
|
|
650
|
-
return
|
|
649
|
+
const f = r.reduce((y, k) => k(y), e());
|
|
650
|
+
return t = xr(f), o = t.cache.get, s = t.cache.set, a = u, u(d);
|
|
651
651
|
}, u = (d) => {
|
|
652
652
|
const f = o(d);
|
|
653
653
|
if (f)
|
|
654
654
|
return f;
|
|
655
|
-
const y = kr(d,
|
|
655
|
+
const y = kr(d, t);
|
|
656
656
|
return s(d, y), y;
|
|
657
657
|
};
|
|
658
658
|
return a = i, (...d) => a(wr(...d));
|
|
659
659
|
}, Er = [], E = (e) => {
|
|
660
|
-
const
|
|
661
|
-
return
|
|
662
|
-
},
|
|
660
|
+
const r = (t) => t[e] || Er;
|
|
661
|
+
return r.isThemeGetter = !0, r;
|
|
662
|
+
}, Me = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ve = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Cr = /^\d+\/\d+$/, _r = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Sr = /\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$/, Ar = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Tr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Pr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Z = (e) => Cr.test(e), g = (e) => !!e && !Number.isNaN(Number(e)), D = (e) => !!e && Number.isInteger(Number(e)), be = (e) => e.endsWith("%") && g(e.slice(0, -1)), G = (e) => _r.test(e), jr = () => !0, zr = (e) => (
|
|
663
663
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
664
664
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
665
665
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
666
|
-
|
|
667
|
-
),
|
|
668
|
-
const o = Ie.exec(e);
|
|
669
|
-
return o ? o[1] ? t(o[1]) : r(o[2]) : !1;
|
|
670
|
-
}, Z = (e, t, r = !1) => {
|
|
666
|
+
Sr.test(e) && !Ar.test(e)
|
|
667
|
+
), Ge = () => !1, Or = (e) => Tr.test(e), Nr = (e) => Pr.test(e), Ir = (e) => !l(e) && !c(e), Mr = (e) => Q(e, We, Ge), l = (e) => Me.test(e), q = (e) => Q(e, $e, zr), ge = (e) => Q(e, Wr, g), Ae = (e) => Q(e, Le, Ge), Vr = (e) => Q(e, Fe, Nr), ue = (e) => Q(e, Ye, Or), c = (e) => Ve.test(e), ae = (e) => K(e, $e), Gr = (e) => K(e, $r), Te = (e) => K(e, Le), Lr = (e) => K(e, We), Fr = (e) => K(e, Fe), me = (e) => K(e, Ye, !0), Q = (e, r, t) => {
|
|
671
668
|
const o = Me.exec(e);
|
|
672
|
-
return o ? o[1] ?
|
|
673
|
-
},
|
|
674
|
-
const
|
|
669
|
+
return o ? o[1] ? r(o[1]) : t(o[2]) : !1;
|
|
670
|
+
}, K = (e, r, t = !1) => {
|
|
671
|
+
const o = Ve.exec(e);
|
|
672
|
+
return o ? o[1] ? r(o[1]) : t : !1;
|
|
673
|
+
}, Le = (e) => e === "position" || e === "percentage", Fe = (e) => e === "image" || e === "url", We = (e) => e === "length" || e === "size" || e === "bg-size", $e = (e) => e === "length", Wr = (e) => e === "number", $r = (e) => e === "family-name", Ye = (e) => e === "shadow", Yr = () => {
|
|
674
|
+
const e = E("color"), r = E("font"), t = E("text"), o = E("font-weight"), s = E("tracking"), a = E("leading"), i = E("breakpoint"), u = E("container"), d = E("spacing"), f = E("radius"), y = E("shadow"), k = E("inset-shadow"), R = E("text-shadow"), _ = E("drop-shadow"), T = E("blur"), C = E("perspective"), w = E("aspect"), N = E("ease"), J = E("animate"), U = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], F = () => [
|
|
675
675
|
"center",
|
|
676
676
|
"top",
|
|
677
677
|
"bottom",
|
|
@@ -689,15 +689,15 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
689
689
|
"bottom-left",
|
|
690
690
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
691
691
|
"left-bottom"
|
|
692
|
-
],
|
|
693
|
-
span: ["full",
|
|
694
|
-
},
|
|
692
|
+
], W = () => [...F(), c, l], I = () => ["auto", "hidden", "clip", "visible", "scroll"], B = () => ["auto", "contain", "none"], p = () => [c, l, d], A = () => [Z, "full", "auto", ...p()], ie = () => [D, "none", "subgrid", c, l], le = () => ["auto", {
|
|
693
|
+
span: ["full", D, c, l]
|
|
694
|
+
}, D, c, l], $ = () => [D, "auto", c, l], ee = () => ["auto", "min", "max", "fr", c, l], re = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], z = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], P = () => ["auto", ...p()], O = () => [Z, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...p()], m = () => [e, c, l], te = () => [...F(), Te, Ae, {
|
|
695
695
|
position: [c, l]
|
|
696
|
-
}],
|
|
696
|
+
}], oe = () => ["no-repeat", {
|
|
697
697
|
repeat: ["", "x", "y", "space", "round"]
|
|
698
698
|
}], n = () => ["auto", "cover", "contain", Lr, Mr, {
|
|
699
699
|
size: [c, l]
|
|
700
|
-
}], b = () => [
|
|
700
|
+
}], b = () => [be, ae, q], h = () => [
|
|
701
701
|
// Deprecated since Tailwind CSS v4.0.0
|
|
702
702
|
"",
|
|
703
703
|
"none",
|
|
@@ -705,35 +705,35 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
705
705
|
f,
|
|
706
706
|
c,
|
|
707
707
|
l
|
|
708
|
-
], x = () => ["", g,
|
|
708
|
+
], x = () => ["", g, ae, q], M = () => ["solid", "dashed", "dotted", "double"], X = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], v = () => [g, be, Te, Ae], V = () => [
|
|
709
709
|
// Deprecated since Tailwind CSS v4.0.0
|
|
710
710
|
"",
|
|
711
711
|
"none",
|
|
712
712
|
T,
|
|
713
713
|
c,
|
|
714
714
|
l
|
|
715
|
-
],
|
|
715
|
+
], Y = () => ["none", g, c, l], H = () => ["none", g, c, l], pe = () => [g, c, l], ce = () => [Z, "full", ...p()];
|
|
716
716
|
return {
|
|
717
717
|
cacheSize: 500,
|
|
718
718
|
theme: {
|
|
719
719
|
animate: ["spin", "ping", "pulse", "bounce"],
|
|
720
720
|
aspect: ["video"],
|
|
721
|
-
blur: [
|
|
722
|
-
breakpoint: [
|
|
723
|
-
color: [
|
|
724
|
-
container: [
|
|
725
|
-
"drop-shadow": [
|
|
721
|
+
blur: [G],
|
|
722
|
+
breakpoint: [G],
|
|
723
|
+
color: [jr],
|
|
724
|
+
container: [G],
|
|
725
|
+
"drop-shadow": [G],
|
|
726
726
|
ease: ["in", "out", "in-out"],
|
|
727
727
|
font: [Ir],
|
|
728
728
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
729
|
-
"inset-shadow": [
|
|
729
|
+
"inset-shadow": [G],
|
|
730
730
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
731
731
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
732
|
-
radius: [
|
|
733
|
-
shadow: [
|
|
732
|
+
radius: [G],
|
|
733
|
+
shadow: [G],
|
|
734
734
|
spacing: ["px", g],
|
|
735
|
-
text: [
|
|
736
|
-
"text-shadow": [
|
|
735
|
+
text: [G],
|
|
736
|
+
"text-shadow": [G],
|
|
737
737
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
738
738
|
},
|
|
739
739
|
classGroups: {
|
|
@@ -745,7 +745,7 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
745
745
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
746
746
|
*/
|
|
747
747
|
aspect: [{
|
|
748
|
-
aspect: ["auto", "square",
|
|
748
|
+
aspect: ["auto", "square", Z, l, c, w]
|
|
749
749
|
}],
|
|
750
750
|
/**
|
|
751
751
|
* Container
|
|
@@ -765,14 +765,14 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
765
765
|
* @see https://tailwindcss.com/docs/break-after
|
|
766
766
|
*/
|
|
767
767
|
"break-after": [{
|
|
768
|
-
"break-after":
|
|
768
|
+
"break-after": U()
|
|
769
769
|
}],
|
|
770
770
|
/**
|
|
771
771
|
* Break Before
|
|
772
772
|
* @see https://tailwindcss.com/docs/break-before
|
|
773
773
|
*/
|
|
774
774
|
"break-before": [{
|
|
775
|
-
"break-before":
|
|
775
|
+
"break-before": U()
|
|
776
776
|
}],
|
|
777
777
|
/**
|
|
778
778
|
* Break Inside
|
|
@@ -836,49 +836,49 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
836
836
|
* @see https://tailwindcss.com/docs/object-position
|
|
837
837
|
*/
|
|
838
838
|
"object-position": [{
|
|
839
|
-
object:
|
|
839
|
+
object: W()
|
|
840
840
|
}],
|
|
841
841
|
/**
|
|
842
842
|
* Overflow
|
|
843
843
|
* @see https://tailwindcss.com/docs/overflow
|
|
844
844
|
*/
|
|
845
845
|
overflow: [{
|
|
846
|
-
overflow:
|
|
846
|
+
overflow: I()
|
|
847
847
|
}],
|
|
848
848
|
/**
|
|
849
849
|
* Overflow X
|
|
850
850
|
* @see https://tailwindcss.com/docs/overflow
|
|
851
851
|
*/
|
|
852
852
|
"overflow-x": [{
|
|
853
|
-
"overflow-x":
|
|
853
|
+
"overflow-x": I()
|
|
854
854
|
}],
|
|
855
855
|
/**
|
|
856
856
|
* Overflow Y
|
|
857
857
|
* @see https://tailwindcss.com/docs/overflow
|
|
858
858
|
*/
|
|
859
859
|
"overflow-y": [{
|
|
860
|
-
"overflow-y":
|
|
860
|
+
"overflow-y": I()
|
|
861
861
|
}],
|
|
862
862
|
/**
|
|
863
863
|
* Overscroll Behavior
|
|
864
864
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
865
865
|
*/
|
|
866
866
|
overscroll: [{
|
|
867
|
-
overscroll:
|
|
867
|
+
overscroll: B()
|
|
868
868
|
}],
|
|
869
869
|
/**
|
|
870
870
|
* Overscroll Behavior X
|
|
871
871
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
872
872
|
*/
|
|
873
873
|
"overscroll-x": [{
|
|
874
|
-
"overscroll-x":
|
|
874
|
+
"overscroll-x": B()
|
|
875
875
|
}],
|
|
876
876
|
/**
|
|
877
877
|
* Overscroll Behavior Y
|
|
878
878
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
879
879
|
*/
|
|
880
880
|
"overscroll-y": [{
|
|
881
|
-
"overscroll-y":
|
|
881
|
+
"overscroll-y": B()
|
|
882
882
|
}],
|
|
883
883
|
/**
|
|
884
884
|
* Position
|
|
@@ -958,7 +958,7 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
958
958
|
* @see https://tailwindcss.com/docs/z-index
|
|
959
959
|
*/
|
|
960
960
|
z: [{
|
|
961
|
-
z: [
|
|
961
|
+
z: [D, "auto", c, l]
|
|
962
962
|
}],
|
|
963
963
|
// ------------------------
|
|
964
964
|
// --- Flexbox and Grid ---
|
|
@@ -968,7 +968,7 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
968
968
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
969
969
|
*/
|
|
970
970
|
basis: [{
|
|
971
|
-
basis: [
|
|
971
|
+
basis: [Z, "full", "auto", u, ...p()]
|
|
972
972
|
}],
|
|
973
973
|
/**
|
|
974
974
|
* Flex Direction
|
|
@@ -989,7 +989,7 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
989
989
|
* @see https://tailwindcss.com/docs/flex
|
|
990
990
|
*/
|
|
991
991
|
flex: [{
|
|
992
|
-
flex: [g,
|
|
992
|
+
flex: [g, Z, "auto", "initial", "none", l]
|
|
993
993
|
}],
|
|
994
994
|
/**
|
|
995
995
|
* Flex Grow
|
|
@@ -1010,63 +1010,63 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
1010
1010
|
* @see https://tailwindcss.com/docs/order
|
|
1011
1011
|
*/
|
|
1012
1012
|
order: [{
|
|
1013
|
-
order: [
|
|
1013
|
+
order: [D, "first", "last", "none", c, l]
|
|
1014
1014
|
}],
|
|
1015
1015
|
/**
|
|
1016
1016
|
* Grid Template Columns
|
|
1017
1017
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
1018
1018
|
*/
|
|
1019
1019
|
"grid-cols": [{
|
|
1020
|
-
"grid-cols":
|
|
1020
|
+
"grid-cols": ie()
|
|
1021
1021
|
}],
|
|
1022
1022
|
/**
|
|
1023
1023
|
* Grid Column Start / End
|
|
1024
1024
|
* @see https://tailwindcss.com/docs/grid-column
|
|
1025
1025
|
*/
|
|
1026
1026
|
"col-start-end": [{
|
|
1027
|
-
col:
|
|
1027
|
+
col: le()
|
|
1028
1028
|
}],
|
|
1029
1029
|
/**
|
|
1030
1030
|
* Grid Column Start
|
|
1031
1031
|
* @see https://tailwindcss.com/docs/grid-column
|
|
1032
1032
|
*/
|
|
1033
1033
|
"col-start": [{
|
|
1034
|
-
"col-start":
|
|
1034
|
+
"col-start": $()
|
|
1035
1035
|
}],
|
|
1036
1036
|
/**
|
|
1037
1037
|
* Grid Column End
|
|
1038
1038
|
* @see https://tailwindcss.com/docs/grid-column
|
|
1039
1039
|
*/
|
|
1040
1040
|
"col-end": [{
|
|
1041
|
-
"col-end":
|
|
1041
|
+
"col-end": $()
|
|
1042
1042
|
}],
|
|
1043
1043
|
/**
|
|
1044
1044
|
* Grid Template Rows
|
|
1045
1045
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
1046
1046
|
*/
|
|
1047
1047
|
"grid-rows": [{
|
|
1048
|
-
"grid-rows":
|
|
1048
|
+
"grid-rows": ie()
|
|
1049
1049
|
}],
|
|
1050
1050
|
/**
|
|
1051
1051
|
* Grid Row Start / End
|
|
1052
1052
|
* @see https://tailwindcss.com/docs/grid-row
|
|
1053
1053
|
*/
|
|
1054
1054
|
"row-start-end": [{
|
|
1055
|
-
row:
|
|
1055
|
+
row: le()
|
|
1056
1056
|
}],
|
|
1057
1057
|
/**
|
|
1058
1058
|
* Grid Row Start
|
|
1059
1059
|
* @see https://tailwindcss.com/docs/grid-row
|
|
1060
1060
|
*/
|
|
1061
1061
|
"row-start": [{
|
|
1062
|
-
"row-start":
|
|
1062
|
+
"row-start": $()
|
|
1063
1063
|
}],
|
|
1064
1064
|
/**
|
|
1065
1065
|
* Grid Row End
|
|
1066
1066
|
* @see https://tailwindcss.com/docs/grid-row
|
|
1067
1067
|
*/
|
|
1068
1068
|
"row-end": [{
|
|
1069
|
-
"row-end":
|
|
1069
|
+
"row-end": $()
|
|
1070
1070
|
}],
|
|
1071
1071
|
/**
|
|
1072
1072
|
* Grid Auto Flow
|
|
@@ -1080,14 +1080,14 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
1080
1080
|
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
1081
1081
|
*/
|
|
1082
1082
|
"auto-cols": [{
|
|
1083
|
-
"auto-cols":
|
|
1083
|
+
"auto-cols": ee()
|
|
1084
1084
|
}],
|
|
1085
1085
|
/**
|
|
1086
1086
|
* Grid Auto Rows
|
|
1087
1087
|
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
1088
1088
|
*/
|
|
1089
1089
|
"auto-rows": [{
|
|
1090
|
-
"auto-rows":
|
|
1090
|
+
"auto-rows": ee()
|
|
1091
1091
|
}],
|
|
1092
1092
|
/**
|
|
1093
1093
|
* Gap
|
|
@@ -1115,7 +1115,7 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
1115
1115
|
* @see https://tailwindcss.com/docs/justify-content
|
|
1116
1116
|
*/
|
|
1117
1117
|
"justify-content": [{
|
|
1118
|
-
justify: [...
|
|
1118
|
+
justify: [...re(), "normal"]
|
|
1119
1119
|
}],
|
|
1120
1120
|
/**
|
|
1121
1121
|
* Justify Items
|
|
@@ -1136,7 +1136,7 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
1136
1136
|
* @see https://tailwindcss.com/docs/align-content
|
|
1137
1137
|
*/
|
|
1138
1138
|
"align-content": [{
|
|
1139
|
-
content: ["normal", ...
|
|
1139
|
+
content: ["normal", ...re()]
|
|
1140
1140
|
}],
|
|
1141
1141
|
/**
|
|
1142
1142
|
* Align Items
|
|
@@ -1161,7 +1161,7 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
1161
1161
|
* @see https://tailwindcss.com/docs/place-content
|
|
1162
1162
|
*/
|
|
1163
1163
|
"place-content": [{
|
|
1164
|
-
"place-content":
|
|
1164
|
+
"place-content": re()
|
|
1165
1165
|
}],
|
|
1166
1166
|
/**
|
|
1167
1167
|
* Place Items
|
|
@@ -1405,7 +1405,7 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
1405
1405
|
* @see https://tailwindcss.com/docs/font-size
|
|
1406
1406
|
*/
|
|
1407
1407
|
"font-size": [{
|
|
1408
|
-
text: ["base",
|
|
1408
|
+
text: ["base", t, ae, q]
|
|
1409
1409
|
}],
|
|
1410
1410
|
/**
|
|
1411
1411
|
* Font Smoothing
|
|
@@ -1422,21 +1422,21 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
1422
1422
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1423
1423
|
*/
|
|
1424
1424
|
"font-weight": [{
|
|
1425
|
-
font: [o, c,
|
|
1425
|
+
font: [o, c, ge]
|
|
1426
1426
|
}],
|
|
1427
1427
|
/**
|
|
1428
1428
|
* Font Stretch
|
|
1429
1429
|
* @see https://tailwindcss.com/docs/font-stretch
|
|
1430
1430
|
*/
|
|
1431
1431
|
"font-stretch": [{
|
|
1432
|
-
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded",
|
|
1432
|
+
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", be, l]
|
|
1433
1433
|
}],
|
|
1434
1434
|
/**
|
|
1435
1435
|
* Font Family
|
|
1436
1436
|
* @see https://tailwindcss.com/docs/font-family
|
|
1437
1437
|
*/
|
|
1438
1438
|
"font-family": [{
|
|
1439
|
-
font: [Gr, l,
|
|
1439
|
+
font: [Gr, l, r]
|
|
1440
1440
|
}],
|
|
1441
1441
|
/**
|
|
1442
1442
|
* Font Variant Numeric
|
|
@@ -1480,7 +1480,7 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
1480
1480
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1481
1481
|
*/
|
|
1482
1482
|
"line-clamp": [{
|
|
1483
|
-
"line-clamp": [g, "none", c,
|
|
1483
|
+
"line-clamp": [g, "none", c, ge]
|
|
1484
1484
|
}],
|
|
1485
1485
|
/**
|
|
1486
1486
|
* Line Height
|
|
@@ -1546,14 +1546,14 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
1546
1546
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1547
1547
|
*/
|
|
1548
1548
|
"text-decoration-style": [{
|
|
1549
|
-
decoration: [...
|
|
1549
|
+
decoration: [...M(), "wavy"]
|
|
1550
1550
|
}],
|
|
1551
1551
|
/**
|
|
1552
1552
|
* Text Decoration Thickness
|
|
1553
1553
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1554
1554
|
*/
|
|
1555
1555
|
"text-decoration-thickness": [{
|
|
1556
|
-
decoration: [g, "from-font", "auto", c,
|
|
1556
|
+
decoration: [g, "from-font", "auto", c, q]
|
|
1557
1557
|
}],
|
|
1558
1558
|
/**
|
|
1559
1559
|
* Text Decoration Color
|
|
@@ -1664,14 +1664,14 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
1664
1664
|
* @see https://tailwindcss.com/docs/background-position
|
|
1665
1665
|
*/
|
|
1666
1666
|
"bg-position": [{
|
|
1667
|
-
bg:
|
|
1667
|
+
bg: te()
|
|
1668
1668
|
}],
|
|
1669
1669
|
/**
|
|
1670
1670
|
* Background Repeat
|
|
1671
1671
|
* @see https://tailwindcss.com/docs/background-repeat
|
|
1672
1672
|
*/
|
|
1673
1673
|
"bg-repeat": [{
|
|
1674
|
-
bg:
|
|
1674
|
+
bg: oe()
|
|
1675
1675
|
}],
|
|
1676
1676
|
/**
|
|
1677
1677
|
* Background Size
|
|
@@ -1688,9 +1688,9 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
1688
1688
|
bg: ["none", {
|
|
1689
1689
|
linear: [{
|
|
1690
1690
|
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1691
|
-
},
|
|
1691
|
+
}, D, c, l],
|
|
1692
1692
|
radial: ["", c, l],
|
|
1693
|
-
conic: [
|
|
1693
|
+
conic: [D, c, l]
|
|
1694
1694
|
}, Fr, Vr]
|
|
1695
1695
|
}],
|
|
1696
1696
|
/**
|
|
@@ -1942,14 +1942,14 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
1942
1942
|
* @see https://tailwindcss.com/docs/border-style
|
|
1943
1943
|
*/
|
|
1944
1944
|
"border-style": [{
|
|
1945
|
-
border: [...
|
|
1945
|
+
border: [...M(), "hidden", "none"]
|
|
1946
1946
|
}],
|
|
1947
1947
|
/**
|
|
1948
1948
|
* Divide Style
|
|
1949
1949
|
* @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
|
|
1950
1950
|
*/
|
|
1951
1951
|
"divide-style": [{
|
|
1952
|
-
divide: [...
|
|
1952
|
+
divide: [...M(), "hidden", "none"]
|
|
1953
1953
|
}],
|
|
1954
1954
|
/**
|
|
1955
1955
|
* Border Color
|
|
@@ -2026,7 +2026,7 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
2026
2026
|
* @see https://tailwindcss.com/docs/outline-style
|
|
2027
2027
|
*/
|
|
2028
2028
|
"outline-style": [{
|
|
2029
|
-
outline: [...
|
|
2029
|
+
outline: [...M(), "none", "hidden"]
|
|
2030
2030
|
}],
|
|
2031
2031
|
/**
|
|
2032
2032
|
* Outline Offset
|
|
@@ -2040,7 +2040,7 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
2040
2040
|
* @see https://tailwindcss.com/docs/outline-width
|
|
2041
2041
|
*/
|
|
2042
2042
|
"outline-w": [{
|
|
2043
|
-
outline: ["", g,
|
|
2043
|
+
outline: ["", g, ae, q]
|
|
2044
2044
|
}],
|
|
2045
2045
|
/**
|
|
2046
2046
|
* Outline Color
|
|
@@ -2062,8 +2062,8 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
2062
2062
|
"",
|
|
2063
2063
|
"none",
|
|
2064
2064
|
y,
|
|
2065
|
-
|
|
2066
|
-
|
|
2065
|
+
me,
|
|
2066
|
+
ue
|
|
2067
2067
|
]
|
|
2068
2068
|
}],
|
|
2069
2069
|
/**
|
|
@@ -2078,7 +2078,7 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
2078
2078
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
2079
2079
|
*/
|
|
2080
2080
|
"inset-shadow": [{
|
|
2081
|
-
"inset-shadow": ["none", k,
|
|
2081
|
+
"inset-shadow": ["none", k, me, ue]
|
|
2082
2082
|
}],
|
|
2083
2083
|
/**
|
|
2084
2084
|
* Inset Box Shadow Color
|
|
@@ -2115,7 +2115,7 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
2115
2115
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
2116
2116
|
*/
|
|
2117
2117
|
"ring-offset-w": [{
|
|
2118
|
-
"ring-offset": [g,
|
|
2118
|
+
"ring-offset": [g, q]
|
|
2119
2119
|
}],
|
|
2120
2120
|
/**
|
|
2121
2121
|
* Ring Offset Color
|
|
@@ -2145,7 +2145,7 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
2145
2145
|
* @see https://tailwindcss.com/docs/text-shadow
|
|
2146
2146
|
*/
|
|
2147
2147
|
"text-shadow": [{
|
|
2148
|
-
"text-shadow": ["none", R,
|
|
2148
|
+
"text-shadow": ["none", R, me, ue]
|
|
2149
2149
|
}],
|
|
2150
2150
|
/**
|
|
2151
2151
|
* Text Shadow Color
|
|
@@ -2166,14 +2166,14 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
2166
2166
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
2167
2167
|
*/
|
|
2168
2168
|
"mix-blend": [{
|
|
2169
|
-
"mix-blend": [...
|
|
2169
|
+
"mix-blend": [...X(), "plus-darker", "plus-lighter"]
|
|
2170
2170
|
}],
|
|
2171
2171
|
/**
|
|
2172
2172
|
* Background Blend Mode
|
|
2173
2173
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
2174
2174
|
*/
|
|
2175
2175
|
"bg-blend": [{
|
|
2176
|
-
"bg-blend":
|
|
2176
|
+
"bg-blend": X()
|
|
2177
2177
|
}],
|
|
2178
2178
|
/**
|
|
2179
2179
|
* Mask Clip
|
|
@@ -2305,7 +2305,7 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
2305
2305
|
}]
|
|
2306
2306
|
}],
|
|
2307
2307
|
"mask-image-radial-pos": [{
|
|
2308
|
-
"mask-radial-at":
|
|
2308
|
+
"mask-radial-at": F()
|
|
2309
2309
|
}],
|
|
2310
2310
|
"mask-image-conic-pos": [{
|
|
2311
2311
|
"mask-conic": [g]
|
|
@@ -2341,14 +2341,14 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
2341
2341
|
* @see https://tailwindcss.com/docs/mask-position
|
|
2342
2342
|
*/
|
|
2343
2343
|
"mask-position": [{
|
|
2344
|
-
mask:
|
|
2344
|
+
mask: te()
|
|
2345
2345
|
}],
|
|
2346
2346
|
/**
|
|
2347
2347
|
* Mask Repeat
|
|
2348
2348
|
* @see https://tailwindcss.com/docs/mask-repeat
|
|
2349
2349
|
*/
|
|
2350
2350
|
"mask-repeat": [{
|
|
2351
|
-
mask:
|
|
2351
|
+
mask: oe()
|
|
2352
2352
|
}],
|
|
2353
2353
|
/**
|
|
2354
2354
|
* Mask Size
|
|
@@ -2392,7 +2392,7 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
2392
2392
|
* @see https://tailwindcss.com/docs/blur
|
|
2393
2393
|
*/
|
|
2394
2394
|
blur: [{
|
|
2395
|
-
blur:
|
|
2395
|
+
blur: V()
|
|
2396
2396
|
}],
|
|
2397
2397
|
/**
|
|
2398
2398
|
* Brightness
|
|
@@ -2417,9 +2417,9 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
2417
2417
|
// Deprecated since Tailwind CSS v4.0.0
|
|
2418
2418
|
"",
|
|
2419
2419
|
"none",
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2420
|
+
_,
|
|
2421
|
+
me,
|
|
2422
|
+
ue
|
|
2423
2423
|
]
|
|
2424
2424
|
}],
|
|
2425
2425
|
/**
|
|
@@ -2482,7 +2482,7 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
2482
2482
|
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
2483
2483
|
*/
|
|
2484
2484
|
"backdrop-blur": [{
|
|
2485
|
-
"backdrop-blur":
|
|
2485
|
+
"backdrop-blur": V()
|
|
2486
2486
|
}],
|
|
2487
2487
|
/**
|
|
2488
2488
|
* Backdrop Brightness
|
|
@@ -2614,7 +2614,7 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
2614
2614
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2615
2615
|
*/
|
|
2616
2616
|
ease: [{
|
|
2617
|
-
ease: ["linear", "initial",
|
|
2617
|
+
ease: ["linear", "initial", N, c, l]
|
|
2618
2618
|
}],
|
|
2619
2619
|
/**
|
|
2620
2620
|
* Transition Delay
|
|
@@ -2628,7 +2628,7 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
2628
2628
|
* @see https://tailwindcss.com/docs/animation
|
|
2629
2629
|
*/
|
|
2630
2630
|
animate: [{
|
|
2631
|
-
animate: ["none",
|
|
2631
|
+
animate: ["none", J, c, l]
|
|
2632
2632
|
}],
|
|
2633
2633
|
// ------------------
|
|
2634
2634
|
// --- Transforms ---
|
|
@@ -2645,70 +2645,70 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
2645
2645
|
* @see https://tailwindcss.com/docs/perspective
|
|
2646
2646
|
*/
|
|
2647
2647
|
perspective: [{
|
|
2648
|
-
perspective: [
|
|
2648
|
+
perspective: [C, c, l]
|
|
2649
2649
|
}],
|
|
2650
2650
|
/**
|
|
2651
2651
|
* Perspective Origin
|
|
2652
2652
|
* @see https://tailwindcss.com/docs/perspective-origin
|
|
2653
2653
|
*/
|
|
2654
2654
|
"perspective-origin": [{
|
|
2655
|
-
"perspective-origin":
|
|
2655
|
+
"perspective-origin": W()
|
|
2656
2656
|
}],
|
|
2657
2657
|
/**
|
|
2658
2658
|
* Rotate
|
|
2659
2659
|
* @see https://tailwindcss.com/docs/rotate
|
|
2660
2660
|
*/
|
|
2661
2661
|
rotate: [{
|
|
2662
|
-
rotate:
|
|
2662
|
+
rotate: Y()
|
|
2663
2663
|
}],
|
|
2664
2664
|
/**
|
|
2665
2665
|
* Rotate X
|
|
2666
2666
|
* @see https://tailwindcss.com/docs/rotate
|
|
2667
2667
|
*/
|
|
2668
2668
|
"rotate-x": [{
|
|
2669
|
-
"rotate-x":
|
|
2669
|
+
"rotate-x": Y()
|
|
2670
2670
|
}],
|
|
2671
2671
|
/**
|
|
2672
2672
|
* Rotate Y
|
|
2673
2673
|
* @see https://tailwindcss.com/docs/rotate
|
|
2674
2674
|
*/
|
|
2675
2675
|
"rotate-y": [{
|
|
2676
|
-
"rotate-y":
|
|
2676
|
+
"rotate-y": Y()
|
|
2677
2677
|
}],
|
|
2678
2678
|
/**
|
|
2679
2679
|
* Rotate Z
|
|
2680
2680
|
* @see https://tailwindcss.com/docs/rotate
|
|
2681
2681
|
*/
|
|
2682
2682
|
"rotate-z": [{
|
|
2683
|
-
"rotate-z":
|
|
2683
|
+
"rotate-z": Y()
|
|
2684
2684
|
}],
|
|
2685
2685
|
/**
|
|
2686
2686
|
* Scale
|
|
2687
2687
|
* @see https://tailwindcss.com/docs/scale
|
|
2688
2688
|
*/
|
|
2689
2689
|
scale: [{
|
|
2690
|
-
scale:
|
|
2690
|
+
scale: H()
|
|
2691
2691
|
}],
|
|
2692
2692
|
/**
|
|
2693
2693
|
* Scale X
|
|
2694
2694
|
* @see https://tailwindcss.com/docs/scale
|
|
2695
2695
|
*/
|
|
2696
2696
|
"scale-x": [{
|
|
2697
|
-
"scale-x":
|
|
2697
|
+
"scale-x": H()
|
|
2698
2698
|
}],
|
|
2699
2699
|
/**
|
|
2700
2700
|
* Scale Y
|
|
2701
2701
|
* @see https://tailwindcss.com/docs/scale
|
|
2702
2702
|
*/
|
|
2703
2703
|
"scale-y": [{
|
|
2704
|
-
"scale-y":
|
|
2704
|
+
"scale-y": H()
|
|
2705
2705
|
}],
|
|
2706
2706
|
/**
|
|
2707
2707
|
* Scale Z
|
|
2708
2708
|
* @see https://tailwindcss.com/docs/scale
|
|
2709
2709
|
*/
|
|
2710
2710
|
"scale-z": [{
|
|
2711
|
-
"scale-z":
|
|
2711
|
+
"scale-z": H()
|
|
2712
2712
|
}],
|
|
2713
2713
|
/**
|
|
2714
2714
|
* Scale 3D
|
|
@@ -2720,21 +2720,21 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
2720
2720
|
* @see https://tailwindcss.com/docs/skew
|
|
2721
2721
|
*/
|
|
2722
2722
|
skew: [{
|
|
2723
|
-
skew:
|
|
2723
|
+
skew: pe()
|
|
2724
2724
|
}],
|
|
2725
2725
|
/**
|
|
2726
2726
|
* Skew X
|
|
2727
2727
|
* @see https://tailwindcss.com/docs/skew
|
|
2728
2728
|
*/
|
|
2729
2729
|
"skew-x": [{
|
|
2730
|
-
"skew-x":
|
|
2730
|
+
"skew-x": pe()
|
|
2731
2731
|
}],
|
|
2732
2732
|
/**
|
|
2733
2733
|
* Skew Y
|
|
2734
2734
|
* @see https://tailwindcss.com/docs/skew
|
|
2735
2735
|
*/
|
|
2736
2736
|
"skew-y": [{
|
|
2737
|
-
"skew-y":
|
|
2737
|
+
"skew-y": pe()
|
|
2738
2738
|
}],
|
|
2739
2739
|
/**
|
|
2740
2740
|
* Transform
|
|
@@ -2748,7 +2748,7 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
2748
2748
|
* @see https://tailwindcss.com/docs/transform-origin
|
|
2749
2749
|
*/
|
|
2750
2750
|
"transform-origin": [{
|
|
2751
|
-
origin:
|
|
2751
|
+
origin: W()
|
|
2752
2752
|
}],
|
|
2753
2753
|
/**
|
|
2754
2754
|
* Transform Style
|
|
@@ -2762,28 +2762,28 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
2762
2762
|
* @see https://tailwindcss.com/docs/translate
|
|
2763
2763
|
*/
|
|
2764
2764
|
translate: [{
|
|
2765
|
-
translate:
|
|
2765
|
+
translate: ce()
|
|
2766
2766
|
}],
|
|
2767
2767
|
/**
|
|
2768
2768
|
* Translate X
|
|
2769
2769
|
* @see https://tailwindcss.com/docs/translate
|
|
2770
2770
|
*/
|
|
2771
2771
|
"translate-x": [{
|
|
2772
|
-
"translate-x":
|
|
2772
|
+
"translate-x": ce()
|
|
2773
2773
|
}],
|
|
2774
2774
|
/**
|
|
2775
2775
|
* Translate Y
|
|
2776
2776
|
* @see https://tailwindcss.com/docs/translate
|
|
2777
2777
|
*/
|
|
2778
2778
|
"translate-y": [{
|
|
2779
|
-
"translate-y":
|
|
2779
|
+
"translate-y": ce()
|
|
2780
2780
|
}],
|
|
2781
2781
|
/**
|
|
2782
2782
|
* Translate Z
|
|
2783
2783
|
* @see https://tailwindcss.com/docs/translate
|
|
2784
2784
|
*/
|
|
2785
2785
|
"translate-z": [{
|
|
2786
|
-
"translate-z":
|
|
2786
|
+
"translate-z": ce()
|
|
2787
2787
|
}],
|
|
2788
2788
|
/**
|
|
2789
2789
|
* Translate None
|
|
@@ -3065,7 +3065,7 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
3065
3065
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
3066
3066
|
*/
|
|
3067
3067
|
"stroke-w": [{
|
|
3068
|
-
stroke: [g,
|
|
3068
|
+
stroke: [g, ae, q, ge]
|
|
3069
3069
|
}],
|
|
3070
3070
|
/**
|
|
3071
3071
|
* Stroke
|
|
@@ -3141,8 +3141,8 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, t
|
|
|
3141
3141
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
3142
3142
|
};
|
|
3143
3143
|
}, Dr = /* @__PURE__ */ Rr(Yr);
|
|
3144
|
-
function
|
|
3145
|
-
return Dr(
|
|
3144
|
+
function L(...e) {
|
|
3145
|
+
return Dr(je(e));
|
|
3146
3146
|
}
|
|
3147
3147
|
const Ur = tr(
|
|
3148
3148
|
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all cursor-pointer disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
|
|
@@ -3171,39 +3171,125 @@ const Ur = tr(
|
|
|
3171
3171
|
);
|
|
3172
3172
|
function qr({
|
|
3173
3173
|
className: e,
|
|
3174
|
-
variant:
|
|
3175
|
-
size:
|
|
3174
|
+
variant: r,
|
|
3175
|
+
size: t,
|
|
3176
3176
|
asChild: o = !1,
|
|
3177
3177
|
...s
|
|
3178
3178
|
}) {
|
|
3179
3179
|
const a = o ? He : "button";
|
|
3180
|
-
return /* @__PURE__ */
|
|
3180
|
+
return /* @__PURE__ */ j.jsx(
|
|
3181
3181
|
a,
|
|
3182
3182
|
{
|
|
3183
3183
|
"data-slot": "button",
|
|
3184
|
-
className:
|
|
3184
|
+
className: L(Ur({ variant: r, size: t, className: e })),
|
|
3185
3185
|
...s
|
|
3186
3186
|
}
|
|
3187
3187
|
);
|
|
3188
3188
|
}
|
|
3189
|
-
function Jr({ className: e, type:
|
|
3190
|
-
return /* @__PURE__ */
|
|
3189
|
+
function Jr({ className: e, type: r, ...t }) {
|
|
3190
|
+
return /* @__PURE__ */ j.jsx(
|
|
3191
3191
|
"input",
|
|
3192
3192
|
{
|
|
3193
|
-
type:
|
|
3193
|
+
type: r,
|
|
3194
3194
|
"data-slot": "input",
|
|
3195
|
-
className:
|
|
3195
|
+
className: L(
|
|
3196
3196
|
"file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
|
|
3197
3197
|
"focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
|
|
3198
3198
|
"aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
|
|
3199
3199
|
e
|
|
3200
3200
|
),
|
|
3201
|
+
...t
|
|
3202
|
+
}
|
|
3203
|
+
);
|
|
3204
|
+
}
|
|
3205
|
+
function Xr({ className: e, ...r }) {
|
|
3206
|
+
return /* @__PURE__ */ j.jsx(
|
|
3207
|
+
"div",
|
|
3208
|
+
{
|
|
3209
|
+
"data-slot": "card",
|
|
3210
|
+
className: L(
|
|
3211
|
+
"bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",
|
|
3212
|
+
e
|
|
3213
|
+
),
|
|
3214
|
+
...r
|
|
3215
|
+
}
|
|
3216
|
+
);
|
|
3217
|
+
}
|
|
3218
|
+
function Hr({ className: e, ...r }) {
|
|
3219
|
+
return /* @__PURE__ */ j.jsx(
|
|
3220
|
+
"div",
|
|
3221
|
+
{
|
|
3222
|
+
"data-slot": "card-header",
|
|
3223
|
+
className: L(
|
|
3224
|
+
"@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-2 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",
|
|
3225
|
+
e
|
|
3226
|
+
),
|
|
3227
|
+
...r
|
|
3228
|
+
}
|
|
3229
|
+
);
|
|
3230
|
+
}
|
|
3231
|
+
function Zr({ className: e, ...r }) {
|
|
3232
|
+
return /* @__PURE__ */ j.jsx(
|
|
3233
|
+
"div",
|
|
3234
|
+
{
|
|
3235
|
+
"data-slot": "card-title",
|
|
3236
|
+
className: L("leading-none font-semibold", e),
|
|
3237
|
+
...r
|
|
3238
|
+
}
|
|
3239
|
+
);
|
|
3240
|
+
}
|
|
3241
|
+
function Qr({ className: e, ...r }) {
|
|
3242
|
+
return /* @__PURE__ */ j.jsx(
|
|
3243
|
+
"div",
|
|
3244
|
+
{
|
|
3245
|
+
"data-slot": "card-description",
|
|
3246
|
+
className: L("text-muted-foreground text-sm", e),
|
|
3247
|
+
...r
|
|
3248
|
+
}
|
|
3249
|
+
);
|
|
3250
|
+
}
|
|
3251
|
+
function Kr({ className: e, ...r }) {
|
|
3252
|
+
return /* @__PURE__ */ j.jsx(
|
|
3253
|
+
"div",
|
|
3254
|
+
{
|
|
3255
|
+
"data-slot": "card-action",
|
|
3256
|
+
className: L(
|
|
3257
|
+
"col-start-2 row-span-2 row-start-1 self-start justify-self-end",
|
|
3258
|
+
e
|
|
3259
|
+
),
|
|
3260
|
+
...r
|
|
3261
|
+
}
|
|
3262
|
+
);
|
|
3263
|
+
}
|
|
3264
|
+
function et({ className: e, ...r }) {
|
|
3265
|
+
return /* @__PURE__ */ j.jsx(
|
|
3266
|
+
"div",
|
|
3267
|
+
{
|
|
3268
|
+
"data-slot": "card-content",
|
|
3269
|
+
className: L("px-6", e),
|
|
3270
|
+
...r
|
|
3271
|
+
}
|
|
3272
|
+
);
|
|
3273
|
+
}
|
|
3274
|
+
function rt({ className: e, ...r }) {
|
|
3275
|
+
return /* @__PURE__ */ j.jsx(
|
|
3276
|
+
"div",
|
|
3277
|
+
{
|
|
3278
|
+
"data-slot": "card-footer",
|
|
3279
|
+
className: L("flex items-center px-6 [.border-t]:pt-6", e),
|
|
3201
3280
|
...r
|
|
3202
3281
|
}
|
|
3203
3282
|
);
|
|
3204
3283
|
}
|
|
3205
3284
|
export {
|
|
3206
3285
|
qr as Button,
|
|
3286
|
+
Xr as Card,
|
|
3287
|
+
Kr as CardAction,
|
|
3288
|
+
et as CardContent,
|
|
3289
|
+
Qr as CardDescription,
|
|
3290
|
+
rt as CardFooter,
|
|
3291
|
+
Hr as CardHeader,
|
|
3292
|
+
Zr as CardTitle,
|
|
3207
3293
|
Jr as Input,
|
|
3208
3294
|
Ur as buttonVariants
|
|
3209
3295
|
};
|