commerce-toolkit 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/components/card/index.d.ts +1 -0
- package/dist/components/card/index.d.ts.map +1 -1
- package/dist/components/chip/chip.d.ts +20 -0
- package/dist/components/chip/chip.d.ts.map +1 -0
- package/dist/components/chip/index.d.ts +4 -0
- package/dist/components/chip/index.d.ts.map +1 -0
- package/dist/components/chip/primitives/chip-button.d.ts +4 -0
- package/dist/components/chip/primitives/chip-button.d.ts.map +1 -0
- package/dist/components/chip/primitives/chip-root.d.ts +4 -0
- package/dist/components/chip/primitives/chip-root.d.ts.map +1 -0
- package/dist/index.cjs +7 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +710 -635
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as s, jsxs as T, Fragment as tt } from "react/jsx-runtime";
|
|
2
2
|
import * as m from "react";
|
|
3
|
-
import
|
|
3
|
+
import R, { useState as we, useEffect as rt, createContext as ee, useMemo as te, use as re, forwardRef as ot, createElement as Ce, useCallback as Wt } from "react";
|
|
4
4
|
import "react-dom";
|
|
5
|
-
function
|
|
6
|
-
return /* @__PURE__ */
|
|
5
|
+
function tn({ className: e, colorScheme: t = "light", items: r, ...o }) {
|
|
6
|
+
return /* @__PURE__ */ s(bo, { colorScheme: t, items: r, children: /* @__PURE__ */ s(mo, { className: e, ...o, children: r.map((n) => /* @__PURE__ */ s(
|
|
7
7
|
go,
|
|
8
8
|
{
|
|
9
9
|
content: n.content,
|
|
10
10
|
title: n.title,
|
|
11
11
|
value: n.value,
|
|
12
|
-
children: /* @__PURE__ */
|
|
13
|
-
/* @__PURE__ */
|
|
14
|
-
/* @__PURE__ */
|
|
12
|
+
children: /* @__PURE__ */ T(fo, { children: [
|
|
13
|
+
/* @__PURE__ */ s(ho, {}),
|
|
14
|
+
/* @__PURE__ */ s(po, {})
|
|
15
15
|
] })
|
|
16
16
|
},
|
|
17
17
|
n.value
|
|
18
18
|
)) }) });
|
|
19
19
|
}
|
|
20
|
-
function
|
|
20
|
+
function Ie(e, t = []) {
|
|
21
21
|
let r = [];
|
|
22
|
-
function o(a,
|
|
23
|
-
const l = m.createContext(
|
|
24
|
-
r = [...r,
|
|
22
|
+
function o(a, i) {
|
|
23
|
+
const l = m.createContext(i), c = r.length;
|
|
24
|
+
r = [...r, i];
|
|
25
25
|
const f = (h) => {
|
|
26
26
|
const { scope: N, children: w, ...A } = h, k = N?.[e]?.[c] || l, C = m.useMemo(() => A, Object.values(A));
|
|
27
|
-
return /* @__PURE__ */
|
|
27
|
+
return /* @__PURE__ */ s(k.Provider, { value: C, children: w });
|
|
28
28
|
};
|
|
29
29
|
f.displayName = a + "Provider";
|
|
30
30
|
function p(h, N) {
|
|
31
31
|
const w = N?.[e]?.[c] || l, A = m.useContext(w);
|
|
32
32
|
if (A) return A;
|
|
33
|
-
if (
|
|
33
|
+
if (i !== void 0) return i;
|
|
34
34
|
throw new Error(`\`${h}\` must be used within \`${a}\``);
|
|
35
35
|
}
|
|
36
36
|
return [f, p];
|
|
37
37
|
}
|
|
38
38
|
const n = () => {
|
|
39
|
-
const a = r.map((
|
|
39
|
+
const a = r.map((i) => m.createContext(i));
|
|
40
40
|
return function(l) {
|
|
41
41
|
const c = l?.[e] || a;
|
|
42
42
|
return m.useMemo(
|
|
@@ -45,9 +45,9 @@ function Re(e, t = []) {
|
|
|
45
45
|
);
|
|
46
46
|
};
|
|
47
47
|
};
|
|
48
|
-
return n.scopeName = e, [o,
|
|
48
|
+
return n.scopeName = e, [o, Ht(n, ...t)];
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function Ht(...e) {
|
|
51
51
|
const t = e[0];
|
|
52
52
|
if (e.length === 1) return t;
|
|
53
53
|
const r = () => {
|
|
@@ -56,68 +56,68 @@ function Wt(...e) {
|
|
|
56
56
|
scopeName: n.scopeName
|
|
57
57
|
}));
|
|
58
58
|
return function(a) {
|
|
59
|
-
const
|
|
59
|
+
const i = o.reduce((l, { useScope: c, scopeName: f }) => {
|
|
60
60
|
const h = c(a)[`__scope${f}`];
|
|
61
61
|
return { ...l, ...h };
|
|
62
62
|
}, {});
|
|
63
|
-
return m.useMemo(() => ({ [`__scope${t.scopeName}`]:
|
|
63
|
+
return m.useMemo(() => ({ [`__scope${t.scopeName}`]: i }), [i]);
|
|
64
64
|
};
|
|
65
65
|
};
|
|
66
66
|
return r.scopeName = t.scopeName, r;
|
|
67
67
|
}
|
|
68
|
-
function
|
|
68
|
+
function Ze(e, t) {
|
|
69
69
|
if (typeof e == "function")
|
|
70
70
|
return e(t);
|
|
71
71
|
e != null && (e.current = t);
|
|
72
72
|
}
|
|
73
|
-
function
|
|
73
|
+
function nt(...e) {
|
|
74
74
|
return (t) => {
|
|
75
75
|
let r = !1;
|
|
76
76
|
const o = e.map((n) => {
|
|
77
|
-
const a =
|
|
77
|
+
const a = Ze(n, t);
|
|
78
78
|
return !r && typeof a == "function" && (r = !0), a;
|
|
79
79
|
});
|
|
80
80
|
if (r)
|
|
81
81
|
return () => {
|
|
82
82
|
for (let n = 0; n < o.length; n++) {
|
|
83
83
|
const a = o[n];
|
|
84
|
-
typeof a == "function" ? a() :
|
|
84
|
+
typeof a == "function" ? a() : Ze(e[n], null);
|
|
85
85
|
}
|
|
86
86
|
};
|
|
87
87
|
};
|
|
88
88
|
}
|
|
89
89
|
function Y(...e) {
|
|
90
|
-
return m.useCallback(
|
|
90
|
+
return m.useCallback(nt(...e), e);
|
|
91
91
|
}
|
|
92
92
|
// @__NO_SIDE_EFFECTS__
|
|
93
93
|
function Ae(e) {
|
|
94
|
-
const t = /* @__PURE__ */
|
|
95
|
-
const { children: a, ...
|
|
94
|
+
const t = /* @__PURE__ */ qt(e), r = m.forwardRef((o, n) => {
|
|
95
|
+
const { children: a, ...i } = o, l = m.Children.toArray(a), c = l.find(Zt);
|
|
96
96
|
if (c) {
|
|
97
97
|
const f = c.props.children, p = l.map((h) => h === c ? m.Children.count(f) > 1 ? m.Children.only(null) : m.isValidElement(f) ? f.props.children : null : h);
|
|
98
|
-
return /* @__PURE__ */
|
|
98
|
+
return /* @__PURE__ */ s(t, { ...i, ref: n, children: m.isValidElement(f) ? m.cloneElement(f, void 0, p) : null });
|
|
99
99
|
}
|
|
100
|
-
return /* @__PURE__ */
|
|
100
|
+
return /* @__PURE__ */ s(t, { ...i, ref: n, children: a });
|
|
101
101
|
});
|
|
102
102
|
return r.displayName = `${e}.Slot`, r;
|
|
103
103
|
}
|
|
104
104
|
// @__NO_SIDE_EFFECTS__
|
|
105
|
-
function
|
|
105
|
+
function qt(e) {
|
|
106
106
|
const t = m.forwardRef((r, o) => {
|
|
107
107
|
const { children: n, ...a } = r;
|
|
108
108
|
if (m.isValidElement(n)) {
|
|
109
|
-
const
|
|
110
|
-
return n.type !== m.Fragment && (l.ref = o ?
|
|
109
|
+
const i = Jt(n), l = Xt(a, n.props);
|
|
110
|
+
return n.type !== m.Fragment && (l.ref = o ? nt(o, i) : i), m.cloneElement(n, l);
|
|
111
111
|
}
|
|
112
112
|
return m.Children.count(n) > 1 ? m.Children.only(null) : null;
|
|
113
113
|
});
|
|
114
114
|
return t.displayName = `${e}.SlotClone`, t;
|
|
115
115
|
}
|
|
116
|
-
var
|
|
117
|
-
function
|
|
118
|
-
return m.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId ===
|
|
116
|
+
var Kt = Symbol("radix.slottable");
|
|
117
|
+
function Zt(e) {
|
|
118
|
+
return m.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === Kt;
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function Xt(e, t) {
|
|
121
121
|
const r = { ...t };
|
|
122
122
|
for (const o in t) {
|
|
123
123
|
const n = e[o], a = t[o];
|
|
@@ -128,36 +128,36 @@ function Zt(e, t) {
|
|
|
128
128
|
}
|
|
129
129
|
return { ...e, ...r };
|
|
130
130
|
}
|
|
131
|
-
function
|
|
131
|
+
function Jt(e) {
|
|
132
132
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning;
|
|
133
133
|
return r ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);
|
|
134
134
|
}
|
|
135
|
-
function
|
|
136
|
-
const t = e + "CollectionProvider", [r, o] =
|
|
135
|
+
function Yt(e) {
|
|
136
|
+
const t = e + "CollectionProvider", [r, o] = Ie(t), [n, a] = r(
|
|
137
137
|
t,
|
|
138
138
|
{ collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }
|
|
139
|
-
),
|
|
140
|
-
const { scope: C, children: P } = k, y =
|
|
141
|
-
return /* @__PURE__ */
|
|
139
|
+
), i = (k) => {
|
|
140
|
+
const { scope: C, children: P } = k, y = R.useRef(null), _ = R.useRef(/* @__PURE__ */ new Map()).current;
|
|
141
|
+
return /* @__PURE__ */ s(n, { scope: C, itemMap: _, collectionRef: y, children: P });
|
|
142
142
|
};
|
|
143
|
-
|
|
144
|
-
const l = e + "CollectionSlot", c = /* @__PURE__ */ Ae(l), f =
|
|
143
|
+
i.displayName = t;
|
|
144
|
+
const l = e + "CollectionSlot", c = /* @__PURE__ */ Ae(l), f = R.forwardRef(
|
|
145
145
|
(k, C) => {
|
|
146
146
|
const { scope: P, children: y } = k, _ = a(l, P), S = Y(C, _.collectionRef);
|
|
147
|
-
return /* @__PURE__ */
|
|
147
|
+
return /* @__PURE__ */ s(c, { ref: S, children: y });
|
|
148
148
|
}
|
|
149
149
|
);
|
|
150
150
|
f.displayName = l;
|
|
151
|
-
const p = e + "CollectionItemSlot", h = "data-radix-collection-item", N = /* @__PURE__ */ Ae(p), w =
|
|
151
|
+
const p = e + "CollectionItemSlot", h = "data-radix-collection-item", N = /* @__PURE__ */ Ae(p), w = R.forwardRef(
|
|
152
152
|
(k, C) => {
|
|
153
|
-
const { scope: P, children: y, ..._ } = k, S =
|
|
154
|
-
return
|
|
153
|
+
const { scope: P, children: y, ..._ } = k, S = R.useRef(null), O = Y(C, S), E = a(p, P);
|
|
154
|
+
return R.useEffect(() => (E.itemMap.set(S, { ref: S, ..._ }), () => void E.itemMap.delete(S))), /* @__PURE__ */ s(N, { [h]: "", ref: O, children: y });
|
|
155
155
|
}
|
|
156
156
|
);
|
|
157
157
|
w.displayName = p;
|
|
158
158
|
function A(k) {
|
|
159
159
|
const C = a(e + "CollectionConsumer", k);
|
|
160
|
-
return
|
|
160
|
+
return R.useCallback(() => {
|
|
161
161
|
const y = C.collectionRef.current;
|
|
162
162
|
if (!y) return [];
|
|
163
163
|
const _ = Array.from(y.querySelectorAll(`[${h}]`));
|
|
@@ -167,19 +167,19 @@ function Jt(e) {
|
|
|
167
167
|
}, [C.collectionRef, C.itemMap]);
|
|
168
168
|
}
|
|
169
169
|
return [
|
|
170
|
-
{ Provider:
|
|
170
|
+
{ Provider: i, Slot: f, ItemSlot: w },
|
|
171
171
|
A,
|
|
172
172
|
o
|
|
173
173
|
];
|
|
174
174
|
}
|
|
175
|
-
function
|
|
175
|
+
function at(e, t, { checkForDefaultPrevented: r = !0 } = {}) {
|
|
176
176
|
return function(n) {
|
|
177
177
|
if (e?.(n), r === !1 || !n.defaultPrevented)
|
|
178
178
|
return t?.(n);
|
|
179
179
|
};
|
|
180
180
|
}
|
|
181
181
|
var Q = globalThis?.document ? m.useLayoutEffect : () => {
|
|
182
|
-
},
|
|
182
|
+
}, Qt = m[" useInsertionEffect ".trim().toString()] || Q;
|
|
183
183
|
function Se({
|
|
184
184
|
prop: e,
|
|
185
185
|
defaultProp: t,
|
|
@@ -187,7 +187,7 @@ function Se({
|
|
|
187
187
|
},
|
|
188
188
|
caller: o
|
|
189
189
|
}) {
|
|
190
|
-
const [n, a,
|
|
190
|
+
const [n, a, i] = er({
|
|
191
191
|
defaultProp: t,
|
|
192
192
|
onChange: r
|
|
193
193
|
}), l = e !== void 0, c = l ? e : n;
|
|
@@ -203,30 +203,30 @@ function Se({
|
|
|
203
203
|
const f = m.useCallback(
|
|
204
204
|
(p) => {
|
|
205
205
|
if (l) {
|
|
206
|
-
const h =
|
|
207
|
-
h !== e &&
|
|
206
|
+
const h = tr(p) ? p(e) : p;
|
|
207
|
+
h !== e && i.current?.(h);
|
|
208
208
|
} else
|
|
209
209
|
a(p);
|
|
210
210
|
},
|
|
211
|
-
[l, e, a,
|
|
211
|
+
[l, e, a, i]
|
|
212
212
|
);
|
|
213
213
|
return [c, f];
|
|
214
214
|
}
|
|
215
|
-
function
|
|
215
|
+
function er({
|
|
216
216
|
defaultProp: e,
|
|
217
217
|
onChange: t
|
|
218
218
|
}) {
|
|
219
219
|
const [r, o] = m.useState(e), n = m.useRef(r), a = m.useRef(t);
|
|
220
|
-
return
|
|
220
|
+
return Qt(() => {
|
|
221
221
|
a.current = t;
|
|
222
222
|
}, [t]), m.useEffect(() => {
|
|
223
223
|
n.current !== r && (a.current?.(r), n.current = r);
|
|
224
224
|
}, [r, n]), [r, o, a];
|
|
225
225
|
}
|
|
226
|
-
function
|
|
226
|
+
function tr(e) {
|
|
227
227
|
return typeof e == "function";
|
|
228
228
|
}
|
|
229
|
-
var
|
|
229
|
+
var rr = [
|
|
230
230
|
"a",
|
|
231
231
|
"button",
|
|
232
232
|
"div",
|
|
@@ -244,23 +244,23 @@ var tr = [
|
|
|
244
244
|
"span",
|
|
245
245
|
"svg",
|
|
246
246
|
"ul"
|
|
247
|
-
], oe =
|
|
247
|
+
], oe = rr.reduce((e, t) => {
|
|
248
248
|
const r = /* @__PURE__ */ Ae(`Primitive.${t}`), o = m.forwardRef((n, a) => {
|
|
249
|
-
const { asChild:
|
|
250
|
-
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */
|
|
249
|
+
const { asChild: i, ...l } = n, c = i ? r : t;
|
|
250
|
+
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ s(c, { ...l, ref: a });
|
|
251
251
|
});
|
|
252
252
|
return o.displayName = `Primitive.${t}`, { ...e, [t]: o };
|
|
253
253
|
}, {});
|
|
254
|
-
function
|
|
254
|
+
function or(e, t) {
|
|
255
255
|
return m.useReducer((r, o) => t[r][o] ?? r, e);
|
|
256
256
|
}
|
|
257
|
-
var
|
|
258
|
-
const { present: t, children: r } = e, o =
|
|
257
|
+
var st = (e) => {
|
|
258
|
+
const { present: t, children: r } = e, o = nr(t), n = typeof r == "function" ? r({ present: o.isPresent }) : m.Children.only(r), a = Y(o.ref, ar(n));
|
|
259
259
|
return typeof r == "function" || o.isPresent ? m.cloneElement(n, { ref: a }) : null;
|
|
260
260
|
};
|
|
261
|
-
|
|
262
|
-
function
|
|
263
|
-
const [t, r] = m.useState(), o = m.useRef(null), n = m.useRef(e), a = m.useRef("none"),
|
|
261
|
+
st.displayName = "Presence";
|
|
262
|
+
function nr(e) {
|
|
263
|
+
const [t, r] = m.useState(), o = m.useRef(null), n = m.useRef(e), a = m.useRef("none"), i = e ? "mounted" : "unmounted", [l, c] = or(i, {
|
|
264
264
|
mounted: {
|
|
265
265
|
UNMOUNT: "unmounted",
|
|
266
266
|
ANIMATION_OUT: "unmountSuspended"
|
|
@@ -311,42 +311,42 @@ function or(e) {
|
|
|
311
311
|
function de(e) {
|
|
312
312
|
return e?.animationName || "none";
|
|
313
313
|
}
|
|
314
|
-
function
|
|
314
|
+
function ar(e) {
|
|
315
315
|
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning;
|
|
316
316
|
return r ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, r = t && "isReactWarning" in t && t.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);
|
|
317
317
|
}
|
|
318
|
-
var
|
|
319
|
-
}),
|
|
320
|
-
function
|
|
321
|
-
const [t, r] = m.useState(
|
|
318
|
+
var sr = m[" useId ".trim().toString()] || (() => {
|
|
319
|
+
}), ir = 0;
|
|
320
|
+
function it(e) {
|
|
321
|
+
const [t, r] = m.useState(sr());
|
|
322
322
|
return Q(() => {
|
|
323
|
-
r((o) => o ?? String(
|
|
323
|
+
r((o) => o ?? String(ir++));
|
|
324
324
|
}, [e]), t ? `radix-${t}` : "";
|
|
325
325
|
}
|
|
326
|
-
var pe = "Collapsible", [
|
|
326
|
+
var pe = "Collapsible", [lr, lt] = Ie(pe), [cr, Me] = lr(pe), ct = m.forwardRef(
|
|
327
327
|
(e, t) => {
|
|
328
328
|
const {
|
|
329
329
|
__scopeCollapsible: r,
|
|
330
330
|
open: o,
|
|
331
331
|
defaultOpen: n,
|
|
332
332
|
disabled: a,
|
|
333
|
-
onOpenChange:
|
|
333
|
+
onOpenChange: i,
|
|
334
334
|
...l
|
|
335
335
|
} = e, [c, f] = Se({
|
|
336
336
|
prop: o,
|
|
337
337
|
defaultProp: n ?? !1,
|
|
338
|
-
onChange:
|
|
338
|
+
onChange: i,
|
|
339
339
|
caller: pe
|
|
340
340
|
});
|
|
341
|
-
return /* @__PURE__ */
|
|
342
|
-
|
|
341
|
+
return /* @__PURE__ */ s(
|
|
342
|
+
cr,
|
|
343
343
|
{
|
|
344
344
|
scope: r,
|
|
345
345
|
disabled: a,
|
|
346
|
-
contentId:
|
|
346
|
+
contentId: it(),
|
|
347
347
|
open: c,
|
|
348
348
|
onOpenToggle: m.useCallback(() => f((p) => !p), [f]),
|
|
349
|
-
children: /* @__PURE__ */
|
|
349
|
+
children: /* @__PURE__ */ s(
|
|
350
350
|
oe.div,
|
|
351
351
|
{
|
|
352
352
|
"data-state": ze(c),
|
|
@@ -359,11 +359,11 @@ var pe = "Collapsible", [ir, it] = Re(pe), [lr, Me] = ir(pe), lt = m.forwardRef(
|
|
|
359
359
|
);
|
|
360
360
|
}
|
|
361
361
|
);
|
|
362
|
-
|
|
363
|
-
var
|
|
362
|
+
ct.displayName = pe;
|
|
363
|
+
var dt = "CollapsibleTrigger", ut = m.forwardRef(
|
|
364
364
|
(e, t) => {
|
|
365
|
-
const { __scopeCollapsible: r, ...o } = e, n = Me(
|
|
366
|
-
return /* @__PURE__ */
|
|
365
|
+
const { __scopeCollapsible: r, ...o } = e, n = Me(dt, r);
|
|
366
|
+
return /* @__PURE__ */ s(
|
|
367
367
|
oe.button,
|
|
368
368
|
{
|
|
369
369
|
type: "button",
|
|
@@ -374,21 +374,21 @@ var ct = "CollapsibleTrigger", dt = m.forwardRef(
|
|
|
374
374
|
disabled: n.disabled,
|
|
375
375
|
...o,
|
|
376
376
|
ref: t,
|
|
377
|
-
onClick:
|
|
377
|
+
onClick: at(e.onClick, n.onOpenToggle)
|
|
378
378
|
}
|
|
379
379
|
);
|
|
380
380
|
}
|
|
381
381
|
);
|
|
382
|
-
|
|
383
|
-
var Ee = "CollapsibleContent",
|
|
382
|
+
ut.displayName = dt;
|
|
383
|
+
var Ee = "CollapsibleContent", ft = m.forwardRef(
|
|
384
384
|
(e, t) => {
|
|
385
385
|
const { forceMount: r, ...o } = e, n = Me(Ee, e.__scopeCollapsible);
|
|
386
|
-
return /* @__PURE__ */
|
|
386
|
+
return /* @__PURE__ */ s(st, { present: r || n.open, children: ({ present: a }) => /* @__PURE__ */ s(dr, { ...o, ref: t, present: a }) });
|
|
387
387
|
}
|
|
388
388
|
);
|
|
389
|
-
|
|
390
|
-
var
|
|
391
|
-
const { __scopeCollapsible: r, present: o, children: n, ...a } = e,
|
|
389
|
+
ft.displayName = Ee;
|
|
390
|
+
var dr = m.forwardRef((e, t) => {
|
|
391
|
+
const { __scopeCollapsible: r, present: o, children: n, ...a } = e, i = Me(Ee, r), [l, c] = m.useState(o), f = m.useRef(null), p = Y(t, f), h = m.useRef(0), N = h.current, w = m.useRef(0), A = w.current, k = i.open || l, C = m.useRef(k), P = m.useRef(void 0);
|
|
392
392
|
return m.useEffect(() => {
|
|
393
393
|
const y = requestAnimationFrame(() => C.current = !1);
|
|
394
394
|
return () => cancelAnimationFrame(y);
|
|
@@ -402,12 +402,12 @@ var cr = m.forwardRef((e, t) => {
|
|
|
402
402
|
const _ = y.getBoundingClientRect();
|
|
403
403
|
h.current = _.height, w.current = _.width, C.current || (y.style.transitionDuration = P.current.transitionDuration, y.style.animationName = P.current.animationName), c(o);
|
|
404
404
|
}
|
|
405
|
-
}, [
|
|
405
|
+
}, [i.open, o]), /* @__PURE__ */ s(
|
|
406
406
|
oe.div,
|
|
407
407
|
{
|
|
408
|
-
"data-state": ze(
|
|
409
|
-
"data-disabled":
|
|
410
|
-
id:
|
|
408
|
+
"data-state": ze(i.open),
|
|
409
|
+
"data-disabled": i.disabled ? "" : void 0,
|
|
410
|
+
id: i.contentId,
|
|
411
411
|
hidden: !k,
|
|
412
412
|
...a,
|
|
413
413
|
ref: p,
|
|
@@ -423,25 +423,25 @@ var cr = m.forwardRef((e, t) => {
|
|
|
423
423
|
function ze(e) {
|
|
424
424
|
return e ? "open" : "closed";
|
|
425
425
|
}
|
|
426
|
-
var
|
|
427
|
-
function
|
|
428
|
-
const t = m.useContext(
|
|
426
|
+
var ur = ct, fr = ut, mr = ft, pr = m.createContext(void 0);
|
|
427
|
+
function br(e) {
|
|
428
|
+
const t = m.useContext(pr);
|
|
429
429
|
return e || t || "ltr";
|
|
430
430
|
}
|
|
431
|
-
var L = "Accordion", gr = ["Home", "End", "ArrowDown", "ArrowUp", "ArrowLeft", "ArrowRight"], [Te,
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
]), Oe =
|
|
431
|
+
var L = "Accordion", gr = ["Home", "End", "ArrowDown", "ArrowUp", "ArrowLeft", "ArrowRight"], [Te, hr, vr] = Yt(L), [be] = Ie(L, [
|
|
432
|
+
vr,
|
|
433
|
+
lt
|
|
434
|
+
]), Oe = lt(), mt = R.forwardRef(
|
|
435
435
|
(e, t) => {
|
|
436
436
|
const { type: r, ...o } = e, n = o, a = o;
|
|
437
|
-
return /* @__PURE__ */
|
|
437
|
+
return /* @__PURE__ */ s(Te.Provider, { scope: e.__scopeAccordion, children: r === "multiple" ? /* @__PURE__ */ s(wr, { ...a, ref: t }) : /* @__PURE__ */ s(kr, { ...n, ref: t }) });
|
|
438
438
|
}
|
|
439
439
|
);
|
|
440
|
-
|
|
441
|
-
var [
|
|
440
|
+
mt.displayName = L;
|
|
441
|
+
var [pt, xr] = be(L), [bt, yr] = be(
|
|
442
442
|
L,
|
|
443
443
|
{ collapsible: !1 }
|
|
444
|
-
),
|
|
444
|
+
), kr = R.forwardRef(
|
|
445
445
|
(e, t) => {
|
|
446
446
|
const {
|
|
447
447
|
value: r,
|
|
@@ -449,62 +449,62 @@ var [mt, vr] = ge(L), [pt, xr] = ge(
|
|
|
449
449
|
onValueChange: n = () => {
|
|
450
450
|
},
|
|
451
451
|
collapsible: a = !1,
|
|
452
|
-
...
|
|
452
|
+
...i
|
|
453
453
|
} = e, [l, c] = Se({
|
|
454
454
|
prop: r,
|
|
455
455
|
defaultProp: o ?? "",
|
|
456
456
|
onChange: n,
|
|
457
457
|
caller: L
|
|
458
458
|
});
|
|
459
|
-
return /* @__PURE__ */
|
|
460
|
-
|
|
459
|
+
return /* @__PURE__ */ s(
|
|
460
|
+
pt,
|
|
461
461
|
{
|
|
462
462
|
scope: e.__scopeAccordion,
|
|
463
|
-
value:
|
|
463
|
+
value: R.useMemo(() => l ? [l] : [], [l]),
|
|
464
464
|
onItemOpen: c,
|
|
465
|
-
onItemClose:
|
|
466
|
-
children: /* @__PURE__ */
|
|
465
|
+
onItemClose: R.useCallback(() => a && c(""), [a, c]),
|
|
466
|
+
children: /* @__PURE__ */ s(bt, { scope: e.__scopeAccordion, collapsible: a, children: /* @__PURE__ */ s(gt, { ...i, ref: t }) })
|
|
467
467
|
}
|
|
468
468
|
);
|
|
469
469
|
}
|
|
470
|
-
),
|
|
470
|
+
), wr = R.forwardRef((e, t) => {
|
|
471
471
|
const {
|
|
472
472
|
value: r,
|
|
473
473
|
defaultValue: o,
|
|
474
474
|
onValueChange: n = () => {
|
|
475
475
|
},
|
|
476
476
|
...a
|
|
477
|
-
} = e, [
|
|
477
|
+
} = e, [i, l] = Se({
|
|
478
478
|
prop: r,
|
|
479
479
|
defaultProp: o ?? [],
|
|
480
480
|
onChange: n,
|
|
481
481
|
caller: L
|
|
482
|
-
}), c =
|
|
482
|
+
}), c = R.useCallback(
|
|
483
483
|
(p) => l((h = []) => [...h, p]),
|
|
484
484
|
[l]
|
|
485
|
-
), f =
|
|
485
|
+
), f = R.useCallback(
|
|
486
486
|
(p) => l((h = []) => h.filter((N) => N !== p)),
|
|
487
487
|
[l]
|
|
488
488
|
);
|
|
489
|
-
return /* @__PURE__ */
|
|
490
|
-
|
|
489
|
+
return /* @__PURE__ */ s(
|
|
490
|
+
pt,
|
|
491
491
|
{
|
|
492
492
|
scope: e.__scopeAccordion,
|
|
493
|
-
value:
|
|
493
|
+
value: i,
|
|
494
494
|
onItemOpen: c,
|
|
495
495
|
onItemClose: f,
|
|
496
|
-
children: /* @__PURE__ */
|
|
496
|
+
children: /* @__PURE__ */ s(bt, { scope: e.__scopeAccordion, collapsible: !0, children: /* @__PURE__ */ s(gt, { ...a, ref: t }) })
|
|
497
497
|
}
|
|
498
498
|
);
|
|
499
|
-
}), [
|
|
499
|
+
}), [Cr, ge] = be(L), gt = R.forwardRef(
|
|
500
500
|
(e, t) => {
|
|
501
|
-
const { __scopeAccordion: r, disabled: o, dir: n, orientation: a = "vertical", ...
|
|
501
|
+
const { __scopeAccordion: r, disabled: o, dir: n, orientation: a = "vertical", ...i } = e, l = R.useRef(null), c = Y(l, t), f = hr(r), h = br(n) === "ltr", N = at(e.onKeyDown, (w) => {
|
|
502
502
|
if (!gr.includes(w.key)) return;
|
|
503
|
-
const A = w.target, k = f().filter((
|
|
503
|
+
const A = w.target, k = f().filter((g) => !g.ref.current?.disabled), C = k.findIndex((g) => g.ref.current === A), P = k.length;
|
|
504
504
|
if (C === -1) return;
|
|
505
505
|
w.preventDefault();
|
|
506
506
|
let y = C;
|
|
507
|
-
const _ = 0, S = P - 1,
|
|
507
|
+
const _ = 0, S = P - 1, O = () => {
|
|
508
508
|
y = C + 1, y > S && (y = _);
|
|
509
509
|
}, E = () => {
|
|
510
510
|
y = C - 1, y < _ && (y = S);
|
|
@@ -517,13 +517,13 @@ var [mt, vr] = ge(L), [pt, xr] = ge(
|
|
|
517
517
|
y = S;
|
|
518
518
|
break;
|
|
519
519
|
case "ArrowRight":
|
|
520
|
-
a === "horizontal" && (h ?
|
|
520
|
+
a === "horizontal" && (h ? O() : E());
|
|
521
521
|
break;
|
|
522
522
|
case "ArrowDown":
|
|
523
|
-
a === "vertical" &&
|
|
523
|
+
a === "vertical" && O();
|
|
524
524
|
break;
|
|
525
525
|
case "ArrowLeft":
|
|
526
|
-
a === "horizontal" && (h ? E() :
|
|
526
|
+
a === "horizontal" && (h ? E() : O());
|
|
527
527
|
break;
|
|
528
528
|
case "ArrowUp":
|
|
529
529
|
a === "vertical" && E();
|
|
@@ -532,17 +532,17 @@ var [mt, vr] = ge(L), [pt, xr] = ge(
|
|
|
532
532
|
const D = y % P;
|
|
533
533
|
k[D].ref.current?.focus();
|
|
534
534
|
});
|
|
535
|
-
return /* @__PURE__ */
|
|
536
|
-
|
|
535
|
+
return /* @__PURE__ */ s(
|
|
536
|
+
Cr,
|
|
537
537
|
{
|
|
538
538
|
scope: r,
|
|
539
539
|
disabled: o,
|
|
540
540
|
direction: n,
|
|
541
541
|
orientation: a,
|
|
542
|
-
children: /* @__PURE__ */
|
|
542
|
+
children: /* @__PURE__ */ s(Te.Slot, { scope: r, children: /* @__PURE__ */ s(
|
|
543
543
|
oe.div,
|
|
544
544
|
{
|
|
545
|
-
...
|
|
545
|
+
...i,
|
|
546
546
|
"data-orientation": a,
|
|
547
547
|
ref: c,
|
|
548
548
|
onKeyDown: o ? void 0 : N
|
|
@@ -551,28 +551,28 @@ var [mt, vr] = ge(L), [pt, xr] = ge(
|
|
|
551
551
|
}
|
|
552
552
|
);
|
|
553
553
|
}
|
|
554
|
-
), me = "AccordionItem", [
|
|
554
|
+
), me = "AccordionItem", [Ar, Be] = be(me), ht = R.forwardRef(
|
|
555
555
|
(e, t) => {
|
|
556
|
-
const { __scopeAccordion: r, value: o, ...n } = e, a =
|
|
557
|
-
return /* @__PURE__ */
|
|
558
|
-
|
|
556
|
+
const { __scopeAccordion: r, value: o, ...n } = e, a = ge(me, r), i = xr(me, r), l = Oe(r), c = it(), f = o && i.value.includes(o) || !1, p = a.disabled || e.disabled;
|
|
557
|
+
return /* @__PURE__ */ s(
|
|
558
|
+
Ar,
|
|
559
559
|
{
|
|
560
560
|
scope: r,
|
|
561
561
|
open: f,
|
|
562
562
|
disabled: p,
|
|
563
563
|
triggerId: c,
|
|
564
|
-
children: /* @__PURE__ */
|
|
565
|
-
|
|
564
|
+
children: /* @__PURE__ */ s(
|
|
565
|
+
ur,
|
|
566
566
|
{
|
|
567
567
|
"data-orientation": a.orientation,
|
|
568
|
-
"data-state":
|
|
568
|
+
"data-state": Ct(f),
|
|
569
569
|
...l,
|
|
570
570
|
...n,
|
|
571
571
|
ref: t,
|
|
572
572
|
disabled: p,
|
|
573
573
|
open: f,
|
|
574
574
|
onOpenChange: (h) => {
|
|
575
|
-
h ?
|
|
575
|
+
h ? i.onItemOpen(o) : i.onItemClose(o);
|
|
576
576
|
}
|
|
577
577
|
}
|
|
578
578
|
)
|
|
@@ -580,15 +580,15 @@ var [mt, vr] = ge(L), [pt, xr] = ge(
|
|
|
580
580
|
);
|
|
581
581
|
}
|
|
582
582
|
);
|
|
583
|
-
|
|
584
|
-
var
|
|
583
|
+
ht.displayName = me;
|
|
584
|
+
var vt = "AccordionHeader", xt = R.forwardRef(
|
|
585
585
|
(e, t) => {
|
|
586
|
-
const { __scopeAccordion: r, ...o } = e, n =
|
|
587
|
-
return /* @__PURE__ */
|
|
586
|
+
const { __scopeAccordion: r, ...o } = e, n = ge(L, r), a = Be(vt, r);
|
|
587
|
+
return /* @__PURE__ */ s(
|
|
588
588
|
oe.h3,
|
|
589
589
|
{
|
|
590
590
|
"data-orientation": n.orientation,
|
|
591
|
-
"data-state":
|
|
591
|
+
"data-state": Ct(a.open),
|
|
592
592
|
"data-disabled": a.disabled ? "" : void 0,
|
|
593
593
|
...o,
|
|
594
594
|
ref: t
|
|
@@ -596,14 +596,14 @@ var ht = "AccordionHeader", vt = I.forwardRef(
|
|
|
596
596
|
);
|
|
597
597
|
}
|
|
598
598
|
);
|
|
599
|
-
|
|
600
|
-
var Ne = "AccordionTrigger",
|
|
599
|
+
xt.displayName = vt;
|
|
600
|
+
var Ne = "AccordionTrigger", yt = R.forwardRef(
|
|
601
601
|
(e, t) => {
|
|
602
|
-
const { __scopeAccordion: r, ...o } = e, n =
|
|
603
|
-
return /* @__PURE__ */
|
|
604
|
-
|
|
602
|
+
const { __scopeAccordion: r, ...o } = e, n = ge(L, r), a = Be(Ne, r), i = yr(Ne, r), l = Oe(r);
|
|
603
|
+
return /* @__PURE__ */ s(Te.ItemSlot, { scope: r, children: /* @__PURE__ */ s(
|
|
604
|
+
fr,
|
|
605
605
|
{
|
|
606
|
-
"aria-disabled": a.open && !
|
|
606
|
+
"aria-disabled": a.open && !i.collapsible || void 0,
|
|
607
607
|
"data-orientation": n.orientation,
|
|
608
608
|
id: a.triggerId,
|
|
609
609
|
...l,
|
|
@@ -613,17 +613,17 @@ var Ne = "AccordionTrigger", xt = I.forwardRef(
|
|
|
613
613
|
) });
|
|
614
614
|
}
|
|
615
615
|
);
|
|
616
|
-
|
|
617
|
-
var
|
|
616
|
+
yt.displayName = Ne;
|
|
617
|
+
var kt = "AccordionContent", wt = R.forwardRef(
|
|
618
618
|
(e, t) => {
|
|
619
|
-
const { __scopeAccordion: r, ...o } = e, n =
|
|
620
|
-
return /* @__PURE__ */
|
|
621
|
-
|
|
619
|
+
const { __scopeAccordion: r, ...o } = e, n = ge(L, r), a = Be(kt, r), i = Oe(r);
|
|
620
|
+
return /* @__PURE__ */ s(
|
|
621
|
+
mr,
|
|
622
622
|
{
|
|
623
623
|
role: "region",
|
|
624
624
|
"aria-labelledby": a.triggerId,
|
|
625
625
|
"data-orientation": n.orientation,
|
|
626
|
-
...
|
|
626
|
+
...i,
|
|
627
627
|
...o,
|
|
628
628
|
ref: t,
|
|
629
629
|
style: {
|
|
@@ -635,58 +635,58 @@ var yt = "AccordionContent", kt = I.forwardRef(
|
|
|
635
635
|
);
|
|
636
636
|
}
|
|
637
637
|
);
|
|
638
|
-
|
|
639
|
-
function
|
|
638
|
+
wt.displayName = kt;
|
|
639
|
+
function Ct(e) {
|
|
640
640
|
return e ? "open" : "closed";
|
|
641
641
|
}
|
|
642
|
-
var
|
|
643
|
-
function
|
|
642
|
+
var Nr = mt, Pr = ht, _r = xt, Rr = yt, Ir = wt;
|
|
643
|
+
function At(e) {
|
|
644
644
|
var t, r, o = "";
|
|
645
645
|
if (typeof e == "string" || typeof e == "number") o += e;
|
|
646
646
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
647
647
|
var n = e.length;
|
|
648
|
-
for (t = 0; t < n; t++) e[t] && (r =
|
|
648
|
+
for (t = 0; t < n; t++) e[t] && (r = At(e[t])) && (o && (o += " "), o += r);
|
|
649
649
|
} else for (r in e) e[r] && (o && (o += " "), o += r);
|
|
650
650
|
return o;
|
|
651
651
|
}
|
|
652
|
-
function
|
|
653
|
-
for (var e, t, r = 0, o = "", n = arguments.length; r < n; r++) (e = arguments[r]) && (t =
|
|
652
|
+
function Sr() {
|
|
653
|
+
for (var e, t, r = 0, o = "", n = arguments.length; r < n; r++) (e = arguments[r]) && (t = At(e)) && (o && (o += " "), o += t);
|
|
654
654
|
return o;
|
|
655
655
|
}
|
|
656
|
-
const Le = "-",
|
|
657
|
-
const t =
|
|
656
|
+
const Le = "-", Mr = (e) => {
|
|
657
|
+
const t = zr(e), {
|
|
658
658
|
conflictingClassGroups: r,
|
|
659
659
|
conflictingClassGroupModifiers: o
|
|
660
660
|
} = e;
|
|
661
661
|
return {
|
|
662
|
-
getClassGroupId: (
|
|
663
|
-
const l =
|
|
664
|
-
return l[0] === "" && l.length !== 1 && l.shift(),
|
|
662
|
+
getClassGroupId: (i) => {
|
|
663
|
+
const l = i.split(Le);
|
|
664
|
+
return l[0] === "" && l.length !== 1 && l.shift(), Nt(l, t) || Er(i);
|
|
665
665
|
},
|
|
666
|
-
getConflictingClassGroupIds: (
|
|
667
|
-
const c = r[
|
|
668
|
-
return l && o[
|
|
666
|
+
getConflictingClassGroupIds: (i, l) => {
|
|
667
|
+
const c = r[i] || [];
|
|
668
|
+
return l && o[i] ? [...c, ...o[i]] : c;
|
|
669
669
|
}
|
|
670
670
|
};
|
|
671
|
-
},
|
|
671
|
+
}, Nt = (e, t) => {
|
|
672
672
|
if (e.length === 0)
|
|
673
673
|
return t.classGroupId;
|
|
674
|
-
const r = e[0], o = t.nextPart.get(r), n = o ?
|
|
674
|
+
const r = e[0], o = t.nextPart.get(r), n = o ? Nt(e.slice(1), o) : void 0;
|
|
675
675
|
if (n)
|
|
676
676
|
return n;
|
|
677
677
|
if (t.validators.length === 0)
|
|
678
678
|
return;
|
|
679
679
|
const a = e.join(Le);
|
|
680
680
|
return t.validators.find(({
|
|
681
|
-
validator:
|
|
682
|
-
}) =>
|
|
683
|
-
},
|
|
684
|
-
if (
|
|
685
|
-
const t =
|
|
681
|
+
validator: i
|
|
682
|
+
}) => i(a))?.classGroupId;
|
|
683
|
+
}, Xe = /^\[(.+)\]$/, Er = (e) => {
|
|
684
|
+
if (Xe.test(e)) {
|
|
685
|
+
const t = Xe.exec(e)[1], r = t?.substring(0, t.indexOf(":"));
|
|
686
686
|
if (r)
|
|
687
687
|
return "arbitrary.." + r;
|
|
688
688
|
}
|
|
689
|
-
},
|
|
689
|
+
}, zr = (e) => {
|
|
690
690
|
const {
|
|
691
691
|
theme: t,
|
|
692
692
|
classGroups: r
|
|
@@ -700,12 +700,12 @@ const Le = "-", Sr = (e) => {
|
|
|
700
700
|
}, Pe = (e, t, r, o) => {
|
|
701
701
|
e.forEach((n) => {
|
|
702
702
|
if (typeof n == "string") {
|
|
703
|
-
const a = n === "" ? t :
|
|
703
|
+
const a = n === "" ? t : Je(t, n);
|
|
704
704
|
a.classGroupId = r;
|
|
705
705
|
return;
|
|
706
706
|
}
|
|
707
707
|
if (typeof n == "function") {
|
|
708
|
-
if (
|
|
708
|
+
if (Tr(n)) {
|
|
709
709
|
Pe(n(o), t, r, o);
|
|
710
710
|
return;
|
|
711
711
|
}
|
|
@@ -715,11 +715,11 @@ const Le = "-", Sr = (e) => {
|
|
|
715
715
|
});
|
|
716
716
|
return;
|
|
717
717
|
}
|
|
718
|
-
Object.entries(n).forEach(([a,
|
|
719
|
-
Pe(
|
|
718
|
+
Object.entries(n).forEach(([a, i]) => {
|
|
719
|
+
Pe(i, Je(t, a), r, o);
|
|
720
720
|
});
|
|
721
721
|
});
|
|
722
|
-
},
|
|
722
|
+
}, Je = (e, t) => {
|
|
723
723
|
let r = e;
|
|
724
724
|
return t.split(Le).forEach((o) => {
|
|
725
725
|
r.nextPart.has(o) || r.nextPart.set(o, {
|
|
@@ -727,7 +727,7 @@ const Le = "-", Sr = (e) => {
|
|
|
727
727
|
validators: []
|
|
728
728
|
}), r = r.nextPart.get(o);
|
|
729
729
|
}), r;
|
|
730
|
-
},
|
|
730
|
+
}, Tr = (e) => e.isThemeGetter, Or = (e) => {
|
|
731
731
|
if (e < 1)
|
|
732
732
|
return {
|
|
733
733
|
get: () => {
|
|
@@ -736,34 +736,34 @@ const Le = "-", Sr = (e) => {
|
|
|
736
736
|
}
|
|
737
737
|
};
|
|
738
738
|
let t = 0, r = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
|
|
739
|
-
const n = (a,
|
|
740
|
-
r.set(a,
|
|
739
|
+
const n = (a, i) => {
|
|
740
|
+
r.set(a, i), t++, t > e && (t = 0, o = r, r = /* @__PURE__ */ new Map());
|
|
741
741
|
};
|
|
742
742
|
return {
|
|
743
743
|
get(a) {
|
|
744
|
-
let
|
|
745
|
-
if (
|
|
746
|
-
return
|
|
747
|
-
if ((
|
|
748
|
-
return n(a,
|
|
744
|
+
let i = r.get(a);
|
|
745
|
+
if (i !== void 0)
|
|
746
|
+
return i;
|
|
747
|
+
if ((i = o.get(a)) !== void 0)
|
|
748
|
+
return n(a, i), i;
|
|
749
749
|
},
|
|
750
|
-
set(a,
|
|
751
|
-
r.has(a) ? r.set(a,
|
|
750
|
+
set(a, i) {
|
|
751
|
+
r.has(a) ? r.set(a, i) : n(a, i);
|
|
752
752
|
}
|
|
753
753
|
};
|
|
754
|
-
}, _e = "!",
|
|
754
|
+
}, _e = "!", Re = ":", Br = Re.length, Lr = (e) => {
|
|
755
755
|
const {
|
|
756
756
|
prefix: t,
|
|
757
757
|
experimentalParseClassName: r
|
|
758
758
|
} = e;
|
|
759
759
|
let o = (n) => {
|
|
760
760
|
const a = [];
|
|
761
|
-
let
|
|
761
|
+
let i = 0, l = 0, c = 0, f;
|
|
762
762
|
for (let A = 0; A < n.length; A++) {
|
|
763
763
|
let k = n[A];
|
|
764
|
-
if (
|
|
765
|
-
if (k ===
|
|
766
|
-
a.push(n.slice(c, A)), c = A +
|
|
764
|
+
if (i === 0 && l === 0) {
|
|
765
|
+
if (k === Re) {
|
|
766
|
+
a.push(n.slice(c, A)), c = A + Br;
|
|
767
767
|
continue;
|
|
768
768
|
}
|
|
769
769
|
if (k === "/") {
|
|
@@ -771,9 +771,9 @@ const Le = "-", Sr = (e) => {
|
|
|
771
771
|
continue;
|
|
772
772
|
}
|
|
773
773
|
}
|
|
774
|
-
k === "[" ?
|
|
774
|
+
k === "[" ? i++ : k === "]" ? i-- : k === "(" ? l++ : k === ")" && l--;
|
|
775
775
|
}
|
|
776
|
-
const p = a.length === 0 ? n : n.substring(c), h =
|
|
776
|
+
const p = a.length === 0 ? n : n.substring(c), h = Dr(p), N = h !== p, w = f && f > c ? f - c : void 0;
|
|
777
777
|
return {
|
|
778
778
|
modifiers: a,
|
|
779
779
|
hasImportantModifier: N,
|
|
@@ -782,12 +782,12 @@ const Le = "-", Sr = (e) => {
|
|
|
782
782
|
};
|
|
783
783
|
};
|
|
784
784
|
if (t) {
|
|
785
|
-
const n = t +
|
|
786
|
-
o = (
|
|
785
|
+
const n = t + Re, a = o;
|
|
786
|
+
o = (i) => i.startsWith(n) ? a(i.substring(n.length)) : {
|
|
787
787
|
isExternal: !0,
|
|
788
788
|
modifiers: [],
|
|
789
789
|
hasImportantModifier: !1,
|
|
790
|
-
baseClassName:
|
|
790
|
+
baseClassName: i,
|
|
791
791
|
maybePostfixModifierPosition: void 0
|
|
792
792
|
};
|
|
793
793
|
}
|
|
@@ -799,29 +799,29 @@ const Le = "-", Sr = (e) => {
|
|
|
799
799
|
});
|
|
800
800
|
}
|
|
801
801
|
return o;
|
|
802
|
-
},
|
|
802
|
+
}, Dr = (e) => e.endsWith(_e) ? e.substring(0, e.length - 1) : e.startsWith(_e) ? e.substring(1) : e, $r = (e) => {
|
|
803
803
|
const t = Object.fromEntries(e.orderSensitiveModifiers.map((o) => [o, !0]));
|
|
804
804
|
return (o) => {
|
|
805
805
|
if (o.length <= 1)
|
|
806
806
|
return o;
|
|
807
807
|
const n = [];
|
|
808
808
|
let a = [];
|
|
809
|
-
return o.forEach((
|
|
810
|
-
|
|
809
|
+
return o.forEach((i) => {
|
|
810
|
+
i[0] === "[" || t[i] ? (n.push(...a.sort(), i), a = []) : a.push(i);
|
|
811
811
|
}), n.push(...a.sort()), n;
|
|
812
812
|
};
|
|
813
|
-
},
|
|
814
|
-
cache:
|
|
815
|
-
parseClassName:
|
|
816
|
-
sortModifiers:
|
|
817
|
-
...
|
|
818
|
-
}),
|
|
813
|
+
}, Vr = (e) => ({
|
|
814
|
+
cache: Or(e.cacheSize),
|
|
815
|
+
parseClassName: Lr(e),
|
|
816
|
+
sortModifiers: $r(e),
|
|
817
|
+
...Mr(e)
|
|
818
|
+
}), Gr = /\s+/, jr = (e, t) => {
|
|
819
819
|
const {
|
|
820
820
|
parseClassName: r,
|
|
821
821
|
getClassGroupId: o,
|
|
822
822
|
getConflictingClassGroupIds: n,
|
|
823
823
|
sortModifiers: a
|
|
824
|
-
} = t,
|
|
824
|
+
} = t, i = [], l = e.trim().split(Gr);
|
|
825
825
|
let c = "";
|
|
826
826
|
for (let f = l.length - 1; f >= 0; f -= 1) {
|
|
827
827
|
const p = l[f], {
|
|
@@ -848,65 +848,65 @@ const Le = "-", Sr = (e) => {
|
|
|
848
848
|
C = !1;
|
|
849
849
|
}
|
|
850
850
|
const y = a(N).join(":"), _ = w ? y + _e : y, S = _ + P;
|
|
851
|
-
if (
|
|
851
|
+
if (i.includes(S))
|
|
852
852
|
continue;
|
|
853
|
-
|
|
854
|
-
const
|
|
855
|
-
for (let E = 0; E <
|
|
856
|
-
const D =
|
|
857
|
-
|
|
853
|
+
i.push(S);
|
|
854
|
+
const O = n(P, C);
|
|
855
|
+
for (let E = 0; E < O.length; ++E) {
|
|
856
|
+
const D = O[E];
|
|
857
|
+
i.push(_ + D);
|
|
858
858
|
}
|
|
859
859
|
c = p + (c.length > 0 ? " " + c : c);
|
|
860
860
|
}
|
|
861
861
|
return c;
|
|
862
862
|
};
|
|
863
|
-
function
|
|
863
|
+
function Ur() {
|
|
864
864
|
let e = 0, t, r, o = "";
|
|
865
865
|
for (; e < arguments.length; )
|
|
866
|
-
(t = arguments[e++]) && (r =
|
|
866
|
+
(t = arguments[e++]) && (r = Pt(t)) && (o && (o += " "), o += r);
|
|
867
867
|
return o;
|
|
868
868
|
}
|
|
869
|
-
const
|
|
869
|
+
const Pt = (e) => {
|
|
870
870
|
if (typeof e == "string")
|
|
871
871
|
return e;
|
|
872
872
|
let t, r = "";
|
|
873
873
|
for (let o = 0; o < e.length; o++)
|
|
874
|
-
e[o] && (t =
|
|
874
|
+
e[o] && (t = Pt(e[o])) && (r && (r += " "), r += t);
|
|
875
875
|
return r;
|
|
876
876
|
};
|
|
877
|
-
function
|
|
878
|
-
let r, o, n, a =
|
|
879
|
-
function
|
|
877
|
+
function Fr(e, ...t) {
|
|
878
|
+
let r, o, n, a = i;
|
|
879
|
+
function i(c) {
|
|
880
880
|
const f = t.reduce((p, h) => h(p), e());
|
|
881
|
-
return r =
|
|
881
|
+
return r = Vr(f), o = r.cache.get, n = r.cache.set, a = l, l(c);
|
|
882
882
|
}
|
|
883
883
|
function l(c) {
|
|
884
884
|
const f = o(c);
|
|
885
885
|
if (f)
|
|
886
886
|
return f;
|
|
887
|
-
const p =
|
|
887
|
+
const p = jr(c, r);
|
|
888
888
|
return n(c, p), p;
|
|
889
889
|
}
|
|
890
890
|
return function() {
|
|
891
|
-
return a(
|
|
891
|
+
return a(Ur.apply(null, arguments));
|
|
892
892
|
};
|
|
893
893
|
}
|
|
894
|
-
const
|
|
894
|
+
const I = (e) => {
|
|
895
895
|
const t = (r) => r[e] || [];
|
|
896
896
|
return t.isThemeGetter = !0, t;
|
|
897
|
-
},
|
|
897
|
+
}, _t = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Rt = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Wr = /^\d+\/\d+$/, Hr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, qr = /\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$/, Kr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Zr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Xr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, H = (e) => Wr.test(e), x = (e) => !!e && !Number.isNaN(Number(e)), j = (e) => !!e && Number.isInteger(Number(e)), ye = (e) => e.endsWith("%") && x(e.slice(0, -1)), G = (e) => Hr.test(e), Jr = () => !0, Yr = (e) => (
|
|
898
898
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
899
899
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
900
900
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
901
|
-
|
|
902
|
-
), It = () => !1,
|
|
903
|
-
const o =
|
|
901
|
+
qr.test(e) && !Kr.test(e)
|
|
902
|
+
), It = () => !1, Qr = (e) => Zr.test(e), eo = (e) => Xr.test(e), to = (e) => !d(e) && !u(e), ro = (e) => q(e, Et, It), d = (e) => _t.test(e), F = (e) => q(e, zt, Yr), ke = (e) => q(e, io, x), Ye = (e) => q(e, St, It), oo = (e) => q(e, Mt, eo), ue = (e) => q(e, Tt, Qr), u = (e) => Rt.test(e), X = (e) => K(e, zt), no = (e) => K(e, lo), Qe = (e) => K(e, St), ao = (e) => K(e, Et), so = (e) => K(e, Mt), fe = (e) => K(e, Tt, !0), q = (e, t, r) => {
|
|
903
|
+
const o = _t.exec(e);
|
|
904
904
|
return o ? o[1] ? t(o[1]) : r(o[2]) : !1;
|
|
905
905
|
}, K = (e, t, r = !1) => {
|
|
906
|
-
const o =
|
|
906
|
+
const o = Rt.exec(e);
|
|
907
907
|
return o ? o[1] ? t(o[1]) : r : !1;
|
|
908
|
-
},
|
|
909
|
-
const e =
|
|
908
|
+
}, St = (e) => e === "position" || e === "percentage", Mt = (e) => e === "image" || e === "url", Et = (e) => e === "length" || e === "size" || e === "bg-size", zt = (e) => e === "length", io = (e) => e === "number", lo = (e) => e === "family-name", Tt = (e) => e === "shadow", co = () => {
|
|
909
|
+
const e = I("color"), t = I("font"), r = I("text"), o = I("font-weight"), n = I("tracking"), a = I("leading"), i = I("breakpoint"), l = I("container"), c = I("spacing"), f = I("radius"), p = I("shadow"), h = I("inset-shadow"), N = I("text-shadow"), w = I("drop-shadow"), A = I("blur"), k = I("perspective"), C = I("aspect"), P = I("ease"), y = I("animate"), _ = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], S = () => [
|
|
910
910
|
"center",
|
|
911
911
|
"top",
|
|
912
912
|
"bottom",
|
|
@@ -924,13 +924,13 @@ const R = (e) => {
|
|
|
924
924
|
"bottom-left",
|
|
925
925
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
926
926
|
"left-bottom"
|
|
927
|
-
],
|
|
927
|
+
], O = () => [...S(), u, d], E = () => ["auto", "hidden", "clip", "visible", "scroll"], D = () => ["auto", "contain", "none"], g = () => [u, d, c], $ = () => [H, "full", "auto", ...g()], Ge = () => [j, "none", "subgrid", u, d], je = () => ["auto", {
|
|
928
928
|
span: ["full", j, u, d]
|
|
929
|
-
}, j, u, d], ae = () => [j, "auto", u, d],
|
|
929
|
+
}, j, u, d], ae = () => [j, "auto", u, d], Ue = () => ["auto", "min", "max", "fr", u, d], he = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], W = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], V = () => ["auto", ...g()], U = () => [H, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...g()], b = () => [e, u, d], Fe = () => [...S(), Qe, Ye, {
|
|
930
930
|
position: [u, d]
|
|
931
|
-
}],
|
|
931
|
+
}], We = () => ["no-repeat", {
|
|
932
932
|
repeat: ["", "x", "y", "space", "round"]
|
|
933
|
-
}],
|
|
933
|
+
}], He = () => ["auto", "cover", "contain", ao, ro, {
|
|
934
934
|
size: [u, d]
|
|
935
935
|
}], ve = () => [ye, X, F], z = () => [
|
|
936
936
|
// Deprecated since Tailwind CSS v4.0.0
|
|
@@ -940,14 +940,14 @@ const R = (e) => {
|
|
|
940
940
|
f,
|
|
941
941
|
u,
|
|
942
942
|
d
|
|
943
|
-
],
|
|
943
|
+
], B = () => ["", x, X, F], se = () => ["solid", "dashed", "dotted", "double"], qe = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], M = () => [x, ye, Qe, Ye], Ke = () => [
|
|
944
944
|
// Deprecated since Tailwind CSS v4.0.0
|
|
945
945
|
"",
|
|
946
946
|
"none",
|
|
947
947
|
A,
|
|
948
948
|
u,
|
|
949
949
|
d
|
|
950
|
-
], ie = () => ["none",
|
|
950
|
+
], ie = () => ["none", x, u, d], le = () => ["none", x, u, d], xe = () => [x, u, d], ce = () => [H, "full", ...g()];
|
|
951
951
|
return {
|
|
952
952
|
cacheSize: 500,
|
|
953
953
|
theme: {
|
|
@@ -955,18 +955,18 @@ const R = (e) => {
|
|
|
955
955
|
aspect: ["video"],
|
|
956
956
|
blur: [G],
|
|
957
957
|
breakpoint: [G],
|
|
958
|
-
color: [
|
|
958
|
+
color: [Jr],
|
|
959
959
|
container: [G],
|
|
960
960
|
"drop-shadow": [G],
|
|
961
961
|
ease: ["in", "out", "in-out"],
|
|
962
|
-
font: [
|
|
962
|
+
font: [to],
|
|
963
963
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
964
964
|
"inset-shadow": [G],
|
|
965
965
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
966
966
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
967
967
|
radius: [G],
|
|
968
968
|
shadow: [G],
|
|
969
|
-
spacing: ["px",
|
|
969
|
+
spacing: ["px", x],
|
|
970
970
|
text: [G],
|
|
971
971
|
"text-shadow": [G],
|
|
972
972
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
@@ -993,7 +993,7 @@ const R = (e) => {
|
|
|
993
993
|
* @see https://tailwindcss.com/docs/columns
|
|
994
994
|
*/
|
|
995
995
|
columns: [{
|
|
996
|
-
columns: [
|
|
996
|
+
columns: [x, d, u, l]
|
|
997
997
|
}],
|
|
998
998
|
/**
|
|
999
999
|
* Break After
|
|
@@ -1071,7 +1071,7 @@ const R = (e) => {
|
|
|
1071
1071
|
* @see https://tailwindcss.com/docs/object-position
|
|
1072
1072
|
*/
|
|
1073
1073
|
"object-position": [{
|
|
1074
|
-
object:
|
|
1074
|
+
object: O()
|
|
1075
1075
|
}],
|
|
1076
1076
|
/**
|
|
1077
1077
|
* Overflow
|
|
@@ -1203,7 +1203,7 @@ const R = (e) => {
|
|
|
1203
1203
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
1204
1204
|
*/
|
|
1205
1205
|
basis: [{
|
|
1206
|
-
basis: [H, "full", "auto", l, ...
|
|
1206
|
+
basis: [H, "full", "auto", l, ...g()]
|
|
1207
1207
|
}],
|
|
1208
1208
|
/**
|
|
1209
1209
|
* Flex Direction
|
|
@@ -1224,21 +1224,21 @@ const R = (e) => {
|
|
|
1224
1224
|
* @see https://tailwindcss.com/docs/flex
|
|
1225
1225
|
*/
|
|
1226
1226
|
flex: [{
|
|
1227
|
-
flex: [
|
|
1227
|
+
flex: [x, H, "auto", "initial", "none", d]
|
|
1228
1228
|
}],
|
|
1229
1229
|
/**
|
|
1230
1230
|
* Flex Grow
|
|
1231
1231
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
1232
1232
|
*/
|
|
1233
1233
|
grow: [{
|
|
1234
|
-
grow: ["",
|
|
1234
|
+
grow: ["", x, u, d]
|
|
1235
1235
|
}],
|
|
1236
1236
|
/**
|
|
1237
1237
|
* Flex Shrink
|
|
1238
1238
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
1239
1239
|
*/
|
|
1240
1240
|
shrink: [{
|
|
1241
|
-
shrink: ["",
|
|
1241
|
+
shrink: ["", x, u, d]
|
|
1242
1242
|
}],
|
|
1243
1243
|
/**
|
|
1244
1244
|
* Order
|
|
@@ -1252,14 +1252,14 @@ const R = (e) => {
|
|
|
1252
1252
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
1253
1253
|
*/
|
|
1254
1254
|
"grid-cols": [{
|
|
1255
|
-
"grid-cols":
|
|
1255
|
+
"grid-cols": Ge()
|
|
1256
1256
|
}],
|
|
1257
1257
|
/**
|
|
1258
1258
|
* Grid Column Start / End
|
|
1259
1259
|
* @see https://tailwindcss.com/docs/grid-column
|
|
1260
1260
|
*/
|
|
1261
1261
|
"col-start-end": [{
|
|
1262
|
-
col:
|
|
1262
|
+
col: je()
|
|
1263
1263
|
}],
|
|
1264
1264
|
/**
|
|
1265
1265
|
* Grid Column Start
|
|
@@ -1280,14 +1280,14 @@ const R = (e) => {
|
|
|
1280
1280
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
1281
1281
|
*/
|
|
1282
1282
|
"grid-rows": [{
|
|
1283
|
-
"grid-rows":
|
|
1283
|
+
"grid-rows": Ge()
|
|
1284
1284
|
}],
|
|
1285
1285
|
/**
|
|
1286
1286
|
* Grid Row Start / End
|
|
1287
1287
|
* @see https://tailwindcss.com/docs/grid-row
|
|
1288
1288
|
*/
|
|
1289
1289
|
"row-start-end": [{
|
|
1290
|
-
row:
|
|
1290
|
+
row: je()
|
|
1291
1291
|
}],
|
|
1292
1292
|
/**
|
|
1293
1293
|
* Grid Row Start
|
|
@@ -1315,35 +1315,35 @@ const R = (e) => {
|
|
|
1315
1315
|
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
1316
1316
|
*/
|
|
1317
1317
|
"auto-cols": [{
|
|
1318
|
-
"auto-cols":
|
|
1318
|
+
"auto-cols": Ue()
|
|
1319
1319
|
}],
|
|
1320
1320
|
/**
|
|
1321
1321
|
* Grid Auto Rows
|
|
1322
1322
|
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
1323
1323
|
*/
|
|
1324
1324
|
"auto-rows": [{
|
|
1325
|
-
"auto-rows":
|
|
1325
|
+
"auto-rows": Ue()
|
|
1326
1326
|
}],
|
|
1327
1327
|
/**
|
|
1328
1328
|
* Gap
|
|
1329
1329
|
* @see https://tailwindcss.com/docs/gap
|
|
1330
1330
|
*/
|
|
1331
1331
|
gap: [{
|
|
1332
|
-
gap:
|
|
1332
|
+
gap: g()
|
|
1333
1333
|
}],
|
|
1334
1334
|
/**
|
|
1335
1335
|
* Gap X
|
|
1336
1336
|
* @see https://tailwindcss.com/docs/gap
|
|
1337
1337
|
*/
|
|
1338
1338
|
"gap-x": [{
|
|
1339
|
-
"gap-x":
|
|
1339
|
+
"gap-x": g()
|
|
1340
1340
|
}],
|
|
1341
1341
|
/**
|
|
1342
1342
|
* Gap Y
|
|
1343
1343
|
* @see https://tailwindcss.com/docs/gap
|
|
1344
1344
|
*/
|
|
1345
1345
|
"gap-y": [{
|
|
1346
|
-
"gap-y":
|
|
1346
|
+
"gap-y": g()
|
|
1347
1347
|
}],
|
|
1348
1348
|
/**
|
|
1349
1349
|
* Justify Content
|
|
@@ -1418,63 +1418,63 @@ const R = (e) => {
|
|
|
1418
1418
|
* @see https://tailwindcss.com/docs/padding
|
|
1419
1419
|
*/
|
|
1420
1420
|
p: [{
|
|
1421
|
-
p:
|
|
1421
|
+
p: g()
|
|
1422
1422
|
}],
|
|
1423
1423
|
/**
|
|
1424
1424
|
* Padding X
|
|
1425
1425
|
* @see https://tailwindcss.com/docs/padding
|
|
1426
1426
|
*/
|
|
1427
1427
|
px: [{
|
|
1428
|
-
px:
|
|
1428
|
+
px: g()
|
|
1429
1429
|
}],
|
|
1430
1430
|
/**
|
|
1431
1431
|
* Padding Y
|
|
1432
1432
|
* @see https://tailwindcss.com/docs/padding
|
|
1433
1433
|
*/
|
|
1434
1434
|
py: [{
|
|
1435
|
-
py:
|
|
1435
|
+
py: g()
|
|
1436
1436
|
}],
|
|
1437
1437
|
/**
|
|
1438
1438
|
* Padding Start
|
|
1439
1439
|
* @see https://tailwindcss.com/docs/padding
|
|
1440
1440
|
*/
|
|
1441
1441
|
ps: [{
|
|
1442
|
-
ps:
|
|
1442
|
+
ps: g()
|
|
1443
1443
|
}],
|
|
1444
1444
|
/**
|
|
1445
1445
|
* Padding End
|
|
1446
1446
|
* @see https://tailwindcss.com/docs/padding
|
|
1447
1447
|
*/
|
|
1448
1448
|
pe: [{
|
|
1449
|
-
pe:
|
|
1449
|
+
pe: g()
|
|
1450
1450
|
}],
|
|
1451
1451
|
/**
|
|
1452
1452
|
* Padding Top
|
|
1453
1453
|
* @see https://tailwindcss.com/docs/padding
|
|
1454
1454
|
*/
|
|
1455
1455
|
pt: [{
|
|
1456
|
-
pt:
|
|
1456
|
+
pt: g()
|
|
1457
1457
|
}],
|
|
1458
1458
|
/**
|
|
1459
1459
|
* Padding Right
|
|
1460
1460
|
* @see https://tailwindcss.com/docs/padding
|
|
1461
1461
|
*/
|
|
1462
1462
|
pr: [{
|
|
1463
|
-
pr:
|
|
1463
|
+
pr: g()
|
|
1464
1464
|
}],
|
|
1465
1465
|
/**
|
|
1466
1466
|
* Padding Bottom
|
|
1467
1467
|
* @see https://tailwindcss.com/docs/padding
|
|
1468
1468
|
*/
|
|
1469
1469
|
pb: [{
|
|
1470
|
-
pb:
|
|
1470
|
+
pb: g()
|
|
1471
1471
|
}],
|
|
1472
1472
|
/**
|
|
1473
1473
|
* Padding Left
|
|
1474
1474
|
* @see https://tailwindcss.com/docs/padding
|
|
1475
1475
|
*/
|
|
1476
1476
|
pl: [{
|
|
1477
|
-
pl:
|
|
1477
|
+
pl: g()
|
|
1478
1478
|
}],
|
|
1479
1479
|
/**
|
|
1480
1480
|
* Margin
|
|
@@ -1544,7 +1544,7 @@ const R = (e) => {
|
|
|
1544
1544
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1545
1545
|
*/
|
|
1546
1546
|
"space-x": [{
|
|
1547
|
-
"space-x":
|
|
1547
|
+
"space-x": g()
|
|
1548
1548
|
}],
|
|
1549
1549
|
/**
|
|
1550
1550
|
* Space Between X Reverse
|
|
@@ -1556,7 +1556,7 @@ const R = (e) => {
|
|
|
1556
1556
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1557
1557
|
*/
|
|
1558
1558
|
"space-y": [{
|
|
1559
|
-
"space-y":
|
|
1559
|
+
"space-y": g()
|
|
1560
1560
|
}],
|
|
1561
1561
|
/**
|
|
1562
1562
|
* Space Between Y Reverse
|
|
@@ -1606,7 +1606,7 @@ const R = (e) => {
|
|
|
1606
1606
|
"prose",
|
|
1607
1607
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1608
1608
|
{
|
|
1609
|
-
screen: [
|
|
1609
|
+
screen: [i]
|
|
1610
1610
|
},
|
|
1611
1611
|
...U()
|
|
1612
1612
|
]
|
|
@@ -1671,7 +1671,7 @@ const R = (e) => {
|
|
|
1671
1671
|
* @see https://tailwindcss.com/docs/font-family
|
|
1672
1672
|
*/
|
|
1673
1673
|
"font-family": [{
|
|
1674
|
-
font: [
|
|
1674
|
+
font: [no, d, t]
|
|
1675
1675
|
}],
|
|
1676
1676
|
/**
|
|
1677
1677
|
* Font Variant Numeric
|
|
@@ -1715,7 +1715,7 @@ const R = (e) => {
|
|
|
1715
1715
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1716
1716
|
*/
|
|
1717
1717
|
"line-clamp": [{
|
|
1718
|
-
"line-clamp": [
|
|
1718
|
+
"line-clamp": [x, "none", u, ke]
|
|
1719
1719
|
}],
|
|
1720
1720
|
/**
|
|
1721
1721
|
* Line Height
|
|
@@ -1725,7 +1725,7 @@ const R = (e) => {
|
|
|
1725
1725
|
leading: [
|
|
1726
1726
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1727
1727
|
a,
|
|
1728
|
-
...
|
|
1728
|
+
...g()
|
|
1729
1729
|
]
|
|
1730
1730
|
}],
|
|
1731
1731
|
/**
|
|
@@ -1762,14 +1762,14 @@ const R = (e) => {
|
|
|
1762
1762
|
* @see https://v3.tailwindcss.com/docs/placeholder-color
|
|
1763
1763
|
*/
|
|
1764
1764
|
"placeholder-color": [{
|
|
1765
|
-
placeholder:
|
|
1765
|
+
placeholder: b()
|
|
1766
1766
|
}],
|
|
1767
1767
|
/**
|
|
1768
1768
|
* Text Color
|
|
1769
1769
|
* @see https://tailwindcss.com/docs/text-color
|
|
1770
1770
|
*/
|
|
1771
1771
|
"text-color": [{
|
|
1772
|
-
text:
|
|
1772
|
+
text: b()
|
|
1773
1773
|
}],
|
|
1774
1774
|
/**
|
|
1775
1775
|
* Text Decoration
|
|
@@ -1788,21 +1788,21 @@ const R = (e) => {
|
|
|
1788
1788
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1789
1789
|
*/
|
|
1790
1790
|
"text-decoration-thickness": [{
|
|
1791
|
-
decoration: [
|
|
1791
|
+
decoration: [x, "from-font", "auto", u, F]
|
|
1792
1792
|
}],
|
|
1793
1793
|
/**
|
|
1794
1794
|
* Text Decoration Color
|
|
1795
1795
|
* @see https://tailwindcss.com/docs/text-decoration-color
|
|
1796
1796
|
*/
|
|
1797
1797
|
"text-decoration-color": [{
|
|
1798
|
-
decoration:
|
|
1798
|
+
decoration: b()
|
|
1799
1799
|
}],
|
|
1800
1800
|
/**
|
|
1801
1801
|
* Text Underline Offset
|
|
1802
1802
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1803
1803
|
*/
|
|
1804
1804
|
"underline-offset": [{
|
|
1805
|
-
"underline-offset": [
|
|
1805
|
+
"underline-offset": [x, "auto", u, d]
|
|
1806
1806
|
}],
|
|
1807
1807
|
/**
|
|
1808
1808
|
* Text Transform
|
|
@@ -1826,7 +1826,7 @@ const R = (e) => {
|
|
|
1826
1826
|
* @see https://tailwindcss.com/docs/text-indent
|
|
1827
1827
|
*/
|
|
1828
1828
|
indent: [{
|
|
1829
|
-
indent:
|
|
1829
|
+
indent: g()
|
|
1830
1830
|
}],
|
|
1831
1831
|
/**
|
|
1832
1832
|
* Vertical Alignment
|
|
@@ -1899,21 +1899,21 @@ const R = (e) => {
|
|
|
1899
1899
|
* @see https://tailwindcss.com/docs/background-position
|
|
1900
1900
|
*/
|
|
1901
1901
|
"bg-position": [{
|
|
1902
|
-
bg:
|
|
1902
|
+
bg: Fe()
|
|
1903
1903
|
}],
|
|
1904
1904
|
/**
|
|
1905
1905
|
* Background Repeat
|
|
1906
1906
|
* @see https://tailwindcss.com/docs/background-repeat
|
|
1907
1907
|
*/
|
|
1908
1908
|
"bg-repeat": [{
|
|
1909
|
-
bg:
|
|
1909
|
+
bg: We()
|
|
1910
1910
|
}],
|
|
1911
1911
|
/**
|
|
1912
1912
|
* Background Size
|
|
1913
1913
|
* @see https://tailwindcss.com/docs/background-size
|
|
1914
1914
|
*/
|
|
1915
1915
|
"bg-size": [{
|
|
1916
|
-
bg:
|
|
1916
|
+
bg: He()
|
|
1917
1917
|
}],
|
|
1918
1918
|
/**
|
|
1919
1919
|
* Background Image
|
|
@@ -1926,14 +1926,14 @@ const R = (e) => {
|
|
|
1926
1926
|
}, j, u, d],
|
|
1927
1927
|
radial: ["", u, d],
|
|
1928
1928
|
conic: [j, u, d]
|
|
1929
|
-
},
|
|
1929
|
+
}, so, oo]
|
|
1930
1930
|
}],
|
|
1931
1931
|
/**
|
|
1932
1932
|
* Background Color
|
|
1933
1933
|
* @see https://tailwindcss.com/docs/background-color
|
|
1934
1934
|
*/
|
|
1935
1935
|
"bg-color": [{
|
|
1936
|
-
bg:
|
|
1936
|
+
bg: b()
|
|
1937
1937
|
}],
|
|
1938
1938
|
/**
|
|
1939
1939
|
* Gradient Color Stops From Position
|
|
@@ -1961,21 +1961,21 @@ const R = (e) => {
|
|
|
1961
1961
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1962
1962
|
*/
|
|
1963
1963
|
"gradient-from": [{
|
|
1964
|
-
from:
|
|
1964
|
+
from: b()
|
|
1965
1965
|
}],
|
|
1966
1966
|
/**
|
|
1967
1967
|
* Gradient Color Stops Via
|
|
1968
1968
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1969
1969
|
*/
|
|
1970
1970
|
"gradient-via": [{
|
|
1971
|
-
via:
|
|
1971
|
+
via: b()
|
|
1972
1972
|
}],
|
|
1973
1973
|
/**
|
|
1974
1974
|
* Gradient Color Stops To
|
|
1975
1975
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1976
1976
|
*/
|
|
1977
1977
|
"gradient-to": [{
|
|
1978
|
-
to:
|
|
1978
|
+
to: b()
|
|
1979
1979
|
}],
|
|
1980
1980
|
// ---------------
|
|
1981
1981
|
// --- Borders ---
|
|
@@ -2090,70 +2090,70 @@ const R = (e) => {
|
|
|
2090
2090
|
* @see https://tailwindcss.com/docs/border-width
|
|
2091
2091
|
*/
|
|
2092
2092
|
"border-w": [{
|
|
2093
|
-
border:
|
|
2093
|
+
border: B()
|
|
2094
2094
|
}],
|
|
2095
2095
|
/**
|
|
2096
2096
|
* Border Width X
|
|
2097
2097
|
* @see https://tailwindcss.com/docs/border-width
|
|
2098
2098
|
*/
|
|
2099
2099
|
"border-w-x": [{
|
|
2100
|
-
"border-x":
|
|
2100
|
+
"border-x": B()
|
|
2101
2101
|
}],
|
|
2102
2102
|
/**
|
|
2103
2103
|
* Border Width Y
|
|
2104
2104
|
* @see https://tailwindcss.com/docs/border-width
|
|
2105
2105
|
*/
|
|
2106
2106
|
"border-w-y": [{
|
|
2107
|
-
"border-y":
|
|
2107
|
+
"border-y": B()
|
|
2108
2108
|
}],
|
|
2109
2109
|
/**
|
|
2110
2110
|
* Border Width Start
|
|
2111
2111
|
* @see https://tailwindcss.com/docs/border-width
|
|
2112
2112
|
*/
|
|
2113
2113
|
"border-w-s": [{
|
|
2114
|
-
"border-s":
|
|
2114
|
+
"border-s": B()
|
|
2115
2115
|
}],
|
|
2116
2116
|
/**
|
|
2117
2117
|
* Border Width End
|
|
2118
2118
|
* @see https://tailwindcss.com/docs/border-width
|
|
2119
2119
|
*/
|
|
2120
2120
|
"border-w-e": [{
|
|
2121
|
-
"border-e":
|
|
2121
|
+
"border-e": B()
|
|
2122
2122
|
}],
|
|
2123
2123
|
/**
|
|
2124
2124
|
* Border Width Top
|
|
2125
2125
|
* @see https://tailwindcss.com/docs/border-width
|
|
2126
2126
|
*/
|
|
2127
2127
|
"border-w-t": [{
|
|
2128
|
-
"border-t":
|
|
2128
|
+
"border-t": B()
|
|
2129
2129
|
}],
|
|
2130
2130
|
/**
|
|
2131
2131
|
* Border Width Right
|
|
2132
2132
|
* @see https://tailwindcss.com/docs/border-width
|
|
2133
2133
|
*/
|
|
2134
2134
|
"border-w-r": [{
|
|
2135
|
-
"border-r":
|
|
2135
|
+
"border-r": B()
|
|
2136
2136
|
}],
|
|
2137
2137
|
/**
|
|
2138
2138
|
* Border Width Bottom
|
|
2139
2139
|
* @see https://tailwindcss.com/docs/border-width
|
|
2140
2140
|
*/
|
|
2141
2141
|
"border-w-b": [{
|
|
2142
|
-
"border-b":
|
|
2142
|
+
"border-b": B()
|
|
2143
2143
|
}],
|
|
2144
2144
|
/**
|
|
2145
2145
|
* Border Width Left
|
|
2146
2146
|
* @see https://tailwindcss.com/docs/border-width
|
|
2147
2147
|
*/
|
|
2148
2148
|
"border-w-l": [{
|
|
2149
|
-
"border-l":
|
|
2149
|
+
"border-l": B()
|
|
2150
2150
|
}],
|
|
2151
2151
|
/**
|
|
2152
2152
|
* Divide Width X
|
|
2153
2153
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
2154
2154
|
*/
|
|
2155
2155
|
"divide-x": [{
|
|
2156
|
-
"divide-x":
|
|
2156
|
+
"divide-x": B()
|
|
2157
2157
|
}],
|
|
2158
2158
|
/**
|
|
2159
2159
|
* Divide Width X Reverse
|
|
@@ -2165,7 +2165,7 @@ const R = (e) => {
|
|
|
2165
2165
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
2166
2166
|
*/
|
|
2167
2167
|
"divide-y": [{
|
|
2168
|
-
"divide-y":
|
|
2168
|
+
"divide-y": B()
|
|
2169
2169
|
}],
|
|
2170
2170
|
/**
|
|
2171
2171
|
* Divide Width Y Reverse
|
|
@@ -2191,70 +2191,70 @@ const R = (e) => {
|
|
|
2191
2191
|
* @see https://tailwindcss.com/docs/border-color
|
|
2192
2192
|
*/
|
|
2193
2193
|
"border-color": [{
|
|
2194
|
-
border:
|
|
2194
|
+
border: b()
|
|
2195
2195
|
}],
|
|
2196
2196
|
/**
|
|
2197
2197
|
* Border Color X
|
|
2198
2198
|
* @see https://tailwindcss.com/docs/border-color
|
|
2199
2199
|
*/
|
|
2200
2200
|
"border-color-x": [{
|
|
2201
|
-
"border-x":
|
|
2201
|
+
"border-x": b()
|
|
2202
2202
|
}],
|
|
2203
2203
|
/**
|
|
2204
2204
|
* Border Color Y
|
|
2205
2205
|
* @see https://tailwindcss.com/docs/border-color
|
|
2206
2206
|
*/
|
|
2207
2207
|
"border-color-y": [{
|
|
2208
|
-
"border-y":
|
|
2208
|
+
"border-y": b()
|
|
2209
2209
|
}],
|
|
2210
2210
|
/**
|
|
2211
2211
|
* Border Color S
|
|
2212
2212
|
* @see https://tailwindcss.com/docs/border-color
|
|
2213
2213
|
*/
|
|
2214
2214
|
"border-color-s": [{
|
|
2215
|
-
"border-s":
|
|
2215
|
+
"border-s": b()
|
|
2216
2216
|
}],
|
|
2217
2217
|
/**
|
|
2218
2218
|
* Border Color E
|
|
2219
2219
|
* @see https://tailwindcss.com/docs/border-color
|
|
2220
2220
|
*/
|
|
2221
2221
|
"border-color-e": [{
|
|
2222
|
-
"border-e":
|
|
2222
|
+
"border-e": b()
|
|
2223
2223
|
}],
|
|
2224
2224
|
/**
|
|
2225
2225
|
* Border Color Top
|
|
2226
2226
|
* @see https://tailwindcss.com/docs/border-color
|
|
2227
2227
|
*/
|
|
2228
2228
|
"border-color-t": [{
|
|
2229
|
-
"border-t":
|
|
2229
|
+
"border-t": b()
|
|
2230
2230
|
}],
|
|
2231
2231
|
/**
|
|
2232
2232
|
* Border Color Right
|
|
2233
2233
|
* @see https://tailwindcss.com/docs/border-color
|
|
2234
2234
|
*/
|
|
2235
2235
|
"border-color-r": [{
|
|
2236
|
-
"border-r":
|
|
2236
|
+
"border-r": b()
|
|
2237
2237
|
}],
|
|
2238
2238
|
/**
|
|
2239
2239
|
* Border Color Bottom
|
|
2240
2240
|
* @see https://tailwindcss.com/docs/border-color
|
|
2241
2241
|
*/
|
|
2242
2242
|
"border-color-b": [{
|
|
2243
|
-
"border-b":
|
|
2243
|
+
"border-b": b()
|
|
2244
2244
|
}],
|
|
2245
2245
|
/**
|
|
2246
2246
|
* Border Color Left
|
|
2247
2247
|
* @see https://tailwindcss.com/docs/border-color
|
|
2248
2248
|
*/
|
|
2249
2249
|
"border-color-l": [{
|
|
2250
|
-
"border-l":
|
|
2250
|
+
"border-l": b()
|
|
2251
2251
|
}],
|
|
2252
2252
|
/**
|
|
2253
2253
|
* Divide Color
|
|
2254
2254
|
* @see https://tailwindcss.com/docs/divide-color
|
|
2255
2255
|
*/
|
|
2256
2256
|
"divide-color": [{
|
|
2257
|
-
divide:
|
|
2257
|
+
divide: b()
|
|
2258
2258
|
}],
|
|
2259
2259
|
/**
|
|
2260
2260
|
* Outline Style
|
|
@@ -2268,21 +2268,21 @@ const R = (e) => {
|
|
|
2268
2268
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
2269
2269
|
*/
|
|
2270
2270
|
"outline-offset": [{
|
|
2271
|
-
"outline-offset": [
|
|
2271
|
+
"outline-offset": [x, u, d]
|
|
2272
2272
|
}],
|
|
2273
2273
|
/**
|
|
2274
2274
|
* Outline Width
|
|
2275
2275
|
* @see https://tailwindcss.com/docs/outline-width
|
|
2276
2276
|
*/
|
|
2277
2277
|
"outline-w": [{
|
|
2278
|
-
outline: ["",
|
|
2278
|
+
outline: ["", x, X, F]
|
|
2279
2279
|
}],
|
|
2280
2280
|
/**
|
|
2281
2281
|
* Outline Color
|
|
2282
2282
|
* @see https://tailwindcss.com/docs/outline-color
|
|
2283
2283
|
*/
|
|
2284
2284
|
"outline-color": [{
|
|
2285
|
-
outline:
|
|
2285
|
+
outline: b()
|
|
2286
2286
|
}],
|
|
2287
2287
|
// ---------------
|
|
2288
2288
|
// --- Effects ---
|
|
@@ -2306,7 +2306,7 @@ const R = (e) => {
|
|
|
2306
2306
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
|
|
2307
2307
|
*/
|
|
2308
2308
|
"shadow-color": [{
|
|
2309
|
-
shadow:
|
|
2309
|
+
shadow: b()
|
|
2310
2310
|
}],
|
|
2311
2311
|
/**
|
|
2312
2312
|
* Inset Box Shadow
|
|
@@ -2320,14 +2320,14 @@ const R = (e) => {
|
|
|
2320
2320
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
|
|
2321
2321
|
*/
|
|
2322
2322
|
"inset-shadow-color": [{
|
|
2323
|
-
"inset-shadow":
|
|
2323
|
+
"inset-shadow": b()
|
|
2324
2324
|
}],
|
|
2325
2325
|
/**
|
|
2326
2326
|
* Ring Width
|
|
2327
2327
|
* @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
|
|
2328
2328
|
*/
|
|
2329
2329
|
"ring-w": [{
|
|
2330
|
-
ring:
|
|
2330
|
+
ring: B()
|
|
2331
2331
|
}],
|
|
2332
2332
|
/**
|
|
2333
2333
|
* Ring Width Inset
|
|
@@ -2341,7 +2341,7 @@ const R = (e) => {
|
|
|
2341
2341
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
|
|
2342
2342
|
*/
|
|
2343
2343
|
"ring-color": [{
|
|
2344
|
-
ring:
|
|
2344
|
+
ring: b()
|
|
2345
2345
|
}],
|
|
2346
2346
|
/**
|
|
2347
2347
|
* Ring Offset Width
|
|
@@ -2350,7 +2350,7 @@ const R = (e) => {
|
|
|
2350
2350
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
2351
2351
|
*/
|
|
2352
2352
|
"ring-offset-w": [{
|
|
2353
|
-
"ring-offset": [
|
|
2353
|
+
"ring-offset": [x, F]
|
|
2354
2354
|
}],
|
|
2355
2355
|
/**
|
|
2356
2356
|
* Ring Offset Color
|
|
@@ -2359,21 +2359,21 @@ const R = (e) => {
|
|
|
2359
2359
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
2360
2360
|
*/
|
|
2361
2361
|
"ring-offset-color": [{
|
|
2362
|
-
"ring-offset":
|
|
2362
|
+
"ring-offset": b()
|
|
2363
2363
|
}],
|
|
2364
2364
|
/**
|
|
2365
2365
|
* Inset Ring Width
|
|
2366
2366
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
|
|
2367
2367
|
*/
|
|
2368
2368
|
"inset-ring-w": [{
|
|
2369
|
-
"inset-ring":
|
|
2369
|
+
"inset-ring": B()
|
|
2370
2370
|
}],
|
|
2371
2371
|
/**
|
|
2372
2372
|
* Inset Ring Color
|
|
2373
2373
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
|
|
2374
2374
|
*/
|
|
2375
2375
|
"inset-ring-color": [{
|
|
2376
|
-
"inset-ring":
|
|
2376
|
+
"inset-ring": b()
|
|
2377
2377
|
}],
|
|
2378
2378
|
/**
|
|
2379
2379
|
* Text Shadow
|
|
@@ -2387,28 +2387,28 @@ const R = (e) => {
|
|
|
2387
2387
|
* @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
|
|
2388
2388
|
*/
|
|
2389
2389
|
"text-shadow-color": [{
|
|
2390
|
-
"text-shadow":
|
|
2390
|
+
"text-shadow": b()
|
|
2391
2391
|
}],
|
|
2392
2392
|
/**
|
|
2393
2393
|
* Opacity
|
|
2394
2394
|
* @see https://tailwindcss.com/docs/opacity
|
|
2395
2395
|
*/
|
|
2396
2396
|
opacity: [{
|
|
2397
|
-
opacity: [
|
|
2397
|
+
opacity: [x, u, d]
|
|
2398
2398
|
}],
|
|
2399
2399
|
/**
|
|
2400
2400
|
* Mix Blend Mode
|
|
2401
2401
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
2402
2402
|
*/
|
|
2403
2403
|
"mix-blend": [{
|
|
2404
|
-
"mix-blend": [...
|
|
2404
|
+
"mix-blend": [...qe(), "plus-darker", "plus-lighter"]
|
|
2405
2405
|
}],
|
|
2406
2406
|
/**
|
|
2407
2407
|
* Background Blend Mode
|
|
2408
2408
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
2409
2409
|
*/
|
|
2410
2410
|
"bg-blend": [{
|
|
2411
|
-
"bg-blend":
|
|
2411
|
+
"bg-blend": qe()
|
|
2412
2412
|
}],
|
|
2413
2413
|
/**
|
|
2414
2414
|
* Mask Clip
|
|
@@ -2429,7 +2429,7 @@ const R = (e) => {
|
|
|
2429
2429
|
* @see https://tailwindcss.com/docs/mask-image
|
|
2430
2430
|
*/
|
|
2431
2431
|
"mask-image-linear-pos": [{
|
|
2432
|
-
"mask-linear": [
|
|
2432
|
+
"mask-linear": [x]
|
|
2433
2433
|
}],
|
|
2434
2434
|
"mask-image-linear-from-pos": [{
|
|
2435
2435
|
"mask-linear-from": M()
|
|
@@ -2438,10 +2438,10 @@ const R = (e) => {
|
|
|
2438
2438
|
"mask-linear-to": M()
|
|
2439
2439
|
}],
|
|
2440
2440
|
"mask-image-linear-from-color": [{
|
|
2441
|
-
"mask-linear-from":
|
|
2441
|
+
"mask-linear-from": b()
|
|
2442
2442
|
}],
|
|
2443
2443
|
"mask-image-linear-to-color": [{
|
|
2444
|
-
"mask-linear-to":
|
|
2444
|
+
"mask-linear-to": b()
|
|
2445
2445
|
}],
|
|
2446
2446
|
"mask-image-t-from-pos": [{
|
|
2447
2447
|
"mask-t-from": M()
|
|
@@ -2450,10 +2450,10 @@ const R = (e) => {
|
|
|
2450
2450
|
"mask-t-to": M()
|
|
2451
2451
|
}],
|
|
2452
2452
|
"mask-image-t-from-color": [{
|
|
2453
|
-
"mask-t-from":
|
|
2453
|
+
"mask-t-from": b()
|
|
2454
2454
|
}],
|
|
2455
2455
|
"mask-image-t-to-color": [{
|
|
2456
|
-
"mask-t-to":
|
|
2456
|
+
"mask-t-to": b()
|
|
2457
2457
|
}],
|
|
2458
2458
|
"mask-image-r-from-pos": [{
|
|
2459
2459
|
"mask-r-from": M()
|
|
@@ -2462,10 +2462,10 @@ const R = (e) => {
|
|
|
2462
2462
|
"mask-r-to": M()
|
|
2463
2463
|
}],
|
|
2464
2464
|
"mask-image-r-from-color": [{
|
|
2465
|
-
"mask-r-from":
|
|
2465
|
+
"mask-r-from": b()
|
|
2466
2466
|
}],
|
|
2467
2467
|
"mask-image-r-to-color": [{
|
|
2468
|
-
"mask-r-to":
|
|
2468
|
+
"mask-r-to": b()
|
|
2469
2469
|
}],
|
|
2470
2470
|
"mask-image-b-from-pos": [{
|
|
2471
2471
|
"mask-b-from": M()
|
|
@@ -2474,10 +2474,10 @@ const R = (e) => {
|
|
|
2474
2474
|
"mask-b-to": M()
|
|
2475
2475
|
}],
|
|
2476
2476
|
"mask-image-b-from-color": [{
|
|
2477
|
-
"mask-b-from":
|
|
2477
|
+
"mask-b-from": b()
|
|
2478
2478
|
}],
|
|
2479
2479
|
"mask-image-b-to-color": [{
|
|
2480
|
-
"mask-b-to":
|
|
2480
|
+
"mask-b-to": b()
|
|
2481
2481
|
}],
|
|
2482
2482
|
"mask-image-l-from-pos": [{
|
|
2483
2483
|
"mask-l-from": M()
|
|
@@ -2486,10 +2486,10 @@ const R = (e) => {
|
|
|
2486
2486
|
"mask-l-to": M()
|
|
2487
2487
|
}],
|
|
2488
2488
|
"mask-image-l-from-color": [{
|
|
2489
|
-
"mask-l-from":
|
|
2489
|
+
"mask-l-from": b()
|
|
2490
2490
|
}],
|
|
2491
2491
|
"mask-image-l-to-color": [{
|
|
2492
|
-
"mask-l-to":
|
|
2492
|
+
"mask-l-to": b()
|
|
2493
2493
|
}],
|
|
2494
2494
|
"mask-image-x-from-pos": [{
|
|
2495
2495
|
"mask-x-from": M()
|
|
@@ -2498,10 +2498,10 @@ const R = (e) => {
|
|
|
2498
2498
|
"mask-x-to": M()
|
|
2499
2499
|
}],
|
|
2500
2500
|
"mask-image-x-from-color": [{
|
|
2501
|
-
"mask-x-from":
|
|
2501
|
+
"mask-x-from": b()
|
|
2502
2502
|
}],
|
|
2503
2503
|
"mask-image-x-to-color": [{
|
|
2504
|
-
"mask-x-to":
|
|
2504
|
+
"mask-x-to": b()
|
|
2505
2505
|
}],
|
|
2506
2506
|
"mask-image-y-from-pos": [{
|
|
2507
2507
|
"mask-y-from": M()
|
|
@@ -2510,10 +2510,10 @@ const R = (e) => {
|
|
|
2510
2510
|
"mask-y-to": M()
|
|
2511
2511
|
}],
|
|
2512
2512
|
"mask-image-y-from-color": [{
|
|
2513
|
-
"mask-y-from":
|
|
2513
|
+
"mask-y-from": b()
|
|
2514
2514
|
}],
|
|
2515
2515
|
"mask-image-y-to-color": [{
|
|
2516
|
-
"mask-y-to":
|
|
2516
|
+
"mask-y-to": b()
|
|
2517
2517
|
}],
|
|
2518
2518
|
"mask-image-radial": [{
|
|
2519
2519
|
"mask-radial": [u, d]
|
|
@@ -2525,10 +2525,10 @@ const R = (e) => {
|
|
|
2525
2525
|
"mask-radial-to": M()
|
|
2526
2526
|
}],
|
|
2527
2527
|
"mask-image-radial-from-color": [{
|
|
2528
|
-
"mask-radial-from":
|
|
2528
|
+
"mask-radial-from": b()
|
|
2529
2529
|
}],
|
|
2530
2530
|
"mask-image-radial-to-color": [{
|
|
2531
|
-
"mask-radial-to":
|
|
2531
|
+
"mask-radial-to": b()
|
|
2532
2532
|
}],
|
|
2533
2533
|
"mask-image-radial-shape": [{
|
|
2534
2534
|
"mask-radial": ["circle", "ellipse"]
|
|
@@ -2543,7 +2543,7 @@ const R = (e) => {
|
|
|
2543
2543
|
"mask-radial-at": S()
|
|
2544
2544
|
}],
|
|
2545
2545
|
"mask-image-conic-pos": [{
|
|
2546
|
-
"mask-conic": [
|
|
2546
|
+
"mask-conic": [x]
|
|
2547
2547
|
}],
|
|
2548
2548
|
"mask-image-conic-from-pos": [{
|
|
2549
2549
|
"mask-conic-from": M()
|
|
@@ -2552,10 +2552,10 @@ const R = (e) => {
|
|
|
2552
2552
|
"mask-conic-to": M()
|
|
2553
2553
|
}],
|
|
2554
2554
|
"mask-image-conic-from-color": [{
|
|
2555
|
-
"mask-conic-from":
|
|
2555
|
+
"mask-conic-from": b()
|
|
2556
2556
|
}],
|
|
2557
2557
|
"mask-image-conic-to-color": [{
|
|
2558
|
-
"mask-conic-to":
|
|
2558
|
+
"mask-conic-to": b()
|
|
2559
2559
|
}],
|
|
2560
2560
|
/**
|
|
2561
2561
|
* Mask Mode
|
|
@@ -2576,21 +2576,21 @@ const R = (e) => {
|
|
|
2576
2576
|
* @see https://tailwindcss.com/docs/mask-position
|
|
2577
2577
|
*/
|
|
2578
2578
|
"mask-position": [{
|
|
2579
|
-
mask:
|
|
2579
|
+
mask: Fe()
|
|
2580
2580
|
}],
|
|
2581
2581
|
/**
|
|
2582
2582
|
* Mask Repeat
|
|
2583
2583
|
* @see https://tailwindcss.com/docs/mask-repeat
|
|
2584
2584
|
*/
|
|
2585
2585
|
"mask-repeat": [{
|
|
2586
|
-
mask:
|
|
2586
|
+
mask: We()
|
|
2587
2587
|
}],
|
|
2588
2588
|
/**
|
|
2589
2589
|
* Mask Size
|
|
2590
2590
|
* @see https://tailwindcss.com/docs/mask-size
|
|
2591
2591
|
*/
|
|
2592
2592
|
"mask-size": [{
|
|
2593
|
-
mask:
|
|
2593
|
+
mask: He()
|
|
2594
2594
|
}],
|
|
2595
2595
|
/**
|
|
2596
2596
|
* Mask Type
|
|
@@ -2627,21 +2627,21 @@ const R = (e) => {
|
|
|
2627
2627
|
* @see https://tailwindcss.com/docs/blur
|
|
2628
2628
|
*/
|
|
2629
2629
|
blur: [{
|
|
2630
|
-
blur:
|
|
2630
|
+
blur: Ke()
|
|
2631
2631
|
}],
|
|
2632
2632
|
/**
|
|
2633
2633
|
* Brightness
|
|
2634
2634
|
* @see https://tailwindcss.com/docs/brightness
|
|
2635
2635
|
*/
|
|
2636
2636
|
brightness: [{
|
|
2637
|
-
brightness: [
|
|
2637
|
+
brightness: [x, u, d]
|
|
2638
2638
|
}],
|
|
2639
2639
|
/**
|
|
2640
2640
|
* Contrast
|
|
2641
2641
|
* @see https://tailwindcss.com/docs/contrast
|
|
2642
2642
|
*/
|
|
2643
2643
|
contrast: [{
|
|
2644
|
-
contrast: [
|
|
2644
|
+
contrast: [x, u, d]
|
|
2645
2645
|
}],
|
|
2646
2646
|
/**
|
|
2647
2647
|
* Drop Shadow
|
|
@@ -2662,42 +2662,42 @@ const R = (e) => {
|
|
|
2662
2662
|
* @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
|
|
2663
2663
|
*/
|
|
2664
2664
|
"drop-shadow-color": [{
|
|
2665
|
-
"drop-shadow":
|
|
2665
|
+
"drop-shadow": b()
|
|
2666
2666
|
}],
|
|
2667
2667
|
/**
|
|
2668
2668
|
* Grayscale
|
|
2669
2669
|
* @see https://tailwindcss.com/docs/grayscale
|
|
2670
2670
|
*/
|
|
2671
2671
|
grayscale: [{
|
|
2672
|
-
grayscale: ["",
|
|
2672
|
+
grayscale: ["", x, u, d]
|
|
2673
2673
|
}],
|
|
2674
2674
|
/**
|
|
2675
2675
|
* Hue Rotate
|
|
2676
2676
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
2677
2677
|
*/
|
|
2678
2678
|
"hue-rotate": [{
|
|
2679
|
-
"hue-rotate": [
|
|
2679
|
+
"hue-rotate": [x, u, d]
|
|
2680
2680
|
}],
|
|
2681
2681
|
/**
|
|
2682
2682
|
* Invert
|
|
2683
2683
|
* @see https://tailwindcss.com/docs/invert
|
|
2684
2684
|
*/
|
|
2685
2685
|
invert: [{
|
|
2686
|
-
invert: ["",
|
|
2686
|
+
invert: ["", x, u, d]
|
|
2687
2687
|
}],
|
|
2688
2688
|
/**
|
|
2689
2689
|
* Saturate
|
|
2690
2690
|
* @see https://tailwindcss.com/docs/saturate
|
|
2691
2691
|
*/
|
|
2692
2692
|
saturate: [{
|
|
2693
|
-
saturate: [
|
|
2693
|
+
saturate: [x, u, d]
|
|
2694
2694
|
}],
|
|
2695
2695
|
/**
|
|
2696
2696
|
* Sepia
|
|
2697
2697
|
* @see https://tailwindcss.com/docs/sepia
|
|
2698
2698
|
*/
|
|
2699
2699
|
sepia: [{
|
|
2700
|
-
sepia: ["",
|
|
2700
|
+
sepia: ["", x, u, d]
|
|
2701
2701
|
}],
|
|
2702
2702
|
/**
|
|
2703
2703
|
* Backdrop Filter
|
|
@@ -2717,63 +2717,63 @@ const R = (e) => {
|
|
|
2717
2717
|
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
2718
2718
|
*/
|
|
2719
2719
|
"backdrop-blur": [{
|
|
2720
|
-
"backdrop-blur":
|
|
2720
|
+
"backdrop-blur": Ke()
|
|
2721
2721
|
}],
|
|
2722
2722
|
/**
|
|
2723
2723
|
* Backdrop Brightness
|
|
2724
2724
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
2725
2725
|
*/
|
|
2726
2726
|
"backdrop-brightness": [{
|
|
2727
|
-
"backdrop-brightness": [
|
|
2727
|
+
"backdrop-brightness": [x, u, d]
|
|
2728
2728
|
}],
|
|
2729
2729
|
/**
|
|
2730
2730
|
* Backdrop Contrast
|
|
2731
2731
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
2732
2732
|
*/
|
|
2733
2733
|
"backdrop-contrast": [{
|
|
2734
|
-
"backdrop-contrast": [
|
|
2734
|
+
"backdrop-contrast": [x, u, d]
|
|
2735
2735
|
}],
|
|
2736
2736
|
/**
|
|
2737
2737
|
* Backdrop Grayscale
|
|
2738
2738
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
2739
2739
|
*/
|
|
2740
2740
|
"backdrop-grayscale": [{
|
|
2741
|
-
"backdrop-grayscale": ["",
|
|
2741
|
+
"backdrop-grayscale": ["", x, u, d]
|
|
2742
2742
|
}],
|
|
2743
2743
|
/**
|
|
2744
2744
|
* Backdrop Hue Rotate
|
|
2745
2745
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
2746
2746
|
*/
|
|
2747
2747
|
"backdrop-hue-rotate": [{
|
|
2748
|
-
"backdrop-hue-rotate": [
|
|
2748
|
+
"backdrop-hue-rotate": [x, u, d]
|
|
2749
2749
|
}],
|
|
2750
2750
|
/**
|
|
2751
2751
|
* Backdrop Invert
|
|
2752
2752
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
2753
2753
|
*/
|
|
2754
2754
|
"backdrop-invert": [{
|
|
2755
|
-
"backdrop-invert": ["",
|
|
2755
|
+
"backdrop-invert": ["", x, u, d]
|
|
2756
2756
|
}],
|
|
2757
2757
|
/**
|
|
2758
2758
|
* Backdrop Opacity
|
|
2759
2759
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
2760
2760
|
*/
|
|
2761
2761
|
"backdrop-opacity": [{
|
|
2762
|
-
"backdrop-opacity": [
|
|
2762
|
+
"backdrop-opacity": [x, u, d]
|
|
2763
2763
|
}],
|
|
2764
2764
|
/**
|
|
2765
2765
|
* Backdrop Saturate
|
|
2766
2766
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
2767
2767
|
*/
|
|
2768
2768
|
"backdrop-saturate": [{
|
|
2769
|
-
"backdrop-saturate": [
|
|
2769
|
+
"backdrop-saturate": [x, u, d]
|
|
2770
2770
|
}],
|
|
2771
2771
|
/**
|
|
2772
2772
|
* Backdrop Sepia
|
|
2773
2773
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
2774
2774
|
*/
|
|
2775
2775
|
"backdrop-sepia": [{
|
|
2776
|
-
"backdrop-sepia": ["",
|
|
2776
|
+
"backdrop-sepia": ["", x, u, d]
|
|
2777
2777
|
}],
|
|
2778
2778
|
// --------------
|
|
2779
2779
|
// --- Tables ---
|
|
@@ -2790,21 +2790,21 @@ const R = (e) => {
|
|
|
2790
2790
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2791
2791
|
*/
|
|
2792
2792
|
"border-spacing": [{
|
|
2793
|
-
"border-spacing":
|
|
2793
|
+
"border-spacing": g()
|
|
2794
2794
|
}],
|
|
2795
2795
|
/**
|
|
2796
2796
|
* Border Spacing X
|
|
2797
2797
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2798
2798
|
*/
|
|
2799
2799
|
"border-spacing-x": [{
|
|
2800
|
-
"border-spacing-x":
|
|
2800
|
+
"border-spacing-x": g()
|
|
2801
2801
|
}],
|
|
2802
2802
|
/**
|
|
2803
2803
|
* Border Spacing Y
|
|
2804
2804
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2805
2805
|
*/
|
|
2806
2806
|
"border-spacing-y": [{
|
|
2807
|
-
"border-spacing-y":
|
|
2807
|
+
"border-spacing-y": g()
|
|
2808
2808
|
}],
|
|
2809
2809
|
/**
|
|
2810
2810
|
* Table Layout
|
|
@@ -2842,7 +2842,7 @@ const R = (e) => {
|
|
|
2842
2842
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
2843
2843
|
*/
|
|
2844
2844
|
duration: [{
|
|
2845
|
-
duration: [
|
|
2845
|
+
duration: [x, "initial", u, d]
|
|
2846
2846
|
}],
|
|
2847
2847
|
/**
|
|
2848
2848
|
* Transition Timing Function
|
|
@@ -2856,7 +2856,7 @@ const R = (e) => {
|
|
|
2856
2856
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
2857
2857
|
*/
|
|
2858
2858
|
delay: [{
|
|
2859
|
-
delay: [
|
|
2859
|
+
delay: [x, u, d]
|
|
2860
2860
|
}],
|
|
2861
2861
|
/**
|
|
2862
2862
|
* Animation
|
|
@@ -2887,7 +2887,7 @@ const R = (e) => {
|
|
|
2887
2887
|
* @see https://tailwindcss.com/docs/perspective-origin
|
|
2888
2888
|
*/
|
|
2889
2889
|
"perspective-origin": [{
|
|
2890
|
-
"perspective-origin":
|
|
2890
|
+
"perspective-origin": O()
|
|
2891
2891
|
}],
|
|
2892
2892
|
/**
|
|
2893
2893
|
* Rotate
|
|
@@ -2983,7 +2983,7 @@ const R = (e) => {
|
|
|
2983
2983
|
* @see https://tailwindcss.com/docs/transform-origin
|
|
2984
2984
|
*/
|
|
2985
2985
|
"transform-origin": [{
|
|
2986
|
-
origin:
|
|
2986
|
+
origin: O()
|
|
2987
2987
|
}],
|
|
2988
2988
|
/**
|
|
2989
2989
|
* Transform Style
|
|
@@ -3033,7 +3033,7 @@ const R = (e) => {
|
|
|
3033
3033
|
* @see https://tailwindcss.com/docs/accent-color
|
|
3034
3034
|
*/
|
|
3035
3035
|
accent: [{
|
|
3036
|
-
accent:
|
|
3036
|
+
accent: b()
|
|
3037
3037
|
}],
|
|
3038
3038
|
/**
|
|
3039
3039
|
* Appearance
|
|
@@ -3047,7 +3047,7 @@ const R = (e) => {
|
|
|
3047
3047
|
* @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
|
|
3048
3048
|
*/
|
|
3049
3049
|
"caret-color": [{
|
|
3050
|
-
caret:
|
|
3050
|
+
caret: b()
|
|
3051
3051
|
}],
|
|
3052
3052
|
/**
|
|
3053
3053
|
* Color Scheme
|
|
@@ -3096,126 +3096,126 @@ const R = (e) => {
|
|
|
3096
3096
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3097
3097
|
*/
|
|
3098
3098
|
"scroll-m": [{
|
|
3099
|
-
"scroll-m":
|
|
3099
|
+
"scroll-m": g()
|
|
3100
3100
|
}],
|
|
3101
3101
|
/**
|
|
3102
3102
|
* Scroll Margin X
|
|
3103
3103
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3104
3104
|
*/
|
|
3105
3105
|
"scroll-mx": [{
|
|
3106
|
-
"scroll-mx":
|
|
3106
|
+
"scroll-mx": g()
|
|
3107
3107
|
}],
|
|
3108
3108
|
/**
|
|
3109
3109
|
* Scroll Margin Y
|
|
3110
3110
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3111
3111
|
*/
|
|
3112
3112
|
"scroll-my": [{
|
|
3113
|
-
"scroll-my":
|
|
3113
|
+
"scroll-my": g()
|
|
3114
3114
|
}],
|
|
3115
3115
|
/**
|
|
3116
3116
|
* Scroll Margin Start
|
|
3117
3117
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3118
3118
|
*/
|
|
3119
3119
|
"scroll-ms": [{
|
|
3120
|
-
"scroll-ms":
|
|
3120
|
+
"scroll-ms": g()
|
|
3121
3121
|
}],
|
|
3122
3122
|
/**
|
|
3123
3123
|
* Scroll Margin End
|
|
3124
3124
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3125
3125
|
*/
|
|
3126
3126
|
"scroll-me": [{
|
|
3127
|
-
"scroll-me":
|
|
3127
|
+
"scroll-me": g()
|
|
3128
3128
|
}],
|
|
3129
3129
|
/**
|
|
3130
3130
|
* Scroll Margin Top
|
|
3131
3131
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3132
3132
|
*/
|
|
3133
3133
|
"scroll-mt": [{
|
|
3134
|
-
"scroll-mt":
|
|
3134
|
+
"scroll-mt": g()
|
|
3135
3135
|
}],
|
|
3136
3136
|
/**
|
|
3137
3137
|
* Scroll Margin Right
|
|
3138
3138
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3139
3139
|
*/
|
|
3140
3140
|
"scroll-mr": [{
|
|
3141
|
-
"scroll-mr":
|
|
3141
|
+
"scroll-mr": g()
|
|
3142
3142
|
}],
|
|
3143
3143
|
/**
|
|
3144
3144
|
* Scroll Margin Bottom
|
|
3145
3145
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3146
3146
|
*/
|
|
3147
3147
|
"scroll-mb": [{
|
|
3148
|
-
"scroll-mb":
|
|
3148
|
+
"scroll-mb": g()
|
|
3149
3149
|
}],
|
|
3150
3150
|
/**
|
|
3151
3151
|
* Scroll Margin Left
|
|
3152
3152
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3153
3153
|
*/
|
|
3154
3154
|
"scroll-ml": [{
|
|
3155
|
-
"scroll-ml":
|
|
3155
|
+
"scroll-ml": g()
|
|
3156
3156
|
}],
|
|
3157
3157
|
/**
|
|
3158
3158
|
* Scroll Padding
|
|
3159
3159
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3160
3160
|
*/
|
|
3161
3161
|
"scroll-p": [{
|
|
3162
|
-
"scroll-p":
|
|
3162
|
+
"scroll-p": g()
|
|
3163
3163
|
}],
|
|
3164
3164
|
/**
|
|
3165
3165
|
* Scroll Padding X
|
|
3166
3166
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3167
3167
|
*/
|
|
3168
3168
|
"scroll-px": [{
|
|
3169
|
-
"scroll-px":
|
|
3169
|
+
"scroll-px": g()
|
|
3170
3170
|
}],
|
|
3171
3171
|
/**
|
|
3172
3172
|
* Scroll Padding Y
|
|
3173
3173
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3174
3174
|
*/
|
|
3175
3175
|
"scroll-py": [{
|
|
3176
|
-
"scroll-py":
|
|
3176
|
+
"scroll-py": g()
|
|
3177
3177
|
}],
|
|
3178
3178
|
/**
|
|
3179
3179
|
* Scroll Padding Start
|
|
3180
3180
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3181
3181
|
*/
|
|
3182
3182
|
"scroll-ps": [{
|
|
3183
|
-
"scroll-ps":
|
|
3183
|
+
"scroll-ps": g()
|
|
3184
3184
|
}],
|
|
3185
3185
|
/**
|
|
3186
3186
|
* Scroll Padding End
|
|
3187
3187
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3188
3188
|
*/
|
|
3189
3189
|
"scroll-pe": [{
|
|
3190
|
-
"scroll-pe":
|
|
3190
|
+
"scroll-pe": g()
|
|
3191
3191
|
}],
|
|
3192
3192
|
/**
|
|
3193
3193
|
* Scroll Padding Top
|
|
3194
3194
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3195
3195
|
*/
|
|
3196
3196
|
"scroll-pt": [{
|
|
3197
|
-
"scroll-pt":
|
|
3197
|
+
"scroll-pt": g()
|
|
3198
3198
|
}],
|
|
3199
3199
|
/**
|
|
3200
3200
|
* Scroll Padding Right
|
|
3201
3201
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3202
3202
|
*/
|
|
3203
3203
|
"scroll-pr": [{
|
|
3204
|
-
"scroll-pr":
|
|
3204
|
+
"scroll-pr": g()
|
|
3205
3205
|
}],
|
|
3206
3206
|
/**
|
|
3207
3207
|
* Scroll Padding Bottom
|
|
3208
3208
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3209
3209
|
*/
|
|
3210
3210
|
"scroll-pb": [{
|
|
3211
|
-
"scroll-pb":
|
|
3211
|
+
"scroll-pb": g()
|
|
3212
3212
|
}],
|
|
3213
3213
|
/**
|
|
3214
3214
|
* Scroll Padding Left
|
|
3215
3215
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3216
3216
|
*/
|
|
3217
3217
|
"scroll-pl": [{
|
|
3218
|
-
"scroll-pl":
|
|
3218
|
+
"scroll-pl": g()
|
|
3219
3219
|
}],
|
|
3220
3220
|
/**
|
|
3221
3221
|
* Scroll Snap Align
|
|
@@ -3293,21 +3293,21 @@ const R = (e) => {
|
|
|
3293
3293
|
* @see https://tailwindcss.com/docs/fill
|
|
3294
3294
|
*/
|
|
3295
3295
|
fill: [{
|
|
3296
|
-
fill: ["none", ...
|
|
3296
|
+
fill: ["none", ...b()]
|
|
3297
3297
|
}],
|
|
3298
3298
|
/**
|
|
3299
3299
|
* Stroke Width
|
|
3300
3300
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
3301
3301
|
*/
|
|
3302
3302
|
"stroke-w": [{
|
|
3303
|
-
stroke: [
|
|
3303
|
+
stroke: [x, X, F, ke]
|
|
3304
3304
|
}],
|
|
3305
3305
|
/**
|
|
3306
3306
|
* Stroke
|
|
3307
3307
|
* @see https://tailwindcss.com/docs/stroke
|
|
3308
3308
|
*/
|
|
3309
3309
|
stroke: [{
|
|
3310
|
-
stroke: ["none", ...
|
|
3310
|
+
stroke: ["none", ...b()]
|
|
3311
3311
|
}],
|
|
3312
3312
|
// ---------------------
|
|
3313
3313
|
// --- Accessibility ---
|
|
@@ -3375,16 +3375,16 @@ const R = (e) => {
|
|
|
3375
3375
|
},
|
|
3376
3376
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
3377
3377
|
};
|
|
3378
|
-
},
|
|
3379
|
-
function
|
|
3380
|
-
return
|
|
3378
|
+
}, uo = /* @__PURE__ */ Fr(co);
|
|
3379
|
+
function v(...e) {
|
|
3380
|
+
return uo(Sr(e));
|
|
3381
3381
|
}
|
|
3382
|
-
function
|
|
3382
|
+
function fo({ children: e, className: t, ...r }) {
|
|
3383
3383
|
const { colorScheme: o } = De(), { value: n } = $e();
|
|
3384
|
-
return /* @__PURE__ */
|
|
3385
|
-
|
|
3384
|
+
return /* @__PURE__ */ s(
|
|
3385
|
+
Pr,
|
|
3386
3386
|
{
|
|
3387
|
-
className:
|
|
3387
|
+
className: v(
|
|
3388
3388
|
"focus:outline-2 has-[:focus-visible]:ring-2 has-[:focus-visible]:ring-[var(--accordion-focus,hsl(var(--primary)))] has-[:focus-visible]:ring-offset-4",
|
|
3389
3389
|
{
|
|
3390
3390
|
light: "ring-offset-[var(--acordion-light-offset,hsl(var(--background)))]",
|
|
@@ -3399,26 +3399,26 @@ function uo({ children: e, className: t, ...r }) {
|
|
|
3399
3399
|
}
|
|
3400
3400
|
);
|
|
3401
3401
|
}
|
|
3402
|
-
function fo({ className: e, ...t }) {
|
|
3403
|
-
return /* @__PURE__ */ i(Ar, { className: x(e), ...t, "data-slot": "accordion-root" });
|
|
3404
|
-
}
|
|
3405
3402
|
function mo({ className: e, ...t }) {
|
|
3403
|
+
return /* @__PURE__ */ s(Nr, { className: v(e), ...t, "data-slot": "accordion-root" });
|
|
3404
|
+
}
|
|
3405
|
+
function po({ className: e, ...t }) {
|
|
3406
3406
|
const { colorScheme: r } = De(), { content: o } = $e(), [n, a] = we(!1);
|
|
3407
|
-
return
|
|
3407
|
+
return rt(() => {
|
|
3408
3408
|
a(!0);
|
|
3409
|
-
}, []), /* @__PURE__ */
|
|
3409
|
+
}, []), /* @__PURE__ */ s(
|
|
3410
3410
|
Ir,
|
|
3411
3411
|
{
|
|
3412
|
-
className:
|
|
3412
|
+
className: v(
|
|
3413
3413
|
"overflow-hidden",
|
|
3414
3414
|
// We need to delay the animation until the component is mounted to avoid the animation from being triggered when the component is first rendered.
|
|
3415
3415
|
n && "data-[state=closed]:animate-collapse data-[state=open]:animate-expand"
|
|
3416
3416
|
),
|
|
3417
3417
|
...t,
|
|
3418
|
-
children: /* @__PURE__ */
|
|
3418
|
+
children: /* @__PURE__ */ s(
|
|
3419
3419
|
"div",
|
|
3420
3420
|
{
|
|
3421
|
-
className:
|
|
3421
|
+
className: v(
|
|
3422
3422
|
"py-3 text-base font-light leading-normal [font-family:var(--accordion-content-font-family,var(--font-family-body))]",
|
|
3423
3423
|
{
|
|
3424
3424
|
light: "text-[var(--accordion-light-content-text,hsl(var(--foreground)))]",
|
|
@@ -3433,8 +3433,8 @@ function mo({ className: e, ...t }) {
|
|
|
3433
3433
|
}
|
|
3434
3434
|
);
|
|
3435
3435
|
}
|
|
3436
|
-
const
|
|
3437
|
-
function
|
|
3436
|
+
const Ot = ee(void 0);
|
|
3437
|
+
function bo({
|
|
3438
3438
|
children: e,
|
|
3439
3439
|
colorScheme: t = "light",
|
|
3440
3440
|
items: r
|
|
@@ -3446,15 +3446,15 @@ function po({
|
|
|
3446
3446
|
}),
|
|
3447
3447
|
[t, r]
|
|
3448
3448
|
);
|
|
3449
|
-
return /* @__PURE__ */
|
|
3449
|
+
return /* @__PURE__ */ s(Ot.Provider, { value: o, children: e });
|
|
3450
3450
|
}
|
|
3451
3451
|
function De() {
|
|
3452
|
-
const e = re(
|
|
3452
|
+
const e = re(Ot);
|
|
3453
3453
|
if (e === void 0)
|
|
3454
3454
|
throw new Error("useAccordion must be used within an AccordionProvider");
|
|
3455
3455
|
return e;
|
|
3456
3456
|
}
|
|
3457
|
-
const
|
|
3457
|
+
const Bt = ee(void 0);
|
|
3458
3458
|
function go({
|
|
3459
3459
|
children: e,
|
|
3460
3460
|
title: t,
|
|
@@ -3469,30 +3469,30 @@ function go({
|
|
|
3469
3469
|
}),
|
|
3470
3470
|
[t, r, o]
|
|
3471
3471
|
);
|
|
3472
|
-
return /* @__PURE__ */
|
|
3472
|
+
return /* @__PURE__ */ s(Bt.Provider, { value: n, children: e });
|
|
3473
3473
|
}
|
|
3474
3474
|
function $e() {
|
|
3475
|
-
const e = re(
|
|
3475
|
+
const e = re(Bt);
|
|
3476
3476
|
if (e === void 0)
|
|
3477
3477
|
throw new Error("useAccordionItem must be used within an AccordionItemProvider");
|
|
3478
3478
|
return e;
|
|
3479
3479
|
}
|
|
3480
|
-
function
|
|
3480
|
+
function ho({ className: e, ...t }) {
|
|
3481
3481
|
const { colorScheme: r } = De(), { title: o } = $e();
|
|
3482
|
-
return /* @__PURE__ */
|
|
3483
|
-
|
|
3482
|
+
return /* @__PURE__ */ s(_r, { children: /* @__PURE__ */ T(
|
|
3483
|
+
Rr,
|
|
3484
3484
|
{
|
|
3485
|
-
className:
|
|
3485
|
+
className: v(
|
|
3486
3486
|
"group flex w-full cursor-pointer items-start gap-8 border-none py-3 text-start focus:outline-none @md:py-4",
|
|
3487
3487
|
e
|
|
3488
3488
|
),
|
|
3489
3489
|
"data-slot": "accordion-trigger",
|
|
3490
3490
|
...t,
|
|
3491
3491
|
children: [
|
|
3492
|
-
/* @__PURE__ */
|
|
3492
|
+
/* @__PURE__ */ s(
|
|
3493
3493
|
"div",
|
|
3494
3494
|
{
|
|
3495
|
-
className:
|
|
3495
|
+
className: v(
|
|
3496
3496
|
"flex-1 select-none text-sm font-normal uppercase transition-colors duration-300 ease-out [font-family:var(--accordion-title-font-family,var(--font-family-mono))]",
|
|
3497
3497
|
{
|
|
3498
3498
|
light: "text-[var(--accordion-light-title-text,hsl(var(--contrast-400)))] group-hover:text-[var(--accordion-light-title-text-hover,hsl(var(--foreground)))]",
|
|
@@ -3502,10 +3502,10 @@ function bo({ className: e, ...t }) {
|
|
|
3502
3502
|
children: o
|
|
3503
3503
|
}
|
|
3504
3504
|
),
|
|
3505
|
-
/* @__PURE__ */
|
|
3505
|
+
/* @__PURE__ */ T(
|
|
3506
3506
|
"svg",
|
|
3507
3507
|
{
|
|
3508
|
-
className:
|
|
3508
|
+
className: v(
|
|
3509
3509
|
"mt-1 shrink-0 [&>line]:origin-center [&>line]:transition [&>line]:duration-300 [&>line]:ease-out",
|
|
3510
3510
|
{
|
|
3511
3511
|
light: "stroke-[var(--accordion-light-title-icon,hsl(var(--contrast-500)))] group-hover:stroke-[var(--accordion-light-title-icon-hover,hsl(var(--foreground)))]",
|
|
@@ -3516,7 +3516,7 @@ function bo({ className: e, ...t }) {
|
|
|
3516
3516
|
viewBox: "0 0 10 10",
|
|
3517
3517
|
width: 16,
|
|
3518
3518
|
children: [
|
|
3519
|
-
/* @__PURE__ */
|
|
3519
|
+
/* @__PURE__ */ s(
|
|
3520
3520
|
"line",
|
|
3521
3521
|
{
|
|
3522
3522
|
className: "group-data-[state=open]:-translate-y-[3px] group-data-[state=open]:-rotate-90",
|
|
@@ -3527,7 +3527,7 @@ function bo({ className: e, ...t }) {
|
|
|
3527
3527
|
y2: 5
|
|
3528
3528
|
}
|
|
3529
3529
|
),
|
|
3530
|
-
/* @__PURE__ */
|
|
3530
|
+
/* @__PURE__ */ s(
|
|
3531
3531
|
"line",
|
|
3532
3532
|
{
|
|
3533
3533
|
className: "group-data-[state=open]:-translate-y-[3px] group-data-[state=open]:rotate-90",
|
|
@@ -3545,34 +3545,34 @@ function bo({ className: e, ...t }) {
|
|
|
3545
3545
|
}
|
|
3546
3546
|
) });
|
|
3547
3547
|
}
|
|
3548
|
-
function
|
|
3549
|
-
return /* @__PURE__ */
|
|
3550
|
-
|
|
3548
|
+
function rn({ className: e, variant: t, message: r, description: o, action: n, dismiss: a }) {
|
|
3549
|
+
return /* @__PURE__ */ s(
|
|
3550
|
+
xo,
|
|
3551
3551
|
{
|
|
3552
3552
|
action: n,
|
|
3553
3553
|
description: o,
|
|
3554
3554
|
dismiss: a,
|
|
3555
3555
|
message: r,
|
|
3556
3556
|
variant: t,
|
|
3557
|
-
children: /* @__PURE__ */
|
|
3558
|
-
/* @__PURE__ */
|
|
3559
|
-
/* @__PURE__ */
|
|
3560
|
-
/* @__PURE__ */
|
|
3557
|
+
children: /* @__PURE__ */ T(vo, { className: e, children: [
|
|
3558
|
+
/* @__PURE__ */ T(yo, { children: [
|
|
3559
|
+
/* @__PURE__ */ s(ko, {}),
|
|
3560
|
+
/* @__PURE__ */ s(wo, {})
|
|
3561
3561
|
] }),
|
|
3562
|
-
/* @__PURE__ */
|
|
3563
|
-
/* @__PURE__ */
|
|
3564
|
-
/* @__PURE__ */
|
|
3562
|
+
/* @__PURE__ */ T(Co, { children: [
|
|
3563
|
+
/* @__PURE__ */ s(Eo, {}),
|
|
3564
|
+
/* @__PURE__ */ s(zo, {})
|
|
3565
3565
|
] })
|
|
3566
3566
|
] })
|
|
3567
3567
|
}
|
|
3568
3568
|
);
|
|
3569
3569
|
}
|
|
3570
|
-
function
|
|
3570
|
+
function vo({ className: e, children: t, ...r }) {
|
|
3571
3571
|
const { variant: o } = ne();
|
|
3572
|
-
return /* @__PURE__ */
|
|
3572
|
+
return /* @__PURE__ */ s(
|
|
3573
3573
|
"div",
|
|
3574
3574
|
{
|
|
3575
|
-
className:
|
|
3575
|
+
className: v(
|
|
3576
3576
|
"flex max-w-[356px] items-center justify-between gap-2 rounded-xl border border-[var(--alert-border,color-mix(in_oklab,hsl(var(--foreground))_10%,transparent))] py-3 pe-3 ps-4 shadow",
|
|
3577
3577
|
{
|
|
3578
3578
|
success: "bg-[var(--alert-success-background,color-mix(in_oklab,hsl(var(--success)),white_75%))]",
|
|
@@ -3589,8 +3589,8 @@ function ho({ className: e, children: t, ...r }) {
|
|
|
3589
3589
|
}
|
|
3590
3590
|
);
|
|
3591
3591
|
}
|
|
3592
|
-
const
|
|
3593
|
-
function
|
|
3592
|
+
const Lt = ee(void 0);
|
|
3593
|
+
function xo({
|
|
3594
3594
|
children: e,
|
|
3595
3595
|
message: t,
|
|
3596
3596
|
description: r,
|
|
@@ -3598,7 +3598,7 @@ function vo({
|
|
|
3598
3598
|
dismiss: n,
|
|
3599
3599
|
variant: a
|
|
3600
3600
|
}) {
|
|
3601
|
-
const
|
|
3601
|
+
const i = te(
|
|
3602
3602
|
() => ({
|
|
3603
3603
|
message: t,
|
|
3604
3604
|
description: r,
|
|
@@ -3608,31 +3608,31 @@ function vo({
|
|
|
3608
3608
|
}),
|
|
3609
3609
|
[t, r, o, n, a]
|
|
3610
3610
|
);
|
|
3611
|
-
return /* @__PURE__ */
|
|
3611
|
+
return /* @__PURE__ */ s(Lt.Provider, { value: i, children: e });
|
|
3612
3612
|
}
|
|
3613
3613
|
function ne() {
|
|
3614
|
-
const e = re(
|
|
3614
|
+
const e = re(Lt);
|
|
3615
3615
|
if (e === void 0)
|
|
3616
3616
|
throw new Error("useAlert must be used within a AlertProvider");
|
|
3617
3617
|
return e;
|
|
3618
3618
|
}
|
|
3619
|
-
function
|
|
3620
|
-
return /* @__PURE__ */
|
|
3619
|
+
function yo({ children: e, className: t, ...r }) {
|
|
3620
|
+
return /* @__PURE__ */ s(
|
|
3621
3621
|
"div",
|
|
3622
3622
|
{
|
|
3623
|
-
className:
|
|
3623
|
+
className: v("[font-family:var(--alert-font-family,var(--font-family-body))]", t),
|
|
3624
3624
|
"data-slot": "alert-header",
|
|
3625
3625
|
...r,
|
|
3626
3626
|
children: e
|
|
3627
3627
|
}
|
|
3628
3628
|
);
|
|
3629
3629
|
}
|
|
3630
|
-
function
|
|
3630
|
+
function ko({ children: e, className: t, ...r }) {
|
|
3631
3631
|
const { message: o } = ne();
|
|
3632
|
-
return /* @__PURE__ */
|
|
3632
|
+
return /* @__PURE__ */ s(
|
|
3633
3633
|
"h5",
|
|
3634
3634
|
{
|
|
3635
|
-
className:
|
|
3635
|
+
className: v(
|
|
3636
3636
|
"text-sm font-normal text-[var(--alert-message-text,hsl(var(--foreground)))]",
|
|
3637
3637
|
t
|
|
3638
3638
|
),
|
|
@@ -3642,12 +3642,12 @@ function yo({ children: e, className: t, ...r }) {
|
|
|
3642
3642
|
}
|
|
3643
3643
|
);
|
|
3644
3644
|
}
|
|
3645
|
-
function
|
|
3645
|
+
function wo({ className: e, ...t }) {
|
|
3646
3646
|
const { description: r } = ne();
|
|
3647
|
-
return /* @__PURE__ */
|
|
3647
|
+
return /* @__PURE__ */ s(
|
|
3648
3648
|
"p",
|
|
3649
3649
|
{
|
|
3650
|
-
className:
|
|
3650
|
+
className: v(
|
|
3651
3651
|
"text-xs font-medium text-[color:var(--alert-description-text,color-mix(in_oklab,hsl(var(--foreground))_50%,transparent))]",
|
|
3652
3652
|
e
|
|
3653
3653
|
),
|
|
@@ -3657,8 +3657,8 @@ function ko({ className: e, ...t }) {
|
|
|
3657
3657
|
}
|
|
3658
3658
|
);
|
|
3659
3659
|
}
|
|
3660
|
-
function
|
|
3661
|
-
return /* @__PURE__ */
|
|
3660
|
+
function Co({ children: e, className: t, ...r }) {
|
|
3661
|
+
return /* @__PURE__ */ s("div", { className: v("flex items-center gap-1", t), "data-slot": "alert-actions", ...r, children: e });
|
|
3662
3662
|
}
|
|
3663
3663
|
/**
|
|
3664
3664
|
* @license lucide-react v0.545.0 - ISC
|
|
@@ -3666,13 +3666,13 @@ function wo({ children: e, className: t, ...r }) {
|
|
|
3666
3666
|
* This source code is licensed under the ISC license.
|
|
3667
3667
|
* See the LICENSE file in the root directory of this source tree.
|
|
3668
3668
|
*/
|
|
3669
|
-
const
|
|
3669
|
+
const Ao = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), No = (e) => e.replace(
|
|
3670
3670
|
/^([A-Z])|[\s-_]+(\w)/g,
|
|
3671
3671
|
(t, r, o) => o ? o.toUpperCase() : r.toLowerCase()
|
|
3672
|
-
),
|
|
3673
|
-
const t =
|
|
3672
|
+
), et = (e) => {
|
|
3673
|
+
const t = No(e);
|
|
3674
3674
|
return t.charAt(0).toUpperCase() + t.slice(1);
|
|
3675
|
-
},
|
|
3675
|
+
}, Dt = (...e) => e.filter((t, r, o) => !!t && t.trim() !== "" && o.indexOf(t) === r).join(" ").trim(), Po = (e) => {
|
|
3676
3676
|
for (const t in e)
|
|
3677
3677
|
if (t.startsWith("aria-") || t === "role" || t === "title")
|
|
3678
3678
|
return !0;
|
|
@@ -3683,7 +3683,7 @@ const Co = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), Ao = (
|
|
|
3683
3683
|
* This source code is licensed under the ISC license.
|
|
3684
3684
|
* See the LICENSE file in the root directory of this source tree.
|
|
3685
3685
|
*/
|
|
3686
|
-
var
|
|
3686
|
+
var _o = {
|
|
3687
3687
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3688
3688
|
width: 24,
|
|
3689
3689
|
height: 24,
|
|
@@ -3700,7 +3700,7 @@ var Po = {
|
|
|
3700
3700
|
* This source code is licensed under the ISC license.
|
|
3701
3701
|
* See the LICENSE file in the root directory of this source tree.
|
|
3702
3702
|
*/
|
|
3703
|
-
const
|
|
3703
|
+
const Ro = ot(
|
|
3704
3704
|
({
|
|
3705
3705
|
color: e = "currentColor",
|
|
3706
3706
|
size: t = 24,
|
|
@@ -3708,23 +3708,23 @@ const _o = rt(
|
|
|
3708
3708
|
absoluteStrokeWidth: o,
|
|
3709
3709
|
className: n = "",
|
|
3710
3710
|
children: a,
|
|
3711
|
-
iconNode:
|
|
3711
|
+
iconNode: i,
|
|
3712
3712
|
...l
|
|
3713
3713
|
}, c) => Ce(
|
|
3714
3714
|
"svg",
|
|
3715
3715
|
{
|
|
3716
3716
|
ref: c,
|
|
3717
|
-
...
|
|
3717
|
+
..._o,
|
|
3718
3718
|
width: t,
|
|
3719
3719
|
height: t,
|
|
3720
3720
|
stroke: e,
|
|
3721
3721
|
strokeWidth: o ? Number(r) * 24 / Number(t) : r,
|
|
3722
|
-
className:
|
|
3723
|
-
...!a && !
|
|
3722
|
+
className: Dt("lucide", n),
|
|
3723
|
+
...!a && !Po(l) && { "aria-hidden": "true" },
|
|
3724
3724
|
...l
|
|
3725
3725
|
},
|
|
3726
3726
|
[
|
|
3727
|
-
...
|
|
3727
|
+
...i.map(([f, p]) => Ce(f, p)),
|
|
3728
3728
|
...Array.isArray(a) ? a : [a]
|
|
3729
3729
|
]
|
|
3730
3730
|
)
|
|
@@ -3735,20 +3735,20 @@ const _o = rt(
|
|
|
3735
3735
|
* This source code is licensed under the ISC license.
|
|
3736
3736
|
* See the LICENSE file in the root directory of this source tree.
|
|
3737
3737
|
*/
|
|
3738
|
-
const
|
|
3739
|
-
const r =
|
|
3740
|
-
({ className: o, ...n }, a) => Ce(
|
|
3738
|
+
const $t = (e, t) => {
|
|
3739
|
+
const r = ot(
|
|
3740
|
+
({ className: o, ...n }, a) => Ce(Ro, {
|
|
3741
3741
|
ref: a,
|
|
3742
3742
|
iconNode: t,
|
|
3743
|
-
className:
|
|
3744
|
-
`lucide-${
|
|
3743
|
+
className: Dt(
|
|
3744
|
+
`lucide-${Ao(et(e))}`,
|
|
3745
3745
|
`lucide-${e}`,
|
|
3746
3746
|
o
|
|
3747
3747
|
),
|
|
3748
3748
|
...n
|
|
3749
3749
|
})
|
|
3750
3750
|
);
|
|
3751
|
-
return r.displayName =
|
|
3751
|
+
return r.displayName = et(e), r;
|
|
3752
3752
|
};
|
|
3753
3753
|
/**
|
|
3754
3754
|
* @license lucide-react v0.545.0 - ISC
|
|
@@ -3756,17 +3756,17 @@ const Dt = (e, t) => {
|
|
|
3756
3756
|
* This source code is licensed under the ISC license.
|
|
3757
3757
|
* See the LICENSE file in the root directory of this source tree.
|
|
3758
3758
|
*/
|
|
3759
|
-
const Io = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]],
|
|
3759
|
+
const Io = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]], So = $t("loader-circle", Io);
|
|
3760
3760
|
/**
|
|
3761
3761
|
* @license lucide-react v0.545.0 - ISC
|
|
3762
3762
|
*
|
|
3763
3763
|
* This source code is licensed under the ISC license.
|
|
3764
3764
|
* See the LICENSE file in the root directory of this source tree.
|
|
3765
3765
|
*/
|
|
3766
|
-
const
|
|
3766
|
+
const Mo = [
|
|
3767
3767
|
["path", { d: "M18 6 6 18", key: "1bl5f8" }],
|
|
3768
3768
|
["path", { d: "m6 6 12 12", key: "d8bk6v" }]
|
|
3769
|
-
],
|
|
3769
|
+
], Ve = $t("x", Mo);
|
|
3770
3770
|
function Vt({
|
|
3771
3771
|
variant: e = "primary",
|
|
3772
3772
|
size: t = "large",
|
|
@@ -3774,15 +3774,15 @@ function Vt({
|
|
|
3774
3774
|
loading: o = !1,
|
|
3775
3775
|
type: n = "button",
|
|
3776
3776
|
disabled: a = !1,
|
|
3777
|
-
className:
|
|
3777
|
+
className: i,
|
|
3778
3778
|
children: l,
|
|
3779
3779
|
...c
|
|
3780
3780
|
}) {
|
|
3781
|
-
return /* @__PURE__ */
|
|
3781
|
+
return /* @__PURE__ */ T(
|
|
3782
3782
|
"button",
|
|
3783
3783
|
{
|
|
3784
3784
|
"aria-busy": o,
|
|
3785
|
-
className:
|
|
3785
|
+
className: v(
|
|
3786
3786
|
"after:ease-[cubic-bezier(0,0.25,0,1)] relative z-0 inline-flex h-fit select-none items-center justify-center overflow-hidden border text-center font-semibold leading-normal [font-family:var(--button-font-family,var(--font-family-body))] after:absolute after:inset-0 after:-z-10 after:-translate-x-[105%] after:transition-[opacity,transform] after:duration-300 focus-visible:outline-2 focus-visible:outline-[var(--button-focus,hsl(var(--primary)))] disabled:pointer-events-none disabled:opacity-30",
|
|
3787
3787
|
{
|
|
3788
3788
|
primary: "border-[var(--button-primary-border,hsl(var(--primary)))] bg-[var(--button-primary-background,hsl(var(--primary)))] text-[var(--button-primary-text,hsl(var(--foreground)))] after:bg-[var(--button-primary-background-hover,color-mix(in_oklab,hsl(var(--primary)),white_75%))] focus-visible:outline-offset-2",
|
|
@@ -3799,17 +3799,17 @@ function Vt({
|
|
|
3799
3799
|
}[r],
|
|
3800
3800
|
!o && !a && "hover:after:translate-x-0",
|
|
3801
3801
|
o && "pointer-events-none",
|
|
3802
|
-
|
|
3802
|
+
i
|
|
3803
3803
|
),
|
|
3804
3804
|
"data-slot": "button",
|
|
3805
3805
|
disabled: a,
|
|
3806
3806
|
type: n,
|
|
3807
3807
|
...c,
|
|
3808
3808
|
children: [
|
|
3809
|
-
/* @__PURE__ */
|
|
3809
|
+
/* @__PURE__ */ s(
|
|
3810
3810
|
"span",
|
|
3811
3811
|
{
|
|
3812
|
-
className:
|
|
3812
|
+
className: v(
|
|
3813
3813
|
"inline-flex items-center justify-center transition-all duration-300 ease-in-out",
|
|
3814
3814
|
o ? "-translate-y-10 opacity-0" : "translate-y-0 opacity-100",
|
|
3815
3815
|
r === "circle" && "aspect-square",
|
|
@@ -3830,17 +3830,17 @@ function Vt({
|
|
|
3830
3830
|
children: l
|
|
3831
3831
|
}
|
|
3832
3832
|
),
|
|
3833
|
-
/* @__PURE__ */
|
|
3833
|
+
/* @__PURE__ */ s(
|
|
3834
3834
|
"span",
|
|
3835
3835
|
{
|
|
3836
|
-
className:
|
|
3836
|
+
className: v(
|
|
3837
3837
|
"absolute inset-0 grid place-content-center transition-all duration-300 ease-in-out",
|
|
3838
3838
|
o ? "translate-y-0 opacity-100" : "translate-y-10 opacity-0"
|
|
3839
3839
|
),
|
|
3840
|
-
children: /* @__PURE__ */
|
|
3841
|
-
|
|
3840
|
+
children: /* @__PURE__ */ s(
|
|
3841
|
+
So,
|
|
3842
3842
|
{
|
|
3843
|
-
className:
|
|
3843
|
+
className: v(
|
|
3844
3844
|
"animate-spin",
|
|
3845
3845
|
e === "tertiary" && "text-[var(--button-loader-icon,hsl(var(--foreground)))]"
|
|
3846
3846
|
)
|
|
@@ -3852,15 +3852,15 @@ function Vt({
|
|
|
3852
3852
|
}
|
|
3853
3853
|
);
|
|
3854
3854
|
}
|
|
3855
|
-
function
|
|
3855
|
+
function Eo({ children: e, ...t }) {
|
|
3856
3856
|
const { action: r } = ne();
|
|
3857
3857
|
if (!r) return null;
|
|
3858
3858
|
const { label: o, onClick: n } = r;
|
|
3859
|
-
return /* @__PURE__ */
|
|
3859
|
+
return /* @__PURE__ */ s(Vt, { "data-slot": "alert-button", onClick: n, size: "x-small", variant: "ghost", ...t, children: o });
|
|
3860
3860
|
}
|
|
3861
|
-
function
|
|
3861
|
+
function zo({ ...e }) {
|
|
3862
3862
|
const { dismiss: t } = ne(), { label: r, onClick: o } = t;
|
|
3863
|
-
return /* @__PURE__ */
|
|
3863
|
+
return /* @__PURE__ */ s(
|
|
3864
3864
|
Vt,
|
|
3865
3865
|
{
|
|
3866
3866
|
"aria-label": r,
|
|
@@ -3870,15 +3870,15 @@ function Eo({ ...e }) {
|
|
|
3870
3870
|
size: "x-small",
|
|
3871
3871
|
variant: "ghost",
|
|
3872
3872
|
...e,
|
|
3873
|
-
children: /* @__PURE__ */
|
|
3873
|
+
children: /* @__PURE__ */ s(Ve, { size: 20, strokeWidth: 1 })
|
|
3874
3874
|
}
|
|
3875
3875
|
);
|
|
3876
3876
|
}
|
|
3877
|
-
function
|
|
3878
|
-
return /* @__PURE__ */
|
|
3877
|
+
function on({ className: e, children: t, ...r }) {
|
|
3878
|
+
return /* @__PURE__ */ s(
|
|
3879
3879
|
"span",
|
|
3880
3880
|
{
|
|
3881
|
-
className:
|
|
3881
|
+
className: v(
|
|
3882
3882
|
"origin-left font-semibold leading-normal text-[var(--animated-underline-text,hsl(var(--foreground)))] transition-[background-size] duration-300 [background:linear-gradient(0deg,var(--animated-underline-hover,hsl(var(--primary))),var(--animated-underline-hover,hsl(var(--primary))))_no-repeat_left_bottom_/_0_2px] [font-family:var(--animated-underline-font-family,var(--font-family-body))] hover:bg-[size:100%_2px] group-focus/underline:bg-[size:100%_2px]",
|
|
3883
3883
|
e
|
|
3884
3884
|
),
|
|
@@ -3887,17 +3887,17 @@ function Qo({ className: e, children: t, ...r }) {
|
|
|
3887
3887
|
}
|
|
3888
3888
|
);
|
|
3889
3889
|
}
|
|
3890
|
-
function
|
|
3890
|
+
function nn({
|
|
3891
3891
|
children: e,
|
|
3892
3892
|
shape: t = "rounded",
|
|
3893
3893
|
className: r,
|
|
3894
3894
|
variant: o = "primary",
|
|
3895
3895
|
...n
|
|
3896
3896
|
}) {
|
|
3897
|
-
return /* @__PURE__ */
|
|
3897
|
+
return /* @__PURE__ */ s(
|
|
3898
3898
|
"span",
|
|
3899
3899
|
{
|
|
3900
|
-
className:
|
|
3900
|
+
className: v(
|
|
3901
3901
|
"px-2 py-0.5 text-xs uppercase tracking-tighter text-[var(--badge-text,hsl(var(--foreground)))] [font-family:var(--badge-font-family,var(--font-family-mono))]",
|
|
3902
3902
|
{
|
|
3903
3903
|
pill: "rounded-full",
|
|
@@ -3917,35 +3917,35 @@ function en({
|
|
|
3917
3917
|
}
|
|
3918
3918
|
);
|
|
3919
3919
|
}
|
|
3920
|
-
const
|
|
3920
|
+
const an = ({
|
|
3921
3921
|
id: e,
|
|
3922
3922
|
children: t,
|
|
3923
3923
|
hideDismiss: r = !1,
|
|
3924
3924
|
className: o,
|
|
3925
3925
|
onDismiss: n
|
|
3926
|
-
}) => /* @__PURE__ */
|
|
3927
|
-
/* @__PURE__ */
|
|
3928
|
-
/* @__PURE__ */
|
|
3926
|
+
}) => /* @__PURE__ */ s(To, { hideDismiss: r, id: e, onDismiss: n, children: /* @__PURE__ */ s(Oo, { className: o, children: /* @__PURE__ */ T(Bo, { children: [
|
|
3927
|
+
/* @__PURE__ */ s(Lo, { children: t }),
|
|
3928
|
+
/* @__PURE__ */ s(Do, {})
|
|
3929
3929
|
] }) }) }), Gt = ee(void 0);
|
|
3930
|
-
function
|
|
3931
|
-
const [n, a] = we(!1), [
|
|
3932
|
-
|
|
3930
|
+
function To({ id: e, hideDismiss: t, onDismiss: r, children: o }) {
|
|
3931
|
+
const [n, a] = we(!1), [i, l] = we(!1);
|
|
3932
|
+
rt(() => {
|
|
3933
3933
|
const p = localStorage.getItem(`${e}-hidden-banner`) === "true";
|
|
3934
3934
|
a(p), l(!0);
|
|
3935
3935
|
}, [e]);
|
|
3936
|
-
const c =
|
|
3936
|
+
const c = Wt(() => {
|
|
3937
3937
|
a(!0), localStorage.setItem(`${e}-hidden-banner`, "true"), r?.();
|
|
3938
3938
|
}, [e, r]), f = te(
|
|
3939
3939
|
() => ({
|
|
3940
3940
|
id: e,
|
|
3941
|
-
isInitialized:
|
|
3941
|
+
isInitialized: i,
|
|
3942
3942
|
isDismissed: n,
|
|
3943
3943
|
hideDismiss: t,
|
|
3944
3944
|
handleDismiss: c
|
|
3945
3945
|
}),
|
|
3946
|
-
[e,
|
|
3946
|
+
[e, i, n, t, c]
|
|
3947
3947
|
);
|
|
3948
|
-
return /* @__PURE__ */
|
|
3948
|
+
return /* @__PURE__ */ s(Gt.Provider, { value: f, children: i ? o : null });
|
|
3949
3949
|
}
|
|
3950
3950
|
function jt() {
|
|
3951
3951
|
const e = re(Gt);
|
|
@@ -3953,12 +3953,12 @@ function jt() {
|
|
|
3953
3953
|
throw new Error("useBanner must be used within a BannerProvider");
|
|
3954
3954
|
return e;
|
|
3955
3955
|
}
|
|
3956
|
-
function
|
|
3956
|
+
function Oo({ children: e, className: t, ...r }) {
|
|
3957
3957
|
const { id: o, isDismissed: n } = jt();
|
|
3958
|
-
return /* @__PURE__ */
|
|
3958
|
+
return /* @__PURE__ */ s(
|
|
3959
3959
|
"div",
|
|
3960
3960
|
{
|
|
3961
|
-
className:
|
|
3961
|
+
className: v(
|
|
3962
3962
|
"overflow-hidden bg-[var(--banner-background,hsl(var(--primary)))] transition-all duration-300 ease-in @container",
|
|
3963
3963
|
n ? "pointer-events-none max-h-0" : "max-h-32",
|
|
3964
3964
|
t
|
|
@@ -3970,21 +3970,21 @@ function To({ children: e, className: t, ...r }) {
|
|
|
3970
3970
|
}
|
|
3971
3971
|
);
|
|
3972
3972
|
}
|
|
3973
|
-
function
|
|
3974
|
-
return /* @__PURE__ */
|
|
3973
|
+
function Bo({ className: e, children: t }) {
|
|
3974
|
+
return /* @__PURE__ */ s(
|
|
3975
3975
|
"div",
|
|
3976
3976
|
{
|
|
3977
|
-
className:
|
|
3977
|
+
className: v("flex items-center justify-between gap-4 px-8 py-3", e),
|
|
3978
3978
|
"data-slot": "banner-content",
|
|
3979
3979
|
children: t
|
|
3980
3980
|
}
|
|
3981
3981
|
);
|
|
3982
3982
|
}
|
|
3983
|
-
function
|
|
3984
|
-
return /* @__PURE__ */
|
|
3983
|
+
function Lo({ children: e, className: t, ...r }) {
|
|
3984
|
+
return /* @__PURE__ */ s(
|
|
3985
3985
|
"div",
|
|
3986
3986
|
{
|
|
3987
|
-
className:
|
|
3987
|
+
className: v(
|
|
3988
3988
|
"flex-1 text-sm text-[var(--banner-text,hsl(var(--foreground)))] [font-family:var(--banner-font-family,var(--font-family-body))] @xl:text-center @xl:text-base",
|
|
3989
3989
|
t
|
|
3990
3990
|
),
|
|
@@ -3994,13 +3994,13 @@ function Bo({ children: e, className: t, ...r }) {
|
|
|
3994
3994
|
}
|
|
3995
3995
|
);
|
|
3996
3996
|
}
|
|
3997
|
-
function
|
|
3997
|
+
function Do({ className: e, ...t }) {
|
|
3998
3998
|
const { hideDismiss: r, handleDismiss: o } = jt();
|
|
3999
|
-
return r ? null : /* @__PURE__ */
|
|
3999
|
+
return r ? null : /* @__PURE__ */ s(
|
|
4000
4000
|
"button",
|
|
4001
4001
|
{
|
|
4002
4002
|
"aria-label": "Dismiss banner",
|
|
4003
|
-
className:
|
|
4003
|
+
className: v(
|
|
4004
4004
|
"flex h-8 w-8 items-center justify-center rounded-full bg-[var(--banner-close-background,transparent)] text-[var(--banner-close-icon,color-mix(in_oklab,hsl(var(--foreground))_50%,transparent))] transition-colors duration-300 hover:bg-[var(--banner-close-background-hover,color-mix(in_oklab,hsl(var(--background))_40%,transparent))] hover:text-[var(--banner-close-icon-hover,hsl(var(--foreground)))] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--banner-focus,hsl(var(--foreground)))]",
|
|
4005
4005
|
e
|
|
4006
4006
|
),
|
|
@@ -4009,21 +4009,21 @@ function Lo({ className: e, ...t }) {
|
|
|
4009
4009
|
n.preventDefault(), o();
|
|
4010
4010
|
},
|
|
4011
4011
|
...t,
|
|
4012
|
-
children: /* @__PURE__ */
|
|
4012
|
+
children: /* @__PURE__ */ s(Ve, { absoluteStrokeWidth: !0, size: 20, strokeWidth: 1.5 })
|
|
4013
4013
|
}
|
|
4014
4014
|
);
|
|
4015
4015
|
}
|
|
4016
|
-
function
|
|
4016
|
+
function sn({
|
|
4017
4017
|
author: e,
|
|
4018
4018
|
content: t,
|
|
4019
4019
|
date: r,
|
|
4020
4020
|
link: o,
|
|
4021
4021
|
image: n,
|
|
4022
4022
|
title: a,
|
|
4023
|
-
className:
|
|
4023
|
+
className: i
|
|
4024
4024
|
}) {
|
|
4025
|
-
return /* @__PURE__ */
|
|
4026
|
-
|
|
4025
|
+
return /* @__PURE__ */ s(
|
|
4026
|
+
$o,
|
|
4027
4027
|
{
|
|
4028
4028
|
author: e,
|
|
4029
4029
|
content: t,
|
|
@@ -4031,28 +4031,28 @@ function rn({
|
|
|
4031
4031
|
image: n,
|
|
4032
4032
|
link: o,
|
|
4033
4033
|
title: a,
|
|
4034
|
-
children: /* @__PURE__ */
|
|
4035
|
-
/* @__PURE__ */
|
|
4036
|
-
/* @__PURE__ */
|
|
4037
|
-
/* @__PURE__ */
|
|
4038
|
-
/* @__PURE__ */
|
|
4039
|
-
/* @__PURE__ */
|
|
4040
|
-
/* @__PURE__ */
|
|
4034
|
+
children: /* @__PURE__ */ T(Vo, { className: i, children: [
|
|
4035
|
+
/* @__PURE__ */ s(Go, {}),
|
|
4036
|
+
/* @__PURE__ */ s(Uo, {}),
|
|
4037
|
+
/* @__PURE__ */ s(Fo, {}),
|
|
4038
|
+
/* @__PURE__ */ T(Wo, { children: [
|
|
4039
|
+
/* @__PURE__ */ s(Ho, {}),
|
|
4040
|
+
/* @__PURE__ */ s(qo, {})
|
|
4041
4041
|
] }),
|
|
4042
|
-
/* @__PURE__ */
|
|
4042
|
+
/* @__PURE__ */ s(jo, {})
|
|
4043
4043
|
] })
|
|
4044
4044
|
}
|
|
4045
4045
|
);
|
|
4046
4046
|
}
|
|
4047
4047
|
const Ut = ee(void 0);
|
|
4048
|
-
function
|
|
4048
|
+
function $o({
|
|
4049
4049
|
children: e,
|
|
4050
4050
|
title: t,
|
|
4051
4051
|
author: r,
|
|
4052
4052
|
content: o,
|
|
4053
4053
|
date: n,
|
|
4054
4054
|
image: a,
|
|
4055
|
-
link:
|
|
4055
|
+
link: i
|
|
4056
4056
|
}) {
|
|
4057
4057
|
const l = te(
|
|
4058
4058
|
() => ({
|
|
@@ -4061,11 +4061,11 @@ function Do({
|
|
|
4061
4061
|
content: o,
|
|
4062
4062
|
date: n,
|
|
4063
4063
|
image: a,
|
|
4064
|
-
link:
|
|
4064
|
+
link: i
|
|
4065
4065
|
}),
|
|
4066
|
-
[t, r, o, n, a,
|
|
4066
|
+
[t, r, o, n, a, i]
|
|
4067
4067
|
);
|
|
4068
|
-
return /* @__PURE__ */
|
|
4068
|
+
return /* @__PURE__ */ s(Ut.Provider, { value: l, children: e });
|
|
4069
4069
|
}
|
|
4070
4070
|
function Z() {
|
|
4071
4071
|
const e = re(Ut);
|
|
@@ -4073,16 +4073,16 @@ function Z() {
|
|
|
4073
4073
|
throw new Error("useBlogPostCard must be used within a BlogPostCardProvider");
|
|
4074
4074
|
return e;
|
|
4075
4075
|
}
|
|
4076
|
-
function
|
|
4076
|
+
function Vo({
|
|
4077
4077
|
as: e,
|
|
4078
4078
|
className: t,
|
|
4079
4079
|
children: r,
|
|
4080
4080
|
...o
|
|
4081
4081
|
}) {
|
|
4082
|
-
return /* @__PURE__ */
|
|
4082
|
+
return /* @__PURE__ */ s(
|
|
4083
4083
|
e ?? "article",
|
|
4084
4084
|
{
|
|
4085
|
-
className:
|
|
4085
|
+
className: v(
|
|
4086
4086
|
"group relative w-full max-w-md @container [font-family:var(--blog-post-card-font-family,var(--font-family-body))]",
|
|
4087
4087
|
t
|
|
4088
4088
|
),
|
|
@@ -4092,11 +4092,11 @@ function $o({
|
|
|
4092
4092
|
}
|
|
4093
4093
|
);
|
|
4094
4094
|
}
|
|
4095
|
-
function
|
|
4096
|
-
return /* @__PURE__ */
|
|
4095
|
+
function ln({ children: e, className: t, ...r }) {
|
|
4096
|
+
return /* @__PURE__ */ s(
|
|
4097
4097
|
"div",
|
|
4098
4098
|
{
|
|
4099
|
-
className:
|
|
4099
|
+
className: v(
|
|
4100
4100
|
"p-4 text-5xl font-bold leading-none tracking-tighter [color:var(--blog-post-card-empty-text,color-mix(in_oklab,hsl(var(--foreground))_15%,transparent))]",
|
|
4101
4101
|
t
|
|
4102
4102
|
),
|
|
@@ -4105,13 +4105,13 @@ function on({ children: e, className: t, ...r }) {
|
|
|
4105
4105
|
}
|
|
4106
4106
|
);
|
|
4107
4107
|
}
|
|
4108
|
-
function
|
|
4108
|
+
function Go({ className: e, ...t }) {
|
|
4109
4109
|
const { image: r, title: o } = Z(), n = "h-full w-full object-cover transition-transform duration-500 ease-out group-hover:scale-110", a = () => {
|
|
4110
4110
|
if (!r)
|
|
4111
|
-
return /* @__PURE__ */
|
|
4111
|
+
return /* @__PURE__ */ s(
|
|
4112
4112
|
"div",
|
|
4113
4113
|
{
|
|
4114
|
-
className:
|
|
4114
|
+
className: v(
|
|
4115
4115
|
"p-4 text-5xl font-bold leading-none tracking-tighter [color:var(--blog-post-card-empty-text,color-mix(in_oklab,hsl(var(--foreground))_15%,transparent))]",
|
|
4116
4116
|
e
|
|
4117
4117
|
),
|
|
@@ -4119,13 +4119,13 @@ function Vo({ className: e, ...t }) {
|
|
|
4119
4119
|
children: o
|
|
4120
4120
|
}
|
|
4121
4121
|
);
|
|
4122
|
-
const { src:
|
|
4123
|
-
return c ? c({ src:
|
|
4122
|
+
const { src: i, alt: l, render: c } = r;
|
|
4123
|
+
return c ? c({ src: i, alt: l, className: n }) : /* @__PURE__ */ s("img", { alt: l, className: n, src: i });
|
|
4124
4124
|
};
|
|
4125
|
-
return /* @__PURE__ */
|
|
4125
|
+
return /* @__PURE__ */ s(
|
|
4126
4126
|
"div",
|
|
4127
4127
|
{
|
|
4128
|
-
className:
|
|
4128
|
+
className: v(
|
|
4129
4129
|
"relative aspect-[4/3] w-full overflow-hidden rounded-2xl bg-[var(--blog-post-card-image-background,hsl(var(--contrast-100)))]",
|
|
4130
4130
|
e
|
|
4131
4131
|
),
|
|
@@ -4134,21 +4134,21 @@ function Vo({ className: e, ...t }) {
|
|
|
4134
4134
|
}
|
|
4135
4135
|
);
|
|
4136
4136
|
}
|
|
4137
|
-
function
|
|
4137
|
+
function jo({ className: e, ...t }) {
|
|
4138
4138
|
const {
|
|
4139
4139
|
link: { href: r, ariaLabel: o, render: n }
|
|
4140
|
-
} = Z(), a =
|
|
4140
|
+
} = Z(), a = v(
|
|
4141
4141
|
"absolute inset-0 rounded-b-lg rounded-t-2xl focus:outline-none focus-visible:ring-2 focus-visible:ring-[var(--blog-post-card-focus,hsl(var(--primary)))] focus-visible:ring-offset-4",
|
|
4142
4142
|
e
|
|
4143
4143
|
);
|
|
4144
|
-
return n ? n({ href: r, ariaLabel: o, className: a, ...t }) : /* @__PURE__ */
|
|
4144
|
+
return n ? n({ href: r, ariaLabel: o, className: a, ...t }) : /* @__PURE__ */ s("a", { className: a, href: r, ...t, children: /* @__PURE__ */ s("span", { className: "sr-only", children: o }) });
|
|
4145
4145
|
}
|
|
4146
|
-
function
|
|
4146
|
+
function Uo({ className: e, ...t }) {
|
|
4147
4147
|
const { title: r } = Z();
|
|
4148
|
-
return /* @__PURE__ */
|
|
4148
|
+
return /* @__PURE__ */ s(
|
|
4149
4149
|
"h5",
|
|
4150
4150
|
{
|
|
4151
|
-
className:
|
|
4151
|
+
className: v(
|
|
4152
4152
|
"mt-4 text-lg font-medium leading-snug text-[var(--blog-post-card-title-text,hsl(var(--foreground)))]",
|
|
4153
4153
|
e
|
|
4154
4154
|
),
|
|
@@ -4158,12 +4158,12 @@ function jo({ className: e, ...t }) {
|
|
|
4158
4158
|
}
|
|
4159
4159
|
);
|
|
4160
4160
|
}
|
|
4161
|
-
function
|
|
4161
|
+
function Fo({ className: e, ...t }) {
|
|
4162
4162
|
const { content: r } = Z();
|
|
4163
|
-
return /* @__PURE__ */
|
|
4163
|
+
return /* @__PURE__ */ s(
|
|
4164
4164
|
"p",
|
|
4165
4165
|
{
|
|
4166
|
-
className:
|
|
4166
|
+
className: v(
|
|
4167
4167
|
"mt-1.5 line-clamp-3 text-sm font-normal text-[var(--blog-post-card-content-text,hsl(var(--contrast-400)))]",
|
|
4168
4168
|
e
|
|
4169
4169
|
),
|
|
@@ -4173,11 +4173,11 @@ function Uo({ className: e, ...t }) {
|
|
|
4173
4173
|
}
|
|
4174
4174
|
);
|
|
4175
4175
|
}
|
|
4176
|
-
function
|
|
4177
|
-
return /* @__PURE__ */
|
|
4176
|
+
function Wo({ children: e, className: t, ...r }) {
|
|
4177
|
+
return /* @__PURE__ */ s(
|
|
4178
4178
|
"div",
|
|
4179
4179
|
{
|
|
4180
|
-
className:
|
|
4180
|
+
className: v(
|
|
4181
4181
|
"mt-3 text-sm text-[var(--blog-post-card-author-date-text,hsl(var(--foreground)))]",
|
|
4182
4182
|
t
|
|
4183
4183
|
),
|
|
@@ -4187,34 +4187,34 @@ function Fo({ children: e, className: t, ...r }) {
|
|
|
4187
4187
|
}
|
|
4188
4188
|
);
|
|
4189
4189
|
}
|
|
4190
|
-
function
|
|
4190
|
+
function Ho({ className: e, ...t }) {
|
|
4191
4191
|
const { date: r } = Z();
|
|
4192
|
-
return /* @__PURE__ */
|
|
4192
|
+
return /* @__PURE__ */ s("time", { dateTime: r, ...t, "data-slot": "blog-post-card-date", children: new Date(r).toLocaleDateString("en-US", {
|
|
4193
4193
|
year: "numeric",
|
|
4194
4194
|
month: "long",
|
|
4195
4195
|
day: "numeric"
|
|
4196
4196
|
}) });
|
|
4197
4197
|
}
|
|
4198
|
-
function
|
|
4198
|
+
function qo({ className: e, ...t }) {
|
|
4199
4199
|
const { author: r } = Z();
|
|
4200
4200
|
if (r != null)
|
|
4201
|
-
return /* @__PURE__ */
|
|
4202
|
-
/* @__PURE__ */
|
|
4201
|
+
return /* @__PURE__ */ T(tt, { children: [
|
|
4202
|
+
/* @__PURE__ */ s(
|
|
4203
4203
|
"span",
|
|
4204
4204
|
{
|
|
4205
|
-
className:
|
|
4205
|
+
className: v("after:mx-2 after:content-['•']", e),
|
|
4206
4206
|
"data-slot": "blog-post-card-author",
|
|
4207
4207
|
...t
|
|
4208
4208
|
}
|
|
4209
4209
|
),
|
|
4210
|
-
/* @__PURE__ */
|
|
4210
|
+
/* @__PURE__ */ s("span", { children: r })
|
|
4211
4211
|
] });
|
|
4212
4212
|
}
|
|
4213
|
-
function
|
|
4214
|
-
return /* @__PURE__ */
|
|
4213
|
+
function Ft({ className: e, ...t }) {
|
|
4214
|
+
return /* @__PURE__ */ s(
|
|
4215
4215
|
"div",
|
|
4216
4216
|
{
|
|
4217
|
-
className:
|
|
4217
|
+
className: v(
|
|
4218
4218
|
"bg-[var(--skeleton,color-mix(in_oklab,hsl(var(--contrast-300))_15%,transparent))]",
|
|
4219
4219
|
e
|
|
4220
4220
|
),
|
|
@@ -4224,16 +4224,16 @@ function qo({ className: e, ...t }) {
|
|
|
4224
4224
|
);
|
|
4225
4225
|
}
|
|
4226
4226
|
function J({ characterCount: e = 10, className: t, ...r }) {
|
|
4227
|
-
return /* @__PURE__ */
|
|
4227
|
+
return /* @__PURE__ */ s(
|
|
4228
4228
|
"div",
|
|
4229
4229
|
{
|
|
4230
|
-
className:
|
|
4230
|
+
className: v("flex h-[1lh] items-center", t),
|
|
4231
4231
|
"data-slot": "skeleton-text",
|
|
4232
4232
|
...r,
|
|
4233
|
-
children: /* @__PURE__ */
|
|
4233
|
+
children: /* @__PURE__ */ s(
|
|
4234
4234
|
"div",
|
|
4235
4235
|
{
|
|
4236
|
-
className:
|
|
4236
|
+
className: v(
|
|
4237
4237
|
"h-[1ex] max-w-full rounded-[inherit] bg-[var(--skeleton,color-mix(in_oklab,hsl(var(--contrast-300))_15%,transparent))]"
|
|
4238
4238
|
),
|
|
4239
4239
|
style: { width: e === "full" ? "100%" : `${e}ch` }
|
|
@@ -4242,16 +4242,16 @@ function J({ characterCount: e = 10, className: t, ...r }) {
|
|
|
4242
4242
|
}
|
|
4243
4243
|
);
|
|
4244
4244
|
}
|
|
4245
|
-
function
|
|
4245
|
+
function cn({
|
|
4246
4246
|
className: e,
|
|
4247
4247
|
aspectRatio: t = "4:3",
|
|
4248
4248
|
...r
|
|
4249
4249
|
}) {
|
|
4250
|
-
return /* @__PURE__ */
|
|
4251
|
-
/* @__PURE__ */
|
|
4252
|
-
|
|
4250
|
+
return /* @__PURE__ */ T("div", { className: v("w-full max-w-md @container", e), ...r, children: [
|
|
4251
|
+
/* @__PURE__ */ s(
|
|
4252
|
+
Ft,
|
|
4253
4253
|
{
|
|
4254
|
-
className:
|
|
4254
|
+
className: v(
|
|
4255
4255
|
"mb-4 w-full rounded-2xl",
|
|
4256
4256
|
{
|
|
4257
4257
|
"5:6": "aspect-[5/6]",
|
|
@@ -4262,25 +4262,25 @@ function nn({
|
|
|
4262
4262
|
)
|
|
4263
4263
|
}
|
|
4264
4264
|
),
|
|
4265
|
-
/* @__PURE__ */
|
|
4266
|
-
/* @__PURE__ */
|
|
4267
|
-
/* @__PURE__ */
|
|
4268
|
-
/* @__PURE__ */
|
|
4269
|
-
/* @__PURE__ */
|
|
4265
|
+
/* @__PURE__ */ s(J, { characterCount: 25, className: "mt-4 rounded text-lg" }),
|
|
4266
|
+
/* @__PURE__ */ T("div", { className: "mt-1.5", children: [
|
|
4267
|
+
/* @__PURE__ */ s(J, { characterCount: "full", className: "rounded text-sm" }),
|
|
4268
|
+
/* @__PURE__ */ s(J, { characterCount: "full", className: "rounded text-sm" }),
|
|
4269
|
+
/* @__PURE__ */ s(J, { characterCount: 15, className: "rounded text-sm" })
|
|
4270
4270
|
] }),
|
|
4271
|
-
/* @__PURE__ */
|
|
4271
|
+
/* @__PURE__ */ s(J, { characterCount: 10, className: "mt-3 rounded text-sm" })
|
|
4272
4272
|
] });
|
|
4273
4273
|
}
|
|
4274
|
-
function
|
|
4274
|
+
function dn({
|
|
4275
4275
|
variant: e = "primary",
|
|
4276
4276
|
size: t = "large",
|
|
4277
4277
|
shape: r = "pill",
|
|
4278
4278
|
className: o,
|
|
4279
4279
|
children: n,
|
|
4280
4280
|
render: a,
|
|
4281
|
-
...
|
|
4281
|
+
...i
|
|
4282
4282
|
}) {
|
|
4283
|
-
const l =
|
|
4283
|
+
const l = v(
|
|
4284
4284
|
"relative z-0 inline-flex h-fit select-none items-center justify-center overflow-hidden border text-center font-semibold leading-normal [font-family:var(--button-font-family,var(--font-family-body))] after:absolute after:inset-0 after:-z-10 after:-translate-x-[105%] after:transition after:duration-300 after:[animation-timing-function:cubic-bezier(0,0.25,0,1)] hover:after:translate-x-0 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--button-focus,hsl(var(--primary)))] focus-visible:ring-offset-2",
|
|
4285
4285
|
{
|
|
4286
4286
|
primary: "border-[var(--button-primary-border,hsl(var(--primary)))] bg-[var(--button-primary-background,hsl(var(--primary)))] text-[var(--button-primary-text,hsl(var(--foreground)))] after:bg-[var(--button-primary-background-hover,color-mix(in_oklab,hsl(var(--primary)),white_75%))]",
|
|
@@ -4295,10 +4295,10 @@ function an({
|
|
|
4295
4295
|
circle: "rounded-full after:rounded-full"
|
|
4296
4296
|
}[r],
|
|
4297
4297
|
o
|
|
4298
|
-
), c = /* @__PURE__ */
|
|
4298
|
+
), c = /* @__PURE__ */ s(
|
|
4299
4299
|
"span",
|
|
4300
4300
|
{
|
|
4301
|
-
className:
|
|
4301
|
+
className: v(
|
|
4302
4302
|
"inline-flex items-center justify-center",
|
|
4303
4303
|
r === "circle" && "aspect-square",
|
|
4304
4304
|
{
|
|
@@ -4320,51 +4320,126 @@ function an({
|
|
|
4320
4320
|
);
|
|
4321
4321
|
function f() {
|
|
4322
4322
|
return a ? a({
|
|
4323
|
-
...
|
|
4323
|
+
...i,
|
|
4324
4324
|
className: l,
|
|
4325
4325
|
children: c
|
|
4326
|
-
}) : /* @__PURE__ */
|
|
4326
|
+
}) : /* @__PURE__ */ s("a", { ...i, className: l, children: c });
|
|
4327
4327
|
}
|
|
4328
|
-
return /* @__PURE__ */
|
|
4328
|
+
return /* @__PURE__ */ s(tt, { children: f() });
|
|
4329
|
+
}
|
|
4330
|
+
function un({ as: e, className: t, children: r, link: o, ...n }) {
|
|
4331
|
+
return /* @__PURE__ */ T(Zo, { as: e, className: t, ...n, children: [
|
|
4332
|
+
r,
|
|
4333
|
+
/* @__PURE__ */ s(Ko, { link: o })
|
|
4334
|
+
] });
|
|
4335
|
+
}
|
|
4336
|
+
function Ko({ link: e }) {
|
|
4337
|
+
if (!e) return null;
|
|
4338
|
+
const { href: t, ariaLabel: r, render: o } = e, n = v(
|
|
4339
|
+
"absolute inset-0 rounded-2xl",
|
|
4340
|
+
"focus:outline-none focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-[var(--card-focus,hsl(var(--primary)))]"
|
|
4341
|
+
);
|
|
4342
|
+
return o ? o({ href: t, ariaLabel: r, className: n }) : /* @__PURE__ */ s("a", { className: n, "data-slot": "card-link", href: t, children: /* @__PURE__ */ s("span", { className: "sr-only", children: r }) });
|
|
4343
|
+
}
|
|
4344
|
+
function Zo({
|
|
4345
|
+
as: e,
|
|
4346
|
+
className: t,
|
|
4347
|
+
children: r
|
|
4348
|
+
}) {
|
|
4349
|
+
return /* @__PURE__ */ s(
|
|
4350
|
+
e ?? "div",
|
|
4351
|
+
{
|
|
4352
|
+
className: v(
|
|
4353
|
+
"group/card relative w-full rounded-2xl border p-6 @container",
|
|
4354
|
+
"border-[var(--card-border-color,hsl(var(--contrast-200)))] bg-[var(--card-background,hsl(var(--background)))] has-[a]:hover:bg-[var(--card-hover-background,color-mix(in_oklab,hsl(var(--contrast-100))_50%,transparent))]",
|
|
4355
|
+
"transition-colors duration-300 ease-linear",
|
|
4356
|
+
t
|
|
4357
|
+
),
|
|
4358
|
+
"data-slot": "card-root",
|
|
4359
|
+
children: r
|
|
4360
|
+
}
|
|
4361
|
+
);
|
|
4362
|
+
}
|
|
4363
|
+
function fn({ className: e, ...t }) {
|
|
4364
|
+
return /* @__PURE__ */ s("div", { className: v("@container", e), ...t, children: /* @__PURE__ */ s(Ft, {}) });
|
|
4365
|
+
}
|
|
4366
|
+
function mn({ className: e, children: t, removeLabel: r = "Remove", ...o }) {
|
|
4367
|
+
return /* @__PURE__ */ T(Xo, { className: e, children: [
|
|
4368
|
+
t,
|
|
4369
|
+
/* @__PURE__ */ s(Jo, { title: r, ...o })
|
|
4370
|
+
] });
|
|
4371
|
+
}
|
|
4372
|
+
function Xo({ children: e, className: t, ...r }) {
|
|
4373
|
+
return /* @__PURE__ */ s(
|
|
4374
|
+
"span",
|
|
4375
|
+
{
|
|
4376
|
+
className: v(
|
|
4377
|
+
"flex h-9 items-center gap-1.5 rounded-lg bg-[var(--chip-background,hsl(var(--contrast-100)))] py-2 pe-2 ps-3 text-sm font-semibold leading-5 text-[var(--chip-text,hsl(var(--foreground)))] [font-family:var(--chip-font-family,var(--font-family-body))]",
|
|
4378
|
+
t
|
|
4379
|
+
),
|
|
4380
|
+
...r,
|
|
4381
|
+
children: e
|
|
4382
|
+
}
|
|
4383
|
+
);
|
|
4384
|
+
}
|
|
4385
|
+
function Jo({ className: e, ...t }) {
|
|
4386
|
+
return /* @__PURE__ */ s(
|
|
4387
|
+
"button",
|
|
4388
|
+
{
|
|
4389
|
+
className: v(
|
|
4390
|
+
"flex h-5 w-5 items-center justify-center rounded-full hover:bg-[var(--chip-background-hover,hsl(var(--contrast-200)))] focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-[var(--button-focus,hsl(var(--foreground)))]",
|
|
4391
|
+
e
|
|
4392
|
+
),
|
|
4393
|
+
...t,
|
|
4394
|
+
children: /* @__PURE__ */ s(Ve, { size: 12 })
|
|
4395
|
+
}
|
|
4396
|
+
);
|
|
4329
4397
|
}
|
|
4330
4398
|
export {
|
|
4331
|
-
|
|
4332
|
-
|
|
4333
|
-
|
|
4399
|
+
tn as Accordion,
|
|
4400
|
+
po as AccordionContent,
|
|
4401
|
+
fo as AccordionItem,
|
|
4334
4402
|
go as AccordionItemProvider,
|
|
4335
|
-
|
|
4336
|
-
|
|
4337
|
-
|
|
4338
|
-
|
|
4339
|
-
|
|
4340
|
-
|
|
4341
|
-
|
|
4342
|
-
|
|
4343
|
-
|
|
4344
|
-
|
|
4345
|
-
|
|
4346
|
-
|
|
4347
|
-
|
|
4348
|
-
|
|
4349
|
-
|
|
4350
|
-
|
|
4351
|
-
|
|
4352
|
-
|
|
4353
|
-
|
|
4354
|
-
|
|
4355
|
-
|
|
4356
|
-
|
|
4357
|
-
|
|
4358
|
-
|
|
4359
|
-
|
|
4360
|
-
|
|
4361
|
-
|
|
4362
|
-
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
|
|
4403
|
+
bo as AccordionProvider,
|
|
4404
|
+
mo as AccordionRoot,
|
|
4405
|
+
ho as AccordionTrigger,
|
|
4406
|
+
rn as Alert,
|
|
4407
|
+
Co as AlertActions,
|
|
4408
|
+
Eo as AlertButton,
|
|
4409
|
+
zo as AlertCloseButton,
|
|
4410
|
+
wo as AlertDescription,
|
|
4411
|
+
yo as AlertHeader,
|
|
4412
|
+
vo as AlertRoot,
|
|
4413
|
+
ko as AlertTitle,
|
|
4414
|
+
on as AnimatedUnderline,
|
|
4415
|
+
nn as Badge,
|
|
4416
|
+
an as Banner,
|
|
4417
|
+
Bo as BannerContent,
|
|
4418
|
+
Do as BannerDismiss,
|
|
4419
|
+
To as BannerProvider,
|
|
4420
|
+
Oo as BannerRoot,
|
|
4421
|
+
Lo as BannerText,
|
|
4422
|
+
sn as BlogPostCard,
|
|
4423
|
+
qo as BlogPostCardAuthor,
|
|
4424
|
+
Fo as BlogPostCardContent,
|
|
4425
|
+
Ho as BlogPostCardDate,
|
|
4426
|
+
Wo as BlogPostCardDetails,
|
|
4427
|
+
ln as BlogPostCardFallback,
|
|
4428
|
+
Go as BlogPostCardImage,
|
|
4429
|
+
jo as BlogPostCardLink,
|
|
4430
|
+
$o as BlogPostCardProvider,
|
|
4431
|
+
Vo as BlogPostCardRoot,
|
|
4432
|
+
cn as BlogPostCardSkeleton,
|
|
4433
|
+
Uo as BlogPostCardTitle,
|
|
4366
4434
|
Vt as Button,
|
|
4367
|
-
|
|
4435
|
+
dn as ButtonLink,
|
|
4436
|
+
un as Card,
|
|
4437
|
+
Ko as CardLink,
|
|
4438
|
+
Zo as CardRoot,
|
|
4439
|
+
fn as CardSkeleton,
|
|
4440
|
+
mn as Chip,
|
|
4441
|
+
Jo as ChipButton,
|
|
4442
|
+
Xo as ChipRoot,
|
|
4368
4443
|
De as useAccordion,
|
|
4369
4444
|
$e as useAccordionItem,
|
|
4370
4445
|
jt as useBanner,
|