@strapi/design-system 1.18.0 → 2.0.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/README.md +2 -2
- package/dist/Accordion/Accordion.d.ts +56 -0
- package/dist/Accordion/AccordionContent.d.ts +3 -0
- package/dist/Accordion/AccordionContext.d.ts +13 -0
- package/dist/Accordion/AccordionGroup.d.ts +10 -0
- package/dist/Accordion/AccordionToggle.d.ts +22 -0
- package/dist/Accordion/index.d.ts +4 -0
- package/dist/Accordion/utils.d.ts +7 -0
- package/dist/Alert/Alert.d.ts +34 -0
- package/dist/Alert/index.d.ts +1 -0
- package/dist/Alert/utils.d.ts +10 -0
- package/dist/Avatar/Avatar.d.ts +22 -0
- package/dist/Avatar/AvatarGroup.d.ts +1 -0
- package/dist/Avatar/constants.d.ts +2 -0
- package/dist/Avatar/index.d.ts +2 -0
- package/dist/Badge/Badge.d.ts +13 -0
- package/dist/Badge/index.d.ts +1 -0
- package/dist/BaseButton/BaseButton.d.ts +52 -0
- package/dist/BaseButton/index.d.ts +1 -0
- package/dist/BaseCheckbox/BaseCheckbox.d.ts +27 -0
- package/dist/BaseCheckbox/index.d.ts +1 -0
- package/dist/BaseCheckbox/utils.d.ts +7 -0
- package/dist/BaseLink/BaseLink.d.ts +50 -0
- package/dist/BaseLink/index.d.ts +1 -0
- package/dist/BaseRadio/BaseRadio.d.ts +6 -0
- package/dist/BaseRadio/RadioGroup.d.ts +12 -0
- package/dist/BaseRadio/context.d.ts +9 -0
- package/dist/BaseRadio/index.d.ts +2 -0
- package/dist/BaseRadio/utils.d.ts +4 -0
- package/dist/Box/Box.d.ts +97 -0
- package/dist/Box/index.d.ts +1 -0
- package/dist/Breadcrumbs/Breadcrumbs.d.ts +8 -0
- package/dist/Breadcrumbs/Crumb.d.ts +8 -0
- package/dist/Breadcrumbs/CrumbLink.d.ts +5 -0
- package/dist/Breadcrumbs/CrumbSimpleMenu.d.ts +11 -0
- package/dist/Breadcrumbs/Divider.d.ts +4 -0
- package/dist/Breadcrumbs/index.d.ts +4 -0
- package/dist/Button/Button.d.ts +61 -0
- package/dist/Button/constants.d.ts +13 -0
- package/dist/Button/index.d.ts +1 -0
- package/dist/Button/utils.d.ts +18 -0
- package/dist/Card/Card.d.ts +5 -0
- package/dist/Card/CardAction.d.ts +55 -0
- package/dist/Card/CardAsset.d.ts +7 -0
- package/dist/Card/CardBadge.d.ts +3 -0
- package/dist/Card/CardBody.d.ts +3 -0
- package/dist/Card/CardCheckbox.d.ts +3 -0
- package/dist/Card/CardContent.d.ts +6 -0
- package/dist/Card/CardContext.d.ts +7 -0
- package/dist/Card/CardHeader.d.ts +3 -0
- package/dist/Card/CardTimer.d.ts +6 -0
- package/dist/Card/CardTitle.d.ts +5 -0
- package/dist/Card/index.d.ts +10 -0
- package/dist/CarouselInput/Carousel.d.ts +15 -0
- package/dist/CarouselInput/CarouselActions.d.ts +10 -0
- package/dist/CarouselInput/CarouselImage.d.ts +6 -0
- package/dist/CarouselInput/CarouselInput.d.ts +9 -0
- package/dist/CarouselInput/CarouselSlide.d.ts +7 -0
- package/dist/CarouselInput/index.d.ts +5 -0
- package/dist/Checkbox/Checkbox.d.ts +9 -0
- package/dist/Checkbox/index.d.ts +1 -0
- package/dist/Combobox/Combobox.d.ts +60 -0
- package/dist/Combobox/ComboboxList.d.ts +10 -0
- package/dist/Combobox/ComboboxOption.d.ts +3 -0
- package/dist/Combobox/index.d.ts +3 -0
- package/dist/DatePicker/DatePicker.d.ts +78 -0
- package/dist/DatePicker/index.d.ts +2 -0
- package/dist/DateTimePicker/DateTimePicker.d.ts +32 -0
- package/dist/DateTimePicker/index.d.ts +1 -0
- package/dist/DesignSystemProvider.d.ts +10 -0
- package/dist/Dialog/Dialog.d.ts +7 -0
- package/dist/Dialog/DialogBody.d.ts +6 -0
- package/dist/Dialog/DialogFooter.d.ts +6 -0
- package/dist/Dialog/index.d.ts +3 -0
- package/dist/DismissibleLayer/index.d.ts +3 -0
- package/dist/Divider/Divider.d.ts +9 -0
- package/dist/Divider/index.d.ts +1 -0
- package/dist/EmptyStateLayout/EmptyStateLayout.d.ts +7 -0
- package/dist/EmptyStateLayout/index.d.ts +1 -0
- package/dist/EmptyStateLayout/story-assets/Illo.d.ts +1 -0
- package/dist/Field/Field.d.ts +14 -0
- package/dist/Field/FieldAction.d.ts +7 -0
- package/dist/Field/FieldContext.d.ts +10 -0
- package/dist/Field/FieldError.d.ts +1 -0
- package/dist/Field/FieldHint.d.ts +1 -0
- package/dist/Field/FieldInput.d.ts +61 -0
- package/dist/Field/FieldLabel.d.ts +11 -0
- package/dist/Field/index.d.ts +7 -0
- package/dist/Flex/Flex.d.ts +15 -0
- package/dist/Flex/index.d.ts +1 -0
- package/dist/FocusTrap/FocusTrap.d.ts +13 -0
- package/dist/FocusTrap/index.d.ts +1 -0
- package/dist/Grid/Grid.d.ts +7 -0
- package/dist/Grid/GridItem.d.ts +47 -0
- package/dist/Grid/index.d.ts +2 -0
- package/dist/Icon/Icon.d.ts +7 -0
- package/dist/Icon/index.d.ts +1 -0
- package/dist/IconButton/IconButton.d.ts +41 -0
- package/dist/IconButton/index.d.ts +1 -0
- package/dist/JSONInput/JSONInput.d.ts +15 -0
- package/dist/JSONInput/index.d.ts +1 -0
- package/dist/JSONInput/utils/decorationExtension.d.ts +7 -0
- package/dist/KeyboardNavigable/KeyboardNavigable.d.ts +6 -0
- package/dist/KeyboardNavigable/index.d.ts +1 -0
- package/dist/Layout/ActionLayout.d.ts +6 -0
- package/dist/Layout/ContentLayout.d.ts +5 -0
- package/dist/Layout/GridLayout.d.ts +1 -0
- package/dist/Layout/HeaderLayout.d.ts +18 -0
- package/dist/Layout/Layout.d.ts +6 -0
- package/dist/Layout/TwoColsLayout.d.ts +6 -0
- package/dist/Layout/index.d.ts +6 -0
- package/dist/Link/Link.d.ts +11 -0
- package/dist/Link/index.d.ts +1 -0
- package/dist/LinkButton/LinkButton.d.ts +61 -0
- package/dist/LinkButton/index.d.ts +1 -0
- package/dist/LiveRegions/LiveRegions.d.ts +1 -0
- package/dist/LiveRegions/constants.d.ts +5 -0
- package/dist/LiveRegions/index.d.ts +2 -0
- package/dist/LiveRegions/useNotifyAT.d.ts +5 -0
- package/dist/Loader/Loader.d.ts +6 -0
- package/dist/Loader/index.d.ts +1 -0
- package/dist/Main/Main.d.ts +5 -0
- package/dist/Main/SkipToContent.d.ts +4 -0
- package/dist/Main/index.d.ts +2 -0
- package/dist/MainNav/MainNav.d.ts +5 -0
- package/dist/MainNav/MainNavContext.d.ts +3 -0
- package/dist/MainNav/NavBrand.d.ts +9 -0
- package/dist/MainNav/NavCondense.d.ts +5 -0
- package/dist/MainNav/NavFooter.d.ts +5 -0
- package/dist/MainNav/NavLink.d.ts +9 -0
- package/dist/MainNav/NavSection.d.ts +9 -0
- package/dist/MainNav/NavSections.d.ts +8 -0
- package/dist/MainNav/NavUser.d.ts +8 -0
- package/dist/MainNav/index.d.ts +8 -0
- package/dist/ModalLayout/ModalBody.d.ts +2 -0
- package/dist/ModalLayout/ModalContext.d.ts +3 -0
- package/dist/ModalLayout/ModalFooter.d.ts +5 -0
- package/dist/ModalLayout/ModalHeader.d.ts +6 -0
- package/dist/ModalLayout/ModalLayout.d.ts +6 -0
- package/dist/ModalLayout/index.d.ts +4 -0
- package/dist/NumberInput/NumberInput.d.ts +11 -0
- package/dist/NumberInput/index.d.ts +1 -0
- package/dist/Pagination/Pagination.d.ts +8 -0
- package/dist/Pagination/PaginationContext.d.ts +7 -0
- package/dist/Pagination/components.d.ts +16 -0
- package/dist/Pagination/index.d.ts +2 -0
- package/dist/Popover/Popover.d.ts +21 -0
- package/dist/Popover/index.d.ts +3 -0
- package/dist/Popover/primitives.d.ts +3 -0
- package/dist/Portal/Portal.d.ts +6 -0
- package/dist/Portal/index.d.ts +1 -0
- package/dist/ProgressBar/ProgressBar.d.ts +11 -0
- package/dist/ProgressBar/index.d.ts +1 -0
- package/dist/Radio/Radio.d.ts +5 -0
- package/dist/Radio/index.d.ts +2 -0
- package/dist/RawTable/RawCell.d.ts +14 -0
- package/dist/RawTable/RawTable.d.ts +16 -0
- package/dist/RawTable/RawTableContext.d.ts +11 -0
- package/dist/RawTable/RawTbody.d.ts +5 -0
- package/dist/RawTable/RawThead.d.ts +5 -0
- package/dist/RawTable/RawTr.d.ts +5 -0
- package/dist/RawTable/focusFocusable.d.ts +1 -0
- package/dist/RawTable/index.d.ts +5 -0
- package/dist/Searchbar/SearchForm.d.ts +3 -0
- package/dist/Searchbar/Searchbar.d.ts +9 -0
- package/dist/Searchbar/index.d.ts +2 -0
- package/dist/Select/MultiSelect.d.ts +40 -0
- package/dist/Select/MultiSelectNested.d.ts +13 -0
- package/dist/Select/SelectParts.d.ts +67 -0
- package/dist/Select/SingleSelect.d.ts +41 -0
- package/dist/Select/index.d.ts +6 -0
- package/dist/SimpleMenu/Menu.d.ts +56 -0
- package/dist/SimpleMenu/SimpleMenu.d.ts +60 -0
- package/dist/SimpleMenu/index.d.ts +1 -0
- package/dist/Status/Status.d.ts +15 -0
- package/dist/Status/index.d.ts +1 -0
- package/dist/SubNav/SubNav.d.ts +6 -0
- package/dist/SubNav/SubNavHeader.d.ts +13 -0
- package/dist/SubNav/SubNavLink.d.ts +9 -0
- package/dist/SubNav/SubNavLinkSection.d.ts +7 -0
- package/dist/SubNav/SubNavSection.d.ts +9 -0
- package/dist/SubNav/SubNavSectionLabel.d.ts +9 -0
- package/dist/SubNav/SubNavSections.d.ts +8 -0
- package/dist/SubNav/index.d.ts +6 -0
- package/dist/Switch/Switch.d.ts +13 -0
- package/dist/Switch/index.d.ts +1 -0
- package/dist/Table/Cell.d.ts +8 -0
- package/dist/Table/TFooter.d.ts +7 -0
- package/dist/Table/Table.d.ts +7 -0
- package/dist/Table/Tbody.d.ts +2 -0
- package/dist/Table/Thead.d.ts +2 -0
- package/dist/Table/Tr.d.ts +2 -0
- package/dist/Table/index.d.ts +6 -0
- package/dist/Tabs/TabGroup.d.ts +14 -0
- package/dist/Tabs/TabPanels.d.ts +9 -0
- package/dist/Tabs/Tabs.d.ts +17 -0
- package/dist/Tabs/TabsContext.d.ts +11 -0
- package/dist/Tabs/components.d.ts +94 -0
- package/dist/Tabs/index.d.ts +3 -0
- package/dist/Tag/Tag.d.ts +6 -0
- package/dist/Tag/index.d.ts +1 -0
- package/dist/TextButton/TextButton.d.ts +8 -0
- package/dist/TextButton/index.d.ts +1 -0
- package/dist/TextInput/TextInput.d.ts +10 -0
- package/dist/TextInput/index.d.ts +1 -0
- package/dist/Textarea/Textarea.d.ts +17 -0
- package/dist/Textarea/index.d.ts +1 -0
- package/dist/ThemeProvider/ThemeProvider.d.ts +10 -0
- package/dist/ThemeProvider/hooks.d.ts +1 -0
- package/dist/ThemeProvider/index.d.ts +2 -0
- package/dist/TimePicker/TimePicker.d.ts +26 -0
- package/dist/TimePicker/index.d.ts +1 -0
- package/dist/ToggleInput/ToggleInput.d.ts +24 -0
- package/dist/ToggleInput/index.d.ts +1 -0
- package/dist/Tooltip/Tooltip.d.ts +11 -0
- package/dist/Tooltip/hooks/useTooltipHandlers.d.ts +7 -0
- package/dist/Tooltip/hooks/useTooltipLayout.d.ts +6 -0
- package/dist/Tooltip/index.d.ts +1 -0
- package/dist/Tooltip/utils/positionTooltip.d.ts +5 -0
- package/dist/Typography/Typography.d.ts +19 -0
- package/dist/Typography/constants.d.ts +8 -0
- package/dist/Typography/index.d.ts +1 -0
- package/dist/Typography/utils.d.ts +9 -0
- package/dist/VisuallyHidden/VisuallyHidden.d.ts +1 -0
- package/dist/VisuallyHidden/index.d.ts +1 -0
- package/dist/helpers/context.d.ts +7 -0
- package/dist/helpers/deprecations.d.ts +2 -0
- package/dist/helpers/getDefaultLocale.d.ts +5 -0
- package/dist/helpers/getFocusableNodes.d.ts +10 -0
- package/dist/helpers/handleResponsiveValues.d.ts +17 -0
- package/dist/helpers/keyboardKeys.d.ts +17 -0
- package/dist/helpers/objects.d.ts +8 -0
- package/dist/helpers/setOpacity.d.ts +1 -0
- package/dist/helpers/setTabIndexOnFirstItem.d.ts +1 -0
- package/dist/helpers/strings.d.ts +1 -0
- package/dist/helpers/theme.d.ts +2 -0
- package/dist/hooks/useComposeRefs.d.ts +29 -0
- package/dist/hooks/useControllableState.d.ts +19 -0
- package/dist/hooks/useDateFormatter.d.ts +28 -0
- package/dist/hooks/useElementOnScreen.d.ts +2 -0
- package/dist/hooks/useId.d.ts +1 -0
- package/dist/hooks/useIntersection.d.ts +7 -0
- package/dist/hooks/useLockScroll.d.ts +2 -0
- package/dist/hooks/usePrevious.d.ts +1 -0
- package/dist/hooks/useResizeObserver.d.ts +2 -0
- package/dist/index.d.ts +67 -0
- package/dist/index.js +24566 -333
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +24538 -144
- package/dist/index.mjs.map +1 -0
- package/dist/themes/colors.d.ts +54 -0
- package/dist/themes/common-theme.d.ts +19 -0
- package/dist/themes/darkTheme/dark-colors.d.ts +4 -0
- package/dist/themes/darkTheme/dark-shadows.d.ts +4 -0
- package/dist/themes/darkTheme/index.d.ts +2 -0
- package/dist/themes/extendTheme.d.ts +2 -0
- package/dist/themes/index.d.ts +10 -0
- package/dist/themes/lightTheme/index.d.ts +2 -0
- package/dist/themes/lightTheme/light-colors.d.ts +4 -0
- package/dist/themes/lightTheme/light-shadows.d.ts +4 -0
- package/dist/themes/sizes.d.ts +21 -0
- package/dist/themes/utils.d.ts +12 -0
- package/dist/types.d.ts +3 -0
- package/package.json +8 -30
- package/dist/Accordion/Accordion.js +0 -83
- package/dist/Accordion/Accordion.mjs +0 -55
- package/dist/Accordion/AccordionContent.js +0 -20
- package/dist/Accordion/AccordionContent.mjs +0 -16
- package/dist/Accordion/AccordionContext.js +0 -17
- package/dist/Accordion/AccordionContext.mjs +0 -12
- package/dist/Accordion/AccordionGroup.js +0 -92
- package/dist/Accordion/AccordionGroup.mjs +0 -65
- package/dist/Accordion/AccordionToggle.js +0 -90
- package/dist/Accordion/AccordionToggle.mjs +0 -82
- package/dist/Accordion/index.js +0 -16
- package/dist/Accordion/index.mjs +0 -4
- package/dist/Accordion/utils.js +0 -19
- package/dist/Accordion/utils.mjs +0 -15
- package/dist/Alert/Alert.js +0 -62
- package/dist/Alert/Alert.mjs +0 -54
- package/dist/Alert/index.js +0 -9
- package/dist/Alert/index.mjs +0 -1
- package/dist/Alert/utils.js +0 -36
- package/dist/Alert/utils.mjs +0 -30
- package/dist/Avatar/Avatar.js +0 -69
- package/dist/Avatar/Avatar.mjs +0 -41
- package/dist/Avatar/AvatarGroup.js +0 -19
- package/dist/Avatar/AvatarGroup.mjs +0 -11
- package/dist/Avatar/constants.js +0 -9
- package/dist/Avatar/constants.mjs +0 -4
- package/dist/Avatar/index.js +0 -12
- package/dist/Avatar/index.mjs +0 -2
- package/dist/Badge/Badge.js +0 -23
- package/dist/Badge/Badge.mjs +0 -15
- package/dist/Badge/index.js +0 -9
- package/dist/Badge/index.mjs +0 -1
- package/dist/BaseButton/BaseButton.js +0 -57
- package/dist/BaseButton/BaseButton.mjs +0 -29
- package/dist/BaseButton/index.js +0 -10
- package/dist/BaseButton/index.mjs +0 -1
- package/dist/BaseCheckbox/BaseCheckbox.js +0 -119
- package/dist/BaseCheckbox/BaseCheckbox.mjs +0 -92
- package/dist/BaseCheckbox/assets/checkmark-black.svg.js +0 -5
- package/dist/BaseCheckbox/assets/checkmark-black.svg.mjs +0 -3
- package/dist/BaseCheckbox/assets/checkmark.svg.js +0 -5
- package/dist/BaseCheckbox/assets/checkmark.svg.mjs +0 -3
- package/dist/BaseCheckbox/index.js +0 -9
- package/dist/BaseCheckbox/index.mjs +0 -1
- package/dist/BaseCheckbox/utils.js +0 -16
- package/dist/BaseCheckbox/utils.mjs +0 -12
- package/dist/BaseLink/BaseLink.js +0 -18
- package/dist/BaseLink/BaseLink.mjs +0 -10
- package/dist/BaseLink/index.js +0 -9
- package/dist/BaseLink/index.mjs +0 -1
- package/dist/BaseRadio/BaseRadio.js +0 -58
- package/dist/BaseRadio/BaseRadio.mjs +0 -49
- package/dist/BaseRadio/RadioGroup.js +0 -21
- package/dist/BaseRadio/RadioGroup.mjs +0 -17
- package/dist/BaseRadio/context.js +0 -14
- package/dist/BaseRadio/context.mjs +0 -10
- package/dist/BaseRadio/index.js +0 -11
- package/dist/BaseRadio/index.mjs +0 -2
- package/dist/BaseRadio/utils.js +0 -34
- package/dist/BaseRadio/utils.mjs +0 -28
- package/dist/Box/Box.js +0 -111
- package/dist/Box/Box.mjs +0 -103
- package/dist/Box/index.js +0 -9
- package/dist/Box/index.mjs +0 -1
- package/dist/Breadcrumbs/Breadcrumbs.js +0 -41
- package/dist/Breadcrumbs/Breadcrumbs.mjs +0 -32
- package/dist/Breadcrumbs/index.js +0 -10
- package/dist/Breadcrumbs/index.mjs +0 -1
- package/dist/Button/Button.js +0 -71
- package/dist/Button/Button.mjs +0 -61
- package/dist/Button/constants.js +0 -27
- package/dist/Button/constants.mjs +0 -13
- package/dist/Button/index.js +0 -10
- package/dist/Button/index.mjs +0 -1
- package/dist/Button/utils.js +0 -161
- package/dist/Button/utils.mjs +0 -153
- package/dist/Card/Card.js +0 -17
- package/dist/Card/Card.mjs +0 -13
- package/dist/Card/CardAction.js +0 -34
- package/dist/Card/CardAction.mjs +0 -26
- package/dist/Card/CardAsset.js +0 -41
- package/dist/Card/CardAsset.mjs +0 -33
- package/dist/Card/CardBadge.js +0 -22
- package/dist/Card/CardBadge.mjs +0 -14
- package/dist/Card/CardBody.js +0 -13
- package/dist/Card/CardBody.mjs +0 -9
- package/dist/Card/CardCheckbox.js +0 -17
- package/dist/Card/CardCheckbox.mjs +0 -13
- package/dist/Card/CardContent.js +0 -20
- package/dist/Card/CardContent.mjs +0 -12
- package/dist/Card/CardContext.js +0 -11
- package/dist/Card/CardContext.mjs +0 -6
- package/dist/Card/CardHeader.js +0 -20
- package/dist/Card/CardHeader.mjs +0 -12
- package/dist/Card/CardTimer.js +0 -11
- package/dist/Card/CardTimer.mjs +0 -7
- package/dist/Card/CardTitle.js +0 -18
- package/dist/Card/CardTitle.mjs +0 -13
- package/dist/Card/index.js +0 -28
- package/dist/Card/index.mjs +0 -10
- package/dist/CarouselInput/Carousel.js +0 -81
- package/dist/CarouselInput/Carousel.mjs +0 -54
- package/dist/CarouselInput/CarouselActions.js +0 -10
- package/dist/CarouselInput/CarouselActions.mjs +0 -6
- package/dist/CarouselInput/CarouselImage.js +0 -30
- package/dist/CarouselInput/CarouselImage.mjs +0 -22
- package/dist/CarouselInput/CarouselInput.js +0 -20
- package/dist/CarouselInput/CarouselInput.mjs +0 -16
- package/dist/CarouselInput/CarouselSlide.js +0 -10
- package/dist/CarouselInput/CarouselSlide.mjs +0 -6
- package/dist/CarouselInput/index.js +0 -17
- package/dist/CarouselInput/index.mjs +0 -5
- package/dist/Checkbox/Checkbox.js +0 -64
- package/dist/Checkbox/Checkbox.mjs +0 -37
- package/dist/Checkbox/index.js +0 -9
- package/dist/Checkbox/index.mjs +0 -1
- package/dist/Combobox/Combobox.js +0 -249
- package/dist/Combobox/Combobox.mjs +0 -218
- package/dist/Combobox/ComboboxList.js +0 -18
- package/dist/Combobox/ComboboxList.mjs +0 -14
- package/dist/Combobox/ComboboxOption.js +0 -9
- package/dist/Combobox/ComboboxOption.mjs +0 -5
- package/dist/Combobox/index.js +0 -12
- package/dist/Combobox/index.mjs +0 -2
- package/dist/DatePicker/DatePicker.js +0 -755
- package/dist/DatePicker/DatePicker.mjs +0 -727
- package/dist/DatePicker/index.js +0 -9
- package/dist/DatePicker/index.mjs +0 -1
- package/dist/DateTimePicker/DateTimePicker.js +0 -165
- package/dist/DateTimePicker/DateTimePicker.mjs +0 -137
- package/dist/DateTimePicker/index.js +0 -10
- package/dist/DateTimePicker/index.mjs +0 -1
- package/dist/DesignSystemProvider.js +0 -27
- package/dist/DesignSystemProvider.mjs +0 -22
- package/dist/Dialog/Dialog.js +0 -44
- package/dist/Dialog/Dialog.mjs +0 -36
- package/dist/Dialog/DialogBody.js +0 -28
- package/dist/Dialog/DialogBody.mjs +0 -20
- package/dist/Dialog/DialogFooter.js +0 -27
- package/dist/Dialog/DialogFooter.mjs +0 -19
- package/dist/Dialog/index.js +0 -13
- package/dist/Dialog/index.mjs +0 -3
- package/dist/DismissibleLayer/index.js +0 -29
- package/dist/DismissibleLayer/index.mjs +0 -5
- package/dist/Divider/Divider.js +0 -24
- package/dist/Divider/Divider.mjs +0 -16
- package/dist/Divider/index.js +0 -9
- package/dist/Divider/index.mjs +0 -1
- package/dist/EmptyStateLayout/EmptyStateLayout.js +0 -24
- package/dist/EmptyStateLayout/EmptyStateLayout.mjs +0 -16
- package/dist/EmptyStateLayout/index.js +0 -9
- package/dist/EmptyStateLayout/index.mjs +0 -1
- package/dist/EmptyStateLayout/story-assets/Illo.js +0 -9
- package/dist/EmptyStateLayout/story-assets/Illo.mjs +0 -5
- package/dist/Field/Field.js +0 -17
- package/dist/Field/Field.mjs +0 -13
- package/dist/Field/FieldAction.js +0 -24
- package/dist/Field/FieldAction.mjs +0 -16
- package/dist/Field/FieldContext.js +0 -11
- package/dist/Field/FieldContext.mjs +0 -6
- package/dist/Field/FieldError.js +0 -17
- package/dist/Field/FieldError.mjs +0 -13
- package/dist/Field/FieldHint.js +0 -17
- package/dist/Field/FieldHint.mjs +0 -13
- package/dist/Field/FieldInput.js +0 -85
- package/dist/Field/FieldInput.mjs +0 -76
- package/dist/Field/FieldLabel.js +0 -48
- package/dist/Field/FieldLabel.mjs +0 -40
- package/dist/Field/index.js +0 -23
- package/dist/Field/index.mjs +0 -7
- package/dist/Flex/Flex.js +0 -31
- package/dist/Flex/Flex.mjs +0 -23
- package/dist/Flex/index.js +0 -9
- package/dist/Flex/index.mjs +0 -1
- package/dist/FocusTrap/FocusTrap.js +0 -69
- package/dist/FocusTrap/FocusTrap.mjs +0 -65
- package/dist/FocusTrap/index.js +0 -9
- package/dist/FocusTrap/index.mjs +0 -1
- package/dist/Grid/Grid.js +0 -24
- package/dist/Grid/Grid.mjs +0 -16
- package/dist/Grid/GridItem.js +0 -25
- package/dist/Grid/GridItem.mjs +0 -17
- package/dist/Grid/index.js +0 -11
- package/dist/Grid/index.mjs +0 -2
- package/dist/Icon/Icon.js +0 -27
- package/dist/Icon/Icon.mjs +0 -18
- package/dist/Icon/index.js +0 -9
- package/dist/Icon/index.mjs +0 -1
- package/dist/IconButton/IconButton.js +0 -155
- package/dist/IconButton/IconButton.mjs +0 -127
- package/dist/IconButton/index.js +0 -10
- package/dist/IconButton/index.mjs +0 -1
- package/dist/JSONInput/JSONInput.js +0 -150
- package/dist/JSONInput/JSONInput.mjs +0 -142
- package/dist/JSONInput/index.js +0 -9
- package/dist/JSONInput/index.mjs +0 -1
- package/dist/JSONInput/utils/decorationExtension.js +0 -43
- package/dist/JSONInput/utils/decorationExtension.mjs +0 -36
- package/dist/KeyboardNavigable/KeyboardNavigable.js +0 -75
- package/dist/KeyboardNavigable/KeyboardNavigable.mjs +0 -71
- package/dist/KeyboardNavigable/index.js +0 -9
- package/dist/KeyboardNavigable/index.mjs +0 -1
- package/dist/Layout/ActionLayout.js +0 -15
- package/dist/Layout/ActionLayout.mjs +0 -11
- package/dist/Layout/ContentLayout.js +0 -12
- package/dist/Layout/ContentLayout.mjs +0 -8
- package/dist/Layout/GridLayout.js +0 -17
- package/dist/Layout/GridLayout.mjs +0 -9
- package/dist/Layout/HeaderLayout.js +0 -53
- package/dist/Layout/HeaderLayout.mjs +0 -43
- package/dist/Layout/Layout.js +0 -24
- package/dist/Layout/Layout.mjs +0 -16
- package/dist/Layout/TwoColsLayout.js +0 -14
- package/dist/Layout/TwoColsLayout.mjs +0 -10
- package/dist/Layout/index.js +0 -20
- package/dist/Layout/index.mjs +0 -6
- package/dist/Link/Link.js +0 -77
- package/dist/Link/Link.mjs +0 -50
- package/dist/Link/index.js +0 -9
- package/dist/Link/index.mjs +0 -1
- package/dist/LinkButton/LinkButton.js +0 -60
- package/dist/LinkButton/LinkButton.mjs +0 -33
- package/dist/LinkButton/index.js +0 -9
- package/dist/LinkButton/index.mjs +0 -1
- package/dist/LiveRegions/LiveRegions.js +0 -13
- package/dist/LiveRegions/LiveRegions.mjs +0 -9
- package/dist/LiveRegions/constants.js +0 -11
- package/dist/LiveRegions/constants.mjs +0 -7
- package/dist/LiveRegions/index.js +0 -11
- package/dist/LiveRegions/index.mjs +0 -2
- package/dist/LiveRegions/useNotifyAT.js +0 -37
- package/dist/LiveRegions/useNotifyAT.mjs +0 -33
- package/dist/Loader/Loader.js +0 -51
- package/dist/Loader/Loader.mjs +0 -24
- package/dist/Loader/assets/loader.svg.js +0 -5
- package/dist/Loader/assets/loader.svg.mjs +0 -3
- package/dist/Loader/index.js +0 -9
- package/dist/Loader/index.mjs +0 -1
- package/dist/Main/Main.js +0 -23
- package/dist/Main/Main.mjs +0 -15
- package/dist/Main/SkipToContent.js +0 -25
- package/dist/Main/SkipToContent.mjs +0 -17
- package/dist/Main/index.js +0 -11
- package/dist/Main/index.mjs +0 -2
- package/dist/MainNav/MainNav.js +0 -22
- package/dist/MainNav/MainNav.mjs +0 -14
- package/dist/MainNav/MainNavContext.js +0 -11
- package/dist/MainNav/MainNavContext.mjs +0 -6
- package/dist/MainNav/NavBrand.js +0 -39
- package/dist/MainNav/NavBrand.mjs +0 -31
- package/dist/MainNav/NavCondense.js +0 -41
- package/dist/MainNav/NavCondense.mjs +0 -33
- package/dist/MainNav/NavFooter.js +0 -12
- package/dist/MainNav/NavFooter.mjs +0 -8
- package/dist/MainNav/NavLink.js +0 -100
- package/dist/MainNav/NavLink.mjs +0 -92
- package/dist/MainNav/NavSection.js +0 -32
- package/dist/MainNav/NavSection.mjs +0 -24
- package/dist/MainNav/NavSections.js +0 -27
- package/dist/MainNav/NavSections.mjs +0 -18
- package/dist/MainNav/NavUser.js +0 -28
- package/dist/MainNav/NavUser.mjs +0 -19
- package/dist/MainNav/index.js +0 -23
- package/dist/MainNav/index.mjs +0 -8
- package/dist/ModalLayout/ModalBody.js +0 -21
- package/dist/ModalLayout/ModalBody.mjs +0 -13
- package/dist/ModalLayout/ModalContext.js +0 -11
- package/dist/ModalLayout/ModalContext.mjs +0 -6
- package/dist/ModalLayout/ModalFooter.js +0 -22
- package/dist/ModalLayout/ModalFooter.mjs +0 -14
- package/dist/ModalLayout/ModalHeader.js +0 -26
- package/dist/ModalLayout/ModalHeader.mjs +0 -18
- package/dist/ModalLayout/ModalLayout.js +0 -28
- package/dist/ModalLayout/ModalLayout.mjs +0 -20
- package/dist/ModalLayout/index.js +0 -15
- package/dist/ModalLayout/index.mjs +0 -4
- package/dist/NumberInput/NumberInput.js +0 -130
- package/dist/NumberInput/NumberInput.mjs +0 -121
- package/dist/NumberInput/index.js +0 -9
- package/dist/NumberInput/index.mjs +0 -1
- package/dist/Pagination/Pagination.js +0 -39
- package/dist/Pagination/Pagination.mjs +0 -15
- package/dist/Pagination/PaginationContext.js +0 -11
- package/dist/Pagination/PaginationContext.mjs +0 -6
- package/dist/Pagination/assets/next.svg.js +0 -5
- package/dist/Pagination/assets/next.svg.mjs +0 -3
- package/dist/Pagination/assets/previous.svg.js +0 -5
- package/dist/Pagination/assets/previous.svg.mjs +0 -3
- package/dist/Pagination/components.js +0 -84
- package/dist/Pagination/components.mjs +0 -73
- package/dist/Pagination/index.js +0 -14
- package/dist/Pagination/index.mjs +0 -2
- package/dist/Popover/Popover.js +0 -166
- package/dist/Popover/Popover.mjs +0 -136
- package/dist/Popover/index.js +0 -12
- package/dist/Popover/index.mjs +0 -3
- package/dist/Popover/primitives.js +0 -10
- package/dist/Popover/primitives.mjs +0 -1
- package/dist/Portal/Portal.js +0 -35
- package/dist/Portal/Portal.mjs +0 -11
- package/dist/Portal/index.js +0 -9
- package/dist/Portal/index.mjs +0 -1
- package/dist/ProgressBar/ProgressBar.js +0 -28
- package/dist/ProgressBar/ProgressBar.mjs +0 -20
- package/dist/ProgressBar/index.js +0 -9
- package/dist/ProgressBar/index.mjs +0 -1
- package/dist/Radio/Radio.js +0 -14
- package/dist/Radio/Radio.mjs +0 -10
- package/dist/Radio/index.js +0 -11
- package/dist/Radio/index.mjs +0 -2
- package/dist/RawTable/RawCell.js +0 -149
- package/dist/RawTable/RawCell.mjs +0 -144
- package/dist/RawTable/RawTable.js +0 -85
- package/dist/RawTable/RawTable.mjs +0 -81
- package/dist/RawTable/RawTableContext.js +0 -17
- package/dist/RawTable/RawTableContext.mjs +0 -12
- package/dist/RawTable/RawTbody.js +0 -22
- package/dist/RawTable/RawTbody.mjs +0 -18
- package/dist/RawTable/RawThead.js +0 -21
- package/dist/RawTable/RawThead.mjs +0 -17
- package/dist/RawTable/RawTr.js +0 -22
- package/dist/RawTable/RawTr.mjs +0 -18
- package/dist/RawTable/focusFocusable.js +0 -12
- package/dist/RawTable/focusFocusable.mjs +0 -8
- package/dist/RawTable/index.js +0 -18
- package/dist/RawTable/index.mjs +0 -5
- package/dist/Searchbar/SearchForm.js +0 -9
- package/dist/Searchbar/SearchForm.mjs +0 -5
- package/dist/Searchbar/Searchbar.js +0 -62
- package/dist/Searchbar/Searchbar.mjs +0 -54
- package/dist/Searchbar/index.js +0 -11
- package/dist/Searchbar/index.mjs +0 -2
- package/dist/Select/MultiSelect.js +0 -167
- package/dist/Select/MultiSelect.mjs +0 -138
- package/dist/Select/MultiSelectNested.js +0 -25
- package/dist/Select/MultiSelectNested.mjs +0 -17
- package/dist/Select/OptGroup.js +0 -14
- package/dist/Select/OptGroup.mjs +0 -10
- package/dist/Select/Option.js +0 -20
- package/dist/Select/Option.mjs +0 -16
- package/dist/Select/Select.js +0 -44
- package/dist/Select/Select.mjs +0 -19
- package/dist/Select/SelectList.js +0 -150
- package/dist/Select/SelectList.mjs +0 -126
- package/dist/Select/SelectParts.js +0 -169
- package/dist/Select/SelectParts.mjs +0 -133
- package/dist/Select/SingleSelect.js +0 -111
- package/dist/Select/SingleSelect.mjs +0 -85
- package/dist/Select/index.js +0 -24
- package/dist/Select/index.mjs +0 -7
- package/dist/SimpleMenu/SimpleMenu.js +0 -188
- package/dist/SimpleMenu/SimpleMenu.mjs +0 -178
- package/dist/SimpleMenu/index.js +0 -10
- package/dist/SimpleMenu/index.mjs +0 -1
- package/dist/SimpleMenu/utils.js +0 -18
- package/dist/SimpleMenu/utils.mjs +0 -14
- package/dist/Stack/Stack.js +0 -57
- package/dist/Stack/Stack.mjs +0 -49
- package/dist/Stack/index.js +0 -9
- package/dist/Stack/index.mjs +0 -1
- package/dist/Status/Status.js +0 -37
- package/dist/Status/Status.mjs +0 -29
- package/dist/Status/index.js +0 -9
- package/dist/Status/index.mjs +0 -1
- package/dist/SubNav/SubNav.js +0 -29
- package/dist/SubNav/SubNav.mjs +0 -20
- package/dist/SubNav/SubNavHeader.js +0 -67
- package/dist/SubNav/SubNavHeader.mjs +0 -59
- package/dist/SubNav/SubNavLink.js +0 -64
- package/dist/SubNav/SubNavLink.mjs +0 -56
- package/dist/SubNav/SubNavLinkSection.js +0 -52
- package/dist/SubNav/SubNavLinkSection.mjs +0 -43
- package/dist/SubNav/SubNavSection.js +0 -39
- package/dist/SubNav/SubNavSection.mjs +0 -30
- package/dist/SubNav/SubNavSectionLabel.js +0 -35
- package/dist/SubNav/SubNavSectionLabel.mjs +0 -27
- package/dist/SubNav/SubNavSections.js +0 -21
- package/dist/SubNav/SubNavSections.mjs +0 -13
- package/dist/SubNav/index.js +0 -20
- package/dist/SubNav/index.mjs +0 -6
- package/dist/Switch/Switch.js +0 -63
- package/dist/Switch/Switch.mjs +0 -54
- package/dist/Switch/index.js +0 -9
- package/dist/Switch/index.mjs +0 -1
- package/dist/Table/Cell.js +0 -40
- package/dist/Table/Cell.mjs +0 -31
- package/dist/Table/TFooter.js +0 -44
- package/dist/Table/TFooter.mjs +0 -36
- package/dist/Table/Table.js +0 -77
- package/dist/Table/Table.mjs +0 -69
- package/dist/Table/Tbody.js +0 -22
- package/dist/Table/Tbody.mjs +0 -14
- package/dist/Table/Thead.js +0 -20
- package/dist/Table/Thead.mjs +0 -12
- package/dist/Table/Tr.js +0 -37
- package/dist/Table/Tr.mjs +0 -29
- package/dist/Table/index.js +0 -20
- package/dist/Table/index.mjs +0 -6
- package/dist/Tabs/TabGroup.js +0 -47
- package/dist/Tabs/TabGroup.mjs +0 -23
- package/dist/Tabs/TabPanels.js +0 -23
- package/dist/Tabs/TabPanels.mjs +0 -18
- package/dist/Tabs/Tabs.js +0 -153
- package/dist/Tabs/Tabs.mjs +0 -144
- package/dist/Tabs/TabsContext.js +0 -18
- package/dist/Tabs/TabsContext.mjs +0 -13
- package/dist/Tabs/components.js +0 -73
- package/dist/Tabs/components.mjs +0 -62
- package/dist/Tabs/index.js +0 -15
- package/dist/Tabs/index.mjs +0 -3
- package/dist/Tag/Tag.js +0 -38
- package/dist/Tag/Tag.mjs +0 -30
- package/dist/Tag/index.js +0 -9
- package/dist/Tag/index.mjs +0 -1
- package/dist/TextButton/TextButton.js +0 -71
- package/dist/TextButton/TextButton.mjs +0 -44
- package/dist/TextButton/index.js +0 -9
- package/dist/TextButton/index.mjs +0 -1
- package/dist/TextInput/TextInput.js +0 -33
- package/dist/TextInput/TextInput.mjs +0 -29
- package/dist/TextInput/index.js +0 -9
- package/dist/TextInput/index.mjs +0 -1
- package/dist/Textarea/Textarea.js +0 -55
- package/dist/Textarea/Textarea.mjs +0 -46
- package/dist/Textarea/index.js +0 -9
- package/dist/Textarea/index.mjs +0 -1
- package/dist/ThemeProvider/ThemeProvider.js +0 -187
- package/dist/ThemeProvider/ThemeProvider.mjs +0 -183
- package/dist/ThemeProvider/hooks.js +0 -11
- package/dist/ThemeProvider/hooks.mjs +0 -7
- package/dist/ThemeProvider/index.js +0 -11
- package/dist/ThemeProvider/index.mjs +0 -2
- package/dist/TimePicker/TimePicker.js +0 -139
- package/dist/TimePicker/TimePicker.mjs +0 -111
- package/dist/TimePicker/index.js +0 -10
- package/dist/TimePicker/index.mjs +0 -1
- package/dist/ToggleCheckbox/ToggleCheckbox.js +0 -99
- package/dist/ToggleCheckbox/ToggleCheckbox.mjs +0 -90
- package/dist/ToggleCheckbox/index.js +0 -9
- package/dist/ToggleCheckbox/index.mjs +0 -1
- package/dist/ToggleInput/ToggleInput.js +0 -96
- package/dist/ToggleInput/ToggleInput.mjs +0 -69
- package/dist/ToggleInput/index.js +0 -9
- package/dist/ToggleInput/index.mjs +0 -1
- package/dist/Tooltip/Tooltip.js +0 -58
- package/dist/Tooltip/Tooltip.mjs +0 -31
- package/dist/Tooltip/hooks/useTooltipHandlers.js +0 -39
- package/dist/Tooltip/hooks/useTooltipHandlers.mjs +0 -35
- package/dist/Tooltip/hooks/useTooltipLayout.js +0 -25
- package/dist/Tooltip/hooks/useTooltipLayout.mjs +0 -21
- package/dist/Tooltip/index.js +0 -9
- package/dist/Tooltip/index.mjs +0 -1
- package/dist/Tooltip/utils/positionTooltip.js +0 -74
- package/dist/Tooltip/utils/positionTooltip.mjs +0 -70
- package/dist/Typography/Typography.js +0 -34
- package/dist/Typography/Typography.mjs +0 -26
- package/dist/Typography/constants.js +0 -21
- package/dist/Typography/constants.mjs +0 -10
- package/dist/Typography/index.js +0 -9
- package/dist/Typography/index.mjs +0 -1
- package/dist/Typography/utils.js +0 -72
- package/dist/Typography/utils.mjs +0 -67
- package/dist/VisuallyHidden/VisuallyHidden.js +0 -22
- package/dist/VisuallyHidden/VisuallyHidden.mjs +0 -14
- package/dist/VisuallyHidden/index.js +0 -9
- package/dist/VisuallyHidden/index.mjs +0 -1
- package/dist/helpers/context.js +0 -50
- package/dist/helpers/context.mjs +0 -26
- package/dist/helpers/deprecations.js +0 -21
- package/dist/helpers/deprecations.mjs +0 -16
- package/dist/helpers/getDefaultLocale.js +0 -36
- package/dist/helpers/getDefaultLocale.mjs +0 -32
- package/dist/helpers/getFocusableNodes.js +0 -36
- package/dist/helpers/getFocusableNodes.mjs +0 -31
- package/dist/helpers/handleResponsiveValues.js +0 -34
- package/dist/helpers/handleResponsiveValues.mjs +0 -32
- package/dist/helpers/keyboardKeys.js +0 -23
- package/dist/helpers/keyboardKeys.mjs +0 -19
- package/dist/helpers/objects.js +0 -22
- package/dist/helpers/objects.mjs +0 -17
- package/dist/helpers/setOpacity.js +0 -9
- package/dist/helpers/setOpacity.mjs +0 -5
- package/dist/helpers/setTabIndexOnFirstItem.js +0 -12
- package/dist/helpers/setTabIndexOnFirstItem.mjs +0 -8
- package/dist/helpers/strings.js +0 -7
- package/dist/helpers/strings.mjs +0 -3
- package/dist/helpers/theme.js +0 -14
- package/dist/helpers/theme.mjs +0 -10
- package/dist/helpers/useElementOnScreen.js +0 -18
- package/dist/helpers/useElementOnScreen.mjs +0 -14
- package/dist/helpers/useId.js +0 -18
- package/dist/helpers/useId.mjs +0 -14
- package/dist/helpers/useIntersection.js +0 -18
- package/dist/helpers/useIntersection.mjs +0 -14
- package/dist/helpers/useLockScroll.js +0 -16
- package/dist/helpers/useLockScroll.mjs +0 -14
- package/dist/helpers/usePrevious.js +0 -18
- package/dist/helpers/usePrevious.mjs +0 -14
- package/dist/helpers/useResizeObserver.js +0 -18
- package/dist/helpers/useResizeObserver.mjs +0 -14
- package/dist/hooks/useComposeRefs.js +0 -72
- package/dist/hooks/useComposeRefs.mjs +0 -47
- package/dist/hooks/useControllableState.js +0 -63
- package/dist/hooks/useControllableState.mjs +0 -39
- package/dist/hooks/useDateFormatter.js +0 -78
- package/dist/hooks/useDateFormatter.mjs +0 -54
- package/dist/hooks/useElementOnScreen.js +0 -28
- package/dist/hooks/useElementOnScreen.mjs +0 -24
- package/dist/hooks/useId.js +0 -25
- package/dist/hooks/useId.mjs +0 -17
- package/dist/hooks/useIntersection.js +0 -41
- package/dist/hooks/useIntersection.mjs +0 -37
- package/dist/hooks/useLockScroll.js +0 -16
- package/dist/hooks/useLockScroll.mjs +0 -14
- package/dist/hooks/usePrevious.js +0 -15
- package/dist/hooks/usePrevious.mjs +0 -11
- package/dist/hooks/useResizeObserver.js +0 -28
- package/dist/hooks/useResizeObserver.mjs +0 -24
- package/dist/themes/colors.js +0 -2
- package/dist/themes/colors.mjs +0 -1
- package/dist/themes/common-theme.js +0 -25
- package/dist/themes/common-theme.mjs +0 -21
- package/dist/themes/darkTheme/dark-colors.js +0 -55
- package/dist/themes/darkTheme/dark-colors.mjs +0 -51
- package/dist/themes/darkTheme/dark-shadows.js +0 -15
- package/dist/themes/darkTheme/dark-shadows.mjs +0 -11
- package/dist/themes/darkTheme/index.js +0 -15
- package/dist/themes/darkTheme/index.mjs +0 -11
- package/dist/themes/extendTheme.js +0 -47
- package/dist/themes/extendTheme.mjs +0 -43
- package/dist/themes/index.js +0 -17
- package/dist/themes/index.mjs +0 -4
- package/dist/themes/lightTheme/index.js +0 -15
- package/dist/themes/lightTheme/index.mjs +0 -11
- package/dist/themes/lightTheme/light-colors.js +0 -55
- package/dist/themes/lightTheme/light-colors.mjs +0 -51
- package/dist/themes/lightTheme/light-shadows.js +0 -15
- package/dist/themes/lightTheme/light-shadows.mjs +0 -11
- package/dist/themes/sizes.js +0 -25
- package/dist/themes/sizes.mjs +0 -21
- package/dist/themes/utils.js +0 -55
- package/dist/themes/utils.mjs +0 -49
- package/dist/types.js +0 -2
- package/dist/types.mjs +0 -1
- package/dist/v2/Breadcrumbs/Breadcrumbs.js +0 -34
- package/dist/v2/Breadcrumbs/Breadcrumbs.mjs +0 -26
- package/dist/v2/Breadcrumbs/Crumb.js +0 -12
- package/dist/v2/Breadcrumbs/Crumb.mjs +0 -8
- package/dist/v2/Breadcrumbs/CrumbLink.js +0 -30
- package/dist/v2/Breadcrumbs/CrumbLink.mjs +0 -22
- package/dist/v2/Breadcrumbs/CrumbSimpleMenu.js +0 -26
- package/dist/v2/Breadcrumbs/CrumbSimpleMenu.mjs +0 -18
- package/dist/v2/Breadcrumbs/Divider.js +0 -14
- package/dist/v2/Breadcrumbs/Divider.mjs +0 -10
- package/dist/v2/Breadcrumbs/index.js +0 -15
- package/dist/v2/Breadcrumbs/index.mjs +0 -4
- package/dist/v2/Link/Link.js +0 -48
- package/dist/v2/Link/Link.mjs +0 -39
- package/dist/v2/Link/index.js +0 -9
- package/dist/v2/Link/index.mjs +0 -1
- package/dist/v2/LinkButton/LinkButton.js +0 -46
- package/dist/v2/LinkButton/LinkButton.mjs +0 -37
- package/dist/v2/LinkButton/index.js +0 -9
- package/dist/v2/LinkButton/index.mjs +0 -1
- package/dist/v2/MainNav/MainNav.js +0 -22
- package/dist/v2/MainNav/MainNav.mjs +0 -14
- package/dist/v2/MainNav/MainNavContext.js +0 -11
- package/dist/v2/MainNav/MainNavContext.mjs +0 -6
- package/dist/v2/MainNav/NavBrand.js +0 -46
- package/dist/v2/MainNav/NavBrand.mjs +0 -37
- package/dist/v2/MainNav/NavCondense.js +0 -42
- package/dist/v2/MainNav/NavCondense.mjs +0 -34
- package/dist/v2/MainNav/NavFooter.js +0 -12
- package/dist/v2/MainNav/NavFooter.mjs +0 -8
- package/dist/v2/MainNav/NavLink.js +0 -102
- package/dist/v2/MainNav/NavLink.mjs +0 -93
- package/dist/v2/MainNav/NavSection.js +0 -28
- package/dist/v2/MainNav/NavSection.mjs +0 -24
- package/dist/v2/MainNav/NavSections.js +0 -26
- package/dist/v2/MainNav/NavSections.mjs +0 -18
- package/dist/v2/MainNav/NavUser.js +0 -28
- package/dist/v2/MainNav/NavUser.mjs +0 -19
- package/dist/v2/MainNav/index.js +0 -23
- package/dist/v2/MainNav/index.mjs +0 -8
- package/dist/v2/Pagination/Pagination.js +0 -39
- package/dist/v2/Pagination/Pagination.mjs +0 -15
- package/dist/v2/Pagination/PaginationContext.js +0 -11
- package/dist/v2/Pagination/PaginationContext.mjs +0 -6
- package/dist/v2/Pagination/assets/next.svg.js +0 -5
- package/dist/v2/Pagination/assets/next.svg.mjs +0 -3
- package/dist/v2/Pagination/assets/previous.svg.js +0 -5
- package/dist/v2/Pagination/assets/previous.svg.mjs +0 -3
- package/dist/v2/Pagination/components.js +0 -83
- package/dist/v2/Pagination/components.mjs +0 -71
- package/dist/v2/Pagination/index.js +0 -14
- package/dist/v2/Pagination/index.mjs +0 -2
- package/dist/v2/SimpleMenu/Menu.js +0 -146
- package/dist/v2/SimpleMenu/Menu.mjs +0 -112
- package/dist/v2/SimpleMenu/SimpleMenu.js +0 -48
- package/dist/v2/SimpleMenu/SimpleMenu.mjs +0 -44
- package/dist/v2/SimpleMenu/index.js +0 -12
- package/dist/v2/SimpleMenu/index.mjs +0 -3
- package/dist/v2/SubNav/SubNav.js +0 -29
- package/dist/v2/SubNav/SubNav.mjs +0 -20
- package/dist/v2/SubNav/SubNavHeader.js +0 -65
- package/dist/v2/SubNav/SubNavHeader.mjs +0 -57
- package/dist/v2/SubNav/SubNavLink.js +0 -66
- package/dist/v2/SubNav/SubNavLink.mjs +0 -57
- package/dist/v2/SubNav/SubNavLinkSection.js +0 -51
- package/dist/v2/SubNav/SubNavLinkSection.mjs +0 -43
- package/dist/v2/SubNav/SubNavSection.js +0 -38
- package/dist/v2/SubNav/SubNavSection.mjs +0 -30
- package/dist/v2/SubNav/SubNavSectionLabel.js +0 -33
- package/dist/v2/SubNav/SubNavSectionLabel.mjs +0 -25
- package/dist/v2/SubNav/SubNavSections.js +0 -17
- package/dist/v2/SubNav/SubNavSections.mjs +0 -13
- package/dist/v2/SubNav/index.js +0 -20
- package/dist/v2/SubNav/index.mjs +0 -6
- package/dist/v2/index.js +0 -60
- package/dist/v2/index.mjs +0 -25
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface FieldContextValue {
|
|
3
|
+
error?: string | boolean;
|
|
4
|
+
hint?: React.ReactNode;
|
|
5
|
+
name?: string;
|
|
6
|
+
id: string;
|
|
7
|
+
required: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare const FieldContext: React.Context<FieldContextValue>;
|
|
10
|
+
export declare const useField: () => FieldContextValue;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const FieldError: () => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const FieldHint: () => import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { DefaultTheme } from 'styled-components';
|
|
3
|
+
export interface FieldInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size'> {
|
|
4
|
+
endAction?: React.ReactNode;
|
|
5
|
+
startAction?: React.ReactNode;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
size?: keyof DefaultTheme['sizes']['input'];
|
|
8
|
+
onChange?: React.ChangeEventHandler<HTMLInputElement>;
|
|
9
|
+
}
|
|
10
|
+
export declare const FieldInput: React.ForwardRefExoticComponent<FieldInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
11
|
+
export declare const InputWrapper: import("styled-components").StyledComponent<"div", DefaultTheme, Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & Pick<import("styled-components").CSSProperties, "cursor" | "display" | "overflow" | "pointerEvents" | "transform" | "position" | "textAlign" | "textTransform" | "zIndex" | "animation" | "transition"> & {
|
|
12
|
+
_hover?: ((theme: DefaultTheme) => string) | undefined;
|
|
13
|
+
background?: import("../types").DefaultThemeOrCSSProp<"colors", "background">;
|
|
14
|
+
basis?: import("csstype").Property.FlexBasis<string | number> | undefined;
|
|
15
|
+
borderColor?: keyof import("../themes/colors").Colors | undefined;
|
|
16
|
+
color?: keyof import("../themes/colors").Colors | undefined;
|
|
17
|
+
flex?: import("csstype").Property.Flex<string | number> | undefined;
|
|
18
|
+
fontSize?: import("../types").DefaultThemeOrCSSProp<"fontSizes", "fontSize">;
|
|
19
|
+
grow?: import("csstype").Property.FlexGrow | undefined;
|
|
20
|
+
hasRadius?: boolean | undefined;
|
|
21
|
+
hiddenS?: boolean | undefined;
|
|
22
|
+
hiddenXS?: boolean | undefined;
|
|
23
|
+
padding?: import("../helpers/handleResponsiveValues").ResponsiveValue<"padding">;
|
|
24
|
+
paddingBottom?: import("../helpers/handleResponsiveValues").ResponsiveValue<"paddingBottom">;
|
|
25
|
+
paddingLeft?: import("../helpers/handleResponsiveValues").ResponsiveValue<"paddingLeft">;
|
|
26
|
+
paddingRight?: import("../helpers/handleResponsiveValues").ResponsiveValue<"paddingRight">;
|
|
27
|
+
paddingTop?: import("../helpers/handleResponsiveValues").ResponsiveValue<"paddingTop">;
|
|
28
|
+
marginLeft?: import("../helpers/handleResponsiveValues").ResponsiveValue<"marginLeft">;
|
|
29
|
+
marginBottom?: import("../helpers/handleResponsiveValues").ResponsiveValue<"marginBottom">;
|
|
30
|
+
marginRight?: import("../helpers/handleResponsiveValues").ResponsiveValue<"marginRight">;
|
|
31
|
+
marginTop?: import("../helpers/handleResponsiveValues").ResponsiveValue<"marginTop">;
|
|
32
|
+
shadow?: keyof import("../themes/colors").Shadows | undefined;
|
|
33
|
+
shrink?: import("csstype").Property.FlexShrink | undefined;
|
|
34
|
+
lineHeight?: import("../types").DefaultThemeOrCSSProp<"lineHeights", "lineHeight">;
|
|
35
|
+
width?: import("../types").DefaultThemeOrCSSProp<"spaces", "width">;
|
|
36
|
+
minWidth?: import("../types").DefaultThemeOrCSSProp<"spaces", "minWidth">;
|
|
37
|
+
maxWidth?: import("../types").DefaultThemeOrCSSProp<"spaces", "maxWidth">;
|
|
38
|
+
height?: import("../types").DefaultThemeOrCSSProp<"spaces", "height">;
|
|
39
|
+
minHeight?: import("../types").DefaultThemeOrCSSProp<"spaces", "minHeight">;
|
|
40
|
+
maxHeight?: import("../types").DefaultThemeOrCSSProp<"spaces", "maxHeight">;
|
|
41
|
+
top?: import("../types").DefaultThemeOrCSSProp<"spaces", "top">;
|
|
42
|
+
left?: import("../types").DefaultThemeOrCSSProp<"spaces", "left">;
|
|
43
|
+
bottom?: import("../types").DefaultThemeOrCSSProp<"spaces", "bottom">;
|
|
44
|
+
right?: import("../types").DefaultThemeOrCSSProp<"spaces", "right">;
|
|
45
|
+
borderRadius?: import("csstype").Property.BorderRadius<string | number> | undefined;
|
|
46
|
+
borderStyle?: import("csstype").Property.BorderStyle | undefined;
|
|
47
|
+
borderWidth?: import("csstype").Property.BorderWidth<string | number> | undefined;
|
|
48
|
+
children?: React.ReactNode;
|
|
49
|
+
as?: string | React.ComponentType<any> | undefined;
|
|
50
|
+
forwardedAs?: string | React.ComponentType<any> | undefined;
|
|
51
|
+
} & {
|
|
52
|
+
alignItems?: import("csstype").Property.AlignItems | undefined;
|
|
53
|
+
direction?: import("csstype").Property.FlexDirection | undefined;
|
|
54
|
+
gap?: any;
|
|
55
|
+
inline?: boolean | undefined;
|
|
56
|
+
justifyContent?: import("csstype").Property.JustifyContent | undefined;
|
|
57
|
+
wrap?: import("csstype").Property.FlexWrap | undefined;
|
|
58
|
+
} & {
|
|
59
|
+
disabled: boolean;
|
|
60
|
+
hasError: boolean;
|
|
61
|
+
}, never>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { TypographyProps } from '../Typography';
|
|
3
|
+
export interface FieldLabelProps extends TypographyProps<'label'> {
|
|
4
|
+
action?: React.ReactNode;
|
|
5
|
+
/**
|
|
6
|
+
* @preserve
|
|
7
|
+
* @deprecated "required" should be given to Field component to share the value across components
|
|
8
|
+
*/
|
|
9
|
+
required?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare const FieldLabel: React.ForwardRefExoticComponent<FieldLabelProps & React.RefAttributes<HTMLLabelElement>>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { CSSProperties } from 'styled-components';
|
|
2
|
+
import { BoxProps } from '../Box';
|
|
3
|
+
import { ResponsiveValue } from '../helpers/handleResponsiveValues';
|
|
4
|
+
export type FlexProps<TElement extends keyof JSX.IntrinsicElements = 'div'> = BoxProps<TElement> & {
|
|
5
|
+
alignItems?: CSSProperties['alignItems'];
|
|
6
|
+
direction?: CSSProperties['flexDirection'];
|
|
7
|
+
/**
|
|
8
|
+
* Supports responsive values
|
|
9
|
+
*/
|
|
10
|
+
gap?: ResponsiveValue;
|
|
11
|
+
inline?: boolean;
|
|
12
|
+
justifyContent?: CSSProperties['justifyContent'];
|
|
13
|
+
wrap?: CSSProperties['flexWrap'];
|
|
14
|
+
};
|
|
15
|
+
export declare const Flex: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, FlexProps<"div">, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Flex';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface FocusTrapProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
/**
|
|
4
|
+
* A callback called on escape key. Useful to deactivate the focus trap.
|
|
5
|
+
*/
|
|
6
|
+
onEscape?: () => void;
|
|
7
|
+
/**
|
|
8
|
+
* A boolean value to define whether the focus should be restored or not.
|
|
9
|
+
*/
|
|
10
|
+
restoreFocus?: boolean;
|
|
11
|
+
skipAutoFocus?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare const FocusTrap: ({ onEscape, restoreFocus, skipAutoFocus, ...props }: FocusTrapProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './FocusTrap';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BoxProps } from '../Box';
|
|
2
|
+
import { ResponsiveValue } from '../helpers/handleResponsiveValues';
|
|
3
|
+
export interface GridProps extends BoxProps {
|
|
4
|
+
gridCols?: number;
|
|
5
|
+
gap?: ResponsiveValue;
|
|
6
|
+
}
|
|
7
|
+
export declare const Grid: (props: GridProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { BoxProps } from '../Box';
|
|
2
|
+
export interface GridItemProps extends BoxProps {
|
|
3
|
+
col: number;
|
|
4
|
+
s?: number;
|
|
5
|
+
xs?: number;
|
|
6
|
+
}
|
|
7
|
+
export declare const GridItem: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & Pick<import("styled-components").CSSProperties, "cursor" | "display" | "overflow" | "pointerEvents" | "transform" | "position" | "textAlign" | "textTransform" | "zIndex" | "animation" | "transition"> & {
|
|
8
|
+
_hover?: ((theme: import("styled-components").DefaultTheme) => string) | undefined;
|
|
9
|
+
background?: import("../types").DefaultThemeOrCSSProp<"colors", "background">;
|
|
10
|
+
basis?: import("csstype").Property.FlexBasis<string | number> | undefined;
|
|
11
|
+
borderColor?: keyof import("../themes/colors").Colors | undefined;
|
|
12
|
+
color?: keyof import("../themes/colors").Colors | undefined;
|
|
13
|
+
flex?: import("csstype").Property.Flex<string | number> | undefined;
|
|
14
|
+
fontSize?: import("../types").DefaultThemeOrCSSProp<"fontSizes", "fontSize">;
|
|
15
|
+
grow?: import("csstype").Property.FlexGrow | undefined;
|
|
16
|
+
hasRadius?: boolean | undefined;
|
|
17
|
+
hiddenS?: boolean | undefined;
|
|
18
|
+
hiddenXS?: boolean | undefined;
|
|
19
|
+
padding?: import("../helpers/handleResponsiveValues").ResponsiveValue<"padding">;
|
|
20
|
+
paddingBottom?: import("../helpers/handleResponsiveValues").ResponsiveValue<"paddingBottom">;
|
|
21
|
+
paddingLeft?: import("../helpers/handleResponsiveValues").ResponsiveValue<"paddingLeft">;
|
|
22
|
+
paddingRight?: import("../helpers/handleResponsiveValues").ResponsiveValue<"paddingRight">;
|
|
23
|
+
paddingTop?: import("../helpers/handleResponsiveValues").ResponsiveValue<"paddingTop">;
|
|
24
|
+
marginLeft?: import("../helpers/handleResponsiveValues").ResponsiveValue<"marginLeft">;
|
|
25
|
+
marginBottom?: import("../helpers/handleResponsiveValues").ResponsiveValue<"marginBottom">;
|
|
26
|
+
marginRight?: import("../helpers/handleResponsiveValues").ResponsiveValue<"marginRight">;
|
|
27
|
+
marginTop?: import("../helpers/handleResponsiveValues").ResponsiveValue<"marginTop">;
|
|
28
|
+
shadow?: keyof import("../themes/colors").Shadows | undefined;
|
|
29
|
+
shrink?: import("csstype").Property.FlexShrink | undefined;
|
|
30
|
+
lineHeight?: import("../types").DefaultThemeOrCSSProp<"lineHeights", "lineHeight">;
|
|
31
|
+
width?: import("../types").DefaultThemeOrCSSProp<"spaces", "width">;
|
|
32
|
+
minWidth?: import("../types").DefaultThemeOrCSSProp<"spaces", "minWidth">;
|
|
33
|
+
maxWidth?: import("../types").DefaultThemeOrCSSProp<"spaces", "maxWidth">;
|
|
34
|
+
height?: import("../types").DefaultThemeOrCSSProp<"spaces", "height">;
|
|
35
|
+
minHeight?: import("../types").DefaultThemeOrCSSProp<"spaces", "minHeight">;
|
|
36
|
+
maxHeight?: import("../types").DefaultThemeOrCSSProp<"spaces", "maxHeight">;
|
|
37
|
+
top?: import("../types").DefaultThemeOrCSSProp<"spaces", "top">;
|
|
38
|
+
left?: import("../types").DefaultThemeOrCSSProp<"spaces", "left">;
|
|
39
|
+
bottom?: import("../types").DefaultThemeOrCSSProp<"spaces", "bottom">;
|
|
40
|
+
right?: import("../types").DefaultThemeOrCSSProp<"spaces", "right">;
|
|
41
|
+
borderRadius?: import("csstype").Property.BorderRadius<string | number> | undefined;
|
|
42
|
+
borderStyle?: import("csstype").Property.BorderStyle | undefined;
|
|
43
|
+
borderWidth?: import("csstype").Property.BorderWidth<string | number> | undefined;
|
|
44
|
+
children?: import("react").ReactNode;
|
|
45
|
+
as?: string | import("react").ComponentType<any> | undefined;
|
|
46
|
+
forwardedAs?: string | import("react").ComponentType<any> | undefined;
|
|
47
|
+
} & GridItemProps, never>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { DefaultTheme } from 'styled-components';
|
|
3
|
+
import { BoxProps } from '../Box';
|
|
4
|
+
export interface IconProps extends BoxProps {
|
|
5
|
+
colors?: (theme: DefaultTheme) => string;
|
|
6
|
+
}
|
|
7
|
+
export declare const Icon: React.ForwardRefExoticComponent<IconProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Icon';
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { BaseButtonProps } from '../BaseButton';
|
|
3
|
+
declare const SIZES: readonly ["S", "M", "L"];
|
|
4
|
+
declare const VARIANTS: readonly ["tertiary", "secondary"];
|
|
5
|
+
type IconButtonSizes = (typeof SIZES)[number];
|
|
6
|
+
type Variant = (typeof VARIANTS)[number];
|
|
7
|
+
interface SharedIconButtonProps extends BaseButtonProps {
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
/**
|
|
10
|
+
* @preserve
|
|
11
|
+
* @deprecated use `borderWidth={0}` instead
|
|
12
|
+
*/
|
|
13
|
+
noBorder?: boolean;
|
|
14
|
+
onClick?: React.MouseEventHandler<HTMLButtonElement>;
|
|
15
|
+
size?: IconButtonSizes;
|
|
16
|
+
variant?: Variant;
|
|
17
|
+
}
|
|
18
|
+
interface LabelOnlyProps extends SharedIconButtonProps {
|
|
19
|
+
label: string;
|
|
20
|
+
['aria-label']?: never;
|
|
21
|
+
}
|
|
22
|
+
interface AriaLabelOnlyProps extends SharedIconButtonProps {
|
|
23
|
+
label?: never;
|
|
24
|
+
['aria-label']: string;
|
|
25
|
+
}
|
|
26
|
+
interface IconOnlyProps {
|
|
27
|
+
icon: React.ReactNode;
|
|
28
|
+
children?: never;
|
|
29
|
+
}
|
|
30
|
+
interface ChildrenOnlyProps {
|
|
31
|
+
icon?: never;
|
|
32
|
+
children: React.ReactNode;
|
|
33
|
+
}
|
|
34
|
+
type ChildrenWithLabel = LabelOnlyProps & ChildrenOnlyProps;
|
|
35
|
+
type ChildrenWithAriaLabel = AriaLabelOnlyProps & ChildrenOnlyProps;
|
|
36
|
+
type IconWithLabel = LabelOnlyProps & IconOnlyProps;
|
|
37
|
+
type IconWithAriaLabel = AriaLabelOnlyProps & IconOnlyProps;
|
|
38
|
+
export type IconButtonProps = ChildrenWithLabel | ChildrenWithAriaLabel | IconWithLabel | IconWithAriaLabel;
|
|
39
|
+
export declare const IconButton: React.ForwardRefExoticComponent<IconButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
40
|
+
export declare const IconButtonGroup: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, import("../Flex").FlexProps<"div">, never>;
|
|
41
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './IconButton';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { FieldLabelProps, FieldProps } from '../Field';
|
|
3
|
+
import { FlexProps } from '../Flex';
|
|
4
|
+
interface JSONInputProps extends Omit<FlexProps, 'onChange'>, Pick<FieldProps, 'hint' | 'error' | 'required'> {
|
|
5
|
+
label?: string;
|
|
6
|
+
value?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
labelAction?: FieldLabelProps['action'];
|
|
9
|
+
onChange?: (value: string) => void;
|
|
10
|
+
}
|
|
11
|
+
export interface JSONInputRef extends Partial<HTMLElement> {
|
|
12
|
+
focus(): void;
|
|
13
|
+
}
|
|
14
|
+
export declare const JSONInput: React.ForwardRefExoticComponent<JSONInputProps & React.RefAttributes<JSONInputRef>>;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './JSONInput';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { StateField, Range } from '@codemirror/state';
|
|
2
|
+
import { Decoration } from '@codemirror/view';
|
|
3
|
+
declare const addMarks: import("@codemirror/state").StateEffectType<Range<Decoration>[]>;
|
|
4
|
+
declare const filterMarks: import("@codemirror/state").StateEffectType<(from: number, to: number, value: Decoration) => boolean>;
|
|
5
|
+
declare const lineHighlightMark: Decoration;
|
|
6
|
+
declare const markField: StateField<import("@codemirror/view").DecorationSet>;
|
|
7
|
+
export { addMarks, filterMarks, lineHighlightMark, markField };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { BoxProps } from '../Box';
|
|
2
|
+
export interface KeyboardNavigableProps extends BoxProps {
|
|
3
|
+
tagName?: string;
|
|
4
|
+
attributeName?: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const KeyboardNavigable: ({ tagName, attributeName, ...props }: KeyboardNavigableProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './KeyboardNavigable';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const GridLayout: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { TypographyProps } from '../Typography';
|
|
3
|
+
interface BaseHeaderLayoutProps extends TypographyProps {
|
|
4
|
+
navigationAction?: React.ReactNode;
|
|
5
|
+
primaryAction?: React.ReactNode;
|
|
6
|
+
secondaryAction?: React.ReactNode;
|
|
7
|
+
subtitle?: React.ReactNode;
|
|
8
|
+
sticky?: boolean;
|
|
9
|
+
width?: number;
|
|
10
|
+
}
|
|
11
|
+
interface HeaderLayoutProps extends BaseHeaderLayoutProps {
|
|
12
|
+
}
|
|
13
|
+
export declare const HeaderLayout: {
|
|
14
|
+
(props: HeaderLayoutProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
displayName: string;
|
|
16
|
+
};
|
|
17
|
+
export declare const BaseHeaderLayout: React.ForwardRefExoticComponent<BaseHeaderLayoutProps & React.RefAttributes<HTMLDivElement>>;
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { BaseLinkProps } from '../BaseLink';
|
|
3
|
+
export interface LinkProps extends BaseLinkProps {
|
|
4
|
+
startIcon?: React.ReactNode;
|
|
5
|
+
endIcon?: React.ReactNode;
|
|
6
|
+
/**
|
|
7
|
+
* @default true
|
|
8
|
+
*/
|
|
9
|
+
isExternal?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare const Link: React.ForwardRefExoticComponent<LinkProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Link';
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { BaseButtonProps } from '../BaseButton';
|
|
3
|
+
import { BaseLinkProps } from '../BaseLink';
|
|
4
|
+
import { VARIANTS, BUTTON_SIZES } from '../Button/constants';
|
|
5
|
+
interface SharedLinkProps extends BaseLinkProps {
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
endIcon?: React.ReactNode;
|
|
8
|
+
size?: (typeof BUTTON_SIZES)[number];
|
|
9
|
+
startIcon?: React.ReactNode;
|
|
10
|
+
variant?: (typeof VARIANTS)[number];
|
|
11
|
+
}
|
|
12
|
+
export type LinkButtonProps = SharedLinkProps & BaseButtonProps;
|
|
13
|
+
export declare const LinkButton: React.ForwardRefExoticComponent<SharedLinkProps & Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & Pick<import("styled-components").CSSProperties, "cursor" | "display" | "overflow" | "pointerEvents" | "transform" | "position" | "textAlign" | "textTransform" | "zIndex" | "animation" | "transition"> & {
|
|
14
|
+
_hover?: ((theme: import("styled-components").DefaultTheme) => string) | undefined;
|
|
15
|
+
background?: import("../types").DefaultThemeOrCSSProp<"colors", "background">;
|
|
16
|
+
basis?: import("csstype").Property.FlexBasis<string | number> | undefined;
|
|
17
|
+
borderColor?: keyof import("../themes/colors").Colors | undefined;
|
|
18
|
+
color?: keyof import("../themes/colors").Colors | undefined;
|
|
19
|
+
flex?: import("csstype").Property.Flex<string | number> | undefined;
|
|
20
|
+
fontSize?: import("../types").DefaultThemeOrCSSProp<"fontSizes", "fontSize">;
|
|
21
|
+
grow?: import("csstype").Property.FlexGrow | undefined;
|
|
22
|
+
hasRadius?: boolean | undefined;
|
|
23
|
+
hiddenS?: boolean | undefined;
|
|
24
|
+
hiddenXS?: boolean | undefined;
|
|
25
|
+
padding?: import("../helpers/handleResponsiveValues").ResponsiveValue<"padding">;
|
|
26
|
+
paddingBottom?: import("../helpers/handleResponsiveValues").ResponsiveValue<"paddingBottom">;
|
|
27
|
+
paddingLeft?: import("../helpers/handleResponsiveValues").ResponsiveValue<"paddingLeft">;
|
|
28
|
+
paddingRight?: import("../helpers/handleResponsiveValues").ResponsiveValue<"paddingRight">;
|
|
29
|
+
paddingTop?: import("../helpers/handleResponsiveValues").ResponsiveValue<"paddingTop">;
|
|
30
|
+
marginLeft?: import("../helpers/handleResponsiveValues").ResponsiveValue<"marginLeft">;
|
|
31
|
+
marginBottom?: import("../helpers/handleResponsiveValues").ResponsiveValue<"marginBottom">;
|
|
32
|
+
marginRight?: import("../helpers/handleResponsiveValues").ResponsiveValue<"marginRight">;
|
|
33
|
+
marginTop?: import("../helpers/handleResponsiveValues").ResponsiveValue<"marginTop">;
|
|
34
|
+
shadow?: keyof import("../themes/colors").Shadows | undefined;
|
|
35
|
+
shrink?: import("csstype").Property.FlexShrink | undefined;
|
|
36
|
+
lineHeight?: import("../types").DefaultThemeOrCSSProp<"lineHeights", "lineHeight">;
|
|
37
|
+
width?: import("../types").DefaultThemeOrCSSProp<"spaces", "width">;
|
|
38
|
+
minWidth?: import("../types").DefaultThemeOrCSSProp<"spaces", "minWidth">;
|
|
39
|
+
maxWidth?: import("../types").DefaultThemeOrCSSProp<"spaces", "maxWidth">;
|
|
40
|
+
height?: import("../types").DefaultThemeOrCSSProp<"spaces", "height">;
|
|
41
|
+
minHeight?: import("../types").DefaultThemeOrCSSProp<"spaces", "minHeight">;
|
|
42
|
+
maxHeight?: import("../types").DefaultThemeOrCSSProp<"spaces", "maxHeight">;
|
|
43
|
+
top?: import("../types").DefaultThemeOrCSSProp<"spaces", "top">;
|
|
44
|
+
left?: import("../types").DefaultThemeOrCSSProp<"spaces", "left">;
|
|
45
|
+
bottom?: import("../types").DefaultThemeOrCSSProp<"spaces", "bottom">;
|
|
46
|
+
right?: import("../types").DefaultThemeOrCSSProp<"spaces", "right">;
|
|
47
|
+
borderRadius?: import("csstype").Property.BorderRadius<string | number> | undefined;
|
|
48
|
+
borderStyle?: import("csstype").Property.BorderStyle | undefined;
|
|
49
|
+
borderWidth?: import("csstype").Property.BorderWidth<string | number> | undefined;
|
|
50
|
+
children?: React.ReactNode;
|
|
51
|
+
as?: string | React.ComponentType<any> | undefined;
|
|
52
|
+
forwardedAs?: string | React.ComponentType<any> | undefined;
|
|
53
|
+
} & {
|
|
54
|
+
alignItems?: import("csstype").Property.AlignItems | undefined;
|
|
55
|
+
direction?: import("csstype").Property.FlexDirection | undefined;
|
|
56
|
+
gap?: any;
|
|
57
|
+
inline?: boolean | undefined;
|
|
58
|
+
justifyContent?: import("csstype").Property.JustifyContent | undefined;
|
|
59
|
+
wrap?: import("csstype").Property.FlexWrap | undefined;
|
|
60
|
+
} & React.RefAttributes<HTMLAnchorElement>>;
|
|
61
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './LinkButton';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const LiveRegions: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Loader';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { BaseLinkProps } from '../BaseLink';
|
|
3
|
+
export interface NavBrandProps extends BaseLinkProps {
|
|
4
|
+
icon: React.ReactNode;
|
|
5
|
+
title: string;
|
|
6
|
+
to?: string;
|
|
7
|
+
workplace: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const NavBrand: React.ForwardRefExoticComponent<NavBrandProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { BaseLinkProps } from '../BaseLink';
|
|
3
|
+
export interface NavLinkProps extends BaseLinkProps {
|
|
4
|
+
badgeAriaLabel?: string;
|
|
5
|
+
badgeContent?: string | number;
|
|
6
|
+
children: string;
|
|
7
|
+
icon: React.ReactNode;
|
|
8
|
+
}
|
|
9
|
+
export declare const NavLink: React.ForwardRefExoticComponent<NavLinkProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { FlexProps } from '../Flex';
|
|
3
|
+
export interface NavSectionProps extends FlexProps<'ul'> {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
label: string;
|
|
6
|
+
horizontal?: boolean;
|
|
7
|
+
spacing?: number;
|
|
8
|
+
}
|
|
9
|
+
export declare const NavSection: ({ label, children, horizontal, spacing, ...props }: NavSectionProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { FlexProps } from '../Flex';
|
|
3
|
+
export interface NavSectionsProps extends FlexProps<'ul'> {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
spacing?: number;
|
|
6
|
+
horizontal?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare const NavSections: ({ children, spacing, horizontal, ...props }: NavSectionsProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { BoxProps } from '../Box';
|
|
3
|
+
export interface NavUserProps extends BoxProps {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
initials?: React.ReactNode;
|
|
6
|
+
src?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const NavUser: React.ForwardRefExoticComponent<NavUserProps & React.RefAttributes<any>>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { BoxProps } from '../Box';
|
|
2
|
+
export interface ModalLayoutProps extends BoxProps {
|
|
3
|
+
labelledBy: string;
|
|
4
|
+
onClose: () => void;
|
|
5
|
+
}
|
|
6
|
+
export declare const ModalLayout: ({ onClose, labelledBy, ...props }: ModalLayoutProps) => import("react/jsx-runtime").JSX.Element;
|