@possibly6400/ui-kit 1.0.14 → 1.0.16
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 +109 -0
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +644 -588
- package/dist/index.mjs.map +1 -0
- package/dist/styles.css +1 -1
- package/package.json +12 -2
package/dist/index.mjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { jsxs as g, jsx as n
|
|
2
|
-
import y, { useState as
|
|
3
|
-
function
|
|
1
|
+
import { jsxs as g, jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import y, { useState as ie, useId as Xe, useRef as ee, useEffect as ce, useCallback as Ie, createContext as Je, useContext as Qe } from "react";
|
|
3
|
+
function Re(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 = Re(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
12
|
function et() {
|
|
13
|
-
for (var e, r, o = 0, t = "", s = arguments.length; o < s; o++) (e = arguments[o]) && (r =
|
|
13
|
+
for (var e, r, o = 0, t = "", s = arguments.length; o < s; o++) (e = arguments[o]) && (r = Re(e)) && (t && (t += " "), t += r);
|
|
14
14
|
return t;
|
|
15
15
|
}
|
|
16
16
|
const tt = (e, r) => {
|
|
@@ -23,11 +23,11 @@ const tt = (e, r) => {
|
|
|
23
23
|
}, rt = (e, r) => ({
|
|
24
24
|
classGroupId: e,
|
|
25
25
|
validator: r
|
|
26
|
-
}),
|
|
26
|
+
}), Te = (e = /* @__PURE__ */ new Map(), r = null, o) => ({
|
|
27
27
|
nextPart: e,
|
|
28
28
|
validators: r,
|
|
29
29
|
classGroupId: o
|
|
30
|
-
}),
|
|
30
|
+
}), de = "-", ze = [], ot = "arbitrary..", nt = (e) => {
|
|
31
31
|
const r = at(e), {
|
|
32
32
|
conflictingClassGroups: o,
|
|
33
33
|
conflictingClassGroupModifiers: t
|
|
@@ -36,7 +36,7 @@ const tt = (e, r) => {
|
|
|
36
36
|
getClassGroupId: (a) => {
|
|
37
37
|
if (a.startsWith("[") && a.endsWith("]"))
|
|
38
38
|
return st(a);
|
|
39
|
-
const c = a.split(
|
|
39
|
+
const c = a.split(de), i = c[0] === "" && c.length > 1 ? 1 : 0;
|
|
40
40
|
return Ee(c, i, r);
|
|
41
41
|
},
|
|
42
42
|
getConflictingClassGroupIds: (a, c) => {
|
|
@@ -58,11 +58,11 @@ const tt = (e, r) => {
|
|
|
58
58
|
const a = o.validators;
|
|
59
59
|
if (a === null)
|
|
60
60
|
return;
|
|
61
|
-
const c = r === 0 ? e.join(
|
|
61
|
+
const c = r === 0 ? e.join(de) : e.slice(r).join(de), i = a.length;
|
|
62
62
|
for (let u = 0; u < i; u++) {
|
|
63
|
-
const
|
|
64
|
-
if (
|
|
65
|
-
return
|
|
63
|
+
const h = a[u];
|
|
64
|
+
if (h.validator(c))
|
|
65
|
+
return h.classGroupId;
|
|
66
66
|
}
|
|
67
67
|
}, st = (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);
|
|
@@ -74,13 +74,13 @@ const tt = (e, r) => {
|
|
|
74
74
|
} = e;
|
|
75
75
|
return lt(o, r);
|
|
76
76
|
}, lt = (e, r) => {
|
|
77
|
-
const o =
|
|
77
|
+
const o = Te();
|
|
78
78
|
for (const t in e) {
|
|
79
79
|
const s = e[t];
|
|
80
|
-
|
|
80
|
+
ge(s, o, t, r);
|
|
81
81
|
}
|
|
82
82
|
return o;
|
|
83
|
-
},
|
|
83
|
+
}, ge = (e, r, o, t) => {
|
|
84
84
|
const s = e.length;
|
|
85
85
|
for (let l = 0; l < s; l++) {
|
|
86
86
|
const a = e[l];
|
|
@@ -97,11 +97,11 @@ const tt = (e, r) => {
|
|
|
97
97
|
}
|
|
98
98
|
pt(e, r, o, t);
|
|
99
99
|
}, ct = (e, r, o) => {
|
|
100
|
-
const t = e === "" ? r :
|
|
100
|
+
const t = e === "" ? r : Ve(r, e);
|
|
101
101
|
t.classGroupId = o;
|
|
102
102
|
}, dt = (e, r, o, t) => {
|
|
103
103
|
if (mt(e)) {
|
|
104
|
-
|
|
104
|
+
ge(e(t), r, o, t);
|
|
105
105
|
return;
|
|
106
106
|
}
|
|
107
107
|
r.validators === null && (r.validators = []), r.validators.push(rt(o, e));
|
|
@@ -109,15 +109,15 @@ const tt = (e, r) => {
|
|
|
109
109
|
const s = Object.entries(e), l = s.length;
|
|
110
110
|
for (let a = 0; a < l; a++) {
|
|
111
111
|
const [c, i] = s[a];
|
|
112
|
-
|
|
112
|
+
ge(i, Ve(r, c), o, t);
|
|
113
113
|
}
|
|
114
|
-
},
|
|
114
|
+
}, Ve = (e, r) => {
|
|
115
115
|
let o = e;
|
|
116
|
-
const t = r.split(
|
|
116
|
+
const t = r.split(de), s = t.length;
|
|
117
117
|
for (let l = 0; l < s; l++) {
|
|
118
118
|
const a = t[l];
|
|
119
119
|
let c = o.nextPart.get(a);
|
|
120
|
-
c || (c =
|
|
120
|
+
c || (c = Te(), o.nextPart.set(a, c)), o = c;
|
|
121
121
|
}
|
|
122
122
|
return o;
|
|
123
123
|
}, mt = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, ut = (e) => {
|
|
@@ -144,7 +144,7 @@ const tt = (e, r) => {
|
|
|
144
144
|
l in o ? o[l] = a : s(l, a);
|
|
145
145
|
}
|
|
146
146
|
};
|
|
147
|
-
},
|
|
147
|
+
}, xe = "!", Ne = ":", ft = [], Me = (e, r, o, t, s) => ({
|
|
148
148
|
modifiers: e,
|
|
149
149
|
hasImportantModifier: r,
|
|
150
150
|
baseClassName: o,
|
|
@@ -158,32 +158,32 @@ const tt = (e, r) => {
|
|
|
158
158
|
let t = (s) => {
|
|
159
159
|
const l = [];
|
|
160
160
|
let a = 0, c = 0, i = 0, u;
|
|
161
|
-
const
|
|
162
|
-
for (let
|
|
163
|
-
const
|
|
161
|
+
const h = s.length;
|
|
162
|
+
for (let z = 0; z < h; z++) {
|
|
163
|
+
const k = s[z];
|
|
164
164
|
if (a === 0 && c === 0) {
|
|
165
|
-
if (
|
|
166
|
-
l.push(s.slice(i,
|
|
165
|
+
if (k === Ne) {
|
|
166
|
+
l.push(s.slice(i, z)), i = z + 1;
|
|
167
167
|
continue;
|
|
168
168
|
}
|
|
169
|
-
if (
|
|
170
|
-
u =
|
|
169
|
+
if (k === "/") {
|
|
170
|
+
u = z;
|
|
171
171
|
continue;
|
|
172
172
|
}
|
|
173
173
|
}
|
|
174
|
-
|
|
174
|
+
k === "[" ? a++ : k === "]" ? a-- : k === "(" ? c++ : k === ")" && c--;
|
|
175
175
|
}
|
|
176
176
|
const _ = l.length === 0 ? s : s.slice(i);
|
|
177
|
-
let w = _,
|
|
178
|
-
_.endsWith(
|
|
177
|
+
let w = _, N = !1;
|
|
178
|
+
_.endsWith(xe) ? (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
|
-
_.startsWith(
|
|
183
|
+
_.startsWith(xe) && (w = _.slice(1), N = !0)
|
|
184
184
|
);
|
|
185
185
|
const v = u && u > i ? u - i : void 0;
|
|
186
|
-
return Me(l,
|
|
186
|
+
return Me(l, N, w, v);
|
|
187
187
|
};
|
|
188
188
|
if (r) {
|
|
189
189
|
const s = r + Ne, l = t;
|
|
@@ -224,82 +224,82 @@ const tt = (e, r) => {
|
|
|
224
224
|
} = r, a = [], c = e.trim().split(gt);
|
|
225
225
|
let i = "";
|
|
226
226
|
for (let u = c.length - 1; u >= 0; u -= 1) {
|
|
227
|
-
const
|
|
227
|
+
const h = c[u], {
|
|
228
228
|
isExternal: _,
|
|
229
229
|
modifiers: w,
|
|
230
|
-
hasImportantModifier:
|
|
230
|
+
hasImportantModifier: N,
|
|
231
231
|
baseClassName: v,
|
|
232
|
-
maybePostfixModifierPosition:
|
|
233
|
-
} = o(
|
|
232
|
+
maybePostfixModifierPosition: z
|
|
233
|
+
} = o(h);
|
|
234
234
|
if (_) {
|
|
235
|
-
i =
|
|
235
|
+
i = h + (i.length > 0 ? " " + i : i);
|
|
236
236
|
continue;
|
|
237
237
|
}
|
|
238
|
-
let
|
|
239
|
-
if (!
|
|
240
|
-
if (!
|
|
241
|
-
i =
|
|
238
|
+
let k = !!z, C = t(k ? v.substring(0, z) : v);
|
|
239
|
+
if (!C) {
|
|
240
|
+
if (!k) {
|
|
241
|
+
i = h + (i.length > 0 ? " " + i : i);
|
|
242
242
|
continue;
|
|
243
243
|
}
|
|
244
|
-
if (
|
|
245
|
-
i =
|
|
244
|
+
if (C = t(v), !C) {
|
|
245
|
+
i = h + (i.length > 0 ? " " + i : i);
|
|
246
246
|
continue;
|
|
247
247
|
}
|
|
248
|
-
|
|
248
|
+
k = !1;
|
|
249
249
|
}
|
|
250
|
-
const
|
|
251
|
-
if (a.indexOf(
|
|
250
|
+
const L = w.length === 0 ? "" : w.length === 1 ? w[0] : l(w).join(":"), V = N ? L + xe : L, R = V + C;
|
|
251
|
+
if (a.indexOf(R) > -1)
|
|
252
252
|
continue;
|
|
253
|
-
a.push(
|
|
254
|
-
const
|
|
255
|
-
for (let
|
|
256
|
-
const
|
|
257
|
-
a.push(
|
|
253
|
+
a.push(R);
|
|
254
|
+
const M = s(C, k);
|
|
255
|
+
for (let I = 0; I < M.length; ++I) {
|
|
256
|
+
const F = M[I];
|
|
257
|
+
a.push(V + F);
|
|
258
258
|
}
|
|
259
|
-
i =
|
|
259
|
+
i = h + (i.length > 0 ? " " + i : i);
|
|
260
260
|
}
|
|
261
261
|
return i;
|
|
262
262
|
}, wt = (...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 = je(o)) && (s && (s += " "), s += t);
|
|
266
266
|
return s;
|
|
267
|
-
},
|
|
267
|
+
}, je = (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 = je(e[t])) && (o && (o += " "), o += r);
|
|
273
273
|
return o;
|
|
274
274
|
}, vt = (e, ...r) => {
|
|
275
275
|
let o, t, s, l;
|
|
276
276
|
const a = (i) => {
|
|
277
|
-
const u = r.reduce((
|
|
277
|
+
const u = r.reduce((h, _) => _(h), e());
|
|
278
278
|
return o = xt(u), t = o.cache.get, s = o.cache.set, l = c, c(i);
|
|
279
279
|
}, c = (i) => {
|
|
280
280
|
const u = t(i);
|
|
281
281
|
if (u)
|
|
282
282
|
return u;
|
|
283
|
-
const
|
|
284
|
-
return s(i,
|
|
283
|
+
const h = _t(i, o);
|
|
284
|
+
return s(i, h), h;
|
|
285
285
|
};
|
|
286
286
|
return l = a, (...i) => l(wt(...i));
|
|
287
|
-
}, yt = [],
|
|
287
|
+
}, yt = [], S = (e) => {
|
|
288
288
|
const r = (o) => o[e] || yt;
|
|
289
289
|
return r.isThemeGetter = !0, r;
|
|
290
|
-
},
|
|
290
|
+
}, Be = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Fe = /^\((?:(\w[\w-]*):)?(.+)\)$/i, kt = /^\d+\/\d+$/, Ct = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, zt = /\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$/, Nt = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Mt = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, St = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Y = (e) => kt.test(e), x = (e) => !!e && !Number.isNaN(Number(e)), H = (e) => !!e && Number.isInteger(Number(e)), be = (e) => e.endsWith("%") && x(e.slice(0, -1)), D = (e) => Ct.test(e), Lt = () => !0, At = (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
294
|
zt.test(e) && !Nt.test(e)
|
|
295
|
-
), Ge = () => !1, It = (e) => Mt.test(e), Rt = (e) => St.test(e),
|
|
296
|
-
const t =
|
|
295
|
+
), Ge = () => !1, It = (e) => Mt.test(e), Rt = (e) => St.test(e), Tt = (e) => !d(e) && !p(e), Et = (e) => K(e, De, Ge), d = (e) => Be.test(e), W = (e) => K(e, He, At), he = (e) => K(e, Gt, x), Se = (e) => K(e, Pe, Ge), Vt = (e) => K(e, $e, Rt), ae = (e) => K(e, Oe, It), p = (e) => Fe.test(e), Q = (e) => X(e, He), jt = (e) => X(e, Pt), Le = (e) => X(e, Pe), Bt = (e) => X(e, De), Ft = (e) => X(e, $e), le = (e) => X(e, Oe, !0), K = (e, r, o) => {
|
|
296
|
+
const t = Be.exec(e);
|
|
297
297
|
return t ? t[1] ? r(t[1]) : o(t[2]) : !1;
|
|
298
|
-
},
|
|
299
|
-
const t =
|
|
298
|
+
}, X = (e, r, o = !1) => {
|
|
299
|
+
const t = Fe.exec(e);
|
|
300
300
|
return t ? t[1] ? r(t[1]) : o : !1;
|
|
301
|
-
},
|
|
302
|
-
const e =
|
|
301
|
+
}, Pe = (e) => e === "position" || e === "percentage", $e = (e) => e === "image" || e === "url", De = (e) => e === "length" || e === "size" || e === "bg-size", He = (e) => e === "length", Gt = (e) => e === "number", Pt = (e) => e === "family-name", Oe = (e) => e === "shadow", $t = () => {
|
|
302
|
+
const e = S("color"), r = S("font"), o = S("text"), t = S("font-weight"), s = S("tracking"), l = S("leading"), a = S("breakpoint"), c = S("container"), i = S("spacing"), u = S("radius"), h = S("shadow"), _ = S("inset-shadow"), w = S("text-shadow"), N = S("drop-shadow"), v = S("blur"), z = S("perspective"), k = S("aspect"), C = S("ease"), L = S("animate"), V = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], R = () => [
|
|
303
303
|
"center",
|
|
304
304
|
"top",
|
|
305
305
|
"bottom",
|
|
@@ -317,15 +317,15 @@ const tt = (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
|
+
], M = () => [...R(), p, d], I = () => ["auto", "hidden", "clip", "visible", "scroll"], F = () => ["auto", "contain", "none"], b = () => [p, d, i], B = () => [Y, "full", "auto", ...b()], J = () => [H, "none", "subgrid", p, d], T = () => ["auto", {
|
|
321
|
+
span: ["full", H, p, d]
|
|
322
|
+
}, H, p, d], te = () => [H, "auto", p, d], _e = () => ["auto", "min", "max", "fr", p, d], me = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], q = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], $ = () => ["auto", ...b()], O = () => [Y, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...b()], f = () => [e, p, d], we = () => [...R(), Le, Se, {
|
|
323
323
|
position: [p, d]
|
|
324
324
|
}], ve = () => ["no-repeat", {
|
|
325
325
|
repeat: ["", "x", "y", "space", "round"]
|
|
326
|
-
}], ye = () => ["auto", "cover", "contain",
|
|
326
|
+
}], ye = () => ["auto", "cover", "contain", Bt, Et, {
|
|
327
327
|
size: [p, d]
|
|
328
|
-
}],
|
|
328
|
+
}], ue = () => [be, Q, W], E = () => [
|
|
329
329
|
// Deprecated since Tailwind CSS v4.0.0
|
|
330
330
|
"",
|
|
331
331
|
"none",
|
|
@@ -333,35 +333,35 @@ const tt = (e, r) => {
|
|
|
333
333
|
u,
|
|
334
334
|
p,
|
|
335
335
|
d
|
|
336
|
-
], j = () => ["", x, Q,
|
|
336
|
+
], j = () => ["", x, Q, W], re = () => ["solid", "dashed", "dotted", "double"], ke = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], A = () => [x, be, Le, Se], Ce = () => [
|
|
337
337
|
// Deprecated since Tailwind CSS v4.0.0
|
|
338
338
|
"",
|
|
339
339
|
"none",
|
|
340
340
|
v,
|
|
341
341
|
p,
|
|
342
342
|
d
|
|
343
|
-
],
|
|
343
|
+
], oe = () => ["none", x, p, d], ne = () => ["none", x, p, d], fe = () => [x, p, d], se = () => [Y, "full", ...b()];
|
|
344
344
|
return {
|
|
345
345
|
cacheSize: 500,
|
|
346
346
|
theme: {
|
|
347
347
|
animate: ["spin", "ping", "pulse", "bounce"],
|
|
348
348
|
aspect: ["video"],
|
|
349
|
-
blur: [
|
|
350
|
-
breakpoint: [
|
|
349
|
+
blur: [D],
|
|
350
|
+
breakpoint: [D],
|
|
351
351
|
color: [Lt],
|
|
352
|
-
container: [
|
|
353
|
-
"drop-shadow": [
|
|
352
|
+
container: [D],
|
|
353
|
+
"drop-shadow": [D],
|
|
354
354
|
ease: ["in", "out", "in-out"],
|
|
355
|
-
font: [
|
|
355
|
+
font: [Tt],
|
|
356
356
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
357
|
-
"inset-shadow": [
|
|
357
|
+
"inset-shadow": [D],
|
|
358
358
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
359
359
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
360
|
-
radius: [
|
|
361
|
-
shadow: [
|
|
360
|
+
radius: [D],
|
|
361
|
+
shadow: [D],
|
|
362
362
|
spacing: ["px", x],
|
|
363
|
-
text: [
|
|
364
|
-
"text-shadow": [
|
|
363
|
+
text: [D],
|
|
364
|
+
"text-shadow": [D],
|
|
365
365
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
366
366
|
},
|
|
367
367
|
classGroups: {
|
|
@@ -373,7 +373,7 @@ const tt = (e, r) => {
|
|
|
373
373
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
374
374
|
*/
|
|
375
375
|
aspect: [{
|
|
376
|
-
aspect: ["auto", "square", Y, d, p,
|
|
376
|
+
aspect: ["auto", "square", Y, d, p, k]
|
|
377
377
|
}],
|
|
378
378
|
/**
|
|
379
379
|
* Container
|
|
@@ -393,14 +393,14 @@ const tt = (e, r) => {
|
|
|
393
393
|
* @see https://tailwindcss.com/docs/break-after
|
|
394
394
|
*/
|
|
395
395
|
"break-after": [{
|
|
396
|
-
"break-after":
|
|
396
|
+
"break-after": V()
|
|
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": V()
|
|
404
404
|
}],
|
|
405
405
|
/**
|
|
406
406
|
* Break Inside
|
|
@@ -464,49 +464,49 @@ const tt = (e, r) => {
|
|
|
464
464
|
* @see https://tailwindcss.com/docs/object-position
|
|
465
465
|
*/
|
|
466
466
|
"object-position": [{
|
|
467
|
-
object:
|
|
467
|
+
object: M()
|
|
468
468
|
}],
|
|
469
469
|
/**
|
|
470
470
|
* Overflow
|
|
471
471
|
* @see https://tailwindcss.com/docs/overflow
|
|
472
472
|
*/
|
|
473
473
|
overflow: [{
|
|
474
|
-
overflow:
|
|
474
|
+
overflow: I()
|
|
475
475
|
}],
|
|
476
476
|
/**
|
|
477
477
|
* Overflow X
|
|
478
478
|
* @see https://tailwindcss.com/docs/overflow
|
|
479
479
|
*/
|
|
480
480
|
"overflow-x": [{
|
|
481
|
-
"overflow-x":
|
|
481
|
+
"overflow-x": I()
|
|
482
482
|
}],
|
|
483
483
|
/**
|
|
484
484
|
* Overflow Y
|
|
485
485
|
* @see https://tailwindcss.com/docs/overflow
|
|
486
486
|
*/
|
|
487
487
|
"overflow-y": [{
|
|
488
|
-
"overflow-y":
|
|
488
|
+
"overflow-y": I()
|
|
489
489
|
}],
|
|
490
490
|
/**
|
|
491
491
|
* Overscroll Behavior
|
|
492
492
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
493
493
|
*/
|
|
494
494
|
overscroll: [{
|
|
495
|
-
overscroll:
|
|
495
|
+
overscroll: F()
|
|
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": F()
|
|
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": F()
|
|
510
510
|
}],
|
|
511
511
|
/**
|
|
512
512
|
* Position
|
|
@@ -518,63 +518,63 @@ const tt = (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 tt = (e, r) => {
|
|
|
586
586
|
* @see https://tailwindcss.com/docs/z-index
|
|
587
587
|
*/
|
|
588
588
|
z: [{
|
|
589
|
-
z: [
|
|
589
|
+
z: [H, "auto", p, d]
|
|
590
590
|
}],
|
|
591
591
|
// ------------------------
|
|
592
592
|
// --- Flexbox and Grid ---
|
|
@@ -596,7 +596,7 @@ const tt = (e, r) => {
|
|
|
596
596
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
597
597
|
*/
|
|
598
598
|
basis: [{
|
|
599
|
-
basis: [Y, "full", "auto", c, ...
|
|
599
|
+
basis: [Y, "full", "auto", c, ...b()]
|
|
600
600
|
}],
|
|
601
601
|
/**
|
|
602
602
|
* Flex Direction
|
|
@@ -638,63 +638,63 @@ const tt = (e, r) => {
|
|
|
638
638
|
* @see https://tailwindcss.com/docs/order
|
|
639
639
|
*/
|
|
640
640
|
order: [{
|
|
641
|
-
order: [
|
|
641
|
+
order: [H, "first", "last", "none", p, d]
|
|
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": J()
|
|
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: T()
|
|
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": te()
|
|
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": te()
|
|
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": J()
|
|
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: T()
|
|
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": te()
|
|
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": te()
|
|
698
698
|
}],
|
|
699
699
|
/**
|
|
700
700
|
* Grid Auto Flow
|
|
@@ -722,56 +722,56 @@ const tt = (e, r) => {
|
|
|
722
722
|
* @see https://tailwindcss.com/docs/gap
|
|
723
723
|
*/
|
|
724
724
|
gap: [{
|
|
725
|
-
gap:
|
|
725
|
+
gap: b()
|
|
726
726
|
}],
|
|
727
727
|
/**
|
|
728
728
|
* Gap X
|
|
729
729
|
* @see https://tailwindcss.com/docs/gap
|
|
730
730
|
*/
|
|
731
731
|
"gap-x": [{
|
|
732
|
-
"gap-x":
|
|
732
|
+
"gap-x": b()
|
|
733
733
|
}],
|
|
734
734
|
/**
|
|
735
735
|
* Gap Y
|
|
736
736
|
* @see https://tailwindcss.com/docs/gap
|
|
737
737
|
*/
|
|
738
738
|
"gap-y": [{
|
|
739
|
-
"gap-y":
|
|
739
|
+
"gap-y": b()
|
|
740
740
|
}],
|
|
741
741
|
/**
|
|
742
742
|
* Justify Content
|
|
743
743
|
* @see https://tailwindcss.com/docs/justify-content
|
|
744
744
|
*/
|
|
745
745
|
"justify-content": [{
|
|
746
|
-
justify: [...
|
|
746
|
+
justify: [...me(), "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": [...q(), "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", ...q()]
|
|
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", ...me()]
|
|
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: [...q(), {
|
|
775
775
|
baseline: ["", "last"]
|
|
776
776
|
}]
|
|
777
777
|
}],
|
|
@@ -780,7 +780,7 @@ const tt = (e, r) => {
|
|
|
780
780
|
* @see https://tailwindcss.com/docs/align-self
|
|
781
781
|
*/
|
|
782
782
|
"align-self": [{
|
|
783
|
-
self: ["auto", ...
|
|
783
|
+
self: ["auto", ...q(), {
|
|
784
784
|
baseline: ["", "last"]
|
|
785
785
|
}]
|
|
786
786
|
}],
|
|
@@ -789,21 +789,21 @@ const tt = (e, r) => {
|
|
|
789
789
|
* @see https://tailwindcss.com/docs/place-content
|
|
790
790
|
*/
|
|
791
791
|
"place-content": [{
|
|
792
|
-
"place-content":
|
|
792
|
+
"place-content": me()
|
|
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": [...q(), "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", ...q()]
|
|
807
807
|
}],
|
|
808
808
|
// Spacing
|
|
809
809
|
/**
|
|
@@ -811,133 +811,133 @@ const tt = (e, r) => {
|
|
|
811
811
|
* @see https://tailwindcss.com/docs/padding
|
|
812
812
|
*/
|
|
813
813
|
p: [{
|
|
814
|
-
p:
|
|
814
|
+
p: b()
|
|
815
815
|
}],
|
|
816
816
|
/**
|
|
817
817
|
* Padding X
|
|
818
818
|
* @see https://tailwindcss.com/docs/padding
|
|
819
819
|
*/
|
|
820
820
|
px: [{
|
|
821
|
-
px:
|
|
821
|
+
px: b()
|
|
822
822
|
}],
|
|
823
823
|
/**
|
|
824
824
|
* Padding Y
|
|
825
825
|
* @see https://tailwindcss.com/docs/padding
|
|
826
826
|
*/
|
|
827
827
|
py: [{
|
|
828
|
-
py:
|
|
828
|
+
py: b()
|
|
829
829
|
}],
|
|
830
830
|
/**
|
|
831
831
|
* Padding Start
|
|
832
832
|
* @see https://tailwindcss.com/docs/padding
|
|
833
833
|
*/
|
|
834
834
|
ps: [{
|
|
835
|
-
ps:
|
|
835
|
+
ps: b()
|
|
836
836
|
}],
|
|
837
837
|
/**
|
|
838
838
|
* Padding End
|
|
839
839
|
* @see https://tailwindcss.com/docs/padding
|
|
840
840
|
*/
|
|
841
841
|
pe: [{
|
|
842
|
-
pe:
|
|
842
|
+
pe: b()
|
|
843
843
|
}],
|
|
844
844
|
/**
|
|
845
845
|
* Padding Top
|
|
846
846
|
* @see https://tailwindcss.com/docs/padding
|
|
847
847
|
*/
|
|
848
848
|
pt: [{
|
|
849
|
-
pt:
|
|
849
|
+
pt: b()
|
|
850
850
|
}],
|
|
851
851
|
/**
|
|
852
852
|
* Padding Right
|
|
853
853
|
* @see https://tailwindcss.com/docs/padding
|
|
854
854
|
*/
|
|
855
855
|
pr: [{
|
|
856
|
-
pr:
|
|
856
|
+
pr: b()
|
|
857
857
|
}],
|
|
858
858
|
/**
|
|
859
859
|
* Padding Bottom
|
|
860
860
|
* @see https://tailwindcss.com/docs/padding
|
|
861
861
|
*/
|
|
862
862
|
pb: [{
|
|
863
|
-
pb:
|
|
863
|
+
pb: b()
|
|
864
864
|
}],
|
|
865
865
|
/**
|
|
866
866
|
* Padding Left
|
|
867
867
|
* @see https://tailwindcss.com/docs/padding
|
|
868
868
|
*/
|
|
869
869
|
pl: [{
|
|
870
|
-
pl:
|
|
870
|
+
pl: b()
|
|
871
871
|
}],
|
|
872
872
|
/**
|
|
873
873
|
* Margin
|
|
874
874
|
* @see https://tailwindcss.com/docs/margin
|
|
875
875
|
*/
|
|
876
876
|
m: [{
|
|
877
|
-
m:
|
|
877
|
+
m: $()
|
|
878
878
|
}],
|
|
879
879
|
/**
|
|
880
880
|
* Margin X
|
|
881
881
|
* @see https://tailwindcss.com/docs/margin
|
|
882
882
|
*/
|
|
883
883
|
mx: [{
|
|
884
|
-
mx:
|
|
884
|
+
mx: $()
|
|
885
885
|
}],
|
|
886
886
|
/**
|
|
887
887
|
* Margin Y
|
|
888
888
|
* @see https://tailwindcss.com/docs/margin
|
|
889
889
|
*/
|
|
890
890
|
my: [{
|
|
891
|
-
my:
|
|
891
|
+
my: $()
|
|
892
892
|
}],
|
|
893
893
|
/**
|
|
894
894
|
* Margin Start
|
|
895
895
|
* @see https://tailwindcss.com/docs/margin
|
|
896
896
|
*/
|
|
897
897
|
ms: [{
|
|
898
|
-
ms:
|
|
898
|
+
ms: $()
|
|
899
899
|
}],
|
|
900
900
|
/**
|
|
901
901
|
* Margin End
|
|
902
902
|
* @see https://tailwindcss.com/docs/margin
|
|
903
903
|
*/
|
|
904
904
|
me: [{
|
|
905
|
-
me:
|
|
905
|
+
me: $()
|
|
906
906
|
}],
|
|
907
907
|
/**
|
|
908
908
|
* Margin Top
|
|
909
909
|
* @see https://tailwindcss.com/docs/margin
|
|
910
910
|
*/
|
|
911
911
|
mt: [{
|
|
912
|
-
mt:
|
|
912
|
+
mt: $()
|
|
913
913
|
}],
|
|
914
914
|
/**
|
|
915
915
|
* Margin Right
|
|
916
916
|
* @see https://tailwindcss.com/docs/margin
|
|
917
917
|
*/
|
|
918
918
|
mr: [{
|
|
919
|
-
mr:
|
|
919
|
+
mr: $()
|
|
920
920
|
}],
|
|
921
921
|
/**
|
|
922
922
|
* Margin Bottom
|
|
923
923
|
* @see https://tailwindcss.com/docs/margin
|
|
924
924
|
*/
|
|
925
925
|
mb: [{
|
|
926
|
-
mb:
|
|
926
|
+
mb: $()
|
|
927
927
|
}],
|
|
928
928
|
/**
|
|
929
929
|
* Margin Left
|
|
930
930
|
* @see https://tailwindcss.com/docs/margin
|
|
931
931
|
*/
|
|
932
932
|
ml: [{
|
|
933
|
-
ml:
|
|
933
|
+
ml: $()
|
|
934
934
|
}],
|
|
935
935
|
/**
|
|
936
936
|
* Space Between X
|
|
937
937
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
938
938
|
*/
|
|
939
939
|
"space-x": [{
|
|
940
|
-
"space-x":
|
|
940
|
+
"space-x": b()
|
|
941
941
|
}],
|
|
942
942
|
/**
|
|
943
943
|
* Space Between X Reverse
|
|
@@ -949,7 +949,7 @@ const tt = (e, r) => {
|
|
|
949
949
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
950
950
|
*/
|
|
951
951
|
"space-y": [{
|
|
952
|
-
"space-y":
|
|
952
|
+
"space-y": b()
|
|
953
953
|
}],
|
|
954
954
|
/**
|
|
955
955
|
* Space Between Y Reverse
|
|
@@ -964,14 +964,14 @@ const tt = (e, r) => {
|
|
|
964
964
|
* @see https://tailwindcss.com/docs/width#setting-both-width-and-height
|
|
965
965
|
*/
|
|
966
966
|
size: [{
|
|
967
|
-
size:
|
|
967
|
+
size: O()
|
|
968
968
|
}],
|
|
969
969
|
/**
|
|
970
970
|
* Width
|
|
971
971
|
* @see https://tailwindcss.com/docs/width
|
|
972
972
|
*/
|
|
973
973
|
w: [{
|
|
974
|
-
w: [c, "screen", ...
|
|
974
|
+
w: [c, "screen", ...O()]
|
|
975
975
|
}],
|
|
976
976
|
/**
|
|
977
977
|
* Min-Width
|
|
@@ -983,7 +983,7 @@ const tt = (e, r) => {
|
|
|
983
983
|
"screen",
|
|
984
984
|
/** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
985
985
|
"none",
|
|
986
|
-
...
|
|
986
|
+
...O()
|
|
987
987
|
]
|
|
988
988
|
}],
|
|
989
989
|
/**
|
|
@@ -1001,7 +1001,7 @@ const tt = (e, r) => {
|
|
|
1001
1001
|
{
|
|
1002
1002
|
screen: [a]
|
|
1003
1003
|
},
|
|
1004
|
-
...
|
|
1004
|
+
...O()
|
|
1005
1005
|
]
|
|
1006
1006
|
}],
|
|
1007
1007
|
/**
|
|
@@ -1009,21 +1009,21 @@ const tt = (e, r) => {
|
|
|
1009
1009
|
* @see https://tailwindcss.com/docs/height
|
|
1010
1010
|
*/
|
|
1011
1011
|
h: [{
|
|
1012
|
-
h: ["screen", "lh", ...
|
|
1012
|
+
h: ["screen", "lh", ...O()]
|
|
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", ...O()]
|
|
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", ...O()]
|
|
1027
1027
|
}],
|
|
1028
1028
|
// ------------------
|
|
1029
1029
|
// --- Typography ---
|
|
@@ -1033,7 +1033,7 @@ const tt = (e, r) => {
|
|
|
1033
1033
|
* @see https://tailwindcss.com/docs/font-size
|
|
1034
1034
|
*/
|
|
1035
1035
|
"font-size": [{
|
|
1036
|
-
text: ["base", o, Q,
|
|
1036
|
+
text: ["base", o, Q, W]
|
|
1037
1037
|
}],
|
|
1038
1038
|
/**
|
|
1039
1039
|
* Font Smoothing
|
|
@@ -1050,14 +1050,14 @@ const tt = (e, r) => {
|
|
|
1050
1050
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1051
1051
|
*/
|
|
1052
1052
|
"font-weight": [{
|
|
1053
|
-
font: [t, p,
|
|
1053
|
+
font: [t, p, he]
|
|
1054
1054
|
}],
|
|
1055
1055
|
/**
|
|
1056
1056
|
* Font Stretch
|
|
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", be, d]
|
|
1061
1061
|
}],
|
|
1062
1062
|
/**
|
|
1063
1063
|
* Font Family
|
|
@@ -1108,7 +1108,7 @@ const tt = (e, r) => {
|
|
|
1108
1108
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1109
1109
|
*/
|
|
1110
1110
|
"line-clamp": [{
|
|
1111
|
-
"line-clamp": [x, "none", p,
|
|
1111
|
+
"line-clamp": [x, "none", p, he]
|
|
1112
1112
|
}],
|
|
1113
1113
|
/**
|
|
1114
1114
|
* Line Height
|
|
@@ -1118,7 +1118,7 @@ const tt = (e, r) => {
|
|
|
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
|
l,
|
|
1121
|
-
...
|
|
1121
|
+
...b()
|
|
1122
1122
|
]
|
|
1123
1123
|
}],
|
|
1124
1124
|
/**
|
|
@@ -1174,14 +1174,14 @@ const tt = (e, r) => {
|
|
|
1174
1174
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1175
1175
|
*/
|
|
1176
1176
|
"text-decoration-style": [{
|
|
1177
|
-
decoration: [...
|
|
1177
|
+
decoration: [...re(), "wavy"]
|
|
1178
1178
|
}],
|
|
1179
1179
|
/**
|
|
1180
1180
|
* Text Decoration Thickness
|
|
1181
1181
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1182
1182
|
*/
|
|
1183
1183
|
"text-decoration-thickness": [{
|
|
1184
|
-
decoration: [x, "from-font", "auto", p,
|
|
1184
|
+
decoration: [x, "from-font", "auto", p, W]
|
|
1185
1185
|
}],
|
|
1186
1186
|
/**
|
|
1187
1187
|
* Text Decoration Color
|
|
@@ -1219,7 +1219,7 @@ const tt = (e, r) => {
|
|
|
1219
1219
|
* @see https://tailwindcss.com/docs/text-indent
|
|
1220
1220
|
*/
|
|
1221
1221
|
indent: [{
|
|
1222
|
-
indent:
|
|
1222
|
+
indent: b()
|
|
1223
1223
|
}],
|
|
1224
1224
|
/**
|
|
1225
1225
|
* Vertical Alignment
|
|
@@ -1316,10 +1316,10 @@ const tt = (e, r) => {
|
|
|
1316
1316
|
bg: ["none", {
|
|
1317
1317
|
linear: [{
|
|
1318
1318
|
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1319
|
-
},
|
|
1319
|
+
}, H, p, d],
|
|
1320
1320
|
radial: ["", p, d],
|
|
1321
|
-
conic: [
|
|
1322
|
-
},
|
|
1321
|
+
conic: [H, p, d]
|
|
1322
|
+
}, Ft, Vt]
|
|
1323
1323
|
}],
|
|
1324
1324
|
/**
|
|
1325
1325
|
* Background Color
|
|
@@ -1333,21 +1333,21 @@ const tt = (e, r) => {
|
|
|
1333
1333
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1334
1334
|
*/
|
|
1335
1335
|
"gradient-from-pos": [{
|
|
1336
|
-
from:
|
|
1336
|
+
from: ue()
|
|
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: ue()
|
|
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: ue()
|
|
1351
1351
|
}],
|
|
1352
1352
|
/**
|
|
1353
1353
|
* Gradient Color Stops From
|
|
@@ -1378,105 +1378,105 @@ const tt = (e, r) => {
|
|
|
1378
1378
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1379
1379
|
*/
|
|
1380
1380
|
rounded: [{
|
|
1381
|
-
rounded:
|
|
1381
|
+
rounded: E()
|
|
1382
1382
|
}],
|
|
1383
1383
|
/**
|
|
1384
1384
|
* Border Radius Start
|
|
1385
1385
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1386
1386
|
*/
|
|
1387
1387
|
"rounded-s": [{
|
|
1388
|
-
"rounded-s":
|
|
1388
|
+
"rounded-s": E()
|
|
1389
1389
|
}],
|
|
1390
1390
|
/**
|
|
1391
1391
|
* Border Radius End
|
|
1392
1392
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1393
1393
|
*/
|
|
1394
1394
|
"rounded-e": [{
|
|
1395
|
-
"rounded-e":
|
|
1395
|
+
"rounded-e": E()
|
|
1396
1396
|
}],
|
|
1397
1397
|
/**
|
|
1398
1398
|
* Border Radius Top
|
|
1399
1399
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1400
1400
|
*/
|
|
1401
1401
|
"rounded-t": [{
|
|
1402
|
-
"rounded-t":
|
|
1402
|
+
"rounded-t": E()
|
|
1403
1403
|
}],
|
|
1404
1404
|
/**
|
|
1405
1405
|
* Border Radius Right
|
|
1406
1406
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1407
1407
|
*/
|
|
1408
1408
|
"rounded-r": [{
|
|
1409
|
-
"rounded-r":
|
|
1409
|
+
"rounded-r": E()
|
|
1410
1410
|
}],
|
|
1411
1411
|
/**
|
|
1412
1412
|
* Border Radius Bottom
|
|
1413
1413
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1414
1414
|
*/
|
|
1415
1415
|
"rounded-b": [{
|
|
1416
|
-
"rounded-b":
|
|
1416
|
+
"rounded-b": E()
|
|
1417
1417
|
}],
|
|
1418
1418
|
/**
|
|
1419
1419
|
* Border Radius Left
|
|
1420
1420
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1421
1421
|
*/
|
|
1422
1422
|
"rounded-l": [{
|
|
1423
|
-
"rounded-l":
|
|
1423
|
+
"rounded-l": E()
|
|
1424
1424
|
}],
|
|
1425
1425
|
/**
|
|
1426
1426
|
* Border Radius Start Start
|
|
1427
1427
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1428
1428
|
*/
|
|
1429
1429
|
"rounded-ss": [{
|
|
1430
|
-
"rounded-ss":
|
|
1430
|
+
"rounded-ss": E()
|
|
1431
1431
|
}],
|
|
1432
1432
|
/**
|
|
1433
1433
|
* Border Radius Start End
|
|
1434
1434
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1435
1435
|
*/
|
|
1436
1436
|
"rounded-se": [{
|
|
1437
|
-
"rounded-se":
|
|
1437
|
+
"rounded-se": E()
|
|
1438
1438
|
}],
|
|
1439
1439
|
/**
|
|
1440
1440
|
* Border Radius End End
|
|
1441
1441
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1442
1442
|
*/
|
|
1443
1443
|
"rounded-ee": [{
|
|
1444
|
-
"rounded-ee":
|
|
1444
|
+
"rounded-ee": E()
|
|
1445
1445
|
}],
|
|
1446
1446
|
/**
|
|
1447
1447
|
* Border Radius End Start
|
|
1448
1448
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1449
1449
|
*/
|
|
1450
1450
|
"rounded-es": [{
|
|
1451
|
-
"rounded-es":
|
|
1451
|
+
"rounded-es": E()
|
|
1452
1452
|
}],
|
|
1453
1453
|
/**
|
|
1454
1454
|
* Border Radius Top Left
|
|
1455
1455
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1456
1456
|
*/
|
|
1457
1457
|
"rounded-tl": [{
|
|
1458
|
-
"rounded-tl":
|
|
1458
|
+
"rounded-tl": E()
|
|
1459
1459
|
}],
|
|
1460
1460
|
/**
|
|
1461
1461
|
* Border Radius Top Right
|
|
1462
1462
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1463
1463
|
*/
|
|
1464
1464
|
"rounded-tr": [{
|
|
1465
|
-
"rounded-tr":
|
|
1465
|
+
"rounded-tr": E()
|
|
1466
1466
|
}],
|
|
1467
1467
|
/**
|
|
1468
1468
|
* Border Radius Bottom Right
|
|
1469
1469
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1470
1470
|
*/
|
|
1471
1471
|
"rounded-br": [{
|
|
1472
|
-
"rounded-br":
|
|
1472
|
+
"rounded-br": E()
|
|
1473
1473
|
}],
|
|
1474
1474
|
/**
|
|
1475
1475
|
* Border Radius Bottom Left
|
|
1476
1476
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1477
1477
|
*/
|
|
1478
1478
|
"rounded-bl": [{
|
|
1479
|
-
"rounded-bl":
|
|
1479
|
+
"rounded-bl": E()
|
|
1480
1480
|
}],
|
|
1481
1481
|
/**
|
|
1482
1482
|
* Border Width
|
|
@@ -1570,14 +1570,14 @@ const tt = (e, r) => {
|
|
|
1570
1570
|
* @see https://tailwindcss.com/docs/border-style
|
|
1571
1571
|
*/
|
|
1572
1572
|
"border-style": [{
|
|
1573
|
-
border: [...
|
|
1573
|
+
border: [...re(), "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: [...re(), "hidden", "none"]
|
|
1581
1581
|
}],
|
|
1582
1582
|
/**
|
|
1583
1583
|
* Border Color
|
|
@@ -1654,7 +1654,7 @@ const tt = (e, r) => {
|
|
|
1654
1654
|
* @see https://tailwindcss.com/docs/outline-style
|
|
1655
1655
|
*/
|
|
1656
1656
|
"outline-style": [{
|
|
1657
|
-
outline: [...
|
|
1657
|
+
outline: [...re(), "none", "hidden"]
|
|
1658
1658
|
}],
|
|
1659
1659
|
/**
|
|
1660
1660
|
* Outline Offset
|
|
@@ -1668,7 +1668,7 @@ const tt = (e, r) => {
|
|
|
1668
1668
|
* @see https://tailwindcss.com/docs/outline-width
|
|
1669
1669
|
*/
|
|
1670
1670
|
"outline-w": [{
|
|
1671
|
-
outline: ["", x, Q,
|
|
1671
|
+
outline: ["", x, Q, W]
|
|
1672
1672
|
}],
|
|
1673
1673
|
/**
|
|
1674
1674
|
* Outline Color
|
|
@@ -1689,9 +1689,9 @@ const tt = (e, r) => {
|
|
|
1689
1689
|
// Deprecated since Tailwind CSS v4.0.0
|
|
1690
1690
|
"",
|
|
1691
1691
|
"none",
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1692
|
+
h,
|
|
1693
|
+
le,
|
|
1694
|
+
ae
|
|
1695
1695
|
]
|
|
1696
1696
|
}],
|
|
1697
1697
|
/**
|
|
@@ -1706,7 +1706,7 @@ const tt = (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", _,
|
|
1709
|
+
"inset-shadow": ["none", _, le, ae]
|
|
1710
1710
|
}],
|
|
1711
1711
|
/**
|
|
1712
1712
|
* Inset Box Shadow Color
|
|
@@ -1743,7 +1743,7 @@ const tt = (e, r) => {
|
|
|
1743
1743
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
1744
1744
|
*/
|
|
1745
1745
|
"ring-offset-w": [{
|
|
1746
|
-
"ring-offset": [x,
|
|
1746
|
+
"ring-offset": [x, W]
|
|
1747
1747
|
}],
|
|
1748
1748
|
/**
|
|
1749
1749
|
* Ring Offset Color
|
|
@@ -1773,7 +1773,7 @@ const tt = (e, r) => {
|
|
|
1773
1773
|
* @see https://tailwindcss.com/docs/text-shadow
|
|
1774
1774
|
*/
|
|
1775
1775
|
"text-shadow": [{
|
|
1776
|
-
"text-shadow": ["none", w,
|
|
1776
|
+
"text-shadow": ["none", w, le, ae]
|
|
1777
1777
|
}],
|
|
1778
1778
|
/**
|
|
1779
1779
|
* Text Shadow Color
|
|
@@ -1825,10 +1825,10 @@ const tt = (e, r) => {
|
|
|
1825
1825
|
"mask-linear": [x]
|
|
1826
1826
|
}],
|
|
1827
1827
|
"mask-image-linear-from-pos": [{
|
|
1828
|
-
"mask-linear-from":
|
|
1828
|
+
"mask-linear-from": A()
|
|
1829
1829
|
}],
|
|
1830
1830
|
"mask-image-linear-to-pos": [{
|
|
1831
|
-
"mask-linear-to":
|
|
1831
|
+
"mask-linear-to": A()
|
|
1832
1832
|
}],
|
|
1833
1833
|
"mask-image-linear-from-color": [{
|
|
1834
1834
|
"mask-linear-from": f()
|
|
@@ -1837,10 +1837,10 @@ const tt = (e, r) => {
|
|
|
1837
1837
|
"mask-linear-to": f()
|
|
1838
1838
|
}],
|
|
1839
1839
|
"mask-image-t-from-pos": [{
|
|
1840
|
-
"mask-t-from":
|
|
1840
|
+
"mask-t-from": A()
|
|
1841
1841
|
}],
|
|
1842
1842
|
"mask-image-t-to-pos": [{
|
|
1843
|
-
"mask-t-to":
|
|
1843
|
+
"mask-t-to": A()
|
|
1844
1844
|
}],
|
|
1845
1845
|
"mask-image-t-from-color": [{
|
|
1846
1846
|
"mask-t-from": f()
|
|
@@ -1849,10 +1849,10 @@ const tt = (e, r) => {
|
|
|
1849
1849
|
"mask-t-to": f()
|
|
1850
1850
|
}],
|
|
1851
1851
|
"mask-image-r-from-pos": [{
|
|
1852
|
-
"mask-r-from":
|
|
1852
|
+
"mask-r-from": A()
|
|
1853
1853
|
}],
|
|
1854
1854
|
"mask-image-r-to-pos": [{
|
|
1855
|
-
"mask-r-to":
|
|
1855
|
+
"mask-r-to": A()
|
|
1856
1856
|
}],
|
|
1857
1857
|
"mask-image-r-from-color": [{
|
|
1858
1858
|
"mask-r-from": f()
|
|
@@ -1861,10 +1861,10 @@ const tt = (e, r) => {
|
|
|
1861
1861
|
"mask-r-to": f()
|
|
1862
1862
|
}],
|
|
1863
1863
|
"mask-image-b-from-pos": [{
|
|
1864
|
-
"mask-b-from":
|
|
1864
|
+
"mask-b-from": A()
|
|
1865
1865
|
}],
|
|
1866
1866
|
"mask-image-b-to-pos": [{
|
|
1867
|
-
"mask-b-to":
|
|
1867
|
+
"mask-b-to": A()
|
|
1868
1868
|
}],
|
|
1869
1869
|
"mask-image-b-from-color": [{
|
|
1870
1870
|
"mask-b-from": f()
|
|
@@ -1873,10 +1873,10 @@ const tt = (e, r) => {
|
|
|
1873
1873
|
"mask-b-to": f()
|
|
1874
1874
|
}],
|
|
1875
1875
|
"mask-image-l-from-pos": [{
|
|
1876
|
-
"mask-l-from":
|
|
1876
|
+
"mask-l-from": A()
|
|
1877
1877
|
}],
|
|
1878
1878
|
"mask-image-l-to-pos": [{
|
|
1879
|
-
"mask-l-to":
|
|
1879
|
+
"mask-l-to": A()
|
|
1880
1880
|
}],
|
|
1881
1881
|
"mask-image-l-from-color": [{
|
|
1882
1882
|
"mask-l-from": f()
|
|
@@ -1885,10 +1885,10 @@ const tt = (e, r) => {
|
|
|
1885
1885
|
"mask-l-to": f()
|
|
1886
1886
|
}],
|
|
1887
1887
|
"mask-image-x-from-pos": [{
|
|
1888
|
-
"mask-x-from":
|
|
1888
|
+
"mask-x-from": A()
|
|
1889
1889
|
}],
|
|
1890
1890
|
"mask-image-x-to-pos": [{
|
|
1891
|
-
"mask-x-to":
|
|
1891
|
+
"mask-x-to": A()
|
|
1892
1892
|
}],
|
|
1893
1893
|
"mask-image-x-from-color": [{
|
|
1894
1894
|
"mask-x-from": f()
|
|
@@ -1897,10 +1897,10 @@ const tt = (e, r) => {
|
|
|
1897
1897
|
"mask-x-to": f()
|
|
1898
1898
|
}],
|
|
1899
1899
|
"mask-image-y-from-pos": [{
|
|
1900
|
-
"mask-y-from":
|
|
1900
|
+
"mask-y-from": A()
|
|
1901
1901
|
}],
|
|
1902
1902
|
"mask-image-y-to-pos": [{
|
|
1903
|
-
"mask-y-to":
|
|
1903
|
+
"mask-y-to": A()
|
|
1904
1904
|
}],
|
|
1905
1905
|
"mask-image-y-from-color": [{
|
|
1906
1906
|
"mask-y-from": f()
|
|
@@ -1912,10 +1912,10 @@ const tt = (e, r) => {
|
|
|
1912
1912
|
"mask-radial": [p, d]
|
|
1913
1913
|
}],
|
|
1914
1914
|
"mask-image-radial-from-pos": [{
|
|
1915
|
-
"mask-radial-from":
|
|
1915
|
+
"mask-radial-from": A()
|
|
1916
1916
|
}],
|
|
1917
1917
|
"mask-image-radial-to-pos": [{
|
|
1918
|
-
"mask-radial-to":
|
|
1918
|
+
"mask-radial-to": A()
|
|
1919
1919
|
}],
|
|
1920
1920
|
"mask-image-radial-from-color": [{
|
|
1921
1921
|
"mask-radial-from": f()
|
|
@@ -1933,16 +1933,16 @@ const tt = (e, r) => {
|
|
|
1933
1933
|
}]
|
|
1934
1934
|
}],
|
|
1935
1935
|
"mask-image-radial-pos": [{
|
|
1936
|
-
"mask-radial-at":
|
|
1936
|
+
"mask-radial-at": R()
|
|
1937
1937
|
}],
|
|
1938
1938
|
"mask-image-conic-pos": [{
|
|
1939
1939
|
"mask-conic": [x]
|
|
1940
1940
|
}],
|
|
1941
1941
|
"mask-image-conic-from-pos": [{
|
|
1942
|
-
"mask-conic-from":
|
|
1942
|
+
"mask-conic-from": A()
|
|
1943
1943
|
}],
|
|
1944
1944
|
"mask-image-conic-to-pos": [{
|
|
1945
|
-
"mask-conic-to":
|
|
1945
|
+
"mask-conic-to": A()
|
|
1946
1946
|
}],
|
|
1947
1947
|
"mask-image-conic-from-color": [{
|
|
1948
1948
|
"mask-conic-from": f()
|
|
@@ -2045,9 +2045,9 @@ const tt = (e, r) => {
|
|
|
2045
2045
|
// Deprecated since Tailwind CSS v4.0.0
|
|
2046
2046
|
"",
|
|
2047
2047
|
"none",
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2048
|
+
N,
|
|
2049
|
+
le,
|
|
2050
|
+
ae
|
|
2051
2051
|
]
|
|
2052
2052
|
}],
|
|
2053
2053
|
/**
|
|
@@ -2183,21 +2183,21 @@ const tt = (e, r) => {
|
|
|
2183
2183
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2184
2184
|
*/
|
|
2185
2185
|
"border-spacing": [{
|
|
2186
|
-
"border-spacing":
|
|
2186
|
+
"border-spacing": b()
|
|
2187
2187
|
}],
|
|
2188
2188
|
/**
|
|
2189
2189
|
* Border Spacing X
|
|
2190
2190
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2191
2191
|
*/
|
|
2192
2192
|
"border-spacing-x": [{
|
|
2193
|
-
"border-spacing-x":
|
|
2193
|
+
"border-spacing-x": b()
|
|
2194
2194
|
}],
|
|
2195
2195
|
/**
|
|
2196
2196
|
* Border Spacing Y
|
|
2197
2197
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2198
2198
|
*/
|
|
2199
2199
|
"border-spacing-y": [{
|
|
2200
|
-
"border-spacing-y":
|
|
2200
|
+
"border-spacing-y": b()
|
|
2201
2201
|
}],
|
|
2202
2202
|
/**
|
|
2203
2203
|
* Table Layout
|
|
@@ -2242,7 +2242,7 @@ const tt = (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", C, p, d]
|
|
2246
2246
|
}],
|
|
2247
2247
|
/**
|
|
2248
2248
|
* Transition Delay
|
|
@@ -2256,7 +2256,7 @@ const tt = (e, r) => {
|
|
|
2256
2256
|
* @see https://tailwindcss.com/docs/animation
|
|
2257
2257
|
*/
|
|
2258
2258
|
animate: [{
|
|
2259
|
-
animate: ["none",
|
|
2259
|
+
animate: ["none", L, p, d]
|
|
2260
2260
|
}],
|
|
2261
2261
|
// ------------------
|
|
2262
2262
|
// --- Transforms ---
|
|
@@ -2273,70 +2273,70 @@ const tt = (e, r) => {
|
|
|
2273
2273
|
* @see https://tailwindcss.com/docs/perspective
|
|
2274
2274
|
*/
|
|
2275
2275
|
perspective: [{
|
|
2276
|
-
perspective: [
|
|
2276
|
+
perspective: [z, p, d]
|
|
2277
2277
|
}],
|
|
2278
2278
|
/**
|
|
2279
2279
|
* Perspective Origin
|
|
2280
2280
|
* @see https://tailwindcss.com/docs/perspective-origin
|
|
2281
2281
|
*/
|
|
2282
2282
|
"perspective-origin": [{
|
|
2283
|
-
"perspective-origin":
|
|
2283
|
+
"perspective-origin": M()
|
|
2284
2284
|
}],
|
|
2285
2285
|
/**
|
|
2286
2286
|
* Rotate
|
|
2287
2287
|
* @see https://tailwindcss.com/docs/rotate
|
|
2288
2288
|
*/
|
|
2289
2289
|
rotate: [{
|
|
2290
|
-
rotate:
|
|
2290
|
+
rotate: oe()
|
|
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": oe()
|
|
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": oe()
|
|
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": oe()
|
|
2312
2312
|
}],
|
|
2313
2313
|
/**
|
|
2314
2314
|
* Scale
|
|
2315
2315
|
* @see https://tailwindcss.com/docs/scale
|
|
2316
2316
|
*/
|
|
2317
2317
|
scale: [{
|
|
2318
|
-
scale:
|
|
2318
|
+
scale: ne()
|
|
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": ne()
|
|
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": ne()
|
|
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": ne()
|
|
2340
2340
|
}],
|
|
2341
2341
|
/**
|
|
2342
2342
|
* Scale 3D
|
|
@@ -2348,21 +2348,21 @@ const tt = (e, r) => {
|
|
|
2348
2348
|
* @see https://tailwindcss.com/docs/skew
|
|
2349
2349
|
*/
|
|
2350
2350
|
skew: [{
|
|
2351
|
-
skew:
|
|
2351
|
+
skew: fe()
|
|
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": fe()
|
|
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": fe()
|
|
2366
2366
|
}],
|
|
2367
2367
|
/**
|
|
2368
2368
|
* Transform
|
|
@@ -2376,7 +2376,7 @@ const tt = (e, r) => {
|
|
|
2376
2376
|
* @see https://tailwindcss.com/docs/transform-origin
|
|
2377
2377
|
*/
|
|
2378
2378
|
"transform-origin": [{
|
|
2379
|
-
origin:
|
|
2379
|
+
origin: M()
|
|
2380
2380
|
}],
|
|
2381
2381
|
/**
|
|
2382
2382
|
* Transform Style
|
|
@@ -2390,28 +2390,28 @@ const tt = (e, r) => {
|
|
|
2390
2390
|
* @see https://tailwindcss.com/docs/translate
|
|
2391
2391
|
*/
|
|
2392
2392
|
translate: [{
|
|
2393
|
-
translate:
|
|
2393
|
+
translate: se()
|
|
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": se()
|
|
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": se()
|
|
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": se()
|
|
2415
2415
|
}],
|
|
2416
2416
|
/**
|
|
2417
2417
|
* Translate None
|
|
@@ -2489,126 +2489,126 @@ const tt = (e, r) => {
|
|
|
2489
2489
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2490
2490
|
*/
|
|
2491
2491
|
"scroll-m": [{
|
|
2492
|
-
"scroll-m":
|
|
2492
|
+
"scroll-m": b()
|
|
2493
2493
|
}],
|
|
2494
2494
|
/**
|
|
2495
2495
|
* Scroll Margin X
|
|
2496
2496
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2497
2497
|
*/
|
|
2498
2498
|
"scroll-mx": [{
|
|
2499
|
-
"scroll-mx":
|
|
2499
|
+
"scroll-mx": b()
|
|
2500
2500
|
}],
|
|
2501
2501
|
/**
|
|
2502
2502
|
* Scroll Margin Y
|
|
2503
2503
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2504
2504
|
*/
|
|
2505
2505
|
"scroll-my": [{
|
|
2506
|
-
"scroll-my":
|
|
2506
|
+
"scroll-my": b()
|
|
2507
2507
|
}],
|
|
2508
2508
|
/**
|
|
2509
2509
|
* Scroll Margin Start
|
|
2510
2510
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2511
2511
|
*/
|
|
2512
2512
|
"scroll-ms": [{
|
|
2513
|
-
"scroll-ms":
|
|
2513
|
+
"scroll-ms": b()
|
|
2514
2514
|
}],
|
|
2515
2515
|
/**
|
|
2516
2516
|
* Scroll Margin End
|
|
2517
2517
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2518
2518
|
*/
|
|
2519
2519
|
"scroll-me": [{
|
|
2520
|
-
"scroll-me":
|
|
2520
|
+
"scroll-me": b()
|
|
2521
2521
|
}],
|
|
2522
2522
|
/**
|
|
2523
2523
|
* Scroll Margin Top
|
|
2524
2524
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2525
2525
|
*/
|
|
2526
2526
|
"scroll-mt": [{
|
|
2527
|
-
"scroll-mt":
|
|
2527
|
+
"scroll-mt": b()
|
|
2528
2528
|
}],
|
|
2529
2529
|
/**
|
|
2530
2530
|
* Scroll Margin Right
|
|
2531
2531
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2532
2532
|
*/
|
|
2533
2533
|
"scroll-mr": [{
|
|
2534
|
-
"scroll-mr":
|
|
2534
|
+
"scroll-mr": b()
|
|
2535
2535
|
}],
|
|
2536
2536
|
/**
|
|
2537
2537
|
* Scroll Margin Bottom
|
|
2538
2538
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2539
2539
|
*/
|
|
2540
2540
|
"scroll-mb": [{
|
|
2541
|
-
"scroll-mb":
|
|
2541
|
+
"scroll-mb": b()
|
|
2542
2542
|
}],
|
|
2543
2543
|
/**
|
|
2544
2544
|
* Scroll Margin Left
|
|
2545
2545
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2546
2546
|
*/
|
|
2547
2547
|
"scroll-ml": [{
|
|
2548
|
-
"scroll-ml":
|
|
2548
|
+
"scroll-ml": b()
|
|
2549
2549
|
}],
|
|
2550
2550
|
/**
|
|
2551
2551
|
* Scroll Padding
|
|
2552
2552
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2553
2553
|
*/
|
|
2554
2554
|
"scroll-p": [{
|
|
2555
|
-
"scroll-p":
|
|
2555
|
+
"scroll-p": b()
|
|
2556
2556
|
}],
|
|
2557
2557
|
/**
|
|
2558
2558
|
* Scroll Padding X
|
|
2559
2559
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2560
2560
|
*/
|
|
2561
2561
|
"scroll-px": [{
|
|
2562
|
-
"scroll-px":
|
|
2562
|
+
"scroll-px": b()
|
|
2563
2563
|
}],
|
|
2564
2564
|
/**
|
|
2565
2565
|
* Scroll Padding Y
|
|
2566
2566
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2567
2567
|
*/
|
|
2568
2568
|
"scroll-py": [{
|
|
2569
|
-
"scroll-py":
|
|
2569
|
+
"scroll-py": b()
|
|
2570
2570
|
}],
|
|
2571
2571
|
/**
|
|
2572
2572
|
* Scroll Padding Start
|
|
2573
2573
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2574
2574
|
*/
|
|
2575
2575
|
"scroll-ps": [{
|
|
2576
|
-
"scroll-ps":
|
|
2576
|
+
"scroll-ps": b()
|
|
2577
2577
|
}],
|
|
2578
2578
|
/**
|
|
2579
2579
|
* Scroll Padding End
|
|
2580
2580
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2581
2581
|
*/
|
|
2582
2582
|
"scroll-pe": [{
|
|
2583
|
-
"scroll-pe":
|
|
2583
|
+
"scroll-pe": b()
|
|
2584
2584
|
}],
|
|
2585
2585
|
/**
|
|
2586
2586
|
* Scroll Padding Top
|
|
2587
2587
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2588
2588
|
*/
|
|
2589
2589
|
"scroll-pt": [{
|
|
2590
|
-
"scroll-pt":
|
|
2590
|
+
"scroll-pt": b()
|
|
2591
2591
|
}],
|
|
2592
2592
|
/**
|
|
2593
2593
|
* Scroll Padding Right
|
|
2594
2594
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2595
2595
|
*/
|
|
2596
2596
|
"scroll-pr": [{
|
|
2597
|
-
"scroll-pr":
|
|
2597
|
+
"scroll-pr": b()
|
|
2598
2598
|
}],
|
|
2599
2599
|
/**
|
|
2600
2600
|
* Scroll Padding Bottom
|
|
2601
2601
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2602
2602
|
*/
|
|
2603
2603
|
"scroll-pb": [{
|
|
2604
|
-
"scroll-pb":
|
|
2604
|
+
"scroll-pb": b()
|
|
2605
2605
|
}],
|
|
2606
2606
|
/**
|
|
2607
2607
|
* Scroll Padding Left
|
|
2608
2608
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2609
2609
|
*/
|
|
2610
2610
|
"scroll-pl": [{
|
|
2611
|
-
"scroll-pl":
|
|
2611
|
+
"scroll-pl": b()
|
|
2612
2612
|
}],
|
|
2613
2613
|
/**
|
|
2614
2614
|
* Scroll Snap Align
|
|
@@ -2693,7 +2693,7 @@ const tt = (e, r) => {
|
|
|
2693
2693
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
2694
2694
|
*/
|
|
2695
2695
|
"stroke-w": [{
|
|
2696
|
-
stroke: [x, Q,
|
|
2696
|
+
stroke: [x, Q, W, he]
|
|
2697
2697
|
}],
|
|
2698
2698
|
/**
|
|
2699
2699
|
* Stroke
|
|
@@ -2768,20 +2768,20 @@ const tt = (e, r) => {
|
|
|
2768
2768
|
},
|
|
2769
2769
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
2770
2770
|
};
|
|
2771
|
-
},
|
|
2771
|
+
}, Dt = /* @__PURE__ */ vt($t);
|
|
2772
2772
|
function m(...e) {
|
|
2773
|
-
return
|
|
2773
|
+
return Dt(et(e));
|
|
2774
2774
|
}
|
|
2775
|
-
const
|
|
2775
|
+
const Ht = {
|
|
2776
2776
|
primary: "text-[#7e97b8] bg-[#dbeafe] border-[rgba(255,255,255,0.333)] shadow-[-4px_-2px_8px_0px_#ffffff,4px_2px_8px_0px_rgb(59_130_246_/_24%)] hover:text-[#516d91] hover:bg-[#bfdbfe] hover:shadow-[-2px_-1px_4px_0px_#ffffff,2px_1px_4px_0px_rgb(59_130_246_/_24%)]",
|
|
2777
2777
|
secondary: "text-[#6b7280] bg-[#d1fae5] border-[rgba(255,255,255,0.4)] shadow-[-4px_-2px_8px_0px_#ffffff,4px_2px_8px_0px_rgb(34_197_94_/_18%)] hover:text-[#4b5563] hover:bg-[#a7f3d0] hover:shadow-[-2px_-1px_4px_0px_#ffffff,2px_1px_4px_0px_rgb(34_197_94_/_18%)]",
|
|
2778
|
-
danger: "text-
|
|
2779
|
-
ghost: "text-[#6b7280] bg-transparent border-[rgba(255,255,255,0.2)] shadow-[-4px_-2px_8px_0px_rgba(255,255,255,0.05),4px_2px_8px_0px_rgba(0,0,0,0.05)] hover:text-[#4b5563] hover:bg-[rgba(255,255,255,0.05)] hover:shadow-[-2px_-1px_4px_0px_rgba(255,255,255,0.05),2px_1px_4px_0px_rgba(0,0,0,0.05)]"
|
|
2780
|
-
},
|
|
2778
|
+
danger: "text-black font-bold bg-[#fecaca] border-[rgba(255,255,255,0.5)] shadow-[-4px_-2px_8px_0px_#ffffff,4px_2px_8px_0px_rgb(239_68_68_/_18%)] hover:text-black hover:bg-[#fed7d7] hover:shadow-[-2px_-1px_4px_0px_#ffffff,2px_1px_4px_0px_rgb(239_68_68_/_18%)]",
|
|
2779
|
+
ghost: "text-[#6b7280] bg-transparent border-[rgba(255,255,255,0.2)] shadow-[-4px_-2px_8px_0px_rgba(255,255,255,0.05),4px_2px_8px_0px_rgba(0,0,0,0.05)] hover:text-[#4b5563] hover:bg-[rgba(255,255,255,0.05)] hover:shadow-[-2px_-1px_4px_0px_rgba(255,255,255,0.05),2px_1px_4px_0px_rgba(0,0,0,0.05)] theme-dark:text-white theme-dark:hover:text-white"
|
|
2780
|
+
}, Ot = {
|
|
2781
2781
|
sm: "px-4 py-2 pl-5 text-xs h-8",
|
|
2782
|
-
md: "px-6 py-4 pl-7 text-
|
|
2783
|
-
lg: "px-8 py-5 pl-9 text-
|
|
2784
|
-
},
|
|
2782
|
+
md: "px-6 py-4 pl-7 text-sm h-10",
|
|
2783
|
+
lg: "px-8 py-5 pl-9 text-base h-12"
|
|
2784
|
+
}, pe = y.forwardRef(({
|
|
2785
2785
|
variant: e = "primary",
|
|
2786
2786
|
size: r = "md",
|
|
2787
2787
|
loading: o = !1,
|
|
@@ -2795,8 +2795,8 @@ const Wt = {
|
|
|
2795
2795
|
ref: c,
|
|
2796
2796
|
className: m(
|
|
2797
2797
|
"flex items-center justify-center gap-2.5",
|
|
2798
|
-
"font-
|
|
2799
|
-
"
|
|
2798
|
+
"font-bold",
|
|
2799
|
+
"tracking-[0.4px]",
|
|
2800
2800
|
"border-2 border-solid",
|
|
2801
2801
|
"rounded-[40px]",
|
|
2802
2802
|
"transform translate-x-0 translate-y-0 rotate-0",
|
|
@@ -2804,11 +2804,13 @@ const Wt = {
|
|
|
2804
2804
|
"active:shadow-none",
|
|
2805
2805
|
"focus-visible focus:outline-none",
|
|
2806
2806
|
"disabled:cursor-not-allowed disabled:opacity-50",
|
|
2807
|
-
|
|
2808
|
-
|
|
2807
|
+
Ht[e],
|
|
2808
|
+
Ot[r],
|
|
2809
2809
|
s
|
|
2810
2810
|
),
|
|
2811
|
+
style: { fontFamily: '"Manrope", sans-serif' },
|
|
2811
2812
|
disabled: t || o,
|
|
2813
|
+
"aria-busy": o,
|
|
2812
2814
|
...a,
|
|
2813
2815
|
children: [
|
|
2814
2816
|
o && /* @__PURE__ */ g(
|
|
@@ -2846,22 +2848,22 @@ const Wt = {
|
|
|
2846
2848
|
]
|
|
2847
2849
|
}
|
|
2848
2850
|
));
|
|
2849
|
-
|
|
2850
|
-
const
|
|
2851
|
-
button:
|
|
2852
|
-
"button--size-sm": "_button--size-
|
|
2853
|
-
state:
|
|
2854
|
-
"button--size-md": "_button--size-
|
|
2855
|
-
"button--size-lg": "_button--size-
|
|
2856
|
-
icon:
|
|
2857
|
-
outline:
|
|
2858
|
-
"state--default": "_state--
|
|
2859
|
-
"state--sent": "_state--
|
|
2851
|
+
pe.displayName = "Button";
|
|
2852
|
+
const Wt = "_button_1l5kn_7", Zt = "_state_1l5kn_79", Ut = "_icon_1l5kn_155", qt = "_outline_1l5kn_209", G = {
|
|
2853
|
+
button: Wt,
|
|
2854
|
+
"button--size-sm": "_button--size-sm_1l5kn_61",
|
|
2855
|
+
state: Zt,
|
|
2856
|
+
"button--size-md": "_button--size-md_1l5kn_87",
|
|
2857
|
+
"button--size-lg": "_button--size-lg_1l5kn_113",
|
|
2858
|
+
icon: Ut,
|
|
2859
|
+
outline: qt,
|
|
2860
|
+
"state--default": "_state--default_1l5kn_233",
|
|
2861
|
+
"state--sent": "_state--sent_1l5kn_817"
|
|
2860
2862
|
}, Ae = (e) => e.split("").map((r, o) => /* @__PURE__ */ n("span", { style: { "--i": o }, children: r === " " ? " " : r }, o)), Yt = {
|
|
2861
2863
|
sm: G["button--size-sm"],
|
|
2862
2864
|
md: G["button--size-md"],
|
|
2863
2865
|
lg: G["button--size-lg"]
|
|
2864
|
-
},
|
|
2866
|
+
}, Kt = {
|
|
2865
2867
|
primary: "text-[#7e97b8] bg-[#dbeafe] border-[rgba(255,255,255,0.333)] shadow-[-4px_-2px_8px_0px_#ffffff,4px_2px_8px_0px_rgb(59_130_246_/_24%)] hover:text-[#516d91] hover:bg-[#bfdbfe] hover:shadow-[-2px_-1px_4px_0px_#ffffff,2px_1px_4px_0px_rgb(59_130_246_/_24%)]",
|
|
2866
2868
|
secondary: "text-[#6b7280] bg-[#d1fae5] border-[rgba(255,255,255,0.4)] shadow-[-4px_-2px_8px_0px_#ffffff,4px_2px_8px_0px_rgb(34_197_94_/_18%)] hover:text-[#4b5563] hover:bg-[#a7f3d0] hover:shadow-[-2px_-1px_4px_0px_#ffffff,2px_1px_4px_0px_rgb(34_197_94_/_18%)]",
|
|
2867
2869
|
danger: "text-[#ef4444] bg-[#fecaca] border-[rgba(255,255,255,0.5)] shadow-[-4px_-2px_8px_0px_#ffffff,4px_2px_8px_0px_rgb(239_68_68_/_18%)] hover:text-[#dc2626] hover:bg-[#fed7d7] hover:shadow-[-2px_-1px_4px_0px_#ffffff,2px_1px_4px_0px_rgb(239_68_68_/_18%)]"
|
|
@@ -2875,41 +2877,80 @@ const Ot = "_button_qraba_7", qt = "_state_qraba_79", Zt = "_icon_qraba_151", Ut
|
|
|
2875
2877
|
className: a,
|
|
2876
2878
|
...c
|
|
2877
2879
|
}) => {
|
|
2878
|
-
const [i, u] =
|
|
2880
|
+
const [i, u] = ie(!1), [h, _] = ie(!1), w = Xe(), N = ee(null), v = ee(void 0);
|
|
2881
|
+
ce(() => () => {
|
|
2882
|
+
v.current !== void 0 && window.clearTimeout(v.current);
|
|
2883
|
+
}, []);
|
|
2884
|
+
const z = Ie(async (k) => {
|
|
2885
|
+
if (o && !i && !h)
|
|
2886
|
+
try {
|
|
2887
|
+
_(!0), await o(), u(!0), v.current !== void 0 && window.clearTimeout(v.current), v.current = window.setTimeout(() => {
|
|
2888
|
+
u(!1);
|
|
2889
|
+
}, 3e3);
|
|
2890
|
+
} catch (C) {
|
|
2891
|
+
console.error("Submit failed:", C);
|
|
2892
|
+
} finally {
|
|
2893
|
+
_(!1);
|
|
2894
|
+
}
|
|
2895
|
+
c.onClick?.(k);
|
|
2896
|
+
}, [o, i, h, c.onClick]);
|
|
2879
2897
|
return /* @__PURE__ */ g(
|
|
2880
2898
|
"button",
|
|
2881
2899
|
{
|
|
2882
2900
|
...c,
|
|
2883
|
-
ref:
|
|
2901
|
+
ref: N,
|
|
2884
2902
|
type: "submit",
|
|
2885
|
-
disabled: t,
|
|
2886
|
-
onClick:
|
|
2887
|
-
|
|
2888
|
-
try {
|
|
2889
|
-
await o(), u(!0), _.current?.focus(), setTimeout(() => {
|
|
2890
|
-
u(!1), _.current?.blur();
|
|
2891
|
-
}, 3e3);
|
|
2892
|
-
} catch (v) {
|
|
2893
|
-
console.error("Submit failed:", v);
|
|
2894
|
-
}
|
|
2895
|
-
c.onClick?.(k);
|
|
2896
|
-
},
|
|
2897
|
-
className: m(G.button, Xt[s], Yt[l], a),
|
|
2903
|
+
disabled: t || h,
|
|
2904
|
+
onClick: z,
|
|
2905
|
+
className: m(G.button, Kt[s], Yt[l], a),
|
|
2898
2906
|
"aria-label": i ? "Submission successful" : c["aria-label"] || "Submit",
|
|
2899
|
-
"aria-disabled": t,
|
|
2907
|
+
"aria-disabled": t || h,
|
|
2908
|
+
"aria-busy": h,
|
|
2900
2909
|
children: [
|
|
2901
2910
|
/* @__PURE__ */ n("div", { className: G.outline }),
|
|
2902
2911
|
/* @__PURE__ */ g("div", { className: m(G.state, G["state--default"]), children: [
|
|
2903
|
-
/* @__PURE__ */ n("div", { className: G.icon, children: /* @__PURE__ */ g(
|
|
2912
|
+
/* @__PURE__ */ n("div", { className: G.icon, children: h ? /* @__PURE__ */ g(
|
|
2904
2913
|
"svg",
|
|
2905
2914
|
{
|
|
2915
|
+
className: "animate-spin",
|
|
2906
2916
|
width: "1em",
|
|
2907
2917
|
height: "1em",
|
|
2908
2918
|
viewBox: "0 0 24 24",
|
|
2909
2919
|
fill: "none",
|
|
2910
2920
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2921
|
+
"aria-hidden": "true",
|
|
2911
2922
|
children: [
|
|
2912
|
-
/* @__PURE__ */
|
|
2923
|
+
/* @__PURE__ */ n(
|
|
2924
|
+
"circle",
|
|
2925
|
+
{
|
|
2926
|
+
className: "opacity-25",
|
|
2927
|
+
cx: "12",
|
|
2928
|
+
cy: "12",
|
|
2929
|
+
r: "10",
|
|
2930
|
+
stroke: "currentColor",
|
|
2931
|
+
strokeWidth: "4"
|
|
2932
|
+
}
|
|
2933
|
+
),
|
|
2934
|
+
/* @__PURE__ */ n(
|
|
2935
|
+
"path",
|
|
2936
|
+
{
|
|
2937
|
+
className: "opacity-75",
|
|
2938
|
+
fill: "currentColor",
|
|
2939
|
+
d: "M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"
|
|
2940
|
+
}
|
|
2941
|
+
)
|
|
2942
|
+
]
|
|
2943
|
+
}
|
|
2944
|
+
) : /* @__PURE__ */ g(
|
|
2945
|
+
"svg",
|
|
2946
|
+
{
|
|
2947
|
+
width: "1em",
|
|
2948
|
+
height: "1em",
|
|
2949
|
+
viewBox: "0 0 24 24",
|
|
2950
|
+
fill: "none",
|
|
2951
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2952
|
+
children: [
|
|
2953
|
+
/* @__PURE__ */ g("g", { style: { filter: `url(#${w})` }, children: [
|
|
2913
2954
|
/* @__PURE__ */ n(
|
|
2914
2955
|
"path",
|
|
2915
2956
|
{
|
|
@@ -2925,7 +2966,7 @@ const Ot = "_button_qraba_7", qt = "_state_qraba_79", Zt = "_icon_qraba_151", Ut
|
|
|
2925
2966
|
}
|
|
2926
2967
|
)
|
|
2927
2968
|
] }),
|
|
2928
|
-
/* @__PURE__ */ n("defs", { children: /* @__PURE__ */ n("filter", { id:
|
|
2969
|
+
/* @__PURE__ */ n("defs", { children: /* @__PURE__ */ n("filter", { id: w, children: /* @__PURE__ */ n(
|
|
2929
2970
|
"feDropShadow",
|
|
2930
2971
|
{
|
|
2931
2972
|
dx: "0",
|
|
@@ -2950,7 +2991,7 @@ const Ot = "_button_qraba_7", qt = "_state_qraba_79", Zt = "_icon_qraba_151", Ut
|
|
|
2950
2991
|
width: "1em",
|
|
2951
2992
|
strokeWidth: "0.5px",
|
|
2952
2993
|
stroke: "black",
|
|
2953
|
-
children: /* @__PURE__ */ g("g", { style: { filter: `url(#${
|
|
2994
|
+
children: /* @__PURE__ */ g("g", { style: { filter: `url(#${w})` }, children: [
|
|
2954
2995
|
/* @__PURE__ */ n(
|
|
2955
2996
|
"path",
|
|
2956
2997
|
{
|
|
@@ -2973,11 +3014,11 @@ const Ot = "_button_qraba_7", qt = "_state_qraba_79", Zt = "_icon_qraba_151", Ut
|
|
|
2973
3014
|
]
|
|
2974
3015
|
}
|
|
2975
3016
|
);
|
|
2976
|
-
},
|
|
3017
|
+
}, Xt = {
|
|
2977
3018
|
sm: "px-4 py-2 text-sm",
|
|
2978
3019
|
md: "px-5 py-[10px] text-base",
|
|
2979
3020
|
lg: "px-6 py-3 text-lg"
|
|
2980
|
-
},
|
|
3021
|
+
}, We = y.forwardRef(({
|
|
2981
3022
|
size: e = "md",
|
|
2982
3023
|
error: r = !1,
|
|
2983
3024
|
className: o,
|
|
@@ -2998,7 +3039,7 @@ const Ot = "_button_qraba_7", qt = "_state_qraba_79", Zt = "_icon_qraba_151", Ut
|
|
|
2998
3039
|
"transition-colors duration-200",
|
|
2999
3040
|
"disabled:text-text-disabled disabled:cursor-not-allowed",
|
|
3000
3041
|
r ? "shadow-[inset_2px_5px_10px_var(--input-shadow-error)] cursor-help" : "shadow-[inset_2px_5px_10px_var(--input-shadow)]",
|
|
3001
|
-
|
|
3042
|
+
Xt[e],
|
|
3002
3043
|
o
|
|
3003
3044
|
),
|
|
3004
3045
|
style: r ? { paddingRight: "2rem" } : void 0,
|
|
@@ -3027,7 +3068,7 @@ const Ot = "_button_qraba_7", qt = "_state_qraba_79", Zt = "_icon_qraba_151", Ut
|
|
|
3027
3068
|
}
|
|
3028
3069
|
)
|
|
3029
3070
|
] }));
|
|
3030
|
-
|
|
3071
|
+
We.displayName = "Input";
|
|
3031
3072
|
const Jt = y.forwardRef(({
|
|
3032
3073
|
label: e,
|
|
3033
3074
|
error: r = !1,
|
|
@@ -3055,7 +3096,7 @@ const Jt = y.forwardRef(({
|
|
|
3055
3096
|
...a
|
|
3056
3097
|
}
|
|
3057
3098
|
),
|
|
3058
|
-
/* @__PURE__ */ n("svg", { viewBox: "0 0 64 64", height: "1em", width: "1em", children: /* @__PURE__ */ n(
|
|
3099
|
+
/* @__PURE__ */ n("svg", { viewBox: "0 0 64 64", height: "1em", width: "1em", "aria-hidden": "true", children: /* @__PURE__ */ n(
|
|
3059
3100
|
"path",
|
|
3060
3101
|
{
|
|
3061
3102
|
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",
|
|
@@ -3078,7 +3119,7 @@ const Jt = y.forwardRef(({
|
|
|
3078
3119
|
] });
|
|
3079
3120
|
});
|
|
3080
3121
|
Jt.displayName = "Checkbox";
|
|
3081
|
-
const
|
|
3122
|
+
const Br = ({
|
|
3082
3123
|
label: e,
|
|
3083
3124
|
error: r = !1,
|
|
3084
3125
|
className: o,
|
|
@@ -3088,21 +3129,14 @@ const Pr = ({
|
|
|
3088
3129
|
id: a,
|
|
3089
3130
|
...c
|
|
3090
3131
|
}) => {
|
|
3091
|
-
const i = a || y.useId(), u = (
|
|
3092
|
-
|
|
3093
|
-
b.preventDefault();
|
|
3094
|
-
const _ = document.getElementById(i);
|
|
3095
|
-
if (_) {
|
|
3096
|
-
_.checked = !_.checked;
|
|
3097
|
-
const w = new Event("change", { bubbles: !0 });
|
|
3098
|
-
_.dispatchEvent(w);
|
|
3099
|
-
}
|
|
3100
|
-
}
|
|
3132
|
+
const i = a || y.useId(), u = ee(null), h = (_) => {
|
|
3133
|
+
(_.key === "Enter" || _.key === " ") && !t && (_.preventDefault(), u.current?.click());
|
|
3101
3134
|
};
|
|
3102
3135
|
return /* @__PURE__ */ g("div", { className: m("toggle-wrapper", r && "toggle-wrapper--error", t && "cursor-not-allowed", r && !t && "cursor-help", o), children: [
|
|
3103
3136
|
/* @__PURE__ */ n(
|
|
3104
3137
|
"input",
|
|
3105
3138
|
{
|
|
3139
|
+
ref: u,
|
|
3106
3140
|
id: i,
|
|
3107
3141
|
className: "toggle-checkbox",
|
|
3108
3142
|
type: "checkbox",
|
|
@@ -3120,11 +3154,11 @@ const Pr = ({
|
|
|
3120
3154
|
"div",
|
|
3121
3155
|
{
|
|
3122
3156
|
className: m("toggle-container", t && "cursor-not-allowed", r && !t && "cursor-help"),
|
|
3123
|
-
onKeyDown:
|
|
3157
|
+
onKeyDown: h,
|
|
3124
3158
|
tabIndex: t ? -1 : 0,
|
|
3125
3159
|
role: "button",
|
|
3126
3160
|
"aria-hidden": "true",
|
|
3127
|
-
children: /* @__PURE__ */ n("div", { className: "toggle-button", children: /* @__PURE__ */ n("div", { className: "toggle-button-circles-container", children: Array.from({ length: 12 }).map((
|
|
3161
|
+
children: /* @__PURE__ */ n("div", { className: "toggle-button", children: /* @__PURE__ */ n("div", { className: "toggle-button-circles-container", children: Array.from({ length: 12 }).map((_, w) => /* @__PURE__ */ n("div", { className: "toggle-button-circle" }, w)) }) })
|
|
3128
3162
|
}
|
|
3129
3163
|
),
|
|
3130
3164
|
e && /* @__PURE__ */ n(
|
|
@@ -3139,7 +3173,7 @@ const Pr = ({
|
|
|
3139
3173
|
}
|
|
3140
3174
|
)
|
|
3141
3175
|
] });
|
|
3142
|
-
},
|
|
3176
|
+
}, Fr = ({ className: e, ...r }) => /* @__PURE__ */ n(
|
|
3143
3177
|
"div",
|
|
3144
3178
|
{
|
|
3145
3179
|
className: m(
|
|
@@ -3152,36 +3186,46 @@ const Pr = ({
|
|
|
3152
3186
|
),
|
|
3153
3187
|
...r
|
|
3154
3188
|
}
|
|
3155
|
-
),
|
|
3189
|
+
), Gr = ({ className: e, ...r }) => /* @__PURE__ */ n(
|
|
3156
3190
|
"div",
|
|
3157
3191
|
{
|
|
3158
3192
|
className: m("flex items-start justify-between gap-4 px-6 py-4 border-b border-border", e),
|
|
3159
3193
|
...r
|
|
3160
3194
|
}
|
|
3161
|
-
),
|
|
3195
|
+
), Pr = ({ className: e, ...r }) => /* @__PURE__ */ n("div", { className: m("px-6 py-4", e), ...r }), $r = ({ className: e, ...r }) => /* @__PURE__ */ n(
|
|
3162
3196
|
"div",
|
|
3163
3197
|
{
|
|
3164
3198
|
className: m("flex items-center justify-end gap-3 px-6 py-4 border-t border-border", e),
|
|
3165
3199
|
...r
|
|
3166
3200
|
}
|
|
3167
|
-
),
|
|
3201
|
+
), Ze = {
|
|
3168
3202
|
sm: 0.7,
|
|
3169
3203
|
md: 1,
|
|
3170
3204
|
lg: 1.3
|
|
3171
|
-
},
|
|
3172
|
-
const t = 8 *
|
|
3173
|
-
return /* @__PURE__ */ g(
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
|
|
3177
|
-
|
|
3205
|
+
}, Dr = ({ size: e = "md", className: r, ...o }) => {
|
|
3206
|
+
const t = 8 * Ze[e];
|
|
3207
|
+
return /* @__PURE__ */ g(
|
|
3208
|
+
"div",
|
|
3209
|
+
{
|
|
3210
|
+
className: m("loader", r),
|
|
3211
|
+
style: { fontSize: `${t}px` },
|
|
3212
|
+
role: "status",
|
|
3213
|
+
"aria-label": "Loading",
|
|
3214
|
+
...o,
|
|
3215
|
+
children: [
|
|
3216
|
+
/* @__PURE__ */ n("div", { className: "loader-face loader-face-1", children: /* @__PURE__ */ n("div", { className: "loader-circle" }) }),
|
|
3217
|
+
/* @__PURE__ */ n("div", { className: "loader-face loader-face-2", children: /* @__PURE__ */ n("div", { className: "loader-circle" }) })
|
|
3218
|
+
]
|
|
3219
|
+
}
|
|
3220
|
+
);
|
|
3221
|
+
}, Hr = ({
|
|
3178
3222
|
size: e = "md",
|
|
3179
3223
|
variant: r = "inline",
|
|
3180
3224
|
label: o,
|
|
3181
3225
|
className: t,
|
|
3182
3226
|
...s
|
|
3183
3227
|
}) => {
|
|
3184
|
-
const l = 8 *
|
|
3228
|
+
const l = 8 * Ze[e];
|
|
3185
3229
|
return r === "container" ? /* @__PURE__ */ n(
|
|
3186
3230
|
"div",
|
|
3187
3231
|
{
|
|
@@ -3189,23 +3233,34 @@ const Pr = ({
|
|
|
3189
3233
|
"relative w-full min-h-[8rem] rounded-lg border border-border bg-surface-secondary flex items-center justify-center",
|
|
3190
3234
|
t
|
|
3191
3235
|
),
|
|
3236
|
+
role: "status",
|
|
3237
|
+
"aria-label": o || "Loading",
|
|
3192
3238
|
...s,
|
|
3193
3239
|
children: /* @__PURE__ */ g("div", { className: "flex flex-col items-center gap-3", children: [
|
|
3194
|
-
/* @__PURE__ */ g("div", { className: "loader", style: { fontSize: `${l}px` }, children: [
|
|
3240
|
+
/* @__PURE__ */ g("div", { className: "loader", style: { fontSize: `${l}px` }, "aria-hidden": "true", children: [
|
|
3195
3241
|
/* @__PURE__ */ n("div", { className: "loader-face loader-face-1", children: /* @__PURE__ */ n("div", { className: "loader-circle" }) }),
|
|
3196
3242
|
/* @__PURE__ */ n("div", { className: "loader-face loader-face-2", children: /* @__PURE__ */ n("div", { className: "loader-circle" }) })
|
|
3197
3243
|
] }),
|
|
3198
3244
|
o && /* @__PURE__ */ n("span", { className: "text-sm text-text-secondary", children: o })
|
|
3199
3245
|
] })
|
|
3200
3246
|
}
|
|
3201
|
-
) : /* @__PURE__ */ g(
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
|
|
3207
|
-
|
|
3208
|
-
|
|
3247
|
+
) : /* @__PURE__ */ g(
|
|
3248
|
+
"div",
|
|
3249
|
+
{
|
|
3250
|
+
className: m("inline-flex items-center gap-2", t),
|
|
3251
|
+
role: "status",
|
|
3252
|
+
"aria-label": o || "Loading",
|
|
3253
|
+
...s,
|
|
3254
|
+
children: [
|
|
3255
|
+
/* @__PURE__ */ g("div", { className: "loader", style: { fontSize: `${l}px` }, "aria-hidden": "true", children: [
|
|
3256
|
+
/* @__PURE__ */ n("div", { className: "loader-face loader-face-1", children: /* @__PURE__ */ n("div", { className: "loader-circle" }) }),
|
|
3257
|
+
/* @__PURE__ */ n("div", { className: "loader-face loader-face-2", children: /* @__PURE__ */ n("div", { className: "loader-circle" }) })
|
|
3258
|
+
] }),
|
|
3259
|
+
o && /* @__PURE__ */ n("span", { className: "text-sm text-text-secondary", children: o })
|
|
3260
|
+
]
|
|
3261
|
+
}
|
|
3262
|
+
);
|
|
3263
|
+
}, Ue = y.createContext(null), Or = ({
|
|
3209
3264
|
name: e,
|
|
3210
3265
|
legend: r,
|
|
3211
3266
|
value: o,
|
|
@@ -3216,13 +3271,13 @@ const Pr = ({
|
|
|
3216
3271
|
children: c,
|
|
3217
3272
|
...i
|
|
3218
3273
|
}) => {
|
|
3219
|
-
const u = o !== void 0, [
|
|
3274
|
+
const u = o !== void 0, [h, _] = y.useState(t), w = u ? o : h, N = y.useCallback(
|
|
3220
3275
|
(v) => {
|
|
3221
3276
|
u || _(v), l?.(v);
|
|
3222
3277
|
},
|
|
3223
3278
|
[u, l]
|
|
3224
3279
|
);
|
|
3225
|
-
return /* @__PURE__ */ n(
|
|
3280
|
+
return /* @__PURE__ */ n(Ue.Provider, { value: { name: e, value: w, disabled: s, onValueChange: N }, children: /* @__PURE__ */ g(
|
|
3226
3281
|
"fieldset",
|
|
3227
3282
|
{
|
|
3228
3283
|
className: m("radio-input", s && "opacity-60 cursor-not-allowed", a),
|
|
@@ -3234,7 +3289,7 @@ const Pr = ({
|
|
|
3234
3289
|
]
|
|
3235
3290
|
}
|
|
3236
3291
|
) });
|
|
3237
|
-
},
|
|
3292
|
+
}, Wr = ({
|
|
3238
3293
|
label: e,
|
|
3239
3294
|
value: r,
|
|
3240
3295
|
disabled: o,
|
|
@@ -3246,29 +3301,29 @@ const Pr = ({
|
|
|
3246
3301
|
className: i,
|
|
3247
3302
|
...u
|
|
3248
3303
|
}) => {
|
|
3249
|
-
const
|
|
3250
|
-
const
|
|
3251
|
-
v &&
|
|
3252
|
-
},
|
|
3304
|
+
const h = y.useContext(Ue), _ = y.useId(), w = !!(o ?? h?.disabled), N = l ?? h?.name, v = !!h, z = t !== void 0, [k, C] = y.useState(!!s), L = v ? h?.value === r : z ? !!t : k, V = (M) => {
|
|
3305
|
+
const I = M.target.checked;
|
|
3306
|
+
v && I ? h?.onValueChange?.(r) : z || C(I), c?.(I), a?.(M);
|
|
3307
|
+
}, R = /* @__PURE__ */ g("label", { htmlFor: _, className: m(w && "cursor-not-allowed", i), role: "radio", "aria-checked": L, "aria-disabled": w, children: [
|
|
3253
3308
|
/* @__PURE__ */ n(
|
|
3254
3309
|
"input",
|
|
3255
3310
|
{
|
|
3256
3311
|
id: _,
|
|
3257
3312
|
type: "radio",
|
|
3258
|
-
name:
|
|
3313
|
+
name: N,
|
|
3259
3314
|
value: r,
|
|
3260
|
-
checked:
|
|
3315
|
+
checked: L,
|
|
3261
3316
|
disabled: w,
|
|
3262
|
-
onChange:
|
|
3317
|
+
onChange: V,
|
|
3263
3318
|
role: "radio",
|
|
3264
|
-
"aria-checked":
|
|
3319
|
+
"aria-checked": L,
|
|
3265
3320
|
"aria-disabled": w,
|
|
3266
3321
|
...u
|
|
3267
3322
|
}
|
|
3268
3323
|
),
|
|
3269
3324
|
/* @__PURE__ */ n("span", { children: e || "" })
|
|
3270
3325
|
] });
|
|
3271
|
-
return v ?
|
|
3326
|
+
return v ? R : /* @__PURE__ */ n("div", { className: "radio-input", children: R });
|
|
3272
3327
|
}, Qt = {
|
|
3273
3328
|
top: "bottom-full left-1/2 -translate-x-1/2 mb-1",
|
|
3274
3329
|
bottom: "top-full left-1/2 -translate-x-1/2 mt-1",
|
|
@@ -3289,7 +3344,7 @@ const Pr = ({
|
|
|
3289
3344
|
bottom: "bottom-full left-1/2 -translate-x-1/2 -mb-[5px]",
|
|
3290
3345
|
left: "left-full top-1/2 -translate-y-1/2 -ml-[5px]",
|
|
3291
3346
|
right: "right-full top-1/2 -translate-y-1/2 -mr-[5px]"
|
|
3292
|
-
},
|
|
3347
|
+
}, Zr = ({
|
|
3293
3348
|
open: e,
|
|
3294
3349
|
onOpenChange: r,
|
|
3295
3350
|
content: o,
|
|
@@ -3299,56 +3354,62 @@ const Pr = ({
|
|
|
3299
3354
|
children: a,
|
|
3300
3355
|
className: c
|
|
3301
3356
|
}) => {
|
|
3302
|
-
const i = y.useRef(null), u = () => {
|
|
3357
|
+
const i = y.useRef(null), u = y.useRef(null), h = y.useRef(null), _ = () => {
|
|
3303
3358
|
i.current !== null && (window.clearTimeout(i.current), i.current = null);
|
|
3304
3359
|
};
|
|
3305
|
-
y.useEffect(() =>
|
|
3306
|
-
const
|
|
3360
|
+
y.useEffect(() => _, []);
|
|
3361
|
+
const w = () => {
|
|
3307
3362
|
if (!l) {
|
|
3308
|
-
if (
|
|
3363
|
+
if (_(), s > 0) {
|
|
3309
3364
|
i.current = window.setTimeout(() => r?.(!0), s);
|
|
3310
3365
|
return;
|
|
3311
3366
|
}
|
|
3312
3367
|
r?.(!0);
|
|
3313
3368
|
}
|
|
3314
|
-
},
|
|
3315
|
-
|
|
3316
|
-
},
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
|
|
3321
|
-
|
|
3369
|
+
}, N = () => {
|
|
3370
|
+
_(), r?.(!1);
|
|
3371
|
+
}, v = y.Children.only(a), z = y.useId(), k = (C) => {
|
|
3372
|
+
const L = C.relatedTarget, V = h.current?.contains(L), R = u.current?.contains(L);
|
|
3373
|
+
!V && !R && N(), v.props.onBlur?.(C);
|
|
3374
|
+
};
|
|
3375
|
+
return /* @__PURE__ */ g("span", { ref: h, className: m("relative inline-block", c), children: [
|
|
3376
|
+
y.cloneElement(v, {
|
|
3377
|
+
"aria-describedby": e && !l ? z : void 0,
|
|
3378
|
+
onMouseEnter: (C) => {
|
|
3379
|
+
v.props.onMouseEnter?.(C), w();
|
|
3322
3380
|
},
|
|
3323
|
-
onMouseLeave: (
|
|
3324
|
-
|
|
3381
|
+
onMouseLeave: (C) => {
|
|
3382
|
+
v.props.onMouseLeave?.(C);
|
|
3383
|
+
const L = C.relatedTarget;
|
|
3384
|
+
u.current?.contains(L) || N();
|
|
3325
3385
|
},
|
|
3326
|
-
onFocus: (
|
|
3327
|
-
|
|
3386
|
+
onFocus: (C) => {
|
|
3387
|
+
v.props.onFocus?.(C), w();
|
|
3328
3388
|
},
|
|
3329
|
-
onBlur:
|
|
3330
|
-
w.props.onBlur?.(v), _();
|
|
3331
|
-
}
|
|
3389
|
+
onBlur: k
|
|
3332
3390
|
}),
|
|
3333
3391
|
e && !l && /* @__PURE__ */ g(
|
|
3334
3392
|
"span",
|
|
3335
3393
|
{
|
|
3336
|
-
|
|
3394
|
+
ref: u,
|
|
3395
|
+
id: z,
|
|
3337
3396
|
role: "tooltip",
|
|
3338
3397
|
className: m(
|
|
3339
|
-
"absolute z-50
|
|
3398
|
+
"absolute z-50",
|
|
3340
3399
|
Qt[t],
|
|
3341
3400
|
"whitespace-nowrap",
|
|
3342
3401
|
"rounded-md border border-border bg-surface text-text-primary",
|
|
3343
3402
|
"px-3 py-2 text-xs shadow-md"
|
|
3344
3403
|
),
|
|
3404
|
+
onMouseEnter: w,
|
|
3405
|
+
onMouseLeave: N,
|
|
3345
3406
|
children: [
|
|
3346
3407
|
o,
|
|
3347
3408
|
/* @__PURE__ */ n(
|
|
3348
3409
|
"span",
|
|
3349
3410
|
{
|
|
3350
3411
|
className: m(
|
|
3351
|
-
"absolute w-0 h-0",
|
|
3412
|
+
"absolute w-0 h-0 pointer-events-none",
|
|
3352
3413
|
er[t],
|
|
3353
3414
|
tr[t]
|
|
3354
3415
|
)
|
|
@@ -3358,7 +3419,7 @@ const Pr = ({
|
|
|
3358
3419
|
"span",
|
|
3359
3420
|
{
|
|
3360
3421
|
className: m(
|
|
3361
|
-
"absolute w-0 h-0 bg-surface",
|
|
3422
|
+
"absolute w-0 h-0 bg-surface pointer-events-none",
|
|
3362
3423
|
rr[t],
|
|
3363
3424
|
t === "top" && "border-t-[5px] border-r-[5px] border-l-[5px] border-t-surface border-r-transparent border-l-transparent",
|
|
3364
3425
|
t === "bottom" && "border-b-[5px] border-r-[5px] border-l-[5px] border-b-surface border-r-transparent border-l-transparent",
|
|
@@ -3371,7 +3432,7 @@ const Pr = ({
|
|
|
3371
3432
|
}
|
|
3372
3433
|
)
|
|
3373
3434
|
] });
|
|
3374
|
-
},
|
|
3435
|
+
}, qe = Je(void 0), Ur = ({
|
|
3375
3436
|
children: e,
|
|
3376
3437
|
defaultTheme: r
|
|
3377
3438
|
}) => {
|
|
@@ -3382,7 +3443,7 @@ const Pr = ({
|
|
|
3382
3443
|
return a;
|
|
3383
3444
|
}
|
|
3384
3445
|
return typeof window < "u" && window.matchMedia ? window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : r || "dark";
|
|
3385
|
-
}, [t, s] =
|
|
3446
|
+
}, [t, s] = ie(o), l = y.useCallback((a) => {
|
|
3386
3447
|
s(a), typeof window < "u" && localStorage.setItem("theme", a);
|
|
3387
3448
|
}, []);
|
|
3388
3449
|
return y.useEffect(() => {
|
|
@@ -3398,13 +3459,13 @@ const Pr = ({
|
|
|
3398
3459
|
return a.addEventListener("change", c), () => a.removeEventListener("change", c);
|
|
3399
3460
|
if (a.addListener)
|
|
3400
3461
|
return a.addListener(c), () => a.removeListener(c);
|
|
3401
|
-
}, []), /* @__PURE__ */ n(
|
|
3462
|
+
}, []), /* @__PURE__ */ n(qe.Provider, { value: { theme: t, setTheme: l }, children: e });
|
|
3402
3463
|
}, or = () => {
|
|
3403
|
-
const e = Qe(
|
|
3464
|
+
const e = Qe(qe);
|
|
3404
3465
|
if (e === void 0)
|
|
3405
3466
|
throw new Error("useTheme must be used within a ThemeProvider");
|
|
3406
3467
|
return e;
|
|
3407
|
-
},
|
|
3468
|
+
}, qr = ({
|
|
3408
3469
|
className: e,
|
|
3409
3470
|
showLabel: r = !0
|
|
3410
3471
|
}) => {
|
|
@@ -3456,12 +3517,19 @@ const Pr = ({
|
|
|
3456
3517
|
),
|
|
3457
3518
|
r && /* @__PURE__ */ n("span", { className: "text-sm font-medium text-text-primary", children: s ? "Dark" : "Light" })
|
|
3458
3519
|
] });
|
|
3459
|
-
}, nr =
|
|
3460
|
-
|
|
3461
|
-
|
|
3462
|
-
|
|
3463
|
-
|
|
3464
|
-
|
|
3520
|
+
}, nr = {
|
|
3521
|
+
sm: "max-w-xs w-full",
|
|
3522
|
+
// 320px
|
|
3523
|
+
md: "max-w-sm w-full",
|
|
3524
|
+
// 384px
|
|
3525
|
+
lg: "max-w-md w-full",
|
|
3526
|
+
// 448px
|
|
3527
|
+
full: "w-full"
|
|
3528
|
+
}, sr = ({
|
|
3529
|
+
size: e = "md",
|
|
3530
|
+
className: r,
|
|
3531
|
+
children: o,
|
|
3532
|
+
...t
|
|
3465
3533
|
}) => /* @__PURE__ */ n(
|
|
3466
3534
|
"div",
|
|
3467
3535
|
{
|
|
@@ -3470,21 +3538,16 @@ const Pr = ({
|
|
|
3470
3538
|
"bg-surface-tertiary rounded-[24px]",
|
|
3471
3539
|
"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)]",
|
|
3472
3540
|
"z-[8]",
|
|
3473
|
-
|
|
3541
|
+
nr[e],
|
|
3542
|
+
r
|
|
3474
3543
|
),
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
minHeight: `${e * r}px`
|
|
3478
|
-
},
|
|
3479
|
-
...s,
|
|
3480
|
-
children: t
|
|
3544
|
+
...t,
|
|
3545
|
+
children: o
|
|
3481
3546
|
}
|
|
3482
|
-
),
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
children: t,
|
|
3487
|
-
...s
|
|
3547
|
+
), ar = ({
|
|
3548
|
+
className: e,
|
|
3549
|
+
children: r,
|
|
3550
|
+
...o
|
|
3488
3551
|
}) => /* @__PURE__ */ n(
|
|
3489
3552
|
"div",
|
|
3490
3553
|
{
|
|
@@ -3493,15 +3556,12 @@ const Pr = ({
|
|
|
3493
3556
|
"backdrop-blur-[15px]",
|
|
3494
3557
|
"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)]",
|
|
3495
3558
|
"w-full",
|
|
3496
|
-
|
|
3559
|
+
e
|
|
3497
3560
|
),
|
|
3498
|
-
|
|
3499
|
-
|
|
3500
|
-
},
|
|
3501
|
-
...s,
|
|
3502
|
-
children: t
|
|
3561
|
+
...o,
|
|
3562
|
+
children: r
|
|
3503
3563
|
}
|
|
3504
|
-
),
|
|
3564
|
+
), lr = ({ className: e, ...r }) => /* @__PURE__ */ g(
|
|
3505
3565
|
"div",
|
|
3506
3566
|
{
|
|
3507
3567
|
className: m(
|
|
@@ -3521,47 +3581,56 @@ const Pr = ({
|
|
|
3521
3581
|
title: e,
|
|
3522
3582
|
showLogo: r = !1,
|
|
3523
3583
|
footer: o,
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
|
|
3529
|
-
}) => /* @__PURE__ */ n(nr, { width: t, aspectRatio: s, children: /* @__PURE__ */ g(sr, { width: t, aspectRatio: s, children: [
|
|
3584
|
+
size: t = "md",
|
|
3585
|
+
className: s,
|
|
3586
|
+
children: l,
|
|
3587
|
+
...a
|
|
3588
|
+
}) => /* @__PURE__ */ n(sr, { size: t, children: /* @__PURE__ */ g(ar, { children: [
|
|
3530
3589
|
/* @__PURE__ */ g(
|
|
3531
3590
|
"form",
|
|
3532
3591
|
{
|
|
3533
|
-
className: m("flex justify-center items-center flex-col gap-[10px]",
|
|
3534
|
-
...
|
|
3592
|
+
className: m("flex justify-center items-center flex-col gap-[10px]", s),
|
|
3593
|
+
...a,
|
|
3535
3594
|
children: [
|
|
3536
|
-
r && /* @__PURE__ */ n("div", { className: "flex justify-center items-center mb-2", children: /* @__PURE__ */ n(
|
|
3595
|
+
r && /* @__PURE__ */ n("div", { className: "flex justify-center items-center mb-2", children: /* @__PURE__ */ n(lr, {}) }),
|
|
3537
3596
|
e && /* @__PURE__ */ n("div", { className: "w-full text-center text-2xl font-bold py-1.5 text-text-primary flex justify-center items-center", children: e }),
|
|
3538
|
-
|
|
3597
|
+
l
|
|
3539
3598
|
]
|
|
3540
3599
|
}
|
|
3541
3600
|
),
|
|
3542
3601
|
o && /* @__PURE__ */ n("div", { className: "w-full text-left text-text-secondary text-xs mt-4", children: o })
|
|
3543
|
-
] }) }),
|
|
3602
|
+
] }) }), Kr = ({
|
|
3544
3603
|
label: e,
|
|
3545
3604
|
error: r,
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
|
|
3563
|
-
|
|
3564
|
-
|
|
3605
|
+
helperText: o,
|
|
3606
|
+
className: t,
|
|
3607
|
+
size: s,
|
|
3608
|
+
id: l,
|
|
3609
|
+
...a
|
|
3610
|
+
}) => {
|
|
3611
|
+
const c = l || y.useId(), i = typeof r == "string" ? r : void 0, u = !!r;
|
|
3612
|
+
return /* @__PURE__ */ g("div", { className: "w-full", children: [
|
|
3613
|
+
e && /* @__PURE__ */ n("label", { htmlFor: c, className: "block text-text-primary text-sm mb-1.5", children: e }),
|
|
3614
|
+
/* @__PURE__ */ n("div", { className: "flex justify-center", children: /* @__PURE__ */ n(
|
|
3615
|
+
We,
|
|
3616
|
+
{
|
|
3617
|
+
id: c,
|
|
3618
|
+
className: m(
|
|
3619
|
+
"p-3 border-none rounded-xl bg-surface text-text-primary text-sm outline-none",
|
|
3620
|
+
"focus:border focus:border-border-focus",
|
|
3621
|
+
t
|
|
3622
|
+
),
|
|
3623
|
+
error: u,
|
|
3624
|
+
size: s,
|
|
3625
|
+
"aria-invalid": u,
|
|
3626
|
+
"aria-describedby": i ? `${c}-error` : o ? `${c}-helper` : void 0,
|
|
3627
|
+
...a
|
|
3628
|
+
}
|
|
3629
|
+
) }),
|
|
3630
|
+
i && /* @__PURE__ */ n("p", { id: `${c}-error`, className: "text-red-500 text-xs mt-1", role: "alert", children: i }),
|
|
3631
|
+
o && !i && /* @__PURE__ */ n("p", { id: `${c}-helper`, className: "text-text-secondary text-xs mt-1", children: o })
|
|
3632
|
+
] });
|
|
3633
|
+
}, Xr = ({
|
|
3565
3634
|
variant: e = "primary",
|
|
3566
3635
|
className: r,
|
|
3567
3636
|
children: o,
|
|
@@ -3582,7 +3651,7 @@ const Pr = ({
|
|
|
3582
3651
|
children: o
|
|
3583
3652
|
}
|
|
3584
3653
|
) : /* @__PURE__ */ n(
|
|
3585
|
-
|
|
3654
|
+
pe,
|
|
3586
3655
|
{
|
|
3587
3656
|
variant: "primary",
|
|
3588
3657
|
className: m(
|
|
@@ -3623,34 +3692,30 @@ const Pr = ({
|
|
|
3623
3692
|
...o,
|
|
3624
3693
|
children: r
|
|
3625
3694
|
}
|
|
3626
|
-
),
|
|
3627
|
-
container:
|
|
3695
|
+
), ir = "_container_14dne_1", cr = "_input_14dne_119", dr = "_search__icon_14dne_177", P = {
|
|
3696
|
+
container: ir,
|
|
3628
3697
|
"container--size-sm": "_container--size-sm_14dne_25",
|
|
3629
3698
|
"container--size-md": "_container--size-md_14dne_33",
|
|
3630
3699
|
"container--size-lg": "_container--size-lg_14dne_41",
|
|
3631
3700
|
"search-container": "_search-container_14dne_49",
|
|
3632
|
-
input:
|
|
3701
|
+
input: cr,
|
|
3633
3702
|
"input--size-sm": "_input--size-sm_14dne_147",
|
|
3634
3703
|
"input--size-md": "_input--size-md_14dne_157",
|
|
3635
3704
|
"input--size-lg": "_input--size-lg_14dne_167",
|
|
3636
|
-
search__icon:
|
|
3637
|
-
},
|
|
3705
|
+
search__icon: dr
|
|
3706
|
+
}, pr = {
|
|
3638
3707
|
sm: {
|
|
3639
|
-
container:
|
|
3640
|
-
input:
|
|
3708
|
+
container: P["container--size-sm"],
|
|
3709
|
+
input: P["input--size-sm"]
|
|
3641
3710
|
},
|
|
3642
3711
|
md: {
|
|
3643
|
-
container:
|
|
3644
|
-
input:
|
|
3712
|
+
container: P["container--size-md"],
|
|
3713
|
+
input: P["input--size-md"]
|
|
3645
3714
|
},
|
|
3646
3715
|
lg: {
|
|
3647
|
-
container:
|
|
3648
|
-
input:
|
|
3716
|
+
container: P["container--size-lg"],
|
|
3717
|
+
input: P["input--size-lg"]
|
|
3649
3718
|
}
|
|
3650
|
-
}, pr = {
|
|
3651
|
-
sm: 200,
|
|
3652
|
-
md: 260,
|
|
3653
|
-
lg: 320
|
|
3654
3719
|
}, mr = y.forwardRef(({
|
|
3655
3720
|
size: e = "md",
|
|
3656
3721
|
className: r,
|
|
@@ -3659,54 +3724,36 @@ const Pr = ({
|
|
|
3659
3724
|
placeholder: s,
|
|
3660
3725
|
...l
|
|
3661
3726
|
}, a) => {
|
|
3662
|
-
const c =
|
|
3663
|
-
return
|
|
3664
|
-
|
|
3665
|
-
|
|
3666
|
-
|
|
3667
|
-
|
|
3668
|
-
|
|
3669
|
-
|
|
3670
|
-
|
|
3671
|
-
|
|
3672
|
-
|
|
3673
|
-
|
|
3674
|
-
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
|
|
3682
|
-
|
|
3683
|
-
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
|
|
3689
|
-
className: m(B.container, c.container, r),
|
|
3690
|
-
style: b ? { width: `${b}px`, maxWidth: "100%" } : void 0,
|
|
3691
|
-
children: /* @__PURE__ */ g("div", { className: m(B["search-container"], t), children: [
|
|
3692
|
-
/* @__PURE__ */ n(
|
|
3693
|
-
"input",
|
|
3694
|
-
{
|
|
3695
|
-
ref: a,
|
|
3696
|
-
className: m(B.input, c.input, o),
|
|
3697
|
-
type: "search",
|
|
3698
|
-
placeholder: s,
|
|
3699
|
-
...l
|
|
3700
|
-
}
|
|
3701
|
-
),
|
|
3702
|
-
/* @__PURE__ */ n("svg", { viewBox: "0 0 24 24", className: B.search__icon, "aria-hidden": "true", focusable: "false", children: /* @__PURE__ */ n("g", { children: /* @__PURE__ */ n("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" }) }) })
|
|
3703
|
-
] })
|
|
3704
|
-
}
|
|
3705
|
-
)
|
|
3706
|
-
] });
|
|
3727
|
+
const c = pr[e];
|
|
3728
|
+
return /* @__PURE__ */ n(
|
|
3729
|
+
"div",
|
|
3730
|
+
{
|
|
3731
|
+
className: m(
|
|
3732
|
+
P.container,
|
|
3733
|
+
c.container,
|
|
3734
|
+
// Responsive width using CSS instead of JavaScript calculation
|
|
3735
|
+
"min-w-[200px] md:min-w-[260px] lg:min-w-[320px]",
|
|
3736
|
+
"w-full max-w-md",
|
|
3737
|
+
r
|
|
3738
|
+
),
|
|
3739
|
+
children: /* @__PURE__ */ g("div", { className: m(P["search-container"], t), children: [
|
|
3740
|
+
/* @__PURE__ */ n(
|
|
3741
|
+
"input",
|
|
3742
|
+
{
|
|
3743
|
+
ref: a,
|
|
3744
|
+
className: m(P.input, c.input, o),
|
|
3745
|
+
type: "search",
|
|
3746
|
+
placeholder: s,
|
|
3747
|
+
...l
|
|
3748
|
+
}
|
|
3749
|
+
),
|
|
3750
|
+
/* @__PURE__ */ n("svg", { viewBox: "0 0 24 24", className: P.search__icon, "aria-hidden": "true", focusable: "false", children: /* @__PURE__ */ n("g", { children: /* @__PURE__ */ n("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" }) }) })
|
|
3751
|
+
] })
|
|
3752
|
+
}
|
|
3753
|
+
);
|
|
3707
3754
|
});
|
|
3708
3755
|
mr.displayName = "SearchBar";
|
|
3709
|
-
const ur = "_list_hdx8a_1", fr = "_listHorizontal_hdx8a_11", br = "_iconContent_hdx8a_15", hr = "_tooltip_hdx8a_25", xr = "_tooltipHorizontal_hdx8a_46", gr = "_link_hdx8a_60", _r = "_filled_hdx8a_87",
|
|
3756
|
+
const ur = "_list_hdx8a_1", fr = "_listHorizontal_hdx8a_11", br = "_iconContent_hdx8a_15", hr = "_tooltip_hdx8a_25", xr = "_tooltipHorizontal_hdx8a_46", gr = "_link_hdx8a_60", _r = "_filled_hdx8a_87", Z = {
|
|
3710
3757
|
list: ur,
|
|
3711
3758
|
listHorizontal: fr,
|
|
3712
3759
|
iconContent: br,
|
|
@@ -3811,25 +3858,25 @@ const ur = "_list_hdx8a_1", fr = "_listHorizontal_hdx8a_11", br = "_iconContent_
|
|
|
3811
3858
|
{
|
|
3812
3859
|
ref: s,
|
|
3813
3860
|
className: m(
|
|
3814
|
-
|
|
3815
|
-
o === "horizontal" &&
|
|
3861
|
+
Z.list,
|
|
3862
|
+
o === "horizontal" && Z.listHorizontal,
|
|
3816
3863
|
r
|
|
3817
3864
|
),
|
|
3818
3865
|
...t,
|
|
3819
3866
|
children: e.map((l, a) => {
|
|
3820
3867
|
const c = l.label || vr(l.platform), i = wr(l.platform);
|
|
3821
|
-
return /* @__PURE__ */ g("li", { className:
|
|
3868
|
+
return /* @__PURE__ */ g("li", { className: Z.iconContent, children: [
|
|
3822
3869
|
/* @__PURE__ */ g(
|
|
3823
3870
|
"a",
|
|
3824
3871
|
{
|
|
3825
3872
|
href: l.url,
|
|
3826
3873
|
"aria-label": c,
|
|
3827
3874
|
"data-social": l.platform,
|
|
3828
|
-
className:
|
|
3875
|
+
className: Z.link,
|
|
3829
3876
|
target: "_blank",
|
|
3830
3877
|
rel: "noopener noreferrer",
|
|
3831
3878
|
children: [
|
|
3832
|
-
/* @__PURE__ */ n("div", { className:
|
|
3879
|
+
/* @__PURE__ */ n("div", { className: Z.filled }),
|
|
3833
3880
|
/* @__PURE__ */ n(
|
|
3834
3881
|
"svg",
|
|
3835
3882
|
{
|
|
@@ -3847,15 +3894,15 @@ const ur = "_list_hdx8a_1", fr = "_listHorizontal_hdx8a_11", br = "_iconContent_
|
|
|
3847
3894
|
}
|
|
3848
3895
|
),
|
|
3849
3896
|
/* @__PURE__ */ n("div", { className: m(
|
|
3850
|
-
|
|
3851
|
-
o === "horizontal" &&
|
|
3897
|
+
Z.tooltip,
|
|
3898
|
+
o === "horizontal" && Z.tooltipHorizontal
|
|
3852
3899
|
), children: c })
|
|
3853
3900
|
] }, `${l.platform}-${a}`);
|
|
3854
3901
|
})
|
|
3855
3902
|
}
|
|
3856
3903
|
));
|
|
3857
3904
|
yr.displayName = "SocialLinks";
|
|
3858
|
-
const kr = "_card_tuygu_1", Cr = "_separator_tuygu_33", zr = "_list_tuygu_41", Nr = "_element_tuygu_57", Mr = "_label_tuygu_91", Sr = "_accent_tuygu_137",
|
|
3905
|
+
const kr = "_card_tuygu_1", Cr = "_separator_tuygu_33", zr = "_list_tuygu_41", Nr = "_element_tuygu_57", Mr = "_label_tuygu_91", Sr = "_accent_tuygu_137", U = {
|
|
3859
3906
|
card: kr,
|
|
3860
3907
|
separator: Cr,
|
|
3861
3908
|
list: zr,
|
|
@@ -3868,7 +3915,7 @@ const kr = "_card_tuygu_1", Cr = "_separator_tuygu_33", zr = "_list_tuygu_41", N
|
|
|
3868
3915
|
showSeparators: r = !0,
|
|
3869
3916
|
className: o,
|
|
3870
3917
|
...t
|
|
3871
|
-
}) => /* @__PURE__ */ n("div", { className: m(
|
|
3918
|
+
}) => /* @__PURE__ */ n("div", { className: m(U.card, o), ...t, children: e.map((s, l) => /* @__PURE__ */ g(y.Fragment, { children: [
|
|
3872
3919
|
/* @__PURE__ */ n(
|
|
3873
3920
|
Lr,
|
|
3874
3921
|
{
|
|
@@ -3882,7 +3929,7 @@ const kr = "_card_tuygu_1", Cr = "_separator_tuygu_33", zr = "_list_tuygu_41", N
|
|
|
3882
3929
|
isLastGroup: r
|
|
3883
3930
|
}) => {
|
|
3884
3931
|
const o = e.variant === "accent" || r && e.items.some((t) => t.variant === "accent");
|
|
3885
|
-
return /* @__PURE__ */ n("ul", { className: m(
|
|
3932
|
+
return /* @__PURE__ */ n("ul", { className: m(U.list, o && U.accent), children: e.items.map((t) => /* @__PURE__ */ n(
|
|
3886
3933
|
Ar,
|
|
3887
3934
|
{
|
|
3888
3935
|
item: t,
|
|
@@ -3905,8 +3952,8 @@ const kr = "_card_tuygu_1", Cr = "_separator_tuygu_33", zr = "_list_tuygu_41", N
|
|
|
3905
3952
|
"li",
|
|
3906
3953
|
{
|
|
3907
3954
|
className: m(
|
|
3908
|
-
|
|
3909
|
-
t &&
|
|
3955
|
+
U.element,
|
|
3956
|
+
t && U.delete
|
|
3910
3957
|
),
|
|
3911
3958
|
onClick: s,
|
|
3912
3959
|
style: {
|
|
@@ -3915,11 +3962,11 @@ const kr = "_card_tuygu_1", Cr = "_separator_tuygu_33", zr = "_list_tuygu_41", N
|
|
|
3915
3962
|
},
|
|
3916
3963
|
children: [
|
|
3917
3964
|
l(),
|
|
3918
|
-
/* @__PURE__ */ n("p", { className:
|
|
3965
|
+
/* @__PURE__ */ n("p", { className: U.label, children: e.label })
|
|
3919
3966
|
]
|
|
3920
3967
|
}
|
|
3921
3968
|
);
|
|
3922
|
-
}, Ir = () => /* @__PURE__ */ n("div", { className:
|
|
3969
|
+
}, Ir = () => /* @__PURE__ */ n("div", { className: U.separator }), to = ({
|
|
3923
3970
|
title: e,
|
|
3924
3971
|
description: r,
|
|
3925
3972
|
privacyLink: o,
|
|
@@ -3930,24 +3977,24 @@ const kr = "_card_tuygu_1", Cr = "_separator_tuygu_33", zr = "_list_tuygu_41", N
|
|
|
3930
3977
|
onOptions: c,
|
|
3931
3978
|
storageKey: i,
|
|
3932
3979
|
storageValue: u,
|
|
3933
|
-
icon:
|
|
3980
|
+
icon: h,
|
|
3934
3981
|
className: _,
|
|
3935
3982
|
privacyLinkTarget: w,
|
|
3936
|
-
privacyLinkRel:
|
|
3983
|
+
privacyLinkRel: N,
|
|
3937
3984
|
iconClassName: v,
|
|
3938
|
-
contentClassName:
|
|
3939
|
-
acceptButtonClassName:
|
|
3940
|
-
optionsButtonClassName:
|
|
3985
|
+
contentClassName: z,
|
|
3986
|
+
acceptButtonClassName: k,
|
|
3987
|
+
optionsButtonClassName: C
|
|
3941
3988
|
}) => {
|
|
3942
|
-
const [
|
|
3943
|
-
|
|
3944
|
-
const
|
|
3945
|
-
|
|
3989
|
+
const [L, V] = ie(() => typeof window < "u" ? !localStorage.getItem(i) : !1);
|
|
3990
|
+
ce(() => {
|
|
3991
|
+
const M = localStorage.getItem(i);
|
|
3992
|
+
V(!M);
|
|
3946
3993
|
}, [i]);
|
|
3947
|
-
const
|
|
3948
|
-
localStorage.setItem(i, u),
|
|
3994
|
+
const R = () => {
|
|
3995
|
+
localStorage.setItem(i, u), V(!1), a();
|
|
3949
3996
|
};
|
|
3950
|
-
return
|
|
3997
|
+
return L ? /* @__PURE__ */ n(
|
|
3951
3998
|
"article",
|
|
3952
3999
|
{
|
|
3953
4000
|
className: m(
|
|
@@ -3957,8 +4004,8 @@ const kr = "_card_tuygu_1", Cr = "_separator_tuygu_33", zr = "_list_tuygu_41", N
|
|
|
3957
4004
|
"dark:shadow-[rgba(0,0,0,0.3)_0_1px_2px_0,rgba(0,0,0,0.15)_0_2px_6px_2px]",
|
|
3958
4005
|
_
|
|
3959
4006
|
),
|
|
3960
|
-
children: /* @__PURE__ */ g("div", { className: m("flex flex-col items-center justify-between pt-9 px-6 pb-6 relative",
|
|
3961
|
-
|
|
4007
|
+
children: /* @__PURE__ */ g("div", { className: m("flex flex-col items-center justify-between pt-9 px-6 pb-6 relative", z), children: [
|
|
4008
|
+
h && /* @__PURE__ */ n("span", { className: m("relative mx-auto -mt-16 mb-8 text-zinc-700 dark:text-zinc-300", v), children: h }),
|
|
3962
4009
|
/* @__PURE__ */ n("h5", { className: "text-sm font-semibold mb-2 text-left mr-auto text-zinc-700 dark:text-text-primary", children: e }),
|
|
3963
4010
|
/* @__PURE__ */ n("p", { className: "w-full mb-4 text-sm text-justify text-zinc-600 dark:text-text-secondary", children: r }),
|
|
3964
4011
|
/* @__PURE__ */ n("p", { className: "w-full mb-4 text-sm text-justify text-zinc-600 dark:text-text-secondary", children: /* @__PURE__ */ n(
|
|
@@ -3967,7 +4014,7 @@ const kr = "_card_tuygu_1", Cr = "_separator_tuygu_33", zr = "_list_tuygu_41", N
|
|
|
3967
4014
|
href: o,
|
|
3968
4015
|
className: "mb-2 text-sm cursor-pointer font-semibold transition-colors underline underline-offset-2 text-zinc-700 dark:text-text-primary",
|
|
3969
4016
|
target: w,
|
|
3970
|
-
rel:
|
|
4017
|
+
rel: N,
|
|
3971
4018
|
children: t
|
|
3972
4019
|
}
|
|
3973
4020
|
) }),
|
|
@@ -3983,7 +4030,7 @@ const kr = "_card_tuygu_1", Cr = "_separator_tuygu_33", zr = "_list_tuygu_41", N
|
|
|
3983
4030
|
"hover:underline underline-offset-2",
|
|
3984
4031
|
"focus-visible:outline-2 focus-visible:outline-offset-2",
|
|
3985
4032
|
"focus-visible:outline-[#634647] dark:focus-visible:outline-[#ddad81]",
|
|
3986
|
-
|
|
4033
|
+
C
|
|
3987
4034
|
),
|
|
3988
4035
|
children: l
|
|
3989
4036
|
}
|
|
@@ -3992,7 +4039,7 @@ const kr = "_card_tuygu_1", Cr = "_separator_tuygu_33", zr = "_list_tuygu_41", N
|
|
|
3992
4039
|
"button",
|
|
3993
4040
|
{
|
|
3994
4041
|
type: "button",
|
|
3995
|
-
onClick:
|
|
4042
|
+
onClick: R,
|
|
3996
4043
|
className: m(
|
|
3997
4044
|
"absolute font-semibold right-6 bottom-6",
|
|
3998
4045
|
"cursor-pointer py-2 px-8 w-max break-keep",
|
|
@@ -4003,7 +4050,7 @@ const kr = "_card_tuygu_1", Cr = "_separator_tuygu_33", zr = "_list_tuygu_41", N
|
|
|
4003
4050
|
"dark:hover:bg-[#ddad81] dark:hover:text-[#634647]",
|
|
4004
4051
|
"focus-visible:outline-2 focus-visible:outline-offset-2",
|
|
4005
4052
|
"focus-visible:outline-[#634647] dark:focus-visible:outline-[#ddad81]",
|
|
4006
|
-
|
|
4053
|
+
k
|
|
4007
4054
|
),
|
|
4008
4055
|
children: s
|
|
4009
4056
|
}
|
|
@@ -4011,7 +4058,7 @@ const kr = "_card_tuygu_1", Cr = "_separator_tuygu_33", zr = "_list_tuygu_41", N
|
|
|
4011
4058
|
] })
|
|
4012
4059
|
}
|
|
4013
4060
|
) : null;
|
|
4014
|
-
},
|
|
4061
|
+
}, Ye = {
|
|
4015
4062
|
neutral: {
|
|
4016
4063
|
icon: "text-zinc-600 dark:text-zinc-400",
|
|
4017
4064
|
buttonVariant: "primary"
|
|
@@ -4028,7 +4075,7 @@ const kr = "_card_tuygu_1", Cr = "_separator_tuygu_33", zr = "_list_tuygu_41", N
|
|
|
4028
4075
|
icon: "text-blue-600 dark:text-blue-400",
|
|
4029
4076
|
buttonVariant: "primary"
|
|
4030
4077
|
}
|
|
4031
|
-
},
|
|
4078
|
+
}, Ke = y.forwardRef(({ className: e, children: r, role: o, "aria-modal": t, "aria-labelledby": s, "aria-describedby": l }, a) => /* @__PURE__ */ n(
|
|
4032
4079
|
"div",
|
|
4033
4080
|
{
|
|
4034
4081
|
ref: a,
|
|
@@ -4052,11 +4099,11 @@ const kr = "_card_tuygu_1", Cr = "_separator_tuygu_33", zr = "_list_tuygu_41", N
|
|
|
4052
4099
|
children: r
|
|
4053
4100
|
}
|
|
4054
4101
|
));
|
|
4055
|
-
|
|
4102
|
+
Ke.displayName = "ConfirmModalCard";
|
|
4056
4103
|
const Rr = ({
|
|
4057
4104
|
className: e,
|
|
4058
4105
|
children: r
|
|
4059
|
-
}) => /* @__PURE__ */ n("div", { className: m("flex items-center justify-center mb-2", e), children: r }),
|
|
4106
|
+
}) => /* @__PURE__ */ n("div", { className: m("flex items-center justify-center mb-2", e), children: r }), Tr = ({
|
|
4060
4107
|
confirmLabel: e,
|
|
4061
4108
|
cancelLabel: r,
|
|
4062
4109
|
variant: o,
|
|
@@ -4065,10 +4112,10 @@ const Rr = ({
|
|
|
4065
4112
|
confirmButtonClassName: l,
|
|
4066
4113
|
cancelButtonClassName: a
|
|
4067
4114
|
}) => {
|
|
4068
|
-
const c =
|
|
4115
|
+
const c = Ye[o];
|
|
4069
4116
|
return /* @__PURE__ */ g("div", { className: "flex gap-4 flex-row w-full justify-center mt-2", children: [
|
|
4070
4117
|
/* @__PURE__ */ n(
|
|
4071
|
-
|
|
4118
|
+
pe,
|
|
4072
4119
|
{
|
|
4073
4120
|
type: "button",
|
|
4074
4121
|
variant: "ghost",
|
|
@@ -4079,7 +4126,7 @@ const Rr = ({
|
|
|
4079
4126
|
}
|
|
4080
4127
|
),
|
|
4081
4128
|
/* @__PURE__ */ n(
|
|
4082
|
-
|
|
4129
|
+
pe,
|
|
4083
4130
|
{
|
|
4084
4131
|
type: "button",
|
|
4085
4132
|
variant: c.buttonVariant,
|
|
@@ -4101,42 +4148,50 @@ const Rr = ({
|
|
|
4101
4148
|
onConfirm: c,
|
|
4102
4149
|
onCancel: i,
|
|
4103
4150
|
onClose: u,
|
|
4104
|
-
className:
|
|
4151
|
+
className: h,
|
|
4105
4152
|
iconClassName: _,
|
|
4106
4153
|
contentClassName: w,
|
|
4107
|
-
confirmButtonClassName:
|
|
4154
|
+
confirmButtonClassName: N,
|
|
4108
4155
|
cancelButtonClassName: v
|
|
4109
4156
|
}) => {
|
|
4110
|
-
const
|
|
4111
|
-
|
|
4157
|
+
const z = ee(null), k = ee(null), C = y.useId(), L = y.useId();
|
|
4158
|
+
ce(() => {
|
|
4159
|
+
e ? k.current = document.activeElement : k.current && (k.current.focus(), k.current = null);
|
|
4160
|
+
}, [e]), ce(() => {
|
|
4112
4161
|
if (!e) return;
|
|
4113
|
-
const
|
|
4114
|
-
if (!
|
|
4115
|
-
const
|
|
4116
|
-
|
|
4162
|
+
const M = z.current;
|
|
4163
|
+
if (!M) return;
|
|
4164
|
+
const I = Array.from(
|
|
4165
|
+
M.querySelectorAll(
|
|
4117
4166
|
'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'
|
|
4118
4167
|
)
|
|
4119
|
-
).filter((
|
|
4120
|
-
|
|
4121
|
-
const
|
|
4122
|
-
|
|
4123
|
-
|
|
4124
|
-
|
|
4125
|
-
|
|
4126
|
-
|
|
4168
|
+
).filter((T) => !T.hasAttribute("disabled") && T.offsetParent !== null), F = I[0], b = I[I.length - 1];
|
|
4169
|
+
F && F.focus();
|
|
4170
|
+
const B = (T) => {
|
|
4171
|
+
if (T.key === "Escape") {
|
|
4172
|
+
u();
|
|
4173
|
+
return;
|
|
4174
|
+
}
|
|
4175
|
+
if (T.key === "Tab") {
|
|
4176
|
+
if (I.length === 0) {
|
|
4177
|
+
T.preventDefault();
|
|
4127
4178
|
return;
|
|
4128
4179
|
}
|
|
4129
|
-
|
|
4180
|
+
T.shiftKey ? document.activeElement === F && (T.preventDefault(), b?.focus()) : document.activeElement === b && (T.preventDefault(), F?.focus());
|
|
4130
4181
|
}
|
|
4182
|
+
}, J = (T) => {
|
|
4183
|
+
M && !M.contains(T.target) && (T.preventDefault(), F?.focus());
|
|
4131
4184
|
};
|
|
4132
|
-
return document.addEventListener("keydown",
|
|
4133
|
-
document.removeEventListener("keydown",
|
|
4185
|
+
return document.addEventListener("keydown", B), document.addEventListener("focusin", J), () => {
|
|
4186
|
+
document.removeEventListener("keydown", B), document.removeEventListener("focusin", J);
|
|
4134
4187
|
};
|
|
4135
|
-
}, [e, u])
|
|
4188
|
+
}, [e, u]);
|
|
4189
|
+
const V = Ie((M) => {
|
|
4190
|
+
M.target === M.currentTarget && u();
|
|
4191
|
+
}, [u]);
|
|
4192
|
+
if (!e)
|
|
4136
4193
|
return null;
|
|
4137
|
-
const
|
|
4138
|
-
S.target === S.currentTarget && u();
|
|
4139
|
-
};
|
|
4194
|
+
const R = Ye[a];
|
|
4140
4195
|
return /* @__PURE__ */ n(
|
|
4141
4196
|
"div",
|
|
4142
4197
|
{
|
|
@@ -4146,26 +4201,26 @@ const Rr = ({
|
|
|
4146
4201
|
"p-4",
|
|
4147
4202
|
"bg-black/20 dark:bg-black/40",
|
|
4148
4203
|
"transition-opacity duration-200",
|
|
4149
|
-
|
|
4204
|
+
h
|
|
4150
4205
|
),
|
|
4151
|
-
onClick:
|
|
4206
|
+
onClick: V,
|
|
4152
4207
|
role: "presentation",
|
|
4153
4208
|
children: /* @__PURE__ */ g(
|
|
4154
|
-
|
|
4209
|
+
Ke,
|
|
4155
4210
|
{
|
|
4156
|
-
ref:
|
|
4211
|
+
ref: z,
|
|
4157
4212
|
role: "dialog",
|
|
4158
4213
|
"aria-modal": !0,
|
|
4159
|
-
"aria-labelledby":
|
|
4160
|
-
"aria-describedby":
|
|
4214
|
+
"aria-labelledby": C,
|
|
4215
|
+
"aria-describedby": L,
|
|
4161
4216
|
className: "transform transition-all duration-200 scale-100",
|
|
4162
4217
|
children: [
|
|
4163
|
-
t && /* @__PURE__ */ n(Rr, { className: m(
|
|
4218
|
+
t && /* @__PURE__ */ n(Rr, { className: m(R.icon, _), children: t }),
|
|
4164
4219
|
/* @__PURE__ */ g("div", { className: m("flex flex-col items-center text-center gap-2 w-full", w), children: [
|
|
4165
4220
|
/* @__PURE__ */ n(
|
|
4166
4221
|
"h2",
|
|
4167
4222
|
{
|
|
4168
|
-
id:
|
|
4223
|
+
id: C,
|
|
4169
4224
|
className: "text-lg font-bold text-zinc-900 dark:text-text-primary",
|
|
4170
4225
|
children: r
|
|
4171
4226
|
}
|
|
@@ -4173,21 +4228,21 @@ const Rr = ({
|
|
|
4173
4228
|
/* @__PURE__ */ n(
|
|
4174
4229
|
"p",
|
|
4175
4230
|
{
|
|
4176
|
-
id:
|
|
4231
|
+
id: L,
|
|
4177
4232
|
className: "text-sm font-semibold text-zinc-600 dark:text-text-secondary whitespace-pre-line",
|
|
4178
4233
|
children: o
|
|
4179
4234
|
}
|
|
4180
4235
|
)
|
|
4181
4236
|
] }),
|
|
4182
4237
|
/* @__PURE__ */ n(
|
|
4183
|
-
|
|
4238
|
+
Tr,
|
|
4184
4239
|
{
|
|
4185
4240
|
confirmLabel: s,
|
|
4186
4241
|
cancelLabel: l,
|
|
4187
4242
|
variant: a,
|
|
4188
4243
|
onConfirm: c,
|
|
4189
4244
|
onCancel: i,
|
|
4190
|
-
confirmButtonClassName:
|
|
4245
|
+
confirmButtonClassName: N,
|
|
4191
4246
|
cancelButtonClassName: v
|
|
4192
4247
|
}
|
|
4193
4248
|
)
|
|
@@ -4198,11 +4253,11 @@ const Rr = ({
|
|
|
4198
4253
|
);
|
|
4199
4254
|
};
|
|
4200
4255
|
export {
|
|
4201
|
-
|
|
4202
|
-
|
|
4203
|
-
|
|
4256
|
+
pe as Button,
|
|
4257
|
+
Fr as Card,
|
|
4258
|
+
Pr as CardContent,
|
|
4204
4259
|
$r as CardFooter,
|
|
4205
|
-
|
|
4260
|
+
Gr as CardHeader,
|
|
4206
4261
|
Jt as Checkbox,
|
|
4207
4262
|
ro as ConfirmModal,
|
|
4208
4263
|
eo as ContextMenu,
|
|
@@ -4211,21 +4266,22 @@ export {
|
|
|
4211
4266
|
Ir as ContextMenuSeparator,
|
|
4212
4267
|
to as CookieConsent,
|
|
4213
4268
|
Yr as Form,
|
|
4214
|
-
|
|
4215
|
-
|
|
4269
|
+
Xr as FormButton,
|
|
4270
|
+
Kr as FormField,
|
|
4216
4271
|
Jr as FormFooter,
|
|
4217
4272
|
Qr as FormFooterLink,
|
|
4218
|
-
|
|
4219
|
-
|
|
4220
|
-
|
|
4221
|
-
|
|
4273
|
+
We as Input,
|
|
4274
|
+
Hr as Loader,
|
|
4275
|
+
Wr as RadioButton,
|
|
4276
|
+
Or as RadioGroup,
|
|
4222
4277
|
mr as SearchBar,
|
|
4223
4278
|
yr as SocialLinks,
|
|
4224
|
-
|
|
4279
|
+
Dr as Spinner,
|
|
4225
4280
|
jr as SubmitButton,
|
|
4226
|
-
|
|
4227
|
-
|
|
4228
|
-
|
|
4229
|
-
|
|
4281
|
+
Ur as ThemeProvider,
|
|
4282
|
+
qr as ThemeSwitch,
|
|
4283
|
+
Br as Toggle,
|
|
4284
|
+
Zr as Tooltip,
|
|
4230
4285
|
or as useTheme
|
|
4231
4286
|
};
|
|
4287
|
+
//# sourceMappingURL=index.mjs.map
|