@northlight/ui 2.9.2 → 2.10.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.
@@ -1,5 +1,5 @@
1
- import { Accordion as Accordion$1, AccordionButton as AccordionButton$1, AccordionPanel as AccordionPanel$1, AccordionItem as AccordionItem$1, useMultiStyleConfig, chakra, Alert as Alert$2, AspectRatio as AspectRatio$1, forwardRef, useStyleConfig, Icon as Icon$2, Box, Heading, Text, FormLabel as FormLabel$1, VisuallyHidden, HStack, Badge as Badge$1, Button as Button$2, Checkbox as Checkbox$2, useInterval, useMediaQuery, FormControl, Stack, FormErrorMessage, Flex, IconButton as IconButton$1, useDisclosure, useBoolean, useToken as useToken$1, Popover, PopoverTrigger, PopoverContent, PopoverHeader, PopoverBody, SimpleGrid, SlideFade as SlideFade$1, Table, Thead, Tbody, Tr, Select as Select$2, PopoverAnchor, InputGroup, InputRightElement, Link as Link$1, Fade as Fade$1, ScaleFade as ScaleFade$1, Slide as Slide$1, Collapse as Collapse$1, Portal, CloseButton as CloseButton$1, Radio as Radio$2, RadioGroup as RadioGroup$1, Center, Tag as Tag$2, TagLabel, TagRightIcon, useEditableControls, useEditableState, Editable, InputLeftElement, Input as Input$1, EditablePreview, EditableInput, Modal as Modal$2, ModalOverlay, ModalContent, ModalCloseButton, ModalHeader, ModalBody, Slider, SliderTrack, SliderFilledTrack, SliderThumb, ModalFooter, VStack, Progress, Spinner as Spinner$2, Image as Image$1, keyframes, extendTheme, ChakraProvider, NumberInputStepper as NumberInputStepper$1, Divider, NumberIncrementStepper, NumberDecrementStepper, NumberInput as NumberInput$2, NumberInputField as NumberInputField$1, PinInput as PinInput$2, Switch as Switch$2, TabPanel as TabPanel$1, Tabs as Tabs$2, Textarea as Textarea$2, useToast as useToast$1, Circle, TagLeftIcon, AlertTitle, AlertDescription, Tab, TabList, useClipboard, Tooltip as Tooltip$1, Grid, GridItem } from '@chakra-ui/react';
2
- export { AbsoluteCenter, AccordionIcon, AlertDescription, AlertDialog, AlertDialogBody, AlertDialogCloseButton, AlertDialogContent, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertIcon, AlertTitle, Box, BreadcrumbItem as Breadcrumb, BreadcrumbLink, BreadcrumbSeparator, Breadcrumb as Breadcrumbs, ButtonGroup, Card, CardBody, CardFooter, CardHeader, Center, Modal as ChakraModal, CheckboxGroup, Circle, CircularProgress, CircularProgressLabel, CloseButton, Code, Container, Divider, Drawer, DrawerBody, DrawerCloseButton, DrawerContent, DrawerFooter, DrawerHeader, DrawerOverlay, Editable, EditableInput, EditablePreview, Flex, FormControl, FormErrorMessage, FormHelperText, Grid, GridItem, HStack, Heading, Hide, Highlight, Image, Input, InputAddon, InputGroup, InputLeftAddon, InputLeftElement, InputRightAddon, InputRightElement, Kbd, Link, LinkBox, LinkOverlay, List, ListIcon, ListItem, Menu, MenuButton, MenuCommand, MenuDivider, MenuGroup, MenuIcon, MenuItem, MenuItemOption, MenuList, MenuOptionGroup, ModalBody, ModalCloseButton, ModalContent, ModalFooter, ModalHeader, NumberDecrementStepper, NumberIncrementStepper, OrderedList, PinInputField, Popover, PopoverAnchor, PopoverArrow, PopoverBody, PopoverCloseButton, PopoverContent, PopoverFooter, PopoverHeader, PopoverTrigger, Portal, RangeSlider, RangeSliderFilledTrack, RangeSliderMark, RangeSliderThumb, RangeSliderTrack, Show, SimpleGrid, Skeleton, SkeletonCircle, SkeletonText, Slider, SliderFilledTrack, SliderMark, SliderThumb, SliderTrack, Spacer, Stack, StackDivider, Stat, StatArrow, StatGroup, StatHelpText, StatLabel, StatNumber, TabIndicator as StepIndicator, TabPanels as StepPanels, Tab, TabIndicator, TabList, TabPanels, Table, TableCaption, TableContainer, TagCloseButton, TagLabel, TagLeftIcon, TagRightIcon, Tbody, Td, Text, Tfoot, Th, Thead, Tooltip, Tr, UnorderedList, VStack, VisuallyHidden, VisuallyHiddenInput, Wrap, WrapItem, useBoolean, useBreakpoint, useBreakpointValue, useClipboard, useControllableProp, useControllableState, useDisclosure, useEditable, useEditableControls, useEditableState, useInterval, useMediaQuery, useMergeRefs, useNumberInput, useOutsideClick, usePrefersReducedMotion, useRadio, useRadioGroup, useTab, useTabs, useTheme, useToken } from '@chakra-ui/react';
1
+ import { Accordion as Accordion$1, AccordionButton as AccordionButton$1, AccordionPanel as AccordionPanel$1, AccordionItem as AccordionItem$1, useMultiStyleConfig, chakra, Alert as Alert$2, AspectRatio as AspectRatio$1, forwardRef, useStyleConfig, Icon as Icon$2, Box, Heading, Text, FormLabel as FormLabel$1, VisuallyHidden, HStack, Badge as Badge$1, Button as Button$2, Checkbox as Checkbox$2, useInterval, useMediaQuery, FormControl, Stack, FormErrorMessage, Flex, IconButton as IconButton$1, useDisclosure, useBoolean, useToken as useToken$1, Popover, PopoverTrigger, PopoverContent, PopoverHeader, PopoverBody, SimpleGrid, SlideFade as SlideFade$1, Table as Table$2, Thead, Tbody, Tr, Select as Select$2, PopoverAnchor, InputGroup, InputRightElement, Link as Link$1, Fade as Fade$1, ScaleFade as ScaleFade$1, Slide as Slide$1, Collapse as Collapse$1, Portal, CloseButton as CloseButton$1, Radio as Radio$2, RadioGroup as RadioGroup$1, Center, Tag as Tag$2, TagLabel, TagRightIcon, useEditableControls, useEditableState, Editable, InputLeftElement, Input as Input$1, EditablePreview, EditableInput, Modal as Modal$2, ModalOverlay, ModalContent, ModalCloseButton, ModalHeader, ModalBody, Slider, SliderTrack, SliderFilledTrack, SliderThumb, ModalFooter, VStack, Progress, Spinner as Spinner$2, Image as Image$1, keyframes, extendTheme, ChakraProvider, NumberInputStepper as NumberInputStepper$1, Divider, NumberIncrementStepper, NumberDecrementStepper, NumberInput as NumberInput$2, NumberInputField as NumberInputField$1, PinInput as PinInput$2, Switch as Switch$2, TabPanel as TabPanel$1, Tabs as Tabs$2, Textarea as Textarea$2, useToast as useToast$1, Circle, TagLeftIcon, AlertTitle, AlertDescription, Tab, TabList, useClipboard, Tooltip as Tooltip$1, Grid, GridItem } from '@chakra-ui/react';
2
+ export { AbsoluteCenter, AccordionIcon, AlertDescription, AlertDialog, AlertDialogBody, AlertDialogCloseButton, AlertDialogContent, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertIcon, AlertTitle, Box, BreadcrumbItem as Breadcrumb, BreadcrumbLink, BreadcrumbSeparator, Breadcrumb as Breadcrumbs, ButtonGroup, Card, CardBody, CardFooter, CardHeader, Center, Modal as ChakraModal, CheckboxGroup, Circle, CircularProgress, CircularProgressLabel, CloseButton, Code, Container, Divider, Drawer, DrawerBody, DrawerCloseButton, DrawerContent, DrawerFooter, DrawerHeader, DrawerOverlay, Editable, EditableInput, EditablePreview, Flex, FormControl, FormErrorMessage, FormHelperText, Grid, GridItem, HStack, Heading, Hide, Highlight, Image, Input, InputAddon, InputGroup, InputLeftAddon, InputLeftElement, InputRightAddon, InputRightElement, Kbd, Link, LinkBox, LinkOverlay, List, ListIcon, ListItem, Menu, MenuButton, MenuCommand, MenuDivider, MenuGroup, MenuIcon, MenuItem, MenuItemOption, MenuList, MenuOptionGroup, ModalBody, ModalCloseButton, ModalContent, ModalFooter, ModalHeader, NumberDecrementStepper, NumberIncrementStepper, OrderedList, PinInputField, Popover, PopoverAnchor, PopoverArrow, PopoverBody, PopoverCloseButton, PopoverContent, PopoverFooter, PopoverHeader, PopoverTrigger, Portal, RangeSlider, RangeSliderFilledTrack, RangeSliderMark, RangeSliderThumb, RangeSliderTrack, Show, SimpleGrid, Skeleton, SkeletonCircle, SkeletonText, Slider, SliderFilledTrack, SliderMark, SliderThumb, SliderTrack, Spacer, Stack, StackDivider, Stat, StatArrow, StatGroup, StatHelpText, StatLabel, StatNumber, TabIndicator as StepIndicator, TabPanels as StepPanels, Tab, TabIndicator, TabList, TabPanels, TableCaption, TableContainer, TagCloseButton, TagLabel, TagLeftIcon, TagRightIcon, Tbody, Td, Text, Tfoot, Th, Thead, Tooltip, Tr, UnorderedList, VStack, VisuallyHidden, VisuallyHiddenInput, Wrap, WrapItem, useBoolean, useBreakpoint, useBreakpointValue, useClipboard, useControllableProp, useControllableState, useDisclosure, useEditable, useEditableControls, useEditableState, useInterval, useMediaQuery, useMergeRefs, useNumberInput, useOutsideClick, usePrefersReducedMotion, useRadio, useRadioGroup, useTab, useTabs, useTheme, useToken } from '@chakra-ui/react';
3
3
  import React, { isValidElement, cloneElement, Children, createContext, useContext, useState, useRef, useEffect, forwardRef as forwardRef$1, useImperativeHandle, memo, useMemo, useCallback } from 'react';
4
4
  import { UserSquareDuo, BusinessContactDuo, CheckDuo, ChevronUpDuo, ChevronDownDuo, ColorsDuo, CheckSolid, CalendarDuo, ChevronLeftSolid, ChevronRightSolid, XCloseSolid, ChevronUpSolid, ChevronDownSolid, ArrowCircleLeftDuo, ArrowCircleRightDuo, ChevronSelectorVerticalSolid, SearchDuo, DotsMatrixSolid, DragDuo, EditDuo, ZoomInDuo, Image03Solid, UploadCloudSolid, FileBlankDuo, EditBoxDuo, DownloadDuo, TrashFullDuo, Image03Duo, CheckCircleSolid, AlertTriangleSolid, AlertCircleSolid, BellSolid, StatusWorkingSolid, HourglassSolid, CDeleteSolid, CopyDuo } from '@northlight/icons';
5
5
  import { useToken, useMultiStyleConfig as useMultiStyleConfig$1, chakra as chakra$1 } from '@chakra-ui/system';
@@ -39,6 +39,24 @@ import AvatarEditor from 'react-avatar-editor';
39
39
  import { randomColor } from '@chakra-ui/theme-tools';
40
40
  import InputMask from 'react-input-mask';
41
41
 
42
+ var __defProp$26 = Object.defineProperty;
43
+ var __getOwnPropSymbols$26 = Object.getOwnPropertySymbols;
44
+ var __hasOwnProp$26 = Object.prototype.hasOwnProperty;
45
+ var __propIsEnum$26 = Object.prototype.propertyIsEnumerable;
46
+ var __defNormalProp$26 = (obj, key, value) => key in obj ? __defProp$26(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
47
+ var __spreadValues$26 = (a, b) => {
48
+ for (var prop in b || (b = {}))
49
+ if (__hasOwnProp$26.call(b, prop))
50
+ __defNormalProp$26(a, prop, b[prop]);
51
+ if (__getOwnPropSymbols$26)
52
+ for (var prop of __getOwnPropSymbols$26(b)) {
53
+ if (__propIsEnum$26.call(b, prop))
54
+ __defNormalProp$26(a, prop, b[prop]);
55
+ }
56
+ return a;
57
+ };
58
+ const Accordion = (props) => /* @__PURE__ */ React.createElement(Accordion$1, __spreadValues$26({}, props));
59
+
42
60
  var __defProp$25 = Object.defineProperty;
43
61
  var __getOwnPropSymbols$25 = Object.getOwnPropertySymbols;
44
62
  var __hasOwnProp$25 = Object.prototype.hasOwnProperty;
@@ -55,7 +73,7 @@ var __spreadValues$25 = (a, b) => {
55
73
  }
56
74
  return a;
57
75
  };
58
- const Accordion = (props) => /* @__PURE__ */ React.createElement(Accordion$1, __spreadValues$25({}, props));
76
+ const AccordionButton = (props) => /* @__PURE__ */ React.createElement(AccordionButton$1, __spreadValues$25({}, props));
59
77
 
60
78
  var __defProp$24 = Object.defineProperty;
61
79
  var __getOwnPropSymbols$24 = Object.getOwnPropertySymbols;
@@ -73,7 +91,7 @@ var __spreadValues$24 = (a, b) => {
73
91
  }
74
92
  return a;
75
93
  };
76
- const AccordionButton = (props) => /* @__PURE__ */ React.createElement(AccordionButton$1, __spreadValues$24({}, props));
94
+ const AccordionPanel = (props) => /* @__PURE__ */ React.createElement(AccordionPanel$1, __spreadValues$24({}, props));
77
95
 
78
96
  var __defProp$23 = Object.defineProperty;
79
97
  var __getOwnPropSymbols$23 = Object.getOwnPropertySymbols;
@@ -91,7 +109,7 @@ var __spreadValues$23 = (a, b) => {
91
109
  }
92
110
  return a;
93
111
  };
94
- const AccordionPanel = (props) => /* @__PURE__ */ React.createElement(AccordionPanel$1, __spreadValues$23({}, props));
112
+ const AccordionItem = (props) => /* @__PURE__ */ React.createElement(AccordionItem$1, __spreadValues$23({}, props));
95
113
 
96
114
  var __defProp$22 = Object.defineProperty;
97
115
  var __getOwnPropSymbols$22 = Object.getOwnPropertySymbols;
@@ -109,32 +127,14 @@ var __spreadValues$22 = (a, b) => {
109
127
  }
110
128
  return a;
111
129
  };
