@possibly6400/ui-kit 1.0.13 → 1.0.15
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 +134 -14
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +1071 -736
- package/dist/index.mjs.map +1 -0
- package/dist/styles.css +1 -1
- package/package.json +12 -2
package/dist/index.mjs
CHANGED
|
@@ -1,126 +1,126 @@
|
|
|
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
|
-
function
|
|
13
|
-
for (var e, r, o = 0, t = "", s = arguments.length; o < s; o++) (e = arguments[o]) && (r =
|
|
12
|
+
function et() {
|
|
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
|
-
const
|
|
16
|
+
const tt = (e, r) => {
|
|
17
17
|
const o = new Array(e.length + r.length);
|
|
18
18
|
for (let t = 0; t < e.length; t++)
|
|
19
19
|
o[t] = e[t];
|
|
20
20
|
for (let t = 0; t < r.length; t++)
|
|
21
21
|
o[e.length + t] = r[t];
|
|
22
22
|
return o;
|
|
23
|
-
},
|
|
23
|
+
}, 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
|
-
}),
|
|
31
|
-
const r =
|
|
30
|
+
}), de = "-", ze = [], ot = "arbitrary..", nt = (e) => {
|
|
31
|
+
const r = at(e), {
|
|
32
32
|
conflictingClassGroups: o,
|
|
33
33
|
conflictingClassGroupModifiers: t
|
|
34
34
|
} = e;
|
|
35
35
|
return {
|
|
36
36
|
getClassGroupId: (a) => {
|
|
37
37
|
if (a.startsWith("[") && a.endsWith("]"))
|
|
38
|
-
return
|
|
39
|
-
const c = a.split(
|
|
40
|
-
return
|
|
38
|
+
return st(a);
|
|
39
|
+
const c = a.split(de), i = c[0] === "" && c.length > 1 ? 1 : 0;
|
|
40
|
+
return Ee(c, i, r);
|
|
41
41
|
},
|
|
42
42
|
getConflictingClassGroupIds: (a, c) => {
|
|
43
43
|
if (c) {
|
|
44
44
|
const i = t[a], u = o[a];
|
|
45
|
-
return i ? u ?
|
|
45
|
+
return i ? u ? tt(u, i) : i : u || ze;
|
|
46
46
|
}
|
|
47
|
-
return o[a] ||
|
|
47
|
+
return o[a] || ze;
|
|
48
48
|
}
|
|
49
49
|
};
|
|
50
|
-
},
|
|
50
|
+
}, Ee = (e, r, o) => {
|
|
51
51
|
if (e.length - r === 0)
|
|
52
52
|
return o.classGroupId;
|
|
53
53
|
const s = e[r], l = o.nextPart.get(s);
|
|
54
54
|
if (l) {
|
|
55
|
-
const u =
|
|
55
|
+
const u = Ee(e, r + 1, l);
|
|
56
56
|
if (u) return u;
|
|
57
57
|
}
|
|
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);
|
|
69
|
-
return t ?
|
|
70
|
-
})(),
|
|
69
|
+
return t ? ot + t : void 0;
|
|
70
|
+
})(), at = (e) => {
|
|
71
71
|
const {
|
|
72
72
|
theme: r,
|
|
73
73
|
classGroups: o
|
|
74
74
|
} = e;
|
|
75
|
-
return
|
|
76
|
-
},
|
|
77
|
-
const o =
|
|
75
|
+
return lt(o, r);
|
|
76
|
+
}, lt = (e, r) => {
|
|
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];
|
|
87
|
-
|
|
87
|
+
it(a, r, o, t);
|
|
88
88
|
}
|
|
89
|
-
},
|
|
89
|
+
}, it = (e, r, o, t) => {
|
|
90
90
|
if (typeof e == "string") {
|
|
91
|
-
|
|
91
|
+
ct(e, r, o);
|
|
92
92
|
return;
|
|
93
93
|
}
|
|
94
94
|
if (typeof e == "function") {
|
|
95
|
-
|
|
95
|
+
dt(e, r, o, t);
|
|
96
96
|
return;
|
|
97
97
|
}
|
|
98
|
-
|
|
99
|
-
},
|
|
100
|
-
const t = e === "" ? r :
|
|
98
|
+
pt(e, r, o, t);
|
|
99
|
+
}, ct = (e, r, o) => {
|
|
100
|
+
const t = e === "" ? r : Ve(r, e);
|
|
101
101
|
t.classGroupId = o;
|
|
102
|
-
},
|
|
103
|
-
if (
|
|
104
|
-
|
|
102
|
+
}, dt = (e, r, o, t) => {
|
|
103
|
+
if (mt(e)) {
|
|
104
|
+
ge(e(t), r, o, t);
|
|
105
105
|
return;
|
|
106
106
|
}
|
|
107
|
-
r.validators === null && (r.validators = []), r.validators.push(
|
|
108
|
-
},
|
|
107
|
+
r.validators === null && (r.validators = []), r.validators.push(rt(o, e));
|
|
108
|
+
}, pt = (e, r, o, t) => {
|
|
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) => {
|
|
124
124
|
if (e < 1)
|
|
125
125
|
return {
|
|
126
126
|
get: () => {
|
|
@@ -144,13 +144,13 @@ const Qe = (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,
|
|
151
151
|
maybePostfixModifierPosition: t,
|
|
152
152
|
isExternal: s
|
|
153
|
-
}),
|
|
153
|
+
}), bt = (e) => {
|
|
154
154
|
const {
|
|
155
155
|
prefix: r,
|
|
156
156
|
experimentalParseClassName: o
|
|
@@ -158,36 +158,36 @@ const Qe = (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
|
|
186
|
+
return Me(l, N, w, v);
|
|
187
187
|
};
|
|
188
188
|
if (r) {
|
|
189
|
-
const s = r +
|
|
190
|
-
t = (a) => a.startsWith(s) ? l(a.slice(s.length)) :
|
|
189
|
+
const s = r + Ne, l = t;
|
|
190
|
+
t = (a) => a.startsWith(s) ? l(a.slice(s.length)) : Me(ft, !1, a, void 0, !0);
|
|
191
191
|
}
|
|
192
192
|
if (o) {
|
|
193
193
|
const s = t;
|
|
@@ -197,7 +197,7 @@ const Qe = (e, r) => {
|
|
|
197
197
|
});
|
|
198
198
|
}
|
|
199
199
|
return t;
|
|
200
|
-
},
|
|
200
|
+
}, ht = (e) => {
|
|
201
201
|
const r = /* @__PURE__ */ new Map();
|
|
202
202
|
return e.orderSensitiveModifiers.forEach((o, t) => {
|
|
203
203
|
r.set(o, 1e6 + t);
|
|
@@ -210,96 +210,96 @@ const Qe = (e, r) => {
|
|
|
210
210
|
}
|
|
211
211
|
return s.length > 0 && (s.sort(), t.push(...s)), t;
|
|
212
212
|
};
|
|
213
|
-
},
|
|
214
|
-
cache:
|
|
215
|
-
parseClassName:
|
|
216
|
-
sortModifiers:
|
|
217
|
-
...
|
|
218
|
-
}),
|
|
213
|
+
}, xt = (e) => ({
|
|
214
|
+
cache: ut(e.cacheSize),
|
|
215
|
+
parseClassName: bt(e),
|
|
216
|
+
sortModifiers: ht(e),
|
|
217
|
+
...nt(e)
|
|
218
|
+
}), gt = /\s+/, _t = (e, r) => {
|
|
219
219
|
const {
|
|
220
220
|
parseClassName: o,
|
|
221
221
|
getClassGroupId: t,
|
|
222
222
|
getConflictingClassGroupIds: s,
|
|
223
223
|
sortModifiers: l
|
|
224
|
-
} = r, a = [], c = e.trim().split(
|
|
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((
|
|
278
|
-
return o =
|
|
277
|
+
const u = r.reduce((h, _) => _(h), e());
|
|
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
|
-
return l = a, (...i) => l(
|
|
287
|
-
},
|
|
288
|
-
const r = (o) => o[e] ||
|
|
286
|
+
return l = a, (...i) => l(wt(...i));
|
|
287
|
+
}, yt = [], S = (e) => {
|
|
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
|
-
|
|
295
|
-
), Ge = () => !1,
|
|
296
|
-
const t =
|
|
294
|
+
zt.test(e) && !Nt.test(e)
|
|
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 Qe = (e, r) => {
|
|
|
317
317
|
"bottom-left",
|
|
318
318
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
319
319
|
"left-bottom"
|
|
320
|
-
],
|
|
321
|
-
span: ["full",
|
|
322
|
-
},
|
|
320
|
+
], 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
|
-
}],
|
|
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 Qe = (e, r) => {
|
|
|
333
333
|
u,
|
|
334
334
|
p,
|
|
335
335
|
d
|
|
336
|
-
],
|
|
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: [
|
|
351
|
-
color: [
|
|
352
|
-
container: [
|
|
353
|
-
"drop-shadow": [
|
|
349
|
+
blur: [D],
|
|
350
|
+
breakpoint: [D],
|
|
351
|
+
color: [Lt],
|
|
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 Qe = (e, r) => {
|
|
|
373
373
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
374
374
|
*/
|
|
375
375
|
aspect: [{
|
|
376
|
-
aspect: ["auto", "square",
|
|
376
|
+
aspect: ["auto", "square", Y, d, p, k]
|
|
377
377
|
}],
|
|
378
378
|
/**
|
|
379
379
|
* Container
|
|
@@ -393,14 +393,14 @@ const Qe = (e, r) => {
|
|
|
393
393
|
* @see https://tailwindcss.com/docs/break-after
|
|
394
394
|
*/
|
|
395
395
|
"break-after": [{
|
|
396
|
-
"break-after":
|
|
396
|
+
"break-after": 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 Qe = (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 Qe = (e, r) => {
|
|
|
518
518
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
519
519
|
*/
|
|
520
520
|
inset: [{
|
|
521
|
-
inset:
|
|
521
|
+
inset: B()
|
|
522
522
|
}],
|
|
523
523
|
/**
|
|
524
524
|
* Right / Left
|
|
525
525
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
526
526
|
*/
|
|
527
527
|
"inset-x": [{
|
|
528
|
-
"inset-x":
|
|
528
|
+
"inset-x": B()
|
|
529
529
|
}],
|
|
530
530
|
/**
|
|
531
531
|
* Top / Bottom
|
|
532
532
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
533
533
|
*/
|
|
534
534
|
"inset-y": [{
|
|
535
|
-
"inset-y":
|
|
535
|
+
"inset-y": B()
|
|
536
536
|
}],
|
|
537
537
|
/**
|
|
538
538
|
* Start
|
|
539
539
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
540
540
|
*/
|
|
541
541
|
start: [{
|
|
542
|
-
start:
|
|
542
|
+
start: B()
|
|
543
543
|
}],
|
|
544
544
|
/**
|
|
545
545
|
* End
|
|
546
546
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
547
547
|
*/
|
|
548
548
|
end: [{
|
|
549
|
-
end:
|
|
549
|
+
end: B()
|
|
550
550
|
}],
|
|
551
551
|
/**
|
|
552
552
|
* Top
|
|
553
553
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
554
554
|
*/
|
|
555
555
|
top: [{
|
|
556
|
-
top:
|
|
556
|
+
top: B()
|
|
557
557
|
}],
|
|
558
558
|
/**
|
|
559
559
|
* Right
|
|
560
560
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
561
561
|
*/
|
|
562
562
|
right: [{
|
|
563
|
-
right:
|
|
563
|
+
right: B()
|
|
564
564
|
}],
|
|
565
565
|
/**
|
|
566
566
|
* Bottom
|
|
567
567
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
568
568
|
*/
|
|
569
569
|
bottom: [{
|
|
570
|
-
bottom:
|
|
570
|
+
bottom: B()
|
|
571
571
|
}],
|
|
572
572
|
/**
|
|
573
573
|
* Left
|
|
574
574
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
575
575
|
*/
|
|
576
576
|
left: [{
|
|
577
|
-
left:
|
|
577
|
+
left: B()
|
|
578
578
|
}],
|
|
579
579
|
/**
|
|
580
580
|
* Visibility
|
|
@@ -586,7 +586,7 @@ const Qe = (e, r) => {
|
|
|
586
586
|
* @see https://tailwindcss.com/docs/z-index
|
|
587
587
|
*/
|
|
588
588
|
z: [{
|
|
589
|
-
z: [
|
|
589
|
+
z: [H, "auto", p, d]
|
|
590
590
|
}],
|
|
591
591
|
// ------------------------
|
|
592
592
|
// --- Flexbox and Grid ---
|
|
@@ -596,7 +596,7 @@ const Qe = (e, r) => {
|
|
|
596
596
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
597
597
|
*/
|
|
598
598
|
basis: [{
|
|
599
|
-
basis: [
|
|
599
|
+
basis: [Y, "full", "auto", c, ...b()]
|
|
600
600
|
}],
|
|
601
601
|
/**
|
|
602
602
|
* Flex Direction
|
|
@@ -617,7 +617,7 @@ const Qe = (e, r) => {
|
|
|
617
617
|
* @see https://tailwindcss.com/docs/flex
|
|
618
618
|
*/
|
|
619
619
|
flex: [{
|
|
620
|
-
flex: [x,
|
|
620
|
+
flex: [x, Y, "auto", "initial", "none", d]
|
|
621
621
|
}],
|
|
622
622
|
/**
|
|
623
623
|
* Flex Grow
|
|
@@ -638,63 +638,63 @@ const Qe = (e, r) => {
|
|
|
638
638
|
* @see https://tailwindcss.com/docs/order
|
|
639
639
|
*/
|
|
640
640
|
order: [{
|
|
641
|
-
order: [
|
|
641
|
+
order: [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
|
|
@@ -708,70 +708,70 @@ const Qe = (e, r) => {
|
|
|
708
708
|
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
709
709
|
*/
|
|
710
710
|
"auto-cols": [{
|
|
711
|
-
"auto-cols":
|
|
711
|
+
"auto-cols": _e()
|
|
712
712
|
}],
|
|
713
713
|
/**
|
|
714
714
|
* Grid Auto Rows
|
|
715
715
|
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
716
716
|
*/
|
|
717
717
|
"auto-rows": [{
|
|
718
|
-
"auto-rows":
|
|
718
|
+
"auto-rows": _e()
|
|
719
719
|
}],
|
|
720
720
|
/**
|
|
721
721
|
* Gap
|
|
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 Qe = (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 Qe = (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 Qe = (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 Qe = (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 Qe = (e, r) => {
|
|
|
964
964
|
* @see https://tailwindcss.com/docs/width#setting-both-width-and-height
|
|
965
965
|
*/
|
|
966
966
|
size: [{
|
|
967
|
-
size:
|
|
967
|
+
size: 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 Qe = (e, r) => {
|
|
|
983
983
|
"screen",
|
|
984
984
|
/** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
985
985
|
"none",
|
|
986
|
-
...
|
|
986
|
+
...O()
|
|
987
987
|
]
|
|
988
988
|
}],
|
|
989
989
|
/**
|
|
@@ -1001,7 +1001,7 @@ const Qe = (e, r) => {
|
|
|
1001
1001
|
{
|
|
1002
1002
|
screen: [a]
|
|
1003
1003
|
},
|
|
1004
|
-
...
|
|
1004
|
+
...O()
|
|
1005
1005
|
]
|
|
1006
1006
|
}],
|
|
1007
1007
|
/**
|
|
@@ -1009,21 +1009,21 @@ const Qe = (e, r) => {
|
|
|
1009
1009
|
* @see https://tailwindcss.com/docs/height
|
|
1010
1010
|
*/
|
|
1011
1011
|
h: [{
|
|
1012
|
-
h: ["screen", "lh", ...
|
|
1012
|
+
h: ["screen", "lh", ...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 Qe = (e, r) => {
|
|
|
1033
1033
|
* @see https://tailwindcss.com/docs/font-size
|
|
1034
1034
|
*/
|
|
1035
1035
|
"font-size": [{
|
|
1036
|
-
text: ["base", o,
|
|
1036
|
+
text: ["base", o, Q, W]
|
|
1037
1037
|
}],
|
|
1038
1038
|
/**
|
|
1039
1039
|
* Font Smoothing
|
|
@@ -1050,21 +1050,21 @@ const Qe = (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
|
|
1064
1064
|
* @see https://tailwindcss.com/docs/font-family
|
|
1065
1065
|
*/
|
|
1066
1066
|
"font-family": [{
|
|
1067
|
-
font: [
|
|
1067
|
+
font: [jt, d, r]
|
|
1068
1068
|
}],
|
|
1069
1069
|
/**
|
|
1070
1070
|
* Font Variant Numeric
|
|
@@ -1108,7 +1108,7 @@ const Qe = (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 Qe = (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
|
/**
|
|
@@ -1155,14 +1155,14 @@ const Qe = (e, r) => {
|
|
|
1155
1155
|
* @see https://v3.tailwindcss.com/docs/placeholder-color
|
|
1156
1156
|
*/
|
|
1157
1157
|
"placeholder-color": [{
|
|
1158
|
-
placeholder:
|
|
1158
|
+
placeholder: f()
|
|
1159
1159
|
}],
|
|
1160
1160
|
/**
|
|
1161
1161
|
* Text Color
|
|
1162
1162
|
* @see https://tailwindcss.com/docs/text-color
|
|
1163
1163
|
*/
|
|
1164
1164
|
"text-color": [{
|
|
1165
|
-
text:
|
|
1165
|
+
text: f()
|
|
1166
1166
|
}],
|
|
1167
1167
|
/**
|
|
1168
1168
|
* Text Decoration
|
|
@@ -1174,7 +1174,7 @@ const Qe = (e, r) => {
|
|
|
1174
1174
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1175
1175
|
*/
|
|
1176
1176
|
"text-decoration-style": [{
|
|
1177
|
-
decoration: [...
|
|
1177
|
+
decoration: [...re(), "wavy"]
|
|
1178
1178
|
}],
|
|
1179
1179
|
/**
|
|
1180
1180
|
* Text Decoration Thickness
|
|
@@ -1188,7 +1188,7 @@ const Qe = (e, r) => {
|
|
|
1188
1188
|
* @see https://tailwindcss.com/docs/text-decoration-color
|
|
1189
1189
|
*/
|
|
1190
1190
|
"text-decoration-color": [{
|
|
1191
|
-
decoration:
|
|
1191
|
+
decoration: f()
|
|
1192
1192
|
}],
|
|
1193
1193
|
/**
|
|
1194
1194
|
* Text Underline Offset
|
|
@@ -1219,7 +1219,7 @@ const Qe = (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
|
|
@@ -1292,21 +1292,21 @@ const Qe = (e, r) => {
|
|
|
1292
1292
|
* @see https://tailwindcss.com/docs/background-position
|
|
1293
1293
|
*/
|
|
1294
1294
|
"bg-position": [{
|
|
1295
|
-
bg:
|
|
1295
|
+
bg: we()
|
|
1296
1296
|
}],
|
|
1297
1297
|
/**
|
|
1298
1298
|
* Background Repeat
|
|
1299
1299
|
* @see https://tailwindcss.com/docs/background-repeat
|
|
1300
1300
|
*/
|
|
1301
1301
|
"bg-repeat": [{
|
|
1302
|
-
bg:
|
|
1302
|
+
bg: ve()
|
|
1303
1303
|
}],
|
|
1304
1304
|
/**
|
|
1305
1305
|
* Background Size
|
|
1306
1306
|
* @see https://tailwindcss.com/docs/background-size
|
|
1307
1307
|
*/
|
|
1308
1308
|
"bg-size": [{
|
|
1309
|
-
bg:
|
|
1309
|
+
bg: ye()
|
|
1310
1310
|
}],
|
|
1311
1311
|
/**
|
|
1312
1312
|
* Background Image
|
|
@@ -1316,59 +1316,59 @@ const Qe = (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
|
|
1326
1326
|
* @see https://tailwindcss.com/docs/background-color
|
|
1327
1327
|
*/
|
|
1328
1328
|
"bg-color": [{
|
|
1329
|
-
bg:
|
|
1329
|
+
bg: f()
|
|
1330
1330
|
}],
|
|
1331
1331
|
/**
|
|
1332
1332
|
* Gradient Color Stops From Position
|
|
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
|
|
1354
1354
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1355
1355
|
*/
|
|
1356
1356
|
"gradient-from": [{
|
|
1357
|
-
from:
|
|
1357
|
+
from: f()
|
|
1358
1358
|
}],
|
|
1359
1359
|
/**
|
|
1360
1360
|
* Gradient Color Stops Via
|
|
1361
1361
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1362
1362
|
*/
|
|
1363
1363
|
"gradient-via": [{
|
|
1364
|
-
via:
|
|
1364
|
+
via: f()
|
|
1365
1365
|
}],
|
|
1366
1366
|
/**
|
|
1367
1367
|
* Gradient Color Stops To
|
|
1368
1368
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1369
1369
|
*/
|
|
1370
1370
|
"gradient-to": [{
|
|
1371
|
-
to:
|
|
1371
|
+
to: f()
|
|
1372
1372
|
}],
|
|
1373
1373
|
// ---------------
|
|
1374
1374
|
// --- Borders ---
|
|
@@ -1378,175 +1378,175 @@ const Qe = (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
|
|
1483
1483
|
* @see https://tailwindcss.com/docs/border-width
|
|
1484
1484
|
*/
|
|
1485
1485
|
"border-w": [{
|
|
1486
|
-
border:
|
|
1486
|
+
border: j()
|
|
1487
1487
|
}],
|
|
1488
1488
|
/**
|
|
1489
1489
|
* Border Width X
|
|
1490
1490
|
* @see https://tailwindcss.com/docs/border-width
|
|
1491
1491
|
*/
|
|
1492
1492
|
"border-w-x": [{
|
|
1493
|
-
"border-x":
|
|
1493
|
+
"border-x": j()
|
|
1494
1494
|
}],
|
|
1495
1495
|
/**
|
|
1496
1496
|
* Border Width Y
|
|
1497
1497
|
* @see https://tailwindcss.com/docs/border-width
|
|
1498
1498
|
*/
|
|
1499
1499
|
"border-w-y": [{
|
|
1500
|
-
"border-y":
|
|
1500
|
+
"border-y": j()
|
|
1501
1501
|
}],
|
|
1502
1502
|
/**
|
|
1503
1503
|
* Border Width Start
|
|
1504
1504
|
* @see https://tailwindcss.com/docs/border-width
|
|
1505
1505
|
*/
|
|
1506
1506
|
"border-w-s": [{
|
|
1507
|
-
"border-s":
|
|
1507
|
+
"border-s": j()
|
|
1508
1508
|
}],
|
|
1509
1509
|
/**
|
|
1510
1510
|
* Border Width End
|
|
1511
1511
|
* @see https://tailwindcss.com/docs/border-width
|
|
1512
1512
|
*/
|
|
1513
1513
|
"border-w-e": [{
|
|
1514
|
-
"border-e":
|
|
1514
|
+
"border-e": j()
|
|
1515
1515
|
}],
|
|
1516
1516
|
/**
|
|
1517
1517
|
* Border Width Top
|
|
1518
1518
|
* @see https://tailwindcss.com/docs/border-width
|
|
1519
1519
|
*/
|
|
1520
1520
|
"border-w-t": [{
|
|
1521
|
-
"border-t":
|
|
1521
|
+
"border-t": j()
|
|
1522
1522
|
}],
|
|
1523
1523
|
/**
|
|
1524
1524
|
* Border Width Right
|
|
1525
1525
|
* @see https://tailwindcss.com/docs/border-width
|
|
1526
1526
|
*/
|
|
1527
1527
|
"border-w-r": [{
|
|
1528
|
-
"border-r":
|
|
1528
|
+
"border-r": j()
|
|
1529
1529
|
}],
|
|
1530
1530
|
/**
|
|
1531
1531
|
* Border Width Bottom
|
|
1532
1532
|
* @see https://tailwindcss.com/docs/border-width
|
|
1533
1533
|
*/
|
|
1534
1534
|
"border-w-b": [{
|
|
1535
|
-
"border-b":
|
|
1535
|
+
"border-b": j()
|
|
1536
1536
|
}],
|
|
1537
1537
|
/**
|
|
1538
1538
|
* Border Width Left
|
|
1539
1539
|
* @see https://tailwindcss.com/docs/border-width
|
|
1540
1540
|
*/
|
|
1541
1541
|
"border-w-l": [{
|
|
1542
|
-
"border-l":
|
|
1542
|
+
"border-l": j()
|
|
1543
1543
|
}],
|
|
1544
1544
|
/**
|
|
1545
1545
|
* Divide Width X
|
|
1546
1546
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1547
1547
|
*/
|
|
1548
1548
|
"divide-x": [{
|
|
1549
|
-
"divide-x":
|
|
1549
|
+
"divide-x": j()
|
|
1550
1550
|
}],
|
|
1551
1551
|
/**
|
|
1552
1552
|
* Divide Width X Reverse
|
|
@@ -1558,7 +1558,7 @@ const Qe = (e, r) => {
|
|
|
1558
1558
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1559
1559
|
*/
|
|
1560
1560
|
"divide-y": [{
|
|
1561
|
-
"divide-y":
|
|
1561
|
+
"divide-y": j()
|
|
1562
1562
|
}],
|
|
1563
1563
|
/**
|
|
1564
1564
|
* Divide Width Y Reverse
|
|
@@ -1570,91 +1570,91 @@ const Qe = (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
|
|
1584
1584
|
* @see https://tailwindcss.com/docs/border-color
|
|
1585
1585
|
*/
|
|
1586
1586
|
"border-color": [{
|
|
1587
|
-
border:
|
|
1587
|
+
border: f()
|
|
1588
1588
|
}],
|
|
1589
1589
|
/**
|
|
1590
1590
|
* Border Color X
|
|
1591
1591
|
* @see https://tailwindcss.com/docs/border-color
|
|
1592
1592
|
*/
|
|
1593
1593
|
"border-color-x": [{
|
|
1594
|
-
"border-x":
|
|
1594
|
+
"border-x": f()
|
|
1595
1595
|
}],
|
|
1596
1596
|
/**
|
|
1597
1597
|
* Border Color Y
|
|
1598
1598
|
* @see https://tailwindcss.com/docs/border-color
|
|
1599
1599
|
*/
|
|
1600
1600
|
"border-color-y": [{
|
|
1601
|
-
"border-y":
|
|
1601
|
+
"border-y": f()
|
|
1602
1602
|
}],
|
|
1603
1603
|
/**
|
|
1604
1604
|
* Border Color S
|
|
1605
1605
|
* @see https://tailwindcss.com/docs/border-color
|
|
1606
1606
|
*/
|
|
1607
1607
|
"border-color-s": [{
|
|
1608
|
-
"border-s":
|
|
1608
|
+
"border-s": f()
|
|
1609
1609
|
}],
|
|
1610
1610
|
/**
|
|
1611
1611
|
* Border Color E
|
|
1612
1612
|
* @see https://tailwindcss.com/docs/border-color
|
|
1613
1613
|
*/
|
|
1614
1614
|
"border-color-e": [{
|
|
1615
|
-
"border-e":
|
|
1615
|
+
"border-e": f()
|
|
1616
1616
|
}],
|
|
1617
1617
|
/**
|
|
1618
1618
|
* Border Color Top
|
|
1619
1619
|
* @see https://tailwindcss.com/docs/border-color
|
|
1620
1620
|
*/
|
|
1621
1621
|
"border-color-t": [{
|
|
1622
|
-
"border-t":
|
|
1622
|
+
"border-t": f()
|
|
1623
1623
|
}],
|
|
1624
1624
|
/**
|
|
1625
1625
|
* Border Color Right
|
|
1626
1626
|
* @see https://tailwindcss.com/docs/border-color
|
|
1627
1627
|
*/
|
|
1628
1628
|
"border-color-r": [{
|
|
1629
|
-
"border-r":
|
|
1629
|
+
"border-r": f()
|
|
1630
1630
|
}],
|
|
1631
1631
|
/**
|
|
1632
1632
|
* Border Color Bottom
|
|
1633
1633
|
* @see https://tailwindcss.com/docs/border-color
|
|
1634
1634
|
*/
|
|
1635
1635
|
"border-color-b": [{
|
|
1636
|
-
"border-b":
|
|
1636
|
+
"border-b": f()
|
|
1637
1637
|
}],
|
|
1638
1638
|
/**
|
|
1639
1639
|
* Border Color Left
|
|
1640
1640
|
* @see https://tailwindcss.com/docs/border-color
|
|
1641
1641
|
*/
|
|
1642
1642
|
"border-color-l": [{
|
|
1643
|
-
"border-l":
|
|
1643
|
+
"border-l": f()
|
|
1644
1644
|
}],
|
|
1645
1645
|
/**
|
|
1646
1646
|
* Divide Color
|
|
1647
1647
|
* @see https://tailwindcss.com/docs/divide-color
|
|
1648
1648
|
*/
|
|
1649
1649
|
"divide-color": [{
|
|
1650
|
-
divide:
|
|
1650
|
+
divide: f()
|
|
1651
1651
|
}],
|
|
1652
1652
|
/**
|
|
1653
1653
|
* Outline Style
|
|
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,14 +1668,14 @@ const Qe = (e, r) => {
|
|
|
1668
1668
|
* @see https://tailwindcss.com/docs/outline-width
|
|
1669
1669
|
*/
|
|
1670
1670
|
"outline-w": [{
|
|
1671
|
-
outline: ["", x,
|
|
1671
|
+
outline: ["", x, Q, W]
|
|
1672
1672
|
}],
|
|
1673
1673
|
/**
|
|
1674
1674
|
* Outline Color
|
|
1675
1675
|
* @see https://tailwindcss.com/docs/outline-color
|
|
1676
1676
|
*/
|
|
1677
1677
|
"outline-color": [{
|
|
1678
|
-
outline:
|
|
1678
|
+
outline: f()
|
|
1679
1679
|
}],
|
|
1680
1680
|
// ---------------
|
|
1681
1681
|
// --- Effects ---
|
|
@@ -1689,9 +1689,9 @@ const Qe = (e, r) => {
|
|
|
1689
1689
|
// Deprecated since Tailwind CSS v4.0.0
|
|
1690
1690
|
"",
|
|
1691
1691
|
"none",
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1692
|
+
h,
|
|
1693
|
+
le,
|
|
1694
|
+
ae
|
|
1695
1695
|
]
|
|
1696
1696
|
}],
|
|
1697
1697
|
/**
|
|
@@ -1699,28 +1699,28 @@ const Qe = (e, r) => {
|
|
|
1699
1699
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
|
|
1700
1700
|
*/
|
|
1701
1701
|
"shadow-color": [{
|
|
1702
|
-
shadow:
|
|
1702
|
+
shadow: f()
|
|
1703
1703
|
}],
|
|
1704
1704
|
/**
|
|
1705
1705
|
* Inset Box Shadow
|
|
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
|
|
1713
1713
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
|
|
1714
1714
|
*/
|
|
1715
1715
|
"inset-shadow-color": [{
|
|
1716
|
-
"inset-shadow":
|
|
1716
|
+
"inset-shadow": f()
|
|
1717
1717
|
}],
|
|
1718
1718
|
/**
|
|
1719
1719
|
* Ring Width
|
|
1720
1720
|
* @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
|
|
1721
1721
|
*/
|
|
1722
1722
|
"ring-w": [{
|
|
1723
|
-
ring:
|
|
1723
|
+
ring: j()
|
|
1724
1724
|
}],
|
|
1725
1725
|
/**
|
|
1726
1726
|
* Ring Width Inset
|
|
@@ -1734,7 +1734,7 @@ const Qe = (e, r) => {
|
|
|
1734
1734
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
|
|
1735
1735
|
*/
|
|
1736
1736
|
"ring-color": [{
|
|
1737
|
-
ring:
|
|
1737
|
+
ring: f()
|
|
1738
1738
|
}],
|
|
1739
1739
|
/**
|
|
1740
1740
|
* Ring Offset Width
|
|
@@ -1752,35 +1752,35 @@ const Qe = (e, r) => {
|
|
|
1752
1752
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
1753
1753
|
*/
|
|
1754
1754
|
"ring-offset-color": [{
|
|
1755
|
-
"ring-offset":
|
|
1755
|
+
"ring-offset": f()
|
|
1756
1756
|
}],
|
|
1757
1757
|
/**
|
|
1758
1758
|
* Inset Ring Width
|
|
1759
1759
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
|
|
1760
1760
|
*/
|
|
1761
1761
|
"inset-ring-w": [{
|
|
1762
|
-
"inset-ring":
|
|
1762
|
+
"inset-ring": j()
|
|
1763
1763
|
}],
|
|
1764
1764
|
/**
|
|
1765
1765
|
* Inset Ring Color
|
|
1766
1766
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
|
|
1767
1767
|
*/
|
|
1768
1768
|
"inset-ring-color": [{
|
|
1769
|
-
"inset-ring":
|
|
1769
|
+
"inset-ring": f()
|
|
1770
1770
|
}],
|
|
1771
1771
|
/**
|
|
1772
1772
|
* Text Shadow
|
|
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
|
|
1780
1780
|
* @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
|
|
1781
1781
|
*/
|
|
1782
1782
|
"text-shadow-color": [{
|
|
1783
|
-
"text-shadow":
|
|
1783
|
+
"text-shadow": f()
|
|
1784
1784
|
}],
|
|
1785
1785
|
/**
|
|
1786
1786
|
* Opacity
|
|
@@ -1794,14 +1794,14 @@ const Qe = (e, r) => {
|
|
|
1794
1794
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
1795
1795
|
*/
|
|
1796
1796
|
"mix-blend": [{
|
|
1797
|
-
"mix-blend": [...
|
|
1797
|
+
"mix-blend": [...ke(), "plus-darker", "plus-lighter"]
|
|
1798
1798
|
}],
|
|
1799
1799
|
/**
|
|
1800
1800
|
* Background Blend Mode
|
|
1801
1801
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
1802
1802
|
*/
|
|
1803
1803
|
"bg-blend": [{
|
|
1804
|
-
"bg-blend":
|
|
1804
|
+
"bg-blend": ke()
|
|
1805
1805
|
}],
|
|
1806
1806
|
/**
|
|
1807
1807
|
* Mask Clip
|
|
@@ -1825,103 +1825,103 @@ const Qe = (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
|
-
"mask-linear-from":
|
|
1834
|
+
"mask-linear-from": f()
|
|
1835
1835
|
}],
|
|
1836
1836
|
"mask-image-linear-to-color": [{
|
|
1837
|
-
"mask-linear-to":
|
|
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
|
-
"mask-t-from":
|
|
1846
|
+
"mask-t-from": f()
|
|
1847
1847
|
}],
|
|
1848
1848
|
"mask-image-t-to-color": [{
|
|
1849
|
-
"mask-t-to":
|
|
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
|
-
"mask-r-from":
|
|
1858
|
+
"mask-r-from": f()
|
|
1859
1859
|
}],
|
|
1860
1860
|
"mask-image-r-to-color": [{
|
|
1861
|
-
"mask-r-to":
|
|
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
|
-
"mask-b-from":
|
|
1870
|
+
"mask-b-from": f()
|
|
1871
1871
|
}],
|
|
1872
1872
|
"mask-image-b-to-color": [{
|
|
1873
|
-
"mask-b-to":
|
|
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
|
-
"mask-l-from":
|
|
1882
|
+
"mask-l-from": f()
|
|
1883
1883
|
}],
|
|
1884
1884
|
"mask-image-l-to-color": [{
|
|
1885
|
-
"mask-l-to":
|
|
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
|
-
"mask-x-from":
|
|
1894
|
+
"mask-x-from": f()
|
|
1895
1895
|
}],
|
|
1896
1896
|
"mask-image-x-to-color": [{
|
|
1897
|
-
"mask-x-to":
|
|
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
|
-
"mask-y-from":
|
|
1906
|
+
"mask-y-from": f()
|
|
1907
1907
|
}],
|
|
1908
1908
|
"mask-image-y-to-color": [{
|
|
1909
|
-
"mask-y-to":
|
|
1909
|
+
"mask-y-to": f()
|
|
1910
1910
|
}],
|
|
1911
1911
|
"mask-image-radial": [{
|
|
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
|
-
"mask-radial-from":
|
|
1921
|
+
"mask-radial-from": f()
|
|
1922
1922
|
}],
|
|
1923
1923
|
"mask-image-radial-to-color": [{
|
|
1924
|
-
"mask-radial-to":
|
|
1924
|
+
"mask-radial-to": f()
|
|
1925
1925
|
}],
|
|
1926
1926
|
"mask-image-radial-shape": [{
|
|
1927
1927
|
"mask-radial": ["circle", "ellipse"]
|
|
@@ -1933,22 +1933,22 @@ const Qe = (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
|
-
"mask-conic-from":
|
|
1948
|
+
"mask-conic-from": f()
|
|
1949
1949
|
}],
|
|
1950
1950
|
"mask-image-conic-to-color": [{
|
|
1951
|
-
"mask-conic-to":
|
|
1951
|
+
"mask-conic-to": f()
|
|
1952
1952
|
}],
|
|
1953
1953
|
/**
|
|
1954
1954
|
* Mask Mode
|
|
@@ -1969,21 +1969,21 @@ const Qe = (e, r) => {
|
|
|
1969
1969
|
* @see https://tailwindcss.com/docs/mask-position
|
|
1970
1970
|
*/
|
|
1971
1971
|
"mask-position": [{
|
|
1972
|
-
mask:
|
|
1972
|
+
mask: we()
|
|
1973
1973
|
}],
|
|
1974
1974
|
/**
|
|
1975
1975
|
* Mask Repeat
|
|
1976
1976
|
* @see https://tailwindcss.com/docs/mask-repeat
|
|
1977
1977
|
*/
|
|
1978
1978
|
"mask-repeat": [{
|
|
1979
|
-
mask:
|
|
1979
|
+
mask: ve()
|
|
1980
1980
|
}],
|
|
1981
1981
|
/**
|
|
1982
1982
|
* Mask Size
|
|
1983
1983
|
* @see https://tailwindcss.com/docs/mask-size
|
|
1984
1984
|
*/
|
|
1985
1985
|
"mask-size": [{
|
|
1986
|
-
mask:
|
|
1986
|
+
mask: ye()
|
|
1987
1987
|
}],
|
|
1988
1988
|
/**
|
|
1989
1989
|
* Mask Type
|
|
@@ -2020,7 +2020,7 @@ const Qe = (e, r) => {
|
|
|
2020
2020
|
* @see https://tailwindcss.com/docs/blur
|
|
2021
2021
|
*/
|
|
2022
2022
|
blur: [{
|
|
2023
|
-
blur:
|
|
2023
|
+
blur: Ce()
|
|
2024
2024
|
}],
|
|
2025
2025
|
/**
|
|
2026
2026
|
* Brightness
|
|
@@ -2045,9 +2045,9 @@ const Qe = (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
|
/**
|
|
@@ -2055,7 +2055,7 @@ const Qe = (e, r) => {
|
|
|
2055
2055
|
* @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
|
|
2056
2056
|
*/
|
|
2057
2057
|
"drop-shadow-color": [{
|
|
2058
|
-
"drop-shadow":
|
|
2058
|
+
"drop-shadow": f()
|
|
2059
2059
|
}],
|
|
2060
2060
|
/**
|
|
2061
2061
|
* Grayscale
|
|
@@ -2110,7 +2110,7 @@ const Qe = (e, r) => {
|
|
|
2110
2110
|
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
2111
2111
|
*/
|
|
2112
2112
|
"backdrop-blur": [{
|
|
2113
|
-
"backdrop-blur":
|
|
2113
|
+
"backdrop-blur": Ce()
|
|
2114
2114
|
}],
|
|
2115
2115
|
/**
|
|
2116
2116
|
* Backdrop Brightness
|
|
@@ -2183,21 +2183,21 @@ const Qe = (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 Qe = (e, r) => {
|
|
|
2242
2242
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2243
2243
|
*/
|
|
2244
2244
|
ease: [{
|
|
2245
|
-
ease: ["linear", "initial",
|
|
2245
|
+
ease: ["linear", "initial", C, p, d]
|
|
2246
2246
|
}],
|
|
2247
2247
|
/**
|
|
2248
2248
|
* Transition Delay
|
|
@@ -2256,7 +2256,7 @@ const Qe = (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 Qe = (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 Qe = (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 Qe = (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 Qe = (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
|
|
@@ -2426,7 +2426,7 @@ const Qe = (e, r) => {
|
|
|
2426
2426
|
* @see https://tailwindcss.com/docs/accent-color
|
|
2427
2427
|
*/
|
|
2428
2428
|
accent: [{
|
|
2429
|
-
accent:
|
|
2429
|
+
accent: f()
|
|
2430
2430
|
}],
|
|
2431
2431
|
/**
|
|
2432
2432
|
* Appearance
|
|
@@ -2440,7 +2440,7 @@ const Qe = (e, r) => {
|
|
|
2440
2440
|
* @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
|
|
2441
2441
|
*/
|
|
2442
2442
|
"caret-color": [{
|
|
2443
|
-
caret:
|
|
2443
|
+
caret: f()
|
|
2444
2444
|
}],
|
|
2445
2445
|
/**
|
|
2446
2446
|
* Color Scheme
|
|
@@ -2489,126 +2489,126 @@ const Qe = (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
|
|
@@ -2686,21 +2686,21 @@ const Qe = (e, r) => {
|
|
|
2686
2686
|
* @see https://tailwindcss.com/docs/fill
|
|
2687
2687
|
*/
|
|
2688
2688
|
fill: [{
|
|
2689
|
-
fill: ["none", ...
|
|
2689
|
+
fill: ["none", ...f()]
|
|
2690
2690
|
}],
|
|
2691
2691
|
/**
|
|
2692
2692
|
* Stroke Width
|
|
2693
2693
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
2694
2694
|
*/
|
|
2695
2695
|
"stroke-w": [{
|
|
2696
|
-
stroke: [x,
|
|
2696
|
+
stroke: [x, Q, W, he]
|
|
2697
2697
|
}],
|
|
2698
2698
|
/**
|
|
2699
2699
|
* Stroke
|
|
2700
2700
|
* @see https://tailwindcss.com/docs/stroke
|
|
2701
2701
|
*/
|
|
2702
2702
|
stroke: [{
|
|
2703
|
-
stroke: ["none", ...
|
|
2703
|
+
stroke: ["none", ...f()]
|
|
2704
2704
|
}],
|
|
2705
2705
|
// ---------------------
|
|
2706
2706
|
// --- Accessibility ---
|
|
@@ -2768,20 +2768,20 @@ const Qe = (e, r) => {
|
|
|
2768
2768
|
},
|
|
2769
2769
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
2770
2770
|
};
|
|
2771
|
-
},
|
|
2772
|
-
function
|
|
2773
|
-
return
|
|
2771
|
+
}, Dt = /* @__PURE__ */ vt($t);
|
|
2772
|
+
function m(...e) {
|
|
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,
|
|
@@ -2793,10 +2793,10 @@ const $t = {
|
|
|
2793
2793
|
"button",
|
|
2794
2794
|
{
|
|
2795
2795
|
ref: c,
|
|
2796
|
-
className:
|
|
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 $t = {
|
|
|
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,26 +2848,26 @@ const $t = {
|
|
|
2846
2848
|
]
|
|
2847
2849
|
}
|
|
2848
2850
|
));
|
|
2849
|
-
|
|
2850
|
-
const Wt = "
|
|
2851
|
+
pe.displayName = "Button";
|
|
2852
|
+
const Wt = "_button_1l5kn_7", Zt = "_state_1l5kn_79", Ut = "_icon_1l5kn_155", qt = "_outline_1l5kn_209", G = {
|
|
2851
2853
|
button: Wt,
|
|
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--
|
|
2860
|
-
},
|
|
2861
|
-
sm:
|
|
2862
|
-
md:
|
|
2863
|
-
lg:
|
|
2864
|
-
},
|
|
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"
|
|
2862
|
+
}, Ae = (e) => e.split("").map((r, o) => /* @__PURE__ */ n("span", { style: { "--i": o }, children: r === " " ? " " : r }, o)), Yt = {
|
|
2863
|
+
sm: G["button--size-sm"],
|
|
2864
|
+
md: G["button--size-md"],
|
|
2865
|
+
lg: G["button--size-lg"]
|
|
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%)]"
|
|
2868
|
-
},
|
|
2870
|
+
}, jr = ({
|
|
2869
2871
|
children: e = "Send Message",
|
|
2870
2872
|
successText: r = "Sent",
|
|
2871
2873
|
onSubmit: o,
|
|
@@ -2875,41 +2877,80 @@ const Wt = "_button_qraba_7", Ot = "_state_qraba_79", Dt = "_icon_qraba_151", Zt
|
|
|
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?.(C);
|
|
2896
|
-
},
|
|
2897
|
-
className: f(I.button, Ut[s], qt[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
|
-
/* @__PURE__ */ n("div", { className:
|
|
2902
|
-
/* @__PURE__ */ g("div", { className:
|
|
2903
|
-
/* @__PURE__ */ n("div", { className:
|
|
2910
|
+
/* @__PURE__ */ n("div", { className: G.outline }),
|
|
2911
|
+
/* @__PURE__ */ g("div", { className: m(G.state, G["state--default"]), children: [
|
|
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 Wt = "_button_qraba_7", Ot = "_state_qraba_79", Dt = "_icon_qraba_151", Zt
|
|
|
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",
|
|
@@ -2937,10 +2978,10 @@ const Wt = "_button_qraba_7", Ot = "_state_qraba_79", Dt = "_icon_qraba_151", Zt
|
|
|
2937
2978
|
]
|
|
2938
2979
|
}
|
|
2939
2980
|
) }),
|
|
2940
|
-
/* @__PURE__ */ n("p", { children:
|
|
2981
|
+
/* @__PURE__ */ n("p", { children: Ae(typeof e == "string" ? e : "Send Message") })
|
|
2941
2982
|
] }),
|
|
2942
|
-
/* @__PURE__ */ g("div", { className:
|
|
2943
|
-
/* @__PURE__ */ n("div", { className:
|
|
2983
|
+
/* @__PURE__ */ g("div", { className: m(G.state, G["state--sent"]), children: [
|
|
2984
|
+
/* @__PURE__ */ n("div", { className: G.icon, children: /* @__PURE__ */ n(
|
|
2944
2985
|
"svg",
|
|
2945
2986
|
{
|
|
2946
2987
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2950,7 +2991,7 @@ const Wt = "_button_qraba_7", Ot = "_state_qraba_79", Dt = "_icon_qraba_151", Zt
|
|
|
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
|
{
|
|
@@ -2968,12 +3009,12 @@ const Wt = "_button_qraba_7", Ot = "_state_qraba_79", Dt = "_icon_qraba_151", Zt
|
|
|
2968
3009
|
] })
|
|
2969
3010
|
}
|
|
2970
3011
|
) }),
|
|
2971
|
-
/* @__PURE__ */ n("p", { children:
|
|
3012
|
+
/* @__PURE__ */ n("p", { children: Ae(r) })
|
|
2972
3013
|
] })
|
|
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"
|
|
@@ -2988,7 +3029,7 @@ const Wt = "_button_qraba_7", Ot = "_state_qraba_79", Dt = "_icon_qraba_151", Zt
|
|
|
2988
3029
|
"input",
|
|
2989
3030
|
{
|
|
2990
3031
|
ref: l,
|
|
2991
|
-
className:
|
|
3032
|
+
className: m(
|
|
2992
3033
|
"bg-transparent",
|
|
2993
3034
|
"border-none",
|
|
2994
3035
|
"outline-none",
|
|
@@ -2998,7 +3039,7 @@ const Wt = "_button_qraba_7", Ot = "_state_qraba_79", Dt = "_icon_qraba_151", Zt
|
|
|
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,
|
|
@@ -3028,7 +3069,7 @@ const Wt = "_button_qraba_7", Ot = "_state_qraba_79", Dt = "_icon_qraba_151", Zt
|
|
|
3028
3069
|
)
|
|
3029
3070
|
] }));
|
|
3030
3071
|
We.displayName = "Input";
|
|
3031
|
-
const
|
|
3072
|
+
const Jt = y.forwardRef(({
|
|
3032
3073
|
label: e,
|
|
3033
3074
|
error: r = !1,
|
|
3034
3075
|
className: o,
|
|
@@ -3038,8 +3079,8 @@ const Kt = y.forwardRef(({
|
|
|
3038
3079
|
...a
|
|
3039
3080
|
}, c) => {
|
|
3040
3081
|
const i = y.useId();
|
|
3041
|
-
return /* @__PURE__ */ g("div", { className:
|
|
3042
|
-
/* @__PURE__ */ g("label", { className:
|
|
3082
|
+
return /* @__PURE__ */ g("div", { className: m("flex items-center space-x-2", t && "cursor-not-allowed", r && !t && "cursor-help", o), children: [
|
|
3083
|
+
/* @__PURE__ */ g("label", { className: m("checkbox-container", t && "opacity-50 cursor-not-allowed", r && !t && "cursor-help", !t && !r && "cursor-pointer"), children: [
|
|
3043
3084
|
/* @__PURE__ */ n(
|
|
3044
3085
|
"input",
|
|
3045
3086
|
{
|
|
@@ -3055,12 +3096,12 @@ const Kt = 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",
|
|
3062
3103
|
pathLength: "575.0541381835938",
|
|
3063
|
-
className:
|
|
3104
|
+
className: m("checkbox-path", r && "checkbox-path-error")
|
|
3064
3105
|
}
|
|
3065
3106
|
) })
|
|
3066
3107
|
] }),
|
|
@@ -3068,7 +3109,7 @@ const Kt = y.forwardRef(({
|
|
|
3068
3109
|
"label",
|
|
3069
3110
|
{
|
|
3070
3111
|
htmlFor: i,
|
|
3071
|
-
className:
|
|
3112
|
+
className: m(
|
|
3072
3113
|
"text-sm font-medium select-none",
|
|
3073
3114
|
t ? "text-text-disabled cursor-not-allowed" : r ? "text-text-primary cursor-help" : "text-text-primary cursor-pointer"
|
|
3074
3115
|
),
|
|
@@ -3077,8 +3118,8 @@ const Kt = y.forwardRef(({
|
|
|
3077
3118
|
)
|
|
3078
3119
|
] });
|
|
3079
3120
|
});
|
|
3080
|
-
|
|
3081
|
-
const
|
|
3121
|
+
Jt.displayName = "Checkbox";
|
|
3122
|
+
const Br = ({
|
|
3082
3123
|
label: e,
|
|
3083
3124
|
error: r = !1,
|
|
3084
3125
|
className: o,
|
|
@@ -3088,21 +3129,14 @@ const Tr = ({
|
|
|
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
|
-
return /* @__PURE__ */ g("div", { className:
|
|
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",
|
|
@@ -3119,19 +3153,19 @@ const Tr = ({
|
|
|
3119
3153
|
/* @__PURE__ */ n(
|
|
3120
3154
|
"div",
|
|
3121
3155
|
{
|
|
3122
|
-
className:
|
|
3123
|
-
onKeyDown:
|
|
3156
|
+
className: m("toggle-container", t && "cursor-not-allowed", r && !t && "cursor-help"),
|
|
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(
|
|
3131
3165
|
"label",
|
|
3132
3166
|
{
|
|
3133
3167
|
htmlFor: i,
|
|
3134
|
-
className:
|
|
3168
|
+
className: m(
|
|
3135
3169
|
"text-sm font-medium select-none ml-2",
|
|
3136
3170
|
t ? "text-text-disabled cursor-not-allowed" : r ? "text-text-primary cursor-help" : "text-text-primary cursor-pointer"
|
|
3137
3171
|
),
|
|
@@ -3139,10 +3173,10 @@ const Tr = ({
|
|
|
3139
3173
|
}
|
|
3140
3174
|
)
|
|
3141
3175
|
] });
|
|
3142
|
-
},
|
|
3176
|
+
}, Fr = ({ className: e, ...r }) => /* @__PURE__ */ n(
|
|
3143
3177
|
"div",
|
|
3144
3178
|
{
|
|
3145
|
-
className:
|
|
3179
|
+
className: m(
|
|
3146
3180
|
"card",
|
|
3147
3181
|
"w-full",
|
|
3148
3182
|
"rounded-lg border border-border",
|
|
@@ -3152,60 +3186,81 @@ const Tr = ({
|
|
|
3152
3186
|
),
|
|
3153
3187
|
...r
|
|
3154
3188
|
}
|
|
3155
|
-
),
|
|
3189
|
+
), Gr = ({ className: e, ...r }) => /* @__PURE__ */ n(
|
|
3156
3190
|
"div",
|
|
3157
3191
|
{
|
|
3158
|
-
className:
|
|
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
|
-
className:
|
|
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
|
{
|
|
3188
|
-
className:
|
|
3232
|
+
className: m(
|
|
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,16 +3271,16 @@ const Tr = ({
|
|
|
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
|
-
className:
|
|
3283
|
+
className: m("radio-input", s && "opacity-60 cursor-not-allowed", a),
|
|
3229
3284
|
disabled: s,
|
|
3230
3285
|
...i,
|
|
3231
3286
|
children: [
|
|
@@ -3234,7 +3289,7 @@ const Tr = ({
|
|
|
3234
3289
|
]
|
|
3235
3290
|
}
|
|
3236
3291
|
) });
|
|
3237
|
-
},
|
|
3292
|
+
}, Wr = ({
|
|
3238
3293
|
label: e,
|
|
3239
3294
|
value: r,
|
|
3240
3295
|
disabled: o,
|
|
@@ -3246,50 +3301,50 @@ const Tr = ({
|
|
|
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 ?
|
|
3272
|
-
},
|
|
3326
|
+
return v ? R : /* @__PURE__ */ n("div", { className: "radio-input", children: R });
|
|
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",
|
|
3275
3330
|
left: "right-full top-1/2 -translate-y-1/2 mr-1",
|
|
3276
3331
|
right: "left-full top-1/2 -translate-y-1/2 ml-1"
|
|
3277
|
-
},
|
|
3332
|
+
}, er = {
|
|
3278
3333
|
top: "top-full left-1/2 -translate-x-1/2 -mt-px",
|
|
3279
3334
|
bottom: "bottom-full left-1/2 -translate-x-1/2 -mb-px",
|
|
3280
3335
|
left: "left-full top-1/2 -translate-y-1/2 -ml-px",
|
|
3281
3336
|
right: "right-full top-1/2 -translate-y-1/2 -mr-px"
|
|
3282
|
-
},
|
|
3337
|
+
}, tr = {
|
|
3283
3338
|
top: "border-t-border border-r-transparent border-b-transparent border-l-transparent border-t-[6px] border-r-[6px] border-l-[6px]",
|
|
3284
3339
|
bottom: "border-b-border border-r-transparent border-t-transparent border-l-transparent border-b-[6px] border-r-[6px] border-l-[6px]",
|
|
3285
3340
|
left: "border-l-border border-r-transparent border-t-transparent border-b-transparent border-l-[6px] border-t-[6px] border-b-[6px]",
|
|
3286
3341
|
right: "border-r-border border-l-transparent border-t-transparent border-b-transparent border-r-[6px] border-t-[6px] border-b-[6px]"
|
|
3287
|
-
},
|
|
3342
|
+
}, rr = {
|
|
3288
3343
|
top: "top-full left-1/2 -translate-x-1/2 -mt-[5px]",
|
|
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,67 +3354,73 @@ const Tr = ({
|
|
|
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
|
-
className:
|
|
3339
|
-
"absolute z-50
|
|
3340
|
-
|
|
3397
|
+
className: m(
|
|
3398
|
+
"absolute z-50",
|
|
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
|
-
className:
|
|
3351
|
-
"absolute w-0 h-0",
|
|
3352
|
-
|
|
3353
|
-
|
|
3411
|
+
className: m(
|
|
3412
|
+
"absolute w-0 h-0 pointer-events-none",
|
|
3413
|
+
er[t],
|
|
3414
|
+
tr[t]
|
|
3354
3415
|
)
|
|
3355
3416
|
}
|
|
3356
3417
|
),
|
|
3357
3418
|
/* @__PURE__ */ n(
|
|
3358
3419
|
"span",
|
|
3359
3420
|
{
|
|
3360
|
-
className:
|
|
3361
|
-
"absolute w-0 h-0 bg-surface",
|
|
3362
|
-
|
|
3421
|
+
className: m(
|
|
3422
|
+
"absolute w-0 h-0 bg-surface pointer-events-none",
|
|
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",
|
|
3365
3426
|
t === "left" && "border-l-[5px] border-t-[5px] border-b-[5px] border-l-surface border-t-transparent border-b-transparent",
|
|
@@ -3371,7 +3432,7 @@ const Tr = ({
|
|
|
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 Tr = ({
|
|
|
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,22 +3459,22 @@ const Tr = ({
|
|
|
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(
|
|
3402
|
-
},
|
|
3403
|
-
const e =
|
|
3462
|
+
}, []), /* @__PURE__ */ n(qe.Provider, { value: { theme: t, setTheme: l }, children: e });
|
|
3463
|
+
}, or = () => {
|
|
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
|
}) => {
|
|
3411
|
-
const { theme: o, setTheme: t } =
|
|
3472
|
+
const { theme: o, setTheme: t } = or(), s = o === "dark", l = () => {
|
|
3412
3473
|
t(s ? "light" : "dark");
|
|
3413
3474
|
}, a = (c) => {
|
|
3414
3475
|
(c.key === "Enter" || c.key === " ") && (c.preventDefault(), l());
|
|
3415
3476
|
};
|
|
3416
|
-
return /* @__PURE__ */ g("div", { className:
|
|
3477
|
+
return /* @__PURE__ */ g("div", { className: m("flex items-center gap-3", e), children: [
|
|
3417
3478
|
/* @__PURE__ */ g(
|
|
3418
3479
|
"label",
|
|
3419
3480
|
{
|
|
@@ -3456,55 +3517,54 @@ const Tr = ({
|
|
|
3456
3517
|
),
|
|
3457
3518
|
r && /* @__PURE__ */ n("span", { className: "text-sm font-medium text-text-primary", children: s ? "Dark" : "Light" })
|
|
3458
3519
|
] });
|
|
3459
|
-
},
|
|
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
|
{
|
|
3468
|
-
className:
|
|
3536
|
+
className: m(
|
|
3469
3537
|
"relative flex justify-center items-center",
|
|
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
|
{
|
|
3491
|
-
className:
|
|
3554
|
+
className: m(
|
|
3492
3555
|
"relative bg-surface-tertiary rounded-[24px] p-7 z-[10]",
|
|
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
|
-
className:
|
|
3567
|
+
className: m(
|
|
3508
3568
|
"w-[65px] h-[65px] rounded-[20px] border-2 border-white",
|
|
3509
3569
|
"bg-gradient-to-br from-white/20 to-black/20",
|
|
3510
3570
|
"shadow-[8px_8px_16px_rgba(0,0,0,0.2),-8px_-8px_16px_rgba(255,255,255,0.06)]",
|
|
@@ -3517,51 +3577,60 @@ const Tr = ({
|
|
|
3517
3577
|
/* @__PURE__ */ n("div", { className: "absolute top-[10px] w-[30%] h-[30%] rounded-full border-[2.5px] border-white" })
|
|
3518
3578
|
]
|
|
3519
3579
|
}
|
|
3520
|
-
),
|
|
3580
|
+
), Yr = ({
|
|
3521
3581
|
title: e,
|
|
3522
3582
|
showLogo: r = !1,
|
|
3523
3583
|
footer: o,
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
|
|
3529
|
-
}) => /* @__PURE__ */ n(rr, { width: t, aspectRatio: s, children: /* @__PURE__ */ g(or, { 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:
|
|
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,
|
|
@@ -3569,7 +3638,7 @@ const Tr = ({
|
|
|
3569
3638
|
}) => e === "google" ? /* @__PURE__ */ n(
|
|
3570
3639
|
"button",
|
|
3571
3640
|
{
|
|
3572
|
-
className:
|
|
3641
|
+
className: m(
|
|
3573
3642
|
"w-full h-10 border-none rounded-[20px] text-sm font-semibold cursor-pointer",
|
|
3574
3643
|
"grid place-content-center gap-2.5 bg-surface-secondary text-text-primary",
|
|
3575
3644
|
"transition-all duration-300",
|
|
@@ -3582,38 +3651,38 @@ const Tr = ({
|
|
|
3582
3651
|
children: o
|
|
3583
3652
|
}
|
|
3584
3653
|
) : /* @__PURE__ */ n(
|
|
3585
|
-
|
|
3654
|
+
pe,
|
|
3586
3655
|
{
|
|
3587
3656
|
variant: "primary",
|
|
3588
|
-
className:
|
|
3657
|
+
className: m(
|
|
3589
3658
|
"w-full h-10 rounded-[20px] text-sm font-semibold mt-1.5",
|
|
3590
3659
|
r
|
|
3591
3660
|
),
|
|
3592
3661
|
...t,
|
|
3593
3662
|
children: o
|
|
3594
3663
|
}
|
|
3595
|
-
),
|
|
3664
|
+
), Jr = ({
|
|
3596
3665
|
className: e,
|
|
3597
3666
|
children: r,
|
|
3598
3667
|
...o
|
|
3599
3668
|
}) => /* @__PURE__ */ n(
|
|
3600
3669
|
"div",
|
|
3601
3670
|
{
|
|
3602
|
-
className:
|
|
3671
|
+
className: m(
|
|
3603
3672
|
"w-full text-left text-text-secondary text-xs",
|
|
3604
3673
|
e
|
|
3605
3674
|
),
|
|
3606
3675
|
...o,
|
|
3607
3676
|
children: r
|
|
3608
3677
|
}
|
|
3609
|
-
),
|
|
3678
|
+
), Qr = ({
|
|
3610
3679
|
className: e,
|
|
3611
3680
|
children: r,
|
|
3612
3681
|
...o
|
|
3613
3682
|
}) => /* @__PURE__ */ n(
|
|
3614
3683
|
"a",
|
|
3615
3684
|
{
|
|
3616
|
-
className:
|
|
3685
|
+
className: m(
|
|
3617
3686
|
"relative text-text-secondary font-semibold no-underline transition-colors duration-300 ease-in-out",
|
|
3618
3687
|
"hover:text-white",
|
|
3619
3688
|
'after:content-[""] after:absolute after:left-0 after:bottom-[-2px] after:w-0 after:rounded-md after:h-[1px] after:bg-current after:transition-[width] after:duration-300 after:ease-in-out',
|
|
@@ -3623,35 +3692,31 @@ const Tr = ({
|
|
|
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
|
-
},
|
|
3651
|
-
sm: 200,
|
|
3652
|
-
md: 260,
|
|
3653
|
-
lg: 320
|
|
3654
|
-
}, dr = y.forwardRef(({
|
|
3719
|
+
}, mr = y.forwardRef(({
|
|
3655
3720
|
size: e = "md",
|
|
3656
3721
|
className: r,
|
|
3657
3722
|
inputClassName: o,
|
|
@@ -3659,62 +3724,44 @@ const Tr = ({
|
|
|
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: f(E.container, c.container, r),
|
|
3690
|
-
style: b ? { width: `${b}px`, maxWidth: "100%" } : void 0,
|
|
3691
|
-
children: /* @__PURE__ */ g("div", { className: f(E["search-container"], t), children: [
|
|
3692
|
-
/* @__PURE__ */ n(
|
|
3693
|
-
"input",
|
|
3694
|
-
{
|
|
3695
|
-
ref: a,
|
|
3696
|
-
className: f(E.input, c.input, o),
|
|
3697
|
-
type: "search",
|
|
3698
|
-
placeholder: s,
|
|
3699
|
-
...l
|
|
3700
|
-
}
|
|
3701
|
-
),
|
|
3702
|
-
/* @__PURE__ */ n("svg", { viewBox: "0 0 24 24", className: E.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
|
-
|
|
3709
|
-
const
|
|
3710
|
-
list:
|
|
3711
|
-
listHorizontal:
|
|
3712
|
-
iconContent:
|
|
3713
|
-
tooltip:
|
|
3714
|
-
tooltipHorizontal:
|
|
3715
|
-
link:
|
|
3716
|
-
filled:
|
|
3717
|
-
},
|
|
3755
|
+
mr.displayName = "SearchBar";
|
|
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 = {
|
|
3757
|
+
list: ur,
|
|
3758
|
+
listHorizontal: fr,
|
|
3759
|
+
iconContent: br,
|
|
3760
|
+
tooltip: hr,
|
|
3761
|
+
tooltipHorizontal: xr,
|
|
3762
|
+
link: gr,
|
|
3763
|
+
filled: _r
|
|
3764
|
+
}, wr = (e) => {
|
|
3718
3765
|
switch (e) {
|
|
3719
3766
|
case "linkedin":
|
|
3720
3767
|
return /* @__PURE__ */ n(
|
|
@@ -3791,7 +3838,7 @@ const pr = "_list_hdx8a_1", mr = "_listHorizontal_hdx8a_11", ur = "_iconContent_
|
|
|
3791
3838
|
default:
|
|
3792
3839
|
return null;
|
|
3793
3840
|
}
|
|
3794
|
-
},
|
|
3841
|
+
}, vr = (e) => ({
|
|
3795
3842
|
linkedin: "LinkedIn",
|
|
3796
3843
|
github: "GitHub",
|
|
3797
3844
|
instagram: "Instagram",
|
|
@@ -3801,7 +3848,7 @@ const pr = "_list_hdx8a_1", mr = "_listHorizontal_hdx8a_11", ur = "_iconContent_
|
|
|
3801
3848
|
telegram: "Telegram",
|
|
3802
3849
|
pinterest: "Pinterest",
|
|
3803
3850
|
x: "X"
|
|
3804
|
-
})[e],
|
|
3851
|
+
})[e], yr = y.forwardRef(({
|
|
3805
3852
|
links: e,
|
|
3806
3853
|
className: r,
|
|
3807
3854
|
orientation: o = "vertical",
|
|
@@ -3810,26 +3857,26 @@ const pr = "_list_hdx8a_1", mr = "_listHorizontal_hdx8a_11", ur = "_iconContent_
|
|
|
3810
3857
|
"ul",
|
|
3811
3858
|
{
|
|
3812
3859
|
ref: s,
|
|
3813
|
-
className:
|
|
3814
|
-
|
|
3815
|
-
o === "horizontal" &&
|
|
3860
|
+
className: m(
|
|
3861
|
+
Z.list,
|
|
3862
|
+
o === "horizontal" && Z.listHorizontal,
|
|
3816
3863
|
r
|
|
3817
3864
|
),
|
|
3818
3865
|
...t,
|
|
3819
3866
|
children: e.map((l, a) => {
|
|
3820
|
-
const c = l.label ||
|
|
3821
|
-
return /* @__PURE__ */ g("li", { className:
|
|
3867
|
+
const c = l.label || vr(l.platform), i = wr(l.platform);
|
|
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
|
{
|
|
@@ -3846,51 +3893,51 @@ const pr = "_list_hdx8a_1", mr = "_listHorizontal_hdx8a_11", ur = "_iconContent_
|
|
|
3846
3893
|
]
|
|
3847
3894
|
}
|
|
3848
3895
|
),
|
|
3849
|
-
/* @__PURE__ */ n("div", { className:
|
|
3850
|
-
|
|
3851
|
-
o === "horizontal" &&
|
|
3896
|
+
/* @__PURE__ */ n("div", { className: m(
|
|
3897
|
+
Z.tooltip,
|
|
3898
|
+
o === "horizontal" && Z.tooltipHorizontal
|
|
3852
3899
|
), children: c })
|
|
3853
3900
|
] }, `${l.platform}-${a}`);
|
|
3854
3901
|
})
|
|
3855
3902
|
}
|
|
3856
3903
|
));
|
|
3857
|
-
|
|
3858
|
-
const
|
|
3859
|
-
card:
|
|
3860
|
-
separator:
|
|
3861
|
-
list:
|
|
3862
|
-
element:
|
|
3863
|
-
label:
|
|
3904
|
+
yr.displayName = "SocialLinks";
|
|
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 = {
|
|
3906
|
+
card: kr,
|
|
3907
|
+
separator: Cr,
|
|
3908
|
+
list: zr,
|
|
3909
|
+
element: Nr,
|
|
3910
|
+
label: Mr,
|
|
3864
3911
|
delete: "_delete_tuygu_111",
|
|
3865
|
-
accent:
|
|
3866
|
-
},
|
|
3912
|
+
accent: Sr
|
|
3913
|
+
}, eo = ({
|
|
3867
3914
|
groups: e,
|
|
3868
3915
|
showSeparators: r = !0,
|
|
3869
3916
|
className: o,
|
|
3870
3917
|
...t
|
|
3871
|
-
}) => /* @__PURE__ */ n("div", { className:
|
|
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
|
{
|
|
3875
3922
|
group: s,
|
|
3876
3923
|
isLastGroup: l === e.length - 1
|
|
3877
3924
|
}
|
|
3878
3925
|
),
|
|
3879
|
-
r && l < e.length - 1 && /* @__PURE__ */ n(
|
|
3880
|
-
] }, s.id)) }),
|
|
3926
|
+
r && l < e.length - 1 && /* @__PURE__ */ n(Ir, {})
|
|
3927
|
+
] }, s.id)) }), Lr = ({
|
|
3881
3928
|
group: e,
|
|
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:
|
|
3886
|
-
|
|
3932
|
+
return /* @__PURE__ */ n("ul", { className: m(U.list, o && U.accent), children: e.items.map((t) => /* @__PURE__ */ n(
|
|
3933
|
+
Ar,
|
|
3887
3934
|
{
|
|
3888
3935
|
item: t,
|
|
3889
3936
|
isAccentGroup: o
|
|
3890
3937
|
},
|
|
3891
3938
|
t.id
|
|
3892
3939
|
)) });
|
|
3893
|
-
},
|
|
3940
|
+
}, Ar = ({
|
|
3894
3941
|
item: e,
|
|
3895
3942
|
isAccentGroup: r
|
|
3896
3943
|
}) => {
|
|
@@ -3904,9 +3951,9 @@ const vr = "_card_tuygu_1", yr = "_separator_tuygu_33", kr = "_list_tuygu_41", C
|
|
|
3904
3951
|
return /* @__PURE__ */ g(
|
|
3905
3952
|
"li",
|
|
3906
3953
|
{
|
|
3907
|
-
className:
|
|
3908
|
-
|
|
3909
|
-
t &&
|
|
3954
|
+
className: m(
|
|
3955
|
+
U.element,
|
|
3956
|
+
t && U.delete
|
|
3910
3957
|
),
|
|
3911
3958
|
onClick: s,
|
|
3912
3959
|
style: {
|
|
@@ -3915,38 +3962,326 @@ const vr = "_card_tuygu_1", yr = "_separator_tuygu_33", kr = "_list_tuygu_41", C
|
|
|
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
|
-
},
|
|
3969
|
+
}, Ir = () => /* @__PURE__ */ n("div", { className: U.separator }), to = ({
|
|
3970
|
+
title: e,
|
|
3971
|
+
description: r,
|
|
3972
|
+
privacyLink: o,
|
|
3973
|
+
privacyLinkText: t,
|
|
3974
|
+
acceptLabel: s,
|
|
3975
|
+
optionsLabel: l,
|
|
3976
|
+
onAccept: a,
|
|
3977
|
+
onOptions: c,
|
|
3978
|
+
storageKey: i,
|
|
3979
|
+
storageValue: u,
|
|
3980
|
+
icon: h,
|
|
3981
|
+
className: _,
|
|
3982
|
+
privacyLinkTarget: w,
|
|
3983
|
+
privacyLinkRel: N,
|
|
3984
|
+
iconClassName: v,
|
|
3985
|
+
contentClassName: z,
|
|
3986
|
+
acceptButtonClassName: k,
|
|
3987
|
+
optionsButtonClassName: C
|
|
3988
|
+
}) => {
|
|
3989
|
+
const [L, V] = ie(() => typeof window < "u" ? !localStorage.getItem(i) : !1);
|
|
3990
|
+
ce(() => {
|
|
3991
|
+
const M = localStorage.getItem(i);
|
|
3992
|
+
V(!M);
|
|
3993
|
+
}, [i]);
|
|
3994
|
+
const R = () => {
|
|
3995
|
+
localStorage.setItem(i, u), V(!1), a();
|
|
3996
|
+
};
|
|
3997
|
+
return L ? /* @__PURE__ */ n(
|
|
3998
|
+
"article",
|
|
3999
|
+
{
|
|
4000
|
+
className: m(
|
|
4001
|
+
"w-4/5 max-w-[300px] h-auto rounded-2xl",
|
|
4002
|
+
"bg-white dark:bg-surface-secondary",
|
|
4003
|
+
"shadow-[rgba(60,64,67,0.3)_0_1px_2px_0,rgba(60,64,67,0.15)_0_2px_6px_2px]",
|
|
4004
|
+
"dark:shadow-[rgba(0,0,0,0.3)_0_1px_2px_0,rgba(0,0,0,0.15)_0_2px_6px_2px]",
|
|
4005
|
+
_
|
|
4006
|
+
),
|
|
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 }),
|
|
4009
|
+
/* @__PURE__ */ n("h5", { className: "text-sm font-semibold mb-2 text-left mr-auto text-zinc-700 dark:text-text-primary", children: e }),
|
|
4010
|
+
/* @__PURE__ */ n("p", { className: "w-full mb-4 text-sm text-justify text-zinc-600 dark:text-text-secondary", children: r }),
|
|
4011
|
+
/* @__PURE__ */ n("p", { className: "w-full mb-4 text-sm text-justify text-zinc-600 dark:text-text-secondary", children: /* @__PURE__ */ n(
|
|
4012
|
+
"a",
|
|
4013
|
+
{
|
|
4014
|
+
href: o,
|
|
4015
|
+
className: "mb-2 text-sm cursor-pointer font-semibold transition-colors underline underline-offset-2 text-zinc-700 dark:text-text-primary",
|
|
4016
|
+
target: w,
|
|
4017
|
+
rel: N,
|
|
4018
|
+
children: t
|
|
4019
|
+
}
|
|
4020
|
+
) }),
|
|
4021
|
+
/* @__PURE__ */ n(
|
|
4022
|
+
"button",
|
|
4023
|
+
{
|
|
4024
|
+
type: "button",
|
|
4025
|
+
onClick: c,
|
|
4026
|
+
className: m(
|
|
4027
|
+
"mb-2 text-sm mr-auto text-zinc-600 dark:text-text-secondary",
|
|
4028
|
+
"cursor-pointer font-semibold transition-colors",
|
|
4029
|
+
"hover:text-[#634647] dark:hover:text-[#ddad81]",
|
|
4030
|
+
"hover:underline underline-offset-2",
|
|
4031
|
+
"focus-visible:outline-2 focus-visible:outline-offset-2",
|
|
4032
|
+
"focus-visible:outline-[#634647] dark:focus-visible:outline-[#ddad81]",
|
|
4033
|
+
C
|
|
4034
|
+
),
|
|
4035
|
+
children: l
|
|
4036
|
+
}
|
|
4037
|
+
),
|
|
4038
|
+
/* @__PURE__ */ n(
|
|
4039
|
+
"button",
|
|
4040
|
+
{
|
|
4041
|
+
type: "button",
|
|
4042
|
+
onClick: R,
|
|
4043
|
+
className: m(
|
|
4044
|
+
"absolute font-semibold right-6 bottom-6",
|
|
4045
|
+
"cursor-pointer py-2 px-8 w-max break-keep",
|
|
4046
|
+
"text-sm rounded-lg transition-colors",
|
|
4047
|
+
"text-[#634647] hover:text-[#ddad81]",
|
|
4048
|
+
"bg-[#ddad81] hover:bg-[#634647]",
|
|
4049
|
+
"dark:text-white dark:bg-[#634647]",
|
|
4050
|
+
"dark:hover:bg-[#ddad81] dark:hover:text-[#634647]",
|
|
4051
|
+
"focus-visible:outline-2 focus-visible:outline-offset-2",
|
|
4052
|
+
"focus-visible:outline-[#634647] dark:focus-visible:outline-[#ddad81]",
|
|
4053
|
+
k
|
|
4054
|
+
),
|
|
4055
|
+
children: s
|
|
4056
|
+
}
|
|
4057
|
+
)
|
|
4058
|
+
] })
|
|
4059
|
+
}
|
|
4060
|
+
) : null;
|
|
4061
|
+
}, Ye = {
|
|
4062
|
+
neutral: {
|
|
4063
|
+
icon: "text-zinc-600 dark:text-zinc-400",
|
|
4064
|
+
buttonVariant: "primary"
|
|
4065
|
+
},
|
|
4066
|
+
danger: {
|
|
4067
|
+
icon: "text-red-600 dark:text-red-400",
|
|
4068
|
+
buttonVariant: "danger"
|
|
4069
|
+
},
|
|
4070
|
+
warning: {
|
|
4071
|
+
icon: "text-yellow-600 dark:text-yellow-400",
|
|
4072
|
+
buttonVariant: "secondary"
|
|
4073
|
+
},
|
|
4074
|
+
info: {
|
|
4075
|
+
icon: "text-blue-600 dark:text-blue-400",
|
|
4076
|
+
buttonVariant: "primary"
|
|
4077
|
+
}
|
|
4078
|
+
}, Ke = y.forwardRef(({ className: e, children: r, role: o, "aria-modal": t, "aria-labelledby": s, "aria-describedby": l }, a) => /* @__PURE__ */ n(
|
|
4079
|
+
"div",
|
|
4080
|
+
{
|
|
4081
|
+
ref: a,
|
|
4082
|
+
role: o,
|
|
4083
|
+
"aria-modal": t,
|
|
4084
|
+
"aria-labelledby": s,
|
|
4085
|
+
"aria-describedby": l,
|
|
4086
|
+
className: m(
|
|
4087
|
+
"w-full max-w-md",
|
|
4088
|
+
"bg-white dark:bg-surface-secondary",
|
|
4089
|
+
"rounded-lg",
|
|
4090
|
+
"shadow-[2px_2px_20px_rgba(0,0,0,0.062)] dark:shadow-[rgba(0,0,0,0.3)_0_1px_2px_0,rgba(0,0,0,0.15)_0_2px_6px_2px]",
|
|
4091
|
+
"p-6",
|
|
4092
|
+
"flex flex-col items-center",
|
|
4093
|
+
"gap-4",
|
|
4094
|
+
"relative",
|
|
4095
|
+
"overflow-hidden",
|
|
4096
|
+
"transform transition-all duration-200",
|
|
4097
|
+
e
|
|
4098
|
+
),
|
|
4099
|
+
children: r
|
|
4100
|
+
}
|
|
4101
|
+
));
|
|
4102
|
+
Ke.displayName = "ConfirmModalCard";
|
|
4103
|
+
const Rr = ({
|
|
4104
|
+
className: e,
|
|
4105
|
+
children: r
|
|
4106
|
+
}) => /* @__PURE__ */ n("div", { className: m("flex items-center justify-center mb-2", e), children: r }), Tr = ({
|
|
4107
|
+
confirmLabel: e,
|
|
4108
|
+
cancelLabel: r,
|
|
4109
|
+
variant: o,
|
|
4110
|
+
onConfirm: t,
|
|
4111
|
+
onCancel: s,
|
|
4112
|
+
confirmButtonClassName: l,
|
|
4113
|
+
cancelButtonClassName: a
|
|
4114
|
+
}) => {
|
|
4115
|
+
const c = Ye[o];
|
|
4116
|
+
return /* @__PURE__ */ g("div", { className: "flex gap-4 flex-row w-full justify-center mt-2", children: [
|
|
4117
|
+
/* @__PURE__ */ n(
|
|
4118
|
+
pe,
|
|
4119
|
+
{
|
|
4120
|
+
type: "button",
|
|
4121
|
+
variant: "ghost",
|
|
4122
|
+
size: "sm",
|
|
4123
|
+
onClick: s,
|
|
4124
|
+
className: a,
|
|
4125
|
+
children: r
|
|
4126
|
+
}
|
|
4127
|
+
),
|
|
4128
|
+
/* @__PURE__ */ n(
|
|
4129
|
+
pe,
|
|
4130
|
+
{
|
|
4131
|
+
type: "button",
|
|
4132
|
+
variant: c.buttonVariant,
|
|
4133
|
+
size: "sm",
|
|
4134
|
+
onClick: t,
|
|
4135
|
+
className: l,
|
|
4136
|
+
children: e
|
|
4137
|
+
}
|
|
4138
|
+
)
|
|
4139
|
+
] });
|
|
4140
|
+
}, ro = ({
|
|
4141
|
+
isOpen: e,
|
|
4142
|
+
title: r,
|
|
4143
|
+
description: o,
|
|
4144
|
+
icon: t,
|
|
4145
|
+
confirmLabel: s,
|
|
4146
|
+
cancelLabel: l,
|
|
4147
|
+
variant: a = "neutral",
|
|
4148
|
+
onConfirm: c,
|
|
4149
|
+
onCancel: i,
|
|
4150
|
+
onClose: u,
|
|
4151
|
+
className: h,
|
|
4152
|
+
iconClassName: _,
|
|
4153
|
+
contentClassName: w,
|
|
4154
|
+
confirmButtonClassName: N,
|
|
4155
|
+
cancelButtonClassName: v
|
|
4156
|
+
}) => {
|
|
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(() => {
|
|
4161
|
+
if (!e) return;
|
|
4162
|
+
const M = z.current;
|
|
4163
|
+
if (!M) return;
|
|
4164
|
+
const I = Array.from(
|
|
4165
|
+
M.querySelectorAll(
|
|
4166
|
+
'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'
|
|
4167
|
+
)
|
|
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();
|
|
4178
|
+
return;
|
|
4179
|
+
}
|
|
4180
|
+
T.shiftKey ? document.activeElement === F && (T.preventDefault(), b?.focus()) : document.activeElement === b && (T.preventDefault(), F?.focus());
|
|
4181
|
+
}
|
|
4182
|
+
}, J = (T) => {
|
|
4183
|
+
M && !M.contains(T.target) && (T.preventDefault(), F?.focus());
|
|
4184
|
+
};
|
|
4185
|
+
return document.addEventListener("keydown", B), document.addEventListener("focusin", J), () => {
|
|
4186
|
+
document.removeEventListener("keydown", B), document.removeEventListener("focusin", J);
|
|
4187
|
+
};
|
|
4188
|
+
}, [e, u]);
|
|
4189
|
+
const V = Ie((M) => {
|
|
4190
|
+
M.target === M.currentTarget && u();
|
|
4191
|
+
}, [u]);
|
|
4192
|
+
if (!e)
|
|
4193
|
+
return null;
|
|
4194
|
+
const R = Ye[a];
|
|
4195
|
+
return /* @__PURE__ */ n(
|
|
4196
|
+
"div",
|
|
4197
|
+
{
|
|
4198
|
+
className: m(
|
|
4199
|
+
"fixed inset-0 z-50",
|
|
4200
|
+
"flex items-center justify-center",
|
|
4201
|
+
"p-4",
|
|
4202
|
+
"bg-black/20 dark:bg-black/40",
|
|
4203
|
+
"transition-opacity duration-200",
|
|
4204
|
+
h
|
|
4205
|
+
),
|
|
4206
|
+
onClick: V,
|
|
4207
|
+
role: "presentation",
|
|
4208
|
+
children: /* @__PURE__ */ g(
|
|
4209
|
+
Ke,
|
|
4210
|
+
{
|
|
4211
|
+
ref: z,
|
|
4212
|
+
role: "dialog",
|
|
4213
|
+
"aria-modal": !0,
|
|
4214
|
+
"aria-labelledby": C,
|
|
4215
|
+
"aria-describedby": L,
|
|
4216
|
+
className: "transform transition-all duration-200 scale-100",
|
|
4217
|
+
children: [
|
|
4218
|
+
t && /* @__PURE__ */ n(Rr, { className: m(R.icon, _), children: t }),
|
|
4219
|
+
/* @__PURE__ */ g("div", { className: m("flex flex-col items-center text-center gap-2 w-full", w), children: [
|
|
4220
|
+
/* @__PURE__ */ n(
|
|
4221
|
+
"h2",
|
|
4222
|
+
{
|
|
4223
|
+
id: C,
|
|
4224
|
+
className: "text-lg font-bold text-zinc-900 dark:text-text-primary",
|
|
4225
|
+
children: r
|
|
4226
|
+
}
|
|
4227
|
+
),
|
|
4228
|
+
/* @__PURE__ */ n(
|
|
4229
|
+
"p",
|
|
4230
|
+
{
|
|
4231
|
+
id: L,
|
|
4232
|
+
className: "text-sm font-semibold text-zinc-600 dark:text-text-secondary whitespace-pre-line",
|
|
4233
|
+
children: o
|
|
4234
|
+
}
|
|
4235
|
+
)
|
|
4236
|
+
] }),
|
|
4237
|
+
/* @__PURE__ */ n(
|
|
4238
|
+
Tr,
|
|
4239
|
+
{
|
|
4240
|
+
confirmLabel: s,
|
|
4241
|
+
cancelLabel: l,
|
|
4242
|
+
variant: a,
|
|
4243
|
+
onConfirm: c,
|
|
4244
|
+
onCancel: i,
|
|
4245
|
+
confirmButtonClassName: N,
|
|
4246
|
+
cancelButtonClassName: v
|
|
4247
|
+
}
|
|
4248
|
+
)
|
|
4249
|
+
]
|
|
4250
|
+
}
|
|
4251
|
+
)
|
|
4252
|
+
}
|
|
4253
|
+
);
|
|
4254
|
+
};
|
|
3923
4255
|
export {
|
|
3924
|
-
|
|
3925
|
-
|
|
3926
|
-
|
|
3927
|
-
|
|
3928
|
-
|
|
3929
|
-
|
|
3930
|
-
|
|
3931
|
-
|
|
3932
|
-
|
|
3933
|
-
|
|
3934
|
-
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
|
-
|
|
3938
|
-
|
|
4256
|
+
pe as Button,
|
|
4257
|
+
Fr as Card,
|
|
4258
|
+
Pr as CardContent,
|
|
4259
|
+
$r as CardFooter,
|
|
4260
|
+
Gr as CardHeader,
|
|
4261
|
+
Jt as Checkbox,
|
|
4262
|
+
ro as ConfirmModal,
|
|
4263
|
+
eo as ContextMenu,
|
|
4264
|
+
Lr as ContextMenuGroup,
|
|
4265
|
+
Ar as ContextMenuItem,
|
|
4266
|
+
Ir as ContextMenuSeparator,
|
|
4267
|
+
to as CookieConsent,
|
|
4268
|
+
Yr as Form,
|
|
4269
|
+
Xr as FormButton,
|
|
4270
|
+
Kr as FormField,
|
|
4271
|
+
Jr as FormFooter,
|
|
4272
|
+
Qr as FormFooterLink,
|
|
3939
4273
|
We as Input,
|
|
3940
|
-
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
|
|
3946
|
-
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
|
|
3950
|
-
|
|
3951
|
-
|
|
4274
|
+
Hr as Loader,
|
|
4275
|
+
Wr as RadioButton,
|
|
4276
|
+
Or as RadioGroup,
|
|
4277
|
+
mr as SearchBar,
|
|
4278
|
+
yr as SocialLinks,
|
|
4279
|
+
Dr as Spinner,
|
|
4280
|
+
jr as SubmitButton,
|
|
4281
|
+
Ur as ThemeProvider,
|
|
4282
|
+
qr as ThemeSwitch,
|
|
4283
|
+
Br as Toggle,
|
|
4284
|
+
Zr as Tooltip,
|
|
4285
|
+
or as useTheme
|
|
3952
4286
|
};
|
|
4287
|
+
//# sourceMappingURL=index.mjs.map
|