@paolojulian.dev/design-system 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +9 -9
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +15 -0
- package/dist/index.es.js +302 -265
- package/dist/index.es.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import er from "react";
|
|
2
2
|
var Se = { exports: {} }, se = {};
|
|
3
3
|
/**
|
|
4
4
|
* @license React
|
|
@@ -9,15 +9,15 @@ var Se = { exports: {} }, se = {};
|
|
|
9
9
|
* This source code is licensed under the MIT license found in the
|
|
10
10
|
* LICENSE file in the root directory of this source tree.
|
|
11
11
|
*/
|
|
12
|
-
var
|
|
13
|
-
function
|
|
14
|
-
if (
|
|
15
|
-
|
|
16
|
-
var r =
|
|
12
|
+
var Je;
|
|
13
|
+
function Mr() {
|
|
14
|
+
if (Je) return se;
|
|
15
|
+
Je = 1;
|
|
16
|
+
var r = er, t = Symbol.for("react.element"), o = Symbol.for("react.fragment"), n = 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 };
|
|
17
17
|
function u(l, p, m) {
|
|
18
18
|
var b, x = {}, C = null, j = null;
|
|
19
19
|
m !== void 0 && (C = "" + m), p.key !== void 0 && (C = "" + p.key), p.ref !== void 0 && (j = p.ref);
|
|
20
|
-
for (b in p)
|
|
20
|
+
for (b in p) n.call(p, b) && !i.hasOwnProperty(b) && (x[b] = p[b]);
|
|
21
21
|
if (l && l.defaultProps) for (b in p = l.defaultProps, p) x[b] === void 0 && (x[b] = p[b]);
|
|
22
22
|
return { $$typeof: t, type: l, key: C, ref: j, props: x, _owner: c.current };
|
|
23
23
|
}
|
|
@@ -33,48 +33,48 @@ var ie = {};
|
|
|
33
33
|
* This source code is licensed under the MIT license found in the
|
|
34
34
|
* LICENSE file in the root directory of this source tree.
|
|
35
35
|
*/
|
|
36
|
-
var
|
|
37
|
-
function
|
|
38
|
-
return
|
|
39
|
-
var r =
|
|
36
|
+
var Ke;
|
|
37
|
+
function Fr() {
|
|
38
|
+
return Ke || (Ke = 1, process.env.NODE_ENV !== "production" && function() {
|
|
39
|
+
var r = er, t = Symbol.for("react.element"), o = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), u = Symbol.for("react.provider"), l = Symbol.for("react.context"), p = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), b = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), C = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), O = Symbol.iterator, S = "@@iterator";
|
|
40
40
|
function w(e) {
|
|
41
41
|
if (e === null || typeof e != "object")
|
|
42
42
|
return null;
|
|
43
|
-
var
|
|
44
|
-
return typeof
|
|
43
|
+
var a = O && e[O] || e[S];
|
|
44
|
+
return typeof a == "function" ? a : null;
|
|
45
45
|
}
|
|
46
46
|
var k = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
47
47
|
function y(e) {
|
|
48
48
|
{
|
|
49
|
-
for (var
|
|
49
|
+
for (var a = arguments.length, s = new Array(a > 1 ? a - 1 : 0), d = 1; d < a; d++)
|
|
50
50
|
s[d - 1] = arguments[d];
|
|
51
51
|
Y("error", e, s);
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
-
function Y(e,
|
|
54
|
+
function Y(e, a, s) {
|
|
55
55
|
{
|
|
56
56
|
var d = k.ReactDebugCurrentFrame, h = d.getStackAddendum();
|
|
57
|
-
h !== "" && (
|
|
57
|
+
h !== "" && (a += "%s", s = s.concat([h]));
|
|
58
58
|
var E = s.map(function(v) {
|
|
59
59
|
return String(v);
|
|
60
60
|
});
|
|
61
|
-
E.unshift("Warning: " +
|
|
61
|
+
E.unshift("Warning: " + a), Function.prototype.apply.call(console[e], console, E);
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
|
-
var
|
|
64
|
+
var W = !1, q = !1, ue = !1, de = !1, fe = !1, J;
|
|
65
65
|
J = Symbol.for("react.module.reference");
|
|
66
66
|
function ee(e) {
|
|
67
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
67
|
+
return !!(typeof e == "string" || typeof e == "function" || e === n || e === i || fe || e === c || e === m || e === b || de || e === j || W || q || ue || typeof e == "object" && e !== null && (e.$$typeof === C || e.$$typeof === x || e.$$typeof === u || e.$$typeof === l || e.$$typeof === p || // This needs to include all possible module reference object
|
|
68
68
|
// types supported by any Flight configuration anywhere since
|
|
69
69
|
// we don't know which Flight build this will end up being used
|
|
70
70
|
// with.
|
|
71
71
|
e.$$typeof === J || e.getModuleId !== void 0));
|
|
72
72
|
}
|
|
73
|
-
function re(e,
|
|
73
|
+
function re(e, a, s) {
|
|
74
74
|
var d = e.displayName;
|
|
75
75
|
if (d)
|
|
76
76
|
return d;
|
|
77
|
-
var h =
|
|
77
|
+
var h = a.displayName || a.name || "";
|
|
78
78
|
return h !== "" ? s + "(" + h + ")" : s;
|
|
79
79
|
}
|
|
80
80
|
function R(e) {
|
|
@@ -88,7 +88,7 @@ function Mr() {
|
|
|
88
88
|
if (typeof e == "string")
|
|
89
89
|
return e;
|
|
90
90
|
switch (e) {
|
|
91
|
-
case
|
|
91
|
+
case n:
|
|
92
92
|
return "Fragment";
|
|
93
93
|
case o:
|
|
94
94
|
return "Portal";
|
|
@@ -104,8 +104,8 @@ function Mr() {
|
|
|
104
104
|
if (typeof e == "object")
|
|
105
105
|
switch (e.$$typeof) {
|
|
106
106
|
case l:
|
|
107
|
-
var
|
|
108
|
-
return R(
|
|
107
|
+
var a = e;
|
|
108
|
+
return R(a) + ".Consumer";
|
|
109
109
|
case u:
|
|
110
110
|
var s = e;
|
|
111
111
|
return R(s._context) + ".Provider";
|
|
@@ -125,18 +125,18 @@ function Mr() {
|
|
|
125
125
|
}
|
|
126
126
|
return null;
|
|
127
127
|
}
|
|
128
|
-
var M = Object.assign, $ = 0, U, te, K, G, oe, F,
|
|
129
|
-
function
|
|
128
|
+
var M = Object.assign, $ = 0, U, te, K, G, oe, F, Ae;
|
|
129
|
+
function ze() {
|
|
130
130
|
}
|
|
131
|
-
|
|
132
|
-
function
|
|
131
|
+
ze.__reactDisabledLog = !0;
|
|
132
|
+
function lr() {
|
|
133
133
|
{
|
|
134
134
|
if ($ === 0) {
|
|
135
|
-
U = console.log, te = console.info, K = console.warn, G = console.error, oe = console.group, F = console.groupCollapsed,
|
|
135
|
+
U = console.log, te = console.info, K = console.warn, G = console.error, oe = console.group, F = console.groupCollapsed, Ae = console.groupEnd;
|
|
136
136
|
var e = {
|
|
137
137
|
configurable: !0,
|
|
138
138
|
enumerable: !0,
|
|
139
|
-
value:
|
|
139
|
+
value: ze,
|
|
140
140
|
writable: !0
|
|
141
141
|
};
|
|
142
142
|
Object.defineProperties(console, {
|
|
@@ -152,7 +152,7 @@ function Mr() {
|
|
|
152
152
|
$++;
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
|
-
function
|
|
155
|
+
function cr() {
|
|
156
156
|
{
|
|
157
157
|
if ($--, $ === 0) {
|
|
158
158
|
var e = {
|
|
@@ -180,7 +180,7 @@ function Mr() {
|
|
|
180
180
|
value: F
|
|
181
181
|
}),
|
|
182
182
|
groupEnd: M({}, e, {
|
|
183
|
-
value:
|
|
183
|
+
value: Ae
|
|
184
184
|
})
|
|
185
185
|
});
|
|
186
186
|
}
|
|
@@ -188,7 +188,7 @@ function Mr() {
|
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
190
|
var ve = k.ReactCurrentDispatcher, he;
|
|
191
|
-
function pe(e,
|
|
191
|
+
function pe(e, a, s) {
|
|
192
192
|
{
|
|
193
193
|
if (he === void 0)
|
|
194
194
|
try {
|
|
@@ -203,10 +203,10 @@ function Mr() {
|
|
|
203
203
|
}
|
|
204
204
|
var ye = !1, be;
|
|
205
205
|
{
|
|
206
|
-
var
|
|
207
|
-
be = new
|
|
206
|
+
var ur = typeof WeakMap == "function" ? WeakMap : Map;
|
|
207
|
+
be = new ur();
|
|
208
208
|
}
|
|
209
|
-
function
|
|
209
|
+
function Ie(e, a) {
|
|
210
210
|
if (!e || ye)
|
|
211
211
|
return "";
|
|
212
212
|
{
|
|
@@ -219,9 +219,9 @@ function Mr() {
|
|
|
219
219
|
var h = Error.prepareStackTrace;
|
|
220
220
|
Error.prepareStackTrace = void 0;
|
|
221
221
|
var E;
|
|
222
|
-
E = ve.current, ve.current = null,
|
|
222
|
+
E = ve.current, ve.current = null, lr();
|
|
223
223
|
try {
|
|
224
|
-
if (
|
|
224
|
+
if (a) {
|
|
225
225
|
var v = function() {
|
|
226
226
|
throw Error();
|
|
227
227
|
};
|
|
@@ -263,32 +263,32 @@ function Mr() {
|
|
|
263
263
|
if (T !== 1 || P !== 1)
|
|
264
264
|
do
|
|
265
265
|
if (T--, P--, P < 0 || g[T] !== A[P]) {
|
|
266
|
-
var
|
|
266
|
+
var N = `
|
|
267
267
|
` + g[T].replace(" at new ", " at ");
|
|
268
|
-
return e.displayName &&
|
|
268
|
+
return e.displayName && N.includes("<anonymous>") && (N = N.replace("<anonymous>", e.displayName)), typeof e == "function" && be.set(e, N), N;
|
|
269
269
|
}
|
|
270
270
|
while (T >= 1 && P >= 0);
|
|
271
271
|
break;
|
|
272
272
|
}
|
|
273
273
|
}
|
|
274
274
|
} finally {
|
|
275
|
-
ye = !1, ve.current = E,
|
|
275
|
+
ye = !1, ve.current = E, cr(), Error.prepareStackTrace = h;
|
|
276
276
|
}
|
|
277
277
|
var H = e ? e.displayName || e.name : "", B = H ? pe(H) : "";
|
|
278
278
|
return typeof e == "function" && be.set(e, B), B;
|
|
279
279
|
}
|
|
280
|
-
function
|
|
281
|
-
return
|
|
280
|
+
function dr(e, a, s) {
|
|
281
|
+
return Ie(e, !1);
|
|
282
282
|
}
|
|
283
|
-
function
|
|
284
|
-
var
|
|
285
|
-
return !!(
|
|
283
|
+
function fr(e) {
|
|
284
|
+
var a = e.prototype;
|
|
285
|
+
return !!(a && a.isReactComponent);
|
|
286
286
|
}
|
|
287
|
-
function ge(e,
|
|
287
|
+
function ge(e, a, s) {
|
|
288
288
|
if (e == null)
|
|
289
289
|
return "";
|
|
290
290
|
if (typeof e == "function")
|
|
291
|
-
return
|
|
291
|
+
return Ie(e, fr(e));
|
|
292
292
|
if (typeof e == "string")
|
|
293
293
|
return pe(e);
|
|
294
294
|
switch (e) {
|
|
@@ -300,28 +300,28 @@ function Mr() {
|
|
|
300
300
|
if (typeof e == "object")
|
|
301
301
|
switch (e.$$typeof) {
|
|
302
302
|
case p:
|
|
303
|
-
return
|
|
303
|
+
return dr(e.render);
|
|
304
304
|
case x:
|
|
305
|
-
return ge(e.type,
|
|
305
|
+
return ge(e.type, a, s);
|
|
306
306
|
case C: {
|
|
307
307
|
var d = e, h = d._payload, E = d._init;
|
|
308
308
|
try {
|
|
309
|
-
return ge(E(h),
|
|
309
|
+
return ge(E(h), a, s);
|
|
310
310
|
} catch {
|
|
311
311
|
}
|
|
312
312
|
}
|
|
313
313
|
}
|
|
314
314
|
return "";
|
|
315
315
|
}
|
|
316
|
-
var ne = Object.prototype.hasOwnProperty,
|
|
316
|
+
var ne = Object.prototype.hasOwnProperty, Me = {}, Fe = k.ReactDebugCurrentFrame;
|
|
317
317
|
function me(e) {
|
|
318
318
|
if (e) {
|
|
319
|
-
var
|
|
320
|
-
|
|
319
|
+
var a = e._owner, s = ge(e.type, e._source, a ? a.type : null);
|
|
320
|
+
Fe.setExtraStackFrame(s);
|
|
321
321
|
} else
|
|
322
|
-
|
|
322
|
+
Fe.setExtraStackFrame(null);
|
|
323
323
|
}
|
|
324
|
-
function
|
|
324
|
+
function pr(e, a, s, d, h) {
|
|
325
325
|
{
|
|
326
326
|
var E = Function.call.bind(ne);
|
|
327
327
|
for (var v in e)
|
|
@@ -332,71 +332,71 @@ function Mr() {
|
|
|
332
332
|
var A = Error((d || "React class") + ": " + s + " 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`.");
|
|
333
333
|
throw A.name = "Invariant Violation", A;
|
|
334
334
|
}
|
|
335
|
-
g = e[v](
|
|
335
|
+
g = e[v](a, v, d, s, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
336
336
|
} catch (T) {
|
|
337
337
|
g = T;
|
|
338
338
|
}
|
|
339
|
-
g && !(g instanceof Error) && (me(h), 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).", d || "React class", s, v, typeof g), me(null)), g instanceof Error && !(g.message in
|
|
339
|
+
g && !(g instanceof Error) && (me(h), 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).", d || "React class", s, v, typeof g), me(null)), g instanceof Error && !(g.message in Me) && (Me[g.message] = !0, me(h), y("Failed %s type: %s", s, g.message), me(null));
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
|
-
var
|
|
343
|
+
var br = Array.isArray;
|
|
344
344
|
function xe(e) {
|
|
345
|
-
return
|
|
345
|
+
return br(e);
|
|
346
346
|
}
|
|
347
|
-
function
|
|
347
|
+
function gr(e) {
|
|
348
348
|
{
|
|
349
|
-
var
|
|
349
|
+
var a = typeof Symbol == "function" && Symbol.toStringTag, s = a && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
350
350
|
return s;
|
|
351
351
|
}
|
|
352
352
|
}
|
|
353
|
-
function
|
|
353
|
+
function mr(e) {
|
|
354
354
|
try {
|
|
355
|
-
return
|
|
355
|
+
return Ne(e), !1;
|
|
356
356
|
} catch {
|
|
357
357
|
return !0;
|
|
358
358
|
}
|
|
359
359
|
}
|
|
360
|
-
function
|
|
360
|
+
function Ne(e) {
|
|
361
361
|
return "" + e;
|
|
362
362
|
}
|
|
363
|
-
function
|
|
364
|
-
if (
|
|
365
|
-
return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
363
|
+
function We(e) {
|
|
364
|
+
if (mr(e))
|
|
365
|
+
return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", gr(e)), Ne(e);
|
|
366
366
|
}
|
|
367
|
-
var ae = k.ReactCurrentOwner,
|
|
367
|
+
var ae = k.ReactCurrentOwner, vr = {
|
|
368
368
|
key: !0,
|
|
369
369
|
ref: !0,
|
|
370
370
|
__self: !0,
|
|
371
371
|
__source: !0
|
|
372
|
-
},
|
|
372
|
+
}, Ve, $e, we;
|
|
373
373
|
we = {};
|
|
374
|
-
function
|
|
374
|
+
function hr(e) {
|
|
375
375
|
if (ne.call(e, "ref")) {
|
|
376
|
-
var
|
|
377
|
-
if (
|
|
376
|
+
var a = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
377
|
+
if (a && a.isReactWarning)
|
|
378
378
|
return !1;
|
|
379
379
|
}
|
|
380
380
|
return e.ref !== void 0;
|
|
381
381
|
}
|
|
382
|
-
function
|
|
382
|
+
function yr(e) {
|
|
383
383
|
if (ne.call(e, "key")) {
|
|
384
|
-
var
|
|
385
|
-
if (
|
|
384
|
+
var a = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
385
|
+
if (a && a.isReactWarning)
|
|
386
386
|
return !1;
|
|
387
387
|
}
|
|
388
388
|
return e.key !== void 0;
|
|
389
389
|
}
|
|
390
|
-
function
|
|
391
|
-
if (typeof e.ref == "string" && ae.current &&
|
|
390
|
+
function xr(e, a) {
|
|
391
|
+
if (typeof e.ref == "string" && ae.current && a && ae.current.stateNode !== a) {
|
|
392
392
|
var s = I(ae.current.type);
|
|
393
393
|
we[s] || (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', I(ae.current.type), e.ref), we[s] = !0);
|
|
394
394
|
}
|
|
395
395
|
}
|
|
396
|
-
function
|
|
396
|
+
function wr(e, a) {
|
|
397
397
|
{
|
|
398
398
|
var s = function() {
|
|
399
|
-
|
|
399
|
+
Ve || (Ve = !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)", a));
|
|
400
400
|
};
|
|
401
401
|
s.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
402
402
|
get: s,
|
|
@@ -404,10 +404,10 @@ function Mr() {
|
|
|
404
404
|
});
|
|
405
405
|
}
|
|
406
406
|
}
|
|
407
|
-
function
|
|
407
|
+
function Rr(e, a) {
|
|
408
408
|
{
|
|
409
409
|
var s = function() {
|
|
410
|
-
|
|
410
|
+
$e || ($e = !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)", a));
|
|
411
411
|
};
|
|
412
412
|
s.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
413
413
|
get: s,
|
|
@@ -415,13 +415,13 @@ function Mr() {
|
|
|
415
415
|
});
|
|
416
416
|
}
|
|
417
417
|
}
|
|
418
|
-
var
|
|
418
|
+
var Er = function(e, a, s, d, h, E, v) {
|
|
419
419
|
var g = {
|
|
420
420
|
// This tag allows us to uniquely identify this as a React Element
|
|
421
421
|
$$typeof: t,
|
|
422
422
|
// Built-in properties that belong on the element
|
|
423
423
|
type: e,
|
|
424
|
-
key:
|
|
424
|
+
key: a,
|
|
425
425
|
ref: s,
|
|
426
426
|
props: v,
|
|
427
427
|
// Record the component responsible for creating this element.
|
|
@@ -444,12 +444,12 @@ function Mr() {
|
|
|
444
444
|
value: h
|
|
445
445
|
}), Object.freeze && (Object.freeze(g.props), Object.freeze(g)), g;
|
|
446
446
|
};
|
|
447
|
-
function
|
|
447
|
+
function Cr(e, a, s, d, h) {
|
|
448
448
|
{
|
|
449
449
|
var E, v = {}, g = null, A = null;
|
|
450
|
-
s !== void 0 && (
|
|
451
|
-
for (E in
|
|
452
|
-
ne.call(
|
|
450
|
+
s !== void 0 && (We(s), g = "" + s), yr(a) && (We(a.key), g = "" + a.key), hr(a) && (A = a.ref, xr(a, h));
|
|
451
|
+
for (E in a)
|
|
452
|
+
ne.call(a, E) && !vr.hasOwnProperty(E) && (v[E] = a[E]);
|
|
453
453
|
if (e && e.defaultProps) {
|
|
454
454
|
var T = e.defaultProps;
|
|
455
455
|
for (E in T)
|
|
@@ -457,25 +457,25 @@ function Mr() {
|
|
|
457
457
|
}
|
|
458
458
|
if (g || A) {
|
|
459
459
|
var P = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
460
|
-
g &&
|
|
460
|
+
g && wr(v, P), A && Rr(v, P);
|
|
461
461
|
}
|
|
462
|
-
return
|
|
462
|
+
return Er(e, g, A, h, d, ae.current, v);
|
|
463
463
|
}
|
|
464
464
|
}
|
|
465
|
-
var Re = k.ReactCurrentOwner,
|
|
465
|
+
var Re = k.ReactCurrentOwner, Ge = k.ReactDebugCurrentFrame;
|
|
466
466
|
function X(e) {
|
|
467
467
|
if (e) {
|
|
468
|
-
var
|
|
469
|
-
|
|
468
|
+
var a = e._owner, s = ge(e.type, e._source, a ? a.type : null);
|
|
469
|
+
Ge.setExtraStackFrame(s);
|
|
470
470
|
} else
|
|
471
|
-
|
|
471
|
+
Ge.setExtraStackFrame(null);
|
|
472
472
|
}
|
|
473
473
|
var Ee;
|
|
474
474
|
Ee = !1;
|
|
475
475
|
function Ce(e) {
|
|
476
476
|
return typeof e == "object" && e !== null && e.$$typeof === t;
|
|
477
477
|
}
|
|
478
|
-
function
|
|
478
|
+
function Le() {
|
|
479
479
|
{
|
|
480
480
|
if (Re.current) {
|
|
481
481
|
var e = I(Re.current.type);
|
|
@@ -487,43 +487,43 @@ Check the render method of \`` + e + "`.";
|
|
|
487
487
|
return "";
|
|
488
488
|
}
|
|
489
489
|
}
|
|
490
|
-
function
|
|
490
|
+
function _r(e) {
|
|
491
491
|
return "";
|
|
492
492
|
}
|
|
493
|
-
var
|
|
494
|
-
function
|
|
493
|
+
var De = {};
|
|
494
|
+
function kr(e) {
|
|
495
495
|
{
|
|
496
|
-
var
|
|
497
|
-
if (!
|
|
496
|
+
var a = Le();
|
|
497
|
+
if (!a) {
|
|
498
498
|
var s = typeof e == "string" ? e : e.displayName || e.name;
|
|
499
|
-
s && (
|
|
499
|
+
s && (a = `
|
|
500
500
|
|
|
501
501
|
Check the top-level render call using <` + s + ">.");
|
|
502
502
|
}
|
|
503
|
-
return
|
|
503
|
+
return a;
|
|
504
504
|
}
|
|
505
505
|
}
|
|
506
|
-
function
|
|
506
|
+
function Ye(e, a) {
|
|
507
507
|
{
|
|
508
508
|
if (!e._store || e._store.validated || e.key != null)
|
|
509
509
|
return;
|
|
510
510
|
e._store.validated = !0;
|
|
511
|
-
var s =
|
|
512
|
-
if (
|
|
511
|
+
var s = kr(a);
|
|
512
|
+
if (De[s])
|
|
513
513
|
return;
|
|
514
|
-
|
|
514
|
+
De[s] = !0;
|
|
515
515
|
var d = "";
|
|
516
516
|
e && e._owner && e._owner !== Re.current && (d = " It was passed a child from " + I(e._owner.type) + "."), X(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.', s, d), X(null);
|
|
517
517
|
}
|
|
518
518
|
}
|
|
519
|
-
function
|
|
519
|
+
function Ue(e, a) {
|
|
520
520
|
{
|
|
521
521
|
if (typeof e != "object")
|
|
522
522
|
return;
|
|
523
523
|
if (xe(e))
|
|
524
524
|
for (var s = 0; s < e.length; s++) {
|
|
525
525
|
var d = e[s];
|
|
526
|
-
Ce(d) &&
|
|
526
|
+
Ce(d) && Ye(d, a);
|
|
527
527
|
}
|
|
528
528
|
else if (Ce(e))
|
|
529
529
|
e._store && (e._store.validated = !0);
|
|
@@ -531,39 +531,39 @@ Check the top-level render call using <` + s + ">.");
|
|
|
531
531
|
var h = w(e);
|
|
532
532
|
if (typeof h == "function" && h !== e.entries)
|
|
533
533
|
for (var E = h.call(e), v; !(v = E.next()).done; )
|
|
534
|
-
Ce(v.value) &&
|
|
534
|
+
Ce(v.value) && Ye(v.value, a);
|
|
535
535
|
}
|
|
536
536
|
}
|
|
537
537
|
}
|
|
538
|
-
function
|
|
538
|
+
function Sr(e) {
|
|
539
539
|
{
|
|
540
|
-
var
|
|
541
|
-
if (
|
|
540
|
+
var a = e.type;
|
|
541
|
+
if (a == null || typeof a == "string")
|
|
542
542
|
return;
|
|
543
543
|
var s;
|
|
544
|
-
if (typeof
|
|
545
|
-
s =
|
|
546
|
-
else if (typeof
|
|
544
|
+
if (typeof a == "function")
|
|
545
|
+
s = a.propTypes;
|
|
546
|
+
else if (typeof a == "object" && (a.$$typeof === p || // Note: Memo only checks outer props here.
|
|
547
547
|
// Inner props are checked in the reconciler.
|
|
548
|
-
|
|
549
|
-
s =
|
|
548
|
+
a.$$typeof === x))
|
|
549
|
+
s = a.propTypes;
|
|
550
550
|
else
|
|
551
551
|
return;
|
|
552
552
|
if (s) {
|
|
553
|
-
var d = I(
|
|
554
|
-
|
|
555
|
-
} else if (
|
|
553
|
+
var d = I(a);
|
|
554
|
+
pr(s, e.props, "prop", d, e);
|
|
555
|
+
} else if (a.PropTypes !== void 0 && !Ee) {
|
|
556
556
|
Ee = !0;
|
|
557
|
-
var h = I(
|
|
557
|
+
var h = I(a);
|
|
558
558
|
y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", h || "Unknown");
|
|
559
559
|
}
|
|
560
|
-
typeof
|
|
560
|
+
typeof a.getDefaultProps == "function" && !a.getDefaultProps.isReactClassApproved && y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
561
561
|
}
|
|
562
562
|
}
|
|
563
|
-
function
|
|
563
|
+
function Tr(e) {
|
|
564
564
|
{
|
|
565
|
-
for (var
|
|
566
|
-
var d =
|
|
565
|
+
for (var a = Object.keys(e.props), s = 0; s < a.length; s++) {
|
|
566
|
+
var d = a[s];
|
|
567
567
|
if (d !== "children" && d !== "key") {
|
|
568
568
|
X(e), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", d), X(null);
|
|
569
569
|
break;
|
|
@@ -572,132 +572,131 @@ Check the top-level render call using <` + s + ">.");
|
|
|
572
572
|
e.ref !== null && (X(e), y("Invalid attribute `ref` supplied to `React.Fragment`."), X(null));
|
|
573
573
|
}
|
|
574
574
|
}
|
|
575
|
-
var
|
|
576
|
-
function
|
|
575
|
+
var Be = {};
|
|
576
|
+
function qe(e, a, s, d, h, E) {
|
|
577
577
|
{
|
|
578
578
|
var v = ee(e);
|
|
579
579
|
if (!v) {
|
|
580
580
|
var g = "";
|
|
581
581
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (g += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
582
|
-
var A =
|
|
583
|
-
A ? g += A : g +=
|
|
582
|
+
var A = _r();
|
|
583
|
+
A ? g += A : g += Le();
|
|
584
584
|
var T;
|
|
585
585
|
e === null ? T = "null" : xe(e) ? T = "array" : e !== void 0 && e.$$typeof === t ? (T = "<" + (I(e.type) || "Unknown") + " />", g = " Did you accidentally export a JSX literal instead of a component?") : T = 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", T, g);
|
|
586
586
|
}
|
|
587
|
-
var P =
|
|
587
|
+
var P = Cr(e, a, s, h, E);
|
|
588
588
|
if (P == null)
|
|
589
589
|
return P;
|
|
590
590
|
if (v) {
|
|
591
|
-
var
|
|
592
|
-
if (
|
|
591
|
+
var N = a.children;
|
|
592
|
+
if (N !== void 0)
|
|
593
593
|
if (d)
|
|
594
|
-
if (xe(
|
|
595
|
-
for (var H = 0; H <
|
|
596
|
-
|
|
597
|
-
Object.freeze && Object.freeze(
|
|
594
|
+
if (xe(N)) {
|
|
595
|
+
for (var H = 0; H < N.length; H++)
|
|
596
|
+
Ue(N[H], e);
|
|
597
|
+
Object.freeze && Object.freeze(N);
|
|
598
598
|
} else
|
|
599
599
|
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.");
|
|
600
600
|
else
|
|
601
|
-
|
|
601
|
+
Ue(N, e);
|
|
602
602
|
}
|
|
603
|
-
if (ne.call(
|
|
604
|
-
var B = I(e), z = Object.keys(
|
|
605
|
-
return
|
|
603
|
+
if (ne.call(a, "key")) {
|
|
604
|
+
var B = I(e), z = Object.keys(a).filter(function(Ir) {
|
|
605
|
+
return Ir !== "key";
|
|
606
606
|
}), _e = z.length > 0 ? "{key: someKey, " + z.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
607
|
-
if (!
|
|
608
|
-
var
|
|
607
|
+
if (!Be[B + _e]) {
|
|
608
|
+
var zr = z.length > 0 ? "{" + z.join(": ..., ") + ": ...}" : "{}";
|
|
609
609
|
y(`A props object containing a "key" prop is being spread into JSX:
|
|
610
610
|
let props = %s;
|
|
611
611
|
<%s {...props} />
|
|
612
612
|
React keys must be passed directly to JSX without using spread:
|
|
613
613
|
let props = %s;
|
|
614
|
-
<%s key={someKey} {...props} />`, _e, B,
|
|
614
|
+
<%s key={someKey} {...props} />`, _e, B, zr, B), Be[B + _e] = !0;
|
|
615
615
|
}
|
|
616
616
|
}
|
|
617
|
-
return e ===
|
|
617
|
+
return e === n ? Tr(P) : Sr(P), P;
|
|
618
618
|
}
|
|
619
619
|
}
|
|
620
|
-
function
|
|
621
|
-
return
|
|
620
|
+
function Pr(e, a, s) {
|
|
621
|
+
return qe(e, a, s, !0);
|
|
622
622
|
}
|
|
623
|
-
function
|
|
624
|
-
return
|
|
623
|
+
function jr(e, a, s) {
|
|
624
|
+
return qe(e, a, s, !1);
|
|
625
625
|
}
|
|
626
|
-
var
|
|
627
|
-
ie.Fragment =
|
|
626
|
+
var Or = jr, Ar = Pr;
|
|
627
|
+
ie.Fragment = n, ie.jsx = Or, ie.jsxs = Ar;
|
|
628
628
|
}()), ie;
|
|
629
629
|
}
|
|
630
|
-
process.env.NODE_ENV === "production" ? Se.exports =
|
|
631
|
-
var
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
if (typeof r == "string" || typeof r == "number") a += r;
|
|
630
|
+
process.env.NODE_ENV === "production" ? Se.exports = Mr() : Se.exports = Fr();
|
|
631
|
+
var Pe = Se.exports;
|
|
632
|
+
function rr(r) {
|
|
633
|
+
var t, o, n = "";
|
|
634
|
+
if (typeof r == "string" || typeof r == "number") n += r;
|
|
636
635
|
else if (typeof r == "object") if (Array.isArray(r)) {
|
|
637
636
|
var c = r.length;
|
|
638
|
-
for (t = 0; t < c; t++) r[t] && (o =
|
|
639
|
-
} else for (o in r) r[o] && (
|
|
640
|
-
return
|
|
637
|
+
for (t = 0; t < c; t++) r[t] && (o = rr(r[t])) && (n && (n += " "), n += o);
|
|
638
|
+
} else for (o in r) r[o] && (n && (n += " "), n += o);
|
|
639
|
+
return n;
|
|
641
640
|
}
|
|
642
|
-
function
|
|
643
|
-
for (var r, t, o = 0,
|
|
644
|
-
return
|
|
641
|
+
function Nr() {
|
|
642
|
+
for (var r, t, o = 0, n = "", c = arguments.length; o < c; o++) (r = arguments[o]) && (t = rr(r)) && (n && (n += " "), n += t);
|
|
643
|
+
return n;
|
|
645
644
|
}
|
|
646
|
-
const
|
|
647
|
-
const t =
|
|
645
|
+
const je = "-", Wr = (r) => {
|
|
646
|
+
const t = $r(r), {
|
|
648
647
|
conflictingClassGroups: o,
|
|
649
|
-
conflictingClassGroupModifiers:
|
|
648
|
+
conflictingClassGroupModifiers: n
|
|
650
649
|
} = r;
|
|
651
650
|
return {
|
|
652
651
|
getClassGroupId: (u) => {
|
|
653
|
-
const l = u.split(
|
|
654
|
-
return l[0] === "" && l.length !== 1 && l.shift(),
|
|
652
|
+
const l = u.split(je);
|
|
653
|
+
return l[0] === "" && l.length !== 1 && l.shift(), tr(l, t) || Vr(u);
|
|
655
654
|
},
|
|
656
655
|
getConflictingClassGroupIds: (u, l) => {
|
|
657
656
|
const p = o[u] || [];
|
|
658
|
-
return l &&
|
|
657
|
+
return l && n[u] ? [...p, ...n[u]] : p;
|
|
659
658
|
}
|
|
660
659
|
};
|
|
661
|
-
},
|
|
660
|
+
}, tr = (r, t) => {
|
|
662
661
|
var u;
|
|
663
662
|
if (r.length === 0)
|
|
664
663
|
return t.classGroupId;
|
|
665
|
-
const o = r[0],
|
|
664
|
+
const o = r[0], n = t.nextPart.get(o), c = n ? tr(r.slice(1), n) : void 0;
|
|
666
665
|
if (c)
|
|
667
666
|
return c;
|
|
668
667
|
if (t.validators.length === 0)
|
|
669
668
|
return;
|
|
670
|
-
const i = r.join(
|
|
669
|
+
const i = r.join(je);
|
|
671
670
|
return (u = t.validators.find(({
|
|
672
671
|
validator: l
|
|
673
672
|
}) => l(i))) == null ? void 0 : u.classGroupId;
|
|
674
|
-
},
|
|
675
|
-
if (
|
|
676
|
-
const t =
|
|
673
|
+
}, Xe = /^\[(.+)\]$/, Vr = (r) => {
|
|
674
|
+
if (Xe.test(r)) {
|
|
675
|
+
const t = Xe.exec(r)[1], o = t == null ? void 0 : t.substring(0, t.indexOf(":"));
|
|
677
676
|
if (o)
|
|
678
677
|
return "arbitrary.." + o;
|
|
679
678
|
}
|
|
680
|
-
},
|
|
679
|
+
}, $r = (r) => {
|
|
681
680
|
const {
|
|
682
681
|
theme: t,
|
|
683
682
|
prefix: o
|
|
684
|
-
} = r,
|
|
683
|
+
} = r, n = {
|
|
685
684
|
nextPart: /* @__PURE__ */ new Map(),
|
|
686
685
|
validators: []
|
|
687
686
|
};
|
|
688
|
-
return
|
|
689
|
-
Te(u,
|
|
690
|
-
}),
|
|
691
|
-
}, Te = (r, t, o,
|
|
687
|
+
return Lr(Object.entries(r.classGroups), o).forEach(([i, u]) => {
|
|
688
|
+
Te(u, n, i, t);
|
|
689
|
+
}), n;
|
|
690
|
+
}, Te = (r, t, o, n) => {
|
|
692
691
|
r.forEach((c) => {
|
|
693
692
|
if (typeof c == "string") {
|
|
694
|
-
const i = c === "" ? t :
|
|
693
|
+
const i = c === "" ? t : He(t, c);
|
|
695
694
|
i.classGroupId = o;
|
|
696
695
|
return;
|
|
697
696
|
}
|
|
698
697
|
if (typeof c == "function") {
|
|
699
|
-
if (
|
|
700
|
-
Te(c(
|
|
698
|
+
if (Gr(c)) {
|
|
699
|
+
Te(c(n), t, o, n);
|
|
701
700
|
return;
|
|
702
701
|
}
|
|
703
702
|
t.validators.push({
|
|
@@ -707,21 +706,21 @@ const Pe = "-", Wr = (r) => {
|
|
|
707
706
|
return;
|
|
708
707
|
}
|
|
709
708
|
Object.entries(c).forEach(([i, u]) => {
|
|
710
|
-
Te(u,
|
|
709
|
+
Te(u, He(t, i), o, n);
|
|
711
710
|
});
|
|
712
711
|
});
|
|
713
|
-
},
|
|
712
|
+
}, He = (r, t) => {
|
|
714
713
|
let o = r;
|
|
715
|
-
return t.split(
|
|
716
|
-
o.nextPart.has(
|
|
714
|
+
return t.split(je).forEach((n) => {
|
|
715
|
+
o.nextPart.has(n) || o.nextPart.set(n, {
|
|
717
716
|
nextPart: /* @__PURE__ */ new Map(),
|
|
718
717
|
validators: []
|
|
719
|
-
}), o = o.nextPart.get(
|
|
718
|
+
}), o = o.nextPart.get(n);
|
|
720
719
|
}), o;
|
|
721
|
-
},
|
|
722
|
-
const c =
|
|
720
|
+
}, Gr = (r) => r.isThemeGetter, Lr = (r, t) => t ? r.map(([o, n]) => {
|
|
721
|
+
const c = n.map((i) => typeof i == "string" ? t + i : typeof i == "object" ? Object.fromEntries(Object.entries(i).map(([u, l]) => [t + u, l])) : i);
|
|
723
722
|
return [o, c];
|
|
724
|
-
}) : r,
|
|
723
|
+
}) : r, Dr = (r) => {
|
|
725
724
|
if (r < 1)
|
|
726
725
|
return {
|
|
727
726
|
get: () => {
|
|
@@ -729,33 +728,33 @@ const Pe = "-", Wr = (r) => {
|
|
|
729
728
|
set: () => {
|
|
730
729
|
}
|
|
731
730
|
};
|
|
732
|
-
let t = 0, o = /* @__PURE__ */ new Map(),
|
|
731
|
+
let t = 0, o = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map();
|
|
733
732
|
const c = (i, u) => {
|
|
734
|
-
o.set(i, u), t++, t > r && (t = 0,
|
|
733
|
+
o.set(i, u), t++, t > r && (t = 0, n = o, o = /* @__PURE__ */ new Map());
|
|
735
734
|
};
|
|
736
735
|
return {
|
|
737
736
|
get(i) {
|
|
738
737
|
let u = o.get(i);
|
|
739
738
|
if (u !== void 0)
|
|
740
739
|
return u;
|
|
741
|
-
if ((u =
|
|
740
|
+
if ((u = n.get(i)) !== void 0)
|
|
742
741
|
return c(i, u), u;
|
|
743
742
|
},
|
|
744
743
|
set(i, u) {
|
|
745
744
|
o.has(i) ? o.set(i, u) : c(i, u);
|
|
746
745
|
}
|
|
747
746
|
};
|
|
748
|
-
},
|
|
747
|
+
}, or = "!", Yr = (r) => {
|
|
749
748
|
const {
|
|
750
749
|
separator: t,
|
|
751
750
|
experimentalParseClassName: o
|
|
752
|
-
} = r,
|
|
751
|
+
} = r, n = t.length === 1, c = t[0], i = t.length, u = (l) => {
|
|
753
752
|
const p = [];
|
|
754
753
|
let m = 0, b = 0, x;
|
|
755
754
|
for (let w = 0; w < l.length; w++) {
|
|
756
755
|
let k = l[w];
|
|
757
756
|
if (m === 0) {
|
|
758
|
-
if (k === c && (
|
|
757
|
+
if (k === c && (n || l.slice(w, w + i) === t)) {
|
|
759
758
|
p.push(l.slice(b, w)), b = w + i;
|
|
760
759
|
continue;
|
|
761
760
|
}
|
|
@@ -766,7 +765,7 @@ const Pe = "-", Wr = (r) => {
|
|
|
766
765
|
}
|
|
767
766
|
k === "[" ? m++ : k === "]" && m--;
|
|
768
767
|
}
|
|
769
|
-
const C = p.length === 0 ? l : l.substring(b), j = C.startsWith(
|
|
768
|
+
const C = p.length === 0 ? l : l.substring(b), j = C.startsWith(or), O = j ? C.substring(1) : C, S = x && x > b ? x - b : void 0;
|
|
770
769
|
return {
|
|
771
770
|
modifiers: p,
|
|
772
771
|
hasImportantModifier: j,
|
|
@@ -778,24 +777,24 @@ const Pe = "-", Wr = (r) => {
|
|
|
778
777
|
className: l,
|
|
779
778
|
parseClassName: u
|
|
780
779
|
}) : u;
|
|
781
|
-
},
|
|
780
|
+
}, Ur = (r) => {
|
|
782
781
|
if (r.length <= 1)
|
|
783
782
|
return r;
|
|
784
783
|
const t = [];
|
|
785
784
|
let o = [];
|
|
786
|
-
return r.forEach((
|
|
787
|
-
|
|
785
|
+
return r.forEach((n) => {
|
|
786
|
+
n[0] === "[" ? (t.push(...o.sort(), n), o = []) : o.push(n);
|
|
788
787
|
}), t.push(...o.sort()), t;
|
|
789
|
-
},
|
|
790
|
-
cache:
|
|
791
|
-
parseClassName:
|
|
788
|
+
}, Br = (r) => ({
|
|
789
|
+
cache: Dr(r.cacheSize),
|
|
790
|
+
parseClassName: Yr(r),
|
|
792
791
|
...Wr(r)
|
|
793
|
-
}),
|
|
792
|
+
}), qr = /\s+/, Jr = (r, t) => {
|
|
794
793
|
const {
|
|
795
794
|
parseClassName: o,
|
|
796
|
-
getClassGroupId:
|
|
795
|
+
getClassGroupId: n,
|
|
797
796
|
getConflictingClassGroupIds: c
|
|
798
|
-
} = t, i = [], u = r.trim().split(
|
|
797
|
+
} = t, i = [], u = r.trim().split(qr);
|
|
799
798
|
let l = "";
|
|
800
799
|
for (let p = u.length - 1; p >= 0; p -= 1) {
|
|
801
800
|
const m = u[p], {
|
|
@@ -804,75 +803,75 @@ const Pe = "-", Wr = (r) => {
|
|
|
804
803
|
baseClassName: C,
|
|
805
804
|
maybePostfixModifierPosition: j
|
|
806
805
|
} = o(m);
|
|
807
|
-
let O = !!j, S =
|
|
806
|
+
let O = !!j, S = n(O ? C.substring(0, j) : C);
|
|
808
807
|
if (!S) {
|
|
809
808
|
if (!O) {
|
|
810
809
|
l = m + (l.length > 0 ? " " + l : l);
|
|
811
810
|
continue;
|
|
812
811
|
}
|
|
813
|
-
if (S =
|
|
812
|
+
if (S = n(C), !S) {
|
|
814
813
|
l = m + (l.length > 0 ? " " + l : l);
|
|
815
814
|
continue;
|
|
816
815
|
}
|
|
817
816
|
O = !1;
|
|
818
817
|
}
|
|
819
|
-
const w =
|
|
818
|
+
const w = Ur(b).join(":"), k = x ? w + or : w, y = k + S;
|
|
820
819
|
if (i.includes(y))
|
|
821
820
|
continue;
|
|
822
821
|
i.push(y);
|
|
823
822
|
const Y = c(S, O);
|
|
824
|
-
for (let
|
|
825
|
-
const q = Y[
|
|
823
|
+
for (let W = 0; W < Y.length; ++W) {
|
|
824
|
+
const q = Y[W];
|
|
826
825
|
i.push(k + q);
|
|
827
826
|
}
|
|
828
827
|
l = m + (l.length > 0 ? " " + l : l);
|
|
829
828
|
}
|
|
830
829
|
return l;
|
|
831
830
|
};
|
|
832
|
-
function
|
|
833
|
-
let r = 0, t, o,
|
|
831
|
+
function Kr() {
|
|
832
|
+
let r = 0, t, o, n = "";
|
|
834
833
|
for (; r < arguments.length; )
|
|
835
|
-
(t = arguments[r++]) && (o =
|
|
836
|
-
return
|
|
834
|
+
(t = arguments[r++]) && (o = nr(t)) && (n && (n += " "), n += o);
|
|
835
|
+
return n;
|
|
837
836
|
}
|
|
838
|
-
const
|
|
837
|
+
const nr = (r) => {
|
|
839
838
|
if (typeof r == "string")
|
|
840
839
|
return r;
|
|
841
840
|
let t, o = "";
|
|
842
|
-
for (let
|
|
843
|
-
r[
|
|
841
|
+
for (let n = 0; n < r.length; n++)
|
|
842
|
+
r[n] && (t = nr(r[n])) && (o && (o += " "), o += t);
|
|
844
843
|
return o;
|
|
845
844
|
};
|
|
846
|
-
function
|
|
847
|
-
let o,
|
|
845
|
+
function Xr(r, ...t) {
|
|
846
|
+
let o, n, c, i = u;
|
|
848
847
|
function u(p) {
|
|
849
848
|
const m = t.reduce((b, x) => x(b), r());
|
|
850
|
-
return o =
|
|
849
|
+
return o = Br(m), n = o.cache.get, c = o.cache.set, i = l, l(p);
|
|
851
850
|
}
|
|
852
851
|
function l(p) {
|
|
853
|
-
const m =
|
|
852
|
+
const m = n(p);
|
|
854
853
|
if (m)
|
|
855
854
|
return m;
|
|
856
|
-
const b =
|
|
855
|
+
const b = Jr(p, o);
|
|
857
856
|
return c(p, b), b;
|
|
858
857
|
}
|
|
859
858
|
return function() {
|
|
860
|
-
return i(
|
|
859
|
+
return i(Kr.apply(null, arguments));
|
|
861
860
|
};
|
|
862
861
|
}
|
|
863
862
|
const _ = (r) => {
|
|
864
863
|
const t = (o) => o[r] || [];
|
|
865
864
|
return t.isThemeGetter = !0, t;
|
|
866
|
-
},
|
|
867
|
-
const
|
|
868
|
-
return
|
|
869
|
-
},
|
|
865
|
+
}, ar = /^\[(?:([a-z-]+):)?(.+)\]$/i, Hr = /^\d+\/\d+$/, Zr = /* @__PURE__ */ new Set(["px", "full", "screen"]), Qr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, et = /\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$/, rt = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, tt = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, ot = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, V = (r) => Z(r) || Zr.has(r) || Hr.test(r), L = (r) => Q(r, "length", dt), Z = (r) => !!r && !Number.isNaN(Number(r)), ke = (r) => Q(r, "number", Z), le = (r) => !!r && Number.isInteger(Number(r)), nt = (r) => r.endsWith("%") && Z(r.slice(0, -1)), f = (r) => ar.test(r), D = (r) => Qr.test(r), at = /* @__PURE__ */ new Set(["length", "size", "percentage"]), st = (r) => Q(r, at, sr), it = (r) => Q(r, "position", sr), lt = /* @__PURE__ */ new Set(["image", "url"]), ct = (r) => Q(r, lt, pt), ut = (r) => Q(r, "", ft), ce = () => !0, Q = (r, t, o) => {
|
|
866
|
+
const n = ar.exec(r);
|
|
867
|
+
return n ? n[1] ? typeof t == "string" ? n[1] === t : t.has(n[1]) : o(n[2]) : !1;
|
|
868
|
+
}, dt = (r) => (
|
|
870
869
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
871
870
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
872
871
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
873
|
-
|
|
874
|
-
),
|
|
875
|
-
const r = _("colors"), t = _("spacing"), o = _("blur"),
|
|
872
|
+
et.test(r) && !rt.test(r)
|
|
873
|
+
), sr = () => !1, ft = (r) => tt.test(r), pt = (r) => ot.test(r), bt = () => {
|
|
874
|
+
const r = _("colors"), t = _("spacing"), o = _("blur"), n = _("brightness"), c = _("borderColor"), i = _("borderRadius"), u = _("borderSpacing"), l = _("borderWidth"), p = _("contrast"), m = _("grayscale"), b = _("hueRotate"), x = _("invert"), C = _("gap"), j = _("gradientColorStops"), O = _("gradientColorStopPositions"), S = _("inset"), w = _("margin"), k = _("opacity"), y = _("padding"), Y = _("saturate"), W = _("scale"), q = _("sepia"), ue = _("skew"), de = _("space"), fe = _("translate"), J = () => ["auto", "contain", "none"], ee = () => ["auto", "hidden", "clip", "visible", "scroll"], re = () => ["auto", f, t], R = () => [f, t], I = () => ["", V, L], M = () => ["auto", Z, f], $ = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], U = () => ["solid", "dashed", "dotted", "double", "none"], te = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], K = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], G = () => ["", "0", f], oe = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], F = () => [Z, f];
|
|
876
875
|
return {
|
|
877
876
|
cacheSize: 500,
|
|
878
877
|
separator: ":",
|
|
@@ -891,7 +890,7 @@ const _ = (r) => {
|
|
|
891
890
|
invert: G(),
|
|
892
891
|
gap: R(),
|
|
893
892
|
gradientColorStops: [r],
|
|
894
|
-
gradientColorStopPositions: [
|
|
893
|
+
gradientColorStopPositions: [nt, L],
|
|
895
894
|
inset: re(),
|
|
896
895
|
margin: re(),
|
|
897
896
|
opacity: F(),
|
|
@@ -1804,7 +1803,7 @@ const _ = (r) => {
|
|
|
1804
1803
|
* @see https://tailwindcss.com/docs/background-position
|
|
1805
1804
|
*/
|
|
1806
1805
|
"bg-position": [{
|
|
1807
|
-
bg: [...$(),
|
|
1806
|
+
bg: [...$(), it]
|
|
1808
1807
|
}],
|
|
1809
1808
|
/**
|
|
1810
1809
|
* Background Repeat
|
|
@@ -1820,7 +1819,7 @@ const _ = (r) => {
|
|
|
1820
1819
|
* @see https://tailwindcss.com/docs/background-size
|
|
1821
1820
|
*/
|
|
1822
1821
|
"bg-size": [{
|
|
1823
|
-
bg: ["auto", "cover", "contain",
|
|
1822
|
+
bg: ["auto", "cover", "contain", st]
|
|
1824
1823
|
}],
|
|
1825
1824
|
/**
|
|
1826
1825
|
* Background Image
|
|
@@ -1829,7 +1828,7 @@ const _ = (r) => {
|
|
|
1829
1828
|
"bg-image": [{
|
|
1830
1829
|
bg: ["none", {
|
|
1831
1830
|
"gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1832
|
-
},
|
|
1831
|
+
}, ct]
|
|
1833
1832
|
}],
|
|
1834
1833
|
/**
|
|
1835
1834
|
* Background Color
|
|
@@ -2231,7 +2230,7 @@ const _ = (r) => {
|
|
|
2231
2230
|
* @see https://tailwindcss.com/docs/box-shadow
|
|
2232
2231
|
*/
|
|
2233
2232
|
shadow: [{
|
|
2234
|
-
shadow: ["", "inner", "none", D,
|
|
2233
|
+
shadow: ["", "inner", "none", D, ut]
|
|
2235
2234
|
}],
|
|
2236
2235
|
/**
|
|
2237
2236
|
* Box Shadow Color
|
|
@@ -2282,7 +2281,7 @@ const _ = (r) => {
|
|
|
2282
2281
|
* @see https://tailwindcss.com/docs/brightness
|
|
2283
2282
|
*/
|
|
2284
2283
|
brightness: [{
|
|
2285
|
-
brightness: [
|
|
2284
|
+
brightness: [n]
|
|
2286
2285
|
}],
|
|
2287
2286
|
/**
|
|
2288
2287
|
* Contrast
|
|
@@ -2353,7 +2352,7 @@ const _ = (r) => {
|
|
|
2353
2352
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
2354
2353
|
*/
|
|
2355
2354
|
"backdrop-brightness": [{
|
|
2356
|
-
"backdrop-brightness": [
|
|
2355
|
+
"backdrop-brightness": [n]
|
|
2357
2356
|
}],
|
|
2358
2357
|
/**
|
|
2359
2358
|
* Backdrop Contrast
|
|
@@ -2496,21 +2495,21 @@ const _ = (r) => {
|
|
|
2496
2495
|
* @see https://tailwindcss.com/docs/scale
|
|
2497
2496
|
*/
|
|
2498
2497
|
scale: [{
|
|
2499
|
-
scale: [
|
|
2498
|
+
scale: [W]
|
|
2500
2499
|
}],
|
|
2501
2500
|
/**
|
|
2502
2501
|
* Scale X
|
|
2503
2502
|
* @see https://tailwindcss.com/docs/scale
|
|
2504
2503
|
*/
|
|
2505
2504
|
"scale-x": [{
|
|
2506
|
-
"scale-x": [
|
|
2505
|
+
"scale-x": [W]
|
|
2507
2506
|
}],
|
|
2508
2507
|
/**
|
|
2509
2508
|
* Scale Y
|
|
2510
2509
|
* @see https://tailwindcss.com/docs/scale
|
|
2511
2510
|
*/
|
|
2512
2511
|
"scale-y": [{
|
|
2513
|
-
"scale-y": [
|
|
2512
|
+
"scale-y": [W]
|
|
2514
2513
|
}],
|
|
2515
2514
|
/**
|
|
2516
2515
|
* Rotate
|
|
@@ -2886,33 +2885,70 @@ const _ = (r) => {
|
|
|
2886
2885
|
"font-size": ["leading"]
|
|
2887
2886
|
}
|
|
2888
2887
|
};
|
|
2889
|
-
},
|
|
2890
|
-
function
|
|
2891
|
-
return
|
|
2888
|
+
}, gt = /* @__PURE__ */ Xr(bt);
|
|
2889
|
+
function Oe(...r) {
|
|
2890
|
+
return gt(Nr(r));
|
|
2892
2891
|
}
|
|
2893
|
-
|
|
2894
|
-
|
|
2895
|
-
|
|
2896
|
-
|
|
2897
|
-
|
|
2898
|
-
|
|
2892
|
+
const wt = ({
|
|
2893
|
+
children: r,
|
|
2894
|
+
gap: t = 0,
|
|
2895
|
+
alignItems: o = void 0,
|
|
2896
|
+
justifyContent: n = void 0,
|
|
2897
|
+
className: c = ""
|
|
2898
|
+
}) => /* @__PURE__ */ Pe.jsx(
|
|
2899
|
+
"div",
|
|
2900
|
+
{
|
|
2901
|
+
"aria-label": "Row container",
|
|
2902
|
+
className: Oe("flex flex-row", c),
|
|
2903
|
+
style: {
|
|
2904
|
+
gap: t,
|
|
2905
|
+
alignItems: o,
|
|
2906
|
+
justifyContent: n
|
|
2907
|
+
},
|
|
2908
|
+
children: r
|
|
2909
|
+
}
|
|
2910
|
+
), Rt = ({
|
|
2911
|
+
children: r,
|
|
2912
|
+
gap: t = 0,
|
|
2913
|
+
alignItems: o = void 0,
|
|
2914
|
+
justifyContent: n = void 0,
|
|
2915
|
+
className: c = ""
|
|
2916
|
+
}) => /* @__PURE__ */ Pe.jsx(
|
|
2917
|
+
"div",
|
|
2918
|
+
{
|
|
2919
|
+
"aria-label": "Stack container",
|
|
2920
|
+
className: Oe("flex flex-col", c),
|
|
2921
|
+
style: {
|
|
2922
|
+
gap: t,
|
|
2923
|
+
alignItems: o,
|
|
2924
|
+
justifyContent: n
|
|
2925
|
+
},
|
|
2926
|
+
children: r
|
|
2927
|
+
}
|
|
2928
|
+
);
|
|
2929
|
+
function ir(r) {
|
|
2930
|
+
var t, o, n = "";
|
|
2931
|
+
if (typeof r == "string" || typeof r == "number") n += r;
|
|
2932
|
+
else if (typeof r == "object") if (Array.isArray(r)) for (t = 0; t < r.length; t++) r[t] && (o = ir(r[t])) && (n && (n += " "), n += o);
|
|
2933
|
+
else for (t in r) r[t] && (n && (n += " "), n += t);
|
|
2934
|
+
return n;
|
|
2899
2935
|
}
|
|
2900
2936
|
function mt() {
|
|
2901
|
-
for (var r, t, o = 0,
|
|
2902
|
-
return
|
|
2937
|
+
for (var r, t, o = 0, n = ""; o < arguments.length; ) (r = arguments[o++]) && (t = ir(r)) && (n && (n += " "), n += t);
|
|
2938
|
+
return n;
|
|
2903
2939
|
}
|
|
2904
|
-
const
|
|
2905
|
-
var
|
|
2906
|
-
if ((t == null ? void 0 : t.variants) == null) return
|
|
2940
|
+
const Ze = (r) => typeof r == "boolean" ? "".concat(r) : r === 0 ? "0" : r, Qe = mt, vt = (r, t) => (o) => {
|
|
2941
|
+
var n;
|
|
2942
|
+
if ((t == null ? void 0 : t.variants) == null) return Qe(r, o == null ? void 0 : o.class, o == null ? void 0 : o.className);
|
|
2907
2943
|
const { variants: c, defaultVariants: i } = t, u = Object.keys(c).map((m) => {
|
|
2908
2944
|
const b = o == null ? void 0 : o[m], x = i == null ? void 0 : i[m];
|
|
2909
2945
|
if (b === null) return null;
|
|
2910
|
-
const C =
|
|
2946
|
+
const C = Ze(b) || Ze(x);
|
|
2911
2947
|
return c[m][C];
|
|
2912
2948
|
}), l = o && Object.entries(o).reduce((m, b) => {
|
|
2913
2949
|
let [x, C] = b;
|
|
2914
2950
|
return C === void 0 || (m[x] = C), m;
|
|
2915
|
-
}, {}), p = t == null || (
|
|
2951
|
+
}, {}), p = t == null || (n = t.compoundVariants) === null || n === void 0 ? void 0 : n.reduce((m, b) => {
|
|
2916
2952
|
let { class: x, className: C, ...j } = b;
|
|
2917
2953
|
return Object.entries(j).every((O) => {
|
|
2918
2954
|
let [S, w] = O;
|
|
@@ -2929,7 +2965,7 @@ const Xe = (r) => typeof r == "boolean" ? "".concat(r) : r === 0 ? "0" : r, He =
|
|
|
2929
2965
|
C
|
|
2930
2966
|
] : m;
|
|
2931
2967
|
}, []);
|
|
2932
|
-
return
|
|
2968
|
+
return Qe(r, u, p, o == null ? void 0 : o.class, o == null ? void 0 : o.className);
|
|
2933
2969
|
}, ht = {
|
|
2934
2970
|
serif: "font-serif",
|
|
2935
2971
|
body: "text-base",
|
|
@@ -2945,24 +2981,25 @@ const Xe = (r) => typeof r == "boolean" ? "".concat(r) : r === 0 ? "0" : r, He =
|
|
|
2945
2981
|
variant: "body"
|
|
2946
2982
|
}
|
|
2947
2983
|
});
|
|
2948
|
-
function
|
|
2984
|
+
function Et({
|
|
2949
2985
|
as: r = "p",
|
|
2950
2986
|
onClick: t,
|
|
2951
2987
|
children: o,
|
|
2952
|
-
className:
|
|
2988
|
+
className: n = "",
|
|
2953
2989
|
variant: c
|
|
2954
2990
|
}) {
|
|
2955
|
-
return /* @__PURE__ */
|
|
2991
|
+
return /* @__PURE__ */ Pe.jsx(
|
|
2956
2992
|
r,
|
|
2957
2993
|
{
|
|
2958
|
-
className:
|
|
2994
|
+
className: Oe(yt({ variant: c, className: n })),
|
|
2959
2995
|
onClick: t,
|
|
2960
2996
|
children: o
|
|
2961
2997
|
}
|
|
2962
2998
|
);
|
|
2963
2999
|
}
|
|
2964
3000
|
export {
|
|
2965
|
-
|
|
2966
|
-
wt as Row
|
|
3001
|
+
Et as PTypography,
|
|
3002
|
+
wt as Row,
|
|
3003
|
+
Rt as Stack
|
|
2967
3004
|
};
|
|
2968
3005
|
//# sourceMappingURL=index.es.js.map
|