@orfium/ictinus 5.4.1 → 5.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/codemods/avatarCodemod.d.ts +2 -1
- package/dist/codemods/buttonCodemod.d.ts +2 -1
- package/dist/codemods/checkboxCodemod.d.ts +2 -1
- package/dist/codemods/chipCodemode.d.ts +2 -1
- package/dist/codemods/drawerCodemod.d.ts +2 -1
- package/dist/codemods/filterCodemod.d.ts +2 -1
- package/dist/codemods/iconButtonCodemod.d.ts +2 -1
- package/dist/codemods/iconCodemod.d.ts +2 -1
- package/dist/codemods/loaderCodemod.d.ts +2 -1
- package/dist/codemods/menuCodemod.d.ts +2 -1
- package/dist/codemods/notificationsCodemod.d.ts +2 -1
- package/dist/codemods/paginationCodemod.d.ts +2 -1
- package/dist/codemods/radioCodemod.d.ts +2 -1
- package/dist/codemods/radioGroupCodemod.d.ts +2 -1
- package/dist/codemods/searchCodemod.d.ts +2 -1
- package/dist/codemods/selectCodemod.d.ts +2 -1
- package/dist/codemods/switchCodemod.d.ts +2 -1
- package/dist/codemods/tableCodemod.d.ts +2 -1
- package/dist/codemods/textareaCodemod.d.ts +2 -1
- package/dist/codemods/textfieldCodemod.d.ts +2 -1
- package/dist/codemods/tooltipCodemod.d.ts +2 -1
- package/dist/codemods/unchangedIconsCodemod.d.ts +2 -1
- package/dist/{index.mjs → index.js} +9099 -10431
- package/dist/index.umd.cjs +147 -0
- package/dist/src/components/Avatar/Avatar.d.ts +5 -0
- package/dist/src/components/Avatar/Avatar.stories.d.ts +61 -0
- package/dist/src/components/Avatar/Avatar.style.d.ts +9 -0
- package/dist/src/components/Avatar/Avatar.tokens.d.ts +8 -0
- package/dist/src/components/Avatar/Avatar.types.d.ts +22 -0
- package/dist/src/components/Avatar/AvatarStack/AvatarStack.d.ts +6 -0
- package/dist/src/components/Avatar/AvatarStack/AvatarStack.style.d.ts +11 -0
- package/dist/src/components/Avatar/AvatarStack/AvatarStack.types.d.ts +10 -0
- package/dist/src/components/Avatar/AvatarStack/index.d.ts +2 -0
- package/dist/src/components/Avatar/AvatarStack/utils.d.ts +7 -0
- package/dist/src/components/Avatar/AvatarStack.stories.d.ts +20 -0
- package/dist/src/components/Avatar/constants.d.ts +4 -0
- package/dist/src/components/Avatar/index.d.ts +3 -0
- package/dist/src/components/Box/Box.d.ts +6 -0
- package/dist/src/components/Box/Box.stories.d.ts +27 -0
- package/dist/src/components/Box/Box.style.d.ts +5 -0
- package/dist/src/components/Box/Box.test.d.ts +1 -0
- package/dist/src/components/Box/Box.types.d.ts +145 -0
- package/dist/src/components/Box/Box.utilities.d.ts +19 -0
- package/dist/src/components/Box/index.d.ts +3 -0
- package/dist/src/components/Breadcrumb/BackToItem/BackToItem.d.ts +6 -0
- package/dist/src/components/Breadcrumb/BackToItem/BackToItem.style.d.ts +4 -0
- package/dist/src/components/Breadcrumb/BackToItem/index.d.ts +1 -0
- package/dist/src/components/Breadcrumb/Breadcrumb.d.ts +7 -0
- package/dist/src/components/Breadcrumb/Breadcrumb.stories.d.ts +31 -0
- package/dist/src/components/Breadcrumb/Breadcrumb.style.d.ts +4 -0
- package/dist/src/components/Breadcrumb/Breadcrumb.types.d.ts +13 -0
- package/dist/src/components/Breadcrumb/BreadcrumbItem/BreadcrumbItem.d.ts +10 -0
- package/dist/src/components/Breadcrumb/BreadcrumbItem/BreadcrumbItem.style.d.ts +6 -0
- package/dist/src/components/Breadcrumb/BreadcrumbItem/index.d.ts +1 -0
- package/dist/src/components/Breadcrumb/index.d.ts +2 -0
- package/dist/src/components/Button/Button.d.ts +40 -0
- package/dist/src/components/Button/Button.stories.d.ts +102 -0
- package/dist/src/components/Button/Button.style.d.ts +8 -0
- package/dist/src/components/Button/Button.tokens.d.ts +6 -0
- package/dist/src/components/Button/Button.types.d.ts +4 -0
- package/dist/src/components/Button/ButtonLoader/ButtonLoader.d.ts +6 -0
- package/dist/src/components/Button/ButtonLoader/ButtonLoader.style.d.ts +6 -0
- package/dist/src/components/Button/ButtonLoader/index.d.ts +2 -0
- package/dist/src/components/Button/index.d.ts +2 -0
- package/dist/src/components/ButtonBase/ButtonBase.d.ts +57 -0
- package/dist/src/components/ButtonBase/ButtonBase.style.d.ts +13 -0
- package/dist/src/components/ButtonBase/constants.d.ts +7 -0
- package/dist/src/components/ButtonBase/index.d.ts +2 -0
- package/dist/src/components/Card/Card.d.ts +14 -0
- package/dist/src/components/Card/Card.stories.d.ts +24 -0
- package/dist/src/components/Card/Card.style.d.ts +5 -0
- package/dist/src/components/Card/index.d.ts +2 -0
- package/dist/src/components/Chart/BarChart/BarChart.d.ts +26 -0
- package/dist/src/components/Chart/BarChart/components/CustomLabel/CustomLabel.d.ts +9 -0
- package/dist/src/components/Chart/BarChart/components/CustomLabel/index.d.ts +1 -0
- package/dist/src/components/Chart/BarChart/components/CustomTooltip/CustomTooltip.d.ts +8 -0
- package/dist/src/components/Chart/BarChart/components/CustomTooltip/CustomTooltip.style.d.ts +6 -0
- package/dist/src/components/Chart/BarChart/components/CustomTooltip/index.d.ts +1 -0
- package/dist/src/components/Chart/BarChart/components/CustomTooltipContent/CustomTooltipContent.d.ts +6 -0
- package/dist/src/components/Chart/BarChart/components/CustomTooltipContent/CustomTooltipContent.style.d.ts +39 -0
- package/dist/src/components/Chart/BarChart/components/CustomTooltipContent/index.d.ts +1 -0
- package/dist/src/components/Chart/BarChart/index.d.ts +1 -0
- package/dist/src/components/Chart/BarChart/utils.d.ts +11 -0
- package/dist/src/components/Chart/Chart.stories.d.ts +55 -0
- package/dist/src/components/Chart/DonutChart/DonutChart.d.ts +17 -0
- package/dist/src/components/Chart/DonutChart/components/CustomLabel/CustomLabel.d.ts +9 -0
- package/dist/src/components/Chart/DonutChart/components/CustomLabel/CustomLabel.style.d.ts +5 -0
- package/dist/src/components/Chart/DonutChart/components/CustomLabel/index.d.ts +1 -0
- package/dist/src/components/Chart/DonutChart/index.d.ts +1 -0
- package/dist/src/components/Chart/LineChart/LineChart.d.ts +17 -0
- package/dist/src/components/Chart/LineChart/LineChart.test.d.ts +1 -0
- package/dist/src/components/Chart/LineChart/components/CustomTooltip/CustomTooltip.d.ts +6 -0
- package/dist/src/components/Chart/LineChart/components/CustomTooltip/CustomTooltip.style.d.ts +32 -0
- package/dist/src/components/Chart/LineChart/components/CustomTooltip/index.d.ts +1 -0
- package/dist/src/components/Chart/LineChart/components/GradientLine/GradientLine.d.ts +8 -0
- package/dist/src/components/Chart/LineChart/components/GradientLine/index.d.ts +1 -0
- package/dist/src/components/Chart/LineChart/index.d.ts +1 -0
- package/dist/src/components/Chart/LineChart/mockedData.d.ts +11 -0
- package/dist/src/components/Chart/LineChart/story.utils.d.ts +1 -0
- package/dist/src/components/Chart/LineChart/utils.d.ts +14 -0
- package/dist/src/components/Chart/Wrapper.d.ts +8 -0
- package/dist/src/components/Controls/CheckBox/CheckBox.d.ts +32 -0
- package/dist/src/components/Controls/CheckBox/CheckBox.stories.d.ts +99 -0
- package/dist/src/components/Controls/CheckBox/CheckBox.style.d.ts +7 -0
- package/dist/src/components/Controls/CheckBox/CheckBox.test.d.ts +1 -0
- package/dist/src/components/Controls/CheckBox/index.d.ts +2 -0
- package/dist/src/components/Controls/ControlLabel/ControlLabel.d.ts +7 -0
- package/dist/src/components/Controls/ControlLabel/ControlLabel.style.d.ts +7 -0
- package/dist/src/components/Controls/ControlLabel/index.d.ts +1 -0
- package/dist/src/components/Controls/Controls.tokens.d.ts +6 -0
- package/dist/src/components/Controls/Controls.types.d.ts +12 -0
- package/dist/src/components/Controls/Radio/Radio.d.ts +23 -0
- package/dist/src/components/Controls/Radio/Radio.stories.d.ts +89 -0
- package/dist/src/components/Controls/Radio/Radio.style.d.ts +7 -0
- package/dist/src/components/Controls/Radio/Radio.test.d.ts +1 -0
- package/dist/src/components/Controls/Radio/components/RadioGroup/RadioGroup.d.ts +27 -0
- package/dist/src/components/Controls/Radio/components/RadioGroup/RadioGroupContext.d.ts +5 -0
- package/dist/src/components/Controls/Radio/components/RadioGroup/index.d.ts +2 -0
- package/dist/src/components/Controls/Radio/index.d.ts +2 -0
- package/dist/src/components/Controls/Switch/Switch.d.ts +27 -0
- package/dist/src/components/Controls/Switch/Switch.stories.d.ts +90 -0
- package/dist/src/components/Controls/Switch/Switch.style.d.ts +5 -0
- package/dist/src/components/Controls/Switch/Switch.test.d.ts +1 -0
- package/dist/src/components/Controls/Switch/index.d.ts +2 -0
- package/dist/src/components/Controls/index.d.ts +4 -0
- package/dist/src/components/DatePicker/DatePickInput/DatePickInput.d.ts +40 -0
- package/dist/src/components/DatePicker/DatePickInput/DatePickInput.style.d.ts +4 -0
- package/dist/src/components/DatePicker/DatePickInput/index.d.ts +2 -0
- package/dist/src/components/DatePicker/DatePicker.d.ts +6 -0
- package/dist/src/components/DatePicker/DatePicker.stories.d.ts +138 -0
- package/dist/src/components/DatePicker/DatePicker.style.d.ts +4 -0
- package/dist/src/components/DatePicker/DatePicker.test.d.ts +1 -0
- package/dist/src/components/DatePicker/DatePicker.tokens.d.ts +6 -0
- package/dist/src/components/DatePicker/DatePicker.types.d.ts +48 -0
- package/dist/src/components/DatePicker/Day/Day.d.ts +17 -0
- package/dist/src/components/DatePicker/Day/Day.style.d.ts +20 -0
- package/dist/src/components/DatePicker/Day/Day.test.d.ts +1 -0
- package/dist/src/components/DatePicker/Day/index.d.ts +2 -0
- package/dist/src/components/DatePicker/Month/Month.d.ts +15 -0
- package/dist/src/components/DatePicker/Month/Month.style.d.ts +6 -0
- package/dist/src/components/DatePicker/Month/Month.test.d.ts +1 -0
- package/dist/src/components/DatePicker/Month/Month.utils.d.ts +8 -0
- package/dist/src/components/DatePicker/Month/hooks/useMonthKeyboardNavigation.d.ts +14 -0
- package/dist/src/components/DatePicker/Month/index.d.ts +2 -0
- package/dist/src/components/DatePicker/OverlayComponent/OverlayComponent.d.ts +20 -0
- package/dist/src/components/DatePicker/OverlayComponent/OverlayComponent.style.d.ts +11 -0
- package/dist/src/components/DatePicker/OverlayComponent/OverlayComponent.test.d.ts +1 -0
- package/dist/src/components/DatePicker/OverlayComponent/components/MonthWrapper/MonthWrapper.d.ts +17 -0
- package/dist/src/components/DatePicker/OverlayComponent/components/MonthWrapper/MonthWrapper.style.d.ts +12 -0
- package/dist/src/components/DatePicker/OverlayComponent/components/MonthWrapper/MonthWrapper.test.d.ts +1 -0
- package/dist/src/components/DatePicker/OverlayComponent/components/MonthWrapper/index.d.ts +0 -0
- package/dist/src/components/DatePicker/OverlayComponent/index.d.ts +2 -0
- package/dist/src/components/DatePicker/OverlayComponent/utils.d.ts +5 -0
- package/dist/src/components/DatePicker/constants.d.ts +51 -0
- package/dist/src/components/DatePicker/index.d.ts +4 -0
- package/dist/src/components/DatePicker/play-utils.d.ts +3 -0
- package/dist/src/components/DatePicker/utils.d.ts +11 -0
- package/dist/src/components/Drawer/Drawer.d.ts +14 -0
- package/dist/src/components/Drawer/Drawer.stories.d.ts +91 -0
- package/dist/src/components/Drawer/Drawer.style.d.ts +23 -0
- package/dist/src/components/Drawer/Drawer.test.d.ts +1 -0
- package/dist/src/components/Drawer/Drawer.types.d.ts +19 -0
- package/dist/src/components/Drawer/DrawerContext.d.ts +28 -0
- package/dist/src/components/Drawer/components/DrawerContent/DrawerContent.d.ts +5 -0
- package/dist/src/components/Drawer/components/DrawerContent/DrawerContent.stories.d.ts +18 -0
- package/dist/src/components/Drawer/components/DrawerContent/hooks/useDrawerContentObserver.d.ts +6 -0
- package/dist/src/components/Drawer/components/DrawerContent/index.d.ts +1 -0
- package/dist/src/components/Drawer/components/DrawerFooter/DrawerFooter.d.ts +5 -0
- package/dist/src/components/Drawer/components/DrawerFooter/DrawerFooter.stories.d.ts +18 -0
- package/dist/src/components/Drawer/components/DrawerFooter/index.d.ts +1 -0
- package/dist/src/components/Drawer/components/DrawerHeader/DrawerHeader.d.ts +5 -0
- package/dist/src/components/Drawer/components/DrawerHeader/DrawerHeader.stories.d.ts +18 -0
- package/dist/src/components/Drawer/components/DrawerHeader/index.d.ts +1 -0
- package/dist/src/components/Drawer/components/index.d.ts +3 -0
- package/dist/src/components/Drawer/index.d.ts +5 -0
- package/dist/src/components/DropdownButton/DropdownButton.d.ts +42 -0
- package/dist/src/components/DropdownButton/DropdownButton.stories.d.ts +33 -0
- package/dist/src/components/DropdownButton/DropdownButton.style.d.ts +16 -0
- package/dist/src/components/DropdownButton/DropdownButton.test.d.ts +1 -0
- package/dist/src/components/DropdownButton/index.d.ts +1 -0
- package/dist/src/components/ExpandCollapse/ExpandCollapse.d.ts +4 -0
- package/dist/src/components/ExpandCollapse/ExpandCollapse.stories.d.ts +14 -0
- package/dist/src/components/ExpandCollapse/ExpandCollapse.style.d.ts +1 -0
- package/dist/src/components/ExpandCollapse/ExpandCollapse.types.d.ts +65 -0
- package/dist/src/components/ExpandCollapse/index.d.ts +3 -0
- package/dist/src/components/ExpandCollapse/useManageContentRef.d.ts +2 -0
- package/dist/src/components/ExpandCollapse/utils.d.ts +7 -0
- package/dist/src/components/Filter/Filter.d.ts +5 -0
- package/dist/src/components/Filter/Filter.stories.d.ts +114 -0
- package/dist/src/components/Filter/Filter.test.d.ts +1 -0
- package/dist/src/components/Filter/Filter.tokens.d.ts +6 -0
- package/dist/src/components/Filter/Filter.types.d.ts +66 -0
- package/dist/src/components/Filter/StatefulFilter.d.ts +5 -0
- package/dist/src/components/Filter/components/FilterButton/FilterButton.d.ts +23 -0
- package/dist/src/components/Filter/components/FilterButton/FilterButton.style.d.ts +6 -0
- package/dist/src/components/Filter/components/FilterButton/index.d.ts +1 -0
- package/dist/src/components/Filter/components/FilterMenu/FilterMenu.d.ts +12 -0
- package/dist/src/components/Filter/components/FilterMenu/FilterMenu.style.d.ts +3 -0
- package/dist/src/components/Filter/components/FilterMenu/components/FilterSearchField/FilterSearchField.d.ts +10 -0
- package/dist/src/components/Filter/components/FilterMenu/components/FilterSearchField/FilterSearchField.style.d.ts +2 -0
- package/dist/src/components/Filter/components/FilterMenu/components/FilterSearchField/index.d.ts +1 -0
- package/dist/src/components/Filter/components/FilterMenu/components/Options/Options.d.ts +9 -0
- package/dist/src/components/Filter/components/FilterMenu/components/Options/Options.style.d.ts +6 -0
- package/dist/src/components/Filter/components/FilterMenu/components/Options/index.d.ts +1 -0
- package/dist/src/components/Filter/components/FilterMenu/index.d.ts +1 -0
- package/dist/src/components/Filter/constants.d.ts +16 -0
- package/dist/src/components/Filter/hooks/index.d.ts +1 -0
- package/dist/src/components/Filter/hooks/useFilterWithSelectionUtils.d.ts +14 -0
- package/dist/src/components/Filter/index.d.ts +3 -0
- package/dist/src/components/Icon/Icon.d.ts +19 -0
- package/dist/src/components/Icon/Icon.stories.d.ts +53 -0
- package/dist/src/components/Icon/Icon.style.d.ts +7 -0
- package/dist/src/components/Icon/Icon.types.d.ts +9 -0
- package/dist/src/components/Icon/assets/iconSelector.d.ts +6 -0
- package/dist/src/components/Icon/constants.d.ts +38 -0
- package/dist/src/components/Icon/index.d.ts +3 -0
- package/dist/src/components/IconButton/IconButton.d.ts +23 -0
- package/dist/src/components/IconButton/IconButton.stories.d.ts +41 -0
- package/dist/src/components/IconButton/index.d.ts +2 -0
- package/dist/src/components/Label/Label.d.ts +18 -0
- package/dist/src/components/Label/Label.style.d.ts +6 -0
- package/dist/src/components/Label/index.d.ts +2 -0
- package/dist/src/components/Link/Link.d.ts +12 -0
- package/dist/src/components/Link/Link.stories.d.ts +82 -0
- package/dist/src/components/Link/Link.style.d.ts +5 -0
- package/dist/src/components/Link/Link.tokens.d.ts +6 -0
- package/dist/src/components/Link/Link.types.d.ts +21 -0
- package/dist/src/components/Link/constants.d.ts +4 -0
- package/dist/src/components/Link/index.d.ts +1 -0
- package/dist/src/components/List/List.d.ts +44 -0
- package/dist/src/components/List/List.style.d.ts +13 -0
- package/dist/src/components/List/List.tokens.d.ts +6 -0
- package/dist/src/components/List/ListItem.d.ts +15 -0
- package/dist/src/components/List/ListSection.d.ts +14 -0
- package/dist/src/components/List/Window.d.ts +20 -0
- package/dist/src/components/List/components/ListItemAction/ListItemAction.d.ts +5 -0
- package/dist/src/components/List/components/ListItemAction/ListItemAction.style.d.ts +3 -0
- package/dist/src/components/List/components/ListItemAction/index.d.ts +2 -0
- package/dist/src/components/List/components/ListItemText/ListItemText.d.ts +7 -0
- package/dist/src/components/List/components/ListItemText/ListItemText.style.d.ts +5 -0
- package/dist/src/components/List/components/ListItemText/index.d.ts +2 -0
- package/dist/src/components/List/components/ListItemWrapper/ListItemWrapper.d.ts +29 -0
- package/dist/src/components/List/components/ListItemWrapper/ListItemWrapper.style.d.ts +9 -0
- package/dist/src/components/List/components/ListItemWrapper/index.d.ts +2 -0
- package/dist/src/components/List/index.d.ts +7 -0
- package/dist/src/components/List/stories/List.stories.d.ts +36 -0
- package/dist/src/components/List/stories/ListItem.stories.d.ts +23 -0
- package/dist/src/components/List/stories/ListItemAction.stories.d.ts +18 -0
- package/dist/src/components/List/stories/ListItemText.stories.d.ts +24 -0
- package/dist/src/components/List/stories/ListSection.stories.d.ts +23 -0
- package/dist/src/components/List/types.d.ts +9 -0
- package/dist/src/components/List/utils.d.ts +6 -0
- package/dist/src/components/Menu/Menu.d.ts +26 -0
- package/dist/src/components/Menu/Menu.stories.d.ts +51 -0
- package/dist/src/components/Menu/Menu.style.d.ts +13 -0
- package/dist/src/components/Menu/MenuItemDivider.d.ts +8 -0
- package/dist/src/components/Menu/index.d.ts +4 -0
- package/dist/src/components/Modal/Modal.d.ts +18 -0
- package/dist/src/components/Modal/Modal.stories.d.ts +37 -0
- package/dist/src/components/Modal/Modal.style.d.ts +8 -0
- package/dist/src/components/Modal/Modal.test.d.ts +1 -0
- package/dist/src/components/Modal/ModalContent/ModalContent.d.ts +22 -0
- package/dist/src/components/Modal/ModalContent/ModalContent.style.d.ts +8 -0
- package/dist/src/components/Modal/ModalContent/index.d.ts +1 -0
- package/dist/src/components/Modal/index.d.ts +1 -0
- package/dist/src/components/MultiTextFieldBase/MultiTextFieldBase.d.ts +44 -0
- package/dist/src/components/MultiTextFieldBase/MultiTextFieldBase.style.d.ts +58 -0
- package/dist/src/components/MultiTextFieldBase/hooks.d.ts +19 -0
- package/dist/src/components/MultiTextFieldBase/index.d.ts +1 -0
- package/dist/src/components/Navigation/Directory/Directory.d.ts +6 -0
- package/dist/src/components/Navigation/Directory/Directory.style.d.ts +11 -0
- package/dist/src/components/Navigation/Directory/MenuItem/MenuItem.d.ts +12 -0
- package/dist/src/components/Navigation/Directory/index.d.ts +1 -0
- package/dist/src/components/Navigation/Navigation.d.ts +15 -0
- package/dist/src/components/Navigation/Navigation.stories.d.ts +24 -0
- package/dist/src/components/Navigation/Navigation.style.d.ts +4 -0
- package/dist/src/components/Navigation/Navigation.test.d.ts +1 -0
- package/dist/src/components/Navigation/index.d.ts +3 -0
- package/dist/src/components/Navigation/types.d.ts +13 -0
- package/dist/src/components/Notification/Banner/Banner.d.ts +21 -0
- package/dist/src/components/Notification/Banner/index.d.ts +2 -0
- package/dist/src/components/Notification/InlineNotification/InlineNotification.d.ts +19 -0
- package/dist/src/components/Notification/InlineNotification/index.d.ts +2 -0
- package/dist/src/components/Notification/Notification.d.ts +13 -0
- package/dist/src/components/Notification/Notification.stories.d.ts +102 -0
- package/dist/src/components/Notification/Notification.style.d.ts +11 -0
- package/dist/src/components/Notification/Notification.test.d.ts +1 -0
- package/dist/src/components/Notification/NotificationVisual/NotificationVisual.d.ts +13 -0
- package/dist/src/components/Notification/NotificationVisual/NotificationVisual.style.d.ts +5 -0
- package/dist/src/components/Notification/NotificationVisual/index.d.ts +2 -0
- package/dist/src/components/Notification/NotificationsContainer/NotificationsContainer.d.ts +10 -0
- package/dist/src/components/Notification/NotificationsContainer/NotificationsContainer.style.d.ts +4 -0
- package/dist/src/components/Notification/NotificationsContainer/index.d.ts +2 -0
- package/dist/src/components/Notification/Snackbar/Snackbar.d.ts +19 -0
- package/dist/src/components/Notification/Snackbar/Snackbar.style.d.ts +8 -0
- package/dist/src/components/Notification/Snackbar/index.d.ts +2 -0
- package/dist/src/components/Notification/subcomponents/CompactNotification/CompactNotification.d.ts +28 -0
- package/dist/src/components/Notification/subcomponents/CompactNotification/CompactNotification.style.d.ts +10 -0
- package/dist/src/components/Notification/subcomponents/CompactNotification/index.d.ts +2 -0
- package/dist/src/components/Notification/subcomponents/NotificationActionsArea/NotificationActionsArea.d.ts +7 -0
- package/dist/src/components/Notification/subcomponents/NotificationActionsArea/index.d.ts +1 -0
- package/dist/src/components/NumberField/NumberField.d.ts +36 -0
- package/dist/src/components/NumberField/NumberField.stories.d.ts +95 -0
- package/dist/src/components/NumberField/NumberField.style.d.ts +3 -0
- package/dist/src/components/NumberField/NumberField.test.d.ts +1 -0
- package/dist/src/components/NumberField/components/Stepper/Stepper.d.ts +8 -0
- package/dist/src/components/NumberField/components/Stepper/Stepper.style.d.ts +5 -0
- package/dist/src/components/NumberField/components/Stepper/index.d.ts +1 -0
- package/dist/src/components/NumberField/index.d.ts +2 -0
- package/dist/src/components/Pagination/Pagination.d.ts +16 -0
- package/dist/src/components/Pagination/Pagination.stories.d.ts +33 -0
- package/dist/src/components/Pagination/index.d.ts +2 -0
- package/dist/src/components/ProgressIndicator/ProgressIndicator.d.ts +9 -0
- package/dist/src/components/ProgressIndicator/ProgressIndicator.stories.d.ts +90 -0
- package/dist/src/components/ProgressIndicator/ProgressIndicator.tokens.d.ts +6 -0
- package/dist/src/components/ProgressIndicator/ProgressIndicator.types.d.ts +12 -0
- package/dist/src/components/ProgressIndicator/components/ProgressBar/ProgressBar.d.ts +5 -0
- package/dist/src/components/ProgressIndicator/components/ProgressBar/ProgressBar.style.d.ts +7 -0
- package/dist/src/components/ProgressIndicator/components/ProgressBar/index.d.ts +1 -0
- package/dist/src/components/ProgressIndicator/components/ProgressCircle/ProgressCircle.d.ts +5 -0
- package/dist/src/components/ProgressIndicator/components/ProgressCircle/ProgressCircle.style.d.ts +3 -0
- package/dist/src/components/ProgressIndicator/components/ProgressCircle/index.d.ts +1 -0
- package/dist/src/components/ProgressIndicator/index.d.ts +1 -0
- package/dist/src/components/Search/Search.d.ts +6 -0
- package/dist/src/components/Search/Search.stories.d.ts +51 -0
- package/dist/src/components/Search/Search.style.d.ts +1937 -0
- package/dist/src/components/Search/Search.test.d.ts +1 -0
- package/dist/src/components/Search/Search.tokens.d.ts +6 -0
- package/dist/src/components/Search/Search.types.d.ts +11 -0
- package/dist/src/components/Search/StatefulSearch.d.ts +5 -0
- package/dist/src/components/Search/constants.d.ts +5 -0
- package/dist/src/components/Search/index.d.ts +3 -0
- package/dist/src/components/Select/Select.d.ts +6 -0
- package/dist/src/components/Select/Select.stories.d.ts +123 -0
- package/dist/src/components/Select/Select.style.d.ts +5 -0
- package/dist/src/components/Select/Select.test.d.ts +1 -0
- package/dist/src/components/Select/StatefulSelect.d.ts +5 -0
- package/dist/src/components/Select/components/SelectMenu/SelectMenu.d.ts +27 -0
- package/dist/src/components/Select/components/SelectMenu/SelectMenu.style.d.ts +12 -0
- package/dist/src/components/Select/components/SelectMenu/index.d.ts +2 -0
- package/dist/src/components/Select/constants.d.ts +45 -0
- package/dist/src/components/Select/index.d.ts +4 -0
- package/dist/src/components/Select/storyUtils.d.ts +6 -0
- package/dist/src/components/Select/types.d.ts +66 -0
- package/dist/src/components/Slider/Slider.d.ts +22 -0
- package/dist/src/components/Slider/Slider.stories.d.ts +42 -0
- package/dist/src/components/Slider/Slider.style.d.ts +13 -0
- package/dist/src/components/Slider/components/SliderMark/SliderMark.d.ts +13 -0
- package/dist/src/components/Slider/components/SliderMark/SliderMark.style.d.ts +17 -0
- package/dist/src/components/Slider/components/SliderMark/index.d.ts +2 -0
- package/dist/src/components/Slider/components/SliderThumb/SliderThumb.d.ts +12 -0
- package/dist/src/components/Slider/components/SliderThumb/SliderThumb.style.d.ts +10 -0
- package/dist/src/components/Slider/components/SliderThumb/index.d.ts +2 -0
- package/dist/src/components/Slider/components/SliderTrack/SliderTrack.d.ts +12 -0
- package/dist/src/components/Slider/components/SliderTrack/SliderTrack.style.d.ts +10 -0
- package/dist/src/components/Slider/components/SliderTrack/index.d.ts +2 -0
- package/dist/src/components/Slider/index.d.ts +2 -0
- package/dist/src/components/Table/Table.d.ts +70 -0
- package/dist/src/components/Table/Table.stories.d.ts +48 -0
- package/dist/src/components/Table/Table.style.d.ts +6 -0
- package/dist/src/components/Table/Table.test.d.ts +1 -0
- package/dist/src/components/Table/TableRowContext.d.ts +21 -0
- package/dist/src/components/Table/components/ExtendedColumnItem/ExtendedColumnItem.d.ts +10 -0
- package/dist/src/components/Table/components/ExtendedColumnItem/ExtendedColumnItem.style.d.ts +5 -0
- package/dist/src/components/Table/components/ExtendedColumnItem/index.d.ts +2 -0
- package/dist/src/components/Table/components/RenderRowOrNestedRow/RenderRowOrNestedRow.d.ts +14 -0
- package/dist/src/components/Table/components/RenderRowOrNestedRow/RenderRowOrNestedRow.style.d.ts +11 -0
- package/dist/src/components/Table/components/RenderRowOrNestedRow/components/ContentCell/ContentCell.d.ts +20 -0
- package/dist/src/components/Table/components/RenderRowOrNestedRow/components/ContentCell/ContentCell.style.d.ts +4 -0
- package/dist/src/components/Table/components/RenderRowOrNestedRow/components/ContentCell/index.d.ts +1 -0
- package/dist/src/components/Table/components/RenderRowOrNestedRow/components/ExpandedButtonCell/ExpandedButtonCell.d.ts +13 -0
- package/dist/src/components/Table/components/RenderRowOrNestedRow/components/ExpandedButtonCell/index.d.ts +1 -0
- package/dist/src/components/Table/components/RenderRowOrNestedRow/index.d.ts +1 -0
- package/dist/src/components/Table/components/TableCell/TableCell.d.ts +19 -0
- package/dist/src/components/Table/components/TableCell/TableCell.style.d.ts +6 -0
- package/dist/src/components/Table/components/TableCell/index.d.ts +2 -0
- package/dist/src/components/Table/components/TableCell/utils.d.ts +3 -0
- package/dist/src/components/Table/components/TableRow/TableRow.d.ts +8 -0
- package/dist/src/components/Table/components/TableRow/index.d.ts +2 -0
- package/dist/src/components/Table/components/TableRowWrapper/TableRowWrapper.d.ts +21 -0
- package/dist/src/components/Table/components/TableRowWrapper/index.d.ts +2 -0
- package/dist/src/components/Table/index.d.ts +3 -0
- package/dist/src/components/Table/types.d.ts +18 -0
- package/dist/src/components/Table/utils/TableStoryComponents.d.ts +10 -0
- package/dist/src/components/Table/utils/index.d.ts +1 -0
- package/dist/src/components/Table/utils/utils.d.ts +6 -0
- package/dist/src/components/Tag/Tag.d.ts +11 -0
- package/dist/src/components/Tag/Tag.stories.d.ts +84 -0
- package/dist/src/components/Tag/Tag.style.d.ts +9 -0
- package/dist/src/components/Tag/Tag.test.d.ts +1 -0
- package/dist/src/components/Tag/Tag.tokens.d.ts +6 -0
- package/dist/src/components/Tag/Tag.types.d.ts +23 -0
- package/dist/src/components/Tag/constants.d.ts +4 -0
- package/dist/src/components/Tag/hooks/useGetTagUtils.d.ts +13 -0
- package/dist/src/components/Tag/index.d.ts +2 -0
- package/dist/src/components/TextArea/TextArea.d.ts +33 -0
- package/dist/src/components/TextArea/TextArea.stories.d.ts +77 -0
- package/dist/src/components/TextArea/TextArea.style.d.ts +11 -0
- package/dist/src/components/TextArea/index.d.ts +2 -0
- package/dist/src/components/TextField/TextField.d.ts +37 -0
- package/dist/src/components/TextField/TextField.stories.d.ts +99 -0
- package/dist/src/components/TextField/TextField.style.d.ts +8 -0
- package/dist/src/components/TextField/TextField.test.d.ts +1 -0
- package/dist/src/components/TextField/components/commons.d.ts +6 -0
- package/dist/src/components/TextField/index.d.ts +2 -0
- package/dist/src/components/TextInputBase/TextInputBase.d.ts +39 -0
- package/dist/src/components/TextInputBase/TextInputBase.style.d.ts +14 -0
- package/dist/src/components/TextInputBase/TextInputBase.tokens.d.ts +6 -0
- package/dist/src/components/TextInputBase/index.d.ts +2 -0
- package/dist/src/components/ThemeProvider/Test.d.ts +4 -0
- package/dist/src/components/ThemeProvider/ThemeProvider.d.ts +9 -0
- package/dist/src/components/ThemeProvider/ThemeProvider.stories.d.ts +14 -0
- package/dist/src/components/ThemeProvider/ThemeProvider.style.d.ts +5 -0
- package/dist/src/components/ThemeProvider/ThemeProvider.test.d.ts +1 -0
- package/dist/src/components/ThemeProvider/index.d.ts +2 -0
- package/dist/src/components/Toast/Toast.d.ts +23 -0
- package/dist/src/components/Toast/Toast.style.d.ts +12 -0
- package/dist/src/components/Toast/Toast.test.d.ts +1 -0
- package/dist/src/components/Toast/index.d.ts +2 -0
- package/dist/src/components/Tooltip/Tooltip.d.ts +5 -0
- package/dist/src/components/Tooltip/Tooltip.stories.d.ts +76 -0
- package/dist/src/components/Tooltip/Tooltip.style.d.ts +5 -0
- package/dist/src/components/Tooltip/Tooltip.types.d.ts +29 -0
- package/dist/src/components/Tooltip/index.d.ts +3 -0
- package/dist/src/components/Tooltip/utils.d.ts +3 -0
- package/dist/src/components/TopAppBar/TopAppBar.d.ts +5 -0
- package/dist/src/components/TopAppBar/TopAppBar.stories.d.ts +53 -0
- package/dist/src/components/TopAppBar/TopAppBar.style.d.ts +10 -0
- package/dist/src/components/TopAppBar/TopAppBar.test.d.ts +1 -0
- package/dist/src/components/TopAppBar/TopAppBar.types.d.ts +25 -0
- package/dist/src/components/TopAppBar/components/Logo/Logo.style.d.ts +9 -0
- package/dist/src/components/TopAppBar/components/Logo/Logo.wrapper.d.ts +7 -0
- package/dist/src/components/TopAppBar/components/Logo/index.d.ts +2 -0
- package/dist/src/components/TopAppBar/components/Search/Search.d.ts +13 -0
- package/dist/src/components/TopAppBar/components/Search/Search.style.d.ts +5 -0
- package/dist/src/components/TopAppBar/components/Search/index.d.ts +2 -0
- package/dist/src/components/TopAppBar/components/SidebarMenuIcon/SidebarMenuIcon.d.ts +5 -0
- package/dist/src/components/TopAppBar/components/SidebarMenuIcon/SidebarMenuIcon.style.d.ts +7 -0
- package/dist/src/components/TopAppBar/components/SidebarMenuIcon/index.d.ts +2 -0
- package/dist/src/components/TopAppBar/components/UserMenu/UserMenu.d.ts +13 -0
- package/dist/src/components/TopAppBar/components/UserMenu/UserMenu.style.d.ts +7 -0
- package/dist/src/components/TopAppBar/components/UserMenu/index.d.ts +2 -0
- package/dist/src/components/TopAppBar/components/index.d.ts +6 -0
- package/dist/src/components/TopAppBar/index.d.ts +3 -0
- package/dist/src/components/TruncatedContent/TruncatedContent.d.ts +12 -0
- package/dist/src/components/TruncatedContent/TruncatedContent.stories.d.ts +18 -0
- package/dist/src/components/TruncatedContent/TruncatedContent.style.d.ts +5 -0
- package/dist/src/components/TruncatedContent/TruncatedContent.test.d.ts +1 -0
- package/dist/src/components/TruncatedContent/index.d.ts +2 -0
- package/dist/src/components/Typography/Typography.config.styles.d.ts +19 -0
- package/dist/src/components/Typography/Typography.d.ts +29 -0
- package/dist/src/components/Typography/Typography.stories.d.ts +40 -0
- package/dist/src/components/Typography/Typography.style.d.ts +14 -0
- package/dist/src/components/Typography/index.d.ts +2 -0
- package/dist/src/components/Typography/utils.d.ts +4 -0
- package/dist/src/components/storyUtils/BarChartShowCase/BarChartShowCase.d.ts +5 -0
- package/dist/src/components/storyUtils/BarChartShowCase/index.d.ts +1 -0
- package/dist/src/components/storyUtils/BreadcrumbShowcase/BreadcrumbShowcase.d.ts +8 -0
- package/dist/src/components/storyUtils/BreadcrumbShowcase/index.d.ts +1 -0
- package/dist/src/components/storyUtils/Breakpoints/Breakpoints.d.ts +2 -0
- package/dist/src/components/storyUtils/Breakpoints/index.d.ts +1 -0
- package/dist/src/components/storyUtils/ButtonShowcases/ButtonShowcase.d.ts +8 -0
- package/dist/src/components/storyUtils/ButtonShowcases/LoadingButtonShowcase.d.ts +4 -0
- package/dist/src/components/storyUtils/ButtonShowcases/index.d.ts +2 -0
- package/dist/src/components/storyUtils/CardShowcase/CardShowcase.d.ts +11 -0
- package/dist/src/components/storyUtils/CardShowcase/CardShowcase.style.d.ts +4 -0
- package/dist/src/components/storyUtils/CardShowcase/index.d.ts +1 -0
- package/dist/src/components/storyUtils/ColorUtility/ColorBox.d.ts +10 -0
- package/dist/src/components/storyUtils/ColorUtility/ColorUtility.d.ts +4 -0
- package/dist/src/components/storyUtils/ColorUtility/ColorUtility.style.d.ts +4 -0
- package/dist/src/components/storyUtils/ColorUtility/RangeInput.d.ts +8 -0
- package/dist/src/components/storyUtils/ColorUtility/index.d.ts +0 -0
- package/dist/src/components/storyUtils/ColorUtility/useColors.d.ts +17 -0
- package/dist/src/components/storyUtils/ColorUtility/utils.d.ts +2 -0
- package/dist/src/components/storyUtils/DonutChartShowCase/DonutChartShowCase.d.ts +8 -0
- package/dist/src/components/storyUtils/DonutChartShowCase/index.d.ts +1 -0
- package/dist/src/components/storyUtils/EdgeCasesSelectShowcase/EdgeCasesSelectShowcase.d.ts +4 -0
- package/dist/src/components/storyUtils/EdgeCasesSelectShowcase/EdgeCasesSelectShowcase.style.d.ts +3 -0
- package/dist/src/components/storyUtils/EdgeCasesSelectShowcase/index.d.ts +1 -0
- package/dist/src/components/storyUtils/IconographyShowcase/IconographyShowcase.d.ts +4 -0
- package/dist/src/components/storyUtils/IconographyShowcase/index.d.ts +1 -0
- package/dist/src/components/storyUtils/LabelConfigStoryComponents.d.ts +5 -0
- package/dist/src/components/storyUtils/ModalShowcase/ModalShowcase.d.ts +8 -0
- package/dist/src/components/storyUtils/ModalShowcase/index.d.ts +1 -0
- package/dist/src/components/storyUtils/NavigationShowcase/MenuItems.d.ts +3 -0
- package/dist/src/components/storyUtils/NavigationShowcase/NavigationShowcase.d.ts +7 -0
- package/dist/src/components/storyUtils/NavigationShowcase/index.d.ts +1 -0
- package/dist/src/components/storyUtils/NotificationShowcase/NotificationShowcase.d.ts +12 -0
- package/dist/src/components/storyUtils/NotificationShowcase/index.d.ts +2 -0
- package/dist/src/components/storyUtils/PaletteShowcase/PaletteShowcase.d.ts +2 -0
- package/dist/src/components/storyUtils/PaletteShowcase/PaletteShowcase.style.d.ts +18 -0
- package/dist/src/components/storyUtils/PaletteShowcase/PaletteShowcase.test.d.ts +1 -0
- package/dist/src/components/storyUtils/PaletteShowcase/index.d.ts +1 -0
- package/dist/src/components/storyUtils/PresentComponent/PresentComponent.d.ts +8 -0
- package/dist/src/components/storyUtils/PresentComponent/index.d.ts +1 -0
- package/dist/src/components/storyUtils/SelectShowcase/MultiSelectShowcase.d.ts +9 -0
- package/dist/src/components/storyUtils/SelectShowcase/MultiSelectShowcase.style.d.ts +5 -0
- package/dist/src/components/storyUtils/SelectShowcase/SelectShowcase.d.ts +11 -0
- package/dist/src/components/storyUtils/SelectShowcase/index.d.ts +2 -0
- package/dist/src/components/storyUtils/SliderShowcase/SliderShowcase.d.ts +10 -0
- package/dist/src/components/storyUtils/SliderShowcase/index.d.ts +1 -0
- package/dist/src/components/storyUtils/Stack/Stack.d.ts +10 -0
- package/dist/src/components/storyUtils/Stack/index.d.ts +1 -0
- package/dist/src/components/storyUtils/TableFilterShowcase/TableFilterShowcase.d.ts +4 -0
- package/dist/src/components/storyUtils/TableFilterShowcase/index.d.ts +1 -0
- package/dist/src/components/storyUtils/TextFieldShowcases/MultiTextFieldShowcase.d.ts +7 -0
- package/dist/src/components/storyUtils/TextFieldShowcases/TextFieldShowCase.d.ts +8 -0
- package/dist/src/components/storyUtils/TextFieldShowcases/index.d.ts +2 -0
- package/dist/src/components/storyUtils/ThemeWrapper/ThemeWrapper.d.ts +4 -0
- package/dist/src/components/storyUtils/ThemeWrapper/index.d.ts +1 -0
- package/dist/src/components/storyUtils/TooltipShowcase/TooltipShowcase.d.ts +6 -0
- package/dist/src/components/storyUtils/TooltipShowcase/components/TooltipContent/TooltipContent.d.ts +7 -0
- package/dist/src/components/storyUtils/TooltipShowcase/components/TooltipContent/TooltipContent.style.d.ts +5 -0
- package/dist/src/components/storyUtils/TooltipShowcase/components/TooltipContent/index.d.ts +1 -0
- package/dist/src/components/storyUtils/TooltipShowcase/index.d.ts +1 -0
- package/dist/src/components/storyUtils/TopAppBarShowcase.d.ts +20 -0
- package/dist/src/components/storyUtils/componentsForTypes.d.ts +12 -0
- package/dist/src/components/utils/ClickAwayListener/ClickAwayListener.d.ts +12 -0
- package/dist/src/components/utils/ClickAwayListener/index.d.ts +1 -0
- package/dist/src/components/utils/DropdownOptions/index.d.ts +9 -0
- package/dist/src/components/utils/PositionInScreen/PositionInScreen.d.ts +25 -0
- package/dist/src/components/utils/PositionInScreen/PositionInScreen.style.d.ts +11 -0
- package/dist/src/components/utils/PositionInScreen/hooks.d.ts +5 -0
- package/dist/src/components/utils/PositionInScreen/index.d.ts +1 -0
- package/dist/src/components/utils/PositionInScreen/utils.d.ts +1 -0
- package/dist/src/components/utils/handleSearch.d.ts +12 -0
- package/dist/src/hooks/__tests__/useSearchQueryParams.test.d.ts +1 -0
- package/dist/src/hooks/index.d.ts +1 -0
- package/dist/src/hooks/storyUtils/DemoUseSearchQueryParams.d.ts +7 -0
- package/dist/src/hooks/useBreakpoints.d.ts +4 -0
- package/dist/src/hooks/useBreakpoints.test.d.ts +1 -0
- package/dist/src/hooks/useCheck.d.ts +7 -0
- package/dist/src/hooks/useCombinedRefs.d.ts +3 -0
- package/dist/src/hooks/useElementSize.d.ts +10 -0
- package/dist/src/hooks/useEscape.d.ts +2 -0
- package/dist/src/hooks/useEventListener.d.ts +4 -0
- package/dist/src/hooks/useFieldUtils.d.ts +14 -0
- package/dist/src/hooks/useIsoMorphicLayoutEffect.d.ts +4 -0
- package/dist/src/hooks/useKeyboardEvents.d.ts +31 -0
- package/dist/src/hooks/useLoading.d.ts +8 -0
- package/dist/src/hooks/useLocationToGetCurrentMenuItem.d.ts +4 -0
- package/dist/src/hooks/usePagination.d.ts +15 -0
- package/dist/src/hooks/useSearchQueryParams.d.ts +2 -0
- package/dist/src/hooks/useSearchQueryParams.stories.d.ts +23 -0
- package/dist/src/hooks/useTheme.d.ts +2 -0
- package/dist/src/hooks/useThemeSwitch.d.ts +9 -0
- package/dist/src/hooks/useToggle.d.ts +2 -0
- package/dist/src/hooks/useTypeColorToColorMatch.d.ts +17 -0
- package/dist/src/index.d.ts +119 -0
- package/dist/src/storybook/Link/Link.d.ts +8 -0
- package/dist/src/storybook/Link/Link.style.d.ts +4 -0
- package/dist/src/storybook/Link/index.d.ts +2 -0
- package/dist/src/storybook/Note/Note.d.ts +4 -0
- package/dist/src/storybook/Note/Note.style.d.ts +4 -0
- package/dist/src/storybook/Note/index.d.ts +1 -0
- package/dist/src/storybook/Overview/Overview.d.ts +6 -0
- package/dist/src/storybook/Overview/Overview.style.d.ts +3 -0
- package/dist/src/storybook/Overview/index.d.ts +1 -0
- package/dist/src/storybook/Preview/Preview.d.ts +7 -0
- package/dist/src/storybook/Preview/Preview.style.d.ts +3 -0
- package/dist/src/storybook/Preview/index.d.ts +2 -0
- package/dist/src/storybook/SectionHeader/SectionHeader.d.ts +12 -0
- package/dist/src/storybook/SectionHeader/SectionHeader.style.d.ts +6 -0
- package/dist/src/storybook/SectionHeader/index.d.ts +2 -0
- package/dist/src/storybook/Showcases/BorderWidthShowcase/BorderWidthShowcase.d.ts +2 -0
- package/dist/src/storybook/Showcases/BorderWidthShowcase/index.d.ts +1 -0
- package/dist/src/storybook/Showcases/BoxShadowShowcase/BoxShadowShowcase.d.ts +2 -0
- package/dist/src/storybook/Showcases/BoxShadowShowcase/index.d.ts +1 -0
- package/dist/src/storybook/Showcases/LayoutShowcase/LayoutShowcase.d.ts +13 -0
- package/dist/src/storybook/Showcases/LayoutShowcase/LayoutShowcase.style.d.ts +13 -0
- package/dist/src/storybook/Showcases/LayoutShowcase/index.d.ts +1 -0
- package/dist/src/storybook/Showcases/MinHeightShowcase/MinHeightShowcase.d.ts +2 -0
- package/dist/src/storybook/Showcases/MinHeightShowcase/index.d.ts +1 -0
- package/dist/src/storybook/Showcases/OpacityShowcase/OpacityShowcase.d.ts +2 -0
- package/dist/src/storybook/Showcases/OpacityShowcase/index.d.ts +1 -0
- package/dist/src/storybook/Showcases/OverviewShowcase/OverviewShowcase.d.ts +10 -0
- package/dist/src/storybook/Showcases/OverviewShowcase/OverviewShowcase.style.d.ts +3 -0
- package/dist/src/storybook/Showcases/OverviewShowcase/index.d.ts +1 -0
- package/dist/src/storybook/Showcases/RadiusShowcase/RadiusShowcase.d.ts +5 -0
- package/dist/src/storybook/Showcases/RadiusShowcase/index.d.ts +1 -0
- package/dist/src/storybook/Showcases/SizingShowcase/SizingShowcase.d.ts +5 -0
- package/dist/src/storybook/Showcases/SizingShowcase/index.d.ts +1 -0
- package/dist/src/storybook/Showcases/SpacingSizingShowcase/SpacingSizingShowcase.d.ts +5 -0
- package/dist/src/storybook/Showcases/SpacingSizingShowcase/SpacingSizingShowcase.style.d.ts +0 -0
- package/dist/src/storybook/Showcases/SpacingSizingShowcase/index.d.ts +1 -0
- package/dist/src/storybook/Showcases/StateShowcase/StateShowcase.d.ts +2 -0
- package/dist/src/storybook/Showcases/StateShowcase/index.d.ts +1 -0
- package/dist/src/storybook/Showcases/TagShowcase/TagShowcase.d.ts +9 -0
- package/dist/src/storybook/Showcases/TagShowcase/index.d.ts +1 -0
- package/dist/src/storybook/Showcases/TextColorShowcase/TextColorShowcase.d.ts +2 -0
- package/dist/src/storybook/Showcases/TextColorShowcase/TextColorShowcase.style.d.ts +5 -0
- package/dist/src/storybook/Showcases/TextColorShowcase/index.d.ts +1 -0
- package/dist/src/storybook/Showcases/TokenColorsShowcase/TokenColorsShowcase.d.ts +10 -0
- package/dist/src/storybook/Showcases/TokenColorsShowcase/TokenColorsShowcase.style.d.ts +7 -0
- package/dist/src/storybook/Showcases/TokenColorsShowcase/index.d.ts +2 -0
- package/dist/src/storybook/Showcases/TokenColorsShowcase/utils.d.ts +17 -0
- package/dist/src/storybook/Showcases/TypographyTokensShowcase/TypographyTokensShowcase.d.ts +2 -0
- package/dist/src/storybook/Showcases/TypographyTokensShowcase/TypographyTokensShowcase.style.d.ts +4 -0
- package/dist/src/storybook/Showcases/TypographyTokensShowcase/index.d.ts +1 -0
- package/dist/src/storybook/SubsectionHeader/SubsectionHeader.d.ts +9 -0
- package/dist/src/storybook/SubsectionHeader/SubsectionHeader.style.d.ts +3 -0
- package/dist/src/storybook/SubsectionHeader/index.d.ts +1 -0
- package/dist/src/storybook/Tip/Tip.d.ts +7 -0
- package/dist/src/storybook/Tip/Tip.style.d.ts +5 -0
- package/dist/src/storybook/Tip/index.d.ts +2 -0
- package/dist/src/storybook/Typography/Typography.d.ts +9 -0
- package/dist/src/storybook/Typography/Typography.style.d.ts +4 -0
- package/dist/src/storybook/Typography/constants.d.ts +4 -0
- package/dist/src/storybook/Typography/index.d.ts +2 -0
- package/dist/src/storybook/UsageGuidelines/UsageGuidelines.d.ts +7 -0
- package/dist/src/storybook/UsageGuidelines/UsageGuidelines.style.d.ts +4 -0
- package/dist/src/storybook/UsageGuidelines/index.d.ts +1 -0
- package/dist/src/storybook/index.d.ts +8 -0
- package/dist/src/storybook/styles/OverviewCard.style.d.ts +4 -0
- package/dist/src/storybook.test.d.ts +1 -0
- package/dist/src/test/index.d.ts +1 -0
- package/dist/src/test/setup.d.ts +1 -0
- package/dist/src/test/utils.d.ts +7 -0
- package/dist/src/theme/dimension/borderRadius.d.ts +9 -0
- package/dist/src/theme/dimension/borderWidth.d.ts +9 -0
- package/dist/src/theme/dimension/index.d.ts +10 -0
- package/dist/src/theme/dimension/minHeight.d.ts +9 -0
- package/dist/src/theme/dimension/opacity.d.ts +9 -0
- package/dist/src/theme/dimension/sizing.d.ts +9 -0
- package/dist/src/theme/dimension/spacing.d.ts +9 -0
- package/dist/src/theme/dimension/state.d.ts +9 -0
- package/dist/src/theme/dimension/variables/borderRadius.d.ts +28 -0
- package/dist/src/theme/dimension/variables/borderWidth.d.ts +23 -0
- package/dist/src/theme/dimension/variables/minHeight.d.ts +20 -0
- package/dist/src/theme/dimension/variables/opacity.d.ts +18 -0
- package/dist/src/theme/dimension/variables/sizing.d.ts +30 -0
- package/dist/src/theme/dimension/variables/spacing.d.ts +43 -0
- package/dist/src/theme/dimension/variables/state.d.ts +25 -0
- package/dist/src/theme/functions.d.ts +9 -0
- package/dist/src/theme/globals/borderRadius.d.ts +8 -0
- package/dist/src/theme/globals/borderWidth.d.ts +8 -0
- package/dist/src/theme/globals/colors.d.ts +9 -0
- package/dist/src/theme/globals/constants/borderRadius.d.ts +43 -0
- package/dist/src/theme/globals/constants/borderWidth.d.ts +17 -0
- package/dist/src/theme/globals/constants/colors.d.ts +295 -0
- package/dist/src/theme/globals/constants/fontFamily.d.ts +12 -0
- package/dist/src/theme/globals/constants/fontSize.d.ts +44 -0
- package/dist/src/theme/globals/constants/fontWeight.d.ts +18 -0
- package/dist/src/theme/globals/constants/letterSpacing.d.ts +19 -0
- package/dist/src/theme/globals/constants/lineHeight.d.ts +48 -0
- package/dist/src/theme/globals/constants/opacity.d.ts +29 -0
- package/dist/src/theme/globals/constants/sizing.d.ts +95 -0
- package/dist/src/theme/globals/constants/spacing.d.ts +55 -0
- package/dist/src/theme/globals/constants/textCase.d.ts +11 -0
- package/dist/src/theme/globals/constants/textDecoration.d.ts +12 -0
- package/dist/src/theme/globals/elevation.d.ts +8 -0
- package/dist/src/theme/globals/index.d.ts +12 -0
- package/dist/src/theme/globals/oldColors.d.ts +2 -0
- package/dist/src/theme/globals/opacity.d.ts +8 -0
- package/dist/src/theme/globals/sizing.d.ts +8 -0
- package/dist/src/theme/globals/spacing.d.ts +8 -0
- package/dist/src/theme/globals/typography.d.ts +54 -0
- package/dist/src/theme/index.d.ts +5 -0
- package/dist/src/theme/overrides.d.ts +3 -0
- package/dist/src/theme/palette.config.d.ts +46 -0
- package/dist/src/theme/palette.d.ts +74 -0
- package/dist/src/theme/states/disabled.d.ts +12 -0
- package/dist/src/theme/states/focus.d.ts +17 -0
- package/dist/src/theme/states/hover.d.ts +16 -0
- package/dist/src/theme/states/index.d.ts +6 -0
- package/dist/src/theme/states/pressed.d.ts +16 -0
- package/dist/src/theme/states/statesConfig.d.ts +37 -0
- package/dist/src/theme/states/tests/states.test.d.ts +1 -0
- package/dist/src/theme/states/utils.d.ts +10 -0
- package/dist/src/theme/tests/utils.test.d.ts +1 -0
- package/dist/src/theme/tokens/components/variables/avatar.d.ts +103 -0
- package/dist/src/theme/tokens/components/variables/button.d.ts +27 -0
- package/dist/src/theme/tokens/components/variables/controls.d.ts +19 -0
- package/dist/src/theme/tokens/components/variables/datePicker.d.ts +18 -0
- package/dist/src/theme/tokens/components/variables/field.d.ts +93 -0
- package/dist/src/theme/tokens/components/variables/filter.d.ts +8 -0
- package/dist/src/theme/tokens/components/variables/link.d.ts +58 -0
- package/dist/src/theme/tokens/components/variables/listItem.d.ts +13 -0
- package/dist/src/theme/tokens/components/variables/progressIndicator.d.ts +15 -0
- package/dist/src/theme/tokens/components/variables/search.d.ts +10 -0
- package/dist/src/theme/tokens/components/variables/tag.d.ts +17 -0
- package/dist/src/theme/tokens/index.d.ts +10 -0
- package/dist/src/theme/tokens/semantic/boxShadow.d.ts +8 -0
- package/dist/src/theme/tokens/semantic/colors.d.ts +9 -0
- package/dist/src/theme/tokens/semantic/disabledState.d.ts +8 -0
- package/dist/src/theme/tokens/semantic/index.d.ts +8 -0
- package/dist/src/theme/tokens/semantic/state.d.ts +8 -0
- package/dist/src/theme/tokens/semantic/tests/constants.d.ts +22 -0
- package/dist/src/theme/tokens/semantic/tests/utils.test.d.ts +1 -0
- package/dist/src/theme/tokens/semantic/typography.d.ts +12 -0
- package/dist/src/theme/tokens/semantic/variables/boxShadow.d.ts +71 -0
- package/dist/src/theme/tokens/semantic/variables/colors.d.ts +308 -0
- package/dist/src/theme/tokens/semantic/variables/disabledState.d.ts +7 -0
- package/dist/src/theme/tokens/semantic/variables/state.d.ts +24 -0
- package/dist/src/theme/tokens/semantic/variables/typography.d.ts +359 -0
- package/dist/src/theme/tokens/utils/components.d.ts +13 -0
- package/dist/src/theme/tokens/utils/index.d.ts +4 -0
- package/dist/src/theme/tokens/utils/parsers.d.ts +21 -0
- package/dist/src/theme/tokens/utils/semantic.d.ts +11 -0
- package/dist/src/theme/tokens/utils/types.d.ts +49 -0
- package/dist/src/theme/types.d.ts +82 -0
- package/dist/src/theme/utils.d.ts +51 -0
- package/dist/src/utils/common.d.ts +22 -0
- package/dist/src/utils/date.d.ts +5 -0
- package/dist/src/utils/errors.d.ts +6 -0
- package/dist/src/utils/helpers.d.ts +20 -0
- package/dist/src/utils/storyshots.d.ts +18 -0
- package/dist/src/utils/tests/helpers.test.d.ts +1 -0
- package/dist/src/utils/tests/themeFunctions.test.d.ts +1 -0
- package/dist/src/utils/themeFunctions.d.ts +35 -0
- package/dist/src/utils/types.d.ts +11 -0
- package/dist/types/index.d.ts +1 -0
- package/package.json +22 -15
- package/dist/codemods/avatarCodemod.js +0 -45
- package/dist/codemods/avatarCodemod.js.map +0 -1
- package/dist/codemods/buttonCodemod.js +0 -32
- package/dist/codemods/buttonCodemod.js.map +0 -1
- package/dist/codemods/checkboxCodemod.js +0 -29
- package/dist/codemods/checkboxCodemod.js.map +0 -1
- package/dist/codemods/chipCodemode.js +0 -39
- package/dist/codemods/chipCodemode.js.map +0 -1
- package/dist/codemods/drawerCodemod.js +0 -61
- package/dist/codemods/drawerCodemod.js.map +0 -1
- package/dist/codemods/filterCodemod.js +0 -27
- package/dist/codemods/filterCodemod.js.map +0 -1
- package/dist/codemods/globalsCodemod.js +0 -130
- package/dist/codemods/globalsCodemod.js.map +0 -1
- package/dist/codemods/iconButtonCodemod.js +0 -28
- package/dist/codemods/iconButtonCodemod.js.map +0 -1
- package/dist/codemods/iconCodemod.js +0 -19
- package/dist/codemods/iconCodemod.js.map +0 -1
- package/dist/codemods/loaderCodemod.js +0 -42
- package/dist/codemods/loaderCodemod.js.map +0 -1
- package/dist/codemods/menuCodemod.js +0 -31
- package/dist/codemods/menuCodemod.js.map +0 -1
- package/dist/codemods/notificationsCodemod.js +0 -17
- package/dist/codemods/notificationsCodemod.js.map +0 -1
- package/dist/codemods/paginationCodemod.js +0 -32
- package/dist/codemods/paginationCodemod.js.map +0 -1
- package/dist/codemods/radioCodemod.js +0 -21
- package/dist/codemods/radioCodemod.js.map +0 -1
- package/dist/codemods/radioGroupCodemod.js +0 -18
- package/dist/codemods/radioGroupCodemod.js.map +0 -1
- package/dist/codemods/searchCodemod.js +0 -31
- package/dist/codemods/searchCodemod.js.map +0 -1
- package/dist/codemods/selectCodemod.js +0 -66
- package/dist/codemods/selectCodemod.js.map +0 -1
- package/dist/codemods/switchCodemod.js +0 -28
- package/dist/codemods/switchCodemod.js.map +0 -1
- package/dist/codemods/tableCodemod.js +0 -23
- package/dist/codemods/tableCodemod.js.map +0 -1
- package/dist/codemods/textareaCodemod.js +0 -44
- package/dist/codemods/textareaCodemod.js.map +0 -1
- package/dist/codemods/textfieldCodemod.js +0 -43
- package/dist/codemods/textfieldCodemod.js.map +0 -1
- package/dist/codemods/tooltipCodemod.js +0 -26
- package/dist/codemods/tooltipCodemod.js.map +0 -1
- package/dist/codemods/unchangedIconsCodemod.js +0 -56
- package/dist/codemods/unchangedIconsCodemod.js.map +0 -1
- package/dist/index.d.ts +0 -3284
- package/dist/index.umd.js +0 -147
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import('react').ForwardRefExoticComponent<Omit<import('./Avatar.types').AvatarProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
5
|
+
parameters: {
|
|
6
|
+
design: {
|
|
7
|
+
type: string;
|
|
8
|
+
name: string;
|
|
9
|
+
url: string;
|
|
10
|
+
}[];
|
|
11
|
+
chromatic: {
|
|
12
|
+
diffThreshold: number;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export default _default;
|
|
17
|
+
export declare const AvatarWithIcon: {
|
|
18
|
+
render: () => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
19
|
+
name: string;
|
|
20
|
+
parameters: {
|
|
21
|
+
controls: {
|
|
22
|
+
disable: boolean;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
export declare const AvatarWithLetter: {
|
|
27
|
+
render: () => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
28
|
+
name: string;
|
|
29
|
+
parameters: {
|
|
30
|
+
controls: {
|
|
31
|
+
disable: boolean;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
export declare const AvatarWithColor: {
|
|
36
|
+
render: () => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
37
|
+
name: string;
|
|
38
|
+
parameters: {
|
|
39
|
+
controls: {
|
|
40
|
+
disable: boolean;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
export declare const AvatarWithSrc: {
|
|
45
|
+
render: () => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
46
|
+
name: string;
|
|
47
|
+
parameters: {
|
|
48
|
+
controls: {
|
|
49
|
+
disable: boolean;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
export declare const AvatarPlayground: {
|
|
54
|
+
render: (args: any) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
55
|
+
name: string;
|
|
56
|
+
parameters: {
|
|
57
|
+
controls: {
|
|
58
|
+
include: string[];
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { SerializedStyles } from '@emotion/react';
|
|
2
|
+
import { AvatarColors, AvatarProps, AvatarSizes } from './Avatar.types';
|
|
3
|
+
import { Theme } from '../../theme';
|
|
4
|
+
|
|
5
|
+
export declare const iconStyles: ({ size, color }: Pick<AvatarProps, 'size' | 'color'>) => (theme: Theme) => SerializedStyles;
|
|
6
|
+
export declare const avatarStyle: ({ size, color }: {
|
|
7
|
+
size: AvatarSizes;
|
|
8
|
+
color: AvatarColors;
|
|
9
|
+
}) => (theme: Theme) => SerializedStyles;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as avatar } from '../../theme/tokens/components/variables/avatar';
|
|
2
|
+
import { DotKeys } from '../../theme/tokens/utils';
|
|
3
|
+
import { Theme } from '../../theme';
|
|
4
|
+
|
|
5
|
+
export declare const parseAvatarIconSize: (val: string) => number;
|
|
6
|
+
export declare const parseAvatarStackSize: (val: string) => string;
|
|
7
|
+
export type AvatarTokens = DotKeys<typeof avatar>;
|
|
8
|
+
export declare const getAvatarTokens: (theme: Theme) => (path: "label.1" | "label.2" | "label.3" | "label.4" | "label.5" | "label.6" | "size.1" | "size.2" | "size.3" | "size.4" | "size.5" | "size.6", fn?: (val: string) => unknown) => any;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { DivProps } from '../../utils/common';
|
|
2
|
+
|
|
3
|
+
export type AvatarColors = 'blue' | 'teal' | 'purple' | 'red' | 'orange';
|
|
4
|
+
export type AvatarSizes = 1 | 2 | 3 | 4 | 5 | 6;
|
|
5
|
+
export type AvatarProps = {
|
|
6
|
+
/** The size of the Avatar
|
|
7
|
+
* @default 1
|
|
8
|
+
* */
|
|
9
|
+
size?: AvatarSizes;
|
|
10
|
+
/** The color of the Avatar
|
|
11
|
+
* @default 'blue'
|
|
12
|
+
* */
|
|
13
|
+
color?: AvatarColors;
|
|
14
|
+
/** the src of the image to show **/
|
|
15
|
+
src?: string;
|
|
16
|
+
/** The icon name to pick from our library of icons
|
|
17
|
+
* @default 'user'
|
|
18
|
+
* */
|
|
19
|
+
className?: string;
|
|
20
|
+
/** Data Test Id prefix **/
|
|
21
|
+
dataTestPrefixId?: string;
|
|
22
|
+
} & DivProps;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { TestProps } from 'utils/types';
|
|
3
|
+
import { AvatarStackProps } from './AvatarStack.types';
|
|
4
|
+
|
|
5
|
+
declare const AvatarStack: React.ForwardRefExoticComponent<Omit<AvatarStackProps & TestProps & Partial<Omit<React.HTMLProps<HTMLDivElement>, "color" | "css" | "size">>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
+
export default AvatarStack;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SerializedStyles } from '@emotion/react';
|
|
2
|
+
import { Theme } from 'theme';
|
|
3
|
+
import { AvatarSizes } from '../Avatar.types';
|
|
4
|
+
|
|
5
|
+
export declare const avatarStackStyle: ({ size }: {
|
|
6
|
+
size: AvatarSizes;
|
|
7
|
+
}) => (theme: Theme) => SerializedStyles;
|
|
8
|
+
export declare const avatarWrapperStyle: ({ zIndex, size }: {
|
|
9
|
+
zIndex: number;
|
|
10
|
+
size: AvatarSizes;
|
|
11
|
+
}) => (theme: Theme) => SerializedStyles;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AvatarColors, AvatarSizes } from '../Avatar.types';
|
|
2
|
+
|
|
3
|
+
export type AvatarStackProps = {
|
|
4
|
+
/** the maximum number of avatars to be displayed **/
|
|
5
|
+
maxAvatars?: number;
|
|
6
|
+
/** The size of the extra avatar, if any **/
|
|
7
|
+
size?: AvatarSizes;
|
|
8
|
+
/** the color of the extra avatar based on our colors eg. red-500 **/
|
|
9
|
+
color?: AvatarColors;
|
|
10
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import('react').ForwardRefExoticComponent<Omit<import('./Avatar.types').AvatarProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
5
|
+
parameters: {
|
|
6
|
+
design: {
|
|
7
|
+
type: string;
|
|
8
|
+
name: string;
|
|
9
|
+
url: string;
|
|
10
|
+
}[];
|
|
11
|
+
controls: {
|
|
12
|
+
disable: boolean;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export default _default;
|
|
17
|
+
export declare const AvatarStackStory: {
|
|
18
|
+
render: () => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
19
|
+
name: string;
|
|
20
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { StyledBoxProps } from './Box.types';
|
|
3
|
+
|
|
4
|
+
export type BoxProps = StyledBoxProps & React.HTMLAttributes<HTMLDivElement>;
|
|
5
|
+
declare const Box: React.ForwardRefExoticComponent<StyledBoxProps & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
+
export default Box;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import('react').ForwardRefExoticComponent<import('./Box.types').StyledBoxProps & import('react').HTMLAttributes<HTMLDivElement> & import('react').RefAttributes<HTMLDivElement>>;
|
|
5
|
+
parameters: {
|
|
6
|
+
controls: {
|
|
7
|
+
disable: boolean;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export default _default;
|
|
12
|
+
export declare const BoxPaddingAllSides: {
|
|
13
|
+
render: () => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
14
|
+
name: string;
|
|
15
|
+
};
|
|
16
|
+
export declare const BoxHorizontalPadding: {
|
|
17
|
+
render: () => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
18
|
+
name: string;
|
|
19
|
+
};
|
|
20
|
+
export declare const BoxVerticalPadding: {
|
|
21
|
+
render: () => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
22
|
+
name: string;
|
|
23
|
+
};
|
|
24
|
+
export declare const BoxBackground: {
|
|
25
|
+
render: () => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
26
|
+
name: string;
|
|
27
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const BoxWrapper: import('@emotion/styled').StyledComponent<{
|
|
3
|
+
theme?: import('@emotion/react').Theme;
|
|
4
|
+
as?: import('react').ElementType<any, keyof import("react").JSX.IntrinsicElements>;
|
|
5
|
+
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import { SpacingKey } from '../../theme/globals/spacing';
|
|
2
|
+
import { default as globalColors } from '../../theme/tokens/semantic/variables/colors';
|
|
3
|
+
import { DotKeys } from '../../theme/tokens/utils';
|
|
4
|
+
|
|
5
|
+
export type Responsive<T> = T | Array<T>;
|
|
6
|
+
type AlignContent = 'center' | 'start' | 'end' | 'flex-start' | 'flex-end' | 'normal' | 'baseline' | 'first baseline' | 'last baseline' | 'space-between' | 'space-around' | 'space-evenly' | 'stretch' | 'safe center' | 'unsafe center' | 'inherit' | 'initial' | 'unset';
|
|
7
|
+
type AlignItems = 'normal' | 'stretch' | 'center' | 'start' | 'end' | 'flex-start' | 'flex-end' | 'self-start' | 'self-end' | 'baseline' | 'first baseline' | 'last baseline' | 'safe center' | 'unsafe center' | 'inherit' | 'initial' | 'unset';
|
|
8
|
+
type AlignSelf = 'auto' | 'normal' | 'center' | 'start' | 'end' | 'self-start' | 'self-end' | 'flex-start' | 'flex-end' | 'baseline' | 'first baseline' | 'last baseline' | 'stretch' | 'safe center' | 'unsafe center' | 'inherit' | 'initial' | 'unset';
|
|
9
|
+
type FlexDirection = 'row' | 'row-reverse' | 'column' | 'column-reverse' | 'inherit' | 'initial' | 'unset';
|
|
10
|
+
type Flex = number | string;
|
|
11
|
+
type Display = 'block' | 'inline' | 'run-in' | 'flow' | 'flow-root' | 'table' | 'flex' | 'grid' | 'ruby' | 'block flow' | 'inline table' | 'flex run-in' | 'list-item' | 'list-item block' | 'list-item inline' | 'list-item flow' | 'list-item flow-root' | 'list-item block flow' | 'list-item block flow-root' | 'flow list-item block' | 'table-row-group' | 'table-header-group' | 'table-footer-group' | 'table-row' | 'table-cell' | 'table-column-group' | 'table-column' | 'table-caption' | 'ruby-base' | 'ruby-text' | 'ruby-base-container' | 'ruby-text-container' | 'contents' | 'none' | 'inline-block' | 'inline-table' | 'inline-flex' | 'inline-grid' | 'inherit' | 'initial' | 'unset';
|
|
12
|
+
type GridAutoFlow = 'row' | 'column' | 'dense' | 'row dense' | 'column dense' | 'inherit' | 'initial' | 'unset';
|
|
13
|
+
type JustifyContent = 'center' | 'start' | 'end' | 'flex-start' | 'flex-end' | 'left' | 'right' | 'space-between' | 'space-around' | 'space-evenly' | 'stretch' | 'safe center' | 'unsafe center' | 'inherit' | 'initial' | 'unset';
|
|
14
|
+
type JustifyItems = 'auto' | 'normal' | 'stretch' | 'center' | 'start' | 'end' | 'flex-start' | 'flex-end' | 'self-start' | 'self-end' | 'left' | 'right' | 'baseline' | 'first baseline' | 'last baseline' | 'safe center' | 'unsafe center' | 'legacy right' | 'legacy left' | 'legacy center' | 'inherit' | 'initial' | 'unset';
|
|
15
|
+
type JustifySelf = 'auto' | 'normal' | 'stretch' | 'center' | 'start' | 'end' | 'flex-start' | 'flex-end' | 'self-start' | 'self-end' | 'left' | 'right' | 'baseline' | 'first baseline' | 'last baseline' | 'safe center' | 'unsafe center' | 'inherit' | 'initial' | 'unset';
|
|
16
|
+
type Position = 'static' | 'absolute' | 'relative' | 'fixed' | 'sticky';
|
|
17
|
+
type Overflow = 'visible' | 'hidden' | 'scroll' | 'scrollX' | 'scrollY' | 'auto' | 'inherit' | 'initial' | 'unset';
|
|
18
|
+
export type Scale = 0 | string;
|
|
19
|
+
export type WhiteSpace = 'normal' | 'nowrap' | 'pre' | 'pre-wrap' | 'pre-line' | 'break-spaces' | 'inherit' | 'initial' | 'unset';
|
|
20
|
+
export type StyledBoxProps = {
|
|
21
|
+
/** Accepts all themeable color properties. */
|
|
22
|
+
color?: DotKeys<typeof globalColors.textColor>;
|
|
23
|
+
/** available values: https://developer.mozilla.org/en-US/docs/Web/CSS/background-attachment */
|
|
24
|
+
backgroundAttachment?: string;
|
|
25
|
+
/** available values: https://developer.mozilla.org/en-US/docs/Web/CSS/background-clip */
|
|
26
|
+
backgroundClip?: string;
|
|
27
|
+
/** Accepts all themeable color properties. */
|
|
28
|
+
backgroundColor?: DotKeys<typeof globalColors.backgroundColor>;
|
|
29
|
+
/** available values: https://developer.mozilla.org/en-US/docs/Web/CSS/background-image */
|
|
30
|
+
backgroundImage?: string;
|
|
31
|
+
/** available values: https://developer.mozilla.org/en-US/docs/Web/CSS/background-origin */
|
|
32
|
+
backgroundOrigin?: string;
|
|
33
|
+
/** available values: https://developer.mozilla.org/en-US/docs/Web/CSS/background-position */
|
|
34
|
+
backgroundPosition?: string;
|
|
35
|
+
/** available values: https://developer.mozilla.org/en-US/docs/Web/CSS/background-repeat */
|
|
36
|
+
backgroundRepeat?: string;
|
|
37
|
+
/** available values: https://developer.mozilla.org/en-US/docs/Web/CSS/background-size */
|
|
38
|
+
backgroundSize?: string;
|
|
39
|
+
/** available values: https://developer.mozilla.org/en-US/docs/Web/CSS/align-content */
|
|
40
|
+
alignContent?: AlignContent;
|
|
41
|
+
/** available values: https://developer.mozilla.org/en-US/docs/Web/CSS/align-items */
|
|
42
|
+
alignItems?: AlignItems;
|
|
43
|
+
/** available values: https://developer.mozilla.org/en-US/docs/Web/CSS/align-self */
|
|
44
|
+
alignSelf?: AlignSelf;
|
|
45
|
+
/** available values: https://developer.mozilla.org/en-US/docs/Web/CSS/flex-direction */
|
|
46
|
+
flexDirection?: FlexDirection;
|
|
47
|
+
/** available values: https://developer.mozilla.org/en-US/docs/Web/CSS/display */
|
|
48
|
+
display?: Display;
|
|
49
|
+
/** available values: https://developer.mozilla.org/en-US/docs/Web/CSS/flex */
|
|
50
|
+
flex?: Flex;
|
|
51
|
+
/** available values: https://developer.mozilla.org/en-US/docs/Web/CSS/grid */
|
|
52
|
+
grid?: string;
|
|
53
|
+
/** available values: https://developer.mozilla.org/en-US/docs/Web/CSS/grid-area */
|
|
54
|
+
gridArea?: string;
|
|
55
|
+
/** available values: https://developer.mozilla.org/en-US/docs/Web/CSS/grid-auto-columns */
|
|
56
|
+
gridAutoColumns?: string;
|
|
57
|
+
/** available values: https://developer.mozilla.org/en-US/docs/Web/CSS/grid-auto-flow */
|
|
58
|
+
gridAutoFlow?: GridAutoFlow;
|
|
59
|
+
/** available values: https://developer.mozilla.org/en-US/docs/Web/CSS/grid-auto-rows */
|
|
60
|
+
gridAutoRows?: string;
|
|
61
|
+
/** available values: https://developer.mozilla.org/en-US/docs/Web/CSS/grid-column */
|
|
62
|
+
gridColumn?: string;
|
|
63
|
+
/** available values: https://developer.mozilla.org/en-US/docs/Web/CSS/grid-column-end */
|
|
64
|
+
gridColumnEnd?: string;
|
|
65
|
+
/** available values: https://developer.mozilla.org/en-US/docs/Web/CSS/grid-column-gap */
|
|
66
|
+
gridColumnGap?: Scale;
|
|
67
|
+
/** available values: https://developer.mozilla.org/en-US/docs/Web/CSS/grid-column-start */
|
|
68
|
+
gridColumnStart?: string;
|
|
69
|
+
/** available values: https://developer.mozilla.org/en-US/docs/Web/CSS/grid-gap */
|
|
70
|
+
gridGap?: Scale;
|
|
71
|
+
/** available values: https://developer.mozilla.org/en-US/docs/Web/CSS/grid-row */
|
|
72
|
+
gridRow?: string;
|
|
73
|
+
/** available values: https://developer.mozilla.org/en-US/docs/Web/CSS/grid-row-end */
|
|
74
|
+
gridRowEnd?: string;
|
|
75
|
+
/** available values: https://developer.mozilla.org/en-US/docs/Web/CSS/grid-row-gap */
|
|
76
|
+
gridRowGap?: Scale;
|
|
77
|
+
/** available values: https://developer.mozilla.org/en-US/docs/Web/CSS/grid-row-start */
|
|
78
|
+
gridRowStart?: string;
|
|
79
|
+
/** available values: https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template */
|
|
80
|
+
gridTemplate?: string;
|
|
81
|
+
/** available values: https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-areas */
|
|
82
|
+
gridTemplateAreas?: string;
|
|
83
|
+
/** available values: https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-columns */
|
|
84
|
+
gridTemplateColumns?: string;
|
|
85
|
+
/** available values: https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-rows */
|
|
86
|
+
gridTemplateRows?: string;
|
|
87
|
+
/** available values: https://developer.mozilla.org/en-US/docs/Web/CSS/justify-content */
|
|
88
|
+
justifyContent?: JustifyContent;
|
|
89
|
+
/** available values: https://developer.mozilla.org/en-US/docs/Web/CSS/justify-items */
|
|
90
|
+
justifyItems?: JustifyItems;
|
|
91
|
+
/** available values: https://developer.mozilla.org/en-US/docs/Web/CSS/justify-self */
|
|
92
|
+
justifySelf?: JustifySelf;
|
|
93
|
+
position?: Position;
|
|
94
|
+
width?: Scale;
|
|
95
|
+
minWidth?: Scale;
|
|
96
|
+
maxWidth?: Scale;
|
|
97
|
+
height?: Scale;
|
|
98
|
+
minHeight?: Scale;
|
|
99
|
+
maxHeight?: Scale;
|
|
100
|
+
overflow?: Responsive<Overflow>;
|
|
101
|
+
/** Acronym of margin definition according to https://developer.mozilla.org/en-US/docs/Web/CSS/margin */
|
|
102
|
+
m?: SpacingKey;
|
|
103
|
+
/** Acronym of margin-top definition according to https://developer.mozilla.org/en-US/docs/Web/CSS/margin-top */
|
|
104
|
+
mt?: SpacingKey;
|
|
105
|
+
/** Acronym of margin-right definition according to https://developer.mozilla.org/en-US/docs/Web/CSS/margin-right */
|
|
106
|
+
mr?: SpacingKey;
|
|
107
|
+
/** Acronym of margin-bottom definition according to https://developer.mozilla.org/en-US/docs/Web/CSS/margin-bottom */
|
|
108
|
+
mb?: SpacingKey;
|
|
109
|
+
/** Acronym of margin-bottom definition according to https://developer.mozilla.org/en-US/docs/Web/CSS/margin-left */
|
|
110
|
+
ml?: SpacingKey;
|
|
111
|
+
/** Define horizontal margin */
|
|
112
|
+
mx?: SpacingKey;
|
|
113
|
+
/** Define vertical margin */
|
|
114
|
+
my?: SpacingKey;
|
|
115
|
+
/** Acronym of padding definition according to https://developer.mozilla.org/en-US/docs/Web/CSS/padding */
|
|
116
|
+
p?: SpacingKey;
|
|
117
|
+
/** Acronym of padding-top definition according to https://developer.mozilla.org/en-US/docs/Web/CSS/padding-top */
|
|
118
|
+
pt?: SpacingKey;
|
|
119
|
+
/** Acronym of padding-right definition according to https://developer.mozilla.org/en-US/docs/Web/CSS/padding-right */
|
|
120
|
+
pr?: SpacingKey;
|
|
121
|
+
/** Acronym of padding-bottom definition according to https://developer.mozilla.org/en-US/docs/Web/CSS/padding-bottom */
|
|
122
|
+
pb?: SpacingKey;
|
|
123
|
+
/** Acronym of padding-left definition according to https://developer.mozilla.org/en-US/docs/Web/CSS/padding-left */
|
|
124
|
+
pl?: SpacingKey;
|
|
125
|
+
/** Define horizontal padding */
|
|
126
|
+
px?: SpacingKey;
|
|
127
|
+
/** Define vertical padding */
|
|
128
|
+
py?: SpacingKey;
|
|
129
|
+
/** available values: https://developer.mozilla.org/en-US/docs/Web/CSS/place-content */
|
|
130
|
+
placeContent?: string;
|
|
131
|
+
/** available values: https://developer.mozilla.org/en-US/docs/Web/CSS/place-items */
|
|
132
|
+
placeItems?: string;
|
|
133
|
+
/** available values: https://developer.mozilla.org/en-US/docs/Web/CSS/place-self */
|
|
134
|
+
placeSelf?: string;
|
|
135
|
+
flexWrap?: 'nowrap' | 'wrap' | 'wrap-reverse';
|
|
136
|
+
left?: SpacingKey;
|
|
137
|
+
top?: SpacingKey;
|
|
138
|
+
right?: SpacingKey;
|
|
139
|
+
bottom?: SpacingKey;
|
|
140
|
+
/** available values: https://developer.mozilla.org/en-US/docs/Web/CSS/text-overflow */
|
|
141
|
+
textOverflow?: string;
|
|
142
|
+
/** available values: https://developer.mozilla.org/en-US/docs/Web/CSS/white-space */
|
|
143
|
+
whiteSpace?: Responsive<WhiteSpace>;
|
|
144
|
+
};
|
|
145
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Theme } from 'theme';
|
|
2
|
+
import { StyledBoxProps } from './Box.types';
|
|
3
|
+
|
|
4
|
+
export declare const omitedCSSprops: string[];
|
|
5
|
+
export declare const styledBoxPropsKeys: Array<keyof StyledBoxProps>;
|
|
6
|
+
/**
|
|
7
|
+
* Picks from any given object only css properties defined styledBoxPropsKeys
|
|
8
|
+
**/
|
|
9
|
+
export declare const pickCSSProperties: (obj: Record<string, any>) => StyledBoxProps;
|
|
10
|
+
/**
|
|
11
|
+
* Omit from any given object only css properties defined styledBoxPropsKeys
|
|
12
|
+
**/
|
|
13
|
+
export declare const pickNonCSSProps: (obj: Record<string, any>) => import('lodash').Omit<Record<string, any>, keyof StyledBoxProps>;
|
|
14
|
+
/**
|
|
15
|
+
* Resolves any value from the given theme based on type if css property exists on the object given.
|
|
16
|
+
**/
|
|
17
|
+
export declare const cssResolver: import('lodash').CurriedFunction5<Theme, StyledBoxProps, string, string, "color" | "spacing" | "backgroundColor", {
|
|
18
|
+
[x: string]: string;
|
|
19
|
+
}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './BackToItem';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { BreadcrumbItem as BreadcrumbItemType } from './Breadcrumb.types';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
declare const Breadcrumb: React.ForwardRefExoticComponent<{
|
|
4
|
+
items?: BreadcrumbItemType[];
|
|
5
|
+
backTo?: BreadcrumbItemType;
|
|
6
|
+
} & import('../..').TestProps & React.RefAttributes<HTMLOListElement>>;
|
|
7
|
+
export default Breadcrumb;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
component: () => boolean;
|
|
4
|
+
parameters: {
|
|
5
|
+
design: {
|
|
6
|
+
type: string;
|
|
7
|
+
name: string;
|
|
8
|
+
url: string;
|
|
9
|
+
}[];
|
|
10
|
+
controls: {
|
|
11
|
+
disable: boolean;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export default _default;
|
|
16
|
+
export declare const BasicBreadcrumbs: {
|
|
17
|
+
render: () => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
18
|
+
name: string;
|
|
19
|
+
};
|
|
20
|
+
export declare const GoBackTo: {
|
|
21
|
+
render: () => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
22
|
+
name: string;
|
|
23
|
+
};
|
|
24
|
+
export declare const ThirdPartyRoutingLibrary: {
|
|
25
|
+
render: () => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
26
|
+
name: string;
|
|
27
|
+
};
|
|
28
|
+
export declare const Playground: {
|
|
29
|
+
render: () => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
30
|
+
name: string;
|
|
31
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { TestProps } from 'utils/types';
|
|
2
|
+
import { LinkProps } from '../Link/Link.types';
|
|
3
|
+
|
|
4
|
+
export type BreadcrumbItem = {
|
|
5
|
+
/** Defines the label used for a link breadcrumb item */
|
|
6
|
+
label: string;
|
|
7
|
+
} & Pick<LinkProps, 'component' | 'href'>;
|
|
8
|
+
export type BreadcrumbProps = {
|
|
9
|
+
/** Defines the data for constructing the related breadcrumb items */
|
|
10
|
+
items?: BreadcrumbItem[];
|
|
11
|
+
/** Defines the data for constructing the go-back-to item */
|
|
12
|
+
backTo?: BreadcrumbItem;
|
|
13
|
+
} & TestProps;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
|
|
3
|
+
export type BreadcrumbItemProps = {
|
|
4
|
+
/** Defines the child element that will be rendered inside the list element */
|
|
5
|
+
childComponent: React.ReactNode;
|
|
6
|
+
/** Defines if the current item of the breadcrumb is the last one */
|
|
7
|
+
isLastItem?: boolean;
|
|
8
|
+
};
|
|
9
|
+
declare const BreadcrumbItem: React.FC<BreadcrumbItemProps>;
|
|
10
|
+
export default BreadcrumbItem;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { SerializedStyles } from '@emotion/react';
|
|
2
|
+
import { BreadcrumbItemProps } from './BreadcrumbItem';
|
|
3
|
+
import { Theme } from '../../../theme';
|
|
4
|
+
|
|
5
|
+
export declare const breadcrumbListStyles: () => SerializedStyles;
|
|
6
|
+
export declare const breadcrumbItemStyles: ({ isLastItem }: Pick<BreadcrumbItemProps, 'isLastItem'>) => (theme: Theme) => SerializedStyles;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './BreadcrumbItem';
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { CommonButtonProps } from 'utils/common';
|
|
3
|
+
import { TestProps } from 'utils/types';
|
|
4
|
+
import { ButtonBaseProps } from '../ButtonBase/ButtonBase';
|
|
5
|
+
import { AvatarProps } from '../Avatar';
|
|
6
|
+
import { AcceptedIconNames } from '../Icon';
|
|
7
|
+
|
|
8
|
+
export type ButtonProps = ButtonBaseProps & TestProps & CommonButtonProps & {
|
|
9
|
+
/** An optional icon to put on the right of the button */
|
|
10
|
+
iconRightName?: AcceptedIconNames;
|
|
11
|
+
/** An optional icon to put on the left of the button */
|
|
12
|
+
iconLeftName?: AcceptedIconNames;
|
|
13
|
+
/** An optional avatar to put on the left of the button */
|
|
14
|
+
avatar?: Pick<AvatarProps, 'src' | 'color'> & {
|
|
15
|
+
label?: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
declare const Button: React.ForwardRefExoticComponent<{
|
|
19
|
+
type?: import('./Button.types').ButtonTypes;
|
|
20
|
+
size?: import('utils/types').ComponentSizes;
|
|
21
|
+
isBlock?: boolean;
|
|
22
|
+
isLoading?: boolean;
|
|
23
|
+
isDisabled?: boolean;
|
|
24
|
+
isIconButton?: boolean;
|
|
25
|
+
shape?: import('../IconButton').IconButtonShape;
|
|
26
|
+
htmlType?: "button" | "reset" | "submit";
|
|
27
|
+
sx?: {
|
|
28
|
+
container?: import('@emotion/serialize').CSSObject;
|
|
29
|
+
};
|
|
30
|
+
} & TestProps & import('../ButtonBase/ButtonBase').EventButtonProps & Partial<Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "type" | "disabled" | "onClick" | "onBlur" | "css" | "size">> & {
|
|
31
|
+
/** An optional icon to put on the right of the button */
|
|
32
|
+
iconRightName?: AcceptedIconNames;
|
|
33
|
+
/** An optional icon to put on the left of the button */
|
|
34
|
+
iconLeftName?: AcceptedIconNames;
|
|
35
|
+
/** An optional avatar to put on the left of the button */
|
|
36
|
+
avatar?: Pick<AvatarProps, 'src' | 'color'> & {
|
|
37
|
+
label?: string;
|
|
38
|
+
};
|
|
39
|
+
} & React.RefAttributes<HTMLButtonElement>>;
|
|
40
|
+
export default Button;
|