@datawire-ai/busyfile-design-library 1.5.0 → 1.6.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/README.md +61 -10
- package/dist/index.js +478 -422
- package/dist/index.umd.cjs +14 -14
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as l from "react";
|
|
2
|
-
import
|
|
3
|
-
import * as
|
|
4
|
-
import
|
|
5
|
-
var He = { exports: {} },
|
|
2
|
+
import Er, { useState as kr, forwardRef as Pt, createElement as Xe } from "react";
|
|
3
|
+
import * as Cr from "react-dom";
|
|
4
|
+
import Sr from "react-dom";
|
|
5
|
+
var He = { exports: {} }, be = {};
|
|
6
6
|
/**
|
|
7
7
|
* @license React
|
|
8
8
|
* react-jsx-runtime.production.js
|
|
@@ -13,8 +13,8 @@ var He = { exports: {} }, he = {};
|
|
|
13
13
|
* LICENSE file in the root directory of this source tree.
|
|
14
14
|
*/
|
|
15
15
|
var at;
|
|
16
|
-
function
|
|
17
|
-
if (at) return
|
|
16
|
+
function Rr() {
|
|
17
|
+
if (at) return be;
|
|
18
18
|
at = 1;
|
|
19
19
|
var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.fragment");
|
|
20
20
|
function r(n, o, a) {
|
|
@@ -32,9 +32,9 @@ function Cr() {
|
|
|
32
32
|
props: a
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
|
-
return
|
|
35
|
+
return be.Fragment = t, be.jsx = r, be.jsxs = r, be;
|
|
36
36
|
}
|
|
37
|
-
var
|
|
37
|
+
var he = {};
|
|
38
38
|
/**
|
|
39
39
|
* @license React
|
|
40
40
|
* react-jsx-runtime.development.js
|
|
@@ -45,7 +45,7 @@ var be = {};
|
|
|
45
45
|
* LICENSE file in the root directory of this source tree.
|
|
46
46
|
*/
|
|
47
47
|
var st;
|
|
48
|
-
function
|
|
48
|
+
function Pr() {
|
|
49
49
|
return st || (st = 1, process.env.NODE_ENV !== "production" && function() {
|
|
50
50
|
function e(d) {
|
|
51
51
|
if (d == null) return null;
|
|
@@ -81,7 +81,7 @@ function Sr() {
|
|
|
81
81
|
return d = d.displayName, d || (d = C.displayName || C.name || "", d = d !== "" ? "ForwardRef(" + d + ")" : "ForwardRef"), d;
|
|
82
82
|
case P:
|
|
83
83
|
return C = d.displayName || null, C !== null ? C : e(d.type) || "Memo";
|
|
84
|
-
case
|
|
84
|
+
case h:
|
|
85
85
|
C = d._payload, d = d._init;
|
|
86
86
|
try {
|
|
87
87
|
return e(d(C));
|
|
@@ -112,7 +112,7 @@ function Sr() {
|
|
|
112
112
|
}
|
|
113
113
|
function n(d) {
|
|
114
114
|
if (d === f) return "<>";
|
|
115
|
-
if (typeof d == "object" && d !== null && d.$$typeof ===
|
|
115
|
+
if (typeof d == "object" && d !== null && d.$$typeof === h)
|
|
116
116
|
return "<...>";
|
|
117
117
|
try {
|
|
118
118
|
var C = e(d);
|
|
@@ -129,7 +129,7 @@ function Sr() {
|
|
|
129
129
|
return Error("react-stack-top-frame");
|
|
130
130
|
}
|
|
131
131
|
function i(d) {
|
|
132
|
-
if (
|
|
132
|
+
if (te.call(d, "key")) {
|
|
133
133
|
var C = Object.getOwnPropertyDescriptor(d, "key").get;
|
|
134
134
|
if (C && C.isReactWarning) return !1;
|
|
135
135
|
}
|
|
@@ -198,12 +198,12 @@ function Sr() {
|
|
|
198
198
|
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
199
199
|
);
|
|
200
200
|
else p(L);
|
|
201
|
-
if (
|
|
201
|
+
if (te.call(C, "key")) {
|
|
202
202
|
L = e(d);
|
|
203
|
-
var
|
|
203
|
+
var B = Object.keys(C).filter(function(ve) {
|
|
204
204
|
return ve !== "key";
|
|
205
205
|
});
|
|
206
|
-
T = 0 <
|
|
206
|
+
T = 0 < B.length ? "{key: someKey, " + B.join(": ..., ") + ": ...}" : "{key: someKey}", ge[L + T] || (B = 0 < B.length ? "{" + B.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
207
207
|
`A props object containing a "key" prop is being spread into JSX:
|
|
208
208
|
let props = %s;
|
|
209
209
|
<%s {...props} />
|
|
@@ -212,7 +212,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
212
212
|
<%s key={someKey} {...props} />`,
|
|
213
213
|
T,
|
|
214
214
|
L,
|
|
215
|
-
|
|
215
|
+
B,
|
|
216
216
|
L
|
|
217
217
|
), ge[L + T] = !0);
|
|
218
218
|
}
|
|
@@ -238,7 +238,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
238
238
|
function p(d) {
|
|
239
239
|
typeof d == "object" && d !== null && d.$$typeof === E && d._store && (d._store.validated = 1);
|
|
240
240
|
}
|
|
241
|
-
var g =
|
|
241
|
+
var g = Er, E = Symbol.for("react.transitional.element"), S = Symbol.for("react.portal"), f = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), k = Symbol.for("react.profiler"), N = Symbol.for("react.consumer"), O = Symbol.for("react.context"), A = Symbol.for("react.forward_ref"), _ = Symbol.for("react.suspense"), j = Symbol.for("react.suspense_list"), P = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), z = Symbol.for("react.activity"), K = Symbol.for("react.client.reference"), se = g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, te = Object.prototype.hasOwnProperty, Ee = Array.isArray, re = console.createTask ? console.createTask : function() {
|
|
242
242
|
return null;
|
|
243
243
|
};
|
|
244
244
|
g = {
|
|
@@ -249,8 +249,8 @@ React keys must be passed directly to JSX without using spread:
|
|
|
249
249
|
var Y, $ = {}, V = g["react-stack-bottom-frame"].bind(
|
|
250
250
|
g,
|
|
251
251
|
a
|
|
252
|
-
)(),
|
|
253
|
-
|
|
252
|
+
)(), x = re(n(a)), ge = {};
|
|
253
|
+
he.Fragment = f, he.jsx = function(d, C, M, T, D) {
|
|
254
254
|
var W = 1e4 > se.recentlyCreatedOwnerStacks++;
|
|
255
255
|
return m(
|
|
256
256
|
d,
|
|
@@ -260,9 +260,9 @@ React keys must be passed directly to JSX without using spread:
|
|
|
260
260
|
T,
|
|
261
261
|
D,
|
|
262
262
|
W ? Error("react-stack-top-frame") : V,
|
|
263
|
-
W ?
|
|
263
|
+
W ? re(n(d)) : x
|
|
264
264
|
);
|
|
265
|
-
},
|
|
265
|
+
}, he.jsxs = function(d, C, M, T, D) {
|
|
266
266
|
var W = 1e4 > se.recentlyCreatedOwnerStacks++;
|
|
267
267
|
return m(
|
|
268
268
|
d,
|
|
@@ -272,13 +272,13 @@ React keys must be passed directly to JSX without using spread:
|
|
|
272
272
|
T,
|
|
273
273
|
D,
|
|
274
274
|
W ? Error("react-stack-top-frame") : V,
|
|
275
|
-
W ?
|
|
275
|
+
W ? re(n(d)) : x
|
|
276
276
|
);
|
|
277
277
|
};
|
|
278
|
-
}()),
|
|
278
|
+
}()), he;
|
|
279
279
|
}
|
|
280
|
-
process.env.NODE_ENV === "production" ? He.exports =
|
|
281
|
-
var
|
|
280
|
+
process.env.NODE_ENV === "production" ? He.exports = Rr() : He.exports = Pr();
|
|
281
|
+
var w = He.exports;
|
|
282
282
|
function it(e, t) {
|
|
283
283
|
if (typeof e == "function")
|
|
284
284
|
return e(t);
|
|
@@ -300,39 +300,39 @@ function At(...e) {
|
|
|
300
300
|
};
|
|
301
301
|
};
|
|
302
302
|
}
|
|
303
|
-
function
|
|
303
|
+
function ae(...e) {
|
|
304
304
|
return l.useCallback(At(...e), e);
|
|
305
305
|
}
|
|
306
306
|
// @__NO_SIDE_EFFECTS__
|
|
307
307
|
function et(e) {
|
|
308
|
-
const t = /* @__PURE__ */
|
|
309
|
-
const { children: a, ...i } = n, s = l.Children.toArray(a), c = s.find(
|
|
308
|
+
const t = /* @__PURE__ */ Ar(e), r = l.forwardRef((n, o) => {
|
|
309
|
+
const { children: a, ...i } = n, s = l.Children.toArray(a), c = s.find(Nr);
|
|
310
310
|
if (c) {
|
|
311
311
|
const u = c.props.children, m = s.map((p) => p === c ? l.Children.count(u) > 1 ? l.Children.only(null) : l.isValidElement(u) ? u.props.children : null : p);
|
|
312
|
-
return /* @__PURE__ */
|
|
312
|
+
return /* @__PURE__ */ w.jsx(t, { ...i, ref: o, children: l.isValidElement(u) ? l.cloneElement(u, void 0, m) : null });
|
|
313
313
|
}
|
|
314
|
-
return /* @__PURE__ */
|
|
314
|
+
return /* @__PURE__ */ w.jsx(t, { ...i, ref: o, children: a });
|
|
315
315
|
});
|
|
316
316
|
return r.displayName = `${e}.Slot`, r;
|
|
317
317
|
}
|
|
318
|
-
var
|
|
318
|
+
var Tt = /* @__PURE__ */ et("Slot");
|
|
319
319
|
// @__NO_SIDE_EFFECTS__
|
|
320
|
-
function
|
|
320
|
+
function Ar(e) {
|
|
321
321
|
const t = l.forwardRef((r, n) => {
|
|
322
322
|
const { children: o, ...a } = r;
|
|
323
323
|
if (l.isValidElement(o)) {
|
|
324
|
-
const i =
|
|
324
|
+
const i = _r(o), s = Or(a, o.props);
|
|
325
325
|
return o.type !== l.Fragment && (s.ref = n ? At(n, i) : i), l.cloneElement(o, s);
|
|
326
326
|
}
|
|
327
327
|
return l.Children.count(o) > 1 ? l.Children.only(null) : null;
|
|
328
328
|
});
|
|
329
329
|
return t.displayName = `${e}.SlotClone`, t;
|
|
330
330
|
}
|
|
331
|
-
var
|
|
332
|
-
function
|
|
333
|
-
return l.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId ===
|
|
331
|
+
var Tr = Symbol("radix.slottable");
|
|
332
|
+
function Nr(e) {
|
|
333
|
+
return l.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === Tr;
|
|
334
334
|
}
|
|
335
|
-
function
|
|
335
|
+
function Or(e, t) {
|
|
336
336
|
const r = { ...t };
|
|
337
337
|
for (const n in t) {
|
|
338
338
|
const o = e[n], a = t[n];
|
|
@@ -343,44 +343,44 @@ function Nr(e, t) {
|
|
|
343
343
|
}
|
|
344
344
|
return { ...e, ...r };
|
|
345
345
|
}
|
|
346
|
-
function
|
|
346
|
+
function _r(e) {
|
|
347
347
|
var n, o;
|
|
348
348
|
let t = (n = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : n.get, r = t && "isReactWarning" in t && t.isReactWarning;
|
|
349
349
|
return r ? e.ref : (t = (o = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : o.get, r = t && "isReactWarning" in t && t.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);
|
|
350
350
|
}
|
|
351
|
-
function
|
|
351
|
+
function Nt(e) {
|
|
352
352
|
var t, r, n = "";
|
|
353
353
|
if (typeof e == "string" || typeof e == "number") n += e;
|
|
354
354
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
355
355
|
var o = e.length;
|
|
356
|
-
for (t = 0; t < o; t++) e[t] && (r =
|
|
356
|
+
for (t = 0; t < o; t++) e[t] && (r = Nt(e[t])) && (n && (n += " "), n += r);
|
|
357
357
|
} else for (r in e) e[r] && (n && (n += " "), n += r);
|
|
358
358
|
return n;
|
|
359
359
|
}
|
|
360
|
-
function
|
|
361
|
-
for (var e, t, r = 0, n = "", o = arguments.length; r < o; r++) (e = arguments[r]) && (t =
|
|
360
|
+
function Ot() {
|
|
361
|
+
for (var e, t, r = 0, n = "", o = arguments.length; r < o; r++) (e = arguments[r]) && (t = Nt(e)) && (n && (n += " "), n += t);
|
|
362
362
|
return n;
|
|
363
363
|
}
|
|
364
|
-
const tt = "-",
|
|
365
|
-
const t =
|
|
364
|
+
const tt = "-", Mr = (e) => {
|
|
365
|
+
const t = Ir(e), {
|
|
366
366
|
conflictingClassGroups: r,
|
|
367
367
|
conflictingClassGroupModifiers: n
|
|
368
368
|
} = e;
|
|
369
369
|
return {
|
|
370
370
|
getClassGroupId: (i) => {
|
|
371
371
|
const s = i.split(tt);
|
|
372
|
-
return s[0] === "" && s.length !== 1 && s.shift(),
|
|
372
|
+
return s[0] === "" && s.length !== 1 && s.shift(), _t(s, t) || Dr(i);
|
|
373
373
|
},
|
|
374
374
|
getConflictingClassGroupIds: (i, s) => {
|
|
375
375
|
const c = r[i] || [];
|
|
376
376
|
return s && n[i] ? [...c, ...n[i]] : c;
|
|
377
377
|
}
|
|
378
378
|
};
|
|
379
|
-
},
|
|
379
|
+
}, _t = (e, t) => {
|
|
380
380
|
var i;
|
|
381
381
|
if (e.length === 0)
|
|
382
382
|
return t.classGroupId;
|
|
383
|
-
const r = e[0], n = t.nextPart.get(r), o = n ?
|
|
383
|
+
const r = e[0], n = t.nextPart.get(r), o = n ? _t(e.slice(1), n) : void 0;
|
|
384
384
|
if (o)
|
|
385
385
|
return o;
|
|
386
386
|
if (t.validators.length === 0)
|
|
@@ -389,13 +389,13 @@ const tt = "-", _r = (e) => {
|
|
|
389
389
|
return (i = t.validators.find(({
|
|
390
390
|
validator: s
|
|
391
391
|
}) => s(a))) == null ? void 0 : i.classGroupId;
|
|
392
|
-
}, lt = /^\[(.+)\]$/,
|
|
392
|
+
}, lt = /^\[(.+)\]$/, Dr = (e) => {
|
|
393
393
|
if (lt.test(e)) {
|
|
394
394
|
const t = lt.exec(e)[1], r = t == null ? void 0 : t.substring(0, t.indexOf(":"));
|
|
395
395
|
if (r)
|
|
396
396
|
return "arbitrary.." + r;
|
|
397
397
|
}
|
|
398
|
-
},
|
|
398
|
+
}, Ir = (e) => {
|
|
399
399
|
const {
|
|
400
400
|
theme: t,
|
|
401
401
|
classGroups: r
|
|
@@ -414,7 +414,7 @@ const tt = "-", _r = (e) => {
|
|
|
414
414
|
return;
|
|
415
415
|
}
|
|
416
416
|
if (typeof o == "function") {
|
|
417
|
-
if (
|
|
417
|
+
if (jr(o)) {
|
|
418
418
|
Ke(o(n), t, r, n);
|
|
419
419
|
return;
|
|
420
420
|
}
|
|
@@ -436,7 +436,7 @@ const tt = "-", _r = (e) => {
|
|
|
436
436
|
validators: []
|
|
437
437
|
}), r = r.nextPart.get(n);
|
|
438
438
|
}), r;
|
|
439
|
-
},
|
|
439
|
+
}, jr = (e) => e.isThemeGetter, Lr = (e) => {
|
|
440
440
|
if (e < 1)
|
|
441
441
|
return {
|
|
442
442
|
get: () => {
|
|
@@ -460,7 +460,7 @@ const tt = "-", _r = (e) => {
|
|
|
460
460
|
r.has(a) ? r.set(a, i) : o(a, i);
|
|
461
461
|
}
|
|
462
462
|
};
|
|
463
|
-
}, Ze = "!", qe = ":",
|
|
463
|
+
}, Ze = "!", qe = ":", Fr = qe.length, zr = (e) => {
|
|
464
464
|
const {
|
|
465
465
|
prefix: t,
|
|
466
466
|
experimentalParseClassName: r
|
|
@@ -472,7 +472,7 @@ const tt = "-", _r = (e) => {
|
|
|
472
472
|
let f = o[S];
|
|
473
473
|
if (i === 0 && s === 0) {
|
|
474
474
|
if (f === qe) {
|
|
475
|
-
a.push(o.slice(c, S)), c = S +
|
|
475
|
+
a.push(o.slice(c, S)), c = S + Fr;
|
|
476
476
|
continue;
|
|
477
477
|
}
|
|
478
478
|
if (f === "/") {
|
|
@@ -482,7 +482,7 @@ const tt = "-", _r = (e) => {
|
|
|
482
482
|
}
|
|
483
483
|
f === "[" ? i++ : f === "]" ? i-- : f === "(" ? s++ : f === ")" && s--;
|
|
484
484
|
}
|
|
485
|
-
const m = a.length === 0 ? o : o.substring(c), p =
|
|
485
|
+
const m = a.length === 0 ? o : o.substring(c), p = Wr(m), g = p !== m, E = u && u > c ? u - c : void 0;
|
|
486
486
|
return {
|
|
487
487
|
modifiers: a,
|
|
488
488
|
hasImportantModifier: g,
|
|
@@ -508,7 +508,7 @@ const tt = "-", _r = (e) => {
|
|
|
508
508
|
});
|
|
509
509
|
}
|
|
510
510
|
return n;
|
|
511
|
-
},
|
|
511
|
+
}, Wr = (e) => e.endsWith(Ze) ? e.substring(0, e.length - 1) : e.startsWith(Ze) ? e.substring(1) : e, $r = (e) => {
|
|
512
512
|
const t = Object.fromEntries(e.orderSensitiveModifiers.map((n) => [n, !0]));
|
|
513
513
|
return (n) => {
|
|
514
514
|
if (n.length <= 1)
|
|
@@ -519,12 +519,12 @@ const tt = "-", _r = (e) => {
|
|
|
519
519
|
i[0] === "[" || t[i] ? (o.push(...a.sort(), i), a = []) : a.push(i);
|
|
520
520
|
}), o.push(...a.sort()), o;
|
|
521
521
|
};
|
|
522
|
-
},
|
|
523
|
-
cache:
|
|
524
|
-
parseClassName:
|
|
525
|
-
sortModifiers:
|
|
526
|
-
...
|
|
527
|
-
}), Ur = /\s+/,
|
|
522
|
+
}, Br = (e) => ({
|
|
523
|
+
cache: Lr(e.cacheSize),
|
|
524
|
+
parseClassName: zr(e),
|
|
525
|
+
sortModifiers: $r(e),
|
|
526
|
+
...Mr(e)
|
|
527
|
+
}), Ur = /\s+/, Vr = (e, t) => {
|
|
528
528
|
const {
|
|
529
529
|
parseClassName: r,
|
|
530
530
|
getClassGroupId: n,
|
|
@@ -569,52 +569,52 @@ const tt = "-", _r = (e) => {
|
|
|
569
569
|
}
|
|
570
570
|
return c;
|
|
571
571
|
};
|
|
572
|
-
function
|
|
572
|
+
function Gr() {
|
|
573
573
|
let e = 0, t, r, n = "";
|
|
574
574
|
for (; e < arguments.length; )
|
|
575
|
-
(t = arguments[e++]) && (r =
|
|
575
|
+
(t = arguments[e++]) && (r = Mt(t)) && (n && (n += " "), n += r);
|
|
576
576
|
return n;
|
|
577
577
|
}
|
|
578
|
-
const
|
|
578
|
+
const Mt = (e) => {
|
|
579
579
|
if (typeof e == "string")
|
|
580
580
|
return e;
|
|
581
581
|
let t, r = "";
|
|
582
582
|
for (let n = 0; n < e.length; n++)
|
|
583
|
-
e[n] && (t =
|
|
583
|
+
e[n] && (t = Mt(e[n])) && (r && (r += " "), r += t);
|
|
584
584
|
return r;
|
|
585
585
|
};
|
|
586
|
-
function
|
|
586
|
+
function Yr(e, ...t) {
|
|
587
587
|
let r, n, o, a = i;
|
|
588
588
|
function i(c) {
|
|
589
589
|
const u = t.reduce((m, p) => p(m), e());
|
|
590
|
-
return r =
|
|
590
|
+
return r = Br(u), n = r.cache.get, o = r.cache.set, a = s, s(c);
|
|
591
591
|
}
|
|
592
592
|
function s(c) {
|
|
593
593
|
const u = n(c);
|
|
594
594
|
if (u)
|
|
595
595
|
return u;
|
|
596
|
-
const m =
|
|
596
|
+
const m = Vr(c, r);
|
|
597
597
|
return o(c, m), m;
|
|
598
598
|
}
|
|
599
599
|
return function() {
|
|
600
|
-
return a(
|
|
600
|
+
return a(Gr.apply(null, arguments));
|
|
601
601
|
};
|
|
602
602
|
}
|
|
603
603
|
const F = (e) => {
|
|
604
604
|
const t = (r) => r[e] || [];
|
|
605
605
|
return t.isThemeGetter = !0, t;
|
|
606
|
-
},
|
|
606
|
+
}, Dt = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, It = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Xr = /^\d+\/\d+$/, Hr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Kr = /\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$/, Zr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, qr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Jr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, le = (e) => Xr.test(e), R = (e) => !!e && !Number.isNaN(Number(e)), q = (e) => !!e && Number.isInteger(Number(e)), Le = (e) => e.endsWith("%") && R(e.slice(0, -1)), X = (e) => Hr.test(e), Qr = () => !0, en = (e) => (
|
|
607
607
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
608
608
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
609
609
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
610
|
-
|
|
611
|
-
),
|
|
612
|
-
const n =
|
|
610
|
+
Kr.test(e) && !Zr.test(e)
|
|
611
|
+
), jt = () => !1, tn = (e) => qr.test(e), rn = (e) => Jr.test(e), nn = (e) => !v(e) && !b(e), on = (e) => me(e, zt, jt), v = (e) => Dt.test(e), ne = (e) => me(e, Wt, en), Fe = (e) => me(e, un, R), ut = (e) => me(e, Lt, jt), an = (e) => me(e, Ft, rn), Ce = (e) => me(e, $t, tn), b = (e) => It.test(e), ye = (e) => pe(e, Wt), sn = (e) => pe(e, dn), dt = (e) => pe(e, Lt), ln = (e) => pe(e, zt), cn = (e) => pe(e, Ft), Se = (e) => pe(e, $t, !0), me = (e, t, r) => {
|
|
612
|
+
const n = Dt.exec(e);
|
|
613
613
|
return n ? n[1] ? t(n[1]) : r(n[2]) : !1;
|
|
614
614
|
}, pe = (e, t, r = !1) => {
|
|
615
|
-
const n =
|
|
615
|
+
const n = It.exec(e);
|
|
616
616
|
return n ? n[1] ? t(n[1]) : r : !1;
|
|
617
|
-
},
|
|
617
|
+
}, Lt = (e) => e === "position" || e === "percentage", Ft = (e) => e === "image" || e === "url", zt = (e) => e === "length" || e === "size" || e === "bg-size", Wt = (e) => e === "length", un = (e) => e === "number", dn = (e) => e === "family-name", $t = (e) => e === "shadow", fn = () => {
|
|
618
618
|
const e = F("color"), t = F("font"), r = F("text"), n = F("font-weight"), o = F("tracking"), a = F("leading"), i = F("breakpoint"), s = F("container"), c = F("spacing"), u = F("radius"), m = F("shadow"), p = F("inset-shadow"), g = F("text-shadow"), E = F("drop-shadow"), S = F("blur"), f = F("perspective"), y = F("aspect"), k = F("ease"), N = F("animate"), O = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], A = () => [
|
|
619
619
|
"center",
|
|
620
620
|
"top",
|
|
@@ -633,30 +633,30 @@ const F = (e) => {
|
|
|
633
633
|
"bottom-left",
|
|
634
634
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
635
635
|
"left-bottom"
|
|
636
|
-
], _ = () => [...A(),
|
|
637
|
-
span: ["full", q,
|
|
638
|
-
}, q,
|
|
639
|
-
position: [
|
|
636
|
+
], _ = () => [...A(), b, v], j = () => ["auto", "hidden", "clip", "visible", "scroll"], P = () => ["auto", "contain", "none"], h = () => [b, v, c], z = () => [le, "full", "auto", ...h()], K = () => [q, "none", "subgrid", b, v], se = () => ["auto", {
|
|
637
|
+
span: ["full", q, b, v]
|
|
638
|
+
}, q, b, v], te = () => [q, "auto", b, v], Ee = () => ["auto", "min", "max", "fr", b, v], re = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], Y = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], $ = () => ["auto", ...h()], V = () => [le, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...h()], x = () => [e, b, v], ge = () => [...A(), dt, ut, {
|
|
639
|
+
position: [b, v]
|
|
640
640
|
}], d = () => ["no-repeat", {
|
|
641
641
|
repeat: ["", "x", "y", "space", "round"]
|
|
642
|
-
}], C = () => ["auto", "cover", "contain",
|
|
643
|
-
size: [
|
|
644
|
-
}], M = () => [Le, ye,
|
|
642
|
+
}], C = () => ["auto", "cover", "contain", ln, on, {
|
|
643
|
+
size: [b, v]
|
|
644
|
+
}], M = () => [Le, ye, ne], T = () => [
|
|
645
645
|
// Deprecated since Tailwind CSS v4.0.0
|
|
646
646
|
"",
|
|
647
647
|
"none",
|
|
648
648
|
"full",
|
|
649
649
|
u,
|
|
650
|
-
|
|
650
|
+
b,
|
|
651
651
|
v
|
|
652
|
-
], D = () => ["", R, ye,
|
|
652
|
+
], D = () => ["", R, ye, ne], W = () => ["solid", "dashed", "dotted", "double"], ie = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], I = () => [R, Le, dt, ut], L = () => [
|
|
653
653
|
// Deprecated since Tailwind CSS v4.0.0
|
|
654
654
|
"",
|
|
655
655
|
"none",
|
|
656
656
|
S,
|
|
657
|
-
|
|
657
|
+
b,
|
|
658
658
|
v
|
|
659
|
-
],
|
|
659
|
+
], B = () => ["none", R, b, v], Z = () => ["none", R, b, v], ve = () => [R, b, v], ke = () => [le, "full", ...h()];
|
|
660
660
|
return {
|
|
661
661
|
cacheSize: 500,
|
|
662
662
|
theme: {
|
|
@@ -664,11 +664,11 @@ const F = (e) => {
|
|
|
664
664
|
aspect: ["video"],
|
|
665
665
|
blur: [X],
|
|
666
666
|
breakpoint: [X],
|
|
667
|
-
color: [
|
|
667
|
+
color: [Qr],
|
|
668
668
|
container: [X],
|
|
669
669
|
"drop-shadow": [X],
|
|
670
670
|
ease: ["in", "out", "in-out"],
|
|
671
|
-
font: [
|
|
671
|
+
font: [nn],
|
|
672
672
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
673
673
|
"inset-shadow": [X],
|
|
674
674
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
@@ -689,7 +689,7 @@ const F = (e) => {
|
|
|
689
689
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
690
690
|
*/
|
|
691
691
|
aspect: [{
|
|
692
|
-
aspect: ["auto", "square", le, v,
|
|
692
|
+
aspect: ["auto", "square", le, v, b, y]
|
|
693
693
|
}],
|
|
694
694
|
/**
|
|
695
695
|
* Container
|
|
@@ -702,7 +702,7 @@ const F = (e) => {
|
|
|
702
702
|
* @see https://tailwindcss.com/docs/columns
|
|
703
703
|
*/
|
|
704
704
|
columns: [{
|
|
705
|
-
columns: [R, v,
|
|
705
|
+
columns: [R, v, b, s]
|
|
706
706
|
}],
|
|
707
707
|
/**
|
|
708
708
|
* Break After
|
|
@@ -902,7 +902,7 @@ const F = (e) => {
|
|
|
902
902
|
* @see https://tailwindcss.com/docs/z-index
|
|
903
903
|
*/
|
|
904
904
|
z: [{
|
|
905
|
-
z: [q, "auto",
|
|
905
|
+
z: [q, "auto", b, v]
|
|
906
906
|
}],
|
|
907
907
|
// ------------------------
|
|
908
908
|
// --- Flexbox and Grid ---
|
|
@@ -912,7 +912,7 @@ const F = (e) => {
|
|
|
912
912
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
913
913
|
*/
|
|
914
914
|
basis: [{
|
|
915
|
-
basis: [le, "full", "auto", s, ...
|
|
915
|
+
basis: [le, "full", "auto", s, ...h()]
|
|
916
916
|
}],
|
|
917
917
|
/**
|
|
918
918
|
* Flex Direction
|
|
@@ -940,21 +940,21 @@ const F = (e) => {
|
|
|
940
940
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
941
941
|
*/
|
|
942
942
|
grow: [{
|
|
943
|
-
grow: ["", R,
|
|
943
|
+
grow: ["", R, b, v]
|
|
944
944
|
}],
|
|
945
945
|
/**
|
|
946
946
|
* Flex Shrink
|
|
947
947
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
948
948
|
*/
|
|
949
949
|
shrink: [{
|
|
950
|
-
shrink: ["", R,
|
|
950
|
+
shrink: ["", R, b, v]
|
|
951
951
|
}],
|
|
952
952
|
/**
|
|
953
953
|
* Order
|
|
954
954
|
* @see https://tailwindcss.com/docs/order
|
|
955
955
|
*/
|
|
956
956
|
order: [{
|
|
957
|
-
order: [q, "first", "last", "none",
|
|
957
|
+
order: [q, "first", "last", "none", b, v]
|
|
958
958
|
}],
|
|
959
959
|
/**
|
|
960
960
|
* Grid Template Columns
|
|
@@ -975,14 +975,14 @@ const F = (e) => {
|
|
|
975
975
|
* @see https://tailwindcss.com/docs/grid-column
|
|
976
976
|
*/
|
|
977
977
|
"col-start": [{
|
|
978
|
-
"col-start":
|
|
978
|
+
"col-start": te()
|
|
979
979
|
}],
|
|
980
980
|
/**
|
|
981
981
|
* Grid Column End
|
|
982
982
|
* @see https://tailwindcss.com/docs/grid-column
|
|
983
983
|
*/
|
|
984
984
|
"col-end": [{
|
|
985
|
-
"col-end":
|
|
985
|
+
"col-end": te()
|
|
986
986
|
}],
|
|
987
987
|
/**
|
|
988
988
|
* Grid Template Rows
|
|
@@ -1003,14 +1003,14 @@ const F = (e) => {
|
|
|
1003
1003
|
* @see https://tailwindcss.com/docs/grid-row
|
|
1004
1004
|
*/
|
|
1005
1005
|
"row-start": [{
|
|
1006
|
-
"row-start":
|
|
1006
|
+
"row-start": te()
|
|
1007
1007
|
}],
|
|
1008
1008
|
/**
|
|
1009
1009
|
* Grid Row End
|
|
1010
1010
|
* @see https://tailwindcss.com/docs/grid-row
|
|
1011
1011
|
*/
|
|
1012
1012
|
"row-end": [{
|
|
1013
|
-
"row-end":
|
|
1013
|
+
"row-end": te()
|
|
1014
1014
|
}],
|
|
1015
1015
|
/**
|
|
1016
1016
|
* Grid Auto Flow
|
|
@@ -1038,28 +1038,28 @@ const F = (e) => {
|
|
|
1038
1038
|
* @see https://tailwindcss.com/docs/gap
|
|
1039
1039
|
*/
|
|
1040
1040
|
gap: [{
|
|
1041
|
-
gap:
|
|
1041
|
+
gap: h()
|
|
1042
1042
|
}],
|
|
1043
1043
|
/**
|
|
1044
1044
|
* Gap X
|
|
1045
1045
|
* @see https://tailwindcss.com/docs/gap
|
|
1046
1046
|
*/
|
|
1047
1047
|
"gap-x": [{
|
|
1048
|
-
"gap-x":
|
|
1048
|
+
"gap-x": h()
|
|
1049
1049
|
}],
|
|
1050
1050
|
/**
|
|
1051
1051
|
* Gap Y
|
|
1052
1052
|
* @see https://tailwindcss.com/docs/gap
|
|
1053
1053
|
*/
|
|
1054
1054
|
"gap-y": [{
|
|
1055
|
-
"gap-y":
|
|
1055
|
+
"gap-y": h()
|
|
1056
1056
|
}],
|
|
1057
1057
|
/**
|
|
1058
1058
|
* Justify Content
|
|
1059
1059
|
* @see https://tailwindcss.com/docs/justify-content
|
|
1060
1060
|
*/
|
|
1061
1061
|
"justify-content": [{
|
|
1062
|
-
justify: [...
|
|
1062
|
+
justify: [...re(), "normal"]
|
|
1063
1063
|
}],
|
|
1064
1064
|
/**
|
|
1065
1065
|
* Justify Items
|
|
@@ -1080,7 +1080,7 @@ const F = (e) => {
|
|
|
1080
1080
|
* @see https://tailwindcss.com/docs/align-content
|
|
1081
1081
|
*/
|
|
1082
1082
|
"align-content": [{
|
|
1083
|
-
content: ["normal", ...
|
|
1083
|
+
content: ["normal", ...re()]
|
|
1084
1084
|
}],
|
|
1085
1085
|
/**
|
|
1086
1086
|
* Align Items
|
|
@@ -1105,7 +1105,7 @@ const F = (e) => {
|
|
|
1105
1105
|
* @see https://tailwindcss.com/docs/place-content
|
|
1106
1106
|
*/
|
|
1107
1107
|
"place-content": [{
|
|
1108
|
-
"place-content":
|
|
1108
|
+
"place-content": re()
|
|
1109
1109
|
}],
|
|
1110
1110
|
/**
|
|
1111
1111
|
* Place Items
|
|
@@ -1127,63 +1127,63 @@ const F = (e) => {
|
|
|
1127
1127
|
* @see https://tailwindcss.com/docs/padding
|
|
1128
1128
|
*/
|
|
1129
1129
|
p: [{
|
|
1130
|
-
p:
|
|
1130
|
+
p: h()
|
|
1131
1131
|
}],
|
|
1132
1132
|
/**
|
|
1133
1133
|
* Padding X
|
|
1134
1134
|
* @see https://tailwindcss.com/docs/padding
|
|
1135
1135
|
*/
|
|
1136
1136
|
px: [{
|
|
1137
|
-
px:
|
|
1137
|
+
px: h()
|
|
1138
1138
|
}],
|
|
1139
1139
|
/**
|
|
1140
1140
|
* Padding Y
|
|
1141
1141
|
* @see https://tailwindcss.com/docs/padding
|
|
1142
1142
|
*/
|
|
1143
1143
|
py: [{
|
|
1144
|
-
py:
|
|
1144
|
+
py: h()
|
|
1145
1145
|
}],
|
|
1146
1146
|
/**
|
|
1147
1147
|
* Padding Start
|
|
1148
1148
|
* @see https://tailwindcss.com/docs/padding
|
|
1149
1149
|
*/
|
|
1150
1150
|
ps: [{
|
|
1151
|
-
ps:
|
|
1151
|
+
ps: h()
|
|
1152
1152
|
}],
|
|
1153
1153
|
/**
|
|
1154
1154
|
* Padding End
|
|
1155
1155
|
* @see https://tailwindcss.com/docs/padding
|
|
1156
1156
|
*/
|
|
1157
1157
|
pe: [{
|
|
1158
|
-
pe:
|
|
1158
|
+
pe: h()
|
|
1159
1159
|
}],
|
|
1160
1160
|
/**
|
|
1161
1161
|
* Padding Top
|
|
1162
1162
|
* @see https://tailwindcss.com/docs/padding
|
|
1163
1163
|
*/
|
|
1164
1164
|
pt: [{
|
|
1165
|
-
pt:
|
|
1165
|
+
pt: h()
|
|
1166
1166
|
}],
|
|
1167
1167
|
/**
|
|
1168
1168
|
* Padding Right
|
|
1169
1169
|
* @see https://tailwindcss.com/docs/padding
|
|
1170
1170
|
*/
|
|
1171
1171
|
pr: [{
|
|
1172
|
-
pr:
|
|
1172
|
+
pr: h()
|
|
1173
1173
|
}],
|
|
1174
1174
|
/**
|
|
1175
1175
|
* Padding Bottom
|
|
1176
1176
|
* @see https://tailwindcss.com/docs/padding
|
|
1177
1177
|
*/
|
|
1178
1178
|
pb: [{
|
|
1179
|
-
pb:
|
|
1179
|
+
pb: h()
|
|
1180
1180
|
}],
|
|
1181
1181
|
/**
|
|
1182
1182
|
* Padding Left
|
|
1183
1183
|
* @see https://tailwindcss.com/docs/padding
|
|
1184
1184
|
*/
|
|
1185
1185
|
pl: [{
|
|
1186
|
-
pl:
|
|
1186
|
+
pl: h()
|
|
1187
1187
|
}],
|
|
1188
1188
|
/**
|
|
1189
1189
|
* Margin
|
|
@@ -1253,7 +1253,7 @@ const F = (e) => {
|
|
|
1253
1253
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1254
1254
|
*/
|
|
1255
1255
|
"space-x": [{
|
|
1256
|
-
"space-x":
|
|
1256
|
+
"space-x": h()
|
|
1257
1257
|
}],
|
|
1258
1258
|
/**
|
|
1259
1259
|
* Space Between X Reverse
|
|
@@ -1265,7 +1265,7 @@ const F = (e) => {
|
|
|
1265
1265
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1266
1266
|
*/
|
|
1267
1267
|
"space-y": [{
|
|
1268
|
-
"space-y":
|
|
1268
|
+
"space-y": h()
|
|
1269
1269
|
}],
|
|
1270
1270
|
/**
|
|
1271
1271
|
* Space Between Y Reverse
|
|
@@ -1349,7 +1349,7 @@ const F = (e) => {
|
|
|
1349
1349
|
* @see https://tailwindcss.com/docs/font-size
|
|
1350
1350
|
*/
|
|
1351
1351
|
"font-size": [{
|
|
1352
|
-
text: ["base", r, ye,
|
|
1352
|
+
text: ["base", r, ye, ne]
|
|
1353
1353
|
}],
|
|
1354
1354
|
/**
|
|
1355
1355
|
* Font Smoothing
|
|
@@ -1366,7 +1366,7 @@ const F = (e) => {
|
|
|
1366
1366
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1367
1367
|
*/
|
|
1368
1368
|
"font-weight": [{
|
|
1369
|
-
font: [n,
|
|
1369
|
+
font: [n, b, Fe]
|
|
1370
1370
|
}],
|
|
1371
1371
|
/**
|
|
1372
1372
|
* Font Stretch
|
|
@@ -1380,7 +1380,7 @@ const F = (e) => {
|
|
|
1380
1380
|
* @see https://tailwindcss.com/docs/font-family
|
|
1381
1381
|
*/
|
|
1382
1382
|
"font-family": [{
|
|
1383
|
-
font: [
|
|
1383
|
+
font: [sn, v, t]
|
|
1384
1384
|
}],
|
|
1385
1385
|
/**
|
|
1386
1386
|
* Font Variant Numeric
|
|
@@ -1417,14 +1417,14 @@ const F = (e) => {
|
|
|
1417
1417
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
1418
1418
|
*/
|
|
1419
1419
|
tracking: [{
|
|
1420
|
-
tracking: [o,
|
|
1420
|
+
tracking: [o, b, v]
|
|
1421
1421
|
}],
|
|
1422
1422
|
/**
|
|
1423
1423
|
* Line Clamp
|
|
1424
1424
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1425
1425
|
*/
|
|
1426
1426
|
"line-clamp": [{
|
|
1427
|
-
"line-clamp": [R, "none",
|
|
1427
|
+
"line-clamp": [R, "none", b, Fe]
|
|
1428
1428
|
}],
|
|
1429
1429
|
/**
|
|
1430
1430
|
* Line Height
|
|
@@ -1434,7 +1434,7 @@ const F = (e) => {
|
|
|
1434
1434
|
leading: [
|
|
1435
1435
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1436
1436
|
a,
|
|
1437
|
-
...
|
|
1437
|
+
...h()
|
|
1438
1438
|
]
|
|
1439
1439
|
}],
|
|
1440
1440
|
/**
|
|
@@ -1442,7 +1442,7 @@ const F = (e) => {
|
|
|
1442
1442
|
* @see https://tailwindcss.com/docs/list-style-image
|
|
1443
1443
|
*/
|
|
1444
1444
|
"list-image": [{
|
|
1445
|
-
"list-image": ["none",
|
|
1445
|
+
"list-image": ["none", b, v]
|
|
1446
1446
|
}],
|
|
1447
1447
|
/**
|
|
1448
1448
|
* List Style Position
|
|
@@ -1456,7 +1456,7 @@ const F = (e) => {
|
|
|
1456
1456
|
* @see https://tailwindcss.com/docs/list-style-type
|
|
1457
1457
|
*/
|
|
1458
1458
|
"list-style-type": [{
|
|
1459
|
-
list: ["disc", "decimal", "none",
|
|
1459
|
+
list: ["disc", "decimal", "none", b, v]
|
|
1460
1460
|
}],
|
|
1461
1461
|
/**
|
|
1462
1462
|
* Text Alignment
|
|
@@ -1471,14 +1471,14 @@ const F = (e) => {
|
|
|
1471
1471
|
* @see https://v3.tailwindcss.com/docs/placeholder-color
|
|
1472
1472
|
*/
|
|
1473
1473
|
"placeholder-color": [{
|
|
1474
|
-
placeholder:
|
|
1474
|
+
placeholder: x()
|
|
1475
1475
|
}],
|
|
1476
1476
|
/**
|
|
1477
1477
|
* Text Color
|
|
1478
1478
|
* @see https://tailwindcss.com/docs/text-color
|
|
1479
1479
|
*/
|
|
1480
1480
|
"text-color": [{
|
|
1481
|
-
text:
|
|
1481
|
+
text: x()
|
|
1482
1482
|
}],
|
|
1483
1483
|
/**
|
|
1484
1484
|
* Text Decoration
|
|
@@ -1497,21 +1497,21 @@ const F = (e) => {
|
|
|
1497
1497
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1498
1498
|
*/
|
|
1499
1499
|
"text-decoration-thickness": [{
|
|
1500
|
-
decoration: [R, "from-font", "auto",
|
|
1500
|
+
decoration: [R, "from-font", "auto", b, ne]
|
|
1501
1501
|
}],
|
|
1502
1502
|
/**
|
|
1503
1503
|
* Text Decoration Color
|
|
1504
1504
|
* @see https://tailwindcss.com/docs/text-decoration-color
|
|
1505
1505
|
*/
|
|
1506
1506
|
"text-decoration-color": [{
|
|
1507
|
-
decoration:
|
|
1507
|
+
decoration: x()
|
|
1508
1508
|
}],
|
|
1509
1509
|
/**
|
|
1510
1510
|
* Text Underline Offset
|
|
1511
1511
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1512
1512
|
*/
|
|
1513
1513
|
"underline-offset": [{
|
|
1514
|
-
"underline-offset": [R, "auto",
|
|
1514
|
+
"underline-offset": [R, "auto", b, v]
|
|
1515
1515
|
}],
|
|
1516
1516
|
/**
|
|
1517
1517
|
* Text Transform
|
|
@@ -1535,14 +1535,14 @@ const F = (e) => {
|
|
|
1535
1535
|
* @see https://tailwindcss.com/docs/text-indent
|
|
1536
1536
|
*/
|
|
1537
1537
|
indent: [{
|
|
1538
|
-
indent:
|
|
1538
|
+
indent: h()
|
|
1539
1539
|
}],
|
|
1540
1540
|
/**
|
|
1541
1541
|
* Vertical Alignment
|
|
1542
1542
|
* @see https://tailwindcss.com/docs/vertical-align
|
|
1543
1543
|
*/
|
|
1544
1544
|
"vertical-align": [{
|
|
1545
|
-
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super",
|
|
1545
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", b, v]
|
|
1546
1546
|
}],
|
|
1547
1547
|
/**
|
|
1548
1548
|
* Whitespace
|
|
@@ -1577,7 +1577,7 @@ const F = (e) => {
|
|
|
1577
1577
|
* @see https://tailwindcss.com/docs/content
|
|
1578
1578
|
*/
|
|
1579
1579
|
content: [{
|
|
1580
|
-
content: ["none",
|
|
1580
|
+
content: ["none", b, v]
|
|
1581
1581
|
}],
|
|
1582
1582
|
// -------------------
|
|
1583
1583
|
// --- Backgrounds ---
|
|
@@ -1632,17 +1632,17 @@ const F = (e) => {
|
|
|
1632
1632
|
bg: ["none", {
|
|
1633
1633
|
linear: [{
|
|
1634
1634
|
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1635
|
-
}, q,
|
|
1636
|
-
radial: ["",
|
|
1637
|
-
conic: [q,
|
|
1638
|
-
},
|
|
1635
|
+
}, q, b, v],
|
|
1636
|
+
radial: ["", b, v],
|
|
1637
|
+
conic: [q, b, v]
|
|
1638
|
+
}, cn, an]
|
|
1639
1639
|
}],
|
|
1640
1640
|
/**
|
|
1641
1641
|
* Background Color
|
|
1642
1642
|
* @see https://tailwindcss.com/docs/background-color
|
|
1643
1643
|
*/
|
|
1644
1644
|
"bg-color": [{
|
|
1645
|
-
bg:
|
|
1645
|
+
bg: x()
|
|
1646
1646
|
}],
|
|
1647
1647
|
/**
|
|
1648
1648
|
* Gradient Color Stops From Position
|
|
@@ -1670,21 +1670,21 @@ const F = (e) => {
|
|
|
1670
1670
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1671
1671
|
*/
|
|
1672
1672
|
"gradient-from": [{
|
|
1673
|
-
from:
|
|
1673
|
+
from: x()
|
|
1674
1674
|
}],
|
|
1675
1675
|
/**
|
|
1676
1676
|
* Gradient Color Stops Via
|
|
1677
1677
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1678
1678
|
*/
|
|
1679
1679
|
"gradient-via": [{
|
|
1680
|
-
via:
|
|
1680
|
+
via: x()
|
|
1681
1681
|
}],
|
|
1682
1682
|
/**
|
|
1683
1683
|
* Gradient Color Stops To
|
|
1684
1684
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1685
1685
|
*/
|
|
1686
1686
|
"gradient-to": [{
|
|
1687
|
-
to:
|
|
1687
|
+
to: x()
|
|
1688
1688
|
}],
|
|
1689
1689
|
// ---------------
|
|
1690
1690
|
// --- Borders ---
|
|
@@ -1900,70 +1900,70 @@ const F = (e) => {
|
|
|
1900
1900
|
* @see https://tailwindcss.com/docs/border-color
|
|
1901
1901
|
*/
|
|
1902
1902
|
"border-color": [{
|
|
1903
|
-
border:
|
|
1903
|
+
border: x()
|
|
1904
1904
|
}],
|
|
1905
1905
|
/**
|
|
1906
1906
|
* Border Color X
|
|
1907
1907
|
* @see https://tailwindcss.com/docs/border-color
|
|
1908
1908
|
*/
|
|
1909
1909
|
"border-color-x": [{
|
|
1910
|
-
"border-x":
|
|
1910
|
+
"border-x": x()
|
|
1911
1911
|
}],
|
|
1912
1912
|
/**
|
|
1913
1913
|
* Border Color Y
|
|
1914
1914
|
* @see https://tailwindcss.com/docs/border-color
|
|
1915
1915
|
*/
|
|
1916
1916
|
"border-color-y": [{
|
|
1917
|
-
"border-y":
|
|
1917
|
+
"border-y": x()
|
|
1918
1918
|
}],
|
|
1919
1919
|
/**
|
|
1920
1920
|
* Border Color S
|
|
1921
1921
|
* @see https://tailwindcss.com/docs/border-color
|
|
1922
1922
|
*/
|
|
1923
1923
|
"border-color-s": [{
|
|
1924
|
-
"border-s":
|
|
1924
|
+
"border-s": x()
|
|
1925
1925
|
}],
|
|
1926
1926
|
/**
|
|
1927
1927
|
* Border Color E
|
|
1928
1928
|
* @see https://tailwindcss.com/docs/border-color
|
|
1929
1929
|
*/
|
|
1930
1930
|
"border-color-e": [{
|
|
1931
|
-
"border-e":
|
|
1931
|
+
"border-e": x()
|
|
1932
1932
|
}],
|
|
1933
1933
|
/**
|
|
1934
1934
|
* Border Color Top
|
|
1935
1935
|
* @see https://tailwindcss.com/docs/border-color
|
|
1936
1936
|
*/
|
|
1937
1937
|
"border-color-t": [{
|
|
1938
|
-
"border-t":
|
|
1938
|
+
"border-t": x()
|
|
1939
1939
|
}],
|
|
1940
1940
|
/**
|
|
1941
1941
|
* Border Color Right
|
|
1942
1942
|
* @see https://tailwindcss.com/docs/border-color
|
|
1943
1943
|
*/
|
|
1944
1944
|
"border-color-r": [{
|
|
1945
|
-
"border-r":
|
|
1945
|
+
"border-r": x()
|
|
1946
1946
|
}],
|
|
1947
1947
|
/**
|
|
1948
1948
|
* Border Color Bottom
|
|
1949
1949
|
* @see https://tailwindcss.com/docs/border-color
|
|
1950
1950
|
*/
|
|
1951
1951
|
"border-color-b": [{
|
|
1952
|
-
"border-b":
|
|
1952
|
+
"border-b": x()
|
|
1953
1953
|
}],
|
|
1954
1954
|
/**
|
|
1955
1955
|
* Border Color Left
|
|
1956
1956
|
* @see https://tailwindcss.com/docs/border-color
|
|
1957
1957
|
*/
|
|
1958
1958
|
"border-color-l": [{
|
|
1959
|
-
"border-l":
|
|
1959
|
+
"border-l": x()
|
|
1960
1960
|
}],
|
|
1961
1961
|
/**
|
|
1962
1962
|
* Divide Color
|
|
1963
1963
|
* @see https://tailwindcss.com/docs/divide-color
|
|
1964
1964
|
*/
|
|
1965
1965
|
"divide-color": [{
|
|
1966
|
-
divide:
|
|
1966
|
+
divide: x()
|
|
1967
1967
|
}],
|
|
1968
1968
|
/**
|
|
1969
1969
|
* Outline Style
|
|
@@ -1977,21 +1977,21 @@ const F = (e) => {
|
|
|
1977
1977
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
1978
1978
|
*/
|
|
1979
1979
|
"outline-offset": [{
|
|
1980
|
-
"outline-offset": [R,
|
|
1980
|
+
"outline-offset": [R, b, v]
|
|
1981
1981
|
}],
|
|
1982
1982
|
/**
|
|
1983
1983
|
* Outline Width
|
|
1984
1984
|
* @see https://tailwindcss.com/docs/outline-width
|
|
1985
1985
|
*/
|
|
1986
1986
|
"outline-w": [{
|
|
1987
|
-
outline: ["", R, ye,
|
|
1987
|
+
outline: ["", R, ye, ne]
|
|
1988
1988
|
}],
|
|
1989
1989
|
/**
|
|
1990
1990
|
* Outline Color
|
|
1991
1991
|
* @see https://tailwindcss.com/docs/outline-color
|
|
1992
1992
|
*/
|
|
1993
1993
|
"outline-color": [{
|
|
1994
|
-
outline:
|
|
1994
|
+
outline: x()
|
|
1995
1995
|
}],
|
|
1996
1996
|
// ---------------
|
|
1997
1997
|
// --- Effects ---
|
|
@@ -2015,7 +2015,7 @@ const F = (e) => {
|
|
|
2015
2015
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
|
|
2016
2016
|
*/
|
|
2017
2017
|
"shadow-color": [{
|
|
2018
|
-
shadow:
|
|
2018
|
+
shadow: x()
|
|
2019
2019
|
}],
|
|
2020
2020
|
/**
|
|
2021
2021
|
* Inset Box Shadow
|
|
@@ -2029,7 +2029,7 @@ const F = (e) => {
|
|
|
2029
2029
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
|
|
2030
2030
|
*/
|
|
2031
2031
|
"inset-shadow-color": [{
|
|
2032
|
-
"inset-shadow":
|
|
2032
|
+
"inset-shadow": x()
|
|
2033
2033
|
}],
|
|
2034
2034
|
/**
|
|
2035
2035
|
* Ring Width
|
|
@@ -2050,7 +2050,7 @@ const F = (e) => {
|
|
|
2050
2050
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
|
|
2051
2051
|
*/
|
|
2052
2052
|
"ring-color": [{
|
|
2053
|
-
ring:
|
|
2053
|
+
ring: x()
|
|
2054
2054
|
}],
|
|
2055
2055
|
/**
|
|
2056
2056
|
* Ring Offset Width
|
|
@@ -2059,7 +2059,7 @@ const F = (e) => {
|
|
|
2059
2059
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
2060
2060
|
*/
|
|
2061
2061
|
"ring-offset-w": [{
|
|
2062
|
-
"ring-offset": [R,
|
|
2062
|
+
"ring-offset": [R, ne]
|
|
2063
2063
|
}],
|
|
2064
2064
|
/**
|
|
2065
2065
|
* Ring Offset Color
|
|
@@ -2068,7 +2068,7 @@ const F = (e) => {
|
|
|
2068
2068
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
2069
2069
|
*/
|
|
2070
2070
|
"ring-offset-color": [{
|
|
2071
|
-
"ring-offset":
|
|
2071
|
+
"ring-offset": x()
|
|
2072
2072
|
}],
|
|
2073
2073
|
/**
|
|
2074
2074
|
* Inset Ring Width
|
|
@@ -2082,7 +2082,7 @@ const F = (e) => {
|
|
|
2082
2082
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
|
|
2083
2083
|
*/
|
|
2084
2084
|
"inset-ring-color": [{
|
|
2085
|
-
"inset-ring":
|
|
2085
|
+
"inset-ring": x()
|
|
2086
2086
|
}],
|
|
2087
2087
|
/**
|
|
2088
2088
|
* Text Shadow
|
|
@@ -2096,14 +2096,14 @@ const F = (e) => {
|
|
|
2096
2096
|
* @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
|
|
2097
2097
|
*/
|
|
2098
2098
|
"text-shadow-color": [{
|
|
2099
|
-
"text-shadow":
|
|
2099
|
+
"text-shadow": x()
|
|
2100
2100
|
}],
|
|
2101
2101
|
/**
|
|
2102
2102
|
* Opacity
|
|
2103
2103
|
* @see https://tailwindcss.com/docs/opacity
|
|
2104
2104
|
*/
|
|
2105
2105
|
opacity: [{
|
|
2106
|
-
opacity: [R,
|
|
2106
|
+
opacity: [R, b, v]
|
|
2107
2107
|
}],
|
|
2108
2108
|
/**
|
|
2109
2109
|
* Mix Blend Mode
|
|
@@ -2147,10 +2147,10 @@ const F = (e) => {
|
|
|
2147
2147
|
"mask-linear-to": I()
|
|
2148
2148
|
}],
|
|
2149
2149
|
"mask-image-linear-from-color": [{
|
|
2150
|
-
"mask-linear-from":
|
|
2150
|
+
"mask-linear-from": x()
|
|
2151
2151
|
}],
|
|
2152
2152
|
"mask-image-linear-to-color": [{
|
|
2153
|
-
"mask-linear-to":
|
|
2153
|
+
"mask-linear-to": x()
|
|
2154
2154
|
}],
|
|
2155
2155
|
"mask-image-t-from-pos": [{
|
|
2156
2156
|
"mask-t-from": I()
|
|
@@ -2159,10 +2159,10 @@ const F = (e) => {
|
|
|
2159
2159
|
"mask-t-to": I()
|
|
2160
2160
|
}],
|
|
2161
2161
|
"mask-image-t-from-color": [{
|
|
2162
|
-
"mask-t-from":
|
|
2162
|
+
"mask-t-from": x()
|
|
2163
2163
|
}],
|
|
2164
2164
|
"mask-image-t-to-color": [{
|
|
2165
|
-
"mask-t-to":
|
|
2165
|
+
"mask-t-to": x()
|
|
2166
2166
|
}],
|
|
2167
2167
|
"mask-image-r-from-pos": [{
|
|
2168
2168
|
"mask-r-from": I()
|
|
@@ -2171,10 +2171,10 @@ const F = (e) => {
|
|
|
2171
2171
|
"mask-r-to": I()
|
|
2172
2172
|
}],
|
|
2173
2173
|
"mask-image-r-from-color": [{
|
|
2174
|
-
"mask-r-from":
|
|
2174
|
+
"mask-r-from": x()
|
|
2175
2175
|
}],
|
|
2176
2176
|
"mask-image-r-to-color": [{
|
|
2177
|
-
"mask-r-to":
|
|
2177
|
+
"mask-r-to": x()
|
|
2178
2178
|
}],
|
|
2179
2179
|
"mask-image-b-from-pos": [{
|
|
2180
2180
|
"mask-b-from": I()
|
|
@@ -2183,10 +2183,10 @@ const F = (e) => {
|
|
|
2183
2183
|
"mask-b-to": I()
|
|
2184
2184
|
}],
|
|
2185
2185
|
"mask-image-b-from-color": [{
|
|
2186
|
-
"mask-b-from":
|
|
2186
|
+
"mask-b-from": x()
|
|
2187
2187
|
}],
|
|
2188
2188
|
"mask-image-b-to-color": [{
|
|
2189
|
-
"mask-b-to":
|
|
2189
|
+
"mask-b-to": x()
|
|
2190
2190
|
}],
|
|
2191
2191
|
"mask-image-l-from-pos": [{
|
|
2192
2192
|
"mask-l-from": I()
|
|
@@ -2195,10 +2195,10 @@ const F = (e) => {
|
|
|
2195
2195
|
"mask-l-to": I()
|
|
2196
2196
|
}],
|
|
2197
2197
|
"mask-image-l-from-color": [{
|
|
2198
|
-
"mask-l-from":
|
|
2198
|
+
"mask-l-from": x()
|
|
2199
2199
|
}],
|
|
2200
2200
|
"mask-image-l-to-color": [{
|
|
2201
|
-
"mask-l-to":
|
|
2201
|
+
"mask-l-to": x()
|
|
2202
2202
|
}],
|
|
2203
2203
|
"mask-image-x-from-pos": [{
|
|
2204
2204
|
"mask-x-from": I()
|
|
@@ -2207,10 +2207,10 @@ const F = (e) => {
|
|
|
2207
2207
|
"mask-x-to": I()
|
|
2208
2208
|
}],
|
|
2209
2209
|
"mask-image-x-from-color": [{
|
|
2210
|
-
"mask-x-from":
|
|
2210
|
+
"mask-x-from": x()
|
|
2211
2211
|
}],
|
|
2212
2212
|
"mask-image-x-to-color": [{
|
|
2213
|
-
"mask-x-to":
|
|
2213
|
+
"mask-x-to": x()
|
|
2214
2214
|
}],
|
|
2215
2215
|
"mask-image-y-from-pos": [{
|
|
2216
2216
|
"mask-y-from": I()
|
|
@@ -2219,13 +2219,13 @@ const F = (e) => {
|
|
|
2219
2219
|
"mask-y-to": I()
|
|
2220
2220
|
}],
|
|
2221
2221
|
"mask-image-y-from-color": [{
|
|
2222
|
-
"mask-y-from":
|
|
2222
|
+
"mask-y-from": x()
|
|
2223
2223
|
}],
|
|
2224
2224
|
"mask-image-y-to-color": [{
|
|
2225
|
-
"mask-y-to":
|
|
2225
|
+
"mask-y-to": x()
|
|
2226
2226
|
}],
|
|
2227
2227
|
"mask-image-radial": [{
|
|
2228
|
-
"mask-radial": [
|
|
2228
|
+
"mask-radial": [b, v]
|
|
2229
2229
|
}],
|
|
2230
2230
|
"mask-image-radial-from-pos": [{
|
|
2231
2231
|
"mask-radial-from": I()
|
|
@@ -2234,10 +2234,10 @@ const F = (e) => {
|
|
|
2234
2234
|
"mask-radial-to": I()
|
|
2235
2235
|
}],
|
|
2236
2236
|
"mask-image-radial-from-color": [{
|
|
2237
|
-
"mask-radial-from":
|
|
2237
|
+
"mask-radial-from": x()
|
|
2238
2238
|
}],
|
|
2239
2239
|
"mask-image-radial-to-color": [{
|
|
2240
|
-
"mask-radial-to":
|
|
2240
|
+
"mask-radial-to": x()
|
|
2241
2241
|
}],
|
|
2242
2242
|
"mask-image-radial-shape": [{
|
|
2243
2243
|
"mask-radial": ["circle", "ellipse"]
|
|
@@ -2261,10 +2261,10 @@ const F = (e) => {
|
|
|
2261
2261
|
"mask-conic-to": I()
|
|
2262
2262
|
}],
|
|
2263
2263
|
"mask-image-conic-from-color": [{
|
|
2264
|
-
"mask-conic-from":
|
|
2264
|
+
"mask-conic-from": x()
|
|
2265
2265
|
}],
|
|
2266
2266
|
"mask-image-conic-to-color": [{
|
|
2267
|
-
"mask-conic-to":
|
|
2267
|
+
"mask-conic-to": x()
|
|
2268
2268
|
}],
|
|
2269
2269
|
/**
|
|
2270
2270
|
* Mask Mode
|
|
@@ -2313,7 +2313,7 @@ const F = (e) => {
|
|
|
2313
2313
|
* @see https://tailwindcss.com/docs/mask-image
|
|
2314
2314
|
*/
|
|
2315
2315
|
"mask-image": [{
|
|
2316
|
-
mask: ["none",
|
|
2316
|
+
mask: ["none", b, v]
|
|
2317
2317
|
}],
|
|
2318
2318
|
// ---------------
|
|
2319
2319
|
// --- Filters ---
|
|
@@ -2327,7 +2327,7 @@ const F = (e) => {
|
|
|
2327
2327
|
// Deprecated since Tailwind CSS v3.0.0
|
|
2328
2328
|
"",
|
|
2329
2329
|
"none",
|
|
2330
|
-
|
|
2330
|
+
b,
|
|
2331
2331
|
v
|
|
2332
2332
|
]
|
|
2333
2333
|
}],
|
|
@@ -2343,14 +2343,14 @@ const F = (e) => {
|
|
|
2343
2343
|
* @see https://tailwindcss.com/docs/brightness
|
|
2344
2344
|
*/
|
|
2345
2345
|
brightness: [{
|
|
2346
|
-
brightness: [R,
|
|
2346
|
+
brightness: [R, b, v]
|
|
2347
2347
|
}],
|
|
2348
2348
|
/**
|
|
2349
2349
|
* Contrast
|
|
2350
2350
|
* @see https://tailwindcss.com/docs/contrast
|
|
2351
2351
|
*/
|
|
2352
2352
|
contrast: [{
|
|
2353
|
-
contrast: [R,
|
|
2353
|
+
contrast: [R, b, v]
|
|
2354
2354
|
}],
|
|
2355
2355
|
/**
|
|
2356
2356
|
* Drop Shadow
|
|
@@ -2371,42 +2371,42 @@ const F = (e) => {
|
|
|
2371
2371
|
* @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
|
|
2372
2372
|
*/
|
|
2373
2373
|
"drop-shadow-color": [{
|
|
2374
|
-
"drop-shadow":
|
|
2374
|
+
"drop-shadow": x()
|
|
2375
2375
|
}],
|
|
2376
2376
|
/**
|
|
2377
2377
|
* Grayscale
|
|
2378
2378
|
* @see https://tailwindcss.com/docs/grayscale
|
|
2379
2379
|
*/
|
|
2380
2380
|
grayscale: [{
|
|
2381
|
-
grayscale: ["", R,
|
|
2381
|
+
grayscale: ["", R, b, v]
|
|
2382
2382
|
}],
|
|
2383
2383
|
/**
|
|
2384
2384
|
* Hue Rotate
|
|
2385
2385
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
2386
2386
|
*/
|
|
2387
2387
|
"hue-rotate": [{
|
|
2388
|
-
"hue-rotate": [R,
|
|
2388
|
+
"hue-rotate": [R, b, v]
|
|
2389
2389
|
}],
|
|
2390
2390
|
/**
|
|
2391
2391
|
* Invert
|
|
2392
2392
|
* @see https://tailwindcss.com/docs/invert
|
|
2393
2393
|
*/
|
|
2394
2394
|
invert: [{
|
|
2395
|
-
invert: ["", R,
|
|
2395
|
+
invert: ["", R, b, v]
|
|
2396
2396
|
}],
|
|
2397
2397
|
/**
|
|
2398
2398
|
* Saturate
|
|
2399
2399
|
* @see https://tailwindcss.com/docs/saturate
|
|
2400
2400
|
*/
|
|
2401
2401
|
saturate: [{
|
|
2402
|
-
saturate: [R,
|
|
2402
|
+
saturate: [R, b, v]
|
|
2403
2403
|
}],
|
|
2404
2404
|
/**
|
|
2405
2405
|
* Sepia
|
|
2406
2406
|
* @see https://tailwindcss.com/docs/sepia
|
|
2407
2407
|
*/
|
|
2408
2408
|
sepia: [{
|
|
2409
|
-
sepia: ["", R,
|
|
2409
|
+
sepia: ["", R, b, v]
|
|
2410
2410
|
}],
|
|
2411
2411
|
/**
|
|
2412
2412
|
* Backdrop Filter
|
|
@@ -2417,7 +2417,7 @@ const F = (e) => {
|
|
|
2417
2417
|
// Deprecated since Tailwind CSS v3.0.0
|
|
2418
2418
|
"",
|
|
2419
2419
|
"none",
|
|
2420
|
-
|
|
2420
|
+
b,
|
|
2421
2421
|
v
|
|
2422
2422
|
]
|
|
2423
2423
|
}],
|
|
@@ -2433,56 +2433,56 @@ const F = (e) => {
|
|
|
2433
2433
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
2434
2434
|
*/
|
|
2435
2435
|
"backdrop-brightness": [{
|
|
2436
|
-
"backdrop-brightness": [R,
|
|
2436
|
+
"backdrop-brightness": [R, b, v]
|
|
2437
2437
|
}],
|
|
2438
2438
|
/**
|
|
2439
2439
|
* Backdrop Contrast
|
|
2440
2440
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
2441
2441
|
*/
|
|
2442
2442
|
"backdrop-contrast": [{
|
|
2443
|
-
"backdrop-contrast": [R,
|
|
2443
|
+
"backdrop-contrast": [R, b, v]
|
|
2444
2444
|
}],
|
|
2445
2445
|
/**
|
|
2446
2446
|
* Backdrop Grayscale
|
|
2447
2447
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
2448
2448
|
*/
|
|
2449
2449
|
"backdrop-grayscale": [{
|
|
2450
|
-
"backdrop-grayscale": ["", R,
|
|
2450
|
+
"backdrop-grayscale": ["", R, b, v]
|
|
2451
2451
|
}],
|
|
2452
2452
|
/**
|
|
2453
2453
|
* Backdrop Hue Rotate
|
|
2454
2454
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
2455
2455
|
*/
|
|
2456
2456
|
"backdrop-hue-rotate": [{
|
|
2457
|
-
"backdrop-hue-rotate": [R,
|
|
2457
|
+
"backdrop-hue-rotate": [R, b, v]
|
|
2458
2458
|
}],
|
|
2459
2459
|
/**
|
|
2460
2460
|
* Backdrop Invert
|
|
2461
2461
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
2462
2462
|
*/
|
|
2463
2463
|
"backdrop-invert": [{
|
|
2464
|
-
"backdrop-invert": ["", R,
|
|
2464
|
+
"backdrop-invert": ["", R, b, v]
|
|
2465
2465
|
}],
|
|
2466
2466
|
/**
|
|
2467
2467
|
* Backdrop Opacity
|
|
2468
2468
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
2469
2469
|
*/
|
|
2470
2470
|
"backdrop-opacity": [{
|
|
2471
|
-
"backdrop-opacity": [R,
|
|
2471
|
+
"backdrop-opacity": [R, b, v]
|
|
2472
2472
|
}],
|
|
2473
2473
|
/**
|
|
2474
2474
|
* Backdrop Saturate
|
|
2475
2475
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
2476
2476
|
*/
|
|
2477
2477
|
"backdrop-saturate": [{
|
|
2478
|
-
"backdrop-saturate": [R,
|
|
2478
|
+
"backdrop-saturate": [R, b, v]
|
|
2479
2479
|
}],
|
|
2480
2480
|
/**
|
|
2481
2481
|
* Backdrop Sepia
|
|
2482
2482
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
2483
2483
|
*/
|
|
2484
2484
|
"backdrop-sepia": [{
|
|
2485
|
-
"backdrop-sepia": ["", R,
|
|
2485
|
+
"backdrop-sepia": ["", R, b, v]
|
|
2486
2486
|
}],
|
|
2487
2487
|
// --------------
|
|
2488
2488
|
// --- Tables ---
|
|
@@ -2499,21 +2499,21 @@ const F = (e) => {
|
|
|
2499
2499
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2500
2500
|
*/
|
|
2501
2501
|
"border-spacing": [{
|
|
2502
|
-
"border-spacing":
|
|
2502
|
+
"border-spacing": h()
|
|
2503
2503
|
}],
|
|
2504
2504
|
/**
|
|
2505
2505
|
* Border Spacing X
|
|
2506
2506
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2507
2507
|
*/
|
|
2508
2508
|
"border-spacing-x": [{
|
|
2509
|
-
"border-spacing-x":
|
|
2509
|
+
"border-spacing-x": h()
|
|
2510
2510
|
}],
|
|
2511
2511
|
/**
|
|
2512
2512
|
* Border Spacing Y
|
|
2513
2513
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2514
2514
|
*/
|
|
2515
2515
|
"border-spacing-y": [{
|
|
2516
|
-
"border-spacing-y":
|
|
2516
|
+
"border-spacing-y": h()
|
|
2517
2517
|
}],
|
|
2518
2518
|
/**
|
|
2519
2519
|
* Table Layout
|
|
@@ -2537,7 +2537,7 @@ const F = (e) => {
|
|
|
2537
2537
|
* @see https://tailwindcss.com/docs/transition-property
|
|
2538
2538
|
*/
|
|
2539
2539
|
transition: [{
|
|
2540
|
-
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none",
|
|
2540
|
+
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", b, v]
|
|
2541
2541
|
}],
|
|
2542
2542
|
/**
|
|
2543
2543
|
* Transition Behavior
|
|
@@ -2551,28 +2551,28 @@ const F = (e) => {
|
|
|
2551
2551
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
2552
2552
|
*/
|
|
2553
2553
|
duration: [{
|
|
2554
|
-
duration: [R, "initial",
|
|
2554
|
+
duration: [R, "initial", b, v]
|
|
2555
2555
|
}],
|
|
2556
2556
|
/**
|
|
2557
2557
|
* Transition Timing Function
|
|
2558
2558
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2559
2559
|
*/
|
|
2560
2560
|
ease: [{
|
|
2561
|
-
ease: ["linear", "initial", k,
|
|
2561
|
+
ease: ["linear", "initial", k, b, v]
|
|
2562
2562
|
}],
|
|
2563
2563
|
/**
|
|
2564
2564
|
* Transition Delay
|
|
2565
2565
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
2566
2566
|
*/
|
|
2567
2567
|
delay: [{
|
|
2568
|
-
delay: [R,
|
|
2568
|
+
delay: [R, b, v]
|
|
2569
2569
|
}],
|
|
2570
2570
|
/**
|
|
2571
2571
|
* Animation
|
|
2572
2572
|
* @see https://tailwindcss.com/docs/animation
|
|
2573
2573
|
*/
|
|
2574
2574
|
animate: [{
|
|
2575
|
-
animate: ["none", N,
|
|
2575
|
+
animate: ["none", N, b, v]
|
|
2576
2576
|
}],
|
|
2577
2577
|
// ------------------
|
|
2578
2578
|
// --- Transforms ---
|
|
@@ -2589,7 +2589,7 @@ const F = (e) => {
|
|
|
2589
2589
|
* @see https://tailwindcss.com/docs/perspective
|
|
2590
2590
|
*/
|
|
2591
2591
|
perspective: [{
|
|
2592
|
-
perspective: [f,
|
|
2592
|
+
perspective: [f, b, v]
|
|
2593
2593
|
}],
|
|
2594
2594
|
/**
|
|
2595
2595
|
* Perspective Origin
|
|
@@ -2603,28 +2603,28 @@ const F = (e) => {
|
|
|
2603
2603
|
* @see https://tailwindcss.com/docs/rotate
|
|
2604
2604
|
*/
|
|
2605
2605
|
rotate: [{
|
|
2606
|
-
rotate:
|
|
2606
|
+
rotate: B()
|
|
2607
2607
|
}],
|
|
2608
2608
|
/**
|
|
2609
2609
|
* Rotate X
|
|
2610
2610
|
* @see https://tailwindcss.com/docs/rotate
|
|
2611
2611
|
*/
|
|
2612
2612
|
"rotate-x": [{
|
|
2613
|
-
"rotate-x":
|
|
2613
|
+
"rotate-x": B()
|
|
2614
2614
|
}],
|
|
2615
2615
|
/**
|
|
2616
2616
|
* Rotate Y
|
|
2617
2617
|
* @see https://tailwindcss.com/docs/rotate
|
|
2618
2618
|
*/
|
|
2619
2619
|
"rotate-y": [{
|
|
2620
|
-
"rotate-y":
|
|
2620
|
+
"rotate-y": B()
|
|
2621
2621
|
}],
|
|
2622
2622
|
/**
|
|
2623
2623
|
* Rotate Z
|
|
2624
2624
|
* @see https://tailwindcss.com/docs/rotate
|
|
2625
2625
|
*/
|
|
2626
2626
|
"rotate-z": [{
|
|
2627
|
-
"rotate-z":
|
|
2627
|
+
"rotate-z": B()
|
|
2628
2628
|
}],
|
|
2629
2629
|
/**
|
|
2630
2630
|
* Scale
|
|
@@ -2685,7 +2685,7 @@ const F = (e) => {
|
|
|
2685
2685
|
* @see https://tailwindcss.com/docs/transform
|
|
2686
2686
|
*/
|
|
2687
2687
|
transform: [{
|
|
2688
|
-
transform: [
|
|
2688
|
+
transform: [b, v, "", "none", "gpu", "cpu"]
|
|
2689
2689
|
}],
|
|
2690
2690
|
/**
|
|
2691
2691
|
* Transform Origin
|
|
@@ -2742,7 +2742,7 @@ const F = (e) => {
|
|
|
2742
2742
|
* @see https://tailwindcss.com/docs/accent-color
|
|
2743
2743
|
*/
|
|
2744
2744
|
accent: [{
|
|
2745
|
-
accent:
|
|
2745
|
+
accent: x()
|
|
2746
2746
|
}],
|
|
2747
2747
|
/**
|
|
2748
2748
|
* Appearance
|
|
@@ -2756,7 +2756,7 @@ const F = (e) => {
|
|
|
2756
2756
|
* @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
|
|
2757
2757
|
*/
|
|
2758
2758
|
"caret-color": [{
|
|
2759
|
-
caret:
|
|
2759
|
+
caret: x()
|
|
2760
2760
|
}],
|
|
2761
2761
|
/**
|
|
2762
2762
|
* Color Scheme
|
|
@@ -2770,7 +2770,7 @@ const F = (e) => {
|
|
|
2770
2770
|
* @see https://tailwindcss.com/docs/cursor
|
|
2771
2771
|
*/
|
|
2772
2772
|
cursor: [{
|
|
2773
|
-
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out",
|
|
2773
|
+
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", b, v]
|
|
2774
2774
|
}],
|
|
2775
2775
|
/**
|
|
2776
2776
|
* Field Sizing
|
|
@@ -2805,126 +2805,126 @@ const F = (e) => {
|
|
|
2805
2805
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2806
2806
|
*/
|
|
2807
2807
|
"scroll-m": [{
|
|
2808
|
-
"scroll-m":
|
|
2808
|
+
"scroll-m": h()
|
|
2809
2809
|
}],
|
|
2810
2810
|
/**
|
|
2811
2811
|
* Scroll Margin X
|
|
2812
2812
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2813
2813
|
*/
|
|
2814
2814
|
"scroll-mx": [{
|
|
2815
|
-
"scroll-mx":
|
|
2815
|
+
"scroll-mx": h()
|
|
2816
2816
|
}],
|
|
2817
2817
|
/**
|
|
2818
2818
|
* Scroll Margin Y
|
|
2819
2819
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2820
2820
|
*/
|
|
2821
2821
|
"scroll-my": [{
|
|
2822
|
-
"scroll-my":
|
|
2822
|
+
"scroll-my": h()
|
|
2823
2823
|
}],
|
|
2824
2824
|
/**
|
|
2825
2825
|
* Scroll Margin Start
|
|
2826
2826
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2827
2827
|
*/
|
|
2828
2828
|
"scroll-ms": [{
|
|
2829
|
-
"scroll-ms":
|
|
2829
|
+
"scroll-ms": h()
|
|
2830
2830
|
}],
|
|
2831
2831
|
/**
|
|
2832
2832
|
* Scroll Margin End
|
|
2833
2833
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2834
2834
|
*/
|
|
2835
2835
|
"scroll-me": [{
|
|
2836
|
-
"scroll-me":
|
|
2836
|
+
"scroll-me": h()
|
|
2837
2837
|
}],
|
|
2838
2838
|
/**
|
|
2839
2839
|
* Scroll Margin Top
|
|
2840
2840
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2841
2841
|
*/
|
|
2842
2842
|
"scroll-mt": [{
|
|
2843
|
-
"scroll-mt":
|
|
2843
|
+
"scroll-mt": h()
|
|
2844
2844
|
}],
|
|
2845
2845
|
/**
|
|
2846
2846
|
* Scroll Margin Right
|
|
2847
2847
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2848
2848
|
*/
|
|
2849
2849
|
"scroll-mr": [{
|
|
2850
|
-
"scroll-mr":
|
|
2850
|
+
"scroll-mr": h()
|
|
2851
2851
|
}],
|
|
2852
2852
|
/**
|
|
2853
2853
|
* Scroll Margin Bottom
|
|
2854
2854
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2855
2855
|
*/
|
|
2856
2856
|
"scroll-mb": [{
|
|
2857
|
-
"scroll-mb":
|
|
2857
|
+
"scroll-mb": h()
|
|
2858
2858
|
}],
|
|
2859
2859
|
/**
|
|
2860
2860
|
* Scroll Margin Left
|
|
2861
2861
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2862
2862
|
*/
|
|
2863
2863
|
"scroll-ml": [{
|
|
2864
|
-
"scroll-ml":
|
|
2864
|
+
"scroll-ml": h()
|
|
2865
2865
|
}],
|
|
2866
2866
|
/**
|
|
2867
2867
|
* Scroll Padding
|
|
2868
2868
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2869
2869
|
*/
|
|
2870
2870
|
"scroll-p": [{
|
|
2871
|
-
"scroll-p":
|
|
2871
|
+
"scroll-p": h()
|
|
2872
2872
|
}],
|
|
2873
2873
|
/**
|
|
2874
2874
|
* Scroll Padding X
|
|
2875
2875
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2876
2876
|
*/
|
|
2877
2877
|
"scroll-px": [{
|
|
2878
|
-
"scroll-px":
|
|
2878
|
+
"scroll-px": h()
|
|
2879
2879
|
}],
|
|
2880
2880
|
/**
|
|
2881
2881
|
* Scroll Padding Y
|
|
2882
2882
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2883
2883
|
*/
|
|
2884
2884
|
"scroll-py": [{
|
|
2885
|
-
"scroll-py":
|
|
2885
|
+
"scroll-py": h()
|
|
2886
2886
|
}],
|
|
2887
2887
|
/**
|
|
2888
2888
|
* Scroll Padding Start
|
|
2889
2889
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2890
2890
|
*/
|
|
2891
2891
|
"scroll-ps": [{
|
|
2892
|
-
"scroll-ps":
|
|
2892
|
+
"scroll-ps": h()
|
|
2893
2893
|
}],
|
|
2894
2894
|
/**
|
|
2895
2895
|
* Scroll Padding End
|
|
2896
2896
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2897
2897
|
*/
|
|
2898
2898
|
"scroll-pe": [{
|
|
2899
|
-
"scroll-pe":
|
|
2899
|
+
"scroll-pe": h()
|
|
2900
2900
|
}],
|
|
2901
2901
|
/**
|
|
2902
2902
|
* Scroll Padding Top
|
|
2903
2903
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2904
2904
|
*/
|
|
2905
2905
|
"scroll-pt": [{
|
|
2906
|
-
"scroll-pt":
|
|
2906
|
+
"scroll-pt": h()
|
|
2907
2907
|
}],
|
|
2908
2908
|
/**
|
|
2909
2909
|
* Scroll Padding Right
|
|
2910
2910
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2911
2911
|
*/
|
|
2912
2912
|
"scroll-pr": [{
|
|
2913
|
-
"scroll-pr":
|
|
2913
|
+
"scroll-pr": h()
|
|
2914
2914
|
}],
|
|
2915
2915
|
/**
|
|
2916
2916
|
* Scroll Padding Bottom
|
|
2917
2917
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2918
2918
|
*/
|
|
2919
2919
|
"scroll-pb": [{
|
|
2920
|
-
"scroll-pb":
|
|
2920
|
+
"scroll-pb": h()
|
|
2921
2921
|
}],
|
|
2922
2922
|
/**
|
|
2923
2923
|
* Scroll Padding Left
|
|
2924
2924
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2925
2925
|
*/
|
|
2926
2926
|
"scroll-pl": [{
|
|
2927
|
-
"scroll-pl":
|
|
2927
|
+
"scroll-pl": h()
|
|
2928
2928
|
}],
|
|
2929
2929
|
/**
|
|
2930
2930
|
* Scroll Snap Align
|
|
@@ -2992,7 +2992,7 @@ const F = (e) => {
|
|
|
2992
2992
|
* @see https://tailwindcss.com/docs/will-change
|
|
2993
2993
|
*/
|
|
2994
2994
|
"will-change": [{
|
|
2995
|
-
"will-change": ["auto", "scroll", "contents", "transform",
|
|
2995
|
+
"will-change": ["auto", "scroll", "contents", "transform", b, v]
|
|
2996
2996
|
}],
|
|
2997
2997
|
// -----------
|
|
2998
2998
|
// --- SVG ---
|
|
@@ -3002,21 +3002,21 @@ const F = (e) => {
|
|
|
3002
3002
|
* @see https://tailwindcss.com/docs/fill
|
|
3003
3003
|
*/
|
|
3004
3004
|
fill: [{
|
|
3005
|
-
fill: ["none", ...
|
|
3005
|
+
fill: ["none", ...x()]
|
|
3006
3006
|
}],
|
|
3007
3007
|
/**
|
|
3008
3008
|
* Stroke Width
|
|
3009
3009
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
3010
3010
|
*/
|
|
3011
3011
|
"stroke-w": [{
|
|
3012
|
-
stroke: [R, ye,
|
|
3012
|
+
stroke: [R, ye, ne, Fe]
|
|
3013
3013
|
}],
|
|
3014
3014
|
/**
|
|
3015
3015
|
* Stroke
|
|
3016
3016
|
* @see https://tailwindcss.com/docs/stroke
|
|
3017
3017
|
*/
|
|
3018
3018
|
stroke: [{
|
|
3019
|
-
stroke: ["none", ...
|
|
3019
|
+
stroke: ["none", ...x()]
|
|
3020
3020
|
}],
|
|
3021
3021
|
// ---------------------
|
|
3022
3022
|
// --- Accessibility ---
|
|
@@ -3084,11 +3084,11 @@ const F = (e) => {
|
|
|
3084
3084
|
},
|
|
3085
3085
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
3086
3086
|
};
|
|
3087
|
-
},
|
|
3088
|
-
function
|
|
3089
|
-
return
|
|
3087
|
+
}, mn = /* @__PURE__ */ Yr(fn);
|
|
3088
|
+
function ee(...e) {
|
|
3089
|
+
return mn(Ot(e));
|
|
3090
3090
|
}
|
|
3091
|
-
const ft = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, mt =
|
|
3091
|
+
const ft = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, mt = Ot, Bt = (e, t) => (r) => {
|
|
3092
3092
|
var n;
|
|
3093
3093
|
if ((t == null ? void 0 : t.variants) == null) return mt(e, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
|
|
3094
3094
|
const { variants: o, defaultVariants: a } = t, i = Object.keys(o).map((u) => {
|
|
@@ -3126,7 +3126,7 @@ const ft = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, mt = Nt, m
|
|
|
3126
3126
|
sm: "h-8 px-3 text-xs",
|
|
3127
3127
|
lg: "h-10 px-6",
|
|
3128
3128
|
icon: "h-9 w-9"
|
|
3129
|
-
}, vn =
|
|
3129
|
+
}, vn = Bt(
|
|
3130
3130
|
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:ring-2 focus-visible:ring-offset-2",
|
|
3131
3131
|
{
|
|
3132
3132
|
variants: {
|
|
@@ -3139,7 +3139,7 @@ const ft = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, mt = Nt, m
|
|
|
3139
3139
|
}
|
|
3140
3140
|
}
|
|
3141
3141
|
);
|
|
3142
|
-
function
|
|
3142
|
+
function da({
|
|
3143
3143
|
className: e,
|
|
3144
3144
|
variant: t,
|
|
3145
3145
|
size: r,
|
|
@@ -3147,12 +3147,12 @@ function ca({
|
|
|
3147
3147
|
children: o,
|
|
3148
3148
|
...a
|
|
3149
3149
|
}) {
|
|
3150
|
-
const i = n ?
|
|
3151
|
-
return /* @__PURE__ */
|
|
3150
|
+
const i = n ? Tt : "button";
|
|
3151
|
+
return /* @__PURE__ */ w.jsx(
|
|
3152
3152
|
i,
|
|
3153
3153
|
{
|
|
3154
3154
|
"data-slot": "button",
|
|
3155
|
-
className:
|
|
3155
|
+
className: ee(vn({ variant: t, size: r }), e),
|
|
3156
3156
|
...a,
|
|
3157
3157
|
children: o
|
|
3158
3158
|
}
|
|
@@ -3164,10 +3164,10 @@ function Q(e, t, { checkForDefaultPrevented: r = !0 } = {}) {
|
|
|
3164
3164
|
return t == null ? void 0 : t(o);
|
|
3165
3165
|
};
|
|
3166
3166
|
}
|
|
3167
|
-
function
|
|
3167
|
+
function bn(e, t) {
|
|
3168
3168
|
const r = l.createContext(t), n = (a) => {
|
|
3169
3169
|
const { children: i, ...s } = a, c = l.useMemo(() => s, Object.values(s));
|
|
3170
|
-
return /* @__PURE__ */
|
|
3170
|
+
return /* @__PURE__ */ w.jsx(r.Provider, { value: c, children: i });
|
|
3171
3171
|
};
|
|
3172
3172
|
n.displayName = e + "Provider";
|
|
3173
3173
|
function o(a) {
|
|
@@ -3178,7 +3178,7 @@ function hn(e, t) {
|
|
|
3178
3178
|
}
|
|
3179
3179
|
return [n, o];
|
|
3180
3180
|
}
|
|
3181
|
-
function
|
|
3181
|
+
function hn(e, t = []) {
|
|
3182
3182
|
let r = [];
|
|
3183
3183
|
function n(a, i) {
|
|
3184
3184
|
const s = l.createContext(i), c = r.length;
|
|
@@ -3186,7 +3186,7 @@ function bn(e, t = []) {
|
|
|
3186
3186
|
const u = (p) => {
|
|
3187
3187
|
var k;
|
|
3188
3188
|
const { scope: g, children: E, ...S } = p, f = ((k = g == null ? void 0 : g[e]) == null ? void 0 : k[c]) || s, y = l.useMemo(() => S, Object.values(S));
|
|
3189
|
-
return /* @__PURE__ */
|
|
3189
|
+
return /* @__PURE__ */ w.jsx(f.Provider, { value: y, children: E });
|
|
3190
3190
|
};
|
|
3191
3191
|
u.displayName = a + "Provider";
|
|
3192
3192
|
function m(p, g) {
|
|
@@ -3307,12 +3307,12 @@ var Rn = [
|
|
|
3307
3307
|
], H = Rn.reduce((e, t) => {
|
|
3308
3308
|
const r = /* @__PURE__ */ et(`Primitive.${t}`), n = l.forwardRef((o, a) => {
|
|
3309
3309
|
const { asChild: i, ...s } = o, c = i ? r : t;
|
|
3310
|
-
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */
|
|
3310
|
+
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ w.jsx(c, { ...s, ref: a });
|
|
3311
3311
|
});
|
|
3312
3312
|
return n.displayName = `Primitive.${t}`, { ...e, [t]: n };
|
|
3313
3313
|
}, {});
|
|
3314
3314
|
function Pn(e, t) {
|
|
3315
|
-
e &&
|
|
3315
|
+
e && Cr.flushSync(() => e.dispatchEvent(t));
|
|
3316
3316
|
}
|
|
3317
3317
|
function xe(e) {
|
|
3318
3318
|
const t = l.useRef(e);
|
|
@@ -3332,11 +3332,11 @@ function An(e, t = globalThis == null ? void 0 : globalThis.document) {
|
|
|
3332
3332
|
return t.addEventListener("keydown", n, { capture: !0 }), () => t.removeEventListener("keydown", n, { capture: !0 });
|
|
3333
3333
|
}, [r, t]);
|
|
3334
3334
|
}
|
|
3335
|
-
var Tn = "DismissableLayer", Je = "dismissableLayer.update", Nn = "dismissableLayer.pointerDownOutside", On = "dismissableLayer.focusOutside", pt,
|
|
3335
|
+
var Tn = "DismissableLayer", Je = "dismissableLayer.update", Nn = "dismissableLayer.pointerDownOutside", On = "dismissableLayer.focusOutside", pt, Ut = l.createContext({
|
|
3336
3336
|
layers: /* @__PURE__ */ new Set(),
|
|
3337
3337
|
layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
|
|
3338
3338
|
branches: /* @__PURE__ */ new Set()
|
|
3339
|
-
}),
|
|
3339
|
+
}), Vt = l.forwardRef(
|
|
3340
3340
|
(e, t) => {
|
|
3341
3341
|
const {
|
|
3342
3342
|
disableOutsidePointerEvents: r = !1,
|
|
@@ -3346,12 +3346,12 @@ var Tn = "DismissableLayer", Je = "dismissableLayer.update", Nn = "dismissableLa
|
|
|
3346
3346
|
onInteractOutside: i,
|
|
3347
3347
|
onDismiss: s,
|
|
3348
3348
|
...c
|
|
3349
|
-
} = e, u = l.useContext(
|
|
3350
|
-
const
|
|
3349
|
+
} = e, u = l.useContext(Ut), [m, p] = l.useState(null), g = (m == null ? void 0 : m.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, E] = l.useState({}), S = ae(t, (P) => p(P)), f = Array.from(u.layers), [y] = [...u.layersWithOutsidePointerEventsDisabled].slice(-1), k = f.indexOf(y), N = m ? f.indexOf(m) : -1, O = u.layersWithOutsidePointerEventsDisabled.size > 0, A = N >= k, _ = Dn((P) => {
|
|
3350
|
+
const h = P.target, z = [...u.branches].some((K) => K.contains(h));
|
|
3351
3351
|
!A || z || (o == null || o(P), i == null || i(P), P.defaultPrevented || s == null || s());
|
|
3352
3352
|
}, g), j = In((P) => {
|
|
3353
|
-
const
|
|
3354
|
-
[...u.branches].some((K) => K.contains(
|
|
3353
|
+
const h = P.target;
|
|
3354
|
+
[...u.branches].some((K) => K.contains(h)) || (a == null || a(P), i == null || i(P), P.defaultPrevented || s == null || s());
|
|
3355
3355
|
}, g);
|
|
3356
3356
|
return An((P) => {
|
|
3357
3357
|
N === u.layers.size - 1 && (n == null || n(P), !P.defaultPrevented && s && (P.preventDefault(), s()));
|
|
@@ -3365,7 +3365,7 @@ var Tn = "DismissableLayer", Je = "dismissableLayer.update", Nn = "dismissableLa
|
|
|
3365
3365
|
}, [m, u]), l.useEffect(() => {
|
|
3366
3366
|
const P = () => E({});
|
|
3367
3367
|
return document.addEventListener(Je, P), () => document.removeEventListener(Je, P);
|
|
3368
|
-
}, []), /* @__PURE__ */
|
|
3368
|
+
}, []), /* @__PURE__ */ w.jsx(
|
|
3369
3369
|
H.div,
|
|
3370
3370
|
{
|
|
3371
3371
|
...c,
|
|
@@ -3384,16 +3384,16 @@ var Tn = "DismissableLayer", Je = "dismissableLayer.update", Nn = "dismissableLa
|
|
|
3384
3384
|
);
|
|
3385
3385
|
}
|
|
3386
3386
|
);
|
|
3387
|
-
|
|
3387
|
+
Vt.displayName = Tn;
|
|
3388
3388
|
var _n = "DismissableLayerBranch", Mn = l.forwardRef((e, t) => {
|
|
3389
|
-
const r = l.useContext(
|
|
3389
|
+
const r = l.useContext(Ut), n = l.useRef(null), o = ae(t, n);
|
|
3390
3390
|
return l.useEffect(() => {
|
|
3391
3391
|
const a = n.current;
|
|
3392
3392
|
if (a)
|
|
3393
3393
|
return r.branches.add(a), () => {
|
|
3394
3394
|
r.branches.delete(a);
|
|
3395
3395
|
};
|
|
3396
|
-
}, [r.branches]), /* @__PURE__ */
|
|
3396
|
+
}, [r.branches]), /* @__PURE__ */ w.jsx(H.div, { ...e, ref: o });
|
|
3397
3397
|
});
|
|
3398
3398
|
Mn.displayName = _n;
|
|
3399
3399
|
function Dn(e, t = globalThis == null ? void 0 : globalThis.document) {
|
|
@@ -3403,7 +3403,7 @@ function Dn(e, t = globalThis == null ? void 0 : globalThis.document) {
|
|
|
3403
3403
|
const a = (s) => {
|
|
3404
3404
|
if (s.target && !n.current) {
|
|
3405
3405
|
let c = function() {
|
|
3406
|
-
|
|
3406
|
+
Gt(
|
|
3407
3407
|
Nn,
|
|
3408
3408
|
r,
|
|
3409
3409
|
u,
|
|
@@ -3430,7 +3430,7 @@ function In(e, t = globalThis == null ? void 0 : globalThis.document) {
|
|
|
3430
3430
|
const r = xe(e), n = l.useRef(!1);
|
|
3431
3431
|
return l.useEffect(() => {
|
|
3432
3432
|
const o = (a) => {
|
|
3433
|
-
a.target && !n.current &&
|
|
3433
|
+
a.target && !n.current && Gt(On, r, { originalEvent: a }, {
|
|
3434
3434
|
discrete: !1
|
|
3435
3435
|
});
|
|
3436
3436
|
};
|
|
@@ -3444,18 +3444,18 @@ function gt() {
|
|
|
3444
3444
|
const e = new CustomEvent(Je);
|
|
3445
3445
|
document.dispatchEvent(e);
|
|
3446
3446
|
}
|
|
3447
|
-
function
|
|
3447
|
+
function Gt(e, t, r, { discrete: n }) {
|
|
3448
3448
|
const o = r.originalEvent.target, a = new CustomEvent(e, { bubbles: !1, cancelable: !0, detail: r });
|
|
3449
3449
|
t && o.addEventListener(e, t, { once: !0 }), n ? Pn(o, a) : o.dispatchEvent(a);
|
|
3450
3450
|
}
|
|
3451
|
-
var We = "focusScope.autoFocusOnMount", $e = "focusScope.autoFocusOnUnmount", vt = { bubbles: !1, cancelable: !0 }, jn = "FocusScope",
|
|
3451
|
+
var We = "focusScope.autoFocusOnMount", $e = "focusScope.autoFocusOnUnmount", vt = { bubbles: !1, cancelable: !0 }, jn = "FocusScope", Yt = l.forwardRef((e, t) => {
|
|
3452
3452
|
const {
|
|
3453
3453
|
loop: r = !1,
|
|
3454
3454
|
trapped: n = !1,
|
|
3455
3455
|
onMountAutoFocus: o,
|
|
3456
3456
|
onUnmountAutoFocus: a,
|
|
3457
3457
|
...i
|
|
3458
|
-
} = e, [s, c] = l.useState(null), u = xe(o), m = xe(a), p = l.useRef(null), g =
|
|
3458
|
+
} = e, [s, c] = l.useState(null), u = xe(o), m = xe(a), p = l.useRef(null), g = ae(t, (f) => c(f)), E = l.useRef({
|
|
3459
3459
|
paused: !1,
|
|
3460
3460
|
pause() {
|
|
3461
3461
|
this.paused = !0;
|
|
@@ -3487,16 +3487,16 @@ var We = "focusScope.autoFocusOnMount", $e = "focusScope.autoFocusOnUnmount", vt
|
|
|
3487
3487
|
}
|
|
3488
3488
|
}, [n, s, E.paused]), l.useEffect(() => {
|
|
3489
3489
|
if (s) {
|
|
3490
|
-
|
|
3490
|
+
ht.add(E);
|
|
3491
3491
|
const f = document.activeElement;
|
|
3492
3492
|
if (!s.contains(f)) {
|
|
3493
3493
|
const k = new CustomEvent(We, vt);
|
|
3494
|
-
s.addEventListener(We, u), s.dispatchEvent(k), k.defaultPrevented || (Ln(
|
|
3494
|
+
s.addEventListener(We, u), s.dispatchEvent(k), k.defaultPrevented || (Ln(Bn(Xt(s)), { select: !0 }), document.activeElement === f && J(s));
|
|
3495
3495
|
}
|
|
3496
3496
|
return () => {
|
|
3497
3497
|
s.removeEventListener(We, u), setTimeout(() => {
|
|
3498
3498
|
const k = new CustomEvent($e, vt);
|
|
3499
|
-
s.addEventListener($e, m), s.dispatchEvent(k), k.defaultPrevented || J(f ?? document.body, { select: !0 }), s.removeEventListener($e, m),
|
|
3499
|
+
s.addEventListener($e, m), s.dispatchEvent(k), k.defaultPrevented || J(f ?? document.body, { select: !0 }), s.removeEventListener($e, m), ht.remove(E);
|
|
3500
3500
|
}, 0);
|
|
3501
3501
|
};
|
|
3502
3502
|
}
|
|
@@ -3512,19 +3512,19 @@ var We = "focusScope.autoFocusOnMount", $e = "focusScope.autoFocusOnUnmount", vt
|
|
|
3512
3512
|
},
|
|
3513
3513
|
[r, n, E.paused]
|
|
3514
3514
|
);
|
|
3515
|
-
return /* @__PURE__ */
|
|
3515
|
+
return /* @__PURE__ */ w.jsx(H.div, { tabIndex: -1, ...i, ref: g, onKeyDown: S });
|
|
3516
3516
|
});
|
|
3517
|
-
|
|
3517
|
+
Yt.displayName = jn;
|
|
3518
3518
|
function Ln(e, { select: t = !1 } = {}) {
|
|
3519
3519
|
const r = document.activeElement;
|
|
3520
3520
|
for (const n of e)
|
|
3521
3521
|
if (J(n, { select: t }), document.activeElement !== r) return;
|
|
3522
3522
|
}
|
|
3523
3523
|
function Fn(e) {
|
|
3524
|
-
const t =
|
|
3524
|
+
const t = Xt(e), r = bt(t, e), n = bt(t.reverse(), e);
|
|
3525
3525
|
return [r, n];
|
|
3526
3526
|
}
|
|
3527
|
-
function
|
|
3527
|
+
function Xt(e) {
|
|
3528
3528
|
const t = [], r = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, {
|
|
3529
3529
|
acceptNode: (n) => {
|
|
3530
3530
|
const o = n.tagName === "INPUT" && n.type === "hidden";
|
|
@@ -3534,7 +3534,7 @@ function Gt(e) {
|
|
|
3534
3534
|
for (; r.nextNode(); ) t.push(r.currentNode);
|
|
3535
3535
|
return t;
|
|
3536
3536
|
}
|
|
3537
|
-
function
|
|
3537
|
+
function bt(e, t) {
|
|
3538
3538
|
for (const r of e)
|
|
3539
3539
|
if (!zn(r, { upTo: t })) return r;
|
|
3540
3540
|
}
|
|
@@ -3556,7 +3556,7 @@ function J(e, { select: t = !1 } = {}) {
|
|
|
3556
3556
|
e.focus({ preventScroll: !0 }), e !== r && Wn(e) && t && e.select();
|
|
3557
3557
|
}
|
|
3558
3558
|
}
|
|
3559
|
-
var
|
|
3559
|
+
var ht = $n();
|
|
3560
3560
|
function $n() {
|
|
3561
3561
|
let e = [];
|
|
3562
3562
|
return {
|
|
@@ -3574,22 +3574,22 @@ function yt(e, t) {
|
|
|
3574
3574
|
const r = [...e], n = r.indexOf(t);
|
|
3575
3575
|
return n !== -1 && r.splice(n, 1), r;
|
|
3576
3576
|
}
|
|
3577
|
-
function
|
|
3577
|
+
function Bn(e) {
|
|
3578
3578
|
return e.filter((t) => t.tagName !== "A");
|
|
3579
3579
|
}
|
|
3580
|
-
var
|
|
3580
|
+
var Un = "Portal", Ht = l.forwardRef((e, t) => {
|
|
3581
3581
|
var s;
|
|
3582
3582
|
const { container: r, ...n } = e, [o, a] = l.useState(!1);
|
|
3583
3583
|
we(() => a(!0), []);
|
|
3584
3584
|
const i = r || o && ((s = globalThis == null ? void 0 : globalThis.document) == null ? void 0 : s.body);
|
|
3585
|
-
return i ?
|
|
3585
|
+
return i ? Sr.createPortal(/* @__PURE__ */ w.jsx(H.div, { ...n, ref: t }), i) : null;
|
|
3586
3586
|
});
|
|
3587
|
-
|
|
3587
|
+
Ht.displayName = Un;
|
|
3588
3588
|
function Vn(e, t) {
|
|
3589
3589
|
return l.useReducer((r, n) => t[r][n] ?? r, e);
|
|
3590
3590
|
}
|
|
3591
3591
|
var De = (e) => {
|
|
3592
|
-
const { present: t, children: r } = e, n = Gn(t), o = typeof r == "function" ? r({ present: n.isPresent }) : l.Children.only(r), a =
|
|
3592
|
+
const { present: t, children: r } = e, n = Gn(t), o = typeof r == "function" ? r({ present: n.isPresent }) : l.Children.only(r), a = ae(n.ref, Yn(o));
|
|
3593
3593
|
return typeof r == "function" || n.isPresent ? l.cloneElement(o, { ref: a }) : null;
|
|
3594
3594
|
};
|
|
3595
3595
|
De.displayName = "Presence";
|
|
@@ -3650,12 +3650,12 @@ function Yn(e) {
|
|
|
3650
3650
|
let t = (n = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : n.get, r = t && "isReactWarning" in t && t.isReactWarning;
|
|
3651
3651
|
return r ? e.ref : (t = (o = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : o.get, r = t && "isReactWarning" in t && t.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);
|
|
3652
3652
|
}
|
|
3653
|
-
var
|
|
3653
|
+
var Be = 0;
|
|
3654
3654
|
function Xn() {
|
|
3655
3655
|
l.useEffect(() => {
|
|
3656
3656
|
const e = document.querySelectorAll("[data-radix-focus-guard]");
|
|
3657
|
-
return document.body.insertAdjacentElement("afterbegin", e[0] ?? wt()), document.body.insertAdjacentElement("beforeend", e[1] ?? wt()),
|
|
3658
|
-
|
|
3657
|
+
return document.body.insertAdjacentElement("afterbegin", e[0] ?? wt()), document.body.insertAdjacentElement("beforeend", e[1] ?? wt()), Be++, () => {
|
|
3658
|
+
Be === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((t) => t.remove()), Be--;
|
|
3659
3659
|
};
|
|
3660
3660
|
}, []);
|
|
3661
3661
|
}
|
|
@@ -3672,7 +3672,7 @@ var G = function() {
|
|
|
3672
3672
|
return t;
|
|
3673
3673
|
}, G.apply(this, arguments);
|
|
3674
3674
|
};
|
|
3675
|
-
function
|
|
3675
|
+
function Kt(e, t) {
|
|
3676
3676
|
var r = {};
|
|
3677
3677
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3678
3678
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -3686,11 +3686,11 @@ function Hn(e, t, r) {
|
|
|
3686
3686
|
return e.concat(a || Array.prototype.slice.call(t));
|
|
3687
3687
|
}
|
|
3688
3688
|
var Oe = "right-scroll-bar-position", _e = "width-before-scroll-bar", Kn = "with-scroll-bars-hidden", Zn = "--removed-body-scroll-bar-size";
|
|
3689
|
-
function
|
|
3689
|
+
function Ue(e, t) {
|
|
3690
3690
|
return typeof e == "function" ? e(t) : e && (e.current = t), e;
|
|
3691
3691
|
}
|
|
3692
3692
|
function qn(e, t) {
|
|
3693
|
-
var r =
|
|
3693
|
+
var r = kr(function() {
|
|
3694
3694
|
return {
|
|
3695
3695
|
// value
|
|
3696
3696
|
value: e,
|
|
@@ -3714,7 +3714,7 @@ var Jn = typeof window < "u" ? l.useLayoutEffect : l.useEffect, xt = /* @__PURE_
|
|
|
3714
3714
|
function Qn(e, t) {
|
|
3715
3715
|
var r = qn(null, function(n) {
|
|
3716
3716
|
return e.forEach(function(o) {
|
|
3717
|
-
return
|
|
3717
|
+
return Ue(o, n);
|
|
3718
3718
|
});
|
|
3719
3719
|
});
|
|
3720
3720
|
return Jn(function() {
|
|
@@ -3722,9 +3722,9 @@ function Qn(e, t) {
|
|
|
3722
3722
|
if (n) {
|
|
3723
3723
|
var o = new Set(n), a = new Set(e), i = r.current;
|
|
3724
3724
|
o.forEach(function(s) {
|
|
3725
|
-
a.has(s) ||
|
|
3725
|
+
a.has(s) || Ue(s, null);
|
|
3726
3726
|
}), a.forEach(function(s) {
|
|
3727
|
-
o.has(s) ||
|
|
3727
|
+
o.has(s) || Ue(s, i);
|
|
3728
3728
|
});
|
|
3729
3729
|
}
|
|
3730
3730
|
xt.set(r, e);
|
|
@@ -3793,8 +3793,8 @@ function ro(e) {
|
|
|
3793
3793
|
var t = to(null);
|
|
3794
3794
|
return t.options = G({ async: !0, ssr: !1 }, e), t;
|
|
3795
3795
|
}
|
|
3796
|
-
var
|
|
3797
|
-
var t = e.sideCar, r =
|
|
3796
|
+
var Zt = function(e) {
|
|
3797
|
+
var t = e.sideCar, r = Kt(e, ["sideCar"]);
|
|
3798
3798
|
if (!t)
|
|
3799
3799
|
throw new Error("Sidecar: please provide `sideCar` property to import the right car");
|
|
3800
3800
|
var n = t.read();
|
|
@@ -3802,21 +3802,21 @@ var Ht = function(e) {
|
|
|
3802
3802
|
throw new Error("Sidecar medium not found");
|
|
3803
3803
|
return l.createElement(n, G({}, r));
|
|
3804
3804
|
};
|
|
3805
|
-
|
|
3805
|
+
Zt.isSideCarExport = !0;
|
|
3806
3806
|
function no(e, t) {
|
|
3807
|
-
return e.useMedium(t),
|
|
3807
|
+
return e.useMedium(t), Zt;
|
|
3808
3808
|
}
|
|
3809
|
-
var
|
|
3809
|
+
var qt = ro(), Ve = function() {
|
|
3810
3810
|
}, Ie = l.forwardRef(function(e, t) {
|
|
3811
3811
|
var r = l.useRef(null), n = l.useState({
|
|
3812
3812
|
onScrollCapture: Ve,
|
|
3813
3813
|
onWheelCapture: Ve,
|
|
3814
3814
|
onTouchMoveCapture: Ve
|
|
3815
|
-
}), o = n[0], a = n[1], i = e.forwardProps, s = e.children, c = e.className, u = e.removeScrollBar, m = e.enabled, p = e.shards, g = e.sideCar, E = e.noRelative, S = e.noIsolation, f = e.inert, y = e.allowPinchZoom, k = e.as, N = k === void 0 ? "div" : k, O = e.gapMode, A =
|
|
3815
|
+
}), o = n[0], a = n[1], i = e.forwardProps, s = e.children, c = e.className, u = e.removeScrollBar, m = e.enabled, p = e.shards, g = e.sideCar, E = e.noRelative, S = e.noIsolation, f = e.inert, y = e.allowPinchZoom, k = e.as, N = k === void 0 ? "div" : k, O = e.gapMode, A = Kt(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noRelative", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), _ = g, j = Qn([r, t]), P = G(G({}, A), o);
|
|
3816
3816
|
return l.createElement(
|
|
3817
3817
|
l.Fragment,
|
|
3818
3818
|
null,
|
|
3819
|
-
m && l.createElement(_, { sideCar:
|
|
3819
|
+
m && l.createElement(_, { sideCar: qt, removeScrollBar: u, shards: p, noRelative: E, noIsolation: S, inert: f, setCallbacks: a, allowPinchZoom: !!y, lockRef: r, gapMode: O }),
|
|
3820
3820
|
i ? l.cloneElement(l.Children.only(s), G(G({}, P), { ref: j })) : l.createElement(N, G({}, P, { className: c, ref: j }), s)
|
|
3821
3821
|
);
|
|
3822
3822
|
});
|
|
@@ -3867,7 +3867,7 @@ var lo = function() {
|
|
|
3867
3867
|
};
|
|
3868
3868
|
}, [t && r]);
|
|
3869
3869
|
};
|
|
3870
|
-
},
|
|
3870
|
+
}, Jt = function() {
|
|
3871
3871
|
var e = co(), t = function(r) {
|
|
3872
3872
|
var n = r.styles, o = r.dynamic;
|
|
3873
3873
|
return e(n, o), null;
|
|
@@ -3893,7 +3893,7 @@ var lo = function() {
|
|
|
3893
3893
|
right: t[2],
|
|
3894
3894
|
gap: Math.max(0, n - r + t[2] - t[0])
|
|
3895
3895
|
};
|
|
3896
|
-
}, po =
|
|
3896
|
+
}, po = Jt(), fe = "data-scroll-locked", go = function(e, t, r, n) {
|
|
3897
3897
|
var o = e.left, a = e.top, i = e.right, s = e.gap;
|
|
3898
3898
|
return r === void 0 && (r = "margin"), `
|
|
3899
3899
|
.`.concat(Kn, ` {
|
|
@@ -3947,7 +3947,7 @@ var lo = function() {
|
|
|
3947
3947
|
e <= 0 ? document.body.removeAttribute(fe) : document.body.setAttribute(fe, e.toString());
|
|
3948
3948
|
};
|
|
3949
3949
|
}, []);
|
|
3950
|
-
},
|
|
3950
|
+
}, bo = function(e) {
|
|
3951
3951
|
var t = e.noRelative, r = e.noImportant, n = e.gapMode, o = n === void 0 ? "margin" : n;
|
|
3952
3952
|
vo();
|
|
3953
3953
|
var a = l.useMemo(function() {
|
|
@@ -3966,28 +3966,28 @@ if (typeof window < "u")
|
|
|
3966
3966
|
} catch {
|
|
3967
3967
|
Qe = !1;
|
|
3968
3968
|
}
|
|
3969
|
-
var ce = Qe ? { passive: !1 } : !1,
|
|
3969
|
+
var ce = Qe ? { passive: !1 } : !1, ho = function(e) {
|
|
3970
3970
|
return e.tagName === "TEXTAREA";
|
|
3971
|
-
},
|
|
3971
|
+
}, Qt = function(e, t) {
|
|
3972
3972
|
if (!(e instanceof Element))
|
|
3973
3973
|
return !1;
|
|
3974
3974
|
var r = window.getComputedStyle(e);
|
|
3975
3975
|
return (
|
|
3976
3976
|
// not-not-scrollable
|
|
3977
3977
|
r[t] !== "hidden" && // contains scroll inside self
|
|
3978
|
-
!(r.overflowY === r.overflowX && !
|
|
3978
|
+
!(r.overflowY === r.overflowX && !ho(e) && r[t] === "visible")
|
|
3979
3979
|
);
|
|
3980
3980
|
}, yo = function(e) {
|
|
3981
|
-
return
|
|
3981
|
+
return Qt(e, "overflowY");
|
|
3982
3982
|
}, wo = function(e) {
|
|
3983
|
-
return
|
|
3983
|
+
return Qt(e, "overflowX");
|
|
3984
3984
|
}, kt = function(e, t) {
|
|
3985
3985
|
var r = t.ownerDocument, n = t;
|
|
3986
3986
|
do {
|
|
3987
3987
|
typeof ShadowRoot < "u" && n instanceof ShadowRoot && (n = n.host);
|
|
3988
|
-
var o =
|
|
3988
|
+
var o = er(e, n);
|
|
3989
3989
|
if (o) {
|
|
3990
|
-
var a =
|
|
3990
|
+
var a = tr(e, n), i = a[1], s = a[2];
|
|
3991
3991
|
if (i > s)
|
|
3992
3992
|
return !0;
|
|
3993
3993
|
}
|
|
@@ -4008,9 +4008,9 @@ var ce = Qe ? { passive: !1 } : !1, bo = function(e) {
|
|
|
4008
4008
|
r,
|
|
4009
4009
|
n
|
|
4010
4010
|
];
|
|
4011
|
-
},
|
|
4011
|
+
}, er = function(e, t) {
|
|
4012
4012
|
return e === "v" ? yo(t) : wo(t);
|
|
4013
|
-
},
|
|
4013
|
+
}, tr = function(e, t) {
|
|
4014
4014
|
return e === "v" ? xo(t) : Eo(t);
|
|
4015
4015
|
}, ko = function(e, t) {
|
|
4016
4016
|
return e === "h" && t === "rtl" ? -1 : 1;
|
|
@@ -4019,8 +4019,8 @@ var ce = Qe ? { passive: !1 } : !1, bo = function(e) {
|
|
|
4019
4019
|
do {
|
|
4020
4020
|
if (!s)
|
|
4021
4021
|
break;
|
|
4022
|
-
var E =
|
|
4023
|
-
(S || k) &&
|
|
4022
|
+
var E = tr(e, s), S = E[0], f = E[1], y = E[2], k = f - y - a * S;
|
|
4023
|
+
(S || k) && er(e, s) && (p += k, g += S);
|
|
4024
4024
|
var N = s.parentNode;
|
|
4025
4025
|
s = N && N.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? N.host : N;
|
|
4026
4026
|
} while (
|
|
@@ -4044,7 +4044,7 @@ var ce = Qe ? { passive: !1 } : !1, bo = function(e) {
|
|
|
4044
4044
|
`);
|
|
4045
4045
|
}, Po = 0, ue = [];
|
|
4046
4046
|
function Ao(e) {
|
|
4047
|
-
var t = l.useRef([]), r = l.useRef([0, 0]), n = l.useRef(), o = l.useState(Po++)[0], a = l.useState(
|
|
4047
|
+
var t = l.useRef([]), r = l.useRef([0, 0]), n = l.useRef(), o = l.useState(Po++)[0], a = l.useState(Jt)[0], i = l.useRef(e);
|
|
4048
4048
|
l.useEffect(function() {
|
|
4049
4049
|
i.current = e;
|
|
4050
4050
|
}, [e]), l.useEffect(function() {
|
|
@@ -4066,10 +4066,10 @@ function Ao(e) {
|
|
|
4066
4066
|
var k = Ae(f), N = r.current, O = "deltaX" in f ? f.deltaX : N[0] - k[0], A = "deltaY" in f ? f.deltaY : N[1] - k[1], _, j = f.target, P = Math.abs(O) > Math.abs(A) ? "h" : "v";
|
|
4067
4067
|
if ("touches" in f && P === "h" && j.type === "range")
|
|
4068
4068
|
return !1;
|
|
4069
|
-
var
|
|
4070
|
-
if (!
|
|
4069
|
+
var h = kt(P, j);
|
|
4070
|
+
if (!h)
|
|
4071
4071
|
return !0;
|
|
4072
|
-
if (
|
|
4072
|
+
if (h ? _ = P : (_ = P === "v" ? "h" : "v", h = kt(P, j)), !h)
|
|
4073
4073
|
return !1;
|
|
4074
4074
|
if (!n.current && "changedTouches" in f && (O || A) && (n.current = _), !_)
|
|
4075
4075
|
return !0;
|
|
@@ -4122,7 +4122,7 @@ function Ao(e) {
|
|
|
4122
4122
|
l.Fragment,
|
|
4123
4123
|
null,
|
|
4124
4124
|
S ? l.createElement(a, { styles: Ro(o) }) : null,
|
|
4125
|
-
E ? l.createElement(
|
|
4125
|
+
E ? l.createElement(bo, { noRelative: e.noRelative, gapMode: e.gapMode }) : null
|
|
4126
4126
|
);
|
|
4127
4127
|
}
|
|
4128
4128
|
function To(e) {
|
|
@@ -4130,23 +4130,23 @@ function To(e) {
|
|
|
4130
4130
|
e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
|
|
4131
4131
|
return t;
|
|
4132
4132
|
}
|
|
4133
|
-
const No = no(
|
|
4134
|
-
var
|
|
4133
|
+
const No = no(qt, Ao);
|
|
4134
|
+
var rr = l.forwardRef(function(e, t) {
|
|
4135
4135
|
return l.createElement(Ie, G({}, e, { ref: t, sideCar: No }));
|
|
4136
4136
|
});
|
|
4137
|
-
|
|
4137
|
+
rr.classNames = Ie.classNames;
|
|
4138
4138
|
var Oo = function(e) {
|
|
4139
4139
|
if (typeof document > "u")
|
|
4140
4140
|
return null;
|
|
4141
4141
|
var t = Array.isArray(e) ? e[0] : e;
|
|
4142
4142
|
return t.ownerDocument.body;
|
|
4143
|
-
}, de = /* @__PURE__ */ new WeakMap(), Te = /* @__PURE__ */ new WeakMap(), Ne = {}, Ye = 0,
|
|
4144
|
-
return e && (e.host ||
|
|
4143
|
+
}, de = /* @__PURE__ */ new WeakMap(), Te = /* @__PURE__ */ new WeakMap(), Ne = {}, Ye = 0, nr = function(e) {
|
|
4144
|
+
return e && (e.host || nr(e.parentNode));
|
|
4145
4145
|
}, _o = function(e, t) {
|
|
4146
4146
|
return t.map(function(r) {
|
|
4147
4147
|
if (e.contains(r))
|
|
4148
4148
|
return r;
|
|
4149
|
-
var n =
|
|
4149
|
+
var n = nr(r);
|
|
4150
4150
|
return n && e.contains(n) ? n : (console.error("aria-hidden", r, "in not contained inside", e, ". Doing nothing"), null);
|
|
4151
4151
|
}).filter(function(r) {
|
|
4152
4152
|
return !!r;
|
|
@@ -4183,7 +4183,7 @@ var Oo = function(e) {
|
|
|
4183
4183
|
return o ? (n.push.apply(n, Array.from(o.querySelectorAll("[aria-live], script"))), Mo(n, o, r, "aria-hidden")) : function() {
|
|
4184
4184
|
return null;
|
|
4185
4185
|
};
|
|
4186
|
-
}, je = "Dialog", [
|
|
4186
|
+
}, je = "Dialog", [or, fa] = hn(je), [Io, U] = or(je), ar = (e) => {
|
|
4187
4187
|
const {
|
|
4188
4188
|
__scopeDialog: t,
|
|
4189
4189
|
children: r,
|
|
@@ -4197,7 +4197,7 @@ var Oo = function(e) {
|
|
|
4197
4197
|
onChange: a,
|
|
4198
4198
|
caller: je
|
|
4199
4199
|
});
|
|
4200
|
-
return /* @__PURE__ */
|
|
4200
|
+
return /* @__PURE__ */ w.jsx(
|
|
4201
4201
|
Io,
|
|
4202
4202
|
{
|
|
4203
4203
|
scope: t,
|
|
@@ -4214,11 +4214,11 @@ var Oo = function(e) {
|
|
|
4214
4214
|
}
|
|
4215
4215
|
);
|
|
4216
4216
|
};
|
|
4217
|
-
|
|
4218
|
-
var
|
|
4217
|
+
ar.displayName = je;
|
|
4218
|
+
var sr = "DialogTrigger", ir = l.forwardRef(
|
|
4219
4219
|
(e, t) => {
|
|
4220
|
-
const { __scopeDialog: r, ...n } = e, o =
|
|
4221
|
-
return /* @__PURE__ */
|
|
4220
|
+
const { __scopeDialog: r, ...n } = e, o = U(sr, r), a = ae(t, o.triggerRef);
|
|
4221
|
+
return /* @__PURE__ */ w.jsx(
|
|
4222
4222
|
H.button,
|
|
4223
4223
|
{
|
|
4224
4224
|
type: "button",
|
|
@@ -4233,28 +4233,28 @@ var or = "DialogTrigger", ar = l.forwardRef(
|
|
|
4233
4233
|
);
|
|
4234
4234
|
}
|
|
4235
4235
|
);
|
|
4236
|
-
|
|
4237
|
-
var rt = "DialogPortal", [jo,
|
|
4236
|
+
ir.displayName = sr;
|
|
4237
|
+
var rt = "DialogPortal", [jo, lr] = or(rt, {
|
|
4238
4238
|
forceMount: void 0
|
|
4239
|
-
}),
|
|
4240
|
-
const { __scopeDialog: t, forceMount: r, children: n, container: o } = e, a =
|
|
4241
|
-
return /* @__PURE__ */
|
|
4239
|
+
}), cr = (e) => {
|
|
4240
|
+
const { __scopeDialog: t, forceMount: r, children: n, container: o } = e, a = U(rt, t);
|
|
4241
|
+
return /* @__PURE__ */ w.jsx(jo, { scope: t, forceMount: r, children: l.Children.map(n, (i) => /* @__PURE__ */ w.jsx(De, { present: r || a.open, children: /* @__PURE__ */ w.jsx(Ht, { asChild: !0, container: o, children: i }) })) });
|
|
4242
4242
|
};
|
|
4243
|
-
|
|
4244
|
-
var Me = "DialogOverlay",
|
|
4243
|
+
cr.displayName = rt;
|
|
4244
|
+
var Me = "DialogOverlay", ur = l.forwardRef(
|
|
4245
4245
|
(e, t) => {
|
|
4246
|
-
const r =
|
|
4247
|
-
return a.modal ? /* @__PURE__ */
|
|
4246
|
+
const r = lr(Me, e.__scopeDialog), { forceMount: n = r.forceMount, ...o } = e, a = U(Me, e.__scopeDialog);
|
|
4247
|
+
return a.modal ? /* @__PURE__ */ w.jsx(De, { present: n || a.open, children: /* @__PURE__ */ w.jsx(Fo, { ...o, ref: t }) }) : null;
|
|
4248
4248
|
}
|
|
4249
4249
|
);
|
|
4250
|
-
|
|
4250
|
+
ur.displayName = Me;
|
|
4251
4251
|
var Lo = /* @__PURE__ */ et("DialogOverlay.RemoveScroll"), Fo = l.forwardRef(
|
|
4252
4252
|
(e, t) => {
|
|
4253
|
-
const { __scopeDialog: r, ...n } = e, o =
|
|
4253
|
+
const { __scopeDialog: r, ...n } = e, o = U(Me, r);
|
|
4254
4254
|
return (
|
|
4255
4255
|
// Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
|
|
4256
4256
|
// ie. when `Overlay` and `Content` are siblings
|
|
4257
|
-
/* @__PURE__ */
|
|
4257
|
+
/* @__PURE__ */ w.jsx(rr, { as: Lo, allowPinchZoom: !0, shards: [o.contentRef], children: /* @__PURE__ */ w.jsx(
|
|
4258
4258
|
H.div,
|
|
4259
4259
|
{
|
|
4260
4260
|
"data-state": ot(o.open),
|
|
@@ -4265,21 +4265,21 @@ var Lo = /* @__PURE__ */ et("DialogOverlay.RemoveScroll"), Fo = l.forwardRef(
|
|
|
4265
4265
|
) })
|
|
4266
4266
|
);
|
|
4267
4267
|
}
|
|
4268
|
-
),
|
|
4268
|
+
), oe = "DialogContent", dr = l.forwardRef(
|
|
4269
4269
|
(e, t) => {
|
|
4270
|
-
const r =
|
|
4271
|
-
return /* @__PURE__ */
|
|
4270
|
+
const r = lr(oe, e.__scopeDialog), { forceMount: n = r.forceMount, ...o } = e, a = U(oe, e.__scopeDialog);
|
|
4271
|
+
return /* @__PURE__ */ w.jsx(De, { present: n || a.open, children: a.modal ? /* @__PURE__ */ w.jsx(zo, { ...o, ref: t }) : /* @__PURE__ */ w.jsx(Wo, { ...o, ref: t }) });
|
|
4272
4272
|
}
|
|
4273
4273
|
);
|
|
4274
|
-
|
|
4274
|
+
dr.displayName = oe;
|
|
4275
4275
|
var zo = l.forwardRef(
|
|
4276
4276
|
(e, t) => {
|
|
4277
|
-
const r =
|
|
4277
|
+
const r = U(oe, e.__scopeDialog), n = l.useRef(null), o = ae(t, r.contentRef, n);
|
|
4278
4278
|
return l.useEffect(() => {
|
|
4279
4279
|
const a = n.current;
|
|
4280
4280
|
if (a) return Do(a);
|
|
4281
|
-
}, []), /* @__PURE__ */
|
|
4282
|
-
|
|
4281
|
+
}, []), /* @__PURE__ */ w.jsx(
|
|
4282
|
+
fr,
|
|
4283
4283
|
{
|
|
4284
4284
|
...e,
|
|
4285
4285
|
ref: o,
|
|
@@ -4302,9 +4302,9 @@ var zo = l.forwardRef(
|
|
|
4302
4302
|
}
|
|
4303
4303
|
), Wo = l.forwardRef(
|
|
4304
4304
|
(e, t) => {
|
|
4305
|
-
const r =
|
|
4306
|
-
return /* @__PURE__ */
|
|
4307
|
-
|
|
4305
|
+
const r = U(oe, e.__scopeDialog), n = l.useRef(!1), o = l.useRef(!1);
|
|
4306
|
+
return /* @__PURE__ */ w.jsx(
|
|
4307
|
+
fr,
|
|
4308
4308
|
{
|
|
4309
4309
|
...e,
|
|
4310
4310
|
ref: t,
|
|
@@ -4323,20 +4323,20 @@ var zo = l.forwardRef(
|
|
|
4323
4323
|
}
|
|
4324
4324
|
);
|
|
4325
4325
|
}
|
|
4326
|
-
),
|
|
4326
|
+
), fr = l.forwardRef(
|
|
4327
4327
|
(e, t) => {
|
|
4328
|
-
const { __scopeDialog: r, trapFocus: n, onOpenAutoFocus: o, onCloseAutoFocus: a, ...i } = e, s =
|
|
4329
|
-
return Xn(), /* @__PURE__ */
|
|
4330
|
-
/* @__PURE__ */
|
|
4331
|
-
|
|
4328
|
+
const { __scopeDialog: r, trapFocus: n, onOpenAutoFocus: o, onCloseAutoFocus: a, ...i } = e, s = U(oe, r), c = l.useRef(null), u = ae(t, c);
|
|
4329
|
+
return Xn(), /* @__PURE__ */ w.jsxs(w.Fragment, { children: [
|
|
4330
|
+
/* @__PURE__ */ w.jsx(
|
|
4331
|
+
Yt,
|
|
4332
4332
|
{
|
|
4333
4333
|
asChild: !0,
|
|
4334
4334
|
loop: !0,
|
|
4335
4335
|
trapped: n,
|
|
4336
4336
|
onMountAutoFocus: o,
|
|
4337
4337
|
onUnmountAutoFocus: a,
|
|
4338
|
-
children: /* @__PURE__ */
|
|
4339
|
-
|
|
4338
|
+
children: /* @__PURE__ */ w.jsx(
|
|
4339
|
+
Vt,
|
|
4340
4340
|
{
|
|
4341
4341
|
role: "dialog",
|
|
4342
4342
|
id: s.contentId,
|
|
@@ -4350,30 +4350,30 @@ var zo = l.forwardRef(
|
|
|
4350
4350
|
)
|
|
4351
4351
|
}
|
|
4352
4352
|
),
|
|
4353
|
-
/* @__PURE__ */
|
|
4354
|
-
/* @__PURE__ */
|
|
4355
|
-
/* @__PURE__ */
|
|
4353
|
+
/* @__PURE__ */ w.jsxs(w.Fragment, { children: [
|
|
4354
|
+
/* @__PURE__ */ w.jsx($o, { titleId: s.titleId }),
|
|
4355
|
+
/* @__PURE__ */ w.jsx(Uo, { contentRef: c, descriptionId: s.descriptionId })
|
|
4356
4356
|
] })
|
|
4357
4357
|
] });
|
|
4358
4358
|
}
|
|
4359
|
-
), nt = "DialogTitle",
|
|
4359
|
+
), nt = "DialogTitle", mr = l.forwardRef(
|
|
4360
4360
|
(e, t) => {
|
|
4361
|
-
const { __scopeDialog: r, ...n } = e, o =
|
|
4362
|
-
return /* @__PURE__ */
|
|
4361
|
+
const { __scopeDialog: r, ...n } = e, o = U(nt, r);
|
|
4362
|
+
return /* @__PURE__ */ w.jsx(H.h2, { id: o.titleId, ...n, ref: t });
|
|
4363
4363
|
}
|
|
4364
4364
|
);
|
|
4365
|
-
|
|
4366
|
-
var
|
|
4365
|
+
mr.displayName = nt;
|
|
4366
|
+
var pr = "DialogDescription", gr = l.forwardRef(
|
|
4367
4367
|
(e, t) => {
|
|
4368
|
-
const { __scopeDialog: r, ...n } = e, o =
|
|
4369
|
-
return /* @__PURE__ */
|
|
4368
|
+
const { __scopeDialog: r, ...n } = e, o = U(pr, r);
|
|
4369
|
+
return /* @__PURE__ */ w.jsx(H.p, { id: o.descriptionId, ...n, ref: t });
|
|
4370
4370
|
}
|
|
4371
4371
|
);
|
|
4372
|
-
|
|
4373
|
-
var
|
|
4372
|
+
gr.displayName = pr;
|
|
4373
|
+
var vr = "DialogClose", br = l.forwardRef(
|
|
4374
4374
|
(e, t) => {
|
|
4375
|
-
const { __scopeDialog: r, ...n } = e, o =
|
|
4376
|
-
return /* @__PURE__ */
|
|
4375
|
+
const { __scopeDialog: r, ...n } = e, o = U(vr, r);
|
|
4376
|
+
return /* @__PURE__ */ w.jsx(
|
|
4377
4377
|
H.button,
|
|
4378
4378
|
{
|
|
4379
4379
|
type: "button",
|
|
@@ -4384,16 +4384,16 @@ var pr = "DialogClose", gr = l.forwardRef(
|
|
|
4384
4384
|
);
|
|
4385
4385
|
}
|
|
4386
4386
|
);
|
|
4387
|
-
|
|
4387
|
+
br.displayName = vr;
|
|
4388
4388
|
function ot(e) {
|
|
4389
4389
|
return e ? "open" : "closed";
|
|
4390
4390
|
}
|
|
4391
|
-
var
|
|
4392
|
-
contentName:
|
|
4391
|
+
var hr = "DialogTitleWarning", [ma, yr] = bn(hr, {
|
|
4392
|
+
contentName: oe,
|
|
4393
4393
|
titleName: nt,
|
|
4394
4394
|
docsSlug: "dialog"
|
|
4395
4395
|
}), $o = ({ titleId: e }) => {
|
|
4396
|
-
const t = hr
|
|
4396
|
+
const t = yr(hr), r = `\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
|
|
4397
4397
|
|
|
4398
4398
|
If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|
4399
4399
|
|
|
@@ -4401,14 +4401,14 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
|
|
|
4401
4401
|
return l.useEffect(() => {
|
|
4402
4402
|
e && (document.getElementById(e) || console.error(r));
|
|
4403
4403
|
}, [r, e]), null;
|
|
4404
|
-
},
|
|
4405
|
-
const n = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${
|
|
4404
|
+
}, Bo = "DialogDescriptionWarning", Uo = ({ contentRef: e, descriptionId: t }) => {
|
|
4405
|
+
const n = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${yr(Bo).contentName}}.`;
|
|
4406
4406
|
return l.useEffect(() => {
|
|
4407
4407
|
var a;
|
|
4408
4408
|
const o = (a = e.current) == null ? void 0 : a.getAttribute("aria-describedby");
|
|
4409
4409
|
t && o && (document.getElementById(t) || console.warn(n));
|
|
4410
4410
|
}, [n, e, t]), null;
|
|
4411
|
-
}, Vo =
|
|
4411
|
+
}, Vo = ar, Go = ir, Yo = cr, Xo = ur, Ho = dr, Ko = mr, Zo = gr, wr = br;
|
|
4412
4412
|
/**
|
|
4413
4413
|
* @license lucide-react v0.542.0 - ISC
|
|
4414
4414
|
*
|
|
@@ -4421,7 +4421,7 @@ const qo = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), Jo = (
|
|
|
4421
4421
|
), Rt = (e) => {
|
|
4422
4422
|
const t = Jo(e);
|
|
4423
4423
|
return t.charAt(0).toUpperCase() + t.slice(1);
|
|
4424
|
-
},
|
|
4424
|
+
}, xr = (...e) => e.filter((t, r, n) => !!t && t.trim() !== "" && n.indexOf(t) === r).join(" ").trim(), Qo = (e) => {
|
|
4425
4425
|
for (const t in e)
|
|
4426
4426
|
if (t.startsWith("aria-") || t === "role" || t === "title")
|
|
4427
4427
|
return !0;
|
|
@@ -4468,7 +4468,7 @@ const ta = Pt(
|
|
|
4468
4468
|
height: t,
|
|
4469
4469
|
stroke: e,
|
|
4470
4470
|
strokeWidth: n ? Number(r) * 24 / Number(t) : r,
|
|
4471
|
-
className:
|
|
4471
|
+
className: xr("lucide", o),
|
|
4472
4472
|
...!a && !Qo(s) && { "aria-hidden": "true" },
|
|
4473
4473
|
...s
|
|
4474
4474
|
},
|
|
@@ -4489,7 +4489,7 @@ const ra = (e, t) => {
|
|
|
4489
4489
|
({ className: n, ...o }, a) => Xe(ta, {
|
|
4490
4490
|
ref: a,
|
|
4491
4491
|
iconNode: t,
|
|
4492
|
-
className:
|
|
4492
|
+
className: xr(
|
|
4493
4493
|
`lucide-${qo(Rt(e))}`,
|
|
4494
4494
|
`lucide-${e}`,
|
|
4495
4495
|
n
|
|
@@ -4509,35 +4509,35 @@ const na = [
|
|
|
4509
4509
|
["path", { d: "M18 6 6 18", key: "1bl5f8" }],
|
|
4510
4510
|
["path", { d: "m6 6 12 12", key: "d8bk6v" }]
|
|
4511
4511
|
], oa = ra("x", na);
|
|
4512
|
-
function
|
|
4512
|
+
function pa({
|
|
4513
4513
|
...e
|
|
4514
4514
|
}) {
|
|
4515
|
-
return /* @__PURE__ */
|
|
4515
|
+
return /* @__PURE__ */ w.jsx(Vo, { "data-slot": "dialog", ...e });
|
|
4516
4516
|
}
|
|
4517
|
-
function
|
|
4517
|
+
function ga({
|
|
4518
4518
|
...e
|
|
4519
4519
|
}) {
|
|
4520
|
-
return /* @__PURE__ */
|
|
4520
|
+
return /* @__PURE__ */ w.jsx(Go, { "data-slot": "dialog-trigger", ...e });
|
|
4521
4521
|
}
|
|
4522
4522
|
function aa({
|
|
4523
4523
|
...e
|
|
4524
4524
|
}) {
|
|
4525
|
-
return /* @__PURE__ */
|
|
4525
|
+
return /* @__PURE__ */ w.jsx(Yo, { "data-slot": "dialog-portal", ...e });
|
|
4526
4526
|
}
|
|
4527
|
-
function
|
|
4527
|
+
function va({
|
|
4528
4528
|
...e
|
|
4529
4529
|
}) {
|
|
4530
|
-
return /* @__PURE__ */
|
|
4530
|
+
return /* @__PURE__ */ w.jsx(wr, { "data-slot": "dialog-close", ...e });
|
|
4531
4531
|
}
|
|
4532
4532
|
function sa({
|
|
4533
4533
|
className: e,
|
|
4534
4534
|
...t
|
|
4535
4535
|
}) {
|
|
4536
|
-
return /* @__PURE__ */
|
|
4536
|
+
return /* @__PURE__ */ w.jsx(
|
|
4537
4537
|
Xo,
|
|
4538
4538
|
{
|
|
4539
4539
|
"data-slot": "dialog-overlay",
|
|
4540
|
-
className:
|
|
4540
|
+
className: ee(
|
|
4541
4541
|
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",
|
|
4542
4542
|
e
|
|
4543
4543
|
),
|
|
@@ -4545,33 +4545,33 @@ function sa({
|
|
|
4545
4545
|
}
|
|
4546
4546
|
);
|
|
4547
4547
|
}
|
|
4548
|
-
function
|
|
4548
|
+
function ba({
|
|
4549
4549
|
className: e,
|
|
4550
4550
|
children: t,
|
|
4551
4551
|
showCloseButton: r = !0,
|
|
4552
4552
|
...n
|
|
4553
4553
|
}) {
|
|
4554
|
-
return /* @__PURE__ */
|
|
4555
|
-
/* @__PURE__ */
|
|
4556
|
-
/* @__PURE__ */
|
|
4554
|
+
return /* @__PURE__ */ w.jsxs(aa, { "data-slot": "dialog-portal", children: [
|
|
4555
|
+
/* @__PURE__ */ w.jsx(sa, {}),
|
|
4556
|
+
/* @__PURE__ */ w.jsxs(
|
|
4557
4557
|
Ho,
|
|
4558
4558
|
{
|
|
4559
4559
|
"data-slot": "dialog-content",
|
|
4560
|
-
className:
|
|
4560
|
+
className: ee(
|
|
4561
4561
|
"bg-background bg-white data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border border-none p-6 shadow-lg duration-200 sm:max-w-lg",
|
|
4562
4562
|
e
|
|
4563
4563
|
),
|
|
4564
4564
|
...n,
|
|
4565
4565
|
children: [
|
|
4566
4566
|
t,
|
|
4567
|
-
r && /* @__PURE__ */
|
|
4568
|
-
|
|
4567
|
+
r && /* @__PURE__ */ w.jsxs(
|
|
4568
|
+
wr,
|
|
4569
4569
|
{
|
|
4570
4570
|
"data-slot": "dialog-close",
|
|
4571
4571
|
className: "ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
4572
4572
|
children: [
|
|
4573
|
-
/* @__PURE__ */
|
|
4574
|
-
/* @__PURE__ */
|
|
4573
|
+
/* @__PURE__ */ w.jsx(oa, {}),
|
|
4574
|
+
/* @__PURE__ */ w.jsx("span", { className: "sr-only", children: "Close" })
|
|
4575
4575
|
]
|
|
4576
4576
|
}
|
|
4577
4577
|
)
|
|
@@ -4580,22 +4580,22 @@ function ga({
|
|
|
4580
4580
|
)
|
|
4581
4581
|
] });
|
|
4582
4582
|
}
|
|
4583
|
-
function
|
|
4584
|
-
return /* @__PURE__ */
|
|
4583
|
+
function ha({ className: e, ...t }) {
|
|
4584
|
+
return /* @__PURE__ */ w.jsx(
|
|
4585
4585
|
"div",
|
|
4586
4586
|
{
|
|
4587
4587
|
"data-slot": "dialog-header",
|
|
4588
|
-
className:
|
|
4588
|
+
className: ee("flex flex-col gap-2 text-center sm:text-left", e),
|
|
4589
4589
|
...t
|
|
4590
4590
|
}
|
|
4591
4591
|
);
|
|
4592
4592
|
}
|
|
4593
|
-
function
|
|
4594
|
-
return /* @__PURE__ */
|
|
4593
|
+
function ya({ className: e, ...t }) {
|
|
4594
|
+
return /* @__PURE__ */ w.jsx(
|
|
4595
4595
|
"div",
|
|
4596
4596
|
{
|
|
4597
4597
|
"data-slot": "dialog-footer",
|
|
4598
|
-
className:
|
|
4598
|
+
className: ee(
|
|
4599
4599
|
"flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",
|
|
4600
4600
|
e
|
|
4601
4601
|
),
|
|
@@ -4603,43 +4603,99 @@ function ha({ className: e, ...t }) {
|
|
|
4603
4603
|
}
|
|
4604
4604
|
);
|
|
4605
4605
|
}
|
|
4606
|
-
function
|
|
4606
|
+
function wa({
|
|
4607
4607
|
className: e,
|
|
4608
4608
|
...t
|
|
4609
4609
|
}) {
|
|
4610
|
-
return /* @__PURE__ */
|
|
4610
|
+
return /* @__PURE__ */ w.jsx(
|
|
4611
4611
|
Ko,
|
|
4612
4612
|
{
|
|
4613
4613
|
"data-slot": "dialog-title",
|
|
4614
|
-
className:
|
|
4614
|
+
className: ee("text-lg leading-none font-semibold ", e),
|
|
4615
4615
|
...t
|
|
4616
4616
|
}
|
|
4617
4617
|
);
|
|
4618
4618
|
}
|
|
4619
|
-
function
|
|
4619
|
+
function xa({
|
|
4620
4620
|
className: e,
|
|
4621
4621
|
...t
|
|
4622
4622
|
}) {
|
|
4623
|
-
return /* @__PURE__ */
|
|
4623
|
+
return /* @__PURE__ */ w.jsx(
|
|
4624
4624
|
Zo,
|
|
4625
4625
|
{
|
|
4626
4626
|
"data-slot": "dialog-description",
|
|
4627
|
-
className:
|
|
4627
|
+
className: ee("text-muted-foreground text-sm", e),
|
|
4628
4628
|
...t
|
|
4629
4629
|
}
|
|
4630
4630
|
);
|
|
4631
4631
|
}
|
|
4632
|
+
const ia = Bt(
|
|
4633
|
+
"inline-flex items-center justify-center rounded-full font-medium w-fit whitespace-nowrap shrink-0 gap-1 text-sm",
|
|
4634
|
+
{
|
|
4635
|
+
variants: {
|
|
4636
|
+
variant: {
|
|
4637
|
+
primary: "bg-tag-light-blue text-tag-dark-blue border-tag-light-blue",
|
|
4638
|
+
neutral: "bg-tag-light-gray text-tag-dark-gray border-tag-light-gray",
|
|
4639
|
+
warning: "bg-tag-light-brown text-tag-dark-brown border-tag-stroke-warning-border",
|
|
4640
|
+
success: "bg-tag-light-green text-tag-dark-green border-tag-stroke-success-border",
|
|
4641
|
+
error: "bg-tag-light-red-light text-tag-dark-red-dark border-tag-stroke-error-border",
|
|
4642
|
+
secondaryB: "bg-tag-light-ice-blue text-tag-dark-ice-blue border-tag-stroke-dark-border"
|
|
4643
|
+
},
|
|
4644
|
+
type: {
|
|
4645
|
+
filled: "border-0",
|
|
4646
|
+
outline: "border bg-transparent"
|
|
4647
|
+
},
|
|
4648
|
+
size: {
|
|
4649
|
+
//sm: 'px-2 py-0.5 text-xs [&>svg]:size-3',
|
|
4650
|
+
md: "px-3 py-0.5 text-sm"
|
|
4651
|
+
//lg: 'px-3 py-1 text-md [&>svg]:size-5',
|
|
4652
|
+
}
|
|
4653
|
+
},
|
|
4654
|
+
defaultVariants: {
|
|
4655
|
+
variant: "primary",
|
|
4656
|
+
type: "filled",
|
|
4657
|
+
size: "md"
|
|
4658
|
+
}
|
|
4659
|
+
}
|
|
4660
|
+
), la = l.forwardRef(
|
|
4661
|
+
({
|
|
4662
|
+
className: e,
|
|
4663
|
+
variant: t,
|
|
4664
|
+
type: r = "filled",
|
|
4665
|
+
asChild: n = !1,
|
|
4666
|
+
children: o,
|
|
4667
|
+
...a
|
|
4668
|
+
}, i) => {
|
|
4669
|
+
const s = n ? Tt : "span";
|
|
4670
|
+
return /* @__PURE__ */ w.jsx(
|
|
4671
|
+
s,
|
|
4672
|
+
{
|
|
4673
|
+
ref: i,
|
|
4674
|
+
"data-slot": "badge",
|
|
4675
|
+
className: ee(
|
|
4676
|
+
ia({ variant: t, type: r }),
|
|
4677
|
+
r === "outline" ? "bg-transparent" : "",
|
|
4678
|
+
e
|
|
4679
|
+
),
|
|
4680
|
+
...a,
|
|
4681
|
+
children: o
|
|
4682
|
+
}
|
|
4683
|
+
);
|
|
4684
|
+
}
|
|
4685
|
+
);
|
|
4686
|
+
la.displayName = "Badge";
|
|
4632
4687
|
export {
|
|
4633
|
-
|
|
4634
|
-
|
|
4635
|
-
pa as
|
|
4636
|
-
|
|
4637
|
-
|
|
4638
|
-
|
|
4639
|
-
|
|
4688
|
+
la as Badge,
|
|
4689
|
+
da as Button,
|
|
4690
|
+
pa as Dialog,
|
|
4691
|
+
va as DialogClose,
|
|
4692
|
+
ba as DialogContent,
|
|
4693
|
+
xa as DialogDescription,
|
|
4694
|
+
ya as DialogFooter,
|
|
4695
|
+
ha as DialogHeader,
|
|
4640
4696
|
sa as DialogOverlay,
|
|
4641
4697
|
aa as DialogPortal,
|
|
4642
|
-
|
|
4643
|
-
|
|
4644
|
-
|
|
4698
|
+
wa as DialogTitle,
|
|
4699
|
+
ga as DialogTrigger,
|
|
4700
|
+
ee as cn
|
|
4645
4701
|
};
|