@everlywell/ui-kit 1.1.1 → 1.1.3
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 +5 -5
- package/index.mjs +194 -174
- package/lib/theme/actions/Checkbox/Checkbox.config.d.ts +1 -0
- package/lib/theme/actions/Slider/Slider.config.d.ts +19 -0
- package/lib/theme/actions/Slider/Slider.d.ts +3 -0
- package/lib/theme/index.d.ts +40 -18
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineStyleConfig as
|
|
2
|
-
import { Accordion as
|
|
1
|
+
import { defineStyleConfig as pe, createMultiStyleConfigHelpers as Tr, cssVar as Xe, baseTheme as It, useTheme as ko, Box as Ne, Flex as wo, Show as _o, Hide as Co, Checkbox as To, Icon as Pt, Progress as Ro, forwardRef as Eo, useRadioGroupContext as Fo, useRadio as Bo, chakra as Io, ChakraBaseProvider as Po } from "@chakra-ui/react";
|
|
2
|
+
import { Accordion as Va, AccordionButton as Xa, AccordionIcon as Ua, AccordionItem as qa, AccordionPanel as Ka, Box as Ja, Breadcrumb as Za, BreadcrumbItem as Qa, BreadcrumbLink as ei, BreadcrumbSeparator as ri, Button as ti, CheckboxGroup as oi, Container as ni, Drawer as ai, DrawerBody as ii, DrawerCloseButton as si, DrawerContent as li, DrawerFooter as di, DrawerHeader as ci, DrawerOverlay as ui, Flex as fi, FormControl as pi, FormErrorMessage as gi, FormHelperText as hi, FormLabel as bi, HStack as mi, Heading as vi, Icon as yi, IconButton as Si, Image as xi, Input as ki, InputGroup as wi, InputLeftElement as _i, InputRightElement as Ci, Link as Ti, List as Ri, ListIcon as Ei, ListItem as Fi, Menu as Bi, MenuButton as Ii, MenuCommand as Pi, MenuDivider as zi, MenuGroup as $i, MenuItem as Mi, MenuItemOption as Oi, MenuList as Di, MenuOptionGroup as Ai, OrderedList as ji, RadioGroup as Wi, Select as Li, Skeleton as Gi, SkeletonCircle as Yi, SkeletonText as Hi, Slider as Ni, SliderFilledTrack as Vi, SliderMark as Xi, SliderThumb as Ui, SliderTrack as qi, Spacer as Ki, Spinner as Ji, Stack as Zi, Tab as Qi, TabList as es, TabPanel as rs, TabPanels as ts, Tabs as os, Tag as ns, TagCloseButton as as, TagLabel as is, TagLeftIcon as ss, TagRightIcon as ls, Text as ds, UnorderedList as cs, VStack as us, VisuallyHidden as fs, extendBaseTheme as ps, useMediaQuery as gs, useRadioGroup as hs, useTab as bs } from "@chakra-ui/react";
|
|
3
3
|
import Rr, { createContext as zo, useContext as $o, forwardRef as Mo } from "react";
|
|
4
4
|
import { Check as zt } from "@phosphor-icons/react";
|
|
5
5
|
import { Global as Oo } from "@emotion/react";
|
|
6
|
-
import { default as
|
|
6
|
+
import { default as vs } 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 Do(e) {
|
|
9
9
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
@@ -186,16 +186,16 @@ function Ao() {
|
|
|
186
186
|
` + _e + t;
|
|
187
187
|
}
|
|
188
188
|
}
|
|
189
|
-
var Ce = !1,
|
|
189
|
+
var Ce = !1, ge;
|
|
190
190
|
{
|
|
191
191
|
var nr = typeof WeakMap == "function" ? WeakMap : Map;
|
|
192
|
-
|
|
192
|
+
ge = new nr();
|
|
193
193
|
}
|
|
194
194
|
function $e(t, l) {
|
|
195
195
|
if (!t || Ce)
|
|
196
196
|
return "";
|
|
197
197
|
{
|
|
198
|
-
var d =
|
|
198
|
+
var d = ge.get(t);
|
|
199
199
|
if (d !== void 0)
|
|
200
200
|
return d;
|
|
201
201
|
}
|
|
@@ -250,7 +250,7 @@ function Ao() {
|
|
|
250
250
|
if (A--, j--, j < 0 || h[A] !== W[j]) {
|
|
251
251
|
var H = `
|
|
252
252
|
` + h[A].replace(" at new ", " at ");
|
|
253
|
-
return t.displayName && H.includes("<anonymous>") && (H = H.replace("<anonymous>", t.displayName)), typeof t == "function" &&
|
|
253
|
+
return t.displayName && H.includes("<anonymous>") && (H = H.replace("<anonymous>", t.displayName)), typeof t == "function" && ge.set(t, H), H;
|
|
254
254
|
}
|
|
255
255
|
while (A >= 1 && j >= 0);
|
|
256
256
|
break;
|
|
@@ -260,7 +260,7 @@ function Ao() {
|
|
|
260
260
|
Ce = !1, le.current = S, Mr(), Error.prepareStackTrace = k;
|
|
261
261
|
}
|
|
262
262
|
var ae = t ? t.displayName || t.name : "", br = ae ? oe(ae) : "";
|
|
263
|
-
return typeof t == "function" &&
|
|
263
|
+
return typeof t == "function" && ge.set(t, br), br;
|
|
264
264
|
}
|
|
265
265
|
function Or(t, l, d) {
|
|
266
266
|
return $e(t, !1);
|
|
@@ -326,7 +326,7 @@ function Ao() {
|
|
|
326
326
|
}
|
|
327
327
|
}
|
|
328
328
|
var Me = Array.isArray;
|
|
329
|
-
function
|
|
329
|
+
function he(t) {
|
|
330
330
|
return Me(t);
|
|
331
331
|
}
|
|
332
332
|
function Q(t) {
|
|
@@ -513,7 +513,7 @@ Check the top-level render call using <` + d + ">.");
|
|
|
513
513
|
{
|
|
514
514
|
if (typeof t != "object")
|
|
515
515
|
return;
|
|
516
|
-
if (
|
|
516
|
+
if (he(t))
|
|
517
517
|
for (var d = 0; d < t.length; d++) {
|
|
518
518
|
var p = t[d];
|
|
519
519
|
je(p) && pr(p, l);
|
|
@@ -574,7 +574,7 @@ Check the top-level render call using <` + d + ">.");
|
|
|
574
574
|
var W = Lr(k);
|
|
575
575
|
W ? h += W : h += ne();
|
|
576
576
|
var A;
|
|
577
|
-
t === null ? A = "null" :
|
|
577
|
+
t === null ? A = "null" : he(t) ? A = "array" : t !== void 0 && t.$$typeof === a ? (A = "<" + (Z(t.type) || "Unknown") + " />", h = " Did you accidentally export a JSX literal instead of a component?") : A = 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", A, h);
|
|
578
578
|
}
|
|
579
579
|
var j = Wr(t, l, d, k, S);
|
|
580
580
|
if (j == null)
|
|
@@ -583,7 +583,7 @@ Check the top-level render call using <` + d + ">.");
|
|
|
583
583
|
var H = l.children;
|
|
584
584
|
if (H !== void 0)
|
|
585
585
|
if (p)
|
|
586
|
-
if (
|
|
586
|
+
if (he(H)) {
|
|
587
587
|
for (var ae = 0; ae < H.length; ae++)
|
|
588
588
|
gr(H[ae], t);
|
|
589
589
|
Object.freeze && Object.freeze(H);
|
|
@@ -601,8 +601,8 @@ Check the top-level render call using <` + d + ">.");
|
|
|
601
601
|
function Nr(t, l, d) {
|
|
602
602
|
return hr(t, l, d, !1);
|
|
603
603
|
}
|
|
604
|
-
var Vr = Nr,
|
|
605
|
-
Ge.Fragment = u, Ge.jsx = Vr, Ge.jsxs =
|
|
604
|
+
var Vr = Nr, be = Hr;
|
|
605
|
+
Ge.Fragment = u, Ge.jsx = Vr, Ge.jsxs = be;
|
|
606
606
|
}()), Ge;
|
|
607
607
|
}
|
|
608
608
|
var Ye = {};
|
|
@@ -635,7 +635,7 @@ function jo() {
|
|
|
635
635
|
}
|
|
636
636
|
process.env.NODE_ENV === "production" ? nt.exports = jo() : nt.exports = Ao();
|
|
637
637
|
var Y = nt.exports;
|
|
638
|
-
const _t = ["redCS", "greenCS"], Wo =
|
|
638
|
+
const _t = ["redCS", "greenCS"], Wo = pe({
|
|
639
639
|
// The styles all button have in common
|
|
640
640
|
baseStyle: {
|
|
641
641
|
fontFamily: "body",
|
|
@@ -942,6 +942,7 @@ const { definePartsStyle: Ko, defineMultiStyleConfig: Jo } = Tr(Go.keys), Zo = J
|
|
|
942
942
|
boxSize: 24,
|
|
943
943
|
padding: 0.5,
|
|
944
944
|
borderRadius: "6px",
|
|
945
|
+
borderStyle: "solid",
|
|
945
946
|
borderWidth: 1,
|
|
946
947
|
borderColor: "tints.uiGrey",
|
|
947
948
|
color: "transparent",
|
|
@@ -1014,10 +1015,10 @@ _r.exports;
|
|
|
1014
1015
|
(function(e, a) {
|
|
1015
1016
|
var s = 200, u = "__lodash_hash_undefined__", f = 800, m = 16, T = 9007199254740991, w = "[object Arguments]", g = "[object Array]", P = "[object AsyncFunction]", _ = "[object Boolean]", y = "[object Date]", D = "[object Error]", G = "[object Function]", V = "[object GeneratorFunction]", re = "[object Map]", te = "[object Number]", X = "[object Null]", $ = "[object Object]", ke = "[object Proxy]", we = "[object RegExp]", Fr = "[object Set]", Br = "[object String]", Ir = "[object Undefined]", Pr = "[object WeakMap]", Ue = "[object ArrayBuffer]", zr = "[object DataView]", $r = "[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*)$/, B = {};
|
|
1016
1017
|
B[$r] = B[qe] = B[Z] = B[se] = B[ve] = B[Ke] = B[Je] = B[Ze] = B[Qe] = !0, B[w] = B[g] = B[Ue] = B[_] = B[zr] = B[y] = B[D] = B[G] = B[re] = B[te] = B[$] = B[we] = B[Fr] = B[Br] = B[Pr] = !1;
|
|
1017
|
-
var or = typeof Sr == "object" && Sr && Sr.Object === Object && Sr, Mr = typeof self == "object" && self && self.Object === Object && self, le = or || Mr || Function("return this")(), _e = a && !a.nodeType && a, oe = _e && !0 && e && !e.nodeType && e, Ce = oe && oe.exports === _e,
|
|
1018
|
+
var or = typeof Sr == "object" && Sr && Sr.Object === Object && Sr, Mr = typeof self == "object" && self && self.Object === Object && self, le = or || Mr || Function("return this")(), _e = a && !a.nodeType && a, oe = _e && !0 && e && !e.nodeType && e, Ce = oe && oe.exports === _e, ge = Ce && or.process, nr = function() {
|
|
1018
1019
|
try {
|
|
1019
1020
|
var r = oe && oe.require && oe.require("util").types;
|
|
1020
|
-
return r ||
|
|
1021
|
+
return r || ge && ge.binding && ge.binding("util");
|
|
1021
1022
|
} catch {
|
|
1022
1023
|
}
|
|
1023
1024
|
}(), $e = nr && nr.isTypedArray;
|
|
@@ -1052,11 +1053,11 @@ _r.exports;
|
|
|
1052
1053
|
return r(o(i));
|
|
1053
1054
|
};
|
|
1054
1055
|
}
|
|
1055
|
-
var ir = Array.prototype, Ee = Function.prototype, Fe = Object.prototype, Me = le["__core-js_shared__"],
|
|
1056
|
+
var ir = Array.prototype, Ee = Function.prototype, Fe = Object.prototype, Me = le["__core-js_shared__"], he = Ee.toString, Q = Fe.hasOwnProperty, sr = function() {
|
|
1056
1057
|
var r = /[^.]+$/.exec(Me && Me.keys && Me.keys.IE_PROTO || "");
|
|
1057
1058
|
return r ? "Symbol(src)_1." + r : "";
|
|
1058
|
-
}(), Oe = Fe.toString, lr =
|
|
1059
|
-
"^" +
|
|
1059
|
+
}(), Oe = Fe.toString, lr = he.call(Object), ye = RegExp(
|
|
1060
|
+
"^" + he.call(Q).replace(er, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
1060
1061
|
), Be = Ce ? le.Buffer : void 0, De = le.Symbol, Ae = le.Uint8Array, Ie = Be ? Be.allocUnsafe : void 0, dr = ar(Object.getPrototypeOf, Object), cr = Object.create, Ar = Fe.propertyIsEnumerable, jr = ir.splice, de = De ? De.toStringTag : void 0, Pe = function() {
|
|
1061
1062
|
try {
|
|
1062
1063
|
var r = Ur(Object, "defineProperty");
|
|
@@ -1136,7 +1137,7 @@ _r.exports;
|
|
|
1136
1137
|
return c < 0 ? (++this.size, i.push([r, o])) : i[c][1] = o, this;
|
|
1137
1138
|
}
|
|
1138
1139
|
ee.prototype.clear = Yr, ee.prototype.delete = hr, ee.prototype.get = Hr, ee.prototype.has = Nr, ee.prototype.set = Vr;
|
|
1139
|
-
function
|
|
1140
|
+
function be(r) {
|
|
1140
1141
|
var o = -1, i = r == null ? 0 : r.length;
|
|
1141
1142
|
for (this.clear(); ++o < i; ) {
|
|
1142
1143
|
var c = r[o];
|
|
@@ -1164,7 +1165,7 @@ _r.exports;
|
|
|
1164
1165
|
var i = vr(this, r), c = i.size;
|
|
1165
1166
|
return i.set(r, o), this.size += i.size == c ? 0 : 1, this;
|
|
1166
1167
|
}
|
|
1167
|
-
|
|
1168
|
+
be.prototype.clear = t, be.prototype.delete = l, be.prototype.get = d, be.prototype.has = p, be.prototype.set = k;
|
|
1168
1169
|
function S(r) {
|
|
1169
1170
|
var o = this.__data__ = new ee(r);
|
|
1170
1171
|
this.size = o.size;
|
|
@@ -1188,7 +1189,7 @@ _r.exports;
|
|
|
1188
1189
|
var c = i.__data__;
|
|
1189
1190
|
if (!ce || c.length < s - 1)
|
|
1190
1191
|
return c.push([r, o]), this.size = ++i.size, this;
|
|
1191
|
-
i = this.__data__ = new
|
|
1192
|
+
i = this.__data__ = new be(c);
|
|
1192
1193
|
}
|
|
1193
1194
|
return i.set(r, o), this.size = i.size, this;
|
|
1194
1195
|
}
|
|
@@ -1413,7 +1414,7 @@ _r.exports;
|
|
|
1413
1414
|
function ho(r) {
|
|
1414
1415
|
if (r != null) {
|
|
1415
1416
|
try {
|
|
1416
|
-
return
|
|
1417
|
+
return he.call(r);
|
|
1417
1418
|
} catch {
|
|
1418
1419
|
}
|
|
1419
1420
|
try {
|
|
@@ -1461,7 +1462,7 @@ _r.exports;
|
|
|
1461
1462
|
if (o === null)
|
|
1462
1463
|
return !0;
|
|
1463
1464
|
var i = Q.call(o, "constructor") && o.constructor;
|
|
1464
|
-
return typeof i == "function" && i instanceof i &&
|
|
1465
|
+
return typeof i == "function" && i instanceof i && he.call(i) == lr;
|
|
1465
1466
|
}
|
|
1466
1467
|
var vt = $e ? Te($e) : Vt;
|
|
1467
1468
|
function vo(r) {
|
|
@@ -2319,7 +2320,7 @@ var Er = (e, ...a) => a.map(Dt).join(` ${e} `).replace(/calc/g, ""), Tt = (...e)
|
|
|
2319
2320
|
readOnly: (e, a) => `${e}:read-only ${a}, ${e}[readonly] ${a}, ${e}[data-read-only] ${a}`,
|
|
2320
2321
|
expanded: (e, a) => `${e}:read-only ${a}, ${e}[aria-expanded=true] ${a}, ${e}[data-expanded] ${a}`,
|
|
2321
2322
|
placeholderShown: (e, a) => `${e}:placeholder-shown ${a}`
|
|
2322
|
-
},
|
|
2323
|
+
}, me = (e) => At((a) => e(a, "&"), "[role=group]", "[data-group]", ".group"), fe = (e) => At((a) => e(a, "~ &"), "[data-peer]", ".peer"), At = (e, ...a) => a.map(e).join(", "), jt = {
|
|
2323
2324
|
_hover: "&:hover, &[data-hover]",
|
|
2324
2325
|
_active: "&:active, &[data-active]",
|
|
2325
2326
|
_focus: "&:focus, &[data-focus]",
|
|
@@ -2352,21 +2353,21 @@ var Er = (e, ...a) => a.map(Dt).join(` ${e} `).replace(/calc/g, ""), Tt = (...e)
|
|
|
2352
2353
|
_activeLink: "&[aria-current=page]",
|
|
2353
2354
|
_activeStep: "&[aria-current=step]",
|
|
2354
2355
|
_indeterminate: "&:indeterminate, &[aria-checked=mixed], &[data-indeterminate]",
|
|
2355
|
-
_groupHover:
|
|
2356
|
+
_groupHover: me(L.hover),
|
|
2356
2357
|
_peerHover: fe(L.hover),
|
|
2357
|
-
_groupFocus:
|
|
2358
|
+
_groupFocus: me(L.focus),
|
|
2358
2359
|
_peerFocus: fe(L.focus),
|
|
2359
|
-
_groupFocusVisible:
|
|
2360
|
+
_groupFocusVisible: me(L.focusVisible),
|
|
2360
2361
|
_peerFocusVisible: fe(L.focusVisible),
|
|
2361
|
-
_groupActive:
|
|
2362
|
+
_groupActive: me(L.active),
|
|
2362
2363
|
_peerActive: fe(L.active),
|
|
2363
|
-
_groupDisabled:
|
|
2364
|
+
_groupDisabled: me(L.disabled),
|
|
2364
2365
|
_peerDisabled: fe(L.disabled),
|
|
2365
|
-
_groupInvalid:
|
|
2366
|
+
_groupInvalid: me(L.invalid),
|
|
2366
2367
|
_peerInvalid: fe(L.invalid),
|
|
2367
|
-
_groupChecked:
|
|
2368
|
+
_groupChecked: me(L.checked),
|
|
2368
2369
|
_peerChecked: fe(L.checked),
|
|
2369
|
-
_groupFocusWithin:
|
|
2370
|
+
_groupFocusWithin: me(L.focusWithin),
|
|
2370
2371
|
_peerFocusWithin: fe(L.focusWithin),
|
|
2371
2372
|
_peerPlaceholderShown: fe(L.placeholderShown),
|
|
2372
2373
|
_placeholder: "&::placeholder",
|
|
@@ -2672,7 +2673,20 @@ const { defineMultiStyleConfig: Mn, definePartsStyle: On } = xe(Ho.keys), Bt = {
|
|
|
2672
2673
|
color: "tints.medGrey"
|
|
2673
2674
|
}
|
|
2674
2675
|
}
|
|
2675
|
-
}), Kn = Un({ baseStyle: qn }), Jn =
|
|
2676
|
+
}), Kn = Un({ baseStyle: qn }), Jn = pe({
|
|
2677
|
+
baseStyle: {
|
|
2678
|
+
thumb: {
|
|
2679
|
+
cursor: "grab",
|
|
2680
|
+
boxShadow: "md"
|
|
2681
|
+
},
|
|
2682
|
+
track: {
|
|
2683
|
+
h: "4px"
|
|
2684
|
+
}
|
|
2685
|
+
},
|
|
2686
|
+
sizes: {},
|
|
2687
|
+
variants: {},
|
|
2688
|
+
defaultProps: {}
|
|
2689
|
+
}), Zn = pe({
|
|
2676
2690
|
baseStyle: {
|
|
2677
2691
|
color: "viridian.base",
|
|
2678
2692
|
fontWeight: "normal",
|
|
@@ -2700,7 +2714,7 @@ const { defineMultiStyleConfig: Mn, definePartsStyle: On } = xe(Ho.keys), Bt = {
|
|
|
2700
2714
|
defaultProps: {
|
|
2701
2715
|
size: "md"
|
|
2702
2716
|
}
|
|
2703
|
-
}),
|
|
2717
|
+
}), Qn = pe({
|
|
2704
2718
|
baseStyle: {
|
|
2705
2719
|
fontFamily: "heading",
|
|
2706
2720
|
fontWeight: "normal",
|
|
@@ -2753,7 +2767,7 @@ const { defineMultiStyleConfig: Mn, definePartsStyle: On } = xe(Ho.keys), Bt = {
|
|
|
2753
2767
|
defaultProps: {
|
|
2754
2768
|
size: "md"
|
|
2755
2769
|
}
|
|
2756
|
-
}),
|
|
2770
|
+
}), ea = pe({
|
|
2757
2771
|
baseStyle: {
|
|
2758
2772
|
fontFamily: "body",
|
|
2759
2773
|
fontWeight: "normal",
|
|
@@ -2783,7 +2797,7 @@ const { defineMultiStyleConfig: Mn, definePartsStyle: On } = xe(Ho.keys), Bt = {
|
|
|
2783
2797
|
defaultProps: {
|
|
2784
2798
|
size: "lg"
|
|
2785
2799
|
}
|
|
2786
|
-
}),
|
|
2800
|
+
}), ra = pe({
|
|
2787
2801
|
baseStyle: {},
|
|
2788
2802
|
sizes: {
|
|
2789
2803
|
sm: {
|
|
@@ -2800,7 +2814,7 @@ const { defineMultiStyleConfig: Mn, definePartsStyle: On } = xe(Ho.keys), Bt = {
|
|
|
2800
2814
|
defaultProps: {
|
|
2801
2815
|
size: "md"
|
|
2802
2816
|
}
|
|
2803
|
-
}), { defineMultiStyleConfig:
|
|
2817
|
+
}), { defineMultiStyleConfig: ta, definePartsStyle: ct } = xe(Yo.keys), oa = {
|
|
2804
2818
|
partial: ct({
|
|
2805
2819
|
dialog: {
|
|
2806
2820
|
maxW: 560
|
|
@@ -2813,7 +2827,7 @@ const { defineMultiStyleConfig: Mn, definePartsStyle: On } = xe(Ho.keys), Bt = {
|
|
|
2813
2827
|
borderRadius: 0
|
|
2814
2828
|
}
|
|
2815
2829
|
})
|
|
2816
|
-
},
|
|
2830
|
+
}, na = ct({
|
|
2817
2831
|
overlay: {
|
|
2818
2832
|
zIndex: "overlay",
|
|
2819
2833
|
bg: (e) => `${e.colors.tints.black}66`
|
|
@@ -2857,12 +2871,12 @@ const { defineMultiStyleConfig: Mn, definePartsStyle: On } = xe(Ho.keys), Bt = {
|
|
|
2857
2871
|
py: 6,
|
|
2858
2872
|
px: 8
|
|
2859
2873
|
}
|
|
2860
|
-
}),
|
|
2861
|
-
baseStyle:
|
|
2862
|
-
sizes:
|
|
2874
|
+
}), aa = ta({
|
|
2875
|
+
baseStyle: na,
|
|
2876
|
+
sizes: oa,
|
|
2863
2877
|
defaultProps: { size: "partial" }
|
|
2864
|
-
}), Lt = Xe("progress-background"), Gt = Xe("progress-filled-background"), { defineMultiStyleConfig:
|
|
2865
|
-
baseStyle:
|
|
2878
|
+
}), Lt = Xe("progress-background"), Gt = Xe("progress-filled-background"), { defineMultiStyleConfig: ia, definePartsStyle: sa } = xe(Vo.keys), la = ia({
|
|
2879
|
+
baseStyle: sa({
|
|
2866
2880
|
label: {
|
|
2867
2881
|
lineHeight: "1",
|
|
2868
2882
|
fontSize: "0.25em",
|
|
@@ -2907,7 +2921,7 @@ const { defineMultiStyleConfig: Mn, definePartsStyle: On } = xe(Ho.keys), Bt = {
|
|
|
2907
2921
|
defaultProps: {
|
|
2908
2922
|
size: "xs"
|
|
2909
2923
|
}
|
|
2910
|
-
}),
|
|
2924
|
+
}), da = pe({
|
|
2911
2925
|
baseStyle: {},
|
|
2912
2926
|
sizes: {
|
|
2913
2927
|
sm: {
|
|
@@ -2930,20 +2944,20 @@ const { defineMultiStyleConfig: Mn, definePartsStyle: On } = xe(Ho.keys), Bt = {
|
|
|
2930
2944
|
defaultProps: {
|
|
2931
2945
|
size: "md"
|
|
2932
2946
|
}
|
|
2933
|
-
}),
|
|
2947
|
+
}), ca = Xe("skeleton-start-color"), ua = Xe("skeleton-end-color"), fa = Xe("skeleton-speed"), pa = pe({
|
|
2934
2948
|
baseStyle: {
|
|
2935
|
-
[
|
|
2936
|
-
[
|
|
2937
|
-
[
|
|
2949
|
+
[ca.variable]: "colors.tints.lightGrey",
|
|
2950
|
+
[ua.variable]: "colors.tints.medGrey",
|
|
2951
|
+
[fa.variable]: "0.8",
|
|
2938
2952
|
borderRadius: "sm",
|
|
2939
2953
|
p: "4"
|
|
2940
2954
|
},
|
|
2941
2955
|
sizes: {},
|
|
2942
2956
|
variants: {},
|
|
2943
2957
|
defaultProps: {}
|
|
2944
|
-
}), { defineMultiStyleConfig:
|
|
2958
|
+
}), { defineMultiStyleConfig: ga } = Tr(
|
|
2945
2959
|
Uo.keys
|
|
2946
|
-
),
|
|
2960
|
+
), ha = ga({
|
|
2947
2961
|
baseStyle: {
|
|
2948
2962
|
tab: {
|
|
2949
2963
|
color: "tints.darkGrey",
|
|
@@ -3008,9 +3022,9 @@ const { defineMultiStyleConfig: Mn, definePartsStyle: On } = xe(Ho.keys), Bt = {
|
|
|
3008
3022
|
defaultProps: {
|
|
3009
3023
|
size: "lg"
|
|
3010
3024
|
}
|
|
3011
|
-
}), { defineMultiStyleConfig:
|
|
3025
|
+
}), { defineMultiStyleConfig: ba } = Tr(
|
|
3012
3026
|
qo.keys
|
|
3013
|
-
),
|
|
3027
|
+
), ma = {
|
|
3014
3028
|
sm: {
|
|
3015
3029
|
paddingX: ["2", "2"],
|
|
3016
3030
|
paddingY: ["0.5", "2"]
|
|
@@ -3019,7 +3033,7 @@ const { defineMultiStyleConfig: Mn, definePartsStyle: On } = xe(Ho.keys), Bt = {
|
|
|
3019
3033
|
paddingX: ["2", "3"],
|
|
3020
3034
|
paddingY: ["0.5", "3"]
|
|
3021
3035
|
}
|
|
3022
|
-
},
|
|
3036
|
+
}, va = ba({
|
|
3023
3037
|
baseStyle: {
|
|
3024
3038
|
container: {
|
|
3025
3039
|
fontWeight: "medium",
|
|
@@ -3141,7 +3155,7 @@ const { defineMultiStyleConfig: Mn, definePartsStyle: On } = xe(Ho.keys), Bt = {
|
|
|
3141
3155
|
backgroundColor: "tints.white",
|
|
3142
3156
|
color: "tints.black",
|
|
3143
3157
|
borderRadius: "8px",
|
|
3144
|
-
...
|
|
3158
|
+
...ma[e]
|
|
3145
3159
|
},
|
|
3146
3160
|
label: {
|
|
3147
3161
|
backgroundColor: "tints.white",
|
|
@@ -3159,9 +3173,9 @@ const { defineMultiStyleConfig: Mn, definePartsStyle: On } = xe(Ho.keys), Bt = {
|
|
|
3159
3173
|
size: "md",
|
|
3160
3174
|
variant: "primary"
|
|
3161
3175
|
}
|
|
3162
|
-
}), { defineMultiStyleConfig:
|
|
3176
|
+
}), { defineMultiStyleConfig: ya } = xe(
|
|
3163
3177
|
Lo.keys
|
|
3164
|
-
),
|
|
3178
|
+
), Sa = ya({
|
|
3165
3179
|
baseStyle: {
|
|
3166
3180
|
container: {
|
|
3167
3181
|
width: "100%"
|
|
@@ -3214,7 +3228,7 @@ const { defineMultiStyleConfig: Mn, definePartsStyle: On } = xe(Ho.keys), Bt = {
|
|
|
3214
3228
|
size: "lg",
|
|
3215
3229
|
variant: "primary"
|
|
3216
3230
|
}
|
|
3217
|
-
}),
|
|
3231
|
+
}), xa = pe({
|
|
3218
3232
|
baseStyle: {
|
|
3219
3233
|
w: "100%",
|
|
3220
3234
|
paddingX: "48px"
|
|
@@ -3243,7 +3257,7 @@ const { defineMultiStyleConfig: Mn, definePartsStyle: On } = xe(Ho.keys), Bt = {
|
|
|
3243
3257
|
defaultProps: {
|
|
3244
3258
|
size: "lg"
|
|
3245
3259
|
}
|
|
3246
|
-
}),
|
|
3260
|
+
}), ka = {
|
|
3247
3261
|
tints: {
|
|
3248
3262
|
black: "#0F0F0F",
|
|
3249
3263
|
darkGrey: "#545454",
|
|
@@ -3357,8 +3371,8 @@ const { defineMultiStyleConfig: Mn, definePartsStyle: On } = xe(Ho.keys), Bt = {
|
|
|
3357
3371
|
success: "#28724F",
|
|
3358
3372
|
rating: "#F5A623"
|
|
3359
3373
|
}
|
|
3360
|
-
}, { semanticTokens:
|
|
3361
|
-
...
|
|
3374
|
+
}, { semanticTokens: Oa, sizes: Da, space: Aa, ...wa } = It, E = (e) => `${e / 16}rem`, _a = (e) => e, ja = _a({
|
|
3375
|
+
...wa,
|
|
3362
3376
|
breakpoints: {
|
|
3363
3377
|
// Chakra relies on the initial breakpoint being `base`
|
|
3364
3378
|
base: "0em",
|
|
@@ -3485,34 +3499,35 @@ const { defineMultiStyleConfig: Mn, definePartsStyle: On } = xe(Ho.keys), Bt = {
|
|
|
3485
3499
|
toast: 1700,
|
|
3486
3500
|
tooltip: 1800
|
|
3487
3501
|
},
|
|
3488
|
-
colors:
|
|
3502
|
+
colors: ka,
|
|
3489
3503
|
components: {
|
|
3490
|
-
Accordion:
|
|
3504
|
+
Accordion: Sa,
|
|
3491
3505
|
Button: Wo,
|
|
3492
3506
|
Checkbox: Zo,
|
|
3493
|
-
Container:
|
|
3494
|
-
Drawer:
|
|
3507
|
+
Container: xa,
|
|
3508
|
+
Drawer: aa,
|
|
3495
3509
|
Form: Dn,
|
|
3496
3510
|
// Not sure why chakra does not follow their naming convention for this theme, but this is the way that it works
|
|
3497
3511
|
FormError: Wn,
|
|
3498
3512
|
FormLabel: Gn,
|
|
3499
3513
|
Select: Kn,
|
|
3500
|
-
Heading:
|
|
3501
|
-
Icon:
|
|
3514
|
+
Heading: Qn,
|
|
3515
|
+
Icon: ra,
|
|
3502
3516
|
Input: Hn,
|
|
3503
|
-
Link:
|
|
3517
|
+
Link: Zn,
|
|
3504
3518
|
Menu: Vn,
|
|
3505
|
-
Progress:
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
}
|
|
3519
|
+
Progress: la,
|
|
3520
|
+
Slider: Jn,
|
|
3521
|
+
Spinner: da,
|
|
3522
|
+
Skeleton: pa,
|
|
3523
|
+
Tabs: ha,
|
|
3524
|
+
Tag: va,
|
|
3525
|
+
Text: ea
|
|
3526
|
+
}
|
|
3527
|
+
}), Ca = () => ko(), Yt = zo({
|
|
3513
3528
|
spacing: 0,
|
|
3514
3529
|
columns: 1
|
|
3515
|
-
}),
|
|
3530
|
+
}), Ta = Rr.forwardRef(
|
|
3516
3531
|
({
|
|
3517
3532
|
children: e,
|
|
3518
3533
|
alignEdges: a = !0,
|
|
@@ -3521,7 +3536,7 @@ const { defineMultiStyleConfig: Mn, definePartsStyle: On } = xe(Ho.keys), Bt = {
|
|
|
3521
3536
|
spacing: f,
|
|
3522
3537
|
...m
|
|
3523
3538
|
}, T) => {
|
|
3524
|
-
const w =
|
|
3539
|
+
const w = Ca(), g = f ?? w.space[4], P = (y) => typeof y == "number" ? -1 * y : `-${y}`, _ = Array.isArray(g) ? g.map((y) => y && P(y)) : g && P(g);
|
|
3525
3540
|
return /* @__PURE__ */ Y.jsx(Yt.Provider, { value: { spacing: g, columns: u }, children: /* @__PURE__ */ Y.jsx(Ne, { m: a ? _ : void 0, children: /* @__PURE__ */ Y.jsx(
|
|
3526
3541
|
wo,
|
|
3527
3542
|
{
|
|
@@ -3536,8 +3551,8 @@ const { defineMultiStyleConfig: Mn, definePartsStyle: On } = xe(Ho.keys), Bt = {
|
|
|
3536
3551
|
) }) });
|
|
3537
3552
|
}
|
|
3538
3553
|
);
|
|
3539
|
-
|
|
3540
|
-
const
|
|
3554
|
+
Ta.displayName = "Grid";
|
|
3555
|
+
const Ra = Rr.forwardRef(
|
|
3541
3556
|
({ children: e, width: a, ...s }, u) => {
|
|
3542
3557
|
const { columns: f, spacing: m } = $o(Yt), T = Array.isArray(a) ? a.map((g) => g === "auto" ? 1 : 0) : a === "auto" ? 1 : 0, w = () => (Array.isArray(f) ? f : [f]).map((P) => `${100 / P}%`);
|
|
3543
3558
|
return /* @__PURE__ */ Y.jsx(
|
|
@@ -3557,10 +3572,10 @@ const Ta = Rr.forwardRef(
|
|
|
3557
3572
|
);
|
|
3558
3573
|
}
|
|
3559
3574
|
);
|
|
3560
|
-
|
|
3561
|
-
const
|
|
3562
|
-
|
|
3563
|
-
function
|
|
3575
|
+
Ra.displayName = "GridItem";
|
|
3576
|
+
const Wa = _o, La = Co, Ea = (e) => /* @__PURE__ */ Y.jsx(To, { icon: /* @__PURE__ */ Y.jsx(Pt, { as: zt }), ...e });
|
|
3577
|
+
Ea.displayName = "Checkbox";
|
|
3578
|
+
function Fa(e, a) {
|
|
3564
3579
|
const { background: s, filledBackground: u, ...f } = e;
|
|
3565
3580
|
return /* @__PURE__ */ Y.jsx(
|
|
3566
3581
|
Ro,
|
|
@@ -3574,7 +3589,7 @@ function Ea(e, a) {
|
|
|
3574
3589
|
}
|
|
3575
3590
|
);
|
|
3576
3591
|
}
|
|
3577
|
-
const
|
|
3592
|
+
const Ga = Mo(Fa), ot = "32px", kr = (e) => e == null, Ba = Eo((e, a) => {
|
|
3578
3593
|
const s = Fo(), u = {
|
|
3579
3594
|
isDisabled: s == null ? void 0 : s.isDisabled,
|
|
3580
3595
|
isFocusable: s == null ? void 0 : s.isFocusable,
|
|
@@ -3646,8 +3661,8 @@ const La = Mo(Ea), ot = "32px", kr = (e) => e == null, Fa = Eo((e, a) => {
|
|
|
3646
3661
|
}
|
|
3647
3662
|
);
|
|
3648
3663
|
});
|
|
3649
|
-
|
|
3650
|
-
const
|
|
3664
|
+
Ba.displayName = "Radio";
|
|
3665
|
+
const Ia = () => /* @__PURE__ */ Y.jsx(
|
|
3651
3666
|
Oo,
|
|
3652
3667
|
{
|
|
3653
3668
|
styles: `
|
|
@@ -3731,96 +3746,101 @@ const Ba = () => /* @__PURE__ */ Y.jsx(
|
|
|
3731
3746
|
}
|
|
3732
3747
|
`
|
|
3733
3748
|
}
|
|
3734
|
-
),
|
|
3749
|
+
), Ya = ({
|
|
3735
3750
|
children: e,
|
|
3736
3751
|
...a
|
|
3737
3752
|
}) => /* @__PURE__ */ Y.jsxs(Po, { ...a, children: [
|
|
3738
|
-
/* @__PURE__ */ Y.jsx(
|
|
3753
|
+
/* @__PURE__ */ Y.jsx(Ia, {}),
|
|
3739
3754
|
e
|
|
3740
3755
|
] });
|
|
3741
3756
|
export {
|
|
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
|
-
|
|
3769
|
-
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
|
|
3773
|
-
|
|
3774
|
-
|
|
3775
|
-
|
|
3776
|
-
|
|
3777
|
-
|
|
3778
|
-
|
|
3779
|
-
|
|
3780
|
-
|
|
3781
|
-
|
|
3782
|
-
|
|
3783
|
-
|
|
3784
|
-
|
|
3785
|
-
|
|
3786
|
-
|
|
3787
|
-
|
|
3788
|
-
|
|
3789
|
-
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
|
|
3793
|
-
|
|
3794
|
-
|
|
3795
|
-
|
|
3796
|
-
|
|
3797
|
-
|
|
3798
|
-
|
|
3799
|
-
|
|
3800
|
-
|
|
3801
|
-
|
|
3802
|
-
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
|
|
3810
|
-
|
|
3811
|
-
|
|
3812
|
-
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
|
|
3816
|
-
|
|
3817
|
-
|
|
3818
|
-
|
|
3819
|
-
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
|
|
3825
|
-
|
|
3757
|
+
Va as Accordion,
|
|
3758
|
+
Xa as AccordionButton,
|
|
3759
|
+
Ua as AccordionIcon,
|
|
3760
|
+
qa as AccordionItem,
|
|
3761
|
+
Ka as AccordionPanel,
|
|
3762
|
+
Ja as Box,
|
|
3763
|
+
Za as Breadcrumb,
|
|
3764
|
+
Qa as BreadcrumbItem,
|
|
3765
|
+
ei as BreadcrumbLink,
|
|
3766
|
+
ri as BreadcrumbSeparator,
|
|
3767
|
+
ti as Button,
|
|
3768
|
+
Ea as Checkbox,
|
|
3769
|
+
oi as CheckboxGroup,
|
|
3770
|
+
ni as Container,
|
|
3771
|
+
ai as Drawer,
|
|
3772
|
+
ii as DrawerBody,
|
|
3773
|
+
si as DrawerCloseButton,
|
|
3774
|
+
li as DrawerContent,
|
|
3775
|
+
di as DrawerFooter,
|
|
3776
|
+
ci as DrawerHeader,
|
|
3777
|
+
ui as DrawerOverlay,
|
|
3778
|
+
fi as Flex,
|
|
3779
|
+
pi as FormControl,
|
|
3780
|
+
gi as FormErrorMessage,
|
|
3781
|
+
hi as FormHelperText,
|
|
3782
|
+
bi as FormLabel,
|
|
3783
|
+
Ta as Grid,
|
|
3784
|
+
Ra as GridItem,
|
|
3785
|
+
mi as HStack,
|
|
3786
|
+
vi as Heading,
|
|
3787
|
+
La as Hide,
|
|
3788
|
+
yi as Icon,
|
|
3789
|
+
Si as IconButton,
|
|
3790
|
+
xi as Image,
|
|
3791
|
+
ki as Input,
|
|
3792
|
+
wi as InputGroup,
|
|
3793
|
+
_i as InputLeftElement,
|
|
3794
|
+
Ci as InputRightElement,
|
|
3795
|
+
Ti as Link,
|
|
3796
|
+
Ri as List,
|
|
3797
|
+
Ei as ListIcon,
|
|
3798
|
+
Fi as ListItem,
|
|
3799
|
+
Bi as Menu,
|
|
3800
|
+
Ii as MenuButton,
|
|
3801
|
+
Pi as MenuCommand,
|
|
3802
|
+
zi as MenuDivider,
|
|
3803
|
+
$i as MenuGroup,
|
|
3804
|
+
Mi as MenuItem,
|
|
3805
|
+
Oi as MenuItemOption,
|
|
3806
|
+
Di as MenuList,
|
|
3807
|
+
Ai as MenuOptionGroup,
|
|
3808
|
+
ji as OrderedList,
|
|
3809
|
+
Ga as Progress,
|
|
3810
|
+
Ba as Radio,
|
|
3811
|
+
Wi as RadioGroup,
|
|
3812
|
+
Li as Select,
|
|
3813
|
+
Wa as Show,
|
|
3814
|
+
Gi as Skeleton,
|
|
3815
|
+
Yi as SkeletonCircle,
|
|
3816
|
+
Hi as SkeletonText,
|
|
3817
|
+
Ni as Slider,
|
|
3818
|
+
Vi as SliderFilledTrack,
|
|
3819
|
+
Xi as SliderMark,
|
|
3820
|
+
Ui as SliderThumb,
|
|
3821
|
+
qi as SliderTrack,
|
|
3822
|
+
Ki as Spacer,
|
|
3823
|
+
Ji as Spinner,
|
|
3824
|
+
Zi as Stack,
|
|
3825
|
+
Qi as Tab,
|
|
3826
|
+
es as TabList,
|
|
3827
|
+
rs as TabPanel,
|
|
3828
|
+
ts as TabPanels,
|
|
3829
|
+
os as Tabs,
|
|
3830
|
+
ns as Tag,
|
|
3831
|
+
as as TagCloseButton,
|
|
3832
|
+
is as TagLabel,
|
|
3833
|
+
ss as TagLeftIcon,
|
|
3834
|
+
ls as TagRightIcon,
|
|
3835
|
+
ds as Text,
|
|
3836
|
+
Ya as ThemeProvider,
|
|
3837
|
+
cs as UnorderedList,
|
|
3838
|
+
us as VStack,
|
|
3839
|
+
fs as VisuallyHidden,
|
|
3840
|
+
ps as extendTheme,
|
|
3841
|
+
vs as styled,
|
|
3842
|
+
ja as theme,
|
|
3843
|
+
gs as useMediaQuery,
|
|
3844
|
+
hs as useRadioGroup,
|
|
3845
|
+
bs as useTab
|
|
3826
3846
|
};
|