@orfium/ictinus 5.5.0 → 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} +5739 -5690
- 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 +21 -14
- 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 -3479
- package/dist/index.umd.js +0 -147
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as spacingFigma } from './constants/spacing';
|
|
2
|
+
|
|
3
|
+
export type SpacingKey = keyof typeof spacingFigma;
|
|
4
|
+
export type Spacing = {
|
|
5
|
+
get: (val: SpacingKey, fn?: (val: string) => unknown) => string;
|
|
6
|
+
};
|
|
7
|
+
declare const spacing: Spacing;
|
|
8
|
+
export default spacing;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { default as fontFamilyFigma } from './constants/fontFamily';
|
|
2
|
+
import { default as fontSizeFigma } from './constants/fontSize';
|
|
3
|
+
import { default as fontWeightFigma } from './constants/fontWeight';
|
|
4
|
+
import { default as letterSpacingFigma } from './constants/letterSpacing';
|
|
5
|
+
import { default as lineHeightFigma } from './constants/lineHeight';
|
|
6
|
+
import { default as textCaseFigma } from './constants/textCase';
|
|
7
|
+
import { default as textDecorationFigma } from './constants/textDecoration';
|
|
8
|
+
|
|
9
|
+
export type FontSizeKey = keyof typeof fontSizeFigma;
|
|
10
|
+
export type FontWeightKey = keyof typeof fontWeightFigma;
|
|
11
|
+
export type FontFamilyKey = keyof typeof fontFamilyFigma;
|
|
12
|
+
export type LineHeightKey = keyof typeof lineHeightFigma;
|
|
13
|
+
export type LetterSpacingKey = keyof typeof letterSpacingFigma;
|
|
14
|
+
export type TextCaseKey = keyof typeof textCaseFigma;
|
|
15
|
+
export type TextDecorationKey = keyof typeof textDecorationFigma;
|
|
16
|
+
export type FontSize = {
|
|
17
|
+
get: (val: FontSizeKey, fn?: (val: string) => unknown) => string;
|
|
18
|
+
/** @TODO remove this custom font-sizes*/
|
|
19
|
+
'8': string;
|
|
20
|
+
'11': string;
|
|
21
|
+
'13': string;
|
|
22
|
+
'15': string;
|
|
23
|
+
};
|
|
24
|
+
export type FontWeight = {
|
|
25
|
+
get: (val: FontWeightKey, fn?: (val: string) => unknown) => number;
|
|
26
|
+
};
|
|
27
|
+
export type FontFamily = {
|
|
28
|
+
get: (val: FontFamilyKey, fn?: (val: string) => unknown) => string;
|
|
29
|
+
};
|
|
30
|
+
export type LineHeight = {
|
|
31
|
+
get: (val: LineHeightKey, fn?: (val: string) => unknown) => string;
|
|
32
|
+
};
|
|
33
|
+
export type LetterSpacing = {
|
|
34
|
+
get: (val: LetterSpacingKey, fn?: (val: string) => unknown) => string;
|
|
35
|
+
};
|
|
36
|
+
export type TextCase = {
|
|
37
|
+
get: (val: TextCaseKey, fn?: (val: string) => unknown) => string;
|
|
38
|
+
};
|
|
39
|
+
export type TextDecoration = {
|
|
40
|
+
get: (val: TextDecorationKey, fn?: (val: string) => unknown) => string;
|
|
41
|
+
};
|
|
42
|
+
export type Typography = {
|
|
43
|
+
globalFontSize: number;
|
|
44
|
+
fontSize: FontSize;
|
|
45
|
+
fontWeight: FontWeight;
|
|
46
|
+
fontFamily: FontFamily;
|
|
47
|
+
defaultFontFamily: string;
|
|
48
|
+
lineHeight: LineHeight;
|
|
49
|
+
letterSpacing: LetterSpacing;
|
|
50
|
+
textCase: TextCase;
|
|
51
|
+
textDecoration: TextDecoration;
|
|
52
|
+
};
|
|
53
|
+
declare const typography: Typography;
|
|
54
|
+
export default typography;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { flatColors, paleColors } from './palette';
|
|
2
|
+
|
|
3
|
+
export type FlatPaletteConfig = Partial<Record<typeof flatColors[number], string>>;
|
|
4
|
+
/** @TODO remove this when all components are revisited for v5 */
|
|
5
|
+
export type PalePaletteConfig = Partial<Record<typeof paleColors[number], string>>;
|
|
6
|
+
/** @TODO remove this when all components are revisited for v5 */
|
|
7
|
+
export type TextPaletteConfig = {
|
|
8
|
+
primary?: string;
|
|
9
|
+
secondary?: string;
|
|
10
|
+
light?: string;
|
|
11
|
+
};
|
|
12
|
+
export type NeutralPaletteConfig = {
|
|
13
|
+
light?: string;
|
|
14
|
+
dark?: string;
|
|
15
|
+
grey?: string;
|
|
16
|
+
transparent?: string;
|
|
17
|
+
};
|
|
18
|
+
export type GradientPaletteConfig = {
|
|
19
|
+
primary?: string;
|
|
20
|
+
secondary?: string;
|
|
21
|
+
tertiary?: string;
|
|
22
|
+
upsell?: string;
|
|
23
|
+
inverted?: string;
|
|
24
|
+
};
|
|
25
|
+
export type PaletteConfig = {
|
|
26
|
+
flat?: FlatPaletteConfig;
|
|
27
|
+
gradient?: GradientPaletteConfig;
|
|
28
|
+
neutral?: NeutralPaletteConfig;
|
|
29
|
+
/** @TODO remove all these when all components are revisited for v5 */
|
|
30
|
+
primary?: string;
|
|
31
|
+
secondary?: string;
|
|
32
|
+
success?: string;
|
|
33
|
+
error?: string;
|
|
34
|
+
warning?: string;
|
|
35
|
+
info?: string;
|
|
36
|
+
light?: string;
|
|
37
|
+
link?: string;
|
|
38
|
+
text?: TextPaletteConfig;
|
|
39
|
+
pale?: PalePaletteConfig;
|
|
40
|
+
white?: string;
|
|
41
|
+
black?: string;
|
|
42
|
+
};
|
|
43
|
+
export declare const flatPaletteConfig: Record<typeof flatColors[number], string>;
|
|
44
|
+
/** @TODO remove all these when all components are revisited for v5 */
|
|
45
|
+
export declare const palePaletteConfig: Record<typeof paleColors[number], string>;
|
|
46
|
+
export declare const paletteConfig: PaletteConfig;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { TextColorTypes } from './index';
|
|
2
|
+
import { GradientPaletteConfig, NeutralPaletteConfig } from './palette.config';
|
|
3
|
+
|
|
4
|
+
export declare const neutralColors: readonly ["neutralWhite", "neutralBlack"];
|
|
5
|
+
export declare const colorSchemes: readonly ["semantic", "dark"];
|
|
6
|
+
/**
|
|
7
|
+
* Here are listed all the colors available for our project
|
|
8
|
+
* Flat colors are the actual colors of the system
|
|
9
|
+
**/
|
|
10
|
+
export declare const flatColors: readonly ["greyScale", "darkGrey", "lightGrey", "red", "magenta", "lightPurple", "purple", "darkBlue", "blue", "lightBlue", "teal", "green", "yellow", "orange", "darkOrange", "neutralWhite", "neutralBlack"];
|
|
11
|
+
/**
|
|
12
|
+
* Here are listed all the colors available for our project
|
|
13
|
+
* Pale colors are just colors without shades
|
|
14
|
+
**/
|
|
15
|
+
/** @TODO remove all these when all components are revisited for v5 */
|
|
16
|
+
export declare const paleColors: readonly ["greyScale", "darkGrey", "lightGrey", "red", "magenta", "lightPurple", "purple", "darkBlue", "blue", "lightBlue", "teal", "green", "yellow", "orange"];
|
|
17
|
+
/**
|
|
18
|
+
* Here are listed all the color shades
|
|
19
|
+
* Each colors of the flat palette is generated with these variations
|
|
20
|
+
* E.g red.100 = color or yellow.500 = color
|
|
21
|
+
* so there is no yellow but variations of yellow
|
|
22
|
+
* default variation: 500
|
|
23
|
+
**/
|
|
24
|
+
export declare const colorShades: readonly [50, 100, 150, 200, 250, 300, 350, 400, 450, 500, 550, 600, 650, 700, 750, 800, 850, 900, 950];
|
|
25
|
+
export declare const MIN_SHADE = 50;
|
|
26
|
+
export declare const BASE_SHADE = 500;
|
|
27
|
+
export declare const MAX_SHADE = 950;
|
|
28
|
+
/**
|
|
29
|
+
* mainTypes are not colors per se but a type of color
|
|
30
|
+
* for example error is red but also defines a state that's why is listed here and not in flat colors
|
|
31
|
+
* Each color has again the above variations (shades)
|
|
32
|
+
**/
|
|
33
|
+
export declare const mainTypes: readonly ["primary", "secondary", "success", "error", "warning", "info", "light", "link"];
|
|
34
|
+
export type FlatPalette = Record<(typeof flatColors)[number], GeneratedColorShades>;
|
|
35
|
+
export type PalePalette = Record<(typeof paleColors)[number], string>;
|
|
36
|
+
export type GeneratedColorShades = Record<(typeof colorShades)[number], string>;
|
|
37
|
+
/**
|
|
38
|
+
* Palette is end output of what is produced and exported to the client projects
|
|
39
|
+
**/
|
|
40
|
+
export type Palette = {
|
|
41
|
+
flat: FlatPalette;
|
|
42
|
+
neutral: NeutralPaletteConfig;
|
|
43
|
+
gradient: GradientPaletteConfig;
|
|
44
|
+
/** @TODO remove all these when all components are revisited for v5 */
|
|
45
|
+
text: {
|
|
46
|
+
primary: GeneratedColorShades;
|
|
47
|
+
secondary: GeneratedColorShades;
|
|
48
|
+
light: GeneratedColorShades;
|
|
49
|
+
};
|
|
50
|
+
pale: PalePalette;
|
|
51
|
+
white: string;
|
|
52
|
+
black: string;
|
|
53
|
+
} & Record<(typeof mainTypes)[number], GeneratedColorShades>;
|
|
54
|
+
export type formFieldStyles = 'filled' | 'outlined' | 'elevated';
|
|
55
|
+
export type GetColor = {
|
|
56
|
+
(color: (typeof flatColors)[number], variant: (typeof colorShades)[number]): string;
|
|
57
|
+
(color: (typeof flatColors)[number], variant: (typeof colorShades)[number], scope: 'flat'): string;
|
|
58
|
+
(color: TextColorTypes, variant: (typeof colorShades)[number], scope: 'text'): string;
|
|
59
|
+
(color: (typeof mainTypes)[number], variant: (typeof colorShades)[number], scope: 'normal'): string;
|
|
60
|
+
(color: (typeof paleColors)[number], variant: null, scope: 'pale'): string;
|
|
61
|
+
};
|
|
62
|
+
export declare const getColor: (palette: Palette) => GetColor;
|
|
63
|
+
/**
|
|
64
|
+
* this function picks either white or black color based on the background that is passed
|
|
65
|
+
* swatches are calculated based on accessibility by getAAColor function and splited to those two colors
|
|
66
|
+
**/
|
|
67
|
+
export type GetAAColorFromSwatches = {
|
|
68
|
+
(color: (typeof flatColors)[number], variant: (typeof colorShades)[number]): string;
|
|
69
|
+
};
|
|
70
|
+
export declare const getAAColorFromSwatches: (palette: Palette) => GetAAColorFromSwatches;
|
|
71
|
+
export type GetAAColor = {
|
|
72
|
+
(color: string): string;
|
|
73
|
+
};
|
|
74
|
+
export declare const getAAColor: (palette: Palette) => GetAAColor;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export type GetDisabled = {
|
|
2
|
+
style: {
|
|
3
|
+
opacity: number;
|
|
4
|
+
cursor: string;
|
|
5
|
+
};
|
|
6
|
+
opacity: number;
|
|
7
|
+
cursor: string;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* On disabled opacity is dropped in half and cursor is 'not-allowed'
|
|
11
|
+
* **/
|
|
12
|
+
export declare const getDisabled: () => GetDisabled;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Theme } from '../index';
|
|
2
|
+
|
|
3
|
+
export type GetFocusProps = {
|
|
4
|
+
theme: Theme;
|
|
5
|
+
borderWidth?: number;
|
|
6
|
+
};
|
|
7
|
+
export type GetFocus = {
|
|
8
|
+
borderWidth: string;
|
|
9
|
+
focusColor: string;
|
|
10
|
+
styleBorder: string;
|
|
11
|
+
styleOutline: string;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* On focus border is darken by one step in shade.
|
|
15
|
+
* If we exceed the maximum value then we lighten it.
|
|
16
|
+
* This will be reviewed when dark theme is implemented. **/
|
|
17
|
+
export declare const getFocus: ({ theme, borderWidth }: GetFocusProps) => GetFocus;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Theme } from '../index';
|
|
2
|
+
import { colorShades, flatColors } from '../palette';
|
|
3
|
+
|
|
4
|
+
export type HoverProps = {
|
|
5
|
+
theme: Theme;
|
|
6
|
+
color?: (typeof flatColors)[number];
|
|
7
|
+
shade?: (typeof colorShades)[number] | 0;
|
|
8
|
+
};
|
|
9
|
+
export type GetHover = {
|
|
10
|
+
backgroundColor: string;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* On hover background is darken by one step in shade.
|
|
14
|
+
* If we exceed the maximum value then we lighten it.
|
|
15
|
+
* This will be reviewed when dark theme is implemented. **/
|
|
16
|
+
export declare const getHover: ({ theme, color, shade }: HoverProps) => GetHover;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Theme } from '../index';
|
|
2
|
+
import { colorShades, flatColors } from '../palette';
|
|
3
|
+
|
|
4
|
+
export type GetPressedProps = {
|
|
5
|
+
theme: Theme;
|
|
6
|
+
color?: (typeof flatColors)[number];
|
|
7
|
+
shade?: (typeof colorShades)[number] | 0;
|
|
8
|
+
};
|
|
9
|
+
export type GetPressed = {
|
|
10
|
+
backgroundColor: string;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* On pressed background is darken by two steps in shade.
|
|
14
|
+
* If we exceed the maximum value then we lighten it by two steps.
|
|
15
|
+
* This will be reviewed when dark theme is implemented. **/
|
|
16
|
+
export declare const getPressed: ({ theme, color, shade }: GetPressedProps) => GetPressed;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { colorSchemes, colorShades, flatColors } from '../palette';
|
|
2
|
+
|
|
3
|
+
type StateConfig = {
|
|
4
|
+
hover: {
|
|
5
|
+
backgroundColor: {
|
|
6
|
+
step: number;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
focus: {
|
|
10
|
+
border: {
|
|
11
|
+
width: {
|
|
12
|
+
step: number;
|
|
13
|
+
};
|
|
14
|
+
color: {
|
|
15
|
+
name: typeof flatColors[number];
|
|
16
|
+
shade: typeof colorShades[number];
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
pressed: {
|
|
21
|
+
backgroundColor: {
|
|
22
|
+
step: number;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
disabled: {
|
|
26
|
+
opacity: {
|
|
27
|
+
amount: number;
|
|
28
|
+
};
|
|
29
|
+
cursor: {
|
|
30
|
+
name: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
export declare const semanticStatesConfig: StateConfig;
|
|
35
|
+
export declare const darkStatesConfig: StateConfig;
|
|
36
|
+
export declare const statesConfig: Record<typeof colorSchemes[number], StateConfig>;
|
|
37
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { colorShades } from '../palette';
|
|
2
|
+
import { ColorScheme } from '../types';
|
|
3
|
+
|
|
4
|
+
type GetShadeWithStepProps = {
|
|
5
|
+
shade: typeof colorShades[number] | 0;
|
|
6
|
+
step: number;
|
|
7
|
+
colorScheme: ColorScheme;
|
|
8
|
+
};
|
|
9
|
+
export declare const getShadeWithStep: ({ shade, step, colorScheme, }: GetShadeWithStepProps) => (typeof colorShades)[number];
|
|
10
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
declare const avatar: {
|
|
2
|
+
readonly size: {
|
|
3
|
+
readonly '1': {
|
|
4
|
+
readonly value: "{sizing.5}";
|
|
5
|
+
readonly type: "sizing";
|
|
6
|
+
readonly description: "Sets avatar size 1";
|
|
7
|
+
};
|
|
8
|
+
readonly '2': {
|
|
9
|
+
readonly value: "{sizing.6}";
|
|
10
|
+
readonly type: "sizing";
|
|
11
|
+
readonly description: "Sets avatar size 2";
|
|
12
|
+
};
|
|
13
|
+
readonly '3': {
|
|
14
|
+
readonly value: "{sizing.8}";
|
|
15
|
+
readonly type: "sizing";
|
|
16
|
+
readonly description: "Sets avatar size 3";
|
|
17
|
+
};
|
|
18
|
+
readonly '4': {
|
|
19
|
+
readonly value: "{sizing.12}";
|
|
20
|
+
readonly type: "sizing";
|
|
21
|
+
readonly description: "Sets avatar size 4";
|
|
22
|
+
};
|
|
23
|
+
readonly '5': {
|
|
24
|
+
readonly value: "{sizing.15}";
|
|
25
|
+
readonly type: "sizing";
|
|
26
|
+
readonly description: "Sets avatar size 5";
|
|
27
|
+
};
|
|
28
|
+
readonly '6': {
|
|
29
|
+
readonly value: "{sizing.18}";
|
|
30
|
+
readonly type: "sizing";
|
|
31
|
+
readonly description: "Sets avatar size 6";
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
readonly label: {
|
|
35
|
+
readonly '1': {
|
|
36
|
+
readonly value: {
|
|
37
|
+
readonly fontFamily: "{fontFamily.roboto}";
|
|
38
|
+
readonly fontWeight: "{fontWeight.medium}";
|
|
39
|
+
readonly fontSize: "{fontSize.1}";
|
|
40
|
+
readonly lineHeight: "{lineHeight.1}";
|
|
41
|
+
readonly letterSpacing: "{letterSpacing.1}";
|
|
42
|
+
};
|
|
43
|
+
readonly type: "typography";
|
|
44
|
+
readonly description: "Sets text style for avatar size 1";
|
|
45
|
+
};
|
|
46
|
+
readonly '2': {
|
|
47
|
+
readonly value: {
|
|
48
|
+
readonly fontFamily: "{fontFamily.roboto}";
|
|
49
|
+
readonly fontWeight: "{fontWeight.medium}";
|
|
50
|
+
readonly fontSize: "{fontSize.2}";
|
|
51
|
+
readonly lineHeight: "{lineHeight.3}";
|
|
52
|
+
readonly letterSpacing: "{letterSpacing.2}";
|
|
53
|
+
};
|
|
54
|
+
readonly type: "typography";
|
|
55
|
+
readonly description: "Sets text style for avatar size 2";
|
|
56
|
+
};
|
|
57
|
+
readonly '3': {
|
|
58
|
+
readonly value: {
|
|
59
|
+
readonly fontFamily: "{fontFamily.roboto}";
|
|
60
|
+
readonly fontWeight: "{fontWeight.medium}";
|
|
61
|
+
readonly fontSize: "{fontSize.3}";
|
|
62
|
+
readonly lineHeight: "{lineHeight.4}";
|
|
63
|
+
readonly letterSpacing: "{letterSpacing.2}";
|
|
64
|
+
};
|
|
65
|
+
readonly type: "typography";
|
|
66
|
+
readonly description: "Sets text style for avatar size 3";
|
|
67
|
+
};
|
|
68
|
+
readonly '4': {
|
|
69
|
+
readonly value: {
|
|
70
|
+
readonly fontFamily: "{fontFamily.roboto}";
|
|
71
|
+
readonly fontWeight: "{fontWeight.medium}";
|
|
72
|
+
readonly fontSize: "{fontSize.4}";
|
|
73
|
+
readonly lineHeight: "{lineHeight.5}";
|
|
74
|
+
readonly letterSpacing: "{letterSpacing.1}";
|
|
75
|
+
};
|
|
76
|
+
readonly type: "typography";
|
|
77
|
+
readonly description: "Sets text style for avatar size 4";
|
|
78
|
+
};
|
|
79
|
+
readonly '5': {
|
|
80
|
+
readonly value: {
|
|
81
|
+
readonly fontFamily: "{fontFamily.roboto}";
|
|
82
|
+
readonly fontWeight: "{fontWeight.medium}";
|
|
83
|
+
readonly fontSize: "{fontSize.8}";
|
|
84
|
+
readonly lineHeight: "{lineHeight.8}";
|
|
85
|
+
readonly letterSpacing: "{letterSpacing.0}";
|
|
86
|
+
};
|
|
87
|
+
readonly type: "typography";
|
|
88
|
+
readonly description: "Sets text style for avatar size 5";
|
|
89
|
+
};
|
|
90
|
+
readonly '6': {
|
|
91
|
+
readonly value: {
|
|
92
|
+
readonly fontFamily: "{fontFamily.roboto}";
|
|
93
|
+
readonly fontWeight: "{fontWeight.medium}";
|
|
94
|
+
readonly fontSize: "{fontSize.10}";
|
|
95
|
+
readonly lineHeight: "{lineHeight.10}";
|
|
96
|
+
readonly letterSpacing: "{letterSpacing.0}";
|
|
97
|
+
};
|
|
98
|
+
readonly type: "typography";
|
|
99
|
+
readonly description: "Sets text style for avatar size 6";
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
export default avatar;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
declare const button: {
|
|
2
|
+
readonly compact: {
|
|
3
|
+
readonly size: {
|
|
4
|
+
readonly value: "{sizing.7}";
|
|
5
|
+
readonly type: "sizing";
|
|
6
|
+
readonly description: "Sets size for iconButton ('compact' variant)";
|
|
7
|
+
};
|
|
8
|
+
readonly padding: {
|
|
9
|
+
readonly value: "{spacing.0} {spacing.4} {spacing.0} {spacing.4}";
|
|
10
|
+
readonly type: "spacing";
|
|
11
|
+
readonly description: "Sets horizontal/vertical padding for 'compact' textButton";
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
readonly normal: {
|
|
15
|
+
readonly size: {
|
|
16
|
+
readonly value: "{sizing.9}";
|
|
17
|
+
readonly type: "sizing";
|
|
18
|
+
readonly description: "Sets size for iconButtons";
|
|
19
|
+
};
|
|
20
|
+
readonly padding: {
|
|
21
|
+
readonly value: "{spacing.0} {spacing.6} {spacing.0} {spacing.6}";
|
|
22
|
+
readonly type: "spacing";
|
|
23
|
+
readonly description: "Sets horizontal/vertical padding for 'normal' textButton";
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export default button;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare const controls: {
|
|
2
|
+
readonly switch: {
|
|
3
|
+
readonly height: {
|
|
4
|
+
readonly track: {
|
|
5
|
+
readonly value: "{sizing.2}";
|
|
6
|
+
readonly type: "sizing";
|
|
7
|
+
readonly description: "Sets the height of the track";
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
readonly width: {
|
|
11
|
+
readonly track: {
|
|
12
|
+
readonly value: "{sizing.9}";
|
|
13
|
+
readonly type: "sizing";
|
|
14
|
+
readonly description: "Sets the width of the track";
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
export default controls;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare const datePicker: {
|
|
2
|
+
readonly dateSize: {
|
|
3
|
+
readonly value: "{sizing.9}";
|
|
4
|
+
readonly type: "sizing";
|
|
5
|
+
readonly description: "Sets fixed size for _block date ";
|
|
6
|
+
};
|
|
7
|
+
readonly actionsContainer: {
|
|
8
|
+
readonly value: "{sizing.15}";
|
|
9
|
+
readonly type: "sizing";
|
|
10
|
+
readonly description: "Sets fixed height for date picker button container";
|
|
11
|
+
};
|
|
12
|
+
readonly fieldWidth: {
|
|
13
|
+
readonly value: "{sizing.21}";
|
|
14
|
+
readonly type: "sizing";
|
|
15
|
+
readonly description: "Sets fixed width for date picker fields";
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export default datePicker;
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
declare const field: {
|
|
2
|
+
readonly addOn: {
|
|
3
|
+
readonly height: {
|
|
4
|
+
readonly normal: {
|
|
5
|
+
readonly value: "{sizing.13}";
|
|
6
|
+
readonly type: "sizing";
|
|
7
|
+
readonly description: "Sets fixed height for _block addOn (normal variant)";
|
|
8
|
+
};
|
|
9
|
+
readonly compact: {
|
|
10
|
+
readonly value: "{sizing.7}";
|
|
11
|
+
readonly type: "sizing";
|
|
12
|
+
readonly description: "Sets fixed height for _block addOn (compact variant)";
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
readonly padding: {
|
|
16
|
+
readonly normal: {
|
|
17
|
+
readonly value: "{spacing.0} {spacing.5} {spacing.0} {spacing.4}";
|
|
18
|
+
readonly type: "spacing";
|
|
19
|
+
readonly description: "Sets horizontal/vertical padding for 'normal' field--addOn";
|
|
20
|
+
};
|
|
21
|
+
readonly compact: {
|
|
22
|
+
readonly value: "{spacing.0} {spacing.4} {spacing.0} {spacing.3}";
|
|
23
|
+
readonly type: "spacing";
|
|
24
|
+
readonly description: "Sets horizontal/vertical padding for 'compact' field--addOn";
|
|
25
|
+
};
|
|
26
|
+
readonly textArea: {
|
|
27
|
+
readonly value: "{spacing.6} {spacing.5} {spacing.6} {spacing.5}";
|
|
28
|
+
readonly type: "spacing";
|
|
29
|
+
readonly description: "Sets horizontal/vertical padding for text area";
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
readonly container: {
|
|
34
|
+
readonly normal: {
|
|
35
|
+
readonly value: "{sizing.13}";
|
|
36
|
+
readonly type: "sizing";
|
|
37
|
+
readonly description: "Sets fixed height for field content container";
|
|
38
|
+
};
|
|
39
|
+
readonly compact: {
|
|
40
|
+
readonly value: "{sizing.7}";
|
|
41
|
+
readonly type: "sizing";
|
|
42
|
+
readonly description: "Sets fixed height for compact field content container";
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
readonly minWidth: {
|
|
46
|
+
readonly small: {
|
|
47
|
+
readonly normal: {
|
|
48
|
+
readonly value: "140px";
|
|
49
|
+
readonly type: "sizing";
|
|
50
|
+
readonly description: "Sets 'small' minimum width for base field (normal size)";
|
|
51
|
+
};
|
|
52
|
+
readonly compact: {
|
|
53
|
+
readonly value: "70px";
|
|
54
|
+
readonly type: "sizing";
|
|
55
|
+
readonly description: "Sets 'small' minimum width for base field (compact size)";
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
readonly large: {
|
|
59
|
+
readonly normal: {
|
|
60
|
+
readonly value: "240px";
|
|
61
|
+
readonly type: "sizing";
|
|
62
|
+
readonly description: "Sets 'large' minimum width for base field (normal size)";
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
readonly medium: {
|
|
66
|
+
readonly normal: {
|
|
67
|
+
readonly value: "160px";
|
|
68
|
+
readonly type: "sizing";
|
|
69
|
+
readonly description: "Sets 'medium' minimum width for base field (normal size)";
|
|
70
|
+
};
|
|
71
|
+
readonly compact: {
|
|
72
|
+
readonly value: "90px";
|
|
73
|
+
readonly type: "sizing";
|
|
74
|
+
readonly description: "Sets 'medium' minimum width for base field (compact size)";
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
readonly extraLarge: {
|
|
78
|
+
readonly normal: {
|
|
79
|
+
readonly value: "260px";
|
|
80
|
+
readonly type: "sizing";
|
|
81
|
+
readonly description: "Sets 'large' minimum width for base field (normal size)";
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
readonly content: {
|
|
86
|
+
readonly padding: {
|
|
87
|
+
readonly value: "{spacing.0} {spacing.0} {spacing.0} {spacing.5}";
|
|
88
|
+
readonly type: "spacing";
|
|
89
|
+
readonly description: "Sets horizontal/vertical padding for field content";
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
export default field;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
declare const link: {
|
|
2
|
+
readonly block: {
|
|
3
|
+
readonly '1': {
|
|
4
|
+
readonly value: "{sem.typography.normal.label01}";
|
|
5
|
+
readonly type: "typography";
|
|
6
|
+
readonly description: "Sets text for block link ('large' variant)";
|
|
7
|
+
};
|
|
8
|
+
readonly '2': {
|
|
9
|
+
readonly value: "{sem.typography.normal.label02}";
|
|
10
|
+
readonly type: "typography";
|
|
11
|
+
readonly description: "Sets text for block link ('medium' variant)";
|
|
12
|
+
};
|
|
13
|
+
readonly '3': {
|
|
14
|
+
readonly value: "{sem.typography.normal.label03}";
|
|
15
|
+
readonly type: "typography";
|
|
16
|
+
readonly description: "Sets text for block link ('small' variant)";
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
readonly inline: {
|
|
20
|
+
readonly '1': {
|
|
21
|
+
readonly value: {
|
|
22
|
+
readonly fontFamily: "{fontFamily.roboto}";
|
|
23
|
+
readonly fontWeight: "{fontWeight.medium}";
|
|
24
|
+
readonly fontSize: "{fontSize.4}";
|
|
25
|
+
readonly lineHeight: "{lineHeight.5}";
|
|
26
|
+
readonly letterSpacing: "{letterSpacing.1}";
|
|
27
|
+
readonly textDecoration: "{textDecoration.link}";
|
|
28
|
+
};
|
|
29
|
+
readonly type: "typography";
|
|
30
|
+
readonly description: "Sets text for inline link ('large' variant)";
|
|
31
|
+
};
|
|
32
|
+
readonly '2': {
|
|
33
|
+
readonly value: {
|
|
34
|
+
readonly textDecoration: "{textDecoration.link}";
|
|
35
|
+
readonly fontFamily: "{fontFamily.roboto}";
|
|
36
|
+
readonly fontWeight: "{fontWeight.medium}";
|
|
37
|
+
readonly fontSize: "{fontSize.3}";
|
|
38
|
+
readonly lineHeight: "{lineHeight.4}";
|
|
39
|
+
readonly letterSpacing: "{letterSpacing.2}";
|
|
40
|
+
};
|
|
41
|
+
readonly type: "typography";
|
|
42
|
+
readonly description: "Sets text for inline link ('medium' variant)";
|
|
43
|
+
};
|
|
44
|
+
readonly '3': {
|
|
45
|
+
readonly value: {
|
|
46
|
+
readonly fontFamily: "{fontFamily.roboto}";
|
|
47
|
+
readonly fontWeight: "{fontWeight.medium}";
|
|
48
|
+
readonly fontSize: "{fontSize.2}";
|
|
49
|
+
readonly lineHeight: "{lineHeight.3}";
|
|
50
|
+
readonly letterSpacing: "{letterSpacing.2}";
|
|
51
|
+
readonly textDecoration: "{textDecoration.link}";
|
|
52
|
+
};
|
|
53
|
+
readonly type: "typography";
|
|
54
|
+
readonly description: "Sets text for inline link ('small' variant)";
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
export default link;
|