@possibly6400/ui-kit 1.0.13 → 1.0.14
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 +66 -14
- package/dist/index.js +1 -1
- package/dist/index.mjs +811 -532
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,126 +1,126 @@
|
|
|
1
|
-
import { jsxs as g, jsx as n, Fragment as
|
|
2
|
-
import y, { useState as
|
|
3
|
-
function
|
|
1
|
+
import { jsxs as g, jsx as n, Fragment as Xe } from "react/jsx-runtime";
|
|
2
|
+
import y, { useState as ce, useId as Ke, useRef as X, createContext as Je, useContext as Qe, useEffect as he } from "react";
|
|
3
|
+
function Ie(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 = Ie(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 = Ie(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
|
+
}), Re = (e = /* @__PURE__ */ new Map(), r = null, o) => ({
|
|
27
27
|
nextPart: e,
|
|
28
28
|
validators: r,
|
|
29
29
|
classGroupId: o
|
|
30
|
-
}),
|
|
31
|
-
const r =
|
|
30
|
+
}), le = "-", 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(le), 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(le) : e.slice(r).join(le), i = a.length;
|
|
62
62
|
for (let u = 0; u < i; u++) {
|
|
63
63
|
const b = a[u];
|
|
64
64
|
if (b.validator(c))
|
|
65
65
|
return b.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 = Re();
|
|
78
78
|
for (const t in e) {
|
|
79
79
|
const s = e[t];
|
|
80
|
-
|
|
80
|
+
xe(s, o, t, r);
|
|
81
81
|
}
|
|
82
82
|
return o;
|
|
83
|
-
},
|
|
83
|
+
}, xe = (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 : Te(r, e);
|
|
101
101
|
t.classGroupId = o;
|
|
102
|
-
},
|
|
103
|
-
if (
|
|
104
|
-
|
|
102
|
+
}, dt = (e, r, o, t) => {
|
|
103
|
+
if (mt(e)) {
|
|
104
|
+
xe(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
|
+
xe(i, Te(r, c), o, t);
|
|
113
113
|
}
|
|
114
|
-
},
|
|
114
|
+
}, Te = (e, r) => {
|
|
115
115
|
let o = e;
|
|
116
|
-
const t = r.split(
|
|
116
|
+
const t = r.split(le), 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 = Re(), 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
|
+
}, be = "!", 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
|
|
@@ -159,35 +159,35 @@ const Qe = (e, r) => {
|
|
|
159
159
|
const l = [];
|
|
160
160
|
let a = 0, c = 0, i = 0, u;
|
|
161
161
|
const b = s.length;
|
|
162
|
-
for (let
|
|
163
|
-
const
|
|
162
|
+
for (let C = 0; C < b; C++) {
|
|
163
|
+
const z = s[C];
|
|
164
164
|
if (a === 0 && c === 0) {
|
|
165
|
-
if (
|
|
166
|
-
l.push(s.slice(i,
|
|
165
|
+
if (z === Ne) {
|
|
166
|
+
l.push(s.slice(i, C)), i = C + 1;
|
|
167
167
|
continue;
|
|
168
168
|
}
|
|
169
|
-
if (
|
|
170
|
-
u =
|
|
169
|
+
if (z === "/") {
|
|
170
|
+
u = C;
|
|
171
171
|
continue;
|
|
172
172
|
}
|
|
173
173
|
}
|
|
174
|
-
|
|
174
|
+
z === "[" ? a++ : z === "]" ? a-- : z === "(" ? c++ : z === ")" && c--;
|
|
175
175
|
}
|
|
176
176
|
const _ = l.length === 0 ? s : s.slice(i);
|
|
177
|
-
let w = _,
|
|
178
|
-
_.endsWith(
|
|
177
|
+
let w = _, k = !1;
|
|
178
|
+
_.endsWith(be) ? (w = _.slice(0, -1), k = !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(be) && (w = _.slice(1), k = !0)
|
|
184
184
|
);
|
|
185
185
|
const v = u && u > i ? u - i : void 0;
|
|
186
|
-
return
|
|
186
|
+
return Me(l, k, 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
227
|
const b = c[u], {
|
|
228
228
|
isExternal: _,
|
|
229
229
|
modifiers: w,
|
|
230
|
-
hasImportantModifier:
|
|
230
|
+
hasImportantModifier: k,
|
|
231
231
|
baseClassName: v,
|
|
232
|
-
maybePostfixModifierPosition:
|
|
232
|
+
maybePostfixModifierPosition: C
|
|
233
233
|
} = o(b);
|
|
234
234
|
if (_) {
|
|
235
235
|
i = b + (i.length > 0 ? " " + i : i);
|
|
236
236
|
continue;
|
|
237
237
|
}
|
|
238
|
-
let
|
|
239
|
-
if (!
|
|
240
|
-
if (!
|
|
238
|
+
let z = !!C, I = t(z ? v.substring(0, C) : v);
|
|
239
|
+
if (!I) {
|
|
240
|
+
if (!z) {
|
|
241
241
|
i = b + (i.length > 0 ? " " + i : i);
|
|
242
242
|
continue;
|
|
243
243
|
}
|
|
244
|
-
if (
|
|
244
|
+
if (I = t(v), !I) {
|
|
245
245
|
i = b + (i.length > 0 ? " " + i : i);
|
|
246
246
|
continue;
|
|
247
247
|
}
|
|
248
|
-
|
|
248
|
+
z = !1;
|
|
249
249
|
}
|
|
250
|
-
const
|
|
251
|
-
if (a.indexOf(
|
|
250
|
+
const E = w.length === 0 ? "" : w.length === 1 ? w[0] : l(w).join(":"), T = k ? E + be : E, S = T + I;
|
|
251
|
+
if (a.indexOf(S) > -1)
|
|
252
252
|
continue;
|
|
253
|
-
a.push(
|
|
254
|
-
const
|
|
255
|
-
for (let A = 0; A <
|
|
256
|
-
const
|
|
257
|
-
a.push(
|
|
253
|
+
a.push(S);
|
|
254
|
+
const L = s(I, z);
|
|
255
|
+
for (let A = 0; A < L.length; ++A) {
|
|
256
|
+
const H = L[A];
|
|
257
|
+
a.push(T + H);
|
|
258
258
|
}
|
|
259
259
|
i = b + (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 = Ve(o)) && (s && (s += " "), s += t);
|
|
266
266
|
return s;
|
|
267
|
-
},
|
|
267
|
+
}, Ve = (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 = Ve(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
277
|
const u = r.reduce((b, _) => _(b), e());
|
|
278
|
-
return o =
|
|
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 b =
|
|
283
|
+
const b = _t(i, o);
|
|
284
284
|
return s(i, b), b;
|
|
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 = [], N = (e) => {
|
|
288
|
+
const r = (o) => o[e] || yt;
|
|
289
289
|
return r.isThemeGetter = !0, r;
|
|
290
|
-
},
|
|
290
|
+
}, je = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Pe = /^\((?:(\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)), W = (e) => !!e && Number.isInteger(Number(e)), ue = (e) => e.endsWith("%") && x(e.slice(0, -1)), $ = (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), Et = (e) => !d(e) && !p(e), Tt = (e) => K(e, $e, Ge), d = (e) => je.test(e), O = (e) => K(e, He, At), fe = (e) => K(e, Bt, x), Se = (e) => K(e, Be, Ge), Vt = (e) => K(e, Fe, Rt), se = (e) => K(e, We, It), p = (e) => Pe.test(e), Q = (e) => J(e, He), jt = (e) => J(e, Ft), Le = (e) => J(e, Be), Pt = (e) => J(e, $e), Gt = (e) => J(e, Fe), ae = (e) => J(e, We, !0), K = (e, r, o) => {
|
|
296
|
+
const t = je.exec(e);
|
|
297
297
|
return t ? t[1] ? r(t[1]) : o(t[2]) : !1;
|
|
298
|
-
},
|
|
298
|
+
}, J = (e, r, o = !1) => {
|
|
299
299
|
const t = Pe.exec(e);
|
|
300
300
|
return t ? t[1] ? r(t[1]) : o : !1;
|
|
301
|
-
},
|
|
302
|
-
const e =
|
|
301
|
+
}, Be = (e) => e === "position" || e === "percentage", Fe = (e) => e === "image" || e === "url", $e = (e) => e === "length" || e === "size" || e === "bg-size", He = (e) => e === "length", Bt = (e) => e === "number", Ft = (e) => e === "family-name", We = (e) => e === "shadow", $t = () => {
|
|
302
|
+
const e = N("color"), r = N("font"), o = N("text"), t = N("font-weight"), s = N("tracking"), l = N("leading"), a = N("breakpoint"), c = N("container"), i = N("spacing"), u = N("radius"), b = N("shadow"), _ = N("inset-shadow"), w = N("text-shadow"), k = N("drop-shadow"), v = N("blur"), C = N("perspective"), z = N("aspect"), I = N("ease"), E = N("animate"), T = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], S = () => [
|
|
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
|
+
], L = () => [...S(), p, d], A = () => ["auto", "hidden", "clip", "visible", "scroll"], H = () => ["auto", "contain", "none"], h = () => [p, d, i], P = () => [Y, "full", "auto", ...h()], V = () => [W, "none", "subgrid", p, d], ge = () => ["auto", {
|
|
321
|
+
span: ["full", W, p, d]
|
|
322
|
+
}, W, p, d], ee = () => [W, "auto", p, d], _e = () => ["auto", "min", "max", "fr", p, d], de = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], U = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], F = () => ["auto", ...h()], D = () => [Y, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...h()], f = () => [e, p, d], we = () => [...S(), 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", Pt, Tt, {
|
|
327
327
|
size: [p, d]
|
|
328
|
-
}],
|
|
328
|
+
}], pe = () => [ue, Q, O], R = () => [
|
|
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, O], te = () => ["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"], M = () => [x, ue, 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
|
+
], re = () => ["none", x, p, d], oe = () => ["none", x, p, d], me = () => [x, p, d], ne = () => [Y, "full", ...h()];
|
|
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: [$],
|
|
350
|
+
breakpoint: [$],
|
|
351
|
+
color: [Lt],
|
|
352
|
+
container: [$],
|
|
353
|
+
"drop-shadow": [$],
|
|
354
354
|
ease: ["in", "out", "in-out"],
|
|
355
|
-
font: [
|
|
355
|
+
font: [Et],
|
|
356
356
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
357
|
-
"inset-shadow": [
|
|
357
|
+
"inset-shadow": [$],
|
|
358
358
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
359
359
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
360
|
-
radius: [
|
|
361
|
-
shadow: [
|
|
360
|
+
radius: [$],
|
|
361
|
+
shadow: [$],
|
|
362
362
|
spacing: ["px", x],
|
|
363
|
-
text: [
|
|
364
|
-
"text-shadow": [
|
|
363
|
+
text: [$],
|
|
364
|
+
"text-shadow": [$],
|
|
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, z]
|
|
377
377
|
}],
|
|
378
378
|
/**
|
|
379
379
|
* Container
|
|
@@ -393,14 +393,14 @@ const Qe = (e, r) => {
|
|
|
393
393
|
* @see https://tailwindcss.com/docs/break-after
|
|
394
394
|
*/
|
|
395
395
|
"break-after": [{
|
|
396
|
-
"break-after":
|
|
396
|
+
"break-after": T()
|
|
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": T()
|
|
404
404
|
}],
|
|
405
405
|
/**
|
|
406
406
|
* Break Inside
|
|
@@ -464,7 +464,7 @@ const Qe = (e, r) => {
|
|
|
464
464
|
* @see https://tailwindcss.com/docs/object-position
|
|
465
465
|
*/
|
|
466
466
|
"object-position": [{
|
|
467
|
-
object:
|
|
467
|
+
object: L()
|
|
468
468
|
}],
|
|
469
469
|
/**
|
|
470
470
|
* Overflow
|
|
@@ -492,21 +492,21 @@ const Qe = (e, r) => {
|
|
|
492
492
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
493
493
|
*/
|
|
494
494
|
overscroll: [{
|
|
495
|
-
overscroll:
|
|
495
|
+
overscroll: H()
|
|
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": H()
|
|
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": H()
|
|
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: P()
|
|
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": P()
|
|
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": P()
|
|
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: P()
|
|
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: P()
|
|
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: P()
|
|
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: P()
|
|
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: P()
|
|
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: P()
|
|
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: [W, "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, ...h()]
|
|
600
600
|
}],
|
|
601
601
|
/**
|
|
602
602
|
* Flex Direction
|
|
@@ -617,7 +617,7 @@ const Qe = (e, r) => {
|
|
|
617
617
|
* @see https://tailwindcss.com/docs/flex
|
|
618
618
|
*/
|
|
619
619
|
flex: [{
|
|
620
|
-
flex: [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: [W, "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": V()
|
|
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: ge()
|
|
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": ee()
|
|
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": ee()
|
|
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": V()
|
|
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: ge()
|
|
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": ee()
|
|
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": ee()
|
|
698
698
|
}],
|
|
699
699
|
/**
|
|
700
700
|
* Grid Auto Flow
|
|
@@ -708,14 +708,14 @@ const Qe = (e, r) => {
|
|
|
708
708
|
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
709
709
|
*/
|
|
710
710
|
"auto-cols": [{
|
|
711
|
-
"auto-cols":
|
|
711
|
+
"auto-cols": _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
|
|
@@ -743,35 +743,35 @@ const Qe = (e, r) => {
|
|
|
743
743
|
* @see https://tailwindcss.com/docs/justify-content
|
|
744
744
|
*/
|
|
745
745
|
"justify-content": [{
|
|
746
|
-
justify: [...
|
|
746
|
+
justify: [...de(), "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": [...U(), "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", ...U()]
|
|
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", ...de()]
|
|
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: [...U(), {
|
|
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", ...U(), {
|
|
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": de()
|
|
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": [...U(), "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", ...U()]
|
|
807
807
|
}],
|
|
808
808
|
// Spacing
|
|
809
809
|
/**
|
|
@@ -874,63 +874,63 @@ const Qe = (e, r) => {
|
|
|
874
874
|
* @see https://tailwindcss.com/docs/margin
|
|
875
875
|
*/
|
|
876
876
|
m: [{
|
|
877
|
-
m:
|
|
877
|
+
m: F()
|
|
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: F()
|
|
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: F()
|
|
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: F()
|
|
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: F()
|
|
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: F()
|
|
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: F()
|
|
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: F()
|
|
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: F()
|
|
934
934
|
}],
|
|
935
935
|
/**
|
|
936
936
|
* Space Between X
|
|
@@ -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: D()
|
|
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", ...D()]
|
|
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
|
+
...D()
|
|
987
987
|
]
|
|
988
988
|
}],
|
|
989
989
|
/**
|
|
@@ -1001,7 +1001,7 @@ const Qe = (e, r) => {
|
|
|
1001
1001
|
{
|
|
1002
1002
|
screen: [a]
|
|
1003
1003
|
},
|
|
1004
|
-
...
|
|
1004
|
+
...D()
|
|
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", ...D()]
|
|
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", ...D()]
|
|
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", ...D()]
|
|
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, O]
|
|
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, fe]
|
|
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", ue, 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, fe]
|
|
1112
1112
|
}],
|
|
1113
1113
|
/**
|
|
1114
1114
|
* Line Height
|
|
@@ -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,21 +1174,21 @@ 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: [...te(), "wavy"]
|
|
1178
1178
|
}],
|
|
1179
1179
|
/**
|
|
1180
1180
|
* Text Decoration Thickness
|
|
1181
1181
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1182
1182
|
*/
|
|
1183
1183
|
"text-decoration-thickness": [{
|
|
1184
|
-
decoration: [x, "from-font", "auto", p,
|
|
1184
|
+
decoration: [x, "from-font", "auto", p, O]
|
|
1185
1185
|
}],
|
|
1186
1186
|
/**
|
|
1187
1187
|
* Text Decoration Color
|
|
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
|
|
@@ -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
|
+
}, W, p, d],
|
|
1320
1320
|
radial: ["", p, d],
|
|
1321
|
-
conic: [
|
|
1322
|
-
}, Gt,
|
|
1321
|
+
conic: [W, p, d]
|
|
1322
|
+
}, Gt, 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: pe()
|
|
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: pe()
|
|
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: pe()
|
|
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: R()
|
|
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": R()
|
|
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": R()
|
|
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": R()
|
|
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": R()
|
|
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": R()
|
|
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": R()
|
|
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": R()
|
|
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": R()
|
|
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": R()
|
|
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": R()
|
|
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": R()
|
|
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": R()
|
|
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": R()
|
|
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": R()
|
|
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: [...te(), "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: [...te(), "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: [...te(), "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, O]
|
|
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 ---
|
|
@@ -1690,8 +1690,8 @@ const Qe = (e, r) => {
|
|
|
1690
1690
|
"",
|
|
1691
1691
|
"none",
|
|
1692
1692
|
b,
|
|
1693
|
-
|
|
1694
|
-
|
|
1693
|
+
ae,
|
|
1694
|
+
se
|
|
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", _, ae, se]
|
|
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
|
|
@@ -1743,7 +1743,7 @@ const Qe = (e, r) => {
|
|
|
1743
1743
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
1744
1744
|
*/
|
|
1745
1745
|
"ring-offset-w": [{
|
|
1746
|
-
"ring-offset": [x,
|
|
1746
|
+
"ring-offset": [x, O]
|
|
1747
1747
|
}],
|
|
1748
1748
|
/**
|
|
1749
1749
|
* Ring Offset Color
|
|
@@ -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, ae, se]
|
|
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": M()
|
|
1829
1829
|
}],
|
|
1830
1830
|
"mask-image-linear-to-pos": [{
|
|
1831
|
-
"mask-linear-to":
|
|
1831
|
+
"mask-linear-to": M()
|
|
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": M()
|
|
1841
1841
|
}],
|
|
1842
1842
|
"mask-image-t-to-pos": [{
|
|
1843
|
-
"mask-t-to":
|
|
1843
|
+
"mask-t-to": M()
|
|
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": M()
|
|
1853
1853
|
}],
|
|
1854
1854
|
"mask-image-r-to-pos": [{
|
|
1855
|
-
"mask-r-to":
|
|
1855
|
+
"mask-r-to": M()
|
|
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": M()
|
|
1865
1865
|
}],
|
|
1866
1866
|
"mask-image-b-to-pos": [{
|
|
1867
|
-
"mask-b-to":
|
|
1867
|
+
"mask-b-to": M()
|
|
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": M()
|
|
1877
1877
|
}],
|
|
1878
1878
|
"mask-image-l-to-pos": [{
|
|
1879
|
-
"mask-l-to":
|
|
1879
|
+
"mask-l-to": M()
|
|
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": M()
|
|
1889
1889
|
}],
|
|
1890
1890
|
"mask-image-x-to-pos": [{
|
|
1891
|
-
"mask-x-to":
|
|
1891
|
+
"mask-x-to": M()
|
|
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": M()
|
|
1901
1901
|
}],
|
|
1902
1902
|
"mask-image-y-to-pos": [{
|
|
1903
|
-
"mask-y-to":
|
|
1903
|
+
"mask-y-to": M()
|
|
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": M()
|
|
1916
1916
|
}],
|
|
1917
1917
|
"mask-image-radial-to-pos": [{
|
|
1918
|
-
"mask-radial-to":
|
|
1918
|
+
"mask-radial-to": M()
|
|
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": S()
|
|
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": M()
|
|
1943
1943
|
}],
|
|
1944
1944
|
"mask-image-conic-to-pos": [{
|
|
1945
|
-
"mask-conic-to":
|
|
1945
|
+
"mask-conic-to": M()
|
|
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
|
+
k,
|
|
2049
|
+
ae,
|
|
2050
|
+
se
|
|
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
|
|
@@ -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", I, 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", E, 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: [C, 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": L()
|
|
2284
2284
|
}],
|
|
2285
2285
|
/**
|
|
2286
2286
|
* Rotate
|
|
2287
2287
|
* @see https://tailwindcss.com/docs/rotate
|
|
2288
2288
|
*/
|
|
2289
2289
|
rotate: [{
|
|
2290
|
-
rotate:
|
|
2290
|
+
rotate: re()
|
|
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": re()
|
|
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": re()
|
|
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": re()
|
|
2312
2312
|
}],
|
|
2313
2313
|
/**
|
|
2314
2314
|
* Scale
|
|
2315
2315
|
* @see https://tailwindcss.com/docs/scale
|
|
2316
2316
|
*/
|
|
2317
2317
|
scale: [{
|
|
2318
|
-
scale:
|
|
2318
|
+
scale: oe()
|
|
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": oe()
|
|
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": oe()
|
|
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": oe()
|
|
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: me()
|
|
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": me()
|
|
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": me()
|
|
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: L()
|
|
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: ne()
|
|
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": ne()
|
|
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": ne()
|
|
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": ne()
|
|
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
|
|
@@ -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, O, fe]
|
|
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
|
+
}, Ht = /* @__PURE__ */ vt($t);
|
|
2772
|
+
function m(...e) {
|
|
2773
|
+
return Ht(et(e));
|
|
2774
2774
|
}
|
|
2775
|
-
const
|
|
2775
|
+
const Wt = {
|
|
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
2778
|
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%)]",
|
|
2779
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
|
-
},
|
|
2780
|
+
}, Dt = {
|
|
2781
2781
|
sm: "px-4 py-2 pl-5 text-xs h-8",
|
|
2782
2782
|
md: "px-6 py-4 pl-7 text-[13px] h-10",
|
|
2783
2783
|
lg: "px-8 py-5 pl-9 text-sm h-12"
|
|
2784
|
-
},
|
|
2784
|
+
}, ie = y.forwardRef(({
|
|
2785
2785
|
variant: e = "primary",
|
|
2786
2786
|
size: r = "md",
|
|
2787
2787
|
loading: o = !1,
|
|
@@ -2793,7 +2793,7 @@ 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
2798
|
"font-inherit font-medium",
|
|
2799
2799
|
"uppercase tracking-[0.4px]",
|
|
@@ -2804,8 +2804,8 @@ 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
|
+
Wt[e],
|
|
2808
|
+
Dt[r],
|
|
2809
2809
|
s
|
|
2810
2810
|
),
|
|
2811
2811
|
disabled: t || o,
|
|
@@ -2846,26 +2846,26 @@ const $t = {
|
|
|
2846
2846
|
]
|
|
2847
2847
|
}
|
|
2848
2848
|
));
|
|
2849
|
-
|
|
2850
|
-
const
|
|
2851
|
-
button:
|
|
2849
|
+
ie.displayName = "Button";
|
|
2850
|
+
const Ot = "_button_qraba_7", qt = "_state_qraba_79", Zt = "_icon_qraba_151", Ut = "_outline_qraba_205", G = {
|
|
2851
|
+
button: Ot,
|
|
2852
2852
|
"button--size-sm": "_button--size-sm_qraba_63",
|
|
2853
|
-
state:
|
|
2853
|
+
state: qt,
|
|
2854
2854
|
"button--size-md": "_button--size-md_qraba_87",
|
|
2855
2855
|
"button--size-lg": "_button--size-lg_qraba_111",
|
|
2856
|
-
icon:
|
|
2857
|
-
outline:
|
|
2856
|
+
icon: Zt,
|
|
2857
|
+
outline: Ut,
|
|
2858
2858
|
"state--default": "_state--default_qraba_229",
|
|
2859
2859
|
"state--sent": "_state--sent_qraba_813"
|
|
2860
|
-
},
|
|
2861
|
-
sm:
|
|
2862
|
-
md:
|
|
2863
|
-
lg:
|
|
2864
|
-
},
|
|
2860
|
+
}, Ae = (e) => e.split("").map((r, o) => /* @__PURE__ */ n("span", { style: { "--i": o }, children: r === " " ? " " : r }, o)), Yt = {
|
|
2861
|
+
sm: G["button--size-sm"],
|
|
2862
|
+
md: G["button--size-md"],
|
|
2863
|
+
lg: G["button--size-lg"]
|
|
2864
|
+
}, Xt = {
|
|
2865
2865
|
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
2866
|
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
2867
|
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
|
-
},
|
|
2868
|
+
}, jr = ({
|
|
2869
2869
|
children: e = "Send Message",
|
|
2870
2870
|
successText: r = "Sent",
|
|
2871
2871
|
onSubmit: o,
|
|
@@ -2875,7 +2875,7 @@ const Wt = "_button_qraba_7", Ot = "_state_qraba_79", Dt = "_icon_qraba_151", Zt
|
|
|
2875
2875
|
className: a,
|
|
2876
2876
|
...c
|
|
2877
2877
|
}) => {
|
|
2878
|
-
const [i, u] =
|
|
2878
|
+
const [i, u] = ce(!1), b = Ke(), _ = X(null);
|
|
2879
2879
|
return /* @__PURE__ */ g(
|
|
2880
2880
|
"button",
|
|
2881
2881
|
{
|
|
@@ -2883,7 +2883,7 @@ const Wt = "_button_qraba_7", Ot = "_state_qraba_79", Dt = "_icon_qraba_151", Zt
|
|
|
2883
2883
|
ref: _,
|
|
2884
2884
|
type: "submit",
|
|
2885
2885
|
disabled: t,
|
|
2886
|
-
onClick: async (
|
|
2886
|
+
onClick: async (k) => {
|
|
2887
2887
|
if (o && !i)
|
|
2888
2888
|
try {
|
|
2889
2889
|
await o(), u(!0), _.current?.focus(), setTimeout(() => {
|
|
@@ -2892,15 +2892,15 @@ const Wt = "_button_qraba_7", Ot = "_state_qraba_79", Dt = "_icon_qraba_151", Zt
|
|
|
2892
2892
|
} catch (v) {
|
|
2893
2893
|
console.error("Submit failed:", v);
|
|
2894
2894
|
}
|
|
2895
|
-
c.onClick?.(
|
|
2895
|
+
c.onClick?.(k);
|
|
2896
2896
|
},
|
|
2897
|
-
className:
|
|
2897
|
+
className: m(G.button, Xt[s], Yt[l], a),
|
|
2898
2898
|
"aria-label": i ? "Submission successful" : c["aria-label"] || "Submit",
|
|
2899
2899
|
"aria-disabled": t,
|
|
2900
2900
|
children: [
|
|
2901
|
-
/* @__PURE__ */ n("div", { className:
|
|
2902
|
-
/* @__PURE__ */ g("div", { className:
|
|
2903
|
-
/* @__PURE__ */ n("div", { className:
|
|
2901
|
+
/* @__PURE__ */ n("div", { className: G.outline }),
|
|
2902
|
+
/* @__PURE__ */ g("div", { className: m(G.state, G["state--default"]), children: [
|
|
2903
|
+
/* @__PURE__ */ n("div", { className: G.icon, children: /* @__PURE__ */ g(
|
|
2904
2904
|
"svg",
|
|
2905
2905
|
{
|
|
2906
2906
|
width: "1em",
|
|
@@ -2937,10 +2937,10 @@ const Wt = "_button_qraba_7", Ot = "_state_qraba_79", Dt = "_icon_qraba_151", Zt
|
|
|
2937
2937
|
]
|
|
2938
2938
|
}
|
|
2939
2939
|
) }),
|
|
2940
|
-
/* @__PURE__ */ n("p", { children:
|
|
2940
|
+
/* @__PURE__ */ n("p", { children: Ae(typeof e == "string" ? e : "Send Message") })
|
|
2941
2941
|
] }),
|
|
2942
|
-
/* @__PURE__ */ g("div", { className:
|
|
2943
|
-
/* @__PURE__ */ n("div", { className:
|
|
2942
|
+
/* @__PURE__ */ g("div", { className: m(G.state, G["state--sent"]), children: [
|
|
2943
|
+
/* @__PURE__ */ n("div", { className: G.icon, children: /* @__PURE__ */ n(
|
|
2944
2944
|
"svg",
|
|
2945
2945
|
{
|
|
2946
2946
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2968,16 +2968,16 @@ const Wt = "_button_qraba_7", Ot = "_state_qraba_79", Dt = "_icon_qraba_151", Zt
|
|
|
2968
2968
|
] })
|
|
2969
2969
|
}
|
|
2970
2970
|
) }),
|
|
2971
|
-
/* @__PURE__ */ n("p", { children:
|
|
2971
|
+
/* @__PURE__ */ n("p", { children: Ae(r) })
|
|
2972
2972
|
] })
|
|
2973
2973
|
]
|
|
2974
2974
|
}
|
|
2975
2975
|
);
|
|
2976
|
-
},
|
|
2976
|
+
}, Kt = {
|
|
2977
2977
|
sm: "px-4 py-2 text-sm",
|
|
2978
2978
|
md: "px-5 py-[10px] text-base",
|
|
2979
2979
|
lg: "px-6 py-3 text-lg"
|
|
2980
|
-
},
|
|
2980
|
+
}, De = y.forwardRef(({
|
|
2981
2981
|
size: e = "md",
|
|
2982
2982
|
error: r = !1,
|
|
2983
2983
|
className: o,
|
|
@@ -2988,7 +2988,7 @@ const Wt = "_button_qraba_7", Ot = "_state_qraba_79", Dt = "_icon_qraba_151", Zt
|
|
|
2988
2988
|
"input",
|
|
2989
2989
|
{
|
|
2990
2990
|
ref: l,
|
|
2991
|
-
className:
|
|
2991
|
+
className: m(
|
|
2992
2992
|
"bg-transparent",
|
|
2993
2993
|
"border-none",
|
|
2994
2994
|
"outline-none",
|
|
@@ -2998,7 +2998,7 @@ const Wt = "_button_qraba_7", Ot = "_state_qraba_79", Dt = "_icon_qraba_151", Zt
|
|
|
2998
2998
|
"transition-colors duration-200",
|
|
2999
2999
|
"disabled:text-text-disabled disabled:cursor-not-allowed",
|
|
3000
3000
|
r ? "shadow-[inset_2px_5px_10px_var(--input-shadow-error)] cursor-help" : "shadow-[inset_2px_5px_10px_var(--input-shadow)]",
|
|
3001
|
-
|
|
3001
|
+
Kt[e],
|
|
3002
3002
|
o
|
|
3003
3003
|
),
|
|
3004
3004
|
style: r ? { paddingRight: "2rem" } : void 0,
|
|
@@ -3027,8 +3027,8 @@ const Wt = "_button_qraba_7", Ot = "_state_qraba_79", Dt = "_icon_qraba_151", Zt
|
|
|
3027
3027
|
}
|
|
3028
3028
|
)
|
|
3029
3029
|
] }));
|
|
3030
|
-
|
|
3031
|
-
const
|
|
3030
|
+
De.displayName = "Input";
|
|
3031
|
+
const Jt = y.forwardRef(({
|
|
3032
3032
|
label: e,
|
|
3033
3033
|
error: r = !1,
|
|
3034
3034
|
className: o,
|
|
@@ -3038,8 +3038,8 @@ const Kt = y.forwardRef(({
|
|
|
3038
3038
|
...a
|
|
3039
3039
|
}, c) => {
|
|
3040
3040
|
const i = y.useId();
|
|
3041
|
-
return /* @__PURE__ */ g("div", { className:
|
|
3042
|
-
/* @__PURE__ */ g("label", { className:
|
|
3041
|
+
return /* @__PURE__ */ g("div", { className: m("flex items-center space-x-2", t && "cursor-not-allowed", r && !t && "cursor-help", o), children: [
|
|
3042
|
+
/* @__PURE__ */ g("label", { className: m("checkbox-container", t && "opacity-50 cursor-not-allowed", r && !t && "cursor-help", !t && !r && "cursor-pointer"), children: [
|
|
3043
3043
|
/* @__PURE__ */ n(
|
|
3044
3044
|
"input",
|
|
3045
3045
|
{
|
|
@@ -3060,7 +3060,7 @@ const Kt = y.forwardRef(({
|
|
|
3060
3060
|
{
|
|
3061
3061
|
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
3062
|
pathLength: "575.0541381835938",
|
|
3063
|
-
className:
|
|
3063
|
+
className: m("checkbox-path", r && "checkbox-path-error")
|
|
3064
3064
|
}
|
|
3065
3065
|
) })
|
|
3066
3066
|
] }),
|
|
@@ -3068,7 +3068,7 @@ const Kt = y.forwardRef(({
|
|
|
3068
3068
|
"label",
|
|
3069
3069
|
{
|
|
3070
3070
|
htmlFor: i,
|
|
3071
|
-
className:
|
|
3071
|
+
className: m(
|
|
3072
3072
|
"text-sm font-medium select-none",
|
|
3073
3073
|
t ? "text-text-disabled cursor-not-allowed" : r ? "text-text-primary cursor-help" : "text-text-primary cursor-pointer"
|
|
3074
3074
|
),
|
|
@@ -3077,8 +3077,8 @@ const Kt = y.forwardRef(({
|
|
|
3077
3077
|
)
|
|
3078
3078
|
] });
|
|
3079
3079
|
});
|
|
3080
|
-
|
|
3081
|
-
const
|
|
3080
|
+
Jt.displayName = "Checkbox";
|
|
3081
|
+
const Pr = ({
|
|
3082
3082
|
label: e,
|
|
3083
3083
|
error: r = !1,
|
|
3084
3084
|
className: o,
|
|
@@ -3099,7 +3099,7 @@ const Tr = ({
|
|
|
3099
3099
|
}
|
|
3100
3100
|
}
|
|
3101
3101
|
};
|
|
3102
|
-
return /* @__PURE__ */ g("div", { className:
|
|
3102
|
+
return /* @__PURE__ */ g("div", { className: m("toggle-wrapper", r && "toggle-wrapper--error", t && "cursor-not-allowed", r && !t && "cursor-help", o), children: [
|
|
3103
3103
|
/* @__PURE__ */ n(
|
|
3104
3104
|
"input",
|
|
3105
3105
|
{
|
|
@@ -3119,7 +3119,7 @@ const Tr = ({
|
|
|
3119
3119
|
/* @__PURE__ */ n(
|
|
3120
3120
|
"div",
|
|
3121
3121
|
{
|
|
3122
|
-
className:
|
|
3122
|
+
className: m("toggle-container", t && "cursor-not-allowed", r && !t && "cursor-help"),
|
|
3123
3123
|
onKeyDown: u,
|
|
3124
3124
|
tabIndex: t ? -1 : 0,
|
|
3125
3125
|
role: "button",
|
|
@@ -3131,7 +3131,7 @@ const Tr = ({
|
|
|
3131
3131
|
"label",
|
|
3132
3132
|
{
|
|
3133
3133
|
htmlFor: i,
|
|
3134
|
-
className:
|
|
3134
|
+
className: m(
|
|
3135
3135
|
"text-sm font-medium select-none ml-2",
|
|
3136
3136
|
t ? "text-text-disabled cursor-not-allowed" : r ? "text-text-primary cursor-help" : "text-text-primary cursor-pointer"
|
|
3137
3137
|
),
|
|
@@ -3139,10 +3139,10 @@ const Tr = ({
|
|
|
3139
3139
|
}
|
|
3140
3140
|
)
|
|
3141
3141
|
] });
|
|
3142
|
-
},
|
|
3142
|
+
}, Gr = ({ className: e, ...r }) => /* @__PURE__ */ n(
|
|
3143
3143
|
"div",
|
|
3144
3144
|
{
|
|
3145
|
-
className:
|
|
3145
|
+
className: m(
|
|
3146
3146
|
"card",
|
|
3147
3147
|
"w-full",
|
|
3148
3148
|
"rounded-lg border border-border",
|
|
@@ -3152,29 +3152,29 @@ const Tr = ({
|
|
|
3152
3152
|
),
|
|
3153
3153
|
...r
|
|
3154
3154
|
}
|
|
3155
|
-
),
|
|
3155
|
+
), Br = ({ className: e, ...r }) => /* @__PURE__ */ n(
|
|
3156
3156
|
"div",
|
|
3157
3157
|
{
|
|
3158
|
-
className:
|
|
3158
|
+
className: m("flex items-start justify-between gap-4 px-6 py-4 border-b border-border", e),
|
|
3159
3159
|
...r
|
|
3160
3160
|
}
|
|
3161
|
-
),
|
|
3161
|
+
), Fr = ({ className: e, ...r }) => /* @__PURE__ */ n("div", { className: m("px-6 py-4", e), ...r }), $r = ({ className: e, ...r }) => /* @__PURE__ */ n(
|
|
3162
3162
|
"div",
|
|
3163
3163
|
{
|
|
3164
|
-
className:
|
|
3164
|
+
className: m("flex items-center justify-end gap-3 px-6 py-4 border-t border-border", e),
|
|
3165
3165
|
...r
|
|
3166
3166
|
}
|
|
3167
3167
|
), Oe = {
|
|
3168
3168
|
sm: 0.7,
|
|
3169
3169
|
md: 1,
|
|
3170
3170
|
lg: 1.3
|
|
3171
|
-
},
|
|
3171
|
+
}, Hr = ({ size: e = "md", className: r, ...o }) => {
|
|
3172
3172
|
const t = 8 * Oe[e];
|
|
3173
|
-
return /* @__PURE__ */ g("div", { className:
|
|
3173
|
+
return /* @__PURE__ */ g("div", { className: m("loader", r), style: { fontSize: `${t}px` }, ...o, children: [
|
|
3174
3174
|
/* @__PURE__ */ n("div", { className: "loader-face loader-face-1", children: /* @__PURE__ */ n("div", { className: "loader-circle" }) }),
|
|
3175
3175
|
/* @__PURE__ */ n("div", { className: "loader-face loader-face-2", children: /* @__PURE__ */ n("div", { className: "loader-circle" }) })
|
|
3176
3176
|
] });
|
|
3177
|
-
},
|
|
3177
|
+
}, Wr = ({
|
|
3178
3178
|
size: e = "md",
|
|
3179
3179
|
variant: r = "inline",
|
|
3180
3180
|
label: o,
|
|
@@ -3185,7 +3185,7 @@ const Tr = ({
|
|
|
3185
3185
|
return r === "container" ? /* @__PURE__ */ n(
|
|
3186
3186
|
"div",
|
|
3187
3187
|
{
|
|
3188
|
-
className:
|
|
3188
|
+
className: m(
|
|
3189
3189
|
"relative w-full min-h-[8rem] rounded-lg border border-border bg-surface-secondary flex items-center justify-center",
|
|
3190
3190
|
t
|
|
3191
3191
|
),
|
|
@@ -3198,14 +3198,14 @@ const Tr = ({
|
|
|
3198
3198
|
o && /* @__PURE__ */ n("span", { className: "text-sm text-text-secondary", children: o })
|
|
3199
3199
|
] })
|
|
3200
3200
|
}
|
|
3201
|
-
) : /* @__PURE__ */ g("div", { className:
|
|
3201
|
+
) : /* @__PURE__ */ g("div", { className: m("inline-flex items-center gap-2", t), ...s, children: [
|
|
3202
3202
|
/* @__PURE__ */ g("div", { className: "loader", style: { fontSize: `${l}px` }, children: [
|
|
3203
3203
|
/* @__PURE__ */ n("div", { className: "loader-face loader-face-1", children: /* @__PURE__ */ n("div", { className: "loader-circle" }) }),
|
|
3204
3204
|
/* @__PURE__ */ n("div", { className: "loader-face loader-face-2", children: /* @__PURE__ */ n("div", { className: "loader-circle" }) })
|
|
3205
3205
|
] }),
|
|
3206
3206
|
o && /* @__PURE__ */ n("span", { className: "text-sm text-text-secondary", children: o })
|
|
3207
3207
|
] });
|
|
3208
|
-
},
|
|
3208
|
+
}, qe = y.createContext(null), Dr = ({
|
|
3209
3209
|
name: e,
|
|
3210
3210
|
legend: r,
|
|
3211
3211
|
value: o,
|
|
@@ -3216,16 +3216,16 @@ const Tr = ({
|
|
|
3216
3216
|
children: c,
|
|
3217
3217
|
...i
|
|
3218
3218
|
}) => {
|
|
3219
|
-
const u = o !== void 0, [b, _] = y.useState(t), w = u ? o : b,
|
|
3219
|
+
const u = o !== void 0, [b, _] = y.useState(t), w = u ? o : b, k = y.useCallback(
|
|
3220
3220
|
(v) => {
|
|
3221
3221
|
u || _(v), l?.(v);
|
|
3222
3222
|
},
|
|
3223
3223
|
[u, l]
|
|
3224
3224
|
);
|
|
3225
|
-
return /* @__PURE__ */ n(
|
|
3225
|
+
return /* @__PURE__ */ n(qe.Provider, { value: { name: e, value: w, disabled: s, onValueChange: k }, children: /* @__PURE__ */ g(
|
|
3226
3226
|
"fieldset",
|
|
3227
3227
|
{
|
|
3228
|
-
className:
|
|
3228
|
+
className: m("radio-input", s && "opacity-60 cursor-not-allowed", a),
|
|
3229
3229
|
disabled: s,
|
|
3230
3230
|
...i,
|
|
3231
3231
|
children: [
|
|
@@ -3234,7 +3234,7 @@ const Tr = ({
|
|
|
3234
3234
|
]
|
|
3235
3235
|
}
|
|
3236
3236
|
) });
|
|
3237
|
-
},
|
|
3237
|
+
}, Or = ({
|
|
3238
3238
|
label: e,
|
|
3239
3239
|
value: r,
|
|
3240
3240
|
disabled: o,
|
|
@@ -3246,50 +3246,50 @@ const Tr = ({
|
|
|
3246
3246
|
className: i,
|
|
3247
3247
|
...u
|
|
3248
3248
|
}) => {
|
|
3249
|
-
const b = y.useContext(
|
|
3250
|
-
const A =
|
|
3251
|
-
v && A ? b?.onValueChange?.(r) :
|
|
3252
|
-
},
|
|
3249
|
+
const b = y.useContext(qe), _ = y.useId(), w = !!(o ?? b?.disabled), k = l ?? b?.name, v = !!b, C = t !== void 0, [z, I] = y.useState(!!s), E = v ? b?.value === r : C ? !!t : z, T = (L) => {
|
|
3250
|
+
const A = L.target.checked;
|
|
3251
|
+
v && A ? b?.onValueChange?.(r) : C || I(A), c?.(A), a?.(L);
|
|
3252
|
+
}, S = /* @__PURE__ */ g("label", { htmlFor: _, className: m(w && "cursor-not-allowed", i), role: "radio", "aria-checked": E, "aria-disabled": w, children: [
|
|
3253
3253
|
/* @__PURE__ */ n(
|
|
3254
3254
|
"input",
|
|
3255
3255
|
{
|
|
3256
3256
|
id: _,
|
|
3257
3257
|
type: "radio",
|
|
3258
|
-
name:
|
|
3258
|
+
name: k,
|
|
3259
3259
|
value: r,
|
|
3260
|
-
checked:
|
|
3260
|
+
checked: E,
|
|
3261
3261
|
disabled: w,
|
|
3262
|
-
onChange:
|
|
3262
|
+
onChange: T,
|
|
3263
3263
|
role: "radio",
|
|
3264
|
-
"aria-checked":
|
|
3264
|
+
"aria-checked": E,
|
|
3265
3265
|
"aria-disabled": w,
|
|
3266
3266
|
...u
|
|
3267
3267
|
}
|
|
3268
3268
|
),
|
|
3269
3269
|
/* @__PURE__ */ n("span", { children: e || "" })
|
|
3270
3270
|
] });
|
|
3271
|
-
return v ?
|
|
3272
|
-
},
|
|
3271
|
+
return v ? S : /* @__PURE__ */ n("div", { className: "radio-input", children: S });
|
|
3272
|
+
}, Qt = {
|
|
3273
3273
|
top: "bottom-full left-1/2 -translate-x-1/2 mb-1",
|
|
3274
3274
|
bottom: "top-full left-1/2 -translate-x-1/2 mt-1",
|
|
3275
3275
|
left: "right-full top-1/2 -translate-y-1/2 mr-1",
|
|
3276
3276
|
right: "left-full top-1/2 -translate-y-1/2 ml-1"
|
|
3277
|
-
},
|
|
3277
|
+
}, er = {
|
|
3278
3278
|
top: "top-full left-1/2 -translate-x-1/2 -mt-px",
|
|
3279
3279
|
bottom: "bottom-full left-1/2 -translate-x-1/2 -mb-px",
|
|
3280
3280
|
left: "left-full top-1/2 -translate-y-1/2 -ml-px",
|
|
3281
3281
|
right: "right-full top-1/2 -translate-y-1/2 -mr-px"
|
|
3282
|
-
},
|
|
3282
|
+
}, tr = {
|
|
3283
3283
|
top: "border-t-border border-r-transparent border-b-transparent border-l-transparent border-t-[6px] border-r-[6px] border-l-[6px]",
|
|
3284
3284
|
bottom: "border-b-border border-r-transparent border-t-transparent border-l-transparent border-b-[6px] border-r-[6px] border-l-[6px]",
|
|
3285
3285
|
left: "border-l-border border-r-transparent border-t-transparent border-b-transparent border-l-[6px] border-t-[6px] border-b-[6px]",
|
|
3286
3286
|
right: "border-r-border border-l-transparent border-t-transparent border-b-transparent border-r-[6px] border-t-[6px] border-b-[6px]"
|
|
3287
|
-
},
|
|
3287
|
+
}, rr = {
|
|
3288
3288
|
top: "top-full left-1/2 -translate-x-1/2 -mt-[5px]",
|
|
3289
3289
|
bottom: "bottom-full left-1/2 -translate-x-1/2 -mb-[5px]",
|
|
3290
3290
|
left: "left-full top-1/2 -translate-y-1/2 -ml-[5px]",
|
|
3291
3291
|
right: "right-full top-1/2 -translate-y-1/2 -mr-[5px]"
|
|
3292
|
-
},
|
|
3292
|
+
}, qr = ({
|
|
3293
3293
|
open: e,
|
|
3294
3294
|
onOpenChange: r,
|
|
3295
3295
|
content: o,
|
|
@@ -3313,10 +3313,10 @@ const Tr = ({
|
|
|
3313
3313
|
}
|
|
3314
3314
|
}, _ = () => {
|
|
3315
3315
|
u(), r?.(!1);
|
|
3316
|
-
}, w = y.Children.only(a),
|
|
3317
|
-
return /* @__PURE__ */ g("span", { className:
|
|
3316
|
+
}, w = y.Children.only(a), k = y.useId();
|
|
3317
|
+
return /* @__PURE__ */ g("span", { className: m("relative inline-block", c), children: [
|
|
3318
3318
|
y.cloneElement(w, {
|
|
3319
|
-
"aria-describedby": e && !l ?
|
|
3319
|
+
"aria-describedby": e && !l ? k : void 0,
|
|
3320
3320
|
onMouseEnter: (v) => {
|
|
3321
3321
|
w.props.onMouseEnter?.(v), b();
|
|
3322
3322
|
},
|
|
@@ -3333,11 +3333,11 @@ const Tr = ({
|
|
|
3333
3333
|
e && !l && /* @__PURE__ */ g(
|
|
3334
3334
|
"span",
|
|
3335
3335
|
{
|
|
3336
|
-
id:
|
|
3336
|
+
id: k,
|
|
3337
3337
|
role: "tooltip",
|
|
3338
|
-
className:
|
|
3338
|
+
className: m(
|
|
3339
3339
|
"absolute z-50 pointer-events-none",
|
|
3340
|
-
|
|
3340
|
+
Qt[t],
|
|
3341
3341
|
"whitespace-nowrap",
|
|
3342
3342
|
"rounded-md border border-border bg-surface text-text-primary",
|
|
3343
3343
|
"px-3 py-2 text-xs shadow-md"
|
|
@@ -3347,19 +3347,19 @@ const Tr = ({
|
|
|
3347
3347
|
/* @__PURE__ */ n(
|
|
3348
3348
|
"span",
|
|
3349
3349
|
{
|
|
3350
|
-
className:
|
|
3350
|
+
className: m(
|
|
3351
3351
|
"absolute w-0 h-0",
|
|
3352
|
-
|
|
3353
|
-
|
|
3352
|
+
er[t],
|
|
3353
|
+
tr[t]
|
|
3354
3354
|
)
|
|
3355
3355
|
}
|
|
3356
3356
|
),
|
|
3357
3357
|
/* @__PURE__ */ n(
|
|
3358
3358
|
"span",
|
|
3359
3359
|
{
|
|
3360
|
-
className:
|
|
3360
|
+
className: m(
|
|
3361
3361
|
"absolute w-0 h-0 bg-surface",
|
|
3362
|
-
|
|
3362
|
+
rr[t],
|
|
3363
3363
|
t === "top" && "border-t-[5px] border-r-[5px] border-l-[5px] border-t-surface border-r-transparent border-l-transparent",
|
|
3364
3364
|
t === "bottom" && "border-b-[5px] border-r-[5px] border-l-[5px] border-b-surface border-r-transparent border-l-transparent",
|
|
3365
3365
|
t === "left" && "border-l-[5px] border-t-[5px] border-b-[5px] border-l-surface border-t-transparent border-b-transparent",
|
|
@@ -3371,7 +3371,7 @@ const Tr = ({
|
|
|
3371
3371
|
}
|
|
3372
3372
|
)
|
|
3373
3373
|
] });
|
|
3374
|
-
}, Ze =
|
|
3374
|
+
}, Ze = Je(void 0), Zr = ({
|
|
3375
3375
|
children: e,
|
|
3376
3376
|
defaultTheme: r
|
|
3377
3377
|
}) => {
|
|
@@ -3382,7 +3382,7 @@ const Tr = ({
|
|
|
3382
3382
|
return a;
|
|
3383
3383
|
}
|
|
3384
3384
|
return typeof window < "u" && window.matchMedia ? window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : r || "dark";
|
|
3385
|
-
}, [t, s] =
|
|
3385
|
+
}, [t, s] = ce(o), l = y.useCallback((a) => {
|
|
3386
3386
|
s(a), typeof window < "u" && localStorage.setItem("theme", a);
|
|
3387
3387
|
}, []);
|
|
3388
3388
|
return y.useEffect(() => {
|
|
@@ -3399,21 +3399,21 @@ const Tr = ({
|
|
|
3399
3399
|
if (a.addListener)
|
|
3400
3400
|
return a.addListener(c), () => a.removeListener(c);
|
|
3401
3401
|
}, []), /* @__PURE__ */ n(Ze.Provider, { value: { theme: t, setTheme: l }, children: e });
|
|
3402
|
-
},
|
|
3403
|
-
const e =
|
|
3402
|
+
}, or = () => {
|
|
3403
|
+
const e = Qe(Ze);
|
|
3404
3404
|
if (e === void 0)
|
|
3405
3405
|
throw new Error("useTheme must be used within a ThemeProvider");
|
|
3406
3406
|
return e;
|
|
3407
|
-
},
|
|
3407
|
+
}, Ur = ({
|
|
3408
3408
|
className: e,
|
|
3409
3409
|
showLabel: r = !0
|
|
3410
3410
|
}) => {
|
|
3411
|
-
const { theme: o, setTheme: t } =
|
|
3411
|
+
const { theme: o, setTheme: t } = or(), s = o === "dark", l = () => {
|
|
3412
3412
|
t(s ? "light" : "dark");
|
|
3413
3413
|
}, a = (c) => {
|
|
3414
3414
|
(c.key === "Enter" || c.key === " ") && (c.preventDefault(), l());
|
|
3415
3415
|
};
|
|
3416
|
-
return /* @__PURE__ */ g("div", { className:
|
|
3416
|
+
return /* @__PURE__ */ g("div", { className: m("flex items-center gap-3", e), children: [
|
|
3417
3417
|
/* @__PURE__ */ g(
|
|
3418
3418
|
"label",
|
|
3419
3419
|
{
|
|
@@ -3456,7 +3456,7 @@ const Tr = ({
|
|
|
3456
3456
|
),
|
|
3457
3457
|
r && /* @__PURE__ */ n("span", { className: "text-sm font-medium text-text-primary", children: s ? "Dark" : "Light" })
|
|
3458
3458
|
] });
|
|
3459
|
-
},
|
|
3459
|
+
}, nr = ({
|
|
3460
3460
|
width: e = 315,
|
|
3461
3461
|
aspectRatio: r = 1.33,
|
|
3462
3462
|
className: o,
|
|
@@ -3465,7 +3465,7 @@ const Tr = ({
|
|
|
3465
3465
|
}) => /* @__PURE__ */ n(
|
|
3466
3466
|
"div",
|
|
3467
3467
|
{
|
|
3468
|
-
className:
|
|
3468
|
+
className: m(
|
|
3469
3469
|
"relative flex justify-center items-center",
|
|
3470
3470
|
"bg-surface-tertiary rounded-[24px]",
|
|
3471
3471
|
"shadow-[0_4px_8px_rgba(0,0,0,0.2),0_8px_16px_rgba(0,0,0,0.2),0_0_8px_rgba(255,255,255,0.1),0_0_16px_rgba(255,255,255,0.08)]",
|
|
@@ -3479,7 +3479,7 @@ const Tr = ({
|
|
|
3479
3479
|
...s,
|
|
3480
3480
|
children: t
|
|
3481
3481
|
}
|
|
3482
|
-
),
|
|
3482
|
+
), sr = ({
|
|
3483
3483
|
width: e = 315,
|
|
3484
3484
|
aspectRatio: r = 1.33,
|
|
3485
3485
|
className: o,
|
|
@@ -3488,7 +3488,7 @@ const Tr = ({
|
|
|
3488
3488
|
}) => /* @__PURE__ */ n(
|
|
3489
3489
|
"div",
|
|
3490
3490
|
{
|
|
3491
|
-
className:
|
|
3491
|
+
className: m(
|
|
3492
3492
|
"relative bg-surface-tertiary rounded-[24px] p-7 z-[10]",
|
|
3493
3493
|
"backdrop-blur-[15px]",
|
|
3494
3494
|
"shadow-[inset_0_40px_60px_-8px_rgba(255,255,255,0.12),inset_4px_0_12px_-6px_rgba(255,255,255,0.12),inset_0_0_12px_-4px_rgba(255,255,255,0.12)]",
|
|
@@ -3501,10 +3501,10 @@ const Tr = ({
|
|
|
3501
3501
|
...s,
|
|
3502
3502
|
children: t
|
|
3503
3503
|
}
|
|
3504
|
-
),
|
|
3504
|
+
), ar = ({ className: e, ...r }) => /* @__PURE__ */ g(
|
|
3505
3505
|
"div",
|
|
3506
3506
|
{
|
|
3507
|
-
className:
|
|
3507
|
+
className: m(
|
|
3508
3508
|
"w-[65px] h-[65px] rounded-[20px] border-2 border-white",
|
|
3509
3509
|
"bg-gradient-to-br from-white/20 to-black/20",
|
|
3510
3510
|
"shadow-[8px_8px_16px_rgba(0,0,0,0.2),-8px_-8px_16px_rgba(255,255,255,0.06)]",
|
|
@@ -3517,7 +3517,7 @@ const Tr = ({
|
|
|
3517
3517
|
/* @__PURE__ */ n("div", { className: "absolute top-[10px] w-[30%] h-[30%] rounded-full border-[2.5px] border-white" })
|
|
3518
3518
|
]
|
|
3519
3519
|
}
|
|
3520
|
-
),
|
|
3520
|
+
), Yr = ({
|
|
3521
3521
|
title: e,
|
|
3522
3522
|
showLogo: r = !1,
|
|
3523
3523
|
footer: o,
|
|
@@ -3526,21 +3526,21 @@ const Tr = ({
|
|
|
3526
3526
|
className: l,
|
|
3527
3527
|
children: a,
|
|
3528
3528
|
...c
|
|
3529
|
-
}) => /* @__PURE__ */ n(
|
|
3529
|
+
}) => /* @__PURE__ */ n(nr, { width: t, aspectRatio: s, children: /* @__PURE__ */ g(sr, { width: t, aspectRatio: s, children: [
|
|
3530
3530
|
/* @__PURE__ */ g(
|
|
3531
3531
|
"form",
|
|
3532
3532
|
{
|
|
3533
|
-
className:
|
|
3533
|
+
className: m("flex justify-center items-center flex-col gap-[10px]", l),
|
|
3534
3534
|
...c,
|
|
3535
3535
|
children: [
|
|
3536
|
-
r && /* @__PURE__ */ n("div", { className: "flex justify-center items-center mb-2", children: /* @__PURE__ */ n(
|
|
3536
|
+
r && /* @__PURE__ */ n("div", { className: "flex justify-center items-center mb-2", children: /* @__PURE__ */ n(ar, {}) }),
|
|
3537
3537
|
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
3538
|
a
|
|
3539
3539
|
]
|
|
3540
3540
|
}
|
|
3541
3541
|
),
|
|
3542
3542
|
o && /* @__PURE__ */ n("div", { className: "w-full text-left text-text-secondary text-xs mt-4", children: o })
|
|
3543
|
-
] }) }),
|
|
3543
|
+
] }) }), Xr = ({
|
|
3544
3544
|
label: e,
|
|
3545
3545
|
error: r,
|
|
3546
3546
|
className: o,
|
|
@@ -3549,9 +3549,9 @@ const Tr = ({
|
|
|
3549
3549
|
}) => /* @__PURE__ */ g("div", { className: "w-full", children: [
|
|
3550
3550
|
e && /* @__PURE__ */ n("label", { className: "block text-text-primary text-sm mb-1.5", children: e }),
|
|
3551
3551
|
/* @__PURE__ */ n("div", { className: "flex justify-center", children: /* @__PURE__ */ n(
|
|
3552
|
-
|
|
3552
|
+
De,
|
|
3553
3553
|
{
|
|
3554
|
-
className:
|
|
3554
|
+
className: m(
|
|
3555
3555
|
"p-3 border-none rounded-xl bg-surface text-text-primary text-sm outline-none",
|
|
3556
3556
|
"focus:border focus:border-border-focus",
|
|
3557
3557
|
o
|
|
@@ -3561,7 +3561,7 @@ const Tr = ({
|
|
|
3561
3561
|
...s
|
|
3562
3562
|
}
|
|
3563
3563
|
) })
|
|
3564
|
-
] }),
|
|
3564
|
+
] }), Kr = ({
|
|
3565
3565
|
variant: e = "primary",
|
|
3566
3566
|
className: r,
|
|
3567
3567
|
children: o,
|
|
@@ -3569,7 +3569,7 @@ const Tr = ({
|
|
|
3569
3569
|
}) => e === "google" ? /* @__PURE__ */ n(
|
|
3570
3570
|
"button",
|
|
3571
3571
|
{
|
|
3572
|
-
className:
|
|
3572
|
+
className: m(
|
|
3573
3573
|
"w-full h-10 border-none rounded-[20px] text-sm font-semibold cursor-pointer",
|
|
3574
3574
|
"grid place-content-center gap-2.5 bg-surface-secondary text-text-primary",
|
|
3575
3575
|
"transition-all duration-300",
|
|
@@ -3582,38 +3582,38 @@ const Tr = ({
|
|
|
3582
3582
|
children: o
|
|
3583
3583
|
}
|
|
3584
3584
|
) : /* @__PURE__ */ n(
|
|
3585
|
-
|
|
3585
|
+
ie,
|
|
3586
3586
|
{
|
|
3587
3587
|
variant: "primary",
|
|
3588
|
-
className:
|
|
3588
|
+
className: m(
|
|
3589
3589
|
"w-full h-10 rounded-[20px] text-sm font-semibold mt-1.5",
|
|
3590
3590
|
r
|
|
3591
3591
|
),
|
|
3592
3592
|
...t,
|
|
3593
3593
|
children: o
|
|
3594
3594
|
}
|
|
3595
|
-
),
|
|
3595
|
+
), Jr = ({
|
|
3596
3596
|
className: e,
|
|
3597
3597
|
children: r,
|
|
3598
3598
|
...o
|
|
3599
3599
|
}) => /* @__PURE__ */ n(
|
|
3600
3600
|
"div",
|
|
3601
3601
|
{
|
|
3602
|
-
className:
|
|
3602
|
+
className: m(
|
|
3603
3603
|
"w-full text-left text-text-secondary text-xs",
|
|
3604
3604
|
e
|
|
3605
3605
|
),
|
|
3606
3606
|
...o,
|
|
3607
3607
|
children: r
|
|
3608
3608
|
}
|
|
3609
|
-
),
|
|
3609
|
+
), Qr = ({
|
|
3610
3610
|
className: e,
|
|
3611
3611
|
children: r,
|
|
3612
3612
|
...o
|
|
3613
3613
|
}) => /* @__PURE__ */ n(
|
|
3614
3614
|
"a",
|
|
3615
3615
|
{
|
|
3616
|
-
className:
|
|
3616
|
+
className: m(
|
|
3617
3617
|
"relative text-text-secondary font-semibold no-underline transition-colors duration-300 ease-in-out",
|
|
3618
3618
|
"hover:text-white",
|
|
3619
3619
|
'after:content-[""] after:absolute after:left-0 after:bottom-[-2px] after:w-0 after:rounded-md after:h-[1px] after:bg-current after:transition-[width] after:duration-300 after:ease-in-out',
|
|
@@ -3623,35 +3623,35 @@ const Tr = ({
|
|
|
3623
3623
|
...o,
|
|
3624
3624
|
children: r
|
|
3625
3625
|
}
|
|
3626
|
-
),
|
|
3627
|
-
container:
|
|
3626
|
+
), lr = "_container_14dne_1", ir = "_input_14dne_119", cr = "_search__icon_14dne_177", B = {
|
|
3627
|
+
container: lr,
|
|
3628
3628
|
"container--size-sm": "_container--size-sm_14dne_25",
|
|
3629
3629
|
"container--size-md": "_container--size-md_14dne_33",
|
|
3630
3630
|
"container--size-lg": "_container--size-lg_14dne_41",
|
|
3631
3631
|
"search-container": "_search-container_14dne_49",
|
|
3632
|
-
input:
|
|
3632
|
+
input: ir,
|
|
3633
3633
|
"input--size-sm": "_input--size-sm_14dne_147",
|
|
3634
3634
|
"input--size-md": "_input--size-md_14dne_157",
|
|
3635
3635
|
"input--size-lg": "_input--size-lg_14dne_167",
|
|
3636
|
-
search__icon:
|
|
3637
|
-
},
|
|
3636
|
+
search__icon: cr
|
|
3637
|
+
}, dr = {
|
|
3638
3638
|
sm: {
|
|
3639
|
-
container:
|
|
3640
|
-
input:
|
|
3639
|
+
container: B["container--size-sm"],
|
|
3640
|
+
input: B["input--size-sm"]
|
|
3641
3641
|
},
|
|
3642
3642
|
md: {
|
|
3643
|
-
container:
|
|
3644
|
-
input:
|
|
3643
|
+
container: B["container--size-md"],
|
|
3644
|
+
input: B["input--size-md"]
|
|
3645
3645
|
},
|
|
3646
3646
|
lg: {
|
|
3647
|
-
container:
|
|
3648
|
-
input:
|
|
3647
|
+
container: B["container--size-lg"],
|
|
3648
|
+
input: B["input--size-lg"]
|
|
3649
3649
|
}
|
|
3650
|
-
},
|
|
3650
|
+
}, pr = {
|
|
3651
3651
|
sm: 200,
|
|
3652
3652
|
md: 260,
|
|
3653
3653
|
lg: 320
|
|
3654
|
-
},
|
|
3654
|
+
}, mr = y.forwardRef(({
|
|
3655
3655
|
size: e = "md",
|
|
3656
3656
|
className: r,
|
|
3657
3657
|
inputClassName: o,
|
|
@@ -3659,17 +3659,17 @@ const Tr = ({
|
|
|
3659
3659
|
placeholder: s,
|
|
3660
3660
|
...l
|
|
3661
3661
|
}, a) => {
|
|
3662
|
-
const c =
|
|
3663
|
-
return
|
|
3662
|
+
const c = dr[e], i = X(null), u = X(null), [b, _] = ce(void 0);
|
|
3663
|
+
return he(() => {
|
|
3664
3664
|
if (!s || !u.current) return;
|
|
3665
|
-
const
|
|
3666
|
-
_(Math.max(
|
|
3667
|
-
}, [s, e]), /* @__PURE__ */ g(
|
|
3665
|
+
const k = u.current.offsetWidth, v = 70, C = e === "sm" ? 32 : e === "md" ? 40 : 48, E = k + v + C + 10 + 20, T = pr[e];
|
|
3666
|
+
_(Math.max(E, T));
|
|
3667
|
+
}, [s, e]), /* @__PURE__ */ g(Xe, { children: [
|
|
3668
3668
|
/* @__PURE__ */ n(
|
|
3669
3669
|
"span",
|
|
3670
3670
|
{
|
|
3671
3671
|
ref: u,
|
|
3672
|
-
className:
|
|
3672
|
+
className: m(c.input),
|
|
3673
3673
|
style: {
|
|
3674
3674
|
position: "absolute",
|
|
3675
3675
|
visibility: "hidden",
|
|
@@ -3686,35 +3686,35 @@ const Tr = ({
|
|
|
3686
3686
|
"div",
|
|
3687
3687
|
{
|
|
3688
3688
|
ref: i,
|
|
3689
|
-
className:
|
|
3689
|
+
className: m(B.container, c.container, r),
|
|
3690
3690
|
style: b ? { width: `${b}px`, maxWidth: "100%" } : void 0,
|
|
3691
|
-
children: /* @__PURE__ */ g("div", { className:
|
|
3691
|
+
children: /* @__PURE__ */ g("div", { className: m(B["search-container"], t), children: [
|
|
3692
3692
|
/* @__PURE__ */ n(
|
|
3693
3693
|
"input",
|
|
3694
3694
|
{
|
|
3695
3695
|
ref: a,
|
|
3696
|
-
className:
|
|
3696
|
+
className: m(B.input, c.input, o),
|
|
3697
3697
|
type: "search",
|
|
3698
3698
|
placeholder: s,
|
|
3699
3699
|
...l
|
|
3700
3700
|
}
|
|
3701
3701
|
),
|
|
3702
|
-
/* @__PURE__ */ n("svg", { viewBox: "0 0 24 24", className:
|
|
3702
|
+
/* @__PURE__ */ n("svg", { viewBox: "0 0 24 24", className: B.search__icon, "aria-hidden": "true", focusable: "false", children: /* @__PURE__ */ n("g", { children: /* @__PURE__ */ n("path", { d: "M21.53 20.47l-3.66-3.66C19.195 15.24 20 13.214 20 11c0-4.97-4.03-9-9-9s-9 4.03-9 9 4.03 9 9 9c2.215 0 4.24-.804 5.808-2.13l3.66 3.66c.147.146.34.22.53.22s.385-.073.53-.22c.295-.293.295-.767.002-1.06zM3.5 11c0-4.135 3.365-7.5 7.5-7.5s7.5 3.365 7.5 7.5-3.365 7.5-7.5 7.5-7.5-3.365-7.5-7.5z" }) }) })
|
|
3703
3703
|
] })
|
|
3704
3704
|
}
|
|
3705
3705
|
)
|
|
3706
3706
|
] });
|
|
3707
3707
|
});
|
|
3708
|
-
|
|
3709
|
-
const
|
|
3710
|
-
list:
|
|
3711
|
-
listHorizontal:
|
|
3712
|
-
iconContent:
|
|
3713
|
-
tooltip:
|
|
3714
|
-
tooltipHorizontal:
|
|
3715
|
-
link:
|
|
3716
|
-
filled:
|
|
3717
|
-
},
|
|
3708
|
+
mr.displayName = "SearchBar";
|
|
3709
|
+
const ur = "_list_hdx8a_1", fr = "_listHorizontal_hdx8a_11", br = "_iconContent_hdx8a_15", hr = "_tooltip_hdx8a_25", xr = "_tooltipHorizontal_hdx8a_46", gr = "_link_hdx8a_60", _r = "_filled_hdx8a_87", q = {
|
|
3710
|
+
list: ur,
|
|
3711
|
+
listHorizontal: fr,
|
|
3712
|
+
iconContent: br,
|
|
3713
|
+
tooltip: hr,
|
|
3714
|
+
tooltipHorizontal: xr,
|
|
3715
|
+
link: gr,
|
|
3716
|
+
filled: _r
|
|
3717
|
+
}, wr = (e) => {
|
|
3718
3718
|
switch (e) {
|
|
3719
3719
|
case "linkedin":
|
|
3720
3720
|
return /* @__PURE__ */ n(
|
|
@@ -3791,7 +3791,7 @@ const pr = "_list_hdx8a_1", mr = "_listHorizontal_hdx8a_11", ur = "_iconContent_
|
|
|
3791
3791
|
default:
|
|
3792
3792
|
return null;
|
|
3793
3793
|
}
|
|
3794
|
-
},
|
|
3794
|
+
}, vr = (e) => ({
|
|
3795
3795
|
linkedin: "LinkedIn",
|
|
3796
3796
|
github: "GitHub",
|
|
3797
3797
|
instagram: "Instagram",
|
|
@@ -3801,7 +3801,7 @@ const pr = "_list_hdx8a_1", mr = "_listHorizontal_hdx8a_11", ur = "_iconContent_
|
|
|
3801
3801
|
telegram: "Telegram",
|
|
3802
3802
|
pinterest: "Pinterest",
|
|
3803
3803
|
x: "X"
|
|
3804
|
-
})[e],
|
|
3804
|
+
})[e], yr = y.forwardRef(({
|
|
3805
3805
|
links: e,
|
|
3806
3806
|
className: r,
|
|
3807
3807
|
orientation: o = "vertical",
|
|
@@ -3810,26 +3810,26 @@ const pr = "_list_hdx8a_1", mr = "_listHorizontal_hdx8a_11", ur = "_iconContent_
|
|
|
3810
3810
|
"ul",
|
|
3811
3811
|
{
|
|
3812
3812
|
ref: s,
|
|
3813
|
-
className:
|
|
3814
|
-
|
|
3815
|
-
o === "horizontal" &&
|
|
3813
|
+
className: m(
|
|
3814
|
+
q.list,
|
|
3815
|
+
o === "horizontal" && q.listHorizontal,
|
|
3816
3816
|
r
|
|
3817
3817
|
),
|
|
3818
3818
|
...t,
|
|
3819
3819
|
children: e.map((l, a) => {
|
|
3820
|
-
const c = l.label ||
|
|
3821
|
-
return /* @__PURE__ */ g("li", { className:
|
|
3820
|
+
const c = l.label || vr(l.platform), i = wr(l.platform);
|
|
3821
|
+
return /* @__PURE__ */ g("li", { className: q.iconContent, children: [
|
|
3822
3822
|
/* @__PURE__ */ g(
|
|
3823
3823
|
"a",
|
|
3824
3824
|
{
|
|
3825
3825
|
href: l.url,
|
|
3826
3826
|
"aria-label": c,
|
|
3827
3827
|
"data-social": l.platform,
|
|
3828
|
-
className:
|
|
3828
|
+
className: q.link,
|
|
3829
3829
|
target: "_blank",
|
|
3830
3830
|
rel: "noopener noreferrer",
|
|
3831
3831
|
children: [
|
|
3832
|
-
/* @__PURE__ */ n("div", { className:
|
|
3832
|
+
/* @__PURE__ */ n("div", { className: q.filled }),
|
|
3833
3833
|
/* @__PURE__ */ n(
|
|
3834
3834
|
"svg",
|
|
3835
3835
|
{
|
|
@@ -3846,51 +3846,51 @@ const pr = "_list_hdx8a_1", mr = "_listHorizontal_hdx8a_11", ur = "_iconContent_
|
|
|
3846
3846
|
]
|
|
3847
3847
|
}
|
|
3848
3848
|
),
|
|
3849
|
-
/* @__PURE__ */ n("div", { className:
|
|
3850
|
-
|
|
3851
|
-
o === "horizontal" &&
|
|
3849
|
+
/* @__PURE__ */ n("div", { className: m(
|
|
3850
|
+
q.tooltip,
|
|
3851
|
+
o === "horizontal" && q.tooltipHorizontal
|
|
3852
3852
|
), children: c })
|
|
3853
3853
|
] }, `${l.platform}-${a}`);
|
|
3854
3854
|
})
|
|
3855
3855
|
}
|
|
3856
3856
|
));
|
|
3857
|
-
|
|
3858
|
-
const
|
|
3859
|
-
card:
|
|
3860
|
-
separator:
|
|
3861
|
-
list:
|
|
3862
|
-
element:
|
|
3863
|
-
label:
|
|
3857
|
+
yr.displayName = "SocialLinks";
|
|
3858
|
+
const kr = "_card_tuygu_1", Cr = "_separator_tuygu_33", zr = "_list_tuygu_41", Nr = "_element_tuygu_57", Mr = "_label_tuygu_91", Sr = "_accent_tuygu_137", Z = {
|
|
3859
|
+
card: kr,
|
|
3860
|
+
separator: Cr,
|
|
3861
|
+
list: zr,
|
|
3862
|
+
element: Nr,
|
|
3863
|
+
label: Mr,
|
|
3864
3864
|
delete: "_delete_tuygu_111",
|
|
3865
|
-
accent:
|
|
3866
|
-
},
|
|
3865
|
+
accent: Sr
|
|
3866
|
+
}, eo = ({
|
|
3867
3867
|
groups: e,
|
|
3868
3868
|
showSeparators: r = !0,
|
|
3869
3869
|
className: o,
|
|
3870
3870
|
...t
|
|
3871
|
-
}) => /* @__PURE__ */ n("div", { className:
|
|
3871
|
+
}) => /* @__PURE__ */ n("div", { className: m(Z.card, o), ...t, children: e.map((s, l) => /* @__PURE__ */ g(y.Fragment, { children: [
|
|
3872
3872
|
/* @__PURE__ */ n(
|
|
3873
|
-
|
|
3873
|
+
Lr,
|
|
3874
3874
|
{
|
|
3875
3875
|
group: s,
|
|
3876
3876
|
isLastGroup: l === e.length - 1
|
|
3877
3877
|
}
|
|
3878
3878
|
),
|
|
3879
|
-
r && l < e.length - 1 && /* @__PURE__ */ n(
|
|
3880
|
-
] }, s.id)) }),
|
|
3879
|
+
r && l < e.length - 1 && /* @__PURE__ */ n(Ir, {})
|
|
3880
|
+
] }, s.id)) }), Lr = ({
|
|
3881
3881
|
group: e,
|
|
3882
3882
|
isLastGroup: r
|
|
3883
3883
|
}) => {
|
|
3884
3884
|
const o = e.variant === "accent" || r && e.items.some((t) => t.variant === "accent");
|
|
3885
|
-
return /* @__PURE__ */ n("ul", { className:
|
|
3886
|
-
|
|
3885
|
+
return /* @__PURE__ */ n("ul", { className: m(Z.list, o && Z.accent), children: e.items.map((t) => /* @__PURE__ */ n(
|
|
3886
|
+
Ar,
|
|
3887
3887
|
{
|
|
3888
3888
|
item: t,
|
|
3889
3889
|
isAccentGroup: o
|
|
3890
3890
|
},
|
|
3891
3891
|
t.id
|
|
3892
3892
|
)) });
|
|
3893
|
-
},
|
|
3893
|
+
}, Ar = ({
|
|
3894
3894
|
item: e,
|
|
3895
3895
|
isAccentGroup: r
|
|
3896
3896
|
}) => {
|
|
@@ -3904,9 +3904,9 @@ const vr = "_card_tuygu_1", yr = "_separator_tuygu_33", kr = "_list_tuygu_41", C
|
|
|
3904
3904
|
return /* @__PURE__ */ g(
|
|
3905
3905
|
"li",
|
|
3906
3906
|
{
|
|
3907
|
-
className:
|
|
3908
|
-
|
|
3909
|
-
t &&
|
|
3907
|
+
className: m(
|
|
3908
|
+
Z.element,
|
|
3909
|
+
t && Z.delete
|
|
3910
3910
|
),
|
|
3911
3911
|
onClick: s,
|
|
3912
3912
|
style: {
|
|
@@ -3915,38 +3915,317 @@ const vr = "_card_tuygu_1", yr = "_separator_tuygu_33", kr = "_list_tuygu_41", C
|
|
|
3915
3915
|
},
|
|
3916
3916
|
children: [
|
|
3917
3917
|
l(),
|
|
3918
|
-
/* @__PURE__ */ n("p", { className:
|
|
3918
|
+
/* @__PURE__ */ n("p", { className: Z.label, children: e.label })
|
|
3919
3919
|
]
|
|
3920
3920
|
}
|
|
3921
3921
|
);
|
|
3922
|
-
},
|
|
3922
|
+
}, Ir = () => /* @__PURE__ */ n("div", { className: Z.separator }), to = ({
|
|
3923
|
+
title: e,
|
|
3924
|
+
description: r,
|
|
3925
|
+
privacyLink: o,
|
|
3926
|
+
privacyLinkText: t,
|
|
3927
|
+
acceptLabel: s,
|
|
3928
|
+
optionsLabel: l,
|
|
3929
|
+
onAccept: a,
|
|
3930
|
+
onOptions: c,
|
|
3931
|
+
storageKey: i,
|
|
3932
|
+
storageValue: u,
|
|
3933
|
+
icon: b,
|
|
3934
|
+
className: _,
|
|
3935
|
+
privacyLinkTarget: w,
|
|
3936
|
+
privacyLinkRel: k,
|
|
3937
|
+
iconClassName: v,
|
|
3938
|
+
contentClassName: C,
|
|
3939
|
+
acceptButtonClassName: z,
|
|
3940
|
+
optionsButtonClassName: I
|
|
3941
|
+
}) => {
|
|
3942
|
+
const [E, T] = ce(() => typeof window < "u" ? !localStorage.getItem(i) : !1);
|
|
3943
|
+
he(() => {
|
|
3944
|
+
const L = localStorage.getItem(i);
|
|
3945
|
+
T(!L);
|
|
3946
|
+
}, [i]);
|
|
3947
|
+
const S = () => {
|
|
3948
|
+
localStorage.setItem(i, u), T(!1), a();
|
|
3949
|
+
};
|
|
3950
|
+
return E ? /* @__PURE__ */ n(
|
|
3951
|
+
"article",
|
|
3952
|
+
{
|
|
3953
|
+
className: m(
|
|
3954
|
+
"w-4/5 max-w-[300px] h-auto rounded-2xl",
|
|
3955
|
+
"bg-white dark:bg-surface-secondary",
|
|
3956
|
+
"shadow-[rgba(60,64,67,0.3)_0_1px_2px_0,rgba(60,64,67,0.15)_0_2px_6px_2px]",
|
|
3957
|
+
"dark:shadow-[rgba(0,0,0,0.3)_0_1px_2px_0,rgba(0,0,0,0.15)_0_2px_6px_2px]",
|
|
3958
|
+
_
|
|
3959
|
+
),
|
|
3960
|
+
children: /* @__PURE__ */ g("div", { className: m("flex flex-col items-center justify-between pt-9 px-6 pb-6 relative", C), children: [
|
|
3961
|
+
b && /* @__PURE__ */ n("span", { className: m("relative mx-auto -mt-16 mb-8 text-zinc-700 dark:text-zinc-300", v), children: b }),
|
|
3962
|
+
/* @__PURE__ */ n("h5", { className: "text-sm font-semibold mb-2 text-left mr-auto text-zinc-700 dark:text-text-primary", children: e }),
|
|
3963
|
+
/* @__PURE__ */ n("p", { className: "w-full mb-4 text-sm text-justify text-zinc-600 dark:text-text-secondary", children: r }),
|
|
3964
|
+
/* @__PURE__ */ n("p", { className: "w-full mb-4 text-sm text-justify text-zinc-600 dark:text-text-secondary", children: /* @__PURE__ */ n(
|
|
3965
|
+
"a",
|
|
3966
|
+
{
|
|
3967
|
+
href: o,
|
|
3968
|
+
className: "mb-2 text-sm cursor-pointer font-semibold transition-colors underline underline-offset-2 text-zinc-700 dark:text-text-primary",
|
|
3969
|
+
target: w,
|
|
3970
|
+
rel: k,
|
|
3971
|
+
children: t
|
|
3972
|
+
}
|
|
3973
|
+
) }),
|
|
3974
|
+
/* @__PURE__ */ n(
|
|
3975
|
+
"button",
|
|
3976
|
+
{
|
|
3977
|
+
type: "button",
|
|
3978
|
+
onClick: c,
|
|
3979
|
+
className: m(
|
|
3980
|
+
"mb-2 text-sm mr-auto text-zinc-600 dark:text-text-secondary",
|
|
3981
|
+
"cursor-pointer font-semibold transition-colors",
|
|
3982
|
+
"hover:text-[#634647] dark:hover:text-[#ddad81]",
|
|
3983
|
+
"hover:underline underline-offset-2",
|
|
3984
|
+
"focus-visible:outline-2 focus-visible:outline-offset-2",
|
|
3985
|
+
"focus-visible:outline-[#634647] dark:focus-visible:outline-[#ddad81]",
|
|
3986
|
+
I
|
|
3987
|
+
),
|
|
3988
|
+
children: l
|
|
3989
|
+
}
|
|
3990
|
+
),
|
|
3991
|
+
/* @__PURE__ */ n(
|
|
3992
|
+
"button",
|
|
3993
|
+
{
|
|
3994
|
+
type: "button",
|
|
3995
|
+
onClick: S,
|
|
3996
|
+
className: m(
|
|
3997
|
+
"absolute font-semibold right-6 bottom-6",
|
|
3998
|
+
"cursor-pointer py-2 px-8 w-max break-keep",
|
|
3999
|
+
"text-sm rounded-lg transition-colors",
|
|
4000
|
+
"text-[#634647] hover:text-[#ddad81]",
|
|
4001
|
+
"bg-[#ddad81] hover:bg-[#634647]",
|
|
4002
|
+
"dark:text-white dark:bg-[#634647]",
|
|
4003
|
+
"dark:hover:bg-[#ddad81] dark:hover:text-[#634647]",
|
|
4004
|
+
"focus-visible:outline-2 focus-visible:outline-offset-2",
|
|
4005
|
+
"focus-visible:outline-[#634647] dark:focus-visible:outline-[#ddad81]",
|
|
4006
|
+
z
|
|
4007
|
+
),
|
|
4008
|
+
children: s
|
|
4009
|
+
}
|
|
4010
|
+
)
|
|
4011
|
+
] })
|
|
4012
|
+
}
|
|
4013
|
+
) : null;
|
|
4014
|
+
}, Ue = {
|
|
4015
|
+
neutral: {
|
|
4016
|
+
icon: "text-zinc-600 dark:text-zinc-400",
|
|
4017
|
+
buttonVariant: "primary"
|
|
4018
|
+
},
|
|
4019
|
+
danger: {
|
|
4020
|
+
icon: "text-red-600 dark:text-red-400",
|
|
4021
|
+
buttonVariant: "danger"
|
|
4022
|
+
},
|
|
4023
|
+
warning: {
|
|
4024
|
+
icon: "text-yellow-600 dark:text-yellow-400",
|
|
4025
|
+
buttonVariant: "secondary"
|
|
4026
|
+
},
|
|
4027
|
+
info: {
|
|
4028
|
+
icon: "text-blue-600 dark:text-blue-400",
|
|
4029
|
+
buttonVariant: "primary"
|
|
4030
|
+
}
|
|
4031
|
+
}, Ye = y.forwardRef(({ className: e, children: r, role: o, "aria-modal": t, "aria-labelledby": s, "aria-describedby": l }, a) => /* @__PURE__ */ n(
|
|
4032
|
+
"div",
|
|
4033
|
+
{
|
|
4034
|
+
ref: a,
|
|
4035
|
+
role: o,
|
|
4036
|
+
"aria-modal": t,
|
|
4037
|
+
"aria-labelledby": s,
|
|
4038
|
+
"aria-describedby": l,
|
|
4039
|
+
className: m(
|
|
4040
|
+
"w-full max-w-md",
|
|
4041
|
+
"bg-white dark:bg-surface-secondary",
|
|
4042
|
+
"rounded-lg",
|
|
4043
|
+
"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]",
|
|
4044
|
+
"p-6",
|
|
4045
|
+
"flex flex-col items-center",
|
|
4046
|
+
"gap-4",
|
|
4047
|
+
"relative",
|
|
4048
|
+
"overflow-hidden",
|
|
4049
|
+
"transform transition-all duration-200",
|
|
4050
|
+
e
|
|
4051
|
+
),
|
|
4052
|
+
children: r
|
|
4053
|
+
}
|
|
4054
|
+
));
|
|
4055
|
+
Ye.displayName = "ConfirmModalCard";
|
|
4056
|
+
const Rr = ({
|
|
4057
|
+
className: e,
|
|
4058
|
+
children: r
|
|
4059
|
+
}) => /* @__PURE__ */ n("div", { className: m("flex items-center justify-center mb-2", e), children: r }), Er = ({
|
|
4060
|
+
confirmLabel: e,
|
|
4061
|
+
cancelLabel: r,
|
|
4062
|
+
variant: o,
|
|
4063
|
+
onConfirm: t,
|
|
4064
|
+
onCancel: s,
|
|
4065
|
+
confirmButtonClassName: l,
|
|
4066
|
+
cancelButtonClassName: a
|
|
4067
|
+
}) => {
|
|
4068
|
+
const c = Ue[o];
|
|
4069
|
+
return /* @__PURE__ */ g("div", { className: "flex gap-4 flex-row w-full justify-center mt-2", children: [
|
|
4070
|
+
/* @__PURE__ */ n(
|
|
4071
|
+
ie,
|
|
4072
|
+
{
|
|
4073
|
+
type: "button",
|
|
4074
|
+
variant: "ghost",
|
|
4075
|
+
size: "sm",
|
|
4076
|
+
onClick: s,
|
|
4077
|
+
className: a,
|
|
4078
|
+
children: r
|
|
4079
|
+
}
|
|
4080
|
+
),
|
|
4081
|
+
/* @__PURE__ */ n(
|
|
4082
|
+
ie,
|
|
4083
|
+
{
|
|
4084
|
+
type: "button",
|
|
4085
|
+
variant: c.buttonVariant,
|
|
4086
|
+
size: "sm",
|
|
4087
|
+
onClick: t,
|
|
4088
|
+
className: l,
|
|
4089
|
+
children: e
|
|
4090
|
+
}
|
|
4091
|
+
)
|
|
4092
|
+
] });
|
|
4093
|
+
}, ro = ({
|
|
4094
|
+
isOpen: e,
|
|
4095
|
+
title: r,
|
|
4096
|
+
description: o,
|
|
4097
|
+
icon: t,
|
|
4098
|
+
confirmLabel: s,
|
|
4099
|
+
cancelLabel: l,
|
|
4100
|
+
variant: a = "neutral",
|
|
4101
|
+
onConfirm: c,
|
|
4102
|
+
onCancel: i,
|
|
4103
|
+
onClose: u,
|
|
4104
|
+
className: b,
|
|
4105
|
+
iconClassName: _,
|
|
4106
|
+
contentClassName: w,
|
|
4107
|
+
confirmButtonClassName: k,
|
|
4108
|
+
cancelButtonClassName: v
|
|
4109
|
+
}) => {
|
|
4110
|
+
const C = X(null), z = X(`confirm-modal-title-${Math.random().toString(36).substr(2, 9)}`).current, I = X(`confirm-modal-description-${Math.random().toString(36).substr(2, 9)}`).current;
|
|
4111
|
+
if (he(() => {
|
|
4112
|
+
if (!e) return;
|
|
4113
|
+
const S = C.current;
|
|
4114
|
+
if (!S) return;
|
|
4115
|
+
const L = Array.from(
|
|
4116
|
+
S.querySelectorAll(
|
|
4117
|
+
'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'
|
|
4118
|
+
)
|
|
4119
|
+
).filter((V) => !V.hasAttribute("disabled") && V.offsetParent !== null), A = L[0], H = L[L.length - 1];
|
|
4120
|
+
A && A.focus();
|
|
4121
|
+
const h = (V) => {
|
|
4122
|
+
V.key === "Escape" && u();
|
|
4123
|
+
}, P = (V) => {
|
|
4124
|
+
if (V.key === "Tab") {
|
|
4125
|
+
if (L.length === 0) {
|
|
4126
|
+
V.preventDefault();
|
|
4127
|
+
return;
|
|
4128
|
+
}
|
|
4129
|
+
V.shiftKey ? document.activeElement === A && (V.preventDefault(), H?.focus()) : document.activeElement === H && (V.preventDefault(), A?.focus());
|
|
4130
|
+
}
|
|
4131
|
+
};
|
|
4132
|
+
return document.addEventListener("keydown", h), document.addEventListener("keydown", P), () => {
|
|
4133
|
+
document.removeEventListener("keydown", h), document.removeEventListener("keydown", P);
|
|
4134
|
+
};
|
|
4135
|
+
}, [e, u]), !e)
|
|
4136
|
+
return null;
|
|
4137
|
+
const E = Ue[a], T = (S) => {
|
|
4138
|
+
S.target === S.currentTarget && u();
|
|
4139
|
+
};
|
|
4140
|
+
return /* @__PURE__ */ n(
|
|
4141
|
+
"div",
|
|
4142
|
+
{
|
|
4143
|
+
className: m(
|
|
4144
|
+
"fixed inset-0 z-50",
|
|
4145
|
+
"flex items-center justify-center",
|
|
4146
|
+
"p-4",
|
|
4147
|
+
"bg-black/20 dark:bg-black/40",
|
|
4148
|
+
"transition-opacity duration-200",
|
|
4149
|
+
b
|
|
4150
|
+
),
|
|
4151
|
+
onClick: T,
|
|
4152
|
+
role: "presentation",
|
|
4153
|
+
children: /* @__PURE__ */ g(
|
|
4154
|
+
Ye,
|
|
4155
|
+
{
|
|
4156
|
+
ref: C,
|
|
4157
|
+
role: "dialog",
|
|
4158
|
+
"aria-modal": !0,
|
|
4159
|
+
"aria-labelledby": z,
|
|
4160
|
+
"aria-describedby": I,
|
|
4161
|
+
className: "transform transition-all duration-200 scale-100",
|
|
4162
|
+
children: [
|
|
4163
|
+
t && /* @__PURE__ */ n(Rr, { className: m(E.icon, _), children: t }),
|
|
4164
|
+
/* @__PURE__ */ g("div", { className: m("flex flex-col items-center text-center gap-2 w-full", w), children: [
|
|
4165
|
+
/* @__PURE__ */ n(
|
|
4166
|
+
"h2",
|
|
4167
|
+
{
|
|
4168
|
+
id: z,
|
|
4169
|
+
className: "text-lg font-bold text-zinc-900 dark:text-text-primary",
|
|
4170
|
+
children: r
|
|
4171
|
+
}
|
|
4172
|
+
),
|
|
4173
|
+
/* @__PURE__ */ n(
|
|
4174
|
+
"p",
|
|
4175
|
+
{
|
|
4176
|
+
id: I,
|
|
4177
|
+
className: "text-sm font-semibold text-zinc-600 dark:text-text-secondary whitespace-pre-line",
|
|
4178
|
+
children: o
|
|
4179
|
+
}
|
|
4180
|
+
)
|
|
4181
|
+
] }),
|
|
4182
|
+
/* @__PURE__ */ n(
|
|
4183
|
+
Er,
|
|
4184
|
+
{
|
|
4185
|
+
confirmLabel: s,
|
|
4186
|
+
cancelLabel: l,
|
|
4187
|
+
variant: a,
|
|
4188
|
+
onConfirm: c,
|
|
4189
|
+
onCancel: i,
|
|
4190
|
+
confirmButtonClassName: k,
|
|
4191
|
+
cancelButtonClassName: v
|
|
4192
|
+
}
|
|
4193
|
+
)
|
|
4194
|
+
]
|
|
4195
|
+
}
|
|
4196
|
+
)
|
|
4197
|
+
}
|
|
4198
|
+
);
|
|
4199
|
+
};
|
|
3923
4200
|
export {
|
|
3924
|
-
|
|
3925
|
-
|
|
3926
|
-
|
|
3927
|
-
|
|
3928
|
-
|
|
3929
|
-
|
|
3930
|
-
|
|
3931
|
-
|
|
3932
|
-
|
|
3933
|
-
|
|
3934
|
-
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
|
-
|
|
3938
|
-
|
|
3939
|
-
|
|
3940
|
-
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
|
|
3946
|
-
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
|
|
3950
|
-
|
|
3951
|
-
|
|
4201
|
+
ie as Button,
|
|
4202
|
+
Gr as Card,
|
|
4203
|
+
Fr as CardContent,
|
|
4204
|
+
$r as CardFooter,
|
|
4205
|
+
Br as CardHeader,
|
|
4206
|
+
Jt as Checkbox,
|
|
4207
|
+
ro as ConfirmModal,
|
|
4208
|
+
eo as ContextMenu,
|
|
4209
|
+
Lr as ContextMenuGroup,
|
|
4210
|
+
Ar as ContextMenuItem,
|
|
4211
|
+
Ir as ContextMenuSeparator,
|
|
4212
|
+
to as CookieConsent,
|
|
4213
|
+
Yr as Form,
|
|
4214
|
+
Kr as FormButton,
|
|
4215
|
+
Xr as FormField,
|
|
4216
|
+
Jr as FormFooter,
|
|
4217
|
+
Qr as FormFooterLink,
|
|
4218
|
+
De as Input,
|
|
4219
|
+
Wr as Loader,
|
|
4220
|
+
Or as RadioButton,
|
|
4221
|
+
Dr as RadioGroup,
|
|
4222
|
+
mr as SearchBar,
|
|
4223
|
+
yr as SocialLinks,
|
|
4224
|
+
Hr as Spinner,
|
|
4225
|
+
jr as SubmitButton,
|
|
4226
|
+
Zr as ThemeProvider,
|
|
4227
|
+
Ur as ThemeSwitch,
|
|
4228
|
+
Pr as Toggle,
|
|
4229
|
+
qr as Tooltip,
|
|
4230
|
+
or as useTheme
|
|
3952
4231
|
};
|