@nycplanning/streetscape 0.21.0 → 0.21.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/dist/index.js +105 -94
- package/dist/index.js.map +1 -1
- package/dist/theme/components/combobox.d.ts +11 -0
- package/dist/theme/components/index.d.ts +11 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { baseTheme as c0, createMultiStyleConfigHelpers as $, cssVar as V, defineStyle as l, defineStyleConfig as w0, extendTheme as B0, ChakraBaseProvider as T0, Accordion as I0, AccordionItem as z0, AccordionButton as M0, AccordionPanel as P0, AccordionIcon as L0, Button as H0, IconButton as _0, ButtonGroup as A0, CloseButton as V0, chakra as k, Checkbox as W0, Switch as F0, Input as D0, NumberInput as R0, NumberInputField as E0, NumberInputStepper as Z0, NumberIncrementStepper as j0, NumberDecrementStepper as O0, FormControl as N0, FormErrorMessage as U0, FormLabel as
|
|
2
|
-
import { Card as fl, CardBody as ul, CardFooter as Cl, CardHeader as
|
|
1
|
+
import { baseTheme as c0, createMultiStyleConfigHelpers as $, cssVar as V, defineStyle as l, defineStyleConfig as w0, extendTheme as B0, ChakraBaseProvider as T0, Accordion as I0, AccordionItem as z0, AccordionButton as M0, AccordionPanel as P0, AccordionIcon as L0, Button as H0, IconButton as _0, ButtonGroup as A0, CloseButton as V0, chakra as k, Checkbox as W0, Switch as F0, Input as D0, NumberInput as R0, NumberInputField as E0, NumberInputStepper as Z0, NumberIncrementStepper as j0, NumberDecrementStepper as O0, FormControl as N0, FormErrorMessage as U0, FormLabel as G0, Flex as X0, Select as Y0, Drawer as q0, DrawerBody as Q0, DrawerFooter as J0, DrawerHeader as K0, DrawerOverlay as eo, DrawerContent as oo, DrawerCloseButton as to, Tabs as ro, Tab as ao, TabList as no, TabPanels as io, TabPanel as lo, Table as so, Thead as co, Tbody as bo, Tfoot as po, Tr as go, Th as fo, Td as uo, TableCaption as Co, TableContainer as ho, useToast as yo, Fade as mo, ScaleFade as So, Slide as vo, SlideFade as xo, Collapse as $o, Modal as ko, ModalBody as wo, ModalFooter as Bo, ModalHeader as To, ModalOverlay as Io, ModalContent as zo, ModalCloseButton as Mo, Skeleton as Po, SkeletonCircle as Lo, SkeletonText as Ho, Slider as _o, SliderTrack as Ao, SliderFilledTrack as Vo, SliderThumb as Wo, SliderMark as Fo, useBoolean as Do, useOutsideClick as Ro, Tooltip as Eo, Tag as Zo, TagLabel as jo, TagLeftIcon as Oo, TagRightIcon as No, TagCloseButton as Uo, Popover as Go, PopoverTrigger as Xo, PopoverContent as Yo, PopoverHeader as qo, PopoverBody as Qo, PopoverFooter as Jo, PopoverCloseButton as Ko, PopoverAnchor as et } from "@chakra-ui/react";
|
|
2
|
+
import { Card as fl, CardBody as ul, CardFooter as Cl, CardHeader as hl } from "@chakra-ui/react";
|
|
3
3
|
import { createMultiStyleConfigHelpers as b, defineStyle as t, cssVar as i, defineStyleConfig as W, defineCssVars as ot } from "@chakra-ui/styled-system";
|
|
4
|
-
import { transparentize as ee, cssVar as g, calc as b0, mode as
|
|
4
|
+
import { transparentize as ee, cssVar as g, calc as b0, mode as y } from "@chakra-ui/theme-tools";
|
|
5
5
|
import { comboboxAnatomy as tt } from "@ark-ui/react/anatomy";
|
|
6
6
|
import { jsx as r, jsxs as m } from "react/jsx-runtime";
|
|
7
7
|
export * from "@chakra-ui/layout";
|
|
@@ -10,7 +10,7 @@ import * as rt from "react";
|
|
|
10
10
|
import { useRef as at } from "react";
|
|
11
11
|
import { Combobox as w, useListCollection as nt } from "@ark-ui/react/combobox";
|
|
12
12
|
import { Icon as S, CloseIcon as it } from "@chakra-ui/icons";
|
|
13
|
-
import { AddIcon as vl, ArrowBackIcon as xl, ArrowDownIcon as $l, ArrowForwardIcon as kl, ArrowLeftIcon as wl, ArrowRightIcon as Bl, ArrowUpDownIcon as Tl, ArrowUpIcon as Il, AtSignIcon as zl, AttachmentIcon as Ml, BellIcon as Pl, CalendarIcon as Ll, ChatIcon as Hl, CheckCircleIcon as _l, CheckIcon as Al, ChevronDownIcon as Vl, ChevronLeftIcon as Wl, ChevronRightIcon as Fl, ChevronUpIcon as Dl, CloseIcon as Rl, CopyIcon as El, DeleteIcon as Zl, DownloadIcon as jl, DragHandleIcon as Ol, EditIcon as Nl, EmailIcon as Ul, ExternalLinkIcon as
|
|
13
|
+
import { AddIcon as vl, ArrowBackIcon as xl, ArrowDownIcon as $l, ArrowForwardIcon as kl, ArrowLeftIcon as wl, ArrowRightIcon as Bl, ArrowUpDownIcon as Tl, ArrowUpIcon as Il, AtSignIcon as zl, AttachmentIcon as Ml, BellIcon as Pl, CalendarIcon as Ll, ChatIcon as Hl, CheckCircleIcon as _l, CheckIcon as Al, ChevronDownIcon as Vl, ChevronLeftIcon as Wl, ChevronRightIcon as Fl, ChevronUpIcon as Dl, CloseIcon as Rl, CopyIcon as El, DeleteIcon as Zl, DownloadIcon as jl, DragHandleIcon as Ol, EditIcon as Nl, EmailIcon as Ul, ExternalLinkIcon as Gl, HamburgerIcon as Xl, Icon as Yl, InfoIcon as ql, InfoOutlineIcon as Ql, LinkIcon as Jl, LockIcon as Kl, MinusIcon as es, MoonIcon as os, NotAllowedIcon as ts, PhoneIcon as rs, PlusSquareIcon as as, QuestionIcon as ns, QuestionOutlineIcon as is, RepeatClockIcon as ls, RepeatIcon as ss, Search2Icon as ds, SearchIcon as cs, SettingsIcon as bs, SmallAddIcon as ps, SmallCloseIcon as gs, SpinnerIcon as fs, StarIcon as us, SunIcon as Cs, TimeIcon as hs, TriangleDownIcon as ys, TriangleUpIcon as ms, UnlockIcon as Ss, UpDownIcon as vs, ViewIcon as xs, ViewOffIcon as $s, WarningIcon as ks, WarningTwoIcon as ws } from "@chakra-ui/icons";
|
|
14
14
|
const lt = {}, st = {}, dt = {
|
|
15
15
|
base: "0em",
|
|
16
16
|
sm: "30em",
|
|
@@ -91,7 +91,7 @@ const lt = {}, st = {}, dt = {
|
|
|
91
91
|
md: "0.375rem",
|
|
92
92
|
lg: "0.5rem",
|
|
93
93
|
full: "9999px"
|
|
94
|
-
},
|
|
94
|
+
}, ht = {
|
|
95
95
|
base: "0px 4px 4px 0px rgba(0, 0, 0, 0.08) inset, 0px -4px 4px 0px rgba(0, 0, 0, 0.08) inset, 4px 0px 4px 0px rgba(0, 0, 0, 0.08) inset, -4px 0px 4px 0px rgba(0, 0, 0, 0.08) inset"
|
|
96
96
|
}, p0 = {
|
|
97
97
|
px: "1px",
|
|
@@ -128,7 +128,7 @@ const lt = {}, st = {}, dt = {
|
|
|
128
128
|
72: "18rem",
|
|
129
129
|
80: "20rem",
|
|
130
130
|
96: "24rem"
|
|
131
|
-
},
|
|
131
|
+
}, yt = {
|
|
132
132
|
...p0,
|
|
133
133
|
max: "max-content",
|
|
134
134
|
min: "min-content",
|
|
@@ -144,8 +144,8 @@ const lt = {}, st = {}, dt = {
|
|
|
144
144
|
letterSpacings: ft,
|
|
145
145
|
lineHeights: ut,
|
|
146
146
|
radii: Ct,
|
|
147
|
-
shadows:
|
|
148
|
-
sizes:
|
|
147
|
+
shadows: ht,
|
|
148
|
+
sizes: yt,
|
|
149
149
|
space: p0,
|
|
150
150
|
transition: mt,
|
|
151
151
|
zIndices: St
|
|
@@ -177,14 +177,14 @@ function n(o, e = {}) {
|
|
|
177
177
|
"[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?"
|
|
178
178
|
);
|
|
179
179
|
}
|
|
180
|
-
function f(...
|
|
180
|
+
function f(...h) {
|
|
181
181
|
s();
|
|
182
|
-
for (const u of
|
|
182
|
+
for (const u of h)
|
|
183
183
|
e[u] = re(u);
|
|
184
184
|
return n(o, e);
|
|
185
185
|
}
|
|
186
|
-
function oe(...
|
|
187
|
-
for (const u of
|
|
186
|
+
function oe(...h) {
|
|
187
|
+
for (const u of h)
|
|
188
188
|
u in e || (e[u] = re(u));
|
|
189
189
|
return n(o, e);
|
|
190
190
|
}
|
|
@@ -198,12 +198,12 @@ function n(o, e = {}) {
|
|
|
198
198
|
Object.entries(e).map(([u, E]) => [u, E.className])
|
|
199
199
|
);
|
|
200
200
|
}
|
|
201
|
-
function re(
|
|
202
|
-
const ke = `chakra-${(["container", "root"].includes(
|
|
201
|
+
function re(h) {
|
|
202
|
+
const ke = `chakra-${(["container", "root"].includes(h ?? "") ? [o] : [o, h]).filter(Boolean).join("__")}`;
|
|
203
203
|
return {
|
|
204
204
|
className: ke,
|
|
205
205
|
selector: `.${ke}`,
|
|
206
|
-
toString: () =>
|
|
206
|
+
toString: () => h
|
|
207
207
|
};
|
|
208
208
|
}
|
|
209
209
|
return {
|
|
@@ -298,7 +298,7 @@ var Ht = n("switch").parts(
|
|
|
298
298
|
"container",
|
|
299
299
|
"label",
|
|
300
300
|
"closeButton"
|
|
301
|
-
),
|
|
301
|
+
), h0 = n("card").parts(
|
|
302
302
|
"container",
|
|
303
303
|
"header",
|
|
304
304
|
"body",
|
|
@@ -352,17 +352,17 @@ const Ut = t({
|
|
|
352
352
|
}
|
|
353
353
|
});
|
|
354
354
|
var Le;
|
|
355
|
-
const
|
|
355
|
+
const Gt = t({
|
|
356
356
|
...(Le = A.baseStyle) == null ? void 0 : Le.panel
|
|
357
357
|
});
|
|
358
358
|
var He;
|
|
359
|
-
const
|
|
359
|
+
const Xt = t({
|
|
360
360
|
...(He = A.baseStyle) == null ? void 0 : He.icon
|
|
361
361
|
}), Yt = jt({
|
|
362
362
|
container: Nt,
|
|
363
363
|
button: Ut,
|
|
364
|
-
panel:
|
|
365
|
-
icon:
|
|
364
|
+
panel: Gt,
|
|
365
|
+
icon: Xt
|
|
366
366
|
}), qt = Ot({ baseStyle: Yt });
|
|
367
367
|
var { definePartsStyle: F, defineMultiStyleConfig: Qt } = b(f0.keys), p = i("alert-fg"), x = i("alert-bg"), Jt = F({
|
|
368
368
|
container: {
|
|
@@ -672,11 +672,11 @@ const pr = l({
|
|
|
672
672
|
size: "md"
|
|
673
673
|
}
|
|
674
674
|
});
|
|
675
|
-
var { definePartsStyle: I, defineMultiStyleConfig: Cr } = b(
|
|
675
|
+
var { definePartsStyle: I, defineMultiStyleConfig: Cr } = b(h0.keys), Q = i("card-bg"), v = i("card-padding"), y0 = i("card-shadow"), O = i("card-radius"), m0 = i("card-border-width", "0"), S0 = i("card-border-color"), hr = I({
|
|
676
676
|
container: {
|
|
677
677
|
[Q.variable]: "colors.chakra-body-bg",
|
|
678
678
|
backgroundColor: Q.reference,
|
|
679
|
-
boxShadow:
|
|
679
|
+
boxShadow: y0.reference,
|
|
680
680
|
borderRadius: O.reference,
|
|
681
681
|
color: "chakra-body-text",
|
|
682
682
|
borderWidth: m0.reference,
|
|
@@ -692,7 +692,7 @@ var { definePartsStyle: I, defineMultiStyleConfig: Cr } = b(y0.keys), Q = i("car
|
|
|
692
692
|
footer: {
|
|
693
693
|
padding: v.reference
|
|
694
694
|
}
|
|
695
|
-
}),
|
|
695
|
+
}), yr = {
|
|
696
696
|
sm: I({
|
|
697
697
|
container: {
|
|
698
698
|
[O.variable]: "radii.base",
|
|
@@ -714,7 +714,7 @@ var { definePartsStyle: I, defineMultiStyleConfig: Cr } = b(y0.keys), Q = i("car
|
|
|
714
714
|
}, mr = {
|
|
715
715
|
elevated: I({
|
|
716
716
|
container: {
|
|
717
|
-
[
|
|
717
|
+
[y0.variable]: "shadows.base",
|
|
718
718
|
_dark: {
|
|
719
719
|
[Q.variable]: "colors.gray.700"
|
|
720
720
|
}
|
|
@@ -743,15 +743,15 @@ var { definePartsStyle: I, defineMultiStyleConfig: Cr } = b(y0.keys), Q = i("car
|
|
|
743
743
|
}
|
|
744
744
|
}
|
|
745
745
|
}, T = Cr({
|
|
746
|
-
baseStyle:
|
|
746
|
+
baseStyle: hr,
|
|
747
747
|
variants: mr,
|
|
748
|
-
sizes:
|
|
748
|
+
sizes: yr,
|
|
749
749
|
defaultProps: {
|
|
750
750
|
variant: "elevated",
|
|
751
751
|
size: "md"
|
|
752
752
|
}
|
|
753
753
|
});
|
|
754
|
-
const { definePartsStyle: Sr, defineMultiStyleConfig: vr } = $(
|
|
754
|
+
const { definePartsStyle: Sr, defineMultiStyleConfig: vr } = $(h0.keys);
|
|
755
755
|
var De;
|
|
756
756
|
const xr = {
|
|
757
757
|
...T == null ? void 0 : T.variants,
|
|
@@ -766,7 +766,7 @@ const xr = {
|
|
|
766
766
|
}, $r = vr({
|
|
767
767
|
...T,
|
|
768
768
|
variants: xr
|
|
769
|
-
}), { definePartsStyle:
|
|
769
|
+
}), { definePartsStyle: he, defineMultiStyleConfig: kr } = $(kt.keys), wr = l(() => ({
|
|
770
770
|
borderRadius: "2px",
|
|
771
771
|
// change the border radius of the control
|
|
772
772
|
border: "2px solid",
|
|
@@ -787,18 +787,18 @@ const xr = {
|
|
|
787
787
|
borderColor: "gray.400",
|
|
788
788
|
color: "gray.400"
|
|
789
789
|
}
|
|
790
|
-
})), Br = l({}), Tr = l({}), Ir = l({}), zr =
|
|
790
|
+
})), Br = l({}), Tr = l({}), Ir = l({}), zr = he(() => ({
|
|
791
791
|
icon: Ir,
|
|
792
792
|
container: Br,
|
|
793
793
|
control: wr(),
|
|
794
794
|
label: Tr
|
|
795
795
|
})), Mr = {
|
|
796
|
-
sm:
|
|
796
|
+
sm: he({
|
|
797
797
|
control: { boxSize: 6 },
|
|
798
798
|
// this value includes the border, making it a 20px box with a 2px border
|
|
799
799
|
label: { fontSize: "sm" }
|
|
800
800
|
}),
|
|
801
|
-
md:
|
|
801
|
+
md: he({
|
|
802
802
|
control: { boxSize: 7 },
|
|
803
803
|
// this value includes the border, making it a 24px box with a 2px border
|
|
804
804
|
label: { fontSize: "md" }
|
|
@@ -908,7 +908,18 @@ const Rr = t({
|
|
|
908
908
|
alignSelf: "center",
|
|
909
909
|
position: "absolute",
|
|
910
910
|
right: 1.5,
|
|
911
|
-
zIndex: 2
|
|
911
|
+
zIndex: 2,
|
|
912
|
+
bg: "#FFFFFF",
|
|
913
|
+
_before: {
|
|
914
|
+
content: '""',
|
|
915
|
+
position: "absolute",
|
|
916
|
+
top: 0,
|
|
917
|
+
right: "100%",
|
|
918
|
+
width: "24px",
|
|
919
|
+
height: "100%",
|
|
920
|
+
pointerEvents: "none",
|
|
921
|
+
bgGradient: "linear(to-r, #ffffff00, #ffffff)"
|
|
922
|
+
}
|
|
912
923
|
}), Zr = t({
|
|
913
924
|
borderRadius: "md",
|
|
914
925
|
paddingY: 2,
|
|
@@ -949,8 +960,8 @@ const Rr = t({
|
|
|
949
960
|
itemText: Or
|
|
950
961
|
}), B = Wr({
|
|
951
962
|
baseStyle: Nr
|
|
952
|
-
}), { definePartsStyle:
|
|
953
|
-
[ae.variable]:
|
|
963
|
+
}), { definePartsStyle: ye, defineMultiStyleConfig: Ur } = $(Ht.keys), J = g("switch-track-width"), L = g("switch-track-height"), ae = g("switch-track-diff"), Gr = b0.subtract(J, L), me = g("switch-thumb-x"), Xr = l({
|
|
964
|
+
[ae.variable]: Gr,
|
|
954
965
|
[me.variable]: ae.reference,
|
|
955
966
|
_rtl: {
|
|
956
967
|
[me.variable]: b0(ae).negate().toString()
|
|
@@ -981,18 +992,18 @@ const Rr = t({
|
|
|
981
992
|
_disabled: {
|
|
982
993
|
bg: "gray.300"
|
|
983
994
|
}
|
|
984
|
-
}), Qr =
|
|
995
|
+
}), Qr = ye(() => ({
|
|
985
996
|
track: qr,
|
|
986
|
-
container:
|
|
997
|
+
container: Xr,
|
|
987
998
|
thumb: Yr
|
|
988
999
|
})), Jr = {
|
|
989
|
-
sm:
|
|
1000
|
+
sm: ye({
|
|
990
1001
|
container: {
|
|
991
1002
|
[J.variable]: "sizes.6",
|
|
992
1003
|
[L.variable]: "sizes.4"
|
|
993
1004
|
}
|
|
994
1005
|
}),
|
|
995
|
-
lg:
|
|
1006
|
+
lg: ye({
|
|
996
1007
|
container: {
|
|
997
1008
|
[J.variable]: "sizes.8",
|
|
998
1009
|
[L.variable]: "sizes.5"
|
|
@@ -1090,8 +1101,8 @@ const Ca = fa({
|
|
|
1090
1101
|
}), le = t({
|
|
1091
1102
|
paddingInlineEnd: "8"
|
|
1092
1103
|
});
|
|
1093
|
-
var Ne, Ue,
|
|
1094
|
-
const
|
|
1104
|
+
var Ne, Ue, Ge, Xe, Ye, qe;
|
|
1105
|
+
const ha = {
|
|
1095
1106
|
lg: {
|
|
1096
1107
|
...(Ne = c.sizes) == null ? void 0 : Ne.lg,
|
|
1097
1108
|
field: {
|
|
@@ -1100,9 +1111,9 @@ const ya = {
|
|
|
1100
1111
|
}
|
|
1101
1112
|
},
|
|
1102
1113
|
md: {
|
|
1103
|
-
...(
|
|
1114
|
+
...(Ge = c.sizes) == null ? void 0 : Ge.md,
|
|
1104
1115
|
field: {
|
|
1105
|
-
...(
|
|
1116
|
+
...(Xe = c.sizes) == null ? void 0 : Xe.md.field,
|
|
1106
1117
|
...le
|
|
1107
1118
|
}
|
|
1108
1119
|
},
|
|
@@ -1113,9 +1124,9 @@ const ya = {
|
|
|
1113
1124
|
...le
|
|
1114
1125
|
}
|
|
1115
1126
|
}
|
|
1116
|
-
},
|
|
1127
|
+
}, ya = ua({
|
|
1117
1128
|
baseStyle: Ca,
|
|
1118
|
-
sizes:
|
|
1129
|
+
sizes: ha,
|
|
1119
1130
|
variants: {
|
|
1120
1131
|
base: {}
|
|
1121
1132
|
},
|
|
@@ -1278,8 +1289,8 @@ const { definePartsStyle: v0, defineMultiStyleConfig: Aa } = $(Lt.keys), Va = V(
|
|
|
1278
1289
|
}
|
|
1279
1290
|
}), Ua = B0({
|
|
1280
1291
|
components: { Slider: Na }
|
|
1281
|
-
}),
|
|
1282
|
-
var { defineMultiStyleConfig:
|
|
1292
|
+
}), Ga = Ua.components.Slider;
|
|
1293
|
+
var { defineMultiStyleConfig: Xa, definePartsStyle: P } = b(_t.keys), Ya = P({
|
|
1283
1294
|
table: {
|
|
1284
1295
|
fontVariantNumeric: "lining-nums tabular-nums",
|
|
1285
1296
|
borderCollapse: "collapse",
|
|
@@ -1309,18 +1320,18 @@ var { defineMultiStyleConfig: Ga, definePartsStyle: P } = b(_t.keys), Ya = P({
|
|
|
1309
1320
|
const { colorScheme: e } = o;
|
|
1310
1321
|
return {
|
|
1311
1322
|
th: {
|
|
1312
|
-
color:
|
|
1323
|
+
color: y("gray.600", "gray.400")(o),
|
|
1313
1324
|
borderBottom: "1px",
|
|
1314
|
-
borderColor:
|
|
1325
|
+
borderColor: y(`${e}.100`, `${e}.700`)(o),
|
|
1315
1326
|
...K
|
|
1316
1327
|
},
|
|
1317
1328
|
td: {
|
|
1318
1329
|
borderBottom: "1px",
|
|
1319
|
-
borderColor:
|
|
1330
|
+
borderColor: y(`${e}.100`, `${e}.700`)(o),
|
|
1320
1331
|
...K
|
|
1321
1332
|
},
|
|
1322
1333
|
caption: {
|
|
1323
|
-
color:
|
|
1334
|
+
color: y("gray.600", "gray.100")(o)
|
|
1324
1335
|
},
|
|
1325
1336
|
tfoot: {
|
|
1326
1337
|
tr: {
|
|
@@ -1334,28 +1345,28 @@ var { defineMultiStyleConfig: Ga, definePartsStyle: P } = b(_t.keys), Ya = P({
|
|
|
1334
1345
|
const { colorScheme: e } = o;
|
|
1335
1346
|
return {
|
|
1336
1347
|
th: {
|
|
1337
|
-
color:
|
|
1348
|
+
color: y("gray.600", "gray.400")(o),
|
|
1338
1349
|
borderBottom: "1px",
|
|
1339
|
-
borderColor:
|
|
1350
|
+
borderColor: y(`${e}.100`, `${e}.700`)(o),
|
|
1340
1351
|
...K
|
|
1341
1352
|
},
|
|
1342
1353
|
td: {
|
|
1343
1354
|
borderBottom: "1px",
|
|
1344
|
-
borderColor:
|
|
1355
|
+
borderColor: y(`${e}.100`, `${e}.700`)(o),
|
|
1345
1356
|
...K
|
|
1346
1357
|
},
|
|
1347
1358
|
caption: {
|
|
1348
|
-
color:
|
|
1359
|
+
color: y("gray.600", "gray.100")(o)
|
|
1349
1360
|
},
|
|
1350
1361
|
tbody: {
|
|
1351
1362
|
tr: {
|
|
1352
1363
|
"&:nth-of-type(odd)": {
|
|
1353
1364
|
"th, td": {
|
|
1354
1365
|
borderBottomWidth: "1px",
|
|
1355
|
-
borderColor:
|
|
1366
|
+
borderColor: y(`${e}.100`, `${e}.700`)(o)
|
|
1356
1367
|
},
|
|
1357
1368
|
td: {
|
|
1358
|
-
background:
|
|
1369
|
+
background: y(`${e}.100`, `${e}.700`)(o)
|
|
1359
1370
|
}
|
|
1360
1371
|
}
|
|
1361
1372
|
}
|
|
@@ -1428,7 +1439,7 @@ var { defineMultiStyleConfig: Ga, definePartsStyle: P } = b(_t.keys), Ya = P({
|
|
|
1428
1439
|
fontSize: "md"
|
|
1429
1440
|
}
|
|
1430
1441
|
})
|
|
1431
|
-
}, e1 =
|
|
1442
|
+
}, e1 = Xa({
|
|
1432
1443
|
baseStyle: Ya,
|
|
1433
1444
|
variants: Ja,
|
|
1434
1445
|
sizes: Ka,
|
|
@@ -1602,17 +1613,17 @@ var { defineMultiStyleConfig: c1, definePartsStyle: ve } = b(zt.keys), ce = i("m
|
|
|
1602
1613
|
flex: "1",
|
|
1603
1614
|
overflow: e === "inside" ? "auto" : void 0
|
|
1604
1615
|
};
|
|
1605
|
-
}),
|
|
1616
|
+
}), h1 = t({
|
|
1606
1617
|
px: "6",
|
|
1607
1618
|
py: "4"
|
|
1608
|
-
}),
|
|
1619
|
+
}), y1 = ve((o) => ({
|
|
1609
1620
|
overlay: b1,
|
|
1610
1621
|
dialogContainer: U(p1, o),
|
|
1611
1622
|
dialog: U(g1, o),
|
|
1612
1623
|
header: f1,
|
|
1613
1624
|
closeButton: u1,
|
|
1614
1625
|
body: U(C1, o),
|
|
1615
|
-
footer:
|
|
1626
|
+
footer: h1
|
|
1616
1627
|
}));
|
|
1617
1628
|
function C(o) {
|
|
1618
1629
|
return ve(o === "full" ? {
|
|
@@ -1639,7 +1650,7 @@ var m1 = {
|
|
|
1639
1650
|
"6xl": C("6xl"),
|
|
1640
1651
|
full: C("full")
|
|
1641
1652
|
}, S1 = c1({
|
|
1642
|
-
baseStyle:
|
|
1653
|
+
baseStyle: y1,
|
|
1643
1654
|
sizes: m1,
|
|
1644
1655
|
defaultProps: { size: "md" }
|
|
1645
1656
|
}), pe = i("skeleton-start-color"), ge = i("skeleton-end-color"), v1 = t({
|
|
@@ -1728,7 +1739,7 @@ var d = ot("badge", ["bg", "color", "shadow"]), B1 = t({
|
|
|
1728
1739
|
variant: "subtle",
|
|
1729
1740
|
colorScheme: "gray"
|
|
1730
1741
|
}
|
|
1731
|
-
}), { defineMultiStyleConfig: P1, definePartsStyle: z } = b(C0.keys), we = i("tag-bg"), Be = i("tag-color"), Ce = i("tag-shadow"),
|
|
1742
|
+
}), { defineMultiStyleConfig: P1, definePartsStyle: z } = b(C0.keys), we = i("tag-bg"), Be = i("tag-color"), Ce = i("tag-shadow"), G = i("tag-min-height"), X = i("tag-min-width"), Y = i("tag-font-size"), q = i("tag-padding-inline"), L1 = t({
|
|
1732
1743
|
fontWeight: "medium",
|
|
1733
1744
|
lineHeight: 1.2,
|
|
1734
1745
|
outline: 0,
|
|
@@ -1739,8 +1750,8 @@ var d = ot("badge", ["bg", "color", "shadow"]), B1 = t({
|
|
|
1739
1750
|
bg: we.reference,
|
|
1740
1751
|
boxShadow: Ce.reference,
|
|
1741
1752
|
borderRadius: "md",
|
|
1742
|
-
minH:
|
|
1743
|
-
minW:
|
|
1753
|
+
minH: G.reference,
|
|
1754
|
+
minW: X.reference,
|
|
1744
1755
|
fontSize: Y.reference,
|
|
1745
1756
|
px: q.reference,
|
|
1746
1757
|
_focusVisible: {
|
|
@@ -1779,8 +1790,8 @@ var d = ot("badge", ["bg", "color", "shadow"]), B1 = t({
|
|
|
1779
1790
|
}), V1 = {
|
|
1780
1791
|
sm: z({
|
|
1781
1792
|
container: {
|
|
1782
|
-
[X.variable]: "sizes.5",
|
|
1783
1793
|
[G.variable]: "sizes.5",
|
|
1794
|
+
[X.variable]: "sizes.5",
|
|
1784
1795
|
[Y.variable]: "fontSizes.xs",
|
|
1785
1796
|
[q.variable]: "space.2"
|
|
1786
1797
|
},
|
|
@@ -1791,16 +1802,16 @@ var d = ot("badge", ["bg", "color", "shadow"]), B1 = t({
|
|
|
1791
1802
|
}),
|
|
1792
1803
|
md: z({
|
|
1793
1804
|
container: {
|
|
1794
|
-
[X.variable]: "sizes.6",
|
|
1795
1805
|
[G.variable]: "sizes.6",
|
|
1806
|
+
[X.variable]: "sizes.6",
|
|
1796
1807
|
[Y.variable]: "fontSizes.sm",
|
|
1797
1808
|
[q.variable]: "space.2"
|
|
1798
1809
|
}
|
|
1799
1810
|
}),
|
|
1800
1811
|
lg: z({
|
|
1801
1812
|
container: {
|
|
1802
|
-
[X.variable]: "sizes.8",
|
|
1803
1813
|
[G.variable]: "sizes.8",
|
|
1814
|
+
[X.variable]: "sizes.8",
|
|
1804
1815
|
[Y.variable]: "fontSizes.md",
|
|
1805
1816
|
[q.variable]: "space.3"
|
|
1806
1817
|
}
|
|
@@ -1867,11 +1878,11 @@ var { defineMultiStyleConfig: Z1, definePartsStyle: j1 } = b(u0.keys), j = g("po
|
|
|
1867
1878
|
outline: 0,
|
|
1868
1879
|
boxShadow: "outline"
|
|
1869
1880
|
}
|
|
1870
|
-
}),
|
|
1881
|
+
}), G1 = t({
|
|
1871
1882
|
px: 3,
|
|
1872
1883
|
py: 2,
|
|
1873
1884
|
borderBottomWidth: "1px"
|
|
1874
|
-
}),
|
|
1885
|
+
}), X1 = t({
|
|
1875
1886
|
px: 3,
|
|
1876
1887
|
py: 2
|
|
1877
1888
|
}), Y1 = t({
|
|
@@ -1887,8 +1898,8 @@ var { defineMultiStyleConfig: Z1, definePartsStyle: j1 } = b(u0.keys), j = g("po
|
|
|
1887
1898
|
}), Q1 = j1({
|
|
1888
1899
|
popper: N1,
|
|
1889
1900
|
content: U1,
|
|
1890
|
-
header:
|
|
1891
|
-
body:
|
|
1901
|
+
header: G1,
|
|
1902
|
+
body: X1,
|
|
1892
1903
|
footer: Y1,
|
|
1893
1904
|
closeButton: q1
|
|
1894
1905
|
}), R = Z1({
|
|
@@ -1968,10 +1979,10 @@ const an = t({
|
|
|
1968
1979
|
Form: la,
|
|
1969
1980
|
FormError: ga,
|
|
1970
1981
|
FormLabel: da,
|
|
1971
|
-
Select:
|
|
1982
|
+
Select: ya,
|
|
1972
1983
|
CloseButton: xa,
|
|
1973
1984
|
Drawer: _a,
|
|
1974
|
-
Slider:
|
|
1985
|
+
Slider: Ga,
|
|
1975
1986
|
Table: e1,
|
|
1976
1987
|
Tabs: d1,
|
|
1977
1988
|
Modal: S1,
|
|
@@ -2041,11 +2052,11 @@ const Cn = k(w.Input, {
|
|
|
2041
2052
|
baseStyle: (n0 = B.baseStyle) == null ? void 0 : n0.input.field
|
|
2042
2053
|
});
|
|
2043
2054
|
var i0;
|
|
2044
|
-
const
|
|
2055
|
+
const hn = k(w.ClearTrigger, {
|
|
2045
2056
|
baseStyle: (i0 = B.baseStyle) == null ? void 0 : i0.clearTrigger
|
|
2046
2057
|
});
|
|
2047
2058
|
var l0;
|
|
2048
|
-
const
|
|
2059
|
+
const yn = k(w.Content, {
|
|
2049
2060
|
baseStyle: (l0 = B.baseStyle) == null ? void 0 : l0.content
|
|
2050
2061
|
});
|
|
2051
2062
|
var s0;
|
|
@@ -2060,11 +2071,11 @@ const Sn = k(w.ItemText, {
|
|
|
2060
2071
|
Root: fn,
|
|
2061
2072
|
Input: Cn,
|
|
2062
2073
|
Control: un,
|
|
2063
|
-
ClearTrigger:
|
|
2064
|
-
Content:
|
|
2074
|
+
ClearTrigger: hn,
|
|
2075
|
+
Content: yn,
|
|
2065
2076
|
Item: mn,
|
|
2066
2077
|
ItemText: Sn
|
|
2067
|
-
}, En = nt, Zn = W0, jn = F0, On = D0, Nn = R0, Un = E0,
|
|
2078
|
+
}, En = nt, Zn = W0, jn = F0, On = D0, Nn = R0, Un = E0, Gn = Z0, Xn = j0, Yn = O0, qn = N0, Qn = U0, Jn = G0;
|
|
2068
2079
|
function Kn(o) {
|
|
2069
2080
|
const { dark: e } = o;
|
|
2070
2081
|
return /* @__PURE__ */ m(S, { viewBox: "0 0 16 16", fill: "none", ...o, children: [
|
|
@@ -2417,7 +2428,7 @@ function di(o) {
|
|
|
2417
2428
|
...te
|
|
2418
2429
|
} = o;
|
|
2419
2430
|
return /* @__PURE__ */ m(
|
|
2420
|
-
|
|
2431
|
+
X0,
|
|
2421
2432
|
{
|
|
2422
2433
|
pos: "relative",
|
|
2423
2434
|
alignItems: "center",
|
|
@@ -2477,9 +2488,9 @@ function di(o) {
|
|
|
2477
2488
|
}
|
|
2478
2489
|
);
|
|
2479
2490
|
}
|
|
2480
|
-
const ci = q0, bi = Q0, pi = J0, gi = K0, fi = eo, ui = oo, Ci = to,
|
|
2491
|
+
const ci = q0, bi = Q0, pi = J0, gi = K0, fi = eo, ui = oo, Ci = to, hi = ro, yi = ao, mi = no, Si = io, vi = lo, xi = so, $i = co, ki = bo, wi = po, Bi = go, Ti = fo, Ii = uo, zi = Co, Mi = ho;
|
|
2481
2492
|
function Pi(o) {
|
|
2482
|
-
return
|
|
2493
|
+
return yo({
|
|
2483
2494
|
...o,
|
|
2484
2495
|
variant: "outline",
|
|
2485
2496
|
containerStyle: {
|
|
@@ -2489,7 +2500,7 @@ function Pi(o) {
|
|
|
2489
2500
|
}
|
|
2490
2501
|
});
|
|
2491
2502
|
}
|
|
2492
|
-
const Li = mo, Hi = So, _i = vo, Ai = xo, Vi = $o, Wi = ko, Fi = wo, Di = Bo, Ri = To, Ei = Io, Zi = zo, ji = Mo, Oi = Po, Ni = Lo, Ui = Ho,
|
|
2503
|
+
const Li = mo, Hi = So, _i = vo, Ai = xo, Vi = $o, Wi = ko, Fi = wo, Di = Bo, Ri = To, Ei = Io, Zi = zo, ji = Mo, Oi = Po, Ni = Lo, Ui = Ho, Gi = _o, Xi = Ao, Yi = Vo, qi = Wo, Qi = Fo, Ji = ({
|
|
2493
2504
|
children: o,
|
|
2494
2505
|
...e
|
|
2495
2506
|
}) => {
|
|
@@ -2508,7 +2519,7 @@ const Li = mo, Hi = So, _i = vo, Ai = xo, Vi = $o, Wi = ko, Fi = wo, Di = Bo, Ri
|
|
|
2508
2519
|
children: o
|
|
2509
2520
|
}
|
|
2510
2521
|
) });
|
|
2511
|
-
}, Ki = Zo, el = jo, ol = Oo, tl = No, rl = Uo, al =
|
|
2522
|
+
}, Ki = Zo, el = jo, ol = Oo, tl = No, rl = Uo, al = Go, nl = Xo, il = Yo, ll = qo, sl = Qo, dl = Jo, cl = Ko, bl = et;
|
|
2512
2523
|
export {
|
|
2513
2524
|
Ln as Accordion,
|
|
2514
2525
|
_n as AccordionButton,
|
|
@@ -2532,7 +2543,7 @@ export {
|
|
|
2532
2543
|
fl as Card,
|
|
2533
2544
|
ul as CardBody,
|
|
2534
2545
|
Cl as CardFooter,
|
|
2535
|
-
|
|
2546
|
+
hl as CardHeader,
|
|
2536
2547
|
Hl as ChatIcon,
|
|
2537
2548
|
_l as CheckCircleIcon,
|
|
2538
2549
|
Al as CheckIcon,
|
|
@@ -2560,12 +2571,12 @@ export {
|
|
|
2560
2571
|
Nl as EditIcon,
|
|
2561
2572
|
Kn as EducationIcon,
|
|
2562
2573
|
Ul as EmailIcon,
|
|
2563
|
-
|
|
2574
|
+
Gl as ExternalLinkIcon,
|
|
2564
2575
|
Li as Fade,
|
|
2565
2576
|
qn as FormControl,
|
|
2566
2577
|
Qn as FormErrorMessage,
|
|
2567
2578
|
Jn as FormLabel,
|
|
2568
|
-
|
|
2579
|
+
Xl as HamburgerIcon,
|
|
2569
2580
|
ei as HealthIcon,
|
|
2570
2581
|
oi as HousingIcon,
|
|
2571
2582
|
Yl as Icon,
|
|
@@ -2588,10 +2599,10 @@ export {
|
|
|
2588
2599
|
os as MoonIcon,
|
|
2589
2600
|
ts as NotAllowedIcon,
|
|
2590
2601
|
Yn as NumberDecrementStepper,
|
|
2591
|
-
|
|
2602
|
+
Xn as NumberIncrementStepper,
|
|
2592
2603
|
Nn as NumberInput,
|
|
2593
2604
|
Un as NumberInputField,
|
|
2594
|
-
|
|
2605
|
+
Gn as NumberInputStepper,
|
|
2595
2606
|
ri as ParksIcon,
|
|
2596
2607
|
ai as PeopleIcon,
|
|
2597
2608
|
rs as PhoneIcon,
|
|
@@ -2619,11 +2630,11 @@ export {
|
|
|
2619
2630
|
Ui as SkeletonText,
|
|
2620
2631
|
_i as Slide,
|
|
2621
2632
|
Ai as SlideFade,
|
|
2622
|
-
|
|
2633
|
+
Gi as Slider,
|
|
2623
2634
|
Yi as SliderFilledTrack,
|
|
2624
2635
|
Qi as SliderMark,
|
|
2625
2636
|
qi as SliderThumb,
|
|
2626
|
-
|
|
2637
|
+
Xi as SliderTrack,
|
|
2627
2638
|
ps as SmallAddIcon,
|
|
2628
2639
|
gs as SmallCloseIcon,
|
|
2629
2640
|
fs as SpinnerIcon,
|
|
@@ -2631,14 +2642,14 @@ export {
|
|
|
2631
2642
|
Pn as StreetscapeProvider,
|
|
2632
2643
|
Cs as SunIcon,
|
|
2633
2644
|
jn as Switch,
|
|
2634
|
-
|
|
2645
|
+
yi as Tab,
|
|
2635
2646
|
mi as TabList,
|
|
2636
2647
|
vi as TabPanel,
|
|
2637
2648
|
Si as TabPanels,
|
|
2638
2649
|
xi as Table,
|
|
2639
2650
|
zi as TableCaption,
|
|
2640
2651
|
Mi as TableContainer,
|
|
2641
|
-
|
|
2652
|
+
hi as Tabs,
|
|
2642
2653
|
Ki as Tag,
|
|
2643
2654
|
rl as TagCloseButton,
|
|
2644
2655
|
el as TagLabel,
|
|
@@ -2649,11 +2660,11 @@ export {
|
|
|
2649
2660
|
wi as Tfoot,
|
|
2650
2661
|
Ti as Th,
|
|
2651
2662
|
$i as Thead,
|
|
2652
|
-
|
|
2663
|
+
hs as TimeIcon,
|
|
2653
2664
|
Ji as Tooltip,
|
|
2654
2665
|
Bi as Tr,
|
|
2655
2666
|
ii as TransportationIcon,
|
|
2656
|
-
|
|
2667
|
+
ys as TriangleDownIcon,
|
|
2657
2668
|
ms as TriangleUpIcon,
|
|
2658
2669
|
Ss as UnlockIcon,
|
|
2659
2670
|
vs as UpDownIcon,
|