@strapi/design-system 1.19.0-typescript.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/AccordionContext.d.ts +2 -1
- package/dist/BaseLink/BaseLink.d.ts +1 -1
- package/dist/BaseRadio/BaseRadio.d.ts +1 -1
- package/dist/BaseRadio/RadioGroup.d.ts +4 -4
- package/dist/BaseRadio/context.d.ts +3 -3
- package/dist/Breadcrumbs/Breadcrumbs.d.ts +2 -11
- package/dist/{v2/Breadcrumbs → Breadcrumbs}/Crumb.d.ts +1 -1
- package/dist/{v2/Breadcrumbs → Breadcrumbs}/CrumbLink.d.ts +1 -1
- package/dist/{v2/Breadcrumbs → Breadcrumbs}/CrumbSimpleMenu.d.ts +2 -2
- package/dist/Breadcrumbs/index.d.ts +3 -0
- package/dist/Button/Button.d.ts +1 -1
- package/dist/Card/CardAction.d.ts +53 -6
- package/dist/Card/CardContext.d.ts +2 -1
- package/dist/CarouselInput/CarouselInput.d.ts +2 -1
- package/dist/Dialog/DialogBody.d.ts +1 -1
- package/dist/Dialog/DialogFooter.d.ts +1 -1
- package/dist/Field/Field.d.ts +4 -4
- package/dist/Field/FieldAction.d.ts +3 -3
- package/dist/Field/FieldContext.d.ts +3 -3
- package/dist/Field/FieldInput.d.ts +7 -7
- package/dist/Field/FieldLabel.d.ts +3 -3
- package/dist/FocusTrap/FocusTrap.d.ts +2 -2
- package/dist/Icon/Icon.d.ts +1 -1
- package/dist/JSONInput/JSONInput.d.ts +1 -1
- package/dist/Layout/HeaderLayout.d.ts +1 -1
- package/dist/Link/Link.d.ts +7 -15
- package/dist/LinkButton/LinkButton.d.ts +52 -14
- package/dist/MainNav/MainNav.d.ts +1 -1
- package/dist/MainNav/MainNavContext.d.ts +2 -1
- package/dist/MainNav/NavBrand.d.ts +5 -4
- package/dist/MainNav/NavCondense.d.ts +4 -4
- package/dist/MainNav/NavFooter.d.ts +1 -1
- package/dist/MainNav/NavLink.d.ts +7 -7
- package/dist/MainNav/NavSection.d.ts +5 -7
- package/dist/MainNav/NavSections.d.ts +4 -6
- package/dist/MainNav/NavUser.d.ts +4 -3
- package/dist/ModalLayout/ModalContext.d.ts +2 -1
- package/dist/NumberInput/NumberInput.d.ts +1 -1
- package/dist/Pagination/PaginationContext.d.ts +2 -1
- package/dist/Pagination/components.d.ts +6 -16
- package/dist/RawTable/RawCell.d.ts +2 -2
- package/dist/RawTable/RawTable.d.ts +2 -2
- package/dist/RawTable/RawTableContext.d.ts +2 -1
- package/dist/RawTable/RawTbody.d.ts +3 -3
- package/dist/RawTable/RawThead.d.ts +3 -3
- package/dist/Searchbar/Searchbar.d.ts +2 -2
- package/dist/Select/index.d.ts +0 -11
- package/dist/{v2/SimpleMenu → SimpleMenu}/Menu.d.ts +15 -15
- package/dist/SimpleMenu/SimpleMenu.d.ts +56 -29
- package/dist/Status/Status.d.ts +1 -1
- package/dist/SubNav/SubNav.d.ts +1 -1
- package/dist/SubNav/SubNavHeader.d.ts +7 -7
- package/dist/SubNav/SubNavLink.d.ts +6 -5
- package/dist/SubNav/SubNavLinkSection.d.ts +2 -2
- package/dist/SubNav/SubNavSection.d.ts +3 -3
- package/dist/SubNav/SubNavSectionLabel.d.ts +4 -3
- package/dist/SubNav/SubNavSections.d.ts +4 -6
- package/dist/Switch/Switch.d.ts +1 -1
- package/dist/Table/Cell.d.ts +1 -1
- package/dist/Table/TFooter.d.ts +1 -1
- package/dist/Table/Table.d.ts +1 -1
- package/dist/Tabs/TabPanels.d.ts +1 -1
- package/dist/Tabs/Tabs.d.ts +1 -1
- package/dist/Tabs/TabsContext.d.ts +2 -1
- package/dist/Tag/Tag.d.ts +1 -0
- package/dist/TextInput/TextInput.d.ts +4 -4
- package/dist/Textarea/Textarea.d.ts +1 -1
- package/dist/Tooltip/hooks/useTooltipLayout.d.ts +3 -2
- package/dist/helpers/handleResponsiveValues.d.ts +2 -2
- package/dist/hooks/useElementOnScreen.d.ts +1 -0
- package/dist/hooks/useIntersection.d.ts +2 -2
- package/dist/hooks/useResizeObserver.d.ts +2 -2
- package/dist/index.d.ts +0 -2
- 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/types.d.ts +2 -2
- 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/__tests__/Avatar.spec.d.ts +0 -1
- 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/__tests__/BaseLink.spec.d.ts +0 -1
- 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/__tests__/Box.spec.d.ts +0 -1
- 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/__tests__/utils.spec.d.ts +0 -1
- 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/__tests__/Combobox.spec.d.ts +0 -1
- 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/__tests__/DatePicker.spec.d.ts +0 -1
- 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/__tests__/DateTimePicker.spec.d.ts +0 -1
- 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/__tests__/Dialog.spec.d.ts +0 -1
- 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/__tests__/Field.spec.d.ts +0 -1
- 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/__tests__/JSONInput.spec.d.ts +0 -1
- 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/__tests__/LiveRegions.spec.d.ts +0 -1
- 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/__tests__/ModalLayout.spec.d.ts +0 -1
- 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/__tests__/Popover.spec.d.ts +0 -1
- 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/__tests__/Radio.spec.d.ts +0 -1
- 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.d.ts +0 -9
- package/dist/Select/OptGroup.js +0 -14
- package/dist/Select/OptGroup.mjs +0 -10
- package/dist/Select/Option.d.ts +0 -13
- package/dist/Select/Option.js +0 -20
- package/dist/Select/Option.mjs +0 -16
- package/dist/Select/Select.d.ts +0 -18
- package/dist/Select/Select.js +0 -44
- package/dist/Select/Select.mjs +0 -19
- package/dist/Select/SelectList.d.ts +0 -25
- 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/__tests__/MultiSelect.spec.d.ts +0 -1
- package/dist/Select/__tests__/MultiSelectNested.spec.d.ts +0 -1
- package/dist/Select/__tests__/Select.spec.d.ts +0 -1
- package/dist/Select/__tests__/SingleSelect.spec.d.ts +0 -1
- 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/__tests__/SimpleMenu.spec.d.ts +0 -1
- package/dist/SimpleMenu/index.js +0 -10
- package/dist/SimpleMenu/index.mjs +0 -1
- package/dist/SimpleMenu/utils.d.ts +0 -3
- package/dist/SimpleMenu/utils.js +0 -18
- package/dist/SimpleMenu/utils.mjs +0 -14
- package/dist/Stack/Stack.d.ts +0 -20
- package/dist/Stack/Stack.js +0 -57
- package/dist/Stack/Stack.mjs +0 -49
- package/dist/Stack/index.d.ts +0 -1
- 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/__tests__/Status.spec.d.ts +0 -1
- 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/__tests__/Tag.spec.d.ts +0 -1
- 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/__tests__/TextInput.spec.d.ts +0 -1
- 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/__tests__/TimePicker.spec.d.ts +0 -1
- package/dist/TimePicker/index.js +0 -10
- package/dist/TimePicker/index.mjs +0 -1
- package/dist/ToggleCheckbox/ToggleCheckbox.d.ts +0 -10
- package/dist/ToggleCheckbox/ToggleCheckbox.js +0 -99
- package/dist/ToggleCheckbox/ToggleCheckbox.mjs +0 -90
- package/dist/ToggleCheckbox/index.d.ts +0 -1
- 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/__tests__/ToggleInput.spec.d.ts +0 -1
- 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/__tests__/Tooltip.spec.d.ts +0 -1
- 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/__tests__/positionTooltip.spec.d.ts +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/__tests__/Typography.spec.d.ts +0 -1
- 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/__tests__/deprecations.spec.d.ts +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.d.ts +0 -6
- package/dist/helpers/useElementOnScreen.js +0 -18
- package/dist/helpers/useElementOnScreen.mjs +0 -14
- package/dist/helpers/useId.d.ts +0 -6
- package/dist/helpers/useId.js +0 -18
- package/dist/helpers/useId.mjs +0 -14
- package/dist/helpers/useIntersection.d.ts +0 -6
- package/dist/helpers/useIntersection.js +0 -18
- package/dist/helpers/useIntersection.mjs +0 -14
- package/dist/helpers/useLockScroll.d.ts +0 -7
- package/dist/helpers/useLockScroll.js +0 -16
- package/dist/helpers/useLockScroll.mjs +0 -14
- package/dist/helpers/usePrevious.d.ts +0 -6
- package/dist/helpers/usePrevious.js +0 -18
- package/dist/helpers/usePrevious.mjs +0 -14
- package/dist/helpers/useResizeObserver.d.ts +0 -6
- package/dist/helpers/useResizeObserver.js +0 -18
- package/dist/helpers/useResizeObserver.mjs +0 -14
- package/dist/hooks/__tests__/useId.spec.d.ts +0 -1
- 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/__tests__/extendTheme.spec.d.ts +0 -1
- 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.d.ts +0 -8
- 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/__tests__/Breadcrumbs.spec.d.ts +0 -1
- package/dist/v2/Breadcrumbs/index.d.ts +0 -4
- package/dist/v2/Breadcrumbs/index.js +0 -15
- package/dist/v2/Breadcrumbs/index.mjs +0 -4
- package/dist/v2/Link/Link.d.ts +0 -11
- package/dist/v2/Link/Link.js +0 -48
- package/dist/v2/Link/Link.mjs +0 -39
- package/dist/v2/Link/index.d.ts +0 -1
- package/dist/v2/Link/index.js +0 -9
- package/dist/v2/Link/index.mjs +0 -1
- package/dist/v2/LinkButton/LinkButton.d.ts +0 -61
- package/dist/v2/LinkButton/LinkButton.js +0 -46
- package/dist/v2/LinkButton/LinkButton.mjs +0 -37
- package/dist/v2/LinkButton/index.d.ts +0 -1
- package/dist/v2/LinkButton/index.js +0 -9
- package/dist/v2/LinkButton/index.mjs +0 -1
- package/dist/v2/MainNav/MainNav.d.ts +0 -5
- package/dist/v2/MainNav/MainNav.js +0 -22
- package/dist/v2/MainNav/MainNav.mjs +0 -14
- package/dist/v2/MainNav/MainNavContext.d.ts +0 -2
- package/dist/v2/MainNav/MainNavContext.js +0 -11
- package/dist/v2/MainNav/MainNavContext.mjs +0 -6
- package/dist/v2/MainNav/NavBrand.d.ts +0 -9
- package/dist/v2/MainNav/NavBrand.js +0 -46
- package/dist/v2/MainNav/NavBrand.mjs +0 -37
- package/dist/v2/MainNav/NavCondense.d.ts +0 -5
- package/dist/v2/MainNav/NavCondense.js +0 -42
- package/dist/v2/MainNav/NavCondense.mjs +0 -34
- package/dist/v2/MainNav/NavFooter.d.ts +0 -5
- package/dist/v2/MainNav/NavFooter.js +0 -12
- package/dist/v2/MainNav/NavFooter.mjs +0 -8
- package/dist/v2/MainNav/NavLink.d.ts +0 -9
- package/dist/v2/MainNav/NavLink.js +0 -102
- package/dist/v2/MainNav/NavLink.mjs +0 -93
- package/dist/v2/MainNav/NavSection.d.ts +0 -9
- package/dist/v2/MainNav/NavSection.js +0 -28
- package/dist/v2/MainNav/NavSection.mjs +0 -24
- package/dist/v2/MainNav/NavSections.d.ts +0 -8
- package/dist/v2/MainNav/NavSections.js +0 -26
- package/dist/v2/MainNav/NavSections.mjs +0 -18
- package/dist/v2/MainNav/NavUser.d.ts +0 -8
- package/dist/v2/MainNav/NavUser.js +0 -28
- package/dist/v2/MainNav/NavUser.mjs +0 -19
- package/dist/v2/MainNav/index.d.ts +0 -8
- package/dist/v2/MainNav/index.js +0 -23
- package/dist/v2/MainNav/index.mjs +0 -8
- package/dist/v2/Pagination/Pagination.d.ts +0 -8
- package/dist/v2/Pagination/Pagination.js +0 -39
- package/dist/v2/Pagination/Pagination.mjs +0 -15
- package/dist/v2/Pagination/PaginationContext.d.ts +0 -6
- 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.d.ts +0 -16
- package/dist/v2/Pagination/components.js +0 -83
- package/dist/v2/Pagination/components.mjs +0 -71
- package/dist/v2/Pagination/index.d.ts +0 -2
- 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.d.ts +0 -62
- package/dist/v2/SimpleMenu/SimpleMenu.js +0 -48
- package/dist/v2/SimpleMenu/SimpleMenu.mjs +0 -44
- package/dist/v2/SimpleMenu/__tests__/Menu.spec.d.ts +0 -1
- package/dist/v2/SimpleMenu/__tests__/SimpleMenu.spec.d.ts +0 -1
- package/dist/v2/SimpleMenu/index.d.ts +0 -1
- package/dist/v2/SimpleMenu/index.js +0 -12
- package/dist/v2/SimpleMenu/index.mjs +0 -3
- package/dist/v2/SubNav/SubNav.d.ts +0 -6
- package/dist/v2/SubNav/SubNav.js +0 -29
- package/dist/v2/SubNav/SubNav.mjs +0 -20
- package/dist/v2/SubNav/SubNavHeader.d.ts +0 -13
- package/dist/v2/SubNav/SubNavHeader.js +0 -65
- package/dist/v2/SubNav/SubNavHeader.mjs +0 -57
- package/dist/v2/SubNav/SubNavLink.d.ts +0 -9
- package/dist/v2/SubNav/SubNavLink.js +0 -66
- package/dist/v2/SubNav/SubNavLink.mjs +0 -57
- package/dist/v2/SubNav/SubNavLinkSection.d.ts +0 -7
- package/dist/v2/SubNav/SubNavLinkSection.js +0 -51
- package/dist/v2/SubNav/SubNavLinkSection.mjs +0 -43
- package/dist/v2/SubNav/SubNavSection.d.ts +0 -9
- package/dist/v2/SubNav/SubNavSection.js +0 -38
- package/dist/v2/SubNav/SubNavSection.mjs +0 -30
- package/dist/v2/SubNav/SubNavSectionLabel.d.ts +0 -9
- package/dist/v2/SubNav/SubNavSectionLabel.js +0 -33
- package/dist/v2/SubNav/SubNavSectionLabel.mjs +0 -25
- package/dist/v2/SubNav/SubNavSections.d.ts +0 -8
- package/dist/v2/SubNav/SubNavSections.js +0 -17
- package/dist/v2/SubNav/SubNavSections.mjs +0 -13
- package/dist/v2/SubNav/index.d.ts +0 -6
- package/dist/v2/SubNav/index.js +0 -20
- package/dist/v2/SubNav/index.mjs +0 -6
- package/dist/v2/index.d.ts +0 -7
- package/dist/v2/index.js +0 -60
- package/dist/v2/index.mjs +0 -25
- /package/dist/{v2/Breadcrumbs → Breadcrumbs}/Divider.d.ts +0 -0
|
@@ -1,26 +1,16 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import {
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { BaseLinkProps } from '../BaseLink';
|
|
3
3
|
import { BoxProps } from '../Box';
|
|
4
|
-
interface PaginationLinkProps extends
|
|
4
|
+
interface PaginationLinkProps extends BaseLinkProps {
|
|
5
5
|
active: boolean;
|
|
6
|
-
children: React.ReactNode;
|
|
7
6
|
}
|
|
8
7
|
interface PaginationPageLinkProps extends PaginationLinkProps {
|
|
9
8
|
number: number;
|
|
10
9
|
}
|
|
11
10
|
interface DotsProps extends BoxProps {
|
|
12
11
|
}
|
|
13
|
-
export declare const PreviousLink:
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
};
|
|
17
|
-
export declare const NextLink: {
|
|
18
|
-
({ children, to, ...props }: PaginationLinkProps): import("react/jsx-runtime").JSX.Element;
|
|
19
|
-
displayName: string;
|
|
20
|
-
};
|
|
21
|
-
export declare const PageLink: {
|
|
22
|
-
({ number, children, ...props }: PaginationPageLinkProps): import("react/jsx-runtime").JSX.Element;
|
|
23
|
-
displayName: string;
|
|
24
|
-
};
|
|
12
|
+
export declare const PreviousLink: React.ForwardRefExoticComponent<PaginationLinkProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
13
|
+
export declare const NextLink: React.ForwardRefExoticComponent<PaginationLinkProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
14
|
+
export declare const PageLink: React.ForwardRefExoticComponent<PaginationPageLinkProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
25
15
|
export declare const Dots: ({ children, ...props }: DotsProps) => import("react/jsx-runtime").JSX.Element;
|
|
26
16
|
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { BoxProps } from '../Box';
|
|
3
3
|
export interface RawTdProps extends BoxProps<'td'> {
|
|
4
4
|
'aria-colindex'?: number;
|
|
5
5
|
as?: 'td' | 'th';
|
|
6
|
-
children?: ReactNode;
|
|
6
|
+
children?: React.ReactNode;
|
|
7
7
|
coords?: {
|
|
8
8
|
col: number;
|
|
9
9
|
row: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
export interface RawTableProps extends TableHTMLAttributes<HTMLTableElement> {
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface RawTableProps extends React.TableHTMLAttributes<HTMLTableElement> {
|
|
3
3
|
colCount: number;
|
|
4
4
|
initialCol?: number;
|
|
5
5
|
initialRow?: number;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
export interface RawTableContextValue {
|
|
2
3
|
rowIndex: number;
|
|
3
4
|
colIndex: number;
|
|
@@ -6,5 +7,5 @@ export interface RawTableContextValue {
|
|
|
6
7
|
colIndex: number;
|
|
7
8
|
}) => void;
|
|
8
9
|
}
|
|
9
|
-
export declare const RawTableContext:
|
|
10
|
+
export declare const RawTableContext: React.Context<RawTableContextValue>;
|
|
10
11
|
export declare const useTable: () => RawTableContextValue;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
export interface RawTbodyProps extends TableHTMLAttributes<HTMLTableSectionElement> {
|
|
3
|
-
children: ReactNode;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface RawTbodyProps extends React.TableHTMLAttributes<HTMLTableSectionElement> {
|
|
3
|
+
children: React.ReactNode;
|
|
4
4
|
}
|
|
5
5
|
export declare const RawTbody: ({ children, ...props }: RawTbodyProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
export interface RawTheadProps extends TableHTMLAttributes<HTMLTableSectionElement> {
|
|
3
|
-
children: ReactNode;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface RawTheadProps extends React.TableHTMLAttributes<HTMLTableSectionElement> {
|
|
3
|
+
children: React.ReactNode;
|
|
4
4
|
}
|
|
5
5
|
export declare const RawThead: ({ children, ...props }: RawTheadProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { FieldInputProps, FieldProps } from '../Field';
|
|
3
3
|
export interface SearchbarProps extends Omit<FieldInputProps, 'id' | 'name'>, Pick<FieldProps, 'id' | 'name'> {
|
|
4
4
|
name: string;
|
|
5
5
|
value?: string;
|
|
6
|
-
onClear: MouseEventHandler<any>;
|
|
6
|
+
onClear: React.MouseEventHandler<any>;
|
|
7
7
|
clearLabel: string;
|
|
8
8
|
}
|
|
9
9
|
export declare const Searchbar: React.ForwardRefExoticComponent<SearchbarProps & React.RefAttributes<HTMLInputElement>>;
|
package/dist/Select/index.d.ts
CHANGED
|
@@ -4,14 +4,3 @@ export { MultiSelect, MultiSelectGroup, MultiSelectOption } from './MultiSelect'
|
|
|
4
4
|
export type { MultiSelectProps, MultiSelectGroupProps, MultiSelectOptionProps } from './MultiSelect';
|
|
5
5
|
export { SingleSelect, SingleSelectOption } from './SingleSelect';
|
|
6
6
|
export type { SingleSelectProps, SingleSelectOptionProps } from './SingleSelect';
|
|
7
|
-
/**
|
|
8
|
-
* These are deprecated
|
|
9
|
-
*/
|
|
10
|
-
export { Select } from './Select';
|
|
11
|
-
export type { SelectProps } from './Select';
|
|
12
|
-
export { Option } from './Option';
|
|
13
|
-
export type { OptionProps } from './Option';
|
|
14
|
-
export { OptGroup } from './OptGroup';
|
|
15
|
-
export type { OptGroupProps } from './OptGroup';
|
|
16
|
-
export { SelectList } from './SelectList';
|
|
17
|
-
export type { SelectListProps } from './SelectList';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import * as DropdownMenu from '@radix-ui/react-dropdown-menu';
|
|
3
|
-
import { BaseLink } from '
|
|
4
|
-
import { BoxProps } from '
|
|
5
|
-
import { ButtonProps } from '
|
|
6
|
-
import { FlexProps } from '
|
|
7
|
-
import { POPOVER_PLACEMENTS } from '../../Popover';
|
|
8
|
-
import { TypographyProps } from '../../Typography';
|
|
3
|
+
import { BaseLink } from '../BaseLink';
|
|
4
|
+
import { BoxProps } from '../Box';
|
|
5
|
+
import { ButtonProps } from '../Button';
|
|
6
|
+
import { FlexProps } from '../Flex';
|
|
9
7
|
import { LinkProps } from '../Link';
|
|
8
|
+
import { POPOVER_PLACEMENTS } from '../Popover';
|
|
9
|
+
import { TypographyProps } from '../Typography';
|
|
10
10
|
interface RootProps extends DropdownMenu.DropdownMenuProps {
|
|
11
11
|
}
|
|
12
12
|
interface TriggerProps extends ButtonProps {
|
|
@@ -25,7 +25,7 @@ interface ItemExternalLinkProps extends ItemSharedProps, Omit<LinkProps, 'onSele
|
|
|
25
25
|
isLink?: false;
|
|
26
26
|
isExternal?: true;
|
|
27
27
|
}
|
|
28
|
-
type ItemInternalLinkProps<TComponent extends React.ComponentType = typeof BaseLink> = ItemSharedProps & ComponentPropsWithoutRef<TComponent> & {
|
|
28
|
+
type ItemInternalLinkProps<TComponent extends React.ComponentType = typeof BaseLink> = ItemSharedProps & React.ComponentPropsWithoutRef<TComponent> & {
|
|
29
29
|
as?: TComponent;
|
|
30
30
|
isLink?: true;
|
|
31
31
|
isExternal?: false;
|
|
@@ -44,13 +44,13 @@ interface SubTriggerProps extends BoxProps<'button'> {
|
|
|
44
44
|
}
|
|
45
45
|
interface SubContentProps extends FlexProps<'div'> {
|
|
46
46
|
}
|
|
47
|
-
declare const Root:
|
|
48
|
-
declare const Trigger:
|
|
49
|
-
declare const Content:
|
|
47
|
+
declare const Root: React.FC<DropdownMenu.DropdownMenuProps>;
|
|
48
|
+
declare const Trigger: React.ForwardRefExoticComponent<TriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
49
|
+
declare const Content: React.ForwardRefExoticComponent<ContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
50
50
|
declare const Item: ({ onSelect, disabled, ...props }: ItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
51
|
-
declare const Label:
|
|
52
|
-
declare const SubRoot:
|
|
53
|
-
declare const SubTrigger:
|
|
54
|
-
declare const SubContent:
|
|
51
|
+
declare const Label: React.ForwardRefExoticComponent<LabelProps & React.RefAttributes<HTMLSpanElement>>;
|
|
52
|
+
declare const SubRoot: React.FC<DropdownMenu.DropdownMenuSubProps>;
|
|
53
|
+
declare const SubTrigger: React.ForwardRefExoticComponent<SubTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
54
|
+
declare const SubContent: React.ForwardRefExoticComponent<SubContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
55
55
|
export { Root, Trigger, Content, Item, Label, SubRoot, SubTrigger, SubContent };
|
|
56
56
|
export type { TriggerProps, ContentProps, ItemProps, RootProps, SubRootProps, SubTriggerProps, SubContentProps, LabelProps, };
|
|
@@ -1,33 +1,60 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
children: React.ReactNode;
|
|
7
|
-
href?: string;
|
|
8
|
-
isFocused?: boolean;
|
|
9
|
-
onClick?: () => void;
|
|
10
|
-
to?: string;
|
|
11
|
-
isExternal?: boolean;
|
|
12
|
-
}
|
|
13
|
-
export declare const MenuItem: ({ children, onClick, to, isFocused, href, ...props }: MenuItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
export type SimpleMenuProps<As extends React.ElementType = React.ElementType> = Omit<React.ComponentPropsWithoutRef<As>, 'as' | 'children' | 'id' | 'label' | 'onClose' | 'onOpen' | 'onReachEnd' | 'popoverPlacement' | 'size'> & {
|
|
15
|
-
as?: As;
|
|
16
|
-
children: React.ReactNode;
|
|
17
|
-
id?: string;
|
|
18
|
-
label: React.ReactElement | string | number;
|
|
19
|
-
onClose?: () => void;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as Menu from './Menu';
|
|
3
|
+
interface SimpleMenuProps extends Omit<Menu.TriggerProps, 'children'>, Pick<Menu.ContentProps, 'popoverPlacement' | 'intersectionId'> {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
label?: React.ReactNode;
|
|
20
6
|
onOpen?: () => void;
|
|
7
|
+
onClose?: () => void;
|
|
21
8
|
/**
|
|
22
9
|
* Callback function to be called when the popover reaches the end of the scrollable content
|
|
23
10
|
*/
|
|
24
|
-
onReachEnd?: () => void;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
11
|
+
onReachEnd?: (entry: IntersectionObserverEntry) => void;
|
|
12
|
+
}
|
|
13
|
+
declare const SimpleMenu: ({ children, onOpen, onClose, popoverPlacement, onReachEnd, ...props }: SimpleMenuProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
declare const MenuItem: ({ onSelect, disabled, ...props }: Menu.ItemProps<React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & Pick<import("styled-components").CSSProperties, "cursor" | "display" | "overflow" | "pointerEvents" | "transform" | "position" | "textAlign" | "textTransform" | "zIndex" | "animation" | "transition"> & {
|
|
15
|
+
_hover?: ((theme: import("styled-components").DefaultTheme) => string) | undefined;
|
|
16
|
+
background?: import("../types").DefaultThemeOrCSSProp<"colors", "background">;
|
|
17
|
+
basis?: import("csstype").Property.FlexBasis<string | number> | undefined;
|
|
18
|
+
borderColor?: keyof import("../themes/colors").Colors | undefined;
|
|
19
|
+
color?: keyof import("../themes/colors").Colors | undefined;
|
|
20
|
+
flex?: import("csstype").Property.Flex<string | number> | undefined;
|
|
21
|
+
fontSize?: import("../types").DefaultThemeOrCSSProp<"fontSizes", "fontSize">;
|
|
22
|
+
grow?: import("csstype").Property.FlexGrow | undefined;
|
|
23
|
+
hasRadius?: boolean | undefined;
|
|
24
|
+
hiddenS?: boolean | undefined;
|
|
25
|
+
hiddenXS?: boolean | undefined;
|
|
26
|
+
padding?: import("../helpers/handleResponsiveValues").ResponsiveValue<"padding">;
|
|
27
|
+
paddingBottom?: import("../helpers/handleResponsiveValues").ResponsiveValue<"paddingBottom">;
|
|
28
|
+
paddingLeft?: import("../helpers/handleResponsiveValues").ResponsiveValue<"paddingLeft">;
|
|
29
|
+
paddingRight?: import("../helpers/handleResponsiveValues").ResponsiveValue<"paddingRight">;
|
|
30
|
+
paddingTop?: import("../helpers/handleResponsiveValues").ResponsiveValue<"paddingTop">;
|
|
31
|
+
marginLeft?: import("../helpers/handleResponsiveValues").ResponsiveValue<"marginLeft">;
|
|
32
|
+
marginBottom?: import("../helpers/handleResponsiveValues").ResponsiveValue<"marginBottom">;
|
|
33
|
+
marginRight?: import("../helpers/handleResponsiveValues").ResponsiveValue<"marginRight">;
|
|
34
|
+
marginTop?: import("../helpers/handleResponsiveValues").ResponsiveValue<"marginTop">;
|
|
35
|
+
shadow?: keyof import("../themes/colors").Shadows | undefined;
|
|
36
|
+
shrink?: import("csstype").Property.FlexShrink | undefined;
|
|
37
|
+
lineHeight?: import("../types").DefaultThemeOrCSSProp<"lineHeights", "lineHeight">;
|
|
38
|
+
width?: import("../types").DefaultThemeOrCSSProp<"spaces", "width">;
|
|
39
|
+
minWidth?: import("../types").DefaultThemeOrCSSProp<"spaces", "minWidth">;
|
|
40
|
+
maxWidth?: import("../types").DefaultThemeOrCSSProp<"spaces", "maxWidth">;
|
|
41
|
+
height?: import("../types").DefaultThemeOrCSSProp<"spaces", "height">;
|
|
42
|
+
minHeight?: import("../types").DefaultThemeOrCSSProp<"spaces", "minHeight">;
|
|
43
|
+
maxHeight?: import("../types").DefaultThemeOrCSSProp<"spaces", "maxHeight">;
|
|
44
|
+
top?: import("../types").DefaultThemeOrCSSProp<"spaces", "top">;
|
|
45
|
+
left?: import("../types").DefaultThemeOrCSSProp<"spaces", "left">;
|
|
46
|
+
bottom?: import("../types").DefaultThemeOrCSSProp<"spaces", "bottom">;
|
|
47
|
+
right?: import("../types").DefaultThemeOrCSSProp<"spaces", "right">;
|
|
48
|
+
borderRadius?: import("csstype").Property.BorderRadius<string | number> | undefined;
|
|
49
|
+
borderStyle?: import("csstype").Property.BorderStyle | undefined;
|
|
50
|
+
borderWidth?: import("csstype").Property.BorderWidth<string | number> | undefined;
|
|
51
|
+
children?: React.ReactNode;
|
|
52
|
+
as?: string | React.ComponentType<any> | undefined;
|
|
53
|
+
forwardedAs?: string | React.ComponentType<any> | undefined;
|
|
54
|
+
} & {
|
|
55
|
+
disabled?: boolean | undefined;
|
|
56
|
+
isExternal?: boolean | undefined;
|
|
57
|
+
} & React.RefAttributes<HTMLAnchorElement>>>) => import("react/jsx-runtime").JSX.Element;
|
|
58
|
+
type MenuItemProps = Menu.ItemProps;
|
|
59
|
+
export { SimpleMenu, MenuItem, Menu };
|
|
60
|
+
export type { SimpleMenuProps, MenuItemProps };
|
package/dist/Status/Status.d.ts
CHANGED
package/dist/SubNav/SubNav.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GridProps } from '../Grid';
|
|
2
|
+
export declare const subNavWidth = "23.2rem";
|
|
2
3
|
export interface SubNavProps extends GridProps {
|
|
3
4
|
ariaLabel: string;
|
|
4
5
|
}
|
|
5
|
-
export declare const subNavWidth = "14.5rem";
|
|
6
6
|
export declare const SubNav: ({ ariaLabel, ...props }: SubNavProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
export interface SubNavHeaderProps {
|
|
3
|
-
as?:
|
|
4
|
-
id
|
|
3
|
+
as?: keyof JSX.IntrinsicElements;
|
|
4
|
+
id?: string;
|
|
5
5
|
label: string;
|
|
6
|
-
onChange?: ChangeEventHandler<HTMLInputElement>;
|
|
7
|
-
onClear?:
|
|
8
|
-
onSubmit?: React.FormEventHandler
|
|
9
|
-
searchable: boolean;
|
|
6
|
+
onChange?: React.ChangeEventHandler<HTMLInputElement>;
|
|
7
|
+
onClear?: React.MouseEventHandler<HTMLInputElement>;
|
|
8
|
+
onSubmit?: React.FormEventHandler<HTMLInputElement>;
|
|
10
9
|
searchLabel?: string;
|
|
10
|
+
searchable?: boolean;
|
|
11
11
|
value?: string;
|
|
12
12
|
}
|
|
13
13
|
export declare const SubNavHeader: ({ as, label, searchLabel, searchable, onChange, value, onClear, onSubmit, id, }: SubNavHeaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface SubNavLinkProps {
|
|
3
|
+
as?: React.ElementType;
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
icon?: React.ReactElement;
|
|
5
6
|
isSubSectionChild?: boolean;
|
|
6
7
|
withBullet?: boolean;
|
|
7
8
|
}
|
|
8
|
-
export declare const SubNavLink:
|
|
9
|
+
export declare const SubNavLink: React.ForwardRefExoticComponent<SubNavLinkProps & React.RefAttributes<unknown>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
export interface SubNavLinkSectionProps {
|
|
3
3
|
children: React.ReactNode;
|
|
4
|
-
id
|
|
4
|
+
id?: string;
|
|
5
5
|
label: string;
|
|
6
6
|
}
|
|
7
7
|
export declare const SubNavLinkSection: ({ label, children, id }: SubNavLinkSectionProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
export interface SubNavSectionProps {
|
|
3
|
-
badgeLabel
|
|
3
|
+
badgeLabel?: string;
|
|
4
4
|
children: React.ReactNode;
|
|
5
5
|
collapsable?: boolean;
|
|
6
|
-
id
|
|
6
|
+
id?: string;
|
|
7
7
|
label: string;
|
|
8
8
|
}
|
|
9
9
|
export declare const SubNavSection: ({ collapsable, label, badgeLabel, children, id }: SubNavSectionProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
export interface SubNavSectionLabelProps {
|
|
2
|
-
ariaControls
|
|
3
|
-
ariaExpanded
|
|
3
|
+
ariaControls?: string;
|
|
4
|
+
ariaExpanded?: boolean;
|
|
4
5
|
collapsable?: boolean;
|
|
5
6
|
label: string;
|
|
6
|
-
onClick
|
|
7
|
+
onClick: React.MouseEventHandler<HTMLButtonElement> & React.MouseEventHandler<HTMLDivElement>;
|
|
7
8
|
}
|
|
8
9
|
export declare const SubNavSectionLabel: ({ collapsable, label, onClick, ariaExpanded, ariaControls, }: SubNavSectionLabelProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import { FlexProps } from '../Flex';
|
|
2
|
-
export interface SubNavSectionsProps extends FlexProps {
|
|
3
|
+
export interface SubNavSectionsProps extends FlexProps<'ol'> {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
spacing?: number;
|
|
3
6
|
horizontal?: boolean;
|
|
4
|
-
/**
|
|
5
|
-
* @preserve
|
|
6
|
-
* @deprecated use `gap` instead
|
|
7
|
-
*/
|
|
8
|
-
spacing: FlexProps['gap'];
|
|
9
7
|
}
|
|
10
8
|
export declare const SubNavSections: ({ children, spacing, horizontal, ...props }: SubNavSectionsProps) => import("react/jsx-runtime").JSX.Element;
|
package/dist/Switch/Switch.d.ts
CHANGED
package/dist/Table/Cell.d.ts
CHANGED
package/dist/Table/TFooter.d.ts
CHANGED
package/dist/Table/Table.d.ts
CHANGED
package/dist/Tabs/TabPanels.d.ts
CHANGED
package/dist/Tabs/Tabs.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
export interface TabsContextState {
|
|
2
3
|
id: string;
|
|
3
4
|
selectedTabIndex: number;
|
|
@@ -6,5 +7,5 @@ export interface TabsContextState {
|
|
|
6
7
|
onTabChange?: (index: number) => void;
|
|
7
8
|
selectTabIndex: (index: number) => void;
|
|
8
9
|
}
|
|
9
|
-
export declare const TabsContext:
|
|
10
|
+
export declare const TabsContext: React.Context<TabsContextState>;
|
|
10
11
|
export declare const useTabs: () => TabsContextState;
|
package/dist/Tag/Tag.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { FieldInputProps, FieldProps, FieldLabelProps } from '../Field';
|
|
3
3
|
export interface TextInputProps extends Omit<FieldInputProps, 'id' | 'name'>, Pick<FieldProps, 'hint' | 'error' | 'id' | 'name'> {
|
|
4
4
|
label: string;
|
|
5
5
|
labelAction?: FieldLabelProps['action'];
|
|
6
6
|
}
|
|
7
|
-
export declare const TextInput:
|
|
8
|
-
inputWrapperRef: MutableRefObject<HTMLDivElement>;
|
|
9
|
-
input: MutableRefObject<HTMLInputElement>;
|
|
7
|
+
export declare const TextInput: React.ForwardRefExoticComponent<TextInputProps & React.RefAttributes<{
|
|
8
|
+
inputWrapperRef: React.MutableRefObject<HTMLDivElement>;
|
|
9
|
+
input: React.MutableRefObject<HTMLInputElement>;
|
|
10
10
|
}>>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
1
2
|
import { TooltipPosition } from '../utils/positionTooltip';
|
|
2
3
|
export declare const useTooltipLayout: (visible: boolean, position: TooltipPosition) => {
|
|
3
|
-
tooltipWrapperRef:
|
|
4
|
-
toggleSourceRef:
|
|
4
|
+
tooltipWrapperRef: React.MutableRefObject<HTMLDivElement | null>;
|
|
5
|
+
toggleSourceRef: React.MutableRefObject<HTMLSpanElement | null>;
|
|
5
6
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { DefaultTheme } from 'styled-components';
|
|
3
3
|
import { DefaultThemeOrCSSProp } from '../types';
|
|
4
4
|
interface ResponsiveValueObject {
|
|
@@ -11,7 +11,7 @@ type ResponsiveValueTuple = [
|
|
|
11
11
|
tablet?: keyof DefaultTheme['spaces'],
|
|
12
12
|
mobile?: keyof DefaultTheme['spaces']
|
|
13
13
|
];
|
|
14
|
-
type ResponsiveCSSProperties = Pick<CSSProperties, 'margin' | 'marginLeft' | 'marginRight' | 'marginTop' | 'marginBottom' | 'padding' | 'paddingLeft' | 'paddingRight' | 'paddingTop' | 'paddingBottom'>;
|
|
14
|
+
type ResponsiveCSSProperties = Pick<React.CSSProperties, 'margin' | 'marginLeft' | 'marginRight' | 'marginTop' | 'marginBottom' | 'padding' | 'paddingLeft' | 'paddingRight' | 'paddingTop' | 'paddingBottom'>;
|
|
15
15
|
export type ResponsiveValue<TCSSProp extends keyof ResponsiveCSSProperties = any> = ResponsiveValueObject | DefaultThemeOrCSSProp<'spaces', TCSSProp> | ResponsiveValueTuple;
|
|
16
16
|
declare const handleResponsiveValues: <TCSSProp extends "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "margin" | "padding">(property: string, value: ResponsiveValue<TCSSProp> | undefined, theme: DefaultTheme) => string | undefined;
|
|
17
17
|
export default handleResponsiveValues;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
interface UseIntersectionOptions {
|
|
3
3
|
selectorToWatch: string;
|
|
4
4
|
skipWhen?: boolean;
|
|
5
5
|
}
|
|
6
|
-
export declare const useIntersection: (scrollableAreaRef: MutableRefObject<HTMLElement | null>, callback: (entry: IntersectionObserverEntry) => void, { selectorToWatch, skipWhen }: UseIntersectionOptions) => void;
|
|
6
|
+
export declare const useIntersection: (scrollableAreaRef: React.MutableRefObject<HTMLElement | null>, callback: (entry: IntersectionObserverEntry) => void, { selectorToWatch, skipWhen }: UseIntersectionOptions) => void;
|
|
7
7
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
export declare const useResizeObserver: (sources: RefObject<HTMLElement> | RefObject<HTMLElement>[], onResize: ResizeObserverCallback) => void;
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export declare const useResizeObserver: (sources: React.RefObject<HTMLElement> | React.RefObject<HTMLElement>[], onResize: ResizeObserverCallback) => void;
|
package/dist/index.d.ts
CHANGED
|
@@ -46,7 +46,6 @@ export * from './Flex';
|
|
|
46
46
|
export * from './Searchbar';
|
|
47
47
|
export * from './Select';
|
|
48
48
|
export * from './SimpleMenu';
|
|
49
|
-
export * from './Stack';
|
|
50
49
|
export * from './Status';
|
|
51
50
|
export * from './SubNav';
|
|
52
51
|
export * from './Switch';
|
|
@@ -58,7 +57,6 @@ export * from './TextInput';
|
|
|
58
57
|
export * from './Textarea';
|
|
59
58
|
export * from './ThemeProvider';
|
|
60
59
|
export * from './TimePicker';
|
|
61
|
-
export * from './ToggleCheckbox';
|
|
62
60
|
export * from './ToggleInput';
|
|
63
61
|
export * from './Tooltip';
|
|
64
62
|
export * from './Typography';
|