112
- const AccordionItem = (props) => /* @__PURE__ */ React.createElement(AccordionItem$1, __spreadValues$22({}, props));
113
-
114
- var __defProp$21 = Object.defineProperty;
115
- var __getOwnPropSymbols$21 = Object.getOwnPropertySymbols;
116
- var __hasOwnProp$21 = Object.prototype.hasOwnProperty;
117
- var __propIsEnum$21 = Object.prototype.propertyIsEnumerable;
118
- var __defNormalProp$21 = (obj, key, value) => key in obj ? __defProp$21(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
119
- var __spreadValues$21 = (a, b) => {
120
- for (var prop in b || (b = {}))
121
- if (__hasOwnProp$21.call(b, prop))
122
- __defNormalProp$21(a, prop, b[prop]);
123
- if (__getOwnPropSymbols$21)
124
- for (var prop of __getOwnPropSymbols$21(b)) {
125
- if (__propIsEnum$21.call(b, prop))
126
- __defNormalProp$21(a, prop, b[prop]);
127
- }
128
- return a;
129
- };
130
130
  var __objRest$1u = (source, exclude) => {
131
131
  var target = {};
132
132
  for (var prop in source)
133
- if (__hasOwnProp$21.call(source, prop) && exclude.indexOf(prop) < 0)
133
+ if (__hasOwnProp$22.call(source, prop) && exclude.indexOf(prop) < 0)
134
134
  target[prop] = source[prop];
135
- if (source != null && __getOwnPropSymbols$21)
136
- for (var prop of __getOwnPropSymbols$21(source)) {
137
- if (exclude.indexOf(prop) < 0 && __propIsEnum$21.call(source, prop))
135
+ if (source != null && __getOwnPropSymbols$22)
136
+ for (var prop of __getOwnPropSymbols$22(source)) {
137
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$22.call(source, prop))
138
138
  target[prop] = source[prop];
139
139
  }
140
140
  return target;
@@ -153,7 +153,7 @@ const OrganizationLogo = (_a) => {
153
153
  const {
154
154
  container,
155
155
  text
156
- } = useMultiStyleConfig("Avatar", __spreadValues$21({ variant, image }, rest));
156
+ } = useMultiStyleConfig("Avatar", __spreadValues$22({ variant, image }, rest));
157
157
  return /* @__PURE__ */ React.createElement(
158
158
  chakra.div,
159
159
  {
@@ -170,30 +170,30 @@ const OrganizationLogo = (_a) => {
170
170
  );
171
171
  };
172
172
 
173
- var __defProp$20 = Object.defineProperty;
174
- var __getOwnPropSymbols$20 = Object.getOwnPropertySymbols;
175
- var __hasOwnProp$20 = Object.prototype.hasOwnProperty;
176
- var __propIsEnum$20 = Object.prototype.propertyIsEnumerable;
177
- var __defNormalProp$20 = (obj, key, value) => key in obj ? __defProp$20(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
178
- var __spreadValues$20 = (a, b) => {
173
+ var __defProp$21 = Object.defineProperty;
174
+ var __getOwnPropSymbols$21 = Object.getOwnPropertySymbols;
175
+ var __hasOwnProp$21 = Object.prototype.hasOwnProperty;
176
+ var __propIsEnum$21 = Object.prototype.propertyIsEnumerable;
177
+ var __defNormalProp$21 = (obj, key, value) => key in obj ? __defProp$21(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
178
+ var __spreadValues$21 = (a, b) => {
179
179
  for (var prop in b || (b = {}))
180
- if (__hasOwnProp$20.call(b, prop))
181
- __defNormalProp$20(a, prop, b[prop]);
182
- if (__getOwnPropSymbols$20)
183
- for (var prop of __getOwnPropSymbols$20(b)) {
184
- if (__propIsEnum$20.call(b, prop))
185
- __defNormalProp$20(a, prop, b[prop]);
180
+ if (__hasOwnProp$21.call(b, prop))
181
+ __defNormalProp$21(a, prop, b[prop]);
182
+ if (__getOwnPropSymbols$21)
183
+ for (var prop of __getOwnPropSymbols$21(b)) {
184
+ if (__propIsEnum$21.call(b, prop))
185
+ __defNormalProp$21(a, prop, b[prop]);
186
186
  }
187
187
  return a;
188
188
  };
189
189
  var __objRest$1t = (source, exclude) => {
190
190
  var target = {};
191
191
  for (var prop in source)
192
- if (__hasOwnProp$20.call(source, prop) && exclude.indexOf(prop) < 0)
192
+ if (__hasOwnProp$21.call(source, prop) && exclude.indexOf(prop) < 0)
193
193
  target[prop] = source[prop];
194
- if (source != null && __getOwnPropSymbols$20)
195
- for (var prop of __getOwnPropSymbols$20(source)) {
196
- if (exclude.indexOf(prop) < 0 && __propIsEnum$20.call(source, prop))
194
+ if (source != null && __getOwnPropSymbols$21)
195
+ for (var prop of __getOwnPropSymbols$21(source)) {
196
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$21.call(source, prop))
197
197
  target[prop] = source[prop];
198
198
  }
199
199
  return target;
@@ -206,8 +206,26 @@ const Alert$1 = (_a) => {
206
206
  "variant",
207
207
  "children"
208
208
  ]);
209
- return /* @__PURE__ */ React.createElement(Alert$2, __spreadValues$20({ variant }, rest), children);
209
+ return /* @__PURE__ */ React.createElement(Alert$2, __spreadValues$21({ variant }, rest), children);
210
+ };
211
+
212
+ var __defProp$20 = Object.defineProperty;
213
+ var __getOwnPropSymbols$20 = Object.getOwnPropertySymbols;
214
+ var __hasOwnProp$20 = Object.prototype.hasOwnProperty;
215
+ var __propIsEnum$20 = Object.prototype.propertyIsEnumerable;
216
+ var __defNormalProp$20 = (obj, key, value) => key in obj ? __defProp$20(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
217
+ var __spreadValues$20 = (a, b) => {
218
+ for (var prop in b || (b = {}))
219
+ if (__hasOwnProp$20.call(b, prop))
220
+ __defNormalProp$20(a, prop, b[prop]);
221
+ if (__getOwnPropSymbols$20)
222
+ for (var prop of __getOwnPropSymbols$20(b)) {
223
+ if (__propIsEnum$20.call(b, prop))
224
+ __defNormalProp$20(a, prop, b[prop]);
225
+ }
226
+ return a;
210
227
  };
228
+ const AspectRatio = (props) => /* @__PURE__ */ React.createElement(AspectRatio$1, __spreadValues$20({}, props));
211
229
 
212
230
  var __defProp$1$ = Object.defineProperty;
213
231
  var __getOwnPropSymbols$1$ = Object.getOwnPropertySymbols;
@@ -225,32 +243,14 @@ var __spreadValues$1$ = (a, b) => {
225
243
  }
226
244
  return a;
227
245
  };
228
- const AspectRatio = (props) => /* @__PURE__ */ React.createElement(AspectRatio$1, __spreadValues$1$({}, props));
229
-
230
- var __defProp$1_ = Object.defineProperty;
231
- var __getOwnPropSymbols$1_ = Object.getOwnPropertySymbols;
232
- var __hasOwnProp$1_ = Object.prototype.hasOwnProperty;
233
- var __propIsEnum$1_ = Object.prototype.propertyIsEnumerable;
234
- var __defNormalProp$1_ = (obj, key, value) => key in obj ? __defProp$1_(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
235
- var __spreadValues$1_ = (a, b) => {
236
- for (var prop in b || (b = {}))
237
- if (__hasOwnProp$1_.call(b, prop))
238
- __defNormalProp$1_(a, prop, b[prop]);
239
- if (__getOwnPropSymbols$1_)
240
- for (var prop of __getOwnPropSymbols$1_(b)) {
241
- if (__propIsEnum$1_.call(b, prop))
242
- __defNormalProp$1_(a, prop, b[prop]);
243
- }
244
- return a;
245
- };
246
246
  var __objRest$1s = (source, exclude) => {
247
247
  var target = {};
248
248
  for (var prop in source)
249
- if (__hasOwnProp$1_.call(source, prop) && exclude.indexOf(prop) < 0)
249
+ if (__hasOwnProp$1$.call(source, prop) && exclude.indexOf(prop) < 0)
250
250
  target[prop] = source[prop];
251
- if (source != null && __getOwnPropSymbols$1_)
252
- for (var prop of __getOwnPropSymbols$1_(source)) {
253
- if (exclude.indexOf(prop) < 0 && __propIsEnum$1_.call(source, prop))
251
+ if (source != null && __getOwnPropSymbols$1$)
252
+ for (var prop of __getOwnPropSymbols$1$(source)) {
253
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1$.call(source, prop))
254
254
  target[prop] = source[prop];
255
255
  }
256
256
  return target;
@@ -271,7 +271,7 @@ const Icon$1 = forwardRef((_a, ref) => {
271
271
  const styles = useStyleConfig("Icon", { size, color, boxSize });
272
272
  return /* @__PURE__ */ React.createElement(
273
273
  Icon$2,
274
- __spreadValues$1_({
274
+ __spreadValues$1$({
275
275
  ref,
276
276
  sx: styles
277
277
  }, rest),
@@ -360,6 +360,24 @@ function getFieldError(name, errors) {
360
360
  return fieldError;
361
361
  }
362
362
 
363
+ var __defProp$1_ = Object.defineProperty;
364
+ var __getOwnPropSymbols$1_ = Object.getOwnPropertySymbols;
365
+ var __hasOwnProp$1_ = Object.prototype.hasOwnProperty;
366
+ var __propIsEnum$1_ = Object.prototype.propertyIsEnumerable;
367
+ var __defNormalProp$1_ = (obj, key, value) => key in obj ? __defProp$1_(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
368
+ var __spreadValues$1_ = (a, b) => {
369
+ for (var prop in b || (b = {}))
370
+ if (__hasOwnProp$1_.call(b, prop))
371
+ __defNormalProp$1_(a, prop, b[prop]);
372
+ if (__getOwnPropSymbols$1_)
373
+ for (var prop of __getOwnPropSymbols$1_(b)) {
374
+ if (__propIsEnum$1_.call(b, prop))
375
+ __defNormalProp$1_(a, prop, b[prop]);
376
+ }
377
+ return a;
378
+ };
379
+ const passPropsToChild = (child, styles) => isValidElement(child) ? cloneElement(child, __spreadValues$1_({}, styles)) : child;
380
+
363
381
  var __defProp$1Z = Object.defineProperty;
364
382
  var __getOwnPropSymbols$1Z = Object.getOwnPropertySymbols;
365
383
  var __hasOwnProp$1Z = Object.prototype.hasOwnProperty;
@@ -376,27 +394,9 @@ var __spreadValues$1Z = (a, b) => {
376
394
  }
377
395
  return a;
378
396
  };
379
- const passPropsToChild = (child, styles) => isValidElement(child) ? cloneElement(child, __spreadValues$1Z({}, styles)) : child;
380
-
381
- var __defProp$1Y = Object.defineProperty;
382
- var __getOwnPropSymbols$1Y = Object.getOwnPropertySymbols;
383
- var __hasOwnProp$1Y = Object.prototype.hasOwnProperty;
384
- var __propIsEnum$1Y = Object.prototype.propertyIsEnumerable;
385
- var __defNormalProp$1Y = (obj, key, value) => key in obj ? __defProp$1Y(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
386
- var __spreadValues$1Y = (a, b) => {
387
- for (var prop in b || (b = {}))
388
- if (__hasOwnProp$1Y.call(b, prop))
389
- __defNormalProp$1Y(a, prop, b[prop]);
390
- if (__getOwnPropSymbols$1Y)
391
- for (var prop of __getOwnPropSymbols$1Y(b)) {
392
- if (__propIsEnum$1Y.call(b, prop))
393
- __defNormalProp$1Y(a, prop, b[prop]);
394
- }
395
- return a;
396
- };
397
397
  const getChildrenWithProps = (children, styles, predicate = T) => {
398
398
  const childrenAsArr = Children.toArray(children);
399
- const childrenWithoutFocus = childrenAsArr.map((child, i) => predicate(child, i) ? passPropsToChild(child, __spreadValues$1Y({}, styles)) : child);
399
+ const childrenWithoutFocus = childrenAsArr.map((child, i) => predicate(child, i) ? passPropsToChild(child, __spreadValues$1Z({}, styles)) : child);
400
400
  return childrenWithoutFocus;
401
401
  };
402
402
 
@@ -430,30 +430,30 @@ const AvatarBadge = ({
430
430
  return /* @__PURE__ */ React.createElement(chakra.span, { sx: badge }, notificationCount > 999 ? "999+" : notificationCount);
431
431
  };
432
432
 
433
- var __defProp$1X = Object.defineProperty;
434
- var __getOwnPropSymbols$1X = Object.getOwnPropertySymbols;
435
- var __hasOwnProp$1X = Object.prototype.hasOwnProperty;
436
- var __propIsEnum$1X = Object.prototype.propertyIsEnumerable;
437
- var __defNormalProp$1X = (obj, key, value) => key in obj ? __defProp$1X(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
438
- var __spreadValues$1X = (a, b) => {
433
+ var __defProp$1Y = Object.defineProperty;
434
+ var __getOwnPropSymbols$1Y = Object.getOwnPropertySymbols;
435
+ var __hasOwnProp$1Y = Object.prototype.hasOwnProperty;
436
+ var __propIsEnum$1Y = Object.prototype.propertyIsEnumerable;
437
+ var __defNormalProp$1Y = (obj, key, value) => key in obj ? __defProp$1Y(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
438
+ var __spreadValues$1Y = (a, b) => {
439
439
  for (var prop in b || (b = {}))
440
- if (__hasOwnProp$1X.call(b, prop))
441
- __defNormalProp$1X(a, prop, b[prop]);
442
- if (__getOwnPropSymbols$1X)
443
- for (var prop of __getOwnPropSymbols$1X(b)) {
444
- if (__propIsEnum$1X.call(b, prop))
445
- __defNormalProp$1X(a, prop, b[prop]);
440
+ if (__hasOwnProp$1Y.call(b, prop))
441
+ __defNormalProp$1Y(a, prop, b[prop]);
442
+ if (__getOwnPropSymbols$1Y)
443
+ for (var prop of __getOwnPropSymbols$1Y(b)) {
444
+ if (__propIsEnum$1Y.call(b, prop))
445
+ __defNormalProp$1Y(a, prop, b[prop]);
446
446
  }
447
447
  return a;
448
448
  };
449
449
  var __objRest$1r = (source, exclude) => {
450
450
  var target = {};
451
451
  for (var prop in source)
452
- if (__hasOwnProp$1X.call(source, prop) && exclude.indexOf(prop) < 0)
452
+ if (__hasOwnProp$1Y.call(source, prop) && exclude.indexOf(prop) < 0)
453
453
  target[prop] = source[prop];
454
- if (source != null && __getOwnPropSymbols$1X)
455
- for (var prop of __getOwnPropSymbols$1X(source)) {
456
- if (exclude.indexOf(prop) < 0 && __propIsEnum$1X.call(source, prop))
454
+ if (source != null && __getOwnPropSymbols$1Y)
455
+ for (var prop of __getOwnPropSymbols$1Y(source)) {
456
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1Y.call(source, prop))
457
457
  target[prop] = source[prop];
458
458
  }
459
459
  return target;
@@ -478,7 +478,7 @@ const Avatar$1 = (_a) => {
478
478
  size,
479
479
  name
480
480
  });
481
- return /* @__PURE__ */ React.createElement(Box, __spreadValues$1X({ __css: container, "data-testid": "avatar-test-id" }, rest), image ? /* @__PURE__ */ React.createElement(
481
+ return /* @__PURE__ */ React.createElement(Box, __spreadValues$1Y({ __css: container, "data-testid": "avatar-test-id" }, rest), image ? /* @__PURE__ */ React.createElement(
482
482
  chakra.img,
483
483
  {
484
484
  alt: name,
@@ -495,6 +495,53 @@ const Avatar$1 = (_a) => {
495
495
  ), notificationCount > 0 && /* @__PURE__ */ React.createElement(AvatarBadge, { notificationCount }));
496
496
  };
497
497
 
498
+ var __defProp$1X = Object.defineProperty;
499
+ var __getOwnPropSymbols$1X = Object.getOwnPropertySymbols;
500
+ var __hasOwnProp$1X = Object.prototype.hasOwnProperty;
501
+ var __propIsEnum$1X = Object.prototype.propertyIsEnumerable;
502
+ var __defNormalProp$1X = (obj, key, value) => key in obj ? __defProp$1X(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
503
+ var __spreadValues$1X = (a, b) => {
504
+ for (var prop in b || (b = {}))
505
+ if (__hasOwnProp$1X.call(b, prop))
506
+ __defNormalProp$1X(a, prop, b[prop]);
507
+ if (__getOwnPropSymbols$1X)
508
+ for (var prop of __getOwnPropSymbols$1X(b)) {
509
+ if (__propIsEnum$1X.call(b, prop))
510
+ __defNormalProp$1X(a, prop, b[prop]);
511
+ }
512
+ return a;
513
+ };
514
+ var __objRest$1q = (source, exclude) => {
515
+ var target = {};
516
+ for (var prop in source)
517
+ if (__hasOwnProp$1X.call(source, prop) && exclude.indexOf(prop) < 0)
518
+ target[prop] = source[prop];
519
+ if (source != null && __getOwnPropSymbols$1X)
520
+ for (var prop of __getOwnPropSymbols$1X(source)) {
521
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1X.call(source, prop))
522
+ target[prop] = source[prop];
523
+ }
524
+ return target;
525
+ };
526
+ const H1$1 = (_a) => {
527
+ var _b = _a, {
528
+ children,
529
+ sx = {}
530
+ } = _b, rest = __objRest$1q(_b, [
531
+ "children",
532
+ "sx"
533
+ ]);
534
+ const styles = useStyleConfig("H1", { sx });
535
+ return /* @__PURE__ */ React.createElement(
536
+ Heading,
537
+ __spreadValues$1X({
538
+ as: "h1",
539
+ sx: styles
540
+ }, rest),
541
+ children
542
+ );
543
+ };
544
+
498
545
  var __defProp$1W = Object.defineProperty;
499
546
  var __getOwnPropSymbols$1W = Object.getOwnPropertySymbols;
500
547
  var __hasOwnProp$1W = Object.prototype.hasOwnProperty;
@@ -511,7 +558,7 @@ var __spreadValues$1W = (a, b) => {
511
558
  }
512
559
  return a;
513
560
  };
514
- var __objRest$1q = (source, exclude) => {
561
+ var __objRest$1p = (source, exclude) => {
515
562
  var target = {};
516
563
  for (var prop in source)
517
564
  if (__hasOwnProp$1W.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -523,19 +570,19 @@ var __objRest$1q = (source, exclude) => {
523
570
  }
524
571
  return target;
525
572
  };
526
- const H1$1 = (_a) => {
573
+ const H2$1 = (_a) => {
527
574
  var _b = _a, {
528
575
  children,
529
576
  sx = {}
530
- } = _b, rest = __objRest$1q(_b, [
577
+ } = _b, rest = __objRest$1p(_b, [
531
578
  "children",
532
579
  "sx"
533
580
  ]);
534
- const styles = useStyleConfig("H1", { sx });
581
+ const styles = useStyleConfig("H2", { sx });
535
582
  return /* @__PURE__ */ React.createElement(
536
583
  Heading,
537
584
  __spreadValues$1W({
538
- as: "h1",
585
+ as: "h2",
539
586
  sx: styles
540
587
  }, rest),
541
588
  children
@@ -558,7 +605,7 @@ var __spreadValues$1V = (a, b) => {
558
605
  }
559
606
  return a;
560
607
  };
561
- var __objRest$1p = (source, exclude) => {
608
+ var __objRest$1o = (source, exclude) => {
562
609
  var target = {};
563
610
  for (var prop in source)
564
611
  if (__hasOwnProp$1V.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -570,19 +617,19 @@ var __objRest$1p = (source, exclude) => {
570
617
  }
571
618
  return target;
572
619
  };
573
- const H2$1 = (_a) => {
620
+ const H3$1 = (_a) => {
574
621
  var _b = _a, {
575
622
  children,
576
623
  sx = {}
577
- } = _b, rest = __objRest$1p(_b, [
624
+ } = _b, rest = __objRest$1o(_b, [
578
625
  "children",
579
626
  "sx"
580
627
  ]);
581
- const styles = useStyleConfig("H2", { sx });
628
+ const styles = useStyleConfig("H3", { sx });
582
629
  return /* @__PURE__ */ React.createElement(
583
630
  Heading,
584
631
  __spreadValues$1V({
585
- as: "h2",
632
+ as: "h3",
586
633
  sx: styles
587
634
  }, rest),
588
635
  children
@@ -605,7 +652,7 @@ var __spreadValues$1U = (a, b) => {
605
652
  }
606
653
  return a;
607
654
  };
608
- var __objRest$1o = (source, exclude) => {
655
+ var __objRest$1n = (source, exclude) => {
609
656
  var target = {};
610
657
  for (var prop in source)
611
658
  if (__hasOwnProp$1U.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -617,19 +664,19 @@ var __objRest$1o = (source, exclude) => {
617
664
  }
618
665
  return target;
619
666
  };
620
- const H3$1 = (_a) => {
667
+ const H4$1 = (_a) => {
621
668
  var _b = _a, {
622
669
  children,
623
670
  sx = {}
624
- } = _b, rest = __objRest$1o(_b, [
671
+ } = _b, rest = __objRest$1n(_b, [
625
672
  "children",
626
673
  "sx"
627
674
  ]);
628
- const styles = useStyleConfig("H3", { sx });
675
+ const styles = useStyleConfig("H4", { sx });
629
676
  return /* @__PURE__ */ React.createElement(
630
677
  Heading,
631
678
  __spreadValues$1U({
632
- as: "h3",
679
+ as: "h4",
633
680
  sx: styles
634
681
  }, rest),
635
682
  children
@@ -652,7 +699,7 @@ var __spreadValues$1T = (a, b) => {
652
699
  }
653
700
  return a;
654
701
  };
655
- var __objRest$1n = (source, exclude) => {
702
+ var __objRest$1m = (source, exclude) => {
656
703
  var target = {};
657
704
  for (var prop in source)
658
705
  if (__hasOwnProp$1T.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -664,19 +711,19 @@ var __objRest$1n = (source, exclude) => {
664
711
  }
665
712
  return target;
666
713
  };
667
- const H4$1 = (_a) => {
714
+ const H5$1 = (_a) => {
668
715
  var _b = _a, {
669
716
  children,
670
717
  sx = {}
671
- } = _b, rest = __objRest$1n(_b, [
718
+ } = _b, rest = __objRest$1m(_b, [
672
719
  "children",
673
720
  "sx"
674
721
  ]);
675
- const styles = useStyleConfig("H4", { sx });
722
+ const styles = useStyleConfig("H5", { sx });
676
723
  return /* @__PURE__ */ React.createElement(
677
724
  Heading,
678
725
  __spreadValues$1T({
679
- as: "h4",
726
+ as: "h5",
680
727
  sx: styles
681
728
  }, rest),
682
729
  children
@@ -699,7 +746,7 @@ var __spreadValues$1S = (a, b) => {
699
746
  }
700
747
  return a;
701
748
  };
702
- var __objRest$1m = (source, exclude) => {
749
+ var __objRest$1l = (source, exclude) => {
703
750
  var target = {};
704
751
  for (var prop in source)
705
752
  if (__hasOwnProp$1S.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -711,19 +758,19 @@ var __objRest$1m = (source, exclude) => {
711
758
  }
712
759
  return target;
713
760
  };
714
- const H5$1 = (_a) => {
761
+ const H6$1 = (_a) => {
715
762
  var _b = _a, {
716
763
  children,
717
764
  sx = {}
718
- } = _b, rest = __objRest$1m(_b, [
765
+ } = _b, rest = __objRest$1l(_b, [
719
766
  "children",
720
767
  "sx"
721
768
  ]);
722
- const styles = useStyleConfig("H5", { sx });
769
+ const styles = useStyleConfig("H6", { sx });
723
770
  return /* @__PURE__ */ React.createElement(
724
771
  Heading,
725
772
  __spreadValues$1S({
726
- as: "h5",
773
+ as: "h6",
727
774
  sx: styles
728
775
  }, rest),
729
776
  children
@@ -746,7 +793,7 @@ var __spreadValues$1R = (a, b) => {
746
793
  }
747
794
  return a;
748
795
  };
749
- var __objRest$1l = (source, exclude) => {
796
+ var __objRest$1k = (source, exclude) => {
750
797
  var target = {};
751
798
  for (var prop in source)
752
799
  if (__hasOwnProp$1R.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -758,19 +805,21 @@ var __objRest$1l = (source, exclude) => {
758
805
  }
759
806
  return target;
760
807
  };
761
- const H6$1 = (_a) => {
808
+ const P$1 = (_a) => {
762
809
  var _b = _a, {
763
810
  children,
811
+ variant = "16",
764
812
  sx = {}
765
- } = _b, rest = __objRest$1l(_b, [
813
+ } = _b, rest = __objRest$1k(_b, [
766
814
  "children",
815
+ "variant",
767
816
  "sx"
768
817
  ]);
769
- const styles = useStyleConfig("H6", { sx });
818
+ const styles = useStyleConfig("P", { variant, sx });
770
819
  return /* @__PURE__ */ React.createElement(
771
- Heading,
820
+ Text,
772
821
  __spreadValues$1R({
773
- as: "h6",
822
+ variant,
774
823
  sx: styles
775
824
  }, rest),
776
825
  children
@@ -793,7 +842,7 @@ var __spreadValues$1Q = (a, b) => {
793
842
  }
794
843
  return a;
795
844
  };
796
- var __objRest$1k = (source, exclude) => {
845
+ var __objRest$1j = (source, exclude) => {
797
846
  var target = {};
798
847
  for (var prop in source)
799
848
  if (__hasOwnProp$1Q.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -805,25 +854,10 @@ var __objRest$1k = (source, exclude) => {
805
854
  }
806
855
  return target;
807
856
  };
808
- const P$1 = (_a) => {
809
- var _b = _a, {
810
- children,
811
- variant = "16",
812
- sx = {}
813
- } = _b, rest = __objRest$1k(_b, [
814
- "children",
815
- "variant",
816
- "sx"
817
- ]);
818
- const styles = useStyleConfig("P", { variant, sx });
819
- return /* @__PURE__ */ React.createElement(
820
- Text,
821
- __spreadValues$1Q({
822
- variant,
823
- sx: styles
824
- }, rest),
825
- children
826
- );
857
+ const Blockquote$1 = (_a) => {
858
+ var _b = _a, { children, sx = {} } = _b, rest = __objRest$1j(_b, ["children", "sx"]);
859
+ const styles = useStyleConfig("Blockquote", { sx });
860
+ return /* @__PURE__ */ React.createElement(Text, __spreadValues$1Q({ as: "span", sx: styles }, rest), children);
827
861
  };
828
862
 
829
863
  var __defProp$1P = Object.defineProperty;
@@ -842,7 +876,7 @@ var __spreadValues$1P = (a, b) => {
842
876
  }
843
877
  return a;
844
878
  };
845
- var __objRest$1j = (source, exclude) => {
879
+ var __objRest$1i = (source, exclude) => {
846
880
  var target = {};
847
881
  for (var prop in source)
848
882
  if (__hasOwnProp$1P.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -854,10 +888,23 @@ var __objRest$1j = (source, exclude) => {
854
888
  }
855
889
  return target;
856
890
  };
857
- const Blockquote$1 = (_a) => {
858
- var _b = _a, { children, sx = {} } = _b, rest = __objRest$1j(_b, ["children", "sx"]);
859
- const styles = useStyleConfig("Blockquote", { sx });
860
- return /* @__PURE__ */ React.createElement(Text, __spreadValues$1P({ as: "span", sx: styles }, rest), children);
891
+ const Capitalized$1 = (_a) => {
892
+ var _b = _a, {
893
+ children,
894
+ sx = {}
895
+ } = _b, rest = __objRest$1i(_b, [
896
+ "children",
897
+ "sx"
898
+ ]);
899
+ const styles = useStyleConfig("Capitalized", { sx });
900
+ return /* @__PURE__ */ React.createElement(
901
+ Text,
902
+ __spreadValues$1P({
903
+ as: "span",
904
+ sx: styles
905
+ }, rest),
906
+ children
907
+ );
861
908
  };
862
909
 
863
910
  var __defProp$1O = Object.defineProperty;
@@ -876,7 +923,7 @@ var __spreadValues$1O = (a, b) => {
876
923
  }
877
924
  return a;
878
925
  };
879
- var __objRest$1i = (source, exclude) => {
926
+ var __objRest$1h = (source, exclude) => {
880
927
  var target = {};
881
928
  for (var prop in source)
882
929
  if (__hasOwnProp$1O.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -888,15 +935,15 @@ var __objRest$1i = (source, exclude) => {
888
935
  }
889
936
  return target;
890
937
  };
891
- const Capitalized$1 = (_a) => {
938
+ const Lead$1 = (_a) => {
892
939
  var _b = _a, {
893
940
  children,
894
941
  sx = {}
895
- } = _b, rest = __objRest$1i(_b, [
942
+ } = _b, rest = __objRest$1h(_b, [
896
943
  "children",
897
944
  "sx"
898
945
  ]);
899
- const styles = useStyleConfig("Capitalized", { sx });
946
+ const styles = useStyleConfig("Lead", { sx });
900
947
  return /* @__PURE__ */ React.createElement(
901
948
  Text,
902
949
  __spreadValues$1O({
@@ -923,7 +970,7 @@ var __spreadValues$1N = (a, b) => {
923
970
  }
924
971
  return a;
925
972
  };
926
- var __objRest$1h = (source, exclude) => {
973
+ var __objRest$1g = (source, exclude) => {
927
974
  var target = {};
928
975
  for (var prop in source)
929
976
  if (__hasOwnProp$1N.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -935,19 +982,19 @@ var __objRest$1h = (source, exclude) => {
935
982
  }
936
983
  return target;
937
984
  };
938
- const Lead$1 = (_a) => {
985
+ const Small$1 = (_a) => {
939
986
  var _b = _a, {
940
987
  children,
941
988
  sx = {}
942
- } = _b, rest = __objRest$1h(_b, [
989
+ } = _b, rest = __objRest$1g(_b, [
943
990
  "children",
944
991
  "sx"
945
992
  ]);
946
- const styles = useStyleConfig("Lead", { sx });
993
+ const styles = useStyleConfig("Small", { sx });
947
994
  return /* @__PURE__ */ React.createElement(
948
995
  Text,
949
996
  __spreadValues$1N({
950
- as: "span",
997
+ as: "small",
951
998
  sx: styles
952
999
  }, rest),
953
1000
  children
@@ -970,7 +1017,7 @@ var __spreadValues$1M = (a, b) => {
970
1017
  }
971
1018
  return a;
972
1019
  };
973
- var __objRest$1g = (source, exclude) => {
1020
+ var __objRest$1f = (source, exclude) => {
974
1021
  var target = {};
975
1022
  for (var prop in source)
976
1023
  if (__hasOwnProp$1M.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -982,19 +1029,19 @@ var __objRest$1g = (source, exclude) => {
982
1029
  }
983
1030
  return target;
984
1031
  };
985
- const Small$1 = (_a) => {
1032
+ const Tiny$1 = (_a) => {
986
1033
  var _b = _a, {
987
1034
  children,
988
1035
  sx = {}
989
- } = _b, rest = __objRest$1g(_b, [
1036
+ } = _b, rest = __objRest$1f(_b, [
990
1037
  "children",
991
1038
  "sx"
992
1039
  ]);
993
- const styles = useStyleConfig("Small", { sx });
1040
+ const styles = useStyleConfig("Tiny", { sx });
994
1041
  return /* @__PURE__ */ React.createElement(
995
1042
  Text,
996
1043
  __spreadValues$1M({
997
- as: "small",
1044
+ as: "span",
998
1045
  sx: styles
999
1046
  }, rest),
1000
1047
  children
@@ -1017,7 +1064,7 @@ var __spreadValues$1L = (a, b) => {
1017
1064
  }
1018
1065
  return a;
1019
1066
  };
1020
- var __objRest$1f = (source, exclude) => {
1067
+ var __objRest$1e = (source, exclude) => {
1021
1068
  var target = {};
1022
1069
  for (var prop in source)
1023
1070
  if (__hasOwnProp$1L.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -1029,53 +1076,6 @@ var __objRest$1f = (source, exclude) => {
1029
1076
  }
1030
1077
  return target;
1031
1078
  };
1032
- const Tiny$1 = (_a) => {
1033
- var _b = _a, {
1034
- children,
1035
- sx = {}
1036
- } = _b, rest = __objRest$1f(_b, [
1037
- "children",
1038
- "sx"
1039
- ]);
1040
- const styles = useStyleConfig("Tiny", { sx });
1041
- return /* @__PURE__ */ React.createElement(
1042
- Text,
1043
- __spreadValues$1L({
1044
- as: "span",
1045
- sx: styles
1046
- }, rest),
1047
- children
1048
- );
1049
- };
1050
-
1051
- var __defProp$1K = Object.defineProperty;
1052
- var __getOwnPropSymbols$1K = Object.getOwnPropertySymbols;
1053
- var __hasOwnProp$1K = Object.prototype.hasOwnProperty;
1054
- var __propIsEnum$1K = Object.prototype.propertyIsEnumerable;
1055
- var __defNormalProp$1K = (obj, key, value) => key in obj ? __defProp$1K(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1056
- var __spreadValues$1K = (a, b) => {
1057
- for (var prop in b || (b = {}))
1058
- if (__hasOwnProp$1K.call(b, prop))
1059
- __defNormalProp$1K(a, prop, b[prop]);
1060
- if (__getOwnPropSymbols$1K)
1061
- for (var prop of __getOwnPropSymbols$1K(b)) {
1062
- if (__propIsEnum$1K.call(b, prop))
1063
- __defNormalProp$1K(a, prop, b[prop]);
1064
- }
1065
- return a;
1066
- };
1067
- var __objRest$1e = (source, exclude) => {
1068
- var target = {};
1069
- for (var prop in source)
1070
- if (__hasOwnProp$1K.call(source, prop) && exclude.indexOf(prop) < 0)
1071
- target[prop] = source[prop];
1072
- if (source != null && __getOwnPropSymbols$1K)
1073
- for (var prop of __getOwnPropSymbols$1K(source)) {
1074
- if (exclude.indexOf(prop) < 0 && __propIsEnum$1K.call(source, prop))
1075
- target[prop] = source[prop];
1076
- }
1077
- return target;
1078
- };
1079
1079
  const Label$1 = (_a) => {
1080
1080
  var _b = _a, {
1081
1081
  children,
@@ -1089,7 +1089,7 @@ const Label$1 = (_a) => {
1089
1089
  const styles = useStyleConfig("Label", { sx, size });
1090
1090
  return /* @__PURE__ */ React.createElement(
1091
1091
  FormLabel$1,
1092
- __spreadValues$1K({
1092
+ __spreadValues$1L({
1093
1093
  sx: styles,
1094
1094
  requiredIndicator: /* @__PURE__ */ React.createElement(VisuallyHidden, null)
1095
1095
  }, rest),
@@ -1177,30 +1177,30 @@ const useOverflowGroup = () => {
1177
1177
  return { rect, containerRef };
1178
1178
  };
1179
1179
 
1180
- var __defProp$1J = Object.defineProperty;
1181
- var __getOwnPropSymbols$1J = Object.getOwnPropertySymbols;
1182
- var __hasOwnProp$1J = Object.prototype.hasOwnProperty;
1183
- var __propIsEnum$1J = Object.prototype.propertyIsEnumerable;
1184
- var __defNormalProp$1J = (obj, key, value) => key in obj ? __defProp$1J(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1185
- var __spreadValues$1J = (a, b) => {
1180
+ var __defProp$1K = Object.defineProperty;
1181
+ var __getOwnPropSymbols$1K = Object.getOwnPropertySymbols;
1182
+ var __hasOwnProp$1K = Object.prototype.hasOwnProperty;
1183
+ var __propIsEnum$1K = Object.prototype.propertyIsEnumerable;
1184
+ var __defNormalProp$1K = (obj, key, value) => key in obj ? __defProp$1K(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1185
+ var __spreadValues$1K = (a, b) => {
1186
1186
  for (var prop in b || (b = {}))
1187
- if (__hasOwnProp$1J.call(b, prop))
1188
- __defNormalProp$1J(a, prop, b[prop]);
1189
- if (__getOwnPropSymbols$1J)
1190
- for (var prop of __getOwnPropSymbols$1J(b)) {
1191
- if (__propIsEnum$1J.call(b, prop))
1192
- __defNormalProp$1J(a, prop, b[prop]);
1187
+ if (__hasOwnProp$1K.call(b, prop))
1188
+ __defNormalProp$1K(a, prop, b[prop]);
1189
+ if (__getOwnPropSymbols$1K)
1190
+ for (var prop of __getOwnPropSymbols$1K(b)) {
1191
+ if (__propIsEnum$1K.call(b, prop))
1192
+ __defNormalProp$1K(a, prop, b[prop]);
1193
1193
  }
1194
1194
  return a;
1195
1195
  };
1196
1196
  var __objRest$1d = (source, exclude) => {
1197
1197
  var target = {};
1198
1198
  for (var prop in source)
1199
- if (__hasOwnProp$1J.call(source, prop) && exclude.indexOf(prop) < 0)
1199
+ if (__hasOwnProp$1K.call(source, prop) && exclude.indexOf(prop) < 0)
1200
1200
  target[prop] = source[prop];
1201
- if (source != null && __getOwnPropSymbols$1J)
1202
- for (var prop of __getOwnPropSymbols$1J(source)) {
1203
- if (exclude.indexOf(prop) < 0 && __propIsEnum$1J.call(source, prop))
1201
+ if (source != null && __getOwnPropSymbols$1K)
1202
+ for (var prop of __getOwnPropSymbols$1K(source)) {
1203
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1K.call(source, prop))
1204
1204
  target[prop] = source[prop];
1205
1205
  }
1206
1206
  return target;
@@ -1216,9 +1216,27 @@ const AvatarGroup = (_a) => {
1216
1216
  "spacing"
1217
1217
  ]);
1218
1218
  const [nbrRemainingAvatars, setNbrRemainingAvatars] = useState(0);
1219
- return /* @__PURE__ */ React.createElement(HStack, __spreadValues$1J({ bgColor: "background.default" }, rest), /* @__PURE__ */ React.createElement(HStack, { spacing }, /* @__PURE__ */ React.createElement(OverflowGroup, { max, onChange: setNbrRemainingAvatars }, children)), nbrRemainingAvatars > 0 && /* @__PURE__ */ React.createElement(Small$1, { sx: { color: "blue.500" } }, "+", nbrRemainingAvatars));
1219
+ return /* @__PURE__ */ React.createElement(HStack, __spreadValues$1K({ bgColor: "background.default" }, rest), /* @__PURE__ */ React.createElement(HStack, { spacing }, /* @__PURE__ */ React.createElement(OverflowGroup, { max, onChange: setNbrRemainingAvatars }, children)), nbrRemainingAvatars > 0 && /* @__PURE__ */ React.createElement(Small$1, { sx: { color: "blue.500" } }, "+", nbrRemainingAvatars));
1220
1220
  };
1221
1221
 
1222
+ var __defProp$1J = Object.defineProperty;
1223
+ var __getOwnPropSymbols$1J = Object.getOwnPropertySymbols;
1224
+ var __hasOwnProp$1J = Object.prototype.hasOwnProperty;
1225
+ var __propIsEnum$1J = Object.prototype.propertyIsEnumerable;
1226
+ var __defNormalProp$1J = (obj, key, value) => key in obj ? __defProp$1J(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1227
+ var __spreadValues$1J = (a, b) => {
1228
+ for (var prop in b || (b = {}))
1229
+ if (__hasOwnProp$1J.call(b, prop))
1230
+ __defNormalProp$1J(a, prop, b[prop]);
1231
+ if (__getOwnPropSymbols$1J)
1232
+ for (var prop of __getOwnPropSymbols$1J(b)) {
1233
+ if (__propIsEnum$1J.call(b, prop))
1234
+ __defNormalProp$1J(a, prop, b[prop]);
1235
+ }
1236
+ return a;
1237
+ };
1238
+ const Badge = (props) => /* @__PURE__ */ React.createElement(Badge$1, __spreadValues$1J({}, props));
1239
+
1222
1240
  var __defProp$1I = Object.defineProperty;
1223
1241
  var __getOwnPropSymbols$1I = Object.getOwnPropertySymbols;
1224
1242
  var __hasOwnProp$1I = Object.prototype.hasOwnProperty;
@@ -1235,7 +1253,31 @@ var __spreadValues$1I = (a, b) => {
1235
1253
  }
1236
1254
  return a;
1237
1255
  };
1238
- const Badge = (props) => /* @__PURE__ */ React.createElement(Badge$1, __spreadValues$1I({}, props));
1256
+ var __objRest$1c = (source, exclude) => {
1257
+ var target = {};
1258
+ for (var prop in source)
1259
+ if (__hasOwnProp$1I.call(source, prop) && exclude.indexOf(prop) < 0)
1260
+ target[prop] = source[prop];
1261
+ if (source != null && __getOwnPropSymbols$1I)
1262
+ for (var prop of __getOwnPropSymbols$1I(source)) {
1263
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1I.call(source, prop))
1264
+ target[prop] = source[prop];
1265
+ }
1266
+ return target;
1267
+ };
1268
+ const Blinker$1 = (_a) => {
1269
+ var _b = _a, {
1270
+ color = "",
1271
+ size,
1272
+ isBlinking = true
1273
+ } = _b, rest = __objRest$1c(_b, [
1274
+ "color",
1275
+ "size",
1276
+ "isBlinking"
1277
+ ]);
1278
+ const styles = useStyleConfig("Blinker", { color, size, isBlinking });
1279
+ return /* @__PURE__ */ React.createElement(Box, __spreadValues$1I({ sx: styles, "data-testid": "blinker-test-id" }, rest));
1280
+ };
1239
1281
 
1240
1282
  var __defProp$1H = Object.defineProperty;
1241
1283
  var __getOwnPropSymbols$1H = Object.getOwnPropertySymbols;
@@ -1253,7 +1295,7 @@ var __spreadValues$1H = (a, b) => {
1253
1295
  }
1254
1296
  return a;
1255
1297
  };
1256
- var __objRest$1c = (source, exclude) => {
1298
+ var __objRest$1b = (source, exclude) => {
1257
1299
  var target = {};
1258
1300
  for (var prop in source)
1259
1301
  if (__hasOwnProp$1H.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -1265,19 +1307,12 @@ var __objRest$1c = (source, exclude) => {
1265
1307
  }
1266
1308
  return target;
1267
1309
  };
1268
- const Blinker$1 = (_a) => {
1269
- var _b = _a, {
1270
- color = "",
1271
- size,
1272
- isBlinking = true
1273
- } = _b, rest = __objRest$1c(_b, [
1274
- "color",
1275
- "size",
1276
- "isBlinking"
1277
- ]);
1278
- const styles = useStyleConfig("Blinker", { color, size, isBlinking });
1279
- return /* @__PURE__ */ React.createElement(Box, __spreadValues$1H({ sx: styles, "data-testid": "blinker-test-id" }, rest));
1280
- };
1310
+ const Button$1 = forwardRef$1(
1311
+ (_a, ref) => {
1312
+ var _b = _a, { variant = "default", children } = _b, rest = __objRest$1b(_b, ["variant", "children"]);
1313
+ return /* @__PURE__ */ React.createElement(Button$2, __spreadValues$1H({ variant, ref }, rest), children);
1314
+ }
1315
+ );
1281
1316
 
1282
1317
  var __defProp$1G = Object.defineProperty;
1283
1318
  var __getOwnPropSymbols$1G = Object.getOwnPropertySymbols;
@@ -1295,7 +1330,7 @@ var __spreadValues$1G = (a, b) => {
1295
1330
  }
1296
1331
  return a;
1297
1332
  };
1298
- var __objRest$1b = (source, exclude) => {
1333
+ var __objRest$1a = (source, exclude) => {
1299
1334
  var target = {};
1300
1335
  for (var prop in source)
1301
1336
  if (__hasOwnProp$1G.call(source, prop) && exclude.indexOf(prop) < 0)
@@ -1307,41 +1342,6 @@ var __objRest$1b = (source, exclude) => {
1307
1342
  }
1308
1343
  return target;
1309
1344
  };
1310
- const Button$1 = forwardRef$1(
1311
- (_a, ref) => {
1312
- var _b = _a, { variant = "default", children } = _b, rest = __objRest$1b(_b, ["variant", "children"]);
1313
- return /* @__PURE__ */ React.createElement(Button$2, __spreadValues$1G({ variant, ref }, rest), children);
1314
- }
1315
- );
1316
-
1317
- var __defProp$1F = Object.defineProperty;
1318
- var __getOwnPropSymbols$1F = Object.getOwnPropertySymbols;
1319
- var __hasOwnProp$1F = Object.prototype.hasOwnProperty;
1320
- var __propIsEnum$1F = Object.prototype.propertyIsEnumerable;
1321
- var __defNormalProp$1F = (obj, key, value) => key in obj ? __defProp$1F(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1322
- var __spreadValues$1F = (a, b) => {
1323
- for (var prop in b || (b = {}))
1324
- if (__hasOwnProp$1F.call(b, prop))
1325
- __defNormalProp$1F(a, prop, b[prop]);
1326
- if (__getOwnPropSymbols$1F)
1327
- for (var prop of __getOwnPropSymbols$1F(b)) {
1328
- if (__propIsEnum$1F.call(b, prop))
1329
- __defNormalProp$1F(a, prop, b[prop]);
1330
- }
1331
- return a;
1332
- };
1333
- var __objRest$1a = (source, exclude) => {
1334
- var target = {};
1335
- for (var prop in source)
1336
- if (__hasOwnProp$1F.call(source, prop) && exclude.indexOf(prop) < 0)
1337
- target[prop] = source[prop];
1338
- if (source != null && __getOwnPropSymbols$1F)
1339
- for (var prop of __getOwnPropSymbols$1F(source)) {
1340
- if (exclude.indexOf(prop) < 0 && __propIsEnum$1F.call(source, prop))
1341
- target[prop] = source[prop];
1342
- }
1343
- return target;
1344
- };
1345
1345
  const Checkbox$1 = (_a) => {
1346
1346
  var _b = _a, {
1347
1347
  value,
@@ -1358,7 +1358,7 @@ const Checkbox$1 = (_a) => {
1358
1358
  ]);
1359
1359
  return /* @__PURE__ */ React.createElement(
1360
1360
  Checkbox$2,
1361
- __spreadValues$1F({
1361
+ __spreadValues$1G({
1362
1362
  size,
1363
1363
  id: name,
1364
1364
  onChange,
@@ -1384,30 +1384,30 @@ const trimFormValues = (obj) => {
1384
1384
  return newObj;
1385
1385
  };
1386
1386
 
1387
- var __defProp$1E = Object.defineProperty;
1388
- var __getOwnPropSymbols$1E = Object.getOwnPropertySymbols;
1389
- var __hasOwnProp$1E = Object.prototype.hasOwnProperty;
1390
- var __propIsEnum$1E = Object.prototype.propertyIsEnumerable;
1391
- var __defNormalProp$1E = (obj, key, value) => key in obj ? __defProp$1E(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1392
- var __spreadValues$1E = (a, b) => {
1387
+ var __defProp$1F = Object.defineProperty;
1388
+ var __getOwnPropSymbols$1F = Object.getOwnPropertySymbols;
1389
+ var __hasOwnProp$1F = Object.prototype.hasOwnProperty;
1390
+ var __propIsEnum$1F = Object.prototype.propertyIsEnumerable;
1391
+ var __defNormalProp$1F = (obj, key, value) => key in obj ? __defProp$1F(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1392
+ var __spreadValues$1F = (a, b) => {
1393
1393
  for (var prop in b || (b = {}))
1394
- if (__hasOwnProp$1E.call(b, prop))
1395
- __defNormalProp$1E(a, prop, b[prop]);
1396
- if (__getOwnPropSymbols$1E)
1397
- for (var prop of __getOwnPropSymbols$1E(b)) {
1398
- if (__propIsEnum$1E.call(b, prop))
1399
- __defNormalProp$1E(a, prop, b[prop]);
1394
+ if (__hasOwnProp$1F.call(b, prop))
1395
+ __defNormalProp$1F(a, prop, b[prop]);
1396
+ if (__getOwnPropSymbols$1F)
1397
+ for (var prop of __getOwnPropSymbols$1F(b)) {
1398
+ if (__propIsEnum$1F.call(b, prop))
1399
+ __defNormalProp$1F(a, prop, b[prop]);
1400
1400
  }
1401
1401
  return a;
1402
1402
  };
1403
1403
  var __objRest$19 = (source, exclude) => {
1404
1404
  var target = {};
1405
1405
  for (var prop in source)
1406
- if (__hasOwnProp$1E.call(source, prop) && exclude.indexOf(prop) < 0)
1406
+ if (__hasOwnProp$1F.call(source, prop) && exclude.indexOf(prop) < 0)
1407
1407
  target[prop] = source[prop];
1408
- if (source != null && __getOwnPropSymbols$1E)
1409
- for (var prop of __getOwnPropSymbols$1E(source)) {
1410
- if (exclude.indexOf(prop) < 0 && __propIsEnum$1E.call(source, prop))
1408
+ if (source != null && __getOwnPropSymbols$1F)
1409
+ for (var prop of __getOwnPropSymbols$1F(source)) {
1410
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1F.call(source, prop))
1411
1411
  target[prop] = source[prop];
1412
1412
  }
1413
1413
  return target;
@@ -1438,7 +1438,7 @@ const Form = forwardRef$1((_a, ref) => {
1438
1438
  values,
1439
1439
  errors: validate(values)
1440
1440
  });
1441
- const newMethods = methods || useForm(__spreadValues$1E({
1441
+ const newMethods = methods || useForm(__spreadValues$1F({
1442
1442
  defaultValues: initialValues,
1443
1443
  resolver: validate ? customResolver : void 0
1444
1444
  }, formSettings));
@@ -1464,33 +1464,33 @@ const Form = forwardRef$1((_a, ref) => {
1464
1464
  newMethods.trigger();
1465
1465
  e.preventDefault();
1466
1466
  };
1467
- return /* @__PURE__ */ React.createElement(FormProvider, __spreadValues$1E(__spreadValues$1E({}, newMethods), rest), /* @__PURE__ */ React.createElement("form", { style: __spreadValues$1E({ width: "100%" }, innerFormStyle), onSubmit: handleSubmit }, typeof children === "function" ? children(newMethods) : children));
1467
+ return /* @__PURE__ */ React.createElement(FormProvider, __spreadValues$1F(__spreadValues$1F({}, newMethods), rest), /* @__PURE__ */ React.createElement("form", { style: __spreadValues$1F({ width: "100%" }, innerFormStyle), onSubmit: handleSubmit }, typeof children === "function" ? children(newMethods) : children));
1468
1468
  });
1469
1469
 
1470
- var __defProp$1D = Object.defineProperty;
1471
- var __getOwnPropSymbols$1D = Object.getOwnPropertySymbols;
1472
- var __hasOwnProp$1D = Object.prototype.hasOwnProperty;
1473
- var __propIsEnum$1D = Object.prototype.propertyIsEnumerable;
1474
- var __defNormalProp$1D = (obj, key, value) => key in obj ? __defProp$1D(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1475
- var __spreadValues$1D = (a, b) => {
1470
+ var __defProp$1E = Object.defineProperty;
1471
+ var __getOwnPropSymbols$1E = Object.getOwnPropertySymbols;
1472
+ var __hasOwnProp$1E = Object.prototype.hasOwnProperty;
1473
+ var __propIsEnum$1E = Object.prototype.propertyIsEnumerable;
1474
+ var __defNormalProp$1E = (obj, key, value) => key in obj ? __defProp$1E(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1475
+ var __spreadValues$1E = (a, b) => {
1476
1476
  for (var prop in b || (b = {}))
1477
- if (__hasOwnProp$1D.call(b, prop))
1478
- __defNormalProp$1D(a, prop, b[prop]);
1479
- if (__getOwnPropSymbols$1D)
1480
- for (var prop of __getOwnPropSymbols$1D(b)) {
1481
- if (__propIsEnum$1D.call(b, prop))
1482
- __defNormalProp$1D(a, prop, b[prop]);
1477
+ if (__hasOwnProp$1E.call(b, prop))
1478
+ __defNormalProp$1E(a, prop, b[prop]);
1479
+ if (__getOwnPropSymbols$1E)
1480
+ for (var prop of __getOwnPropSymbols$1E(b)) {
1481
+ if (__propIsEnum$1E.call(b, prop))
1482
+ __defNormalProp$1E(a, prop, b[prop]);
1483
1483
  }
1484
1484
  return a;
1485
1485
  };
1486
1486
  var __objRest$18 = (source, exclude) => {
1487
1487
  var target = {};
1488
1488
  for (var prop in source)
1489
- if (__hasOwnProp$1D.call(source, prop) && exclude.indexOf(prop) < 0)
1489
+ if (__hasOwnProp$1E.call(source, prop) && exclude.indexOf(prop) < 0)
1490
1490
  target[prop] = source[prop];
1491
- if (source != null && __getOwnPropSymbols$1D)
1492
- for (var prop of __getOwnPropSymbols$1D(source)) {
1493
- if (exclude.indexOf(prop) < 0 && __propIsEnum$1D.call(source, prop))
1491
+ if (source != null && __getOwnPropSymbols$1E)
1492
+ for (var prop of __getOwnPropSymbols$1E(source)) {
1493
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1E.call(source, prop))
1494
1494
  target[prop] = source[prop];
1495
1495
  }
1496
1496
  return target;
@@ -1503,7 +1503,7 @@ const FormLabel = (_a) => {
1503
1503
  ]);
1504
1504
  return /* @__PURE__ */ React.createElement(
1505
1505
  Label$1,
1506
- __spreadValues$1D({
1506
+ __spreadValues$1E({
1507
1507
  size: "sm",
1508
1508
  sx: {
1509
1509
  width: "80%",
@@ -1740,30 +1740,40 @@ const useScreenSize = () => {
1740
1740
  return "sm";
1741
1741
  };
1742
1742
 
1743
- var __defProp$1C = Object.defineProperty;
1744
- var __getOwnPropSymbols$1C = Object.getOwnPropertySymbols;
1745
- var __hasOwnProp$1C = Object.prototype.hasOwnProperty;
1746
- var __propIsEnum$1C = Object.prototype.propertyIsEnumerable;
1747
- var __defNormalProp$1C = (obj, key, value) => key in obj ? __defProp$1C(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1748
- var __spreadValues$1C = (a, b) => {
1743
+ const useDidUpdateEffect = (effect, dependencies) => {
1744
+ const didMountRef = useRef(false);
1745
+ useEffect(() => {
1746
+ if (didMountRef.current) {
1747
+ effect();
1748
+ }
1749
+ didMountRef.current = true;
1750
+ }, dependencies);
1751
+ };
1752
+
1753
+ var __defProp$1D = Object.defineProperty;
1754
+ var __getOwnPropSymbols$1D = Object.getOwnPropertySymbols;
1755
+ var __hasOwnProp$1D = Object.prototype.hasOwnProperty;
1756
+ var __propIsEnum$1D = Object.prototype.propertyIsEnumerable;
1757
+ var __defNormalProp$1D = (obj, key, value) => key in obj ? __defProp$1D(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1758
+ var __spreadValues$1D = (a, b) => {
1749
1759
  for (var prop in b || (b = {}))
1750
- if (__hasOwnProp$1C.call(b, prop))
1751
- __defNormalProp$1C(a, prop, b[prop]);
1752
- if (__getOwnPropSymbols$1C)
1753
- for (var prop of __getOwnPropSymbols$1C(b)) {
1754
- if (__propIsEnum$1C.call(b, prop))
1755
- __defNormalProp$1C(a, prop, b[prop]);
1760
+ if (__hasOwnProp$1D.call(b, prop))
1761
+ __defNormalProp$1D(a, prop, b[prop]);
1762
+ if (__getOwnPropSymbols$1D)
1763
+ for (var prop of __getOwnPropSymbols$1D(b)) {
1764
+ if (__propIsEnum$1D.call(b, prop))
1765
+ __defNormalProp$1D(a, prop, b[prop]);
1756
1766
  }
1757
1767
  return a;
1758
1768
  };
1759
1769
  var __objRest$17 = (source, exclude) => {
1760
1770
  var target = {};
1761
1771
  for (var prop in source)
1762
- if (__hasOwnProp$1C.call(source, prop) && exclude.indexOf(prop) < 0)
1772
+ if (__hasOwnProp$1D.call(source, prop) && exclude.indexOf(prop) < 0)
1763
1773
  target[prop] = source[prop];
1764
- if (source != null && __getOwnPropSymbols$1C)
1765
- for (var prop of __getOwnPropSymbols$1C(source)) {
1766
- if (exclude.indexOf(prop) < 0 && __propIsEnum$1C.call(source, prop))
1774
+ if (source != null && __getOwnPropSymbols$1D)
1775
+ for (var prop of __getOwnPropSymbols$1D(source)) {
1776
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1D.call(source, prop))
1767
1777
  target[prop] = source[prop];
1768
1778
  }
1769
1779
  return target;
@@ -1794,7 +1804,7 @@ function Field(_a) {
1794
1804
  const fieldError = getFieldError(name, errors);
1795
1805
  return /* @__PURE__ */ React.createElement(FormControl, { isInvalid: !!fieldError, isRequired }, /* @__PURE__ */ React.createElement(
1796
1806
  Stack,
1797
- __spreadValues$1C({
1807
+ __spreadValues$1D({
1798
1808
  spacing: "auto",
1799
1809
  direction,
1800
1810
  alignItems: direction === "column" ? "stretch" : "center"
@@ -1821,30 +1831,30 @@ const useSetValueRefreshed = () => {
1821
1831
  return setValueRefreshed;
1822
1832
  };
1823
1833
 
1824
- var __defProp$1B = Object.defineProperty;
1825
- var __getOwnPropSymbols$1B = Object.getOwnPropertySymbols;
1826
- var __hasOwnProp$1B = Object.prototype.hasOwnProperty;
1827
- var __propIsEnum$1B = Object.prototype.propertyIsEnumerable;
1828
- var __defNormalProp$1B = (obj, key, value) => key in obj ? __defProp$1B(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1829
- var __spreadValues$1B = (a, b) => {
1834
+ var __defProp$1C = Object.defineProperty;
1835
+ var __getOwnPropSymbols$1C = Object.getOwnPropertySymbols;
1836
+ var __hasOwnProp$1C = Object.prototype.hasOwnProperty;
1837
+ var __propIsEnum$1C = Object.prototype.propertyIsEnumerable;
1838
+ var __defNormalProp$1C = (obj, key, value) => key in obj ? __defProp$1C(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1839
+ var __spreadValues$1C = (a, b) => {
1830
1840
  for (var prop in b || (b = {}))
1831
- if (__hasOwnProp$1B.call(b, prop))
1832
- __defNormalProp$1B(a, prop, b[prop]);
1833
- if (__getOwnPropSymbols$1B)
1834
- for (var prop of __getOwnPropSymbols$1B(b)) {
1835
- if (__propIsEnum$1B.call(b, prop))
1836
- __defNormalProp$1B(a, prop, b[prop]);
1841
+ if (__hasOwnProp$1C.call(b, prop))
1842
+ __defNormalProp$1C(a, prop, b[prop]);
1843
+ if (__getOwnPropSymbols$1C)
1844
+ for (var prop of __getOwnPropSymbols$1C(b)) {
1845
+ if (__propIsEnum$1C.call(b, prop))
1846
+ __defNormalProp$1C(a, prop, b[prop]);
1837
1847
  }
1838
1848
  return a;
1839
1849
  };
1840
1850
  var __objRest$16 = (source, exclude) => {
1841
1851
  var target = {};
1842
1852
  for (var prop in source)
1843
- if (__hasOwnProp$1B.call(source, prop) && exclude.indexOf(prop) < 0)
1853
+ if (__hasOwnProp$1C.call(source, prop) && exclude.indexOf(prop) < 0)
1844
1854
  target[prop] = source[prop];
1845
- if (source != null && __getOwnPropSymbols$1B)
1846
- for (var prop of __getOwnPropSymbols$1B(source)) {
1847
- if (exclude.indexOf(prop) < 0 && __propIsEnum$1B.call(source, prop))
1855
+ if (source != null && __getOwnPropSymbols$1C)
1856
+ for (var prop of __getOwnPropSymbols$1C(source)) {
1857
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1C.call(source, prop))
1848
1858
  target[prop] = source[prop];
1849
1859
  }
1850
1860
  return target;
@@ -1894,7 +1904,7 @@ const CheckboxField = (_a) => {
1894
1904
  },
1895
1905
  /* @__PURE__ */ React.createElement(
1896
1906
  Checkbox$1,
1897
- __spreadValues$1B({
1907
+ __spreadValues$1C({
1898
1908
  name,
1899
1909
  onChange: (e) => {
1900
1910
  onChange(e);
@@ -1911,30 +1921,30 @@ const CheckboxField = (_a) => {
1911
1921
  );
1912
1922
  };
1913
1923
 
1914
- var __defProp$1A = Object.defineProperty;
1915
- var __getOwnPropSymbols$1A = Object.getOwnPropertySymbols;
1916
- var __hasOwnProp$1A = Object.prototype.hasOwnProperty;
1917
- var __propIsEnum$1A = Object.prototype.propertyIsEnumerable;
1918
- var __defNormalProp$1A = (obj, key, value) => key in obj ? __defProp$1A(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1919
- var __spreadValues$1A = (a, b) => {
1924
+ var __defProp$1B = Object.defineProperty;
1925
+ var __getOwnPropSymbols$1B = Object.getOwnPropertySymbols;
1926
+ var __hasOwnProp$1B = Object.prototype.hasOwnProperty;
1927
+ var __propIsEnum$1B = Object.prototype.propertyIsEnumerable;
1928
+ var __defNormalProp$1B = (obj, key, value) => key in obj ? __defProp$1B(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
1929
+ var __spreadValues$1B = (a, b) => {
1920
1930
  for (var prop in b || (b = {}))
1921
- if (__hasOwnProp$1A.call(b, prop))
1922
- __defNormalProp$1A(a, prop, b[prop]);
1923
- if (__getOwnPropSymbols$1A)
1924
- for (var prop of __getOwnPropSymbols$1A(b)) {
1925
- if (__propIsEnum$1A.call(b, prop))
1926
- __defNormalProp$1A(a, prop, b[prop]);
1931
+ if (__hasOwnProp$1B.call(b, prop))
1932
+ __defNormalProp$1B(a, prop, b[prop]);
1933
+ if (__getOwnPropSymbols$1B)
1934
+ for (var prop of __getOwnPropSymbols$1B(b)) {
1935
+ if (__propIsEnum$1B.call(b, prop))
1936
+ __defNormalProp$1B(a, prop, b[prop]);
1927
1937
  }
1928
1938
  return a;
1929
1939
  };
1930
1940
  var __objRest$15 = (source, exclude) => {
1931
1941
  var target = {};
1932
1942
  for (var prop in source)
1933
- if (__hasOwnProp$1A.call(source, prop) && exclude.indexOf(prop) < 0)
1943
+ if (__hasOwnProp$1B.call(source, prop) && exclude.indexOf(prop) < 0)
1934
1944
  target[prop] = source[prop];
1935
- if (source != null && __getOwnPropSymbols$1A)
1936
- for (var prop of __getOwnPropSymbols$1A(source)) {
1937
- if (exclude.indexOf(prop) < 0 && __propIsEnum$1A.call(source, prop))
1945
+ if (source != null && __getOwnPropSymbols$1B)
1946
+ for (var prop of __getOwnPropSymbols$1B(source)) {
1947
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1B.call(source, prop))
1938
1948
  target[prop] = source[prop];
1939
1949
  }
1940
1950
  return target;
@@ -1955,7 +1965,7 @@ const IconButton = forwardRef$1((_a, ref) => {
1955
1965
  const IconWithSize = cloneElement(IconComponent, { size: rest.size });
1956
1966
  return /* @__PURE__ */ React.createElement(
1957
1967
  IconButton$1,
1958
- __spreadValues$1A({
1968
+ __spreadValues$1B({
1959
1969
  variant,
1960
1970
  icon: IconWithSize,
1961
1971
  "aria-label": ariaLabel,
@@ -2046,30 +2056,30 @@ const ColorsExpandButton = ({
2046
2056
  );
2047
2057
  };
2048
2058
 
2049
- var __defProp$1z = Object.defineProperty;
2050
- var __getOwnPropSymbols$1z = Object.getOwnPropertySymbols;
2051
- var __hasOwnProp$1z = Object.prototype.hasOwnProperty;
2052
- var __propIsEnum$1z = Object.prototype.propertyIsEnumerable;
2053
- var __defNormalProp$1z = (obj, key, value) => key in obj ? __defProp$1z(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2054
- var __spreadValues$1z = (a, b) => {
2059
+ var __defProp$1A = Object.defineProperty;
2060
+ var __getOwnPropSymbols$1A = Object.getOwnPropertySymbols;
2061
+ var __hasOwnProp$1A = Object.prototype.hasOwnProperty;
2062
+ var __propIsEnum$1A = Object.prototype.propertyIsEnumerable;
2063
+ var __defNormalProp$1A = (obj, key, value) => key in obj ? __defProp$1A(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2064
+ var __spreadValues$1A = (a, b) => {
2055
2065
  for (var prop in b || (b = {}))
2056
- if (__hasOwnProp$1z.call(b, prop))
2057
- __defNormalProp$1z(a, prop, b[prop]);
2058
- if (__getOwnPropSymbols$1z)
2059
- for (var prop of __getOwnPropSymbols$1z(b)) {
2060
- if (__propIsEnum$1z.call(b, prop))
2061
- __defNormalProp$1z(a, prop, b[prop]);
2066
+ if (__hasOwnProp$1A.call(b, prop))
2067
+ __defNormalProp$1A(a, prop, b[prop]);
2068
+ if (__getOwnPropSymbols$1A)
2069
+ for (var prop of __getOwnPropSymbols$1A(b)) {
2070
+ if (__propIsEnum$1A.call(b, prop))
2071
+ __defNormalProp$1A(a, prop, b[prop]);
2062
2072
  }
2063
2073
  return a;
2064
2074
  };
2065
2075
  var __objRest$14 = (source, exclude) => {
2066
2076
  var target = {};
2067
2077
  for (var prop in source)
2068
- if (__hasOwnProp$1z.call(source, prop) && exclude.indexOf(prop) < 0)
2078
+ if (__hasOwnProp$1A.call(source, prop) && exclude.indexOf(prop) < 0)
2069
2079
  target[prop] = source[prop];
2070
- if (source != null && __getOwnPropSymbols$1z)
2071
- for (var prop of __getOwnPropSymbols$1z(source)) {
2072
- if (exclude.indexOf(prop) < 0 && __propIsEnum$1z.call(source, prop))
2080
+ if (source != null && __getOwnPropSymbols$1A)
2081
+ for (var prop of __getOwnPropSymbols$1A(source)) {
2082
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1A.call(source, prop))
2073
2083
  target[prop] = source[prop];
2074
2084
  }
2075
2085
  return target;
@@ -2148,7 +2158,7 @@ const ColorPicker$1 = (_a) => {
2148
2158
  },
2149
2159
  /* @__PURE__ */ React.createElement(PopoverTrigger, null, /* @__PURE__ */ React.createElement(
2150
2160
  IconButton,
2151
- __spreadValues$1z({
2161
+ __spreadValues$1A({
2152
2162
  onClick: onToggle,
2153
2163
  "aria-label": name || "color picker",
2154
2164
  name,
@@ -2197,30 +2207,30 @@ const ColorPicker$1 = (_a) => {
2197
2207
  ));
2198
2208
  };
2199
2209
 
2200
- var __defProp$1y = Object.defineProperty;
2201
- var __getOwnPropSymbols$1y = Object.getOwnPropertySymbols;
2202
- var __hasOwnProp$1y = Object.prototype.hasOwnProperty;
2203
- var __propIsEnum$1y = Object.prototype.propertyIsEnumerable;
2204
- var __defNormalProp$1y = (obj, key, value) => key in obj ? __defProp$1y(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2205
- var __spreadValues$1y = (a, b) => {
2210
+ var __defProp$1z = Object.defineProperty;
2211
+ var __getOwnPropSymbols$1z = Object.getOwnPropertySymbols;
2212
+ var __hasOwnProp$1z = Object.prototype.hasOwnProperty;
2213
+ var __propIsEnum$1z = Object.prototype.propertyIsEnumerable;
2214
+ var __defNormalProp$1z = (obj, key, value) => key in obj ? __defProp$1z(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2215
+ var __spreadValues$1z = (a, b) => {
2206
2216
  for (var prop in b || (b = {}))
2207
- if (__hasOwnProp$1y.call(b, prop))
2208
- __defNormalProp$1y(a, prop, b[prop]);
2209
- if (__getOwnPropSymbols$1y)
2210
- for (var prop of __getOwnPropSymbols$1y(b)) {
2211
- if (__propIsEnum$1y.call(b, prop))
2212
- __defNormalProp$1y(a, prop, b[prop]);
2217
+ if (__hasOwnProp$1z.call(b, prop))
2218
+ __defNormalProp$1z(a, prop, b[prop]);
2219
+ if (__getOwnPropSymbols$1z)
2220
+ for (var prop of __getOwnPropSymbols$1z(b)) {
2221
+ if (__propIsEnum$1z.call(b, prop))
2222
+ __defNormalProp$1z(a, prop, b[prop]);
2213
2223
  }
2214
2224
  return a;
2215
2225
  };
2216
2226
  var __objRest$13 = (source, exclude) => {
2217
2227
  var target = {};
2218
2228
  for (var prop in source)
2219
- if (__hasOwnProp$1y.call(source, prop) && exclude.indexOf(prop) < 0)
2229
+ if (__hasOwnProp$1z.call(source, prop) && exclude.indexOf(prop) < 0)
2220
2230
  target[prop] = source[prop];
2221
- if (source != null && __getOwnPropSymbols$1y)
2222
- for (var prop of __getOwnPropSymbols$1y(source)) {
2223
- if (exclude.indexOf(prop) < 0 && __propIsEnum$1y.call(source, prop))
2231
+ if (source != null && __getOwnPropSymbols$1z)
2232
+ for (var prop of __getOwnPropSymbols$1z(source)) {
2233
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1z.call(source, prop))
2224
2234
  target[prop] = source[prop];
2225
2235
  }
2226
2236
  return target;
@@ -2250,7 +2260,7 @@ const ColorPickerField = (_a) => {
2250
2260
  },
2251
2261
  ({ onChange, value }) => /* @__PURE__ */ React.createElement(
2252
2262
  ColorPicker$1,
2253
- __spreadValues$1y({
2263
+ __spreadValues$1z({
2254
2264
  name,
2255
2265
  onChange,
2256
2266
  value
@@ -2259,21 +2269,21 @@ const ColorPickerField = (_a) => {
2259
2269
  );
2260
2270
  };
2261
2271
 
2262
- var __defProp$1x = Object.defineProperty;
2272
+ var __defProp$1y = Object.defineProperty;
2263
2273
  var __defProps$u = Object.defineProperties;
2264
2274
  var __getOwnPropDescs$u = Object.getOwnPropertyDescriptors;
2265
- var __getOwnPropSymbols$1x = Object.getOwnPropertySymbols;
2266
- var __hasOwnProp$1x = Object.prototype.hasOwnProperty;
2267
- var __propIsEnum$1x = Object.prototype.propertyIsEnumerable;
2268
- var __defNormalProp$1x = (obj, key, value) => key in obj ? __defProp$1x(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2269
- var __spreadValues$1x = (a, b) => {
2275
+ var __getOwnPropSymbols$1y = Object.getOwnPropertySymbols;
2276
+ var __hasOwnProp$1y = Object.prototype.hasOwnProperty;
2277
+ var __propIsEnum$1y = Object.prototype.propertyIsEnumerable;
2278
+ var __defNormalProp$1y = (obj, key, value) => key in obj ? __defProp$1y(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2279
+ var __spreadValues$1y = (a, b) => {
2270
2280
  for (var prop in b || (b = {}))
2271
- if (__hasOwnProp$1x.call(b, prop))
2272
- __defNormalProp$1x(a, prop, b[prop]);
2273
- if (__getOwnPropSymbols$1x)
2274
- for (var prop of __getOwnPropSymbols$1x(b)) {
2275
- if (__propIsEnum$1x.call(b, prop))
2276
- __defNormalProp$1x(a, prop, b[prop]);
2281
+ if (__hasOwnProp$1y.call(b, prop))
2282
+ __defNormalProp$1y(a, prop, b[prop]);
2283
+ if (__getOwnPropSymbols$1y)
2284
+ for (var prop of __getOwnPropSymbols$1y(b)) {
2285
+ if (__propIsEnum$1y.call(b, prop))
2286
+ __defNormalProp$1y(a, prop, b[prop]);
2277
2287
  }
2278
2288
  return a;
2279
2289
  };
@@ -2281,7 +2291,7 @@ var __spreadProps$u = (a, b) => __defProps$u(a, __getOwnPropDescs$u(b));
2281
2291
  const FlipButtonContext = createContext(null);
2282
2292
  const useFlipButtonState = (props, isMulti) => isMulti ? useCheckboxGroupState(props) : useRadioGroupState(props);
2283
2293
  const useFlipButtonGroup = (props, state, isMulti) => {
2284
- const propsWithLabel = __spreadProps$u(__spreadValues$1x({}, props), {
2294
+ const propsWithLabel = __spreadProps$u(__spreadValues$1y({}, props), {
2285
2295
  "aria-label": `${isMulti ? "Checkbox" : "Radio"}-button-group`
2286
2296
  });
2287
2297
  return isMulti ? useCheckboxGroup(
@@ -2298,21 +2308,21 @@ const useFlipButton = (props, isMulti) => {
2298
2308
  return { state, flipButtonGroupProps };
2299
2309
  };
2300
2310
 
2301
- var __defProp$1w = Object.defineProperty;
2311
+ var __defProp$1x = Object.defineProperty;
2302
2312
  var __defProps$t = Object.defineProperties;
2303
2313
  var __getOwnPropDescs$t = Object.getOwnPropertyDescriptors;
2304
- var __getOwnPropSymbols$1w = Object.getOwnPropertySymbols;
2305
- var __hasOwnProp$1w = Object.prototype.hasOwnProperty;
2306
- var __propIsEnum$1w = Object.prototype.propertyIsEnumerable;
2307
- var __defNormalProp$1w = (obj, key, value) => key in obj ? __defProp$1w(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2308
- var __spreadValues$1w = (a, b) => {
2314
+ var __getOwnPropSymbols$1x = Object.getOwnPropertySymbols;
2315
+ var __hasOwnProp$1x = Object.prototype.hasOwnProperty;
2316
+ var __propIsEnum$1x = Object.prototype.propertyIsEnumerable;
2317
+ var __defNormalProp$1x = (obj, key, value) => key in obj ? __defProp$1x(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2318
+ var __spreadValues$1x = (a, b) => {
2309
2319
  for (var prop in b || (b = {}))
2310
- if (__hasOwnProp$1w.call(b, prop))
2311
- __defNormalProp$1w(a, prop, b[prop]);
2312
- if (__getOwnPropSymbols$1w)
2313
- for (var prop of __getOwnPropSymbols$1w(b)) {
2314
- if (__propIsEnum$1w.call(b, prop))
2315
- __defNormalProp$1w(a, prop, b[prop]);
2320
+ if (__hasOwnProp$1x.call(b, prop))
2321
+ __defNormalProp$1x(a, prop, b[prop]);
2322
+ if (__getOwnPropSymbols$1x)
2323
+ for (var prop of __getOwnPropSymbols$1x(b)) {
2324
+ if (__propIsEnum$1x.call(b, prop))
2325
+ __defNormalProp$1x(a, prop, b[prop]);
2316
2326
  }
2317
2327
  return a;
2318
2328
  };
@@ -2320,11 +2330,11 @@ var __spreadProps$t = (a, b) => __defProps$t(a, __getOwnPropDescs$t(b));
2320
2330
  var __objRest$12 = (source, exclude) => {
2321
2331
  var target = {};
2322
2332
  for (var prop in source)
2323
- if (__hasOwnProp$1w.call(source, prop) && exclude.indexOf(prop) < 0)
2333
+ if (__hasOwnProp$1x.call(source, prop) && exclude.indexOf(prop) < 0)
2324
2334
  target[prop] = source[prop];
2325
- if (source != null && __getOwnPropSymbols$1w)
2326
- for (var prop of __getOwnPropSymbols$1w(source)) {
2327
- if (exclude.indexOf(prop) < 0 && __propIsEnum$1w.call(source, prop))
2335
+ if (source != null && __getOwnPropSymbols$1x)
2336
+ for (var prop of __getOwnPropSymbols$1x(source)) {
2337
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1x.call(source, prop))
2328
2338
  target[prop] = source[prop];
2329
2339
  }
2330
2340
  return target;
@@ -2363,7 +2373,7 @@ const FlipButton$1 = (props) => {
2363
2373
  };
2364
2374
  const focusRing = isFocused ? focusStyles : {};
2365
2375
  const isSelected = isMulti ? state.isSelected(value) : state.selectedValue === value;
2366
- const flipButtonProps = __spreadProps$t(__spreadValues$1w({}, mergeProps(inputProps, focusProps)), {
2376
+ const flipButtonProps = __spreadProps$t(__spreadValues$1x({}, mergeProps(inputProps, focusProps)), {
2367
2377
  ref,
2368
2378
  style: { opacity: "0", width: "0", height: "0" },
2369
2379
  "aria-label": isMulti ? "Checkbox-input" : "Radio-input"
@@ -2375,7 +2385,7 @@ const FlipButton$1 = (props) => {
2375
2385
  as: "label",
2376
2386
  cursor: "pointer"
2377
2387
  };
2378
- return typeof children === "function" ? children(__spreadValues$1w({
2388
+ return typeof children === "function" ? children(__spreadValues$1x({
2379
2389
  state,
2380
2390
  containerProps,
2381
2391
  flipButtonProps,
@@ -2394,27 +2404,27 @@ const FlipButton$1 = (props) => {
2394
2404
  "aria-disabled": isDisabled,
2395
2405
  as: "label"
2396
2406
  },
2397
- /* @__PURE__ */ React.createElement("input", __spreadValues$1w({}, flipButtonProps)),
2407
+ /* @__PURE__ */ React.createElement("input", __spreadValues$1x({}, flipButtonProps)),
2398
2408
  icon && iconPlacement !== "none" ? /* @__PURE__ */ React.createElement(Icon$1, { as: icon || CheckSolid, sx: buttonIcon }) : isSelected && iconPlacement !== "none" && /* @__PURE__ */ React.createElement(SlideFade$1, { in: isSelected }, /* @__PURE__ */ React.createElement(Icon$1, { as: icon || CheckSolid, sx: buttonIcon })),
2399
2409
  /* @__PURE__ */ React.createElement(Text, { textAlign: "center" }, children)
2400
2410
  );
2401
2411
  };
2402
2412
 
2403
- var __defProp$1v = Object.defineProperty;
2413
+ var __defProp$1w = Object.defineProperty;
2404
2414
  var __defProps$s = Object.defineProperties;
2405
2415
  var __getOwnPropDescs$s = Object.getOwnPropertyDescriptors;
2406
- var __getOwnPropSymbols$1v = Object.getOwnPropertySymbols;
2407
- var __hasOwnProp$1v = Object.prototype.hasOwnProperty;
2408
- var __propIsEnum$1v = Object.prototype.propertyIsEnumerable;
2409
- var __defNormalProp$1v = (obj, key, value) => key in obj ? __defProp$1v(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2410
- var __spreadValues$1v = (a, b) => {
2416
+ var __getOwnPropSymbols$1w = Object.getOwnPropertySymbols;
2417
+ var __hasOwnProp$1w = Object.prototype.hasOwnProperty;
2418
+ var __propIsEnum$1w = Object.prototype.propertyIsEnumerable;
2419
+ var __defNormalProp$1w = (obj, key, value) => key in obj ? __defProp$1w(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2420
+ var __spreadValues$1w = (a, b) => {
2411
2421
  for (var prop in b || (b = {}))
2412
- if (__hasOwnProp$1v.call(b, prop))
2413
- __defNormalProp$1v(a, prop, b[prop]);
2414
- if (__getOwnPropSymbols$1v)
2415
- for (var prop of __getOwnPropSymbols$1v(b)) {
2416
- if (__propIsEnum$1v.call(b, prop))
2417
- __defNormalProp$1v(a, prop, b[prop]);
2422
+ if (__hasOwnProp$1w.call(b, prop))
2423
+ __defNormalProp$1w(a, prop, b[prop]);
2424
+ if (__getOwnPropSymbols$1w)
2425
+ for (var prop of __getOwnPropSymbols$1w(b)) {
2426
+ if (__propIsEnum$1w.call(b, prop))
2427
+ __defNormalProp$1w(a, prop, b[prop]);
2418
2428
  }
2419
2429
  return a;
2420
2430
  };
@@ -2422,11 +2432,11 @@ var __spreadProps$s = (a, b) => __defProps$s(a, __getOwnPropDescs$s(b));
2422
2432
  var __objRest$11 = (source, exclude) => {
2423
2433
  var target = {};
2424
2434
  for (var prop in source)
2425
- if (__hasOwnProp$1v.call(source, prop) && exclude.indexOf(prop) < 0)
2435
+ if (__hasOwnProp$1w.call(source, prop) && exclude.indexOf(prop) < 0)
2426
2436
  target[prop] = source[prop];
2427
- if (source != null && __getOwnPropSymbols$1v)
2428
- for (var prop of __getOwnPropSymbols$1v(source)) {
2429
- if (exclude.indexOf(prop) < 0 && __propIsEnum$1v.call(source, prop))
2437
+ if (source != null && __getOwnPropSymbols$1w)
2438
+ for (var prop of __getOwnPropSymbols$1w(source)) {
2439
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1w.call(source, prop))
2430
2440
  target[prop] = source[prop];
2431
2441
  }
2432
2442
  return target;
@@ -2458,7 +2468,7 @@ const FlipButtonGroup = (props) => {
2458
2468
  const { state, flipButtonGroupProps } = useFlipButton(props, isMulti);
2459
2469
  const numberOfButtons = Children.count(children);
2460
2470
  const childrenWithProps = Children.toArray(children).map(
2461
- (child) => isValidElement(child) ? cloneElement(child, __spreadValues$1v({
2471
+ (child) => isValidElement(child) ? cloneElement(child, __spreadValues$1w({
2462
2472
  key: child.props.value,
2463
2473
  isMulti,
2464
2474
  variant,
@@ -2477,7 +2487,7 @@ const FlipButtonGroup = (props) => {
2477
2487
  const restWithoutOnChange = omit(["onChange"], rest);
2478
2488
  return /* @__PURE__ */ React.createElement(
2479
2489
  Stack,
2480
- __spreadValues$1v(__spreadProps$s(__spreadValues$1v({}, flipButtonGroupProps), {
2490
+ __spreadValues$1w(__spreadProps$s(__spreadValues$1w({}, flipButtonGroupProps), {
2481
2491
  direction,
2482
2492
  id: name,
2483
2493
  spacing: 0,
@@ -2487,30 +2497,30 @@ const FlipButtonGroup = (props) => {
2487
2497
  );
2488
2498
  };
2489
2499
 
2490
- var __defProp$1u = Object.defineProperty;
2491
- var __getOwnPropSymbols$1u = Object.getOwnPropertySymbols;
2492
- var __hasOwnProp$1u = Object.prototype.hasOwnProperty;
2493
- var __propIsEnum$1u = Object.prototype.propertyIsEnumerable;
2494
- var __defNormalProp$1u = (obj, key, value) => key in obj ? __defProp$1u(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2495
- var __spreadValues$1u = (a, b) => {
2500
+ var __defProp$1v = Object.defineProperty;
2501
+ var __getOwnPropSymbols$1v = Object.getOwnPropertySymbols;
2502
+ var __hasOwnProp$1v = Object.prototype.hasOwnProperty;
2503
+ var __propIsEnum$1v = Object.prototype.propertyIsEnumerable;
2504
+ var __defNormalProp$1v = (obj, key, value) => key in obj ? __defProp$1v(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2505
+ var __spreadValues$1v = (a, b) => {
2496
2506
  for (var prop in b || (b = {}))
2497
- if (__hasOwnProp$1u.call(b, prop))
2498
- __defNormalProp$1u(a, prop, b[prop]);
2499
- if (__getOwnPropSymbols$1u)
2500
- for (var prop of __getOwnPropSymbols$1u(b)) {
2501
- if (__propIsEnum$1u.call(b, prop))
2502
- __defNormalProp$1u(a, prop, b[prop]);
2507
+ if (__hasOwnProp$1v.call(b, prop))
2508
+ __defNormalProp$1v(a, prop, b[prop]);
2509
+ if (__getOwnPropSymbols$1v)
2510
+ for (var prop of __getOwnPropSymbols$1v(b)) {
2511
+ if (__propIsEnum$1v.call(b, prop))
2512
+ __defNormalProp$1v(a, prop, b[prop]);
2503
2513
  }
2504
2514
  return a;
2505
2515
  };
2506
2516
  var __objRest$10 = (source, exclude) => {
2507
2517
  var target = {};
2508
2518
  for (var prop in source)
2509
- if (__hasOwnProp$1u.call(source, prop) && exclude.indexOf(prop) < 0)
2519
+ if (__hasOwnProp$1v.call(source, prop) && exclude.indexOf(prop) < 0)
2510
2520
  target[prop] = source[prop];
2511
- if (source != null && __getOwnPropSymbols$1u)
2512
- for (var prop of __getOwnPropSymbols$1u(source)) {
2513
- if (exclude.indexOf(prop) < 0 && __propIsEnum$1u.call(source, prop))
2521
+ if (source != null && __getOwnPropSymbols$1v)
2522
+ for (var prop of __getOwnPropSymbols$1v(source)) {
2523
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1v.call(source, prop))
2514
2524
  target[prop] = source[prop];
2515
2525
  }
2516
2526
  return target;
@@ -2546,7 +2556,7 @@ const FlipButtonGroupField = (_a) => {
2546
2556
  },
2547
2557
  ({ onChange, value }) => /* @__PURE__ */ React.createElement(
2548
2558
  FlipButtonGroup,
2549
- __spreadValues$1u({
2559
+ __spreadValues$1v({
2550
2560
  name,
2551
2561
  onChange: (e) => {
2552
2562
  onChange(e);
@@ -2561,21 +2571,21 @@ const FlipButtonGroupField = (_a) => {
2561
2571
  );
2562
2572
  };
2563
2573
 
2564
- var __defProp$1t = Object.defineProperty;
2574
+ var __defProp$1u = Object.defineProperty;
2565
2575
  var __defProps$r = Object.defineProperties;
2566
2576
  var __getOwnPropDescs$r = Object.getOwnPropertyDescriptors;
2567
- var __getOwnPropSymbols$1t = Object.getOwnPropertySymbols;
2568
- var __hasOwnProp$1t = Object.prototype.hasOwnProperty;
2569
- var __propIsEnum$1t = Object.prototype.propertyIsEnumerable;
2570
- var __defNormalProp$1t = (obj, key, value) => key in obj ? __defProp$1t(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2571
- var __spreadValues$1t = (a, b) => {
2577
+ var __getOwnPropSymbols$1u = Object.getOwnPropertySymbols;
2578
+ var __hasOwnProp$1u = Object.prototype.hasOwnProperty;
2579
+ var __propIsEnum$1u = Object.prototype.propertyIsEnumerable;
2580
+ var __defNormalProp$1u = (obj, key, value) => key in obj ? __defProp$1u(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2581
+ var __spreadValues$1u = (a, b) => {
2572
2582
  for (var prop in b || (b = {}))
2573
- if (__hasOwnProp$1t.call(b, prop))
2574
- __defNormalProp$1t(a, prop, b[prop]);
2575
- if (__getOwnPropSymbols$1t)
2576
- for (var prop of __getOwnPropSymbols$1t(b)) {
2577
- if (__propIsEnum$1t.call(b, prop))
2578
- __defNormalProp$1t(a, prop, b[prop]);
2583
+ if (__hasOwnProp$1u.call(b, prop))
2584
+ __defNormalProp$1u(a, prop, b[prop]);
2585
+ if (__getOwnPropSymbols$1u)
2586
+ for (var prop of __getOwnPropSymbols$1u(b)) {
2587
+ if (__propIsEnum$1u.call(b, prop))
2588
+ __defNormalProp$1u(a, prop, b[prop]);
2579
2589
  }
2580
2590
  return a;
2581
2591
  };
@@ -2586,7 +2596,7 @@ const Trigger = (props) => {
2586
2596
  const { buttonProps } = useButton(props, ref);
2587
2597
  return /* @__PURE__ */ React.createElement(
2588
2598
  Button$1,
2589
- __spreadProps$r(__spreadValues$1t({}, buttonProps), {
2599
+ __spreadProps$r(__spreadValues$1u({}, buttonProps), {
2590
2600
  ref,
2591
2601
  size: "sm",
2592
2602
  boxSize: 8,
@@ -2599,21 +2609,21 @@ const Trigger = (props) => {
2599
2609
  );
2600
2610
  };
2601
2611
 
2602
- var __defProp$1s = Object.defineProperty;
2612
+ var __defProp$1t = Object.defineProperty;
2603
2613
  var __defProps$q = Object.defineProperties;
2604
2614
  var __getOwnPropDescs$q = Object.getOwnPropertyDescriptors;
2605
- var __getOwnPropSymbols$1s = Object.getOwnPropertySymbols;
2606
- var __hasOwnProp$1s = Object.prototype.hasOwnProperty;
2607
- var __propIsEnum$1s = Object.prototype.propertyIsEnumerable;
2608
- var __defNormalProp$1s = (obj, key, value) => key in obj ? __defProp$1s(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2609
- var __spreadValues$1s = (a, b) => {
2615
+ var __getOwnPropSymbols$1t = Object.getOwnPropertySymbols;
2616
+ var __hasOwnProp$1t = Object.prototype.hasOwnProperty;
2617
+ var __propIsEnum$1t = Object.prototype.propertyIsEnumerable;
2618
+ var __defNormalProp$1t = (obj, key, value) => key in obj ? __defProp$1t(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2619
+ var __spreadValues$1t = (a, b) => {
2610
2620
  for (var prop in b || (b = {}))
2611
- if (__hasOwnProp$1s.call(b, prop))
2612
- __defNormalProp$1s(a, prop, b[prop]);
2613
- if (__getOwnPropSymbols$1s)
2614
- for (var prop of __getOwnPropSymbols$1s(b)) {
2615
- if (__propIsEnum$1s.call(b, prop))
2616
- __defNormalProp$1s(a, prop, b[prop]);
2621
+ if (__hasOwnProp$1t.call(b, prop))
2622
+ __defNormalProp$1t(a, prop, b[prop]);
2623
+ if (__getOwnPropSymbols$1t)
2624
+ for (var prop of __getOwnPropSymbols$1t(b)) {
2625
+ if (__propIsEnum$1t.call(b, prop))
2626
+ __defNormalProp$1t(a, prop, b[prop]);
2617
2627
  }
2618
2628
  return a;
2619
2629
  };
@@ -2626,7 +2636,7 @@ const DateSegment = ({ segment, state }) => {
2626
2636
  const minWidth = `${String(segment.maxValue).length}ch`;
2627
2637
  return /* @__PURE__ */ React.createElement(
2628
2638
  Box,
2629
- __spreadProps$q(__spreadValues$1s({}, segmentProps), {
2639
+ __spreadProps$q(__spreadValues$1t({}, segmentProps), {
2630
2640
  ref,
2631
2641
  __css: dateSegment,
2632
2642
  minWidth: isDivider ? 0 : minWidth,
@@ -2646,28 +2656,28 @@ const mapFormat = {
2646
2656
  const formatQuery = (query) => mapFormat[toLower(query)[0]];
2647
2657
  const delimeterIncluded = /([.,:;|\-/\\])/;
2648
2658
 
2649
- var __defProp$1r = Object.defineProperty;
2659
+ var __defProp$1s = Object.defineProperty;
2650
2660
  var __defProps$p = Object.defineProperties;
2651
2661
  var __getOwnPropDescs$p = Object.getOwnPropertyDescriptors;
2652
- var __getOwnPropSymbols$1r = Object.getOwnPropertySymbols;
2653
- var __hasOwnProp$1r = Object.prototype.hasOwnProperty;
2654
- var __propIsEnum$1r = Object.prototype.propertyIsEnumerable;
2655
- var __defNormalProp$1r = (obj, key, value) => key in obj ? __defProp$1r(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2656
- var __spreadValues$1r = (a, b) => {
2662
+ var __getOwnPropSymbols$1s = Object.getOwnPropertySymbols;
2663
+ var __hasOwnProp$1s = Object.prototype.hasOwnProperty;
2664
+ var __propIsEnum$1s = Object.prototype.propertyIsEnumerable;
2665
+ var __defNormalProp$1s = (obj, key, value) => key in obj ? __defProp$1s(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2666
+ var __spreadValues$1s = (a, b) => {
2657
2667
  for (var prop in b || (b = {}))
2658
- if (__hasOwnProp$1r.call(b, prop))
2659
- __defNormalProp$1r(a, prop, b[prop]);
2660
- if (__getOwnPropSymbols$1r)
2661
- for (var prop of __getOwnPropSymbols$1r(b)) {
2662
- if (__propIsEnum$1r.call(b, prop))
2663
- __defNormalProp$1r(a, prop, b[prop]);
2668
+ if (__hasOwnProp$1s.call(b, prop))
2669
+ __defNormalProp$1s(a, prop, b[prop]);
2670
+ if (__getOwnPropSymbols$1s)
2671
+ for (var prop of __getOwnPropSymbols$1s(b)) {
2672
+ if (__propIsEnum$1s.call(b, prop))
2673
+ __defNormalProp$1s(a, prop, b[prop]);
2664
2674
  }
2665
2675
  return a;
2666
2676
  };
2667
2677
  var __spreadProps$p = (a, b) => __defProps$p(a, __getOwnPropDescs$p(b));
2668
2678
  const DateField = (props) => {
2669
2679
  const ref = useRef(null);
2670
- const state = useDateFieldState(__spreadProps$p(__spreadValues$1r({}, props), {
2680
+ const state = useDateFieldState(__spreadProps$p(__spreadValues$1s({}, props), {
2671
2681
  /* Hard coding the United Kingdom locale,
2672
2682
  this enforces using english characters e.g.
2673
2683
  yyyy and not other such as åååå or chinese, which prevents hard to predict bugs */
@@ -2680,13 +2690,13 @@ const DateField = (props) => {
2680
2690
  const { dateFormat = "dd/mm/yyyy" } = props;
2681
2691
  const getMatchingSegment = (query, index) => find(
2682
2692
  (segment) => segment.placeholder === formatQuery(query)
2683
- )(segments) || __spreadProps$p(__spreadValues$1r({}, segments[index]), { text: query });
2693
+ )(segments) || __spreadProps$p(__spreadValues$1s({}, segments[index]), { text: query });
2684
2694
  const sortedSegments = split(delimeterIncluded, dateFormat).map(
2685
2695
  (query, index) => getMatchingSegment(query, index)
2686
2696
  );
2687
2697
  return /* @__PURE__ */ React.createElement(
2688
2698
  Box,
2689
- __spreadProps$p(__spreadValues$1r({}, fieldProps), {
2699
+ __spreadProps$p(__spreadValues$1s({}, fieldProps), {
2690
2700
  ref,
2691
2701
  display: "flex",
2692
2702
  __css: dateField,
@@ -2699,21 +2709,21 @@ const DateField = (props) => {
2699
2709
  );
2700
2710
  };
2701
2711
 
2702
- var __defProp$1q = Object.defineProperty;
2712
+ var __defProp$1r = Object.defineProperty;
2703
2713
  var __defProps$o = Object.defineProperties;
2704
2714
  var __getOwnPropDescs$o = Object.getOwnPropertyDescriptors;
2705
- var __getOwnPropSymbols$1q = Object.getOwnPropertySymbols;
2706
- var __hasOwnProp$1q = Object.prototype.hasOwnProperty;
2707
- var __propIsEnum$1q = Object.prototype.propertyIsEnumerable;
2708
- var __defNormalProp$1q = (obj, key, value) => key in obj ? __defProp$1q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2709
- var __spreadValues$1q = (a, b) => {
2715
+ var __getOwnPropSymbols$1r = Object.getOwnPropertySymbols;
2716
+ var __hasOwnProp$1r = Object.prototype.hasOwnProperty;
2717
+ var __propIsEnum$1r = Object.prototype.propertyIsEnumerable;
2718
+ var __defNormalProp$1r = (obj, key, value) => key in obj ? __defProp$1r(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2719
+ var __spreadValues$1r = (a, b) => {
2710
2720
  for (var prop in b || (b = {}))
2711
- if (__hasOwnProp$1q.call(b, prop))
2712
- __defNormalProp$1q(a, prop, b[prop]);
2713
- if (__getOwnPropSymbols$1q)
2714
- for (var prop of __getOwnPropSymbols$1q(b)) {
2715
- if (__propIsEnum$1q.call(b, prop))
2716
- __defNormalProp$1q(a, prop, b[prop]);
2721
+ if (__hasOwnProp$1r.call(b, prop))
2722
+ __defNormalProp$1r(a, prop, b[prop]);
2723
+ if (__getOwnPropSymbols$1r)
2724
+ for (var prop of __getOwnPropSymbols$1r(b)) {
2725
+ if (__propIsEnum$1r.call(b, prop))
2726
+ __defNormalProp$1r(a, prop, b[prop]);
2717
2727
  }
2718
2728
  return a;
2719
2729
  };
@@ -2721,11 +2731,11 @@ var __spreadProps$o = (a, b) => __defProps$o(a, __getOwnPropDescs$o(b));
2721
2731
  var __objRest$$ = (source, exclude) => {
2722
2732
  var target = {};
2723
2733
  for (var prop in source)
2724
- if (__hasOwnProp$1q.call(source, prop) && exclude.indexOf(prop) < 0)
2734
+ if (__hasOwnProp$1r.call(source, prop) && exclude.indexOf(prop) < 0)
2725
2735
  target[prop] = source[prop];
2726
- if (source != null && __getOwnPropSymbols$1q)
2727
- for (var prop of __getOwnPropSymbols$1q(source)) {
2728
- if (exclude.indexOf(prop) < 0 && __propIsEnum$1q.call(source, prop))
2736
+ if (source != null && __getOwnPropSymbols$1r)
2737
+ for (var prop of __getOwnPropSymbols$1r(source)) {
2738
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$1r.call(source, prop))
2729
2739
  target[prop] = source[prop];
2730
2740
  }
2731
2741
  return target;
@@ -2736,7 +2746,7 @@ const StyledField = forwardRef$1(
2736
2746
  const { styledField } = useMultiStyleConfig("DatePicker", { variant });
2737
2747
  return /* @__PURE__ */ React.createElement(
2738
2748
  Box,
2739
- __spreadProps$o(__spreadValues$1q({}, rest), {
2749
+ __spreadProps$o(__spreadValues$1r({}, rest), {
2740
2750
  ref,
2741
2751
  "aria-invalid": isInvalid,
2742
2752
  "aria-disabled": isDisabled,
@@ -2750,6 +2760,24 @@ const StyledField = forwardRef$1(
2750
2760
  }
2751
2761
  );
2752
2762
 
2763
+ var __defProp$1q = Object.defineProperty;
2764
+ var __getOwnPropSymbols$1q = Object.getOwnPropertySymbols;
2765
+ var __hasOwnProp$1q = Object.prototype.hasOwnProperty;
2766
+ var __propIsEnum$1q = Object.prototype.propertyIsEnumerable;
2767
+ var __defNormalProp$1q = (obj, key, value) => key in obj ? __defProp$1q(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
2768
+ var __spreadValues$1q = (a, b) => {
2769
+ for (var prop in b || (b = {}))
2770
+ if (__hasOwnProp$1q.call(b, prop))
2771
+ __defNormalProp$1q(a, prop, b[prop]);
2772
+ if (__getOwnPropSymbols$1q)
2773
+ for (var prop of __getOwnPropSymbols$1q(b)) {
2774
+ if (__propIsEnum$1q.call(b, prop))
2775
+ __defNormalProp$1q(a, prop, b[prop]);
2776
+ }
2777
+ return a;
2778
+ };
2779
+ const Table$1 = (props) => /* @__PURE__ */ React.createElement(Table$2, __spreadValues$1q({}, props));
2780
+
2753
2781
  var __defProp$1p = Object.defineProperty;
2754
2782
  var __defProps$n = Object.defineProperties;
2755
2783
  var __getOwnPropDescs$n = Object.getOwnPropertyDescriptors;
@@ -2841,7 +2869,7 @@ const CalendarGrid = memo(
2841
2869
  const startDate = state.visibleRange.start;
2842
2870
  const { gridProps, headerProps, weekDays } = useCalendarGrid(rest, state);
2843
2871
  const weeksInMonth = getWeeksInMonth(startDate, locale);
2844
- return /* @__PURE__ */ React.createElement(Table, __spreadValues$1o({ variant: "unstyled" }, gridProps), /* @__PURE__ */ React.createElement(Thead, __spreadValues$1o({}, headerProps), /* @__PURE__ */ React.createElement(DayLabels, { weekDays })), /* @__PURE__ */ React.createElement(Tbody, null, times((weekIndex) => /* @__PURE__ */ React.createElement(Tr, { key: weekIndex }, state.getDatesInWeek(weekIndex, startDate).map(
2872
+ return /* @__PURE__ */ React.createElement(Table$1, __spreadValues$1o({ variant: "unstyled" }, gridProps), /* @__PURE__ */ React.createElement(Thead, __spreadValues$1o({}, headerProps), /* @__PURE__ */ React.createElement(DayLabels, { weekDays })), /* @__PURE__ */ React.createElement(Tbody, null, times((weekIndex) => /* @__PURE__ */ React.createElement(Tr, { key: weekIndex }, state.getDatesInWeek(weekIndex, startDate).map(
2845
2873
  (date) => date ? /* @__PURE__ */ React.createElement(
2846
2874
  CalendarCell,
2847
2875
  {
@@ -5371,10 +5399,11 @@ var __objRest$G = (source, exclude) => {
5371
5399
  }
5372
5400
  return target;
5373
5401
  };
5374
- function getComponents({
5375
- defaultControl = true
5376
- }) {
5377
- const control = defaultControl ? {} : {
5402
+ function getComponents() {
5403
+ return {
5404
+ DropdownIndicator: (props) => props.selectProps.icon ? /* @__PURE__ */ React.createElement(chakraComponents.DropdownIndicator, __spreadValues$W({}, props), /* @__PURE__ */ React.createElement(Icon$1, { as: props.selectProps.icon })) : /* @__PURE__ */ React.createElement(chakraComponents.DropdownIndicator, __spreadValues$W({}, props)),
5405
+ Option: (props) => props.selectProps.customOption ? /* @__PURE__ */ React.createElement(chakraComponents.Option, __spreadValues$W({}, props), props.selectProps.customOption(props.data)) : /* @__PURE__ */ React.createElement(chakraComponents.Option, __spreadValues$W({}, props)),
5406
+ MultiValueContainer: (props) => props.selectProps.customTag ? /* @__PURE__ */ React.createElement(chakraComponents.MultiValueContainer, __spreadValues$W({}, props), props.selectProps.customTag(props.data)) : /* @__PURE__ */ React.createElement(chakraComponents.MultiValueContainer, __spreadValues$W({}, props)),
5378
5407
  Control: (_a) => {
5379
5408
  var _b = _a, {
5380
5409
  children
@@ -5384,11 +5413,6 @@ function getComponents({
5384
5413
  return props.selectProps.leftIcon ? /* @__PURE__ */ React.createElement(chakraComponents.Control, __spreadValues$W({}, props), /* @__PURE__ */ React.createElement(HStack, { w: "full", pl: "2" }, /* @__PURE__ */ React.createElement(Icon$1, { as: props.selectProps.leftIcon }), /* @__PURE__ */ React.createElement(HStack, { w: "full", justify: "space-between" }, children))) : /* @__PURE__ */ React.createElement(chakraComponents.Control, __spreadValues$W({}, props), children);
5385
5414
  }
5386
5415
  };
5387
- return __spreadValues$W({
5388
- DropdownIndicator: (props) => props.selectProps.icon ? /* @__PURE__ */ React.createElement(chakraComponents.DropdownIndicator, __spreadValues$W({}, props), /* @__PURE__ */ React.createElement(Icon$1, { as: props.selectProps.icon })) : /* @__PURE__ */ React.createElement(chakraComponents.DropdownIndicator, __spreadValues$W({}, props)),
5389
- Option: (props) => props.selectProps.customOption ? /* @__PURE__ */ React.createElement(chakraComponents.Option, __spreadValues$W({}, props), props.selectProps.customOption(props.data)) : /* @__PURE__ */ React.createElement(chakraComponents.Option, __spreadValues$W({}, props)),
5390
- MultiValueContainer: (props) => props.selectProps.customTag ? /* @__PURE__ */ React.createElement(chakraComponents.MultiValueContainer, __spreadValues$W({}, props), props.selectProps.customTag(props.data)) : /* @__PURE__ */ React.createElement(chakraComponents.MultiValueContainer, __spreadValues$W({}, props))
5391
- }, control);
5392
5416
  }
5393
5417
 
5394
5418
  var __defProp$V = Object.defineProperty;
@@ -5469,7 +5493,10 @@ const SearchBar = forwardRef$1(
5469
5493
  isMulti,
5470
5494
  value: is(Array, value) ? value : []
5471
5495
  });
5472
- const customComponents = getComponents({ defaultControl: true });
5496
+ const customComponents = useMemo(
5497
+ () => getComponents(),
5498
+ []
5499
+ );
5473
5500
  const simpleFilter = (query) => filter(
5474
5501
  (option) => test(new RegExp(toLower(query), "g"), toLower(option.label)),
5475
5502
  defaultOptions
@@ -9428,7 +9455,8 @@ const Avatar = {
9428
9455
  height: sizing.avatar["2xs"]
9429
9456
  },
9430
9457
  text: {
9431
- lineHeight: sizing.avatar["2xs"]
9458
+ lineHeight: sizing.avatar["2xs"],
9459
+ fontSize: "3xs"
9432
9460
  }
9433
9461
  }),
9434
9462
  xs: ({ theme: { sizes: sizing } }) => ({
@@ -9437,7 +9465,8 @@ const Avatar = {
9437
9465
  height: sizing.avatar.xs
9438
9466
  },
9439
9467
  text: {
9440
- lineHeight: sizing.avatar.xs
9468
+ lineHeight: sizing.avatar.xs,
9469
+ fontSize: "xs"
9441
9470
  }
9442
9471
  }),
9443
9472
  sm: ({ theme: { sizes: sizing } }) => ({
@@ -9446,7 +9475,8 @@ const Avatar = {
9446
9475
  height: sizing.avatar.sm
9447
9476
  },
9448
9477
  text: {
9449
- lineHeight: sizing.avatar.sm
9478
+ lineHeight: sizing.avatar.sm,
9479
+ fontSize: "sm"
9450
9480
  },
9451
9481
  icon: {
9452
9482
  boxSize: sizing.avatar.sm
@@ -9458,7 +9488,8 @@ const Avatar = {
9458
9488
  height: sizing.avatar.md
9459
9489
  },
9460
9490
  text: {
9461
- lineHeight: sizing.avatar.md
9491
+ lineHeight: sizing.avatar.md,
9492
+ fontSize: "md"
9462
9493
  },
9463
9494
  icon: {
9464
9495
  boxSize: sizing.avatar.md
@@ -9470,7 +9501,8 @@ const Avatar = {
9470
9501
  height: sizing.avatar.lg
9471
9502
  },
9472
9503
  text: {
9473
- lineHeight: sizing.avatar.lg
9504
+ lineHeight: sizing.avatar.lg,
9505
+ fontSize: "lg"
9474
9506
  },
9475
9507
  icon: {
9476
9508
  boxSize: sizing.avatar.lg
@@ -9482,7 +9514,8 @@ const Avatar = {
9482
9514
  height: sizing.avatar.xl
9483
9515
  },
9484
9516
  text: {
9485
- lineHeight: sizing.avatar.xl
9517
+ lineHeight: sizing.avatar.xl,
9518
+ fontSize: "2xl"
9486
9519
  }
9487
9520
  }),
9488
9521
  "2xl": ({ theme: { sizes: sizing } }) => ({
@@ -9491,7 +9524,8 @@ const Avatar = {
9491
9524
  height: sizing.avatar["2xl"]
9492
9525
  },
9493
9526
  text: {
9494
- lineHeight: sizing.avatar["2xl"]
9527
+ lineHeight: sizing.avatar["2xl"],
9528
+ fontSize: "4xl"
9495
9529
  }
9496
9530
  })
9497
9531
  },
@@ -10398,6 +10432,32 @@ const FilePicker = {
10398
10432
  })
10399
10433
  };
10400
10434
 
10435
+ const Table = {
10436
+ parts: ["table", "th", "td"],
10437
+ variants: {
10438
+ rounded: () => ({
10439
+ table: {
10440
+ borderSpacing: "0",
10441
+ borderCollapse: "separate",
10442
+ borderRadius: "st.border.radius.md",
10443
+ borderColor: "border.default",
10444
+ borderWidth: "st.border.width.xs",
10445
+ px: "3"
10446
+ },
10447
+ th: {
10448
+ color: "text.subdued",
10449
+ fontWeight: "bold",
10450
+ textTransform: "none",
10451
+ fontSize: "sm"
10452
+ },
10453
+ td: {
10454
+ borderColor: "border.default",
10455
+ borderTopWidth: "st.border.width.xs"
10456
+ }
10457
+ })
10458
+ }
10459
+ };
10460
+
10401
10461
  var components = /*#__PURE__*/Object.freeze({
10402
10462
  __proto__: null,
10403
10463
  Alert: Alert,
@@ -10443,6 +10503,7 @@ var components = /*#__PURE__*/Object.freeze({
10443
10503
  Step: Step$1,
10444
10504
  StepList: StepList$1,
10445
10505
  Switch: Switch$1,
10506
+ Table: Table,
10446
10507
  Tabs: Tabs$1,
10447
10508
  Tag: Tag,
10448
10509
  Textarea: Textarea$1,
@@ -10613,6 +10674,7 @@ const NumberInput = (_a) => {
10613
10674
  size = "md",
10614
10675
  onChange = identity,
10615
10676
  onInputChange = identity,
10677
+ enableStepperArrows = false,
10616
10678
  name,
10617
10679
  onlyAcceptPercentage = false
10618
10680
  } = _b, rest = __objRest$k(_b, [
@@ -10620,6 +10682,7 @@ const NumberInput = (_a) => {
10620
10682
  "size",
10621
10683
  "onChange",
10622
10684
  "onInputChange",
10685
+ "enableStepperArrows",
10623
10686
  "name",
10624
10687
  "onlyAcceptPercentage"
10625
10688
  ]);
@@ -10643,7 +10706,7 @@ const NumberInput = (_a) => {
10643
10706
  id: name
10644
10707
  }, percentageProps), rest),
10645
10708
  /* @__PURE__ */ React.createElement(NumberInputField$1, { onChange: handleChange }),
10646
- /* @__PURE__ */ React.createElement(NumberInputStepper, { includePercentage: onlyAcceptPercentage })
10709
+ enableStepperArrows && /* @__PURE__ */ React.createElement(NumberInputStepper, { includePercentage: onlyAcceptPercentage })
10647
10710
  );
10648
10711
  };
10649
10712
 
@@ -10930,7 +10993,7 @@ var __objRest$g = (source, exclude) => {
10930
10993
  }
10931
10994
  return target;
10932
10995
  };
10933
- function Select(_a) {
10996
+ const Select = forwardRef$1((_a, ref) => {
10934
10997
  var _b = _a, {
10935
10998
  options,
10936
10999
  isMulti,
@@ -10966,7 +11029,10 @@ function Select(_a) {
10966
11029
  isMulti,
10967
11030
  value: is(Array, value) ? value : []
10968
11031
  });
10969
- const customComponents = getComponents({ defaultControl: false });
11032
+ const customComponents = useMemo(
11033
+ () => getComponents(),
11034
+ []
11035
+ );
10970
11036
  const prevOptions = useRef(
10971
11037
  options
10972
11038
  );
@@ -10994,10 +11060,11 @@ function Select(_a) {
10994
11060
  customOption,
10995
11061
  customTag,
10996
11062
  icon,
10997
- components: customComponents
11063
+ components: customComponents,
11064
+ ref
10998
11065
  }), rest)
10999
11066
  ));
11000
- }
11067
+ });
11001
11068
 
11002
11069
  var __defProp$k = Object.defineProperty;
11003
11070
  var __getOwnPropSymbols$k = Object.getOwnPropertySymbols;
@@ -12230,5 +12297,5 @@ const StepStack = (_a) => {
12230
12297
  ));
12231
12298
  };
12232
12299
 
12233
- export { Accordion, AccordionButton, AccordionItem, AccordionPanel, Alert$1 as Alert, AspectRatio, AsyncError, Avatar$1 as Avatar, AvatarGroup, Badge, Blinker$1 as Blinker, Blockquote$1 as Blockquote, Button$1 as Button, Capitalized$1 as Capitalized, Carousel$1 as Carousel, Checkbox$1 as Checkbox, CheckboxField, Clickable, ClipboardInput, Collapse, ColorPicker$1 as ColorPicker, ColorPickerField, CustomTheme, DatePicker$1 as DatePicker, DatePickerField, DateRangePicker, DateRangePickerField, DragAndDrop$1 as DragAndDrop, DragHandle, DragItem, Draggable, DropZone, Droppable, EditableText$1 as EditableText, Fade, FastGrid, FastList, Field, FilePicker$1 as FilePicker, FilePickerField, FlipButton$1 as FlipButton, FlipButtonGroup, FlipButtonGroupField, Form, FormLabel, FormattedNumberInput, H1$1 as H1, H2$1 as H2, H3$1 as H3, H4$1 as H4, H5$1 as H5, H6$1 as H6, Icon$1 as Icon, IconButton, Label$1 as Label, Lead$1 as Lead, MaskedTextInput, MediatoolThemeProvider, Modal$1 as Modal, ModalBase, MultiFileList, MultiFilePicker, MultiFilePickerField, MultiFileUploader, MultiSort, NotificationIconButton, NumberInput, NumberInputField, OrganizationLogo, OverflowGroup, P$1 as P, PaneDivider, PaneItem, PinInput, ProgressBar, Radio$1 as Radio, RadioGroup, RadioGroupField, ScaleFade, SearchBar, SearchBarField, Select, SelectField, Slide, SlideFade, Small$1 as Small, Sortable, SortableContainer, SortableItem, SortableList, Spinner$1 as Spinner, SplitPane, StatusBlock, StatusPin, Step, StepList, StepPanel, StepStack, Steps, Switch, SwitchField, TabPanel, Tabs, Tag$1 as Tag, TagGroup, TextField, Textarea, TextareaField, Tiny$1 as Tiny, Toast, Toolbox$1 as Toolbox, ToolboxContent, ToolboxFooter, ToolboxHeader, addAlpha, advancedParseFloat, createDebounceFunctionInstance, getChildrenWithProps, getContrastColor, getFieldError, getInitials, getShades, highlight, luminosity, ring, statusIconMap, theme, tottTheme, trimFormValues, useArrowFocus, useCurrentTheme, useDebounce, useLoadingMessage, useOutsideRectClick, useOverflowGroup, useScreenSize, useScrollToBottom, useSelectCallbacks, useSetValueRefreshed, useToast };
12300
+ export { Accordion, AccordionButton, AccordionItem, AccordionPanel, Alert$1 as Alert, AspectRatio, AsyncError, Avatar$1 as Avatar, AvatarGroup, Badge, Blinker$1 as Blinker, Blockquote$1 as Blockquote, Button$1 as Button, Capitalized$1 as Capitalized, Carousel$1 as Carousel, Checkbox$1 as Checkbox, CheckboxField, Clickable, ClipboardInput, Collapse, ColorPicker$1 as ColorPicker, ColorPickerField, CustomTheme, DatePicker$1 as DatePicker, DatePickerField, DateRangePicker, DateRangePickerField, DragAndDrop$1 as DragAndDrop, DragHandle, DragItem, Draggable, DropZone, Droppable, EditableText$1 as EditableText, Fade, FastGrid, FastList, Field, FilePicker$1 as FilePicker, FilePickerField, FlipButton$1 as FlipButton, FlipButtonGroup, FlipButtonGroupField, Form, FormLabel, FormattedNumberInput, H1$1 as H1, H2$1 as H2, H3$1 as H3, H4$1 as H4, H5$1 as H5, H6$1 as H6, Icon$1 as Icon, IconButton, Label$1 as Label, Lead$1 as Lead, MaskedTextInput, MediatoolThemeProvider, Modal$1 as Modal, ModalBase, MultiFileList, MultiFilePicker, MultiFilePickerField, MultiFileUploader, MultiSort, NotificationIconButton, NumberInput, NumberInputField, OrganizationLogo, OverflowGroup, P$1 as P, PaneDivider, PaneItem, PinInput, ProgressBar, Radio$1 as Radio, RadioGroup, RadioGroupField, ScaleFade, SearchBar, SearchBarField, Select, SelectField, Slide, SlideFade, Small$1 as Small, Sortable, SortableContainer, SortableItem, SortableList, Spinner$1 as Spinner, SplitPane, StatusBlock, StatusPin, Step, StepList, StepPanel, StepStack, Steps, Switch, SwitchField, TabPanel, Table$1 as Table, Tabs, Tag$1 as Tag, TagGroup, TextField, Textarea, TextareaField, Tiny$1 as Tiny, Toast, Toolbox$1 as Toolbox, ToolboxContent, ToolboxFooter, ToolboxHeader, addAlpha, advancedParseFloat, createDebounceFunctionInstance, getChildrenWithProps, getContrastColor, getFieldError, getInitials, getShades, highlight, luminosity, ring, statusIconMap, theme, tottTheme, trimFormValues, useArrowFocus, useCurrentTheme, useDebounce, useDidUpdateEffect, useLoadingMessage, useOutsideRectClick, useOverflowGroup, useScreenSize, useScrollToBottom, useSelectCallbacks, useSetValueRefreshed, useToast };
12234
12301
  //# sourceMappingURL=northlight.mjs.map