@possibly6400/ui-kit 1.0.8 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +476 -430
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,126 +1,126 @@
|
|
|
1
1
|
import { jsxs as x, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
function
|
|
2
|
+
import k, { useState as Ne, useId as We, useRef as Ze, createContext as Ue, useContext as He } from "react";
|
|
3
|
+
function ze(e) {
|
|
4
4
|
var r, o, t = "";
|
|
5
5
|
if (typeof e == "string" || typeof e == "number") t += e;
|
|
6
6
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
7
7
|
var s = e.length;
|
|
8
|
-
for (r = 0; r < s; r++) e[r] && (o =
|
|
8
|
+
for (r = 0; r < s; r++) e[r] && (o = ze(e[r])) && (t && (t += " "), t += o);
|
|
9
9
|
} else for (o in e) e[o] && (t && (t += " "), t += o);
|
|
10
10
|
return t;
|
|
11
11
|
}
|
|
12
|
-
function
|
|
13
|
-
for (var e, r, o = 0, t = "", s = arguments.length; o < s; o++) (e = arguments[o]) && (r =
|
|
12
|
+
function qe() {
|
|
13
|
+
for (var e, r, o = 0, t = "", s = arguments.length; o < s; o++) (e = arguments[o]) && (r = ze(e)) && (t && (t += " "), t += r);
|
|
14
14
|
return t;
|
|
15
15
|
}
|
|
16
|
-
const
|
|
16
|
+
const Ke = (e, r) => {
|
|
17
17
|
const o = new Array(e.length + r.length);
|
|
18
18
|
for (let t = 0; t < e.length; t++)
|
|
19
19
|
o[t] = e[t];
|
|
20
20
|
for (let t = 0; t < r.length; t++)
|
|
21
21
|
o[e.length + t] = r[t];
|
|
22
22
|
return o;
|
|
23
|
-
},
|
|
23
|
+
}, Ye = (e, r) => ({
|
|
24
24
|
classGroupId: e,
|
|
25
25
|
validator: r
|
|
26
|
-
}),
|
|
26
|
+
}), Se = (e = /* @__PURE__ */ new Map(), r = null, o) => ({
|
|
27
27
|
nextPart: e,
|
|
28
28
|
validators: r,
|
|
29
29
|
classGroupId: o
|
|
30
|
-
}),
|
|
31
|
-
const r =
|
|
30
|
+
}), oe = "-", we = [], Xe = "arbitrary..", Je = (e) => {
|
|
31
|
+
const r = et(e), {
|
|
32
32
|
conflictingClassGroups: o,
|
|
33
33
|
conflictingClassGroupModifiers: t
|
|
34
34
|
} = e;
|
|
35
35
|
return {
|
|
36
36
|
getClassGroupId: (n) => {
|
|
37
37
|
if (n.startsWith("[") && n.endsWith("]"))
|
|
38
|
-
return
|
|
39
|
-
const m = n.split(
|
|
40
|
-
return
|
|
38
|
+
return Qe(n);
|
|
39
|
+
const m = n.split(oe), l = m[0] === "" && m.length > 1 ? 1 : 0;
|
|
40
|
+
return Me(m, l, r);
|
|
41
41
|
},
|
|
42
42
|
getConflictingClassGroupIds: (n, m) => {
|
|
43
43
|
if (m) {
|
|
44
|
-
const
|
|
45
|
-
return
|
|
44
|
+
const l = t[n], u = o[n];
|
|
45
|
+
return l ? u ? Ke(u, l) : l : u || we;
|
|
46
46
|
}
|
|
47
|
-
return o[n] ||
|
|
47
|
+
return o[n] || we;
|
|
48
48
|
}
|
|
49
49
|
};
|
|
50
|
-
},
|
|
50
|
+
}, Me = (e, r, o) => {
|
|
51
51
|
if (e.length - r === 0)
|
|
52
52
|
return o.classGroupId;
|
|
53
|
-
const s = e[r],
|
|
54
|
-
if (
|
|
55
|
-
const u =
|
|
53
|
+
const s = e[r], i = o.nextPart.get(s);
|
|
54
|
+
if (i) {
|
|
55
|
+
const u = Me(e, r + 1, i);
|
|
56
56
|
if (u) return u;
|
|
57
57
|
}
|
|
58
58
|
const n = o.validators;
|
|
59
59
|
if (n === null)
|
|
60
60
|
return;
|
|
61
|
-
const m = r === 0 ? e.join(
|
|
62
|
-
for (let u = 0; u <
|
|
63
|
-
const
|
|
64
|
-
if (
|
|
65
|
-
return
|
|
61
|
+
const m = r === 0 ? e.join(oe) : e.slice(r).join(oe), l = n.length;
|
|
62
|
+
for (let u = 0; u < l; u++) {
|
|
63
|
+
const g = n[u];
|
|
64
|
+
if (g.validator(m))
|
|
65
|
+
return g.classGroupId;
|
|
66
66
|
}
|
|
67
|
-
},
|
|
67
|
+
}, Qe = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
|
|
68
68
|
const r = e.slice(1, -1), o = r.indexOf(":"), t = r.slice(0, o);
|
|
69
|
-
return t ?
|
|
70
|
-
})(),
|
|
69
|
+
return t ? Xe + t : void 0;
|
|
70
|
+
})(), et = (e) => {
|
|
71
71
|
const {
|
|
72
72
|
theme: r,
|
|
73
73
|
classGroups: o
|
|
74
74
|
} = e;
|
|
75
|
-
return
|
|
76
|
-
},
|
|
77
|
-
const o =
|
|
75
|
+
return tt(o, r);
|
|
76
|
+
}, tt = (e, r) => {
|
|
77
|
+
const o = Se();
|
|
78
78
|
for (const t in e) {
|
|
79
79
|
const s = e[t];
|
|
80
|
-
|
|
80
|
+
de(s, o, t, r);
|
|
81
81
|
}
|
|
82
82
|
return o;
|
|
83
|
-
},
|
|
83
|
+
}, de = (e, r, o, t) => {
|
|
84
84
|
const s = e.length;
|
|
85
|
-
for (let
|
|
86
|
-
const n = e[
|
|
87
|
-
|
|
85
|
+
for (let i = 0; i < s; i++) {
|
|
86
|
+
const n = e[i];
|
|
87
|
+
rt(n, r, o, t);
|
|
88
88
|
}
|
|
89
|
-
},
|
|
89
|
+
}, rt = (e, r, o, t) => {
|
|
90
90
|
if (typeof e == "string") {
|
|
91
|
-
|
|
91
|
+
ot(e, r, o);
|
|
92
92
|
return;
|
|
93
93
|
}
|
|
94
94
|
if (typeof e == "function") {
|
|
95
|
-
|
|
95
|
+
st(e, r, o, t);
|
|
96
96
|
return;
|
|
97
97
|
}
|
|
98
|
-
|
|
99
|
-
},
|
|
100
|
-
const t = e === "" ? r :
|
|
98
|
+
nt(e, r, o, t);
|
|
99
|
+
}, ot = (e, r, o) => {
|
|
100
|
+
const t = e === "" ? r : Ae(r, e);
|
|
101
101
|
t.classGroupId = o;
|
|
102
|
-
},
|
|
103
|
-
if (
|
|
104
|
-
|
|
102
|
+
}, st = (e, r, o, t) => {
|
|
103
|
+
if (at(e)) {
|
|
104
|
+
de(e(t), r, o, t);
|
|
105
105
|
return;
|
|
106
106
|
}
|
|
107
|
-
r.validators === null && (r.validators = []), r.validators.push(
|
|
108
|
-
},
|
|
109
|
-
const s = Object.entries(e),
|
|
110
|
-
for (let n = 0; n <
|
|
111
|
-
const [m,
|
|
112
|
-
|
|
107
|
+
r.validators === null && (r.validators = []), r.validators.push(Ye(o, e));
|
|
108
|
+
}, nt = (e, r, o, t) => {
|
|
109
|
+
const s = Object.entries(e), i = s.length;
|
|
110
|
+
for (let n = 0; n < i; n++) {
|
|
111
|
+
const [m, l] = s[n];
|
|
112
|
+
de(l, Ae(r, m), o, t);
|
|
113
113
|
}
|
|
114
|
-
},
|
|
114
|
+
}, Ae = (e, r) => {
|
|
115
115
|
let o = e;
|
|
116
|
-
const t = r.split(
|
|
117
|
-
for (let
|
|
118
|
-
const n = t[
|
|
116
|
+
const t = r.split(oe), s = t.length;
|
|
117
|
+
for (let i = 0; i < s; i++) {
|
|
118
|
+
const n = t[i];
|
|
119
119
|
let m = o.nextPart.get(n);
|
|
120
|
-
m || (m =
|
|
120
|
+
m || (m = Se(), o.nextPart.set(n, m)), o = m;
|
|
121
121
|
}
|
|
122
122
|
return o;
|
|
123
|
-
},
|
|
123
|
+
}, at = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, it = (e) => {
|
|
124
124
|
if (e < 1)
|
|
125
125
|
return {
|
|
126
126
|
get: () => {
|
|
@@ -129,41 +129,41 @@ const qe = (e, r) => {
|
|
|
129
129
|
}
|
|
130
130
|
};
|
|
131
131
|
let r = 0, o = /* @__PURE__ */ Object.create(null), t = /* @__PURE__ */ Object.create(null);
|
|
132
|
-
const s = (
|
|
133
|
-
o[
|
|
132
|
+
const s = (i, n) => {
|
|
133
|
+
o[i] = n, r++, r > e && (r = 0, t = o, o = /* @__PURE__ */ Object.create(null));
|
|
134
134
|
};
|
|
135
135
|
return {
|
|
136
|
-
get(
|
|
137
|
-
let n = o[
|
|
136
|
+
get(i) {
|
|
137
|
+
let n = o[i];
|
|
138
138
|
if (n !== void 0)
|
|
139
139
|
return n;
|
|
140
|
-
if ((n = t[
|
|
141
|
-
return s(
|
|
140
|
+
if ((n = t[i]) !== void 0)
|
|
141
|
+
return s(i, n), n;
|
|
142
142
|
},
|
|
143
|
-
set(
|
|
144
|
-
|
|
143
|
+
set(i, n) {
|
|
144
|
+
i in o ? o[i] = n : s(i, n);
|
|
145
145
|
}
|
|
146
146
|
};
|
|
147
|
-
},
|
|
147
|
+
}, ce = "!", ye = ":", lt = [], ve = (e, r, o, t, s) => ({
|
|
148
148
|
modifiers: e,
|
|
149
149
|
hasImportantModifier: r,
|
|
150
150
|
baseClassName: o,
|
|
151
151
|
maybePostfixModifierPosition: t,
|
|
152
152
|
isExternal: s
|
|
153
|
-
}),
|
|
153
|
+
}), ct = (e) => {
|
|
154
154
|
const {
|
|
155
155
|
prefix: r,
|
|
156
156
|
experimentalParseClassName: o
|
|
157
157
|
} = e;
|
|
158
158
|
let t = (s) => {
|
|
159
|
-
const
|
|
160
|
-
let n = 0, m = 0,
|
|
161
|
-
const
|
|
162
|
-
for (let M = 0; M <
|
|
159
|
+
const i = [];
|
|
160
|
+
let n = 0, m = 0, l = 0, u;
|
|
161
|
+
const g = s.length;
|
|
162
|
+
for (let M = 0; M < g; M++) {
|
|
163
163
|
const z = s[M];
|
|
164
164
|
if (n === 0 && m === 0) {
|
|
165
|
-
if (z ===
|
|
166
|
-
|
|
165
|
+
if (z === ye) {
|
|
166
|
+
i.push(s.slice(l, M)), l = M + 1;
|
|
167
167
|
continue;
|
|
168
168
|
}
|
|
169
169
|
if (z === "/") {
|
|
@@ -173,133 +173,133 @@ const qe = (e, r) => {
|
|
|
173
173
|
}
|
|
174
174
|
z === "[" ? n++ : z === "]" ? n-- : z === "(" ? m++ : z === ")" && m--;
|
|
175
175
|
}
|
|
176
|
-
const w =
|
|
176
|
+
const w = i.length === 0 ? s : s.slice(l);
|
|
177
177
|
let y = w, N = !1;
|
|
178
|
-
w.endsWith(
|
|
178
|
+
w.endsWith(ce) ? (y = w.slice(0, -1), N = !0) : (
|
|
179
179
|
/**
|
|
180
180
|
* In Tailwind CSS v3 the important modifier was at the start of the base class name. This is still supported for legacy reasons.
|
|
181
181
|
* @see https://github.com/dcastil/tailwind-merge/issues/513#issuecomment-2614029864
|
|
182
182
|
*/
|
|
183
|
-
w.startsWith(
|
|
183
|
+
w.startsWith(ce) && (y = w.slice(1), N = !0)
|
|
184
184
|
);
|
|
185
|
-
const v = u && u >
|
|
186
|
-
return
|
|
185
|
+
const v = u && u > l ? u - l : void 0;
|
|
186
|
+
return ve(i, N, y, v);
|
|
187
187
|
};
|
|
188
188
|
if (r) {
|
|
189
|
-
const s = r +
|
|
190
|
-
t = (n) => n.startsWith(s) ?
|
|
189
|
+
const s = r + ye, i = t;
|
|
190
|
+
t = (n) => n.startsWith(s) ? i(n.slice(s.length)) : ve(lt, !1, n, void 0, !0);
|
|
191
191
|
}
|
|
192
192
|
if (o) {
|
|
193
193
|
const s = t;
|
|
194
|
-
t = (
|
|
195
|
-
className:
|
|
194
|
+
t = (i) => o({
|
|
195
|
+
className: i,
|
|
196
196
|
parseClassName: s
|
|
197
197
|
});
|
|
198
198
|
}
|
|
199
199
|
return t;
|
|
200
|
-
},
|
|
200
|
+
}, dt = (e) => {
|
|
201
201
|
const r = /* @__PURE__ */ new Map();
|
|
202
202
|
return e.orderSensitiveModifiers.forEach((o, t) => {
|
|
203
203
|
r.set(o, 1e6 + t);
|
|
204
204
|
}), (o) => {
|
|
205
205
|
const t = [];
|
|
206
206
|
let s = [];
|
|
207
|
-
for (let
|
|
208
|
-
const n = o[
|
|
209
|
-
m ||
|
|
207
|
+
for (let i = 0; i < o.length; i++) {
|
|
208
|
+
const n = o[i], m = n[0] === "[", l = r.has(n);
|
|
209
|
+
m || l ? (s.length > 0 && (s.sort(), t.push(...s), s = []), t.push(n)) : s.push(n);
|
|
210
210
|
}
|
|
211
211
|
return s.length > 0 && (s.sort(), t.push(...s)), t;
|
|
212
212
|
};
|
|
213
|
-
},
|
|
214
|
-
cache:
|
|
215
|
-
parseClassName:
|
|
216
|
-
sortModifiers:
|
|
217
|
-
...
|
|
218
|
-
}),
|
|
213
|
+
}, mt = (e) => ({
|
|
214
|
+
cache: it(e.cacheSize),
|
|
215
|
+
parseClassName: ct(e),
|
|
216
|
+
sortModifiers: dt(e),
|
|
217
|
+
...Je(e)
|
|
218
|
+
}), pt = /\s+/, ut = (e, r) => {
|
|
219
219
|
const {
|
|
220
220
|
parseClassName: o,
|
|
221
221
|
getClassGroupId: t,
|
|
222
222
|
getConflictingClassGroupIds: s,
|
|
223
|
-
sortModifiers:
|
|
224
|
-
} = r, n = [], m = e.trim().split(
|
|
225
|
-
let
|
|
223
|
+
sortModifiers: i
|
|
224
|
+
} = r, n = [], m = e.trim().split(pt);
|
|
225
|
+
let l = "";
|
|
226
226
|
for (let u = m.length - 1; u >= 0; u -= 1) {
|
|
227
|
-
const
|
|
227
|
+
const g = m[u], {
|
|
228
228
|
isExternal: w,
|
|
229
229
|
modifiers: y,
|
|
230
230
|
hasImportantModifier: N,
|
|
231
231
|
baseClassName: v,
|
|
232
232
|
maybePostfixModifierPosition: M
|
|
233
|
-
} = o(
|
|
233
|
+
} = o(g);
|
|
234
234
|
if (w) {
|
|
235
|
-
|
|
235
|
+
l = g + (l.length > 0 ? " " + l : l);
|
|
236
236
|
continue;
|
|
237
237
|
}
|
|
238
|
-
let z = !!M,
|
|
239
|
-
if (!
|
|
238
|
+
let z = !!M, T = t(z ? v.substring(0, M) : v);
|
|
239
|
+
if (!T) {
|
|
240
240
|
if (!z) {
|
|
241
|
-
|
|
241
|
+
l = g + (l.length > 0 ? " " + l : l);
|
|
242
242
|
continue;
|
|
243
243
|
}
|
|
244
|
-
if (
|
|
245
|
-
|
|
244
|
+
if (T = t(v), !T) {
|
|
245
|
+
l = g + (l.length > 0 ? " " + l : l);
|
|
246
246
|
continue;
|
|
247
247
|
}
|
|
248
248
|
z = !1;
|
|
249
249
|
}
|
|
250
|
-
const G = y.length === 0 ? "" : y.length === 1 ? y[0] :
|
|
251
|
-
if (n.indexOf(
|
|
250
|
+
const G = y.length === 0 ? "" : y.length === 1 ? y[0] : i(y).join(":"), O = N ? G + ce : G, E = O + T;
|
|
251
|
+
if (n.indexOf(E) > -1)
|
|
252
252
|
continue;
|
|
253
|
-
n.push(
|
|
254
|
-
const
|
|
255
|
-
for (let L = 0; L <
|
|
256
|
-
const
|
|
257
|
-
n.push(
|
|
253
|
+
n.push(E);
|
|
254
|
+
const j = s(T, z);
|
|
255
|
+
for (let L = 0; L < j.length; ++L) {
|
|
256
|
+
const q = j[L];
|
|
257
|
+
n.push(O + q);
|
|
258
258
|
}
|
|
259
|
-
|
|
259
|
+
l = g + (l.length > 0 ? " " + l : l);
|
|
260
260
|
}
|
|
261
|
-
return
|
|
262
|
-
},
|
|
261
|
+
return l;
|
|
262
|
+
}, ht = (...e) => {
|
|
263
263
|
let r = 0, o, t, s = "";
|
|
264
264
|
for (; r < e.length; )
|
|
265
|
-
(o = e[r++]) && (t =
|
|
265
|
+
(o = e[r++]) && (t = Le(o)) && (s && (s += " "), s += t);
|
|
266
266
|
return s;
|
|
267
|
-
},
|
|
267
|
+
}, Le = (e) => {
|
|
268
268
|
if (typeof e == "string")
|
|
269
269
|
return e;
|
|
270
270
|
let r, o = "";
|
|
271
271
|
for (let t = 0; t < e.length; t++)
|
|
272
|
-
e[t] && (r =
|
|
272
|
+
e[t] && (r = Le(e[t])) && (o && (o += " "), o += r);
|
|
273
273
|
return o;
|
|
274
|
-
},
|
|
275
|
-
let o, t, s,
|
|
276
|
-
const n = (
|
|
277
|
-
const u = r.reduce((
|
|
278
|
-
return o =
|
|
279
|
-
}, m = (
|
|
280
|
-
const u = t(
|
|
274
|
+
}, bt = (e, ...r) => {
|
|
275
|
+
let o, t, s, i;
|
|
276
|
+
const n = (l) => {
|
|
277
|
+
const u = r.reduce((g, w) => w(g), e());
|
|
278
|
+
return o = mt(u), t = o.cache.get, s = o.cache.set, i = m, m(l);
|
|
279
|
+
}, m = (l) => {
|
|
280
|
+
const u = t(l);
|
|
281
281
|
if (u)
|
|
282
282
|
return u;
|
|
283
|
-
const
|
|
284
|
-
return s(
|
|
283
|
+
const g = ut(l, o);
|
|
284
|
+
return s(l, g), g;
|
|
285
285
|
};
|
|
286
|
-
return
|
|
287
|
-
}, ft = [],
|
|
286
|
+
return i = n, (...l) => i(ht(...l));
|
|
287
|
+
}, ft = [], _ = (e) => {
|
|
288
288
|
const r = (o) => o[e] || ft;
|
|
289
289
|
return r.isThemeGetter = !0, r;
|
|
290
|
-
},
|
|
290
|
+
}, Ie = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Re = /^\((?:(\w[\w-]*):)?(.+)\)$/i, gt = /^\d+\/\d+$/, xt = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, wt = /\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$/, yt = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, vt = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, kt = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Z = (e) => gt.test(e), f = (e) => !!e && !Number.isNaN(Number(e)), V = (e) => !!e && Number.isInteger(Number(e)), ie = (e) => e.endsWith("%") && f(e.slice(0, -1)), F = (e) => xt.test(e), _t = () => !0, Ct = (e) => (
|
|
291
291
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
292
292
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
293
293
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
294
|
-
|
|
295
|
-
),
|
|
296
|
-
const t = Le.exec(e);
|
|
297
|
-
return t ? t[1] ? r(t[1]) : o(t[2]) : !1;
|
|
298
|
-
}, U = (e, r, o = !1) => {
|
|
294
|
+
wt.test(e) && !yt.test(e)
|
|
295
|
+
), Te = () => !1, Nt = (e) => vt.test(e), zt = (e) => kt.test(e), St = (e) => !c(e) && !d(e), Mt = (e) => U(e, Be, Te), c = (e) => Ie.test(e), D = (e) => U(e, Pe, Ct), le = (e) => U(e, Tt, f), ke = (e) => U(e, Ee, Te), At = (e) => U(e, je, zt), te = (e) => U(e, Fe, Nt), d = (e) => Re.test(e), K = (e) => H(e, Pe), Lt = (e) => H(e, Et), _e = (e) => H(e, Ee), It = (e) => H(e, Be), Rt = (e) => H(e, je), re = (e) => H(e, Fe, !0), U = (e, r, o) => {
|
|
299
296
|
const t = Ie.exec(e);
|
|
297
|
+
return t ? t[1] ? r(t[1]) : o(t[2]) : !1;
|
|
298
|
+
}, H = (e, r, o = !1) => {
|
|
299
|
+
const t = Re.exec(e);
|
|
300
300
|
return t ? t[1] ? r(t[1]) : o : !1;
|
|
301
|
-
},
|
|
302
|
-
const e =
|
|
301
|
+
}, Ee = (e) => e === "position" || e === "percentage", je = (e) => e === "image" || e === "url", Be = (e) => e === "length" || e === "size" || e === "bg-size", Pe = (e) => e === "length", Tt = (e) => e === "number", Et = (e) => e === "family-name", Fe = (e) => e === "shadow", jt = () => {
|
|
302
|
+
const e = _("color"), r = _("font"), o = _("text"), t = _("font-weight"), s = _("tracking"), i = _("leading"), n = _("breakpoint"), m = _("container"), l = _("spacing"), u = _("radius"), g = _("shadow"), w = _("inset-shadow"), y = _("text-shadow"), N = _("drop-shadow"), v = _("blur"), M = _("perspective"), z = _("aspect"), T = _("ease"), G = _("animate"), O = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], E = () => [
|
|
303
303
|
"center",
|
|
304
304
|
"top",
|
|
305
305
|
"bottom",
|
|
@@ -317,15 +317,15 @@ const qe = (e, r) => {
|
|
|
317
317
|
"bottom-left",
|
|
318
318
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
319
319
|
"left-bottom"
|
|
320
|
-
],
|
|
321
|
-
span: ["full",
|
|
322
|
-
},
|
|
320
|
+
], j = () => [...E(), d, c], L = () => ["auto", "hidden", "clip", "visible", "scroll"], q = () => ["auto", "contain", "none"], h = () => [d, c, l], B = () => [Z, "full", "auto", ...h()], me = () => [V, "none", "subgrid", d, c], pe = () => ["auto", {
|
|
321
|
+
span: ["full", V, d, c]
|
|
322
|
+
}, V, d, c], Y = () => [V, "auto", d, c], ue = () => ["auto", "min", "max", "fr", d, c], se = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], W = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], P = () => ["auto", ...h()], $ = () => [Z, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...h()], p = () => [e, d, c], he = () => [...E(), _e, ke, {
|
|
323
323
|
position: [d, c]
|
|
324
|
-
}],
|
|
324
|
+
}], be = () => ["no-repeat", {
|
|
325
325
|
repeat: ["", "x", "y", "space", "round"]
|
|
326
|
-
}], fe = () => ["auto", "cover", "contain",
|
|
326
|
+
}], fe = () => ["auto", "cover", "contain", It, Mt, {
|
|
327
327
|
size: [d, c]
|
|
328
|
-
}],
|
|
328
|
+
}], ne = () => [ie, K, D], S = () => [
|
|
329
329
|
// Deprecated since Tailwind CSS v4.0.0
|
|
330
330
|
"",
|
|
331
331
|
"none",
|
|
@@ -333,14 +333,14 @@ const qe = (e, r) => {
|
|
|
333
333
|
u,
|
|
334
334
|
d,
|
|
335
335
|
c
|
|
336
|
-
], A = () => ["", f,
|
|
336
|
+
], A = () => ["", f, K, D], X = () => ["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"], C = () => [f, ie, _e, ke], xe = () => [
|
|
337
337
|
// Deprecated since Tailwind CSS v4.0.0
|
|
338
338
|
"",
|
|
339
339
|
"none",
|
|
340
340
|
v,
|
|
341
341
|
d,
|
|
342
342
|
c
|
|
343
|
-
],
|
|
343
|
+
], J = () => ["none", f, d, c], Q = () => ["none", f, d, c], ae = () => [f, d, c], ee = () => [Z, "full", ...h()];
|
|
344
344
|
return {
|
|
345
345
|
cacheSize: 500,
|
|
346
346
|
theme: {
|
|
@@ -348,11 +348,11 @@ const qe = (e, r) => {
|
|
|
348
348
|
aspect: ["video"],
|
|
349
349
|
blur: [F],
|
|
350
350
|
breakpoint: [F],
|
|
351
|
-
color: [
|
|
351
|
+
color: [_t],
|
|
352
352
|
container: [F],
|
|
353
353
|
"drop-shadow": [F],
|
|
354
354
|
ease: ["in", "out", "in-out"],
|
|
355
|
-
font: [
|
|
355
|
+
font: [St],
|
|
356
356
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
357
357
|
"inset-shadow": [F],
|
|
358
358
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
@@ -373,7 +373,7 @@ const qe = (e, r) => {
|
|
|
373
373
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
374
374
|
*/
|
|
375
375
|
aspect: [{
|
|
376
|
-
aspect: ["auto", "square",
|
|
376
|
+
aspect: ["auto", "square", Z, c, d, z]
|
|
377
377
|
}],
|
|
378
378
|
/**
|
|
379
379
|
* Container
|
|
@@ -393,14 +393,14 @@ const qe = (e, r) => {
|
|
|
393
393
|
* @see https://tailwindcss.com/docs/break-after
|
|
394
394
|
*/
|
|
395
395
|
"break-after": [{
|
|
396
|
-
"break-after":
|
|
396
|
+
"break-after": O()
|
|
397
397
|
}],
|
|
398
398
|
/**
|
|
399
399
|
* Break Before
|
|
400
400
|
* @see https://tailwindcss.com/docs/break-before
|
|
401
401
|
*/
|
|
402
402
|
"break-before": [{
|
|
403
|
-
"break-before":
|
|
403
|
+
"break-before": O()
|
|
404
404
|
}],
|
|
405
405
|
/**
|
|
406
406
|
* Break Inside
|
|
@@ -464,7 +464,7 @@ const qe = (e, r) => {
|
|
|
464
464
|
* @see https://tailwindcss.com/docs/object-position
|
|
465
465
|
*/
|
|
466
466
|
"object-position": [{
|
|
467
|
-
object:
|
|
467
|
+
object: j()
|
|
468
468
|
}],
|
|
469
469
|
/**
|
|
470
470
|
* Overflow
|
|
@@ -492,21 +492,21 @@ const qe = (e, r) => {
|
|
|
492
492
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
493
493
|
*/
|
|
494
494
|
overscroll: [{
|
|
495
|
-
overscroll:
|
|
495
|
+
overscroll: q()
|
|
496
496
|
}],
|
|
497
497
|
/**
|
|
498
498
|
* Overscroll Behavior X
|
|
499
499
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
500
500
|
*/
|
|
501
501
|
"overscroll-x": [{
|
|
502
|
-
"overscroll-x":
|
|
502
|
+
"overscroll-x": q()
|
|
503
503
|
}],
|
|
504
504
|
/**
|
|
505
505
|
* Overscroll Behavior Y
|
|
506
506
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
507
507
|
*/
|
|
508
508
|
"overscroll-y": [{
|
|
509
|
-
"overscroll-y":
|
|
509
|
+
"overscroll-y": q()
|
|
510
510
|
}],
|
|
511
511
|
/**
|
|
512
512
|
* Position
|
|
@@ -518,63 +518,63 @@ const qe = (e, r) => {
|
|
|
518
518
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
519
519
|
*/
|
|
520
520
|
inset: [{
|
|
521
|
-
inset:
|
|
521
|
+
inset: B()
|
|
522
522
|
}],
|
|
523
523
|
/**
|
|
524
524
|
* Right / Left
|
|
525
525
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
526
526
|
*/
|
|
527
527
|
"inset-x": [{
|
|
528
|
-
"inset-x":
|
|
528
|
+
"inset-x": B()
|
|
529
529
|
}],
|
|
530
530
|
/**
|
|
531
531
|
* Top / Bottom
|
|
532
532
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
533
533
|
*/
|
|
534
534
|
"inset-y": [{
|
|
535
|
-
"inset-y":
|
|
535
|
+
"inset-y": B()
|
|
536
536
|
}],
|
|
537
537
|
/**
|
|
538
538
|
* Start
|
|
539
539
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
540
540
|
*/
|
|
541
541
|
start: [{
|
|
542
|
-
start:
|
|
542
|
+
start: B()
|
|
543
543
|
}],
|
|
544
544
|
/**
|
|
545
545
|
* End
|
|
546
546
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
547
547
|
*/
|
|
548
548
|
end: [{
|
|
549
|
-
end:
|
|
549
|
+
end: B()
|
|
550
550
|
}],
|
|
551
551
|
/**
|
|
552
552
|
* Top
|
|
553
553
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
554
554
|
*/
|
|
555
555
|
top: [{
|
|
556
|
-
top:
|
|
556
|
+
top: B()
|
|
557
557
|
}],
|
|
558
558
|
/**
|
|
559
559
|
* Right
|
|
560
560
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
561
561
|
*/
|
|
562
562
|
right: [{
|
|
563
|
-
right:
|
|
563
|
+
right: B()
|
|
564
564
|
}],
|
|
565
565
|
/**
|
|
566
566
|
* Bottom
|
|
567
567
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
568
568
|
*/
|
|
569
569
|
bottom: [{
|
|
570
|
-
bottom:
|
|
570
|
+
bottom: B()
|
|
571
571
|
}],
|
|
572
572
|
/**
|
|
573
573
|
* Left
|
|
574
574
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
575
575
|
*/
|
|
576
576
|
left: [{
|
|
577
|
-
left:
|
|
577
|
+
left: B()
|
|
578
578
|
}],
|
|
579
579
|
/**
|
|
580
580
|
* Visibility
|
|
@@ -586,7 +586,7 @@ const qe = (e, r) => {
|
|
|
586
586
|
* @see https://tailwindcss.com/docs/z-index
|
|
587
587
|
*/
|
|
588
588
|
z: [{
|
|
589
|
-
z: [
|
|
589
|
+
z: [V, "auto", d, c]
|
|
590
590
|
}],
|
|
591
591
|
// ------------------------
|
|
592
592
|
// --- Flexbox and Grid ---
|
|
@@ -596,7 +596,7 @@ const qe = (e, r) => {
|
|
|
596
596
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
597
597
|
*/
|
|
598
598
|
basis: [{
|
|
599
|
-
basis: [
|
|
599
|
+
basis: [Z, "full", "auto", m, ...h()]
|
|
600
600
|
}],
|
|
601
601
|
/**
|
|
602
602
|
* Flex Direction
|
|
@@ -617,7 +617,7 @@ const qe = (e, r) => {
|
|
|
617
617
|
* @see https://tailwindcss.com/docs/flex
|
|
618
618
|
*/
|
|
619
619
|
flex: [{
|
|
620
|
-
flex: [f,
|
|
620
|
+
flex: [f, Z, "auto", "initial", "none", c]
|
|
621
621
|
}],
|
|
622
622
|
/**
|
|
623
623
|
* Flex Grow
|
|
@@ -638,63 +638,63 @@ const qe = (e, r) => {
|
|
|
638
638
|
* @see https://tailwindcss.com/docs/order
|
|
639
639
|
*/
|
|
640
640
|
order: [{
|
|
641
|
-
order: [
|
|
641
|
+
order: [V, "first", "last", "none", d, c]
|
|
642
642
|
}],
|
|
643
643
|
/**
|
|
644
644
|
* Grid Template Columns
|
|
645
645
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
646
646
|
*/
|
|
647
647
|
"grid-cols": [{
|
|
648
|
-
"grid-cols":
|
|
648
|
+
"grid-cols": me()
|
|
649
649
|
}],
|
|
650
650
|
/**
|
|
651
651
|
* Grid Column Start / End
|
|
652
652
|
* @see https://tailwindcss.com/docs/grid-column
|
|
653
653
|
*/
|
|
654
654
|
"col-start-end": [{
|
|
655
|
-
col:
|
|
655
|
+
col: pe()
|
|
656
656
|
}],
|
|
657
657
|
/**
|
|
658
658
|
* Grid Column Start
|
|
659
659
|
* @see https://tailwindcss.com/docs/grid-column
|
|
660
660
|
*/
|
|
661
661
|
"col-start": [{
|
|
662
|
-
"col-start":
|
|
662
|
+
"col-start": Y()
|
|
663
663
|
}],
|
|
664
664
|
/**
|
|
665
665
|
* Grid Column End
|
|
666
666
|
* @see https://tailwindcss.com/docs/grid-column
|
|
667
667
|
*/
|
|
668
668
|
"col-end": [{
|
|
669
|
-
"col-end":
|
|
669
|
+
"col-end": Y()
|
|
670
670
|
}],
|
|
671
671
|
/**
|
|
672
672
|
* Grid Template Rows
|
|
673
673
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
674
674
|
*/
|
|
675
675
|
"grid-rows": [{
|
|
676
|
-
"grid-rows":
|
|
676
|
+
"grid-rows": me()
|
|
677
677
|
}],
|
|
678
678
|
/**
|
|
679
679
|
* Grid Row Start / End
|
|
680
680
|
* @see https://tailwindcss.com/docs/grid-row
|
|
681
681
|
*/
|
|
682
682
|
"row-start-end": [{
|
|
683
|
-
row:
|
|
683
|
+
row: pe()
|
|
684
684
|
}],
|
|
685
685
|
/**
|
|
686
686
|
* Grid Row Start
|
|
687
687
|
* @see https://tailwindcss.com/docs/grid-row
|
|
688
688
|
*/
|
|
689
689
|
"row-start": [{
|
|
690
|
-
"row-start":
|
|
690
|
+
"row-start": Y()
|
|
691
691
|
}],
|
|
692
692
|
/**
|
|
693
693
|
* Grid Row End
|
|
694
694
|
* @see https://tailwindcss.com/docs/grid-row
|
|
695
695
|
*/
|
|
696
696
|
"row-end": [{
|
|
697
|
-
"row-end":
|
|
697
|
+
"row-end": Y()
|
|
698
698
|
}],
|
|
699
699
|
/**
|
|
700
700
|
* Grid Auto Flow
|
|
@@ -708,14 +708,14 @@ const qe = (e, r) => {
|
|
|
708
708
|
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
709
709
|
*/
|
|
710
710
|
"auto-cols": [{
|
|
711
|
-
"auto-cols":
|
|
711
|
+
"auto-cols": ue()
|
|
712
712
|
}],
|
|
713
713
|
/**
|
|
714
714
|
* Grid Auto Rows
|
|
715
715
|
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
716
716
|
*/
|
|
717
717
|
"auto-rows": [{
|
|
718
|
-
"auto-rows":
|
|
718
|
+
"auto-rows": ue()
|
|
719
719
|
}],
|
|
720
720
|
/**
|
|
721
721
|
* Gap
|
|
@@ -743,35 +743,35 @@ const qe = (e, r) => {
|
|
|
743
743
|
* @see https://tailwindcss.com/docs/justify-content
|
|
744
744
|
*/
|
|
745
745
|
"justify-content": [{
|
|
746
|
-
justify: [...
|
|
746
|
+
justify: [...se(), "normal"]
|
|
747
747
|
}],
|
|
748
748
|
/**
|
|
749
749
|
* Justify Items
|
|
750
750
|
* @see https://tailwindcss.com/docs/justify-items
|
|
751
751
|
*/
|
|
752
752
|
"justify-items": [{
|
|
753
|
-
"justify-items": [
|
|
753
|
+
"justify-items": [...W(), "normal"]
|
|
754
754
|
}],
|
|
755
755
|
/**
|
|
756
756
|
* Justify Self
|
|
757
757
|
* @see https://tailwindcss.com/docs/justify-self
|
|
758
758
|
*/
|
|
759
759
|
"justify-self": [{
|
|
760
|
-
"justify-self": ["auto",
|
|
760
|
+
"justify-self": ["auto", ...W()]
|
|
761
761
|
}],
|
|
762
762
|
/**
|
|
763
763
|
* Align Content
|
|
764
764
|
* @see https://tailwindcss.com/docs/align-content
|
|
765
765
|
*/
|
|
766
766
|
"align-content": [{
|
|
767
|
-
content: ["normal", ...
|
|
767
|
+
content: ["normal", ...se()]
|
|
768
768
|
}],
|
|
769
769
|
/**
|
|
770
770
|
* Align Items
|
|
771
771
|
* @see https://tailwindcss.com/docs/align-items
|
|
772
772
|
*/
|
|
773
773
|
"align-items": [{
|
|
774
|
-
items: [
|
|
774
|
+
items: [...W(), {
|
|
775
775
|
baseline: ["", "last"]
|
|
776
776
|
}]
|
|
777
777
|
}],
|
|
@@ -780,7 +780,7 @@ const qe = (e, r) => {
|
|
|
780
780
|
* @see https://tailwindcss.com/docs/align-self
|
|
781
781
|
*/
|
|
782
782
|
"align-self": [{
|
|
783
|
-
self: ["auto",
|
|
783
|
+
self: ["auto", ...W(), {
|
|
784
784
|
baseline: ["", "last"]
|
|
785
785
|
}]
|
|
786
786
|
}],
|
|
@@ -789,21 +789,21 @@ const qe = (e, r) => {
|
|
|
789
789
|
* @see https://tailwindcss.com/docs/place-content
|
|
790
790
|
*/
|
|
791
791
|
"place-content": [{
|
|
792
|
-
"place-content":
|
|
792
|
+
"place-content": se()
|
|
793
793
|
}],
|
|
794
794
|
/**
|
|
795
795
|
* Place Items
|
|
796
796
|
* @see https://tailwindcss.com/docs/place-items
|
|
797
797
|
*/
|
|
798
798
|
"place-items": [{
|
|
799
|
-
"place-items": [
|
|
799
|
+
"place-items": [...W(), "baseline"]
|
|
800
800
|
}],
|
|
801
801
|
/**
|
|
802
802
|
* Place Self
|
|
803
803
|
* @see https://tailwindcss.com/docs/place-self
|
|
804
804
|
*/
|
|
805
805
|
"place-self": [{
|
|
806
|
-
"place-self": ["auto",
|
|
806
|
+
"place-self": ["auto", ...W()]
|
|
807
807
|
}],
|
|
808
808
|
// Spacing
|
|
809
809
|
/**
|
|
@@ -964,14 +964,14 @@ const qe = (e, r) => {
|
|
|
964
964
|
* @see https://tailwindcss.com/docs/width#setting-both-width-and-height
|
|
965
965
|
*/
|
|
966
966
|
size: [{
|
|
967
|
-
size:
|
|
967
|
+
size: $()
|
|
968
968
|
}],
|
|
969
969
|
/**
|
|
970
970
|
* Width
|
|
971
971
|
* @see https://tailwindcss.com/docs/width
|
|
972
972
|
*/
|
|
973
973
|
w: [{
|
|
974
|
-
w: [m, "screen",
|
|
974
|
+
w: [m, "screen", ...$()]
|
|
975
975
|
}],
|
|
976
976
|
/**
|
|
977
977
|
* Min-Width
|
|
@@ -983,7 +983,7 @@ const qe = (e, r) => {
|
|
|
983
983
|
"screen",
|
|
984
984
|
/** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
985
985
|
"none",
|
|
986
|
-
|
|
986
|
+
...$()
|
|
987
987
|
]
|
|
988
988
|
}],
|
|
989
989
|
/**
|
|
@@ -1001,7 +1001,7 @@ const qe = (e, r) => {
|
|
|
1001
1001
|
{
|
|
1002
1002
|
screen: [n]
|
|
1003
1003
|
},
|
|
1004
|
-
|
|
1004
|
+
...$()
|
|
1005
1005
|
]
|
|
1006
1006
|
}],
|
|
1007
1007
|
/**
|
|
@@ -1009,21 +1009,21 @@ const qe = (e, r) => {
|
|
|
1009
1009
|
* @see https://tailwindcss.com/docs/height
|
|
1010
1010
|
*/
|
|
1011
1011
|
h: [{
|
|
1012
|
-
h: ["screen", "lh",
|
|
1012
|
+
h: ["screen", "lh", ...$()]
|
|
1013
1013
|
}],
|
|
1014
1014
|
/**
|
|
1015
1015
|
* Min-Height
|
|
1016
1016
|
* @see https://tailwindcss.com/docs/min-height
|
|
1017
1017
|
*/
|
|
1018
1018
|
"min-h": [{
|
|
1019
|
-
"min-h": ["screen", "lh", "none",
|
|
1019
|
+
"min-h": ["screen", "lh", "none", ...$()]
|
|
1020
1020
|
}],
|
|
1021
1021
|
/**
|
|
1022
1022
|
* Max-Height
|
|
1023
1023
|
* @see https://tailwindcss.com/docs/max-height
|
|
1024
1024
|
*/
|
|
1025
1025
|
"max-h": [{
|
|
1026
|
-
"max-h": ["screen", "lh",
|
|
1026
|
+
"max-h": ["screen", "lh", ...$()]
|
|
1027
1027
|
}],
|
|
1028
1028
|
// ------------------
|
|
1029
1029
|
// --- Typography ---
|
|
@@ -1033,7 +1033,7 @@ const qe = (e, r) => {
|
|
|
1033
1033
|
* @see https://tailwindcss.com/docs/font-size
|
|
1034
1034
|
*/
|
|
1035
1035
|
"font-size": [{
|
|
1036
|
-
text: ["base", o,
|
|
1036
|
+
text: ["base", o, K, D]
|
|
1037
1037
|
}],
|
|
1038
1038
|
/**
|
|
1039
1039
|
* Font Smoothing
|
|
@@ -1057,14 +1057,14 @@ const qe = (e, r) => {
|
|
|
1057
1057
|
* @see https://tailwindcss.com/docs/font-stretch
|
|
1058
1058
|
*/
|
|
1059
1059
|
"font-stretch": [{
|
|
1060
|
-
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded",
|
|
1060
|
+
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", ie, c]
|
|
1061
1061
|
}],
|
|
1062
1062
|
/**
|
|
1063
1063
|
* Font Family
|
|
1064
1064
|
* @see https://tailwindcss.com/docs/font-family
|
|
1065
1065
|
*/
|
|
1066
1066
|
"font-family": [{
|
|
1067
|
-
font: [
|
|
1067
|
+
font: [Lt, c, r]
|
|
1068
1068
|
}],
|
|
1069
1069
|
/**
|
|
1070
1070
|
* Font Variant Numeric
|
|
@@ -1117,7 +1117,7 @@ const qe = (e, r) => {
|
|
|
1117
1117
|
leading: [{
|
|
1118
1118
|
leading: [
|
|
1119
1119
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1120
|
-
|
|
1120
|
+
i,
|
|
1121
1121
|
...h()
|
|
1122
1122
|
]
|
|
1123
1123
|
}],
|
|
@@ -1174,7 +1174,7 @@ const qe = (e, r) => {
|
|
|
1174
1174
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1175
1175
|
*/
|
|
1176
1176
|
"text-decoration-style": [{
|
|
1177
|
-
decoration: [...
|
|
1177
|
+
decoration: [...X(), "wavy"]
|
|
1178
1178
|
}],
|
|
1179
1179
|
/**
|
|
1180
1180
|
* Text Decoration Thickness
|
|
@@ -1292,14 +1292,14 @@ const qe = (e, r) => {
|
|
|
1292
1292
|
* @see https://tailwindcss.com/docs/background-position
|
|
1293
1293
|
*/
|
|
1294
1294
|
"bg-position": [{
|
|
1295
|
-
bg:
|
|
1295
|
+
bg: he()
|
|
1296
1296
|
}],
|
|
1297
1297
|
/**
|
|
1298
1298
|
* Background Repeat
|
|
1299
1299
|
* @see https://tailwindcss.com/docs/background-repeat
|
|
1300
1300
|
*/
|
|
1301
1301
|
"bg-repeat": [{
|
|
1302
|
-
bg:
|
|
1302
|
+
bg: be()
|
|
1303
1303
|
}],
|
|
1304
1304
|
/**
|
|
1305
1305
|
* Background Size
|
|
@@ -1316,10 +1316,10 @@ const qe = (e, r) => {
|
|
|
1316
1316
|
bg: ["none", {
|
|
1317
1317
|
linear: [{
|
|
1318
1318
|
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1319
|
-
},
|
|
1319
|
+
}, V, d, c],
|
|
1320
1320
|
radial: ["", d, c],
|
|
1321
|
-
conic: [
|
|
1322
|
-
},
|
|
1321
|
+
conic: [V, d, c]
|
|
1322
|
+
}, Rt, At]
|
|
1323
1323
|
}],
|
|
1324
1324
|
/**
|
|
1325
1325
|
* Background Color
|
|
@@ -1333,21 +1333,21 @@ const qe = (e, r) => {
|
|
|
1333
1333
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1334
1334
|
*/
|
|
1335
1335
|
"gradient-from-pos": [{
|
|
1336
|
-
from:
|
|
1336
|
+
from: ne()
|
|
1337
1337
|
}],
|
|
1338
1338
|
/**
|
|
1339
1339
|
* Gradient Color Stops Via Position
|
|
1340
1340
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1341
1341
|
*/
|
|
1342
1342
|
"gradient-via-pos": [{
|
|
1343
|
-
via:
|
|
1343
|
+
via: ne()
|
|
1344
1344
|
}],
|
|
1345
1345
|
/**
|
|
1346
1346
|
* Gradient Color Stops To Position
|
|
1347
1347
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1348
1348
|
*/
|
|
1349
1349
|
"gradient-to-pos": [{
|
|
1350
|
-
to:
|
|
1350
|
+
to: ne()
|
|
1351
1351
|
}],
|
|
1352
1352
|
/**
|
|
1353
1353
|
* Gradient Color Stops From
|
|
@@ -1570,14 +1570,14 @@ const qe = (e, r) => {
|
|
|
1570
1570
|
* @see https://tailwindcss.com/docs/border-style
|
|
1571
1571
|
*/
|
|
1572
1572
|
"border-style": [{
|
|
1573
|
-
border: [...
|
|
1573
|
+
border: [...X(), "hidden", "none"]
|
|
1574
1574
|
}],
|
|
1575
1575
|
/**
|
|
1576
1576
|
* Divide Style
|
|
1577
1577
|
* @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
|
|
1578
1578
|
*/
|
|
1579
1579
|
"divide-style": [{
|
|
1580
|
-
divide: [...
|
|
1580
|
+
divide: [...X(), "hidden", "none"]
|
|
1581
1581
|
}],
|
|
1582
1582
|
/**
|
|
1583
1583
|
* Border Color
|
|
@@ -1654,7 +1654,7 @@ const qe = (e, r) => {
|
|
|
1654
1654
|
* @see https://tailwindcss.com/docs/outline-style
|
|
1655
1655
|
*/
|
|
1656
1656
|
"outline-style": [{
|
|
1657
|
-
outline: [...
|
|
1657
|
+
outline: [...X(), "none", "hidden"]
|
|
1658
1658
|
}],
|
|
1659
1659
|
/**
|
|
1660
1660
|
* Outline Offset
|
|
@@ -1668,7 +1668,7 @@ const qe = (e, r) => {
|
|
|
1668
1668
|
* @see https://tailwindcss.com/docs/outline-width
|
|
1669
1669
|
*/
|
|
1670
1670
|
"outline-w": [{
|
|
1671
|
-
outline: ["", f,
|
|
1671
|
+
outline: ["", f, K, D]
|
|
1672
1672
|
}],
|
|
1673
1673
|
/**
|
|
1674
1674
|
* Outline Color
|
|
@@ -1689,9 +1689,9 @@ const qe = (e, r) => {
|
|
|
1689
1689
|
// Deprecated since Tailwind CSS v4.0.0
|
|
1690
1690
|
"",
|
|
1691
1691
|
"none",
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1692
|
+
g,
|
|
1693
|
+
re,
|
|
1694
|
+
te
|
|
1695
1695
|
]
|
|
1696
1696
|
}],
|
|
1697
1697
|
/**
|
|
@@ -1706,7 +1706,7 @@ const qe = (e, r) => {
|
|
|
1706
1706
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
1707
1707
|
*/
|
|
1708
1708
|
"inset-shadow": [{
|
|
1709
|
-
"inset-shadow": ["none", w,
|
|
1709
|
+
"inset-shadow": ["none", w, re, te]
|
|
1710
1710
|
}],
|
|
1711
1711
|
/**
|
|
1712
1712
|
* Inset Box Shadow Color
|
|
@@ -1773,7 +1773,7 @@ const qe = (e, r) => {
|
|
|
1773
1773
|
* @see https://tailwindcss.com/docs/text-shadow
|
|
1774
1774
|
*/
|
|
1775
1775
|
"text-shadow": [{
|
|
1776
|
-
"text-shadow": ["none", y,
|
|
1776
|
+
"text-shadow": ["none", y, re, te]
|
|
1777
1777
|
}],
|
|
1778
1778
|
/**
|
|
1779
1779
|
* Text Shadow Color
|
|
@@ -1794,14 +1794,14 @@ const qe = (e, r) => {
|
|
|
1794
1794
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
1795
1795
|
*/
|
|
1796
1796
|
"mix-blend": [{
|
|
1797
|
-
"mix-blend": [...
|
|
1797
|
+
"mix-blend": [...ge(), "plus-darker", "plus-lighter"]
|
|
1798
1798
|
}],
|
|
1799
1799
|
/**
|
|
1800
1800
|
* Background Blend Mode
|
|
1801
1801
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
1802
1802
|
*/
|
|
1803
1803
|
"bg-blend": [{
|
|
1804
|
-
"bg-blend":
|
|
1804
|
+
"bg-blend": ge()
|
|
1805
1805
|
}],
|
|
1806
1806
|
/**
|
|
1807
1807
|
* Mask Clip
|
|
@@ -1825,10 +1825,10 @@ const qe = (e, r) => {
|
|
|
1825
1825
|
"mask-linear": [f]
|
|
1826
1826
|
}],
|
|
1827
1827
|
"mask-image-linear-from-pos": [{
|
|
1828
|
-
"mask-linear-from":
|
|
1828
|
+
"mask-linear-from": C()
|
|
1829
1829
|
}],
|
|
1830
1830
|
"mask-image-linear-to-pos": [{
|
|
1831
|
-
"mask-linear-to":
|
|
1831
|
+
"mask-linear-to": C()
|
|
1832
1832
|
}],
|
|
1833
1833
|
"mask-image-linear-from-color": [{
|
|
1834
1834
|
"mask-linear-from": p()
|
|
@@ -1837,10 +1837,10 @@ const qe = (e, r) => {
|
|
|
1837
1837
|
"mask-linear-to": p()
|
|
1838
1838
|
}],
|
|
1839
1839
|
"mask-image-t-from-pos": [{
|
|
1840
|
-
"mask-t-from":
|
|
1840
|
+
"mask-t-from": C()
|
|
1841
1841
|
}],
|
|
1842
1842
|
"mask-image-t-to-pos": [{
|
|
1843
|
-
"mask-t-to":
|
|
1843
|
+
"mask-t-to": C()
|
|
1844
1844
|
}],
|
|
1845
1845
|
"mask-image-t-from-color": [{
|
|
1846
1846
|
"mask-t-from": p()
|
|
@@ -1849,10 +1849,10 @@ const qe = (e, r) => {
|
|
|
1849
1849
|
"mask-t-to": p()
|
|
1850
1850
|
}],
|
|
1851
1851
|
"mask-image-r-from-pos": [{
|
|
1852
|
-
"mask-r-from":
|
|
1852
|
+
"mask-r-from": C()
|
|
1853
1853
|
}],
|
|
1854
1854
|
"mask-image-r-to-pos": [{
|
|
1855
|
-
"mask-r-to":
|
|
1855
|
+
"mask-r-to": C()
|
|
1856
1856
|
}],
|
|
1857
1857
|
"mask-image-r-from-color": [{
|
|
1858
1858
|
"mask-r-from": p()
|
|
@@ -1861,10 +1861,10 @@ const qe = (e, r) => {
|
|
|
1861
1861
|
"mask-r-to": p()
|
|
1862
1862
|
}],
|
|
1863
1863
|
"mask-image-b-from-pos": [{
|
|
1864
|
-
"mask-b-from":
|
|
1864
|
+
"mask-b-from": C()
|
|
1865
1865
|
}],
|
|
1866
1866
|
"mask-image-b-to-pos": [{
|
|
1867
|
-
"mask-b-to":
|
|
1867
|
+
"mask-b-to": C()
|
|
1868
1868
|
}],
|
|
1869
1869
|
"mask-image-b-from-color": [{
|
|
1870
1870
|
"mask-b-from": p()
|
|
@@ -1873,10 +1873,10 @@ const qe = (e, r) => {
|
|
|
1873
1873
|
"mask-b-to": p()
|
|
1874
1874
|
}],
|
|
1875
1875
|
"mask-image-l-from-pos": [{
|
|
1876
|
-
"mask-l-from":
|
|
1876
|
+
"mask-l-from": C()
|
|
1877
1877
|
}],
|
|
1878
1878
|
"mask-image-l-to-pos": [{
|
|
1879
|
-
"mask-l-to":
|
|
1879
|
+
"mask-l-to": C()
|
|
1880
1880
|
}],
|
|
1881
1881
|
"mask-image-l-from-color": [{
|
|
1882
1882
|
"mask-l-from": p()
|
|
@@ -1885,10 +1885,10 @@ const qe = (e, r) => {
|
|
|
1885
1885
|
"mask-l-to": p()
|
|
1886
1886
|
}],
|
|
1887
1887
|
"mask-image-x-from-pos": [{
|
|
1888
|
-
"mask-x-from":
|
|
1888
|
+
"mask-x-from": C()
|
|
1889
1889
|
}],
|
|
1890
1890
|
"mask-image-x-to-pos": [{
|
|
1891
|
-
"mask-x-to":
|
|
1891
|
+
"mask-x-to": C()
|
|
1892
1892
|
}],
|
|
1893
1893
|
"mask-image-x-from-color": [{
|
|
1894
1894
|
"mask-x-from": p()
|
|
@@ -1897,10 +1897,10 @@ const qe = (e, r) => {
|
|
|
1897
1897
|
"mask-x-to": p()
|
|
1898
1898
|
}],
|
|
1899
1899
|
"mask-image-y-from-pos": [{
|
|
1900
|
-
"mask-y-from":
|
|
1900
|
+
"mask-y-from": C()
|
|
1901
1901
|
}],
|
|
1902
1902
|
"mask-image-y-to-pos": [{
|
|
1903
|
-
"mask-y-to":
|
|
1903
|
+
"mask-y-to": C()
|
|
1904
1904
|
}],
|
|
1905
1905
|
"mask-image-y-from-color": [{
|
|
1906
1906
|
"mask-y-from": p()
|
|
@@ -1912,10 +1912,10 @@ const qe = (e, r) => {
|
|
|
1912
1912
|
"mask-radial": [d, c]
|
|
1913
1913
|
}],
|
|
1914
1914
|
"mask-image-radial-from-pos": [{
|
|
1915
|
-
"mask-radial-from":
|
|
1915
|
+
"mask-radial-from": C()
|
|
1916
1916
|
}],
|
|
1917
1917
|
"mask-image-radial-to-pos": [{
|
|
1918
|
-
"mask-radial-to":
|
|
1918
|
+
"mask-radial-to": C()
|
|
1919
1919
|
}],
|
|
1920
1920
|
"mask-image-radial-from-color": [{
|
|
1921
1921
|
"mask-radial-from": p()
|
|
@@ -1933,16 +1933,16 @@ const qe = (e, r) => {
|
|
|
1933
1933
|
}]
|
|
1934
1934
|
}],
|
|
1935
1935
|
"mask-image-radial-pos": [{
|
|
1936
|
-
"mask-radial-at":
|
|
1936
|
+
"mask-radial-at": E()
|
|
1937
1937
|
}],
|
|
1938
1938
|
"mask-image-conic-pos": [{
|
|
1939
1939
|
"mask-conic": [f]
|
|
1940
1940
|
}],
|
|
1941
1941
|
"mask-image-conic-from-pos": [{
|
|
1942
|
-
"mask-conic-from":
|
|
1942
|
+
"mask-conic-from": C()
|
|
1943
1943
|
}],
|
|
1944
1944
|
"mask-image-conic-to-pos": [{
|
|
1945
|
-
"mask-conic-to":
|
|
1945
|
+
"mask-conic-to": C()
|
|
1946
1946
|
}],
|
|
1947
1947
|
"mask-image-conic-from-color": [{
|
|
1948
1948
|
"mask-conic-from": p()
|
|
@@ -1969,14 +1969,14 @@ const qe = (e, r) => {
|
|
|
1969
1969
|
* @see https://tailwindcss.com/docs/mask-position
|
|
1970
1970
|
*/
|
|
1971
1971
|
"mask-position": [{
|
|
1972
|
-
mask:
|
|
1972
|
+
mask: he()
|
|
1973
1973
|
}],
|
|
1974
1974
|
/**
|
|
1975
1975
|
* Mask Repeat
|
|
1976
1976
|
* @see https://tailwindcss.com/docs/mask-repeat
|
|
1977
1977
|
*/
|
|
1978
1978
|
"mask-repeat": [{
|
|
1979
|
-
mask:
|
|
1979
|
+
mask: be()
|
|
1980
1980
|
}],
|
|
1981
1981
|
/**
|
|
1982
1982
|
* Mask Size
|
|
@@ -2020,7 +2020,7 @@ const qe = (e, r) => {
|
|
|
2020
2020
|
* @see https://tailwindcss.com/docs/blur
|
|
2021
2021
|
*/
|
|
2022
2022
|
blur: [{
|
|
2023
|
-
blur:
|
|
2023
|
+
blur: xe()
|
|
2024
2024
|
}],
|
|
2025
2025
|
/**
|
|
2026
2026
|
* Brightness
|
|
@@ -2046,8 +2046,8 @@ const qe = (e, r) => {
|
|
|
2046
2046
|
"",
|
|
2047
2047
|
"none",
|
|
2048
2048
|
N,
|
|
2049
|
-
|
|
2050
|
-
|
|
2049
|
+
re,
|
|
2050
|
+
te
|
|
2051
2051
|
]
|
|
2052
2052
|
}],
|
|
2053
2053
|
/**
|
|
@@ -2110,7 +2110,7 @@ const qe = (e, r) => {
|
|
|
2110
2110
|
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
2111
2111
|
*/
|
|
2112
2112
|
"backdrop-blur": [{
|
|
2113
|
-
"backdrop-blur":
|
|
2113
|
+
"backdrop-blur": xe()
|
|
2114
2114
|
}],
|
|
2115
2115
|
/**
|
|
2116
2116
|
* Backdrop Brightness
|
|
@@ -2242,7 +2242,7 @@ const qe = (e, r) => {
|
|
|
2242
2242
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2243
2243
|
*/
|
|
2244
2244
|
ease: [{
|
|
2245
|
-
ease: ["linear", "initial",
|
|
2245
|
+
ease: ["linear", "initial", T, d, c]
|
|
2246
2246
|
}],
|
|
2247
2247
|
/**
|
|
2248
2248
|
* Transition Delay
|
|
@@ -2280,63 +2280,63 @@ const qe = (e, r) => {
|
|
|
2280
2280
|
* @see https://tailwindcss.com/docs/perspective-origin
|
|
2281
2281
|
*/
|
|
2282
2282
|
"perspective-origin": [{
|
|
2283
|
-
"perspective-origin":
|
|
2283
|
+
"perspective-origin": j()
|
|
2284
2284
|
}],
|
|
2285
2285
|
/**
|
|
2286
2286
|
* Rotate
|
|
2287
2287
|
* @see https://tailwindcss.com/docs/rotate
|
|
2288
2288
|
*/
|
|
2289
2289
|
rotate: [{
|
|
2290
|
-
rotate:
|
|
2290
|
+
rotate: J()
|
|
2291
2291
|
}],
|
|
2292
2292
|
/**
|
|
2293
2293
|
* Rotate X
|
|
2294
2294
|
* @see https://tailwindcss.com/docs/rotate
|
|
2295
2295
|
*/
|
|
2296
2296
|
"rotate-x": [{
|
|
2297
|
-
"rotate-x":
|
|
2297
|
+
"rotate-x": J()
|
|
2298
2298
|
}],
|
|
2299
2299
|
/**
|
|
2300
2300
|
* Rotate Y
|
|
2301
2301
|
* @see https://tailwindcss.com/docs/rotate
|
|
2302
2302
|
*/
|
|
2303
2303
|
"rotate-y": [{
|
|
2304
|
-
"rotate-y":
|
|
2304
|
+
"rotate-y": J()
|
|
2305
2305
|
}],
|
|
2306
2306
|
/**
|
|
2307
2307
|
* Rotate Z
|
|
2308
2308
|
* @see https://tailwindcss.com/docs/rotate
|
|
2309
2309
|
*/
|
|
2310
2310
|
"rotate-z": [{
|
|
2311
|
-
"rotate-z":
|
|
2311
|
+
"rotate-z": J()
|
|
2312
2312
|
}],
|
|
2313
2313
|
/**
|
|
2314
2314
|
* Scale
|
|
2315
2315
|
* @see https://tailwindcss.com/docs/scale
|
|
2316
2316
|
*/
|
|
2317
2317
|
scale: [{
|
|
2318
|
-
scale:
|
|
2318
|
+
scale: Q()
|
|
2319
2319
|
}],
|
|
2320
2320
|
/**
|
|
2321
2321
|
* Scale X
|
|
2322
2322
|
* @see https://tailwindcss.com/docs/scale
|
|
2323
2323
|
*/
|
|
2324
2324
|
"scale-x": [{
|
|
2325
|
-
"scale-x":
|
|
2325
|
+
"scale-x": Q()
|
|
2326
2326
|
}],
|
|
2327
2327
|
/**
|
|
2328
2328
|
* Scale Y
|
|
2329
2329
|
* @see https://tailwindcss.com/docs/scale
|
|
2330
2330
|
*/
|
|
2331
2331
|
"scale-y": [{
|
|
2332
|
-
"scale-y":
|
|
2332
|
+
"scale-y": Q()
|
|
2333
2333
|
}],
|
|
2334
2334
|
/**
|
|
2335
2335
|
* Scale Z
|
|
2336
2336
|
* @see https://tailwindcss.com/docs/scale
|
|
2337
2337
|
*/
|
|
2338
2338
|
"scale-z": [{
|
|
2339
|
-
"scale-z":
|
|
2339
|
+
"scale-z": Q()
|
|
2340
2340
|
}],
|
|
2341
2341
|
/**
|
|
2342
2342
|
* Scale 3D
|
|
@@ -2348,21 +2348,21 @@ const qe = (e, r) => {
|
|
|
2348
2348
|
* @see https://tailwindcss.com/docs/skew
|
|
2349
2349
|
*/
|
|
2350
2350
|
skew: [{
|
|
2351
|
-
skew:
|
|
2351
|
+
skew: ae()
|
|
2352
2352
|
}],
|
|
2353
2353
|
/**
|
|
2354
2354
|
* Skew X
|
|
2355
2355
|
* @see https://tailwindcss.com/docs/skew
|
|
2356
2356
|
*/
|
|
2357
2357
|
"skew-x": [{
|
|
2358
|
-
"skew-x":
|
|
2358
|
+
"skew-x": ae()
|
|
2359
2359
|
}],
|
|
2360
2360
|
/**
|
|
2361
2361
|
* Skew Y
|
|
2362
2362
|
* @see https://tailwindcss.com/docs/skew
|
|
2363
2363
|
*/
|
|
2364
2364
|
"skew-y": [{
|
|
2365
|
-
"skew-y":
|
|
2365
|
+
"skew-y": ae()
|
|
2366
2366
|
}],
|
|
2367
2367
|
/**
|
|
2368
2368
|
* Transform
|
|
@@ -2376,7 +2376,7 @@ const qe = (e, r) => {
|
|
|
2376
2376
|
* @see https://tailwindcss.com/docs/transform-origin
|
|
2377
2377
|
*/
|
|
2378
2378
|
"transform-origin": [{
|
|
2379
|
-
origin:
|
|
2379
|
+
origin: j()
|
|
2380
2380
|
}],
|
|
2381
2381
|
/**
|
|
2382
2382
|
* Transform Style
|
|
@@ -2390,28 +2390,28 @@ const qe = (e, r) => {
|
|
|
2390
2390
|
* @see https://tailwindcss.com/docs/translate
|
|
2391
2391
|
*/
|
|
2392
2392
|
translate: [{
|
|
2393
|
-
translate:
|
|
2393
|
+
translate: ee()
|
|
2394
2394
|
}],
|
|
2395
2395
|
/**
|
|
2396
2396
|
* Translate X
|
|
2397
2397
|
* @see https://tailwindcss.com/docs/translate
|
|
2398
2398
|
*/
|
|
2399
2399
|
"translate-x": [{
|
|
2400
|
-
"translate-x":
|
|
2400
|
+
"translate-x": ee()
|
|
2401
2401
|
}],
|
|
2402
2402
|
/**
|
|
2403
2403
|
* Translate Y
|
|
2404
2404
|
* @see https://tailwindcss.com/docs/translate
|
|
2405
2405
|
*/
|
|
2406
2406
|
"translate-y": [{
|
|
2407
|
-
"translate-y":
|
|
2407
|
+
"translate-y": ee()
|
|
2408
2408
|
}],
|
|
2409
2409
|
/**
|
|
2410
2410
|
* Translate Z
|
|
2411
2411
|
* @see https://tailwindcss.com/docs/translate
|
|
2412
2412
|
*/
|
|
2413
2413
|
"translate-z": [{
|
|
2414
|
-
"translate-z":
|
|
2414
|
+
"translate-z": ee()
|
|
2415
2415
|
}],
|
|
2416
2416
|
/**
|
|
2417
2417
|
* Translate None
|
|
@@ -2693,7 +2693,7 @@ const qe = (e, r) => {
|
|
|
2693
2693
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
2694
2694
|
*/
|
|
2695
2695
|
"stroke-w": [{
|
|
2696
|
-
stroke: [f,
|
|
2696
|
+
stroke: [f, K, D, le]
|
|
2697
2697
|
}],
|
|
2698
2698
|
/**
|
|
2699
2699
|
* Stroke
|
|
@@ -2768,9 +2768,9 @@ const qe = (e, r) => {
|
|
|
2768
2768
|
},
|
|
2769
2769
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
2770
2770
|
};
|
|
2771
|
-
},
|
|
2772
|
-
function
|
|
2773
|
-
return
|
|
2771
|
+
}, Bt = /* @__PURE__ */ bt(jt);
|
|
2772
|
+
function b(...e) {
|
|
2773
|
+
return Bt(qe(e));
|
|
2774
2774
|
}
|
|
2775
2775
|
const Pt = {
|
|
2776
2776
|
primary: "bg-primary text-black theme-light:text-white border border-primary shadow-[inset_-4px_-4px_8px_var(--color-primary-shadow-dark),inset_4px_4px_8px_var(--color-primary-shadow-light)] active:shadow-[inset_3px_3px_6px_var(--color-primary-shadow-dark),_inset_-3px_-3px_6px_var(--color-primary-shadow-light)] disabled:shadow-none disabled:bg-primary-disabled disabled:text-text-disabled",
|
|
@@ -2781,19 +2781,19 @@ const Pt = {
|
|
|
2781
2781
|
sm: "px-3 py-1 text-xs font-medium rounded-lg h-8",
|
|
2782
2782
|
md: "px-4 py-1.5 text-sm font-medium rounded-lg h-10",
|
|
2783
2783
|
lg: "px-6 py-2 text-md font-medium rounded-lg h-12"
|
|
2784
|
-
}, Ge =
|
|
2784
|
+
}, Ge = k.forwardRef(({
|
|
2785
2785
|
variant: e = "primary",
|
|
2786
2786
|
size: r = "md",
|
|
2787
2787
|
loading: o = !1,
|
|
2788
2788
|
disabled: t = !1,
|
|
2789
2789
|
className: s,
|
|
2790
|
-
children:
|
|
2790
|
+
children: i,
|
|
2791
2791
|
...n
|
|
2792
2792
|
}, m) => /* @__PURE__ */ x(
|
|
2793
2793
|
"button",
|
|
2794
2794
|
{
|
|
2795
2795
|
ref: m,
|
|
2796
|
-
className:
|
|
2796
|
+
className: b(
|
|
2797
2797
|
"inline-flex items-center justify-center",
|
|
2798
2798
|
"font-medium transition-all duration-200",
|
|
2799
2799
|
"focus-visible focus:outline-none",
|
|
@@ -2805,10 +2805,10 @@ const Pt = {
|
|
|
2805
2805
|
disabled: t || o,
|
|
2806
2806
|
...n,
|
|
2807
2807
|
children: [
|
|
2808
|
-
/* @__PURE__ */ a("span", { className:
|
|
2808
|
+
/* @__PURE__ */ a("span", { className: b("inline-flex items-center", o ? "w-4 h-4 mr-2" : "w-0 h-4"), children: /* @__PURE__ */ x(
|
|
2809
2809
|
"svg",
|
|
2810
2810
|
{
|
|
2811
|
-
className:
|
|
2811
|
+
className: b("animate-spin h-4 w-4", !o && "opacity-0"),
|
|
2812
2812
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2813
2813
|
fill: "none",
|
|
2814
2814
|
viewBox: "0 0 24 24",
|
|
@@ -2836,59 +2836,59 @@ const Pt = {
|
|
|
2836
2836
|
]
|
|
2837
2837
|
}
|
|
2838
2838
|
) }),
|
|
2839
|
-
|
|
2839
|
+
i
|
|
2840
2840
|
]
|
|
2841
2841
|
}
|
|
2842
2842
|
));
|
|
2843
2843
|
Ge.displayName = "Button";
|
|
2844
|
-
const Gt = "_button_7snfv_7",
|
|
2844
|
+
const Gt = "_button_7snfv_7", Vt = "_state_7snfv_75", Ot = "_icon_7snfv_149", $t = "_outline_7snfv_207", I = {
|
|
2845
2845
|
button: Gt,
|
|
2846
2846
|
"button--size-sm": "_button--size-sm_7snfv_59",
|
|
2847
|
-
state:
|
|
2847
|
+
state: Vt,
|
|
2848
2848
|
"button--size-md": "_button--size-md_7snfv_83",
|
|
2849
2849
|
"button--size-lg": "_button--size-lg_7snfv_107",
|
|
2850
|
-
icon:
|
|
2851
|
-
outline:
|
|
2850
|
+
icon: Ot,
|
|
2851
|
+
outline: $t,
|
|
2852
2852
|
"state--default": "_state--default_7snfv_231",
|
|
2853
2853
|
"state--sent": "_state--sent_7snfv_717"
|
|
2854
2854
|
}, Ce = (e) => e.split("").map((r, o) => /* @__PURE__ */ a("span", { style: { "--i": o }, children: r === " " ? " " : r }, o)), Dt = {
|
|
2855
2855
|
sm: I["button--size-sm"],
|
|
2856
2856
|
md: I["button--size-md"],
|
|
2857
2857
|
lg: I["button--size-lg"]
|
|
2858
|
-
},
|
|
2858
|
+
}, ir = ({
|
|
2859
2859
|
children: e = "Send Message",
|
|
2860
2860
|
successText: r = "Sent",
|
|
2861
2861
|
onSubmit: o,
|
|
2862
2862
|
disabled: t,
|
|
2863
2863
|
size: s = "md",
|
|
2864
|
-
className:
|
|
2864
|
+
className: i,
|
|
2865
2865
|
...n
|
|
2866
2866
|
}) => {
|
|
2867
|
-
const [m,
|
|
2867
|
+
const [m, l] = Ne(!1), u = We(), g = Ze(null);
|
|
2868
2868
|
return /* @__PURE__ */ x(
|
|
2869
2869
|
"button",
|
|
2870
2870
|
{
|
|
2871
2871
|
...n,
|
|
2872
|
-
ref:
|
|
2872
|
+
ref: g,
|
|
2873
2873
|
type: "submit",
|
|
2874
2874
|
disabled: t,
|
|
2875
2875
|
onClick: async (y) => {
|
|
2876
2876
|
if (o && !m)
|
|
2877
2877
|
try {
|
|
2878
|
-
await o(),
|
|
2879
|
-
|
|
2878
|
+
await o(), l(!0), g.current?.focus(), setTimeout(() => {
|
|
2879
|
+
l(!1), g.current?.blur();
|
|
2880
2880
|
}, 3e3);
|
|
2881
2881
|
} catch (N) {
|
|
2882
2882
|
console.error("Submit failed:", N);
|
|
2883
2883
|
}
|
|
2884
2884
|
n.onClick?.(y);
|
|
2885
2885
|
},
|
|
2886
|
-
className:
|
|
2886
|
+
className: b(I.button, Dt[s], i),
|
|
2887
2887
|
"aria-label": m ? "Submission successful" : n["aria-label"] || "Submit",
|
|
2888
2888
|
"aria-disabled": t,
|
|
2889
2889
|
children: [
|
|
2890
2890
|
/* @__PURE__ */ a("div", { className: I.outline }),
|
|
2891
|
-
/* @__PURE__ */ x("div", { className:
|
|
2891
|
+
/* @__PURE__ */ x("div", { className: b(I.state, I["state--default"]), children: [
|
|
2892
2892
|
/* @__PURE__ */ a("div", { className: I.icon, children: /* @__PURE__ */ x(
|
|
2893
2893
|
"svg",
|
|
2894
2894
|
{
|
|
@@ -2928,7 +2928,7 @@ const Gt = "_button_7snfv_7", Bt = "_state_7snfv_75", Vt = "_icon_7snfv_149", Ot
|
|
|
2928
2928
|
) }),
|
|
2929
2929
|
/* @__PURE__ */ a("p", { children: Ce(typeof e == "string" ? e : "Send Message") })
|
|
2930
2930
|
] }),
|
|
2931
|
-
/* @__PURE__ */ x("div", { className:
|
|
2931
|
+
/* @__PURE__ */ x("div", { className: b(I.state, I["state--sent"]), children: [
|
|
2932
2932
|
/* @__PURE__ */ a("div", { className: I.icon, children: /* @__PURE__ */ a(
|
|
2933
2933
|
"svg",
|
|
2934
2934
|
{
|
|
@@ -2962,32 +2962,32 @@ const Gt = "_button_7snfv_7", Bt = "_state_7snfv_75", Vt = "_icon_7snfv_149", Ot
|
|
|
2962
2962
|
]
|
|
2963
2963
|
}
|
|
2964
2964
|
);
|
|
2965
|
-
},
|
|
2965
|
+
}, Wt = {
|
|
2966
2966
|
sm: "px-4 py-2 text-sm",
|
|
2967
2967
|
md: "px-5 py-[10px] text-base",
|
|
2968
2968
|
lg: "px-6 py-3 text-lg"
|
|
2969
|
-
},
|
|
2969
|
+
}, Ve = k.forwardRef(({
|
|
2970
2970
|
size: e = "md",
|
|
2971
2971
|
error: r = !1,
|
|
2972
2972
|
className: o,
|
|
2973
2973
|
disabled: t,
|
|
2974
2974
|
...s
|
|
2975
|
-
},
|
|
2975
|
+
}, i) => /* @__PURE__ */ x("div", { className: "relative inline-flex items-center", children: [
|
|
2976
2976
|
/* @__PURE__ */ a(
|
|
2977
2977
|
"input",
|
|
2978
2978
|
{
|
|
2979
|
-
ref:
|
|
2980
|
-
className:
|
|
2979
|
+
ref: i,
|
|
2980
|
+
className: b(
|
|
2981
2981
|
"bg-transparent",
|
|
2982
2982
|
"border-none",
|
|
2983
2983
|
"outline-none",
|
|
2984
|
-
"
|
|
2984
|
+
"w-[247px]",
|
|
2985
2985
|
"rounded-full",
|
|
2986
2986
|
"text-text-primary",
|
|
2987
2987
|
"transition-colors duration-200",
|
|
2988
2988
|
"disabled:text-text-disabled disabled:cursor-not-allowed",
|
|
2989
2989
|
r ? "shadow-[inset_2px_5px_10px_var(--input-shadow-error)] cursor-help" : "shadow-[inset_2px_5px_10px_var(--input-shadow)]",
|
|
2990
|
-
|
|
2990
|
+
Wt[e],
|
|
2991
2991
|
o
|
|
2992
2992
|
),
|
|
2993
2993
|
style: r ? { paddingRight: "2rem" } : void 0,
|
|
@@ -3016,28 +3016,28 @@ const Gt = "_button_7snfv_7", Bt = "_state_7snfv_75", Vt = "_icon_7snfv_149", Ot
|
|
|
3016
3016
|
}
|
|
3017
3017
|
)
|
|
3018
3018
|
] }));
|
|
3019
|
-
|
|
3020
|
-
const
|
|
3019
|
+
Ve.displayName = "Input";
|
|
3020
|
+
const Zt = k.forwardRef(({
|
|
3021
3021
|
label: e,
|
|
3022
3022
|
error: r = !1,
|
|
3023
3023
|
className: o,
|
|
3024
3024
|
disabled: t,
|
|
3025
3025
|
checked: s,
|
|
3026
|
-
onChange:
|
|
3026
|
+
onChange: i,
|
|
3027
3027
|
...n
|
|
3028
3028
|
}, m) => {
|
|
3029
|
-
const
|
|
3030
|
-
return /* @__PURE__ */ x("div", { className:
|
|
3031
|
-
/* @__PURE__ */ x("label", { className:
|
|
3029
|
+
const l = k.useId();
|
|
3030
|
+
return /* @__PURE__ */ x("div", { className: b("flex items-center space-x-2", t && "cursor-not-allowed", r && !t && "cursor-help", o), children: [
|
|
3031
|
+
/* @__PURE__ */ x("label", { className: b("checkbox-container", t && "opacity-50 cursor-not-allowed", r && !t && "cursor-help", !t && !r && "cursor-pointer"), children: [
|
|
3032
3032
|
/* @__PURE__ */ a(
|
|
3033
3033
|
"input",
|
|
3034
3034
|
{
|
|
3035
3035
|
ref: m,
|
|
3036
|
-
id:
|
|
3036
|
+
id: l,
|
|
3037
3037
|
type: "checkbox",
|
|
3038
3038
|
disabled: t,
|
|
3039
3039
|
checked: s,
|
|
3040
|
-
onChange:
|
|
3040
|
+
onChange: i,
|
|
3041
3041
|
"aria-checked": s,
|
|
3042
3042
|
"aria-invalid": r,
|
|
3043
3043
|
"aria-disabled": t,
|
|
@@ -3049,15 +3049,15 @@ const Wt = C.forwardRef(({
|
|
|
3049
3049
|
{
|
|
3050
3050
|
d: "M 0 16 V 56 A 8 8 90 0 0 8 64 H 56 A 8 8 90 0 0 64 56 V 8 A 8 8 90 0 0 56 0 H 8 A 8 8 90 0 0 0 8 V 16 L 32 48 L 64 16 V 8 A 8 8 90 0 0 56 0 H 8 A 8 8 90 0 0 0 8 V 56 A 8 8 90 0 0 8 64 H 56 A 8 8 90 0 0 64 56 V 16",
|
|
3051
3051
|
pathLength: "575.0541381835938",
|
|
3052
|
-
className:
|
|
3052
|
+
className: b("checkbox-path", r && "checkbox-path-error")
|
|
3053
3053
|
}
|
|
3054
3054
|
) })
|
|
3055
3055
|
] }),
|
|
3056
3056
|
e && /* @__PURE__ */ a(
|
|
3057
3057
|
"label",
|
|
3058
3058
|
{
|
|
3059
|
-
htmlFor:
|
|
3060
|
-
className:
|
|
3059
|
+
htmlFor: l,
|
|
3060
|
+
className: b(
|
|
3061
3061
|
"text-sm font-medium select-none",
|
|
3062
3062
|
t ? "text-text-disabled cursor-not-allowed" : r ? "text-text-primary cursor-help" : "text-text-primary cursor-pointer"
|
|
3063
3063
|
),
|
|
@@ -3066,21 +3066,21 @@ const Wt = C.forwardRef(({
|
|
|
3066
3066
|
)
|
|
3067
3067
|
] });
|
|
3068
3068
|
});
|
|
3069
|
-
|
|
3070
|
-
const
|
|
3069
|
+
Zt.displayName = "Checkbox";
|
|
3070
|
+
const lr = ({
|
|
3071
3071
|
label: e,
|
|
3072
3072
|
error: r = !1,
|
|
3073
3073
|
className: o,
|
|
3074
3074
|
disabled: t,
|
|
3075
3075
|
checked: s,
|
|
3076
|
-
onChange:
|
|
3076
|
+
onChange: i,
|
|
3077
3077
|
id: n,
|
|
3078
3078
|
...m
|
|
3079
3079
|
}) => {
|
|
3080
|
-
const
|
|
3081
|
-
if ((
|
|
3082
|
-
|
|
3083
|
-
const w = document.getElementById(
|
|
3080
|
+
const l = n || k.useId(), u = (g) => {
|
|
3081
|
+
if ((g.key === "Enter" || g.key === " ") && !t) {
|
|
3082
|
+
g.preventDefault();
|
|
3083
|
+
const w = document.getElementById(l);
|
|
3084
3084
|
if (w) {
|
|
3085
3085
|
w.checked = !w.checked;
|
|
3086
3086
|
const y = new Event("change", { bubbles: !0 });
|
|
@@ -3088,15 +3088,15 @@ const rr = ({
|
|
|
3088
3088
|
}
|
|
3089
3089
|
}
|
|
3090
3090
|
};
|
|
3091
|
-
return /* @__PURE__ */ x("div", { className:
|
|
3091
|
+
return /* @__PURE__ */ x("div", { className: b("toggle-wrapper", r && "toggle-wrapper--error", t && "cursor-not-allowed", r && !t && "cursor-help", o), children: [
|
|
3092
3092
|
/* @__PURE__ */ a(
|
|
3093
3093
|
"input",
|
|
3094
3094
|
{
|
|
3095
|
-
id:
|
|
3095
|
+
id: l,
|
|
3096
3096
|
className: "toggle-checkbox",
|
|
3097
3097
|
type: "checkbox",
|
|
3098
3098
|
checked: s,
|
|
3099
|
-
onChange:
|
|
3099
|
+
onChange: i,
|
|
3100
3100
|
disabled: t,
|
|
3101
3101
|
role: "switch",
|
|
3102
3102
|
"aria-checked": s,
|
|
@@ -3108,19 +3108,19 @@ const rr = ({
|
|
|
3108
3108
|
/* @__PURE__ */ a(
|
|
3109
3109
|
"div",
|
|
3110
3110
|
{
|
|
3111
|
-
className:
|
|
3111
|
+
className: b("toggle-container", t && "cursor-not-allowed", r && !t && "cursor-help"),
|
|
3112
3112
|
onKeyDown: u,
|
|
3113
3113
|
tabIndex: t ? -1 : 0,
|
|
3114
3114
|
role: "button",
|
|
3115
3115
|
"aria-hidden": "true",
|
|
3116
|
-
children: /* @__PURE__ */ a("div", { className: "toggle-button", children: /* @__PURE__ */ a("div", { className: "toggle-button-circles-container", children: Array.from({ length: 12 }).map((
|
|
3116
|
+
children: /* @__PURE__ */ a("div", { className: "toggle-button", children: /* @__PURE__ */ a("div", { className: "toggle-button-circles-container", children: Array.from({ length: 12 }).map((g, w) => /* @__PURE__ */ a("div", { className: "toggle-button-circle" }, w)) }) })
|
|
3117
3117
|
}
|
|
3118
3118
|
),
|
|
3119
3119
|
e && /* @__PURE__ */ a(
|
|
3120
3120
|
"label",
|
|
3121
3121
|
{
|
|
3122
|
-
htmlFor:
|
|
3123
|
-
className:
|
|
3122
|
+
htmlFor: l,
|
|
3123
|
+
className: b(
|
|
3124
3124
|
"text-sm font-medium select-none ml-2",
|
|
3125
3125
|
t ? "text-text-disabled cursor-not-allowed" : r ? "text-text-primary cursor-help" : "text-text-primary cursor-pointer"
|
|
3126
3126
|
),
|
|
@@ -3128,10 +3128,10 @@ const rr = ({
|
|
|
3128
3128
|
}
|
|
3129
3129
|
)
|
|
3130
3130
|
] });
|
|
3131
|
-
},
|
|
3131
|
+
}, cr = ({ className: e, ...r }) => /* @__PURE__ */ a(
|
|
3132
3132
|
"div",
|
|
3133
3133
|
{
|
|
3134
|
-
className:
|
|
3134
|
+
className: b(
|
|
3135
3135
|
"card",
|
|
3136
3136
|
"w-full",
|
|
3137
3137
|
"rounded-lg border border-border",
|
|
@@ -3141,104 +3141,104 @@ const rr = ({
|
|
|
3141
3141
|
),
|
|
3142
3142
|
...r
|
|
3143
3143
|
}
|
|
3144
|
-
),
|
|
3144
|
+
), dr = ({ className: e, ...r }) => /* @__PURE__ */ a(
|
|
3145
3145
|
"div",
|
|
3146
3146
|
{
|
|
3147
|
-
className:
|
|
3147
|
+
className: b("flex items-start justify-between gap-4 px-6 py-4 border-b border-border", e),
|
|
3148
3148
|
...r
|
|
3149
3149
|
}
|
|
3150
|
-
),
|
|
3150
|
+
), mr = ({ className: e, ...r }) => /* @__PURE__ */ a("div", { className: b("px-6 py-4", e), ...r }), pr = ({ className: e, ...r }) => /* @__PURE__ */ a(
|
|
3151
3151
|
"div",
|
|
3152
3152
|
{
|
|
3153
|
-
className:
|
|
3153
|
+
className: b("flex items-center justify-end gap-3 px-6 py-4 border-t border-border", e),
|
|
3154
3154
|
...r
|
|
3155
3155
|
}
|
|
3156
|
-
),
|
|
3156
|
+
), Oe = {
|
|
3157
3157
|
sm: 0.7,
|
|
3158
3158
|
md: 1,
|
|
3159
3159
|
lg: 1.3
|
|
3160
|
-
},
|
|
3161
|
-
const t = 8 *
|
|
3162
|
-
return /* @__PURE__ */ x("div", { className:
|
|
3160
|
+
}, ur = ({ size: e = "md", className: r, ...o }) => {
|
|
3161
|
+
const t = 8 * Oe[e];
|
|
3162
|
+
return /* @__PURE__ */ x("div", { className: b("loader", r), style: { fontSize: `${t}px` }, ...o, children: [
|
|
3163
3163
|
/* @__PURE__ */ a("div", { className: "loader-face loader-face-1", children: /* @__PURE__ */ a("div", { className: "loader-circle" }) }),
|
|
3164
3164
|
/* @__PURE__ */ a("div", { className: "loader-face loader-face-2", children: /* @__PURE__ */ a("div", { className: "loader-circle" }) })
|
|
3165
3165
|
] });
|
|
3166
|
-
},
|
|
3166
|
+
}, hr = ({
|
|
3167
3167
|
size: e = "md",
|
|
3168
3168
|
variant: r = "inline",
|
|
3169
3169
|
label: o,
|
|
3170
3170
|
className: t,
|
|
3171
3171
|
...s
|
|
3172
3172
|
}) => {
|
|
3173
|
-
const
|
|
3173
|
+
const i = 8 * Oe[e];
|
|
3174
3174
|
return r === "container" ? /* @__PURE__ */ a(
|
|
3175
3175
|
"div",
|
|
3176
3176
|
{
|
|
3177
|
-
className:
|
|
3177
|
+
className: b(
|
|
3178
3178
|
"relative w-full min-h-[8rem] rounded-lg border border-border bg-surface-secondary flex items-center justify-center",
|
|
3179
3179
|
t
|
|
3180
3180
|
),
|
|
3181
3181
|
...s,
|
|
3182
3182
|
children: /* @__PURE__ */ x("div", { className: "flex flex-col items-center gap-3", children: [
|
|
3183
|
-
/* @__PURE__ */ x("div", { className: "loader", style: { fontSize: `${
|
|
3183
|
+
/* @__PURE__ */ x("div", { className: "loader", style: { fontSize: `${i}px` }, children: [
|
|
3184
3184
|
/* @__PURE__ */ a("div", { className: "loader-face loader-face-1", children: /* @__PURE__ */ a("div", { className: "loader-circle" }) }),
|
|
3185
3185
|
/* @__PURE__ */ a("div", { className: "loader-face loader-face-2", children: /* @__PURE__ */ a("div", { className: "loader-circle" }) })
|
|
3186
3186
|
] }),
|
|
3187
3187
|
o && /* @__PURE__ */ a("span", { className: "text-sm text-text-secondary", children: o })
|
|
3188
3188
|
] })
|
|
3189
3189
|
}
|
|
3190
|
-
) : /* @__PURE__ */ x("div", { className:
|
|
3191
|
-
/* @__PURE__ */ x("div", { className: "loader", style: { fontSize: `${
|
|
3190
|
+
) : /* @__PURE__ */ x("div", { className: b("inline-flex items-center gap-2", t), ...s, children: [
|
|
3191
|
+
/* @__PURE__ */ x("div", { className: "loader", style: { fontSize: `${i}px` }, children: [
|
|
3192
3192
|
/* @__PURE__ */ a("div", { className: "loader-face loader-face-1", children: /* @__PURE__ */ a("div", { className: "loader-circle" }) }),
|
|
3193
3193
|
/* @__PURE__ */ a("div", { className: "loader-face loader-face-2", children: /* @__PURE__ */ a("div", { className: "loader-circle" }) })
|
|
3194
3194
|
] }),
|
|
3195
3195
|
o && /* @__PURE__ */ a("span", { className: "text-sm text-text-secondary", children: o })
|
|
3196
3196
|
] });
|
|
3197
|
-
},
|
|
3197
|
+
}, $e = k.createContext(null), br = ({
|
|
3198
3198
|
name: e,
|
|
3199
3199
|
legend: r,
|
|
3200
3200
|
value: o,
|
|
3201
3201
|
defaultValue: t,
|
|
3202
3202
|
disabled: s = !1,
|
|
3203
|
-
onValueChange:
|
|
3203
|
+
onValueChange: i,
|
|
3204
3204
|
className: n,
|
|
3205
3205
|
children: m,
|
|
3206
|
-
...
|
|
3206
|
+
...l
|
|
3207
3207
|
}) => {
|
|
3208
|
-
const u = o !== void 0, [
|
|
3208
|
+
const u = o !== void 0, [g, w] = k.useState(t), y = u ? o : g, N = k.useCallback(
|
|
3209
3209
|
(v) => {
|
|
3210
|
-
u || w(v),
|
|
3210
|
+
u || w(v), i?.(v);
|
|
3211
3211
|
},
|
|
3212
|
-
[u,
|
|
3212
|
+
[u, i]
|
|
3213
3213
|
);
|
|
3214
|
-
return /* @__PURE__ */ a(
|
|
3214
|
+
return /* @__PURE__ */ a($e.Provider, { value: { name: e, value: y, disabled: s, onValueChange: N }, children: /* @__PURE__ */ x(
|
|
3215
3215
|
"fieldset",
|
|
3216
3216
|
{
|
|
3217
|
-
className:
|
|
3217
|
+
className: b("radio-input", s && "opacity-60 cursor-not-allowed", n),
|
|
3218
3218
|
disabled: s,
|
|
3219
|
-
...
|
|
3219
|
+
...l,
|
|
3220
3220
|
children: [
|
|
3221
3221
|
r && /* @__PURE__ */ a("legend", { className: "text-sm font-medium text-text-primary", children: r }),
|
|
3222
3222
|
m
|
|
3223
3223
|
]
|
|
3224
3224
|
}
|
|
3225
3225
|
) });
|
|
3226
|
-
},
|
|
3226
|
+
}, fr = ({
|
|
3227
3227
|
label: e,
|
|
3228
3228
|
value: r,
|
|
3229
3229
|
disabled: o,
|
|
3230
3230
|
checked: t,
|
|
3231
3231
|
defaultChecked: s,
|
|
3232
|
-
name:
|
|
3232
|
+
name: i,
|
|
3233
3233
|
onChange: n,
|
|
3234
3234
|
onCheckedChange: m,
|
|
3235
|
-
className:
|
|
3235
|
+
className: l,
|
|
3236
3236
|
...u
|
|
3237
3237
|
}) => {
|
|
3238
|
-
const
|
|
3239
|
-
const L =
|
|
3240
|
-
v && L ?
|
|
3241
|
-
},
|
|
3238
|
+
const g = k.useContext($e), w = k.useId(), y = !!(o ?? g?.disabled), N = i ?? g?.name, v = !!g, M = t !== void 0, [z, T] = k.useState(!!s), G = v ? g?.value === r : M ? !!t : z, O = (j) => {
|
|
3239
|
+
const L = j.target.checked;
|
|
3240
|
+
v && L ? g?.onValueChange?.(r) : M || T(L), m?.(L), n?.(j);
|
|
3241
|
+
}, E = /* @__PURE__ */ x("label", { htmlFor: w, className: b(y && "cursor-not-allowed", l), role: "radio", "aria-checked": G, "aria-disabled": y, children: [
|
|
3242
3242
|
/* @__PURE__ */ a(
|
|
3243
3243
|
"input",
|
|
3244
3244
|
{
|
|
@@ -3248,7 +3248,7 @@ const rr = ({
|
|
|
3248
3248
|
value: r,
|
|
3249
3249
|
checked: G,
|
|
3250
3250
|
disabled: y,
|
|
3251
|
-
onChange:
|
|
3251
|
+
onChange: O,
|
|
3252
3252
|
role: "radio",
|
|
3253
3253
|
"aria-checked": G,
|
|
3254
3254
|
"aria-disabled": y,
|
|
@@ -3257,76 +3257,76 @@ const rr = ({
|
|
|
3257
3257
|
),
|
|
3258
3258
|
/* @__PURE__ */ a("span", { children: e || "" })
|
|
3259
3259
|
] });
|
|
3260
|
-
return v ?
|
|
3261
|
-
},
|
|
3260
|
+
return v ? E : /* @__PURE__ */ a("div", { className: "radio-input", children: E });
|
|
3261
|
+
}, Ut = {
|
|
3262
3262
|
top: "bottom-full left-1/2 -translate-x-1/2 mb-1",
|
|
3263
3263
|
bottom: "top-full left-1/2 -translate-x-1/2 mt-1",
|
|
3264
3264
|
left: "right-full top-1/2 -translate-y-1/2 mr-1",
|
|
3265
3265
|
right: "left-full top-1/2 -translate-y-1/2 ml-1"
|
|
3266
|
-
},
|
|
3266
|
+
}, Ht = {
|
|
3267
3267
|
top: "top-full left-1/2 -translate-x-1/2 -mt-px",
|
|
3268
3268
|
bottom: "bottom-full left-1/2 -translate-x-1/2 -mb-px",
|
|
3269
3269
|
left: "left-full top-1/2 -translate-y-1/2 -ml-px",
|
|
3270
3270
|
right: "right-full top-1/2 -translate-y-1/2 -mr-px"
|
|
3271
|
-
},
|
|
3271
|
+
}, qt = {
|
|
3272
3272
|
top: "border-t-border border-r-transparent border-b-transparent border-l-transparent border-t-[6px] border-r-[6px] border-l-[6px]",
|
|
3273
3273
|
bottom: "border-b-border border-r-transparent border-t-transparent border-l-transparent border-b-[6px] border-r-[6px] border-l-[6px]",
|
|
3274
3274
|
left: "border-l-border border-r-transparent border-t-transparent border-b-transparent border-l-[6px] border-t-[6px] border-b-[6px]",
|
|
3275
3275
|
right: "border-r-border border-l-transparent border-t-transparent border-b-transparent border-r-[6px] border-t-[6px] border-b-[6px]"
|
|
3276
|
-
},
|
|
3276
|
+
}, Kt = {
|
|
3277
3277
|
top: "top-full left-1/2 -translate-x-1/2 -mt-[5px]",
|
|
3278
3278
|
bottom: "bottom-full left-1/2 -translate-x-1/2 -mb-[5px]",
|
|
3279
3279
|
left: "left-full top-1/2 -translate-y-1/2 -ml-[5px]",
|
|
3280
3280
|
right: "right-full top-1/2 -translate-y-1/2 -mr-[5px]"
|
|
3281
|
-
},
|
|
3281
|
+
}, gr = ({
|
|
3282
3282
|
open: e,
|
|
3283
3283
|
onOpenChange: r,
|
|
3284
3284
|
content: o,
|
|
3285
3285
|
position: t = "top",
|
|
3286
3286
|
delay: s = 0,
|
|
3287
|
-
disabled:
|
|
3287
|
+
disabled: i = !1,
|
|
3288
3288
|
children: n,
|
|
3289
3289
|
className: m
|
|
3290
3290
|
}) => {
|
|
3291
|
-
const
|
|
3292
|
-
|
|
3291
|
+
const l = k.useRef(null), u = () => {
|
|
3292
|
+
l.current !== null && (window.clearTimeout(l.current), l.current = null);
|
|
3293
3293
|
};
|
|
3294
|
-
|
|
3295
|
-
const
|
|
3296
|
-
if (!
|
|
3294
|
+
k.useEffect(() => u, []);
|
|
3295
|
+
const g = () => {
|
|
3296
|
+
if (!i) {
|
|
3297
3297
|
if (u(), s > 0) {
|
|
3298
|
-
|
|
3298
|
+
l.current = window.setTimeout(() => r?.(!0), s);
|
|
3299
3299
|
return;
|
|
3300
3300
|
}
|
|
3301
3301
|
r?.(!0);
|
|
3302
3302
|
}
|
|
3303
3303
|
}, w = () => {
|
|
3304
3304
|
u(), r?.(!1);
|
|
3305
|
-
}, y =
|
|
3306
|
-
return /* @__PURE__ */ x("span", { className:
|
|
3307
|
-
|
|
3308
|
-
"aria-describedby": e && !
|
|
3305
|
+
}, y = k.Children.only(n), N = k.useId();
|
|
3306
|
+
return /* @__PURE__ */ x("span", { className: b("relative inline-block", m), children: [
|
|
3307
|
+
k.cloneElement(y, {
|
|
3308
|
+
"aria-describedby": e && !i ? N : void 0,
|
|
3309
3309
|
onMouseEnter: (v) => {
|
|
3310
|
-
y.props.onMouseEnter?.(v),
|
|
3310
|
+
y.props.onMouseEnter?.(v), g();
|
|
3311
3311
|
},
|
|
3312
3312
|
onMouseLeave: (v) => {
|
|
3313
3313
|
y.props.onMouseLeave?.(v), w();
|
|
3314
3314
|
},
|
|
3315
3315
|
onFocus: (v) => {
|
|
3316
|
-
y.props.onFocus?.(v),
|
|
3316
|
+
y.props.onFocus?.(v), g();
|
|
3317
3317
|
},
|
|
3318
3318
|
onBlur: (v) => {
|
|
3319
3319
|
y.props.onBlur?.(v), w();
|
|
3320
3320
|
}
|
|
3321
3321
|
}),
|
|
3322
|
-
e && !
|
|
3322
|
+
e && !i && /* @__PURE__ */ x(
|
|
3323
3323
|
"span",
|
|
3324
3324
|
{
|
|
3325
3325
|
id: N,
|
|
3326
3326
|
role: "tooltip",
|
|
3327
|
-
className:
|
|
3327
|
+
className: b(
|
|
3328
3328
|
"absolute z-50 pointer-events-none",
|
|
3329
|
-
|
|
3329
|
+
Ut[t],
|
|
3330
3330
|
"whitespace-nowrap",
|
|
3331
3331
|
"rounded-md border border-border bg-surface text-text-primary",
|
|
3332
3332
|
"px-3 py-2 text-xs shadow-md"
|
|
@@ -3336,19 +3336,19 @@ const rr = ({
|
|
|
3336
3336
|
/* @__PURE__ */ a(
|
|
3337
3337
|
"span",
|
|
3338
3338
|
{
|
|
3339
|
-
className:
|
|
3339
|
+
className: b(
|
|
3340
3340
|
"absolute w-0 h-0",
|
|
3341
|
-
|
|
3342
|
-
|
|
3341
|
+
Ht[t],
|
|
3342
|
+
qt[t]
|
|
3343
3343
|
)
|
|
3344
3344
|
}
|
|
3345
3345
|
),
|
|
3346
3346
|
/* @__PURE__ */ a(
|
|
3347
3347
|
"span",
|
|
3348
3348
|
{
|
|
3349
|
-
className:
|
|
3349
|
+
className: b(
|
|
3350
3350
|
"absolute w-0 h-0 bg-surface",
|
|
3351
|
-
|
|
3351
|
+
Kt[t],
|
|
3352
3352
|
t === "top" && "border-t-[5px] border-r-[5px] border-l-[5px] border-t-surface border-r-transparent border-l-transparent",
|
|
3353
3353
|
t === "bottom" && "border-b-[5px] border-r-[5px] border-l-[5px] border-b-surface border-r-transparent border-l-transparent",
|
|
3354
3354
|
t === "left" && "border-l-[5px] border-t-[5px] border-b-[5px] border-l-surface border-t-transparent border-b-transparent",
|
|
@@ -3360,7 +3360,7 @@ const rr = ({
|
|
|
3360
3360
|
}
|
|
3361
3361
|
)
|
|
3362
3362
|
] });
|
|
3363
|
-
}, De =
|
|
3363
|
+
}, De = Ue(void 0), xr = ({
|
|
3364
3364
|
children: e,
|
|
3365
3365
|
defaultTheme: r
|
|
3366
3366
|
}) => {
|
|
@@ -3371,38 +3371,38 @@ const rr = ({
|
|
|
3371
3371
|
return n;
|
|
3372
3372
|
}
|
|
3373
3373
|
return typeof window < "u" && window.matchMedia ? window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : r || "dark";
|
|
3374
|
-
}, [t, s] =
|
|
3374
|
+
}, [t, s] = Ne(o), i = k.useCallback((n) => {
|
|
3375
3375
|
s(n), typeof window < "u" && localStorage.setItem("theme", n);
|
|
3376
3376
|
}, []);
|
|
3377
|
-
return
|
|
3377
|
+
return k.useEffect(() => {
|
|
3378
3378
|
if (typeof document > "u") return;
|
|
3379
3379
|
const n = document.documentElement;
|
|
3380
3380
|
t === "light" ? (n.classList.add("theme-light"), n.classList.remove("theme-dark")) : (n.classList.add("theme-dark"), n.classList.remove("theme-light"));
|
|
3381
|
-
}, [t]),
|
|
3381
|
+
}, [t]), k.useEffect(() => {
|
|
3382
3382
|
if (typeof window > "u" || !window.matchMedia) return;
|
|
3383
|
-
const n = window.matchMedia("(prefers-color-scheme: dark)"), m = (
|
|
3384
|
-
typeof window < "u" && !localStorage.getItem("theme") && s(
|
|
3383
|
+
const n = window.matchMedia("(prefers-color-scheme: dark)"), m = (l) => {
|
|
3384
|
+
typeof window < "u" && !localStorage.getItem("theme") && s(l.matches ? "dark" : "light");
|
|
3385
3385
|
};
|
|
3386
3386
|
if (n.addEventListener)
|
|
3387
3387
|
return n.addEventListener("change", m), () => n.removeEventListener("change", m);
|
|
3388
3388
|
if (n.addListener)
|
|
3389
3389
|
return n.addListener(m), () => n.removeListener(m);
|
|
3390
|
-
}, []), /* @__PURE__ */ a(De.Provider, { value: { theme: t, setTheme:
|
|
3391
|
-
},
|
|
3392
|
-
const e =
|
|
3390
|
+
}, []), /* @__PURE__ */ a(De.Provider, { value: { theme: t, setTheme: i }, children: e });
|
|
3391
|
+
}, Yt = () => {
|
|
3392
|
+
const e = He(De);
|
|
3393
3393
|
if (e === void 0)
|
|
3394
3394
|
throw new Error("useTheme must be used within a ThemeProvider");
|
|
3395
3395
|
return e;
|
|
3396
|
-
},
|
|
3396
|
+
}, wr = ({
|
|
3397
3397
|
className: e,
|
|
3398
3398
|
showLabel: r = !0
|
|
3399
3399
|
}) => {
|
|
3400
|
-
const { theme: o, setTheme: t } =
|
|
3400
|
+
const { theme: o, setTheme: t } = Yt(), s = o === "dark", i = () => {
|
|
3401
3401
|
t(s ? "light" : "dark");
|
|
3402
3402
|
}, n = (m) => {
|
|
3403
|
-
(m.key === "Enter" || m.key === " ") && (m.preventDefault(),
|
|
3403
|
+
(m.key === "Enter" || m.key === " ") && (m.preventDefault(), i());
|
|
3404
3404
|
};
|
|
3405
|
-
return /* @__PURE__ */ x("div", { className:
|
|
3405
|
+
return /* @__PURE__ */ x("div", { className: b("flex items-center gap-3", e), children: [
|
|
3406
3406
|
/* @__PURE__ */ x(
|
|
3407
3407
|
"label",
|
|
3408
3408
|
{
|
|
@@ -3419,7 +3419,7 @@ const rr = ({
|
|
|
3419
3419
|
type: "checkbox",
|
|
3420
3420
|
className: "theme-switch__checkbox",
|
|
3421
3421
|
checked: s,
|
|
3422
|
-
onChange:
|
|
3422
|
+
onChange: i,
|
|
3423
3423
|
"aria-hidden": "true"
|
|
3424
3424
|
}
|
|
3425
3425
|
),
|
|
@@ -3445,7 +3445,7 @@ const rr = ({
|
|
|
3445
3445
|
),
|
|
3446
3446
|
r && /* @__PURE__ */ a("span", { className: "text-sm font-medium text-text-primary", children: s ? "Dark" : "Light" })
|
|
3447
3447
|
] });
|
|
3448
|
-
},
|
|
3448
|
+
}, Xt = ({
|
|
3449
3449
|
width: e = 315,
|
|
3450
3450
|
aspectRatio: r = 1.33,
|
|
3451
3451
|
className: o,
|
|
@@ -3454,7 +3454,7 @@ const rr = ({
|
|
|
3454
3454
|
}) => /* @__PURE__ */ x(
|
|
3455
3455
|
"div",
|
|
3456
3456
|
{
|
|
3457
|
-
className:
|
|
3457
|
+
className: b(
|
|
3458
3458
|
"relative flex justify-center items-center overflow-hidden",
|
|
3459
3459
|
"bg-surface-tertiary rounded-[24px]",
|
|
3460
3460
|
"shadow-[0_4px_8px_rgba(0,0,0,0.2),0_8px_16px_rgba(0,0,0,0.2),0_0_8px_rgba(255,255,255,0.1),0_0_16px_rgba(255,255,255,0.08)]",
|
|
@@ -3479,7 +3479,7 @@ const rr = ({
|
|
|
3479
3479
|
t
|
|
3480
3480
|
]
|
|
3481
3481
|
}
|
|
3482
|
-
),
|
|
3482
|
+
), Jt = ({
|
|
3483
3483
|
width: e = 315,
|
|
3484
3484
|
aspectRatio: r = 1.33,
|
|
3485
3485
|
className: o,
|
|
@@ -3488,7 +3488,7 @@ const rr = ({
|
|
|
3488
3488
|
}) => /* @__PURE__ */ a(
|
|
3489
3489
|
"div",
|
|
3490
3490
|
{
|
|
3491
|
-
className:
|
|
3491
|
+
className: b(
|
|
3492
3492
|
"absolute bg-surface-tertiary rounded-[24px] p-7 z-[10]",
|
|
3493
3493
|
"backdrop-blur-[15px]",
|
|
3494
3494
|
"shadow-[inset_0_40px_60px_-8px_rgba(255,255,255,0.12),inset_4px_0_12px_-6px_rgba(255,255,255,0.12),inset_0_0_12px_-4px_rgba(255,255,255,0.12)]",
|
|
@@ -3501,10 +3501,10 @@ const rr = ({
|
|
|
3501
3501
|
...s,
|
|
3502
3502
|
children: t
|
|
3503
3503
|
}
|
|
3504
|
-
),
|
|
3504
|
+
), Qt = ({ className: e, ...r }) => /* @__PURE__ */ x(
|
|
3505
3505
|
"div",
|
|
3506
3506
|
{
|
|
3507
|
-
className:
|
|
3507
|
+
className: b(
|
|
3508
3508
|
"w-[65px] h-[65px] rounded-[20px] border-2 border-white",
|
|
3509
3509
|
"bg-gradient-to-br from-white/20 to-black/20",
|
|
3510
3510
|
"shadow-[8px_8px_16px_rgba(0,0,0,0.2),-8px_-8px_16px_rgba(255,255,255,0.06)]",
|
|
@@ -3517,30 +3517,30 @@ const rr = ({
|
|
|
3517
3517
|
/* @__PURE__ */ a("div", { className: "absolute top-[10px] w-[30%] h-[30%] rounded-full border-[2.5px] border-white" })
|
|
3518
3518
|
]
|
|
3519
3519
|
}
|
|
3520
|
-
),
|
|
3520
|
+
), yr = ({
|
|
3521
3521
|
title: e,
|
|
3522
3522
|
showLogo: r = !1,
|
|
3523
3523
|
footer: o,
|
|
3524
3524
|
width: t = 315,
|
|
3525
3525
|
aspectRatio: s = 1.33,
|
|
3526
|
-
className:
|
|
3526
|
+
className: i,
|
|
3527
3527
|
children: n,
|
|
3528
3528
|
...m
|
|
3529
|
-
}) => /* @__PURE__ */ a(
|
|
3529
|
+
}) => /* @__PURE__ */ a(Xt, { width: t, aspectRatio: s, children: /* @__PURE__ */ x(Jt, { width: t, aspectRatio: s, children: [
|
|
3530
3530
|
/* @__PURE__ */ x(
|
|
3531
3531
|
"form",
|
|
3532
3532
|
{
|
|
3533
|
-
className:
|
|
3533
|
+
className: b("flex justify-center items-center flex-col gap-[10px]", i),
|
|
3534
3534
|
...m,
|
|
3535
3535
|
children: [
|
|
3536
|
-
r && /* @__PURE__ */ a("div", { className: "flex justify-center items-center mb-2", children: /* @__PURE__ */ a(
|
|
3536
|
+
r && /* @__PURE__ */ a("div", { className: "flex justify-center items-center mb-2", children: /* @__PURE__ */ a(Qt, {}) }),
|
|
3537
3537
|
e && /* @__PURE__ */ a("div", { className: "w-full text-center text-2xl font-bold py-1.5 text-text-primary flex justify-center items-center", children: e }),
|
|
3538
3538
|
n
|
|
3539
3539
|
]
|
|
3540
3540
|
}
|
|
3541
3541
|
),
|
|
3542
3542
|
o && /* @__PURE__ */ a("div", { className: "w-full text-left text-text-secondary text-xs mt-4", children: o })
|
|
3543
|
-
] }) }),
|
|
3543
|
+
] }) }), vr = ({
|
|
3544
3544
|
label: e,
|
|
3545
3545
|
error: r,
|
|
3546
3546
|
className: o,
|
|
@@ -3549,9 +3549,9 @@ const rr = ({
|
|
|
3549
3549
|
}) => /* @__PURE__ */ x("div", { className: "w-full", children: [
|
|
3550
3550
|
e && /* @__PURE__ */ a("label", { className: "block text-text-primary text-sm mb-1.5", children: e }),
|
|
3551
3551
|
/* @__PURE__ */ a("div", { className: "flex justify-center", children: /* @__PURE__ */ a(
|
|
3552
|
-
|
|
3552
|
+
Ve,
|
|
3553
3553
|
{
|
|
3554
|
-
className:
|
|
3554
|
+
className: b(
|
|
3555
3555
|
"p-3 border-none rounded-xl bg-surface text-text-primary text-sm outline-none",
|
|
3556
3556
|
"focus:border focus:border-border-focus",
|
|
3557
3557
|
o
|
|
@@ -3561,7 +3561,7 @@ const rr = ({
|
|
|
3561
3561
|
...s
|
|
3562
3562
|
}
|
|
3563
3563
|
) })
|
|
3564
|
-
] }),
|
|
3564
|
+
] }), kr = ({
|
|
3565
3565
|
variant: e = "primary",
|
|
3566
3566
|
className: r,
|
|
3567
3567
|
children: o,
|
|
@@ -3569,7 +3569,7 @@ const rr = ({
|
|
|
3569
3569
|
}) => e === "google" ? /* @__PURE__ */ a(
|
|
3570
3570
|
"button",
|
|
3571
3571
|
{
|
|
3572
|
-
className:
|
|
3572
|
+
className: b(
|
|
3573
3573
|
"w-full h-10 border-none rounded-[20px] text-sm font-semibold cursor-pointer",
|
|
3574
3574
|
"grid place-content-center gap-2.5 bg-surface-secondary text-text-primary",
|
|
3575
3575
|
"transition-all duration-300",
|
|
@@ -3584,7 +3584,7 @@ const rr = ({
|
|
|
3584
3584
|
) : /* @__PURE__ */ a(
|
|
3585
3585
|
Ge,
|
|
3586
3586
|
{
|
|
3587
|
-
className:
|
|
3587
|
+
className: b(
|
|
3588
3588
|
"w-full h-10 rounded-[20px] text-sm font-semibold mt-1.5",
|
|
3589
3589
|
r
|
|
3590
3590
|
),
|
|
@@ -3592,28 +3592,28 @@ const rr = ({
|
|
|
3592
3592
|
...t,
|
|
3593
3593
|
children: o
|
|
3594
3594
|
}
|
|
3595
|
-
),
|
|
3595
|
+
), _r = ({
|
|
3596
3596
|
className: e,
|
|
3597
3597
|
children: r,
|
|
3598
3598
|
...o
|
|
3599
3599
|
}) => /* @__PURE__ */ a(
|
|
3600
3600
|
"div",
|
|
3601
3601
|
{
|
|
3602
|
-
className:
|
|
3602
|
+
className: b(
|
|
3603
3603
|
"w-full text-left text-text-secondary text-xs",
|
|
3604
3604
|
e
|
|
3605
3605
|
),
|
|
3606
3606
|
...o,
|
|
3607
3607
|
children: r
|
|
3608
3608
|
}
|
|
3609
|
-
),
|
|
3609
|
+
), Cr = ({
|
|
3610
3610
|
className: e,
|
|
3611
3611
|
children: r,
|
|
3612
3612
|
...o
|
|
3613
3613
|
}) => /* @__PURE__ */ a(
|
|
3614
3614
|
"a",
|
|
3615
3615
|
{
|
|
3616
|
-
className:
|
|
3616
|
+
className: b(
|
|
3617
3617
|
"relative text-text-secondary font-semibold no-underline transition-colors duration-300 ease-in-out",
|
|
3618
3618
|
"hover:text-white",
|
|
3619
3619
|
'after:content-[""] after:absolute after:left-0 after:bottom-[-2px] after:w-0 after:rounded-md after:h-[1px] after:bg-current after:transition-[width] after:duration-300 after:ease-in-out',
|
|
@@ -3623,28 +3623,74 @@ const rr = ({
|
|
|
3623
3623
|
...o,
|
|
3624
3624
|
children: r
|
|
3625
3625
|
}
|
|
3626
|
-
)
|
|
3626
|
+
), er = "_container_lo9nb_1", tr = "_input_lo9nb_60", rr = "_search__icon_lo9nb_89", R = {
|
|
3627
|
+
container: er,
|
|
3628
|
+
"container--size-sm": "_container--size-sm_lo9nb_13",
|
|
3629
|
+
"container--size-md": "_container--size-md_lo9nb_17",
|
|
3630
|
+
"container--size-lg": "_container--size-lg_lo9nb_21",
|
|
3631
|
+
"search-container": "_search-container_lo9nb_25",
|
|
3632
|
+
input: tr,
|
|
3633
|
+
"input--size-sm": "_input--size-sm_lo9nb_74",
|
|
3634
|
+
"input--size-md": "_input--size-md_lo9nb_79",
|
|
3635
|
+
"input--size-lg": "_input--size-lg_lo9nb_84",
|
|
3636
|
+
search__icon: rr
|
|
3637
|
+
}, or = {
|
|
3638
|
+
sm: {
|
|
3639
|
+
container: R["container--size-sm"],
|
|
3640
|
+
input: R["input--size-sm"]
|
|
3641
|
+
},
|
|
3642
|
+
md: {
|
|
3643
|
+
container: R["container--size-md"],
|
|
3644
|
+
input: R["input--size-md"]
|
|
3645
|
+
},
|
|
3646
|
+
lg: {
|
|
3647
|
+
container: R["container--size-lg"],
|
|
3648
|
+
input: R["input--size-lg"]
|
|
3649
|
+
}
|
|
3650
|
+
}, sr = k.forwardRef(({
|
|
3651
|
+
size: e = "md",
|
|
3652
|
+
className: r,
|
|
3653
|
+
inputClassName: o,
|
|
3654
|
+
searchContainerClassName: t,
|
|
3655
|
+
...s
|
|
3656
|
+
}, i) => {
|
|
3657
|
+
const n = or[e];
|
|
3658
|
+
return /* @__PURE__ */ a("div", { className: b(R.container, n.container, r), children: /* @__PURE__ */ x("div", { className: b(R["search-container"], t), children: [
|
|
3659
|
+
/* @__PURE__ */ a(
|
|
3660
|
+
"input",
|
|
3661
|
+
{
|
|
3662
|
+
ref: i,
|
|
3663
|
+
className: b(R.input, n.input, o),
|
|
3664
|
+
type: "search",
|
|
3665
|
+
...s
|
|
3666
|
+
}
|
|
3667
|
+
),
|
|
3668
|
+
/* @__PURE__ */ a("svg", { viewBox: "0 0 24 24", className: R.search__icon, "aria-hidden": "true", focusable: "false", children: /* @__PURE__ */ a("g", { children: /* @__PURE__ */ a("path", { d: "M21.53 20.47l-3.66-3.66C19.195 15.24 20 13.214 20 11c0-4.97-4.03-9-9-9s-9 4.03-9 9 4.03 9 9 9c2.215 0 4.24-.804 5.808-2.13l3.66 3.66c.147.146.34.22.53.22s.385-.073.53-.22c.295-.293.295-.767.002-1.06zM3.5 11c0-4.135 3.365-7.5 7.5-7.5s7.5 3.365 7.5 7.5-3.365 7.5-7.5 7.5-7.5-3.365-7.5-7.5z" }) }) })
|
|
3669
|
+
] }) });
|
|
3670
|
+
});
|
|
3671
|
+
sr.displayName = "SearchBar";
|
|
3627
3672
|
export {
|
|
3628
3673
|
Ge as Button,
|
|
3629
|
-
|
|
3630
|
-
|
|
3631
|
-
|
|
3632
|
-
|
|
3633
|
-
|
|
3634
|
-
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
|
|
3644
|
-
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
|
|
3674
|
+
cr as Card,
|
|
3675
|
+
mr as CardContent,
|
|
3676
|
+
pr as CardFooter,
|
|
3677
|
+
dr as CardHeader,
|
|
3678
|
+
Zt as Checkbox,
|
|
3679
|
+
yr as Form,
|
|
3680
|
+
kr as FormButton,
|
|
3681
|
+
vr as FormField,
|
|
3682
|
+
_r as FormFooter,
|
|
3683
|
+
Cr as FormFooterLink,
|
|
3684
|
+
Ve as Input,
|
|
3685
|
+
hr as Loader,
|
|
3686
|
+
fr as RadioButton,
|
|
3687
|
+
br as RadioGroup,
|
|
3688
|
+
sr as SearchBar,
|
|
3689
|
+
ur as Spinner,
|
|
3690
|
+
ir as SubmitButton,
|
|
3691
|
+
xr as ThemeProvider,
|
|
3692
|
+
wr as ThemeSwitch,
|
|
3693
|
+
lr as Toggle,
|
|
3694
|
+
gr as Tooltip,
|
|
3695
|
+
Yt as useTheme
|
|
3650
3696
|
};
|