@possibly6400/ui-kit 1.0.11 → 1.0.13
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 +198 -12
- package/dist/index.js +1 -1
- package/dist/index.mjs +828 -733
- 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
|
|
2
|
-
import y, { useState as
|
|
3
|
-
function
|
|
1
|
+
import { jsxs as g, jsx as n, Fragment as qe } from "react/jsx-runtime";
|
|
2
|
+
import y, { useState as ue, useId as Ue, useRef as pe, createContext as Ye, useContext as Ke, useEffect as Xe } from "react";
|
|
3
|
+
function Le(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
|
-
var
|
|
8
|
-
for (r = 0; r <
|
|
7
|
+
var s = e.length;
|
|
8
|
+
for (r = 0; r < s; r++) e[r] && (o = Le(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 = "",
|
|
12
|
+
function Je() {
|
|
13
|
+
for (var e, r, o = 0, t = "", s = arguments.length; o < s; o++) (e = arguments[o]) && (r = Le(e)) && (t && (t += " "), t += r);
|
|
14
14
|
return t;
|
|
15
15
|
}
|
|
16
|
-
const
|
|
16
|
+
const Qe = (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
|
+
}, et = (e, r) => ({
|
|
24
24
|
classGroupId: e,
|
|
25
25
|
validator: r
|
|
26
|
-
}),
|
|
26
|
+
}), Ae = (e = /* @__PURE__ */ new Map(), r = null, o) => ({
|
|
27
27
|
nextPart: e,
|
|
28
28
|
validators: r,
|
|
29
29
|
classGroupId: o
|
|
30
|
-
}), se = "-",
|
|
31
|
-
const r =
|
|
30
|
+
}), se = "-", ke = [], tt = "arbitrary..", rt = (e) => {
|
|
31
|
+
const r = nt(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
|
|
40
|
-
return
|
|
38
|
+
return ot(a);
|
|
39
|
+
const c = a.split(se), i = c[0] === "" && c.length > 1 ? 1 : 0;
|
|
40
|
+
return Ie(c, i, r);
|
|
41
41
|
},
|
|
42
|
-
getConflictingClassGroupIds: (a,
|
|
43
|
-
if (
|
|
44
|
-
const i = t[a],
|
|
45
|
-
return i ?
|
|
42
|
+
getConflictingClassGroupIds: (a, c) => {
|
|
43
|
+
if (c) {
|
|
44
|
+
const i = t[a], u = o[a];
|
|
45
|
+
return i ? u ? Qe(u, i) : i : u || ke;
|
|
46
46
|
}
|
|
47
|
-
return o[a] ||
|
|
47
|
+
return o[a] || ke;
|
|
48
48
|
}
|
|
49
49
|
};
|
|
50
|
-
},
|
|
50
|
+
}, Ie = (e, r, o) => {
|
|
51
51
|
if (e.length - r === 0)
|
|
52
52
|
return o.classGroupId;
|
|
53
|
-
const
|
|
53
|
+
const s = e[r], l = o.nextPart.get(s);
|
|
54
54
|
if (l) {
|
|
55
|
-
const
|
|
56
|
-
if (
|
|
55
|
+
const u = Ie(e, r + 1, l);
|
|
56
|
+
if (u) return u;
|
|
57
57
|
}
|
|
58
58
|
const a = o.validators;
|
|
59
59
|
if (a === null)
|
|
60
60
|
return;
|
|
61
|
-
const
|
|
62
|
-
for (let
|
|
63
|
-
const
|
|
64
|
-
if (
|
|
65
|
-
return
|
|
61
|
+
const c = r === 0 ? e.join(se) : e.slice(r).join(se), i = a.length;
|
|
62
|
+
for (let u = 0; u < i; u++) {
|
|
63
|
+
const b = a[u];
|
|
64
|
+
if (b.validator(c))
|
|
65
|
+
return b.classGroupId;
|
|
66
66
|
}
|
|
67
|
-
},
|
|
67
|
+
}, ot = (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 ? tt + t : void 0;
|
|
70
|
+
})(), nt = (e) => {
|
|
71
71
|
const {
|
|
72
72
|
theme: r,
|
|
73
73
|
classGroups: o
|
|
74
74
|
} = e;
|
|
75
|
-
return
|
|
76
|
-
},
|
|
77
|
-
const o =
|
|
75
|
+
return st(o, r);
|
|
76
|
+
}, st = (e, r) => {
|
|
77
|
+
const o = Ae();
|
|
78
78
|
for (const t in e) {
|
|
79
|
-
const
|
|
80
|
-
|
|
79
|
+
const s = e[t];
|
|
80
|
+
fe(s, o, t, r);
|
|
81
81
|
}
|
|
82
82
|
return o;
|
|
83
|
-
},
|
|
84
|
-
const
|
|
85
|
-
for (let l = 0; l <
|
|
83
|
+
}, fe = (e, r, o, t) => {
|
|
84
|
+
const s = e.length;
|
|
85
|
+
for (let l = 0; l < s; l++) {
|
|
86
86
|
const a = e[l];
|
|
87
|
-
|
|
87
|
+
at(a, r, o, t);
|
|
88
88
|
}
|
|
89
|
-
},
|
|
89
|
+
}, at = (e, r, o, t) => {
|
|
90
90
|
if (typeof e == "string") {
|
|
91
|
-
|
|
91
|
+
lt(e, r, o);
|
|
92
92
|
return;
|
|
93
93
|
}
|
|
94
94
|
if (typeof e == "function") {
|
|
95
|
-
|
|
95
|
+
it(e, r, o, t);
|
|
96
96
|
return;
|
|
97
97
|
}
|
|
98
|
-
|
|
99
|
-
},
|
|
100
|
-
const t = e === "" ? r :
|
|
98
|
+
ct(e, r, o, t);
|
|
99
|
+
}, lt = (e, r, o) => {
|
|
100
|
+
const t = e === "" ? r : Re(r, e);
|
|
101
101
|
t.classGroupId = o;
|
|
102
|
-
},
|
|
103
|
-
if (
|
|
104
|
-
|
|
102
|
+
}, it = (e, r, o, t) => {
|
|
103
|
+
if (dt(e)) {
|
|
104
|
+
fe(e(t), r, o, t);
|
|
105
105
|
return;
|
|
106
106
|
}
|
|
107
|
-
r.validators === null && (r.validators = []), r.validators.push(
|
|
108
|
-
},
|
|
109
|
-
const
|
|
107
|
+
r.validators === null && (r.validators = []), r.validators.push(et(o, e));
|
|
108
|
+
}, ct = (e, r, o, t) => {
|
|
109
|
+
const s = Object.entries(e), l = s.length;
|
|
110
110
|
for (let a = 0; a < l; a++) {
|
|
111
|
-
const [
|
|
112
|
-
|
|
111
|
+
const [c, i] = s[a];
|
|
112
|
+
fe(i, Re(r, c), o, t);
|
|
113
113
|
}
|
|
114
|
-
},
|
|
114
|
+
}, Re = (e, r) => {
|
|
115
115
|
let o = e;
|
|
116
|
-
const t = r.split(se),
|
|
117
|
-
for (let l = 0; l <
|
|
116
|
+
const t = r.split(se), s = t.length;
|
|
117
|
+
for (let l = 0; l < s; l++) {
|
|
118
118
|
const a = t[l];
|
|
119
|
-
let
|
|
120
|
-
|
|
119
|
+
let c = o.nextPart.get(a);
|
|
120
|
+
c || (c = Ae(), o.nextPart.set(a, c)), o = c;
|
|
121
121
|
}
|
|
122
122
|
return o;
|
|
123
|
-
},
|
|
123
|
+
}, dt = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, pt = (e) => {
|
|
124
124
|
if (e < 1)
|
|
125
125
|
return {
|
|
126
126
|
get: () => {
|
|
@@ -129,7 +129,7 @@ const Ke = (e, r) => {
|
|
|
129
129
|
}
|
|
130
130
|
};
|
|
131
131
|
let r = 0, o = /* @__PURE__ */ Object.create(null), t = /* @__PURE__ */ Object.create(null);
|
|
132
|
-
const
|
|
132
|
+
const s = (l, a) => {
|
|
133
133
|
o[l] = a, r++, r > e && (r = 0, t = o, o = /* @__PURE__ */ Object.create(null));
|
|
134
134
|
};
|
|
135
135
|
return {
|
|
@@ -138,168 +138,168 @@ const Ke = (e, r) => {
|
|
|
138
138
|
if (a !== void 0)
|
|
139
139
|
return a;
|
|
140
140
|
if ((a = t[l]) !== void 0)
|
|
141
|
-
return
|
|
141
|
+
return s(l, a), a;
|
|
142
142
|
},
|
|
143
143
|
set(l, a) {
|
|
144
|
-
l in o ? o[l] = a :
|
|
144
|
+
l in o ? o[l] = a : s(l, a);
|
|
145
145
|
}
|
|
146
146
|
};
|
|
147
|
-
},
|
|
147
|
+
}, me = "!", Ce = ":", mt = [], ze = (e, r, o, t, s) => ({
|
|
148
148
|
modifiers: e,
|
|
149
149
|
hasImportantModifier: r,
|
|
150
150
|
baseClassName: o,
|
|
151
151
|
maybePostfixModifierPosition: t,
|
|
152
|
-
isExternal:
|
|
153
|
-
}),
|
|
152
|
+
isExternal: s
|
|
153
|
+
}), ut = (e) => {
|
|
154
154
|
const {
|
|
155
155
|
prefix: r,
|
|
156
156
|
experimentalParseClassName: o
|
|
157
157
|
} = e;
|
|
158
|
-
let t = (
|
|
158
|
+
let t = (s) => {
|
|
159
159
|
const l = [];
|
|
160
|
-
let a = 0,
|
|
161
|
-
const
|
|
162
|
-
for (let
|
|
163
|
-
const
|
|
164
|
-
if (a === 0 &&
|
|
165
|
-
if (
|
|
166
|
-
l.push(
|
|
160
|
+
let a = 0, c = 0, i = 0, u;
|
|
161
|
+
const b = s.length;
|
|
162
|
+
for (let N = 0; N < b; N++) {
|
|
163
|
+
const M = s[N];
|
|
164
|
+
if (a === 0 && c === 0) {
|
|
165
|
+
if (M === Ce) {
|
|
166
|
+
l.push(s.slice(i, N)), i = N + 1;
|
|
167
167
|
continue;
|
|
168
168
|
}
|
|
169
|
-
if (
|
|
170
|
-
|
|
169
|
+
if (M === "/") {
|
|
170
|
+
u = N;
|
|
171
171
|
continue;
|
|
172
172
|
}
|
|
173
173
|
}
|
|
174
|
-
|
|
174
|
+
M === "[" ? a++ : M === "]" ? a-- : M === "(" ? c++ : M === ")" && c--;
|
|
175
175
|
}
|
|
176
|
-
const _ = l.length === 0 ?
|
|
177
|
-
let w = _,
|
|
178
|
-
_.endsWith(
|
|
176
|
+
const _ = l.length === 0 ? s : s.slice(i);
|
|
177
|
+
let w = _, C = !1;
|
|
178
|
+
_.endsWith(me) ? (w = _.slice(0, -1), C = !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(me) && (w = _.slice(1), C = !0)
|
|
184
184
|
);
|
|
185
|
-
const v =
|
|
186
|
-
return
|
|
185
|
+
const v = u && u > i ? u - i : void 0;
|
|
186
|
+
return ze(l, C, w, v);
|
|
187
187
|
};
|
|
188
188
|
if (r) {
|
|
189
|
-
const
|
|
190
|
-
t = (a) => a.startsWith(
|
|
189
|
+
const s = r + Ce, l = t;
|
|
190
|
+
t = (a) => a.startsWith(s) ? l(a.slice(s.length)) : ze(mt, !1, a, void 0, !0);
|
|
191
191
|
}
|
|
192
192
|
if (o) {
|
|
193
|
-
const
|
|
193
|
+
const s = t;
|
|
194
194
|
t = (l) => o({
|
|
195
195
|
className: l,
|
|
196
|
-
parseClassName:
|
|
196
|
+
parseClassName: s
|
|
197
197
|
});
|
|
198
198
|
}
|
|
199
199
|
return t;
|
|
200
|
-
},
|
|
200
|
+
}, ft = (e) => {
|
|
201
201
|
const r = /* @__PURE__ */ new Map();
|
|
202
202
|
return e.orderSensitiveModifiers.forEach((o, t) => {
|
|
203
203
|
r.set(o, 1e6 + t);
|
|
204
204
|
}), (o) => {
|
|
205
205
|
const t = [];
|
|
206
|
-
let
|
|
206
|
+
let s = [];
|
|
207
207
|
for (let l = 0; l < o.length; l++) {
|
|
208
|
-
const a = o[l],
|
|
209
|
-
|
|
208
|
+
const a = o[l], c = a[0] === "[", i = r.has(a);
|
|
209
|
+
c || i ? (s.length > 0 && (s.sort(), t.push(...s), s = []), t.push(a)) : s.push(a);
|
|
210
210
|
}
|
|
211
|
-
return
|
|
211
|
+
return s.length > 0 && (s.sort(), t.push(...s)), t;
|
|
212
212
|
};
|
|
213
|
-
},
|
|
214
|
-
cache:
|
|
215
|
-
parseClassName:
|
|
216
|
-
sortModifiers:
|
|
217
|
-
...
|
|
218
|
-
}),
|
|
213
|
+
}, ht = (e) => ({
|
|
214
|
+
cache: pt(e.cacheSize),
|
|
215
|
+
parseClassName: ut(e),
|
|
216
|
+
sortModifiers: ft(e),
|
|
217
|
+
...rt(e)
|
|
218
|
+
}), bt = /\s+/, xt = (e, r) => {
|
|
219
219
|
const {
|
|
220
220
|
parseClassName: o,
|
|
221
221
|
getClassGroupId: t,
|
|
222
|
-
getConflictingClassGroupIds:
|
|
222
|
+
getConflictingClassGroupIds: s,
|
|
223
223
|
sortModifiers: l
|
|
224
|
-
} = r, a = [],
|
|
224
|
+
} = r, a = [], c = e.trim().split(bt);
|
|
225
225
|
let i = "";
|
|
226
|
-
for (let
|
|
227
|
-
const
|
|
226
|
+
for (let u = c.length - 1; u >= 0; u -= 1) {
|
|
227
|
+
const b = c[u], {
|
|
228
228
|
isExternal: _,
|
|
229
229
|
modifiers: w,
|
|
230
|
-
hasImportantModifier:
|
|
230
|
+
hasImportantModifier: C,
|
|
231
231
|
baseClassName: v,
|
|
232
|
-
maybePostfixModifierPosition:
|
|
233
|
-
} = o(
|
|
232
|
+
maybePostfixModifierPosition: N
|
|
233
|
+
} = o(b);
|
|
234
234
|
if (_) {
|
|
235
|
-
i =
|
|
235
|
+
i = b + (i.length > 0 ? " " + i : i);
|
|
236
236
|
continue;
|
|
237
237
|
}
|
|
238
|
-
let
|
|
239
|
-
if (!
|
|
240
|
-
if (!
|
|
241
|
-
i =
|
|
238
|
+
let M = !!N, R = t(M ? v.substring(0, N) : v);
|
|
239
|
+
if (!R) {
|
|
240
|
+
if (!M) {
|
|
241
|
+
i = b + (i.length > 0 ? " " + i : i);
|
|
242
242
|
continue;
|
|
243
243
|
}
|
|
244
|
-
if (
|
|
245
|
-
i =
|
|
244
|
+
if (R = t(v), !R) {
|
|
245
|
+
i = b + (i.length > 0 ? " " + i : i);
|
|
246
246
|
continue;
|
|
247
247
|
}
|
|
248
|
-
|
|
248
|
+
M = !1;
|
|
249
249
|
}
|
|
250
|
-
const
|
|
251
|
-
if (a.indexOf(
|
|
250
|
+
const T = w.length === 0 ? "" : w.length === 1 ? w[0] : l(w).join(":"), P = C ? T + me : T, G = P + R;
|
|
251
|
+
if (a.indexOf(G) > -1)
|
|
252
252
|
continue;
|
|
253
|
-
a.push(
|
|
254
|
-
const V =
|
|
253
|
+
a.push(G);
|
|
254
|
+
const V = s(R, M);
|
|
255
255
|
for (let A = 0; A < V.length; ++A) {
|
|
256
|
-
const
|
|
257
|
-
a.push(
|
|
256
|
+
const K = V[A];
|
|
257
|
+
a.push(P + K);
|
|
258
258
|
}
|
|
259
|
-
i =
|
|
259
|
+
i = b + (i.length > 0 ? " " + i : i);
|
|
260
260
|
}
|
|
261
261
|
return i;
|
|
262
|
-
},
|
|
263
|
-
let r = 0, o, t,
|
|
262
|
+
}, gt = (...e) => {
|
|
263
|
+
let r = 0, o, t, s = "";
|
|
264
264
|
for (; r < e.length; )
|
|
265
|
-
(o = e[r++]) && (t =
|
|
266
|
-
return
|
|
267
|
-
},
|
|
265
|
+
(o = e[r++]) && (t = Te(o)) && (s && (s += " "), s += t);
|
|
266
|
+
return s;
|
|
267
|
+
}, Te = (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 = Te(e[t])) && (o && (o += " "), o += r);
|
|
273
273
|
return o;
|
|
274
|
-
},
|
|
275
|
-
let o, t,
|
|
274
|
+
}, _t = (e, ...r) => {
|
|
275
|
+
let o, t, s, l;
|
|
276
276
|
const a = (i) => {
|
|
277
|
-
const
|
|
278
|
-
return o =
|
|
279
|
-
},
|
|
280
|
-
const
|
|
281
|
-
if (
|
|
282
|
-
return
|
|
283
|
-
const
|
|
284
|
-
return
|
|
277
|
+
const u = r.reduce((b, _) => _(b), e());
|
|
278
|
+
return o = ht(u), t = o.cache.get, s = o.cache.set, l = c, c(i);
|
|
279
|
+
}, c = (i) => {
|
|
280
|
+
const u = t(i);
|
|
281
|
+
if (u)
|
|
282
|
+
return u;
|
|
283
|
+
const b = xt(i, o);
|
|
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(gt(...i));
|
|
287
|
+
}, wt = [], k = (e) => {
|
|
288
|
+
const r = (o) => o[e] || wt;
|
|
289
289
|
return r.isThemeGetter = !0, r;
|
|
290
|
-
},
|
|
290
|
+
}, Ee = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Pe = /^\((?:(\w[\w-]*):)?(.+)\)$/i, vt = /^\d+\/\d+$/, yt = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, kt = /\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$/, Ct = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, zt = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Nt = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, q = (e) => vt.test(e), x = (e) => !!e && !Number.isNaN(Number(e)), $ = (e) => !!e && Number.isInteger(Number(e)), ce = (e) => e.endsWith("%") && x(e.slice(0, -1)), B = (e) => yt.test(e), Mt = () => !0, St = (e) => (
|
|
291
291
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
292
292
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
293
293
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
294
|
-
|
|
295
|
-
),
|
|
296
|
-
const t =
|
|
294
|
+
kt.test(e) && !Ct.test(e)
|
|
295
|
+
), Ge = () => !1, Lt = (e) => zt.test(e), At = (e) => Nt.test(e), It = (e) => !d(e) && !p(e), Rt = (e) => U(e, je, Ge), d = (e) => Ee.test(e), W = (e) => U(e, Be, St), de = (e) => U(e, Vt, x), Ne = (e) => U(e, Ve, Ge), Tt = (e) => U(e, Fe, At), oe = (e) => U(e, $e, Lt), p = (e) => Pe.test(e), X = (e) => Y(e, Be), Et = (e) => Y(e, Ft), Me = (e) => Y(e, Ve), Pt = (e) => Y(e, je), Gt = (e) => Y(e, Fe), ne = (e) => Y(e, $e, !0), U = (e, r, o) => {
|
|
296
|
+
const t = Ee.exec(e);
|
|
297
297
|
return t ? t[1] ? r(t[1]) : o(t[2]) : !1;
|
|
298
|
-
},
|
|
299
|
-
const t =
|
|
298
|
+
}, Y = (e, r, o = !1) => {
|
|
299
|
+
const t = Pe.exec(e);
|
|
300
300
|
return t ? t[1] ? r(t[1]) : o : !1;
|
|
301
|
-
}, Ve = (e) => e === "position" || e === "percentage",
|
|
302
|
-
const e = k("color"), r = k("font"), o = k("text"), t = k("font-weight"),
|
|
301
|
+
}, Ve = (e) => e === "position" || e === "percentage", Fe = (e) => e === "image" || e === "url", je = (e) => e === "length" || e === "size" || e === "bg-size", Be = (e) => e === "length", Vt = (e) => e === "number", Ft = (e) => e === "family-name", $e = (e) => e === "shadow", jt = () => {
|
|
302
|
+
const e = k("color"), r = k("font"), o = k("text"), t = k("font-weight"), s = k("tracking"), l = k("leading"), a = k("breakpoint"), c = k("container"), i = k("spacing"), u = k("radius"), b = k("shadow"), _ = k("inset-shadow"), w = k("text-shadow"), C = k("drop-shadow"), v = k("blur"), N = k("perspective"), M = k("aspect"), R = k("ease"), T = k("animate"), P = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], G = () => [
|
|
303
303
|
"center",
|
|
304
304
|
"top",
|
|
305
305
|
"bottom",
|
|
@@ -317,51 +317,51 @@ const Ke = (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
|
-
], V = () => [...
|
|
321
|
-
span: ["full",
|
|
322
|
-
},
|
|
323
|
-
position: [
|
|
324
|
-
}],
|
|
320
|
+
], V = () => [...G(), p, d], A = () => ["auto", "hidden", "clip", "visible", "scroll"], K = () => ["auto", "contain", "none"], h = () => [p, d, i], F = () => [q, "full", "auto", ...h()], he = () => [$, "none", "subgrid", p, d], be = () => ["auto", {
|
|
321
|
+
span: ["full", $, p, d]
|
|
322
|
+
}, $, p, d], J = () => [$, "auto", p, d], xe = () => ["auto", "min", "max", "fr", p, d], ae = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], Z = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], j = () => ["auto", ...h()], H = () => [q, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...h()], m = () => [e, p, d], ge = () => [...G(), Me, Ne, {
|
|
323
|
+
position: [p, d]
|
|
324
|
+
}], _e = () => ["no-repeat", {
|
|
325
325
|
repeat: ["", "x", "y", "space", "round"]
|
|
326
|
-
}],
|
|
327
|
-
size: [
|
|
328
|
-
}],
|
|
326
|
+
}], we = () => ["auto", "cover", "contain", Pt, Rt, {
|
|
327
|
+
size: [p, d]
|
|
328
|
+
}], le = () => [ce, X, W], S = () => [
|
|
329
329
|
// Deprecated since Tailwind CSS v4.0.0
|
|
330
330
|
"",
|
|
331
331
|
"none",
|
|
332
332
|
"full",
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
], L = () => ["",
|
|
333
|
+
u,
|
|
334
|
+
p,
|
|
335
|
+
d
|
|
336
|
+
], L = () => ["", x, X, W], Q = () => ["solid", "dashed", "dotted", "double"], ve = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], z = () => [x, ce, Me, Ne], ye = () => [
|
|
337
337
|
// Deprecated since Tailwind CSS v4.0.0
|
|
338
338
|
"",
|
|
339
339
|
"none",
|
|
340
340
|
v,
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
],
|
|
341
|
+
p,
|
|
342
|
+
d
|
|
343
|
+
], ee = () => ["none", x, p, d], te = () => ["none", x, p, d], ie = () => [x, p, d], re = () => [q, "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: [B],
|
|
350
|
+
breakpoint: [B],
|
|
351
|
+
color: [Mt],
|
|
352
|
+
container: [B],
|
|
353
|
+
"drop-shadow": [B],
|
|
354
354
|
ease: ["in", "out", "in-out"],
|
|
355
|
-
font: [
|
|
355
|
+
font: [It],
|
|
356
356
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
357
|
-
"inset-shadow": [
|
|
357
|
+
"inset-shadow": [B],
|
|
358
358
|
leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
|
|
359
359
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
360
|
-
radius: [
|
|
361
|
-
shadow: [
|
|
362
|
-
spacing: ["px",
|
|
363
|
-
text: [
|
|
364
|
-
"text-shadow": [
|
|
360
|
+
radius: [B],
|
|
361
|
+
shadow: [B],
|
|
362
|
+
spacing: ["px", x],
|
|
363
|
+
text: [B],
|
|
364
|
+
"text-shadow": [B],
|
|
365
365
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
366
366
|
},
|
|
367
367
|
classGroups: {
|
|
@@ -373,7 +373,7 @@ const Ke = (e, r) => {
|
|
|
373
373
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
374
374
|
*/
|
|
375
375
|
aspect: [{
|
|
376
|
-
aspect: ["auto", "square",
|
|
376
|
+
aspect: ["auto", "square", q, d, p, M]
|
|
377
377
|
}],
|
|
378
378
|
/**
|
|
379
379
|
* Container
|
|
@@ -386,21 +386,21 @@ const Ke = (e, r) => {
|
|
|
386
386
|
* @see https://tailwindcss.com/docs/columns
|
|
387
387
|
*/
|
|
388
388
|
columns: [{
|
|
389
|
-
columns: [
|
|
389
|
+
columns: [x, d, p, c]
|
|
390
390
|
}],
|
|
391
391
|
/**
|
|
392
392
|
* Break After
|
|
393
393
|
* @see https://tailwindcss.com/docs/break-after
|
|
394
394
|
*/
|
|
395
395
|
"break-after": [{
|
|
396
|
-
"break-after":
|
|
396
|
+
"break-after": P()
|
|
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": P()
|
|
404
404
|
}],
|
|
405
405
|
/**
|
|
406
406
|
* Break Inside
|
|
@@ -492,21 +492,21 @@ const Ke = (e, r) => {
|
|
|
492
492
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
493
493
|
*/
|
|
494
494
|
overscroll: [{
|
|
495
|
-
overscroll:
|
|
495
|
+
overscroll: K()
|
|
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": K()
|
|
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": K()
|
|
510
510
|
}],
|
|
511
511
|
/**
|
|
512
512
|
* Position
|
|
@@ -518,63 +518,63 @@ const Ke = (e, r) => {
|
|
|
518
518
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
519
519
|
*/
|
|
520
520
|
inset: [{
|
|
521
|
-
inset:
|
|
521
|
+
inset: F()
|
|
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": F()
|
|
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": F()
|
|
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: F()
|
|
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: F()
|
|
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: F()
|
|
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: F()
|
|
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: F()
|
|
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: F()
|
|
578
578
|
}],
|
|
579
579
|
/**
|
|
580
580
|
* Visibility
|
|
@@ -586,7 +586,7 @@ const Ke = (e, r) => {
|
|
|
586
586
|
* @see https://tailwindcss.com/docs/z-index
|
|
587
587
|
*/
|
|
588
588
|
z: [{
|
|
589
|
-
z: [
|
|
589
|
+
z: [$, "auto", p, d]
|
|
590
590
|
}],
|
|
591
591
|
// ------------------------
|
|
592
592
|
// --- Flexbox and Grid ---
|
|
@@ -596,7 +596,7 @@ const Ke = (e, r) => {
|
|
|
596
596
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
597
597
|
*/
|
|
598
598
|
basis: [{
|
|
599
|
-
basis: [
|
|
599
|
+
basis: [q, "full", "auto", c, ...h()]
|
|
600
600
|
}],
|
|
601
601
|
/**
|
|
602
602
|
* Flex Direction
|
|
@@ -617,84 +617,84 @@ const Ke = (e, r) => {
|
|
|
617
617
|
* @see https://tailwindcss.com/docs/flex
|
|
618
618
|
*/
|
|
619
619
|
flex: [{
|
|
620
|
-
flex: [
|
|
620
|
+
flex: [x, q, "auto", "initial", "none", d]
|
|
621
621
|
}],
|
|
622
622
|
/**
|
|
623
623
|
* Flex Grow
|
|
624
624
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
625
625
|
*/
|
|
626
626
|
grow: [{
|
|
627
|
-
grow: ["",
|
|
627
|
+
grow: ["", x, p, d]
|
|
628
628
|
}],
|
|
629
629
|
/**
|
|
630
630
|
* Flex Shrink
|
|
631
631
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
632
632
|
*/
|
|
633
633
|
shrink: [{
|
|
634
|
-
shrink: ["",
|
|
634
|
+
shrink: ["", x, p, d]
|
|
635
635
|
}],
|
|
636
636
|
/**
|
|
637
637
|
* Order
|
|
638
638
|
* @see https://tailwindcss.com/docs/order
|
|
639
639
|
*/
|
|
640
640
|
order: [{
|
|
641
|
-
order: [
|
|
641
|
+
order: [$, "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": he()
|
|
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: be()
|
|
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": J()
|
|
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": J()
|
|
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": he()
|
|
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: be()
|
|
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": J()
|
|
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": J()
|
|
698
698
|
}],
|
|
699
699
|
/**
|
|
700
700
|
* Grid Auto Flow
|
|
@@ -708,70 +708,70 @@ const Ke = (e, r) => {
|
|
|
708
708
|
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
709
709
|
*/
|
|
710
710
|
"auto-cols": [{
|
|
711
|
-
"auto-cols":
|
|
711
|
+
"auto-cols": xe()
|
|
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": xe()
|
|
719
719
|
}],
|
|
720
720
|
/**
|
|
721
721
|
* Gap
|
|
722
722
|
* @see https://tailwindcss.com/docs/gap
|
|
723
723
|
*/
|
|
724
724
|
gap: [{
|
|
725
|
-
gap:
|
|
725
|
+
gap: h()
|
|
726
726
|
}],
|
|
727
727
|
/**
|
|
728
728
|
* Gap X
|
|
729
729
|
* @see https://tailwindcss.com/docs/gap
|
|
730
730
|
*/
|
|
731
731
|
"gap-x": [{
|
|
732
|
-
"gap-x":
|
|
732
|
+
"gap-x": h()
|
|
733
733
|
}],
|
|
734
734
|
/**
|
|
735
735
|
* Gap Y
|
|
736
736
|
* @see https://tailwindcss.com/docs/gap
|
|
737
737
|
*/
|
|
738
738
|
"gap-y": [{
|
|
739
|
-
"gap-y":
|
|
739
|
+
"gap-y": h()
|
|
740
740
|
}],
|
|
741
741
|
/**
|
|
742
742
|
* Justify Content
|
|
743
743
|
* @see https://tailwindcss.com/docs/justify-content
|
|
744
744
|
*/
|
|
745
745
|
"justify-content": [{
|
|
746
|
-
justify: [...
|
|
746
|
+
justify: [...ae(), "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": [...Z(), "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", ...Z()]
|
|
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", ...ae()]
|
|
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: [...Z(), {
|
|
775
775
|
baseline: ["", "last"]
|
|
776
776
|
}]
|
|
777
777
|
}],
|
|
@@ -780,7 +780,7 @@ const Ke = (e, r) => {
|
|
|
780
780
|
* @see https://tailwindcss.com/docs/align-self
|
|
781
781
|
*/
|
|
782
782
|
"align-self": [{
|
|
783
|
-
self: ["auto", ...
|
|
783
|
+
self: ["auto", ...Z(), {
|
|
784
784
|
baseline: ["", "last"]
|
|
785
785
|
}]
|
|
786
786
|
}],
|
|
@@ -789,21 +789,21 @@ const Ke = (e, r) => {
|
|
|
789
789
|
* @see https://tailwindcss.com/docs/place-content
|
|
790
790
|
*/
|
|
791
791
|
"place-content": [{
|
|
792
|
-
"place-content":
|
|
792
|
+
"place-content": ae()
|
|
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": [...Z(), "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", ...Z()]
|
|
807
807
|
}],
|
|
808
808
|
// Spacing
|
|
809
809
|
/**
|
|
@@ -811,133 +811,133 @@ const Ke = (e, r) => {
|
|
|
811
811
|
* @see https://tailwindcss.com/docs/padding
|
|
812
812
|
*/
|
|
813
813
|
p: [{
|
|
814
|
-
p:
|
|
814
|
+
p: h()
|
|
815
815
|
}],
|
|
816
816
|
/**
|
|
817
817
|
* Padding X
|
|
818
818
|
* @see https://tailwindcss.com/docs/padding
|
|
819
819
|
*/
|
|
820
820
|
px: [{
|
|
821
|
-
px:
|
|
821
|
+
px: h()
|
|
822
822
|
}],
|
|
823
823
|
/**
|
|
824
824
|
* Padding Y
|
|
825
825
|
* @see https://tailwindcss.com/docs/padding
|
|
826
826
|
*/
|
|
827
827
|
py: [{
|
|
828
|
-
py:
|
|
828
|
+
py: h()
|
|
829
829
|
}],
|
|
830
830
|
/**
|
|
831
831
|
* Padding Start
|
|
832
832
|
* @see https://tailwindcss.com/docs/padding
|
|
833
833
|
*/
|
|
834
834
|
ps: [{
|
|
835
|
-
ps:
|
|
835
|
+
ps: h()
|
|
836
836
|
}],
|
|
837
837
|
/**
|
|
838
838
|
* Padding End
|
|
839
839
|
* @see https://tailwindcss.com/docs/padding
|
|
840
840
|
*/
|
|
841
841
|
pe: [{
|
|
842
|
-
pe:
|
|
842
|
+
pe: h()
|
|
843
843
|
}],
|
|
844
844
|
/**
|
|
845
845
|
* Padding Top
|
|
846
846
|
* @see https://tailwindcss.com/docs/padding
|
|
847
847
|
*/
|
|
848
848
|
pt: [{
|
|
849
|
-
pt:
|
|
849
|
+
pt: h()
|
|
850
850
|
}],
|
|
851
851
|
/**
|
|
852
852
|
* Padding Right
|
|
853
853
|
* @see https://tailwindcss.com/docs/padding
|
|
854
854
|
*/
|
|
855
855
|
pr: [{
|
|
856
|
-
pr:
|
|
856
|
+
pr: h()
|
|
857
857
|
}],
|
|
858
858
|
/**
|
|
859
859
|
* Padding Bottom
|
|
860
860
|
* @see https://tailwindcss.com/docs/padding
|
|
861
861
|
*/
|
|
862
862
|
pb: [{
|
|
863
|
-
pb:
|
|
863
|
+
pb: h()
|
|
864
864
|
}],
|
|
865
865
|
/**
|
|
866
866
|
* Padding Left
|
|
867
867
|
* @see https://tailwindcss.com/docs/padding
|
|
868
868
|
*/
|
|
869
869
|
pl: [{
|
|
870
|
-
pl:
|
|
870
|
+
pl: h()
|
|
871
871
|
}],
|
|
872
872
|
/**
|
|
873
873
|
* Margin
|
|
874
874
|
* @see https://tailwindcss.com/docs/margin
|
|
875
875
|
*/
|
|
876
876
|
m: [{
|
|
877
|
-
m:
|
|
877
|
+
m: j()
|
|
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: j()
|
|
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: j()
|
|
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: j()
|
|
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: j()
|
|
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: j()
|
|
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: j()
|
|
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: j()
|
|
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: j()
|
|
934
934
|
}],
|
|
935
935
|
/**
|
|
936
936
|
* Space Between X
|
|
937
937
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
938
938
|
*/
|
|
939
939
|
"space-x": [{
|
|
940
|
-
"space-x":
|
|
940
|
+
"space-x": h()
|
|
941
941
|
}],
|
|
942
942
|
/**
|
|
943
943
|
* Space Between X Reverse
|
|
@@ -949,7 +949,7 @@ const Ke = (e, r) => {
|
|
|
949
949
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
950
950
|
*/
|
|
951
951
|
"space-y": [{
|
|
952
|
-
"space-y":
|
|
952
|
+
"space-y": h()
|
|
953
953
|
}],
|
|
954
954
|
/**
|
|
955
955
|
* Space Between Y Reverse
|
|
@@ -971,7 +971,7 @@ const Ke = (e, r) => {
|
|
|
971
971
|
* @see https://tailwindcss.com/docs/width
|
|
972
972
|
*/
|
|
973
973
|
w: [{
|
|
974
|
-
w: [
|
|
974
|
+
w: [c, "screen", ...H()]
|
|
975
975
|
}],
|
|
976
976
|
/**
|
|
977
977
|
* Min-Width
|
|
@@ -979,7 +979,7 @@ const Ke = (e, r) => {
|
|
|
979
979
|
*/
|
|
980
980
|
"min-w": [{
|
|
981
981
|
"min-w": [
|
|
982
|
-
|
|
982
|
+
c,
|
|
983
983
|
"screen",
|
|
984
984
|
/** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
985
985
|
"none",
|
|
@@ -992,7 +992,7 @@ const Ke = (e, r) => {
|
|
|
992
992
|
*/
|
|
993
993
|
"max-w": [{
|
|
994
994
|
"max-w": [
|
|
995
|
-
|
|
995
|
+
c,
|
|
996
996
|
"screen",
|
|
997
997
|
"none",
|
|
998
998
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
@@ -1033,7 +1033,7 @@ const Ke = (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, X, W]
|
|
1037
1037
|
}],
|
|
1038
1038
|
/**
|
|
1039
1039
|
* Font Smoothing
|
|
@@ -1050,21 +1050,21 @@ const Ke = (e, r) => {
|
|
|
1050
1050
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1051
1051
|
*/
|
|
1052
1052
|
"font-weight": [{
|
|
1053
|
-
font: [t,
|
|
1053
|
+
font: [t, p, de]
|
|
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", ce, 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: [Et, d, r]
|
|
1068
1068
|
}],
|
|
1069
1069
|
/**
|
|
1070
1070
|
* Font Variant Numeric
|
|
@@ -1101,14 +1101,14 @@ const Ke = (e, r) => {
|
|
|
1101
1101
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
1102
1102
|
*/
|
|
1103
1103
|
tracking: [{
|
|
1104
|
-
tracking: [
|
|
1104
|
+
tracking: [s, p, d]
|
|
1105
1105
|
}],
|
|
1106
1106
|
/**
|
|
1107
1107
|
* Line Clamp
|
|
1108
1108
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1109
1109
|
*/
|
|
1110
1110
|
"line-clamp": [{
|
|
1111
|
-
"line-clamp": [
|
|
1111
|
+
"line-clamp": [x, "none", p, de]
|
|
1112
1112
|
}],
|
|
1113
1113
|
/**
|
|
1114
1114
|
* Line Height
|
|
@@ -1118,7 +1118,7 @@ const Ke = (e, r) => {
|
|
|
1118
1118
|
leading: [
|
|
1119
1119
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1120
1120
|
l,
|
|
1121
|
-
...
|
|
1121
|
+
...h()
|
|
1122
1122
|
]
|
|
1123
1123
|
}],
|
|
1124
1124
|
/**
|
|
@@ -1126,7 +1126,7 @@ const Ke = (e, r) => {
|
|
|
1126
1126
|
* @see https://tailwindcss.com/docs/list-style-image
|
|
1127
1127
|
*/
|
|
1128
1128
|
"list-image": [{
|
|
1129
|
-
"list-image": ["none",
|
|
1129
|
+
"list-image": ["none", p, d]
|
|
1130
1130
|
}],
|
|
1131
1131
|
/**
|
|
1132
1132
|
* List Style Position
|
|
@@ -1140,7 +1140,7 @@ const Ke = (e, r) => {
|
|
|
1140
1140
|
* @see https://tailwindcss.com/docs/list-style-type
|
|
1141
1141
|
*/
|
|
1142
1142
|
"list-style-type": [{
|
|
1143
|
-
list: ["disc", "decimal", "none",
|
|
1143
|
+
list: ["disc", "decimal", "none", p, d]
|
|
1144
1144
|
}],
|
|
1145
1145
|
/**
|
|
1146
1146
|
* Text Alignment
|
|
@@ -1174,14 +1174,14 @@ const Ke = (e, r) => {
|
|
|
1174
1174
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1175
1175
|
*/
|
|
1176
1176
|
"text-decoration-style": [{
|
|
1177
|
-
decoration: [...
|
|
1177
|
+
decoration: [...Q(), "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: [
|
|
1184
|
+
decoration: [x, "from-font", "auto", p, W]
|
|
1185
1185
|
}],
|
|
1186
1186
|
/**
|
|
1187
1187
|
* Text Decoration Color
|
|
@@ -1195,7 +1195,7 @@ const Ke = (e, r) => {
|
|
|
1195
1195
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1196
1196
|
*/
|
|
1197
1197
|
"underline-offset": [{
|
|
1198
|
-
"underline-offset": [
|
|
1198
|
+
"underline-offset": [x, "auto", p, d]
|
|
1199
1199
|
}],
|
|
1200
1200
|
/**
|
|
1201
1201
|
* Text Transform
|
|
@@ -1219,14 +1219,14 @@ const Ke = (e, r) => {
|
|
|
1219
1219
|
* @see https://tailwindcss.com/docs/text-indent
|
|
1220
1220
|
*/
|
|
1221
1221
|
indent: [{
|
|
1222
|
-
indent:
|
|
1222
|
+
indent: h()
|
|
1223
1223
|
}],
|
|
1224
1224
|
/**
|
|
1225
1225
|
* Vertical Alignment
|
|
1226
1226
|
* @see https://tailwindcss.com/docs/vertical-align
|
|
1227
1227
|
*/
|
|
1228
1228
|
"vertical-align": [{
|
|
1229
|
-
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super",
|
|
1229
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", p, d]
|
|
1230
1230
|
}],
|
|
1231
1231
|
/**
|
|
1232
1232
|
* Whitespace
|
|
@@ -1261,7 +1261,7 @@ const Ke = (e, r) => {
|
|
|
1261
1261
|
* @see https://tailwindcss.com/docs/content
|
|
1262
1262
|
*/
|
|
1263
1263
|
content: [{
|
|
1264
|
-
content: ["none",
|
|
1264
|
+
content: ["none", p, d]
|
|
1265
1265
|
}],
|
|
1266
1266
|
// -------------------
|
|
1267
1267
|
// --- Backgrounds ---
|
|
@@ -1292,21 +1292,21 @@ const Ke = (e, r) => {
|
|
|
1292
1292
|
* @see https://tailwindcss.com/docs/background-position
|
|
1293
1293
|
*/
|
|
1294
1294
|
"bg-position": [{
|
|
1295
|
-
bg:
|
|
1295
|
+
bg: ge()
|
|
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: _e()
|
|
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: we()
|
|
1310
1310
|
}],
|
|
1311
1311
|
/**
|
|
1312
1312
|
* Background Image
|
|
@@ -1316,10 +1316,10 @@ const Ke = (e, r) => {
|
|
|
1316
1316
|
bg: ["none", {
|
|
1317
1317
|
linear: [{
|
|
1318
1318
|
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1319
|
-
},
|
|
1320
|
-
radial: ["",
|
|
1321
|
-
conic: [
|
|
1322
|
-
},
|
|
1319
|
+
}, $, p, d],
|
|
1320
|
+
radial: ["", p, d],
|
|
1321
|
+
conic: [$, p, d]
|
|
1322
|
+
}, Gt, Tt]
|
|
1323
1323
|
}],
|
|
1324
1324
|
/**
|
|
1325
1325
|
* Background Color
|
|
@@ -1333,21 +1333,21 @@ const Ke = (e, r) => {
|
|
|
1333
1333
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1334
1334
|
*/
|
|
1335
1335
|
"gradient-from-pos": [{
|
|
1336
|
-
from:
|
|
1336
|
+
from: le()
|
|
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: le()
|
|
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: le()
|
|
1351
1351
|
}],
|
|
1352
1352
|
/**
|
|
1353
1353
|
* Gradient Color Stops From
|
|
@@ -1570,14 +1570,14 @@ const Ke = (e, r) => {
|
|
|
1570
1570
|
* @see https://tailwindcss.com/docs/border-style
|
|
1571
1571
|
*/
|
|
1572
1572
|
"border-style": [{
|
|
1573
|
-
border: [...
|
|
1573
|
+
border: [...Q(), "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: [...Q(), "hidden", "none"]
|
|
1581
1581
|
}],
|
|
1582
1582
|
/**
|
|
1583
1583
|
* Border Color
|
|
@@ -1654,21 +1654,21 @@ const Ke = (e, r) => {
|
|
|
1654
1654
|
* @see https://tailwindcss.com/docs/outline-style
|
|
1655
1655
|
*/
|
|
1656
1656
|
"outline-style": [{
|
|
1657
|
-
outline: [...
|
|
1657
|
+
outline: [...Q(), "none", "hidden"]
|
|
1658
1658
|
}],
|
|
1659
1659
|
/**
|
|
1660
1660
|
* Outline Offset
|
|
1661
1661
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
1662
1662
|
*/
|
|
1663
1663
|
"outline-offset": [{
|
|
1664
|
-
"outline-offset": [
|
|
1664
|
+
"outline-offset": [x, p, d]
|
|
1665
1665
|
}],
|
|
1666
1666
|
/**
|
|
1667
1667
|
* Outline Width
|
|
1668
1668
|
* @see https://tailwindcss.com/docs/outline-width
|
|
1669
1669
|
*/
|
|
1670
1670
|
"outline-w": [{
|
|
1671
|
-
outline: ["",
|
|
1671
|
+
outline: ["", x, X, W]
|
|
1672
1672
|
}],
|
|
1673
1673
|
/**
|
|
1674
1674
|
* Outline Color
|
|
@@ -1689,9 +1689,9 @@ const Ke = (e, r) => {
|
|
|
1689
1689
|
// Deprecated since Tailwind CSS v4.0.0
|
|
1690
1690
|
"",
|
|
1691
1691
|
"none",
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1692
|
+
b,
|
|
1693
|
+
ne,
|
|
1694
|
+
oe
|
|
1695
1695
|
]
|
|
1696
1696
|
}],
|
|
1697
1697
|
/**
|
|
@@ -1706,7 +1706,7 @@ const Ke = (e, r) => {
|
|
|
1706
1706
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
1707
1707
|
*/
|
|
1708
1708
|
"inset-shadow": [{
|
|
1709
|
-
"inset-shadow": ["none", _,
|
|
1709
|
+
"inset-shadow": ["none", _, ne, oe]
|
|
1710
1710
|
}],
|
|
1711
1711
|
/**
|
|
1712
1712
|
* Inset Box Shadow Color
|
|
@@ -1743,7 +1743,7 @@ const Ke = (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": [
|
|
1746
|
+
"ring-offset": [x, W]
|
|
1747
1747
|
}],
|
|
1748
1748
|
/**
|
|
1749
1749
|
* Ring Offset Color
|
|
@@ -1773,7 +1773,7 @@ const Ke = (e, r) => {
|
|
|
1773
1773
|
* @see https://tailwindcss.com/docs/text-shadow
|
|
1774
1774
|
*/
|
|
1775
1775
|
"text-shadow": [{
|
|
1776
|
-
"text-shadow": ["none", w,
|
|
1776
|
+
"text-shadow": ["none", w, ne, oe]
|
|
1777
1777
|
}],
|
|
1778
1778
|
/**
|
|
1779
1779
|
* Text Shadow Color
|
|
@@ -1787,21 +1787,21 @@ const Ke = (e, r) => {
|
|
|
1787
1787
|
* @see https://tailwindcss.com/docs/opacity
|
|
1788
1788
|
*/
|
|
1789
1789
|
opacity: [{
|
|
1790
|
-
opacity: [
|
|
1790
|
+
opacity: [x, p, d]
|
|
1791
1791
|
}],
|
|
1792
1792
|
/**
|
|
1793
1793
|
* Mix Blend Mode
|
|
1794
1794
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
1795
1795
|
*/
|
|
1796
1796
|
"mix-blend": [{
|
|
1797
|
-
"mix-blend": [...
|
|
1797
|
+
"mix-blend": [...ve(), "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": ve()
|
|
1805
1805
|
}],
|
|
1806
1806
|
/**
|
|
1807
1807
|
* Mask Clip
|
|
@@ -1822,13 +1822,13 @@ const Ke = (e, r) => {
|
|
|
1822
1822
|
* @see https://tailwindcss.com/docs/mask-image
|
|
1823
1823
|
*/
|
|
1824
1824
|
"mask-image-linear-pos": [{
|
|
1825
|
-
"mask-linear": [
|
|
1825
|
+
"mask-linear": [x]
|
|
1826
1826
|
}],
|
|
1827
1827
|
"mask-image-linear-from-pos": [{
|
|
1828
|
-
"mask-linear-from":
|
|
1828
|
+
"mask-linear-from": z()
|
|
1829
1829
|
}],
|
|
1830
1830
|
"mask-image-linear-to-pos": [{
|
|
1831
|
-
"mask-linear-to":
|
|
1831
|
+
"mask-linear-to": z()
|
|
1832
1832
|
}],
|
|
1833
1833
|
"mask-image-linear-from-color": [{
|
|
1834
1834
|
"mask-linear-from": m()
|
|
@@ -1837,10 +1837,10 @@ const Ke = (e, r) => {
|
|
|
1837
1837
|
"mask-linear-to": m()
|
|
1838
1838
|
}],
|
|
1839
1839
|
"mask-image-t-from-pos": [{
|
|
1840
|
-
"mask-t-from":
|
|
1840
|
+
"mask-t-from": z()
|
|
1841
1841
|
}],
|
|
1842
1842
|
"mask-image-t-to-pos": [{
|
|
1843
|
-
"mask-t-to":
|
|
1843
|
+
"mask-t-to": z()
|
|
1844
1844
|
}],
|
|
1845
1845
|
"mask-image-t-from-color": [{
|
|
1846
1846
|
"mask-t-from": m()
|
|
@@ -1849,10 +1849,10 @@ const Ke = (e, r) => {
|
|
|
1849
1849
|
"mask-t-to": m()
|
|
1850
1850
|
}],
|
|
1851
1851
|
"mask-image-r-from-pos": [{
|
|
1852
|
-
"mask-r-from":
|
|
1852
|
+
"mask-r-from": z()
|
|
1853
1853
|
}],
|
|
1854
1854
|
"mask-image-r-to-pos": [{
|
|
1855
|
-
"mask-r-to":
|
|
1855
|
+
"mask-r-to": z()
|
|
1856
1856
|
}],
|
|
1857
1857
|
"mask-image-r-from-color": [{
|
|
1858
1858
|
"mask-r-from": m()
|
|
@@ -1861,10 +1861,10 @@ const Ke = (e, r) => {
|
|
|
1861
1861
|
"mask-r-to": m()
|
|
1862
1862
|
}],
|
|
1863
1863
|
"mask-image-b-from-pos": [{
|
|
1864
|
-
"mask-b-from":
|
|
1864
|
+
"mask-b-from": z()
|
|
1865
1865
|
}],
|
|
1866
1866
|
"mask-image-b-to-pos": [{
|
|
1867
|
-
"mask-b-to":
|
|
1867
|
+
"mask-b-to": z()
|
|
1868
1868
|
}],
|
|
1869
1869
|
"mask-image-b-from-color": [{
|
|
1870
1870
|
"mask-b-from": m()
|
|
@@ -1873,10 +1873,10 @@ const Ke = (e, r) => {
|
|
|
1873
1873
|
"mask-b-to": m()
|
|
1874
1874
|
}],
|
|
1875
1875
|
"mask-image-l-from-pos": [{
|
|
1876
|
-
"mask-l-from":
|
|
1876
|
+
"mask-l-from": z()
|
|
1877
1877
|
}],
|
|
1878
1878
|
"mask-image-l-to-pos": [{
|
|
1879
|
-
"mask-l-to":
|
|
1879
|
+
"mask-l-to": z()
|
|
1880
1880
|
}],
|
|
1881
1881
|
"mask-image-l-from-color": [{
|
|
1882
1882
|
"mask-l-from": m()
|
|
@@ -1885,10 +1885,10 @@ const Ke = (e, r) => {
|
|
|
1885
1885
|
"mask-l-to": m()
|
|
1886
1886
|
}],
|
|
1887
1887
|
"mask-image-x-from-pos": [{
|
|
1888
|
-
"mask-x-from":
|
|
1888
|
+
"mask-x-from": z()
|
|
1889
1889
|
}],
|
|
1890
1890
|
"mask-image-x-to-pos": [{
|
|
1891
|
-
"mask-x-to":
|
|
1891
|
+
"mask-x-to": z()
|
|
1892
1892
|
}],
|
|
1893
1893
|
"mask-image-x-from-color": [{
|
|
1894
1894
|
"mask-x-from": m()
|
|
@@ -1897,10 +1897,10 @@ const Ke = (e, r) => {
|
|
|
1897
1897
|
"mask-x-to": m()
|
|
1898
1898
|
}],
|
|
1899
1899
|
"mask-image-y-from-pos": [{
|
|
1900
|
-
"mask-y-from":
|
|
1900
|
+
"mask-y-from": z()
|
|
1901
1901
|
}],
|
|
1902
1902
|
"mask-image-y-to-pos": [{
|
|
1903
|
-
"mask-y-to":
|
|
1903
|
+
"mask-y-to": z()
|
|
1904
1904
|
}],
|
|
1905
1905
|
"mask-image-y-from-color": [{
|
|
1906
1906
|
"mask-y-from": m()
|
|
@@ -1909,13 +1909,13 @@ const Ke = (e, r) => {
|
|
|
1909
1909
|
"mask-y-to": m()
|
|
1910
1910
|
}],
|
|
1911
1911
|
"mask-image-radial": [{
|
|
1912
|
-
"mask-radial": [
|
|
1912
|
+
"mask-radial": [p, d]
|
|
1913
1913
|
}],
|
|
1914
1914
|
"mask-image-radial-from-pos": [{
|
|
1915
|
-
"mask-radial-from":
|
|
1915
|
+
"mask-radial-from": z()
|
|
1916
1916
|
}],
|
|
1917
1917
|
"mask-image-radial-to-pos": [{
|
|
1918
|
-
"mask-radial-to":
|
|
1918
|
+
"mask-radial-to": z()
|
|
1919
1919
|
}],
|
|
1920
1920
|
"mask-image-radial-from-color": [{
|
|
1921
1921
|
"mask-radial-from": m()
|
|
@@ -1933,16 +1933,16 @@ const Ke = (e, r) => {
|
|
|
1933
1933
|
}]
|
|
1934
1934
|
}],
|
|
1935
1935
|
"mask-image-radial-pos": [{
|
|
1936
|
-
"mask-radial-at":
|
|
1936
|
+
"mask-radial-at": G()
|
|
1937
1937
|
}],
|
|
1938
1938
|
"mask-image-conic-pos": [{
|
|
1939
|
-
"mask-conic": [
|
|
1939
|
+
"mask-conic": [x]
|
|
1940
1940
|
}],
|
|
1941
1941
|
"mask-image-conic-from-pos": [{
|
|
1942
|
-
"mask-conic-from":
|
|
1942
|
+
"mask-conic-from": z()
|
|
1943
1943
|
}],
|
|
1944
1944
|
"mask-image-conic-to-pos": [{
|
|
1945
|
-
"mask-conic-to":
|
|
1945
|
+
"mask-conic-to": z()
|
|
1946
1946
|
}],
|
|
1947
1947
|
"mask-image-conic-from-color": [{
|
|
1948
1948
|
"mask-conic-from": m()
|
|
@@ -1969,21 +1969,21 @@ const Ke = (e, r) => {
|
|
|
1969
1969
|
* @see https://tailwindcss.com/docs/mask-position
|
|
1970
1970
|
*/
|
|
1971
1971
|
"mask-position": [{
|
|
1972
|
-
mask:
|
|
1972
|
+
mask: ge()
|
|
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: _e()
|
|
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: we()
|
|
1987
1987
|
}],
|
|
1988
1988
|
/**
|
|
1989
1989
|
* Mask Type
|
|
@@ -1997,7 +1997,7 @@ const Ke = (e, r) => {
|
|
|
1997
1997
|
* @see https://tailwindcss.com/docs/mask-image
|
|
1998
1998
|
*/
|
|
1999
1999
|
"mask-image": [{
|
|
2000
|
-
mask: ["none",
|
|
2000
|
+
mask: ["none", p, d]
|
|
2001
2001
|
}],
|
|
2002
2002
|
// ---------------
|
|
2003
2003
|
// --- Filters ---
|
|
@@ -2011,8 +2011,8 @@ const Ke = (e, r) => {
|
|
|
2011
2011
|
// Deprecated since Tailwind CSS v3.0.0
|
|
2012
2012
|
"",
|
|
2013
2013
|
"none",
|
|
2014
|
-
|
|
2015
|
-
|
|
2014
|
+
p,
|
|
2015
|
+
d
|
|
2016
2016
|
]
|
|
2017
2017
|
}],
|
|
2018
2018
|
/**
|
|
@@ -2020,21 +2020,21 @@ const Ke = (e, r) => {
|
|
|
2020
2020
|
* @see https://tailwindcss.com/docs/blur
|
|
2021
2021
|
*/
|
|
2022
2022
|
blur: [{
|
|
2023
|
-
blur:
|
|
2023
|
+
blur: ye()
|
|
2024
2024
|
}],
|
|
2025
2025
|
/**
|
|
2026
2026
|
* Brightness
|
|
2027
2027
|
* @see https://tailwindcss.com/docs/brightness
|
|
2028
2028
|
*/
|
|
2029
2029
|
brightness: [{
|
|
2030
|
-
brightness: [
|
|
2030
|
+
brightness: [x, p, d]
|
|
2031
2031
|
}],
|
|
2032
2032
|
/**
|
|
2033
2033
|
* Contrast
|
|
2034
2034
|
* @see https://tailwindcss.com/docs/contrast
|
|
2035
2035
|
*/
|
|
2036
2036
|
contrast: [{
|
|
2037
|
-
contrast: [
|
|
2037
|
+
contrast: [x, p, d]
|
|
2038
2038
|
}],
|
|
2039
2039
|
/**
|
|
2040
2040
|
* Drop Shadow
|
|
@@ -2045,9 +2045,9 @@ const Ke = (e, r) => {
|
|
|
2045
2045
|
// Deprecated since Tailwind CSS v4.0.0
|
|
2046
2046
|
"",
|
|
2047
2047
|
"none",
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2048
|
+
C,
|
|
2049
|
+
ne,
|
|
2050
|
+
oe
|
|
2051
2051
|
]
|
|
2052
2052
|
}],
|
|
2053
2053
|
/**
|
|
@@ -2062,35 +2062,35 @@ const Ke = (e, r) => {
|
|
|
2062
2062
|
* @see https://tailwindcss.com/docs/grayscale
|
|
2063
2063
|
*/
|
|
2064
2064
|
grayscale: [{
|
|
2065
|
-
grayscale: ["",
|
|
2065
|
+
grayscale: ["", x, p, d]
|
|
2066
2066
|
}],
|
|
2067
2067
|
/**
|
|
2068
2068
|
* Hue Rotate
|
|
2069
2069
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
2070
2070
|
*/
|
|
2071
2071
|
"hue-rotate": [{
|
|
2072
|
-
"hue-rotate": [
|
|
2072
|
+
"hue-rotate": [x, p, d]
|
|
2073
2073
|
}],
|
|
2074
2074
|
/**
|
|
2075
2075
|
* Invert
|
|
2076
2076
|
* @see https://tailwindcss.com/docs/invert
|
|
2077
2077
|
*/
|
|
2078
2078
|
invert: [{
|
|
2079
|
-
invert: ["",
|
|
2079
|
+
invert: ["", x, p, d]
|
|
2080
2080
|
}],
|
|
2081
2081
|
/**
|
|
2082
2082
|
* Saturate
|
|
2083
2083
|
* @see https://tailwindcss.com/docs/saturate
|
|
2084
2084
|
*/
|
|
2085
2085
|
saturate: [{
|
|
2086
|
-
saturate: [
|
|
2086
|
+
saturate: [x, p, d]
|
|
2087
2087
|
}],
|
|
2088
2088
|
/**
|
|
2089
2089
|
* Sepia
|
|
2090
2090
|
* @see https://tailwindcss.com/docs/sepia
|
|
2091
2091
|
*/
|
|
2092
2092
|
sepia: [{
|
|
2093
|
-
sepia: ["",
|
|
2093
|
+
sepia: ["", x, p, d]
|
|
2094
2094
|
}],
|
|
2095
2095
|
/**
|
|
2096
2096
|
* Backdrop Filter
|
|
@@ -2101,8 +2101,8 @@ const Ke = (e, r) => {
|
|
|
2101
2101
|
// Deprecated since Tailwind CSS v3.0.0
|
|
2102
2102
|
"",
|
|
2103
2103
|
"none",
|
|
2104
|
-
|
|
2105
|
-
|
|
2104
|
+
p,
|
|
2105
|
+
d
|
|
2106
2106
|
]
|
|
2107
2107
|
}],
|
|
2108
2108
|
/**
|
|
@@ -2110,63 +2110,63 @@ const Ke = (e, r) => {
|
|
|
2110
2110
|
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
2111
2111
|
*/
|
|
2112
2112
|
"backdrop-blur": [{
|
|
2113
|
-
"backdrop-blur":
|
|
2113
|
+
"backdrop-blur": ye()
|
|
2114
2114
|
}],
|
|
2115
2115
|
/**
|
|
2116
2116
|
* Backdrop Brightness
|
|
2117
2117
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
2118
2118
|
*/
|
|
2119
2119
|
"backdrop-brightness": [{
|
|
2120
|
-
"backdrop-brightness": [
|
|
2120
|
+
"backdrop-brightness": [x, p, d]
|
|
2121
2121
|
}],
|
|
2122
2122
|
/**
|
|
2123
2123
|
* Backdrop Contrast
|
|
2124
2124
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
2125
2125
|
*/
|
|
2126
2126
|
"backdrop-contrast": [{
|
|
2127
|
-
"backdrop-contrast": [
|
|
2127
|
+
"backdrop-contrast": [x, p, d]
|
|
2128
2128
|
}],
|
|
2129
2129
|
/**
|
|
2130
2130
|
* Backdrop Grayscale
|
|
2131
2131
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
2132
2132
|
*/
|
|
2133
2133
|
"backdrop-grayscale": [{
|
|
2134
|
-
"backdrop-grayscale": ["",
|
|
2134
|
+
"backdrop-grayscale": ["", x, p, d]
|
|
2135
2135
|
}],
|
|
2136
2136
|
/**
|
|
2137
2137
|
* Backdrop Hue Rotate
|
|
2138
2138
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
2139
2139
|
*/
|
|
2140
2140
|
"backdrop-hue-rotate": [{
|
|
2141
|
-
"backdrop-hue-rotate": [
|
|
2141
|
+
"backdrop-hue-rotate": [x, p, d]
|
|
2142
2142
|
}],
|
|
2143
2143
|
/**
|
|
2144
2144
|
* Backdrop Invert
|
|
2145
2145
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
2146
2146
|
*/
|
|
2147
2147
|
"backdrop-invert": [{
|
|
2148
|
-
"backdrop-invert": ["",
|
|
2148
|
+
"backdrop-invert": ["", x, p, d]
|
|
2149
2149
|
}],
|
|
2150
2150
|
/**
|
|
2151
2151
|
* Backdrop Opacity
|
|
2152
2152
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
2153
2153
|
*/
|
|
2154
2154
|
"backdrop-opacity": [{
|
|
2155
|
-
"backdrop-opacity": [
|
|
2155
|
+
"backdrop-opacity": [x, p, d]
|
|
2156
2156
|
}],
|
|
2157
2157
|
/**
|
|
2158
2158
|
* Backdrop Saturate
|
|
2159
2159
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
2160
2160
|
*/
|
|
2161
2161
|
"backdrop-saturate": [{
|
|
2162
|
-
"backdrop-saturate": [
|
|
2162
|
+
"backdrop-saturate": [x, p, d]
|
|
2163
2163
|
}],
|
|
2164
2164
|
/**
|
|
2165
2165
|
* Backdrop Sepia
|
|
2166
2166
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
2167
2167
|
*/
|
|
2168
2168
|
"backdrop-sepia": [{
|
|
2169
|
-
"backdrop-sepia": ["",
|
|
2169
|
+
"backdrop-sepia": ["", x, p, d]
|
|
2170
2170
|
}],
|
|
2171
2171
|
// --------------
|
|
2172
2172
|
// --- Tables ---
|
|
@@ -2183,21 +2183,21 @@ const Ke = (e, r) => {
|
|
|
2183
2183
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2184
2184
|
*/
|
|
2185
2185
|
"border-spacing": [{
|
|
2186
|
-
"border-spacing":
|
|
2186
|
+
"border-spacing": h()
|
|
2187
2187
|
}],
|
|
2188
2188
|
/**
|
|
2189
2189
|
* Border Spacing X
|
|
2190
2190
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2191
2191
|
*/
|
|
2192
2192
|
"border-spacing-x": [{
|
|
2193
|
-
"border-spacing-x":
|
|
2193
|
+
"border-spacing-x": h()
|
|
2194
2194
|
}],
|
|
2195
2195
|
/**
|
|
2196
2196
|
* Border Spacing Y
|
|
2197
2197
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2198
2198
|
*/
|
|
2199
2199
|
"border-spacing-y": [{
|
|
2200
|
-
"border-spacing-y":
|
|
2200
|
+
"border-spacing-y": h()
|
|
2201
2201
|
}],
|
|
2202
2202
|
/**
|
|
2203
2203
|
* Table Layout
|
|
@@ -2221,7 +2221,7 @@ const Ke = (e, r) => {
|
|
|
2221
2221
|
* @see https://tailwindcss.com/docs/transition-property
|
|
2222
2222
|
*/
|
|
2223
2223
|
transition: [{
|
|
2224
|
-
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none",
|
|
2224
|
+
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", p, d]
|
|
2225
2225
|
}],
|
|
2226
2226
|
/**
|
|
2227
2227
|
* Transition Behavior
|
|
@@ -2235,28 +2235,28 @@ const Ke = (e, r) => {
|
|
|
2235
2235
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
2236
2236
|
*/
|
|
2237
2237
|
duration: [{
|
|
2238
|
-
duration: [
|
|
2238
|
+
duration: [x, "initial", p, d]
|
|
2239
2239
|
}],
|
|
2240
2240
|
/**
|
|
2241
2241
|
* Transition Timing Function
|
|
2242
2242
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2243
2243
|
*/
|
|
2244
2244
|
ease: [{
|
|
2245
|
-
ease: ["linear", "initial",
|
|
2245
|
+
ease: ["linear", "initial", R, p, d]
|
|
2246
2246
|
}],
|
|
2247
2247
|
/**
|
|
2248
2248
|
* Transition Delay
|
|
2249
2249
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
2250
2250
|
*/
|
|
2251
2251
|
delay: [{
|
|
2252
|
-
delay: [
|
|
2252
|
+
delay: [x, p, d]
|
|
2253
2253
|
}],
|
|
2254
2254
|
/**
|
|
2255
2255
|
* Animation
|
|
2256
2256
|
* @see https://tailwindcss.com/docs/animation
|
|
2257
2257
|
*/
|
|
2258
2258
|
animate: [{
|
|
2259
|
-
animate: ["none",
|
|
2259
|
+
animate: ["none", T, p, d]
|
|
2260
2260
|
}],
|
|
2261
2261
|
// ------------------
|
|
2262
2262
|
// --- Transforms ---
|
|
@@ -2273,7 +2273,7 @@ const Ke = (e, r) => {
|
|
|
2273
2273
|
* @see https://tailwindcss.com/docs/perspective
|
|
2274
2274
|
*/
|
|
2275
2275
|
perspective: [{
|
|
2276
|
-
perspective: [
|
|
2276
|
+
perspective: [N, p, d]
|
|
2277
2277
|
}],
|
|
2278
2278
|
/**
|
|
2279
2279
|
* Perspective Origin
|
|
@@ -2287,56 +2287,56 @@ const Ke = (e, r) => {
|
|
|
2287
2287
|
* @see https://tailwindcss.com/docs/rotate
|
|
2288
2288
|
*/
|
|
2289
2289
|
rotate: [{
|
|
2290
|
-
rotate:
|
|
2290
|
+
rotate: ee()
|
|
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": ee()
|
|
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": ee()
|
|
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": ee()
|
|
2312
2312
|
}],
|
|
2313
2313
|
/**
|
|
2314
2314
|
* Scale
|
|
2315
2315
|
* @see https://tailwindcss.com/docs/scale
|
|
2316
2316
|
*/
|
|
2317
2317
|
scale: [{
|
|
2318
|
-
scale:
|
|
2318
|
+
scale: te()
|
|
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": te()
|
|
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": te()
|
|
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": te()
|
|
2340
2340
|
}],
|
|
2341
2341
|
/**
|
|
2342
2342
|
* Scale 3D
|
|
@@ -2348,28 +2348,28 @@ const Ke = (e, r) => {
|
|
|
2348
2348
|
* @see https://tailwindcss.com/docs/skew
|
|
2349
2349
|
*/
|
|
2350
2350
|
skew: [{
|
|
2351
|
-
skew:
|
|
2351
|
+
skew: ie()
|
|
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": ie()
|
|
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": ie()
|
|
2366
2366
|
}],
|
|
2367
2367
|
/**
|
|
2368
2368
|
* Transform
|
|
2369
2369
|
* @see https://tailwindcss.com/docs/transform
|
|
2370
2370
|
*/
|
|
2371
2371
|
transform: [{
|
|
2372
|
-
transform: [
|
|
2372
|
+
transform: [p, d, "", "none", "gpu", "cpu"]
|
|
2373
2373
|
}],
|
|
2374
2374
|
/**
|
|
2375
2375
|
* Transform Origin
|
|
@@ -2390,28 +2390,28 @@ const Ke = (e, r) => {
|
|
|
2390
2390
|
* @see https://tailwindcss.com/docs/translate
|
|
2391
2391
|
*/
|
|
2392
2392
|
translate: [{
|
|
2393
|
-
translate:
|
|
2393
|
+
translate: re()
|
|
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": re()
|
|
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": re()
|
|
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": re()
|
|
2415
2415
|
}],
|
|
2416
2416
|
/**
|
|
2417
2417
|
* Translate None
|
|
@@ -2454,7 +2454,7 @@ const Ke = (e, r) => {
|
|
|
2454
2454
|
* @see https://tailwindcss.com/docs/cursor
|
|
2455
2455
|
*/
|
|
2456
2456
|
cursor: [{
|
|
2457
|
-
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out",
|
|
2457
|
+
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", p, d]
|
|
2458
2458
|
}],
|
|
2459
2459
|
/**
|
|
2460
2460
|
* Field Sizing
|
|
@@ -2489,126 +2489,126 @@ const Ke = (e, r) => {
|
|
|
2489
2489
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2490
2490
|
*/
|
|
2491
2491
|
"scroll-m": [{
|
|
2492
|
-
"scroll-m":
|
|
2492
|
+
"scroll-m": h()
|
|
2493
2493
|
}],
|
|
2494
2494
|
/**
|
|
2495
2495
|
* Scroll Margin X
|
|
2496
2496
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2497
2497
|
*/
|
|
2498
2498
|
"scroll-mx": [{
|
|
2499
|
-
"scroll-mx":
|
|
2499
|
+
"scroll-mx": h()
|
|
2500
2500
|
}],
|
|
2501
2501
|
/**
|
|
2502
2502
|
* Scroll Margin Y
|
|
2503
2503
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2504
2504
|
*/
|
|
2505
2505
|
"scroll-my": [{
|
|
2506
|
-
"scroll-my":
|
|
2506
|
+
"scroll-my": h()
|
|
2507
2507
|
}],
|
|
2508
2508
|
/**
|
|
2509
2509
|
* Scroll Margin Start
|
|
2510
2510
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2511
2511
|
*/
|
|
2512
2512
|
"scroll-ms": [{
|
|
2513
|
-
"scroll-ms":
|
|
2513
|
+
"scroll-ms": h()
|
|
2514
2514
|
}],
|
|
2515
2515
|
/**
|
|
2516
2516
|
* Scroll Margin End
|
|
2517
2517
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2518
2518
|
*/
|
|
2519
2519
|
"scroll-me": [{
|
|
2520
|
-
"scroll-me":
|
|
2520
|
+
"scroll-me": h()
|
|
2521
2521
|
}],
|
|
2522
2522
|
/**
|
|
2523
2523
|
* Scroll Margin Top
|
|
2524
2524
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2525
2525
|
*/
|
|
2526
2526
|
"scroll-mt": [{
|
|
2527
|
-
"scroll-mt":
|
|
2527
|
+
"scroll-mt": h()
|
|
2528
2528
|
}],
|
|
2529
2529
|
/**
|
|
2530
2530
|
* Scroll Margin Right
|
|
2531
2531
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2532
2532
|
*/
|
|
2533
2533
|
"scroll-mr": [{
|
|
2534
|
-
"scroll-mr":
|
|
2534
|
+
"scroll-mr": h()
|
|
2535
2535
|
}],
|
|
2536
2536
|
/**
|
|
2537
2537
|
* Scroll Margin Bottom
|
|
2538
2538
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2539
2539
|
*/
|
|
2540
2540
|
"scroll-mb": [{
|
|
2541
|
-
"scroll-mb":
|
|
2541
|
+
"scroll-mb": h()
|
|
2542
2542
|
}],
|
|
2543
2543
|
/**
|
|
2544
2544
|
* Scroll Margin Left
|
|
2545
2545
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2546
2546
|
*/
|
|
2547
2547
|
"scroll-ml": [{
|
|
2548
|
-
"scroll-ml":
|
|
2548
|
+
"scroll-ml": h()
|
|
2549
2549
|
}],
|
|
2550
2550
|
/**
|
|
2551
2551
|
* Scroll Padding
|
|
2552
2552
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2553
2553
|
*/
|
|
2554
2554
|
"scroll-p": [{
|
|
2555
|
-
"scroll-p":
|
|
2555
|
+
"scroll-p": h()
|
|
2556
2556
|
}],
|
|
2557
2557
|
/**
|
|
2558
2558
|
* Scroll Padding X
|
|
2559
2559
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2560
2560
|
*/
|
|
2561
2561
|
"scroll-px": [{
|
|
2562
|
-
"scroll-px":
|
|
2562
|
+
"scroll-px": h()
|
|
2563
2563
|
}],
|
|
2564
2564
|
/**
|
|
2565
2565
|
* Scroll Padding Y
|
|
2566
2566
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2567
2567
|
*/
|
|
2568
2568
|
"scroll-py": [{
|
|
2569
|
-
"scroll-py":
|
|
2569
|
+
"scroll-py": h()
|
|
2570
2570
|
}],
|
|
2571
2571
|
/**
|
|
2572
2572
|
* Scroll Padding Start
|
|
2573
2573
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2574
2574
|
*/
|
|
2575
2575
|
"scroll-ps": [{
|
|
2576
|
-
"scroll-ps":
|
|
2576
|
+
"scroll-ps": h()
|
|
2577
2577
|
}],
|
|
2578
2578
|
/**
|
|
2579
2579
|
* Scroll Padding End
|
|
2580
2580
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2581
2581
|
*/
|
|
2582
2582
|
"scroll-pe": [{
|
|
2583
|
-
"scroll-pe":
|
|
2583
|
+
"scroll-pe": h()
|
|
2584
2584
|
}],
|
|
2585
2585
|
/**
|
|
2586
2586
|
* Scroll Padding Top
|
|
2587
2587
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2588
2588
|
*/
|
|
2589
2589
|
"scroll-pt": [{
|
|
2590
|
-
"scroll-pt":
|
|
2590
|
+
"scroll-pt": h()
|
|
2591
2591
|
}],
|
|
2592
2592
|
/**
|
|
2593
2593
|
* Scroll Padding Right
|
|
2594
2594
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2595
2595
|
*/
|
|
2596
2596
|
"scroll-pr": [{
|
|
2597
|
-
"scroll-pr":
|
|
2597
|
+
"scroll-pr": h()
|
|
2598
2598
|
}],
|
|
2599
2599
|
/**
|
|
2600
2600
|
* Scroll Padding Bottom
|
|
2601
2601
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2602
2602
|
*/
|
|
2603
2603
|
"scroll-pb": [{
|
|
2604
|
-
"scroll-pb":
|
|
2604
|
+
"scroll-pb": h()
|
|
2605
2605
|
}],
|
|
2606
2606
|
/**
|
|
2607
2607
|
* Scroll Padding Left
|
|
2608
2608
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2609
2609
|
*/
|
|
2610
2610
|
"scroll-pl": [{
|
|
2611
|
-
"scroll-pl":
|
|
2611
|
+
"scroll-pl": h()
|
|
2612
2612
|
}],
|
|
2613
2613
|
/**
|
|
2614
2614
|
* Scroll Snap Align
|
|
@@ -2676,7 +2676,7 @@ const Ke = (e, r) => {
|
|
|
2676
2676
|
* @see https://tailwindcss.com/docs/will-change
|
|
2677
2677
|
*/
|
|
2678
2678
|
"will-change": [{
|
|
2679
|
-
"will-change": ["auto", "scroll", "contents", "transform",
|
|
2679
|
+
"will-change": ["auto", "scroll", "contents", "transform", p, d]
|
|
2680
2680
|
}],
|
|
2681
2681
|
// -----------
|
|
2682
2682
|
// --- SVG ---
|
|
@@ -2693,7 +2693,7 @@ const Ke = (e, r) => {
|
|
|
2693
2693
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
2694
2694
|
*/
|
|
2695
2695
|
"stroke-w": [{
|
|
2696
|
-
stroke: [
|
|
2696
|
+
stroke: [x, X, W, de]
|
|
2697
2697
|
}],
|
|
2698
2698
|
/**
|
|
2699
2699
|
* Stroke
|
|
@@ -2768,32 +2768,32 @@ const Ke = (e, r) => {
|
|
|
2768
2768
|
},
|
|
2769
2769
|
orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
|
|
2770
2770
|
};
|
|
2771
|
-
}, Bt = /* @__PURE__ */
|
|
2772
|
-
function
|
|
2773
|
-
return Bt(
|
|
2771
|
+
}, Bt = /* @__PURE__ */ _t(jt);
|
|
2772
|
+
function f(...e) {
|
|
2773
|
+
return Bt(Je(e));
|
|
2774
2774
|
}
|
|
2775
|
-
const
|
|
2776
|
-
primary: "text-[#7e97b8] bg-[#dbeafe] border-[rgba(255,255,255,0.333)] shadow-[-4px_-
|
|
2777
|
-
secondary: "text-[#6b7280] bg-[#d1fae5] border-[rgba(255,255,255,0.4)] shadow-[-4px_-
|
|
2778
|
-
danger: "text-[#ef4444] bg-[#fecaca] border-[rgba(255,255,255,0.5)] shadow-[-4px_-
|
|
2779
|
-
ghost: "text-[#6b7280] bg-transparent border-[rgba(255,255,255,0.2)] shadow-[-4px_-
|
|
2780
|
-
},
|
|
2775
|
+
const $t = {
|
|
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
|
+
secondary: "text-[#6b7280] bg-[#d1fae5] border-[rgba(255,255,255,0.4)] shadow-[-4px_-2px_8px_0px_#ffffff,4px_2px_8px_0px_rgb(34_197_94_/_18%)] hover:text-[#4b5563] hover:bg-[#a7f3d0] hover:shadow-[-2px_-1px_4px_0px_#ffffff,2px_1px_4px_0px_rgb(34_197_94_/_18%)]",
|
|
2778
|
+
danger: "text-[#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
|
+
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
|
+
}, Ht = {
|
|
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
|
+
}, He = y.forwardRef(({
|
|
2785
2785
|
variant: e = "primary",
|
|
2786
2786
|
size: r = "md",
|
|
2787
2787
|
loading: o = !1,
|
|
2788
2788
|
disabled: t = !1,
|
|
2789
|
-
className:
|
|
2789
|
+
className: s,
|
|
2790
2790
|
children: l,
|
|
2791
2791
|
...a
|
|
2792
|
-
},
|
|
2792
|
+
}, c) => /* @__PURE__ */ g(
|
|
2793
2793
|
"button",
|
|
2794
2794
|
{
|
|
2795
|
-
ref:
|
|
2796
|
-
className:
|
|
2795
|
+
ref: c,
|
|
2796
|
+
className: f(
|
|
2797
2797
|
"flex items-center justify-center gap-2.5",
|
|
2798
2798
|
"font-inherit font-medium",
|
|
2799
2799
|
"uppercase tracking-[0.4px]",
|
|
@@ -2804,9 +2804,9 @@ const Pt = {
|
|
|
2804
2804
|
"active:shadow-none",
|
|
2805
2805
|
"focus-visible focus:outline-none",
|
|
2806
2806
|
"disabled:cursor-not-allowed disabled:opacity-50",
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2807
|
+
$t[e],
|
|
2808
|
+
Ht[r],
|
|
2809
|
+
s
|
|
2810
2810
|
),
|
|
2811
2811
|
disabled: t || o,
|
|
2812
2812
|
...a,
|
|
@@ -2820,7 +2820,7 @@ const Pt = {
|
|
|
2820
2820
|
viewBox: "0 0 24 24",
|
|
2821
2821
|
"aria-hidden": "true",
|
|
2822
2822
|
children: [
|
|
2823
|
-
/* @__PURE__ */
|
|
2823
|
+
/* @__PURE__ */ n(
|
|
2824
2824
|
"circle",
|
|
2825
2825
|
{
|
|
2826
2826
|
className: "opacity-25",
|
|
@@ -2831,7 +2831,7 @@ const Pt = {
|
|
|
2831
2831
|
strokeWidth: "4"
|
|
2832
2832
|
}
|
|
2833
2833
|
),
|
|
2834
|
-
/* @__PURE__ */
|
|
2834
|
+
/* @__PURE__ */ n(
|
|
2835
2835
|
"path",
|
|
2836
2836
|
{
|
|
2837
2837
|
className: "opacity-75",
|
|
@@ -2846,61 +2846,61 @@ const Pt = {
|
|
|
2846
2846
|
]
|
|
2847
2847
|
}
|
|
2848
2848
|
));
|
|
2849
|
-
|
|
2850
|
-
const
|
|
2851
|
-
button:
|
|
2849
|
+
He.displayName = "Button";
|
|
2850
|
+
const Wt = "_button_qraba_7", Ot = "_state_qraba_79", Dt = "_icon_qraba_151", Zt = "_outline_qraba_205", I = {
|
|
2851
|
+
button: Wt,
|
|
2852
2852
|
"button--size-sm": "_button--size-sm_qraba_63",
|
|
2853
|
-
state:
|
|
2853
|
+
state: Ot,
|
|
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: Dt,
|
|
2857
|
+
outline: Zt,
|
|
2858
2858
|
"state--default": "_state--default_qraba_229",
|
|
2859
2859
|
"state--sent": "_state--sent_qraba_813"
|
|
2860
|
-
},
|
|
2860
|
+
}, Se = (e) => e.split("").map((r, o) => /* @__PURE__ */ n("span", { style: { "--i": o }, children: r === " " ? " " : r }, o)), qt = {
|
|
2861
2861
|
sm: I["button--size-sm"],
|
|
2862
2862
|
md: I["button--size-md"],
|
|
2863
2863
|
lg: I["button--size-lg"]
|
|
2864
|
-
},
|
|
2865
|
-
primary: "text-[#7e97b8] bg-[#dbeafe] border-[rgba(255,255,255,0.333)] shadow-[-4px_-
|
|
2866
|
-
secondary: "text-[#6b7280] bg-[#d1fae5] border-[rgba(255,255,255,0.4)] shadow-[-4px_-
|
|
2867
|
-
danger: "text-[#ef4444] bg-[#fecaca] border-[rgba(255,255,255,0.5)] shadow-[-4px_-
|
|
2868
|
-
},
|
|
2864
|
+
}, Ut = {
|
|
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
|
+
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
|
+
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
|
+
}, Rr = ({
|
|
2869
2869
|
children: e = "Send Message",
|
|
2870
2870
|
successText: r = "Sent",
|
|
2871
2871
|
onSubmit: o,
|
|
2872
2872
|
disabled: t,
|
|
2873
|
-
variant:
|
|
2873
|
+
variant: s = "primary",
|
|
2874
2874
|
size: l = "md",
|
|
2875
2875
|
className: a,
|
|
2876
|
-
...
|
|
2876
|
+
...c
|
|
2877
2877
|
}) => {
|
|
2878
|
-
const [i,
|
|
2878
|
+
const [i, u] = ue(!1), b = Ue(), _ = pe(null);
|
|
2879
2879
|
return /* @__PURE__ */ g(
|
|
2880
2880
|
"button",
|
|
2881
2881
|
{
|
|
2882
|
-
...
|
|
2882
|
+
...c,
|
|
2883
2883
|
ref: _,
|
|
2884
2884
|
type: "submit",
|
|
2885
2885
|
disabled: t,
|
|
2886
|
-
onClick: async (
|
|
2886
|
+
onClick: async (C) => {
|
|
2887
2887
|
if (o && !i)
|
|
2888
2888
|
try {
|
|
2889
|
-
await o(),
|
|
2890
|
-
|
|
2889
|
+
await o(), u(!0), _.current?.focus(), setTimeout(() => {
|
|
2890
|
+
u(!1), _.current?.blur();
|
|
2891
2891
|
}, 3e3);
|
|
2892
2892
|
} catch (v) {
|
|
2893
2893
|
console.error("Submit failed:", v);
|
|
2894
2894
|
}
|
|
2895
|
-
|
|
2895
|
+
c.onClick?.(C);
|
|
2896
2896
|
},
|
|
2897
|
-
className:
|
|
2898
|
-
"aria-label": i ? "Submission successful" :
|
|
2897
|
+
className: f(I.button, Ut[s], qt[l], a),
|
|
2898
|
+
"aria-label": i ? "Submission successful" : c["aria-label"] || "Submit",
|
|
2899
2899
|
"aria-disabled": t,
|
|
2900
2900
|
children: [
|
|
2901
|
-
/* @__PURE__ */
|
|
2902
|
-
/* @__PURE__ */ g("div", { className:
|
|
2903
|
-
/* @__PURE__ */
|
|
2901
|
+
/* @__PURE__ */ n("div", { className: I.outline }),
|
|
2902
|
+
/* @__PURE__ */ g("div", { className: f(I.state, I["state--default"]), children: [
|
|
2903
|
+
/* @__PURE__ */ n("div", { className: I.icon, children: /* @__PURE__ */ g(
|
|
2904
2904
|
"svg",
|
|
2905
2905
|
{
|
|
2906
2906
|
width: "1em",
|
|
@@ -2909,15 +2909,15 @@ const Gt = "_button_qraba_7", $t = "_state_qraba_79", Ht = "_icon_qraba_151", Ot
|
|
|
2909
2909
|
fill: "none",
|
|
2910
2910
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2911
2911
|
children: [
|
|
2912
|
-
/* @__PURE__ */ g("g", { style: { filter: `url(#${
|
|
2913
|
-
/* @__PURE__ */
|
|
2912
|
+
/* @__PURE__ */ g("g", { style: { filter: `url(#${b})` }, children: [
|
|
2913
|
+
/* @__PURE__ */ n(
|
|
2914
2914
|
"path",
|
|
2915
2915
|
{
|
|
2916
2916
|
d: "M14.2199 21.63C13.0399 21.63 11.3699 20.8 10.0499 16.83L9.32988 14.67L7.16988 13.95C3.20988 12.63 2.37988 10.96 2.37988 9.78001C2.37988 8.61001 3.20988 6.93001 7.16988 5.60001L15.6599 2.77001C17.7799 2.06001 19.5499 2.27001 20.6399 3.35001C21.7299 4.43001 21.9399 6.21001 21.2299 8.33001L18.3999 16.82C17.0699 20.8 15.3999 21.63 14.2199 21.63ZM7.63988 7.03001C4.85988 7.96001 3.86988 9.06001 3.86988 9.78001C3.86988 10.5 4.85988 11.6 7.63988 12.52L10.1599 13.36C10.3799 13.43 10.5599 13.61 10.6299 13.83L11.4699 16.35C12.3899 19.13 13.4999 20.12 14.2199 20.12C14.9399 20.12 16.0399 19.13 16.9699 16.35L19.7999 7.86001C20.3099 6.32001 20.2199 5.06001 19.5699 4.41001C18.9199 3.76001 17.6599 3.68001 16.1299 4.19001L7.63988 7.03001Z",
|
|
2917
2917
|
fill: "#6b7280"
|
|
2918
2918
|
}
|
|
2919
2919
|
),
|
|
2920
|
-
/* @__PURE__ */
|
|
2920
|
+
/* @__PURE__ */ n(
|
|
2921
2921
|
"path",
|
|
2922
2922
|
{
|
|
2923
2923
|
d: "M10.11 14.4C9.92005 14.4 9.73005 14.33 9.58005 14.18C9.29005 13.89 9.29005 13.41 9.58005 13.12L13.16 9.53C13.45 9.24 13.93 9.24 14.22 9.53C14.51 9.82 14.51 10.3 14.22 10.59L10.64 14.18C10.5 14.33 10.3 14.4 10.11 14.4Z",
|
|
@@ -2925,22 +2925,22 @@ const Gt = "_button_qraba_7", $t = "_state_qraba_79", Ht = "_icon_qraba_151", Ot
|
|
|
2925
2925
|
}
|
|
2926
2926
|
)
|
|
2927
2927
|
] }),
|
|
2928
|
-
/* @__PURE__ */
|
|
2928
|
+
/* @__PURE__ */ n("defs", { children: /* @__PURE__ */ n("filter", { id: b, children: /* @__PURE__ */ n(
|
|
2929
2929
|
"feDropShadow",
|
|
2930
2930
|
{
|
|
2931
2931
|
dx: "0",
|
|
2932
2932
|
dy: "1",
|
|
2933
|
-
stdDeviation: "0.
|
|
2934
|
-
floodOpacity: "0.
|
|
2933
|
+
stdDeviation: "0.3",
|
|
2934
|
+
floodOpacity: "0.25"
|
|
2935
2935
|
}
|
|
2936
2936
|
) }) })
|
|
2937
2937
|
]
|
|
2938
2938
|
}
|
|
2939
2939
|
) }),
|
|
2940
|
-
/* @__PURE__ */
|
|
2940
|
+
/* @__PURE__ */ n("p", { children: Se(typeof e == "string" ? e : "Send Message") })
|
|
2941
2941
|
] }),
|
|
2942
|
-
/* @__PURE__ */ g("div", { className:
|
|
2943
|
-
/* @__PURE__ */
|
|
2942
|
+
/* @__PURE__ */ g("div", { className: f(I.state, I["state--sent"]), children: [
|
|
2943
|
+
/* @__PURE__ */ n("div", { className: I.icon, children: /* @__PURE__ */ n(
|
|
2944
2944
|
"svg",
|
|
2945
2945
|
{
|
|
2946
2946
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2950,15 +2950,15 @@ const Gt = "_button_qraba_7", $t = "_state_qraba_79", Ht = "_icon_qraba_151", Ot
|
|
|
2950
2950
|
width: "1em",
|
|
2951
2951
|
strokeWidth: "0.5px",
|
|
2952
2952
|
stroke: "black",
|
|
2953
|
-
children: /* @__PURE__ */ g("g", { style: { filter: `url(#${
|
|
2954
|
-
/* @__PURE__ */
|
|
2953
|
+
children: /* @__PURE__ */ g("g", { style: { filter: `url(#${b})` }, children: [
|
|
2954
|
+
/* @__PURE__ */ n(
|
|
2955
2955
|
"path",
|
|
2956
2956
|
{
|
|
2957
2957
|
fill: "currentColor",
|
|
2958
2958
|
d: "M12 22.75C6.07 22.75 1.25 17.93 1.25 12C1.25 6.07 6.07 1.25 12 1.25C17.93 1.25 22.75 6.07 22.75 12C22.75 17.93 17.93 22.75 12 22.75ZM12 2.75C6.9 2.75 2.75 6.9 2.75 12C2.75 17.1 6.9 21.25 12 21.25C17.1 21.25 21.25 17.1 21.25 12C21.25 6.9 17.1 2.75 12 2.75Z"
|
|
2959
2959
|
}
|
|
2960
2960
|
),
|
|
2961
|
-
/* @__PURE__ */
|
|
2961
|
+
/* @__PURE__ */ n(
|
|
2962
2962
|
"path",
|
|
2963
2963
|
{
|
|
2964
2964
|
fill: "currentColor",
|
|
@@ -2968,27 +2968,27 @@ const Gt = "_button_qraba_7", $t = "_state_qraba_79", Ht = "_icon_qraba_151", Ot
|
|
|
2968
2968
|
] })
|
|
2969
2969
|
}
|
|
2970
2970
|
) }),
|
|
2971
|
-
/* @__PURE__ */
|
|
2971
|
+
/* @__PURE__ */ n("p", { children: Se(r) })
|
|
2972
2972
|
] })
|
|
2973
2973
|
]
|
|
2974
2974
|
}
|
|
2975
2975
|
);
|
|
2976
|
-
},
|
|
2976
|
+
}, Yt = {
|
|
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
|
+
}, We = y.forwardRef(({
|
|
2981
2981
|
size: e = "md",
|
|
2982
2982
|
error: r = !1,
|
|
2983
2983
|
className: o,
|
|
2984
2984
|
disabled: t,
|
|
2985
|
-
...
|
|
2985
|
+
...s
|
|
2986
2986
|
}, l) => /* @__PURE__ */ g("div", { className: "relative inline-flex items-center", children: [
|
|
2987
|
-
/* @__PURE__ */
|
|
2987
|
+
/* @__PURE__ */ n(
|
|
2988
2988
|
"input",
|
|
2989
2989
|
{
|
|
2990
2990
|
ref: l,
|
|
2991
|
-
className:
|
|
2991
|
+
className: f(
|
|
2992
2992
|
"bg-transparent",
|
|
2993
2993
|
"border-none",
|
|
2994
2994
|
"outline-none",
|
|
@@ -2998,16 +2998,16 @@ const Gt = "_button_qraba_7", $t = "_state_qraba_79", Ht = "_icon_qraba_151", Ot
|
|
|
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
|
+
Yt[e],
|
|
3002
3002
|
o
|
|
3003
3003
|
),
|
|
3004
3004
|
style: r ? { paddingRight: "2rem" } : void 0,
|
|
3005
3005
|
disabled: t,
|
|
3006
3006
|
"aria-invalid": r,
|
|
3007
|
-
...
|
|
3007
|
+
...s
|
|
3008
3008
|
}
|
|
3009
3009
|
),
|
|
3010
|
-
r && /* @__PURE__ */
|
|
3010
|
+
r && /* @__PURE__ */ n(
|
|
3011
3011
|
"svg",
|
|
3012
3012
|
{
|
|
3013
3013
|
className: "absolute right-2 w-4 h-4 text-danger pointer-events-none flex-shrink-0",
|
|
@@ -3016,7 +3016,7 @@ const Gt = "_button_qraba_7", $t = "_state_qraba_79", Ht = "_icon_qraba_151", Ot
|
|
|
3016
3016
|
stroke: "currentColor",
|
|
3017
3017
|
strokeWidth: "2",
|
|
3018
3018
|
"aria-hidden": "true",
|
|
3019
|
-
children: /* @__PURE__ */
|
|
3019
|
+
children: /* @__PURE__ */ n(
|
|
3020
3020
|
"path",
|
|
3021
3021
|
{
|
|
3022
3022
|
strokeLinecap: "round",
|
|
@@ -3027,48 +3027,48 @@ const Gt = "_button_qraba_7", $t = "_state_qraba_79", Ht = "_icon_qraba_151", Ot
|
|
|
3027
3027
|
}
|
|
3028
3028
|
)
|
|
3029
3029
|
] }));
|
|
3030
|
-
|
|
3031
|
-
const
|
|
3030
|
+
We.displayName = "Input";
|
|
3031
|
+
const Kt = y.forwardRef(({
|
|
3032
3032
|
label: e,
|
|
3033
3033
|
error: r = !1,
|
|
3034
3034
|
className: o,
|
|
3035
3035
|
disabled: t,
|
|
3036
|
-
checked:
|
|
3036
|
+
checked: s,
|
|
3037
3037
|
onChange: l,
|
|
3038
3038
|
...a
|
|
3039
|
-
},
|
|
3039
|
+
}, c) => {
|
|
3040
3040
|
const i = y.useId();
|
|
3041
|
-
return /* @__PURE__ */ g("div", { className:
|
|
3042
|
-
/* @__PURE__ */ g("label", { className:
|
|
3043
|
-
/* @__PURE__ */
|
|
3041
|
+
return /* @__PURE__ */ g("div", { className: f("flex items-center space-x-2", t && "cursor-not-allowed", r && !t && "cursor-help", o), children: [
|
|
3042
|
+
/* @__PURE__ */ g("label", { className: f("checkbox-container", t && "opacity-50 cursor-not-allowed", r && !t && "cursor-help", !t && !r && "cursor-pointer"), children: [
|
|
3043
|
+
/* @__PURE__ */ n(
|
|
3044
3044
|
"input",
|
|
3045
3045
|
{
|
|
3046
|
-
ref:
|
|
3046
|
+
ref: c,
|
|
3047
3047
|
id: i,
|
|
3048
3048
|
type: "checkbox",
|
|
3049
3049
|
disabled: t,
|
|
3050
|
-
checked:
|
|
3050
|
+
checked: s,
|
|
3051
3051
|
onChange: l,
|
|
3052
|
-
"aria-checked":
|
|
3052
|
+
"aria-checked": s,
|
|
3053
3053
|
"aria-invalid": r,
|
|
3054
3054
|
"aria-disabled": t,
|
|
3055
3055
|
...a
|
|
3056
3056
|
}
|
|
3057
3057
|
),
|
|
3058
|
-
/* @__PURE__ */
|
|
3058
|
+
/* @__PURE__ */ n("svg", { viewBox: "0 0 64 64", height: "1em", width: "1em", children: /* @__PURE__ */ n(
|
|
3059
3059
|
"path",
|
|
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: f("checkbox-path", r && "checkbox-path-error")
|
|
3064
3064
|
}
|
|
3065
3065
|
) })
|
|
3066
3066
|
] }),
|
|
3067
|
-
e && /* @__PURE__ */
|
|
3067
|
+
e && /* @__PURE__ */ n(
|
|
3068
3068
|
"label",
|
|
3069
3069
|
{
|
|
3070
3070
|
htmlFor: i,
|
|
3071
|
-
className:
|
|
3071
|
+
className: f(
|
|
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,20 +3077,20 @@ const qt = y.forwardRef(({
|
|
|
3077
3077
|
)
|
|
3078
3078
|
] });
|
|
3079
3079
|
});
|
|
3080
|
-
|
|
3081
|
-
const
|
|
3080
|
+
Kt.displayName = "Checkbox";
|
|
3081
|
+
const Tr = ({
|
|
3082
3082
|
label: e,
|
|
3083
3083
|
error: r = !1,
|
|
3084
3084
|
className: o,
|
|
3085
3085
|
disabled: t,
|
|
3086
|
-
checked:
|
|
3086
|
+
checked: s,
|
|
3087
3087
|
onChange: l,
|
|
3088
3088
|
id: a,
|
|
3089
|
-
...
|
|
3089
|
+
...c
|
|
3090
3090
|
}) => {
|
|
3091
|
-
const i = a || y.useId(),
|
|
3092
|
-
if ((
|
|
3093
|
-
|
|
3091
|
+
const i = a || y.useId(), u = (b) => {
|
|
3092
|
+
if ((b.key === "Enter" || b.key === " ") && !t) {
|
|
3093
|
+
b.preventDefault();
|
|
3094
3094
|
const _ = document.getElementById(i);
|
|
3095
3095
|
if (_) {
|
|
3096
3096
|
_.checked = !_.checked;
|
|
@@ -3099,39 +3099,39 @@ const wr = ({
|
|
|
3099
3099
|
}
|
|
3100
3100
|
}
|
|
3101
3101
|
};
|
|
3102
|
-
return /* @__PURE__ */ g("div", { className:
|
|
3103
|
-
/* @__PURE__ */
|
|
3102
|
+
return /* @__PURE__ */ g("div", { className: f("toggle-wrapper", r && "toggle-wrapper--error", t && "cursor-not-allowed", r && !t && "cursor-help", o), children: [
|
|
3103
|
+
/* @__PURE__ */ n(
|
|
3104
3104
|
"input",
|
|
3105
3105
|
{
|
|
3106
3106
|
id: i,
|
|
3107
3107
|
className: "toggle-checkbox",
|
|
3108
3108
|
type: "checkbox",
|
|
3109
|
-
checked:
|
|
3109
|
+
checked: s,
|
|
3110
3110
|
onChange: l,
|
|
3111
3111
|
disabled: t,
|
|
3112
3112
|
role: "switch",
|
|
3113
|
-
"aria-checked":
|
|
3113
|
+
"aria-checked": s,
|
|
3114
3114
|
"aria-disabled": t,
|
|
3115
3115
|
"aria-invalid": r,
|
|
3116
|
-
...
|
|
3116
|
+
...c
|
|
3117
3117
|
}
|
|
3118
3118
|
),
|
|
3119
|
-
/* @__PURE__ */
|
|
3119
|
+
/* @__PURE__ */ n(
|
|
3120
3120
|
"div",
|
|
3121
3121
|
{
|
|
3122
|
-
className:
|
|
3123
|
-
onKeyDown:
|
|
3122
|
+
className: f("toggle-container", t && "cursor-not-allowed", r && !t && "cursor-help"),
|
|
3123
|
+
onKeyDown: u,
|
|
3124
3124
|
tabIndex: t ? -1 : 0,
|
|
3125
3125
|
role: "button",
|
|
3126
3126
|
"aria-hidden": "true",
|
|
3127
|
-
children: /* @__PURE__ */
|
|
3127
|
+
children: /* @__PURE__ */ n("div", { className: "toggle-button", children: /* @__PURE__ */ n("div", { className: "toggle-button-circles-container", children: Array.from({ length: 12 }).map((b, _) => /* @__PURE__ */ n("div", { className: "toggle-button-circle" }, _)) }) })
|
|
3128
3128
|
}
|
|
3129
3129
|
),
|
|
3130
|
-
e && /* @__PURE__ */
|
|
3130
|
+
e && /* @__PURE__ */ n(
|
|
3131
3131
|
"label",
|
|
3132
3132
|
{
|
|
3133
3133
|
htmlFor: i,
|
|
3134
|
-
className:
|
|
3134
|
+
className: f(
|
|
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 wr = ({
|
|
|
3139
3139
|
}
|
|
3140
3140
|
)
|
|
3141
3141
|
] });
|
|
3142
|
-
},
|
|
3142
|
+
}, Er = ({ className: e, ...r }) => /* @__PURE__ */ n(
|
|
3143
3143
|
"div",
|
|
3144
3144
|
{
|
|
3145
|
-
className:
|
|
3145
|
+
className: f(
|
|
3146
3146
|
"card",
|
|
3147
3147
|
"w-full",
|
|
3148
3148
|
"rounded-lg border border-border",
|
|
@@ -3152,179 +3152,179 @@ const wr = ({
|
|
|
3152
3152
|
),
|
|
3153
3153
|
...r
|
|
3154
3154
|
}
|
|
3155
|
-
),
|
|
3155
|
+
), Pr = ({ className: e, ...r }) => /* @__PURE__ */ n(
|
|
3156
3156
|
"div",
|
|
3157
3157
|
{
|
|
3158
|
-
className:
|
|
3158
|
+
className: f("flex items-start justify-between gap-4 px-6 py-4 border-b border-border", e),
|
|
3159
3159
|
...r
|
|
3160
3160
|
}
|
|
3161
|
-
),
|
|
3161
|
+
), Gr = ({ className: e, ...r }) => /* @__PURE__ */ n("div", { className: f("px-6 py-4", e), ...r }), Vr = ({ className: e, ...r }) => /* @__PURE__ */ n(
|
|
3162
3162
|
"div",
|
|
3163
3163
|
{
|
|
3164
|
-
className:
|
|
3164
|
+
className: f("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
|
-
},
|
|
3172
|
-
const t = 8 *
|
|
3173
|
-
return /* @__PURE__ */ g("div", { className:
|
|
3174
|
-
/* @__PURE__ */
|
|
3175
|
-
/* @__PURE__ */
|
|
3171
|
+
}, Fr = ({ size: e = "md", className: r, ...o }) => {
|
|
3172
|
+
const t = 8 * Oe[e];
|
|
3173
|
+
return /* @__PURE__ */ g("div", { className: f("loader", r), style: { fontSize: `${t}px` }, ...o, children: [
|
|
3174
|
+
/* @__PURE__ */ n("div", { className: "loader-face loader-face-1", children: /* @__PURE__ */ n("div", { className: "loader-circle" }) }),
|
|
3175
|
+
/* @__PURE__ */ n("div", { className: "loader-face loader-face-2", children: /* @__PURE__ */ n("div", { className: "loader-circle" }) })
|
|
3176
3176
|
] });
|
|
3177
|
-
},
|
|
3177
|
+
}, jr = ({
|
|
3178
3178
|
size: e = "md",
|
|
3179
3179
|
variant: r = "inline",
|
|
3180
3180
|
label: o,
|
|
3181
3181
|
className: t,
|
|
3182
|
-
...
|
|
3182
|
+
...s
|
|
3183
3183
|
}) => {
|
|
3184
|
-
const l = 8 *
|
|
3185
|
-
return r === "container" ? /* @__PURE__ */
|
|
3184
|
+
const l = 8 * Oe[e];
|
|
3185
|
+
return r === "container" ? /* @__PURE__ */ n(
|
|
3186
3186
|
"div",
|
|
3187
3187
|
{
|
|
3188
|
-
className:
|
|
3188
|
+
className: f(
|
|
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
|
),
|
|
3192
|
-
...
|
|
3192
|
+
...s,
|
|
3193
3193
|
children: /* @__PURE__ */ g("div", { className: "flex flex-col items-center gap-3", children: [
|
|
3194
3194
|
/* @__PURE__ */ g("div", { className: "loader", style: { fontSize: `${l}px` }, children: [
|
|
3195
|
-
/* @__PURE__ */
|
|
3196
|
-
/* @__PURE__ */
|
|
3195
|
+
/* @__PURE__ */ n("div", { className: "loader-face loader-face-1", children: /* @__PURE__ */ n("div", { className: "loader-circle" }) }),
|
|
3196
|
+
/* @__PURE__ */ n("div", { className: "loader-face loader-face-2", children: /* @__PURE__ */ n("div", { className: "loader-circle" }) })
|
|
3197
3197
|
] }),
|
|
3198
|
-
o && /* @__PURE__ */
|
|
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: f("inline-flex items-center gap-2", t), ...s, children: [
|
|
3202
3202
|
/* @__PURE__ */ g("div", { className: "loader", style: { fontSize: `${l}px` }, children: [
|
|
3203
|
-
/* @__PURE__ */
|
|
3204
|
-
/* @__PURE__ */
|
|
3203
|
+
/* @__PURE__ */ n("div", { className: "loader-face loader-face-1", children: /* @__PURE__ */ n("div", { className: "loader-circle" }) }),
|
|
3204
|
+
/* @__PURE__ */ n("div", { className: "loader-face loader-face-2", children: /* @__PURE__ */ n("div", { className: "loader-circle" }) })
|
|
3205
3205
|
] }),
|
|
3206
|
-
o && /* @__PURE__ */
|
|
3206
|
+
o && /* @__PURE__ */ n("span", { className: "text-sm text-text-secondary", children: o })
|
|
3207
3207
|
] });
|
|
3208
|
-
},
|
|
3208
|
+
}, De = y.createContext(null), Br = ({
|
|
3209
3209
|
name: e,
|
|
3210
3210
|
legend: r,
|
|
3211
3211
|
value: o,
|
|
3212
3212
|
defaultValue: t,
|
|
3213
|
-
disabled:
|
|
3213
|
+
disabled: s = !1,
|
|
3214
3214
|
onValueChange: l,
|
|
3215
3215
|
className: a,
|
|
3216
|
-
children:
|
|
3216
|
+
children: c,
|
|
3217
3217
|
...i
|
|
3218
3218
|
}) => {
|
|
3219
|
-
const
|
|
3219
|
+
const u = o !== void 0, [b, _] = y.useState(t), w = u ? o : b, C = y.useCallback(
|
|
3220
3220
|
(v) => {
|
|
3221
|
-
|
|
3221
|
+
u || _(v), l?.(v);
|
|
3222
3222
|
},
|
|
3223
|
-
[
|
|
3223
|
+
[u, l]
|
|
3224
3224
|
);
|
|
3225
|
-
return /* @__PURE__ */
|
|
3225
|
+
return /* @__PURE__ */ n(De.Provider, { value: { name: e, value: w, disabled: s, onValueChange: C }, children: /* @__PURE__ */ g(
|
|
3226
3226
|
"fieldset",
|
|
3227
3227
|
{
|
|
3228
|
-
className:
|
|
3229
|
-
disabled:
|
|
3228
|
+
className: f("radio-input", s && "opacity-60 cursor-not-allowed", a),
|
|
3229
|
+
disabled: s,
|
|
3230
3230
|
...i,
|
|
3231
3231
|
children: [
|
|
3232
|
-
r && /* @__PURE__ */
|
|
3233
|
-
|
|
3232
|
+
r && /* @__PURE__ */ n("legend", { className: "text-sm font-medium text-text-primary", children: r }),
|
|
3233
|
+
c
|
|
3234
3234
|
]
|
|
3235
3235
|
}
|
|
3236
3236
|
) });
|
|
3237
|
-
},
|
|
3237
|
+
}, $r = ({
|
|
3238
3238
|
label: e,
|
|
3239
3239
|
value: r,
|
|
3240
3240
|
disabled: o,
|
|
3241
3241
|
checked: t,
|
|
3242
|
-
defaultChecked:
|
|
3242
|
+
defaultChecked: s,
|
|
3243
3243
|
name: l,
|
|
3244
3244
|
onChange: a,
|
|
3245
|
-
onCheckedChange:
|
|
3245
|
+
onCheckedChange: c,
|
|
3246
3246
|
className: i,
|
|
3247
|
-
...
|
|
3247
|
+
...u
|
|
3248
3248
|
}) => {
|
|
3249
|
-
const
|
|
3249
|
+
const b = y.useContext(De), _ = y.useId(), w = !!(o ?? b?.disabled), C = l ?? b?.name, v = !!b, N = t !== void 0, [M, R] = y.useState(!!s), T = v ? b?.value === r : N ? !!t : M, P = (V) => {
|
|
3250
3250
|
const A = V.target.checked;
|
|
3251
|
-
v && A ?
|
|
3252
|
-
},
|
|
3253
|
-
/* @__PURE__ */
|
|
3251
|
+
v && A ? b?.onValueChange?.(r) : N || R(A), c?.(A), a?.(V);
|
|
3252
|
+
}, G = /* @__PURE__ */ g("label", { htmlFor: _, className: f(w && "cursor-not-allowed", i), role: "radio", "aria-checked": T, "aria-disabled": w, children: [
|
|
3253
|
+
/* @__PURE__ */ n(
|
|
3254
3254
|
"input",
|
|
3255
3255
|
{
|
|
3256
3256
|
id: _,
|
|
3257
3257
|
type: "radio",
|
|
3258
|
-
name:
|
|
3258
|
+
name: C,
|
|
3259
3259
|
value: r,
|
|
3260
|
-
checked:
|
|
3260
|
+
checked: T,
|
|
3261
3261
|
disabled: w,
|
|
3262
|
-
onChange:
|
|
3262
|
+
onChange: P,
|
|
3263
3263
|
role: "radio",
|
|
3264
|
-
"aria-checked":
|
|
3264
|
+
"aria-checked": T,
|
|
3265
3265
|
"aria-disabled": w,
|
|
3266
|
-
...
|
|
3266
|
+
...u
|
|
3267
3267
|
}
|
|
3268
3268
|
),
|
|
3269
|
-
/* @__PURE__ */
|
|
3269
|
+
/* @__PURE__ */ n("span", { children: e || "" })
|
|
3270
3270
|
] });
|
|
3271
|
-
return v ?
|
|
3272
|
-
},
|
|
3271
|
+
return v ? G : /* @__PURE__ */ n("div", { className: "radio-input", children: G });
|
|
3272
|
+
}, Xt = {
|
|
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
|
+
}, Jt = {
|
|
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
|
+
}, Qt = {
|
|
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
|
+
}, er = {
|
|
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
|
+
}, Hr = ({
|
|
3293
3293
|
open: e,
|
|
3294
3294
|
onOpenChange: r,
|
|
3295
3295
|
content: o,
|
|
3296
3296
|
position: t = "top",
|
|
3297
|
-
delay:
|
|
3297
|
+
delay: s = 0,
|
|
3298
3298
|
disabled: l = !1,
|
|
3299
3299
|
children: a,
|
|
3300
|
-
className:
|
|
3300
|
+
className: c
|
|
3301
3301
|
}) => {
|
|
3302
|
-
const i = y.useRef(null),
|
|
3302
|
+
const i = y.useRef(null), u = () => {
|
|
3303
3303
|
i.current !== null && (window.clearTimeout(i.current), i.current = null);
|
|
3304
3304
|
};
|
|
3305
|
-
y.useEffect(() =>
|
|
3306
|
-
const
|
|
3305
|
+
y.useEffect(() => u, []);
|
|
3306
|
+
const b = () => {
|
|
3307
3307
|
if (!l) {
|
|
3308
|
-
if (
|
|
3309
|
-
i.current = window.setTimeout(() => r?.(!0),
|
|
3308
|
+
if (u(), s > 0) {
|
|
3309
|
+
i.current = window.setTimeout(() => r?.(!0), s);
|
|
3310
3310
|
return;
|
|
3311
3311
|
}
|
|
3312
3312
|
r?.(!0);
|
|
3313
3313
|
}
|
|
3314
3314
|
}, _ = () => {
|
|
3315
|
-
|
|
3316
|
-
}, w = y.Children.only(a),
|
|
3317
|
-
return /* @__PURE__ */ g("span", { className:
|
|
3315
|
+
u(), r?.(!1);
|
|
3316
|
+
}, w = y.Children.only(a), C = y.useId();
|
|
3317
|
+
return /* @__PURE__ */ g("span", { className: f("relative inline-block", c), children: [
|
|
3318
3318
|
y.cloneElement(w, {
|
|
3319
|
-
"aria-describedby": e && !l ?
|
|
3319
|
+
"aria-describedby": e && !l ? C : void 0,
|
|
3320
3320
|
onMouseEnter: (v) => {
|
|
3321
|
-
w.props.onMouseEnter?.(v),
|
|
3321
|
+
w.props.onMouseEnter?.(v), b();
|
|
3322
3322
|
},
|
|
3323
3323
|
onMouseLeave: (v) => {
|
|
3324
3324
|
w.props.onMouseLeave?.(v), _();
|
|
3325
3325
|
},
|
|
3326
3326
|
onFocus: (v) => {
|
|
3327
|
-
w.props.onFocus?.(v),
|
|
3327
|
+
w.props.onFocus?.(v), b();
|
|
3328
3328
|
},
|
|
3329
3329
|
onBlur: (v) => {
|
|
3330
3330
|
w.props.onBlur?.(v), _();
|
|
@@ -3333,33 +3333,33 @@ const wr = ({
|
|
|
3333
3333
|
e && !l && /* @__PURE__ */ g(
|
|
3334
3334
|
"span",
|
|
3335
3335
|
{
|
|
3336
|
-
id:
|
|
3336
|
+
id: C,
|
|
3337
3337
|
role: "tooltip",
|
|
3338
|
-
className:
|
|
3338
|
+
className: f(
|
|
3339
3339
|
"absolute z-50 pointer-events-none",
|
|
3340
|
-
|
|
3340
|
+
Xt[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"
|
|
3344
3344
|
),
|
|
3345
3345
|
children: [
|
|
3346
3346
|
o,
|
|
3347
|
-
/* @__PURE__ */
|
|
3347
|
+
/* @__PURE__ */ n(
|
|
3348
3348
|
"span",
|
|
3349
3349
|
{
|
|
3350
|
-
className:
|
|
3350
|
+
className: f(
|
|
3351
3351
|
"absolute w-0 h-0",
|
|
3352
|
-
|
|
3353
|
-
|
|
3352
|
+
Jt[t],
|
|
3353
|
+
Qt[t]
|
|
3354
3354
|
)
|
|
3355
3355
|
}
|
|
3356
3356
|
),
|
|
3357
|
-
/* @__PURE__ */
|
|
3357
|
+
/* @__PURE__ */ n(
|
|
3358
3358
|
"span",
|
|
3359
3359
|
{
|
|
3360
|
-
className:
|
|
3360
|
+
className: f(
|
|
3361
3361
|
"absolute w-0 h-0 bg-surface",
|
|
3362
|
-
|
|
3362
|
+
er[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 wr = ({
|
|
|
3371
3371
|
}
|
|
3372
3372
|
)
|
|
3373
3373
|
] });
|
|
3374
|
-
},
|
|
3374
|
+
}, Ze = Ye(void 0), Wr = ({
|
|
3375
3375
|
children: e,
|
|
3376
3376
|
defaultTheme: r
|
|
3377
3377
|
}) => {
|
|
@@ -3382,8 +3382,8 @@ const wr = ({
|
|
|
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,
|
|
3386
|
-
|
|
3385
|
+
}, [t, s] = ue(o), l = y.useCallback((a) => {
|
|
3386
|
+
s(a), typeof window < "u" && localStorage.setItem("theme", a);
|
|
3387
3387
|
}, []);
|
|
3388
3388
|
return y.useEffect(() => {
|
|
3389
3389
|
if (typeof document > "u") return;
|
|
@@ -3391,29 +3391,29 @@ const wr = ({
|
|
|
3391
3391
|
t === "light" ? (a.classList.add("theme-light"), a.classList.remove("theme-dark")) : (a.classList.add("theme-dark"), a.classList.remove("theme-light"));
|
|
3392
3392
|
}, [t]), y.useEffect(() => {
|
|
3393
3393
|
if (typeof window > "u" || !window.matchMedia) return;
|
|
3394
|
-
const a = window.matchMedia("(prefers-color-scheme: dark)"),
|
|
3395
|
-
typeof window < "u" && !localStorage.getItem("theme") &&
|
|
3394
|
+
const a = window.matchMedia("(prefers-color-scheme: dark)"), c = (i) => {
|
|
3395
|
+
typeof window < "u" && !localStorage.getItem("theme") && s(i.matches ? "dark" : "light");
|
|
3396
3396
|
};
|
|
3397
3397
|
if (a.addEventListener)
|
|
3398
|
-
return a.addEventListener("change",
|
|
3398
|
+
return a.addEventListener("change", c), () => a.removeEventListener("change", c);
|
|
3399
3399
|
if (a.addListener)
|
|
3400
|
-
return a.addListener(
|
|
3401
|
-
}, []), /* @__PURE__ */
|
|
3402
|
-
},
|
|
3403
|
-
const e =
|
|
3400
|
+
return a.addListener(c), () => a.removeListener(c);
|
|
3401
|
+
}, []), /* @__PURE__ */ n(Ze.Provider, { value: { theme: t, setTheme: l }, children: e });
|
|
3402
|
+
}, tr = () => {
|
|
3403
|
+
const e = Ke(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
|
+
}, Or = ({
|
|
3408
3408
|
className: e,
|
|
3409
3409
|
showLabel: r = !0
|
|
3410
3410
|
}) => {
|
|
3411
|
-
const { theme: o, setTheme: t } =
|
|
3412
|
-
t(
|
|
3413
|
-
}, a = (
|
|
3414
|
-
(
|
|
3411
|
+
const { theme: o, setTheme: t } = tr(), s = o === "dark", l = () => {
|
|
3412
|
+
t(s ? "light" : "dark");
|
|
3413
|
+
}, a = (c) => {
|
|
3414
|
+
(c.key === "Enter" || c.key === " ") && (c.preventDefault(), l());
|
|
3415
3415
|
};
|
|
3416
|
-
return /* @__PURE__ */ g("div", { className:
|
|
3416
|
+
return /* @__PURE__ */ g("div", { className: f("flex items-center gap-3", e), children: [
|
|
3417
3417
|
/* @__PURE__ */ g(
|
|
3418
3418
|
"label",
|
|
3419
3419
|
{
|
|
@@ -3421,22 +3421,22 @@ const wr = ({
|
|
|
3421
3421
|
onKeyDown: a,
|
|
3422
3422
|
tabIndex: 0,
|
|
3423
3423
|
role: "switch",
|
|
3424
|
-
"aria-checked":
|
|
3425
|
-
"aria-label":
|
|
3424
|
+
"aria-checked": s,
|
|
3425
|
+
"aria-label": s ? "Switch to light mode" : "Switch to dark mode",
|
|
3426
3426
|
children: [
|
|
3427
|
-
/* @__PURE__ */
|
|
3427
|
+
/* @__PURE__ */ n(
|
|
3428
3428
|
"input",
|
|
3429
3429
|
{
|
|
3430
3430
|
type: "checkbox",
|
|
3431
3431
|
className: "theme-switch__checkbox",
|
|
3432
|
-
checked:
|
|
3432
|
+
checked: s,
|
|
3433
3433
|
onChange: l,
|
|
3434
3434
|
"aria-hidden": "true"
|
|
3435
3435
|
}
|
|
3436
3436
|
),
|
|
3437
3437
|
/* @__PURE__ */ g("div", { className: "theme-switch__container", children: [
|
|
3438
|
-
/* @__PURE__ */
|
|
3439
|
-
/* @__PURE__ */
|
|
3438
|
+
/* @__PURE__ */ n("div", { className: "theme-switch__clouds" }),
|
|
3439
|
+
/* @__PURE__ */ n("div", { className: "theme-switch__stars-container", children: /* @__PURE__ */ n("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 144 55", fill: "none", children: /* @__PURE__ */ n(
|
|
3440
3440
|
"path",
|
|
3441
3441
|
{
|
|
3442
3442
|
fillRule: "evenodd",
|
|
@@ -3445,77 +3445,66 @@ const wr = ({
|
|
|
3445
3445
|
fill: "currentColor"
|
|
3446
3446
|
}
|
|
3447
3447
|
) }) }),
|
|
3448
|
-
/* @__PURE__ */
|
|
3449
|
-
/* @__PURE__ */
|
|
3450
|
-
/* @__PURE__ */
|
|
3451
|
-
/* @__PURE__ */
|
|
3448
|
+
/* @__PURE__ */ n("div", { className: "theme-switch__circle-container", children: /* @__PURE__ */ n("div", { className: "theme-switch__sun-moon-container", children: /* @__PURE__ */ g("div", { className: "theme-switch__moon", children: [
|
|
3449
|
+
/* @__PURE__ */ n("div", { className: "theme-switch__spot" }),
|
|
3450
|
+
/* @__PURE__ */ n("div", { className: "theme-switch__spot" }),
|
|
3451
|
+
/* @__PURE__ */ n("div", { className: "theme-switch__spot" })
|
|
3452
3452
|
] }) }) })
|
|
3453
3453
|
] })
|
|
3454
3454
|
]
|
|
3455
3455
|
}
|
|
3456
3456
|
),
|
|
3457
|
-
r && /* @__PURE__ */
|
|
3457
|
+
r && /* @__PURE__ */ n("span", { className: "text-sm font-medium text-text-primary", children: s ? "Dark" : "Light" })
|
|
3458
3458
|
] });
|
|
3459
|
-
},
|
|
3459
|
+
}, rr = ({
|
|
3460
3460
|
width: e = 315,
|
|
3461
3461
|
aspectRatio: r = 1.33,
|
|
3462
3462
|
className: o,
|
|
3463
3463
|
children: t,
|
|
3464
|
-
...
|
|
3465
|
-
}) => /* @__PURE__ */
|
|
3464
|
+
...s
|
|
3465
|
+
}) => /* @__PURE__ */ n(
|
|
3466
3466
|
"div",
|
|
3467
3467
|
{
|
|
3468
|
-
className:
|
|
3469
|
-
"relative flex justify-center items-center
|
|
3468
|
+
className: f(
|
|
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)]",
|
|
3472
3472
|
"z-[8]",
|
|
3473
3473
|
o
|
|
3474
3474
|
),
|
|
3475
3475
|
style: {
|
|
3476
|
-
width: `${e
|
|
3477
|
-
|
|
3476
|
+
width: `${e}px`,
|
|
3477
|
+
minHeight: `${e * r}px`
|
|
3478
3478
|
},
|
|
3479
|
-
...
|
|
3480
|
-
children:
|
|
3481
|
-
/* @__PURE__ */ s(
|
|
3482
|
-
"div",
|
|
3483
|
-
{
|
|
3484
|
-
className: "absolute inset-[-50px] z-[-2] form-border-animation",
|
|
3485
|
-
style: {
|
|
3486
|
-
background: "conic-gradient(from 45deg, transparent 75%, var(--color-text-primary), transparent 100%)"
|
|
3487
|
-
}
|
|
3488
|
-
}
|
|
3489
|
-
),
|
|
3490
|
-
t
|
|
3491
|
-
]
|
|
3479
|
+
...s,
|
|
3480
|
+
children: t
|
|
3492
3481
|
}
|
|
3493
|
-
),
|
|
3482
|
+
), or = ({
|
|
3494
3483
|
width: e = 315,
|
|
3495
3484
|
aspectRatio: r = 1.33,
|
|
3496
3485
|
className: o,
|
|
3497
3486
|
children: t,
|
|
3498
|
-
...
|
|
3499
|
-
}) => /* @__PURE__ */
|
|
3487
|
+
...s
|
|
3488
|
+
}) => /* @__PURE__ */ n(
|
|
3500
3489
|
"div",
|
|
3501
3490
|
{
|
|
3502
|
-
className:
|
|
3503
|
-
"
|
|
3491
|
+
className: f(
|
|
3492
|
+
"relative bg-surface-tertiary rounded-[24px] p-7 z-[10]",
|
|
3504
3493
|
"backdrop-blur-[15px]",
|
|
3505
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)]",
|
|
3495
|
+
"w-full",
|
|
3506
3496
|
o
|
|
3507
3497
|
),
|
|
3508
3498
|
style: {
|
|
3509
|
-
|
|
3510
|
-
height: `${e * r}px`
|
|
3499
|
+
minHeight: `${e * r}px`
|
|
3511
3500
|
},
|
|
3512
|
-
...
|
|
3501
|
+
...s,
|
|
3513
3502
|
children: t
|
|
3514
3503
|
}
|
|
3515
|
-
),
|
|
3504
|
+
), nr = ({ className: e, ...r }) => /* @__PURE__ */ g(
|
|
3516
3505
|
"div",
|
|
3517
3506
|
{
|
|
3518
|
-
className:
|
|
3507
|
+
className: f(
|
|
3519
3508
|
"w-[65px] h-[65px] rounded-[20px] border-2 border-white",
|
|
3520
3509
|
"bg-gradient-to-br from-white/20 to-black/20",
|
|
3521
3510
|
"shadow-[8px_8px_16px_rgba(0,0,0,0.2),-8px_-8px_16px_rgba(255,255,255,0.06)]",
|
|
@@ -3524,63 +3513,63 @@ const wr = ({
|
|
|
3524
3513
|
),
|
|
3525
3514
|
...r,
|
|
3526
3515
|
children: [
|
|
3527
|
-
/* @__PURE__ */
|
|
3528
|
-
/* @__PURE__ */
|
|
3516
|
+
/* @__PURE__ */ n("div", { className: "absolute bottom-[10px] w-1/2 h-[20%] rounded-tl-[40px] rounded-tr-[40px] rounded-br-[20px] rounded-bl-[20px] border-[2.5px] border-white" }),
|
|
3517
|
+
/* @__PURE__ */ n("div", { className: "absolute top-[10px] w-[30%] h-[30%] rounded-full border-[2.5px] border-white" })
|
|
3529
3518
|
]
|
|
3530
3519
|
}
|
|
3531
|
-
),
|
|
3520
|
+
), Dr = ({
|
|
3532
3521
|
title: e,
|
|
3533
3522
|
showLogo: r = !1,
|
|
3534
3523
|
footer: o,
|
|
3535
3524
|
width: t = 315,
|
|
3536
|
-
aspectRatio:
|
|
3525
|
+
aspectRatio: s = 1.33,
|
|
3537
3526
|
className: l,
|
|
3538
3527
|
children: a,
|
|
3539
|
-
...
|
|
3540
|
-
}) => /* @__PURE__ */
|
|
3528
|
+
...c
|
|
3529
|
+
}) => /* @__PURE__ */ n(rr, { width: t, aspectRatio: s, children: /* @__PURE__ */ g(or, { width: t, aspectRatio: s, children: [
|
|
3541
3530
|
/* @__PURE__ */ g(
|
|
3542
3531
|
"form",
|
|
3543
3532
|
{
|
|
3544
|
-
className:
|
|
3545
|
-
...
|
|
3533
|
+
className: f("flex justify-center items-center flex-col gap-[10px]", l),
|
|
3534
|
+
...c,
|
|
3546
3535
|
children: [
|
|
3547
|
-
r && /* @__PURE__ */
|
|
3548
|
-
e && /* @__PURE__ */
|
|
3536
|
+
r && /* @__PURE__ */ n("div", { className: "flex justify-center items-center mb-2", children: /* @__PURE__ */ n(nr, {}) }),
|
|
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 }),
|
|
3549
3538
|
a
|
|
3550
3539
|
]
|
|
3551
3540
|
}
|
|
3552
3541
|
),
|
|
3553
|
-
o && /* @__PURE__ */
|
|
3554
|
-
] }) }),
|
|
3542
|
+
o && /* @__PURE__ */ n("div", { className: "w-full text-left text-text-secondary text-xs mt-4", children: o })
|
|
3543
|
+
] }) }), Zr = ({
|
|
3555
3544
|
label: e,
|
|
3556
3545
|
error: r,
|
|
3557
3546
|
className: o,
|
|
3558
3547
|
size: t,
|
|
3559
|
-
...
|
|
3548
|
+
...s
|
|
3560
3549
|
}) => /* @__PURE__ */ g("div", { className: "w-full", children: [
|
|
3561
|
-
e && /* @__PURE__ */
|
|
3562
|
-
/* @__PURE__ */
|
|
3563
|
-
|
|
3550
|
+
e && /* @__PURE__ */ n("label", { className: "block text-text-primary text-sm mb-1.5", children: e }),
|
|
3551
|
+
/* @__PURE__ */ n("div", { className: "flex justify-center", children: /* @__PURE__ */ n(
|
|
3552
|
+
We,
|
|
3564
3553
|
{
|
|
3565
|
-
className:
|
|
3554
|
+
className: f(
|
|
3566
3555
|
"p-3 border-none rounded-xl bg-surface text-text-primary text-sm outline-none",
|
|
3567
3556
|
"focus:border focus:border-border-focus",
|
|
3568
3557
|
o
|
|
3569
3558
|
),
|
|
3570
3559
|
error: r,
|
|
3571
3560
|
size: t,
|
|
3572
|
-
...
|
|
3561
|
+
...s
|
|
3573
3562
|
}
|
|
3574
3563
|
) })
|
|
3575
|
-
] }),
|
|
3564
|
+
] }), qr = ({
|
|
3576
3565
|
variant: e = "primary",
|
|
3577
3566
|
className: r,
|
|
3578
3567
|
children: o,
|
|
3579
3568
|
...t
|
|
3580
|
-
}) => e === "google" ? /* @__PURE__ */
|
|
3569
|
+
}) => e === "google" ? /* @__PURE__ */ n(
|
|
3581
3570
|
"button",
|
|
3582
3571
|
{
|
|
3583
|
-
className:
|
|
3572
|
+
className: f(
|
|
3584
3573
|
"w-full h-10 border-none rounded-[20px] text-sm font-semibold cursor-pointer",
|
|
3585
3574
|
"grid place-content-center gap-2.5 bg-surface-secondary text-text-primary",
|
|
3586
3575
|
"transition-all duration-300",
|
|
@@ -3592,39 +3581,39 @@ const wr = ({
|
|
|
3592
3581
|
...t,
|
|
3593
3582
|
children: o
|
|
3594
3583
|
}
|
|
3595
|
-
) : /* @__PURE__ */
|
|
3596
|
-
|
|
3584
|
+
) : /* @__PURE__ */ n(
|
|
3585
|
+
He,
|
|
3597
3586
|
{
|
|
3598
3587
|
variant: "primary",
|
|
3599
|
-
className:
|
|
3588
|
+
className: f(
|
|
3600
3589
|
"w-full h-10 rounded-[20px] text-sm font-semibold mt-1.5",
|
|
3601
3590
|
r
|
|
3602
3591
|
),
|
|
3603
3592
|
...t,
|
|
3604
3593
|
children: o
|
|
3605
3594
|
}
|
|
3606
|
-
),
|
|
3595
|
+
), Ur = ({
|
|
3607
3596
|
className: e,
|
|
3608
3597
|
children: r,
|
|
3609
3598
|
...o
|
|
3610
|
-
}) => /* @__PURE__ */
|
|
3599
|
+
}) => /* @__PURE__ */ n(
|
|
3611
3600
|
"div",
|
|
3612
3601
|
{
|
|
3613
|
-
className:
|
|
3602
|
+
className: f(
|
|
3614
3603
|
"w-full text-left text-text-secondary text-xs",
|
|
3615
3604
|
e
|
|
3616
3605
|
),
|
|
3617
3606
|
...o,
|
|
3618
3607
|
children: r
|
|
3619
3608
|
}
|
|
3620
|
-
),
|
|
3609
|
+
), Yr = ({
|
|
3621
3610
|
className: e,
|
|
3622
3611
|
children: r,
|
|
3623
3612
|
...o
|
|
3624
|
-
}) => /* @__PURE__ */
|
|
3613
|
+
}) => /* @__PURE__ */ n(
|
|
3625
3614
|
"a",
|
|
3626
3615
|
{
|
|
3627
|
-
className:
|
|
3616
|
+
className: f(
|
|
3628
3617
|
"relative text-text-secondary font-semibold no-underline transition-colors duration-300 ease-in-out",
|
|
3629
3618
|
"hover:text-white",
|
|
3630
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',
|
|
@@ -3634,64 +3623,101 @@ const wr = ({
|
|
|
3634
3623
|
...o,
|
|
3635
3624
|
children: r
|
|
3636
3625
|
}
|
|
3637
|
-
),
|
|
3638
|
-
container:
|
|
3639
|
-
"container--size-sm": "_container--size-
|
|
3640
|
-
"container--size-md": "_container--size-
|
|
3641
|
-
"container--size-lg": "_container--size-
|
|
3642
|
-
"search-container": "_search-
|
|
3643
|
-
input:
|
|
3644
|
-
"input--size-sm": "_input--size-
|
|
3645
|
-
"input--size-md": "_input--size-
|
|
3646
|
-
"input--size-lg": "_input--size-
|
|
3647
|
-
search__icon:
|
|
3648
|
-
},
|
|
3626
|
+
), sr = "_container_14dne_1", ar = "_input_14dne_119", lr = "_search__icon_14dne_177", E = {
|
|
3627
|
+
container: sr,
|
|
3628
|
+
"container--size-sm": "_container--size-sm_14dne_25",
|
|
3629
|
+
"container--size-md": "_container--size-md_14dne_33",
|
|
3630
|
+
"container--size-lg": "_container--size-lg_14dne_41",
|
|
3631
|
+
"search-container": "_search-container_14dne_49",
|
|
3632
|
+
input: ar,
|
|
3633
|
+
"input--size-sm": "_input--size-sm_14dne_147",
|
|
3634
|
+
"input--size-md": "_input--size-md_14dne_157",
|
|
3635
|
+
"input--size-lg": "_input--size-lg_14dne_167",
|
|
3636
|
+
search__icon: lr
|
|
3637
|
+
}, ir = {
|
|
3649
3638
|
sm: {
|
|
3650
|
-
container:
|
|
3651
|
-
input:
|
|
3639
|
+
container: E["container--size-sm"],
|
|
3640
|
+
input: E["input--size-sm"]
|
|
3652
3641
|
},
|
|
3653
3642
|
md: {
|
|
3654
|
-
container:
|
|
3655
|
-
input:
|
|
3643
|
+
container: E["container--size-md"],
|
|
3644
|
+
input: E["input--size-md"]
|
|
3656
3645
|
},
|
|
3657
3646
|
lg: {
|
|
3658
|
-
container:
|
|
3659
|
-
input:
|
|
3647
|
+
container: E["container--size-lg"],
|
|
3648
|
+
input: E["input--size-lg"]
|
|
3660
3649
|
}
|
|
3661
|
-
},
|
|
3650
|
+
}, cr = {
|
|
3651
|
+
sm: 200,
|
|
3652
|
+
md: 260,
|
|
3653
|
+
lg: 320
|
|
3654
|
+
}, dr = y.forwardRef(({
|
|
3662
3655
|
size: e = "md",
|
|
3663
3656
|
className: r,
|
|
3664
3657
|
inputClassName: o,
|
|
3665
3658
|
searchContainerClassName: t,
|
|
3666
|
-
|
|
3667
|
-
|
|
3668
|
-
|
|
3669
|
-
|
|
3670
|
-
|
|
3671
|
-
|
|
3659
|
+
placeholder: s,
|
|
3660
|
+
...l
|
|
3661
|
+
}, a) => {
|
|
3662
|
+
const c = ir[e], i = pe(null), u = pe(null), [b, _] = ue(void 0);
|
|
3663
|
+
return Xe(() => {
|
|
3664
|
+
if (!s || !u.current) return;
|
|
3665
|
+
const C = u.current.offsetWidth, v = 70, N = e === "sm" ? 32 : e === "md" ? 40 : 48, T = C + v + N + 10 + 20, P = cr[e];
|
|
3666
|
+
_(Math.max(T, P));
|
|
3667
|
+
}, [s, e]), /* @__PURE__ */ g(qe, { children: [
|
|
3668
|
+
/* @__PURE__ */ n(
|
|
3669
|
+
"span",
|
|
3672
3670
|
{
|
|
3673
|
-
ref:
|
|
3674
|
-
className:
|
|
3675
|
-
|
|
3676
|
-
|
|
3671
|
+
ref: u,
|
|
3672
|
+
className: f(c.input),
|
|
3673
|
+
style: {
|
|
3674
|
+
position: "absolute",
|
|
3675
|
+
visibility: "hidden",
|
|
3676
|
+
whiteSpace: "pre",
|
|
3677
|
+
pointerEvents: "none",
|
|
3678
|
+
top: "-9999px",
|
|
3679
|
+
left: "-9999px"
|
|
3680
|
+
},
|
|
3681
|
+
"aria-hidden": "true",
|
|
3682
|
+
children: s
|
|
3677
3683
|
}
|
|
3678
3684
|
),
|
|
3679
|
-
/* @__PURE__ */
|
|
3680
|
-
|
|
3685
|
+
/* @__PURE__ */ n(
|
|
3686
|
+
"div",
|
|
3687
|
+
{
|
|
3688
|
+
ref: i,
|
|
3689
|
+
className: f(E.container, c.container, r),
|
|
3690
|
+
style: b ? { width: `${b}px`, maxWidth: "100%" } : void 0,
|
|
3691
|
+
children: /* @__PURE__ */ g("div", { className: f(E["search-container"], t), children: [
|
|
3692
|
+
/* @__PURE__ */ n(
|
|
3693
|
+
"input",
|
|
3694
|
+
{
|
|
3695
|
+
ref: a,
|
|
3696
|
+
className: f(E.input, c.input, o),
|
|
3697
|
+
type: "search",
|
|
3698
|
+
placeholder: s,
|
|
3699
|
+
...l
|
|
3700
|
+
}
|
|
3701
|
+
),
|
|
3702
|
+
/* @__PURE__ */ n("svg", { viewBox: "0 0 24 24", className: E.search__icon, "aria-hidden": "true", focusable: "false", children: /* @__PURE__ */ n("g", { children: /* @__PURE__ */ n("path", { d: "M21.53 20.47l-3.66-3.66C19.195 15.24 20 13.214 20 11c0-4.97-4.03-9-9-9s-9 4.03-9 9 4.03 9 9 9c2.215 0 4.24-.804 5.808-2.13l3.66 3.66c.147.146.34.22.53.22s.385-.073.53-.22c.295-.293.295-.767.002-1.06zM3.5 11c0-4.135 3.365-7.5 7.5-7.5s7.5 3.365 7.5 7.5-3.365 7.5-7.5 7.5-7.5-3.365-7.5-7.5z" }) }) })
|
|
3703
|
+
] })
|
|
3704
|
+
}
|
|
3705
|
+
)
|
|
3706
|
+
] });
|
|
3681
3707
|
});
|
|
3682
|
-
|
|
3683
|
-
const
|
|
3684
|
-
list:
|
|
3685
|
-
listHorizontal:
|
|
3686
|
-
iconContent:
|
|
3687
|
-
tooltip:
|
|
3688
|
-
tooltipHorizontal:
|
|
3689
|
-
link:
|
|
3690
|
-
filled:
|
|
3691
|
-
},
|
|
3708
|
+
dr.displayName = "SearchBar";
|
|
3709
|
+
const pr = "_list_hdx8a_1", mr = "_listHorizontal_hdx8a_11", ur = "_iconContent_hdx8a_15", fr = "_tooltip_hdx8a_25", hr = "_tooltipHorizontal_hdx8a_46", br = "_link_hdx8a_60", xr = "_filled_hdx8a_87", O = {
|
|
3710
|
+
list: pr,
|
|
3711
|
+
listHorizontal: mr,
|
|
3712
|
+
iconContent: ur,
|
|
3713
|
+
tooltip: fr,
|
|
3714
|
+
tooltipHorizontal: hr,
|
|
3715
|
+
link: br,
|
|
3716
|
+
filled: xr
|
|
3717
|
+
}, gr = (e) => {
|
|
3692
3718
|
switch (e) {
|
|
3693
3719
|
case "linkedin":
|
|
3694
|
-
return /* @__PURE__ */
|
|
3720
|
+
return /* @__PURE__ */ n(
|
|
3695
3721
|
"path",
|
|
3696
3722
|
{
|
|
3697
3723
|
d: "M0 1.146C0 .513.526 0 1.175 0h13.65C15.474 0 16 .513 16 1.146v13.708c0 .633-.526 1.146-1.175 1.146H1.175C.526 16 0 15.487 0 14.854zm4.943 12.248V6.169H2.542v7.225zm-1.2-8.212c.837 0 1.358-.554 1.358-1.248-.015-.709-.52-1.248-1.342-1.248S2.4 3.226 2.4 3.934c0 .694.521 1.248 1.327 1.248zm4.908 8.212V9.359c0-.216.016-.432.08-.586.173-.431.568-.878 1.232-.878.869 0 1.216.662 1.216 1.634v3.865h2.401V9.25c0-2.22-1.184-3.252-2.764-3.252-1.274 0-1.845.7-2.165 1.193v.025h-.016l.016-.025V6.169h-2.4c.03.678 0 7.225 0 7.225z",
|
|
@@ -3699,7 +3725,7 @@ const lr = "_list_hdx8a_1", ir = "_listHorizontal_hdx8a_11", cr = "_iconContent_
|
|
|
3699
3725
|
}
|
|
3700
3726
|
);
|
|
3701
3727
|
case "github":
|
|
3702
|
-
return /* @__PURE__ */
|
|
3728
|
+
return /* @__PURE__ */ n(
|
|
3703
3729
|
"path",
|
|
3704
3730
|
{
|
|
3705
3731
|
d: "M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27s1.36.09 2 .27c1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.01 8.01 0 0 0 16 8c0-4.42-3.58-8-8-8",
|
|
@@ -3707,7 +3733,7 @@ const lr = "_list_hdx8a_1", ir = "_listHorizontal_hdx8a_11", cr = "_iconContent_
|
|
|
3707
3733
|
}
|
|
3708
3734
|
);
|
|
3709
3735
|
case "instagram":
|
|
3710
|
-
return /* @__PURE__ */
|
|
3736
|
+
return /* @__PURE__ */ n(
|
|
3711
3737
|
"path",
|
|
3712
3738
|
{
|
|
3713
3739
|
d: "M8 0C5.829 0 5.556.01 4.703.048 3.85.088 3.269.222 2.76.42a3.9 3.9 0 0 0-1.417.923A3.9 3.9 0 0 0 .42 2.76C.222 3.268.087 3.85.048 4.7.01 5.555 0 5.827 0 8.001c0 2.172.01 2.444.048 3.297.04.852.174 1.433.372 1.942.205.526.478.972.923 1.417.444.445.89.719 1.416.923.51.198 1.09.333 1.942.372C5.555 15.99 5.827 16 8 16s2.444-.01 3.298-.048c.851-.04 1.434-.174 1.943-.372a3.9 3.9 0 0 0 1.416-.923c.445-.445.718-.891.923-1.417.197-.509.332-1.09.372-1.942C15.99 10.445 16 10.173 16 8s-.01-2.445-.048-3.299c-.04-.851-.175-1.433-.372-1.941a3.9 3.9 0 0 0-.923-1.417A3.9 3.9 0 0 0 13.24.42c-.51-.198-1.092-.333-1.943-.372C10.443.01 10.172 0 7.998 0zm-.717 1.442h.718c2.136 0 2.389.007 3.232.046.78.035 1.204.166 1.486.275.373.145.64.319.92.599s.453.546.598.92c.11.281.24.705.275 1.485.039.843.047 1.096.047 3.231s-.008 2.389-.047 3.232c-.035.78-.166 1.203-.275 1.485a2.5 2.5 0 0 1-.599.919c-.28.28-.546.453-.92.598-.28.11-.704.24-1.485.276-.843.038-1.096.047-3.232.047s-2.39-.009-3.233-.047c-.78-.036-1.203-.166-1.485-.276a2.5 2.5 0 0 1-.92-.598 2.5 2.5 0 0 1-.6-.92c-.109-.281-.24-.705-.275-1.485-.038-.843-.046-1.096-.046-3.233s.008-2.388.046-3.231c.036-.78.166-1.204.276-1.486.145-.373.319-.64.599-.92s.546-.453.92-.598c.282-.11.705-.24 1.485-.276.738-.034 1.024-.044 2.515-.045zm4.988 1.328a.96.96 0 1 0 0 1.92.96.96 0 0 0 0-1.92m-4.27 1.122a4.109 4.109 0 1 0 0 8.217 4.109 4.109 0 0 0 0-8.217m0 1.441a2.667 2.667 0 1 1 0 5.334 2.667 2.667 0 0 1 0-5.334",
|
|
@@ -3715,7 +3741,7 @@ const lr = "_list_hdx8a_1", ir = "_listHorizontal_hdx8a_11", cr = "_iconContent_
|
|
|
3715
3741
|
}
|
|
3716
3742
|
);
|
|
3717
3743
|
case "youtube":
|
|
3718
|
-
return /* @__PURE__ */
|
|
3744
|
+
return /* @__PURE__ */ n(
|
|
3719
3745
|
"path",
|
|
3720
3746
|
{
|
|
3721
3747
|
d: "M8.051 1.999h.089c.822.003 4.987.033 6.11.335a2.01 2.01 0 0 1 1.415 1.42c.101.38.172.883.22 1.402l.01.104.022.26.008.104c.065.914.073 1.77.074 1.957v.075c-.001.194-.01 1.108-.082 2.06l-.008.105-.009.104c-.05.572-.124 1.14-.235 1.558a2.01 2.01 0 0 1-1.415 1.42c-1.16.312-5.569.334-6.18.335h-.142c-.309 0-1.587-.006-2.927-.052l-.17-.006-.087-.004-.171-.007-.171-.007c-1.11-.049-2.167-.128-2.654-.26a2.01 2.01 0 0 1-1.415-1.419c-.111-.417-.185-.986-.235-1.558L.09 9.82l-.008-.104A31 31 0 0 1 0 7.68v-.123c.002-.215.01-.958.064-1.778l.007-.103.003-.052.008-.104.022-.26.01-.104c.048-.519.119-1.023.22-1.402a2.01 2.01 0 0 1 1.415-1.42c.487-.13 1.544-.21 2.654-.26l.17-.007.172-.006.086-.003.171-.007A100 100 0 0 1 7.858 2zM6.4 5.209v4.818l4.157-2.408z",
|
|
@@ -3723,7 +3749,7 @@ const lr = "_list_hdx8a_1", ir = "_listHorizontal_hdx8a_11", cr = "_iconContent_
|
|
|
3723
3749
|
}
|
|
3724
3750
|
);
|
|
3725
3751
|
case "facebook":
|
|
3726
|
-
return /* @__PURE__ */
|
|
3752
|
+
return /* @__PURE__ */ n(
|
|
3727
3753
|
"path",
|
|
3728
3754
|
{
|
|
3729
3755
|
d: "M16 8.049c0-4.446-3.582-8.05-8-8.05C3.58 0-.002 3.603-.002 8.05c0 4.017 2.926 7.347 6.75 7.951v-5.625h-2.03V8.05H6.75V6.275c0-2.017 1.195-3.131 3.022-3.131.876 0 1.791.157 1.791.157v1.98h-1.009c-.993 0-1.303.621-1.303 1.258v1.51h2.218l-.354 2.326H9.25V16c3.824-.604 6.75-3.934 6.75-7.951z",
|
|
@@ -3731,7 +3757,7 @@ const lr = "_list_hdx8a_1", ir = "_listHorizontal_hdx8a_11", cr = "_iconContent_
|
|
|
3731
3757
|
}
|
|
3732
3758
|
);
|
|
3733
3759
|
case "spotify":
|
|
3734
|
-
return /* @__PURE__ */
|
|
3760
|
+
return /* @__PURE__ */ n(
|
|
3735
3761
|
"path",
|
|
3736
3762
|
{
|
|
3737
3763
|
d: "M8 0C3.58 0 0 3.58 0 8s3.58 8 8 8 8-3.58 8-8-3.58-8-8-8zm3.67 11.56c-.13.21-.41.28-.62.15-1.69-1.03-3.81-1.26-6.3-.69-.24.05-.48-.1-.53-.34-.05-.24.1-.48.34-.53 2.7-.63 5.01-.37 6.89.81.21.13.28.41.15.62zm.89-1.96c-.16.25-.5.33-.75.17-1.93-1.18-4.87-1.52-7.15-.83-.29.08-.59-.1-.67-.39-.08-.29.1-.59.39-.67 2.58-.78 5.8-.4 7.98.95.25.16.33.5.17.75zm.11-2.08C10.15 6.6 6.03 6.4 3.48 7.23c-.36.11-.74-.06-.85-.42-.11-.36.06-.74.42-.85 2.99-.91 7.49-.68 10.27 1.07.32.19.42.63.23.95-.19.32-.63.42-.95.23z",
|
|
@@ -3739,7 +3765,7 @@ const lr = "_list_hdx8a_1", ir = "_listHorizontal_hdx8a_11", cr = "_iconContent_
|
|
|
3739
3765
|
}
|
|
3740
3766
|
);
|
|
3741
3767
|
case "telegram":
|
|
3742
|
-
return /* @__PURE__ */
|
|
3768
|
+
return /* @__PURE__ */ n(
|
|
3743
3769
|
"path",
|
|
3744
3770
|
{
|
|
3745
3771
|
d: "M15.854.146a.5.5 0 0 1 .11.54l-5.819 14.547a.75.75 0 0 1-1.329.124l-3.178-4.995L.643 7.184a.75.75 0 0 1 .124-1.33L15.314.037a.5.5 0 0 1 .54.11ZM6.636 10.07l2.761 4.338L14.13 2.576zm6.787-8.201L1.591 6.602l4.339 2.76z",
|
|
@@ -3747,7 +3773,7 @@ const lr = "_list_hdx8a_1", ir = "_listHorizontal_hdx8a_11", cr = "_iconContent_
|
|
|
3747
3773
|
}
|
|
3748
3774
|
);
|
|
3749
3775
|
case "pinterest":
|
|
3750
|
-
return /* @__PURE__ */
|
|
3776
|
+
return /* @__PURE__ */ n(
|
|
3751
3777
|
"path",
|
|
3752
3778
|
{
|
|
3753
3779
|
d: "M8 0a8 8 0 0 0-2.915 15.452c-.07-.633-.134-1.606.027-2.297.146-.625.937-3.977.937-3.977s-.239-.479-.239-1.187c0-1.113.645-1.943 1.448-1.943.683 0 1.012.512 1.012 1.127 0 .686-.437 1.712-.663 2.663-.188.796.4 1.446 1.185 1.446 1.422 0 2.515-1.5 2.515-3.664 0-1.915-1.377-3.254-3.342-3.254-2.276 0-3.612 1.707-3.612 3.471 0 .688.265 1.425.595 1.826a.24.24 0 0 1 .056.23c-.061.252-.196.796-.223.907-.035.146-.116.177-.268.107-1.001-.465-1.624-1.926-1.624-3.1 0-2.523 1.834-4.84 5.286-4.84 2.775 0 4.932 1.977 4.932 4.62 0 2.757-1.739 4.976-4.151 4.976-.811 0-1.573-.421-1.834-.919l-.498 1.902c-.181.695-.669 1.566-.995 2.097A8 8 0 1 0 8 0z",
|
|
@@ -3755,7 +3781,7 @@ const lr = "_list_hdx8a_1", ir = "_listHorizontal_hdx8a_11", cr = "_iconContent_
|
|
|
3755
3781
|
}
|
|
3756
3782
|
);
|
|
3757
3783
|
case "x":
|
|
3758
|
-
return /* @__PURE__ */
|
|
3784
|
+
return /* @__PURE__ */ n(
|
|
3759
3785
|
"path",
|
|
3760
3786
|
{
|
|
3761
3787
|
d: "M9.653 7.722 15.5 1h-1.18L9.11 7.077 5.5 1H1l6.086 8.844L1 15h1.18l5.21-6.06L11.5 15H16zM2.5 2.18h1.5L13.5 13.82H12z",
|
|
@@ -3765,7 +3791,7 @@ const lr = "_list_hdx8a_1", ir = "_listHorizontal_hdx8a_11", cr = "_iconContent_
|
|
|
3765
3791
|
default:
|
|
3766
3792
|
return null;
|
|
3767
3793
|
}
|
|
3768
|
-
},
|
|
3794
|
+
}, _r = (e) => ({
|
|
3769
3795
|
linkedin: "LinkedIn",
|
|
3770
3796
|
github: "GitHub",
|
|
3771
3797
|
instagram: "Instagram",
|
|
@@ -3775,36 +3801,36 @@ const lr = "_list_hdx8a_1", ir = "_listHorizontal_hdx8a_11", cr = "_iconContent_
|
|
|
3775
3801
|
telegram: "Telegram",
|
|
3776
3802
|
pinterest: "Pinterest",
|
|
3777
3803
|
x: "X"
|
|
3778
|
-
})[e],
|
|
3804
|
+
})[e], wr = y.forwardRef(({
|
|
3779
3805
|
links: e,
|
|
3780
3806
|
className: r,
|
|
3781
3807
|
orientation: o = "vertical",
|
|
3782
3808
|
...t
|
|
3783
|
-
},
|
|
3809
|
+
}, s) => /* @__PURE__ */ n(
|
|
3784
3810
|
"ul",
|
|
3785
3811
|
{
|
|
3786
|
-
ref:
|
|
3787
|
-
className:
|
|
3788
|
-
|
|
3789
|
-
o === "horizontal" &&
|
|
3812
|
+
ref: s,
|
|
3813
|
+
className: f(
|
|
3814
|
+
O.list,
|
|
3815
|
+
o === "horizontal" && O.listHorizontal,
|
|
3790
3816
|
r
|
|
3791
3817
|
),
|
|
3792
3818
|
...t,
|
|
3793
3819
|
children: e.map((l, a) => {
|
|
3794
|
-
const
|
|
3795
|
-
return /* @__PURE__ */ g("li", { className:
|
|
3820
|
+
const c = l.label || _r(l.platform), i = gr(l.platform);
|
|
3821
|
+
return /* @__PURE__ */ g("li", { className: O.iconContent, children: [
|
|
3796
3822
|
/* @__PURE__ */ g(
|
|
3797
3823
|
"a",
|
|
3798
3824
|
{
|
|
3799
3825
|
href: l.url,
|
|
3800
|
-
"aria-label":
|
|
3826
|
+
"aria-label": c,
|
|
3801
3827
|
"data-social": l.platform,
|
|
3802
|
-
className:
|
|
3828
|
+
className: O.link,
|
|
3803
3829
|
target: "_blank",
|
|
3804
3830
|
rel: "noopener noreferrer",
|
|
3805
3831
|
children: [
|
|
3806
|
-
/* @__PURE__ */
|
|
3807
|
-
/* @__PURE__ */
|
|
3832
|
+
/* @__PURE__ */ n("div", { className: O.filled }),
|
|
3833
|
+
/* @__PURE__ */ n(
|
|
3808
3834
|
"svg",
|
|
3809
3835
|
{
|
|
3810
3836
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3820,38 +3846,107 @@ const lr = "_list_hdx8a_1", ir = "_listHorizontal_hdx8a_11", cr = "_iconContent_
|
|
|
3820
3846
|
]
|
|
3821
3847
|
}
|
|
3822
3848
|
),
|
|
3823
|
-
/* @__PURE__ */
|
|
3824
|
-
|
|
3825
|
-
o === "horizontal" &&
|
|
3826
|
-
), children:
|
|
3849
|
+
/* @__PURE__ */ n("div", { className: f(
|
|
3850
|
+
O.tooltip,
|
|
3851
|
+
o === "horizontal" && O.tooltipHorizontal
|
|
3852
|
+
), children: c })
|
|
3827
3853
|
] }, `${l.platform}-${a}`);
|
|
3828
3854
|
})
|
|
3829
3855
|
}
|
|
3830
3856
|
));
|
|
3831
|
-
|
|
3857
|
+
wr.displayName = "SocialLinks";
|
|
3858
|
+
const vr = "_card_tuygu_1", yr = "_separator_tuygu_33", kr = "_list_tuygu_41", Cr = "_element_tuygu_57", zr = "_label_tuygu_91", Nr = "_accent_tuygu_137", D = {
|
|
3859
|
+
card: vr,
|
|
3860
|
+
separator: yr,
|
|
3861
|
+
list: kr,
|
|
3862
|
+
element: Cr,
|
|
3863
|
+
label: zr,
|
|
3864
|
+
delete: "_delete_tuygu_111",
|
|
3865
|
+
accent: Nr
|
|
3866
|
+
}, Kr = ({
|
|
3867
|
+
groups: e,
|
|
3868
|
+
showSeparators: r = !0,
|
|
3869
|
+
className: o,
|
|
3870
|
+
...t
|
|
3871
|
+
}) => /* @__PURE__ */ n("div", { className: f(D.card, o), ...t, children: e.map((s, l) => /* @__PURE__ */ g(y.Fragment, { children: [
|
|
3872
|
+
/* @__PURE__ */ n(
|
|
3873
|
+
Mr,
|
|
3874
|
+
{
|
|
3875
|
+
group: s,
|
|
3876
|
+
isLastGroup: l === e.length - 1
|
|
3877
|
+
}
|
|
3878
|
+
),
|
|
3879
|
+
r && l < e.length - 1 && /* @__PURE__ */ n(Lr, {})
|
|
3880
|
+
] }, s.id)) }), Mr = ({
|
|
3881
|
+
group: e,
|
|
3882
|
+
isLastGroup: r
|
|
3883
|
+
}) => {
|
|
3884
|
+
const o = e.variant === "accent" || r && e.items.some((t) => t.variant === "accent");
|
|
3885
|
+
return /* @__PURE__ */ n("ul", { className: f(D.list, o && D.accent), children: e.items.map((t) => /* @__PURE__ */ n(
|
|
3886
|
+
Sr,
|
|
3887
|
+
{
|
|
3888
|
+
item: t,
|
|
3889
|
+
isAccentGroup: o
|
|
3890
|
+
},
|
|
3891
|
+
t.id
|
|
3892
|
+
)) });
|
|
3893
|
+
}, Sr = ({
|
|
3894
|
+
item: e,
|
|
3895
|
+
isAccentGroup: r
|
|
3896
|
+
}) => {
|
|
3897
|
+
const t = (e.variant || "default") === "danger", s = () => {
|
|
3898
|
+
!e.disabled && e.onClick && e.onClick();
|
|
3899
|
+
}, l = () => e.icon ? y.isValidElement(e.icon) ? y.cloneElement(e.icon, {
|
|
3900
|
+
stroke: "currentColor",
|
|
3901
|
+
width: 19,
|
|
3902
|
+
height: 19
|
|
3903
|
+
}) : e.icon : null;
|
|
3904
|
+
return /* @__PURE__ */ g(
|
|
3905
|
+
"li",
|
|
3906
|
+
{
|
|
3907
|
+
className: f(
|
|
3908
|
+
D.element,
|
|
3909
|
+
t && D.delete
|
|
3910
|
+
),
|
|
3911
|
+
onClick: s,
|
|
3912
|
+
style: {
|
|
3913
|
+
cursor: e.disabled ? "not-allowed" : "pointer",
|
|
3914
|
+
opacity: e.disabled ? 0.5 : 1
|
|
3915
|
+
},
|
|
3916
|
+
children: [
|
|
3917
|
+
l(),
|
|
3918
|
+
/* @__PURE__ */ n("p", { className: D.label, children: e.label })
|
|
3919
|
+
]
|
|
3920
|
+
}
|
|
3921
|
+
);
|
|
3922
|
+
}, Lr = () => /* @__PURE__ */ n("div", { className: D.separator });
|
|
3832
3923
|
export {
|
|
3833
|
-
|
|
3834
|
-
|
|
3835
|
-
|
|
3836
|
-
|
|
3837
|
-
|
|
3838
|
-
|
|
3839
|
-
|
|
3840
|
-
|
|
3841
|
-
|
|
3842
|
-
|
|
3843
|
-
|
|
3844
|
-
|
|
3845
|
-
|
|
3846
|
-
|
|
3847
|
-
|
|
3848
|
-
|
|
3849
|
-
|
|
3850
|
-
|
|
3851
|
-
|
|
3852
|
-
|
|
3853
|
-
|
|
3854
|
-
|
|
3855
|
-
|
|
3856
|
-
|
|
3924
|
+
He as Button,
|
|
3925
|
+
Er as Card,
|
|
3926
|
+
Gr as CardContent,
|
|
3927
|
+
Vr as CardFooter,
|
|
3928
|
+
Pr as CardHeader,
|
|
3929
|
+
Kt as Checkbox,
|
|
3930
|
+
Kr as ContextMenu,
|
|
3931
|
+
Mr as ContextMenuGroup,
|
|
3932
|
+
Sr as ContextMenuItem,
|
|
3933
|
+
Lr as ContextMenuSeparator,
|
|
3934
|
+
Dr as Form,
|
|
3935
|
+
qr as FormButton,
|
|
3936
|
+
Zr as FormField,
|
|
3937
|
+
Ur as FormFooter,
|
|
3938
|
+
Yr as FormFooterLink,
|
|
3939
|
+
We as Input,
|
|
3940
|
+
jr as Loader,
|
|
3941
|
+
$r as RadioButton,
|
|
3942
|
+
Br as RadioGroup,
|
|
3943
|
+
dr as SearchBar,
|
|
3944
|
+
wr as SocialLinks,
|
|
3945
|
+
Fr as Spinner,
|
|
3946
|
+
Rr as SubmitButton,
|
|
3947
|
+
Wr as ThemeProvider,
|
|
3948
|
+
Or as ThemeSwitch,
|
|
3949
|
+
Tr as Toggle,
|
|
3950
|
+
Hr as Tooltip,
|
|
3951
|
+
tr as useTheme
|
|
3857
3952
|
};
|