@everlywell/ui-kit 0.26.0 → 0.27.1
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 +6 -6
- package/index.mjs +760 -737
- package/lib/theme/data-display/Tabs/Tabs.config.d.ts +41 -32
- package/lib/theme/index.d.ts +1697 -26
- package/lib/theme/layout/Grid/Grid.d.ts +2 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
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
|
|
2
|
-
import { Accordion as
|
|
3
|
-
import Xe, { createContext as Bo, useContext as
|
|
4
|
-
import * as
|
|
1
|
+
import { Icon as yo, IconButton as So, defineStyleConfig as me, createMultiStyleConfigHelpers as Tr, cssVar as ct, baseTheme as zt, 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 } from "@chakra-ui/react";
|
|
2
|
+
import { Accordion as Wa, AccordionButton as La, AccordionIcon as Ga, AccordionItem as Ya, AccordionPanel as Ha, Box as Na, Breadcrumb as Va, BreadcrumbItem as Xa, BreadcrumbLink as Ua, BreadcrumbSeparator as qa, Button as Ka, CheckboxGroup as Ja, Container as Za, Drawer as Qa, DrawerBody as ei, DrawerCloseButton as ri, DrawerContent as ti, DrawerFooter as oi, DrawerHeader as ni, DrawerOverlay as ai, Flex as ii, FormControl as si, FormErrorMessage as li, FormHelperText as di, FormLabel as ci, HStack as ui, Heading as fi, Image as pi, Input as gi, InputGroup as hi, InputLeftElement as bi, InputRightElement as mi, Link as vi, List as yi, ListIcon as Si, ListItem as xi, Menu as ki, MenuButton as wi, MenuCommand as _i, MenuDivider as Ci, MenuGroup as Ti, MenuItem as Ri, MenuItemOption as Ei, MenuList as Ii, MenuOptionGroup as Fi, OrderedList as Bi, RadioGroup as zi, Select as Pi, Skeleton as $i, SkeletonCircle as Oi, SkeletonText as Mi, Spacer as Di, Spinner as ji, Stack as Ai, Tab as Wi, TabList as Li, TabPanel as Gi, TabPanels as Yi, Tabs as Hi, Tag as Ni, TagCloseButton as Vi, TagLabel as Xi, TagLeftIcon as Ui, TagRightIcon as qi, Text as Ki, UnorderedList as Ji, VStack as Zi, VisuallyHidden as Qi, extendBaseTheme as es, useMediaQuery as rs, useRadioGroup as ts, useTab as os } from "@chakra-ui/react";
|
|
3
|
+
import Xe, { createContext as Bo, useContext as zo } from "react";
|
|
4
|
+
import * as Po from "@phosphor-icons/react";
|
|
5
5
|
import { Global as $o } from "@emotion/react";
|
|
6
|
-
import { default as
|
|
6
|
+
import { default as as } from "@emotion/styled";
|
|
7
7
|
var Sr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
8
8
|
function Oo(e) {
|
|
9
9
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
@@ -21,7 +21,7 @@ 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 = Xe, 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"),
|
|
24
|
+
var e = Xe, 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"), T = Symbol.for("react.provider"), w = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), z = Symbol.for("react.suspense"), _ = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), D = Symbol.for("react.lazy"), Y = Symbol.for("react.offscreen"), V = Symbol.iterator, re = "@@iterator";
|
|
25
25
|
function te(t) {
|
|
26
26
|
if (t === null || typeof t != "object")
|
|
27
27
|
return null;
|
|
@@ -38,29 +38,29 @@ function Mo() {
|
|
|
38
38
|
}
|
|
39
39
|
function xe(t, l, d) {
|
|
40
40
|
{
|
|
41
|
-
var f = X.ReactDebugCurrentFrame,
|
|
42
|
-
|
|
43
|
-
var
|
|
41
|
+
var f = X.ReactDebugCurrentFrame, k = f.getStackAddendum();
|
|
42
|
+
k !== "" && (l += "%s", d = d.concat([k]));
|
|
43
|
+
var S = d.map(function(b) {
|
|
44
44
|
return String(b);
|
|
45
45
|
});
|
|
46
|
-
|
|
46
|
+
S.unshift("Warning: " + l), Function.prototype.apply.call(console[t], console, S);
|
|
47
47
|
}
|
|
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 === z || t ===
|
|
51
|
+
function zr(t) {
|
|
52
|
+
return !!(typeof t == "string" || typeof t == "function" || t === u || t === m || Br || t === p || t === z || t === _ || Fr || t === Y || ke || Er || Ir || typeof t == "object" && t !== null && (t.$$typeof === D || t.$$typeof === y || t.$$typeof === T || t.$$typeof === w || 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;
|
|
62
|
-
var
|
|
63
|
-
return
|
|
62
|
+
var k = l.displayName || l.name || "";
|
|
63
|
+
return k !== "" ? d + "(" + k + ")" : d;
|
|
64
64
|
}
|
|
65
65
|
function qe(t) {
|
|
66
66
|
return t.displayName || "Context";
|
|
@@ -83,26 +83,26 @@ function Mo() {
|
|
|
83
83
|
return "StrictMode";
|
|
84
84
|
case z:
|
|
85
85
|
return "Suspense";
|
|
86
|
-
case
|
|
86
|
+
case _:
|
|
87
87
|
return "SuspenseList";
|
|
88
88
|
}
|
|
89
89
|
if (typeof t == "object")
|
|
90
90
|
switch (t.$$typeof) {
|
|
91
|
-
case
|
|
91
|
+
case w:
|
|
92
92
|
var l = t;
|
|
93
93
|
return qe(l) + ".Consumer";
|
|
94
|
-
case
|
|
94
|
+
case T:
|
|
95
95
|
var d = t;
|
|
96
96
|
return qe(d._context) + ".Provider";
|
|
97
97
|
case g:
|
|
98
|
-
return
|
|
99
|
-
case
|
|
98
|
+
return Pr(t, t.render, "ForwardRef");
|
|
99
|
+
case y:
|
|
100
100
|
var f = t.displayName || null;
|
|
101
101
|
return f !== null ? f : Z(t.type) || "Memo";
|
|
102
102
|
case D: {
|
|
103
|
-
var
|
|
103
|
+
var k = t, S = k._payload, b = k._init;
|
|
104
104
|
try {
|
|
105
|
-
return Z(b(
|
|
105
|
+
return Z(b(S));
|
|
106
106
|
} catch {
|
|
107
107
|
return null;
|
|
108
108
|
}
|
|
@@ -111,9 +111,9 @@ function Mo() {
|
|
|
111
111
|
return null;
|
|
112
112
|
}
|
|
113
113
|
var se = Object.assign, ve = 0, Ke, Je, Ze, Qe, er, rr, tr;
|
|
114
|
-
function
|
|
114
|
+
function F() {
|
|
115
115
|
}
|
|
116
|
-
|
|
116
|
+
F.__reactDisabledLog = !0;
|
|
117
117
|
function or() {
|
|
118
118
|
{
|
|
119
119
|
if (ve === 0) {
|
|
@@ -121,7 +121,7 @@ function Mo() {
|
|
|
121
121
|
var t = {
|
|
122
122
|
configurable: !0,
|
|
123
123
|
enumerable: !0,
|
|
124
|
-
value:
|
|
124
|
+
value: F,
|
|
125
125
|
writable: !0
|
|
126
126
|
};
|
|
127
127
|
Object.defineProperties(console, {
|
|
@@ -178,8 +178,8 @@ function Mo() {
|
|
|
178
178
|
if (we === void 0)
|
|
179
179
|
try {
|
|
180
180
|
throw Error();
|
|
181
|
-
} catch (
|
|
182
|
-
var f =
|
|
181
|
+
} catch (k) {
|
|
182
|
+
var f = k.stack.trim().match(/\n( *(at )?)/);
|
|
183
183
|
we = f && f[1] || "";
|
|
184
184
|
}
|
|
185
185
|
return `
|
|
@@ -201,10 +201,10 @@ function Mo() {
|
|
|
201
201
|
}
|
|
202
202
|
var f;
|
|
203
203
|
_e = !0;
|
|
204
|
-
var
|
|
204
|
+
var k = Error.prepareStackTrace;
|
|
205
205
|
Error.prepareStackTrace = void 0;
|
|
206
|
-
var
|
|
207
|
-
|
|
206
|
+
var S;
|
|
207
|
+
S = le.current, le.current = null, or();
|
|
208
208
|
try {
|
|
209
209
|
if (l) {
|
|
210
210
|
var b = function() {
|
|
@@ -257,7 +257,7 @@ function Mo() {
|
|
|
257
257
|
}
|
|
258
258
|
}
|
|
259
259
|
} finally {
|
|
260
|
-
_e = !1, le.current =
|
|
260
|
+
_e = !1, le.current = S, $r(), Error.prepareStackTrace = k;
|
|
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;
|
|
@@ -279,19 +279,19 @@ function Mo() {
|
|
|
279
279
|
switch (t) {
|
|
280
280
|
case z:
|
|
281
281
|
return oe("Suspense");
|
|
282
|
-
case
|
|
282
|
+
case _:
|
|
283
283
|
return oe("SuspenseList");
|
|
284
284
|
}
|
|
285
285
|
if (typeof t == "object")
|
|
286
286
|
switch (t.$$typeof) {
|
|
287
287
|
case g:
|
|
288
288
|
return Or(t.render);
|
|
289
|
-
case
|
|
289
|
+
case y:
|
|
290
290
|
return Ce(t.type, l, d);
|
|
291
291
|
case D: {
|
|
292
|
-
var f = t,
|
|
292
|
+
var f = t, k = f._payload, S = f._init;
|
|
293
293
|
try {
|
|
294
|
-
return Ce(
|
|
294
|
+
return Ce(S(k), l, d);
|
|
295
295
|
} catch {
|
|
296
296
|
}
|
|
297
297
|
}
|
|
@@ -306,11 +306,11 @@ function Mo() {
|
|
|
306
306
|
} else
|
|
307
307
|
ir.setExtraStackFrame(null);
|
|
308
308
|
}
|
|
309
|
-
function Ee(t, l, d, f,
|
|
309
|
+
function Ee(t, l, d, f, k) {
|
|
310
310
|
{
|
|
311
|
-
var
|
|
311
|
+
var S = Function.call.bind(Te);
|
|
312
312
|
for (var b in t)
|
|
313
|
-
if (
|
|
313
|
+
if (S(t, b)) {
|
|
314
314
|
var h = void 0;
|
|
315
315
|
try {
|
|
316
316
|
if (typeof t[b] != "function") {
|
|
@@ -321,7 +321,7 @@ function Mo() {
|
|
|
321
321
|
} catch (j) {
|
|
322
322
|
h = j;
|
|
323
323
|
}
|
|
324
|
-
h && !(h instanceof Error) && (Re(
|
|
324
|
+
h && !(h instanceof Error) && (Re(k), $("%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(k), $("Failed %s type: %s", d, h.message), Re(null));
|
|
325
325
|
}
|
|
326
326
|
}
|
|
327
327
|
}
|
|
@@ -400,7 +400,7 @@ function Mo() {
|
|
|
400
400
|
});
|
|
401
401
|
}
|
|
402
402
|
}
|
|
403
|
-
var Be = function(t, l, d, f,
|
|
403
|
+
var Be = function(t, l, d, f, k, S, b) {
|
|
404
404
|
var h = {
|
|
405
405
|
// This tag allows us to uniquely identify this as a React Element
|
|
406
406
|
$$typeof: a,
|
|
@@ -410,7 +410,7 @@ function Mo() {
|
|
|
410
410
|
ref: d,
|
|
411
411
|
props: b,
|
|
412
412
|
// Record the component responsible for creating this element.
|
|
413
|
-
_owner:
|
|
413
|
+
_owner: S
|
|
414
414
|
};
|
|
415
415
|
return h._store = {}, Object.defineProperty(h._store, "validated", {
|
|
416
416
|
configurable: !1,
|
|
@@ -426,28 +426,28 @@ function Mo() {
|
|
|
426
426
|
configurable: !1,
|
|
427
427
|
enumerable: !1,
|
|
428
428
|
writable: !1,
|
|
429
|
-
value:
|
|
429
|
+
value: k
|
|
430
430
|
}), Object.freeze && (Object.freeze(h.props), Object.freeze(h)), h;
|
|
431
431
|
};
|
|
432
|
-
function Ar(t, l, d, f,
|
|
432
|
+
function Ar(t, l, d, f, k) {
|
|
433
433
|
{
|
|
434
|
-
var
|
|
435
|
-
d !== void 0 && (lr(d), h = "" + d), cr(l) && (lr(l.key), h = "" + l.key), dr(l) && (L = l.ref, Dr(l,
|
|
436
|
-
for (
|
|
437
|
-
Te.call(l,
|
|
434
|
+
var S, b = {}, h = null, L = null;
|
|
435
|
+
d !== void 0 && (lr(d), h = "" + d), cr(l) && (lr(l.key), h = "" + l.key), dr(l) && (L = l.ref, Dr(l, k));
|
|
436
|
+
for (S in l)
|
|
437
|
+
Te.call(l, S) && !Ie.hasOwnProperty(S) && (b[S] = l[S]);
|
|
438
438
|
if (t && t.defaultProps) {
|
|
439
439
|
var j = t.defaultProps;
|
|
440
|
-
for (
|
|
441
|
-
b[
|
|
440
|
+
for (S in j)
|
|
441
|
+
b[S] === void 0 && (b[S] = j[S]);
|
|
442
442
|
}
|
|
443
443
|
if (h || L) {
|
|
444
444
|
var A = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
445
445
|
h && jr(b, A), L && de(b, A);
|
|
446
446
|
}
|
|
447
|
-
return Be(t, h, L,
|
|
447
|
+
return Be(t, h, L, k, f, ye.current, b);
|
|
448
448
|
}
|
|
449
449
|
}
|
|
450
|
-
var
|
|
450
|
+
var ze = X.ReactCurrentOwner, ur = X.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), $('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) {
|
|
@@ -521,9 +521,9 @@ Check the top-level render call using <` + d + ">.");
|
|
|
521
521
|
else if (Ae(t))
|
|
522
522
|
t._store && (t._store.validated = !0);
|
|
523
523
|
else if (t) {
|
|
524
|
-
var
|
|
525
|
-
if (typeof
|
|
526
|
-
for (var
|
|
524
|
+
var k = te(t);
|
|
525
|
+
if (typeof k == "function" && k !== t.entries)
|
|
526
|
+
for (var S = k.call(t), b; !(b = S.next()).done; )
|
|
527
527
|
Ae(b.value) && pr(b.value, l);
|
|
528
528
|
}
|
|
529
529
|
}
|
|
@@ -538,7 +538,7 @@ Check the top-level render call using <` + d + ">.");
|
|
|
538
538
|
d = l.propTypes;
|
|
539
539
|
else if (typeof l == "object" && (l.$$typeof === g || // Note: Memo only checks outer props here.
|
|
540
540
|
// Inner props are checked in the reconciler.
|
|
541
|
-
l.$$typeof ===
|
|
541
|
+
l.$$typeof === y))
|
|
542
542
|
d = l.propTypes;
|
|
543
543
|
else
|
|
544
544
|
return;
|
|
@@ -547,8 +547,8 @@ Check the top-level render call using <` + d + ">.");
|
|
|
547
547
|
Ee(d, t.props, "prop", f, t);
|
|
548
548
|
} else if (l.PropTypes !== void 0 && !ue) {
|
|
549
549
|
ue = !0;
|
|
550
|
-
var
|
|
551
|
-
$("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
550
|
+
var k = Z(l);
|
|
551
|
+
$("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", k || "Unknown");
|
|
552
552
|
}
|
|
553
553
|
typeof l.getDefaultProps == "function" && !l.getDefaultProps.isReactClassApproved && $("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
554
554
|
}
|
|
@@ -565,18 +565,18 @@ Check the top-level render call using <` + d + ">.");
|
|
|
565
565
|
t.ref !== null && (ce(t), $("Invalid attribute `ref` supplied to `React.Fragment`."), ce(null));
|
|
566
566
|
}
|
|
567
567
|
}
|
|
568
|
-
function hr(t, l, d, f,
|
|
568
|
+
function hr(t, l, d, f, k, S) {
|
|
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
|
-
var L = Wr(
|
|
574
|
+
var L = Wr(k);
|
|
575
575
|
L ? h += L : h += ne();
|
|
576
576
|
var j;
|
|
577
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, $("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
|
-
var A = Ar(t, l, d,
|
|
579
|
+
var A = Ar(t, l, d, k, S);
|
|
580
580
|
if (A == null)
|
|
581
581
|
return A;
|
|
582
582
|
if (b) {
|
|
@@ -621,17 +621,17 @@ function Do() {
|
|
|
621
621
|
return Ye;
|
|
622
622
|
_t = 1;
|
|
623
623
|
var e = Xe, 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
|
|
625
|
-
var
|
|
624
|
+
function T(w, g, z) {
|
|
625
|
+
var _, y = {}, D = null, Y = null;
|
|
626
626
|
z !== void 0 && (D = "" + z), g.key !== void 0 && (D = "" + g.key), g.ref !== void 0 && (Y = g.ref);
|
|
627
|
-
for (
|
|
628
|
-
u.call(g,
|
|
629
|
-
if (
|
|
630
|
-
for (
|
|
631
|
-
|
|
632
|
-
return { $$typeof: a, type:
|
|
633
|
-
}
|
|
634
|
-
return Ye.Fragment = s, Ye.jsx =
|
|
627
|
+
for (_ in g)
|
|
628
|
+
u.call(g, _) && !m.hasOwnProperty(_) && (y[_] = g[_]);
|
|
629
|
+
if (w && w.defaultProps)
|
|
630
|
+
for (_ in g = w.defaultProps, g)
|
|
631
|
+
y[_] === void 0 && (y[_] = g[_]);
|
|
632
|
+
return { $$typeof: a, type: w, key: D, ref: Y, props: y, _owner: p.current };
|
|
633
|
+
}
|
|
634
|
+
return Ye.Fragment = s, Ye.jsx = T, Ye.jsxs = T, 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
|
|
@@ -664,219 +664,7 @@ const jo = {}, Ao = [
|
|
|
664
664
|
}
|
|
665
665
|
));
|
|
666
666
|
Lo.displayName = "IconButton";
|
|
667
|
-
const
|
|
668
|
-
spacing: 0,
|
|
669
|
-
columns: 1
|
|
670
|
-
}), Go = Xe.forwardRef(
|
|
671
|
-
({
|
|
672
|
-
children: e,
|
|
673
|
-
alignEdges: a = !0,
|
|
674
|
-
width: s,
|
|
675
|
-
columns: u = 1,
|
|
676
|
-
spacing: p,
|
|
677
|
-
...m
|
|
678
|
-
}, C) => {
|
|
679
|
-
const k = xo(), g = p ?? k.space[4], z = Array.isArray(g) ? g.map((w) => -1 * w) : -1 * g;
|
|
680
|
-
return /* @__PURE__ */ W.jsx(zt.Provider, { value: { spacing: g, columns: u }, children: /* @__PURE__ */ W.jsx(Ne, { m: a ? z : void 0, children: /* @__PURE__ */ W.jsx(
|
|
681
|
-
ko,
|
|
682
|
-
{
|
|
683
|
-
flexWrap: "wrap",
|
|
684
|
-
pl: g,
|
|
685
|
-
pt: g,
|
|
686
|
-
width: s ?? "100%",
|
|
687
|
-
...m,
|
|
688
|
-
ref: C,
|
|
689
|
-
children: e
|
|
690
|
-
}
|
|
691
|
-
) }) });
|
|
692
|
-
}
|
|
693
|
-
);
|
|
694
|
-
Go.displayName = "Grid";
|
|
695
|
-
const Yo = Xe.forwardRef(
|
|
696
|
-
({ children: e, width: a, ...s }, u) => {
|
|
697
|
-
const { columns: p, spacing: m } = Po(zt), C = Array.isArray(a) ? a.map((g) => g === "auto" ? 1 : 0) : a === "auto" ? 1 : 0, k = () => (Array.isArray(p) ? p : [p]).map((z) => `${100 / z}%`);
|
|
698
|
-
return /* @__PURE__ */ W.jsx(
|
|
699
|
-
Ne,
|
|
700
|
-
{
|
|
701
|
-
width: a ?? k() ?? "100%",
|
|
702
|
-
pr: m,
|
|
703
|
-
pb: m,
|
|
704
|
-
...s,
|
|
705
|
-
sx: {
|
|
706
|
-
flexGrow: C,
|
|
707
|
-
...s.sx
|
|
708
|
-
},
|
|
709
|
-
ref: u,
|
|
710
|
-
children: e
|
|
711
|
-
}
|
|
712
|
-
);
|
|
713
|
-
}
|
|
714
|
-
);
|
|
715
|
-
Yo.displayName = "GridItem";
|
|
716
|
-
const Pa = wo, za = _o, Ho = (e) => /* @__PURE__ */ W.jsx(Co, { icon: /* @__PURE__ */ W.jsx(ut, { icon: "Check" }), ...e });
|
|
717
|
-
Ho.displayName = "Checkbox";
|
|
718
|
-
const rt = "32px", xr = (e) => e == null, No = To((e, a) => {
|
|
719
|
-
const s = Ro(), u = {
|
|
720
|
-
isDisabled: s == null ? void 0 : s.isDisabled,
|
|
721
|
-
isFocusable: s == null ? void 0 : s.isFocusable,
|
|
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) ? ($) => {
|
|
724
|
-
var xe, ke;
|
|
725
|
-
(xe = e.onChange) == null || xe.call(e, $), (ke = s == null ? void 0 : s.onChange) == null || ke.call(s, $);
|
|
726
|
-
} : e.onChange,
|
|
727
|
-
name: (e == null ? void 0 : e.name) ?? (s == null ? void 0 : s.name)
|
|
728
|
-
}, {
|
|
729
|
-
getInputProps: p,
|
|
730
|
-
getRadioProps: m,
|
|
731
|
-
htmlProps: C,
|
|
732
|
-
getLabelProps: k,
|
|
733
|
-
state: g,
|
|
734
|
-
getRootProps: z
|
|
735
|
-
} = Eo({
|
|
736
|
-
...e,
|
|
737
|
-
...u
|
|
738
|
-
}), w = p({}, a), F = m(), D = k(), Y = z(), V = g.isChecked, re = () => e.isDisabled ? "tints.lightGrey" : V ? "viridian.base" : "tints.white", te = () => e.isDisabled ? "tints.lightGrey" : V ? "viridian.base" : "tints.uiGrey", X = () => e.isDisabled ? "not-allowed" : "pointer";
|
|
739
|
-
return /* @__PURE__ */ W.jsxs(
|
|
740
|
-
Io.label,
|
|
741
|
-
{
|
|
742
|
-
...C,
|
|
743
|
-
...Y,
|
|
744
|
-
cursor: "pointer",
|
|
745
|
-
display: "flex",
|
|
746
|
-
flexDirection: "row",
|
|
747
|
-
alignItems: "flex-start",
|
|
748
|
-
width: "100%",
|
|
749
|
-
gap: 3,
|
|
750
|
-
children: [
|
|
751
|
-
/* @__PURE__ */ W.jsx("input", { ...w, ref: a, hidden: !0 }),
|
|
752
|
-
e.removeCircle ? (
|
|
753
|
-
// Icon size is 32px, so we need to add a box to keep the layout consistent
|
|
754
|
-
/* @__PURE__ */ W.jsx(Ne, { width: "32px" })
|
|
755
|
-
) : /* @__PURE__ */ W.jsx(
|
|
756
|
-
Ne,
|
|
757
|
-
{
|
|
758
|
-
...F,
|
|
759
|
-
display: "flex",
|
|
760
|
-
alignItems: "center",
|
|
761
|
-
justifyContent: "center",
|
|
762
|
-
backgroundColor: re(),
|
|
763
|
-
color: V ? "tints.white" : "transparent",
|
|
764
|
-
borderColor: te(),
|
|
765
|
-
borderStyle: "solid",
|
|
766
|
-
flexShrink: 0,
|
|
767
|
-
borderWidth: "1.5px",
|
|
768
|
-
height: rt,
|
|
769
|
-
width: rt,
|
|
770
|
-
rounded: "full",
|
|
771
|
-
cursor: X(),
|
|
772
|
-
children: V && /* @__PURE__ */ W.jsx(ut, { icon: "Check" })
|
|
773
|
-
}
|
|
774
|
-
),
|
|
775
|
-
/* @__PURE__ */ W.jsx(
|
|
776
|
-
Ne,
|
|
777
|
-
{
|
|
778
|
-
...D,
|
|
779
|
-
flex: 1,
|
|
780
|
-
display: "flex",
|
|
781
|
-
alignItems: "center",
|
|
782
|
-
minHeight: rt,
|
|
783
|
-
children: e.children
|
|
784
|
-
}
|
|
785
|
-
)
|
|
786
|
-
]
|
|
787
|
-
}
|
|
788
|
-
);
|
|
789
|
-
});
|
|
790
|
-
No.displayName = "Radio";
|
|
791
|
-
const Vo = () => /* @__PURE__ */ W.jsx(
|
|
792
|
-
$o,
|
|
793
|
-
{
|
|
794
|
-
styles: `
|
|
795
|
-
/* PP Agrandir */
|
|
796
|
-
/* Agrandir is used for page headers, section titles, brand moments and quotations. */
|
|
797
|
-
@font-face {
|
|
798
|
-
font-family: 'PP Agrandir';
|
|
799
|
-
src: url('https://cdn.everlywell.com/fonts/PP+Agrandir/PPAgrandir-Variable.woff2') format('woff2');
|
|
800
|
-
font-style: normal;
|
|
801
|
-
font-display: swap;
|
|
802
|
-
}
|
|
803
|
-
|
|
804
|
-
/* DM Sans */
|
|
805
|
-
/* Used for: Body copy, button copy and smaller sizes. */
|
|
806
|
-
@font-face {
|
|
807
|
-
font-family: 'DM Sans';
|
|
808
|
-
src: url('https://cdn.everlywell.com/fonts/DM+Sans/DMSans-Italic-VariableFont_opsz,wght.woff2') format('woff2');
|
|
809
|
-
font-style: italic;
|
|
810
|
-
font-stretch: normal;
|
|
811
|
-
font-display: swap;
|
|
812
|
-
}
|
|
813
|
-
@font-face {
|
|
814
|
-
font-family: 'DM Sans';
|
|
815
|
-
src: url('https://cdn.everlywell.com/fonts/DM+Sans/DMSans-VariableFont_opsz,wght.woff2') format('woff2');
|
|
816
|
-
font-style: normal;
|
|
817
|
-
font-stretch: normal;
|
|
818
|
-
font-display: swap;
|
|
819
|
-
}
|
|
820
|
-
|
|
821
|
-
/* DM Mono */
|
|
822
|
-
/* Used for: Body copy, button copy and smaller sizes. */
|
|
823
|
-
@font-face {
|
|
824
|
-
font-family: 'DM Mono';
|
|
825
|
-
src: url('https://cdn.everlywell.com/fonts/DM+Mono/DMMono-Light.woff2') format('woff2');
|
|
826
|
-
font-style: normal;
|
|
827
|
-
font-weight: 300;
|
|
828
|
-
font-stretch: normal;
|
|
829
|
-
font-display: swap;
|
|
830
|
-
}
|
|
831
|
-
@font-face {
|
|
832
|
-
font-family: 'DM Mono';
|
|
833
|
-
src: url('https://cdn.everlywell.com/fonts/DM+Mono/DMMono-LightItalic.woff2') format('woff2');
|
|
834
|
-
font-style: italic;
|
|
835
|
-
font-weight: 300;
|
|
836
|
-
font-stretch: normal;
|
|
837
|
-
font-display: swap;
|
|
838
|
-
}
|
|
839
|
-
@font-face {
|
|
840
|
-
font-family: 'DM Mono';
|
|
841
|
-
src: url('https://cdn.everlywell.com/fonts/DM+Mono/DMMono-Regular.woff2') format('woff2');
|
|
842
|
-
font-style: normal;
|
|
843
|
-
font-weight: 400;
|
|
844
|
-
font-stretch: normal;
|
|
845
|
-
font-display: swap;
|
|
846
|
-
}
|
|
847
|
-
@font-face {
|
|
848
|
-
font-family: 'DM Mono';
|
|
849
|
-
src: url('https://cdn.everlywell.com/fonts/DM+Mono/DMMono-Italic.woff2') format('woff2');
|
|
850
|
-
font-style: italic;
|
|
851
|
-
font-weight: 400;
|
|
852
|
-
font-stretch: normal;
|
|
853
|
-
font-display: swap;
|
|
854
|
-
}
|
|
855
|
-
@font-face {
|
|
856
|
-
font-family: 'DM Mono';
|
|
857
|
-
src: url('https://cdn.everlywell.com/fonts/DM+Mono/DMMono-Medium.woff2') format('woff2');
|
|
858
|
-
font-style: normal;
|
|
859
|
-
font-weight: 500;
|
|
860
|
-
font-stretch: normal;
|
|
861
|
-
font-display: swap;
|
|
862
|
-
}
|
|
863
|
-
@font-face {
|
|
864
|
-
font-family: 'DM Mono';
|
|
865
|
-
src: url('https://cdn.everlywell.com/fonts/DM+Mono/DMMono-MediumItalic.woff2') format('woff2');
|
|
866
|
-
font-style: italic;
|
|
867
|
-
font-weight: 500;
|
|
868
|
-
font-stretch: normal;
|
|
869
|
-
font-display: swap;
|
|
870
|
-
}
|
|
871
|
-
`
|
|
872
|
-
}
|
|
873
|
-
), $a = ({
|
|
874
|
-
children: e,
|
|
875
|
-
...a
|
|
876
|
-
}) => /* @__PURE__ */ W.jsxs(Fo, { ...a, children: [
|
|
877
|
-
/* @__PURE__ */ W.jsx(Vo, {}),
|
|
878
|
-
e
|
|
879
|
-
] }), Ct = ["redCS", "greenCS"], Xo = me({
|
|
667
|
+
const Ct = ["redCS", "greenCS"], Go = me({
|
|
880
668
|
// The styles all button have in common
|
|
881
669
|
baseStyle: {
|
|
882
670
|
fontFamily: "body",
|
|
@@ -1031,7 +819,7 @@ const Vo = () => /* @__PURE__ */ W.jsx(
|
|
|
1031
819
|
colorScheme: "greenCS"
|
|
1032
820
|
}
|
|
1033
821
|
});
|
|
1034
|
-
function
|
|
822
|
+
function I(e, a = {}) {
|
|
1035
823
|
let s = !1;
|
|
1036
824
|
function u() {
|
|
1037
825
|
if (!s) {
|
|
@@ -1042,113 +830,113 @@ function E(e, a = {}) {
|
|
|
1042
830
|
"[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?"
|
|
1043
831
|
);
|
|
1044
832
|
}
|
|
1045
|
-
function p(...
|
|
833
|
+
function p(..._) {
|
|
1046
834
|
u();
|
|
1047
|
-
for (const
|
|
1048
|
-
a[
|
|
1049
|
-
return
|
|
835
|
+
for (const y of _)
|
|
836
|
+
a[y] = g(y);
|
|
837
|
+
return I(e, a);
|
|
1050
838
|
}
|
|
1051
|
-
function m(...
|
|
1052
|
-
for (const
|
|
1053
|
-
|
|
1054
|
-
return
|
|
839
|
+
function m(..._) {
|
|
840
|
+
for (const y of _)
|
|
841
|
+
y in a || (a[y] = g(y));
|
|
842
|
+
return I(e, a);
|
|
1055
843
|
}
|
|
1056
|
-
function
|
|
844
|
+
function T() {
|
|
1057
845
|
return Object.fromEntries(
|
|
1058
|
-
Object.entries(a).map(([
|
|
846
|
+
Object.entries(a).map(([y, D]) => [y, D.selector])
|
|
1059
847
|
);
|
|
1060
848
|
}
|
|
1061
|
-
function
|
|
849
|
+
function w() {
|
|
1062
850
|
return Object.fromEntries(
|
|
1063
|
-
Object.entries(a).map(([
|
|
851
|
+
Object.entries(a).map(([y, D]) => [y, D.className])
|
|
1064
852
|
);
|
|
1065
853
|
}
|
|
1066
|
-
function g(
|
|
1067
|
-
const Y = `chakra-${(["container", "root"].includes(
|
|
854
|
+
function g(_) {
|
|
855
|
+
const Y = `chakra-${(["container", "root"].includes(_ ?? "") ? [e] : [e, _]).filter(Boolean).join("__")}`;
|
|
1068
856
|
return {
|
|
1069
857
|
className: Y,
|
|
1070
858
|
selector: `.${Y}`,
|
|
1071
|
-
toString: () =>
|
|
859
|
+
toString: () => _
|
|
1072
860
|
};
|
|
1073
861
|
}
|
|
1074
862
|
return {
|
|
1075
863
|
parts: p,
|
|
1076
864
|
toPart: g,
|
|
1077
865
|
extend: m,
|
|
1078
|
-
selectors:
|
|
1079
|
-
classnames:
|
|
866
|
+
selectors: T,
|
|
867
|
+
classnames: w,
|
|
1080
868
|
get keys() {
|
|
1081
869
|
return Object.keys(a);
|
|
1082
870
|
},
|
|
1083
871
|
__type: {}
|
|
1084
872
|
};
|
|
1085
873
|
}
|
|
1086
|
-
var
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
var
|
|
1092
|
-
|
|
1093
|
-
var
|
|
1094
|
-
|
|
874
|
+
var Yo = I("accordion").parts("root", "container", "button", "panel").extend("icon");
|
|
875
|
+
I("alert").parts("title", "description", "container").extend("icon", "spinner");
|
|
876
|
+
I("avatar").parts("label", "badge", "container").extend("excessLabel", "group");
|
|
877
|
+
I("breadcrumb").parts("link", "item", "container").extend("separator");
|
|
878
|
+
I("button").parts();
|
|
879
|
+
var Ho = I("checkbox").parts("control", "icon", "container").extend("label");
|
|
880
|
+
I("progress").parts("track", "filledTrack").extend("label");
|
|
881
|
+
var No = I("drawer").parts("overlay", "dialogContainer", "dialog").extend("header", "closeButton", "body", "footer");
|
|
882
|
+
I("editable").parts(
|
|
1095
883
|
"preview",
|
|
1096
884
|
"input",
|
|
1097
885
|
"textarea"
|
|
1098
886
|
);
|
|
1099
|
-
var
|
|
887
|
+
var Vo = I("form").parts(
|
|
1100
888
|
"container",
|
|
1101
889
|
"requiredIndicator",
|
|
1102
890
|
"helperText"
|
|
1103
|
-
),
|
|
1104
|
-
|
|
891
|
+
), Xo = I("formError").parts("text", "icon");
|
|
892
|
+
I("input").parts(
|
|
1105
893
|
"addon",
|
|
1106
894
|
"field",
|
|
1107
895
|
"element",
|
|
1108
896
|
"group"
|
|
1109
897
|
);
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
898
|
+
I("list").parts("container", "item", "icon");
|
|
899
|
+
I("menu").parts("button", "list", "item").extend("groupTitle", "icon", "command", "divider");
|
|
900
|
+
I("modal").parts("overlay", "dialogContainer", "dialog").extend("header", "closeButton", "body", "footer");
|
|
901
|
+
I("numberinput").parts(
|
|
1114
902
|
"root",
|
|
1115
903
|
"field",
|
|
1116
904
|
"stepperGroup",
|
|
1117
905
|
"stepper"
|
|
1118
906
|
);
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
907
|
+
I("pininput").parts("field");
|
|
908
|
+
I("popover").parts("content", "header", "body", "footer").extend("popper", "arrow", "closeButton");
|
|
909
|
+
I("progress").parts(
|
|
1122
910
|
"label",
|
|
1123
911
|
"filledTrack",
|
|
1124
912
|
"track"
|
|
1125
913
|
);
|
|
1126
|
-
|
|
914
|
+
I("radio").parts(
|
|
1127
915
|
"container",
|
|
1128
916
|
"control",
|
|
1129
917
|
"label"
|
|
1130
918
|
);
|
|
1131
|
-
var
|
|
1132
|
-
|
|
919
|
+
var Uo = I("select").parts("field", "icon");
|
|
920
|
+
I("slider").parts(
|
|
1133
921
|
"container",
|
|
1134
922
|
"track",
|
|
1135
923
|
"thumb",
|
|
1136
924
|
"filledTrack",
|
|
1137
925
|
"mark"
|
|
1138
926
|
);
|
|
1139
|
-
|
|
927
|
+
I("stat").parts(
|
|
1140
928
|
"container",
|
|
1141
929
|
"label",
|
|
1142
930
|
"helpText",
|
|
1143
931
|
"number",
|
|
1144
932
|
"icon"
|
|
1145
933
|
);
|
|
1146
|
-
|
|
934
|
+
I("switch").parts(
|
|
1147
935
|
"container",
|
|
1148
936
|
"track",
|
|
1149
937
|
"thumb"
|
|
1150
938
|
);
|
|
1151
|
-
|
|
939
|
+
I("table").parts(
|
|
1152
940
|
"table",
|
|
1153
941
|
"thead",
|
|
1154
942
|
"tbody",
|
|
@@ -1158,26 +946,26 @@ E("table").parts(
|
|
|
1158
946
|
"tfoot",
|
|
1159
947
|
"caption"
|
|
1160
948
|
);
|
|
1161
|
-
var
|
|
949
|
+
var qo = I("tabs").parts(
|
|
1162
950
|
"root",
|
|
1163
951
|
"tab",
|
|
1164
952
|
"tablist",
|
|
1165
953
|
"tabpanel",
|
|
1166
954
|
"tabpanels",
|
|
1167
955
|
"indicator"
|
|
1168
|
-
),
|
|
956
|
+
), Ko = I("tag").parts(
|
|
1169
957
|
"container",
|
|
1170
958
|
"label",
|
|
1171
959
|
"closeButton"
|
|
1172
960
|
);
|
|
1173
|
-
|
|
961
|
+
I("card").parts(
|
|
1174
962
|
"container",
|
|
1175
963
|
"header",
|
|
1176
964
|
"body",
|
|
1177
965
|
"footer"
|
|
1178
966
|
);
|
|
1179
|
-
const { definePartsStyle:
|
|
1180
|
-
baseStyle:
|
|
967
|
+
const { definePartsStyle: Jo, defineMultiStyleConfig: Zo } = Tr(Ho.keys), Qo = Zo({
|
|
968
|
+
baseStyle: Jo({
|
|
1181
969
|
container: {},
|
|
1182
970
|
control: {
|
|
1183
971
|
boxSize: 24,
|
|
@@ -1246,15 +1034,15 @@ const { definePartsStyle: tn, defineMultiStyleConfig: on } = Tr(qo.keys), nn = o
|
|
|
1246
1034
|
size: "sm"
|
|
1247
1035
|
}
|
|
1248
1036
|
});
|
|
1249
|
-
function
|
|
1037
|
+
function Pt(e) {
|
|
1250
1038
|
const a = typeof e;
|
|
1251
1039
|
return e != null && (a === "object" || a === "function") && !Array.isArray(e);
|
|
1252
1040
|
}
|
|
1253
1041
|
var _r = { exports: {} };
|
|
1254
1042
|
_r.exports;
|
|
1255
1043
|
(function(e, a) {
|
|
1256
|
-
var s = 200, u = "__lodash_hash_undefined__", p = 800, m = 16,
|
|
1257
|
-
|
|
1044
|
+
var s = 200, u = "__lodash_hash_undefined__", p = 800, m = 16, T = 9007199254740991, w = "[object Arguments]", g = "[object Array]", z = "[object AsyncFunction]", _ = "[object Boolean]", y = "[object Date]", D = "[object Error]", Y = "[object Function]", V = "[object GeneratorFunction]", re = "[object Map]", te = "[object Number]", X = "[object Null]", $ = "[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*)$/, F = {};
|
|
1045
|
+
F[Pr] = F[qe] = F[Z] = F[se] = F[ve] = F[Ke] = F[Je] = F[Ze] = F[Qe] = !0, F[w] = F[g] = F[Ue] = F[_] = F[zr] = F[y] = F[D] = F[Y] = F[re] = F[te] = F[$] = F[ke] = F[Er] = F[Ir] = F[Br] = !1;
|
|
1258
1046
|
var or = typeof Sr == "object" && Sr && Sr.Object === Object && Sr, $r = typeof self == "object" && self && self.Object === Object && self, le = or || $r || 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
1047
|
try {
|
|
1260
1048
|
var r = oe && oe.require && oe.require("util").types;
|
|
@@ -1304,7 +1092,7 @@ _r.exports;
|
|
|
1304
1092
|
return r({}, "", {}), r;
|
|
1305
1093
|
} catch {
|
|
1306
1094
|
}
|
|
1307
|
-
}(), Ar = Ie ? Ie.isBuffer : void 0,
|
|
1095
|
+
}(), Ar = Ie ? Ie.isBuffer : void 0, ze = Math.max, ur = Date.now, ce = Xr(le, "Map"), ue = Xr(Object, "create"), Ae = /* @__PURE__ */ function() {
|
|
1308
1096
|
function r() {
|
|
1309
1097
|
}
|
|
1310
1098
|
return function(o) {
|
|
@@ -1401,12 +1189,12 @@ _r.exports;
|
|
|
1401
1189
|
function f(r) {
|
|
1402
1190
|
return vr(this, r).has(r);
|
|
1403
1191
|
}
|
|
1404
|
-
function
|
|
1192
|
+
function k(r, o) {
|
|
1405
1193
|
var i = vr(this, r), c = i.size;
|
|
1406
1194
|
return i.set(r, o), this.size += i.size == c ? 0 : 1, this;
|
|
1407
1195
|
}
|
|
1408
|
-
he.prototype.clear = t, he.prototype.delete = l, he.prototype.get = d, he.prototype.has = f, he.prototype.set =
|
|
1409
|
-
function
|
|
1196
|
+
he.prototype.clear = t, he.prototype.delete = l, he.prototype.get = d, he.prototype.has = f, he.prototype.set = k;
|
|
1197
|
+
function S(r) {
|
|
1410
1198
|
var o = this.__data__ = new ee(r);
|
|
1411
1199
|
this.size = o.size;
|
|
1412
1200
|
}
|
|
@@ -1433,13 +1221,13 @@ _r.exports;
|
|
|
1433
1221
|
}
|
|
1434
1222
|
return i.set(r, o), this.size = i.size, this;
|
|
1435
1223
|
}
|
|
1436
|
-
|
|
1224
|
+
S.prototype.clear = b, S.prototype.delete = h, S.prototype.get = L, S.prototype.has = j, S.prototype.set = A;
|
|
1437
1225
|
function H(r, o) {
|
|
1438
|
-
var i = Kr(r), c = !i && qr(r),
|
|
1226
|
+
var i = Kr(r), c = !i && qr(r), x = !i && !c && mt(r), B = !i && !c && !x && yt(r), O = i || c || x || B, v = O ? Mr(r.length, String) : [], M = v.length;
|
|
1439
1227
|
for (var q in r)
|
|
1440
1228
|
(o || Q.call(r, q)) && !(O && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
1441
1229
|
(q == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
1442
|
-
|
|
1230
|
+
x && (q == "offset" || q == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
1443
1231
|
B && (q == "buffer" || q == "byteLength" || q == "byteOffset") || // Skip index properties.
|
|
1444
1232
|
ht(q, M))) && v.push(q);
|
|
1445
1233
|
return v;
|
|
@@ -1470,7 +1258,7 @@ _r.exports;
|
|
|
1470
1258
|
return r == null ? r === void 0 ? Fr : X : de && de in Object(r) ? ro(r) : so(r);
|
|
1471
1259
|
}
|
|
1472
1260
|
function pt(r) {
|
|
1473
|
-
return We(r) && mr(r) ==
|
|
1261
|
+
return We(r) && mr(r) == w;
|
|
1474
1262
|
}
|
|
1475
1263
|
function Gt(r) {
|
|
1476
1264
|
if (!Se(r) || ao(r))
|
|
@@ -1479,7 +1267,7 @@ _r.exports;
|
|
|
1479
1267
|
return o.test(fo(r));
|
|
1480
1268
|
}
|
|
1481
1269
|
function Yt(r) {
|
|
1482
|
-
return We(r) && vt(r.length) && !!
|
|
1270
|
+
return We(r) && vt(r.length) && !!F[mr(r)];
|
|
1483
1271
|
}
|
|
1484
1272
|
function Ht(r) {
|
|
1485
1273
|
if (!Se(r))
|
|
@@ -1489,17 +1277,17 @@ _r.exports;
|
|
|
1489
1277
|
c == "constructor" && (o || !Q.call(r, c)) || i.push(c);
|
|
1490
1278
|
return i;
|
|
1491
1279
|
}
|
|
1492
|
-
function gt(r, o, i, c,
|
|
1280
|
+
function gt(r, o, i, c, x) {
|
|
1493
1281
|
r !== o && Lt(o, function(B, O) {
|
|
1494
|
-
if (
|
|
1495
|
-
Nt(r, o, O, i, gt, c,
|
|
1282
|
+
if (x || (x = new S()), Se(B))
|
|
1283
|
+
Nt(r, o, O, i, gt, c, x);
|
|
1496
1284
|
else {
|
|
1497
|
-
var v = c ? c(Ur(r, O), B, O + "", r, o,
|
|
1285
|
+
var v = c ? c(Ur(r, O), B, O + "", r, o, x) : void 0;
|
|
1498
1286
|
v === void 0 && (v = B), ae(r, O, v);
|
|
1499
1287
|
}
|
|
1500
1288
|
}, St);
|
|
1501
1289
|
}
|
|
1502
|
-
function Nt(r, o, i, c,
|
|
1290
|
+
function Nt(r, o, i, c, x, B, O) {
|
|
1503
1291
|
var v = Ur(r, i), M = Ur(o, i), q = O.get(M);
|
|
1504
1292
|
if (q) {
|
|
1505
1293
|
ae(r, i, q);
|
|
@@ -1510,7 +1298,7 @@ _r.exports;
|
|
|
1510
1298
|
var Qr = Kr(M), et = !Qr && mt(M), kt = !Qr && !et && yt(M);
|
|
1511
1299
|
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
1300
|
}
|
|
1513
|
-
Le && (O.set(M, U),
|
|
1301
|
+
Le && (O.set(M, U), x(U, M, c, B, O), O.delete(M)), ae(r, i, U);
|
|
1514
1302
|
}
|
|
1515
1303
|
function Vt(r, o) {
|
|
1516
1304
|
return co(lo(r, o, xt), r + "");
|
|
@@ -1544,18 +1332,18 @@ _r.exports;
|
|
|
1544
1332
|
return o;
|
|
1545
1333
|
}
|
|
1546
1334
|
function Zt(r, o, i, c) {
|
|
1547
|
-
var
|
|
1335
|
+
var x = !i;
|
|
1548
1336
|
i || (i = {});
|
|
1549
1337
|
for (var B = -1, O = o.length; ++B < O; ) {
|
|
1550
1338
|
var v = o[B], M = c ? c(i[v], r[v], v, i, r) : void 0;
|
|
1551
|
-
M === void 0 && (M = r[v]),
|
|
1339
|
+
M === void 0 && (M = r[v]), x ? Vr(i, v, M) : br(i, v, M);
|
|
1552
1340
|
}
|
|
1553
1341
|
return i;
|
|
1554
1342
|
}
|
|
1555
1343
|
function Qt(r) {
|
|
1556
1344
|
return Vt(function(o, i) {
|
|
1557
|
-
var c = -1,
|
|
1558
|
-
for (B = r.length > 3 && typeof B == "function" ? (
|
|
1345
|
+
var c = -1, x = i.length, B = x > 1 ? i[x - 1] : void 0, O = x > 2 ? i[2] : void 0;
|
|
1346
|
+
for (B = r.length > 3 && typeof B == "function" ? (x--, B) : void 0, O && oo(i[0], i[1], O) && (B = x < 3 ? void 0 : B, x = 1), o = Object(o); ++c < x; ) {
|
|
1559
1347
|
var v = i[c];
|
|
1560
1348
|
v && r(o, v, c, B);
|
|
1561
1349
|
}
|
|
@@ -1564,8 +1352,8 @@ _r.exports;
|
|
|
1564
1352
|
}
|
|
1565
1353
|
function eo(r) {
|
|
1566
1354
|
return function(o, i, c) {
|
|
1567
|
-
for (var
|
|
1568
|
-
var M = O[r ? v : ++
|
|
1355
|
+
for (var x = -1, B = Object(o), O = c(o), v = O.length; v--; ) {
|
|
1356
|
+
var M = O[r ? v : ++x];
|
|
1569
1357
|
if (i(B[M], M, B) === !1)
|
|
1570
1358
|
break;
|
|
1571
1359
|
}
|
|
@@ -1587,15 +1375,15 @@ _r.exports;
|
|
|
1587
1375
|
var c = !0;
|
|
1588
1376
|
} catch {
|
|
1589
1377
|
}
|
|
1590
|
-
var
|
|
1591
|
-
return c && (o ? r[de] = i : delete r[de]),
|
|
1378
|
+
var x = Me.call(r);
|
|
1379
|
+
return c && (o ? r[de] = i : delete r[de]), x;
|
|
1592
1380
|
}
|
|
1593
1381
|
function to(r) {
|
|
1594
1382
|
return typeof r.constructor == "function" && !bt(r) ? Ae(dr(r)) : {};
|
|
1595
1383
|
}
|
|
1596
1384
|
function ht(r, o) {
|
|
1597
1385
|
var i = typeof r;
|
|
1598
|
-
return o = o ??
|
|
1386
|
+
return o = o ?? T, !!o && (i == "number" || i != "symbol" && tr.test(r)) && r > -1 && r % 1 == 0 && r < o;
|
|
1599
1387
|
}
|
|
1600
1388
|
function oo(r, o, i) {
|
|
1601
1389
|
if (!Se(i))
|
|
@@ -1625,12 +1413,12 @@ _r.exports;
|
|
|
1625
1413
|
return Me.call(r);
|
|
1626
1414
|
}
|
|
1627
1415
|
function lo(r, o, i) {
|
|
1628
|
-
return o =
|
|
1629
|
-
for (var c = arguments,
|
|
1630
|
-
O[
|
|
1631
|
-
|
|
1632
|
-
for (var v = Array(o + 1); ++
|
|
1633
|
-
v[
|
|
1416
|
+
return o = ze(o === void 0 ? r.length - 1 : o, 0), function() {
|
|
1417
|
+
for (var c = arguments, x = -1, B = ze(c.length - o, 0), O = Array(B); ++x < B; )
|
|
1418
|
+
O[x] = c[o + x];
|
|
1419
|
+
x = -1;
|
|
1420
|
+
for (var v = Array(o + 1); ++x < o; )
|
|
1421
|
+
v[x] = c[x];
|
|
1634
1422
|
return v[o] = i(O), Or(r, this, v);
|
|
1635
1423
|
};
|
|
1636
1424
|
}
|
|
@@ -1642,8 +1430,8 @@ _r.exports;
|
|
|
1642
1430
|
function uo(r) {
|
|
1643
1431
|
var o = 0, i = 0;
|
|
1644
1432
|
return function() {
|
|
1645
|
-
var c = ur(),
|
|
1646
|
-
if (i = c,
|
|
1433
|
+
var c = ur(), x = m - (c - i);
|
|
1434
|
+
if (i = c, x > 0) {
|
|
1647
1435
|
if (++o >= p)
|
|
1648
1436
|
return arguments[0];
|
|
1649
1437
|
} else
|
|
@@ -1686,7 +1474,7 @@ _r.exports;
|
|
|
1686
1474
|
return o == Y || o == V || o == z || o == xe;
|
|
1687
1475
|
}
|
|
1688
1476
|
function vt(r) {
|
|
1689
|
-
return typeof r == "number" && r > -1 && r % 1 == 0 && r <=
|
|
1477
|
+
return typeof r == "number" && r > -1 && r % 1 == 0 && r <= T;
|
|
1690
1478
|
}
|
|
1691
1479
|
function Se(r) {
|
|
1692
1480
|
var o = typeof r;
|
|
@@ -1727,23 +1515,23 @@ _r.exports;
|
|
|
1727
1515
|
}
|
|
1728
1516
|
e.exports = bo;
|
|
1729
1517
|
})(_r, _r.exports);
|
|
1730
|
-
var
|
|
1731
|
-
const
|
|
1732
|
-
var
|
|
1733
|
-
const u = String(a), p =
|
|
1734
|
-
let
|
|
1735
|
-
return
|
|
1518
|
+
var en = _r.exports;
|
|
1519
|
+
const rn = /* @__PURE__ */ Oo(en);
|
|
1520
|
+
var tn = (e) => /!(important)?$/.test(e), Tt = (e) => typeof e == "string" ? e.replace(/!(important)?$/, "").trim() : e, on = (e, a) => (s) => {
|
|
1521
|
+
const u = String(a), p = tn(u), m = Tt(u), T = e ? `${e}.${m}` : m;
|
|
1522
|
+
let w = Pt(s.__cssMap) && T in s.__cssMap ? s.__cssMap[T].varRef : a;
|
|
1523
|
+
return w = Tt(w), p ? `${w} !important` : w;
|
|
1736
1524
|
};
|
|
1737
1525
|
function ft(e) {
|
|
1738
1526
|
const { scale: a, transform: s, compose: u } = e;
|
|
1739
|
-
return (m,
|
|
1740
|
-
var
|
|
1741
|
-
const g =
|
|
1742
|
-
let z = (
|
|
1743
|
-
return u && (z = u(z,
|
|
1527
|
+
return (m, T) => {
|
|
1528
|
+
var w;
|
|
1529
|
+
const g = on(a, m)(T);
|
|
1530
|
+
let z = (w = s == null ? void 0 : s(g, T)) != null ? w : g;
|
|
1531
|
+
return u && (z = u(z, T)), z;
|
|
1744
1532
|
};
|
|
1745
1533
|
}
|
|
1746
|
-
var
|
|
1534
|
+
var xr = (...e) => (a) => e.reduce((s, u) => u(s), a);
|
|
1747
1535
|
function K(e, a) {
|
|
1748
1536
|
return (s) => {
|
|
1749
1537
|
const u = { property: s, scale: e };
|
|
@@ -1753,39 +1541,39 @@ function K(e, a) {
|
|
|
1753
1541
|
}), u;
|
|
1754
1542
|
};
|
|
1755
1543
|
}
|
|
1756
|
-
var
|
|
1757
|
-
function
|
|
1544
|
+
var nn = ({ rtl: e, ltr: a }) => (s) => s.direction === "rtl" ? e : a;
|
|
1545
|
+
function an(e) {
|
|
1758
1546
|
const { property: a, scale: s, transform: u } = e;
|
|
1759
1547
|
return {
|
|
1760
1548
|
scale: s,
|
|
1761
|
-
property:
|
|
1549
|
+
property: nn(a),
|
|
1762
1550
|
transform: s ? ft({
|
|
1763
1551
|
scale: s,
|
|
1764
1552
|
compose: u
|
|
1765
1553
|
}) : u
|
|
1766
1554
|
};
|
|
1767
1555
|
}
|
|
1768
|
-
var
|
|
1556
|
+
var $t = [
|
|
1769
1557
|
"rotate(var(--chakra-rotate, 0))",
|
|
1770
1558
|
"scaleX(var(--chakra-scale-x, 1))",
|
|
1771
1559
|
"scaleY(var(--chakra-scale-y, 1))",
|
|
1772
1560
|
"skewX(var(--chakra-skew-x, 0))",
|
|
1773
1561
|
"skewY(var(--chakra-skew-y, 0))"
|
|
1774
1562
|
];
|
|
1775
|
-
function
|
|
1563
|
+
function sn() {
|
|
1776
1564
|
return [
|
|
1777
1565
|
"translateX(var(--chakra-translate-x, 0))",
|
|
1778
1566
|
"translateY(var(--chakra-translate-y, 0))",
|
|
1779
|
-
|
|
1567
|
+
...$t
|
|
1780
1568
|
].join(" ");
|
|
1781
1569
|
}
|
|
1782
|
-
function
|
|
1570
|
+
function ln() {
|
|
1783
1571
|
return [
|
|
1784
1572
|
"translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",
|
|
1785
|
-
|
|
1573
|
+
...$t
|
|
1786
1574
|
].join(" ");
|
|
1787
1575
|
}
|
|
1788
|
-
var
|
|
1576
|
+
var dn = {
|
|
1789
1577
|
"--chakra-blur": "var(--chakra-empty,/*!*/ /*!*/)",
|
|
1790
1578
|
"--chakra-brightness": "var(--chakra-empty,/*!*/ /*!*/)",
|
|
1791
1579
|
"--chakra-contrast": "var(--chakra-empty,/*!*/ /*!*/)",
|
|
@@ -1806,7 +1594,7 @@ var gn = {
|
|
|
1806
1594
|
"var(--chakra-sepia)",
|
|
1807
1595
|
"var(--chakra-drop-shadow)"
|
|
1808
1596
|
].join(" ")
|
|
1809
|
-
},
|
|
1597
|
+
}, cn = {
|
|
1810
1598
|
backdropFilter: [
|
|
1811
1599
|
"var(--chakra-backdrop-blur)",
|
|
1812
1600
|
"var(--chakra-backdrop-brightness)",
|
|
@@ -1828,7 +1616,7 @@ var gn = {
|
|
|
1828
1616
|
"--chakra-backdrop-saturate": "var(--chakra-empty,/*!*/ /*!*/)",
|
|
1829
1617
|
"--chakra-backdrop-sepia": "var(--chakra-empty,/*!*/ /*!*/)"
|
|
1830
1618
|
};
|
|
1831
|
-
function
|
|
1619
|
+
function un(e) {
|
|
1832
1620
|
return {
|
|
1833
1621
|
"--chakra-ring-offset-shadow": "var(--chakra-ring-inset) 0 0 0 var(--chakra-ring-offset-width) var(--chakra-ring-offset-color)",
|
|
1834
1622
|
"--chakra-ring-shadow": "var(--chakra-ring-inset) 0 0 0 calc(var(--chakra-ring-width) + var(--chakra-ring-offset-width)) var(--chakra-ring-color)",
|
|
@@ -1840,7 +1628,7 @@ function bn(e) {
|
|
|
1840
1628
|
].join(", ")
|
|
1841
1629
|
};
|
|
1842
1630
|
}
|
|
1843
|
-
var
|
|
1631
|
+
var fn = {
|
|
1844
1632
|
"row-reverse": {
|
|
1845
1633
|
space: "--chakra-space-x-reverse",
|
|
1846
1634
|
divide: "--chakra-divide-x-reverse"
|
|
@@ -1858,29 +1646,29 @@ var mn = {
|
|
|
1858
1646
|
"to-bl": "to bottom left",
|
|
1859
1647
|
"to-l": "to left",
|
|
1860
1648
|
"to-tl": "to top left"
|
|
1861
|
-
},
|
|
1649
|
+
}, pn = new Set(Object.values(nt)), at = /* @__PURE__ */ new Set([
|
|
1862
1650
|
"none",
|
|
1863
1651
|
"-moz-initial",
|
|
1864
1652
|
"inherit",
|
|
1865
1653
|
"initial",
|
|
1866
1654
|
"revert",
|
|
1867
1655
|
"unset"
|
|
1868
|
-
]),
|
|
1869
|
-
function
|
|
1656
|
+
]), gn = (e) => e.trim();
|
|
1657
|
+
function hn(e, a) {
|
|
1870
1658
|
if (e == null || at.has(e))
|
|
1871
1659
|
return e;
|
|
1872
1660
|
if (!(it(e) || at.has(e)))
|
|
1873
1661
|
return `url('${e}')`;
|
|
1874
|
-
const p = /(^[a-z-A-Z]+)\((.*)\)/g.exec(e), m = p == null ? void 0 : p[1],
|
|
1875
|
-
if (!m || !
|
|
1662
|
+
const p = /(^[a-z-A-Z]+)\((.*)\)/g.exec(e), m = p == null ? void 0 : p[1], T = p == null ? void 0 : p[2];
|
|
1663
|
+
if (!m || !T)
|
|
1876
1664
|
return e;
|
|
1877
|
-
const
|
|
1665
|
+
const w = m.includes("-gradient") ? m : `${m}-gradient`, [g, ...z] = T.split(",").map(gn).filter(Boolean);
|
|
1878
1666
|
if ((z == null ? void 0 : z.length) === 0)
|
|
1879
1667
|
return e;
|
|
1880
|
-
const
|
|
1881
|
-
z.unshift(
|
|
1882
|
-
const
|
|
1883
|
-
if (
|
|
1668
|
+
const _ = g in nt ? nt[g] : g;
|
|
1669
|
+
z.unshift(_);
|
|
1670
|
+
const y = z.map((D) => {
|
|
1671
|
+
if (pn.has(D))
|
|
1884
1672
|
return D;
|
|
1885
1673
|
const Y = D.indexOf(" "), [V, re] = Y !== -1 ? [D.substr(0, Y), D.substr(Y + 1)] : [D], te = it(re) ? re : re && re.split(" "), X = `colors.${V}`, $ = X in a.__cssMap ? a.__cssMap[X].varRef : V;
|
|
1886
1674
|
return te ? [
|
|
@@ -1888,30 +1676,30 @@ function Sn(e, a) {
|
|
|
1888
1676
|
...Array.isArray(te) ? te : [te]
|
|
1889
1677
|
].join(" ") : $;
|
|
1890
1678
|
});
|
|
1891
|
-
return `${
|
|
1679
|
+
return `${w}(${y.join(", ")})`;
|
|
1892
1680
|
}
|
|
1893
|
-
var it = (e) => typeof e == "string" && e.includes("(") && e.includes(")"),
|
|
1894
|
-
function
|
|
1681
|
+
var it = (e) => typeof e == "string" && e.includes("(") && e.includes(")"), bn = (e, a) => hn(e, a ?? {});
|
|
1682
|
+
function mn(e) {
|
|
1895
1683
|
return /^var\(--.+\)$/.test(e);
|
|
1896
1684
|
}
|
|
1897
|
-
var
|
|
1685
|
+
var vn = (e) => {
|
|
1898
1686
|
const a = parseFloat(e.toString()), s = e.toString().replace(String(a), "");
|
|
1899
1687
|
return { unitless: !s, value: a, unit: s };
|
|
1900
|
-
}, ie = (e) => (a) => `${e}(${a})`,
|
|
1688
|
+
}, ie = (e) => (a) => `${e}(${a})`, C = {
|
|
1901
1689
|
filter(e) {
|
|
1902
|
-
return e !== "auto" ? e :
|
|
1690
|
+
return e !== "auto" ? e : dn;
|
|
1903
1691
|
},
|
|
1904
1692
|
backdropFilter(e) {
|
|
1905
|
-
return e !== "auto" ? e :
|
|
1693
|
+
return e !== "auto" ? e : cn;
|
|
1906
1694
|
},
|
|
1907
1695
|
ring(e) {
|
|
1908
|
-
return
|
|
1696
|
+
return un(C.px(e));
|
|
1909
1697
|
},
|
|
1910
1698
|
bgClip(e) {
|
|
1911
1699
|
return e === "text" ? { color: "transparent", backgroundClip: "text" } : { backgroundClip: e };
|
|
1912
1700
|
},
|
|
1913
1701
|
transform(e) {
|
|
1914
|
-
return e === "auto" ?
|
|
1702
|
+
return e === "auto" ? sn() : e === "auto-gpu" ? ln() : e;
|
|
1915
1703
|
},
|
|
1916
1704
|
vh(e) {
|
|
1917
1705
|
return e === "$100vh" ? "var(--chakra-vh)" : e;
|
|
@@ -1919,7 +1707,7 @@ var wn = (e) => {
|
|
|
1919
1707
|
px(e) {
|
|
1920
1708
|
if (e == null)
|
|
1921
1709
|
return e;
|
|
1922
|
-
const { unitless: a } =
|
|
1710
|
+
const { unitless: a } = vn(e);
|
|
1923
1711
|
return a || typeof e == "number" ? `${e}px` : e;
|
|
1924
1712
|
},
|
|
1925
1713
|
fraction(e) {
|
|
@@ -1930,12 +1718,12 @@ var wn = (e) => {
|
|
|
1930
1718
|
return a.direction === "rtl" ? s[e] : e;
|
|
1931
1719
|
},
|
|
1932
1720
|
degree(e) {
|
|
1933
|
-
if (
|
|
1721
|
+
if (mn(e) || e == null)
|
|
1934
1722
|
return e;
|
|
1935
1723
|
const a = typeof e == "string" && !e.endsWith("deg");
|
|
1936
1724
|
return typeof e == "number" || a ? `${e}deg` : e;
|
|
1937
1725
|
},
|
|
1938
|
-
gradient:
|
|
1726
|
+
gradient: bn,
|
|
1939
1727
|
blur: ie("blur"),
|
|
1940
1728
|
opacity: ie("opacity"),
|
|
1941
1729
|
brightness: ie("brightness"),
|
|
@@ -1955,7 +1743,7 @@ var wn = (e) => {
|
|
|
1955
1743
|
},
|
|
1956
1744
|
flexDirection(e) {
|
|
1957
1745
|
var a;
|
|
1958
|
-
const { space: s, divide: u } = (a =
|
|
1746
|
+
const { space: s, divide: u } = (a = fn[e]) != null ? a : {}, p = { flexDirection: e };
|
|
1959
1747
|
return s && (p[s] = 1), u && (p[u] = 1), p;
|
|
1960
1748
|
}
|
|
1961
1749
|
}, n = {
|
|
@@ -1963,12 +1751,12 @@ var wn = (e) => {
|
|
|
1963
1751
|
borderStyles: K("borderStyles"),
|
|
1964
1752
|
colors: K("colors"),
|
|
1965
1753
|
borders: K("borders"),
|
|
1966
|
-
gradients: K("gradients",
|
|
1967
|
-
radii: K("radii",
|
|
1968
|
-
space: K("space",
|
|
1969
|
-
spaceT: K("space",
|
|
1754
|
+
gradients: K("gradients", C.gradient),
|
|
1755
|
+
radii: K("radii", C.px),
|
|
1756
|
+
space: K("space", xr(C.vh, C.px)),
|
|
1757
|
+
spaceT: K("space", xr(C.vh, C.px)),
|
|
1970
1758
|
degreeT(e) {
|
|
1971
|
-
return { property: e, transform:
|
|
1759
|
+
return { property: e, transform: C.degree };
|
|
1972
1760
|
},
|
|
1973
1761
|
prop(e, a, s) {
|
|
1974
1762
|
return {
|
|
@@ -1982,11 +1770,11 @@ var wn = (e) => {
|
|
|
1982
1770
|
propT(e, a) {
|
|
1983
1771
|
return { property: e, transform: a };
|
|
1984
1772
|
},
|
|
1985
|
-
sizes: K("sizes",
|
|
1986
|
-
sizesT: K("sizes",
|
|
1773
|
+
sizes: K("sizes", xr(C.vh, C.px)),
|
|
1774
|
+
sizesT: K("sizes", xr(C.vh, C.fraction)),
|
|
1987
1775
|
shadows: K("shadows"),
|
|
1988
|
-
logical:
|
|
1989
|
-
blur: K("blur",
|
|
1776
|
+
logical: an,
|
|
1777
|
+
blur: K("blur", C.blur)
|
|
1990
1778
|
}, wr = {
|
|
1991
1779
|
background: n.colors("background"),
|
|
1992
1780
|
backgroundColor: n.colors("backgroundColor"),
|
|
@@ -1995,7 +1783,7 @@ var wn = (e) => {
|
|
|
1995
1783
|
backgroundPosition: !0,
|
|
1996
1784
|
backgroundRepeat: !0,
|
|
1997
1785
|
backgroundAttachment: !0,
|
|
1998
|
-
backgroundClip: { transform:
|
|
1786
|
+
backgroundClip: { transform: C.bgClip },
|
|
1999
1787
|
bgSize: n.prop("backgroundSize"),
|
|
2000
1788
|
bgPosition: n.prop("backgroundPosition"),
|
|
2001
1789
|
bg: n.colors("background"),
|
|
@@ -2004,13 +1792,13 @@ var wn = (e) => {
|
|
|
2004
1792
|
bgRepeat: n.prop("backgroundRepeat"),
|
|
2005
1793
|
bgAttachment: n.prop("backgroundAttachment"),
|
|
2006
1794
|
bgGradient: n.gradients("backgroundImage"),
|
|
2007
|
-
bgClip: { transform:
|
|
1795
|
+
bgClip: { transform: C.bgClip }
|
|
2008
1796
|
};
|
|
2009
1797
|
Object.assign(wr, {
|
|
2010
1798
|
bgImage: wr.backgroundImage,
|
|
2011
1799
|
bgImg: wr.backgroundImage
|
|
2012
1800
|
});
|
|
2013
|
-
var
|
|
1801
|
+
var R = {
|
|
2014
1802
|
border: n.borders("border"),
|
|
2015
1803
|
borderWidth: n.borderWidths("borderWidth"),
|
|
2016
1804
|
borderStyle: n.borderStyles("borderStyle"),
|
|
@@ -2112,38 +1900,38 @@ var T = {
|
|
|
2112
1900
|
"borderBottomRightRadius"
|
|
2113
1901
|
])
|
|
2114
1902
|
};
|
|
2115
|
-
Object.assign(
|
|
2116
|
-
rounded:
|
|
2117
|
-
roundedTop:
|
|
2118
|
-
roundedTopLeft:
|
|
2119
|
-
roundedTopRight:
|
|
2120
|
-
roundedTopStart:
|
|
2121
|
-
roundedTopEnd:
|
|
2122
|
-
roundedBottom:
|
|
2123
|
-
roundedBottomLeft:
|
|
2124
|
-
roundedBottomRight:
|
|
2125
|
-
roundedBottomStart:
|
|
2126
|
-
roundedBottomEnd:
|
|
2127
|
-
roundedLeft:
|
|
2128
|
-
roundedRight:
|
|
2129
|
-
roundedStart:
|
|
2130
|
-
roundedEnd:
|
|
2131
|
-
borderStart:
|
|
2132
|
-
borderEnd:
|
|
2133
|
-
borderTopStartRadius:
|
|
2134
|
-
borderTopEndRadius:
|
|
2135
|
-
borderBottomStartRadius:
|
|
2136
|
-
borderBottomEndRadius:
|
|
2137
|
-
borderStartRadius:
|
|
2138
|
-
borderEndRadius:
|
|
2139
|
-
borderStartWidth:
|
|
2140
|
-
borderEndWidth:
|
|
2141
|
-
borderStartColor:
|
|
2142
|
-
borderEndColor:
|
|
2143
|
-
borderStartStyle:
|
|
2144
|
-
borderEndStyle:
|
|
1903
|
+
Object.assign(R, {
|
|
1904
|
+
rounded: R.borderRadius,
|
|
1905
|
+
roundedTop: R.borderTopRadius,
|
|
1906
|
+
roundedTopLeft: R.borderTopLeftRadius,
|
|
1907
|
+
roundedTopRight: R.borderTopRightRadius,
|
|
1908
|
+
roundedTopStart: R.borderStartStartRadius,
|
|
1909
|
+
roundedTopEnd: R.borderStartEndRadius,
|
|
1910
|
+
roundedBottom: R.borderBottomRadius,
|
|
1911
|
+
roundedBottomLeft: R.borderBottomLeftRadius,
|
|
1912
|
+
roundedBottomRight: R.borderBottomRightRadius,
|
|
1913
|
+
roundedBottomStart: R.borderEndStartRadius,
|
|
1914
|
+
roundedBottomEnd: R.borderEndEndRadius,
|
|
1915
|
+
roundedLeft: R.borderLeftRadius,
|
|
1916
|
+
roundedRight: R.borderRightRadius,
|
|
1917
|
+
roundedStart: R.borderInlineStartRadius,
|
|
1918
|
+
roundedEnd: R.borderInlineEndRadius,
|
|
1919
|
+
borderStart: R.borderInlineStart,
|
|
1920
|
+
borderEnd: R.borderInlineEnd,
|
|
1921
|
+
borderTopStartRadius: R.borderStartStartRadius,
|
|
1922
|
+
borderTopEndRadius: R.borderStartEndRadius,
|
|
1923
|
+
borderBottomStartRadius: R.borderEndStartRadius,
|
|
1924
|
+
borderBottomEndRadius: R.borderEndEndRadius,
|
|
1925
|
+
borderStartRadius: R.borderInlineStartRadius,
|
|
1926
|
+
borderEndRadius: R.borderInlineEndRadius,
|
|
1927
|
+
borderStartWidth: R.borderInlineStartWidth,
|
|
1928
|
+
borderEndWidth: R.borderInlineEndWidth,
|
|
1929
|
+
borderStartColor: R.borderInlineStartColor,
|
|
1930
|
+
borderEndColor: R.borderInlineEndColor,
|
|
1931
|
+
borderStartStyle: R.borderInlineStartStyle,
|
|
1932
|
+
borderEndStyle: R.borderInlineEndStyle
|
|
2145
1933
|
});
|
|
2146
|
-
var
|
|
1934
|
+
var yn = {
|
|
2147
1935
|
color: n.colors("color"),
|
|
2148
1936
|
textColor: n.colors("color"),
|
|
2149
1937
|
fill: n.colors("fill"),
|
|
@@ -2159,32 +1947,32 @@ var _n = {
|
|
|
2159
1947
|
Object.assign(st, {
|
|
2160
1948
|
shadow: st.boxShadow
|
|
2161
1949
|
});
|
|
2162
|
-
var
|
|
2163
|
-
filter: { transform:
|
|
1950
|
+
var Sn = {
|
|
1951
|
+
filter: { transform: C.filter },
|
|
2164
1952
|
blur: n.blur("--chakra-blur"),
|
|
2165
|
-
brightness: n.propT("--chakra-brightness",
|
|
2166
|
-
contrast: n.propT("--chakra-contrast",
|
|
1953
|
+
brightness: n.propT("--chakra-brightness", C.brightness),
|
|
1954
|
+
contrast: n.propT("--chakra-contrast", C.contrast),
|
|
2167
1955
|
hueRotate: n.degreeT("--chakra-hue-rotate"),
|
|
2168
|
-
invert: n.propT("--chakra-invert",
|
|
2169
|
-
saturate: n.propT("--chakra-saturate",
|
|
2170
|
-
dropShadow: n.propT("--chakra-drop-shadow",
|
|
2171
|
-
backdropFilter: { transform:
|
|
1956
|
+
invert: n.propT("--chakra-invert", C.invert),
|
|
1957
|
+
saturate: n.propT("--chakra-saturate", C.saturate),
|
|
1958
|
+
dropShadow: n.propT("--chakra-drop-shadow", C.dropShadow),
|
|
1959
|
+
backdropFilter: { transform: C.backdropFilter },
|
|
2172
1960
|
backdropBlur: n.blur("--chakra-backdrop-blur"),
|
|
2173
1961
|
backdropBrightness: n.propT(
|
|
2174
1962
|
"--chakra-backdrop-brightness",
|
|
2175
|
-
|
|
1963
|
+
C.brightness
|
|
2176
1964
|
),
|
|
2177
|
-
backdropContrast: n.propT("--chakra-backdrop-contrast",
|
|
1965
|
+
backdropContrast: n.propT("--chakra-backdrop-contrast", C.contrast),
|
|
2178
1966
|
backdropHueRotate: n.degreeT("--chakra-backdrop-hue-rotate"),
|
|
2179
|
-
backdropInvert: n.propT("--chakra-backdrop-invert",
|
|
2180
|
-
backdropSaturate: n.propT("--chakra-backdrop-saturate",
|
|
1967
|
+
backdropInvert: n.propT("--chakra-backdrop-invert", C.invert),
|
|
1968
|
+
backdropSaturate: n.propT("--chakra-backdrop-saturate", C.saturate)
|
|
2181
1969
|
}, Cr = {
|
|
2182
1970
|
alignItems: !0,
|
|
2183
1971
|
alignContent: !0,
|
|
2184
1972
|
justifyItems: !0,
|
|
2185
1973
|
justifyContent: !0,
|
|
2186
1974
|
flexWrap: !0,
|
|
2187
|
-
flexDirection: { transform:
|
|
1975
|
+
flexDirection: { transform: C.flexDirection },
|
|
2188
1976
|
flex: !0,
|
|
2189
1977
|
flexFlow: !0,
|
|
2190
1978
|
flexGrow: !0,
|
|
@@ -2203,7 +1991,7 @@ var Cn = {
|
|
|
2203
1991
|
Object.assign(Cr, {
|
|
2204
1992
|
flexDir: Cr.flexDirection
|
|
2205
1993
|
});
|
|
2206
|
-
var
|
|
1994
|
+
var Ot = {
|
|
2207
1995
|
gridGap: n.space("gridGap"),
|
|
2208
1996
|
gridColumnGap: n.space("gridColumnGap"),
|
|
2209
1997
|
gridRowGap: n.space("gridRowGap"),
|
|
@@ -2221,13 +2009,13 @@ var Mt = {
|
|
|
2221
2009
|
gridTemplateRows: !0,
|
|
2222
2010
|
gridTemplateAreas: !0,
|
|
2223
2011
|
gridArea: !0
|
|
2224
|
-
},
|
|
2012
|
+
}, xn = {
|
|
2225
2013
|
appearance: !0,
|
|
2226
2014
|
cursor: !0,
|
|
2227
2015
|
resize: !0,
|
|
2228
2016
|
userSelect: !0,
|
|
2229
2017
|
pointerEvents: !0,
|
|
2230
|
-
outline: { transform:
|
|
2018
|
+
outline: { transform: C.outline },
|
|
2231
2019
|
outlineOffset: !0,
|
|
2232
2020
|
outlineColor: n.colors("outlineColor")
|
|
2233
2021
|
}, J = {
|
|
@@ -2269,7 +2057,7 @@ var Mt = {
|
|
|
2269
2057
|
verticalAlign: !0,
|
|
2270
2058
|
boxSizing: !0,
|
|
2271
2059
|
boxDecorationBreak: !0,
|
|
2272
|
-
float: n.propT("float",
|
|
2060
|
+
float: n.propT("float", C.float),
|
|
2273
2061
|
objectFit: !0,
|
|
2274
2062
|
objectPosition: !0,
|
|
2275
2063
|
visibility: !0,
|
|
@@ -2286,32 +2074,32 @@ Object.assign(J, {
|
|
|
2286
2074
|
overscrollX: J.overscrollBehaviorX,
|
|
2287
2075
|
overscrollY: J.overscrollBehaviorY
|
|
2288
2076
|
});
|
|
2289
|
-
var
|
|
2077
|
+
var kn = {
|
|
2290
2078
|
listStyleType: !0,
|
|
2291
2079
|
listStylePosition: !0,
|
|
2292
2080
|
listStylePos: n.prop("listStylePosition"),
|
|
2293
2081
|
listStyleImage: !0,
|
|
2294
2082
|
listStyleImg: n.prop("listStyleImage")
|
|
2295
2083
|
};
|
|
2296
|
-
function
|
|
2084
|
+
function wn(e, a, s, u) {
|
|
2297
2085
|
const p = typeof a == "string" ? a.split(".") : [a];
|
|
2298
2086
|
for (u = 0; u < p.length && e; u += 1)
|
|
2299
2087
|
e = e[p[u]];
|
|
2300
2088
|
return e === void 0 ? s : e;
|
|
2301
2089
|
}
|
|
2302
|
-
var
|
|
2090
|
+
var _n = (e) => {
|
|
2303
2091
|
const a = /* @__PURE__ */ new WeakMap();
|
|
2304
|
-
return (u, p, m,
|
|
2092
|
+
return (u, p, m, T) => {
|
|
2305
2093
|
if (typeof u > "u")
|
|
2306
2094
|
return e(u, p, m);
|
|
2307
2095
|
a.has(u) || a.set(u, /* @__PURE__ */ new Map());
|
|
2308
|
-
const
|
|
2309
|
-
if (
|
|
2310
|
-
return
|
|
2311
|
-
const g = e(u, p, m,
|
|
2312
|
-
return
|
|
2096
|
+
const w = a.get(u);
|
|
2097
|
+
if (w.has(p))
|
|
2098
|
+
return w.get(p);
|
|
2099
|
+
const g = e(u, p, m, T);
|
|
2100
|
+
return w.set(p, g), g;
|
|
2313
2101
|
};
|
|
2314
|
-
},
|
|
2102
|
+
}, Cn = _n(wn), Tn = {
|
|
2315
2103
|
border: "0px",
|
|
2316
2104
|
clip: "rect(0, 0, 0, 0)",
|
|
2317
2105
|
width: "1px",
|
|
@@ -2321,7 +2109,7 @@ var In = (e) => {
|
|
|
2321
2109
|
overflow: "hidden",
|
|
2322
2110
|
whiteSpace: "nowrap",
|
|
2323
2111
|
position: "absolute"
|
|
2324
|
-
},
|
|
2112
|
+
}, Rn = {
|
|
2325
2113
|
position: "static",
|
|
2326
2114
|
width: "auto",
|
|
2327
2115
|
height: "auto",
|
|
@@ -2330,28 +2118,28 @@ var In = (e) => {
|
|
|
2330
2118
|
margin: "0",
|
|
2331
2119
|
overflow: "visible",
|
|
2332
2120
|
whiteSpace: "normal"
|
|
2333
|
-
},
|
|
2334
|
-
const u = {}, p =
|
|
2121
|
+
}, rt = (e, a, s) => {
|
|
2122
|
+
const u = {}, p = Cn(e, a, {});
|
|
2335
2123
|
for (const m in p)
|
|
2336
2124
|
m in s && s[m] != null || (u[m] = p[m]);
|
|
2337
2125
|
return u;
|
|
2338
|
-
},
|
|
2126
|
+
}, En = {
|
|
2339
2127
|
srOnly: {
|
|
2340
2128
|
transform(e) {
|
|
2341
|
-
return e === !0 ?
|
|
2129
|
+
return e === !0 ? Tn : e === "focusable" ? Rn : {};
|
|
2342
2130
|
}
|
|
2343
2131
|
},
|
|
2344
2132
|
layerStyle: {
|
|
2345
2133
|
processResult: !0,
|
|
2346
|
-
transform: (e, a, s) =>
|
|
2134
|
+
transform: (e, a, s) => rt(a, `layerStyles.${e}`, s)
|
|
2347
2135
|
},
|
|
2348
2136
|
textStyle: {
|
|
2349
2137
|
processResult: !0,
|
|
2350
|
-
transform: (e, a, s) =>
|
|
2138
|
+
transform: (e, a, s) => rt(a, `textStyles.${e}`, s)
|
|
2351
2139
|
},
|
|
2352
2140
|
apply: {
|
|
2353
2141
|
processResult: !0,
|
|
2354
|
-
transform: (e, a, s) =>
|
|
2142
|
+
transform: (e, a, s) => rt(a, e, s)
|
|
2355
2143
|
}
|
|
2356
2144
|
}, Ve = {
|
|
2357
2145
|
position: !0,
|
|
@@ -2381,8 +2169,8 @@ Object.assign(Ve, {
|
|
|
2381
2169
|
insetStart: Ve.insetInlineStart,
|
|
2382
2170
|
insetEnd: Ve.insetInlineEnd
|
|
2383
2171
|
});
|
|
2384
|
-
var
|
|
2385
|
-
ring: { transform:
|
|
2172
|
+
var In = {
|
|
2173
|
+
ring: { transform: C.ring },
|
|
2386
2174
|
ringColor: n.colors("--chakra-ring-color"),
|
|
2387
2175
|
ringOffset: n.prop("--chakra-ring-offset-width"),
|
|
2388
2176
|
ringOffsetColor: n.colors("--chakra-ring-offset-color"),
|
|
@@ -2439,7 +2227,7 @@ Object.assign(P, {
|
|
|
2439
2227
|
pe: P.paddingInlineEnd,
|
|
2440
2228
|
paddingEnd: P.paddingInlineEnd
|
|
2441
2229
|
});
|
|
2442
|
-
var
|
|
2230
|
+
var Fn = {
|
|
2443
2231
|
textDecorationColor: n.colors("textDecorationColor"),
|
|
2444
2232
|
textDecoration: !0,
|
|
2445
2233
|
textDecor: { property: "textDecoration" },
|
|
@@ -2448,9 +2236,9 @@ var On = {
|
|
|
2448
2236
|
textDecorationThickness: !0,
|
|
2449
2237
|
textUnderlineOffset: !0,
|
|
2450
2238
|
textShadow: n.shadows("textShadow")
|
|
2451
|
-
},
|
|
2239
|
+
}, Bn = {
|
|
2452
2240
|
clipPath: !0,
|
|
2453
|
-
transform: n.propT("transform",
|
|
2241
|
+
transform: n.propT("transform", C.transform),
|
|
2454
2242
|
transformOrigin: !0,
|
|
2455
2243
|
translateX: n.spaceT("--chakra-translate-x"),
|
|
2456
2244
|
translateY: n.spaceT("--chakra-translate-y"),
|
|
@@ -2460,7 +2248,7 @@ var On = {
|
|
|
2460
2248
|
scaleY: n.prop("--chakra-scale-y"),
|
|
2461
2249
|
scale: n.prop(["--chakra-scale-x", "--chakra-scale-y"]),
|
|
2462
2250
|
rotate: n.degreeT("--chakra-rotate")
|
|
2463
|
-
},
|
|
2251
|
+
}, zn = {
|
|
2464
2252
|
transition: !0,
|
|
2465
2253
|
transitionDelay: !0,
|
|
2466
2254
|
animation: !0,
|
|
@@ -2471,9 +2259,9 @@ var On = {
|
|
|
2471
2259
|
"transitionTimingFunction",
|
|
2472
2260
|
"transition.easing"
|
|
2473
2261
|
)
|
|
2474
|
-
},
|
|
2262
|
+
}, Pn = {
|
|
2475
2263
|
fontFamily: n.prop("fontFamily", "fonts"),
|
|
2476
|
-
fontSize: n.prop("fontSize", "fontSizes",
|
|
2264
|
+
fontSize: n.prop("fontSize", "fontSizes", C.px),
|
|
2477
2265
|
fontWeight: n.prop("fontWeight", "fontWeights"),
|
|
2478
2266
|
lineHeight: n.prop("lineHeight", "lineHeights"),
|
|
2479
2267
|
letterSpacing: n.prop("letterSpacing", "letterSpacings"),
|
|
@@ -2505,7 +2293,7 @@ var On = {
|
|
|
2505
2293
|
},
|
|
2506
2294
|
property: "--chakra-line-clamp"
|
|
2507
2295
|
}
|
|
2508
|
-
},
|
|
2296
|
+
}, $n = {
|
|
2509
2297
|
scrollBehavior: !0,
|
|
2510
2298
|
scrollSnapAlign: !0,
|
|
2511
2299
|
scrollSnapStop: !0,
|
|
@@ -2525,11 +2313,11 @@ var On = {
|
|
|
2525
2313
|
scrollPaddingX: n.spaceT(["scrollPaddingLeft", "scrollPaddingRight"]),
|
|
2526
2314
|
scrollPaddingY: n.spaceT(["scrollPaddingTop", "scrollPaddingBottom"])
|
|
2527
2315
|
};
|
|
2528
|
-
function
|
|
2529
|
-
return
|
|
2316
|
+
function Mt(e) {
|
|
2317
|
+
return Pt(e) && e.reference ? e.reference : String(e);
|
|
2530
2318
|
}
|
|
2531
|
-
var Rr = (e, ...a) => a.map(
|
|
2532
|
-
const a =
|
|
2319
|
+
var Rr = (e, ...a) => a.map(Mt).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) => {
|
|
2320
|
+
const a = Mt(e);
|
|
2533
2321
|
return a != null && !Number.isNaN(parseFloat(a)) ? String(a).startsWith("-") ? String(a).slice(1) : `-${a}` : lt(a, -1);
|
|
2534
2322
|
}, He = Object.assign(
|
|
2535
2323
|
(e) => ({
|
|
@@ -2560,7 +2348,7 @@ var Rr = (e, ...a) => a.map(Dt).join(` ${e} `).replace(/calc/g, ""), Rt = (...e)
|
|
|
2560
2348
|
readOnly: (e, a) => `${e}:read-only ${a}, ${e}[readonly] ${a}, ${e}[data-read-only] ${a}`,
|
|
2561
2349
|
expanded: (e, a) => `${e}:read-only ${a}, ${e}[aria-expanded=true] ${a}, ${e}[data-expanded] ${a}`,
|
|
2562
2350
|
placeholderShown: (e, a) => `${e}:placeholder-shown ${a}`
|
|
2563
|
-
}, be = (e) =>
|
|
2351
|
+
}, be = (e) => Dt((a) => e(a, "&"), "[role=group]", "[data-group]", ".group"), fe = (e) => Dt((a) => e(a, "~ &"), "[data-peer]", ".peer"), Dt = (e, ...a) => a.map(e).join(", "), jt = {
|
|
2564
2352
|
_hover: "&:hover, &[data-hover]",
|
|
2565
2353
|
_active: "&:active, &[data-active]",
|
|
2566
2354
|
_focus: "&:focus, &[data-focus]",
|
|
@@ -2622,34 +2410,34 @@ var Rr = (e, ...a) => a.map(Dt).join(` ${e} `).replace(/calc/g, ""), Rt = (...e)
|
|
|
2622
2410
|
_light: ".chakra-ui-light &:not([data-theme]),[data-theme=light] &:not([data-theme]),&[data-theme=light]",
|
|
2623
2411
|
_horizontal: "&[data-orientation=horizontal]",
|
|
2624
2412
|
_vertical: "&[data-orientation=vertical]"
|
|
2625
|
-
},
|
|
2626
|
-
|
|
2627
|
-
),
|
|
2413
|
+
}, On = Object.keys(
|
|
2414
|
+
jt
|
|
2415
|
+
), At = rn(
|
|
2628
2416
|
{},
|
|
2629
2417
|
wr,
|
|
2630
|
-
|
|
2631
|
-
|
|
2418
|
+
R,
|
|
2419
|
+
yn,
|
|
2632
2420
|
Cr,
|
|
2633
2421
|
J,
|
|
2634
|
-
|
|
2635
|
-
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2422
|
+
Sn,
|
|
2423
|
+
In,
|
|
2424
|
+
xn,
|
|
2425
|
+
Ot,
|
|
2426
|
+
En,
|
|
2639
2427
|
Ve,
|
|
2640
2428
|
st,
|
|
2641
2429
|
P,
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
|
|
2430
|
+
$n,
|
|
2431
|
+
Pn,
|
|
2432
|
+
Fn,
|
|
2433
|
+
Bn,
|
|
2434
|
+
kn,
|
|
2435
|
+
zn
|
|
2648
2436
|
);
|
|
2649
|
-
Object.assign({}, P, J, Cr,
|
|
2650
|
-
[...Object.keys(
|
|
2651
|
-
({ ...
|
|
2652
|
-
function
|
|
2437
|
+
Object.assign({}, P, J, Cr, Ot, Ve);
|
|
2438
|
+
[...Object.keys(At), ...On];
|
|
2439
|
+
({ ...At, ...jt });
|
|
2440
|
+
function Pe(e) {
|
|
2653
2441
|
return {
|
|
2654
2442
|
definePartsStyle(a) {
|
|
2655
2443
|
return a;
|
|
@@ -2659,15 +2447,15 @@ function ze(e) {
|
|
|
2659
2447
|
}
|
|
2660
2448
|
};
|
|
2661
2449
|
}
|
|
2662
|
-
const { defineMultiStyleConfig:
|
|
2450
|
+
const { defineMultiStyleConfig: Mn, definePartsStyle: Dn } = Pe(Vo.keys), Bt = {
|
|
2663
2451
|
transform: ["scale(0.85) translateY(-8px) ", "scale(0.85) translateY(-12px)"],
|
|
2664
2452
|
fontSize: "11px",
|
|
2665
2453
|
color: "viridian.base",
|
|
2666
2454
|
_invalid: {
|
|
2667
2455
|
color: "utility.warning"
|
|
2668
2456
|
}
|
|
2669
|
-
},
|
|
2670
|
-
baseStyle:
|
|
2457
|
+
}, jn = Mn({
|
|
2458
|
+
baseStyle: Dn({
|
|
2671
2459
|
container: {
|
|
2672
2460
|
width: "100%",
|
|
2673
2461
|
position: "relative",
|
|
@@ -2716,8 +2504,8 @@ const { defineMultiStyleConfig: Ln, definePartsStyle: Gn } = ze(Jo.keys), Bt = {
|
|
|
2716
2504
|
}
|
|
2717
2505
|
},
|
|
2718
2506
|
defaultProps: {}
|
|
2719
|
-
}), { defineMultiStyleConfig:
|
|
2720
|
-
baseStyle:
|
|
2507
|
+
}), { defineMultiStyleConfig: An, definePartsStyle: Wn } = Pe(Xo.keys), Ln = An({
|
|
2508
|
+
baseStyle: Wn({
|
|
2721
2509
|
text: {
|
|
2722
2510
|
color: "utility.warning",
|
|
2723
2511
|
fontSize: ["sm", "md"]
|
|
@@ -2729,7 +2517,7 @@ const { defineMultiStyleConfig: Ln, definePartsStyle: Gn } = ze(Jo.keys), Bt = {
|
|
|
2729
2517
|
mr: 1
|
|
2730
2518
|
}
|
|
2731
2519
|
})
|
|
2732
|
-
}),
|
|
2520
|
+
}), Gn = {
|
|
2733
2521
|
fontSize: ["sm", "md"],
|
|
2734
2522
|
color: "tints.black",
|
|
2735
2523
|
transitionProperty: "common",
|
|
@@ -2738,9 +2526,9 @@ const { defineMultiStyleConfig: Ln, definePartsStyle: Gn } = ze(Jo.keys), Bt = {
|
|
|
2738
2526
|
_disabled: {
|
|
2739
2527
|
opacity: 0.4
|
|
2740
2528
|
}
|
|
2741
|
-
},
|
|
2742
|
-
baseStyle:
|
|
2743
|
-
},
|
|
2529
|
+
}, Yn = {
|
|
2530
|
+
baseStyle: Gn
|
|
2531
|
+
}, Hn = Pe(["addon", "field", "element"]), Nn = Hn.defineMultiStyleConfig({
|
|
2744
2532
|
baseStyle: {
|
|
2745
2533
|
field: {
|
|
2746
2534
|
fontWeight: "medium",
|
|
@@ -2779,14 +2567,14 @@ const { defineMultiStyleConfig: Ln, definePartsStyle: Gn } = ze(Jo.keys), Bt = {
|
|
|
2779
2567
|
sizes: {},
|
|
2780
2568
|
variants: {},
|
|
2781
2569
|
defaultProps: {}
|
|
2782
|
-
}),
|
|
2570
|
+
}), Vn = Pe([
|
|
2783
2571
|
"button",
|
|
2784
2572
|
"list",
|
|
2785
2573
|
"item",
|
|
2786
2574
|
"groupTitle",
|
|
2787
2575
|
"command",
|
|
2788
2576
|
"divider"
|
|
2789
|
-
]),
|
|
2577
|
+
]), Xn = Vn.defineMultiStyleConfig({
|
|
2790
2578
|
baseStyle: {
|
|
2791
2579
|
button: {},
|
|
2792
2580
|
list: {
|
|
@@ -2879,7 +2667,7 @@ const { defineMultiStyleConfig: Ln, definePartsStyle: Gn } = ze(Jo.keys), Bt = {
|
|
|
2879
2667
|
defaultProps: {
|
|
2880
2668
|
size: "md"
|
|
2881
2669
|
}
|
|
2882
|
-
}), { definePartsStyle:
|
|
2670
|
+
}), { definePartsStyle: Un, defineMultiStyleConfig: qn } = Tr(Uo.keys), Kn = Un({
|
|
2883
2671
|
field: {
|
|
2884
2672
|
background: "tints.white",
|
|
2885
2673
|
borderColor: "tints.uiGrey",
|
|
@@ -2913,7 +2701,7 @@ const { defineMultiStyleConfig: Ln, definePartsStyle: Gn } = ze(Jo.keys), Bt = {
|
|
|
2913
2701
|
color: "tints.medGrey"
|
|
2914
2702
|
}
|
|
2915
2703
|
}
|
|
2916
|
-
}),
|
|
2704
|
+
}), Jn = qn({ baseStyle: Kn }), Zn = me({
|
|
2917
2705
|
baseStyle: {
|
|
2918
2706
|
color: "viridian.base",
|
|
2919
2707
|
fontWeight: "normal",
|
|
@@ -2941,7 +2729,7 @@ const { defineMultiStyleConfig: Ln, definePartsStyle: Gn } = ze(Jo.keys), Bt = {
|
|
|
2941
2729
|
defaultProps: {
|
|
2942
2730
|
size: "md"
|
|
2943
2731
|
}
|
|
2944
|
-
}),
|
|
2732
|
+
}), Qn = me({
|
|
2945
2733
|
baseStyle: {
|
|
2946
2734
|
fontFamily: "heading",
|
|
2947
2735
|
fontWeight: "normal",
|
|
@@ -2994,7 +2782,7 @@ const { defineMultiStyleConfig: Ln, definePartsStyle: Gn } = ze(Jo.keys), Bt = {
|
|
|
2994
2782
|
defaultProps: {
|
|
2995
2783
|
size: "md"
|
|
2996
2784
|
}
|
|
2997
|
-
}),
|
|
2785
|
+
}), ea = me({
|
|
2998
2786
|
baseStyle: {
|
|
2999
2787
|
fontFamily: "body",
|
|
3000
2788
|
fontWeight: "normal",
|
|
@@ -3024,7 +2812,7 @@ const { defineMultiStyleConfig: Ln, definePartsStyle: Gn } = ze(Jo.keys), Bt = {
|
|
|
3024
2812
|
defaultProps: {
|
|
3025
2813
|
size: "lg"
|
|
3026
2814
|
}
|
|
3027
|
-
}),
|
|
2815
|
+
}), ra = me({
|
|
3028
2816
|
baseStyle: {},
|
|
3029
2817
|
sizes: {
|
|
3030
2818
|
sm: {
|
|
@@ -3041,7 +2829,7 @@ const { defineMultiStyleConfig: Ln, definePartsStyle: Gn } = ze(Jo.keys), Bt = {
|
|
|
3041
2829
|
defaultProps: {
|
|
3042
2830
|
size: "md"
|
|
3043
2831
|
}
|
|
3044
|
-
}), { defineMultiStyleConfig:
|
|
2832
|
+
}), { defineMultiStyleConfig: ta, definePartsStyle: dt } = Pe(No.keys), oa = {
|
|
3045
2833
|
partial: dt({
|
|
3046
2834
|
dialog: {
|
|
3047
2835
|
maxW: 560
|
|
@@ -3054,7 +2842,7 @@ const { defineMultiStyleConfig: Ln, definePartsStyle: Gn } = ze(Jo.keys), Bt = {
|
|
|
3054
2842
|
borderRadius: 0
|
|
3055
2843
|
}
|
|
3056
2844
|
})
|
|
3057
|
-
},
|
|
2845
|
+
}, na = dt({
|
|
3058
2846
|
overlay: {
|
|
3059
2847
|
zIndex: "overlay",
|
|
3060
2848
|
bg: (e) => `${e.colors.tints.black}66`
|
|
@@ -3098,11 +2886,11 @@ const { defineMultiStyleConfig: Ln, definePartsStyle: Gn } = ze(Jo.keys), Bt = {
|
|
|
3098
2886
|
py: 6,
|
|
3099
2887
|
px: 8
|
|
3100
2888
|
}
|
|
3101
|
-
}),
|
|
3102
|
-
baseStyle:
|
|
3103
|
-
sizes:
|
|
2889
|
+
}), aa = ta({
|
|
2890
|
+
baseStyle: na,
|
|
2891
|
+
sizes: oa,
|
|
3104
2892
|
defaultProps: { size: "partial" }
|
|
3105
|
-
}),
|
|
2893
|
+
}), ia = me({
|
|
3106
2894
|
baseStyle: {},
|
|
3107
2895
|
sizes: {
|
|
3108
2896
|
sm: {
|
|
@@ -3125,64 +2913,87 @@ const { defineMultiStyleConfig: Ln, definePartsStyle: Gn } = ze(Jo.keys), Bt = {
|
|
|
3125
2913
|
defaultProps: {
|
|
3126
2914
|
size: "md"
|
|
3127
2915
|
}
|
|
3128
|
-
}),
|
|
2916
|
+
}), sa = ct("skeleton-start-color"), la = ct("skeleton-end-color"), da = ct("skeleton-speed"), ca = me({
|
|
3129
2917
|
baseStyle: {
|
|
3130
|
-
[
|
|
3131
|
-
[
|
|
3132
|
-
[
|
|
2918
|
+
[sa.variable]: "colors.tints.lightGrey",
|
|
2919
|
+
[la.variable]: "colors.tints.medGrey",
|
|
2920
|
+
[da.variable]: "0.8",
|
|
3133
2921
|
borderRadius: "sm",
|
|
3134
2922
|
p: "4"
|
|
3135
2923
|
},
|
|
3136
2924
|
sizes: {},
|
|
3137
2925
|
variants: {},
|
|
3138
2926
|
defaultProps: {}
|
|
3139
|
-
}), {
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3148
|
-
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
|
|
2927
|
+
}), { defineMultiStyleConfig: ua } = Tr(
|
|
2928
|
+
qo.keys
|
|
2929
|
+
), fa = ua({
|
|
2930
|
+
baseStyle: {
|
|
2931
|
+
tab: {
|
|
2932
|
+
color: "tints.darkGrey",
|
|
2933
|
+
border: "1px solid",
|
|
2934
|
+
borderColor: "tints.lightGrey",
|
|
2935
|
+
_selected: {
|
|
2936
|
+
backgroundColor: "viridian.dark",
|
|
2937
|
+
color: "tints.white",
|
|
2938
|
+
borderColor: "inherit"
|
|
2939
|
+
},
|
|
2940
|
+
_disabled: {
|
|
2941
|
+
color: "tints.medGrey",
|
|
2942
|
+
backgroundColor: "tints.lightGrey",
|
|
2943
|
+
cursor: "not-allowed"
|
|
2944
|
+
},
|
|
2945
|
+
_focusVisible: {
|
|
2946
|
+
outline: "1px solid auto"
|
|
2947
|
+
}
|
|
3159
2948
|
},
|
|
3160
|
-
|
|
3161
|
-
|
|
3162
|
-
|
|
3163
|
-
|
|
2949
|
+
tabpanels: {},
|
|
2950
|
+
tabpanel: {}
|
|
2951
|
+
},
|
|
2952
|
+
sizes: {
|
|
2953
|
+
md: {
|
|
2954
|
+
tab: {
|
|
2955
|
+
fontSize: "md",
|
|
2956
|
+
fontWeight: "normal",
|
|
2957
|
+
lineHeight: "xl",
|
|
2958
|
+
paddingY: 3,
|
|
2959
|
+
paddingX: 4,
|
|
2960
|
+
_first: {
|
|
2961
|
+
borderLeftRadius: "xl"
|
|
2962
|
+
},
|
|
2963
|
+
_last: {
|
|
2964
|
+
borderRightRadius: "xl"
|
|
2965
|
+
}
|
|
2966
|
+
},
|
|
2967
|
+
tablist: {
|
|
2968
|
+
marginBottom: 4
|
|
2969
|
+
}
|
|
3164
2970
|
},
|
|
3165
|
-
|
|
3166
|
-
|
|
2971
|
+
lg: {
|
|
2972
|
+
tab: {
|
|
2973
|
+
fontSize: "lg",
|
|
2974
|
+
fontWeight: "medium",
|
|
2975
|
+
lineHeight: "3xl",
|
|
2976
|
+
paddingY: 4,
|
|
2977
|
+
paddingX: 5,
|
|
2978
|
+
_first: {
|
|
2979
|
+
borderLeftRadius: "xl"
|
|
2980
|
+
},
|
|
2981
|
+
_last: {
|
|
2982
|
+
borderRightRadius: "xl"
|
|
2983
|
+
}
|
|
2984
|
+
},
|
|
2985
|
+
tablist: {
|
|
2986
|
+
marginBottom: 6
|
|
2987
|
+
}
|
|
3167
2988
|
}
|
|
3168
2989
|
},
|
|
3169
|
-
tablist: {
|
|
3170
|
-
mb: "6"
|
|
3171
|
-
},
|
|
3172
|
-
tabpanels: {},
|
|
3173
|
-
tabpanel: {},
|
|
3174
|
-
sizes: {},
|
|
3175
2990
|
variants: {},
|
|
3176
|
-
colorScheme: {},
|
|
3177
2991
|
defaultProps: {
|
|
3178
|
-
size: "
|
|
2992
|
+
size: "lg"
|
|
3179
2993
|
}
|
|
3180
|
-
}),
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
}), { defineMultiStyleConfig: Sa } = Tr(
|
|
3184
|
-
rn.keys
|
|
3185
|
-
), xa = {
|
|
2994
|
+
}), { defineMultiStyleConfig: pa } = Tr(
|
|
2995
|
+
Ko.keys
|
|
2996
|
+
), ga = {
|
|
3186
2997
|
sm: {
|
|
3187
2998
|
paddingX: ["2", "2"],
|
|
3188
2999
|
paddingY: ["0.5", "2"]
|
|
@@ -3191,7 +3002,7 @@ const { defineMultiStyleConfig: Ln, definePartsStyle: Gn } = ze(Jo.keys), Bt = {
|
|
|
3191
3002
|
paddingX: ["2", "3"],
|
|
3192
3003
|
paddingY: ["0.5", "3"]
|
|
3193
3004
|
}
|
|
3194
|
-
},
|
|
3005
|
+
}, ha = pa({
|
|
3195
3006
|
baseStyle: {
|
|
3196
3007
|
container: {
|
|
3197
3008
|
fontWeight: "medium",
|
|
@@ -3313,7 +3124,7 @@ const { defineMultiStyleConfig: Ln, definePartsStyle: Gn } = ze(Jo.keys), Bt = {
|
|
|
3313
3124
|
backgroundColor: "tints.white",
|
|
3314
3125
|
color: "tints.black",
|
|
3315
3126
|
borderRadius: "8px",
|
|
3316
|
-
...
|
|
3127
|
+
...ga[e]
|
|
3317
3128
|
},
|
|
3318
3129
|
label: {
|
|
3319
3130
|
backgroundColor: "tints.white",
|
|
@@ -3331,9 +3142,9 @@ const { defineMultiStyleConfig: Ln, definePartsStyle: Gn } = ze(Jo.keys), Bt = {
|
|
|
3331
3142
|
size: "md",
|
|
3332
3143
|
variant: "primary"
|
|
3333
3144
|
}
|
|
3334
|
-
}), { defineMultiStyleConfig:
|
|
3335
|
-
|
|
3336
|
-
),
|
|
3145
|
+
}), { defineMultiStyleConfig: ba } = Pe(
|
|
3146
|
+
Yo.keys
|
|
3147
|
+
), ma = ba({
|
|
3337
3148
|
baseStyle: {
|
|
3338
3149
|
container: {
|
|
3339
3150
|
width: "100%"
|
|
@@ -3386,7 +3197,7 @@ const { defineMultiStyleConfig: Ln, definePartsStyle: Gn } = ze(Jo.keys), Bt = {
|
|
|
3386
3197
|
size: "lg",
|
|
3387
3198
|
variant: "primary"
|
|
3388
3199
|
}
|
|
3389
|
-
}),
|
|
3200
|
+
}), va = me({
|
|
3390
3201
|
baseStyle: {
|
|
3391
3202
|
paddingX: "48px"
|
|
3392
3203
|
},
|
|
@@ -3416,7 +3227,7 @@ const { defineMultiStyleConfig: Ln, definePartsStyle: Gn } = ze(Jo.keys), Bt = {
|
|
|
3416
3227
|
defaultProps: {
|
|
3417
3228
|
size: "lg"
|
|
3418
3229
|
}
|
|
3419
|
-
}),
|
|
3230
|
+
}), ya = {
|
|
3420
3231
|
tints: {
|
|
3421
3232
|
black: "#0F0F0F",
|
|
3422
3233
|
darkGrey: "#545454",
|
|
@@ -3522,7 +3333,7 @@ const { defineMultiStyleConfig: Ln, definePartsStyle: Gn } = ze(Jo.keys), Bt = {
|
|
|
3522
3333
|
900: "#143927"
|
|
3523
3334
|
// dark
|
|
3524
3335
|
},
|
|
3525
|
-
whiteCS: { ...
|
|
3336
|
+
whiteCS: { ...zt.colors.whiteAlpha, base: "#FFFFFF" },
|
|
3526
3337
|
// contextual colors
|
|
3527
3338
|
utility: {
|
|
3528
3339
|
warning: "#CC0F05",
|
|
@@ -3530,8 +3341,8 @@ const { defineMultiStyleConfig: Ln, definePartsStyle: Gn } = ze(Jo.keys), Bt = {
|
|
|
3530
3341
|
success: "#28724F",
|
|
3531
3342
|
rating: "#F5A623"
|
|
3532
3343
|
}
|
|
3533
|
-
}, { semanticTokens:
|
|
3534
|
-
...
|
|
3344
|
+
}, { semanticTokens: Ba, sizes: za, space: Pa, ...Sa } = zt, E = (e) => `${e / 16}rem`, xa = (e) => e, $a = xa({
|
|
3345
|
+
...Sa,
|
|
3535
3346
|
breakpoints: {
|
|
3536
3347
|
// Chakra relies on the initial breakpoint being `base`
|
|
3537
3348
|
base: "0em",
|
|
@@ -3562,23 +3373,23 @@ const { defineMultiStyleConfig: Ln, definePartsStyle: Gn } = ze(Jo.keys), Bt = {
|
|
|
3562
3373
|
black: "900"
|
|
3563
3374
|
},
|
|
3564
3375
|
fontSizes: {
|
|
3565
|
-
"3xs":
|
|
3566
|
-
"2xs":
|
|
3567
|
-
xs:
|
|
3568
|
-
sm:
|
|
3569
|
-
md:
|
|
3570
|
-
lg:
|
|
3571
|
-
xl:
|
|
3572
|
-
"2xl":
|
|
3573
|
-
"3xl":
|
|
3574
|
-
"4xl":
|
|
3575
|
-
"5xl":
|
|
3576
|
-
"6xl":
|
|
3577
|
-
"7xl":
|
|
3578
|
-
"8xl":
|
|
3579
|
-
"9xl":
|
|
3580
|
-
"10xl":
|
|
3581
|
-
"11xl":
|
|
3376
|
+
"3xs": E(6),
|
|
3377
|
+
"2xs": E(8),
|
|
3378
|
+
xs: E(10),
|
|
3379
|
+
sm: E(12),
|
|
3380
|
+
md: E(14),
|
|
3381
|
+
lg: E(16),
|
|
3382
|
+
xl: E(18),
|
|
3383
|
+
"2xl": E(20),
|
|
3384
|
+
"3xl": E(24),
|
|
3385
|
+
"4xl": E(28),
|
|
3386
|
+
"5xl": E(32),
|
|
3387
|
+
"6xl": E(36),
|
|
3388
|
+
"7xl": E(40),
|
|
3389
|
+
"8xl": E(44),
|
|
3390
|
+
"9xl": E(48),
|
|
3391
|
+
"10xl": E(56),
|
|
3392
|
+
"11xl": E(68)
|
|
3582
3393
|
},
|
|
3583
3394
|
letterSpacings: {
|
|
3584
3395
|
// TODO: redefine letter spacings with design
|
|
@@ -3615,19 +3426,19 @@ const { defineMultiStyleConfig: Ln, definePartsStyle: Gn } = ze(Jo.keys), Bt = {
|
|
|
3615
3426
|
* That'll give you 10. Then use it in your component.
|
|
3616
3427
|
*/
|
|
3617
3428
|
0: 0,
|
|
3618
|
-
0.5:
|
|
3619
|
-
1:
|
|
3620
|
-
1.5:
|
|
3621
|
-
2:
|
|
3622
|
-
3:
|
|
3623
|
-
4:
|
|
3624
|
-
5:
|
|
3625
|
-
6:
|
|
3626
|
-
8:
|
|
3627
|
-
10:
|
|
3628
|
-
12:
|
|
3629
|
-
16:
|
|
3630
|
-
20:
|
|
3429
|
+
0.5: E(2),
|
|
3430
|
+
1: E(4),
|
|
3431
|
+
1.5: E(6),
|
|
3432
|
+
2: E(8),
|
|
3433
|
+
3: E(12),
|
|
3434
|
+
4: E(16),
|
|
3435
|
+
5: E(20),
|
|
3436
|
+
6: E(24),
|
|
3437
|
+
8: E(32),
|
|
3438
|
+
10: E(40),
|
|
3439
|
+
12: E(48),
|
|
3440
|
+
16: E(64),
|
|
3441
|
+
20: E(80)
|
|
3631
3442
|
},
|
|
3632
3443
|
shadows: {
|
|
3633
3444
|
xs: "0 0 0 1px rgba(0, 0, 0, 0.05)",
|
|
@@ -3658,112 +3469,324 @@ const { defineMultiStyleConfig: Ln, definePartsStyle: Gn } = ze(Jo.keys), Bt = {
|
|
|
3658
3469
|
toast: 1700,
|
|
3659
3470
|
tooltip: 1800
|
|
3660
3471
|
},
|
|
3661
|
-
colors:
|
|
3472
|
+
colors: ya,
|
|
3662
3473
|
components: {
|
|
3663
|
-
Accordion:
|
|
3664
|
-
Button:
|
|
3665
|
-
Checkbox:
|
|
3666
|
-
Container:
|
|
3667
|
-
Drawer:
|
|
3668
|
-
Form:
|
|
3474
|
+
Accordion: ma,
|
|
3475
|
+
Button: Go,
|
|
3476
|
+
Checkbox: Qo,
|
|
3477
|
+
Container: va,
|
|
3478
|
+
Drawer: aa,
|
|
3479
|
+
Form: jn,
|
|
3669
3480
|
// Not sure why chakra does not follow their naming convention for this theme, but this is the way that it works
|
|
3670
|
-
FormError:
|
|
3671
|
-
FormLabel:
|
|
3672
|
-
Select:
|
|
3673
|
-
Heading:
|
|
3674
|
-
Icon:
|
|
3675
|
-
Input:
|
|
3676
|
-
Link:
|
|
3677
|
-
Menu:
|
|
3678
|
-
Spinner:
|
|
3679
|
-
Skeleton:
|
|
3680
|
-
Tabs:
|
|
3681
|
-
Tag:
|
|
3682
|
-
Text:
|
|
3481
|
+
FormError: Ln,
|
|
3482
|
+
FormLabel: Yn,
|
|
3483
|
+
Select: Jn,
|
|
3484
|
+
Heading: Qn,
|
|
3485
|
+
Icon: ra,
|
|
3486
|
+
Input: Nn,
|
|
3487
|
+
Link: Zn,
|
|
3488
|
+
Menu: Xn,
|
|
3489
|
+
Spinner: ia,
|
|
3490
|
+
Skeleton: ca,
|
|
3491
|
+
Tabs: fa,
|
|
3492
|
+
Tag: ha,
|
|
3493
|
+
Text: ea
|
|
3494
|
+
}
|
|
3495
|
+
}), ka = () => xo(), Wt = Bo({
|
|
3496
|
+
spacing: 0,
|
|
3497
|
+
columns: 1
|
|
3498
|
+
}), wa = Xe.forwardRef(
|
|
3499
|
+
({
|
|
3500
|
+
children: e,
|
|
3501
|
+
alignEdges: a = !0,
|
|
3502
|
+
width: s,
|
|
3503
|
+
columns: u = 1,
|
|
3504
|
+
spacing: p,
|
|
3505
|
+
...m
|
|
3506
|
+
}, T) => {
|
|
3507
|
+
const w = ka(), g = p ?? w.space[4], z = (y) => typeof y == "number" ? -1 * y : `-${y}`, _ = Array.isArray(g) ? g.map((y) => y && z(y)) : g && z(g);
|
|
3508
|
+
return /* @__PURE__ */ W.jsx(Wt.Provider, { value: { spacing: g, columns: u }, children: /* @__PURE__ */ W.jsx(Ne, { m: a ? _ : void 0, children: /* @__PURE__ */ W.jsx(
|
|
3509
|
+
ko,
|
|
3510
|
+
{
|
|
3511
|
+
flexWrap: "wrap",
|
|
3512
|
+
pl: g,
|
|
3513
|
+
pt: g,
|
|
3514
|
+
width: s ?? "100%",
|
|
3515
|
+
...m,
|
|
3516
|
+
ref: T,
|
|
3517
|
+
children: e
|
|
3518
|
+
}
|
|
3519
|
+
) }) });
|
|
3520
|
+
}
|
|
3521
|
+
);
|
|
3522
|
+
wa.displayName = "Grid";
|
|
3523
|
+
const _a = Xe.forwardRef(
|
|
3524
|
+
({ children: e, width: a, ...s }, u) => {
|
|
3525
|
+
const { columns: p, spacing: m } = zo(Wt), T = Array.isArray(a) ? a.map((g) => g === "auto" ? 1 : 0) : a === "auto" ? 1 : 0, w = () => (Array.isArray(p) ? p : [p]).map((z) => `${100 / z}%`);
|
|
3526
|
+
return /* @__PURE__ */ W.jsx(
|
|
3527
|
+
Ne,
|
|
3528
|
+
{
|
|
3529
|
+
width: a ?? w() ?? "100%",
|
|
3530
|
+
pr: m,
|
|
3531
|
+
pb: m,
|
|
3532
|
+
...s,
|
|
3533
|
+
sx: {
|
|
3534
|
+
flexGrow: T,
|
|
3535
|
+
...s.sx
|
|
3536
|
+
},
|
|
3537
|
+
ref: u,
|
|
3538
|
+
children: e
|
|
3539
|
+
}
|
|
3540
|
+
);
|
|
3683
3541
|
}
|
|
3542
|
+
);
|
|
3543
|
+
_a.displayName = "GridItem";
|
|
3544
|
+
const Oa = wo, Ma = _o, Ca = (e) => /* @__PURE__ */ W.jsx(Co, { icon: /* @__PURE__ */ W.jsx(ut, { icon: "Check" }), ...e });
|
|
3545
|
+
Ca.displayName = "Checkbox";
|
|
3546
|
+
const tt = "32px", kr = (e) => e == null, Ta = To((e, a) => {
|
|
3547
|
+
const s = Ro(), u = {
|
|
3548
|
+
isDisabled: s == null ? void 0 : s.isDisabled,
|
|
3549
|
+
isFocusable: s == null ? void 0 : s.isFocusable,
|
|
3550
|
+
isChecked: !kr(s == null ? void 0 : s.value) && !kr(e.value) ? s.value === e.value : e.isChecked,
|
|
3551
|
+
onChange: !kr(s == null ? void 0 : s.value) && !kr(e.value) ? ($) => {
|
|
3552
|
+
var xe, ke;
|
|
3553
|
+
(xe = e.onChange) == null || xe.call(e, $), (ke = s == null ? void 0 : s.onChange) == null || ke.call(s, $);
|
|
3554
|
+
} : e.onChange,
|
|
3555
|
+
name: (e == null ? void 0 : e.name) ?? (s == null ? void 0 : s.name)
|
|
3556
|
+
}, {
|
|
3557
|
+
getInputProps: p,
|
|
3558
|
+
getRadioProps: m,
|
|
3559
|
+
htmlProps: T,
|
|
3560
|
+
getLabelProps: w,
|
|
3561
|
+
state: g,
|
|
3562
|
+
getRootProps: z
|
|
3563
|
+
} = Eo({
|
|
3564
|
+
...e,
|
|
3565
|
+
...u
|
|
3566
|
+
}), _ = p({}, a), y = m(), D = w(), Y = z(), V = g.isChecked, re = () => e.isDisabled ? "tints.lightGrey" : V ? "viridian.base" : "tints.white", te = () => e.isDisabled ? "tints.lightGrey" : V ? "viridian.base" : "tints.uiGrey", X = () => e.isDisabled ? "not-allowed" : "pointer";
|
|
3567
|
+
return /* @__PURE__ */ W.jsxs(
|
|
3568
|
+
Io.label,
|
|
3569
|
+
{
|
|
3570
|
+
...T,
|
|
3571
|
+
...Y,
|
|
3572
|
+
cursor: "pointer",
|
|
3573
|
+
display: "flex",
|
|
3574
|
+
flexDirection: "row",
|
|
3575
|
+
alignItems: "flex-start",
|
|
3576
|
+
width: "100%",
|
|
3577
|
+
gap: 3,
|
|
3578
|
+
children: [
|
|
3579
|
+
/* @__PURE__ */ W.jsx("input", { ..._, ref: a, hidden: !0 }),
|
|
3580
|
+
e.removeCircle ? (
|
|
3581
|
+
// Icon size is 32px, so we need to add a box to keep the layout consistent
|
|
3582
|
+
/* @__PURE__ */ W.jsx(Ne, { width: "32px" })
|
|
3583
|
+
) : /* @__PURE__ */ W.jsx(
|
|
3584
|
+
Ne,
|
|
3585
|
+
{
|
|
3586
|
+
...y,
|
|
3587
|
+
display: "flex",
|
|
3588
|
+
alignItems: "center",
|
|
3589
|
+
justifyContent: "center",
|
|
3590
|
+
backgroundColor: re(),
|
|
3591
|
+
color: V ? "tints.white" : "transparent",
|
|
3592
|
+
borderColor: te(),
|
|
3593
|
+
borderStyle: "solid",
|
|
3594
|
+
flexShrink: 0,
|
|
3595
|
+
borderWidth: "1.5px",
|
|
3596
|
+
height: tt,
|
|
3597
|
+
width: tt,
|
|
3598
|
+
rounded: "full",
|
|
3599
|
+
cursor: X(),
|
|
3600
|
+
children: V && /* @__PURE__ */ W.jsx(ut, { icon: "Check" })
|
|
3601
|
+
}
|
|
3602
|
+
),
|
|
3603
|
+
/* @__PURE__ */ W.jsx(
|
|
3604
|
+
Ne,
|
|
3605
|
+
{
|
|
3606
|
+
...D,
|
|
3607
|
+
flex: 1,
|
|
3608
|
+
display: "flex",
|
|
3609
|
+
alignItems: "center",
|
|
3610
|
+
minHeight: tt,
|
|
3611
|
+
children: e.children
|
|
3612
|
+
}
|
|
3613
|
+
)
|
|
3614
|
+
]
|
|
3615
|
+
}
|
|
3616
|
+
);
|
|
3684
3617
|
});
|
|
3618
|
+
Ta.displayName = "Radio";
|
|
3619
|
+
const Ra = () => /* @__PURE__ */ W.jsx(
|
|
3620
|
+
$o,
|
|
3621
|
+
{
|
|
3622
|
+
styles: `
|
|
3623
|
+
/* PP Agrandir */
|
|
3624
|
+
/* Agrandir is used for page headers, section titles, brand moments and quotations. */
|
|
3625
|
+
@font-face {
|
|
3626
|
+
font-family: 'PP Agrandir';
|
|
3627
|
+
src: url('https://cdn.everlywell.com/fonts/PP+Agrandir/PPAgrandir-Variable.woff2') format('woff2');
|
|
3628
|
+
font-style: normal;
|
|
3629
|
+
font-display: swap;
|
|
3630
|
+
}
|
|
3631
|
+
|
|
3632
|
+
/* DM Sans */
|
|
3633
|
+
/* Used for: Body copy, button copy and smaller sizes. */
|
|
3634
|
+
@font-face {
|
|
3635
|
+
font-family: 'DM Sans';
|
|
3636
|
+
src: url('https://cdn.everlywell.com/fonts/DM+Sans/DMSans-Italic-VariableFont_opsz,wght.woff2') format('woff2');
|
|
3637
|
+
font-style: italic;
|
|
3638
|
+
font-stretch: normal;
|
|
3639
|
+
font-display: swap;
|
|
3640
|
+
}
|
|
3641
|
+
@font-face {
|
|
3642
|
+
font-family: 'DM Sans';
|
|
3643
|
+
src: url('https://cdn.everlywell.com/fonts/DM+Sans/DMSans-VariableFont_opsz,wght.woff2') format('woff2');
|
|
3644
|
+
font-style: normal;
|
|
3645
|
+
font-stretch: normal;
|
|
3646
|
+
font-display: swap;
|
|
3647
|
+
}
|
|
3648
|
+
|
|
3649
|
+
/* DM Mono */
|
|
3650
|
+
/* Used for: Body copy, button copy and smaller sizes. */
|
|
3651
|
+
@font-face {
|
|
3652
|
+
font-family: 'DM Mono';
|
|
3653
|
+
src: url('https://cdn.everlywell.com/fonts/DM+Mono/DMMono-Light.woff2') format('woff2');
|
|
3654
|
+
font-style: normal;
|
|
3655
|
+
font-weight: 300;
|
|
3656
|
+
font-stretch: normal;
|
|
3657
|
+
font-display: swap;
|
|
3658
|
+
}
|
|
3659
|
+
@font-face {
|
|
3660
|
+
font-family: 'DM Mono';
|
|
3661
|
+
src: url('https://cdn.everlywell.com/fonts/DM+Mono/DMMono-LightItalic.woff2') format('woff2');
|
|
3662
|
+
font-style: italic;
|
|
3663
|
+
font-weight: 300;
|
|
3664
|
+
font-stretch: normal;
|
|
3665
|
+
font-display: swap;
|
|
3666
|
+
}
|
|
3667
|
+
@font-face {
|
|
3668
|
+
font-family: 'DM Mono';
|
|
3669
|
+
src: url('https://cdn.everlywell.com/fonts/DM+Mono/DMMono-Regular.woff2') format('woff2');
|
|
3670
|
+
font-style: normal;
|
|
3671
|
+
font-weight: 400;
|
|
3672
|
+
font-stretch: normal;
|
|
3673
|
+
font-display: swap;
|
|
3674
|
+
}
|
|
3675
|
+
@font-face {
|
|
3676
|
+
font-family: 'DM Mono';
|
|
3677
|
+
src: url('https://cdn.everlywell.com/fonts/DM+Mono/DMMono-Italic.woff2') format('woff2');
|
|
3678
|
+
font-style: italic;
|
|
3679
|
+
font-weight: 400;
|
|
3680
|
+
font-stretch: normal;
|
|
3681
|
+
font-display: swap;
|
|
3682
|
+
}
|
|
3683
|
+
@font-face {
|
|
3684
|
+
font-family: 'DM Mono';
|
|
3685
|
+
src: url('https://cdn.everlywell.com/fonts/DM+Mono/DMMono-Medium.woff2') format('woff2');
|
|
3686
|
+
font-style: normal;
|
|
3687
|
+
font-weight: 500;
|
|
3688
|
+
font-stretch: normal;
|
|
3689
|
+
font-display: swap;
|
|
3690
|
+
}
|
|
3691
|
+
@font-face {
|
|
3692
|
+
font-family: 'DM Mono';
|
|
3693
|
+
src: url('https://cdn.everlywell.com/fonts/DM+Mono/DMMono-MediumItalic.woff2') format('woff2');
|
|
3694
|
+
font-style: italic;
|
|
3695
|
+
font-weight: 500;
|
|
3696
|
+
font-stretch: normal;
|
|
3697
|
+
font-display: swap;
|
|
3698
|
+
}
|
|
3699
|
+
`
|
|
3700
|
+
}
|
|
3701
|
+
), Da = ({
|
|
3702
|
+
children: e,
|
|
3703
|
+
...a
|
|
3704
|
+
}) => /* @__PURE__ */ W.jsxs(Fo, { ...a, children: [
|
|
3705
|
+
/* @__PURE__ */ W.jsx(Ra, {}),
|
|
3706
|
+
e
|
|
3707
|
+
] });
|
|
3685
3708
|
export {
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
|
|
3691
|
-
|
|
3692
|
-
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
|
|
3703
|
-
|
|
3704
|
-
|
|
3705
|
-
|
|
3706
|
-
|
|
3707
|
-
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
|
|
3711
|
-
|
|
3712
|
-
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
|
|
3716
|
-
|
|
3709
|
+
Wa as Accordion,
|
|
3710
|
+
La as AccordionButton,
|
|
3711
|
+
Ga as AccordionIcon,
|
|
3712
|
+
Ya as AccordionItem,
|
|
3713
|
+
Ha as AccordionPanel,
|
|
3714
|
+
Na as Box,
|
|
3715
|
+
Va as Breadcrumb,
|
|
3716
|
+
Xa as BreadcrumbItem,
|
|
3717
|
+
Ua as BreadcrumbLink,
|
|
3718
|
+
qa as BreadcrumbSeparator,
|
|
3719
|
+
Ka as Button,
|
|
3720
|
+
Ca as Checkbox,
|
|
3721
|
+
Ja as CheckboxGroup,
|
|
3722
|
+
Za as Container,
|
|
3723
|
+
Qa as Drawer,
|
|
3724
|
+
ei as DrawerBody,
|
|
3725
|
+
ri as DrawerCloseButton,
|
|
3726
|
+
ti as DrawerContent,
|
|
3727
|
+
oi as DrawerFooter,
|
|
3728
|
+
ni as DrawerHeader,
|
|
3729
|
+
ai as DrawerOverlay,
|
|
3730
|
+
ii as Flex,
|
|
3731
|
+
si as FormControl,
|
|
3732
|
+
li as FormErrorMessage,
|
|
3733
|
+
di as FormHelperText,
|
|
3734
|
+
ci as FormLabel,
|
|
3735
|
+
wa as Grid,
|
|
3736
|
+
_a as GridItem,
|
|
3737
|
+
ui as HStack,
|
|
3738
|
+
fi as Heading,
|
|
3739
|
+
Ma as Hide,
|
|
3717
3740
|
ut as Icon,
|
|
3718
3741
|
Lo as IconButton,
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
|
|
3722
|
-
|
|
3723
|
-
|
|
3724
|
-
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
-
|
|
3728
|
-
|
|
3729
|
-
|
|
3730
|
-
|
|
3731
|
-
|
|
3732
|
-
|
|
3733
|
-
|
|
3734
|
-
|
|
3735
|
-
|
|
3736
|
-
|
|
3737
|
-
|
|
3738
|
-
|
|
3742
|
+
pi as Image,
|
|
3743
|
+
gi as Input,
|
|
3744
|
+
hi as InputGroup,
|
|
3745
|
+
bi as InputLeftElement,
|
|
3746
|
+
mi as InputRightElement,
|
|
3747
|
+
vi as Link,
|
|
3748
|
+
yi as List,
|
|
3749
|
+
Si as ListIcon,
|
|
3750
|
+
xi as ListItem,
|
|
3751
|
+
ki as Menu,
|
|
3752
|
+
wi as MenuButton,
|
|
3753
|
+
_i as MenuCommand,
|
|
3754
|
+
Ci as MenuDivider,
|
|
3755
|
+
Ti as MenuGroup,
|
|
3756
|
+
Ri as MenuItem,
|
|
3757
|
+
Ei as MenuItemOption,
|
|
3758
|
+
Ii as MenuList,
|
|
3759
|
+
Fi as MenuOptionGroup,
|
|
3760
|
+
Bi as OrderedList,
|
|
3761
|
+
Ta as Radio,
|
|
3739
3762
|
zi as RadioGroup,
|
|
3740
|
-
|
|
3741
|
-
|
|
3742
|
-
|
|
3743
|
-
|
|
3744
|
-
|
|
3745
|
-
|
|
3746
|
-
|
|
3747
|
-
|
|
3748
|
-
|
|
3749
|
-
|
|
3750
|
-
|
|
3751
|
-
|
|
3752
|
-
|
|
3753
|
-
|
|
3754
|
-
|
|
3755
|
-
|
|
3756
|
-
|
|
3757
|
-
|
|
3758
|
-
|
|
3759
|
-
|
|
3760
|
-
|
|
3761
|
-
|
|
3762
|
-
|
|
3763
|
-
|
|
3764
|
-
|
|
3765
|
-
|
|
3766
|
-
|
|
3767
|
-
|
|
3768
|
-
|
|
3763
|
+
Pi as Select,
|
|
3764
|
+
Oa as Show,
|
|
3765
|
+
$i as Skeleton,
|
|
3766
|
+
Oi as SkeletonCircle,
|
|
3767
|
+
Mi as SkeletonText,
|
|
3768
|
+
Di as Spacer,
|
|
3769
|
+
ji as Spinner,
|
|
3770
|
+
Ai as Stack,
|
|
3771
|
+
Wi as Tab,
|
|
3772
|
+
Li as TabList,
|
|
3773
|
+
Gi as TabPanel,
|
|
3774
|
+
Yi as TabPanels,
|
|
3775
|
+
Hi as Tabs,
|
|
3776
|
+
Ni as Tag,
|
|
3777
|
+
Vi as TagCloseButton,
|
|
3778
|
+
Xi as TagLabel,
|
|
3779
|
+
Ui as TagLeftIcon,
|
|
3780
|
+
qi as TagRightIcon,
|
|
3781
|
+
Ki as Text,
|
|
3782
|
+
Da as ThemeProvider,
|
|
3783
|
+
Ji as UnorderedList,
|
|
3784
|
+
Zi as VStack,
|
|
3785
|
+
Qi as VisuallyHidden,
|
|
3786
|
+
es as extendTheme,
|
|
3787
|
+
as as styled,
|
|
3788
|
+
$a as theme,
|
|
3789
|
+
rs as useMediaQuery,
|
|
3790
|
+
ts as useRadioGroup,
|
|
3791
|
+
os as useTab
|
|
3769
3792
|
};
|