@antoniobenincasa/ui 0.0.1 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +169 -66
- package/dist/index.cjs.js +4 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +17 -1
- package/dist/index.es.js +270 -252
- package/dist/index.es.js.map +1 -1
- package/package.json +3 -3
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as C from "react";
|
|
2
|
-
import
|
|
2
|
+
import De from "react";
|
|
3
3
|
var le = { exports: {} }, te = {};
|
|
4
4
|
/**
|
|
5
5
|
* @license React
|
|
@@ -11,11 +11,11 @@ var le = { exports: {} }, te = {};
|
|
|
11
11
|
* LICENSE file in the root directory of this source tree.
|
|
12
12
|
*/
|
|
13
13
|
var ve;
|
|
14
|
-
function
|
|
14
|
+
function Ue() {
|
|
15
15
|
if (ve) return te;
|
|
16
16
|
ve = 1;
|
|
17
|
-
var e = Symbol.for("react.transitional.element"),
|
|
18
|
-
function r(
|
|
17
|
+
var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.fragment");
|
|
18
|
+
function r(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 = {};
|
|
@@ -24,13 +24,13 @@ function De() {
|
|
|
24
24
|
} else a = s;
|
|
25
25
|
return s = a.ref, {
|
|
26
26
|
$$typeof: e,
|
|
27
|
-
type:
|
|
27
|
+
type: o,
|
|
28
28
|
key: i,
|
|
29
29
|
ref: s !== void 0 ? s : null,
|
|
30
30
|
props: a
|
|
31
31
|
};
|
|
32
32
|
}
|
|
33
|
-
return te.Fragment =
|
|
33
|
+
return te.Fragment = t, te.jsx = r, te.jsxs = r, te;
|
|
34
34
|
}
|
|
35
35
|
var oe = {};
|
|
36
36
|
/**
|
|
@@ -42,9 +42,9 @@ 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
|
|
46
|
-
function
|
|
47
|
-
return
|
|
45
|
+
var xe;
|
|
46
|
+
function Be() {
|
|
47
|
+
return xe || (xe = 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")
|
|
@@ -88,27 +88,27 @@ function Ue() {
|
|
|
88
88
|
}
|
|
89
89
|
return null;
|
|
90
90
|
}
|
|
91
|
-
function
|
|
91
|
+
function t(n) {
|
|
92
92
|
return "" + n;
|
|
93
93
|
}
|
|
94
94
|
function r(n) {
|
|
95
95
|
try {
|
|
96
|
-
|
|
96
|
+
t(n);
|
|
97
97
|
var b = !1;
|
|
98
98
|
} catch {
|
|
99
99
|
b = !0;
|
|
100
100
|
}
|
|
101
101
|
if (b) {
|
|
102
102
|
b = console;
|
|
103
|
-
var h = b.error,
|
|
103
|
+
var h = b.error, x = typeof Symbol == "function" && Symbol.toStringTag && n[Symbol.toStringTag] || n.constructor.name || "Object";
|
|
104
104
|
return h.call(
|
|
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
|
-
|
|
108
|
-
),
|
|
107
|
+
x
|
|
108
|
+
), t(n);
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
|
-
function
|
|
111
|
+
function o(n) {
|
|
112
112
|
if (n === w) return "<>";
|
|
113
113
|
if (typeof n == "object" && n !== null && n.$$typeof === A)
|
|
114
114
|
return "<...>";
|
|
@@ -151,14 +151,14 @@ function Ue() {
|
|
|
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,
|
|
154
|
+
function f(n, b, h, x, I, q) {
|
|
155
155
|
var v = h.ref;
|
|
156
156
|
return n = {
|
|
157
157
|
$$typeof: T,
|
|
158
158
|
type: n,
|
|
159
159
|
key: b,
|
|
160
160
|
props: h,
|
|
161
|
-
_owner:
|
|
161
|
+
_owner: x
|
|
162
162
|
}, (v !== void 0 ? v : null) !== null ? Object.defineProperty(n, "ref", {
|
|
163
163
|
enumerable: !1,
|
|
164
164
|
get: d
|
|
@@ -184,13 +184,13 @@ function Ue() {
|
|
|
184
184
|
value: q
|
|
185
185
|
}), Object.freeze && (Object.freeze(n.props), Object.freeze(n)), n;
|
|
186
186
|
}
|
|
187
|
-
function
|
|
187
|
+
function y(n, b, h, x, I, q) {
|
|
188
188
|
var v = b.children;
|
|
189
189
|
if (v !== void 0)
|
|
190
|
-
if (
|
|
190
|
+
if (x)
|
|
191
191
|
if (K(v)) {
|
|
192
|
-
for (
|
|
193
|
-
k(v[
|
|
192
|
+
for (x = 0; x < v.length; x++)
|
|
193
|
+
k(v[x]);
|
|
194
194
|
Object.freeze && Object.freeze(v);
|
|
195
195
|
} else
|
|
196
196
|
console.error(
|
|
@@ -202,18 +202,18 @@ function Ue() {
|
|
|
202
202
|
var M = Object.keys(b).filter(function(J) {
|
|
203
203
|
return J !== "key";
|
|
204
204
|
});
|
|
205
|
-
|
|
205
|
+
x = 0 < M.length ? "{key: someKey, " + M.join(": ..., ") + ": ...}" : "{key: someKey}", re[v + x] || (M = 0 < M.length ? "{" + M.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} />
|
|
209
209
|
React keys must be passed directly to JSX without using spread:
|
|
210
210
|
let props = %s;
|
|
211
211
|
<%s key={someKey} {...props} />`,
|
|
212
|
-
|
|
212
|
+
x,
|
|
213
213
|
v,
|
|
214
214
|
M,
|
|
215
215
|
v
|
|
216
|
-
), re[v +
|
|
216
|
+
), re[v + x] = !0);
|
|
217
217
|
}
|
|
218
218
|
if (v = null, h !== void 0 && (r(h), v = "" + h), i(b) && (r(b.key), v = "" + b.key), "key" in b) {
|
|
219
219
|
h = {};
|
|
@@ -238,7 +238,7 @@ 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 S =
|
|
241
|
+
var S = De, T = Symbol.for("react.transitional.element"), _ = Symbol.for("react.portal"), w = Symbol.for("react.fragment"), j = Symbol.for("react.strict_mode"), B = Symbol.for("react.profiler"), Y = Symbol.for("react.consumer"), G = Symbol.for("react.context"), L = Symbol.for("react.forward_ref"), N = Symbol.for("react.suspense"), D = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), A = Symbol.for("react.lazy"), se = Symbol.for("react.activity"), ae = Symbol.for("react.client.reference"), F = S.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, Q = Object.prototype.hasOwnProperty, K = Array.isArray, z = console.createTask ? console.createTask : function() {
|
|
242
242
|
return null;
|
|
243
243
|
};
|
|
244
244
|
S = {
|
|
@@ -249,126 +249,126 @@ React keys must be passed directly to JSX without using spread:
|
|
|
249
249
|
var P, O = {}, m = S.react_stack_bottom_frame.bind(
|
|
250
250
|
S,
|
|
251
251
|
a
|
|
252
|
-
)(), ee = z(
|
|
252
|
+
)(), ee = z(o(a)), re = {};
|
|
253
253
|
oe.Fragment = w, oe.jsx = function(n, b, h) {
|
|
254
|
-
var
|
|
255
|
-
return
|
|
254
|
+
var x = 1e4 > F.recentlyCreatedOwnerStacks++;
|
|
255
|
+
return y(
|
|
256
256
|
n,
|
|
257
257
|
b,
|
|
258
258
|
h,
|
|
259
259
|
!1,
|
|
260
|
-
|
|
261
|
-
|
|
260
|
+
x ? Error("react-stack-top-frame") : m,
|
|
261
|
+
x ? z(o(n)) : ee
|
|
262
262
|
);
|
|
263
263
|
}, oe.jsxs = function(n, b, h) {
|
|
264
|
-
var
|
|
265
|
-
return
|
|
264
|
+
var x = 1e4 > F.recentlyCreatedOwnerStacks++;
|
|
265
|
+
return y(
|
|
266
266
|
n,
|
|
267
267
|
b,
|
|
268
268
|
h,
|
|
269
269
|
!0,
|
|
270
|
-
|
|
271
|
-
|
|
270
|
+
x ? Error("react-stack-top-frame") : m,
|
|
271
|
+
x ? z(o(n)) : ee
|
|
272
272
|
);
|
|
273
273
|
};
|
|
274
274
|
}()), oe;
|
|
275
275
|
}
|
|
276
|
-
var
|
|
277
|
-
function
|
|
278
|
-
return
|
|
276
|
+
var ye;
|
|
277
|
+
function qe() {
|
|
278
|
+
return ye || (ye = 1, process.env.NODE_ENV === "production" ? le.exports = Ue() : le.exports = Be()), le.exports;
|
|
279
279
|
}
|
|
280
|
-
var
|
|
281
|
-
function ke(e,
|
|
280
|
+
var ue = qe();
|
|
281
|
+
function ke(e, t) {
|
|
282
282
|
if (typeof e == "function")
|
|
283
|
-
return e(
|
|
284
|
-
e != null && (e.current =
|
|
283
|
+
return e(t);
|
|
284
|
+
e != null && (e.current = t);
|
|
285
285
|
}
|
|
286
|
-
function
|
|
287
|
-
return (
|
|
286
|
+
function Je(...e) {
|
|
287
|
+
return (t) => {
|
|
288
288
|
let r = !1;
|
|
289
|
-
const
|
|
290
|
-
const a = ke(s,
|
|
289
|
+
const o = e.map((s) => {
|
|
290
|
+
const a = ke(s, t);
|
|
291
291
|
return !r && typeof a == "function" && (r = !0), a;
|
|
292
292
|
});
|
|
293
293
|
if (r)
|
|
294
294
|
return () => {
|
|
295
|
-
for (let s = 0; s <
|
|
296
|
-
const a =
|
|
295
|
+
for (let s = 0; s < o.length; s++) {
|
|
296
|
+
const a = o[s];
|
|
297
297
|
typeof a == "function" ? a() : ke(e[s], null);
|
|
298
298
|
}
|
|
299
299
|
};
|
|
300
300
|
};
|
|
301
301
|
}
|
|
302
302
|
// @__NO_SIDE_EFFECTS__
|
|
303
|
-
function
|
|
304
|
-
const
|
|
305
|
-
const { children: a, ...i } =
|
|
303
|
+
function Xe(e) {
|
|
304
|
+
const t = /* @__PURE__ */ Ze(e), r = C.forwardRef((o, s) => {
|
|
305
|
+
const { children: a, ...i } = o, u = C.Children.toArray(a), d = u.find(Ke);
|
|
306
306
|
if (d) {
|
|
307
|
-
const f = d.props.children,
|
|
308
|
-
return /* @__PURE__ */
|
|
307
|
+
const f = d.props.children, y = u.map((k) => k === d ? C.Children.count(f) > 1 ? C.Children.only(null) : C.isValidElement(f) ? f.props.children : null : k);
|
|
308
|
+
return /* @__PURE__ */ ue.jsx(t, { ...i, ref: s, children: C.isValidElement(f) ? C.cloneElement(f, void 0, y) : null });
|
|
309
309
|
}
|
|
310
|
-
return /* @__PURE__ */
|
|
310
|
+
return /* @__PURE__ */ ue.jsx(t, { ...i, ref: s, children: a });
|
|
311
311
|
});
|
|
312
312
|
return r.displayName = `${e}.Slot`, r;
|
|
313
313
|
}
|
|
314
|
-
var
|
|
314
|
+
var He = /* @__PURE__ */ Xe("Slot");
|
|
315
315
|
// @__NO_SIDE_EFFECTS__
|
|
316
|
-
function
|
|
317
|
-
const
|
|
316
|
+
function Ze(e) {
|
|
317
|
+
const t = C.forwardRef((r, o) => {
|
|
318
318
|
const { children: s, ...a } = r;
|
|
319
319
|
if (C.isValidElement(s)) {
|
|
320
|
-
const i =
|
|
321
|
-
return s.type !== C.Fragment && (u.ref =
|
|
320
|
+
const i = rr(s), u = er(a, s.props);
|
|
321
|
+
return s.type !== C.Fragment && (u.ref = o ? Je(o, i) : i), C.cloneElement(s, u);
|
|
322
322
|
}
|
|
323
323
|
return C.Children.count(s) > 1 ? C.Children.only(null) : null;
|
|
324
324
|
});
|
|
325
|
-
return
|
|
325
|
+
return t.displayName = `${e}.SlotClone`, t;
|
|
326
326
|
}
|
|
327
|
-
var
|
|
328
|
-
function
|
|
329
|
-
return C.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId ===
|
|
327
|
+
var Qe = Symbol("radix.slottable");
|
|
328
|
+
function Ke(e) {
|
|
329
|
+
return C.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === Qe;
|
|
330
330
|
}
|
|
331
|
-
function
|
|
332
|
-
const r = { ...
|
|
333
|
-
for (const
|
|
334
|
-
const s = e[
|
|
335
|
-
/^on[A-Z]/.test(
|
|
331
|
+
function er(e, t) {
|
|
332
|
+
const r = { ...t };
|
|
333
|
+
for (const o in t) {
|
|
334
|
+
const s = e[o], a = t[o];
|
|
335
|
+
/^on[A-Z]/.test(o) ? s && a ? r[o] = (...u) => {
|
|
336
336
|
const d = a(...u);
|
|
337
337
|
return s(...u), d;
|
|
338
|
-
} : s && (r[
|
|
338
|
+
} : s && (r[o] = s) : o === "style" ? r[o] = { ...s, ...a } : o === "className" && (r[o] = [s, a].filter(Boolean).join(" "));
|
|
339
339
|
}
|
|
340
340
|
return { ...e, ...r };
|
|
341
341
|
}
|
|
342
|
-
function
|
|
343
|
-
let
|
|
344
|
-
return r ? e.ref : (
|
|
342
|
+
function rr(e) {
|
|
343
|
+
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning;
|
|
344
|
+
return r ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);
|
|
345
345
|
}
|
|
346
346
|
function Te(e) {
|
|
347
|
-
var
|
|
348
|
-
if (typeof e == "string" || typeof e == "number")
|
|
347
|
+
var t, r, o = "";
|
|
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 (r in e) e[r] && (
|
|
353
|
-
return
|
|
351
|
+
for (t = 0; t < s; t++) e[t] && (r = Te(e[t])) && (o && (o += " "), o += r);
|
|
352
|
+
} else for (r in e) e[r] && (o && (o += " "), o += r);
|
|
353
|
+
return o;
|
|
354
354
|
}
|
|
355
355
|
function Pe() {
|
|
356
|
-
for (var e,
|
|
357
|
-
return
|
|
356
|
+
for (var e, t, r = 0, o = "", s = arguments.length; r < s; r++) (e = arguments[r]) && (t = Te(e)) && (o && (o += " "), o += t);
|
|
357
|
+
return o;
|
|
358
358
|
}
|
|
359
|
-
const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe,
|
|
360
|
-
var
|
|
361
|
-
if (
|
|
362
|
-
const { variants: s, defaultVariants: a } =
|
|
363
|
-
const
|
|
364
|
-
if (
|
|
365
|
-
const R = we(
|
|
359
|
+
const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, tr = (e, t) => (r) => {
|
|
360
|
+
var o;
|
|
361
|
+
if (t?.variants == null) return Re(e, r?.class, r?.className);
|
|
362
|
+
const { variants: s, defaultVariants: a } = t, i = Object.keys(s).map((f) => {
|
|
363
|
+
const y = r?.[f], k = a?.[f];
|
|
364
|
+
if (y === null) return null;
|
|
365
|
+
const R = we(y) || we(k);
|
|
366
366
|
return s[f][R];
|
|
367
|
-
}), u = r && Object.entries(r).reduce((f,
|
|
368
|
-
let [k, R] =
|
|
367
|
+
}), u = r && Object.entries(r).reduce((f, y) => {
|
|
368
|
+
let [k, R] = y;
|
|
369
369
|
return R === void 0 || (f[k] = R), f;
|
|
370
|
-
}, {}), d =
|
|
371
|
-
let { class: k, className: R, ...S } =
|
|
370
|
+
}, {}), d = t == null || (o = t.compoundVariants) === null || o === void 0 ? void 0 : o.reduce((f, y) => {
|
|
371
|
+
let { class: k, className: R, ...S } = y;
|
|
372
372
|
return Object.entries(S).every((T) => {
|
|
373
373
|
let [_, w] = T;
|
|
374
374
|
return Array.isArray(w) ? w.includes({
|
|
@@ -385,114 +385,114 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, r
|
|
|
385
385
|
] : f;
|
|
386
386
|
}, []);
|
|
387
387
|
return Re(e, i, d, r?.class, r?.className);
|
|
388
|
-
},
|
|
389
|
-
const r = new Array(e.length +
|
|
390
|
-
for (let
|
|
391
|
-
r[
|
|
392
|
-
for (let
|
|
393
|
-
r[e.length +
|
|
388
|
+
}, or = (e, t) => {
|
|
389
|
+
const r = new Array(e.length + t.length);
|
|
390
|
+
for (let o = 0; o < e.length; o++)
|
|
391
|
+
r[o] = e[o];
|
|
392
|
+
for (let o = 0; o < t.length; o++)
|
|
393
|
+
r[e.length + o] = t[o];
|
|
394
394
|
return r;
|
|
395
|
-
},
|
|
395
|
+
}, nr = (e, t) => ({
|
|
396
396
|
classGroupId: e,
|
|
397
|
-
validator:
|
|
398
|
-
}), ze = (e = /* @__PURE__ */ new Map(),
|
|
397
|
+
validator: t
|
|
398
|
+
}), ze = (e = /* @__PURE__ */ new Map(), t = null, r) => ({
|
|
399
399
|
nextPart: e,
|
|
400
|
-
validators:
|
|
400
|
+
validators: t,
|
|
401
401
|
classGroupId: r
|
|
402
|
-
}),
|
|
403
|
-
const
|
|
402
|
+
}), me = "-", Ee = [], sr = "arbitrary..", ar = (e) => {
|
|
403
|
+
const t = lr(e), {
|
|
404
404
|
conflictingClassGroups: r,
|
|
405
|
-
conflictingClassGroupModifiers:
|
|
405
|
+
conflictingClassGroupModifiers: o
|
|
406
406
|
} = e;
|
|
407
407
|
return {
|
|
408
408
|
getClassGroupId: (i) => {
|
|
409
409
|
if (i.startsWith("[") && i.endsWith("]"))
|
|
410
|
-
return
|
|
411
|
-
const u = i.split(
|
|
412
|
-
return Oe(u, d,
|
|
410
|
+
return ir(i);
|
|
411
|
+
const u = i.split(me), d = u[0] === "" && u.length > 1 ? 1 : 0;
|
|
412
|
+
return Oe(u, d, t);
|
|
413
413
|
},
|
|
414
414
|
getConflictingClassGroupIds: (i, u) => {
|
|
415
415
|
if (u) {
|
|
416
|
-
const d =
|
|
417
|
-
return d ? f ?
|
|
416
|
+
const d = o[i], f = r[i];
|
|
417
|
+
return d ? f ? or(f, d) : d : f || Ee;
|
|
418
418
|
}
|
|
419
419
|
return r[i] || Ee;
|
|
420
420
|
}
|
|
421
421
|
};
|
|
422
|
-
}, Oe = (e,
|
|
423
|
-
if (e.length -
|
|
422
|
+
}, Oe = (e, t, r) => {
|
|
423
|
+
if (e.length - t === 0)
|
|
424
424
|
return r.classGroupId;
|
|
425
|
-
const s = e[
|
|
425
|
+
const s = e[t], a = r.nextPart.get(s);
|
|
426
426
|
if (a) {
|
|
427
|
-
const f = Oe(e,
|
|
427
|
+
const f = Oe(e, t + 1, a);
|
|
428
428
|
if (f) return f;
|
|
429
429
|
}
|
|
430
430
|
const i = r.validators;
|
|
431
431
|
if (i === null)
|
|
432
432
|
return;
|
|
433
|
-
const u =
|
|
433
|
+
const u = t === 0 ? e.join(me) : e.slice(t).join(me), d = i.length;
|
|
434
434
|
for (let f = 0; f < d; f++) {
|
|
435
|
-
const
|
|
436
|
-
if (
|
|
437
|
-
return
|
|
435
|
+
const y = i[f];
|
|
436
|
+
if (y.validator(u))
|
|
437
|
+
return y.classGroupId;
|
|
438
438
|
}
|
|
439
|
-
},
|
|
440
|
-
const
|
|
441
|
-
return
|
|
442
|
-
})(),
|
|
439
|
+
}, ir = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
440
|
+
const t = e.slice(1, -1), r = t.indexOf(":"), o = t.slice(0, r);
|
|
441
|
+
return o ? sr + o : void 0;
|
|
442
|
+
})(), lr = (e) => {
|
|
443
443
|
const {
|
|
444
|
-
theme:
|
|
444
|
+
theme: t,
|
|
445
445
|
classGroups: r
|
|
446
446
|
} = e;
|
|
447
|
-
return
|
|
448
|
-
},
|
|
447
|
+
return cr(r, t);
|
|
448
|
+
}, cr = (e, t) => {
|
|
449
449
|
const r = ze();
|
|
450
|
-
for (const
|
|
451
|
-
const s = e[
|
|
452
|
-
he(s, r,
|
|
450
|
+
for (const o in e) {
|
|
451
|
+
const s = e[o];
|
|
452
|
+
he(s, r, o, t);
|
|
453
453
|
}
|
|
454
454
|
return r;
|
|
455
|
-
}, he = (e,
|
|
455
|
+
}, he = (e, t, r, o) => {
|
|
456
456
|
const s = e.length;
|
|
457
457
|
for (let a = 0; a < s; a++) {
|
|
458
458
|
const i = e[a];
|
|
459
|
-
|
|
459
|
+
dr(i, t, r, o);
|
|
460
460
|
}
|
|
461
|
-
},
|
|
461
|
+
}, dr = (e, t, r, o) => {
|
|
462
462
|
if (typeof e == "string") {
|
|
463
|
-
|
|
463
|
+
ur(e, t, r);
|
|
464
464
|
return;
|
|
465
465
|
}
|
|
466
466
|
if (typeof e == "function") {
|
|
467
|
-
|
|
467
|
+
mr(e, t, r, o);
|
|
468
468
|
return;
|
|
469
469
|
}
|
|
470
|
-
|
|
471
|
-
},
|
|
472
|
-
const
|
|
473
|
-
|
|
474
|
-
},
|
|
475
|
-
if (
|
|
476
|
-
he(e(
|
|
470
|
+
fr(e, t, r, o);
|
|
471
|
+
}, ur = (e, t, r) => {
|
|
472
|
+
const o = e === "" ? t : je(t, e);
|
|
473
|
+
o.classGroupId = r;
|
|
474
|
+
}, mr = (e, t, r, o) => {
|
|
475
|
+
if (pr(e)) {
|
|
476
|
+
he(e(o), t, r, o);
|
|
477
477
|
return;
|
|
478
478
|
}
|
|
479
|
-
|
|
480
|
-
},
|
|
479
|
+
t.validators === null && (t.validators = []), t.validators.push(nr(r, e));
|
|
480
|
+
}, fr = (e, t, r, 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
|
-
he(d, je(
|
|
484
|
+
he(d, je(t, u), r, o);
|
|
485
485
|
}
|
|
486
|
-
}, je = (e,
|
|
486
|
+
}, je = (e, t) => {
|
|
487
487
|
let r = e;
|
|
488
|
-
const
|
|
488
|
+
const o = t.split(me), s = o.length;
|
|
489
489
|
for (let a = 0; a < s; a++) {
|
|
490
|
-
const i =
|
|
490
|
+
const i = o[a];
|
|
491
491
|
let u = r.nextPart.get(i);
|
|
492
492
|
u || (u = ze(), r.nextPart.set(i, u)), r = u;
|
|
493
493
|
}
|
|
494
494
|
return r;
|
|
495
|
-
},
|
|
495
|
+
}, pr = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, br = (e) => {
|
|
496
496
|
if (e < 1)
|
|
497
497
|
return {
|
|
498
498
|
get: () => {
|
|
@@ -500,38 +500,38 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, r
|
|
|
500
500
|
set: () => {
|
|
501
501
|
}
|
|
502
502
|
};
|
|
503
|
-
let
|
|
503
|
+
let t = 0, r = /* @__PURE__ */ Object.create(null), o = /* @__PURE__ */ Object.create(null);
|
|
504
504
|
const s = (a, i) => {
|
|
505
|
-
r[a] = i,
|
|
505
|
+
r[a] = i, t++, t > e && (t = 0, o = r, r = /* @__PURE__ */ Object.create(null));
|
|
506
506
|
};
|
|
507
507
|
return {
|
|
508
508
|
get(a) {
|
|
509
509
|
let i = r[a];
|
|
510
510
|
if (i !== void 0)
|
|
511
511
|
return i;
|
|
512
|
-
if ((i =
|
|
512
|
+
if ((i = o[a]) !== void 0)
|
|
513
513
|
return s(a, i), i;
|
|
514
514
|
},
|
|
515
515
|
set(a, i) {
|
|
516
516
|
a in r ? r[a] = i : s(a, i);
|
|
517
517
|
}
|
|
518
518
|
};
|
|
519
|
-
}, ge = "!", _e = ":",
|
|
519
|
+
}, ge = "!", _e = ":", gr = [], Se = (e, t, r, o, s) => ({
|
|
520
520
|
modifiers: e,
|
|
521
|
-
hasImportantModifier:
|
|
521
|
+
hasImportantModifier: t,
|
|
522
522
|
baseClassName: r,
|
|
523
|
-
maybePostfixModifierPosition:
|
|
523
|
+
maybePostfixModifierPosition: o,
|
|
524
524
|
isExternal: s
|
|
525
|
-
}),
|
|
525
|
+
}), hr = (e) => {
|
|
526
526
|
const {
|
|
527
|
-
prefix:
|
|
527
|
+
prefix: t,
|
|
528
528
|
experimentalParseClassName: r
|
|
529
529
|
} = e;
|
|
530
|
-
let
|
|
530
|
+
let o = (s) => {
|
|
531
531
|
const a = [];
|
|
532
532
|
let i = 0, u = 0, d = 0, f;
|
|
533
|
-
const
|
|
534
|
-
for (let _ = 0; _ <
|
|
533
|
+
const y = s.length;
|
|
534
|
+
for (let _ = 0; _ < y; _++) {
|
|
535
535
|
const w = s[_];
|
|
536
536
|
if (i === 0 && u === 0) {
|
|
537
537
|
if (w === _e) {
|
|
@@ -557,64 +557,64 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, r
|
|
|
557
557
|
const T = f && f > d ? f - d : void 0;
|
|
558
558
|
return Se(a, S, R, T);
|
|
559
559
|
};
|
|
560
|
-
if (
|
|
561
|
-
const s =
|
|
562
|
-
|
|
560
|
+
if (t) {
|
|
561
|
+
const s = t + _e, a = o;
|
|
562
|
+
o = (i) => i.startsWith(s) ? a(i.slice(s.length)) : Se(gr, !1, i, void 0, !0);
|
|
563
563
|
}
|
|
564
564
|
if (r) {
|
|
565
|
-
const s =
|
|
566
|
-
|
|
565
|
+
const s = o;
|
|
566
|
+
o = (a) => r({
|
|
567
567
|
className: a,
|
|
568
568
|
parseClassName: s
|
|
569
569
|
});
|
|
570
570
|
}
|
|
571
|
-
return
|
|
572
|
-
},
|
|
573
|
-
const
|
|
574
|
-
return e.orderSensitiveModifiers.forEach((r,
|
|
575
|
-
|
|
571
|
+
return o;
|
|
572
|
+
}, vr = (e) => {
|
|
573
|
+
const t = /* @__PURE__ */ new Map();
|
|
574
|
+
return e.orderSensitiveModifiers.forEach((r, o) => {
|
|
575
|
+
t.set(r, 1e6 + o);
|
|
576
576
|
}), (r) => {
|
|
577
|
-
const
|
|
577
|
+
const o = [];
|
|
578
578
|
let s = [];
|
|
579
579
|
for (let a = 0; a < r.length; a++) {
|
|
580
|
-
const i = r[a], u = i[0] === "[", d =
|
|
581
|
-
u || d ? (s.length > 0 && (s.sort(),
|
|
580
|
+
const i = r[a], u = i[0] === "[", d = t.has(i);
|
|
581
|
+
u || d ? (s.length > 0 && (s.sort(), o.push(...s), s = []), o.push(i)) : s.push(i);
|
|
582
582
|
}
|
|
583
|
-
return s.length > 0 && (s.sort(),
|
|
583
|
+
return s.length > 0 && (s.sort(), o.push(...s)), o;
|
|
584
584
|
};
|
|
585
|
-
},
|
|
586
|
-
cache:
|
|
587
|
-
parseClassName:
|
|
588
|
-
sortModifiers:
|
|
589
|
-
...
|
|
590
|
-
}), yr = /\s+/,
|
|
585
|
+
}, xr = (e) => ({
|
|
586
|
+
cache: br(e.cacheSize),
|
|
587
|
+
parseClassName: hr(e),
|
|
588
|
+
sortModifiers: vr(e),
|
|
589
|
+
...ar(e)
|
|
590
|
+
}), yr = /\s+/, kr = (e, t) => {
|
|
591
591
|
const {
|
|
592
592
|
parseClassName: r,
|
|
593
|
-
getClassGroupId:
|
|
593
|
+
getClassGroupId: o,
|
|
594
594
|
getConflictingClassGroupIds: s,
|
|
595
595
|
sortModifiers: a
|
|
596
|
-
} =
|
|
596
|
+
} = t, i = [], u = e.trim().split(yr);
|
|
597
597
|
let d = "";
|
|
598
598
|
for (let f = u.length - 1; f >= 0; f -= 1) {
|
|
599
|
-
const
|
|
599
|
+
const y = u[f], {
|
|
600
600
|
isExternal: k,
|
|
601
601
|
modifiers: R,
|
|
602
602
|
hasImportantModifier: S,
|
|
603
603
|
baseClassName: T,
|
|
604
604
|
maybePostfixModifierPosition: _
|
|
605
|
-
} = r(
|
|
605
|
+
} = r(y);
|
|
606
606
|
if (k) {
|
|
607
|
-
d =
|
|
607
|
+
d = y + (d.length > 0 ? " " + d : d);
|
|
608
608
|
continue;
|
|
609
609
|
}
|
|
610
|
-
let w = !!_, j =
|
|
610
|
+
let w = !!_, j = o(w ? T.substring(0, _) : T);
|
|
611
611
|
if (!j) {
|
|
612
612
|
if (!w) {
|
|
613
|
-
d =
|
|
613
|
+
d = y + (d.length > 0 ? " " + d : d);
|
|
614
614
|
continue;
|
|
615
615
|
}
|
|
616
|
-
if (j =
|
|
617
|
-
d =
|
|
616
|
+
if (j = o(T), !j) {
|
|
617
|
+
d = y + (d.length > 0 ? " " + d : d);
|
|
618
618
|
continue;
|
|
619
619
|
}
|
|
620
620
|
w = !1;
|
|
@@ -628,50 +628,50 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, r
|
|
|
628
628
|
const D = L[N];
|
|
629
629
|
i.push(Y + D);
|
|
630
630
|
}
|
|
631
|
-
d =
|
|
631
|
+
d = y + (d.length > 0 ? " " + d : d);
|
|
632
632
|
}
|
|
633
633
|
return d;
|
|
634
|
-
},
|
|
635
|
-
let
|
|
636
|
-
for (;
|
|
637
|
-
(r = e[
|
|
634
|
+
}, wr = (...e) => {
|
|
635
|
+
let t = 0, r, o, s = "";
|
|
636
|
+
for (; t < e.length; )
|
|
637
|
+
(r = e[t++]) && (o = Ne(r)) && (s && (s += " "), s += o);
|
|
638
638
|
return s;
|
|
639
639
|
}, Ne = (e) => {
|
|
640
640
|
if (typeof e == "string")
|
|
641
641
|
return e;
|
|
642
|
-
let
|
|
643
|
-
for (let
|
|
644
|
-
e[
|
|
642
|
+
let t, r = "";
|
|
643
|
+
for (let o = 0; o < e.length; o++)
|
|
644
|
+
e[o] && (t = Ne(e[o])) && (r && (r += " "), r += t);
|
|
645
645
|
return r;
|
|
646
|
-
},
|
|
647
|
-
let r,
|
|
646
|
+
}, Rr = (e, ...t) => {
|
|
647
|
+
let r, o, s, a;
|
|
648
648
|
const i = (d) => {
|
|
649
|
-
const f =
|
|
650
|
-
return r =
|
|
649
|
+
const f = t.reduce((y, k) => k(y), e());
|
|
650
|
+
return r = xr(f), o = r.cache.get, s = r.cache.set, a = u, u(d);
|
|
651
651
|
}, u = (d) => {
|
|
652
|
-
const f =
|
|
652
|
+
const f = o(d);
|
|
653
653
|
if (f)
|
|
654
654
|
return f;
|
|
655
|
-
const
|
|
656
|
-
return s(d,
|
|
655
|
+
const y = kr(d, r);
|
|
656
|
+
return s(d, y), y;
|
|
657
657
|
};
|
|
658
|
-
return a = i, (...d) => a(
|
|
659
|
-
},
|
|
660
|
-
const
|
|
661
|
-
return
|
|
662
|
-
}, Ie = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Me = /^\((?:(\w[\w-]*):)?(.+)\)$/i,
|
|
658
|
+
return a = i, (...d) => a(wr(...d));
|
|
659
|
+
}, Er = [], E = (e) => {
|
|
660
|
+
const t = (r) => r[e] || Er;
|
|
661
|
+
return t.isThemeGetter = !0, t;
|
|
662
|
+
}, Ie = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Me = /^\((?:(\w[\w-]*):)?(.+)\)$/i, _r = /^\d+\/\d+$/, Sr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Cr = /\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)\(.+\)$/, X = (e) => _r.test(e), g = (e) => !!e && !Number.isNaN(Number(e)), $ = (e) => !!e && Number.isInteger(Number(e)), pe = (e) => e.endsWith("%") && g(e.slice(0, -1)), V = (e) => Sr.test(e), zr = () => !0, Or = (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
|
-
), Ve = () => !1,
|
|
668
|
-
const
|
|
669
|
-
return
|
|
670
|
-
}, Z = (e,
|
|
671
|
-
const
|
|
672
|
-
return
|
|
673
|
-
}, Ge = (e) => e === "position" || e === "percentage", Le = (e) => e === "image" || e === "url", Fe = (e) => e === "length" || e === "size" || e === "bg-size", We = (e) => e === "length",
|
|
674
|
-
const e = E("color"),
|
|
666
|
+
Cr.test(e) && !Ar.test(e)
|
|
667
|
+
), Ve = () => !1, jr = (e) => Tr.test(e), Nr = (e) => Pr.test(e), Ir = (e) => !l(e) && !c(e), Mr = (e) => H(e, Fe, Ve), l = (e) => Ie.test(e), U = (e) => H(e, We, Or), be = (e) => H(e, Wr, g), Ce = (e) => H(e, Ge, Ve), Vr = (e) => H(e, Le, Nr), ce = (e) => H(e, $e, jr), c = (e) => Me.test(e), ne = (e) => Z(e, We), Gr = (e) => Z(e, $r), Ae = (e) => Z(e, Ge), Lr = (e) => Z(e, Fe), Fr = (e) => Z(e, Le), de = (e) => Z(e, $e, !0), H = (e, t, r) => {
|
|
668
|
+
const o = Ie.exec(e);
|
|
669
|
+
return o ? o[1] ? t(o[1]) : r(o[2]) : !1;
|
|
670
|
+
}, Z = (e, t, r = !1) => {
|
|
671
|
+
const o = Me.exec(e);
|
|
672
|
+
return o ? o[1] ? t(o[1]) : r : !1;
|
|
673
|
+
}, Ge = (e) => e === "position" || e === "percentage", Le = (e) => e === "image" || e === "url", Fe = (e) => e === "length" || e === "size" || e === "bg-size", We = (e) => e === "length", Wr = (e) => e === "number", $r = (e) => e === "family-name", $e = (e) => e === "shadow", Yr = () => {
|
|
674
|
+
const e = E("color"), t = E("font"), r = 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"), S = E("drop-shadow"), T = E("blur"), _ = E("perspective"), w = E("aspect"), j = E("ease"), B = E("animate"), Y = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], G = () => [
|
|
675
675
|
"center",
|
|
676
676
|
"top",
|
|
677
677
|
"bottom",
|
|
@@ -695,9 +695,9 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, r
|
|
|
695
695
|
position: [c, l]
|
|
696
696
|
}], re = () => ["no-repeat", {
|
|
697
697
|
repeat: ["", "x", "y", "space", "round"]
|
|
698
|
-
}], n = () => ["auto", "cover", "contain",
|
|
698
|
+
}], n = () => ["auto", "cover", "contain", Lr, Mr, {
|
|
699
699
|
size: [c, l]
|
|
700
|
-
}], b = () => [
|
|
700
|
+
}], b = () => [pe, ne, U], h = () => [
|
|
701
701
|
// Deprecated since Tailwind CSS v4.0.0
|
|
702
702
|
"",
|
|
703
703
|
"none",
|
|
@@ -705,14 +705,14 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, r
|
|
|
705
705
|
f,
|
|
706
706
|
c,
|
|
707
707
|
l
|
|
708
|
-
],
|
|
708
|
+
], x = () => ["", g, ne, U], I = () => ["solid", "dashed", "dotted", "double"], q = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], v = () => [g, pe, Ae, Ce], M = () => [
|
|
709
709
|
// Deprecated since Tailwind CSS v4.0.0
|
|
710
710
|
"",
|
|
711
711
|
"none",
|
|
712
712
|
T,
|
|
713
713
|
c,
|
|
714
714
|
l
|
|
715
|
-
], W = () => ["none", g, c, l], J = () => ["none", g, c, l],
|
|
715
|
+
], W = () => ["none", g, c, l], J = () => ["none", g, c, l], fe = () => [g, c, l], ie = () => [X, "full", ...p()];
|
|
716
716
|
return {
|
|
717
717
|
cacheSize: 500,
|
|
718
718
|
theme: {
|
|
@@ -720,11 +720,11 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, r
|
|
|
720
720
|
aspect: ["video"],
|
|
721
721
|
blur: [V],
|
|
722
722
|
breakpoint: [V],
|
|
723
|
-
color: [
|
|
723
|
+
color: [zr],
|
|
724
724
|
container: [V],
|
|
725
725
|
"drop-shadow": [V],
|
|
726
726
|
ease: ["in", "out", "in-out"],
|
|
727
|
-
font: [
|
|
727
|
+
font: [Ir],
|
|
728
728
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
729
729
|
"inset-shadow": [V],
|
|
730
730
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
@@ -1422,21 +1422,21 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, r
|
|
|
1422
1422
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1423
1423
|
*/
|
|
1424
1424
|
"font-weight": [{
|
|
1425
|
-
font: [
|
|
1425
|
+
font: [o, c, be]
|
|
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", pe, 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: [
|
|
1439
|
+
font: [Gr, l, t]
|
|
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, r
|
|
|
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, be]
|
|
1484
1484
|
}],
|
|
1485
1485
|
/**
|
|
1486
1486
|
* Line Height
|
|
@@ -1691,7 +1691,7 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, r
|
|
|
1691
1691
|
}, $, c, l],
|
|
1692
1692
|
radial: ["", c, l],
|
|
1693
1693
|
conic: [$, c, l]
|
|
1694
|
-
},
|
|
1694
|
+
}, Fr, Vr]
|
|
1695
1695
|
}],
|
|
1696
1696
|
/**
|
|
1697
1697
|
* Background Color
|
|
@@ -1855,70 +1855,70 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, r
|
|
|
1855
1855
|
* @see https://tailwindcss.com/docs/border-width
|
|
1856
1856
|
*/
|
|
1857
1857
|
"border-w": [{
|
|
1858
|
-
border:
|
|
1858
|
+
border: x()
|
|
1859
1859
|
}],
|
|
1860
1860
|
/**
|
|
1861
1861
|
* Border Width X
|
|
1862
1862
|
* @see https://tailwindcss.com/docs/border-width
|
|
1863
1863
|
*/
|
|
1864
1864
|
"border-w-x": [{
|
|
1865
|
-
"border-x":
|
|
1865
|
+
"border-x": x()
|
|
1866
1866
|
}],
|
|
1867
1867
|
/**
|
|
1868
1868
|
* Border Width Y
|
|
1869
1869
|
* @see https://tailwindcss.com/docs/border-width
|
|
1870
1870
|
*/
|
|
1871
1871
|
"border-w-y": [{
|
|
1872
|
-
"border-y":
|
|
1872
|
+
"border-y": x()
|
|
1873
1873
|
}],
|
|
1874
1874
|
/**
|
|
1875
1875
|
* Border Width Start
|
|
1876
1876
|
* @see https://tailwindcss.com/docs/border-width
|
|
1877
1877
|
*/
|
|
1878
1878
|
"border-w-s": [{
|
|
1879
|
-
"border-s":
|
|
1879
|
+
"border-s": x()
|
|
1880
1880
|
}],
|
|
1881
1881
|
/**
|
|
1882
1882
|
* Border Width End
|
|
1883
1883
|
* @see https://tailwindcss.com/docs/border-width
|
|
1884
1884
|
*/
|
|
1885
1885
|
"border-w-e": [{
|
|
1886
|
-
"border-e":
|
|
1886
|
+
"border-e": x()
|
|
1887
1887
|
}],
|
|
1888
1888
|
/**
|
|
1889
1889
|
* Border Width Top
|
|
1890
1890
|
* @see https://tailwindcss.com/docs/border-width
|
|
1891
1891
|
*/
|
|
1892
1892
|
"border-w-t": [{
|
|
1893
|
-
"border-t":
|
|
1893
|
+
"border-t": x()
|
|
1894
1894
|
}],
|
|
1895
1895
|
/**
|
|
1896
1896
|
* Border Width Right
|
|
1897
1897
|
* @see https://tailwindcss.com/docs/border-width
|
|
1898
1898
|
*/
|
|
1899
1899
|
"border-w-r": [{
|
|
1900
|
-
"border-r":
|
|
1900
|
+
"border-r": x()
|
|
1901
1901
|
}],
|
|
1902
1902
|
/**
|
|
1903
1903
|
* Border Width Bottom
|
|
1904
1904
|
* @see https://tailwindcss.com/docs/border-width
|
|
1905
1905
|
*/
|
|
1906
1906
|
"border-w-b": [{
|
|
1907
|
-
"border-b":
|
|
1907
|
+
"border-b": x()
|
|
1908
1908
|
}],
|
|
1909
1909
|
/**
|
|
1910
1910
|
* Border Width Left
|
|
1911
1911
|
* @see https://tailwindcss.com/docs/border-width
|
|
1912
1912
|
*/
|
|
1913
1913
|
"border-w-l": [{
|
|
1914
|
-
"border-l":
|
|
1914
|
+
"border-l": x()
|
|
1915
1915
|
}],
|
|
1916
1916
|
/**
|
|
1917
1917
|
* Divide Width X
|
|
1918
1918
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1919
1919
|
*/
|
|
1920
1920
|
"divide-x": [{
|
|
1921
|
-
"divide-x":
|
|
1921
|
+
"divide-x": x()
|
|
1922
1922
|
}],
|
|
1923
1923
|
/**
|
|
1924
1924
|
* Divide Width X Reverse
|
|
@@ -1930,7 +1930,7 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, r
|
|
|
1930
1930
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1931
1931
|
*/
|
|
1932
1932
|
"divide-y": [{
|
|
1933
|
-
"divide-y":
|
|
1933
|
+
"divide-y": x()
|
|
1934
1934
|
}],
|
|
1935
1935
|
/**
|
|
1936
1936
|
* Divide Width Y Reverse
|
|
@@ -2061,7 +2061,7 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, r
|
|
|
2061
2061
|
// Deprecated since Tailwind CSS v4.0.0
|
|
2062
2062
|
"",
|
|
2063
2063
|
"none",
|
|
2064
|
-
|
|
2064
|
+
y,
|
|
2065
2065
|
de,
|
|
2066
2066
|
ce
|
|
2067
2067
|
]
|
|
@@ -2092,7 +2092,7 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, r
|
|
|
2092
2092
|
* @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
|
|
2093
2093
|
*/
|
|
2094
2094
|
"ring-w": [{
|
|
2095
|
-
ring:
|
|
2095
|
+
ring: x()
|
|
2096
2096
|
}],
|
|
2097
2097
|
/**
|
|
2098
2098
|
* Ring Width Inset
|
|
@@ -2131,7 +2131,7 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, r
|
|
|
2131
2131
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
|
|
2132
2132
|
*/
|
|
2133
2133
|
"inset-ring-w": [{
|
|
2134
|
-
"inset-ring":
|
|
2134
|
+
"inset-ring": x()
|
|
2135
2135
|
}],
|
|
2136
2136
|
/**
|
|
2137
2137
|
* Inset Ring Color
|
|
@@ -2720,21 +2720,21 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, r
|
|
|
2720
2720
|
* @see https://tailwindcss.com/docs/skew
|
|
2721
2721
|
*/
|
|
2722
2722
|
skew: [{
|
|
2723
|
-
skew:
|
|
2723
|
+
skew: fe()
|
|
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": fe()
|
|
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": fe()
|
|
2738
2738
|
}],
|
|
2739
2739
|
/**
|
|
2740
2740
|
* Transform
|
|
@@ -3065,7 +3065,7 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, r
|
|
|
3065
3065
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
3066
3066
|
*/
|
|
3067
3067
|
"stroke-w": [{
|
|
3068
|
-
stroke: [g, ne, U,
|
|
3068
|
+
stroke: [g, ne, U, be]
|
|
3069
3069
|
}],
|
|
3070
3070
|
/**
|
|
3071
3071
|
* Stroke
|
|
@@ -3140,11 +3140,11 @@ const we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Re = Pe, r
|
|
|
3140
3140
|
},
|
|
3141
3141
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
3142
3142
|
};
|
|
3143
|
-
},
|
|
3144
|
-
function
|
|
3145
|
-
return
|
|
3143
|
+
}, Dr = /* @__PURE__ */ Rr(Yr);
|
|
3144
|
+
function Ye(...e) {
|
|
3145
|
+
return Dr(Pe(e));
|
|
3146
3146
|
}
|
|
3147
|
-
const Ur =
|
|
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",
|
|
3149
3149
|
{
|
|
3150
3150
|
variants: {
|
|
@@ -3171,22 +3171,40 @@ const Ur = rr(
|
|
|
3171
3171
|
);
|
|
3172
3172
|
function qr({
|
|
3173
3173
|
className: e,
|
|
3174
|
-
variant:
|
|
3174
|
+
variant: t,
|
|
3175
3175
|
size: r,
|
|
3176
|
-
asChild:
|
|
3176
|
+
asChild: o = !1,
|
|
3177
3177
|
...s
|
|
3178
3178
|
}) {
|
|
3179
|
-
const a =
|
|
3180
|
-
return /* @__PURE__ */
|
|
3179
|
+
const a = o ? He : "button";
|
|
3180
|
+
return /* @__PURE__ */ ue.jsx(
|
|
3181
3181
|
a,
|
|
3182
3182
|
{
|
|
3183
3183
|
"data-slot": "button",
|
|
3184
|
-
className:
|
|
3184
|
+
className: Ye(Ur({ variant: t, size: r, className: e })),
|
|
3185
3185
|
...s
|
|
3186
3186
|
}
|
|
3187
3187
|
);
|
|
3188
3188
|
}
|
|
3189
|
+
function Jr({ className: e, type: t, ...r }) {
|
|
3190
|
+
return /* @__PURE__ */ ue.jsx(
|
|
3191
|
+
"input",
|
|
3192
|
+
{
|
|
3193
|
+
type: t,
|
|
3194
|
+
"data-slot": "input",
|
|
3195
|
+
className: Ye(
|
|
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
|
+
"focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
|
|
3198
|
+
"aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
|
|
3199
|
+
e
|
|
3200
|
+
),
|
|
3201
|
+
...r
|
|
3202
|
+
}
|
|
3203
|
+
);
|
|
3204
|
+
}
|
|
3189
3205
|
export {
|
|
3190
|
-
qr as Button
|
|
3206
|
+
qr as Button,
|
|
3207
|
+
Jr as Input,
|
|
3208
|
+
Ur as buttonVariants
|
|
3191
3209
|
};
|
|
3192
3210
|
//# sourceMappingURL=index.es.js.map
|