@turystack/ui 0.0.17 → 0.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +1 -1
- package/dist/index.d.ts +313 -25
- package/dist/index.js +2032 -798
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,389 +1,972 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { jsx as m, jsxs as Pe, Fragment as po } from "react/jsx-runtime";
|
|
2
|
+
import * as y from "react";
|
|
3
|
+
import L, { createContext as Be, useContext as We, useState as go, useLayoutEffect as bo } from "react";
|
|
4
|
+
import { createSlot as Ne, Slot as He } from "@radix-ui/react-slot";
|
|
5
|
+
import "react-dom";
|
|
6
|
+
import { ChevronDown as ho, Loader2 as yt, ChevronRight as vo, MoreHorizontal as yo } from "lucide-react";
|
|
7
|
+
function Ke(e, t = []) {
|
|
8
|
+
let o = [];
|
|
9
|
+
function r(s, a) {
|
|
10
|
+
const c = y.createContext(a), i = o.length;
|
|
11
|
+
o = [...o, a];
|
|
12
|
+
const l = (d) => {
|
|
13
|
+
const { scope: x, children: u, ...w } = d, p = x?.[e]?.[i] || c, h = y.useMemo(() => w, Object.values(w));
|
|
14
|
+
return /* @__PURE__ */ m(p.Provider, { value: h, children: u });
|
|
15
|
+
};
|
|
16
|
+
l.displayName = s + "Provider";
|
|
17
|
+
function f(d, x) {
|
|
18
|
+
const u = x?.[e]?.[i] || c, w = y.useContext(u);
|
|
19
|
+
if (w) return w;
|
|
20
|
+
if (a !== void 0) return a;
|
|
21
|
+
throw new Error(`\`${d}\` must be used within \`${s}\``);
|
|
22
|
+
}
|
|
23
|
+
return [l, f];
|
|
24
|
+
}
|
|
25
|
+
const n = () => {
|
|
26
|
+
const s = o.map((a) => y.createContext(a));
|
|
27
|
+
return function(c) {
|
|
28
|
+
const i = c?.[e] || s;
|
|
29
|
+
return y.useMemo(
|
|
30
|
+
() => ({ [`__scope${e}`]: { ...c, [e]: i } }),
|
|
31
|
+
[c, i]
|
|
32
|
+
);
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
return n.scopeName = e, [r, wo(n, ...t)];
|
|
36
|
+
}
|
|
37
|
+
function wo(...e) {
|
|
38
|
+
const t = e[0];
|
|
39
|
+
if (e.length === 1) return t;
|
|
40
|
+
const o = () => {
|
|
41
|
+
const r = e.map((n) => ({
|
|
42
|
+
useScope: n(),
|
|
43
|
+
scopeName: n.scopeName
|
|
44
|
+
}));
|
|
45
|
+
return function(s) {
|
|
46
|
+
const a = r.reduce((c, { useScope: i, scopeName: l }) => {
|
|
47
|
+
const d = i(s)[`__scope${l}`];
|
|
48
|
+
return { ...c, ...d };
|
|
49
|
+
}, {});
|
|
50
|
+
return y.useMemo(() => ({ [`__scope${t.scopeName}`]: a }), [a]);
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
return o.scopeName = t.scopeName, o;
|
|
54
|
+
}
|
|
55
|
+
function it(e, t) {
|
|
56
|
+
if (typeof e == "function")
|
|
57
|
+
return e(t);
|
|
58
|
+
e != null && (e.current = t);
|
|
59
|
+
}
|
|
60
|
+
function xo(...e) {
|
|
61
|
+
return (t) => {
|
|
62
|
+
let o = !1;
|
|
63
|
+
const r = e.map((n) => {
|
|
64
|
+
const s = it(n, t);
|
|
65
|
+
return !o && typeof s == "function" && (o = !0), s;
|
|
66
|
+
});
|
|
67
|
+
if (o)
|
|
68
|
+
return () => {
|
|
69
|
+
for (let n = 0; n < r.length; n++) {
|
|
70
|
+
const s = r[n];
|
|
71
|
+
typeof s == "function" ? s() : it(e[n], null);
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
function fe(...e) {
|
|
77
|
+
return y.useCallback(xo(...e), e);
|
|
78
|
+
}
|
|
79
|
+
function Co(e) {
|
|
80
|
+
const t = e + "CollectionProvider", [o, r] = Ke(t), [n, s] = o(
|
|
81
|
+
t,
|
|
82
|
+
{ collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }
|
|
83
|
+
), a = (p) => {
|
|
84
|
+
const { scope: h, children: S } = p, k = L.useRef(null), R = L.useRef(/* @__PURE__ */ new Map()).current;
|
|
85
|
+
return /* @__PURE__ */ m(n, { scope: h, itemMap: R, collectionRef: k, children: S });
|
|
86
|
+
};
|
|
87
|
+
a.displayName = t;
|
|
88
|
+
const c = e + "CollectionSlot", i = Ne(c), l = L.forwardRef(
|
|
89
|
+
(p, h) => {
|
|
90
|
+
const { scope: S, children: k } = p, R = s(c, S), V = fe(h, R.collectionRef);
|
|
91
|
+
return /* @__PURE__ */ m(i, { ref: V, children: k });
|
|
92
|
+
}
|
|
93
|
+
);
|
|
94
|
+
l.displayName = c;
|
|
95
|
+
const f = e + "CollectionItemSlot", d = "data-radix-collection-item", x = Ne(f), u = L.forwardRef(
|
|
96
|
+
(p, h) => {
|
|
97
|
+
const { scope: S, children: k, ...R } = p, V = L.useRef(null), O = fe(h, V), D = s(f, S);
|
|
98
|
+
return L.useEffect(() => (D.itemMap.set(V, { ref: V, ...R }), () => {
|
|
99
|
+
D.itemMap.delete(V);
|
|
100
|
+
})), /* @__PURE__ */ m(x, { [d]: "", ref: O, children: k });
|
|
101
|
+
}
|
|
102
|
+
);
|
|
103
|
+
u.displayName = f;
|
|
104
|
+
function w(p) {
|
|
105
|
+
const h = s(e + "CollectionConsumer", p);
|
|
106
|
+
return L.useCallback(() => {
|
|
107
|
+
const k = h.collectionRef.current;
|
|
108
|
+
if (!k) return [];
|
|
109
|
+
const R = Array.from(k.querySelectorAll(`[${d}]`));
|
|
110
|
+
return Array.from(h.itemMap.values()).sort(
|
|
111
|
+
(D, K) => R.indexOf(D.ref.current) - R.indexOf(K.ref.current)
|
|
112
|
+
);
|
|
113
|
+
}, [h.collectionRef, h.itemMap]);
|
|
114
|
+
}
|
|
115
|
+
return [
|
|
116
|
+
{ Provider: a, Slot: l, ItemSlot: u },
|
|
117
|
+
w,
|
|
118
|
+
r
|
|
119
|
+
];
|
|
120
|
+
}
|
|
121
|
+
function wt(e, t, { checkForDefaultPrevented: o = !0 } = {}) {
|
|
122
|
+
return function(n) {
|
|
123
|
+
if (e?.(n), o === !1 || !n.defaultPrevented)
|
|
124
|
+
return t?.(n);
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
var te = globalThis?.document ? y.useLayoutEffect : () => {
|
|
128
|
+
}, ko = y[" useInsertionEffect ".trim().toString()] || te;
|
|
129
|
+
function qe({
|
|
130
|
+
prop: e,
|
|
131
|
+
defaultProp: t,
|
|
132
|
+
onChange: o = () => {
|
|
133
|
+
},
|
|
134
|
+
caller: r
|
|
135
|
+
}) {
|
|
136
|
+
const [n, s, a] = So({
|
|
137
|
+
defaultProp: t,
|
|
138
|
+
onChange: o
|
|
139
|
+
}), c = e !== void 0, i = c ? e : n;
|
|
140
|
+
{
|
|
141
|
+
const f = y.useRef(e !== void 0);
|
|
142
|
+
y.useEffect(() => {
|
|
143
|
+
const d = f.current;
|
|
144
|
+
d !== c && console.warn(
|
|
145
|
+
`${r} is changing from ${d ? "controlled" : "uncontrolled"} to ${c ? "controlled" : "uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`
|
|
146
|
+
), f.current = c;
|
|
147
|
+
}, [c, r]);
|
|
148
|
+
}
|
|
149
|
+
const l = y.useCallback(
|
|
150
|
+
(f) => {
|
|
151
|
+
if (c) {
|
|
152
|
+
const d = Ao(f) ? f(e) : f;
|
|
153
|
+
d !== e && a.current?.(d);
|
|
154
|
+
} else
|
|
155
|
+
s(f);
|
|
156
|
+
},
|
|
157
|
+
[c, e, s, a]
|
|
158
|
+
);
|
|
159
|
+
return [i, l];
|
|
160
|
+
}
|
|
161
|
+
function So({
|
|
162
|
+
defaultProp: e,
|
|
163
|
+
onChange: t
|
|
164
|
+
}) {
|
|
165
|
+
const [o, r] = y.useState(e), n = y.useRef(o), s = y.useRef(t);
|
|
166
|
+
return ko(() => {
|
|
167
|
+
s.current = t;
|
|
168
|
+
}, [t]), y.useEffect(() => {
|
|
169
|
+
n.current !== o && (s.current?.(o), n.current = o);
|
|
170
|
+
}, [o, n]), [o, r, s];
|
|
171
|
+
}
|
|
172
|
+
function Ao(e) {
|
|
173
|
+
return typeof e == "function";
|
|
174
|
+
}
|
|
175
|
+
var No = [
|
|
176
|
+
"a",
|
|
177
|
+
"button",
|
|
178
|
+
"div",
|
|
179
|
+
"form",
|
|
180
|
+
"h2",
|
|
181
|
+
"h3",
|
|
182
|
+
"img",
|
|
183
|
+
"input",
|
|
184
|
+
"label",
|
|
185
|
+
"li",
|
|
186
|
+
"nav",
|
|
187
|
+
"ol",
|
|
188
|
+
"p",
|
|
189
|
+
"select",
|
|
190
|
+
"span",
|
|
191
|
+
"svg",
|
|
192
|
+
"ul"
|
|
193
|
+
], me = No.reduce((e, t) => {
|
|
194
|
+
const o = Ne(`Primitive.${t}`), r = y.forwardRef((n, s) => {
|
|
195
|
+
const { asChild: a, ...c } = n, i = a ? o : t;
|
|
196
|
+
return typeof window < "u" && (window[/* @__PURE__ */ Symbol.for("radix-ui")] = !0), /* @__PURE__ */ m(i, { ...c, ref: s });
|
|
197
|
+
});
|
|
198
|
+
return r.displayName = `Primitive.${t}`, { ...e, [t]: r };
|
|
199
|
+
}, {});
|
|
200
|
+
function Ro(e, t) {
|
|
201
|
+
return y.useReducer((o, r) => t[o][r] ?? o, e);
|
|
202
|
+
}
|
|
203
|
+
var xt = (e) => {
|
|
204
|
+
const { present: t, children: o } = e, r = _o(t), n = typeof o == "function" ? o({ present: r.isPresent }) : y.Children.only(o), s = fe(r.ref, Eo(n));
|
|
205
|
+
return typeof o == "function" || r.isPresent ? y.cloneElement(n, { ref: s }) : null;
|
|
206
|
+
};
|
|
207
|
+
xt.displayName = "Presence";
|
|
208
|
+
function _o(e) {
|
|
209
|
+
const [t, o] = y.useState(), r = y.useRef(null), n = y.useRef(e), s = y.useRef("none"), a = e ? "mounted" : "unmounted", [c, i] = Ro(a, {
|
|
210
|
+
mounted: {
|
|
211
|
+
UNMOUNT: "unmounted",
|
|
212
|
+
ANIMATION_OUT: "unmountSuspended"
|
|
213
|
+
},
|
|
214
|
+
unmountSuspended: {
|
|
215
|
+
MOUNT: "mounted",
|
|
216
|
+
ANIMATION_END: "unmounted"
|
|
217
|
+
},
|
|
218
|
+
unmounted: {
|
|
219
|
+
MOUNT: "mounted"
|
|
220
|
+
}
|
|
221
|
+
});
|
|
222
|
+
return y.useEffect(() => {
|
|
223
|
+
const l = we(r.current);
|
|
224
|
+
s.current = c === "mounted" ? l : "none";
|
|
225
|
+
}, [c]), te(() => {
|
|
226
|
+
const l = r.current, f = n.current;
|
|
227
|
+
if (f !== e) {
|
|
228
|
+
const x = s.current, u = we(l);
|
|
229
|
+
e ? i("MOUNT") : u === "none" || l?.display === "none" ? i("UNMOUNT") : i(f && x !== u ? "ANIMATION_OUT" : "UNMOUNT"), n.current = e;
|
|
230
|
+
}
|
|
231
|
+
}, [e, i]), te(() => {
|
|
232
|
+
if (t) {
|
|
233
|
+
let l;
|
|
234
|
+
const f = t.ownerDocument.defaultView ?? window, d = (u) => {
|
|
235
|
+
const p = we(r.current).includes(CSS.escape(u.animationName));
|
|
236
|
+
if (u.target === t && p && (i("ANIMATION_END"), !n.current)) {
|
|
237
|
+
const h = t.style.animationFillMode;
|
|
238
|
+
t.style.animationFillMode = "forwards", l = f.setTimeout(() => {
|
|
239
|
+
t.style.animationFillMode === "forwards" && (t.style.animationFillMode = h);
|
|
240
|
+
});
|
|
241
|
+
}
|
|
242
|
+
}, x = (u) => {
|
|
243
|
+
u.target === t && (s.current = we(r.current));
|
|
244
|
+
};
|
|
245
|
+
return t.addEventListener("animationstart", x), t.addEventListener("animationcancel", d), t.addEventListener("animationend", d), () => {
|
|
246
|
+
f.clearTimeout(l), t.removeEventListener("animationstart", x), t.removeEventListener("animationcancel", d), t.removeEventListener("animationend", d);
|
|
247
|
+
};
|
|
248
|
+
} else
|
|
249
|
+
i("ANIMATION_END");
|
|
250
|
+
}, [t, i]), {
|
|
251
|
+
isPresent: ["mounted", "unmountSuspended"].includes(c),
|
|
252
|
+
ref: y.useCallback((l) => {
|
|
253
|
+
r.current = l ? getComputedStyle(l) : null, o(l);
|
|
254
|
+
}, [])
|
|
255
|
+
};
|
|
256
|
+
}
|
|
257
|
+
function we(e) {
|
|
258
|
+
return e?.animationName || "none";
|
|
259
|
+
}
|
|
260
|
+
function Eo(e) {
|
|
261
|
+
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, o = t && "isReactWarning" in t && t.isReactWarning;
|
|
262
|
+
return o ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, o = t && "isReactWarning" in t && t.isReactWarning, o ? e.props.ref : e.props.ref || e.ref);
|
|
263
|
+
}
|
|
264
|
+
var Po = y[" useId ".trim().toString()] || (() => {
|
|
265
|
+
}), Io = 0;
|
|
266
|
+
function Ct(e) {
|
|
267
|
+
const [t, o] = y.useState(Po());
|
|
268
|
+
return te(() => {
|
|
269
|
+
o((r) => r ?? String(Io++));
|
|
270
|
+
}, [e]), t ? `radix-${t}` : "";
|
|
271
|
+
}
|
|
272
|
+
var Ie = "Collapsible", [Mo, kt] = Ke(Ie), [To, Ye] = Mo(Ie), St = y.forwardRef(
|
|
273
|
+
(e, t) => {
|
|
274
|
+
const {
|
|
275
|
+
__scopeCollapsible: o,
|
|
276
|
+
open: r,
|
|
277
|
+
defaultOpen: n,
|
|
278
|
+
disabled: s,
|
|
279
|
+
onOpenChange: a,
|
|
280
|
+
...c
|
|
281
|
+
} = e, [i, l] = qe({
|
|
282
|
+
prop: r,
|
|
283
|
+
defaultProp: n ?? !1,
|
|
284
|
+
onChange: a,
|
|
285
|
+
caller: Ie
|
|
286
|
+
});
|
|
287
|
+
return /* @__PURE__ */ m(
|
|
288
|
+
To,
|
|
289
|
+
{
|
|
290
|
+
scope: o,
|
|
291
|
+
disabled: s,
|
|
292
|
+
contentId: Ct(),
|
|
293
|
+
open: i,
|
|
294
|
+
onOpenToggle: y.useCallback(() => l((f) => !f), [l]),
|
|
295
|
+
children: /* @__PURE__ */ m(
|
|
296
|
+
me.div,
|
|
297
|
+
{
|
|
298
|
+
"data-state": Je(i),
|
|
299
|
+
"data-disabled": s ? "" : void 0,
|
|
300
|
+
...c,
|
|
301
|
+
ref: t
|
|
302
|
+
}
|
|
303
|
+
)
|
|
304
|
+
}
|
|
305
|
+
);
|
|
306
|
+
}
|
|
307
|
+
);
|
|
308
|
+
St.displayName = Ie;
|
|
309
|
+
var At = "CollapsibleTrigger", Nt = y.forwardRef(
|
|
310
|
+
(e, t) => {
|
|
311
|
+
const { __scopeCollapsible: o, ...r } = e, n = Ye(At, o);
|
|
312
|
+
return /* @__PURE__ */ m(
|
|
313
|
+
me.button,
|
|
314
|
+
{
|
|
315
|
+
type: "button",
|
|
316
|
+
"aria-controls": n.contentId,
|
|
317
|
+
"aria-expanded": n.open || !1,
|
|
318
|
+
"data-state": Je(n.open),
|
|
319
|
+
"data-disabled": n.disabled ? "" : void 0,
|
|
320
|
+
disabled: n.disabled,
|
|
321
|
+
...r,
|
|
322
|
+
ref: t,
|
|
323
|
+
onClick: wt(e.onClick, n.onOpenToggle)
|
|
324
|
+
}
|
|
325
|
+
);
|
|
326
|
+
}
|
|
327
|
+
);
|
|
328
|
+
Nt.displayName = At;
|
|
329
|
+
var Xe = "CollapsibleContent", Rt = y.forwardRef(
|
|
330
|
+
(e, t) => {
|
|
331
|
+
const { forceMount: o, ...r } = e, n = Ye(Xe, e.__scopeCollapsible);
|
|
332
|
+
return /* @__PURE__ */ m(xt, { present: o || n.open, children: ({ present: s }) => /* @__PURE__ */ m(Oo, { ...r, ref: t, present: s }) });
|
|
333
|
+
}
|
|
334
|
+
);
|
|
335
|
+
Rt.displayName = Xe;
|
|
336
|
+
var Oo = y.forwardRef((e, t) => {
|
|
337
|
+
const { __scopeCollapsible: o, present: r, children: n, ...s } = e, a = Ye(Xe, o), [c, i] = y.useState(r), l = y.useRef(null), f = fe(t, l), d = y.useRef(0), x = d.current, u = y.useRef(0), w = u.current, p = a.open || c, h = y.useRef(p), S = y.useRef(void 0);
|
|
338
|
+
return y.useEffect(() => {
|
|
339
|
+
const k = requestAnimationFrame(() => h.current = !1);
|
|
340
|
+
return () => cancelAnimationFrame(k);
|
|
341
|
+
}, []), te(() => {
|
|
342
|
+
const k = l.current;
|
|
343
|
+
if (k) {
|
|
344
|
+
S.current = S.current || {
|
|
345
|
+
transitionDuration: k.style.transitionDuration,
|
|
346
|
+
animationName: k.style.animationName
|
|
347
|
+
}, k.style.transitionDuration = "0s", k.style.animationName = "none";
|
|
348
|
+
const R = k.getBoundingClientRect();
|
|
349
|
+
d.current = R.height, u.current = R.width, h.current || (k.style.transitionDuration = S.current.transitionDuration, k.style.animationName = S.current.animationName), i(r);
|
|
350
|
+
}
|
|
351
|
+
}, [a.open, r]), /* @__PURE__ */ m(
|
|
352
|
+
me.div,
|
|
353
|
+
{
|
|
354
|
+
"data-state": Je(a.open),
|
|
355
|
+
"data-disabled": a.disabled ? "" : void 0,
|
|
356
|
+
id: a.contentId,
|
|
357
|
+
hidden: !p,
|
|
358
|
+
...s,
|
|
359
|
+
ref: f,
|
|
360
|
+
style: {
|
|
361
|
+
"--radix-collapsible-content-height": x ? `${x}px` : void 0,
|
|
362
|
+
"--radix-collapsible-content-width": w ? `${w}px` : void 0,
|
|
363
|
+
...e.style
|
|
364
|
+
},
|
|
365
|
+
children: p && n
|
|
366
|
+
}
|
|
367
|
+
);
|
|
368
|
+
});
|
|
369
|
+
function Je(e) {
|
|
370
|
+
return e ? "open" : "closed";
|
|
371
|
+
}
|
|
372
|
+
var zo = St, Lo = Nt, Vo = Rt, Go = y.createContext(void 0);
|
|
373
|
+
function $o(e) {
|
|
374
|
+
const t = y.useContext(Go);
|
|
375
|
+
return e || t || "ltr";
|
|
376
|
+
}
|
|
377
|
+
var Y = "Accordion", Do = ["Home", "End", "ArrowDown", "ArrowUp", "ArrowLeft", "ArrowRight"], [Qe, jo, Fo] = Co(Y), [Me] = Ke(Y, [
|
|
378
|
+
Fo,
|
|
379
|
+
kt
|
|
380
|
+
]), Ze = kt(), _t = L.forwardRef(
|
|
381
|
+
(e, t) => {
|
|
382
|
+
const { type: o, ...r } = e, n = r, s = r;
|
|
383
|
+
return /* @__PURE__ */ m(Qe.Provider, { scope: e.__scopeAccordion, children: o === "multiple" ? /* @__PURE__ */ m(Ho, { ...s, ref: t }) : /* @__PURE__ */ m(Wo, { ...n, ref: t }) });
|
|
384
|
+
}
|
|
385
|
+
);
|
|
386
|
+
_t.displayName = Y;
|
|
387
|
+
var [Et, Uo] = Me(Y), [Pt, Bo] = Me(
|
|
388
|
+
Y,
|
|
389
|
+
{ collapsible: !1 }
|
|
390
|
+
), Wo = L.forwardRef(
|
|
391
|
+
(e, t) => {
|
|
392
|
+
const {
|
|
393
|
+
value: o,
|
|
394
|
+
defaultValue: r,
|
|
395
|
+
onValueChange: n = () => {
|
|
396
|
+
},
|
|
397
|
+
collapsible: s = !1,
|
|
398
|
+
...a
|
|
399
|
+
} = e, [c, i] = qe({
|
|
400
|
+
prop: o,
|
|
401
|
+
defaultProp: r ?? "",
|
|
402
|
+
onChange: n,
|
|
403
|
+
caller: Y
|
|
404
|
+
});
|
|
405
|
+
return /* @__PURE__ */ m(
|
|
406
|
+
Et,
|
|
407
|
+
{
|
|
408
|
+
scope: e.__scopeAccordion,
|
|
409
|
+
value: L.useMemo(() => c ? [c] : [], [c]),
|
|
410
|
+
onItemOpen: i,
|
|
411
|
+
onItemClose: L.useCallback(() => s && i(""), [s, i]),
|
|
412
|
+
children: /* @__PURE__ */ m(Pt, { scope: e.__scopeAccordion, collapsible: s, children: /* @__PURE__ */ m(It, { ...a, ref: t }) })
|
|
413
|
+
}
|
|
414
|
+
);
|
|
415
|
+
}
|
|
416
|
+
), Ho = L.forwardRef((e, t) => {
|
|
417
|
+
const {
|
|
418
|
+
value: o,
|
|
419
|
+
defaultValue: r,
|
|
420
|
+
onValueChange: n = () => {
|
|
421
|
+
},
|
|
422
|
+
...s
|
|
423
|
+
} = e, [a, c] = qe({
|
|
424
|
+
prop: o,
|
|
425
|
+
defaultProp: r ?? [],
|
|
426
|
+
onChange: n,
|
|
427
|
+
caller: Y
|
|
428
|
+
}), i = L.useCallback(
|
|
429
|
+
(f) => c((d = []) => [...d, f]),
|
|
430
|
+
[c]
|
|
431
|
+
), l = L.useCallback(
|
|
432
|
+
(f) => c((d = []) => d.filter((x) => x !== f)),
|
|
433
|
+
[c]
|
|
434
|
+
);
|
|
435
|
+
return /* @__PURE__ */ m(
|
|
436
|
+
Et,
|
|
437
|
+
{
|
|
438
|
+
scope: e.__scopeAccordion,
|
|
439
|
+
value: a,
|
|
440
|
+
onItemOpen: i,
|
|
441
|
+
onItemClose: l,
|
|
442
|
+
children: /* @__PURE__ */ m(Pt, { scope: e.__scopeAccordion, collapsible: !0, children: /* @__PURE__ */ m(It, { ...s, ref: t }) })
|
|
443
|
+
}
|
|
444
|
+
);
|
|
445
|
+
}), [Ko, Te] = Me(Y), It = L.forwardRef(
|
|
446
|
+
(e, t) => {
|
|
447
|
+
const { __scopeAccordion: o, disabled: r, dir: n, orientation: s = "vertical", ...a } = e, c = L.useRef(null), i = fe(c, t), l = jo(o), d = $o(n) === "ltr", x = wt(e.onKeyDown, (u) => {
|
|
448
|
+
if (!Do.includes(u.key)) return;
|
|
449
|
+
const w = u.target, p = l().filter((C) => !C.ref.current?.disabled), h = p.findIndex((C) => C.ref.current === w), S = p.length;
|
|
450
|
+
if (h === -1) return;
|
|
451
|
+
u.preventDefault();
|
|
452
|
+
let k = h;
|
|
453
|
+
const R = 0, V = S - 1, O = () => {
|
|
454
|
+
k = h + 1, k > V && (k = R);
|
|
455
|
+
}, D = () => {
|
|
456
|
+
k = h - 1, k < R && (k = V);
|
|
457
|
+
};
|
|
458
|
+
switch (u.key) {
|
|
459
|
+
case "Home":
|
|
460
|
+
k = R;
|
|
461
|
+
break;
|
|
462
|
+
case "End":
|
|
463
|
+
k = V;
|
|
464
|
+
break;
|
|
465
|
+
case "ArrowRight":
|
|
466
|
+
s === "horizontal" && (d ? O() : D());
|
|
467
|
+
break;
|
|
468
|
+
case "ArrowDown":
|
|
469
|
+
s === "vertical" && O();
|
|
470
|
+
break;
|
|
471
|
+
case "ArrowLeft":
|
|
472
|
+
s === "horizontal" && (d ? D() : O());
|
|
473
|
+
break;
|
|
474
|
+
case "ArrowUp":
|
|
475
|
+
s === "vertical" && D();
|
|
476
|
+
break;
|
|
477
|
+
}
|
|
478
|
+
const K = k % S;
|
|
479
|
+
p[K].ref.current?.focus();
|
|
480
|
+
});
|
|
481
|
+
return /* @__PURE__ */ m(
|
|
482
|
+
Ko,
|
|
483
|
+
{
|
|
484
|
+
scope: o,
|
|
485
|
+
disabled: r,
|
|
486
|
+
direction: n,
|
|
487
|
+
orientation: s,
|
|
488
|
+
children: /* @__PURE__ */ m(Qe.Slot, { scope: o, children: /* @__PURE__ */ m(
|
|
489
|
+
me.div,
|
|
490
|
+
{
|
|
491
|
+
...a,
|
|
492
|
+
"data-orientation": s,
|
|
493
|
+
ref: i,
|
|
494
|
+
onKeyDown: r ? void 0 : x
|
|
495
|
+
}
|
|
496
|
+
) })
|
|
497
|
+
}
|
|
498
|
+
);
|
|
499
|
+
}
|
|
500
|
+
), Re = "AccordionItem", [qo, et] = Me(Re), Mt = L.forwardRef(
|
|
501
|
+
(e, t) => {
|
|
502
|
+
const { __scopeAccordion: o, value: r, ...n } = e, s = Te(Re, o), a = Uo(Re, o), c = Ze(o), i = Ct(), l = r && a.value.includes(r) || !1, f = s.disabled || e.disabled;
|
|
503
|
+
return /* @__PURE__ */ m(
|
|
504
|
+
qo,
|
|
505
|
+
{
|
|
506
|
+
scope: o,
|
|
507
|
+
open: l,
|
|
508
|
+
disabled: f,
|
|
509
|
+
triggerId: i,
|
|
510
|
+
children: /* @__PURE__ */ m(
|
|
511
|
+
zo,
|
|
512
|
+
{
|
|
513
|
+
"data-orientation": s.orientation,
|
|
514
|
+
"data-state": Gt(l),
|
|
515
|
+
...c,
|
|
516
|
+
...n,
|
|
517
|
+
ref: t,
|
|
518
|
+
disabled: f,
|
|
519
|
+
open: l,
|
|
520
|
+
onOpenChange: (d) => {
|
|
521
|
+
d ? a.onItemOpen(r) : a.onItemClose(r);
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
)
|
|
525
|
+
}
|
|
526
|
+
);
|
|
527
|
+
}
|
|
528
|
+
);
|
|
529
|
+
Mt.displayName = Re;
|
|
530
|
+
var Tt = "AccordionHeader", Ot = L.forwardRef(
|
|
531
|
+
(e, t) => {
|
|
532
|
+
const { __scopeAccordion: o, ...r } = e, n = Te(Y, o), s = et(Tt, o);
|
|
533
|
+
return /* @__PURE__ */ m(
|
|
534
|
+
me.h3,
|
|
535
|
+
{
|
|
536
|
+
"data-orientation": n.orientation,
|
|
537
|
+
"data-state": Gt(s.open),
|
|
538
|
+
"data-disabled": s.disabled ? "" : void 0,
|
|
539
|
+
...r,
|
|
540
|
+
ref: t
|
|
541
|
+
}
|
|
542
|
+
);
|
|
543
|
+
}
|
|
544
|
+
);
|
|
545
|
+
Ot.displayName = Tt;
|
|
546
|
+
var $e = "AccordionTrigger", zt = L.forwardRef(
|
|
547
|
+
(e, t) => {
|
|
548
|
+
const { __scopeAccordion: o, ...r } = e, n = Te(Y, o), s = et($e, o), a = Bo($e, o), c = Ze(o);
|
|
549
|
+
return /* @__PURE__ */ m(Qe.ItemSlot, { scope: o, children: /* @__PURE__ */ m(
|
|
550
|
+
Lo,
|
|
551
|
+
{
|
|
552
|
+
"aria-disabled": s.open && !a.collapsible || void 0,
|
|
553
|
+
"data-orientation": n.orientation,
|
|
554
|
+
id: s.triggerId,
|
|
555
|
+
...c,
|
|
556
|
+
...r,
|
|
557
|
+
ref: t
|
|
558
|
+
}
|
|
559
|
+
) });
|
|
560
|
+
}
|
|
561
|
+
);
|
|
562
|
+
zt.displayName = $e;
|
|
563
|
+
var Lt = "AccordionContent", Vt = L.forwardRef(
|
|
564
|
+
(e, t) => {
|
|
565
|
+
const { __scopeAccordion: o, ...r } = e, n = Te(Y, o), s = et(Lt, o), a = Ze(o);
|
|
566
|
+
return /* @__PURE__ */ m(
|
|
567
|
+
Vo,
|
|
568
|
+
{
|
|
569
|
+
role: "region",
|
|
570
|
+
"aria-labelledby": s.triggerId,
|
|
571
|
+
"data-orientation": n.orientation,
|
|
572
|
+
...a,
|
|
573
|
+
...r,
|
|
574
|
+
ref: t,
|
|
575
|
+
style: {
|
|
576
|
+
"--radix-accordion-content-height": "var(--radix-collapsible-content-height)",
|
|
577
|
+
"--radix-accordion-content-width": "var(--radix-collapsible-content-width)",
|
|
578
|
+
...e.style
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
);
|
|
582
|
+
}
|
|
583
|
+
);
|
|
584
|
+
Vt.displayName = Lt;
|
|
585
|
+
function Gt(e) {
|
|
586
|
+
return e ? "open" : "closed";
|
|
587
|
+
}
|
|
588
|
+
var Yo = _t, Xo = Mt, Jo = Ot, Qo = zt, Zo = Vt, er = /\s+/g, tr = (e) => typeof e != "string" || !e ? e : e.replace(er, " ").trim(), _e = (...e) => {
|
|
589
|
+
const t = [], o = (r) => {
|
|
590
|
+
if (!r && r !== 0 && r !== 0n) return;
|
|
591
|
+
if (Array.isArray(r)) {
|
|
592
|
+
for (let s = 0, a = r.length; s < a; s++) o(r[s]);
|
|
10
593
|
return;
|
|
11
594
|
}
|
|
12
|
-
const n = typeof
|
|
595
|
+
const n = typeof r;
|
|
13
596
|
if (n === "string" || n === "number" || n === "bigint") {
|
|
14
|
-
if (n === "number" &&
|
|
15
|
-
|
|
597
|
+
if (n === "number" && r !== r) return;
|
|
598
|
+
t.push(String(r));
|
|
16
599
|
} else if (n === "object") {
|
|
17
|
-
const s = Object.keys(
|
|
18
|
-
for (let a = 0,
|
|
19
|
-
const
|
|
20
|
-
|
|
600
|
+
const s = Object.keys(r);
|
|
601
|
+
for (let a = 0, c = s.length; a < c; a++) {
|
|
602
|
+
const i = s[a];
|
|
603
|
+
r[i] && t.push(i);
|
|
21
604
|
}
|
|
22
605
|
}
|
|
23
606
|
};
|
|
24
|
-
for (let
|
|
25
|
-
const s = e[
|
|
607
|
+
for (let r = 0, n = e.length; r < n; r++) {
|
|
608
|
+
const s = e[r];
|
|
26
609
|
s != null && o(s);
|
|
27
610
|
}
|
|
28
|
-
return
|
|
29
|
-
},
|
|
611
|
+
return t.length > 0 ? tr(t.join(" ")) : void 0;
|
|
612
|
+
}, ct = (e) => e === !1 ? "false" : e === !0 ? "true" : e === 0 ? "0" : e, W = (e) => {
|
|
30
613
|
if (!e || typeof e != "object") return !0;
|
|
31
|
-
for (const
|
|
614
|
+
for (const t in e) return !1;
|
|
32
615
|
return !0;
|
|
33
|
-
},
|
|
34
|
-
if (e ===
|
|
35
|
-
if (!e || !
|
|
36
|
-
const o = Object.keys(e),
|
|
37
|
-
if (o.length !==
|
|
616
|
+
}, or = (e, t) => {
|
|
617
|
+
if (e === t) return !0;
|
|
618
|
+
if (!e || !t) return !1;
|
|
619
|
+
const o = Object.keys(e), r = Object.keys(t);
|
|
620
|
+
if (o.length !== r.length) return !1;
|
|
38
621
|
for (let n = 0; n < o.length; n++) {
|
|
39
622
|
const s = o[n];
|
|
40
|
-
if (!
|
|
623
|
+
if (!r.includes(s) || e[s] !== t[s]) return !1;
|
|
41
624
|
}
|
|
42
625
|
return !0;
|
|
43
|
-
},
|
|
44
|
-
for (const o in
|
|
45
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
46
|
-
const
|
|
47
|
-
o in e ? e[o] =
|
|
626
|
+
}, rr = (e, t) => {
|
|
627
|
+
for (const o in t)
|
|
628
|
+
if (Object.prototype.hasOwnProperty.call(t, o)) {
|
|
629
|
+
const r = t[o];
|
|
630
|
+
o in e ? e[o] = _e(e[o], r) : e[o] = r;
|
|
48
631
|
}
|
|
49
632
|
return e;
|
|
50
|
-
},
|
|
633
|
+
}, $t = (e, t) => {
|
|
51
634
|
for (let o = 0; o < e.length; o++) {
|
|
52
|
-
const
|
|
53
|
-
Array.isArray(
|
|
635
|
+
const r = e[o];
|
|
636
|
+
Array.isArray(r) ? $t(r, t) : r && t.push(r);
|
|
54
637
|
}
|
|
55
|
-
},
|
|
56
|
-
const
|
|
57
|
-
|
|
638
|
+
}, Dt = (...e) => {
|
|
639
|
+
const t = [];
|
|
640
|
+
$t(e, t);
|
|
58
641
|
const o = [];
|
|
59
|
-
for (let
|
|
60
|
-
r
|
|
642
|
+
for (let r = 0; r < t.length; r++)
|
|
643
|
+
t[r] && o.push(t[r]);
|
|
61
644
|
return o;
|
|
62
|
-
},
|
|
645
|
+
}, De = (e, t) => {
|
|
63
646
|
const o = {};
|
|
64
|
-
for (const
|
|
65
|
-
const n = e[
|
|
66
|
-
if (
|
|
67
|
-
const s = r
|
|
68
|
-
Array.isArray(n) || Array.isArray(s) ? o[
|
|
647
|
+
for (const r in e) {
|
|
648
|
+
const n = e[r];
|
|
649
|
+
if (r in t) {
|
|
650
|
+
const s = t[r];
|
|
651
|
+
Array.isArray(n) || Array.isArray(s) ? o[r] = Dt(s, n) : typeof n == "object" && typeof s == "object" && n && s ? o[r] = De(n, s) : o[r] = s + " " + n;
|
|
69
652
|
} else
|
|
70
|
-
o[
|
|
653
|
+
o[r] = n;
|
|
71
654
|
}
|
|
72
|
-
for (const
|
|
73
|
-
|
|
655
|
+
for (const r in t)
|
|
656
|
+
r in e || (o[r] = t[r]);
|
|
74
657
|
return o;
|
|
75
|
-
},
|
|
658
|
+
}, nr = {
|
|
76
659
|
twMerge: !0,
|
|
77
660
|
twMergeConfig: {}
|
|
78
661
|
};
|
|
79
|
-
function
|
|
80
|
-
let e = null,
|
|
662
|
+
function sr() {
|
|
663
|
+
let e = null, t = {}, o = !1;
|
|
81
664
|
return {
|
|
82
665
|
get cachedTwMerge() {
|
|
83
666
|
return e;
|
|
84
667
|
},
|
|
85
|
-
set cachedTwMerge(
|
|
86
|
-
e =
|
|
668
|
+
set cachedTwMerge(r) {
|
|
669
|
+
e = r;
|
|
87
670
|
},
|
|
88
671
|
get cachedTwMergeConfig() {
|
|
89
|
-
return
|
|
672
|
+
return t;
|
|
90
673
|
},
|
|
91
|
-
set cachedTwMergeConfig(
|
|
92
|
-
|
|
674
|
+
set cachedTwMergeConfig(r) {
|
|
675
|
+
t = r;
|
|
93
676
|
},
|
|
94
677
|
get didTwMergeConfigChange() {
|
|
95
678
|
return o;
|
|
96
679
|
},
|
|
97
|
-
set didTwMergeConfigChange(
|
|
98
|
-
o =
|
|
680
|
+
set didTwMergeConfigChange(r) {
|
|
681
|
+
o = r;
|
|
99
682
|
},
|
|
100
683
|
reset() {
|
|
101
|
-
e = null,
|
|
684
|
+
e = null, t = {}, o = !1;
|
|
102
685
|
}
|
|
103
686
|
};
|
|
104
687
|
}
|
|
105
|
-
var
|
|
106
|
-
const
|
|
688
|
+
var Q = sr(), ar = (e) => {
|
|
689
|
+
const t = (r, n) => {
|
|
107
690
|
const {
|
|
108
691
|
extend: s = null,
|
|
109
692
|
slots: a = {},
|
|
110
|
-
variants:
|
|
111
|
-
compoundVariants:
|
|
112
|
-
compoundSlots:
|
|
113
|
-
defaultVariants:
|
|
114
|
-
} =
|
|
115
|
-
!
|
|
116
|
-
const
|
|
693
|
+
variants: c = {},
|
|
694
|
+
compoundVariants: i = [],
|
|
695
|
+
compoundSlots: l = [],
|
|
696
|
+
defaultVariants: f = {}
|
|
697
|
+
} = r, d = { ...nr, ...n }, x = s?.base ? _e(s.base, r?.base) : r?.base, u = s?.variants && !W(s.variants) ? De(c, s.variants) : c, w = s?.defaultVariants && !W(s.defaultVariants) ? { ...s.defaultVariants, ...f } : f;
|
|
698
|
+
!W(d.twMergeConfig) && !or(d.twMergeConfig, Q.cachedTwMergeConfig) && (Q.didTwMergeConfigChange = !0, Q.cachedTwMergeConfig = d.twMergeConfig);
|
|
699
|
+
const p = W(s?.slots), h = W(a) ? {} : {
|
|
117
700
|
// add "base" to the slots object
|
|
118
|
-
base:
|
|
701
|
+
base: _e(r?.base, p && s?.base),
|
|
119
702
|
...a
|
|
120
|
-
},
|
|
703
|
+
}, S = p ? h : rr(
|
|
121
704
|
{ ...s?.slots },
|
|
122
|
-
|
|
123
|
-
),
|
|
124
|
-
if (
|
|
125
|
-
return e(
|
|
126
|
-
if (
|
|
705
|
+
W(h) ? { base: r?.base } : h
|
|
706
|
+
), k = W(s?.compoundVariants) ? i : Dt(s?.compoundVariants, i), R = (O) => {
|
|
707
|
+
if (W(u) && W(a) && p)
|
|
708
|
+
return e(x, O?.class, O?.className)(d);
|
|
709
|
+
if (k && !Array.isArray(k))
|
|
127
710
|
throw new TypeError(
|
|
128
|
-
`The "compoundVariants" prop must be an array. Received: ${typeof
|
|
711
|
+
`The "compoundVariants" prop must be an array. Received: ${typeof k}`
|
|
129
712
|
);
|
|
130
|
-
if (
|
|
713
|
+
if (l && !Array.isArray(l))
|
|
131
714
|
throw new TypeError(
|
|
132
|
-
`The "compoundSlots" prop must be an array. Received: ${typeof
|
|
715
|
+
`The "compoundSlots" prop must be an array. Received: ${typeof l}`
|
|
133
716
|
);
|
|
134
|
-
const
|
|
135
|
-
const
|
|
136
|
-
if (!
|
|
717
|
+
const D = (_, E = u, A = null, P = null) => {
|
|
718
|
+
const I = E[_];
|
|
719
|
+
if (!I || W(I))
|
|
137
720
|
return null;
|
|
138
|
-
const z =
|
|
721
|
+
const z = P?.[_] ?? O?.[_];
|
|
139
722
|
if (z === null) return null;
|
|
140
|
-
const
|
|
141
|
-
if (typeof
|
|
723
|
+
const v = ct(z);
|
|
724
|
+
if (typeof v == "object")
|
|
142
725
|
return null;
|
|
143
|
-
const
|
|
144
|
-
return
|
|
145
|
-
},
|
|
146
|
-
if (!
|
|
147
|
-
const
|
|
148
|
-
for (let
|
|
149
|
-
const
|
|
150
|
-
|
|
726
|
+
const q = w?.[_], B = v ?? ct(q);
|
|
727
|
+
return I[B || "false"];
|
|
728
|
+
}, K = () => {
|
|
729
|
+
if (!u) return null;
|
|
730
|
+
const _ = Object.keys(u), E = [];
|
|
731
|
+
for (let A = 0; A < _.length; A++) {
|
|
732
|
+
const P = D(_[A], u);
|
|
733
|
+
P && E.push(P);
|
|
151
734
|
}
|
|
152
|
-
return
|
|
153
|
-
},
|
|
154
|
-
if (!
|
|
155
|
-
const
|
|
156
|
-
for (const
|
|
157
|
-
const
|
|
158
|
-
z &&
|
|
735
|
+
return E;
|
|
736
|
+
}, C = (_, E) => {
|
|
737
|
+
if (!u || typeof u != "object") return null;
|
|
738
|
+
const A = [];
|
|
739
|
+
for (const P in u) {
|
|
740
|
+
const I = D(P, u, _, E), z = _ === "base" && typeof I == "string" ? I : I && I[_];
|
|
741
|
+
z && A.push(z);
|
|
159
742
|
}
|
|
160
|
-
return
|
|
161
|
-
},
|
|
162
|
-
for (const
|
|
163
|
-
const
|
|
164
|
-
|
|
743
|
+
return A;
|
|
744
|
+
}, U = {};
|
|
745
|
+
for (const _ in O) {
|
|
746
|
+
const E = O[_];
|
|
747
|
+
E !== void 0 && (U[_] = E);
|
|
165
748
|
}
|
|
166
|
-
const
|
|
167
|
-
const
|
|
168
|
-
[
|
|
749
|
+
const ce = (_, E) => {
|
|
750
|
+
const A = typeof O?.[_] == "object" ? {
|
|
751
|
+
[_]: O[_]?.initial
|
|
169
752
|
} : {};
|
|
170
753
|
return {
|
|
171
|
-
...
|
|
172
|
-
...
|
|
173
|
-
...
|
|
174
|
-
...
|
|
754
|
+
...w,
|
|
755
|
+
...U,
|
|
756
|
+
...A,
|
|
757
|
+
...E
|
|
175
758
|
};
|
|
176
|
-
},
|
|
177
|
-
const
|
|
178
|
-
for (let
|
|
179
|
-
const { class: z, className:
|
|
180
|
-
let
|
|
181
|
-
const
|
|
182
|
-
for (const
|
|
183
|
-
const
|
|
184
|
-
if (Array.isArray(
|
|
185
|
-
if (!
|
|
186
|
-
|
|
759
|
+
}, le = (_ = [], E) => {
|
|
760
|
+
const A = [], P = _.length;
|
|
761
|
+
for (let I = 0; I < P; I++) {
|
|
762
|
+
const { class: z, className: v, ...q } = _[I];
|
|
763
|
+
let B = !0;
|
|
764
|
+
const H = ce(null, E);
|
|
765
|
+
for (const X in q) {
|
|
766
|
+
const T = q[X], G = H[X];
|
|
767
|
+
if (Array.isArray(T)) {
|
|
768
|
+
if (!T.includes(G)) {
|
|
769
|
+
B = !1;
|
|
187
770
|
break;
|
|
188
771
|
}
|
|
189
772
|
} else {
|
|
190
|
-
if ((
|
|
773
|
+
if ((T == null || T === !1) && (G == null || G === !1))
|
|
191
774
|
continue;
|
|
192
|
-
if (
|
|
193
|
-
|
|
775
|
+
if (G !== T) {
|
|
776
|
+
B = !1;
|
|
194
777
|
break;
|
|
195
778
|
}
|
|
196
779
|
}
|
|
197
780
|
}
|
|
198
|
-
|
|
781
|
+
B && (z && A.push(z), v && A.push(v));
|
|
199
782
|
}
|
|
200
|
-
return
|
|
201
|
-
},
|
|
202
|
-
const
|
|
203
|
-
if (!Array.isArray(
|
|
204
|
-
const
|
|
205
|
-
for (let
|
|
206
|
-
const z =
|
|
783
|
+
return A;
|
|
784
|
+
}, ie = (_) => {
|
|
785
|
+
const E = le(k, _);
|
|
786
|
+
if (!Array.isArray(E)) return E;
|
|
787
|
+
const A = {}, P = e;
|
|
788
|
+
for (let I = 0; I < E.length; I++) {
|
|
789
|
+
const z = E[I];
|
|
207
790
|
if (typeof z == "string")
|
|
208
|
-
|
|
791
|
+
A.base = P(A.base, z)(d);
|
|
209
792
|
else if (typeof z == "object")
|
|
210
|
-
for (const
|
|
211
|
-
|
|
793
|
+
for (const v in z)
|
|
794
|
+
A[v] = P(A[v], z[v])(d);
|
|
212
795
|
}
|
|
213
|
-
return
|
|
214
|
-
},
|
|
215
|
-
if (
|
|
216
|
-
const
|
|
217
|
-
for (let
|
|
796
|
+
return A;
|
|
797
|
+
}, ge = (_) => {
|
|
798
|
+
if (l.length < 1) return null;
|
|
799
|
+
const E = {}, A = ce(null, _);
|
|
800
|
+
for (let P = 0; P < l.length; P++) {
|
|
218
801
|
const {
|
|
219
|
-
slots:
|
|
802
|
+
slots: I = [],
|
|
220
803
|
class: z,
|
|
221
|
-
className:
|
|
222
|
-
...
|
|
223
|
-
} =
|
|
224
|
-
if (!
|
|
225
|
-
let
|
|
226
|
-
for (const
|
|
227
|
-
const
|
|
228
|
-
if (
|
|
229
|
-
|
|
804
|
+
className: v,
|
|
805
|
+
...q
|
|
806
|
+
} = l[P];
|
|
807
|
+
if (!W(q)) {
|
|
808
|
+
let B = !0;
|
|
809
|
+
for (const H in q) {
|
|
810
|
+
const X = A[H], T = q[H];
|
|
811
|
+
if (X === void 0 || (Array.isArray(T) ? !T.includes(X) : T !== X)) {
|
|
812
|
+
B = !1;
|
|
230
813
|
break;
|
|
231
814
|
}
|
|
232
815
|
}
|
|
233
|
-
if (!
|
|
816
|
+
if (!B) continue;
|
|
234
817
|
}
|
|
235
|
-
for (let
|
|
236
|
-
const
|
|
237
|
-
|
|
818
|
+
for (let B = 0; B < I.length; B++) {
|
|
819
|
+
const H = I[B];
|
|
820
|
+
E[H] || (E[H] = []), E[H].push([z, v]);
|
|
238
821
|
}
|
|
239
822
|
}
|
|
240
|
-
return
|
|
823
|
+
return E;
|
|
241
824
|
};
|
|
242
|
-
if (!
|
|
243
|
-
const
|
|
244
|
-
if (typeof
|
|
245
|
-
const
|
|
246
|
-
for (const
|
|
247
|
-
|
|
248
|
-
const
|
|
249
|
-
return
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
z ? z[
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
)(
|
|
825
|
+
if (!W(a) || !p) {
|
|
826
|
+
const _ = {};
|
|
827
|
+
if (typeof S == "object" && !W(S)) {
|
|
828
|
+
const E = e;
|
|
829
|
+
for (const A in S)
|
|
830
|
+
_[A] = (P) => {
|
|
831
|
+
const I = ie(P), z = ge(P);
|
|
832
|
+
return E(
|
|
833
|
+
S[A],
|
|
834
|
+
C(A, P),
|
|
835
|
+
I ? I[A] : void 0,
|
|
836
|
+
z ? z[A] : void 0,
|
|
837
|
+
P?.class,
|
|
838
|
+
P?.className
|
|
839
|
+
)(d);
|
|
257
840
|
};
|
|
258
841
|
}
|
|
259
|
-
return
|
|
842
|
+
return _;
|
|
260
843
|
}
|
|
261
844
|
return e(
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
)(
|
|
268
|
-
},
|
|
269
|
-
if (!(!
|
|
270
|
-
return Object.keys(
|
|
845
|
+
x,
|
|
846
|
+
K(),
|
|
847
|
+
le(k),
|
|
848
|
+
O?.class,
|
|
849
|
+
O?.className
|
|
850
|
+
)(d);
|
|
851
|
+
}, V = () => {
|
|
852
|
+
if (!(!u || typeof u != "object"))
|
|
853
|
+
return Object.keys(u);
|
|
271
854
|
};
|
|
272
|
-
return
|
|
855
|
+
return R.variantKeys = V(), R.extend = s, R.base = x, R.slots = S, R.variants = u, R.defaultVariants = w, R.compoundSlots = l, R.compoundVariants = k, R;
|
|
273
856
|
};
|
|
274
857
|
return {
|
|
275
|
-
tv:
|
|
276
|
-
createTV: (
|
|
858
|
+
tv: t,
|
|
859
|
+
createTV: (r) => (n, s) => t(n, s ? De(r, s) : r)
|
|
277
860
|
};
|
|
278
861
|
};
|
|
279
|
-
const
|
|
280
|
-
const o = new Array(e.length +
|
|
281
|
-
for (let
|
|
282
|
-
o[
|
|
283
|
-
for (let
|
|
284
|
-
o[e.length +
|
|
862
|
+
const ir = (e, t) => {
|
|
863
|
+
const o = new Array(e.length + t.length);
|
|
864
|
+
for (let r = 0; r < e.length; r++)
|
|
865
|
+
o[r] = e[r];
|
|
866
|
+
for (let r = 0; r < t.length; r++)
|
|
867
|
+
o[e.length + r] = t[r];
|
|
285
868
|
return o;
|
|
286
|
-
},
|
|
869
|
+
}, cr = (e, t) => ({
|
|
287
870
|
classGroupId: e,
|
|
288
|
-
validator:
|
|
289
|
-
}),
|
|
871
|
+
validator: t
|
|
872
|
+
}), jt = (e = /* @__PURE__ */ new Map(), t = null, o) => ({
|
|
290
873
|
nextPart: e,
|
|
291
|
-
validators:
|
|
874
|
+
validators: t,
|
|
292
875
|
classGroupId: o
|
|
293
|
-
}),
|
|
294
|
-
const
|
|
876
|
+
}), Ee = "-", lt = [], lr = "arbitrary..", dr = (e) => {
|
|
877
|
+
const t = fr(e), {
|
|
295
878
|
conflictingClassGroups: o,
|
|
296
|
-
conflictingClassGroupModifiers:
|
|
879
|
+
conflictingClassGroupModifiers: r
|
|
297
880
|
} = e;
|
|
298
881
|
return {
|
|
299
882
|
getClassGroupId: (a) => {
|
|
300
883
|
if (a.startsWith("[") && a.endsWith("]"))
|
|
301
|
-
return
|
|
302
|
-
const
|
|
303
|
-
return
|
|
884
|
+
return ur(a);
|
|
885
|
+
const c = a.split(Ee), i = c[0] === "" && c.length > 1 ? 1 : 0;
|
|
886
|
+
return Ft(c, i, t);
|
|
304
887
|
},
|
|
305
|
-
getConflictingClassGroupIds: (a,
|
|
306
|
-
if (
|
|
307
|
-
const
|
|
308
|
-
return
|
|
888
|
+
getConflictingClassGroupIds: (a, c) => {
|
|
889
|
+
if (c) {
|
|
890
|
+
const i = r[a], l = o[a];
|
|
891
|
+
return i ? l ? ir(l, i) : i : l || lt;
|
|
309
892
|
}
|
|
310
|
-
return o[a] ||
|
|
893
|
+
return o[a] || lt;
|
|
311
894
|
}
|
|
312
895
|
};
|
|
313
|
-
},
|
|
314
|
-
if (e.length -
|
|
896
|
+
}, Ft = (e, t, o) => {
|
|
897
|
+
if (e.length - t === 0)
|
|
315
898
|
return o.classGroupId;
|
|
316
|
-
const n = e[
|
|
899
|
+
const n = e[t], s = o.nextPart.get(n);
|
|
317
900
|
if (s) {
|
|
318
|
-
const
|
|
319
|
-
if (
|
|
901
|
+
const l = Ft(e, t + 1, s);
|
|
902
|
+
if (l) return l;
|
|
320
903
|
}
|
|
321
904
|
const a = o.validators;
|
|
322
905
|
if (a === null)
|
|
323
906
|
return;
|
|
324
|
-
const
|
|
325
|
-
for (let
|
|
326
|
-
const
|
|
327
|
-
if (
|
|
328
|
-
return
|
|
907
|
+
const c = t === 0 ? e.join(Ee) : e.slice(t).join(Ee), i = a.length;
|
|
908
|
+
for (let l = 0; l < i; l++) {
|
|
909
|
+
const f = a[l];
|
|
910
|
+
if (f.validator(c))
|
|
911
|
+
return f.classGroupId;
|
|
329
912
|
}
|
|
330
|
-
},
|
|
331
|
-
const
|
|
332
|
-
return
|
|
333
|
-
})(),
|
|
913
|
+
}, ur = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
914
|
+
const t = e.slice(1, -1), o = t.indexOf(":"), r = t.slice(0, o);
|
|
915
|
+
return r ? lr + r : void 0;
|
|
916
|
+
})(), fr = (e) => {
|
|
334
917
|
const {
|
|
335
|
-
theme:
|
|
918
|
+
theme: t,
|
|
336
919
|
classGroups: o
|
|
337
920
|
} = e;
|
|
338
|
-
return
|
|
339
|
-
},
|
|
340
|
-
const o =
|
|
341
|
-
for (const
|
|
342
|
-
const n = e[
|
|
343
|
-
|
|
921
|
+
return mr(o, t);
|
|
922
|
+
}, mr = (e, t) => {
|
|
923
|
+
const o = jt();
|
|
924
|
+
for (const r in e) {
|
|
925
|
+
const n = e[r];
|
|
926
|
+
tt(n, o, r, t);
|
|
344
927
|
}
|
|
345
928
|
return o;
|
|
346
|
-
},
|
|
929
|
+
}, tt = (e, t, o, r) => {
|
|
347
930
|
const n = e.length;
|
|
348
931
|
for (let s = 0; s < n; s++) {
|
|
349
932
|
const a = e[s];
|
|
350
|
-
|
|
933
|
+
pr(a, t, o, r);
|
|
351
934
|
}
|
|
352
|
-
},
|
|
935
|
+
}, pr = (e, t, o, r) => {
|
|
353
936
|
if (typeof e == "string") {
|
|
354
|
-
|
|
937
|
+
gr(e, t, o);
|
|
355
938
|
return;
|
|
356
939
|
}
|
|
357
940
|
if (typeof e == "function") {
|
|
358
|
-
|
|
941
|
+
br(e, t, o, r);
|
|
359
942
|
return;
|
|
360
943
|
}
|
|
361
|
-
|
|
362
|
-
},
|
|
363
|
-
const
|
|
364
|
-
|
|
365
|
-
},
|
|
366
|
-
if (
|
|
367
|
-
|
|
944
|
+
hr(e, t, o, r);
|
|
945
|
+
}, gr = (e, t, o) => {
|
|
946
|
+
const r = e === "" ? t : Ut(t, e);
|
|
947
|
+
r.classGroupId = o;
|
|
948
|
+
}, br = (e, t, o, r) => {
|
|
949
|
+
if (vr(e)) {
|
|
950
|
+
tt(e(r), t, o, r);
|
|
368
951
|
return;
|
|
369
952
|
}
|
|
370
|
-
|
|
371
|
-
},
|
|
953
|
+
t.validators === null && (t.validators = []), t.validators.push(cr(o, e));
|
|
954
|
+
}, hr = (e, t, o, r) => {
|
|
372
955
|
const n = Object.entries(e), s = n.length;
|
|
373
956
|
for (let a = 0; a < s; a++) {
|
|
374
|
-
const [
|
|
375
|
-
|
|
957
|
+
const [c, i] = n[a];
|
|
958
|
+
tt(i, Ut(t, c), o, r);
|
|
376
959
|
}
|
|
377
|
-
},
|
|
960
|
+
}, Ut = (e, t) => {
|
|
378
961
|
let o = e;
|
|
379
|
-
const
|
|
962
|
+
const r = t.split(Ee), n = r.length;
|
|
380
963
|
for (let s = 0; s < n; s++) {
|
|
381
|
-
const a =
|
|
382
|
-
let
|
|
383
|
-
|
|
964
|
+
const a = r[s];
|
|
965
|
+
let c = o.nextPart.get(a);
|
|
966
|
+
c || (c = jt(), o.nextPart.set(a, c)), o = c;
|
|
384
967
|
}
|
|
385
968
|
return o;
|
|
386
|
-
},
|
|
969
|
+
}, vr = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, yr = (e) => {
|
|
387
970
|
if (e < 1)
|
|
388
971
|
return {
|
|
389
972
|
get: () => {
|
|
@@ -391,178 +974,178 @@ const pt = (e, r) => {
|
|
|
391
974
|
set: () => {
|
|
392
975
|
}
|
|
393
976
|
};
|
|
394
|
-
let
|
|
977
|
+
let t = 0, o = /* @__PURE__ */ Object.create(null), r = /* @__PURE__ */ Object.create(null);
|
|
395
978
|
const n = (s, a) => {
|
|
396
|
-
o[s] = a,
|
|
979
|
+
o[s] = a, t++, t > e && (t = 0, r = o, o = /* @__PURE__ */ Object.create(null));
|
|
397
980
|
};
|
|
398
981
|
return {
|
|
399
982
|
get(s) {
|
|
400
983
|
let a = o[s];
|
|
401
984
|
if (a !== void 0)
|
|
402
985
|
return a;
|
|
403
|
-
if ((a =
|
|
986
|
+
if ((a = r[s]) !== void 0)
|
|
404
987
|
return n(s, a), a;
|
|
405
988
|
},
|
|
406
989
|
set(s, a) {
|
|
407
990
|
s in o ? o[s] = a : n(s, a);
|
|
408
991
|
}
|
|
409
992
|
};
|
|
410
|
-
},
|
|
993
|
+
}, je = "!", dt = ":", wr = [], ut = (e, t, o, r, n) => ({
|
|
411
994
|
modifiers: e,
|
|
412
|
-
hasImportantModifier:
|
|
995
|
+
hasImportantModifier: t,
|
|
413
996
|
baseClassName: o,
|
|
414
|
-
maybePostfixModifierPosition:
|
|
997
|
+
maybePostfixModifierPosition: r,
|
|
415
998
|
isExternal: n
|
|
416
|
-
}),
|
|
999
|
+
}), xr = (e) => {
|
|
417
1000
|
const {
|
|
418
|
-
prefix:
|
|
1001
|
+
prefix: t,
|
|
419
1002
|
experimentalParseClassName: o
|
|
420
1003
|
} = e;
|
|
421
|
-
let
|
|
1004
|
+
let r = (n) => {
|
|
422
1005
|
const s = [];
|
|
423
|
-
let a = 0,
|
|
424
|
-
const
|
|
425
|
-
for (let
|
|
426
|
-
const
|
|
427
|
-
if (a === 0 &&
|
|
428
|
-
if (
|
|
429
|
-
s.push(n.slice(
|
|
1006
|
+
let a = 0, c = 0, i = 0, l;
|
|
1007
|
+
const f = n.length;
|
|
1008
|
+
for (let p = 0; p < f; p++) {
|
|
1009
|
+
const h = n[p];
|
|
1010
|
+
if (a === 0 && c === 0) {
|
|
1011
|
+
if (h === dt) {
|
|
1012
|
+
s.push(n.slice(i, p)), i = p + 1;
|
|
430
1013
|
continue;
|
|
431
1014
|
}
|
|
432
|
-
if (
|
|
433
|
-
|
|
1015
|
+
if (h === "/") {
|
|
1016
|
+
l = p;
|
|
434
1017
|
continue;
|
|
435
1018
|
}
|
|
436
1019
|
}
|
|
437
|
-
|
|
1020
|
+
h === "[" ? a++ : h === "]" ? a-- : h === "(" ? c++ : h === ")" && c--;
|
|
438
1021
|
}
|
|
439
|
-
const
|
|
440
|
-
let
|
|
441
|
-
|
|
1022
|
+
const d = s.length === 0 ? n : n.slice(i);
|
|
1023
|
+
let x = d, u = !1;
|
|
1024
|
+
d.endsWith(je) ? (x = d.slice(0, -1), u = !0) : (
|
|
442
1025
|
/**
|
|
443
1026
|
* In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
|
|
444
1027
|
* @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
|
|
445
1028
|
*/
|
|
446
|
-
|
|
1029
|
+
d.startsWith(je) && (x = d.slice(1), u = !0)
|
|
447
1030
|
);
|
|
448
|
-
const
|
|
449
|
-
return
|
|
1031
|
+
const w = l && l > i ? l - i : void 0;
|
|
1032
|
+
return ut(s, u, x, w);
|
|
450
1033
|
};
|
|
451
|
-
if (
|
|
452
|
-
const n =
|
|
453
|
-
|
|
1034
|
+
if (t) {
|
|
1035
|
+
const n = t + dt, s = r;
|
|
1036
|
+
r = (a) => a.startsWith(n) ? s(a.slice(n.length)) : ut(wr, !1, a, void 0, !0);
|
|
454
1037
|
}
|
|
455
1038
|
if (o) {
|
|
456
|
-
const n =
|
|
457
|
-
|
|
1039
|
+
const n = r;
|
|
1040
|
+
r = (s) => o({
|
|
458
1041
|
className: s,
|
|
459
1042
|
parseClassName: n
|
|
460
1043
|
});
|
|
461
1044
|
}
|
|
462
|
-
return
|
|
463
|
-
},
|
|
464
|
-
const
|
|
465
|
-
return e.orderSensitiveModifiers.forEach((o,
|
|
466
|
-
|
|
1045
|
+
return r;
|
|
1046
|
+
}, Cr = (e) => {
|
|
1047
|
+
const t = /* @__PURE__ */ new Map();
|
|
1048
|
+
return e.orderSensitiveModifiers.forEach((o, r) => {
|
|
1049
|
+
t.set(o, 1e6 + r);
|
|
467
1050
|
}), (o) => {
|
|
468
|
-
const
|
|
1051
|
+
const r = [];
|
|
469
1052
|
let n = [];
|
|
470
1053
|
for (let s = 0; s < o.length; s++) {
|
|
471
|
-
const a = o[s],
|
|
472
|
-
|
|
1054
|
+
const a = o[s], c = a[0] === "[", i = t.has(a);
|
|
1055
|
+
c || i ? (n.length > 0 && (n.sort(), r.push(...n), n = []), r.push(a)) : n.push(a);
|
|
473
1056
|
}
|
|
474
|
-
return n.length > 0 && (n.sort(),
|
|
1057
|
+
return n.length > 0 && (n.sort(), r.push(...n)), r;
|
|
475
1058
|
};
|
|
476
|
-
},
|
|
477
|
-
cache:
|
|
478
|
-
parseClassName:
|
|
479
|
-
sortModifiers:
|
|
480
|
-
...
|
|
481
|
-
}),
|
|
1059
|
+
}, kr = (e) => ({
|
|
1060
|
+
cache: yr(e.cacheSize),
|
|
1061
|
+
parseClassName: xr(e),
|
|
1062
|
+
sortModifiers: Cr(e),
|
|
1063
|
+
...dr(e)
|
|
1064
|
+
}), Sr = /\s+/, Ar = (e, t) => {
|
|
482
1065
|
const {
|
|
483
1066
|
parseClassName: o,
|
|
484
|
-
getClassGroupId:
|
|
1067
|
+
getClassGroupId: r,
|
|
485
1068
|
getConflictingClassGroupIds: n,
|
|
486
1069
|
sortModifiers: s
|
|
487
|
-
} =
|
|
488
|
-
let
|
|
489
|
-
for (let
|
|
490
|
-
const
|
|
491
|
-
isExternal:
|
|
492
|
-
modifiers:
|
|
493
|
-
hasImportantModifier:
|
|
494
|
-
baseClassName:
|
|
495
|
-
maybePostfixModifierPosition:
|
|
496
|
-
} = o(
|
|
497
|
-
if (
|
|
498
|
-
|
|
1070
|
+
} = t, a = [], c = e.trim().split(Sr);
|
|
1071
|
+
let i = "";
|
|
1072
|
+
for (let l = c.length - 1; l >= 0; l -= 1) {
|
|
1073
|
+
const f = c[l], {
|
|
1074
|
+
isExternal: d,
|
|
1075
|
+
modifiers: x,
|
|
1076
|
+
hasImportantModifier: u,
|
|
1077
|
+
baseClassName: w,
|
|
1078
|
+
maybePostfixModifierPosition: p
|
|
1079
|
+
} = o(f);
|
|
1080
|
+
if (d) {
|
|
1081
|
+
i = f + (i.length > 0 ? " " + i : i);
|
|
499
1082
|
continue;
|
|
500
1083
|
}
|
|
501
|
-
let
|
|
502
|
-
if (!
|
|
503
|
-
if (!
|
|
504
|
-
|
|
1084
|
+
let h = !!p, S = r(h ? w.substring(0, p) : w);
|
|
1085
|
+
if (!S) {
|
|
1086
|
+
if (!h) {
|
|
1087
|
+
i = f + (i.length > 0 ? " " + i : i);
|
|
505
1088
|
continue;
|
|
506
1089
|
}
|
|
507
|
-
if (
|
|
508
|
-
|
|
1090
|
+
if (S = r(w), !S) {
|
|
1091
|
+
i = f + (i.length > 0 ? " " + i : i);
|
|
509
1092
|
continue;
|
|
510
1093
|
}
|
|
511
|
-
|
|
1094
|
+
h = !1;
|
|
512
1095
|
}
|
|
513
|
-
const
|
|
514
|
-
if (a.indexOf(
|
|
1096
|
+
const k = x.length === 0 ? "" : x.length === 1 ? x[0] : s(x).join(":"), R = u ? k + je : k, V = R + S;
|
|
1097
|
+
if (a.indexOf(V) > -1)
|
|
515
1098
|
continue;
|
|
516
|
-
a.push(
|
|
517
|
-
const
|
|
518
|
-
for (let
|
|
519
|
-
const
|
|
520
|
-
a.push(
|
|
1099
|
+
a.push(V);
|
|
1100
|
+
const O = n(S, h);
|
|
1101
|
+
for (let D = 0; D < O.length; ++D) {
|
|
1102
|
+
const K = O[D];
|
|
1103
|
+
a.push(R + K);
|
|
521
1104
|
}
|
|
522
|
-
|
|
1105
|
+
i = f + (i.length > 0 ? " " + i : i);
|
|
523
1106
|
}
|
|
524
|
-
return
|
|
525
|
-
},
|
|
526
|
-
let
|
|
527
|
-
for (;
|
|
528
|
-
(o = e[
|
|
1107
|
+
return i;
|
|
1108
|
+
}, Nr = (...e) => {
|
|
1109
|
+
let t = 0, o, r, n = "";
|
|
1110
|
+
for (; t < e.length; )
|
|
1111
|
+
(o = e[t++]) && (r = Bt(o)) && (n && (n += " "), n += r);
|
|
529
1112
|
return n;
|
|
530
|
-
},
|
|
1113
|
+
}, Bt = (e) => {
|
|
531
1114
|
if (typeof e == "string")
|
|
532
1115
|
return e;
|
|
533
|
-
let
|
|
534
|
-
for (let
|
|
535
|
-
e[
|
|
1116
|
+
let t, o = "";
|
|
1117
|
+
for (let r = 0; r < e.length; r++)
|
|
1118
|
+
e[r] && (t = Bt(e[r])) && (o && (o += " "), o += t);
|
|
536
1119
|
return o;
|
|
537
|
-
},
|
|
538
|
-
let o,
|
|
539
|
-
const a = (
|
|
540
|
-
const
|
|
541
|
-
return o =
|
|
542
|
-
},
|
|
543
|
-
const
|
|
544
|
-
if (
|
|
545
|
-
return
|
|
546
|
-
const
|
|
547
|
-
return n(
|
|
1120
|
+
}, Fe = (e, ...t) => {
|
|
1121
|
+
let o, r, n, s;
|
|
1122
|
+
const a = (i) => {
|
|
1123
|
+
const l = t.reduce((f, d) => d(f), e());
|
|
1124
|
+
return o = kr(l), r = o.cache.get, n = o.cache.set, s = c, c(i);
|
|
1125
|
+
}, c = (i) => {
|
|
1126
|
+
const l = r(i);
|
|
1127
|
+
if (l)
|
|
1128
|
+
return l;
|
|
1129
|
+
const f = Ar(i, o);
|
|
1130
|
+
return n(i, f), f;
|
|
548
1131
|
};
|
|
549
|
-
return s = a, (...
|
|
550
|
-
},
|
|
551
|
-
const
|
|
552
|
-
return
|
|
553
|
-
},
|
|
1132
|
+
return s = a, (...i) => s(Nr(...i));
|
|
1133
|
+
}, Rr = [], j = (e) => {
|
|
1134
|
+
const t = (o) => o[e] || Rr;
|
|
1135
|
+
return t.isThemeGetter = !0, t;
|
|
1136
|
+
}, Wt = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Ht = /^\((?:(\w[\w-]*):)?(.+)\)$/i, _r = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Er = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Pr = /\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$/, Ir = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Mr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Tr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Z = (e) => _r.test(e), N = (e) => !!e && !Number.isNaN(Number(e)), ee = (e) => !!e && Number.isInteger(Number(e)), Le = (e) => e.endsWith("%") && N(e.slice(0, -1)), J = (e) => Er.test(e), Kt = () => !0, Or = (e) => (
|
|
554
1137
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
555
1138
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
556
1139
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
557
|
-
|
|
558
|
-
),
|
|
559
|
-
const
|
|
560
|
-
return
|
|
561
|
-
},
|
|
562
|
-
const
|
|
563
|
-
return
|
|
564
|
-
},
|
|
565
|
-
const e =
|
|
1140
|
+
Pr.test(e) && !Ir.test(e)
|
|
1141
|
+
), ot = () => !1, zr = (e) => Mr.test(e), Lr = (e) => Tr.test(e), Vr = (e) => !g(e) && !b(e), Gr = (e) => oe(e, Xt, ot), g = (e) => Wt.test(e), re = (e) => oe(e, Jt, Or), ft = (e) => oe(e, Hr, N), $r = (e) => oe(e, Zt, Kt), Dr = (e) => oe(e, Qt, ot), mt = (e) => oe(e, qt, ot), jr = (e) => oe(e, Yt, Lr), xe = (e) => oe(e, eo, zr), b = (e) => Ht.test(e), de = (e) => ne(e, Jt), Fr = (e) => ne(e, Qt), pt = (e) => ne(e, qt), Ur = (e) => ne(e, Xt), Br = (e) => ne(e, Yt), Ce = (e) => ne(e, eo, !0), Wr = (e) => ne(e, Zt, !0), oe = (e, t, o) => {
|
|
1142
|
+
const r = Wt.exec(e);
|
|
1143
|
+
return r ? r[1] ? t(r[1]) : o(r[2]) : !1;
|
|
1144
|
+
}, ne = (e, t, o = !1) => {
|
|
1145
|
+
const r = Ht.exec(e);
|
|
1146
|
+
return r ? r[1] ? t(r[1]) : o : !1;
|
|
1147
|
+
}, qt = (e) => e === "position" || e === "percentage", Yt = (e) => e === "image" || e === "url", Xt = (e) => e === "length" || e === "size" || e === "bg-size", Jt = (e) => e === "length", Hr = (e) => e === "number", Qt = (e) => e === "family-name", Zt = (e) => e === "number" || e === "weight", eo = (e) => e === "shadow", Ue = () => {
|
|
1148
|
+
const e = j("color"), t = j("font"), o = j("text"), r = j("font-weight"), n = j("tracking"), s = j("leading"), a = j("breakpoint"), c = j("container"), i = j("spacing"), l = j("radius"), f = j("shadow"), d = j("inset-shadow"), x = j("text-shadow"), u = j("drop-shadow"), w = j("blur"), p = j("perspective"), h = j("aspect"), S = j("ease"), k = j("animate"), R = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], V = () => [
|
|
566
1149
|
"center",
|
|
567
1150
|
"top",
|
|
568
1151
|
"bottom",
|
|
@@ -580,51 +1163,51 @@ const pt = (e, r) => {
|
|
|
580
1163
|
"bottom-left",
|
|
581
1164
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
582
1165
|
"left-bottom"
|
|
583
|
-
],
|
|
584
|
-
span: ["full",
|
|
585
|
-
},
|
|
586
|
-
position: [
|
|
587
|
-
}],
|
|
1166
|
+
], O = () => [...V(), b, g], D = () => ["auto", "hidden", "clip", "visible", "scroll"], K = () => ["auto", "contain", "none"], C = () => [b, g, i], U = () => [Z, "full", "auto", ...C()], ce = () => [ee, "none", "subgrid", b, g], le = () => ["auto", {
|
|
1167
|
+
span: ["full", ee, b, g]
|
|
1168
|
+
}, ee, b, g], ie = () => [ee, "auto", b, g], ge = () => ["auto", "min", "max", "fr", b, g], _ = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], E = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], A = () => ["auto", ...C()], P = () => [Z, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...C()], I = () => [Z, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...C()], z = () => [Z, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...C()], v = () => [e, b, g], q = () => [...V(), pt, mt, {
|
|
1169
|
+
position: [b, g]
|
|
1170
|
+
}], B = () => ["no-repeat", {
|
|
588
1171
|
repeat: ["", "x", "y", "space", "round"]
|
|
589
|
-
}],
|
|
590
|
-
size: [
|
|
591
|
-
}],
|
|
1172
|
+
}], H = () => ["auto", "cover", "contain", Ur, Gr, {
|
|
1173
|
+
size: [b, g]
|
|
1174
|
+
}], X = () => [Le, de, re], T = () => [
|
|
592
1175
|
// Deprecated since Tailwind CSS v4.0.0
|
|
593
1176
|
"",
|
|
594
1177
|
"none",
|
|
595
1178
|
"full",
|
|
596
|
-
g,
|
|
597
1179
|
l,
|
|
598
|
-
|
|
599
|
-
|
|
1180
|
+
b,
|
|
1181
|
+
g
|
|
1182
|
+
], G = () => ["", N, de, re], be = () => ["solid", "dashed", "dotted", "double"], st = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], F = () => [N, Le, pt, mt], at = () => [
|
|
600
1183
|
// Deprecated since Tailwind CSS v4.0.0
|
|
601
1184
|
"",
|
|
602
1185
|
"none",
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
],
|
|
1186
|
+
w,
|
|
1187
|
+
b,
|
|
1188
|
+
g
|
|
1189
|
+
], he = () => ["none", N, b, g], ve = () => ["none", N, b, g], ze = () => [N, b, g], ye = () => [Z, "full", ...C()];
|
|
607
1190
|
return {
|
|
608
1191
|
cacheSize: 500,
|
|
609
1192
|
theme: {
|
|
610
1193
|
animate: ["spin", "ping", "pulse", "bounce"],
|
|
611
1194
|
aspect: ["video"],
|
|
612
|
-
blur: [
|
|
613
|
-
breakpoint: [
|
|
614
|
-
color: [
|
|
615
|
-
container: [
|
|
616
|
-
"drop-shadow": [
|
|
1195
|
+
blur: [J],
|
|
1196
|
+
breakpoint: [J],
|
|
1197
|
+
color: [Kt],
|
|
1198
|
+
container: [J],
|
|
1199
|
+
"drop-shadow": [J],
|
|
617
1200
|
ease: ["in", "out", "in-out"],
|
|
618
|
-
font: [
|
|
1201
|
+
font: [Vr],
|
|
619
1202
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
620
|
-
"inset-shadow": [
|
|
1203
|
+
"inset-shadow": [J],
|
|
621
1204
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
622
1205
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
623
|
-
radius: [
|
|
624
|
-
shadow: [
|
|
625
|
-
spacing: ["px",
|
|
626
|
-
text: [
|
|
627
|
-
"text-shadow": [
|
|
1206
|
+
radius: [J],
|
|
1207
|
+
shadow: [J],
|
|
1208
|
+
spacing: ["px", N],
|
|
1209
|
+
text: [J],
|
|
1210
|
+
"text-shadow": [J],
|
|
628
1211
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
629
1212
|
},
|
|
630
1213
|
classGroups: {
|
|
@@ -636,7 +1219,7 @@ const pt = (e, r) => {
|
|
|
636
1219
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
637
1220
|
*/
|
|
638
1221
|
aspect: [{
|
|
639
|
-
aspect: ["auto", "square",
|
|
1222
|
+
aspect: ["auto", "square", Z, g, b, h]
|
|
640
1223
|
}],
|
|
641
1224
|
/**
|
|
642
1225
|
* Container
|
|
@@ -649,21 +1232,21 @@ const pt = (e, r) => {
|
|
|
649
1232
|
* @see https://tailwindcss.com/docs/columns
|
|
650
1233
|
*/
|
|
651
1234
|
columns: [{
|
|
652
|
-
columns: [
|
|
1235
|
+
columns: [N, g, b, c]
|
|
653
1236
|
}],
|
|
654
1237
|
/**
|
|
655
1238
|
* Break After
|
|
656
1239
|
* @see https://tailwindcss.com/docs/break-after
|
|
657
1240
|
*/
|
|
658
1241
|
"break-after": [{
|
|
659
|
-
"break-after":
|
|
1242
|
+
"break-after": R()
|
|
660
1243
|
}],
|
|
661
1244
|
/**
|
|
662
1245
|
* Break Before
|
|
663
1246
|
* @see https://tailwindcss.com/docs/break-before
|
|
664
1247
|
*/
|
|
665
1248
|
"break-before": [{
|
|
666
|
-
"break-before":
|
|
1249
|
+
"break-before": R()
|
|
667
1250
|
}],
|
|
668
1251
|
/**
|
|
669
1252
|
* Break Inside
|
|
@@ -727,49 +1310,49 @@ const pt = (e, r) => {
|
|
|
727
1310
|
* @see https://tailwindcss.com/docs/object-position
|
|
728
1311
|
*/
|
|
729
1312
|
"object-position": [{
|
|
730
|
-
object:
|
|
1313
|
+
object: O()
|
|
731
1314
|
}],
|
|
732
1315
|
/**
|
|
733
1316
|
* Overflow
|
|
734
1317
|
* @see https://tailwindcss.com/docs/overflow
|
|
735
1318
|
*/
|
|
736
1319
|
overflow: [{
|
|
737
|
-
overflow:
|
|
1320
|
+
overflow: D()
|
|
738
1321
|
}],
|
|
739
1322
|
/**
|
|
740
1323
|
* Overflow X
|
|
741
1324
|
* @see https://tailwindcss.com/docs/overflow
|
|
742
1325
|
*/
|
|
743
1326
|
"overflow-x": [{
|
|
744
|
-
"overflow-x":
|
|
1327
|
+
"overflow-x": D()
|
|
745
1328
|
}],
|
|
746
1329
|
/**
|
|
747
1330
|
* Overflow Y
|
|
748
1331
|
* @see https://tailwindcss.com/docs/overflow
|
|
749
1332
|
*/
|
|
750
1333
|
"overflow-y": [{
|
|
751
|
-
"overflow-y":
|
|
1334
|
+
"overflow-y": D()
|
|
752
1335
|
}],
|
|
753
1336
|
/**
|
|
754
1337
|
* Overscroll Behavior
|
|
755
1338
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
756
1339
|
*/
|
|
757
1340
|
overscroll: [{
|
|
758
|
-
overscroll:
|
|
1341
|
+
overscroll: K()
|
|
759
1342
|
}],
|
|
760
1343
|
/**
|
|
761
1344
|
* Overscroll Behavior X
|
|
762
1345
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
763
1346
|
*/
|
|
764
1347
|
"overscroll-x": [{
|
|
765
|
-
"overscroll-x":
|
|
1348
|
+
"overscroll-x": K()
|
|
766
1349
|
}],
|
|
767
1350
|
/**
|
|
768
1351
|
* Overscroll Behavior Y
|
|
769
1352
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
770
1353
|
*/
|
|
771
1354
|
"overscroll-y": [{
|
|
772
|
-
"overscroll-y":
|
|
1355
|
+
"overscroll-y": K()
|
|
773
1356
|
}],
|
|
774
1357
|
/**
|
|
775
1358
|
* Position
|
|
@@ -781,21 +1364,21 @@ const pt = (e, r) => {
|
|
|
781
1364
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
782
1365
|
*/
|
|
783
1366
|
inset: [{
|
|
784
|
-
inset:
|
|
1367
|
+
inset: U()
|
|
785
1368
|
}],
|
|
786
1369
|
/**
|
|
787
1370
|
* Inset Inline
|
|
788
1371
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
789
1372
|
*/
|
|
790
1373
|
"inset-x": [{
|
|
791
|
-
"inset-x":
|
|
1374
|
+
"inset-x": U()
|
|
792
1375
|
}],
|
|
793
1376
|
/**
|
|
794
1377
|
* Inset Block
|
|
795
1378
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
796
1379
|
*/
|
|
797
1380
|
"inset-y": [{
|
|
798
|
-
"inset-y":
|
|
1381
|
+
"inset-y": U()
|
|
799
1382
|
}],
|
|
800
1383
|
/**
|
|
801
1384
|
* Inset Inline Start
|
|
@@ -803,12 +1386,12 @@ const pt = (e, r) => {
|
|
|
803
1386
|
* @todo class group will be renamed to `inset-s` in next major release
|
|
804
1387
|
*/
|
|
805
1388
|
start: [{
|
|
806
|
-
"inset-s":
|
|
1389
|
+
"inset-s": U(),
|
|
807
1390
|
/**
|
|
808
1391
|
* @deprecated since Tailwind CSS v4.2.0 in favor of `inset-s-*` utilities.
|
|
809
1392
|
* @see https://github.com/tailwindlabs/tailwindcss/pull/19613
|
|
810
1393
|
*/
|
|
811
|
-
start:
|
|
1394
|
+
start: U()
|
|
812
1395
|
}],
|
|
813
1396
|
/**
|
|
814
1397
|
* Inset Inline End
|
|
@@ -816,54 +1399,54 @@ const pt = (e, r) => {
|
|
|
816
1399
|
* @todo class group will be renamed to `inset-e` in next major release
|
|
817
1400
|
*/
|
|
818
1401
|
end: [{
|
|
819
|
-
"inset-e":
|
|
1402
|
+
"inset-e": U(),
|
|
820
1403
|
/**
|
|
821
1404
|
* @deprecated since Tailwind CSS v4.2.0 in favor of `inset-e-*` utilities.
|
|
822
1405
|
* @see https://github.com/tailwindlabs/tailwindcss/pull/19613
|
|
823
1406
|
*/
|
|
824
|
-
end:
|
|
1407
|
+
end: U()
|
|
825
1408
|
}],
|
|
826
1409
|
/**
|
|
827
1410
|
* Inset Block Start
|
|
828
1411
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
829
1412
|
*/
|
|
830
1413
|
"inset-bs": [{
|
|
831
|
-
"inset-bs":
|
|
1414
|
+
"inset-bs": U()
|
|
832
1415
|
}],
|
|
833
1416
|
/**
|
|
834
1417
|
* Inset Block End
|
|
835
1418
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
836
1419
|
*/
|
|
837
1420
|
"inset-be": [{
|
|
838
|
-
"inset-be":
|
|
1421
|
+
"inset-be": U()
|
|
839
1422
|
}],
|
|
840
1423
|
/**
|
|
841
1424
|
* Top
|
|
842
1425
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
843
1426
|
*/
|
|
844
1427
|
top: [{
|
|
845
|
-
top:
|
|
1428
|
+
top: U()
|
|
846
1429
|
}],
|
|
847
1430
|
/**
|
|
848
1431
|
* Right
|
|
849
1432
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
850
1433
|
*/
|
|
851
1434
|
right: [{
|
|
852
|
-
right:
|
|
1435
|
+
right: U()
|
|
853
1436
|
}],
|
|
854
1437
|
/**
|
|
855
1438
|
* Bottom
|
|
856
1439
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
857
1440
|
*/
|
|
858
1441
|
bottom: [{
|
|
859
|
-
bottom:
|
|
1442
|
+
bottom: U()
|
|
860
1443
|
}],
|
|
861
1444
|
/**
|
|
862
1445
|
* Left
|
|
863
1446
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
864
1447
|
*/
|
|
865
1448
|
left: [{
|
|
866
|
-
left:
|
|
1449
|
+
left: U()
|
|
867
1450
|
}],
|
|
868
1451
|
/**
|
|
869
1452
|
* Visibility
|
|
@@ -875,7 +1458,7 @@ const pt = (e, r) => {
|
|
|
875
1458
|
* @see https://tailwindcss.com/docs/z-index
|
|
876
1459
|
*/
|
|
877
1460
|
z: [{
|
|
878
|
-
z: [
|
|
1461
|
+
z: [ee, "auto", b, g]
|
|
879
1462
|
}],
|
|
880
1463
|
// ------------------------
|
|
881
1464
|
// --- Flexbox and Grid ---
|
|
@@ -885,7 +1468,7 @@ const pt = (e, r) => {
|
|
|
885
1468
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
886
1469
|
*/
|
|
887
1470
|
basis: [{
|
|
888
|
-
basis: [
|
|
1471
|
+
basis: [Z, "full", "auto", c, ...C()]
|
|
889
1472
|
}],
|
|
890
1473
|
/**
|
|
891
1474
|
* Flex Direction
|
|
@@ -906,84 +1489,84 @@ const pt = (e, r) => {
|
|
|
906
1489
|
* @see https://tailwindcss.com/docs/flex
|
|
907
1490
|
*/
|
|
908
1491
|
flex: [{
|
|
909
|
-
flex: [
|
|
1492
|
+
flex: [N, Z, "auto", "initial", "none", g]
|
|
910
1493
|
}],
|
|
911
1494
|
/**
|
|
912
1495
|
* Flex Grow
|
|
913
1496
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
914
1497
|
*/
|
|
915
1498
|
grow: [{
|
|
916
|
-
grow: ["",
|
|
1499
|
+
grow: ["", N, b, g]
|
|
917
1500
|
}],
|
|
918
1501
|
/**
|
|
919
1502
|
* Flex Shrink
|
|
920
1503
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
921
1504
|
*/
|
|
922
1505
|
shrink: [{
|
|
923
|
-
shrink: ["",
|
|
1506
|
+
shrink: ["", N, b, g]
|
|
924
1507
|
}],
|
|
925
1508
|
/**
|
|
926
1509
|
* Order
|
|
927
1510
|
* @see https://tailwindcss.com/docs/order
|
|
928
1511
|
*/
|
|
929
1512
|
order: [{
|
|
930
|
-
order: [
|
|
1513
|
+
order: [ee, "first", "last", "none", b, g]
|
|
931
1514
|
}],
|
|
932
1515
|
/**
|
|
933
1516
|
* Grid Template Columns
|
|
934
1517
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
935
1518
|
*/
|
|
936
1519
|
"grid-cols": [{
|
|
937
|
-
"grid-cols":
|
|
1520
|
+
"grid-cols": ce()
|
|
938
1521
|
}],
|
|
939
1522
|
/**
|
|
940
1523
|
* Grid Column Start / End
|
|
941
1524
|
* @see https://tailwindcss.com/docs/grid-column
|
|
942
1525
|
*/
|
|
943
1526
|
"col-start-end": [{
|
|
944
|
-
col:
|
|
1527
|
+
col: le()
|
|
945
1528
|
}],
|
|
946
1529
|
/**
|
|
947
1530
|
* Grid Column Start
|
|
948
1531
|
* @see https://tailwindcss.com/docs/grid-column
|
|
949
1532
|
*/
|
|
950
1533
|
"col-start": [{
|
|
951
|
-
"col-start":
|
|
1534
|
+
"col-start": ie()
|
|
952
1535
|
}],
|
|
953
1536
|
/**
|
|
954
1537
|
* Grid Column End
|
|
955
1538
|
* @see https://tailwindcss.com/docs/grid-column
|
|
956
1539
|
*/
|
|
957
1540
|
"col-end": [{
|
|
958
|
-
"col-end":
|
|
1541
|
+
"col-end": ie()
|
|
959
1542
|
}],
|
|
960
1543
|
/**
|
|
961
1544
|
* Grid Template Rows
|
|
962
1545
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
963
1546
|
*/
|
|
964
1547
|
"grid-rows": [{
|
|
965
|
-
"grid-rows":
|
|
1548
|
+
"grid-rows": ce()
|
|
966
1549
|
}],
|
|
967
1550
|
/**
|
|
968
1551
|
* Grid Row Start / End
|
|
969
1552
|
* @see https://tailwindcss.com/docs/grid-row
|
|
970
1553
|
*/
|
|
971
1554
|
"row-start-end": [{
|
|
972
|
-
row:
|
|
1555
|
+
row: le()
|
|
973
1556
|
}],
|
|
974
1557
|
/**
|
|
975
1558
|
* Grid Row Start
|
|
976
1559
|
* @see https://tailwindcss.com/docs/grid-row
|
|
977
1560
|
*/
|
|
978
1561
|
"row-start": [{
|
|
979
|
-
"row-start":
|
|
1562
|
+
"row-start": ie()
|
|
980
1563
|
}],
|
|
981
1564
|
/**
|
|
982
1565
|
* Grid Row End
|
|
983
1566
|
* @see https://tailwindcss.com/docs/grid-row
|
|
984
1567
|
*/
|
|
985
1568
|
"row-end": [{
|
|
986
|
-
"row-end":
|
|
1569
|
+
"row-end": ie()
|
|
987
1570
|
}],
|
|
988
1571
|
/**
|
|
989
1572
|
* Grid Auto Flow
|
|
@@ -997,70 +1580,70 @@ const pt = (e, r) => {
|
|
|
997
1580
|
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
998
1581
|
*/
|
|
999
1582
|
"auto-cols": [{
|
|
1000
|
-
"auto-cols":
|
|
1583
|
+
"auto-cols": ge()
|
|
1001
1584
|
}],
|
|
1002
1585
|
/**
|
|
1003
1586
|
* Grid Auto Rows
|
|
1004
1587
|
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
1005
1588
|
*/
|
|
1006
1589
|
"auto-rows": [{
|
|
1007
|
-
"auto-rows":
|
|
1590
|
+
"auto-rows": ge()
|
|
1008
1591
|
}],
|
|
1009
1592
|
/**
|
|
1010
1593
|
* Gap
|
|
1011
1594
|
* @see https://tailwindcss.com/docs/gap
|
|
1012
1595
|
*/
|
|
1013
1596
|
gap: [{
|
|
1014
|
-
gap:
|
|
1597
|
+
gap: C()
|
|
1015
1598
|
}],
|
|
1016
1599
|
/**
|
|
1017
1600
|
* Gap X
|
|
1018
1601
|
* @see https://tailwindcss.com/docs/gap
|
|
1019
1602
|
*/
|
|
1020
1603
|
"gap-x": [{
|
|
1021
|
-
"gap-x":
|
|
1604
|
+
"gap-x": C()
|
|
1022
1605
|
}],
|
|
1023
1606
|
/**
|
|
1024
1607
|
* Gap Y
|
|
1025
1608
|
* @see https://tailwindcss.com/docs/gap
|
|
1026
1609
|
*/
|
|
1027
1610
|
"gap-y": [{
|
|
1028
|
-
"gap-y":
|
|
1611
|
+
"gap-y": C()
|
|
1029
1612
|
}],
|
|
1030
1613
|
/**
|
|
1031
1614
|
* Justify Content
|
|
1032
1615
|
* @see https://tailwindcss.com/docs/justify-content
|
|
1033
1616
|
*/
|
|
1034
1617
|
"justify-content": [{
|
|
1035
|
-
justify: [...
|
|
1618
|
+
justify: [..._(), "normal"]
|
|
1036
1619
|
}],
|
|
1037
1620
|
/**
|
|
1038
1621
|
* Justify Items
|
|
1039
1622
|
* @see https://tailwindcss.com/docs/justify-items
|
|
1040
1623
|
*/
|
|
1041
1624
|
"justify-items": [{
|
|
1042
|
-
"justify-items": [...
|
|
1625
|
+
"justify-items": [...E(), "normal"]
|
|
1043
1626
|
}],
|
|
1044
1627
|
/**
|
|
1045
1628
|
* Justify Self
|
|
1046
1629
|
* @see https://tailwindcss.com/docs/justify-self
|
|
1047
1630
|
*/
|
|
1048
1631
|
"justify-self": [{
|
|
1049
|
-
"justify-self": ["auto", ...
|
|
1632
|
+
"justify-self": ["auto", ...E()]
|
|
1050
1633
|
}],
|
|
1051
1634
|
/**
|
|
1052
1635
|
* Align Content
|
|
1053
1636
|
* @see https://tailwindcss.com/docs/align-content
|
|
1054
1637
|
*/
|
|
1055
1638
|
"align-content": [{
|
|
1056
|
-
content: ["normal", ...
|
|
1639
|
+
content: ["normal", ..._()]
|
|
1057
1640
|
}],
|
|
1058
1641
|
/**
|
|
1059
1642
|
* Align Items
|
|
1060
1643
|
* @see https://tailwindcss.com/docs/align-items
|
|
1061
1644
|
*/
|
|
1062
1645
|
"align-items": [{
|
|
1063
|
-
items: [...
|
|
1646
|
+
items: [...E(), {
|
|
1064
1647
|
baseline: ["", "last"]
|
|
1065
1648
|
}]
|
|
1066
1649
|
}],
|
|
@@ -1069,7 +1652,7 @@ const pt = (e, r) => {
|
|
|
1069
1652
|
* @see https://tailwindcss.com/docs/align-self
|
|
1070
1653
|
*/
|
|
1071
1654
|
"align-self": [{
|
|
1072
|
-
self: ["auto", ...
|
|
1655
|
+
self: ["auto", ...E(), {
|
|
1073
1656
|
baseline: ["", "last"]
|
|
1074
1657
|
}]
|
|
1075
1658
|
}],
|
|
@@ -1078,21 +1661,21 @@ const pt = (e, r) => {
|
|
|
1078
1661
|
* @see https://tailwindcss.com/docs/place-content
|
|
1079
1662
|
*/
|
|
1080
1663
|
"place-content": [{
|
|
1081
|
-
"place-content":
|
|
1664
|
+
"place-content": _()
|
|
1082
1665
|
}],
|
|
1083
1666
|
/**
|
|
1084
1667
|
* Place Items
|
|
1085
1668
|
* @see https://tailwindcss.com/docs/place-items
|
|
1086
1669
|
*/
|
|
1087
1670
|
"place-items": [{
|
|
1088
|
-
"place-items": [...
|
|
1671
|
+
"place-items": [...E(), "baseline"]
|
|
1089
1672
|
}],
|
|
1090
1673
|
/**
|
|
1091
1674
|
* Place Self
|
|
1092
1675
|
* @see https://tailwindcss.com/docs/place-self
|
|
1093
1676
|
*/
|
|
1094
1677
|
"place-self": [{
|
|
1095
|
-
"place-self": ["auto", ...
|
|
1678
|
+
"place-self": ["auto", ...E()]
|
|
1096
1679
|
}],
|
|
1097
1680
|
// Spacing
|
|
1098
1681
|
/**
|
|
@@ -1100,161 +1683,161 @@ const pt = (e, r) => {
|
|
|
1100
1683
|
* @see https://tailwindcss.com/docs/padding
|
|
1101
1684
|
*/
|
|
1102
1685
|
p: [{
|
|
1103
|
-
p:
|
|
1686
|
+
p: C()
|
|
1104
1687
|
}],
|
|
1105
1688
|
/**
|
|
1106
1689
|
* Padding Inline
|
|
1107
1690
|
* @see https://tailwindcss.com/docs/padding
|
|
1108
1691
|
*/
|
|
1109
1692
|
px: [{
|
|
1110
|
-
px:
|
|
1693
|
+
px: C()
|
|
1111
1694
|
}],
|
|
1112
1695
|
/**
|
|
1113
1696
|
* Padding Block
|
|
1114
1697
|
* @see https://tailwindcss.com/docs/padding
|
|
1115
1698
|
*/
|
|
1116
1699
|
py: [{
|
|
1117
|
-
py:
|
|
1700
|
+
py: C()
|
|
1118
1701
|
}],
|
|
1119
1702
|
/**
|
|
1120
1703
|
* Padding Inline Start
|
|
1121
1704
|
* @see https://tailwindcss.com/docs/padding
|
|
1122
1705
|
*/
|
|
1123
1706
|
ps: [{
|
|
1124
|
-
ps:
|
|
1707
|
+
ps: C()
|
|
1125
1708
|
}],
|
|
1126
1709
|
/**
|
|
1127
1710
|
* Padding Inline End
|
|
1128
1711
|
* @see https://tailwindcss.com/docs/padding
|
|
1129
1712
|
*/
|
|
1130
1713
|
pe: [{
|
|
1131
|
-
pe:
|
|
1714
|
+
pe: C()
|
|
1132
1715
|
}],
|
|
1133
1716
|
/**
|
|
1134
1717
|
* Padding Block Start
|
|
1135
1718
|
* @see https://tailwindcss.com/docs/padding
|
|
1136
1719
|
*/
|
|
1137
1720
|
pbs: [{
|
|
1138
|
-
pbs:
|
|
1721
|
+
pbs: C()
|
|
1139
1722
|
}],
|
|
1140
1723
|
/**
|
|
1141
1724
|
* Padding Block End
|
|
1142
1725
|
* @see https://tailwindcss.com/docs/padding
|
|
1143
1726
|
*/
|
|
1144
1727
|
pbe: [{
|
|
1145
|
-
pbe:
|
|
1728
|
+
pbe: C()
|
|
1146
1729
|
}],
|
|
1147
1730
|
/**
|
|
1148
1731
|
* Padding Top
|
|
1149
1732
|
* @see https://tailwindcss.com/docs/padding
|
|
1150
1733
|
*/
|
|
1151
1734
|
pt: [{
|
|
1152
|
-
pt:
|
|
1735
|
+
pt: C()
|
|
1153
1736
|
}],
|
|
1154
1737
|
/**
|
|
1155
1738
|
* Padding Right
|
|
1156
1739
|
* @see https://tailwindcss.com/docs/padding
|
|
1157
1740
|
*/
|
|
1158
1741
|
pr: [{
|
|
1159
|
-
pr:
|
|
1742
|
+
pr: C()
|
|
1160
1743
|
}],
|
|
1161
1744
|
/**
|
|
1162
1745
|
* Padding Bottom
|
|
1163
1746
|
* @see https://tailwindcss.com/docs/padding
|
|
1164
1747
|
*/
|
|
1165
1748
|
pb: [{
|
|
1166
|
-
pb:
|
|
1749
|
+
pb: C()
|
|
1167
1750
|
}],
|
|
1168
1751
|
/**
|
|
1169
1752
|
* Padding Left
|
|
1170
1753
|
* @see https://tailwindcss.com/docs/padding
|
|
1171
1754
|
*/
|
|
1172
1755
|
pl: [{
|
|
1173
|
-
pl:
|
|
1756
|
+
pl: C()
|
|
1174
1757
|
}],
|
|
1175
1758
|
/**
|
|
1176
1759
|
* Margin
|
|
1177
1760
|
* @see https://tailwindcss.com/docs/margin
|
|
1178
1761
|
*/
|
|
1179
1762
|
m: [{
|
|
1180
|
-
m:
|
|
1763
|
+
m: A()
|
|
1181
1764
|
}],
|
|
1182
1765
|
/**
|
|
1183
1766
|
* Margin Inline
|
|
1184
1767
|
* @see https://tailwindcss.com/docs/margin
|
|
1185
1768
|
*/
|
|
1186
1769
|
mx: [{
|
|
1187
|
-
mx:
|
|
1770
|
+
mx: A()
|
|
1188
1771
|
}],
|
|
1189
1772
|
/**
|
|
1190
1773
|
* Margin Block
|
|
1191
1774
|
* @see https://tailwindcss.com/docs/margin
|
|
1192
1775
|
*/
|
|
1193
1776
|
my: [{
|
|
1194
|
-
my:
|
|
1777
|
+
my: A()
|
|
1195
1778
|
}],
|
|
1196
1779
|
/**
|
|
1197
1780
|
* Margin Inline Start
|
|
1198
1781
|
* @see https://tailwindcss.com/docs/margin
|
|
1199
1782
|
*/
|
|
1200
1783
|
ms: [{
|
|
1201
|
-
ms:
|
|
1784
|
+
ms: A()
|
|
1202
1785
|
}],
|
|
1203
1786
|
/**
|
|
1204
1787
|
* Margin Inline End
|
|
1205
1788
|
* @see https://tailwindcss.com/docs/margin
|
|
1206
1789
|
*/
|
|
1207
1790
|
me: [{
|
|
1208
|
-
me:
|
|
1791
|
+
me: A()
|
|
1209
1792
|
}],
|
|
1210
1793
|
/**
|
|
1211
1794
|
* Margin Block Start
|
|
1212
1795
|
* @see https://tailwindcss.com/docs/margin
|
|
1213
1796
|
*/
|
|
1214
1797
|
mbs: [{
|
|
1215
|
-
mbs:
|
|
1798
|
+
mbs: A()
|
|
1216
1799
|
}],
|
|
1217
1800
|
/**
|
|
1218
1801
|
* Margin Block End
|
|
1219
1802
|
* @see https://tailwindcss.com/docs/margin
|
|
1220
1803
|
*/
|
|
1221
1804
|
mbe: [{
|
|
1222
|
-
mbe:
|
|
1805
|
+
mbe: A()
|
|
1223
1806
|
}],
|
|
1224
1807
|
/**
|
|
1225
1808
|
* Margin Top
|
|
1226
1809
|
* @see https://tailwindcss.com/docs/margin
|
|
1227
1810
|
*/
|
|
1228
1811
|
mt: [{
|
|
1229
|
-
mt:
|
|
1812
|
+
mt: A()
|
|
1230
1813
|
}],
|
|
1231
1814
|
/**
|
|
1232
1815
|
* Margin Right
|
|
1233
1816
|
* @see https://tailwindcss.com/docs/margin
|
|
1234
1817
|
*/
|
|
1235
1818
|
mr: [{
|
|
1236
|
-
mr:
|
|
1819
|
+
mr: A()
|
|
1237
1820
|
}],
|
|
1238
1821
|
/**
|
|
1239
1822
|
* Margin Bottom
|
|
1240
1823
|
* @see https://tailwindcss.com/docs/margin
|
|
1241
1824
|
*/
|
|
1242
1825
|
mb: [{
|
|
1243
|
-
mb:
|
|
1826
|
+
mb: A()
|
|
1244
1827
|
}],
|
|
1245
1828
|
/**
|
|
1246
1829
|
* Margin Left
|
|
1247
1830
|
* @see https://tailwindcss.com/docs/margin
|
|
1248
1831
|
*/
|
|
1249
1832
|
ml: [{
|
|
1250
|
-
ml:
|
|
1833
|
+
ml: A()
|
|
1251
1834
|
}],
|
|
1252
1835
|
/**
|
|
1253
1836
|
* Space Between X
|
|
1254
1837
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1255
1838
|
*/
|
|
1256
1839
|
"space-x": [{
|
|
1257
|
-
"space-x":
|
|
1840
|
+
"space-x": C()
|
|
1258
1841
|
}],
|
|
1259
1842
|
/**
|
|
1260
1843
|
* Space Between X Reverse
|
|
@@ -1266,7 +1849,7 @@ const pt = (e, r) => {
|
|
|
1266
1849
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1267
1850
|
*/
|
|
1268
1851
|
"space-y": [{
|
|
1269
|
-
"space-y":
|
|
1852
|
+
"space-y": C()
|
|
1270
1853
|
}],
|
|
1271
1854
|
/**
|
|
1272
1855
|
* Space Between Y Reverse
|
|
@@ -1281,28 +1864,28 @@ const pt = (e, r) => {
|
|
|
1281
1864
|
* @see https://tailwindcss.com/docs/width#setting-both-width-and-height
|
|
1282
1865
|
*/
|
|
1283
1866
|
size: [{
|
|
1284
|
-
size:
|
|
1867
|
+
size: P()
|
|
1285
1868
|
}],
|
|
1286
1869
|
/**
|
|
1287
1870
|
* Inline Size
|
|
1288
1871
|
* @see https://tailwindcss.com/docs/width
|
|
1289
1872
|
*/
|
|
1290
1873
|
"inline-size": [{
|
|
1291
|
-
inline: ["auto", ...
|
|
1874
|
+
inline: ["auto", ...I()]
|
|
1292
1875
|
}],
|
|
1293
1876
|
/**
|
|
1294
1877
|
* Min-Inline Size
|
|
1295
1878
|
* @see https://tailwindcss.com/docs/min-width
|
|
1296
1879
|
*/
|
|
1297
1880
|
"min-inline-size": [{
|
|
1298
|
-
"min-inline": ["auto", ...
|
|
1881
|
+
"min-inline": ["auto", ...I()]
|
|
1299
1882
|
}],
|
|
1300
1883
|
/**
|
|
1301
1884
|
* Max-Inline Size
|
|
1302
1885
|
* @see https://tailwindcss.com/docs/max-width
|
|
1303
1886
|
*/
|
|
1304
1887
|
"max-inline-size": [{
|
|
1305
|
-
"max-inline": ["none", ...
|
|
1888
|
+
"max-inline": ["none", ...I()]
|
|
1306
1889
|
}],
|
|
1307
1890
|
/**
|
|
1308
1891
|
* Block Size
|
|
@@ -1330,7 +1913,7 @@ const pt = (e, r) => {
|
|
|
1330
1913
|
* @see https://tailwindcss.com/docs/width
|
|
1331
1914
|
*/
|
|
1332
1915
|
w: [{
|
|
1333
|
-
w: [
|
|
1916
|
+
w: [c, "screen", ...P()]
|
|
1334
1917
|
}],
|
|
1335
1918
|
/**
|
|
1336
1919
|
* Min-Width
|
|
@@ -1338,11 +1921,11 @@ const pt = (e, r) => {
|
|
|
1338
1921
|
*/
|
|
1339
1922
|
"min-w": [{
|
|
1340
1923
|
"min-w": [
|
|
1341
|
-
|
|
1924
|
+
c,
|
|
1342
1925
|
"screen",
|
|
1343
1926
|
/** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1344
1927
|
"none",
|
|
1345
|
-
...
|
|
1928
|
+
...P()
|
|
1346
1929
|
]
|
|
1347
1930
|
}],
|
|
1348
1931
|
/**
|
|
@@ -1351,7 +1934,7 @@ const pt = (e, r) => {
|
|
|
1351
1934
|
*/
|
|
1352
1935
|
"max-w": [{
|
|
1353
1936
|
"max-w": [
|
|
1354
|
-
|
|
1937
|
+
c,
|
|
1355
1938
|
"screen",
|
|
1356
1939
|
"none",
|
|
1357
1940
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
@@ -1360,7 +1943,7 @@ const pt = (e, r) => {
|
|
|
1360
1943
|
{
|
|
1361
1944
|
screen: [a]
|
|
1362
1945
|
},
|
|
1363
|
-
...
|
|
1946
|
+
...P()
|
|
1364
1947
|
]
|
|
1365
1948
|
}],
|
|
1366
1949
|
/**
|
|
@@ -1368,21 +1951,21 @@ const pt = (e, r) => {
|
|
|
1368
1951
|
* @see https://tailwindcss.com/docs/height
|
|
1369
1952
|
*/
|
|
1370
1953
|
h: [{
|
|
1371
|
-
h: ["screen", "lh", ...
|
|
1954
|
+
h: ["screen", "lh", ...P()]
|
|
1372
1955
|
}],
|
|
1373
1956
|
/**
|
|
1374
1957
|
* Min-Height
|
|
1375
1958
|
* @see https://tailwindcss.com/docs/min-height
|
|
1376
1959
|
*/
|
|
1377
1960
|
"min-h": [{
|
|
1378
|
-
"min-h": ["screen", "lh", "none", ...
|
|
1961
|
+
"min-h": ["screen", "lh", "none", ...P()]
|
|
1379
1962
|
}],
|
|
1380
1963
|
/**
|
|
1381
1964
|
* Max-Height
|
|
1382
1965
|
* @see https://tailwindcss.com/docs/max-height
|
|
1383
1966
|
*/
|
|
1384
1967
|
"max-h": [{
|
|
1385
|
-
"max-h": ["screen", "lh", ...
|
|
1968
|
+
"max-h": ["screen", "lh", ...P()]
|
|
1386
1969
|
}],
|
|
1387
1970
|
// ------------------
|
|
1388
1971
|
// --- Typography ---
|
|
@@ -1392,7 +1975,7 @@ const pt = (e, r) => {
|
|
|
1392
1975
|
* @see https://tailwindcss.com/docs/font-size
|
|
1393
1976
|
*/
|
|
1394
1977
|
"font-size": [{
|
|
1395
|
-
text: ["base", o,
|
|
1978
|
+
text: ["base", o, de, re]
|
|
1396
1979
|
}],
|
|
1397
1980
|
/**
|
|
1398
1981
|
* Font Smoothing
|
|
@@ -1409,28 +1992,28 @@ const pt = (e, r) => {
|
|
|
1409
1992
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1410
1993
|
*/
|
|
1411
1994
|
"font-weight": [{
|
|
1412
|
-
font: [
|
|
1995
|
+
font: [r, Wr, $r]
|
|
1413
1996
|
}],
|
|
1414
1997
|
/**
|
|
1415
1998
|
* Font Stretch
|
|
1416
1999
|
* @see https://tailwindcss.com/docs/font-stretch
|
|
1417
2000
|
*/
|
|
1418
2001
|
"font-stretch": [{
|
|
1419
|
-
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded",
|
|
2002
|
+
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", Le, g]
|
|
1420
2003
|
}],
|
|
1421
2004
|
/**
|
|
1422
2005
|
* Font Family
|
|
1423
2006
|
* @see https://tailwindcss.com/docs/font-family
|
|
1424
2007
|
*/
|
|
1425
2008
|
"font-family": [{
|
|
1426
|
-
font: [
|
|
2009
|
+
font: [Fr, Dr, t]
|
|
1427
2010
|
}],
|
|
1428
2011
|
/**
|
|
1429
2012
|
* Font Feature Settings
|
|
1430
2013
|
* @see https://tailwindcss.com/docs/font-feature-settings
|
|
1431
2014
|
*/
|
|
1432
2015
|
"font-features": [{
|
|
1433
|
-
"font-features": [
|
|
2016
|
+
"font-features": [g]
|
|
1434
2017
|
}],
|
|
1435
2018
|
/**
|
|
1436
2019
|
* Font Variant Numeric
|
|
@@ -1467,14 +2050,14 @@ const pt = (e, r) => {
|
|
|
1467
2050
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
1468
2051
|
*/
|
|
1469
2052
|
tracking: [{
|
|
1470
|
-
tracking: [n,
|
|
2053
|
+
tracking: [n, b, g]
|
|
1471
2054
|
}],
|
|
1472
2055
|
/**
|
|
1473
2056
|
* Line Clamp
|
|
1474
2057
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1475
2058
|
*/
|
|
1476
2059
|
"line-clamp": [{
|
|
1477
|
-
"line-clamp": [
|
|
2060
|
+
"line-clamp": [N, "none", b, ft]
|
|
1478
2061
|
}],
|
|
1479
2062
|
/**
|
|
1480
2063
|
* Line Height
|
|
@@ -1484,7 +2067,7 @@ const pt = (e, r) => {
|
|
|
1484
2067
|
leading: [
|
|
1485
2068
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1486
2069
|
s,
|
|
1487
|
-
...
|
|
2070
|
+
...C()
|
|
1488
2071
|
]
|
|
1489
2072
|
}],
|
|
1490
2073
|
/**
|
|
@@ -1492,7 +2075,7 @@ const pt = (e, r) => {
|
|
|
1492
2075
|
* @see https://tailwindcss.com/docs/list-style-image
|
|
1493
2076
|
*/
|
|
1494
2077
|
"list-image": [{
|
|
1495
|
-
"list-image": ["none",
|
|
2078
|
+
"list-image": ["none", b, g]
|
|
1496
2079
|
}],
|
|
1497
2080
|
/**
|
|
1498
2081
|
* List Style Position
|
|
@@ -1506,7 +2089,7 @@ const pt = (e, r) => {
|
|
|
1506
2089
|
* @see https://tailwindcss.com/docs/list-style-type
|
|
1507
2090
|
*/
|
|
1508
2091
|
"list-style-type": [{
|
|
1509
|
-
list: ["disc", "decimal", "none",
|
|
2092
|
+
list: ["disc", "decimal", "none", b, g]
|
|
1510
2093
|
}],
|
|
1511
2094
|
/**
|
|
1512
2095
|
* Text Alignment
|
|
@@ -1521,14 +2104,14 @@ const pt = (e, r) => {
|
|
|
1521
2104
|
* @see https://v3.tailwindcss.com/docs/placeholder-color
|
|
1522
2105
|
*/
|
|
1523
2106
|
"placeholder-color": [{
|
|
1524
|
-
placeholder:
|
|
2107
|
+
placeholder: v()
|
|
1525
2108
|
}],
|
|
1526
2109
|
/**
|
|
1527
2110
|
* Text Color
|
|
1528
2111
|
* @see https://tailwindcss.com/docs/text-color
|
|
1529
2112
|
*/
|
|
1530
2113
|
"text-color": [{
|
|
1531
|
-
text:
|
|
2114
|
+
text: v()
|
|
1532
2115
|
}],
|
|
1533
2116
|
/**
|
|
1534
2117
|
* Text Decoration
|
|
@@ -1540,28 +2123,28 @@ const pt = (e, r) => {
|
|
|
1540
2123
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1541
2124
|
*/
|
|
1542
2125
|
"text-decoration-style": [{
|
|
1543
|
-
decoration: [...
|
|
2126
|
+
decoration: [...be(), "wavy"]
|
|
1544
2127
|
}],
|
|
1545
2128
|
/**
|
|
1546
2129
|
* Text Decoration Thickness
|
|
1547
2130
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1548
2131
|
*/
|
|
1549
2132
|
"text-decoration-thickness": [{
|
|
1550
|
-
decoration: [
|
|
2133
|
+
decoration: [N, "from-font", "auto", b, re]
|
|
1551
2134
|
}],
|
|
1552
2135
|
/**
|
|
1553
2136
|
* Text Decoration Color
|
|
1554
2137
|
* @see https://tailwindcss.com/docs/text-decoration-color
|
|
1555
2138
|
*/
|
|
1556
2139
|
"text-decoration-color": [{
|
|
1557
|
-
decoration:
|
|
2140
|
+
decoration: v()
|
|
1558
2141
|
}],
|
|
1559
2142
|
/**
|
|
1560
2143
|
* Text Underline Offset
|
|
1561
2144
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1562
2145
|
*/
|
|
1563
2146
|
"underline-offset": [{
|
|
1564
|
-
"underline-offset": [
|
|
2147
|
+
"underline-offset": [N, "auto", b, g]
|
|
1565
2148
|
}],
|
|
1566
2149
|
/**
|
|
1567
2150
|
* Text Transform
|
|
@@ -1585,14 +2168,14 @@ const pt = (e, r) => {
|
|
|
1585
2168
|
* @see https://tailwindcss.com/docs/text-indent
|
|
1586
2169
|
*/
|
|
1587
2170
|
indent: [{
|
|
1588
|
-
indent:
|
|
2171
|
+
indent: C()
|
|
1589
2172
|
}],
|
|
1590
2173
|
/**
|
|
1591
2174
|
* Vertical Alignment
|
|
1592
2175
|
* @see https://tailwindcss.com/docs/vertical-align
|
|
1593
2176
|
*/
|
|
1594
2177
|
"vertical-align": [{
|
|
1595
|
-
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super",
|
|
2178
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", b, g]
|
|
1596
2179
|
}],
|
|
1597
2180
|
/**
|
|
1598
2181
|
* Whitespace
|
|
@@ -1627,7 +2210,7 @@ const pt = (e, r) => {
|
|
|
1627
2210
|
* @see https://tailwindcss.com/docs/content
|
|
1628
2211
|
*/
|
|
1629
2212
|
content: [{
|
|
1630
|
-
content: ["none",
|
|
2213
|
+
content: ["none", b, g]
|
|
1631
2214
|
}],
|
|
1632
2215
|
// -------------------
|
|
1633
2216
|
// --- Backgrounds ---
|
|
@@ -1658,21 +2241,21 @@ const pt = (e, r) => {
|
|
|
1658
2241
|
* @see https://tailwindcss.com/docs/background-position
|
|
1659
2242
|
*/
|
|
1660
2243
|
"bg-position": [{
|
|
1661
|
-
bg:
|
|
2244
|
+
bg: q()
|
|
1662
2245
|
}],
|
|
1663
2246
|
/**
|
|
1664
2247
|
* Background Repeat
|
|
1665
2248
|
* @see https://tailwindcss.com/docs/background-repeat
|
|
1666
2249
|
*/
|
|
1667
2250
|
"bg-repeat": [{
|
|
1668
|
-
bg:
|
|
2251
|
+
bg: B()
|
|
1669
2252
|
}],
|
|
1670
2253
|
/**
|
|
1671
2254
|
* Background Size
|
|
1672
2255
|
* @see https://tailwindcss.com/docs/background-size
|
|
1673
2256
|
*/
|
|
1674
2257
|
"bg-size": [{
|
|
1675
|
-
bg:
|
|
2258
|
+
bg: H()
|
|
1676
2259
|
}],
|
|
1677
2260
|
/**
|
|
1678
2261
|
* Background Image
|
|
@@ -1682,59 +2265,59 @@ const pt = (e, r) => {
|
|
|
1682
2265
|
bg: ["none", {
|
|
1683
2266
|
linear: [{
|
|
1684
2267
|
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1685
|
-
},
|
|
1686
|
-
radial: ["",
|
|
1687
|
-
conic: [
|
|
1688
|
-
},
|
|
2268
|
+
}, ee, b, g],
|
|
2269
|
+
radial: ["", b, g],
|
|
2270
|
+
conic: [ee, b, g]
|
|
2271
|
+
}, Br, jr]
|
|
1689
2272
|
}],
|
|
1690
2273
|
/**
|
|
1691
2274
|
* Background Color
|
|
1692
2275
|
* @see https://tailwindcss.com/docs/background-color
|
|
1693
2276
|
*/
|
|
1694
2277
|
"bg-color": [{
|
|
1695
|
-
bg:
|
|
2278
|
+
bg: v()
|
|
1696
2279
|
}],
|
|
1697
2280
|
/**
|
|
1698
2281
|
* Gradient Color Stops From Position
|
|
1699
2282
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1700
2283
|
*/
|
|
1701
2284
|
"gradient-from-pos": [{
|
|
1702
|
-
from:
|
|
2285
|
+
from: X()
|
|
1703
2286
|
}],
|
|
1704
2287
|
/**
|
|
1705
2288
|
* Gradient Color Stops Via Position
|
|
1706
2289
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1707
2290
|
*/
|
|
1708
2291
|
"gradient-via-pos": [{
|
|
1709
|
-
via:
|
|
2292
|
+
via: X()
|
|
1710
2293
|
}],
|
|
1711
2294
|
/**
|
|
1712
2295
|
* Gradient Color Stops To Position
|
|
1713
2296
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1714
2297
|
*/
|
|
1715
2298
|
"gradient-to-pos": [{
|
|
1716
|
-
to:
|
|
2299
|
+
to: X()
|
|
1717
2300
|
}],
|
|
1718
2301
|
/**
|
|
1719
2302
|
* Gradient Color Stops From
|
|
1720
2303
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1721
2304
|
*/
|
|
1722
2305
|
"gradient-from": [{
|
|
1723
|
-
from:
|
|
2306
|
+
from: v()
|
|
1724
2307
|
}],
|
|
1725
2308
|
/**
|
|
1726
2309
|
* Gradient Color Stops Via
|
|
1727
2310
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1728
2311
|
*/
|
|
1729
2312
|
"gradient-via": [{
|
|
1730
|
-
via:
|
|
2313
|
+
via: v()
|
|
1731
2314
|
}],
|
|
1732
2315
|
/**
|
|
1733
2316
|
* Gradient Color Stops To
|
|
1734
2317
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1735
2318
|
*/
|
|
1736
2319
|
"gradient-to": [{
|
|
1737
|
-
to:
|
|
2320
|
+
to: v()
|
|
1738
2321
|
}],
|
|
1739
2322
|
// ---------------
|
|
1740
2323
|
// --- Borders ---
|
|
@@ -1744,189 +2327,189 @@ const pt = (e, r) => {
|
|
|
1744
2327
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1745
2328
|
*/
|
|
1746
2329
|
rounded: [{
|
|
1747
|
-
rounded:
|
|
2330
|
+
rounded: T()
|
|
1748
2331
|
}],
|
|
1749
2332
|
/**
|
|
1750
2333
|
* Border Radius Start
|
|
1751
2334
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1752
2335
|
*/
|
|
1753
2336
|
"rounded-s": [{
|
|
1754
|
-
"rounded-s":
|
|
2337
|
+
"rounded-s": T()
|
|
1755
2338
|
}],
|
|
1756
2339
|
/**
|
|
1757
2340
|
* Border Radius End
|
|
1758
2341
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1759
2342
|
*/
|
|
1760
2343
|
"rounded-e": [{
|
|
1761
|
-
"rounded-e":
|
|
2344
|
+
"rounded-e": T()
|
|
1762
2345
|
}],
|
|
1763
2346
|
/**
|
|
1764
2347
|
* Border Radius Top
|
|
1765
2348
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1766
2349
|
*/
|
|
1767
2350
|
"rounded-t": [{
|
|
1768
|
-
"rounded-t":
|
|
2351
|
+
"rounded-t": T()
|
|
1769
2352
|
}],
|
|
1770
2353
|
/**
|
|
1771
2354
|
* Border Radius Right
|
|
1772
2355
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1773
2356
|
*/
|
|
1774
2357
|
"rounded-r": [{
|
|
1775
|
-
"rounded-r":
|
|
2358
|
+
"rounded-r": T()
|
|
1776
2359
|
}],
|
|
1777
2360
|
/**
|
|
1778
2361
|
* Border Radius Bottom
|
|
1779
2362
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1780
2363
|
*/
|
|
1781
2364
|
"rounded-b": [{
|
|
1782
|
-
"rounded-b":
|
|
2365
|
+
"rounded-b": T()
|
|
1783
2366
|
}],
|
|
1784
2367
|
/**
|
|
1785
2368
|
* Border Radius Left
|
|
1786
2369
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1787
2370
|
*/
|
|
1788
2371
|
"rounded-l": [{
|
|
1789
|
-
"rounded-l":
|
|
2372
|
+
"rounded-l": T()
|
|
1790
2373
|
}],
|
|
1791
2374
|
/**
|
|
1792
2375
|
* Border Radius Start Start
|
|
1793
2376
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1794
2377
|
*/
|
|
1795
2378
|
"rounded-ss": [{
|
|
1796
|
-
"rounded-ss":
|
|
2379
|
+
"rounded-ss": T()
|
|
1797
2380
|
}],
|
|
1798
2381
|
/**
|
|
1799
2382
|
* Border Radius Start End
|
|
1800
2383
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1801
2384
|
*/
|
|
1802
2385
|
"rounded-se": [{
|
|
1803
|
-
"rounded-se":
|
|
2386
|
+
"rounded-se": T()
|
|
1804
2387
|
}],
|
|
1805
2388
|
/**
|
|
1806
2389
|
* Border Radius End End
|
|
1807
2390
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1808
2391
|
*/
|
|
1809
2392
|
"rounded-ee": [{
|
|
1810
|
-
"rounded-ee":
|
|
2393
|
+
"rounded-ee": T()
|
|
1811
2394
|
}],
|
|
1812
2395
|
/**
|
|
1813
2396
|
* Border Radius End Start
|
|
1814
2397
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1815
2398
|
*/
|
|
1816
2399
|
"rounded-es": [{
|
|
1817
|
-
"rounded-es":
|
|
2400
|
+
"rounded-es": T()
|
|
1818
2401
|
}],
|
|
1819
2402
|
/**
|
|
1820
2403
|
* Border Radius Top Left
|
|
1821
2404
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1822
2405
|
*/
|
|
1823
2406
|
"rounded-tl": [{
|
|
1824
|
-
"rounded-tl":
|
|
2407
|
+
"rounded-tl": T()
|
|
1825
2408
|
}],
|
|
1826
2409
|
/**
|
|
1827
2410
|
* Border Radius Top Right
|
|
1828
2411
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1829
2412
|
*/
|
|
1830
2413
|
"rounded-tr": [{
|
|
1831
|
-
"rounded-tr":
|
|
2414
|
+
"rounded-tr": T()
|
|
1832
2415
|
}],
|
|
1833
2416
|
/**
|
|
1834
2417
|
* Border Radius Bottom Right
|
|
1835
2418
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1836
2419
|
*/
|
|
1837
2420
|
"rounded-br": [{
|
|
1838
|
-
"rounded-br":
|
|
2421
|
+
"rounded-br": T()
|
|
1839
2422
|
}],
|
|
1840
2423
|
/**
|
|
1841
2424
|
* Border Radius Bottom Left
|
|
1842
2425
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1843
2426
|
*/
|
|
1844
2427
|
"rounded-bl": [{
|
|
1845
|
-
"rounded-bl":
|
|
2428
|
+
"rounded-bl": T()
|
|
1846
2429
|
}],
|
|
1847
2430
|
/**
|
|
1848
2431
|
* Border Width
|
|
1849
2432
|
* @see https://tailwindcss.com/docs/border-width
|
|
1850
2433
|
*/
|
|
1851
2434
|
"border-w": [{
|
|
1852
|
-
border:
|
|
2435
|
+
border: G()
|
|
1853
2436
|
}],
|
|
1854
2437
|
/**
|
|
1855
2438
|
* Border Width Inline
|
|
1856
2439
|
* @see https://tailwindcss.com/docs/border-width
|
|
1857
2440
|
*/
|
|
1858
2441
|
"border-w-x": [{
|
|
1859
|
-
"border-x":
|
|
2442
|
+
"border-x": G()
|
|
1860
2443
|
}],
|
|
1861
2444
|
/**
|
|
1862
2445
|
* Border Width Block
|
|
1863
2446
|
* @see https://tailwindcss.com/docs/border-width
|
|
1864
2447
|
*/
|
|
1865
2448
|
"border-w-y": [{
|
|
1866
|
-
"border-y":
|
|
2449
|
+
"border-y": G()
|
|
1867
2450
|
}],
|
|
1868
2451
|
/**
|
|
1869
2452
|
* Border Width Inline Start
|
|
1870
2453
|
* @see https://tailwindcss.com/docs/border-width
|
|
1871
2454
|
*/
|
|
1872
2455
|
"border-w-s": [{
|
|
1873
|
-
"border-s":
|
|
2456
|
+
"border-s": G()
|
|
1874
2457
|
}],
|
|
1875
2458
|
/**
|
|
1876
2459
|
* Border Width Inline End
|
|
1877
2460
|
* @see https://tailwindcss.com/docs/border-width
|
|
1878
2461
|
*/
|
|
1879
2462
|
"border-w-e": [{
|
|
1880
|
-
"border-e":
|
|
2463
|
+
"border-e": G()
|
|
1881
2464
|
}],
|
|
1882
2465
|
/**
|
|
1883
2466
|
* Border Width Block Start
|
|
1884
2467
|
* @see https://tailwindcss.com/docs/border-width
|
|
1885
2468
|
*/
|
|
1886
2469
|
"border-w-bs": [{
|
|
1887
|
-
"border-bs":
|
|
2470
|
+
"border-bs": G()
|
|
1888
2471
|
}],
|
|
1889
2472
|
/**
|
|
1890
2473
|
* Border Width Block End
|
|
1891
2474
|
* @see https://tailwindcss.com/docs/border-width
|
|
1892
2475
|
*/
|
|
1893
2476
|
"border-w-be": [{
|
|
1894
|
-
"border-be":
|
|
2477
|
+
"border-be": G()
|
|
1895
2478
|
}],
|
|
1896
2479
|
/**
|
|
1897
2480
|
* Border Width Top
|
|
1898
2481
|
* @see https://tailwindcss.com/docs/border-width
|
|
1899
2482
|
*/
|
|
1900
2483
|
"border-w-t": [{
|
|
1901
|
-
"border-t":
|
|
2484
|
+
"border-t": G()
|
|
1902
2485
|
}],
|
|
1903
2486
|
/**
|
|
1904
2487
|
* Border Width Right
|
|
1905
2488
|
* @see https://tailwindcss.com/docs/border-width
|
|
1906
2489
|
*/
|
|
1907
2490
|
"border-w-r": [{
|
|
1908
|
-
"border-r":
|
|
2491
|
+
"border-r": G()
|
|
1909
2492
|
}],
|
|
1910
2493
|
/**
|
|
1911
2494
|
* Border Width Bottom
|
|
1912
2495
|
* @see https://tailwindcss.com/docs/border-width
|
|
1913
2496
|
*/
|
|
1914
2497
|
"border-w-b": [{
|
|
1915
|
-
"border-b":
|
|
2498
|
+
"border-b": G()
|
|
1916
2499
|
}],
|
|
1917
2500
|
/**
|
|
1918
2501
|
* Border Width Left
|
|
1919
2502
|
* @see https://tailwindcss.com/docs/border-width
|
|
1920
2503
|
*/
|
|
1921
2504
|
"border-w-l": [{
|
|
1922
|
-
"border-l":
|
|
2505
|
+
"border-l": G()
|
|
1923
2506
|
}],
|
|
1924
2507
|
/**
|
|
1925
2508
|
* Divide Width X
|
|
1926
2509
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1927
2510
|
*/
|
|
1928
2511
|
"divide-x": [{
|
|
1929
|
-
"divide-x":
|
|
2512
|
+
"divide-x": G()
|
|
1930
2513
|
}],
|
|
1931
2514
|
/**
|
|
1932
2515
|
* Divide Width X Reverse
|
|
@@ -1938,7 +2521,7 @@ const pt = (e, r) => {
|
|
|
1938
2521
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1939
2522
|
*/
|
|
1940
2523
|
"divide-y": [{
|
|
1941
|
-
"divide-y":
|
|
2524
|
+
"divide-y": G()
|
|
1942
2525
|
}],
|
|
1943
2526
|
/**
|
|
1944
2527
|
* Divide Width Y Reverse
|
|
@@ -1950,126 +2533,126 @@ const pt = (e, r) => {
|
|
|
1950
2533
|
* @see https://tailwindcss.com/docs/border-style
|
|
1951
2534
|
*/
|
|
1952
2535
|
"border-style": [{
|
|
1953
|
-
border: [...
|
|
2536
|
+
border: [...be(), "hidden", "none"]
|
|
1954
2537
|
}],
|
|
1955
2538
|
/**
|
|
1956
2539
|
* Divide Style
|
|
1957
2540
|
* @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
|
|
1958
2541
|
*/
|
|
1959
2542
|
"divide-style": [{
|
|
1960
|
-
divide: [...
|
|
2543
|
+
divide: [...be(), "hidden", "none"]
|
|
1961
2544
|
}],
|
|
1962
2545
|
/**
|
|
1963
2546
|
* Border Color
|
|
1964
2547
|
* @see https://tailwindcss.com/docs/border-color
|
|
1965
2548
|
*/
|
|
1966
2549
|
"border-color": [{
|
|
1967
|
-
border:
|
|
2550
|
+
border: v()
|
|
1968
2551
|
}],
|
|
1969
2552
|
/**
|
|
1970
2553
|
* Border Color Inline
|
|
1971
2554
|
* @see https://tailwindcss.com/docs/border-color
|
|
1972
2555
|
*/
|
|
1973
2556
|
"border-color-x": [{
|
|
1974
|
-
"border-x":
|
|
2557
|
+
"border-x": v()
|
|
1975
2558
|
}],
|
|
1976
2559
|
/**
|
|
1977
2560
|
* Border Color Block
|
|
1978
2561
|
* @see https://tailwindcss.com/docs/border-color
|
|
1979
2562
|
*/
|
|
1980
2563
|
"border-color-y": [{
|
|
1981
|
-
"border-y":
|
|
2564
|
+
"border-y": v()
|
|
1982
2565
|
}],
|
|
1983
2566
|
/**
|
|
1984
2567
|
* Border Color Inline Start
|
|
1985
2568
|
* @see https://tailwindcss.com/docs/border-color
|
|
1986
2569
|
*/
|
|
1987
2570
|
"border-color-s": [{
|
|
1988
|
-
"border-s":
|
|
2571
|
+
"border-s": v()
|
|
1989
2572
|
}],
|
|
1990
2573
|
/**
|
|
1991
2574
|
* Border Color Inline End
|
|
1992
2575
|
* @see https://tailwindcss.com/docs/border-color
|
|
1993
2576
|
*/
|
|
1994
2577
|
"border-color-e": [{
|
|
1995
|
-
"border-e":
|
|
2578
|
+
"border-e": v()
|
|
1996
2579
|
}],
|
|
1997
2580
|
/**
|
|
1998
2581
|
* Border Color Block Start
|
|
1999
2582
|
* @see https://tailwindcss.com/docs/border-color
|
|
2000
2583
|
*/
|
|
2001
2584
|
"border-color-bs": [{
|
|
2002
|
-
"border-bs":
|
|
2585
|
+
"border-bs": v()
|
|
2003
2586
|
}],
|
|
2004
2587
|
/**
|
|
2005
2588
|
* Border Color Block End
|
|
2006
2589
|
* @see https://tailwindcss.com/docs/border-color
|
|
2007
2590
|
*/
|
|
2008
2591
|
"border-color-be": [{
|
|
2009
|
-
"border-be":
|
|
2592
|
+
"border-be": v()
|
|
2010
2593
|
}],
|
|
2011
2594
|
/**
|
|
2012
2595
|
* Border Color Top
|
|
2013
2596
|
* @see https://tailwindcss.com/docs/border-color
|
|
2014
2597
|
*/
|
|
2015
2598
|
"border-color-t": [{
|
|
2016
|
-
"border-t":
|
|
2599
|
+
"border-t": v()
|
|
2017
2600
|
}],
|
|
2018
2601
|
/**
|
|
2019
2602
|
* Border Color Right
|
|
2020
2603
|
* @see https://tailwindcss.com/docs/border-color
|
|
2021
2604
|
*/
|
|
2022
2605
|
"border-color-r": [{
|
|
2023
|
-
"border-r":
|
|
2606
|
+
"border-r": v()
|
|
2024
2607
|
}],
|
|
2025
2608
|
/**
|
|
2026
2609
|
* Border Color Bottom
|
|
2027
2610
|
* @see https://tailwindcss.com/docs/border-color
|
|
2028
2611
|
*/
|
|
2029
2612
|
"border-color-b": [{
|
|
2030
|
-
"border-b":
|
|
2613
|
+
"border-b": v()
|
|
2031
2614
|
}],
|
|
2032
2615
|
/**
|
|
2033
2616
|
* Border Color Left
|
|
2034
2617
|
* @see https://tailwindcss.com/docs/border-color
|
|
2035
2618
|
*/
|
|
2036
2619
|
"border-color-l": [{
|
|
2037
|
-
"border-l":
|
|
2620
|
+
"border-l": v()
|
|
2038
2621
|
}],
|
|
2039
2622
|
/**
|
|
2040
2623
|
* Divide Color
|
|
2041
2624
|
* @see https://tailwindcss.com/docs/divide-color
|
|
2042
2625
|
*/
|
|
2043
2626
|
"divide-color": [{
|
|
2044
|
-
divide:
|
|
2627
|
+
divide: v()
|
|
2045
2628
|
}],
|
|
2046
2629
|
/**
|
|
2047
2630
|
* Outline Style
|
|
2048
2631
|
* @see https://tailwindcss.com/docs/outline-style
|
|
2049
2632
|
*/
|
|
2050
2633
|
"outline-style": [{
|
|
2051
|
-
outline: [...
|
|
2634
|
+
outline: [...be(), "none", "hidden"]
|
|
2052
2635
|
}],
|
|
2053
2636
|
/**
|
|
2054
2637
|
* Outline Offset
|
|
2055
2638
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
2056
2639
|
*/
|
|
2057
2640
|
"outline-offset": [{
|
|
2058
|
-
"outline-offset": [
|
|
2641
|
+
"outline-offset": [N, b, g]
|
|
2059
2642
|
}],
|
|
2060
2643
|
/**
|
|
2061
2644
|
* Outline Width
|
|
2062
2645
|
* @see https://tailwindcss.com/docs/outline-width
|
|
2063
2646
|
*/
|
|
2064
2647
|
"outline-w": [{
|
|
2065
|
-
outline: ["",
|
|
2648
|
+
outline: ["", N, de, re]
|
|
2066
2649
|
}],
|
|
2067
2650
|
/**
|
|
2068
2651
|
* Outline Color
|
|
2069
2652
|
* @see https://tailwindcss.com/docs/outline-color
|
|
2070
2653
|
*/
|
|
2071
2654
|
"outline-color": [{
|
|
2072
|
-
outline:
|
|
2655
|
+
outline: v()
|
|
2073
2656
|
}],
|
|
2074
2657
|
// ---------------
|
|
2075
2658
|
// --- Effects ---
|
|
@@ -2083,9 +2666,9 @@ const pt = (e, r) => {
|
|
|
2083
2666
|
// Deprecated since Tailwind CSS v4.0.0
|
|
2084
2667
|
"",
|
|
2085
2668
|
"none",
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2669
|
+
f,
|
|
2670
|
+
Ce,
|
|
2671
|
+
xe
|
|
2089
2672
|
]
|
|
2090
2673
|
}],
|
|
2091
2674
|
/**
|
|
@@ -2093,28 +2676,28 @@ const pt = (e, r) => {
|
|
|
2093
2676
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
|
|
2094
2677
|
*/
|
|
2095
2678
|
"shadow-color": [{
|
|
2096
|
-
shadow:
|
|
2679
|
+
shadow: v()
|
|
2097
2680
|
}],
|
|
2098
2681
|
/**
|
|
2099
2682
|
* Inset Box Shadow
|
|
2100
2683
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
2101
2684
|
*/
|
|
2102
2685
|
"inset-shadow": [{
|
|
2103
|
-
"inset-shadow": ["none",
|
|
2686
|
+
"inset-shadow": ["none", d, Ce, xe]
|
|
2104
2687
|
}],
|
|
2105
2688
|
/**
|
|
2106
2689
|
* Inset Box Shadow Color
|
|
2107
2690
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
|
|
2108
2691
|
*/
|
|
2109
2692
|
"inset-shadow-color": [{
|
|
2110
|
-
"inset-shadow":
|
|
2693
|
+
"inset-shadow": v()
|
|
2111
2694
|
}],
|
|
2112
2695
|
/**
|
|
2113
2696
|
* Ring Width
|
|
2114
2697
|
* @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
|
|
2115
2698
|
*/
|
|
2116
2699
|
"ring-w": [{
|
|
2117
|
-
ring:
|
|
2700
|
+
ring: G()
|
|
2118
2701
|
}],
|
|
2119
2702
|
/**
|
|
2120
2703
|
* Ring Width Inset
|
|
@@ -2128,7 +2711,7 @@ const pt = (e, r) => {
|
|
|
2128
2711
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
|
|
2129
2712
|
*/
|
|
2130
2713
|
"ring-color": [{
|
|
2131
|
-
ring:
|
|
2714
|
+
ring: v()
|
|
2132
2715
|
}],
|
|
2133
2716
|
/**
|
|
2134
2717
|
* Ring Offset Width
|
|
@@ -2137,7 +2720,7 @@ const pt = (e, r) => {
|
|
|
2137
2720
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
2138
2721
|
*/
|
|
2139
2722
|
"ring-offset-w": [{
|
|
2140
|
-
"ring-offset": [
|
|
2723
|
+
"ring-offset": [N, re]
|
|
2141
2724
|
}],
|
|
2142
2725
|
/**
|
|
2143
2726
|
* Ring Offset Color
|
|
@@ -2146,56 +2729,56 @@ const pt = (e, r) => {
|
|
|
2146
2729
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
2147
2730
|
*/
|
|
2148
2731
|
"ring-offset-color": [{
|
|
2149
|
-
"ring-offset":
|
|
2732
|
+
"ring-offset": v()
|
|
2150
2733
|
}],
|
|
2151
2734
|
/**
|
|
2152
2735
|
* Inset Ring Width
|
|
2153
2736
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
|
|
2154
2737
|
*/
|
|
2155
2738
|
"inset-ring-w": [{
|
|
2156
|
-
"inset-ring":
|
|
2739
|
+
"inset-ring": G()
|
|
2157
2740
|
}],
|
|
2158
2741
|
/**
|
|
2159
2742
|
* Inset Ring Color
|
|
2160
2743
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
|
|
2161
2744
|
*/
|
|
2162
2745
|
"inset-ring-color": [{
|
|
2163
|
-
"inset-ring":
|
|
2746
|
+
"inset-ring": v()
|
|
2164
2747
|
}],
|
|
2165
2748
|
/**
|
|
2166
2749
|
* Text Shadow
|
|
2167
2750
|
* @see https://tailwindcss.com/docs/text-shadow
|
|
2168
2751
|
*/
|
|
2169
2752
|
"text-shadow": [{
|
|
2170
|
-
"text-shadow": ["none",
|
|
2753
|
+
"text-shadow": ["none", x, Ce, xe]
|
|
2171
2754
|
}],
|
|
2172
2755
|
/**
|
|
2173
2756
|
* Text Shadow Color
|
|
2174
2757
|
* @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
|
|
2175
2758
|
*/
|
|
2176
2759
|
"text-shadow-color": [{
|
|
2177
|
-
"text-shadow":
|
|
2760
|
+
"text-shadow": v()
|
|
2178
2761
|
}],
|
|
2179
2762
|
/**
|
|
2180
2763
|
* Opacity
|
|
2181
2764
|
* @see https://tailwindcss.com/docs/opacity
|
|
2182
2765
|
*/
|
|
2183
2766
|
opacity: [{
|
|
2184
|
-
opacity: [
|
|
2767
|
+
opacity: [N, b, g]
|
|
2185
2768
|
}],
|
|
2186
2769
|
/**
|
|
2187
2770
|
* Mix Blend Mode
|
|
2188
2771
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
2189
2772
|
*/
|
|
2190
2773
|
"mix-blend": [{
|
|
2191
|
-
"mix-blend": [...
|
|
2774
|
+
"mix-blend": [...st(), "plus-darker", "plus-lighter"]
|
|
2192
2775
|
}],
|
|
2193
2776
|
/**
|
|
2194
2777
|
* Background Blend Mode
|
|
2195
2778
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
2196
2779
|
*/
|
|
2197
2780
|
"bg-blend": [{
|
|
2198
|
-
"bg-blend":
|
|
2781
|
+
"bg-blend": st()
|
|
2199
2782
|
}],
|
|
2200
2783
|
/**
|
|
2201
2784
|
* Mask Clip
|
|
@@ -2216,106 +2799,106 @@ const pt = (e, r) => {
|
|
|
2216
2799
|
* @see https://tailwindcss.com/docs/mask-image
|
|
2217
2800
|
*/
|
|
2218
2801
|
"mask-image-linear-pos": [{
|
|
2219
|
-
"mask-linear": [
|
|
2802
|
+
"mask-linear": [N]
|
|
2220
2803
|
}],
|
|
2221
2804
|
"mask-image-linear-from-pos": [{
|
|
2222
|
-
"mask-linear-from":
|
|
2805
|
+
"mask-linear-from": F()
|
|
2223
2806
|
}],
|
|
2224
2807
|
"mask-image-linear-to-pos": [{
|
|
2225
|
-
"mask-linear-to":
|
|
2808
|
+
"mask-linear-to": F()
|
|
2226
2809
|
}],
|
|
2227
2810
|
"mask-image-linear-from-color": [{
|
|
2228
|
-
"mask-linear-from":
|
|
2811
|
+
"mask-linear-from": v()
|
|
2229
2812
|
}],
|
|
2230
2813
|
"mask-image-linear-to-color": [{
|
|
2231
|
-
"mask-linear-to":
|
|
2814
|
+
"mask-linear-to": v()
|
|
2232
2815
|
}],
|
|
2233
2816
|
"mask-image-t-from-pos": [{
|
|
2234
|
-
"mask-t-from":
|
|
2817
|
+
"mask-t-from": F()
|
|
2235
2818
|
}],
|
|
2236
2819
|
"mask-image-t-to-pos": [{
|
|
2237
|
-
"mask-t-to":
|
|
2820
|
+
"mask-t-to": F()
|
|
2238
2821
|
}],
|
|
2239
2822
|
"mask-image-t-from-color": [{
|
|
2240
|
-
"mask-t-from":
|
|
2823
|
+
"mask-t-from": v()
|
|
2241
2824
|
}],
|
|
2242
2825
|
"mask-image-t-to-color": [{
|
|
2243
|
-
"mask-t-to":
|
|
2826
|
+
"mask-t-to": v()
|
|
2244
2827
|
}],
|
|
2245
2828
|
"mask-image-r-from-pos": [{
|
|
2246
|
-
"mask-r-from":
|
|
2829
|
+
"mask-r-from": F()
|
|
2247
2830
|
}],
|
|
2248
2831
|
"mask-image-r-to-pos": [{
|
|
2249
|
-
"mask-r-to":
|
|
2832
|
+
"mask-r-to": F()
|
|
2250
2833
|
}],
|
|
2251
2834
|
"mask-image-r-from-color": [{
|
|
2252
|
-
"mask-r-from":
|
|
2835
|
+
"mask-r-from": v()
|
|
2253
2836
|
}],
|
|
2254
2837
|
"mask-image-r-to-color": [{
|
|
2255
|
-
"mask-r-to":
|
|
2838
|
+
"mask-r-to": v()
|
|
2256
2839
|
}],
|
|
2257
2840
|
"mask-image-b-from-pos": [{
|
|
2258
|
-
"mask-b-from":
|
|
2841
|
+
"mask-b-from": F()
|
|
2259
2842
|
}],
|
|
2260
2843
|
"mask-image-b-to-pos": [{
|
|
2261
|
-
"mask-b-to":
|
|
2844
|
+
"mask-b-to": F()
|
|
2262
2845
|
}],
|
|
2263
2846
|
"mask-image-b-from-color": [{
|
|
2264
|
-
"mask-b-from":
|
|
2847
|
+
"mask-b-from": v()
|
|
2265
2848
|
}],
|
|
2266
2849
|
"mask-image-b-to-color": [{
|
|
2267
|
-
"mask-b-to":
|
|
2850
|
+
"mask-b-to": v()
|
|
2268
2851
|
}],
|
|
2269
2852
|
"mask-image-l-from-pos": [{
|
|
2270
|
-
"mask-l-from":
|
|
2853
|
+
"mask-l-from": F()
|
|
2271
2854
|
}],
|
|
2272
2855
|
"mask-image-l-to-pos": [{
|
|
2273
|
-
"mask-l-to":
|
|
2856
|
+
"mask-l-to": F()
|
|
2274
2857
|
}],
|
|
2275
2858
|
"mask-image-l-from-color": [{
|
|
2276
|
-
"mask-l-from":
|
|
2859
|
+
"mask-l-from": v()
|
|
2277
2860
|
}],
|
|
2278
2861
|
"mask-image-l-to-color": [{
|
|
2279
|
-
"mask-l-to":
|
|
2862
|
+
"mask-l-to": v()
|
|
2280
2863
|
}],
|
|
2281
2864
|
"mask-image-x-from-pos": [{
|
|
2282
|
-
"mask-x-from":
|
|
2865
|
+
"mask-x-from": F()
|
|
2283
2866
|
}],
|
|
2284
2867
|
"mask-image-x-to-pos": [{
|
|
2285
|
-
"mask-x-to":
|
|
2868
|
+
"mask-x-to": F()
|
|
2286
2869
|
}],
|
|
2287
2870
|
"mask-image-x-from-color": [{
|
|
2288
|
-
"mask-x-from":
|
|
2871
|
+
"mask-x-from": v()
|
|
2289
2872
|
}],
|
|
2290
2873
|
"mask-image-x-to-color": [{
|
|
2291
|
-
"mask-x-to":
|
|
2874
|
+
"mask-x-to": v()
|
|
2292
2875
|
}],
|
|
2293
2876
|
"mask-image-y-from-pos": [{
|
|
2294
|
-
"mask-y-from":
|
|
2877
|
+
"mask-y-from": F()
|
|
2295
2878
|
}],
|
|
2296
2879
|
"mask-image-y-to-pos": [{
|
|
2297
|
-
"mask-y-to":
|
|
2880
|
+
"mask-y-to": F()
|
|
2298
2881
|
}],
|
|
2299
2882
|
"mask-image-y-from-color": [{
|
|
2300
|
-
"mask-y-from":
|
|
2883
|
+
"mask-y-from": v()
|
|
2301
2884
|
}],
|
|
2302
2885
|
"mask-image-y-to-color": [{
|
|
2303
|
-
"mask-y-to":
|
|
2886
|
+
"mask-y-to": v()
|
|
2304
2887
|
}],
|
|
2305
2888
|
"mask-image-radial": [{
|
|
2306
|
-
"mask-radial": [
|
|
2889
|
+
"mask-radial": [b, g]
|
|
2307
2890
|
}],
|
|
2308
2891
|
"mask-image-radial-from-pos": [{
|
|
2309
|
-
"mask-radial-from":
|
|
2892
|
+
"mask-radial-from": F()
|
|
2310
2893
|
}],
|
|
2311
2894
|
"mask-image-radial-to-pos": [{
|
|
2312
|
-
"mask-radial-to":
|
|
2895
|
+
"mask-radial-to": F()
|
|
2313
2896
|
}],
|
|
2314
2897
|
"mask-image-radial-from-color": [{
|
|
2315
|
-
"mask-radial-from":
|
|
2898
|
+
"mask-radial-from": v()
|
|
2316
2899
|
}],
|
|
2317
2900
|
"mask-image-radial-to-color": [{
|
|
2318
|
-
"mask-radial-to":
|
|
2901
|
+
"mask-radial-to": v()
|
|
2319
2902
|
}],
|
|
2320
2903
|
"mask-image-radial-shape": [{
|
|
2321
2904
|
"mask-radial": ["circle", "ellipse"]
|
|
@@ -2327,22 +2910,22 @@ const pt = (e, r) => {
|
|
|
2327
2910
|
}]
|
|
2328
2911
|
}],
|
|
2329
2912
|
"mask-image-radial-pos": [{
|
|
2330
|
-
"mask-radial-at":
|
|
2913
|
+
"mask-radial-at": V()
|
|
2331
2914
|
}],
|
|
2332
2915
|
"mask-image-conic-pos": [{
|
|
2333
|
-
"mask-conic": [
|
|
2916
|
+
"mask-conic": [N]
|
|
2334
2917
|
}],
|
|
2335
2918
|
"mask-image-conic-from-pos": [{
|
|
2336
|
-
"mask-conic-from":
|
|
2919
|
+
"mask-conic-from": F()
|
|
2337
2920
|
}],
|
|
2338
2921
|
"mask-image-conic-to-pos": [{
|
|
2339
|
-
"mask-conic-to":
|
|
2922
|
+
"mask-conic-to": F()
|
|
2340
2923
|
}],
|
|
2341
2924
|
"mask-image-conic-from-color": [{
|
|
2342
|
-
"mask-conic-from":
|
|
2925
|
+
"mask-conic-from": v()
|
|
2343
2926
|
}],
|
|
2344
2927
|
"mask-image-conic-to-color": [{
|
|
2345
|
-
"mask-conic-to":
|
|
2928
|
+
"mask-conic-to": v()
|
|
2346
2929
|
}],
|
|
2347
2930
|
/**
|
|
2348
2931
|
* Mask Mode
|
|
@@ -2363,21 +2946,21 @@ const pt = (e, r) => {
|
|
|
2363
2946
|
* @see https://tailwindcss.com/docs/mask-position
|
|
2364
2947
|
*/
|
|
2365
2948
|
"mask-position": [{
|
|
2366
|
-
mask:
|
|
2949
|
+
mask: q()
|
|
2367
2950
|
}],
|
|
2368
2951
|
/**
|
|
2369
2952
|
* Mask Repeat
|
|
2370
2953
|
* @see https://tailwindcss.com/docs/mask-repeat
|
|
2371
2954
|
*/
|
|
2372
2955
|
"mask-repeat": [{
|
|
2373
|
-
mask:
|
|
2956
|
+
mask: B()
|
|
2374
2957
|
}],
|
|
2375
2958
|
/**
|
|
2376
2959
|
* Mask Size
|
|
2377
2960
|
* @see https://tailwindcss.com/docs/mask-size
|
|
2378
2961
|
*/
|
|
2379
2962
|
"mask-size": [{
|
|
2380
|
-
mask:
|
|
2963
|
+
mask: H()
|
|
2381
2964
|
}],
|
|
2382
2965
|
/**
|
|
2383
2966
|
* Mask Type
|
|
@@ -2391,7 +2974,7 @@ const pt = (e, r) => {
|
|
|
2391
2974
|
* @see https://tailwindcss.com/docs/mask-image
|
|
2392
2975
|
*/
|
|
2393
2976
|
"mask-image": [{
|
|
2394
|
-
mask: ["none",
|
|
2977
|
+
mask: ["none", b, g]
|
|
2395
2978
|
}],
|
|
2396
2979
|
// ---------------
|
|
2397
2980
|
// --- Filters ---
|
|
@@ -2405,8 +2988,8 @@ const pt = (e, r) => {
|
|
|
2405
2988
|
// Deprecated since Tailwind CSS v3.0.0
|
|
2406
2989
|
"",
|
|
2407
2990
|
"none",
|
|
2408
|
-
|
|
2409
|
-
|
|
2991
|
+
b,
|
|
2992
|
+
g
|
|
2410
2993
|
]
|
|
2411
2994
|
}],
|
|
2412
2995
|
/**
|
|
@@ -2414,21 +2997,21 @@ const pt = (e, r) => {
|
|
|
2414
2997
|
* @see https://tailwindcss.com/docs/blur
|
|
2415
2998
|
*/
|
|
2416
2999
|
blur: [{
|
|
2417
|
-
blur:
|
|
3000
|
+
blur: at()
|
|
2418
3001
|
}],
|
|
2419
3002
|
/**
|
|
2420
3003
|
* Brightness
|
|
2421
3004
|
* @see https://tailwindcss.com/docs/brightness
|
|
2422
3005
|
*/
|
|
2423
3006
|
brightness: [{
|
|
2424
|
-
brightness: [
|
|
3007
|
+
brightness: [N, b, g]
|
|
2425
3008
|
}],
|
|
2426
3009
|
/**
|
|
2427
3010
|
* Contrast
|
|
2428
3011
|
* @see https://tailwindcss.com/docs/contrast
|
|
2429
3012
|
*/
|
|
2430
3013
|
contrast: [{
|
|
2431
|
-
contrast: [
|
|
3014
|
+
contrast: [N, b, g]
|
|
2432
3015
|
}],
|
|
2433
3016
|
/**
|
|
2434
3017
|
* Drop Shadow
|
|
@@ -2439,9 +3022,9 @@ const pt = (e, r) => {
|
|
|
2439
3022
|
// Deprecated since Tailwind CSS v4.0.0
|
|
2440
3023
|
"",
|
|
2441
3024
|
"none",
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
3025
|
+
u,
|
|
3026
|
+
Ce,
|
|
3027
|
+
xe
|
|
2445
3028
|
]
|
|
2446
3029
|
}],
|
|
2447
3030
|
/**
|
|
@@ -2449,42 +3032,42 @@ const pt = (e, r) => {
|
|
|
2449
3032
|
* @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
|
|
2450
3033
|
*/
|
|
2451
3034
|
"drop-shadow-color": [{
|
|
2452
|
-
"drop-shadow":
|
|
3035
|
+
"drop-shadow": v()
|
|
2453
3036
|
}],
|
|
2454
3037
|
/**
|
|
2455
3038
|
* Grayscale
|
|
2456
3039
|
* @see https://tailwindcss.com/docs/grayscale
|
|
2457
3040
|
*/
|
|
2458
3041
|
grayscale: [{
|
|
2459
|
-
grayscale: ["",
|
|
3042
|
+
grayscale: ["", N, b, g]
|
|
2460
3043
|
}],
|
|
2461
3044
|
/**
|
|
2462
3045
|
* Hue Rotate
|
|
2463
3046
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
2464
3047
|
*/
|
|
2465
3048
|
"hue-rotate": [{
|
|
2466
|
-
"hue-rotate": [
|
|
3049
|
+
"hue-rotate": [N, b, g]
|
|
2467
3050
|
}],
|
|
2468
3051
|
/**
|
|
2469
3052
|
* Invert
|
|
2470
3053
|
* @see https://tailwindcss.com/docs/invert
|
|
2471
3054
|
*/
|
|
2472
3055
|
invert: [{
|
|
2473
|
-
invert: ["",
|
|
3056
|
+
invert: ["", N, b, g]
|
|
2474
3057
|
}],
|
|
2475
3058
|
/**
|
|
2476
3059
|
* Saturate
|
|
2477
3060
|
* @see https://tailwindcss.com/docs/saturate
|
|
2478
3061
|
*/
|
|
2479
3062
|
saturate: [{
|
|
2480
|
-
saturate: [
|
|
3063
|
+
saturate: [N, b, g]
|
|
2481
3064
|
}],
|
|
2482
3065
|
/**
|
|
2483
3066
|
* Sepia
|
|
2484
3067
|
* @see https://tailwindcss.com/docs/sepia
|
|
2485
3068
|
*/
|
|
2486
3069
|
sepia: [{
|
|
2487
|
-
sepia: ["",
|
|
3070
|
+
sepia: ["", N, b, g]
|
|
2488
3071
|
}],
|
|
2489
3072
|
/**
|
|
2490
3073
|
* Backdrop Filter
|
|
@@ -2495,8 +3078,8 @@ const pt = (e, r) => {
|
|
|
2495
3078
|
// Deprecated since Tailwind CSS v3.0.0
|
|
2496
3079
|
"",
|
|
2497
3080
|
"none",
|
|
2498
|
-
|
|
2499
|
-
|
|
3081
|
+
b,
|
|
3082
|
+
g
|
|
2500
3083
|
]
|
|
2501
3084
|
}],
|
|
2502
3085
|
/**
|
|
@@ -2504,63 +3087,63 @@ const pt = (e, r) => {
|
|
|
2504
3087
|
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
2505
3088
|
*/
|
|
2506
3089
|
"backdrop-blur": [{
|
|
2507
|
-
"backdrop-blur":
|
|
3090
|
+
"backdrop-blur": at()
|
|
2508
3091
|
}],
|
|
2509
3092
|
/**
|
|
2510
3093
|
* Backdrop Brightness
|
|
2511
3094
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
2512
3095
|
*/
|
|
2513
3096
|
"backdrop-brightness": [{
|
|
2514
|
-
"backdrop-brightness": [
|
|
3097
|
+
"backdrop-brightness": [N, b, g]
|
|
2515
3098
|
}],
|
|
2516
3099
|
/**
|
|
2517
3100
|
* Backdrop Contrast
|
|
2518
3101
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
2519
3102
|
*/
|
|
2520
3103
|
"backdrop-contrast": [{
|
|
2521
|
-
"backdrop-contrast": [
|
|
3104
|
+
"backdrop-contrast": [N, b, g]
|
|
2522
3105
|
}],
|
|
2523
3106
|
/**
|
|
2524
3107
|
* Backdrop Grayscale
|
|
2525
3108
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
2526
3109
|
*/
|
|
2527
3110
|
"backdrop-grayscale": [{
|
|
2528
|
-
"backdrop-grayscale": ["",
|
|
3111
|
+
"backdrop-grayscale": ["", N, b, g]
|
|
2529
3112
|
}],
|
|
2530
3113
|
/**
|
|
2531
3114
|
* Backdrop Hue Rotate
|
|
2532
3115
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
2533
3116
|
*/
|
|
2534
3117
|
"backdrop-hue-rotate": [{
|
|
2535
|
-
"backdrop-hue-rotate": [
|
|
3118
|
+
"backdrop-hue-rotate": [N, b, g]
|
|
2536
3119
|
}],
|
|
2537
3120
|
/**
|
|
2538
3121
|
* Backdrop Invert
|
|
2539
3122
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
2540
3123
|
*/
|
|
2541
3124
|
"backdrop-invert": [{
|
|
2542
|
-
"backdrop-invert": ["",
|
|
3125
|
+
"backdrop-invert": ["", N, b, g]
|
|
2543
3126
|
}],
|
|
2544
3127
|
/**
|
|
2545
3128
|
* Backdrop Opacity
|
|
2546
3129
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
2547
3130
|
*/
|
|
2548
3131
|
"backdrop-opacity": [{
|
|
2549
|
-
"backdrop-opacity": [
|
|
3132
|
+
"backdrop-opacity": [N, b, g]
|
|
2550
3133
|
}],
|
|
2551
3134
|
/**
|
|
2552
3135
|
* Backdrop Saturate
|
|
2553
3136
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
2554
3137
|
*/
|
|
2555
3138
|
"backdrop-saturate": [{
|
|
2556
|
-
"backdrop-saturate": [
|
|
3139
|
+
"backdrop-saturate": [N, b, g]
|
|
2557
3140
|
}],
|
|
2558
3141
|
/**
|
|
2559
3142
|
* Backdrop Sepia
|
|
2560
3143
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
2561
3144
|
*/
|
|
2562
3145
|
"backdrop-sepia": [{
|
|
2563
|
-
"backdrop-sepia": ["",
|
|
3146
|
+
"backdrop-sepia": ["", N, b, g]
|
|
2564
3147
|
}],
|
|
2565
3148
|
// --------------
|
|
2566
3149
|
// --- Tables ---
|
|
@@ -2577,21 +3160,21 @@ const pt = (e, r) => {
|
|
|
2577
3160
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2578
3161
|
*/
|
|
2579
3162
|
"border-spacing": [{
|
|
2580
|
-
"border-spacing":
|
|
3163
|
+
"border-spacing": C()
|
|
2581
3164
|
}],
|
|
2582
3165
|
/**
|
|
2583
3166
|
* Border Spacing X
|
|
2584
3167
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2585
3168
|
*/
|
|
2586
3169
|
"border-spacing-x": [{
|
|
2587
|
-
"border-spacing-x":
|
|
3170
|
+
"border-spacing-x": C()
|
|
2588
3171
|
}],
|
|
2589
3172
|
/**
|
|
2590
3173
|
* Border Spacing Y
|
|
2591
3174
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2592
3175
|
*/
|
|
2593
3176
|
"border-spacing-y": [{
|
|
2594
|
-
"border-spacing-y":
|
|
3177
|
+
"border-spacing-y": C()
|
|
2595
3178
|
}],
|
|
2596
3179
|
/**
|
|
2597
3180
|
* Table Layout
|
|
@@ -2615,7 +3198,7 @@ const pt = (e, r) => {
|
|
|
2615
3198
|
* @see https://tailwindcss.com/docs/transition-property
|
|
2616
3199
|
*/
|
|
2617
3200
|
transition: [{
|
|
2618
|
-
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none",
|
|
3201
|
+
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", b, g]
|
|
2619
3202
|
}],
|
|
2620
3203
|
/**
|
|
2621
3204
|
* Transition Behavior
|
|
@@ -2629,28 +3212,28 @@ const pt = (e, r) => {
|
|
|
2629
3212
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
2630
3213
|
*/
|
|
2631
3214
|
duration: [{
|
|
2632
|
-
duration: [
|
|
3215
|
+
duration: [N, "initial", b, g]
|
|
2633
3216
|
}],
|
|
2634
3217
|
/**
|
|
2635
3218
|
* Transition Timing Function
|
|
2636
3219
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2637
3220
|
*/
|
|
2638
3221
|
ease: [{
|
|
2639
|
-
ease: ["linear", "initial",
|
|
3222
|
+
ease: ["linear", "initial", S, b, g]
|
|
2640
3223
|
}],
|
|
2641
3224
|
/**
|
|
2642
3225
|
* Transition Delay
|
|
2643
3226
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
2644
3227
|
*/
|
|
2645
3228
|
delay: [{
|
|
2646
|
-
delay: [
|
|
3229
|
+
delay: [N, b, g]
|
|
2647
3230
|
}],
|
|
2648
3231
|
/**
|
|
2649
3232
|
* Animation
|
|
2650
3233
|
* @see https://tailwindcss.com/docs/animation
|
|
2651
3234
|
*/
|
|
2652
3235
|
animate: [{
|
|
2653
|
-
animate: ["none",
|
|
3236
|
+
animate: ["none", k, b, g]
|
|
2654
3237
|
}],
|
|
2655
3238
|
// ------------------
|
|
2656
3239
|
// --- Transforms ---
|
|
@@ -2667,70 +3250,70 @@ const pt = (e, r) => {
|
|
|
2667
3250
|
* @see https://tailwindcss.com/docs/perspective
|
|
2668
3251
|
*/
|
|
2669
3252
|
perspective: [{
|
|
2670
|
-
perspective: [
|
|
3253
|
+
perspective: [p, b, g]
|
|
2671
3254
|
}],
|
|
2672
3255
|
/**
|
|
2673
3256
|
* Perspective Origin
|
|
2674
3257
|
* @see https://tailwindcss.com/docs/perspective-origin
|
|
2675
3258
|
*/
|
|
2676
3259
|
"perspective-origin": [{
|
|
2677
|
-
"perspective-origin":
|
|
3260
|
+
"perspective-origin": O()
|
|
2678
3261
|
}],
|
|
2679
3262
|
/**
|
|
2680
3263
|
* Rotate
|
|
2681
3264
|
* @see https://tailwindcss.com/docs/rotate
|
|
2682
3265
|
*/
|
|
2683
3266
|
rotate: [{
|
|
2684
|
-
rotate:
|
|
3267
|
+
rotate: he()
|
|
2685
3268
|
}],
|
|
2686
3269
|
/**
|
|
2687
3270
|
* Rotate X
|
|
2688
3271
|
* @see https://tailwindcss.com/docs/rotate
|
|
2689
3272
|
*/
|
|
2690
3273
|
"rotate-x": [{
|
|
2691
|
-
"rotate-x":
|
|
3274
|
+
"rotate-x": he()
|
|
2692
3275
|
}],
|
|
2693
3276
|
/**
|
|
2694
3277
|
* Rotate Y
|
|
2695
3278
|
* @see https://tailwindcss.com/docs/rotate
|
|
2696
3279
|
*/
|
|
2697
3280
|
"rotate-y": [{
|
|
2698
|
-
"rotate-y":
|
|
3281
|
+
"rotate-y": he()
|
|
2699
3282
|
}],
|
|
2700
3283
|
/**
|
|
2701
3284
|
* Rotate Z
|
|
2702
3285
|
* @see https://tailwindcss.com/docs/rotate
|
|
2703
3286
|
*/
|
|
2704
3287
|
"rotate-z": [{
|
|
2705
|
-
"rotate-z":
|
|
3288
|
+
"rotate-z": he()
|
|
2706
3289
|
}],
|
|
2707
3290
|
/**
|
|
2708
3291
|
* Scale
|
|
2709
3292
|
* @see https://tailwindcss.com/docs/scale
|
|
2710
3293
|
*/
|
|
2711
3294
|
scale: [{
|
|
2712
|
-
scale:
|
|
3295
|
+
scale: ve()
|
|
2713
3296
|
}],
|
|
2714
3297
|
/**
|
|
2715
3298
|
* Scale X
|
|
2716
3299
|
* @see https://tailwindcss.com/docs/scale
|
|
2717
3300
|
*/
|
|
2718
3301
|
"scale-x": [{
|
|
2719
|
-
"scale-x":
|
|
3302
|
+
"scale-x": ve()
|
|
2720
3303
|
}],
|
|
2721
3304
|
/**
|
|
2722
3305
|
* Scale Y
|
|
2723
3306
|
* @see https://tailwindcss.com/docs/scale
|
|
2724
3307
|
*/
|
|
2725
3308
|
"scale-y": [{
|
|
2726
|
-
"scale-y":
|
|
3309
|
+
"scale-y": ve()
|
|
2727
3310
|
}],
|
|
2728
3311
|
/**
|
|
2729
3312
|
* Scale Z
|
|
2730
3313
|
* @see https://tailwindcss.com/docs/scale
|
|
2731
3314
|
*/
|
|
2732
3315
|
"scale-z": [{
|
|
2733
|
-
"scale-z":
|
|
3316
|
+
"scale-z": ve()
|
|
2734
3317
|
}],
|
|
2735
3318
|
/**
|
|
2736
3319
|
* Scale 3D
|
|
@@ -2742,35 +3325,35 @@ const pt = (e, r) => {
|
|
|
2742
3325
|
* @see https://tailwindcss.com/docs/skew
|
|
2743
3326
|
*/
|
|
2744
3327
|
skew: [{
|
|
2745
|
-
skew:
|
|
3328
|
+
skew: ze()
|
|
2746
3329
|
}],
|
|
2747
3330
|
/**
|
|
2748
3331
|
* Skew X
|
|
2749
3332
|
* @see https://tailwindcss.com/docs/skew
|
|
2750
3333
|
*/
|
|
2751
3334
|
"skew-x": [{
|
|
2752
|
-
"skew-x":
|
|
3335
|
+
"skew-x": ze()
|
|
2753
3336
|
}],
|
|
2754
3337
|
/**
|
|
2755
3338
|
* Skew Y
|
|
2756
3339
|
* @see https://tailwindcss.com/docs/skew
|
|
2757
3340
|
*/
|
|
2758
3341
|
"skew-y": [{
|
|
2759
|
-
"skew-y":
|
|
3342
|
+
"skew-y": ze()
|
|
2760
3343
|
}],
|
|
2761
3344
|
/**
|
|
2762
3345
|
* Transform
|
|
2763
3346
|
* @see https://tailwindcss.com/docs/transform
|
|
2764
3347
|
*/
|
|
2765
3348
|
transform: [{
|
|
2766
|
-
transform: [
|
|
3349
|
+
transform: [b, g, "", "none", "gpu", "cpu"]
|
|
2767
3350
|
}],
|
|
2768
3351
|
/**
|
|
2769
3352
|
* Transform Origin
|
|
2770
3353
|
* @see https://tailwindcss.com/docs/transform-origin
|
|
2771
3354
|
*/
|
|
2772
3355
|
"transform-origin": [{
|
|
2773
|
-
origin:
|
|
3356
|
+
origin: O()
|
|
2774
3357
|
}],
|
|
2775
3358
|
/**
|
|
2776
3359
|
* Transform Style
|
|
@@ -2784,28 +3367,28 @@ const pt = (e, r) => {
|
|
|
2784
3367
|
* @see https://tailwindcss.com/docs/translate
|
|
2785
3368
|
*/
|
|
2786
3369
|
translate: [{
|
|
2787
|
-
translate:
|
|
3370
|
+
translate: ye()
|
|
2788
3371
|
}],
|
|
2789
3372
|
/**
|
|
2790
3373
|
* Translate X
|
|
2791
3374
|
* @see https://tailwindcss.com/docs/translate
|
|
2792
3375
|
*/
|
|
2793
3376
|
"translate-x": [{
|
|
2794
|
-
"translate-x":
|
|
3377
|
+
"translate-x": ye()
|
|
2795
3378
|
}],
|
|
2796
3379
|
/**
|
|
2797
3380
|
* Translate Y
|
|
2798
3381
|
* @see https://tailwindcss.com/docs/translate
|
|
2799
3382
|
*/
|
|
2800
3383
|
"translate-y": [{
|
|
2801
|
-
"translate-y":
|
|
3384
|
+
"translate-y": ye()
|
|
2802
3385
|
}],
|
|
2803
3386
|
/**
|
|
2804
3387
|
* Translate Z
|
|
2805
3388
|
* @see https://tailwindcss.com/docs/translate
|
|
2806
3389
|
*/
|
|
2807
3390
|
"translate-z": [{
|
|
2808
|
-
"translate-z":
|
|
3391
|
+
"translate-z": ye()
|
|
2809
3392
|
}],
|
|
2810
3393
|
/**
|
|
2811
3394
|
* Translate None
|
|
@@ -2820,7 +3403,7 @@ const pt = (e, r) => {
|
|
|
2820
3403
|
* @see https://tailwindcss.com/docs/accent-color
|
|
2821
3404
|
*/
|
|
2822
3405
|
accent: [{
|
|
2823
|
-
accent:
|
|
3406
|
+
accent: v()
|
|
2824
3407
|
}],
|
|
2825
3408
|
/**
|
|
2826
3409
|
* Appearance
|
|
@@ -2834,7 +3417,7 @@ const pt = (e, r) => {
|
|
|
2834
3417
|
* @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
|
|
2835
3418
|
*/
|
|
2836
3419
|
"caret-color": [{
|
|
2837
|
-
caret:
|
|
3420
|
+
caret: v()
|
|
2838
3421
|
}],
|
|
2839
3422
|
/**
|
|
2840
3423
|
* Color Scheme
|
|
@@ -2848,7 +3431,7 @@ const pt = (e, r) => {
|
|
|
2848
3431
|
* @see https://tailwindcss.com/docs/cursor
|
|
2849
3432
|
*/
|
|
2850
3433
|
cursor: [{
|
|
2851
|
-
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",
|
|
3434
|
+
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, g]
|
|
2852
3435
|
}],
|
|
2853
3436
|
/**
|
|
2854
3437
|
* Field Sizing
|
|
@@ -2883,154 +3466,154 @@ const pt = (e, r) => {
|
|
|
2883
3466
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2884
3467
|
*/
|
|
2885
3468
|
"scroll-m": [{
|
|
2886
|
-
"scroll-m":
|
|
3469
|
+
"scroll-m": C()
|
|
2887
3470
|
}],
|
|
2888
3471
|
/**
|
|
2889
3472
|
* Scroll Margin Inline
|
|
2890
3473
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2891
3474
|
*/
|
|
2892
3475
|
"scroll-mx": [{
|
|
2893
|
-
"scroll-mx":
|
|
3476
|
+
"scroll-mx": C()
|
|
2894
3477
|
}],
|
|
2895
3478
|
/**
|
|
2896
3479
|
* Scroll Margin Block
|
|
2897
3480
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2898
3481
|
*/
|
|
2899
3482
|
"scroll-my": [{
|
|
2900
|
-
"scroll-my":
|
|
3483
|
+
"scroll-my": C()
|
|
2901
3484
|
}],
|
|
2902
3485
|
/**
|
|
2903
3486
|
* Scroll Margin Inline Start
|
|
2904
3487
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2905
3488
|
*/
|
|
2906
3489
|
"scroll-ms": [{
|
|
2907
|
-
"scroll-ms":
|
|
3490
|
+
"scroll-ms": C()
|
|
2908
3491
|
}],
|
|
2909
3492
|
/**
|
|
2910
3493
|
* Scroll Margin Inline End
|
|
2911
3494
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2912
3495
|
*/
|
|
2913
3496
|
"scroll-me": [{
|
|
2914
|
-
"scroll-me":
|
|
3497
|
+
"scroll-me": C()
|
|
2915
3498
|
}],
|
|
2916
3499
|
/**
|
|
2917
3500
|
* Scroll Margin Block Start
|
|
2918
3501
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2919
3502
|
*/
|
|
2920
3503
|
"scroll-mbs": [{
|
|
2921
|
-
"scroll-mbs":
|
|
3504
|
+
"scroll-mbs": C()
|
|
2922
3505
|
}],
|
|
2923
3506
|
/**
|
|
2924
3507
|
* Scroll Margin Block End
|
|
2925
3508
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2926
3509
|
*/
|
|
2927
3510
|
"scroll-mbe": [{
|
|
2928
|
-
"scroll-mbe":
|
|
3511
|
+
"scroll-mbe": C()
|
|
2929
3512
|
}],
|
|
2930
3513
|
/**
|
|
2931
3514
|
* Scroll Margin Top
|
|
2932
3515
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2933
3516
|
*/
|
|
2934
3517
|
"scroll-mt": [{
|
|
2935
|
-
"scroll-mt":
|
|
3518
|
+
"scroll-mt": C()
|
|
2936
3519
|
}],
|
|
2937
3520
|
/**
|
|
2938
3521
|
* Scroll Margin Right
|
|
2939
3522
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2940
3523
|
*/
|
|
2941
3524
|
"scroll-mr": [{
|
|
2942
|
-
"scroll-mr":
|
|
3525
|
+
"scroll-mr": C()
|
|
2943
3526
|
}],
|
|
2944
3527
|
/**
|
|
2945
3528
|
* Scroll Margin Bottom
|
|
2946
3529
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2947
3530
|
*/
|
|
2948
3531
|
"scroll-mb": [{
|
|
2949
|
-
"scroll-mb":
|
|
3532
|
+
"scroll-mb": C()
|
|
2950
3533
|
}],
|
|
2951
3534
|
/**
|
|
2952
3535
|
* Scroll Margin Left
|
|
2953
3536
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2954
3537
|
*/
|
|
2955
3538
|
"scroll-ml": [{
|
|
2956
|
-
"scroll-ml":
|
|
3539
|
+
"scroll-ml": C()
|
|
2957
3540
|
}],
|
|
2958
3541
|
/**
|
|
2959
3542
|
* Scroll Padding
|
|
2960
3543
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2961
3544
|
*/
|
|
2962
3545
|
"scroll-p": [{
|
|
2963
|
-
"scroll-p":
|
|
3546
|
+
"scroll-p": C()
|
|
2964
3547
|
}],
|
|
2965
3548
|
/**
|
|
2966
3549
|
* Scroll Padding Inline
|
|
2967
3550
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2968
3551
|
*/
|
|
2969
3552
|
"scroll-px": [{
|
|
2970
|
-
"scroll-px":
|
|
3553
|
+
"scroll-px": C()
|
|
2971
3554
|
}],
|
|
2972
3555
|
/**
|
|
2973
3556
|
* Scroll Padding Block
|
|
2974
3557
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2975
3558
|
*/
|
|
2976
3559
|
"scroll-py": [{
|
|
2977
|
-
"scroll-py":
|
|
3560
|
+
"scroll-py": C()
|
|
2978
3561
|
}],
|
|
2979
3562
|
/**
|
|
2980
3563
|
* Scroll Padding Inline Start
|
|
2981
3564
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2982
3565
|
*/
|
|
2983
3566
|
"scroll-ps": [{
|
|
2984
|
-
"scroll-ps":
|
|
3567
|
+
"scroll-ps": C()
|
|
2985
3568
|
}],
|
|
2986
3569
|
/**
|
|
2987
3570
|
* Scroll Padding Inline End
|
|
2988
3571
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2989
3572
|
*/
|
|
2990
3573
|
"scroll-pe": [{
|
|
2991
|
-
"scroll-pe":
|
|
3574
|
+
"scroll-pe": C()
|
|
2992
3575
|
}],
|
|
2993
3576
|
/**
|
|
2994
3577
|
* Scroll Padding Block Start
|
|
2995
3578
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2996
3579
|
*/
|
|
2997
3580
|
"scroll-pbs": [{
|
|
2998
|
-
"scroll-pbs":
|
|
3581
|
+
"scroll-pbs": C()
|
|
2999
3582
|
}],
|
|
3000
3583
|
/**
|
|
3001
3584
|
* Scroll Padding Block End
|
|
3002
3585
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3003
3586
|
*/
|
|
3004
3587
|
"scroll-pbe": [{
|
|
3005
|
-
"scroll-pbe":
|
|
3588
|
+
"scroll-pbe": C()
|
|
3006
3589
|
}],
|
|
3007
3590
|
/**
|
|
3008
3591
|
* Scroll Padding Top
|
|
3009
3592
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3010
3593
|
*/
|
|
3011
3594
|
"scroll-pt": [{
|
|
3012
|
-
"scroll-pt":
|
|
3595
|
+
"scroll-pt": C()
|
|
3013
3596
|
}],
|
|
3014
3597
|
/**
|
|
3015
3598
|
* Scroll Padding Right
|
|
3016
3599
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3017
3600
|
*/
|
|
3018
3601
|
"scroll-pr": [{
|
|
3019
|
-
"scroll-pr":
|
|
3602
|
+
"scroll-pr": C()
|
|
3020
3603
|
}],
|
|
3021
3604
|
/**
|
|
3022
3605
|
* Scroll Padding Bottom
|
|
3023
3606
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3024
3607
|
*/
|
|
3025
3608
|
"scroll-pb": [{
|
|
3026
|
-
"scroll-pb":
|
|
3609
|
+
"scroll-pb": C()
|
|
3027
3610
|
}],
|
|
3028
3611
|
/**
|
|
3029
3612
|
* Scroll Padding Left
|
|
3030
3613
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3031
3614
|
*/
|
|
3032
3615
|
"scroll-pl": [{
|
|
3033
|
-
"scroll-pl":
|
|
3616
|
+
"scroll-pl": C()
|
|
3034
3617
|
}],
|
|
3035
3618
|
/**
|
|
3036
3619
|
* Scroll Snap Align
|
|
@@ -3098,7 +3681,7 @@ const pt = (e, r) => {
|
|
|
3098
3681
|
* @see https://tailwindcss.com/docs/will-change
|
|
3099
3682
|
*/
|
|
3100
3683
|
"will-change": [{
|
|
3101
|
-
"will-change": ["auto", "scroll", "contents", "transform",
|
|
3684
|
+
"will-change": ["auto", "scroll", "contents", "transform", b, g]
|
|
3102
3685
|
}],
|
|
3103
3686
|
// -----------
|
|
3104
3687
|
// --- SVG ---
|
|
@@ -3108,21 +3691,21 @@ const pt = (e, r) => {
|
|
|
3108
3691
|
* @see https://tailwindcss.com/docs/fill
|
|
3109
3692
|
*/
|
|
3110
3693
|
fill: [{
|
|
3111
|
-
fill: ["none", ...
|
|
3694
|
+
fill: ["none", ...v()]
|
|
3112
3695
|
}],
|
|
3113
3696
|
/**
|
|
3114
3697
|
* Stroke Width
|
|
3115
3698
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
3116
3699
|
*/
|
|
3117
3700
|
"stroke-w": [{
|
|
3118
|
-
stroke: [
|
|
3701
|
+
stroke: [N, de, re, ft]
|
|
3119
3702
|
}],
|
|
3120
3703
|
/**
|
|
3121
3704
|
* Stroke
|
|
3122
3705
|
* @see https://tailwindcss.com/docs/stroke
|
|
3123
3706
|
*/
|
|
3124
3707
|
stroke: [{
|
|
3125
|
-
stroke: ["none", ...
|
|
3708
|
+
stroke: ["none", ...v()]
|
|
3126
3709
|
}],
|
|
3127
3710
|
// ---------------------
|
|
3128
3711
|
// --- Accessibility ---
|
|
@@ -3190,27 +3773,27 @@ const pt = (e, r) => {
|
|
|
3190
3773
|
},
|
|
3191
3774
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
3192
3775
|
};
|
|
3193
|
-
},
|
|
3194
|
-
cacheSize:
|
|
3776
|
+
}, Kr = (e, {
|
|
3777
|
+
cacheSize: t,
|
|
3195
3778
|
prefix: o,
|
|
3196
|
-
experimentalParseClassName:
|
|
3779
|
+
experimentalParseClassName: r,
|
|
3197
3780
|
extend: n = {},
|
|
3198
3781
|
override: s = {}
|
|
3199
|
-
}) => (
|
|
3200
|
-
o !== void 0 && (e[
|
|
3201
|
-
},
|
|
3202
|
-
if (
|
|
3203
|
-
for (const o in
|
|
3204
|
-
|
|
3205
|
-
},
|
|
3206
|
-
if (
|
|
3207
|
-
for (const o in
|
|
3208
|
-
|
|
3209
|
-
},
|
|
3210
|
-
const
|
|
3211
|
-
|
|
3212
|
-
},
|
|
3213
|
-
var
|
|
3782
|
+
}) => (ue(e, "cacheSize", t), ue(e, "prefix", o), ue(e, "experimentalParseClassName", r), ke(e.theme, s.theme), ke(e.classGroups, s.classGroups), ke(e.conflictingClassGroups, s.conflictingClassGroups), ke(e.conflictingClassGroupModifiers, s.conflictingClassGroupModifiers), ue(e, "orderSensitiveModifiers", s.orderSensitiveModifiers), Se(e.theme, n.theme), Se(e.classGroups, n.classGroups), Se(e.conflictingClassGroups, n.conflictingClassGroups), Se(e.conflictingClassGroupModifiers, n.conflictingClassGroupModifiers), to(e, n, "orderSensitiveModifiers"), e), ue = (e, t, o) => {
|
|
3783
|
+
o !== void 0 && (e[t] = o);
|
|
3784
|
+
}, ke = (e, t) => {
|
|
3785
|
+
if (t)
|
|
3786
|
+
for (const o in t)
|
|
3787
|
+
ue(e, o, t[o]);
|
|
3788
|
+
}, Se = (e, t) => {
|
|
3789
|
+
if (t)
|
|
3790
|
+
for (const o in t)
|
|
3791
|
+
to(e, t, o);
|
|
3792
|
+
}, to = (e, t, o) => {
|
|
3793
|
+
const r = t[o];
|
|
3794
|
+
r !== void 0 && (e[o] = e[o] ? e[o].concat(r) : r);
|
|
3795
|
+
}, qr = (e, ...t) => typeof e == "function" ? Fe(Ue, e, ...t) : Fe(() => Kr(Ue(), e), ...t), oo = /* @__PURE__ */ Fe(Ue);
|
|
3796
|
+
var Yr = (e) => W(e) ? oo : qr({
|
|
3214
3797
|
...e,
|
|
3215
3798
|
extend: {
|
|
3216
3799
|
theme: e.theme,
|
|
@@ -3219,33 +3802,686 @@ var rr = (e) => L(e) ? Je : tr({
|
|
|
3219
3802
|
conflictingClassGroups: e.conflictingClassGroups,
|
|
3220
3803
|
...e.extend
|
|
3221
3804
|
}
|
|
3222
|
-
}),
|
|
3223
|
-
const o =
|
|
3224
|
-
return !o || !(
|
|
3225
|
-
},
|
|
3226
|
-
const
|
|
3227
|
-
function
|
|
3805
|
+
}), Xr = (e, t) => {
|
|
3806
|
+
const o = _e(e);
|
|
3807
|
+
return !o || !(t?.twMerge ?? !0) ? o : ((!Q.cachedTwMerge || Q.didTwMergeConfigChange) && (Q.didTwMergeConfigChange = !1, Q.cachedTwMerge = Yr(Q.cachedTwMergeConfig)), Q.cachedTwMerge(o) || void 0);
|
|
3808
|
+
}, Jr = (...e) => (t) => Xr(e, t), { tv: se } = ar(Jr);
|
|
3809
|
+
const ro = Be(void 0);
|
|
3810
|
+
function $() {
|
|
3228
3811
|
return {
|
|
3229
|
-
components:
|
|
3812
|
+
components: We(ro)?.components
|
|
3230
3813
|
};
|
|
3231
3814
|
}
|
|
3232
|
-
function
|
|
3233
|
-
var
|
|
3234
|
-
if (typeof e == "string" || typeof e == "number")
|
|
3815
|
+
function no(e) {
|
|
3816
|
+
var t, o, r = "";
|
|
3817
|
+
if (typeof e == "string" || typeof e == "number") r += e;
|
|
3235
3818
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
3236
3819
|
var n = e.length;
|
|
3237
|
-
for (
|
|
3238
|
-
} else for (o in e) e[o] && (
|
|
3239
|
-
return
|
|
3820
|
+
for (t = 0; t < n; t++) e[t] && (o = no(e[t])) && (r && (r += " "), r += o);
|
|
3821
|
+
} else for (o in e) e[o] && (r && (r += " "), r += o);
|
|
3822
|
+
return r;
|
|
3240
3823
|
}
|
|
3241
|
-
function
|
|
3242
|
-
for (var e,
|
|
3243
|
-
return
|
|
3824
|
+
function Qr() {
|
|
3825
|
+
for (var e, t, o = 0, r = "", n = arguments.length; o < n; o++) (e = arguments[o]) && (t = no(e)) && (r && (r += " "), r += t);
|
|
3826
|
+
return r;
|
|
3244
3827
|
}
|
|
3245
|
-
function
|
|
3246
|
-
return
|
|
3828
|
+
function M(...e) {
|
|
3829
|
+
return oo(Qr(e));
|
|
3247
3830
|
}
|
|
3248
|
-
const
|
|
3831
|
+
const Oe = se({
|
|
3832
|
+
slots: {
|
|
3833
|
+
content: "t:overflow-hidden t:text-sm t:transition-all data-[state=closed]:t:animate-accordion-up data-[state=open]:t:animate-accordion-down",
|
|
3834
|
+
contentInner: "t:pt-0 t:pb-4",
|
|
3835
|
+
header: "t:flex",
|
|
3836
|
+
icon: "t:h-4 t:w-4 t:shrink-0 t:transition-transform t:duration-200",
|
|
3837
|
+
item: "t:border-b",
|
|
3838
|
+
root: "",
|
|
3839
|
+
trigger: "t:flex t:flex-1 t:items-center t:justify-between t:py-4 t:font-medium t:transition-all hover:t:underline [&[data-state=open]>svg]:t:rotate-180"
|
|
3840
|
+
}
|
|
3841
|
+
});
|
|
3842
|
+
function Zr({
|
|
3843
|
+
children: e,
|
|
3844
|
+
onChange: t,
|
|
3845
|
+
...o
|
|
3846
|
+
}) {
|
|
3847
|
+
const n = $()?.components?.accordion?.default, s = {
|
|
3848
|
+
...n?.defaultProps,
|
|
3849
|
+
...o,
|
|
3850
|
+
onValueChange: t
|
|
3851
|
+
}, { root: a } = Oe();
|
|
3852
|
+
return /* @__PURE__ */ m(
|
|
3853
|
+
Yo,
|
|
3854
|
+
{
|
|
3855
|
+
...s,
|
|
3856
|
+
className: M(a(), n?.classNames?.root),
|
|
3857
|
+
children: e
|
|
3858
|
+
}
|
|
3859
|
+
);
|
|
3860
|
+
}
|
|
3861
|
+
function en({ value: e, disabled: t, children: o }) {
|
|
3862
|
+
const n = $()?.components?.accordion?.item, s = {
|
|
3863
|
+
...n?.defaultProps,
|
|
3864
|
+
disabled: t,
|
|
3865
|
+
value: e
|
|
3866
|
+
}, { item: a } = Oe();
|
|
3867
|
+
return /* @__PURE__ */ m(
|
|
3868
|
+
Xo,
|
|
3869
|
+
{
|
|
3870
|
+
...s,
|
|
3871
|
+
className: M(a(), n?.classNames?.root),
|
|
3872
|
+
children: o
|
|
3873
|
+
}
|
|
3874
|
+
);
|
|
3875
|
+
}
|
|
3876
|
+
function tn({ children: e }) {
|
|
3877
|
+
const o = $()?.components?.accordion?.trigger, { header: r, trigger: n, icon: s } = Oe();
|
|
3878
|
+
return /* @__PURE__ */ m(
|
|
3879
|
+
Jo,
|
|
3880
|
+
{
|
|
3881
|
+
className: M(r(), o?.classNames?.header),
|
|
3882
|
+
children: /* @__PURE__ */ Pe(
|
|
3883
|
+
Qo,
|
|
3884
|
+
{
|
|
3885
|
+
className: M(n(), o?.classNames?.root),
|
|
3886
|
+
children: [
|
|
3887
|
+
e,
|
|
3888
|
+
/* @__PURE__ */ m(ho, { className: M(s(), o?.classNames?.icon) })
|
|
3889
|
+
]
|
|
3890
|
+
}
|
|
3891
|
+
)
|
|
3892
|
+
}
|
|
3893
|
+
);
|
|
3894
|
+
}
|
|
3895
|
+
function on({ children: e }) {
|
|
3896
|
+
const o = $()?.components?.accordion?.content, { content: r, contentInner: n } = Oe();
|
|
3897
|
+
return /* @__PURE__ */ m(
|
|
3898
|
+
Zo,
|
|
3899
|
+
{
|
|
3900
|
+
className: M(r(), o?.classNames?.root),
|
|
3901
|
+
children: /* @__PURE__ */ m("div", { className: M(n(), o?.classNames?.inner), children: e })
|
|
3902
|
+
}
|
|
3903
|
+
);
|
|
3904
|
+
}
|
|
3905
|
+
const Un = Object.assign(Zr, {
|
|
3906
|
+
Content: on,
|
|
3907
|
+
Item: en,
|
|
3908
|
+
Trigger: tn
|
|
3909
|
+
}), so = Be({
|
|
3910
|
+
variant: "default"
|
|
3911
|
+
}), pe = se({
|
|
3912
|
+
defaultVariants: {
|
|
3913
|
+
variant: "default"
|
|
3914
|
+
},
|
|
3915
|
+
slots: {
|
|
3916
|
+
action: "t:mt-2",
|
|
3917
|
+
description: "t:text-sm t:[&_p]:leading-relaxed",
|
|
3918
|
+
icon: "t:absolute t:top-4 t:left-4 t:h-4 t:w-4",
|
|
3919
|
+
root: "t:relative t:w-full t:rounded-lg t:border t:p-4",
|
|
3920
|
+
title: "t:mb-1 t:font-medium t:leading-none t:tracking-tight"
|
|
3921
|
+
},
|
|
3922
|
+
variants: {
|
|
3923
|
+
variant: {
|
|
3924
|
+
default: {
|
|
3925
|
+
icon: "t:text-foreground",
|
|
3926
|
+
root: "t:bg-background t:text-foreground"
|
|
3927
|
+
},
|
|
3928
|
+
destructive: {
|
|
3929
|
+
icon: "t:text-destructive",
|
|
3930
|
+
root: "t:border-destructive/50 t:text-destructive dark:t:border-destructive"
|
|
3931
|
+
}
|
|
3932
|
+
}
|
|
3933
|
+
}
|
|
3934
|
+
});
|
|
3935
|
+
function rn({ variant: e, children: t }) {
|
|
3936
|
+
const r = $()?.components?.alert?.default, n = e ?? r?.defaultProps?.variant ?? "default", { root: s } = pe({
|
|
3937
|
+
variant: n
|
|
3938
|
+
});
|
|
3939
|
+
return /* @__PURE__ */ m(
|
|
3940
|
+
so.Provider,
|
|
3941
|
+
{
|
|
3942
|
+
value: {
|
|
3943
|
+
variant: n
|
|
3944
|
+
},
|
|
3945
|
+
children: /* @__PURE__ */ m(
|
|
3946
|
+
"div",
|
|
3947
|
+
{
|
|
3948
|
+
className: M(s(), r?.classNames?.root),
|
|
3949
|
+
role: "alert",
|
|
3950
|
+
children: t
|
|
3951
|
+
}
|
|
3952
|
+
)
|
|
3953
|
+
}
|
|
3954
|
+
);
|
|
3955
|
+
}
|
|
3956
|
+
function nn({ children: e }) {
|
|
3957
|
+
const { variant: t } = We(so), r = $()?.components?.alert?.icon, { icon: n } = pe({
|
|
3958
|
+
variant: t
|
|
3959
|
+
});
|
|
3960
|
+
return /* @__PURE__ */ m("span", { className: M(n(), r?.classNames?.root), children: e });
|
|
3961
|
+
}
|
|
3962
|
+
function sn({ children: e }) {
|
|
3963
|
+
const { title: t } = pe(), r = $()?.components?.alert?.title;
|
|
3964
|
+
return /* @__PURE__ */ m("h5", { className: M(t(), r?.classNames?.root), children: e });
|
|
3965
|
+
}
|
|
3966
|
+
function an({ children: e }) {
|
|
3967
|
+
const { description: t } = pe(), r = $()?.components?.alert?.description;
|
|
3968
|
+
return /* @__PURE__ */ m("div", { className: M(t(), r?.classNames?.root), children: e });
|
|
3969
|
+
}
|
|
3970
|
+
function cn({ children: e }) {
|
|
3971
|
+
const { action: t } = pe(), r = $()?.components?.alert?.action;
|
|
3972
|
+
return /* @__PURE__ */ m("div", { className: M(t(), r?.classNames?.root), children: e });
|
|
3973
|
+
}
|
|
3974
|
+
const Bn = Object.assign(rn, {
|
|
3975
|
+
Action: cn,
|
|
3976
|
+
Description: an,
|
|
3977
|
+
Icon: nn,
|
|
3978
|
+
Title: sn
|
|
3979
|
+
});
|
|
3980
|
+
function ln(e, t = []) {
|
|
3981
|
+
let o = [];
|
|
3982
|
+
function r(s, a) {
|
|
3983
|
+
const c = y.createContext(a);
|
|
3984
|
+
c.displayName = s + "Context";
|
|
3985
|
+
const i = o.length;
|
|
3986
|
+
o = [...o, a];
|
|
3987
|
+
const l = (d) => {
|
|
3988
|
+
const { scope: x, children: u, ...w } = d, p = x?.[e]?.[i] || c, h = y.useMemo(() => w, Object.values(w));
|
|
3989
|
+
return /* @__PURE__ */ m(p.Provider, { value: h, children: u });
|
|
3990
|
+
};
|
|
3991
|
+
l.displayName = s + "Provider";
|
|
3992
|
+
function f(d, x) {
|
|
3993
|
+
const u = x?.[e]?.[i] || c, w = y.useContext(u);
|
|
3994
|
+
if (w) return w;
|
|
3995
|
+
if (a !== void 0) return a;
|
|
3996
|
+
throw new Error(`\`${d}\` must be used within \`${s}\``);
|
|
3997
|
+
}
|
|
3998
|
+
return [l, f];
|
|
3999
|
+
}
|
|
4000
|
+
const n = () => {
|
|
4001
|
+
const s = o.map((a) => y.createContext(a));
|
|
4002
|
+
return function(c) {
|
|
4003
|
+
const i = c?.[e] || s;
|
|
4004
|
+
return y.useMemo(
|
|
4005
|
+
() => ({ [`__scope${e}`]: { ...c, [e]: i } }),
|
|
4006
|
+
[c, i]
|
|
4007
|
+
);
|
|
4008
|
+
};
|
|
4009
|
+
};
|
|
4010
|
+
return n.scopeName = e, [r, dn(n, ...t)];
|
|
4011
|
+
}
|
|
4012
|
+
function dn(...e) {
|
|
4013
|
+
const t = e[0];
|
|
4014
|
+
if (e.length === 1) return t;
|
|
4015
|
+
const o = () => {
|
|
4016
|
+
const r = e.map((n) => ({
|
|
4017
|
+
useScope: n(),
|
|
4018
|
+
scopeName: n.scopeName
|
|
4019
|
+
}));
|
|
4020
|
+
return function(s) {
|
|
4021
|
+
const a = r.reduce((c, { useScope: i, scopeName: l }) => {
|
|
4022
|
+
const d = i(s)[`__scope${l}`];
|
|
4023
|
+
return { ...c, ...d };
|
|
4024
|
+
}, {});
|
|
4025
|
+
return y.useMemo(() => ({ [`__scope${t.scopeName}`]: a }), [a]);
|
|
4026
|
+
};
|
|
4027
|
+
};
|
|
4028
|
+
return o.scopeName = t.scopeName, o;
|
|
4029
|
+
}
|
|
4030
|
+
function un(e) {
|
|
4031
|
+
const t = y.useRef(e);
|
|
4032
|
+
return y.useEffect(() => {
|
|
4033
|
+
t.current = e;
|
|
4034
|
+
}), y.useMemo(() => (...o) => t.current?.(...o), []);
|
|
4035
|
+
}
|
|
4036
|
+
var fn = [
|
|
4037
|
+
"a",
|
|
4038
|
+
"button",
|
|
4039
|
+
"div",
|
|
4040
|
+
"form",
|
|
4041
|
+
"h2",
|
|
4042
|
+
"h3",
|
|
4043
|
+
"img",
|
|
4044
|
+
"input",
|
|
4045
|
+
"label",
|
|
4046
|
+
"li",
|
|
4047
|
+
"nav",
|
|
4048
|
+
"ol",
|
|
4049
|
+
"p",
|
|
4050
|
+
"select",
|
|
4051
|
+
"span",
|
|
4052
|
+
"svg",
|
|
4053
|
+
"ul"
|
|
4054
|
+
], rt = fn.reduce((e, t) => {
|
|
4055
|
+
const o = Ne(`Primitive.${t}`), r = y.forwardRef((n, s) => {
|
|
4056
|
+
const { asChild: a, ...c } = n, i = a ? o : t;
|
|
4057
|
+
return typeof window < "u" && (window[/* @__PURE__ */ Symbol.for("radix-ui")] = !0), /* @__PURE__ */ m(i, { ...c, ref: s });
|
|
4058
|
+
});
|
|
4059
|
+
return r.displayName = `Primitive.${t}`, { ...e, [t]: r };
|
|
4060
|
+
}, {}), Ae = { exports: {} }, Ve = {};
|
|
4061
|
+
var gt;
|
|
4062
|
+
function mn() {
|
|
4063
|
+
if (gt) return Ve;
|
|
4064
|
+
gt = 1;
|
|
4065
|
+
var e = L;
|
|
4066
|
+
function t(d, x) {
|
|
4067
|
+
return d === x && (d !== 0 || 1 / d === 1 / x) || d !== d && x !== x;
|
|
4068
|
+
}
|
|
4069
|
+
var o = typeof Object.is == "function" ? Object.is : t, r = e.useState, n = e.useEffect, s = e.useLayoutEffect, a = e.useDebugValue;
|
|
4070
|
+
function c(d, x) {
|
|
4071
|
+
var u = x(), w = r({ inst: { value: u, getSnapshot: x } }), p = w[0].inst, h = w[1];
|
|
4072
|
+
return s(
|
|
4073
|
+
function() {
|
|
4074
|
+
p.value = u, p.getSnapshot = x, i(p) && h({ inst: p });
|
|
4075
|
+
},
|
|
4076
|
+
[d, u, x]
|
|
4077
|
+
), n(
|
|
4078
|
+
function() {
|
|
4079
|
+
return i(p) && h({ inst: p }), d(function() {
|
|
4080
|
+
i(p) && h({ inst: p });
|
|
4081
|
+
});
|
|
4082
|
+
},
|
|
4083
|
+
[d]
|
|
4084
|
+
), a(u), u;
|
|
4085
|
+
}
|
|
4086
|
+
function i(d) {
|
|
4087
|
+
var x = d.getSnapshot;
|
|
4088
|
+
d = d.value;
|
|
4089
|
+
try {
|
|
4090
|
+
var u = x();
|
|
4091
|
+
return !o(d, u);
|
|
4092
|
+
} catch {
|
|
4093
|
+
return !0;
|
|
4094
|
+
}
|
|
4095
|
+
}
|
|
4096
|
+
function l(d, x) {
|
|
4097
|
+
return x();
|
|
4098
|
+
}
|
|
4099
|
+
var f = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? l : c;
|
|
4100
|
+
return Ve.useSyncExternalStore = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : f, Ve;
|
|
4101
|
+
}
|
|
4102
|
+
var Ge = {};
|
|
4103
|
+
var bt;
|
|
4104
|
+
function pn() {
|
|
4105
|
+
return bt || (bt = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
4106
|
+
function e(u, w) {
|
|
4107
|
+
return u === w && (u !== 0 || 1 / u === 1 / w) || u !== u && w !== w;
|
|
4108
|
+
}
|
|
4109
|
+
function t(u, w) {
|
|
4110
|
+
f || n.startTransition === void 0 || (f = !0, console.error(
|
|
4111
|
+
"You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."
|
|
4112
|
+
));
|
|
4113
|
+
var p = w();
|
|
4114
|
+
if (!d) {
|
|
4115
|
+
var h = w();
|
|
4116
|
+
s(p, h) || (console.error(
|
|
4117
|
+
"The result of getSnapshot should be cached to avoid an infinite loop"
|
|
4118
|
+
), d = !0);
|
|
4119
|
+
}
|
|
4120
|
+
h = a({
|
|
4121
|
+
inst: { value: p, getSnapshot: w }
|
|
4122
|
+
});
|
|
4123
|
+
var S = h[0].inst, k = h[1];
|
|
4124
|
+
return i(
|
|
4125
|
+
function() {
|
|
4126
|
+
S.value = p, S.getSnapshot = w, o(S) && k({ inst: S });
|
|
4127
|
+
},
|
|
4128
|
+
[u, p, w]
|
|
4129
|
+
), c(
|
|
4130
|
+
function() {
|
|
4131
|
+
return o(S) && k({ inst: S }), u(function() {
|
|
4132
|
+
o(S) && k({ inst: S });
|
|
4133
|
+
});
|
|
4134
|
+
},
|
|
4135
|
+
[u]
|
|
4136
|
+
), l(p), p;
|
|
4137
|
+
}
|
|
4138
|
+
function o(u) {
|
|
4139
|
+
var w = u.getSnapshot;
|
|
4140
|
+
u = u.value;
|
|
4141
|
+
try {
|
|
4142
|
+
var p = w();
|
|
4143
|
+
return !s(u, p);
|
|
4144
|
+
} catch {
|
|
4145
|
+
return !0;
|
|
4146
|
+
}
|
|
4147
|
+
}
|
|
4148
|
+
function r(u, w) {
|
|
4149
|
+
return w();
|
|
4150
|
+
}
|
|
4151
|
+
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
4152
|
+
var n = L, s = typeof Object.is == "function" ? Object.is : e, a = n.useState, c = n.useEffect, i = n.useLayoutEffect, l = n.useDebugValue, f = !1, d = !1, x = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? r : t;
|
|
4153
|
+
Ge.useSyncExternalStore = n.useSyncExternalStore !== void 0 ? n.useSyncExternalStore : x, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
4154
|
+
})()), Ge;
|
|
4155
|
+
}
|
|
4156
|
+
var ht;
|
|
4157
|
+
function gn() {
|
|
4158
|
+
return ht || (ht = 1, process.env.NODE_ENV === "production" ? Ae.exports = mn() : Ae.exports = pn()), Ae.exports;
|
|
4159
|
+
}
|
|
4160
|
+
var bn = gn();
|
|
4161
|
+
function hn() {
|
|
4162
|
+
return bn.useSyncExternalStore(
|
|
4163
|
+
vn,
|
|
4164
|
+
() => !0,
|
|
4165
|
+
() => !1
|
|
4166
|
+
);
|
|
4167
|
+
}
|
|
4168
|
+
function vn() {
|
|
4169
|
+
return () => {
|
|
4170
|
+
};
|
|
4171
|
+
}
|
|
4172
|
+
var nt = "Avatar", [yn] = ln(nt), [wn, ao] = yn(nt), io = y.forwardRef(
|
|
4173
|
+
(e, t) => {
|
|
4174
|
+
const { __scopeAvatar: o, ...r } = e, [n, s] = y.useState("idle");
|
|
4175
|
+
return /* @__PURE__ */ m(
|
|
4176
|
+
wn,
|
|
4177
|
+
{
|
|
4178
|
+
scope: o,
|
|
4179
|
+
imageLoadingStatus: n,
|
|
4180
|
+
onImageLoadingStatusChange: s,
|
|
4181
|
+
children: /* @__PURE__ */ m(rt.span, { ...r, ref: t })
|
|
4182
|
+
}
|
|
4183
|
+
);
|
|
4184
|
+
}
|
|
4185
|
+
);
|
|
4186
|
+
io.displayName = nt;
|
|
4187
|
+
var co = "AvatarImage", lo = y.forwardRef(
|
|
4188
|
+
(e, t) => {
|
|
4189
|
+
const { __scopeAvatar: o, src: r, onLoadingStatusChange: n = () => {
|
|
4190
|
+
}, ...s } = e, a = ao(co, o), c = xn(r, s), i = un((l) => {
|
|
4191
|
+
n(l), a.onImageLoadingStatusChange(l);
|
|
4192
|
+
});
|
|
4193
|
+
return te(() => {
|
|
4194
|
+
c !== "idle" && i(c);
|
|
4195
|
+
}, [c, i]), c === "loaded" ? /* @__PURE__ */ m(rt.img, { ...s, ref: t, src: r }) : null;
|
|
4196
|
+
}
|
|
4197
|
+
);
|
|
4198
|
+
lo.displayName = co;
|
|
4199
|
+
var uo = "AvatarFallback", fo = y.forwardRef(
|
|
4200
|
+
(e, t) => {
|
|
4201
|
+
const { __scopeAvatar: o, delayMs: r, ...n } = e, s = ao(uo, o), [a, c] = y.useState(r === void 0);
|
|
4202
|
+
return y.useEffect(() => {
|
|
4203
|
+
if (r !== void 0) {
|
|
4204
|
+
const i = window.setTimeout(() => c(!0), r);
|
|
4205
|
+
return () => window.clearTimeout(i);
|
|
4206
|
+
}
|
|
4207
|
+
}, [r]), a && s.imageLoadingStatus !== "loaded" ? /* @__PURE__ */ m(rt.span, { ...n, ref: t }) : null;
|
|
4208
|
+
}
|
|
4209
|
+
);
|
|
4210
|
+
fo.displayName = uo;
|
|
4211
|
+
function vt(e, t) {
|
|
4212
|
+
return e ? t ? (e.src !== t && (e.src = t), e.complete && e.naturalWidth > 0 ? "loaded" : "loading") : "error" : "idle";
|
|
4213
|
+
}
|
|
4214
|
+
function xn(e, { referrerPolicy: t, crossOrigin: o }) {
|
|
4215
|
+
const r = hn(), n = y.useRef(null), s = r ? (n.current || (n.current = new window.Image()), n.current) : null, [a, c] = y.useState(
|
|
4216
|
+
() => vt(s, e)
|
|
4217
|
+
);
|
|
4218
|
+
return te(() => {
|
|
4219
|
+
c(vt(s, e));
|
|
4220
|
+
}, [s, e]), te(() => {
|
|
4221
|
+
const i = (d) => () => {
|
|
4222
|
+
c(d);
|
|
4223
|
+
};
|
|
4224
|
+
if (!s) return;
|
|
4225
|
+
const l = i("loaded"), f = i("error");
|
|
4226
|
+
return s.addEventListener("load", l), s.addEventListener("error", f), t && (s.referrerPolicy = t), typeof o == "string" && (s.crossOrigin = o), () => {
|
|
4227
|
+
s.removeEventListener("load", l), s.removeEventListener("error", f);
|
|
4228
|
+
};
|
|
4229
|
+
}, [s, o, t]), a;
|
|
4230
|
+
}
|
|
4231
|
+
var Cn = io, kn = lo, Sn = fo;
|
|
4232
|
+
const An = se({
|
|
4233
|
+
defaultVariants: {
|
|
4234
|
+
size: "md",
|
|
4235
|
+
variant: "circle"
|
|
4236
|
+
},
|
|
4237
|
+
slots: {
|
|
4238
|
+
fallback: "t:flex t:h-full t:w-full t:items-center t:justify-center t:bg-muted",
|
|
4239
|
+
image: "t:aspect-square t:h-full t:w-full",
|
|
4240
|
+
root: "t:relative t:flex t:shrink-0 t:overflow-hidden"
|
|
4241
|
+
},
|
|
4242
|
+
variants: {
|
|
4243
|
+
size: {
|
|
4244
|
+
lg: {
|
|
4245
|
+
root: "t:h-16 t:w-16"
|
|
4246
|
+
},
|
|
4247
|
+
md: {
|
|
4248
|
+
root: "t:h-10 t:w-10"
|
|
4249
|
+
},
|
|
4250
|
+
sm: {
|
|
4251
|
+
root: "t:h-8 t:w-8"
|
|
4252
|
+
}
|
|
4253
|
+
},
|
|
4254
|
+
variant: {
|
|
4255
|
+
circle: {
|
|
4256
|
+
fallback: "t:rounded-full",
|
|
4257
|
+
root: "t:rounded-full"
|
|
4258
|
+
},
|
|
4259
|
+
square: {
|
|
4260
|
+
fallback: "t:rounded-md",
|
|
4261
|
+
root: "t:rounded-md"
|
|
4262
|
+
}
|
|
4263
|
+
}
|
|
4264
|
+
}
|
|
4265
|
+
});
|
|
4266
|
+
function Wn({
|
|
4267
|
+
src: e,
|
|
4268
|
+
alt: t,
|
|
4269
|
+
size: o,
|
|
4270
|
+
variant: r,
|
|
4271
|
+
children: n
|
|
4272
|
+
}) {
|
|
4273
|
+
const a = $()?.components?.avatar, c = o ?? a?.defaultProps?.size ?? "md", i = r ?? a?.defaultProps?.variant ?? "circle", { root: l, image: f, fallback: d } = An({
|
|
4274
|
+
size: c,
|
|
4275
|
+
variant: i
|
|
4276
|
+
});
|
|
4277
|
+
return /* @__PURE__ */ Pe(Cn, { className: M(l(), a?.classNames?.root), children: [
|
|
4278
|
+
!!e && /* @__PURE__ */ m(
|
|
4279
|
+
kn,
|
|
4280
|
+
{
|
|
4281
|
+
alt: t,
|
|
4282
|
+
className: M(f(), a?.classNames?.image),
|
|
4283
|
+
src: e
|
|
4284
|
+
}
|
|
4285
|
+
),
|
|
4286
|
+
/* @__PURE__ */ m(
|
|
4287
|
+
Sn,
|
|
4288
|
+
{
|
|
4289
|
+
className: M(d(), a?.classNames?.fallback),
|
|
4290
|
+
children: n
|
|
4291
|
+
}
|
|
4292
|
+
)
|
|
4293
|
+
] });
|
|
4294
|
+
}
|
|
4295
|
+
const Nn = se({
|
|
4296
|
+
base: "t:animate-spin",
|
|
4297
|
+
defaultVariants: {
|
|
4298
|
+
size: "md"
|
|
4299
|
+
},
|
|
4300
|
+
variants: {
|
|
4301
|
+
size: {
|
|
4302
|
+
lg: "t:size-8",
|
|
4303
|
+
md: "t:size-6",
|
|
4304
|
+
sm: "t:size-4"
|
|
4305
|
+
}
|
|
4306
|
+
}
|
|
4307
|
+
});
|
|
4308
|
+
function Rn({ size: e }) {
|
|
4309
|
+
const t = $(), o = t?.components?.loader?.classNames, r = t?.components?.loader?.defaultProps, n = {
|
|
4310
|
+
size: e ?? r?.size ?? "md"
|
|
4311
|
+
};
|
|
4312
|
+
return /* @__PURE__ */ m(
|
|
4313
|
+
yt,
|
|
4314
|
+
{
|
|
4315
|
+
className: M(
|
|
4316
|
+
Nn({
|
|
4317
|
+
size: n.size
|
|
4318
|
+
}),
|
|
4319
|
+
o?.root
|
|
4320
|
+
)
|
|
4321
|
+
}
|
|
4322
|
+
);
|
|
4323
|
+
}
|
|
4324
|
+
const _n = se({
|
|
4325
|
+
defaultVariants: {
|
|
4326
|
+
variant: "default"
|
|
4327
|
+
},
|
|
4328
|
+
slots: {
|
|
4329
|
+
root: "t:inline-flex t:items-center t:rounded-full t:border t:px-2.5 t:py-0.5 t:font-semibold t:text-xs t:transition-colors t:focus:outline-none t:focus:ring-2 t:focus:ring-ring t:focus:ring-offset-2"
|
|
4330
|
+
},
|
|
4331
|
+
variants: {
|
|
4332
|
+
align: {
|
|
4333
|
+
center: {
|
|
4334
|
+
root: "t:justify-center"
|
|
4335
|
+
},
|
|
4336
|
+
end: {
|
|
4337
|
+
root: "t:justify-end"
|
|
4338
|
+
},
|
|
4339
|
+
start: {
|
|
4340
|
+
root: "t:justify-start"
|
|
4341
|
+
}
|
|
4342
|
+
},
|
|
4343
|
+
block: {
|
|
4344
|
+
true: {
|
|
4345
|
+
root: "t:flex t:w-full"
|
|
4346
|
+
}
|
|
4347
|
+
},
|
|
4348
|
+
variant: {
|
|
4349
|
+
default: {
|
|
4350
|
+
root: "t:border-transparent t:bg-primary t:text-primary-foreground t:hover:bg-primary/80"
|
|
4351
|
+
},
|
|
4352
|
+
destructive: {
|
|
4353
|
+
root: "t:border-transparent t:bg-destructive t:text-destructive-foreground t:hover:bg-destructive/80"
|
|
4354
|
+
},
|
|
4355
|
+
outline: {
|
|
4356
|
+
root: "t:text-foreground"
|
|
4357
|
+
},
|
|
4358
|
+
secondary: {
|
|
4359
|
+
root: "t:border-transparent t:bg-secondary t:text-secondary-foreground t:hover:bg-secondary/80"
|
|
4360
|
+
}
|
|
4361
|
+
}
|
|
4362
|
+
}
|
|
4363
|
+
});
|
|
4364
|
+
function Hn({
|
|
4365
|
+
variant: e,
|
|
4366
|
+
align: t,
|
|
4367
|
+
block: o,
|
|
4368
|
+
loading: r,
|
|
4369
|
+
asChild: n,
|
|
4370
|
+
onClick: s,
|
|
4371
|
+
children: a
|
|
4372
|
+
}) {
|
|
4373
|
+
const i = $()?.components?.badge, l = e ?? i?.defaultProps?.variant ?? "default", f = t ?? i?.defaultProps?.align ?? void 0, d = o ?? i?.defaultProps?.block ?? !1, x = r ?? i?.defaultProps?.loading ?? !1, u = n ?? i?.defaultProps?.asChild ?? !1, { root: w } = _n({
|
|
4374
|
+
align: f,
|
|
4375
|
+
block: d,
|
|
4376
|
+
variant: l
|
|
4377
|
+
});
|
|
4378
|
+
return /* @__PURE__ */ m(
|
|
4379
|
+
u ? He : "div",
|
|
4380
|
+
{
|
|
4381
|
+
className: M(w(), i?.classNames?.root),
|
|
4382
|
+
onClick: s,
|
|
4383
|
+
children: x ? /* @__PURE__ */ m(Rn, { size: "sm" }) : a
|
|
4384
|
+
}
|
|
4385
|
+
);
|
|
4386
|
+
}
|
|
4387
|
+
const ae = se({
|
|
4388
|
+
slots: {
|
|
4389
|
+
ellipsis: "t:flex t:h-9 t:w-9 t:items-center t:justify-center",
|
|
4390
|
+
ellipsisIcon: "t:h-4 t:w-4",
|
|
4391
|
+
item: "t:inline-flex t:items-center t:gap-1.5",
|
|
4392
|
+
link: "t:transition-colors t:hover:text-foreground",
|
|
4393
|
+
list: "t:flex t:flex-wrap t:items-center t:gap-1.5 t:break-words t:text-muted-foreground t:text-sm t:sm:gap-2.5",
|
|
4394
|
+
page: "t:font-normal t:text-foreground",
|
|
4395
|
+
root: "",
|
|
4396
|
+
separator: "t:[&>svg]:h-3.5 t:[&>svg]:w-3.5"
|
|
4397
|
+
}
|
|
4398
|
+
});
|
|
4399
|
+
function En({ children: e }) {
|
|
4400
|
+
const o = $()?.components?.breadcrumb?.default, { root: r } = ae();
|
|
4401
|
+
return /* @__PURE__ */ m(
|
|
4402
|
+
"nav",
|
|
4403
|
+
{
|
|
4404
|
+
"aria-label": "breadcrumb",
|
|
4405
|
+
className: M(r(), o?.classNames?.root),
|
|
4406
|
+
children: e
|
|
4407
|
+
}
|
|
4408
|
+
);
|
|
4409
|
+
}
|
|
4410
|
+
function Pn({ children: e }) {
|
|
4411
|
+
const o = $()?.components?.breadcrumb?.list, { list: r } = ae();
|
|
4412
|
+
return /* @__PURE__ */ m("ol", { className: M(r(), o?.classNames?.root), children: e });
|
|
4413
|
+
}
|
|
4414
|
+
function In({ children: e }) {
|
|
4415
|
+
const o = $()?.components?.breadcrumb?.item, { item: r } = ae();
|
|
4416
|
+
return /* @__PURE__ */ m("li", { className: M(r(), o?.classNames?.root), children: e });
|
|
4417
|
+
}
|
|
4418
|
+
function Mn({
|
|
4419
|
+
asChild: e,
|
|
4420
|
+
href: t,
|
|
4421
|
+
children: o
|
|
4422
|
+
}) {
|
|
4423
|
+
const n = $()?.components?.breadcrumb?.link, s = n?.defaultProps, a = e ?? s?.asChild ?? !1, c = a ? He : "a", { link: i } = ae();
|
|
4424
|
+
return /* @__PURE__ */ m(
|
|
4425
|
+
c,
|
|
4426
|
+
{
|
|
4427
|
+
className: M(i(), n?.classNames?.root),
|
|
4428
|
+
href: a ? void 0 : t,
|
|
4429
|
+
children: o
|
|
4430
|
+
}
|
|
4431
|
+
);
|
|
4432
|
+
}
|
|
4433
|
+
function Tn({ children: e }) {
|
|
4434
|
+
const o = $()?.components?.breadcrumb?.page, { page: r } = ae();
|
|
4435
|
+
return /* @__PURE__ */ m(
|
|
4436
|
+
"span",
|
|
4437
|
+
{
|
|
4438
|
+
"aria-current": "page",
|
|
4439
|
+
"aria-disabled": "true",
|
|
4440
|
+
className: M(r(), o?.classNames?.root),
|
|
4441
|
+
children: e
|
|
4442
|
+
}
|
|
4443
|
+
);
|
|
4444
|
+
}
|
|
4445
|
+
function On({ children: e }) {
|
|
4446
|
+
const o = $()?.components?.breadcrumb?.separator, { separator: r } = ae();
|
|
4447
|
+
return /* @__PURE__ */ m(
|
|
4448
|
+
"li",
|
|
4449
|
+
{
|
|
4450
|
+
"aria-hidden": "true",
|
|
4451
|
+
className: M(r(), o?.classNames?.root),
|
|
4452
|
+
role: "presentation",
|
|
4453
|
+
children: e ?? /* @__PURE__ */ m(vo, {})
|
|
4454
|
+
}
|
|
4455
|
+
);
|
|
4456
|
+
}
|
|
4457
|
+
function zn(e) {
|
|
4458
|
+
const o = $()?.components?.breadcrumb?.ellipsis, { ellipsis: r, ellipsisIcon: n } = ae();
|
|
4459
|
+
return /* @__PURE__ */ Pe(
|
|
4460
|
+
"span",
|
|
4461
|
+
{
|
|
4462
|
+
"aria-hidden": "true",
|
|
4463
|
+
className: M(r(), o?.classNames?.root),
|
|
4464
|
+
role: "presentation",
|
|
4465
|
+
children: [
|
|
4466
|
+
/* @__PURE__ */ m(
|
|
4467
|
+
yo,
|
|
4468
|
+
{
|
|
4469
|
+
className: M(n(), o?.classNames?.icon)
|
|
4470
|
+
}
|
|
4471
|
+
),
|
|
4472
|
+
/* @__PURE__ */ m("span", { className: "t:sr-only", children: "More" })
|
|
4473
|
+
]
|
|
4474
|
+
}
|
|
4475
|
+
);
|
|
4476
|
+
}
|
|
4477
|
+
const Kn = Object.assign(En, {
|
|
4478
|
+
Ellipsis: zn,
|
|
4479
|
+
Item: In,
|
|
4480
|
+
Link: Mn,
|
|
4481
|
+
List: Pn,
|
|
4482
|
+
Page: Tn,
|
|
4483
|
+
Separator: On
|
|
4484
|
+
}), Ln = se({
|
|
3249
4485
|
base: "t:inline-flex t:items-center t:justify-center t:gap-2 t:whitespace-nowrap t:rounded-md t:font-medium t:text-sm t:ring-offset-background t:transition-colors t:focus-visible:outline-none t:focus-visible:ring-2 t:focus-visible:ring-ring t:focus-visible:ring-offset-2 t:disabled:pointer-events-none t:disabled:opacity-50 t:[&_svg]:pointer-events-none t:[&_svg]:size-4 t:[&_svg]:shrink-0",
|
|
3250
4486
|
defaultVariants: {
|
|
3251
4487
|
size: "md",
|
|
@@ -3274,90 +4510,88 @@ const ar = He({
|
|
|
3274
4510
|
}
|
|
3275
4511
|
}
|
|
3276
4512
|
});
|
|
3277
|
-
function
|
|
4513
|
+
function qn(e) {
|
|
3278
4514
|
const {
|
|
3279
|
-
form:
|
|
4515
|
+
form: t,
|
|
3280
4516
|
type: o = "button",
|
|
3281
|
-
size:
|
|
4517
|
+
size: r,
|
|
3282
4518
|
variant: n,
|
|
3283
4519
|
leftSection: s,
|
|
3284
4520
|
rightSection: a,
|
|
3285
|
-
block:
|
|
3286
|
-
loading:
|
|
3287
|
-
disabled:
|
|
3288
|
-
asChild:
|
|
3289
|
-
onClick:
|
|
3290
|
-
children:
|
|
3291
|
-
} = e,
|
|
3292
|
-
asChild:
|
|
3293
|
-
block:
|
|
3294
|
-
disabled:
|
|
3295
|
-
form:
|
|
3296
|
-
loading:
|
|
3297
|
-
size:
|
|
3298
|
-
type: o ??
|
|
3299
|
-
variant: n ??
|
|
3300
|
-
},
|
|
3301
|
-
|
|
3302
|
-
|
|
4521
|
+
block: c,
|
|
4522
|
+
loading: i,
|
|
4523
|
+
disabled: l,
|
|
4524
|
+
asChild: f,
|
|
4525
|
+
onClick: d,
|
|
4526
|
+
children: x
|
|
4527
|
+
} = e, u = $(), w = u?.components?.button?.classNames, p = u?.components?.button?.defaultProps, h = {
|
|
4528
|
+
asChild: f ?? p?.asChild ?? !1,
|
|
4529
|
+
block: c ?? p?.block ?? !1,
|
|
4530
|
+
disabled: l ?? p?.disabled ?? !1,
|
|
4531
|
+
form: t ?? p?.form ?? void 0,
|
|
4532
|
+
loading: i ?? p?.loading ?? !1,
|
|
4533
|
+
size: r ?? p?.size ?? "md",
|
|
4534
|
+
type: o ?? p?.type ?? "button",
|
|
4535
|
+
variant: n ?? p?.variant ?? "default"
|
|
4536
|
+
}, S = h.asChild ? He : "button", k = h.disabled || h.loading, R = Ln({
|
|
4537
|
+
block: h.block,
|
|
4538
|
+
size: h.size,
|
|
4539
|
+
variant: h.variant
|
|
4540
|
+
});
|
|
4541
|
+
return /* @__PURE__ */ m(
|
|
4542
|
+
S,
|
|
3303
4543
|
{
|
|
3304
|
-
className:
|
|
3305
|
-
|
|
3306
|
-
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
|
|
3313
|
-
form: v.form,
|
|
3314
|
-
onClick: A,
|
|
3315
|
-
type: v.type,
|
|
3316
|
-
children: v.loading ? /* @__PURE__ */ H("div", { className: G?.loading, children: /* @__PURE__ */ H(Ne, { className: "t:animate-spin" }) }) : /* @__PURE__ */ rt(ot, { children: [
|
|
3317
|
-
s && /* @__PURE__ */ H("div", { className: G?.leftSection, children: s }),
|
|
3318
|
-
P,
|
|
3319
|
-
a && /* @__PURE__ */ H("div", { className: G?.rightSection, children: a })
|
|
4544
|
+
className: M(R, w?.root),
|
|
4545
|
+
disabled: k,
|
|
4546
|
+
form: h.form,
|
|
4547
|
+
onClick: d,
|
|
4548
|
+
type: h.type,
|
|
4549
|
+
children: h.loading ? /* @__PURE__ */ m("div", { className: w?.loading, children: /* @__PURE__ */ m(yt, { className: "t:animate-spin" }) }) : /* @__PURE__ */ Pe(po, { children: [
|
|
4550
|
+
s && /* @__PURE__ */ m("div", { className: w?.leftSection, children: s }),
|
|
4551
|
+
x,
|
|
4552
|
+
a && /* @__PURE__ */ m("div", { className: w?.rightSection, children: a })
|
|
3320
4553
|
] })
|
|
3321
4554
|
}
|
|
3322
4555
|
);
|
|
3323
4556
|
}
|
|
3324
|
-
const
|
|
3325
|
-
|
|
3326
|
-
|
|
3327
|
-
|
|
3328
|
-
|
|
3329
|
-
|
|
3330
|
-
|
|
3331
|
-
|
|
3332
|
-
|
|
3333
|
-
sm: "t:size-4"
|
|
3334
|
-
}
|
|
3335
|
-
}
|
|
3336
|
-
});
|
|
3337
|
-
function fr({ size: e }) {
|
|
3338
|
-
const r = Ze(), o = r?.components?.loader?.classNames, t = r?.components?.loader?.defaultProps, n = {
|
|
3339
|
-
size: e ?? t?.size ?? "md"
|
|
4557
|
+
const mo = Be(null), Yn = () => {
|
|
4558
|
+
const e = We(mo);
|
|
4559
|
+
if (!e)
|
|
4560
|
+
throw new Error("useColorScheme must be used within a TuryStackProvider");
|
|
4561
|
+
return e;
|
|
4562
|
+
};
|
|
4563
|
+
function Vn({ defaultColorScheme: e = "light", children: t }) {
|
|
4564
|
+
const o = typeof window < "u" ? localStorage.getItem("colorScheme") : null, [r, n] = go(o ?? e), s = (a) => {
|
|
4565
|
+
n(a), localStorage.setItem("colorScheme", a);
|
|
3340
4566
|
};
|
|
3341
|
-
return
|
|
3342
|
-
|
|
3343
|
-
{
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
}),
|
|
3348
|
-
o?.root
|
|
3349
|
-
)
|
|
4567
|
+
return bo(() => {
|
|
4568
|
+
const a = window.document.documentElement;
|
|
4569
|
+
if (a.classList.remove("light", "dark"), r === "system") {
|
|
4570
|
+
const c = window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
|
|
4571
|
+
a.classList.add(c);
|
|
4572
|
+
return;
|
|
3350
4573
|
}
|
|
3351
|
-
|
|
4574
|
+
a.classList.add(r);
|
|
4575
|
+
}, [r]), /* @__PURE__ */ m(mo.Provider, { value: { colorScheme: r, changeColorScheme: s }, children: t });
|
|
3352
4576
|
}
|
|
3353
|
-
function
|
|
4577
|
+
function Xn({
|
|
3354
4578
|
children: e,
|
|
3355
|
-
|
|
4579
|
+
defaultColorScheme: t = "light",
|
|
4580
|
+
...o
|
|
3356
4581
|
}) {
|
|
3357
|
-
return /* @__PURE__ */
|
|
4582
|
+
return /* @__PURE__ */ m(ro.Provider, { value: o, children: /* @__PURE__ */ m(Vn, { defaultColorScheme: t, children: e }) });
|
|
3358
4583
|
}
|
|
3359
4584
|
export {
|
|
3360
|
-
|
|
3361
|
-
|
|
3362
|
-
|
|
4585
|
+
Un as Accordion,
|
|
4586
|
+
Bn as Alert,
|
|
4587
|
+
Wn as Avatar,
|
|
4588
|
+
Hn as Badge,
|
|
4589
|
+
Kn as Breadcrumb,
|
|
4590
|
+
qn as Button,
|
|
4591
|
+
mo as ColorSchemeContext,
|
|
4592
|
+
Vn as ColorSchemeProvider,
|
|
4593
|
+
Rn as Loader,
|
|
4594
|
+
Xn as TuryStackProvider,
|
|
4595
|
+
Ln as styles,
|
|
4596
|
+
Yn as useColorScheme
|
|
3363
4597
|
};
|