@everlywell/ui-kit 1.7.1 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +4 -4
- package/index.mjs +388 -380
- package/lib/theme/actions/Input/Input.config.d.ts +5 -1
- package/lib/theme/actions/Select/Select.config.d.ts +2 -1
- package/lib/theme/index.d.ts +16 -22
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineStyleConfig as re, createMultiStyleConfigHelpers as Me, cssVar as qe, baseTheme as
|
|
2
|
-
import { Accordion as
|
|
3
|
-
import Er, { createContext as
|
|
4
|
-
import { Check as
|
|
5
|
-
import { Global as
|
|
6
|
-
import { default as
|
|
1
|
+
import { defineStyleConfig as re, createMultiStyleConfigHelpers as Me, cssVar as qe, baseTheme as Ot, useTheme as Ro, Box as Ve, Flex as Eo, Show as Fo, Hide as Bo, Checkbox as Io, Icon as Dt, Progress as zo, forwardRef as Po, useRadioGroupContext as $o, useRadio as Mo, chakra as Oo, ChakraBaseProvider as Do } from "@chakra-ui/react";
|
|
2
|
+
import { Accordion as ni, AccordionButton as ai, AccordionIcon as ii, AccordionItem as si, AccordionPanel as li, Box as di, Breadcrumb as ci, BreadcrumbItem as ui, BreadcrumbLink as fi, BreadcrumbSeparator as pi, Button as gi, CheckboxGroup as hi, Container as bi, Drawer as mi, DrawerBody as yi, DrawerCloseButton as vi, DrawerContent as Si, DrawerFooter as xi, DrawerHeader as ki, DrawerOverlay as wi, Flex as _i, FormControl as Ci, FormErrorMessage as Ti, FormHelperText as Ri, FormLabel as Ei, HStack as Fi, Heading as Bi, Icon as Ii, IconButton as zi, Image as Pi, Input as $i, InputGroup as Mi, InputLeftElement as Oi, InputRightElement as Di, Link as Ai, List as Wi, ListIcon as ji, ListItem as Li, Menu as Gi, MenuButton as Yi, MenuCommand as Hi, MenuDivider as Ni, MenuGroup as Xi, MenuItem as Vi, MenuItemOption as Ui, MenuList as qi, MenuOptionGroup as Ki, Modal as Ji, ModalBody as Zi, ModalCloseButton as Qi, ModalContent as es, ModalFooter as rs, ModalHeader as ts, ModalOverlay as os, OrderedList as ns, RadioGroup as as, Select as is, Skeleton as ss, SkeletonCircle as ls, SkeletonText as ds, Slider as cs, SliderFilledTrack as us, SliderMark as fs, SliderThumb as ps, SliderTrack as gs, Spacer as hs, Spinner as bs, Stack as ms, Step as ys, StepDescription as vs, StepIcon as Ss, StepIndicator as xs, StepNumber as ks, StepSeparator as ws, StepStatus as _s, StepTitle as Cs, Stepper as Ts, Tab as Rs, TabList as Es, TabPanel as Fs, TabPanels as Bs, Table as Is, TableCaption as zs, TableContainer as Ps, Tabs as $s, Tag as Ms, TagCloseButton as Os, TagLabel as Ds, TagLeftIcon as As, TagRightIcon as Ws, Tbody as js, Td as Ls, Text as Gs, Tfoot as Ys, Th as Hs, Thead as Ns, Tooltip as Xs, Tr as Vs, UnorderedList as Us, VStack as qs, VisuallyHidden as Ks, extendBaseTheme as Js, useDisclosure as Zs, useMediaQuery as Qs, useRadioGroup as el, useSteps as rl, useTab as tl } from "@chakra-ui/react";
|
|
3
|
+
import Er, { createContext as Ao, useContext as Wo, forwardRef as jo } from "react";
|
|
4
|
+
import { Check as At } from "@phosphor-icons/react";
|
|
5
|
+
import { Global as Lo } from "@emotion/react";
|
|
6
|
+
import { default as nl } from "@emotion/styled";
|
|
7
7
|
var kr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
8
|
-
function
|
|
8
|
+
function Go(e) {
|
|
9
9
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
10
10
|
}
|
|
11
11
|
var at = { exports: {} }, He = {};
|
|
@@ -19,7 +19,7 @@ var at = { exports: {} }, He = {};
|
|
|
19
19
|
* LICENSE file in the root directory of this source tree.
|
|
20
20
|
*/
|
|
21
21
|
var wt;
|
|
22
|
-
function
|
|
22
|
+
function Yo() {
|
|
23
23
|
return wt || (wt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
24
24
|
var e = Er, a = Symbol.for("react.element"), s = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), f = Symbol.for("react.strict_mode"), m = Symbol.for("react.profiler"), T = Symbol.for("react.provider"), w = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), z = Symbol.for("react.suspense"), _ = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), D = Symbol.for("react.lazy"), G = Symbol.for("react.offscreen"), X = Symbol.iterator, te = "@@iterator";
|
|
25
25
|
function oe(t) {
|
|
@@ -616,7 +616,7 @@ var Ne = {};
|
|
|
616
616
|
* LICENSE file in the root directory of this source tree.
|
|
617
617
|
*/
|
|
618
618
|
var _t;
|
|
619
|
-
function
|
|
619
|
+
function Ho() {
|
|
620
620
|
if (_t)
|
|
621
621
|
return Ne;
|
|
622
622
|
_t = 1;
|
|
@@ -633,9 +633,9 @@ function Yo() {
|
|
|
633
633
|
}
|
|
634
634
|
return Ne.Fragment = s, Ne.jsx = T, Ne.jsxs = T, Ne;
|
|
635
635
|
}
|
|
636
|
-
process.env.NODE_ENV === "production" ? at.exports =
|
|
636
|
+
process.env.NODE_ENV === "production" ? at.exports = Ho() : at.exports = Yo();
|
|
637
637
|
var Y = at.exports;
|
|
638
|
-
const Ct = ["redCS", "greenCS"],
|
|
638
|
+
const Ct = ["redCS", "greenCS"], No = re({
|
|
639
639
|
// The styles all button have in common
|
|
640
640
|
baseStyle: {
|
|
641
641
|
fontFamily: "body",
|
|
@@ -842,24 +842,24 @@ function F(e, a = {}) {
|
|
|
842
842
|
__type: {}
|
|
843
843
|
};
|
|
844
844
|
}
|
|
845
|
-
var
|
|
845
|
+
var Xo = F("accordion").parts("root", "container", "button", "panel").extend("icon");
|
|
846
846
|
F("alert").parts("title", "description", "container").extend("icon", "spinner");
|
|
847
847
|
F("avatar").parts("label", "badge", "container").extend("excessLabel", "group");
|
|
848
848
|
F("breadcrumb").parts("link", "item", "container").extend("separator");
|
|
849
849
|
F("button").parts();
|
|
850
|
-
var
|
|
850
|
+
var Vo = F("checkbox").parts("control", "icon", "container").extend("label");
|
|
851
851
|
F("progress").parts("track", "filledTrack").extend("label");
|
|
852
|
-
var
|
|
852
|
+
var Uo = F("drawer").parts("overlay", "dialogContainer", "dialog").extend("header", "closeButton", "body", "footer");
|
|
853
853
|
F("editable").parts(
|
|
854
854
|
"preview",
|
|
855
855
|
"input",
|
|
856
856
|
"textarea"
|
|
857
857
|
);
|
|
858
|
-
var
|
|
858
|
+
var qo = F("form").parts(
|
|
859
859
|
"container",
|
|
860
860
|
"requiredIndicator",
|
|
861
861
|
"helperText"
|
|
862
|
-
),
|
|
862
|
+
), Ko = F("formError").parts("text", "icon");
|
|
863
863
|
F("input").parts(
|
|
864
864
|
"addon",
|
|
865
865
|
"field",
|
|
@@ -868,7 +868,7 @@ F("input").parts(
|
|
|
868
868
|
);
|
|
869
869
|
F("list").parts("container", "item", "icon");
|
|
870
870
|
F("menu").parts("button", "list", "item").extend("groupTitle", "icon", "command", "divider");
|
|
871
|
-
var
|
|
871
|
+
var Jo = F("modal").parts("overlay", "dialogContainer", "dialog").extend("header", "closeButton", "body", "footer");
|
|
872
872
|
F("numberinput").parts(
|
|
873
873
|
"root",
|
|
874
874
|
"field",
|
|
@@ -877,7 +877,7 @@ F("numberinput").parts(
|
|
|
877
877
|
);
|
|
878
878
|
F("pininput").parts("field");
|
|
879
879
|
F("popover").parts("content", "header", "body", "footer").extend("popper", "arrow", "closeButton");
|
|
880
|
-
var
|
|
880
|
+
var Zo = F("progress").parts(
|
|
881
881
|
"label",
|
|
882
882
|
"filledTrack",
|
|
883
883
|
"track"
|
|
@@ -887,7 +887,7 @@ F("radio").parts(
|
|
|
887
887
|
"control",
|
|
888
888
|
"label"
|
|
889
889
|
);
|
|
890
|
-
var
|
|
890
|
+
var Qo = F("select").parts("field", "icon");
|
|
891
891
|
F("slider").parts(
|
|
892
892
|
"container",
|
|
893
893
|
"track",
|
|
@@ -907,7 +907,7 @@ F("switch").parts(
|
|
|
907
907
|
"track",
|
|
908
908
|
"thumb"
|
|
909
909
|
);
|
|
910
|
-
var
|
|
910
|
+
var en = F("table").parts(
|
|
911
911
|
"table",
|
|
912
912
|
"thead",
|
|
913
913
|
"tbody",
|
|
@@ -916,14 +916,14 @@ var Qo = F("table").parts(
|
|
|
916
916
|
"td",
|
|
917
917
|
"tfoot",
|
|
918
918
|
"caption"
|
|
919
|
-
),
|
|
919
|
+
), rn = F("tabs").parts(
|
|
920
920
|
"root",
|
|
921
921
|
"tab",
|
|
922
922
|
"tablist",
|
|
923
923
|
"tabpanel",
|
|
924
924
|
"tabpanels",
|
|
925
925
|
"indicator"
|
|
926
|
-
),
|
|
926
|
+
), tn = F("tag").parts(
|
|
927
927
|
"container",
|
|
928
928
|
"label",
|
|
929
929
|
"closeButton"
|
|
@@ -934,8 +934,8 @@ F("card").parts(
|
|
|
934
934
|
"body",
|
|
935
935
|
"footer"
|
|
936
936
|
);
|
|
937
|
-
const { definePartsStyle:
|
|
938
|
-
baseStyle:
|
|
937
|
+
const { definePartsStyle: on, defineMultiStyleConfig: nn } = Me(Vo.keys), an = nn({
|
|
938
|
+
baseStyle: on({
|
|
939
939
|
container: {},
|
|
940
940
|
control: {
|
|
941
941
|
boxSize: 24,
|
|
@@ -1005,7 +1005,7 @@ const { definePartsStyle: tn, defineMultiStyleConfig: on } = Me(Xo.keys), nn = o
|
|
|
1005
1005
|
size: "sm"
|
|
1006
1006
|
}
|
|
1007
1007
|
});
|
|
1008
|
-
function
|
|
1008
|
+
function Wt(e) {
|
|
1009
1009
|
const a = typeof e;
|
|
1010
1010
|
return e != null && (a === "object" || a === "function") && !Array.isArray(e);
|
|
1011
1011
|
}
|
|
@@ -1224,41 +1224,41 @@ Tr.exports;
|
|
|
1224
1224
|
writable: !0
|
|
1225
1225
|
}) : r[o] = i;
|
|
1226
1226
|
}
|
|
1227
|
-
var
|
|
1227
|
+
var qt = lo();
|
|
1228
1228
|
function vr(r) {
|
|
1229
|
-
return r == null ? r === void 0 ? zr : V : ce && ce in Object(r) ?
|
|
1229
|
+
return r == null ? r === void 0 ? zr : V : ce && ce in Object(r) ? co(r) : bo(r);
|
|
1230
1230
|
}
|
|
1231
1231
|
function pt(r) {
|
|
1232
1232
|
return Ge(r) && vr(r) == w;
|
|
1233
1233
|
}
|
|
1234
|
-
function
|
|
1235
|
-
if (!Se(r) ||
|
|
1234
|
+
function Kt(r) {
|
|
1235
|
+
if (!Se(r) || go(r))
|
|
1236
1236
|
return !1;
|
|
1237
1237
|
var o = et(r) ? ve : or;
|
|
1238
|
-
return o.test(
|
|
1238
|
+
return o.test(So(r));
|
|
1239
1239
|
}
|
|
1240
|
-
function
|
|
1240
|
+
function Jt(r) {
|
|
1241
1241
|
return Ge(r) && yt(r.length) && !!B[vr(r)];
|
|
1242
1242
|
}
|
|
1243
|
-
function
|
|
1243
|
+
function Zt(r) {
|
|
1244
1244
|
if (!Se(r))
|
|
1245
|
-
return
|
|
1245
|
+
return ho(r);
|
|
1246
1246
|
var o = bt(r), i = [];
|
|
1247
1247
|
for (var c in r)
|
|
1248
1248
|
c == "constructor" && (o || !Q.call(r, c)) || i.push(c);
|
|
1249
1249
|
return i;
|
|
1250
1250
|
}
|
|
1251
1251
|
function gt(r, o, i, c, x) {
|
|
1252
|
-
r !== o &&
|
|
1252
|
+
r !== o && qt(o, function(I, M) {
|
|
1253
1253
|
if (x || (x = new S()), Se(I))
|
|
1254
|
-
|
|
1254
|
+
Qt(r, o, M, i, gt, c, x);
|
|
1255
1255
|
else {
|
|
1256
1256
|
var y = c ? c(Kr(r, M), I, M + "", r, o, x) : void 0;
|
|
1257
1257
|
y === void 0 && (y = I), ie(r, M, y);
|
|
1258
1258
|
}
|
|
1259
1259
|
}, St);
|
|
1260
1260
|
}
|
|
1261
|
-
function
|
|
1261
|
+
function Qt(r, o, i, c, x, I, M) {
|
|
1262
1262
|
var y = Kr(r, i), O = Kr(o, i), q = M.get(O);
|
|
1263
1263
|
if (q) {
|
|
1264
1264
|
ie(r, i, q);
|
|
@@ -1267,42 +1267,42 @@ Tr.exports;
|
|
|
1267
1267
|
var U = I ? I(y, O, i + "", r, o, M) : void 0, Ye = U === void 0;
|
|
1268
1268
|
if (Ye) {
|
|
1269
1269
|
var rt = Zr(O), tt = !rt && mt(O), kt = !rt && !tt && vt(O);
|
|
1270
|
-
U = O, rt || tt || kt ? Zr(y) ? U = y :
|
|
1270
|
+
U = O, rt || tt || kt ? Zr(y) ? U = y : xo(y) ? U = ao(y) : tt ? (Ye = !1, U = to(O, !0)) : kt ? (Ye = !1, U = no(O, !0)) : U = [] : ko(O) || Jr(O) ? (U = y, Jr(y) ? U = wo(y) : (!Se(y) || et(y)) && (U = uo(O))) : Ye = !1;
|
|
1271
1271
|
}
|
|
1272
1272
|
Ye && (M.set(O, U), x(U, O, c, I, M), M.delete(O)), ie(r, i, U);
|
|
1273
1273
|
}
|
|
1274
|
-
function
|
|
1275
|
-
return mo(
|
|
1274
|
+
function eo(r, o) {
|
|
1275
|
+
return yo(mo(r, o, xt), r + "");
|
|
1276
1276
|
}
|
|
1277
|
-
var
|
|
1277
|
+
var ro = Pe ? function(r, o) {
|
|
1278
1278
|
return Pe(r, "toString", {
|
|
1279
1279
|
configurable: !0,
|
|
1280
1280
|
enumerable: !1,
|
|
1281
|
-
value:
|
|
1281
|
+
value: Co(o),
|
|
1282
1282
|
writable: !0
|
|
1283
1283
|
});
|
|
1284
1284
|
} : xt;
|
|
1285
|
-
function
|
|
1285
|
+
function to(r, o) {
|
|
1286
1286
|
if (o)
|
|
1287
1287
|
return r.slice();
|
|
1288
1288
|
var i = r.length, c = ze ? ze(i) : new r.constructor(i);
|
|
1289
1289
|
return r.copy(c), c;
|
|
1290
1290
|
}
|
|
1291
|
-
function
|
|
1291
|
+
function oo(r) {
|
|
1292
1292
|
var o = new r.constructor(r.byteLength);
|
|
1293
1293
|
return new je(o).set(new je(r)), o;
|
|
1294
1294
|
}
|
|
1295
|
-
function
|
|
1296
|
-
var i = o ?
|
|
1295
|
+
function no(r, o) {
|
|
1296
|
+
var i = o ? oo(r.buffer) : r.buffer;
|
|
1297
1297
|
return new r.constructor(i, r.byteOffset, r.length);
|
|
1298
1298
|
}
|
|
1299
|
-
function
|
|
1299
|
+
function ao(r, o) {
|
|
1300
1300
|
var i = -1, c = r.length;
|
|
1301
1301
|
for (o || (o = Array(c)); ++i < c; )
|
|
1302
1302
|
o[i] = r[i];
|
|
1303
1303
|
return o;
|
|
1304
1304
|
}
|
|
1305
|
-
function
|
|
1305
|
+
function io(r, o, i, c) {
|
|
1306
1306
|
var x = !i;
|
|
1307
1307
|
i || (i = {});
|
|
1308
1308
|
for (var I = -1, M = o.length; ++I < M; ) {
|
|
@@ -1311,17 +1311,17 @@ Tr.exports;
|
|
|
1311
1311
|
}
|
|
1312
1312
|
return i;
|
|
1313
1313
|
}
|
|
1314
|
-
function
|
|
1315
|
-
return
|
|
1314
|
+
function so(r) {
|
|
1315
|
+
return eo(function(o, i) {
|
|
1316
1316
|
var c = -1, x = i.length, I = x > 1 ? i[x - 1] : void 0, M = x > 2 ? i[2] : void 0;
|
|
1317
|
-
for (I = r.length > 3 && typeof I == "function" ? (x--, I) : void 0, M &&
|
|
1317
|
+
for (I = r.length > 3 && typeof I == "function" ? (x--, I) : void 0, M && fo(i[0], i[1], M) && (I = x < 3 ? void 0 : I, x = 1), o = Object(o); ++c < x; ) {
|
|
1318
1318
|
var y = i[c];
|
|
1319
1319
|
y && r(o, y, c, I);
|
|
1320
1320
|
}
|
|
1321
1321
|
return o;
|
|
1322
1322
|
});
|
|
1323
1323
|
}
|
|
1324
|
-
function
|
|
1324
|
+
function lo(r) {
|
|
1325
1325
|
return function(o, i, c) {
|
|
1326
1326
|
for (var x = -1, I = Object(o), M = c(o), y = M.length; y--; ) {
|
|
1327
1327
|
var O = M[r ? y : ++x];
|
|
@@ -1333,13 +1333,13 @@ Tr.exports;
|
|
|
1333
1333
|
}
|
|
1334
1334
|
function Sr(r, o) {
|
|
1335
1335
|
var i = r.__data__;
|
|
1336
|
-
return
|
|
1336
|
+
return po(o) ? i[typeof o == "string" ? "string" : "hash"] : i.map;
|
|
1337
1337
|
}
|
|
1338
1338
|
function qr(r, o) {
|
|
1339
1339
|
var i = Ee(r, o);
|
|
1340
|
-
return
|
|
1340
|
+
return Kt(i) ? i : void 0;
|
|
1341
1341
|
}
|
|
1342
|
-
function
|
|
1342
|
+
function co(r) {
|
|
1343
1343
|
var o = Q.call(r, ce), i = r[ce];
|
|
1344
1344
|
try {
|
|
1345
1345
|
r[ce] = void 0;
|
|
@@ -1349,41 +1349,41 @@ Tr.exports;
|
|
|
1349
1349
|
var x = Ae.call(r);
|
|
1350
1350
|
return c && (o ? r[ce] = i : delete r[ce]), x;
|
|
1351
1351
|
}
|
|
1352
|
-
function
|
|
1352
|
+
function uo(r) {
|
|
1353
1353
|
return typeof r.constructor == "function" && !bt(r) ? Le(ur(r)) : {};
|
|
1354
1354
|
}
|
|
1355
1355
|
function ht(r, o) {
|
|
1356
1356
|
var i = typeof r;
|
|
1357
1357
|
return o = o ?? T, !!o && (i == "number" || i != "symbol" && nr.test(r)) && r > -1 && r % 1 == 0 && r < o;
|
|
1358
1358
|
}
|
|
1359
|
-
function
|
|
1359
|
+
function fo(r, o, i) {
|
|
1360
1360
|
if (!Se(i))
|
|
1361
1361
|
return !1;
|
|
1362
1362
|
var c = typeof o;
|
|
1363
1363
|
return (c == "number" ? Qr(i) && ht(o, i.length) : c == "string" && o in i) ? xr(i[o], r) : !1;
|
|
1364
1364
|
}
|
|
1365
|
-
function
|
|
1365
|
+
function po(r) {
|
|
1366
1366
|
var o = typeof r;
|
|
1367
1367
|
return o == "string" || o == "number" || o == "symbol" || o == "boolean" ? r !== "__proto__" : r === null;
|
|
1368
1368
|
}
|
|
1369
|
-
function
|
|
1369
|
+
function go(r) {
|
|
1370
1370
|
return !!dr && dr in r;
|
|
1371
1371
|
}
|
|
1372
1372
|
function bt(r) {
|
|
1373
1373
|
var o = r && r.constructor, i = typeof o == "function" && o.prototype || Be;
|
|
1374
1374
|
return r === i;
|
|
1375
1375
|
}
|
|
1376
|
-
function
|
|
1376
|
+
function ho(r) {
|
|
1377
1377
|
var o = [];
|
|
1378
1378
|
if (r != null)
|
|
1379
1379
|
for (var i in Object(r))
|
|
1380
1380
|
o.push(i);
|
|
1381
1381
|
return o;
|
|
1382
1382
|
}
|
|
1383
|
-
function
|
|
1383
|
+
function bo(r) {
|
|
1384
1384
|
return Ae.call(r);
|
|
1385
1385
|
}
|
|
1386
|
-
function
|
|
1386
|
+
function mo(r, o, i) {
|
|
1387
1387
|
return o = $e(o === void 0 ? r.length - 1 : o, 0), function() {
|
|
1388
1388
|
for (var c = arguments, x = -1, I = $e(c.length - o, 0), M = Array(I); ++x < I; )
|
|
1389
1389
|
M[x] = c[o + x];
|
|
@@ -1397,8 +1397,8 @@ Tr.exports;
|
|
|
1397
1397
|
if (!(o === "constructor" && typeof r[o] == "function") && o != "__proto__")
|
|
1398
1398
|
return r[o];
|
|
1399
1399
|
}
|
|
1400
|
-
var
|
|
1401
|
-
function
|
|
1400
|
+
var yo = vo(ro);
|
|
1401
|
+
function vo(r) {
|
|
1402
1402
|
var o = 0, i = 0;
|
|
1403
1403
|
return function() {
|
|
1404
1404
|
var c = pr(), x = m - (c - i);
|
|
@@ -1410,7 +1410,7 @@ Tr.exports;
|
|
|
1410
1410
|
return r.apply(void 0, arguments);
|
|
1411
1411
|
};
|
|
1412
1412
|
}
|
|
1413
|
-
function
|
|
1413
|
+
function So(r) {
|
|
1414
1414
|
if (r != null) {
|
|
1415
1415
|
try {
|
|
1416
1416
|
return he.call(r);
|
|
@@ -1434,10 +1434,10 @@ Tr.exports;
|
|
|
1434
1434
|
function Qr(r) {
|
|
1435
1435
|
return r != null && yt(r.length) && !et(r);
|
|
1436
1436
|
}
|
|
1437
|
-
function
|
|
1437
|
+
function xo(r) {
|
|
1438
1438
|
return Ge(r) && Qr(r);
|
|
1439
1439
|
}
|
|
1440
|
-
var mt = Lr ||
|
|
1440
|
+
var mt = Lr || To;
|
|
1441
1441
|
function et(r) {
|
|
1442
1442
|
if (!Se(r))
|
|
1443
1443
|
return !1;
|
|
@@ -1454,7 +1454,7 @@ Tr.exports;
|
|
|
1454
1454
|
function Ge(r) {
|
|
1455
1455
|
return r != null && typeof r == "object";
|
|
1456
1456
|
}
|
|
1457
|
-
function
|
|
1457
|
+
function ko(r) {
|
|
1458
1458
|
if (!Ge(r) || vr(r) != $)
|
|
1459
1459
|
return !1;
|
|
1460
1460
|
var o = ur(r);
|
|
@@ -1463,17 +1463,17 @@ Tr.exports;
|
|
|
1463
1463
|
var i = Q.call(o, "constructor") && o.constructor;
|
|
1464
1464
|
return typeof i == "function" && i instanceof i && he.call(i) == cr;
|
|
1465
1465
|
}
|
|
1466
|
-
var vt = Oe ? Re(Oe) :
|
|
1467
|
-
function
|
|
1468
|
-
return
|
|
1466
|
+
var vt = Oe ? Re(Oe) : Jt;
|
|
1467
|
+
function wo(r) {
|
|
1468
|
+
return io(r, St(r));
|
|
1469
1469
|
}
|
|
1470
1470
|
function St(r) {
|
|
1471
|
-
return Qr(r) ? H(r, !0) :
|
|
1471
|
+
return Qr(r) ? H(r, !0) : Zt(r);
|
|
1472
1472
|
}
|
|
1473
|
-
var
|
|
1473
|
+
var _o = so(function(r, o, i, c) {
|
|
1474
1474
|
gt(r, o, i, c);
|
|
1475
1475
|
});
|
|
1476
|
-
function
|
|
1476
|
+
function Co(r) {
|
|
1477
1477
|
return function() {
|
|
1478
1478
|
return r;
|
|
1479
1479
|
};
|
|
@@ -1481,23 +1481,23 @@ Tr.exports;
|
|
|
1481
1481
|
function xt(r) {
|
|
1482
1482
|
return r;
|
|
1483
1483
|
}
|
|
1484
|
-
function
|
|
1484
|
+
function To() {
|
|
1485
1485
|
return !1;
|
|
1486
1486
|
}
|
|
1487
|
-
e.exports =
|
|
1487
|
+
e.exports = _o;
|
|
1488
1488
|
})(Tr, Tr.exports);
|
|
1489
|
-
var
|
|
1490
|
-
const
|
|
1491
|
-
var
|
|
1492
|
-
const u = String(a), f =
|
|
1493
|
-
let w =
|
|
1489
|
+
var sn = Tr.exports;
|
|
1490
|
+
const ln = /* @__PURE__ */ Go(sn);
|
|
1491
|
+
var dn = (e) => /!(important)?$/.test(e), Tt = (e) => typeof e == "string" ? e.replace(/!(important)?$/, "").trim() : e, cn = (e, a) => (s) => {
|
|
1492
|
+
const u = String(a), f = dn(u), m = Tt(u), T = e ? `${e}.${m}` : m;
|
|
1493
|
+
let w = Wt(s.__cssMap) && T in s.__cssMap ? s.__cssMap[T].varRef : a;
|
|
1494
1494
|
return w = Tt(w), f ? `${w} !important` : w;
|
|
1495
1495
|
};
|
|
1496
1496
|
function ft(e) {
|
|
1497
1497
|
const { scale: a, transform: s, compose: u } = e;
|
|
1498
1498
|
return (m, T) => {
|
|
1499
1499
|
var w;
|
|
1500
|
-
const g =
|
|
1500
|
+
const g = cn(a, m)(T);
|
|
1501
1501
|
let z = (w = s == null ? void 0 : s(g, T)) != null ? w : g;
|
|
1502
1502
|
return u && (z = u(z, T)), z;
|
|
1503
1503
|
};
|
|
@@ -1512,39 +1512,39 @@ function K(e, a) {
|
|
|
1512
1512
|
}), u;
|
|
1513
1513
|
};
|
|
1514
1514
|
}
|
|
1515
|
-
var
|
|
1516
|
-
function
|
|
1515
|
+
var un = ({ rtl: e, ltr: a }) => (s) => s.direction === "rtl" ? e : a;
|
|
1516
|
+
function fn(e) {
|
|
1517
1517
|
const { property: a, scale: s, transform: u } = e;
|
|
1518
1518
|
return {
|
|
1519
1519
|
scale: s,
|
|
1520
|
-
property:
|
|
1520
|
+
property: un(a),
|
|
1521
1521
|
transform: s ? ft({
|
|
1522
1522
|
scale: s,
|
|
1523
1523
|
compose: u
|
|
1524
1524
|
}) : u
|
|
1525
1525
|
};
|
|
1526
1526
|
}
|
|
1527
|
-
var
|
|
1527
|
+
var jt = [
|
|
1528
1528
|
"rotate(var(--chakra-rotate, 0))",
|
|
1529
1529
|
"scaleX(var(--chakra-scale-x, 1))",
|
|
1530
1530
|
"scaleY(var(--chakra-scale-y, 1))",
|
|
1531
1531
|
"skewX(var(--chakra-skew-x, 0))",
|
|
1532
1532
|
"skewY(var(--chakra-skew-y, 0))"
|
|
1533
1533
|
];
|
|
1534
|
-
function
|
|
1534
|
+
function pn() {
|
|
1535
1535
|
return [
|
|
1536
1536
|
"translateX(var(--chakra-translate-x, 0))",
|
|
1537
1537
|
"translateY(var(--chakra-translate-y, 0))",
|
|
1538
|
-
...
|
|
1538
|
+
...jt
|
|
1539
1539
|
].join(" ");
|
|
1540
1540
|
}
|
|
1541
|
-
function
|
|
1541
|
+
function gn() {
|
|
1542
1542
|
return [
|
|
1543
1543
|
"translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",
|
|
1544
|
-
...
|
|
1544
|
+
...jt
|
|
1545
1545
|
].join(" ");
|
|
1546
1546
|
}
|
|
1547
|
-
var
|
|
1547
|
+
var hn = {
|
|
1548
1548
|
"--chakra-blur": "var(--chakra-empty,/*!*/ /*!*/)",
|
|
1549
1549
|
"--chakra-brightness": "var(--chakra-empty,/*!*/ /*!*/)",
|
|
1550
1550
|
"--chakra-contrast": "var(--chakra-empty,/*!*/ /*!*/)",
|
|
@@ -1565,7 +1565,7 @@ var gn = {
|
|
|
1565
1565
|
"var(--chakra-sepia)",
|
|
1566
1566
|
"var(--chakra-drop-shadow)"
|
|
1567
1567
|
].join(" ")
|
|
1568
|
-
},
|
|
1568
|
+
}, bn = {
|
|
1569
1569
|
backdropFilter: [
|
|
1570
1570
|
"var(--chakra-backdrop-blur)",
|
|
1571
1571
|
"var(--chakra-backdrop-brightness)",
|
|
@@ -1587,7 +1587,7 @@ var gn = {
|
|
|
1587
1587
|
"--chakra-backdrop-saturate": "var(--chakra-empty,/*!*/ /*!*/)",
|
|
1588
1588
|
"--chakra-backdrop-sepia": "var(--chakra-empty,/*!*/ /*!*/)"
|
|
1589
1589
|
};
|
|
1590
|
-
function
|
|
1590
|
+
function mn(e) {
|
|
1591
1591
|
return {
|
|
1592
1592
|
"--chakra-ring-offset-shadow": "var(--chakra-ring-inset) 0 0 0 var(--chakra-ring-offset-width) var(--chakra-ring-offset-color)",
|
|
1593
1593
|
"--chakra-ring-shadow": "var(--chakra-ring-inset) 0 0 0 calc(var(--chakra-ring-width) + var(--chakra-ring-offset-width)) var(--chakra-ring-color)",
|
|
@@ -1599,7 +1599,7 @@ function bn(e) {
|
|
|
1599
1599
|
].join(", ")
|
|
1600
1600
|
};
|
|
1601
1601
|
}
|
|
1602
|
-
var
|
|
1602
|
+
var yn = {
|
|
1603
1603
|
"row-reverse": {
|
|
1604
1604
|
space: "--chakra-space-x-reverse",
|
|
1605
1605
|
divide: "--chakra-divide-x-reverse"
|
|
@@ -1617,15 +1617,15 @@ var mn = {
|
|
|
1617
1617
|
"to-bl": "to bottom left",
|
|
1618
1618
|
"to-l": "to left",
|
|
1619
1619
|
"to-tl": "to top left"
|
|
1620
|
-
},
|
|
1620
|
+
}, vn = new Set(Object.values(it)), st = /* @__PURE__ */ new Set([
|
|
1621
1621
|
"none",
|
|
1622
1622
|
"-moz-initial",
|
|
1623
1623
|
"inherit",
|
|
1624
1624
|
"initial",
|
|
1625
1625
|
"revert",
|
|
1626
1626
|
"unset"
|
|
1627
|
-
]),
|
|
1628
|
-
function
|
|
1627
|
+
]), Sn = (e) => e.trim();
|
|
1628
|
+
function xn(e, a) {
|
|
1629
1629
|
if (e == null || st.has(e))
|
|
1630
1630
|
return e;
|
|
1631
1631
|
if (!(lt(e) || st.has(e)))
|
|
@@ -1633,13 +1633,13 @@ function Sn(e, a) {
|
|
|
1633
1633
|
const f = /(^[a-z-A-Z]+)\((.*)\)/g.exec(e), m = f == null ? void 0 : f[1], T = f == null ? void 0 : f[2];
|
|
1634
1634
|
if (!m || !T)
|
|
1635
1635
|
return e;
|
|
1636
|
-
const w = m.includes("-gradient") ? m : `${m}-gradient`, [g, ...z] = T.split(",").map(
|
|
1636
|
+
const w = m.includes("-gradient") ? m : `${m}-gradient`, [g, ...z] = T.split(",").map(Sn).filter(Boolean);
|
|
1637
1637
|
if ((z == null ? void 0 : z.length) === 0)
|
|
1638
1638
|
return e;
|
|
1639
1639
|
const _ = g in it ? it[g] : g;
|
|
1640
1640
|
z.unshift(_);
|
|
1641
1641
|
const v = z.map((D) => {
|
|
1642
|
-
if (
|
|
1642
|
+
if (vn.has(D))
|
|
1643
1643
|
return D;
|
|
1644
1644
|
const G = D.indexOf(" "), [X, te] = G !== -1 ? [D.substr(0, G), D.substr(G + 1)] : [D], oe = lt(te) ? te : te && te.split(" "), V = `colors.${X}`, $ = V in a.__cssMap ? a.__cssMap[V].varRef : X;
|
|
1645
1645
|
return oe ? [
|
|
@@ -1649,28 +1649,28 @@ function Sn(e, a) {
|
|
|
1649
1649
|
});
|
|
1650
1650
|
return `${w}(${v.join(", ")})`;
|
|
1651
1651
|
}
|
|
1652
|
-
var lt = (e) => typeof e == "string" && e.includes("(") && e.includes(")"),
|
|
1653
|
-
function
|
|
1652
|
+
var lt = (e) => typeof e == "string" && e.includes("(") && e.includes(")"), kn = (e, a) => xn(e, a ?? {});
|
|
1653
|
+
function wn(e) {
|
|
1654
1654
|
return /^var\(--.+\)$/.test(e);
|
|
1655
1655
|
}
|
|
1656
|
-
var
|
|
1656
|
+
var _n = (e) => {
|
|
1657
1657
|
const a = parseFloat(e.toString()), s = e.toString().replace(String(a), "");
|
|
1658
1658
|
return { unitless: !s, value: a, unit: s };
|
|
1659
1659
|
}, se = (e) => (a) => `${e}(${a})`, C = {
|
|
1660
1660
|
filter(e) {
|
|
1661
|
-
return e !== "auto" ? e :
|
|
1661
|
+
return e !== "auto" ? e : hn;
|
|
1662
1662
|
},
|
|
1663
1663
|
backdropFilter(e) {
|
|
1664
|
-
return e !== "auto" ? e :
|
|
1664
|
+
return e !== "auto" ? e : bn;
|
|
1665
1665
|
},
|
|
1666
1666
|
ring(e) {
|
|
1667
|
-
return
|
|
1667
|
+
return mn(C.px(e));
|
|
1668
1668
|
},
|
|
1669
1669
|
bgClip(e) {
|
|
1670
1670
|
return e === "text" ? { color: "transparent", backgroundClip: "text" } : { backgroundClip: e };
|
|
1671
1671
|
},
|
|
1672
1672
|
transform(e) {
|
|
1673
|
-
return e === "auto" ?
|
|
1673
|
+
return e === "auto" ? pn() : e === "auto-gpu" ? gn() : e;
|
|
1674
1674
|
},
|
|
1675
1675
|
vh(e) {
|
|
1676
1676
|
return e === "$100vh" ? "var(--chakra-vh)" : e;
|
|
@@ -1678,7 +1678,7 @@ var wn = (e) => {
|
|
|
1678
1678
|
px(e) {
|
|
1679
1679
|
if (e == null)
|
|
1680
1680
|
return e;
|
|
1681
|
-
const { unitless: a } =
|
|
1681
|
+
const { unitless: a } = _n(e);
|
|
1682
1682
|
return a || typeof e == "number" ? `${e}px` : e;
|
|
1683
1683
|
},
|
|
1684
1684
|
fraction(e) {
|
|
@@ -1689,12 +1689,12 @@ var wn = (e) => {
|
|
|
1689
1689
|
return a.direction === "rtl" ? s[e] : e;
|
|
1690
1690
|
},
|
|
1691
1691
|
degree(e) {
|
|
1692
|
-
if (
|
|
1692
|
+
if (wn(e) || e == null)
|
|
1693
1693
|
return e;
|
|
1694
1694
|
const a = typeof e == "string" && !e.endsWith("deg");
|
|
1695
1695
|
return typeof e == "number" || a ? `${e}deg` : e;
|
|
1696
1696
|
},
|
|
1697
|
-
gradient:
|
|
1697
|
+
gradient: kn,
|
|
1698
1698
|
blur: se("blur"),
|
|
1699
1699
|
opacity: se("opacity"),
|
|
1700
1700
|
brightness: se("brightness"),
|
|
@@ -1714,7 +1714,7 @@ var wn = (e) => {
|
|
|
1714
1714
|
},
|
|
1715
1715
|
flexDirection(e) {
|
|
1716
1716
|
var a;
|
|
1717
|
-
const { space: s, divide: u } = (a =
|
|
1717
|
+
const { space: s, divide: u } = (a = yn[e]) != null ? a : {}, f = { flexDirection: e };
|
|
1718
1718
|
return s && (f[s] = 1), u && (f[u] = 1), f;
|
|
1719
1719
|
}
|
|
1720
1720
|
}, n = {
|
|
@@ -1744,7 +1744,7 @@ var wn = (e) => {
|
|
|
1744
1744
|
sizes: K("sizes", wr(C.vh, C.px)),
|
|
1745
1745
|
sizesT: K("sizes", wr(C.vh, C.fraction)),
|
|
1746
1746
|
shadows: K("shadows"),
|
|
1747
|
-
logical:
|
|
1747
|
+
logical: fn,
|
|
1748
1748
|
blur: K("blur", C.blur)
|
|
1749
1749
|
}, Cr = {
|
|
1750
1750
|
background: n.colors("background"),
|
|
@@ -1902,7 +1902,7 @@ Object.assign(R, {
|
|
|
1902
1902
|
borderStartStyle: R.borderInlineStartStyle,
|
|
1903
1903
|
borderEndStyle: R.borderInlineEndStyle
|
|
1904
1904
|
});
|
|
1905
|
-
var
|
|
1905
|
+
var Cn = {
|
|
1906
1906
|
color: n.colors("color"),
|
|
1907
1907
|
textColor: n.colors("color"),
|
|
1908
1908
|
fill: n.colors("fill"),
|
|
@@ -1918,7 +1918,7 @@ var _n = {
|
|
|
1918
1918
|
Object.assign(dt, {
|
|
1919
1919
|
shadow: dt.boxShadow
|
|
1920
1920
|
});
|
|
1921
|
-
var
|
|
1921
|
+
var Tn = {
|
|
1922
1922
|
filter: { transform: C.filter },
|
|
1923
1923
|
blur: n.blur("--chakra-blur"),
|
|
1924
1924
|
brightness: n.propT("--chakra-brightness", C.brightness),
|
|
@@ -1962,7 +1962,7 @@ var Cn = {
|
|
|
1962
1962
|
Object.assign(Rr, {
|
|
1963
1963
|
flexDir: Rr.flexDirection
|
|
1964
1964
|
});
|
|
1965
|
-
var
|
|
1965
|
+
var Lt = {
|
|
1966
1966
|
gridGap: n.space("gridGap"),
|
|
1967
1967
|
gridColumnGap: n.space("gridColumnGap"),
|
|
1968
1968
|
gridRowGap: n.space("gridRowGap"),
|
|
@@ -1980,7 +1980,7 @@ var jt = {
|
|
|
1980
1980
|
gridTemplateRows: !0,
|
|
1981
1981
|
gridTemplateAreas: !0,
|
|
1982
1982
|
gridArea: !0
|
|
1983
|
-
},
|
|
1983
|
+
}, Rn = {
|
|
1984
1984
|
appearance: !0,
|
|
1985
1985
|
cursor: !0,
|
|
1986
1986
|
resize: !0,
|
|
@@ -2045,20 +2045,20 @@ Object.assign(J, {
|
|
|
2045
2045
|
overscrollX: J.overscrollBehaviorX,
|
|
2046
2046
|
overscrollY: J.overscrollBehaviorY
|
|
2047
2047
|
});
|
|
2048
|
-
var
|
|
2048
|
+
var En = {
|
|
2049
2049
|
listStyleType: !0,
|
|
2050
2050
|
listStylePosition: !0,
|
|
2051
2051
|
listStylePos: n.prop("listStylePosition"),
|
|
2052
2052
|
listStyleImage: !0,
|
|
2053
2053
|
listStyleImg: n.prop("listStyleImage")
|
|
2054
2054
|
};
|
|
2055
|
-
function
|
|
2055
|
+
function Fn(e, a, s, u) {
|
|
2056
2056
|
const f = typeof a == "string" ? a.split(".") : [a];
|
|
2057
2057
|
for (u = 0; u < f.length && e; u += 1)
|
|
2058
2058
|
e = e[f[u]];
|
|
2059
2059
|
return e === void 0 ? s : e;
|
|
2060
2060
|
}
|
|
2061
|
-
var
|
|
2061
|
+
var Bn = (e) => {
|
|
2062
2062
|
const a = /* @__PURE__ */ new WeakMap();
|
|
2063
2063
|
return (u, f, m, T) => {
|
|
2064
2064
|
if (typeof u > "u")
|
|
@@ -2070,7 +2070,7 @@ var Fn = (e) => {
|
|
|
2070
2070
|
const g = e(u, f, m, T);
|
|
2071
2071
|
return w.set(f, g), g;
|
|
2072
2072
|
};
|
|
2073
|
-
},
|
|
2073
|
+
}, In = Bn(Fn), zn = {
|
|
2074
2074
|
border: "0px",
|
|
2075
2075
|
clip: "rect(0, 0, 0, 0)",
|
|
2076
2076
|
width: "1px",
|
|
@@ -2080,7 +2080,7 @@ var Fn = (e) => {
|
|
|
2080
2080
|
overflow: "hidden",
|
|
2081
2081
|
whiteSpace: "nowrap",
|
|
2082
2082
|
position: "absolute"
|
|
2083
|
-
},
|
|
2083
|
+
}, Pn = {
|
|
2084
2084
|
position: "static",
|
|
2085
2085
|
width: "auto",
|
|
2086
2086
|
height: "auto",
|
|
@@ -2090,14 +2090,14 @@ var Fn = (e) => {
|
|
|
2090
2090
|
overflow: "visible",
|
|
2091
2091
|
whiteSpace: "normal"
|
|
2092
2092
|
}, ot = (e, a, s) => {
|
|
2093
|
-
const u = {}, f =
|
|
2093
|
+
const u = {}, f = In(e, a, {});
|
|
2094
2094
|
for (const m in f)
|
|
2095
2095
|
m in s && s[m] != null || (u[m] = f[m]);
|
|
2096
2096
|
return u;
|
|
2097
|
-
},
|
|
2097
|
+
}, $n = {
|
|
2098
2098
|
srOnly: {
|
|
2099
2099
|
transform(e) {
|
|
2100
|
-
return e === !0 ?
|
|
2100
|
+
return e === !0 ? zn : e === "focusable" ? Pn : {};
|
|
2101
2101
|
}
|
|
2102
2102
|
},
|
|
2103
2103
|
layerStyle: {
|
|
@@ -2140,7 +2140,7 @@ Object.assign(Ue, {
|
|
|
2140
2140
|
insetStart: Ue.insetInlineStart,
|
|
2141
2141
|
insetEnd: Ue.insetInlineEnd
|
|
2142
2142
|
});
|
|
2143
|
-
var
|
|
2143
|
+
var Mn = {
|
|
2144
2144
|
ring: { transform: C.ring },
|
|
2145
2145
|
ringColor: n.colors("--chakra-ring-color"),
|
|
2146
2146
|
ringOffset: n.prop("--chakra-ring-offset-width"),
|
|
@@ -2198,7 +2198,7 @@ Object.assign(P, {
|
|
|
2198
2198
|
pe: P.paddingInlineEnd,
|
|
2199
2199
|
paddingEnd: P.paddingInlineEnd
|
|
2200
2200
|
});
|
|
2201
|
-
var
|
|
2201
|
+
var On = {
|
|
2202
2202
|
textDecorationColor: n.colors("textDecorationColor"),
|
|
2203
2203
|
textDecoration: !0,
|
|
2204
2204
|
textDecor: { property: "textDecoration" },
|
|
@@ -2207,7 +2207,7 @@ var Mn = {
|
|
|
2207
2207
|
textDecorationThickness: !0,
|
|
2208
2208
|
textUnderlineOffset: !0,
|
|
2209
2209
|
textShadow: n.shadows("textShadow")
|
|
2210
|
-
},
|
|
2210
|
+
}, Dn = {
|
|
2211
2211
|
clipPath: !0,
|
|
2212
2212
|
transform: n.propT("transform", C.transform),
|
|
2213
2213
|
transformOrigin: !0,
|
|
@@ -2219,7 +2219,7 @@ var Mn = {
|
|
|
2219
2219
|
scaleY: n.prop("--chakra-scale-y"),
|
|
2220
2220
|
scale: n.prop(["--chakra-scale-x", "--chakra-scale-y"]),
|
|
2221
2221
|
rotate: n.degreeT("--chakra-rotate")
|
|
2222
|
-
},
|
|
2222
|
+
}, An = {
|
|
2223
2223
|
transition: !0,
|
|
2224
2224
|
transitionDelay: !0,
|
|
2225
2225
|
animation: !0,
|
|
@@ -2230,7 +2230,7 @@ var Mn = {
|
|
|
2230
2230
|
"transitionTimingFunction",
|
|
2231
2231
|
"transition.easing"
|
|
2232
2232
|
)
|
|
2233
|
-
},
|
|
2233
|
+
}, Wn = {
|
|
2234
2234
|
fontFamily: n.prop("fontFamily", "fonts"),
|
|
2235
2235
|
fontSize: n.prop("fontSize", "fontSizes", C.px),
|
|
2236
2236
|
fontWeight: n.prop("fontWeight", "fontWeights"),
|
|
@@ -2264,7 +2264,7 @@ var Mn = {
|
|
|
2264
2264
|
},
|
|
2265
2265
|
property: "--chakra-line-clamp"
|
|
2266
2266
|
}
|
|
2267
|
-
},
|
|
2267
|
+
}, jn = {
|
|
2268
2268
|
scrollBehavior: !0,
|
|
2269
2269
|
scrollSnapAlign: !0,
|
|
2270
2270
|
scrollSnapStop: !0,
|
|
@@ -2284,11 +2284,11 @@ var Mn = {
|
|
|
2284
2284
|
scrollPaddingX: n.spaceT(["scrollPaddingLeft", "scrollPaddingRight"]),
|
|
2285
2285
|
scrollPaddingY: n.spaceT(["scrollPaddingTop", "scrollPaddingBottom"])
|
|
2286
2286
|
};
|
|
2287
|
-
function
|
|
2288
|
-
return
|
|
2287
|
+
function Gt(e) {
|
|
2288
|
+
return Wt(e) && e.reference ? e.reference : String(e);
|
|
2289
2289
|
}
|
|
2290
|
-
var Fr = (e, ...a) => a.map(
|
|
2291
|
-
const a =
|
|
2290
|
+
var Fr = (e, ...a) => a.map(Gt).join(` ${e} `).replace(/calc/g, ""), Rt = (...e) => `calc(${Fr("+", ...e)})`, Et = (...e) => `calc(${Fr("-", ...e)})`, ct = (...e) => `calc(${Fr("*", ...e)})`, Ft = (...e) => `calc(${Fr("/", ...e)})`, Bt = (e) => {
|
|
2291
|
+
const a = Gt(e);
|
|
2292
2292
|
return a != null && !Number.isNaN(parseFloat(a)) ? String(a).startsWith("-") ? String(a).slice(1) : `-${a}` : ct(a, -1);
|
|
2293
2293
|
}, Xe = Object.assign(
|
|
2294
2294
|
(e) => ({
|
|
@@ -2319,7 +2319,7 @@ var Fr = (e, ...a) => a.map(Lt).join(` ${e} `).replace(/calc/g, ""), Rt = (...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
|
-
}, me = (e) =>
|
|
2322
|
+
}, me = (e) => Yt((a) => e(a, "&"), "[role=group]", "[data-group]", ".group"), pe = (e) => Yt((a) => e(a, "~ &"), "[data-peer]", ".peer"), Yt = (e, ...a) => a.map(e).join(", "), Ht = {
|
|
2323
2323
|
_hover: "&:hover, &[data-hover]",
|
|
2324
2324
|
_active: "&:active, &[data-active]",
|
|
2325
2325
|
_focus: "&:focus, &[data-focus]",
|
|
@@ -2381,33 +2381,33 @@ var Fr = (e, ...a) => a.map(Lt).join(` ${e} `).replace(/calc/g, ""), Rt = (...e)
|
|
|
2381
2381
|
_light: ".chakra-ui-light &:not([data-theme]),[data-theme=light] &:not([data-theme]),&[data-theme=light]",
|
|
2382
2382
|
_horizontal: "&[data-orientation=horizontal]",
|
|
2383
2383
|
_vertical: "&[data-orientation=vertical]"
|
|
2384
|
-
},
|
|
2385
|
-
|
|
2386
|
-
),
|
|
2384
|
+
}, Ln = Object.keys(
|
|
2385
|
+
Ht
|
|
2386
|
+
), Nt = ln(
|
|
2387
2387
|
{},
|
|
2388
2388
|
Cr,
|
|
2389
2389
|
R,
|
|
2390
|
-
|
|
2390
|
+
Cn,
|
|
2391
2391
|
Rr,
|
|
2392
2392
|
J,
|
|
2393
|
-
Cn,
|
|
2394
|
-
$n,
|
|
2395
2393
|
Tn,
|
|
2396
|
-
|
|
2397
|
-
|
|
2394
|
+
Mn,
|
|
2395
|
+
Rn,
|
|
2396
|
+
Lt,
|
|
2397
|
+
$n,
|
|
2398
2398
|
Ue,
|
|
2399
2399
|
dt,
|
|
2400
2400
|
P,
|
|
2401
|
+
jn,
|
|
2401
2402
|
Wn,
|
|
2402
|
-
An,
|
|
2403
|
-
Mn,
|
|
2404
2403
|
On,
|
|
2405
|
-
|
|
2406
|
-
|
|
2404
|
+
Dn,
|
|
2405
|
+
En,
|
|
2406
|
+
An
|
|
2407
2407
|
);
|
|
2408
|
-
Object.assign({}, P, J, Rr,
|
|
2409
|
-
[...Object.keys(
|
|
2410
|
-
({ ...
|
|
2408
|
+
Object.assign({}, P, J, Rr, Lt, Ue);
|
|
2409
|
+
[...Object.keys(Nt), ...Ln];
|
|
2410
|
+
({ ...Nt, ...Ht });
|
|
2411
2411
|
function ke(e) {
|
|
2412
2412
|
return {
|
|
2413
2413
|
definePartsStyle(a) {
|
|
@@ -2418,7 +2418,7 @@ function ke(e) {
|
|
|
2418
2418
|
}
|
|
2419
2419
|
};
|
|
2420
2420
|
}
|
|
2421
|
-
const { defineMultiStyleConfig:
|
|
2421
|
+
const { defineMultiStyleConfig: Gn, definePartsStyle: Yn } = ke(qo.keys), It = {
|
|
2422
2422
|
transform: [
|
|
2423
2423
|
"scale(0.85) translateY(-8px) translateX(4px)",
|
|
2424
2424
|
"scale(0.85) translateY(-12px) translateX(4px)"
|
|
@@ -2428,8 +2428,8 @@ const { defineMultiStyleConfig: Ln, definePartsStyle: Gn } = ke(Uo.keys), It = {
|
|
|
2428
2428
|
_invalid: {
|
|
2429
2429
|
color: "utility.warning"
|
|
2430
2430
|
}
|
|
2431
|
-
},
|
|
2432
|
-
baseStyle:
|
|
2431
|
+
}, Hn = Gn({
|
|
2432
|
+
baseStyle: Yn({
|
|
2433
2433
|
container: {
|
|
2434
2434
|
width: "100%",
|
|
2435
2435
|
position: "relative",
|
|
@@ -2486,8 +2486,8 @@ const { defineMultiStyleConfig: Ln, definePartsStyle: Gn } = ke(Uo.keys), It = {
|
|
|
2486
2486
|
}
|
|
2487
2487
|
},
|
|
2488
2488
|
defaultProps: {}
|
|
2489
|
-
}), { defineMultiStyleConfig:
|
|
2490
|
-
baseStyle:
|
|
2489
|
+
}), { defineMultiStyleConfig: Nn, definePartsStyle: Xn } = ke(Ko.keys), Vn = Nn({
|
|
2490
|
+
baseStyle: Xn({
|
|
2491
2491
|
text: {
|
|
2492
2492
|
color: "utility.warning",
|
|
2493
2493
|
fontSize: ["sm", "md"]
|
|
@@ -2499,7 +2499,7 @@ const { defineMultiStyleConfig: Ln, definePartsStyle: Gn } = ke(Uo.keys), It = {
|
|
|
2499
2499
|
mr: 1
|
|
2500
2500
|
}
|
|
2501
2501
|
})
|
|
2502
|
-
}),
|
|
2502
|
+
}), Un = {
|
|
2503
2503
|
fontSize: ["sm", "md"],
|
|
2504
2504
|
color: "tints.black",
|
|
2505
2505
|
transitionProperty: "common",
|
|
@@ -2508,9 +2508,12 @@ const { defineMultiStyleConfig: Ln, definePartsStyle: Gn } = ke(Uo.keys), It = {
|
|
|
2508
2508
|
_disabled: {
|
|
2509
2509
|
opacity: 0.4
|
|
2510
2510
|
}
|
|
2511
|
-
},
|
|
2512
|
-
baseStyle:
|
|
2513
|
-
},
|
|
2511
|
+
}, qn = {
|
|
2512
|
+
baseStyle: Un
|
|
2513
|
+
}, Kn = ke(["addon", "field", "element"]), zt = {
|
|
2514
|
+
borderColor: "tints.lightGrey",
|
|
2515
|
+
color: "tints.medGrey"
|
|
2516
|
+
}, xe = Kn.defineMultiStyleConfig({
|
|
2514
2517
|
baseStyle: {
|
|
2515
2518
|
field: {
|
|
2516
2519
|
fontWeight: "medium",
|
|
@@ -2529,9 +2532,12 @@ const { defineMultiStyleConfig: Ln, definePartsStyle: Gn } = ke(Uo.keys), It = {
|
|
|
2529
2532
|
borderColor: "viridian.base",
|
|
2530
2533
|
outline: "none"
|
|
2531
2534
|
},
|
|
2532
|
-
":disabled
|
|
2533
|
-
|
|
2534
|
-
|
|
2535
|
+
":disabled": {
|
|
2536
|
+
...zt
|
|
2537
|
+
},
|
|
2538
|
+
// same styles as disabled, keep it separated for Select config to override
|
|
2539
|
+
":read-only": {
|
|
2540
|
+
...zt
|
|
2535
2541
|
},
|
|
2536
2542
|
_placeholder: {
|
|
2537
2543
|
color: "tints.uiGrey"
|
|
@@ -2549,14 +2555,14 @@ const { defineMultiStyleConfig: Ln, definePartsStyle: Gn } = ke(Uo.keys), It = {
|
|
|
2549
2555
|
sizes: {},
|
|
2550
2556
|
variants: {},
|
|
2551
2557
|
defaultProps: {}
|
|
2552
|
-
}),
|
|
2558
|
+
}), Jn = ke([
|
|
2553
2559
|
"button",
|
|
2554
2560
|
"list",
|
|
2555
2561
|
"item",
|
|
2556
2562
|
"groupTitle",
|
|
2557
2563
|
"command",
|
|
2558
2564
|
"divider"
|
|
2559
|
-
]),
|
|
2565
|
+
]), Zn = Jn.defineMultiStyleConfig({
|
|
2560
2566
|
baseStyle: {
|
|
2561
2567
|
button: {},
|
|
2562
2568
|
list: {
|
|
@@ -2649,15 +2655,16 @@ const { defineMultiStyleConfig: Ln, definePartsStyle: Gn } = ke(Uo.keys), It = {
|
|
|
2649
2655
|
defaultProps: {
|
|
2650
2656
|
size: "md"
|
|
2651
2657
|
}
|
|
2652
|
-
}), { definePartsStyle:
|
|
2653
|
-
var
|
|
2654
|
-
const
|
|
2658
|
+
}), { definePartsStyle: Qn, defineMultiStyleConfig: ea } = Me(Qo.keys);
|
|
2659
|
+
var Pt, $t, Mt;
|
|
2660
|
+
const ra = Qn({
|
|
2655
2661
|
field: {
|
|
2656
|
-
...(
|
|
2662
|
+
...(Pt = xe == null ? void 0 : xe.baseStyle) == null ? void 0 : Pt.field,
|
|
2657
2663
|
// Apply grey color to the placeholder when the value is empty
|
|
2658
2664
|
':has(option[value=""]:checked)': {
|
|
2659
|
-
...(
|
|
2665
|
+
...(Mt = ($t = xe == null ? void 0 : xe.baseStyle) == null ? void 0 : $t.field) == null ? void 0 : Mt._placeholder
|
|
2660
2666
|
},
|
|
2667
|
+
":read-only": void 0,
|
|
2661
2668
|
// Remove the default caret from the browser styles
|
|
2662
2669
|
WebkitAppearance: "none",
|
|
2663
2670
|
MozAppearance: "none"
|
|
@@ -2669,7 +2676,7 @@ const ea = Zn({
|
|
|
2669
2676
|
color: "tints.medGrey"
|
|
2670
2677
|
}
|
|
2671
2678
|
}
|
|
2672
|
-
}),
|
|
2679
|
+
}), ta = ea({ baseStyle: ra }), oa = re({
|
|
2673
2680
|
baseStyle: {
|
|
2674
2681
|
thumb: {
|
|
2675
2682
|
cursor: "grab",
|
|
@@ -2682,7 +2689,7 @@ const ea = Zn({
|
|
|
2682
2689
|
sizes: {},
|
|
2683
2690
|
variants: {},
|
|
2684
2691
|
defaultProps: {}
|
|
2685
|
-
}),
|
|
2692
|
+
}), na = re({
|
|
2686
2693
|
baseStyle: {
|
|
2687
2694
|
color: "viridian.base",
|
|
2688
2695
|
fontWeight: "normal",
|
|
@@ -2710,7 +2717,7 @@ const ea = Zn({
|
|
|
2710
2717
|
defaultProps: {
|
|
2711
2718
|
size: "md"
|
|
2712
2719
|
}
|
|
2713
|
-
}),
|
|
2720
|
+
}), aa = re({
|
|
2714
2721
|
baseStyle: {
|
|
2715
2722
|
stepper: {
|
|
2716
2723
|
width: "100%",
|
|
@@ -2730,7 +2737,7 @@ const ea = Zn({
|
|
|
2730
2737
|
sizes: {},
|
|
2731
2738
|
variants: {},
|
|
2732
2739
|
defaultProps: {}
|
|
2733
|
-
}),
|
|
2740
|
+
}), ia = re({
|
|
2734
2741
|
baseStyle: {
|
|
2735
2742
|
fontFamily: "heading",
|
|
2736
2743
|
fontWeight: "normal",
|
|
@@ -2783,7 +2790,7 @@ const ea = Zn({
|
|
|
2783
2790
|
defaultProps: {
|
|
2784
2791
|
size: "md"
|
|
2785
2792
|
}
|
|
2786
|
-
}),
|
|
2793
|
+
}), sa = re({
|
|
2787
2794
|
baseStyle: {
|
|
2788
2795
|
fontFamily: "body",
|
|
2789
2796
|
fontWeight: "normal",
|
|
@@ -2813,7 +2820,7 @@ const ea = Zn({
|
|
|
2813
2820
|
defaultProps: {
|
|
2814
2821
|
size: "lg"
|
|
2815
2822
|
}
|
|
2816
|
-
}),
|
|
2823
|
+
}), la = re({
|
|
2817
2824
|
baseStyle: {},
|
|
2818
2825
|
sizes: {
|
|
2819
2826
|
sm: {
|
|
@@ -2830,7 +2837,7 @@ const ea = Zn({
|
|
|
2830
2837
|
defaultProps: {
|
|
2831
2838
|
size: "md"
|
|
2832
2839
|
}
|
|
2833
|
-
}), { defineMultiStyleConfig:
|
|
2840
|
+
}), { defineMultiStyleConfig: da, definePartsStyle: ut } = ke(Uo.keys), ca = {
|
|
2834
2841
|
partial: ut({
|
|
2835
2842
|
dialog: {
|
|
2836
2843
|
maxW: 560
|
|
@@ -2843,7 +2850,7 @@ const ea = Zn({
|
|
|
2843
2850
|
borderRadius: 0
|
|
2844
2851
|
}
|
|
2845
2852
|
})
|
|
2846
|
-
},
|
|
2853
|
+
}, ua = ut({
|
|
2847
2854
|
overlay: {
|
|
2848
2855
|
zIndex: "overlay",
|
|
2849
2856
|
bg: (e) => `${e.colors.tints.black}66`
|
|
@@ -2887,11 +2894,11 @@ const ea = Zn({
|
|
|
2887
2894
|
py: 6,
|
|
2888
2895
|
px: 8
|
|
2889
2896
|
}
|
|
2890
|
-
}),
|
|
2891
|
-
baseStyle:
|
|
2892
|
-
sizes:
|
|
2897
|
+
}), fa = da({
|
|
2898
|
+
baseStyle: ua,
|
|
2899
|
+
sizes: ca,
|
|
2893
2900
|
defaultProps: { size: "partial" }
|
|
2894
|
-
}),
|
|
2901
|
+
}), pa = re({
|
|
2895
2902
|
baseStyle: {
|
|
2896
2903
|
// adding a background color and/or font color to the tooltip causes the arrow to disappear
|
|
2897
2904
|
// not including these properties for now
|
|
@@ -2900,9 +2907,9 @@ const ea = Zn({
|
|
|
2900
2907
|
},
|
|
2901
2908
|
sizes: {},
|
|
2902
2909
|
defaultProps: {}
|
|
2903
|
-
}), { defineMultiStyleConfig:
|
|
2904
|
-
|
|
2905
|
-
),
|
|
2910
|
+
}), { defineMultiStyleConfig: ga } = Me(
|
|
2911
|
+
Jo.keys
|
|
2912
|
+
), ha = ga({
|
|
2906
2913
|
baseStyle: {
|
|
2907
2914
|
overlay: {
|
|
2908
2915
|
background: "rgba(0, 0, 0, 0.8)",
|
|
@@ -2995,7 +3002,7 @@ const ea = Zn({
|
|
|
2995
3002
|
full: {
|
|
2996
3003
|
dialog: {
|
|
2997
3004
|
maxWidth: "100vw",
|
|
2998
|
-
height: "
|
|
3005
|
+
height: "100dvh"
|
|
2999
3006
|
}
|
|
3000
3007
|
}
|
|
3001
3008
|
},
|
|
@@ -3003,8 +3010,8 @@ const ea = Zn({
|
|
|
3003
3010
|
defaultProps: {
|
|
3004
3011
|
size: "md"
|
|
3005
3012
|
}
|
|
3006
|
-
}),
|
|
3007
|
-
baseStyle:
|
|
3013
|
+
}), Xt = qe("progress-background"), Vt = qe("progress-filled-background"), { defineMultiStyleConfig: ba, definePartsStyle: ma } = ke(Zo.keys), ya = ba({
|
|
3014
|
+
baseStyle: ma({
|
|
3008
3015
|
label: {
|
|
3009
3016
|
lineHeight: "1",
|
|
3010
3017
|
fontSize: "0.25em",
|
|
@@ -3012,11 +3019,11 @@ const ea = Zn({
|
|
|
3012
3019
|
color: "white"
|
|
3013
3020
|
},
|
|
3014
3021
|
track: {
|
|
3015
|
-
background:
|
|
3022
|
+
background: Xt.reference
|
|
3016
3023
|
},
|
|
3017
3024
|
filledTrack: {
|
|
3018
3025
|
transition: "300ms",
|
|
3019
|
-
background:
|
|
3026
|
+
background: Vt.reference
|
|
3020
3027
|
}
|
|
3021
3028
|
}),
|
|
3022
3029
|
sizes: {
|
|
@@ -3049,7 +3056,7 @@ const ea = Zn({
|
|
|
3049
3056
|
defaultProps: {
|
|
3050
3057
|
size: "xs"
|
|
3051
3058
|
}
|
|
3052
|
-
}),
|
|
3059
|
+
}), va = re({
|
|
3053
3060
|
baseStyle: {},
|
|
3054
3061
|
sizes: {
|
|
3055
3062
|
sm: {
|
|
@@ -3072,20 +3079,20 @@ const ea = Zn({
|
|
|
3072
3079
|
defaultProps: {
|
|
3073
3080
|
size: "md"
|
|
3074
3081
|
}
|
|
3075
|
-
}),
|
|
3082
|
+
}), Sa = qe("skeleton-start-color"), xa = qe("skeleton-end-color"), ka = qe("skeleton-speed"), wa = re({
|
|
3076
3083
|
baseStyle: {
|
|
3077
|
-
[
|
|
3078
|
-
[
|
|
3079
|
-
[
|
|
3084
|
+
[Sa.variable]: "colors.tints.lightGrey",
|
|
3085
|
+
[xa.variable]: "colors.tints.medGrey",
|
|
3086
|
+
[ka.variable]: "0.8",
|
|
3080
3087
|
borderRadius: "sm",
|
|
3081
3088
|
p: "4"
|
|
3082
3089
|
},
|
|
3083
3090
|
sizes: {},
|
|
3084
3091
|
variants: {},
|
|
3085
3092
|
defaultProps: {}
|
|
3086
|
-
}), { defineMultiStyleConfig:
|
|
3087
|
-
|
|
3088
|
-
),
|
|
3093
|
+
}), { defineMultiStyleConfig: _a } = Me(
|
|
3094
|
+
rn.keys
|
|
3095
|
+
), Ca = _a({
|
|
3089
3096
|
baseStyle: {
|
|
3090
3097
|
tab: {
|
|
3091
3098
|
color: "tints.darkGrey",
|
|
@@ -3148,9 +3155,9 @@ const ea = Zn({
|
|
|
3148
3155
|
defaultProps: {
|
|
3149
3156
|
size: "lg"
|
|
3150
3157
|
}
|
|
3151
|
-
}), { defineMultiStyleConfig:
|
|
3152
|
-
|
|
3153
|
-
),
|
|
3158
|
+
}), { defineMultiStyleConfig: Ta } = Me(
|
|
3159
|
+
tn.keys
|
|
3160
|
+
), Ra = {
|
|
3154
3161
|
sm: {
|
|
3155
3162
|
paddingX: ["2", "2"],
|
|
3156
3163
|
paddingY: ["0.5", "2"]
|
|
@@ -3159,7 +3166,7 @@ const ea = Zn({
|
|
|
3159
3166
|
paddingX: ["2", "3"],
|
|
3160
3167
|
paddingY: ["0.5", "3"]
|
|
3161
3168
|
}
|
|
3162
|
-
},
|
|
3169
|
+
}, Ea = Ta({
|
|
3163
3170
|
baseStyle: {
|
|
3164
3171
|
container: {
|
|
3165
3172
|
fontWeight: "medium",
|
|
@@ -3281,7 +3288,7 @@ const ea = Zn({
|
|
|
3281
3288
|
backgroundColor: "tints.white",
|
|
3282
3289
|
color: "tints.black",
|
|
3283
3290
|
borderRadius: "8px",
|
|
3284
|
-
...
|
|
3291
|
+
...Ra[e]
|
|
3285
3292
|
},
|
|
3286
3293
|
label: {
|
|
3287
3294
|
backgroundColor: "tints.white",
|
|
@@ -3299,9 +3306,9 @@ const ea = Zn({
|
|
|
3299
3306
|
size: "md",
|
|
3300
3307
|
variant: "primary"
|
|
3301
3308
|
}
|
|
3302
|
-
}), { defineMultiStyleConfig:
|
|
3303
|
-
|
|
3304
|
-
),
|
|
3309
|
+
}), { defineMultiStyleConfig: Fa } = ke(
|
|
3310
|
+
Xo.keys
|
|
3311
|
+
), Ba = Fa({
|
|
3305
3312
|
baseStyle: {
|
|
3306
3313
|
container: {
|
|
3307
3314
|
width: "100%"
|
|
@@ -3354,9 +3361,9 @@ const ea = Zn({
|
|
|
3354
3361
|
size: "lg",
|
|
3355
3362
|
variant: "primary"
|
|
3356
3363
|
}
|
|
3357
|
-
}), { defineMultiStyleConfig:
|
|
3358
|
-
|
|
3359
|
-
),
|
|
3364
|
+
}), { defineMultiStyleConfig: Ia } = Me(
|
|
3365
|
+
en.keys
|
|
3366
|
+
), za = Ia({
|
|
3360
3367
|
baseStyle: {
|
|
3361
3368
|
table: {
|
|
3362
3369
|
width: "full",
|
|
@@ -3403,7 +3410,7 @@ const ea = Zn({
|
|
|
3403
3410
|
defaultProps: {
|
|
3404
3411
|
variant: "simple"
|
|
3405
3412
|
}
|
|
3406
|
-
}),
|
|
3413
|
+
}), Pa = re({
|
|
3407
3414
|
baseStyle: {
|
|
3408
3415
|
w: "100%",
|
|
3409
3416
|
paddingX: "48px"
|
|
@@ -3432,7 +3439,7 @@ const ea = Zn({
|
|
|
3432
3439
|
defaultProps: {
|
|
3433
3440
|
size: "lg"
|
|
3434
3441
|
}
|
|
3435
|
-
}),
|
|
3442
|
+
}), $a = {
|
|
3436
3443
|
tints: {
|
|
3437
3444
|
black: "#0F0F0F",
|
|
3438
3445
|
darkGrey: "#545454",
|
|
@@ -3538,7 +3545,7 @@ const ea = Zn({
|
|
|
3538
3545
|
900: "#143927"
|
|
3539
3546
|
// dark
|
|
3540
3547
|
},
|
|
3541
|
-
whiteCS: { ...
|
|
3548
|
+
whiteCS: { ...Ot.colors.whiteAlpha, base: "#FFFFFF" },
|
|
3542
3549
|
// contextual colors
|
|
3543
3550
|
utility: {
|
|
3544
3551
|
warning: "#CC0F05",
|
|
@@ -3546,8 +3553,9 @@ const ea = Zn({
|
|
|
3546
3553
|
success: "#28724F",
|
|
3547
3554
|
rating: "#F5A623"
|
|
3548
3555
|
}
|
|
3549
|
-
}, { semanticTokens:
|
|
3550
|
-
|
|
3556
|
+
}, { semanticTokens: Ua, sizes: qa, space: Ka, ...Ma } = Ot, E = (e) => `${e / 16}rem`, Oa = (e) => e, Ja = Oa({
|
|
3557
|
+
...Ma,
|
|
3558
|
+
//To fix: https://github.com/chakra-ui/chakra-ui/issues/8671
|
|
3551
3559
|
styles: {
|
|
3552
3560
|
global: {
|
|
3553
3561
|
"html:has(body[data-scroll-locked])": {
|
|
@@ -3681,39 +3689,39 @@ const ea = Zn({
|
|
|
3681
3689
|
toast: 1700,
|
|
3682
3690
|
tooltip: 1800
|
|
3683
3691
|
},
|
|
3684
|
-
colors:
|
|
3692
|
+
colors: $a,
|
|
3685
3693
|
components: {
|
|
3686
|
-
Accordion:
|
|
3687
|
-
Button:
|
|
3688
|
-
Checkbox:
|
|
3689
|
-
Container:
|
|
3690
|
-
Drawer:
|
|
3691
|
-
Form:
|
|
3694
|
+
Accordion: Ba,
|
|
3695
|
+
Button: No,
|
|
3696
|
+
Checkbox: an,
|
|
3697
|
+
Container: Pa,
|
|
3698
|
+
Drawer: fa,
|
|
3699
|
+
Form: Hn,
|
|
3692
3700
|
// Not sure why chakra does not follow their naming convention for this theme, but this is the way that it works
|
|
3693
|
-
FormError:
|
|
3694
|
-
FormLabel:
|
|
3695
|
-
Select:
|
|
3696
|
-
Heading:
|
|
3697
|
-
Icon:
|
|
3701
|
+
FormError: Vn,
|
|
3702
|
+
FormLabel: qn,
|
|
3703
|
+
Select: ta,
|
|
3704
|
+
Heading: ia,
|
|
3705
|
+
Icon: la,
|
|
3698
3706
|
Input: xe,
|
|
3699
|
-
Link:
|
|
3700
|
-
Stepper:
|
|
3701
|
-
Menu:
|
|
3702
|
-
Progress:
|
|
3703
|
-
Slider:
|
|
3704
|
-
Spinner:
|
|
3705
|
-
Skeleton:
|
|
3706
|
-
Tabs:
|
|
3707
|
-
Table:
|
|
3708
|
-
Tag:
|
|
3709
|
-
Text:
|
|
3710
|
-
Tooltip:
|
|
3711
|
-
Modal:
|
|
3712
|
-
}
|
|
3713
|
-
}),
|
|
3707
|
+
Link: na,
|
|
3708
|
+
Stepper: aa,
|
|
3709
|
+
Menu: Zn,
|
|
3710
|
+
Progress: ya,
|
|
3711
|
+
Slider: oa,
|
|
3712
|
+
Spinner: va,
|
|
3713
|
+
Skeleton: wa,
|
|
3714
|
+
Tabs: Ca,
|
|
3715
|
+
Table: za,
|
|
3716
|
+
Tag: Ea,
|
|
3717
|
+
Text: sa,
|
|
3718
|
+
Tooltip: pa,
|
|
3719
|
+
Modal: ha
|
|
3720
|
+
}
|
|
3721
|
+
}), Da = () => Ro(), Ut = Ao({
|
|
3714
3722
|
spacing: 0,
|
|
3715
3723
|
columns: 1
|
|
3716
|
-
}),
|
|
3724
|
+
}), Aa = Er.forwardRef(
|
|
3717
3725
|
({
|
|
3718
3726
|
children: e,
|
|
3719
3727
|
alignEdges: a = !0,
|
|
@@ -3722,9 +3730,9 @@ const ea = Zn({
|
|
|
3722
3730
|
spacing: f,
|
|
3723
3731
|
...m
|
|
3724
3732
|
}, T) => {
|
|
3725
|
-
const w =
|
|
3726
|
-
return /* @__PURE__ */ Y.jsx(
|
|
3727
|
-
|
|
3733
|
+
const w = Da(), g = f ?? w.space[4], z = (v) => typeof v == "number" ? -1 * v : `-${v}`, _ = Array.isArray(g) ? g.map((v) => v && z(v)) : g && z(g);
|
|
3734
|
+
return /* @__PURE__ */ Y.jsx(Ut.Provider, { value: { spacing: g, columns: u }, children: /* @__PURE__ */ Y.jsx(Ve, { m: a ? _ : void 0, children: /* @__PURE__ */ Y.jsx(
|
|
3735
|
+
Eo,
|
|
3728
3736
|
{
|
|
3729
3737
|
flexWrap: "wrap",
|
|
3730
3738
|
pl: g,
|
|
@@ -3737,10 +3745,10 @@ const ea = Zn({
|
|
|
3737
3745
|
) }) });
|
|
3738
3746
|
}
|
|
3739
3747
|
);
|
|
3740
|
-
|
|
3741
|
-
const
|
|
3748
|
+
Aa.displayName = "Grid";
|
|
3749
|
+
const Wa = Er.forwardRef(
|
|
3742
3750
|
({ children: e, width: a, ...s }, u) => {
|
|
3743
|
-
const { columns: f, spacing: m } =
|
|
3751
|
+
const { columns: f, spacing: m } = Wo(Ut), T = Array.isArray(a) ? a.map((g) => g === "auto" ? 1 : 0) : a === "auto" ? 1 : 0, w = () => (Array.isArray(f) ? f : [f]).map((z) => `${100 / z}%`);
|
|
3744
3752
|
return /* @__PURE__ */ Y.jsx(
|
|
3745
3753
|
Ve,
|
|
3746
3754
|
{
|
|
@@ -3758,25 +3766,25 @@ const Aa = Er.forwardRef(
|
|
|
3758
3766
|
);
|
|
3759
3767
|
}
|
|
3760
3768
|
);
|
|
3761
|
-
|
|
3762
|
-
const
|
|
3763
|
-
|
|
3764
|
-
function
|
|
3769
|
+
Wa.displayName = "GridItem";
|
|
3770
|
+
const Za = Fo, Qa = Bo, ja = (e) => /* @__PURE__ */ Y.jsx(Io, { icon: /* @__PURE__ */ Y.jsx(Dt, { as: At }), ...e });
|
|
3771
|
+
ja.displayName = "Checkbox";
|
|
3772
|
+
function La(e, a) {
|
|
3765
3773
|
const { background: s, filledBackground: u, ...f } = e;
|
|
3766
3774
|
return /* @__PURE__ */ Y.jsx(
|
|
3767
|
-
|
|
3775
|
+
zo,
|
|
3768
3776
|
{
|
|
3769
3777
|
...f,
|
|
3770
3778
|
ref: a,
|
|
3771
3779
|
sx: {
|
|
3772
|
-
[
|
|
3773
|
-
[
|
|
3780
|
+
[Xt.variable]: s ?? "colors.tints.lightGrey",
|
|
3781
|
+
[Vt.variable]: u ?? "colors.utility.rating"
|
|
3774
3782
|
}
|
|
3775
3783
|
}
|
|
3776
3784
|
);
|
|
3777
3785
|
}
|
|
3778
|
-
const
|
|
3779
|
-
const s =
|
|
3786
|
+
const ei = jo(La), nt = "32px", _r = (e) => e == null, Ga = Po((e, a) => {
|
|
3787
|
+
const s = $o(), u = {
|
|
3780
3788
|
isDisabled: s == null ? void 0 : s.isDisabled,
|
|
3781
3789
|
isFocusable: s == null ? void 0 : s.isFocusable,
|
|
3782
3790
|
isChecked: !_r(s == null ? void 0 : s.value) && !_r(e.value) ? s.value === e.value : e.isChecked,
|
|
@@ -3792,12 +3800,12 @@ const Qa = Wo(ja), nt = "32px", _r = (e) => e == null, La = zo((e, a) => {
|
|
|
3792
3800
|
getLabelProps: w,
|
|
3793
3801
|
state: g,
|
|
3794
3802
|
getRootProps: z
|
|
3795
|
-
} =
|
|
3803
|
+
} = Mo({
|
|
3796
3804
|
...e,
|
|
3797
3805
|
...u
|
|
3798
3806
|
}), _ = f({}, a), v = m(), D = w(), G = z(), X = g.isChecked, te = () => e.isDisabled ? "tints.lightGrey" : X ? "viridian.base" : "tints.white", oe = () => e.isDisabled ? "tints.lightGrey" : X ? "viridian.base" : "tints.uiGrey", V = () => e.isDisabled ? "not-allowed" : "pointer";
|
|
3799
3807
|
return /* @__PURE__ */ Y.jsxs(
|
|
3800
|
-
|
|
3808
|
+
Oo.label,
|
|
3801
3809
|
{
|
|
3802
3810
|
...T,
|
|
3803
3811
|
...G,
|
|
@@ -3829,7 +3837,7 @@ const Qa = Wo(ja), nt = "32px", _r = (e) => e == null, La = zo((e, a) => {
|
|
|
3829
3837
|
width: nt,
|
|
3830
3838
|
rounded: "full",
|
|
3831
3839
|
cursor: V(),
|
|
3832
|
-
children: X && /* @__PURE__ */ Y.jsx(
|
|
3840
|
+
children: X && /* @__PURE__ */ Y.jsx(Dt, { as: At })
|
|
3833
3841
|
}
|
|
3834
3842
|
),
|
|
3835
3843
|
/* @__PURE__ */ Y.jsx(
|
|
@@ -3847,9 +3855,9 @@ const Qa = Wo(ja), nt = "32px", _r = (e) => e == null, La = zo((e, a) => {
|
|
|
3847
3855
|
}
|
|
3848
3856
|
);
|
|
3849
3857
|
});
|
|
3850
|
-
|
|
3851
|
-
const
|
|
3852
|
-
|
|
3858
|
+
Ga.displayName = "Radio";
|
|
3859
|
+
const Ya = () => /* @__PURE__ */ Y.jsx(
|
|
3860
|
+
Lo,
|
|
3853
3861
|
{
|
|
3854
3862
|
styles: `
|
|
3855
3863
|
/* PP Agrandir */
|
|
@@ -3932,129 +3940,129 @@ const Ga = () => /* @__PURE__ */ Y.jsx(
|
|
|
3932
3940
|
}
|
|
3933
3941
|
`
|
|
3934
3942
|
}
|
|
3935
|
-
),
|
|
3943
|
+
), ri = ({
|
|
3936
3944
|
children: e,
|
|
3937
3945
|
...a
|
|
3938
|
-
}) => /* @__PURE__ */ Y.jsxs(
|
|
3939
|
-
/* @__PURE__ */ Y.jsx(
|
|
3946
|
+
}) => /* @__PURE__ */ Y.jsxs(Do, { ...a, children: [
|
|
3947
|
+
/* @__PURE__ */ Y.jsx(Ya, {}),
|
|
3940
3948
|
e
|
|
3941
3949
|
] });
|
|
3942
3950
|
export {
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
|
|
3946
|
-
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
|
|
3950
|
-
|
|
3951
|
-
|
|
3952
|
-
|
|
3953
|
-
|
|
3954
|
-
|
|
3955
|
-
|
|
3956
|
-
|
|
3957
|
-
|
|
3958
|
-
|
|
3959
|
-
|
|
3960
|
-
|
|
3961
|
-
|
|
3962
|
-
|
|
3963
|
-
|
|
3964
|
-
|
|
3965
|
-
|
|
3966
|
-
|
|
3967
|
-
|
|
3968
|
-
|
|
3969
|
-
|
|
3970
|
-
|
|
3971
|
-
|
|
3972
|
-
|
|
3973
|
-
|
|
3974
|
-
|
|
3975
|
-
|
|
3976
|
-
|
|
3977
|
-
|
|
3978
|
-
|
|
3979
|
-
|
|
3980
|
-
|
|
3981
|
-
|
|
3982
|
-
|
|
3983
|
-
|
|
3984
|
-
|
|
3985
|
-
|
|
3986
|
-
|
|
3987
|
-
|
|
3988
|
-
|
|
3989
|
-
|
|
3990
|
-
|
|
3991
|
-
|
|
3992
|
-
|
|
3993
|
-
|
|
3994
|
-
|
|
3995
|
-
|
|
3996
|
-
|
|
3997
|
-
|
|
3998
|
-
|
|
3999
|
-
|
|
4000
|
-
|
|
4001
|
-
|
|
4002
|
-
|
|
4003
|
-
|
|
4004
|
-
|
|
4005
|
-
|
|
4006
|
-
|
|
4007
|
-
|
|
4008
|
-
|
|
4009
|
-
|
|
4010
|
-
|
|
4011
|
-
|
|
4012
|
-
|
|
4013
|
-
|
|
4014
|
-
|
|
4015
|
-
|
|
4016
|
-
|
|
4017
|
-
|
|
4018
|
-
|
|
4019
|
-
|
|
4020
|
-
|
|
4021
|
-
|
|
4022
|
-
|
|
4023
|
-
|
|
4024
|
-
|
|
4025
|
-
|
|
4026
|
-
|
|
4027
|
-
|
|
4028
|
-
|
|
4029
|
-
|
|
4030
|
-
|
|
4031
|
-
|
|
4032
|
-
|
|
4033
|
-
|
|
4034
|
-
|
|
4035
|
-
|
|
4036
|
-
|
|
4037
|
-
|
|
4038
|
-
|
|
4039
|
-
|
|
4040
|
-
|
|
4041
|
-
|
|
4042
|
-
|
|
4043
|
-
|
|
4044
|
-
|
|
4045
|
-
|
|
4046
|
-
|
|
4047
|
-
|
|
4048
|
-
|
|
4049
|
-
|
|
4050
|
-
|
|
4051
|
-
|
|
4052
|
-
|
|
4053
|
-
|
|
4054
|
-
|
|
4055
|
-
|
|
4056
|
-
|
|
4057
|
-
|
|
4058
|
-
|
|
4059
|
-
|
|
3951
|
+
ni as Accordion,
|
|
3952
|
+
ai as AccordionButton,
|
|
3953
|
+
ii as AccordionIcon,
|
|
3954
|
+
si as AccordionItem,
|
|
3955
|
+
li as AccordionPanel,
|
|
3956
|
+
di as Box,
|
|
3957
|
+
ci as Breadcrumb,
|
|
3958
|
+
ui as BreadcrumbItem,
|
|
3959
|
+
fi as BreadcrumbLink,
|
|
3960
|
+
pi as BreadcrumbSeparator,
|
|
3961
|
+
gi as Button,
|
|
3962
|
+
ja as Checkbox,
|
|
3963
|
+
hi as CheckboxGroup,
|
|
3964
|
+
bi as Container,
|
|
3965
|
+
mi as Drawer,
|
|
3966
|
+
yi as DrawerBody,
|
|
3967
|
+
vi as DrawerCloseButton,
|
|
3968
|
+
Si as DrawerContent,
|
|
3969
|
+
xi as DrawerFooter,
|
|
3970
|
+
ki as DrawerHeader,
|
|
3971
|
+
wi as DrawerOverlay,
|
|
3972
|
+
_i as Flex,
|
|
3973
|
+
Ci as FormControl,
|
|
3974
|
+
Ti as FormErrorMessage,
|
|
3975
|
+
Ri as FormHelperText,
|
|
3976
|
+
Ei as FormLabel,
|
|
3977
|
+
Aa as Grid,
|
|
3978
|
+
Wa as GridItem,
|
|
3979
|
+
Fi as HStack,
|
|
3980
|
+
Bi as Heading,
|
|
3981
|
+
Qa as Hide,
|
|
3982
|
+
Ii as Icon,
|
|
3983
|
+
zi as IconButton,
|
|
3984
|
+
Pi as Image,
|
|
3985
|
+
$i as Input,
|
|
3986
|
+
Mi as InputGroup,
|
|
3987
|
+
Oi as InputLeftElement,
|
|
3988
|
+
Di as InputRightElement,
|
|
3989
|
+
Ai as Link,
|
|
3990
|
+
Wi as List,
|
|
3991
|
+
ji as ListIcon,
|
|
3992
|
+
Li as ListItem,
|
|
3993
|
+
Gi as Menu,
|
|
3994
|
+
Yi as MenuButton,
|
|
3995
|
+
Hi as MenuCommand,
|
|
3996
|
+
Ni as MenuDivider,
|
|
3997
|
+
Xi as MenuGroup,
|
|
3998
|
+
Vi as MenuItem,
|
|
3999
|
+
Ui as MenuItemOption,
|
|
4000
|
+
qi as MenuList,
|
|
4001
|
+
Ki as MenuOptionGroup,
|
|
4002
|
+
Ji as Modal,
|
|
4003
|
+
Zi as ModalBody,
|
|
4004
|
+
Qi as ModalCloseButton,
|
|
4005
|
+
es as ModalContent,
|
|
4006
|
+
rs as ModalFooter,
|
|
4007
|
+
ts as ModalHeader,
|
|
4008
|
+
os as ModalOverlay,
|
|
4009
|
+
ns as OrderedList,
|
|
4010
|
+
ei as Progress,
|
|
4011
|
+
Ga as Radio,
|
|
4012
|
+
as as RadioGroup,
|
|
4013
|
+
is as Select,
|
|
4014
|
+
Za as Show,
|
|
4015
|
+
ss as Skeleton,
|
|
4016
|
+
ls as SkeletonCircle,
|
|
4017
|
+
ds as SkeletonText,
|
|
4018
|
+
cs as Slider,
|
|
4019
|
+
us as SliderFilledTrack,
|
|
4020
|
+
fs as SliderMark,
|
|
4021
|
+
ps as SliderThumb,
|
|
4022
|
+
gs as SliderTrack,
|
|
4023
|
+
hs as Spacer,
|
|
4024
|
+
bs as Spinner,
|
|
4025
|
+
ms as Stack,
|
|
4026
|
+
ys as Step,
|
|
4027
|
+
vs as StepDescription,
|
|
4028
|
+
Ss as StepIcon,
|
|
4029
|
+
xs as StepIndicator,
|
|
4030
|
+
ks as StepNumber,
|
|
4031
|
+
ws as StepSeparator,
|
|
4032
|
+
_s as StepStatus,
|
|
4033
|
+
Cs as StepTitle,
|
|
4034
|
+
Ts as Stepper,
|
|
4035
|
+
Rs as Tab,
|
|
4036
|
+
Es as TabList,
|
|
4037
|
+
Fs as TabPanel,
|
|
4038
|
+
Bs as TabPanels,
|
|
4039
|
+
Is as Table,
|
|
4040
|
+
zs as TableCaption,
|
|
4041
|
+
Ps as TableContainer,
|
|
4042
|
+
$s as Tabs,
|
|
4043
|
+
Ms as Tag,
|
|
4044
|
+
Os as TagCloseButton,
|
|
4045
|
+
Ds as TagLabel,
|
|
4046
|
+
As as TagLeftIcon,
|
|
4047
|
+
Ws as TagRightIcon,
|
|
4048
|
+
js as Tbody,
|
|
4049
|
+
Ls as Td,
|
|
4050
|
+
Gs as Text,
|
|
4051
|
+
Ys as Tfoot,
|
|
4052
|
+
Hs as Th,
|
|
4053
|
+
Ns as Thead,
|
|
4054
|
+
ri as ThemeProvider,
|
|
4055
|
+
Xs as Tooltip,
|
|
4056
|
+
Vs as Tr,
|
|
4057
|
+
Us as UnorderedList,
|
|
4058
|
+
qs as VStack,
|
|
4059
|
+
Ks as VisuallyHidden,
|
|
4060
|
+
Js as extendTheme,
|
|
4061
|
+
nl as styled,
|
|
4062
|
+
Ja as theme,
|
|
4063
|
+
Zs as useDisclosure,
|
|
4064
|
+
Qs as useMediaQuery,
|
|
4065
|
+
el as useRadioGroup,
|
|
4066
|
+
rl as useSteps,
|
|
4067
|
+
tl as useTab
|
|
4060
4068
|
};
|