@orfium/ictinus 4.55.0 → 4.56.0-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/dist/__mocks__/@tippyjs/react.js +7 -0
- package/dist/__mocks__/@tippyjs/react.js.map +1 -0
- package/dist/codemods/avatarCodemod.js +45 -0
- package/dist/codemods/avatarCodemod.js.map +1 -0
- package/dist/codemods/buttonCodemod.js +52 -0
- package/dist/codemods/buttonCodemod.js.map +1 -0
- package/dist/codemods/checkboxCodemod.js +29 -0
- package/dist/codemods/checkboxCodemod.js.map +1 -0
- package/dist/codemods/chipCodemode.js +37 -0
- package/dist/codemods/chipCodemode.js.map +1 -0
- package/dist/codemods/drawerCodemod.js +61 -0
- package/dist/codemods/drawerCodemod.js.map +1 -0
- package/dist/codemods/filterCodemod.js +27 -0
- package/dist/codemods/filterCodemod.js.map +1 -0
- package/dist/codemods/globalsCodemod.js +130 -0
- package/dist/codemods/globalsCodemod.js.map +1 -0
- package/dist/codemods/iconButtonCodemod.js +53 -0
- package/dist/codemods/iconButtonCodemod.js.map +1 -0
- package/dist/codemods/iconCodemod.js +19 -0
- package/dist/codemods/iconCodemod.js.map +1 -0
- package/dist/codemods/loaderCodemod.js +42 -0
- package/dist/codemods/loaderCodemod.js.map +1 -0
- package/dist/codemods/menuCodemod.js +31 -0
- package/dist/codemods/menuCodemod.js.map +1 -0
- package/dist/codemods/notificationsCodemod.js +17 -0
- package/dist/codemods/notificationsCodemod.js.map +1 -0
- package/dist/codemods/paginationCodemod.js +32 -0
- package/dist/codemods/paginationCodemod.js.map +1 -0
- package/dist/codemods/radioCodemod.js +21 -0
- package/dist/codemods/radioCodemod.js.map +1 -0
- package/dist/codemods/radioGroupCodemod.js +18 -0
- package/dist/codemods/radioGroupCodemod.js.map +1 -0
- package/dist/codemods/searchCodemod.js +31 -0
- package/dist/codemods/searchCodemod.js.map +1 -0
- package/dist/codemods/selectCodemod.js +66 -0
- package/dist/codemods/selectCodemod.js.map +1 -0
- package/dist/codemods/switchCodemod.js +28 -0
- package/dist/codemods/switchCodemod.js.map +1 -0
- package/dist/codemods/tableCodemod.js +23 -0
- package/dist/codemods/tableCodemod.js.map +1 -0
- package/dist/codemods/textareaCodemod.js +44 -0
- package/dist/codemods/textareaCodemod.js.map +1 -0
- package/dist/codemods/textfieldCodemod.js +43 -0
- package/dist/codemods/textfieldCodemod.js.map +1 -0
- package/dist/codemods/tooltipCodemod.js +26 -0
- package/dist/codemods/tooltipCodemod.js.map +1 -0
- package/dist/codemods/unchangedIconsCodemod.js +56 -0
- package/dist/codemods/unchangedIconsCodemod.js.map +1 -0
- package/dist/components/Avatar/Avatar.d.ts +1 -1
- package/dist/components/Avatar/Avatar.js +10 -24
- package/dist/components/Avatar/Avatar.style.js +6 -23
- package/dist/components/Avatar/AvatarStack/AvatarStack.d.ts +1 -1
- package/dist/components/Avatar/AvatarStack/AvatarStack.js +9 -26
- package/dist/components/Avatar/AvatarStack/AvatarStack.style.js +4 -17
- package/dist/components/Avatar/AvatarStack/index.js +0 -3
- package/dist/components/Avatar/AvatarStack/utils.js +3 -6
- package/dist/components/Avatar/index.js +0 -3
- package/dist/components/Avatar/utils.js +2 -8
- package/dist/components/Breadcrumb/Breadcrumb.d.ts +2 -2
- package/dist/components/Breadcrumb/Breadcrumb.js +6 -19
- package/dist/components/Breadcrumb/Breadcrumb.style.js +4 -14
- package/dist/components/Breadcrumb/BreadcrumbItem/BreadcrumbItem.js +3 -11
- package/dist/components/Breadcrumb/BreadcrumbItem/BreadcrumbItem.style.js +2 -8
- package/dist/components/Breadcrumb/Separator/Separator.js +2 -12
- package/dist/components/Breadcrumb/Separator/Separator.style.js +2 -7
- package/dist/components/Breadcrumb/index.js +0 -3
- package/dist/components/Button/Button.d.ts +1 -1
- package/dist/components/Button/Button.js +23 -39
- package/dist/components/Button/Button.style.js +7 -16
- package/dist/components/Button/ButtonLoader/ButtonLoader.js +6 -18
- package/dist/components/Button/ButtonLoader/ButtonLoader.style.js +2 -9
- package/dist/components/Button/ButtonLoader/index.js +0 -3
- package/dist/components/Button/index.js +0 -3
- package/dist/components/Button/utils.js +4 -20
- package/dist/components/ButtonBase/ButtonBase.d.ts +5 -5
- package/dist/components/ButtonBase/ButtonBase.js +32 -43
- package/dist/components/ButtonBase/ButtonBase.style.js +15 -37
- package/dist/components/ButtonBase/config.js +7 -12
- package/dist/components/ButtonBase/index.js +0 -3
- package/dist/components/ButtonBase/utils.js +9 -25
- package/dist/components/Card/Card.d.ts +2 -2
- package/dist/components/Card/Card.js +5 -12
- package/dist/components/Card/Card.style.js +6 -15
- package/dist/components/Card/index.js +0 -3
- package/dist/components/Chart/BarChart/BarChart.js +11 -34
- package/dist/components/Chart/BarChart/components/CustomLabel/CustomLabel.js +9 -17
- package/dist/components/Chart/BarChart/components/CustomLabel/index.js +0 -3
- package/dist/components/Chart/BarChart/components/CustomTooltip/CustomTooltip.js +6 -17
- package/dist/components/Chart/BarChart/components/CustomTooltip/CustomTooltip.style.js +5 -19
- package/dist/components/Chart/BarChart/components/CustomTooltip/index.js +0 -3
- package/dist/components/Chart/BarChart/components/CustomTooltipContent/CustomTooltipContent.d.ts +3 -2
- package/dist/components/Chart/BarChart/components/CustomTooltipContent/CustomTooltipContent.js +6 -14
- package/dist/components/Chart/BarChart/components/CustomTooltipContent/CustomTooltipContent.style.js +6 -19
- package/dist/components/Chart/BarChart/components/CustomTooltipContent/index.js +0 -3
- package/dist/components/Chart/BarChart/index.js +0 -3
- package/dist/components/Chart/BarChart/utils.js +9 -33
- package/dist/components/Chart/DonutChart/DonutChart.js +3 -15
- package/dist/components/Chart/DonutChart/components/CustomLabel/CustomLabel.js +5 -13
- package/dist/components/Chart/DonutChart/components/CustomLabel/CustomLabel.style.js +3 -13
- package/dist/components/Chart/DonutChart/components/CustomLabel/index.js +0 -3
- package/dist/components/Chart/DonutChart/index.js +0 -3
- package/dist/components/Chart/LineChart/LineChart.js +8 -24
- package/dist/components/Chart/LineChart/components/CustomTooltip/CustomTooltip.d.ts +2 -1
- package/dist/components/Chart/LineChart/components/CustomTooltip/CustomTooltip.js +3 -10
- package/dist/components/Chart/LineChart/components/CustomTooltip/CustomTooltip.style.js +6 -19
- package/dist/components/Chart/LineChart/components/CustomTooltip/index.js +0 -3
- package/dist/components/Chart/LineChart/components/GradientLine/GradientLine.js +2 -9
- package/dist/components/Chart/LineChart/components/GradientLine/index.js +0 -3
- package/dist/components/Chart/LineChart/index.js +0 -3
- package/dist/components/Chart/LineChart/mockedData.js +2 -3
- package/dist/components/Chart/LineChart/story.utils.js +2 -8
- package/dist/components/Chart/LineChart/utils.js +6 -14
- package/dist/components/Chart/Wrapper.d.ts +2 -2
- package/dist/components/Chart/Wrapper.js +3 -16
- package/dist/components/CheckBox/CheckBox.d.ts +2 -2
- package/dist/components/CheckBox/CheckBox.js +25 -47
- package/dist/components/CheckBox/CheckBox.style.js +10 -37
- package/dist/components/CheckBox/index.js +0 -3
- package/dist/components/Chip/Chip.d.ts +1 -1
- package/dist/components/Chip/Chip.js +16 -36
- package/dist/components/Chip/Chip.style.js +8 -20
- package/dist/components/Chip/Chip.types.js +4 -7
- package/dist/components/Chip/components/Badge/Badge.js +4 -12
- package/dist/components/Chip/components/Badge/Badge.style.js +4 -10
- package/dist/components/Chip/components/Badge/index.js +0 -3
- package/dist/components/Chip/index.js +0 -3
- package/dist/components/Chip/utils.js +8 -13
- package/dist/components/DatePicker/DatePickInput/DatePickInput.js +25 -45
- package/dist/components/DatePicker/DatePickInput/DatePickInput.style.js +2 -8
- package/dist/components/DatePicker/DatePickInput/index.js +0 -3
- package/dist/components/DatePicker/DatePicker.d.ts +9 -8
- package/dist/components/DatePicker/DatePicker.js +72 -108
- package/dist/components/DatePicker/DatePicker.style.js +2 -7
- package/dist/components/DatePicker/Day/Day.js +18 -35
- package/dist/components/DatePicker/Day/Day.style.js +15 -30
- package/dist/components/DatePicker/Day/index.js +0 -3
- package/dist/components/DatePicker/Month/Month.js +20 -41
- package/dist/components/DatePicker/Month/Month.style.js +5 -19
- package/dist/components/DatePicker/Month/Month.utils.d.ts +1 -0
- package/dist/components/DatePicker/Month/Month.utils.js +28 -32
- package/dist/components/DatePicker/Month/index.js +0 -3
- package/dist/components/DatePicker/OverlayComponent/OverlayComponent.js +29 -43
- package/dist/components/DatePicker/OverlayComponent/OverlayComponent.style.js +8 -34
- package/dist/components/DatePicker/OverlayComponent/components/MonthWrapper/MonthWrapper.js +22 -37
- package/dist/components/DatePicker/OverlayComponent/components/MonthWrapper/MonthWrapper.style.js +8 -31
- package/dist/components/DatePicker/OverlayComponent/index.js +0 -3
- package/dist/components/DatePicker/OverlayComponent/utils.d.ts +4 -0
- package/dist/components/DatePicker/OverlayComponent/utils.js +13 -0
- package/dist/components/DatePicker/index.d.ts +1 -0
- package/dist/components/DatePicker/index.js +10 -5
- package/dist/components/DatePicker/utils.d.ts +3 -4
- package/dist/components/DatePicker/utils.js +10 -18
- package/dist/components/Drawer/Drawer.js +1 -11
- package/dist/components/Drawer/Drawer.style.js +2 -9
- package/dist/components/Drawer/Navigation/MenuItem/MenuItem.js +11 -28
- package/dist/components/Drawer/Navigation/Navigation.js +6 -22
- package/dist/components/Drawer/Navigation/Navigation.style.js +10 -51
- package/dist/components/Drawer/index.js +0 -3
- package/dist/components/ExpandCollapse/ExpandCollapse.js +16 -33
- package/dist/components/ExpandCollapse/ExpandCollapse.style.js +2 -8
- package/dist/components/ExpandCollapse/index.js +0 -3
- package/dist/components/ExpandCollapse/useManageContentRef.js +2 -16
- package/dist/components/ExpandCollapse/utils.js +4 -7
- package/dist/components/Filter/Filter.js +145 -104
- package/dist/components/Filter/Filter.style.d.ts +1 -1
- package/dist/components/Filter/Filter.style.js +31 -70
- package/dist/components/Filter/components/FilterBase/FilterBase.d.ts +1 -1
- package/dist/components/Filter/components/FilterBase/FilterBase.js +26 -42
- package/dist/components/Filter/components/FilterBase/index.js +0 -3
- package/dist/components/Filter/components/MultiFilter/MultiFilter.d.ts +11 -0
- package/dist/components/Filter/components/MultiFilter/MultiFilter.js +54 -0
- package/dist/components/Filter/components/MultiFilter/MultiFilter.style.d.ts +3 -0
- package/dist/components/Filter/components/MultiFilter/MultiFilter.style.js +30 -0
- package/dist/components/Filter/components/MultiFilter/index.d.ts +1 -0
- package/dist/components/Filter/components/MultiFilter/index.js +7 -0
- package/dist/components/Filter/components/Options/Options.js +9 -19
- package/dist/components/Filter/components/Options/Options.style.js +2 -9
- package/dist/components/Filter/components/SingleFilter/SingleFilter.d.ts +12 -0
- package/dist/components/Filter/components/SingleFilter/SingleFilter.js +43 -0
- package/dist/components/Filter/components/{SearchInput → SingleFilter/components/SearchInput}/SearchInput.d.ts +1 -1
- package/dist/components/Filter/components/{SearchInput → SingleFilter/components/SearchInput}/SearchInput.js +9 -23
- package/dist/components/Filter/components/SingleFilter/components/SearchInput/SearchInput.style.js +24 -0
- package/dist/components/Filter/components/SingleFilter/components/SearchInput/index.d.ts +1 -0
- package/dist/components/Filter/components/SingleFilter/components/SearchInput/index.js +7 -0
- package/dist/components/Filter/components/SingleFilter/index.d.ts +1 -0
- package/dist/components/Filter/components/SingleFilter/index.js +7 -0
- package/dist/components/Filter/hooks/useMultiFilterUtils.d.ts +18 -0
- package/dist/components/Filter/hooks/useMultiFilterUtils.js +105 -0
- package/dist/components/Filter/index.js +0 -3
- package/dist/components/Filter/types.d.ts +13 -1
- package/dist/components/Filter/utils.d.ts +3 -1
- package/dist/components/Filter/utils.js +43 -57
- package/dist/components/Icon/Icon.js +9 -18
- package/dist/components/Icon/Icon.style.js +6 -14
- package/dist/components/Icon/assets/iconSelector.js +458 -516
- package/dist/components/Icon/index.js +0 -4
- package/dist/components/Icon/types.d.ts +1 -1
- package/dist/components/IconButton/IconButton.js +11 -26
- package/dist/components/IconButton/IconButton.style.js +2 -6
- package/dist/components/IconButton/index.js +0 -3
- package/dist/components/Label/Label.js +10 -19
- package/dist/components/Label/Label.style.d.ts +1 -1
- package/dist/components/Label/Label.style.js +5 -14
- package/dist/components/Label/index.js +0 -3
- package/dist/components/List/List.js +12 -26
- package/dist/components/List/List.style.d.ts +5 -2
- package/dist/components/List/List.style.js +34 -18
- package/dist/components/List/ListItem/ListItem.js +15 -25
- package/dist/components/List/ListItem/ListItem.style.js +8 -19
- package/dist/components/List/ListItem/index.js +0 -3
- package/dist/components/List/ListItemGroup/ListGroupTitle/ListGroupTitle.js +5 -13
- package/dist/components/List/ListItemGroup/ListGroupTitle/ListGroupTitle.style.js +5 -16
- package/dist/components/List/ListItemGroup/ListGroupTitle/index.js +0 -3
- package/dist/components/List/ListItemGroup/ListItemGroup.js +7 -19
- package/dist/components/List/ListItemGroup/index.js +0 -3
- package/dist/components/List/NormalList/NormalList.js +10 -22
- package/dist/components/List/NormalList/index.js +0 -3
- package/dist/components/List/VirtualizedList/VirtualizedList.js +13 -36
- package/dist/components/List/VirtualizedList/index.js +0 -3
- package/dist/components/List/index.js +0 -3
- package/dist/components/List/utils.d.ts +1 -1
- package/dist/components/List/utils.js +27 -34
- package/dist/components/Loader/Loader.js +4 -12
- package/dist/components/Loader/Loader.style.js +2 -8
- package/dist/components/Loader/Loader.utils.d.ts +2 -2
- package/dist/components/Loader/Loader.utils.js +4 -17
- package/dist/components/Loader/components/DotsLoader/DotsLoader.js +2 -10
- package/dist/components/Loader/components/DotsLoader/DotsLoader.style.js +6 -23
- package/dist/components/Loader/components/DotsLoader/index.js +0 -3
- package/dist/components/Loader/components/IndeterminateLoader/IndeterminateLoader.js +2 -10
- package/dist/components/Loader/components/IndeterminateLoader/IndeterminateLoader.style.js +7 -30
- package/dist/components/Loader/components/IndeterminateLoader/index.js +0 -3
- package/dist/components/Loader/components/Spinner/Spinner.js +2 -10
- package/dist/components/Loader/components/Spinner/Spinner.style.js +2 -10
- package/dist/components/Loader/components/Spinner/index.js +0 -3
- package/dist/components/Loader/index.js +0 -3
- package/dist/components/Menu/Menu.js +56 -76
- package/dist/components/Menu/Menu.style.d.ts +0 -1
- package/dist/components/Menu/Menu.style.js +7 -32
- package/dist/components/Menu/index.js +0 -3
- package/dist/components/Modal/Modal.d.ts +2 -3
- package/dist/components/Modal/Modal.js +12 -28
- package/dist/components/Modal/Modal.style.js +10 -27
- package/dist/components/Modal/ModalContent/ModalContent.js +8 -19
- package/dist/components/Modal/ModalContent/ModalContent.style.js +7 -29
- package/dist/components/Modal/ModalContent/index.js +0 -3
- package/dist/components/Modal/index.js +0 -3
- package/dist/components/MultiTextFieldBase/MultiTextFieldBase.d.ts +43 -0
- package/dist/components/MultiTextFieldBase/MultiTextFieldBase.js +144 -0
- package/dist/components/MultiTextFieldBase/MultiTextFieldBase.style.d.ts +60 -0
- package/dist/components/MultiTextFieldBase/MultiTextFieldBase.style.js +125 -0
- package/dist/components/MultiTextFieldBase/hooks.d.ts +15 -0
- package/dist/components/MultiTextFieldBase/hooks.js +78 -0
- package/dist/components/MultiTextFieldBase/index.d.ts +1 -0
- package/dist/components/MultiTextFieldBase/index.js +7 -0
- package/dist/components/Notification/Banner/Banner.d.ts +6 -6
- package/dist/components/Notification/Banner/Banner.js +18 -22
- package/dist/components/Notification/Banner/index.js +0 -3
- package/dist/components/Notification/InlineNotification/InlineNotification.d.ts +2 -6
- package/dist/components/Notification/InlineNotification/InlineNotification.js +12 -21
- package/dist/components/Notification/InlineNotification/index.js +0 -3
- package/dist/components/Notification/Notification.d.ts +10 -0
- package/dist/components/Notification/Notification.style.js +15 -39
- package/dist/components/Notification/NotificationVisual/NotificationVisual.d.ts +2 -9
- package/dist/components/Notification/NotificationVisual/NotificationVisual.js +23 -43
- package/dist/components/Notification/NotificationVisual/NotificationVisual.style.js +6 -16
- package/dist/components/Notification/NotificationVisual/index.js +0 -3
- package/dist/components/Notification/NotificationsContainer/NotificationsContainer.js +4 -14
- package/dist/components/Notification/NotificationsContainer/NotificationsContainer.style.js +2 -11
- package/dist/components/Notification/NotificationsContainer/index.js +0 -3
- package/dist/components/Notification/Snackbar/Snackbar.d.ts +2 -10
- package/dist/components/Notification/Snackbar/Snackbar.js +26 -52
- package/dist/components/Notification/Snackbar/Snackbar.style.js +10 -31
- package/dist/components/Notification/Snackbar/index.js +0 -3
- package/dist/components/Notification/subcomponents/CompactNotification/CompactNotification.d.ts +8 -12
- package/dist/components/Notification/subcomponents/CompactNotification/CompactNotification.js +26 -38
- package/dist/components/Notification/subcomponents/CompactNotification/CompactNotification.style.d.ts +1 -1
- package/dist/components/Notification/subcomponents/CompactNotification/CompactNotification.style.js +19 -53
- package/dist/components/Notification/subcomponents/CompactNotification/index.js +0 -3
- package/dist/components/Notification/subcomponents/NotificationActionsArea/NotificationActionsArea.d.ts +6 -0
- package/dist/components/Notification/subcomponents/NotificationActionsArea/NotificationActionsArea.js +38 -0
- package/dist/components/Notification/subcomponents/NotificationActionsArea/index.d.ts +1 -0
- package/dist/components/Notification/subcomponents/NotificationActionsArea/index.js +7 -0
- package/dist/components/Overlay/Overlay.d.ts +1 -1
- package/dist/components/Overlay/Overlay.js +8 -20
- package/dist/components/Overlay/Overlay.style.js +8 -42
- package/dist/components/Overlay/index.js +0 -3
- package/dist/components/Pagination/Pagination.js +20 -31
- package/dist/components/Pagination/index.js +0 -3
- package/dist/components/Radio/Radio.js +20 -40
- package/dist/components/Radio/Radio.style.js +16 -47
- package/dist/components/Radio/index.js +0 -3
- package/dist/components/RadioGroup/RadioGroup.js +8 -24
- package/dist/components/RadioGroup/RadioGroupContext.js +1 -6
- package/dist/components/RadioGroup/index.js +0 -3
- package/dist/components/RadioGroup/useRadioGroup.js +0 -6
- package/dist/components/SearchField/SearchField.d.ts +7 -0
- package/dist/components/SearchField/SearchField.js +28 -40
- package/dist/components/SearchField/SearchFieldShowcase.d.ts +7 -0
- package/dist/components/SearchField/SearchFieldShowcase.js +5 -17
- package/dist/components/SearchField/index.js +0 -3
- package/dist/components/Select/Select.d.ts +41 -8
- package/dist/components/Select/Select.js +190 -140
- package/dist/components/Select/Select.style.js +4 -15
- package/dist/components/Select/components/SelectMenu/SelectMenu.d.ts +1 -0
- package/dist/components/Select/components/SelectMenu/SelectMenu.js +12 -28
- package/dist/components/Select/components/SelectMenu/SelectMenu.style.d.ts +7 -0
- package/dist/components/Select/components/SelectMenu/SelectMenu.style.js +10 -24
- package/dist/components/Select/components/SelectMenu/index.js +0 -3
- package/dist/components/Select/constants.d.ts +4 -0
- package/dist/components/Select/constants.js +8 -0
- package/dist/components/Select/hooks/useMultiselectUtils.d.ts +20 -0
- package/dist/components/Select/hooks/useMultiselectUtils.js +119 -0
- package/dist/components/Select/index.js +0 -3
- package/dist/components/Slider/Slider.js +16 -50
- package/dist/components/Slider/Slider.style.js +5 -13
- package/dist/components/Slider/components/SliderMark/SliderMark.js +12 -24
- package/dist/components/Slider/components/SliderMark/SliderMark.style.js +4 -10
- package/dist/components/Slider/components/SliderMark/index.js +0 -3
- package/dist/components/Slider/components/SliderThumb/SliderThumb.js +9 -17
- package/dist/components/Slider/components/SliderThumb/SliderThumb.style.js +5 -12
- package/dist/components/Slider/components/SliderThumb/index.js +0 -3
- package/dist/components/Slider/components/SliderTrack/SliderTrack.d.ts +2 -3
- package/dist/components/Slider/components/SliderTrack/SliderTrack.js +12 -24
- package/dist/components/Slider/components/SliderTrack/SliderTrack.style.js +2 -7
- package/dist/components/Slider/components/SliderTrack/index.js +0 -3
- package/dist/components/Slider/index.js +0 -3
- package/dist/components/Switch/Switch.js +9 -22
- package/dist/components/Switch/Switch.style.js +10 -18
- package/dist/components/Switch/index.js +0 -3
- package/dist/components/Table/Table.d.ts +18 -4
- package/dist/components/Table/Table.js +44 -85
- package/dist/components/Table/Table.style.js +5 -21
- package/dist/components/Table/TableRowContext.d.ts +2 -1
- package/dist/components/Table/TableRowContext.js +2 -7
- package/dist/components/Table/components/ExtendedColumnItem/ExtendedColumnItem.js +25 -33
- package/dist/components/Table/components/ExtendedColumnItem/ExtendedColumnItem.style.js +3 -14
- package/dist/components/Table/components/ExtendedColumnItem/index.js +0 -3
- package/dist/components/Table/components/RenderRowOrNestedRow/RenderRowOrNestedRow.js +35 -65
- package/dist/components/Table/components/RenderRowOrNestedRow/RenderRowOrNestedRow.style.js +7 -18
- package/dist/components/Table/components/RenderRowOrNestedRow/components/ContentCell/ContentCell.d.ts +3 -2
- package/dist/components/Table/components/RenderRowOrNestedRow/components/ContentCell/ContentCell.js +31 -31
- package/dist/components/Table/components/RenderRowOrNestedRow/components/ContentCell/ContentCell.style.js +2 -7
- package/dist/components/Table/components/RenderRowOrNestedRow/components/ContentCell/index.js +0 -3
- package/dist/components/Table/components/RenderRowOrNestedRow/components/ExpandedButtonCell/ExpandedButtonCell.js +7 -18
- package/dist/components/Table/components/RenderRowOrNestedRow/components/ExpandedButtonCell/index.js +0 -3
- package/dist/components/Table/components/RenderRowOrNestedRow/index.js +0 -3
- package/dist/components/Table/components/TableCell/TableCell.d.ts +2 -2
- package/dist/components/Table/components/TableCell/TableCell.js +25 -38
- package/dist/components/Table/components/TableCell/TableCell.style.js +2 -11
- package/dist/components/Table/components/TableCell/index.js +0 -3
- package/dist/components/Table/components/TableCell/utils.js +2 -6
- package/dist/components/Table/components/TableRow/TableRow.d.ts +2 -2
- package/dist/components/Table/components/TableRow/TableRow.js +7 -20
- package/dist/components/Table/components/TableRow/index.js +0 -3
- package/dist/components/Table/components/TableRowWrapper/TableRowWrapper.d.ts +2 -1
- package/dist/components/Table/components/TableRowWrapper/TableRowWrapper.js +15 -26
- package/dist/components/Table/components/TableRowWrapper/index.js +0 -3
- package/dist/components/Table/index.js +0 -3
- package/dist/components/Table/utils/TableStoryComponents.d.ts +6 -0
- package/dist/components/Table/utils/TableStoryComponents.js +13 -0
- package/dist/components/Table/utils/index.js +0 -2
- package/dist/components/Table/utils/utils.d.ts +1 -0
- package/dist/components/Table/utils/utils.js +7 -10
- package/dist/components/TextArea/TextArea.d.ts +29 -2
- package/dist/components/TextArea/TextArea.js +12 -30
- package/dist/components/TextArea/TextArea.style.js +3 -11
- package/dist/components/TextArea/index.js +0 -3
- package/dist/components/TextField/TextField.d.ts +30 -1
- package/dist/components/TextField/TextField.js +88 -56
- package/dist/components/TextField/TextField.style.js +3 -9
- package/dist/components/TextField/components/commons.d.ts +3 -2
- package/dist/components/TextField/components/commons.js +4 -11
- package/dist/components/TextField/hooks/useMultiTextFieldUtils.d.ts +11 -0
- package/dist/components/TextField/hooks/useMultiTextFieldUtils.js +93 -0
- package/dist/components/TextField/index.js +0 -3
- package/dist/components/TextInputBase/TextInputBase.d.ts +8 -6
- package/dist/components/TextInputBase/TextInputBase.js +27 -33
- package/dist/components/TextInputBase/TextInputBase.style.d.ts +3 -3
- package/dist/components/TextInputBase/TextInputBase.style.js +37 -56
- package/dist/components/TextInputBase/config.d.ts +2 -1
- package/dist/components/TextInputBase/config.js +11 -18
- package/dist/components/TextInputBase/index.js +0 -4
- package/dist/components/ThemeProvider/ThemeProvider.d.ts +3 -5
- package/dist/components/ThemeProvider/ThemeProvider.js +9 -39
- package/dist/components/ThemeProvider/ThemeProvider.style.d.ts +4 -0
- package/dist/components/ThemeProvider/ThemeProvider.style.js +20 -0
- package/dist/components/ThemeProvider/index.js +0 -3
- package/dist/components/Toast/Toast.d.ts +4 -3
- package/dist/components/Toast/Toast.js +22 -38
- package/dist/components/Toast/Toast.style.d.ts +1 -1
- package/dist/components/Toast/Toast.style.js +16 -50
- package/dist/components/Toast/index.js +0 -3
- package/dist/components/Tooltip/Tooltip.d.ts +1 -1
- package/dist/components/Tooltip/Tooltip.js +12 -20
- package/dist/components/Tooltip/Tooltip.style.js +4 -14
- package/dist/components/Tooltip/index.js +0 -3
- package/dist/components/TopAppBar/TopAppBar.js +15 -26
- package/dist/components/TopAppBar/TopAppBar.style.js +2 -16
- package/dist/components/TopAppBar/TopAppBar.types.d.ts +2 -2
- package/dist/components/TopAppBar/components/Logo/Logo.style.js +4 -13
- package/dist/components/TopAppBar/components/Logo/Logo.wrapper.d.ts +2 -2
- package/dist/components/TopAppBar/components/Logo/Logo.wrapper.js +1 -9
- package/dist/components/TopAppBar/components/Logo/index.js +0 -3
- package/dist/components/TopAppBar/components/Search/Search.js +10 -20
- package/dist/components/TopAppBar/components/Search/Search.style.js +4 -18
- package/dist/components/TopAppBar/components/Search/index.js +0 -3
- package/dist/components/TopAppBar/components/SidebarMenuIcon/SidebarMenuIcon.js +1 -9
- package/dist/components/TopAppBar/components/SidebarMenuIcon/SidebarMenuIcon.style.js +2 -7
- package/dist/components/TopAppBar/components/SidebarMenuIcon/index.js +0 -3
- package/dist/components/TopAppBar/components/UserMenu/UserMenu.js +6 -14
- package/dist/components/TopAppBar/components/UserMenu/UserMenu.style.js +2 -7
- package/dist/components/TopAppBar/components/UserMenu/index.js +0 -3
- package/dist/components/TopAppBar/components/index.js +0 -7
- package/dist/components/TopAppBar/index.js +0 -3
- package/dist/components/TruncatedContent/TruncatedContent.d.ts +2 -2
- package/dist/components/TruncatedContent/TruncatedContent.js +8 -22
- package/dist/components/TruncatedContent/TruncatedContent.style.js +2 -7
- package/dist/components/TruncatedContent/index.js +0 -3
- package/dist/components/storyUtils/Stack/Stack.d.ts +2 -2
- package/dist/components/utils/ClickAwayListener/ClickAwayListener.d.ts +2 -2
- package/dist/components/utils/ClickAwayListener/ClickAwayListener.js +20 -29
- package/dist/components/utils/ClickAwayListener/index.js +0 -3
- package/dist/components/utils/DropdownOptions/index.js +3 -9
- package/dist/components/utils/PositionInScreen/PositionInScreen.d.ts +16 -2
- package/dist/components/utils/PositionInScreen/PositionInScreen.js +37 -86
- package/dist/components/utils/PositionInScreen/PositionInScreen.style.d.ts +9 -3
- package/dist/components/utils/PositionInScreen/PositionInScreen.style.js +25 -16
- package/dist/components/utils/PositionInScreen/hooks.d.ts +5 -0
- package/dist/components/utils/PositionInScreen/hooks.js +119 -0
- package/dist/components/utils/PositionInScreen/index.js +0 -3
- package/dist/components/utils/PositionInScreen/utils.d.ts +1 -0
- package/dist/components/utils/PositionInScreen/utils.js +21 -0
- package/dist/components/utils/handleSearch.js +9 -17
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.js +7 -0
- package/dist/hooks/storyUtils/DemoUseSearchQueryParams.d.ts +3 -0
- package/dist/hooks/useBreakpoints.d.ts +2 -2
- package/dist/hooks/useBreakpoints.js +31 -32
- package/dist/hooks/useCheck.d.ts +1 -1
- package/dist/hooks/useCheck.js +6 -12
- package/dist/hooks/useCombinedRefs.js +1 -9
- package/dist/hooks/useEscape.js +1 -6
- package/dist/hooks/useLoading.js +4 -10
- package/dist/hooks/useLocationToGetCurrentMenuItem.js +5 -12
- package/dist/hooks/usePagination.js +7 -19
- package/dist/hooks/useSearchQueryParams.d.ts +2 -0
- package/dist/hooks/useSearchQueryParams.js +19 -0
- package/dist/hooks/useTheme.js +1 -5
- package/dist/hooks/useThemeSwitch.d.ts +2 -2
- package/dist/hooks/useThemeSwitch.js +7 -20
- package/dist/hooks/useToggle.js +3 -11
- package/dist/hooks/useTypeColorToColorMatch.d.ts +4 -4
- package/dist/hooks/useTypeColorToColorMatch.js +9 -26
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -108
- package/dist/src/components/Avatar/Avatar.js +22 -0
- package/dist/src/components/Avatar/Avatar.js.map +1 -0
- package/dist/src/components/Avatar/Avatar.stories.js +59 -0
- package/dist/src/components/Avatar/Avatar.stories.js.map +1 -0
- package/dist/src/components/Avatar/Avatar.style.js +45 -0
- package/dist/src/components/Avatar/Avatar.style.js.map +1 -0
- package/dist/src/components/Avatar/Avatar.tokens.js +11 -0
- package/dist/src/components/Avatar/Avatar.tokens.js.map +1 -0
- package/dist/src/components/Avatar/Avatar.types.js +2 -0
- package/dist/src/components/Avatar/Avatar.types.js.map +1 -0
- package/dist/src/components/Avatar/AvatarStack/AvatarStack.js +18 -0
- package/dist/src/components/Avatar/AvatarStack/AvatarStack.js.map +1 -0
- package/dist/src/components/Avatar/AvatarStack/AvatarStack.style.js +15 -0
- package/dist/src/components/Avatar/AvatarStack/AvatarStack.style.js.map +1 -0
- package/dist/src/components/Avatar/AvatarStack/AvatarStack.types.js +2 -0
- package/dist/src/components/Avatar/AvatarStack/AvatarStack.types.js.map +1 -0
- package/dist/src/components/Avatar/AvatarStack/index.js +3 -0
- package/dist/src/components/Avatar/AvatarStack/index.js.map +1 -0
- package/dist/src/components/Avatar/AvatarStack/utils.js +8 -0
- package/dist/src/components/Avatar/AvatarStack/utils.js.map +1 -0
- package/dist/src/components/Avatar/AvatarStack.stories.js +26 -0
- package/dist/src/components/Avatar/AvatarStack.stories.js.map +1 -0
- package/dist/src/components/Avatar/constants.js +28 -0
- package/dist/src/components/Avatar/constants.js.map +1 -0
- package/dist/src/components/Avatar/index.js +4 -0
- package/dist/src/components/Avatar/index.js.map +1 -0
- package/dist/src/components/Box/Box.js +41 -0
- package/dist/src/components/Box/Box.js.map +1 -0
- package/dist/src/components/Box/Box.stories.js +26 -0
- package/dist/src/components/Box/Box.stories.js.map +1 -0
- package/dist/src/components/Box/Box.style.js +3 -0
- package/dist/src/components/Box/Box.style.js.map +1 -0
- package/dist/src/components/Box/Box.test.js +70 -0
- package/dist/src/components/Box/Box.test.js.map +1 -0
- package/dist/src/components/Box/Box.types.js +2 -0
- package/dist/src/components/Box/Box.types.js.map +1 -0
- package/dist/src/components/Box/Box.utilities.js +139 -0
- package/dist/src/components/Box/Box.utilities.js.map +1 -0
- package/dist/src/components/Box/index.js +4 -0
- package/dist/src/components/Box/index.js.map +1 -0
- package/dist/src/components/Breadcrumb/BackToItem/BackToItem.js +9 -0
- package/dist/src/components/Breadcrumb/BackToItem/BackToItem.js.map +1 -0
- package/dist/src/components/Breadcrumb/BackToItem/BackToItem.style.js +10 -0
- package/dist/src/components/Breadcrumb/BackToItem/BackToItem.style.js.map +1 -0
- package/dist/src/components/Breadcrumb/BackToItem/index.js +2 -0
- package/dist/src/components/Breadcrumb/BackToItem/index.js.map +1 -0
- package/dist/src/components/Breadcrumb/Breadcrumb.js +36 -0
- package/dist/src/components/Breadcrumb/Breadcrumb.js.map +1 -0
- package/dist/src/components/Breadcrumb/Breadcrumb.stories.js +52 -0
- package/dist/src/components/Breadcrumb/Breadcrumb.stories.js.map +1 -0
- package/dist/src/components/Breadcrumb/Breadcrumb.style.js +13 -0
- package/dist/src/components/Breadcrumb/Breadcrumb.style.js.map +1 -0
- package/dist/src/components/Breadcrumb/Breadcrumb.types.js +2 -0
- package/dist/src/components/Breadcrumb/Breadcrumb.types.js.map +1 -0
- package/dist/src/components/Breadcrumb/BreadcrumbItem/BreadcrumbItem.js +10 -0
- package/dist/src/components/Breadcrumb/BreadcrumbItem/BreadcrumbItem.js.map +1 -0
- package/dist/src/components/Breadcrumb/BreadcrumbItem/BreadcrumbItem.style.js +21 -0
- package/dist/src/components/Breadcrumb/BreadcrumbItem/BreadcrumbItem.style.js.map +1 -0
- package/dist/src/components/Breadcrumb/BreadcrumbItem/index.js +2 -0
- package/dist/src/components/Breadcrumb/BreadcrumbItem/index.js.map +1 -0
- package/dist/src/components/Breadcrumb/index.js +3 -0
- package/dist/src/components/Breadcrumb/index.js.map +1 -0
- package/dist/src/components/Broadcast/Broadcast.js +31 -0
- package/dist/src/components/Broadcast/Broadcast.js.map +1 -0
- package/dist/src/components/Broadcast/Broadcast.stories.js +55 -0
- package/dist/src/components/Broadcast/Broadcast.stories.js.map +1 -0
- package/dist/src/components/Broadcast/Broadcast.style.js +122 -0
- package/dist/src/components/Broadcast/Broadcast.style.js.map +1 -0
- package/dist/src/components/Broadcast/Broadcast.types.js +2 -0
- package/dist/src/components/Broadcast/Broadcast.types.js.map +1 -0
- package/dist/src/components/Broadcast/index.js +2 -0
- package/dist/src/components/Broadcast/index.js.map +1 -0
- package/dist/src/components/Broadcast/tests/Broadcast.test.js +45 -0
- package/dist/src/components/Broadcast/tests/Broadcast.test.js.map +1 -0
- package/dist/src/components/Button/Button.js +17 -0
- package/dist/src/components/Button/Button.js.map +1 -0
- package/dist/src/components/Button/Button.stories.js +121 -0
- package/dist/src/components/Button/Button.stories.js.map +1 -0
- package/dist/src/components/Button/Button.style.js +9 -0
- package/dist/src/components/Button/Button.style.js.map +1 -0
- package/dist/src/components/Button/Button.tokens.js +6 -0
- package/dist/src/components/Button/Button.tokens.js.map +1 -0
- package/dist/src/components/Button/Button.types.js +2 -0
- package/dist/src/components/Button/Button.types.js.map +1 -0
- package/dist/src/components/Button/ButtonLoader/ButtonLoader.js +8 -0
- package/dist/src/components/Button/ButtonLoader/ButtonLoader.js.map +1 -0
- package/dist/src/components/Button/ButtonLoader/ButtonLoader.style.js +44 -0
- package/dist/src/components/Button/ButtonLoader/ButtonLoader.style.js.map +1 -0
- package/dist/src/components/Button/ButtonLoader/index.js +3 -0
- package/dist/src/components/Button/ButtonLoader/index.js.map +1 -0
- package/dist/src/components/Button/index.js +3 -0
- package/dist/src/components/Button/index.js.map +1 -0
- package/dist/src/components/ButtonBase/ButtonBase.js +30 -0
- package/dist/src/components/ButtonBase/ButtonBase.js.map +1 -0
- package/dist/src/components/ButtonBase/ButtonBase.style.js +65 -0
- package/dist/src/components/ButtonBase/ButtonBase.style.js.map +1 -0
- package/dist/src/components/ButtonBase/constants.js +31 -0
- package/dist/src/components/ButtonBase/constants.js.map +1 -0
- package/dist/src/components/ButtonBase/index.js +3 -0
- package/dist/src/components/ButtonBase/index.js.map +1 -0
- package/dist/src/components/Card/Card.js +7 -0
- package/dist/src/components/Card/Card.js.map +1 -0
- package/dist/src/components/Card/Card.stories.js +33 -0
- package/dist/src/components/Card/Card.stories.js.map +1 -0
- package/dist/src/components/Card/Card.style.js +12 -0
- package/dist/src/components/Card/Card.style.js.map +1 -0
- package/dist/src/components/Card/index.js +3 -0
- package/dist/src/components/Card/index.js.map +1 -0
- package/dist/src/components/Chart/BarChart/BarChart.js +41 -0
- package/dist/src/components/Chart/BarChart/BarChart.js.map +1 -0
- package/dist/src/components/Chart/BarChart/components/CustomLabel/CustomLabel.js +13 -0
- package/dist/src/components/Chart/BarChart/components/CustomLabel/CustomLabel.js.map +1 -0
- package/dist/src/components/Chart/BarChart/components/CustomLabel/index.js +2 -0
- package/dist/src/components/Chart/BarChart/components/CustomLabel/index.js.map +1 -0
- package/dist/src/components/Chart/BarChart/components/CustomTooltip/CustomTooltip.js +20 -0
- package/dist/src/components/Chart/BarChart/components/CustomTooltip/CustomTooltip.js.map +1 -0
- package/dist/src/components/Chart/BarChart/components/CustomTooltip/CustomTooltip.style.js +34 -0
- package/dist/src/components/Chart/BarChart/components/CustomTooltip/CustomTooltip.style.js.map +1 -0
- package/dist/src/components/Chart/BarChart/components/CustomTooltip/index.js +2 -0
- package/dist/src/components/Chart/BarChart/components/CustomTooltip/index.js.map +1 -0
- package/dist/src/components/Chart/BarChart/components/CustomTooltipContent/CustomTooltipContent.js +8 -0
- package/dist/src/components/Chart/BarChart/components/CustomTooltipContent/CustomTooltipContent.js.map +1 -0
- package/dist/src/components/Chart/BarChart/components/CustomTooltipContent/CustomTooltipContent.style.js +42 -0
- package/dist/src/components/Chart/BarChart/components/CustomTooltipContent/CustomTooltipContent.style.js.map +1 -0
- package/dist/src/components/Chart/BarChart/components/CustomTooltipContent/index.js +2 -0
- package/dist/src/components/Chart/BarChart/components/CustomTooltipContent/index.js.map +1 -0
- package/dist/src/components/Chart/BarChart/index.js +2 -0
- package/dist/src/components/Chart/BarChart/index.js.map +1 -0
- package/dist/src/components/Chart/BarChart/utils.js +57 -0
- package/dist/src/components/Chart/BarChart/utils.js.map +1 -0
- package/dist/src/components/Chart/Chart.stories.js +51 -0
- package/dist/src/components/Chart/Chart.stories.js.map +1 -0
- package/dist/src/components/Chart/DonutChart/DonutChart.js +14 -0
- package/dist/src/components/Chart/DonutChart/DonutChart.js.map +1 -0
- package/dist/src/components/Chart/DonutChart/components/CustomLabel/CustomLabel.js +10 -0
- package/dist/src/components/Chart/DonutChart/components/CustomLabel/CustomLabel.js.map +1 -0
- package/dist/src/components/Chart/DonutChart/components/CustomLabel/CustomLabel.style.js +13 -0
- package/dist/src/components/Chart/DonutChart/components/CustomLabel/CustomLabel.style.js.map +1 -0
- package/dist/src/components/Chart/DonutChart/components/CustomLabel/index.js +2 -0
- package/dist/src/components/Chart/DonutChart/components/CustomLabel/index.js.map +1 -0
- package/dist/src/components/Chart/DonutChart/index.js +2 -0
- package/dist/src/components/Chart/DonutChart/index.js.map +1 -0
- package/dist/src/components/Chart/LineChart/LineChart.js +22 -0
- package/dist/src/components/Chart/LineChart/LineChart.js.map +1 -0
- package/dist/src/components/Chart/LineChart/LineChart.test.js +29 -0
- package/dist/src/components/Chart/LineChart/LineChart.test.js.map +1 -0
- package/dist/src/components/Chart/LineChart/components/CustomTooltip/CustomTooltip.js +7 -0
- package/dist/src/components/Chart/LineChart/components/CustomTooltip/CustomTooltip.js.map +1 -0
- package/dist/src/components/Chart/LineChart/components/CustomTooltip/CustomTooltip.style.js +37 -0
- package/dist/src/components/Chart/LineChart/components/CustomTooltip/CustomTooltip.style.js.map +1 -0
- package/dist/src/components/Chart/LineChart/components/CustomTooltip/index.js +2 -0
- package/dist/src/components/Chart/LineChart/components/CustomTooltip/index.js.map +1 -0
- package/dist/src/components/Chart/LineChart/components/GradientLine/GradientLine.js +7 -0
- package/dist/src/components/Chart/LineChart/components/GradientLine/GradientLine.js.map +1 -0
- package/dist/src/components/Chart/LineChart/components/GradientLine/index.js +2 -0
- package/dist/src/components/Chart/LineChart/components/GradientLine/index.js.map +1 -0
- package/dist/src/components/Chart/LineChart/index.js +2 -0
- package/dist/src/components/Chart/LineChart/index.js.map +1 -0
- package/dist/src/components/Chart/LineChart/mockedData.js +44 -0
- package/dist/src/components/Chart/LineChart/mockedData.js.map +1 -0
- package/dist/src/components/Chart/LineChart/story.utils.js +13 -0
- package/dist/src/components/Chart/LineChart/story.utils.js.map +1 -0
- package/dist/src/components/Chart/LineChart/utils.js +13 -0
- package/dist/src/components/Chart/LineChart/utils.js.map +1 -0
- package/dist/src/components/Chart/Wrapper.js +13 -0
- package/dist/src/components/Chart/Wrapper.js.map +1 -0
- package/dist/src/components/Controls/CheckBox/CheckBox.js +16 -0
- package/dist/src/components/Controls/CheckBox/CheckBox.js.map +1 -0
- package/dist/src/components/Controls/CheckBox/CheckBox.stories.js +119 -0
- package/dist/src/components/Controls/CheckBox/CheckBox.stories.js.map +1 -0
- package/dist/src/components/Controls/CheckBox/CheckBox.style.js +77 -0
- package/dist/src/components/Controls/CheckBox/CheckBox.style.js.map +1 -0
- package/dist/src/components/Controls/CheckBox/CheckBox.test.js +53 -0
- package/dist/src/components/Controls/CheckBox/CheckBox.test.js.map +1 -0
- package/dist/src/components/Controls/CheckBox/index.js +3 -0
- package/dist/src/components/Controls/CheckBox/index.js.map +1 -0
- package/dist/src/components/Controls/ControlLabel/ControlLabel.js +7 -0
- package/dist/src/components/Controls/ControlLabel/ControlLabel.js.map +1 -0
- package/dist/src/components/Controls/ControlLabel/ControlLabel.style.js +26 -0
- package/dist/src/components/Controls/ControlLabel/ControlLabel.style.js.map +1 -0
- package/dist/src/components/Controls/ControlLabel/index.js +2 -0
- package/dist/src/components/Controls/ControlLabel/index.js.map +1 -0
- package/dist/src/components/Controls/Controls.tokens.js +6 -0
- package/dist/src/components/Controls/Controls.tokens.js.map +1 -0
- package/dist/src/components/Controls/Controls.types.js +2 -0
- package/dist/src/components/Controls/Controls.types.js.map +1 -0
- package/dist/src/components/Controls/Radio/Radio.js +21 -0
- package/dist/src/components/Controls/Radio/Radio.js.map +1 -0
- package/dist/src/components/Controls/Radio/Radio.stories.js +109 -0
- package/dist/src/components/Controls/Radio/Radio.stories.js.map +1 -0
- package/dist/src/components/Controls/Radio/Radio.style.js +84 -0
- package/dist/src/components/Controls/Radio/Radio.style.js.map +1 -0
- package/dist/src/components/Controls/Radio/Radio.test.js +34 -0
- package/dist/src/components/Controls/Radio/Radio.test.js.map +1 -0
- package/dist/src/components/Controls/Radio/components/RadioGroup/RadioGroup.js +14 -0
- package/dist/src/components/Controls/Radio/components/RadioGroup/RadioGroup.js.map +1 -0
- package/dist/src/components/Controls/Radio/components/RadioGroup/RadioGroupContext.js +4 -0
- package/dist/src/components/Controls/Radio/components/RadioGroup/RadioGroupContext.js.map +1 -0
- package/dist/src/components/Controls/Radio/components/RadioGroup/index.js +3 -0
- package/dist/src/components/Controls/Radio/components/RadioGroup/index.js.map +1 -0
- package/dist/src/components/Controls/Radio/index.js +3 -0
- package/dist/src/components/Controls/Radio/index.js.map +1 -0
- package/dist/src/components/Controls/Switch/Switch.js +13 -0
- package/dist/src/components/Controls/Switch/Switch.js.map +1 -0
- package/dist/src/components/Controls/Switch/Switch.stories.js +90 -0
- package/dist/src/components/Controls/Switch/Switch.stories.js.map +1 -0
- package/dist/src/components/Controls/Switch/Switch.style.js +70 -0
- package/dist/src/components/Controls/Switch/Switch.style.js.map +1 -0
- package/dist/src/components/Controls/Switch/Switch.test.js +37 -0
- package/dist/src/components/Controls/Switch/Switch.test.js.map +1 -0
- package/dist/src/components/Controls/Switch/index.js +3 -0
- package/dist/src/components/Controls/Switch/index.js.map +1 -0
- package/dist/src/components/Controls/index.js +5 -0
- package/dist/src/components/Controls/index.js.map +1 -0
- package/dist/src/components/DatePicker/DatePickInput/DatePickInput.js +59 -0
- package/dist/src/components/DatePicker/DatePickInput/DatePickInput.js.map +1 -0
- package/dist/src/components/DatePicker/DatePickInput/DatePickInput.style.js +21 -0
- package/dist/src/components/DatePicker/DatePickInput/DatePickInput.style.js.map +1 -0
- package/dist/src/components/DatePicker/DatePickInput/index.js +3 -0
- package/dist/src/components/DatePicker/DatePickInput/index.js.map +1 -0
- package/dist/src/components/DatePicker/DatePicker.js +118 -0
- package/dist/src/components/DatePicker/DatePicker.js.map +1 -0
- package/dist/src/components/DatePicker/DatePicker.stories.js +231 -0
- package/dist/src/components/DatePicker/DatePicker.stories.js.map +1 -0
- package/dist/src/components/DatePicker/DatePicker.style.js +13 -0
- package/dist/src/components/DatePicker/DatePicker.style.js.map +1 -0
- package/dist/src/components/DatePicker/DatePicker.test.js +213 -0
- package/dist/src/components/DatePicker/DatePicker.test.js.map +1 -0
- package/dist/src/components/DatePicker/DatePicker.tokens.js +6 -0
- package/dist/src/components/DatePicker/DatePicker.tokens.js.map +1 -0
- package/dist/src/components/DatePicker/DatePicker.types.js +2 -0
- package/dist/src/components/DatePicker/DatePicker.types.js.map +1 -0
- package/dist/src/components/DatePicker/Day/Day.js +49 -0
- package/dist/src/components/DatePicker/Day/Day.js.map +1 -0
- package/dist/src/components/DatePicker/Day/Day.style.js +90 -0
- package/dist/src/components/DatePicker/Day/Day.style.js.map +1 -0
- package/dist/src/components/DatePicker/Day/Day.test.js +39 -0
- package/dist/src/components/DatePicker/Day/Day.test.js.map +1 -0
- package/dist/src/components/DatePicker/Day/index.js +3 -0
- package/dist/src/components/DatePicker/Day/index.js.map +1 -0
- package/dist/src/components/DatePicker/Month/Month.js +55 -0
- package/dist/src/components/DatePicker/Month/Month.js.map +1 -0
- package/dist/src/components/DatePicker/Month/Month.style.js +28 -0
- package/dist/src/components/DatePicker/Month/Month.style.js.map +1 -0
- package/dist/src/components/DatePicker/Month/Month.test.js +63 -0
- package/dist/src/components/DatePicker/Month/Month.test.js.map +1 -0
- package/dist/src/components/DatePicker/Month/Month.utils.js +63 -0
- package/dist/src/components/DatePicker/Month/Month.utils.js.map +1 -0
- package/dist/src/components/DatePicker/Month/hooks/useMonthKeyboardNavigation.js +67 -0
- package/dist/src/components/DatePicker/Month/hooks/useMonthKeyboardNavigation.js.map +1 -0
- package/dist/src/components/DatePicker/Month/index.js +3 -0
- package/dist/src/components/DatePicker/Month/index.js.map +1 -0
- package/dist/src/components/DatePicker/OverlayComponent/OverlayComponent.js +19 -0
- package/dist/src/components/DatePicker/OverlayComponent/OverlayComponent.js.map +1 -0
- package/dist/src/components/DatePicker/OverlayComponent/OverlayComponent.style.js +67 -0
- package/dist/src/components/DatePicker/OverlayComponent/OverlayComponent.style.js.map +1 -0
- package/dist/src/components/DatePicker/OverlayComponent/OverlayComponent.test.js +63 -0
- package/dist/src/components/DatePicker/OverlayComponent/OverlayComponent.test.js.map +1 -0
- package/dist/src/components/DatePicker/OverlayComponent/components/MonthWrapper/MonthWrapper.js +53 -0
- package/dist/src/components/DatePicker/OverlayComponent/components/MonthWrapper/MonthWrapper.js.map +1 -0
- package/dist/src/components/DatePicker/OverlayComponent/components/MonthWrapper/MonthWrapper.style.js +44 -0
- package/dist/src/components/DatePicker/OverlayComponent/components/MonthWrapper/MonthWrapper.style.js.map +1 -0
- package/dist/src/components/DatePicker/OverlayComponent/components/MonthWrapper/MonthWrapper.test.js +34 -0
- package/dist/src/components/DatePicker/OverlayComponent/components/MonthWrapper/MonthWrapper.test.js.map +1 -0
- package/dist/src/components/DatePicker/OverlayComponent/components/MonthWrapper/index.js +1 -0
- package/dist/src/components/DatePicker/OverlayComponent/components/MonthWrapper/index.js.map +1 -0
- package/dist/src/components/DatePicker/OverlayComponent/index.js +3 -0
- package/dist/src/components/DatePicker/OverlayComponent/index.js.map +1 -0
- package/dist/src/components/DatePicker/OverlayComponent/utils.js +9 -0
- package/dist/src/components/DatePicker/OverlayComponent/utils.js.map +1 -0
- package/dist/src/components/DatePicker/constants.js +61 -0
- package/dist/src/components/DatePicker/constants.js.map +1 -0
- package/dist/src/components/DatePicker/index.js +5 -0
- package/dist/src/components/DatePicker/index.js.map +1 -0
- package/dist/src/components/DatePicker/play-utils.js +7 -0
- package/dist/src/components/DatePicker/play-utils.js.map +1 -0
- package/dist/src/components/DatePicker/utils.js +34 -0
- package/dist/src/components/DatePicker/utils.js.map +1 -0
- package/dist/src/components/Drawer/Drawer.js +33 -0
- package/dist/src/components/Drawer/Drawer.js.map +1 -0
- package/dist/src/components/Drawer/Drawer.stories.js +230 -0
- package/dist/src/components/Drawer/Drawer.stories.js.map +1 -0
- package/dist/src/components/Drawer/Drawer.style.js +153 -0
- package/dist/src/components/Drawer/Drawer.style.js.map +1 -0
- package/dist/src/components/Drawer/Drawer.test.js +57 -0
- package/dist/src/components/Drawer/Drawer.test.js.map +1 -0
- package/dist/src/components/Drawer/Drawer.types.js +2 -0
- package/dist/src/components/Drawer/Drawer.types.js.map +1 -0
- package/dist/src/components/Drawer/DrawerContext.js +68 -0
- package/dist/src/components/Drawer/DrawerContext.js.map +1 -0
- package/dist/src/components/Drawer/components/DrawerContent/DrawerContent.js +12 -0
- package/dist/src/components/Drawer/components/DrawerContent/DrawerContent.js.map +1 -0
- package/dist/src/components/Drawer/components/DrawerContent/DrawerContent.stories.js +20 -0
- package/dist/src/components/Drawer/components/DrawerContent/DrawerContent.stories.js.map +1 -0
- package/dist/src/components/Drawer/components/DrawerContent/hooks/useDrawerContentObserver.js +30 -0
- package/dist/src/components/Drawer/components/DrawerContent/hooks/useDrawerContentObserver.js.map +1 -0
- package/dist/src/components/Drawer/components/DrawerContent/index.js +2 -0
- package/dist/src/components/Drawer/components/DrawerContent/index.js.map +1 -0
- package/dist/src/components/Drawer/components/DrawerFooter/DrawerFooter.js +9 -0
- package/dist/src/components/Drawer/components/DrawerFooter/DrawerFooter.js.map +1 -0
- package/dist/src/components/Drawer/components/DrawerFooter/DrawerFooter.stories.js +20 -0
- package/dist/src/components/Drawer/components/DrawerFooter/DrawerFooter.stories.js.map +1 -0
- package/dist/src/components/Drawer/components/DrawerFooter/index.js +2 -0
- package/dist/src/components/Drawer/components/DrawerFooter/index.js.map +1 -0
- package/dist/src/components/Drawer/components/DrawerHeader/DrawerHeader.js +10 -0
- package/dist/src/components/Drawer/components/DrawerHeader/DrawerHeader.js.map +1 -0
- package/dist/src/components/Drawer/components/DrawerHeader/DrawerHeader.stories.js +20 -0
- package/dist/src/components/Drawer/components/DrawerHeader/DrawerHeader.stories.js.map +1 -0
- package/dist/src/components/Drawer/components/DrawerHeader/index.js +2 -0
- package/dist/src/components/Drawer/components/DrawerHeader/index.js.map +1 -0
- package/dist/src/components/Drawer/components/index.js +4 -0
- package/dist/src/components/Drawer/components/index.js.map +1 -0
- package/dist/src/components/Drawer/index.js +6 -0
- package/dist/src/components/Drawer/index.js.map +1 -0
- package/dist/src/components/DropdownButton/DropdownButton.js +43 -0
- package/dist/src/components/DropdownButton/DropdownButton.js.map +1 -0
- package/dist/src/components/DropdownButton/DropdownButton.stories.js +34 -0
- package/dist/src/components/DropdownButton/DropdownButton.stories.js.map +1 -0
- package/dist/src/components/DropdownButton/DropdownButton.style.js +65 -0
- package/dist/src/components/DropdownButton/DropdownButton.style.js.map +1 -0
- package/dist/src/components/DropdownButton/DropdownButton.test.js +40 -0
- package/dist/src/components/DropdownButton/DropdownButton.test.js.map +1 -0
- package/dist/src/components/DropdownButton/index.js +2 -0
- package/dist/src/components/DropdownButton/index.js.map +1 -0
- package/dist/src/components/ExpandCollapse/ExpandCollapse.js +27 -0
- package/dist/src/components/ExpandCollapse/ExpandCollapse.js.map +1 -0
- package/dist/src/components/ExpandCollapse/ExpandCollapse.stories.js +31 -0
- package/dist/src/components/ExpandCollapse/ExpandCollapse.stories.js.map +1 -0
- package/dist/src/components/ExpandCollapse/ExpandCollapse.style.js +9 -0
- package/dist/src/components/ExpandCollapse/ExpandCollapse.style.js.map +1 -0
- package/dist/src/components/ExpandCollapse/ExpandCollapse.types.js +2 -0
- package/dist/src/components/ExpandCollapse/ExpandCollapse.types.js.map +1 -0
- package/dist/src/components/ExpandCollapse/index.js +4 -0
- package/dist/src/components/ExpandCollapse/index.js.map +1 -0
- package/dist/src/components/ExpandCollapse/useManageContentRef.js +39 -0
- package/dist/src/components/ExpandCollapse/useManageContentRef.js.map +1 -0
- package/dist/src/components/ExpandCollapse/utils.js +13 -0
- package/dist/src/components/ExpandCollapse/utils.js.map +1 -0
- package/dist/src/components/Filter/Filter.js +68 -0
- package/dist/src/components/Filter/Filter.js.map +1 -0
- package/dist/src/components/Filter/Filter.stories.js +224 -0
- package/dist/src/components/Filter/Filter.stories.js.map +1 -0
- package/dist/src/components/Filter/Filter.test.js +145 -0
- package/dist/src/components/Filter/Filter.test.js.map +1 -0
- package/dist/src/components/Filter/Filter.tokens.js +6 -0
- package/dist/src/components/Filter/Filter.tokens.js.map +1 -0
- package/dist/src/components/Filter/Filter.types.js +2 -0
- package/dist/src/components/Filter/Filter.types.js.map +1 -0
- package/dist/src/components/Filter/StatefulFilter.js +17 -0
- package/dist/src/components/Filter/StatefulFilter.js.map +1 -0
- package/dist/src/components/Filter/components/FilterButton/FilterButton.js +23 -0
- package/dist/src/components/Filter/components/FilterButton/FilterButton.js.map +1 -0
- package/dist/src/components/Filter/components/FilterButton/FilterButton.style.js +61 -0
- package/dist/src/components/Filter/components/FilterButton/FilterButton.style.js.map +1 -0
- package/dist/src/components/Filter/components/FilterButton/index.js +2 -0
- package/dist/src/components/Filter/components/FilterButton/index.js.map +1 -0
- package/dist/src/components/Filter/components/FilterMenu/FilterMenu.js +11 -0
- package/dist/src/components/Filter/components/FilterMenu/FilterMenu.js.map +1 -0
- package/dist/src/components/Filter/components/FilterMenu/FilterMenu.style.js +17 -0
- package/dist/src/components/Filter/components/FilterMenu/FilterMenu.style.js.map +1 -0
- package/dist/src/components/Filter/components/FilterMenu/components/FilterSearchField/FilterSearchField.js +32 -0
- package/dist/src/components/Filter/components/FilterMenu/components/FilterSearchField/FilterSearchField.js.map +1 -0
- package/dist/src/components/Filter/components/FilterMenu/components/FilterSearchField/FilterSearchField.style.js +27 -0
- package/dist/src/components/Filter/components/FilterMenu/components/FilterSearchField/FilterSearchField.style.js.map +1 -0
- package/dist/src/components/Filter/components/FilterMenu/components/FilterSearchField/index.js +2 -0
- package/dist/src/components/Filter/components/FilterMenu/components/FilterSearchField/index.js.map +1 -0
- package/dist/src/components/Filter/components/FilterMenu/components/Options/Options.js +28 -0
- package/dist/src/components/Filter/components/FilterMenu/components/Options/Options.js.map +1 -0
- package/dist/src/components/Filter/components/FilterMenu/components/Options/Options.style.js +34 -0
- package/dist/src/components/Filter/components/FilterMenu/components/Options/Options.style.js.map +1 -0
- package/dist/src/components/Filter/components/FilterMenu/components/Options/index.js +2 -0
- package/dist/src/components/Filter/components/FilterMenu/components/Options/index.js.map +1 -0
- package/dist/src/components/Filter/components/FilterMenu/index.js +2 -0
- package/dist/src/components/Filter/components/FilterMenu/index.js.map +1 -0
- package/dist/src/components/Filter/constants.js +38 -0
- package/dist/src/components/Filter/constants.js.map +1 -0
- package/dist/src/components/Filter/hooks/index.js +2 -0
- package/dist/src/components/Filter/hooks/index.js.map +1 -0
- package/dist/src/components/Filter/hooks/useFilterWithSelectionUtils.js +77 -0
- package/dist/src/components/Filter/hooks/useFilterWithSelectionUtils.js.map +1 -0
- package/dist/src/components/Filter/index.js +4 -0
- package/dist/src/components/Filter/index.js.map +1 -0
- package/dist/src/components/Icon/Icon.js +23 -0
- package/dist/src/components/Icon/Icon.js.map +1 -0
- package/dist/src/components/Icon/Icon.stories.js +52 -0
- package/dist/src/components/Icon/Icon.stories.js.map +1 -0
- package/dist/src/components/Icon/Icon.style.js +37 -0
- package/dist/src/components/Icon/Icon.style.js.map +1 -0
- package/dist/src/components/Icon/Icon.types.js +2 -0
- package/dist/src/components/Icon/Icon.types.js.map +1 -0
- package/dist/src/components/Icon/assets/iconSelector.js +306 -0
- package/dist/src/components/Icon/assets/iconSelector.js.map +1 -0
- package/dist/src/components/Icon/constants.js +177 -0
- package/dist/src/components/Icon/constants.js.map +1 -0
- package/dist/src/components/Icon/index.js +4 -0
- package/dist/src/components/Icon/index.js.map +1 -0
- package/dist/src/components/IconButton/IconButton.js +15 -0
- package/dist/src/components/IconButton/IconButton.js.map +1 -0
- package/dist/src/components/IconButton/IconButton.stories.js +46 -0
- package/dist/src/components/IconButton/IconButton.stories.js.map +1 -0
- package/dist/src/components/IconButton/index.js +3 -0
- package/dist/src/components/IconButton/index.js.map +1 -0
- package/dist/src/components/InlineAlert/InlineAlert.js +32 -0
- package/dist/src/components/InlineAlert/InlineAlert.js.map +1 -0
- package/dist/src/components/InlineAlert/InlineAlert.stories.js +55 -0
- package/dist/src/components/InlineAlert/InlineAlert.stories.js.map +1 -0
- package/dist/src/components/InlineAlert/InlineAlert.style.js +110 -0
- package/dist/src/components/InlineAlert/InlineAlert.style.js.map +1 -0
- package/dist/src/components/InlineAlert/InlineAlert.types.js +2 -0
- package/dist/src/components/InlineAlert/InlineAlert.types.js.map +1 -0
- package/dist/src/components/InlineAlert/index.js +2 -0
- package/dist/src/components/InlineAlert/index.js.map +1 -0
- package/dist/src/components/InlineAlert/tests/InlineAlert.test.js +45 -0
- package/dist/src/components/InlineAlert/tests/InlineAlert.test.js.map +1 -0
- package/dist/src/components/Label/Label.js +7 -0
- package/dist/src/components/Label/Label.js.map +1 -0
- package/dist/src/components/Label/Label.style.js +30 -0
- package/dist/src/components/Label/Label.style.js.map +1 -0
- package/dist/src/components/Label/index.js +3 -0
- package/dist/src/components/Label/index.js.map +1 -0
- package/dist/src/components/Link/Link.js +19 -0
- package/dist/src/components/Link/Link.js.map +1 -0
- package/dist/src/components/Link/Link.stories.js +71 -0
- package/dist/src/components/Link/Link.stories.js.map +1 -0
- package/dist/src/components/Link/Link.style.js +48 -0
- package/dist/src/components/Link/Link.style.js.map +1 -0
- package/dist/src/components/Link/Link.tokens.js +6 -0
- package/dist/src/components/Link/Link.tokens.js.map +1 -0
- package/dist/src/components/Link/Link.types.js +2 -0
- package/dist/src/components/Link/Link.types.js.map +1 -0
- package/dist/src/components/Link/constants.js +6 -0
- package/dist/src/components/Link/constants.js.map +1 -0
- package/dist/src/components/Link/index.js +2 -0
- package/dist/src/components/Link/index.js.map +1 -0
- package/dist/src/components/List/List.js +68 -0
- package/dist/src/components/List/List.js.map +1 -0
- package/dist/src/components/List/List.style.js +31 -0
- package/dist/src/components/List/List.style.js.map +1 -0
- package/dist/src/components/List/List.tokens.js +6 -0
- package/dist/src/components/List/List.tokens.js.map +1 -0
- package/dist/src/components/List/ListItem.js +10 -0
- package/dist/src/components/List/ListItem.js.map +1 -0
- package/dist/src/components/List/ListSection.js +7 -0
- package/dist/src/components/List/ListSection.js.map +1 -0
- package/dist/src/components/List/Window.js +51 -0
- package/dist/src/components/List/Window.js.map +1 -0
- package/dist/src/components/List/components/ListItemAction/ListItemAction.js +7 -0
- package/dist/src/components/List/components/ListItemAction/ListItemAction.js.map +1 -0
- package/dist/src/components/List/components/ListItemAction/ListItemAction.style.js +8 -0
- package/dist/src/components/List/components/ListItemAction/ListItemAction.style.js.map +1 -0
- package/dist/src/components/List/components/ListItemAction/index.js +3 -0
- package/dist/src/components/List/components/ListItemAction/index.js.map +1 -0
- package/dist/src/components/List/components/ListItemText/ListItemText.js +7 -0
- package/dist/src/components/List/components/ListItemText/ListItemText.js.map +1 -0
- package/dist/src/components/List/components/ListItemText/ListItemText.style.js +35 -0
- package/dist/src/components/List/components/ListItemText/ListItemText.style.js.map +1 -0
- package/dist/src/components/List/components/ListItemText/index.js +3 -0
- package/dist/src/components/List/components/ListItemText/index.js.map +1 -0
- package/dist/src/components/List/components/ListItemWrapper/ListItemWrapper.js +9 -0
- package/dist/src/components/List/components/ListItemWrapper/ListItemWrapper.js.map +1 -0
- package/dist/src/components/List/components/ListItemWrapper/ListItemWrapper.style.js +61 -0
- package/dist/src/components/List/components/ListItemWrapper/ListItemWrapper.style.js.map +1 -0
- package/dist/src/components/List/components/ListItemWrapper/index.js +3 -0
- package/dist/src/components/List/components/ListItemWrapper/index.js.map +1 -0
- package/dist/src/components/List/index.js +8 -0
- package/dist/src/components/List/index.js.map +1 -0
- package/dist/src/components/List/stories/List.stories.js +42 -0
- package/dist/src/components/List/stories/List.stories.js.map +1 -0
- package/dist/src/components/List/stories/ListItem.stories.js +58 -0
- package/dist/src/components/List/stories/ListItem.stories.js.map +1 -0
- package/dist/src/components/List/stories/ListItemAction.stories.js +20 -0
- package/dist/src/components/List/stories/ListItemAction.stories.js.map +1 -0
- package/dist/src/components/List/stories/ListItemText.stories.js +31 -0
- package/dist/src/components/List/stories/ListItemText.stories.js.map +1 -0
- package/dist/src/components/List/stories/ListSection.stories.js +31 -0
- package/dist/src/components/List/stories/ListSection.stories.js.map +1 -0
- package/dist/src/components/List/types.js +2 -0
- package/dist/src/components/List/types.js.map +1 -0
- package/dist/src/components/List/utils.js +10 -0
- package/dist/src/components/List/utils.js.map +1 -0
- package/dist/src/components/Menu/Menu.js +18 -0
- package/dist/src/components/Menu/Menu.js.map +1 -0
- package/dist/src/components/Menu/Menu.stories.js +317 -0
- package/dist/src/components/Menu/Menu.stories.js.map +1 -0
- package/dist/src/components/Menu/Menu.style.js +75 -0
- package/dist/src/components/Menu/Menu.style.js.map +1 -0
- package/dist/src/components/Menu/MenuItemDivider.js +22 -0
- package/dist/src/components/Menu/MenuItemDivider.js.map +1 -0
- package/dist/src/components/Menu/index.js +5 -0
- package/dist/src/components/Menu/index.js.map +1 -0
- package/dist/src/components/Modal/Modal.js +29 -0
- package/dist/src/components/Modal/Modal.js.map +1 -0
- package/dist/src/components/Modal/Modal.stories.js +55 -0
- package/dist/src/components/Modal/Modal.stories.js.map +1 -0
- package/dist/src/components/Modal/Modal.style.js +35 -0
- package/dist/src/components/Modal/Modal.style.js.map +1 -0
- package/dist/src/components/Modal/Modal.test.js +50 -0
- package/dist/src/components/Modal/Modal.test.js.map +1 -0
- package/dist/src/components/Modal/ModalContent/ModalContent.js +9 -0
- package/dist/src/components/Modal/ModalContent/ModalContent.js.map +1 -0
- package/dist/src/components/Modal/ModalContent/ModalContent.style.js +42 -0
- package/dist/src/components/Modal/ModalContent/ModalContent.style.js.map +1 -0
- package/dist/src/components/Modal/ModalContent/index.js +2 -0
- package/dist/src/components/Modal/ModalContent/index.js.map +1 -0
- package/dist/src/components/Modal/index.js +2 -0
- package/dist/src/components/Modal/index.js.map +1 -0
- package/dist/src/components/MultiTextFieldBase/MultiTextFieldBase.js +47 -0
- package/dist/src/components/MultiTextFieldBase/MultiTextFieldBase.js.map +1 -0
- package/dist/src/components/MultiTextFieldBase/MultiTextFieldBase.style.js +87 -0
- package/dist/src/components/MultiTextFieldBase/MultiTextFieldBase.style.js.map +1 -0
- package/dist/src/components/MultiTextFieldBase/hooks.js +52 -0
- package/dist/src/components/MultiTextFieldBase/hooks.js.map +1 -0
- package/dist/src/components/MultiTextFieldBase/index.js +2 -0
- package/dist/src/components/MultiTextFieldBase/index.js.map +1 -0
- package/dist/src/components/Navigation/Directory/Directory.js +15 -0
- package/dist/src/components/Navigation/Directory/Directory.js.map +1 -0
- package/dist/src/components/Navigation/Directory/Directory.style.js +110 -0
- package/dist/src/components/Navigation/Directory/Directory.style.js.map +1 -0
- package/dist/src/components/Navigation/Directory/MenuItem/MenuItem.js +26 -0
- package/dist/src/components/Navigation/Directory/MenuItem/MenuItem.js.map +1 -0
- package/dist/src/components/Navigation/Directory/index.js +2 -0
- package/dist/src/components/Navigation/Directory/index.js.map +1 -0
- package/dist/src/components/Navigation/Navigation.js +12 -0
- package/dist/src/components/Navigation/Navigation.js.map +1 -0
- package/dist/src/components/Navigation/Navigation.stories.js +42 -0
- package/dist/src/components/Navigation/Navigation.stories.js.map +1 -0
- package/dist/src/components/Navigation/Navigation.style.js +17 -0
- package/dist/src/components/Navigation/Navigation.style.js.map +1 -0
- package/dist/src/components/Navigation/Navigation.test.js +41 -0
- package/dist/src/components/Navigation/Navigation.test.js.map +1 -0
- package/dist/src/components/Navigation/index.js +4 -0
- package/dist/src/components/Navigation/index.js.map +1 -0
- package/dist/src/components/Navigation/types.js +2 -0
- package/dist/src/components/Navigation/types.js.map +1 -0
- package/dist/src/components/Notification/Banner/Banner.js +12 -0
- package/dist/src/components/Notification/Banner/Banner.js.map +1 -0
- package/dist/src/components/Notification/Banner/index.js +3 -0
- package/dist/src/components/Notification/Banner/index.js.map +1 -0
- package/dist/src/components/Notification/InlineNotification/InlineNotification.js +12 -0
- package/dist/src/components/Notification/InlineNotification/InlineNotification.js.map +1 -0
- package/dist/src/components/Notification/InlineNotification/index.js +3 -0
- package/dist/src/components/Notification/InlineNotification/index.js.map +1 -0
- package/dist/src/components/Notification/Notification.js +2 -0
- package/dist/src/components/Notification/Notification.js.map +1 -0
- package/dist/src/components/Notification/Notification.stories.js +169 -0
- package/dist/src/components/Notification/Notification.stories.js.map +1 -0
- package/dist/src/components/Notification/Notification.style.js +43 -0
- package/dist/src/components/Notification/Notification.style.js.map +1 -0
- package/dist/src/components/Notification/Notification.test.js +191 -0
- package/dist/src/components/Notification/Notification.test.js.map +1 -0
- package/dist/src/components/Notification/NotificationVisual/NotificationVisual.js +11 -0
- package/dist/src/components/Notification/NotificationVisual/NotificationVisual.js.map +1 -0
- package/dist/src/components/Notification/NotificationVisual/NotificationVisual.style.js +12 -0
- package/dist/src/components/Notification/NotificationVisual/NotificationVisual.style.js.map +1 -0
- package/dist/src/components/Notification/NotificationVisual/index.js +3 -0
- package/dist/src/components/Notification/NotificationVisual/index.js.map +1 -0
- package/dist/src/components/Notification/NotificationsContainer/NotificationsContainer.js +12 -0
- package/dist/src/components/Notification/NotificationsContainer/NotificationsContainer.js.map +1 -0
- package/dist/src/components/Notification/NotificationsContainer/NotificationsContainer.style.js +48 -0
- package/dist/src/components/Notification/NotificationsContainer/NotificationsContainer.style.js.map +1 -0
- package/dist/src/components/Notification/NotificationsContainer/index.js +3 -0
- package/dist/src/components/Notification/NotificationsContainer/index.js.map +1 -0
- package/dist/src/components/Notification/Snackbar/Snackbar.js +18 -0
- package/dist/src/components/Notification/Snackbar/Snackbar.js.map +1 -0
- package/dist/src/components/Notification/Snackbar/Snackbar.style.js +40 -0
- package/dist/src/components/Notification/Snackbar/Snackbar.style.js.map +1 -0
- package/dist/src/components/Notification/Snackbar/index.js +3 -0
- package/dist/src/components/Notification/Snackbar/index.js.map +1 -0
- package/dist/src/components/Notification/subcomponents/CompactNotification/CompactNotification.js +14 -0
- package/dist/src/components/Notification/subcomponents/CompactNotification/CompactNotification.js.map +1 -0
- package/dist/src/components/Notification/subcomponents/CompactNotification/CompactNotification.style.js +37 -0
- package/dist/src/components/Notification/subcomponents/CompactNotification/CompactNotification.style.js.map +1 -0
- package/dist/src/components/Notification/subcomponents/CompactNotification/index.js +3 -0
- package/dist/src/components/Notification/subcomponents/CompactNotification/index.js.map +1 -0
- package/dist/src/components/Notification/subcomponents/NotificationActionsArea/NotificationActionsArea.js +9 -0
- package/dist/src/components/Notification/subcomponents/NotificationActionsArea/NotificationActionsArea.js.map +1 -0
- package/dist/src/components/Notification/subcomponents/NotificationActionsArea/index.js +2 -0
- package/dist/src/components/Notification/subcomponents/NotificationActionsArea/index.js.map +1 -0
- package/dist/src/components/NumberField/NumberField.js +26 -0
- package/dist/src/components/NumberField/NumberField.js.map +1 -0
- package/dist/src/components/NumberField/NumberField.stories.js +127 -0
- package/dist/src/components/NumberField/NumberField.stories.js.map +1 -0
- package/dist/src/components/NumberField/NumberField.style.js +9 -0
- package/dist/src/components/NumberField/NumberField.style.js.map +1 -0
- package/dist/src/components/NumberField/NumberField.test.js +65 -0
- package/dist/src/components/NumberField/NumberField.test.js.map +1 -0
- package/dist/src/components/NumberField/components/Stepper/Stepper.js +12 -0
- package/dist/src/components/NumberField/components/Stepper/Stepper.js.map +1 -0
- package/dist/src/components/NumberField/components/Stepper/Stepper.style.js +32 -0
- package/dist/src/components/NumberField/components/Stepper/Stepper.style.js.map +1 -0
- package/dist/src/components/NumberField/components/Stepper/index.js +2 -0
- package/dist/src/components/NumberField/components/Stepper/index.js.map +1 -0
- package/dist/src/components/NumberField/index.js +3 -0
- package/dist/src/components/NumberField/index.js.map +1 -0
- package/dist/src/components/Pagination/Pagination.js +18 -0
- package/dist/src/components/Pagination/Pagination.js.map +1 -0
- package/dist/src/components/Pagination/Pagination.stories.js +44 -0
- package/dist/src/components/Pagination/Pagination.stories.js.map +1 -0
- package/dist/src/components/Pagination/index.js +3 -0
- package/dist/src/components/Pagination/index.js.map +1 -0
- package/dist/src/components/ProgressIndicator/ProgressIndicator.js +10 -0
- package/dist/src/components/ProgressIndicator/ProgressIndicator.js.map +1 -0
- package/dist/src/components/ProgressIndicator/ProgressIndicator.stories.js +112 -0
- package/dist/src/components/ProgressIndicator/ProgressIndicator.stories.js.map +1 -0
- package/dist/src/components/ProgressIndicator/ProgressIndicator.tokens.js +6 -0
- package/dist/src/components/ProgressIndicator/ProgressIndicator.tokens.js.map +1 -0
- package/dist/src/components/ProgressIndicator/ProgressIndicator.types.js +2 -0
- package/dist/src/components/ProgressIndicator/ProgressIndicator.types.js.map +1 -0
- package/dist/src/components/ProgressIndicator/components/ProgressBar/ProgressBar.js +14 -0
- package/dist/src/components/ProgressIndicator/components/ProgressBar/ProgressBar.js.map +1 -0
- package/dist/src/components/ProgressIndicator/components/ProgressBar/ProgressBar.style.js +69 -0
- package/dist/src/components/ProgressIndicator/components/ProgressBar/ProgressBar.style.js.map +1 -0
- package/dist/src/components/ProgressIndicator/components/ProgressBar/index.js +2 -0
- package/dist/src/components/ProgressIndicator/components/ProgressBar/index.js.map +1 -0
- package/dist/src/components/ProgressIndicator/components/ProgressCircle/ProgressCircle.js +26 -0
- package/dist/src/components/ProgressIndicator/components/ProgressCircle/ProgressCircle.js.map +1 -0
- package/dist/src/components/ProgressIndicator/components/ProgressCircle/ProgressCircle.style.js +22 -0
- package/dist/src/components/ProgressIndicator/components/ProgressCircle/ProgressCircle.style.js.map +1 -0
- package/dist/src/components/ProgressIndicator/components/ProgressCircle/index.js +2 -0
- package/dist/src/components/ProgressIndicator/components/ProgressCircle/index.js.map +1 -0
- package/dist/src/components/ProgressIndicator/index.js +2 -0
- package/dist/src/components/ProgressIndicator/index.js.map +1 -0
- package/dist/src/components/Search/Search.js +27 -0
- package/dist/src/components/Search/Search.js.map +1 -0
- package/dist/src/components/Search/Search.stories.js +190 -0
- package/dist/src/components/Search/Search.stories.js.map +1 -0
- package/dist/src/components/Search/Search.style.js +86 -0
- package/dist/src/components/Search/Search.style.js.map +1 -0
- package/dist/src/components/Search/Search.test.js +60 -0
- package/dist/src/components/Search/Search.test.js.map +1 -0
- package/dist/src/components/Search/Search.tokens.js +6 -0
- package/dist/src/components/Search/Search.tokens.js.map +1 -0
- package/dist/src/components/Search/Search.types.js +2 -0
- package/dist/src/components/Search/Search.types.js.map +1 -0
- package/dist/src/components/Search/StatefulSearch.js +43 -0
- package/dist/src/components/Search/StatefulSearch.js.map +1 -0
- package/dist/src/components/Search/constants.js +10 -0
- package/dist/src/components/Search/constants.js.map +1 -0
- package/dist/src/components/Search/index.js +4 -0
- package/dist/src/components/Search/index.js.map +1 -0
- package/dist/src/components/Select/Select.js +268 -0
- package/dist/src/components/Select/Select.js.map +1 -0
- package/dist/src/components/Select/Select.stories.js +180 -0
- package/dist/src/components/Select/Select.stories.js.map +1 -0
- package/dist/src/components/Select/Select.style.js +20 -0
- package/dist/src/components/Select/Select.style.js.map +1 -0
- package/dist/src/components/Select/Select.test.js +248 -0
- package/dist/src/components/Select/Select.test.js.map +1 -0
- package/dist/src/components/Select/StatefulSelect.js +17 -0
- package/dist/src/components/Select/StatefulSelect.js.map +1 -0
- package/dist/src/components/Select/components/SelectMenu/SelectMenu.js +39 -0
- package/dist/src/components/Select/components/SelectMenu/SelectMenu.js.map +1 -0
- package/dist/src/components/Select/components/SelectMenu/SelectMenu.style.js +39 -0
- package/dist/src/components/Select/components/SelectMenu/SelectMenu.style.js.map +1 -0
- package/dist/src/components/Select/components/SelectMenu/index.js +3 -0
- package/dist/src/components/Select/components/SelectMenu/index.js.map +1 -0
- package/dist/src/components/Select/constants.js +52 -0
- package/dist/src/components/Select/constants.js.map +1 -0
- package/dist/src/components/Select/index.js +5 -0
- package/dist/src/components/Select/index.js.map +1 -0
- package/dist/src/components/Select/storyUtils.js +47 -0
- package/dist/src/components/Select/storyUtils.js.map +1 -0
- package/dist/src/components/Select/types.js +2 -0
- package/dist/src/components/Select/types.js.map +1 -0
- package/dist/src/components/Slider/Slider.js +67 -0
- package/dist/src/components/Slider/Slider.js.map +1 -0
- package/dist/src/components/Slider/Slider.stories.js +48 -0
- package/dist/src/components/Slider/Slider.stories.js.map +1 -0
- package/dist/src/components/Slider/Slider.style.js +20 -0
- package/dist/src/components/Slider/Slider.style.js.map +1 -0
- package/dist/src/components/Slider/components/SliderMark/SliderMark.js +22 -0
- package/dist/src/components/Slider/components/SliderMark/SliderMark.js.map +1 -0
- package/dist/src/components/Slider/components/SliderMark/SliderMark.style.js +66 -0
- package/dist/src/components/Slider/components/SliderMark/SliderMark.style.js.map +1 -0
- package/dist/src/components/Slider/components/SliderMark/index.js +3 -0
- package/dist/src/components/Slider/components/SliderMark/index.js.map +1 -0
- package/dist/src/components/Slider/components/SliderThumb/SliderThumb.js +9 -0
- package/dist/src/components/Slider/components/SliderThumb/SliderThumb.js.map +1 -0
- package/dist/src/components/Slider/components/SliderThumb/SliderThumb.style.js +36 -0
- package/dist/src/components/Slider/components/SliderThumb/SliderThumb.style.js.map +1 -0
- package/dist/src/components/Slider/components/SliderThumb/index.js +3 -0
- package/dist/src/components/Slider/components/SliderThumb/index.js.map +1 -0
- package/dist/src/components/Slider/components/SliderTrack/SliderTrack.js +29 -0
- package/dist/src/components/Slider/components/SliderTrack/SliderTrack.js.map +1 -0
- package/dist/src/components/Slider/components/SliderTrack/SliderTrack.style.js +9 -0
- package/dist/src/components/Slider/components/SliderTrack/SliderTrack.style.js.map +1 -0
- package/dist/src/components/Slider/components/SliderTrack/index.js +3 -0
- package/dist/src/components/Slider/components/SliderTrack/index.js.map +1 -0
- package/dist/src/components/Slider/index.js +3 -0
- package/dist/src/components/Slider/index.js.map +1 -0
- package/dist/src/components/TabStepper/TabStepper.js +11 -0
- package/dist/src/components/TabStepper/TabStepper.js.map +1 -0
- package/dist/src/components/TabStepper/TabStepper.stories.js +177 -0
- package/dist/src/components/TabStepper/TabStepper.stories.js.map +1 -0
- package/dist/src/components/TabStepper/components/TabStep/TabStep.js +26 -0
- package/dist/src/components/TabStepper/components/TabStep/TabStep.js.map +1 -0
- package/dist/src/components/TabStepper/components/TabStep/TabStep.stories.js +12 -0
- package/dist/src/components/TabStepper/components/TabStep/TabStep.stories.js.map +1 -0
- package/dist/src/components/TabStepper/components/TabStep/TabStep.style.js +24 -0
- package/dist/src/components/TabStepper/components/TabStep/TabStep.style.js.map +1 -0
- package/dist/src/components/TabStepper/components/TabStep/index.js +2 -0
- package/dist/src/components/TabStepper/components/TabStep/index.js.map +1 -0
- package/dist/src/components/TabStepper/components/TabStepList/TabStepList.js +11 -0
- package/dist/src/components/TabStepper/components/TabStepList/TabStepList.js.map +1 -0
- package/dist/src/components/TabStepper/components/TabStepList/TabStepList.stories.js +12 -0
- package/dist/src/components/TabStepper/components/TabStepList/TabStepList.stories.js.map +1 -0
- package/dist/src/components/TabStepper/components/TabStepList/TabStepList.style.js +94 -0
- package/dist/src/components/TabStepper/components/TabStepList/TabStepList.style.js.map +1 -0
- package/dist/src/components/TabStepper/components/TabStepList/index.js +2 -0
- package/dist/src/components/TabStepper/components/TabStepList/index.js.map +1 -0
- package/dist/src/components/TabStepper/components/index.js +3 -0
- package/dist/src/components/TabStepper/components/index.js.map +1 -0
- package/dist/src/components/TabStepper/constants.js +23 -0
- package/dist/src/components/TabStepper/constants.js.map +1 -0
- package/dist/src/components/TabStepper/index.js +4 -0
- package/dist/src/components/TabStepper/index.js.map +1 -0
- package/dist/src/components/TabStepper/types.js +2 -0
- package/dist/src/components/TabStepper/types.js.map +1 -0
- package/dist/src/components/TabStepper/utils/TabStepperStoryComponents.js +3 -0
- package/dist/src/components/TabStepper/utils/TabStepperStoryComponents.js.map +1 -0
- package/dist/src/components/Table/Table.js +72 -0
- package/dist/src/components/Table/Table.js.map +1 -0
- package/dist/src/components/Table/Table.style.js +28 -0
- package/dist/src/components/Table/Table.style.js.map +1 -0
- package/dist/src/components/Table/components/TBody/TBody.js +10 -0
- package/dist/src/components/Table/components/TBody/TBody.js.map +1 -0
- package/dist/src/components/Table/components/TBody/TBody.stories.js +12 -0
- package/dist/src/components/Table/components/TBody/TBody.stories.js.map +1 -0
- package/dist/src/components/Table/components/TBody/TBody.style.js +17 -0
- package/dist/src/components/Table/components/TBody/TBody.style.js.map +1 -0
- package/dist/src/components/Table/components/TBody/index.js +2 -0
- package/dist/src/components/Table/components/TBody/index.js.map +1 -0
- package/dist/src/components/Table/components/TD/TD.js +12 -0
- package/dist/src/components/Table/components/TD/TD.js.map +1 -0
- package/dist/src/components/Table/components/TD/TD.stories.js +12 -0
- package/dist/src/components/Table/components/TD/TD.stories.js.map +1 -0
- package/dist/src/components/Table/components/TD/TD.style.js +37 -0
- package/dist/src/components/Table/components/TD/TD.style.js.map +1 -0
- package/dist/src/components/Table/components/TD/index.js +2 -0
- package/dist/src/components/Table/components/TD/index.js.map +1 -0
- package/dist/src/components/Table/components/TH/TH.js +37 -0
- package/dist/src/components/Table/components/TH/TH.js.map +1 -0
- package/dist/src/components/Table/components/TH/TH.stories.js +12 -0
- package/dist/src/components/Table/components/TH/TH.stories.js.map +1 -0
- package/dist/src/components/Table/components/TH/TH.style.js +59 -0
- package/dist/src/components/Table/components/TH/TH.style.js.map +1 -0
- package/dist/src/components/Table/components/TH/components/SortingButton/SortingButton.js +14 -0
- package/dist/src/components/Table/components/TH/components/SortingButton/SortingButton.js.map +1 -0
- package/dist/src/components/Table/components/TH/components/SortingButton/SortingButton.style.js +12 -0
- package/dist/src/components/Table/components/TH/components/SortingButton/SortingButton.style.js.map +1 -0
- package/dist/src/components/Table/components/TH/components/SortingButton/index.js +2 -0
- package/dist/src/components/Table/components/TH/components/SortingButton/index.js.map +1 -0
- package/dist/src/components/Table/components/TH/components/THOptions/THOptions.js +43 -0
- package/dist/src/components/Table/components/TH/components/THOptions/THOptions.js.map +1 -0
- package/dist/src/components/Table/components/TH/components/THOptions/THOptions.style.js +8 -0
- package/dist/src/components/Table/components/TH/components/THOptions/THOptions.style.js.map +1 -0
- package/dist/src/components/Table/components/TH/components/THOptions/components/SortingOption.js +16 -0
- package/dist/src/components/Table/components/TH/components/THOptions/components/SortingOption.js.map +1 -0
- package/dist/src/components/Table/components/TH/components/THOptions/components/index.js +2 -0
- package/dist/src/components/Table/components/TH/components/THOptions/components/index.js.map +1 -0
- package/dist/src/components/Table/components/TH/components/THOptions/index.js +2 -0
- package/dist/src/components/Table/components/TH/components/THOptions/index.js.map +1 -0
- package/dist/src/components/Table/components/TH/components/index.js +2 -0
- package/dist/src/components/Table/components/TH/components/index.js.map +1 -0
- package/dist/src/components/Table/components/TH/index.js +2 -0
- package/dist/src/components/Table/components/TH/index.js.map +1 -0
- package/dist/src/components/Table/components/THead/THead.js +9 -0
- package/dist/src/components/Table/components/THead/THead.js.map +1 -0
- package/dist/src/components/Table/components/THead/THead.stories.js +12 -0
- package/dist/src/components/Table/components/THead/THead.stories.js.map +1 -0
- package/dist/src/components/Table/components/THead/THead.style.js +28 -0
- package/dist/src/components/Table/components/THead/THead.style.js.map +1 -0
- package/dist/src/components/Table/components/THead/index.js +2 -0
- package/dist/src/components/Table/components/THead/index.js.map +1 -0
- package/dist/src/components/Table/components/TPagination/TPagination.js +13 -0
- package/dist/src/components/Table/components/TPagination/TPagination.js.map +1 -0
- package/dist/src/components/Table/components/TPagination/TPagination.style.js +51 -0
- package/dist/src/components/Table/components/TPagination/TPagination.style.js.map +1 -0
- package/dist/src/components/Table/components/TPagination/index.js +2 -0
- package/dist/src/components/Table/components/TPagination/index.js.map +1 -0
- package/dist/src/components/Table/components/TR/TR.js +9 -0
- package/dist/src/components/Table/components/TR/TR.js.map +1 -0
- package/dist/src/components/Table/components/TR/TR.stories.js +12 -0
- package/dist/src/components/Table/components/TR/TR.stories.js.map +1 -0
- package/dist/src/components/Table/components/TR/TR.style.js +21 -0
- package/dist/src/components/Table/components/TR/TR.style.js.map +1 -0
- package/dist/src/components/Table/components/TR/index.js +2 -0
- package/dist/src/components/Table/components/TR/index.js.map +1 -0
- package/dist/src/components/Table/components/TTitle/TTitle.js +21 -0
- package/dist/src/components/Table/components/TTitle/TTitle.js.map +1 -0
- package/dist/src/components/Table/components/TTitle/TTitle.stories.js +12 -0
- package/dist/src/components/Table/components/TTitle/TTitle.stories.js.map +1 -0
- package/dist/src/components/Table/components/TTitle/TTitle.style.js +28 -0
- package/dist/src/components/Table/components/TTitle/TTitle.style.js.map +1 -0
- package/dist/src/components/Table/components/TTitle/components/ColumnChooser/ColumnChooser.js +52 -0
- package/dist/src/components/Table/components/TTitle/components/ColumnChooser/ColumnChooser.js.map +1 -0
- package/dist/src/components/Table/components/TTitle/components/ColumnChooser/ColumnChooser.style.js +8 -0
- package/dist/src/components/Table/components/TTitle/components/ColumnChooser/ColumnChooser.style.js.map +1 -0
- package/dist/src/components/Table/components/TTitle/components/ColumnChooser/index.js +2 -0
- package/dist/src/components/Table/components/TTitle/components/ColumnChooser/index.js.map +1 -0
- package/dist/src/components/Table/components/TTitle/components/utils.js +11 -0
- package/dist/src/components/Table/components/TTitle/components/utils.js.map +1 -0
- package/dist/src/components/Table/components/TTitle/index.js +2 -0
- package/dist/src/components/Table/components/TTitle/index.js.map +1 -0
- package/dist/src/components/Table/components/index.js +8 -0
- package/dist/src/components/Table/components/index.js.map +1 -0
- package/dist/src/components/Table/constants.js +312 -0
- package/dist/src/components/Table/constants.js.map +1 -0
- package/dist/src/components/Table/docs/Basics/Basics.stories.js +23 -0
- package/dist/src/components/Table/docs/Basics/Basics.stories.js.map +1 -0
- package/dist/src/components/Table/docs/Columns/Columns.stories.js +110 -0
- package/dist/src/components/Table/docs/Columns/Columns.stories.js.map +1 -0
- package/dist/src/components/Table/docs/Header/Header.stories.js +27 -0
- package/dist/src/components/Table/docs/Header/Header.stories.js.map +1 -0
- package/dist/src/components/Table/docs/Pagination/Pagination.stories.js +61 -0
- package/dist/src/components/Table/docs/Pagination/Pagination.stories.js.map +1 -0
- package/dist/src/components/Table/docs/RowsAndCells/RowsAndCells.stories.js +130 -0
- package/dist/src/components/Table/docs/RowsAndCells/RowsAndCells.stories.js.map +1 -0
- package/dist/src/components/Table/docs/Showcase/Showcase.stories.js +155 -0
- package/dist/src/components/Table/docs/Showcase/Showcase.stories.js.map +1 -0
- package/dist/src/components/Table/hooks/index.js +2 -0
- package/dist/src/components/Table/hooks/index.js.map +1 -0
- package/dist/src/components/Table/hooks/useTable.js +143 -0
- package/dist/src/components/Table/hooks/useTable.js.map +1 -0
- package/dist/src/components/Table/hooks/useTable.stories.js +11 -0
- package/dist/src/components/Table/hooks/useTable.stories.js.map +1 -0
- package/dist/src/components/Table/index.js +7 -0
- package/dist/src/components/Table/index.js.map +1 -0
- package/dist/src/components/Table/types.js +2 -0
- package/dist/src/components/Table/types.js.map +1 -0
- package/dist/src/components/Table/utils/TableStoryComponents.js +13 -0
- package/dist/src/components/Table/utils/TableStoryComponents.js.map +1 -0
- package/dist/src/components/TableV4/TableRowContext.js +18 -0
- package/dist/src/components/TableV4/TableRowContext.js.map +1 -0
- package/dist/src/components/TableV4/TableV4.js +113 -0
- package/dist/src/components/TableV4/TableV4.js.map +1 -0
- package/dist/src/components/TableV4/TableV4.stories.js +736 -0
- package/dist/src/components/TableV4/TableV4.stories.js.map +1 -0
- package/dist/src/components/TableV4/TableV4.style.js +27 -0
- package/dist/src/components/TableV4/TableV4.style.js.map +1 -0
- package/dist/src/components/TableV4/TableV4.test.js +146 -0
- package/dist/src/components/TableV4/TableV4.test.js.map +1 -0
- package/dist/src/components/TableV4/components/ExtendedColumnItem/ExtendedColumnItem.js +41 -0
- package/dist/src/components/TableV4/components/ExtendedColumnItem/ExtendedColumnItem.js.map +1 -0
- package/dist/src/components/TableV4/components/ExtendedColumnItem/ExtendedColumnItem.style.js +13 -0
- package/dist/src/components/TableV4/components/ExtendedColumnItem/ExtendedColumnItem.style.js.map +1 -0
- package/dist/src/components/TableV4/components/ExtendedColumnItem/index.js +3 -0
- package/dist/src/components/TableV4/components/ExtendedColumnItem/index.js.map +1 -0
- package/dist/src/components/TableV4/components/RenderRowOrNestedRow/RenderRowOrNestedRow.js +39 -0
- package/dist/src/components/TableV4/components/RenderRowOrNestedRow/RenderRowOrNestedRow.js.map +1 -0
- package/dist/src/components/TableV4/components/RenderRowOrNestedRow/RenderRowOrNestedRow.style.js +22 -0
- package/dist/src/components/TableV4/components/RenderRowOrNestedRow/RenderRowOrNestedRow.style.js.map +1 -0
- package/dist/src/components/TableV4/components/RenderRowOrNestedRow/components/ContentCell/ContentCell.js +12 -0
- package/dist/src/components/TableV4/components/RenderRowOrNestedRow/components/ContentCell/ContentCell.js.map +1 -0
- package/dist/src/components/TableV4/components/RenderRowOrNestedRow/components/ContentCell/ContentCell.style.js +8 -0
- package/dist/src/components/TableV4/components/RenderRowOrNestedRow/components/ContentCell/ContentCell.style.js.map +1 -0
- package/dist/src/components/TableV4/components/RenderRowOrNestedRow/components/ContentCell/index.js +2 -0
- package/dist/src/components/TableV4/components/RenderRowOrNestedRow/components/ContentCell/index.js.map +1 -0
- package/dist/src/components/TableV4/components/RenderRowOrNestedRow/components/ExpandedButtonCell/ExpandedButtonCell.js +23 -0
- package/dist/src/components/TableV4/components/RenderRowOrNestedRow/components/ExpandedButtonCell/ExpandedButtonCell.js.map +1 -0
- package/dist/src/components/TableV4/components/RenderRowOrNestedRow/components/ExpandedButtonCell/index.js +2 -0
- package/dist/src/components/TableV4/components/RenderRowOrNestedRow/components/ExpandedButtonCell/index.js.map +1 -0
- package/dist/src/components/TableV4/components/RenderRowOrNestedRow/index.js +2 -0
- package/dist/src/components/TableV4/components/RenderRowOrNestedRow/index.js.map +1 -0
- package/dist/src/components/TableV4/components/TableCell/TableCell.js +41 -0
- package/dist/src/components/TableV4/components/TableCell/TableCell.js.map +1 -0
- package/dist/src/components/TableV4/components/TableCell/TableCell.style.js +21 -0
- package/dist/src/components/TableV4/components/TableCell/TableCell.style.js.map +1 -0
- package/dist/src/components/TableV4/components/TableCell/index.js +3 -0
- package/dist/src/components/TableV4/components/TableCell/index.js.map +1 -0
- package/dist/src/components/TableV4/components/TableCell/utils.js +20 -0
- package/dist/src/components/TableV4/components/TableCell/utils.js.map +1 -0
- package/dist/src/components/TableV4/components/TableRow/TableRow.js +24 -0
- package/dist/src/components/TableV4/components/TableRow/TableRow.js.map +1 -0
- package/dist/src/components/TableV4/components/TableRow/index.js +3 -0
- package/dist/src/components/TableV4/components/TableRow/index.js.map +1 -0
- package/dist/src/components/TableV4/components/TableRowWrapper/TableRowWrapper.js +26 -0
- package/dist/src/components/TableV4/components/TableRowWrapper/TableRowWrapper.js.map +1 -0
- package/dist/src/components/TableV4/components/TableRowWrapper/index.js +3 -0
- package/dist/src/components/TableV4/components/TableRowWrapper/index.js.map +1 -0
- package/dist/src/components/TableV4/index.js +4 -0
- package/dist/src/components/TableV4/index.js.map +1 -0
- package/dist/src/components/TableV4/types.js +2 -0
- package/dist/src/components/TableV4/types.js.map +1 -0
- package/dist/src/components/TableV4/utils/TableStoryComponents.js +7 -0
- package/dist/src/components/TableV4/utils/TableStoryComponents.js.map +1 -0
- package/dist/src/components/TableV4/utils/index.js +2 -0
- package/dist/src/components/TableV4/utils/index.js.map +1 -0
- package/dist/src/components/TableV4/utils/utils.js +4 -0
- package/dist/src/components/TableV4/utils/utils.js.map +1 -0
- package/dist/src/components/Tabs/Tabs.js +16 -0
- package/dist/src/components/Tabs/Tabs.js.map +1 -0
- package/dist/src/components/Tabs/Tabs.stories.js +72 -0
- package/dist/src/components/Tabs/Tabs.stories.js.map +1 -0
- package/dist/src/components/Tabs/Tabs.style.js +15 -0
- package/dist/src/components/Tabs/Tabs.style.js.map +1 -0
- package/dist/src/components/Tabs/components/Tab/Tab.js +11 -0
- package/dist/src/components/Tabs/components/Tab/Tab.js.map +1 -0
- package/dist/src/components/Tabs/components/Tab/Tab.stories.js +12 -0
- package/dist/src/components/Tabs/components/Tab/Tab.stories.js.map +1 -0
- package/dist/src/components/Tabs/components/Tab/Tab.style.js +9 -0
- package/dist/src/components/Tabs/components/Tab/Tab.style.js.map +1 -0
- package/dist/src/components/Tabs/components/Tab/index.js +2 -0
- package/dist/src/components/Tabs/components/Tab/index.js.map +1 -0
- package/dist/src/components/Tabs/components/TabList/TabList.js +11 -0
- package/dist/src/components/Tabs/components/TabList/TabList.js.map +1 -0
- package/dist/src/components/Tabs/components/TabList/TabList.stories.js +12 -0
- package/dist/src/components/Tabs/components/TabList/TabList.stories.js.map +1 -0
- package/dist/src/components/Tabs/components/TabList/TabList.style.js +82 -0
- package/dist/src/components/Tabs/components/TabList/TabList.style.js.map +1 -0
- package/dist/src/components/Tabs/components/TabList/index.js +2 -0
- package/dist/src/components/Tabs/components/TabList/index.js.map +1 -0
- package/dist/src/components/Tabs/components/TabPanel/TabPanel.js +10 -0
- package/dist/src/components/Tabs/components/TabPanel/TabPanel.js.map +1 -0
- package/dist/src/components/Tabs/components/TabPanel/TabPanel.stories.js +12 -0
- package/dist/src/components/Tabs/components/TabPanel/TabPanel.stories.js.map +1 -0
- package/dist/src/components/Tabs/components/TabPanel/index.js +2 -0
- package/dist/src/components/Tabs/components/TabPanel/index.js.map +1 -0
- package/dist/src/components/Tabs/components/TabsContainer/TabsContainer.js +11 -0
- package/dist/src/components/Tabs/components/TabsContainer/TabsContainer.js.map +1 -0
- package/dist/src/components/Tabs/components/TabsContainer/TabsContainer.stories.js +12 -0
- package/dist/src/components/Tabs/components/TabsContainer/TabsContainer.stories.js.map +1 -0
- package/dist/src/components/Tabs/components/TabsContainer/TabsContainer.style.js +9 -0
- package/dist/src/components/Tabs/components/TabsContainer/TabsContainer.style.js.map +1 -0
- package/dist/src/components/Tabs/components/TabsContainer/index.js +2 -0
- package/dist/src/components/Tabs/components/TabsContainer/index.js.map +1 -0
- package/dist/src/components/Tabs/components/index.js +5 -0
- package/dist/src/components/Tabs/components/index.js.map +1 -0
- package/dist/src/components/Tabs/constants.js +48 -0
- package/dist/src/components/Tabs/constants.js.map +1 -0
- package/dist/src/components/Tabs/index.js +4 -0
- package/dist/src/components/Tabs/index.js.map +1 -0
- package/dist/src/components/Tabs/types.js +2 -0
- package/dist/src/components/Tabs/types.js.map +1 -0
- package/dist/src/components/Tabs/utils/TabsStoryComponents.js +3 -0
- package/dist/src/components/Tabs/utils/TabsStoryComponents.js.map +1 -0
- package/dist/src/components/Tag/Tag.js +12 -0
- package/dist/src/components/Tag/Tag.js.map +1 -0
- package/dist/src/components/Tag/Tag.stories.js +91 -0
- package/dist/src/components/Tag/Tag.stories.js.map +1 -0
- package/dist/src/components/Tag/Tag.style.js +77 -0
- package/dist/src/components/Tag/Tag.style.js.map +1 -0
- package/dist/src/components/Tag/Tag.test.js +54 -0
- package/dist/src/components/Tag/Tag.test.js.map +1 -0
- package/dist/src/components/Tag/Tag.tokens.js +6 -0
- package/dist/src/components/Tag/Tag.tokens.js.map +1 -0
- package/dist/src/components/Tag/Tag.types.js +2 -0
- package/dist/src/components/Tag/Tag.types.js.map +1 -0
- package/dist/src/components/Tag/constants.js +33 -0
- package/dist/src/components/Tag/constants.js.map +1 -0
- package/dist/src/components/Tag/hooks/useGetTagUtils.js +47 -0
- package/dist/src/components/Tag/hooks/useGetTagUtils.js.map +1 -0
- package/dist/src/components/Tag/index.js +3 -0
- package/dist/src/components/Tag/index.js.map +1 -0
- package/dist/src/components/TextArea/TextArea.js +33 -0
- package/dist/src/components/TextArea/TextArea.js.map +1 -0
- package/dist/src/components/TextArea/TextArea.stories.js +110 -0
- package/dist/src/components/TextArea/TextArea.stories.js.map +1 -0
- package/dist/src/components/TextArea/TextArea.style.js +40 -0
- package/dist/src/components/TextArea/TextArea.style.js.map +1 -0
- package/dist/src/components/TextArea/index.js +3 -0
- package/dist/src/components/TextArea/index.js.map +1 -0
- package/dist/src/components/TextField/TextField.js +47 -0
- package/dist/src/components/TextField/TextField.js.map +1 -0
- package/dist/src/components/TextField/TextField.stories.js +125 -0
- package/dist/src/components/TextField/TextField.stories.js.map +1 -0
- package/dist/src/components/TextField/TextField.style.js +22 -0
- package/dist/src/components/TextField/TextField.style.js.map +1 -0
- package/dist/src/components/TextField/TextField.test.js +56 -0
- package/dist/src/components/TextField/TextField.test.js.map +1 -0
- package/dist/src/components/TextField/components/commons.js +4 -0
- package/dist/src/components/TextField/components/commons.js.map +1 -0
- package/dist/src/components/TextField/index.js +3 -0
- package/dist/src/components/TextField/index.js.map +1 -0
- package/dist/src/components/TextInputBase/TextInputBase.js +22 -0
- package/dist/src/components/TextInputBase/TextInputBase.js.map +1 -0
- package/dist/src/components/TextInputBase/TextInputBase.style.js +163 -0
- package/dist/src/components/TextInputBase/TextInputBase.style.js.map +1 -0
- package/dist/src/components/TextInputBase/TextInputBase.tokens.js +6 -0
- package/dist/src/components/TextInputBase/TextInputBase.tokens.js.map +1 -0
- package/dist/src/components/TextInputBase/index.js +3 -0
- package/dist/src/components/TextInputBase/index.js.map +1 -0
- package/dist/src/components/ThemeProvider/Test.js +6 -0
- package/dist/src/components/ThemeProvider/Test.js.map +1 -0
- package/dist/src/components/ThemeProvider/ThemeProvider.js +24 -0
- package/dist/src/components/ThemeProvider/ThemeProvider.js.map +1 -0
- package/dist/src/components/ThemeProvider/ThemeProvider.stories.js +13 -0
- package/dist/src/components/ThemeProvider/ThemeProvider.stories.js.map +1 -0
- package/dist/src/components/ThemeProvider/ThemeProvider.style.js +71 -0
- package/dist/src/components/ThemeProvider/ThemeProvider.style.js.map +1 -0
- package/dist/src/components/ThemeProvider/ThemeProvider.test.js +24 -0
- package/dist/src/components/ThemeProvider/ThemeProvider.test.js.map +1 -0
- package/dist/src/components/ThemeProvider/index.js +3 -0
- package/dist/src/components/ThemeProvider/index.js.map +1 -0
- package/dist/src/components/Toast/Toast.js +22 -0
- package/dist/src/components/Toast/Toast.js.map +1 -0
- package/dist/src/components/Toast/Toast.style.js +68 -0
- package/dist/src/components/Toast/Toast.style.js.map +1 -0
- package/dist/src/components/Toast/Toast.test.js +38 -0
- package/dist/src/components/Toast/Toast.test.js.map +1 -0
- package/dist/src/components/Toast/index.js +3 -0
- package/dist/src/components/Toast/index.js.map +1 -0
- package/dist/src/components/Tooltip/Tooltip.js +11 -0
- package/dist/src/components/Tooltip/Tooltip.js.map +1 -0
- package/dist/src/components/Tooltip/Tooltip.stories.js +89 -0
- package/dist/src/components/Tooltip/Tooltip.stories.js.map +1 -0
- package/dist/src/components/Tooltip/Tooltip.style.js +32 -0
- package/dist/src/components/Tooltip/Tooltip.style.js.map +1 -0
- package/dist/src/components/Tooltip/Tooltip.types.js +2 -0
- package/dist/src/components/Tooltip/Tooltip.types.js.map +1 -0
- package/dist/src/components/Tooltip/index.js +4 -0
- package/dist/src/components/Tooltip/index.js.map +1 -0
- package/dist/src/components/Tooltip/utils.js +9 -0
- package/dist/src/components/Tooltip/utils.js.map +1 -0
- package/dist/src/components/TopAppBar/TopAppBar.js +11 -0
- package/dist/src/components/TopAppBar/TopAppBar.js.map +1 -0
- package/dist/src/components/TopAppBar/TopAppBar.stories.js +69 -0
- package/dist/src/components/TopAppBar/TopAppBar.stories.js.map +1 -0
- package/dist/src/components/TopAppBar/TopAppBar.style.js +41 -0
- package/dist/src/components/TopAppBar/TopAppBar.style.js.map +1 -0
- package/dist/src/components/TopAppBar/TopAppBar.test.js +37 -0
- package/dist/src/components/TopAppBar/TopAppBar.test.js.map +1 -0
- package/dist/src/components/TopAppBar/TopAppBar.types.js +2 -0
- package/dist/src/components/TopAppBar/TopAppBar.types.js.map +1 -0
- package/dist/src/components/TopAppBar/components/Logo/Logo.style.js +24 -0
- package/dist/src/components/TopAppBar/components/Logo/Logo.style.js.map +1 -0
- package/dist/src/components/TopAppBar/components/Logo/Logo.wrapper.js +6 -0
- package/dist/src/components/TopAppBar/components/Logo/Logo.wrapper.js.map +1 -0
- package/dist/src/components/TopAppBar/components/Logo/index.js +3 -0
- package/dist/src/components/TopAppBar/components/Logo/index.js.map +1 -0
- package/dist/src/components/TopAppBar/components/Search/Search.js +13 -0
- package/dist/src/components/TopAppBar/components/Search/Search.js.map +1 -0
- package/dist/src/components/TopAppBar/components/Search/Search.style.js +60 -0
- package/dist/src/components/TopAppBar/components/Search/Search.style.js.map +1 -0
- package/dist/src/components/TopAppBar/components/Search/index.js +3 -0
- package/dist/src/components/TopAppBar/components/Search/index.js.map +1 -0
- package/dist/src/components/TopAppBar/components/SidebarMenuIcon/SidebarMenuIcon.js +10 -0
- package/dist/src/components/TopAppBar/components/SidebarMenuIcon/SidebarMenuIcon.js.map +1 -0
- package/dist/src/components/TopAppBar/components/SidebarMenuIcon/SidebarMenuIcon.style.js +9 -0
- package/dist/src/components/TopAppBar/components/SidebarMenuIcon/SidebarMenuIcon.style.js.map +1 -0
- package/dist/src/components/TopAppBar/components/SidebarMenuIcon/index.js +3 -0
- package/dist/src/components/TopAppBar/components/SidebarMenuIcon/index.js.map +1 -0
- package/dist/src/components/TopAppBar/components/UserMenu/UserMenu.js +17 -0
- package/dist/src/components/TopAppBar/components/UserMenu/UserMenu.js.map +1 -0
- package/dist/src/components/TopAppBar/components/UserMenu/UserMenu.style.js +8 -0
- package/dist/src/components/TopAppBar/components/UserMenu/UserMenu.style.js.map +1 -0
- package/dist/src/components/TopAppBar/components/UserMenu/index.js +3 -0
- package/dist/src/components/TopAppBar/components/UserMenu/index.js.map +1 -0
- package/dist/src/components/TopAppBar/components/index.js +7 -0
- package/dist/src/components/TopAppBar/components/index.js.map +1 -0
- package/dist/src/components/TopAppBar/index.js +4 -0
- package/dist/src/components/TopAppBar/index.js.map +1 -0
- package/dist/src/components/TruncatedContent/TruncatedContent.js +30 -0
- package/dist/src/components/TruncatedContent/TruncatedContent.js.map +1 -0
- package/dist/src/components/TruncatedContent/TruncatedContent.stories.js +44 -0
- package/dist/src/components/TruncatedContent/TruncatedContent.stories.js.map +1 -0
- package/dist/src/components/TruncatedContent/TruncatedContent.style.js +7 -0
- package/dist/src/components/TruncatedContent/TruncatedContent.style.js.map +1 -0
- package/dist/src/components/TruncatedContent/TruncatedContent.test.js +39 -0
- package/dist/src/components/TruncatedContent/TruncatedContent.test.js.map +1 -0
- package/dist/src/components/TruncatedContent/index.js +3 -0
- package/dist/src/components/TruncatedContent/index.js.map +1 -0
- package/dist/src/components/Typography/Typography.config.styles.js +21 -0
- package/dist/src/components/Typography/Typography.config.styles.js.map +1 -0
- package/dist/src/components/Typography/Typography.js +39 -0
- package/dist/src/components/Typography/Typography.js.map +1 -0
- package/dist/src/components/Typography/Typography.stories.js +43 -0
- package/dist/src/components/Typography/Typography.stories.js.map +1 -0
- package/dist/src/components/Typography/Typography.style.js +34 -0
- package/dist/src/components/Typography/Typography.style.js.map +1 -0
- package/dist/src/components/Typography/index.js +3 -0
- package/dist/src/components/Typography/index.js.map +1 -0
- package/dist/src/components/Typography/utils.js +12 -0
- package/dist/src/components/Typography/utils.js.map +1 -0
- package/dist/src/components/storyUtils/BarChartShowCase/BarChartShowCase.js +47 -0
- package/dist/src/components/storyUtils/BarChartShowCase/BarChartShowCase.js.map +1 -0
- package/dist/src/components/storyUtils/BarChartShowCase/index.js +2 -0
- package/dist/src/components/storyUtils/BarChartShowCase/index.js.map +1 -0
- package/dist/src/components/storyUtils/BreadcrumbShowcase/BreadcrumbShowcase.js +29 -0
- package/dist/src/components/storyUtils/BreadcrumbShowcase/BreadcrumbShowcase.js.map +1 -0
- package/dist/src/components/storyUtils/BreadcrumbShowcase/index.js +2 -0
- package/dist/src/components/storyUtils/BreadcrumbShowcase/index.js.map +1 -0
- package/dist/src/components/storyUtils/Breakpoints/Breakpoints.js +14 -0
- package/dist/src/components/storyUtils/Breakpoints/Breakpoints.js.map +1 -0
- package/dist/src/components/storyUtils/Breakpoints/index.js +2 -0
- package/dist/src/components/storyUtils/Breakpoints/index.js.map +1 -0
- package/dist/src/components/storyUtils/ButtonShowcases/ButtonShowcase.js +8 -0
- package/dist/src/components/storyUtils/ButtonShowcases/ButtonShowcase.js.map +1 -0
- package/dist/src/components/storyUtils/ButtonShowcases/LoadingButtonShowcase.js +25 -0
- package/dist/src/components/storyUtils/ButtonShowcases/LoadingButtonShowcase.js.map +1 -0
- package/dist/src/components/storyUtils/ButtonShowcases/index.js +3 -0
- package/dist/src/components/storyUtils/ButtonShowcases/index.js.map +1 -0
- package/dist/src/components/storyUtils/CardShowcase/CardShowcase.js +9 -0
- package/dist/src/components/storyUtils/CardShowcase/CardShowcase.js.map +1 -0
- package/dist/src/components/storyUtils/CardShowcase/CardShowcase.style.js +9 -0
- package/dist/src/components/storyUtils/CardShowcase/CardShowcase.style.js.map +1 -0
- package/dist/src/components/storyUtils/CardShowcase/index.js +2 -0
- package/dist/src/components/storyUtils/CardShowcase/index.js.map +1 -0
- package/dist/src/components/storyUtils/ColorUtility/ColorBox.js +9 -0
- package/dist/src/components/storyUtils/ColorUtility/ColorBox.js.map +1 -0
- package/dist/src/components/storyUtils/ColorUtility/ColorUtility.js +25 -0
- package/dist/src/components/storyUtils/ColorUtility/ColorUtility.js.map +1 -0
- package/dist/src/components/storyUtils/ColorUtility/ColorUtility.style.js +26 -0
- package/dist/src/components/storyUtils/ColorUtility/ColorUtility.style.js.map +1 -0
- package/dist/src/components/storyUtils/ColorUtility/RangeInput.js +8 -0
- package/dist/src/components/storyUtils/ColorUtility/RangeInput.js.map +1 -0
- package/dist/src/components/storyUtils/ColorUtility/index.js +1 -0
- package/dist/src/components/storyUtils/ColorUtility/index.js.map +1 -0
- package/dist/src/components/storyUtils/ColorUtility/useColors.js +43 -0
- package/dist/src/components/storyUtils/ColorUtility/useColors.js.map +1 -0
- package/dist/src/components/storyUtils/ColorUtility/utils.js +9 -0
- package/dist/src/components/storyUtils/ColorUtility/utils.js.map +1 -0
- package/dist/src/components/storyUtils/DonutChartShowCase/DonutChartShowCase.js +14 -0
- package/dist/src/components/storyUtils/DonutChartShowCase/DonutChartShowCase.js.map +1 -0
- package/dist/src/components/storyUtils/DonutChartShowCase/index.js +2 -0
- package/dist/src/components/storyUtils/DonutChartShowCase/index.js.map +1 -0
- package/dist/src/components/storyUtils/EdgeCasesSelectShowcase/EdgeCasesSelectShowcase.js +25 -0
- package/dist/src/components/storyUtils/EdgeCasesSelectShowcase/EdgeCasesSelectShowcase.js.map +1 -0
- package/dist/src/components/storyUtils/EdgeCasesSelectShowcase/EdgeCasesSelectShowcase.style.js +9 -0
- package/dist/src/components/storyUtils/EdgeCasesSelectShowcase/EdgeCasesSelectShowcase.style.js.map +1 -0
- package/dist/src/components/storyUtils/EdgeCasesSelectShowcase/index.js +2 -0
- package/dist/src/components/storyUtils/EdgeCasesSelectShowcase/index.js.map +1 -0
- package/dist/src/components/storyUtils/IconographyShowcase/IconographyShowcase.js +52 -0
- package/dist/src/components/storyUtils/IconographyShowcase/IconographyShowcase.js.map +1 -0
- package/dist/src/components/storyUtils/IconographyShowcase/index.js +2 -0
- package/dist/src/components/storyUtils/IconographyShowcase/index.js.map +1 -0
- package/dist/src/components/storyUtils/LabelConfigStoryComponents.js +3 -0
- package/dist/src/components/storyUtils/LabelConfigStoryComponents.js.map +1 -0
- package/dist/src/components/storyUtils/ModalShowcase/ModalShowcase.js +10 -0
- package/dist/src/components/storyUtils/ModalShowcase/ModalShowcase.js.map +1 -0
- package/dist/src/components/storyUtils/ModalShowcase/index.js +2 -0
- package/dist/src/components/storyUtils/ModalShowcase/index.js.map +1 -0
- package/dist/src/components/storyUtils/NavigationShowcase/MenuItems.js +100 -0
- package/dist/src/components/storyUtils/NavigationShowcase/MenuItems.js.map +1 -0
- package/dist/src/components/storyUtils/NavigationShowcase/NavigationShowcase.js +25 -0
- package/dist/src/components/storyUtils/NavigationShowcase/NavigationShowcase.js.map +1 -0
- package/dist/src/components/storyUtils/NavigationShowcase/index.js +2 -0
- package/dist/src/components/storyUtils/NavigationShowcase/index.js.map +1 -0
- package/dist/src/components/storyUtils/NotificationShowcase/NotificationShowcase.js +17 -0
- package/dist/src/components/storyUtils/NotificationShowcase/NotificationShowcase.js.map +1 -0
- package/dist/src/components/storyUtils/NotificationShowcase/index.js +3 -0
- package/dist/src/components/storyUtils/NotificationShowcase/index.js.map +1 -0
- package/dist/src/components/storyUtils/PaletteShowcase/PaletteShowcase.js +59 -0
- package/dist/src/components/storyUtils/PaletteShowcase/PaletteShowcase.js.map +1 -0
- package/dist/src/components/storyUtils/PaletteShowcase/PaletteShowcase.style.js +64 -0
- package/dist/src/components/storyUtils/PaletteShowcase/PaletteShowcase.style.js.map +1 -0
- package/dist/src/components/storyUtils/PaletteShowcase/PaletteShowcase.test.js +10 -0
- package/dist/src/components/storyUtils/PaletteShowcase/PaletteShowcase.test.js.map +1 -0
- package/dist/src/components/storyUtils/PaletteShowcase/index.js +2 -0
- package/dist/src/components/storyUtils/PaletteShowcase/index.js.map +1 -0
- package/dist/src/components/storyUtils/PresentComponent/PresentComponent.js +21 -0
- package/dist/src/components/storyUtils/PresentComponent/PresentComponent.js.map +1 -0
- package/dist/src/components/storyUtils/PresentComponent/index.js +2 -0
- package/dist/src/components/storyUtils/PresentComponent/index.js.map +1 -0
- package/dist/src/components/storyUtils/SelectShowcase/MultiSelectShowcase.js +48 -0
- package/dist/src/components/storyUtils/SelectShowcase/MultiSelectShowcase.js.map +1 -0
- package/dist/src/components/storyUtils/SelectShowcase/MultiSelectShowcase.style.js +14 -0
- package/dist/src/components/storyUtils/SelectShowcase/MultiSelectShowcase.style.js.map +1 -0
- package/dist/src/components/storyUtils/SelectShowcase/SelectShowcase.js +31 -0
- package/dist/src/components/storyUtils/SelectShowcase/SelectShowcase.js.map +1 -0
- package/dist/src/components/storyUtils/SelectShowcase/index.js +3 -0
- package/dist/src/components/storyUtils/SelectShowcase/index.js.map +1 -0
- package/dist/src/components/storyUtils/SliderShowcase/SliderShowcase.js +12 -0
- package/dist/src/components/storyUtils/SliderShowcase/SliderShowcase.js.map +1 -0
- package/dist/src/components/storyUtils/SliderShowcase/index.js +2 -0
- package/dist/src/components/storyUtils/SliderShowcase/index.js.map +1 -0
- package/dist/src/components/storyUtils/Stack/Stack.js +18 -0
- package/dist/src/components/storyUtils/Stack/Stack.js.map +1 -0
- package/dist/src/components/storyUtils/Stack/index.js +2 -0
- package/dist/src/components/storyUtils/Stack/index.js.map +1 -0
- package/dist/src/components/storyUtils/TableFilterShowcase/TableFilterShowcase.js +36 -0
- package/dist/src/components/storyUtils/TableFilterShowcase/TableFilterShowcase.js.map +1 -0
- package/dist/src/components/storyUtils/TableFilterShowcase/db.json +234 -0
- package/dist/src/components/storyUtils/TableFilterShowcase/index.js +2 -0
- package/dist/src/components/storyUtils/TableFilterShowcase/index.js.map +1 -0
- package/dist/src/components/storyUtils/TextFieldShowcases/MultiTextFieldShowcase.js +38 -0
- package/dist/src/components/storyUtils/TextFieldShowcases/MultiTextFieldShowcase.js.map +1 -0
- package/dist/src/components/storyUtils/TextFieldShowcases/TextFieldShowCase.js +21 -0
- package/dist/src/components/storyUtils/TextFieldShowcases/TextFieldShowCase.js.map +1 -0
- package/dist/src/components/storyUtils/TextFieldShowcases/index.js +3 -0
- package/dist/src/components/storyUtils/TextFieldShowcases/index.js.map +1 -0
- package/dist/src/components/storyUtils/ThemeWrapper/ThemeWrapper.js +10 -0
- package/dist/src/components/storyUtils/ThemeWrapper/ThemeWrapper.js.map +1 -0
- package/dist/src/components/storyUtils/ThemeWrapper/index.js +2 -0
- package/dist/src/components/storyUtils/ThemeWrapper/index.js.map +1 -0
- package/dist/src/components/storyUtils/TooltipShowcase/TooltipShowcase.js +9 -0
- package/dist/src/components/storyUtils/TooltipShowcase/TooltipShowcase.js.map +1 -0
- package/dist/src/components/storyUtils/TooltipShowcase/components/TooltipContent/TooltipContent.js +9 -0
- package/dist/src/components/storyUtils/TooltipShowcase/components/TooltipContent/TooltipContent.js.map +1 -0
- package/dist/src/components/storyUtils/TooltipShowcase/components/TooltipContent/TooltipContent.style.js +30 -0
- package/dist/src/components/storyUtils/TooltipShowcase/components/TooltipContent/TooltipContent.style.js.map +1 -0
- package/dist/src/components/storyUtils/TooltipShowcase/components/TooltipContent/index.js +2 -0
- package/dist/src/components/storyUtils/TooltipShowcase/components/TooltipContent/index.js.map +1 -0
- package/dist/src/components/storyUtils/TooltipShowcase/index.js +2 -0
- package/dist/src/components/storyUtils/TooltipShowcase/index.js.map +1 -0
- package/dist/src/components/storyUtils/TopAppBarShowcase.js +27 -0
- package/dist/src/components/storyUtils/TopAppBarShowcase.js.map +1 -0
- package/dist/src/components/storyUtils/componentsForTypes.js +7 -0
- package/dist/src/components/storyUtils/componentsForTypes.js.map +1 -0
- package/dist/src/components/utils/ClickAwayListener/ClickAwayListener.js +22 -0
- package/dist/src/components/utils/ClickAwayListener/ClickAwayListener.js.map +1 -0
- package/dist/src/components/utils/ClickAwayListener/index.js +2 -0
- package/dist/src/components/utils/ClickAwayListener/index.js.map +1 -0
- package/dist/src/components/utils/DropdownOptions/index.js +20 -0
- package/dist/src/components/utils/DropdownOptions/index.js.map +1 -0
- package/dist/src/components/utils/PositionInScreen/PositionInScreen.js +14 -0
- package/dist/src/components/utils/PositionInScreen/PositionInScreen.js.map +1 -0
- package/dist/src/components/utils/PositionInScreen/PositionInScreen.style.js +24 -0
- package/dist/src/components/utils/PositionInScreen/PositionInScreen.style.js.map +1 -0
- package/dist/src/components/utils/PositionInScreen/hooks.js +118 -0
- package/dist/src/components/utils/PositionInScreen/hooks.js.map +1 -0
- package/dist/src/components/utils/PositionInScreen/index.js +2 -0
- package/dist/src/components/utils/PositionInScreen/index.js.map +1 -0
- package/dist/src/components/utils/PositionInScreen/utils.js +15 -0
- package/dist/src/components/utils/PositionInScreen/utils.js.map +1 -0
- package/dist/src/components/utils/Slots.js +96 -0
- package/dist/src/components/utils/Slots.js.map +1 -0
- package/dist/src/components/utils/handleSearch.js +15 -0
- package/dist/src/components/utils/handleSearch.js.map +1 -0
- package/dist/src/components/utils/tests/Slots.test.js +58 -0
- package/dist/src/components/utils/tests/Slots.test.js.map +1 -0
- package/dist/src/components/utils/useDOMRef.js +42 -0
- package/dist/src/components/utils/useDOMRef.js.map +1 -0
- package/dist/src/hooks/__tests__/useSearchQueryParams.test.js +23 -0
- package/dist/src/hooks/__tests__/useSearchQueryParams.test.js.map +1 -0
- package/dist/src/hooks/index.js +2 -0
- package/dist/src/hooks/index.js.map +1 -0
- package/dist/src/hooks/storyUtils/DemoUseSearchQueryParams.js +15 -0
- package/dist/src/hooks/storyUtils/DemoUseSearchQueryParams.js.map +1 -0
- package/dist/src/hooks/useBreakpoints.js +40 -0
- package/dist/src/hooks/useBreakpoints.js.map +1 -0
- package/dist/src/hooks/useBreakpoints.test.js +30 -0
- package/dist/src/hooks/useBreakpoints.test.js.map +1 -0
- package/dist/src/hooks/useCheck.js +15 -0
- package/dist/src/hooks/useCheck.js.map +1 -0
- package/dist/src/hooks/useCombinedRefs.js +20 -0
- package/dist/src/hooks/useCombinedRefs.js.map +1 -0
- package/dist/src/hooks/useElementSize.js +31 -0
- package/dist/src/hooks/useElementSize.js.map +1 -0
- package/dist/src/hooks/useEscape.js +16 -0
- package/dist/src/hooks/useEscape.js.map +1 -0
- package/dist/src/hooks/useEventListener.js +26 -0
- package/dist/src/hooks/useEventListener.js.map +1 -0
- package/dist/src/hooks/useFieldUtils.js +36 -0
- package/dist/src/hooks/useFieldUtils.js.map +1 -0
- package/dist/src/hooks/useIsoMorphicLayoutEffect.js +4 -0
- package/dist/src/hooks/useIsoMorphicLayoutEffect.js.map +1 -0
- package/dist/src/hooks/useKeyboardEvents.js +58 -0
- package/dist/src/hooks/useKeyboardEvents.js.map +1 -0
- package/dist/src/hooks/useLoading.js +14 -0
- package/dist/src/hooks/useLoading.js.map +1 -0
- package/dist/src/hooks/useLocationToGetCurrentMenuItem.js +21 -0
- package/dist/src/hooks/useLocationToGetCurrentMenuItem.js.map +1 -0
- package/dist/src/hooks/usePagination.js +47 -0
- package/dist/src/hooks/usePagination.js.map +1 -0
- package/dist/src/hooks/useSearchQueryParams.js +13 -0
- package/dist/src/hooks/useSearchQueryParams.js.map +1 -0
- package/dist/src/hooks/useSearchQueryParams.stories.js +23 -0
- package/dist/src/hooks/useSearchQueryParams.stories.js.map +1 -0
- package/dist/src/hooks/useTheme.js +6 -0
- package/dist/src/hooks/useTheme.js.map +1 -0
- package/dist/src/hooks/useThemeSwitch.js +23 -0
- package/dist/src/hooks/useThemeSwitch.js.map +1 -0
- package/dist/src/hooks/useToggle.js +10 -0
- package/dist/src/hooks/useToggle.js.map +1 -0
- package/dist/src/hooks/useTypeColorToColorMatch.js +65 -0
- package/dist/src/hooks/useTypeColorToColorMatch.js.map +1 -0
- package/dist/src/index.js +125 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/storybook/Alert/Alert.js +16 -0
- package/dist/src/storybook/Alert/Alert.js.map +1 -0
- package/dist/src/storybook/Alert/index.js +2 -0
- package/dist/src/storybook/Alert/index.js.map +1 -0
- package/dist/src/storybook/Link/Link.js +10 -0
- package/dist/src/storybook/Link/Link.js.map +1 -0
- package/dist/src/storybook/Link/Link.style.js +15 -0
- package/dist/src/storybook/Link/Link.style.js.map +1 -0
- package/dist/src/storybook/Link/index.js +3 -0
- package/dist/src/storybook/Link/index.js.map +1 -0
- package/dist/src/storybook/Note/Note.js +8 -0
- package/dist/src/storybook/Note/Note.js.map +1 -0
- package/dist/src/storybook/Note/Note.style.js +23 -0
- package/dist/src/storybook/Note/Note.style.js.map +1 -0
- package/dist/src/storybook/Note/index.js +2 -0
- package/dist/src/storybook/Note/index.js.map +1 -0
- package/dist/src/storybook/Overview/Overview.js +8 -0
- package/dist/src/storybook/Overview/Overview.js.map +1 -0
- package/dist/src/storybook/Overview/Overview.style.js +5 -0
- package/dist/src/storybook/Overview/Overview.style.js.map +1 -0
- package/dist/src/storybook/Overview/index.js +2 -0
- package/dist/src/storybook/Overview/index.js.map +1 -0
- package/dist/src/storybook/Preview/Preview.js +13 -0
- package/dist/src/storybook/Preview/Preview.js.map +1 -0
- package/dist/src/storybook/Preview/Preview.style.js +3 -0
- package/dist/src/storybook/Preview/Preview.style.js.map +1 -0
- package/dist/src/storybook/Preview/index.js +3 -0
- package/dist/src/storybook/Preview/index.js.map +1 -0
- package/dist/src/storybook/SectionHeader/SectionHeader.js +12 -0
- package/dist/src/storybook/SectionHeader/SectionHeader.js.map +1 -0
- package/dist/src/storybook/SectionHeader/SectionHeader.style.js +27 -0
- package/dist/src/storybook/SectionHeader/SectionHeader.style.js.map +1 -0
- package/dist/src/storybook/SectionHeader/index.js +3 -0
- package/dist/src/storybook/SectionHeader/index.js.map +1 -0
- package/dist/src/storybook/Showcases/BorderWidthShowcase/BorderWidthShowcase.js +26 -0
- package/dist/src/storybook/Showcases/BorderWidthShowcase/BorderWidthShowcase.js.map +1 -0
- package/dist/src/storybook/Showcases/BorderWidthShowcase/index.js +2 -0
- package/dist/src/storybook/Showcases/BorderWidthShowcase/index.js.map +1 -0
- package/dist/src/storybook/Showcases/BoxShadowShowcase/BoxShadowShowcase.js +24 -0
- package/dist/src/storybook/Showcases/BoxShadowShowcase/BoxShadowShowcase.js.map +1 -0
- package/dist/src/storybook/Showcases/BoxShadowShowcase/index.js +2 -0
- package/dist/src/storybook/Showcases/BoxShadowShowcase/index.js.map +1 -0
- package/dist/src/storybook/Showcases/LayoutShowcase/LayoutShowcase.js +13 -0
- package/dist/src/storybook/Showcases/LayoutShowcase/LayoutShowcase.js.map +1 -0
- package/dist/src/storybook/Showcases/LayoutShowcase/LayoutShowcase.style.js +59 -0
- package/dist/src/storybook/Showcases/LayoutShowcase/LayoutShowcase.style.js.map +1 -0
- package/dist/src/storybook/Showcases/LayoutShowcase/index.js +2 -0
- package/dist/src/storybook/Showcases/LayoutShowcase/index.js.map +1 -0
- package/dist/src/storybook/Showcases/MinHeightShowcase/MinHeightShowcase.js +24 -0
- package/dist/src/storybook/Showcases/MinHeightShowcase/MinHeightShowcase.js.map +1 -0
- package/dist/src/storybook/Showcases/MinHeightShowcase/index.js +2 -0
- package/dist/src/storybook/Showcases/MinHeightShowcase/index.js.map +1 -0
- package/dist/src/storybook/Showcases/OpacityShowcase/OpacityShowcase.js +24 -0
- package/dist/src/storybook/Showcases/OpacityShowcase/OpacityShowcase.js.map +1 -0
- package/dist/src/storybook/Showcases/OpacityShowcase/index.js +2 -0
- package/dist/src/storybook/Showcases/OpacityShowcase/index.js.map +1 -0
- package/dist/src/storybook/Showcases/OverviewShowcase/OverviewShowcase.js +22 -0
- package/dist/src/storybook/Showcases/OverviewShowcase/OverviewShowcase.js.map +1 -0
- package/dist/src/storybook/Showcases/OverviewShowcase/OverviewShowcase.style.js +33 -0
- package/dist/src/storybook/Showcases/OverviewShowcase/OverviewShowcase.style.js.map +1 -0
- package/dist/src/storybook/Showcases/OverviewShowcase/index.js +2 -0
- package/dist/src/storybook/Showcases/OverviewShowcase/index.js.map +1 -0
- package/dist/src/storybook/Showcases/RadiusShowcase/RadiusShowcase.js +32 -0
- package/dist/src/storybook/Showcases/RadiusShowcase/RadiusShowcase.js.map +1 -0
- package/dist/src/storybook/Showcases/RadiusShowcase/index.js +2 -0
- package/dist/src/storybook/Showcases/RadiusShowcase/index.js.map +1 -0
- package/dist/src/storybook/Showcases/SizingShowcase/SizingShowcase.js +31 -0
- package/dist/src/storybook/Showcases/SizingShowcase/SizingShowcase.js.map +1 -0
- package/dist/src/storybook/Showcases/SizingShowcase/index.js +2 -0
- package/dist/src/storybook/Showcases/SizingShowcase/index.js.map +1 -0
- package/dist/src/storybook/Showcases/SpacingSizingShowcase/SpacingSizingShowcase.js +51 -0
- package/dist/src/storybook/Showcases/SpacingSizingShowcase/SpacingSizingShowcase.js.map +1 -0
- package/dist/src/storybook/Showcases/SpacingSizingShowcase/SpacingSizingShowcase.style.js +1 -0
- package/dist/src/storybook/Showcases/SpacingSizingShowcase/SpacingSizingShowcase.style.js.map +1 -0
- package/dist/src/storybook/Showcases/SpacingSizingShowcase/index.js +2 -0
- package/dist/src/storybook/Showcases/SpacingSizingShowcase/index.js.map +1 -0
- package/dist/src/storybook/Showcases/StateShowcase/StateShowcase.js +22 -0
- package/dist/src/storybook/Showcases/StateShowcase/StateShowcase.js.map +1 -0
- package/dist/src/storybook/Showcases/StateShowcase/index.js +2 -0
- package/dist/src/storybook/Showcases/StateShowcase/index.js.map +1 -0
- package/dist/src/storybook/Showcases/TagShowcase/TagShowcase.js +19 -0
- package/dist/src/storybook/Showcases/TagShowcase/TagShowcase.js.map +1 -0
- package/dist/src/storybook/Showcases/TagShowcase/index.js +2 -0
- package/dist/src/storybook/Showcases/TagShowcase/index.js.map +1 -0
- package/dist/src/storybook/Showcases/TextColorShowcase/TextColorShowcase.js +29 -0
- package/dist/src/storybook/Showcases/TextColorShowcase/TextColorShowcase.js.map +1 -0
- package/dist/src/storybook/Showcases/TextColorShowcase/TextColorShowcase.style.js +32 -0
- package/dist/src/storybook/Showcases/TextColorShowcase/TextColorShowcase.style.js.map +1 -0
- package/dist/src/storybook/Showcases/TextColorShowcase/index.js +2 -0
- package/dist/src/storybook/Showcases/TextColorShowcase/index.js.map +1 -0
- package/dist/src/storybook/Showcases/TokenColorsShowcase/TokenColorsShowcase.js +35 -0
- package/dist/src/storybook/Showcases/TokenColorsShowcase/TokenColorsShowcase.js.map +1 -0
- package/dist/src/storybook/Showcases/TokenColorsShowcase/TokenColorsShowcase.style.js +33 -0
- package/dist/src/storybook/Showcases/TokenColorsShowcase/TokenColorsShowcase.style.js.map +1 -0
- package/dist/src/storybook/Showcases/TokenColorsShowcase/index.js +3 -0
- package/dist/src/storybook/Showcases/TokenColorsShowcase/index.js.map +1 -0
- package/dist/src/storybook/Showcases/TokenColorsShowcase/utils.js +41 -0
- package/dist/src/storybook/Showcases/TokenColorsShowcase/utils.js.map +1 -0
- package/dist/src/storybook/Showcases/TypographyTokensShowcase/TypographyTokensShowcase.js +13 -0
- package/dist/src/storybook/Showcases/TypographyTokensShowcase/TypographyTokensShowcase.js.map +1 -0
- package/dist/src/storybook/Showcases/TypographyTokensShowcase/TypographyTokensShowcase.style.js +78 -0
- package/dist/src/storybook/Showcases/TypographyTokensShowcase/TypographyTokensShowcase.style.js.map +1 -0
- package/dist/src/storybook/Showcases/TypographyTokensShowcase/index.js +2 -0
- package/dist/src/storybook/Showcases/TypographyTokensShowcase/index.js.map +1 -0
- package/dist/src/storybook/SubsectionHeader/SubsectionHeader.js +9 -0
- package/dist/src/storybook/SubsectionHeader/SubsectionHeader.js.map +1 -0
- package/dist/src/storybook/SubsectionHeader/SubsectionHeader.style.js +5 -0
- package/dist/src/storybook/SubsectionHeader/SubsectionHeader.style.js.map +1 -0
- package/dist/src/storybook/SubsectionHeader/index.js +2 -0
- package/dist/src/storybook/SubsectionHeader/index.js.map +1 -0
- package/dist/src/storybook/Tip/Tip.js +12 -0
- package/dist/src/storybook/Tip/Tip.js.map +1 -0
- package/dist/src/storybook/Tip/Tip.style.js +27 -0
- package/dist/src/storybook/Tip/Tip.style.js.map +1 -0
- package/dist/src/storybook/Tip/index.js +3 -0
- package/dist/src/storybook/Tip/index.js.map +1 -0
- package/dist/src/storybook/Typography/Typography.js +10 -0
- package/dist/src/storybook/Typography/Typography.js.map +1 -0
- package/dist/src/storybook/Typography/Typography.style.js +22 -0
- package/dist/src/storybook/Typography/Typography.style.js.map +1 -0
- package/dist/src/storybook/Typography/constants.js +19 -0
- package/dist/src/storybook/Typography/constants.js.map +1 -0
- package/dist/src/storybook/Typography/index.js +3 -0
- package/dist/src/storybook/Typography/index.js.map +1 -0
- package/dist/src/storybook/UsageGuidelines/UsageGuidelines.js +15 -0
- package/dist/src/storybook/UsageGuidelines/UsageGuidelines.js.map +1 -0
- package/dist/src/storybook/UsageGuidelines/UsageGuidelines.style.js +17 -0
- package/dist/src/storybook/UsageGuidelines/UsageGuidelines.style.js.map +1 -0
- package/dist/src/storybook/UsageGuidelines/index.js +2 -0
- package/dist/src/storybook/UsageGuidelines/index.js.map +1 -0
- package/dist/src/storybook/index.js +9 -0
- package/dist/src/storybook/index.js.map +1 -0
- package/dist/src/storybook/styles/OverviewCard.style.js +15 -0
- package/dist/src/storybook/styles/OverviewCard.style.js.map +1 -0
- package/dist/src/storybook.test.js +79 -0
- package/dist/src/storybook.test.js.map +1 -0
- package/dist/src/test/index.js +2 -0
- package/dist/src/test/index.js.map +1 -0
- package/dist/src/test/setup.js +43 -0
- package/dist/src/test/setup.js.map +1 -0
- package/dist/src/test/utils.js +18 -0
- package/dist/src/test/utils.js.map +1 -0
- package/dist/src/theme/dimension/borderRadius.js +7 -0
- package/dist/src/theme/dimension/borderRadius.js.map +1 -0
- package/dist/src/theme/dimension/borderWidth.js +7 -0
- package/dist/src/theme/dimension/borderWidth.js.map +1 -0
- package/dist/src/theme/dimension/index.js +18 -0
- package/dist/src/theme/dimension/index.js.map +1 -0
- package/dist/src/theme/dimension/minHeight.js +7 -0
- package/dist/src/theme/dimension/minHeight.js.map +1 -0
- package/dist/src/theme/dimension/opacity.js +7 -0
- package/dist/src/theme/dimension/opacity.js.map +1 -0
- package/dist/src/theme/dimension/sizing.js +7 -0
- package/dist/src/theme/dimension/sizing.js.map +1 -0
- package/dist/src/theme/dimension/spacing.js +7 -0
- package/dist/src/theme/dimension/spacing.js.map +1 -0
- package/dist/src/theme/dimension/state.js +7 -0
- package/dist/src/theme/dimension/state.js.map +1 -0
- package/dist/src/theme/dimension/variables/borderRadius.js +29 -0
- package/dist/src/theme/dimension/variables/borderRadius.js.map +1 -0
- package/dist/src/theme/dimension/variables/borderWidth.js +24 -0
- package/dist/src/theme/dimension/variables/borderWidth.js.map +1 -0
- package/dist/src/theme/dimension/variables/minHeight.js +21 -0
- package/dist/src/theme/dimension/variables/minHeight.js.map +1 -0
- package/dist/src/theme/dimension/variables/opacity.js +19 -0
- package/dist/src/theme/dimension/variables/opacity.js.map +1 -0
- package/dist/src/theme/dimension/variables/sizing.js +31 -0
- package/dist/src/theme/dimension/variables/sizing.js.map +1 -0
- package/dist/src/theme/dimension/variables/spacing.js +44 -0
- package/dist/src/theme/dimension/variables/spacing.js.map +1 -0
- package/dist/src/theme/dimension/variables/state.js +26 -0
- package/dist/src/theme/dimension/variables/state.js.map +1 -0
- package/dist/src/theme/functions.js +69 -0
- package/dist/src/theme/functions.js.map +1 -0
- package/dist/src/theme/globals/borderRadius.js +7 -0
- package/dist/src/theme/globals/borderRadius.js.map +1 -0
- package/dist/src/theme/globals/borderWidth.js +7 -0
- package/dist/src/theme/globals/borderWidth.js.map +1 -0
- package/dist/src/theme/globals/colors.js +7 -0
- package/dist/src/theme/globals/colors.js.map +1 -0
- package/dist/src/theme/globals/constants/borderRadius.js +44 -0
- package/dist/src/theme/globals/constants/borderRadius.js.map +1 -0
- package/dist/src/theme/globals/constants/borderWidth.js +18 -0
- package/dist/src/theme/globals/constants/borderWidth.js.map +1 -0
- package/dist/src/theme/globals/constants/colors.js +296 -0
- package/dist/src/theme/globals/constants/colors.js.map +1 -0
- package/dist/src/theme/globals/constants/fontFamily.js +13 -0
- package/dist/src/theme/globals/constants/fontFamily.js.map +1 -0
- package/dist/src/theme/globals/constants/fontSize.js +45 -0
- package/dist/src/theme/globals/constants/fontSize.js.map +1 -0
- package/dist/src/theme/globals/constants/fontWeight.js +19 -0
- package/dist/src/theme/globals/constants/fontWeight.js.map +1 -0
- package/dist/src/theme/globals/constants/letterSpacing.js +20 -0
- package/dist/src/theme/globals/constants/letterSpacing.js.map +1 -0
- package/dist/src/theme/globals/constants/lineHeight.js +49 -0
- package/dist/src/theme/globals/constants/lineHeight.js.map +1 -0
- package/dist/src/theme/globals/constants/opacity.js +30 -0
- package/dist/src/theme/globals/constants/opacity.js.map +1 -0
- package/dist/src/theme/globals/constants/sizing.js +96 -0
- package/dist/src/theme/globals/constants/sizing.js.map +1 -0
- package/dist/src/theme/globals/constants/spacing.js +56 -0
- package/dist/src/theme/globals/constants/spacing.js.map +1 -0
- package/dist/src/theme/globals/constants/textCase.js +12 -0
- package/dist/src/theme/globals/constants/textCase.js.map +1 -0
- package/dist/src/theme/globals/constants/textDecoration.js +13 -0
- package/dist/src/theme/globals/constants/textDecoration.js.map +1 -0
- package/dist/src/theme/globals/elevation.js +8 -0
- package/dist/src/theme/globals/elevation.js.map +1 -0
- package/dist/src/theme/globals/index.js +22 -0
- package/dist/src/theme/globals/index.js.map +1 -0
- package/dist/src/theme/globals/oldColors.js +5 -0
- package/dist/src/theme/globals/oldColors.js.map +1 -0
- package/dist/src/theme/globals/opacity.js +7 -0
- package/dist/src/theme/globals/opacity.js.map +1 -0
- package/dist/src/theme/globals/sizing.js +7 -0
- package/dist/src/theme/globals/sizing.js.map +1 -0
- package/dist/src/theme/globals/spacing.js +7 -0
- package/dist/src/theme/globals/spacing.js.map +1 -0
- package/dist/src/theme/globals/typography.js +49 -0
- package/dist/src/theme/globals/typography.js.map +1 -0
- package/dist/src/theme/index.js +24 -0
- package/dist/src/theme/index.js.map +1 -0
- package/dist/src/theme/overrides.js +3 -0
- package/dist/src/theme/overrides.js.map +1 -0
- package/dist/src/theme/palette.config.js +76 -0
- package/dist/src/theme/palette.config.js.map +1 -0
- package/dist/src/theme/palette.js +100 -0
- package/dist/src/theme/palette.js.map +1 -0
- package/dist/src/theme/states/disabled.js +17 -0
- package/dist/src/theme/states/disabled.js.map +1 -0
- package/dist/src/theme/states/focus.js +19 -0
- package/dist/src/theme/states/focus.js.map +1 -0
- package/dist/src/theme/states/hover.js +18 -0
- package/dist/src/theme/states/hover.js.map +1 -0
- package/dist/src/theme/states/index.js +6 -0
- package/dist/src/theme/states/index.js.map +1 -0
- package/dist/src/theme/states/pressed.js +18 -0
- package/dist/src/theme/states/pressed.js.map +1 -0
- package/dist/src/theme/states/statesConfig.js +67 -0
- package/dist/src/theme/states/statesConfig.js.map +1 -0
- package/dist/src/theme/states/tests/states.test.js +81 -0
- package/dist/src/theme/states/tests/states.test.js.map +1 -0
- package/dist/src/theme/states/utils.js +13 -0
- package/dist/src/theme/states/utils.js.map +1 -0
- package/dist/src/theme/tests/utils.test.js +44 -0
- package/dist/src/theme/tests/utils.test.js.map +1 -0
- package/dist/src/theme/tokens/components/variables/avatar.js +104 -0
- package/dist/src/theme/tokens/components/variables/avatar.js.map +1 -0
- package/dist/src/theme/tokens/components/variables/button.js +28 -0
- package/dist/src/theme/tokens/components/variables/button.js.map +1 -0
- package/dist/src/theme/tokens/components/variables/controls.js +20 -0
- package/dist/src/theme/tokens/components/variables/controls.js.map +1 -0
- package/dist/src/theme/tokens/components/variables/datePicker.js +19 -0
- package/dist/src/theme/tokens/components/variables/datePicker.js.map +1 -0
- package/dist/src/theme/tokens/components/variables/field.js +94 -0
- package/dist/src/theme/tokens/components/variables/field.js.map +1 -0
- package/dist/src/theme/tokens/components/variables/filter.js +9 -0
- package/dist/src/theme/tokens/components/variables/filter.js.map +1 -0
- package/dist/src/theme/tokens/components/variables/link.js +59 -0
- package/dist/src/theme/tokens/components/variables/link.js.map +1 -0
- package/dist/src/theme/tokens/components/variables/listItem.js +14 -0
- package/dist/src/theme/tokens/components/variables/listItem.js.map +1 -0
- package/dist/src/theme/tokens/components/variables/progressIndicator.js +16 -0
- package/dist/src/theme/tokens/components/variables/progressIndicator.js.map +1 -0
- package/dist/src/theme/tokens/components/variables/search.js +11 -0
- package/dist/src/theme/tokens/components/variables/search.js.map +1 -0
- package/dist/src/theme/tokens/components/variables/tag.js +18 -0
- package/dist/src/theme/tokens/components/variables/tag.js.map +1 -0
- package/dist/src/theme/tokens/index.js +6 -0
- package/dist/src/theme/tokens/index.js.map +1 -0
- package/dist/src/theme/tokens/semantic/boxShadow.js +7 -0
- package/dist/src/theme/tokens/semantic/boxShadow.js.map +1 -0
- package/dist/src/theme/tokens/semantic/colors.js +7 -0
- package/dist/src/theme/tokens/semantic/colors.js.map +1 -0
- package/dist/src/theme/tokens/semantic/disabledState.js +7 -0
- package/dist/src/theme/tokens/semantic/disabledState.js.map +1 -0
- package/dist/src/theme/tokens/semantic/index.js +14 -0
- package/dist/src/theme/tokens/semantic/index.js.map +1 -0
- package/dist/src/theme/tokens/semantic/state.js +7 -0
- package/dist/src/theme/tokens/semantic/state.js.map +1 -0
- package/dist/src/theme/tokens/semantic/tests/constants.js +23 -0
- package/dist/src/theme/tokens/semantic/tests/constants.js.map +1 -0
- package/dist/src/theme/tokens/semantic/tests/utils.test.js +23 -0
- package/dist/src/theme/tokens/semantic/tests/utils.test.js.map +1 -0
- package/dist/src/theme/tokens/semantic/typography.js +7 -0
- package/dist/src/theme/tokens/semantic/typography.js.map +1 -0
- package/dist/src/theme/tokens/semantic/variables/boxShadow.js +72 -0
- package/dist/src/theme/tokens/semantic/variables/boxShadow.js.map +1 -0
- package/dist/src/theme/tokens/semantic/variables/colors.js +309 -0
- package/dist/src/theme/tokens/semantic/variables/colors.js.map +1 -0
- package/dist/src/theme/tokens/semantic/variables/disabledState.js +8 -0
- package/dist/src/theme/tokens/semantic/variables/disabledState.js.map +1 -0
- package/dist/src/theme/tokens/semantic/variables/state.js +25 -0
- package/dist/src/theme/tokens/semantic/variables/state.js.map +1 -0
- package/dist/src/theme/tokens/semantic/variables/typography.js +360 -0
- package/dist/src/theme/tokens/semantic/variables/typography.js.map +1 -0
- package/dist/src/theme/tokens/utils/components.js +24 -0
- package/dist/src/theme/tokens/utils/components.js.map +1 -0
- package/dist/src/theme/tokens/utils/index.js +5 -0
- package/dist/src/theme/tokens/utils/index.js.map +1 -0
- package/dist/src/theme/tokens/utils/parsers.js +96 -0
- package/dist/src/theme/tokens/utils/parsers.js.map +1 -0
- package/dist/src/theme/tokens/utils/semantic.js +19 -0
- package/dist/src/theme/tokens/utils/semantic.js.map +1 -0
- package/dist/src/theme/tokens/utils/types.js +2 -0
- package/dist/src/theme/tokens/utils/types.js.map +1 -0
- package/dist/src/theme/types.js +2 -0
- package/dist/src/theme/types.js.map +1 -0
- package/dist/src/theme/utils.js +95 -0
- package/dist/src/theme/utils.js.map +1 -0
- package/dist/src/utils/common.js +4 -0
- package/dist/src/utils/common.js.map +1 -0
- package/dist/src/utils/date.js +17 -0
- package/dist/src/utils/date.js.map +1 -0
- package/dist/src/utils/errors.js +13 -0
- package/dist/src/utils/errors.js.map +1 -0
- package/dist/src/utils/helpers.js +38 -0
- package/dist/src/utils/helpers.js.map +1 -0
- package/dist/src/utils/storyshots.js +32 -0
- package/dist/src/utils/storyshots.js.map +1 -0
- package/dist/src/utils/tests/helpers.test.js +19 -0
- package/dist/src/utils/tests/helpers.test.js.map +1 -0
- package/dist/src/utils/tests/themeFunctions.test.js +48 -0
- package/dist/src/utils/tests/themeFunctions.test.js.map +1 -0
- package/dist/src/utils/themeFunctions.js +63 -0
- package/dist/src/utils/themeFunctions.js.map +1 -0
- package/dist/src/utils/types.js +2 -0
- package/dist/src/utils/types.js.map +1 -0
- package/dist/test/index.js +0 -2
- package/dist/test/setup.js +2 -5
- package/dist/test/utils.d.ts +2 -2
- package/dist/test/utils.js +14 -38
- package/dist/theme/elevation.js +1 -2
- package/dist/theme/functions.js +15 -34
- package/dist/theme/index.js +1 -14
- package/dist/theme/overrides.js +1 -2
- package/dist/theme/palette.config.js +8 -14
- package/dist/theme/palette.js +21 -43
- package/dist/theme/spacing.js +3 -7
- package/dist/theme/states/disabled.js +3 -7
- package/dist/theme/states/focus.js +5 -10
- package/dist/theme/states/hover.js +11 -9
- package/dist/theme/states/index.js +0 -8
- package/dist/theme/states/pressed.js +11 -9
- package/dist/theme/states/statesConfig.js +5 -8
- package/dist/theme/states/utils.js +6 -12
- package/dist/theme/typography.js +1 -4
- package/dist/theme/utils.js +9 -36
- package/dist/utils/common.d.ts +5 -0
- package/dist/utils/common.js +8 -3
- package/dist/utils/errors.js +7 -26
- package/dist/utils/helpers.d.ts +2 -2
- package/dist/utils/helpers.js +16 -36
- package/dist/utils/initLocaleFormat.js +1 -10
- package/dist/utils/size-utils.d.ts +3 -1
- package/dist/utils/size-utils.js +14 -26
- package/dist/utils/storyshots.js +4 -8
- package/dist/utils/themeFunctions.js +10 -37
- package/dist/utils/types.d.ts +2 -0
- package/package.json +55 -42
- package/dist/components/Filter/components/SearchInput/SearchInput.style.js +0 -34
- /package/dist/components/Filter/components/{SearchInput → SingleFilter/components/SearchInput}/SearchInput.style.d.ts +0 -0
package/README.md
CHANGED
|
@@ -4,6 +4,7 @@ An internal UI kit library that is opinionated. Primary focus is to solve UI dup
|
|
|
4
4
|
|
|
5
5
|
<hr />
|
|
6
6
|
|
|
7
|
+
[](https://designlab-v4.orfium.com/)
|
|
7
8
|

|
|
8
9
|
[](https://github.com/Orfium/orfium-ictinus/actions)
|
|
9
10
|

|
|
@@ -18,7 +19,7 @@ $ npm install @orfium/ictinus
|
|
|
18
19
|
```text
|
|
19
20
|
$ yarn add @orfium/ictinus
|
|
20
21
|
```
|
|
21
|
-
Please note that react >=
|
|
22
|
+
Please note that react >= 18.2.0 and react-dom >= 18.2.0 are peer dependencies. Also that emotion 11 is being used and that
|
|
22
23
|
will not work in older emotion projects.
|
|
23
24
|
|
|
24
25
|
if you want the next version you can always use the next tag.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
|
|
2
|
+
const Tippy = (props) => {
|
|
3
|
+
const { children, content, ...rest } = props;
|
|
4
|
+
return (_jsxs(_Fragment, { children: [_jsx("div", { ...rest, children: children }), _jsx("div", { children: content })] }));
|
|
5
|
+
};
|
|
6
|
+
export default Tippy;
|
|
7
|
+
//# sourceMappingURL=react.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"react.js","sourceRoot":"","sources":["../../../__mocks__/@tippyjs/react.tsx"],"names":[],"mappings":";AAEA,MAAM,KAAK,GAAmC,CAAC,KAAK,EAAE,EAAE;IACtD,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,CAAC;IAE7C,OAAO,CACL,8BACE,iBAAS,IAAI,YAAG,QAAQ,GAAO,EAC/B,wBAAM,OAAO,GAAO,IACnB,CACJ,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
const transform = (file, api) => {
|
|
2
|
+
const j = api.jscodeshift;
|
|
3
|
+
const root = j(file.source);
|
|
4
|
+
// Find all Avatar components
|
|
5
|
+
root.findJSXElements('Avatar').forEach((path) => {
|
|
6
|
+
j(path)
|
|
7
|
+
.find(j.JSXAttribute)
|
|
8
|
+
.forEach((attrPath) => {
|
|
9
|
+
const attr = attrPath.node.name;
|
|
10
|
+
// If the attribute is size, update it
|
|
11
|
+
if (attr.name === 'size') {
|
|
12
|
+
const sizeValue = attrPath.node.value.value;
|
|
13
|
+
switch (sizeValue) {
|
|
14
|
+
case 'xs':
|
|
15
|
+
attrPath.node.value.value = '1';
|
|
16
|
+
break;
|
|
17
|
+
case 'sm':
|
|
18
|
+
case 'md':
|
|
19
|
+
attrPath.node.value.value = '2';
|
|
20
|
+
break;
|
|
21
|
+
case 'lg':
|
|
22
|
+
attrPath.node.value.value = '4';
|
|
23
|
+
break;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
// If the attribute is color, update it
|
|
27
|
+
if (attr.name === 'color') {
|
|
28
|
+
const colorValue = attrPath.node.value.value;
|
|
29
|
+
attrPath.node.value.value = colorValue.split('-')[0];
|
|
30
|
+
}
|
|
31
|
+
// Update color property
|
|
32
|
+
const colorValue = attrPath.node.value.value;
|
|
33
|
+
if (!['blue', 'teal', 'purple', 'red', 'orange'].includes(colorValue)) {
|
|
34
|
+
attrPath.node.value.value = 'blue';
|
|
35
|
+
}
|
|
36
|
+
// If the attribute is iconName, update it
|
|
37
|
+
if (attr.name === 'iconName') {
|
|
38
|
+
attr.name = 'src';
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
});
|
|
42
|
+
return root.toSource();
|
|
43
|
+
};
|
|
44
|
+
export default transform;
|
|
45
|
+
//# sourceMappingURL=avatarCodemod.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"avatarCodemod.js","sourceRoot":"","sources":["../../codemods/avatarCodemod.ts"],"names":[],"mappings":"AAEA,MAAM,SAAS,GAAc,CAAC,IAAI,EAAE,GAAG,EAAE,EAAE;IACzC,MAAM,CAAC,GAAG,GAAG,CAAC,WAAW,CAAC;IAC1B,MAAM,IAAI,GAAG,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAE5B,6BAA6B;IAC7B,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE;QAC9C,CAAC,CAAC,IAAI,CAAC;aACJ,IAAI,CAAC,CAAC,CAAC,YAAY,CAAC;aACpB,OAAO,CAAC,CAAC,QAAQ,EAAE,EAAE;YACpB,MAAM,IAAI,GAAG,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC;YAEhC,sCAAsC;YACtC,IAAI,IAAI,CAAC,IAAI,KAAK,MAAM,EAAE,CAAC;gBACzB,MAAM,SAAS,GAAG,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,KAA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1,52 @@
|
|
|
1
|
+
const transform = (file, api) => {
|
|
2
|
+
const j = api.jscodeshift;
|
|
3
|
+
const root = j(file.source);
|
|
4
|
+
// Find all Button components
|
|
5
|
+
root.findJSXElements('Button').forEach((path) => {
|
|
6
|
+
j(path)
|
|
7
|
+
.find(j.JSXAttribute)
|
|
8
|
+
.forEach((attrPath) => {
|
|
9
|
+
const attr = attrPath.node.name;
|
|
10
|
+
// If the attribute is one of the deprecated ones, remove it
|
|
11
|
+
if (['color', 'transparent', 'filled'].includes(attr.name)) {
|
|
12
|
+
j(attrPath).remove();
|
|
13
|
+
}
|
|
14
|
+
// If the attribute is one of the ones that changed, update it
|
|
15
|
+
if (attr.name === 'size') {
|
|
16
|
+
const sizeValue = attrPath.node.value.value;
|
|
17
|
+
if (sizeValue === 'sm' && attrPath.node.value.type === 'StringLiteral') {
|
|
18
|
+
attrPath.node.value.value = 'compact';
|
|
19
|
+
}
|
|
20
|
+
else if (attrPath.node.value.type === 'JSXExpressionContainer' &&
|
|
21
|
+
attrPath.node.value.expression.value === 'sm') {
|
|
22
|
+
attrPath.node.value.expression.value = 'compact';
|
|
23
|
+
}
|
|
24
|
+
else if (attrPath.node.value.type === 'StringLiteral') {
|
|
25
|
+
attrPath.node.value.value = 'normal';
|
|
26
|
+
}
|
|
27
|
+
else if (attrPath.node.value.type === 'JSXExpressionContainer') {
|
|
28
|
+
attrPath.node.value.expression.value = 'normal';
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
if (attr.name === 'type') {
|
|
32
|
+
const sizeValue = attrPath.node.value.value;
|
|
33
|
+
if (sizeValue === 'link' && attrPath.node.value.type === 'Literal') {
|
|
34
|
+
attrPath.node.value.value = 'tertiary';
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
if (attr.name === 'loading')
|
|
38
|
+
attr.name = 'isLoading';
|
|
39
|
+
if (attr.name === 'disabled')
|
|
40
|
+
attr.name = 'isDisabled';
|
|
41
|
+
if (attr.name === 'buttonType')
|
|
42
|
+
attr.name = 'htmlType';
|
|
43
|
+
if (attr.name === 'iconLeft')
|
|
44
|
+
attr.name = 'iconLeftName';
|
|
45
|
+
if (attr.name === 'iconRight')
|
|
46
|
+
attr.name = 'iconRightName';
|
|
47
|
+
});
|
|
48
|
+
});
|
|
49
|
+
return root.toSource();
|
|
50
|
+
};
|
|
51
|
+
export default transform;
|
|
52
|
+
//# sourceMappingURL=buttonCodemod.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buttonCodemod.js","sourceRoot":"","sources":["../../codemods/buttonCodemod.ts"],"names":[],"mappings":"AAEA,MAAM,SAAS,GAAc,CAAC,IAAI,EAAE,GAAG,EAAE,EAAE;IACzC,MAAM,CAAC,GAAG,GAAG,CAAC,WAAW,CAAC;IAC1B,MAAM,IAAI,GAAG,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAE5B,6BAA6B;IAC7B,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE;QAC9C,CAAC,CAAC,IAAI,CAAC;aACJ,IAAI,CAAC,CAAC,CAAC,YAAY,CAAC;aACpB,OAAO,CAAC,CAAC,QAAQ,EAAE,EAAE;YACpB,MAAM,IAAI,GAAG,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC;YAEhC,4DAA4D;YAC5D,IAAI,CAAC,OAAO,EAAE,aAAa,EAAE,QAAQ,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;gBAC3D,CAAC,CAAC,QAAQ,CAAC,CAAC,MAAM,EAAE,CAAC;YACvB,CAAC;YAED,8DAA8D;YAC9D,IAAI,IAAI,CAAC,IAAI,KAAK,MAAM,EAAE,CAAC;gBACzB,MAAM,SAAS,GAAG,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC;gBAC5C,IAAI,SAAS,KAAK,IAAI,IAAI,QAAQ,CAAC,IA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YACvD,IAAI,IAAI,CAAC,IAAI,KAAK,YAAY;gBAAE,IAAI,CAAC,IAAI,GAAG,UAAU,CAAC;YACvD,IAAI,IAAI,CAAC,IAAI,KAAK,UAAU;gBAAE,IAAI,CAAC,IAAI,GAAG,cAAc,CAAC;YACzD,IAAI,IAAI,CAAC,IAAI,KAAK,WAAW;gBAAE,IAAI,CAAC,IAAI,GAAG,eAAe,CAAC;QAC7D,CAAC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;IAEH,OAAO,IAAI,CAAC,QAAQ,EAAE,CAAC;AACzB,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
const transform = (file, api) => {
|
|
2
|
+
const j = api.jscodeshift;
|
|
3
|
+
const root = j(file.source);
|
|
4
|
+
root.findJSXElements('CheckBox').forEach((path) => {
|
|
5
|
+
j(path)
|
|
6
|
+
.find(j.JSXAttribute)
|
|
7
|
+
.forEach((attrPath) => {
|
|
8
|
+
const attr = attrPath.node.name;
|
|
9
|
+
// Remove 'filled' attribute
|
|
10
|
+
if (attr.name === 'filled') {
|
|
11
|
+
j(attrPath).remove();
|
|
12
|
+
}
|
|
13
|
+
// Replace 'label' with 'labelConfig'
|
|
14
|
+
if (attr.name === 'label') {
|
|
15
|
+
attr.name = 'labelConfig';
|
|
16
|
+
attrPath.node.value = j.jsxExpressionContainer(j.objectExpression([
|
|
17
|
+
j.property('init', j.identifier('helpText'), attrPath.node.value.expression || j.stringLiteral('')),
|
|
18
|
+
]));
|
|
19
|
+
}
|
|
20
|
+
// Rename 'checked' to 'isSelected'
|
|
21
|
+
if (attr.name === 'checked') {
|
|
22
|
+
attr.name = 'isSelected';
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
});
|
|
26
|
+
return root.toSource({ quote: 'single' });
|
|
27
|
+
};
|
|
28
|
+
export default transform;
|
|
29
|
+
//# sourceMappingURL=checkboxCodemod.js.map
|
|
@@ -0,0 +1 @@
|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C,CAAC;IACP,CAAC,CAAC,CAAC;IAEH,OAAO,IAAI,CAAC,QAAQ,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,CAAC;AAC5C,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
const transform = (file, api) => {
|
|
2
|
+
const j = api.jscodeshift;
|
|
3
|
+
const root = j(file.source);
|
|
4
|
+
root
|
|
5
|
+
.find(j.ImportDeclaration)
|
|
6
|
+
.filter((path) => path.node.source.value === '@orfium/ictinus')
|
|
7
|
+
.forEach((path) => {
|
|
8
|
+
path.node.specifiers.forEach((specifier) => {
|
|
9
|
+
if (specifier.imported && specifier.imported.name === 'Chip') {
|
|
10
|
+
specifier.imported.name = 'Tag';
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
});
|
|
14
|
+
root.find(j.JSXElement).forEach((path) => {
|
|
15
|
+
const openingElement = path.node.openingElement;
|
|
16
|
+
const closingElement = path.node.closingElement;
|
|
17
|
+
if (openingElement.name.name === 'Chip') {
|
|
18
|
+
openingElement.name.name = 'Tag';
|
|
19
|
+
if (closingElement && closingElement.name) {
|
|
20
|
+
closingElement.name.name = 'Tag';
|
|
21
|
+
}
|
|
22
|
+
// Rename 'fill' attribute to 'color'
|
|
23
|
+
openingElement.attributes.forEach((attribute) => {
|
|
24
|
+
if (attribute.name && attribute.name.name === 'fill') {
|
|
25
|
+
const colorValue = attribute.value.value;
|
|
26
|
+
if (colorValue === 'neutralWhite') {
|
|
27
|
+
attribute.value.value = 'neutral';
|
|
28
|
+
}
|
|
29
|
+
attribute.name.name = 'color';
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
return root.toSource({ quote: 'single' });
|
|
35
|
+
};
|
|
36
|
+
export default transform;
|
|
37
|
+
//# sourceMappingURL=chipCodemode.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"chipC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C,OAAO,CAAC,CAAC,SAAS,EAAE,EAAE;gBAC9C,IAAI,SAAS,CAAC,IAAI,IAAI,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,MAAM,EAAE,CAAC;oBACrD,MAAM,UAAU,GAAG,SAAS,CAAC,KAAK,CAAC,KAAK,CAAC;oBACzC,IAAI,UAAU,KAAK,cAAc,EAAE,CAAC;wBAClC,SAAS,CAAC,KAAK,CAAC,KAAK,GAAG,SAAS,CAAC;oBACpC,CAAC;oBACD,SAAS,CAAC,IAAI,CAAC,IAAI,GAAG,OAAO,CAAC;gBAChC,CAAC;YACH,CAAC,CAAC,CAAC;QACL,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,OAAO,IAAI,CAAC,QAAQ,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,CAAC;AAC5C,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
const transform = (file, api) => {
|
|
2
|
+
const j = api.jscodeshift;
|
|
3
|
+
const root = j(file.source);
|
|
4
|
+
// Update import declarations from '@orfium/ictinus'
|
|
5
|
+
root
|
|
6
|
+
.find(j.ImportDeclaration)
|
|
7
|
+
.filter((path) => path.node.source.value.includes('@orfium/ictinus'))
|
|
8
|
+
.forEach((path) => {
|
|
9
|
+
path.node.specifiers.forEach((specifier) => {
|
|
10
|
+
if (specifier.imported && specifier.imported.name === 'MenuItem') {
|
|
11
|
+
specifier.imported.name = 'NavigationMenuItem';
|
|
12
|
+
}
|
|
13
|
+
if (specifier.local && specifier.local.name === 'MenuItem') {
|
|
14
|
+
specifier.local.name = 'NavigationMenuItem';
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
// Update function return types and other usages of MenuItem
|
|
19
|
+
root.find(j.Identifier, { name: 'MenuItem' }).forEach((path) => {
|
|
20
|
+
// Ensure the change is only made for identifiers related to '@orfium/ictinus' import
|
|
21
|
+
const parentPath = path.parentPath;
|
|
22
|
+
if (parentPath &&
|
|
23
|
+
parentPath.node.type === 'ImportSpecifier' &&
|
|
24
|
+
parentPath.parentPath.node.source.value.includes('@orfium/ictinus')) {
|
|
25
|
+
path.node.name = 'NavigationMenuItem';
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
// Rename Drawer to Navigation in import declarations
|
|
29
|
+
root
|
|
30
|
+
.find(j.ImportDeclaration)
|
|
31
|
+
.filter((path) => path.node.source.value === '@orfium/ictinus')
|
|
32
|
+
.forEach((path) => {
|
|
33
|
+
path.node.specifiers.forEach((specifier) => {
|
|
34
|
+
if (specifier.imported && specifier.imported.name === 'Drawer') {
|
|
35
|
+
specifier.imported.name = 'Navigation';
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
});
|
|
39
|
+
// Update Drawer to Navigation in JSX and rename expanded to isExpanded
|
|
40
|
+
root.find(j.JSXElement).forEach((path) => {
|
|
41
|
+
const openingElement = path.node.openingElement;
|
|
42
|
+
const closingElement = path.node.closingElement;
|
|
43
|
+
// Check for Drawer in opening element
|
|
44
|
+
if (openingElement.name.name === 'Drawer') {
|
|
45
|
+
openingElement.name.name = 'Navigation';
|
|
46
|
+
// Update closing element if it exists
|
|
47
|
+
if (closingElement && closingElement.name) {
|
|
48
|
+
closingElement.name.name = 'Navigation';
|
|
49
|
+
}
|
|
50
|
+
// Rename 'expanded' attribute to 'isExpanded'
|
|
51
|
+
openingElement.attributes.forEach((attribute) => {
|
|
52
|
+
if (attribute.name && attribute.name.name === 'expanded') {
|
|
53
|
+
attribute.name.name = 'isExpanded';
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
return root.toSource({ quote: 'single' });
|
|
59
|
+
};
|
|
60
|
+
export default transform;
|
|
61
|
+
//# sourceMappingURL=drawerCodemod.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"drawerCodemod.js","sourceRoot":"","sources":["../../codemods/drawerCodemod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AC9C,IAAI,SAAS,CAAC,IAAI,IAAI,SAAS,CAAC,IAAI,CAAC,IAAI,KAAK,UAAU,EAAE,CAAC;oBACzD,SAAS,CAAC,IAAI,CAAC,IAAI,GAAG,YAAY,CAAC;gBACrC,CAAC;YACH,CAAC,CAAC,CAAC;QACL,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,OAAO,IAAI,CAAC,QAAQ,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC,CAAC;AAC5C,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
const transform = (file, api) => {
|
|
2
|
+
const j = api.jscodeshift;
|
|
3
|
+
const root = j(file.source);
|
|
4
|
+
// Find all Button components
|
|
5
|
+
root.findJSXElements('Filter').forEach((path) => {
|
|
6
|
+
j(path)
|
|
7
|
+
.find(j.JSXAttribute)
|
|
8
|
+
.forEach((attrPath) => {
|
|
9
|
+
const attr = attrPath.node.name;
|
|
10
|
+
if (['styleType'].includes(attr.name)) {
|
|
11
|
+
j(attrPath).remove();
|
|
12
|
+
}
|
|
13
|
+
// If the attribute is one of the ones that changed, update it
|
|
14
|
+
if (attr.name === 'multi')
|
|
15
|
+
attr.name = 'isMulti';
|
|
16
|
+
if (attr.name === 'disabled')
|
|
17
|
+
attr.name = 'isDisabled';
|
|
18
|
+
if (attr.name === 'selectedItem')
|
|
19
|
+
attr.name = 'selectedFilter';
|
|
20
|
+
if (attr.name === 'onSelect')
|
|
21
|
+
attr.name = 'onChange';
|
|
22
|
+
});
|
|
23
|
+
});
|
|
24
|
+
return root.toSource();
|
|
25
|
+
};
|
|
26
|
+
export default transform;
|
|
27
|
+
//# sourceMappingURL=filterCodemod.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"filterCodemod.js","sourceRoot":"","sources":["../../codemods/filterCodemod.ts"],"names":[],"mappings":"AAEA,MAAM,SAAS,GAAc,CAAC,IAAI,EAAE,GAAG,EAAE,EAAE;IACzC,MAAM,CAAC,GAAG,GAAG,CAAC,WAAW,CAAC;IAC1B,MAAM,IAAI,GAAG,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAE5B,6BAA6B;IAC7B,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE;QAC9C,CAAC,CAAC,IAAI,CAAC;aACJ,IAAI,CAAC,CAAC,CAAC,YAAY,CAAC;aACpB,OAAO,CAAC,CAAC,QAAQ,EAAE,EAAE;YACpB,MAAM,IAAI,GAAG,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC;YAEhC,IAAI,CAAC,WAAW,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;gBACtC,CAAC,CAAC,QAAQ,CAAC,CAAC,MAAM,EAAE,CAAC;YACvB,CAAC;YAED,8DAA8D;YAC9D,IAAI,IAAI,CAAC,IAAI,KAAK,OAAO;gBAAE,IAAI,CAAC,IAAI,GAAG,SAAS,CAAC;YACjD,IAAI,IAAI,CAAC,IAAI,KAAK,UAAU;gBAAE,IAAI,CAAC,IAAI,GAAG,YAAY,CAAC;YACvD,IAAI,IAAI,CAAC,IAAI,KAAK,cAAc;gBAAE,IAAI,CAAC,IAAI,GAAG,gBAAgB,CAAC;YAC/D,IAAI,IAAI,CAAC,IAAI,KAAK,UAAU;gBAAE,IAAI,CAAC,IAAI,GAAG,UAAU,CAAC;QACvD,CAAC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;IAEH,OAAO,IAAI,CAAC,QAAQ,EAAE,CAAC;AACzB,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
const transform = (file, api) => {
|
|
2
|
+
const j = api.jscodeshift;
|
|
3
|
+
const root = j(file.source);
|
|
4
|
+
const spacingReplaceMap = {
|
|
5
|
+
'theme.spacing.xsm': "theme.globals.spacing.get('3')",
|
|
6
|
+
'theme.spacing.sm': "theme.globals.spacing.get('4')",
|
|
7
|
+
'theme.spacing.md': "theme.globals.spacing.get('6')",
|
|
8
|
+
'theme.spacing.lg': "theme.globals.spacing.get('8')",
|
|
9
|
+
'theme.spacing.xl': "theme.globals.spacing.get('9')",
|
|
10
|
+
'props.theme.spacing.xsm': "props.theme.globals.spacing.get('3')",
|
|
11
|
+
'props.theme.spacing.sm': "props.theme.globals.spacing.get('4')",
|
|
12
|
+
'props.theme.spacing.md': "props.theme.globals.spacing.get('6')",
|
|
13
|
+
'props.theme.spacing.lg': "props.theme.globals.spacing.get('8')",
|
|
14
|
+
'props.theme.spacing.xl': "props.theme.globals.spacing.get('9')",
|
|
15
|
+
'theme.typography.weights.regular': "theme.globals.typography.fontWeight.get('regular')",
|
|
16
|
+
'theme.typography.weights.medium': "theme.globals.typography.fontWeight.get('medium')",
|
|
17
|
+
'theme.typography.weights.bold': "theme.globals.typography.fontWeight.get('bold')",
|
|
18
|
+
'props.theme.typography.weights.regular': "props.theme.globals.typography.fontWeight.get('regular')",
|
|
19
|
+
'props.theme.typography.weights.medium': "props.theme.globals.typography.fontWeight.get('medium')",
|
|
20
|
+
'props.theme.typography.weights.bold': "props.theme.globals.typography.fontWeight.get('bold')",
|
|
21
|
+
"theme.typography.fontSizes['10']": "theme.globals.typography.fontSize.get('1')",
|
|
22
|
+
"theme.typography.fontSizes['11']": "theme.globals.typography.fontSize.get('1')",
|
|
23
|
+
"theme.typography.fontSizes['12']": "theme.globals.typography.fontSize.get('2')",
|
|
24
|
+
"theme.typography.fontSizes['13']": "theme.globals.typography.fontSize.get('3')",
|
|
25
|
+
"theme.typography.fontSizes['14']": "theme.globals.typography.fontSize.get('3')",
|
|
26
|
+
"theme.typography.fontSizes['15']": "theme.globals.typography.fontSize.get('4')",
|
|
27
|
+
"theme.typography.fontSizes['16']": "theme.globals.typography.fontSize.get('4')",
|
|
28
|
+
"theme.typography.fontSizes['20']": "theme.globals.typography.fontSize.get('7')",
|
|
29
|
+
"theme.typography.fontSizes['22']": "theme.globals.typography.fontSize.get('7')",
|
|
30
|
+
"theme.typography.fontSizes['24']": "theme.globals.typography.fontSize.get('8')",
|
|
31
|
+
"theme.typography.fontSizes['28']": "theme.globals.typography.fontSize.get('9')",
|
|
32
|
+
"theme.typography.fontSizes['32']": "theme.globals.typography.fontSize.get('10')",
|
|
33
|
+
'theme.typography.fontSizes[10]': "theme.globals.typography.fontSize.get('1')",
|
|
34
|
+
'theme.typography.fontSizes[11]': "theme.globals.typography.fontSize.get('1')",
|
|
35
|
+
'theme.typography.fontSizes[12]': "theme.globals.typography.fontSize.get('2')",
|
|
36
|
+
'theme.typography.fontSizes[13]': "theme.globals.typography.fontSize.get('3')",
|
|
37
|
+
'theme.typography.fontSizes[14]': "theme.globals.typography.fontSize.get('3')",
|
|
38
|
+
'theme.typography.fontSizes[15]': "theme.globals.typography.fontSize.get('4')",
|
|
39
|
+
'theme.typography.fontSizes[16]': "theme.globals.typography.fontSize.get('4')",
|
|
40
|
+
'theme.typography.fontSizes[20]': "theme.globals.typography.fontSize.get('7')",
|
|
41
|
+
'theme.typography.fontSizes[22]': "theme.globals.typography.fontSize.get('7')",
|
|
42
|
+
'theme.typography.fontSizes[24]': "theme.globals.typography.fontSize.get('8')",
|
|
43
|
+
'theme.typography.fontSizes[28]': "theme.globals.typography.fontSize.get('9')",
|
|
44
|
+
'theme.typography.fontSizes[32]': "theme.globals.typography.fontSize.get('10')",
|
|
45
|
+
"props.theme.typography.fontSizes['10']": "props.theme.globals.typography.fontSize.get('1')",
|
|
46
|
+
"props.theme.typography.fontSizes['11']": "props.theme.globals.typography.fontSize.get('1')",
|
|
47
|
+
"props.theme.typography.fontSizes['12']": "props.theme.globals.typography.fontSize.get('2')",
|
|
48
|
+
"props.theme.typography.fontSizes['13']": "props.theme.globals.typography.fontSize.get('3')",
|
|
49
|
+
"props.theme.typography.fontSizes['14']": "props.theme.globals.typography.fontSize.get('3')",
|
|
50
|
+
"props.theme.typography.fontSizes['15']": "props.theme.globals.typography.fontSize.get('4')",
|
|
51
|
+
"props.theme.typography.fontSizes['16']": "props.theme.globals.typography.fontSize.get('4')",
|
|
52
|
+
"props.theme.typography.fontSizes['20']": "props.theme.globals.typography.fontSize.get('7')",
|
|
53
|
+
"props.theme.typography.fontSizes['22']": "props.theme.globals.typography.fontSize.get('7')",
|
|
54
|
+
"props.theme.typography.fontSizes['24']": "props.theme.globals.typography.fontSize.get('8')",
|
|
55
|
+
"props.theme.typography.fontSizes['28']": "props.theme.globals.typography.fontSize.get('9')",
|
|
56
|
+
"props.theme.typography.fontSizes['32']": "props.theme.globals.typography.fontSize.get('10')",
|
|
57
|
+
'props.theme.typography.fontSizes[10]': "props.theme.globals.typography.fontSize.get('1')",
|
|
58
|
+
'props.theme.typography.fontSizes[11]': "props.theme.globals.typography.fontSize.get('1')",
|
|
59
|
+
'props.theme.typography.fontSizes[12]': "props.theme.globals.typography.fontSize.get('2')",
|
|
60
|
+
'props.theme.typography.fontSizes[13]': "props.theme.globals.typography.fontSize.get('3')",
|
|
61
|
+
'props.theme.typography.fontSizes[14]': "props.theme.globals.typography.fontSize.get('3')",
|
|
62
|
+
'props.theme.typography.fontSizes[15]': "props.theme.globals.typography.fontSize.get('4')",
|
|
63
|
+
'props.theme.typography.fontSizes[16]': "props.theme.globals.typography.fontSize.get('4')",
|
|
64
|
+
'props.theme.typography.fontSizes[20]': "props.theme.globals.typography.fontSize.get('7')",
|
|
65
|
+
'props.theme.typography.fontSizes[22]': "props.theme.globals.typography.fontSize.get('7')",
|
|
66
|
+
'props.theme.typography.fontSizes[24]': "props.theme.globals.typography.fontSize.get('8')",
|
|
67
|
+
'props.theme.typography.fontSizes[28]': "props.theme.globals.typography.fontSize.get('9')",
|
|
68
|
+
'props.theme.typography.fontSizes[32]': "props.theme.globals.typography.fontSize.get('10')",
|
|
69
|
+
"theme.elevation['01']": "theme.globals.elevation['01']",
|
|
70
|
+
"theme.elevation['02']": "theme.globals.elevation['02']",
|
|
71
|
+
"theme.elevation['03']": "theme.globals.elevation['03']",
|
|
72
|
+
"props.theme.elevation['01']": "props.theme.globals.elevation['01']",
|
|
73
|
+
"props.theme.elevation['02']": "props.theme.globals.elevation['02']",
|
|
74
|
+
"props.theme.elevation['03']": "props.theme.globals.elevation['03']",
|
|
75
|
+
'theme.palette.white': 'theme.globals.oldColors.white',
|
|
76
|
+
'theme.palette.black': 'theme.globals.oldColors.black',
|
|
77
|
+
"theme.palette['white']": "theme.globals.oldColors['white']",
|
|
78
|
+
"theme.palette['black']": "theme.globals.oldColors['black']",
|
|
79
|
+
'theme.palette.primary[400]': 'theme.globals.oldColors.primary[400]',
|
|
80
|
+
'props.theme.palette.white': 'props.theme.globals.oldColors.white',
|
|
81
|
+
'props.theme.palette.black': 'props.theme.globals.oldColors.black',
|
|
82
|
+
"props.theme.palette['white']": "props.theme.globals.oldColors['white']",
|
|
83
|
+
"props.theme.palette['black']": "props.theme.globals.oldColors['black']",
|
|
84
|
+
'props.theme.palette.primary[400]': 'props.theme.globals.oldColors.primary[400]',
|
|
85
|
+
};
|
|
86
|
+
// Function to create a replacement expression from a string
|
|
87
|
+
const createReplacementExpression = (replacement) => {
|
|
88
|
+
const parts = replacement.split('.');
|
|
89
|
+
let expression = j.identifier(parts[0]);
|
|
90
|
+
for (let i = 1; i < parts.length; i++) {
|
|
91
|
+
const part = parts[i];
|
|
92
|
+
if (part.includes('(')) {
|
|
93
|
+
// Handle method calls like get('9')
|
|
94
|
+
const methodName = part.substring(0, part.indexOf('('));
|
|
95
|
+
const methodArgsStr = part.substring(part.indexOf('(') + 1, part.lastIndexOf(')'));
|
|
96
|
+
const args = methodArgsStr.split(',').map((arg) => {
|
|
97
|
+
// Remove the surrounding quotes
|
|
98
|
+
const trimmedArg = arg.trim().replace(/^['"]|['"]$/g, '');
|
|
99
|
+
return j.literal(trimmedArg);
|
|
100
|
+
});
|
|
101
|
+
expression = j.callExpression(j.memberExpression(expression, j.identifier(methodName)), args);
|
|
102
|
+
}
|
|
103
|
+
else {
|
|
104
|
+
expression = j.memberExpression(expression, j.identifier(part));
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
return expression;
|
|
108
|
+
};
|
|
109
|
+
// Replace member expressions
|
|
110
|
+
root.find(j.MemberExpression).forEach((path) => {
|
|
111
|
+
let sourceCode = j(path).toSource();
|
|
112
|
+
// Special handling for numeric index
|
|
113
|
+
if (path.node.property.type === 'Literal' && !isNaN(path.node.property.value)) {
|
|
114
|
+
sourceCode = `${j(path.node.object).toSource()}[${path.node.property.value}]`;
|
|
115
|
+
}
|
|
116
|
+
if (spacingReplaceMap[sourceCode]) {
|
|
117
|
+
const newExpression = createReplacementExpression(spacingReplaceMap[sourceCode]);
|
|
118
|
+
j(path).replaceWith(newExpression);
|
|
119
|
+
}
|
|
120
|
+
});
|
|
121
|
+
// Replace import paths
|
|
122
|
+
root.find(j.ImportDeclaration).forEach((path) => {
|
|
123
|
+
if (path.node.source.value.startsWith('@orfium/ictinus/')) {
|
|
124
|
+
path.node.source.value = '@orfium/ictinus';
|
|
125
|
+
}
|
|
126
|
+
});
|
|
127
|
+
return root.toSource();
|
|
128
|
+
};
|
|
129
|
+
export default transform;
|
|
130
|
+
//# sourceMappingURL=globalsCodemod.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"globalsCodemod.js","sourceRoot":"","sources":["../../codemods/globalsCodemod.ts"],"names":[],"mappings":"AAAA,MAAM,SAAS,GAAG,CAAC,IAAI,EAAE,GAAG,EAAE,EAAE;IAC9B,MAAM,CAAC,GAAG,GAAG,CAAC,WAAW,CAAC;IAC1B,MAAM,IAAI,GAAG,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAC5B,MAAM,iBAAiB,GAAG;QACxB,mBAAmB,EAAE,gCAAgC;QACrD,kBAAkB,EAAE,gCAAgC;QACpD,kBAAkB,EAAE,gCAAgC;QACpD,kBAAkB,EAAE,gCAAgC;QACpD,kBAAkB,E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AAE,EAAE;QAC7C,IAAI,UAAU,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC;QAEpC,qCAAqC;QACrC,IAAI,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,KAAK,SAAS,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,CAAC;YAC9E,UAAU,GAAG,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE,IAAI,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,KAAK,GAAG,CAAC;QAChF,CAAC;QAED,IAAI,iBAAiB,CAAC,UAAU,CAAC,EAAE,CAAC;YAClC,MAAM,aAAa,GAAG,2BAA2B,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC,CAAC;YACjF,CAAC,CAAC,IAAI,CAAC,CAAC,WAAW,CAAC,aAAa,CAAC,CAAC;QACrC,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,uBAAuB;IACvB,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE;QAC9C,IAAI,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,UAAU,CAAC,kBAAkB,CAAC,EAAE,CAAC;YAC1D,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,GAAG,iBAAiB,CAAC;QAC7C,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,OAAO,IAAI,CAAC,QAAQ,EAAE,CAAC;AACzB,CAAC,CAAC;AACF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
const transform = (file, api) => {
|
|
2
|
+
const j = api.jscodeshift;
|
|
3
|
+
const root = j(file.source);
|
|
4
|
+
// Find all IconButton components
|
|
5
|
+
root.findJSXElements('IconButton').forEach((path) => {
|
|
6
|
+
j(path)
|
|
7
|
+
.find(j.JSXAttribute)
|
|
8
|
+
.forEach((attrPath) => {
|
|
9
|
+
const attr = attrPath.node.name;
|
|
10
|
+
// If the attribute is one of the deprecated ones, remove it
|
|
11
|
+
if (['color', 'transparent', 'filled', 'iconSize'].includes(attr.name)) {
|
|
12
|
+
j(attrPath).remove();
|
|
13
|
+
}
|
|
14
|
+
// If the attribute is one of the ones that changed, update it
|
|
15
|
+
if (attr.name === 'size') {
|
|
16
|
+
const sizeValue = attrPath.node.value.value;
|
|
17
|
+
if (sizeValue === 'sm' && attrPath.node.value.type === 'StringLiteral') {
|
|
18
|
+
attrPath.node.value.value = 'compact';
|
|
19
|
+
}
|
|
20
|
+
else if (attrPath.node.value.type === 'JSXExpressionContainer' &&
|
|
21
|
+
attrPath.node.value.expression.value === 'sm') {
|
|
22
|
+
attrPath.node.value.expression.value = 'compact';
|
|
23
|
+
}
|
|
24
|
+
else if (attrPath.node.value.type === 'StringLiteral') {
|
|
25
|
+
attrPath.node.value.value = 'normal';
|
|
26
|
+
}
|
|
27
|
+
else if (attrPath.node.value.type === 'JSXExpressionContainer') {
|
|
28
|
+
attrPath.node.value.expression.value = 'normal';
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
if (attr.name === 'type') {
|
|
32
|
+
const sizeValue = attrPath.node.value.value;
|
|
33
|
+
if (sizeValue === 'link' && attrPath.node.value.type === 'Literal') {
|
|
34
|
+
attrPath.node.value.value = 'tertiary';
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
// If the attribute is one of the ones that changed, update it
|
|
38
|
+
if (attr.name === 'loading')
|
|
39
|
+
attr.name = 'isLoading';
|
|
40
|
+
if (attr.name === 'disabled')
|
|
41
|
+
attr.name = 'isDisabled';
|
|
42
|
+
if (attr.name === 'name')
|
|
43
|
+
attr.name = 'iconName';
|
|
44
|
+
if (attr.name === 'buttonType')
|
|
45
|
+
attr.name = 'htmlType';
|
|
46
|
+
if (attr.name === 'type')
|
|
47
|
+
attr.name = 'buttonType';
|
|
48
|
+
});
|
|
49
|
+
});
|
|
50
|
+
return root.toSource();
|
|
51
|
+
};
|
|
52
|
+
export default transform;
|
|
53
|
+
//# sourceMappingURL=iconButtonCodemod.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"iconButtonCodemod.js","sourceRoot":"","sources":["../../codemods/iconButtonCodemod.ts"],"names":[],"mappings":"AAEA,MAAM,SAAS,GAAc,CAAC,IAAI,EAAE,GAAG,EAAE,EAAE;IACzC,MAAM,CAAC,GAAG,GAAG,CAAC,WAAW,CAAC;IAC1B,MAAM,IAAI,GAAG,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAE5B,iCAAiC;IACjC,IAAI,CAAC,eAAe,CAAC,YAAY,CAAC,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE;QAClD,CAAC,CAAC,IAAI,CAAC;aACJ,IAAI,CAAC,CAAC,CAAC,YAAY,CAAC;aACpB,OAAO,CAAC,CAAC,QAAQ,EAAE,EAAE;YACpB,MAAM,IAAI,GAAG,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC;YAEhC,4DAA4D;YAC5D,IAAI,CAAC,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,UAAU,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;gBACvE,CAAC,CAAC,QAAQ,CAAC,CAAC,MAAM,EAAE,CAAC;YACvB,CAAC;YAED,8DAA8D;YAC9D,IAAI,IAAI,CAAC,IAAI,KAAK,MAAM,EAAE,CAAC;gBACzB,MAAM,SAAS,GAAG,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC;gBAC5C,IAAI,SAAS,KAAK,IAAI,IAAI,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,KAAK,eAAe,EAAE,CAAC;oBACvE,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,GAAG,SAAS,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AAI,CAAC,IAAI,KAAK,YAAY;gBAAE,IAAI,CAAC,IAAI,GAAG,UAAU,CAAC;YACvD,IAAI,IAAI,CAAC,IAAI,KAAK,MAAM;gBAAE,IAAI,CAAC,IAAI,GAAG,YAAY,CAAC;QACrD,CAAC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;IAEH,OAAO,IAAI,CAAC,QAAQ,EAAE,CAAC;AACzB,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const transform = (file, api) => {
|
|
2
|
+
const j = api.jscodeshift;
|
|
3
|
+
const root = j(file.source);
|
|
4
|
+
// Find all Icon components
|
|
5
|
+
root.findJSXElements('Icon').forEach((path) => {
|
|
6
|
+
j(path)
|
|
7
|
+
.find(j.JSXAttribute)
|
|
8
|
+
.forEach((attrPath) => {
|
|
9
|
+
const attr = attrPath.node.name;
|
|
10
|
+
// If the attribute is one of the deprecated ones, remove it
|
|
11
|
+
if (['variant'].includes(attr.name)) {
|
|
12
|
+
j(attrPath).remove();
|
|
13
|
+
}
|
|
14
|
+
});
|
|
15
|
+
});
|
|
16
|
+
return root.toSource();
|
|
17
|
+
};
|
|
18
|
+
export default transform;
|
|
19
|
+
//# sourceMappingURL=iconCodemod.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"iconCodemod.js","sourceRoot":"","sources":["../../codemods/iconCodemod.ts"],"names":[],"mappings":"AAEA,MAAM,SAAS,GAAc,CAAC,IAAI,EAAE,GAAG,EAAE,EAAE;IACzC,MAAM,CAAC,GAAG,GAAG,CAAC,WAAW,CAAC;IAC1B,MAAM,IAAI,GAAG,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAE5B,2BAA2B;IAC3B,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE;QAC5C,CAAC,CAAC,IAAI,CAAC;aACJ,IAAI,CAAC,CAAC,CAAC,YAAY,CAAC;aACpB,OAAO,CAAC,CAAC,QAAQ,EAAE,EAAE;YACpB,MAAM,IAAI,GAAG,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC;YAEhC,4DAA4D;YAC5D,IAAI,CAAC,SAAS,CAAC,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;gBACpC,CAAC,CAAC,QAAQ,CAAC,CAAC,MAAM,EAAE,CAAC;YACvB,CAAC;QACH,CAAC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;IAEH,OAAO,IAAI,CAAC,QAAQ,EAAE,CAAC;AACzB,CAAC,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
const transform = (file, api) => {
|
|
2
|
+
const j = api.jscodeshift;
|
|
3
|
+
const root = j(file.source);
|
|
4
|
+
// Rename Loader to ProgressIndicator in import declarations
|
|
5
|
+
root
|
|
6
|
+
.find(j.ImportDeclaration)
|
|
7
|
+
.filter((path) => path.node.source.value === '@orfium/ictinus')
|
|
8
|
+
.forEach((path) => {
|
|
9
|
+
path.node.specifiers.forEach((specifier) => {
|
|
10
|
+
if (specifier.imported && specifier.imported.name === 'Loader') {
|
|
11
|
+
specifier.imported.name = 'ProgressIndicator';
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
});
|
|
15
|
+
// Update Loader to ProgressIndicator in JSX, handle type changes, and remove color
|
|
16
|
+
root.find(j.JSXElement).forEach((path) => {
|
|
17
|
+
const openingElement = path.node.openingElement;
|
|
18
|
+
// Check for Loader in opening element
|
|
19
|
+
if (openingElement.name.name === 'Loader') {
|
|
20
|
+
openingElement.name.name = 'ProgressIndicator';
|
|
21
|
+
openingElement.attributes.forEach((attribute) => {
|
|
22
|
+
if (attribute.name && attribute.name.name === 'type') {
|
|
23
|
+
// Convert type based on the old values
|
|
24
|
+
const typeValue = attribute.value.value;
|
|
25
|
+
if (typeValue === 'dots' || typeValue === 'indeterminate') {
|
|
26
|
+
attribute.value.value = 'linear';
|
|
27
|
+
}
|
|
28
|
+
else if (typeValue === 'spinner') {
|
|
29
|
+
attribute.value.value = 'circular';
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
else if (attribute.name && attribute.name.name === 'color') {
|
|
33
|
+
// Remove color attribute
|
|
34
|
+
j(attribute).remove();
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
return root.toSource({ quote: 'single' });
|
|
40
|
+
};
|
|
41
|
+
export default transform;
|
|
42
|
+
//# sourceMappingURL=loaderCodemod.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loaderCodemod.js","sourceRoot":"","sources":["../../codemods/loaderCodemod.ts"],"names":[],"mappings":"AAEA,MAAM,SAAS,GAAc,CAAC,IAAI,EAAE,GAAG,EAAE,EAAE;IACzC,MAAM,CAAC,GAAG,GAAG,CAAC,WAAW,CAAC;IAC1B,MAAM,IAAI,GAAG,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAE5B,4DAA4D;IAC5D,IAAI;SACD,IAAI,CAAC,CAAC,CAAC,iBAAiB,CAAC;SACzB,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,KAAK,iBAAiB,CAAC;SAC9D,OAAO,CAAC,CAAC,IAAI,EAAE,EAAE;QAChB,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC,SAAS,EAAE,EAAE;YACzC,IAAI,SAAS,CAAC,QAAQ,IAAI,SAAS,CAAC,QAAQ,CAAC,IAAI,KAAK,QAAQ,EAAE,CAAC;gBAC/D,SAAS,CAAC,QAAQ,CAAC,IAAI,GAAG,mBAAmB,CAAC;YAChD,CAAC;QACH,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;IAEL,mFAAmF;IACnF,IAAI,CAAC,IAAI,C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