@strapi/design-system 1.3.0-beta.3 → 1.4.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +20 -0
- package/dist/Accordion/Accordion.cjs +23 -0
- package/dist/Accordion/Accordion.js +88 -0
- package/dist/Accordion/AccordionContent.cjs +1 -0
- package/dist/Accordion/AccordionContent.js +23 -0
- package/dist/Accordion/AccordionContext.cjs +1 -0
- package/dist/Accordion/AccordionContext.js +6 -0
- package/dist/Accordion/AccordionGroup.cjs +47 -0
- package/dist/Accordion/AccordionGroup.js +91 -0
- package/dist/Accordion/AccordionToggle.cjs +28 -0
- package/dist/Accordion/AccordionToggle.js +127 -0
- package/dist/Accordion/index.cjs +1 -0
- package/dist/Accordion/index.js +11 -0
- package/dist/Accordion/utils.cjs +1 -0
- package/dist/Accordion/utils.js +7 -0
- package/dist/Alert/Alert.cjs +35 -0
- package/dist/Alert/Alert.js +111 -0
- package/dist/Alert/index.cjs +1 -0
- package/dist/Alert/index.js +4 -0
- package/dist/Alert/utils.cjs +1 -0
- package/dist/Alert/utils.js +6 -0
- package/dist/Avatar/Avatar.cjs +29 -0
- package/dist/Avatar/Avatar.js +80 -0
- package/dist/Avatar/AvatarGroup.cjs +5 -0
- package/dist/Avatar/AvatarGroup.js +11 -0
- package/dist/Avatar/constants.cjs +1 -0
- package/dist/Avatar/constants.js +5 -0
- package/dist/Avatar/index.cjs +1 -0
- package/dist/Avatar/index.js +7 -0
- package/dist/Badge/Badge.cjs +1 -0
- package/dist/Badge/Badge.js +33 -0
- package/dist/Badge/index.cjs +1 -0
- package/dist/Badge/index.js +4 -0
- package/dist/BaseButton/BaseButton.cjs +23 -0
- package/dist/BaseButton/BaseButton.js +45 -0
- package/dist/BaseButton/index.cjs +1 -0
- package/dist/BaseButton/index.js +5 -0
- package/dist/BaseCheckbox/BaseCheckbox.cjs +62 -0
- package/dist/BaseCheckbox/BaseCheckbox.js +105 -0
- package/dist/BaseCheckbox/assets/checkmark-black.cjs +1 -0
- package/dist/BaseCheckbox/assets/checkmark-black.js +4 -0
- package/dist/BaseCheckbox/assets/checkmark.cjs +1 -0
- package/dist/BaseCheckbox/assets/checkmark.js +4 -0
- package/dist/BaseCheckbox/index.cjs +1 -0
- package/dist/BaseCheckbox/index.js +4 -0
- package/dist/BaseCheckbox/utils.cjs +1 -0
- package/dist/BaseCheckbox/utils.js +4 -0
- package/dist/BaseLink/BaseLink.cjs +3 -0
- package/dist/BaseLink/BaseLink.js +31 -0
- package/dist/BaseLink/index.cjs +1 -0
- package/dist/BaseLink/index.js +4 -0
- package/dist/BaseRadio/BaseRadio.cjs +31 -0
- package/dist/BaseRadio/BaseRadio.js +62 -0
- package/dist/BaseRadio/RadioGroup.cjs +1 -0
- package/dist/BaseRadio/RadioGroup.js +32 -0
- package/dist/BaseRadio/context.cjs +1 -0
- package/dist/BaseRadio/context.js +6 -0
- package/dist/BaseRadio/index.cjs +1 -0
- package/dist/BaseRadio/index.js +6 -0
- package/dist/BaseRadio/utils.cjs +1 -0
- package/dist/BaseRadio/utils.js +6 -0
- package/dist/Box/Box.cjs +80 -0
- package/dist/Box/Box.js +95 -0
- package/dist/Box/BoxProps.cjs +1 -0
- package/dist/Box/BoxProps.js +51 -0
- package/dist/Box/index.cjs +1 -0
- package/dist/Box/index.js +4 -0
- package/dist/Breadcrumbs/Breadcrumbs.cjs +16 -0
- package/dist/Breadcrumbs/Breadcrumbs.js +52 -0
- package/dist/Breadcrumbs/index.cjs +1 -0
- package/dist/Breadcrumbs/index.js +5 -0
- package/dist/Button/Button.cjs +48 -0
- package/dist/Button/Button.js +109 -0
- package/dist/Button/constants.cjs +1 -0
- package/dist/Button/constants.js +14 -0
- package/dist/Button/index.cjs +1 -0
- package/dist/Button/index.js +5 -0
- package/dist/Button/utils.cjs +87 -0
- package/dist/Button/utils.js +112 -0
- package/dist/Card/Card.cjs +1 -0
- package/dist/Card/Card.js +32 -0
- package/dist/Card/CardAction.cjs +6 -0
- package/dist/Card/CardAction.js +14 -0
- package/dist/Card/CardAsset.cjs +19 -0
- package/dist/Card/CardAsset.js +42 -0
- package/dist/Card/CardBadge.cjs +6 -0
- package/dist/Card/CardBadge.js +14 -0
- package/dist/Card/CardBody.cjs +1 -0
- package/dist/Card/CardBody.js +15 -0
- package/dist/Card/CardCheckbox.cjs +1 -0
- package/dist/Card/CardCheckbox.js +16 -0
- package/dist/Card/CardContent.cjs +3 -0
- package/dist/Card/CardContent.js +15 -0
- package/dist/Card/CardContext.cjs +1 -0
- package/dist/Card/CardContext.js +6 -0
- package/dist/Card/CardHeader.cjs +4 -0
- package/dist/Card/CardHeader.js +13 -0
- package/dist/Card/CardTimer.cjs +5 -0
- package/dist/Card/CardTimer.js +26 -0
- package/dist/Card/CardTitle.cjs +1 -0
- package/dist/Card/CardTitle.js +23 -0
- package/dist/Card/index.cjs +1 -0
- package/dist/Card/index.js +23 -0
- package/dist/CarouselInput/Carousel.cjs +14 -0
- package/dist/CarouselInput/Carousel.js +131 -0
- package/dist/CarouselInput/CarouselActions.cjs +1 -0
- package/dist/CarouselInput/CarouselActions.js +14 -0
- package/dist/CarouselInput/CarouselImage.cjs +4 -0
- package/dist/CarouselInput/CarouselImage.js +35 -0
- package/dist/CarouselInput/CarouselInput.cjs +1 -0
- package/dist/CarouselInput/CarouselInput.js +79 -0
- package/dist/CarouselInput/CarouselSlide.cjs +3 -0
- package/dist/CarouselInput/CarouselSlide.js +26 -0
- package/dist/CarouselInput/index.cjs +1 -0
- package/dist/CarouselInput/index.js +12 -0
- package/dist/Checkbox/Checkbox.cjs +7 -0
- package/dist/Checkbox/Checkbox.js +64 -0
- package/dist/Checkbox/index.cjs +1 -0
- package/dist/Checkbox/index.js +4 -0
- package/dist/Combobox/Combobox.cjs +1 -0
- package/dist/Combobox/Combobox.js +285 -0
- package/dist/Combobox/ComboboxList.cjs +1 -0
- package/dist/Combobox/ComboboxList.js +15 -0
- package/dist/Combobox/ComboboxOption.cjs +1 -0
- package/dist/Combobox/ComboboxOption.js +30 -0
- package/dist/Combobox/components.cjs +53 -0
- package/dist/Combobox/components.js +64 -0
- package/dist/Combobox/index.cjs +1 -0
- package/dist/Combobox/index.js +7 -0
- package/dist/Combobox/utils.cjs +1 -0
- package/dist/Combobox/utils.js +78 -0
- package/dist/DatePicker/DatePicker.cjs +1 -0
- package/dist/DatePicker/DatePicker.js +104 -0
- package/dist/DatePicker/DatePickerCalendar.cjs +1 -0
- package/dist/DatePicker/DatePickerCalendar.js +102 -0
- package/dist/DatePicker/DatePickerTd.cjs +19 -0
- package/dist/DatePicker/DatePickerTd.js +55 -0
- package/dist/DatePicker/DatePickerTh.cjs +9 -0
- package/dist/DatePicker/DatePickerTh.js +35 -0
- package/dist/DatePicker/compareDates.cjs +1 -0
- package/dist/DatePicker/compareDates.js +4 -0
- package/dist/DatePicker/components.cjs +31 -0
- package/dist/DatePicker/components.js +41 -0
- package/dist/DatePicker/index.cjs +1 -0
- package/dist/DatePicker/index.js +4 -0
- package/dist/DatePicker/utils/formatDate.cjs +1 -0
- package/dist/DatePicker/utils/formatDate.js +4 -0
- package/dist/DatePicker/utils/generateWeeks.cjs +1 -0
- package/dist/DatePicker/utils/generateWeeks.js +17 -0
- package/dist/DatePicker/utils/getDayOfWeek.cjs +1 -0
- package/dist/DatePicker/utils/getDayOfWeek.js +15 -0
- package/dist/DatePicker/utils/getMonths.cjs +1 -0
- package/dist/DatePicker/utils/getMonths.js +7 -0
- package/dist/DatePicker/utils/getYears.cjs +1 -0
- package/dist/DatePicker/utils/getYears.js +9 -0
- package/dist/DatePicker/utils/index.cjs +1 -0
- package/dist/DatePicker/utils/index.js +12 -0
- package/dist/DateTimePicker/DateTimePicker.cjs +1 -0
- package/dist/DateTimePicker/DateTimePicker.js +108 -0
- package/dist/DateTimePicker/DateTimePickerProps.cjs +1 -0
- package/dist/DateTimePicker/DateTimePickerProps.js +42 -0
- package/dist/DateTimePicker/__tests__/parseDate.test.cjs +1 -0
- package/dist/DateTimePicker/__tests__/parseDate.test.js +8 -0
- package/dist/DateTimePicker/index.cjs +1 -0
- package/dist/DateTimePicker/index.js +4 -0
- package/dist/DateTimePicker/parseDate.cjs +1 -0
- package/dist/DateTimePicker/parseDate.js +7 -0
- package/dist/Dialog/Dialog.cjs +14 -0
- package/dist/Dialog/Dialog.js +66 -0
- package/dist/Dialog/DialogBody.cjs +10 -0
- package/dist/Dialog/DialogBody.js +32 -0
- package/dist/Dialog/DialogFooter.cjs +9 -0
- package/dist/Dialog/DialogFooter.js +31 -0
- package/dist/Dialog/index.cjs +1 -0
- package/dist/Dialog/index.js +8 -0
- package/dist/DismissibleLayer/DismissibleLayer.cjs +1 -0
- package/dist/DismissibleLayer/DismissibleLayer.js +38 -0
- package/dist/DismissibleLayer/index.cjs +1 -0
- package/dist/DismissibleLayer/index.js +4 -0
- package/dist/Divider/Divider.cjs +5 -0
- package/dist/Divider/Divider.js +24 -0
- package/dist/Divider/index.cjs +1 -0
- package/dist/Divider/index.js +4 -0
- package/dist/EmptyStateLayout/EmptyStateLayout.cjs +10 -0
- package/dist/EmptyStateLayout/EmptyStateLayout.js +44 -0
- package/dist/EmptyStateLayout/index.cjs +1 -0
- package/dist/EmptyStateLayout/index.js +4 -0
- package/dist/EmptyStateLayout/story-assets/Illo.cjs +1 -0
- package/dist/EmptyStateLayout/story-assets/Illo.js +49 -0
- package/dist/Field/Field.cjs +1 -0
- package/dist/Field/Field.js +28 -0
- package/dist/Field/FieldAction.cjs +10 -0
- package/dist/Field/FieldAction.js +24 -0
- package/dist/Field/FieldContext.cjs +1 -0
- package/dist/Field/FieldContext.js +6 -0
- package/dist/Field/FieldError.cjs +1 -0
- package/dist/Field/FieldError.js +16 -0
- package/dist/Field/FieldHint.cjs +1 -0
- package/dist/Field/FieldHint.js +15 -0
- package/dist/Field/FieldInput.cjs +43 -0
- package/dist/Field/FieldInput.js +105 -0
- package/dist/Field/FieldLabel.cjs +9 -0
- package/dist/Field/FieldLabel.js +44 -0
- package/dist/Field/index.cjs +1 -0
- package/dist/Field/index.js +18 -0
- package/dist/Flex/Flex.cjs +9 -0
- package/dist/Flex/Flex.js +22 -0
- package/dist/Flex/FlexProps.cjs +1 -0
- package/dist/Flex/FlexProps.js +40 -0
- package/dist/Flex/index.cjs +1 -0
- package/dist/Flex/index.js +4 -0
- package/dist/FocusTrap/ExampleComponent.cjs +1 -0
- package/dist/FocusTrap/ExampleComponent.js +70 -0
- package/dist/FocusTrap/FocusTrap.cjs +1 -0
- package/dist/FocusTrap/FocusTrap.js +48 -0
- package/dist/FocusTrap/index.cjs +1 -0
- package/dist/FocusTrap/index.js +4 -0
- package/dist/Grid/Grid.cjs +5 -0
- package/dist/Grid/Grid.js +28 -0
- package/dist/Grid/GridContext.cjs +1 -0
- package/dist/Grid/GridContext.js +6 -0
- package/dist/Grid/GridItem.cjs +12 -0
- package/dist/Grid/GridItem.js +41 -0
- package/dist/Grid/index.cjs +1 -0
- package/dist/Grid/index.js +6 -0
- package/dist/Icon/Icon.cjs +6 -0
- package/dist/Icon/Icon.js +26 -0
- package/dist/Icon/index.cjs +1 -0
- package/dist/Icon/index.js +4 -0
- package/dist/IconButton/IconButton.cjs +86 -0
- package/dist/IconButton/IconButton.js +149 -0
- package/dist/IconButton/index.cjs +1 -0
- package/dist/IconButton/index.js +5 -0
- package/dist/KeyboardNavigable/KeyboardNavigable.cjs +1 -0
- package/dist/KeyboardNavigable/KeyboardNavigable.js +58 -0
- package/dist/KeyboardNavigable/index.cjs +1 -0
- package/dist/KeyboardNavigable/index.js +4 -0
- package/dist/Layout/ActionLayout.cjs +9 -0
- package/dist/Layout/ActionLayout.js +37 -0
- package/dist/Layout/ContentLayout.cjs +1 -0
- package/dist/Layout/ContentLayout.js +13 -0
- package/dist/Layout/GridLayout.cjs +5 -0
- package/dist/Layout/GridLayout.js +13 -0
- package/dist/Layout/HeaderLayout.cjs +8 -0
- package/dist/Layout/HeaderLayout.js +132 -0
- package/dist/Layout/Layout.cjs +6 -0
- package/dist/Layout/Layout.js +24 -0
- package/dist/Layout/TwoColsLayout.cjs +1 -0
- package/dist/Layout/TwoColsLayout.js +29 -0
- package/dist/Layout/index.cjs +1 -0
- package/dist/Layout/index.js +15 -0
- package/dist/Link/Link.cjs +33 -0
- package/dist/Link/Link.js +87 -0
- package/dist/Link/index.cjs +1 -0
- package/dist/Link/index.js +4 -0
- package/dist/LinkButton/LinkButton.cjs +32 -0
- package/dist/LinkButton/LinkButton.js +99 -0
- package/dist/LinkButton/index.cjs +1 -0
- package/dist/LinkButton/index.js +4 -0
- package/dist/LiveRegions/LiveRegions.cjs +1 -0
- package/dist/LiveRegions/LiveRegions.js +22 -0
- package/dist/LiveRegions/StoryComponent.cjs +1 -0
- package/dist/LiveRegions/StoryComponent.js +18 -0
- package/dist/LiveRegions/constants.cjs +1 -0
- package/dist/LiveRegions/constants.js +8 -0
- package/dist/LiveRegions/index.cjs +1 -0
- package/dist/LiveRegions/index.js +4 -0
- package/dist/LiveRegions/useNotifyAT.cjs +1 -0
- package/dist/LiveRegions/useNotifyAT.js +17 -0
- package/dist/Loader/Loader.cjs +12 -0
- package/dist/Loader/Loader.js +37 -0
- package/dist/Loader/assets/loader.cjs +1 -0
- package/dist/Loader/assets/loader.js +4 -0
- package/dist/Loader/index.cjs +1 -0
- package/dist/Loader/index.js +4 -0
- package/dist/Main/Main.cjs +6 -0
- package/dist/Main/Main.js +26 -0
- package/dist/Main/SkipToContent.cjs +12 -0
- package/dist/Main/SkipToContent.js +29 -0
- package/dist/Main/index.cjs +1 -0
- package/dist/Main/index.js +6 -0
- package/dist/MainNav/MainNav.cjs +9 -0
- package/dist/MainNav/MainNav.js +30 -0
- package/dist/MainNav/MainNavContext.cjs +1 -0
- package/dist/MainNav/MainNavContext.js +6 -0
- package/dist/MainNav/NavBrand.cjs +12 -0
- package/dist/MainNav/NavBrand.js +67 -0
- package/dist/MainNav/NavCondense.cjs +20 -0
- package/dist/MainNav/NavCondense.js +45 -0
- package/dist/MainNav/NavLink.cjs +69 -0
- package/dist/MainNav/NavLink.js +119 -0
- package/dist/MainNav/NavSection.cjs +1 -0
- package/dist/MainNav/NavSection.js +49 -0
- package/dist/MainNav/NavSections.cjs +1 -0
- package/dist/MainNav/NavSections.js +21 -0
- package/dist/MainNav/NavUser.cjs +7 -0
- package/dist/MainNav/NavUser.js +54 -0
- package/dist/MainNav/index.cjs +1 -0
- package/dist/MainNav/index.js +16 -0
- package/dist/ModalLayout/ModalBody.cjs +4 -0
- package/dist/ModalLayout/ModalBody.js +13 -0
- package/dist/ModalLayout/ModalContext.cjs +1 -0
- package/dist/ModalLayout/ModalContext.js +6 -0
- package/dist/ModalLayout/ModalFooter.cjs +8 -0
- package/dist/ModalLayout/ModalFooter.js +32 -0
- package/dist/ModalLayout/ModalHeader.cjs +4 -0
- package/dist/ModalLayout/ModalHeader.js +37 -0
- package/dist/ModalLayout/ModalLayout.cjs +12 -0
- package/dist/ModalLayout/ModalLayout.js +42 -0
- package/dist/ModalLayout/index.cjs +1 -0
- package/dist/ModalLayout/index.js +10 -0
- package/dist/NumberInput/NumberInput.cjs +12 -0
- package/dist/NumberInput/NumberInput.js +179 -0
- package/dist/NumberInput/index.cjs +1 -0
- package/dist/NumberInput/index.js +4 -0
- package/dist/Pagination/Pagination.cjs +5 -0
- package/dist/Pagination/Pagination.js +30 -0
- package/dist/Pagination/PaginationContext.cjs +1 -0
- package/dist/Pagination/PaginationContext.js +6 -0
- package/dist/Pagination/assets/next.cjs +1 -0
- package/dist/Pagination/assets/next.js +4 -0
- package/dist/Pagination/assets/previous.cjs +1 -0
- package/dist/Pagination/assets/previous.js +4 -0
- package/dist/Pagination/components.cjs +36 -0
- package/dist/Pagination/components.js +111 -0
- package/dist/Pagination/index.cjs +1 -0
- package/dist/Pagination/index.js +9 -0
- package/dist/Popover/Popover.cjs +26 -0
- package/dist/Popover/Popover.js +122 -0
- package/dist/Popover/index.cjs +1 -0
- package/dist/Popover/index.js +5 -0
- package/dist/Portal/Portal.cjs +1 -0
- package/dist/Portal/Portal.js +15 -0
- package/dist/Portal/index.cjs +1 -0
- package/dist/Portal/index.js +4 -0
- package/dist/ProgressBar/ProgressBar.cjs +11 -0
- package/dist/ProgressBar/ProgressBar.js +44 -0
- package/dist/ProgressBar/index.cjs +1 -0
- package/dist/ProgressBar/index.js +4 -0
- package/dist/Radio/Radio.cjs +4 -0
- package/dist/Radio/Radio.js +24 -0
- package/dist/Radio/index.cjs +1 -0
- package/dist/Radio/index.js +6 -0
- package/dist/RawTable/RawCell.cjs +1 -0
- package/dist/RawTable/RawCell.js +80 -0
- package/dist/RawTable/RawTable.cjs +1 -0
- package/dist/RawTable/RawTable.js +73 -0
- package/dist/RawTable/RawTableContext.cjs +1 -0
- package/dist/RawTable/RawTableContext.js +12 -0
- package/dist/RawTable/RawTbody.cjs +1 -0
- package/dist/RawTable/RawTbody.js +16 -0
- package/dist/RawTable/RawThead.cjs +1 -0
- package/dist/RawTable/RawThead.js +14 -0
- package/dist/RawTable/RawTr.cjs +1 -0
- package/dist/RawTable/RawTr.js +19 -0
- package/dist/RawTable/focusFocusable.cjs +1 -0
- package/dist/RawTable/focusFocusable.js +7 -0
- package/dist/RawTable/index.cjs +1 -0
- package/dist/RawTable/index.js +13 -0
- package/dist/Searchbar/SearchForm.cjs +1 -0
- package/dist/Searchbar/SearchForm.js +8 -0
- package/dist/Searchbar/Searchbar.cjs +29 -0
- package/dist/Searchbar/Searchbar.js +79 -0
- package/dist/Searchbar/index.cjs +1 -0
- package/dist/Searchbar/index.js +6 -0
- package/dist/Select/MultiSelectNested.cjs +1 -0
- package/dist/Select/MultiSelectNested.js +26 -0
- package/dist/Select/OptGroup.cjs +1 -0
- package/dist/Select/OptGroup.js +20 -0
- package/dist/Select/Option.cjs +49 -0
- package/dist/Select/Option.js +104 -0
- package/dist/Select/Select.cjs +3 -0
- package/dist/Select/Select.js +232 -0
- package/dist/Select/SelectButton.cjs +19 -0
- package/dist/Select/SelectButton.js +64 -0
- package/dist/Select/SelectList.cjs +1 -0
- package/dist/Select/SelectList.js +81 -0
- package/dist/Select/SelectTags.cjs +8 -0
- package/dist/Select/SelectTags.js +36 -0
- package/dist/Select/components.cjs +39 -0
- package/dist/Select/components.js +48 -0
- package/dist/Select/constants.cjs +1 -0
- package/dist/Select/constants.js +8 -0
- package/dist/Select/hooks/useButtonRef.cjs +1 -0
- package/dist/Select/hooks/useButtonRef.js +13 -0
- package/dist/Select/hooks/useListRef.cjs +1 -0
- package/dist/Select/hooks/useListRef.js +18 -0
- package/dist/Select/index.cjs +1 -0
- package/dist/Select/index.js +12 -0
- package/dist/Select/utils.cjs +1 -0
- package/dist/Select/utils.js +17 -0
- package/dist/SimpleMenu/SimpleMenu.cjs +19 -0
- package/dist/SimpleMenu/SimpleMenu.js +164 -0
- package/dist/SimpleMenu/index.cjs +1 -0
- package/dist/SimpleMenu/index.js +5 -0
- package/dist/SimpleMenu/utils.cjs +12 -0
- package/dist/SimpleMenu/utils.js +15 -0
- package/dist/Stack/Stack.cjs +19 -0
- package/dist/Stack/Stack.js +55 -0
- package/dist/Stack/index.cjs +1 -0
- package/dist/Stack/index.js +4 -0
- package/dist/Status/Status.cjs +11 -0
- package/dist/Status/Status.js +46 -0
- package/dist/Status/index.cjs +1 -0
- package/dist/Status/index.js +4 -0
- package/dist/SubNav/SubNav.cjs +10 -0
- package/dist/SubNav/SubNav.js +26 -0
- package/dist/SubNav/SubNavHeader.cjs +4 -0
- package/dist/SubNav/SubNavHeader.js +98 -0
- package/dist/SubNav/SubNavLink.cjs +39 -0
- package/dist/SubNav/SubNavLink.js +80 -0
- package/dist/SubNav/SubNavLinkSection.cjs +19 -0
- package/dist/SubNav/SubNavLinkSection.js +68 -0
- package/dist/SubNav/SubNavSection.cjs +8 -0
- package/dist/SubNav/SubNavSection.js +63 -0
- package/dist/SubNav/SubNavSectionLabel.cjs +9 -0
- package/dist/SubNav/SubNavSectionLabel.js +53 -0
- package/dist/SubNav/SubNavSections.cjs +1 -0
- package/dist/SubNav/SubNavSections.js +20 -0
- package/dist/SubNav/index.cjs +1 -0
- package/dist/SubNav/index.js +15 -0
- package/dist/Switch/Switch.cjs +42 -0
- package/dist/Switch/Switch.js +80 -0
- package/dist/Switch/index.cjs +1 -0
- package/dist/Switch/index.js +4 -0
- package/dist/Table/Cell.cjs +17 -0
- package/dist/Table/Cell.js +39 -0
- package/dist/Table/TFooter.cjs +22 -0
- package/dist/Table/TFooter.js +50 -0
- package/dist/Table/Table.cjs +36 -0
- package/dist/Table/Table.js +80 -0
- package/dist/Table/Tbody.cjs +5 -0
- package/dist/Table/Tbody.js +13 -0
- package/dist/Table/Thead.cjs +3 -0
- package/dist/Table/Thead.js +11 -0
- package/dist/Table/Tr.cjs +20 -0
- package/dist/Table/Tr.js +28 -0
- package/dist/Table/index.cjs +1 -0
- package/dist/Table/index.js +15 -0
- package/dist/Tabs/TabGroup.cjs +1 -0
- package/dist/Tabs/TabGroup.js +36 -0
- package/dist/Tabs/TabPanels.cjs +1 -0
- package/dist/Tabs/TabPanels.js +32 -0
- package/dist/Tabs/Tabs.cjs +5 -0
- package/dist/Tabs/Tabs.js +134 -0
- package/dist/Tabs/TabsContext.cjs +1 -0
- package/dist/Tabs/TabsContext.js +6 -0
- package/dist/Tabs/components.cjs +43 -0
- package/dist/Tabs/components.js +52 -0
- package/dist/Tabs/index.cjs +1 -0
- package/dist/Tabs/index.js +10 -0
- package/dist/Tabs/useTabsFocus.cjs +1 -0
- package/dist/Tabs/useTabsFocus.js +16 -0
- package/dist/Tag/Tag.cjs +14 -0
- package/dist/Tag/Tag.js +60 -0
- package/dist/Tag/index.cjs +1 -0
- package/dist/Tag/index.js +4 -0
- package/dist/TextButton/TextButton.cjs +32 -0
- package/dist/TextButton/TextButton.js +82 -0
- package/dist/TextButton/index.cjs +1 -0
- package/dist/TextButton/index.js +4 -0
- package/dist/TextInput/TextInput.cjs +1 -0
- package/dist/TextInput/TextInput.js +69 -0
- package/dist/TextInput/index.cjs +1 -0
- package/dist/TextInput/index.js +4 -0
- package/dist/Textarea/Textarea.cjs +15 -0
- package/dist/Textarea/Textarea.js +74 -0
- package/dist/Textarea/TextareaInput.cjs +30 -0
- package/dist/Textarea/TextareaInput.js +68 -0
- package/dist/Textarea/index.cjs +1 -0
- package/dist/Textarea/index.js +4 -0
- package/dist/ThemeProvider/ThemeProvider.cjs +173 -0
- package/dist/ThemeProvider/ThemeProvider.js +186 -0
- package/dist/ThemeProvider/hooks.cjs +1 -0
- package/dist/ThemeProvider/hooks.js +5 -0
- package/dist/ThemeProvider/index.cjs +1 -0
- package/dist/ThemeProvider/index.js +6 -0
- package/dist/TimePicker/TimePicker.cjs +12 -0
- package/dist/TimePicker/TimePicker.js +104 -0
- package/dist/TimePicker/index.cjs +1 -0
- package/dist/TimePicker/index.js +4 -0
- package/dist/ToggleCheckbox/ToggleCheckbox.cjs +36 -0
- package/dist/ToggleCheckbox/ToggleCheckbox.js +119 -0
- package/dist/ToggleCheckbox/index.cjs +1 -0
- package/dist/ToggleCheckbox/index.js +4 -0
- package/dist/ToggleInput/ToggleInput.cjs +6 -0
- package/dist/ToggleInput/ToggleInput.js +90 -0
- package/dist/ToggleInput/index.cjs +1 -0
- package/dist/ToggleInput/index.js +4 -0
- package/dist/Tooltip/Tooltip.cjs +6 -0
- package/dist/Tooltip/Tooltip.js +60 -0
- package/dist/Tooltip/hooks/useTooltipHandlers.cjs +1 -0
- package/dist/Tooltip/hooks/useTooltipHandlers.js +22 -0
- package/dist/Tooltip/hooks/useTooltipLayout.cjs +1 -0
- package/dist/Tooltip/hooks/useTooltipLayout.js +14 -0
- package/dist/Tooltip/index.cjs +1 -0
- package/dist/Tooltip/index.js +4 -0
- package/dist/Tooltip/utils/positionTooltip.cjs +1 -0
- package/dist/Tooltip/utils/positionTooltip.js +27 -0
- package/dist/Typography/Typography.cjs +13 -0
- package/dist/Typography/Typography.js +26 -0
- package/dist/Typography/TypographyProps.cjs +1 -0
- package/dist/Typography/TypographyProps.js +31 -0
- package/dist/Typography/constants.cjs +1 -0
- package/dist/Typography/constants.js +11 -0
- package/dist/Typography/index.cjs +1 -0
- package/dist/Typography/index.js +4 -0
- package/dist/Typography/utils.cjs +34 -0
- package/dist/Typography/utils.js +59 -0
- package/dist/VisuallyHidden/VisuallyHidden.cjs +10 -0
- package/dist/VisuallyHidden/VisuallyHidden.js +14 -0
- package/dist/VisuallyHidden/index.cjs +1 -0
- package/dist/VisuallyHidden/index.js +4 -0
- package/dist/helpers/escapeSelector.cjs +1 -0
- package/dist/helpers/escapeSelector.js +4 -0
- package/dist/helpers/genId.cjs +1 -0
- package/dist/helpers/genId.js +5 -0
- package/dist/helpers/getDefaultLocale.cjs +1 -0
- package/dist/helpers/getDefaultLocale.js +4 -0
- package/dist/helpers/getFocusableNodes.cjs +1 -0
- package/dist/helpers/getFocusableNodes.js +7 -0
- package/dist/helpers/handleResponsiveValues.cjs +5 -0
- package/dist/helpers/handleResponsiveValues.js +19 -0
- package/dist/helpers/keyboardKeys.cjs +1 -0
- package/dist/helpers/keyboardKeys.js +20 -0
- package/dist/helpers/setOpacity.cjs +1 -0
- package/dist/helpers/setOpacity.js +4 -0
- package/dist/helpers/setTabIndexOnFirstItem.cjs +1 -0
- package/dist/helpers/setTabIndexOnFirstItem.js +7 -0
- package/dist/helpers/useElementOnScreen.cjs +1 -0
- package/dist/helpers/useElementOnScreen.js +15 -0
- package/dist/helpers/useId.cjs +1 -0
- package/dist/helpers/useId.js +6 -0
- package/dist/helpers/useIntersection.cjs +1 -0
- package/dist/helpers/useIntersection.js +21 -0
- package/dist/helpers/useLockScroll.cjs +1 -0
- package/dist/helpers/useLockScroll.js +9 -0
- package/dist/helpers/usePrevious.cjs +1 -0
- package/dist/helpers/usePrevious.js +10 -0
- package/dist/helpers/useResizeObserver.cjs +1 -0
- package/dist/helpers/useResizeObserver.js +14 -0
- package/dist/index.cjs +1 -0
- package/dist/index.js +290 -0
- package/dist/themes/ColorButton.cjs +3 -0
- package/dist/themes/ColorButton.js +25 -0
- package/dist/themes/colors.cjs +1 -0
- package/dist/themes/colors.js +49 -0
- package/dist/themes/common-theme.cjs +1 -0
- package/dist/themes/common-theme.js +21 -0
- package/dist/themes/darkTheme/dark-colors.cjs +1 -0
- package/dist/themes/darkTheme/dark-colors.js +52 -0
- package/dist/themes/darkTheme/dark-shadows.cjs +1 -0
- package/dist/themes/darkTheme/dark-shadows.js +12 -0
- package/dist/themes/darkTheme/index.cjs +1 -0
- package/dist/themes/darkTheme/index.js +11 -0
- package/dist/themes/extendTheme.cjs +13 -0
- package/dist/themes/extendTheme.js +36 -0
- package/dist/themes/index.cjs +1 -0
- package/dist/themes/index.js +12 -0
- package/dist/themes/lightTheme/index.cjs +1 -0
- package/dist/themes/lightTheme/index.js +11 -0
- package/dist/themes/lightTheme/light-colors.cjs +1 -0
- package/dist/themes/lightTheme/light-colors.js +52 -0
- package/dist/themes/lightTheme/light-shadows.cjs +1 -0
- package/dist/themes/lightTheme/light-shadows.js +12 -0
- package/dist/themes/sizes.cjs +1 -0
- package/dist/themes/sizes.js +18 -0
- package/dist/themes/utils.cjs +41 -0
- package/dist/themes/utils.js +46 -0
- package/dist/v2/Breadcrumbs/Breadcrumbs.cjs +9 -0
- package/dist/v2/Breadcrumbs/Breadcrumbs.js +38 -0
- package/dist/v2/Breadcrumbs/Crumb.cjs +1 -0
- package/dist/v2/Breadcrumbs/Crumb.js +27 -0
- package/dist/v2/Breadcrumbs/CrumbLink.cjs +14 -0
- package/dist/v2/Breadcrumbs/CrumbLink.js +31 -0
- package/dist/v2/Breadcrumbs/CrumbSimpleMenu.cjs +8 -0
- package/dist/v2/Breadcrumbs/CrumbSimpleMenu.js +28 -0
- package/dist/v2/Breadcrumbs/Divider.cjs +1 -0
- package/dist/v2/Breadcrumbs/Divider.js +15 -0
- package/dist/v2/Breadcrumbs/index.cjs +1 -0
- package/dist/v2/Breadcrumbs/index.js +10 -0
- package/dist/v2/Link/Link.cjs +23 -0
- package/dist/v2/Link/Link.js +69 -0
- package/dist/v2/Link/index.cjs +1 -0
- package/dist/v2/Link/index.js +4 -0
- package/dist/v2/LinkButton/LinkButton.cjs +33 -0
- package/dist/v2/LinkButton/LinkButton.js +95 -0
- package/dist/v2/LinkButton/index.cjs +1 -0
- package/dist/v2/LinkButton/index.js +4 -0
- package/dist/v2/MainNav/MainNav.cjs +9 -0
- package/dist/v2/MainNav/MainNav.js +30 -0
- package/dist/v2/MainNav/MainNavContext.cjs +1 -0
- package/dist/v2/MainNav/MainNavContext.js +6 -0
- package/dist/v2/MainNav/NavBrand.cjs +12 -0
- package/dist/v2/MainNav/NavBrand.js +68 -0
- package/dist/v2/MainNav/NavCondense.cjs +20 -0
- package/dist/v2/MainNav/NavCondense.js +45 -0
- package/dist/v2/MainNav/NavLink.cjs +69 -0
- package/dist/v2/MainNav/NavLink.js +122 -0
- package/dist/v2/MainNav/NavSection.cjs +1 -0
- package/dist/v2/MainNav/NavSection.js +49 -0
- package/dist/v2/MainNav/NavSections.cjs +1 -0
- package/dist/v2/MainNav/NavSections.js +21 -0
- package/dist/v2/MainNav/NavUser.cjs +7 -0
- package/dist/v2/MainNav/NavUser.js +54 -0
- package/dist/v2/MainNav/index.cjs +1 -0
- package/dist/v2/MainNav/index.js +16 -0
- package/dist/v2/Pagination/Pagination.cjs +5 -0
- package/dist/v2/Pagination/Pagination.js +30 -0
- package/dist/v2/Pagination/PaginationContext.cjs +1 -0
- package/dist/v2/Pagination/PaginationContext.js +6 -0
- package/dist/v2/Pagination/assets/next.cjs +1 -0
- package/dist/v2/Pagination/assets/next.js +4 -0
- package/dist/v2/Pagination/assets/previous.cjs +1 -0
- package/dist/v2/Pagination/assets/previous.js +4 -0
- package/dist/v2/Pagination/components.cjs +36 -0
- package/dist/v2/Pagination/components.js +111 -0
- package/dist/v2/Pagination/index.cjs +1 -0
- package/dist/v2/Pagination/index.js +9 -0
- package/dist/v2/SimpleMenu/SimpleMenu.cjs +19 -0
- package/dist/v2/SimpleMenu/SimpleMenu.js +164 -0
- package/dist/v2/SimpleMenu/index.cjs +1 -0
- package/dist/v2/SimpleMenu/index.js +5 -0
- package/dist/v2/SimpleMenu/utils.cjs +12 -0
- package/dist/v2/SimpleMenu/utils.js +15 -0
- package/dist/v2/SubNav/SubNav.cjs +10 -0
- package/dist/v2/SubNav/SubNav.js +26 -0
- package/dist/v2/SubNav/SubNavHeader.cjs +4 -0
- package/dist/v2/SubNav/SubNavHeader.js +98 -0
- package/dist/v2/SubNav/SubNavLink.cjs +39 -0
- package/dist/v2/SubNav/SubNavLink.js +83 -0
- package/dist/v2/SubNav/SubNavLinkSection.cjs +19 -0
- package/dist/v2/SubNav/SubNavLinkSection.js +68 -0
- package/dist/v2/SubNav/SubNavSection.cjs +8 -0
- package/dist/v2/SubNav/SubNavSection.js +63 -0
- package/dist/v2/SubNav/SubNavSectionLabel.cjs +9 -0
- package/dist/v2/SubNav/SubNavSectionLabel.js +53 -0
- package/dist/v2/SubNav/SubNavSections.cjs +1 -0
- package/dist/v2/SubNav/SubNavSections.js +20 -0
- package/dist/v2/SubNav/index.cjs +1 -0
- package/dist/v2/SubNav/index.js +15 -0
- package/dist/v2/index.cjs +1 -0
- package/dist/v2/index.js +51 -0
- package/package.json +23 -22
- package/Accordion.development.js +0 -775
- package/Accordion.js +0 -9
- package/Accordion.production.js +0 -1
- package/Alert.development.js +0 -562
- package/Alert.js +0 -9
- package/Alert.production.js +0 -1
- package/Avatar.development.js +0 -485
- package/Avatar.js +0 -9
- package/Avatar.production.js +0 -1
- package/Badge.development.js +0 -494
- package/Badge.js +0 -9
- package/Badge.production.js +0 -1
- package/BaseButton.development.js +0 -285
- package/BaseButton.js +0 -9
- package/BaseButton.production.js +0 -1
- package/BaseCheckbox.development.js +0 -434
- package/BaseCheckbox.js +0 -9
- package/BaseCheckbox.production.js +0 -1
- package/BaseLink.development.js +0 -273
- package/BaseLink.js +0 -9
- package/BaseLink.production.js +0 -1
- package/BaseRadio.development.js +0 -321
- package/BaseRadio.js +0 -9
- package/BaseRadio.production.js +0 -1
- package/Box.development.js +0 -341
- package/Box.js +0 -9
- package/Box.production.js +0 -1
- package/Breadcrumbs.development.js +0 -518
- package/Breadcrumbs.js +0 -9
- package/Breadcrumbs.production.js +0 -1
- package/Button.development.js +0 -573
- package/Button.js +0 -9
- package/Button.production.js +0 -1
- package/Card.development.js +0 -746
- package/Card.js +0 -9
- package/Card.production.js +0 -1
- package/CarouselInput.development.js +0 -898
- package/CarouselInput.js +0 -9
- package/CarouselInput.production.js +0 -1
- package/Checkbox.development.js +0 -722
- package/Checkbox.js +0 -9
- package/Checkbox.production.js +0 -1
- package/Combobox.development.js +0 -934
- package/Combobox.js +0 -9
- package/Combobox.production.js +0 -1
- package/DatePicker.development.js +0 -1323
- package/DatePicker.js +0 -9
- package/DatePicker.production.js +0 -1
- package/DateTimePicker.development.js +0 -1622
- package/DateTimePicker.js +0 -9
- package/DateTimePicker.production.js +0 -1
- package/Dialog.development.js +0 -741
- package/Dialog.js +0 -9
- package/Dialog.production.js +0 -1
- package/DismissibleLayer.development.js +0 -218
- package/DismissibleLayer.js +0 -9
- package/DismissibleLayer.production.js +0 -1
- package/Divider.development.js +0 -398
- package/Divider.js +0 -9
- package/Divider.production.js +0 -1
- package/EmptyStateLayout.development.js +0 -425
- package/EmptyStateLayout.js +0 -9
- package/EmptyStateLayout.production.js +0 -1
- package/Field.development.js +0 -614
- package/Field.js +0 -9
- package/Field.production.js +0 -1
- package/Flex.development.js +0 -377
- package/Flex.js +0 -9
- package/Flex.production.js +0 -1
- package/FocusTrap.development.js +0 -341
- package/FocusTrap.js +0 -9
- package/FocusTrap.production.js +0 -1
- package/Grid.development.js +0 -422
- package/Grid.js +0 -9
- package/Grid.production.js +0 -1
- package/Icon.development.js +0 -376
- package/Icon.js +0 -9
- package/Icon.production.js +0 -1
- package/IconButton.development.js +0 -684
- package/IconButton.js +0 -9
- package/IconButton.production.js +0 -1
- package/KeyboardNavigable.development.js +0 -454
- package/KeyboardNavigable.js +0 -9
- package/KeyboardNavigable.production.js +0 -1
- package/Layout.development.js +0 -626
- package/Layout.js +0 -9
- package/Layout.production.js +0 -1
- package/Link.development.js +0 -492
- package/Link.js +0 -9
- package/Link.production.js +0 -1
- package/LinkButton.development.js +0 -573
- package/LinkButton.js +0 -9
- package/LinkButton.production.js +0 -1
- package/LiveRegions.development.js +0 -147
- package/LiveRegions.js +0 -9
- package/LiveRegions.production.js +0 -1
- package/Loader.development.js +0 -309
- package/Loader.js +0 -9
- package/Loader.production.js +0 -1
- package/Main.development.js +0 -410
- package/Main.js +0 -9
- package/Main.production.js +0 -1
- package/MainNav.development.js +0 -957
- package/MainNav.js +0 -9
- package/MainNav.production.js +0 -1
- package/ModalLayout.development.js +0 -895
- package/ModalLayout.js +0 -9
- package/ModalLayout.production.js +0 -1
- package/NumberInput.development.js +0 -733
- package/NumberInput.js +0 -9
- package/NumberInput.production.js +0 -1
- package/Pagination.development.js +0 -587
- package/Pagination.js +0 -9
- package/Pagination.production.js +0 -1
- package/Popover.development.js +0 -481
- package/Popover.js +0 -9
- package/Popover.production.js +0 -1
- package/Portal.development.js +0 -212
- package/Portal.js +0 -9
- package/Portal.production.js +0 -1
- package/ProgressBar.development.js +0 -273
- package/ProgressBar.js +0 -9
- package/ProgressBar.production.js +0 -1
- package/Radio.development.js +0 -518
- package/Radio.js +0 -9
- package/Radio.production.js +0 -1
- package/RawTable.development.js +0 -549
- package/RawTable.js +0 -9
- package/RawTable.production.js +0 -1
- package/Searchbar.development.js +0 -696
- package/Searchbar.js +0 -9
- package/Searchbar.production.js +0 -1
- package/Select.development.js +0 -1063
- package/Select.js +0 -9
- package/Select.production.js +0 -1
- package/SimpleMenu.development.js +0 -821
- package/SimpleMenu.js +0 -9
- package/SimpleMenu.production.js +0 -1
- package/Stack.development.js +0 -434
- package/Stack.js +0 -9
- package/Stack.production.js +0 -1
- package/Status.development.js +0 -494
- package/Status.js +0 -9
- package/Status.production.js +0 -1
- package/SubNav.development.js +0 -1123
- package/SubNav.js +0 -9
- package/SubNav.production.js +0 -1
- package/Switch.development.js +0 -434
- package/Switch.js +0 -9
- package/Switch.production.js +0 -1
- package/Table.development.js +0 -741
- package/Table.js +0 -9
- package/Table.production.js +0 -1
- package/Tabs.development.js +0 -590
- package/Tabs.js +0 -9
- package/Tabs.production.js +0 -1
- package/Tag.development.js +0 -494
- package/Tag.js +0 -9
- package/Tag.production.js +0 -1
- package/TextButton.development.js +0 -517
- package/TextButton.js +0 -9
- package/TextButton.production.js +0 -1
- package/TextInput.development.js +0 -662
- package/TextInput.js +0 -9
- package/TextInput.production.js +0 -1
- package/Textarea.development.js +0 -674
- package/Textarea.js +0 -9
- package/Textarea.production.js +0 -1
- package/ThemeProvider.development.js +0 -300
- package/ThemeProvider.js +0 -9
- package/ThemeProvider.production.js +0 -1
- package/TimePicker.development.js +0 -1098
- package/TimePicker.js +0 -9
- package/TimePicker.production.js +0 -1
- package/ToggleCheckbox.development.js +0 -542
- package/ToggleCheckbox.js +0 -9
- package/ToggleCheckbox.production.js +0 -1
- package/ToggleInput.development.js +0 -745
- package/ToggleInput.js +0 -9
- package/ToggleInput.production.js +0 -1
- package/Tooltip.development.js +0 -588
- package/Tooltip.js +0 -9
- package/Tooltip.production.js +0 -1
- package/Typography.development.js +0 -276
- package/Typography.js +0 -9
- package/Typography.production.js +0 -1
- package/VisuallyHidden.development.js +0 -146
- package/VisuallyHidden.js +0 -9
- package/VisuallyHidden.production.js +0 -1
- package/index.development.js +0 -4338
- package/index.js +0 -9
- package/index.production.js +0 -1
- package/themes.development.js +0 -254
- package/themes.js +0 -9
- package/themes.production.js +0 -1
- package/v2/Breadcrumbs.development.js +0 -906
- package/v2/Breadcrumbs.js +0 -9
- package/v2/Breadcrumbs.production.js +0 -1
- package/v2/Link.development.js +0 -505
- package/v2/Link.js +0 -9
- package/v2/Link.production.js +0 -1
- package/v2/LinkButton.development.js +0 -586
- package/v2/LinkButton.js +0 -9
- package/v2/LinkButton.production.js +0 -1
- package/v2/MainNav.development.js +0 -970
- package/v2/MainNav.js +0 -9
- package/v2/MainNav.production.js +0 -1
- package/v2/Pagination.development.js +0 -600
- package/v2/Pagination.js +0 -9
- package/v2/Pagination.production.js +0 -1
- package/v2/SimpleMenu.development.js +0 -834
- package/v2/SimpleMenu.js +0 -9
- package/v2/SimpleMenu.production.js +0 -1
- package/v2/SubNav.development.js +0 -1136
- package/v2/SubNav.js +0 -9
- package/v2/SubNav.production.js +0 -1
- package/v2/index.development.js +0 -1740
- package/v2/index.js +0 -9
- package/v2/index.production.js +0 -1
- package/v2/package.json +0 -81
package/DatePicker.js
DELETED
package/DatePicker.production.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("react"),require("styled-components"),require("react-dom"),require("@strapi/icons/CarretDown"),require("@strapi/icons/Cross"),require("react-router-dom"),require("@strapi/icons/Loader"),require("@strapi/icons/Calendar")):"function"==typeof define&&define.amd?define("strapiDs",["react","styled-components","react-dom","@strapi/icons/CarretDown","@strapi/icons/Cross","react-router-dom","@strapi/icons/Loader","@strapi/icons/Calendar"],n):"object"==typeof exports?exports.strapiDs=n(require("react"),require("styled-components"),require("react-dom"),require("@strapi/icons/CarretDown"),require("@strapi/icons/Cross"),require("react-router-dom"),require("@strapi/icons/Loader"),require("@strapi/icons/Calendar")):e.strapiDs=n(e.react,e["styled-components"],e["react-dom"],e["@strapi/icons/CarretDown"],e["@strapi/icons/Cross"],e["react-router-dom"],e["@strapi/icons/Loader"],e["@strapi/icons/Calendar"])}(this,(function(e,n,t,r,o,a,i,c){return function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(n){return e[n]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=85)}([function(e,n,t){e.exports=t(24)()},function(n,t){n.exports=e},function(e,t){e.exports=n},function(e,n){e.exports=function(e,n){return n||(n=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}}))},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,n,t){var r=t(30);e.exports=function(e,n){if(null==e)return{};var t,o,a=r(e,n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)t=i[o],n.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,n){function t(){return e.exports=t=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,t.apply(this,arguments)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,n,t){"use strict";t.r(n),t.d(n,"Box",(function(){return g}));var r,o=t(3),a=t.n(o),i=t(2),c=t.n(i),u=t(7),l=t(1),s=t.n(l),d=t(0),f=t.n(d),p=function(e){return s.a.createElement("div",e)},h={background:void 0,borderColor:void 0,color:void 0,hiddenS:!1,hiddenXS:!1,padding:void 0,paddingTop:void 0,paddingRight:void 0,paddingBottom:void 0,paddingLeft:void 0,hasRadius:!1,shadow:void 0,children:null,shrink:void 0,grow:void 0,basis:void 0,flex:void 0,_hover:function(){}},m={_hover:f.a.func,background:f.a.string,basis:f.a.oneOfType([f.a.string,f.a.string]),borderColor:f.a.string,children:f.a.oneOfType([f.a.node,f.a.string]),color:f.a.string,flex:f.a.oneOfType([f.a.string,f.a.string]),grow:f.a.oneOfType([f.a.string,f.a.string]),hasRadius:f.a.bool,hiddenS:f.a.bool,hiddenXS:f.a.bool,padding:f.a.oneOfType([f.a.number,f.a.arrayOf(f.a.number)]),paddingBottom:f.a.oneOfType([f.a.number,f.a.arrayOf(f.a.number)]),paddingLeft:f.a.oneOfType([f.a.number,f.a.arrayOf(f.a.number)]),paddingRight:f.a.oneOfType([f.a.number,f.a.arrayOf(f.a.number)]),paddingTop:f.a.oneOfType([f.a.number,f.a.arrayOf(f.a.number)]),shadow:f.a.string,shrink:f.a.oneOfType([f.a.string,f.a.string])};p.defaultProps=h,p.propTypes=m;var b={color:!0},g=c.a.div.withConfig({shouldForwardProp:function(e,n){return!b[e]&&n(e)}})(r||(r=a()(["\n // Font\n font-size: ",";\n\n // Colors\n background: ",";\n color: ",";\n\n // Spaces\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n ","\n\n // Responsive hiding\n ","\n ","\n \n\n // Borders\n border-radius: ",";\n border-style: ",";\n border-width: ",";\n border-color: ",";\n border: ",";\n\n // Shadows\n box-shadow: ",";\n\n // Handlers\n pointer-events: ",";\n &:hover {\n ","\n }\n\n // Display\n display: ",";\n\n // Position\n position: ",";\n left: ",";\n right: ",";\n top: ",";\n bottom: ",";\n z-index: ",";\n overflow: ",";\n cursor: ",";\n\n // Size\n width: ",";\n max-width: ",";\n min-width: ",";\n height: ",";\n max-height: ",";\n min-height: ",";\n\n // Animation\n transition: ",";\n transform: ",";\n animation: ",";\n\n //Flexbox children props\n flex-shrink: ",";\n flex-grow: ",";\n flex-basis: ",";\n flex: ",";\n\n // Text\n text-align: ",";\n text-transform: ",";\n line-height: ",";\n\n // Cursor\n cursor: ",";\n"])),(function(e){var n=e.fontSize;return e.theme.fontSizes[n]||n}),(function(e){var n=e.theme,t=e.background;return n.colors[t]}),(function(e){var n=e.theme,t=e.color;return n.colors[t]}),(function(e){var n=e.theme,t=e.padding;return Object(u.a)("padding",t,n)}),(function(e){var n=e.theme,t=e.paddingTop;return Object(u.a)("padding-top",t,n)}),(function(e){var n=e.theme,t=e.paddingRight;return Object(u.a)("padding-right",t,n)}),(function(e){var n=e.theme,t=e.paddingBottom;return Object(u.a)("padding-bottom",t,n)}),(function(e){var n=e.theme,t=e.paddingLeft;return Object(u.a)("padding-left",t,n)}),(function(e){var n=e.theme,t=e.marginLeft;return Object(u.a)("margin-left",t,n)}),(function(e){var n=e.theme,t=e.marginRight;return Object(u.a)("margin-right",t,n)}),(function(e){var n=e.theme,t=e.marginTop;return Object(u.a)("margin-top",t,n)}),(function(e){var n=e.theme,t=e.marginBottom;return Object(u.a)("margin-bottom",t,n)}),(function(e){var n=e.theme;return e.hiddenS?"".concat(n.mediaQueries.tablet," { display: none; }"):void 0}),(function(e){var n=e.theme;return e.hiddenXS?"".concat(n.mediaQueries.mobile," { display: none; }"):void 0}),(function(e){var n=e.theme,t=e.hasRadius,r=e.borderRadius;return t?n.borderRadius:r}),(function(e){return e.borderStyle}),(function(e){return e.borderWidth}),(function(e){var n=e.borderColor;return e.theme.colors[n]}),(function(e){var n=e.theme,t=e.borderColor,r=e.borderStyle,o=e.borderWidth;if(t&&!r&&!o)return"1px solid ".concat(n.colors[t])}),(function(e){var n=e.theme,t=e.shadow;return n.shadows[t]}),(function(e){return e.pointerEvents}),(function(e){var n=e._hover,t=e.theme;return n?n(t):void 0}),(function(e){return e.display}),(function(e){return e.position}),(function(e){var n=e.left;return e.theme.spaces[n]||n}),(function(e){var n=e.right;return e.theme.spaces[n]||n}),(function(e){var n=e.top;return e.theme.spaces[n]||n}),(function(e){var n=e.bottom;return e.theme.spaces[n]||n}),(function(e){return e.zIndex}),(function(e){return e.overflow}),(function(e){return e.cursor}),(function(e){var n=e.width;return e.theme.spaces[n]||n}),(function(e){var n=e.maxWidth;return e.theme.spaces[n]||n}),(function(e){var n=e.minWidth;return e.theme.spaces[n]||n}),(function(e){var n=e.height;return e.theme.spaces[n]||n}),(function(e){var n=e.maxHeight;return e.theme.spaces[n]||n}),(function(e){var n=e.minHeight;return e.theme.spaces[n]||n}),(function(e){return e.transition}),(function(e){return e.transform}),(function(e){return e.animation}),(function(e){return e.shrink}),(function(e){return e.grow}),(function(e){return e.basis}),(function(e){return e.flex}),(function(e){return e.textAlign}),(function(e){return e.textTransform}),(function(e){return e.lineHeight}),(function(e){return e.cursor}));g.defaultProps=h,g.propTypes=m},function(e,n,t){"use strict";var r=t(11),o=t.n(r),a=t(16),i=t.n(a);n.a=function(e,n,t){var r=n;if(Array.isArray(n)||"object"!==i()(n)||(r=[null==n?void 0:n.desktop,null==n?void 0:n.tablet,null==n?void 0:n.mobile]),void 0!==r){if(Array.isArray(r)){var a=r,c=o()(a,3),u=c[0],l=c[1],s=c[2],d="".concat(e,": ").concat(t.spaces[u],";");return void 0!==l&&(d+="".concat(t.mediaQueries.tablet,"{\n ").concat(e,": ").concat(t.spaces[l],";\n }")),void 0!==s&&(d+="".concat(t.mediaQueries.mobile,"{\n ").concat(e,": ").concat(t.spaces[s],";\n }")),d}var f=t.spaces[r]||r;return"".concat(e,": ").concat(f,";")}}},function(e,n,t){"use strict";t.r(n),t.d(n,"Typography",(function(){return v}));var r,o=t(3),a=t.n(o),i=t(2),c=t.n(i),u=t(13),l=t(1),s=t.n(l),d=t(0),f=t.n(d),p=t(9),h=function(e){return s.a.createElement("div",e)},m={ellipsis:!1,fontWeight:void 0,fontSize:void 0,lineHeight:void 0,textColor:void 0,textAlign:void 0,textTransform:void 0,variant:p.e},b={ellipsis:f.a.bool,fontSize:f.a.oneOfType([f.a.number,f.a.string]),fontWeight:f.a.string,lineHeight:f.a.oneOfType([f.a.number,f.a.string]),textAlign:f.a.string,textColor:f.a.string,textTransform:f.a.string,variant:f.a.oneOf(p.h)};h.defaultProps=m,h.propTypes=b;var g={fontSize:!0,fontWeight:!0},v=c.a.span.withConfig({shouldForwardProp:function(e,n){return!g[e]&&n(e)}})(r||(r=a()(["\n font-weight: ",";\n font-size: ",";\n line-height: ",";\n color: ",";\n text-align: ",";\n text-transform: ",";\n ","\n ","\n"])),(function(e){var n=e.theme,t=e.fontWeight;return n.fontWeights[t]}),(function(e){var n=e.theme,t=e.fontSize;return n.fontSizes[t]}),(function(e){var n=e.theme,t=e.lineHeight;return n.lineHeights[t]}),u.b,(function(e){return e.textAlign}),(function(e){return e.textTransform}),u.a,u.c);v.defaultProps=m,v.propTypes=b},function(e,n,t){"use strict";t.d(n,"a",(function(){return r})),t.d(n,"b",(function(){return o})),t.d(n,"c",(function(){return a})),t.d(n,"d",(function(){return i})),t.d(n,"e",(function(){return c})),t.d(n,"f",(function(){return u})),t.d(n,"g",(function(){return l})),t.d(n,"h",(function(){return s}));var r="alpha",o="beta",a="delta",i="epsilon",c="omega",u="pi",l="sigma",s=[r,o,a,i,c,u,l]},function(e,n,t){"use strict";t.r(n),t.d(n,"Flex",(function(){return v}));var r,o=t(3),a=t.n(o),i=t(2),c=t.n(i),u=t(6),l=t(7),s=t(1),d=t.n(s),f=t(0),p=t.n(f),h=function(e){return d.a.createElement("div",e)},m={alignItems:"center",basis:void 0,direction:"row",gap:void 0,inline:!1,justifyContent:void 0,reverse:!1,wrap:void 0},b={alignItems:p.a.string,basis:p.a.oneOfType([p.a.string,p.a.number]),direction:p.a.string,gap:p.a.oneOfType([p.a.shape({desktop:p.a.number,mobile:p.a.number,tablet:p.a.number}),p.a.number,p.a.arrayOf(p.a.number),p.a.string]),inline:p.a.bool,justifyContent:p.a.string,reverse:p.a.bool,shrink:p.a.number,wrap:p.a.string};h.defaultProps=m,h.propTypes=b;var g={direction:!0},v=c()(u.Box).withConfig({shouldForwardProp:function(e,n){return!g[e]&&n(e)}})(r||(r=a()(["\n align-items: ",";\n display: ",";\n flex-direction: ",";\n flex-shrink: ",";\n flex-wrap: ",";\n ","};\n justify-content: ",";\n"])),(function(e){return e.alignItems}),(function(e){return e.inline?"inline-flex":"flex"}),(function(e){return e.direction}),(function(e){return e.shrink}),(function(e){return e.wrap}),(function(e){var n=e.gap,t=e.theme;return Object(l.a)("gap",n,t)}),(function(e){return e.justifyContent}));v.defaultProps=m,v.propTypes=b},function(e,n,t){var r=t(27),o=t(28),a=t(26),i=t(29);e.exports=function(e,n){return r(e)||o(e,n)||a(e,n)||i()},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,n,t){"use strict";t.d(n,"a",(function(){return r}));var r={DOWN:"ArrowDown",UP:"ArrowUp",RIGHT:"ArrowRight",LEFT:"ArrowLeft",ESCAPE:"Escape",ENTER:"Enter",SPACE:" ",TAB:"Tab",END:"End",HOME:"Home",DELETE:"Delete",PAGE_UP:"PageUp",PAGE_DOWN:"PageDown",BACKSPACE:"Backspace",CLEAR:"Clear"}},function(e,n,t){"use strict";t.d(n,"a",(function(){return o})),t.d(n,"c",(function(){return a})),t.d(n,"b",(function(){return i}));var r=t(9),o=function(e){return e.ellipsis&&"\n display: block;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n "},a=function(e){var n=e.variant,t=e.theme;switch(n){case r.a:return"\n font-weight: ".concat(t.fontWeights.bold,";\n font-size: ").concat(t.fontSizes[5],";\n line-height: ").concat(t.lineHeights[2],";\n ");case r.b:return"\n font-weight: ".concat(t.fontWeights.bold,";\n font-size: ").concat(t.fontSizes[4],";\n line-height: ").concat(t.lineHeights[1],";\n ");case r.c:return"\n font-weight: ".concat(t.fontWeights.semiBold,";\n font-size: ").concat(t.fontSizes[3],";\n line-height: ").concat(t.lineHeights[2],";\n ");case r.d:return"\n font-size: ".concat(t.fontSizes[3],";\n line-height: ").concat(t.lineHeights[6],";\n ");case r.e:return"\n font-size: ".concat(t.fontSizes[2],";\n line-height: ").concat(t.lineHeights[4],";\n ");case r.f:return"\n font-size: ".concat(t.fontSizes[1],";\n line-height: ").concat(t.lineHeights[3],";\n ");case r.g:return"\n font-weight: ".concat(t.fontWeights.bold,";\n font-size: ").concat(t.fontSizes[0],";\n line-height: ").concat(t.lineHeights[5],";\n text-transform: uppercase;\n ");default:return"\n font-size: ".concat(t.fontSizes[2],";\n ")}},i=function(e){var n=e.theme,t=e.textColor;return n.colors[t||"neutral800"]}},function(e,n,t){"use strict";t.d(n,"a",(function(){return o})),t.d(n,"b",(function(){return a}));var r=t(1),o=Object(r.createContext)({error:void 0,hint:void 0,name:"",id:""}),a=function(){return Object(r.useContext)(o)}},function(e,n,t){"use strict";t.d(n,"a",(function(){return a}));var r=t(1),o=0,a=function(e,n){return Object(r.useRef)(n||"".concat(e,"-").concat(++o)).current}},function(e,n){function t(n){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?(e.exports=t=function(e){return typeof e},e.exports.default=e.exports,e.exports.__esModule=!0):(e.exports=t=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.default=e.exports,e.exports.__esModule=!0),t(n)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0},function(e,n,t){"use strict";t.r(n),t.d(n,"Field",(function(){return f})),t.d(n,"FieldLabel",(function(){return j})),t.d(n,"InputWrapper",(function(){return C.b})),t.d(n,"FieldInput",(function(){return C.a})),t.d(n,"FieldHint",(function(){return D})),t.d(n,"FieldError",(function(){return S})),t.d(n,"FieldContext",(function(){return l.a})),t.d(n,"useField",(function(){return l.b})),t.d(n,"FieldAction",(function(){return z}));var r=t(4),o=t.n(r),a=t(1),i=t.n(a),c=t(0),u=t.n(c),l=t(14),s=t(15),d=["children","name","error","hint","id"],f=function(e){var n=e.children,t=e.name,r=e.error,a=e.hint,c=e.id,u=o()(e,d),f=Object(s.a)("field",c);return i.a.createElement("div",u,i.a.createElement(l.a.Provider,{value:{name:t,id:f,error:r,hint:a}},n))};f.defaultProps={error:void 0,hint:void 0,id:void 0,name:void 0},f.propTypes={children:u.a.node.isRequired,error:u.a.oneOfType([u.a.string,u.a.bool]),hint:u.a.oneOfType([u.a.string,u.a.node,u.a.arrayOf(u.a.node)]),id:u.a.oneOfType([u.a.string,u.a.number]),name:u.a.string};var p,h,m=t(5),b=t.n(m),g=t(3),v=t.n(g),y=t(2),x=t.n(y),w=t(10),E=t(8),O=["children","required","action"],T=x()(E.Typography)(p||(p=v()(["\n line-height: 0;\n"]))),R=x()(w.Flex)(h||(h=v()(["\n line-height: 0;\n\n svg path {\n fill: ",";\n }\n"])),(function(e){return e.theme.colors.neutral500})),j=function(e){var n=e.children,t=e.required,r=e.action,a=o()(e,O),c=Object(l.b)().id;return i.a.createElement(E.Typography,b()({variant:"pi",textColor:"neutral800",htmlFor:c,fontWeight:"bold",as:"label",required:t},a),i.a.createElement(w.Flex,{alignItems:"center"},n,t&&i.a.createElement(T,{textColor:"danger600"},"*"),r&&i.a.createElement(R,{marginLeft:1},r)))};j.defaultProps={required:!1,action:void 0},j.propTypes={action:u.a.element,children:u.a.node.isRequired,required:u.a.bool};var k,C=t(38),D=function(){var e=Object(l.b)(),n=e.id,t=e.hint,r=e.error;return!t||r?null:i.a.createElement(E.Typography,{variant:"pi",as:"p",id:"".concat(n,"-hint"),textColor:"neutral600"},t)},S=function(){var e=Object(l.b)(),n=e.id,t=e.error;return t&&"string"==typeof t?i.a.createElement(E.Typography,{variant:"pi",as:"p",id:"".concat(n,"-error"),textColor:"danger600","data-strapi-field-error":!0},t):null},P=["label","children"],A=x.a.button(k||(k=v()(["\n border: none;\n background: transparent;\n // TODO: Make sure to use the theme when it's ready\n font-size: 1.6rem;\n width: auto;\n padding: 0;\n display: flex;\n align-items: center;\n"]))),z=function(e){var n=e.label,t=e.children,r=o()(e,P);return i.a.createElement(A,b()({"aria-label":n,type:"button"},r),t)};z.propTypes={children:u.a.node.isRequired,label:u.a.string.isRequired}},function(e,n,t){"use strict";t.d(n,"i",(function(){return r})),t.d(n,"c",(function(){return o})),t.d(n,"d",(function(){return a})),t.d(n,"j",(function(){return i})),t.d(n,"g",(function(){return c})),t.d(n,"b",(function(){return u})),t.d(n,"h",(function(){return l})),t.d(n,"e",(function(){return s})),t.d(n,"f",(function(){return d})),t.d(n,"k",(function(){return f})),t.d(n,"a",(function(){return p}));var r="success-light",o="danger-light",a="default",i="tertiary",c="secondary",u="danger",l="success",s="ghost",d=[r,o],f=[a,i,c,u,l,s].concat(d),p=["S","L"]},function(e,n){e.exports=function(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,n,t){"use strict";t.r(n),t.d(n,"VisuallyHidden",(function(){return c}));var r,o=t(3),a=t.n(o),i=t(2),c=t.n(i).a.div(r||(r=a()(["\n border: 0;\n clip: rect(0 0 0 0);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n width: 1px;\n"])))},function(e,n,t){"use strict";t.d(n,"b",(function(){return r})),t.d(n,"c",(function(){return o})),t.d(n,"a",(function(){return a}));var r=function(e){return function(n){var t=n.theme,r=n.size;return t.sizes[e][r]}},o=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"&";return function(n){var t=n.theme,r=n.hasError;return"\n outline: none;\n box-shadow: 0;\n transition-property: border-color, box-shadow, fill;\n transition-duration: 0.2s;\n\n ".concat(e,":focus-within {\n border: 1px solid ").concat(r?t.colors.danger600:t.colors.primary600,";\n box-shadow: ").concat(r?t.colors.danger600:t.colors.primary600," 0px 0px 0px 2px;\n }\n ")}},a=function(e){var n=e.theme;return"\n position: relative;\n outline: none;\n \n &:after {\n transition-property: all;\n transition-duration: 0.2s;\n border-radius: 8px;\n content: '';\n position: absolute;\n top: -4px;\n bottom: -4px;\n left: -4px;\n right: -4px;\n border: 2px solid transparent;\n }\n\n &:focus-visible {\n outline: none;\n &:after {\n border-radius: 8px;\n content: '';\n position: absolute;\n top: -5px;\n bottom: -5px;\n left: -5px;\n right: -5px;\n border: 2px solid ".concat(n.colors.primary600,";\n }\n }\n")}},function(e,n,t){"use strict";t.r(n),t.d(n,"Stack",(function(){return E}));var r,o,a=t(5),i=t.n(a),c=t(4),u=t.n(c),l=t(3),s=t.n(l),d=t(1),f=t.n(d),p=t(0),h=t.n(p),m=t(2),b=t.n(m),g=t(10),v=["horizontal","spacing","size"],y={size:!0},x=b()(g.Flex).withConfig({shouldForwardProp:function(e,n){return!y[e]&&n(e)}})(r||(r=s()(["\n & > * {\n margin-top: 0;\n margin-bottom: 0;\n }\n\n & > * + * {\n margin-top: ",";\n }\n"])),(function(e){var n=e.theme,t=e.spacing;return n.spaces[t]})),w=b()(g.Flex).withConfig({shouldForwardProp:function(e,n){return!y[e]&&n(e)}})(o||(o=s()(["\n & > * {\n margin-left: 0;\n margin-right: 0;\n }\n\n & > * + * {\n margin-left: ",";\n }\n"])),(function(e){var n=e.theme,t=e.spacing;return n.spaces[t]})),E=Object(d.forwardRef)((function(e,n){var t=e.horizontal,r=e.spacing,o=e.size,a=u()(e,v);return o&&console.warn('Deprecation warning: Usage of "size" prop in Stack component is deprecated. This is discouraged and will be removed in the next major release. Please use "spacing" instead'),t?f.a.createElement(w,i()({ref:n,spacing:r||o},a)):f.a.createElement(x,i()({direction:"column",alignItems:"stretch",ref:n,spacing:r||o},a))}));E.displayName="Stack",E.defaultProps={horizontal:!1,size:void 0,spacing:void 0},E.propTypes={horizontal:h.a.bool,size:h.a.number,spacing:h.a.number}},function(e,n){e.exports=function(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,n,t){"use strict";var r=t(25);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,n,t,o,a,i){if(i!==r){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function n(){return e}e.isRequired=e;var t={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:n,element:e,elementType:e,instanceOf:n,node:e,objectOf:n,oneOf:n,oneOfType:n,shape:n,exact:n,checkPropTypes:a,resetWarningCache:o};return t.PropTypes=t,t}},function(e,n,t){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,n,t){var r=t(23);e.exports=function(e,n){if(e){if("string"==typeof e)return r(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?r(e,n):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,n){e.exports=function(e){if(Array.isArray(e))return e},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,n){e.exports=function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var r,o,a=[],i=!0,c=!1;try{for(t=t.call(e);!(i=(r=t.next()).done)&&(a.push(r.value),!n||a.length!==n);i=!0);}catch(e){c=!0,o=e}finally{try{i||null==t.return||t.return()}finally{if(c)throw o}}return a}},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,n){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,n){e.exports=function(e,n){if(null==e)return{};var t,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)t=a[r],n.indexOf(t)>=0||(o[t]=e[t]);return o},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,n,t){"use strict";t.d(n,"a",(function(){return r}));var r={input:{S:"".concat(2,"rem"),M:"".concat(2.5,"rem")},accordions:{S:"".concat(3,"rem"),M:"".concat(5.5,"rem")}}},function(e,n,t){var r=t(46),o=t(47),a=t(26),i=t(48);e.exports=function(e){return r(e)||o(e)||a(e)||i()},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,n,t){"use strict";t.d(n,"a",(function(){return a})),t.d(n,"b",(function(){return i}));var r=t(32),o=t.n(r),a=function(e,n){return o()(e.querySelectorAll('a, button, input, textarea, select, details, [tabindex]:not([tabindex="-1"])')).filter((function(e){return!e.hasAttribute("disabled")&&(!!n||"-1"!==e.getAttribute("tabindex"))}))},i=function(e){return e.filter((function(e){return"INPUT"===e.tagName&&("checkbox"!==e.type&&"radio"!==e.type)}))}},function(e,n){e.exports=t},function(e,n,t){"use strict";t.r(n),t.d(n,"Portal",(function(){return c}));var r=t(11),o=t.n(r),a=t(1),i=t(34),c=function(e){var n=e.children,t=Object(a.useRef)(null),r=Object(a.useState)(!1),c=o()(r,2),u=c[0],l=c[1];return Object(a.useLayoutEffect)((function(){return t.current=document.createElement("div"),t.current.setAttribute("data-react-portal","true"),document.body.appendChild(t.current),l(!0),function(){var e;null===(e=t.current)||void 0===e||e.remove()}}),[]),u&&t.current?Object(i.createPortal)(n,t.current):null}},function(e,n){e.exports=r},function(e,n,t){"use strict";t.d(n,"b",(function(){return u})),t.d(n,"c",(function(){return l})),t.d(n,"a",(function(){return s})),t.d(n,"d",(function(){return d}));var r=t(32),o=t.n(r),a=t(8),i=t(18),c=function(e){return i.f.includes(e)?e.substring(0,e.lastIndexOf("-")):e===i.j?"neutral":[i.d,i.g].includes(e)||!i.k.includes(e)?"primary":e},u=function(e){var n=e.theme;return"\n border: 1px solid ".concat(n.colors.neutral200,";\n background: ").concat(n.colors.neutral150,";\n ").concat(a.Typography," {\n color: ").concat(n.colors.neutral600,";\n }\n svg {\n > g, path {\n fill: ").concat(n.colors.neutral600,";\n }\n }\n ")},l=function(e){var n=e.theme,t=e.variant;return[].concat(o()(i.f),[i.g]).includes(t)?"\n background-color: ".concat(n.colors.neutral0,";\n "):t===i.j||t===i.e?"\n background-color: ".concat(n.colors.neutral100,";\n "):t===i.d?"\n border: 1px solid ".concat(n.colors.buttonPrimary500,";\n background: ").concat(n.colors.buttonPrimary500,";\n "):"\n border: 1px solid ".concat(n.colors["".concat(c(t),"500")],";\n background: ").concat(n.colors["".concat(c(t),"500")],";\n ")},s=function(e){var n=e.theme,t=e.variant;return[].concat(o()(i.f),[i.g]).includes(t)?"\n background-color: ".concat(n.colors.neutral0,";\n border: 1px solid ").concat(n.colors["".concat(c(t),"600")],";\n ").concat(a.Typography," {\n color: ").concat(n.colors["".concat(c(t),"600")],";\n }\n svg {\n > g, path {\n fill: ").concat(n.colors["".concat(c(t),"600")],";\n }\n }\n "):t===i.j?"\n background-color: ".concat(n.colors.neutral150,";\n "):"\n border: 1px solid ".concat(n.colors["".concat(c(t),"600")],";\n background: ").concat(n.colors["".concat(c(t),"600")],";\n ")},d=function(e){var n=e.theme,t=e.variant;switch(t){case i.c:case i.i:case i.g:return"\n border: 1px solid ".concat(n.colors["".concat(c(t),"200")],";\n background: ").concat(n.colors["".concat(c(t),"100")],";\n ").concat(a.Typography," {\n color: ").concat(n.colors["".concat(c(t),"700")],";\n }\n svg {\n > g, path {\n fill: ").concat(n.colors["".concat(c(t),"700")],";\n }\n }\n ");case i.j:return"\n border: 1px solid ".concat(n.colors.neutral200,";\n background: ").concat(n.colors.neutral0,";\n ").concat(a.Typography," {\n color: ").concat(n.colors.neutral800,";\n }\n svg {\n > g, path {\n fill: ").concat(n.colors.neutral800,";\n }\n }\n ");case i.e:return"\n border: 1px solid transparent;\n background: transparent;\n\n ".concat(a.Typography," {\n color: ").concat(n.colors.neutral800,";\n }\n\n svg {\n > g, path {\n fill: ").concat(n.colors.neutral500,";\n }\n }\n ");case i.h:case i.b:return"\n border: 1px solid ".concat(n.colors["".concat(c(t),"600")],";\n background: ").concat(n.colors["".concat(c(t),"600")],";\n ").concat(a.Typography," {\n color: ").concat(n.colors.neutral0,";\n }\n ");default:return"\n svg {\n > g, path {\n fill: ".concat(n.colors.buttonNeutral0,";\n }\n }\n ")}}},function(e,n,t){"use strict";t.d(n,"b",(function(){return R})),t.d(n,"a",(function(){return j}));var r,o,a=t(5),i=t.n(a),c=t(4),u=t.n(c),l=t(3),s=t.n(l),d=t(1),f=t.n(d),p=t(2),h=t.n(p),m=t(0),b=t.n(m),g=t(31),v=t(21),y=t(14),x=t(10),w=t(6),E=["endAction","startAction","disabled","onChange","size"],O={S:6.5,M:10.5},T=h.a.input(r||(r=s()(["\n border: none;\n border-radius: ",";\n padding-bottom: ",";\n padding-left: ",";\n padding-right: ",";\n padding-top: ",";\n cursor: ",";\n\n color: ",";\n font-weight: 400;\n // TODO: Make sure to use the theme when it's ready\n font-size: ","rem;\n display: block;\n width: 100%;\n background: inherit;\n\n ::placeholder {\n color: ",";\n opacity: 1;\n }\n\n &[aria-disabled='true'] {\n color: inherit;\n }\n\n //focus managed by InputWrapper\n &:focus {\n outline: none;\n box-shadow: none;\n }\n"])),(function(e){return e.theme.borderRadius}),(function(e){var n=e.size;return"".concat(O[n]/16,"rem")}),(function(e){var n=e.theme;return e.hasLeftAction?0:n.spaces[4]}),(function(e){var n=e.theme;return e.hasRightAction?0:n.spaces[4]}),(function(e){var n=e.size;return"".concat(O[n]/16,"rem")}),(function(e){return e["aria-disabled"]?"not-allowed":void 0}),(function(e){return e.theme.colors.neutral800}),.875,(function(e){return e.theme.colors.neutral500})),R=h()(x.Flex)(o||(o=s()(["\n border: 1px solid ",";\n border-radius: ",";\n background: ",";\n ","\n\n ","\n"])),(function(e){var n=e.theme;return e.hasError?n.colors.danger600:n.colors.neutral200}),(function(e){return e.theme.borderRadius}),(function(e){return e.theme.colors.neutral0}),Object(v.c)(),(function(e){var n=e.theme;return e.disabled?"\n color: ".concat(n.colors.neutral600,";\n background: ").concat(n.colors.neutral150,";\n \n "):void 0})),j=Object(d.forwardRef)((function(e,n){var t,r=e.endAction,o=e.startAction,a=e.disabled,c=e.onChange,l=e.size,s=u()(e,E),d=Object(y.b)(),p=d.id,h=d.error,m=d.hint,b=d.name;h?t="".concat(p,"-error"):m&&(t="".concat(p,"-hint"));var g=Boolean(h);return f.a.createElement(R,{size:l,justifyContent:"space-between",hasError:g,disabled:a},o&&f.a.createElement(w.Box,{paddingLeft:3,paddingRight:2},o),f.a.createElement(T,i()({id:p,name:b,ref:n,"aria-describedby":t,"aria-invalid":g,"aria-disabled":a,hasLeftAction:Boolean(o),hasRightAction:Boolean(r),onChange:function(e){a||c(e)},size:l},s)),r&&f.a.createElement(w.Box,{paddingLeft:2,paddingRight:3},r))}));j.displayName="FieldInput",j.defaultProps={disabled:!1,endAction:void 0,size:"M",startAction:void 0,onChange:function(){}},j.propTypes={disabled:b.a.bool,endAction:b.a.element,onChange:b.a.func,size:b.a.oneOf(Object.keys(g.a.input)),startAction:b.a.element}},function(e,n){e.exports=o},function(e,n){e.exports=a},function(e,n,t){"use strict";t.r(n),t.d(n,"POPOVER_PLACEMENTS",(function(){return xe})),t.d(n,"Popover",(function(){return Te}));var r=t(5),o=t.n(r),a=t(11),i=t.n(a),c=t(4),u=t.n(c),l=t(3),s=t.n(l),d=t(1),f=t(0),p=t.n(f),h=t(2),m=t.n(h);function b(e){return e.split("-")[0]}function g(e){return e.split("-")[1]}function v(e){return["top","bottom"].includes(b(e))?"x":"y"}function y(e){return"y"===e?"height":"width"}function x(e,n,t){let{reference:r,floating:o}=e;const a=r.x+r.width/2-o.width/2,i=r.y+r.height/2-o.height/2,c=v(n),u=y(c),l=r[u]/2-o[u]/2,s="x"===c;let d;switch(b(n)){case"top":d={x:a,y:r.y-o.height};break;case"bottom":d={x:a,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:i};break;case"left":d={x:r.x-o.width,y:i};break;default:d={x:r.x,y:r.y}}switch(g(n)){case"start":d[c]-=l*(t&&s?-1:1);break;case"end":d[c]+=l*(t&&s?-1:1)}return d}function w(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function E(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function O(e,n){var t;void 0===n&&(n={});const{x:r,y:o,platform:a,rects:i,elements:c,strategy:u}=e,{boundary:l="clippingAncestors",rootBoundary:s="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=n,h=w(p),m=c[f?"floating"===d?"reference":"floating":d],b=E(await a.getClippingRect({element:null==(t=await(null==a.isElement?void 0:a.isElement(m)))||t?m:m.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(c.floating)),boundary:l,rootBoundary:s,strategy:u})),g=E(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:"floating"===d?{...i.floating,x:r,y:o}:i.reference,offsetParent:await(null==a.getOffsetParent?void 0:a.getOffsetParent(c.floating)),strategy:u}):i[d]);return{top:b.top-g.top+h.top,bottom:g.bottom-b.bottom+h.bottom,left:b.left-g.left+h.left,right:g.right-b.right+h.right}}const T=Math.min,R=Math.max;function j(e,n,t){return R(e,T(n,t))}const k={left:"right",right:"left",bottom:"top",top:"bottom"};function C(e){return e.replace(/left|right|bottom|top/g,e=>k[e])}function D(e,n,t){void 0===t&&(t=!1);const r=g(e),o=v(e),a=y(o);let i="x"===o?r===(t?"end":"start")?"right":"left":"start"===r?"bottom":"top";return n.reference[a]>n.floating[a]&&(i=C(i)),{main:i,cross:C(i)}}const S={start:"end",end:"start"};function P(e){return e.replace(/start|end/g,e=>S[e])}const A=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(n){var t;const{placement:r,middlewareData:o,rects:a,initialPlacement:i,platform:c,elements:u}=n,{mainAxis:l=!0,crossAxis:s=!0,fallbackPlacements:d,fallbackStrategy:f="bestFit",flipAlignment:p=!0,...h}=e,m=b(r),g=[i,...d||(m===i||!p?[C(i)]:function(e){const n=C(e);return[P(e),n,P(n)]}(i))],v=await O(n,h),y=[];let x=(null==(t=o.flip)?void 0:t.overflows)||[];if(l&&y.push(v[m]),s){const{main:e,cross:n}=D(r,a,await(null==c.isRTL?void 0:c.isRTL(u.floating)));y.push(v[e],v[n])}if(x=[...x,{placement:r,overflows:y}],!y.every(e=>e<=0)){var w,E;const e=(null!=(w=null==(E=o.flip)?void 0:E.index)?w:0)+1,n=g[e];if(n)return{data:{index:e,overflows:x},reset:{placement:n}};let t="bottom";switch(f){case"bestFit":{var T;const e=null==(T=x.map(e=>[e,e.overflows.filter(e=>e>0).reduce((e,n)=>e+n,0)]).sort((e,n)=>e[1]-n[1])[0])?void 0:T[0].placement;e&&(t=e);break}case"initialPlacement":t=i}if(r!==t)return{reset:{placement:t}}}return{}}}};const z=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(n){const{x:t,y:r}=n,o=await async function(e,n){const{placement:t,platform:r,elements:o}=e,a=await(null==r.isRTL?void 0:r.isRTL(o.floating)),i=b(t),c=g(t),u="x"===v(t),l=["left","top"].includes(i)?-1:1,s=a&&u?-1:1,d="function"==typeof n?n(e):n;let{mainAxis:f,crossAxis:p,alignmentAxis:h}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d};return c&&"number"==typeof h&&(p="end"===c?-1*h:h),u?{x:p*s,y:f*l}:{x:f*l,y:p*s}}(n,e);return{x:t+o.x,y:r+o.y,data:o}}}};function L(e){return"x"===e?"y":"x"}function M(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function I(e){if(null==e)return window;if(!M(e)){const n=e.ownerDocument;return n&&n.defaultView||window}return e}function F(e){return I(e).getComputedStyle(e)}function _(e){return M(e)?"":e?(e.nodeName||"").toLowerCase():""}function q(){const e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map(e=>e.brand+"/"+e.version).join(" "):navigator.userAgent}function W(e){return e instanceof I(e).HTMLElement}function B(e){return e instanceof I(e).Element}function H(e){if("undefined"==typeof ShadowRoot)return!1;return e instanceof I(e).ShadowRoot||e instanceof ShadowRoot}function N(e){const{overflow:n,overflowX:t,overflowY:r}=F(e);return/auto|scroll|overlay|hidden/.test(n+r+t)}function V(e){return["table","td","th"].includes(_(e))}function Y(e){const n=/firefox/i.test(q()),t=F(e);return"none"!==t.transform||"none"!==t.perspective||"paint"===t.contain||["transform","perspective"].includes(t.willChange)||n&&"filter"===t.willChange||n&&!!t.filter&&"none"!==t.filter}function U(){return!/^((?!chrome|android).)*safari/i.test(q())}const K=Math.min,G=Math.max,X=Math.round;function Q(e,n,t){var r,o,a,i;void 0===n&&(n=!1),void 0===t&&(t=!1);const c=e.getBoundingClientRect();let u=1,l=1;n&&W(e)&&(u=e.offsetWidth>0&&X(c.width)/e.offsetWidth||1,l=e.offsetHeight>0&&X(c.height)/e.offsetHeight||1);const s=B(e)?I(e):window,d=!U()&&t,f=(c.left+(d&&null!=(r=null==(o=s.visualViewport)?void 0:o.offsetLeft)?r:0))/u,p=(c.top+(d&&null!=(a=null==(i=s.visualViewport)?void 0:i.offsetTop)?a:0))/l,h=c.width/u,m=c.height/l;return{width:h,height:m,top:p,right:f+h,bottom:p+m,left:f,x:f,y:p}}function $(e){return(n=e,(n instanceof I(n).Node?e.ownerDocument:e.document)||window.document).documentElement;var n}function J(e){return B(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Z(e){return Q($(e)).left+J(e).scrollLeft}function ee(e,n,t){const r=W(n),o=$(n),a=Q(e,r&&function(e){const n=Q(e);return X(n.width)!==e.offsetWidth||X(n.height)!==e.offsetHeight}(n),"fixed"===t);let i={scrollLeft:0,scrollTop:0};const c={x:0,y:0};if(r||!r&&"fixed"!==t)if(("body"!==_(n)||N(o))&&(i=J(n)),W(n)){const e=Q(n,!0);c.x=e.x+n.clientLeft,c.y=e.y+n.clientTop}else o&&(c.x=Z(o));return{x:a.left+i.scrollLeft-c.x,y:a.top+i.scrollTop-c.y,width:a.width,height:a.height}}function ne(e){return"html"===_(e)?e:e.assignedSlot||e.parentNode||(H(e)?e.host:null)||$(e)}function te(e){return W(e)&&"fixed"!==F(e).position?function(e){let{offsetParent:n}=e,t=e,r=!1;for(;t&&t!==n;){const{assignedSlot:e}=t;if(e){let o=e.offsetParent;if("contents"===F(e).display){const n=e.hasAttribute("style"),r=e.style.display;e.style.display=F(t).display,o=e.offsetParent,e.style.display=r,n||e.removeAttribute("style")}t=e,n!==o&&(n=o,r=!0)}else if(H(t)&&t.host&&r)break;t=H(t)&&t.host||t.parentNode}return n}(e):null}function re(e){const n=I(e);let t=te(e);for(;t&&V(t)&&"static"===F(t).position;)t=te(t);return t&&("html"===_(t)||"body"===_(t)&&"static"===F(t).position&&!Y(t))?n:t||function(e){let n=ne(e);for(H(n)&&(n=n.host);W(n)&&!["html","body"].includes(_(n));){if(Y(n))return n;{const e=n.parentNode;n=H(e)?e.host:e}}return null}(e)||n}function oe(e){if(W(e))return{width:e.offsetWidth,height:e.offsetHeight};const n=Q(e);return{width:n.width,height:n.height}}function ae(e,n){var t;void 0===n&&(n=[]);const r=function e(n){const t=ne(n);return["html","body","#document"].includes(_(t))?n.ownerDocument.body:W(t)&&N(t)?t:e(t)}(e),o=r===(null==(t=e.ownerDocument)?void 0:t.body),a=I(r),i=o?[a].concat(a.visualViewport||[],N(r)?r:[]):r,c=n.concat(i);return o?c:c.concat(ae(i))}function ie(e,n,t){return"viewport"===n?E(function(e,n){const t=I(e),r=$(e),o=t.visualViewport;let a=r.clientWidth,i=r.clientHeight,c=0,u=0;if(o){a=o.width,i=o.height;const e=U();(e||!e&&"fixed"===n)&&(c=o.offsetLeft,u=o.offsetTop)}return{width:a,height:i,x:c,y:u}}(e,t)):B(n)?function(e,n){const t=Q(e,!1,"fixed"===n),r=t.top+e.clientTop,o=t.left+e.clientLeft;return{top:r,left:o,x:o,y:r,right:o+e.clientWidth,bottom:r+e.clientHeight,width:e.clientWidth,height:e.clientHeight}}(n,t):E(function(e){var n;const t=$(e),r=J(e),o=null==(n=e.ownerDocument)?void 0:n.body,a=G(t.scrollWidth,t.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=G(t.scrollHeight,t.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0);let c=-r.scrollLeft+Z(e);const u=-r.scrollTop;return"rtl"===F(o||t).direction&&(c+=G(t.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:c,y:u}}($(e)))}function ce(e){const n=ae(e),t=["absolute","fixed"].includes(F(e).position)&&W(e)?re(e):e;return B(t)?n.filter(e=>B(e)&&function(e,n){const t=null==n.getRootNode?void 0:n.getRootNode();if(e.contains(n))return!0;if(t&&H(t)){let t=n;do{if(t&&e===t)return!0;t=t.parentNode||t.host}while(t)}return!1}(e,t)&&"body"!==_(e)):[]}const ue={getClippingRect:function(e){let{element:n,boundary:t,rootBoundary:r,strategy:o}=e;const a=[..."clippingAncestors"===t?ce(n):[].concat(t),r],i=a[0],c=a.reduce((e,t)=>{const r=ie(n,t,o);return e.top=G(r.top,e.top),e.right=K(r.right,e.right),e.bottom=K(r.bottom,e.bottom),e.left=G(r.left,e.left),e},ie(n,i,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:n,offsetParent:t,strategy:r}=e;const o=W(t),a=$(t);if(t===a)return n;let i={scrollLeft:0,scrollTop:0};const c={x:0,y:0};if((o||!o&&"fixed"!==r)&&(("body"!==_(t)||N(a))&&(i=J(t)),W(t))){const e=Q(t,!0);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}return{...n,x:n.x-i.scrollLeft+c.x,y:n.y-i.scrollTop+c.y}},isElement:B,getDimensions:oe,getOffsetParent:re,getDocumentElement:$,getElementRects:e=>{let{reference:n,floating:t,strategy:r}=e;return{reference:ee(n,re(t),r),floating:{...oe(t),x:0,y:0}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>"rtl"===F(e).direction};function le(e,n,t,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:i=!0,animationFrame:c=!1}=r,u=o&&!c,l=a&&!c,s=u||l?[...B(e)?ae(e):[],...ae(n)]:[];s.forEach(e=>{u&&e.addEventListener("scroll",t,{passive:!0}),l&&e.addEventListener("resize",t)});let d,f=null;if(i){let r=!0;f=new ResizeObserver(()=>{r||t(),r=!1}),B(e)&&!c&&f.observe(e),f.observe(n)}let p=c?Q(e):null;return c&&function n(){const r=Q(e);!p||r.x===p.x&&r.y===p.y&&r.width===p.width&&r.height===p.height||t();p=r,d=requestAnimationFrame(n)}(),t(),()=>{var e;s.forEach(e=>{u&&e.removeEventListener("scroll",t),l&&e.removeEventListener("resize",t)}),null==(e=f)||e.disconnect(),f=null,c&&cancelAnimationFrame(d)}}const se=(e,n,t)=>(async(e,n,t)=>{const{placement:r="bottom",strategy:o="absolute",middleware:a=[],platform:i}=t,c=await(null==i.isRTL?void 0:i.isRTL(n));let u=await i.getElementRects({reference:e,floating:n,strategy:o}),{x:l,y:s}=x(u,r,c),d=r,f={},p=0;for(let t=0;t<a.length;t++){const{name:h,fn:m}=a[t],{x:b,y:g,data:v,reset:y}=await m({x:l,y:s,initialPlacement:r,placement:d,strategy:o,middlewareData:f,rects:u,platform:i,elements:{reference:e,floating:n}});l=null!=b?b:l,s=null!=g?g:s,f={...f,[h]:{...f[h],...v}},y&&p<=50&&(p++,"object"==typeof y&&(y.placement&&(d=y.placement),y.rects&&(u=!0===y.rects?await i.getElementRects({reference:e,floating:n,strategy:o}):y.rects),({x:l,y:s}=x(u,d,c))),t=-1)}return{x:l,y:s,placement:d,strategy:o,middlewareData:f}})(e,n,{platform:ue,...t});var de=t(34),fe="undefined"!=typeof document?d.useLayoutEffect:d.useEffect;function pe(e,n){if(e===n)return!0;if(typeof e!=typeof n)return!1;if("function"==typeof e&&e.toString()===n.toString())return!0;let t,r,o;if(e&&n&&"object"==typeof e){if(Array.isArray(e)){if(t=e.length,t!=n.length)return!1;for(r=t;0!=r--;)if(!pe(e[r],n[r]))return!1;return!0}if(o=Object.keys(e),t=o.length,t!==Object.keys(n).length)return!1;for(r=t;0!=r--;)if(!Object.prototype.hasOwnProperty.call(n,o[r]))return!1;for(r=t;0!=r--;){const t=o[r];if(("_owner"!==t||!e.$$typeof)&&!pe(e[t],n[t]))return!1}return!0}return e!=e&&n!=n}function he(e){let{middleware:n,placement:t="bottom",strategy:r="absolute",whileElementsMounted:o}=void 0===e?{}:e;const[a,i]=d.useState({x:null,y:null,strategy:r,placement:t,middlewareData:{}}),[c,u]=d.useState(n);pe(null==c?void 0:c.map(e=>{let{name:n,options:t}=e;return{name:n,options:t}}),null==n?void 0:n.map(e=>{let{name:n,options:t}=e;return{name:n,options:t}}))||u(n);const l=d.useRef(null),s=d.useRef(null),f=d.useRef(null),p=d.useRef(a),h=function(e){const n=d.useRef(e);return fe(()=>{n.current=e}),n}(o),m=d.useCallback(()=>{l.current&&s.current&&se(l.current,s.current,{middleware:c,placement:t,strategy:r}).then(e=>{b.current&&!pe(p.current,e)&&(p.current=e,de.flushSync(()=>{i(e)}))})},[c,t,r]);fe(()=>{b.current&&m()},[m]);const b=d.useRef(!1);fe(()=>(b.current=!0,()=>{b.current=!1}),[]);const g=d.useCallback(()=>{if("function"==typeof f.current&&(f.current(),f.current=null),l.current&&s.current)if(h.current){const e=h.current(l.current,s.current,m);f.current=e}else m()},[m,h]),v=d.useCallback(e=>{l.current=e,g()},[g]),y=d.useCallback(e=>{s.current=e,g()},[g]),x=d.useMemo(()=>({reference:l,floating:s}),[]);return d.useMemo(()=>({...a,update:m,refs:x,reference:v,floating:y}),[a,m,x,v,y])}var me,be,ge=t(6),ve=t(35),ye=["source","children","spacing","fullWidth","placement","onReachEnd","intersectionId","centered"],xe=["top","top-start","top-end","right","right-start","right-end","bottom","bottom-start","bottom-end","left","left-start","left-end"],we=m()(ge.Box)(me||(me=s()(["\n box-shadow: ",";\n z-index: 4;\n border: 1px solid ",";\n background: ",";\n"])),(function(e){return e.theme.shadows.filterShadow}),(function(e){return e.theme.colors.neutral150}),(function(e){return e.theme.colors.neutral0})),Ee=m()(ge.Box)(be||(be=s()(["\n // 16 is base base size, 3 is the factor to get closer to 40px and 5 is the number of elements visible in the list\n max-height: ","rem;\n overflow-y: auto;\n overflow-x: hidden;\n\n &::-webkit-scrollbar {\n -webkit-appearance: none;\n width: 4px;\n }\n\n &::-webkit-scrollbar-track {\n background: ",";\n }\n\n &::-webkit-scrollbar-thumb {\n background: ",";\n border-radius: ",";\n margin-right: 10px;\n }\n"])),15,(function(e){return e.theme.colors.neutral0}),(function(e){return e.theme.colors.neutral150}),(function(e){return e.theme.borderRadius})),Oe=function(e){var n,t,r,a,c,l,s,f=e.source,p=e.children,h=e.spacing,m=e.fullWidth,g=e.placement,y=e.onReachEnd,x=e.intersectionId,w=e.centered,E=u()(e,ye),T=d.useRef(null),R=d.useState(void 0),k=i()(R,2),C=k[0],D=k[1],S=he({strategy:"fixed",placement:w?"bottom":g,middleware:[z({mainAxis:h}),(void 0===n&&(n={}),{name:"shift",options:n,async fn(e){const{x:t,y:r,placement:o}=e,{mainAxis:a=!0,crossAxis:i=!1,limiter:c={fn:e=>{let{x:n,y:t}=e;return{x:n,y:t}}},...u}=n,l={x:t,y:r},s=await O(e,u),d=v(b(o)),f=L(d);let p=l[d],h=l[f];if(a){const e="y"===d?"bottom":"right";p=j(p+s["y"===d?"top":"left"],p,p-s[e])}if(i){const e="y"===f?"bottom":"right";h=j(h+s["y"===f?"top":"left"],h,h-s[e])}const m=c.fn({...e,[d]:p,[f]:h});return{...m,data:{x:m.x-t,y:m.y-r}}}}),A()],whileElementsMounted:le}),P=S.x,M=S.y,I=S.reference,F=S.floating,_=S.strategy;return d.useLayoutEffect((function(){I(f.current)}),[f]),d.useLayoutEffect((function(){m&&D(f.current.offsetWidth)}),[m]),t=T,r=y,a={selectorToWatch:"#".concat(x),skipWhen:!x||!y},c=a.selectorToWatch,l=a.skipWhen,s=void 0!==l&&l,Object(d.useEffect)((function(){if(!s){var e={root:t.current,rootMargin:"0px"},n=new IntersectionObserver((function(e){e.forEach((function(e){e.isIntersecting&&t.current.scrollHeight>t.current.clientHeight&&r(e)}))}),e),o=t.current.querySelector(c);return n.observe(o),function(){n.disconnect()}}}),[s,r,c]),d.createElement(we,{ref:F,style:{left:P,top:M,position:_,width:C||void 0},hasRadius:!0,background:"neutral0",padding:1},d.createElement(Ee,o()({ref:T},E),p,x&&y&&d.createElement(ge.Box,{id:x,width:"100%",height:"1px"})))},Te=function(e){return d.createElement(ve.Portal,null,d.createElement(Oe,e))},Re={fullWidth:!1,intersectionId:void 0,onReachEnd:void 0,centered:!1,placement:"bottom-start"},je={centered:p.a.bool,children:p.a.node.isRequired,fullWidth:p.a.bool,intersectionId:p.a.string,onReachEnd:p.a.func,placement:p.a.oneOf(xe),source:p.a.shape({current:("undefined"==typeof Element?p.a.any:p.a.instanceOf(Element)).isRequired}).isRequired,spacing:p.a.number};Oe.propTypes=je,Oe.defaultProps=Re,Te.propTypes=je,Te.defaultProps=Re},function(e,n,t){"use strict";t.r(n),t.d(n,"BaseButtonWrapper",(function(){return v})),t.d(n,"BaseButton",(function(){return y}));var r,o=t(5),a=t.n(o),i=t(4),c=t.n(i),u=t(3),l=t.n(u),s=t(1),d=t.n(s),f=t(0),p=t.n(f),h=t(2),m=t.n(h),b=t(21),g=["disabled","children"],v=m.a.button(r||(r=l()(["\n display: flex;\n cursor: pointer;\n padding: ",";\n border-radius: ",";\n background: ",";\n border: 1px solid ",";\n svg {\n height: ",";\n width: ",";\n }\n svg {\n > g,\n path {\n fill: ",";\n }\n }\n &[aria-disabled='true'] {\n pointer-events: none;\n }\n\n ","\n"])),(function(e){return e.theme.spaces[2]}),(function(e){return e.theme.borderRadius}),(function(e){return e.theme.colors.neutral0}),(function(e){return e.theme.colors.neutral200}),(function(e){return e.theme.spaces[3]}),(function(e){return e.theme.spaces[3]}),(function(e){return e.theme.colors.neutral0}),b.a),y=d.a.forwardRef((function(e,n){var t=e.disabled,r=e.children,o=c()(e,g);return d.a.createElement(v,a()({ref:n,"aria-disabled":t,type:"button",disabled:t},o),r)}));y.displayName="BaseButton",y.defaultProps={disabled:!1},y.propTypes={children:p.a.node.isRequired,disabled:p.a.bool}},function(e,n,t){"use strict";t.r(n);var r=t(67);t.d(n,"RawTable",(function(){return r.a}));var o=t(62);t.d(n,"RawTh",(function(){return o.b})),t.d(n,"RawTd",(function(){return o.a}));var a=t(64);t.d(n,"RawThead",(function(){return a.a}));var i=t(65);t.d(n,"RawTbody",(function(){return i.a}));var c=t(66);t.d(n,"RawTr",(function(){return c.a}))},,,function(e,n,t){var r=t(23);e.exports=function(e){if(Array.isArray(e))return r(e)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,n){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.default=e.exports,e.exports.__esModule=!0},function(e,n){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},,,function(e,n){e.exports=i},,function(e,n,t){"use strict";t.d(n,"a",(function(){return o})),t.d(n,"b",(function(){return a}));var r=t(1),o=Object(r.createContext)({rowIndex:0,colIndex:0,setTableValues:function(){throw new Error("setTableValues must be initialized via the RawTableContext.Provider")}}),a=function(){return Object(r.useContext)(o)}},function(e,n,t){"use strict";t.r(n),t.d(n,"ButtonWrapper",(function(){return S})),t.d(n,"Button",(function(){return P}));var r,o,a,i,c=t(5),u=t.n(c),l=t(4),s=t.n(l),d=t(3),f=t.n(d),p=t(1),h=t.n(p),m=t(0),b=t.n(m),g=t(2),v=t.n(g),y=t(51),x=t.n(y),w=t(8),E=t(6),O=t(37),T=t(18),R=t(42),j=["variant","startIcon","endIcon","disabled","children","onClick","size","loading","fullWidth"],k=Object(g.keyframes)(r||(r=f()(["\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(359deg);\n }\n"]))),C=v.a.div(o||(o=f()(["\n animation: "," 2s infinite linear;\n will-change: transform;\n"])),k),D=v()(E.Box)(a||(a=f()(["\n height: 100%;\n"]))),S=v()(R.BaseButton)(i||(i=f()(["\n align-items: center;\n padding: ",";\n background: ",";\n border: 1px solid ",";\n "," {\n display: flex;\n align-items: center;\n }\n "," {\n color: ",";\n }\n &[aria-disabled='true'] {\n ","\n &:active {\n ","\n }\n }\n &:hover {\n ","\n }\n &:active {\n ","\n }\n ","\n ","\n"])),(function(e){var n=e.theme,t=e.size;return"".concat("S"===t?n.spaces[2]:"10px"," ").concat(n.spaces[4])}),(function(e){return e.theme.colors.buttonPrimary600}),(function(e){return e.theme.colors.buttonPrimary600}),E.Box,w.Typography,(function(e){return e.theme.colors.buttonNeutral0}),O.b,O.b,O.c,O.a,O.d,(function(e){return e.fullWidth&&"\n display: inline-flex;\n justify-content: center;\n width: 100%;\n "})),P=h.a.forwardRef((function(e,n){var t=e.variant,r=e.startIcon,o=e.endIcon,a=e.disabled,i=e.children,c=e.onClick,l=e.size,d=e.loading,f=e.fullWidth,p=s()(e,j),m=a||d;return h.a.createElement(S,u()({ref:n,"aria-disabled":m,disabled:m,size:l,variant:t,onClick:function(e){!m&&c&&c(e)},fullWidth:f},p),(r||d)&&h.a.createElement(D,{"aria-hidden":!0,paddingRight:2},d?h.a.createElement(C,null,h.a.createElement(x.a,null)):r),"S"===l?h.a.createElement(w.Typography,{variant:"pi",fontWeight:"bold"},i):h.a.createElement(w.Typography,{fontWeight:"bold"},i),o&&h.a.createElement(E.Box,{"aria-hidden":!0,paddingLeft:2},o))}));P.displayName="Button",P.defaultProps={disabled:!1,endIcon:void 0,fullWidth:!1,loading:!1,onClick:void 0,size:"S",startIcon:void 0,variant:"default"},P.propTypes={children:b.a.node.isRequired,disabled:b.a.bool,endIcon:b.a.element,fullWidth:b.a.bool,loading:b.a.bool,onClick:b.a.func,size:b.a.oneOf(T.a),startIcon:b.a.element,variant:b.a.oneOf(T.k)}},,,function(e,n,t){"use strict";t.r(n),t.d(n,"FocusTrap",(function(){return h}));var r=t(5),o=t.n(r),a=t(4),i=t.n(a),c=t(1),u=t.n(c),l=t(0),s=t.n(l),d=t(33),f=t(12),p=["onEscape","restoreFocus"],h=function(e){var n=e.onEscape,t=e.restoreFocus,r=i()(e,p),a=Object(c.useRef)(null);Object(c.useEffect)((function(){if(t){var e=document.activeElement;return function(){e.focus()}}}),[t]),Object(c.useEffect)((function(){if(a.current){var e=Object(d.a)(a.current);if(e.length>0)e[0].focus();else console.warn("[FocusTrap]: it seems there are no focusable elements in the focus trap tree. Make sure there s at least one.")}}),[]);return u.a.createElement("div",o()({ref:a,onKeyDown:function(e){if(e.key===f.a.ESCAPE&&n)return n();if(e.key===f.a.TAB){var t=Object(d.a)(a.current);if(t.length>0){var r=t[0],o=t[t.length-1];e.shiftKey?r===document.activeElement&&(e.preventDefault(),o.focus()):o===document.activeElement&&(e.preventDefault(),r.focus())}}}},r))};h.defaultProps={restoreFocus:!0},h.propTypes={onEscape:s.a.func,restoreFocus:s.a.bool}},,,function(e,n,t){"use strict";t.r(n),t.d(n,"MenuItem",(function(){return N})),t.d(n,"SimpleMenu",(function(){return V}));var r,o,a,i,c=t(16),u=t.n(c),l=t(11),s=t.n(l),d=t(5),f=t.n(d),p=t(19),h=t.n(p),m=t(4),b=t.n(m),g=t(3),v=t.n(g),y=t(1),x=t.n(y),w=t(0),E=t.n(w),O=t(2),T=t.n(O),R=t(36),j=t.n(R),k=t(40),C=t(8),D=t(6),S=t(10),P=t(54),A=t(41),z=function(e){var n=e.theme;return"\n text-align: left;\n width: 100%;\n color: ".concat(n.colors.neutral800,";\n border-radius: ").concat(n.borderRadius,";\n &:focus {\n background-color: ").concat(n.colors.primary100,";\n }\n &:not([aria-disabled]):hover {\n background-color: ").concat(n.colors.primary100,";\n }\n")},L=t(15),M=t(12),I=["children","onClick","to","isFocused"],F=["label","children","id","as","onOpen","onClose","size","popoverPlacement"];function _(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}var q=T.a.button(r||(r=v()(["\n border: none;\n padding: 0;\n background: transparent;\n cursor: pointer;\n ","\n"])),z),W=T()(k.NavLink)(o||(o=v()(["\n text-decoration: none;\n ","\n"])),z),B=T.a.span(a||(a=v()(["\n display: flex;\n align-items: center;\n svg {\n height: 4px;\n width: 6px;\n }\n"]))),H=T()(P.Button)(i||(i=v()(["\n padding: ",";\n"])),(function(e){var n=e.theme;return"".concat(n.spaces[1]," ").concat(n.spaces[3])})),N=function(e){var n=e.children,t=e.onClick,r=e.to,o=e.isFocused,a=b()(e,I),i=Object(y.useRef)();Object(y.useEffect)((function(){o&&i.current&&i.current.focus()}),[o]);var c=function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?_(Object(t),!0).forEach((function(n){h()(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):_(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}({tabIndex:o?0:-1,ref:i,role:"menuitem"},a);return r?x.a.createElement(W,f()({to:r},c),x.a.createElement(D.Box,{padding:2},x.a.createElement(C.Typography,null,n))):x.a.createElement(q,f()({onKeyDown:function(e){e.key!==M.a.SPACE&&e.key!==M.a.ENTER||t()},onMouseDown:t,type:"button"},c),x.a.createElement(D.Box,{padding:2},x.a.createElement(C.Typography,null,n)))};N.defaultProps={onClick:function(){},isFocused:!1,to:void 0},N.propTypes={as:E.a.elementType,children:E.a.node.isRequired,isFocused:E.a.bool,onClick:E.a.func,to:E.a.string};var V=function(e){var n=e.label,t=e.children,r=e.id,o=e.as,a=e.onOpen,i=void 0===a?function(){}:a,c=e.onClose,l=void 0===c?function(){}:c,d=e.size,p=e.popoverPlacement,h=b()(e,F),m=Object(y.useRef)(),g=Object(L.a)("simplemenu",r),v=Object(y.useRef)(!1),w=Object(y.useState)(!1),E=s()(w,2),O=E[0],T=E[1],R=Object(y.useState)(0),k=s()(R,2),C=k[0],z=k[1],I=y.Children.toArray(t),_="S"===d?H:P.Button,q=o||_;Object(y.useEffect)((function(){if(["string","number"].includes(u()(n))){var e=I.findIndex((function(e){return e.props.children===n}));-1!==e&&z(e)}}),[n]),Object(y.useEffect)((function(){null!=v&&v.current?O&&"function"==typeof i?i():"function"==typeof l&&l():v.current=!0}),[v,O]),Object(y.useEffect)((function(){x.a.isValidElement(n)&&-1==C&&m.current.focus()}),[n,C]);var W=I.map((function(e,n){return x.a.createElement(S.Flex,{as:"li",key:n,justifyContent:"center",role:"menuitem"},Object(y.cloneElement)(e,{onClick:function(){e.props.onClick(),T(!1),m.current.focus()},isFocused:C===n}))}));return x.a.createElement("div",{onKeyDown:function(e){O&&(e.key===M.a.ESCAPE&&(e.stopPropagation(),T(!1),m.current.focus()),e.key===M.a.DOWN&&z((function(e){return e===I.length-1?0:e+1})),e.key===M.a.UP&&z((function(e){return 0===e?I.length-1:e-1})))}},x.a.createElement(q,f()({label:x.a.isValidElement(n)?null:n,"aria-haspopup":!0,"aria-expanded":O,"aria-controls":g,onKeyDown:function(e){e.key!==M.a.ENTER&&e.key!==M.a.SPACE||T((function(e){return!e}))},onMouseDown:function(e){e.preventDefault(),T((function(e){return!e}))},ref:m,type:"button",variant:"ghost",endIcon:x.a.createElement(B,null,x.a.createElement(j.a,{"aria-hidden":!0}))},h),n),O&&x.a.createElement(A.Popover,{onBlur:function(e){e.preventDefault(),e.currentTarget.contains(e.relatedTarget)||T(!1)},placement:p,source:m,spacing:4},x.a.createElement(D.Box,{role:"menu",as:"ul",padding:1,id:g},W)))};V.defaultProps={as:void 0},V.displayName="SimpleMenu",V.defaultProps={popoverPlacement:"bottom-start",size:"M"},V.propTypes={as:E.a.any,children:E.a.oneOfType([E.a.arrayOf(E.a.node),E.a.node]).isRequired,id:E.a.string,label:E.a.oneOfType([E.a.string,E.a.number,E.a.element]).isRequired,onClose:E.a.func,onOpen:E.a.func,popoverPlacement:E.a.oneOf(A.POPOVER_PLACEMENTS),size:E.a.oneOf(["S","M"])}},,function(e,n,t){"use strict";t.d(n,"b",(function(){return E})),t.d(n,"a",(function(){return O}));var r,o,a=t(19),i=t.n(a),c=t(11),u=t.n(c),l=t(4),s=t.n(l),d=t(5),f=t.n(d),p=t(1),h=t.n(p),m=t(0),b=t.n(m),g=t(6),v=t(33),y=t(12),x=t(53),w=["coords","as"],E=function(e){return h.a.createElement(O,f()({},e,{as:"th"}))},O=function(e){var n=e.coords,t=e.as,r=s()(e,w),o=Object(p.useRef)(null),a=Object(x.b)(),i=a.rowIndex,c=a.colIndex,l=a.setTableValues,d=Object(p.useState)(!1),m=u()(d,2),b=m[0],E=m[1],O=i===n.row-1&&c===n.col-1;return Object(p.useLayoutEffect)((function(){var e=Object(v.a)(o.current,!0);0===e.length||1===e.length&&0!==Object(v.b)(e).length||e.length>1&&Boolean(e.find((function(e){return"BUTTON"!==e.tagName})))?(o.current.setAttribute("tabIndex",!b&&O?0:-1),e.forEach((function(e,n){e.setAttribute("tabIndex",b?0:-1),b&&0===n&&e.focus()}))):e.forEach((function(e){e.setAttribute("tabIndex",O?0:-1)}))}),[b,O]),Object(p.useLayoutEffect)((function(){var e=Object(v.a)(o.current,!0),t=function(){e.length>=1&&(0!==Object(v.b)(e).length||!Boolean(e.find((function(e){return"BUTTON"!==e.tagName}))))&&E(!0),l({rowIndex:n.row-1,colIndex:n.col-1})};return e.forEach((function(e){e.addEventListener("focus",t)})),function(){Object(v.a)(o.current,!0).forEach((function(e){e.removeEventListener("focus",t)}))}}),[]),h.a.createElement(g.Box,f()({as:t||"td",ref:o,onKeyDown:function(e){var n=Object(v.a)(o.current,!0);if(0!==n.length&&(1!==n.length||0!==Object(v.b)(n).length))if(n.length>1&&!Boolean(n.find((function(e){return"BUTTON"!==e.tagName})))){e.preventDefault();var t=n.findIndex((function(e){return e===document.activeElement}));if(e.key===y.a.RIGHT){var r=n[t+1];r&&(e.stopPropagation(),r.focus())}else if(e.key===y.a.LEFT){var a=n[t-1];a&&(e.stopPropagation(),a.focus())}}else e.key!==y.a.ENTER||b?e.key!==y.a.ESCAPE&&e.key!==y.a.ENTER||!b?b&&e.stopPropagation():(E(!1),o.current.focus()):E(!0)}},r))};E.defaultProps={coords:{}},E.propTypes=(r={},i()(r,"aria-colindex",b.a.number.isRequired),i()(r,"children",b.a.node),i()(r,"coords",b.a.shape({col:b.a.number,row:b.a.number})),r),O.defaultProps={coords:{}},O.propTypes=(o={},i()(o,"aria-colindex",b.a.number.isRequired),i()(o,"as",b.a.oneOf(["td","th"])),i()(o,"children",b.a.node),i()(o,"coords",b.a.shape({col:b.a.number,row:b.a.number})),o)},,function(e,n,t){"use strict";t.d(n,"a",(function(){return s}));var r=t(4),o=t.n(r),a=t(1),i=t.n(a),c=t(0),u=t.n(c),l=["children"],s=function(e){var n=e.children,t=o()(e,l),r=a.Children.toArray(n).map((function(e){return Object(a.cloneElement)(e,{"aria-rowindex":1})}));return i.a.createElement("thead",t,r)};s.propTypes={children:u.a.node.isRequired}},function(e,n,t){"use strict";t.d(n,"a",(function(){return s}));var r=t(4),o=t.n(r),a=t(1),i=t.n(a),c=t(0),u=t.n(c),l=["children"],s=function(e){var n=e.children,t=o()(e,l),r=a.Children.toArray(n).map((function(e,n){return Object(a.cloneElement)(e,{"aria-rowindex":n+2})}));return i.a.createElement("tbody",t,r)};s.propTypes={children:u.a.node.isRequired}},function(e,n,t){"use strict";t.d(n,"a",(function(){return b}));var r,o=t(19),a=t.n(o),i=t(5),c=t.n(i),u=t(4),l=t.n(u),s=t(1),d=t.n(s),f=t(0),p=t.n(f),h=t(6),m=["children"],b=function(e){var n=e.children,t=l()(e,m),r=s.Children.toArray(n).map((function(e,n){return Object(s.cloneElement)(e,{"aria-colindex":n+1,coords:{col:n+1,row:t["aria-rowindex"]}})}));return d.a.createElement(h.Box,c()({as:"tr"},t),r)};b.propTypes=(r={},a()(r,"aria-rowindex",p.a.number.isRequired),a()(r,"children",p.a.node.isRequired),r)},function(e,n,t){"use strict";t.d(n,"a",(function(){return b}));var r=t(5),o=t.n(r),a=t(11),i=t.n(a),c=t(4),u=t.n(c),l=t(1),s=t.n(l),d=t(0),f=t.n(d),p=t(53),h=t(12),m=["colCount","rowCount","jumpStep","initialCol","initialRow"],b=function(e){var n=e.colCount,t=e.rowCount,r=e.jumpStep,a=e.initialCol,c=e.initialRow,d=u()(e,m),f=Object(l.useRef)(null),b=Object(l.useRef)(!1),g=Object(l.useState)(c),v=i()(g,2),y=v[0],x=v[1],w=Object(l.useState)(a),E=i()(w,2),O=E[0],T=E[1],R=Object(l.useCallback)((function(e){var n=e.colIndex,t=e.rowIndex;T(n),x(t)}),[]);Object(l.useEffect)((function(){var e,n;b.current&&(e=f.current,(n=e.querySelector('[tabindex="0"]'))&&n.focus()),b.current||(b.current=!0)}),[O,y]);return s.a.createElement(p.a.Provider,{value:{rowIndex:y,colIndex:O,setTableValues:R}},s.a.createElement("table",o()({ref:f,"aria-rowcount":t,"aria-colcount":n,onKeyDown:function(e){switch(e.key){case h.a.RIGHT:e.preventDefault(),T((function(e){return e<n-1?e+1:e}));break;case h.a.LEFT:e.preventDefault(),T((function(e){return e>0?e-1:e}));break;case h.a.UP:e.preventDefault(),x((function(e){return e>0?e-1:e}));break;case h.a.DOWN:e.preventDefault(),x((function(e){return e<t-1?e+1:e}));break;case h.a.HOME:e.preventDefault(),e.ctrlKey&&x(0),T(0);break;case h.a.END:e.preventDefault(),e.ctrlKey&&x(t-1),T(n-1);break;case h.a.PAGE_DOWN:e.preventDefault(),x((function(e){return e+r<t?e+r:t-1}));break;case h.a.PAGE_UP:e.preventDefault(),x((function(e){return e-r>0?e-r:0}))}}},d)))};b.defaultProps={jumpStep:3,initialCol:0,initialRow:0},b.propTypes={colCount:f.a.number.isRequired,initialCol:f.a.number,initialRow:f.a.number,jumpStep:f.a.number,rowCount:f.a.number.isRequired}},,,,,function(e,n,t){"use strict";t.d(n,"a",(function(){return r}));var r=function(){return"undefined"==typeof navigator?"en-EN":navigator.language?navigator.language:navigator.userLanguage?navigator.userLanguage:"en-EN"}},,,,,,,,function(e,n,t){"use strict";t.r(n),t.d(n,"TextInput",(function(){return b}));var r=t(5),o=t.n(r),a=t(4),i=t.n(a),c=t(1),u=t.n(c),l=t(0),s=t.n(l),d=t(17),f=t(22),p=t(31),h=t(15),m=["size","startAction","endAction","name","hint","error","label","labelAction","id","required"],b=u.a.forwardRef((function(e,n){var t=e.size,r=e.startAction,a=e.endAction,l=e.name,s=e.hint,p=e.error,b=e.label,g=e.labelAction,v=e.id,y=e.required,x=i()(e,m),w=Object(h.a)("textinput",v),E=Object(c.useRef)(null);if(!b&&!x["aria-label"])throw new Error('The TextInput component needs a "label" or an "aria-label" props');return Object(c.useImperativeHandle)(n,(function(){return{inputWrapperRef:E}})),u.a.createElement("div",{ref:E},u.a.createElement(d.Field,{name:l,hint:s,error:p,id:w},u.a.createElement(f.Stack,{spacing:1},b&&u.a.createElement(d.FieldLabel,{required:y,action:g},b),u.a.createElement(d.FieldInput,o()({size:t,ref:n,startAction:r,endAction:a},x)),u.a.createElement(d.FieldHint,null),u.a.createElement(d.FieldError,null))))}));b.displayName="TextInput",b.defaultProps={"aria-label":void 0,label:void 0,labelAction:void 0,error:void 0,hint:void 0,id:void 0,startAction:void 0,size:"M",endAction:void 0,required:!1},b.propTypes={"aria-label":s.a.string,endAction:s.a.element,error:s.a.oneOfType([s.a.string,s.a.bool]),hint:s.a.oneOfType([s.a.string,s.a.node,s.a.arrayOf(s.a.node)]),id:s.a.string,label:s.a.string,labelAction:s.a.element,name:s.a.string.isRequired,required:s.a.bool,size:s.a.oneOf(Object.keys(p.a.input)),startAction:s.a.element}},,,,,function(e,n,t){"use strict";t.r(n),t.d(n,"DatePicker",(function(){return ne}));var r,o,a,i,c,u,l=t(5),s=t.n(l),d=t(11),f=t.n(d),p=t(4),h=t.n(p),m=t(1),b=t.n(m),g=t(0),v=t.n(g),y=t(89),x=t.n(y),w=t(39),E=t.n(w),O=t(31),T=t(80),R=t(3),j=t.n(R),k=t(2),C=t.n(k),D=t(38),S=t(41),P=t(6),A=C()(S.Popover)(r||(r=j()(["\n max-height: ","rem;\n overflow: hidden;\n"])),18),z=C.a.button(o||(o=j()(["\n border: none;\n background: transparent;\n border-radius: ",";\n cursor: ",";\n\n & svg path {\n fill: ",";\n }\n"])),(function(e){return e.theme.borderRadius}),(function(e){return e["aria-disabled"]?"not-allowed":void 0}),(function(e){return e.theme.colors.neutral500})),L=C.a.div(a||(a=j()(["\n ","\n"])),(function(e){var n=e.bold,t=e.theme;return n?"& ".concat(D.b," {\n border: 1px solid ").concat(t.colors.primary600,";\n}"):void 0})),M=C()(P.Box)(i||(i=j()(["\n background: transparent;\n border: none;\n position: relative;\n z-index: 1;\n\n svg {\n height: ","rem;\n width: ","rem;\n }\n\n svg path {\n fill: ",";\n }\n"])),11/16,11/16,(function(e){return e.theme.colors.neutral600})),I=t(20),F=t(60),_=t(10),q=t(43),W=t(8),B=["children"],H=C()(q.RawTh)(c||(c=j()(["\n // Trick to prevent the outline from overflowing because of the general outline-offset\n outline-offset: -2px;\n border-radius: ",";\n text-transform: capitalize;\n"])),(function(e){return e.theme.borderRadius})),N=C()(_.Flex)(u||(u=j()(["\n height: ","rem;\n width: ","rem;\n"])),1.5,2),V=function(e){var n=e.children,t=h()(e,B);return b.a.createElement(H,t,b.a.createElement(N,{justifyContent:"center"},b.a.createElement(W.Typography,{variant:"pi",fontWeight:"bold",color:"neutral800","aria-hidden":!0},n.substr(0,2)),b.a.createElement(I.VisuallyHidden,null,b.a.createElement("span",null,n))))};V.propTypes={children:v.a.string.isRequired};var Y,U=["children","outsideMonth","onSelectDay","isSelected"],K=C.a.button(Y||(Y=j()(["\n border: none;\n background: ",";\n height: ","rem;\n text-align: center;\n width: ","rem;\n border-radius: ",";\n\n // Trick to prevent the outline from overflowing because of the general outline-offset\n outline-offset: -2px;\n\n &:hover {\n background: ",";\n }\n\n &:hover > "," {\n color: ",";\n }\n"])),(function(e){var n=e.theme;return e.isSelected?n.colors.primary100:n.colors.neutral0}),2,2,(function(e){return e.theme.borderRadius}),(function(e){return e.theme.colors.primary100}),W.Typography,(function(e){return e.theme.colors.primary600})),G=function(e){var n=e.children,t=e.outsideMonth,r=e.onSelectDay,o=e.isSelected,a=h()(e,U),i=o?"primary600":t?"neutral600":"neutral900";return b.a.createElement(q.RawTd,a,b.a.createElement(K,{tabIndex:-1,onClick:r,isSelected:o,type:"button"},b.a.createElement(W.Typography,{variant:"pi",textColor:i,fontWeight:o?"bold":null},n)))};G.defaultProps={isSelected:!1,outsideMonth:!1},G.propTypes={children:v.a.node.isRequired,isSelected:v.a.bool,onSelectDay:v.a.func.isRequired,outsideMonth:v.a.bool};var X=t(57),Q=function(e,n){return new Intl.DateTimeFormat(n).format(e)},$=function(e){var n,t=e.selectedDate,r=e.initialDate,o=e.popoverSource,a=e.onChange,i=e.label,c=e.minDate,u=e.maxDate,l=e.onEscape,s=Object(m.useState)(r),d=f()(s,2),p=d[0],h=d[1],g=function(e,n){for(var t,r,o,a=new Date(e.getFullYear(),e.getMonth(),1),i=new Date(e.getFullYear(),e.getMonth()+1,0).getDate(),c=new Date(e.getFullYear(),e.getMonth(),0).getDate(),u=a.getDay(),l=i+u,s=[],d=0,f=0,p=0,h=0;h<42;h++)h>6&&h%7==0&&p++,s[p]||(s[p]=[]),t=h<u?{date:new Date(e.getFullYear(),e.getMonth()-1,c-u+h+1),outsideMonth:!0}:h<l?{date:new Date(e.getFullYear(),e.getMonth(),h-u+1)}:{date:new Date(e.getFullYear(),e.getMonth()+1,h-u-i+1),outsideMonth:!0},r=n,o=t.date,r&&o&&r.getFullYear()===o.getFullYear()&&r.getMonth()===o.getMonth()&&r.getDate()===o.getDate()&&(d=p+1,f=s[p].length,t.isSelected=!0),s[p].push(t);return[s,d,f]}(p,t),v=f()(g,3),y=v[0],x=v[1],w=v[2],E=function(){var e=new Intl.DateTimeFormat(void 0,{weekday:"long"}).format,n=new Date(1970,0,1),t=new Date(1970,0,2),r=new Date(1970,0,3),o=new Date(1970,0,4),a=new Date(1970,0,5),i=new Date(1970,0,6),c=new Date(1970,0,7);return{sun:e(o),mon:e(a),tue:e(i),wed:e(c),thu:e(n),fri:e(t),sat:e(r)}}(),O=E.sun,T=E.mon,R=E.tue,j=E.wed,k=E.thu,C=E.fri,D=E.sat,S=(n=new Intl.DateTimeFormat(void 0,{month:"long"}).format,Array(12).fill(null).map((function(e,t){return n(new Date(1970,t,1))}))),z=function(e,n){for(var t,r,o=(new Date).getFullYear(),a=null!==(t=null==e?void 0:e.getFullYear())&&void 0!==t?t:parseInt(o,10)-200,i=null!==(r=null==n?void 0:n.getFullYear())&&void 0!==r?r:parseInt(o,10)+15,c=[],u=a;u<=i;u++)c.push(u);return c}(c,u);Object(m.useEffect)((function(){t&&h(t)}),[t]);return b.a.createElement(A,{source:o,role:"dialog","aria-modal":"true","aria-label":i,spacing:4},b.a.createElement(X.FocusTrap,{onEscape:l},b.a.createElement(P.Box,{padding:4},b.a.createElement(P.Box,{paddingBottom:4,paddingLeft:2,paddingRight:2},b.a.createElement(_.Flex,null,b.a.createElement(F.SimpleMenu,{label:S[p.getMonth()]},S.map((function(e){return b.a.createElement(F.MenuItem,{key:e,onClick:function(){return function(e){var n=new Date(p);n.setMonth(S.indexOf(e)),h(n)}(e)}},e)}))),b.a.createElement(P.Box,{paddingLeft:2},b.a.createElement(F.SimpleMenu,{label:p.getFullYear()},z.map((function(e){return b.a.createElement(F.MenuItem,{key:e,onClick:function(){return function(e){var n=new Date(p);n.setFullYear(e),h(n)}(e)}},e)})))))),b.a.createElement(q.RawTable,{colCount:7,rowCount:y.length+1,initialCol:w,initialRow:x,role:"grid"},b.a.createElement(q.RawThead,null,b.a.createElement(q.RawTr,{"aria-rowindex":1},b.a.createElement(V,null,O),b.a.createElement(V,null,T),b.a.createElement(V,null,R),b.a.createElement(V,null,j),b.a.createElement(V,null,k),b.a.createElement(V,null,C),b.a.createElement(V,null,D))),b.a.createElement(q.RawTbody,null,y.map((function(e,n){return b.a.createElement(q.RawTr,{key:"week-".concat(n)},e.map((function(e){var n=e.date,t=e.outsideMonth,r=e.isSelected;return b.a.createElement(G,{key:"".concat(n.getFullYear(),"-").concat(n.getMonth()+1,"-").concat(n.getDate()),outsideMonth:t,onSelectDay:function(){return a(n)},isSelected:r},b.a.createElement("span",{"aria-hidden":!0},n.getDate()),b.a.createElement(I.VisuallyHidden,null,b.a.createElement("span",null,Q(n))))})))})))))))};$.defaultProps={selectedDate:void 0,initialDate:new Date},$.propTypes={initialDate:v.a.instanceOf(Date),label:v.a.string.isRequired,maxDate:v.a.instanceOf(Date),minDate:v.a.instanceOf(Date),onChange:v.a.func.isRequired,onEscape:v.a.func.isRequired,popoverSource:v.a.shape({current:("undefined"==typeof Element?v.a.any:v.a.instanceOf(Element)).isRequired}).isRequired,selectedDate:v.a.instanceOf(Date)};var J=t(15),Z=t(72),ee=["ariaLabel","initialDate","selectedDate","onChange","label","locale","selectedDateLabel","onClear","clearLabel","disabled","id"],ne=function(e){var n=e.ariaLabel,t=e.initialDate,r=e.selectedDate,o=e.onChange,a=e.label,i=e.locale,c=e.selectedDateLabel,u=e.onClear,l=e.clearLabel,d=e.disabled,p=e.id,g=h()(e,ee),v=Object(J.a)("datepicker",p),y=Object(m.useState)(!1),w=f()(y,2),O=w[0],R=w[1],j=Object(m.useRef)(null),k=Object(m.useRef)(null),C=i||Object(Z.a)(),D=r?Q(r,C):"",S=function(){d||R((function(e){return!e}))};return b.a.createElement(L,{bold:O},b.a.createElement(T.TextInput,s()({ref:j,onClick:S,onChange:function(){},value:D,startAction:b.a.createElement(z,{ref:k,onClick:S,"aria-label":r?c(Q(r,C)):a||n,type:"button","aria-disabled":d},b.a.createElement(x.a,{"aria-hidden":!0})),endAction:u&&D?b.a.createElement(M,{as:"button",onClick:function(){d||(u(),k.current.focus())},"aria-label":l,"aria-disabled":d},b.a.createElement(E.a,null)):void 0,"aria-autocomplete":"none",label:a,"aria-label":n,disabled:d,id:v},g)),j.current&&j.current.inputWrapperRef&&O&&b.a.createElement($,{selectedDate:r,initialDate:t,onChange:function(e){o(e),R(!1)},onEscape:function(){R(!1)},popoverSource:j.current.inputWrapperRef,label:a||n}))};ne.defaultProps={ariaLabel:void 0,clearLabel:void 0,disabled:!1,id:void 0,label:void 0,initialDate:new Date,onClear:void 0,placeholder:void 0,selectedDate:void 0,size:"M"},ne.propTypes={ariaLabel:v.a.string,clearLabel:v.a.string,disabled:v.a.bool,id:v.a.string,initialDate:v.a.instanceOf(Date),label:v.a.string,locale:v.a.string,maxDate:v.a.instanceOf(Date),minDate:v.a.instanceOf(Date),onChange:v.a.func.isRequired,onClear:v.a.func,placeholder:v.a.string,selectedDate:v.a.instanceOf(Date),selectedDateLabel:v.a.func.isRequired,size:v.a.oneOf(Object.keys(O.a.input))}},,,,function(e,n){e.exports=c}])}));
|