@everlywell/ui-kit 1.1.0 → 1.1.2
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 +193 -174
- 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 +38 -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",
|
|
@@ -1014,10 +1014,10 @@ _r.exports;
|
|
|
1014
1014
|
(function(e, a) {
|
|
1015
1015
|
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
1016
|
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,
|
|
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, ge = Ce && or.process, nr = function() {
|
|
1018
1018
|
try {
|
|
1019
1019
|
var r = oe && oe.require && oe.require("util").types;
|
|
1020
|
-
return r ||
|
|
1020
|
+
return r || ge && ge.binding && ge.binding("util");
|
|
1021
1021
|
} catch {
|
|
1022
1022
|
}
|
|
1023
1023
|
}(), $e = nr && nr.isTypedArray;
|
|
@@ -1052,11 +1052,11 @@ _r.exports;
|
|
|
1052
1052
|
return r(o(i));
|
|
1053
1053
|
};
|
|
1054
1054
|
}
|
|
1055
|
-
var ir = Array.prototype, Ee = Function.prototype, Fe = Object.prototype, Me = le["__core-js_shared__"],
|
|
1055
|
+
var ir = Array.prototype, Ee = Function.prototype, Fe = Object.prototype, Me = le["__core-js_shared__"], he = Ee.toString, Q = Fe.hasOwnProperty, sr = function() {
|
|
1056
1056
|
var r = /[^.]+$/.exec(Me && Me.keys && Me.keys.IE_PROTO || "");
|
|
1057
1057
|
return r ? "Symbol(src)_1." + r : "";
|
|
1058
|
-
}(), Oe = Fe.toString, lr =
|
|
1059
|
-
"^" +
|
|
1058
|
+
}(), Oe = Fe.toString, lr = he.call(Object), ye = RegExp(
|
|
1059
|
+
"^" + he.call(Q).replace(er, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
1060
1060
|
), 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
1061
|
try {
|
|
1062
1062
|
var r = Ur(Object, "defineProperty");
|
|
@@ -1136,7 +1136,7 @@ _r.exports;
|
|
|
1136
1136
|
return c < 0 ? (++this.size, i.push([r, o])) : i[c][1] = o, this;
|
|
1137
1137
|
}
|
|
1138
1138
|
ee.prototype.clear = Yr, ee.prototype.delete = hr, ee.prototype.get = Hr, ee.prototype.has = Nr, ee.prototype.set = Vr;
|
|
1139
|
-
function
|
|
1139
|
+
function be(r) {
|
|
1140
1140
|
var o = -1, i = r == null ? 0 : r.length;
|
|
1141
1141
|
for (this.clear(); ++o < i; ) {
|
|
1142
1142
|
var c = r[o];
|
|
@@ -1164,7 +1164,7 @@ _r.exports;
|
|
|
1164
1164
|
var i = vr(this, r), c = i.size;
|
|
1165
1165
|
return i.set(r, o), this.size += i.size == c ? 0 : 1, this;
|
|
1166
1166
|
}
|
|
1167
|
-
|
|
1167
|
+
be.prototype.clear = t, be.prototype.delete = l, be.prototype.get = d, be.prototype.has = p, be.prototype.set = k;
|
|
1168
1168
|
function S(r) {
|
|
1169
1169
|
var o = this.__data__ = new ee(r);
|
|
1170
1170
|
this.size = o.size;
|
|
@@ -1188,7 +1188,7 @@ _r.exports;
|
|
|
1188
1188
|
var c = i.__data__;
|
|
1189
1189
|
if (!ce || c.length < s - 1)
|
|
1190
1190
|
return c.push([r, o]), this.size = ++i.size, this;
|
|
1191
|
-
i = this.__data__ = new
|
|
1191
|
+
i = this.__data__ = new be(c);
|
|
1192
1192
|
}
|
|
1193
1193
|
return i.set(r, o), this.size = i.size, this;
|
|
1194
1194
|
}
|
|
@@ -1413,7 +1413,7 @@ _r.exports;
|
|
|
1413
1413
|
function ho(r) {
|
|
1414
1414
|
if (r != null) {
|
|
1415
1415
|
try {
|
|
1416
|
-
return
|
|
1416
|
+
return he.call(r);
|
|
1417
1417
|
} catch {
|
|
1418
1418
|
}
|
|
1419
1419
|
try {
|
|
@@ -1461,7 +1461,7 @@ _r.exports;
|
|
|
1461
1461
|
if (o === null)
|
|
1462
1462
|
return !0;
|
|
1463
1463
|
var i = Q.call(o, "constructor") && o.constructor;
|
|
1464
|
-
return typeof i == "function" && i instanceof i &&
|
|
1464
|
+
return typeof i == "function" && i instanceof i && he.call(i) == lr;
|
|
1465
1465
|
}
|
|
1466
1466
|
var vt = $e ? Te($e) : Vt;
|
|
1467
1467
|
function vo(r) {
|
|
@@ -2319,7 +2319,7 @@ var Er = (e, ...a) => a.map(Dt).join(` ${e} `).replace(/calc/g, ""), Tt = (...e)
|
|
|
2319
2319
|
readOnly: (e, a) => `${e}:read-only ${a}, ${e}[readonly] ${a}, ${e}[data-read-only] ${a}`,
|
|
2320
2320
|
expanded: (e, a) => `${e}:read-only ${a}, ${e}[aria-expanded=true] ${a}, ${e}[data-expanded] ${a}`,
|
|
2321
2321
|
placeholderShown: (e, a) => `${e}:placeholder-shown ${a}`
|
|
2322
|
-
},
|
|
2322
|
+
}, 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
2323
|
_hover: "&:hover, &[data-hover]",
|
|
2324
2324
|
_active: "&:active, &[data-active]",
|
|
2325
2325
|
_focus: "&:focus, &[data-focus]",
|
|
@@ -2352,21 +2352,21 @@ var Er = (e, ...a) => a.map(Dt).join(` ${e} `).replace(/calc/g, ""), Tt = (...e)
|
|
|
2352
2352
|
_activeLink: "&[aria-current=page]",
|
|
2353
2353
|
_activeStep: "&[aria-current=step]",
|
|
2354
2354
|
_indeterminate: "&:indeterminate, &[aria-checked=mixed], &[data-indeterminate]",
|
|
2355
|
-
_groupHover:
|
|
2355
|
+
_groupHover: me(L.hover),
|
|
2356
2356
|
_peerHover: fe(L.hover),
|
|
2357
|
-
_groupFocus:
|
|
2357
|
+
_groupFocus: me(L.focus),
|
|
2358
2358
|
_peerFocus: fe(L.focus),
|
|
2359
|
-
_groupFocusVisible:
|
|
2359
|
+
_groupFocusVisible: me(L.focusVisible),
|
|
2360
2360
|
_peerFocusVisible: fe(L.focusVisible),
|
|
2361
|
-
_groupActive:
|
|
2361
|
+
_groupActive: me(L.active),
|
|
2362
2362
|
_peerActive: fe(L.active),
|
|
2363
|
-
_groupDisabled:
|
|
2363
|
+
_groupDisabled: me(L.disabled),
|
|
2364
2364
|
_peerDisabled: fe(L.disabled),
|
|
2365
|
-
_groupInvalid:
|
|
2365
|
+
_groupInvalid: me(L.invalid),
|
|
2366
2366
|
_peerInvalid: fe(L.invalid),
|
|
2367
|
-
_groupChecked:
|
|
2367
|
+
_groupChecked: me(L.checked),
|
|
2368
2368
|
_peerChecked: fe(L.checked),
|
|
2369
|
-
_groupFocusWithin:
|
|
2369
|
+
_groupFocusWithin: me(L.focusWithin),
|
|
2370
2370
|
_peerFocusWithin: fe(L.focusWithin),
|
|
2371
2371
|
_peerPlaceholderShown: fe(L.placeholderShown),
|
|
2372
2372
|
_placeholder: "&::placeholder",
|
|
@@ -2672,7 +2672,20 @@ const { defineMultiStyleConfig: Mn, definePartsStyle: On } = xe(Ho.keys), Bt = {
|
|
|
2672
2672
|
color: "tints.medGrey"
|
|
2673
2673
|
}
|
|
2674
2674
|
}
|
|
2675
|
-
}), Kn = Un({ baseStyle: qn }), Jn =
|
|
2675
|
+
}), Kn = Un({ baseStyle: qn }), Jn = pe({
|
|
2676
|
+
baseStyle: {
|
|
2677
|
+
thumb: {
|
|
2678
|
+
cursor: "grab",
|
|
2679
|
+
boxShadow: "md"
|
|
2680
|
+
},
|
|
2681
|
+
track: {
|
|
2682
|
+
h: "4px"
|
|
2683
|
+
}
|
|
2684
|
+
},
|
|
2685
|
+
sizes: {},
|
|
2686
|
+
variants: {},
|
|
2687
|
+
defaultProps: {}
|
|
2688
|
+
}), Zn = pe({
|
|
2676
2689
|
baseStyle: {
|
|
2677
2690
|
color: "viridian.base",
|
|
2678
2691
|
fontWeight: "normal",
|
|
@@ -2700,7 +2713,7 @@ const { defineMultiStyleConfig: Mn, definePartsStyle: On } = xe(Ho.keys), Bt = {
|
|
|
2700
2713
|
defaultProps: {
|
|
2701
2714
|
size: "md"
|
|
2702
2715
|
}
|
|
2703
|
-
}),
|
|
2716
|
+
}), Qn = pe({
|
|
2704
2717
|
baseStyle: {
|
|
2705
2718
|
fontFamily: "heading",
|
|
2706
2719
|
fontWeight: "normal",
|
|
@@ -2753,7 +2766,7 @@ const { defineMultiStyleConfig: Mn, definePartsStyle: On } = xe(Ho.keys), Bt = {
|
|
|
2753
2766
|
defaultProps: {
|
|
2754
2767
|
size: "md"
|
|
2755
2768
|
}
|
|
2756
|
-
}),
|
|
2769
|
+
}), ea = pe({
|
|
2757
2770
|
baseStyle: {
|
|
2758
2771
|
fontFamily: "body",
|
|
2759
2772
|
fontWeight: "normal",
|
|
@@ -2783,7 +2796,7 @@ const { defineMultiStyleConfig: Mn, definePartsStyle: On } = xe(Ho.keys), Bt = {
|
|
|
2783
2796
|
defaultProps: {
|
|
2784
2797
|
size: "lg"
|
|
2785
2798
|
}
|
|
2786
|
-
}),
|
|
2799
|
+
}), ra = pe({
|
|
2787
2800
|
baseStyle: {},
|
|
2788
2801
|
sizes: {
|
|
2789
2802
|
sm: {
|
|
@@ -2800,7 +2813,7 @@ const { defineMultiStyleConfig: Mn, definePartsStyle: On } = xe(Ho.keys), Bt = {
|
|
|
2800
2813
|
defaultProps: {
|
|
2801
2814
|
size: "md"
|
|
2802
2815
|
}
|
|
2803
|
-
}), { defineMultiStyleConfig:
|
|
2816
|
+
}), { defineMultiStyleConfig: ta, definePartsStyle: ct } = xe(Yo.keys), oa = {
|
|
2804
2817
|
partial: ct({
|
|
2805
2818
|
dialog: {
|
|
2806
2819
|
maxW: 560
|
|
@@ -2813,7 +2826,7 @@ const { defineMultiStyleConfig: Mn, definePartsStyle: On } = xe(Ho.keys), Bt = {
|
|
|
2813
2826
|
borderRadius: 0
|
|
2814
2827
|
}
|
|
2815
2828
|
})
|
|
2816
|
-
},
|
|
2829
|
+
}, na = ct({
|
|
2817
2830
|
overlay: {
|
|
2818
2831
|
zIndex: "overlay",
|
|
2819
2832
|
bg: (e) => `${e.colors.tints.black}66`
|
|
@@ -2857,12 +2870,12 @@ const { defineMultiStyleConfig: Mn, definePartsStyle: On } = xe(Ho.keys), Bt = {
|
|
|
2857
2870
|
py: 6,
|
|
2858
2871
|
px: 8
|
|
2859
2872
|
}
|
|
2860
|
-
}),
|
|
2861
|
-
baseStyle:
|
|
2862
|
-
sizes:
|
|
2873
|
+
}), aa = ta({
|
|
2874
|
+
baseStyle: na,
|
|
2875
|
+
sizes: oa,
|
|
2863
2876
|
defaultProps: { size: "partial" }
|
|
2864
|
-
}), Lt = Xe("progress-background"), Gt = Xe("progress-filled-background"), { defineMultiStyleConfig:
|
|
2865
|
-
baseStyle:
|
|
2877
|
+
}), Lt = Xe("progress-background"), Gt = Xe("progress-filled-background"), { defineMultiStyleConfig: ia, definePartsStyle: sa } = xe(Vo.keys), la = ia({
|
|
2878
|
+
baseStyle: sa({
|
|
2866
2879
|
label: {
|
|
2867
2880
|
lineHeight: "1",
|
|
2868
2881
|
fontSize: "0.25em",
|
|
@@ -2907,7 +2920,7 @@ const { defineMultiStyleConfig: Mn, definePartsStyle: On } = xe(Ho.keys), Bt = {
|
|
|
2907
2920
|
defaultProps: {
|
|
2908
2921
|
size: "xs"
|
|
2909
2922
|
}
|
|
2910
|
-
}),
|
|
2923
|
+
}), da = pe({
|
|
2911
2924
|
baseStyle: {},
|
|
2912
2925
|
sizes: {
|
|
2913
2926
|
sm: {
|
|
@@ -2930,20 +2943,20 @@ const { defineMultiStyleConfig: Mn, definePartsStyle: On } = xe(Ho.keys), Bt = {
|
|
|
2930
2943
|
defaultProps: {
|
|
2931
2944
|
size: "md"
|
|
2932
2945
|
}
|
|
2933
|
-
}),
|
|
2946
|
+
}), ca = Xe("skeleton-start-color"), ua = Xe("skeleton-end-color"), fa = Xe("skeleton-speed"), pa = pe({
|
|
2934
2947
|
baseStyle: {
|
|
2935
|
-
[
|
|
2936
|
-
[
|
|
2937
|
-
[
|
|
2948
|
+
[ca.variable]: "colors.tints.lightGrey",
|
|
2949
|
+
[ua.variable]: "colors.tints.medGrey",
|
|
2950
|
+
[fa.variable]: "0.8",
|
|
2938
2951
|
borderRadius: "sm",
|
|
2939
2952
|
p: "4"
|
|
2940
2953
|
},
|
|
2941
2954
|
sizes: {},
|
|
2942
2955
|
variants: {},
|
|
2943
2956
|
defaultProps: {}
|
|
2944
|
-
}), { defineMultiStyleConfig:
|
|
2957
|
+
}), { defineMultiStyleConfig: ga } = Tr(
|
|
2945
2958
|
Uo.keys
|
|
2946
|
-
),
|
|
2959
|
+
), ha = ga({
|
|
2947
2960
|
baseStyle: {
|
|
2948
2961
|
tab: {
|
|
2949
2962
|
color: "tints.darkGrey",
|
|
@@ -3008,9 +3021,9 @@ const { defineMultiStyleConfig: Mn, definePartsStyle: On } = xe(Ho.keys), Bt = {
|
|
|
3008
3021
|
defaultProps: {
|
|
3009
3022
|
size: "lg"
|
|
3010
3023
|
}
|
|
3011
|
-
}), { defineMultiStyleConfig:
|
|
3024
|
+
}), { defineMultiStyleConfig: ba } = Tr(
|
|
3012
3025
|
qo.keys
|
|
3013
|
-
),
|
|
3026
|
+
), ma = {
|
|
3014
3027
|
sm: {
|
|
3015
3028
|
paddingX: ["2", "2"],
|
|
3016
3029
|
paddingY: ["0.5", "2"]
|
|
@@ -3019,7 +3032,7 @@ const { defineMultiStyleConfig: Mn, definePartsStyle: On } = xe(Ho.keys), Bt = {
|
|
|
3019
3032
|
paddingX: ["2", "3"],
|
|
3020
3033
|
paddingY: ["0.5", "3"]
|
|
3021
3034
|
}
|
|
3022
|
-
},
|
|
3035
|
+
}, va = ba({
|
|
3023
3036
|
baseStyle: {
|
|
3024
3037
|
container: {
|
|
3025
3038
|
fontWeight: "medium",
|
|
@@ -3141,7 +3154,7 @@ const { defineMultiStyleConfig: Mn, definePartsStyle: On } = xe(Ho.keys), Bt = {
|
|
|
3141
3154
|
backgroundColor: "tints.white",
|
|
3142
3155
|
color: "tints.black",
|
|
3143
3156
|
borderRadius: "8px",
|
|
3144
|
-
...
|
|
3157
|
+
...ma[e]
|
|
3145
3158
|
},
|
|
3146
3159
|
label: {
|
|
3147
3160
|
backgroundColor: "tints.white",
|
|
@@ -3159,9 +3172,9 @@ const { defineMultiStyleConfig: Mn, definePartsStyle: On } = xe(Ho.keys), Bt = {
|
|
|
3159
3172
|
size: "md",
|
|
3160
3173
|
variant: "primary"
|
|
3161
3174
|
}
|
|
3162
|
-
}), { defineMultiStyleConfig:
|
|
3175
|
+
}), { defineMultiStyleConfig: ya } = xe(
|
|
3163
3176
|
Lo.keys
|
|
3164
|
-
),
|
|
3177
|
+
), Sa = ya({
|
|
3165
3178
|
baseStyle: {
|
|
3166
3179
|
container: {
|
|
3167
3180
|
width: "100%"
|
|
@@ -3214,7 +3227,7 @@ const { defineMultiStyleConfig: Mn, definePartsStyle: On } = xe(Ho.keys), Bt = {
|
|
|
3214
3227
|
size: "lg",
|
|
3215
3228
|
variant: "primary"
|
|
3216
3229
|
}
|
|
3217
|
-
}),
|
|
3230
|
+
}), xa = pe({
|
|
3218
3231
|
baseStyle: {
|
|
3219
3232
|
w: "100%",
|
|
3220
3233
|
paddingX: "48px"
|
|
@@ -3243,7 +3256,7 @@ const { defineMultiStyleConfig: Mn, definePartsStyle: On } = xe(Ho.keys), Bt = {
|
|
|
3243
3256
|
defaultProps: {
|
|
3244
3257
|
size: "lg"
|
|
3245
3258
|
}
|
|
3246
|
-
}),
|
|
3259
|
+
}), ka = {
|
|
3247
3260
|
tints: {
|
|
3248
3261
|
black: "#0F0F0F",
|
|
3249
3262
|
darkGrey: "#545454",
|
|
@@ -3357,8 +3370,8 @@ const { defineMultiStyleConfig: Mn, definePartsStyle: On } = xe(Ho.keys), Bt = {
|
|
|
3357
3370
|
success: "#28724F",
|
|
3358
3371
|
rating: "#F5A623"
|
|
3359
3372
|
}
|
|
3360
|
-
}, { semanticTokens:
|
|
3361
|
-
...
|
|
3373
|
+
}, { semanticTokens: Oa, sizes: Da, space: Aa, ...wa } = It, E = (e) => `${e / 16}rem`, _a = (e) => e, ja = _a({
|
|
3374
|
+
...wa,
|
|
3362
3375
|
breakpoints: {
|
|
3363
3376
|
// Chakra relies on the initial breakpoint being `base`
|
|
3364
3377
|
base: "0em",
|
|
@@ -3485,34 +3498,35 @@ const { defineMultiStyleConfig: Mn, definePartsStyle: On } = xe(Ho.keys), Bt = {
|
|
|
3485
3498
|
toast: 1700,
|
|
3486
3499
|
tooltip: 1800
|
|
3487
3500
|
},
|
|
3488
|
-
colors:
|
|
3501
|
+
colors: ka,
|
|
3489
3502
|
components: {
|
|
3490
|
-
Accordion:
|
|
3503
|
+
Accordion: Sa,
|
|
3491
3504
|
Button: Wo,
|
|
3492
3505
|
Checkbox: Zo,
|
|
3493
|
-
Container:
|
|
3494
|
-
Drawer:
|
|
3506
|
+
Container: xa,
|
|
3507
|
+
Drawer: aa,
|
|
3495
3508
|
Form: Dn,
|
|
3496
3509
|
// Not sure why chakra does not follow their naming convention for this theme, but this is the way that it works
|
|
3497
3510
|
FormError: Wn,
|
|
3498
3511
|
FormLabel: Gn,
|
|
3499
3512
|
Select: Kn,
|
|
3500
|
-
Heading:
|
|
3501
|
-
Icon:
|
|
3513
|
+
Heading: Qn,
|
|
3514
|
+
Icon: ra,
|
|
3502
3515
|
Input: Hn,
|
|
3503
|
-
Link:
|
|
3516
|
+
Link: Zn,
|
|
3504
3517
|
Menu: Vn,
|
|
3505
|
-
Progress:
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
}
|
|
3518
|
+
Progress: la,
|
|
3519
|
+
Slider: Jn,
|
|
3520
|
+
Spinner: da,
|
|
3521
|
+
Skeleton: pa,
|
|
3522
|
+
Tabs: ha,
|
|
3523
|
+
Tag: va,
|
|
3524
|
+
Text: ea
|
|
3525
|
+
}
|
|
3526
|
+
}), Ca = () => ko(), Yt = zo({
|
|
3513
3527
|
spacing: 0,
|
|
3514
3528
|
columns: 1
|
|
3515
|
-
}),
|
|
3529
|
+
}), Ta = Rr.forwardRef(
|
|
3516
3530
|
({
|
|
3517
3531
|
children: e,
|
|
3518
3532
|
alignEdges: a = !0,
|
|
@@ -3521,7 +3535,7 @@ const { defineMultiStyleConfig: Mn, definePartsStyle: On } = xe(Ho.keys), Bt = {
|
|
|
3521
3535
|
spacing: f,
|
|
3522
3536
|
...m
|
|
3523
3537
|
}, T) => {
|
|
3524
|
-
const w =
|
|
3538
|
+
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
3539
|
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
3540
|
wo,
|
|
3527
3541
|
{
|
|
@@ -3536,8 +3550,8 @@ const { defineMultiStyleConfig: Mn, definePartsStyle: On } = xe(Ho.keys), Bt = {
|
|
|
3536
3550
|
) }) });
|
|
3537
3551
|
}
|
|
3538
3552
|
);
|
|
3539
|
-
|
|
3540
|
-
const
|
|
3553
|
+
Ta.displayName = "Grid";
|
|
3554
|
+
const Ra = Rr.forwardRef(
|
|
3541
3555
|
({ children: e, width: a, ...s }, u) => {
|
|
3542
3556
|
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
3557
|
return /* @__PURE__ */ Y.jsx(
|
|
@@ -3557,10 +3571,10 @@ const Ta = Rr.forwardRef(
|
|
|
3557
3571
|
);
|
|
3558
3572
|
}
|
|
3559
3573
|
);
|
|
3560
|
-
|
|
3561
|
-
const
|
|
3562
|
-
|
|
3563
|
-
function
|
|
3574
|
+
Ra.displayName = "GridItem";
|
|
3575
|
+
const Wa = _o, La = Co, Ea = (e) => /* @__PURE__ */ Y.jsx(To, { icon: /* @__PURE__ */ Y.jsx(Pt, { as: zt }), ...e });
|
|
3576
|
+
Ea.displayName = "Checkbox";
|
|
3577
|
+
function Fa(e, a) {
|
|
3564
3578
|
const { background: s, filledBackground: u, ...f } = e;
|
|
3565
3579
|
return /* @__PURE__ */ Y.jsx(
|
|
3566
3580
|
Ro,
|
|
@@ -3574,7 +3588,7 @@ function Ea(e, a) {
|
|
|
3574
3588
|
}
|
|
3575
3589
|
);
|
|
3576
3590
|
}
|
|
3577
|
-
const
|
|
3591
|
+
const Ga = Mo(Fa), ot = "32px", kr = (e) => e == null, Ba = Eo((e, a) => {
|
|
3578
3592
|
const s = Fo(), u = {
|
|
3579
3593
|
isDisabled: s == null ? void 0 : s.isDisabled,
|
|
3580
3594
|
isFocusable: s == null ? void 0 : s.isFocusable,
|
|
@@ -3646,8 +3660,8 @@ const La = Mo(Ea), ot = "32px", kr = (e) => e == null, Fa = Eo((e, a) => {
|
|
|
3646
3660
|
}
|
|
3647
3661
|
);
|
|
3648
3662
|
});
|
|
3649
|
-
|
|
3650
|
-
const
|
|
3663
|
+
Ba.displayName = "Radio";
|
|
3664
|
+
const Ia = () => /* @__PURE__ */ Y.jsx(
|
|
3651
3665
|
Oo,
|
|
3652
3666
|
{
|
|
3653
3667
|
styles: `
|
|
@@ -3731,96 +3745,101 @@ const Ba = () => /* @__PURE__ */ Y.jsx(
|
|
|
3731
3745
|
}
|
|
3732
3746
|
`
|
|
3733
3747
|
}
|
|
3734
|
-
),
|
|
3748
|
+
), Ya = ({
|
|
3735
3749
|
children: e,
|
|
3736
3750
|
...a
|
|
3737
3751
|
}) => /* @__PURE__ */ Y.jsxs(Po, { ...a, children: [
|
|
3738
|
-
/* @__PURE__ */ Y.jsx(
|
|
3752
|
+
/* @__PURE__ */ Y.jsx(Ia, {}),
|
|
3739
3753
|
e
|
|
3740
3754
|
] });
|
|
3741
3755
|
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
|
-
|
|
3756
|
+
Va as Accordion,
|
|
3757
|
+
Xa as AccordionButton,
|
|
3758
|
+
Ua as AccordionIcon,
|
|
3759
|
+
qa as AccordionItem,
|
|
3760
|
+
Ka as AccordionPanel,
|
|
3761
|
+
Ja as Box,
|
|
3762
|
+
Za as Breadcrumb,
|
|
3763
|
+
Qa as BreadcrumbItem,
|
|
3764
|
+
ei as BreadcrumbLink,
|
|
3765
|
+
ri as BreadcrumbSeparator,
|
|
3766
|
+
ti as Button,
|
|
3767
|
+
Ea as Checkbox,
|
|
3768
|
+
oi as CheckboxGroup,
|
|
3769
|
+
ni as Container,
|
|
3770
|
+
ai as Drawer,
|
|
3771
|
+
ii as DrawerBody,
|
|
3772
|
+
si as DrawerCloseButton,
|
|
3773
|
+
li as DrawerContent,
|
|
3774
|
+
di as DrawerFooter,
|
|
3775
|
+
ci as DrawerHeader,
|
|
3776
|
+
ui as DrawerOverlay,
|
|
3777
|
+
fi as Flex,
|
|
3778
|
+
pi as FormControl,
|
|
3779
|
+
gi as FormErrorMessage,
|
|
3780
|
+
hi as FormHelperText,
|
|
3781
|
+
bi as FormLabel,
|
|
3782
|
+
Ta as Grid,
|
|
3783
|
+
Ra as GridItem,
|
|
3784
|
+
mi as HStack,
|
|
3785
|
+
vi as Heading,
|
|
3786
|
+
La as Hide,
|
|
3787
|
+
yi as Icon,
|
|
3788
|
+
Si as IconButton,
|
|
3789
|
+
xi as Image,
|
|
3790
|
+
ki as Input,
|
|
3791
|
+
wi as InputGroup,
|
|
3792
|
+
_i as InputLeftElement,
|
|
3793
|
+
Ci as InputRightElement,
|
|
3794
|
+
Ti as Link,
|
|
3795
|
+
Ri as List,
|
|
3796
|
+
Ei as ListIcon,
|
|
3797
|
+
Fi as ListItem,
|
|
3798
|
+
Bi as Menu,
|
|
3799
|
+
Ii as MenuButton,
|
|
3800
|
+
Pi as MenuCommand,
|
|
3801
|
+
zi as MenuDivider,
|
|
3802
|
+
$i as MenuGroup,
|
|
3803
|
+
Mi as MenuItem,
|
|
3804
|
+
Oi as MenuItemOption,
|
|
3805
|
+
Di as MenuList,
|
|
3806
|
+
Ai as MenuOptionGroup,
|
|
3807
|
+
ji as OrderedList,
|
|
3808
|
+
Ga as Progress,
|
|
3809
|
+
Ba as Radio,
|
|
3810
|
+
Wi as RadioGroup,
|
|
3811
|
+
Li as Select,
|
|
3812
|
+
Wa as Show,
|
|
3813
|
+
Gi as Skeleton,
|
|
3814
|
+
Yi as SkeletonCircle,
|
|
3815
|
+
Hi as SkeletonText,
|
|
3816
|
+
Ni as Slider,
|
|
3817
|
+
Vi as SliderFilledTrack,
|
|
3818
|
+
Xi as SliderMark,
|
|
3819
|
+
Ui as SliderThumb,
|
|
3820
|
+
qi as SliderTrack,
|
|
3821
|
+
Ki as Spacer,
|
|
3822
|
+
Ji as Spinner,
|
|
3823
|
+
Zi as Stack,
|
|
3824
|
+
Qi as Tab,
|
|
3825
|
+
es as TabList,
|
|
3826
|
+
rs as TabPanel,
|
|
3827
|
+
ts as TabPanels,
|
|
3828
|
+
os as Tabs,
|
|
3829
|
+
ns as Tag,
|
|
3830
|
+
as as TagCloseButton,
|
|
3831
|
+
is as TagLabel,
|
|
3832
|
+
ss as TagLeftIcon,
|
|
3833
|
+
ls as TagRightIcon,
|
|
3834
|
+
ds as Text,
|
|
3835
|
+
Ya as ThemeProvider,
|
|
3836
|
+
cs as UnorderedList,
|
|
3837
|
+
us as VStack,
|
|
3838
|
+
fs as VisuallyHidden,
|
|
3839
|
+
ps as extendTheme,
|
|
3840
|
+
vs as styled,
|
|
3841
|
+
ja as theme,
|
|
3842
|
+
gs as useMediaQuery,
|
|
3843
|
+
hs as useRadioGroup,
|
|
3844
|
+
bs as useTab
|
|
3826
3845
|
};
|