@takecasper/acuity-design-system 1.3.1 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/index.css +1 -1
- package/dist/index.cjs.js +9 -9
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +7 -7
- package/dist/index.es.js +357 -339
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./assets/index.css";
|
|
2
|
-
import
|
|
3
|
-
var Ie = { exports: {} },
|
|
2
|
+
import ir from "react";
|
|
3
|
+
var Ie = { exports: {} }, ue = {};
|
|
4
4
|
/**
|
|
5
5
|
* @license React
|
|
6
6
|
* react-jsx-runtime.production.min.js
|
|
@@ -11,11 +11,11 @@ var Ie = { exports: {} }, ae = {};
|
|
|
11
11
|
* LICENSE file in the root directory of this source tree.
|
|
12
12
|
*/
|
|
13
13
|
var Qe;
|
|
14
|
-
function
|
|
14
|
+
function $r() {
|
|
15
15
|
if (Qe)
|
|
16
|
-
return
|
|
16
|
+
return ue;
|
|
17
17
|
Qe = 1;
|
|
18
|
-
var r =
|
|
18
|
+
var r = ir, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, c = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
19
19
|
function l(u, p, b) {
|
|
20
20
|
var g, x = {}, k = null, P = null;
|
|
21
21
|
b !== void 0 && (k = "" + b), p.key !== void 0 && (k = "" + p.key), p.ref !== void 0 && (P = p.ref);
|
|
@@ -26,9 +26,9 @@ function Vr() {
|
|
|
26
26
|
x[g] === void 0 && (x[g] = p[g]);
|
|
27
27
|
return { $$typeof: t, type: u, key: k, ref: P, props: x, _owner: c.current };
|
|
28
28
|
}
|
|
29
|
-
return
|
|
29
|
+
return ue.Fragment = n, ue.jsx = l, ue.jsxs = l, ue;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
31
|
+
var de = {};
|
|
32
32
|
/**
|
|
33
33
|
* @license React
|
|
34
34
|
* react-jsx-runtime.development.js
|
|
@@ -39,9 +39,9 @@ var ie = {};
|
|
|
39
39
|
* LICENSE file in the root directory of this source tree.
|
|
40
40
|
*/
|
|
41
41
|
var er;
|
|
42
|
-
function
|
|
42
|
+
function Vr() {
|
|
43
43
|
return er || (er = 1, process.env.NODE_ENV !== "production" && function() {
|
|
44
|
-
var r =
|
|
44
|
+
var r = ir, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), u = Symbol.for("react.context"), p = Symbol.for("react.forward_ref"), b = Symbol.for("react.suspense"), g = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), k = Symbol.for("react.lazy"), P = Symbol.for("react.offscreen"), N = Symbol.iterator, R = "@@iterator";
|
|
45
45
|
function T(e) {
|
|
46
46
|
if (e === null || typeof e != "object")
|
|
47
47
|
return null;
|
|
@@ -53,10 +53,10 @@ function Fr() {
|
|
|
53
53
|
{
|
|
54
54
|
for (var o = arguments.length, a = new Array(o > 1 ? o - 1 : 0), f = 1; f < o; f++)
|
|
55
55
|
a[f - 1] = arguments[f];
|
|
56
|
-
|
|
56
|
+
ge("error", e, a);
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function ge(e, o, a) {
|
|
60
60
|
{
|
|
61
61
|
var f = L.ReactDebugCurrentFrame, y = f.getStackAddendum();
|
|
62
62
|
y !== "" && (o += "%s", a = a.concat([y]));
|
|
@@ -66,16 +66,16 @@ function Fr() {
|
|
|
66
66
|
C.unshift("Warning: " + o), Function.prototype.apply.call(console[e], console, C);
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
|
-
var
|
|
70
|
-
|
|
71
|
-
function
|
|
72
|
-
return !!(typeof e == "string" || typeof e == "function" || e === s || e === i ||
|
|
69
|
+
var oe = !1, be = !1, me = !1, he = !1, ve = !1, q;
|
|
70
|
+
q = Symbol.for("react.module.reference");
|
|
71
|
+
function se(e) {
|
|
72
|
+
return !!(typeof e == "string" || typeof e == "function" || e === s || e === i || ve || e === c || e === b || e === g || he || e === P || oe || be || me || typeof e == "object" && e !== null && (e.$$typeof === k || e.$$typeof === x || e.$$typeof === l || e.$$typeof === u || e.$$typeof === p || // This needs to include all possible module reference object
|
|
73
73
|
// types supported by any Flight configuration anywhere since
|
|
74
74
|
// we don't know which Flight build this will end up being used
|
|
75
75
|
// with.
|
|
76
|
-
e.$$typeof ===
|
|
76
|
+
e.$$typeof === q || e.getModuleId !== void 0));
|
|
77
77
|
}
|
|
78
|
-
function
|
|
78
|
+
function ae(e, o, a) {
|
|
79
79
|
var f = e.displayName;
|
|
80
80
|
if (f)
|
|
81
81
|
return f;
|
|
@@ -115,7 +115,7 @@ function Fr() {
|
|
|
115
115
|
var a = e;
|
|
116
116
|
return w(a._context) + ".Provider";
|
|
117
117
|
case p:
|
|
118
|
-
return
|
|
118
|
+
return ae(e, e.render, "ForwardRef");
|
|
119
119
|
case x:
|
|
120
120
|
var f = e.displayName || null;
|
|
121
121
|
return f !== null ? f : O(e.type) || "Memo";
|
|
@@ -130,18 +130,18 @@ function Fr() {
|
|
|
130
130
|
}
|
|
131
131
|
return null;
|
|
132
132
|
}
|
|
133
|
-
var M = Object.assign,
|
|
134
|
-
function
|
|
133
|
+
var M = Object.assign, $ = 0, U, ie, J, V, le, F, Y;
|
|
134
|
+
function ze() {
|
|
135
135
|
}
|
|
136
|
-
|
|
137
|
-
function
|
|
136
|
+
ze.__reactDisabledLog = !0;
|
|
137
|
+
function gr() {
|
|
138
138
|
{
|
|
139
|
-
if (
|
|
140
|
-
U = console.log,
|
|
139
|
+
if ($ === 0) {
|
|
140
|
+
U = console.log, ie = console.info, J = console.warn, V = console.error, le = console.group, F = console.groupCollapsed, Y = console.groupEnd;
|
|
141
141
|
var e = {
|
|
142
142
|
configurable: !0,
|
|
143
143
|
enumerable: !0,
|
|
144
|
-
value:
|
|
144
|
+
value: ze,
|
|
145
145
|
writable: !0
|
|
146
146
|
};
|
|
147
147
|
Object.defineProperties(console, {
|
|
@@ -154,12 +154,12 @@ function Fr() {
|
|
|
154
154
|
groupEnd: e
|
|
155
155
|
});
|
|
156
156
|
}
|
|
157
|
-
|
|
157
|
+
$++;
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
|
-
function
|
|
160
|
+
function br() {
|
|
161
161
|
{
|
|
162
|
-
if (
|
|
162
|
+
if ($--, $ === 0) {
|
|
163
163
|
var e = {
|
|
164
164
|
configurable: !0,
|
|
165
165
|
enumerable: !0,
|
|
@@ -170,16 +170,16 @@ function Fr() {
|
|
|
170
170
|
value: U
|
|
171
171
|
}),
|
|
172
172
|
info: M({}, e, {
|
|
173
|
-
value:
|
|
173
|
+
value: ie
|
|
174
174
|
}),
|
|
175
175
|
warn: M({}, e, {
|
|
176
|
-
value:
|
|
176
|
+
value: J
|
|
177
177
|
}),
|
|
178
178
|
error: M({}, e, {
|
|
179
179
|
value: V
|
|
180
180
|
}),
|
|
181
181
|
group: M({}, e, {
|
|
182
|
-
value:
|
|
182
|
+
value: le
|
|
183
183
|
}),
|
|
184
184
|
groupCollapsed: M({}, e, {
|
|
185
185
|
value: F
|
|
@@ -189,11 +189,11 @@ function Fr() {
|
|
|
189
189
|
})
|
|
190
190
|
});
|
|
191
191
|
}
|
|
192
|
-
|
|
192
|
+
$ < 0 && j("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
195
|
var _e = L.ReactCurrentDispatcher, Te;
|
|
196
|
-
function
|
|
196
|
+
function xe(e, o, a) {
|
|
197
197
|
{
|
|
198
198
|
if (Te === void 0)
|
|
199
199
|
try {
|
|
@@ -206,16 +206,16 @@ function Fr() {
|
|
|
206
206
|
` + Te + e;
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
|
-
var Se = !1,
|
|
209
|
+
var Se = !1, ye;
|
|
210
210
|
{
|
|
211
211
|
var mr = typeof WeakMap == "function" ? WeakMap : Map;
|
|
212
|
-
|
|
212
|
+
ye = new mr();
|
|
213
213
|
}
|
|
214
|
-
function
|
|
214
|
+
function $e(e, o) {
|
|
215
215
|
if (!e || Se)
|
|
216
216
|
return "";
|
|
217
217
|
{
|
|
218
|
-
var a =
|
|
218
|
+
var a = ye.get(e);
|
|
219
219
|
if (a !== void 0)
|
|
220
220
|
return a;
|
|
221
221
|
}
|
|
@@ -224,7 +224,7 @@ function Fr() {
|
|
|
224
224
|
var y = Error.prepareStackTrace;
|
|
225
225
|
Error.prepareStackTrace = void 0;
|
|
226
226
|
var C;
|
|
227
|
-
C = _e.current, _e.current = null,
|
|
227
|
+
C = _e.current, _e.current = null, gr();
|
|
228
228
|
try {
|
|
229
229
|
if (o) {
|
|
230
230
|
var v = function() {
|
|
@@ -259,103 +259,103 @@ function Fr() {
|
|
|
259
259
|
}
|
|
260
260
|
} catch (W) {
|
|
261
261
|
if (W && f && typeof W.stack == "string") {
|
|
262
|
-
for (var
|
|
262
|
+
for (var h = W.stack.split(`
|
|
263
263
|
`), A = f.stack.split(`
|
|
264
|
-
`), _ =
|
|
264
|
+
`), _ = h.length - 1, S = A.length - 1; _ >= 1 && S >= 0 && h[_] !== A[S]; )
|
|
265
265
|
S--;
|
|
266
266
|
for (; _ >= 1 && S >= 0; _--, S--)
|
|
267
|
-
if (
|
|
267
|
+
if (h[_] !== A[S]) {
|
|
268
268
|
if (_ !== 1 || S !== 1)
|
|
269
269
|
do
|
|
270
|
-
if (_--, S--, S < 0 ||
|
|
270
|
+
if (_--, S--, S < 0 || h[_] !== A[S]) {
|
|
271
271
|
var I = `
|
|
272
|
-
` +
|
|
273
|
-
return e.displayName && I.includes("<anonymous>") && (I = I.replace("<anonymous>", e.displayName)), typeof e == "function" &&
|
|
272
|
+
` + h[_].replace(" at new ", " at ");
|
|
273
|
+
return e.displayName && I.includes("<anonymous>") && (I = I.replace("<anonymous>", e.displayName)), typeof e == "function" && ye.set(e, I), I;
|
|
274
274
|
}
|
|
275
275
|
while (_ >= 1 && S >= 0);
|
|
276
276
|
break;
|
|
277
277
|
}
|
|
278
278
|
}
|
|
279
279
|
} finally {
|
|
280
|
-
Se = !1, _e.current = C,
|
|
280
|
+
Se = !1, _e.current = C, br(), Error.prepareStackTrace = y;
|
|
281
281
|
}
|
|
282
|
-
var
|
|
283
|
-
return typeof e == "function" &&
|
|
282
|
+
var X = e ? e.displayName || e.name : "", Xe = X ? xe(X) : "";
|
|
283
|
+
return typeof e == "function" && ye.set(e, Xe), Xe;
|
|
284
284
|
}
|
|
285
|
-
function
|
|
286
|
-
return
|
|
285
|
+
function hr(e, o, a) {
|
|
286
|
+
return $e(e, !1);
|
|
287
287
|
}
|
|
288
|
-
function
|
|
288
|
+
function vr(e) {
|
|
289
289
|
var o = e.prototype;
|
|
290
290
|
return !!(o && o.isReactComponent);
|
|
291
291
|
}
|
|
292
|
-
function
|
|
292
|
+
function we(e, o, a) {
|
|
293
293
|
if (e == null)
|
|
294
294
|
return "";
|
|
295
295
|
if (typeof e == "function")
|
|
296
|
-
return
|
|
296
|
+
return $e(e, vr(e));
|
|
297
297
|
if (typeof e == "string")
|
|
298
|
-
return
|
|
298
|
+
return xe(e);
|
|
299
299
|
switch (e) {
|
|
300
300
|
case b:
|
|
301
|
-
return
|
|
301
|
+
return xe("Suspense");
|
|
302
302
|
case g:
|
|
303
|
-
return
|
|
303
|
+
return xe("SuspenseList");
|
|
304
304
|
}
|
|
305
305
|
if (typeof e == "object")
|
|
306
306
|
switch (e.$$typeof) {
|
|
307
307
|
case p:
|
|
308
|
-
return
|
|
308
|
+
return hr(e.render);
|
|
309
309
|
case x:
|
|
310
|
-
return
|
|
310
|
+
return we(e.type, o, a);
|
|
311
311
|
case k: {
|
|
312
312
|
var f = e, y = f._payload, C = f._init;
|
|
313
313
|
try {
|
|
314
|
-
return
|
|
314
|
+
return we(C(y), o, a);
|
|
315
315
|
} catch {
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
318
|
}
|
|
319
319
|
return "";
|
|
320
320
|
}
|
|
321
|
-
var
|
|
322
|
-
function
|
|
321
|
+
var Ce = Object.prototype.hasOwnProperty, Ve = {}, Fe = L.ReactDebugCurrentFrame;
|
|
322
|
+
function ke(e) {
|
|
323
323
|
if (e) {
|
|
324
|
-
var o = e._owner, a =
|
|
324
|
+
var o = e._owner, a = we(e.type, e._source, o ? o.type : null);
|
|
325
325
|
Fe.setExtraStackFrame(a);
|
|
326
326
|
} else
|
|
327
327
|
Fe.setExtraStackFrame(null);
|
|
328
328
|
}
|
|
329
|
-
function
|
|
329
|
+
function xr(e, o, a, f, y) {
|
|
330
330
|
{
|
|
331
|
-
var C = Function.call.bind(
|
|
331
|
+
var C = Function.call.bind(Ce);
|
|
332
332
|
for (var v in e)
|
|
333
333
|
if (C(e, v)) {
|
|
334
|
-
var
|
|
334
|
+
var h = void 0;
|
|
335
335
|
try {
|
|
336
336
|
if (typeof e[v] != "function") {
|
|
337
337
|
var A = Error((f || "React class") + ": " + a + " type `" + v + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[v] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
338
338
|
throw A.name = "Invariant Violation", A;
|
|
339
339
|
}
|
|
340
|
-
|
|
340
|
+
h = e[v](o, v, f, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
341
341
|
} catch (_) {
|
|
342
|
-
|
|
342
|
+
h = _;
|
|
343
343
|
}
|
|
344
|
-
|
|
344
|
+
h && !(h instanceof Error) && (ke(y), j("%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).", f || "React class", a, v, typeof h), ke(null)), h instanceof Error && !(h.message in Ve) && (Ve[h.message] = !0, ke(y), j("Failed %s type: %s", a, h.message), ke(null));
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
347
|
}
|
|
348
|
-
var
|
|
348
|
+
var yr = Array.isArray;
|
|
349
349
|
function Pe(e) {
|
|
350
|
-
return
|
|
350
|
+
return yr(e);
|
|
351
351
|
}
|
|
352
|
-
function
|
|
352
|
+
function wr(e) {
|
|
353
353
|
{
|
|
354
354
|
var o = typeof Symbol == "function" && Symbol.toStringTag, a = o && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
355
355
|
return a;
|
|
356
356
|
}
|
|
357
357
|
}
|
|
358
|
-
function
|
|
358
|
+
function Cr(e) {
|
|
359
359
|
try {
|
|
360
360
|
return Ge(e), !1;
|
|
361
361
|
} catch {
|
|
@@ -366,42 +366,42 @@ function Fr() {
|
|
|
366
366
|
return "" + e;
|
|
367
367
|
}
|
|
368
368
|
function De(e) {
|
|
369
|
-
if (
|
|
370
|
-
return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
369
|
+
if (Cr(e))
|
|
370
|
+
return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", wr(e)), Ge(e);
|
|
371
371
|
}
|
|
372
|
-
var
|
|
372
|
+
var ce = L.ReactCurrentOwner, kr = {
|
|
373
373
|
key: !0,
|
|
374
374
|
ref: !0,
|
|
375
375
|
__self: !0,
|
|
376
376
|
__source: !0
|
|
377
|
-
},
|
|
377
|
+
}, Be, Ue, Le;
|
|
378
378
|
Le = {};
|
|
379
|
-
function
|
|
380
|
-
if (
|
|
379
|
+
function jr(e) {
|
|
380
|
+
if (Ce.call(e, "ref")) {
|
|
381
381
|
var o = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
382
382
|
if (o && o.isReactWarning)
|
|
383
383
|
return !1;
|
|
384
384
|
}
|
|
385
385
|
return e.ref !== void 0;
|
|
386
386
|
}
|
|
387
|
-
function
|
|
388
|
-
if (
|
|
387
|
+
function Er(e) {
|
|
388
|
+
if (Ce.call(e, "key")) {
|
|
389
389
|
var o = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
390
390
|
if (o && o.isReactWarning)
|
|
391
391
|
return !1;
|
|
392
392
|
}
|
|
393
393
|
return e.key !== void 0;
|
|
394
394
|
}
|
|
395
|
-
function
|
|
396
|
-
if (typeof e.ref == "string" &&
|
|
397
|
-
var a = O(
|
|
398
|
-
Le[a] || (j('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', O(
|
|
395
|
+
function Rr(e, o) {
|
|
396
|
+
if (typeof e.ref == "string" && ce.current && o && ce.current.stateNode !== o) {
|
|
397
|
+
var a = O(ce.current.type);
|
|
398
|
+
Le[a] || (j('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', O(ce.current.type), e.ref), Le[a] = !0);
|
|
399
399
|
}
|
|
400
400
|
}
|
|
401
|
-
function
|
|
401
|
+
function _r(e, o) {
|
|
402
402
|
{
|
|
403
403
|
var a = function() {
|
|
404
|
-
|
|
404
|
+
Be || (Be = !0, j("%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)", o));
|
|
405
405
|
};
|
|
406
406
|
a.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
407
407
|
get: a,
|
|
@@ -409,10 +409,10 @@ function Fr() {
|
|
|
409
409
|
});
|
|
410
410
|
}
|
|
411
411
|
}
|
|
412
|
-
function
|
|
412
|
+
function Tr(e, o) {
|
|
413
413
|
{
|
|
414
414
|
var a = function() {
|
|
415
|
-
|
|
415
|
+
Ue || (Ue = !0, j("%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)", o));
|
|
416
416
|
};
|
|
417
417
|
a.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
418
418
|
get: a,
|
|
@@ -420,8 +420,8 @@ function Fr() {
|
|
|
420
420
|
});
|
|
421
421
|
}
|
|
422
422
|
}
|
|
423
|
-
var
|
|
424
|
-
var
|
|
423
|
+
var Sr = function(e, o, a, f, y, C, v) {
|
|
424
|
+
var h = {
|
|
425
425
|
// This tag allows us to uniquely identify this as a React Element
|
|
426
426
|
$$typeof: t,
|
|
427
427
|
// Built-in properties that belong on the element
|
|
@@ -432,48 +432,48 @@ function Fr() {
|
|
|
432
432
|
// Record the component responsible for creating this element.
|
|
433
433
|
_owner: C
|
|
434
434
|
};
|
|
435
|
-
return
|
|
435
|
+
return h._store = {}, Object.defineProperty(h._store, "validated", {
|
|
436
436
|
configurable: !1,
|
|
437
437
|
enumerable: !1,
|
|
438
438
|
writable: !0,
|
|
439
439
|
value: !1
|
|
440
|
-
}), Object.defineProperty(
|
|
440
|
+
}), Object.defineProperty(h, "_self", {
|
|
441
441
|
configurable: !1,
|
|
442
442
|
enumerable: !1,
|
|
443
443
|
writable: !1,
|
|
444
444
|
value: f
|
|
445
|
-
}), Object.defineProperty(
|
|
445
|
+
}), Object.defineProperty(h, "_source", {
|
|
446
446
|
configurable: !1,
|
|
447
447
|
enumerable: !1,
|
|
448
448
|
writable: !1,
|
|
449
449
|
value: y
|
|
450
|
-
}), Object.freeze && (Object.freeze(
|
|
450
|
+
}), Object.freeze && (Object.freeze(h.props), Object.freeze(h)), h;
|
|
451
451
|
};
|
|
452
|
-
function
|
|
452
|
+
function Pr(e, o, a, f, y) {
|
|
453
453
|
{
|
|
454
|
-
var C, v = {},
|
|
455
|
-
a !== void 0 && (De(a),
|
|
454
|
+
var C, v = {}, h = null, A = null;
|
|
455
|
+
a !== void 0 && (De(a), h = "" + a), Er(o) && (De(o.key), h = "" + o.key), jr(o) && (A = o.ref, Rr(o, y));
|
|
456
456
|
for (C in o)
|
|
457
|
-
|
|
457
|
+
Ce.call(o, C) && !kr.hasOwnProperty(C) && (v[C] = o[C]);
|
|
458
458
|
if (e && e.defaultProps) {
|
|
459
459
|
var _ = e.defaultProps;
|
|
460
460
|
for (C in _)
|
|
461
461
|
v[C] === void 0 && (v[C] = _[C]);
|
|
462
462
|
}
|
|
463
|
-
if (
|
|
463
|
+
if (h || A) {
|
|
464
464
|
var S = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
465
|
-
|
|
465
|
+
h && _r(v, S), A && Tr(v, S);
|
|
466
466
|
}
|
|
467
|
-
return
|
|
467
|
+
return Sr(e, h, A, y, f, ce.current, v);
|
|
468
468
|
}
|
|
469
469
|
}
|
|
470
|
-
var Ae = L.ReactCurrentOwner,
|
|
471
|
-
function
|
|
470
|
+
var Ae = L.ReactCurrentOwner, Ye = L.ReactDebugCurrentFrame;
|
|
471
|
+
function K(e) {
|
|
472
472
|
if (e) {
|
|
473
|
-
var o = e._owner, a =
|
|
474
|
-
|
|
473
|
+
var o = e._owner, a = we(e.type, e._source, o ? o.type : null);
|
|
474
|
+
Ye.setExtraStackFrame(a);
|
|
475
475
|
} else
|
|
476
|
-
|
|
476
|
+
Ye.setExtraStackFrame(null);
|
|
477
477
|
}
|
|
478
478
|
var Oe;
|
|
479
479
|
Oe = !1;
|
|
@@ -492,7 +492,7 @@ Check the render method of \`` + e + "`.";
|
|
|
492
492
|
return "";
|
|
493
493
|
}
|
|
494
494
|
}
|
|
495
|
-
function
|
|
495
|
+
function Lr(e) {
|
|
496
496
|
{
|
|
497
497
|
if (e !== void 0) {
|
|
498
498
|
var o = e.fileName.replace(/^.*[\\\/]/, ""), a = e.lineNumber;
|
|
@@ -504,7 +504,7 @@ Check your code at ` + o + ":" + a + ".";
|
|
|
504
504
|
}
|
|
505
505
|
}
|
|
506
506
|
var Ze = {};
|
|
507
|
-
function
|
|
507
|
+
function Ar(e) {
|
|
508
508
|
{
|
|
509
509
|
var o = He();
|
|
510
510
|
if (!o) {
|
|
@@ -521,12 +521,12 @@ Check the top-level render call using <` + a + ">.");
|
|
|
521
521
|
if (!e._store || e._store.validated || e.key != null)
|
|
522
522
|
return;
|
|
523
523
|
e._store.validated = !0;
|
|
524
|
-
var a =
|
|
524
|
+
var a = Ar(o);
|
|
525
525
|
if (Ze[a])
|
|
526
526
|
return;
|
|
527
527
|
Ze[a] = !0;
|
|
528
528
|
var f = "";
|
|
529
|
-
e && e._owner && e._owner !== Ae.current && (f = " It was passed a child from " + O(e._owner.type) + "."),
|
|
529
|
+
e && e._owner && e._owner !== Ae.current && (f = " It was passed a child from " + O(e._owner.type) + "."), K(e), j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', a, f), K(null);
|
|
530
530
|
}
|
|
531
531
|
}
|
|
532
532
|
function Je(e, o) {
|
|
@@ -548,7 +548,7 @@ Check the top-level render call using <` + a + ">.");
|
|
|
548
548
|
}
|
|
549
549
|
}
|
|
550
550
|
}
|
|
551
|
-
function
|
|
551
|
+
function Or(e) {
|
|
552
552
|
{
|
|
553
553
|
var o = e.type;
|
|
554
554
|
if (o == null || typeof o == "string")
|
|
@@ -564,7 +564,7 @@ Check the top-level render call using <` + a + ">.");
|
|
|
564
564
|
return;
|
|
565
565
|
if (a) {
|
|
566
566
|
var f = O(o);
|
|
567
|
-
|
|
567
|
+
xr(a, e.props, "prop", f, e);
|
|
568
568
|
} else if (o.PropTypes !== void 0 && !Oe) {
|
|
569
569
|
Oe = !0;
|
|
570
570
|
var y = O(o);
|
|
@@ -573,30 +573,30 @@ Check the top-level render call using <` + a + ">.");
|
|
|
573
573
|
typeof o.getDefaultProps == "function" && !o.getDefaultProps.isReactClassApproved && j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
|
-
function
|
|
576
|
+
function Mr(e) {
|
|
577
577
|
{
|
|
578
578
|
for (var o = Object.keys(e.props), a = 0; a < o.length; a++) {
|
|
579
579
|
var f = o[a];
|
|
580
580
|
if (f !== "children" && f !== "key") {
|
|
581
|
-
|
|
581
|
+
K(e), j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", f), K(null);
|
|
582
582
|
break;
|
|
583
583
|
}
|
|
584
584
|
}
|
|
585
|
-
e.ref !== null && (
|
|
585
|
+
e.ref !== null && (K(e), j("Invalid attribute `ref` supplied to `React.Fragment`."), K(null));
|
|
586
586
|
}
|
|
587
587
|
}
|
|
588
588
|
function Ke(e, o, a, f, y, C) {
|
|
589
589
|
{
|
|
590
|
-
var v =
|
|
590
|
+
var v = se(e);
|
|
591
591
|
if (!v) {
|
|
592
|
-
var
|
|
593
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
594
|
-
var A =
|
|
595
|
-
A ?
|
|
592
|
+
var h = "";
|
|
593
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (h += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
594
|
+
var A = Lr(y);
|
|
595
|
+
A ? h += A : h += He();
|
|
596
596
|
var _;
|
|
597
|
-
e === null ? _ = "null" : Pe(e) ? _ = "array" : e !== void 0 && e.$$typeof === t ? (_ = "<" + (O(e.type) || "Unknown") + " />",
|
|
597
|
+
e === null ? _ = "null" : Pe(e) ? _ = "array" : e !== void 0 && e.$$typeof === t ? (_ = "<" + (O(e.type) || "Unknown") + " />", h = " Did you accidentally export a JSX literal instead of a component?") : _ = typeof e, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", _, h);
|
|
598
598
|
}
|
|
599
|
-
var S =
|
|
599
|
+
var S = Pr(e, o, a, y, C);
|
|
600
600
|
if (S == null)
|
|
601
601
|
return S;
|
|
602
602
|
if (v) {
|
|
@@ -604,30 +604,30 @@ Check the top-level render call using <` + a + ">.");
|
|
|
604
604
|
if (I !== void 0)
|
|
605
605
|
if (f)
|
|
606
606
|
if (Pe(I)) {
|
|
607
|
-
for (var
|
|
608
|
-
Je(I[
|
|
607
|
+
for (var X = 0; X < I.length; X++)
|
|
608
|
+
Je(I[X], e);
|
|
609
609
|
Object.freeze && Object.freeze(I);
|
|
610
610
|
} else
|
|
611
611
|
j("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
612
612
|
else
|
|
613
613
|
Je(I, e);
|
|
614
614
|
}
|
|
615
|
-
return e === s ?
|
|
615
|
+
return e === s ? Mr(S) : Or(S), S;
|
|
616
616
|
}
|
|
617
617
|
}
|
|
618
|
-
function
|
|
618
|
+
function Ir(e, o, a) {
|
|
619
619
|
return Ke(e, o, a, !0);
|
|
620
620
|
}
|
|
621
|
-
function
|
|
621
|
+
function Nr(e, o, a) {
|
|
622
622
|
return Ke(e, o, a, !1);
|
|
623
623
|
}
|
|
624
|
-
var
|
|
625
|
-
|
|
626
|
-
}()),
|
|
624
|
+
var Wr = Nr, zr = Ir;
|
|
625
|
+
de.Fragment = s, de.jsx = Wr, de.jsxs = zr;
|
|
626
|
+
}()), de;
|
|
627
627
|
}
|
|
628
|
-
process.env.NODE_ENV === "production" ? Ie.exports =
|
|
628
|
+
process.env.NODE_ENV === "production" ? Ie.exports = $r() : Ie.exports = Vr();
|
|
629
629
|
var d = Ie.exports;
|
|
630
|
-
const
|
|
630
|
+
const Fr = ({
|
|
631
631
|
type: r = "button",
|
|
632
632
|
variant: t = "primary",
|
|
633
633
|
disabled: n = !1,
|
|
@@ -653,26 +653,26 @@ const Gr = ({
|
|
|
653
653
|
children: l
|
|
654
654
|
}
|
|
655
655
|
);
|
|
656
|
-
},
|
|
657
|
-
function
|
|
656
|
+
}, Ht = Fr;
|
|
657
|
+
function lr(r) {
|
|
658
658
|
var t, n, s = "";
|
|
659
659
|
if (typeof r == "string" || typeof r == "number")
|
|
660
660
|
s += r;
|
|
661
661
|
else if (typeof r == "object")
|
|
662
662
|
if (Array.isArray(r))
|
|
663
663
|
for (t = 0; t < r.length; t++)
|
|
664
|
-
r[t] && (n =
|
|
664
|
+
r[t] && (n = lr(r[t])) && (s && (s += " "), s += n);
|
|
665
665
|
else
|
|
666
666
|
for (t in r)
|
|
667
667
|
r[t] && (s && (s += " "), s += t);
|
|
668
668
|
return s;
|
|
669
669
|
}
|
|
670
|
-
function
|
|
670
|
+
function Gr() {
|
|
671
671
|
for (var r, t, n = 0, s = ""; n < arguments.length; )
|
|
672
|
-
(r = arguments[n++]) && (t =
|
|
672
|
+
(r = arguments[n++]) && (t = lr(r)) && (s && (s += " "), s += t);
|
|
673
673
|
return s;
|
|
674
674
|
}
|
|
675
|
-
const rr = (r) => typeof r == "boolean" ? "".concat(r) : r === 0 ? "0" : r, tr =
|
|
675
|
+
const rr = (r) => typeof r == "boolean" ? "".concat(r) : r === 0 ? "0" : r, tr = Gr, B = (r, t) => (n) => {
|
|
676
676
|
var s;
|
|
677
677
|
if ((t == null ? void 0 : t.variants) == null)
|
|
678
678
|
return tr(r, n == null ? void 0 : n.class, n == null ? void 0 : n.className);
|
|
@@ -704,14 +704,14 @@ const rr = (r) => typeof r == "boolean" ? "".concat(r) : r === 0 ? "0" : r, tr =
|
|
|
704
704
|
}, []);
|
|
705
705
|
return tr(r, l, p, n == null ? void 0 : n.class, n == null ? void 0 : n.className);
|
|
706
706
|
}, We = "-";
|
|
707
|
-
function
|
|
708
|
-
const t =
|
|
707
|
+
function Dr(r) {
|
|
708
|
+
const t = Ur(r), {
|
|
709
709
|
conflictingClassGroups: n,
|
|
710
710
|
conflictingClassGroupModifiers: s
|
|
711
711
|
} = r;
|
|
712
712
|
function c(l) {
|
|
713
713
|
const u = l.split(We);
|
|
714
|
-
return u[0] === "" && u.length !== 1 && u.shift(),
|
|
714
|
+
return u[0] === "" && u.length !== 1 && u.shift(), cr(u, t) || Br(l);
|
|
715
715
|
}
|
|
716
716
|
function i(l, u) {
|
|
717
717
|
const p = n[l] || [];
|
|
@@ -722,11 +722,11 @@ function Ur(r) {
|
|
|
722
722
|
getConflictingClassGroupIds: i
|
|
723
723
|
};
|
|
724
724
|
}
|
|
725
|
-
function
|
|
725
|
+
function cr(r, t) {
|
|
726
726
|
var l;
|
|
727
727
|
if (r.length === 0)
|
|
728
728
|
return t.classGroupId;
|
|
729
|
-
const n = r[0], s = t.nextPart.get(n), c = s ?
|
|
729
|
+
const n = r[0], s = t.nextPart.get(n), c = s ? cr(r.slice(1), s) : void 0;
|
|
730
730
|
if (c)
|
|
731
731
|
return c;
|
|
732
732
|
if (t.validators.length === 0)
|
|
@@ -737,14 +737,14 @@ function ur(r, t) {
|
|
|
737
737
|
}) => u(i))) == null ? void 0 : l.classGroupId;
|
|
738
738
|
}
|
|
739
739
|
const nr = /^\[(.+)\]$/;
|
|
740
|
-
function
|
|
740
|
+
function Br(r) {
|
|
741
741
|
if (nr.test(r)) {
|
|
742
742
|
const t = nr.exec(r)[1], n = t == null ? void 0 : t.substring(0, t.indexOf(":"));
|
|
743
743
|
if (n)
|
|
744
744
|
return "arbitrary.." + n;
|
|
745
745
|
}
|
|
746
746
|
}
|
|
747
|
-
function
|
|
747
|
+
function Ur(r) {
|
|
748
748
|
const {
|
|
749
749
|
theme: t,
|
|
750
750
|
prefix: n
|
|
@@ -752,7 +752,7 @@ function Br(r) {
|
|
|
752
752
|
nextPart: /* @__PURE__ */ new Map(),
|
|
753
753
|
validators: []
|
|
754
754
|
};
|
|
755
|
-
return
|
|
755
|
+
return Hr(Object.entries(r.classGroups), n).forEach(([i, l]) => {
|
|
756
756
|
Ne(l, s, i, t);
|
|
757
757
|
}), s;
|
|
758
758
|
}
|
|
@@ -764,7 +764,7 @@ function Ne(r, t, n, s) {
|
|
|
764
764
|
return;
|
|
765
765
|
}
|
|
766
766
|
if (typeof c == "function") {
|
|
767
|
-
if (
|
|
767
|
+
if (Yr(c)) {
|
|
768
768
|
Ne(c(s), t, n, s);
|
|
769
769
|
return;
|
|
770
770
|
}
|
|
@@ -788,16 +788,16 @@ function or(r, t) {
|
|
|
788
788
|
}), n = n.nextPart.get(s);
|
|
789
789
|
}), n;
|
|
790
790
|
}
|
|
791
|
-
function
|
|
791
|
+
function Yr(r) {
|
|
792
792
|
return r.isThemeGetter;
|
|
793
793
|
}
|
|
794
|
-
function
|
|
794
|
+
function Hr(r, t) {
|
|
795
795
|
return t ? r.map(([n, s]) => {
|
|
796
796
|
const c = s.map((i) => typeof i == "string" ? t + i : typeof i == "object" ? Object.fromEntries(Object.entries(i).map(([l, u]) => [t + l, u])) : i);
|
|
797
797
|
return [n, c];
|
|
798
798
|
}) : r;
|
|
799
799
|
}
|
|
800
|
-
function
|
|
800
|
+
function Zr(r) {
|
|
801
801
|
if (r < 1)
|
|
802
802
|
return {
|
|
803
803
|
get: () => {
|
|
@@ -822,8 +822,8 @@ function qr(r) {
|
|
|
822
822
|
}
|
|
823
823
|
};
|
|
824
824
|
}
|
|
825
|
-
const
|
|
826
|
-
function
|
|
825
|
+
const ur = "!";
|
|
826
|
+
function qr(r) {
|
|
827
827
|
const t = r.separator, n = t.length === 1, s = t[0], c = t.length;
|
|
828
828
|
return function(l) {
|
|
829
829
|
const u = [];
|
|
@@ -842,7 +842,7 @@ function Jr(r) {
|
|
|
842
842
|
}
|
|
843
843
|
T === "[" ? p++ : T === "]" && p--;
|
|
844
844
|
}
|
|
845
|
-
const x = u.length === 0 ? l : l.substring(b), k = x.startsWith(
|
|
845
|
+
const x = u.length === 0 ? l : l.substring(b), k = x.startsWith(ur), P = k ? x.substring(1) : x, N = g && g > b ? g - b : void 0;
|
|
846
846
|
return {
|
|
847
847
|
modifiers: u,
|
|
848
848
|
hasImportantModifier: k,
|
|
@@ -851,7 +851,7 @@ function Jr(r) {
|
|
|
851
851
|
};
|
|
852
852
|
};
|
|
853
853
|
}
|
|
854
|
-
function
|
|
854
|
+
function Jr(r) {
|
|
855
855
|
if (r.length <= 1)
|
|
856
856
|
return r;
|
|
857
857
|
const t = [];
|
|
@@ -860,21 +860,21 @@ function Kr(r) {
|
|
|
860
860
|
s[0] === "[" ? (t.push(...n.sort(), s), n = []) : n.push(s);
|
|
861
861
|
}), t.push(...n.sort()), t;
|
|
862
862
|
}
|
|
863
|
-
function
|
|
863
|
+
function Kr(r) {
|
|
864
864
|
return {
|
|
865
|
-
cache:
|
|
866
|
-
splitModifiers:
|
|
867
|
-
...
|
|
865
|
+
cache: Zr(r.cacheSize),
|
|
866
|
+
splitModifiers: qr(r),
|
|
867
|
+
...Dr(r)
|
|
868
868
|
};
|
|
869
869
|
}
|
|
870
|
-
const
|
|
871
|
-
function
|
|
870
|
+
const Xr = /\s+/;
|
|
871
|
+
function Qr(r, t) {
|
|
872
872
|
const {
|
|
873
873
|
splitModifiers: n,
|
|
874
874
|
getClassGroupId: s,
|
|
875
875
|
getConflictingClassGroupIds: c
|
|
876
876
|
} = t, i = /* @__PURE__ */ new Set();
|
|
877
|
-
return r.trim().split(
|
|
877
|
+
return r.trim().split(Xr).map((l) => {
|
|
878
878
|
const {
|
|
879
879
|
modifiers: u,
|
|
880
880
|
hasImportantModifier: p,
|
|
@@ -895,10 +895,10 @@ function et(r, t) {
|
|
|
895
895
|
};
|
|
896
896
|
k = !1;
|
|
897
897
|
}
|
|
898
|
-
const P =
|
|
898
|
+
const P = Jr(u).join(":");
|
|
899
899
|
return {
|
|
900
900
|
isTailwindClass: !0,
|
|
901
|
-
modifierId: p ? P +
|
|
901
|
+
modifierId: p ? P + ur : P,
|
|
902
902
|
classGroupId: x,
|
|
903
903
|
originalClassName: l,
|
|
904
904
|
hasPostfixModifier: k
|
|
@@ -914,111 +914,111 @@ function et(r, t) {
|
|
|
914
914
|
return i.has(g) ? !1 : (i.add(g), c(p, b).forEach((x) => i.add(u + x)), !0);
|
|
915
915
|
}).reverse().map((l) => l.originalClassName).join(" ");
|
|
916
916
|
}
|
|
917
|
-
function
|
|
917
|
+
function et() {
|
|
918
918
|
let r = 0, t, n, s = "";
|
|
919
919
|
for (; r < arguments.length; )
|
|
920
|
-
(t = arguments[r++]) && (n =
|
|
920
|
+
(t = arguments[r++]) && (n = dr(t)) && (s && (s += " "), s += n);
|
|
921
921
|
return s;
|
|
922
922
|
}
|
|
923
|
-
function
|
|
923
|
+
function dr(r) {
|
|
924
924
|
if (typeof r == "string")
|
|
925
925
|
return r;
|
|
926
926
|
let t, n = "";
|
|
927
927
|
for (let s = 0; s < r.length; s++)
|
|
928
|
-
r[s] && (t =
|
|
928
|
+
r[s] && (t = dr(r[s])) && (n && (n += " "), n += t);
|
|
929
929
|
return n;
|
|
930
930
|
}
|
|
931
|
-
function
|
|
931
|
+
function rt(r, ...t) {
|
|
932
932
|
let n, s, c, i = l;
|
|
933
933
|
function l(p) {
|
|
934
934
|
const b = t.reduce((g, x) => x(g), r());
|
|
935
|
-
return n =
|
|
935
|
+
return n = Kr(b), s = n.cache.get, c = n.cache.set, i = u, u(p);
|
|
936
936
|
}
|
|
937
937
|
function u(p) {
|
|
938
938
|
const b = s(p);
|
|
939
939
|
if (b)
|
|
940
940
|
return b;
|
|
941
|
-
const g =
|
|
941
|
+
const g = Qr(p, n);
|
|
942
942
|
return c(p, g), g;
|
|
943
943
|
}
|
|
944
944
|
return function() {
|
|
945
|
-
return i(
|
|
945
|
+
return i(et.apply(null, arguments));
|
|
946
946
|
};
|
|
947
947
|
}
|
|
948
948
|
function E(r) {
|
|
949
949
|
const t = (n) => n[r] || [];
|
|
950
950
|
return t.isThemeGetter = !0, t;
|
|
951
951
|
}
|
|
952
|
-
const
|
|
953
|
-
function
|
|
954
|
-
return
|
|
952
|
+
const fr = /^\[(?:([a-z-]+):)?(.+)\]$/i, tt = /^\d+\/\d+$/, nt = /* @__PURE__ */ new Set(["px", "full", "screen"]), ot = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, st = /\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$/, at = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, it = /^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, lt = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;
|
|
953
|
+
function z(r) {
|
|
954
|
+
return H(r) || nt.has(r) || tt.test(r);
|
|
955
955
|
}
|
|
956
956
|
function G(r) {
|
|
957
|
-
return
|
|
957
|
+
return ee(r, "length", mt);
|
|
958
958
|
}
|
|
959
|
-
function
|
|
959
|
+
function H(r) {
|
|
960
960
|
return !!r && !Number.isNaN(Number(r));
|
|
961
961
|
}
|
|
962
|
-
function
|
|
963
|
-
return
|
|
962
|
+
function je(r) {
|
|
963
|
+
return ee(r, "number", H);
|
|
964
964
|
}
|
|
965
|
-
function
|
|
965
|
+
function fe(r) {
|
|
966
966
|
return !!r && Number.isInteger(Number(r));
|
|
967
967
|
}
|
|
968
|
-
function
|
|
969
|
-
return r.endsWith("%") &&
|
|
968
|
+
function ct(r) {
|
|
969
|
+
return r.endsWith("%") && H(r.slice(0, -1));
|
|
970
970
|
}
|
|
971
|
-
function
|
|
972
|
-
return
|
|
971
|
+
function m(r) {
|
|
972
|
+
return fr.test(r);
|
|
973
973
|
}
|
|
974
974
|
function D(r) {
|
|
975
|
-
return
|
|
975
|
+
return ot.test(r);
|
|
976
|
+
}
|
|
977
|
+
const ut = /* @__PURE__ */ new Set(["length", "size", "percentage"]);
|
|
978
|
+
function dt(r) {
|
|
979
|
+
return ee(r, ut, pr);
|
|
976
980
|
}
|
|
977
|
-
const dt = /* @__PURE__ */ new Set(["length", "size", "percentage"]);
|
|
978
981
|
function ft(r) {
|
|
979
|
-
return
|
|
982
|
+
return ee(r, "position", pr);
|
|
980
983
|
}
|
|
981
|
-
|
|
982
|
-
|
|
984
|
+
const pt = /* @__PURE__ */ new Set(["image", "url"]);
|
|
985
|
+
function gt(r) {
|
|
986
|
+
return ee(r, pt, vt);
|
|
983
987
|
}
|
|
984
|
-
const gt = /* @__PURE__ */ new Set(["image", "url"]);
|
|
985
988
|
function bt(r) {
|
|
986
|
-
return
|
|
987
|
-
}
|
|
988
|
-
function ht(r) {
|
|
989
|
-
return Q(r, "", vt);
|
|
989
|
+
return ee(r, "", ht);
|
|
990
990
|
}
|
|
991
|
-
function
|
|
991
|
+
function pe() {
|
|
992
992
|
return !0;
|
|
993
993
|
}
|
|
994
|
-
function
|
|
995
|
-
const s =
|
|
994
|
+
function ee(r, t, n) {
|
|
995
|
+
const s = fr.exec(r);
|
|
996
996
|
return s ? s[1] ? typeof t == "string" ? s[1] === t : t.has(s[1]) : n(s[2]) : !1;
|
|
997
997
|
}
|
|
998
998
|
function mt(r) {
|
|
999
|
-
return
|
|
999
|
+
return st.test(r) && !at.test(r);
|
|
1000
1000
|
}
|
|
1001
|
-
function
|
|
1001
|
+
function pr() {
|
|
1002
1002
|
return !1;
|
|
1003
1003
|
}
|
|
1004
|
+
function ht(r) {
|
|
1005
|
+
return it.test(r);
|
|
1006
|
+
}
|
|
1004
1007
|
function vt(r) {
|
|
1005
1008
|
return lt.test(r);
|
|
1006
1009
|
}
|
|
1007
|
-
function xt(
|
|
1008
|
-
|
|
1009
|
-
}
|
|
1010
|
-
function yt() {
|
|
1011
|
-
const r = E("colors"), t = E("spacing"), n = E("blur"), s = E("brightness"), c = E("borderColor"), i = E("borderRadius"), l = E("borderSpacing"), u = E("borderWidth"), p = E("contrast"), b = E("grayscale"), g = E("hueRotate"), x = E("invert"), k = E("gap"), P = E("gradientColorStops"), N = E("gradientColorStopPositions"), R = E("inset"), T = E("margin"), L = E("opacity"), j = E("padding"), de = E("saturate"), ee = E("scale"), fe = E("sepia"), pe = E("skew"), ge = E("space"), be = E("translate"), H = () => ["auto", "contain", "none"], re = () => ["auto", "hidden", "clip", "visible", "scroll"], te = () => ["auto", h, t], w = () => [h, t], O = () => ["", $, G], M = () => ["auto", B, h], z = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], U = () => ["solid", "dashed", "dotted", "double", "none"], ne = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity", "plus-lighter"], Z = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], V = () => ["", "0", h], oe = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], F = () => [B, we], Y = () => [B, h];
|
|
1010
|
+
function xt() {
|
|
1011
|
+
const r = E("colors"), t = E("spacing"), n = E("blur"), s = E("brightness"), c = E("borderColor"), i = E("borderRadius"), l = E("borderSpacing"), u = E("borderWidth"), p = E("contrast"), b = E("grayscale"), g = E("hueRotate"), x = E("invert"), k = E("gap"), P = E("gradientColorStops"), N = E("gradientColorStopPositions"), R = E("inset"), T = E("margin"), L = E("opacity"), j = E("padding"), ge = E("saturate"), oe = E("scale"), be = E("sepia"), me = E("skew"), he = E("space"), ve = E("translate"), q = () => ["auto", "contain", "none"], se = () => ["auto", "hidden", "clip", "visible", "scroll"], ae = () => ["auto", m, t], w = () => [m, t], O = () => ["", z, G], M = () => ["auto", H, m], $ = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], U = () => ["solid", "dashed", "dotted", "double", "none"], ie = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity", "plus-lighter"], J = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], V = () => ["", "0", m], le = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], F = () => [H, je], Y = () => [H, m];
|
|
1012
1012
|
return {
|
|
1013
1013
|
cacheSize: 500,
|
|
1014
1014
|
separator: ":",
|
|
1015
1015
|
theme: {
|
|
1016
|
-
colors: [
|
|
1017
|
-
spacing: [
|
|
1018
|
-
blur: ["none", "", D,
|
|
1016
|
+
colors: [pe],
|
|
1017
|
+
spacing: [z, G],
|
|
1018
|
+
blur: ["none", "", D, m],
|
|
1019
1019
|
brightness: F(),
|
|
1020
1020
|
borderColor: [r],
|
|
1021
|
-
borderRadius: ["none", "", "full", D,
|
|
1021
|
+
borderRadius: ["none", "", "full", D, m],
|
|
1022
1022
|
borderSpacing: w(),
|
|
1023
1023
|
borderWidth: O(),
|
|
1024
1024
|
contrast: F(),
|
|
@@ -1027,9 +1027,9 @@ function yt() {
|
|
|
1027
1027
|
invert: V(),
|
|
1028
1028
|
gap: w(),
|
|
1029
1029
|
gradientColorStops: [r],
|
|
1030
|
-
gradientColorStopPositions: [
|
|
1031
|
-
inset:
|
|
1032
|
-
margin:
|
|
1030
|
+
gradientColorStopPositions: [ct, G],
|
|
1031
|
+
inset: ae(),
|
|
1032
|
+
margin: ae(),
|
|
1033
1033
|
opacity: F(),
|
|
1034
1034
|
padding: w(),
|
|
1035
1035
|
saturate: F(),
|
|
@@ -1046,7 +1046,7 @@ function yt() {
|
|
|
1046
1046
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
1047
1047
|
*/
|
|
1048
1048
|
aspect: [{
|
|
1049
|
-
aspect: ["auto", "square", "video",
|
|
1049
|
+
aspect: ["auto", "square", "video", m]
|
|
1050
1050
|
}],
|
|
1051
1051
|
/**
|
|
1052
1052
|
* Container
|
|
@@ -1065,14 +1065,14 @@ function yt() {
|
|
|
1065
1065
|
* @see https://tailwindcss.com/docs/break-after
|
|
1066
1066
|
*/
|
|
1067
1067
|
"break-after": [{
|
|
1068
|
-
"break-after":
|
|
1068
|
+
"break-after": le()
|
|
1069
1069
|
}],
|
|
1070
1070
|
/**
|
|
1071
1071
|
* Break Before
|
|
1072
1072
|
* @see https://tailwindcss.com/docs/break-before
|
|
1073
1073
|
*/
|
|
1074
1074
|
"break-before": [{
|
|
1075
|
-
"break-before":
|
|
1075
|
+
"break-before": le()
|
|
1076
1076
|
}],
|
|
1077
1077
|
/**
|
|
1078
1078
|
* Break Inside
|
|
@@ -1131,49 +1131,49 @@ function yt() {
|
|
|
1131
1131
|
* @see https://tailwindcss.com/docs/object-position
|
|
1132
1132
|
*/
|
|
1133
1133
|
"object-position": [{
|
|
1134
|
-
object: [
|
|
1134
|
+
object: [...$(), m]
|
|
1135
1135
|
}],
|
|
1136
1136
|
/**
|
|
1137
1137
|
* Overflow
|
|
1138
1138
|
* @see https://tailwindcss.com/docs/overflow
|
|
1139
1139
|
*/
|
|
1140
1140
|
overflow: [{
|
|
1141
|
-
overflow:
|
|
1141
|
+
overflow: se()
|
|
1142
1142
|
}],
|
|
1143
1143
|
/**
|
|
1144
1144
|
* Overflow X
|
|
1145
1145
|
* @see https://tailwindcss.com/docs/overflow
|
|
1146
1146
|
*/
|
|
1147
1147
|
"overflow-x": [{
|
|
1148
|
-
"overflow-x":
|
|
1148
|
+
"overflow-x": se()
|
|
1149
1149
|
}],
|
|
1150
1150
|
/**
|
|
1151
1151
|
* Overflow Y
|
|
1152
1152
|
* @see https://tailwindcss.com/docs/overflow
|
|
1153
1153
|
*/
|
|
1154
1154
|
"overflow-y": [{
|
|
1155
|
-
"overflow-y":
|
|
1155
|
+
"overflow-y": se()
|
|
1156
1156
|
}],
|
|
1157
1157
|
/**
|
|
1158
1158
|
* Overscroll Behavior
|
|
1159
1159
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
1160
1160
|
*/
|
|
1161
1161
|
overscroll: [{
|
|
1162
|
-
overscroll:
|
|
1162
|
+
overscroll: q()
|
|
1163
1163
|
}],
|
|
1164
1164
|
/**
|
|
1165
1165
|
* Overscroll Behavior X
|
|
1166
1166
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
1167
1167
|
*/
|
|
1168
1168
|
"overscroll-x": [{
|
|
1169
|
-
"overscroll-x":
|
|
1169
|
+
"overscroll-x": q()
|
|
1170
1170
|
}],
|
|
1171
1171
|
/**
|
|
1172
1172
|
* Overscroll Behavior Y
|
|
1173
1173
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
1174
1174
|
*/
|
|
1175
1175
|
"overscroll-y": [{
|
|
1176
|
-
"overscroll-y":
|
|
1176
|
+
"overscroll-y": q()
|
|
1177
1177
|
}],
|
|
1178
1178
|
/**
|
|
1179
1179
|
* Position
|
|
@@ -1253,7 +1253,7 @@ function yt() {
|
|
|
1253
1253
|
* @see https://tailwindcss.com/docs/z-index
|
|
1254
1254
|
*/
|
|
1255
1255
|
z: [{
|
|
1256
|
-
z: ["auto",
|
|
1256
|
+
z: ["auto", fe, m]
|
|
1257
1257
|
}],
|
|
1258
1258
|
// Flexbox and Grid
|
|
1259
1259
|
/**
|
|
@@ -1261,7 +1261,7 @@ function yt() {
|
|
|
1261
1261
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
1262
1262
|
*/
|
|
1263
1263
|
basis: [{
|
|
1264
|
-
basis:
|
|
1264
|
+
basis: ae()
|
|
1265
1265
|
}],
|
|
1266
1266
|
/**
|
|
1267
1267
|
* Flex Direction
|
|
@@ -1282,7 +1282,7 @@ function yt() {
|
|
|
1282
1282
|
* @see https://tailwindcss.com/docs/flex
|
|
1283
1283
|
*/
|
|
1284
1284
|
flex: [{
|
|
1285
|
-
flex: ["1", "auto", "initial", "none",
|
|
1285
|
+
flex: ["1", "auto", "initial", "none", m]
|
|
1286
1286
|
}],
|
|
1287
1287
|
/**
|
|
1288
1288
|
* Flex Grow
|
|
@@ -1303,14 +1303,14 @@ function yt() {
|
|
|
1303
1303
|
* @see https://tailwindcss.com/docs/order
|
|
1304
1304
|
*/
|
|
1305
1305
|
order: [{
|
|
1306
|
-
order: ["first", "last", "none",
|
|
1306
|
+
order: ["first", "last", "none", fe, m]
|
|
1307
1307
|
}],
|
|
1308
1308
|
/**
|
|
1309
1309
|
* Grid Template Columns
|
|
1310
1310
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
1311
1311
|
*/
|
|
1312
1312
|
"grid-cols": [{
|
|
1313
|
-
"grid-cols": [
|
|
1313
|
+
"grid-cols": [pe]
|
|
1314
1314
|
}],
|
|
1315
1315
|
/**
|
|
1316
1316
|
* Grid Column Start / End
|
|
@@ -1318,8 +1318,8 @@ function yt() {
|
|
|
1318
1318
|
*/
|
|
1319
1319
|
"col-start-end": [{
|
|
1320
1320
|
col: ["auto", {
|
|
1321
|
-
span: ["full",
|
|
1322
|
-
},
|
|
1321
|
+
span: ["full", fe, m]
|
|
1322
|
+
}, m]
|
|
1323
1323
|
}],
|
|
1324
1324
|
/**
|
|
1325
1325
|
* Grid Column Start
|
|
@@ -1340,7 +1340,7 @@ function yt() {
|
|
|
1340
1340
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
1341
1341
|
*/
|
|
1342
1342
|
"grid-rows": [{
|
|
1343
|
-
"grid-rows": [
|
|
1343
|
+
"grid-rows": [pe]
|
|
1344
1344
|
}],
|
|
1345
1345
|
/**
|
|
1346
1346
|
* Grid Row Start / End
|
|
@@ -1348,8 +1348,8 @@ function yt() {
|
|
|
1348
1348
|
*/
|
|
1349
1349
|
"row-start-end": [{
|
|
1350
1350
|
row: ["auto", {
|
|
1351
|
-
span: [
|
|
1352
|
-
},
|
|
1351
|
+
span: [fe, m]
|
|
1352
|
+
}, m]
|
|
1353
1353
|
}],
|
|
1354
1354
|
/**
|
|
1355
1355
|
* Grid Row Start
|
|
@@ -1377,14 +1377,14 @@ function yt() {
|
|
|
1377
1377
|
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
1378
1378
|
*/
|
|
1379
1379
|
"auto-cols": [{
|
|
1380
|
-
"auto-cols": ["auto", "min", "max", "fr",
|
|
1380
|
+
"auto-cols": ["auto", "min", "max", "fr", m]
|
|
1381
1381
|
}],
|
|
1382
1382
|
/**
|
|
1383
1383
|
* Grid Auto Rows
|
|
1384
1384
|
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
1385
1385
|
*/
|
|
1386
1386
|
"auto-rows": [{
|
|
1387
|
-
"auto-rows": ["auto", "min", "max", "fr",
|
|
1387
|
+
"auto-rows": ["auto", "min", "max", "fr", m]
|
|
1388
1388
|
}],
|
|
1389
1389
|
/**
|
|
1390
1390
|
* Gap
|
|
@@ -1412,7 +1412,7 @@ function yt() {
|
|
|
1412
1412
|
* @see https://tailwindcss.com/docs/justify-content
|
|
1413
1413
|
*/
|
|
1414
1414
|
"justify-content": [{
|
|
1415
|
-
justify: ["normal", ...
|
|
1415
|
+
justify: ["normal", ...J()]
|
|
1416
1416
|
}],
|
|
1417
1417
|
/**
|
|
1418
1418
|
* Justify Items
|
|
@@ -1433,7 +1433,7 @@ function yt() {
|
|
|
1433
1433
|
* @see https://tailwindcss.com/docs/align-content
|
|
1434
1434
|
*/
|
|
1435
1435
|
"align-content": [{
|
|
1436
|
-
content: ["normal", ...
|
|
1436
|
+
content: ["normal", ...J(), "baseline"]
|
|
1437
1437
|
}],
|
|
1438
1438
|
/**
|
|
1439
1439
|
* Align Items
|
|
@@ -1454,7 +1454,7 @@ function yt() {
|
|
|
1454
1454
|
* @see https://tailwindcss.com/docs/place-content
|
|
1455
1455
|
*/
|
|
1456
1456
|
"place-content": [{
|
|
1457
|
-
"place-content": [...
|
|
1457
|
+
"place-content": [...J(), "baseline"]
|
|
1458
1458
|
}],
|
|
1459
1459
|
/**
|
|
1460
1460
|
* Place Items
|
|
@@ -1602,7 +1602,7 @@ function yt() {
|
|
|
1602
1602
|
* @see https://tailwindcss.com/docs/space
|
|
1603
1603
|
*/
|
|
1604
1604
|
"space-x": [{
|
|
1605
|
-
"space-x": [
|
|
1605
|
+
"space-x": [he]
|
|
1606
1606
|
}],
|
|
1607
1607
|
/**
|
|
1608
1608
|
* Space Between X Reverse
|
|
@@ -1614,7 +1614,7 @@ function yt() {
|
|
|
1614
1614
|
* @see https://tailwindcss.com/docs/space
|
|
1615
1615
|
*/
|
|
1616
1616
|
"space-y": [{
|
|
1617
|
-
"space-y": [
|
|
1617
|
+
"space-y": [he]
|
|
1618
1618
|
}],
|
|
1619
1619
|
/**
|
|
1620
1620
|
* Space Between Y Reverse
|
|
@@ -1627,21 +1627,21 @@ function yt() {
|
|
|
1627
1627
|
* @see https://tailwindcss.com/docs/width
|
|
1628
1628
|
*/
|
|
1629
1629
|
w: [{
|
|
1630
|
-
w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw",
|
|
1630
|
+
w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", m, t]
|
|
1631
1631
|
}],
|
|
1632
1632
|
/**
|
|
1633
1633
|
* Min-Width
|
|
1634
1634
|
* @see https://tailwindcss.com/docs/min-width
|
|
1635
1635
|
*/
|
|
1636
1636
|
"min-w": [{
|
|
1637
|
-
"min-w": [
|
|
1637
|
+
"min-w": [m, t, "min", "max", "fit"]
|
|
1638
1638
|
}],
|
|
1639
1639
|
/**
|
|
1640
1640
|
* Max-Width
|
|
1641
1641
|
* @see https://tailwindcss.com/docs/max-width
|
|
1642
1642
|
*/
|
|
1643
1643
|
"max-w": [{
|
|
1644
|
-
"max-w": [
|
|
1644
|
+
"max-w": [m, t, "none", "full", "min", "max", "fit", "prose", {
|
|
1645
1645
|
screen: [D]
|
|
1646
1646
|
}, D]
|
|
1647
1647
|
}],
|
|
@@ -1650,28 +1650,28 @@ function yt() {
|
|
|
1650
1650
|
* @see https://tailwindcss.com/docs/height
|
|
1651
1651
|
*/
|
|
1652
1652
|
h: [{
|
|
1653
|
-
h: [
|
|
1653
|
+
h: [m, t, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
1654
1654
|
}],
|
|
1655
1655
|
/**
|
|
1656
1656
|
* Min-Height
|
|
1657
1657
|
* @see https://tailwindcss.com/docs/min-height
|
|
1658
1658
|
*/
|
|
1659
1659
|
"min-h": [{
|
|
1660
|
-
"min-h": [
|
|
1660
|
+
"min-h": [m, t, "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
1661
1661
|
}],
|
|
1662
1662
|
/**
|
|
1663
1663
|
* Max-Height
|
|
1664
1664
|
* @see https://tailwindcss.com/docs/max-height
|
|
1665
1665
|
*/
|
|
1666
1666
|
"max-h": [{
|
|
1667
|
-
"max-h": [
|
|
1667
|
+
"max-h": [m, t, "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
1668
1668
|
}],
|
|
1669
1669
|
/**
|
|
1670
1670
|
* Size
|
|
1671
1671
|
* @see https://tailwindcss.com/docs/size
|
|
1672
1672
|
*/
|
|
1673
1673
|
size: [{
|
|
1674
|
-
size: [
|
|
1674
|
+
size: [m, t, "auto", "min", "max", "fit"]
|
|
1675
1675
|
}],
|
|
1676
1676
|
// Typography
|
|
1677
1677
|
/**
|
|
@@ -1696,14 +1696,14 @@ function yt() {
|
|
|
1696
1696
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1697
1697
|
*/
|
|
1698
1698
|
"font-weight": [{
|
|
1699
|
-
font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black",
|
|
1699
|
+
font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", je]
|
|
1700
1700
|
}],
|
|
1701
1701
|
/**
|
|
1702
1702
|
* Font Family
|
|
1703
1703
|
* @see https://tailwindcss.com/docs/font-family
|
|
1704
1704
|
*/
|
|
1705
1705
|
"font-family": [{
|
|
1706
|
-
font: [
|
|
1706
|
+
font: [pe]
|
|
1707
1707
|
}],
|
|
1708
1708
|
/**
|
|
1709
1709
|
* Font Variant Numeric
|
|
@@ -1740,35 +1740,35 @@ function yt() {
|
|
|
1740
1740
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
1741
1741
|
*/
|
|
1742
1742
|
tracking: [{
|
|
1743
|
-
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest",
|
|
1743
|
+
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", m]
|
|
1744
1744
|
}],
|
|
1745
1745
|
/**
|
|
1746
1746
|
* Line Clamp
|
|
1747
1747
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1748
1748
|
*/
|
|
1749
1749
|
"line-clamp": [{
|
|
1750
|
-
"line-clamp": ["none",
|
|
1750
|
+
"line-clamp": ["none", H, je]
|
|
1751
1751
|
}],
|
|
1752
1752
|
/**
|
|
1753
1753
|
* Line Height
|
|
1754
1754
|
* @see https://tailwindcss.com/docs/line-height
|
|
1755
1755
|
*/
|
|
1756
1756
|
leading: [{
|
|
1757
|
-
leading: ["none", "tight", "snug", "normal", "relaxed", "loose",
|
|
1757
|
+
leading: ["none", "tight", "snug", "normal", "relaxed", "loose", z, m]
|
|
1758
1758
|
}],
|
|
1759
1759
|
/**
|
|
1760
1760
|
* List Style Image
|
|
1761
1761
|
* @see https://tailwindcss.com/docs/list-style-image
|
|
1762
1762
|
*/
|
|
1763
1763
|
"list-image": [{
|
|
1764
|
-
"list-image": ["none",
|
|
1764
|
+
"list-image": ["none", m]
|
|
1765
1765
|
}],
|
|
1766
1766
|
/**
|
|
1767
1767
|
* List Style Type
|
|
1768
1768
|
* @see https://tailwindcss.com/docs/list-style-type
|
|
1769
1769
|
*/
|
|
1770
1770
|
"list-style-type": [{
|
|
1771
|
-
list: ["none", "disc", "decimal",
|
|
1771
|
+
list: ["none", "disc", "decimal", m]
|
|
1772
1772
|
}],
|
|
1773
1773
|
/**
|
|
1774
1774
|
* List Style Position
|
|
@@ -1830,14 +1830,14 @@ function yt() {
|
|
|
1830
1830
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1831
1831
|
*/
|
|
1832
1832
|
"text-decoration-thickness": [{
|
|
1833
|
-
decoration: ["auto", "from-font",
|
|
1833
|
+
decoration: ["auto", "from-font", z, G]
|
|
1834
1834
|
}],
|
|
1835
1835
|
/**
|
|
1836
1836
|
* Text Underline Offset
|
|
1837
1837
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1838
1838
|
*/
|
|
1839
1839
|
"underline-offset": [{
|
|
1840
|
-
"underline-offset": ["auto",
|
|
1840
|
+
"underline-offset": ["auto", z, m]
|
|
1841
1841
|
}],
|
|
1842
1842
|
/**
|
|
1843
1843
|
* Text Decoration Color
|
|
@@ -1875,7 +1875,7 @@ function yt() {
|
|
|
1875
1875
|
* @see https://tailwindcss.com/docs/vertical-align
|
|
1876
1876
|
*/
|
|
1877
1877
|
"vertical-align": [{
|
|
1878
|
-
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super",
|
|
1878
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", m]
|
|
1879
1879
|
}],
|
|
1880
1880
|
/**
|
|
1881
1881
|
* Whitespace
|
|
@@ -1903,7 +1903,7 @@ function yt() {
|
|
|
1903
1903
|
* @see https://tailwindcss.com/docs/content
|
|
1904
1904
|
*/
|
|
1905
1905
|
content: [{
|
|
1906
|
-
content: ["none",
|
|
1906
|
+
content: ["none", m]
|
|
1907
1907
|
}],
|
|
1908
1908
|
// Backgrounds
|
|
1909
1909
|
/**
|
|
@@ -1940,7 +1940,7 @@ function yt() {
|
|
|
1940
1940
|
* @see https://tailwindcss.com/docs/background-position
|
|
1941
1941
|
*/
|
|
1942
1942
|
"bg-position": [{
|
|
1943
|
-
bg: [
|
|
1943
|
+
bg: [...$(), ft]
|
|
1944
1944
|
}],
|
|
1945
1945
|
/**
|
|
1946
1946
|
* Background Repeat
|
|
@@ -1956,7 +1956,7 @@ function yt() {
|
|
|
1956
1956
|
* @see https://tailwindcss.com/docs/background-size
|
|
1957
1957
|
*/
|
|
1958
1958
|
"bg-size": [{
|
|
1959
|
-
bg: ["auto", "cover", "contain",
|
|
1959
|
+
bg: ["auto", "cover", "contain", dt]
|
|
1960
1960
|
}],
|
|
1961
1961
|
/**
|
|
1962
1962
|
* Background Image
|
|
@@ -1965,7 +1965,7 @@ function yt() {
|
|
|
1965
1965
|
"bg-image": [{
|
|
1966
1966
|
bg: ["none", {
|
|
1967
1967
|
"gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1968
|
-
},
|
|
1968
|
+
}, gt]
|
|
1969
1969
|
}],
|
|
1970
1970
|
/**
|
|
1971
1971
|
* Background Color
|
|
@@ -2305,14 +2305,14 @@ function yt() {
|
|
|
2305
2305
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
2306
2306
|
*/
|
|
2307
2307
|
"outline-offset": [{
|
|
2308
|
-
"outline-offset": [
|
|
2308
|
+
"outline-offset": [z, m]
|
|
2309
2309
|
}],
|
|
2310
2310
|
/**
|
|
2311
2311
|
* Outline Width
|
|
2312
2312
|
* @see https://tailwindcss.com/docs/outline-width
|
|
2313
2313
|
*/
|
|
2314
2314
|
"outline-w": [{
|
|
2315
|
-
outline: [
|
|
2315
|
+
outline: [z, G]
|
|
2316
2316
|
}],
|
|
2317
2317
|
/**
|
|
2318
2318
|
* Outline Color
|
|
@@ -2352,7 +2352,7 @@ function yt() {
|
|
|
2352
2352
|
* @see https://tailwindcss.com/docs/ring-offset-width
|
|
2353
2353
|
*/
|
|
2354
2354
|
"ring-offset-w": [{
|
|
2355
|
-
"ring-offset": [
|
|
2355
|
+
"ring-offset": [z, G]
|
|
2356
2356
|
}],
|
|
2357
2357
|
/**
|
|
2358
2358
|
* Ring Offset Color
|
|
@@ -2367,14 +2367,14 @@ function yt() {
|
|
|
2367
2367
|
* @see https://tailwindcss.com/docs/box-shadow
|
|
2368
2368
|
*/
|
|
2369
2369
|
shadow: [{
|
|
2370
|
-
shadow: ["", "inner", "none", D,
|
|
2370
|
+
shadow: ["", "inner", "none", D, bt]
|
|
2371
2371
|
}],
|
|
2372
2372
|
/**
|
|
2373
2373
|
* Box Shadow Color
|
|
2374
2374
|
* @see https://tailwindcss.com/docs/box-shadow-color
|
|
2375
2375
|
*/
|
|
2376
2376
|
"shadow-color": [{
|
|
2377
|
-
shadow: [
|
|
2377
|
+
shadow: [pe]
|
|
2378
2378
|
}],
|
|
2379
2379
|
/**
|
|
2380
2380
|
* Opacity
|
|
@@ -2388,14 +2388,14 @@ function yt() {
|
|
|
2388
2388
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
2389
2389
|
*/
|
|
2390
2390
|
"mix-blend": [{
|
|
2391
|
-
"mix-blend":
|
|
2391
|
+
"mix-blend": ie()
|
|
2392
2392
|
}],
|
|
2393
2393
|
/**
|
|
2394
2394
|
* Background Blend Mode
|
|
2395
2395
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
2396
2396
|
*/
|
|
2397
2397
|
"bg-blend": [{
|
|
2398
|
-
"bg-blend":
|
|
2398
|
+
"bg-blend": ie()
|
|
2399
2399
|
}],
|
|
2400
2400
|
// Filters
|
|
2401
2401
|
/**
|
|
@@ -2432,7 +2432,7 @@ function yt() {
|
|
|
2432
2432
|
* @see https://tailwindcss.com/docs/drop-shadow
|
|
2433
2433
|
*/
|
|
2434
2434
|
"drop-shadow": [{
|
|
2435
|
-
"drop-shadow": ["", "none", D,
|
|
2435
|
+
"drop-shadow": ["", "none", D, m]
|
|
2436
2436
|
}],
|
|
2437
2437
|
/**
|
|
2438
2438
|
* Grayscale
|
|
@@ -2460,14 +2460,14 @@ function yt() {
|
|
|
2460
2460
|
* @see https://tailwindcss.com/docs/saturate
|
|
2461
2461
|
*/
|
|
2462
2462
|
saturate: [{
|
|
2463
|
-
saturate: [
|
|
2463
|
+
saturate: [ge]
|
|
2464
2464
|
}],
|
|
2465
2465
|
/**
|
|
2466
2466
|
* Sepia
|
|
2467
2467
|
* @see https://tailwindcss.com/docs/sepia
|
|
2468
2468
|
*/
|
|
2469
2469
|
sepia: [{
|
|
2470
|
-
sepia: [
|
|
2470
|
+
sepia: [be]
|
|
2471
2471
|
}],
|
|
2472
2472
|
/**
|
|
2473
2473
|
* Backdrop Filter
|
|
@@ -2531,14 +2531,14 @@ function yt() {
|
|
|
2531
2531
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
2532
2532
|
*/
|
|
2533
2533
|
"backdrop-saturate": [{
|
|
2534
|
-
"backdrop-saturate": [
|
|
2534
|
+
"backdrop-saturate": [ge]
|
|
2535
2535
|
}],
|
|
2536
2536
|
/**
|
|
2537
2537
|
* Backdrop Sepia
|
|
2538
2538
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
2539
2539
|
*/
|
|
2540
2540
|
"backdrop-sepia": [{
|
|
2541
|
-
"backdrop-sepia": [
|
|
2541
|
+
"backdrop-sepia": [be]
|
|
2542
2542
|
}],
|
|
2543
2543
|
// Tables
|
|
2544
2544
|
/**
|
|
@@ -2589,7 +2589,7 @@ function yt() {
|
|
|
2589
2589
|
* @see https://tailwindcss.com/docs/transition-property
|
|
2590
2590
|
*/
|
|
2591
2591
|
transition: [{
|
|
2592
|
-
transition: ["none", "all", "", "colors", "opacity", "shadow", "transform",
|
|
2592
|
+
transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", m]
|
|
2593
2593
|
}],
|
|
2594
2594
|
/**
|
|
2595
2595
|
* Transition Duration
|
|
@@ -2603,7 +2603,7 @@ function yt() {
|
|
|
2603
2603
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2604
2604
|
*/
|
|
2605
2605
|
ease: [{
|
|
2606
|
-
ease: ["linear", "in", "out", "in-out",
|
|
2606
|
+
ease: ["linear", "in", "out", "in-out", m]
|
|
2607
2607
|
}],
|
|
2608
2608
|
/**
|
|
2609
2609
|
* Transition Delay
|
|
@@ -2617,7 +2617,7 @@ function yt() {
|
|
|
2617
2617
|
* @see https://tailwindcss.com/docs/animation
|
|
2618
2618
|
*/
|
|
2619
2619
|
animate: [{
|
|
2620
|
-
animate: ["none", "spin", "ping", "pulse", "bounce",
|
|
2620
|
+
animate: ["none", "spin", "ping", "pulse", "bounce", m]
|
|
2621
2621
|
}],
|
|
2622
2622
|
// Transforms
|
|
2623
2623
|
/**
|
|
@@ -2632,63 +2632,63 @@ function yt() {
|
|
|
2632
2632
|
* @see https://tailwindcss.com/docs/scale
|
|
2633
2633
|
*/
|
|
2634
2634
|
scale: [{
|
|
2635
|
-
scale: [
|
|
2635
|
+
scale: [oe]
|
|
2636
2636
|
}],
|
|
2637
2637
|
/**
|
|
2638
2638
|
* Scale X
|
|
2639
2639
|
* @see https://tailwindcss.com/docs/scale
|
|
2640
2640
|
*/
|
|
2641
2641
|
"scale-x": [{
|
|
2642
|
-
"scale-x": [
|
|
2642
|
+
"scale-x": [oe]
|
|
2643
2643
|
}],
|
|
2644
2644
|
/**
|
|
2645
2645
|
* Scale Y
|
|
2646
2646
|
* @see https://tailwindcss.com/docs/scale
|
|
2647
2647
|
*/
|
|
2648
2648
|
"scale-y": [{
|
|
2649
|
-
"scale-y": [
|
|
2649
|
+
"scale-y": [oe]
|
|
2650
2650
|
}],
|
|
2651
2651
|
/**
|
|
2652
2652
|
* Rotate
|
|
2653
2653
|
* @see https://tailwindcss.com/docs/rotate
|
|
2654
2654
|
*/
|
|
2655
2655
|
rotate: [{
|
|
2656
|
-
rotate: [
|
|
2656
|
+
rotate: [fe, m]
|
|
2657
2657
|
}],
|
|
2658
2658
|
/**
|
|
2659
2659
|
* Translate X
|
|
2660
2660
|
* @see https://tailwindcss.com/docs/translate
|
|
2661
2661
|
*/
|
|
2662
2662
|
"translate-x": [{
|
|
2663
|
-
"translate-x": [
|
|
2663
|
+
"translate-x": [ve]
|
|
2664
2664
|
}],
|
|
2665
2665
|
/**
|
|
2666
2666
|
* Translate Y
|
|
2667
2667
|
* @see https://tailwindcss.com/docs/translate
|
|
2668
2668
|
*/
|
|
2669
2669
|
"translate-y": [{
|
|
2670
|
-
"translate-y": [
|
|
2670
|
+
"translate-y": [ve]
|
|
2671
2671
|
}],
|
|
2672
2672
|
/**
|
|
2673
2673
|
* Skew X
|
|
2674
2674
|
* @see https://tailwindcss.com/docs/skew
|
|
2675
2675
|
*/
|
|
2676
2676
|
"skew-x": [{
|
|
2677
|
-
"skew-x": [
|
|
2677
|
+
"skew-x": [me]
|
|
2678
2678
|
}],
|
|
2679
2679
|
/**
|
|
2680
2680
|
* Skew Y
|
|
2681
2681
|
* @see https://tailwindcss.com/docs/skew
|
|
2682
2682
|
*/
|
|
2683
2683
|
"skew-y": [{
|
|
2684
|
-
"skew-y": [
|
|
2684
|
+
"skew-y": [me]
|
|
2685
2685
|
}],
|
|
2686
2686
|
/**
|
|
2687
2687
|
* Transform Origin
|
|
2688
2688
|
* @see https://tailwindcss.com/docs/transform-origin
|
|
2689
2689
|
*/
|
|
2690
2690
|
"transform-origin": [{
|
|
2691
|
-
origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left",
|
|
2691
|
+
origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", m]
|
|
2692
2692
|
}],
|
|
2693
2693
|
// Interactivity
|
|
2694
2694
|
/**
|
|
@@ -2710,7 +2710,7 @@ function yt() {
|
|
|
2710
2710
|
* @see https://tailwindcss.com/docs/cursor
|
|
2711
2711
|
*/
|
|
2712
2712
|
cursor: [{
|
|
2713
|
-
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out",
|
|
2713
|
+
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", m]
|
|
2714
2714
|
}],
|
|
2715
2715
|
/**
|
|
2716
2716
|
* Caret Color
|
|
@@ -2932,7 +2932,7 @@ function yt() {
|
|
|
2932
2932
|
* @see https://tailwindcss.com/docs/will-change
|
|
2933
2933
|
*/
|
|
2934
2934
|
"will-change": [{
|
|
2935
|
-
"will-change": ["auto", "scroll", "contents", "transform",
|
|
2935
|
+
"will-change": ["auto", "scroll", "contents", "transform", m]
|
|
2936
2936
|
}],
|
|
2937
2937
|
// SVG
|
|
2938
2938
|
/**
|
|
@@ -2947,7 +2947,7 @@ function yt() {
|
|
|
2947
2947
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
2948
2948
|
*/
|
|
2949
2949
|
"stroke-w": [{
|
|
2950
|
-
stroke: [
|
|
2950
|
+
stroke: [z, G, je]
|
|
2951
2951
|
}],
|
|
2952
2952
|
/**
|
|
2953
2953
|
* Stroke
|
|
@@ -3023,44 +3023,62 @@ function yt() {
|
|
|
3023
3023
|
}
|
|
3024
3024
|
};
|
|
3025
3025
|
}
|
|
3026
|
-
const
|
|
3027
|
-
function
|
|
3026
|
+
const Re = /* @__PURE__ */ rt(xt), Z = "large", re = "medium", te = "small", ne = "extra-large", sr = "h1", yt = "h2", wt = "h3", Ct = "div";
|
|
3027
|
+
function kt(r) {
|
|
3028
3028
|
return {
|
|
3029
|
-
[
|
|
3030
|
-
[
|
|
3031
|
-
[
|
|
3032
|
-
[
|
|
3029
|
+
[Z]: sr,
|
|
3030
|
+
[re]: yt,
|
|
3031
|
+
[te]: wt,
|
|
3032
|
+
[ne]: Ct
|
|
3033
3033
|
}[r] || sr;
|
|
3034
3034
|
}
|
|
3035
|
-
const
|
|
3035
|
+
const jt = B("", {
|
|
3036
3036
|
variants: {
|
|
3037
3037
|
size: {
|
|
3038
|
-
[
|
|
3039
|
-
[
|
|
3040
|
-
[
|
|
3041
|
-
[
|
|
3038
|
+
[te]: "mb-3",
|
|
3039
|
+
[re]: "mb-5",
|
|
3040
|
+
[Z]: "mb-5",
|
|
3041
|
+
[ne]: "mb-6"
|
|
3042
3042
|
}
|
|
3043
3043
|
}
|
|
3044
|
-
}),
|
|
3044
|
+
}), Ee = B("text-neutrals-darker", {
|
|
3045
3045
|
variants: {
|
|
3046
3046
|
size: {
|
|
3047
|
-
[
|
|
3048
|
-
[
|
|
3049
|
-
[
|
|
3050
|
-
[
|
|
3047
|
+
[te]: "text-xl font-semibold",
|
|
3048
|
+
[re]: "text-2xl font-semibold",
|
|
3049
|
+
[Z]: "text-3xl font-bold",
|
|
3050
|
+
[ne]: "text-4xl font-semibold"
|
|
3051
3051
|
}
|
|
3052
3052
|
}
|
|
3053
|
-
}),
|
|
3053
|
+
}), Et = B("mt-0 font-bold text-neutrals-dark", {
|
|
3054
3054
|
variants: {
|
|
3055
3055
|
size: {
|
|
3056
|
-
[
|
|
3057
|
-
[
|
|
3058
|
-
[
|
|
3059
|
-
[
|
|
3056
|
+
[te]: "mb-1 text-sm",
|
|
3057
|
+
[re]: "mb-2 text-sm",
|
|
3058
|
+
[Z]: "mb-2 text-base",
|
|
3059
|
+
[ne]: "mb-3 text-base"
|
|
3060
3060
|
}
|
|
3061
3061
|
}
|
|
3062
|
-
}), Rt = ({
|
|
3063
|
-
|
|
3062
|
+
}), Rt = B("mb-0 text-neutrals-dark", {
|
|
3063
|
+
variants: {
|
|
3064
|
+
size: {
|
|
3065
|
+
[te]: "mt-1 text-base",
|
|
3066
|
+
[re]: "mt-2 text-base",
|
|
3067
|
+
[Z]: "mt-2 text-base",
|
|
3068
|
+
[ne]: "mt-3 text-base"
|
|
3069
|
+
}
|
|
3070
|
+
}
|
|
3071
|
+
}), _t = B("text-neutrals-light", {
|
|
3072
|
+
variants: {
|
|
3073
|
+
size: {
|
|
3074
|
+
[te]: "mt-2",
|
|
3075
|
+
[re]: "mt-2",
|
|
3076
|
+
[Z]: "mt-2",
|
|
3077
|
+
[ne]: "mt-3"
|
|
3078
|
+
}
|
|
3079
|
+
}
|
|
3080
|
+
}), Tt = ({
|
|
3081
|
+
size: r = Z,
|
|
3064
3082
|
className: t = "",
|
|
3065
3083
|
text: n = "",
|
|
3066
3084
|
descriptionTop: s = "",
|
|
@@ -3070,19 +3088,19 @@ const Et = X("", {
|
|
|
3070
3088
|
headingTag: u,
|
|
3071
3089
|
...p
|
|
3072
3090
|
}) => {
|
|
3073
|
-
const b = s ? /* @__PURE__ */ d.jsx("p", { className:
|
|
3074
|
-
div: /* @__PURE__ */ d.jsx("div", { className:
|
|
3075
|
-
h3: /* @__PURE__ */ d.jsx("h3", { className:
|
|
3076
|
-
h2: /* @__PURE__ */ d.jsx("h2", { className:
|
|
3077
|
-
h1: /* @__PURE__ */ d.jsx("h1", { className:
|
|
3091
|
+
const b = s ? /* @__PURE__ */ d.jsx("p", { className: Et({ size: r }), children: s }) : null, g = c ? /* @__PURE__ */ d.jsx("p", { className: Rt({ size: r }), children: c }) : null, x = i ? /* @__PURE__ */ d.jsx("hr", { className: _t({ size: r }) }) : null, k = l ? jt({ size: r }) : "", P = {
|
|
3092
|
+
div: /* @__PURE__ */ d.jsx("div", { className: Ee({ size: r }), children: n }),
|
|
3093
|
+
h3: /* @__PURE__ */ d.jsx("h3", { className: Ee({ size: r }), children: n }),
|
|
3094
|
+
h2: /* @__PURE__ */ d.jsx("h2", { className: Ee({ size: r }), children: n }),
|
|
3095
|
+
h1: /* @__PURE__ */ d.jsx("h1", { className: Ee({ size: r }), children: n })
|
|
3078
3096
|
};
|
|
3079
|
-
return /* @__PURE__ */ d.jsxs("div", { className:
|
|
3097
|
+
return /* @__PURE__ */ d.jsxs("div", { className: Re(k, t), ...p, children: [
|
|
3080
3098
|
b,
|
|
3081
|
-
P[u ||
|
|
3099
|
+
P[u || kt(r)],
|
|
3082
3100
|
g,
|
|
3083
3101
|
x
|
|
3084
3102
|
] });
|
|
3085
|
-
},
|
|
3103
|
+
}, Zt = Tt, St = ({ width: r = "24", height: t = "24", className: n = "" }) => /* @__PURE__ */ d.jsxs(
|
|
3086
3104
|
"svg",
|
|
3087
3105
|
{
|
|
3088
3106
|
width: r,
|
|
@@ -3131,7 +3149,7 @@ const Et = X("", {
|
|
|
3131
3149
|
)
|
|
3132
3150
|
]
|
|
3133
3151
|
}
|
|
3134
|
-
),
|
|
3152
|
+
), Pt = St, Lt = ({ width: r = "24", height: t = "24", className: n = "" }) => /* @__PURE__ */ d.jsxs(
|
|
3135
3153
|
"svg",
|
|
3136
3154
|
{
|
|
3137
3155
|
width: r,
|
|
@@ -3162,7 +3180,7 @@ const Et = X("", {
|
|
|
3162
3180
|
)
|
|
3163
3181
|
]
|
|
3164
3182
|
}
|
|
3165
|
-
),
|
|
3183
|
+
), At = Lt, Ot = ({ width: r = "24", height: t = "24", className: n = "" }) => /* @__PURE__ */ d.jsxs(
|
|
3166
3184
|
"svg",
|
|
3167
3185
|
{
|
|
3168
3186
|
width: r,
|
|
@@ -3202,7 +3220,7 @@ const Et = X("", {
|
|
|
3202
3220
|
/* @__PURE__ */ d.jsx("defs", { children: /* @__PURE__ */ d.jsx("clipPath", { id: "clip0_2681_281", children: /* @__PURE__ */ d.jsx("rect", { width: "20", height: "20", fill: "white", transform: "translate(2 2)" }) }) })
|
|
3203
3221
|
]
|
|
3204
3222
|
}
|
|
3205
|
-
),
|
|
3223
|
+
), Mt = Ot, It = ({ width: r = "24", height: t = "24", className: n = "" }) => /* @__PURE__ */ d.jsxs(
|
|
3206
3224
|
"svg",
|
|
3207
3225
|
{
|
|
3208
3226
|
width: r,
|
|
@@ -3236,7 +3254,7 @@ const Et = X("", {
|
|
|
3236
3254
|
/* @__PURE__ */ d.jsx("defs", { children: /* @__PURE__ */ d.jsx("clipPath", { id: "clip0_2681_180", children: /* @__PURE__ */ d.jsx("rect", { width: "20", height: "20", fill: "white", transform: "translate(2 2)" }) }) })
|
|
3237
3255
|
]
|
|
3238
3256
|
}
|
|
3239
|
-
),
|
|
3257
|
+
), Nt = It, Wt = ({ width: r = "22", height: t = "22", className: n = "" }) => /* @__PURE__ */ d.jsxs(
|
|
3240
3258
|
"svg",
|
|
3241
3259
|
{
|
|
3242
3260
|
width: r,
|
|
@@ -3267,11 +3285,11 @@ const Et = X("", {
|
|
|
3267
3285
|
)
|
|
3268
3286
|
]
|
|
3269
3287
|
}
|
|
3270
|
-
),
|
|
3271
|
-
function
|
|
3288
|
+
), zt = Wt;
|
|
3289
|
+
function $t() {
|
|
3272
3290
|
return Math.floor(Math.random() * 1e7);
|
|
3273
3291
|
}
|
|
3274
|
-
const
|
|
3292
|
+
const Vt = B(
|
|
3275
3293
|
[
|
|
3276
3294
|
"flex",
|
|
3277
3295
|
"w-full",
|
|
@@ -3292,7 +3310,7 @@ const $t = X(
|
|
|
3292
3310
|
}
|
|
3293
3311
|
}
|
|
3294
3312
|
}
|
|
3295
|
-
),
|
|
3313
|
+
), Ft = (r) => Re(Vt(r)), Gt = B("", {
|
|
3296
3314
|
variants: {
|
|
3297
3315
|
variant: {
|
|
3298
3316
|
success: "text-success-green-dark",
|
|
@@ -3301,7 +3319,7 @@ const $t = X(
|
|
|
3301
3319
|
error: "text-danger-red-dark"
|
|
3302
3320
|
}
|
|
3303
3321
|
}
|
|
3304
|
-
}),
|
|
3322
|
+
}), ar = (r) => Re(Gt(r)), Dt = B("", {
|
|
3305
3323
|
variants: {
|
|
3306
3324
|
variant: {
|
|
3307
3325
|
success: ["text-success-green-darkest", "stroke-success-green-darkest"],
|
|
@@ -3310,7 +3328,7 @@ const $t = X(
|
|
|
3310
3328
|
error: ["text-danger-red-darkest", "stroke-danger-red-darkest"]
|
|
3311
3329
|
}
|
|
3312
3330
|
}
|
|
3313
|
-
}),
|
|
3331
|
+
}), Q = (r) => Re(Dt(r)), Bt = ({
|
|
3314
3332
|
variant: r = "info",
|
|
3315
3333
|
isDismissible: t = !0,
|
|
3316
3334
|
showIcon: n = !0,
|
|
@@ -3318,16 +3336,16 @@ const $t = X(
|
|
|
3318
3336
|
title: c = "",
|
|
3319
3337
|
description: i = "",
|
|
3320
3338
|
content: l = null,
|
|
3321
|
-
id: u = "alert_" +
|
|
3339
|
+
id: u = "alert_" + $t().toString(),
|
|
3322
3340
|
handleClose: p
|
|
3323
3341
|
}) => {
|
|
3324
3342
|
const b = {
|
|
3325
|
-
success: /* @__PURE__ */ d.jsx(
|
|
3326
|
-
info: /* @__PURE__ */ d.jsx(
|
|
3327
|
-
warning: /* @__PURE__ */ d.jsx(
|
|
3328
|
-
error: /* @__PURE__ */ d.jsx(
|
|
3343
|
+
success: /* @__PURE__ */ d.jsx(At, { className: Q({ variant: r }) }),
|
|
3344
|
+
info: /* @__PURE__ */ d.jsx(Pt, { className: Q({ variant: r }) }),
|
|
3345
|
+
warning: /* @__PURE__ */ d.jsx(Mt, { className: Q({ variant: r }) }),
|
|
3346
|
+
error: /* @__PURE__ */ d.jsx(Nt, { className: Q({ variant: r }) })
|
|
3329
3347
|
};
|
|
3330
|
-
return /* @__PURE__ */ d.jsxs("div", { id: u, className:
|
|
3348
|
+
return /* @__PURE__ */ d.jsxs("div", { id: u, className: Ft({ variant: r }), children: [
|
|
3331
3349
|
/* @__PURE__ */ d.jsxs("div", { className: "flex flex-row", children: [
|
|
3332
3350
|
n && /* @__PURE__ */ d.jsx(
|
|
3333
3351
|
"div",
|
|
@@ -3343,11 +3361,11 @@ const $t = X(
|
|
|
3343
3361
|
className: `${s === "large" ? "flex-col" : "flex-row"} flex gap-3`,
|
|
3344
3362
|
children: [
|
|
3345
3363
|
s !== "none" && c !== "" && /* @__PURE__ */ d.jsx("h1", { className: s === "large" ? "text-xl font-semibold" : "hidden", children: c }),
|
|
3346
|
-
/* @__PURE__ */ d.jsxs("div", { className:
|
|
3364
|
+
/* @__PURE__ */ d.jsxs("div", { className: ar({ variant: r }), children: [
|
|
3347
3365
|
/* @__PURE__ */ d.jsx(
|
|
3348
3366
|
"span",
|
|
3349
3367
|
{
|
|
3350
|
-
className: `${
|
|
3368
|
+
className: `${Q({ variant: r })} ${s === "small" && c !== "" ? "pr-2 text-base font-semibold" : "hidden"}`,
|
|
3351
3369
|
children: c
|
|
3352
3370
|
}
|
|
3353
3371
|
),
|
|
@@ -3356,15 +3374,15 @@ const $t = X(
|
|
|
3356
3374
|
]
|
|
3357
3375
|
}
|
|
3358
3376
|
),
|
|
3359
|
-
l && /* @__PURE__ */ d.jsx("div", { className:
|
|
3377
|
+
l && /* @__PURE__ */ d.jsx("div", { className: ar({ variant: r }), children: l })
|
|
3360
3378
|
] })
|
|
3361
3379
|
] }),
|
|
3362
|
-
t === !0 && /* @__PURE__ */ d.jsx("button", { className: "h-5", onClick: p, children: /* @__PURE__ */ d.jsx(
|
|
3380
|
+
t === !0 && /* @__PURE__ */ d.jsx("button", { className: "h-5", onClick: p, children: /* @__PURE__ */ d.jsx(zt, { width: "1rem", height: "1rem", className: Q({ variant: r }) }) })
|
|
3363
3381
|
] });
|
|
3364
|
-
},
|
|
3382
|
+
}, qt = Bt;
|
|
3365
3383
|
export {
|
|
3366
|
-
|
|
3367
|
-
|
|
3368
|
-
|
|
3384
|
+
qt as Alert,
|
|
3385
|
+
Ht as Button,
|
|
3386
|
+
Zt as Heading
|
|
3369
3387
|
};
|
|
3370
3388
|
//# sourceMappingURL=index.es.js.map
|