@orfium/ictinus 5.5.0 → 5.5.2
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/assets/header.png +0 -0
- package/dist/codemods/assets/header.svg +417 -0
- package/dist/codemods/avatarCodemod.js +1 -45
- package/dist/codemods/buttonCodemod.js +1 -32
- package/dist/codemods/checkboxCodemod.js +1 -29
- package/dist/codemods/chipCodemode.js +1 -39
- package/dist/codemods/{avatarCodemod.d.ts → codemods/avatarCodemod.d.ts} +2 -1
- package/dist/codemods/{buttonCodemod.d.ts → codemods/buttonCodemod.d.ts} +2 -1
- package/dist/codemods/{checkboxCodemod.d.ts → codemods/checkboxCodemod.d.ts} +2 -1
- package/dist/codemods/{chipCodemode.d.ts → codemods/chipCodemode.d.ts} +2 -1
- package/dist/codemods/{drawerCodemod.d.ts → codemods/drawerCodemod.d.ts} +2 -1
- package/dist/codemods/{filterCodemod.d.ts → codemods/filterCodemod.d.ts} +2 -1
- package/dist/codemods/{iconButtonCodemod.d.ts → codemods/iconButtonCodemod.d.ts} +2 -1
- package/dist/codemods/{iconCodemod.d.ts → codemods/iconCodemod.d.ts} +2 -1
- package/dist/codemods/{loaderCodemod.d.ts → codemods/loaderCodemod.d.ts} +2 -1
- package/dist/codemods/{menuCodemod.d.ts → codemods/menuCodemod.d.ts} +2 -1
- package/dist/codemods/{notificationsCodemod.d.ts → codemods/notificationsCodemod.d.ts} +2 -1
- package/dist/codemods/{paginationCodemod.d.ts → codemods/paginationCodemod.d.ts} +2 -1
- package/dist/codemods/{radioCodemod.d.ts → codemods/radioCodemod.d.ts} +2 -1
- package/dist/codemods/{radioGroupCodemod.d.ts → codemods/radioGroupCodemod.d.ts} +2 -1
- package/dist/codemods/{searchCodemod.d.ts → codemods/searchCodemod.d.ts} +2 -1
- package/dist/codemods/{selectCodemod.d.ts → codemods/selectCodemod.d.ts} +2 -1
- package/dist/codemods/{switchCodemod.d.ts → codemods/switchCodemod.d.ts} +2 -1
- package/dist/codemods/{tableCodemod.d.ts → codemods/tableCodemod.d.ts} +2 -1
- package/dist/codemods/{textareaCodemod.d.ts → codemods/textareaCodemod.d.ts} +2 -1
- package/dist/codemods/{textfieldCodemod.d.ts → codemods/textfieldCodemod.d.ts} +2 -1
- package/dist/codemods/{tooltipCodemod.d.ts → codemods/tooltipCodemod.d.ts} +2 -1
- package/dist/codemods/{unchangedIconsCodemod.d.ts → codemods/unchangedIconsCodemod.d.ts} +2 -1
- package/dist/codemods/drawerCodemod.js +1 -61
- package/dist/codemods/filterCodemod.js +1 -27
- package/dist/codemods/globalsCodemod.js +1 -130
- package/dist/codemods/iconButtonCodemod.js +1 -28
- package/dist/codemods/iconCodemod.js +1 -19
- package/dist/codemods/loaderCodemod.js +1 -42
- package/dist/codemods/menuCodemod.js +1 -31
- package/dist/codemods/notificationsCodemod.js +1 -17
- package/dist/codemods/paginationCodemod.js +1 -32
- package/dist/codemods/radioCodemod.js +1 -21
- package/dist/codemods/radioGroupCodemod.js +1 -18
- package/dist/codemods/searchCodemod.js +1 -31
- package/dist/codemods/selectCodemod.js +1 -66
- package/dist/codemods/switchCodemod.js +1 -28
- package/dist/codemods/tableCodemod.js +1 -23
- package/dist/codemods/textareaCodemod.js +1 -44
- package/dist/codemods/textfieldCodemod.js +1 -43
- package/dist/codemods/tooltipCodemod.js +1 -26
- package/dist/codemods/unchangedIconsCodemod.js +1 -56
- 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 +24 -14
- package/dist/codemods/avatarCodemod.js.map +0 -1
- package/dist/codemods/buttonCodemod.js.map +0 -1
- package/dist/codemods/checkboxCodemod.js.map +0 -1
- package/dist/codemods/chipCodemode.js.map +0 -1
- package/dist/codemods/drawerCodemod.js.map +0 -1
- package/dist/codemods/filterCodemod.js.map +0 -1
- package/dist/codemods/globalsCodemod.js.map +0 -1
- package/dist/codemods/iconButtonCodemod.js.map +0 -1
- package/dist/codemods/iconCodemod.js.map +0 -1
- package/dist/codemods/loaderCodemod.js.map +0 -1
- package/dist/codemods/menuCodemod.js.map +0 -1
- package/dist/codemods/notificationsCodemod.js.map +0 -1
- package/dist/codemods/paginationCodemod.js.map +0 -1
- package/dist/codemods/radioCodemod.js.map +0 -1
- package/dist/codemods/radioGroupCodemod.js.map +0 -1
- package/dist/codemods/searchCodemod.js.map +0 -1
- package/dist/codemods/selectCodemod.js.map +0 -1
- package/dist/codemods/switchCodemod.js.map +0 -1
- package/dist/codemods/tableCodemod.js.map +0 -1
- package/dist/codemods/textareaCodemod.js.map +0 -1
- package/dist/codemods/textfieldCodemod.js.map +0 -1
- package/dist/codemods/tooltipCodemod.js.map +0 -1
- package/dist/codemods/unchangedIconsCodemod.js.map +0 -1
- package/dist/index.d.ts +0 -3479
- package/dist/index.umd.js +0 -147
- /package/dist/codemods/{globalsCodemod.d.ts → codemods/globalsCodemod.d.ts} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { default as search } from '../../theme/tokens/components/variables/search';
|
|
2
|
+
import { DotKeys } from '../../theme/tokens/utils';
|
|
3
|
+
import { Theme } from '../../theme';
|
|
4
|
+
|
|
5
|
+
export type SearchTokens = DotKeys<typeof search>;
|
|
6
|
+
export declare const getSearchTokens: (theme: Theme) => (path: "height.normal", fn?: (val: string) => unknown) => any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FilterProps, SingleFilterProps } from '../Filter';
|
|
2
|
+
import { TextFieldProps } from '../TextField';
|
|
3
|
+
|
|
4
|
+
export type filterConfig = Pick<FilterProps & SingleFilterProps, 'selectedFilter' | 'onChange' | 'onClear' | 'defaultValue' | 'label' | 'items'>;
|
|
5
|
+
export type SearchFilterConfig = {
|
|
6
|
+
filterConfig?: filterConfig;
|
|
7
|
+
};
|
|
8
|
+
export type SearchProps = {
|
|
9
|
+
/** A callback that's called when the user clicks the 'clear' icon */
|
|
10
|
+
onClear: () => void;
|
|
11
|
+
} & Omit<TextFieldProps, 'label' | 'size' | 'mask' | 'isMulti' | 'tags' | 'onMultiValueDelete' | 'onMultiValueClearAll' | 'status' | 'suffix' | 'isInteractive'> & SearchFilterConfig;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { SelectOption, SelectProps } from './types';
|
|
3
|
+
|
|
4
|
+
export declare const emptyValue: SelectOption;
|
|
5
|
+
declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<SelectProps & React.RefAttributes<HTMLInputElement>>>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import('react').MemoExoticComponent<import('react').ForwardRefExoticComponent<import('./types').SelectProps & import('react').RefAttributes<HTMLInputElement>>>;
|
|
5
|
+
parameters: {
|
|
6
|
+
design: {
|
|
7
|
+
type: string;
|
|
8
|
+
name: string;
|
|
9
|
+
url: string;
|
|
10
|
+
}[];
|
|
11
|
+
};
|
|
12
|
+
args: {
|
|
13
|
+
hintMessage: string;
|
|
14
|
+
label: string;
|
|
15
|
+
isSearchable: boolean;
|
|
16
|
+
};
|
|
17
|
+
argTypes: {
|
|
18
|
+
status: {
|
|
19
|
+
type: string;
|
|
20
|
+
options: string[];
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
export default _default;
|
|
25
|
+
export declare const SelectSizes: {
|
|
26
|
+
render: () => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
27
|
+
name: string;
|
|
28
|
+
parameters: {
|
|
29
|
+
controls: {
|
|
30
|
+
disable: boolean;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
export declare const SimpleSelect: {
|
|
35
|
+
render: () => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
36
|
+
name: string;
|
|
37
|
+
parameters: {
|
|
38
|
+
controls: {
|
|
39
|
+
disable: boolean;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
export declare const SearchableSelect: {
|
|
44
|
+
render: (args: any) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
45
|
+
name: string;
|
|
46
|
+
parameters: {
|
|
47
|
+
controls: {
|
|
48
|
+
include: string[];
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
export declare const SelectWithUncontrolledState: {
|
|
53
|
+
render: (args: any) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
54
|
+
parameters: {
|
|
55
|
+
controls: {
|
|
56
|
+
include: string[];
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
name: string;
|
|
60
|
+
};
|
|
61
|
+
export declare const SimpleSelectWithGroups: {
|
|
62
|
+
render: () => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
63
|
+
name: string;
|
|
64
|
+
parameters: {
|
|
65
|
+
controls: {
|
|
66
|
+
disable: boolean;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
export declare const SelectWithAsyncSearch: {
|
|
71
|
+
render: () => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
72
|
+
name: string;
|
|
73
|
+
parameters: {
|
|
74
|
+
controls: {
|
|
75
|
+
disable: boolean;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
export declare const SelectWithEdgeCase: {
|
|
80
|
+
render: () => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
81
|
+
name: string;
|
|
82
|
+
parameters: {
|
|
83
|
+
controls: {
|
|
84
|
+
disable: boolean;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
export declare const MultiSelect: {
|
|
89
|
+
render: (args: any) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
90
|
+
name: string;
|
|
91
|
+
parameters: {
|
|
92
|
+
controls: {
|
|
93
|
+
include: string[];
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
export declare const SelectStatuses: {
|
|
98
|
+
render: (args: any) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
99
|
+
parameters: {
|
|
100
|
+
controls: {
|
|
101
|
+
include: string[];
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
name: string;
|
|
105
|
+
};
|
|
106
|
+
export declare const DisabledSelect: {
|
|
107
|
+
render: () => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
108
|
+
name: string;
|
|
109
|
+
parameters: {
|
|
110
|
+
controls: {
|
|
111
|
+
disable: boolean;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
export declare const Playground: {
|
|
116
|
+
render: (args: any) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
117
|
+
name: string;
|
|
118
|
+
parameters: {
|
|
119
|
+
controls: {
|
|
120
|
+
include: string[];
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { SerializedStyles } from '@emotion/react';
|
|
2
|
+
import { Theme } from '../../theme';
|
|
3
|
+
|
|
4
|
+
export declare const selectWrapper: () => (theme: Theme) => SerializedStyles;
|
|
5
|
+
export declare const suffixContainer: (isOpen: boolean, isSearchable: boolean) => () => SerializedStyles;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { CSSObject } from '@emotion/react';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
import { ComponentSizes } from 'types';
|
|
4
|
+
import { SelectOption } from '../../types';
|
|
5
|
+
import { TextInputBaseProps } from '../../../TextInputBase';
|
|
6
|
+
|
|
7
|
+
export type SelectMenuProps = {
|
|
8
|
+
filteredOptions: SelectOption[];
|
|
9
|
+
handleOptionClick: (option: SelectOption) => void;
|
|
10
|
+
selectedOption: SelectOption;
|
|
11
|
+
isLoading?: boolean;
|
|
12
|
+
isVirtualized?: boolean;
|
|
13
|
+
hasSelectAllOption?: boolean;
|
|
14
|
+
size?: ComponentSizes;
|
|
15
|
+
sx?: CSSObject;
|
|
16
|
+
} & Pick<TextInputBaseProps, 'status'>;
|
|
17
|
+
declare const SelectMenu: React.ForwardRefExoticComponent<{
|
|
18
|
+
filteredOptions: SelectOption[];
|
|
19
|
+
handleOptionClick: (option: SelectOption) => void;
|
|
20
|
+
selectedOption: SelectOption;
|
|
21
|
+
isLoading?: boolean;
|
|
22
|
+
isVirtualized?: boolean;
|
|
23
|
+
hasSelectAllOption?: boolean;
|
|
24
|
+
size?: ComponentSizes;
|
|
25
|
+
sx?: CSSObject;
|
|
26
|
+
} & Pick<TextInputBaseProps, "status"> & React.RefAttributes<HTMLUListElement>>;
|
|
27
|
+
export default SelectMenu;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { SerializedStyles } from '@emotion/react';
|
|
2
|
+
import { Theme } from 'theme';
|
|
3
|
+
import { SelectMenuProps } from './SelectMenu';
|
|
4
|
+
import { TextFieldProps } from '../../../TextField/TextField';
|
|
5
|
+
|
|
6
|
+
export declare const optionStyle: ({ isSelected, hasNoResultsExist, }: {
|
|
7
|
+
isSelected: boolean;
|
|
8
|
+
hasNoResultsExist?: boolean;
|
|
9
|
+
} & Omit<TextFieldProps, 'ref' | 'label'>) => (theme: Theme) => SerializedStyles;
|
|
10
|
+
export declare const menuStyle: ({ status, isVirtualized, height, sx, }: SelectMenuProps & Omit<TextFieldProps, 'ref' | 'label'> & {
|
|
11
|
+
height: number;
|
|
12
|
+
}) => (theme: Theme) => SerializedStyles;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { SelectOption } from './types';
|
|
2
|
+
|
|
3
|
+
export declare const SELECT_ALL_OPTION: SelectOption;
|
|
4
|
+
/** Stories */
|
|
5
|
+
export declare const options: ({
|
|
6
|
+
value: string;
|
|
7
|
+
label: string;
|
|
8
|
+
isDisabled?: undefined;
|
|
9
|
+
} | {
|
|
10
|
+
value: string;
|
|
11
|
+
label: string;
|
|
12
|
+
isDisabled: boolean;
|
|
13
|
+
})[];
|
|
14
|
+
export declare const optionsWithHelperInDisabled: ({
|
|
15
|
+
value: string;
|
|
16
|
+
label: string;
|
|
17
|
+
helperText?: undefined;
|
|
18
|
+
isDisabled?: undefined;
|
|
19
|
+
} | {
|
|
20
|
+
value: string;
|
|
21
|
+
label: string;
|
|
22
|
+
helperText: string;
|
|
23
|
+
isDisabled: boolean;
|
|
24
|
+
})[];
|
|
25
|
+
export declare const groupOptions: ({
|
|
26
|
+
value: string;
|
|
27
|
+
label: string;
|
|
28
|
+
options: {
|
|
29
|
+
value: string;
|
|
30
|
+
label: string;
|
|
31
|
+
}[];
|
|
32
|
+
} | {
|
|
33
|
+
value: string;
|
|
34
|
+
label: string;
|
|
35
|
+
options?: undefined;
|
|
36
|
+
})[];
|
|
37
|
+
export declare const defaultValue: {
|
|
38
|
+
value: string;
|
|
39
|
+
label: string;
|
|
40
|
+
isDisabled?: undefined;
|
|
41
|
+
} | {
|
|
42
|
+
value: string;
|
|
43
|
+
label: string;
|
|
44
|
+
isDisabled: boolean;
|
|
45
|
+
};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { InputHTMLAttributes } from 'react';
|
|
2
|
+
import { TestProps } from '../../utils/types';
|
|
3
|
+
import { IconProps } from '../Icon';
|
|
4
|
+
import { TextFieldProps } from '../TextField';
|
|
5
|
+
|
|
6
|
+
export type SelectOptionValues = {
|
|
7
|
+
value: string | number;
|
|
8
|
+
label: string;
|
|
9
|
+
/** refer to Icon component for more details */
|
|
10
|
+
iconProps?: IconProps;
|
|
11
|
+
};
|
|
12
|
+
export type SelectOptionBase = {
|
|
13
|
+
isDisabled?: boolean;
|
|
14
|
+
/** helper text that show under item text */
|
|
15
|
+
helperText?: string;
|
|
16
|
+
tooltipInfo?: string;
|
|
17
|
+
options?: SelectOption[];
|
|
18
|
+
isCreated?: boolean;
|
|
19
|
+
};
|
|
20
|
+
export type SelectOption = SelectOptionBase & SelectOptionValues;
|
|
21
|
+
type InputProps = Partial<Omit<InputHTMLAttributes<HTMLInputElement>, 'size' & 'onChange'>>;
|
|
22
|
+
export type MultiSelectProps = {
|
|
23
|
+
/** The function that is used to return the selected options */
|
|
24
|
+
onChange?: (selectedOption: SelectOption[]) => void;
|
|
25
|
+
/** If true the user can select multiple options */
|
|
26
|
+
isMulti: true;
|
|
27
|
+
/** The selected options in case of multiSelect */
|
|
28
|
+
/** @TODO merge selectedOption with selectedOptions in v5 */
|
|
29
|
+
selectedOption?: SelectOption[];
|
|
30
|
+
};
|
|
31
|
+
export type SingleSelectProps = {
|
|
32
|
+
/** The function that is used to return the selected options */
|
|
33
|
+
onChange?: (selectedOption?: SelectOption) => void;
|
|
34
|
+
/** If false the user can select one option */
|
|
35
|
+
isMulti?: never;
|
|
36
|
+
/** the value of the select if select is controlled */
|
|
37
|
+
selectedOption?: SelectOption;
|
|
38
|
+
};
|
|
39
|
+
export type SelectProps = {
|
|
40
|
+
/** Options for the select dropdown */
|
|
41
|
+
options: SelectOption[];
|
|
42
|
+
/** if the component is used asynchronously */
|
|
43
|
+
isAsync?: boolean;
|
|
44
|
+
/** the function to fetch new options */
|
|
45
|
+
asyncSearch?: (term: string) => void;
|
|
46
|
+
/** after how many characters to start searching (default = 0) */
|
|
47
|
+
minCharactersToSearch?: number;
|
|
48
|
+
/** if searched text should be highlighted in available options */
|
|
49
|
+
hasHighlightSearch?: boolean;
|
|
50
|
+
/** if the options are searchable */
|
|
51
|
+
isSearchable?: boolean;
|
|
52
|
+
/** data-testid suffix */
|
|
53
|
+
dataTestId?: string;
|
|
54
|
+
/** if component is loading */
|
|
55
|
+
isLoading?: boolean;
|
|
56
|
+
/** if options list is virtualized */
|
|
57
|
+
isVirtualized?: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* If true, then in the case of a searched option that is not found in the Options list of MultiSelect,
|
|
60
|
+
* the user can create this option.
|
|
61
|
+
* */
|
|
62
|
+
isCreatable?: boolean;
|
|
63
|
+
/** Whether the MultiSelect should have a Select All option */
|
|
64
|
+
hasSelectAllOption?: boolean;
|
|
65
|
+
} & (MultiSelectProps | SingleSelectProps) & Omit<TextFieldProps, 'onChange' | 'mask'> & Omit<InputProps, 'onChange' | 'size'> & TestProps;
|
|
66
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { TestProps } from '../../utils/types';
|
|
3
|
+
|
|
4
|
+
export type SliderProps = {
|
|
5
|
+
/** Determines if the Slider is disabled or not */
|
|
6
|
+
isDisabled?: boolean;
|
|
7
|
+
/** Determines if the Slider will show increments along its track */
|
|
8
|
+
hasIncrements?: boolean;
|
|
9
|
+
/** Called when a thumb is moved, provides new values */
|
|
10
|
+
onChange: (values: number[]) => void;
|
|
11
|
+
/** Called when a change is finished (mouse/touch up, or keyup), provides current values.
|
|
12
|
+
* Use this event when you have to make for example ajax request with new values. */
|
|
13
|
+
onBlur?: (values: number[]) => void;
|
|
14
|
+
/** Determines the position of the rendered thumbs and the type of the Slider. 1 value means it's a Selector,
|
|
15
|
+
* while 2 values mean it's a Range. Defaults to [0, 100] */
|
|
16
|
+
values: [number] | [number, number];
|
|
17
|
+
};
|
|
18
|
+
export declare const STEP_WITH_INCREMENTS = 20;
|
|
19
|
+
export declare const MIN = 0;
|
|
20
|
+
export declare const MAX = 100;
|
|
21
|
+
declare const Slider: React.FC<SliderProps & TestProps>;
|
|
22
|
+
export default Slider;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const _default: {
|
|
3
|
+
title: string;
|
|
4
|
+
component: import('react').FC<import('./Slider').SliderProps & import('../..').TestProps>;
|
|
5
|
+
};
|
|
6
|
+
export default _default;
|
|
7
|
+
export declare const RangeSliderDontTest: {
|
|
8
|
+
render: (args: any) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
9
|
+
name: string;
|
|
10
|
+
parameters: {
|
|
11
|
+
controls: {
|
|
12
|
+
include: string[];
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
};
|
|
16
|
+
export declare const RangeSliderWithIncrementsDontTest: {
|
|
17
|
+
render: (args: any) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
18
|
+
name: string;
|
|
19
|
+
parameters: {
|
|
20
|
+
controls: {
|
|
21
|
+
include: string[];
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
export declare const SelectorSliderDontTest: {
|
|
26
|
+
render: (args: any) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
27
|
+
name: string;
|
|
28
|
+
parameters: {
|
|
29
|
+
controls: {
|
|
30
|
+
include: string[];
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
export declare const SelectorSliderWithIncrementsDontTest: {
|
|
35
|
+
render: (args: any) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
36
|
+
name: string;
|
|
37
|
+
parameters: {
|
|
38
|
+
controls: {
|
|
39
|
+
include: string[];
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const Container: 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>, {}>;
|
|
6
|
+
export declare const InputsContainer: import('@emotion/styled').StyledComponent<{
|
|
7
|
+
theme?: import('@emotion/react').Theme;
|
|
8
|
+
as?: import('react').ElementType<any, keyof import("react").JSX.IntrinsicElements>;
|
|
9
|
+
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
10
|
+
export declare const InputContainer: import('@emotion/styled').StyledComponent<{
|
|
11
|
+
theme?: import('@emotion/react').Theme;
|
|
12
|
+
as?: import('react').ElementType<any, keyof import("react").JSX.IntrinsicElements>;
|
|
13
|
+
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { FCC } from 'react';
|
|
2
|
+
import { IMarkProps } from 'react-range/lib/types';
|
|
3
|
+
import { TestProps } from '../../../../utils/types';
|
|
4
|
+
|
|
5
|
+
export type SliderMarkProps = {
|
|
6
|
+
values: number[];
|
|
7
|
+
isDisabled: boolean;
|
|
8
|
+
index: number;
|
|
9
|
+
isSelector: boolean;
|
|
10
|
+
restProps: IMarkProps;
|
|
11
|
+
};
|
|
12
|
+
declare const SliderMark: FCC<SliderMarkProps & TestProps>;
|
|
13
|
+
export default SliderMark;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
|
|
3
|
+
export declare const Mark: import('@emotion/styled').StyledComponent<{
|
|
4
|
+
theme?: import('@emotion/react').Theme;
|
|
5
|
+
as?: import('react').ElementType<any, keyof import("react").JSX.IntrinsicElements>;
|
|
6
|
+
} & {
|
|
7
|
+
background: string;
|
|
8
|
+
isDisabled: boolean;
|
|
9
|
+
labelValue: string;
|
|
10
|
+
restStyleProps: CSSProperties;
|
|
11
|
+
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
12
|
+
export declare const MarkHoverCircle: import('@emotion/styled').StyledComponent<{
|
|
13
|
+
theme?: import('@emotion/react').Theme;
|
|
14
|
+
as?: import('react').ElementType<any, keyof import("react").JSX.IntrinsicElements>;
|
|
15
|
+
} & {
|
|
16
|
+
isDisabled: boolean;
|
|
17
|
+
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FCC } from 'react';
|
|
2
|
+
import { IThumbProps } from 'react-range/lib/types';
|
|
3
|
+
import { TestProps } from '../../../../utils/types';
|
|
4
|
+
|
|
5
|
+
export interface SliderThumbProps {
|
|
6
|
+
isDisabled: boolean;
|
|
7
|
+
value: number;
|
|
8
|
+
initialValue: number | undefined;
|
|
9
|
+
restProps: IThumbProps;
|
|
10
|
+
}
|
|
11
|
+
declare const SliderThumb: FCC<SliderThumbProps & TestProps>;
|
|
12
|
+
export default SliderThumb;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
|
|
3
|
+
export declare const Thumb: import('@emotion/styled').StyledComponent<{
|
|
4
|
+
theme?: import('@emotion/react').Theme;
|
|
5
|
+
as?: import('react').ElementType<any, keyof import("react").JSX.IntrinsicElements>;
|
|
6
|
+
} & {
|
|
7
|
+
isDisabled: boolean;
|
|
8
|
+
isChanged: boolean;
|
|
9
|
+
restStyleProps: CSSProperties;
|
|
10
|
+
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FCC } from 'react';
|
|
2
|
+
import { ITrackProps } from 'react-range/lib/types';
|
|
3
|
+
import { TestProps } from '../../../../utils/types';
|
|
4
|
+
|
|
5
|
+
export type SliderTrackProps = {
|
|
6
|
+
values: number[];
|
|
7
|
+
isDisabled: boolean;
|
|
8
|
+
isSelector: boolean;
|
|
9
|
+
restProps: ITrackProps;
|
|
10
|
+
};
|
|
11
|
+
declare const SliderTrack: FCC<SliderTrackProps & TestProps>;
|
|
12
|
+
export default SliderTrack;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
|
|
3
|
+
export declare const Track: import('@emotion/styled').StyledComponent<{
|
|
4
|
+
theme?: import('@emotion/react').Theme;
|
|
5
|
+
as?: import('react').ElementType<any, keyof import("react").JSX.IntrinsicElements>;
|
|
6
|
+
} & {
|
|
7
|
+
background: string;
|
|
8
|
+
restStyleProps: CSSProperties;
|
|
9
|
+
isDisabled: boolean;
|
|
10
|
+
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ExtendedColumn, Sort, SortingOrder } from './types';
|
|
3
|
+
|
|
4
|
+
export type ContentComponent<T> = (data: Cell<T>) => React.ReactNode;
|
|
5
|
+
export type Cell<T> = {
|
|
6
|
+
/** the content of the cell to be displayed. You can pass also custom component. `ContentComponent: (data: Cell<T>) => React.ReactNode`. The type defines that will be a function that returns cell to use cell data. */
|
|
7
|
+
content: number | string | ContentComponent<T>;
|
|
8
|
+
/** the truncated tooltip content, you can override it or it will take the content @default content */
|
|
9
|
+
tooltipContent?: string;
|
|
10
|
+
/** show or not the truncated tooltip @default true if the text is truncated */
|
|
11
|
+
hasTruncatedTooltip?: boolean;
|
|
12
|
+
/** the colSpan of the cell to be displayed */
|
|
13
|
+
colSpan?: number;
|
|
14
|
+
/** the type of the cell to be displayed @default normal */
|
|
15
|
+
type?: 'financial' | 'normal';
|
|
16
|
+
/** the alignment of the cell to be displayed */
|
|
17
|
+
align?: 'left' | 'right';
|
|
18
|
+
/** the width of the cell to be displayed */
|
|
19
|
+
widthPercentage?: number;
|
|
20
|
+
};
|
|
21
|
+
export type Row<T> = {
|
|
22
|
+
/** the id of the row */
|
|
23
|
+
id: string | number;
|
|
24
|
+
/** the cells of the row, see Cell type for each */
|
|
25
|
+
cells: Cell<T>[];
|
|
26
|
+
/** the expanded content of the row, if its expandable */
|
|
27
|
+
expanded?: ({ row, isSelected, isExpanded, }: {
|
|
28
|
+
row: Row<T>;
|
|
29
|
+
isSelected: boolean;
|
|
30
|
+
isExpanded: boolean;
|
|
31
|
+
}) => React.ReactNode;
|
|
32
|
+
rowSpan?: number;
|
|
33
|
+
};
|
|
34
|
+
export type Selection = string | number;
|
|
35
|
+
export type TableType = 'normal' | 'nested-header';
|
|
36
|
+
export type TableProps<T> = {
|
|
37
|
+
/** The data for the table that needs to display. */
|
|
38
|
+
data: Row<T>[];
|
|
39
|
+
/** An array of titles or objects to define columns. */
|
|
40
|
+
columns: (string | ExtendedColumn)[];
|
|
41
|
+
/** Boolean defining if the header is fixed or not. */
|
|
42
|
+
hasFixedHeader?: boolean;
|
|
43
|
+
/** Boolean defining if the CTA's container is fixed or not. */
|
|
44
|
+
hasFixedCTA?: boolean;
|
|
45
|
+
/** Type of the table which determine the headers display. */
|
|
46
|
+
type?: TableType;
|
|
47
|
+
/** Boolean defining the padding all over the table cells and rows. */
|
|
48
|
+
isPadded?: boolean;
|
|
49
|
+
/** Function that once provided on each check will return the selection. */
|
|
50
|
+
onCheck?: (data: Selection[]) => void;
|
|
51
|
+
/** Function that once provided will provide the currently selected sorting configuration */
|
|
52
|
+
onSort?: (column: string, order: SortingOrder) => void;
|
|
53
|
+
/** Initial sorting column and order. Should be provided along with onSort */
|
|
54
|
+
initialSort?: Sort;
|
|
55
|
+
/** If provided sort will only work with this option (asc or desc only). By default supports bidirectional sort*/
|
|
56
|
+
sortDir?: SortingOrder;
|
|
57
|
+
/** Top left text on the table - showing a counter, text etc. */
|
|
58
|
+
topLeftText?: string | React.ReactElement;
|
|
59
|
+
/** Top right area to define a custom component for buttons or other usage. */
|
|
60
|
+
topRightArea?: (data: Row<T>[], selectionData?: Selection[]) => React.ReactNode;
|
|
61
|
+
/** Action cell width for Table with Expandable Rows (in %)*/
|
|
62
|
+
actionWidth?: number;
|
|
63
|
+
/** If true, table's expandable rows will be expanded on initial render. */
|
|
64
|
+
isInitiallyExpanded?: boolean;
|
|
65
|
+
/** Data test id prefix for all th/td elements */
|
|
66
|
+
dataTestIdPrefix?: string;
|
|
67
|
+
};
|
|
68
|
+
declare function Table<T>({ data, columns, type, hasFixedHeader, hasFixedCTA, onCheck, isPadded, onSort, initialSort, sortDir, topLeftText, topRightArea, actionWidth, isInitiallyExpanded, dataTestIdPrefix, }: TableProps<T>): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
69
|
+
declare const _default: React.MemoExoticComponent<typeof Table>;
|
|
70
|
+
export default _default;
|