@everlywell/ui-kit 0.25.0 → 0.27.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/index.js +5 -5
- package/index.mjs +420 -366
- package/lib/theme/data-display/Accordion/Accordion.config.d.ts +27 -11
- package/lib/theme/data-display/Tabs/Tabs.config.d.ts +41 -32
- package/lib/theme/index.d.ts +68 -43
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Icon as yo, IconButton as So, useTheme as xo, Box as Ne, Flex as ko, Show as wo, Hide as _o, Checkbox as Co, forwardRef as To, useRadioGroupContext as Ro, useRadio as Eo, chakra as Io, ChakraBaseProvider as Fo, defineStyleConfig as me, createMultiStyleConfigHelpers as Tr, cssVar as ct, baseTheme as
|
|
2
|
-
import { Accordion as
|
|
3
|
-
import
|
|
4
|
-
import * as
|
|
5
|
-
import { Global as
|
|
6
|
-
import { default as
|
|
1
|
+
import { Icon as yo, IconButton as So, useTheme as xo, Box as Ne, Flex as ko, Show as wo, Hide as _o, Checkbox as Co, forwardRef as To, useRadioGroupContext as Ro, useRadio as Eo, chakra as Io, ChakraBaseProvider as Fo, defineStyleConfig as me, createMultiStyleConfigHelpers as Tr, cssVar as ct, baseTheme as zt } from "@chakra-ui/react";
|
|
2
|
+
import { Accordion as Aa, AccordionButton as Wa, AccordionIcon as La, AccordionItem as Ga, AccordionPanel as Ya, Box as Ha, Breadcrumb as Na, BreadcrumbItem as Xa, BreadcrumbLink as Va, BreadcrumbSeparator as Ua, Button as qa, CheckboxGroup as Ka, Container as Ja, Drawer as Za, DrawerBody as Qa, DrawerCloseButton as ei, DrawerContent as ri, DrawerFooter as ti, DrawerHeader as oi, DrawerOverlay as ni, Flex as ai, FormControl as ii, FormErrorMessage as si, FormHelperText as li, FormLabel as di, HStack as ci, Heading as ui, Image as fi, Input as pi, InputGroup as gi, InputLeftElement as hi, InputRightElement as bi, Link as mi, List as vi, ListIcon as yi, ListItem as Si, Menu as xi, MenuButton as ki, MenuCommand as wi, MenuDivider as _i, MenuGroup as Ci, MenuItem as Ti, MenuItemOption as Ri, MenuList as Ei, MenuOptionGroup as Ii, OrderedList as Fi, RadioGroup as Bi, Select as zi, Skeleton as Pi, SkeletonCircle as Oi, SkeletonText as $i, Spacer as Mi, Spinner as Di, Stack as ji, Tab as Ai, TabList as Wi, TabPanel as Li, TabPanels as Gi, Tabs as Yi, Tag as Hi, TagCloseButton as Ni, TagLabel as Xi, TagLeftIcon as Vi, TagRightIcon as Ui, Text as qi, UnorderedList as Ki, VStack as Ji, VisuallyHidden as Zi, extendBaseTheme as Qi, useMediaQuery as es, useRadioGroup as rs, useTab as ts } from "@chakra-ui/react";
|
|
3
|
+
import Ve, { createContext as Bo, useContext as zo } from "react";
|
|
4
|
+
import * as Po from "@phosphor-icons/react";
|
|
5
|
+
import { Global as Oo } from "@emotion/react";
|
|
6
|
+
import { default as ns } from "@emotion/styled";
|
|
7
7
|
var Sr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
8
|
-
function
|
|
8
|
+
function $o(e) {
|
|
9
9
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
10
10
|
}
|
|
11
11
|
var ot = { exports: {} }, Ge = {};
|
|
@@ -21,15 +21,15 @@ var ot = { exports: {} }, Ge = {};
|
|
|
21
21
|
var wt;
|
|
22
22
|
function Mo() {
|
|
23
23
|
return wt || (wt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
24
|
-
var e =
|
|
24
|
+
var e = Ve, a = Symbol.for("react.element"), s = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), p = Symbol.for("react.strict_mode"), m = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), k = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), P = Symbol.for("react.suspense"), w = Symbol.for("react.suspense_list"), F = Symbol.for("react.memo"), D = Symbol.for("react.lazy"), Y = Symbol.for("react.offscreen"), X = Symbol.iterator, re = "@@iterator";
|
|
25
25
|
function te(t) {
|
|
26
26
|
if (t === null || typeof t != "object")
|
|
27
27
|
return null;
|
|
28
|
-
var l =
|
|
28
|
+
var l = X && t[X] || t[re];
|
|
29
29
|
return typeof l == "function" ? l : null;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
function
|
|
31
|
+
var V = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
32
|
+
function O(t) {
|
|
33
33
|
{
|
|
34
34
|
for (var l = arguments.length, d = new Array(l > 1 ? l - 1 : 0), f = 1; f < l; f++)
|
|
35
35
|
d[f - 1] = arguments[f];
|
|
@@ -38,7 +38,7 @@ function Mo() {
|
|
|
38
38
|
}
|
|
39
39
|
function xe(t, l, d) {
|
|
40
40
|
{
|
|
41
|
-
var f =
|
|
41
|
+
var f = V.ReactDebugCurrentFrame, x = f.getStackAddendum();
|
|
42
42
|
x !== "" && (l += "%s", d = d.concat([x]));
|
|
43
43
|
var y = d.map(function(b) {
|
|
44
44
|
return String(b);
|
|
@@ -48,14 +48,14 @@ function Mo() {
|
|
|
48
48
|
}
|
|
49
49
|
var ke = !1, Er = !1, Ir = !1, Fr = !1, Br = !1, Ue;
|
|
50
50
|
Ue = Symbol.for("react.module.reference");
|
|
51
|
-
function
|
|
52
|
-
return !!(typeof t == "string" || typeof t == "function" || t === u || t === m || Br || t === p || t ===
|
|
51
|
+
function zr(t) {
|
|
52
|
+
return !!(typeof t == "string" || typeof t == "function" || t === u || t === m || Br || t === p || t === P || t === w || Fr || t === Y || ke || Er || Ir || typeof t == "object" && t !== null && (t.$$typeof === D || t.$$typeof === F || t.$$typeof === C || t.$$typeof === k || t.$$typeof === g || // This needs to include all possible module reference object
|
|
53
53
|
// types supported by any Flight configuration anywhere since
|
|
54
54
|
// we don't know which Flight build this will end up being used
|
|
55
55
|
// with.
|
|
56
56
|
t.$$typeof === Ue || t.getModuleId !== void 0));
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function Pr(t, l, d) {
|
|
59
59
|
var f = t.displayName;
|
|
60
60
|
if (f)
|
|
61
61
|
return f;
|
|
@@ -68,7 +68,7 @@ function Mo() {
|
|
|
68
68
|
function Z(t) {
|
|
69
69
|
if (t == null)
|
|
70
70
|
return null;
|
|
71
|
-
if (typeof t.tag == "number" &&
|
|
71
|
+
if (typeof t.tag == "number" && O("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
|
|
72
72
|
return t.displayName || t.name || null;
|
|
73
73
|
if (typeof t == "string")
|
|
74
74
|
return t;
|
|
@@ -81,7 +81,7 @@ function Mo() {
|
|
|
81
81
|
return "Profiler";
|
|
82
82
|
case p:
|
|
83
83
|
return "StrictMode";
|
|
84
|
-
case
|
|
84
|
+
case P:
|
|
85
85
|
return "Suspense";
|
|
86
86
|
case w:
|
|
87
87
|
return "SuspenseList";
|
|
@@ -95,7 +95,7 @@ function Mo() {
|
|
|
95
95
|
var d = t;
|
|
96
96
|
return qe(d._context) + ".Provider";
|
|
97
97
|
case g:
|
|
98
|
-
return
|
|
98
|
+
return Pr(t, t.render, "ForwardRef");
|
|
99
99
|
case F:
|
|
100
100
|
var f = t.displayName || null;
|
|
101
101
|
return f !== null ? f : Z(t.type) || "Memo";
|
|
@@ -137,7 +137,7 @@ function Mo() {
|
|
|
137
137
|
ve++;
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
|
-
function
|
|
140
|
+
function Or() {
|
|
141
141
|
{
|
|
142
142
|
if (ve--, ve === 0) {
|
|
143
143
|
var t = {
|
|
@@ -169,10 +169,10 @@ function Mo() {
|
|
|
169
169
|
})
|
|
170
170
|
});
|
|
171
171
|
}
|
|
172
|
-
ve < 0 &&
|
|
172
|
+
ve < 0 && O("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
|
-
var le =
|
|
175
|
+
var le = V.ReactCurrentDispatcher, we;
|
|
176
176
|
function oe(t, l, d) {
|
|
177
177
|
{
|
|
178
178
|
if (we === void 0)
|
|
@@ -191,7 +191,7 @@ function Mo() {
|
|
|
191
191
|
var nr = typeof WeakMap == "function" ? WeakMap : Map;
|
|
192
192
|
pe = new nr();
|
|
193
193
|
}
|
|
194
|
-
function
|
|
194
|
+
function Oe(t, l) {
|
|
195
195
|
if (!t || _e)
|
|
196
196
|
return "";
|
|
197
197
|
{
|
|
@@ -248,22 +248,22 @@ function Mo() {
|
|
|
248
248
|
if (j !== 1 || A !== 1)
|
|
249
249
|
do
|
|
250
250
|
if (j--, A--, A < 0 || h[j] !== L[A]) {
|
|
251
|
-
var
|
|
251
|
+
var H = `
|
|
252
252
|
` + h[j].replace(" at new ", " at ");
|
|
253
|
-
return t.displayName &&
|
|
253
|
+
return t.displayName && H.includes("<anonymous>") && (H = H.replace("<anonymous>", t.displayName)), typeof t == "function" && pe.set(t, H), H;
|
|
254
254
|
}
|
|
255
255
|
while (j >= 1 && A >= 0);
|
|
256
256
|
break;
|
|
257
257
|
}
|
|
258
258
|
}
|
|
259
259
|
} finally {
|
|
260
|
-
_e = !1, le.current = y,
|
|
260
|
+
_e = !1, le.current = y, Or(), Error.prepareStackTrace = x;
|
|
261
261
|
}
|
|
262
262
|
var ae = t ? t.displayName || t.name : "", br = ae ? oe(ae) : "";
|
|
263
263
|
return typeof t == "function" && pe.set(t, br), br;
|
|
264
264
|
}
|
|
265
|
-
function
|
|
266
|
-
return
|
|
265
|
+
function $r(t, l, d) {
|
|
266
|
+
return Oe(t, !1);
|
|
267
267
|
}
|
|
268
268
|
function Mr(t) {
|
|
269
269
|
var l = t.prototype;
|
|
@@ -273,11 +273,11 @@ function Mo() {
|
|
|
273
273
|
if (t == null)
|
|
274
274
|
return "";
|
|
275
275
|
if (typeof t == "function")
|
|
276
|
-
return
|
|
276
|
+
return Oe(t, Mr(t));
|
|
277
277
|
if (typeof t == "string")
|
|
278
278
|
return oe(t);
|
|
279
279
|
switch (t) {
|
|
280
|
-
case
|
|
280
|
+
case P:
|
|
281
281
|
return oe("Suspense");
|
|
282
282
|
case w:
|
|
283
283
|
return oe("SuspenseList");
|
|
@@ -285,7 +285,7 @@ function Mo() {
|
|
|
285
285
|
if (typeof t == "object")
|
|
286
286
|
switch (t.$$typeof) {
|
|
287
287
|
case g:
|
|
288
|
-
return
|
|
288
|
+
return $r(t.render);
|
|
289
289
|
case F:
|
|
290
290
|
return Ce(t.type, l, d);
|
|
291
291
|
case D: {
|
|
@@ -298,7 +298,7 @@ function Mo() {
|
|
|
298
298
|
}
|
|
299
299
|
return "";
|
|
300
300
|
}
|
|
301
|
-
var Te = Object.prototype.hasOwnProperty, ar = {}, ir =
|
|
301
|
+
var Te = Object.prototype.hasOwnProperty, ar = {}, ir = V.ReactDebugCurrentFrame;
|
|
302
302
|
function Re(t) {
|
|
303
303
|
if (t) {
|
|
304
304
|
var l = t._owner, d = Ce(t.type, t._source, l ? l.type : null);
|
|
@@ -321,13 +321,13 @@ function Mo() {
|
|
|
321
321
|
} catch (j) {
|
|
322
322
|
h = j;
|
|
323
323
|
}
|
|
324
|
-
h && !(h instanceof Error) && (Re(x),
|
|
324
|
+
h && !(h instanceof Error) && (Re(x), O("%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", d, b, typeof h), Re(null)), h instanceof Error && !(h.message in ar) && (ar[h.message] = !0, Re(x), O("Failed %s type: %s", d, h.message), Re(null));
|
|
325
325
|
}
|
|
326
326
|
}
|
|
327
327
|
}
|
|
328
|
-
var
|
|
328
|
+
var $e = Array.isArray;
|
|
329
329
|
function ge(t) {
|
|
330
|
-
return
|
|
330
|
+
return $e(t);
|
|
331
331
|
}
|
|
332
332
|
function Q(t) {
|
|
333
333
|
{
|
|
@@ -347,9 +347,9 @@ function Mo() {
|
|
|
347
347
|
}
|
|
348
348
|
function lr(t) {
|
|
349
349
|
if (sr(t))
|
|
350
|
-
return
|
|
350
|
+
return O("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Q(t)), Me(t);
|
|
351
351
|
}
|
|
352
|
-
var ye =
|
|
352
|
+
var ye = V.ReactCurrentOwner, Ie = {
|
|
353
353
|
key: !0,
|
|
354
354
|
ref: !0,
|
|
355
355
|
__self: !0,
|
|
@@ -375,13 +375,13 @@ function Mo() {
|
|
|
375
375
|
function Dr(t, l) {
|
|
376
376
|
if (typeof t.ref == "string" && ye.current && l && ye.current.stateNode !== l) {
|
|
377
377
|
var d = Z(ye.current.type);
|
|
378
|
-
Fe[d] || (
|
|
378
|
+
Fe[d] || (O('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', Z(ye.current.type), t.ref), Fe[d] = !0);
|
|
379
379
|
}
|
|
380
380
|
}
|
|
381
381
|
function jr(t, l) {
|
|
382
382
|
{
|
|
383
383
|
var d = function() {
|
|
384
|
-
De || (De = !0,
|
|
384
|
+
De || (De = !0, O("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", l));
|
|
385
385
|
};
|
|
386
386
|
d.isReactWarning = !0, Object.defineProperty(t, "key", {
|
|
387
387
|
get: d,
|
|
@@ -392,7 +392,7 @@ function Mo() {
|
|
|
392
392
|
function de(t, l) {
|
|
393
393
|
{
|
|
394
394
|
var d = function() {
|
|
395
|
-
je || (je = !0,
|
|
395
|
+
je || (je = !0, O("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", l));
|
|
396
396
|
};
|
|
397
397
|
d.isReactWarning = !0, Object.defineProperty(t, "ref", {
|
|
398
398
|
get: d,
|
|
@@ -447,7 +447,7 @@ function Mo() {
|
|
|
447
447
|
return Be(t, h, L, x, f, ye.current, b);
|
|
448
448
|
}
|
|
449
449
|
}
|
|
450
|
-
var
|
|
450
|
+
var ze = V.ReactCurrentOwner, ur = V.ReactDebugCurrentFrame;
|
|
451
451
|
function ce(t) {
|
|
452
452
|
if (t) {
|
|
453
453
|
var l = t._owner, d = Ce(t.type, t._source, l ? l.type : null);
|
|
@@ -462,8 +462,8 @@ function Mo() {
|
|
|
462
462
|
}
|
|
463
463
|
function ne() {
|
|
464
464
|
{
|
|
465
|
-
if (
|
|
466
|
-
var t = Z(
|
|
465
|
+
if (ze.current) {
|
|
466
|
+
var t = Z(ze.current.type);
|
|
467
467
|
if (t)
|
|
468
468
|
return `
|
|
469
469
|
|
|
@@ -506,7 +506,7 @@ Check the top-level render call using <` + d + ">.");
|
|
|
506
506
|
return;
|
|
507
507
|
fr[d] = !0;
|
|
508
508
|
var f = "";
|
|
509
|
-
t && t._owner && t._owner !==
|
|
509
|
+
t && t._owner && t._owner !== ze.current && (f = " It was passed a child from " + Z(t._owner.type) + "."), ce(t), O('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', d, f), ce(null);
|
|
510
510
|
}
|
|
511
511
|
}
|
|
512
512
|
function gr(t, l) {
|
|
@@ -548,9 +548,9 @@ Check the top-level render call using <` + d + ">.");
|
|
|
548
548
|
} else if (l.PropTypes !== void 0 && !ue) {
|
|
549
549
|
ue = !0;
|
|
550
550
|
var x = Z(l);
|
|
551
|
-
|
|
551
|
+
O("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", x || "Unknown");
|
|
552
552
|
}
|
|
553
|
-
typeof l.getDefaultProps == "function" && !l.getDefaultProps.isReactClassApproved &&
|
|
553
|
+
typeof l.getDefaultProps == "function" && !l.getDefaultProps.isReactClassApproved && O("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
554
554
|
}
|
|
555
555
|
}
|
|
556
556
|
function Gr(t) {
|
|
@@ -558,54 +558,54 @@ Check the top-level render call using <` + d + ">.");
|
|
|
558
558
|
for (var l = Object.keys(t.props), d = 0; d < l.length; d++) {
|
|
559
559
|
var f = l[d];
|
|
560
560
|
if (f !== "children" && f !== "key") {
|
|
561
|
-
ce(t),
|
|
561
|
+
ce(t), O("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", f), ce(null);
|
|
562
562
|
break;
|
|
563
563
|
}
|
|
564
564
|
}
|
|
565
|
-
t.ref !== null && (ce(t),
|
|
565
|
+
t.ref !== null && (ce(t), O("Invalid attribute `ref` supplied to `React.Fragment`."), ce(null));
|
|
566
566
|
}
|
|
567
567
|
}
|
|
568
568
|
function hr(t, l, d, f, x, y) {
|
|
569
569
|
{
|
|
570
|
-
var b =
|
|
570
|
+
var b = zr(t);
|
|
571
571
|
if (!b) {
|
|
572
572
|
var h = "";
|
|
573
573
|
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).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.");
|
|
574
574
|
var L = Wr(x);
|
|
575
575
|
L ? h += L : h += ne();
|
|
576
576
|
var j;
|
|
577
|
-
t === null ? j = "null" : ge(t) ? j = "array" : t !== void 0 && t.$$typeof === a ? (j = "<" + (Z(t.type) || "Unknown") + " />", h = " Did you accidentally export a JSX literal instead of a component?") : j = typeof t,
|
|
577
|
+
t === null ? j = "null" : ge(t) ? j = "array" : t !== void 0 && t.$$typeof === a ? (j = "<" + (Z(t.type) || "Unknown") + " />", h = " Did you accidentally export a JSX literal instead of a component?") : j = typeof t, O("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", j, h);
|
|
578
578
|
}
|
|
579
579
|
var A = Ar(t, l, d, x, y);
|
|
580
580
|
if (A == null)
|
|
581
581
|
return A;
|
|
582
582
|
if (b) {
|
|
583
|
-
var
|
|
584
|
-
if (
|
|
583
|
+
var H = l.children;
|
|
584
|
+
if (H !== void 0)
|
|
585
585
|
if (f)
|
|
586
|
-
if (ge(
|
|
587
|
-
for (var ae = 0; ae <
|
|
588
|
-
gr(
|
|
589
|
-
Object.freeze && Object.freeze(
|
|
586
|
+
if (ge(H)) {
|
|
587
|
+
for (var ae = 0; ae < H.length; ae++)
|
|
588
|
+
gr(H[ae], t);
|
|
589
|
+
Object.freeze && Object.freeze(H);
|
|
590
590
|
} else
|
|
591
|
-
|
|
591
|
+
O("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
592
592
|
else
|
|
593
|
-
gr(
|
|
593
|
+
gr(H, t);
|
|
594
594
|
}
|
|
595
595
|
return t === u ? Gr(A) : ee(A), A;
|
|
596
596
|
}
|
|
597
597
|
}
|
|
598
|
-
function
|
|
598
|
+
function Yr(t, l, d) {
|
|
599
599
|
return hr(t, l, d, !0);
|
|
600
600
|
}
|
|
601
|
-
function
|
|
601
|
+
function Hr(t, l, d) {
|
|
602
602
|
return hr(t, l, d, !1);
|
|
603
603
|
}
|
|
604
|
-
var Nr =
|
|
604
|
+
var Nr = Hr, he = Yr;
|
|
605
605
|
Ge.Fragment = u, Ge.jsx = Nr, Ge.jsxs = he;
|
|
606
606
|
}()), Ge;
|
|
607
607
|
}
|
|
608
|
-
var
|
|
608
|
+
var Ye = {};
|
|
609
609
|
/**
|
|
610
610
|
* @license React
|
|
611
611
|
* react-jsx-runtime.production.min.js
|
|
@@ -618,20 +618,20 @@ var He = {};
|
|
|
618
618
|
var _t;
|
|
619
619
|
function Do() {
|
|
620
620
|
if (_t)
|
|
621
|
-
return
|
|
621
|
+
return Ye;
|
|
622
622
|
_t = 1;
|
|
623
|
-
var e =
|
|
624
|
-
function C(k, g,
|
|
625
|
-
var w, F = {}, D = null,
|
|
626
|
-
|
|
623
|
+
var e = Ve, a = Symbol.for("react.element"), s = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, p = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, m = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
624
|
+
function C(k, g, P) {
|
|
625
|
+
var w, F = {}, D = null, Y = null;
|
|
626
|
+
P !== void 0 && (D = "" + P), g.key !== void 0 && (D = "" + g.key), g.ref !== void 0 && (Y = g.ref);
|
|
627
627
|
for (w in g)
|
|
628
628
|
u.call(g, w) && !m.hasOwnProperty(w) && (F[w] = g[w]);
|
|
629
629
|
if (k && k.defaultProps)
|
|
630
630
|
for (w in g = k.defaultProps, g)
|
|
631
631
|
F[w] === void 0 && (F[w] = g[w]);
|
|
632
|
-
return { $$typeof: a, type: k, key: D, ref:
|
|
632
|
+
return { $$typeof: a, type: k, key: D, ref: Y, props: F, _owner: p.current };
|
|
633
633
|
}
|
|
634
|
-
return
|
|
634
|
+
return Ye.Fragment = s, Ye.jsx = C, Ye.jsxs = C, Ye;
|
|
635
635
|
}
|
|
636
636
|
process.env.NODE_ENV === "production" ? ot.exports = Do() : ot.exports = Mo();
|
|
637
637
|
var W = ot.exports;
|
|
@@ -642,7 +642,7 @@ const jo = {}, Ao = [
|
|
|
642
642
|
"IconContext",
|
|
643
643
|
"IconBase",
|
|
644
644
|
"IconWeight"
|
|
645
|
-
], Wo = Object.entries(
|
|
645
|
+
], Wo = Object.entries(Po).reduce(
|
|
646
646
|
(e, [a, s]) => [...Ao].includes(a) ? e : {
|
|
647
647
|
...e,
|
|
648
648
|
[a]: s
|
|
@@ -655,7 +655,7 @@ const jo = {}, Ao = [
|
|
|
655
655
|
as: Wo[e.icon],
|
|
656
656
|
weight: e.isFilled ? "fill" : "regular"
|
|
657
657
|
}
|
|
658
|
-
), Lo =
|
|
658
|
+
), Lo = Ve.forwardRef((e, a) => /* @__PURE__ */ W.jsx(
|
|
659
659
|
So,
|
|
660
660
|
{
|
|
661
661
|
...e,
|
|
@@ -664,10 +664,10 @@ const jo = {}, Ao = [
|
|
|
664
664
|
}
|
|
665
665
|
));
|
|
666
666
|
Lo.displayName = "IconButton";
|
|
667
|
-
const
|
|
667
|
+
const Pt = Bo({
|
|
668
668
|
spacing: 0,
|
|
669
669
|
columns: 1
|
|
670
|
-
}), Go =
|
|
670
|
+
}), Go = Ve.forwardRef(
|
|
671
671
|
({
|
|
672
672
|
children: e,
|
|
673
673
|
alignEdges: a = !0,
|
|
@@ -676,8 +676,8 @@ const zt = Bo({
|
|
|
676
676
|
spacing: p,
|
|
677
677
|
...m
|
|
678
678
|
}, C) => {
|
|
679
|
-
const k = xo(), g = p ?? k.space[4],
|
|
680
|
-
return /* @__PURE__ */ W.jsx(
|
|
679
|
+
const k = xo(), g = p ?? k.space[4], P = Array.isArray(g) ? g.map((w) => -1 * w) : -1 * g;
|
|
680
|
+
return /* @__PURE__ */ W.jsx(Pt.Provider, { value: { spacing: g, columns: u }, children: /* @__PURE__ */ W.jsx(Ne, { m: a ? P : void 0, children: /* @__PURE__ */ W.jsx(
|
|
681
681
|
ko,
|
|
682
682
|
{
|
|
683
683
|
flexWrap: "wrap",
|
|
@@ -692,9 +692,9 @@ const zt = Bo({
|
|
|
692
692
|
}
|
|
693
693
|
);
|
|
694
694
|
Go.displayName = "Grid";
|
|
695
|
-
const
|
|
695
|
+
const Yo = Ve.forwardRef(
|
|
696
696
|
({ children: e, width: a, ...s }, u) => {
|
|
697
|
-
const { columns: p, spacing: m } =
|
|
697
|
+
const { columns: p, spacing: m } = zo(Pt), C = Array.isArray(a) ? a.map((g) => g === "auto" ? 1 : 0) : a === "auto" ? 1 : 0, k = () => (Array.isArray(p) ? p : [p]).map((P) => `${100 / P}%`);
|
|
698
698
|
return /* @__PURE__ */ W.jsx(
|
|
699
699
|
Ne,
|
|
700
700
|
{
|
|
@@ -712,17 +712,17 @@ const Ho = Xe.forwardRef(
|
|
|
712
712
|
);
|
|
713
713
|
}
|
|
714
714
|
);
|
|
715
|
-
|
|
716
|
-
const
|
|
717
|
-
|
|
715
|
+
Yo.displayName = "GridItem";
|
|
716
|
+
const Fa = wo, Ba = _o, Ho = (e) => /* @__PURE__ */ W.jsx(Co, { icon: /* @__PURE__ */ W.jsx(ut, { icon: "Check" }), ...e });
|
|
717
|
+
Ho.displayName = "Checkbox";
|
|
718
718
|
const rt = "32px", xr = (e) => e == null, No = To((e, a) => {
|
|
719
719
|
const s = Ro(), u = {
|
|
720
720
|
isDisabled: s == null ? void 0 : s.isDisabled,
|
|
721
721
|
isFocusable: s == null ? void 0 : s.isFocusable,
|
|
722
722
|
isChecked: !xr(s == null ? void 0 : s.value) && !xr(e.value) ? s.value === e.value : e.isChecked,
|
|
723
|
-
onChange: !xr(s == null ? void 0 : s.value) && !xr(e.value) ? (
|
|
723
|
+
onChange: !xr(s == null ? void 0 : s.value) && !xr(e.value) ? (O) => {
|
|
724
724
|
var xe, ke;
|
|
725
|
-
(xe = e.onChange) == null || xe.call(e,
|
|
725
|
+
(xe = e.onChange) == null || xe.call(e, O), (ke = s == null ? void 0 : s.onChange) == null || ke.call(s, O);
|
|
726
726
|
} : e.onChange,
|
|
727
727
|
name: (e == null ? void 0 : e.name) ?? (s == null ? void 0 : s.name)
|
|
728
728
|
}, {
|
|
@@ -731,16 +731,16 @@ const rt = "32px", xr = (e) => e == null, No = To((e, a) => {
|
|
|
731
731
|
htmlProps: C,
|
|
732
732
|
getLabelProps: k,
|
|
733
733
|
state: g,
|
|
734
|
-
getRootProps:
|
|
734
|
+
getRootProps: P
|
|
735
735
|
} = Eo({
|
|
736
736
|
...e,
|
|
737
737
|
...u
|
|
738
|
-
}), w = p({}, a), F = m(), D = k(),
|
|
738
|
+
}), w = p({}, a), F = m(), D = k(), Y = P(), X = g.isChecked, re = () => e.isDisabled ? "tints.lightGrey" : X ? "viridian.base" : "tints.white", te = () => e.isDisabled ? "tints.lightGrey" : X ? "viridian.base" : "tints.uiGrey", V = () => e.isDisabled ? "not-allowed" : "pointer";
|
|
739
739
|
return /* @__PURE__ */ W.jsxs(
|
|
740
740
|
Io.label,
|
|
741
741
|
{
|
|
742
742
|
...C,
|
|
743
|
-
...
|
|
743
|
+
...Y,
|
|
744
744
|
cursor: "pointer",
|
|
745
745
|
display: "flex",
|
|
746
746
|
flexDirection: "row",
|
|
@@ -760,7 +760,7 @@ const rt = "32px", xr = (e) => e == null, No = To((e, a) => {
|
|
|
760
760
|
alignItems: "center",
|
|
761
761
|
justifyContent: "center",
|
|
762
762
|
backgroundColor: re(),
|
|
763
|
-
color:
|
|
763
|
+
color: X ? "tints.white" : "transparent",
|
|
764
764
|
borderColor: te(),
|
|
765
765
|
borderStyle: "solid",
|
|
766
766
|
flexShrink: 0,
|
|
@@ -768,8 +768,8 @@ const rt = "32px", xr = (e) => e == null, No = To((e, a) => {
|
|
|
768
768
|
height: rt,
|
|
769
769
|
width: rt,
|
|
770
770
|
rounded: "full",
|
|
771
|
-
cursor:
|
|
772
|
-
children:
|
|
771
|
+
cursor: V(),
|
|
772
|
+
children: X && /* @__PURE__ */ W.jsx(ut, { icon: "Check" })
|
|
773
773
|
}
|
|
774
774
|
),
|
|
775
775
|
/* @__PURE__ */ W.jsx(
|
|
@@ -788,8 +788,8 @@ const rt = "32px", xr = (e) => e == null, No = To((e, a) => {
|
|
|
788
788
|
);
|
|
789
789
|
});
|
|
790
790
|
No.displayName = "Radio";
|
|
791
|
-
const
|
|
792
|
-
|
|
791
|
+
const Xo = () => /* @__PURE__ */ W.jsx(
|
|
792
|
+
Oo,
|
|
793
793
|
{
|
|
794
794
|
styles: `
|
|
795
795
|
/* PP Agrandir */
|
|
@@ -870,13 +870,13 @@ const Vo = () => /* @__PURE__ */ W.jsx(
|
|
|
870
870
|
}
|
|
871
871
|
`
|
|
872
872
|
}
|
|
873
|
-
),
|
|
873
|
+
), za = ({
|
|
874
874
|
children: e,
|
|
875
875
|
...a
|
|
876
876
|
}) => /* @__PURE__ */ W.jsxs(Fo, { ...a, children: [
|
|
877
|
-
/* @__PURE__ */ W.jsx(
|
|
877
|
+
/* @__PURE__ */ W.jsx(Xo, {}),
|
|
878
878
|
e
|
|
879
|
-
] }), Ct = ["redCS", "greenCS"],
|
|
879
|
+
] }), Ct = ["redCS", "greenCS"], Vo = me({
|
|
880
880
|
// The styles all button have in common
|
|
881
881
|
baseStyle: {
|
|
882
882
|
fontFamily: "body",
|
|
@@ -1064,10 +1064,10 @@ function E(e, a = {}) {
|
|
|
1064
1064
|
);
|
|
1065
1065
|
}
|
|
1066
1066
|
function g(w) {
|
|
1067
|
-
const
|
|
1067
|
+
const Y = `chakra-${(["container", "root"].includes(w ?? "") ? [e] : [e, w]).filter(Boolean).join("__")}`;
|
|
1068
1068
|
return {
|
|
1069
|
-
className:
|
|
1070
|
-
selector: `.${
|
|
1069
|
+
className: Y,
|
|
1070
|
+
selector: `.${Y}`,
|
|
1071
1071
|
toString: () => w
|
|
1072
1072
|
};
|
|
1073
1073
|
}
|
|
@@ -1246,23 +1246,23 @@ const { definePartsStyle: tn, defineMultiStyleConfig: on } = Tr(qo.keys), nn = o
|
|
|
1246
1246
|
size: "sm"
|
|
1247
1247
|
}
|
|
1248
1248
|
});
|
|
1249
|
-
function
|
|
1249
|
+
function Ot(e) {
|
|
1250
1250
|
const a = typeof e;
|
|
1251
1251
|
return e != null && (a === "object" || a === "function") && !Array.isArray(e);
|
|
1252
1252
|
}
|
|
1253
1253
|
var _r = { exports: {} };
|
|
1254
1254
|
_r.exports;
|
|
1255
1255
|
(function(e, a) {
|
|
1256
|
-
var s = 200, u = "__lodash_hash_undefined__", p = 800, m = 16, C = 9007199254740991, k = "[object Arguments]", g = "[object Array]",
|
|
1257
|
-
I[
|
|
1258
|
-
var or = typeof Sr == "object" && Sr && Sr.Object === Object && Sr,
|
|
1256
|
+
var s = 200, u = "__lodash_hash_undefined__", p = 800, m = 16, C = 9007199254740991, k = "[object Arguments]", g = "[object Array]", P = "[object AsyncFunction]", w = "[object Boolean]", F = "[object Date]", D = "[object Error]", Y = "[object Function]", X = "[object GeneratorFunction]", re = "[object Map]", te = "[object Number]", V = "[object Null]", O = "[object Object]", xe = "[object Proxy]", ke = "[object RegExp]", Er = "[object Set]", Ir = "[object String]", Fr = "[object Undefined]", Br = "[object WeakMap]", Ue = "[object ArrayBuffer]", zr = "[object DataView]", Pr = "[object Float32Array]", qe = "[object Float64Array]", Z = "[object Int8Array]", se = "[object Int16Array]", ve = "[object Int32Array]", Ke = "[object Uint8Array]", Je = "[object Uint8ClampedArray]", Ze = "[object Uint16Array]", Qe = "[object Uint32Array]", er = /[\\^$.*+?()[\]{}|]/g, rr = /^\[object .+?Constructor\]$/, tr = /^(?:0|[1-9]\d*)$/, I = {};
|
|
1257
|
+
I[Pr] = I[qe] = I[Z] = I[se] = I[ve] = I[Ke] = I[Je] = I[Ze] = I[Qe] = !0, I[k] = I[g] = I[Ue] = I[w] = I[zr] = I[F] = I[D] = I[Y] = I[re] = I[te] = I[O] = I[ke] = I[Er] = I[Ir] = I[Br] = !1;
|
|
1258
|
+
var or = typeof Sr == "object" && Sr && Sr.Object === Object && Sr, Or = typeof self == "object" && self && self.Object === Object && self, le = or || Or || Function("return this")(), we = a && !a.nodeType && a, oe = we && !0 && e && !e.nodeType && e, _e = oe && oe.exports === we, pe = _e && or.process, nr = function() {
|
|
1259
1259
|
try {
|
|
1260
1260
|
var r = oe && oe.require && oe.require("util").types;
|
|
1261
1261
|
return r || pe && pe.binding && pe.binding("util");
|
|
1262
1262
|
} catch {
|
|
1263
1263
|
}
|
|
1264
|
-
}(),
|
|
1265
|
-
function
|
|
1264
|
+
}(), Oe = nr && nr.isTypedArray;
|
|
1265
|
+
function $r(r, o, i) {
|
|
1266
1266
|
switch (i.length) {
|
|
1267
1267
|
case 0:
|
|
1268
1268
|
return r.call(o);
|
|
@@ -1293,18 +1293,18 @@ _r.exports;
|
|
|
1293
1293
|
return r(o(i));
|
|
1294
1294
|
};
|
|
1295
1295
|
}
|
|
1296
|
-
var ir = Array.prototype, Re = Function.prototype, Ee = Object.prototype,
|
|
1297
|
-
var r = /[^.]+$/.exec(
|
|
1296
|
+
var ir = Array.prototype, Re = Function.prototype, Ee = Object.prototype, $e = le["__core-js_shared__"], ge = Re.toString, Q = Ee.hasOwnProperty, sr = function() {
|
|
1297
|
+
var r = /[^.]+$/.exec($e && $e.keys && $e.keys.IE_PROTO || "");
|
|
1298
1298
|
return r ? "Symbol(src)_1." + r : "";
|
|
1299
1299
|
}(), Me = Ee.toString, lr = ge.call(Object), ye = RegExp(
|
|
1300
1300
|
"^" + ge.call(Q).replace(er, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
1301
1301
|
), Ie = _e ? le.Buffer : void 0, De = le.Symbol, je = le.Uint8Array, Fe = Ie ? Ie.allocUnsafe : void 0, dr = ar(Object.getPrototypeOf, Object), cr = Object.create, Dr = Ee.propertyIsEnumerable, jr = ir.splice, de = De ? De.toStringTag : void 0, Be = function() {
|
|
1302
1302
|
try {
|
|
1303
|
-
var r =
|
|
1303
|
+
var r = Vr(Object, "defineProperty");
|
|
1304
1304
|
return r({}, "", {}), r;
|
|
1305
1305
|
} catch {
|
|
1306
1306
|
}
|
|
1307
|
-
}(), Ar = Ie ? Ie.isBuffer : void 0,
|
|
1307
|
+
}(), Ar = Ie ? Ie.isBuffer : void 0, ze = Math.max, ur = Date.now, ce = Vr(le, "Map"), ue = Vr(Object, "create"), Ae = /* @__PURE__ */ function() {
|
|
1308
1308
|
function r() {
|
|
1309
1309
|
}
|
|
1310
1310
|
return function(o) {
|
|
@@ -1365,18 +1365,18 @@ _r.exports;
|
|
|
1365
1365
|
var c = o.length - 1;
|
|
1366
1366
|
return i == c ? o.pop() : jr.call(o, i, 1), --this.size, !0;
|
|
1367
1367
|
}
|
|
1368
|
-
function
|
|
1368
|
+
function Yr(r) {
|
|
1369
1369
|
var o = this.__data__, i = N(o, r);
|
|
1370
1370
|
return i < 0 ? void 0 : o[i][1];
|
|
1371
1371
|
}
|
|
1372
|
-
function
|
|
1372
|
+
function Hr(r) {
|
|
1373
1373
|
return N(this.__data__, r) > -1;
|
|
1374
1374
|
}
|
|
1375
1375
|
function Nr(r, o) {
|
|
1376
1376
|
var i = this.__data__, c = N(i, r);
|
|
1377
1377
|
return c < 0 ? (++this.size, i.push([r, o])) : i[c][1] = o, this;
|
|
1378
1378
|
}
|
|
1379
|
-
ee.prototype.clear = Gr, ee.prototype.delete = hr, ee.prototype.get =
|
|
1379
|
+
ee.prototype.clear = Gr, ee.prototype.delete = hr, ee.prototype.get = Yr, ee.prototype.has = Hr, ee.prototype.set = Nr;
|
|
1380
1380
|
function he(r) {
|
|
1381
1381
|
var o = -1, i = r == null ? 0 : r.length;
|
|
1382
1382
|
for (this.clear(); ++o < i; ) {
|
|
@@ -1434,10 +1434,10 @@ _r.exports;
|
|
|
1434
1434
|
return i.set(r, o), this.size = i.size, this;
|
|
1435
1435
|
}
|
|
1436
1436
|
y.prototype.clear = b, y.prototype.delete = h, y.prototype.get = L, y.prototype.has = j, y.prototype.set = A;
|
|
1437
|
-
function
|
|
1438
|
-
var i = Kr(r), c = !i && qr(r), S = !i && !c && mt(r), B = !i && !c && !S && yt(r),
|
|
1437
|
+
function H(r, o) {
|
|
1438
|
+
var i = Kr(r), c = !i && qr(r), S = !i && !c && mt(r), B = !i && !c && !S && yt(r), $ = i || c || S || B, v = $ ? Mr(r.length, String) : [], M = v.length;
|
|
1439
1439
|
for (var q in r)
|
|
1440
|
-
(o || Q.call(r, q)) && !(
|
|
1440
|
+
(o || Q.call(r, q)) && !($ && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
1441
1441
|
(q == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
1442
1442
|
S && (q == "offset" || q == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
1443
1443
|
B && (q == "buffer" || q == "byteLength" || q == "byteOffset") || // Skip index properties.
|
|
@@ -1445,11 +1445,11 @@ _r.exports;
|
|
|
1445
1445
|
return v;
|
|
1446
1446
|
}
|
|
1447
1447
|
function ae(r, o, i) {
|
|
1448
|
-
(i !== void 0 && !yr(r[o], i) || i === void 0 && !(o in r)) &&
|
|
1448
|
+
(i !== void 0 && !yr(r[o], i) || i === void 0 && !(o in r)) && Xr(r, o, i);
|
|
1449
1449
|
}
|
|
1450
1450
|
function br(r, o, i) {
|
|
1451
1451
|
var c = r[o];
|
|
1452
|
-
(!(Q.call(r, o) && yr(c, i)) || i === void 0 && !(o in r)) &&
|
|
1452
|
+
(!(Q.call(r, o) && yr(c, i)) || i === void 0 && !(o in r)) && Xr(r, o, i);
|
|
1453
1453
|
}
|
|
1454
1454
|
function N(r, o) {
|
|
1455
1455
|
for (var i = r.length; i--; )
|
|
@@ -1457,7 +1457,7 @@ _r.exports;
|
|
|
1457
1457
|
return i;
|
|
1458
1458
|
return -1;
|
|
1459
1459
|
}
|
|
1460
|
-
function
|
|
1460
|
+
function Xr(r, o, i) {
|
|
1461
1461
|
o == "__proto__" && Be ? Be(r, o, {
|
|
1462
1462
|
configurable: !0,
|
|
1463
1463
|
enumerable: !0,
|
|
@@ -1467,7 +1467,7 @@ _r.exports;
|
|
|
1467
1467
|
}
|
|
1468
1468
|
var Lt = eo();
|
|
1469
1469
|
function mr(r) {
|
|
1470
|
-
return r == null ? r === void 0 ? Fr :
|
|
1470
|
+
return r == null ? r === void 0 ? Fr : V : de && de in Object(r) ? ro(r) : so(r);
|
|
1471
1471
|
}
|
|
1472
1472
|
function pt(r) {
|
|
1473
1473
|
return We(r) && mr(r) == k;
|
|
@@ -1478,10 +1478,10 @@ _r.exports;
|
|
|
1478
1478
|
var o = Zr(r) ? ye : rr;
|
|
1479
1479
|
return o.test(fo(r));
|
|
1480
1480
|
}
|
|
1481
|
-
function
|
|
1481
|
+
function Yt(r) {
|
|
1482
1482
|
return We(r) && vt(r.length) && !!I[mr(r)];
|
|
1483
1483
|
}
|
|
1484
|
-
function
|
|
1484
|
+
function Ht(r) {
|
|
1485
1485
|
if (!Se(r))
|
|
1486
1486
|
return io(r);
|
|
1487
1487
|
var o = bt(r), i = [];
|
|
@@ -1490,32 +1490,32 @@ _r.exports;
|
|
|
1490
1490
|
return i;
|
|
1491
1491
|
}
|
|
1492
1492
|
function gt(r, o, i, c, S) {
|
|
1493
|
-
r !== o && Lt(o, function(B,
|
|
1493
|
+
r !== o && Lt(o, function(B, $) {
|
|
1494
1494
|
if (S || (S = new y()), Se(B))
|
|
1495
|
-
Nt(r, o,
|
|
1495
|
+
Nt(r, o, $, i, gt, c, S);
|
|
1496
1496
|
else {
|
|
1497
|
-
var v = c ? c(Ur(r,
|
|
1498
|
-
v === void 0 && (v = B), ae(r,
|
|
1497
|
+
var v = c ? c(Ur(r, $), B, $ + "", r, o, S) : void 0;
|
|
1498
|
+
v === void 0 && (v = B), ae(r, $, v);
|
|
1499
1499
|
}
|
|
1500
1500
|
}, St);
|
|
1501
1501
|
}
|
|
1502
|
-
function Nt(r, o, i, c, S, B,
|
|
1503
|
-
var v = Ur(r, i), M = Ur(o, i), q =
|
|
1502
|
+
function Nt(r, o, i, c, S, B, $) {
|
|
1503
|
+
var v = Ur(r, i), M = Ur(o, i), q = $.get(M);
|
|
1504
1504
|
if (q) {
|
|
1505
1505
|
ae(r, i, q);
|
|
1506
1506
|
return;
|
|
1507
1507
|
}
|
|
1508
|
-
var U = B ? B(v, M, i + "", r, o,
|
|
1508
|
+
var U = B ? B(v, M, i + "", r, o, $) : void 0, Le = U === void 0;
|
|
1509
1509
|
if (Le) {
|
|
1510
1510
|
var Qr = Kr(M), et = !Qr && mt(M), kt = !Qr && !et && yt(M);
|
|
1511
1511
|
U = M, Qr || et || kt ? Kr(v) ? U = v : po(v) ? U = Jt(v) : et ? (Le = !1, U = Ut(M, !0)) : kt ? (Le = !1, U = Kt(M, !0)) : U = [] : go(M) || qr(M) ? (U = v, qr(v) ? U = ho(v) : (!Se(v) || Zr(v)) && (U = to(M))) : Le = !1;
|
|
1512
1512
|
}
|
|
1513
|
-
Le && (
|
|
1513
|
+
Le && ($.set(M, U), S(U, M, c, B, $), $.delete(M)), ae(r, i, U);
|
|
1514
1514
|
}
|
|
1515
|
-
function
|
|
1515
|
+
function Xt(r, o) {
|
|
1516
1516
|
return co(lo(r, o, xt), r + "");
|
|
1517
1517
|
}
|
|
1518
|
-
var
|
|
1518
|
+
var Vt = Be ? function(r, o) {
|
|
1519
1519
|
return Be(r, "toString", {
|
|
1520
1520
|
configurable: !0,
|
|
1521
1521
|
enumerable: !1,
|
|
@@ -1546,16 +1546,16 @@ _r.exports;
|
|
|
1546
1546
|
function Zt(r, o, i, c) {
|
|
1547
1547
|
var S = !i;
|
|
1548
1548
|
i || (i = {});
|
|
1549
|
-
for (var B = -1,
|
|
1549
|
+
for (var B = -1, $ = o.length; ++B < $; ) {
|
|
1550
1550
|
var v = o[B], M = c ? c(i[v], r[v], v, i, r) : void 0;
|
|
1551
|
-
M === void 0 && (M = r[v]), S ?
|
|
1551
|
+
M === void 0 && (M = r[v]), S ? Xr(i, v, M) : br(i, v, M);
|
|
1552
1552
|
}
|
|
1553
1553
|
return i;
|
|
1554
1554
|
}
|
|
1555
1555
|
function Qt(r) {
|
|
1556
|
-
return
|
|
1557
|
-
var c = -1, S = i.length, B = S > 1 ? i[S - 1] : void 0,
|
|
1558
|
-
for (B = r.length > 3 && typeof B == "function" ? (S--, B) : void 0,
|
|
1556
|
+
return Xt(function(o, i) {
|
|
1557
|
+
var c = -1, S = i.length, B = S > 1 ? i[S - 1] : void 0, $ = S > 2 ? i[2] : void 0;
|
|
1558
|
+
for (B = r.length > 3 && typeof B == "function" ? (S--, B) : void 0, $ && oo(i[0], i[1], $) && (B = S < 3 ? void 0 : B, S = 1), o = Object(o); ++c < S; ) {
|
|
1559
1559
|
var v = i[c];
|
|
1560
1560
|
v && r(o, v, c, B);
|
|
1561
1561
|
}
|
|
@@ -1564,8 +1564,8 @@ _r.exports;
|
|
|
1564
1564
|
}
|
|
1565
1565
|
function eo(r) {
|
|
1566
1566
|
return function(o, i, c) {
|
|
1567
|
-
for (var S = -1, B = Object(o),
|
|
1568
|
-
var M =
|
|
1567
|
+
for (var S = -1, B = Object(o), $ = c(o), v = $.length; v--; ) {
|
|
1568
|
+
var M = $[r ? v : ++S];
|
|
1569
1569
|
if (i(B[M], M, B) === !1)
|
|
1570
1570
|
break;
|
|
1571
1571
|
}
|
|
@@ -1576,7 +1576,7 @@ _r.exports;
|
|
|
1576
1576
|
var i = r.__data__;
|
|
1577
1577
|
return no(o) ? i[typeof o == "string" ? "string" : "hash"] : i.map;
|
|
1578
1578
|
}
|
|
1579
|
-
function
|
|
1579
|
+
function Vr(r, o) {
|
|
1580
1580
|
var i = Te(r, o);
|
|
1581
1581
|
return Gt(i) ? i : void 0;
|
|
1582
1582
|
}
|
|
@@ -1625,20 +1625,20 @@ _r.exports;
|
|
|
1625
1625
|
return Me.call(r);
|
|
1626
1626
|
}
|
|
1627
1627
|
function lo(r, o, i) {
|
|
1628
|
-
return o =
|
|
1629
|
-
for (var c = arguments, S = -1, B =
|
|
1630
|
-
|
|
1628
|
+
return o = ze(o === void 0 ? r.length - 1 : o, 0), function() {
|
|
1629
|
+
for (var c = arguments, S = -1, B = ze(c.length - o, 0), $ = Array(B); ++S < B; )
|
|
1630
|
+
$[S] = c[o + S];
|
|
1631
1631
|
S = -1;
|
|
1632
1632
|
for (var v = Array(o + 1); ++S < o; )
|
|
1633
1633
|
v[S] = c[S];
|
|
1634
|
-
return v[o] = i(
|
|
1634
|
+
return v[o] = i($), $r(r, this, v);
|
|
1635
1635
|
};
|
|
1636
1636
|
}
|
|
1637
1637
|
function Ur(r, o) {
|
|
1638
1638
|
if (!(o === "constructor" && typeof r[o] == "function") && o != "__proto__")
|
|
1639
1639
|
return r[o];
|
|
1640
1640
|
}
|
|
1641
|
-
var co = uo(
|
|
1641
|
+
var co = uo(Vt);
|
|
1642
1642
|
function uo(r) {
|
|
1643
1643
|
var o = 0, i = 0;
|
|
1644
1644
|
return function() {
|
|
@@ -1683,7 +1683,7 @@ _r.exports;
|
|
|
1683
1683
|
if (!Se(r))
|
|
1684
1684
|
return !1;
|
|
1685
1685
|
var o = mr(r);
|
|
1686
|
-
return o ==
|
|
1686
|
+
return o == Y || o == X || o == P || o == xe;
|
|
1687
1687
|
}
|
|
1688
1688
|
function vt(r) {
|
|
1689
1689
|
return typeof r == "number" && r > -1 && r % 1 == 0 && r <= C;
|
|
@@ -1696,7 +1696,7 @@ _r.exports;
|
|
|
1696
1696
|
return r != null && typeof r == "object";
|
|
1697
1697
|
}
|
|
1698
1698
|
function go(r) {
|
|
1699
|
-
if (!We(r) || mr(r) !=
|
|
1699
|
+
if (!We(r) || mr(r) != O)
|
|
1700
1700
|
return !1;
|
|
1701
1701
|
var o = dr(r);
|
|
1702
1702
|
if (o === null)
|
|
@@ -1704,12 +1704,12 @@ _r.exports;
|
|
|
1704
1704
|
var i = Q.call(o, "constructor") && o.constructor;
|
|
1705
1705
|
return typeof i == "function" && i instanceof i && ge.call(i) == lr;
|
|
1706
1706
|
}
|
|
1707
|
-
var yt =
|
|
1707
|
+
var yt = Oe ? Ce(Oe) : Yt;
|
|
1708
1708
|
function ho(r) {
|
|
1709
1709
|
return Zt(r, St(r));
|
|
1710
1710
|
}
|
|
1711
1711
|
function St(r) {
|
|
1712
|
-
return Jr(r) ?
|
|
1712
|
+
return Jr(r) ? H(r, !0) : Ht(r);
|
|
1713
1713
|
}
|
|
1714
1714
|
var bo = Qt(function(r, o, i, c) {
|
|
1715
1715
|
gt(r, o, i, c);
|
|
@@ -1728,10 +1728,10 @@ _r.exports;
|
|
|
1728
1728
|
e.exports = bo;
|
|
1729
1729
|
})(_r, _r.exports);
|
|
1730
1730
|
var an = _r.exports;
|
|
1731
|
-
const sn = /* @__PURE__ */
|
|
1731
|
+
const sn = /* @__PURE__ */ $o(an);
|
|
1732
1732
|
var ln = (e) => /!(important)?$/.test(e), Tt = (e) => typeof e == "string" ? e.replace(/!(important)?$/, "").trim() : e, dn = (e, a) => (s) => {
|
|
1733
1733
|
const u = String(a), p = ln(u), m = Tt(u), C = e ? `${e}.${m}` : m;
|
|
1734
|
-
let k =
|
|
1734
|
+
let k = Ot(s.__cssMap) && C in s.__cssMap ? s.__cssMap[C].varRef : a;
|
|
1735
1735
|
return k = Tt(k), p ? `${k} !important` : k;
|
|
1736
1736
|
};
|
|
1737
1737
|
function ft(e) {
|
|
@@ -1739,8 +1739,8 @@ function ft(e) {
|
|
|
1739
1739
|
return (m, C) => {
|
|
1740
1740
|
var k;
|
|
1741
1741
|
const g = dn(a, m)(C);
|
|
1742
|
-
let
|
|
1743
|
-
return u && (
|
|
1742
|
+
let P = (k = s == null ? void 0 : s(g, C)) != null ? k : g;
|
|
1743
|
+
return u && (P = u(P, C)), P;
|
|
1744
1744
|
};
|
|
1745
1745
|
}
|
|
1746
1746
|
var kr = (...e) => (a) => e.reduce((s, u) => u(s), a);
|
|
@@ -1765,7 +1765,7 @@ function un(e) {
|
|
|
1765
1765
|
}) : u
|
|
1766
1766
|
};
|
|
1767
1767
|
}
|
|
1768
|
-
var
|
|
1768
|
+
var $t = [
|
|
1769
1769
|
"rotate(var(--chakra-rotate, 0))",
|
|
1770
1770
|
"scaleX(var(--chakra-scale-x, 1))",
|
|
1771
1771
|
"scaleY(var(--chakra-scale-y, 1))",
|
|
@@ -1776,13 +1776,13 @@ function fn() {
|
|
|
1776
1776
|
return [
|
|
1777
1777
|
"translateX(var(--chakra-translate-x, 0))",
|
|
1778
1778
|
"translateY(var(--chakra-translate-y, 0))",
|
|
1779
|
-
|
|
1779
|
+
...$t
|
|
1780
1780
|
].join(" ");
|
|
1781
1781
|
}
|
|
1782
1782
|
function pn() {
|
|
1783
1783
|
return [
|
|
1784
1784
|
"translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",
|
|
1785
|
-
|
|
1785
|
+
...$t
|
|
1786
1786
|
].join(" ");
|
|
1787
1787
|
}
|
|
1788
1788
|
var gn = {
|
|
@@ -1874,19 +1874,19 @@ function Sn(e, a) {
|
|
|
1874
1874
|
const p = /(^[a-z-A-Z]+)\((.*)\)/g.exec(e), m = p == null ? void 0 : p[1], C = p == null ? void 0 : p[2];
|
|
1875
1875
|
if (!m || !C)
|
|
1876
1876
|
return e;
|
|
1877
|
-
const k = m.includes("-gradient") ? m : `${m}-gradient`, [g, ...
|
|
1878
|
-
if ((
|
|
1877
|
+
const k = m.includes("-gradient") ? m : `${m}-gradient`, [g, ...P] = C.split(",").map(yn).filter(Boolean);
|
|
1878
|
+
if ((P == null ? void 0 : P.length) === 0)
|
|
1879
1879
|
return e;
|
|
1880
1880
|
const w = g in nt ? nt[g] : g;
|
|
1881
|
-
|
|
1882
|
-
const F =
|
|
1881
|
+
P.unshift(w);
|
|
1882
|
+
const F = P.map((D) => {
|
|
1883
1883
|
if (vn.has(D))
|
|
1884
1884
|
return D;
|
|
1885
|
-
const
|
|
1885
|
+
const Y = D.indexOf(" "), [X, re] = Y !== -1 ? [D.substr(0, Y), D.substr(Y + 1)] : [D], te = it(re) ? re : re && re.split(" "), V = `colors.${X}`, O = V in a.__cssMap ? a.__cssMap[V].varRef : X;
|
|
1886
1886
|
return te ? [
|
|
1887
|
-
|
|
1887
|
+
O,
|
|
1888
1888
|
...Array.isArray(te) ? te : [te]
|
|
1889
|
-
].join(" ") :
|
|
1889
|
+
].join(" ") : O;
|
|
1890
1890
|
});
|
|
1891
1891
|
return `${k}(${F.join(", ")})`;
|
|
1892
1892
|
}
|
|
@@ -2321,7 +2321,7 @@ var In = (e) => {
|
|
|
2321
2321
|
overflow: "hidden",
|
|
2322
2322
|
whiteSpace: "nowrap",
|
|
2323
2323
|
position: "absolute"
|
|
2324
|
-
},
|
|
2324
|
+
}, zn = {
|
|
2325
2325
|
position: "static",
|
|
2326
2326
|
width: "auto",
|
|
2327
2327
|
height: "auto",
|
|
@@ -2335,10 +2335,10 @@ var In = (e) => {
|
|
|
2335
2335
|
for (const m in p)
|
|
2336
2336
|
m in s && s[m] != null || (u[m] = p[m]);
|
|
2337
2337
|
return u;
|
|
2338
|
-
},
|
|
2338
|
+
}, Pn = {
|
|
2339
2339
|
srOnly: {
|
|
2340
2340
|
transform(e) {
|
|
2341
|
-
return e === !0 ? Bn : e === "focusable" ?
|
|
2341
|
+
return e === !0 ? Bn : e === "focusable" ? zn : {};
|
|
2342
2342
|
}
|
|
2343
2343
|
},
|
|
2344
2344
|
layerStyle: {
|
|
@@ -2353,7 +2353,7 @@ var In = (e) => {
|
|
|
2353
2353
|
processResult: !0,
|
|
2354
2354
|
transform: (e, a, s) => tt(a, e, s)
|
|
2355
2355
|
}
|
|
2356
|
-
},
|
|
2356
|
+
}, Xe = {
|
|
2357
2357
|
position: !0,
|
|
2358
2358
|
pos: n.prop("position"),
|
|
2359
2359
|
zIndex: n.prop("zIndex", "zIndices"),
|
|
@@ -2377,17 +2377,17 @@ var In = (e) => {
|
|
|
2377
2377
|
property: { ltr: "right", rtl: "left" }
|
|
2378
2378
|
})
|
|
2379
2379
|
};
|
|
2380
|
-
Object.assign(
|
|
2381
|
-
insetStart:
|
|
2382
|
-
insetEnd:
|
|
2380
|
+
Object.assign(Xe, {
|
|
2381
|
+
insetStart: Xe.insetInlineStart,
|
|
2382
|
+
insetEnd: Xe.insetInlineEnd
|
|
2383
2383
|
});
|
|
2384
|
-
var
|
|
2384
|
+
var On = {
|
|
2385
2385
|
ring: { transform: _.ring },
|
|
2386
2386
|
ringColor: n.colors("--chakra-ring-color"),
|
|
2387
2387
|
ringOffset: n.prop("--chakra-ring-offset-width"),
|
|
2388
2388
|
ringOffsetColor: n.colors("--chakra-ring-offset-color"),
|
|
2389
2389
|
ringInset: n.prop("--chakra-ring-inset")
|
|
2390
|
-
},
|
|
2390
|
+
}, z = {
|
|
2391
2391
|
margin: n.spaceT("margin"),
|
|
2392
2392
|
marginTop: n.spaceT("marginTop"),
|
|
2393
2393
|
marginBlockStart: n.spaceT("marginBlockStart"),
|
|
@@ -2415,31 +2415,31 @@ var $n = {
|
|
|
2415
2415
|
paddingY: n.space(["paddingTop", "paddingBottom"]),
|
|
2416
2416
|
paddingBlock: n.space("paddingBlock")
|
|
2417
2417
|
};
|
|
2418
|
-
Object.assign(
|
|
2419
|
-
m:
|
|
2420
|
-
mt:
|
|
2421
|
-
mr:
|
|
2422
|
-
me:
|
|
2423
|
-
marginEnd:
|
|
2424
|
-
mb:
|
|
2425
|
-
ml:
|
|
2426
|
-
ms:
|
|
2427
|
-
marginStart:
|
|
2428
|
-
mx:
|
|
2429
|
-
my:
|
|
2430
|
-
p:
|
|
2431
|
-
pt:
|
|
2432
|
-
py:
|
|
2433
|
-
px:
|
|
2434
|
-
pb:
|
|
2435
|
-
pl:
|
|
2436
|
-
ps:
|
|
2437
|
-
paddingStart:
|
|
2438
|
-
pr:
|
|
2439
|
-
pe:
|
|
2440
|
-
paddingEnd:
|
|
2418
|
+
Object.assign(z, {
|
|
2419
|
+
m: z.margin,
|
|
2420
|
+
mt: z.marginTop,
|
|
2421
|
+
mr: z.marginRight,
|
|
2422
|
+
me: z.marginInlineEnd,
|
|
2423
|
+
marginEnd: z.marginInlineEnd,
|
|
2424
|
+
mb: z.marginBottom,
|
|
2425
|
+
ml: z.marginLeft,
|
|
2426
|
+
ms: z.marginInlineStart,
|
|
2427
|
+
marginStart: z.marginInlineStart,
|
|
2428
|
+
mx: z.marginX,
|
|
2429
|
+
my: z.marginY,
|
|
2430
|
+
p: z.padding,
|
|
2431
|
+
pt: z.paddingTop,
|
|
2432
|
+
py: z.paddingY,
|
|
2433
|
+
px: z.paddingX,
|
|
2434
|
+
pb: z.paddingBottom,
|
|
2435
|
+
pl: z.paddingLeft,
|
|
2436
|
+
ps: z.paddingInlineStart,
|
|
2437
|
+
paddingStart: z.paddingInlineStart,
|
|
2438
|
+
pr: z.paddingRight,
|
|
2439
|
+
pe: z.paddingInlineEnd,
|
|
2440
|
+
paddingEnd: z.paddingInlineEnd
|
|
2441
2441
|
});
|
|
2442
|
-
var
|
|
2442
|
+
var $n = {
|
|
2443
2443
|
textDecorationColor: n.colors("textDecorationColor"),
|
|
2444
2444
|
textDecoration: !0,
|
|
2445
2445
|
textDecor: { property: "textDecoration" },
|
|
@@ -2526,18 +2526,18 @@ var On = {
|
|
|
2526
2526
|
scrollPaddingY: n.spaceT(["scrollPaddingTop", "scrollPaddingBottom"])
|
|
2527
2527
|
};
|
|
2528
2528
|
function Dt(e) {
|
|
2529
|
-
return
|
|
2529
|
+
return Ot(e) && e.reference ? e.reference : String(e);
|
|
2530
2530
|
}
|
|
2531
2531
|
var Rr = (e, ...a) => a.map(Dt).join(` ${e} `).replace(/calc/g, ""), Rt = (...e) => `calc(${Rr("+", ...e)})`, Et = (...e) => `calc(${Rr("-", ...e)})`, lt = (...e) => `calc(${Rr("*", ...e)})`, It = (...e) => `calc(${Rr("/", ...e)})`, Ft = (e) => {
|
|
2532
2532
|
const a = Dt(e);
|
|
2533
2533
|
return a != null && !Number.isNaN(parseFloat(a)) ? String(a).startsWith("-") ? String(a).slice(1) : `-${a}` : lt(a, -1);
|
|
2534
|
-
},
|
|
2534
|
+
}, He = Object.assign(
|
|
2535
2535
|
(e) => ({
|
|
2536
|
-
add: (...a) =>
|
|
2537
|
-
subtract: (...a) =>
|
|
2538
|
-
multiply: (...a) =>
|
|
2539
|
-
divide: (...a) =>
|
|
2540
|
-
negate: () =>
|
|
2536
|
+
add: (...a) => He(Rt(e, ...a)),
|
|
2537
|
+
subtract: (...a) => He(Et(e, ...a)),
|
|
2538
|
+
multiply: (...a) => He(lt(e, ...a)),
|
|
2539
|
+
divide: (...a) => He(It(e, ...a)),
|
|
2540
|
+
negate: () => He(Ft(e)),
|
|
2541
2541
|
toString: () => e.toString()
|
|
2542
2542
|
}),
|
|
2543
2543
|
{
|
|
@@ -2632,24 +2632,24 @@ var Rr = (e, ...a) => a.map(Dt).join(` ${e} `).replace(/calc/g, ""), Rt = (...e)
|
|
|
2632
2632
|
Cr,
|
|
2633
2633
|
J,
|
|
2634
2634
|
Cn,
|
|
2635
|
-
|
|
2635
|
+
On,
|
|
2636
2636
|
Tn,
|
|
2637
2637
|
Mt,
|
|
2638
|
-
|
|
2639
|
-
|
|
2638
|
+
Pn,
|
|
2639
|
+
Xe,
|
|
2640
2640
|
st,
|
|
2641
|
-
|
|
2641
|
+
z,
|
|
2642
2642
|
An,
|
|
2643
2643
|
jn,
|
|
2644
|
-
|
|
2644
|
+
$n,
|
|
2645
2645
|
Mn,
|
|
2646
2646
|
Rn,
|
|
2647
2647
|
Dn
|
|
2648
2648
|
);
|
|
2649
|
-
Object.assign({},
|
|
2649
|
+
Object.assign({}, z, J, Cr, Mt, Xe);
|
|
2650
2650
|
[...Object.keys(Wt), ...Wn];
|
|
2651
2651
|
({ ...Wt, ...At });
|
|
2652
|
-
function
|
|
2652
|
+
function Pe(e) {
|
|
2653
2653
|
return {
|
|
2654
2654
|
definePartsStyle(a) {
|
|
2655
2655
|
return a;
|
|
@@ -2659,14 +2659,14 @@ function ze(e) {
|
|
|
2659
2659
|
}
|
|
2660
2660
|
};
|
|
2661
2661
|
}
|
|
2662
|
-
const { defineMultiStyleConfig: Ln, definePartsStyle: Gn } =
|
|
2662
|
+
const { defineMultiStyleConfig: Ln, definePartsStyle: Gn } = Pe(Jo.keys), Bt = {
|
|
2663
2663
|
transform: ["scale(0.85) translateY(-8px) ", "scale(0.85) translateY(-12px)"],
|
|
2664
2664
|
fontSize: "11px",
|
|
2665
2665
|
color: "viridian.base",
|
|
2666
2666
|
_invalid: {
|
|
2667
2667
|
color: "utility.warning"
|
|
2668
2668
|
}
|
|
2669
|
-
},
|
|
2669
|
+
}, Yn = Ln({
|
|
2670
2670
|
baseStyle: Gn({
|
|
2671
2671
|
container: {
|
|
2672
2672
|
width: "100%",
|
|
@@ -2716,7 +2716,7 @@ const { defineMultiStyleConfig: Ln, definePartsStyle: Gn } = ze(Jo.keys), Bt = {
|
|
|
2716
2716
|
}
|
|
2717
2717
|
},
|
|
2718
2718
|
defaultProps: {}
|
|
2719
|
-
}), { defineMultiStyleConfig:
|
|
2719
|
+
}), { defineMultiStyleConfig: Hn, definePartsStyle: Nn } = Pe(Zo.keys), Xn = Hn({
|
|
2720
2720
|
baseStyle: Nn({
|
|
2721
2721
|
text: {
|
|
2722
2722
|
color: "utility.warning",
|
|
@@ -2729,7 +2729,7 @@ const { defineMultiStyleConfig: Ln, definePartsStyle: Gn } = ze(Jo.keys), Bt = {
|
|
|
2729
2729
|
mr: 1
|
|
2730
2730
|
}
|
|
2731
2731
|
})
|
|
2732
|
-
}),
|
|
2732
|
+
}), Vn = {
|
|
2733
2733
|
fontSize: ["sm", "md"],
|
|
2734
2734
|
color: "tints.black",
|
|
2735
2735
|
transitionProperty: "common",
|
|
@@ -2739,8 +2739,8 @@ const { defineMultiStyleConfig: Ln, definePartsStyle: Gn } = ze(Jo.keys), Bt = {
|
|
|
2739
2739
|
opacity: 0.4
|
|
2740
2740
|
}
|
|
2741
2741
|
}, Un = {
|
|
2742
|
-
baseStyle:
|
|
2743
|
-
}, qn =
|
|
2742
|
+
baseStyle: Vn
|
|
2743
|
+
}, qn = Pe(["addon", "field", "element"]), Kn = qn.defineMultiStyleConfig({
|
|
2744
2744
|
baseStyle: {
|
|
2745
2745
|
field: {
|
|
2746
2746
|
fontWeight: "medium",
|
|
@@ -2779,7 +2779,7 @@ const { defineMultiStyleConfig: Ln, definePartsStyle: Gn } = ze(Jo.keys), Bt = {
|
|
|
2779
2779
|
sizes: {},
|
|
2780
2780
|
variants: {},
|
|
2781
2781
|
defaultProps: {}
|
|
2782
|
-
}), Jn =
|
|
2782
|
+
}), Jn = Pe([
|
|
2783
2783
|
"button",
|
|
2784
2784
|
"list",
|
|
2785
2785
|
"item",
|
|
@@ -3041,7 +3041,7 @@ const { defineMultiStyleConfig: Ln, definePartsStyle: Gn } = ze(Jo.keys), Bt = {
|
|
|
3041
3041
|
defaultProps: {
|
|
3042
3042
|
size: "md"
|
|
3043
3043
|
}
|
|
3044
|
-
}), { defineMultiStyleConfig: sa, definePartsStyle: dt } =
|
|
3044
|
+
}), { defineMultiStyleConfig: sa, definePartsStyle: dt } = Pe(Ko.keys), la = {
|
|
3045
3045
|
partial: dt({
|
|
3046
3046
|
dialog: {
|
|
3047
3047
|
maxW: 560
|
|
@@ -3136,53 +3136,76 @@ const { defineMultiStyleConfig: Ln, definePartsStyle: Gn } = ze(Jo.keys), Bt = {
|
|
|
3136
3136
|
sizes: {},
|
|
3137
3137
|
variants: {},
|
|
3138
3138
|
defaultProps: {}
|
|
3139
|
-
}), {
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
|
|
3139
|
+
}), { defineMultiStyleConfig: ba } = Tr(
|
|
3140
|
+
en.keys
|
|
3141
|
+
), ma = ba({
|
|
3142
|
+
baseStyle: {
|
|
3143
|
+
tab: {
|
|
3144
|
+
color: "tints.darkGrey",
|
|
3145
|
+
border: "1px solid",
|
|
3146
|
+
borderColor: "tints.lightGrey",
|
|
3147
|
+
_selected: {
|
|
3148
|
+
backgroundColor: "viridian.dark",
|
|
3149
|
+
color: "tints.white",
|
|
3150
|
+
borderColor: "inherit"
|
|
3151
|
+
},
|
|
3152
|
+
_disabled: {
|
|
3153
|
+
color: "tints.medGrey",
|
|
3154
|
+
backgroundColor: "tints.lightGrey",
|
|
3155
|
+
cursor: "not-allowed"
|
|
3156
|
+
},
|
|
3157
|
+
_focusVisible: {
|
|
3158
|
+
outline: "1px solid auto"
|
|
3159
|
+
}
|
|
3159
3160
|
},
|
|
3160
|
-
|
|
3161
|
-
|
|
3162
|
-
|
|
3163
|
-
|
|
3161
|
+
tabpanels: {},
|
|
3162
|
+
tabpanel: {}
|
|
3163
|
+
},
|
|
3164
|
+
sizes: {
|
|
3165
|
+
md: {
|
|
3166
|
+
tab: {
|
|
3167
|
+
fontSize: "md",
|
|
3168
|
+
fontWeight: "normal",
|
|
3169
|
+
lineHeight: "xl",
|
|
3170
|
+
paddingY: 3,
|
|
3171
|
+
paddingX: 4,
|
|
3172
|
+
_first: {
|
|
3173
|
+
borderLeftRadius: "xl"
|
|
3174
|
+
},
|
|
3175
|
+
_last: {
|
|
3176
|
+
borderRightRadius: "xl"
|
|
3177
|
+
}
|
|
3178
|
+
},
|
|
3179
|
+
tablist: {
|
|
3180
|
+
marginBottom: 4
|
|
3181
|
+
}
|
|
3164
3182
|
},
|
|
3165
|
-
|
|
3166
|
-
|
|
3183
|
+
lg: {
|
|
3184
|
+
tab: {
|
|
3185
|
+
fontSize: "lg",
|
|
3186
|
+
fontWeight: "medium",
|
|
3187
|
+
lineHeight: "3xl",
|
|
3188
|
+
paddingY: 4,
|
|
3189
|
+
paddingX: 5,
|
|
3190
|
+
_first: {
|
|
3191
|
+
borderLeftRadius: "xl"
|
|
3192
|
+
},
|
|
3193
|
+
_last: {
|
|
3194
|
+
borderRightRadius: "xl"
|
|
3195
|
+
}
|
|
3196
|
+
},
|
|
3197
|
+
tablist: {
|
|
3198
|
+
marginBottom: 6
|
|
3199
|
+
}
|
|
3167
3200
|
}
|
|
3168
3201
|
},
|
|
3169
|
-
tablist: {
|
|
3170
|
-
mb: "6"
|
|
3171
|
-
},
|
|
3172
|
-
tabpanels: {},
|
|
3173
|
-
tabpanel: {},
|
|
3174
|
-
sizes: {},
|
|
3175
3202
|
variants: {},
|
|
3176
|
-
colorScheme: {},
|
|
3177
3203
|
defaultProps: {
|
|
3178
|
-
size: "
|
|
3204
|
+
size: "lg"
|
|
3179
3205
|
}
|
|
3180
|
-
}),
|
|
3181
|
-
baseStyle: va,
|
|
3182
|
-
defaultProps: {}
|
|
3183
|
-
}), { defineMultiStyleConfig: Sa } = Tr(
|
|
3206
|
+
}), { defineMultiStyleConfig: va } = Tr(
|
|
3184
3207
|
rn.keys
|
|
3185
|
-
),
|
|
3208
|
+
), ya = {
|
|
3186
3209
|
sm: {
|
|
3187
3210
|
paddingX: ["2", "2"],
|
|
3188
3211
|
paddingY: ["0.5", "2"]
|
|
@@ -3191,7 +3214,7 @@ const { defineMultiStyleConfig: Ln, definePartsStyle: Gn } = ze(Jo.keys), Bt = {
|
|
|
3191
3214
|
paddingX: ["2", "3"],
|
|
3192
3215
|
paddingY: ["0.5", "3"]
|
|
3193
3216
|
}
|
|
3194
|
-
},
|
|
3217
|
+
}, Sa = va({
|
|
3195
3218
|
baseStyle: {
|
|
3196
3219
|
container: {
|
|
3197
3220
|
fontWeight: "medium",
|
|
@@ -3313,7 +3336,7 @@ const { defineMultiStyleConfig: Ln, definePartsStyle: Gn } = ze(Jo.keys), Bt = {
|
|
|
3313
3336
|
backgroundColor: "tints.white",
|
|
3314
3337
|
color: "tints.black",
|
|
3315
3338
|
borderRadius: "8px",
|
|
3316
|
-
...
|
|
3339
|
+
...ya[e]
|
|
3317
3340
|
},
|
|
3318
3341
|
label: {
|
|
3319
3342
|
backgroundColor: "tints.white",
|
|
@@ -3331,31 +3354,62 @@ const { defineMultiStyleConfig: Ln, definePartsStyle: Gn } = ze(Jo.keys), Bt = {
|
|
|
3331
3354
|
size: "md",
|
|
3332
3355
|
variant: "primary"
|
|
3333
3356
|
}
|
|
3334
|
-
}), { defineMultiStyleConfig:
|
|
3335
|
-
|
|
3336
|
-
|
|
3337
|
-
|
|
3338
|
-
|
|
3357
|
+
}), { defineMultiStyleConfig: xa } = Pe(
|
|
3358
|
+
Uo.keys
|
|
3359
|
+
), ka = xa({
|
|
3360
|
+
baseStyle: {
|
|
3361
|
+
container: {
|
|
3362
|
+
width: "100%"
|
|
3363
|
+
},
|
|
3364
|
+
panel: {
|
|
3365
|
+
paddingBottom: "6",
|
|
3366
|
+
fontSize: "lg",
|
|
3367
|
+
fontWeight: "normal"
|
|
3368
|
+
},
|
|
3369
|
+
button: {
|
|
3370
|
+
width: "100%",
|
|
3371
|
+
display: "flex",
|
|
3372
|
+
justifyContent: "space-between",
|
|
3373
|
+
textAlign: "left"
|
|
3374
|
+
},
|
|
3375
|
+
icon: {
|
|
3376
|
+
color: "viridian.base"
|
|
3377
|
+
}
|
|
3339
3378
|
},
|
|
3340
|
-
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
|
|
3379
|
+
sizes: {
|
|
3380
|
+
md: {
|
|
3381
|
+
button: {
|
|
3382
|
+
paddingY: "3"
|
|
3383
|
+
}
|
|
3384
|
+
},
|
|
3385
|
+
lg: {
|
|
3386
|
+
button: {
|
|
3387
|
+
paddingY: "6"
|
|
3388
|
+
}
|
|
3389
|
+
}
|
|
3344
3390
|
},
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
|
|
3349
|
-
|
|
3350
|
-
|
|
3391
|
+
variants: {
|
|
3392
|
+
primary: {
|
|
3393
|
+
container: {
|
|
3394
|
+
borderBottom: "1px solid",
|
|
3395
|
+
borderColor: "tints.lightGrey"
|
|
3396
|
+
}
|
|
3397
|
+
},
|
|
3398
|
+
secondary: {
|
|
3399
|
+
button: {
|
|
3400
|
+
border: "1px solid",
|
|
3401
|
+
borderColor: "tints.lightGrey",
|
|
3402
|
+
marginBottom: "3",
|
|
3403
|
+
borderRadius: "xl",
|
|
3404
|
+
paddingX: "3"
|
|
3405
|
+
}
|
|
3406
|
+
}
|
|
3351
3407
|
},
|
|
3352
|
-
|
|
3353
|
-
|
|
3408
|
+
defaultProps: {
|
|
3409
|
+
size: "lg",
|
|
3410
|
+
variant: "primary"
|
|
3354
3411
|
}
|
|
3355
|
-
}),
|
|
3356
|
-
baseStyle: Ca,
|
|
3357
|
-
defaultProps: {}
|
|
3358
|
-
}), Ra = me({
|
|
3412
|
+
}), wa = me({
|
|
3359
3413
|
baseStyle: {
|
|
3360
3414
|
paddingX: "48px"
|
|
3361
3415
|
},
|
|
@@ -3385,7 +3439,7 @@ const { defineMultiStyleConfig: Ln, definePartsStyle: Gn } = ze(Jo.keys), Bt = {
|
|
|
3385
3439
|
defaultProps: {
|
|
3386
3440
|
size: "lg"
|
|
3387
3441
|
}
|
|
3388
|
-
}),
|
|
3442
|
+
}), _a = {
|
|
3389
3443
|
tints: {
|
|
3390
3444
|
black: "#0F0F0F",
|
|
3391
3445
|
darkGrey: "#545454",
|
|
@@ -3491,7 +3545,7 @@ const { defineMultiStyleConfig: Ln, definePartsStyle: Gn } = ze(Jo.keys), Bt = {
|
|
|
3491
3545
|
900: "#143927"
|
|
3492
3546
|
// dark
|
|
3493
3547
|
},
|
|
3494
|
-
whiteCS: { ...
|
|
3548
|
+
whiteCS: { ...zt.colors.whiteAlpha, base: "#FFFFFF" },
|
|
3495
3549
|
// contextual colors
|
|
3496
3550
|
utility: {
|
|
3497
3551
|
warning: "#CC0F05",
|
|
@@ -3499,8 +3553,8 @@ const { defineMultiStyleConfig: Ln, definePartsStyle: Gn } = ze(Jo.keys), Bt = {
|
|
|
3499
3553
|
success: "#28724F",
|
|
3500
3554
|
rating: "#F5A623"
|
|
3501
3555
|
}
|
|
3502
|
-
}, { semanticTokens:
|
|
3503
|
-
...
|
|
3556
|
+
}, { semanticTokens: Pa, sizes: Oa, space: $a, ...Ca } = zt, R = (e) => `${e / 16}rem`, Ta = (e) => e, Ma = Ta({
|
|
3557
|
+
...Ca,
|
|
3504
3558
|
breakpoints: {
|
|
3505
3559
|
// Chakra relies on the initial breakpoint being `base`
|
|
3506
3560
|
base: "0em",
|
|
@@ -3627,16 +3681,16 @@ const { defineMultiStyleConfig: Ln, definePartsStyle: Gn } = ze(Jo.keys), Bt = {
|
|
|
3627
3681
|
toast: 1700,
|
|
3628
3682
|
tooltip: 1800
|
|
3629
3683
|
},
|
|
3630
|
-
colors:
|
|
3684
|
+
colors: _a,
|
|
3631
3685
|
components: {
|
|
3632
|
-
Accordion:
|
|
3633
|
-
Button:
|
|
3686
|
+
Accordion: ka,
|
|
3687
|
+
Button: Vo,
|
|
3634
3688
|
Checkbox: nn,
|
|
3635
|
-
Container:
|
|
3689
|
+
Container: wa,
|
|
3636
3690
|
Drawer: ca,
|
|
3637
|
-
Form:
|
|
3691
|
+
Form: Yn,
|
|
3638
3692
|
// Not sure why chakra does not follow their naming convention for this theme, but this is the way that it works
|
|
3639
|
-
FormError:
|
|
3693
|
+
FormError: Xn,
|
|
3640
3694
|
FormLabel: Un,
|
|
3641
3695
|
Select: ta,
|
|
3642
3696
|
Heading: na,
|
|
@@ -3646,93 +3700,93 @@ const { defineMultiStyleConfig: Ln, definePartsStyle: Gn } = ze(Jo.keys), Bt = {
|
|
|
3646
3700
|
Menu: Zn,
|
|
3647
3701
|
Spinner: ua,
|
|
3648
3702
|
Skeleton: ha,
|
|
3649
|
-
Tabs:
|
|
3650
|
-
Tag:
|
|
3703
|
+
Tabs: ma,
|
|
3704
|
+
Tag: Sa,
|
|
3651
3705
|
Text: aa
|
|
3652
3706
|
}
|
|
3653
3707
|
});
|
|
3654
3708
|
export {
|
|
3655
|
-
|
|
3656
|
-
|
|
3657
|
-
|
|
3658
|
-
|
|
3659
|
-
|
|
3660
|
-
|
|
3661
|
-
|
|
3662
|
-
|
|
3663
|
-
|
|
3664
|
-
|
|
3665
|
-
|
|
3666
|
-
|
|
3667
|
-
|
|
3668
|
-
|
|
3669
|
-
|
|
3670
|
-
|
|
3671
|
-
|
|
3672
|
-
|
|
3673
|
-
|
|
3674
|
-
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
|
|
3709
|
+
Aa as Accordion,
|
|
3710
|
+
Wa as AccordionButton,
|
|
3711
|
+
La as AccordionIcon,
|
|
3712
|
+
Ga as AccordionItem,
|
|
3713
|
+
Ya as AccordionPanel,
|
|
3714
|
+
Ha as Box,
|
|
3715
|
+
Na as Breadcrumb,
|
|
3716
|
+
Xa as BreadcrumbItem,
|
|
3717
|
+
Va as BreadcrumbLink,
|
|
3718
|
+
Ua as BreadcrumbSeparator,
|
|
3719
|
+
qa as Button,
|
|
3720
|
+
Ho as Checkbox,
|
|
3721
|
+
Ka as CheckboxGroup,
|
|
3722
|
+
Ja as Container,
|
|
3723
|
+
Za as Drawer,
|
|
3724
|
+
Qa as DrawerBody,
|
|
3725
|
+
ei as DrawerCloseButton,
|
|
3726
|
+
ri as DrawerContent,
|
|
3727
|
+
ti as DrawerFooter,
|
|
3728
|
+
oi as DrawerHeader,
|
|
3729
|
+
ni as DrawerOverlay,
|
|
3730
|
+
ai as Flex,
|
|
3731
|
+
ii as FormControl,
|
|
3732
|
+
si as FormErrorMessage,
|
|
3733
|
+
li as FormHelperText,
|
|
3734
|
+
di as FormLabel,
|
|
3681
3735
|
Go as Grid,
|
|
3682
|
-
|
|
3683
|
-
|
|
3684
|
-
|
|
3685
|
-
|
|
3736
|
+
Yo as GridItem,
|
|
3737
|
+
ci as HStack,
|
|
3738
|
+
ui as Heading,
|
|
3739
|
+
Ba as Hide,
|
|
3686
3740
|
ut as Icon,
|
|
3687
3741
|
Lo as IconButton,
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
|
|
3691
|
-
|
|
3692
|
-
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
|
|
3703
|
-
|
|
3704
|
-
|
|
3705
|
-
|
|
3706
|
-
|
|
3742
|
+
fi as Image,
|
|
3743
|
+
pi as Input,
|
|
3744
|
+
gi as InputGroup,
|
|
3745
|
+
hi as InputLeftElement,
|
|
3746
|
+
bi as InputRightElement,
|
|
3747
|
+
mi as Link,
|
|
3748
|
+
vi as List,
|
|
3749
|
+
yi as ListIcon,
|
|
3750
|
+
Si as ListItem,
|
|
3751
|
+
xi as Menu,
|
|
3752
|
+
ki as MenuButton,
|
|
3753
|
+
wi as MenuCommand,
|
|
3754
|
+
_i as MenuDivider,
|
|
3755
|
+
Ci as MenuGroup,
|
|
3756
|
+
Ti as MenuItem,
|
|
3757
|
+
Ri as MenuItemOption,
|
|
3758
|
+
Ei as MenuList,
|
|
3759
|
+
Ii as MenuOptionGroup,
|
|
3760
|
+
Fi as OrderedList,
|
|
3707
3761
|
No as Radio,
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
|
|
3711
|
-
|
|
3712
|
-
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
|
|
3716
|
-
|
|
3717
|
-
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
|
|
3722
|
-
|
|
3723
|
-
|
|
3724
|
-
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
-
|
|
3728
|
-
|
|
3729
|
-
|
|
3730
|
-
|
|
3731
|
-
|
|
3732
|
-
|
|
3733
|
-
|
|
3734
|
-
|
|
3735
|
-
|
|
3736
|
-
|
|
3737
|
-
|
|
3762
|
+
Bi as RadioGroup,
|
|
3763
|
+
zi as Select,
|
|
3764
|
+
Fa as Show,
|
|
3765
|
+
Pi as Skeleton,
|
|
3766
|
+
Oi as SkeletonCircle,
|
|
3767
|
+
$i as SkeletonText,
|
|
3768
|
+
Mi as Spacer,
|
|
3769
|
+
Di as Spinner,
|
|
3770
|
+
ji as Stack,
|
|
3771
|
+
Ai as Tab,
|
|
3772
|
+
Wi as TabList,
|
|
3773
|
+
Li as TabPanel,
|
|
3774
|
+
Gi as TabPanels,
|
|
3775
|
+
Yi as Tabs,
|
|
3776
|
+
Hi as Tag,
|
|
3777
|
+
Ni as TagCloseButton,
|
|
3778
|
+
Xi as TagLabel,
|
|
3779
|
+
Vi as TagLeftIcon,
|
|
3780
|
+
Ui as TagRightIcon,
|
|
3781
|
+
qi as Text,
|
|
3782
|
+
za as ThemeProvider,
|
|
3783
|
+
Ki as UnorderedList,
|
|
3784
|
+
Ji as VStack,
|
|
3785
|
+
Zi as VisuallyHidden,
|
|
3786
|
+
Qi as extendTheme,
|
|
3787
|
+
ns as styled,
|
|
3788
|
+
Ma as theme,
|
|
3789
|
+
es as useMediaQuery,
|
|
3790
|
+
rs as useRadioGroup,
|
|
3791
|
+
ts as useTab
|
|
3738
3792
|
};
|