@everlywell/ui-kit 0.8.3 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.mts +1 -0
- package/index.d.ts +1 -0
- package/index.js +7 -7
- package/index.mjs +211 -182
- package/lib/theme/data-display/Accordion/Accordion.config.d.ts +40 -0
- package/lib/theme/data-display/Accordion/Accordion.d.ts +3 -0
- package/lib/theme/index.d.ts +39 -0
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { Icon as po, IconButton as go, useTheme as ho, Box as Tt, Flex as bo, Show as mo, Hide as vo, ChakraBaseProvider as yo, defineStyleConfig as Ir, createMultiStyleConfigHelpers as So, baseTheme as Rt } from "@chakra-ui/react";
|
|
2
|
-
import { Box as
|
|
3
|
-
import
|
|
2
|
+
import { Accordion as pa, AccordionButton as ga, AccordionIcon as ha, AccordionItem as ba, AccordionPanel as ma, Box as va, Button as ya, Drawer as Sa, DrawerBody as xa, DrawerCloseButton as ka, DrawerContent as _a, DrawerFooter as wa, DrawerHeader as Ta, DrawerOverlay as Ra, FormControl as Ca, Heading as Ea, Input as Fa, Link as Ia, Menu as Ba, MenuButton as Oa, MenuCommand as Pa, MenuDivider as za, MenuGroup as $a, MenuItem as Ma, MenuItemOption as Da, MenuList as Aa, MenuOptionGroup as ja, Spinner as Wa, Tag as La, TagCloseButton as Ga, TagLabel as Ya, TagLeftIcon as Ha, TagRightIcon as Na, Text as Ua, VisuallyHidden as Va, extendBaseTheme as Xa } from "@chakra-ui/react";
|
|
3
|
+
import Hr, { createContext as xo, useContext as ko } from "react";
|
|
4
4
|
import * as _o from "@phosphor-icons/react";
|
|
5
5
|
import { Global as wo } from "@emotion/react";
|
|
6
|
-
import { default as
|
|
6
|
+
import { default as Ka } from "@emotion/styled";
|
|
7
7
|
var me = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
8
8
|
function To(e) {
|
|
9
9
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
10
10
|
}
|
|
11
|
-
var Qe = { exports: {} },
|
|
11
|
+
var Qe = { exports: {} }, Wr = {};
|
|
12
12
|
/**
|
|
13
13
|
* @license React
|
|
14
14
|
* react-jsx-runtime.development.js
|
|
@@ -21,7 +21,7 @@ var Qe = { exports: {} }, Ar = {};
|
|
|
21
21
|
var mt;
|
|
22
22
|
function Ro() {
|
|
23
23
|
return mt || (mt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
24
|
-
var e =
|
|
24
|
+
var e = Hr, a = Symbol.for("react.element"), l = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), p = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), w = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), M = Symbol.for("react.suspense"), T = Symbol.for("react.suspense_list"), B = Symbol.for("react.memo"), A = Symbol.for("react.lazy"), G = Symbol.for("react.offscreen"), cr = Symbol.iterator, ur = "@@iterator";
|
|
25
25
|
function fr(t) {
|
|
26
26
|
if (t === null || typeof t != "object")
|
|
27
27
|
return null;
|
|
@@ -29,7 +29,7 @@ function Ro() {
|
|
|
29
29
|
return typeof s == "function" ? s : null;
|
|
30
30
|
}
|
|
31
31
|
var q = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
32
|
-
function
|
|
32
|
+
function j(t) {
|
|
33
33
|
{
|
|
34
34
|
for (var s = arguments.length, d = new Array(s > 1 ? s - 1 : 0), f = 1; f < s; f++)
|
|
35
35
|
d[f - 1] = arguments[f];
|
|
@@ -49,7 +49,7 @@ function Ro() {
|
|
|
49
49
|
var we = !1, Te = !1, Re = !1, Ce = !1, Ee = !1, Nr;
|
|
50
50
|
Nr = Symbol.for("react.module.reference");
|
|
51
51
|
function Fe(t) {
|
|
52
|
-
return !!(typeof t == "string" || typeof t == "function" || t === u || t === S || Ee || t === p || t === M || t === T || Ce || t === G || we || Te || Re || typeof t == "object" && t !== null && (t.$$typeof ===
|
|
52
|
+
return !!(typeof t == "string" || typeof t == "function" || t === u || t === S || Ee || t === p || t === M || t === T || Ce || t === G || we || Te || Re || typeof t == "object" && t !== null && (t.$$typeof === A || t.$$typeof === B || t.$$typeof === C || 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.
|
|
@@ -68,7 +68,7 @@ function Ro() {
|
|
|
68
68
|
function K(t) {
|
|
69
69
|
if (t == null)
|
|
70
70
|
return null;
|
|
71
|
-
if (typeof t.tag == "number" &&
|
|
71
|
+
if (typeof t.tag == "number" && j("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
|
|
72
72
|
return t.displayName || t.name || null;
|
|
73
73
|
if (typeof t == "string")
|
|
74
74
|
return t;
|
|
@@ -99,7 +99,7 @@ function Ro() {
|
|
|
99
99
|
case B:
|
|
100
100
|
var f = t.displayName || null;
|
|
101
101
|
return f !== null ? f : K(t.type) || "Memo";
|
|
102
|
-
case
|
|
102
|
+
case A: {
|
|
103
103
|
var x = t, v = x._payload, b = x._init;
|
|
104
104
|
try {
|
|
105
105
|
return K(b(v));
|
|
@@ -169,7 +169,7 @@ function Ro() {
|
|
|
169
169
|
})
|
|
170
170
|
});
|
|
171
171
|
}
|
|
172
|
-
mr < 0 &&
|
|
172
|
+
mr < 0 && j("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
175
|
var ar = q.ReactCurrentDispatcher, Sr;
|
|
@@ -191,7 +191,7 @@ function Ro() {
|
|
|
191
191
|
var ee = typeof WeakMap == "function" ? WeakMap : Map;
|
|
192
192
|
pr = new ee();
|
|
193
193
|
}
|
|
194
|
-
function
|
|
194
|
+
function Or(t, s) {
|
|
195
195
|
if (!t || xr)
|
|
196
196
|
return "";
|
|
197
197
|
{
|
|
@@ -263,7 +263,7 @@ function Ro() {
|
|
|
263
263
|
return typeof t == "function" && pr.set(t, pe), pe;
|
|
264
264
|
}
|
|
265
265
|
function Oe(t, s, d) {
|
|
266
|
-
return
|
|
266
|
+
return Or(t, !1);
|
|
267
267
|
}
|
|
268
268
|
function Pe(t) {
|
|
269
269
|
var s = t.prototype;
|
|
@@ -273,7 +273,7 @@ function Ro() {
|
|
|
273
273
|
if (t == null)
|
|
274
274
|
return "";
|
|
275
275
|
if (typeof t == "function")
|
|
276
|
-
return
|
|
276
|
+
return Or(t, Pe(t));
|
|
277
277
|
if (typeof t == "string")
|
|
278
278
|
return Q(t);
|
|
279
279
|
switch (t) {
|
|
@@ -288,7 +288,7 @@ function Ro() {
|
|
|
288
288
|
return Oe(t.render);
|
|
289
289
|
case B:
|
|
290
290
|
return kr(t.type, s, d);
|
|
291
|
-
case
|
|
291
|
+
case A: {
|
|
292
292
|
var f = t, x = f._payload, v = f._init;
|
|
293
293
|
try {
|
|
294
294
|
return kr(v(x), s, d);
|
|
@@ -321,13 +321,13 @@ function Ro() {
|
|
|
321
321
|
} catch ($) {
|
|
322
322
|
h = $;
|
|
323
323
|
}
|
|
324
|
-
h && !(h instanceof Error) && (wr(x),
|
|
324
|
+
h && !(h instanceof Error) && (wr(x), j("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", f || "React class", d, b, typeof h), wr(null)), h instanceof Error && !(h.message in te) && (te[h.message] = !0, wr(x), j("Failed %s type: %s", d, h.message), wr(null));
|
|
325
325
|
}
|
|
326
326
|
}
|
|
327
327
|
}
|
|
328
|
-
var
|
|
328
|
+
var Pr = Array.isArray;
|
|
329
329
|
function gr(t) {
|
|
330
|
-
return
|
|
330
|
+
return Pr(t);
|
|
331
331
|
}
|
|
332
332
|
function J(t) {
|
|
333
333
|
{
|
|
@@ -337,24 +337,24 @@ function Ro() {
|
|
|
337
337
|
}
|
|
338
338
|
function ne(t) {
|
|
339
339
|
try {
|
|
340
|
-
return
|
|
340
|
+
return zr(t), !1;
|
|
341
341
|
} catch {
|
|
342
342
|
return !0;
|
|
343
343
|
}
|
|
344
344
|
}
|
|
345
|
-
function
|
|
345
|
+
function zr(t) {
|
|
346
346
|
return "" + t;
|
|
347
347
|
}
|
|
348
348
|
function ae(t) {
|
|
349
349
|
if (ne(t))
|
|
350
|
-
return
|
|
350
|
+
return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", J(t)), zr(t);
|
|
351
351
|
}
|
|
352
352
|
var vr = q.ReactCurrentOwner, Rr = {
|
|
353
353
|
key: !0,
|
|
354
354
|
ref: !0,
|
|
355
355
|
__self: !0,
|
|
356
356
|
__source: !0
|
|
357
|
-
},
|
|
357
|
+
}, $r, Mr, Cr;
|
|
358
358
|
Cr = {};
|
|
359
359
|
function ie(t) {
|
|
360
360
|
if (_r.call(t, "ref")) {
|
|
@@ -375,13 +375,13 @@ function Ro() {
|
|
|
375
375
|
function ze(t, s) {
|
|
376
376
|
if (typeof t.ref == "string" && vr.current && s && vr.current.stateNode !== s) {
|
|
377
377
|
var d = K(vr.current.type);
|
|
378
|
-
Cr[d] || (
|
|
378
|
+
Cr[d] || (j('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', K(vr.current.type), t.ref), Cr[d] = !0);
|
|
379
379
|
}
|
|
380
380
|
}
|
|
381
381
|
function $e(t, s) {
|
|
382
382
|
{
|
|
383
383
|
var d = function() {
|
|
384
|
-
|
|
384
|
+
$r || ($r = !0, j("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", s));
|
|
385
385
|
};
|
|
386
386
|
d.isReactWarning = !0, Object.defineProperty(t, "key", {
|
|
387
387
|
get: d,
|
|
@@ -392,7 +392,7 @@ function Ro() {
|
|
|
392
392
|
function ir(t, s) {
|
|
393
393
|
{
|
|
394
394
|
var d = function() {
|
|
395
|
-
|
|
395
|
+
Mr || (Mr = !0, j("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", s));
|
|
396
396
|
};
|
|
397
397
|
d.isReactWarning = !0, Object.defineProperty(t, "ref", {
|
|
398
398
|
get: d,
|
|
@@ -457,7 +457,7 @@ function Ro() {
|
|
|
457
457
|
}
|
|
458
458
|
var lr;
|
|
459
459
|
lr = !1;
|
|
460
|
-
function
|
|
460
|
+
function Dr(t) {
|
|
461
461
|
return typeof t == "object" && t !== null && t.$$typeof === a;
|
|
462
462
|
}
|
|
463
463
|
function rr() {
|
|
@@ -484,7 +484,7 @@ Check your code at ` + s + ":" + d + ".";
|
|
|
484
484
|
}
|
|
485
485
|
}
|
|
486
486
|
var de = {};
|
|
487
|
-
function
|
|
487
|
+
function Ae(t) {
|
|
488
488
|
{
|
|
489
489
|
var s = rr();
|
|
490
490
|
if (!s) {
|
|
@@ -501,12 +501,12 @@ Check the top-level render call using <` + d + ">.");
|
|
|
501
501
|
if (!t._store || t._store.validated || t.key != null)
|
|
502
502
|
return;
|
|
503
503
|
t._store.validated = !0;
|
|
504
|
-
var d =
|
|
504
|
+
var d = Ae(s);
|
|
505
505
|
if (de[d])
|
|
506
506
|
return;
|
|
507
507
|
de[d] = !0;
|
|
508
508
|
var f = "";
|
|
509
|
-
t && t._owner && t._owner !== Fr.current && (f = " It was passed a child from " + K(t._owner.type) + "."), sr(t),
|
|
509
|
+
t && t._owner && t._owner !== Fr.current && (f = " It was passed a child from " + K(t._owner.type) + "."), sr(t), j('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), sr(null);
|
|
510
510
|
}
|
|
511
511
|
}
|
|
512
512
|
function ue(t, s) {
|
|
@@ -516,15 +516,15 @@ Check the top-level render call using <` + d + ">.");
|
|
|
516
516
|
if (gr(t))
|
|
517
517
|
for (var d = 0; d < t.length; d++) {
|
|
518
518
|
var f = t[d];
|
|
519
|
-
|
|
519
|
+
Dr(f) && ce(f, s);
|
|
520
520
|
}
|
|
521
|
-
else if (
|
|
521
|
+
else if (Dr(t))
|
|
522
522
|
t._store && (t._store.validated = !0);
|
|
523
523
|
else if (t) {
|
|
524
524
|
var x = fr(t);
|
|
525
525
|
if (typeof x == "function" && x !== t.entries)
|
|
526
526
|
for (var v = x.call(t), b; !(b = v.next()).done; )
|
|
527
|
-
|
|
527
|
+
Dr(b.value) && ce(b.value, s);
|
|
528
528
|
}
|
|
529
529
|
}
|
|
530
530
|
}
|
|
@@ -548,21 +548,21 @@ Check the top-level render call using <` + d + ">.");
|
|
|
548
548
|
} else if (s.PropTypes !== void 0 && !lr) {
|
|
549
549
|
lr = !0;
|
|
550
550
|
var x = K(s);
|
|
551
|
-
|
|
551
|
+
j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", x || "Unknown");
|
|
552
552
|
}
|
|
553
|
-
typeof s.getDefaultProps == "function" && !s.getDefaultProps.isReactClassApproved &&
|
|
553
|
+
typeof s.getDefaultProps == "function" && !s.getDefaultProps.isReactClassApproved && j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
554
554
|
}
|
|
555
555
|
}
|
|
556
|
-
function
|
|
556
|
+
function je(t) {
|
|
557
557
|
{
|
|
558
558
|
for (var s = Object.keys(t.props), d = 0; d < s.length; d++) {
|
|
559
559
|
var f = s[d];
|
|
560
560
|
if (f !== "children" && f !== "key") {
|
|
561
|
-
sr(t),
|
|
561
|
+
sr(t), j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", f), sr(null);
|
|
562
562
|
break;
|
|
563
563
|
}
|
|
564
564
|
}
|
|
565
|
-
t.ref !== null && (sr(t),
|
|
565
|
+
t.ref !== null && (sr(t), j("Invalid attribute `ref` supplied to `React.Fragment`."), sr(null));
|
|
566
566
|
}
|
|
567
567
|
}
|
|
568
568
|
function fe(t, s, d, f, x, v) {
|
|
@@ -574,7 +574,7 @@ Check the top-level render call using <` + d + ">.");
|
|
|
574
574
|
var W = De(x);
|
|
575
575
|
W ? h += W : h += rr();
|
|
576
576
|
var $;
|
|
577
|
-
t === null ? $ = "null" : gr(t) ? $ = "array" : t !== void 0 && t.$$typeof === a ? ($ = "<" + (K(t.type) || "Unknown") + " />", h = " Did you accidentally export a JSX literal instead of a component?") : $ = typeof t,
|
|
577
|
+
t === null ? $ = "null" : gr(t) ? $ = "array" : t !== void 0 && t.$$typeof === a ? ($ = "<" + (K(t.type) || "Unknown") + " />", h = " Did you accidentally export a JSX literal instead of a component?") : $ = typeof t, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", $, h);
|
|
578
578
|
}
|
|
579
579
|
var D = Me(t, s, d, x, v);
|
|
580
580
|
if (D == null)
|
|
@@ -588,11 +588,11 @@ Check the top-level render call using <` + d + ">.");
|
|
|
588
588
|
ue(Y[er], t);
|
|
589
589
|
Object.freeze && Object.freeze(Y);
|
|
590
590
|
} else
|
|
591
|
-
|
|
591
|
+
j("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
592
592
|
else
|
|
593
593
|
ue(Y, t);
|
|
594
594
|
}
|
|
595
|
-
return t === u ?
|
|
595
|
+
return t === u ? je(D) : Z(D), D;
|
|
596
596
|
}
|
|
597
597
|
}
|
|
598
598
|
function We(t, s, d) {
|
|
@@ -602,10 +602,10 @@ Check the top-level render call using <` + d + ">.");
|
|
|
602
602
|
return fe(t, s, d, !1);
|
|
603
603
|
}
|
|
604
604
|
var Ge = Le, hr = We;
|
|
605
|
-
|
|
606
|
-
}()),
|
|
605
|
+
Wr.Fragment = u, Wr.jsx = Ge, Wr.jsxs = hr;
|
|
606
|
+
}()), Wr;
|
|
607
607
|
}
|
|
608
|
-
var
|
|
608
|
+
var Lr = {};
|
|
609
609
|
/**
|
|
610
610
|
* @license React
|
|
611
611
|
* react-jsx-runtime.production.min.js
|
|
@@ -618,20 +618,20 @@ var Wr = {};
|
|
|
618
618
|
var vt;
|
|
619
619
|
function Co() {
|
|
620
620
|
if (vt)
|
|
621
|
-
return
|
|
621
|
+
return Lr;
|
|
622
622
|
vt = 1;
|
|
623
|
-
var e =
|
|
623
|
+
var e = Hr, a = Symbol.for("react.element"), l = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, p = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, S = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
624
624
|
function C(w, g, M) {
|
|
625
|
-
var T, B = {},
|
|
626
|
-
M !== void 0 && (
|
|
625
|
+
var T, B = {}, A = null, G = null;
|
|
626
|
+
M !== void 0 && (A = "" + M), g.key !== void 0 && (A = "" + g.key), g.ref !== void 0 && (G = g.ref);
|
|
627
627
|
for (T in g)
|
|
628
628
|
u.call(g, T) && !S.hasOwnProperty(T) && (B[T] = g[T]);
|
|
629
629
|
if (w && w.defaultProps)
|
|
630
630
|
for (T in g = w.defaultProps, g)
|
|
631
631
|
B[T] === void 0 && (B[T] = g[T]);
|
|
632
|
-
return { $$typeof: a, type: w, key:
|
|
632
|
+
return { $$typeof: a, type: w, key: A, ref: G, props: B, _owner: p.current };
|
|
633
633
|
}
|
|
634
|
-
return
|
|
634
|
+
return Lr.Fragment = l, Lr.jsx = C, Lr.jsxs = C, Lr;
|
|
635
635
|
}
|
|
636
636
|
process.env.NODE_ENV === "production" ? Qe.exports = Co() : Qe.exports = Ro();
|
|
637
637
|
var or = Qe.exports;
|
|
@@ -655,7 +655,7 @@ const Eo = {}, Fo = [
|
|
|
655
655
|
as: Io[e.icon],
|
|
656
656
|
weight: e.isFilled ? "fill" : "regular"
|
|
657
657
|
}
|
|
658
|
-
), Oo =
|
|
658
|
+
), Oo = Hr.forwardRef((e, a) => /* @__PURE__ */ or.jsx(
|
|
659
659
|
go,
|
|
660
660
|
{
|
|
661
661
|
...e,
|
|
@@ -664,7 +664,7 @@ const Eo = {}, Fo = [
|
|
|
664
664
|
}
|
|
665
665
|
));
|
|
666
666
|
Oo.displayName = "IconButton";
|
|
667
|
-
const Ct = xo({ spacing: 0, columns: 1 }), Po =
|
|
667
|
+
const Ct = xo({ spacing: 0, columns: 1 }), Po = Hr.forwardRef(
|
|
668
668
|
({
|
|
669
669
|
children: e,
|
|
670
670
|
alignEdges: a = !0,
|
|
@@ -689,7 +689,7 @@ const Ct = xo({ spacing: 0, columns: 1 }), Po = Yr.forwardRef(
|
|
|
689
689
|
}
|
|
690
690
|
);
|
|
691
691
|
Po.displayName = "Grid";
|
|
692
|
-
const zo =
|
|
692
|
+
const zo = Hr.forwardRef(
|
|
693
693
|
({ children: e, width: a, ...l }, u) => {
|
|
694
694
|
const { columns: p, spacing: S } = ko(Ct), C = Array.isArray(a) ? a.map((g) => g === "auto" ? 1 : 0) : a === "auto" ? 1 : 0, w = () => (Array.isArray(p) ? p : [p]).map((M) => `${100 / M}%`);
|
|
695
695
|
return /* @__PURE__ */ or.jsx(
|
|
@@ -710,7 +710,7 @@ const zo = Yr.forwardRef(
|
|
|
710
710
|
}
|
|
711
711
|
);
|
|
712
712
|
zo.displayName = "GridItem";
|
|
713
|
-
const
|
|
713
|
+
const na = mo, aa = vo, $o = () => /* @__PURE__ */ or.jsx(
|
|
714
714
|
wo,
|
|
715
715
|
{
|
|
716
716
|
styles: `
|
|
@@ -792,7 +792,7 @@ const Qn = mo, ra = vo, $o = () => /* @__PURE__ */ or.jsx(
|
|
|
792
792
|
}
|
|
793
793
|
`
|
|
794
794
|
}
|
|
795
|
-
),
|
|
795
|
+
), ia = ({
|
|
796
796
|
children: e,
|
|
797
797
|
...a
|
|
798
798
|
}) => /* @__PURE__ */ or.jsxs(yo, { ...a, children: [
|
|
@@ -952,15 +952,15 @@ function Et(e) {
|
|
|
952
952
|
var Se = { exports: {} };
|
|
953
953
|
Se.exports;
|
|
954
954
|
(function(e, a) {
|
|
955
|
-
var l = 200, u = "__lodash_hash_undefined__", p = 800, S = 16, C = 9007199254740991, w = "[object Arguments]", g = "[object Array]", M = "[object AsyncFunction]", T = "[object Boolean]", B = "[object Date]",
|
|
956
|
-
F[Ie] = F[Ur] = F[K] = F[nr] = F[mr] = F[Vr] = F[Xr] = F[qr] = F[Kr] = !0, F[w] = F[g] = F[Nr] = F[T] = F[Fe] = F[B] = F[
|
|
955
|
+
var l = 200, u = "__lodash_hash_undefined__", p = 800, S = 16, C = 9007199254740991, w = "[object Arguments]", g = "[object Array]", M = "[object AsyncFunction]", T = "[object Boolean]", B = "[object Date]", A = "[object Error]", G = "[object Function]", cr = "[object GeneratorFunction]", ur = "[object Map]", fr = "[object Number]", q = "[object Null]", j = "[object Object]", _e = "[object Proxy]", we = "[object RegExp]", Te = "[object Set]", Re = "[object String]", Ce = "[object Undefined]", Ee = "[object WeakMap]", Nr = "[object ArrayBuffer]", Fe = "[object DataView]", Ie = "[object Float32Array]", Ur = "[object Float64Array]", K = "[object Int8Array]", nr = "[object Int16Array]", mr = "[object Int32Array]", Vr = "[object Uint8Array]", Xr = "[object Uint8ClampedArray]", qr = "[object Uint16Array]", Kr = "[object Uint32Array]", Jr = /[\\^$.*+?()[\]{}|]/g, Zr = /^\[object .+?Constructor\]$/, Qr = /^(?:0|[1-9]\d*)$/, F = {};
|
|
956
|
+
F[Ie] = F[Ur] = F[K] = F[nr] = F[mr] = F[Vr] = F[Xr] = F[qr] = F[Kr] = !0, F[w] = F[g] = F[Nr] = F[T] = F[Fe] = F[B] = F[A] = F[G] = F[ur] = F[fr] = F[j] = F[we] = F[Te] = F[Re] = F[Ee] = !1;
|
|
957
957
|
var re = typeof me == "object" && me && me.Object === Object && me, Be = typeof self == "object" && self && self.Object === Object && self, ar = re || Be || Function("return this")(), Sr = a && !a.nodeType && a, Q = Sr && !0 && e && !e.nodeType && e, xr = Q && Q.exports === Sr, pr = xr && re.process, ee = function() {
|
|
958
958
|
try {
|
|
959
959
|
var r = Q && Q.require && Q.require("util").types;
|
|
960
960
|
return r || pr && pr.binding && pr.binding("util");
|
|
961
961
|
} catch {
|
|
962
962
|
}
|
|
963
|
-
}(),
|
|
963
|
+
}(), Or = ee && ee.isTypedArray;
|
|
964
964
|
function Oe(r, o, i) {
|
|
965
965
|
switch (i.length) {
|
|
966
966
|
case 0:
|
|
@@ -992,18 +992,18 @@ Se.exports;
|
|
|
992
992
|
return r(o(i));
|
|
993
993
|
};
|
|
994
994
|
}
|
|
995
|
-
var oe = Array.prototype, wr = Function.prototype, Tr = Object.prototype,
|
|
996
|
-
var r = /[^.]+$/.exec(
|
|
995
|
+
var oe = Array.prototype, wr = Function.prototype, Tr = Object.prototype, Pr = ar["__core-js_shared__"], gr = wr.toString, J = Tr.hasOwnProperty, ne = function() {
|
|
996
|
+
var r = /[^.]+$/.exec(Pr && Pr.keys && Pr.keys.IE_PROTO || "");
|
|
997
997
|
return r ? "Symbol(src)_1." + r : "";
|
|
998
|
-
}(),
|
|
998
|
+
}(), zr = Tr.toString, ae = gr.call(Object), vr = RegExp(
|
|
999
999
|
"^" + gr.call(J).replace(Jr, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
1000
|
-
), Rr = xr ? ar.Buffer : void 0,
|
|
1000
|
+
), Rr = xr ? ar.Buffer : void 0, $r = ar.Symbol, Mr = ar.Uint8Array, Cr = Rr ? Rr.allocUnsafe : void 0, ie = te(Object.getPrototypeOf, Object), se = Object.create, ze = Tr.propertyIsEnumerable, $e = oe.splice, ir = $r ? $r.toStringTag : void 0, Er = function() {
|
|
1001
1001
|
try {
|
|
1002
1002
|
var r = He(Object, "defineProperty");
|
|
1003
1003
|
return r({}, "", {}), r;
|
|
1004
1004
|
} catch {
|
|
1005
1005
|
}
|
|
1006
|
-
}(), Me = Rr ? Rr.isBuffer : void 0, Fr = Math.max, le = Date.now, sr = He(ar, "Map"), lr = He(Object, "create"),
|
|
1006
|
+
}(), Me = Rr ? Rr.isBuffer : void 0, Fr = Math.max, le = Date.now, sr = He(ar, "Map"), lr = He(Object, "create"), Dr = /* @__PURE__ */ function() {
|
|
1007
1007
|
function r() {
|
|
1008
1008
|
}
|
|
1009
1009
|
return function(o) {
|
|
@@ -1030,7 +1030,7 @@ Se.exports;
|
|
|
1030
1030
|
var o = this.has(r) && delete this.__data__[r];
|
|
1031
1031
|
return this.size -= o ? 1 : 0, o;
|
|
1032
1032
|
}
|
|
1033
|
-
function
|
|
1033
|
+
function Ae(r) {
|
|
1034
1034
|
var o = this.__data__;
|
|
1035
1035
|
if (lr) {
|
|
1036
1036
|
var i = o[r];
|
|
@@ -1046,7 +1046,7 @@ Se.exports;
|
|
|
1046
1046
|
var i = this.__data__;
|
|
1047
1047
|
return this.size += this.has(r) ? 0 : 1, i[r] = lr && o === void 0 ? u : o, this;
|
|
1048
1048
|
}
|
|
1049
|
-
rr.prototype.clear = De, rr.prototype.delete = de, rr.prototype.get =
|
|
1049
|
+
rr.prototype.clear = De, rr.prototype.delete = de, rr.prototype.get = Ae, rr.prototype.has = ce, rr.prototype.set = ue;
|
|
1050
1050
|
function Z(r) {
|
|
1051
1051
|
var o = -1, i = r == null ? 0 : r.length;
|
|
1052
1052
|
for (this.clear(); ++o < i; ) {
|
|
@@ -1054,7 +1054,7 @@ Se.exports;
|
|
|
1054
1054
|
this.set(c[0], c[1]);
|
|
1055
1055
|
}
|
|
1056
1056
|
}
|
|
1057
|
-
function
|
|
1057
|
+
function je() {
|
|
1058
1058
|
this.__data__ = [], this.size = 0;
|
|
1059
1059
|
}
|
|
1060
1060
|
function fe(r) {
|
|
@@ -1075,7 +1075,7 @@ Se.exports;
|
|
|
1075
1075
|
var i = this.__data__, c = H(i, r);
|
|
1076
1076
|
return c < 0 ? (++this.size, i.push([r, o])) : i[c][1] = o, this;
|
|
1077
1077
|
}
|
|
1078
|
-
Z.prototype.clear =
|
|
1078
|
+
Z.prototype.clear = je, Z.prototype.delete = fe, Z.prototype.get = We, Z.prototype.has = Le, Z.prototype.set = Ge;
|
|
1079
1079
|
function hr(r) {
|
|
1080
1080
|
var o = -1, i = r == null ? 0 : r.length;
|
|
1081
1081
|
for (this.clear(); ++o < i; ) {
|
|
@@ -1169,7 +1169,7 @@ Se.exports;
|
|
|
1169
1169
|
return r == null ? r === void 0 ? Ce : q : ir && ir in Object(r) ? qt(r) : eo(r);
|
|
1170
1170
|
}
|
|
1171
1171
|
function st(r) {
|
|
1172
|
-
return
|
|
1172
|
+
return Ar(r) && ge(r) == w;
|
|
1173
1173
|
}
|
|
1174
1174
|
function Mt(r) {
|
|
1175
1175
|
if (!yr(r) || Qt(r))
|
|
@@ -1178,9 +1178,9 @@ Se.exports;
|
|
|
1178
1178
|
return o.test(ao(r));
|
|
1179
1179
|
}
|
|
1180
1180
|
function Dt(r) {
|
|
1181
|
-
return
|
|
1181
|
+
return Ar(r) && ft(r.length) && !!F[ge(r)];
|
|
1182
1182
|
}
|
|
1183
|
-
function
|
|
1183
|
+
function At(r) {
|
|
1184
1184
|
if (!yr(r))
|
|
1185
1185
|
return ro(r);
|
|
1186
1186
|
var o = ct(r), i = [];
|
|
@@ -1191,14 +1191,14 @@ Se.exports;
|
|
|
1191
1191
|
function lt(r, o, i, c, y) {
|
|
1192
1192
|
r !== o && $t(o, function(I, P) {
|
|
1193
1193
|
if (y || (y = new v()), yr(I))
|
|
1194
|
-
|
|
1194
|
+
jt(r, o, P, i, lt, c, y);
|
|
1195
1195
|
else {
|
|
1196
1196
|
var m = c ? c(Ne(r, P), I, P + "", r, o, y) : void 0;
|
|
1197
1197
|
m === void 0 && (m = I), er(r, P, m);
|
|
1198
1198
|
}
|
|
1199
1199
|
}, gt);
|
|
1200
1200
|
}
|
|
1201
|
-
function
|
|
1201
|
+
function jt(r, o, i, c, y, I, P) {
|
|
1202
1202
|
var m = Ne(r, i), z = Ne(o, i), U = P.get(z);
|
|
1203
1203
|
if (U) {
|
|
1204
1204
|
er(r, i, U);
|
|
@@ -1230,7 +1230,7 @@ Se.exports;
|
|
|
1230
1230
|
}
|
|
1231
1231
|
function Yt(r) {
|
|
1232
1232
|
var o = new r.constructor(r.byteLength);
|
|
1233
|
-
return new
|
|
1233
|
+
return new Mr(o).set(new Mr(r)), o;
|
|
1234
1234
|
}
|
|
1235
1235
|
function Ht(r, o) {
|
|
1236
1236
|
var i = o ? Yt(r.buffer) : r.buffer;
|
|
@@ -1286,11 +1286,11 @@ Se.exports;
|
|
|
1286
1286
|
var c = !0;
|
|
1287
1287
|
} catch {
|
|
1288
1288
|
}
|
|
1289
|
-
var y =
|
|
1289
|
+
var y = zr.call(r);
|
|
1290
1290
|
return c && (o ? r[ir] = i : delete r[ir]), y;
|
|
1291
1291
|
}
|
|
1292
1292
|
function Kt(r) {
|
|
1293
|
-
return typeof r.constructor == "function" && !ct(r) ?
|
|
1293
|
+
return typeof r.constructor == "function" && !ct(r) ? Dr(ie(r)) : {};
|
|
1294
1294
|
}
|
|
1295
1295
|
function dt(r, o) {
|
|
1296
1296
|
var i = typeof r;
|
|
@@ -1321,7 +1321,7 @@ Se.exports;
|
|
|
1321
1321
|
return o;
|
|
1322
1322
|
}
|
|
1323
1323
|
function eo(r) {
|
|
1324
|
-
return
|
|
1324
|
+
return zr.call(r);
|
|
1325
1325
|
}
|
|
1326
1326
|
function to(r, o, i) {
|
|
1327
1327
|
return o = Fr(o === void 0 ? r.length - 1 : o, 0), function() {
|
|
@@ -1369,13 +1369,13 @@ Se.exports;
|
|
|
1369
1369
|
var Ue = st(/* @__PURE__ */ function() {
|
|
1370
1370
|
return arguments;
|
|
1371
1371
|
}()) ? st : function(r) {
|
|
1372
|
-
return
|
|
1372
|
+
return Ar(r) && J.call(r, "callee") && !ze.call(r, "callee");
|
|
1373
1373
|
}, Ve = Array.isArray;
|
|
1374
1374
|
function Xe(r) {
|
|
1375
1375
|
return r != null && ft(r.length) && !qe(r);
|
|
1376
1376
|
}
|
|
1377
1377
|
function io(r) {
|
|
1378
|
-
return
|
|
1378
|
+
return Ar(r) && Xe(r);
|
|
1379
1379
|
}
|
|
1380
1380
|
var ut = Me || fo;
|
|
1381
1381
|
function qe(r) {
|
|
@@ -1391,11 +1391,11 @@ Se.exports;
|
|
|
1391
1391
|
var o = typeof r;
|
|
1392
1392
|
return r != null && (o == "object" || o == "function");
|
|
1393
1393
|
}
|
|
1394
|
-
function
|
|
1394
|
+
function Ar(r) {
|
|
1395
1395
|
return r != null && typeof r == "object";
|
|
1396
1396
|
}
|
|
1397
1397
|
function so(r) {
|
|
1398
|
-
if (!
|
|
1398
|
+
if (!Ar(r) || ge(r) != j)
|
|
1399
1399
|
return !1;
|
|
1400
1400
|
var o = ie(r);
|
|
1401
1401
|
if (o === null)
|
|
@@ -1403,12 +1403,12 @@ Se.exports;
|
|
|
1403
1403
|
var i = J.call(o, "constructor") && o.constructor;
|
|
1404
1404
|
return typeof i == "function" && i instanceof i && gr.call(i) == ae;
|
|
1405
1405
|
}
|
|
1406
|
-
var pt =
|
|
1406
|
+
var pt = Or ? kr(Or) : Dt;
|
|
1407
1407
|
function lo(r) {
|
|
1408
1408
|
return Ut(r, gt(r));
|
|
1409
1409
|
}
|
|
1410
1410
|
function gt(r) {
|
|
1411
|
-
return Xe(r) ? Y(r, !0) :
|
|
1411
|
+
return Xe(r) ? Y(r, !0) : At(r);
|
|
1412
1412
|
}
|
|
1413
1413
|
var co = Vt(function(r, o, i, c) {
|
|
1414
1414
|
lt(r, o, i, c);
|
|
@@ -1427,9 +1427,9 @@ Se.exports;
|
|
|
1427
1427
|
e.exports = co;
|
|
1428
1428
|
})(Se, Se.exports);
|
|
1429
1429
|
var Do = Se.exports;
|
|
1430
|
-
const
|
|
1431
|
-
var
|
|
1432
|
-
const u = String(a), p =
|
|
1430
|
+
const Ao = /* @__PURE__ */ To(Do);
|
|
1431
|
+
var jo = (e) => /!(important)?$/.test(e), St = (e) => typeof e == "string" ? e.replace(/!(important)?$/, "").trim() : e, Wo = (e, a) => (l) => {
|
|
1432
|
+
const u = String(a), p = jo(u), S = St(u), C = e ? `${e}.${S}` : S;
|
|
1433
1433
|
let w = Et(l.__cssMap) && C in l.__cssMap ? l.__cssMap[C].varRef : a;
|
|
1434
1434
|
return w = St(w), p ? `${w} !important` : w;
|
|
1435
1435
|
};
|
|
@@ -1578,14 +1578,14 @@ function Jo(e, a) {
|
|
|
1578
1578
|
return e;
|
|
1579
1579
|
const T = g in rt ? rt[g] : g;
|
|
1580
1580
|
M.unshift(T);
|
|
1581
|
-
const B = M.map((
|
|
1582
|
-
if (qo.has(
|
|
1583
|
-
return
|
|
1584
|
-
const G =
|
|
1581
|
+
const B = M.map((A) => {
|
|
1582
|
+
if (qo.has(A))
|
|
1583
|
+
return A;
|
|
1584
|
+
const G = A.indexOf(" "), [cr, ur] = G !== -1 ? [A.substr(0, G), A.substr(G + 1)] : [A], fr = tt(ur) ? ur : ur && ur.split(" "), q = `colors.${cr}`, j = q in a.__cssMap ? a.__cssMap[q].varRef : cr;
|
|
1585
1585
|
return fr ? [
|
|
1586
|
-
|
|
1586
|
+
j,
|
|
1587
1587
|
...Array.isArray(fr) ? fr : [fr]
|
|
1588
|
-
].join(" ") :
|
|
1588
|
+
].join(" ") : j;
|
|
1589
1589
|
});
|
|
1590
1590
|
return `${w}(${B.join(", ")})`;
|
|
1591
1591
|
}
|
|
@@ -2052,7 +2052,7 @@ var sn = (e) => {
|
|
|
2052
2052
|
processResult: !0,
|
|
2053
2053
|
transform: (e, a, l) => Ze(a, e, l)
|
|
2054
2054
|
}
|
|
2055
|
-
},
|
|
2055
|
+
}, Yr = {
|
|
2056
2056
|
position: !0,
|
|
2057
2057
|
pos: n.prop("position"),
|
|
2058
2058
|
zIndex: n.prop("zIndex", "zIndices"),
|
|
@@ -2076,9 +2076,9 @@ var sn = (e) => {
|
|
|
2076
2076
|
property: { ltr: "right", rtl: "left" }
|
|
2077
2077
|
})
|
|
2078
2078
|
};
|
|
2079
|
-
Object.assign(
|
|
2080
|
-
insetStart:
|
|
2081
|
-
insetEnd:
|
|
2079
|
+
Object.assign(Yr, {
|
|
2080
|
+
insetStart: Yr.insetInlineStart,
|
|
2081
|
+
insetEnd: Yr.insetInlineEnd
|
|
2082
2082
|
});
|
|
2083
2083
|
var fn = {
|
|
2084
2084
|
ring: { transform: k.ring },
|
|
@@ -2230,13 +2230,13 @@ function Bt(e) {
|
|
|
2230
2230
|
var ke = (e, ...a) => a.map(Bt).join(` ${e} `).replace(/calc/g, ""), xt = (...e) => `calc(${ke("+", ...e)})`, kt = (...e) => `calc(${ke("-", ...e)})`, nt = (...e) => `calc(${ke("*", ...e)})`, _t = (...e) => `calc(${ke("/", ...e)})`, wt = (e) => {
|
|
2231
2231
|
const a = Bt(e);
|
|
2232
2232
|
return a != null && !Number.isNaN(parseFloat(a)) ? String(a).startsWith("-") ? String(a).slice(1) : `-${a}` : nt(a, -1);
|
|
2233
|
-
},
|
|
2233
|
+
}, Gr = Object.assign(
|
|
2234
2234
|
(e) => ({
|
|
2235
|
-
add: (...a) =>
|
|
2236
|
-
subtract: (...a) =>
|
|
2237
|
-
multiply: (...a) =>
|
|
2238
|
-
divide: (...a) =>
|
|
2239
|
-
negate: () =>
|
|
2235
|
+
add: (...a) => Gr(xt(e, ...a)),
|
|
2236
|
+
subtract: (...a) => Gr(kt(e, ...a)),
|
|
2237
|
+
multiply: (...a) => Gr(nt(e, ...a)),
|
|
2238
|
+
divide: (...a) => Gr(_t(e, ...a)),
|
|
2239
|
+
negate: () => Gr(wt(e)),
|
|
2240
2240
|
toString: () => e.toString()
|
|
2241
2241
|
}),
|
|
2242
2242
|
{
|
|
@@ -2323,7 +2323,7 @@ var ke = (e, ...a) => a.map(Bt).join(` ${e} `).replace(/calc/g, ""), xt = (...e)
|
|
|
2323
2323
|
_vertical: "&[data-orientation=vertical]"
|
|
2324
2324
|
}, vn = Object.keys(
|
|
2325
2325
|
Pt
|
|
2326
|
-
), zt =
|
|
2326
|
+
), zt = Ao(
|
|
2327
2327
|
{},
|
|
2328
2328
|
ye,
|
|
2329
2329
|
_,
|
|
@@ -2335,7 +2335,7 @@ var ke = (e, ...a) => a.map(Bt).join(` ${e} `).replace(/calc/g, ""), xt = (...e)
|
|
|
2335
2335
|
on,
|
|
2336
2336
|
It,
|
|
2337
2337
|
un,
|
|
2338
|
-
|
|
2338
|
+
Yr,
|
|
2339
2339
|
ot,
|
|
2340
2340
|
O,
|
|
2341
2341
|
mn,
|
|
@@ -2345,10 +2345,10 @@ var ke = (e, ...a) => a.map(Bt).join(` ${e} `).replace(/calc/g, ""), xt = (...e)
|
|
|
2345
2345
|
nn,
|
|
2346
2346
|
hn
|
|
2347
2347
|
);
|
|
2348
|
-
Object.assign({}, O, X, xe, It,
|
|
2348
|
+
Object.assign({}, O, X, xe, It, Yr);
|
|
2349
2349
|
[...Object.keys(zt), ...vn];
|
|
2350
2350
|
({ ...zt, ...Pt });
|
|
2351
|
-
function
|
|
2351
|
+
function Br(e) {
|
|
2352
2352
|
return {
|
|
2353
2353
|
definePartsStyle(a) {
|
|
2354
2354
|
return a;
|
|
@@ -2358,7 +2358,7 @@ function Hr(e) {
|
|
|
2358
2358
|
}
|
|
2359
2359
|
};
|
|
2360
2360
|
}
|
|
2361
|
-
const yn =
|
|
2361
|
+
const yn = Br([
|
|
2362
2362
|
"button",
|
|
2363
2363
|
"list",
|
|
2364
2364
|
"item",
|
|
@@ -2458,7 +2458,7 @@ const yn = Hr([
|
|
|
2458
2458
|
defaultProps: {
|
|
2459
2459
|
size: "md"
|
|
2460
2460
|
}
|
|
2461
|
-
}), xn =
|
|
2461
|
+
}), xn = Br(["addon", "field", "element"]), kn = xn.defineMultiStyleConfig({
|
|
2462
2462
|
baseStyle: {
|
|
2463
2463
|
field: {
|
|
2464
2464
|
fontWeight: "medium",
|
|
@@ -2522,12 +2522,12 @@ function R(e, a = {}) {
|
|
|
2522
2522
|
}
|
|
2523
2523
|
function C() {
|
|
2524
2524
|
return Object.fromEntries(
|
|
2525
|
-
Object.entries(a).map(([B,
|
|
2525
|
+
Object.entries(a).map(([B, A]) => [B, A.selector])
|
|
2526
2526
|
);
|
|
2527
2527
|
}
|
|
2528
2528
|
function w() {
|
|
2529
2529
|
return Object.fromEntries(
|
|
2530
|
-
Object.entries(a).map(([B,
|
|
2530
|
+
Object.entries(a).map(([B, A]) => [B, A.className])
|
|
2531
2531
|
);
|
|
2532
2532
|
}
|
|
2533
2533
|
function g(T) {
|
|
@@ -2550,24 +2550,24 @@ function R(e, a = {}) {
|
|
|
2550
2550
|
__type: {}
|
|
2551
2551
|
};
|
|
2552
2552
|
}
|
|
2553
|
-
R("accordion").parts("root", "container", "button", "panel").extend("icon");
|
|
2553
|
+
var _n = R("accordion").parts("root", "container", "button", "panel").extend("icon");
|
|
2554
2554
|
R("alert").parts("title", "description", "container").extend("icon", "spinner");
|
|
2555
2555
|
R("avatar").parts("label", "badge", "container").extend("excessLabel", "group");
|
|
2556
2556
|
R("breadcrumb").parts("link", "item", "container").extend("separator");
|
|
2557
2557
|
R("button").parts();
|
|
2558
2558
|
R("checkbox").parts("control", "icon", "container").extend("label");
|
|
2559
2559
|
R("progress").parts("track", "filledTrack").extend("label");
|
|
2560
|
-
var
|
|
2560
|
+
var wn = R("drawer").parts("overlay", "dialogContainer", "dialog").extend("header", "closeButton", "body", "footer");
|
|
2561
2561
|
R("editable").parts(
|
|
2562
2562
|
"preview",
|
|
2563
2563
|
"input",
|
|
2564
2564
|
"textarea"
|
|
2565
2565
|
);
|
|
2566
|
-
var
|
|
2566
|
+
var Tn = R("form").parts(
|
|
2567
2567
|
"container",
|
|
2568
2568
|
"requiredIndicator",
|
|
2569
2569
|
"helperText"
|
|
2570
|
-
),
|
|
2570
|
+
), Rn = R("formError").parts("text", "icon");
|
|
2571
2571
|
R("input").parts(
|
|
2572
2572
|
"addon",
|
|
2573
2573
|
"field",
|
|
@@ -2633,7 +2633,7 @@ R("tabs").parts(
|
|
|
2633
2633
|
"tabpanels",
|
|
2634
2634
|
"indicator"
|
|
2635
2635
|
);
|
|
2636
|
-
var
|
|
2636
|
+
var Cn = R("tag").parts(
|
|
2637
2637
|
"container",
|
|
2638
2638
|
"label",
|
|
2639
2639
|
"closeButton"
|
|
@@ -2644,8 +2644,8 @@ R("card").parts(
|
|
|
2644
2644
|
"body",
|
|
2645
2645
|
"footer"
|
|
2646
2646
|
);
|
|
2647
|
-
const { defineMultiStyleConfig:
|
|
2648
|
-
baseStyle:
|
|
2647
|
+
const { defineMultiStyleConfig: En, definePartsStyle: Fn } = Br(Tn.keys), In = En({
|
|
2648
|
+
baseStyle: Fn({
|
|
2649
2649
|
container: {
|
|
2650
2650
|
width: "100%",
|
|
2651
2651
|
position: "relative",
|
|
@@ -2665,8 +2665,8 @@ const { defineMultiStyleConfig: Cn, definePartsStyle: En } = Hr(wn.keys), Fn = C
|
|
|
2665
2665
|
sizes: {},
|
|
2666
2666
|
variants: {},
|
|
2667
2667
|
defaultProps: {}
|
|
2668
|
-
}), { defineMultiStyleConfig:
|
|
2669
|
-
baseStyle:
|
|
2668
|
+
}), { defineMultiStyleConfig: Bn, definePartsStyle: On } = Br(Rn.keys), Pn = Bn({
|
|
2669
|
+
baseStyle: On({
|
|
2670
2670
|
text: {
|
|
2671
2671
|
color: "utility.warning",
|
|
2672
2672
|
fontSize: ["sm", "md"]
|
|
@@ -2678,7 +2678,7 @@ const { defineMultiStyleConfig: Cn, definePartsStyle: En } = Hr(wn.keys), Fn = C
|
|
|
2678
2678
|
mr: 1
|
|
2679
2679
|
}
|
|
2680
2680
|
})
|
|
2681
|
-
}),
|
|
2681
|
+
}), zn = {
|
|
2682
2682
|
fontSize: ["sm", "md"],
|
|
2683
2683
|
color: "tints.black",
|
|
2684
2684
|
transitionProperty: "common",
|
|
@@ -2687,9 +2687,9 @@ const { defineMultiStyleConfig: Cn, definePartsStyle: En } = Hr(wn.keys), Fn = C
|
|
|
2687
2687
|
_disabled: {
|
|
2688
2688
|
opacity: 0.4
|
|
2689
2689
|
}
|
|
2690
|
-
},
|
|
2691
|
-
baseStyle:
|
|
2692
|
-
},
|
|
2690
|
+
}, $n = {
|
|
2691
|
+
baseStyle: zn
|
|
2692
|
+
}, Mn = Ir({
|
|
2693
2693
|
baseStyle: {
|
|
2694
2694
|
color: "viridian.base",
|
|
2695
2695
|
fontWeight: "normal",
|
|
@@ -2717,7 +2717,7 @@ const { defineMultiStyleConfig: Cn, definePartsStyle: En } = Hr(wn.keys), Fn = C
|
|
|
2717
2717
|
defaultProps: {
|
|
2718
2718
|
size: "md"
|
|
2719
2719
|
}
|
|
2720
|
-
}),
|
|
2720
|
+
}), Dn = Ir({
|
|
2721
2721
|
baseStyle: {
|
|
2722
2722
|
fontFamily: "heading",
|
|
2723
2723
|
fontWeight: "normal",
|
|
@@ -2764,7 +2764,7 @@ const { defineMultiStyleConfig: Cn, definePartsStyle: En } = Hr(wn.keys), Fn = C
|
|
|
2764
2764
|
defaultProps: {
|
|
2765
2765
|
size: "md"
|
|
2766
2766
|
}
|
|
2767
|
-
}),
|
|
2767
|
+
}), An = Ir({
|
|
2768
2768
|
baseStyle: {
|
|
2769
2769
|
fontFamily: "body",
|
|
2770
2770
|
fontWeight: "normal",
|
|
@@ -2811,7 +2811,7 @@ const { defineMultiStyleConfig: Cn, definePartsStyle: En } = Hr(wn.keys), Fn = C
|
|
|
2811
2811
|
defaultProps: {
|
|
2812
2812
|
size: "md"
|
|
2813
2813
|
}
|
|
2814
|
-
}), { defineMultiStyleConfig:
|
|
2814
|
+
}), { defineMultiStyleConfig: Wn, definePartsStyle: at } = Br(wn.keys), Ln = {
|
|
2815
2815
|
partial: at({
|
|
2816
2816
|
dialog: {
|
|
2817
2817
|
maxW: 560
|
|
@@ -2824,7 +2824,7 @@ const { defineMultiStyleConfig: Cn, definePartsStyle: En } = Hr(wn.keys), Fn = C
|
|
|
2824
2824
|
borderRadius: 0
|
|
2825
2825
|
}
|
|
2826
2826
|
})
|
|
2827
|
-
},
|
|
2827
|
+
}, Gn = at({
|
|
2828
2828
|
overlay: {
|
|
2829
2829
|
zIndex: "overlay",
|
|
2830
2830
|
bg: (e) => `${e.colors.tints.black}66`
|
|
@@ -2868,11 +2868,11 @@ const { defineMultiStyleConfig: Cn, definePartsStyle: En } = Hr(wn.keys), Fn = C
|
|
|
2868
2868
|
py: 6,
|
|
2869
2869
|
px: 8
|
|
2870
2870
|
}
|
|
2871
|
-
}),
|
|
2872
|
-
baseStyle:
|
|
2873
|
-
sizes:
|
|
2871
|
+
}), Yn = Wn({
|
|
2872
|
+
baseStyle: Gn,
|
|
2873
|
+
sizes: Ln,
|
|
2874
2874
|
defaultProps: { size: "partial" }
|
|
2875
|
-
}),
|
|
2875
|
+
}), Hn = Ir({
|
|
2876
2876
|
baseStyle: {},
|
|
2877
2877
|
sizes: {
|
|
2878
2878
|
sm: {
|
|
@@ -2895,9 +2895,9 @@ const { defineMultiStyleConfig: Cn, definePartsStyle: En } = Hr(wn.keys), Fn = C
|
|
|
2895
2895
|
defaultProps: {
|
|
2896
2896
|
size: "md"
|
|
2897
2897
|
}
|
|
2898
|
-
}), { defineMultiStyleConfig:
|
|
2899
|
-
|
|
2900
|
-
),
|
|
2898
|
+
}), { defineMultiStyleConfig: Nn } = So(
|
|
2899
|
+
Cn.keys
|
|
2900
|
+
), Un = {
|
|
2901
2901
|
sm: {
|
|
2902
2902
|
paddingX: ["2", "2"],
|
|
2903
2903
|
paddingY: ["0.5", "2"]
|
|
@@ -2906,7 +2906,7 @@ const { defineMultiStyleConfig: Cn, definePartsStyle: En } = Hr(wn.keys), Fn = C
|
|
|
2906
2906
|
paddingX: ["2", "3"],
|
|
2907
2907
|
paddingY: ["0.5", "3"]
|
|
2908
2908
|
}
|
|
2909
|
-
},
|
|
2909
|
+
}, Vn = Nn({
|
|
2910
2910
|
baseStyle: {
|
|
2911
2911
|
container: {
|
|
2912
2912
|
fontWeight: "medium",
|
|
@@ -2998,7 +2998,7 @@ const { defineMultiStyleConfig: Cn, definePartsStyle: En } = Hr(wn.keys), Fn = C
|
|
|
2998
2998
|
backgroundColor: "tints.white",
|
|
2999
2999
|
color: "tints.black",
|
|
3000
3000
|
borderRadius: "8px",
|
|
3001
|
-
...
|
|
3001
|
+
...Un[e]
|
|
3002
3002
|
},
|
|
3003
3003
|
label: {
|
|
3004
3004
|
backgroundColor: "tints.white",
|
|
@@ -3016,7 +3016,30 @@ const { defineMultiStyleConfig: Cn, definePartsStyle: En } = Hr(wn.keys), Fn = C
|
|
|
3016
3016
|
size: "md",
|
|
3017
3017
|
variant: "primary"
|
|
3018
3018
|
}
|
|
3019
|
-
}),
|
|
3019
|
+
}), { defineMultiStyleConfig: Xn, definePartsStyle: qn } = Br(_n.keys), Kn = qn({
|
|
3020
|
+
container: {
|
|
3021
|
+
borderBottom: "1px solid",
|
|
3022
|
+
borderColor: "tints.lightGrey",
|
|
3023
|
+
width: "100%",
|
|
3024
|
+
paddingBottom: "6",
|
|
3025
|
+
marginBottom: "8"
|
|
3026
|
+
},
|
|
3027
|
+
panel: {
|
|
3028
|
+
paddingBottom: 0,
|
|
3029
|
+
paddingTop: "8"
|
|
3030
|
+
},
|
|
3031
|
+
button: {
|
|
3032
|
+
width: "100%",
|
|
3033
|
+
display: "flex",
|
|
3034
|
+
justifyContent: "space-between"
|
|
3035
|
+
},
|
|
3036
|
+
icon: {
|
|
3037
|
+
color: "viridian.300"
|
|
3038
|
+
}
|
|
3039
|
+
}), Jn = Xn({
|
|
3040
|
+
baseStyle: Kn,
|
|
3041
|
+
defaultProps: {}
|
|
3042
|
+
}), Zn = {
|
|
3020
3043
|
tints: {
|
|
3021
3044
|
black: "#0F0F0F",
|
|
3022
3045
|
darkGrey: "#545454",
|
|
@@ -3130,8 +3153,8 @@ const { defineMultiStyleConfig: Cn, definePartsStyle: En } = Hr(wn.keys), Fn = C
|
|
|
3130
3153
|
success: "#28724F",
|
|
3131
3154
|
rating: "#F5A623"
|
|
3132
3155
|
}
|
|
3133
|
-
}, { semanticTokens:
|
|
3134
|
-
...
|
|
3156
|
+
}, { semanticTokens: sa, sizes: la, space: da, ...Qn } = Rt, E = (e) => `${e / 16}rem`, ra = (e) => e, ca = ra({
|
|
3157
|
+
...Qn,
|
|
3135
3158
|
breakpoints: {
|
|
3136
3159
|
// Chakra relies on the initial breakpoint being `base`
|
|
3137
3160
|
base: "0em",
|
|
@@ -3257,63 +3280,69 @@ const { defineMultiStyleConfig: Cn, definePartsStyle: En } = Hr(wn.keys), Fn = C
|
|
|
3257
3280
|
toast: 1700,
|
|
3258
3281
|
tooltip: 1800
|
|
3259
3282
|
},
|
|
3260
|
-
colors:
|
|
3283
|
+
colors: Zn,
|
|
3261
3284
|
components: {
|
|
3262
3285
|
Button: Mo,
|
|
3263
|
-
Drawer:
|
|
3264
|
-
Heading:
|
|
3286
|
+
Drawer: Yn,
|
|
3287
|
+
Heading: Dn,
|
|
3265
3288
|
Icon: jn,
|
|
3266
|
-
Link:
|
|
3267
|
-
Text:
|
|
3289
|
+
Link: Mn,
|
|
3290
|
+
Text: An,
|
|
3268
3291
|
Menu: Sn,
|
|
3269
3292
|
Input: kn,
|
|
3270
|
-
Form:
|
|
3293
|
+
Form: In,
|
|
3271
3294
|
// Not sure why chakra does not follow their naming convention for this theme, but this is the way that it works
|
|
3272
|
-
FormError:
|
|
3273
|
-
FormLabel:
|
|
3274
|
-
Spinner:
|
|
3275
|
-
Tag:
|
|
3295
|
+
FormError: Pn,
|
|
3296
|
+
FormLabel: $n,
|
|
3297
|
+
Spinner: Hn,
|
|
3298
|
+
Tag: Vn,
|
|
3299
|
+
Accordion: Jn
|
|
3276
3300
|
}
|
|
3277
3301
|
});
|
|
3278
3302
|
export {
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
|
|
3303
|
+
pa as Accordion,
|
|
3304
|
+
ga as AccordionButton,
|
|
3305
|
+
ha as AccordionIcon,
|
|
3306
|
+
ba as AccordionItem,
|
|
3307
|
+
ma as AccordionPanel,
|
|
3308
|
+
va as Box,
|
|
3309
|
+
ya as Button,
|
|
3310
|
+
Sa as Drawer,
|
|
3311
|
+
xa as DrawerBody,
|
|
3312
|
+
ka as DrawerCloseButton,
|
|
3313
|
+
_a as DrawerContent,
|
|
3314
|
+
wa as DrawerFooter,
|
|
3315
|
+
Ta as DrawerHeader,
|
|
3316
|
+
Ra as DrawerOverlay,
|
|
3317
|
+
Ca as FormControl,
|
|
3289
3318
|
Po as Grid,
|
|
3290
3319
|
zo as GridItem,
|
|
3291
|
-
|
|
3292
|
-
|
|
3320
|
+
Ea as Heading,
|
|
3321
|
+
aa as Hide,
|
|
3293
3322
|
Bo as Icon,
|
|
3294
3323
|
Oo as IconButton,
|
|
3295
|
-
|
|
3296
|
-
|
|
3297
|
-
|
|
3298
|
-
|
|
3299
|
-
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
|
|
3305
|
-
|
|
3306
|
-
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
|
|
3310
|
-
|
|
3311
|
-
|
|
3312
|
-
|
|
3313
|
-
|
|
3314
|
-
|
|
3315
|
-
|
|
3316
|
-
|
|
3317
|
-
|
|
3318
|
-
|
|
3324
|
+
Fa as Input,
|
|
3325
|
+
Ia as Link,
|
|
3326
|
+
Ba as Menu,
|
|
3327
|
+
Oa as MenuButton,
|
|
3328
|
+
Pa as MenuCommand,
|
|
3329
|
+
za as MenuDivider,
|
|
3330
|
+
$a as MenuGroup,
|
|
3331
|
+
Ma as MenuItem,
|
|
3332
|
+
Da as MenuItemOption,
|
|
3333
|
+
Aa as MenuList,
|
|
3334
|
+
ja as MenuOptionGroup,
|
|
3335
|
+
na as Show,
|
|
3336
|
+
Wa as Spinner,
|
|
3337
|
+
La as Tag,
|
|
3338
|
+
Ga as TagCloseButton,
|
|
3339
|
+
Ya as TagLabel,
|
|
3340
|
+
Ha as TagLeftIcon,
|
|
3341
|
+
Na as TagRightIcon,
|
|
3342
|
+
Ua as Text,
|
|
3343
|
+
ia as ThemeProvider,
|
|
3344
|
+
Va as VisuallyHidden,
|
|
3345
|
+
Xa as extendTheme,
|
|
3346
|
+
Ka as styled,
|
|
3347
|
+
ca as theme
|
|
3319
3348
|
};
|