@possibly6400/ui-kit 1.0.9 → 1.0.11
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/dist/index.js +1 -1
- package/dist/index.mjs +919 -758
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
3
|
-
function
|
|
1
|
+
import { jsxs as g, jsx as s } from "react/jsx-runtime";
|
|
2
|
+
import y, { useState as Ne, useId as We, useRef as Ze, createContext as qe, useContext as Ue } from "react";
|
|
3
|
+
function Se(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 n = e.length;
|
|
8
|
+
for (r = 0; r < n; r++) e[r] && (o = Se(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 Ye() {
|
|
13
|
+
for (var e, r, o = 0, t = "", n = arguments.length; o < n; o++) (e = arguments[o]) && (r = Se(e)) && (t && (t += " "), t += r);
|
|
14
14
|
return t;
|
|
15
15
|
}
|
|
16
16
|
const Ke = (e, r) => {
|
|
@@ -20,107 +20,107 @@ const Ke = (e, r) => {
|
|
|
20
20
|
for (let t = 0; t < r.length; t++)
|
|
21
21
|
o[e.length + t] = r[t];
|
|
22
22
|
return o;
|
|
23
|
-
},
|
|
23
|
+
}, Xe = (e, r) => ({
|
|
24
24
|
classGroupId: e,
|
|
25
25
|
validator: r
|
|
26
|
-
}),
|
|
26
|
+
}), Me = (e = /* @__PURE__ */ new Map(), r = null, o) => ({
|
|
27
27
|
nextPart: e,
|
|
28
28
|
validators: r,
|
|
29
29
|
classGroupId: o
|
|
30
|
-
}),
|
|
31
|
-
const r =
|
|
30
|
+
}), se = "-", we = [], Je = "arbitrary..", Qe = (e) => {
|
|
31
|
+
const r = tt(e), {
|
|
32
32
|
conflictingClassGroups: o,
|
|
33
33
|
conflictingClassGroupModifiers: t
|
|
34
34
|
} = e;
|
|
35
35
|
return {
|
|
36
|
-
getClassGroupId: (
|
|
37
|
-
if (
|
|
38
|
-
return
|
|
39
|
-
const
|
|
40
|
-
return
|
|
36
|
+
getClassGroupId: (a) => {
|
|
37
|
+
if (a.startsWith("[") && a.endsWith("]"))
|
|
38
|
+
return et(a);
|
|
39
|
+
const p = a.split(se), i = p[0] === "" && p.length > 1 ? 1 : 0;
|
|
40
|
+
return Le(p, i, r);
|
|
41
41
|
},
|
|
42
|
-
getConflictingClassGroupIds: (
|
|
43
|
-
if (
|
|
44
|
-
const
|
|
45
|
-
return
|
|
42
|
+
getConflictingClassGroupIds: (a, p) => {
|
|
43
|
+
if (p) {
|
|
44
|
+
const i = t[a], f = o[a];
|
|
45
|
+
return i ? f ? Ke(f, i) : i : f || we;
|
|
46
46
|
}
|
|
47
|
-
return o[
|
|
47
|
+
return o[a] || we;
|
|
48
48
|
}
|
|
49
49
|
};
|
|
50
|
-
},
|
|
50
|
+
}, Le = (e, r, o) => {
|
|
51
51
|
if (e.length - r === 0)
|
|
52
52
|
return o.classGroupId;
|
|
53
|
-
const
|
|
54
|
-
if (
|
|
55
|
-
const
|
|
56
|
-
if (
|
|
53
|
+
const n = e[r], l = o.nextPart.get(n);
|
|
54
|
+
if (l) {
|
|
55
|
+
const f = Le(e, r + 1, l);
|
|
56
|
+
if (f) return f;
|
|
57
57
|
}
|
|
58
|
-
const
|
|
59
|
-
if (
|
|
58
|
+
const a = o.validators;
|
|
59
|
+
if (a === null)
|
|
60
60
|
return;
|
|
61
|
-
const
|
|
62
|
-
for (let
|
|
63
|
-
const
|
|
64
|
-
if (
|
|
65
|
-
return
|
|
61
|
+
const p = r === 0 ? e.join(se) : e.slice(r).join(se), i = a.length;
|
|
62
|
+
for (let f = 0; f < i; f++) {
|
|
63
|
+
const x = a[f];
|
|
64
|
+
if (x.validator(p))
|
|
65
|
+
return x.classGroupId;
|
|
66
66
|
}
|
|
67
|
-
},
|
|
67
|
+
}, et = (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 ? Je + t : void 0;
|
|
70
|
+
})(), tt = (e) => {
|
|
71
71
|
const {
|
|
72
72
|
theme: r,
|
|
73
73
|
classGroups: o
|
|
74
74
|
} = e;
|
|
75
|
-
return
|
|
76
|
-
},
|
|
77
|
-
const o =
|
|
75
|
+
return rt(o, r);
|
|
76
|
+
}, rt = (e, r) => {
|
|
77
|
+
const o = Me();
|
|
78
78
|
for (const t in e) {
|
|
79
|
-
const
|
|
80
|
-
|
|
79
|
+
const n = e[t];
|
|
80
|
+
pe(n, o, t, r);
|
|
81
81
|
}
|
|
82
82
|
return o;
|
|
83
|
-
},
|
|
84
|
-
const
|
|
85
|
-
for (let
|
|
86
|
-
const
|
|
87
|
-
|
|
83
|
+
}, pe = (e, r, o, t) => {
|
|
84
|
+
const n = e.length;
|
|
85
|
+
for (let l = 0; l < n; l++) {
|
|
86
|
+
const a = e[l];
|
|
87
|
+
ot(a, r, o, t);
|
|
88
88
|
}
|
|
89
|
-
},
|
|
89
|
+
}, ot = (e, r, o, t) => {
|
|
90
90
|
if (typeof e == "string") {
|
|
91
|
-
|
|
91
|
+
st(e, r, o);
|
|
92
92
|
return;
|
|
93
93
|
}
|
|
94
94
|
if (typeof e == "function") {
|
|
95
|
-
|
|
95
|
+
nt(e, r, o, t);
|
|
96
96
|
return;
|
|
97
97
|
}
|
|
98
|
-
|
|
99
|
-
},
|
|
98
|
+
at(e, r, o, t);
|
|
99
|
+
}, st = (e, r, o) => {
|
|
100
100
|
const t = e === "" ? r : Ae(r, e);
|
|
101
101
|
t.classGroupId = o;
|
|
102
|
-
},
|
|
103
|
-
if (
|
|
104
|
-
|
|
102
|
+
}, nt = (e, r, o, t) => {
|
|
103
|
+
if (lt(e)) {
|
|
104
|
+
pe(e(t), r, o, t);
|
|
105
105
|
return;
|
|
106
106
|
}
|
|
107
|
-
r.validators === null && (r.validators = []), r.validators.push(
|
|
108
|
-
},
|
|
109
|
-
const
|
|
110
|
-
for (let
|
|
111
|
-
const [
|
|
112
|
-
|
|
107
|
+
r.validators === null && (r.validators = []), r.validators.push(Xe(o, e));
|
|
108
|
+
}, at = (e, r, o, t) => {
|
|
109
|
+
const n = Object.entries(e), l = n.length;
|
|
110
|
+
for (let a = 0; a < l; a++) {
|
|
111
|
+
const [p, i] = n[a];
|
|
112
|
+
pe(i, Ae(r, p), o, t);
|
|
113
113
|
}
|
|
114
114
|
}, Ae = (e, r) => {
|
|
115
115
|
let o = e;
|
|
116
|
-
const t = r.split(
|
|
117
|
-
for (let
|
|
118
|
-
const
|
|
119
|
-
let
|
|
120
|
-
|
|
116
|
+
const t = r.split(se), n = t.length;
|
|
117
|
+
for (let l = 0; l < n; l++) {
|
|
118
|
+
const a = t[l];
|
|
119
|
+
let p = o.nextPart.get(a);
|
|
120
|
+
p || (p = Me(), o.nextPart.set(a, p)), o = p;
|
|
121
121
|
}
|
|
122
122
|
return o;
|
|
123
|
-
},
|
|
123
|
+
}, lt = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, it = (e) => {
|
|
124
124
|
if (e < 1)
|
|
125
125
|
return {
|
|
126
126
|
get: () => {
|
|
@@ -129,177 +129,177 @@ 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
|
|
133
|
-
o[
|
|
132
|
+
const n = (l, a) => {
|
|
133
|
+
o[l] = a, r++, r > e && (r = 0, t = o, o = /* @__PURE__ */ Object.create(null));
|
|
134
134
|
};
|
|
135
135
|
return {
|
|
136
|
-
get(
|
|
137
|
-
let
|
|
138
|
-
if (
|
|
139
|
-
return
|
|
140
|
-
if ((
|
|
141
|
-
return
|
|
136
|
+
get(l) {
|
|
137
|
+
let a = o[l];
|
|
138
|
+
if (a !== void 0)
|
|
139
|
+
return a;
|
|
140
|
+
if ((a = t[l]) !== void 0)
|
|
141
|
+
return n(l, a), a;
|
|
142
142
|
},
|
|
143
|
-
set(
|
|
144
|
-
|
|
143
|
+
set(l, a) {
|
|
144
|
+
l in o ? o[l] = a : n(l, a);
|
|
145
145
|
}
|
|
146
146
|
};
|
|
147
|
-
},
|
|
147
|
+
}, de = "!", ve = ":", ct = [], ye = (e, r, o, t, n) => ({
|
|
148
148
|
modifiers: e,
|
|
149
149
|
hasImportantModifier: r,
|
|
150
150
|
baseClassName: o,
|
|
151
151
|
maybePostfixModifierPosition: t,
|
|
152
|
-
isExternal:
|
|
153
|
-
}),
|
|
152
|
+
isExternal: n
|
|
153
|
+
}), dt = (e) => {
|
|
154
154
|
const {
|
|
155
155
|
prefix: r,
|
|
156
156
|
experimentalParseClassName: o
|
|
157
157
|
} = e;
|
|
158
|
-
let t = (
|
|
159
|
-
const
|
|
160
|
-
let
|
|
161
|
-
const
|
|
162
|
-
for (let M = 0; M <
|
|
163
|
-
const
|
|
164
|
-
if (
|
|
165
|
-
if (
|
|
166
|
-
|
|
158
|
+
let t = (n) => {
|
|
159
|
+
const l = [];
|
|
160
|
+
let a = 0, p = 0, i = 0, f;
|
|
161
|
+
const x = n.length;
|
|
162
|
+
for (let M = 0; M < x; M++) {
|
|
163
|
+
const N = n[M];
|
|
164
|
+
if (a === 0 && p === 0) {
|
|
165
|
+
if (N === ve) {
|
|
166
|
+
l.push(n.slice(i, M)), i = M + 1;
|
|
167
167
|
continue;
|
|
168
168
|
}
|
|
169
|
-
if (
|
|
170
|
-
|
|
169
|
+
if (N === "/") {
|
|
170
|
+
f = M;
|
|
171
171
|
continue;
|
|
172
172
|
}
|
|
173
173
|
}
|
|
174
|
-
|
|
174
|
+
N === "[" ? a++ : N === "]" ? a-- : N === "(" ? p++ : N === ")" && p--;
|
|
175
175
|
}
|
|
176
|
-
const
|
|
177
|
-
let
|
|
178
|
-
|
|
176
|
+
const _ = l.length === 0 ? n : n.slice(i);
|
|
177
|
+
let w = _, z = !1;
|
|
178
|
+
_.endsWith(de) ? (w = _.slice(0, -1), z = !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
|
-
|
|
183
|
+
_.startsWith(de) && (w = _.slice(1), z = !0)
|
|
184
184
|
);
|
|
185
|
-
const v =
|
|
186
|
-
return
|
|
185
|
+
const v = f && f > i ? f - i : void 0;
|
|
186
|
+
return ye(l, z, w, v);
|
|
187
187
|
};
|
|
188
188
|
if (r) {
|
|
189
|
-
const
|
|
190
|
-
t = (
|
|
189
|
+
const n = r + ve, l = t;
|
|
190
|
+
t = (a) => a.startsWith(n) ? l(a.slice(n.length)) : ye(ct, !1, a, void 0, !0);
|
|
191
191
|
}
|
|
192
192
|
if (o) {
|
|
193
|
-
const
|
|
194
|
-
t = (
|
|
195
|
-
className:
|
|
196
|
-
parseClassName:
|
|
193
|
+
const n = t;
|
|
194
|
+
t = (l) => o({
|
|
195
|
+
className: l,
|
|
196
|
+
parseClassName: n
|
|
197
197
|
});
|
|
198
198
|
}
|
|
199
199
|
return t;
|
|
200
|
-
},
|
|
200
|
+
}, pt = (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
|
|
207
|
-
for (let
|
|
208
|
-
const
|
|
209
|
-
|
|
206
|
+
let n = [];
|
|
207
|
+
for (let l = 0; l < o.length; l++) {
|
|
208
|
+
const a = o[l], p = a[0] === "[", i = r.has(a);
|
|
209
|
+
p || i ? (n.length > 0 && (n.sort(), t.push(...n), n = []), t.push(a)) : n.push(a);
|
|
210
210
|
}
|
|
211
|
-
return
|
|
211
|
+
return n.length > 0 && (n.sort(), t.push(...n)), t;
|
|
212
212
|
};
|
|
213
213
|
}, mt = (e) => ({
|
|
214
214
|
cache: it(e.cacheSize),
|
|
215
|
-
parseClassName:
|
|
216
|
-
sortModifiers:
|
|
217
|
-
...
|
|
218
|
-
}),
|
|
215
|
+
parseClassName: dt(e),
|
|
216
|
+
sortModifiers: pt(e),
|
|
217
|
+
...Qe(e)
|
|
218
|
+
}), ut = /\s+/, ft = (e, r) => {
|
|
219
219
|
const {
|
|
220
220
|
parseClassName: o,
|
|
221
221
|
getClassGroupId: t,
|
|
222
|
-
getConflictingClassGroupIds:
|
|
223
|
-
sortModifiers:
|
|
224
|
-
} = r,
|
|
225
|
-
let
|
|
226
|
-
for (let
|
|
227
|
-
const
|
|
228
|
-
isExternal:
|
|
229
|
-
modifiers:
|
|
230
|
-
hasImportantModifier:
|
|
222
|
+
getConflictingClassGroupIds: n,
|
|
223
|
+
sortModifiers: l
|
|
224
|
+
} = r, a = [], p = e.trim().split(ut);
|
|
225
|
+
let i = "";
|
|
226
|
+
for (let f = p.length - 1; f >= 0; f -= 1) {
|
|
227
|
+
const x = p[f], {
|
|
228
|
+
isExternal: _,
|
|
229
|
+
modifiers: w,
|
|
230
|
+
hasImportantModifier: z,
|
|
231
231
|
baseClassName: v,
|
|
232
232
|
maybePostfixModifierPosition: M
|
|
233
|
-
} = o(
|
|
234
|
-
if (
|
|
235
|
-
|
|
233
|
+
} = o(x);
|
|
234
|
+
if (_) {
|
|
235
|
+
i = x + (i.length > 0 ? " " + i : i);
|
|
236
236
|
continue;
|
|
237
237
|
}
|
|
238
|
-
let
|
|
238
|
+
let N = !!M, T = t(N ? v.substring(0, M) : v);
|
|
239
239
|
if (!T) {
|
|
240
|
-
if (!
|
|
241
|
-
|
|
240
|
+
if (!N) {
|
|
241
|
+
i = x + (i.length > 0 ? " " + i : i);
|
|
242
242
|
continue;
|
|
243
243
|
}
|
|
244
244
|
if (T = t(v), !T) {
|
|
245
|
-
|
|
245
|
+
i = x + (i.length > 0 ? " " + i : i);
|
|
246
246
|
continue;
|
|
247
247
|
}
|
|
248
|
-
|
|
248
|
+
N = !1;
|
|
249
249
|
}
|
|
250
|
-
const
|
|
251
|
-
if (
|
|
250
|
+
const F = w.length === 0 ? "" : w.length === 1 ? w[0] : l(w).join(":"), $ = z ? F + de : F, E = $ + T;
|
|
251
|
+
if (a.indexOf(E) > -1)
|
|
252
252
|
continue;
|
|
253
|
-
|
|
254
|
-
const
|
|
255
|
-
for (let
|
|
256
|
-
const
|
|
257
|
-
|
|
253
|
+
a.push(E);
|
|
254
|
+
const V = n(T, N);
|
|
255
|
+
for (let A = 0; A < V.length; ++A) {
|
|
256
|
+
const Y = V[A];
|
|
257
|
+
a.push($ + Y);
|
|
258
258
|
}
|
|
259
|
-
|
|
259
|
+
i = x + (i.length > 0 ? " " + i : i);
|
|
260
260
|
}
|
|
261
|
-
return
|
|
262
|
-
},
|
|
263
|
-
let r = 0, o, t,
|
|
261
|
+
return i;
|
|
262
|
+
}, bt = (...e) => {
|
|
263
|
+
let r = 0, o, t, n = "";
|
|
264
264
|
for (; r < e.length; )
|
|
265
|
-
(o = e[r++]) && (t =
|
|
266
|
-
return
|
|
267
|
-
},
|
|
265
|
+
(o = e[r++]) && (t = Ie(o)) && (n && (n += " "), n += t);
|
|
266
|
+
return n;
|
|
267
|
+
}, Ie = (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 = Ie(e[t])) && (o && (o += " "), o += r);
|
|
273
273
|
return o;
|
|
274
|
-
},
|
|
275
|
-
let o, t,
|
|
276
|
-
const
|
|
277
|
-
const
|
|
278
|
-
return o = mt(
|
|
279
|
-
},
|
|
280
|
-
const
|
|
281
|
-
if (
|
|
282
|
-
return
|
|
283
|
-
const
|
|
284
|
-
return
|
|
274
|
+
}, ht = (e, ...r) => {
|
|
275
|
+
let o, t, n, l;
|
|
276
|
+
const a = (i) => {
|
|
277
|
+
const f = r.reduce((x, _) => _(x), e());
|
|
278
|
+
return o = mt(f), t = o.cache.get, n = o.cache.set, l = p, p(i);
|
|
279
|
+
}, p = (i) => {
|
|
280
|
+
const f = t(i);
|
|
281
|
+
if (f)
|
|
282
|
+
return f;
|
|
283
|
+
const x = ft(i, o);
|
|
284
|
+
return n(i, x), x;
|
|
285
285
|
};
|
|
286
|
-
return
|
|
287
|
-
},
|
|
288
|
-
const r = (o) => o[e] ||
|
|
286
|
+
return l = a, (...i) => l(bt(...i));
|
|
287
|
+
}, xt = [], k = (e) => {
|
|
288
|
+
const r = (o) => o[e] || xt;
|
|
289
289
|
return r.isThemeGetter = !0, r;
|
|
290
|
-
},
|
|
290
|
+
}, Re = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Te = /^\((?:(\w[\w-]*):)?(.+)\)$/i, gt = /^\d+\/\d+$/, _t = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, wt = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, vt = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, yt = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, kt = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Z = (e) => gt.test(e), h = (e) => !!e && !Number.isNaN(Number(e)), G = (e) => !!e && Number.isInteger(Number(e)), ie = (e) => e.endsWith("%") && h(e.slice(0, -1)), P = (e) => _t.test(e), Ct = () => !0, zt = (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
|
-
wt.test(e) && !
|
|
295
|
-
),
|
|
296
|
-
const t = Ie.exec(e);
|
|
297
|
-
return t ? t[1] ? r(t[1]) : o(t[2]) : !1;
|
|
298
|
-
}, H = (e, r, o = !1) => {
|
|
294
|
+
wt.test(e) && !vt.test(e)
|
|
295
|
+
), Ee = () => !1, Nt = (e) => yt.test(e), St = (e) => kt.test(e), Mt = (e) => !c(e) && !d(e), Lt = (e) => q(e, Be, Ee), c = (e) => Re.test(e), O = (e) => q(e, Pe, zt), ce = (e) => q(e, Et, h), ke = (e) => q(e, Ve, Ee), At = (e) => q(e, je, St), re = (e) => q(e, Fe, Nt), d = (e) => Te.test(e), K = (e) => U(e, Pe), It = (e) => U(e, Vt), Ce = (e) => U(e, Ve), Rt = (e) => U(e, Be), Tt = (e) => U(e, je), oe = (e) => U(e, Fe, !0), q = (e, r, o) => {
|
|
299
296
|
const t = Re.exec(e);
|
|
297
|
+
return t ? t[1] ? r(t[1]) : o(t[2]) : !1;
|
|
298
|
+
}, U = (e, r, o = !1) => {
|
|
299
|
+
const t = Te.exec(e);
|
|
300
300
|
return t ? t[1] ? r(t[1]) : o : !1;
|
|
301
|
-
},
|
|
302
|
-
const e =
|
|
301
|
+
}, Ve = (e) => e === "position" || e === "percentage", je = (e) => e === "image" || e === "url", Be = (e) => e === "length" || e === "size" || e === "bg-size", Pe = (e) => e === "length", Et = (e) => e === "number", Vt = (e) => e === "family-name", Fe = (e) => e === "shadow", jt = () => {
|
|
302
|
+
const e = k("color"), r = k("font"), o = k("text"), t = k("font-weight"), n = k("tracking"), l = k("leading"), a = k("breakpoint"), p = k("container"), i = k("spacing"), f = k("radius"), x = k("shadow"), _ = k("inset-shadow"), w = k("text-shadow"), z = k("drop-shadow"), v = k("blur"), M = k("perspective"), N = k("aspect"), T = k("ease"), F = k("animate"), $ = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], E = () => [
|
|
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
|
-
],
|
|
321
|
-
span: ["full",
|
|
322
|
-
},
|
|
320
|
+
], V = () => [...E(), d, c], A = () => ["auto", "hidden", "clip", "visible", "scroll"], Y = () => ["auto", "contain", "none"], u = () => [d, c, i], j = () => [Z, "full", "auto", ...u()], me = () => [G, "none", "subgrid", d, c], ue = () => ["auto", {
|
|
321
|
+
span: ["full", G, d, c]
|
|
322
|
+
}, G, d, c], X = () => [G, "auto", d, c], fe = () => ["auto", "min", "max", "fr", d, c], ne = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], W = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], B = () => ["auto", ...u()], H = () => [Z, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...u()], m = () => [e, d, c], be = () => [...E(), Ce, ke, {
|
|
323
323
|
position: [d, c]
|
|
324
|
-
}],
|
|
324
|
+
}], he = () => ["no-repeat", {
|
|
325
325
|
repeat: ["", "x", "y", "space", "round"]
|
|
326
|
-
}],
|
|
326
|
+
}], xe = () => ["auto", "cover", "contain", Rt, Lt, {
|
|
327
327
|
size: [d, c]
|
|
328
|
-
}],
|
|
328
|
+
}], ae = () => [ie, K, O], S = () => [
|
|
329
329
|
// Deprecated since Tailwind CSS v4.0.0
|
|
330
330
|
"",
|
|
331
331
|
"none",
|
|
332
332
|
"full",
|
|
333
|
-
|
|
333
|
+
f,
|
|
334
334
|
d,
|
|
335
335
|
c
|
|
336
|
-
],
|
|
336
|
+
], L = () => ["", h, K, O], J = () => ["solid", "dashed", "dotted", "double"], ge = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], C = () => [h, ie, Ce, ke], _e = () => [
|
|
337
337
|
// Deprecated since Tailwind CSS v4.0.0
|
|
338
338
|
"",
|
|
339
339
|
"none",
|
|
340
340
|
v,
|
|
341
341
|
d,
|
|
342
342
|
c
|
|
343
|
-
],
|
|
343
|
+
], Q = () => ["none", h, d, c], ee = () => ["none", h, d, c], le = () => [h, d, c], te = () => [Z, "full", ...u()];
|
|
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: [P],
|
|
350
|
+
breakpoint: [P],
|
|
351
|
+
color: [Ct],
|
|
352
|
+
container: [P],
|
|
353
|
+
"drop-shadow": [P],
|
|
354
354
|
ease: ["in", "out", "in-out"],
|
|
355
|
-
font: [
|
|
355
|
+
font: [Mt],
|
|
356
356
|
"font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
|
|
357
|
-
"inset-shadow": [
|
|
357
|
+
"inset-shadow": [P],
|
|
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: [P],
|
|
361
|
+
shadow: [P],
|
|
362
|
+
spacing: ["px", h],
|
|
363
|
+
text: [P],
|
|
364
|
+
"text-shadow": [P],
|
|
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", Z, c, d,
|
|
376
|
+
aspect: ["auto", "square", Z, c, d, N]
|
|
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: [h, c, d, p]
|
|
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": $()
|
|
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": $()
|
|
404
404
|
}],
|
|
405
405
|
/**
|
|
406
406
|
* Break Inside
|
|
@@ -464,49 +464,49 @@ const Ke = (e, r) => {
|
|
|
464
464
|
* @see https://tailwindcss.com/docs/object-position
|
|
465
465
|
*/
|
|
466
466
|
"object-position": [{
|
|
467
|
-
object:
|
|
467
|
+
object: V()
|
|
468
468
|
}],
|
|
469
469
|
/**
|
|
470
470
|
* Overflow
|
|
471
471
|
* @see https://tailwindcss.com/docs/overflow
|
|
472
472
|
*/
|
|
473
473
|
overflow: [{
|
|
474
|
-
overflow:
|
|
474
|
+
overflow: A()
|
|
475
475
|
}],
|
|
476
476
|
/**
|
|
477
477
|
* Overflow X
|
|
478
478
|
* @see https://tailwindcss.com/docs/overflow
|
|
479
479
|
*/
|
|
480
480
|
"overflow-x": [{
|
|
481
|
-
"overflow-x":
|
|
481
|
+
"overflow-x": A()
|
|
482
482
|
}],
|
|
483
483
|
/**
|
|
484
484
|
* Overflow Y
|
|
485
485
|
* @see https://tailwindcss.com/docs/overflow
|
|
486
486
|
*/
|
|
487
487
|
"overflow-y": [{
|
|
488
|
-
"overflow-y":
|
|
488
|
+
"overflow-y": A()
|
|
489
489
|
}],
|
|
490
490
|
/**
|
|
491
491
|
* Overscroll Behavior
|
|
492
492
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
493
493
|
*/
|
|
494
494
|
overscroll: [{
|
|
495
|
-
overscroll:
|
|
495
|
+
overscroll: Y()
|
|
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": Y()
|
|
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": Y()
|
|
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: j()
|
|
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": j()
|
|
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": j()
|
|
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: j()
|
|
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: j()
|
|
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: j()
|
|
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: j()
|
|
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: j()
|
|
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: j()
|
|
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: [G, "auto", d, c]
|
|
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: [Z, "full", "auto",
|
|
599
|
+
basis: [Z, "full", "auto", p, ...u()]
|
|
600
600
|
}],
|
|
601
601
|
/**
|
|
602
602
|
* Flex Direction
|
|
@@ -617,28 +617,28 @@ const Ke = (e, r) => {
|
|
|
617
617
|
* @see https://tailwindcss.com/docs/flex
|
|
618
618
|
*/
|
|
619
619
|
flex: [{
|
|
620
|
-
flex: [
|
|
620
|
+
flex: [h, Z, "auto", "initial", "none", c]
|
|
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: ["", h, d, c]
|
|
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: ["", h, d, c]
|
|
635
635
|
}],
|
|
636
636
|
/**
|
|
637
637
|
* Order
|
|
638
638
|
* @see https://tailwindcss.com/docs/order
|
|
639
639
|
*/
|
|
640
640
|
order: [{
|
|
641
|
-
order: [
|
|
641
|
+
order: [G, "first", "last", "none", d, c]
|
|
642
642
|
}],
|
|
643
643
|
/**
|
|
644
644
|
* Grid Template Columns
|
|
@@ -652,21 +652,21 @@ const Ke = (e, r) => {
|
|
|
652
652
|
* @see https://tailwindcss.com/docs/grid-column
|
|
653
653
|
*/
|
|
654
654
|
"col-start-end": [{
|
|
655
|
-
col:
|
|
655
|
+
col: ue()
|
|
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": X()
|
|
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": X()
|
|
670
670
|
}],
|
|
671
671
|
/**
|
|
672
672
|
* Grid Template Rows
|
|
@@ -680,21 +680,21 @@ const Ke = (e, r) => {
|
|
|
680
680
|
* @see https://tailwindcss.com/docs/grid-row
|
|
681
681
|
*/
|
|
682
682
|
"row-start-end": [{
|
|
683
|
-
row:
|
|
683
|
+
row: ue()
|
|
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": X()
|
|
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": X()
|
|
698
698
|
}],
|
|
699
699
|
/**
|
|
700
700
|
* Grid Auto Flow
|
|
@@ -708,42 +708,42 @@ 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": fe()
|
|
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": fe()
|
|
719
719
|
}],
|
|
720
720
|
/**
|
|
721
721
|
* Gap
|
|
722
722
|
* @see https://tailwindcss.com/docs/gap
|
|
723
723
|
*/
|
|
724
724
|
gap: [{
|
|
725
|
-
gap:
|
|
725
|
+
gap: u()
|
|
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": u()
|
|
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": u()
|
|
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: [...ne(), "normal"]
|
|
747
747
|
}],
|
|
748
748
|
/**
|
|
749
749
|
* Justify Items
|
|
@@ -764,7 +764,7 @@ const Ke = (e, r) => {
|
|
|
764
764
|
* @see https://tailwindcss.com/docs/align-content
|
|
765
765
|
*/
|
|
766
766
|
"align-content": [{
|
|
767
|
-
content: ["normal", ...
|
|
767
|
+
content: ["normal", ...ne()]
|
|
768
768
|
}],
|
|
769
769
|
/**
|
|
770
770
|
* Align Items
|
|
@@ -789,7 +789,7 @@ 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": ne()
|
|
793
793
|
}],
|
|
794
794
|
/**
|
|
795
795
|
* Place Items
|
|
@@ -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: u()
|
|
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: u()
|
|
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: u()
|
|
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: u()
|
|
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: u()
|
|
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: u()
|
|
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: u()
|
|
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: u()
|
|
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: u()
|
|
871
871
|
}],
|
|
872
872
|
/**
|
|
873
873
|
* Margin
|
|
874
874
|
* @see https://tailwindcss.com/docs/margin
|
|
875
875
|
*/
|
|
876
876
|
m: [{
|
|
877
|
-
m:
|
|
877
|
+
m: B()
|
|
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: B()
|
|
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: B()
|
|
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: B()
|
|
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: B()
|
|
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: B()
|
|
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: B()
|
|
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: B()
|
|
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: B()
|
|
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": u()
|
|
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": u()
|
|
953
953
|
}],
|
|
954
954
|
/**
|
|
955
955
|
* Space Between Y Reverse
|
|
@@ -964,14 +964,14 @@ const Ke = (e, r) => {
|
|
|
964
964
|
* @see https://tailwindcss.com/docs/width#setting-both-width-and-height
|
|
965
965
|
*/
|
|
966
966
|
size: [{
|
|
967
|
-
size:
|
|
967
|
+
size: H()
|
|
968
968
|
}],
|
|
969
969
|
/**
|
|
970
970
|
* Width
|
|
971
971
|
* @see https://tailwindcss.com/docs/width
|
|
972
972
|
*/
|
|
973
973
|
w: [{
|
|
974
|
-
w: [
|
|
974
|
+
w: [p, "screen", ...H()]
|
|
975
975
|
}],
|
|
976
976
|
/**
|
|
977
977
|
* Min-Width
|
|
@@ -979,11 +979,11 @@ const Ke = (e, r) => {
|
|
|
979
979
|
*/
|
|
980
980
|
"min-w": [{
|
|
981
981
|
"min-w": [
|
|
982
|
-
|
|
982
|
+
p,
|
|
983
983
|
"screen",
|
|
984
984
|
/** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
985
985
|
"none",
|
|
986
|
-
|
|
986
|
+
...H()
|
|
987
987
|
]
|
|
988
988
|
}],
|
|
989
989
|
/**
|
|
@@ -992,16 +992,16 @@ const Ke = (e, r) => {
|
|
|
992
992
|
*/
|
|
993
993
|
"max-w": [{
|
|
994
994
|
"max-w": [
|
|
995
|
-
|
|
995
|
+
p,
|
|
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 */
|
|
999
999
|
"prose",
|
|
1000
1000
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1001
1001
|
{
|
|
1002
|
-
screen: [
|
|
1002
|
+
screen: [a]
|
|
1003
1003
|
},
|
|
1004
|
-
|
|
1004
|
+
...H()
|
|
1005
1005
|
]
|
|
1006
1006
|
}],
|
|
1007
1007
|
/**
|
|
@@ -1009,21 +1009,21 @@ const Ke = (e, r) => {
|
|
|
1009
1009
|
* @see https://tailwindcss.com/docs/height
|
|
1010
1010
|
*/
|
|
1011
1011
|
h: [{
|
|
1012
|
-
h: ["screen", "lh",
|
|
1012
|
+
h: ["screen", "lh", ...H()]
|
|
1013
1013
|
}],
|
|
1014
1014
|
/**
|
|
1015
1015
|
* Min-Height
|
|
1016
1016
|
* @see https://tailwindcss.com/docs/min-height
|
|
1017
1017
|
*/
|
|
1018
1018
|
"min-h": [{
|
|
1019
|
-
"min-h": ["screen", "lh", "none",
|
|
1019
|
+
"min-h": ["screen", "lh", "none", ...H()]
|
|
1020
1020
|
}],
|
|
1021
1021
|
/**
|
|
1022
1022
|
* Max-Height
|
|
1023
1023
|
* @see https://tailwindcss.com/docs/max-height
|
|
1024
1024
|
*/
|
|
1025
1025
|
"max-h": [{
|
|
1026
|
-
"max-h": ["screen", "lh",
|
|
1026
|
+
"max-h": ["screen", "lh", ...H()]
|
|
1027
1027
|
}],
|
|
1028
1028
|
// ------------------
|
|
1029
1029
|
// --- Typography ---
|
|
@@ -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, K,
|
|
1036
|
+
text: ["base", o, K, O]
|
|
1037
1037
|
}],
|
|
1038
1038
|
/**
|
|
1039
1039
|
* Font Smoothing
|
|
@@ -1050,7 +1050,7 @@ const Ke = (e, r) => {
|
|
|
1050
1050
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1051
1051
|
*/
|
|
1052
1052
|
"font-weight": [{
|
|
1053
|
-
font: [t, d,
|
|
1053
|
+
font: [t, d, ce]
|
|
1054
1054
|
}],
|
|
1055
1055
|
/**
|
|
1056
1056
|
* Font Stretch
|
|
@@ -1064,7 +1064,7 @@ const Ke = (e, r) => {
|
|
|
1064
1064
|
* @see https://tailwindcss.com/docs/font-family
|
|
1065
1065
|
*/
|
|
1066
1066
|
"font-family": [{
|
|
1067
|
-
font: [
|
|
1067
|
+
font: [It, c, 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: [n, d, c]
|
|
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": [h, "none", d, ce]
|
|
1112
1112
|
}],
|
|
1113
1113
|
/**
|
|
1114
1114
|
* Line Height
|
|
@@ -1117,8 +1117,8 @@ const Ke = (e, r) => {
|
|
|
1117
1117
|
leading: [{
|
|
1118
1118
|
leading: [
|
|
1119
1119
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1120
|
-
|
|
1121
|
-
...
|
|
1120
|
+
l,
|
|
1121
|
+
...u()
|
|
1122
1122
|
]
|
|
1123
1123
|
}],
|
|
1124
1124
|
/**
|
|
@@ -1155,14 +1155,14 @@ const Ke = (e, r) => {
|
|
|
1155
1155
|
* @see https://v3.tailwindcss.com/docs/placeholder-color
|
|
1156
1156
|
*/
|
|
1157
1157
|
"placeholder-color": [{
|
|
1158
|
-
placeholder:
|
|
1158
|
+
placeholder: m()
|
|
1159
1159
|
}],
|
|
1160
1160
|
/**
|
|
1161
1161
|
* Text Color
|
|
1162
1162
|
* @see https://tailwindcss.com/docs/text-color
|
|
1163
1163
|
*/
|
|
1164
1164
|
"text-color": [{
|
|
1165
|
-
text:
|
|
1165
|
+
text: m()
|
|
1166
1166
|
}],
|
|
1167
1167
|
/**
|
|
1168
1168
|
* Text Decoration
|
|
@@ -1174,28 +1174,28 @@ 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: [...J(), "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: [h, "from-font", "auto", d, O]
|
|
1185
1185
|
}],
|
|
1186
1186
|
/**
|
|
1187
1187
|
* Text Decoration Color
|
|
1188
1188
|
* @see https://tailwindcss.com/docs/text-decoration-color
|
|
1189
1189
|
*/
|
|
1190
1190
|
"text-decoration-color": [{
|
|
1191
|
-
decoration:
|
|
1191
|
+
decoration: m()
|
|
1192
1192
|
}],
|
|
1193
1193
|
/**
|
|
1194
1194
|
* Text Underline Offset
|
|
1195
1195
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1196
1196
|
*/
|
|
1197
1197
|
"underline-offset": [{
|
|
1198
|
-
"underline-offset": [
|
|
1198
|
+
"underline-offset": [h, "auto", d, c]
|
|
1199
1199
|
}],
|
|
1200
1200
|
/**
|
|
1201
1201
|
* Text Transform
|
|
@@ -1219,7 +1219,7 @@ const Ke = (e, r) => {
|
|
|
1219
1219
|
* @see https://tailwindcss.com/docs/text-indent
|
|
1220
1220
|
*/
|
|
1221
1221
|
indent: [{
|
|
1222
|
-
indent:
|
|
1222
|
+
indent: u()
|
|
1223
1223
|
}],
|
|
1224
1224
|
/**
|
|
1225
1225
|
* Vertical Alignment
|
|
@@ -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: be()
|
|
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: he()
|
|
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: xe()
|
|
1310
1310
|
}],
|
|
1311
1311
|
/**
|
|
1312
1312
|
* Background Image
|
|
@@ -1316,59 +1316,59 @@ const Ke = (e, r) => {
|
|
|
1316
1316
|
bg: ["none", {
|
|
1317
1317
|
linear: [{
|
|
1318
1318
|
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1319
|
-
},
|
|
1319
|
+
}, G, d, c],
|
|
1320
1320
|
radial: ["", d, c],
|
|
1321
|
-
conic: [
|
|
1322
|
-
},
|
|
1321
|
+
conic: [G, d, c]
|
|
1322
|
+
}, Tt, At]
|
|
1323
1323
|
}],
|
|
1324
1324
|
/**
|
|
1325
1325
|
* Background Color
|
|
1326
1326
|
* @see https://tailwindcss.com/docs/background-color
|
|
1327
1327
|
*/
|
|
1328
1328
|
"bg-color": [{
|
|
1329
|
-
bg:
|
|
1329
|
+
bg: m()
|
|
1330
1330
|
}],
|
|
1331
1331
|
/**
|
|
1332
1332
|
* Gradient Color Stops From Position
|
|
1333
1333
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1334
1334
|
*/
|
|
1335
1335
|
"gradient-from-pos": [{
|
|
1336
|
-
from:
|
|
1336
|
+
from: ae()
|
|
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: ae()
|
|
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: ae()
|
|
1351
1351
|
}],
|
|
1352
1352
|
/**
|
|
1353
1353
|
* Gradient Color Stops From
|
|
1354
1354
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1355
1355
|
*/
|
|
1356
1356
|
"gradient-from": [{
|
|
1357
|
-
from:
|
|
1357
|
+
from: m()
|
|
1358
1358
|
}],
|
|
1359
1359
|
/**
|
|
1360
1360
|
* Gradient Color Stops Via
|
|
1361
1361
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1362
1362
|
*/
|
|
1363
1363
|
"gradient-via": [{
|
|
1364
|
-
via:
|
|
1364
|
+
via: m()
|
|
1365
1365
|
}],
|
|
1366
1366
|
/**
|
|
1367
1367
|
* Gradient Color Stops To
|
|
1368
1368
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1369
1369
|
*/
|
|
1370
1370
|
"gradient-to": [{
|
|
1371
|
-
to:
|
|
1371
|
+
to: m()
|
|
1372
1372
|
}],
|
|
1373
1373
|
// ---------------
|
|
1374
1374
|
// --- Borders ---
|
|
@@ -1483,70 +1483,70 @@ const Ke = (e, r) => {
|
|
|
1483
1483
|
* @see https://tailwindcss.com/docs/border-width
|
|
1484
1484
|
*/
|
|
1485
1485
|
"border-w": [{
|
|
1486
|
-
border:
|
|
1486
|
+
border: L()
|
|
1487
1487
|
}],
|
|
1488
1488
|
/**
|
|
1489
1489
|
* Border Width X
|
|
1490
1490
|
* @see https://tailwindcss.com/docs/border-width
|
|
1491
1491
|
*/
|
|
1492
1492
|
"border-w-x": [{
|
|
1493
|
-
"border-x":
|
|
1493
|
+
"border-x": L()
|
|
1494
1494
|
}],
|
|
1495
1495
|
/**
|
|
1496
1496
|
* Border Width Y
|
|
1497
1497
|
* @see https://tailwindcss.com/docs/border-width
|
|
1498
1498
|
*/
|
|
1499
1499
|
"border-w-y": [{
|
|
1500
|
-
"border-y":
|
|
1500
|
+
"border-y": L()
|
|
1501
1501
|
}],
|
|
1502
1502
|
/**
|
|
1503
1503
|
* Border Width Start
|
|
1504
1504
|
* @see https://tailwindcss.com/docs/border-width
|
|
1505
1505
|
*/
|
|
1506
1506
|
"border-w-s": [{
|
|
1507
|
-
"border-s":
|
|
1507
|
+
"border-s": L()
|
|
1508
1508
|
}],
|
|
1509
1509
|
/**
|
|
1510
1510
|
* Border Width End
|
|
1511
1511
|
* @see https://tailwindcss.com/docs/border-width
|
|
1512
1512
|
*/
|
|
1513
1513
|
"border-w-e": [{
|
|
1514
|
-
"border-e":
|
|
1514
|
+
"border-e": L()
|
|
1515
1515
|
}],
|
|
1516
1516
|
/**
|
|
1517
1517
|
* Border Width Top
|
|
1518
1518
|
* @see https://tailwindcss.com/docs/border-width
|
|
1519
1519
|
*/
|
|
1520
1520
|
"border-w-t": [{
|
|
1521
|
-
"border-t":
|
|
1521
|
+
"border-t": L()
|
|
1522
1522
|
}],
|
|
1523
1523
|
/**
|
|
1524
1524
|
* Border Width Right
|
|
1525
1525
|
* @see https://tailwindcss.com/docs/border-width
|
|
1526
1526
|
*/
|
|
1527
1527
|
"border-w-r": [{
|
|
1528
|
-
"border-r":
|
|
1528
|
+
"border-r": L()
|
|
1529
1529
|
}],
|
|
1530
1530
|
/**
|
|
1531
1531
|
* Border Width Bottom
|
|
1532
1532
|
* @see https://tailwindcss.com/docs/border-width
|
|
1533
1533
|
*/
|
|
1534
1534
|
"border-w-b": [{
|
|
1535
|
-
"border-b":
|
|
1535
|
+
"border-b": L()
|
|
1536
1536
|
}],
|
|
1537
1537
|
/**
|
|
1538
1538
|
* Border Width Left
|
|
1539
1539
|
* @see https://tailwindcss.com/docs/border-width
|
|
1540
1540
|
*/
|
|
1541
1541
|
"border-w-l": [{
|
|
1542
|
-
"border-l":
|
|
1542
|
+
"border-l": L()
|
|
1543
1543
|
}],
|
|
1544
1544
|
/**
|
|
1545
1545
|
* Divide Width X
|
|
1546
1546
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1547
1547
|
*/
|
|
1548
1548
|
"divide-x": [{
|
|
1549
|
-
"divide-x":
|
|
1549
|
+
"divide-x": L()
|
|
1550
1550
|
}],
|
|
1551
1551
|
/**
|
|
1552
1552
|
* Divide Width X Reverse
|
|
@@ -1558,7 +1558,7 @@ const Ke = (e, r) => {
|
|
|
1558
1558
|
* @see https://tailwindcss.com/docs/border-width#between-children
|
|
1559
1559
|
*/
|
|
1560
1560
|
"divide-y": [{
|
|
1561
|
-
"divide-y":
|
|
1561
|
+
"divide-y": L()
|
|
1562
1562
|
}],
|
|
1563
1563
|
/**
|
|
1564
1564
|
* Divide Width Y Reverse
|
|
@@ -1570,112 +1570,112 @@ const Ke = (e, r) => {
|
|
|
1570
1570
|
* @see https://tailwindcss.com/docs/border-style
|
|
1571
1571
|
*/
|
|
1572
1572
|
"border-style": [{
|
|
1573
|
-
border: [...
|
|
1573
|
+
border: [...J(), "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: [...J(), "hidden", "none"]
|
|
1581
1581
|
}],
|
|
1582
1582
|
/**
|
|
1583
1583
|
* Border Color
|
|
1584
1584
|
* @see https://tailwindcss.com/docs/border-color
|
|
1585
1585
|
*/
|
|
1586
1586
|
"border-color": [{
|
|
1587
|
-
border:
|
|
1587
|
+
border: m()
|
|
1588
1588
|
}],
|
|
1589
1589
|
/**
|
|
1590
1590
|
* Border Color X
|
|
1591
1591
|
* @see https://tailwindcss.com/docs/border-color
|
|
1592
1592
|
*/
|
|
1593
1593
|
"border-color-x": [{
|
|
1594
|
-
"border-x":
|
|
1594
|
+
"border-x": m()
|
|
1595
1595
|
}],
|
|
1596
1596
|
/**
|
|
1597
1597
|
* Border Color Y
|
|
1598
1598
|
* @see https://tailwindcss.com/docs/border-color
|
|
1599
1599
|
*/
|
|
1600
1600
|
"border-color-y": [{
|
|
1601
|
-
"border-y":
|
|
1601
|
+
"border-y": m()
|
|
1602
1602
|
}],
|
|
1603
1603
|
/**
|
|
1604
1604
|
* Border Color S
|
|
1605
1605
|
* @see https://tailwindcss.com/docs/border-color
|
|
1606
1606
|
*/
|
|
1607
1607
|
"border-color-s": [{
|
|
1608
|
-
"border-s":
|
|
1608
|
+
"border-s": m()
|
|
1609
1609
|
}],
|
|
1610
1610
|
/**
|
|
1611
1611
|
* Border Color E
|
|
1612
1612
|
* @see https://tailwindcss.com/docs/border-color
|
|
1613
1613
|
*/
|
|
1614
1614
|
"border-color-e": [{
|
|
1615
|
-
"border-e":
|
|
1615
|
+
"border-e": m()
|
|
1616
1616
|
}],
|
|
1617
1617
|
/**
|
|
1618
1618
|
* Border Color Top
|
|
1619
1619
|
* @see https://tailwindcss.com/docs/border-color
|
|
1620
1620
|
*/
|
|
1621
1621
|
"border-color-t": [{
|
|
1622
|
-
"border-t":
|
|
1622
|
+
"border-t": m()
|
|
1623
1623
|
}],
|
|
1624
1624
|
/**
|
|
1625
1625
|
* Border Color Right
|
|
1626
1626
|
* @see https://tailwindcss.com/docs/border-color
|
|
1627
1627
|
*/
|
|
1628
1628
|
"border-color-r": [{
|
|
1629
|
-
"border-r":
|
|
1629
|
+
"border-r": m()
|
|
1630
1630
|
}],
|
|
1631
1631
|
/**
|
|
1632
1632
|
* Border Color Bottom
|
|
1633
1633
|
* @see https://tailwindcss.com/docs/border-color
|
|
1634
1634
|
*/
|
|
1635
1635
|
"border-color-b": [{
|
|
1636
|
-
"border-b":
|
|
1636
|
+
"border-b": m()
|
|
1637
1637
|
}],
|
|
1638
1638
|
/**
|
|
1639
1639
|
* Border Color Left
|
|
1640
1640
|
* @see https://tailwindcss.com/docs/border-color
|
|
1641
1641
|
*/
|
|
1642
1642
|
"border-color-l": [{
|
|
1643
|
-
"border-l":
|
|
1643
|
+
"border-l": m()
|
|
1644
1644
|
}],
|
|
1645
1645
|
/**
|
|
1646
1646
|
* Divide Color
|
|
1647
1647
|
* @see https://tailwindcss.com/docs/divide-color
|
|
1648
1648
|
*/
|
|
1649
1649
|
"divide-color": [{
|
|
1650
|
-
divide:
|
|
1650
|
+
divide: m()
|
|
1651
1651
|
}],
|
|
1652
1652
|
/**
|
|
1653
1653
|
* Outline Style
|
|
1654
1654
|
* @see https://tailwindcss.com/docs/outline-style
|
|
1655
1655
|
*/
|
|
1656
1656
|
"outline-style": [{
|
|
1657
|
-
outline: [...
|
|
1657
|
+
outline: [...J(), "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": [h, d, c]
|
|
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: ["", h, K, O]
|
|
1672
1672
|
}],
|
|
1673
1673
|
/**
|
|
1674
1674
|
* Outline Color
|
|
1675
1675
|
* @see https://tailwindcss.com/docs/outline-color
|
|
1676
1676
|
*/
|
|
1677
1677
|
"outline-color": [{
|
|
1678
|
-
outline:
|
|
1678
|
+
outline: m()
|
|
1679
1679
|
}],
|
|
1680
1680
|
// ---------------
|
|
1681
1681
|
// --- Effects ---
|
|
@@ -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
|
+
x,
|
|
1693
|
+
oe,
|
|
1694
|
+
re
|
|
1695
1695
|
]
|
|
1696
1696
|
}],
|
|
1697
1697
|
/**
|
|
@@ -1699,28 +1699,28 @@ const Ke = (e, r) => {
|
|
|
1699
1699
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
|
|
1700
1700
|
*/
|
|
1701
1701
|
"shadow-color": [{
|
|
1702
|
-
shadow:
|
|
1702
|
+
shadow: m()
|
|
1703
1703
|
}],
|
|
1704
1704
|
/**
|
|
1705
1705
|
* Inset Box Shadow
|
|
1706
1706
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
1707
1707
|
*/
|
|
1708
1708
|
"inset-shadow": [{
|
|
1709
|
-
"inset-shadow": ["none",
|
|
1709
|
+
"inset-shadow": ["none", _, oe, re]
|
|
1710
1710
|
}],
|
|
1711
1711
|
/**
|
|
1712
1712
|
* Inset Box Shadow Color
|
|
1713
1713
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
|
|
1714
1714
|
*/
|
|
1715
1715
|
"inset-shadow-color": [{
|
|
1716
|
-
"inset-shadow":
|
|
1716
|
+
"inset-shadow": m()
|
|
1717
1717
|
}],
|
|
1718
1718
|
/**
|
|
1719
1719
|
* Ring Width
|
|
1720
1720
|
* @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
|
|
1721
1721
|
*/
|
|
1722
1722
|
"ring-w": [{
|
|
1723
|
-
ring:
|
|
1723
|
+
ring: L()
|
|
1724
1724
|
}],
|
|
1725
1725
|
/**
|
|
1726
1726
|
* Ring Width Inset
|
|
@@ -1734,7 +1734,7 @@ const Ke = (e, r) => {
|
|
|
1734
1734
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
|
|
1735
1735
|
*/
|
|
1736
1736
|
"ring-color": [{
|
|
1737
|
-
ring:
|
|
1737
|
+
ring: m()
|
|
1738
1738
|
}],
|
|
1739
1739
|
/**
|
|
1740
1740
|
* Ring Offset Width
|
|
@@ -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": [h, O]
|
|
1747
1747
|
}],
|
|
1748
1748
|
/**
|
|
1749
1749
|
* Ring Offset Color
|
|
@@ -1752,42 +1752,42 @@ const Ke = (e, r) => {
|
|
|
1752
1752
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
1753
1753
|
*/
|
|
1754
1754
|
"ring-offset-color": [{
|
|
1755
|
-
"ring-offset":
|
|
1755
|
+
"ring-offset": m()
|
|
1756
1756
|
}],
|
|
1757
1757
|
/**
|
|
1758
1758
|
* Inset Ring Width
|
|
1759
1759
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
|
|
1760
1760
|
*/
|
|
1761
1761
|
"inset-ring-w": [{
|
|
1762
|
-
"inset-ring":
|
|
1762
|
+
"inset-ring": L()
|
|
1763
1763
|
}],
|
|
1764
1764
|
/**
|
|
1765
1765
|
* Inset Ring Color
|
|
1766
1766
|
* @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
|
|
1767
1767
|
*/
|
|
1768
1768
|
"inset-ring-color": [{
|
|
1769
|
-
"inset-ring":
|
|
1769
|
+
"inset-ring": m()
|
|
1770
1770
|
}],
|
|
1771
1771
|
/**
|
|
1772
1772
|
* Text Shadow
|
|
1773
1773
|
* @see https://tailwindcss.com/docs/text-shadow
|
|
1774
1774
|
*/
|
|
1775
1775
|
"text-shadow": [{
|
|
1776
|
-
"text-shadow": ["none",
|
|
1776
|
+
"text-shadow": ["none", w, oe, re]
|
|
1777
1777
|
}],
|
|
1778
1778
|
/**
|
|
1779
1779
|
* Text Shadow Color
|
|
1780
1780
|
* @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
|
|
1781
1781
|
*/
|
|
1782
1782
|
"text-shadow-color": [{
|
|
1783
|
-
"text-shadow":
|
|
1783
|
+
"text-shadow": m()
|
|
1784
1784
|
}],
|
|
1785
1785
|
/**
|
|
1786
1786
|
* Opacity
|
|
1787
1787
|
* @see https://tailwindcss.com/docs/opacity
|
|
1788
1788
|
*/
|
|
1789
1789
|
opacity: [{
|
|
1790
|
-
opacity: [
|
|
1790
|
+
opacity: [h, d, c]
|
|
1791
1791
|
}],
|
|
1792
1792
|
/**
|
|
1793
1793
|
* Mix Blend Mode
|
|
@@ -1822,7 +1822,7 @@ 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": [h]
|
|
1826
1826
|
}],
|
|
1827
1827
|
"mask-image-linear-from-pos": [{
|
|
1828
1828
|
"mask-linear-from": C()
|
|
@@ -1831,10 +1831,10 @@ const Ke = (e, r) => {
|
|
|
1831
1831
|
"mask-linear-to": C()
|
|
1832
1832
|
}],
|
|
1833
1833
|
"mask-image-linear-from-color": [{
|
|
1834
|
-
"mask-linear-from":
|
|
1834
|
+
"mask-linear-from": m()
|
|
1835
1835
|
}],
|
|
1836
1836
|
"mask-image-linear-to-color": [{
|
|
1837
|
-
"mask-linear-to":
|
|
1837
|
+
"mask-linear-to": m()
|
|
1838
1838
|
}],
|
|
1839
1839
|
"mask-image-t-from-pos": [{
|
|
1840
1840
|
"mask-t-from": C()
|
|
@@ -1843,10 +1843,10 @@ const Ke = (e, r) => {
|
|
|
1843
1843
|
"mask-t-to": C()
|
|
1844
1844
|
}],
|
|
1845
1845
|
"mask-image-t-from-color": [{
|
|
1846
|
-
"mask-t-from":
|
|
1846
|
+
"mask-t-from": m()
|
|
1847
1847
|
}],
|
|
1848
1848
|
"mask-image-t-to-color": [{
|
|
1849
|
-
"mask-t-to":
|
|
1849
|
+
"mask-t-to": m()
|
|
1850
1850
|
}],
|
|
1851
1851
|
"mask-image-r-from-pos": [{
|
|
1852
1852
|
"mask-r-from": C()
|
|
@@ -1855,10 +1855,10 @@ const Ke = (e, r) => {
|
|
|
1855
1855
|
"mask-r-to": C()
|
|
1856
1856
|
}],
|
|
1857
1857
|
"mask-image-r-from-color": [{
|
|
1858
|
-
"mask-r-from":
|
|
1858
|
+
"mask-r-from": m()
|
|
1859
1859
|
}],
|
|
1860
1860
|
"mask-image-r-to-color": [{
|
|
1861
|
-
"mask-r-to":
|
|
1861
|
+
"mask-r-to": m()
|
|
1862
1862
|
}],
|
|
1863
1863
|
"mask-image-b-from-pos": [{
|
|
1864
1864
|
"mask-b-from": C()
|
|
@@ -1867,10 +1867,10 @@ const Ke = (e, r) => {
|
|
|
1867
1867
|
"mask-b-to": C()
|
|
1868
1868
|
}],
|
|
1869
1869
|
"mask-image-b-from-color": [{
|
|
1870
|
-
"mask-b-from":
|
|
1870
|
+
"mask-b-from": m()
|
|
1871
1871
|
}],
|
|
1872
1872
|
"mask-image-b-to-color": [{
|
|
1873
|
-
"mask-b-to":
|
|
1873
|
+
"mask-b-to": m()
|
|
1874
1874
|
}],
|
|
1875
1875
|
"mask-image-l-from-pos": [{
|
|
1876
1876
|
"mask-l-from": C()
|
|
@@ -1879,10 +1879,10 @@ const Ke = (e, r) => {
|
|
|
1879
1879
|
"mask-l-to": C()
|
|
1880
1880
|
}],
|
|
1881
1881
|
"mask-image-l-from-color": [{
|
|
1882
|
-
"mask-l-from":
|
|
1882
|
+
"mask-l-from": m()
|
|
1883
1883
|
}],
|
|
1884
1884
|
"mask-image-l-to-color": [{
|
|
1885
|
-
"mask-l-to":
|
|
1885
|
+
"mask-l-to": m()
|
|
1886
1886
|
}],
|
|
1887
1887
|
"mask-image-x-from-pos": [{
|
|
1888
1888
|
"mask-x-from": C()
|
|
@@ -1891,10 +1891,10 @@ const Ke = (e, r) => {
|
|
|
1891
1891
|
"mask-x-to": C()
|
|
1892
1892
|
}],
|
|
1893
1893
|
"mask-image-x-from-color": [{
|
|
1894
|
-
"mask-x-from":
|
|
1894
|
+
"mask-x-from": m()
|
|
1895
1895
|
}],
|
|
1896
1896
|
"mask-image-x-to-color": [{
|
|
1897
|
-
"mask-x-to":
|
|
1897
|
+
"mask-x-to": m()
|
|
1898
1898
|
}],
|
|
1899
1899
|
"mask-image-y-from-pos": [{
|
|
1900
1900
|
"mask-y-from": C()
|
|
@@ -1903,10 +1903,10 @@ const Ke = (e, r) => {
|
|
|
1903
1903
|
"mask-y-to": C()
|
|
1904
1904
|
}],
|
|
1905
1905
|
"mask-image-y-from-color": [{
|
|
1906
|
-
"mask-y-from":
|
|
1906
|
+
"mask-y-from": m()
|
|
1907
1907
|
}],
|
|
1908
1908
|
"mask-image-y-to-color": [{
|
|
1909
|
-
"mask-y-to":
|
|
1909
|
+
"mask-y-to": m()
|
|
1910
1910
|
}],
|
|
1911
1911
|
"mask-image-radial": [{
|
|
1912
1912
|
"mask-radial": [d, c]
|
|
@@ -1918,10 +1918,10 @@ const Ke = (e, r) => {
|
|
|
1918
1918
|
"mask-radial-to": C()
|
|
1919
1919
|
}],
|
|
1920
1920
|
"mask-image-radial-from-color": [{
|
|
1921
|
-
"mask-radial-from":
|
|
1921
|
+
"mask-radial-from": m()
|
|
1922
1922
|
}],
|
|
1923
1923
|
"mask-image-radial-to-color": [{
|
|
1924
|
-
"mask-radial-to":
|
|
1924
|
+
"mask-radial-to": m()
|
|
1925
1925
|
}],
|
|
1926
1926
|
"mask-image-radial-shape": [{
|
|
1927
1927
|
"mask-radial": ["circle", "ellipse"]
|
|
@@ -1936,7 +1936,7 @@ const Ke = (e, r) => {
|
|
|
1936
1936
|
"mask-radial-at": E()
|
|
1937
1937
|
}],
|
|
1938
1938
|
"mask-image-conic-pos": [{
|
|
1939
|
-
"mask-conic": [
|
|
1939
|
+
"mask-conic": [h]
|
|
1940
1940
|
}],
|
|
1941
1941
|
"mask-image-conic-from-pos": [{
|
|
1942
1942
|
"mask-conic-from": C()
|
|
@@ -1945,10 +1945,10 @@ const Ke = (e, r) => {
|
|
|
1945
1945
|
"mask-conic-to": C()
|
|
1946
1946
|
}],
|
|
1947
1947
|
"mask-image-conic-from-color": [{
|
|
1948
|
-
"mask-conic-from":
|
|
1948
|
+
"mask-conic-from": m()
|
|
1949
1949
|
}],
|
|
1950
1950
|
"mask-image-conic-to-color": [{
|
|
1951
|
-
"mask-conic-to":
|
|
1951
|
+
"mask-conic-to": m()
|
|
1952
1952
|
}],
|
|
1953
1953
|
/**
|
|
1954
1954
|
* Mask Mode
|
|
@@ -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: be()
|
|
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: he()
|
|
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: xe()
|
|
1987
1987
|
}],
|
|
1988
1988
|
/**
|
|
1989
1989
|
* Mask Type
|
|
@@ -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: _e()
|
|
2024
2024
|
}],
|
|
2025
2025
|
/**
|
|
2026
2026
|
* Brightness
|
|
2027
2027
|
* @see https://tailwindcss.com/docs/brightness
|
|
2028
2028
|
*/
|
|
2029
2029
|
brightness: [{
|
|
2030
|
-
brightness: [
|
|
2030
|
+
brightness: [h, d, c]
|
|
2031
2031
|
}],
|
|
2032
2032
|
/**
|
|
2033
2033
|
* Contrast
|
|
2034
2034
|
* @see https://tailwindcss.com/docs/contrast
|
|
2035
2035
|
*/
|
|
2036
2036
|
contrast: [{
|
|
2037
|
-
contrast: [
|
|
2037
|
+
contrast: [h, d, c]
|
|
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
|
+
z,
|
|
2049
|
+
oe,
|
|
2050
|
+
re
|
|
2051
2051
|
]
|
|
2052
2052
|
}],
|
|
2053
2053
|
/**
|
|
@@ -2055,42 +2055,42 @@ const Ke = (e, r) => {
|
|
|
2055
2055
|
* @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
|
|
2056
2056
|
*/
|
|
2057
2057
|
"drop-shadow-color": [{
|
|
2058
|
-
"drop-shadow":
|
|
2058
|
+
"drop-shadow": m()
|
|
2059
2059
|
}],
|
|
2060
2060
|
/**
|
|
2061
2061
|
* Grayscale
|
|
2062
2062
|
* @see https://tailwindcss.com/docs/grayscale
|
|
2063
2063
|
*/
|
|
2064
2064
|
grayscale: [{
|
|
2065
|
-
grayscale: ["",
|
|
2065
|
+
grayscale: ["", h, d, c]
|
|
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": [h, d, c]
|
|
2073
2073
|
}],
|
|
2074
2074
|
/**
|
|
2075
2075
|
* Invert
|
|
2076
2076
|
* @see https://tailwindcss.com/docs/invert
|
|
2077
2077
|
*/
|
|
2078
2078
|
invert: [{
|
|
2079
|
-
invert: ["",
|
|
2079
|
+
invert: ["", h, d, c]
|
|
2080
2080
|
}],
|
|
2081
2081
|
/**
|
|
2082
2082
|
* Saturate
|
|
2083
2083
|
* @see https://tailwindcss.com/docs/saturate
|
|
2084
2084
|
*/
|
|
2085
2085
|
saturate: [{
|
|
2086
|
-
saturate: [
|
|
2086
|
+
saturate: [h, d, c]
|
|
2087
2087
|
}],
|
|
2088
2088
|
/**
|
|
2089
2089
|
* Sepia
|
|
2090
2090
|
* @see https://tailwindcss.com/docs/sepia
|
|
2091
2091
|
*/
|
|
2092
2092
|
sepia: [{
|
|
2093
|
-
sepia: ["",
|
|
2093
|
+
sepia: ["", h, d, c]
|
|
2094
2094
|
}],
|
|
2095
2095
|
/**
|
|
2096
2096
|
* Backdrop Filter
|
|
@@ -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": _e()
|
|
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": [h, d, c]
|
|
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": [h, d, c]
|
|
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": ["", h, d, c]
|
|
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": [h, d, c]
|
|
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": ["", h, d, c]
|
|
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": [h, d, c]
|
|
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": [h, d, c]
|
|
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": ["", h, d, c]
|
|
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": u()
|
|
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": u()
|
|
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": u()
|
|
2201
2201
|
}],
|
|
2202
2202
|
/**
|
|
2203
2203
|
* Table Layout
|
|
@@ -2235,7 +2235,7 @@ const Ke = (e, r) => {
|
|
|
2235
2235
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
2236
2236
|
*/
|
|
2237
2237
|
duration: [{
|
|
2238
|
-
duration: [
|
|
2238
|
+
duration: [h, "initial", d, c]
|
|
2239
2239
|
}],
|
|
2240
2240
|
/**
|
|
2241
2241
|
* Transition Timing Function
|
|
@@ -2249,14 +2249,14 @@ const Ke = (e, r) => {
|
|
|
2249
2249
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
2250
2250
|
*/
|
|
2251
2251
|
delay: [{
|
|
2252
|
-
delay: [
|
|
2252
|
+
delay: [h, d, c]
|
|
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", F, d, c]
|
|
2260
2260
|
}],
|
|
2261
2261
|
// ------------------
|
|
2262
2262
|
// --- Transforms ---
|
|
@@ -2280,63 +2280,63 @@ const Ke = (e, r) => {
|
|
|
2280
2280
|
* @see https://tailwindcss.com/docs/perspective-origin
|
|
2281
2281
|
*/
|
|
2282
2282
|
"perspective-origin": [{
|
|
2283
|
-
"perspective-origin":
|
|
2283
|
+
"perspective-origin": V()
|
|
2284
2284
|
}],
|
|
2285
2285
|
/**
|
|
2286
2286
|
* Rotate
|
|
2287
2287
|
* @see https://tailwindcss.com/docs/rotate
|
|
2288
2288
|
*/
|
|
2289
2289
|
rotate: [{
|
|
2290
|
-
rotate:
|
|
2290
|
+
rotate: Q()
|
|
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": Q()
|
|
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": Q()
|
|
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": Q()
|
|
2312
2312
|
}],
|
|
2313
2313
|
/**
|
|
2314
2314
|
* Scale
|
|
2315
2315
|
* @see https://tailwindcss.com/docs/scale
|
|
2316
2316
|
*/
|
|
2317
2317
|
scale: [{
|
|
2318
|
-
scale:
|
|
2318
|
+
scale: ee()
|
|
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": ee()
|
|
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": ee()
|
|
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": ee()
|
|
2340
2340
|
}],
|
|
2341
2341
|
/**
|
|
2342
2342
|
* Scale 3D
|
|
@@ -2348,21 +2348,21 @@ const Ke = (e, r) => {
|
|
|
2348
2348
|
* @see https://tailwindcss.com/docs/skew
|
|
2349
2349
|
*/
|
|
2350
2350
|
skew: [{
|
|
2351
|
-
skew:
|
|
2351
|
+
skew: le()
|
|
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": le()
|
|
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": le()
|
|
2366
2366
|
}],
|
|
2367
2367
|
/**
|
|
2368
2368
|
* Transform
|
|
@@ -2376,7 +2376,7 @@ const Ke = (e, r) => {
|
|
|
2376
2376
|
* @see https://tailwindcss.com/docs/transform-origin
|
|
2377
2377
|
*/
|
|
2378
2378
|
"transform-origin": [{
|
|
2379
|
-
origin:
|
|
2379
|
+
origin: V()
|
|
2380
2380
|
}],
|
|
2381
2381
|
/**
|
|
2382
2382
|
* Transform Style
|
|
@@ -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: te()
|
|
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": te()
|
|
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": te()
|
|
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": te()
|
|
2415
2415
|
}],
|
|
2416
2416
|
/**
|
|
2417
2417
|
* Translate None
|
|
@@ -2426,7 +2426,7 @@ const Ke = (e, r) => {
|
|
|
2426
2426
|
* @see https://tailwindcss.com/docs/accent-color
|
|
2427
2427
|
*/
|
|
2428
2428
|
accent: [{
|
|
2429
|
-
accent:
|
|
2429
|
+
accent: m()
|
|
2430
2430
|
}],
|
|
2431
2431
|
/**
|
|
2432
2432
|
* Appearance
|
|
@@ -2440,7 +2440,7 @@ const Ke = (e, r) => {
|
|
|
2440
2440
|
* @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
|
|
2441
2441
|
*/
|
|
2442
2442
|
"caret-color": [{
|
|
2443
|
-
caret:
|
|
2443
|
+
caret: m()
|
|
2444
2444
|
}],
|
|
2445
2445
|
/**
|
|
2446
2446
|
* Color Scheme
|
|
@@ -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": u()
|
|
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": u()
|
|
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": u()
|
|
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": u()
|
|
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": u()
|
|
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": u()
|
|
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": u()
|
|
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": u()
|
|
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": u()
|
|
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": u()
|
|
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": u()
|
|
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": u()
|
|
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": u()
|
|
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": u()
|
|
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": u()
|
|
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": u()
|
|
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": u()
|
|
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": u()
|
|
2612
2612
|
}],
|
|
2613
2613
|
/**
|
|
2614
2614
|
* Scroll Snap Align
|
|
@@ -2686,21 +2686,21 @@ const Ke = (e, r) => {
|
|
|
2686
2686
|
* @see https://tailwindcss.com/docs/fill
|
|
2687
2687
|
*/
|
|
2688
2688
|
fill: [{
|
|
2689
|
-
fill: ["none", ...
|
|
2689
|
+
fill: ["none", ...m()]
|
|
2690
2690
|
}],
|
|
2691
2691
|
/**
|
|
2692
2692
|
* Stroke Width
|
|
2693
2693
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
2694
2694
|
*/
|
|
2695
2695
|
"stroke-w": [{
|
|
2696
|
-
stroke: [
|
|
2696
|
+
stroke: [h, K, O, ce]
|
|
2697
2697
|
}],
|
|
2698
2698
|
/**
|
|
2699
2699
|
* Stroke
|
|
2700
2700
|
* @see https://tailwindcss.com/docs/stroke
|
|
2701
2701
|
*/
|
|
2702
2702
|
stroke: [{
|
|
2703
|
-
stroke: ["none", ...
|
|
2703
|
+
stroke: ["none", ...m()]
|
|
2704
2704
|
}],
|
|
2705
2705
|
// ---------------------
|
|
2706
2706
|
// --- Accessibility ---
|
|
@@ -2768,53 +2768,59 @@ 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__ */
|
|
2771
|
+
}, Bt = /* @__PURE__ */ ht(jt);
|
|
2772
2772
|
function b(...e) {
|
|
2773
|
-
return Bt(
|
|
2773
|
+
return Bt(Ye(e));
|
|
2774
2774
|
}
|
|
2775
2775
|
const Pt = {
|
|
2776
|
-
primary: "
|
|
2777
|
-
secondary: "
|
|
2778
|
-
danger: "
|
|
2779
|
-
ghost: "
|
|
2776
|
+
primary: "text-[#7e97b8] bg-[#dbeafe] border-[rgba(255,255,255,0.333)] shadow-[-4px_-2px_16px_0px_#ffffff,4px_2px_16px_0px_rgb(59_130_246_/_48%)] hover:text-[#516d91] hover:bg-[#bfdbfe] hover:shadow-[-2px_-1px_8px_0px_#ffffff,2px_1px_8px_0px_rgb(59_130_246_/_48%)]",
|
|
2777
|
+
secondary: "text-[#6b7280] bg-[#d1fae5] border-[rgba(255,255,255,0.4)] shadow-[-4px_-2px_16px_0px_#ffffff,4px_2px_16px_0px_rgb(34_197_94_/_35%)] hover:text-[#4b5563] hover:bg-[#a7f3d0] hover:shadow-[-2px_-1px_8px_0px_#ffffff,2px_1px_8px_0px_rgb(34_197_94_/_35%)]",
|
|
2778
|
+
danger: "text-[#ef4444] bg-[#fecaca] border-[rgba(255,255,255,0.5)] shadow-[-4px_-2px_16px_0px_#ffffff,4px_2px_16px_0px_rgb(239_68_68_/_35%)] hover:text-[#dc2626] hover:bg-[#fed7d7] hover:shadow-[-2px_-1px_8px_0px_#ffffff,2px_1px_8px_0px_rgb(239_68_68_/_35%)]",
|
|
2779
|
+
ghost: "text-[#6b7280] bg-transparent border-[rgba(255,255,255,0.2)] shadow-[-4px_-2px_16px_0px_rgba(255,255,255,0.1),4px_2px_16px_0px_rgba(0,0,0,0.1)] hover:text-[#4b5563] hover:bg-[rgba(255,255,255,0.05)] hover:shadow-[-2px_-1px_8px_0px_rgba(255,255,255,0.1),2px_1px_8px_0px_rgba(0,0,0,0.1)]"
|
|
2780
2780
|
}, Ft = {
|
|
2781
|
-
sm: "px-
|
|
2782
|
-
md: "px-
|
|
2783
|
-
lg: "px-
|
|
2784
|
-
}, Ge =
|
|
2781
|
+
sm: "px-4 py-2 pl-5 text-xs h-8",
|
|
2782
|
+
md: "px-6 py-4 pl-7 text-[13px] h-10",
|
|
2783
|
+
lg: "px-8 py-5 pl-9 text-sm h-12"
|
|
2784
|
+
}, Ge = y.forwardRef(({
|
|
2785
2785
|
variant: e = "primary",
|
|
2786
2786
|
size: r = "md",
|
|
2787
2787
|
loading: o = !1,
|
|
2788
2788
|
disabled: t = !1,
|
|
2789
|
-
className:
|
|
2790
|
-
children:
|
|
2791
|
-
...
|
|
2792
|
-
},
|
|
2789
|
+
className: n,
|
|
2790
|
+
children: l,
|
|
2791
|
+
...a
|
|
2792
|
+
}, p) => /* @__PURE__ */ g(
|
|
2793
2793
|
"button",
|
|
2794
2794
|
{
|
|
2795
|
-
ref:
|
|
2795
|
+
ref: p,
|
|
2796
2796
|
className: b(
|
|
2797
|
-
"
|
|
2798
|
-
"font-
|
|
2797
|
+
"flex items-center justify-center gap-2.5",
|
|
2798
|
+
"font-inherit font-medium",
|
|
2799
|
+
"uppercase tracking-[0.4px]",
|
|
2800
|
+
"border-2 border-solid",
|
|
2801
|
+
"rounded-[40px]",
|
|
2802
|
+
"transform translate-x-0 translate-y-0 rotate-0",
|
|
2803
|
+
"transition-all duration-200",
|
|
2804
|
+
"active:shadow-none",
|
|
2799
2805
|
"focus-visible focus:outline-none",
|
|
2800
2806
|
"disabled:cursor-not-allowed disabled:opacity-50",
|
|
2801
2807
|
Pt[e],
|
|
2802
2808
|
Ft[r],
|
|
2803
|
-
|
|
2809
|
+
n
|
|
2804
2810
|
),
|
|
2805
2811
|
disabled: t || o,
|
|
2806
|
-
...
|
|
2812
|
+
...a,
|
|
2807
2813
|
children: [
|
|
2808
|
-
|
|
2814
|
+
o && /* @__PURE__ */ g(
|
|
2809
2815
|
"svg",
|
|
2810
2816
|
{
|
|
2811
|
-
className:
|
|
2817
|
+
className: "animate-spin h-6 w-6",
|
|
2812
2818
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2813
2819
|
fill: "none",
|
|
2814
2820
|
viewBox: "0 0 24 24",
|
|
2815
2821
|
"aria-hidden": "true",
|
|
2816
2822
|
children: [
|
|
2817
|
-
/* @__PURE__ */
|
|
2823
|
+
/* @__PURE__ */ s(
|
|
2818
2824
|
"circle",
|
|
2819
2825
|
{
|
|
2820
2826
|
className: "opacity-25",
|
|
@@ -2825,7 +2831,7 @@ const Pt = {
|
|
|
2825
2831
|
strokeWidth: "4"
|
|
2826
2832
|
}
|
|
2827
2833
|
),
|
|
2828
|
-
/* @__PURE__ */
|
|
2834
|
+
/* @__PURE__ */ s(
|
|
2829
2835
|
"path",
|
|
2830
2836
|
{
|
|
2831
2837
|
className: "opacity-75",
|
|
@@ -2835,61 +2841,66 @@ const Pt = {
|
|
|
2835
2841
|
)
|
|
2836
2842
|
]
|
|
2837
2843
|
}
|
|
2838
|
-
)
|
|
2839
|
-
|
|
2844
|
+
),
|
|
2845
|
+
l
|
|
2840
2846
|
]
|
|
2841
2847
|
}
|
|
2842
2848
|
));
|
|
2843
2849
|
Ge.displayName = "Button";
|
|
2844
|
-
const Gt = "
|
|
2850
|
+
const Gt = "_button_qraba_7", $t = "_state_qraba_79", Ht = "_icon_qraba_151", Ot = "_outline_qraba_205", I = {
|
|
2845
2851
|
button: Gt,
|
|
2846
|
-
"button--size-sm": "_button--size-
|
|
2847
|
-
state:
|
|
2848
|
-
"button--size-md": "_button--size-
|
|
2849
|
-
"button--size-lg": "_button--size-
|
|
2850
|
-
icon:
|
|
2851
|
-
outline:
|
|
2852
|
-
"state--default": "_state--
|
|
2853
|
-
"state--sent": "_state--
|
|
2854
|
-
},
|
|
2852
|
+
"button--size-sm": "_button--size-sm_qraba_63",
|
|
2853
|
+
state: $t,
|
|
2854
|
+
"button--size-md": "_button--size-md_qraba_87",
|
|
2855
|
+
"button--size-lg": "_button--size-lg_qraba_111",
|
|
2856
|
+
icon: Ht,
|
|
2857
|
+
outline: Ot,
|
|
2858
|
+
"state--default": "_state--default_qraba_229",
|
|
2859
|
+
"state--sent": "_state--sent_qraba_813"
|
|
2860
|
+
}, ze = (e) => e.split("").map((r, o) => /* @__PURE__ */ s("span", { style: { "--i": o }, children: r === " " ? " " : r }, o)), Dt = {
|
|
2855
2861
|
sm: I["button--size-sm"],
|
|
2856
2862
|
md: I["button--size-md"],
|
|
2857
2863
|
lg: I["button--size-lg"]
|
|
2858
|
-
},
|
|
2864
|
+
}, Wt = {
|
|
2865
|
+
primary: "text-[#7e97b8] bg-[#dbeafe] border-[rgba(255,255,255,0.333)] shadow-[-4px_-2px_16px_0px_#ffffff,4px_2px_16px_0px_rgb(59_130_246_/_48%)] hover:text-[#516d91] hover:bg-[#bfdbfe] hover:shadow-[-2px_-1px_8px_0px_#ffffff,2px_1px_8px_0px_rgb(59_130_246_/_48%)]",
|
|
2866
|
+
secondary: "text-[#6b7280] bg-[#d1fae5] border-[rgba(255,255,255,0.4)] shadow-[-4px_-2px_16px_0px_#ffffff,4px_2px_16px_0px_rgb(34_197_94_/_35%)] hover:text-[#4b5563] hover:bg-[#a7f3d0] hover:shadow-[-2px_-1px_8px_0px_#ffffff,2px_1px_8px_0px_rgb(34_197_94_/_35%)]",
|
|
2867
|
+
danger: "text-[#ef4444] bg-[#fecaca] border-[rgba(255,255,255,0.5)] shadow-[-4px_-2px_16px_0px_#ffffff,4px_2px_16px_0px_rgb(239_68_68_/_35%)] hover:text-[#dc2626] hover:bg-[#fed7d7] hover:shadow-[-2px_-1px_8px_0px_#ffffff,2px_1px_8px_0px_rgb(239_68_68_/_35%)]"
|
|
2868
|
+
}, _r = ({
|
|
2859
2869
|
children: e = "Send Message",
|
|
2860
2870
|
successText: r = "Sent",
|
|
2861
2871
|
onSubmit: o,
|
|
2862
2872
|
disabled: t,
|
|
2863
|
-
|
|
2864
|
-
|
|
2865
|
-
|
|
2873
|
+
variant: n = "primary",
|
|
2874
|
+
size: l = "md",
|
|
2875
|
+
className: a,
|
|
2876
|
+
...p
|
|
2866
2877
|
}) => {
|
|
2867
|
-
const [
|
|
2868
|
-
return /* @__PURE__ */
|
|
2878
|
+
const [i, f] = Ne(!1), x = We(), _ = Ze(null);
|
|
2879
|
+
return /* @__PURE__ */ g(
|
|
2869
2880
|
"button",
|
|
2870
2881
|
{
|
|
2871
|
-
...
|
|
2872
|
-
ref:
|
|
2882
|
+
...p,
|
|
2883
|
+
ref: _,
|
|
2873
2884
|
type: "submit",
|
|
2874
2885
|
disabled: t,
|
|
2875
|
-
onClick: async (
|
|
2876
|
-
if (o && !
|
|
2886
|
+
onClick: async (z) => {
|
|
2887
|
+
if (o && !i)
|
|
2877
2888
|
try {
|
|
2878
|
-
await o(),
|
|
2879
|
-
|
|
2889
|
+
await o(), f(!0), _.current?.focus(), setTimeout(() => {
|
|
2890
|
+
f(!1), _.current?.blur();
|
|
2880
2891
|
}, 3e3);
|
|
2881
|
-
} catch (
|
|
2882
|
-
console.error("Submit failed:",
|
|
2892
|
+
} catch (v) {
|
|
2893
|
+
console.error("Submit failed:", v);
|
|
2883
2894
|
}
|
|
2884
|
-
|
|
2895
|
+
p.onClick?.(z);
|
|
2885
2896
|
},
|
|
2886
|
-
className: b(I.button, Dt[
|
|
2887
|
-
"aria-label":
|
|
2897
|
+
className: b(I.button, Wt[n], Dt[l], a),
|
|
2898
|
+
"aria-label": i ? "Submission successful" : p["aria-label"] || "Submit",
|
|
2888
2899
|
"aria-disabled": t,
|
|
2889
2900
|
children: [
|
|
2890
|
-
/* @__PURE__ */
|
|
2891
|
-
/* @__PURE__ */
|
|
2892
|
-
/* @__PURE__ */
|
|
2901
|
+
/* @__PURE__ */ s("div", { className: I.outline }),
|
|
2902
|
+
/* @__PURE__ */ g("div", { className: b(I.state, I["state--default"]), children: [
|
|
2903
|
+
/* @__PURE__ */ s("div", { className: I.icon, children: /* @__PURE__ */ g(
|
|
2893
2904
|
"svg",
|
|
2894
2905
|
{
|
|
2895
2906
|
width: "1em",
|
|
@@ -2898,23 +2909,23 @@ const Gt = "_button_7snfv_7", Vt = "_state_7snfv_75", Ot = "_icon_7snfv_149", $t
|
|
|
2898
2909
|
fill: "none",
|
|
2899
2910
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2900
2911
|
children: [
|
|
2901
|
-
/* @__PURE__ */
|
|
2902
|
-
/* @__PURE__ */
|
|
2912
|
+
/* @__PURE__ */ g("g", { style: { filter: `url(#${x})` }, children: [
|
|
2913
|
+
/* @__PURE__ */ s(
|
|
2903
2914
|
"path",
|
|
2904
2915
|
{
|
|
2905
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",
|
|
2906
|
-
fill: "
|
|
2917
|
+
fill: "#6b7280"
|
|
2907
2918
|
}
|
|
2908
2919
|
),
|
|
2909
|
-
/* @__PURE__ */
|
|
2920
|
+
/* @__PURE__ */ s(
|
|
2910
2921
|
"path",
|
|
2911
2922
|
{
|
|
2912
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",
|
|
2913
|
-
fill: "
|
|
2924
|
+
fill: "#6b7280"
|
|
2914
2925
|
}
|
|
2915
2926
|
)
|
|
2916
2927
|
] }),
|
|
2917
|
-
/* @__PURE__ */
|
|
2928
|
+
/* @__PURE__ */ s("defs", { children: /* @__PURE__ */ s("filter", { id: x, children: /* @__PURE__ */ s(
|
|
2918
2929
|
"feDropShadow",
|
|
2919
2930
|
{
|
|
2920
2931
|
dx: "0",
|
|
@@ -2926,10 +2937,10 @@ const Gt = "_button_7snfv_7", Vt = "_state_7snfv_75", Ot = "_icon_7snfv_149", $t
|
|
|
2926
2937
|
]
|
|
2927
2938
|
}
|
|
2928
2939
|
) }),
|
|
2929
|
-
/* @__PURE__ */
|
|
2940
|
+
/* @__PURE__ */ s("p", { children: ze(typeof e == "string" ? e : "Send Message") })
|
|
2930
2941
|
] }),
|
|
2931
|
-
/* @__PURE__ */
|
|
2932
|
-
/* @__PURE__ */
|
|
2942
|
+
/* @__PURE__ */ g("div", { className: b(I.state, I["state--sent"]), children: [
|
|
2943
|
+
/* @__PURE__ */ s("div", { className: I.icon, children: /* @__PURE__ */ s(
|
|
2933
2944
|
"svg",
|
|
2934
2945
|
{
|
|
2935
2946
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -2939,15 +2950,15 @@ const Gt = "_button_7snfv_7", Vt = "_state_7snfv_75", Ot = "_icon_7snfv_149", $t
|
|
|
2939
2950
|
width: "1em",
|
|
2940
2951
|
strokeWidth: "0.5px",
|
|
2941
2952
|
stroke: "black",
|
|
2942
|
-
children: /* @__PURE__ */
|
|
2943
|
-
/* @__PURE__ */
|
|
2953
|
+
children: /* @__PURE__ */ g("g", { style: { filter: `url(#${x})` }, children: [
|
|
2954
|
+
/* @__PURE__ */ s(
|
|
2944
2955
|
"path",
|
|
2945
2956
|
{
|
|
2946
2957
|
fill: "currentColor",
|
|
2947
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"
|
|
2948
2959
|
}
|
|
2949
2960
|
),
|
|
2950
|
-
/* @__PURE__ */
|
|
2961
|
+
/* @__PURE__ */ s(
|
|
2951
2962
|
"path",
|
|
2952
2963
|
{
|
|
2953
2964
|
fill: "currentColor",
|
|
@@ -2957,26 +2968,26 @@ const Gt = "_button_7snfv_7", Vt = "_state_7snfv_75", Ot = "_icon_7snfv_149", $t
|
|
|
2957
2968
|
] })
|
|
2958
2969
|
}
|
|
2959
2970
|
) }),
|
|
2960
|
-
/* @__PURE__ */
|
|
2971
|
+
/* @__PURE__ */ s("p", { children: ze(r) })
|
|
2961
2972
|
] })
|
|
2962
2973
|
]
|
|
2963
2974
|
}
|
|
2964
2975
|
);
|
|
2965
|
-
},
|
|
2976
|
+
}, Zt = {
|
|
2966
2977
|
sm: "px-4 py-2 text-sm",
|
|
2967
2978
|
md: "px-5 py-[10px] text-base",
|
|
2968
2979
|
lg: "px-6 py-3 text-lg"
|
|
2969
|
-
},
|
|
2980
|
+
}, $e = y.forwardRef(({
|
|
2970
2981
|
size: e = "md",
|
|
2971
2982
|
error: r = !1,
|
|
2972
2983
|
className: o,
|
|
2973
2984
|
disabled: t,
|
|
2974
|
-
...
|
|
2975
|
-
},
|
|
2976
|
-
/* @__PURE__ */
|
|
2985
|
+
...n
|
|
2986
|
+
}, l) => /* @__PURE__ */ g("div", { className: "relative inline-flex items-center", children: [
|
|
2987
|
+
/* @__PURE__ */ s(
|
|
2977
2988
|
"input",
|
|
2978
2989
|
{
|
|
2979
|
-
ref:
|
|
2990
|
+
ref: l,
|
|
2980
2991
|
className: b(
|
|
2981
2992
|
"bg-transparent",
|
|
2982
2993
|
"border-none",
|
|
@@ -2987,16 +2998,16 @@ const Gt = "_button_7snfv_7", Vt = "_state_7snfv_75", Ot = "_icon_7snfv_149", $t
|
|
|
2987
2998
|
"transition-colors duration-200",
|
|
2988
2999
|
"disabled:text-text-disabled disabled:cursor-not-allowed",
|
|
2989
3000
|
r ? "shadow-[inset_2px_5px_10px_var(--input-shadow-error)] cursor-help" : "shadow-[inset_2px_5px_10px_var(--input-shadow)]",
|
|
2990
|
-
|
|
3001
|
+
Zt[e],
|
|
2991
3002
|
o
|
|
2992
3003
|
),
|
|
2993
3004
|
style: r ? { paddingRight: "2rem" } : void 0,
|
|
2994
3005
|
disabled: t,
|
|
2995
3006
|
"aria-invalid": r,
|
|
2996
|
-
...
|
|
3007
|
+
...n
|
|
2997
3008
|
}
|
|
2998
3009
|
),
|
|
2999
|
-
r && /* @__PURE__ */
|
|
3010
|
+
r && /* @__PURE__ */ s(
|
|
3000
3011
|
"svg",
|
|
3001
3012
|
{
|
|
3002
3013
|
className: "absolute right-2 w-4 h-4 text-danger pointer-events-none flex-shrink-0",
|
|
@@ -3005,7 +3016,7 @@ const Gt = "_button_7snfv_7", Vt = "_state_7snfv_75", Ot = "_icon_7snfv_149", $t
|
|
|
3005
3016
|
stroke: "currentColor",
|
|
3006
3017
|
strokeWidth: "2",
|
|
3007
3018
|
"aria-hidden": "true",
|
|
3008
|
-
children: /* @__PURE__ */
|
|
3019
|
+
children: /* @__PURE__ */ s(
|
|
3009
3020
|
"path",
|
|
3010
3021
|
{
|
|
3011
3022
|
strokeLinecap: "round",
|
|
@@ -3016,35 +3027,35 @@ const Gt = "_button_7snfv_7", Vt = "_state_7snfv_75", Ot = "_icon_7snfv_149", $t
|
|
|
3016
3027
|
}
|
|
3017
3028
|
)
|
|
3018
3029
|
] }));
|
|
3019
|
-
|
|
3020
|
-
const
|
|
3030
|
+
$e.displayName = "Input";
|
|
3031
|
+
const qt = y.forwardRef(({
|
|
3021
3032
|
label: e,
|
|
3022
3033
|
error: r = !1,
|
|
3023
3034
|
className: o,
|
|
3024
3035
|
disabled: t,
|
|
3025
|
-
checked:
|
|
3026
|
-
onChange:
|
|
3027
|
-
...
|
|
3028
|
-
},
|
|
3029
|
-
const
|
|
3030
|
-
return /* @__PURE__ */
|
|
3031
|
-
/* @__PURE__ */
|
|
3032
|
-
/* @__PURE__ */
|
|
3036
|
+
checked: n,
|
|
3037
|
+
onChange: l,
|
|
3038
|
+
...a
|
|
3039
|
+
}, p) => {
|
|
3040
|
+
const i = y.useId();
|
|
3041
|
+
return /* @__PURE__ */ g("div", { className: b("flex items-center space-x-2", t && "cursor-not-allowed", r && !t && "cursor-help", o), children: [
|
|
3042
|
+
/* @__PURE__ */ g("label", { className: b("checkbox-container", t && "opacity-50 cursor-not-allowed", r && !t && "cursor-help", !t && !r && "cursor-pointer"), children: [
|
|
3043
|
+
/* @__PURE__ */ s(
|
|
3033
3044
|
"input",
|
|
3034
3045
|
{
|
|
3035
|
-
ref:
|
|
3036
|
-
id:
|
|
3046
|
+
ref: p,
|
|
3047
|
+
id: i,
|
|
3037
3048
|
type: "checkbox",
|
|
3038
3049
|
disabled: t,
|
|
3039
|
-
checked:
|
|
3040
|
-
onChange:
|
|
3041
|
-
"aria-checked":
|
|
3050
|
+
checked: n,
|
|
3051
|
+
onChange: l,
|
|
3052
|
+
"aria-checked": n,
|
|
3042
3053
|
"aria-invalid": r,
|
|
3043
3054
|
"aria-disabled": t,
|
|
3044
|
-
...
|
|
3055
|
+
...a
|
|
3045
3056
|
}
|
|
3046
3057
|
),
|
|
3047
|
-
/* @__PURE__ */
|
|
3058
|
+
/* @__PURE__ */ s("svg", { viewBox: "0 0 64 64", height: "1em", width: "1em", children: /* @__PURE__ */ s(
|
|
3048
3059
|
"path",
|
|
3049
3060
|
{
|
|
3050
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",
|
|
@@ -3053,10 +3064,10 @@ const Zt = k.forwardRef(({
|
|
|
3053
3064
|
}
|
|
3054
3065
|
) })
|
|
3055
3066
|
] }),
|
|
3056
|
-
e && /* @__PURE__ */
|
|
3067
|
+
e && /* @__PURE__ */ s(
|
|
3057
3068
|
"label",
|
|
3058
3069
|
{
|
|
3059
|
-
htmlFor:
|
|
3070
|
+
htmlFor: i,
|
|
3060
3071
|
className: b(
|
|
3061
3072
|
"text-sm font-medium select-none",
|
|
3062
3073
|
t ? "text-text-disabled cursor-not-allowed" : r ? "text-text-primary cursor-help" : "text-text-primary cursor-pointer"
|
|
@@ -3066,60 +3077,60 @@ const Zt = k.forwardRef(({
|
|
|
3066
3077
|
)
|
|
3067
3078
|
] });
|
|
3068
3079
|
});
|
|
3069
|
-
|
|
3070
|
-
const
|
|
3080
|
+
qt.displayName = "Checkbox";
|
|
3081
|
+
const wr = ({
|
|
3071
3082
|
label: e,
|
|
3072
3083
|
error: r = !1,
|
|
3073
3084
|
className: o,
|
|
3074
3085
|
disabled: t,
|
|
3075
|
-
checked:
|
|
3076
|
-
onChange:
|
|
3077
|
-
id:
|
|
3078
|
-
...
|
|
3086
|
+
checked: n,
|
|
3087
|
+
onChange: l,
|
|
3088
|
+
id: a,
|
|
3089
|
+
...p
|
|
3079
3090
|
}) => {
|
|
3080
|
-
const
|
|
3081
|
-
if ((
|
|
3082
|
-
|
|
3083
|
-
const
|
|
3084
|
-
if (
|
|
3085
|
-
|
|
3086
|
-
const
|
|
3087
|
-
|
|
3091
|
+
const i = a || y.useId(), f = (x) => {
|
|
3092
|
+
if ((x.key === "Enter" || x.key === " ") && !t) {
|
|
3093
|
+
x.preventDefault();
|
|
3094
|
+
const _ = document.getElementById(i);
|
|
3095
|
+
if (_) {
|
|
3096
|
+
_.checked = !_.checked;
|
|
3097
|
+
const w = new Event("change", { bubbles: !0 });
|
|
3098
|
+
_.dispatchEvent(w);
|
|
3088
3099
|
}
|
|
3089
3100
|
}
|
|
3090
3101
|
};
|
|
3091
|
-
return /* @__PURE__ */
|
|
3092
|
-
/* @__PURE__ */
|
|
3102
|
+
return /* @__PURE__ */ g("div", { className: b("toggle-wrapper", r && "toggle-wrapper--error", t && "cursor-not-allowed", r && !t && "cursor-help", o), children: [
|
|
3103
|
+
/* @__PURE__ */ s(
|
|
3093
3104
|
"input",
|
|
3094
3105
|
{
|
|
3095
|
-
id:
|
|
3106
|
+
id: i,
|
|
3096
3107
|
className: "toggle-checkbox",
|
|
3097
3108
|
type: "checkbox",
|
|
3098
|
-
checked:
|
|
3099
|
-
onChange:
|
|
3109
|
+
checked: n,
|
|
3110
|
+
onChange: l,
|
|
3100
3111
|
disabled: t,
|
|
3101
3112
|
role: "switch",
|
|
3102
|
-
"aria-checked":
|
|
3113
|
+
"aria-checked": n,
|
|
3103
3114
|
"aria-disabled": t,
|
|
3104
3115
|
"aria-invalid": r,
|
|
3105
|
-
...
|
|
3116
|
+
...p
|
|
3106
3117
|
}
|
|
3107
3118
|
),
|
|
3108
|
-
/* @__PURE__ */
|
|
3119
|
+
/* @__PURE__ */ s(
|
|
3109
3120
|
"div",
|
|
3110
3121
|
{
|
|
3111
3122
|
className: b("toggle-container", t && "cursor-not-allowed", r && !t && "cursor-help"),
|
|
3112
|
-
onKeyDown:
|
|
3123
|
+
onKeyDown: f,
|
|
3113
3124
|
tabIndex: t ? -1 : 0,
|
|
3114
3125
|
role: "button",
|
|
3115
3126
|
"aria-hidden": "true",
|
|
3116
|
-
children: /* @__PURE__ */
|
|
3127
|
+
children: /* @__PURE__ */ s("div", { className: "toggle-button", children: /* @__PURE__ */ s("div", { className: "toggle-button-circles-container", children: Array.from({ length: 12 }).map((x, _) => /* @__PURE__ */ s("div", { className: "toggle-button-circle" }, _)) }) })
|
|
3117
3128
|
}
|
|
3118
3129
|
),
|
|
3119
|
-
e && /* @__PURE__ */
|
|
3130
|
+
e && /* @__PURE__ */ s(
|
|
3120
3131
|
"label",
|
|
3121
3132
|
{
|
|
3122
|
-
htmlFor:
|
|
3133
|
+
htmlFor: i,
|
|
3123
3134
|
className: b(
|
|
3124
3135
|
"text-sm font-medium select-none ml-2",
|
|
3125
3136
|
t ? "text-text-disabled cursor-not-allowed" : r ? "text-text-primary cursor-help" : "text-text-primary cursor-pointer"
|
|
@@ -3128,7 +3139,7 @@ const lr = ({
|
|
|
3128
3139
|
}
|
|
3129
3140
|
)
|
|
3130
3141
|
] });
|
|
3131
|
-
},
|
|
3142
|
+
}, vr = ({ className: e, ...r }) => /* @__PURE__ */ s(
|
|
3132
3143
|
"div",
|
|
3133
3144
|
{
|
|
3134
3145
|
className: b(
|
|
@@ -3141,188 +3152,188 @@ const lr = ({
|
|
|
3141
3152
|
),
|
|
3142
3153
|
...r
|
|
3143
3154
|
}
|
|
3144
|
-
),
|
|
3155
|
+
), yr = ({ className: e, ...r }) => /* @__PURE__ */ s(
|
|
3145
3156
|
"div",
|
|
3146
3157
|
{
|
|
3147
3158
|
className: b("flex items-start justify-between gap-4 px-6 py-4 border-b border-border", e),
|
|
3148
3159
|
...r
|
|
3149
3160
|
}
|
|
3150
|
-
),
|
|
3161
|
+
), kr = ({ className: e, ...r }) => /* @__PURE__ */ s("div", { className: b("px-6 py-4", e), ...r }), Cr = ({ className: e, ...r }) => /* @__PURE__ */ s(
|
|
3151
3162
|
"div",
|
|
3152
3163
|
{
|
|
3153
3164
|
className: b("flex items-center justify-end gap-3 px-6 py-4 border-t border-border", e),
|
|
3154
3165
|
...r
|
|
3155
3166
|
}
|
|
3156
|
-
),
|
|
3167
|
+
), He = {
|
|
3157
3168
|
sm: 0.7,
|
|
3158
3169
|
md: 1,
|
|
3159
3170
|
lg: 1.3
|
|
3160
|
-
},
|
|
3161
|
-
const t = 8 *
|
|
3162
|
-
return /* @__PURE__ */
|
|
3163
|
-
/* @__PURE__ */
|
|
3164
|
-
/* @__PURE__ */
|
|
3171
|
+
}, zr = ({ size: e = "md", className: r, ...o }) => {
|
|
3172
|
+
const t = 8 * He[e];
|
|
3173
|
+
return /* @__PURE__ */ g("div", { className: b("loader", r), style: { fontSize: `${t}px` }, ...o, children: [
|
|
3174
|
+
/* @__PURE__ */ s("div", { className: "loader-face loader-face-1", children: /* @__PURE__ */ s("div", { className: "loader-circle" }) }),
|
|
3175
|
+
/* @__PURE__ */ s("div", { className: "loader-face loader-face-2", children: /* @__PURE__ */ s("div", { className: "loader-circle" }) })
|
|
3165
3176
|
] });
|
|
3166
|
-
},
|
|
3177
|
+
}, Nr = ({
|
|
3167
3178
|
size: e = "md",
|
|
3168
3179
|
variant: r = "inline",
|
|
3169
3180
|
label: o,
|
|
3170
3181
|
className: t,
|
|
3171
|
-
...
|
|
3182
|
+
...n
|
|
3172
3183
|
}) => {
|
|
3173
|
-
const
|
|
3174
|
-
return r === "container" ? /* @__PURE__ */
|
|
3184
|
+
const l = 8 * He[e];
|
|
3185
|
+
return r === "container" ? /* @__PURE__ */ s(
|
|
3175
3186
|
"div",
|
|
3176
3187
|
{
|
|
3177
3188
|
className: b(
|
|
3178
3189
|
"relative w-full min-h-[8rem] rounded-lg border border-border bg-surface-secondary flex items-center justify-center",
|
|
3179
3190
|
t
|
|
3180
3191
|
),
|
|
3181
|
-
...
|
|
3182
|
-
children: /* @__PURE__ */
|
|
3183
|
-
/* @__PURE__ */
|
|
3184
|
-
/* @__PURE__ */
|
|
3185
|
-
/* @__PURE__ */
|
|
3192
|
+
...n,
|
|
3193
|
+
children: /* @__PURE__ */ g("div", { className: "flex flex-col items-center gap-3", children: [
|
|
3194
|
+
/* @__PURE__ */ g("div", { className: "loader", style: { fontSize: `${l}px` }, children: [
|
|
3195
|
+
/* @__PURE__ */ s("div", { className: "loader-face loader-face-1", children: /* @__PURE__ */ s("div", { className: "loader-circle" }) }),
|
|
3196
|
+
/* @__PURE__ */ s("div", { className: "loader-face loader-face-2", children: /* @__PURE__ */ s("div", { className: "loader-circle" }) })
|
|
3186
3197
|
] }),
|
|
3187
|
-
o && /* @__PURE__ */
|
|
3198
|
+
o && /* @__PURE__ */ s("span", { className: "text-sm text-text-secondary", children: o })
|
|
3188
3199
|
] })
|
|
3189
3200
|
}
|
|
3190
|
-
) : /* @__PURE__ */
|
|
3191
|
-
/* @__PURE__ */
|
|
3192
|
-
/* @__PURE__ */
|
|
3193
|
-
/* @__PURE__ */
|
|
3201
|
+
) : /* @__PURE__ */ g("div", { className: b("inline-flex items-center gap-2", t), ...n, children: [
|
|
3202
|
+
/* @__PURE__ */ g("div", { className: "loader", style: { fontSize: `${l}px` }, children: [
|
|
3203
|
+
/* @__PURE__ */ s("div", { className: "loader-face loader-face-1", children: /* @__PURE__ */ s("div", { className: "loader-circle" }) }),
|
|
3204
|
+
/* @__PURE__ */ s("div", { className: "loader-face loader-face-2", children: /* @__PURE__ */ s("div", { className: "loader-circle" }) })
|
|
3194
3205
|
] }),
|
|
3195
|
-
o && /* @__PURE__ */
|
|
3206
|
+
o && /* @__PURE__ */ s("span", { className: "text-sm text-text-secondary", children: o })
|
|
3196
3207
|
] });
|
|
3197
|
-
},
|
|
3208
|
+
}, Oe = y.createContext(null), Sr = ({
|
|
3198
3209
|
name: e,
|
|
3199
3210
|
legend: r,
|
|
3200
3211
|
value: o,
|
|
3201
3212
|
defaultValue: t,
|
|
3202
|
-
disabled:
|
|
3203
|
-
onValueChange:
|
|
3204
|
-
className:
|
|
3205
|
-
children:
|
|
3206
|
-
...
|
|
3213
|
+
disabled: n = !1,
|
|
3214
|
+
onValueChange: l,
|
|
3215
|
+
className: a,
|
|
3216
|
+
children: p,
|
|
3217
|
+
...i
|
|
3207
3218
|
}) => {
|
|
3208
|
-
const
|
|
3219
|
+
const f = o !== void 0, [x, _] = y.useState(t), w = f ? o : x, z = y.useCallback(
|
|
3209
3220
|
(v) => {
|
|
3210
|
-
|
|
3221
|
+
f || _(v), l?.(v);
|
|
3211
3222
|
},
|
|
3212
|
-
[
|
|
3223
|
+
[f, l]
|
|
3213
3224
|
);
|
|
3214
|
-
return /* @__PURE__ */
|
|
3225
|
+
return /* @__PURE__ */ s(Oe.Provider, { value: { name: e, value: w, disabled: n, onValueChange: z }, children: /* @__PURE__ */ g(
|
|
3215
3226
|
"fieldset",
|
|
3216
3227
|
{
|
|
3217
|
-
className: b("radio-input",
|
|
3218
|
-
disabled:
|
|
3219
|
-
...
|
|
3228
|
+
className: b("radio-input", n && "opacity-60 cursor-not-allowed", a),
|
|
3229
|
+
disabled: n,
|
|
3230
|
+
...i,
|
|
3220
3231
|
children: [
|
|
3221
|
-
r && /* @__PURE__ */
|
|
3222
|
-
|
|
3232
|
+
r && /* @__PURE__ */ s("legend", { className: "text-sm font-medium text-text-primary", children: r }),
|
|
3233
|
+
p
|
|
3223
3234
|
]
|
|
3224
3235
|
}
|
|
3225
3236
|
) });
|
|
3226
|
-
},
|
|
3237
|
+
}, Mr = ({
|
|
3227
3238
|
label: e,
|
|
3228
3239
|
value: r,
|
|
3229
3240
|
disabled: o,
|
|
3230
3241
|
checked: t,
|
|
3231
|
-
defaultChecked:
|
|
3232
|
-
name:
|
|
3233
|
-
onChange:
|
|
3234
|
-
onCheckedChange:
|
|
3235
|
-
className:
|
|
3236
|
-
...
|
|
3242
|
+
defaultChecked: n,
|
|
3243
|
+
name: l,
|
|
3244
|
+
onChange: a,
|
|
3245
|
+
onCheckedChange: p,
|
|
3246
|
+
className: i,
|
|
3247
|
+
...f
|
|
3237
3248
|
}) => {
|
|
3238
|
-
const
|
|
3239
|
-
const
|
|
3240
|
-
v &&
|
|
3241
|
-
}, E = /* @__PURE__ */
|
|
3242
|
-
/* @__PURE__ */
|
|
3249
|
+
const x = y.useContext(Oe), _ = y.useId(), w = !!(o ?? x?.disabled), z = l ?? x?.name, v = !!x, M = t !== void 0, [N, T] = y.useState(!!n), F = v ? x?.value === r : M ? !!t : N, $ = (V) => {
|
|
3250
|
+
const A = V.target.checked;
|
|
3251
|
+
v && A ? x?.onValueChange?.(r) : M || T(A), p?.(A), a?.(V);
|
|
3252
|
+
}, E = /* @__PURE__ */ g("label", { htmlFor: _, className: b(w && "cursor-not-allowed", i), role: "radio", "aria-checked": F, "aria-disabled": w, children: [
|
|
3253
|
+
/* @__PURE__ */ s(
|
|
3243
3254
|
"input",
|
|
3244
3255
|
{
|
|
3245
|
-
id:
|
|
3256
|
+
id: _,
|
|
3246
3257
|
type: "radio",
|
|
3247
|
-
name:
|
|
3258
|
+
name: z,
|
|
3248
3259
|
value: r,
|
|
3249
|
-
checked:
|
|
3250
|
-
disabled:
|
|
3251
|
-
onChange:
|
|
3260
|
+
checked: F,
|
|
3261
|
+
disabled: w,
|
|
3262
|
+
onChange: $,
|
|
3252
3263
|
role: "radio",
|
|
3253
|
-
"aria-checked":
|
|
3254
|
-
"aria-disabled":
|
|
3255
|
-
...
|
|
3264
|
+
"aria-checked": F,
|
|
3265
|
+
"aria-disabled": w,
|
|
3266
|
+
...f
|
|
3256
3267
|
}
|
|
3257
3268
|
),
|
|
3258
|
-
/* @__PURE__ */
|
|
3269
|
+
/* @__PURE__ */ s("span", { children: e || "" })
|
|
3259
3270
|
] });
|
|
3260
|
-
return v ? E : /* @__PURE__ */
|
|
3271
|
+
return v ? E : /* @__PURE__ */ s("div", { className: "radio-input", children: E });
|
|
3261
3272
|
}, Ut = {
|
|
3262
3273
|
top: "bottom-full left-1/2 -translate-x-1/2 mb-1",
|
|
3263
3274
|
bottom: "top-full left-1/2 -translate-x-1/2 mt-1",
|
|
3264
3275
|
left: "right-full top-1/2 -translate-y-1/2 mr-1",
|
|
3265
3276
|
right: "left-full top-1/2 -translate-y-1/2 ml-1"
|
|
3266
|
-
},
|
|
3277
|
+
}, Yt = {
|
|
3267
3278
|
top: "top-full left-1/2 -translate-x-1/2 -mt-px",
|
|
3268
3279
|
bottom: "bottom-full left-1/2 -translate-x-1/2 -mb-px",
|
|
3269
3280
|
left: "left-full top-1/2 -translate-y-1/2 -ml-px",
|
|
3270
3281
|
right: "right-full top-1/2 -translate-y-1/2 -mr-px"
|
|
3271
|
-
},
|
|
3282
|
+
}, Kt = {
|
|
3272
3283
|
top: "border-t-border border-r-transparent border-b-transparent border-l-transparent border-t-[6px] border-r-[6px] border-l-[6px]",
|
|
3273
3284
|
bottom: "border-b-border border-r-transparent border-t-transparent border-l-transparent border-b-[6px] border-r-[6px] border-l-[6px]",
|
|
3274
3285
|
left: "border-l-border border-r-transparent border-t-transparent border-b-transparent border-l-[6px] border-t-[6px] border-b-[6px]",
|
|
3275
3286
|
right: "border-r-border border-l-transparent border-t-transparent border-b-transparent border-r-[6px] border-t-[6px] border-b-[6px]"
|
|
3276
|
-
},
|
|
3287
|
+
}, Xt = {
|
|
3277
3288
|
top: "top-full left-1/2 -translate-x-1/2 -mt-[5px]",
|
|
3278
3289
|
bottom: "bottom-full left-1/2 -translate-x-1/2 -mb-[5px]",
|
|
3279
3290
|
left: "left-full top-1/2 -translate-y-1/2 -ml-[5px]",
|
|
3280
3291
|
right: "right-full top-1/2 -translate-y-1/2 -mr-[5px]"
|
|
3281
|
-
},
|
|
3292
|
+
}, Lr = ({
|
|
3282
3293
|
open: e,
|
|
3283
3294
|
onOpenChange: r,
|
|
3284
3295
|
content: o,
|
|
3285
3296
|
position: t = "top",
|
|
3286
|
-
delay:
|
|
3287
|
-
disabled:
|
|
3288
|
-
children:
|
|
3289
|
-
className:
|
|
3297
|
+
delay: n = 0,
|
|
3298
|
+
disabled: l = !1,
|
|
3299
|
+
children: a,
|
|
3300
|
+
className: p
|
|
3290
3301
|
}) => {
|
|
3291
|
-
const
|
|
3292
|
-
|
|
3302
|
+
const i = y.useRef(null), f = () => {
|
|
3303
|
+
i.current !== null && (window.clearTimeout(i.current), i.current = null);
|
|
3293
3304
|
};
|
|
3294
|
-
|
|
3295
|
-
const
|
|
3296
|
-
if (!
|
|
3297
|
-
if (
|
|
3298
|
-
|
|
3305
|
+
y.useEffect(() => f, []);
|
|
3306
|
+
const x = () => {
|
|
3307
|
+
if (!l) {
|
|
3308
|
+
if (f(), n > 0) {
|
|
3309
|
+
i.current = window.setTimeout(() => r?.(!0), n);
|
|
3299
3310
|
return;
|
|
3300
3311
|
}
|
|
3301
3312
|
r?.(!0);
|
|
3302
3313
|
}
|
|
3303
|
-
},
|
|
3304
|
-
|
|
3305
|
-
},
|
|
3306
|
-
return /* @__PURE__ */
|
|
3307
|
-
|
|
3308
|
-
"aria-describedby": e && !
|
|
3314
|
+
}, _ = () => {
|
|
3315
|
+
f(), r?.(!1);
|
|
3316
|
+
}, w = y.Children.only(a), z = y.useId();
|
|
3317
|
+
return /* @__PURE__ */ g("span", { className: b("relative inline-block", p), children: [
|
|
3318
|
+
y.cloneElement(w, {
|
|
3319
|
+
"aria-describedby": e && !l ? z : void 0,
|
|
3309
3320
|
onMouseEnter: (v) => {
|
|
3310
|
-
|
|
3321
|
+
w.props.onMouseEnter?.(v), x();
|
|
3311
3322
|
},
|
|
3312
3323
|
onMouseLeave: (v) => {
|
|
3313
|
-
|
|
3324
|
+
w.props.onMouseLeave?.(v), _();
|
|
3314
3325
|
},
|
|
3315
3326
|
onFocus: (v) => {
|
|
3316
|
-
|
|
3327
|
+
w.props.onFocus?.(v), x();
|
|
3317
3328
|
},
|
|
3318
3329
|
onBlur: (v) => {
|
|
3319
|
-
|
|
3330
|
+
w.props.onBlur?.(v), _();
|
|
3320
3331
|
}
|
|
3321
3332
|
}),
|
|
3322
|
-
e && !
|
|
3333
|
+
e && !l && /* @__PURE__ */ g(
|
|
3323
3334
|
"span",
|
|
3324
3335
|
{
|
|
3325
|
-
id:
|
|
3336
|
+
id: z,
|
|
3326
3337
|
role: "tooltip",
|
|
3327
3338
|
className: b(
|
|
3328
3339
|
"absolute z-50 pointer-events-none",
|
|
@@ -3333,22 +3344,22 @@ const lr = ({
|
|
|
3333
3344
|
),
|
|
3334
3345
|
children: [
|
|
3335
3346
|
o,
|
|
3336
|
-
/* @__PURE__ */
|
|
3347
|
+
/* @__PURE__ */ s(
|
|
3337
3348
|
"span",
|
|
3338
3349
|
{
|
|
3339
3350
|
className: b(
|
|
3340
3351
|
"absolute w-0 h-0",
|
|
3341
|
-
|
|
3342
|
-
|
|
3352
|
+
Yt[t],
|
|
3353
|
+
Kt[t]
|
|
3343
3354
|
)
|
|
3344
3355
|
}
|
|
3345
3356
|
),
|
|
3346
|
-
/* @__PURE__ */
|
|
3357
|
+
/* @__PURE__ */ s(
|
|
3347
3358
|
"span",
|
|
3348
3359
|
{
|
|
3349
3360
|
className: b(
|
|
3350
3361
|
"absolute w-0 h-0 bg-surface",
|
|
3351
|
-
|
|
3362
|
+
Xt[t],
|
|
3352
3363
|
t === "top" && "border-t-[5px] border-r-[5px] border-l-[5px] border-t-surface border-r-transparent border-l-transparent",
|
|
3353
3364
|
t === "bottom" && "border-b-[5px] border-r-[5px] border-l-[5px] border-b-surface border-r-transparent border-l-transparent",
|
|
3354
3365
|
t === "left" && "border-l-[5px] border-t-[5px] border-b-[5px] border-l-surface border-t-transparent border-b-transparent",
|
|
@@ -3360,72 +3371,72 @@ const lr = ({
|
|
|
3360
3371
|
}
|
|
3361
3372
|
)
|
|
3362
3373
|
] });
|
|
3363
|
-
}, De =
|
|
3374
|
+
}, De = qe(void 0), Ar = ({
|
|
3364
3375
|
children: e,
|
|
3365
3376
|
defaultTheme: r
|
|
3366
3377
|
}) => {
|
|
3367
3378
|
const o = () => {
|
|
3368
3379
|
if (typeof window < "u") {
|
|
3369
|
-
const
|
|
3370
|
-
if (
|
|
3371
|
-
return
|
|
3380
|
+
const a = localStorage.getItem("theme");
|
|
3381
|
+
if (a === "light" || a === "dark")
|
|
3382
|
+
return a;
|
|
3372
3383
|
}
|
|
3373
3384
|
return typeof window < "u" && window.matchMedia ? window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : r || "dark";
|
|
3374
|
-
}, [t,
|
|
3375
|
-
|
|
3385
|
+
}, [t, n] = Ne(o), l = y.useCallback((a) => {
|
|
3386
|
+
n(a), typeof window < "u" && localStorage.setItem("theme", a);
|
|
3376
3387
|
}, []);
|
|
3377
|
-
return
|
|
3388
|
+
return y.useEffect(() => {
|
|
3378
3389
|
if (typeof document > "u") return;
|
|
3379
|
-
const
|
|
3380
|
-
t === "light" ? (
|
|
3381
|
-
}, [t]),
|
|
3390
|
+
const a = document.documentElement;
|
|
3391
|
+
t === "light" ? (a.classList.add("theme-light"), a.classList.remove("theme-dark")) : (a.classList.add("theme-dark"), a.classList.remove("theme-light"));
|
|
3392
|
+
}, [t]), y.useEffect(() => {
|
|
3382
3393
|
if (typeof window > "u" || !window.matchMedia) return;
|
|
3383
|
-
const
|
|
3384
|
-
typeof window < "u" && !localStorage.getItem("theme") &&
|
|
3394
|
+
const a = window.matchMedia("(prefers-color-scheme: dark)"), p = (i) => {
|
|
3395
|
+
typeof window < "u" && !localStorage.getItem("theme") && n(i.matches ? "dark" : "light");
|
|
3385
3396
|
};
|
|
3386
|
-
if (
|
|
3387
|
-
return
|
|
3388
|
-
if (
|
|
3389
|
-
return
|
|
3390
|
-
}, []), /* @__PURE__ */
|
|
3391
|
-
},
|
|
3392
|
-
const e =
|
|
3397
|
+
if (a.addEventListener)
|
|
3398
|
+
return a.addEventListener("change", p), () => a.removeEventListener("change", p);
|
|
3399
|
+
if (a.addListener)
|
|
3400
|
+
return a.addListener(p), () => a.removeListener(p);
|
|
3401
|
+
}, []), /* @__PURE__ */ s(De.Provider, { value: { theme: t, setTheme: l }, children: e });
|
|
3402
|
+
}, Jt = () => {
|
|
3403
|
+
const e = Ue(De);
|
|
3393
3404
|
if (e === void 0)
|
|
3394
3405
|
throw new Error("useTheme must be used within a ThemeProvider");
|
|
3395
3406
|
return e;
|
|
3396
|
-
},
|
|
3407
|
+
}, Ir = ({
|
|
3397
3408
|
className: e,
|
|
3398
3409
|
showLabel: r = !0
|
|
3399
3410
|
}) => {
|
|
3400
|
-
const { theme: o, setTheme: t } =
|
|
3401
|
-
t(
|
|
3402
|
-
},
|
|
3403
|
-
(
|
|
3411
|
+
const { theme: o, setTheme: t } = Jt(), n = o === "dark", l = () => {
|
|
3412
|
+
t(n ? "light" : "dark");
|
|
3413
|
+
}, a = (p) => {
|
|
3414
|
+
(p.key === "Enter" || p.key === " ") && (p.preventDefault(), l());
|
|
3404
3415
|
};
|
|
3405
|
-
return /* @__PURE__ */
|
|
3406
|
-
/* @__PURE__ */
|
|
3416
|
+
return /* @__PURE__ */ g("div", { className: b("flex items-center gap-3", e), children: [
|
|
3417
|
+
/* @__PURE__ */ g(
|
|
3407
3418
|
"label",
|
|
3408
3419
|
{
|
|
3409
3420
|
className: "theme-switch cursor-pointer",
|
|
3410
|
-
onKeyDown:
|
|
3421
|
+
onKeyDown: a,
|
|
3411
3422
|
tabIndex: 0,
|
|
3412
3423
|
role: "switch",
|
|
3413
|
-
"aria-checked":
|
|
3414
|
-
"aria-label":
|
|
3424
|
+
"aria-checked": n,
|
|
3425
|
+
"aria-label": n ? "Switch to light mode" : "Switch to dark mode",
|
|
3415
3426
|
children: [
|
|
3416
|
-
/* @__PURE__ */
|
|
3427
|
+
/* @__PURE__ */ s(
|
|
3417
3428
|
"input",
|
|
3418
3429
|
{
|
|
3419
3430
|
type: "checkbox",
|
|
3420
3431
|
className: "theme-switch__checkbox",
|
|
3421
|
-
checked:
|
|
3422
|
-
onChange:
|
|
3432
|
+
checked: n,
|
|
3433
|
+
onChange: l,
|
|
3423
3434
|
"aria-hidden": "true"
|
|
3424
3435
|
}
|
|
3425
3436
|
),
|
|
3426
|
-
/* @__PURE__ */
|
|
3427
|
-
/* @__PURE__ */
|
|
3428
|
-
/* @__PURE__ */
|
|
3437
|
+
/* @__PURE__ */ g("div", { className: "theme-switch__container", children: [
|
|
3438
|
+
/* @__PURE__ */ s("div", { className: "theme-switch__clouds" }),
|
|
3439
|
+
/* @__PURE__ */ s("div", { className: "theme-switch__stars-container", children: /* @__PURE__ */ s("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 144 55", fill: "none", children: /* @__PURE__ */ s(
|
|
3429
3440
|
"path",
|
|
3430
3441
|
{
|
|
3431
3442
|
fillRule: "evenodd",
|
|
@@ -3434,24 +3445,24 @@ const lr = ({
|
|
|
3434
3445
|
fill: "currentColor"
|
|
3435
3446
|
}
|
|
3436
3447
|
) }) }),
|
|
3437
|
-
/* @__PURE__ */
|
|
3438
|
-
/* @__PURE__ */
|
|
3439
|
-
/* @__PURE__ */
|
|
3440
|
-
/* @__PURE__ */
|
|
3448
|
+
/* @__PURE__ */ s("div", { className: "theme-switch__circle-container", children: /* @__PURE__ */ s("div", { className: "theme-switch__sun-moon-container", children: /* @__PURE__ */ g("div", { className: "theme-switch__moon", children: [
|
|
3449
|
+
/* @__PURE__ */ s("div", { className: "theme-switch__spot" }),
|
|
3450
|
+
/* @__PURE__ */ s("div", { className: "theme-switch__spot" }),
|
|
3451
|
+
/* @__PURE__ */ s("div", { className: "theme-switch__spot" })
|
|
3441
3452
|
] }) }) })
|
|
3442
3453
|
] })
|
|
3443
3454
|
]
|
|
3444
3455
|
}
|
|
3445
3456
|
),
|
|
3446
|
-
r && /* @__PURE__ */
|
|
3457
|
+
r && /* @__PURE__ */ s("span", { className: "text-sm font-medium text-text-primary", children: n ? "Dark" : "Light" })
|
|
3447
3458
|
] });
|
|
3448
|
-
},
|
|
3459
|
+
}, Qt = ({
|
|
3449
3460
|
width: e = 315,
|
|
3450
3461
|
aspectRatio: r = 1.33,
|
|
3451
3462
|
className: o,
|
|
3452
3463
|
children: t,
|
|
3453
|
-
...
|
|
3454
|
-
}) => /* @__PURE__ */
|
|
3464
|
+
...n
|
|
3465
|
+
}) => /* @__PURE__ */ g(
|
|
3455
3466
|
"div",
|
|
3456
3467
|
{
|
|
3457
3468
|
className: b(
|
|
@@ -3465,9 +3476,9 @@ const lr = ({
|
|
|
3465
3476
|
width: `${e + 1}px`,
|
|
3466
3477
|
height: `${e * r + 1}px`
|
|
3467
3478
|
},
|
|
3468
|
-
...
|
|
3479
|
+
...n,
|
|
3469
3480
|
children: [
|
|
3470
|
-
/* @__PURE__ */
|
|
3481
|
+
/* @__PURE__ */ s(
|
|
3471
3482
|
"div",
|
|
3472
3483
|
{
|
|
3473
3484
|
className: "absolute inset-[-50px] z-[-2] form-border-animation",
|
|
@@ -3479,13 +3490,13 @@ const lr = ({
|
|
|
3479
3490
|
t
|
|
3480
3491
|
]
|
|
3481
3492
|
}
|
|
3482
|
-
),
|
|
3493
|
+
), er = ({
|
|
3483
3494
|
width: e = 315,
|
|
3484
3495
|
aspectRatio: r = 1.33,
|
|
3485
3496
|
className: o,
|
|
3486
3497
|
children: t,
|
|
3487
|
-
...
|
|
3488
|
-
}) => /* @__PURE__ */
|
|
3498
|
+
...n
|
|
3499
|
+
}) => /* @__PURE__ */ s(
|
|
3489
3500
|
"div",
|
|
3490
3501
|
{
|
|
3491
3502
|
className: b(
|
|
@@ -3498,10 +3509,10 @@ const lr = ({
|
|
|
3498
3509
|
width: `${e}px`,
|
|
3499
3510
|
height: `${e * r}px`
|
|
3500
3511
|
},
|
|
3501
|
-
...
|
|
3512
|
+
...n,
|
|
3502
3513
|
children: t
|
|
3503
3514
|
}
|
|
3504
|
-
),
|
|
3515
|
+
), tr = ({ className: e, ...r }) => /* @__PURE__ */ g(
|
|
3505
3516
|
"div",
|
|
3506
3517
|
{
|
|
3507
3518
|
className: b(
|
|
@@ -3513,43 +3524,43 @@ const lr = ({
|
|
|
3513
3524
|
),
|
|
3514
3525
|
...r,
|
|
3515
3526
|
children: [
|
|
3516
|
-
/* @__PURE__ */
|
|
3517
|
-
/* @__PURE__ */
|
|
3527
|
+
/* @__PURE__ */ s("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" }),
|
|
3528
|
+
/* @__PURE__ */ s("div", { className: "absolute top-[10px] w-[30%] h-[30%] rounded-full border-[2.5px] border-white" })
|
|
3518
3529
|
]
|
|
3519
3530
|
}
|
|
3520
|
-
),
|
|
3531
|
+
), Rr = ({
|
|
3521
3532
|
title: e,
|
|
3522
3533
|
showLogo: r = !1,
|
|
3523
3534
|
footer: o,
|
|
3524
3535
|
width: t = 315,
|
|
3525
|
-
aspectRatio:
|
|
3526
|
-
className:
|
|
3527
|
-
children:
|
|
3528
|
-
...
|
|
3529
|
-
}) => /* @__PURE__ */
|
|
3530
|
-
/* @__PURE__ */
|
|
3536
|
+
aspectRatio: n = 1.33,
|
|
3537
|
+
className: l,
|
|
3538
|
+
children: a,
|
|
3539
|
+
...p
|
|
3540
|
+
}) => /* @__PURE__ */ s(Qt, { width: t, aspectRatio: n, children: /* @__PURE__ */ g(er, { width: t, aspectRatio: n, children: [
|
|
3541
|
+
/* @__PURE__ */ g(
|
|
3531
3542
|
"form",
|
|
3532
3543
|
{
|
|
3533
|
-
className: b("flex justify-center items-center flex-col gap-[10px]",
|
|
3534
|
-
...
|
|
3544
|
+
className: b("flex justify-center items-center flex-col gap-[10px]", l),
|
|
3545
|
+
...p,
|
|
3535
3546
|
children: [
|
|
3536
|
-
r && /* @__PURE__ */
|
|
3537
|
-
e && /* @__PURE__ */
|
|
3538
|
-
|
|
3547
|
+
r && /* @__PURE__ */ s("div", { className: "flex justify-center items-center mb-2", children: /* @__PURE__ */ s(tr, {}) }),
|
|
3548
|
+
e && /* @__PURE__ */ s("div", { className: "w-full text-center text-2xl font-bold py-1.5 text-text-primary flex justify-center items-center", children: e }),
|
|
3549
|
+
a
|
|
3539
3550
|
]
|
|
3540
3551
|
}
|
|
3541
3552
|
),
|
|
3542
|
-
o && /* @__PURE__ */
|
|
3543
|
-
] }) }),
|
|
3553
|
+
o && /* @__PURE__ */ s("div", { className: "w-full text-left text-text-secondary text-xs mt-4", children: o })
|
|
3554
|
+
] }) }), Tr = ({
|
|
3544
3555
|
label: e,
|
|
3545
3556
|
error: r,
|
|
3546
3557
|
className: o,
|
|
3547
3558
|
size: t,
|
|
3548
|
-
...
|
|
3549
|
-
}) => /* @__PURE__ */
|
|
3550
|
-
e && /* @__PURE__ */
|
|
3551
|
-
/* @__PURE__ */
|
|
3552
|
-
|
|
3559
|
+
...n
|
|
3560
|
+
}) => /* @__PURE__ */ g("div", { className: "w-full", children: [
|
|
3561
|
+
e && /* @__PURE__ */ s("label", { className: "block text-text-primary text-sm mb-1.5", children: e }),
|
|
3562
|
+
/* @__PURE__ */ s("div", { className: "flex justify-center", children: /* @__PURE__ */ s(
|
|
3563
|
+
$e,
|
|
3553
3564
|
{
|
|
3554
3565
|
className: b(
|
|
3555
3566
|
"p-3 border-none rounded-xl bg-surface text-text-primary text-sm outline-none",
|
|
@@ -3558,15 +3569,15 @@ const lr = ({
|
|
|
3558
3569
|
),
|
|
3559
3570
|
error: r,
|
|
3560
3571
|
size: t,
|
|
3561
|
-
...
|
|
3572
|
+
...n
|
|
3562
3573
|
}
|
|
3563
3574
|
) })
|
|
3564
|
-
] }),
|
|
3575
|
+
] }), Er = ({
|
|
3565
3576
|
variant: e = "primary",
|
|
3566
3577
|
className: r,
|
|
3567
3578
|
children: o,
|
|
3568
3579
|
...t
|
|
3569
|
-
}) => e === "google" ? /* @__PURE__ */
|
|
3580
|
+
}) => e === "google" ? /* @__PURE__ */ s(
|
|
3570
3581
|
"button",
|
|
3571
3582
|
{
|
|
3572
3583
|
className: b(
|
|
@@ -3581,22 +3592,22 @@ const lr = ({
|
|
|
3581
3592
|
...t,
|
|
3582
3593
|
children: o
|
|
3583
3594
|
}
|
|
3584
|
-
) : /* @__PURE__ */
|
|
3595
|
+
) : /* @__PURE__ */ s(
|
|
3585
3596
|
Ge,
|
|
3586
3597
|
{
|
|
3598
|
+
variant: "primary",
|
|
3587
3599
|
className: b(
|
|
3588
3600
|
"w-full h-10 rounded-[20px] text-sm font-semibold mt-1.5",
|
|
3589
3601
|
r
|
|
3590
3602
|
),
|
|
3591
|
-
variant: "primary",
|
|
3592
3603
|
...t,
|
|
3593
3604
|
children: o
|
|
3594
3605
|
}
|
|
3595
|
-
),
|
|
3606
|
+
), Vr = ({
|
|
3596
3607
|
className: e,
|
|
3597
3608
|
children: r,
|
|
3598
3609
|
...o
|
|
3599
|
-
}) => /* @__PURE__ */
|
|
3610
|
+
}) => /* @__PURE__ */ s(
|
|
3600
3611
|
"div",
|
|
3601
3612
|
{
|
|
3602
3613
|
className: b(
|
|
@@ -3606,11 +3617,11 @@ const lr = ({
|
|
|
3606
3617
|
...o,
|
|
3607
3618
|
children: r
|
|
3608
3619
|
}
|
|
3609
|
-
),
|
|
3620
|
+
), jr = ({
|
|
3610
3621
|
className: e,
|
|
3611
3622
|
children: r,
|
|
3612
3623
|
...o
|
|
3613
|
-
}) => /* @__PURE__ */
|
|
3624
|
+
}) => /* @__PURE__ */ s(
|
|
3614
3625
|
"a",
|
|
3615
3626
|
{
|
|
3616
3627
|
className: b(
|
|
@@ -3623,18 +3634,18 @@ const lr = ({
|
|
|
3623
3634
|
...o,
|
|
3624
3635
|
children: r
|
|
3625
3636
|
}
|
|
3626
|
-
),
|
|
3627
|
-
container:
|
|
3628
|
-
"container--size-sm": "_container--size-
|
|
3629
|
-
"container--size-md": "_container--size-
|
|
3630
|
-
"container--size-lg": "_container--size-
|
|
3631
|
-
"search-container": "_search-
|
|
3632
|
-
input:
|
|
3633
|
-
"input--size-sm": "_input--size-
|
|
3634
|
-
"input--size-md": "_input--size-
|
|
3635
|
-
"input--size-lg": "_input--size-
|
|
3636
|
-
search__icon:
|
|
3637
|
-
},
|
|
3637
|
+
), rr = "_container_1b55k_1", or = "_input_1b55k_119", sr = "_search__icon_1b55k_177", R = {
|
|
3638
|
+
container: rr,
|
|
3639
|
+
"container--size-sm": "_container--size-sm_1b55k_25",
|
|
3640
|
+
"container--size-md": "_container--size-md_1b55k_33",
|
|
3641
|
+
"container--size-lg": "_container--size-lg_1b55k_41",
|
|
3642
|
+
"search-container": "_search-container_1b55k_49",
|
|
3643
|
+
input: or,
|
|
3644
|
+
"input--size-sm": "_input--size-sm_1b55k_147",
|
|
3645
|
+
"input--size-md": "_input--size-md_1b55k_157",
|
|
3646
|
+
"input--size-lg": "_input--size-lg_1b55k_167",
|
|
3647
|
+
search__icon: sr
|
|
3648
|
+
}, nr = {
|
|
3638
3649
|
sm: {
|
|
3639
3650
|
container: R["container--size-sm"],
|
|
3640
3651
|
input: R["input--size-sm"]
|
|
@@ -3647,50 +3658,200 @@ const lr = ({
|
|
|
3647
3658
|
container: R["container--size-lg"],
|
|
3648
3659
|
input: R["input--size-lg"]
|
|
3649
3660
|
}
|
|
3650
|
-
},
|
|
3661
|
+
}, ar = y.forwardRef(({
|
|
3651
3662
|
size: e = "md",
|
|
3652
3663
|
className: r,
|
|
3653
3664
|
inputClassName: o,
|
|
3654
3665
|
searchContainerClassName: t,
|
|
3655
|
-
...
|
|
3656
|
-
},
|
|
3657
|
-
const
|
|
3658
|
-
return /* @__PURE__ */
|
|
3659
|
-
/* @__PURE__ */
|
|
3666
|
+
...n
|
|
3667
|
+
}, l) => {
|
|
3668
|
+
const a = nr[e];
|
|
3669
|
+
return /* @__PURE__ */ s("div", { className: b(R.container, a.container, r), children: /* @__PURE__ */ g("div", { className: b(R["search-container"], t), children: [
|
|
3670
|
+
/* @__PURE__ */ s(
|
|
3660
3671
|
"input",
|
|
3661
3672
|
{
|
|
3662
|
-
ref:
|
|
3663
|
-
className: b(R.input,
|
|
3673
|
+
ref: l,
|
|
3674
|
+
className: b(R.input, a.input, o),
|
|
3664
3675
|
type: "search",
|
|
3665
|
-
...
|
|
3676
|
+
...n
|
|
3666
3677
|
}
|
|
3667
3678
|
),
|
|
3668
|
-
/* @__PURE__ */
|
|
3679
|
+
/* @__PURE__ */ s("svg", { viewBox: "0 0 24 24", className: R.search__icon, "aria-hidden": "true", focusable: "false", children: /* @__PURE__ */ s("g", { children: /* @__PURE__ */ s("path", { d: "M21.53 20.47l-3.66-3.66C19.195 15.24 20 13.214 20 11c0-4.97-4.03-9-9-9s-9 4.03-9 9 4.03 9 9 9c2.215 0 4.24-.804 5.808-2.13l3.66 3.66c.147.146.34.22.53.22s.385-.073.53-.22c.295-.293.295-.767.002-1.06zM3.5 11c0-4.135 3.365-7.5 7.5-7.5s7.5 3.365 7.5 7.5-3.365 7.5-7.5 7.5-7.5-3.365-7.5-7.5z" }) }) })
|
|
3669
3680
|
] }) });
|
|
3670
3681
|
});
|
|
3671
|
-
|
|
3682
|
+
ar.displayName = "SearchBar";
|
|
3683
|
+
const lr = "_list_hdx8a_1", ir = "_listHorizontal_hdx8a_11", cr = "_iconContent_hdx8a_15", dr = "_tooltip_hdx8a_25", pr = "_tooltipHorizontal_hdx8a_46", mr = "_link_hdx8a_60", ur = "_filled_hdx8a_87", D = {
|
|
3684
|
+
list: lr,
|
|
3685
|
+
listHorizontal: ir,
|
|
3686
|
+
iconContent: cr,
|
|
3687
|
+
tooltip: dr,
|
|
3688
|
+
tooltipHorizontal: pr,
|
|
3689
|
+
link: mr,
|
|
3690
|
+
filled: ur
|
|
3691
|
+
}, fr = (e) => {
|
|
3692
|
+
switch (e) {
|
|
3693
|
+
case "linkedin":
|
|
3694
|
+
return /* @__PURE__ */ s(
|
|
3695
|
+
"path",
|
|
3696
|
+
{
|
|
3697
|
+
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",
|
|
3698
|
+
fill: "currentColor"
|
|
3699
|
+
}
|
|
3700
|
+
);
|
|
3701
|
+
case "github":
|
|
3702
|
+
return /* @__PURE__ */ s(
|
|
3703
|
+
"path",
|
|
3704
|
+
{
|
|
3705
|
+
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",
|
|
3706
|
+
fill: "currentColor"
|
|
3707
|
+
}
|
|
3708
|
+
);
|
|
3709
|
+
case "instagram":
|
|
3710
|
+
return /* @__PURE__ */ s(
|
|
3711
|
+
"path",
|
|
3712
|
+
{
|
|
3713
|
+
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",
|
|
3714
|
+
fill: "currentColor"
|
|
3715
|
+
}
|
|
3716
|
+
);
|
|
3717
|
+
case "youtube":
|
|
3718
|
+
return /* @__PURE__ */ s(
|
|
3719
|
+
"path",
|
|
3720
|
+
{
|
|
3721
|
+
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",
|
|
3722
|
+
fill: "currentColor"
|
|
3723
|
+
}
|
|
3724
|
+
);
|
|
3725
|
+
case "facebook":
|
|
3726
|
+
return /* @__PURE__ */ s(
|
|
3727
|
+
"path",
|
|
3728
|
+
{
|
|
3729
|
+
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",
|
|
3730
|
+
fill: "currentColor"
|
|
3731
|
+
}
|
|
3732
|
+
);
|
|
3733
|
+
case "spotify":
|
|
3734
|
+
return /* @__PURE__ */ s(
|
|
3735
|
+
"path",
|
|
3736
|
+
{
|
|
3737
|
+
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",
|
|
3738
|
+
fill: "currentColor"
|
|
3739
|
+
}
|
|
3740
|
+
);
|
|
3741
|
+
case "telegram":
|
|
3742
|
+
return /* @__PURE__ */ s(
|
|
3743
|
+
"path",
|
|
3744
|
+
{
|
|
3745
|
+
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",
|
|
3746
|
+
fill: "currentColor"
|
|
3747
|
+
}
|
|
3748
|
+
);
|
|
3749
|
+
case "pinterest":
|
|
3750
|
+
return /* @__PURE__ */ s(
|
|
3751
|
+
"path",
|
|
3752
|
+
{
|
|
3753
|
+
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",
|
|
3754
|
+
fill: "currentColor"
|
|
3755
|
+
}
|
|
3756
|
+
);
|
|
3757
|
+
case "x":
|
|
3758
|
+
return /* @__PURE__ */ s(
|
|
3759
|
+
"path",
|
|
3760
|
+
{
|
|
3761
|
+
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",
|
|
3762
|
+
fill: "currentColor"
|
|
3763
|
+
}
|
|
3764
|
+
);
|
|
3765
|
+
default:
|
|
3766
|
+
return null;
|
|
3767
|
+
}
|
|
3768
|
+
}, br = (e) => ({
|
|
3769
|
+
linkedin: "LinkedIn",
|
|
3770
|
+
github: "GitHub",
|
|
3771
|
+
instagram: "Instagram",
|
|
3772
|
+
youtube: "YouTube",
|
|
3773
|
+
facebook: "Facebook",
|
|
3774
|
+
spotify: "Spotify",
|
|
3775
|
+
telegram: "Telegram",
|
|
3776
|
+
pinterest: "Pinterest",
|
|
3777
|
+
x: "X"
|
|
3778
|
+
})[e], hr = y.forwardRef(({
|
|
3779
|
+
links: e,
|
|
3780
|
+
className: r,
|
|
3781
|
+
orientation: o = "vertical",
|
|
3782
|
+
...t
|
|
3783
|
+
}, n) => /* @__PURE__ */ s(
|
|
3784
|
+
"ul",
|
|
3785
|
+
{
|
|
3786
|
+
ref: n,
|
|
3787
|
+
className: b(
|
|
3788
|
+
D.list,
|
|
3789
|
+
o === "horizontal" && D.listHorizontal,
|
|
3790
|
+
r
|
|
3791
|
+
),
|
|
3792
|
+
...t,
|
|
3793
|
+
children: e.map((l, a) => {
|
|
3794
|
+
const p = l.label || br(l.platform), i = fr(l.platform);
|
|
3795
|
+
return /* @__PURE__ */ g("li", { className: D.iconContent, children: [
|
|
3796
|
+
/* @__PURE__ */ g(
|
|
3797
|
+
"a",
|
|
3798
|
+
{
|
|
3799
|
+
href: l.url,
|
|
3800
|
+
"aria-label": p,
|
|
3801
|
+
"data-social": l.platform,
|
|
3802
|
+
className: D.link,
|
|
3803
|
+
target: "_blank",
|
|
3804
|
+
rel: "noopener noreferrer",
|
|
3805
|
+
children: [
|
|
3806
|
+
/* @__PURE__ */ s("div", { className: D.filled }),
|
|
3807
|
+
/* @__PURE__ */ s(
|
|
3808
|
+
"svg",
|
|
3809
|
+
{
|
|
3810
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
3811
|
+
width: "16",
|
|
3812
|
+
height: "16",
|
|
3813
|
+
fill: "currentColor",
|
|
3814
|
+
viewBox: "0 0 16 16",
|
|
3815
|
+
xmlSpace: "preserve",
|
|
3816
|
+
"aria-hidden": "true",
|
|
3817
|
+
children: i
|
|
3818
|
+
}
|
|
3819
|
+
)
|
|
3820
|
+
]
|
|
3821
|
+
}
|
|
3822
|
+
),
|
|
3823
|
+
/* @__PURE__ */ s("div", { className: b(
|
|
3824
|
+
D.tooltip,
|
|
3825
|
+
o === "horizontal" && D.tooltipHorizontal
|
|
3826
|
+
), children: p })
|
|
3827
|
+
] }, `${l.platform}-${a}`);
|
|
3828
|
+
})
|
|
3829
|
+
}
|
|
3830
|
+
));
|
|
3831
|
+
hr.displayName = "SocialLinks";
|
|
3672
3832
|
export {
|
|
3673
3833
|
Ge as Button,
|
|
3674
|
-
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
|
|
3682
|
-
|
|
3683
|
-
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
|
|
3691
|
-
|
|
3692
|
-
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
|
|
3834
|
+
vr as Card,
|
|
3835
|
+
kr as CardContent,
|
|
3836
|
+
Cr as CardFooter,
|
|
3837
|
+
yr as CardHeader,
|
|
3838
|
+
qt as Checkbox,
|
|
3839
|
+
Rr as Form,
|
|
3840
|
+
Er as FormButton,
|
|
3841
|
+
Tr as FormField,
|
|
3842
|
+
Vr as FormFooter,
|
|
3843
|
+
jr as FormFooterLink,
|
|
3844
|
+
$e as Input,
|
|
3845
|
+
Nr as Loader,
|
|
3846
|
+
Mr as RadioButton,
|
|
3847
|
+
Sr as RadioGroup,
|
|
3848
|
+
ar as SearchBar,
|
|
3849
|
+
hr as SocialLinks,
|
|
3850
|
+
zr as Spinner,
|
|
3851
|
+
_r as SubmitButton,
|
|
3852
|
+
Ar as ThemeProvider,
|
|
3853
|
+
Ir as ThemeSwitch,
|
|
3854
|
+
wr as Toggle,
|
|
3855
|
+
Lr as Tooltip,
|
|
3856
|
+
Jt as useTheme
|
|
3696
3857
|
};
|