@clasing/ui 0.1.22 → 0.1.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +33 -0
- package/dist/index.d.ts +10 -4
- package/dist/index.es.js +1073 -994
- package/dist/index.umd.js +10 -13
- package/dist/style.css +1 -1
- package/package.json +26 -25
- package/tailwind.config.js +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import gt, { forwardRef as
|
|
2
|
-
import * as
|
|
3
|
-
var
|
|
1
|
+
import gt, { forwardRef as B, useEffect as ae, useState as se, useRef as $e, cloneElement as tr } from "react";
|
|
2
|
+
import * as st from "@tabler/icons-react";
|
|
3
|
+
var Ve = { exports: {} }, me = {};
|
|
4
4
|
/**
|
|
5
5
|
* @license React
|
|
6
6
|
* react-jsx-runtime.production.min.js
|
|
@@ -10,25 +10,21 @@ var $e = { exports: {} }, ue = {};
|
|
|
10
10
|
* This source code is licensed under the MIT license found in the
|
|
11
11
|
* LICENSE file in the root directory of this source tree.
|
|
12
12
|
*/
|
|
13
|
-
var
|
|
13
|
+
var lt;
|
|
14
14
|
function rr() {
|
|
15
|
-
if (
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
for (f in
|
|
23
|
-
|
|
24
|
-
if (d && d.defaultProps)
|
|
25
|
-
for (f in b = d.defaultProps, b)
|
|
26
|
-
g[f] === void 0 && (g[f] = b[f]);
|
|
27
|
-
return { $$typeof: r, type: d, key: x, ref: P, props: g, _owner: i.current };
|
|
15
|
+
if (lt) return me;
|
|
16
|
+
lt = 1;
|
|
17
|
+
var t = gt, n = Symbol.for("react.element"), r = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, i = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, a = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
18
|
+
function s(u, c, g) {
|
|
19
|
+
var f, m = {}, v = null, I = null;
|
|
20
|
+
g !== void 0 && (v = "" + g), c.key !== void 0 && (v = "" + c.key), c.ref !== void 0 && (I = c.ref);
|
|
21
|
+
for (f in c) o.call(c, f) && !a.hasOwnProperty(f) && (m[f] = c[f]);
|
|
22
|
+
if (u && u.defaultProps) for (f in c = u.defaultProps, c) m[f] === void 0 && (m[f] = c[f]);
|
|
23
|
+
return { $$typeof: n, type: u, key: v, ref: I, props: m, _owner: i.current };
|
|
28
24
|
}
|
|
29
|
-
return
|
|
25
|
+
return me.Fragment = r, me.jsx = s, me.jsxs = s, me;
|
|
30
26
|
}
|
|
31
|
-
var
|
|
27
|
+
var pe = {};
|
|
32
28
|
/**
|
|
33
29
|
* @license React
|
|
34
30
|
* react-jsx-runtime.development.js
|
|
@@ -41,88 +37,88 @@ var be = {};
|
|
|
41
37
|
var it;
|
|
42
38
|
function nr() {
|
|
43
39
|
return it || (it = 1, process.env.NODE_ENV !== "production" && function() {
|
|
44
|
-
var t = gt,
|
|
45
|
-
function
|
|
40
|
+
var t = gt, n = Symbol.for("react.element"), r = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), u = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), v = Symbol.for("react.lazy"), I = Symbol.for("react.offscreen"), z = Symbol.iterator, S = "@@iterator";
|
|
41
|
+
function R(e) {
|
|
46
42
|
if (e === null || typeof e != "object")
|
|
47
43
|
return null;
|
|
48
|
-
var
|
|
49
|
-
return typeof
|
|
44
|
+
var l = z && e[z] || e[S];
|
|
45
|
+
return typeof l == "function" ? l : null;
|
|
50
46
|
}
|
|
51
|
-
var
|
|
52
|
-
function
|
|
47
|
+
var P = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
48
|
+
function y(e) {
|
|
53
49
|
{
|
|
54
|
-
for (var
|
|
55
|
-
|
|
56
|
-
|
|
50
|
+
for (var l = arguments.length, d = new Array(l > 1 ? l - 1 : 0), p = 1; p < l; p++)
|
|
51
|
+
d[p - 1] = arguments[p];
|
|
52
|
+
K("error", e, d);
|
|
57
53
|
}
|
|
58
54
|
}
|
|
59
|
-
function
|
|
55
|
+
function K(e, l, d) {
|
|
60
56
|
{
|
|
61
|
-
var
|
|
62
|
-
|
|
63
|
-
var
|
|
64
|
-
return String(
|
|
57
|
+
var p = P.ReactDebugCurrentFrame, k = p.getStackAddendum();
|
|
58
|
+
k !== "" && (l += "%s", d = d.concat([k]));
|
|
59
|
+
var C = d.map(function(w) {
|
|
60
|
+
return String(w);
|
|
65
61
|
});
|
|
66
|
-
|
|
62
|
+
C.unshift("Warning: " + l), Function.prototype.apply.call(console[e], console, C);
|
|
67
63
|
}
|
|
68
64
|
}
|
|
69
|
-
var
|
|
70
|
-
|
|
71
|
-
function
|
|
72
|
-
return !!(typeof e == "string" || typeof e == "function" || e === o || e === a ||
|
|
65
|
+
var ie = !1, xe = !1, ye = !1, we = !1, ke = !1, te;
|
|
66
|
+
te = Symbol.for("react.module.reference");
|
|
67
|
+
function ce(e) {
|
|
68
|
+
return !!(typeof e == "string" || typeof e == "function" || e === o || e === a || ke || e === i || e === g || e === f || we || e === I || ie || xe || ye || typeof e == "object" && e !== null && (e.$$typeof === v || e.$$typeof === m || e.$$typeof === s || e.$$typeof === u || e.$$typeof === c || // This needs to include all possible module reference object
|
|
73
69
|
// types supported by any Flight configuration anywhere since
|
|
74
70
|
// we don't know which Flight build this will end up being used
|
|
75
71
|
// with.
|
|
76
|
-
e.$$typeof ===
|
|
72
|
+
e.$$typeof === te || e.getModuleId !== void 0));
|
|
77
73
|
}
|
|
78
|
-
function
|
|
79
|
-
var
|
|
80
|
-
if (
|
|
81
|
-
return
|
|
82
|
-
var
|
|
83
|
-
return
|
|
74
|
+
function de(e, l, d) {
|
|
75
|
+
var p = e.displayName;
|
|
76
|
+
if (p)
|
|
77
|
+
return p;
|
|
78
|
+
var k = l.displayName || l.name || "";
|
|
79
|
+
return k !== "" ? d + "(" + k + ")" : d;
|
|
84
80
|
}
|
|
85
|
-
function
|
|
81
|
+
function j(e) {
|
|
86
82
|
return e.displayName || "Context";
|
|
87
83
|
}
|
|
88
|
-
function
|
|
84
|
+
function M(e) {
|
|
89
85
|
if (e == null)
|
|
90
86
|
return null;
|
|
91
|
-
if (typeof e.tag == "number" &&
|
|
87
|
+
if (typeof e.tag == "number" && y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
92
88
|
return e.displayName || e.name || null;
|
|
93
89
|
if (typeof e == "string")
|
|
94
90
|
return e;
|
|
95
91
|
switch (e) {
|
|
96
92
|
case o:
|
|
97
93
|
return "Fragment";
|
|
98
|
-
case
|
|
94
|
+
case r:
|
|
99
95
|
return "Portal";
|
|
100
96
|
case a:
|
|
101
97
|
return "Profiler";
|
|
102
98
|
case i:
|
|
103
99
|
return "StrictMode";
|
|
104
|
-
case
|
|
100
|
+
case g:
|
|
105
101
|
return "Suspense";
|
|
106
102
|
case f:
|
|
107
103
|
return "SuspenseList";
|
|
108
104
|
}
|
|
109
105
|
if (typeof e == "object")
|
|
110
106
|
switch (e.$$typeof) {
|
|
111
|
-
case
|
|
112
|
-
var
|
|
113
|
-
return
|
|
114
|
-
case
|
|
115
|
-
var
|
|
116
|
-
return
|
|
117
|
-
case
|
|
118
|
-
return
|
|
119
|
-
case
|
|
120
|
-
var
|
|
121
|
-
return
|
|
122
|
-
case
|
|
123
|
-
var
|
|
107
|
+
case u:
|
|
108
|
+
var l = e;
|
|
109
|
+
return j(l) + ".Consumer";
|
|
110
|
+
case s:
|
|
111
|
+
var d = e;
|
|
112
|
+
return j(d._context) + ".Provider";
|
|
113
|
+
case c:
|
|
114
|
+
return de(e, e.render, "ForwardRef");
|
|
115
|
+
case m:
|
|
116
|
+
var p = e.displayName || null;
|
|
117
|
+
return p !== null ? p : M(e.type) || "Memo";
|
|
118
|
+
case v: {
|
|
119
|
+
var k = e, C = k._payload, w = k._init;
|
|
124
120
|
try {
|
|
125
|
-
return
|
|
121
|
+
return M(w(C));
|
|
126
122
|
} catch {
|
|
127
123
|
return null;
|
|
128
124
|
}
|
|
@@ -130,14 +126,14 @@ function nr() {
|
|
|
130
126
|
}
|
|
131
127
|
return null;
|
|
132
128
|
}
|
|
133
|
-
var
|
|
129
|
+
var V = Object.assign, G = 0, X, ue, re, U, be, Y, H;
|
|
134
130
|
function Ye() {
|
|
135
131
|
}
|
|
136
132
|
Ye.__reactDisabledLog = !0;
|
|
137
133
|
function _t() {
|
|
138
134
|
{
|
|
139
135
|
if (G === 0) {
|
|
140
|
-
|
|
136
|
+
X = console.log, ue = console.info, re = console.warn, U = console.error, be = console.group, Y = console.groupCollapsed, H = console.groupEnd;
|
|
141
137
|
var e = {
|
|
142
138
|
configurable: !0,
|
|
143
139
|
enumerable: !0,
|
|
@@ -166,324 +162,324 @@ function nr() {
|
|
|
166
162
|
writable: !0
|
|
167
163
|
};
|
|
168
164
|
Object.defineProperties(console, {
|
|
169
|
-
log:
|
|
170
|
-
value:
|
|
165
|
+
log: V({}, e, {
|
|
166
|
+
value: X
|
|
171
167
|
}),
|
|
172
|
-
info:
|
|
173
|
-
value:
|
|
168
|
+
info: V({}, e, {
|
|
169
|
+
value: ue
|
|
174
170
|
}),
|
|
175
|
-
warn:
|
|
176
|
-
value:
|
|
171
|
+
warn: V({}, e, {
|
|
172
|
+
value: re
|
|
177
173
|
}),
|
|
178
|
-
error:
|
|
179
|
-
value:
|
|
174
|
+
error: V({}, e, {
|
|
175
|
+
value: U
|
|
180
176
|
}),
|
|
181
|
-
group:
|
|
182
|
-
value:
|
|
177
|
+
group: V({}, e, {
|
|
178
|
+
value: be
|
|
183
179
|
}),
|
|
184
|
-
groupCollapsed:
|
|
185
|
-
value:
|
|
180
|
+
groupCollapsed: V({}, e, {
|
|
181
|
+
value: Y
|
|
186
182
|
}),
|
|
187
|
-
groupEnd:
|
|
188
|
-
value:
|
|
183
|
+
groupEnd: V({}, e, {
|
|
184
|
+
value: H
|
|
189
185
|
})
|
|
190
186
|
});
|
|
191
187
|
}
|
|
192
|
-
G < 0 &&
|
|
188
|
+
G < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
193
189
|
}
|
|
194
190
|
}
|
|
195
|
-
var
|
|
196
|
-
function
|
|
191
|
+
var _e = P.ReactCurrentDispatcher, Te;
|
|
192
|
+
function je(e, l, d) {
|
|
197
193
|
{
|
|
198
|
-
if (
|
|
194
|
+
if (Te === void 0)
|
|
199
195
|
try {
|
|
200
196
|
throw Error();
|
|
201
|
-
} catch (
|
|
202
|
-
var
|
|
203
|
-
|
|
197
|
+
} catch (k) {
|
|
198
|
+
var p = k.stack.trim().match(/\n( *(at )?)/);
|
|
199
|
+
Te = p && p[1] || "";
|
|
204
200
|
}
|
|
205
201
|
return `
|
|
206
|
-
` +
|
|
202
|
+
` + Te + e;
|
|
207
203
|
}
|
|
208
204
|
}
|
|
209
|
-
var
|
|
205
|
+
var Pe = !1, Ce;
|
|
210
206
|
{
|
|
211
207
|
var Pt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
212
|
-
|
|
208
|
+
Ce = new Pt();
|
|
213
209
|
}
|
|
214
|
-
function
|
|
215
|
-
if (!e ||
|
|
210
|
+
function Le(e, l) {
|
|
211
|
+
if (!e || Pe)
|
|
216
212
|
return "";
|
|
217
213
|
{
|
|
218
|
-
var
|
|
219
|
-
if (
|
|
220
|
-
return
|
|
214
|
+
var d = Ce.get(e);
|
|
215
|
+
if (d !== void 0)
|
|
216
|
+
return d;
|
|
221
217
|
}
|
|
222
|
-
var
|
|
223
|
-
|
|
224
|
-
var
|
|
218
|
+
var p;
|
|
219
|
+
Pe = !0;
|
|
220
|
+
var k = Error.prepareStackTrace;
|
|
225
221
|
Error.prepareStackTrace = void 0;
|
|
226
|
-
var
|
|
227
|
-
|
|
222
|
+
var C;
|
|
223
|
+
C = _e.current, _e.current = null, _t();
|
|
228
224
|
try {
|
|
229
|
-
if (
|
|
230
|
-
var
|
|
225
|
+
if (l) {
|
|
226
|
+
var w = function() {
|
|
231
227
|
throw Error();
|
|
232
228
|
};
|
|
233
|
-
if (Object.defineProperty(
|
|
229
|
+
if (Object.defineProperty(w.prototype, "props", {
|
|
234
230
|
set: function() {
|
|
235
231
|
throw Error();
|
|
236
232
|
}
|
|
237
233
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
238
234
|
try {
|
|
239
|
-
Reflect.construct(
|
|
240
|
-
} catch (
|
|
241
|
-
|
|
235
|
+
Reflect.construct(w, []);
|
|
236
|
+
} catch (N) {
|
|
237
|
+
p = N;
|
|
242
238
|
}
|
|
243
|
-
Reflect.construct(e, [],
|
|
239
|
+
Reflect.construct(e, [], w);
|
|
244
240
|
} else {
|
|
245
241
|
try {
|
|
246
|
-
|
|
247
|
-
} catch (
|
|
248
|
-
|
|
242
|
+
w.call();
|
|
243
|
+
} catch (N) {
|
|
244
|
+
p = N;
|
|
249
245
|
}
|
|
250
|
-
e.call(
|
|
246
|
+
e.call(w.prototype);
|
|
251
247
|
}
|
|
252
248
|
} else {
|
|
253
249
|
try {
|
|
254
250
|
throw Error();
|
|
255
|
-
} catch (
|
|
256
|
-
|
|
251
|
+
} catch (N) {
|
|
252
|
+
p = N;
|
|
257
253
|
}
|
|
258
254
|
e();
|
|
259
255
|
}
|
|
260
|
-
} catch (
|
|
261
|
-
if (
|
|
262
|
-
for (var
|
|
263
|
-
`),
|
|
264
|
-
`),
|
|
256
|
+
} catch (N) {
|
|
257
|
+
if (N && p && typeof N.stack == "string") {
|
|
258
|
+
for (var x = N.stack.split(`
|
|
259
|
+
`), A = p.stack.split(`
|
|
260
|
+
`), _ = x.length - 1, T = A.length - 1; _ >= 1 && T >= 0 && x[_] !== A[T]; )
|
|
265
261
|
T--;
|
|
266
|
-
for (;
|
|
267
|
-
if (
|
|
268
|
-
if (
|
|
262
|
+
for (; _ >= 1 && T >= 0; _--, T--)
|
|
263
|
+
if (x[_] !== A[T]) {
|
|
264
|
+
if (_ !== 1 || T !== 1)
|
|
269
265
|
do
|
|
270
|
-
if (
|
|
271
|
-
var
|
|
272
|
-
` +
|
|
273
|
-
return e.displayName &&
|
|
266
|
+
if (_--, T--, T < 0 || x[_] !== A[T]) {
|
|
267
|
+
var F = `
|
|
268
|
+
` + x[_].replace(" at new ", " at ");
|
|
269
|
+
return e.displayName && F.includes("<anonymous>") && (F = F.replace("<anonymous>", e.displayName)), typeof e == "function" && Ce.set(e, F), F;
|
|
274
270
|
}
|
|
275
|
-
while (
|
|
271
|
+
while (_ >= 1 && T >= 0);
|
|
276
272
|
break;
|
|
277
273
|
}
|
|
278
274
|
}
|
|
279
275
|
} finally {
|
|
280
|
-
|
|
276
|
+
Pe = !1, _e.current = C, Tt(), Error.prepareStackTrace = k;
|
|
281
277
|
}
|
|
282
|
-
var
|
|
283
|
-
return typeof e == "function" &&
|
|
278
|
+
var oe = e ? e.displayName || e.name : "", Z = oe ? je(oe) : "";
|
|
279
|
+
return typeof e == "function" && Ce.set(e, Z), Z;
|
|
284
280
|
}
|
|
285
|
-
function
|
|
286
|
-
return
|
|
281
|
+
function It(e, l, d) {
|
|
282
|
+
return Le(e, !1);
|
|
287
283
|
}
|
|
288
|
-
function
|
|
289
|
-
var
|
|
290
|
-
return !!(
|
|
284
|
+
function Ot(e) {
|
|
285
|
+
var l = e.prototype;
|
|
286
|
+
return !!(l && l.isReactComponent);
|
|
291
287
|
}
|
|
292
|
-
function
|
|
288
|
+
function Se(e, l, d) {
|
|
293
289
|
if (e == null)
|
|
294
290
|
return "";
|
|
295
291
|
if (typeof e == "function")
|
|
296
|
-
return
|
|
292
|
+
return Le(e, Ot(e));
|
|
297
293
|
if (typeof e == "string")
|
|
298
|
-
return
|
|
294
|
+
return je(e);
|
|
299
295
|
switch (e) {
|
|
300
|
-
case
|
|
301
|
-
return
|
|
296
|
+
case g:
|
|
297
|
+
return je("Suspense");
|
|
302
298
|
case f:
|
|
303
|
-
return
|
|
299
|
+
return je("SuspenseList");
|
|
304
300
|
}
|
|
305
301
|
if (typeof e == "object")
|
|
306
302
|
switch (e.$$typeof) {
|
|
307
|
-
case
|
|
308
|
-
return
|
|
309
|
-
case
|
|
310
|
-
return
|
|
311
|
-
case
|
|
312
|
-
var
|
|
303
|
+
case c:
|
|
304
|
+
return It(e.render);
|
|
305
|
+
case m:
|
|
306
|
+
return Se(e.type, l, d);
|
|
307
|
+
case v: {
|
|
308
|
+
var p = e, k = p._payload, C = p._init;
|
|
313
309
|
try {
|
|
314
|
-
return
|
|
310
|
+
return Se(C(k), l, d);
|
|
315
311
|
} catch {
|
|
316
312
|
}
|
|
317
313
|
}
|
|
318
314
|
}
|
|
319
315
|
return "";
|
|
320
316
|
}
|
|
321
|
-
var
|
|
322
|
-
function
|
|
317
|
+
var fe = Object.prototype.hasOwnProperty, qe = {}, Je = P.ReactDebugCurrentFrame;
|
|
318
|
+
function Ee(e) {
|
|
323
319
|
if (e) {
|
|
324
|
-
var
|
|
325
|
-
|
|
320
|
+
var l = e._owner, d = Se(e.type, e._source, l ? l.type : null);
|
|
321
|
+
Je.setExtraStackFrame(d);
|
|
326
322
|
} else
|
|
327
|
-
|
|
323
|
+
Je.setExtraStackFrame(null);
|
|
328
324
|
}
|
|
329
|
-
function
|
|
325
|
+
function At(e, l, d, p, k) {
|
|
330
326
|
{
|
|
331
|
-
var
|
|
332
|
-
for (var
|
|
333
|
-
if (
|
|
334
|
-
var
|
|
327
|
+
var C = Function.call.bind(fe);
|
|
328
|
+
for (var w in e)
|
|
329
|
+
if (C(e, w)) {
|
|
330
|
+
var x = void 0;
|
|
335
331
|
try {
|
|
336
|
-
if (typeof e[
|
|
337
|
-
var
|
|
338
|
-
throw
|
|
332
|
+
if (typeof e[w] != "function") {
|
|
333
|
+
var A = Error((p || "React class") + ": " + d + " type `" + w + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[w] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
334
|
+
throw A.name = "Invariant Violation", A;
|
|
339
335
|
}
|
|
340
|
-
|
|
341
|
-
} catch (
|
|
342
|
-
|
|
336
|
+
x = e[w](l, w, p, d, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
337
|
+
} catch (_) {
|
|
338
|
+
x = _;
|
|
343
339
|
}
|
|
344
|
-
|
|
340
|
+
x && !(x instanceof Error) && (Ee(k), y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", p || "React class", d, w, typeof x), Ee(null)), x instanceof Error && !(x.message in qe) && (qe[x.message] = !0, Ee(k), y("Failed %s type: %s", d, x.message), Ee(null));
|
|
345
341
|
}
|
|
346
342
|
}
|
|
347
343
|
}
|
|
348
344
|
var Nt = Array.isArray;
|
|
349
|
-
function
|
|
345
|
+
function Ie(e) {
|
|
350
346
|
return Nt(e);
|
|
351
347
|
}
|
|
352
348
|
function zt(e) {
|
|
353
349
|
{
|
|
354
|
-
var
|
|
355
|
-
return
|
|
350
|
+
var l = typeof Symbol == "function" && Symbol.toStringTag, d = l && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
351
|
+
return d;
|
|
356
352
|
}
|
|
357
353
|
}
|
|
358
|
-
function
|
|
354
|
+
function Mt(e) {
|
|
359
355
|
try {
|
|
360
|
-
return
|
|
356
|
+
return Ke(e), !1;
|
|
361
357
|
} catch {
|
|
362
358
|
return !0;
|
|
363
359
|
}
|
|
364
360
|
}
|
|
365
|
-
function
|
|
361
|
+
function Ke(e) {
|
|
366
362
|
return "" + e;
|
|
367
363
|
}
|
|
368
|
-
function
|
|
369
|
-
if (
|
|
370
|
-
return
|
|
364
|
+
function Xe(e) {
|
|
365
|
+
if (Mt(e))
|
|
366
|
+
return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", zt(e)), Ke(e);
|
|
371
367
|
}
|
|
372
|
-
var
|
|
368
|
+
var ge = P.ReactCurrentOwner, $t = {
|
|
373
369
|
key: !0,
|
|
374
370
|
ref: !0,
|
|
375
371
|
__self: !0,
|
|
376
372
|
__source: !0
|
|
377
|
-
},
|
|
378
|
-
|
|
379
|
-
function
|
|
380
|
-
if (
|
|
381
|
-
var
|
|
382
|
-
if (
|
|
373
|
+
}, He, Ze, Oe;
|
|
374
|
+
Oe = {};
|
|
375
|
+
function Vt(e) {
|
|
376
|
+
if (fe.call(e, "ref")) {
|
|
377
|
+
var l = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
378
|
+
if (l && l.isReactWarning)
|
|
383
379
|
return !1;
|
|
384
380
|
}
|
|
385
381
|
return e.ref !== void 0;
|
|
386
382
|
}
|
|
387
|
-
function
|
|
388
|
-
if (
|
|
389
|
-
var
|
|
390
|
-
if (
|
|
383
|
+
function Ft(e) {
|
|
384
|
+
if (fe.call(e, "key")) {
|
|
385
|
+
var l = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
386
|
+
if (l && l.isReactWarning)
|
|
391
387
|
return !1;
|
|
392
388
|
}
|
|
393
389
|
return e.key !== void 0;
|
|
394
390
|
}
|
|
395
|
-
function Wt(e,
|
|
396
|
-
if (typeof e.ref == "string" &&
|
|
397
|
-
var
|
|
398
|
-
|
|
391
|
+
function Wt(e, l) {
|
|
392
|
+
if (typeof e.ref == "string" && ge.current && l && ge.current.stateNode !== l) {
|
|
393
|
+
var d = M(ge.current.type);
|
|
394
|
+
Oe[d] || (y('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', M(ge.current.type), e.ref), Oe[d] = !0);
|
|
399
395
|
}
|
|
400
396
|
}
|
|
401
|
-
function
|
|
397
|
+
function Dt(e, l) {
|
|
402
398
|
{
|
|
403
|
-
var
|
|
404
|
-
|
|
399
|
+
var d = function() {
|
|
400
|
+
He || (He = !0, y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", l));
|
|
405
401
|
};
|
|
406
|
-
|
|
407
|
-
get:
|
|
402
|
+
d.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
403
|
+
get: d,
|
|
408
404
|
configurable: !0
|
|
409
405
|
});
|
|
410
406
|
}
|
|
411
407
|
}
|
|
412
|
-
function
|
|
408
|
+
function Bt(e, l) {
|
|
413
409
|
{
|
|
414
|
-
var
|
|
415
|
-
|
|
410
|
+
var d = function() {
|
|
411
|
+
Ze || (Ze = !0, y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", l));
|
|
416
412
|
};
|
|
417
|
-
|
|
418
|
-
get:
|
|
413
|
+
d.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
414
|
+
get: d,
|
|
419
415
|
configurable: !0
|
|
420
416
|
});
|
|
421
417
|
}
|
|
422
418
|
}
|
|
423
|
-
var Gt = function(e,
|
|
424
|
-
var
|
|
419
|
+
var Gt = function(e, l, d, p, k, C, w) {
|
|
420
|
+
var x = {
|
|
425
421
|
// This tag allows us to uniquely identify this as a React Element
|
|
426
|
-
$$typeof:
|
|
422
|
+
$$typeof: n,
|
|
427
423
|
// Built-in properties that belong on the element
|
|
428
424
|
type: e,
|
|
429
|
-
key:
|
|
430
|
-
ref:
|
|
431
|
-
props:
|
|
425
|
+
key: l,
|
|
426
|
+
ref: d,
|
|
427
|
+
props: w,
|
|
432
428
|
// Record the component responsible for creating this element.
|
|
433
|
-
_owner:
|
|
429
|
+
_owner: C
|
|
434
430
|
};
|
|
435
|
-
return
|
|
431
|
+
return x._store = {}, Object.defineProperty(x._store, "validated", {
|
|
436
432
|
configurable: !1,
|
|
437
433
|
enumerable: !1,
|
|
438
434
|
writable: !0,
|
|
439
435
|
value: !1
|
|
440
|
-
}), Object.defineProperty(
|
|
436
|
+
}), Object.defineProperty(x, "_self", {
|
|
441
437
|
configurable: !1,
|
|
442
438
|
enumerable: !1,
|
|
443
439
|
writable: !1,
|
|
444
|
-
value:
|
|
445
|
-
}), Object.defineProperty(
|
|
440
|
+
value: p
|
|
441
|
+
}), Object.defineProperty(x, "_source", {
|
|
446
442
|
configurable: !1,
|
|
447
443
|
enumerable: !1,
|
|
448
444
|
writable: !1,
|
|
449
|
-
value:
|
|
450
|
-
}), Object.freeze && (Object.freeze(
|
|
445
|
+
value: k
|
|
446
|
+
}), Object.freeze && (Object.freeze(x.props), Object.freeze(x)), x;
|
|
451
447
|
};
|
|
452
|
-
function
|
|
448
|
+
function Ut(e, l, d, p, k) {
|
|
453
449
|
{
|
|
454
|
-
var
|
|
455
|
-
|
|
456
|
-
for (
|
|
457
|
-
|
|
450
|
+
var C, w = {}, x = null, A = null;
|
|
451
|
+
d !== void 0 && (Xe(d), x = "" + d), Ft(l) && (Xe(l.key), x = "" + l.key), Vt(l) && (A = l.ref, Wt(l, k));
|
|
452
|
+
for (C in l)
|
|
453
|
+
fe.call(l, C) && !$t.hasOwnProperty(C) && (w[C] = l[C]);
|
|
458
454
|
if (e && e.defaultProps) {
|
|
459
|
-
var
|
|
460
|
-
for (
|
|
461
|
-
|
|
455
|
+
var _ = e.defaultProps;
|
|
456
|
+
for (C in _)
|
|
457
|
+
w[C] === void 0 && (w[C] = _[C]);
|
|
462
458
|
}
|
|
463
|
-
if (
|
|
459
|
+
if (x || A) {
|
|
464
460
|
var T = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
465
|
-
|
|
461
|
+
x && Dt(w, T), A && Bt(w, T);
|
|
466
462
|
}
|
|
467
|
-
return Gt(e,
|
|
463
|
+
return Gt(e, x, A, k, p, ge.current, w);
|
|
468
464
|
}
|
|
469
465
|
}
|
|
470
|
-
var
|
|
471
|
-
function
|
|
466
|
+
var Ae = P.ReactCurrentOwner, Qe = P.ReactDebugCurrentFrame;
|
|
467
|
+
function ne(e) {
|
|
472
468
|
if (e) {
|
|
473
|
-
var
|
|
474
|
-
|
|
469
|
+
var l = e._owner, d = Se(e.type, e._source, l ? l.type : null);
|
|
470
|
+
Qe.setExtraStackFrame(d);
|
|
475
471
|
} else
|
|
476
|
-
|
|
472
|
+
Qe.setExtraStackFrame(null);
|
|
477
473
|
}
|
|
478
|
-
var
|
|
479
|
-
|
|
480
|
-
function
|
|
481
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
474
|
+
var Ne;
|
|
475
|
+
Ne = !1;
|
|
476
|
+
function ze(e) {
|
|
477
|
+
return typeof e == "object" && e !== null && e.$$typeof === n;
|
|
482
478
|
}
|
|
483
|
-
function
|
|
479
|
+
function et() {
|
|
484
480
|
{
|
|
485
|
-
if (
|
|
486
|
-
var e =
|
|
481
|
+
if (Ae.current) {
|
|
482
|
+
var e = M(Ae.current.type);
|
|
487
483
|
if (e)
|
|
488
484
|
return `
|
|
489
485
|
|
|
@@ -492,274 +488,268 @@ Check the render method of \`` + e + "`.";
|
|
|
492
488
|
return "";
|
|
493
489
|
}
|
|
494
490
|
}
|
|
495
|
-
function
|
|
491
|
+
function Yt(e) {
|
|
496
492
|
return "";
|
|
497
493
|
}
|
|
498
|
-
var
|
|
494
|
+
var tt = {};
|
|
499
495
|
function Lt(e) {
|
|
500
496
|
{
|
|
501
|
-
var
|
|
502
|
-
if (!
|
|
503
|
-
var
|
|
504
|
-
|
|
497
|
+
var l = et();
|
|
498
|
+
if (!l) {
|
|
499
|
+
var d = typeof e == "string" ? e : e.displayName || e.name;
|
|
500
|
+
d && (l = `
|
|
505
501
|
|
|
506
|
-
Check the top-level render call using <` +
|
|
502
|
+
Check the top-level render call using <` + d + ">.");
|
|
507
503
|
}
|
|
508
|
-
return
|
|
504
|
+
return l;
|
|
509
505
|
}
|
|
510
506
|
}
|
|
511
|
-
function
|
|
507
|
+
function rt(e, l) {
|
|
512
508
|
{
|
|
513
509
|
if (!e._store || e._store.validated || e.key != null)
|
|
514
510
|
return;
|
|
515
511
|
e._store.validated = !0;
|
|
516
|
-
var
|
|
517
|
-
if (
|
|
512
|
+
var d = Lt(l);
|
|
513
|
+
if (tt[d])
|
|
518
514
|
return;
|
|
519
|
-
|
|
520
|
-
var
|
|
521
|
-
e && e._owner && e._owner !==
|
|
515
|
+
tt[d] = !0;
|
|
516
|
+
var p = "";
|
|
517
|
+
e && e._owner && e._owner !== Ae.current && (p = " It was passed a child from " + M(e._owner.type) + "."), ne(e), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', d, p), ne(null);
|
|
522
518
|
}
|
|
523
519
|
}
|
|
524
|
-
function
|
|
520
|
+
function nt(e, l) {
|
|
525
521
|
{
|
|
526
522
|
if (typeof e != "object")
|
|
527
523
|
return;
|
|
528
|
-
if (
|
|
529
|
-
for (var
|
|
530
|
-
var
|
|
531
|
-
|
|
524
|
+
if (Ie(e))
|
|
525
|
+
for (var d = 0; d < e.length; d++) {
|
|
526
|
+
var p = e[d];
|
|
527
|
+
ze(p) && rt(p, l);
|
|
532
528
|
}
|
|
533
|
-
else if (
|
|
529
|
+
else if (ze(e))
|
|
534
530
|
e._store && (e._store.validated = !0);
|
|
535
531
|
else if (e) {
|
|
536
|
-
var
|
|
537
|
-
if (typeof
|
|
538
|
-
for (var
|
|
539
|
-
|
|
532
|
+
var k = R(e);
|
|
533
|
+
if (typeof k == "function" && k !== e.entries)
|
|
534
|
+
for (var C = k.call(e), w; !(w = C.next()).done; )
|
|
535
|
+
ze(w.value) && rt(w.value, l);
|
|
540
536
|
}
|
|
541
537
|
}
|
|
542
538
|
}
|
|
543
539
|
function qt(e) {
|
|
544
540
|
{
|
|
545
|
-
var
|
|
546
|
-
if (
|
|
541
|
+
var l = e.type;
|
|
542
|
+
if (l == null || typeof l == "string")
|
|
547
543
|
return;
|
|
548
|
-
var
|
|
549
|
-
if (typeof
|
|
550
|
-
|
|
551
|
-
else if (typeof
|
|
544
|
+
var d;
|
|
545
|
+
if (typeof l == "function")
|
|
546
|
+
d = l.propTypes;
|
|
547
|
+
else if (typeof l == "object" && (l.$$typeof === c || // Note: Memo only checks outer props here.
|
|
552
548
|
// Inner props are checked in the reconciler.
|
|
553
|
-
|
|
554
|
-
|
|
549
|
+
l.$$typeof === m))
|
|
550
|
+
d = l.propTypes;
|
|
555
551
|
else
|
|
556
552
|
return;
|
|
557
|
-
if (
|
|
558
|
-
var
|
|
559
|
-
|
|
560
|
-
} else if (
|
|
561
|
-
|
|
562
|
-
var
|
|
563
|
-
|
|
553
|
+
if (d) {
|
|
554
|
+
var p = M(l);
|
|
555
|
+
At(d, e.props, "prop", p, e);
|
|
556
|
+
} else if (l.PropTypes !== void 0 && !Ne) {
|
|
557
|
+
Ne = !0;
|
|
558
|
+
var k = M(l);
|
|
559
|
+
y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", k || "Unknown");
|
|
564
560
|
}
|
|
565
|
-
typeof
|
|
561
|
+
typeof l.getDefaultProps == "function" && !l.getDefaultProps.isReactClassApproved && y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
566
562
|
}
|
|
567
563
|
}
|
|
568
564
|
function Jt(e) {
|
|
569
565
|
{
|
|
570
|
-
for (var
|
|
571
|
-
var
|
|
572
|
-
if (
|
|
573
|
-
|
|
566
|
+
for (var l = Object.keys(e.props), d = 0; d < l.length; d++) {
|
|
567
|
+
var p = l[d];
|
|
568
|
+
if (p !== "children" && p !== "key") {
|
|
569
|
+
ne(e), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", p), ne(null);
|
|
574
570
|
break;
|
|
575
571
|
}
|
|
576
572
|
}
|
|
577
|
-
e.ref !== null && (
|
|
573
|
+
e.ref !== null && (ne(e), y("Invalid attribute `ref` supplied to `React.Fragment`."), ne(null));
|
|
578
574
|
}
|
|
579
575
|
}
|
|
580
|
-
var
|
|
581
|
-
function
|
|
576
|
+
var ot = {};
|
|
577
|
+
function at(e, l, d, p, k, C) {
|
|
582
578
|
{
|
|
583
|
-
var
|
|
584
|
-
if (!
|
|
585
|
-
var
|
|
586
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
587
|
-
var
|
|
588
|
-
|
|
589
|
-
var
|
|
590
|
-
e === null ?
|
|
579
|
+
var w = ce(e);
|
|
580
|
+
if (!w) {
|
|
581
|
+
var x = "";
|
|
582
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (x += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
583
|
+
var A = Yt();
|
|
584
|
+
A ? x += A : x += et();
|
|
585
|
+
var _;
|
|
586
|
+
e === null ? _ = "null" : Ie(e) ? _ = "array" : e !== void 0 && e.$$typeof === n ? (_ = "<" + (M(e.type) || "Unknown") + " />", x = " Did you accidentally export a JSX literal instead of a component?") : _ = typeof e, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", _, x);
|
|
591
587
|
}
|
|
592
|
-
var T =
|
|
588
|
+
var T = Ut(e, l, d, k, C);
|
|
593
589
|
if (T == null)
|
|
594
590
|
return T;
|
|
595
|
-
if (
|
|
596
|
-
var
|
|
597
|
-
if (
|
|
598
|
-
if (
|
|
599
|
-
if (
|
|
600
|
-
for (var
|
|
601
|
-
|
|
602
|
-
Object.freeze && Object.freeze(
|
|
591
|
+
if (w) {
|
|
592
|
+
var F = l.children;
|
|
593
|
+
if (F !== void 0)
|
|
594
|
+
if (p)
|
|
595
|
+
if (Ie(F)) {
|
|
596
|
+
for (var oe = 0; oe < F.length; oe++)
|
|
597
|
+
nt(F[oe], e);
|
|
598
|
+
Object.freeze && Object.freeze(F);
|
|
603
599
|
} else
|
|
604
|
-
|
|
600
|
+
y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
605
601
|
else
|
|
606
|
-
|
|
602
|
+
nt(F, e);
|
|
607
603
|
}
|
|
608
|
-
if (
|
|
609
|
-
var
|
|
604
|
+
if (fe.call(l, "key")) {
|
|
605
|
+
var Z = M(e), N = Object.keys(l).filter(function(er) {
|
|
610
606
|
return er !== "key";
|
|
611
|
-
}),
|
|
612
|
-
if (!
|
|
613
|
-
var Qt =
|
|
614
|
-
|
|
607
|
+
}), Me = N.length > 0 ? "{key: someKey, " + N.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
608
|
+
if (!ot[Z + Me]) {
|
|
609
|
+
var Qt = N.length > 0 ? "{" + N.join(": ..., ") + ": ...}" : "{}";
|
|
610
|
+
y(`A props object containing a "key" prop is being spread into JSX:
|
|
615
611
|
let props = %s;
|
|
616
612
|
<%s {...props} />
|
|
617
613
|
React keys must be passed directly to JSX without using spread:
|
|
618
614
|
let props = %s;
|
|
619
|
-
<%s key={someKey} {...props} />`,
|
|
615
|
+
<%s key={someKey} {...props} />`, Me, Z, Qt, Z), ot[Z + Me] = !0;
|
|
620
616
|
}
|
|
621
617
|
}
|
|
622
618
|
return e === o ? Jt(T) : qt(T), T;
|
|
623
619
|
}
|
|
624
620
|
}
|
|
625
|
-
function Kt(e,
|
|
626
|
-
return
|
|
621
|
+
function Kt(e, l, d) {
|
|
622
|
+
return at(e, l, d, !0);
|
|
627
623
|
}
|
|
628
|
-
function Xt(e,
|
|
629
|
-
return
|
|
624
|
+
function Xt(e, l, d) {
|
|
625
|
+
return at(e, l, d, !1);
|
|
630
626
|
}
|
|
631
627
|
var Ht = Xt, Zt = Kt;
|
|
632
|
-
|
|
633
|
-
}()),
|
|
628
|
+
pe.Fragment = o, pe.jsx = Ht, pe.jsxs = Zt;
|
|
629
|
+
}()), pe;
|
|
634
630
|
}
|
|
635
|
-
process.env.NODE_ENV === "production" ?
|
|
636
|
-
var
|
|
637
|
-
const
|
|
638
|
-
({ rounded: t = !0, ...
|
|
631
|
+
process.env.NODE_ENV === "production" ? Ve.exports = rr() : Ve.exports = nr();
|
|
632
|
+
var b = Ve.exports;
|
|
633
|
+
const sn = B(
|
|
634
|
+
({ rounded: t = !0, ...n }, r) => {
|
|
639
635
|
const o = t ? "rounded-full" : "rounded-sm";
|
|
640
|
-
if (!
|
|
636
|
+
if (!n.src)
|
|
641
637
|
throw new Error("The src prop is required");
|
|
642
|
-
return /* @__PURE__ */
|
|
638
|
+
return /* @__PURE__ */ b.jsx(
|
|
643
639
|
"img",
|
|
644
640
|
{
|
|
645
|
-
...
|
|
646
|
-
ref:
|
|
641
|
+
...n,
|
|
642
|
+
ref: r,
|
|
647
643
|
className: `h-full w-full object-cover ${o}`
|
|
648
644
|
}
|
|
649
645
|
);
|
|
650
646
|
}
|
|
651
647
|
);
|
|
652
|
-
function
|
|
653
|
-
var
|
|
654
|
-
if (typeof t == "string" || typeof t == "number")
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
for (r = 0; r < i; r++)
|
|
660
|
-
t[r] && (n = pt(t[r])) && (o && (o += " "), o += n);
|
|
661
|
-
} else
|
|
662
|
-
for (n in t)
|
|
663
|
-
t[n] && (o && (o += " "), o += n);
|
|
648
|
+
function mt(t) {
|
|
649
|
+
var n, r, o = "";
|
|
650
|
+
if (typeof t == "string" || typeof t == "number") o += t;
|
|
651
|
+
else if (typeof t == "object") if (Array.isArray(t)) {
|
|
652
|
+
var i = t.length;
|
|
653
|
+
for (n = 0; n < i; n++) t[n] && (r = mt(t[n])) && (o && (o += " "), o += r);
|
|
654
|
+
} else for (r in t) t[r] && (o && (o += " "), o += r);
|
|
664
655
|
return o;
|
|
665
656
|
}
|
|
666
|
-
function
|
|
667
|
-
for (var t,
|
|
668
|
-
(t = arguments[n]) && (r = pt(t)) && (o && (o += " "), o += r);
|
|
657
|
+
function ee() {
|
|
658
|
+
for (var t, n, r = 0, o = "", i = arguments.length; r < i; r++) (t = arguments[r]) && (n = mt(t)) && (o && (o += " "), o += n);
|
|
669
659
|
return o;
|
|
670
660
|
}
|
|
671
|
-
const
|
|
661
|
+
const We = "-";
|
|
672
662
|
function or(t) {
|
|
673
|
-
const
|
|
674
|
-
conflictingClassGroups:
|
|
663
|
+
const n = sr(t), {
|
|
664
|
+
conflictingClassGroups: r,
|
|
675
665
|
conflictingClassGroupModifiers: o
|
|
676
666
|
} = t;
|
|
677
|
-
function i(
|
|
678
|
-
const
|
|
679
|
-
return
|
|
667
|
+
function i(s) {
|
|
668
|
+
const u = s.split(We);
|
|
669
|
+
return u[0] === "" && u.length !== 1 && u.shift(), pt(u, n) || ar(s);
|
|
680
670
|
}
|
|
681
|
-
function a(
|
|
682
|
-
const
|
|
683
|
-
return
|
|
671
|
+
function a(s, u) {
|
|
672
|
+
const c = r[s] || [];
|
|
673
|
+
return u && o[s] ? [...c, ...o[s]] : c;
|
|
684
674
|
}
|
|
685
675
|
return {
|
|
686
676
|
getClassGroupId: i,
|
|
687
677
|
getConflictingClassGroupIds: a
|
|
688
678
|
};
|
|
689
679
|
}
|
|
690
|
-
function
|
|
691
|
-
var
|
|
680
|
+
function pt(t, n) {
|
|
681
|
+
var s;
|
|
692
682
|
if (t.length === 0)
|
|
693
|
-
return
|
|
694
|
-
const
|
|
683
|
+
return n.classGroupId;
|
|
684
|
+
const r = t[0], o = n.nextPart.get(r), i = o ? pt(t.slice(1), o) : void 0;
|
|
695
685
|
if (i)
|
|
696
686
|
return i;
|
|
697
|
-
if (
|
|
687
|
+
if (n.validators.length === 0)
|
|
698
688
|
return;
|
|
699
|
-
const a = t.join(
|
|
700
|
-
return (
|
|
701
|
-
validator:
|
|
702
|
-
}) =>
|
|
689
|
+
const a = t.join(We);
|
|
690
|
+
return (s = n.validators.find(({
|
|
691
|
+
validator: u
|
|
692
|
+
}) => u(a))) == null ? void 0 : s.classGroupId;
|
|
703
693
|
}
|
|
704
694
|
const ct = /^\[(.+)\]$/;
|
|
705
695
|
function ar(t) {
|
|
706
696
|
if (ct.test(t)) {
|
|
707
|
-
const
|
|
708
|
-
if (
|
|
709
|
-
return "arbitrary.." +
|
|
697
|
+
const n = ct.exec(t)[1], r = n == null ? void 0 : n.substring(0, n.indexOf(":"));
|
|
698
|
+
if (r)
|
|
699
|
+
return "arbitrary.." + r;
|
|
710
700
|
}
|
|
711
701
|
}
|
|
712
|
-
function
|
|
702
|
+
function sr(t) {
|
|
713
703
|
const {
|
|
714
|
-
theme:
|
|
715
|
-
prefix:
|
|
704
|
+
theme: n,
|
|
705
|
+
prefix: r
|
|
716
706
|
} = t, o = {
|
|
717
707
|
nextPart: /* @__PURE__ */ new Map(),
|
|
718
708
|
validators: []
|
|
719
709
|
};
|
|
720
|
-
return ir(Object.entries(t.classGroups),
|
|
721
|
-
|
|
710
|
+
return ir(Object.entries(t.classGroups), r).forEach(([a, s]) => {
|
|
711
|
+
Fe(s, o, a, n);
|
|
722
712
|
}), o;
|
|
723
713
|
}
|
|
724
|
-
function
|
|
714
|
+
function Fe(t, n, r, o) {
|
|
725
715
|
t.forEach((i) => {
|
|
726
716
|
if (typeof i == "string") {
|
|
727
|
-
const a = i === "" ?
|
|
728
|
-
a.classGroupId =
|
|
717
|
+
const a = i === "" ? n : dt(n, i);
|
|
718
|
+
a.classGroupId = r;
|
|
729
719
|
return;
|
|
730
720
|
}
|
|
731
721
|
if (typeof i == "function") {
|
|
732
|
-
if (
|
|
733
|
-
|
|
722
|
+
if (lr(i)) {
|
|
723
|
+
Fe(i(o), n, r, o);
|
|
734
724
|
return;
|
|
735
725
|
}
|
|
736
|
-
|
|
726
|
+
n.validators.push({
|
|
737
727
|
validator: i,
|
|
738
|
-
classGroupId:
|
|
728
|
+
classGroupId: r
|
|
739
729
|
});
|
|
740
730
|
return;
|
|
741
731
|
}
|
|
742
|
-
Object.entries(i).forEach(([a,
|
|
743
|
-
|
|
732
|
+
Object.entries(i).forEach(([a, s]) => {
|
|
733
|
+
Fe(s, dt(n, a), r, o);
|
|
744
734
|
});
|
|
745
735
|
});
|
|
746
736
|
}
|
|
747
|
-
function dt(t,
|
|
748
|
-
let
|
|
749
|
-
return
|
|
750
|
-
|
|
737
|
+
function dt(t, n) {
|
|
738
|
+
let r = t;
|
|
739
|
+
return n.split(We).forEach((o) => {
|
|
740
|
+
r.nextPart.has(o) || r.nextPart.set(o, {
|
|
751
741
|
nextPart: /* @__PURE__ */ new Map(),
|
|
752
742
|
validators: []
|
|
753
|
-
}),
|
|
754
|
-
}),
|
|
743
|
+
}), r = r.nextPart.get(o);
|
|
744
|
+
}), r;
|
|
755
745
|
}
|
|
756
|
-
function
|
|
746
|
+
function lr(t) {
|
|
757
747
|
return t.isThemeGetter;
|
|
758
748
|
}
|
|
759
|
-
function ir(t,
|
|
760
|
-
return
|
|
761
|
-
const i = o.map((a) => typeof a == "string" ?
|
|
762
|
-
return [
|
|
749
|
+
function ir(t, n) {
|
|
750
|
+
return n ? t.map(([r, o]) => {
|
|
751
|
+
const i = o.map((a) => typeof a == "string" ? n + a : typeof a == "object" ? Object.fromEntries(Object.entries(a).map(([s, u]) => [n + s, u])) : a);
|
|
752
|
+
return [r, i];
|
|
763
753
|
}) : t;
|
|
764
754
|
}
|
|
765
755
|
function cr(t) {
|
|
@@ -770,60 +760,60 @@ function cr(t) {
|
|
|
770
760
|
set: () => {
|
|
771
761
|
}
|
|
772
762
|
};
|
|
773
|
-
let
|
|
774
|
-
function i(a,
|
|
775
|
-
|
|
763
|
+
let n = 0, r = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
|
|
764
|
+
function i(a, s) {
|
|
765
|
+
r.set(a, s), n++, n > t && (n = 0, o = r, r = /* @__PURE__ */ new Map());
|
|
776
766
|
}
|
|
777
767
|
return {
|
|
778
768
|
get(a) {
|
|
779
|
-
let
|
|
780
|
-
if (
|
|
781
|
-
return
|
|
782
|
-
if ((
|
|
783
|
-
return i(a,
|
|
769
|
+
let s = r.get(a);
|
|
770
|
+
if (s !== void 0)
|
|
771
|
+
return s;
|
|
772
|
+
if ((s = o.get(a)) !== void 0)
|
|
773
|
+
return i(a, s), s;
|
|
784
774
|
},
|
|
785
|
-
set(a,
|
|
786
|
-
|
|
775
|
+
set(a, s) {
|
|
776
|
+
r.has(a) ? r.set(a, s) : i(a, s);
|
|
787
777
|
}
|
|
788
778
|
};
|
|
789
779
|
}
|
|
790
780
|
const ht = "!";
|
|
791
781
|
function dr(t) {
|
|
792
|
-
const
|
|
793
|
-
return function(
|
|
794
|
-
const
|
|
795
|
-
let
|
|
796
|
-
for (let
|
|
797
|
-
let
|
|
798
|
-
if (
|
|
799
|
-
if (
|
|
800
|
-
|
|
782
|
+
const n = t.separator, r = n.length === 1, o = n[0], i = n.length;
|
|
783
|
+
return function(s) {
|
|
784
|
+
const u = [];
|
|
785
|
+
let c = 0, g = 0, f;
|
|
786
|
+
for (let S = 0; S < s.length; S++) {
|
|
787
|
+
let R = s[S];
|
|
788
|
+
if (c === 0) {
|
|
789
|
+
if (R === o && (r || s.slice(S, S + i) === n)) {
|
|
790
|
+
u.push(s.slice(g, S)), g = S + i;
|
|
801
791
|
continue;
|
|
802
792
|
}
|
|
803
|
-
if (
|
|
804
|
-
f =
|
|
793
|
+
if (R === "/") {
|
|
794
|
+
f = S;
|
|
805
795
|
continue;
|
|
806
796
|
}
|
|
807
797
|
}
|
|
808
|
-
|
|
798
|
+
R === "[" ? c++ : R === "]" && c--;
|
|
809
799
|
}
|
|
810
|
-
const
|
|
800
|
+
const m = u.length === 0 ? s : s.substring(g), v = m.startsWith(ht), I = v ? m.substring(1) : m, z = f && f > g ? f - g : void 0;
|
|
811
801
|
return {
|
|
812
|
-
modifiers:
|
|
813
|
-
hasImportantModifier:
|
|
814
|
-
baseClassName:
|
|
815
|
-
maybePostfixModifierPosition:
|
|
802
|
+
modifiers: u,
|
|
803
|
+
hasImportantModifier: v,
|
|
804
|
+
baseClassName: I,
|
|
805
|
+
maybePostfixModifierPosition: z
|
|
816
806
|
};
|
|
817
807
|
};
|
|
818
808
|
}
|
|
819
809
|
function ur(t) {
|
|
820
810
|
if (t.length <= 1)
|
|
821
811
|
return t;
|
|
822
|
-
const
|
|
823
|
-
let
|
|
812
|
+
const n = [];
|
|
813
|
+
let r = [];
|
|
824
814
|
return t.forEach((o) => {
|
|
825
|
-
o[0] === "[" ? (
|
|
826
|
-
}),
|
|
815
|
+
o[0] === "[" ? (n.push(...r.sort(), o), r = []) : r.push(o);
|
|
816
|
+
}), n.push(...r.sort()), n;
|
|
827
817
|
}
|
|
828
818
|
function br(t) {
|
|
829
819
|
return {
|
|
@@ -833,105 +823,105 @@ function br(t) {
|
|
|
833
823
|
};
|
|
834
824
|
}
|
|
835
825
|
const fr = /\s+/;
|
|
836
|
-
function gr(t,
|
|
826
|
+
function gr(t, n) {
|
|
837
827
|
const {
|
|
838
|
-
splitModifiers:
|
|
828
|
+
splitModifiers: r,
|
|
839
829
|
getClassGroupId: o,
|
|
840
830
|
getConflictingClassGroupIds: i
|
|
841
|
-
} =
|
|
842
|
-
return t.trim().split(fr).map((
|
|
831
|
+
} = n, a = /* @__PURE__ */ new Set();
|
|
832
|
+
return t.trim().split(fr).map((s) => {
|
|
843
833
|
const {
|
|
844
|
-
modifiers:
|
|
845
|
-
hasImportantModifier:
|
|
846
|
-
baseClassName:
|
|
834
|
+
modifiers: u,
|
|
835
|
+
hasImportantModifier: c,
|
|
836
|
+
baseClassName: g,
|
|
847
837
|
maybePostfixModifierPosition: f
|
|
848
|
-
} =
|
|
849
|
-
let
|
|
850
|
-
if (!
|
|
838
|
+
} = r(s);
|
|
839
|
+
let m = o(f ? g.substring(0, f) : g), v = !!f;
|
|
840
|
+
if (!m) {
|
|
851
841
|
if (!f)
|
|
852
842
|
return {
|
|
853
843
|
isTailwindClass: !1,
|
|
854
|
-
originalClassName:
|
|
844
|
+
originalClassName: s
|
|
855
845
|
};
|
|
856
|
-
if (
|
|
846
|
+
if (m = o(g), !m)
|
|
857
847
|
return {
|
|
858
848
|
isTailwindClass: !1,
|
|
859
|
-
originalClassName:
|
|
849
|
+
originalClassName: s
|
|
860
850
|
};
|
|
861
|
-
|
|
851
|
+
v = !1;
|
|
862
852
|
}
|
|
863
|
-
const
|
|
853
|
+
const I = ur(u).join(":");
|
|
864
854
|
return {
|
|
865
855
|
isTailwindClass: !0,
|
|
866
|
-
modifierId:
|
|
867
|
-
classGroupId:
|
|
868
|
-
originalClassName:
|
|
869
|
-
hasPostfixModifier:
|
|
856
|
+
modifierId: c ? I + ht : I,
|
|
857
|
+
classGroupId: m,
|
|
858
|
+
originalClassName: s,
|
|
859
|
+
hasPostfixModifier: v
|
|
870
860
|
};
|
|
871
|
-
}).reverse().filter((
|
|
872
|
-
if (!
|
|
861
|
+
}).reverse().filter((s) => {
|
|
862
|
+
if (!s.isTailwindClass)
|
|
873
863
|
return !0;
|
|
874
864
|
const {
|
|
875
|
-
modifierId:
|
|
876
|
-
classGroupId:
|
|
877
|
-
hasPostfixModifier:
|
|
878
|
-
} =
|
|
879
|
-
return a.has(f) ? !1 : (a.add(f), i(
|
|
880
|
-
}).reverse().map((
|
|
865
|
+
modifierId: u,
|
|
866
|
+
classGroupId: c,
|
|
867
|
+
hasPostfixModifier: g
|
|
868
|
+
} = s, f = u + c;
|
|
869
|
+
return a.has(f) ? !1 : (a.add(f), i(c, g).forEach((m) => a.add(u + m)), !0);
|
|
870
|
+
}).reverse().map((s) => s.originalClassName).join(" ");
|
|
881
871
|
}
|
|
882
|
-
function
|
|
883
|
-
let t = 0,
|
|
872
|
+
function mr() {
|
|
873
|
+
let t = 0, n, r, o = "";
|
|
884
874
|
for (; t < arguments.length; )
|
|
885
|
-
(
|
|
875
|
+
(n = arguments[t++]) && (r = vt(n)) && (o && (o += " "), o += r);
|
|
886
876
|
return o;
|
|
887
877
|
}
|
|
888
878
|
function vt(t) {
|
|
889
879
|
if (typeof t == "string")
|
|
890
880
|
return t;
|
|
891
|
-
let
|
|
881
|
+
let n, r = "";
|
|
892
882
|
for (let o = 0; o < t.length; o++)
|
|
893
|
-
t[o] && (
|
|
894
|
-
return
|
|
883
|
+
t[o] && (n = vt(t[o])) && (r && (r += " "), r += n);
|
|
884
|
+
return r;
|
|
895
885
|
}
|
|
896
|
-
function
|
|
897
|
-
let
|
|
898
|
-
function
|
|
899
|
-
const
|
|
900
|
-
return
|
|
886
|
+
function pr(t, ...n) {
|
|
887
|
+
let r, o, i, a = s;
|
|
888
|
+
function s(c) {
|
|
889
|
+
const g = n.reduce((f, m) => m(f), t());
|
|
890
|
+
return r = br(g), o = r.cache.get, i = r.cache.set, a = u, u(c);
|
|
901
891
|
}
|
|
902
|
-
function
|
|
903
|
-
const
|
|
904
|
-
if (
|
|
905
|
-
return
|
|
906
|
-
const f = gr(
|
|
907
|
-
return i(
|
|
892
|
+
function u(c) {
|
|
893
|
+
const g = o(c);
|
|
894
|
+
if (g)
|
|
895
|
+
return g;
|
|
896
|
+
const f = gr(c, r);
|
|
897
|
+
return i(c, f), f;
|
|
908
898
|
}
|
|
909
899
|
return function() {
|
|
910
|
-
return a(
|
|
900
|
+
return a(mr.apply(null, arguments));
|
|
911
901
|
};
|
|
912
902
|
}
|
|
913
|
-
function
|
|
914
|
-
const
|
|
915
|
-
return
|
|
903
|
+
function E(t) {
|
|
904
|
+
const n = (r) => r[t] || [];
|
|
905
|
+
return n.isThemeGetter = !0, n;
|
|
916
906
|
}
|
|
917
|
-
const xt = /^\[(?:([a-z-]+):)?(.+)\]$/i, hr = /^\d+\/\d+$/, vr = /* @__PURE__ */ new Set(["px", "full", "screen"]), xr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, yr = /\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$/, wr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, kr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,
|
|
918
|
-
function
|
|
919
|
-
return
|
|
907
|
+
const xt = /^\[(?:([a-z-]+):)?(.+)\]$/i, hr = /^\d+\/\d+$/, vr = /* @__PURE__ */ new Set(["px", "full", "screen"]), xr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, yr = /\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$/, wr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, kr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, jr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;
|
|
908
|
+
function D(t) {
|
|
909
|
+
return Q(t) || vr.has(t) || hr.test(t);
|
|
920
910
|
}
|
|
921
911
|
function L(t) {
|
|
922
|
-
return
|
|
912
|
+
return le(t, "length", Ir);
|
|
923
913
|
}
|
|
924
|
-
function
|
|
914
|
+
function Q(t) {
|
|
925
915
|
return !!t && !Number.isNaN(Number(t));
|
|
926
916
|
}
|
|
927
|
-
function
|
|
928
|
-
return
|
|
917
|
+
function Re(t) {
|
|
918
|
+
return le(t, "number", Q);
|
|
929
919
|
}
|
|
930
|
-
function
|
|
920
|
+
function he(t) {
|
|
931
921
|
return !!t && Number.isInteger(Number(t));
|
|
932
922
|
}
|
|
933
|
-
function
|
|
934
|
-
return t.endsWith("%") &&
|
|
923
|
+
function Cr(t) {
|
|
924
|
+
return t.endsWith("%") && Q(t.slice(0, -1));
|
|
935
925
|
}
|
|
936
926
|
function h(t) {
|
|
937
927
|
return xt.test(t);
|
|
@@ -939,70 +929,70 @@ function h(t) {
|
|
|
939
929
|
function q(t) {
|
|
940
930
|
return xr.test(t);
|
|
941
931
|
}
|
|
942
|
-
const
|
|
932
|
+
const Sr = /* @__PURE__ */ new Set(["length", "size", "percentage"]);
|
|
943
933
|
function Er(t) {
|
|
944
|
-
return
|
|
934
|
+
return le(t, Sr, yt);
|
|
945
935
|
}
|
|
946
936
|
function Rr(t) {
|
|
947
|
-
return
|
|
937
|
+
return le(t, "position", yt);
|
|
948
938
|
}
|
|
949
939
|
const _r = /* @__PURE__ */ new Set(["image", "url"]);
|
|
950
940
|
function Tr(t) {
|
|
951
|
-
return
|
|
941
|
+
return le(t, _r, Ar);
|
|
952
942
|
}
|
|
953
943
|
function Pr(t) {
|
|
954
|
-
return
|
|
944
|
+
return le(t, "", Or);
|
|
955
945
|
}
|
|
956
|
-
function
|
|
946
|
+
function ve() {
|
|
957
947
|
return !0;
|
|
958
948
|
}
|
|
959
|
-
function
|
|
949
|
+
function le(t, n, r) {
|
|
960
950
|
const o = xt.exec(t);
|
|
961
|
-
return o ? o[1] ? typeof
|
|
951
|
+
return o ? o[1] ? typeof n == "string" ? o[1] === n : n.has(o[1]) : r(o[2]) : !1;
|
|
962
952
|
}
|
|
963
|
-
function
|
|
953
|
+
function Ir(t) {
|
|
964
954
|
return yr.test(t) && !wr.test(t);
|
|
965
955
|
}
|
|
966
956
|
function yt() {
|
|
967
957
|
return !1;
|
|
968
958
|
}
|
|
969
|
-
function
|
|
959
|
+
function Or(t) {
|
|
970
960
|
return kr.test(t);
|
|
971
961
|
}
|
|
972
|
-
function
|
|
973
|
-
return
|
|
962
|
+
function Ar(t) {
|
|
963
|
+
return jr.test(t);
|
|
974
964
|
}
|
|
975
965
|
function Nr() {
|
|
976
|
-
const t =
|
|
966
|
+
const t = E("colors"), n = E("spacing"), r = E("blur"), o = E("brightness"), i = E("borderColor"), a = E("borderRadius"), s = E("borderSpacing"), u = E("borderWidth"), c = E("contrast"), g = E("grayscale"), f = E("hueRotate"), m = E("invert"), v = E("gap"), I = E("gradientColorStops"), z = E("gradientColorStopPositions"), S = E("inset"), R = E("margin"), P = E("opacity"), y = E("padding"), K = E("saturate"), ie = E("scale"), xe = E("sepia"), ye = E("skew"), we = E("space"), ke = E("translate"), te = () => ["auto", "contain", "none"], ce = () => ["auto", "hidden", "clip", "visible", "scroll"], de = () => ["auto", h, n], j = () => [h, n], M = () => ["", D, L], V = () => ["auto", Q, h], G = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], X = () => ["solid", "dashed", "dotted", "double", "none"], ue = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], re = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], U = () => ["", "0", h], be = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], Y = () => [Q, Re], H = () => [Q, h];
|
|
977
967
|
return {
|
|
978
968
|
cacheSize: 500,
|
|
979
969
|
separator: ":",
|
|
980
970
|
theme: {
|
|
981
|
-
colors: [
|
|
982
|
-
spacing: [
|
|
971
|
+
colors: [ve],
|
|
972
|
+
spacing: [D, L],
|
|
983
973
|
blur: ["none", "", q, h],
|
|
984
|
-
brightness:
|
|
974
|
+
brightness: Y(),
|
|
985
975
|
borderColor: [t],
|
|
986
976
|
borderRadius: ["none", "", "full", q, h],
|
|
987
|
-
borderSpacing:
|
|
988
|
-
borderWidth:
|
|
989
|
-
contrast:
|
|
990
|
-
grayscale:
|
|
991
|
-
hueRotate:
|
|
992
|
-
invert:
|
|
993
|
-
gap:
|
|
977
|
+
borderSpacing: j(),
|
|
978
|
+
borderWidth: M(),
|
|
979
|
+
contrast: Y(),
|
|
980
|
+
grayscale: U(),
|
|
981
|
+
hueRotate: H(),
|
|
982
|
+
invert: U(),
|
|
983
|
+
gap: j(),
|
|
994
984
|
gradientColorStops: [t],
|
|
995
|
-
gradientColorStopPositions: [
|
|
996
|
-
inset:
|
|
997
|
-
margin:
|
|
998
|
-
opacity:
|
|
999
|
-
padding:
|
|
1000
|
-
saturate:
|
|
1001
|
-
scale:
|
|
1002
|
-
sepia:
|
|
1003
|
-
skew:
|
|
1004
|
-
space:
|
|
1005
|
-
translate:
|
|
985
|
+
gradientColorStopPositions: [Cr, L],
|
|
986
|
+
inset: de(),
|
|
987
|
+
margin: de(),
|
|
988
|
+
opacity: Y(),
|
|
989
|
+
padding: j(),
|
|
990
|
+
saturate: Y(),
|
|
991
|
+
scale: Y(),
|
|
992
|
+
sepia: U(),
|
|
993
|
+
skew: H(),
|
|
994
|
+
space: j(),
|
|
995
|
+
translate: j()
|
|
1006
996
|
},
|
|
1007
997
|
classGroups: {
|
|
1008
998
|
// Layout
|
|
@@ -1030,14 +1020,14 @@ function Nr() {
|
|
|
1030
1020
|
* @see https://tailwindcss.com/docs/break-after
|
|
1031
1021
|
*/
|
|
1032
1022
|
"break-after": [{
|
|
1033
|
-
"break-after":
|
|
1023
|
+
"break-after": be()
|
|
1034
1024
|
}],
|
|
1035
1025
|
/**
|
|
1036
1026
|
* Break Before
|
|
1037
1027
|
* @see https://tailwindcss.com/docs/break-before
|
|
1038
1028
|
*/
|
|
1039
1029
|
"break-before": [{
|
|
1040
|
-
"break-before":
|
|
1030
|
+
"break-before": be()
|
|
1041
1031
|
}],
|
|
1042
1032
|
/**
|
|
1043
1033
|
* Break Inside
|
|
@@ -1103,42 +1093,42 @@ function Nr() {
|
|
|
1103
1093
|
* @see https://tailwindcss.com/docs/overflow
|
|
1104
1094
|
*/
|
|
1105
1095
|
overflow: [{
|
|
1106
|
-
overflow:
|
|
1096
|
+
overflow: ce()
|
|
1107
1097
|
}],
|
|
1108
1098
|
/**
|
|
1109
1099
|
* Overflow X
|
|
1110
1100
|
* @see https://tailwindcss.com/docs/overflow
|
|
1111
1101
|
*/
|
|
1112
1102
|
"overflow-x": [{
|
|
1113
|
-
"overflow-x":
|
|
1103
|
+
"overflow-x": ce()
|
|
1114
1104
|
}],
|
|
1115
1105
|
/**
|
|
1116
1106
|
* Overflow Y
|
|
1117
1107
|
* @see https://tailwindcss.com/docs/overflow
|
|
1118
1108
|
*/
|
|
1119
1109
|
"overflow-y": [{
|
|
1120
|
-
"overflow-y":
|
|
1110
|
+
"overflow-y": ce()
|
|
1121
1111
|
}],
|
|
1122
1112
|
/**
|
|
1123
1113
|
* Overscroll Behavior
|
|
1124
1114
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
1125
1115
|
*/
|
|
1126
1116
|
overscroll: [{
|
|
1127
|
-
overscroll:
|
|
1117
|
+
overscroll: te()
|
|
1128
1118
|
}],
|
|
1129
1119
|
/**
|
|
1130
1120
|
* Overscroll Behavior X
|
|
1131
1121
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
1132
1122
|
*/
|
|
1133
1123
|
"overscroll-x": [{
|
|
1134
|
-
"overscroll-x":
|
|
1124
|
+
"overscroll-x": te()
|
|
1135
1125
|
}],
|
|
1136
1126
|
/**
|
|
1137
1127
|
* Overscroll Behavior Y
|
|
1138
1128
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
1139
1129
|
*/
|
|
1140
1130
|
"overscroll-y": [{
|
|
1141
|
-
"overscroll-y":
|
|
1131
|
+
"overscroll-y": te()
|
|
1142
1132
|
}],
|
|
1143
1133
|
/**
|
|
1144
1134
|
* Position
|
|
@@ -1150,63 +1140,63 @@ function Nr() {
|
|
|
1150
1140
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1151
1141
|
*/
|
|
1152
1142
|
inset: [{
|
|
1153
|
-
inset: [
|
|
1143
|
+
inset: [S]
|
|
1154
1144
|
}],
|
|
1155
1145
|
/**
|
|
1156
1146
|
* Right / Left
|
|
1157
1147
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1158
1148
|
*/
|
|
1159
1149
|
"inset-x": [{
|
|
1160
|
-
"inset-x": [
|
|
1150
|
+
"inset-x": [S]
|
|
1161
1151
|
}],
|
|
1162
1152
|
/**
|
|
1163
1153
|
* Top / Bottom
|
|
1164
1154
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1165
1155
|
*/
|
|
1166
1156
|
"inset-y": [{
|
|
1167
|
-
"inset-y": [
|
|
1157
|
+
"inset-y": [S]
|
|
1168
1158
|
}],
|
|
1169
1159
|
/**
|
|
1170
1160
|
* Start
|
|
1171
1161
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1172
1162
|
*/
|
|
1173
1163
|
start: [{
|
|
1174
|
-
start: [
|
|
1164
|
+
start: [S]
|
|
1175
1165
|
}],
|
|
1176
1166
|
/**
|
|
1177
1167
|
* End
|
|
1178
1168
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1179
1169
|
*/
|
|
1180
1170
|
end: [{
|
|
1181
|
-
end: [
|
|
1171
|
+
end: [S]
|
|
1182
1172
|
}],
|
|
1183
1173
|
/**
|
|
1184
1174
|
* Top
|
|
1185
1175
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1186
1176
|
*/
|
|
1187
1177
|
top: [{
|
|
1188
|
-
top: [
|
|
1178
|
+
top: [S]
|
|
1189
1179
|
}],
|
|
1190
1180
|
/**
|
|
1191
1181
|
* Right
|
|
1192
1182
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1193
1183
|
*/
|
|
1194
1184
|
right: [{
|
|
1195
|
-
right: [
|
|
1185
|
+
right: [S]
|
|
1196
1186
|
}],
|
|
1197
1187
|
/**
|
|
1198
1188
|
* Bottom
|
|
1199
1189
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1200
1190
|
*/
|
|
1201
1191
|
bottom: [{
|
|
1202
|
-
bottom: [
|
|
1192
|
+
bottom: [S]
|
|
1203
1193
|
}],
|
|
1204
1194
|
/**
|
|
1205
1195
|
* Left
|
|
1206
1196
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
1207
1197
|
*/
|
|
1208
1198
|
left: [{
|
|
1209
|
-
left: [
|
|
1199
|
+
left: [S]
|
|
1210
1200
|
}],
|
|
1211
1201
|
/**
|
|
1212
1202
|
* Visibility
|
|
@@ -1218,7 +1208,7 @@ function Nr() {
|
|
|
1218
1208
|
* @see https://tailwindcss.com/docs/z-index
|
|
1219
1209
|
*/
|
|
1220
1210
|
z: [{
|
|
1221
|
-
z: ["auto",
|
|
1211
|
+
z: ["auto", he, h]
|
|
1222
1212
|
}],
|
|
1223
1213
|
// Flexbox and Grid
|
|
1224
1214
|
/**
|
|
@@ -1226,7 +1216,7 @@ function Nr() {
|
|
|
1226
1216
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
1227
1217
|
*/
|
|
1228
1218
|
basis: [{
|
|
1229
|
-
basis:
|
|
1219
|
+
basis: de()
|
|
1230
1220
|
}],
|
|
1231
1221
|
/**
|
|
1232
1222
|
* Flex Direction
|
|
@@ -1254,28 +1244,28 @@ function Nr() {
|
|
|
1254
1244
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
1255
1245
|
*/
|
|
1256
1246
|
grow: [{
|
|
1257
|
-
grow:
|
|
1247
|
+
grow: U()
|
|
1258
1248
|
}],
|
|
1259
1249
|
/**
|
|
1260
1250
|
* Flex Shrink
|
|
1261
1251
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
1262
1252
|
*/
|
|
1263
1253
|
shrink: [{
|
|
1264
|
-
shrink:
|
|
1254
|
+
shrink: U()
|
|
1265
1255
|
}],
|
|
1266
1256
|
/**
|
|
1267
1257
|
* Order
|
|
1268
1258
|
* @see https://tailwindcss.com/docs/order
|
|
1269
1259
|
*/
|
|
1270
1260
|
order: [{
|
|
1271
|
-
order: ["first", "last", "none",
|
|
1261
|
+
order: ["first", "last", "none", he, h]
|
|
1272
1262
|
}],
|
|
1273
1263
|
/**
|
|
1274
1264
|
* Grid Template Columns
|
|
1275
1265
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
1276
1266
|
*/
|
|
1277
1267
|
"grid-cols": [{
|
|
1278
|
-
"grid-cols": [
|
|
1268
|
+
"grid-cols": [ve]
|
|
1279
1269
|
}],
|
|
1280
1270
|
/**
|
|
1281
1271
|
* Grid Column Start / End
|
|
@@ -1283,7 +1273,7 @@ function Nr() {
|
|
|
1283
1273
|
*/
|
|
1284
1274
|
"col-start-end": [{
|
|
1285
1275
|
col: ["auto", {
|
|
1286
|
-
span: ["full",
|
|
1276
|
+
span: ["full", he, h]
|
|
1287
1277
|
}, h]
|
|
1288
1278
|
}],
|
|
1289
1279
|
/**
|
|
@@ -1291,21 +1281,21 @@ function Nr() {
|
|
|
1291
1281
|
* @see https://tailwindcss.com/docs/grid-column
|
|
1292
1282
|
*/
|
|
1293
1283
|
"col-start": [{
|
|
1294
|
-
"col-start":
|
|
1284
|
+
"col-start": V()
|
|
1295
1285
|
}],
|
|
1296
1286
|
/**
|
|
1297
1287
|
* Grid Column End
|
|
1298
1288
|
* @see https://tailwindcss.com/docs/grid-column
|
|
1299
1289
|
*/
|
|
1300
1290
|
"col-end": [{
|
|
1301
|
-
"col-end":
|
|
1291
|
+
"col-end": V()
|
|
1302
1292
|
}],
|
|
1303
1293
|
/**
|
|
1304
1294
|
* Grid Template Rows
|
|
1305
1295
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
1306
1296
|
*/
|
|
1307
1297
|
"grid-rows": [{
|
|
1308
|
-
"grid-rows": [
|
|
1298
|
+
"grid-rows": [ve]
|
|
1309
1299
|
}],
|
|
1310
1300
|
/**
|
|
1311
1301
|
* Grid Row Start / End
|
|
@@ -1313,7 +1303,7 @@ function Nr() {
|
|
|
1313
1303
|
*/
|
|
1314
1304
|
"row-start-end": [{
|
|
1315
1305
|
row: ["auto", {
|
|
1316
|
-
span: [
|
|
1306
|
+
span: [he, h]
|
|
1317
1307
|
}, h]
|
|
1318
1308
|
}],
|
|
1319
1309
|
/**
|
|
@@ -1321,14 +1311,14 @@ function Nr() {
|
|
|
1321
1311
|
* @see https://tailwindcss.com/docs/grid-row
|
|
1322
1312
|
*/
|
|
1323
1313
|
"row-start": [{
|
|
1324
|
-
"row-start":
|
|
1314
|
+
"row-start": V()
|
|
1325
1315
|
}],
|
|
1326
1316
|
/**
|
|
1327
1317
|
* Grid Row End
|
|
1328
1318
|
* @see https://tailwindcss.com/docs/grid-row
|
|
1329
1319
|
*/
|
|
1330
1320
|
"row-end": [{
|
|
1331
|
-
"row-end":
|
|
1321
|
+
"row-end": V()
|
|
1332
1322
|
}],
|
|
1333
1323
|
/**
|
|
1334
1324
|
* Grid Auto Flow
|
|
@@ -1356,28 +1346,28 @@ function Nr() {
|
|
|
1356
1346
|
* @see https://tailwindcss.com/docs/gap
|
|
1357
1347
|
*/
|
|
1358
1348
|
gap: [{
|
|
1359
|
-
gap: [
|
|
1349
|
+
gap: [v]
|
|
1360
1350
|
}],
|
|
1361
1351
|
/**
|
|
1362
1352
|
* Gap X
|
|
1363
1353
|
* @see https://tailwindcss.com/docs/gap
|
|
1364
1354
|
*/
|
|
1365
1355
|
"gap-x": [{
|
|
1366
|
-
"gap-x": [
|
|
1356
|
+
"gap-x": [v]
|
|
1367
1357
|
}],
|
|
1368
1358
|
/**
|
|
1369
1359
|
* Gap Y
|
|
1370
1360
|
* @see https://tailwindcss.com/docs/gap
|
|
1371
1361
|
*/
|
|
1372
1362
|
"gap-y": [{
|
|
1373
|
-
"gap-y": [
|
|
1363
|
+
"gap-y": [v]
|
|
1374
1364
|
}],
|
|
1375
1365
|
/**
|
|
1376
1366
|
* Justify Content
|
|
1377
1367
|
* @see https://tailwindcss.com/docs/justify-content
|
|
1378
1368
|
*/
|
|
1379
1369
|
"justify-content": [{
|
|
1380
|
-
justify: ["normal", ...
|
|
1370
|
+
justify: ["normal", ...re()]
|
|
1381
1371
|
}],
|
|
1382
1372
|
/**
|
|
1383
1373
|
* Justify Items
|
|
@@ -1398,7 +1388,7 @@ function Nr() {
|
|
|
1398
1388
|
* @see https://tailwindcss.com/docs/align-content
|
|
1399
1389
|
*/
|
|
1400
1390
|
"align-content": [{
|
|
1401
|
-
content: ["normal", ...
|
|
1391
|
+
content: ["normal", ...re(), "baseline"]
|
|
1402
1392
|
}],
|
|
1403
1393
|
/**
|
|
1404
1394
|
* Align Items
|
|
@@ -1419,7 +1409,7 @@ function Nr() {
|
|
|
1419
1409
|
* @see https://tailwindcss.com/docs/place-content
|
|
1420
1410
|
*/
|
|
1421
1411
|
"place-content": [{
|
|
1422
|
-
"place-content": [...
|
|
1412
|
+
"place-content": [...re(), "baseline"]
|
|
1423
1413
|
}],
|
|
1424
1414
|
/**
|
|
1425
1415
|
* Place Items
|
|
@@ -1441,133 +1431,133 @@ function Nr() {
|
|
|
1441
1431
|
* @see https://tailwindcss.com/docs/padding
|
|
1442
1432
|
*/
|
|
1443
1433
|
p: [{
|
|
1444
|
-
p: [
|
|
1434
|
+
p: [y]
|
|
1445
1435
|
}],
|
|
1446
1436
|
/**
|
|
1447
1437
|
* Padding X
|
|
1448
1438
|
* @see https://tailwindcss.com/docs/padding
|
|
1449
1439
|
*/
|
|
1450
1440
|
px: [{
|
|
1451
|
-
px: [
|
|
1441
|
+
px: [y]
|
|
1452
1442
|
}],
|
|
1453
1443
|
/**
|
|
1454
1444
|
* Padding Y
|
|
1455
1445
|
* @see https://tailwindcss.com/docs/padding
|
|
1456
1446
|
*/
|
|
1457
1447
|
py: [{
|
|
1458
|
-
py: [
|
|
1448
|
+
py: [y]
|
|
1459
1449
|
}],
|
|
1460
1450
|
/**
|
|
1461
1451
|
* Padding Start
|
|
1462
1452
|
* @see https://tailwindcss.com/docs/padding
|
|
1463
1453
|
*/
|
|
1464
1454
|
ps: [{
|
|
1465
|
-
ps: [
|
|
1455
|
+
ps: [y]
|
|
1466
1456
|
}],
|
|
1467
1457
|
/**
|
|
1468
1458
|
* Padding End
|
|
1469
1459
|
* @see https://tailwindcss.com/docs/padding
|
|
1470
1460
|
*/
|
|
1471
1461
|
pe: [{
|
|
1472
|
-
pe: [
|
|
1462
|
+
pe: [y]
|
|
1473
1463
|
}],
|
|
1474
1464
|
/**
|
|
1475
1465
|
* Padding Top
|
|
1476
1466
|
* @see https://tailwindcss.com/docs/padding
|
|
1477
1467
|
*/
|
|
1478
1468
|
pt: [{
|
|
1479
|
-
pt: [
|
|
1469
|
+
pt: [y]
|
|
1480
1470
|
}],
|
|
1481
1471
|
/**
|
|
1482
1472
|
* Padding Right
|
|
1483
1473
|
* @see https://tailwindcss.com/docs/padding
|
|
1484
1474
|
*/
|
|
1485
1475
|
pr: [{
|
|
1486
|
-
pr: [
|
|
1476
|
+
pr: [y]
|
|
1487
1477
|
}],
|
|
1488
1478
|
/**
|
|
1489
1479
|
* Padding Bottom
|
|
1490
1480
|
* @see https://tailwindcss.com/docs/padding
|
|
1491
1481
|
*/
|
|
1492
1482
|
pb: [{
|
|
1493
|
-
pb: [
|
|
1483
|
+
pb: [y]
|
|
1494
1484
|
}],
|
|
1495
1485
|
/**
|
|
1496
1486
|
* Padding Left
|
|
1497
1487
|
* @see https://tailwindcss.com/docs/padding
|
|
1498
1488
|
*/
|
|
1499
1489
|
pl: [{
|
|
1500
|
-
pl: [
|
|
1490
|
+
pl: [y]
|
|
1501
1491
|
}],
|
|
1502
1492
|
/**
|
|
1503
1493
|
* Margin
|
|
1504
1494
|
* @see https://tailwindcss.com/docs/margin
|
|
1505
1495
|
*/
|
|
1506
1496
|
m: [{
|
|
1507
|
-
m: [
|
|
1497
|
+
m: [R]
|
|
1508
1498
|
}],
|
|
1509
1499
|
/**
|
|
1510
1500
|
* Margin X
|
|
1511
1501
|
* @see https://tailwindcss.com/docs/margin
|
|
1512
1502
|
*/
|
|
1513
1503
|
mx: [{
|
|
1514
|
-
mx: [
|
|
1504
|
+
mx: [R]
|
|
1515
1505
|
}],
|
|
1516
1506
|
/**
|
|
1517
1507
|
* Margin Y
|
|
1518
1508
|
* @see https://tailwindcss.com/docs/margin
|
|
1519
1509
|
*/
|
|
1520
1510
|
my: [{
|
|
1521
|
-
my: [
|
|
1511
|
+
my: [R]
|
|
1522
1512
|
}],
|
|
1523
1513
|
/**
|
|
1524
1514
|
* Margin Start
|
|
1525
1515
|
* @see https://tailwindcss.com/docs/margin
|
|
1526
1516
|
*/
|
|
1527
1517
|
ms: [{
|
|
1528
|
-
ms: [
|
|
1518
|
+
ms: [R]
|
|
1529
1519
|
}],
|
|
1530
1520
|
/**
|
|
1531
1521
|
* Margin End
|
|
1532
1522
|
* @see https://tailwindcss.com/docs/margin
|
|
1533
1523
|
*/
|
|
1534
1524
|
me: [{
|
|
1535
|
-
me: [
|
|
1525
|
+
me: [R]
|
|
1536
1526
|
}],
|
|
1537
1527
|
/**
|
|
1538
1528
|
* Margin Top
|
|
1539
1529
|
* @see https://tailwindcss.com/docs/margin
|
|
1540
1530
|
*/
|
|
1541
1531
|
mt: [{
|
|
1542
|
-
mt: [
|
|
1532
|
+
mt: [R]
|
|
1543
1533
|
}],
|
|
1544
1534
|
/**
|
|
1545
1535
|
* Margin Right
|
|
1546
1536
|
* @see https://tailwindcss.com/docs/margin
|
|
1547
1537
|
*/
|
|
1548
1538
|
mr: [{
|
|
1549
|
-
mr: [
|
|
1539
|
+
mr: [R]
|
|
1550
1540
|
}],
|
|
1551
1541
|
/**
|
|
1552
1542
|
* Margin Bottom
|
|
1553
1543
|
* @see https://tailwindcss.com/docs/margin
|
|
1554
1544
|
*/
|
|
1555
1545
|
mb: [{
|
|
1556
|
-
mb: [
|
|
1546
|
+
mb: [R]
|
|
1557
1547
|
}],
|
|
1558
1548
|
/**
|
|
1559
1549
|
* Margin Left
|
|
1560
1550
|
* @see https://tailwindcss.com/docs/margin
|
|
1561
1551
|
*/
|
|
1562
1552
|
ml: [{
|
|
1563
|
-
ml: [
|
|
1553
|
+
ml: [R]
|
|
1564
1554
|
}],
|
|
1565
1555
|
/**
|
|
1566
1556
|
* Space Between X
|
|
1567
1557
|
* @see https://tailwindcss.com/docs/space
|
|
1568
1558
|
*/
|
|
1569
1559
|
"space-x": [{
|
|
1570
|
-
"space-x": [
|
|
1560
|
+
"space-x": [we]
|
|
1571
1561
|
}],
|
|
1572
1562
|
/**
|
|
1573
1563
|
* Space Between X Reverse
|
|
@@ -1579,7 +1569,7 @@ function Nr() {
|
|
|
1579
1569
|
* @see https://tailwindcss.com/docs/space
|
|
1580
1570
|
*/
|
|
1581
1571
|
"space-y": [{
|
|
1582
|
-
"space-y": [
|
|
1572
|
+
"space-y": [we]
|
|
1583
1573
|
}],
|
|
1584
1574
|
/**
|
|
1585
1575
|
* Space Between Y Reverse
|
|
@@ -1592,21 +1582,21 @@ function Nr() {
|
|
|
1592
1582
|
* @see https://tailwindcss.com/docs/width
|
|
1593
1583
|
*/
|
|
1594
1584
|
w: [{
|
|
1595
|
-
w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", h,
|
|
1585
|
+
w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", h, n]
|
|
1596
1586
|
}],
|
|
1597
1587
|
/**
|
|
1598
1588
|
* Min-Width
|
|
1599
1589
|
* @see https://tailwindcss.com/docs/min-width
|
|
1600
1590
|
*/
|
|
1601
1591
|
"min-w": [{
|
|
1602
|
-
"min-w": [h,
|
|
1592
|
+
"min-w": [h, n, "min", "max", "fit"]
|
|
1603
1593
|
}],
|
|
1604
1594
|
/**
|
|
1605
1595
|
* Max-Width
|
|
1606
1596
|
* @see https://tailwindcss.com/docs/max-width
|
|
1607
1597
|
*/
|
|
1608
1598
|
"max-w": [{
|
|
1609
|
-
"max-w": [h,
|
|
1599
|
+
"max-w": [h, n, "none", "full", "min", "max", "fit", "prose", {
|
|
1610
1600
|
screen: [q]
|
|
1611
1601
|
}, q]
|
|
1612
1602
|
}],
|
|
@@ -1615,28 +1605,28 @@ function Nr() {
|
|
|
1615
1605
|
* @see https://tailwindcss.com/docs/height
|
|
1616
1606
|
*/
|
|
1617
1607
|
h: [{
|
|
1618
|
-
h: [h,
|
|
1608
|
+
h: [h, n, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
1619
1609
|
}],
|
|
1620
1610
|
/**
|
|
1621
1611
|
* Min-Height
|
|
1622
1612
|
* @see https://tailwindcss.com/docs/min-height
|
|
1623
1613
|
*/
|
|
1624
1614
|
"min-h": [{
|
|
1625
|
-
"min-h": [h,
|
|
1615
|
+
"min-h": [h, n, "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
1626
1616
|
}],
|
|
1627
1617
|
/**
|
|
1628
1618
|
* Max-Height
|
|
1629
1619
|
* @see https://tailwindcss.com/docs/max-height
|
|
1630
1620
|
*/
|
|
1631
1621
|
"max-h": [{
|
|
1632
|
-
"max-h": [h,
|
|
1622
|
+
"max-h": [h, n, "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
1633
1623
|
}],
|
|
1634
1624
|
/**
|
|
1635
1625
|
* Size
|
|
1636
1626
|
* @see https://tailwindcss.com/docs/size
|
|
1637
1627
|
*/
|
|
1638
1628
|
size: [{
|
|
1639
|
-
size: [h,
|
|
1629
|
+
size: [h, n, "auto", "min", "max", "fit"]
|
|
1640
1630
|
}],
|
|
1641
1631
|
// Typography
|
|
1642
1632
|
/**
|
|
@@ -1661,14 +1651,14 @@ function Nr() {
|
|
|
1661
1651
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1662
1652
|
*/
|
|
1663
1653
|
"font-weight": [{
|
|
1664
|
-
font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black",
|
|
1654
|
+
font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", Re]
|
|
1665
1655
|
}],
|
|
1666
1656
|
/**
|
|
1667
1657
|
* Font Family
|
|
1668
1658
|
* @see https://tailwindcss.com/docs/font-family
|
|
1669
1659
|
*/
|
|
1670
1660
|
"font-family": [{
|
|
1671
|
-
font: [
|
|
1661
|
+
font: [ve]
|
|
1672
1662
|
}],
|
|
1673
1663
|
/**
|
|
1674
1664
|
* Font Variant Numeric
|
|
@@ -1712,14 +1702,14 @@ function Nr() {
|
|
|
1712
1702
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1713
1703
|
*/
|
|
1714
1704
|
"line-clamp": [{
|
|
1715
|
-
"line-clamp": ["none",
|
|
1705
|
+
"line-clamp": ["none", Q, Re]
|
|
1716
1706
|
}],
|
|
1717
1707
|
/**
|
|
1718
1708
|
* Line Height
|
|
1719
1709
|
* @see https://tailwindcss.com/docs/line-height
|
|
1720
1710
|
*/
|
|
1721
1711
|
leading: [{
|
|
1722
|
-
leading: ["none", "tight", "snug", "normal", "relaxed", "loose",
|
|
1712
|
+
leading: ["none", "tight", "snug", "normal", "relaxed", "loose", D, h]
|
|
1723
1713
|
}],
|
|
1724
1714
|
/**
|
|
1725
1715
|
* List Style Image
|
|
@@ -1755,7 +1745,7 @@ function Nr() {
|
|
|
1755
1745
|
* @see https://tailwindcss.com/docs/placeholder-opacity
|
|
1756
1746
|
*/
|
|
1757
1747
|
"placeholder-opacity": [{
|
|
1758
|
-
"placeholder-opacity": [
|
|
1748
|
+
"placeholder-opacity": [P]
|
|
1759
1749
|
}],
|
|
1760
1750
|
/**
|
|
1761
1751
|
* Text Alignment
|
|
@@ -1776,7 +1766,7 @@ function Nr() {
|
|
|
1776
1766
|
* @see https://tailwindcss.com/docs/text-opacity
|
|
1777
1767
|
*/
|
|
1778
1768
|
"text-opacity": [{
|
|
1779
|
-
"text-opacity": [
|
|
1769
|
+
"text-opacity": [P]
|
|
1780
1770
|
}],
|
|
1781
1771
|
/**
|
|
1782
1772
|
* Text Decoration
|
|
@@ -1788,21 +1778,21 @@ function Nr() {
|
|
|
1788
1778
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1789
1779
|
*/
|
|
1790
1780
|
"text-decoration-style": [{
|
|
1791
|
-
decoration: [...
|
|
1781
|
+
decoration: [...X(), "wavy"]
|
|
1792
1782
|
}],
|
|
1793
1783
|
/**
|
|
1794
1784
|
* Text Decoration Thickness
|
|
1795
1785
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1796
1786
|
*/
|
|
1797
1787
|
"text-decoration-thickness": [{
|
|
1798
|
-
decoration: ["auto", "from-font",
|
|
1788
|
+
decoration: ["auto", "from-font", D, L]
|
|
1799
1789
|
}],
|
|
1800
1790
|
/**
|
|
1801
1791
|
* Text Underline Offset
|
|
1802
1792
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1803
1793
|
*/
|
|
1804
1794
|
"underline-offset": [{
|
|
1805
|
-
"underline-offset": ["auto",
|
|
1795
|
+
"underline-offset": ["auto", D, h]
|
|
1806
1796
|
}],
|
|
1807
1797
|
/**
|
|
1808
1798
|
* Text Decoration Color
|
|
@@ -1833,7 +1823,7 @@ function Nr() {
|
|
|
1833
1823
|
* @see https://tailwindcss.com/docs/text-indent
|
|
1834
1824
|
*/
|
|
1835
1825
|
indent: [{
|
|
1836
|
-
indent:
|
|
1826
|
+
indent: j()
|
|
1837
1827
|
}],
|
|
1838
1828
|
/**
|
|
1839
1829
|
* Vertical Alignment
|
|
@@ -1891,7 +1881,7 @@ function Nr() {
|
|
|
1891
1881
|
* @see https://tailwindcss.com/docs/background-opacity
|
|
1892
1882
|
*/
|
|
1893
1883
|
"bg-opacity": [{
|
|
1894
|
-
"bg-opacity": [
|
|
1884
|
+
"bg-opacity": [P]
|
|
1895
1885
|
}],
|
|
1896
1886
|
/**
|
|
1897
1887
|
* Background Origin
|
|
@@ -1944,42 +1934,42 @@ function Nr() {
|
|
|
1944
1934
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1945
1935
|
*/
|
|
1946
1936
|
"gradient-from-pos": [{
|
|
1947
|
-
from: [
|
|
1937
|
+
from: [z]
|
|
1948
1938
|
}],
|
|
1949
1939
|
/**
|
|
1950
1940
|
* Gradient Color Stops Via Position
|
|
1951
1941
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1952
1942
|
*/
|
|
1953
1943
|
"gradient-via-pos": [{
|
|
1954
|
-
via: [
|
|
1944
|
+
via: [z]
|
|
1955
1945
|
}],
|
|
1956
1946
|
/**
|
|
1957
1947
|
* Gradient Color Stops To Position
|
|
1958
1948
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1959
1949
|
*/
|
|
1960
1950
|
"gradient-to-pos": [{
|
|
1961
|
-
to: [
|
|
1951
|
+
to: [z]
|
|
1962
1952
|
}],
|
|
1963
1953
|
/**
|
|
1964
1954
|
* Gradient Color Stops From
|
|
1965
1955
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1966
1956
|
*/
|
|
1967
1957
|
"gradient-from": [{
|
|
1968
|
-
from: [
|
|
1958
|
+
from: [I]
|
|
1969
1959
|
}],
|
|
1970
1960
|
/**
|
|
1971
1961
|
* Gradient Color Stops Via
|
|
1972
1962
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1973
1963
|
*/
|
|
1974
1964
|
"gradient-via": [{
|
|
1975
|
-
via: [
|
|
1965
|
+
via: [I]
|
|
1976
1966
|
}],
|
|
1977
1967
|
/**
|
|
1978
1968
|
* Gradient Color Stops To
|
|
1979
1969
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1980
1970
|
*/
|
|
1981
1971
|
"gradient-to": [{
|
|
1982
|
-
to: [
|
|
1972
|
+
to: [I]
|
|
1983
1973
|
}],
|
|
1984
1974
|
// Borders
|
|
1985
1975
|
/**
|
|
@@ -2092,84 +2082,84 @@ function Nr() {
|
|
|
2092
2082
|
* @see https://tailwindcss.com/docs/border-width
|
|
2093
2083
|
*/
|
|
2094
2084
|
"border-w": [{
|
|
2095
|
-
border: [
|
|
2085
|
+
border: [u]
|
|
2096
2086
|
}],
|
|
2097
2087
|
/**
|
|
2098
2088
|
* Border Width X
|
|
2099
2089
|
* @see https://tailwindcss.com/docs/border-width
|
|
2100
2090
|
*/
|
|
2101
2091
|
"border-w-x": [{
|
|
2102
|
-
"border-x": [
|
|
2092
|
+
"border-x": [u]
|
|
2103
2093
|
}],
|
|
2104
2094
|
/**
|
|
2105
2095
|
* Border Width Y
|
|
2106
2096
|
* @see https://tailwindcss.com/docs/border-width
|
|
2107
2097
|
*/
|
|
2108
2098
|
"border-w-y": [{
|
|
2109
|
-
"border-y": [
|
|
2099
|
+
"border-y": [u]
|
|
2110
2100
|
}],
|
|
2111
2101
|
/**
|
|
2112
2102
|
* Border Width Start
|
|
2113
2103
|
* @see https://tailwindcss.com/docs/border-width
|
|
2114
2104
|
*/
|
|
2115
2105
|
"border-w-s": [{
|
|
2116
|
-
"border-s": [
|
|
2106
|
+
"border-s": [u]
|
|
2117
2107
|
}],
|
|
2118
2108
|
/**
|
|
2119
2109
|
* Border Width End
|
|
2120
2110
|
* @see https://tailwindcss.com/docs/border-width
|
|
2121
2111
|
*/
|
|
2122
2112
|
"border-w-e": [{
|
|
2123
|
-
"border-e": [
|
|
2113
|
+
"border-e": [u]
|
|
2124
2114
|
}],
|
|
2125
2115
|
/**
|
|
2126
2116
|
* Border Width Top
|
|
2127
2117
|
* @see https://tailwindcss.com/docs/border-width
|
|
2128
2118
|
*/
|
|
2129
2119
|
"border-w-t": [{
|
|
2130
|
-
"border-t": [
|
|
2120
|
+
"border-t": [u]
|
|
2131
2121
|
}],
|
|
2132
2122
|
/**
|
|
2133
2123
|
* Border Width Right
|
|
2134
2124
|
* @see https://tailwindcss.com/docs/border-width
|
|
2135
2125
|
*/
|
|
2136
2126
|
"border-w-r": [{
|
|
2137
|
-
"border-r": [
|
|
2127
|
+
"border-r": [u]
|
|
2138
2128
|
}],
|
|
2139
2129
|
/**
|
|
2140
2130
|
* Border Width Bottom
|
|
2141
2131
|
* @see https://tailwindcss.com/docs/border-width
|
|
2142
2132
|
*/
|
|
2143
2133
|
"border-w-b": [{
|
|
2144
|
-
"border-b": [
|
|
2134
|
+
"border-b": [u]
|
|
2145
2135
|
}],
|
|
2146
2136
|
/**
|
|
2147
2137
|
* Border Width Left
|
|
2148
2138
|
* @see https://tailwindcss.com/docs/border-width
|
|
2149
2139
|
*/
|
|
2150
2140
|
"border-w-l": [{
|
|
2151
|
-
"border-l": [
|
|
2141
|
+
"border-l": [u]
|
|
2152
2142
|
}],
|
|
2153
2143
|
/**
|
|
2154
2144
|
* Border Opacity
|
|
2155
2145
|
* @see https://tailwindcss.com/docs/border-opacity
|
|
2156
2146
|
*/
|
|
2157
2147
|
"border-opacity": [{
|
|
2158
|
-
"border-opacity": [
|
|
2148
|
+
"border-opacity": [P]
|
|
2159
2149
|
}],
|
|
2160
2150
|
/**
|
|
2161
2151
|
* Border Style
|
|
2162
2152
|
* @see https://tailwindcss.com/docs/border-style
|
|
2163
2153
|
*/
|
|
2164
2154
|
"border-style": [{
|
|
2165
|
-
border: [...
|
|
2155
|
+
border: [...X(), "hidden"]
|
|
2166
2156
|
}],
|
|
2167
2157
|
/**
|
|
2168
2158
|
* Divide Width X
|
|
2169
2159
|
* @see https://tailwindcss.com/docs/divide-width
|
|
2170
2160
|
*/
|
|
2171
2161
|
"divide-x": [{
|
|
2172
|
-
"divide-x": [
|
|
2162
|
+
"divide-x": [u]
|
|
2173
2163
|
}],
|
|
2174
2164
|
/**
|
|
2175
2165
|
* Divide Width X Reverse
|
|
@@ -2181,7 +2171,7 @@ function Nr() {
|
|
|
2181
2171
|
* @see https://tailwindcss.com/docs/divide-width
|
|
2182
2172
|
*/
|
|
2183
2173
|
"divide-y": [{
|
|
2184
|
-
"divide-y": [
|
|
2174
|
+
"divide-y": [u]
|
|
2185
2175
|
}],
|
|
2186
2176
|
/**
|
|
2187
2177
|
* Divide Width Y Reverse
|
|
@@ -2193,14 +2183,14 @@ function Nr() {
|
|
|
2193
2183
|
* @see https://tailwindcss.com/docs/divide-opacity
|
|
2194
2184
|
*/
|
|
2195
2185
|
"divide-opacity": [{
|
|
2196
|
-
"divide-opacity": [
|
|
2186
|
+
"divide-opacity": [P]
|
|
2197
2187
|
}],
|
|
2198
2188
|
/**
|
|
2199
2189
|
* Divide Style
|
|
2200
2190
|
* @see https://tailwindcss.com/docs/divide-style
|
|
2201
2191
|
*/
|
|
2202
2192
|
"divide-style": [{
|
|
2203
|
-
divide:
|
|
2193
|
+
divide: X()
|
|
2204
2194
|
}],
|
|
2205
2195
|
/**
|
|
2206
2196
|
* Border Color
|
|
@@ -2263,21 +2253,21 @@ function Nr() {
|
|
|
2263
2253
|
* @see https://tailwindcss.com/docs/outline-style
|
|
2264
2254
|
*/
|
|
2265
2255
|
"outline-style": [{
|
|
2266
|
-
outline: ["", ...
|
|
2256
|
+
outline: ["", ...X()]
|
|
2267
2257
|
}],
|
|
2268
2258
|
/**
|
|
2269
2259
|
* Outline Offset
|
|
2270
2260
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
2271
2261
|
*/
|
|
2272
2262
|
"outline-offset": [{
|
|
2273
|
-
"outline-offset": [
|
|
2263
|
+
"outline-offset": [D, h]
|
|
2274
2264
|
}],
|
|
2275
2265
|
/**
|
|
2276
2266
|
* Outline Width
|
|
2277
2267
|
* @see https://tailwindcss.com/docs/outline-width
|
|
2278
2268
|
*/
|
|
2279
2269
|
"outline-w": [{
|
|
2280
|
-
outline: [
|
|
2270
|
+
outline: [D, L]
|
|
2281
2271
|
}],
|
|
2282
2272
|
/**
|
|
2283
2273
|
* Outline Color
|
|
@@ -2291,7 +2281,7 @@ function Nr() {
|
|
|
2291
2281
|
* @see https://tailwindcss.com/docs/ring-width
|
|
2292
2282
|
*/
|
|
2293
2283
|
"ring-w": [{
|
|
2294
|
-
ring:
|
|
2284
|
+
ring: M()
|
|
2295
2285
|
}],
|
|
2296
2286
|
/**
|
|
2297
2287
|
* Ring Width Inset
|
|
@@ -2310,14 +2300,14 @@ function Nr() {
|
|
|
2310
2300
|
* @see https://tailwindcss.com/docs/ring-opacity
|
|
2311
2301
|
*/
|
|
2312
2302
|
"ring-opacity": [{
|
|
2313
|
-
"ring-opacity": [
|
|
2303
|
+
"ring-opacity": [P]
|
|
2314
2304
|
}],
|
|
2315
2305
|
/**
|
|
2316
2306
|
* Ring Offset Width
|
|
2317
2307
|
* @see https://tailwindcss.com/docs/ring-offset-width
|
|
2318
2308
|
*/
|
|
2319
2309
|
"ring-offset-w": [{
|
|
2320
|
-
"ring-offset": [
|
|
2310
|
+
"ring-offset": [D, L]
|
|
2321
2311
|
}],
|
|
2322
2312
|
/**
|
|
2323
2313
|
* Ring Offset Color
|
|
@@ -2339,28 +2329,28 @@ function Nr() {
|
|
|
2339
2329
|
* @see https://tailwindcss.com/docs/box-shadow-color
|
|
2340
2330
|
*/
|
|
2341
2331
|
"shadow-color": [{
|
|
2342
|
-
shadow: [
|
|
2332
|
+
shadow: [ve]
|
|
2343
2333
|
}],
|
|
2344
2334
|
/**
|
|
2345
2335
|
* Opacity
|
|
2346
2336
|
* @see https://tailwindcss.com/docs/opacity
|
|
2347
2337
|
*/
|
|
2348
2338
|
opacity: [{
|
|
2349
|
-
opacity: [
|
|
2339
|
+
opacity: [P]
|
|
2350
2340
|
}],
|
|
2351
2341
|
/**
|
|
2352
2342
|
* Mix Blend Mode
|
|
2353
2343
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
2354
2344
|
*/
|
|
2355
2345
|
"mix-blend": [{
|
|
2356
|
-
"mix-blend": [...
|
|
2346
|
+
"mix-blend": [...ue(), "plus-lighter", "plus-darker"]
|
|
2357
2347
|
}],
|
|
2358
2348
|
/**
|
|
2359
2349
|
* Background Blend Mode
|
|
2360
2350
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
2361
2351
|
*/
|
|
2362
2352
|
"bg-blend": [{
|
|
2363
|
-
"bg-blend":
|
|
2353
|
+
"bg-blend": ue()
|
|
2364
2354
|
}],
|
|
2365
2355
|
// Filters
|
|
2366
2356
|
/**
|
|
@@ -2376,7 +2366,7 @@ function Nr() {
|
|
|
2376
2366
|
* @see https://tailwindcss.com/docs/blur
|
|
2377
2367
|
*/
|
|
2378
2368
|
blur: [{
|
|
2379
|
-
blur: [
|
|
2369
|
+
blur: [r]
|
|
2380
2370
|
}],
|
|
2381
2371
|
/**
|
|
2382
2372
|
* Brightness
|
|
@@ -2390,7 +2380,7 @@ function Nr() {
|
|
|
2390
2380
|
* @see https://tailwindcss.com/docs/contrast
|
|
2391
2381
|
*/
|
|
2392
2382
|
contrast: [{
|
|
2393
|
-
contrast: [
|
|
2383
|
+
contrast: [c]
|
|
2394
2384
|
}],
|
|
2395
2385
|
/**
|
|
2396
2386
|
* Drop Shadow
|
|
@@ -2404,7 +2394,7 @@ function Nr() {
|
|
|
2404
2394
|
* @see https://tailwindcss.com/docs/grayscale
|
|
2405
2395
|
*/
|
|
2406
2396
|
grayscale: [{
|
|
2407
|
-
grayscale: [
|
|
2397
|
+
grayscale: [g]
|
|
2408
2398
|
}],
|
|
2409
2399
|
/**
|
|
2410
2400
|
* Hue Rotate
|
|
@@ -2418,21 +2408,21 @@ function Nr() {
|
|
|
2418
2408
|
* @see https://tailwindcss.com/docs/invert
|
|
2419
2409
|
*/
|
|
2420
2410
|
invert: [{
|
|
2421
|
-
invert: [
|
|
2411
|
+
invert: [m]
|
|
2422
2412
|
}],
|
|
2423
2413
|
/**
|
|
2424
2414
|
* Saturate
|
|
2425
2415
|
* @see https://tailwindcss.com/docs/saturate
|
|
2426
2416
|
*/
|
|
2427
2417
|
saturate: [{
|
|
2428
|
-
saturate: [
|
|
2418
|
+
saturate: [K]
|
|
2429
2419
|
}],
|
|
2430
2420
|
/**
|
|
2431
2421
|
* Sepia
|
|
2432
2422
|
* @see https://tailwindcss.com/docs/sepia
|
|
2433
2423
|
*/
|
|
2434
2424
|
sepia: [{
|
|
2435
|
-
sepia: [
|
|
2425
|
+
sepia: [xe]
|
|
2436
2426
|
}],
|
|
2437
2427
|
/**
|
|
2438
2428
|
* Backdrop Filter
|
|
@@ -2447,7 +2437,7 @@ function Nr() {
|
|
|
2447
2437
|
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
2448
2438
|
*/
|
|
2449
2439
|
"backdrop-blur": [{
|
|
2450
|
-
"backdrop-blur": [
|
|
2440
|
+
"backdrop-blur": [r]
|
|
2451
2441
|
}],
|
|
2452
2442
|
/**
|
|
2453
2443
|
* Backdrop Brightness
|
|
@@ -2461,14 +2451,14 @@ function Nr() {
|
|
|
2461
2451
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
2462
2452
|
*/
|
|
2463
2453
|
"backdrop-contrast": [{
|
|
2464
|
-
"backdrop-contrast": [
|
|
2454
|
+
"backdrop-contrast": [c]
|
|
2465
2455
|
}],
|
|
2466
2456
|
/**
|
|
2467
2457
|
* Backdrop Grayscale
|
|
2468
2458
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
2469
2459
|
*/
|
|
2470
2460
|
"backdrop-grayscale": [{
|
|
2471
|
-
"backdrop-grayscale": [
|
|
2461
|
+
"backdrop-grayscale": [g]
|
|
2472
2462
|
}],
|
|
2473
2463
|
/**
|
|
2474
2464
|
* Backdrop Hue Rotate
|
|
@@ -2482,28 +2472,28 @@ function Nr() {
|
|
|
2482
2472
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
2483
2473
|
*/
|
|
2484
2474
|
"backdrop-invert": [{
|
|
2485
|
-
"backdrop-invert": [
|
|
2475
|
+
"backdrop-invert": [m]
|
|
2486
2476
|
}],
|
|
2487
2477
|
/**
|
|
2488
2478
|
* Backdrop Opacity
|
|
2489
2479
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
2490
2480
|
*/
|
|
2491
2481
|
"backdrop-opacity": [{
|
|
2492
|
-
"backdrop-opacity": [
|
|
2482
|
+
"backdrop-opacity": [P]
|
|
2493
2483
|
}],
|
|
2494
2484
|
/**
|
|
2495
2485
|
* Backdrop Saturate
|
|
2496
2486
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
2497
2487
|
*/
|
|
2498
2488
|
"backdrop-saturate": [{
|
|
2499
|
-
"backdrop-saturate": [
|
|
2489
|
+
"backdrop-saturate": [K]
|
|
2500
2490
|
}],
|
|
2501
2491
|
/**
|
|
2502
2492
|
* Backdrop Sepia
|
|
2503
2493
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
2504
2494
|
*/
|
|
2505
2495
|
"backdrop-sepia": [{
|
|
2506
|
-
"backdrop-sepia": [
|
|
2496
|
+
"backdrop-sepia": [xe]
|
|
2507
2497
|
}],
|
|
2508
2498
|
// Tables
|
|
2509
2499
|
/**
|
|
@@ -2518,21 +2508,21 @@ function Nr() {
|
|
|
2518
2508
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2519
2509
|
*/
|
|
2520
2510
|
"border-spacing": [{
|
|
2521
|
-
"border-spacing": [
|
|
2511
|
+
"border-spacing": [s]
|
|
2522
2512
|
}],
|
|
2523
2513
|
/**
|
|
2524
2514
|
* Border Spacing X
|
|
2525
2515
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2526
2516
|
*/
|
|
2527
2517
|
"border-spacing-x": [{
|
|
2528
|
-
"border-spacing-x": [
|
|
2518
|
+
"border-spacing-x": [s]
|
|
2529
2519
|
}],
|
|
2530
2520
|
/**
|
|
2531
2521
|
* Border Spacing Y
|
|
2532
2522
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2533
2523
|
*/
|
|
2534
2524
|
"border-spacing-y": [{
|
|
2535
|
-
"border-spacing-y": [
|
|
2525
|
+
"border-spacing-y": [s]
|
|
2536
2526
|
}],
|
|
2537
2527
|
/**
|
|
2538
2528
|
* Table Layout
|
|
@@ -2561,7 +2551,7 @@ function Nr() {
|
|
|
2561
2551
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
2562
2552
|
*/
|
|
2563
2553
|
duration: [{
|
|
2564
|
-
duration:
|
|
2554
|
+
duration: H()
|
|
2565
2555
|
}],
|
|
2566
2556
|
/**
|
|
2567
2557
|
* Transition Timing Function
|
|
@@ -2575,7 +2565,7 @@ function Nr() {
|
|
|
2575
2565
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
2576
2566
|
*/
|
|
2577
2567
|
delay: [{
|
|
2578
|
-
delay:
|
|
2568
|
+
delay: H()
|
|
2579
2569
|
}],
|
|
2580
2570
|
/**
|
|
2581
2571
|
* Animation
|
|
@@ -2597,56 +2587,56 @@ function Nr() {
|
|
|
2597
2587
|
* @see https://tailwindcss.com/docs/scale
|
|
2598
2588
|
*/
|
|
2599
2589
|
scale: [{
|
|
2600
|
-
scale: [
|
|
2590
|
+
scale: [ie]
|
|
2601
2591
|
}],
|
|
2602
2592
|
/**
|
|
2603
2593
|
* Scale X
|
|
2604
2594
|
* @see https://tailwindcss.com/docs/scale
|
|
2605
2595
|
*/
|
|
2606
2596
|
"scale-x": [{
|
|
2607
|
-
"scale-x": [
|
|
2597
|
+
"scale-x": [ie]
|
|
2608
2598
|
}],
|
|
2609
2599
|
/**
|
|
2610
2600
|
* Scale Y
|
|
2611
2601
|
* @see https://tailwindcss.com/docs/scale
|
|
2612
2602
|
*/
|
|
2613
2603
|
"scale-y": [{
|
|
2614
|
-
"scale-y": [
|
|
2604
|
+
"scale-y": [ie]
|
|
2615
2605
|
}],
|
|
2616
2606
|
/**
|
|
2617
2607
|
* Rotate
|
|
2618
2608
|
* @see https://tailwindcss.com/docs/rotate
|
|
2619
2609
|
*/
|
|
2620
2610
|
rotate: [{
|
|
2621
|
-
rotate: [
|
|
2611
|
+
rotate: [he, h]
|
|
2622
2612
|
}],
|
|
2623
2613
|
/**
|
|
2624
2614
|
* Translate X
|
|
2625
2615
|
* @see https://tailwindcss.com/docs/translate
|
|
2626
2616
|
*/
|
|
2627
2617
|
"translate-x": [{
|
|
2628
|
-
"translate-x": [
|
|
2618
|
+
"translate-x": [ke]
|
|
2629
2619
|
}],
|
|
2630
2620
|
/**
|
|
2631
2621
|
* Translate Y
|
|
2632
2622
|
* @see https://tailwindcss.com/docs/translate
|
|
2633
2623
|
*/
|
|
2634
2624
|
"translate-y": [{
|
|
2635
|
-
"translate-y": [
|
|
2625
|
+
"translate-y": [ke]
|
|
2636
2626
|
}],
|
|
2637
2627
|
/**
|
|
2638
2628
|
* Skew X
|
|
2639
2629
|
* @see https://tailwindcss.com/docs/skew
|
|
2640
2630
|
*/
|
|
2641
2631
|
"skew-x": [{
|
|
2642
|
-
"skew-x": [
|
|
2632
|
+
"skew-x": [ye]
|
|
2643
2633
|
}],
|
|
2644
2634
|
/**
|
|
2645
2635
|
* Skew Y
|
|
2646
2636
|
* @see https://tailwindcss.com/docs/skew
|
|
2647
2637
|
*/
|
|
2648
2638
|
"skew-y": [{
|
|
2649
|
-
"skew-y": [
|
|
2639
|
+
"skew-y": [ye]
|
|
2650
2640
|
}],
|
|
2651
2641
|
/**
|
|
2652
2642
|
* Transform Origin
|
|
@@ -2710,126 +2700,126 @@ function Nr() {
|
|
|
2710
2700
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2711
2701
|
*/
|
|
2712
2702
|
"scroll-m": [{
|
|
2713
|
-
"scroll-m":
|
|
2703
|
+
"scroll-m": j()
|
|
2714
2704
|
}],
|
|
2715
2705
|
/**
|
|
2716
2706
|
* Scroll Margin X
|
|
2717
2707
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2718
2708
|
*/
|
|
2719
2709
|
"scroll-mx": [{
|
|
2720
|
-
"scroll-mx":
|
|
2710
|
+
"scroll-mx": j()
|
|
2721
2711
|
}],
|
|
2722
2712
|
/**
|
|
2723
2713
|
* Scroll Margin Y
|
|
2724
2714
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2725
2715
|
*/
|
|
2726
2716
|
"scroll-my": [{
|
|
2727
|
-
"scroll-my":
|
|
2717
|
+
"scroll-my": j()
|
|
2728
2718
|
}],
|
|
2729
2719
|
/**
|
|
2730
2720
|
* Scroll Margin Start
|
|
2731
2721
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2732
2722
|
*/
|
|
2733
2723
|
"scroll-ms": [{
|
|
2734
|
-
"scroll-ms":
|
|
2724
|
+
"scroll-ms": j()
|
|
2735
2725
|
}],
|
|
2736
2726
|
/**
|
|
2737
2727
|
* Scroll Margin End
|
|
2738
2728
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2739
2729
|
*/
|
|
2740
2730
|
"scroll-me": [{
|
|
2741
|
-
"scroll-me":
|
|
2731
|
+
"scroll-me": j()
|
|
2742
2732
|
}],
|
|
2743
2733
|
/**
|
|
2744
2734
|
* Scroll Margin Top
|
|
2745
2735
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2746
2736
|
*/
|
|
2747
2737
|
"scroll-mt": [{
|
|
2748
|
-
"scroll-mt":
|
|
2738
|
+
"scroll-mt": j()
|
|
2749
2739
|
}],
|
|
2750
2740
|
/**
|
|
2751
2741
|
* Scroll Margin Right
|
|
2752
2742
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2753
2743
|
*/
|
|
2754
2744
|
"scroll-mr": [{
|
|
2755
|
-
"scroll-mr":
|
|
2745
|
+
"scroll-mr": j()
|
|
2756
2746
|
}],
|
|
2757
2747
|
/**
|
|
2758
2748
|
* Scroll Margin Bottom
|
|
2759
2749
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2760
2750
|
*/
|
|
2761
2751
|
"scroll-mb": [{
|
|
2762
|
-
"scroll-mb":
|
|
2752
|
+
"scroll-mb": j()
|
|
2763
2753
|
}],
|
|
2764
2754
|
/**
|
|
2765
2755
|
* Scroll Margin Left
|
|
2766
2756
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2767
2757
|
*/
|
|
2768
2758
|
"scroll-ml": [{
|
|
2769
|
-
"scroll-ml":
|
|
2759
|
+
"scroll-ml": j()
|
|
2770
2760
|
}],
|
|
2771
2761
|
/**
|
|
2772
2762
|
* Scroll Padding
|
|
2773
2763
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2774
2764
|
*/
|
|
2775
2765
|
"scroll-p": [{
|
|
2776
|
-
"scroll-p":
|
|
2766
|
+
"scroll-p": j()
|
|
2777
2767
|
}],
|
|
2778
2768
|
/**
|
|
2779
2769
|
* Scroll Padding X
|
|
2780
2770
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2781
2771
|
*/
|
|
2782
2772
|
"scroll-px": [{
|
|
2783
|
-
"scroll-px":
|
|
2773
|
+
"scroll-px": j()
|
|
2784
2774
|
}],
|
|
2785
2775
|
/**
|
|
2786
2776
|
* Scroll Padding Y
|
|
2787
2777
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2788
2778
|
*/
|
|
2789
2779
|
"scroll-py": [{
|
|
2790
|
-
"scroll-py":
|
|
2780
|
+
"scroll-py": j()
|
|
2791
2781
|
}],
|
|
2792
2782
|
/**
|
|
2793
2783
|
* Scroll Padding Start
|
|
2794
2784
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2795
2785
|
*/
|
|
2796
2786
|
"scroll-ps": [{
|
|
2797
|
-
"scroll-ps":
|
|
2787
|
+
"scroll-ps": j()
|
|
2798
2788
|
}],
|
|
2799
2789
|
/**
|
|
2800
2790
|
* Scroll Padding End
|
|
2801
2791
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2802
2792
|
*/
|
|
2803
2793
|
"scroll-pe": [{
|
|
2804
|
-
"scroll-pe":
|
|
2794
|
+
"scroll-pe": j()
|
|
2805
2795
|
}],
|
|
2806
2796
|
/**
|
|
2807
2797
|
* Scroll Padding Top
|
|
2808
2798
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2809
2799
|
*/
|
|
2810
2800
|
"scroll-pt": [{
|
|
2811
|
-
"scroll-pt":
|
|
2801
|
+
"scroll-pt": j()
|
|
2812
2802
|
}],
|
|
2813
2803
|
/**
|
|
2814
2804
|
* Scroll Padding Right
|
|
2815
2805
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2816
2806
|
*/
|
|
2817
2807
|
"scroll-pr": [{
|
|
2818
|
-
"scroll-pr":
|
|
2808
|
+
"scroll-pr": j()
|
|
2819
2809
|
}],
|
|
2820
2810
|
/**
|
|
2821
2811
|
* Scroll Padding Bottom
|
|
2822
2812
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2823
2813
|
*/
|
|
2824
2814
|
"scroll-pb": [{
|
|
2825
|
-
"scroll-pb":
|
|
2815
|
+
"scroll-pb": j()
|
|
2826
2816
|
}],
|
|
2827
2817
|
/**
|
|
2828
2818
|
* Scroll Padding Left
|
|
2829
2819
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2830
2820
|
*/
|
|
2831
2821
|
"scroll-pl": [{
|
|
2832
|
-
"scroll-pl":
|
|
2822
|
+
"scroll-pl": j()
|
|
2833
2823
|
}],
|
|
2834
2824
|
/**
|
|
2835
2825
|
* Scroll Snap Align
|
|
@@ -2912,7 +2902,7 @@ function Nr() {
|
|
|
2912
2902
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
2913
2903
|
*/
|
|
2914
2904
|
"stroke-w": [{
|
|
2915
|
-
stroke: [
|
|
2905
|
+
stroke: [D, L, Re]
|
|
2916
2906
|
}],
|
|
2917
2907
|
/**
|
|
2918
2908
|
* Stroke
|
|
@@ -2988,67 +2978,58 @@ function Nr() {
|
|
|
2988
2978
|
}
|
|
2989
2979
|
};
|
|
2990
2980
|
}
|
|
2991
|
-
const zr = /* @__PURE__ */
|
|
2981
|
+
const zr = /* @__PURE__ */ pr(Nr), W = (...t) => zr(ee(t));
|
|
2992
2982
|
function wt(t) {
|
|
2993
|
-
var
|
|
2994
|
-
if (typeof t == "string" || typeof t == "number")
|
|
2995
|
-
|
|
2996
|
-
else
|
|
2997
|
-
if (Array.isArray(t))
|
|
2998
|
-
for (r = 0; r < t.length; r++)
|
|
2999
|
-
t[r] && (n = wt(t[r])) && (o && (o += " "), o += n);
|
|
3000
|
-
else
|
|
3001
|
-
for (r in t)
|
|
3002
|
-
t[r] && (o && (o += " "), o += r);
|
|
2983
|
+
var n, r, o = "";
|
|
2984
|
+
if (typeof t == "string" || typeof t == "number") o += t;
|
|
2985
|
+
else if (typeof t == "object") if (Array.isArray(t)) for (n = 0; n < t.length; n++) t[n] && (r = wt(t[n])) && (o && (o += " "), o += r);
|
|
2986
|
+
else for (n in t) t[n] && (o && (o += " "), o += n);
|
|
3003
2987
|
return o;
|
|
3004
2988
|
}
|
|
3005
|
-
function
|
|
3006
|
-
for (var t,
|
|
3007
|
-
(t = arguments[n++]) && (r = wt(t)) && (o && (o += " "), o += r);
|
|
2989
|
+
function Mr() {
|
|
2990
|
+
for (var t, n, r = 0, o = ""; r < arguments.length; ) (t = arguments[r++]) && (n = wt(t)) && (o && (o += " "), o += n);
|
|
3008
2991
|
return o;
|
|
3009
2992
|
}
|
|
3010
|
-
const ut = (t) => typeof t == "boolean" ? "".concat(t) : t === 0 ? "0" : t, bt =
|
|
2993
|
+
const ut = (t) => typeof t == "boolean" ? "".concat(t) : t === 0 ? "0" : t, bt = Mr, $ = (t, n) => (r) => {
|
|
3011
2994
|
var o;
|
|
3012
|
-
if ((
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
-
|
|
3021
|
-
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
|
|
3026
|
-
let [E, _] = O;
|
|
3027
|
-
return Array.isArray(_) ? _.includes({
|
|
2995
|
+
if ((n == null ? void 0 : n.variants) == null) return bt(t, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
|
|
2996
|
+
const { variants: i, defaultVariants: a } = n, s = Object.keys(i).map((g) => {
|
|
2997
|
+
const f = r == null ? void 0 : r[g], m = a == null ? void 0 : a[g];
|
|
2998
|
+
if (f === null) return null;
|
|
2999
|
+
const v = ut(f) || ut(m);
|
|
3000
|
+
return i[g][v];
|
|
3001
|
+
}), u = r && Object.entries(r).reduce((g, f) => {
|
|
3002
|
+
let [m, v] = f;
|
|
3003
|
+
return v === void 0 || (g[m] = v), g;
|
|
3004
|
+
}, {}), c = n == null || (o = n.compoundVariants) === null || o === void 0 ? void 0 : o.reduce((g, f) => {
|
|
3005
|
+
let { class: m, className: v, ...I } = f;
|
|
3006
|
+
return Object.entries(I).every((z) => {
|
|
3007
|
+
let [S, R] = z;
|
|
3008
|
+
return Array.isArray(R) ? R.includes({
|
|
3028
3009
|
...a,
|
|
3029
|
-
...
|
|
3030
|
-
}[
|
|
3010
|
+
...u
|
|
3011
|
+
}[S]) : {
|
|
3031
3012
|
...a,
|
|
3032
|
-
...
|
|
3033
|
-
}[
|
|
3013
|
+
...u
|
|
3014
|
+
}[S] === R;
|
|
3034
3015
|
}) ? [
|
|
3035
|
-
...
|
|
3036
|
-
|
|
3037
|
-
|
|
3038
|
-
] :
|
|
3016
|
+
...g,
|
|
3017
|
+
m,
|
|
3018
|
+
v
|
|
3019
|
+
] : g;
|
|
3039
3020
|
}, []);
|
|
3040
|
-
return bt(t,
|
|
3041
|
-
}, kt =
|
|
3042
|
-
({ iconName: t, stroke:
|
|
3043
|
-
if (
|
|
3044
|
-
const i =
|
|
3045
|
-
return /* @__PURE__ */
|
|
3021
|
+
return bt(t, s, c, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
|
|
3022
|
+
}, kt = B(
|
|
3023
|
+
({ iconName: t, stroke: n = 1, ...r }, o) => {
|
|
3024
|
+
if (st[t]) {
|
|
3025
|
+
const i = st[t];
|
|
3026
|
+
return /* @__PURE__ */ b.jsx(i, { ref: o, stroke: n, ...r });
|
|
3046
3027
|
} else
|
|
3047
3028
|
return console.error(`Icon ${t} not found`), null;
|
|
3048
3029
|
}
|
|
3049
3030
|
);
|
|
3050
3031
|
kt.displayName = "IconComponent";
|
|
3051
|
-
const
|
|
3032
|
+
const O = kt, $r = "!border-sm flex w-fit items-center justify-center gap-2 rounded-sm transition-colors", Vr = $($r, {
|
|
3052
3033
|
variants: {
|
|
3053
3034
|
status: {
|
|
3054
3035
|
notStarted: "border-border-transparent bg-bg-accent-ice-subtle text-content-text-default",
|
|
@@ -3107,49 +3088,49 @@ const N = kt, Mr = "!border-sm flex w-fit items-center justify-center gap-2 roun
|
|
|
3107
3088
|
weight: "regular",
|
|
3108
3089
|
rounded: "rectangle"
|
|
3109
3090
|
}
|
|
3110
|
-
}),
|
|
3091
|
+
}), jt = B(
|
|
3111
3092
|
({
|
|
3112
3093
|
children: t,
|
|
3113
|
-
iconLeft:
|
|
3114
|
-
iconRight:
|
|
3094
|
+
iconLeft: n,
|
|
3095
|
+
iconRight: r,
|
|
3115
3096
|
status: o,
|
|
3116
3097
|
intent: i,
|
|
3117
3098
|
size: a = "medium",
|
|
3118
|
-
rounded:
|
|
3119
|
-
weight:
|
|
3120
|
-
className:
|
|
3121
|
-
...
|
|
3099
|
+
rounded: s = "rectangle",
|
|
3100
|
+
weight: u,
|
|
3101
|
+
className: c,
|
|
3102
|
+
...g
|
|
3122
3103
|
}, f) => {
|
|
3123
|
-
typeof
|
|
3124
|
-
const
|
|
3104
|
+
typeof n == "string" && (n = { name: n }), typeof r == "string" && (r = { name: r });
|
|
3105
|
+
const m = {
|
|
3125
3106
|
small: "h-4",
|
|
3126
3107
|
medium: "h-4",
|
|
3127
3108
|
large: "h-5"
|
|
3128
|
-
},
|
|
3129
|
-
return /* @__PURE__ */
|
|
3109
|
+
}, v = o ? { status: o } : { intent: i };
|
|
3110
|
+
return /* @__PURE__ */ b.jsxs(
|
|
3130
3111
|
"span",
|
|
3131
3112
|
{
|
|
3132
3113
|
ref: f,
|
|
3133
3114
|
className: W(
|
|
3134
|
-
|
|
3115
|
+
Vr({ ...v, size: a, rounded: s, weight: u, className: c })
|
|
3135
3116
|
),
|
|
3136
|
-
...
|
|
3117
|
+
...g,
|
|
3137
3118
|
children: [
|
|
3138
|
-
|
|
3139
|
-
|
|
3119
|
+
n && /* @__PURE__ */ b.jsx(
|
|
3120
|
+
O,
|
|
3140
3121
|
{
|
|
3141
|
-
iconName:
|
|
3142
|
-
stroke:
|
|
3143
|
-
className:
|
|
3122
|
+
iconName: n.name,
|
|
3123
|
+
stroke: n.stroke,
|
|
3124
|
+
className: m[a || "medium"]
|
|
3144
3125
|
}
|
|
3145
3126
|
),
|
|
3146
3127
|
t,
|
|
3147
|
-
|
|
3148
|
-
|
|
3128
|
+
r && /* @__PURE__ */ b.jsx(
|
|
3129
|
+
O,
|
|
3149
3130
|
{
|
|
3150
|
-
iconName:
|
|
3151
|
-
stroke:
|
|
3152
|
-
className:
|
|
3131
|
+
iconName: r.name,
|
|
3132
|
+
stroke: r.stroke,
|
|
3133
|
+
className: m[a || "medium"]
|
|
3153
3134
|
}
|
|
3154
3135
|
)
|
|
3155
3136
|
]
|
|
@@ -3157,14 +3138,14 @@ const N = kt, Mr = "!border-sm flex w-fit items-center justify-center gap-2 roun
|
|
|
3157
3138
|
);
|
|
3158
3139
|
}
|
|
3159
3140
|
);
|
|
3160
|
-
|
|
3161
|
-
const ln =
|
|
3162
|
-
|
|
3141
|
+
jt.displayName = "Badge";
|
|
3142
|
+
const ln = jt, De = ({ className: t }) => /* @__PURE__ */ b.jsx(
|
|
3143
|
+
O,
|
|
3163
3144
|
{
|
|
3164
3145
|
iconName: "IconLoader2",
|
|
3165
3146
|
className: `${t} animate-spin`
|
|
3166
3147
|
}
|
|
3167
|
-
), Be = "flex items-center justify-center gap-2 rounded-sm !border-xs transition-colors",
|
|
3148
|
+
), Be = "flex items-center justify-center gap-2 rounded-sm !border-xs transition-colors", Fr = $(Be, {
|
|
3168
3149
|
variants: {
|
|
3169
3150
|
intent: {
|
|
3170
3151
|
primary: [
|
|
@@ -3251,7 +3232,7 @@ const ln = St, We = ({ className: t }) => /* @__PURE__ */ u.jsx(
|
|
|
3251
3232
|
size: "medium",
|
|
3252
3233
|
weight: "regular"
|
|
3253
3234
|
}
|
|
3254
|
-
}), Wr =
|
|
3235
|
+
}), Wr = $(`${Be} cursor-default`, {
|
|
3255
3236
|
variants: {
|
|
3256
3237
|
intent: {
|
|
3257
3238
|
primary: [
|
|
@@ -3302,7 +3283,7 @@ const ln = St, We = ({ className: t }) => /* @__PURE__ */ u.jsx(
|
|
|
3302
3283
|
size: "medium",
|
|
3303
3284
|
weight: "regular"
|
|
3304
3285
|
}
|
|
3305
|
-
}),
|
|
3286
|
+
}), Dr = $(Be, {
|
|
3306
3287
|
variants: {
|
|
3307
3288
|
intent: {
|
|
3308
3289
|
primary: [
|
|
@@ -3353,50 +3334,50 @@ const ln = St, We = ({ className: t }) => /* @__PURE__ */ u.jsx(
|
|
|
3353
3334
|
size: "medium",
|
|
3354
3335
|
weight: "regular"
|
|
3355
3336
|
}
|
|
3356
|
-
}),
|
|
3337
|
+
}), Ct = B(
|
|
3357
3338
|
({
|
|
3358
3339
|
className: t,
|
|
3359
|
-
intent:
|
|
3360
|
-
size:
|
|
3340
|
+
intent: n,
|
|
3341
|
+
size: r,
|
|
3361
3342
|
weight: o,
|
|
3362
3343
|
children: i,
|
|
3363
3344
|
iconLeft: a,
|
|
3364
|
-
iconRight:
|
|
3365
|
-
isLoading:
|
|
3366
|
-
disabled:
|
|
3367
|
-
...
|
|
3345
|
+
iconRight: s,
|
|
3346
|
+
isLoading: u,
|
|
3347
|
+
disabled: c,
|
|
3348
|
+
...g
|
|
3368
3349
|
}, f) => {
|
|
3369
|
-
typeof a == "string" && (a = { name: a }), typeof
|
|
3370
|
-
const
|
|
3350
|
+
typeof a == "string" && (a = { name: a }), typeof s == "string" && (s = { name: s });
|
|
3351
|
+
const m = {
|
|
3371
3352
|
small: "h-4",
|
|
3372
3353
|
medium: "h-5",
|
|
3373
3354
|
large: "h-5"
|
|
3374
3355
|
};
|
|
3375
|
-
return /* @__PURE__ */
|
|
3356
|
+
return /* @__PURE__ */ b.jsx(
|
|
3376
3357
|
"button",
|
|
3377
3358
|
{
|
|
3378
3359
|
ref: f,
|
|
3379
3360
|
className: W(
|
|
3380
|
-
|
|
3361
|
+
u ? Wr({ intent: n, weight: o, size: r, className: t }) : c ? Dr({ intent: n, weight: o, size: r, className: t }) : Fr({ intent: n, weight: o, size: r, className: t })
|
|
3381
3362
|
),
|
|
3382
|
-
disabled:
|
|
3383
|
-
...
|
|
3384
|
-
children:
|
|
3385
|
-
a && /* @__PURE__ */
|
|
3386
|
-
|
|
3363
|
+
disabled: c || u,
|
|
3364
|
+
...g,
|
|
3365
|
+
children: u ? /* @__PURE__ */ b.jsx(De, { className: m[r || "medium"] }) : /* @__PURE__ */ b.jsxs(b.Fragment, { children: [
|
|
3366
|
+
a && /* @__PURE__ */ b.jsx(
|
|
3367
|
+
O,
|
|
3387
3368
|
{
|
|
3388
3369
|
iconName: a.name,
|
|
3389
3370
|
stroke: a.stroke,
|
|
3390
|
-
className:
|
|
3371
|
+
className: m[r || "medium"]
|
|
3391
3372
|
}
|
|
3392
3373
|
),
|
|
3393
3374
|
i,
|
|
3394
|
-
|
|
3395
|
-
|
|
3375
|
+
s && /* @__PURE__ */ b.jsx(
|
|
3376
|
+
O,
|
|
3396
3377
|
{
|
|
3397
|
-
iconName:
|
|
3398
|
-
stroke:
|
|
3399
|
-
className:
|
|
3378
|
+
iconName: s.name,
|
|
3379
|
+
stroke: s.stroke,
|
|
3380
|
+
className: m[r || "medium"]
|
|
3400
3381
|
}
|
|
3401
3382
|
)
|
|
3402
3383
|
] })
|
|
@@ -3404,8 +3385,8 @@ const ln = St, We = ({ className: t }) => /* @__PURE__ */ u.jsx(
|
|
|
3404
3385
|
);
|
|
3405
3386
|
}
|
|
3406
3387
|
);
|
|
3407
|
-
|
|
3408
|
-
const
|
|
3388
|
+
Ct.displayName = "Button";
|
|
3389
|
+
const cn = Ct, Ge = "flex items-center justify-center transition-colors relative border !border-xs", Br = $(Ge, {
|
|
3409
3390
|
variants: {
|
|
3410
3391
|
intent: {
|
|
3411
3392
|
fill: [
|
|
@@ -3457,7 +3438,7 @@ const sn = jt, De = "flex items-center justify-center transition-colors relative
|
|
|
3457
3438
|
size: "medium",
|
|
3458
3439
|
rounded: "sm"
|
|
3459
3440
|
}
|
|
3460
|
-
}), Gr =
|
|
3441
|
+
}), Gr = $(Ge, {
|
|
3461
3442
|
variants: {
|
|
3462
3443
|
intent: {
|
|
3463
3444
|
fill: [
|
|
@@ -3491,7 +3472,7 @@ const sn = jt, De = "flex items-center justify-center transition-colors relative
|
|
|
3491
3472
|
size: "medium",
|
|
3492
3473
|
rounded: "sm"
|
|
3493
3474
|
}
|
|
3494
|
-
}),
|
|
3475
|
+
}), Ur = $(Ge, {
|
|
3495
3476
|
variants: {
|
|
3496
3477
|
intent: {
|
|
3497
3478
|
fill: [
|
|
@@ -3525,43 +3506,43 @@ const sn = jt, De = "flex items-center justify-center transition-colors relative
|
|
|
3525
3506
|
size: "medium",
|
|
3526
3507
|
rounded: "sm"
|
|
3527
3508
|
}
|
|
3528
|
-
}),
|
|
3509
|
+
}), St = B(
|
|
3529
3510
|
({
|
|
3530
3511
|
iconName: t,
|
|
3531
|
-
className:
|
|
3532
|
-
intent:
|
|
3512
|
+
className: n,
|
|
3513
|
+
intent: r = "fill",
|
|
3533
3514
|
size: o = "medium",
|
|
3534
3515
|
rounded: i,
|
|
3535
3516
|
disabled: a,
|
|
3536
|
-
isLoading:
|
|
3537
|
-
notification:
|
|
3538
|
-
...
|
|
3539
|
-
},
|
|
3517
|
+
isLoading: s,
|
|
3518
|
+
notification: u,
|
|
3519
|
+
...c
|
|
3520
|
+
}, g) => {
|
|
3540
3521
|
typeof t == "string" && (t = { name: t });
|
|
3541
3522
|
const f = {
|
|
3542
3523
|
small: "h-5",
|
|
3543
3524
|
medium: "h-6",
|
|
3544
3525
|
large: "h-6"
|
|
3545
3526
|
};
|
|
3546
|
-
return /* @__PURE__ */
|
|
3527
|
+
return /* @__PURE__ */ b.jsxs(
|
|
3547
3528
|
"button",
|
|
3548
3529
|
{
|
|
3549
|
-
ref:
|
|
3530
|
+
ref: g,
|
|
3550
3531
|
className: W(
|
|
3551
|
-
|
|
3532
|
+
s ? Gr({ intent: r, size: o, rounded: i, className: n }) : a ? Ur({ intent: r, size: o, rounded: i, className: n }) : Br({ intent: r, size: o, rounded: i, className: n })
|
|
3552
3533
|
),
|
|
3553
|
-
disabled: a ||
|
|
3554
|
-
...
|
|
3534
|
+
disabled: a || s,
|
|
3535
|
+
...c,
|
|
3555
3536
|
children: [
|
|
3556
|
-
|
|
3557
|
-
|
|
3537
|
+
u && !s && /* @__PURE__ */ b.jsx(
|
|
3538
|
+
O,
|
|
3558
3539
|
{
|
|
3559
3540
|
iconName: "IconCircleFilled",
|
|
3560
|
-
className: `absolute ${i === "full" ? "right-2 top-2" : "right-1 top-1"} h-[6px] w-[6px] ${
|
|
3541
|
+
className: `absolute ${i === "full" ? "right-2 top-2" : "right-1 top-1"} h-[6px] w-[6px] ${r === "fill" ? "text-button-primary-content-pressed" : "text-button-primary-background-enabled"}`
|
|
3561
3542
|
}
|
|
3562
3543
|
),
|
|
3563
|
-
|
|
3564
|
-
|
|
3544
|
+
s ? /* @__PURE__ */ b.jsx(De, { className: f[o || "medium"] }) : /* @__PURE__ */ b.jsx(b.Fragment, { children: t && /* @__PURE__ */ b.jsx(
|
|
3545
|
+
O,
|
|
3565
3546
|
{
|
|
3566
3547
|
iconName: t.name,
|
|
3567
3548
|
stroke: t.stroke,
|
|
@@ -3573,8 +3554,8 @@ const sn = jt, De = "flex items-center justify-center transition-colors relative
|
|
|
3573
3554
|
);
|
|
3574
3555
|
}
|
|
3575
3556
|
);
|
|
3576
|
-
|
|
3577
|
-
const
|
|
3557
|
+
St.displayName = "ButtonIcon";
|
|
3558
|
+
const Yr = St, Ue = "flex items-center justify-center gap-2 !border-b-xs transition-colors py-1", Lr = $(Ue, {
|
|
3578
3559
|
variants: {
|
|
3579
3560
|
intent: {
|
|
3580
3561
|
primary: [
|
|
@@ -3603,7 +3584,7 @@ const Ur = Ct, Ge = "flex items-center justify-center gap-2 !border-b-xs transit
|
|
|
3603
3584
|
size: "medium",
|
|
3604
3585
|
weight: "regular"
|
|
3605
3586
|
}
|
|
3606
|
-
}), qr =
|
|
3587
|
+
}), qr = $(`${Ue} cursor-default`, {
|
|
3607
3588
|
variants: {
|
|
3608
3589
|
intent: {
|
|
3609
3590
|
primary: [
|
|
@@ -3628,7 +3609,7 @@ const Ur = Ct, Ge = "flex items-center justify-center gap-2 !border-b-xs transit
|
|
|
3628
3609
|
size: "medium",
|
|
3629
3610
|
weight: "regular"
|
|
3630
3611
|
}
|
|
3631
|
-
}), Jr =
|
|
3612
|
+
}), Jr = $(Ue, {
|
|
3632
3613
|
variants: {
|
|
3633
3614
|
intent: {
|
|
3634
3615
|
primary: [
|
|
@@ -3653,50 +3634,50 @@ const Ur = Ct, Ge = "flex items-center justify-center gap-2 !border-b-xs transit
|
|
|
3653
3634
|
size: "medium",
|
|
3654
3635
|
weight: "regular"
|
|
3655
3636
|
}
|
|
3656
|
-
}), Et =
|
|
3637
|
+
}), Et = B(
|
|
3657
3638
|
({
|
|
3658
3639
|
className: t,
|
|
3659
|
-
intent:
|
|
3660
|
-
size:
|
|
3640
|
+
intent: n,
|
|
3641
|
+
size: r,
|
|
3661
3642
|
weight: o,
|
|
3662
3643
|
children: i,
|
|
3663
3644
|
iconLeft: a,
|
|
3664
|
-
iconRight:
|
|
3665
|
-
isLoading:
|
|
3666
|
-
disabled:
|
|
3667
|
-
...
|
|
3645
|
+
iconRight: s,
|
|
3646
|
+
isLoading: u,
|
|
3647
|
+
disabled: c,
|
|
3648
|
+
...g
|
|
3668
3649
|
}, f) => {
|
|
3669
|
-
typeof a == "string" && (a = { name: a }), typeof
|
|
3670
|
-
const
|
|
3650
|
+
typeof a == "string" && (a = { name: a }), typeof s == "string" && (s = { name: s });
|
|
3651
|
+
const m = {
|
|
3671
3652
|
small: "h-5",
|
|
3672
3653
|
medium: "h-5",
|
|
3673
3654
|
large: "h-6"
|
|
3674
3655
|
};
|
|
3675
|
-
return /* @__PURE__ */
|
|
3656
|
+
return /* @__PURE__ */ b.jsx(
|
|
3676
3657
|
"button",
|
|
3677
3658
|
{
|
|
3678
3659
|
ref: f,
|
|
3679
3660
|
className: W(
|
|
3680
|
-
|
|
3661
|
+
u ? qr({ intent: n, weight: o, size: r, className: t }) : c ? Jr({ intent: n, weight: o, size: r, className: t }) : Lr({ intent: n, weight: o, size: r, className: t })
|
|
3681
3662
|
),
|
|
3682
|
-
disabled:
|
|
3683
|
-
...
|
|
3684
|
-
children:
|
|
3685
|
-
a && /* @__PURE__ */
|
|
3686
|
-
|
|
3663
|
+
disabled: c || u,
|
|
3664
|
+
...g,
|
|
3665
|
+
children: u ? /* @__PURE__ */ b.jsx(De, { className: m[r || "medium"] }) : /* @__PURE__ */ b.jsxs(b.Fragment, { children: [
|
|
3666
|
+
a && /* @__PURE__ */ b.jsx(
|
|
3667
|
+
O,
|
|
3687
3668
|
{
|
|
3688
3669
|
iconName: a.name,
|
|
3689
3670
|
stroke: a.stroke,
|
|
3690
|
-
className:
|
|
3671
|
+
className: m[r || "medium"]
|
|
3691
3672
|
}
|
|
3692
3673
|
),
|
|
3693
3674
|
i,
|
|
3694
|
-
|
|
3695
|
-
|
|
3675
|
+
s && /* @__PURE__ */ b.jsx(
|
|
3676
|
+
O,
|
|
3696
3677
|
{
|
|
3697
|
-
iconName:
|
|
3698
|
-
stroke:
|
|
3699
|
-
className:
|
|
3678
|
+
iconName: s.name,
|
|
3679
|
+
stroke: s.stroke,
|
|
3680
|
+
className: m[r || "medium"]
|
|
3700
3681
|
}
|
|
3701
3682
|
)
|
|
3702
3683
|
] })
|
|
@@ -3705,7 +3686,7 @@ const Ur = Ct, Ge = "flex items-center justify-center gap-2 !border-b-xs transit
|
|
|
3705
3686
|
}
|
|
3706
3687
|
);
|
|
3707
3688
|
Et.displayName = "ButtonLink";
|
|
3708
|
-
const
|
|
3689
|
+
const dn = Et, Kr = "flex flex-col gap-3 p-3 rounded-lg", Xr = $(Kr, {
|
|
3709
3690
|
variants: {
|
|
3710
3691
|
intent: {
|
|
3711
3692
|
default: "text-content-primary bg-bg-white",
|
|
@@ -3725,19 +3706,28 @@ const cn = Et, Kr = "flex flex-col gap-3 p-3 rounded-lg", Xr = M(Kr, {
|
|
|
3725
3706
|
intent: "default",
|
|
3726
3707
|
shadow: "none"
|
|
3727
3708
|
}
|
|
3728
|
-
}), Rt =
|
|
3729
|
-
({ className: t, intent:
|
|
3709
|
+
}), Rt = B(
|
|
3710
|
+
({ className: t, intent: n, shadow: r, children: o, ...i }, a) => /* @__PURE__ */ b.jsx(
|
|
3730
3711
|
"div",
|
|
3731
3712
|
{
|
|
3732
3713
|
ref: a,
|
|
3733
|
-
className: W(Xr({ intent:
|
|
3714
|
+
className: W(Xr({ intent: n, shadow: r, className: t })),
|
|
3734
3715
|
...i,
|
|
3735
3716
|
children: o
|
|
3736
3717
|
}
|
|
3737
3718
|
)
|
|
3738
3719
|
);
|
|
3739
3720
|
Rt.displayName = "Card";
|
|
3740
|
-
const
|
|
3721
|
+
const un = Rt, Hr = ({ ref: t, handler: n }) => {
|
|
3722
|
+
ae(() => {
|
|
3723
|
+
const r = (o) => {
|
|
3724
|
+
t.current && !t.current.contains(o.target) && n();
|
|
3725
|
+
};
|
|
3726
|
+
return document.addEventListener("mousedown", r), () => {
|
|
3727
|
+
document.removeEventListener("mousedown", r);
|
|
3728
|
+
};
|
|
3729
|
+
}, [t, n]);
|
|
3730
|
+
}, Zr = "transition-colors", Qr = $(Zr, {
|
|
3741
3731
|
variants: {
|
|
3742
3732
|
intent: {
|
|
3743
3733
|
"display-sm": "text-7xl leading-6xl tracking-tight",
|
|
@@ -3772,188 +3762,276 @@ const dn = Rt, Hr = "transition-colors", Zr = M(Hr, {
|
|
|
3772
3762
|
intent: "paragraph-md",
|
|
3773
3763
|
weight: "regular"
|
|
3774
3764
|
}
|
|
3775
|
-
}),
|
|
3765
|
+
}), J = ({
|
|
3776
3766
|
as: t = "span",
|
|
3777
|
-
intent:
|
|
3778
|
-
className:
|
|
3767
|
+
intent: n,
|
|
3768
|
+
className: r,
|
|
3779
3769
|
weight: o,
|
|
3780
3770
|
...i
|
|
3781
3771
|
}) => {
|
|
3782
3772
|
const a = t;
|
|
3783
|
-
return /* @__PURE__ */
|
|
3773
|
+
return /* @__PURE__ */ b.jsx(
|
|
3784
3774
|
a,
|
|
3785
3775
|
{
|
|
3786
|
-
className: W(
|
|
3776
|
+
className: W(Qr({ intent: n, weight: o, className: r })),
|
|
3787
3777
|
...i
|
|
3788
3778
|
}
|
|
3789
3779
|
);
|
|
3790
|
-
},
|
|
3780
|
+
}, en = B(
|
|
3791
3781
|
({
|
|
3792
3782
|
label: t,
|
|
3793
|
-
iconName:
|
|
3794
|
-
className:
|
|
3783
|
+
iconName: n,
|
|
3784
|
+
className: r,
|
|
3795
3785
|
helperText: o,
|
|
3796
3786
|
error: i,
|
|
3797
3787
|
touched: a,
|
|
3798
|
-
options:
|
|
3799
|
-
placeholder:
|
|
3800
|
-
...
|
|
3801
|
-
},
|
|
3802
|
-
const [f,
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
|
|
3810
|
-
|
|
3811
|
-
|
|
3812
|
-
|
|
3788
|
+
options: s,
|
|
3789
|
+
placeholder: u = "Select an option",
|
|
3790
|
+
...c
|
|
3791
|
+
}, g) => {
|
|
3792
|
+
const [f, m] = se(!1), [v, I] = se(null), [z, S] = se(!1), R = (y) => {
|
|
3793
|
+
var K;
|
|
3794
|
+
(K = c.onChange) == null || K.call(c, y.value), I(y), m(!1);
|
|
3795
|
+
}, P = $e(null);
|
|
3796
|
+
return Hr({
|
|
3797
|
+
ref: P,
|
|
3798
|
+
handler: () => m(!1)
|
|
3799
|
+
}), /* @__PURE__ */ b.jsxs("div", { ref: g, className: W("flex flex-col gap-3", r), children: [
|
|
3800
|
+
t && /* @__PURE__ */ b.jsx("label", { htmlFor: c.id, children: /* @__PURE__ */ b.jsx(J, { intent: "label-lg", weight: "semibold", children: t }) }),
|
|
3801
|
+
/* @__PURE__ */ b.jsxs(
|
|
3802
|
+
"div",
|
|
3803
|
+
{
|
|
3804
|
+
className: "relative w-full",
|
|
3805
|
+
onMouseDown: () => S(!0),
|
|
3806
|
+
onMouseUp: () => S(!1),
|
|
3807
|
+
children: [
|
|
3808
|
+
n && /* @__PURE__ */ b.jsx("span", { className: "absolute left-2 top-1/2 -translate-y-1/2", children: /* @__PURE__ */ b.jsx(O, { iconName: n, size: 16 }) }),
|
|
3809
|
+
/* @__PURE__ */ b.jsxs(
|
|
3810
|
+
"div",
|
|
3813
3811
|
{
|
|
3814
|
-
|
|
3815
|
-
|
|
3816
|
-
|
|
3817
|
-
|
|
3812
|
+
ref: P,
|
|
3813
|
+
className: ee(
|
|
3814
|
+
"flex w-full cursor-pointer items-center justify-between gap-2 rounded-sm border-xs border-border-subtlest p-3 text-left transition-colors placeholder:text-base placeholder:text-content-text-subtlest focus:outline-1 lg:hover:bg-bg-subtle-hover",
|
|
3815
|
+
{
|
|
3816
|
+
"border-border-accent-violet": f,
|
|
3817
|
+
"focus:outline-border-accent-violet lg:hover:border-border-accent-violet": !i,
|
|
3818
|
+
"border-border-utility-danger focus:outline-border-utility-danger": i && a,
|
|
3819
|
+
"border-border-utility-success focus:outline-border-utility-success": a && !i,
|
|
3820
|
+
"pl-9": n
|
|
3821
|
+
}
|
|
3822
|
+
),
|
|
3823
|
+
...c,
|
|
3824
|
+
onClick: () => m(!f),
|
|
3825
|
+
onBlur: () => {
|
|
3826
|
+
setTimeout(() => {
|
|
3827
|
+
z || m(!1);
|
|
3828
|
+
}, 0);
|
|
3829
|
+
},
|
|
3830
|
+
children: [
|
|
3831
|
+
/* @__PURE__ */ b.jsx(
|
|
3832
|
+
J,
|
|
3833
|
+
{
|
|
3834
|
+
intent: "label-lg",
|
|
3835
|
+
className: ee("flex-1", {
|
|
3836
|
+
"text-content-text-subtlest": !v
|
|
3837
|
+
}),
|
|
3838
|
+
children: (v == null ? void 0 : v.label) || u
|
|
3839
|
+
}
|
|
3840
|
+
),
|
|
3841
|
+
/* @__PURE__ */ b.jsx(
|
|
3842
|
+
O,
|
|
3843
|
+
{
|
|
3844
|
+
iconName: f ? "IconChevronUp" : "IconChevronDown",
|
|
3845
|
+
size: 16,
|
|
3846
|
+
className: "ml-auto text-content-text-default"
|
|
3847
|
+
}
|
|
3848
|
+
)
|
|
3849
|
+
]
|
|
3818
3850
|
}
|
|
3819
3851
|
),
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
|
|
3825
|
-
|
|
3852
|
+
/* @__PURE__ */ b.jsx(
|
|
3853
|
+
"div",
|
|
3854
|
+
{
|
|
3855
|
+
className: ee(
|
|
3856
|
+
"absolute left-0 z-10 mt-2 max-h-60 w-full origin-top transform overflow-y-auto rounded-sm border-xs border-border-utility-discovery bg-bg-white p-1 shadow-xs transition-all",
|
|
3857
|
+
{
|
|
3858
|
+
"invisible scale-95 opacity-0": !f,
|
|
3859
|
+
"visible scale-100 opacity-100": f
|
|
3860
|
+
}
|
|
3861
|
+
),
|
|
3862
|
+
children: s == null ? void 0 : s.map((y) => /* @__PURE__ */ b.jsxs(
|
|
3863
|
+
"button",
|
|
3864
|
+
{
|
|
3865
|
+
type: "button",
|
|
3866
|
+
className: "hover:text-content-text-primary relative w-full rounded-sm p-2 text-left text-content-text-subtle lg:hover:bg-bg-subtle-hover",
|
|
3867
|
+
onClick: () => R(y),
|
|
3868
|
+
children: [
|
|
3869
|
+
/* @__PURE__ */ b.jsx(J, { intent: "label-lg", weight: "semibold", children: y.label }),
|
|
3870
|
+
v === y && /* @__PURE__ */ b.jsx(
|
|
3871
|
+
O,
|
|
3872
|
+
{
|
|
3873
|
+
iconName: "IconCheck",
|
|
3874
|
+
size: 16,
|
|
3875
|
+
className: "absolute right-2 top-1/2 -translate-y-1/2"
|
|
3876
|
+
}
|
|
3877
|
+
)
|
|
3878
|
+
]
|
|
3879
|
+
},
|
|
3880
|
+
y.value
|
|
3881
|
+
))
|
|
3882
|
+
}
|
|
3883
|
+
)
|
|
3884
|
+
]
|
|
3885
|
+
}
|
|
3886
|
+
),
|
|
3887
|
+
i && a ? /* @__PURE__ */ b.jsx(
|
|
3888
|
+
J,
|
|
3889
|
+
{
|
|
3890
|
+
intent: "label-md",
|
|
3891
|
+
className: "-mt-1 text-content-utility-danger-bolder",
|
|
3892
|
+
children: i
|
|
3893
|
+
}
|
|
3894
|
+
) : /* @__PURE__ */ b.jsx(J, { intent: "label-md", className: "-mt-1 text-content-text-subtle", children: o })
|
|
3895
|
+
] });
|
|
3896
|
+
}
|
|
3897
|
+
);
|
|
3898
|
+
en.displayName = "DropdownSelect";
|
|
3899
|
+
const tn = B(
|
|
3900
|
+
({
|
|
3901
|
+
label: t,
|
|
3902
|
+
iconName: n,
|
|
3903
|
+
className: r,
|
|
3904
|
+
helperText: o,
|
|
3905
|
+
error: i,
|
|
3906
|
+
touched: a,
|
|
3907
|
+
type: s = "text",
|
|
3908
|
+
...u
|
|
3909
|
+
}, c) => {
|
|
3910
|
+
typeof n == "string" && (n = { name: n });
|
|
3911
|
+
const [g, f] = se(!1);
|
|
3912
|
+
return /* @__PURE__ */ b.jsxs("div", { className: W("flex flex-col gap-3", r), children: [
|
|
3913
|
+
t && /* @__PURE__ */ b.jsx("label", { htmlFor: u.id, children: /* @__PURE__ */ b.jsx(J, { intent: "label-lg", weight: "semibold", children: t }) }),
|
|
3914
|
+
/* @__PURE__ */ b.jsxs("div", { className: "relative w-full", children: [
|
|
3915
|
+
n && /* @__PURE__ */ b.jsx("span", { className: "absolute left-2 top-1/2 -translate-y-1/2", children: typeof n == "object" ? /* @__PURE__ */ b.jsx(
|
|
3916
|
+
O,
|
|
3917
|
+
{
|
|
3918
|
+
iconName: n.name,
|
|
3919
|
+
stroke: n.stroke,
|
|
3920
|
+
size: 16
|
|
3921
|
+
}
|
|
3922
|
+
) : /* @__PURE__ */ b.jsx(O, { iconName: n }) }),
|
|
3923
|
+
i && a && s !== "password" && /* @__PURE__ */ b.jsx(
|
|
3924
|
+
O,
|
|
3925
|
+
{
|
|
3926
|
+
iconName: "IconAlertCircle",
|
|
3927
|
+
size: 16,
|
|
3928
|
+
className: "absolute right-2 top-1/2 -translate-y-1/2 text-content-utility-danger-bolder"
|
|
3929
|
+
}
|
|
3930
|
+
),
|
|
3931
|
+
a && !i && s !== "password" && /* @__PURE__ */ b.jsx(
|
|
3932
|
+
O,
|
|
3933
|
+
{
|
|
3934
|
+
iconName: "IconCircleCheck",
|
|
3935
|
+
size: 16,
|
|
3936
|
+
className: "absolute right-2 top-1/2 -translate-y-1/2 text-content-utility-success"
|
|
3826
3937
|
}
|
|
3827
3938
|
),
|
|
3828
|
-
|
|
3939
|
+
s === "password" && /* @__PURE__ */ b.jsx(
|
|
3829
3940
|
"button",
|
|
3830
3941
|
{
|
|
3831
|
-
|
|
3832
|
-
|
|
3833
|
-
|
|
3834
|
-
|
|
3835
|
-
|
|
3836
|
-
|
|
3837
|
-
|
|
3838
|
-
|
|
3839
|
-
|
|
3840
|
-
|
|
3841
|
-
|
|
3842
|
-
|
|
3843
|
-
|
|
3844
|
-
|
|
3845
|
-
|
|
3846
|
-
|
|
3847
|
-
|
|
3848
|
-
|
|
3942
|
+
type: "button",
|
|
3943
|
+
className: "absolute right-2 top-1/2 -translate-y-1/2 rounded-full p-1 transition-colors lg:hover:bg-bg-subtle-hover",
|
|
3944
|
+
onClick: () => f(!g),
|
|
3945
|
+
children: /* @__PURE__ */ b.jsx(
|
|
3946
|
+
O,
|
|
3947
|
+
{
|
|
3948
|
+
iconName: g ? "IconEyeOff" : "IconEye",
|
|
3949
|
+
size: 16
|
|
3950
|
+
}
|
|
3951
|
+
)
|
|
3952
|
+
}
|
|
3953
|
+
),
|
|
3954
|
+
/* @__PURE__ */ b.jsx(
|
|
3955
|
+
"input",
|
|
3956
|
+
{
|
|
3957
|
+
ref: c,
|
|
3958
|
+
className: ee(
|
|
3959
|
+
"flex w-full items-center gap-2 rounded-sm border-xs border-border-subtlest p-3 pr-9 outline-offset-2 transition-colors focus:border-xs focus:border-border-accent-violet focus:outline-2 focus:outline-border-accent-violet focus:ring-0 active:border-xs lg:hover:border-border-accent-violet",
|
|
3960
|
+
{
|
|
3961
|
+
"border-border-utility-danger focus:border-border-utility-danger focus:outline-border-utility-danger": i && a,
|
|
3962
|
+
"border-border-utility-success focus:border-border-utility-success focus:outline-border-utility-success": a && !i,
|
|
3963
|
+
"pl-9": n
|
|
3964
|
+
}
|
|
3965
|
+
),
|
|
3966
|
+
type: s === "password" ? g ? "text" : "password" : s,
|
|
3967
|
+
...u
|
|
3968
|
+
}
|
|
3969
|
+
)
|
|
3849
3970
|
] }),
|
|
3850
|
-
i && a ? /* @__PURE__ */
|
|
3851
|
-
|
|
3971
|
+
i && a ? /* @__PURE__ */ b.jsx(
|
|
3972
|
+
J,
|
|
3852
3973
|
{
|
|
3853
3974
|
intent: "label-md",
|
|
3854
3975
|
className: "-mt-1 text-content-utility-danger-bolder",
|
|
3855
3976
|
children: i
|
|
3856
3977
|
}
|
|
3857
|
-
) : /* @__PURE__ */
|
|
3978
|
+
) : /* @__PURE__ */ b.jsx(J, { intent: "label-md", className: "-mt-1 text-content-text-subtle", children: o })
|
|
3858
3979
|
] });
|
|
3859
3980
|
}
|
|
3860
3981
|
);
|
|
3861
|
-
|
|
3862
|
-
const
|
|
3863
|
-
({ label: t, iconName: r, className: n, helperText: o, error: i, touched: a, ...l }, d) => (typeof r == "string" && (r = { name: r }), /* @__PURE__ */ u.jsxs("div", { className: W("flex flex-col gap-3", n), children: [
|
|
3864
|
-
t && /* @__PURE__ */ u.jsx("label", { htmlFor: l.id, children: /* @__PURE__ */ u.jsx(Z, { intent: "label-lg", weight: "semibold", children: t }) }),
|
|
3865
|
-
/* @__PURE__ */ u.jsxs("div", { className: "relative w-fit", children: [
|
|
3866
|
-
r && /* @__PURE__ */ u.jsx("span", { className: "absolute left-2 top-1/2 -translate-y-1/2", children: typeof r == "object" ? /* @__PURE__ */ u.jsx(
|
|
3867
|
-
N,
|
|
3868
|
-
{
|
|
3869
|
-
iconName: r.name,
|
|
3870
|
-
stroke: r.stroke,
|
|
3871
|
-
size: 16
|
|
3872
|
-
}
|
|
3873
|
-
) : /* @__PURE__ */ u.jsx(N, { iconName: r }) }),
|
|
3874
|
-
i && a && /* @__PURE__ */ u.jsx(
|
|
3875
|
-
N,
|
|
3876
|
-
{
|
|
3877
|
-
iconName: "IconAlertCircle",
|
|
3878
|
-
size: 16,
|
|
3879
|
-
className: "absolute right-2 top-1/2 -translate-y-1/2 text-content-utility-danger-bolder"
|
|
3880
|
-
}
|
|
3881
|
-
),
|
|
3882
|
-
a && !i && /* @__PURE__ */ u.jsx(
|
|
3883
|
-
N,
|
|
3884
|
-
{
|
|
3885
|
-
iconName: "IconCircleCheck",
|
|
3886
|
-
size: 16,
|
|
3887
|
-
className: "absolute right-2 top-1/2 -translate-y-1/2 text-content-utility-success"
|
|
3888
|
-
}
|
|
3889
|
-
),
|
|
3890
|
-
/* @__PURE__ */ u.jsx(
|
|
3891
|
-
"input",
|
|
3892
|
-
{
|
|
3893
|
-
ref: d,
|
|
3894
|
-
className: Fe(
|
|
3895
|
-
"flex w-fit items-center gap-2 rounded-sm border-xs p-3 pr-9 transition-colors focus:outline-1",
|
|
3896
|
-
{
|
|
3897
|
-
"border-border-subtlest focus:outline-border-accent-violet lg:hover:border-border-accent-violet": !i,
|
|
3898
|
-
"border-border-utility-danger focus:outline-border-utility-danger": i && a,
|
|
3899
|
-
"border-border-utility-success focus:outline-border-utility-success": a && !i,
|
|
3900
|
-
"pl-9": r
|
|
3901
|
-
}
|
|
3902
|
-
),
|
|
3903
|
-
...l
|
|
3904
|
-
}
|
|
3905
|
-
)
|
|
3906
|
-
] }),
|
|
3907
|
-
i && a ? /* @__PURE__ */ u.jsx(
|
|
3908
|
-
Z,
|
|
3909
|
-
{
|
|
3910
|
-
intent: "label-md",
|
|
3911
|
-
className: "-mt-1 text-content-utility-danger-bolder",
|
|
3912
|
-
children: i
|
|
3913
|
-
}
|
|
3914
|
-
) : /* @__PURE__ */ u.jsx(Z, { intent: "label-md", className: "-mt-1 text-content-text-subtle", children: o })
|
|
3915
|
-
] }))
|
|
3916
|
-
);
|
|
3917
|
-
en.displayName = "Input";
|
|
3918
|
-
const un = ({
|
|
3982
|
+
tn.displayName = "Input";
|
|
3983
|
+
const bn = ({
|
|
3919
3984
|
className: t,
|
|
3920
|
-
children:
|
|
3921
|
-
isOpen:
|
|
3985
|
+
children: n,
|
|
3986
|
+
isOpen: r,
|
|
3922
3987
|
setIsOpen: o
|
|
3923
3988
|
}) => {
|
|
3924
|
-
|
|
3925
|
-
|
|
3926
|
-
|
|
3989
|
+
const [i, a] = se(r);
|
|
3990
|
+
ae(() => {
|
|
3991
|
+
let c;
|
|
3992
|
+
return r ? a(!0) : c = setTimeout(() => a(!1), 1e3), () => clearTimeout(c);
|
|
3993
|
+
}, [r]), ae(() => {
|
|
3994
|
+
const c = (g) => {
|
|
3995
|
+
g.key === "Escape" && o(!1);
|
|
3927
3996
|
};
|
|
3928
|
-
return window.addEventListener("keydown",
|
|
3929
|
-
window.removeEventListener("keydown",
|
|
3997
|
+
return window.addEventListener("keydown", c), () => {
|
|
3998
|
+
window.removeEventListener("keydown", c);
|
|
3930
3999
|
};
|
|
3931
4000
|
}, [o]);
|
|
3932
|
-
const
|
|
3933
|
-
|
|
3934
|
-
|
|
3935
|
-
}, [
|
|
3936
|
-
const
|
|
3937
|
-
|
|
4001
|
+
const s = window.innerWidth - document.body.offsetWidth;
|
|
4002
|
+
ae(() => {
|
|
4003
|
+
r ? (document.body.style.overflow = "hidden", document.body.style.paddingRight = `${s}px`) : (document.body.style.overflow = "unset", document.body.style.paddingRight = "0px");
|
|
4004
|
+
}, [r, s]);
|
|
4005
|
+
const u = (c) => {
|
|
4006
|
+
c.target === c.currentTarget && o(!1);
|
|
3938
4007
|
};
|
|
3939
|
-
return /* @__PURE__ */
|
|
4008
|
+
return /* @__PURE__ */ b.jsx(
|
|
3940
4009
|
"div",
|
|
3941
4010
|
{
|
|
3942
4011
|
id: "overlay",
|
|
3943
|
-
onClick:
|
|
3944
|
-
className:
|
|
3945
|
-
fixed inset-0 z-[999] flex items-
|
|
3946
|
-
|
|
3947
|
-
|
|
4012
|
+
onClick: u,
|
|
4013
|
+
className: ee(
|
|
4014
|
+
"fixed inset-0 z-[999] flex items-end justify-center transition-colors md:items-center",
|
|
4015
|
+
{
|
|
4016
|
+
"visible bg-surface-neutral-primary-inverse/50": r,
|
|
4017
|
+
invisible: !r
|
|
4018
|
+
}
|
|
4019
|
+
),
|
|
3948
4020
|
tabIndex: -1,
|
|
3949
|
-
children: /* @__PURE__ */
|
|
4021
|
+
children: /* @__PURE__ */ b.jsxs(
|
|
3950
4022
|
"div",
|
|
3951
4023
|
{
|
|
3952
|
-
onClick: (
|
|
3953
|
-
className:
|
|
4024
|
+
onClick: (c) => c.stopPropagation(),
|
|
4025
|
+
className: ee(
|
|
4026
|
+
`${t} relative mx-2 my-2 w-full rounded-lg bg-bg-white p-3 shadow-sm transition-all md:w-fit`,
|
|
4027
|
+
{
|
|
4028
|
+
"translate-y-0 opacity-100 md:scale-100": r,
|
|
4029
|
+
"translate-y-2 opacity-0 md:translate-y-0 md:scale-95": !r
|
|
4030
|
+
}
|
|
4031
|
+
),
|
|
3954
4032
|
children: [
|
|
3955
|
-
/* @__PURE__ */
|
|
3956
|
-
|
|
4033
|
+
/* @__PURE__ */ b.jsx(
|
|
4034
|
+
Yr,
|
|
3957
4035
|
{
|
|
3958
4036
|
onClick: () => o(!1),
|
|
3959
4037
|
intent: "ghost",
|
|
@@ -3962,13 +4040,13 @@ const un = ({
|
|
|
3962
4040
|
className: "absolute right-2 top-2"
|
|
3963
4041
|
}
|
|
3964
4042
|
),
|
|
3965
|
-
|
|
4043
|
+
i && n
|
|
3966
4044
|
]
|
|
3967
4045
|
}
|
|
3968
4046
|
)
|
|
3969
4047
|
}
|
|
3970
4048
|
);
|
|
3971
|
-
},
|
|
4049
|
+
}, rn = {
|
|
3972
4050
|
top: {
|
|
3973
4051
|
placementStyles: "bottom-full left-1/2 -translate-x-1/2 mb-2"
|
|
3974
4052
|
},
|
|
@@ -4005,58 +4083,58 @@ const un = ({
|
|
|
4005
4083
|
right: {
|
|
4006
4084
|
placementStyles: "left-full top-1/2 -translate-y-1/2 ml-2"
|
|
4007
4085
|
}
|
|
4008
|
-
},
|
|
4086
|
+
}, nn = ({
|
|
4009
4087
|
children: t,
|
|
4010
|
-
placement:
|
|
4011
|
-
closePopover:
|
|
4088
|
+
placement: n = "bottom-left",
|
|
4089
|
+
closePopover: r,
|
|
4012
4090
|
isOpen: o
|
|
4013
4091
|
}) => {
|
|
4014
|
-
const { placementStyles: i } =
|
|
4015
|
-
return /* @__PURE__ */
|
|
4092
|
+
const { placementStyles: i } = rn[n];
|
|
4093
|
+
return /* @__PURE__ */ b.jsx(
|
|
4016
4094
|
"div",
|
|
4017
4095
|
{
|
|
4018
4096
|
className: `absolute z-[99999] flex w-fit min-w-32 flex-col gap-2 rounded-lg bg-bg-white p-4 shadow-2xl transition-all ${i} ${o ? "visible scale-100 opacity-100" : "invisible scale-95 opacity-0"}`,
|
|
4019
|
-
onClick:
|
|
4020
|
-
children: t || /* @__PURE__ */
|
|
4097
|
+
onClick: r,
|
|
4098
|
+
children: t || /* @__PURE__ */ b.jsx("div", { children: "Your placeholder here" })
|
|
4021
4099
|
}
|
|
4022
4100
|
);
|
|
4023
|
-
},
|
|
4101
|
+
}, fn = ({
|
|
4024
4102
|
children: t,
|
|
4025
|
-
trigger:
|
|
4026
|
-
open:
|
|
4103
|
+
trigger: n,
|
|
4104
|
+
open: r = !1,
|
|
4027
4105
|
placement: o = "bottom-left",
|
|
4028
4106
|
closeOnAction: i = !1
|
|
4029
4107
|
}) => {
|
|
4030
|
-
const [a,
|
|
4031
|
-
|
|
4032
|
-
|
|
4033
|
-
}, [
|
|
4034
|
-
const
|
|
4035
|
-
|
|
4108
|
+
const [a, s] = se(r), u = $e(null), c = $e(null);
|
|
4109
|
+
ae(() => {
|
|
4110
|
+
s(r);
|
|
4111
|
+
}, [r]), ae(() => {
|
|
4112
|
+
const m = (v) => {
|
|
4113
|
+
c.current && !c.current.contains(v.target) && u.current && !u.current.contains(v.target) && s(!1);
|
|
4036
4114
|
};
|
|
4037
|
-
return document.addEventListener("mousedown",
|
|
4038
|
-
document.removeEventListener("mousedown",
|
|
4115
|
+
return document.addEventListener("mousedown", m), () => {
|
|
4116
|
+
document.removeEventListener("mousedown", m);
|
|
4039
4117
|
};
|
|
4040
|
-
}, [
|
|
4041
|
-
const f = tr(
|
|
4042
|
-
onClick: (
|
|
4043
|
-
|
|
4118
|
+
}, [u, c, s]);
|
|
4119
|
+
const f = tr(n, {
|
|
4120
|
+
onClick: (m) => {
|
|
4121
|
+
m.stopPropagation(), s((v) => !v);
|
|
4044
4122
|
},
|
|
4045
|
-
ref:
|
|
4123
|
+
ref: c
|
|
4046
4124
|
});
|
|
4047
|
-
return /* @__PURE__ */
|
|
4125
|
+
return /* @__PURE__ */ b.jsxs("div", { className: "relative", children: [
|
|
4048
4126
|
f,
|
|
4049
|
-
/* @__PURE__ */
|
|
4050
|
-
|
|
4127
|
+
/* @__PURE__ */ b.jsx("div", { ref: u, children: /* @__PURE__ */ b.jsx(
|
|
4128
|
+
nn,
|
|
4051
4129
|
{
|
|
4052
4130
|
placement: o,
|
|
4053
|
-
closePopover: i ? () =>
|
|
4131
|
+
closePopover: i ? () => s(!1) : void 0,
|
|
4054
4132
|
isOpen: a,
|
|
4055
4133
|
children: t
|
|
4056
4134
|
}
|
|
4057
4135
|
) })
|
|
4058
4136
|
] });
|
|
4059
|
-
},
|
|
4137
|
+
}, on = "transition-all ease-out duration-500 relative overflow-hidden w-full", ft = $(on, {
|
|
4060
4138
|
variants: {
|
|
4061
4139
|
intent: {
|
|
4062
4140
|
primary: "bg-bg-brand",
|
|
@@ -4085,36 +4163,36 @@ const un = ({
|
|
|
4085
4163
|
size: "medium",
|
|
4086
4164
|
rounded: "full"
|
|
4087
4165
|
}
|
|
4088
|
-
}),
|
|
4166
|
+
}), gn = ({
|
|
4089
4167
|
progress: t,
|
|
4090
|
-
className:
|
|
4091
|
-
intent:
|
|
4168
|
+
className: n,
|
|
4169
|
+
intent: r = "primary",
|
|
4092
4170
|
size: o = "medium",
|
|
4093
4171
|
rounded: i = "full",
|
|
4094
4172
|
...a
|
|
4095
4173
|
}) => {
|
|
4096
|
-
const
|
|
4174
|
+
const s = {
|
|
4097
4175
|
small: "text-2xs",
|
|
4098
4176
|
medium: "text-sm",
|
|
4099
4177
|
large: "text-base"
|
|
4100
4178
|
};
|
|
4101
|
-
return /* @__PURE__ */
|
|
4179
|
+
return /* @__PURE__ */ b.jsx(
|
|
4102
4180
|
"div",
|
|
4103
4181
|
{
|
|
4104
4182
|
className: W(
|
|
4105
|
-
ft({ size: o, rounded: i, className:
|
|
4183
|
+
ft({ size: o, rounded: i, className: n }),
|
|
4106
4184
|
"relative bg-bg-accent-gray-subtle-hover"
|
|
4107
4185
|
),
|
|
4108
4186
|
...a,
|
|
4109
|
-
children: /* @__PURE__ */
|
|
4187
|
+
children: /* @__PURE__ */ b.jsx(
|
|
4110
4188
|
"div",
|
|
4111
4189
|
{
|
|
4112
|
-
className: W(ft({ intent:
|
|
4190
|
+
className: W(ft({ intent: r, size: o, rounded: i })),
|
|
4113
4191
|
style: { width: `${t}%` },
|
|
4114
|
-
children: /* @__PURE__ */
|
|
4192
|
+
children: /* @__PURE__ */ b.jsxs(
|
|
4115
4193
|
"span",
|
|
4116
4194
|
{
|
|
4117
|
-
className: `absolute -right-2 top-1/2 -translate-x-1/2 -translate-y-1/2 text-content-text-inverse ${
|
|
4195
|
+
className: `absolute -right-2 top-1/2 -translate-x-1/2 -translate-y-1/2 text-content-text-inverse ${s[o || "medium"]}`,
|
|
4118
4196
|
children: [
|
|
4119
4197
|
t,
|
|
4120
4198
|
"%"
|
|
@@ -4127,18 +4205,19 @@ const un = ({
|
|
|
4127
4205
|
);
|
|
4128
4206
|
};
|
|
4129
4207
|
export {
|
|
4130
|
-
|
|
4208
|
+
sn as Avatar,
|
|
4131
4209
|
ln as Badge,
|
|
4132
|
-
|
|
4133
|
-
|
|
4134
|
-
|
|
4135
|
-
|
|
4136
|
-
|
|
4137
|
-
|
|
4138
|
-
|
|
4139
|
-
|
|
4140
|
-
|
|
4141
|
-
|
|
4142
|
-
|
|
4143
|
-
|
|
4210
|
+
cn as Button,
|
|
4211
|
+
Yr as ButtonIcon,
|
|
4212
|
+
dn as ButtonLink,
|
|
4213
|
+
un as Card,
|
|
4214
|
+
en as DropdownSelect,
|
|
4215
|
+
O as IconComponent,
|
|
4216
|
+
tn as Input,
|
|
4217
|
+
bn as Modal,
|
|
4218
|
+
fn as Popover,
|
|
4219
|
+
gn as ProgressBar,
|
|
4220
|
+
De as Spinner,
|
|
4221
|
+
J as Text,
|
|
4222
|
+
Hr as useOutsideClick
|
|
4144
4223
|
};
|