commerce-toolkit 0.0.8 → 0.0.10
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/accordion/accordion.d.ts +1 -1
- package/dist/components/accordion/index.d.ts +6 -6
- package/dist/components/alert/alert.d.ts +2 -2
- package/dist/components/alert/index.d.ts +8 -8
- package/dist/components/alert/index.d.ts.map +1 -1
- package/dist/components/alert/primitives/alert-button.d.ts +1 -1
- package/dist/components/alert/primitives/alert-close-button.d.ts +1 -1
- package/dist/components/animated-underline/index.d.ts +1 -1
- package/dist/components/badge/index.d.ts +1 -1
- package/dist/components/button/index.d.ts +1 -1
- package/dist/index.cjs +31 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +5 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1089 -756
- package/dist/index.js.map +1 -1
- package/dist/lib/index.d.ts +1 -1
- package/package.json +3 -2
package/dist/index.js
CHANGED
|
@@ -1,223 +1,223 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as u, jsxs as W } from "react/jsx-runtime";
|
|
2
2
|
import * as m from "react";
|
|
3
|
-
import I, { useState as
|
|
3
|
+
import I, { useState as St, useEffect as _t, createContext as Pt, useContext as Mt, forwardRef as He, createElement as be } from "react";
|
|
4
4
|
import "react-dom";
|
|
5
|
-
function
|
|
6
|
-
return /* @__PURE__ */
|
|
7
|
-
/* @__PURE__ */
|
|
8
|
-
/* @__PURE__ */
|
|
5
|
+
function kr({ colorScheme: e = "light", items: t, ...o }) {
|
|
6
|
+
return /* @__PURE__ */ u(or, { colorScheme: e, children: /* @__PURE__ */ u(Qo, { ...o, children: t.map((r, n) => /* @__PURE__ */ W(Yo, { value: r.title, children: [
|
|
7
|
+
/* @__PURE__ */ u(tr, { children: r.title }),
|
|
8
|
+
/* @__PURE__ */ u(er, { children: r.content })
|
|
9
9
|
] }, n)) }) });
|
|
10
10
|
}
|
|
11
|
-
function
|
|
12
|
-
let
|
|
13
|
-
function r(
|
|
14
|
-
const
|
|
15
|
-
|
|
16
|
-
const
|
|
17
|
-
const { scope: A, children: w, ...C } =
|
|
18
|
-
return /* @__PURE__ */
|
|
11
|
+
function ke(e, t = []) {
|
|
12
|
+
let o = [];
|
|
13
|
+
function r(a, s) {
|
|
14
|
+
const i = m.createContext(s), l = o.length;
|
|
15
|
+
o = [...o, s];
|
|
16
|
+
const f = (h) => {
|
|
17
|
+
const { scope: A, children: w, ...C } = h, y = A?.[e]?.[l] || i, k = m.useMemo(() => C, Object.values(C));
|
|
18
|
+
return /* @__PURE__ */ u(y.Provider, { value: k, children: w });
|
|
19
19
|
};
|
|
20
|
-
|
|
21
|
-
function p(
|
|
22
|
-
const w = A?.[e]?.[
|
|
20
|
+
f.displayName = a + "Provider";
|
|
21
|
+
function p(h, A) {
|
|
22
|
+
const w = A?.[e]?.[l] || i, C = m.useContext(w);
|
|
23
23
|
if (C) return C;
|
|
24
|
-
if (
|
|
25
|
-
throw new Error(`\`${
|
|
24
|
+
if (s !== void 0) return s;
|
|
25
|
+
throw new Error(`\`${h}\` must be used within \`${a}\``);
|
|
26
26
|
}
|
|
27
|
-
return [
|
|
27
|
+
return [f, p];
|
|
28
28
|
}
|
|
29
29
|
const n = () => {
|
|
30
|
-
const
|
|
31
|
-
return function(
|
|
32
|
-
const
|
|
30
|
+
const a = o.map((s) => m.createContext(s));
|
|
31
|
+
return function(i) {
|
|
32
|
+
const l = i?.[e] || a;
|
|
33
33
|
return m.useMemo(
|
|
34
|
-
() => ({ [`__scope${e}`]: { ...
|
|
35
|
-
[
|
|
34
|
+
() => ({ [`__scope${e}`]: { ...i, [e]: l } }),
|
|
35
|
+
[i, l]
|
|
36
36
|
);
|
|
37
37
|
};
|
|
38
38
|
};
|
|
39
|
-
return n.scopeName = e, [r,
|
|
39
|
+
return n.scopeName = e, [r, Et(n, ...t)];
|
|
40
40
|
}
|
|
41
|
-
function
|
|
42
|
-
const
|
|
43
|
-
if (e.length === 1) return
|
|
44
|
-
const
|
|
41
|
+
function Et(...e) {
|
|
42
|
+
const t = e[0];
|
|
43
|
+
if (e.length === 1) return t;
|
|
44
|
+
const o = () => {
|
|
45
45
|
const r = e.map((n) => ({
|
|
46
46
|
useScope: n(),
|
|
47
47
|
scopeName: n.scopeName
|
|
48
48
|
}));
|
|
49
|
-
return function(
|
|
50
|
-
const
|
|
51
|
-
const
|
|
52
|
-
return { ...
|
|
49
|
+
return function(a) {
|
|
50
|
+
const s = r.reduce((i, { useScope: l, scopeName: f }) => {
|
|
51
|
+
const h = l(a)[`__scope${f}`];
|
|
52
|
+
return { ...i, ...h };
|
|
53
53
|
}, {});
|
|
54
|
-
return m.useMemo(() => ({ [`__scope${
|
|
54
|
+
return m.useMemo(() => ({ [`__scope${t.scopeName}`]: s }), [s]);
|
|
55
55
|
};
|
|
56
56
|
};
|
|
57
|
-
return
|
|
57
|
+
return o.scopeName = t.scopeName, o;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function Ve(e, t) {
|
|
60
60
|
if (typeof e == "function")
|
|
61
|
-
return e(
|
|
62
|
-
e != null && (e.current =
|
|
61
|
+
return e(t);
|
|
62
|
+
e != null && (e.current = t);
|
|
63
63
|
}
|
|
64
|
-
function
|
|
65
|
-
return (
|
|
66
|
-
let
|
|
64
|
+
function qe(...e) {
|
|
65
|
+
return (t) => {
|
|
66
|
+
let o = !1;
|
|
67
67
|
const r = e.map((n) => {
|
|
68
|
-
const
|
|
69
|
-
return !
|
|
68
|
+
const a = Ve(n, t);
|
|
69
|
+
return !o && typeof a == "function" && (o = !0), a;
|
|
70
70
|
});
|
|
71
|
-
if (
|
|
71
|
+
if (o)
|
|
72
72
|
return () => {
|
|
73
73
|
for (let n = 0; n < r.length; n++) {
|
|
74
|
-
const
|
|
75
|
-
typeof
|
|
74
|
+
const a = r[n];
|
|
75
|
+
typeof a == "function" ? a() : Ve(e[n], null);
|
|
76
76
|
}
|
|
77
77
|
};
|
|
78
78
|
};
|
|
79
79
|
}
|
|
80
|
-
function
|
|
81
|
-
return m.useCallback(
|
|
80
|
+
function X(...e) {
|
|
81
|
+
return m.useCallback(qe(...e), e);
|
|
82
82
|
}
|
|
83
83
|
// @__NO_SIDE_EFFECTS__
|
|
84
|
-
function
|
|
85
|
-
const
|
|
86
|
-
const { children:
|
|
87
|
-
if (
|
|
88
|
-
const
|
|
89
|
-
return /* @__PURE__ */
|
|
84
|
+
function he(e) {
|
|
85
|
+
const t = /* @__PURE__ */ zt(e), o = m.forwardRef((r, n) => {
|
|
86
|
+
const { children: a, ...s } = r, i = m.Children.toArray(a), l = i.find(Ot);
|
|
87
|
+
if (l) {
|
|
88
|
+
const f = l.props.children, p = i.map((h) => h === l ? m.Children.count(f) > 1 ? m.Children.only(null) : m.isValidElement(f) ? f.props.children : null : h);
|
|
89
|
+
return /* @__PURE__ */ u(t, { ...s, ref: n, children: m.isValidElement(f) ? m.cloneElement(f, void 0, p) : null });
|
|
90
90
|
}
|
|
91
|
-
return /* @__PURE__ */
|
|
91
|
+
return /* @__PURE__ */ u(t, { ...s, ref: n, children: a });
|
|
92
92
|
});
|
|
93
|
-
return
|
|
93
|
+
return o.displayName = `${e}.Slot`, o;
|
|
94
94
|
}
|
|
95
95
|
// @__NO_SIDE_EFFECTS__
|
|
96
|
-
function
|
|
97
|
-
const
|
|
98
|
-
const { children: n, ...
|
|
96
|
+
function zt(e) {
|
|
97
|
+
const t = m.forwardRef((o, r) => {
|
|
98
|
+
const { children: n, ...a } = o;
|
|
99
99
|
if (m.isValidElement(n)) {
|
|
100
|
-
const
|
|
101
|
-
return n.type !== m.Fragment && (
|
|
100
|
+
const s = $t(n), i = Lt(a, n.props);
|
|
101
|
+
return n.type !== m.Fragment && (i.ref = r ? qe(r, s) : s), m.cloneElement(n, i);
|
|
102
102
|
}
|
|
103
103
|
return m.Children.count(n) > 1 ? m.Children.only(null) : null;
|
|
104
104
|
});
|
|
105
|
-
return
|
|
105
|
+
return t.displayName = `${e}.SlotClone`, t;
|
|
106
106
|
}
|
|
107
|
-
var
|
|
108
|
-
function
|
|
109
|
-
return m.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId ===
|
|
107
|
+
var Tt = Symbol("radix.slottable");
|
|
108
|
+
function Ot(e) {
|
|
109
|
+
return m.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === Tt;
|
|
110
110
|
}
|
|
111
|
-
function
|
|
112
|
-
const
|
|
113
|
-
for (const r in
|
|
114
|
-
const n = e[r],
|
|
115
|
-
/^on[A-Z]/.test(r) ? n &&
|
|
116
|
-
const
|
|
117
|
-
return n(...
|
|
118
|
-
} : n && (
|
|
111
|
+
function Lt(e, t) {
|
|
112
|
+
const o = { ...t };
|
|
113
|
+
for (const r in t) {
|
|
114
|
+
const n = e[r], a = t[r];
|
|
115
|
+
/^on[A-Z]/.test(r) ? n && a ? o[r] = (...i) => {
|
|
116
|
+
const l = a(...i);
|
|
117
|
+
return n(...i), l;
|
|
118
|
+
} : n && (o[r] = n) : r === "style" ? o[r] = { ...n, ...a } : r === "className" && (o[r] = [n, a].filter(Boolean).join(" "));
|
|
119
119
|
}
|
|
120
|
-
return { ...e, ...
|
|
120
|
+
return { ...e, ...o };
|
|
121
121
|
}
|
|
122
|
-
function
|
|
123
|
-
let
|
|
124
|
-
return
|
|
122
|
+
function $t(e) {
|
|
123
|
+
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, o = t && "isReactWarning" in t && t.isReactWarning;
|
|
124
|
+
return o ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, o = t && "isReactWarning" in t && t.isReactWarning, o ? e.props.ref : e.props.ref || e.ref);
|
|
125
125
|
}
|
|
126
|
-
function
|
|
127
|
-
const
|
|
128
|
-
|
|
126
|
+
function Gt(e) {
|
|
127
|
+
const t = e + "CollectionProvider", [o, r] = ke(t), [n, a] = o(
|
|
128
|
+
t,
|
|
129
129
|
{ collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }
|
|
130
|
-
),
|
|
131
|
-
const { scope: k, children: R } = y, x = I.useRef(null),
|
|
132
|
-
return /* @__PURE__ */
|
|
130
|
+
), s = (y) => {
|
|
131
|
+
const { scope: k, children: R } = y, x = I.useRef(null), N = I.useRef(/* @__PURE__ */ new Map()).current;
|
|
132
|
+
return /* @__PURE__ */ u(n, { scope: k, itemMap: N, collectionRef: x, children: R });
|
|
133
133
|
};
|
|
134
|
-
|
|
135
|
-
const
|
|
134
|
+
s.displayName = t;
|
|
135
|
+
const i = e + "CollectionSlot", l = /* @__PURE__ */ he(i), f = I.forwardRef(
|
|
136
136
|
(y, k) => {
|
|
137
|
-
const { scope: R, children: x } = y,
|
|
138
|
-
return /* @__PURE__ */
|
|
137
|
+
const { scope: R, children: x } = y, N = a(i, R), _ = X(k, N.collectionRef);
|
|
138
|
+
return /* @__PURE__ */ u(l, { ref: _, children: x });
|
|
139
139
|
}
|
|
140
140
|
);
|
|
141
|
-
|
|
142
|
-
const p = e + "CollectionItemSlot",
|
|
141
|
+
f.displayName = i;
|
|
142
|
+
const p = e + "CollectionItemSlot", h = "data-radix-collection-item", A = /* @__PURE__ */ he(p), w = I.forwardRef(
|
|
143
143
|
(y, k) => {
|
|
144
|
-
const { scope: R, children: x, ...
|
|
145
|
-
return I.useEffect(() => (E.itemMap.set(
|
|
144
|
+
const { scope: R, children: x, ...N } = y, _ = I.useRef(null), T = X(k, _), E = a(p, R);
|
|
145
|
+
return I.useEffect(() => (E.itemMap.set(_, { ref: _, ...N }), () => void E.itemMap.delete(_))), /* @__PURE__ */ u(A, { [h]: "", ref: T, children: x });
|
|
146
146
|
}
|
|
147
147
|
);
|
|
148
148
|
w.displayName = p;
|
|
149
149
|
function C(y) {
|
|
150
|
-
const k =
|
|
150
|
+
const k = a(e + "CollectionConsumer", y);
|
|
151
151
|
return I.useCallback(() => {
|
|
152
152
|
const x = k.collectionRef.current;
|
|
153
153
|
if (!x) return [];
|
|
154
|
-
const
|
|
154
|
+
const N = Array.from(x.querySelectorAll(`[${h}]`));
|
|
155
155
|
return Array.from(k.itemMap.values()).sort(
|
|
156
|
-
(E,
|
|
156
|
+
(E, $) => N.indexOf(E.ref.current) - N.indexOf($.ref.current)
|
|
157
157
|
);
|
|
158
158
|
}, [k.collectionRef, k.itemMap]);
|
|
159
159
|
}
|
|
160
160
|
return [
|
|
161
|
-
{ Provider:
|
|
161
|
+
{ Provider: s, Slot: f, ItemSlot: w },
|
|
162
162
|
C,
|
|
163
163
|
r
|
|
164
164
|
];
|
|
165
165
|
}
|
|
166
|
-
function
|
|
166
|
+
function Ke(e, t, { checkForDefaultPrevented: o = !0 } = {}) {
|
|
167
167
|
return function(n) {
|
|
168
|
-
if (e?.(n),
|
|
169
|
-
return
|
|
168
|
+
if (e?.(n), o === !1 || !n.defaultPrevented)
|
|
169
|
+
return t?.(n);
|
|
170
170
|
};
|
|
171
171
|
}
|
|
172
|
-
var
|
|
173
|
-
},
|
|
174
|
-
function
|
|
172
|
+
var J = globalThis?.document ? m.useLayoutEffect : () => {
|
|
173
|
+
}, Dt = m[" useInsertionEffect ".trim().toString()] || J;
|
|
174
|
+
function Ce({
|
|
175
175
|
prop: e,
|
|
176
|
-
defaultProp:
|
|
177
|
-
onChange:
|
|
176
|
+
defaultProp: t,
|
|
177
|
+
onChange: o = () => {
|
|
178
178
|
},
|
|
179
179
|
caller: r
|
|
180
180
|
}) {
|
|
181
|
-
const [n,
|
|
182
|
-
defaultProp:
|
|
183
|
-
onChange:
|
|
184
|
-
}),
|
|
181
|
+
const [n, a, s] = Vt({
|
|
182
|
+
defaultProp: t,
|
|
183
|
+
onChange: o
|
|
184
|
+
}), i = e !== void 0, l = i ? e : n;
|
|
185
185
|
{
|
|
186
186
|
const p = m.useRef(e !== void 0);
|
|
187
187
|
m.useEffect(() => {
|
|
188
|
-
const
|
|
189
|
-
|
|
190
|
-
`${r} is changing from ${
|
|
191
|
-
), p.current =
|
|
192
|
-
}, [
|
|
188
|
+
const h = p.current;
|
|
189
|
+
h !== i && console.warn(
|
|
190
|
+
`${r} is changing from ${h ? "controlled" : "uncontrolled"} to ${i ? "controlled" : "uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`
|
|
191
|
+
), p.current = i;
|
|
192
|
+
}, [i, r]);
|
|
193
193
|
}
|
|
194
|
-
const
|
|
194
|
+
const f = m.useCallback(
|
|
195
195
|
(p) => {
|
|
196
|
-
if (
|
|
197
|
-
const
|
|
198
|
-
|
|
196
|
+
if (i) {
|
|
197
|
+
const h = jt(p) ? p(e) : p;
|
|
198
|
+
h !== e && s.current?.(h);
|
|
199
199
|
} else
|
|
200
|
-
|
|
200
|
+
a(p);
|
|
201
201
|
},
|
|
202
|
-
[
|
|
202
|
+
[i, e, a, s]
|
|
203
203
|
);
|
|
204
|
-
return [
|
|
204
|
+
return [l, f];
|
|
205
205
|
}
|
|
206
|
-
function
|
|
206
|
+
function Vt({
|
|
207
207
|
defaultProp: e,
|
|
208
|
-
onChange:
|
|
208
|
+
onChange: t
|
|
209
209
|
}) {
|
|
210
|
-
const [
|
|
211
|
-
return
|
|
212
|
-
|
|
213
|
-
}, [
|
|
214
|
-
n.current !==
|
|
215
|
-
}, [
|
|
210
|
+
const [o, r] = m.useState(e), n = m.useRef(o), a = m.useRef(t);
|
|
211
|
+
return Dt(() => {
|
|
212
|
+
a.current = t;
|
|
213
|
+
}, [t]), m.useEffect(() => {
|
|
214
|
+
n.current !== o && (a.current?.(o), n.current = o);
|
|
215
|
+
}, [o, n]), [o, r, a];
|
|
216
216
|
}
|
|
217
|
-
function
|
|
217
|
+
function jt(e) {
|
|
218
218
|
return typeof e == "function";
|
|
219
219
|
}
|
|
220
|
-
var
|
|
220
|
+
var Ut = [
|
|
221
221
|
"a",
|
|
222
222
|
"button",
|
|
223
223
|
"div",
|
|
@@ -235,23 +235,23 @@ var Go = [
|
|
|
235
235
|
"span",
|
|
236
236
|
"svg",
|
|
237
237
|
"ul"
|
|
238
|
-
], Y =
|
|
239
|
-
const
|
|
240
|
-
const { asChild:
|
|
241
|
-
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */
|
|
238
|
+
], Y = Ut.reduce((e, t) => {
|
|
239
|
+
const o = /* @__PURE__ */ he(`Primitive.${t}`), r = m.forwardRef((n, a) => {
|
|
240
|
+
const { asChild: s, ...i } = n, l = s ? o : t;
|
|
241
|
+
return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ u(l, { ...i, ref: a });
|
|
242
242
|
});
|
|
243
|
-
return r.displayName = `Primitive.${
|
|
243
|
+
return r.displayName = `Primitive.${t}`, { ...e, [t]: r };
|
|
244
244
|
}, {});
|
|
245
|
-
function
|
|
246
|
-
return m.useReducer((
|
|
245
|
+
function Ft(e, t) {
|
|
246
|
+
return m.useReducer((o, r) => t[o][r] ?? o, e);
|
|
247
247
|
}
|
|
248
|
-
var
|
|
249
|
-
const { present:
|
|
250
|
-
return typeof
|
|
248
|
+
var Ze = (e) => {
|
|
249
|
+
const { present: t, children: o } = e, r = Wt(t), n = typeof o == "function" ? o({ present: r.isPresent }) : m.Children.only(o), a = X(r.ref, Bt(n));
|
|
250
|
+
return typeof o == "function" || r.isPresent ? m.cloneElement(n, { ref: a }) : null;
|
|
251
251
|
};
|
|
252
|
-
|
|
253
|
-
function
|
|
254
|
-
const [
|
|
252
|
+
Ze.displayName = "Presence";
|
|
253
|
+
function Wt(e) {
|
|
254
|
+
const [t, o] = m.useState(), r = m.useRef(null), n = m.useRef(e), a = m.useRef("none"), s = e ? "mounted" : "unmounted", [i, l] = Ft(s, {
|
|
255
255
|
mounted: {
|
|
256
256
|
UNMOUNT: "unmounted",
|
|
257
257
|
ANIMATION_OUT: "unmountSuspended"
|
|
@@ -265,142 +265,142 @@ function Do(e) {
|
|
|
265
265
|
}
|
|
266
266
|
});
|
|
267
267
|
return m.useEffect(() => {
|
|
268
|
-
const
|
|
269
|
-
|
|
270
|
-
}, [
|
|
271
|
-
const
|
|
268
|
+
const f = ne(r.current);
|
|
269
|
+
a.current = i === "mounted" ? f : "none";
|
|
270
|
+
}, [i]), J(() => {
|
|
271
|
+
const f = r.current, p = n.current;
|
|
272
272
|
if (p !== e) {
|
|
273
|
-
const A =
|
|
274
|
-
e ?
|
|
273
|
+
const A = a.current, w = ne(f);
|
|
274
|
+
e ? l("MOUNT") : w === "none" || f?.display === "none" ? l("UNMOUNT") : l(p && A !== w ? "ANIMATION_OUT" : "UNMOUNT"), n.current = e;
|
|
275
275
|
}
|
|
276
|
-
}, [e,
|
|
277
|
-
if (
|
|
278
|
-
let
|
|
279
|
-
const p =
|
|
280
|
-
const y =
|
|
281
|
-
if (w.target ===
|
|
282
|
-
const k =
|
|
283
|
-
|
|
284
|
-
|
|
276
|
+
}, [e, l]), J(() => {
|
|
277
|
+
if (t) {
|
|
278
|
+
let f;
|
|
279
|
+
const p = t.ownerDocument.defaultView ?? window, h = (w) => {
|
|
280
|
+
const y = ne(r.current).includes(CSS.escape(w.animationName));
|
|
281
|
+
if (w.target === t && y && (l("ANIMATION_END"), !n.current)) {
|
|
282
|
+
const k = t.style.animationFillMode;
|
|
283
|
+
t.style.animationFillMode = "forwards", f = p.setTimeout(() => {
|
|
284
|
+
t.style.animationFillMode === "forwards" && (t.style.animationFillMode = k);
|
|
285
285
|
});
|
|
286
286
|
}
|
|
287
287
|
}, A = (w) => {
|
|
288
|
-
w.target ===
|
|
288
|
+
w.target === t && (a.current = ne(r.current));
|
|
289
289
|
};
|
|
290
|
-
return
|
|
291
|
-
p.clearTimeout(
|
|
290
|
+
return t.addEventListener("animationstart", A), t.addEventListener("animationcancel", h), t.addEventListener("animationend", h), () => {
|
|
291
|
+
p.clearTimeout(f), t.removeEventListener("animationstart", A), t.removeEventListener("animationcancel", h), t.removeEventListener("animationend", h);
|
|
292
292
|
};
|
|
293
293
|
} else
|
|
294
|
-
|
|
295
|
-
}, [
|
|
296
|
-
isPresent: ["mounted", "unmountSuspended"].includes(
|
|
297
|
-
ref: m.useCallback((
|
|
298
|
-
r.current =
|
|
294
|
+
l("ANIMATION_END");
|
|
295
|
+
}, [t, l]), {
|
|
296
|
+
isPresent: ["mounted", "unmountSuspended"].includes(i),
|
|
297
|
+
ref: m.useCallback((f) => {
|
|
298
|
+
r.current = f ? getComputedStyle(f) : null, o(f);
|
|
299
299
|
}, [])
|
|
300
300
|
};
|
|
301
301
|
}
|
|
302
|
-
function
|
|
302
|
+
function ne(e) {
|
|
303
303
|
return e?.animationName || "none";
|
|
304
304
|
}
|
|
305
|
-
function
|
|
306
|
-
let
|
|
307
|
-
return
|
|
305
|
+
function Bt(e) {
|
|
306
|
+
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, o = t && "isReactWarning" in t && t.isReactWarning;
|
|
307
|
+
return o ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, o = t && "isReactWarning" in t && t.isReactWarning, o ? e.props.ref : e.props.ref || e.ref);
|
|
308
308
|
}
|
|
309
|
-
var
|
|
310
|
-
}),
|
|
311
|
-
function
|
|
312
|
-
const [
|
|
313
|
-
return
|
|
314
|
-
|
|
315
|
-
}, [e]),
|
|
309
|
+
var Ht = m[" useId ".trim().toString()] || (() => {
|
|
310
|
+
}), qt = 0;
|
|
311
|
+
function Xe(e) {
|
|
312
|
+
const [t, o] = m.useState(Ht());
|
|
313
|
+
return J(() => {
|
|
314
|
+
o((r) => r ?? String(qt++));
|
|
315
|
+
}, [e]), t ? `radix-${t}` : "";
|
|
316
316
|
}
|
|
317
|
-
var
|
|
318
|
-
(e,
|
|
317
|
+
var le = "Collapsible", [Kt, Je] = ke(le), [Zt, Ae] = Kt(le), Ye = m.forwardRef(
|
|
318
|
+
(e, t) => {
|
|
319
319
|
const {
|
|
320
|
-
__scopeCollapsible:
|
|
320
|
+
__scopeCollapsible: o,
|
|
321
321
|
open: r,
|
|
322
322
|
defaultOpen: n,
|
|
323
|
-
disabled:
|
|
324
|
-
onOpenChange:
|
|
325
|
-
...
|
|
326
|
-
} = e, [
|
|
323
|
+
disabled: a,
|
|
324
|
+
onOpenChange: s,
|
|
325
|
+
...i
|
|
326
|
+
} = e, [l, f] = Ce({
|
|
327
327
|
prop: r,
|
|
328
328
|
defaultProp: n ?? !1,
|
|
329
|
-
onChange:
|
|
330
|
-
caller:
|
|
329
|
+
onChange: s,
|
|
330
|
+
caller: le
|
|
331
331
|
});
|
|
332
|
-
return /* @__PURE__ */
|
|
333
|
-
|
|
332
|
+
return /* @__PURE__ */ u(
|
|
333
|
+
Zt,
|
|
334
334
|
{
|
|
335
|
-
scope:
|
|
336
|
-
disabled:
|
|
337
|
-
contentId:
|
|
338
|
-
open:
|
|
339
|
-
onOpenToggle: m.useCallback(() =>
|
|
340
|
-
children: /* @__PURE__ */
|
|
335
|
+
scope: o,
|
|
336
|
+
disabled: a,
|
|
337
|
+
contentId: Xe(),
|
|
338
|
+
open: l,
|
|
339
|
+
onOpenToggle: m.useCallback(() => f((p) => !p), [f]),
|
|
340
|
+
children: /* @__PURE__ */ u(
|
|
341
341
|
Y.div,
|
|
342
342
|
{
|
|
343
|
-
"data-state":
|
|
344
|
-
"data-disabled":
|
|
345
|
-
...
|
|
346
|
-
ref:
|
|
343
|
+
"data-state": Ne(l),
|
|
344
|
+
"data-disabled": a ? "" : void 0,
|
|
345
|
+
...i,
|
|
346
|
+
ref: t
|
|
347
347
|
}
|
|
348
348
|
)
|
|
349
349
|
}
|
|
350
350
|
);
|
|
351
351
|
}
|
|
352
352
|
);
|
|
353
|
-
|
|
354
|
-
var
|
|
355
|
-
(e,
|
|
356
|
-
const { __scopeCollapsible:
|
|
357
|
-
return /* @__PURE__ */
|
|
353
|
+
Ye.displayName = le;
|
|
354
|
+
var Qe = "CollapsibleTrigger", et = m.forwardRef(
|
|
355
|
+
(e, t) => {
|
|
356
|
+
const { __scopeCollapsible: o, ...r } = e, n = Ae(Qe, o);
|
|
357
|
+
return /* @__PURE__ */ u(
|
|
358
358
|
Y.button,
|
|
359
359
|
{
|
|
360
360
|
type: "button",
|
|
361
361
|
"aria-controls": n.contentId,
|
|
362
362
|
"aria-expanded": n.open || !1,
|
|
363
|
-
"data-state":
|
|
363
|
+
"data-state": Ne(n.open),
|
|
364
364
|
"data-disabled": n.disabled ? "" : void 0,
|
|
365
365
|
disabled: n.disabled,
|
|
366
366
|
...r,
|
|
367
|
-
ref:
|
|
368
|
-
onClick:
|
|
367
|
+
ref: t,
|
|
368
|
+
onClick: Ke(e.onClick, n.onOpenToggle)
|
|
369
369
|
}
|
|
370
370
|
);
|
|
371
371
|
}
|
|
372
372
|
);
|
|
373
|
-
|
|
374
|
-
var
|
|
375
|
-
(e,
|
|
376
|
-
const { forceMount:
|
|
377
|
-
return /* @__PURE__ */
|
|
373
|
+
et.displayName = Qe;
|
|
374
|
+
var Re = "CollapsibleContent", tt = m.forwardRef(
|
|
375
|
+
(e, t) => {
|
|
376
|
+
const { forceMount: o, ...r } = e, n = Ae(Re, e.__scopeCollapsible);
|
|
377
|
+
return /* @__PURE__ */ u(Ze, { present: o || n.open, children: ({ present: a }) => /* @__PURE__ */ u(Xt, { ...r, ref: t, present: a }) });
|
|
378
378
|
}
|
|
379
379
|
);
|
|
380
|
-
|
|
381
|
-
var
|
|
382
|
-
const { __scopeCollapsible:
|
|
380
|
+
tt.displayName = Re;
|
|
381
|
+
var Xt = m.forwardRef((e, t) => {
|
|
382
|
+
const { __scopeCollapsible: o, present: r, children: n, ...a } = e, s = Ae(Re, o), [i, l] = m.useState(r), f = m.useRef(null), p = X(t, f), h = m.useRef(0), A = h.current, w = m.useRef(0), C = w.current, y = s.open || i, k = m.useRef(y), R = m.useRef(void 0);
|
|
383
383
|
return m.useEffect(() => {
|
|
384
384
|
const x = requestAnimationFrame(() => k.current = !1);
|
|
385
385
|
return () => cancelAnimationFrame(x);
|
|
386
|
-
}, []),
|
|
387
|
-
const x =
|
|
386
|
+
}, []), J(() => {
|
|
387
|
+
const x = f.current;
|
|
388
388
|
if (x) {
|
|
389
389
|
R.current = R.current || {
|
|
390
390
|
transitionDuration: x.style.transitionDuration,
|
|
391
391
|
animationName: x.style.animationName
|
|
392
392
|
}, x.style.transitionDuration = "0s", x.style.animationName = "none";
|
|
393
|
-
const
|
|
394
|
-
|
|
393
|
+
const N = x.getBoundingClientRect();
|
|
394
|
+
h.current = N.height, w.current = N.width, k.current || (x.style.transitionDuration = R.current.transitionDuration, x.style.animationName = R.current.animationName), l(r);
|
|
395
395
|
}
|
|
396
|
-
}, [
|
|
396
|
+
}, [s.open, r]), /* @__PURE__ */ u(
|
|
397
397
|
Y.div,
|
|
398
398
|
{
|
|
399
|
-
"data-state":
|
|
400
|
-
"data-disabled":
|
|
401
|
-
id:
|
|
399
|
+
"data-state": Ne(s.open),
|
|
400
|
+
"data-disabled": s.disabled ? "" : void 0,
|
|
401
|
+
id: s.contentId,
|
|
402
402
|
hidden: !y,
|
|
403
|
-
...
|
|
403
|
+
...a,
|
|
404
404
|
ref: p,
|
|
405
405
|
style: {
|
|
406
406
|
"--radix-collapsible-content-height": A ? `${A}px` : void 0,
|
|
@@ -411,159 +411,159 @@ var Bo = m.forwardRef((e, o) => {
|
|
|
411
411
|
}
|
|
412
412
|
);
|
|
413
413
|
});
|
|
414
|
-
function
|
|
414
|
+
function Ne(e) {
|
|
415
415
|
return e ? "open" : "closed";
|
|
416
416
|
}
|
|
417
|
-
var
|
|
418
|
-
function
|
|
419
|
-
const
|
|
420
|
-
return e ||
|
|
417
|
+
var Jt = Ye, Yt = et, Qt = tt, eo = m.createContext(void 0);
|
|
418
|
+
function to(e) {
|
|
419
|
+
const t = m.useContext(eo);
|
|
420
|
+
return e || t || "ltr";
|
|
421
421
|
}
|
|
422
|
-
var
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
]),
|
|
426
|
-
(e,
|
|
427
|
-
const { type:
|
|
428
|
-
return /* @__PURE__ */
|
|
422
|
+
var L = "Accordion", oo = ["Home", "End", "ArrowDown", "ArrowUp", "ArrowLeft", "ArrowRight"], [Ie, ro, no] = Gt(L), [ce] = ke(L, [
|
|
423
|
+
no,
|
|
424
|
+
Je
|
|
425
|
+
]), Se = Je(), ot = I.forwardRef(
|
|
426
|
+
(e, t) => {
|
|
427
|
+
const { type: o, ...r } = e, n = r, a = r;
|
|
428
|
+
return /* @__PURE__ */ u(Ie.Provider, { scope: e.__scopeAccordion, children: o === "multiple" ? /* @__PURE__ */ u(lo, { ...a, ref: t }) : /* @__PURE__ */ u(io, { ...n, ref: t }) });
|
|
429
429
|
}
|
|
430
430
|
);
|
|
431
|
-
|
|
432
|
-
var [
|
|
433
|
-
|
|
431
|
+
ot.displayName = L;
|
|
432
|
+
var [rt, ao] = ce(L), [nt, so] = ce(
|
|
433
|
+
L,
|
|
434
434
|
{ collapsible: !1 }
|
|
435
|
-
),
|
|
436
|
-
(e,
|
|
435
|
+
), io = I.forwardRef(
|
|
436
|
+
(e, t) => {
|
|
437
437
|
const {
|
|
438
|
-
value:
|
|
438
|
+
value: o,
|
|
439
439
|
defaultValue: r,
|
|
440
440
|
onValueChange: n = () => {
|
|
441
441
|
},
|
|
442
|
-
collapsible:
|
|
443
|
-
...
|
|
444
|
-
} = e, [
|
|
445
|
-
prop:
|
|
442
|
+
collapsible: a = !1,
|
|
443
|
+
...s
|
|
444
|
+
} = e, [i, l] = Ce({
|
|
445
|
+
prop: o,
|
|
446
446
|
defaultProp: r ?? "",
|
|
447
447
|
onChange: n,
|
|
448
|
-
caller:
|
|
448
|
+
caller: L
|
|
449
449
|
});
|
|
450
|
-
return /* @__PURE__ */
|
|
451
|
-
|
|
450
|
+
return /* @__PURE__ */ u(
|
|
451
|
+
rt,
|
|
452
452
|
{
|
|
453
453
|
scope: e.__scopeAccordion,
|
|
454
|
-
value: I.useMemo(() =>
|
|
455
|
-
onItemOpen:
|
|
456
|
-
onItemClose: I.useCallback(() =>
|
|
457
|
-
children: /* @__PURE__ */
|
|
454
|
+
value: I.useMemo(() => i ? [i] : [], [i]),
|
|
455
|
+
onItemOpen: l,
|
|
456
|
+
onItemClose: I.useCallback(() => a && l(""), [a, l]),
|
|
457
|
+
children: /* @__PURE__ */ u(nt, { scope: e.__scopeAccordion, collapsible: a, children: /* @__PURE__ */ u(at, { ...s, ref: t }) })
|
|
458
458
|
}
|
|
459
459
|
);
|
|
460
460
|
}
|
|
461
|
-
),
|
|
461
|
+
), lo = I.forwardRef((e, t) => {
|
|
462
462
|
const {
|
|
463
|
-
value:
|
|
463
|
+
value: o,
|
|
464
464
|
defaultValue: r,
|
|
465
465
|
onValueChange: n = () => {
|
|
466
466
|
},
|
|
467
|
-
...
|
|
468
|
-
} = e, [
|
|
469
|
-
prop:
|
|
467
|
+
...a
|
|
468
|
+
} = e, [s, i] = Ce({
|
|
469
|
+
prop: o,
|
|
470
470
|
defaultProp: r ?? [],
|
|
471
471
|
onChange: n,
|
|
472
|
-
caller:
|
|
473
|
-
}),
|
|
474
|
-
(p) =>
|
|
475
|
-
[
|
|
476
|
-
),
|
|
477
|
-
(p) =>
|
|
478
|
-
[
|
|
472
|
+
caller: L
|
|
473
|
+
}), l = I.useCallback(
|
|
474
|
+
(p) => i((h = []) => [...h, p]),
|
|
475
|
+
[i]
|
|
476
|
+
), f = I.useCallback(
|
|
477
|
+
(p) => i((h = []) => h.filter((A) => A !== p)),
|
|
478
|
+
[i]
|
|
479
479
|
);
|
|
480
|
-
return /* @__PURE__ */
|
|
481
|
-
|
|
480
|
+
return /* @__PURE__ */ u(
|
|
481
|
+
rt,
|
|
482
482
|
{
|
|
483
483
|
scope: e.__scopeAccordion,
|
|
484
|
-
value:
|
|
485
|
-
onItemOpen:
|
|
486
|
-
onItemClose:
|
|
487
|
-
children: /* @__PURE__ */
|
|
484
|
+
value: s,
|
|
485
|
+
onItemOpen: l,
|
|
486
|
+
onItemClose: f,
|
|
487
|
+
children: /* @__PURE__ */ u(nt, { scope: e.__scopeAccordion, collapsible: !0, children: /* @__PURE__ */ u(at, { ...a, ref: t }) })
|
|
488
488
|
}
|
|
489
489
|
);
|
|
490
|
-
}), [
|
|
491
|
-
(e,
|
|
492
|
-
const { __scopeAccordion:
|
|
493
|
-
if (!
|
|
494
|
-
const C = w.target, y =
|
|
490
|
+
}), [co, de] = ce(L), at = I.forwardRef(
|
|
491
|
+
(e, t) => {
|
|
492
|
+
const { __scopeAccordion: o, disabled: r, dir: n, orientation: a = "vertical", ...s } = e, i = I.useRef(null), l = X(i, t), f = ro(o), h = to(n) === "ltr", A = Ke(e.onKeyDown, (w) => {
|
|
493
|
+
if (!oo.includes(w.key)) return;
|
|
494
|
+
const C = w.target, y = f().filter((b) => !b.ref.current?.disabled), k = y.findIndex((b) => b.ref.current === C), R = y.length;
|
|
495
495
|
if (k === -1) return;
|
|
496
496
|
w.preventDefault();
|
|
497
497
|
let x = k;
|
|
498
|
-
const
|
|
499
|
-
x = k + 1, x >
|
|
498
|
+
const N = 0, _ = R - 1, T = () => {
|
|
499
|
+
x = k + 1, x > _ && (x = N);
|
|
500
500
|
}, E = () => {
|
|
501
|
-
x = k - 1, x <
|
|
501
|
+
x = k - 1, x < N && (x = _);
|
|
502
502
|
};
|
|
503
503
|
switch (w.key) {
|
|
504
504
|
case "Home":
|
|
505
|
-
x =
|
|
505
|
+
x = N;
|
|
506
506
|
break;
|
|
507
507
|
case "End":
|
|
508
|
-
x =
|
|
508
|
+
x = _;
|
|
509
509
|
break;
|
|
510
510
|
case "ArrowRight":
|
|
511
|
-
|
|
511
|
+
a === "horizontal" && (h ? T() : E());
|
|
512
512
|
break;
|
|
513
513
|
case "ArrowDown":
|
|
514
|
-
|
|
514
|
+
a === "vertical" && T();
|
|
515
515
|
break;
|
|
516
516
|
case "ArrowLeft":
|
|
517
|
-
|
|
517
|
+
a === "horizontal" && (h ? E() : T());
|
|
518
518
|
break;
|
|
519
519
|
case "ArrowUp":
|
|
520
|
-
|
|
520
|
+
a === "vertical" && E();
|
|
521
521
|
break;
|
|
522
522
|
}
|
|
523
|
-
const
|
|
524
|
-
y[
|
|
523
|
+
const $ = x % R;
|
|
524
|
+
y[$].ref.current?.focus();
|
|
525
525
|
});
|
|
526
|
-
return /* @__PURE__ */
|
|
527
|
-
|
|
526
|
+
return /* @__PURE__ */ u(
|
|
527
|
+
co,
|
|
528
528
|
{
|
|
529
|
-
scope:
|
|
529
|
+
scope: o,
|
|
530
530
|
disabled: r,
|
|
531
531
|
direction: n,
|
|
532
|
-
orientation:
|
|
533
|
-
children: /* @__PURE__ */
|
|
532
|
+
orientation: a,
|
|
533
|
+
children: /* @__PURE__ */ u(Ie.Slot, { scope: o, children: /* @__PURE__ */ u(
|
|
534
534
|
Y.div,
|
|
535
535
|
{
|
|
536
|
-
...
|
|
537
|
-
"data-orientation":
|
|
538
|
-
ref:
|
|
536
|
+
...s,
|
|
537
|
+
"data-orientation": a,
|
|
538
|
+
ref: l,
|
|
539
539
|
onKeyDown: r ? void 0 : A
|
|
540
540
|
}
|
|
541
541
|
) })
|
|
542
542
|
}
|
|
543
543
|
);
|
|
544
544
|
}
|
|
545
|
-
),
|
|
546
|
-
(e,
|
|
547
|
-
const { __scopeAccordion:
|
|
548
|
-
return /* @__PURE__ */
|
|
549
|
-
|
|
545
|
+
), ie = "AccordionItem", [uo, _e] = ce(ie), st = I.forwardRef(
|
|
546
|
+
(e, t) => {
|
|
547
|
+
const { __scopeAccordion: o, value: r, ...n } = e, a = de(ie, o), s = ao(ie, o), i = Se(o), l = Xe(), f = r && s.value.includes(r) || !1, p = a.disabled || e.disabled;
|
|
548
|
+
return /* @__PURE__ */ u(
|
|
549
|
+
uo,
|
|
550
550
|
{
|
|
551
|
-
scope:
|
|
552
|
-
open:
|
|
551
|
+
scope: o,
|
|
552
|
+
open: f,
|
|
553
553
|
disabled: p,
|
|
554
|
-
triggerId:
|
|
555
|
-
children: /* @__PURE__ */
|
|
556
|
-
|
|
554
|
+
triggerId: l,
|
|
555
|
+
children: /* @__PURE__ */ u(
|
|
556
|
+
Jt,
|
|
557
557
|
{
|
|
558
|
-
"data-orientation":
|
|
559
|
-
"data-state":
|
|
560
|
-
...
|
|
558
|
+
"data-orientation": a.orientation,
|
|
559
|
+
"data-state": ft(f),
|
|
560
|
+
...i,
|
|
561
561
|
...n,
|
|
562
|
-
ref:
|
|
562
|
+
ref: t,
|
|
563
563
|
disabled: p,
|
|
564
|
-
open:
|
|
565
|
-
onOpenChange: (
|
|
566
|
-
|
|
564
|
+
open: f,
|
|
565
|
+
onOpenChange: (h) => {
|
|
566
|
+
h ? s.onItemOpen(r) : s.onItemClose(r);
|
|
567
567
|
}
|
|
568
568
|
}
|
|
569
569
|
)
|
|
@@ -571,52 +571,52 @@ var [eo, et] = le(O), [oo, ot] = le(
|
|
|
571
571
|
);
|
|
572
572
|
}
|
|
573
573
|
);
|
|
574
|
-
|
|
575
|
-
var
|
|
576
|
-
(e,
|
|
577
|
-
const { __scopeAccordion:
|
|
578
|
-
return /* @__PURE__ */
|
|
574
|
+
st.displayName = ie;
|
|
575
|
+
var it = "AccordionHeader", lt = I.forwardRef(
|
|
576
|
+
(e, t) => {
|
|
577
|
+
const { __scopeAccordion: o, ...r } = e, n = de(L, o), a = _e(it, o);
|
|
578
|
+
return /* @__PURE__ */ u(
|
|
579
579
|
Y.h3,
|
|
580
580
|
{
|
|
581
581
|
"data-orientation": n.orientation,
|
|
582
|
-
"data-state":
|
|
583
|
-
"data-disabled":
|
|
582
|
+
"data-state": ft(a.open),
|
|
583
|
+
"data-disabled": a.disabled ? "" : void 0,
|
|
584
584
|
...r,
|
|
585
|
-
ref:
|
|
585
|
+
ref: t
|
|
586
586
|
}
|
|
587
587
|
);
|
|
588
588
|
}
|
|
589
589
|
);
|
|
590
|
-
|
|
591
|
-
var
|
|
592
|
-
(e,
|
|
593
|
-
const { __scopeAccordion:
|
|
594
|
-
return /* @__PURE__ */
|
|
595
|
-
|
|
590
|
+
lt.displayName = it;
|
|
591
|
+
var ve = "AccordionTrigger", ct = I.forwardRef(
|
|
592
|
+
(e, t) => {
|
|
593
|
+
const { __scopeAccordion: o, ...r } = e, n = de(L, o), a = _e(ve, o), s = so(ve, o), i = Se(o);
|
|
594
|
+
return /* @__PURE__ */ u(Ie.ItemSlot, { scope: o, children: /* @__PURE__ */ u(
|
|
595
|
+
Yt,
|
|
596
596
|
{
|
|
597
|
-
"aria-disabled":
|
|
597
|
+
"aria-disabled": a.open && !s.collapsible || void 0,
|
|
598
598
|
"data-orientation": n.orientation,
|
|
599
|
-
id:
|
|
600
|
-
...
|
|
599
|
+
id: a.triggerId,
|
|
600
|
+
...i,
|
|
601
601
|
...r,
|
|
602
|
-
ref:
|
|
602
|
+
ref: t
|
|
603
603
|
}
|
|
604
604
|
) });
|
|
605
605
|
}
|
|
606
606
|
);
|
|
607
|
-
|
|
608
|
-
var
|
|
609
|
-
(e,
|
|
610
|
-
const { __scopeAccordion:
|
|
611
|
-
return /* @__PURE__ */
|
|
612
|
-
|
|
607
|
+
ct.displayName = ve;
|
|
608
|
+
var dt = "AccordionContent", ut = I.forwardRef(
|
|
609
|
+
(e, t) => {
|
|
610
|
+
const { __scopeAccordion: o, ...r } = e, n = de(L, o), a = _e(dt, o), s = Se(o);
|
|
611
|
+
return /* @__PURE__ */ u(
|
|
612
|
+
Qt,
|
|
613
613
|
{
|
|
614
614
|
role: "region",
|
|
615
|
-
"aria-labelledby":
|
|
615
|
+
"aria-labelledby": a.triggerId,
|
|
616
616
|
"data-orientation": n.orientation,
|
|
617
|
-
...
|
|
617
|
+
...s,
|
|
618
618
|
...r,
|
|
619
|
-
ref:
|
|
619
|
+
ref: t,
|
|
620
620
|
style: {
|
|
621
621
|
"--radix-accordion-content-height": "var(--radix-collapsible-content-height)",
|
|
622
622
|
"--radix-accordion-content-width": "var(--radix-collapsible-content-width)",
|
|
@@ -626,99 +626,99 @@ var io = "AccordionContent", lo = I.forwardRef(
|
|
|
626
626
|
);
|
|
627
627
|
}
|
|
628
628
|
);
|
|
629
|
-
|
|
630
|
-
function
|
|
629
|
+
ut.displayName = dt;
|
|
630
|
+
function ft(e) {
|
|
631
631
|
return e ? "open" : "closed";
|
|
632
632
|
}
|
|
633
|
-
var
|
|
634
|
-
function
|
|
635
|
-
var
|
|
633
|
+
var fo = ot, mo = st, po = lt, go = ct, bo = ut;
|
|
634
|
+
function mt(e) {
|
|
635
|
+
var t, o, r = "";
|
|
636
636
|
if (typeof e == "string" || typeof e == "number") r += e;
|
|
637
637
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
638
638
|
var n = e.length;
|
|
639
|
-
for (
|
|
640
|
-
} else for (
|
|
639
|
+
for (t = 0; t < n; t++) e[t] && (o = mt(e[t])) && (r && (r += " "), r += o);
|
|
640
|
+
} else for (o in e) e[o] && (r && (r += " "), r += o);
|
|
641
641
|
return r;
|
|
642
642
|
}
|
|
643
|
-
function
|
|
644
|
-
for (var e,
|
|
643
|
+
function ho() {
|
|
644
|
+
for (var e, t, o = 0, r = "", n = arguments.length; o < n; o++) (e = arguments[o]) && (t = mt(e)) && (r && (r += " "), r += t);
|
|
645
645
|
return r;
|
|
646
646
|
}
|
|
647
|
-
const Pe = "-",
|
|
648
|
-
const
|
|
649
|
-
conflictingClassGroups:
|
|
647
|
+
const Pe = "-", vo = (e) => {
|
|
648
|
+
const t = yo(e), {
|
|
649
|
+
conflictingClassGroups: o,
|
|
650
650
|
conflictingClassGroupModifiers: r
|
|
651
651
|
} = e;
|
|
652
652
|
return {
|
|
653
|
-
getClassGroupId: (
|
|
654
|
-
const
|
|
655
|
-
return
|
|
653
|
+
getClassGroupId: (s) => {
|
|
654
|
+
const i = s.split(Pe);
|
|
655
|
+
return i[0] === "" && i.length !== 1 && i.shift(), pt(i, t) || xo(s);
|
|
656
656
|
},
|
|
657
|
-
getConflictingClassGroupIds: (
|
|
658
|
-
const
|
|
659
|
-
return
|
|
657
|
+
getConflictingClassGroupIds: (s, i) => {
|
|
658
|
+
const l = o[s] || [];
|
|
659
|
+
return i && r[s] ? [...l, ...r[s]] : l;
|
|
660
660
|
}
|
|
661
661
|
};
|
|
662
|
-
},
|
|
662
|
+
}, pt = (e, t) => {
|
|
663
663
|
if (e.length === 0)
|
|
664
|
-
return
|
|
665
|
-
const
|
|
664
|
+
return t.classGroupId;
|
|
665
|
+
const o = e[0], r = t.nextPart.get(o), n = r ? pt(e.slice(1), r) : void 0;
|
|
666
666
|
if (n)
|
|
667
667
|
return n;
|
|
668
|
-
if (
|
|
668
|
+
if (t.validators.length === 0)
|
|
669
669
|
return;
|
|
670
|
-
const
|
|
671
|
-
return
|
|
672
|
-
validator:
|
|
673
|
-
}) => a
|
|
674
|
-
},
|
|
675
|
-
if (
|
|
676
|
-
const
|
|
677
|
-
if (
|
|
678
|
-
return "arbitrary.." +
|
|
670
|
+
const a = e.join(Pe);
|
|
671
|
+
return t.validators.find(({
|
|
672
|
+
validator: s
|
|
673
|
+
}) => s(a))?.classGroupId;
|
|
674
|
+
}, je = /^\[(.+)\]$/, xo = (e) => {
|
|
675
|
+
if (je.test(e)) {
|
|
676
|
+
const t = je.exec(e)[1], o = t?.substring(0, t.indexOf(":"));
|
|
677
|
+
if (o)
|
|
678
|
+
return "arbitrary.." + o;
|
|
679
679
|
}
|
|
680
|
-
},
|
|
680
|
+
}, yo = (e) => {
|
|
681
681
|
const {
|
|
682
|
-
theme:
|
|
683
|
-
classGroups:
|
|
682
|
+
theme: t,
|
|
683
|
+
classGroups: o
|
|
684
684
|
} = e, r = {
|
|
685
685
|
nextPart: /* @__PURE__ */ new Map(),
|
|
686
686
|
validators: []
|
|
687
687
|
};
|
|
688
|
-
for (const n in
|
|
689
|
-
|
|
688
|
+
for (const n in o)
|
|
689
|
+
xe(o[n], r, n, t);
|
|
690
690
|
return r;
|
|
691
|
-
},
|
|
691
|
+
}, xe = (e, t, o, r) => {
|
|
692
692
|
e.forEach((n) => {
|
|
693
693
|
if (typeof n == "string") {
|
|
694
|
-
const
|
|
695
|
-
|
|
694
|
+
const a = n === "" ? t : Ue(t, n);
|
|
695
|
+
a.classGroupId = o;
|
|
696
696
|
return;
|
|
697
697
|
}
|
|
698
698
|
if (typeof n == "function") {
|
|
699
|
-
if (
|
|
700
|
-
|
|
699
|
+
if (wo(n)) {
|
|
700
|
+
xe(n(r), t, o, r);
|
|
701
701
|
return;
|
|
702
702
|
}
|
|
703
|
-
|
|
703
|
+
t.validators.push({
|
|
704
704
|
validator: n,
|
|
705
|
-
classGroupId:
|
|
705
|
+
classGroupId: o
|
|
706
706
|
});
|
|
707
707
|
return;
|
|
708
708
|
}
|
|
709
|
-
Object.entries(n).forEach(([
|
|
710
|
-
|
|
709
|
+
Object.entries(n).forEach(([a, s]) => {
|
|
710
|
+
xe(s, Ue(t, a), o, r);
|
|
711
711
|
});
|
|
712
712
|
});
|
|
713
|
-
},
|
|
714
|
-
let
|
|
715
|
-
return
|
|
716
|
-
|
|
713
|
+
}, Ue = (e, t) => {
|
|
714
|
+
let o = e;
|
|
715
|
+
return t.split(Pe).forEach((r) => {
|
|
716
|
+
o.nextPart.has(r) || o.nextPart.set(r, {
|
|
717
717
|
nextPart: /* @__PURE__ */ new Map(),
|
|
718
718
|
validators: []
|
|
719
|
-
}),
|
|
720
|
-
}),
|
|
721
|
-
},
|
|
719
|
+
}), o = o.nextPart.get(r);
|
|
720
|
+
}), o;
|
|
721
|
+
}, wo = (e) => e.isThemeGetter, ko = (e) => {
|
|
722
722
|
if (e < 1)
|
|
723
723
|
return {
|
|
724
724
|
get: () => {
|
|
@@ -726,178 +726,178 @@ const Pe = "-", mt = (e) => {
|
|
|
726
726
|
set: () => {
|
|
727
727
|
}
|
|
728
728
|
};
|
|
729
|
-
let
|
|
730
|
-
const n = (
|
|
731
|
-
|
|
729
|
+
let t = 0, o = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map();
|
|
730
|
+
const n = (a, s) => {
|
|
731
|
+
o.set(a, s), t++, t > e && (t = 0, r = o, o = /* @__PURE__ */ new Map());
|
|
732
732
|
};
|
|
733
733
|
return {
|
|
734
|
-
get(
|
|
735
|
-
let
|
|
736
|
-
if (
|
|
737
|
-
return
|
|
738
|
-
if ((
|
|
739
|
-
return n(
|
|
734
|
+
get(a) {
|
|
735
|
+
let s = o.get(a);
|
|
736
|
+
if (s !== void 0)
|
|
737
|
+
return s;
|
|
738
|
+
if ((s = r.get(a)) !== void 0)
|
|
739
|
+
return n(a, s), s;
|
|
740
740
|
},
|
|
741
|
-
set(
|
|
742
|
-
|
|
741
|
+
set(a, s) {
|
|
742
|
+
o.has(a) ? o.set(a, s) : n(a, s);
|
|
743
743
|
}
|
|
744
744
|
};
|
|
745
|
-
},
|
|
745
|
+
}, ye = "!", we = ":", Co = we.length, Ao = (e) => {
|
|
746
746
|
const {
|
|
747
|
-
prefix:
|
|
748
|
-
experimentalParseClassName:
|
|
747
|
+
prefix: t,
|
|
748
|
+
experimentalParseClassName: o
|
|
749
749
|
} = e;
|
|
750
750
|
let r = (n) => {
|
|
751
|
-
const
|
|
752
|
-
let
|
|
751
|
+
const a = [];
|
|
752
|
+
let s = 0, i = 0, l = 0, f;
|
|
753
753
|
for (let C = 0; C < n.length; C++) {
|
|
754
754
|
let y = n[C];
|
|
755
|
-
if (
|
|
756
|
-
if (y ===
|
|
757
|
-
|
|
755
|
+
if (s === 0 && i === 0) {
|
|
756
|
+
if (y === we) {
|
|
757
|
+
a.push(n.slice(l, C)), l = C + Co;
|
|
758
758
|
continue;
|
|
759
759
|
}
|
|
760
760
|
if (y === "/") {
|
|
761
|
-
|
|
761
|
+
f = C;
|
|
762
762
|
continue;
|
|
763
763
|
}
|
|
764
764
|
}
|
|
765
|
-
y === "[" ?
|
|
765
|
+
y === "[" ? s++ : y === "]" ? s-- : y === "(" ? i++ : y === ")" && i--;
|
|
766
766
|
}
|
|
767
|
-
const p =
|
|
767
|
+
const p = a.length === 0 ? n : n.substring(l), h = Ro(p), A = h !== p, w = f && f > l ? f - l : void 0;
|
|
768
768
|
return {
|
|
769
|
-
modifiers:
|
|
769
|
+
modifiers: a,
|
|
770
770
|
hasImportantModifier: A,
|
|
771
|
-
baseClassName:
|
|
771
|
+
baseClassName: h,
|
|
772
772
|
maybePostfixModifierPosition: w
|
|
773
773
|
};
|
|
774
774
|
};
|
|
775
|
-
if (
|
|
776
|
-
const n =
|
|
777
|
-
r = (
|
|
775
|
+
if (t) {
|
|
776
|
+
const n = t + we, a = r;
|
|
777
|
+
r = (s) => s.startsWith(n) ? a(s.substring(n.length)) : {
|
|
778
778
|
isExternal: !0,
|
|
779
779
|
modifiers: [],
|
|
780
780
|
hasImportantModifier: !1,
|
|
781
|
-
baseClassName:
|
|
781
|
+
baseClassName: s,
|
|
782
782
|
maybePostfixModifierPosition: void 0
|
|
783
783
|
};
|
|
784
784
|
}
|
|
785
|
-
if (
|
|
785
|
+
if (o) {
|
|
786
786
|
const n = r;
|
|
787
|
-
r = (
|
|
788
|
-
className:
|
|
787
|
+
r = (a) => o({
|
|
788
|
+
className: a,
|
|
789
789
|
parseClassName: n
|
|
790
790
|
});
|
|
791
791
|
}
|
|
792
792
|
return r;
|
|
793
|
-
},
|
|
794
|
-
const
|
|
793
|
+
}, Ro = (e) => e.endsWith(ye) ? e.substring(0, e.length - 1) : e.startsWith(ye) ? e.substring(1) : e, No = (e) => {
|
|
794
|
+
const t = Object.fromEntries(e.orderSensitiveModifiers.map((r) => [r, !0]));
|
|
795
795
|
return (r) => {
|
|
796
796
|
if (r.length <= 1)
|
|
797
797
|
return r;
|
|
798
798
|
const n = [];
|
|
799
|
-
let
|
|
800
|
-
return r.forEach((
|
|
801
|
-
|
|
802
|
-
}), n.push(...
|
|
799
|
+
let a = [];
|
|
800
|
+
return r.forEach((s) => {
|
|
801
|
+
s[0] === "[" || t[s] ? (n.push(...a.sort(), s), a = []) : a.push(s);
|
|
802
|
+
}), n.push(...a.sort()), n;
|
|
803
803
|
};
|
|
804
|
-
},
|
|
805
|
-
cache:
|
|
806
|
-
parseClassName:
|
|
807
|
-
sortModifiers:
|
|
808
|
-
...
|
|
809
|
-
}),
|
|
804
|
+
}, Io = (e) => ({
|
|
805
|
+
cache: ko(e.cacheSize),
|
|
806
|
+
parseClassName: Ao(e),
|
|
807
|
+
sortModifiers: No(e),
|
|
808
|
+
...vo(e)
|
|
809
|
+
}), So = /\s+/, _o = (e, t) => {
|
|
810
810
|
const {
|
|
811
|
-
parseClassName:
|
|
811
|
+
parseClassName: o,
|
|
812
812
|
getClassGroupId: r,
|
|
813
813
|
getConflictingClassGroupIds: n,
|
|
814
|
-
sortModifiers:
|
|
815
|
-
} =
|
|
816
|
-
let
|
|
817
|
-
for (let
|
|
818
|
-
const p =
|
|
819
|
-
isExternal:
|
|
814
|
+
sortModifiers: a
|
|
815
|
+
} = t, s = [], i = e.trim().split(So);
|
|
816
|
+
let l = "";
|
|
817
|
+
for (let f = i.length - 1; f >= 0; f -= 1) {
|
|
818
|
+
const p = i[f], {
|
|
819
|
+
isExternal: h,
|
|
820
820
|
modifiers: A,
|
|
821
821
|
hasImportantModifier: w,
|
|
822
822
|
baseClassName: C,
|
|
823
823
|
maybePostfixModifierPosition: y
|
|
824
|
-
} =
|
|
825
|
-
if (
|
|
826
|
-
|
|
824
|
+
} = o(p);
|
|
825
|
+
if (h) {
|
|
826
|
+
l = p + (l.length > 0 ? " " + l : l);
|
|
827
827
|
continue;
|
|
828
828
|
}
|
|
829
829
|
let k = !!y, R = r(k ? C.substring(0, y) : C);
|
|
830
830
|
if (!R) {
|
|
831
831
|
if (!k) {
|
|
832
|
-
|
|
832
|
+
l = p + (l.length > 0 ? " " + l : l);
|
|
833
833
|
continue;
|
|
834
834
|
}
|
|
835
835
|
if (R = r(C), !R) {
|
|
836
|
-
|
|
836
|
+
l = p + (l.length > 0 ? " " + l : l);
|
|
837
837
|
continue;
|
|
838
838
|
}
|
|
839
839
|
k = !1;
|
|
840
840
|
}
|
|
841
|
-
const x =
|
|
842
|
-
if (
|
|
841
|
+
const x = a(A).join(":"), N = w ? x + ye : x, _ = N + R;
|
|
842
|
+
if (s.includes(_))
|
|
843
843
|
continue;
|
|
844
|
-
|
|
844
|
+
s.push(_);
|
|
845
845
|
const T = n(R, k);
|
|
846
846
|
for (let E = 0; E < T.length; ++E) {
|
|
847
|
-
const
|
|
848
|
-
|
|
847
|
+
const $ = T[E];
|
|
848
|
+
s.push(N + $);
|
|
849
849
|
}
|
|
850
|
-
|
|
850
|
+
l = p + (l.length > 0 ? " " + l : l);
|
|
851
851
|
}
|
|
852
|
-
return
|
|
852
|
+
return l;
|
|
853
853
|
};
|
|
854
|
-
function
|
|
855
|
-
let e = 0,
|
|
854
|
+
function Po() {
|
|
855
|
+
let e = 0, t, o, r = "";
|
|
856
856
|
for (; e < arguments.length; )
|
|
857
|
-
(
|
|
857
|
+
(t = arguments[e++]) && (o = gt(t)) && (r && (r += " "), r += o);
|
|
858
858
|
return r;
|
|
859
859
|
}
|
|
860
|
-
const
|
|
860
|
+
const gt = (e) => {
|
|
861
861
|
if (typeof e == "string")
|
|
862
862
|
return e;
|
|
863
|
-
let
|
|
863
|
+
let t, o = "";
|
|
864
864
|
for (let r = 0; r < e.length; r++)
|
|
865
|
-
e[r] && (
|
|
866
|
-
return
|
|
865
|
+
e[r] && (t = gt(e[r])) && (o && (o += " "), o += t);
|
|
866
|
+
return o;
|
|
867
867
|
};
|
|
868
|
-
function
|
|
869
|
-
let
|
|
870
|
-
function
|
|
871
|
-
const
|
|
872
|
-
return
|
|
868
|
+
function Mo(e, ...t) {
|
|
869
|
+
let o, r, n, a = s;
|
|
870
|
+
function s(l) {
|
|
871
|
+
const f = t.reduce((p, h) => h(p), e());
|
|
872
|
+
return o = Io(f), r = o.cache.get, n = o.cache.set, a = i, i(l);
|
|
873
873
|
}
|
|
874
|
-
function l
|
|
875
|
-
const
|
|
876
|
-
if (
|
|
877
|
-
return
|
|
878
|
-
const p =
|
|
879
|
-
return n(
|
|
874
|
+
function i(l) {
|
|
875
|
+
const f = r(l);
|
|
876
|
+
if (f)
|
|
877
|
+
return f;
|
|
878
|
+
const p = _o(l, o);
|
|
879
|
+
return n(l, p), p;
|
|
880
880
|
}
|
|
881
881
|
return function() {
|
|
882
|
-
return
|
|
882
|
+
return a(Po.apply(null, arguments));
|
|
883
883
|
};
|
|
884
884
|
}
|
|
885
|
-
const
|
|
886
|
-
const
|
|
887
|
-
return
|
|
888
|
-
},
|
|
885
|
+
const S = (e) => {
|
|
886
|
+
const t = (o) => o[e] || [];
|
|
887
|
+
return t.isThemeGetter = !0, t;
|
|
888
|
+
}, bt = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, ht = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Eo = /^\d+\/\d+$/, zo = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, To = /\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$/, Oo = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Lo = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, $o = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, H = (e) => Eo.test(e), v = (e) => !!e && !Number.isNaN(Number(e)), j = (e) => !!e && Number.isInteger(Number(e)), pe = (e) => e.endsWith("%") && v(e.slice(0, -1)), V = (e) => zo.test(e), Go = () => !0, Do = (e) => (
|
|
889
889
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
890
890
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
891
891
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
892
|
-
|
|
893
|
-
),
|
|
894
|
-
const r =
|
|
895
|
-
return r ? r[1] ?
|
|
896
|
-
},
|
|
897
|
-
const r =
|
|
898
|
-
return r ? r[1] ?
|
|
899
|
-
},
|
|
900
|
-
const e =
|
|
892
|
+
To.test(e) && !Oo.test(e)
|
|
893
|
+
), vt = () => !1, Vo = (e) => Lo.test(e), jo = (e) => $o.test(e), Uo = (e) => !c(e) && !d(e), Fo = (e) => q(e, wt, vt), c = (e) => bt.test(e), F = (e) => q(e, kt, Do), ge = (e) => q(e, Ko, v), Fe = (e) => q(e, xt, vt), Wo = (e) => q(e, yt, jo), ae = (e) => q(e, Ct, Vo), d = (e) => ht.test(e), Z = (e) => K(e, kt), Bo = (e) => K(e, Zo), We = (e) => K(e, xt), Ho = (e) => K(e, wt), qo = (e) => K(e, yt), se = (e) => K(e, Ct, !0), q = (e, t, o) => {
|
|
894
|
+
const r = bt.exec(e);
|
|
895
|
+
return r ? r[1] ? t(r[1]) : o(r[2]) : !1;
|
|
896
|
+
}, K = (e, t, o = !1) => {
|
|
897
|
+
const r = ht.exec(e);
|
|
898
|
+
return r ? r[1] ? t(r[1]) : o : !1;
|
|
899
|
+
}, xt = (e) => e === "position" || e === "percentage", yt = (e) => e === "image" || e === "url", wt = (e) => e === "length" || e === "size" || e === "bg-size", kt = (e) => e === "length", Ko = (e) => e === "number", Zo = (e) => e === "family-name", Ct = (e) => e === "shadow", Xo = () => {
|
|
900
|
+
const e = S("color"), t = S("font"), o = S("text"), r = S("font-weight"), n = S("tracking"), a = S("leading"), s = S("breakpoint"), i = S("container"), l = S("spacing"), f = S("radius"), p = S("shadow"), h = S("inset-shadow"), A = S("text-shadow"), w = S("drop-shadow"), C = S("blur"), y = S("perspective"), k = S("aspect"), R = S("ease"), x = S("animate"), N = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], _ = () => [
|
|
901
901
|
"center",
|
|
902
902
|
"top",
|
|
903
903
|
"bottom",
|
|
@@ -915,51 +915,51 @@ const N = (e) => {
|
|
|
915
915
|
"bottom-left",
|
|
916
916
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
917
917
|
"left-bottom"
|
|
918
|
-
], T = () => [...
|
|
919
|
-
span: ["full",
|
|
920
|
-
},
|
|
918
|
+
], T = () => [..._(), d, c], E = () => ["auto", "hidden", "clip", "visible", "scroll"], $ = () => ["auto", "contain", "none"], b = () => [d, c, l], G = () => [H, "full", "auto", ...b()], Ee = () => [j, "none", "subgrid", d, c], ze = () => ["auto", {
|
|
919
|
+
span: ["full", j, d, c]
|
|
920
|
+
}, j, d, c], Q = () => [j, "auto", d, c], Te = () => ["auto", "min", "max", "fr", d, c], ue = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], B = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], D = () => ["auto", ...b()], U = () => [H, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...b()], g = () => [e, d, c], Oe = () => [..._(), We, Fe, {
|
|
921
921
|
position: [d, c]
|
|
922
|
-
}],
|
|
922
|
+
}], Le = () => ["no-repeat", {
|
|
923
923
|
repeat: ["", "x", "y", "space", "round"]
|
|
924
|
-
}],
|
|
924
|
+
}], $e = () => ["auto", "cover", "contain", Ho, Fo, {
|
|
925
925
|
size: [d, c]
|
|
926
|
-
}],
|
|
926
|
+
}], fe = () => [pe, Z, F], z = () => [
|
|
927
927
|
// Deprecated since Tailwind CSS v4.0.0
|
|
928
928
|
"",
|
|
929
929
|
"none",
|
|
930
930
|
"full",
|
|
931
|
-
|
|
931
|
+
f,
|
|
932
932
|
d,
|
|
933
933
|
c
|
|
934
|
-
],
|
|
934
|
+
], O = () => ["", v, Z, F], ee = () => ["solid", "dashed", "dotted", "double"], Ge = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], P = () => [v, pe, We, Fe], De = () => [
|
|
935
935
|
// Deprecated since Tailwind CSS v4.0.0
|
|
936
936
|
"",
|
|
937
937
|
"none",
|
|
938
938
|
C,
|
|
939
939
|
d,
|
|
940
940
|
c
|
|
941
|
-
],
|
|
941
|
+
], te = () => ["none", v, d, c], oe = () => ["none", v, d, c], me = () => [v, d, c], re = () => [H, "full", ...b()];
|
|
942
942
|
return {
|
|
943
943
|
cacheSize: 500,
|
|
944
944
|
theme: {
|
|
945
945
|
animate: ["spin", "ping", "pulse", "bounce"],
|
|
946
946
|
aspect: ["video"],
|
|
947
|
-
blur: [
|
|
948
|
-
breakpoint: [
|
|
949
|
-
color: [
|
|
950
|
-
container: [
|
|
951
|
-
"drop-shadow": [
|
|
947
|
+
blur: [V],
|
|
948
|
+
breakpoint: [V],
|
|
949
|
+
color: [Go],
|
|
950
|
+
container: [V],
|
|
951
|
+
"drop-shadow": [V],
|
|
952
952
|
ease: ["in", "out", "in-out"],
|
|
953
|
-
font: [
|
|
953
|
+
font: [Uo],
|
|
954
954
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
955
|
-
"inset-shadow": [
|
|
955
|
+
"inset-shadow": [V],
|
|
956
956
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
957
957
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
958
|
-
radius: [
|
|
959
|
-
shadow: [
|
|
958
|
+
radius: [V],
|
|
959
|
+
shadow: [V],
|
|
960
960
|
spacing: ["px", v],
|
|
961
|
-
text: [
|
|
962
|
-
"text-shadow": [
|
|
961
|
+
text: [V],
|
|
962
|
+
"text-shadow": [V],
|
|
963
963
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
964
964
|
},
|
|
965
965
|
classGroups: {
|
|
@@ -971,7 +971,7 @@ const N = (e) => {
|
|
|
971
971
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
972
972
|
*/
|
|
973
973
|
aspect: [{
|
|
974
|
-
aspect: ["auto", "square",
|
|
974
|
+
aspect: ["auto", "square", H, c, d, k]
|
|
975
975
|
}],
|
|
976
976
|
/**
|
|
977
977
|
* Container
|
|
@@ -984,21 +984,21 @@ const N = (e) => {
|
|
|
984
984
|
* @see https://tailwindcss.com/docs/columns
|
|
985
985
|
*/
|
|
986
986
|
columns: [{
|
|
987
|
-
columns: [v, c, d,
|
|
987
|
+
columns: [v, c, d, i]
|
|
988
988
|
}],
|
|
989
989
|
/**
|
|
990
990
|
* Break After
|
|
991
991
|
* @see https://tailwindcss.com/docs/break-after
|
|
992
992
|
*/
|
|
993
993
|
"break-after": [{
|
|
994
|
-
"break-after":
|
|
994
|
+
"break-after": N()
|
|
995
995
|
}],
|
|
996
996
|
/**
|
|
997
997
|
* Break Before
|
|
998
998
|
* @see https://tailwindcss.com/docs/break-before
|
|
999
999
|
*/
|
|
1000
1000
|
"break-before": [{
|
|
1001
|
-
"break-before":
|
|
1001
|
+
"break-before": N()
|
|
1002
1002
|
}],
|
|
1003
1003
|
/**
|
|
1004
1004
|
* Break Inside
|
|
@@ -1090,21 +1090,21 @@ const N = (e) => {
|
|
|
1090
1090
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
1091
1091
|
*/
|
|
1092
1092
|
overscroll: [{
|
|
1093
|
-
overscroll:
|
|
1093
|
+
overscroll: $()
|
|
1094
1094
|
}],
|
|
1095
1095
|
/**
|
|
1096
1096
|
* Overscroll Behavior X
|
|
1097
1097
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
1098
1098
|
*/
|
|
1099
1099
|
"overscroll-x": [{
|
|
1100
|
-
"overscroll-x":
|
|
1100
|
+
"overscroll-x": $()
|
|
1101
1101
|
}],
|
|
1102
1102
|
/**
|
|
1103
1103
|
* Overscroll Behavior Y
|
|
1104
1104
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
1105
1105
|
*/
|
|
1106
1106
|
"overscroll-y": [{
|
|
1107
|
-
"overscroll-y":
|
|
1107
|
+
"overscroll-y": $()
|
|
1108
1108
|
}],
|
|
1109
1109
|
/**
|
|
1110
1110
|
* Position
|
|
@@ -1184,7 +1184,7 @@ const N = (e) => {
|
|
|
1184
1184
|
* @see https://tailwindcss.com/docs/z-index
|
|
1185
1185
|
*/
|
|
1186
1186
|
z: [{
|
|
1187
|
-
z: [
|
|
1187
|
+
z: [j, "auto", d, c]
|
|
1188
1188
|
}],
|
|
1189
1189
|
// ------------------------
|
|
1190
1190
|
// --- Flexbox and Grid ---
|
|
@@ -1194,7 +1194,7 @@ const N = (e) => {
|
|
|
1194
1194
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
1195
1195
|
*/
|
|
1196
1196
|
basis: [{
|
|
1197
|
-
basis: [
|
|
1197
|
+
basis: [H, "full", "auto", i, ...b()]
|
|
1198
1198
|
}],
|
|
1199
1199
|
/**
|
|
1200
1200
|
* Flex Direction
|
|
@@ -1215,7 +1215,7 @@ const N = (e) => {
|
|
|
1215
1215
|
* @see https://tailwindcss.com/docs/flex
|
|
1216
1216
|
*/
|
|
1217
1217
|
flex: [{
|
|
1218
|
-
flex: [v,
|
|
1218
|
+
flex: [v, H, "auto", "initial", "none", c]
|
|
1219
1219
|
}],
|
|
1220
1220
|
/**
|
|
1221
1221
|
* Flex Grow
|
|
@@ -1236,7 +1236,7 @@ const N = (e) => {
|
|
|
1236
1236
|
* @see https://tailwindcss.com/docs/order
|
|
1237
1237
|
*/
|
|
1238
1238
|
order: [{
|
|
1239
|
-
order: [
|
|
1239
|
+
order: [j, "first", "last", "none", d, c]
|
|
1240
1240
|
}],
|
|
1241
1241
|
/**
|
|
1242
1242
|
* Grid Template Columns
|
|
@@ -1250,21 +1250,21 @@ const N = (e) => {
|
|
|
1250
1250
|
* @see https://tailwindcss.com/docs/grid-column
|
|
1251
1251
|
*/
|
|
1252
1252
|
"col-start-end": [{
|
|
1253
|
-
col:
|
|
1253
|
+
col: ze()
|
|
1254
1254
|
}],
|
|
1255
1255
|
/**
|
|
1256
1256
|
* Grid Column Start
|
|
1257
1257
|
* @see https://tailwindcss.com/docs/grid-column
|
|
1258
1258
|
*/
|
|
1259
1259
|
"col-start": [{
|
|
1260
|
-
"col-start":
|
|
1260
|
+
"col-start": Q()
|
|
1261
1261
|
}],
|
|
1262
1262
|
/**
|
|
1263
1263
|
* Grid Column End
|
|
1264
1264
|
* @see https://tailwindcss.com/docs/grid-column
|
|
1265
1265
|
*/
|
|
1266
1266
|
"col-end": [{
|
|
1267
|
-
"col-end":
|
|
1267
|
+
"col-end": Q()
|
|
1268
1268
|
}],
|
|
1269
1269
|
/**
|
|
1270
1270
|
* Grid Template Rows
|
|
@@ -1278,21 +1278,21 @@ const N = (e) => {
|
|
|
1278
1278
|
* @see https://tailwindcss.com/docs/grid-row
|
|
1279
1279
|
*/
|
|
1280
1280
|
"row-start-end": [{
|
|
1281
|
-
row:
|
|
1281
|
+
row: ze()
|
|
1282
1282
|
}],
|
|
1283
1283
|
/**
|
|
1284
1284
|
* Grid Row Start
|
|
1285
1285
|
* @see https://tailwindcss.com/docs/grid-row
|
|
1286
1286
|
*/
|
|
1287
1287
|
"row-start": [{
|
|
1288
|
-
"row-start":
|
|
1288
|
+
"row-start": Q()
|
|
1289
1289
|
}],
|
|
1290
1290
|
/**
|
|
1291
1291
|
* Grid Row End
|
|
1292
1292
|
* @see https://tailwindcss.com/docs/grid-row
|
|
1293
1293
|
*/
|
|
1294
1294
|
"row-end": [{
|
|
1295
|
-
"row-end":
|
|
1295
|
+
"row-end": Q()
|
|
1296
1296
|
}],
|
|
1297
1297
|
/**
|
|
1298
1298
|
* Grid Auto Flow
|
|
@@ -1320,56 +1320,56 @@ const N = (e) => {
|
|
|
1320
1320
|
* @see https://tailwindcss.com/docs/gap
|
|
1321
1321
|
*/
|
|
1322
1322
|
gap: [{
|
|
1323
|
-
gap:
|
|
1323
|
+
gap: b()
|
|
1324
1324
|
}],
|
|
1325
1325
|
/**
|
|
1326
1326
|
* Gap X
|
|
1327
1327
|
* @see https://tailwindcss.com/docs/gap
|
|
1328
1328
|
*/
|
|
1329
1329
|
"gap-x": [{
|
|
1330
|
-
"gap-x":
|
|
1330
|
+
"gap-x": b()
|
|
1331
1331
|
}],
|
|
1332
1332
|
/**
|
|
1333
1333
|
* Gap Y
|
|
1334
1334
|
* @see https://tailwindcss.com/docs/gap
|
|
1335
1335
|
*/
|
|
1336
1336
|
"gap-y": [{
|
|
1337
|
-
"gap-y":
|
|
1337
|
+
"gap-y": b()
|
|
1338
1338
|
}],
|
|
1339
1339
|
/**
|
|
1340
1340
|
* Justify Content
|
|
1341
1341
|
* @see https://tailwindcss.com/docs/justify-content
|
|
1342
1342
|
*/
|
|
1343
1343
|
"justify-content": [{
|
|
1344
|
-
justify: [...
|
|
1344
|
+
justify: [...ue(), "normal"]
|
|
1345
1345
|
}],
|
|
1346
1346
|
/**
|
|
1347
1347
|
* Justify Items
|
|
1348
1348
|
* @see https://tailwindcss.com/docs/justify-items
|
|
1349
1349
|
*/
|
|
1350
1350
|
"justify-items": [{
|
|
1351
|
-
"justify-items": [...
|
|
1351
|
+
"justify-items": [...B(), "normal"]
|
|
1352
1352
|
}],
|
|
1353
1353
|
/**
|
|
1354
1354
|
* Justify Self
|
|
1355
1355
|
* @see https://tailwindcss.com/docs/justify-self
|
|
1356
1356
|
*/
|
|
1357
1357
|
"justify-self": [{
|
|
1358
|
-
"justify-self": ["auto", ...
|
|
1358
|
+
"justify-self": ["auto", ...B()]
|
|
1359
1359
|
}],
|
|
1360
1360
|
/**
|
|
1361
1361
|
* Align Content
|
|
1362
1362
|
* @see https://tailwindcss.com/docs/align-content
|
|
1363
1363
|
*/
|
|
1364
1364
|
"align-content": [{
|
|
1365
|
-
content: ["normal", ...
|
|
1365
|
+
content: ["normal", ...ue()]
|
|
1366
1366
|
}],
|
|
1367
1367
|
/**
|
|
1368
1368
|
* Align Items
|
|
1369
1369
|
* @see https://tailwindcss.com/docs/align-items
|
|
1370
1370
|
*/
|
|
1371
1371
|
"align-items": [{
|
|
1372
|
-
items: [...
|
|
1372
|
+
items: [...B(), {
|
|
1373
1373
|
baseline: ["", "last"]
|
|
1374
1374
|
}]
|
|
1375
1375
|
}],
|
|
@@ -1378,7 +1378,7 @@ const N = (e) => {
|
|
|
1378
1378
|
* @see https://tailwindcss.com/docs/align-self
|
|
1379
1379
|
*/
|
|
1380
1380
|
"align-self": [{
|
|
1381
|
-
self: ["auto", ...
|
|
1381
|
+
self: ["auto", ...B(), {
|
|
1382
1382
|
baseline: ["", "last"]
|
|
1383
1383
|
}]
|
|
1384
1384
|
}],
|
|
@@ -1387,21 +1387,21 @@ const N = (e) => {
|
|
|
1387
1387
|
* @see https://tailwindcss.com/docs/place-content
|
|
1388
1388
|
*/
|
|
1389
1389
|
"place-content": [{
|
|
1390
|
-
"place-content":
|
|
1390
|
+
"place-content": ue()
|
|
1391
1391
|
}],
|
|
1392
1392
|
/**
|
|
1393
1393
|
* Place Items
|
|
1394
1394
|
* @see https://tailwindcss.com/docs/place-items
|
|
1395
1395
|
*/
|
|
1396
1396
|
"place-items": [{
|
|
1397
|
-
"place-items": [...
|
|
1397
|
+
"place-items": [...B(), "baseline"]
|
|
1398
1398
|
}],
|
|
1399
1399
|
/**
|
|
1400
1400
|
* Place Self
|
|
1401
1401
|
* @see https://tailwindcss.com/docs/place-self
|
|
1402
1402
|
*/
|
|
1403
1403
|
"place-self": [{
|
|
1404
|
-
"place-self": ["auto", ...
|
|
1404
|
+
"place-self": ["auto", ...B()]
|
|
1405
1405
|
}],
|
|
1406
1406
|
// Spacing
|
|
1407
1407
|
/**
|
|
@@ -1409,133 +1409,133 @@ const N = (e) => {
|
|
|
1409
1409
|
* @see https://tailwindcss.com/docs/padding
|
|
1410
1410
|
*/
|
|
1411
1411
|
p: [{
|
|
1412
|
-
p:
|
|
1412
|
+
p: b()
|
|
1413
1413
|
}],
|
|
1414
1414
|
/**
|
|
1415
1415
|
* Padding X
|
|
1416
1416
|
* @see https://tailwindcss.com/docs/padding
|
|
1417
1417
|
*/
|
|
1418
1418
|
px: [{
|
|
1419
|
-
px:
|
|
1419
|
+
px: b()
|
|
1420
1420
|
}],
|
|
1421
1421
|
/**
|
|
1422
1422
|
* Padding Y
|
|
1423
1423
|
* @see https://tailwindcss.com/docs/padding
|
|
1424
1424
|
*/
|
|
1425
1425
|
py: [{
|
|
1426
|
-
py:
|
|
1426
|
+
py: b()
|
|
1427
1427
|
}],
|
|
1428
1428
|
/**
|
|
1429
1429
|
* Padding Start
|
|
1430
1430
|
* @see https://tailwindcss.com/docs/padding
|
|
1431
1431
|
*/
|
|
1432
1432
|
ps: [{
|
|
1433
|
-
ps:
|
|
1433
|
+
ps: b()
|
|
1434
1434
|
}],
|
|
1435
1435
|
/**
|
|
1436
1436
|
* Padding End
|
|
1437
1437
|
* @see https://tailwindcss.com/docs/padding
|
|
1438
1438
|
*/
|
|
1439
1439
|
pe: [{
|
|
1440
|
-
pe:
|
|
1440
|
+
pe: b()
|
|
1441
1441
|
}],
|
|
1442
1442
|
/**
|
|
1443
1443
|
* Padding Top
|
|
1444
1444
|
* @see https://tailwindcss.com/docs/padding
|
|
1445
1445
|
*/
|
|
1446
1446
|
pt: [{
|
|
1447
|
-
pt:
|
|
1447
|
+
pt: b()
|
|
1448
1448
|
}],
|
|
1449
1449
|
/**
|
|
1450
1450
|
* Padding Right
|
|
1451
1451
|
* @see https://tailwindcss.com/docs/padding
|
|
1452
1452
|
*/
|
|
1453
1453
|
pr: [{
|
|
1454
|
-
pr:
|
|
1454
|
+
pr: b()
|
|
1455
1455
|
}],
|
|
1456
1456
|
/**
|
|
1457
1457
|
* Padding Bottom
|
|
1458
1458
|
* @see https://tailwindcss.com/docs/padding
|
|
1459
1459
|
*/
|
|
1460
1460
|
pb: [{
|
|
1461
|
-
pb:
|
|
1461
|
+
pb: b()
|
|
1462
1462
|
}],
|
|
1463
1463
|
/**
|
|
1464
1464
|
* Padding Left
|
|
1465
1465
|
* @see https://tailwindcss.com/docs/padding
|
|
1466
1466
|
*/
|
|
1467
1467
|
pl: [{
|
|
1468
|
-
pl:
|
|
1468
|
+
pl: b()
|
|
1469
1469
|
}],
|
|
1470
1470
|
/**
|
|
1471
1471
|
* Margin
|
|
1472
1472
|
* @see https://tailwindcss.com/docs/margin
|
|
1473
1473
|
*/
|
|
1474
1474
|
m: [{
|
|
1475
|
-
m:
|
|
1475
|
+
m: D()
|
|
1476
1476
|
}],
|
|
1477
1477
|
/**
|
|
1478
1478
|
* Margin X
|
|
1479
1479
|
* @see https://tailwindcss.com/docs/margin
|
|
1480
1480
|
*/
|
|
1481
1481
|
mx: [{
|
|
1482
|
-
mx:
|
|
1482
|
+
mx: D()
|
|
1483
1483
|
}],
|
|
1484
1484
|
/**
|
|
1485
1485
|
* Margin Y
|
|
1486
1486
|
* @see https://tailwindcss.com/docs/margin
|
|
1487
1487
|
*/
|
|
1488
1488
|
my: [{
|
|
1489
|
-
my:
|
|
1489
|
+
my: D()
|
|
1490
1490
|
}],
|
|
1491
1491
|
/**
|
|
1492
1492
|
* Margin Start
|
|
1493
1493
|
* @see https://tailwindcss.com/docs/margin
|
|
1494
1494
|
*/
|
|
1495
1495
|
ms: [{
|
|
1496
|
-
ms:
|
|
1496
|
+
ms: D()
|
|
1497
1497
|
}],
|
|
1498
1498
|
/**
|
|
1499
1499
|
* Margin End
|
|
1500
1500
|
* @see https://tailwindcss.com/docs/margin
|
|
1501
1501
|
*/
|
|
1502
1502
|
me: [{
|
|
1503
|
-
me:
|
|
1503
|
+
me: D()
|
|
1504
1504
|
}],
|
|
1505
1505
|
/**
|
|
1506
1506
|
* Margin Top
|
|
1507
1507
|
* @see https://tailwindcss.com/docs/margin
|
|
1508
1508
|
*/
|
|
1509
1509
|
mt: [{
|
|
1510
|
-
mt:
|
|
1510
|
+
mt: D()
|
|
1511
1511
|
}],
|
|
1512
1512
|
/**
|
|
1513
1513
|
* Margin Right
|
|
1514
1514
|
* @see https://tailwindcss.com/docs/margin
|
|
1515
1515
|
*/
|
|
1516
1516
|
mr: [{
|
|
1517
|
-
mr:
|
|
1517
|
+
mr: D()
|
|
1518
1518
|
}],
|
|
1519
1519
|
/**
|
|
1520
1520
|
* Margin Bottom
|
|
1521
1521
|
* @see https://tailwindcss.com/docs/margin
|
|
1522
1522
|
*/
|
|
1523
1523
|
mb: [{
|
|
1524
|
-
mb:
|
|
1524
|
+
mb: D()
|
|
1525
1525
|
}],
|
|
1526
1526
|
/**
|
|
1527
1527
|
* Margin Left
|
|
1528
1528
|
* @see https://tailwindcss.com/docs/margin
|
|
1529
1529
|
*/
|
|
1530
1530
|
ml: [{
|
|
1531
|
-
ml:
|
|
1531
|
+
ml: D()
|
|
1532
1532
|
}],
|
|
1533
1533
|
/**
|
|
1534
1534
|
* Space Between X
|
|
1535
1535
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1536
1536
|
*/
|
|
1537
1537
|
"space-x": [{
|
|
1538
|
-
"space-x":
|
|
1538
|
+
"space-x": b()
|
|
1539
1539
|
}],
|
|
1540
1540
|
/**
|
|
1541
1541
|
* Space Between X Reverse
|
|
@@ -1547,7 +1547,7 @@ const N = (e) => {
|
|
|
1547
1547
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
1548
1548
|
*/
|
|
1549
1549
|
"space-y": [{
|
|
1550
|
-
"space-y":
|
|
1550
|
+
"space-y": b()
|
|
1551
1551
|
}],
|
|
1552
1552
|
/**
|
|
1553
1553
|
* Space Between Y Reverse
|
|
@@ -1562,14 +1562,14 @@ const N = (e) => {
|
|
|
1562
1562
|
* @see https://tailwindcss.com/docs/width#setting-both-width-and-height
|
|
1563
1563
|
*/
|
|
1564
1564
|
size: [{
|
|
1565
|
-
size:
|
|
1565
|
+
size: U()
|
|
1566
1566
|
}],
|
|
1567
1567
|
/**
|
|
1568
1568
|
* Width
|
|
1569
1569
|
* @see https://tailwindcss.com/docs/width
|
|
1570
1570
|
*/
|
|
1571
1571
|
w: [{
|
|
1572
|
-
w: [
|
|
1572
|
+
w: [i, "screen", ...U()]
|
|
1573
1573
|
}],
|
|
1574
1574
|
/**
|
|
1575
1575
|
* Min-Width
|
|
@@ -1577,11 +1577,11 @@ const N = (e) => {
|
|
|
1577
1577
|
*/
|
|
1578
1578
|
"min-w": [{
|
|
1579
1579
|
"min-w": [
|
|
1580
|
-
|
|
1580
|
+
i,
|
|
1581
1581
|
"screen",
|
|
1582
1582
|
/** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1583
1583
|
"none",
|
|
1584
|
-
...
|
|
1584
|
+
...U()
|
|
1585
1585
|
]
|
|
1586
1586
|
}],
|
|
1587
1587
|
/**
|
|
@@ -1590,16 +1590,16 @@ const N = (e) => {
|
|
|
1590
1590
|
*/
|
|
1591
1591
|
"max-w": [{
|
|
1592
1592
|
"max-w": [
|
|
1593
|
-
|
|
1593
|
+
i,
|
|
1594
1594
|
"screen",
|
|
1595
1595
|
"none",
|
|
1596
1596
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1597
1597
|
"prose",
|
|
1598
1598
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1599
1599
|
{
|
|
1600
|
-
screen: [
|
|
1600
|
+
screen: [s]
|
|
1601
1601
|
},
|
|
1602
|
-
...
|
|
1602
|
+
...U()
|
|
1603
1603
|
]
|
|
1604
1604
|
}],
|
|
1605
1605
|
/**
|
|
@@ -1607,21 +1607,21 @@ const N = (e) => {
|
|
|
1607
1607
|
* @see https://tailwindcss.com/docs/height
|
|
1608
1608
|
*/
|
|
1609
1609
|
h: [{
|
|
1610
|
-
h: ["screen", "lh", ...
|
|
1610
|
+
h: ["screen", "lh", ...U()]
|
|
1611
1611
|
}],
|
|
1612
1612
|
/**
|
|
1613
1613
|
* Min-Height
|
|
1614
1614
|
* @see https://tailwindcss.com/docs/min-height
|
|
1615
1615
|
*/
|
|
1616
1616
|
"min-h": [{
|
|
1617
|
-
"min-h": ["screen", "lh", "none", ...
|
|
1617
|
+
"min-h": ["screen", "lh", "none", ...U()]
|
|
1618
1618
|
}],
|
|
1619
1619
|
/**
|
|
1620
1620
|
* Max-Height
|
|
1621
1621
|
* @see https://tailwindcss.com/docs/max-height
|
|
1622
1622
|
*/
|
|
1623
1623
|
"max-h": [{
|
|
1624
|
-
"max-h": ["screen", "lh", ...
|
|
1624
|
+
"max-h": ["screen", "lh", ...U()]
|
|
1625
1625
|
}],
|
|
1626
1626
|
// ------------------
|
|
1627
1627
|
// --- Typography ---
|
|
@@ -1631,7 +1631,7 @@ const N = (e) => {
|
|
|
1631
1631
|
* @see https://tailwindcss.com/docs/font-size
|
|
1632
1632
|
*/
|
|
1633
1633
|
"font-size": [{
|
|
1634
|
-
text: ["base",
|
|
1634
|
+
text: ["base", o, Z, F]
|
|
1635
1635
|
}],
|
|
1636
1636
|
/**
|
|
1637
1637
|
* Font Smoothing
|
|
@@ -1648,7 +1648,7 @@ const N = (e) => {
|
|
|
1648
1648
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1649
1649
|
*/
|
|
1650
1650
|
"font-weight": [{
|
|
1651
|
-
font: [r, d,
|
|
1651
|
+
font: [r, d, ge]
|
|
1652
1652
|
}],
|
|
1653
1653
|
/**
|
|
1654
1654
|
* Font Stretch
|
|
@@ -1662,7 +1662,7 @@ const N = (e) => {
|
|
|
1662
1662
|
* @see https://tailwindcss.com/docs/font-family
|
|
1663
1663
|
*/
|
|
1664
1664
|
"font-family": [{
|
|
1665
|
-
font: [
|
|
1665
|
+
font: [Bo, c, t]
|
|
1666
1666
|
}],
|
|
1667
1667
|
/**
|
|
1668
1668
|
* Font Variant Numeric
|
|
@@ -1706,7 +1706,7 @@ const N = (e) => {
|
|
|
1706
1706
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1707
1707
|
*/
|
|
1708
1708
|
"line-clamp": [{
|
|
1709
|
-
"line-clamp": [v, "none", d,
|
|
1709
|
+
"line-clamp": [v, "none", d, ge]
|
|
1710
1710
|
}],
|
|
1711
1711
|
/**
|
|
1712
1712
|
* Line Height
|
|
@@ -1715,8 +1715,8 @@ const N = (e) => {
|
|
|
1715
1715
|
leading: [{
|
|
1716
1716
|
leading: [
|
|
1717
1717
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1718
|
-
|
|
1719
|
-
...
|
|
1718
|
+
a,
|
|
1719
|
+
...b()
|
|
1720
1720
|
]
|
|
1721
1721
|
}],
|
|
1722
1722
|
/**
|
|
@@ -1753,14 +1753,14 @@ const N = (e) => {
|
|
|
1753
1753
|
* @see https://v3.tailwindcss.com/docs/placeholder-color
|
|
1754
1754
|
*/
|
|
1755
1755
|
"placeholder-color": [{
|
|
1756
|
-
placeholder:
|
|
1756
|
+
placeholder: g()
|
|
1757
1757
|
}],
|
|
1758
1758
|
/**
|
|
1759
1759
|
* Text Color
|
|
1760
1760
|
* @see https://tailwindcss.com/docs/text-color
|
|
1761
1761
|
*/
|
|
1762
1762
|
"text-color": [{
|
|
1763
|
-
text:
|
|
1763
|
+
text: g()
|
|
1764
1764
|
}],
|
|
1765
1765
|
/**
|
|
1766
1766
|
* Text Decoration
|
|
@@ -1772,7 +1772,7 @@ const N = (e) => {
|
|
|
1772
1772
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1773
1773
|
*/
|
|
1774
1774
|
"text-decoration-style": [{
|
|
1775
|
-
decoration: [...
|
|
1775
|
+
decoration: [...ee(), "wavy"]
|
|
1776
1776
|
}],
|
|
1777
1777
|
/**
|
|
1778
1778
|
* Text Decoration Thickness
|
|
@@ -1786,7 +1786,7 @@ const N = (e) => {
|
|
|
1786
1786
|
* @see https://tailwindcss.com/docs/text-decoration-color
|
|
1787
1787
|
*/
|
|
1788
1788
|
"text-decoration-color": [{
|
|
1789
|
-
decoration:
|
|
1789
|
+
decoration: g()
|
|
1790
1790
|
}],
|
|
1791
1791
|
/**
|
|
1792
1792
|
* Text Underline Offset
|
|
@@ -1817,7 +1817,7 @@ const N = (e) => {
|
|
|
1817
1817
|
* @see https://tailwindcss.com/docs/text-indent
|
|
1818
1818
|
*/
|
|
1819
1819
|
indent: [{
|
|
1820
|
-
indent:
|
|
1820
|
+
indent: b()
|
|
1821
1821
|
}],
|
|
1822
1822
|
/**
|
|
1823
1823
|
* Vertical Alignment
|
|
@@ -1890,21 +1890,21 @@ const N = (e) => {
|
|
|
1890
1890
|
* @see https://tailwindcss.com/docs/background-position
|
|
1891
1891
|
*/
|
|
1892
1892
|
"bg-position": [{
|
|
1893
|
-
bg:
|
|
1893
|
+
bg: Oe()
|
|
1894
1894
|
}],
|
|
1895
1895
|
/**
|
|
1896
1896
|
* Background Repeat
|
|
1897
1897
|
* @see https://tailwindcss.com/docs/background-repeat
|
|
1898
1898
|
*/
|
|
1899
1899
|
"bg-repeat": [{
|
|
1900
|
-
bg:
|
|
1900
|
+
bg: Le()
|
|
1901
1901
|
}],
|
|
1902
1902
|
/**
|
|
1903
1903
|
* Background Size
|
|
1904
1904
|
* @see https://tailwindcss.com/docs/background-size
|
|
1905
1905
|
*/
|
|
1906
1906
|
"bg-size": [{
|
|
1907
|
-
bg:
|
|
1907
|
+
bg: $e()
|
|
1908
1908
|
}],
|
|
1909
1909
|
/**
|
|
1910
1910
|
* Background Image
|
|
@@ -1914,59 +1914,59 @@ const N = (e) => {
|
|
|
1914
1914
|
bg: ["none", {
|
|
1915
1915
|
linear: [{
|
|
1916
1916
|
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1917
|
-
},
|
|
1917
|
+
}, j, d, c],
|
|
1918
1918
|
radial: ["", d, c],
|
|
1919
|
-
conic: [
|
|
1920
|
-
},
|
|
1919
|
+
conic: [j, d, c]
|
|
1920
|
+
}, qo, Wo]
|
|
1921
1921
|
}],
|
|
1922
1922
|
/**
|
|
1923
1923
|
* Background Color
|
|
1924
1924
|
* @see https://tailwindcss.com/docs/background-color
|
|
1925
1925
|
*/
|
|
1926
1926
|
"bg-color": [{
|
|
1927
|
-
bg:
|
|
1927
|
+
bg: g()
|
|
1928
1928
|
}],
|
|
1929
1929
|
/**
|
|
1930
1930
|
* Gradient Color Stops From Position
|
|
1931
1931
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1932
1932
|
*/
|
|
1933
1933
|
"gradient-from-pos": [{
|
|
1934
|
-
from:
|
|
1934
|
+
from: fe()
|
|
1935
1935
|
}],
|
|
1936
1936
|
/**
|
|
1937
1937
|
* Gradient Color Stops Via Position
|
|
1938
1938
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1939
1939
|
*/
|
|
1940
1940
|
"gradient-via-pos": [{
|
|
1941
|
-
via:
|
|
1941
|
+
via: fe()
|
|
1942
1942
|
}],
|
|
1943
1943
|
/**
|
|
1944
1944
|
* Gradient Color Stops To Position
|
|
1945
1945
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1946
1946
|
*/
|
|
1947
1947
|
"gradient-to-pos": [{
|
|
1948
|
-
to:
|
|
1948
|
+
to: fe()
|
|
1949
1949
|
}],
|
|
1950
1950
|
/**
|
|
1951
1951
|
* Gradient Color Stops From
|
|
1952
1952
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1953
1953
|
*/
|
|
1954
1954
|
"gradient-from": [{
|
|
1955
|
-
from:
|
|
1955
|
+
from: g()
|
|
1956
1956
|
}],
|
|
1957
1957
|
/**
|
|
1958
1958
|
* Gradient Color Stops Via
|
|
1959
1959
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1960
1960
|
*/
|
|
1961
1961
|
"gradient-via": [{
|
|
1962
|
-
via:
|
|
1962
|
+
via: g()
|
|
1963
1963
|
}],
|
|
1964
1964
|
/**
|
|
1965
1965
|
* Gradient Color Stops To
|
|
1966
1966
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1967
1967
|
*/
|
|
1968
1968
|
"gradient-to": [{
|
|
1969
|
-
to:
|
|
1969
|
+
to: g()
|
|
1970
1970
|
}],
|
|
1971
1971
|
// ---------------
|
|
1972
1972
|
// --- Borders ---
|
|
@@ -1976,175 +1976,175 @@ const N = (e) => {
|
|
|
1976
1976
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1977
1977
|
*/
|
|
1978
1978
|
rounded: [{
|
|
1979
|
-
rounded:
|
|
1979
|
+
rounded: z()
|
|
1980
1980
|
}],
|
|
1981
1981
|
/**
|
|
1982
1982
|
* Border Radius Start
|
|
1983
1983
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1984
1984
|
*/
|
|
1985
1985
|
"rounded-s": [{
|
|
1986
|
-
"rounded-s":
|
|
1986
|
+
"rounded-s": z()
|
|
1987
1987
|
}],
|
|
1988
1988
|
/**
|
|
1989
1989
|
* Border Radius End
|
|
1990
1990
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1991
1991
|
*/
|
|
1992
1992
|
"rounded-e": [{
|
|
1993
|
-
"rounded-e":
|
|
1993
|
+
"rounded-e": z()
|
|
1994
1994
|
}],
|
|
1995
1995
|
/**
|
|
1996
1996
|
* Border Radius Top
|
|
1997
1997
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1998
1998
|
*/
|
|
1999
1999
|
"rounded-t": [{
|
|
2000
|
-
"rounded-t":
|
|
2000
|
+
"rounded-t": z()
|
|
2001
2001
|
}],
|
|
2002
2002
|
/**
|
|
2003
2003
|
* Border Radius Right
|
|
2004
2004
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2005
2005
|
*/
|
|
2006
2006
|
"rounded-r": [{
|
|
2007
|
-
"rounded-r":
|
|
2007
|
+
"rounded-r": z()
|
|
2008
2008
|
}],
|
|
2009
2009
|
/**
|
|
2010
2010
|
* Border Radius Bottom
|
|
2011
2011
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2012
2012
|
*/
|
|
2013
2013
|
"rounded-b": [{
|
|
2014
|
-
"rounded-b":
|
|
2014
|
+
"rounded-b": z()
|
|
2015
2015
|
}],
|
|
2016
2016
|
/**
|
|
2017
2017
|
* Border Radius Left
|
|
2018
2018
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2019
2019
|
*/
|
|
2020
2020
|
"rounded-l": [{
|
|
2021
|
-
"rounded-l":
|
|
2021
|
+
"rounded-l": z()
|
|
2022
2022
|
}],
|
|
2023
2023
|
/**
|
|
2024
2024
|
* Border Radius Start Start
|
|
2025
2025
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2026
2026
|
*/
|
|
2027
2027
|
"rounded-ss": [{
|
|
2028
|
-
"rounded-ss":
|
|
2028
|
+
"rounded-ss": z()
|
|
2029
2029
|
}],
|
|
2030
2030
|
/**
|
|
2031
2031
|
* Border Radius Start End
|
|
2032
2032
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2033
2033
|
*/
|
|
2034
2034
|
"rounded-se": [{
|
|
2035
|
-
"rounded-se":
|
|
2035
|
+
"rounded-se": z()
|
|
2036
2036
|
}],
|
|
2037
2037
|
/**
|
|
2038
2038
|
* Border Radius End End
|
|
2039
2039
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2040
2040
|
*/
|
|
2041
2041
|
"rounded-ee": [{
|
|
2042
|
-
"rounded-ee":
|
|
2042
|
+
"rounded-ee": z()
|
|
2043
2043
|
}],
|
|
2044
2044
|
/**
|
|
2045
2045
|
* Border Radius End Start
|
|
2046
2046
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2047
2047
|
*/
|
|
2048
2048
|
"rounded-es": [{
|
|
2049
|
-
"rounded-es":
|
|
2049
|
+
"rounded-es": z()
|
|
2050
2050
|
}],
|
|
2051
2051
|
/**
|
|
2052
2052
|
* Border Radius Top Left
|
|
2053
2053
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2054
2054
|
*/
|
|
2055
2055
|
"rounded-tl": [{
|
|
2056
|
-
"rounded-tl":
|
|
2056
|
+
"rounded-tl": z()
|
|
2057
2057
|
}],
|
|
2058
2058
|
/**
|
|
2059
2059
|
* Border Radius Top Right
|
|
2060
2060
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2061
2061
|
*/
|
|
2062
2062
|
"rounded-tr": [{
|
|
2063
|
-
"rounded-tr":
|
|
2063
|
+
"rounded-tr": z()
|
|
2064
2064
|
}],
|
|
2065
2065
|
/**
|
|
2066
2066
|
* Border Radius Bottom Right
|
|
2067
2067
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2068
2068
|
*/
|
|
2069
2069
|
"rounded-br": [{
|
|
2070
|
-
"rounded-br":
|
|
2070
|
+
"rounded-br": z()
|
|
2071
2071
|
}],
|
|
2072
2072
|
/**
|
|
2073
2073
|
* Border Radius Bottom Left
|
|
2074
2074
|
* @see https://tailwindcss.com/docs/border-radius
|
|
2075
2075
|
*/
|
|
2076
2076
|
"rounded-bl": [{
|
|
2077
|
-
"rounded-bl":
|
|
2077
|
+
"rounded-bl": z()
|
|
2078
2078
|
}],
|
|
2079
2079
|
/**
|
|
2080
2080
|
* Border Width
|
|
2081
2081
|
* @see https://tailwindcss.com/docs/border-width
|
|
2082
2082
|
*/
|
|
2083
2083
|
"border-w": [{
|
|
2084
|
-
border:
|
|
2084
|
+
border: O()
|
|
2085
2085
|
}],
|
|
2086
2086
|
/**
|
|
2087
2087
|
* Border Width X
|
|
2088
2088
|
* @see https://tailwindcss.com/docs/border-width
|
|
2089
2089
|
*/
|
|
2090
2090
|
"border-w-x": [{
|
|
2091
|
-
"border-x":
|
|
2091
|
+
"border-x": O()
|
|
2092
2092
|
}],
|
|
2093
2093
|
/**
|
|
2094
2094
|
* Border Width Y
|
|
2095
2095
|
* @see https://tailwindcss.com/docs/border-width
|
|
2096
2096
|
*/
|
|
2097
2097
|
"border-w-y": [{
|
|
2098
|
-
"border-y":
|
|
2098
|
+
"border-y": O()
|
|
2099
2099
|
}],
|
|
2100
2100
|
/**
|
|
2101
2101
|
* Border Width Start
|
|
2102
2102
|
* @see https://tailwindcss.com/docs/border-width
|
|
2103
2103
|
*/
|
|
2104
2104
|
"border-w-s": [{
|
|
2105
|
-
"border-s":
|
|
2105
|
+
"border-s": O()
|
|
2106
2106
|
}],
|
|
2107
2107
|
/**
|
|
2108
2108
|
* Border Width End
|
|
2109
2109
|
* @see https://tailwindcss.com/docs/border-width
|
|
2110
2110
|
*/
|
|
2111
2111
|
"border-w-e": [{
|
|
2112
|
-
"border-e":
|
|
2112
|
+
"border-e": O()
|
|
2113
2113
|
}],
|
|
2114
2114
|
/**
|
|
2115
2115
|
* Border Width Top
|
|
2116
2116
|
* @see https://tailwindcss.com/docs/border-width
|
|
2117
2117
|
*/
|
|
2118
2118
|
"border-w-t": [{
|
|
2119
|
-
"border-t":
|
|
2119
|
+
"border-t": O()
|
|
2120
2120
|
}],
|
|
2121
2121
|
/**
|
|
2122
2122
|
* Border Width Right
|
|
2123
2123
|
* @see https://tailwindcss.com/docs/border-width
|
|
2124
2124
|
*/
|
|
2125
2125
|
"border-w-r": [{
|
|
2126
|
-
"border-r":
|
|
2126
|
+
"border-r": O()
|
|
2127
2127
|
}],
|
|
2128
2128
|
/**
|
|
2129
2129
|
* Border Width Bottom
|
|
2130
2130
|
* @see https://tailwindcss.com/docs/border-width
|
|
2131
2131
|
*/
|
|
2132
2132
|
"border-w-b": [{
|
|
2133
|
-
"border-b":
|
|
2133
|
+
"border-b": O()
|
|
2134
2134
|
}],
|
|
2135
2135
|
/**
|
|
2136
2136
|
* Border Width Left
|
|
2137
2137
|
* @see https://tailwindcss.com/docs/border-width
|
|
2138
2138
|
*/
|
|
2139
2139
|
"border-w-l": [{
|
|
2140
|
-
"border-l":
|
|
2140
|
+
"border-l": O()
|
|
2141
2141
|
}],
|
|
2142
2142
|
/**
|
|
2143
2143
|
* Divide Width X
|
|
2144
2144
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
2145
2145
|
*/
|
|
2146
2146
|
"divide-x": [{
|
|
2147
|
-
"divide-x":
|
|
2147
|
+
"divide-x": O()
|
|
2148
2148
|
}],
|
|
2149
2149
|
/**
|
|
2150
2150
|
* Divide Width X Reverse
|
|
@@ -2156,7 +2156,7 @@ const N = (e) => {
|
|
|
2156
2156
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
2157
2157
|
*/
|
|
2158
2158
|
"divide-y": [{
|
|
2159
|
-
"divide-y":
|
|
2159
|
+
"divide-y": O()
|
|
2160
2160
|
}],
|
|
2161
2161
|
/**
|
|
2162
2162
|
* Divide Width Y Reverse
|
|
@@ -2168,91 +2168,91 @@ const N = (e) => {
|
|
|
2168
2168
|
* @see https://tailwindcss.com/docs/border-style
|
|
2169
2169
|
*/
|
|
2170
2170
|
"border-style": [{
|
|
2171
|
-
border: [...
|
|
2171
|
+
border: [...ee(), "hidden", "none"]
|
|
2172
2172
|
}],
|
|
2173
2173
|
/**
|
|
2174
2174
|
* Divide Style
|
|
2175
2175
|
* @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
|
|
2176
2176
|
*/
|
|
2177
2177
|
"divide-style": [{
|
|
2178
|
-
divide: [...
|
|
2178
|
+
divide: [...ee(), "hidden", "none"]
|
|
2179
2179
|
}],
|
|
2180
2180
|
/**
|
|
2181
2181
|
* Border Color
|
|
2182
2182
|
* @see https://tailwindcss.com/docs/border-color
|
|
2183
2183
|
*/
|
|
2184
2184
|
"border-color": [{
|
|
2185
|
-
border:
|
|
2185
|
+
border: g()
|
|
2186
2186
|
}],
|
|
2187
2187
|
/**
|
|
2188
2188
|
* Border Color X
|
|
2189
2189
|
* @see https://tailwindcss.com/docs/border-color
|
|
2190
2190
|
*/
|
|
2191
2191
|
"border-color-x": [{
|
|
2192
|
-
"border-x":
|
|
2192
|
+
"border-x": g()
|
|
2193
2193
|
}],
|
|
2194
2194
|
/**
|
|
2195
2195
|
* Border Color Y
|
|
2196
2196
|
* @see https://tailwindcss.com/docs/border-color
|
|
2197
2197
|
*/
|
|
2198
2198
|
"border-color-y": [{
|
|
2199
|
-
"border-y":
|
|
2199
|
+
"border-y": g()
|
|
2200
2200
|
}],
|
|
2201
2201
|
/**
|
|
2202
2202
|
* Border Color S
|
|
2203
2203
|
* @see https://tailwindcss.com/docs/border-color
|
|
2204
2204
|
*/
|
|
2205
2205
|
"border-color-s": [{
|
|
2206
|
-
"border-s":
|
|
2206
|
+
"border-s": g()
|
|
2207
2207
|
}],
|
|
2208
2208
|
/**
|
|
2209
2209
|
* Border Color E
|
|
2210
2210
|
* @see https://tailwindcss.com/docs/border-color
|
|
2211
2211
|
*/
|
|
2212
2212
|
"border-color-e": [{
|
|
2213
|
-
"border-e":
|
|
2213
|
+
"border-e": g()
|
|
2214
2214
|
}],
|
|
2215
2215
|
/**
|
|
2216
2216
|
* Border Color Top
|
|
2217
2217
|
* @see https://tailwindcss.com/docs/border-color
|
|
2218
2218
|
*/
|
|
2219
2219
|
"border-color-t": [{
|
|
2220
|
-
"border-t":
|
|
2220
|
+
"border-t": g()
|
|
2221
2221
|
}],
|
|
2222
2222
|
/**
|
|
2223
2223
|
* Border Color Right
|
|
2224
2224
|
* @see https://tailwindcss.com/docs/border-color
|
|
2225
2225
|
*/
|
|
2226
2226
|
"border-color-r": [{
|
|
2227
|
-
"border-r":
|
|
2227
|
+
"border-r": g()
|
|
2228
2228
|
}],
|
|
2229
2229
|
/**
|
|
2230
2230
|
* Border Color Bottom
|
|
2231
2231
|
* @see https://tailwindcss.com/docs/border-color
|
|
2232
2232
|
*/
|
|
2233
2233
|
"border-color-b": [{
|
|
2234
|
-
"border-b":
|
|
2234
|
+
"border-b": g()
|
|
2235
2235
|
}],
|
|
2236
2236
|
/**
|
|
2237
2237
|
* Border Color Left
|
|
2238
2238
|
* @see https://tailwindcss.com/docs/border-color
|
|
2239
2239
|
*/
|
|
2240
2240
|
"border-color-l": [{
|
|
2241
|
-
"border-l":
|
|
2241
|
+
"border-l": g()
|
|
2242
2242
|
}],
|
|
2243
2243
|
/**
|
|
2244
2244
|
* Divide Color
|
|
2245
2245
|
* @see https://tailwindcss.com/docs/divide-color
|
|
2246
2246
|
*/
|
|
2247
2247
|
"divide-color": [{
|
|
2248
|
-
divide:
|
|
2248
|
+
divide: g()
|
|
2249
2249
|
}],
|
|
2250
2250
|
/**
|
|
2251
2251
|
* Outline Style
|
|
2252
2252
|
* @see https://tailwindcss.com/docs/outline-style
|
|
2253
2253
|
*/
|
|
2254
2254
|
"outline-style": [{
|
|
2255
|
-
outline: [...
|
|
2255
|
+
outline: [...ee(), "none", "hidden"]
|
|
2256
2256
|
}],
|
|
2257
2257
|
/**
|
|
2258
2258
|
* Outline Offset
|
|
@@ -2266,14 +2266,14 @@ const N = (e) => {
|
|
|
2266
2266
|
* @see https://tailwindcss.com/docs/outline-width
|
|
2267
2267
|
*/
|
|
2268
2268
|
"outline-w": [{
|
|
2269
|
-
outline: ["", v,
|
|
2269
|
+
outline: ["", v, Z, F]
|
|
2270
2270
|
}],
|
|
2271
2271
|
/**
|
|
2272
2272
|
* Outline Color
|
|
2273
2273
|
* @see https://tailwindcss.com/docs/outline-color
|
|
2274
2274
|
*/
|
|
2275
2275
|
"outline-color": [{
|
|
2276
|
-
outline:
|
|
2276
|
+
outline: g()
|
|
2277
2277
|
}],
|
|
2278
2278
|
// ---------------
|
|
2279
2279
|
// --- Effects ---
|
|
@@ -2289,7 +2289,7 @@ const N = (e) => {
|
|
|
2289
2289
|
"none",
|
|
2290
2290
|
p,
|
|
2291
2291
|
se,
|
|
2292
|
-
|
|
2292
|
+
ae
|
|
2293
2293
|
]
|
|
2294
2294
|
}],
|
|
2295
2295
|
/**
|
|
@@ -2297,28 +2297,28 @@ const N = (e) => {
|
|
|
2297
2297
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
|
|
2298
2298
|
*/
|
|
2299
2299
|
"shadow-color": [{
|
|
2300
|
-
shadow:
|
|
2300
|
+
shadow: g()
|
|
2301
2301
|
}],
|
|
2302
2302
|
/**
|
|
2303
2303
|
* Inset Box Shadow
|
|
2304
2304
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
2305
2305
|
*/
|
|
2306
2306
|
"inset-shadow": [{
|
|
2307
|
-
"inset-shadow": ["none",
|
|
2307
|
+
"inset-shadow": ["none", h, se, ae]
|
|
2308
2308
|
}],
|
|
2309
2309
|
/**
|
|
2310
2310
|
* Inset Box Shadow Color
|
|
2311
2311
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
|
|
2312
2312
|
*/
|
|
2313
2313
|
"inset-shadow-color": [{
|
|
2314
|
-
"inset-shadow":
|
|
2314
|
+
"inset-shadow": g()
|
|
2315
2315
|
}],
|
|
2316
2316
|
/**
|
|
2317
2317
|
* Ring Width
|
|
2318
2318
|
* @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
|
|
2319
2319
|
*/
|
|
2320
2320
|
"ring-w": [{
|
|
2321
|
-
ring:
|
|
2321
|
+
ring: O()
|
|
2322
2322
|
}],
|
|
2323
2323
|
/**
|
|
2324
2324
|
* Ring Width Inset
|
|
@@ -2332,7 +2332,7 @@ const N = (e) => {
|
|
|
2332
2332
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
|
|
2333
2333
|
*/
|
|
2334
2334
|
"ring-color": [{
|
|
2335
|
-
ring:
|
|
2335
|
+
ring: g()
|
|
2336
2336
|
}],
|
|
2337
2337
|
/**
|
|
2338
2338
|
* Ring Offset Width
|
|
@@ -2350,35 +2350,35 @@ const N = (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-color": [{
|
|
2353
|
-
"ring-offset":
|
|
2353
|
+
"ring-offset": g()
|
|
2354
2354
|
}],
|
|
2355
2355
|
/**
|
|
2356
2356
|
* Inset Ring Width
|
|
2357
2357
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
|
|
2358
2358
|
*/
|
|
2359
2359
|
"inset-ring-w": [{
|
|
2360
|
-
"inset-ring":
|
|
2360
|
+
"inset-ring": O()
|
|
2361
2361
|
}],
|
|
2362
2362
|
/**
|
|
2363
2363
|
* Inset Ring Color
|
|
2364
2364
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
|
|
2365
2365
|
*/
|
|
2366
2366
|
"inset-ring-color": [{
|
|
2367
|
-
"inset-ring":
|
|
2367
|
+
"inset-ring": g()
|
|
2368
2368
|
}],
|
|
2369
2369
|
/**
|
|
2370
2370
|
* Text Shadow
|
|
2371
2371
|
* @see https://tailwindcss.com/docs/text-shadow
|
|
2372
2372
|
*/
|
|
2373
2373
|
"text-shadow": [{
|
|
2374
|
-
"text-shadow": ["none", A, se,
|
|
2374
|
+
"text-shadow": ["none", A, se, ae]
|
|
2375
2375
|
}],
|
|
2376
2376
|
/**
|
|
2377
2377
|
* Text Shadow Color
|
|
2378
2378
|
* @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
|
|
2379
2379
|
*/
|
|
2380
2380
|
"text-shadow-color": [{
|
|
2381
|
-
"text-shadow":
|
|
2381
|
+
"text-shadow": g()
|
|
2382
2382
|
}],
|
|
2383
2383
|
/**
|
|
2384
2384
|
* Opacity
|
|
@@ -2423,103 +2423,103 @@ const N = (e) => {
|
|
|
2423
2423
|
"mask-linear": [v]
|
|
2424
2424
|
}],
|
|
2425
2425
|
"mask-image-linear-from-pos": [{
|
|
2426
|
-
"mask-linear-from":
|
|
2426
|
+
"mask-linear-from": P()
|
|
2427
2427
|
}],
|
|
2428
2428
|
"mask-image-linear-to-pos": [{
|
|
2429
|
-
"mask-linear-to":
|
|
2429
|
+
"mask-linear-to": P()
|
|
2430
2430
|
}],
|
|
2431
2431
|
"mask-image-linear-from-color": [{
|
|
2432
|
-
"mask-linear-from":
|
|
2432
|
+
"mask-linear-from": g()
|
|
2433
2433
|
}],
|
|
2434
2434
|
"mask-image-linear-to-color": [{
|
|
2435
|
-
"mask-linear-to":
|
|
2435
|
+
"mask-linear-to": g()
|
|
2436
2436
|
}],
|
|
2437
2437
|
"mask-image-t-from-pos": [{
|
|
2438
|
-
"mask-t-from":
|
|
2438
|
+
"mask-t-from": P()
|
|
2439
2439
|
}],
|
|
2440
2440
|
"mask-image-t-to-pos": [{
|
|
2441
|
-
"mask-t-to":
|
|
2441
|
+
"mask-t-to": P()
|
|
2442
2442
|
}],
|
|
2443
2443
|
"mask-image-t-from-color": [{
|
|
2444
|
-
"mask-t-from":
|
|
2444
|
+
"mask-t-from": g()
|
|
2445
2445
|
}],
|
|
2446
2446
|
"mask-image-t-to-color": [{
|
|
2447
|
-
"mask-t-to":
|
|
2447
|
+
"mask-t-to": g()
|
|
2448
2448
|
}],
|
|
2449
2449
|
"mask-image-r-from-pos": [{
|
|
2450
|
-
"mask-r-from":
|
|
2450
|
+
"mask-r-from": P()
|
|
2451
2451
|
}],
|
|
2452
2452
|
"mask-image-r-to-pos": [{
|
|
2453
|
-
"mask-r-to":
|
|
2453
|
+
"mask-r-to": P()
|
|
2454
2454
|
}],
|
|
2455
2455
|
"mask-image-r-from-color": [{
|
|
2456
|
-
"mask-r-from":
|
|
2456
|
+
"mask-r-from": g()
|
|
2457
2457
|
}],
|
|
2458
2458
|
"mask-image-r-to-color": [{
|
|
2459
|
-
"mask-r-to":
|
|
2459
|
+
"mask-r-to": g()
|
|
2460
2460
|
}],
|
|
2461
2461
|
"mask-image-b-from-pos": [{
|
|
2462
|
-
"mask-b-from":
|
|
2462
|
+
"mask-b-from": P()
|
|
2463
2463
|
}],
|
|
2464
2464
|
"mask-image-b-to-pos": [{
|
|
2465
|
-
"mask-b-to":
|
|
2465
|
+
"mask-b-to": P()
|
|
2466
2466
|
}],
|
|
2467
2467
|
"mask-image-b-from-color": [{
|
|
2468
|
-
"mask-b-from":
|
|
2468
|
+
"mask-b-from": g()
|
|
2469
2469
|
}],
|
|
2470
2470
|
"mask-image-b-to-color": [{
|
|
2471
|
-
"mask-b-to":
|
|
2471
|
+
"mask-b-to": g()
|
|
2472
2472
|
}],
|
|
2473
2473
|
"mask-image-l-from-pos": [{
|
|
2474
|
-
"mask-l-from":
|
|
2474
|
+
"mask-l-from": P()
|
|
2475
2475
|
}],
|
|
2476
2476
|
"mask-image-l-to-pos": [{
|
|
2477
|
-
"mask-l-to":
|
|
2477
|
+
"mask-l-to": P()
|
|
2478
2478
|
}],
|
|
2479
2479
|
"mask-image-l-from-color": [{
|
|
2480
|
-
"mask-l-from":
|
|
2480
|
+
"mask-l-from": g()
|
|
2481
2481
|
}],
|
|
2482
2482
|
"mask-image-l-to-color": [{
|
|
2483
|
-
"mask-l-to":
|
|
2483
|
+
"mask-l-to": g()
|
|
2484
2484
|
}],
|
|
2485
2485
|
"mask-image-x-from-pos": [{
|
|
2486
|
-
"mask-x-from":
|
|
2486
|
+
"mask-x-from": P()
|
|
2487
2487
|
}],
|
|
2488
2488
|
"mask-image-x-to-pos": [{
|
|
2489
|
-
"mask-x-to":
|
|
2489
|
+
"mask-x-to": P()
|
|
2490
2490
|
}],
|
|
2491
2491
|
"mask-image-x-from-color": [{
|
|
2492
|
-
"mask-x-from":
|
|
2492
|
+
"mask-x-from": g()
|
|
2493
2493
|
}],
|
|
2494
2494
|
"mask-image-x-to-color": [{
|
|
2495
|
-
"mask-x-to":
|
|
2495
|
+
"mask-x-to": g()
|
|
2496
2496
|
}],
|
|
2497
2497
|
"mask-image-y-from-pos": [{
|
|
2498
|
-
"mask-y-from":
|
|
2498
|
+
"mask-y-from": P()
|
|
2499
2499
|
}],
|
|
2500
2500
|
"mask-image-y-to-pos": [{
|
|
2501
|
-
"mask-y-to":
|
|
2501
|
+
"mask-y-to": P()
|
|
2502
2502
|
}],
|
|
2503
2503
|
"mask-image-y-from-color": [{
|
|
2504
|
-
"mask-y-from":
|
|
2504
|
+
"mask-y-from": g()
|
|
2505
2505
|
}],
|
|
2506
2506
|
"mask-image-y-to-color": [{
|
|
2507
|
-
"mask-y-to":
|
|
2507
|
+
"mask-y-to": g()
|
|
2508
2508
|
}],
|
|
2509
2509
|
"mask-image-radial": [{
|
|
2510
2510
|
"mask-radial": [d, c]
|
|
2511
2511
|
}],
|
|
2512
2512
|
"mask-image-radial-from-pos": [{
|
|
2513
|
-
"mask-radial-from":
|
|
2513
|
+
"mask-radial-from": P()
|
|
2514
2514
|
}],
|
|
2515
2515
|
"mask-image-radial-to-pos": [{
|
|
2516
|
-
"mask-radial-to":
|
|
2516
|
+
"mask-radial-to": P()
|
|
2517
2517
|
}],
|
|
2518
2518
|
"mask-image-radial-from-color": [{
|
|
2519
|
-
"mask-radial-from":
|
|
2519
|
+
"mask-radial-from": g()
|
|
2520
2520
|
}],
|
|
2521
2521
|
"mask-image-radial-to-color": [{
|
|
2522
|
-
"mask-radial-to":
|
|
2522
|
+
"mask-radial-to": g()
|
|
2523
2523
|
}],
|
|
2524
2524
|
"mask-image-radial-shape": [{
|
|
2525
2525
|
"mask-radial": ["circle", "ellipse"]
|
|
@@ -2531,22 +2531,22 @@ const N = (e) => {
|
|
|
2531
2531
|
}]
|
|
2532
2532
|
}],
|
|
2533
2533
|
"mask-image-radial-pos": [{
|
|
2534
|
-
"mask-radial-at":
|
|
2534
|
+
"mask-radial-at": _()
|
|
2535
2535
|
}],
|
|
2536
2536
|
"mask-image-conic-pos": [{
|
|
2537
2537
|
"mask-conic": [v]
|
|
2538
2538
|
}],
|
|
2539
2539
|
"mask-image-conic-from-pos": [{
|
|
2540
|
-
"mask-conic-from":
|
|
2540
|
+
"mask-conic-from": P()
|
|
2541
2541
|
}],
|
|
2542
2542
|
"mask-image-conic-to-pos": [{
|
|
2543
|
-
"mask-conic-to":
|
|
2543
|
+
"mask-conic-to": P()
|
|
2544
2544
|
}],
|
|
2545
2545
|
"mask-image-conic-from-color": [{
|
|
2546
|
-
"mask-conic-from":
|
|
2546
|
+
"mask-conic-from": g()
|
|
2547
2547
|
}],
|
|
2548
2548
|
"mask-image-conic-to-color": [{
|
|
2549
|
-
"mask-conic-to":
|
|
2549
|
+
"mask-conic-to": g()
|
|
2550
2550
|
}],
|
|
2551
2551
|
/**
|
|
2552
2552
|
* Mask Mode
|
|
@@ -2567,21 +2567,21 @@ const N = (e) => {
|
|
|
2567
2567
|
* @see https://tailwindcss.com/docs/mask-position
|
|
2568
2568
|
*/
|
|
2569
2569
|
"mask-position": [{
|
|
2570
|
-
mask:
|
|
2570
|
+
mask: Oe()
|
|
2571
2571
|
}],
|
|
2572
2572
|
/**
|
|
2573
2573
|
* Mask Repeat
|
|
2574
2574
|
* @see https://tailwindcss.com/docs/mask-repeat
|
|
2575
2575
|
*/
|
|
2576
2576
|
"mask-repeat": [{
|
|
2577
|
-
mask:
|
|
2577
|
+
mask: Le()
|
|
2578
2578
|
}],
|
|
2579
2579
|
/**
|
|
2580
2580
|
* Mask Size
|
|
2581
2581
|
* @see https://tailwindcss.com/docs/mask-size
|
|
2582
2582
|
*/
|
|
2583
2583
|
"mask-size": [{
|
|
2584
|
-
mask:
|
|
2584
|
+
mask: $e()
|
|
2585
2585
|
}],
|
|
2586
2586
|
/**
|
|
2587
2587
|
* Mask Type
|
|
@@ -2618,7 +2618,7 @@ const N = (e) => {
|
|
|
2618
2618
|
* @see https://tailwindcss.com/docs/blur
|
|
2619
2619
|
*/
|
|
2620
2620
|
blur: [{
|
|
2621
|
-
blur:
|
|
2621
|
+
blur: De()
|
|
2622
2622
|
}],
|
|
2623
2623
|
/**
|
|
2624
2624
|
* Brightness
|
|
@@ -2645,7 +2645,7 @@ const N = (e) => {
|
|
|
2645
2645
|
"none",
|
|
2646
2646
|
w,
|
|
2647
2647
|
se,
|
|
2648
|
-
|
|
2648
|
+
ae
|
|
2649
2649
|
]
|
|
2650
2650
|
}],
|
|
2651
2651
|
/**
|
|
@@ -2653,7 +2653,7 @@ const N = (e) => {
|
|
|
2653
2653
|
* @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
|
|
2654
2654
|
*/
|
|
2655
2655
|
"drop-shadow-color": [{
|
|
2656
|
-
"drop-shadow":
|
|
2656
|
+
"drop-shadow": g()
|
|
2657
2657
|
}],
|
|
2658
2658
|
/**
|
|
2659
2659
|
* Grayscale
|
|
@@ -2708,7 +2708,7 @@ const N = (e) => {
|
|
|
2708
2708
|
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
2709
2709
|
*/
|
|
2710
2710
|
"backdrop-blur": [{
|
|
2711
|
-
"backdrop-blur":
|
|
2711
|
+
"backdrop-blur": De()
|
|
2712
2712
|
}],
|
|
2713
2713
|
/**
|
|
2714
2714
|
* Backdrop Brightness
|
|
@@ -2781,21 +2781,21 @@ const N = (e) => {
|
|
|
2781
2781
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2782
2782
|
*/
|
|
2783
2783
|
"border-spacing": [{
|
|
2784
|
-
"border-spacing":
|
|
2784
|
+
"border-spacing": b()
|
|
2785
2785
|
}],
|
|
2786
2786
|
/**
|
|
2787
2787
|
* Border Spacing X
|
|
2788
2788
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2789
2789
|
*/
|
|
2790
2790
|
"border-spacing-x": [{
|
|
2791
|
-
"border-spacing-x":
|
|
2791
|
+
"border-spacing-x": b()
|
|
2792
2792
|
}],
|
|
2793
2793
|
/**
|
|
2794
2794
|
* Border Spacing Y
|
|
2795
2795
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2796
2796
|
*/
|
|
2797
2797
|
"border-spacing-y": [{
|
|
2798
|
-
"border-spacing-y":
|
|
2798
|
+
"border-spacing-y": b()
|
|
2799
2799
|
}],
|
|
2800
2800
|
/**
|
|
2801
2801
|
* Table Layout
|
|
@@ -2885,28 +2885,28 @@ const N = (e) => {
|
|
|
2885
2885
|
* @see https://tailwindcss.com/docs/rotate
|
|
2886
2886
|
*/
|
|
2887
2887
|
rotate: [{
|
|
2888
|
-
rotate:
|
|
2888
|
+
rotate: te()
|
|
2889
2889
|
}],
|
|
2890
2890
|
/**
|
|
2891
2891
|
* Rotate X
|
|
2892
2892
|
* @see https://tailwindcss.com/docs/rotate
|
|
2893
2893
|
*/
|
|
2894
2894
|
"rotate-x": [{
|
|
2895
|
-
"rotate-x":
|
|
2895
|
+
"rotate-x": te()
|
|
2896
2896
|
}],
|
|
2897
2897
|
/**
|
|
2898
2898
|
* Rotate Y
|
|
2899
2899
|
* @see https://tailwindcss.com/docs/rotate
|
|
2900
2900
|
*/
|
|
2901
2901
|
"rotate-y": [{
|
|
2902
|
-
"rotate-y":
|
|
2902
|
+
"rotate-y": te()
|
|
2903
2903
|
}],
|
|
2904
2904
|
/**
|
|
2905
2905
|
* Rotate Z
|
|
2906
2906
|
* @see https://tailwindcss.com/docs/rotate
|
|
2907
2907
|
*/
|
|
2908
2908
|
"rotate-z": [{
|
|
2909
|
-
"rotate-z":
|
|
2909
|
+
"rotate-z": te()
|
|
2910
2910
|
}],
|
|
2911
2911
|
/**
|
|
2912
2912
|
* Scale
|
|
@@ -2988,28 +2988,28 @@ const N = (e) => {
|
|
|
2988
2988
|
* @see https://tailwindcss.com/docs/translate
|
|
2989
2989
|
*/
|
|
2990
2990
|
translate: [{
|
|
2991
|
-
translate:
|
|
2991
|
+
translate: re()
|
|
2992
2992
|
}],
|
|
2993
2993
|
/**
|
|
2994
2994
|
* Translate X
|
|
2995
2995
|
* @see https://tailwindcss.com/docs/translate
|
|
2996
2996
|
*/
|
|
2997
2997
|
"translate-x": [{
|
|
2998
|
-
"translate-x":
|
|
2998
|
+
"translate-x": re()
|
|
2999
2999
|
}],
|
|
3000
3000
|
/**
|
|
3001
3001
|
* Translate Y
|
|
3002
3002
|
* @see https://tailwindcss.com/docs/translate
|
|
3003
3003
|
*/
|
|
3004
3004
|
"translate-y": [{
|
|
3005
|
-
"translate-y":
|
|
3005
|
+
"translate-y": re()
|
|
3006
3006
|
}],
|
|
3007
3007
|
/**
|
|
3008
3008
|
* Translate Z
|
|
3009
3009
|
* @see https://tailwindcss.com/docs/translate
|
|
3010
3010
|
*/
|
|
3011
3011
|
"translate-z": [{
|
|
3012
|
-
"translate-z":
|
|
3012
|
+
"translate-z": re()
|
|
3013
3013
|
}],
|
|
3014
3014
|
/**
|
|
3015
3015
|
* Translate None
|
|
@@ -3024,7 +3024,7 @@ const N = (e) => {
|
|
|
3024
3024
|
* @see https://tailwindcss.com/docs/accent-color
|
|
3025
3025
|
*/
|
|
3026
3026
|
accent: [{
|
|
3027
|
-
accent:
|
|
3027
|
+
accent: g()
|
|
3028
3028
|
}],
|
|
3029
3029
|
/**
|
|
3030
3030
|
* Appearance
|
|
@@ -3038,7 +3038,7 @@ const N = (e) => {
|
|
|
3038
3038
|
* @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
|
|
3039
3039
|
*/
|
|
3040
3040
|
"caret-color": [{
|
|
3041
|
-
caret:
|
|
3041
|
+
caret: g()
|
|
3042
3042
|
}],
|
|
3043
3043
|
/**
|
|
3044
3044
|
* Color Scheme
|
|
@@ -3087,126 +3087,126 @@ const N = (e) => {
|
|
|
3087
3087
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3088
3088
|
*/
|
|
3089
3089
|
"scroll-m": [{
|
|
3090
|
-
"scroll-m":
|
|
3090
|
+
"scroll-m": b()
|
|
3091
3091
|
}],
|
|
3092
3092
|
/**
|
|
3093
3093
|
* Scroll Margin X
|
|
3094
3094
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3095
3095
|
*/
|
|
3096
3096
|
"scroll-mx": [{
|
|
3097
|
-
"scroll-mx":
|
|
3097
|
+
"scroll-mx": b()
|
|
3098
3098
|
}],
|
|
3099
3099
|
/**
|
|
3100
3100
|
* Scroll Margin Y
|
|
3101
3101
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3102
3102
|
*/
|
|
3103
3103
|
"scroll-my": [{
|
|
3104
|
-
"scroll-my":
|
|
3104
|
+
"scroll-my": b()
|
|
3105
3105
|
}],
|
|
3106
3106
|
/**
|
|
3107
3107
|
* Scroll Margin Start
|
|
3108
3108
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3109
3109
|
*/
|
|
3110
3110
|
"scroll-ms": [{
|
|
3111
|
-
"scroll-ms":
|
|
3111
|
+
"scroll-ms": b()
|
|
3112
3112
|
}],
|
|
3113
3113
|
/**
|
|
3114
3114
|
* Scroll Margin End
|
|
3115
3115
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3116
3116
|
*/
|
|
3117
3117
|
"scroll-me": [{
|
|
3118
|
-
"scroll-me":
|
|
3118
|
+
"scroll-me": b()
|
|
3119
3119
|
}],
|
|
3120
3120
|
/**
|
|
3121
3121
|
* Scroll Margin Top
|
|
3122
3122
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3123
3123
|
*/
|
|
3124
3124
|
"scroll-mt": [{
|
|
3125
|
-
"scroll-mt":
|
|
3125
|
+
"scroll-mt": b()
|
|
3126
3126
|
}],
|
|
3127
3127
|
/**
|
|
3128
3128
|
* Scroll Margin Right
|
|
3129
3129
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3130
3130
|
*/
|
|
3131
3131
|
"scroll-mr": [{
|
|
3132
|
-
"scroll-mr":
|
|
3132
|
+
"scroll-mr": b()
|
|
3133
3133
|
}],
|
|
3134
3134
|
/**
|
|
3135
3135
|
* Scroll Margin Bottom
|
|
3136
3136
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3137
3137
|
*/
|
|
3138
3138
|
"scroll-mb": [{
|
|
3139
|
-
"scroll-mb":
|
|
3139
|
+
"scroll-mb": b()
|
|
3140
3140
|
}],
|
|
3141
3141
|
/**
|
|
3142
3142
|
* Scroll Margin Left
|
|
3143
3143
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
3144
3144
|
*/
|
|
3145
3145
|
"scroll-ml": [{
|
|
3146
|
-
"scroll-ml":
|
|
3146
|
+
"scroll-ml": b()
|
|
3147
3147
|
}],
|
|
3148
3148
|
/**
|
|
3149
3149
|
* Scroll Padding
|
|
3150
3150
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3151
3151
|
*/
|
|
3152
3152
|
"scroll-p": [{
|
|
3153
|
-
"scroll-p":
|
|
3153
|
+
"scroll-p": b()
|
|
3154
3154
|
}],
|
|
3155
3155
|
/**
|
|
3156
3156
|
* Scroll Padding X
|
|
3157
3157
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3158
3158
|
*/
|
|
3159
3159
|
"scroll-px": [{
|
|
3160
|
-
"scroll-px":
|
|
3160
|
+
"scroll-px": b()
|
|
3161
3161
|
}],
|
|
3162
3162
|
/**
|
|
3163
3163
|
* Scroll Padding Y
|
|
3164
3164
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3165
3165
|
*/
|
|
3166
3166
|
"scroll-py": [{
|
|
3167
|
-
"scroll-py":
|
|
3167
|
+
"scroll-py": b()
|
|
3168
3168
|
}],
|
|
3169
3169
|
/**
|
|
3170
3170
|
* Scroll Padding Start
|
|
3171
3171
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3172
3172
|
*/
|
|
3173
3173
|
"scroll-ps": [{
|
|
3174
|
-
"scroll-ps":
|
|
3174
|
+
"scroll-ps": b()
|
|
3175
3175
|
}],
|
|
3176
3176
|
/**
|
|
3177
3177
|
* Scroll Padding End
|
|
3178
3178
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3179
3179
|
*/
|
|
3180
3180
|
"scroll-pe": [{
|
|
3181
|
-
"scroll-pe":
|
|
3181
|
+
"scroll-pe": b()
|
|
3182
3182
|
}],
|
|
3183
3183
|
/**
|
|
3184
3184
|
* Scroll Padding Top
|
|
3185
3185
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3186
3186
|
*/
|
|
3187
3187
|
"scroll-pt": [{
|
|
3188
|
-
"scroll-pt":
|
|
3188
|
+
"scroll-pt": b()
|
|
3189
3189
|
}],
|
|
3190
3190
|
/**
|
|
3191
3191
|
* Scroll Padding Right
|
|
3192
3192
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3193
3193
|
*/
|
|
3194
3194
|
"scroll-pr": [{
|
|
3195
|
-
"scroll-pr":
|
|
3195
|
+
"scroll-pr": b()
|
|
3196
3196
|
}],
|
|
3197
3197
|
/**
|
|
3198
3198
|
* Scroll Padding Bottom
|
|
3199
3199
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3200
3200
|
*/
|
|
3201
3201
|
"scroll-pb": [{
|
|
3202
|
-
"scroll-pb":
|
|
3202
|
+
"scroll-pb": b()
|
|
3203
3203
|
}],
|
|
3204
3204
|
/**
|
|
3205
3205
|
* Scroll Padding Left
|
|
3206
3206
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
3207
3207
|
*/
|
|
3208
3208
|
"scroll-pl": [{
|
|
3209
|
-
"scroll-pl":
|
|
3209
|
+
"scroll-pl": b()
|
|
3210
3210
|
}],
|
|
3211
3211
|
/**
|
|
3212
3212
|
* Scroll Snap Align
|
|
@@ -3284,21 +3284,21 @@ const N = (e) => {
|
|
|
3284
3284
|
* @see https://tailwindcss.com/docs/fill
|
|
3285
3285
|
*/
|
|
3286
3286
|
fill: [{
|
|
3287
|
-
fill: ["none", ...
|
|
3287
|
+
fill: ["none", ...g()]
|
|
3288
3288
|
}],
|
|
3289
3289
|
/**
|
|
3290
3290
|
* Stroke Width
|
|
3291
3291
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
3292
3292
|
*/
|
|
3293
3293
|
"stroke-w": [{
|
|
3294
|
-
stroke: [v,
|
|
3294
|
+
stroke: [v, Z, F, ge]
|
|
3295
3295
|
}],
|
|
3296
3296
|
/**
|
|
3297
3297
|
* Stroke
|
|
3298
3298
|
* @see https://tailwindcss.com/docs/stroke
|
|
3299
3299
|
*/
|
|
3300
3300
|
stroke: [{
|
|
3301
|
-
stroke: ["none", ...
|
|
3301
|
+
stroke: ["none", ...g()]
|
|
3302
3302
|
}],
|
|
3303
3303
|
// ---------------------
|
|
3304
3304
|
// --- Accessibility ---
|
|
@@ -3366,55 +3366,55 @@ const N = (e) => {
|
|
|
3366
3366
|
},
|
|
3367
3367
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
3368
3368
|
};
|
|
3369
|
-
},
|
|
3370
|
-
function
|
|
3371
|
-
return
|
|
3369
|
+
}, Jo = /* @__PURE__ */ Mo(Xo);
|
|
3370
|
+
function M(...e) {
|
|
3371
|
+
return Jo(ho(e));
|
|
3372
3372
|
}
|
|
3373
|
-
function
|
|
3373
|
+
function Yo({ children: e, className: t, ...o }) {
|
|
3374
3374
|
const { colorScheme: r } = Me();
|
|
3375
|
-
return /* @__PURE__ */
|
|
3376
|
-
|
|
3375
|
+
return /* @__PURE__ */ u(
|
|
3376
|
+
mo,
|
|
3377
3377
|
{
|
|
3378
|
-
className:
|
|
3378
|
+
className: M(
|
|
3379
3379
|
"focus:outline-2 has-[:focus-visible]:ring-2 has-[:focus-visible]:ring-[var(--accordion-focus,hsl(var(--primary)))] has-[:focus-visible]:ring-offset-4",
|
|
3380
3380
|
{
|
|
3381
3381
|
light: "ring-offset-[var(--acordion-light-offset,hsl(var(--background)))]",
|
|
3382
3382
|
dark: "ring-offset-[var(--acordion-dark-offset,hsl(var(--foreground)))]"
|
|
3383
3383
|
}[r],
|
|
3384
|
-
|
|
3384
|
+
t
|
|
3385
3385
|
),
|
|
3386
3386
|
"data-slot": "accordion-item",
|
|
3387
|
-
...
|
|
3387
|
+
...o,
|
|
3388
3388
|
children: e
|
|
3389
3389
|
}
|
|
3390
3390
|
);
|
|
3391
3391
|
}
|
|
3392
|
-
function
|
|
3393
|
-
return /* @__PURE__ */
|
|
3392
|
+
function Qo({ ...e }) {
|
|
3393
|
+
return /* @__PURE__ */ u(fo, { "data-slot": "accordion-root", ...e });
|
|
3394
3394
|
}
|
|
3395
|
-
function
|
|
3396
|
-
const { colorScheme: r } = Me(), [n,
|
|
3397
|
-
return
|
|
3398
|
-
|
|
3399
|
-
}, []), /* @__PURE__ */
|
|
3400
|
-
|
|
3395
|
+
function er({ children: e, className: t, ...o }) {
|
|
3396
|
+
const { colorScheme: r } = Me(), [n, a] = St(!1);
|
|
3397
|
+
return _t(() => {
|
|
3398
|
+
a(!0);
|
|
3399
|
+
}, []), /* @__PURE__ */ u(
|
|
3400
|
+
bo,
|
|
3401
3401
|
{
|
|
3402
|
-
className:
|
|
3402
|
+
className: M(
|
|
3403
3403
|
"overflow-hidden",
|
|
3404
3404
|
// We need to delay the animation until the component is mounted to avoid the animation from being triggered when the component is first rendered.
|
|
3405
3405
|
n && "data-[state=closed]:animate-collapse data-[state=open]:animate-expand"
|
|
3406
3406
|
),
|
|
3407
|
-
...
|
|
3408
|
-
children: /* @__PURE__ */
|
|
3407
|
+
...o,
|
|
3408
|
+
children: /* @__PURE__ */ u(
|
|
3409
3409
|
"div",
|
|
3410
3410
|
{
|
|
3411
|
-
className:
|
|
3411
|
+
className: M(
|
|
3412
3412
|
"py-3 text-base font-light leading-normal [font-family:var(--accordion-content-font-family,var(--font-family-body))]",
|
|
3413
3413
|
{
|
|
3414
3414
|
light: "text-[var(--accordion-light-content-text,hsl(var(--foreground)))]",
|
|
3415
3415
|
dark: "text-[var(--accordion-dark-content-text,hsl(var(--background)))]"
|
|
3416
3416
|
}[r],
|
|
3417
|
-
|
|
3417
|
+
t
|
|
3418
3418
|
),
|
|
3419
3419
|
"data-slot": "accordion-content",
|
|
3420
3420
|
children: e
|
|
@@ -3423,22 +3423,22 @@ function Kt({ children: e, className: o, ...t }) {
|
|
|
3423
3423
|
}
|
|
3424
3424
|
);
|
|
3425
3425
|
}
|
|
3426
|
-
function
|
|
3426
|
+
function tr({ children: e, className: t, ...o }) {
|
|
3427
3427
|
const { colorScheme: r } = Me();
|
|
3428
|
-
return /* @__PURE__ */
|
|
3429
|
-
|
|
3428
|
+
return /* @__PURE__ */ u(po, { children: /* @__PURE__ */ W(
|
|
3429
|
+
go,
|
|
3430
3430
|
{
|
|
3431
|
-
className:
|
|
3431
|
+
className: M(
|
|
3432
3432
|
"group flex w-full cursor-pointer items-start gap-8 border-none py-3 text-start focus:outline-none @md:py-4",
|
|
3433
|
-
|
|
3433
|
+
t
|
|
3434
3434
|
),
|
|
3435
3435
|
"data-slot": "accordion-trigger",
|
|
3436
|
-
...
|
|
3436
|
+
...o,
|
|
3437
3437
|
children: [
|
|
3438
|
-
/* @__PURE__ */
|
|
3438
|
+
/* @__PURE__ */ u(
|
|
3439
3439
|
"div",
|
|
3440
3440
|
{
|
|
3441
|
-
className:
|
|
3441
|
+
className: M(
|
|
3442
3442
|
"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))]",
|
|
3443
3443
|
{
|
|
3444
3444
|
light: "text-[var(--accordion-light-title-text,hsl(var(--contrast-400)))] group-hover:text-[var(--accordion-light-title-text-hover,hsl(var(--foreground)))]",
|
|
@@ -3448,10 +3448,10 @@ function Jt({ children: e, className: o, ...t }) {
|
|
|
3448
3448
|
children: e
|
|
3449
3449
|
}
|
|
3450
3450
|
),
|
|
3451
|
-
/* @__PURE__ */
|
|
3451
|
+
/* @__PURE__ */ W(
|
|
3452
3452
|
"svg",
|
|
3453
3453
|
{
|
|
3454
|
-
className:
|
|
3454
|
+
className: M(
|
|
3455
3455
|
"mt-1 shrink-0 [&>line]:origin-center [&>line]:transition [&>line]:duration-300 [&>line]:ease-out",
|
|
3456
3456
|
{
|
|
3457
3457
|
light: "stroke-[var(--accordion-light-title-icon,hsl(var(--contrast-500)))] group-hover:stroke-[var(--accordion-light-title-icon-hover,hsl(var(--foreground)))]",
|
|
@@ -3462,7 +3462,7 @@ function Jt({ children: e, className: o, ...t }) {
|
|
|
3462
3462
|
viewBox: "0 0 10 10",
|
|
3463
3463
|
width: 16,
|
|
3464
3464
|
children: [
|
|
3465
|
-
/* @__PURE__ */
|
|
3465
|
+
/* @__PURE__ */ u(
|
|
3466
3466
|
"line",
|
|
3467
3467
|
{
|
|
3468
3468
|
className: "group-data-[state=open]:-translate-y-[3px] group-data-[state=open]:-rotate-90",
|
|
@@ -3473,7 +3473,7 @@ function Jt({ children: e, className: o, ...t }) {
|
|
|
3473
3473
|
y2: 5
|
|
3474
3474
|
}
|
|
3475
3475
|
),
|
|
3476
|
-
/* @__PURE__ */
|
|
3476
|
+
/* @__PURE__ */ u(
|
|
3477
3477
|
"line",
|
|
3478
3478
|
{
|
|
3479
3479
|
className: "group-data-[state=open]:-translate-y-[3px] group-data-[state=open]:rotate-90",
|
|
@@ -3491,17 +3491,350 @@ function Jt({ children: e, className: o, ...t }) {
|
|
|
3491
3491
|
}
|
|
3492
3492
|
) });
|
|
3493
3493
|
}
|
|
3494
|
-
const
|
|
3495
|
-
function
|
|
3496
|
-
return /* @__PURE__ */
|
|
3494
|
+
const At = Pt(void 0);
|
|
3495
|
+
function or({ children: e, colorScheme: t = "light" }) {
|
|
3496
|
+
return /* @__PURE__ */ u(At, { value: { colorScheme: t }, children: e });
|
|
3497
3497
|
}
|
|
3498
3498
|
function Me() {
|
|
3499
|
-
const e =
|
|
3499
|
+
const e = Mt(At);
|
|
3500
3500
|
if (e === void 0)
|
|
3501
3501
|
throw new Error("useAccordionContext must be used within an AccordionProvider");
|
|
3502
3502
|
return e;
|
|
3503
3503
|
}
|
|
3504
|
+
function Cr({ variant: e, message: t, description: o, action: r, dismiss: n }) {
|
|
3505
|
+
return /* @__PURE__ */ W(rr, { variant: e, children: [
|
|
3506
|
+
/* @__PURE__ */ W(nr, { children: [
|
|
3507
|
+
/* @__PURE__ */ u(ar, { children: t }),
|
|
3508
|
+
o != null && /* @__PURE__ */ u(sr, { children: o })
|
|
3509
|
+
] }),
|
|
3510
|
+
/* @__PURE__ */ W(ir, { children: [
|
|
3511
|
+
r && /* @__PURE__ */ u(hr, { onClick: r.onClick, children: r.label }),
|
|
3512
|
+
/* @__PURE__ */ u(vr, { "aria-label": n.label, onClick: n.onClick })
|
|
3513
|
+
] })
|
|
3514
|
+
] });
|
|
3515
|
+
}
|
|
3516
|
+
function rr({ variant: e, className: t, children: o, ...r }) {
|
|
3517
|
+
return /* @__PURE__ */ u(
|
|
3518
|
+
"div",
|
|
3519
|
+
{
|
|
3520
|
+
className: M(
|
|
3521
|
+
"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",
|
|
3522
|
+
{
|
|
3523
|
+
success: "bg-[var(--alert-success-background,color-mix(in_oklab,hsl(var(--success)),white_75%))]",
|
|
3524
|
+
warning: "bg-[var(--alert-warning-background,color-mix(in_oklab,hsl(var(--warning)),white_75%))]",
|
|
3525
|
+
error: "bg-[var(--alert-error-background,color-mix(in_oklab,hsl(var(--error)),white_75%))]",
|
|
3526
|
+
info: "bg-[var(--alert-info-background,hsl(var(--background)))]"
|
|
3527
|
+
}[e],
|
|
3528
|
+
t
|
|
3529
|
+
),
|
|
3530
|
+
"data-slot": "alert-root",
|
|
3531
|
+
role: "alert",
|
|
3532
|
+
...r,
|
|
3533
|
+
children: o
|
|
3534
|
+
}
|
|
3535
|
+
);
|
|
3536
|
+
}
|
|
3537
|
+
function nr({ children: e, className: t, ...o }) {
|
|
3538
|
+
return /* @__PURE__ */ u(
|
|
3539
|
+
"div",
|
|
3540
|
+
{
|
|
3541
|
+
className: M("[font-family:var(--alert-font-family,var(--font-family-body))]", t),
|
|
3542
|
+
"data-slot": "alert-header",
|
|
3543
|
+
...o,
|
|
3544
|
+
children: e
|
|
3545
|
+
}
|
|
3546
|
+
);
|
|
3547
|
+
}
|
|
3548
|
+
function ar({ children: e, className: t, ...o }) {
|
|
3549
|
+
return /* @__PURE__ */ u(
|
|
3550
|
+
"h5",
|
|
3551
|
+
{
|
|
3552
|
+
className: M(
|
|
3553
|
+
"text-sm font-normal text-[var(--alert-message-text,hsl(var(--foreground)))]",
|
|
3554
|
+
t
|
|
3555
|
+
),
|
|
3556
|
+
"data-slot": "alert-title",
|
|
3557
|
+
...o,
|
|
3558
|
+
children: e
|
|
3559
|
+
}
|
|
3560
|
+
);
|
|
3561
|
+
}
|
|
3562
|
+
function sr({ children: e, className: t, ...o }) {
|
|
3563
|
+
return /* @__PURE__ */ u(
|
|
3564
|
+
"p",
|
|
3565
|
+
{
|
|
3566
|
+
className: M(
|
|
3567
|
+
"text-xs font-medium text-[color:var(--alert-description-text,color-mix(in_oklab,hsl(var(--foreground))_50%,transparent))]",
|
|
3568
|
+
t
|
|
3569
|
+
),
|
|
3570
|
+
"data-slot": "alert-description",
|
|
3571
|
+
...o,
|
|
3572
|
+
children: e
|
|
3573
|
+
}
|
|
3574
|
+
);
|
|
3575
|
+
}
|
|
3576
|
+
function ir({ children: e, className: t, ...o }) {
|
|
3577
|
+
return /* @__PURE__ */ u("div", { className: M("flex items-center gap-1", t), "data-slot": "alert-actions", ...o, children: e });
|
|
3578
|
+
}
|
|
3579
|
+
/**
|
|
3580
|
+
* @license lucide-react v0.545.0 - ISC
|
|
3581
|
+
*
|
|
3582
|
+
* This source code is licensed under the ISC license.
|
|
3583
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
3584
|
+
*/
|
|
3585
|
+
const lr = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), cr = (e) => e.replace(
|
|
3586
|
+
/^([A-Z])|[\s-_]+(\w)/g,
|
|
3587
|
+
(t, o, r) => r ? r.toUpperCase() : o.toLowerCase()
|
|
3588
|
+
), Be = (e) => {
|
|
3589
|
+
const t = cr(e);
|
|
3590
|
+
return t.charAt(0).toUpperCase() + t.slice(1);
|
|
3591
|
+
}, Rt = (...e) => e.filter((t, o, r) => !!t && t.trim() !== "" && r.indexOf(t) === o).join(" ").trim(), dr = (e) => {
|
|
3592
|
+
for (const t in e)
|
|
3593
|
+
if (t.startsWith("aria-") || t === "role" || t === "title")
|
|
3594
|
+
return !0;
|
|
3595
|
+
};
|
|
3596
|
+
/**
|
|
3597
|
+
* @license lucide-react v0.545.0 - ISC
|
|
3598
|
+
*
|
|
3599
|
+
* This source code is licensed under the ISC license.
|
|
3600
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
3601
|
+
*/
|
|
3602
|
+
var ur = {
|
|
3603
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3604
|
+
width: 24,
|
|
3605
|
+
height: 24,
|
|
3606
|
+
viewBox: "0 0 24 24",
|
|
3607
|
+
fill: "none",
|
|
3608
|
+
stroke: "currentColor",
|
|
3609
|
+
strokeWidth: 2,
|
|
3610
|
+
strokeLinecap: "round",
|
|
3611
|
+
strokeLinejoin: "round"
|
|
3612
|
+
};
|
|
3613
|
+
/**
|
|
3614
|
+
* @license lucide-react v0.545.0 - ISC
|
|
3615
|
+
*
|
|
3616
|
+
* This source code is licensed under the ISC license.
|
|
3617
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
3618
|
+
*/
|
|
3619
|
+
const fr = He(
|
|
3620
|
+
({
|
|
3621
|
+
color: e = "currentColor",
|
|
3622
|
+
size: t = 24,
|
|
3623
|
+
strokeWidth: o = 2,
|
|
3624
|
+
absoluteStrokeWidth: r,
|
|
3625
|
+
className: n = "",
|
|
3626
|
+
children: a,
|
|
3627
|
+
iconNode: s,
|
|
3628
|
+
...i
|
|
3629
|
+
}, l) => be(
|
|
3630
|
+
"svg",
|
|
3631
|
+
{
|
|
3632
|
+
ref: l,
|
|
3633
|
+
...ur,
|
|
3634
|
+
width: t,
|
|
3635
|
+
height: t,
|
|
3636
|
+
stroke: e,
|
|
3637
|
+
strokeWidth: r ? Number(o) * 24 / Number(t) : o,
|
|
3638
|
+
className: Rt("lucide", n),
|
|
3639
|
+
...!a && !dr(i) && { "aria-hidden": "true" },
|
|
3640
|
+
...i
|
|
3641
|
+
},
|
|
3642
|
+
[
|
|
3643
|
+
...s.map(([f, p]) => be(f, p)),
|
|
3644
|
+
...Array.isArray(a) ? a : [a]
|
|
3645
|
+
]
|
|
3646
|
+
)
|
|
3647
|
+
);
|
|
3648
|
+
/**
|
|
3649
|
+
* @license lucide-react v0.545.0 - ISC
|
|
3650
|
+
*
|
|
3651
|
+
* This source code is licensed under the ISC license.
|
|
3652
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
3653
|
+
*/
|
|
3654
|
+
const Nt = (e, t) => {
|
|
3655
|
+
const o = He(
|
|
3656
|
+
({ className: r, ...n }, a) => be(fr, {
|
|
3657
|
+
ref: a,
|
|
3658
|
+
iconNode: t,
|
|
3659
|
+
className: Rt(
|
|
3660
|
+
`lucide-${lr(Be(e))}`,
|
|
3661
|
+
`lucide-${e}`,
|
|
3662
|
+
r
|
|
3663
|
+
),
|
|
3664
|
+
...n
|
|
3665
|
+
})
|
|
3666
|
+
);
|
|
3667
|
+
return o.displayName = Be(e), o;
|
|
3668
|
+
};
|
|
3669
|
+
/**
|
|
3670
|
+
* @license lucide-react v0.545.0 - ISC
|
|
3671
|
+
*
|
|
3672
|
+
* This source code is licensed under the ISC license.
|
|
3673
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
3674
|
+
*/
|
|
3675
|
+
const mr = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]], pr = Nt("loader-circle", mr);
|
|
3676
|
+
/**
|
|
3677
|
+
* @license lucide-react v0.545.0 - ISC
|
|
3678
|
+
*
|
|
3679
|
+
* This source code is licensed under the ISC license.
|
|
3680
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
3681
|
+
*/
|
|
3682
|
+
const gr = [
|
|
3683
|
+
["path", { d: "M18 6 6 18", key: "1bl5f8" }],
|
|
3684
|
+
["path", { d: "m6 6 12 12", key: "d8bk6v" }]
|
|
3685
|
+
], br = Nt("x", gr);
|
|
3686
|
+
function It({
|
|
3687
|
+
variant: e = "primary",
|
|
3688
|
+
size: t = "large",
|
|
3689
|
+
shape: o = "pill",
|
|
3690
|
+
loading: r = !1,
|
|
3691
|
+
type: n = "button",
|
|
3692
|
+
disabled: a = !1,
|
|
3693
|
+
className: s,
|
|
3694
|
+
children: i,
|
|
3695
|
+
...l
|
|
3696
|
+
}) {
|
|
3697
|
+
return /* @__PURE__ */ W(
|
|
3698
|
+
"button",
|
|
3699
|
+
{
|
|
3700
|
+
"aria-busy": r,
|
|
3701
|
+
className: M(
|
|
3702
|
+
"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-body font-semibold leading-normal 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",
|
|
3703
|
+
{
|
|
3704
|
+
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",
|
|
3705
|
+
secondary: "border-[var(--button-secondary-border,hsl(var(--foreground)))] bg-[var(--button-secondary-background,hsl(var(--foreground)))] text-[var(--button-secondary-text,hsl(var(--background)))] after:bg-[var(--button-secondary-background-hover,hsl(var(--background)))] focus-visible:outline-offset-2",
|
|
3706
|
+
tertiary: "border-[var(--button-tertiary-border,hsl(var(--contrast-200)))] bg-[var(--button-tertiary-background,hsl(var(--background)))] text-[var(--button-tertiary-text,hsl(var(--foreground)))] after:bg-[var(--button-tertiary-background-hover,hsl(var(--contrast-100)))] focus-visible:outline-offset-2",
|
|
3707
|
+
ghost: "border-[var(--button-ghost-border,transparent)] bg-[var(--button-ghost-background,transparent)] text-[var(--button-ghost-text,hsl(var(--foreground)))] after:bg-[var(--button-ghost-background-hover,color-mix(in_oklab,hsl(var(--foreground))_5%,transparent))] focus-visible:outline-offset-0",
|
|
3708
|
+
danger: "border-[var(--button-danger-border,color-mix(in_oklab,hsl(var(--error)),white_30%))] bg-[var(--button-danger-background,color-mix(in_oklab,hsl(var(--error)),white_30%))] text-[var(--button-danger-text,hsl(var(--foreground)))] after:bg-[var(--button-danger-background-hover,color-mix(in_oklab,hsl(var(--error)),white_75%))] focus-visible:outline-offset-2"
|
|
3709
|
+
}[e],
|
|
3710
|
+
{
|
|
3711
|
+
pill: "rounded-full after:rounded-full",
|
|
3712
|
+
rounded: "rounded-lg after:rounded-lg",
|
|
3713
|
+
square: "rounded-none after:rounded-none",
|
|
3714
|
+
circle: "rounded-full after:rounded-full"
|
|
3715
|
+
}[o],
|
|
3716
|
+
!r && !a && "hover:after:translate-x-0",
|
|
3717
|
+
r && "pointer-events-none",
|
|
3718
|
+
s
|
|
3719
|
+
),
|
|
3720
|
+
"data-slot": "button",
|
|
3721
|
+
disabled: a,
|
|
3722
|
+
type: n,
|
|
3723
|
+
...l,
|
|
3724
|
+
children: [
|
|
3725
|
+
/* @__PURE__ */ u(
|
|
3726
|
+
"span",
|
|
3727
|
+
{
|
|
3728
|
+
className: M(
|
|
3729
|
+
"inline-flex items-center justify-center transition-all duration-300 ease-in-out",
|
|
3730
|
+
r ? "-translate-y-10 opacity-0" : "translate-y-0 opacity-100",
|
|
3731
|
+
o === "circle" && "aspect-square",
|
|
3732
|
+
{
|
|
3733
|
+
"x-small": "min-h-8 text-xs",
|
|
3734
|
+
small: "min-h-10 text-sm",
|
|
3735
|
+
medium: "min-h-12 text-base",
|
|
3736
|
+
large: "min-h-14 text-base"
|
|
3737
|
+
}[t],
|
|
3738
|
+
o !== "circle" && {
|
|
3739
|
+
"x-small": "gap-x-2 px-3 py-1.5",
|
|
3740
|
+
small: "gap-x-2 px-4 py-2.5",
|
|
3741
|
+
medium: "gap-x-2.5 px-5 py-3",
|
|
3742
|
+
large: "gap-x-3 px-6 py-4"
|
|
3743
|
+
}[t],
|
|
3744
|
+
e === "secondary" && "mix-blend-difference"
|
|
3745
|
+
),
|
|
3746
|
+
children: i
|
|
3747
|
+
}
|
|
3748
|
+
),
|
|
3749
|
+
/* @__PURE__ */ u(
|
|
3750
|
+
"span",
|
|
3751
|
+
{
|
|
3752
|
+
className: M(
|
|
3753
|
+
"absolute inset-0 grid place-content-center transition-all duration-300 ease-in-out",
|
|
3754
|
+
r ? "translate-y-0 opacity-100" : "translate-y-10 opacity-0"
|
|
3755
|
+
),
|
|
3756
|
+
children: /* @__PURE__ */ u(
|
|
3757
|
+
pr,
|
|
3758
|
+
{
|
|
3759
|
+
className: M(
|
|
3760
|
+
"animate-spin",
|
|
3761
|
+
e === "tertiary" && "text-[var(--button-loader-icon,hsl(var(--foreground)))]"
|
|
3762
|
+
)
|
|
3763
|
+
}
|
|
3764
|
+
)
|
|
3765
|
+
}
|
|
3766
|
+
)
|
|
3767
|
+
]
|
|
3768
|
+
}
|
|
3769
|
+
);
|
|
3770
|
+
}
|
|
3771
|
+
function hr({ children: e, ...t }) {
|
|
3772
|
+
return /* @__PURE__ */ u(It, { "data-slot": "alert-button", size: "x-small", variant: "ghost", ...t, children: e });
|
|
3773
|
+
}
|
|
3774
|
+
function vr({ ...e }) {
|
|
3775
|
+
return /* @__PURE__ */ u(It, { "data-slot": "alert-close-button", shape: "circle", size: "x-small", variant: "ghost", ...e, children: /* @__PURE__ */ u(br, { size: 20, strokeWidth: 1 }) });
|
|
3776
|
+
}
|
|
3777
|
+
function Ar({ className: e, children: t, ...o }) {
|
|
3778
|
+
return /* @__PURE__ */ u(
|
|
3779
|
+
"span",
|
|
3780
|
+
{
|
|
3781
|
+
className: M(
|
|
3782
|
+
"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]",
|
|
3783
|
+
e
|
|
3784
|
+
),
|
|
3785
|
+
...o,
|
|
3786
|
+
children: t
|
|
3787
|
+
}
|
|
3788
|
+
);
|
|
3789
|
+
}
|
|
3790
|
+
function Rr({
|
|
3791
|
+
children: e,
|
|
3792
|
+
shape: t = "rounded",
|
|
3793
|
+
className: o,
|
|
3794
|
+
variant: r = "primary",
|
|
3795
|
+
...n
|
|
3796
|
+
}) {
|
|
3797
|
+
return /* @__PURE__ */ u(
|
|
3798
|
+
"span",
|
|
3799
|
+
{
|
|
3800
|
+
className: M(
|
|
3801
|
+
"px-2 py-0.5 text-xs font-[var(--badge-font-family,var(--font-family-mono))] uppercase tracking-tighter text-[var(--badge-text,hsl(var(--foreground)))]",
|
|
3802
|
+
{
|
|
3803
|
+
pill: "rounded-full",
|
|
3804
|
+
rounded: "rounded"
|
|
3805
|
+
}[t],
|
|
3806
|
+
{
|
|
3807
|
+
primary: "bg-[var(--badge-primary-background,color-mix(in_oklab,hsl(var(--primary)),white_75%))]",
|
|
3808
|
+
warning: "bg-[var(--badge-warning-background,color-mix(in_oklab,hsl(var(--warning)),white_75%))]",
|
|
3809
|
+
error: "bg-[var(--badge-error-background,color-mix(in_oklab,hsl(var(--error)),white_75%))]",
|
|
3810
|
+
success: "bg-[var(--badge-success-background,color-mix(in_oklab,hsl(var(--success)),white_75%))]",
|
|
3811
|
+
info: "bg-[var(--badge-info-background,color-mix(in_oklab,hsl(var(--info)),white_75%))]"
|
|
3812
|
+
}[r],
|
|
3813
|
+
o
|
|
3814
|
+
),
|
|
3815
|
+
...n,
|
|
3816
|
+
children: e
|
|
3817
|
+
}
|
|
3818
|
+
);
|
|
3819
|
+
}
|
|
3504
3820
|
export {
|
|
3505
|
-
|
|
3821
|
+
kr as Accordion,
|
|
3822
|
+
er as AccordionContent,
|
|
3823
|
+
Yo as AccordionItem,
|
|
3824
|
+
or as AccordionProvider,
|
|
3825
|
+
Qo as AccordionRoot,
|
|
3826
|
+
tr as AccordionTrigger,
|
|
3827
|
+
Cr as Alert,
|
|
3828
|
+
ir as AlertActions,
|
|
3829
|
+
hr as AlertButton,
|
|
3830
|
+
vr as AlertCloseButton,
|
|
3831
|
+
sr as AlertDescription,
|
|
3832
|
+
nr as AlertHeader,
|
|
3833
|
+
rr as AlertRoot,
|
|
3834
|
+
ar as AlertTitle,
|
|
3835
|
+
Ar as AnimatedUnderline,
|
|
3836
|
+
Rr as Badge,
|
|
3837
|
+
It as Button,
|
|
3838
|
+
Me as useAccordionContext
|
|
3506
3839
|
};
|
|
3507
3840
|
//# sourceMappingURL=index.js.map
|