@spaced-out/ui-design-system 0.4.13-beta.1 → 0.4.14
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/.cspell/custom-words.txt +1 -6
- package/.github/workflows/publish_to_npm.yml +38 -17
- package/.storybook/main.js +3 -3
- package/CHANGELOG.md +5 -4
- package/babel.config.js +1 -1
- package/config.js +3 -4
- package/cspell.json +1 -3
- package/gulpfile.js +33 -5
- package/lib/components/Accordion/Accordion.js +1 -3
- package/lib/components/Accordion/Accordion.js.flow +116 -0
- package/lib/components/Accordion/AccordionGroup.js +0 -3
- package/lib/components/Accordion/AccordionGroup.js.flow +75 -0
- package/lib/components/Accordion/index.js.flow +4 -0
- package/lib/components/Avatar/Avatar.js +6 -14
- package/lib/components/Avatar/Avatar.js.flow +269 -0
- package/lib/components/Avatar/index.js.flow +3 -0
- package/lib/components/AvatarGroup/AvatarGroup.js +0 -5
- package/lib/components/AvatarGroup/AvatarGroup.js.flow +164 -0
- package/lib/components/AvatarGroup/index.js.flow +3 -0
- package/lib/components/Badge/Badge.js.flow +147 -0
- package/lib/components/Badge/index.js.flow +3 -0
- package/lib/components/BadgedIcon/BadgedIcon.js +1 -3
- package/lib/components/BadgedIcon/BadgedIcon.js.flow +73 -0
- package/lib/components/BadgedIcon/index.js.flow +3 -0
- package/lib/components/Banner/Banner.js.flow +60 -0
- package/lib/components/Banner/index.js.flow +3 -0
- package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.js +1 -3
- package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.js.flow +58 -0
- package/lib/components/Breadcrumbs/BreadcrumbLink/index.js.flow +3 -0
- package/lib/components/Breadcrumbs/Breadcrumbs.js +1 -5
- package/lib/components/Breadcrumbs/Breadcrumbs.js.flow +59 -0
- package/lib/components/Breadcrumbs/index.js.flow +4 -0
- package/lib/components/Button/Button.js +8 -26
- package/lib/components/Button/Button.js.flow +286 -0
- package/lib/components/Button/index.js.flow +16 -0
- package/lib/components/ButtonDropdown/ButtonDropdown.js +3 -13
- package/lib/components/ButtonDropdown/ButtonDropdown.js.flow +226 -0
- package/lib/components/ButtonDropdown/SimpleButtonDropdown.js +0 -6
- package/lib/components/ButtonDropdown/SimpleButtonDropdown.js.flow +169 -0
- package/lib/components/ButtonDropdown/index.js.flow +4 -0
- package/lib/components/ButtonTabs/ButtonTab/ButtonTab.js.flow +82 -0
- package/lib/components/ButtonTabs/ButtonTab/index.js.flow +3 -0
- package/lib/components/ButtonTabs/ButtonTabDropdown.js +3 -12
- package/lib/components/ButtonTabs/ButtonTabDropdown.js.flow +150 -0
- package/lib/components/ButtonTabs/ButtonTabs.js +0 -3
- package/lib/components/ButtonTabs/ButtonTabs.js.flow +121 -0
- package/lib/components/ButtonTabs/index.js.flow +4 -0
- package/lib/components/Card/Card.js +1 -6
- package/lib/components/Card/Card.js.flow +174 -0
- package/lib/components/Card/index.js.flow +3 -0
- package/lib/components/Charts/ChartTooltip/index.js.flow +15 -0
- package/lib/components/Charts/ChartWrapper/ChartWrapper.js +7 -5
- package/lib/components/Charts/ChartWrapper/ChartWrapper.js.flow +190 -0
- package/lib/components/Charts/ChartWrapper/index.js.flow +3 -0
- package/lib/components/Charts/ColumnChart/ColumnChart.js +7 -12
- package/lib/components/Charts/ColumnChart/ColumnChart.js.flow +126 -0
- package/lib/components/Charts/ColumnChart/index.js.flow +3 -0
- package/lib/components/Charts/DonutChart/DonutChart.js +6 -7
- package/lib/components/Charts/DonutChart/DonutChart.js.flow +158 -0
- package/lib/components/Charts/DonutChart/index.js.flow +3 -0
- package/lib/components/Charts/FunnelChart/FunnelChart.js +7 -6
- package/lib/components/Charts/FunnelChart/FunnelChart.js.flow +115 -0
- package/lib/components/Charts/FunnelChart/index.js.flow +3 -0
- package/lib/components/Charts/LineChart/LineChart.js +6 -6
- package/lib/components/Charts/LineChart/LineChart.js.flow +113 -0
- package/lib/components/Charts/LineChart/index.js.flow +3 -0
- package/lib/components/Charts/SpiderChart/SpiderChart.js +5 -0
- package/lib/components/Charts/SpiderChart/SpiderChart.js.flow +111 -0
- package/lib/components/Charts/SpiderChart/index.js.flow +3 -0
- package/lib/components/Charts/index.js.flow +9 -0
- package/lib/components/ChatBubble/ChatBubble.js +2 -5
- package/lib/components/ChatBubble/ChatBubble.js.flow +222 -0
- package/lib/components/ChatBubble/index.js.flow +3 -0
- package/lib/components/Checkbox/Checkbox.js +0 -2
- package/lib/components/Checkbox/Checkbox.js.flow +168 -0
- package/lib/components/Checkbox/CheckboxGroup.js +0 -8
- package/lib/components/Checkbox/CheckboxGroup.js.flow +116 -0
- package/lib/components/Checkbox/index.js.flow +3 -0
- package/lib/components/Chip/Chip.js +2 -10
- package/lib/components/Chip/Chip.js.flow +199 -0
- package/lib/components/Chip/index.js.flow +4 -0
- package/lib/components/CircularLoader/CircularLoader.js.flow +58 -0
- package/lib/components/CircularLoader/index.js.flow +3 -0
- package/lib/components/CollapsibleCard/CollapsibleCard.js.flow +146 -0
- package/lib/components/CollapsibleCard/index.js.flow +3 -0
- package/lib/components/Combobox/Combobox.js +3 -16
- package/lib/components/Combobox/Combobox.js.flow +287 -0
- package/lib/components/Combobox/helper.js +0 -1
- package/lib/components/Combobox/helper.js.flow +204 -0
- package/lib/components/Combobox/index.js.flow +3 -0
- package/lib/components/ConditionalWrapper/ConditionalWrapper.js +2 -0
- package/lib/components/ConditionalWrapper/ConditionalWrapper.js.flow +16 -0
- package/lib/components/ConditionalWrapper/index.js.flow +3 -0
- package/lib/components/DateRangePicker/Calendar.js +2 -4
- package/lib/components/DateRangePicker/Calendar.js.flow +112 -0
- package/lib/components/DateRangePicker/DateRangePicker.js +1 -0
- package/lib/components/DateRangePicker/DateRangePicker.js.flow +214 -0
- package/lib/components/DateRangePicker/DateRangeWrapper.js +5 -13
- package/lib/components/DateRangePicker/DateRangeWrapper.js.flow +384 -0
- package/lib/components/DateRangePicker/Day.js +4 -6
- package/lib/components/DateRangePicker/Day.js.flow +75 -0
- package/lib/components/DateRangePicker/index.js.flow +3 -0
- package/lib/components/Dialog/Dialog.js.flow +228 -0
- package/lib/components/Dialog/index.js.flow +2 -0
- package/lib/components/Disclaimer/Disclaimer.js +0 -1
- package/lib/components/Disclaimer/Disclaimer.js.flow +41 -0
- package/lib/components/Disclaimer/index.js.flow +3 -0
- package/lib/components/Dropdown/Dropdown.js +3 -14
- package/lib/components/Dropdown/Dropdown.js.flow +176 -0
- package/lib/components/Dropdown/SimpleDropdown.js +1 -7
- package/lib/components/Dropdown/SimpleDropdown.js.flow +170 -0
- package/lib/components/Dropdown/index.js.flow +4 -0
- package/lib/components/EmptyState/EmptyImages/CalendarEmptyImage.js.flow +112 -0
- package/lib/components/EmptyState/EmptyImages/ChartEmptyImage.js.flow +198 -0
- package/lib/components/EmptyState/EmptyImages/DataEmptyImage.js.flow +120 -0
- package/lib/components/EmptyState/EmptyImages/FileEmptyImage.js.flow +137 -0
- package/lib/components/EmptyState/EmptyImages/MessageEmptyImage.js.flow +68 -0
- package/lib/components/EmptyState/EmptyImages/UploadEmptyImage.js.flow +71 -0
- package/lib/components/EmptyState/EmptyImages/index.js.flow +8 -0
- package/lib/components/EmptyState/EmptyState.js.flow +91 -0
- package/lib/components/EmptyState/index.js.flow +3 -0
- package/lib/components/ErrorMessage/ErrorImages/ForbiddenImage.js.flow +89 -0
- package/lib/components/ErrorMessage/ErrorImages/NotFoundImage.js.flow +121 -0
- package/lib/components/ErrorMessage/ErrorImages/ServerErrorImage.js.flow +241 -0
- package/lib/components/ErrorMessage/ErrorImages/UnauthorizedImage.js.flow +77 -0
- package/lib/components/ErrorMessage/ErrorImages/index.js.flow +6 -0
- package/lib/components/ErrorMessage/ErrorMessage.js.flow +95 -0
- package/lib/components/ErrorMessage/index.js.flow +3 -0
- package/lib/components/FileUpload/FileBlock/FileBlock.js.flow +139 -0
- package/lib/components/FileUpload/FileBlock/index.js.flow +3 -0
- package/lib/components/FileUpload/FileUpload.js +1 -6
- package/lib/components/FileUpload/FileUpload.js.flow +212 -0
- package/lib/components/FileUpload/index.js.flow +4 -0
- package/lib/components/FilterButtonOverlay/FilterButtonOverlay.js +1 -9
- package/lib/components/FilterButtonOverlay/FilterButtonOverlay.js.flow +166 -0
- package/lib/components/FilterButtonOverlay/index.js.flow +3 -0
- package/lib/components/FocusManager/FocusManager.js.flow +57 -0
- package/lib/components/FocusManager/index.js.flow +3 -0
- package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.js +0 -11
- package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.js.flow +152 -0
- package/lib/components/FocusManagerWithArrowKeyNavigation/index.js.flow +3 -0
- package/lib/components/FormTitleWrapper/FormTitleWrapper.js.flow +68 -0
- package/lib/components/FormTitleWrapper/index.js.flow +3 -0
- package/lib/components/Grid/Grid.js +0 -8
- package/lib/components/Grid/Grid.js.flow +110 -0
- package/lib/components/Grid/index.js.flow +3 -0
- package/lib/components/Icon/ClickableIcon.js +2 -4
- package/lib/components/Icon/ClickableIcon.js.flow +111 -0
- package/lib/components/Icon/Icon.docs.js +1 -1
- package/lib/components/Icon/Icon.docs.js.flow +120 -0
- package/lib/components/Icon/Icon.js +1 -3
- package/lib/components/Icon/Icon.js.flow +77 -0
- package/lib/components/Icon/SemanticIcon.js +1 -3
- package/lib/components/Icon/SemanticIcon.js.flow +48 -0
- package/lib/components/Icon/index.js.flow +5 -0
- package/lib/components/InContextAlert/InContextAlert.js +0 -2
- package/lib/components/InContextAlert/InContextAlert.js.flow +208 -0
- package/lib/components/InContextAlert/index.js.flow +3 -0
- package/lib/components/InfinitePagination/InfinitePagination.js +2 -9
- package/lib/components/InfinitePagination/InfinitePagination.js.flow +122 -0
- package/lib/components/InfinitePagination/index.js.flow +3 -0
- package/lib/components/InlineDropdown/InlineDropdown.js +3 -12
- package/lib/components/InlineDropdown/InlineDropdown.js.flow +181 -0
- package/lib/components/InlineDropdown/SimpleInlineDropdown.js +0 -7
- package/lib/components/InlineDropdown/SimpleInlineDropdown.js.flow +167 -0
- package/lib/components/InlineDropdown/index.js.flow +4 -0
- package/lib/components/Input/Input.js +5 -18
- package/lib/components/Input/Input.js.flow +325 -0
- package/lib/components/Input/index.js.flow +3 -0
- package/lib/components/KPIBox/KPIBox.js +1 -1
- package/lib/components/KPIBox/KPIBox.js.flow +98 -0
- package/lib/components/KPIBox/index.js.flow +3 -0
- package/lib/components/LinearLoader/LinearLoader.js.flow +49 -0
- package/lib/components/LinearLoader/index.js.flow +3 -0
- package/lib/components/Link/Link.js +5 -16
- package/lib/components/Link/Link.js.flow +231 -0
- package/lib/components/Link/index.js.flow +3 -0
- package/lib/components/Menu/Menu.js +2 -5
- package/lib/components/Menu/Menu.js.flow +391 -0
- package/lib/components/Menu/MenuOptionButton.js +1 -6
- package/lib/components/Menu/MenuOptionButton.js.flow +201 -0
- package/lib/components/Menu/index.js.flow +4 -0
- package/lib/components/Modal/Modal.js +2 -6
- package/lib/components/Modal/Modal.js.flow +370 -0
- package/lib/components/Modal/index.js.flow +15 -0
- package/lib/components/Notification/Notification.js +0 -1
- package/lib/components/Notification/Notification.js.flow +149 -0
- package/lib/components/Notification/index.js.flow +3 -0
- package/lib/components/OptionButton/OptionButton.js.flow +153 -0
- package/lib/components/OptionButton/SimpleOptionButton.js +0 -4
- package/lib/components/OptionButton/SimpleOptionButton.js.flow +161 -0
- package/lib/components/OptionButton/index.js.flow +4 -0
- package/lib/components/PageTitle/PageTitle.js +2 -7
- package/lib/components/PageTitle/PageTitle.js.flow +267 -0
- package/lib/components/PageTitle/index.js.flow +3 -0
- package/lib/components/Pagination/Pagination.js +1 -3
- package/lib/components/Pagination/Pagination.js.flow +158 -0
- package/lib/components/Pagination/PaginationItem.js +0 -3
- package/lib/components/Pagination/PaginationItem.js.flow +120 -0
- package/lib/components/Pagination/index.js.flow +3 -0
- package/lib/components/Panel/Panel.js.flow +181 -0
- package/lib/components/Panel/index.js.flow +10 -0
- package/lib/components/ProgressDonut/ProgressDonut.js +0 -1
- package/lib/components/ProgressDonut/ProgressDonut.js.flow +111 -0
- package/lib/components/ProgressDonut/index.js.flow +3 -0
- package/lib/components/PromptChip/PromptChip.js +2 -8
- package/lib/components/PromptChip/PromptChip.js.flow +166 -0
- package/lib/components/PromptChip/index.js.flow +3 -0
- package/lib/components/PromptInput/PromptInput.js +1 -10
- package/lib/components/PromptInput/PromptInput.js.flow +194 -0
- package/lib/components/PromptInput/index.js.flow +3 -0
- package/lib/components/RadioButton/RadioButton.js +0 -1
- package/lib/components/RadioButton/RadioButton.js.flow +134 -0
- package/lib/components/RadioButton/RadioGroup.js +0 -2
- package/lib/components/RadioButton/RadioGroup.js.flow +94 -0
- package/lib/components/RadioButton/index.js.flow +3 -0
- package/lib/components/RadioTile/RadioTile.js +0 -2
- package/lib/components/RadioTile/RadioTile.js.flow +110 -0
- package/lib/components/RadioTile/index.js.flow +3 -0
- package/lib/components/RangeSlider/RangeSlider.js +0 -3
- package/lib/components/RangeSlider/RangeSlider.js.flow +202 -0
- package/lib/components/RangeSlider/index.js.flow +3 -0
- package/lib/components/Rating/Rating.js +3 -7
- package/lib/components/Rating/Rating.js.flow +134 -0
- package/lib/components/Rating/index.js.flow +3 -0
- package/lib/components/ScoreBar/ScoreBar.js +1 -1
- package/lib/components/ScoreBar/ScoreBar.js.flow +135 -0
- package/lib/components/ScoreBar/index.js.flow +3 -0
- package/lib/components/SearchInput/SearchInput.js.flow +88 -0
- package/lib/components/SearchInput/index.js.flow +4 -0
- package/lib/components/Separator/Separator.js.flow +60 -0
- package/lib/components/Separator/index.js.flow +3 -0
- package/lib/components/Shimmer/Shimmer.js +2 -4
- package/lib/components/Shimmer/Shimmer.js.flow +141 -0
- package/lib/components/Shimmer/index.js.flow +3 -0
- package/lib/components/SideMenuLink/SideMenuLink.js +2 -8
- package/lib/components/SideMenuLink/SideMenuLink.js.flow +344 -0
- package/lib/components/SideMenuLink/index.js.flow +3 -0
- package/lib/components/StatusIndicator/StatusIndicator.js.flow +68 -0
- package/lib/components/StatusIndicator/index.js.flow +3 -0
- package/lib/components/Stepper/Step/Step.js +3 -12
- package/lib/components/Stepper/Step/Step.js.flow +123 -0
- package/lib/components/Stepper/Step/StepContent.js.flow +40 -0
- package/lib/components/Stepper/Step/StepLabel.js.flow +40 -0
- package/lib/components/Stepper/Step/index.js.flow +5 -0
- package/lib/components/Stepper/Stepper.js +0 -4
- package/lib/components/Stepper/Stepper.js.flow +64 -0
- package/lib/components/Stepper/index.js.flow +4 -0
- package/lib/components/StickyBar/StickyBar.js.flow +67 -0
- package/lib/components/StickyBar/index.js.flow +3 -0
- package/lib/components/SubMenu/SubMenu.js.flow +96 -0
- package/lib/components/SubMenu/SubMenuGroup.js +3 -11
- package/lib/components/SubMenu/SubMenuGroup.js.flow +156 -0
- package/lib/components/SubMenu/SubMenuItem.js +4 -14
- package/lib/components/SubMenu/SubMenuItem.js.flow +170 -0
- package/lib/components/SubMenu/SubMenuLink.js +2 -6
- package/lib/components/SubMenu/SubMenuLink.js.flow +89 -0
- package/lib/components/SubMenu/index.js.flow +6 -0
- package/lib/components/Table/Cell.js +3 -3
- package/lib/components/Table/Cell.js.flow +122 -0
- package/lib/components/Table/DefaultRow.js +2 -2
- package/lib/components/Table/DefaultRow.js.flow +152 -0
- package/lib/components/Table/DefaultTableHeader.js +2 -9
- package/lib/components/Table/DefaultTableHeader.js.flow +240 -0
- package/lib/components/Table/StaticTable.js +315 -88
- package/lib/components/Table/StaticTable.js.flow +576 -0
- package/lib/components/Table/Table.docs.js +83 -3
- package/lib/components/Table/Table.docs.js.flow +550 -0
- package/lib/components/Table/Table.js +9 -14
- package/lib/components/Table/Table.js.flow +154 -0
- package/lib/components/Table/Table.module.css +36 -5
- package/lib/components/Table/TableActionBar.js.flow +55 -0
- package/lib/components/Table/TableBottomBar.js.flow +28 -0
- package/lib/components/Table/TableTopBar.js.flow +28 -0
- package/lib/components/Table/dummyTableData.js.flow +2191 -0
- package/lib/components/Table/hooks.js +0 -7
- package/lib/components/Table/hooks.js.flow +97 -0
- package/lib/components/Table/index.js.flow +10 -0
- package/lib/components/Tabs/Tab/Tab.js +1 -5
- package/lib/components/Tabs/Tab/Tab.js.flow +140 -0
- package/lib/components/Tabs/Tab/index.js.flow +3 -0
- package/lib/components/Tabs/TabList/TabDropdown.js +2 -8
- package/lib/components/Tabs/TabList/TabDropdown.js.flow +123 -0
- package/lib/components/Tabs/TabList/TabList.js +3 -17
- package/lib/components/Tabs/TabList/TabList.js.flow +161 -0
- package/lib/components/Tabs/TabList/index.js.flow +3 -0
- package/lib/components/Tabs/index.js.flow +4 -0
- package/lib/components/Text/Text.js +0 -1
- package/lib/components/Text/Text.js.flow +1060 -0
- package/lib/components/Text/index.js.flow +32 -0
- package/lib/components/TextTile/TextTile.js.flow +44 -0
- package/lib/components/TextTile/index.js.flow +3 -0
- package/lib/components/Textarea/Textarea.js +4 -14
- package/lib/components/Textarea/Textarea.js.flow +139 -0
- package/lib/components/Textarea/index.js.flow +4 -0
- package/lib/components/Timeline/Timeline.js +1 -8
- package/lib/components/Timeline/Timeline.js.flow +47 -0
- package/lib/components/Timeline/TimelineItem/TimelineItem.js +2 -9
- package/lib/components/Timeline/TimelineItem/TimelineItem.js.flow +127 -0
- package/lib/components/Timeline/TimelineItem/index.js.flow +3 -0
- package/lib/components/Timeline/index.js.flow +4 -0
- package/lib/components/Toast/Toast.js +1 -10
- package/lib/components/Toast/Toast.js.flow +249 -0
- package/lib/components/Toast/ToastContainer.js +5 -2
- package/lib/components/Toast/ToastContainer.js.flow +125 -0
- package/lib/components/Toast/ToastManager.js +0 -1
- package/lib/components/Toast/ToastManager.js.flow +67 -0
- package/lib/components/Toast/index.js.flow +12 -0
- package/lib/components/Toggle/Toggle.js +0 -1
- package/lib/components/Toggle/Toggle.js.flow +113 -0
- package/lib/components/Toggle/index.js.flow +2 -0
- package/lib/components/TokenListInput/TokenListInput.js +10 -30
- package/lib/components/TokenListInput/TokenListInput.js.flow +389 -0
- package/lib/components/TokenListInput/TokenValueChips.js +4 -2
- package/lib/components/TokenListInput/TokenValueChips.js.flow +69 -0
- package/lib/components/TokenListInput/index.js.flow +3 -0
- package/lib/components/Tooltip/Tooltip.js +3 -6
- package/lib/components/Tooltip/Tooltip.js.flow +206 -0
- package/lib/components/Tooltip/index.js.flow +3 -0
- package/lib/components/Truncate/Truncate.js +1 -5
- package/lib/components/Truncate/Truncate.js.flow +86 -0
- package/lib/components/Truncate/index.js.flow +4 -0
- package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.js +1 -6
- package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.js.flow +104 -0
- package/lib/components/TruncatedTextWithTooltip/index.js.flow +3 -0
- package/lib/components/Typeahead/SimpleTypeahead.js +0 -4
- package/lib/components/Typeahead/SimpleTypeahead.js.flow +164 -0
- package/lib/components/Typeahead/Typeahead.js +3 -12
- package/lib/components/Typeahead/Typeahead.js.flow +250 -0
- package/lib/components/Typeahead/index.js.flow +4 -0
- package/lib/components/WeekdayPicker/WeekdayPicker.js.flow +229 -0
- package/lib/components/WeekdayPicker/index.js.flow +3 -0
- package/lib/components/index.js.flow +77 -0
- package/lib/hooks/index.js.flow +18 -0
- package/lib/hooks/useArbitraryOptionAddition/index.js.flow +3 -0
- package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.js +9 -9
- package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.js.flow +117 -0
- package/lib/hooks/useCopyToClipboard/index.js.flow +3 -0
- package/lib/hooks/useCopyToClipboard/useCopyToClipboard.js +0 -1
- package/lib/hooks/useCopyToClipboard/useCopyToClipboard.js.flow +31 -0
- package/lib/hooks/useDebounce/index.js.flow +3 -0
- package/lib/hooks/useDebounce/useDebounce.js.flow +17 -0
- package/lib/hooks/useFileUpload/index.js.flow +3 -0
- package/lib/hooks/useFileUpload/useFileUpload.js +2 -7
- package/lib/hooks/useFileUpload/useFileUpload.js.flow +304 -0
- package/lib/hooks/useFilteredOptions/index.js.flow +3 -0
- package/lib/hooks/useFilteredOptions/useFilteredOptions.js +3 -5
- package/lib/hooks/useFilteredOptions/useFilteredOptions.js.flow +81 -0
- package/lib/hooks/useInfiniteScroll/index.js.flow +3 -0
- package/lib/hooks/useInfiniteScroll/useInfiniteScroll.js.flow +82 -0
- package/lib/hooks/useInputState/index.js.flow +3 -0
- package/lib/hooks/useInputState/useInputState.js +1 -3
- package/lib/hooks/useInputState/useInputState.js.flow +28 -0
- package/lib/hooks/useLockedBody/index.js.flow +3 -0
- package/lib/hooks/useLockedBody/useLockedBody.js.flow +55 -0
- package/lib/hooks/useModal/index.js.flow +3 -0
- package/lib/hooks/useModal/useModal.js.flow +39 -0
- package/lib/hooks/useMountTransition/index.js +0 -2
- package/lib/hooks/useMountTransition/index.js.flow +27 -0
- package/lib/hooks/usePagination/index.js.flow +3 -0
- package/lib/hooks/usePagination/usePagination.js +0 -3
- package/lib/hooks/usePagination/usePagination.js.flow +155 -0
- package/lib/hooks/useReferenceElementWidth/index.js.flow +3 -0
- package/lib/hooks/useReferenceElementWidth/useReferenceElementWidth.js.flow +23 -0
- package/lib/hooks/useResizeObserver/index.js.flow +3 -0
- package/lib/hooks/useResizeObserver/useResizeObserver.js +0 -3
- package/lib/hooks/useResizeObserver/useResizeObserver.js.flow +28 -0
- package/lib/hooks/useToastPortal/index.js.flow +3 -0
- package/lib/hooks/useToastPortal/useToastPortal.js +3 -3
- package/lib/hooks/useToastPortal/useToastPortal.js.flow +30 -0
- package/lib/hooks/useToggle/index.js.flow +3 -0
- package/lib/hooks/useToggle/useToggle.js.flow +17 -0
- package/lib/hooks/useWindowSize/index.js.flow +3 -0
- package/lib/hooks/useWindowSize/useWindowSize.js.flow +41 -0
- package/lib/index.js.flow +7 -0
- package/lib/styles/index.js +275 -535
- package/lib/styles/index.js.flow +535 -0
- package/lib/styles/variables/_border.js.flow +25 -0
- package/lib/styles/variables/_color.js.flow +209 -0
- package/lib/styles/variables/_elevation.js.flow +15 -0
- package/lib/styles/variables/_font.js.flow +61 -0
- package/lib/styles/variables/_motion.js.flow +13 -0
- package/lib/styles/variables/_opacity.js.flow +31 -0
- package/lib/styles/variables/_shadow.js.flow +49 -0
- package/lib/styles/variables/_size.js.flow +115 -0
- package/lib/styles/variables/_space.js.flow +25 -0
- package/lib/types/charts.js +1 -5
- package/lib/types/charts.js.flow +263 -0
- package/lib/types/common.js.flow +13 -0
- package/lib/types/date-range-picker.js +1 -5
- package/lib/types/date-range-picker.js.flow +17 -0
- package/lib/types/index.js.flow +8 -0
- package/lib/types/menu.js +1 -5
- package/lib/types/menu.js.flow +15 -0
- package/lib/types/toast.js +2 -0
- package/lib/types/toast.js.flow +41 -0
- package/lib/types/typography.js.flow +19 -0
- package/lib/utils/array/are-arrays-equal.js.flow +14 -0
- package/lib/utils/array/index.js.flow +3 -0
- package/lib/utils/charts/charts.js +0 -4
- package/lib/utils/charts/charts.js.flow +111 -0
- package/lib/utils/charts/columnChart.js +1 -3
- package/lib/utils/charts/columnChart.js.flow +63 -0
- package/lib/utils/charts/donutChart.js +2 -7
- package/lib/utils/charts/donutChart.js.flow +119 -0
- package/lib/utils/charts/funnelChart.js +1 -5
- package/lib/utils/charts/funnelChart.js.flow +102 -0
- package/lib/utils/charts/helpers.js.flow +68 -0
- package/lib/utils/charts/index.js.flow +9 -0
- package/lib/utils/charts/lineChart.js +1 -3
- package/lib/utils/charts/lineChart.js.flow +51 -0
- package/lib/utils/charts/spiderChart.js.flow +59 -0
- package/lib/utils/charts/typography.js.flow +53 -0
- package/lib/utils/classify/index.js +1 -1
- package/lib/utils/classify/index.js.flow +29 -0
- package/lib/utils/click-away/click-away.js +5 -18
- package/lib/utils/click-away/click-away.js.flow +228 -0
- package/lib/utils/click-away/index.js.flow +3 -0
- package/lib/utils/date-range-picker/date-range-picker.js +2 -17
- package/lib/utils/date-range-picker/date-range-picker.js.flow +442 -0
- package/lib/utils/date-range-picker/index.js.flow +4 -0
- package/lib/utils/date-range-picker/timezones.js +1 -0
- package/lib/utils/date-range-picker/timezones.js.flow +269 -0
- package/lib/utils/dom/dom.js +7 -9
- package/lib/utils/dom/dom.js.flow +238 -0
- package/lib/utils/dom/index.js.flow +3 -0
- package/lib/utils/helpers/helpers.js.flow +53 -0
- package/lib/utils/helpers/index.js.flow +3 -0
- package/lib/utils/index.js.flow +16 -0
- package/lib/utils/makeClassNameComponent/index.js.flow +3 -0
- package/lib/utils/makeClassNameComponent/makeClassNameComponent.js +7 -21
- package/lib/utils/makeClassNameComponent/makeClassNameComponent.js.flow +70 -0
- package/lib/utils/menu/index.js.flow +3 -0
- package/lib/utils/menu/menu.js +2 -0
- package/lib/utils/menu/menu.js.flow +193 -0
- package/lib/utils/merge-refs/index.js.flow +3 -0
- package/lib/utils/merge-refs/merge-refs.js +0 -1
- package/lib/utils/merge-refs/merge-refs.js.flow +14 -0
- package/lib/utils/rating/index.js.flow +3 -0
- package/lib/utils/rating/rating.js.flow +35 -0
- package/lib/utils/score-bar/index.js.flow +3 -0
- package/lib/utils/score-bar/score-bar.js.flow +58 -0
- package/lib/utils/string/index.js.flow +3 -0
- package/lib/utils/string/string.js.flow +33 -0
- package/lib/utils/token-list-input/token-list-input.js +2 -0
- package/lib/utils/token-list-input/token-list-input.js.flow +37 -0
- package/lib/utils/tokens/index.js.flow +3 -0
- package/lib/utils/tokens/tokens.js.flow +244 -0
- package/package.json +7 -32
- package/docs/FORWARDREF_FIX.md +0 -241
- package/lib/components/AIPromptFlow/AIPromptFlow.stories.d.ts +0 -19
- package/lib/components/AIPromptFlow/AIPromptFlow.stories.d.ts.map +0 -1
- package/lib/components/AIPromptFlow/AIPromptFlow.stories.js +0 -225
- package/lib/components/Accordion/Accordion.d.ts +0 -21
- package/lib/components/Accordion/Accordion.d.ts.map +0 -1
- package/lib/components/Accordion/Accordion.stories.d.ts +0 -143
- package/lib/components/Accordion/Accordion.stories.d.ts.map +0 -1
- package/lib/components/Accordion/Accordion.stories.js +0 -172
- package/lib/components/Accordion/AccordionGroup.d.ts +0 -17
- package/lib/components/Accordion/AccordionGroup.d.ts.map +0 -1
- package/lib/components/Accordion/AccordionGroup.stories.d.ts +0 -104
- package/lib/components/Accordion/AccordionGroup.stories.d.ts.map +0 -1
- package/lib/components/Accordion/AccordionGroup.stories.js +0 -202
- package/lib/components/Accordion/index.d.ts +0 -3
- package/lib/components/Accordion/index.d.ts.map +0 -1
- package/lib/components/Avatar/Avatar.d.ts +0 -60
- package/lib/components/Avatar/Avatar.d.ts.map +0 -1
- package/lib/components/Avatar/Avatar.stories.d.ts +0 -149
- package/lib/components/Avatar/Avatar.stories.d.ts.map +0 -1
- package/lib/components/Avatar/Avatar.stories.js +0 -174
- package/lib/components/Avatar/index.d.ts +0 -2
- package/lib/components/Avatar/index.d.ts.map +0 -1
- package/lib/components/AvatarGroup/AvatarGroup.d.ts +0 -15
- package/lib/components/AvatarGroup/AvatarGroup.d.ts.map +0 -1
- package/lib/components/AvatarGroup/AvatarGroup.stories.d.ts +0 -101
- package/lib/components/AvatarGroup/AvatarGroup.stories.d.ts.map +0 -1
- package/lib/components/AvatarGroup/AvatarGroup.stories.js +0 -160
- package/lib/components/AvatarGroup/index.d.ts +0 -2
- package/lib/components/AvatarGroup/index.d.ts.map +0 -1
- package/lib/components/Badge/Badge.d.ts +0 -40
- package/lib/components/Badge/Badge.d.ts.map +0 -1
- package/lib/components/Badge/Badge.stories.d.ts +0 -123
- package/lib/components/Badge/Badge.stories.d.ts.map +0 -1
- package/lib/components/Badge/Badge.stories.js +0 -155
- package/lib/components/Badge/index.d.ts +0 -2
- package/lib/components/Badge/index.d.ts.map +0 -1
- package/lib/components/BadgedIcon/BadgedIcon.d.ts +0 -18
- package/lib/components/BadgedIcon/BadgedIcon.d.ts.map +0 -1
- package/lib/components/BadgedIcon/BadgedIcon.stories.d.ts +0 -111
- package/lib/components/BadgedIcon/BadgedIcon.stories.d.ts.map +0 -1
- package/lib/components/BadgedIcon/BadgedIcon.stories.js +0 -95
- package/lib/components/BadgedIcon/index.d.ts +0 -2
- package/lib/components/BadgedIcon/index.d.ts.map +0 -1
- package/lib/components/Banner/Banner.d.ts +0 -7
- package/lib/components/Banner/Banner.d.ts.map +0 -1
- package/lib/components/Banner/Banner.stories.d.ts +0 -187
- package/lib/components/Banner/Banner.stories.d.ts.map +0 -1
- package/lib/components/Banner/Banner.stories.js +0 -210
- package/lib/components/Banner/index.d.ts +0 -2
- package/lib/components/Banner/index.d.ts.map +0 -1
- package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.d.ts +0 -10
- package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.d.ts.map +0 -1
- package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.stories.d.ts +0 -98
- package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.stories.d.ts.map +0 -1
- package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.stories.js +0 -122
- package/lib/components/Breadcrumbs/BreadcrumbLink/index.d.ts +0 -2
- package/lib/components/Breadcrumbs/BreadcrumbLink/index.d.ts.map +0 -1
- package/lib/components/Breadcrumbs/Breadcrumbs.d.ts +0 -14
- package/lib/components/Breadcrumbs/Breadcrumbs.d.ts.map +0 -1
- package/lib/components/Breadcrumbs/Breadcrumbs.stories.d.ts +0 -57
- package/lib/components/Breadcrumbs/Breadcrumbs.stories.d.ts.map +0 -1
- package/lib/components/Breadcrumbs/Breadcrumbs.stories.js +0 -180
- package/lib/components/Breadcrumbs/index.d.ts +0 -3
- package/lib/components/Breadcrumbs/index.d.ts.map +0 -1
- package/lib/components/Button/Button.d.ts +0 -64
- package/lib/components/Button/Button.d.ts.map +0 -1
- package/lib/components/Button/Button.stories.d.ts +0 -245
- package/lib/components/Button/Button.stories.d.ts.map +0 -1
- package/lib/components/Button/Button.stories.js +0 -257
- package/lib/components/Button/index.d.ts +0 -3
- package/lib/components/Button/index.d.ts.map +0 -1
- package/lib/components/ButtonDropdown/ButtonDropdown.d.ts +0 -40
- package/lib/components/ButtonDropdown/ButtonDropdown.d.ts.map +0 -1
- package/lib/components/ButtonDropdown/ButtonDropdown.stories.d.ts +0 -558
- package/lib/components/ButtonDropdown/ButtonDropdown.stories.d.ts.map +0 -1
- package/lib/components/ButtonDropdown/ButtonDropdown.stories.js +0 -669
- package/lib/components/ButtonDropdown/SimpleButtonDropdown.d.ts +0 -42
- package/lib/components/ButtonDropdown/SimpleButtonDropdown.d.ts.map +0 -1
- package/lib/components/ButtonDropdown/SimpleButtonDropdown.stories.d.ts +0 -628
- package/lib/components/ButtonDropdown/SimpleButtonDropdown.stories.d.ts.map +0 -1
- package/lib/components/ButtonDropdown/SimpleButtonDropdown.stories.js +0 -651
- package/lib/components/ButtonDropdown/index.d.ts +0 -3
- package/lib/components/ButtonDropdown/index.d.ts.map +0 -1
- package/lib/components/ButtonTabs/ButtonTab/ButtonTab.d.ts +0 -25
- package/lib/components/ButtonTabs/ButtonTab/ButtonTab.d.ts.map +0 -1
- package/lib/components/ButtonTabs/ButtonTab/ButtonTab.stories.d.ts +0 -142
- package/lib/components/ButtonTabs/ButtonTab/ButtonTab.stories.d.ts.map +0 -1
- package/lib/components/ButtonTabs/ButtonTab/ButtonTab.stories.js +0 -152
- package/lib/components/ButtonTabs/ButtonTab/index.d.ts +0 -2
- package/lib/components/ButtonTabs/ButtonTab/index.d.ts.map +0 -1
- package/lib/components/ButtonTabs/ButtonTabDropdown.d.ts +0 -12
- package/lib/components/ButtonTabs/ButtonTabDropdown.d.ts.map +0 -1
- package/lib/components/ButtonTabs/ButtonTabs.d.ts +0 -24
- package/lib/components/ButtonTabs/ButtonTabs.d.ts.map +0 -1
- package/lib/components/ButtonTabs/ButtonTabs.stories.d.ts +0 -201
- package/lib/components/ButtonTabs/ButtonTabs.stories.d.ts.map +0 -1
- package/lib/components/ButtonTabs/ButtonTabs.stories.js +0 -471
- package/lib/components/ButtonTabs/index.d.ts +0 -3
- package/lib/components/ButtonTabs/index.d.ts.map +0 -1
- package/lib/components/Card/Card.d.ts +0 -37
- package/lib/components/Card/Card.d.ts.map +0 -1
- package/lib/components/Card/Card.stories.d.ts +0 -150
- package/lib/components/Card/Card.stories.d.ts.map +0 -1
- package/lib/components/Card/Card.stories.js +0 -236
- package/lib/components/Card/index.d.ts +0 -2
- package/lib/components/Card/index.d.ts.map +0 -1
- package/lib/components/Charts/ChartTooltip/index.d.ts +0 -3
- package/lib/components/Charts/ChartTooltip/index.d.ts.map +0 -1
- package/lib/components/Charts/ChartWrapper/ChartWrapper.d.ts +0 -50
- package/lib/components/Charts/ChartWrapper/ChartWrapper.d.ts.map +0 -1
- package/lib/components/Charts/ChartWrapper/index.d.ts +0 -2
- package/lib/components/Charts/ChartWrapper/index.d.ts.map +0 -1
- package/lib/components/Charts/ColumnChart/ColumnChart.d.ts +0 -23
- package/lib/components/Charts/ColumnChart/ColumnChart.d.ts.map +0 -1
- package/lib/components/Charts/ColumnChart/ColumnChart.stories.d.ts +0 -446
- package/lib/components/Charts/ColumnChart/ColumnChart.stories.d.ts.map +0 -1
- package/lib/components/Charts/ColumnChart/ColumnChart.stories.js +0 -654
- package/lib/components/Charts/ColumnChart/index.d.ts +0 -2
- package/lib/components/Charts/ColumnChart/index.d.ts.map +0 -1
- package/lib/components/Charts/DonutChart/DonutChart.d.ts +0 -28
- package/lib/components/Charts/DonutChart/DonutChart.d.ts.map +0 -1
- package/lib/components/Charts/DonutChart/DonutChart.stories.d.ts +0 -226
- package/lib/components/Charts/DonutChart/DonutChart.stories.d.ts.map +0 -1
- package/lib/components/Charts/DonutChart/DonutChart.stories.js +0 -387
- package/lib/components/Charts/DonutChart/index.d.ts +0 -2
- package/lib/components/Charts/DonutChart/index.d.ts.map +0 -1
- package/lib/components/Charts/FunnelChart/FunnelChart.d.ts +0 -25
- package/lib/components/Charts/FunnelChart/FunnelChart.d.ts.map +0 -1
- package/lib/components/Charts/FunnelChart/FunnelChart.stories.d.ts +0 -307
- package/lib/components/Charts/FunnelChart/FunnelChart.stories.d.ts.map +0 -1
- package/lib/components/Charts/FunnelChart/FunnelChart.stories.js +0 -529
- package/lib/components/Charts/FunnelChart/index.d.ts +0 -2
- package/lib/components/Charts/FunnelChart/index.d.ts.map +0 -1
- package/lib/components/Charts/LineChart/LineChart.d.ts +0 -23
- package/lib/components/Charts/LineChart/LineChart.d.ts.map +0 -1
- package/lib/components/Charts/LineChart/LineChart.stories.d.ts +0 -310
- package/lib/components/Charts/LineChart/LineChart.stories.d.ts.map +0 -1
- package/lib/components/Charts/LineChart/LineChart.stories.js +0 -587
- package/lib/components/Charts/LineChart/index.d.ts +0 -2
- package/lib/components/Charts/LineChart/index.d.ts.map +0 -1
- package/lib/components/Charts/SpiderChart/SpiderChart.d.ts +0 -22
- package/lib/components/Charts/SpiderChart/SpiderChart.d.ts.map +0 -1
- package/lib/components/Charts/SpiderChart/SpiderChart.stories.d.ts +0 -149
- package/lib/components/Charts/SpiderChart/SpiderChart.stories.d.ts.map +0 -1
- package/lib/components/Charts/SpiderChart/SpiderChart.stories.js +0 -422
- package/lib/components/Charts/SpiderChart/index.d.ts +0 -2
- package/lib/components/Charts/SpiderChart/index.d.ts.map +0 -1
- package/lib/components/Charts/index.d.ts +0 -8
- package/lib/components/Charts/index.d.ts.map +0 -1
- package/lib/components/ChatBubble/ChatAnchor.stories.d.ts +0 -101
- package/lib/components/ChatBubble/ChatAnchor.stories.d.ts.map +0 -1
- package/lib/components/ChatBubble/ChatAnchor.stories.js +0 -113
- package/lib/components/ChatBubble/ChatBubble.d.ts +0 -76
- package/lib/components/ChatBubble/ChatBubble.d.ts.map +0 -1
- package/lib/components/ChatBubble/ChatBubble.stories.d.ts +0 -102
- package/lib/components/ChatBubble/ChatBubble.stories.d.ts.map +0 -1
- package/lib/components/ChatBubble/ChatBubble.stories.js +0 -188
- package/lib/components/ChatBubble/index.d.ts +0 -2
- package/lib/components/ChatBubble/index.d.ts.map +0 -1
- package/lib/components/Checkbox/Checkbox.d.ts +0 -29
- package/lib/components/Checkbox/Checkbox.d.ts.map +0 -1
- package/lib/components/Checkbox/Checkbox.stories.d.ts +0 -168
- package/lib/components/Checkbox/Checkbox.stories.d.ts.map +0 -1
- package/lib/components/Checkbox/Checkbox.stories.js +0 -210
- package/lib/components/Checkbox/CheckboxGroup.d.ts +0 -26
- package/lib/components/Checkbox/CheckboxGroup.d.ts.map +0 -1
- package/lib/components/Checkbox/CheckboxGroup.stories.d.ts +0 -163
- package/lib/components/Checkbox/CheckboxGroup.stories.d.ts.map +0 -1
- package/lib/components/Checkbox/CheckboxGroup.stories.js +0 -399
- package/lib/components/Checkbox/index.d.ts +0 -3
- package/lib/components/Checkbox/index.d.ts.map +0 -1
- package/lib/components/Chip/Chip.d.ts +0 -47
- package/lib/components/Chip/Chip.d.ts.map +0 -1
- package/lib/components/Chip/Chip.stories.d.ts +0 -238
- package/lib/components/Chip/Chip.stories.d.ts.map +0 -1
- package/lib/components/Chip/Chip.stories.js +0 -362
- package/lib/components/Chip/index.d.ts +0 -3
- package/lib/components/Chip/index.d.ts.map +0 -1
- package/lib/components/CircularLoader/CircularLoader.d.ts +0 -10
- package/lib/components/CircularLoader/CircularLoader.d.ts.map +0 -1
- package/lib/components/CircularLoader/CircularLoader.stories.d.ts +0 -64
- package/lib/components/CircularLoader/CircularLoader.stories.d.ts.map +0 -1
- package/lib/components/CircularLoader/CircularLoader.stories.js +0 -82
- package/lib/components/CircularLoader/index.d.ts +0 -2
- package/lib/components/CircularLoader/index.d.ts.map +0 -1
- package/lib/components/CollapsibleCard/CollapsibleCard.d.ts +0 -40
- package/lib/components/CollapsibleCard/CollapsibleCard.d.ts.map +0 -1
- package/lib/components/CollapsibleCard/CollapsibleCard.stories.d.ts +0 -225
- package/lib/components/CollapsibleCard/CollapsibleCard.stories.d.ts.map +0 -1
- package/lib/components/CollapsibleCard/CollapsibleCard.stories.js +0 -298
- package/lib/components/CollapsibleCard/index.d.ts +0 -2
- package/lib/components/CollapsibleCard/index.d.ts.map +0 -1
- package/lib/components/Combobox/Combobox.d.ts +0 -78
- package/lib/components/Combobox/Combobox.d.ts.map +0 -1
- package/lib/components/Combobox/Combobox.stories.d.ts +0 -197
- package/lib/components/Combobox/Combobox.stories.d.ts.map +0 -1
- package/lib/components/Combobox/Combobox.stories.js +0 -343
- package/lib/components/Combobox/helper.d.ts +0 -12
- package/lib/components/Combobox/helper.d.ts.map +0 -1
- package/lib/components/Combobox/index.d.ts +0 -2
- package/lib/components/Combobox/index.d.ts.map +0 -1
- package/lib/components/ConditionalWrapper/ConditionalWrapper.d.ts +0 -8
- package/lib/components/ConditionalWrapper/ConditionalWrapper.d.ts.map +0 -1
- package/lib/components/ConditionalWrapper/ConditionalWrapper.stories.d.ts +0 -16
- package/lib/components/ConditionalWrapper/ConditionalWrapper.stories.d.ts.map +0 -1
- package/lib/components/ConditionalWrapper/ConditionalWrapper.stories.js +0 -50
- package/lib/components/ConditionalWrapper/index.d.ts +0 -2
- package/lib/components/ConditionalWrapper/index.d.ts.map +0 -1
- package/lib/components/DateRangePicker/Calendar.d.ts +0 -22
- package/lib/components/DateRangePicker/Calendar.d.ts.map +0 -1
- package/lib/components/DateRangePicker/DateRangePicker.d.ts +0 -22
- package/lib/components/DateRangePicker/DateRangePicker.d.ts.map +0 -1
- package/lib/components/DateRangePicker/DateRangePicker.stories.d.ts +0 -184
- package/lib/components/DateRangePicker/DateRangePicker.stories.d.ts.map +0 -1
- package/lib/components/DateRangePicker/DateRangePicker.stories.js +0 -406
- package/lib/components/DateRangePicker/DateRangeWrapper.d.ts +0 -33
- package/lib/components/DateRangePicker/DateRangeWrapper.d.ts.map +0 -1
- package/lib/components/DateRangePicker/Day.d.ts +0 -17
- package/lib/components/DateRangePicker/Day.d.ts.map +0 -1
- package/lib/components/DateRangePicker/index.d.ts +0 -2
- package/lib/components/DateRangePicker/index.d.ts.map +0 -1
- package/lib/components/Dialog/Dialog.d.ts +0 -46
- package/lib/components/Dialog/Dialog.d.ts.map +0 -1
- package/lib/components/Dialog/Dialog.stories.d.ts +0 -171
- package/lib/components/Dialog/Dialog.stories.d.ts.map +0 -1
- package/lib/components/Dialog/Dialog.stories.js +0 -260
- package/lib/components/Dialog/index.d.ts +0 -2
- package/lib/components/Dialog/index.d.ts.map +0 -1
- package/lib/components/Disclaimer/Disclaimer.d.ts +0 -5
- package/lib/components/Disclaimer/Disclaimer.d.ts.map +0 -1
- package/lib/components/Disclaimer/Disclaimer.stories.d.ts +0 -156
- package/lib/components/Disclaimer/Disclaimer.stories.d.ts.map +0 -1
- package/lib/components/Disclaimer/Disclaimer.stories.js +0 -174
- package/lib/components/Disclaimer/index.d.ts +0 -2
- package/lib/components/Disclaimer/index.d.ts.map +0 -1
- package/lib/components/Dropdown/Dropdown.d.ts +0 -25
- package/lib/components/Dropdown/Dropdown.d.ts.map +0 -1
- package/lib/components/Dropdown/Dropdown.stories.d.ts +0 -417
- package/lib/components/Dropdown/Dropdown.stories.d.ts.map +0 -1
- package/lib/components/Dropdown/Dropdown.stories.js +0 -729
- package/lib/components/Dropdown/SimpleDropdown.d.ts +0 -44
- package/lib/components/Dropdown/SimpleDropdown.d.ts.map +0 -1
- package/lib/components/Dropdown/SimpleDropdown.stories.d.ts +0 -424
- package/lib/components/Dropdown/SimpleDropdown.stories.d.ts.map +0 -1
- package/lib/components/Dropdown/SimpleDropdown.stories.js +0 -569
- package/lib/components/Dropdown/index.d.ts +0 -3
- package/lib/components/Dropdown/index.d.ts.map +0 -1
- package/lib/components/EmptyState/EmptyImages/CalendarEmptyImage.d.ts +0 -3
- package/lib/components/EmptyState/EmptyImages/CalendarEmptyImage.d.ts.map +0 -1
- package/lib/components/EmptyState/EmptyImages/ChartEmptyImage.d.ts +0 -3
- package/lib/components/EmptyState/EmptyImages/ChartEmptyImage.d.ts.map +0 -1
- package/lib/components/EmptyState/EmptyImages/DataEmptyImage.d.ts +0 -3
- package/lib/components/EmptyState/EmptyImages/DataEmptyImage.d.ts.map +0 -1
- package/lib/components/EmptyState/EmptyImages/FileEmptyImage.d.ts +0 -3
- package/lib/components/EmptyState/EmptyImages/FileEmptyImage.d.ts.map +0 -1
- package/lib/components/EmptyState/EmptyImages/MessageEmptyImage.d.ts +0 -3
- package/lib/components/EmptyState/EmptyImages/MessageEmptyImage.d.ts.map +0 -1
- package/lib/components/EmptyState/EmptyImages/UploadEmptyImage.d.ts +0 -3
- package/lib/components/EmptyState/EmptyImages/UploadEmptyImage.d.ts.map +0 -1
- package/lib/components/EmptyState/EmptyImages/index.d.ts +0 -7
- package/lib/components/EmptyState/EmptyImages/index.d.ts.map +0 -1
- package/lib/components/EmptyState/EmptyState.d.ts +0 -20
- package/lib/components/EmptyState/EmptyState.d.ts.map +0 -1
- package/lib/components/EmptyState/EmptyState.stories.d.ts +0 -91
- package/lib/components/EmptyState/EmptyState.stories.d.ts.map +0 -1
- package/lib/components/EmptyState/EmptyState.stories.js +0 -115
- package/lib/components/EmptyState/index.d.ts +0 -2
- package/lib/components/EmptyState/index.d.ts.map +0 -1
- package/lib/components/ErrorMessage/ErrorImages/ForbiddenImage.d.ts +0 -3
- package/lib/components/ErrorMessage/ErrorImages/ForbiddenImage.d.ts.map +0 -1
- package/lib/components/ErrorMessage/ErrorImages/NotFoundImage.d.ts +0 -3
- package/lib/components/ErrorMessage/ErrorImages/NotFoundImage.d.ts.map +0 -1
- package/lib/components/ErrorMessage/ErrorImages/ServerErrorImage.d.ts +0 -3
- package/lib/components/ErrorMessage/ErrorImages/ServerErrorImage.d.ts.map +0 -1
- package/lib/components/ErrorMessage/ErrorImages/UnauthorizedImage.d.ts +0 -3
- package/lib/components/ErrorMessage/ErrorImages/UnauthorizedImage.d.ts.map +0 -1
- package/lib/components/ErrorMessage/ErrorImages/index.d.ts +0 -5
- package/lib/components/ErrorMessage/ErrorImages/index.d.ts.map +0 -1
- package/lib/components/ErrorMessage/ErrorMessage.d.ts +0 -22
- package/lib/components/ErrorMessage/ErrorMessage.d.ts.map +0 -1
- package/lib/components/ErrorMessage/ErrorMessage.stories.d.ts +0 -97
- package/lib/components/ErrorMessage/ErrorMessage.stories.d.ts.map +0 -1
- package/lib/components/ErrorMessage/ErrorMessage.stories.js +0 -125
- package/lib/components/ErrorMessage/index.d.ts +0 -2
- package/lib/components/ErrorMessage/index.d.ts.map +0 -1
- package/lib/components/FileUpload/FileBlock/FileBlock.d.ts +0 -14
- package/lib/components/FileUpload/FileBlock/FileBlock.d.ts.map +0 -1
- package/lib/components/FileUpload/FileBlock/FileBlock.stories.d.ts +0 -68
- package/lib/components/FileUpload/FileBlock/FileBlock.stories.d.ts.map +0 -1
- package/lib/components/FileUpload/FileBlock/FileBlock.stories.js +0 -91
- package/lib/components/FileUpload/FileBlock/index.d.ts +0 -2
- package/lib/components/FileUpload/FileBlock/index.d.ts.map +0 -1
- package/lib/components/FileUpload/FileUpload.d.ts +0 -62
- package/lib/components/FileUpload/FileUpload.d.ts.map +0 -1
- package/lib/components/FileUpload/FileUpload.stories.d.ts +0 -340
- package/lib/components/FileUpload/FileUpload.stories.d.ts.map +0 -1
- package/lib/components/FileUpload/FileUpload.stories.js +0 -952
- package/lib/components/FileUpload/index.d.ts +0 -3
- package/lib/components/FileUpload/index.d.ts.map +0 -1
- package/lib/components/FilterButtonOverlay/FilterButtonOverlay.d.ts +0 -30
- package/lib/components/FilterButtonOverlay/FilterButtonOverlay.d.ts.map +0 -1
- package/lib/components/FilterButtonOverlay/FilterButtonOverlay.stories.d.ts +0 -300
- package/lib/components/FilterButtonOverlay/FilterButtonOverlay.stories.d.ts.map +0 -1
- package/lib/components/FilterButtonOverlay/FilterButtonOverlay.stories.js +0 -390
- package/lib/components/FilterButtonOverlay/index.d.ts +0 -2
- package/lib/components/FilterButtonOverlay/index.d.ts.map +0 -1
- package/lib/components/FocusManager/FocusManager.d.ts +0 -17
- package/lib/components/FocusManager/FocusManager.d.ts.map +0 -1
- package/lib/components/FocusManager/FocusManager.stories.d.ts +0 -103
- package/lib/components/FocusManager/FocusManager.stories.d.ts.map +0 -1
- package/lib/components/FocusManager/FocusManager.stories.js +0 -133
- package/lib/components/FocusManager/index.d.ts +0 -2
- package/lib/components/FocusManager/index.d.ts.map +0 -1
- package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.d.ts +0 -20
- package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.d.ts.map +0 -1
- package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.stories.d.ts +0 -175
- package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.stories.d.ts.map +0 -1
- package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.stories.js +0 -427
- package/lib/components/FocusManagerWithArrowKeyNavigation/index.d.ts +0 -2
- package/lib/components/FocusManagerWithArrowKeyNavigation/index.d.ts.map +0 -1
- package/lib/components/FormTitleWrapper/FormTitleWrapper.d.ts +0 -21
- package/lib/components/FormTitleWrapper/FormTitleWrapper.d.ts.map +0 -1
- package/lib/components/FormTitleWrapper/FormTitleWrapper.stories.d.ts +0 -128
- package/lib/components/FormTitleWrapper/FormTitleWrapper.stories.d.ts.map +0 -1
- package/lib/components/FormTitleWrapper/FormTitleWrapper.stories.js +0 -189
- package/lib/components/FormTitleWrapper/index.d.ts +0 -2
- package/lib/components/FormTitleWrapper/index.d.ts.map +0 -1
- package/lib/components/Grid/Col.stories.d.ts +0 -66
- package/lib/components/Grid/Col.stories.d.ts.map +0 -1
- package/lib/components/Grid/Col.stories.js +0 -141
- package/lib/components/Grid/Grid.d.ts +0 -20
- package/lib/components/Grid/Grid.d.ts.map +0 -1
- package/lib/components/Grid/GridPatterns.stories.d.ts +0 -18
- package/lib/components/Grid/GridPatterns.stories.d.ts.map +0 -1
- package/lib/components/Grid/GridPatterns.stories.js +0 -392
- package/lib/components/Grid/Row.stories.d.ts +0 -41
- package/lib/components/Grid/Row.stories.d.ts.map +0 -1
- package/lib/components/Grid/Row.stories.js +0 -172
- package/lib/components/Grid/Tablist.layout.stories.d.ts +0 -20
- package/lib/components/Grid/Tablist.layout.stories.d.ts.map +0 -1
- package/lib/components/Grid/Tablist.layout.stories.js +0 -330
- package/lib/components/Grid/index.d.ts +0 -2
- package/lib/components/Grid/index.d.ts.map +0 -1
- package/lib/components/Icon/ClickableIcon.d.ts +0 -26
- package/lib/components/Icon/ClickableIcon.d.ts.map +0 -1
- package/lib/components/Icon/Icon.d.ts +0 -31
- package/lib/components/Icon/Icon.d.ts.map +0 -1
- package/lib/components/Icon/Icon.docs.d.ts +0 -134
- package/lib/components/Icon/Icon.docs.d.ts.map +0 -1
- package/lib/components/Icon/Icon.stories.d.ts +0 -193
- package/lib/components/Icon/Icon.stories.d.ts.map +0 -1
- package/lib/components/Icon/Icon.stories.js +0 -73
- package/lib/components/Icon/SemanticIcon.d.ts +0 -14
- package/lib/components/Icon/SemanticIcon.d.ts.map +0 -1
- package/lib/components/Icon/SemanticIcon.stories.d.ts +0 -190
- package/lib/components/Icon/SemanticIcon.stories.d.ts.map +0 -1
- package/lib/components/Icon/SemanticIcon.stories.js +0 -75
- package/lib/components/Icon/index.d.ts +0 -4
- package/lib/components/Icon/index.d.ts.map +0 -1
- package/lib/components/InContextAlert/InContextAlert.d.ts +0 -31
- package/lib/components/InContextAlert/InContextAlert.d.ts.map +0 -1
- package/lib/components/InContextAlert/InContextAlert.stories.d.ts +0 -164
- package/lib/components/InContextAlert/InContextAlert.stories.d.ts.map +0 -1
- package/lib/components/InContextAlert/InContextAlert.stories.js +0 -184
- package/lib/components/InContextAlert/index.d.ts +0 -2
- package/lib/components/InContextAlert/index.d.ts.map +0 -1
- package/lib/components/InfinitePagination/InfinitePagination.d.ts +0 -26
- package/lib/components/InfinitePagination/InfinitePagination.d.ts.map +0 -1
- package/lib/components/InfinitePagination/InfinitePagination.stories.d.ts +0 -145
- package/lib/components/InfinitePagination/InfinitePagination.stories.d.ts.map +0 -1
- package/lib/components/InfinitePagination/InfinitePagination.stories.js +0 -343
- package/lib/components/InfinitePagination/index.d.ts +0 -2
- package/lib/components/InfinitePagination/index.d.ts.map +0 -1
- package/lib/components/InlineDropdown/InlineDropdown.d.ts +0 -25
- package/lib/components/InlineDropdown/InlineDropdown.d.ts.map +0 -1
- package/lib/components/InlineDropdown/InlineDropdown.stories.d.ts +0 -350
- package/lib/components/InlineDropdown/InlineDropdown.stories.d.ts.map +0 -1
- package/lib/components/InlineDropdown/InlineDropdown.stories.js +0 -397
- package/lib/components/InlineDropdown/SimpleInlineDropdown.d.ts +0 -40
- package/lib/components/InlineDropdown/SimpleInlineDropdown.d.ts.map +0 -1
- package/lib/components/InlineDropdown/SimpleInlineDropdown.stories.d.ts +0 -469
- package/lib/components/InlineDropdown/SimpleInlineDropdown.stories.d.ts.map +0 -1
- package/lib/components/InlineDropdown/SimpleInlineDropdown.stories.js +0 -521
- package/lib/components/InlineDropdown/index.d.ts +0 -3
- package/lib/components/InlineDropdown/index.d.ts.map +0 -1
- package/lib/components/Input/Input.d.ts +0 -76
- package/lib/components/Input/Input.d.ts.map +0 -1
- package/lib/components/Input/Input.stories.d.ts +0 -502
- package/lib/components/Input/Input.stories.d.ts.map +0 -1
- package/lib/components/Input/Input.stories.js +0 -608
- package/lib/components/Input/NativeColorpicker.stories.d.ts +0 -370
- package/lib/components/Input/NativeColorpicker.stories.d.ts.map +0 -1
- package/lib/components/Input/NativeColorpicker.stories.js +0 -395
- package/lib/components/Input/NativeDatepicker.stories.d.ts +0 -388
- package/lib/components/Input/NativeDatepicker.stories.d.ts.map +0 -1
- package/lib/components/Input/NativeDatepicker.stories.js +0 -457
- package/lib/components/Input/index.d.ts +0 -2
- package/lib/components/Input/index.d.ts.map +0 -1
- package/lib/components/KPIBox/KPIBox.d.ts +0 -23
- package/lib/components/KPIBox/KPIBox.d.ts.map +0 -1
- package/lib/components/KPIBox/KPIBox.stories.d.ts +0 -132
- package/lib/components/KPIBox/KPIBox.stories.d.ts.map +0 -1
- package/lib/components/KPIBox/KPIBox.stories.js +0 -246
- package/lib/components/KPIBox/index.d.ts +0 -2
- package/lib/components/KPIBox/index.d.ts.map +0 -1
- package/lib/components/LinearLoader/LinearLoader.d.ts +0 -9
- package/lib/components/LinearLoader/LinearLoader.d.ts.map +0 -1
- package/lib/components/LinearLoader/LinearLoader.stories.d.ts +0 -78
- package/lib/components/LinearLoader/LinearLoader.stories.d.ts.map +0 -1
- package/lib/components/LinearLoader/LinearLoader.stories.js +0 -135
- package/lib/components/LinearLoader/index.d.ts +0 -2
- package/lib/components/LinearLoader/index.d.ts.map +0 -1
- package/lib/components/Link/Link.d.ts +0 -93
- package/lib/components/Link/Link.d.ts.map +0 -1
- package/lib/components/Link/Link.stories.d.ts +0 -284
- package/lib/components/Link/Link.stories.d.ts.map +0 -1
- package/lib/components/Link/Link.stories.js +0 -350
- package/lib/components/Link/index.d.ts +0 -2
- package/lib/components/Link/index.d.ts.map +0 -1
- package/lib/components/Menu/Menu.d.ts +0 -74
- package/lib/components/Menu/Menu.d.ts.map +0 -1
- package/lib/components/Menu/Menu.stories.d.ts +0 -526
- package/lib/components/Menu/Menu.stories.d.ts.map +0 -1
- package/lib/components/Menu/Menu.stories.js +0 -1048
- package/lib/components/Menu/MenuOptionButton.d.ts +0 -9
- package/lib/components/Menu/MenuOptionButton.d.ts.map +0 -1
- package/lib/components/Menu/index.d.ts +0 -3
- package/lib/components/Menu/index.d.ts.map +0 -1
- package/lib/components/Modal/Modal.d.ts +0 -64
- package/lib/components/Modal/Modal.d.ts.map +0 -1
- package/lib/components/Modal/Modal.stories.d.ts +0 -149
- package/lib/components/Modal/Modal.stories.d.ts.map +0 -1
- package/lib/components/Modal/Modal.stories.js +0 -427
- package/lib/components/Modal/index.d.ts +0 -3
- package/lib/components/Modal/index.d.ts.map +0 -1
- package/lib/components/Notification/Notification.d.ts +0 -37
- package/lib/components/Notification/Notification.d.ts.map +0 -1
- package/lib/components/Notification/Notification.stories.d.ts +0 -136
- package/lib/components/Notification/Notification.stories.d.ts.map +0 -1
- package/lib/components/Notification/Notification.stories.js +0 -153
- package/lib/components/Notification/index.d.ts +0 -2
- package/lib/components/Notification/index.d.ts.map +0 -1
- package/lib/components/OptionButton/OptionButton.d.ts +0 -33
- package/lib/components/OptionButton/OptionButton.d.ts.map +0 -1
- package/lib/components/OptionButton/OptionButton.stories.d.ts +0 -366
- package/lib/components/OptionButton/OptionButton.stories.d.ts.map +0 -1
- package/lib/components/OptionButton/OptionButton.stories.js +0 -437
- package/lib/components/OptionButton/SimpleOptionButton.d.ts +0 -47
- package/lib/components/OptionButton/SimpleOptionButton.d.ts.map +0 -1
- package/lib/components/OptionButton/SimpleOptionButton.stories.d.ts +0 -502
- package/lib/components/OptionButton/SimpleOptionButton.stories.d.ts.map +0 -1
- package/lib/components/OptionButton/SimpleOptionButton.stories.js +0 -552
- package/lib/components/OptionButton/index.d.ts +0 -3
- package/lib/components/OptionButton/index.d.ts.map +0 -1
- package/lib/components/PageTitle/PageTitle.d.ts +0 -156
- package/lib/components/PageTitle/PageTitle.d.ts.map +0 -1
- package/lib/components/PageTitle/PageTitle.stories.d.ts +0 -83
- package/lib/components/PageTitle/PageTitle.stories.d.ts.map +0 -1
- package/lib/components/PageTitle/PageTitle.stories.js +0 -221
- package/lib/components/PageTitle/index.d.ts +0 -2
- package/lib/components/PageTitle/index.d.ts.map +0 -1
- package/lib/components/Pagination/Pagination.d.ts +0 -39
- package/lib/components/Pagination/Pagination.d.ts.map +0 -1
- package/lib/components/Pagination/Pagination.stories.d.ts +0 -203
- package/lib/components/Pagination/Pagination.stories.d.ts.map +0 -1
- package/lib/components/Pagination/Pagination.stories.js +0 -263
- package/lib/components/Pagination/PaginationItem.d.ts +0 -5
- package/lib/components/Pagination/PaginationItem.d.ts.map +0 -1
- package/lib/components/Pagination/index.d.ts +0 -2
- package/lib/components/Pagination/index.d.ts.map +0 -1
- package/lib/components/Panel/Panel.d.ts +0 -35
- package/lib/components/Panel/Panel.d.ts.map +0 -1
- package/lib/components/Panel/Panel.stories.d.ts +0 -187
- package/lib/components/Panel/Panel.stories.d.ts.map +0 -1
- package/lib/components/Panel/Panel.stories.js +0 -415
- package/lib/components/Panel/index.d.ts +0 -3
- package/lib/components/Panel/index.d.ts.map +0 -1
- package/lib/components/ProgressDonut/ProgressDonut.d.ts +0 -13
- package/lib/components/ProgressDonut/ProgressDonut.d.ts.map +0 -1
- package/lib/components/ProgressDonut/ProgressDonut.stories.d.ts +0 -72
- package/lib/components/ProgressDonut/ProgressDonut.stories.d.ts.map +0 -1
- package/lib/components/ProgressDonut/ProgressDonut.stories.js +0 -96
- package/lib/components/ProgressDonut/index.d.ts +0 -2
- package/lib/components/ProgressDonut/index.d.ts.map +0 -1
- package/lib/components/PromptChip/PromptChip.d.ts +0 -38
- package/lib/components/PromptChip/PromptChip.d.ts.map +0 -1
- package/lib/components/PromptChip/PromptChip.stories.d.ts +0 -205
- package/lib/components/PromptChip/PromptChip.stories.d.ts.map +0 -1
- package/lib/components/PromptChip/PromptChip.stories.js +0 -242
- package/lib/components/PromptChip/index.d.ts +0 -2
- package/lib/components/PromptChip/index.d.ts.map +0 -1
- package/lib/components/PromptInput/PromptInput.d.ts +0 -38
- package/lib/components/PromptInput/PromptInput.d.ts.map +0 -1
- package/lib/components/PromptInput/PromptInput.stories.d.ts +0 -265
- package/lib/components/PromptInput/PromptInput.stories.d.ts.map +0 -1
- package/lib/components/PromptInput/PromptInput.stories.js +0 -390
- package/lib/components/PromptInput/index.d.ts +0 -2
- package/lib/components/PromptInput/index.d.ts.map +0 -1
- package/lib/components/RadioButton/RadioButton.d.ts +0 -31
- package/lib/components/RadioButton/RadioButton.d.ts.map +0 -1
- package/lib/components/RadioButton/RadioButton.stories.d.ts +0 -149
- package/lib/components/RadioButton/RadioButton.stories.d.ts.map +0 -1
- package/lib/components/RadioButton/RadioButton.stories.js +0 -180
- package/lib/components/RadioButton/RadioGroup.d.ts +0 -27
- package/lib/components/RadioButton/RadioGroup.d.ts.map +0 -1
- package/lib/components/RadioButton/RadioGroup.stories.d.ts +0 -137
- package/lib/components/RadioButton/RadioGroup.stories.d.ts.map +0 -1
- package/lib/components/RadioButton/RadioGroup.stories.js +0 -317
- package/lib/components/RadioButton/index.d.ts +0 -3
- package/lib/components/RadioButton/index.d.ts.map +0 -1
- package/lib/components/RadioTile/RadioTile.d.ts +0 -23
- package/lib/components/RadioTile/RadioTile.d.ts.map +0 -1
- package/lib/components/RadioTile/RadioTile.stories.d.ts +0 -171
- package/lib/components/RadioTile/RadioTile.stories.d.ts.map +0 -1
- package/lib/components/RadioTile/RadioTile.stories.js +0 -261
- package/lib/components/RadioTile/index.d.ts +0 -2
- package/lib/components/RadioTile/index.d.ts.map +0 -1
- package/lib/components/RangeSlider/RangeSlider.d.ts +0 -27
- package/lib/components/RangeSlider/RangeSlider.d.ts.map +0 -1
- package/lib/components/RangeSlider/RangeSlider.stories.d.ts +0 -287
- package/lib/components/RangeSlider/RangeSlider.stories.d.ts.map +0 -1
- package/lib/components/RangeSlider/RangeSlider.stories.js +0 -379
- package/lib/components/RangeSlider/index.d.ts +0 -2
- package/lib/components/RangeSlider/index.d.ts.map +0 -1
- package/lib/components/Rating/Rating.d.ts +0 -32
- package/lib/components/Rating/Rating.d.ts.map +0 -1
- package/lib/components/Rating/Rating.stories.d.ts +0 -237
- package/lib/components/Rating/Rating.stories.d.ts.map +0 -1
- package/lib/components/Rating/Rating.stories.js +0 -309
- package/lib/components/Rating/index.d.ts +0 -2
- package/lib/components/Rating/index.d.ts.map +0 -1
- package/lib/components/ScoreBar/ScoreBar.d.ts +0 -28
- package/lib/components/ScoreBar/ScoreBar.d.ts.map +0 -1
- package/lib/components/ScoreBar/ScoreBar.stories.d.ts +0 -156
- package/lib/components/ScoreBar/ScoreBar.stories.d.ts.map +0 -1
- package/lib/components/ScoreBar/ScoreBar.stories.js +0 -199
- package/lib/components/ScoreBar/index.d.ts +0 -2
- package/lib/components/ScoreBar/index.d.ts.map +0 -1
- package/lib/components/SearchInput/SearchInput.d.ts +0 -15
- package/lib/components/SearchInput/SearchInput.d.ts.map +0 -1
- package/lib/components/SearchInput/SearchInput.stories.d.ts +0 -260
- package/lib/components/SearchInput/SearchInput.stories.d.ts.map +0 -1
- package/lib/components/SearchInput/SearchInput.stories.js +0 -299
- package/lib/components/SearchInput/index.d.ts +0 -3
- package/lib/components/SearchInput/index.d.ts.map +0 -1
- package/lib/components/Separator/Separator.d.ts +0 -18
- package/lib/components/Separator/Separator.d.ts.map +0 -1
- package/lib/components/Separator/Separator.stories.d.ts +0 -79
- package/lib/components/Separator/Separator.stories.d.ts.map +0 -1
- package/lib/components/Separator/Separator.stories.js +0 -101
- package/lib/components/Separator/index.d.ts +0 -2
- package/lib/components/Separator/index.d.ts.map +0 -1
- package/lib/components/Shimmer/Shimmer.d.ts +0 -57
- package/lib/components/Shimmer/Shimmer.d.ts.map +0 -1
- package/lib/components/Shimmer/Shimmer.stories.d.ts +0 -213
- package/lib/components/Shimmer/Shimmer.stories.d.ts.map +0 -1
- package/lib/components/Shimmer/Shimmer.stories.js +0 -323
- package/lib/components/Shimmer/index.d.ts +0 -2
- package/lib/components/Shimmer/index.d.ts.map +0 -1
- package/lib/components/SideMenuLink/SideMenuLink.d.ts +0 -211
- package/lib/components/SideMenuLink/SideMenuLink.d.ts.map +0 -1
- package/lib/components/SideMenuLink/SideMenuLink.stories.d.ts +0 -96
- package/lib/components/SideMenuLink/SideMenuLink.stories.d.ts.map +0 -1
- package/lib/components/SideMenuLink/SideMenuLink.stories.js +0 -162
- package/lib/components/SideMenuLink/index.d.ts +0 -2
- package/lib/components/SideMenuLink/index.d.ts.map +0 -1
- package/lib/components/StatusIndicator/StatusIndicator.d.ts +0 -25
- package/lib/components/StatusIndicator/StatusIndicator.d.ts.map +0 -1
- package/lib/components/StatusIndicator/StatusIndicator.stories.d.ts +0 -92
- package/lib/components/StatusIndicator/StatusIndicator.stories.d.ts.map +0 -1
- package/lib/components/StatusIndicator/StatusIndicator.stories.js +0 -145
- package/lib/components/StatusIndicator/index.d.ts +0 -2
- package/lib/components/StatusIndicator/index.d.ts.map +0 -1
- package/lib/components/Stepper/Step/Step.d.ts +0 -25
- package/lib/components/Stepper/Step/Step.d.ts.map +0 -1
- package/lib/components/Stepper/Step/Step.stories.d.ts +0 -120
- package/lib/components/Stepper/Step/Step.stories.d.ts.map +0 -1
- package/lib/components/Stepper/Step/Step.stories.js +0 -147
- package/lib/components/Stepper/Step/StepContent.d.ts +0 -14
- package/lib/components/Stepper/Step/StepContent.d.ts.map +0 -1
- package/lib/components/Stepper/Step/StepLabel.d.ts +0 -14
- package/lib/components/Stepper/Step/StepLabel.d.ts.map +0 -1
- package/lib/components/Stepper/Step/index.d.ts +0 -4
- package/lib/components/Stepper/Step/index.d.ts.map +0 -1
- package/lib/components/Stepper/Stepper.d.ts +0 -15
- package/lib/components/Stepper/Stepper.d.ts.map +0 -1
- package/lib/components/Stepper/Stepper.stories.d.ts +0 -210
- package/lib/components/Stepper/Stepper.stories.d.ts.map +0 -1
- package/lib/components/Stepper/Stepper.stories.js +0 -402
- package/lib/components/Stepper/index.d.ts +0 -3
- package/lib/components/Stepper/index.d.ts.map +0 -1
- package/lib/components/StickyBar/StickyBar.d.ts +0 -15
- package/lib/components/StickyBar/StickyBar.d.ts.map +0 -1
- package/lib/components/StickyBar/StickyBar.stories.d.ts +0 -35
- package/lib/components/StickyBar/StickyBar.stories.d.ts.map +0 -1
- package/lib/components/StickyBar/StickyBar.stories.js +0 -141
- package/lib/components/StickyBar/index.d.ts +0 -2
- package/lib/components/StickyBar/index.d.ts.map +0 -1
- package/lib/components/SubMenu/SubMenu.d.ts +0 -19
- package/lib/components/SubMenu/SubMenu.d.ts.map +0 -1
- package/lib/components/SubMenu/SubMenu.stories.d.ts +0 -114
- package/lib/components/SubMenu/SubMenu.stories.d.ts.map +0 -1
- package/lib/components/SubMenu/SubMenu.stories.js +0 -373
- package/lib/components/SubMenu/SubMenuGroup.d.ts +0 -24
- package/lib/components/SubMenu/SubMenuGroup.d.ts.map +0 -1
- package/lib/components/SubMenu/SubMenuItem.d.ts +0 -42
- package/lib/components/SubMenu/SubMenuItem.d.ts.map +0 -1
- package/lib/components/SubMenu/SubMenuLink.d.ts +0 -14
- package/lib/components/SubMenu/SubMenuLink.d.ts.map +0 -1
- package/lib/components/SubMenu/index.d.ts +0 -5
- package/lib/components/SubMenu/index.d.ts.map +0 -1
- package/lib/components/Table/BasicTable.stories.d.ts +0 -536
- package/lib/components/Table/BasicTable.stories.d.ts.map +0 -1
- package/lib/components/Table/BasicTable.stories.js +0 -552
- package/lib/components/Table/BulkActions.stories.d.ts +0 -257
- package/lib/components/Table/BulkActions.stories.d.ts.map +0 -1
- package/lib/components/Table/BulkActions.stories.js +0 -252
- package/lib/components/Table/Cell.d.ts +0 -37
- package/lib/components/Table/Cell.d.ts.map +0 -1
- package/lib/components/Table/DefaultRow.d.ts +0 -39
- package/lib/components/Table/DefaultRow.d.ts.map +0 -1
- package/lib/components/Table/DefaultTableHeader.d.ts +0 -43
- package/lib/components/Table/DefaultTableHeader.d.ts.map +0 -1
- package/lib/components/Table/InlineEdit.stories.d.ts +0 -244
- package/lib/components/Table/InlineEdit.stories.d.ts.map +0 -1
- package/lib/components/Table/InlineEdit.stories.js +0 -355
- package/lib/components/Table/StaticTable.d.ts +0 -18
- package/lib/components/Table/StaticTable.d.ts.map +0 -1
- package/lib/components/Table/Table.d.ts +0 -56
- package/lib/components/Table/Table.d.ts.map +0 -1
- package/lib/components/Table/Table.docs.d.ts +0 -229
- package/lib/components/Table/Table.docs.d.ts.map +0 -1
- package/lib/components/Table/TableActionBar.d.ts +0 -11
- package/lib/components/Table/TableActionBar.d.ts.map +0 -1
- package/lib/components/Table/TableBottomBar.d.ts +0 -7
- package/lib/components/Table/TableBottomBar.d.ts.map +0 -1
- package/lib/components/Table/TableTopBar.d.ts +0 -7
- package/lib/components/Table/TableTopBar.d.ts.map +0 -1
- package/lib/components/Table/dummyTableData.d.ts +0 -1946
- package/lib/components/Table/dummyTableData.d.ts.map +0 -1
- package/lib/components/Table/hooks.d.ts +0 -15
- package/lib/components/Table/hooks.d.ts.map +0 -1
- package/lib/components/Table/index.d.ts +0 -9
- package/lib/components/Table/index.d.ts.map +0 -1
- package/lib/components/Tabs/Tab/Tab.d.ts +0 -35
- package/lib/components/Tabs/Tab/Tab.d.ts.map +0 -1
- package/lib/components/Tabs/Tab/Tab.stories.d.ts +0 -156
- package/lib/components/Tabs/Tab/Tab.stories.d.ts.map +0 -1
- package/lib/components/Tabs/Tab/Tab.stories.js +0 -179
- package/lib/components/Tabs/Tab/index.d.ts +0 -2
- package/lib/components/Tabs/Tab/index.d.ts.map +0 -1
- package/lib/components/Tabs/TabList/TabDropdown.d.ts +0 -24
- package/lib/components/Tabs/TabList/TabDropdown.d.ts.map +0 -1
- package/lib/components/Tabs/TabList/TabList.d.ts +0 -24
- package/lib/components/Tabs/TabList/TabList.d.ts.map +0 -1
- package/lib/components/Tabs/TabList/TabList.stories.d.ts +0 -111
- package/lib/components/Tabs/TabList/TabList.stories.d.ts.map +0 -1
- package/lib/components/Tabs/TabList/TabList.stories.js +0 -197
- package/lib/components/Tabs/TabList/index.d.ts +0 -2
- package/lib/components/Tabs/TabList/index.d.ts.map +0 -1
- package/lib/components/Tabs/index.d.ts +0 -3
- package/lib/components/Tabs/index.d.ts.map +0 -1
- package/lib/components/Text/HighlightedText.stories.d.ts +0 -120
- package/lib/components/Text/HighlightedText.stories.d.ts.map +0 -1
- package/lib/components/Text/HighlightedText.stories.js +0 -131
- package/lib/components/Text/Text.d.ts +0 -46
- package/lib/components/Text/Text.d.ts.map +0 -1
- package/lib/components/Text/Text.stories.d.ts +0 -271
- package/lib/components/Text/Text.stories.d.ts.map +0 -1
- package/lib/components/Text/Text.stories.js +0 -262
- package/lib/components/Text/index.d.ts +0 -4
- package/lib/components/Text/index.d.ts.map +0 -1
- package/lib/components/TextTile/TextTile.d.ts +0 -14
- package/lib/components/TextTile/TextTile.d.ts.map +0 -1
- package/lib/components/TextTile/TextTile.stories.d.ts +0 -76
- package/lib/components/TextTile/TextTile.stories.d.ts.map +0 -1
- package/lib/components/TextTile/TextTile.stories.js +0 -100
- package/lib/components/TextTile/index.d.ts +0 -2
- package/lib/components/TextTile/index.d.ts.map +0 -1
- package/lib/components/Textarea/Textarea.d.ts +0 -28
- package/lib/components/Textarea/Textarea.d.ts.map +0 -1
- package/lib/components/Textarea/Textarea.stories.d.ts +0 -264
- package/lib/components/Textarea/Textarea.stories.d.ts.map +0 -1
- package/lib/components/Textarea/Textarea.stories.js +0 -329
- package/lib/components/Textarea/index.d.ts +0 -3
- package/lib/components/Textarea/index.d.ts.map +0 -1
- package/lib/components/Timeline/Timeline.d.ts +0 -18
- package/lib/components/Timeline/Timeline.d.ts.map +0 -1
- package/lib/components/Timeline/Timeline.stories.d.ts +0 -62
- package/lib/components/Timeline/Timeline.stories.d.ts.map +0 -1
- package/lib/components/Timeline/Timeline.stories.js +0 -267
- package/lib/components/Timeline/TimelineItem/TimelineItem.d.ts +0 -28
- package/lib/components/Timeline/TimelineItem/TimelineItem.d.ts.map +0 -1
- package/lib/components/Timeline/TimelineItem/TimelineItem.stories.d.ts +0 -184
- package/lib/components/Timeline/TimelineItem/TimelineItem.stories.d.ts.map +0 -1
- package/lib/components/Timeline/TimelineItem/TimelineItem.stories.js +0 -245
- package/lib/components/Timeline/TimelineItem/index.d.ts +0 -2
- package/lib/components/Timeline/TimelineItem/index.d.ts.map +0 -1
- package/lib/components/Timeline/index.d.ts +0 -3
- package/lib/components/Timeline/index.d.ts.map +0 -1
- package/lib/components/Toast/Toast.d.ts +0 -46
- package/lib/components/Toast/Toast.d.ts.map +0 -1
- package/lib/components/Toast/Toast.stories.d.ts +0 -105
- package/lib/components/Toast/Toast.stories.d.ts.map +0 -1
- package/lib/components/Toast/Toast.stories.js +0 -237
- package/lib/components/Toast/ToastContainer.d.ts +0 -3
- package/lib/components/Toast/ToastContainer.d.ts.map +0 -1
- package/lib/components/Toast/ToastManager.d.ts +0 -23
- package/lib/components/Toast/ToastManager.d.ts.map +0 -1
- package/lib/components/Toast/index.d.ts +0 -5
- package/lib/components/Toast/index.d.ts.map +0 -1
- package/lib/components/Toggle/Toggle.d.ts +0 -30
- package/lib/components/Toggle/Toggle.d.ts.map +0 -1
- package/lib/components/Toggle/Toggle.stories.d.ts +0 -142
- package/lib/components/Toggle/Toggle.stories.d.ts.map +0 -1
- package/lib/components/Toggle/Toggle.stories.js +0 -207
- package/lib/components/Toggle/index.d.ts +0 -2
- package/lib/components/Toggle/index.d.ts.map +0 -1
- package/lib/components/TokenListInput/TokenListInput.d.ts +0 -57
- package/lib/components/TokenListInput/TokenListInput.d.ts.map +0 -1
- package/lib/components/TokenListInput/TokenListInput.stories.d.ts +0 -379
- package/lib/components/TokenListInput/TokenListInput.stories.d.ts.map +0 -1
- package/lib/components/TokenListInput/TokenListInput.stories.js +0 -877
- package/lib/components/TokenListInput/TokenValueChips.d.ts +0 -20
- package/lib/components/TokenListInput/TokenValueChips.d.ts.map +0 -1
- package/lib/components/TokenListInput/index.d.ts +0 -2
- package/lib/components/TokenListInput/index.d.ts.map +0 -1
- package/lib/components/Tooltip/Tooltip.d.ts +0 -44
- package/lib/components/Tooltip/Tooltip.d.ts.map +0 -1
- package/lib/components/Tooltip/Tooltip.stories.d.ts +0 -172
- package/lib/components/Tooltip/Tooltip.stories.d.ts.map +0 -1
- package/lib/components/Tooltip/Tooltip.stories.js +0 -321
- package/lib/components/Tooltip/index.d.ts +0 -2
- package/lib/components/Tooltip/index.d.ts.map +0 -1
- package/lib/components/Truncate/Truncate.d.ts +0 -12
- package/lib/components/Truncate/Truncate.d.ts.map +0 -1
- package/lib/components/Truncate/Truncate.stories.d.ts +0 -94
- package/lib/components/Truncate/Truncate.stories.d.ts.map +0 -1
- package/lib/components/Truncate/Truncate.stories.js +0 -118
- package/lib/components/Truncate/index.d.ts +0 -3
- package/lib/components/Truncate/index.d.ts.map +0 -1
- package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.d.ts +0 -16
- package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.d.ts.map +0 -1
- package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.stories.d.ts +0 -110
- package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.stories.d.ts.map +0 -1
- package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.stories.js +0 -161
- package/lib/components/TruncatedTextWithTooltip/index.d.ts +0 -2
- package/lib/components/TruncatedTextWithTooltip/index.d.ts.map +0 -1
- package/lib/components/Typeahead/SimpleTypeahead.d.ts +0 -41
- package/lib/components/Typeahead/SimpleTypeahead.d.ts.map +0 -1
- package/lib/components/Typeahead/SimpleTypeahead.stories.d.ts +0 -396
- package/lib/components/Typeahead/SimpleTypeahead.stories.d.ts.map +0 -1
- package/lib/components/Typeahead/SimpleTypeahead.stories.js +0 -591
- package/lib/components/Typeahead/Typeahead.d.ts +0 -30
- package/lib/components/Typeahead/Typeahead.d.ts.map +0 -1
- package/lib/components/Typeahead/Typeahead.stories.d.ts +0 -399
- package/lib/components/Typeahead/Typeahead.stories.d.ts.map +0 -1
- package/lib/components/Typeahead/Typeahead.stories.js +0 -648
- package/lib/components/Typeahead/index.d.ts +0 -3
- package/lib/components/Typeahead/index.d.ts.map +0 -1
- package/lib/components/WeekdayPicker/WeekdayPicker.d.ts +0 -36
- package/lib/components/WeekdayPicker/WeekdayPicker.d.ts.map +0 -1
- package/lib/components/WeekdayPicker/WeekdayPicker.stories.d.ts +0 -238
- package/lib/components/WeekdayPicker/WeekdayPicker.stories.d.ts.map +0 -1
- package/lib/components/WeekdayPicker/WeekdayPicker.stories.js +0 -330
- package/lib/components/WeekdayPicker/index.d.ts +0 -2
- package/lib/components/WeekdayPicker/index.d.ts.map +0 -1
- package/lib/components/index.d.ts +0 -76
- package/lib/components/index.d.ts.map +0 -1
- package/lib/flow-to-typescript-codemod.d.ts +0 -48
- package/lib/hooks/index.d.ts +0 -17
- package/lib/hooks/index.d.ts.map +0 -1
- package/lib/hooks/useArbitraryOptionAddition/index.d.ts +0 -2
- package/lib/hooks/useArbitraryOptionAddition/index.d.ts.map +0 -1
- package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.d.ts +0 -24
- package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.d.ts.map +0 -1
- package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.stories.d.ts +0 -18
- package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.stories.d.ts.map +0 -1
- package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.stories.js +0 -171
- package/lib/hooks/useCopyToClipboard/index.d.ts +0 -2
- package/lib/hooks/useCopyToClipboard/index.d.ts.map +0 -1
- package/lib/hooks/useCopyToClipboard/useCopyToClipboard.d.ts +0 -5
- package/lib/hooks/useCopyToClipboard/useCopyToClipboard.d.ts.map +0 -1
- package/lib/hooks/useCopyToClipboard/useCopyToClipboard.stories.d.ts +0 -24
- package/lib/hooks/useCopyToClipboard/useCopyToClipboard.stories.d.ts.map +0 -1
- package/lib/hooks/useCopyToClipboard/useCopyToClipboard.stories.js +0 -107
- package/lib/hooks/useDebounce/index.d.ts +0 -2
- package/lib/hooks/useDebounce/index.d.ts.map +0 -1
- package/lib/hooks/useDebounce/useDebounce.d.ts +0 -2
- package/lib/hooks/useDebounce/useDebounce.d.ts.map +0 -1
- package/lib/hooks/useDebounce/useDebounce.stories.d.ts +0 -26
- package/lib/hooks/useDebounce/useDebounce.stories.d.ts.map +0 -1
- package/lib/hooks/useDebounce/useDebounce.stories.js +0 -80
- package/lib/hooks/useFileUpload/index.d.ts +0 -2
- package/lib/hooks/useFileUpload/index.d.ts.map +0 -1
- package/lib/hooks/useFileUpload/useFileUpload.d.ts +0 -17
- package/lib/hooks/useFileUpload/useFileUpload.d.ts.map +0 -1
- package/lib/hooks/useFileUpload/useFileUpload.stories.d.ts +0 -16
- package/lib/hooks/useFileUpload/useFileUpload.stories.d.ts.map +0 -1
- package/lib/hooks/useFileUpload/useFileUpload.stories.js +0 -405
- package/lib/hooks/useFilteredOptions/index.d.ts +0 -2
- package/lib/hooks/useFilteredOptions/index.d.ts.map +0 -1
- package/lib/hooks/useFilteredOptions/useFilteredOptions.d.ts +0 -17
- package/lib/hooks/useFilteredOptions/useFilteredOptions.d.ts.map +0 -1
- package/lib/hooks/useFilteredOptions/useFilteredOptions.stories.d.ts +0 -18
- package/lib/hooks/useFilteredOptions/useFilteredOptions.stories.d.ts.map +0 -1
- package/lib/hooks/useFilteredOptions/useFilteredOptions.stories.js +0 -155
- package/lib/hooks/useInfiniteScroll/index.d.ts +0 -2
- package/lib/hooks/useInfiniteScroll/index.d.ts.map +0 -1
- package/lib/hooks/useInfiniteScroll/useInfiniteScroll.d.ts +0 -15
- package/lib/hooks/useInfiniteScroll/useInfiniteScroll.d.ts.map +0 -1
- package/lib/hooks/useInputState/index.d.ts +0 -2
- package/lib/hooks/useInputState/index.d.ts.map +0 -1
- package/lib/hooks/useInputState/useInputState.d.ts +0 -13
- package/lib/hooks/useInputState/useInputState.d.ts.map +0 -1
- package/lib/hooks/useInputState/useInputState.stories.d.ts +0 -16
- package/lib/hooks/useInputState/useInputState.stories.d.ts.map +0 -1
- package/lib/hooks/useInputState/useInputState.stories.js +0 -67
- package/lib/hooks/useLockedBody/index.d.ts +0 -2
- package/lib/hooks/useLockedBody/index.d.ts.map +0 -1
- package/lib/hooks/useLockedBody/useLockedBody.d.ts +0 -4
- package/lib/hooks/useLockedBody/useLockedBody.d.ts.map +0 -1
- package/lib/hooks/useLockedBody/useLockedBody.stories.d.ts +0 -17
- package/lib/hooks/useLockedBody/useLockedBody.stories.d.ts.map +0 -1
- package/lib/hooks/useLockedBody/useLockedBody.stories.js +0 -69
- package/lib/hooks/useModal/index.d.ts +0 -2
- package/lib/hooks/useModal/index.d.ts.map +0 -1
- package/lib/hooks/useModal/useModal.d.ts +0 -11
- package/lib/hooks/useModal/useModal.d.ts.map +0 -1
- package/lib/hooks/useModal/useModal.stories.d.ts +0 -16
- package/lib/hooks/useModal/useModal.stories.d.ts.map +0 -1
- package/lib/hooks/useModal/useModal.stories.js +0 -138
- package/lib/hooks/useMountTransition/index.d.ts +0 -3
- package/lib/hooks/useMountTransition/index.d.ts.map +0 -1
- package/lib/hooks/useMountTransition/useMountTransition.stories.d.ts +0 -16
- package/lib/hooks/useMountTransition/useMountTransition.stories.d.ts.map +0 -1
- package/lib/hooks/useMountTransition/useMountTransition.stories.js +0 -64
- package/lib/hooks/usePagination/index.d.ts +0 -2
- package/lib/hooks/usePagination/index.d.ts.map +0 -1
- package/lib/hooks/usePagination/usePagination.d.ts +0 -5
- package/lib/hooks/usePagination/usePagination.d.ts.map +0 -1
- package/lib/hooks/usePagination/usePagination.stories.d.ts +0 -18
- package/lib/hooks/usePagination/usePagination.stories.d.ts.map +0 -1
- package/lib/hooks/usePagination/usePagination.stories.js +0 -77
- package/lib/hooks/useReferenceElementWidth/index.d.ts +0 -2
- package/lib/hooks/useReferenceElementWidth/index.d.ts.map +0 -1
- package/lib/hooks/useReferenceElementWidth/useReferenceElementWidth.d.ts +0 -2
- package/lib/hooks/useReferenceElementWidth/useReferenceElementWidth.d.ts.map +0 -1
- package/lib/hooks/useResizeObserver/index.d.ts +0 -2
- package/lib/hooks/useResizeObserver/index.d.ts.map +0 -1
- package/lib/hooks/useResizeObserver/useResizeObserver.d.ts +0 -3
- package/lib/hooks/useResizeObserver/useResizeObserver.d.ts.map +0 -1
- package/lib/hooks/useToastPortal/index.d.ts +0 -2
- package/lib/hooks/useToastPortal/index.d.ts.map +0 -1
- package/lib/hooks/useToastPortal/useToastPortal.d.ts +0 -10
- package/lib/hooks/useToastPortal/useToastPortal.d.ts.map +0 -1
- package/lib/hooks/useToggle/index.d.ts +0 -2
- package/lib/hooks/useToggle/index.d.ts.map +0 -1
- package/lib/hooks/useToggle/useToggle.d.ts +0 -2
- package/lib/hooks/useToggle/useToggle.d.ts.map +0 -1
- package/lib/hooks/useToggle/useToggle.stories.d.ts +0 -17
- package/lib/hooks/useToggle/useToggle.stories.d.ts.map +0 -1
- package/lib/hooks/useToggle/useToggle.stories.js +0 -68
- package/lib/hooks/useWindowSize/index.d.ts +0 -2
- package/lib/hooks/useWindowSize/index.d.ts.map +0 -1
- package/lib/hooks/useWindowSize/useWindowSize.d.ts +0 -7
- package/lib/hooks/useWindowSize/useWindowSize.d.ts.map +0 -1
- package/lib/hooks/useWindowSize/useWindowSize.stories.d.ts +0 -17
- package/lib/hooks/useWindowSize/useWindowSize.stories.d.ts.map +0 -1
- package/lib/hooks/useWindowSize/useWindowSize.stories.js +0 -58
- package/lib/index.d.ts +0 -6
- package/lib/index.d.ts.map +0 -1
- package/lib/stories/Border/Border.stories.d.ts +0 -12
- package/lib/stories/Border/Border.stories.d.ts.map +0 -1
- package/lib/stories/Color/Color.stories.d.ts +0 -13
- package/lib/stories/Color/Color.stories.d.ts.map +0 -1
- package/lib/stories/Elevation/Elevation.stories.d.ts +0 -12
- package/lib/stories/Elevation/Elevation.stories.d.ts.map +0 -1
- package/lib/stories/Introduction/index.d.ts +0 -3
- package/lib/stories/Introduction/index.d.ts.map +0 -1
- package/lib/stories/Motion/Motion.stories.d.ts +0 -12
- package/lib/stories/Motion/Motion.stories.d.ts.map +0 -1
- package/lib/stories/Opacity/Opacity.stories.d.ts +0 -12
- package/lib/stories/Opacity/Opacity.stories.d.ts.map +0 -1
- package/lib/stories/Shadow/Shadow.stories.d.ts +0 -12
- package/lib/stories/Shadow/Shadow.stories.d.ts.map +0 -1
- package/lib/stories/Size/Size.stories.d.ts +0 -12
- package/lib/stories/Size/Size.stories.d.ts.map +0 -1
- package/lib/stories/Space/Space.stories.d.ts +0 -12
- package/lib/stories/Space/Space.stories.d.ts.map +0 -1
- package/lib/stories/Tokens/index.d.ts +0 -3
- package/lib/stories/Tokens/index.d.ts.map +0 -1
- package/lib/styles/index.d.ts +0 -268
- package/lib/styles/index.d.ts.map +0 -1
- package/lib/styles/variables/_border.d.ts +0 -13
- package/lib/styles/variables/_border.d.ts.map +0 -1
- package/lib/styles/variables/_color.d.ts +0 -105
- package/lib/styles/variables/_color.d.ts.map +0 -1
- package/lib/styles/variables/_elevation.d.ts +0 -8
- package/lib/styles/variables/_elevation.d.ts.map +0 -1
- package/lib/styles/variables/_font.d.ts +0 -31
- package/lib/styles/variables/_font.d.ts.map +0 -1
- package/lib/styles/variables/_motion.d.ts +0 -7
- package/lib/styles/variables/_motion.d.ts.map +0 -1
- package/lib/styles/variables/_opacity.d.ts +0 -16
- package/lib/styles/variables/_opacity.d.ts.map +0 -1
- package/lib/styles/variables/_shadow.d.ts +0 -25
- package/lib/styles/variables/_shadow.d.ts.map +0 -1
- package/lib/styles/variables/_size.d.ts +0 -58
- package/lib/styles/variables/_size.d.ts.map +0 -1
- package/lib/styles/variables/_space.d.ts +0 -13
- package/lib/styles/variables/_space.d.ts.map +0 -1
- package/lib/types/charts.d.ts +0 -224
- package/lib/types/charts.d.ts.map +0 -1
- package/lib/types/common.d.ts +0 -10
- package/lib/types/common.d.ts.map +0 -1
- package/lib/types/cssvariables.d.js +0 -3
- package/lib/types/date-range-picker.d.ts +0 -21
- package/lib/types/date-range-picker.d.ts.map +0 -1
- package/lib/types/flow-to-typescript-codemod.d.js +0 -1
- package/lib/types/global.d.js +0 -1
- package/lib/types/index.d.ts +0 -7
- package/lib/types/index.d.ts.map +0 -1
- package/lib/types/menu.d.ts +0 -13
- package/lib/types/menu.d.ts.map +0 -1
- package/lib/types/toast.d.ts +0 -28
- package/lib/types/toast.d.ts.map +0 -1
- package/lib/types/typography.d.ts +0 -17
- package/lib/types/typography.d.ts.map +0 -1
- package/lib/utils/array/are-arrays-equal.d.ts +0 -4
- package/lib/utils/array/are-arrays-equal.d.ts.map +0 -1
- package/lib/utils/array/index.d.ts +0 -2
- package/lib/utils/array/index.d.ts.map +0 -1
- package/lib/utils/charts/charts.d.ts +0 -17
- package/lib/utils/charts/charts.d.ts.map +0 -1
- package/lib/utils/charts/columnChart.d.ts +0 -8
- package/lib/utils/charts/columnChart.d.ts.map +0 -1
- package/lib/utils/charts/donutChart.d.ts +0 -21
- package/lib/utils/charts/donutChart.d.ts.map +0 -1
- package/lib/utils/charts/funnelChart.d.ts +0 -10
- package/lib/utils/charts/funnelChart.d.ts.map +0 -1
- package/lib/utils/charts/helpers.d.ts +0 -76
- package/lib/utils/charts/helpers.d.ts.map +0 -1
- package/lib/utils/charts/index.d.ts +0 -8
- package/lib/utils/charts/index.d.ts.map +0 -1
- package/lib/utils/charts/lineChart.d.ts +0 -7
- package/lib/utils/charts/lineChart.d.ts.map +0 -1
- package/lib/utils/charts/spiderChart.d.ts +0 -18
- package/lib/utils/charts/spiderChart.d.ts.map +0 -1
- package/lib/utils/charts/typography.d.ts +0 -58
- package/lib/utils/charts/typography.d.ts.map +0 -1
- package/lib/utils/classify/classify.stories.d.ts +0 -17
- package/lib/utils/classify/classify.stories.d.ts.map +0 -1
- package/lib/utils/classify/classify.stories.js +0 -63
- package/lib/utils/classify/index.d.ts +0 -3
- package/lib/utils/classify/index.d.ts.map +0 -1
- package/lib/utils/click-away/ClickAway.stories.d.ts +0 -106
- package/lib/utils/click-away/ClickAway.stories.d.ts.map +0 -1
- package/lib/utils/click-away/ClickAway.stories.js +0 -260
- package/lib/utils/click-away/click-away.d.ts +0 -77
- package/lib/utils/click-away/click-away.d.ts.map +0 -1
- package/lib/utils/click-away/index.d.ts +0 -2
- package/lib/utils/click-away/index.d.ts.map +0 -1
- package/lib/utils/date-range-picker/date-range-picker.d.ts +0 -63
- package/lib/utils/date-range-picker/date-range-picker.d.ts.map +0 -1
- package/lib/utils/date-range-picker/index.d.ts +0 -3
- package/lib/utils/date-range-picker/index.d.ts.map +0 -1
- package/lib/utils/date-range-picker/timezones.d.ts +0 -258
- package/lib/utils/date-range-picker/timezones.d.ts.map +0 -1
- package/lib/utils/dom/dom.d.ts +0 -38
- package/lib/utils/dom/dom.d.ts.map +0 -1
- package/lib/utils/dom/dom.stories.d.ts +0 -15
- package/lib/utils/dom/dom.stories.d.ts.map +0 -1
- package/lib/utils/dom/dom.stories.js +0 -59
- package/lib/utils/dom/index.d.ts +0 -2
- package/lib/utils/dom/index.d.ts.map +0 -1
- package/lib/utils/helpers/helpers.d.ts +0 -4
- package/lib/utils/helpers/helpers.d.ts.map +0 -1
- package/lib/utils/helpers/helpers.stories.d.ts +0 -15
- package/lib/utils/helpers/helpers.stories.d.ts.map +0 -1
- package/lib/utils/helpers/helpers.stories.js +0 -111
- package/lib/utils/helpers/index.d.ts +0 -2
- package/lib/utils/helpers/index.d.ts.map +0 -1
- package/lib/utils/index.d.ts +0 -15
- package/lib/utils/index.d.ts.map +0 -1
- package/lib/utils/makeClassNameComponent/index.d.ts +0 -2
- package/lib/utils/makeClassNameComponent/index.d.ts.map +0 -1
- package/lib/utils/makeClassNameComponent/makeClassNameComponent.d.ts +0 -9
- package/lib/utils/makeClassNameComponent/makeClassNameComponent.d.ts.map +0 -1
- package/lib/utils/makeClassNameComponent/makeClassNameComponent.stories.d.ts +0 -15
- package/lib/utils/makeClassNameComponent/makeClassNameComponent.stories.d.ts.map +0 -1
- package/lib/utils/makeClassNameComponent/makeClassNameComponent.stories.js +0 -44
- package/lib/utils/menu/index.d.ts +0 -2
- package/lib/utils/menu/index.d.ts.map +0 -1
- package/lib/utils/menu/menu.d.ts +0 -20
- package/lib/utils/menu/menu.d.ts.map +0 -1
- package/lib/utils/merge-refs/index.d.ts +0 -2
- package/lib/utils/merge-refs/index.d.ts.map +0 -1
- package/lib/utils/merge-refs/merge-refs.d.ts +0 -4
- package/lib/utils/merge-refs/merge-refs.d.ts.map +0 -1
- package/lib/utils/merge-refs/merge-refs.stories.d.ts +0 -15
- package/lib/utils/merge-refs/merge-refs.stories.d.ts.map +0 -1
- package/lib/utils/merge-refs/merge-refs.stories.js +0 -86
- package/lib/utils/rating/index.d.ts +0 -2
- package/lib/utils/rating/index.d.ts.map +0 -1
- package/lib/utils/rating/rating.d.ts +0 -13
- package/lib/utils/rating/rating.d.ts.map +0 -1
- package/lib/utils/score-bar/index.d.ts +0 -2
- package/lib/utils/score-bar/index.d.ts.map +0 -1
- package/lib/utils/score-bar/score-bar.d.ts +0 -10
- package/lib/utils/score-bar/score-bar.d.ts.map +0 -1
- package/lib/utils/string/index.d.ts +0 -2
- package/lib/utils/string/index.d.ts.map +0 -1
- package/lib/utils/string/string.d.ts +0 -6
- package/lib/utils/string/string.d.ts.map +0 -1
- package/lib/utils/string/string.stories.d.ts +0 -15
- package/lib/utils/string/string.stories.d.ts.map +0 -1
- package/lib/utils/string/string.stories.js +0 -63
- package/lib/utils/token-list-input/token-list-input.d.ts +0 -15
- package/lib/utils/token-list-input/token-list-input.d.ts.map +0 -1
- package/lib/utils/tokens/index.d.ts +0 -2
- package/lib/utils/tokens/index.d.ts.map +0 -1
- package/lib/utils/tokens/tokens.d.ts +0 -41
- package/lib/utils/tokens/tokens.d.ts.map +0 -1
- package/tsconfig.declaration.json +0 -19
- package/tsconfig.declaration.tsbuildinfo +0 -1
- package/tsconfig.json +0 -40
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
// @flow strict
|
|
2
|
+
|
|
3
|
+
type TokenObject = {[key: string]: string};
|
|
4
|
+
|
|
5
|
+
export type SortOrder = 'asc' | 'desc';
|
|
6
|
+
|
|
7
|
+
export type SortBy = 'name' | 'value';
|
|
8
|
+
|
|
9
|
+
export type TableDataItem = {
|
|
10
|
+
id: string | number,
|
|
11
|
+
name: string,
|
|
12
|
+
value: string,
|
|
13
|
+
demo: string,
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export type TableData = Array<TableDataItem>;
|
|
17
|
+
|
|
18
|
+
export type DataVariation = {
|
|
19
|
+
title: string,
|
|
20
|
+
description: string,
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export const dataVariations: Array<DataVariation> = [
|
|
24
|
+
{
|
|
25
|
+
title: 'The Great HTML Escape 🎩🌐',
|
|
26
|
+
description:
|
|
27
|
+
'Watch out! Our HTML has escaped and is running wild on the web. It\'s causing mischief, adding tags and styles wherever it pleases! <div>🙈</div>',
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
title: 'The CSS Enigma 🔍💡',
|
|
31
|
+
description:
|
|
32
|
+
'Behold the CSS enigma! Our styles have tangled themselves into a web of complexity. Can you decipher the mystery and bring order to the chaos? 💻🎨',
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
title: 'The Missing Dependency 😱📦',
|
|
36
|
+
description:
|
|
37
|
+
'Uh-oh! It seems like a crucial frontend dependency went on a vacation and forgot to come back. Without it, our application feels a bit incomplete. We\'re on the lookout for its grand return! 🏖️🌴',
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
title: 'The Vanishing CSS Rule 🙀🎩',
|
|
41
|
+
description:
|
|
42
|
+
'Hocus pocus! A CSS rule vanished into thin air, leaving our styles in a state of bewilderment. We\'re summoning all our magical powers to bring it back. Abracadabra, where did it go? 🧙♂️✨',
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
title: 'The Mysterious JavaScript Bug 🐞❓',
|
|
46
|
+
description:
|
|
47
|
+
'We\'ve encountered a puzzling JavaScript bug that seems to have hidden itself in the shadows of our codebase. It\'s playing hide-and-seek, but fear not! We\'ll track it down and restore order to our application. 🔍🔦',
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
title: 'The Lost Code Snippet 🧐🔍',
|
|
51
|
+
description:
|
|
52
|
+
'Oh no! It appears that a valuable code snippet has gone missing, leaving us scratching our heads. We\'re combing through the archives and retracing our steps to recover it. We won\'t stop until it\'s back where it belongs! 🕵️♂️🔎',
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
title: 'The Hidden API Endpoint 🕵️♀️🔐',
|
|
56
|
+
description:
|
|
57
|
+
'We\'re on a mission to find an elusive API endpoint that seems to have vanished into the depths of the backend. We\'re following the clues, decoding cryptic messages, and hacking our way through the digital maze. Stay tuned for its triumphant rediscovery! 🚀🌐',
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
title: 'The Ghostly UI Element 👻👁️',
|
|
61
|
+
description:
|
|
62
|
+
'Beware of the ghostly UI element! It has mysteriously disappeared from our interface, leaving behind an empty void. We\'ve dispatched our best designers to investigate and resurrect it. Soon, it\'ll return to haunt the pixels once again! 🎃💻',
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
title: 'The Evaporating Stylesheet 💦🎨',
|
|
66
|
+
description:
|
|
67
|
+
'Uh-oh! It seems like our stylesheet got caught in a cosmic evaporation event, and now our carefully crafted styles are floating in the digital ether. We\'re working on a rescue mission to bring them back to the realm of the browser. ✨🚀',
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
title: 'The Missing Feature Fairy 🧚✨',
|
|
71
|
+
description:
|
|
72
|
+
'We\'ve sent out an APB (All Points Bulletin) for the missing feature fairy. She\'s known for sprinkling delightful functionalities into our applications, but it seems she took a detour. We\'re patiently waiting for her magical return! 🌟🧚♀️',
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
title: 'The Invisible DOM Element 🙈🌐',
|
|
76
|
+
description:
|
|
77
|
+
'Something peculiar has happened! A DOM element has turned invisible, playing tricks on our frontend. We\'ve called in our best detectives to investigate this optical illusion and restore its rightful visibility. Stay tuned for the grand unveiling! 👀✨',
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
title: 'The Elusive Frontend Bug 🐛❓',
|
|
81
|
+
description:
|
|
82
|
+
'Our frontend bug seems to have gained a PhD in camouflage and disappeared into the code jungle. We\'re conducting bug-hunting expeditions, armed with magnifying glasses and a good sense of humor. It won\'t escape our watchful eyes for long! 🕵️♀️🔍',
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
title: 'The Abducted Animation 🌪️🎥',
|
|
86
|
+
description:
|
|
87
|
+
'Alert! An animation has been abducted from our frontend, leaving us with static screens. We suspect interdimensional interference. We\'re assembling a rescue team armed with keyframes and transition effects. Together, we\'ll bring motion back to our digital world! ⚡️🎬',
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
title: 'The Disappearing Click Event 🙀🖱️',
|
|
91
|
+
description:
|
|
92
|
+
'In a twist of events, a click event has mysteriously vanished, eluding our attempts to capture it. We\'ve set up mouse traps and deployed debugging tools to solve this enigma. Don\'t worry, we\'ll catch that sneaky click and restore its functionality! 🔍🔧',
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
title: 'The Phantom Mobile Responsiveness 👻📱',
|
|
96
|
+
description:
|
|
97
|
+
'Beware of the phantom mobile responsiveness! It likes to hide in the shadows, making our web pages look like a ghost town on small screens. We\'re summoning our media queries and responsive design tactics to banish this spectral issue. Soon, our pages will be mobile-friendly once more! 📲💪',
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
title: 'The Misplaced UI Element 🧭🔄',
|
|
101
|
+
description:
|
|
102
|
+
'Oops! It seems like a UI element lost its way and ended up in the wrong place. We\'re guiding it back to its rightful position with pixel-perfect precision. Soon, order will be restored, and our interface will be back in balance! 🗺️🔀',
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
title: 'The Cryptic JavaScript Error 🔐❓',
|
|
106
|
+
description:
|
|
107
|
+
'We\'ve stumbled upon a cryptic JavaScript error that speaks in riddles, leaving us scratching our heads. Fear not, our code sorcerers are deciphering the error message, searching for the hidden clues to resolve this enigmatic mystery. ✨🔍',
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
title: 'The Broken CSS Grid 📏🔩',
|
|
111
|
+
description:
|
|
112
|
+
'Oh no! Our CSS grid has sprung a leak and lost its structure. We\'re patching it up with grid areas and grid-template-areas to bring order back to the layout. Soon, the grid will stand strong and proud! 🧰🔧',
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
title: 'The Disappearing Web Fonts 🙈🖊️',
|
|
116
|
+
description:
|
|
117
|
+
'Web fonts have vanished without a trace, leaving our text looking plain and dull. We\'re calling in the font detectives to investigate this typographic disappearance. We won\'t rest until our words are dressed in style once again! 👓🔎',
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
title: 'The Forgotten Vendor Prefixes 🤔🔍',
|
|
121
|
+
description:
|
|
122
|
+
'Oops! It seems that some vendor prefixes got lost in the shuffle, leaving our CSS properties puzzled. We\'re on a mission to rediscover these elusive prefixes and ensure our styles are cross-browser compatible. Together, we\'ll navigate the prefix labyrinth and emerge victorious! 💪🚀',
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
title: 'The Invisible API Response 🙈📡',
|
|
126
|
+
description:
|
|
127
|
+
'We\'re experiencing an API response that\'s mastered the art of invisibility. It\'s hiding behind layers of middleware and network protocols. We\'ve enlisted our finest backend wizards to conjure it back into visibility. Be patient, and soon the data will reappear like magic! 🧙♂️✨',
|
|
128
|
+
},
|
|
129
|
+
];
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
*
|
|
133
|
+
* This function takes in an object containing key-value pairs of tokens,
|
|
134
|
+
* where values are strings representing numerical
|
|
135
|
+
* values with optional percentage or viewport units. It also takes in an optional
|
|
136
|
+
* sort order ('asc' or 'desc') and an optional sort by parameter ('name' or 'value').
|
|
137
|
+
*
|
|
138
|
+
* The function sorts the tokens by either their key names (if sortBy='name') or their
|
|
139
|
+
* numerical values (if sortBy='value'). The sort order can be specified as
|
|
140
|
+
* ascending (order='asc') or descending (order='desc').
|
|
141
|
+
*
|
|
142
|
+
* The function handles values with different units by comparing their numerical values.
|
|
143
|
+
* If both values have the same unit, their numerical values are compared directly.
|
|
144
|
+
* If their units are different, tokens with percentage values are considered greater than
|
|
145
|
+
* those with viewport units, and tokens without a percentage or viewport unit are compared
|
|
146
|
+
* based on their numerical values.
|
|
147
|
+
*
|
|
148
|
+
*/
|
|
149
|
+
export const getSortedTokenNames = (
|
|
150
|
+
obj: TokenObject,
|
|
151
|
+
order?: SortOrder = 'asc',
|
|
152
|
+
sortBy?: SortBy = 'value',
|
|
153
|
+
): Array<string> => {
|
|
154
|
+
// Create an array from the object keys and sort the array
|
|
155
|
+
const sortedTokens = Object.keys(obj).sort((token1, token2) => {
|
|
156
|
+
const value1 = obj[token1];
|
|
157
|
+
const value2 = obj[token2];
|
|
158
|
+
|
|
159
|
+
// Convert value1 to a number
|
|
160
|
+
const numValue1 = parseFloat(value1);
|
|
161
|
+
// Convert value2 to a number
|
|
162
|
+
const numValue2 = parseFloat(value2);
|
|
163
|
+
|
|
164
|
+
if (sortBy === 'name') {
|
|
165
|
+
// Sorting by name
|
|
166
|
+
return order === 'asc'
|
|
167
|
+
? token1.localeCompare(token2) // Compare key names directly
|
|
168
|
+
: token2.localeCompare(token1);
|
|
169
|
+
} else {
|
|
170
|
+
const isPercentage1 = value1.endsWith('%');
|
|
171
|
+
const isPercentage2 = value2.endsWith('%');
|
|
172
|
+
const isViewport1 = value1.endsWith('vw') || value1.endsWith('vh');
|
|
173
|
+
const isViewport2 = value2.endsWith('vw') || value2.endsWith('vh');
|
|
174
|
+
|
|
175
|
+
if ((isPercentage1 && isPercentage2) || (isViewport1 && isViewport2)) {
|
|
176
|
+
// If both tokens have the same unit (percentage or viewport), compare their numerical values
|
|
177
|
+
return order === 'asc' ? numValue1 - numValue2 : numValue2 - numValue1;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
if (isPercentage1 && !isPercentage2) {
|
|
181
|
+
// Only token1 has a percentage value, consider it greater than token2
|
|
182
|
+
return order === 'asc' ? 1 : -1;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
if (!isPercentage1 && isPercentage2) {
|
|
186
|
+
// Only token2 has a percentage value, consider it greater than token1
|
|
187
|
+
return order === 'asc' ? -1 : 1;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
if (isViewport1 && !isViewport2) {
|
|
191
|
+
// Only token1 has a viewport unit value, consider it greater than token2
|
|
192
|
+
return order === 'asc' ? 1 : -1;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
if (!isViewport1 && isViewport2) {
|
|
196
|
+
// Only token2 has a viewport unit value, consider it greater than token1
|
|
197
|
+
return order === 'asc' ? -1 : 1;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
// Neither token has a percentage or viewport unit value, compare their numerical values
|
|
201
|
+
return order === 'asc' ? numValue1 - numValue2 : numValue2 - numValue1;
|
|
202
|
+
}
|
|
203
|
+
});
|
|
204
|
+
|
|
205
|
+
return sortedTokens;
|
|
206
|
+
};
|
|
207
|
+
|
|
208
|
+
export const filterTableDataBySearchText = (
|
|
209
|
+
TABLE_DATA: TableData,
|
|
210
|
+
searchText: string,
|
|
211
|
+
): TableData => {
|
|
212
|
+
const filteredData: TableData = TABLE_DATA.filter((item) => {
|
|
213
|
+
const nameMatch: boolean = item.name
|
|
214
|
+
.toLowerCase()
|
|
215
|
+
.includes(searchText.toLowerCase());
|
|
216
|
+
const valueMatch: boolean = item.value
|
|
217
|
+
.toLowerCase()
|
|
218
|
+
.includes(searchText.toLowerCase());
|
|
219
|
+
return nameMatch || valueMatch;
|
|
220
|
+
});
|
|
221
|
+
|
|
222
|
+
return filteredData;
|
|
223
|
+
};
|
|
224
|
+
|
|
225
|
+
export const getRandomDataVariation = (): DataVariation => {
|
|
226
|
+
const randomIndex: number = Math.floor(Math.random() * dataVariations.length);
|
|
227
|
+
return dataVariations[randomIndex];
|
|
228
|
+
};
|
|
229
|
+
|
|
230
|
+
export const handleDownload = (filePath: string, fileName: string) => {
|
|
231
|
+
fetch(filePath)
|
|
232
|
+
.then((response) => response.blob())
|
|
233
|
+
.then((blob) => {
|
|
234
|
+
const url = URL.createObjectURL(blob);
|
|
235
|
+
const link = document.createElement('a');
|
|
236
|
+
link.href = url;
|
|
237
|
+
link.download = fileName;
|
|
238
|
+
link.click();
|
|
239
|
+
URL.revokeObjectURL(url);
|
|
240
|
+
})
|
|
241
|
+
.catch((error) => {
|
|
242
|
+
console.error('Error downloading the JSON file:', error);
|
|
243
|
+
});
|
|
244
|
+
};
|
package/package.json
CHANGED
|
@@ -1,18 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spaced-out/ui-design-system",
|
|
3
|
-
"version": "0.4.
|
|
4
|
-
"main": "
|
|
5
|
-
"types": "lib/index.d.ts",
|
|
3
|
+
"version": "0.4.14",
|
|
4
|
+
"main": "index.js",
|
|
6
5
|
"description": "Sense UI components library",
|
|
7
6
|
"author": {
|
|
8
7
|
"name": "Spaced Out"
|
|
9
8
|
},
|
|
10
9
|
"license": "UNLICENSED",
|
|
11
10
|
"scripts": {
|
|
12
|
-
"build": "yarn build:style-variables && gulp build
|
|
11
|
+
"build": "rimraf lib && yarn build:style-variables && gulp build",
|
|
13
12
|
"build:style-variables": "rimraf src/styles/variables && style-dictionary build --config ./config.js",
|
|
14
|
-
"build:types": "tsc --project tsconfig.declaration.json && cp src/types/flow-to-typescript-codemod.d.ts lib/",
|
|
15
|
-
"prebuild": "rimraf lib",
|
|
16
13
|
"storybook": "yarn build:style-variables && storybook dev --host genesis.proxysense.co --port 6006",
|
|
17
14
|
"storybook:export": "yarn build:style-variables && rimraf storybook-static && storybook build",
|
|
18
15
|
"build-storybook": "yarn build:style-variables && rimraf storybook-static && storybook build",
|
|
@@ -22,7 +19,7 @@
|
|
|
22
19
|
"release": "yarn build:changelog && yarn publish",
|
|
23
20
|
"build:changelog": "standard-version",
|
|
24
21
|
"build:no-bump-changelog": "standard-version --skip.bump --skip.commit --skip.tag",
|
|
25
|
-
"flow": "
|
|
22
|
+
"flow": "flow",
|
|
26
23
|
"flow:all": "flow --show-all-errors",
|
|
27
24
|
"flow:json": "flow --json --pretty",
|
|
28
25
|
"flow:version": "flow version",
|
|
@@ -31,14 +28,7 @@
|
|
|
31
28
|
"lint:strict": "eslint --quiet 'src/**/*.{js,jsx}' && echo 'ok!'",
|
|
32
29
|
"spell-check": "cspell \"**\"",
|
|
33
30
|
"test": "test-storybook",
|
|
34
|
-
"visual-test": "npx chromatic --project-token=f0e2813801c4"
|
|
35
|
-
"typescriptify": "node ../flow-to-typescript-codemod/bin.js",
|
|
36
|
-
"fix:forwardref": "node scripts/fix-all-forwardref.js",
|
|
37
|
-
"fix:forwardref:file": "node scripts/fix-forwardref-simple.js",
|
|
38
|
-
"fix:forwardref:check": "yarn flow && echo '✅ Type checking completed'",
|
|
39
|
-
"fix:unused": "node scripts/fix-unused-variables-targeted.js",
|
|
40
|
-
"fix:unused:all": "node scripts/fix-unused-variables.js",
|
|
41
|
-
"fix:all": "yarn fix:forwardref && yarn fix:unused && yarn fix:forwardref:check"
|
|
31
|
+
"visual-test": "npx chromatic --project-token=f0e2813801c4"
|
|
42
32
|
},
|
|
43
33
|
"keywords": [
|
|
44
34
|
"React",
|
|
@@ -55,6 +45,7 @@
|
|
|
55
45
|
},
|
|
56
46
|
"dependencies": {
|
|
57
47
|
"@floating-ui/react": "^0.24.0",
|
|
48
|
+
"@tanstack/react-virtual": "^3.13.12",
|
|
58
49
|
"date-fns": "^2.29.3",
|
|
59
50
|
"highcharts": "^11.4.1",
|
|
60
51
|
"highcharts-react-official": "^3.2.1",
|
|
@@ -72,7 +63,6 @@
|
|
|
72
63
|
"@babel/preset-env": "^7.18.10",
|
|
73
64
|
"@babel/preset-flow": "^7.18.6",
|
|
74
65
|
"@babel/preset-react": "^7.18.6",
|
|
75
|
-
"@babel/preset-typescript": "^7.27.1",
|
|
76
66
|
"@commitlint/cli": "^17.1.2",
|
|
77
67
|
"@commitlint/config-conventional": "^17.1.0",
|
|
78
68
|
"@storybook/addon-a11y": "^9.0.10",
|
|
@@ -81,20 +71,6 @@
|
|
|
81
71
|
"@storybook/react-webpack5": "^9.0.10",
|
|
82
72
|
"@storybook/test-runner": "^0.23.0",
|
|
83
73
|
"@testing-library/react": "^11.2.7",
|
|
84
|
-
"@types/babel-plugin-macros": "~3.1.3",
|
|
85
|
-
"@types/babel__core": "~7.20.5",
|
|
86
|
-
"@types/babel__preset-env": "~7.10.0",
|
|
87
|
-
"@types/eslint": "~9.6.1",
|
|
88
|
-
"@types/gulp": "~4.0.17",
|
|
89
|
-
"@types/gulp-babel": "~6.1.33",
|
|
90
|
-
"@types/gulp-rename": "~2.0.6",
|
|
91
|
-
"@types/invariant": "~2.2.37",
|
|
92
|
-
"@types/lint-staged": "~13.3.0",
|
|
93
|
-
"@types/lodash": "~4.17.20",
|
|
94
|
-
"@types/react": "~19.1.9",
|
|
95
|
-
"@types/react-dom": "~19.1.7",
|
|
96
|
-
"@types/react-window": "~1.8.8",
|
|
97
|
-
"@types/standard-version": "~7.1.3",
|
|
98
74
|
"all-contributors-cli": "^6.20.0",
|
|
99
75
|
"babel-eslint": "^10.1.0",
|
|
100
76
|
"babel-jest": "^28.1.3",
|
|
@@ -132,8 +108,7 @@
|
|
|
132
108
|
"storybook": "^9.0.10",
|
|
133
109
|
"storybook-css-modules": "^1.0.8",
|
|
134
110
|
"storybook-vscode-component": "^1.0.9",
|
|
135
|
-
"style-dictionary": "^3.7.1"
|
|
136
|
-
"typescript": "^5.9.2"
|
|
111
|
+
"style-dictionary": "^3.7.1"
|
|
137
112
|
},
|
|
138
113
|
"homepage": "https://spaced-out.github.io/ui-design-system",
|
|
139
114
|
"repository": {
|
package/docs/FORWARDREF_FIX.md
DELETED
|
@@ -1,241 +0,0 @@
|
|
|
1
|
-
# ForwardRef Type Fix Commands
|
|
2
|
-
|
|
3
|
-
This document explains the yarn commands available for fixing ForwardRef type mismatches in the UI Design System.
|
|
4
|
-
|
|
5
|
-
## 🚀 Quick Start
|
|
6
|
-
|
|
7
|
-
### Fix All ForwardRef Issues (Recommended)
|
|
8
|
-
```bash
|
|
9
|
-
yarn fix:forwardref
|
|
10
|
-
```
|
|
11
|
-
This command automatically finds and fixes all ForwardRef type mismatches across the entire codebase.
|
|
12
|
-
|
|
13
|
-
### Check Type Errors After Fix
|
|
14
|
-
```bash
|
|
15
|
-
yarn fix:forwardref:check
|
|
16
|
-
```
|
|
17
|
-
This runs the TypeScript compiler to check for remaining type errors.
|
|
18
|
-
|
|
19
|
-
## 📋 Available Commands
|
|
20
|
-
|
|
21
|
-
### `yarn fix:forwardref`
|
|
22
|
-
- **Purpose**: Fix all ForwardRef type mismatches automatically
|
|
23
|
-
- **What it does**:
|
|
24
|
-
- Scans all TypeScript/TSX files in the `src` directory
|
|
25
|
-
- Swaps incorrect generic type parameters in `React.forwardRef` calls
|
|
26
|
-
- Changes `React.forwardRef<PropsType, RefType>` to `React.forwardRef<RefType, PropsType>`
|
|
27
|
-
- Reports how many files were fixed
|
|
28
|
-
- **Usage**: `yarn fix:forwardref`
|
|
29
|
-
- **Output**: Lists all fixed files and provides next steps
|
|
30
|
-
|
|
31
|
-
### `yarn fix:forwardref:file <file1> <file2> ...`
|
|
32
|
-
- **Purpose**: Fix ForwardRef issues in specific files
|
|
33
|
-
- **What it does**: Same as above but only for specified files
|
|
34
|
-
- **Usage**: `yarn fix:forwardref:file src/components/Button/Button.tsx src/components/Avatar/Avatar.tsx`
|
|
35
|
-
- **Example**: `yarn fix:forwardref:file src/components/Accordion/Accordion.tsx`
|
|
36
|
-
|
|
37
|
-
### `yarn fix:forwardref:check`
|
|
38
|
-
- **Purpose**: Check for remaining TypeScript errors after fixes
|
|
39
|
-
- **What it does**: Runs `yarn flow` (TypeScript compiler) to check for errors
|
|
40
|
-
- **Usage**: `yarn fix:forwardref:check`
|
|
41
|
-
- **Output**: Shows any remaining type errors that need manual attention
|
|
42
|
-
|
|
43
|
-
### `yarn fix:unused`
|
|
44
|
-
- **Purpose**: Fix unused variable errors in storybook files
|
|
45
|
-
- **What it does**:
|
|
46
|
-
- Scans storybook files for unused variables
|
|
47
|
-
- Prefixes unused parameters with underscore (e.g., `id` → `_id`)
|
|
48
|
-
- Fixes unused state setters and destructured variables
|
|
49
|
-
- **Usage**: `yarn fix:unused`
|
|
50
|
-
- **Output**: Lists all fixed files and provides next steps
|
|
51
|
-
|
|
52
|
-
### `yarn fix:unused:all`
|
|
53
|
-
- **Purpose**: Fix unused variable errors in all TypeScript/TSX files
|
|
54
|
-
- **What it does**: Same as `fix:unused` but scans all files, not just storybooks
|
|
55
|
-
- **Usage**: `yarn fix:unused:all`
|
|
56
|
-
- **Output**: Lists all fixed files and provides next steps
|
|
57
|
-
|
|
58
|
-
### `yarn fix:css`
|
|
59
|
-
- **Purpose**: Fix CSS custom properties type errors
|
|
60
|
-
- **What it does**:
|
|
61
|
-
- Scans TypeScript/TSX files for CSS custom properties in style objects
|
|
62
|
-
- Adds type assertions (`as any`) to CSS custom properties like `'--background-color'`
|
|
63
|
-
- Handles various patterns including template literals and spread operators
|
|
64
|
-
- **Usage**: `yarn fix:css`
|
|
65
|
-
- **Output**: Lists all files that were fixed
|
|
66
|
-
|
|
67
|
-
### `yarn fix:css:all`
|
|
68
|
-
- **Purpose**: Fix CSS custom properties type errors in all files
|
|
69
|
-
- **What it does**: Same as `fix:css` but with more comprehensive pattern matching
|
|
70
|
-
- **Usage**: `yarn fix:css:all`
|
|
71
|
-
- **Output**: Lists all files that were fixed
|
|
72
|
-
|
|
73
|
-
### `yarn fix:css:bracket`
|
|
74
|
-
- **Purpose**: Fix CSS custom properties using bracket notation
|
|
75
|
-
- **What it does**: Converts `'--property'` to `['--property']` to avoid TypeScript property name issues
|
|
76
|
-
- **Usage**: `yarn fix:css:bracket`
|
|
77
|
-
- **Output**: Lists all fixed files and provides next steps
|
|
78
|
-
|
|
79
|
-
### `yarn fix:css:final`
|
|
80
|
-
- **Purpose**: Final fix for CSS custom properties using bracket notation
|
|
81
|
-
- **What it does**: Removes 'as any' assertions and uses bracket notation for CSS custom properties
|
|
82
|
-
- **Usage**: `yarn fix:css:final`
|
|
83
|
-
- **Output**: Lists all fixed files and provides next steps
|
|
84
|
-
|
|
85
|
-
### `yarn fix:css:corrupted`
|
|
86
|
-
- **Purpose**: Fix corrupted CSS custom properties with multiple 'as any' assertions
|
|
87
|
-
- **What it does**: Removes duplicate 'as any' assertions and keeps only one
|
|
88
|
-
- **Usage**: `yarn fix:css:corrupted`
|
|
89
|
-
- **Output**: Lists all fixed files and provides next steps
|
|
90
|
-
|
|
91
|
-
### `yarn fix:all`
|
|
92
|
-
- **Purpose**: Run all automatic fixes in sequence
|
|
93
|
-
- **What it does**:
|
|
94
|
-
1. Fixes ForwardRef type mismatches
|
|
95
|
-
2. Fixes unused variable errors
|
|
96
|
-
3. Fixes CSS custom properties type errors (using bracket notation)
|
|
97
|
-
4. Runs type checking to show remaining errors
|
|
98
|
-
- **Usage**: `yarn fix:all`
|
|
99
|
-
- **Output**: Comprehensive fix report
|
|
100
|
-
|
|
101
|
-
## 🔧 How It Works
|
|
102
|
-
|
|
103
|
-
The fix scripts address the most common ForwardRef type mismatch pattern:
|
|
104
|
-
|
|
105
|
-
**Before (Incorrect):**
|
|
106
|
-
```typescript
|
|
107
|
-
export const Component: Flow.AbstractComponent<ComponentProps, HTMLDivElement> =
|
|
108
|
-
React.forwardRef<ComponentProps, HTMLDivElement>((props, ref) => {
|
|
109
|
-
// component implementation
|
|
110
|
-
});
|
|
111
|
-
```
|
|
112
|
-
|
|
113
|
-
**After (Correct):**
|
|
114
|
-
```typescript
|
|
115
|
-
export const Component: Flow.AbstractComponent<ComponentProps, HTMLDivElement> =
|
|
116
|
-
React.forwardRef<HTMLDivElement, ComponentProps>((props, ref) => {
|
|
117
|
-
// component implementation
|
|
118
|
-
});
|
|
119
|
-
```
|
|
120
|
-
|
|
121
|
-
## 📊 Error Categories Fixed
|
|
122
|
-
|
|
123
|
-
1. **ForwardRef Type Mismatch** ✅ (FIXED)
|
|
124
|
-
- `Type 'ForwardRefExoticComponent<...>' is not assignable to type 'AbstractComponent<...>'`
|
|
125
|
-
- **Status**: Completely resolved by the fix scripts
|
|
126
|
-
|
|
127
|
-
2. **Ref Assignment Errors** ✅ (FIXED)
|
|
128
|
-
- `Type 'ForwardedRef<ComponentProps>' is not assignable to type 'Ref<HTMLElement>'`
|
|
129
|
-
- **Status**: Completely resolved by the fix scripts
|
|
130
|
-
|
|
131
|
-
## 🎯 Remaining Error Categories
|
|
132
|
-
|
|
133
|
-
After running the ForwardRef fixes, these error categories may still exist:
|
|
134
|
-
|
|
135
|
-
1. **CSS Custom Properties** (~15 errors) ✅ (FIXED)
|
|
136
|
-
- `Object literal may only specify known properties, and '--custom-property' does not exist`
|
|
137
|
-
- **Solution**: Use `yarn fix:css:final` to automatically fix using bracket notation
|
|
138
|
-
|
|
139
|
-
2. **Props Access on ReactNode** (~8 errors)
|
|
140
|
-
- `Property 'props' does not exist on type 'ReactNode'`
|
|
141
|
-
- **Solution**: Add proper type guards for React children
|
|
142
|
-
|
|
143
|
-
3. **Unused Variables** (~10 errors) ✅ (FIXABLE)
|
|
144
|
-
- `'variableName' is declared but its value is never read`
|
|
145
|
-
- **Solution**: Use `yarn fix:unused` to automatically prefix unused variables with underscore
|
|
146
|
-
|
|
147
|
-
4. **Type Assertion/Index Signature** (~8 errors)
|
|
148
|
-
- `Element implicitly has an 'any' type because expression of type 'string' can't be used to index type`
|
|
149
|
-
- **Solution**: Add proper type definitions for object lookups
|
|
150
|
-
|
|
151
|
-
5. **Function Signature Mismatches** (~6 errors)
|
|
152
|
-
- `Type 'function' is not assignable to type 'expectedFunction'`
|
|
153
|
-
- **Solution**: Fix onClick handler signatures
|
|
154
|
-
|
|
155
|
-
## 🛠️ Manual Fixes Required
|
|
156
|
-
|
|
157
|
-
For the remaining errors, manual intervention is needed:
|
|
158
|
-
|
|
159
|
-
### CSS Custom Properties
|
|
160
|
-
Add to your TypeScript declarations:
|
|
161
|
-
```typescript
|
|
162
|
-
declare module 'react' {
|
|
163
|
-
interface CSSProperties {
|
|
164
|
-
[key: `--${string}`]: string | number;
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
```
|
|
168
|
-
|
|
169
|
-
### Props Access on ReactNode
|
|
170
|
-
Add type guards:
|
|
171
|
-
```typescript
|
|
172
|
-
if (React.isValidElement(child)) {
|
|
173
|
-
const childId = child.props.id;
|
|
174
|
-
}
|
|
175
|
-
```
|
|
176
|
-
|
|
177
|
-
### Index Signatures
|
|
178
|
-
Add proper type definitions:
|
|
179
|
-
```typescript
|
|
180
|
-
const SPACES: { [key: string]: string } = {
|
|
181
|
-
// your space definitions
|
|
182
|
-
};
|
|
183
|
-
```
|
|
184
|
-
|
|
185
|
-
## 📈 Impact
|
|
186
|
-
|
|
187
|
-
**Before Fix:**
|
|
188
|
-
- ~40+ ForwardRef type mismatch errors
|
|
189
|
-
- ~30+ Ref assignment errors
|
|
190
|
-
- Total: ~70+ core component architecture errors
|
|
191
|
-
|
|
192
|
-
**After Fix:**
|
|
193
|
-
- ~0 ForwardRef type mismatch errors ✅
|
|
194
|
-
- ~0 Ref assignment errors ✅
|
|
195
|
-
- Remaining errors are mostly configuration and code quality issues
|
|
196
|
-
|
|
197
|
-
## 🔄 Workflow
|
|
198
|
-
|
|
199
|
-
### Quick Fix (Recommended)
|
|
200
|
-
1. **Run all fixes**: `yarn fix:all`
|
|
201
|
-
2. **Review results**: Check the output for any remaining errors
|
|
202
|
-
3. **Address remaining errors**: Manual fixes for CSS properties, type guards, etc.
|
|
203
|
-
4. **Test components**: Ensure functionality is preserved
|
|
204
|
-
|
|
205
|
-
### Step-by-Step Fix
|
|
206
|
-
1. **Fix ForwardRef issues**: `yarn fix:forwardref`
|
|
207
|
-
2. **Fix unused variables**: `yarn fix:unused`
|
|
208
|
-
3. **Check results**: `yarn fix:forwardref:check`
|
|
209
|
-
4. **Address remaining errors**: Manual fixes for CSS properties, type guards, etc.
|
|
210
|
-
5. **Test components**: Ensure functionality is preserved
|
|
211
|
-
|
|
212
|
-
## 🚨 Important Notes
|
|
213
|
-
|
|
214
|
-
- The scripts are **safe** and only modify ForwardRef type parameters
|
|
215
|
-
- Always run `yarn fix:forwardref:check` after fixes to verify
|
|
216
|
-
- Test components after fixes to ensure functionality is preserved
|
|
217
|
-
- The scripts are **idempotent** - running them multiple times is safe
|
|
218
|
-
|
|
219
|
-
## 📝 Troubleshooting
|
|
220
|
-
|
|
221
|
-
### Script not found
|
|
222
|
-
Make sure you're in the project root directory and the scripts exist in `scripts/`.
|
|
223
|
-
|
|
224
|
-
### Permission denied
|
|
225
|
-
Make the scripts executable:
|
|
226
|
-
```bash
|
|
227
|
-
chmod +x scripts/fix-all-forwardref.js
|
|
228
|
-
chmod +x scripts/fix-forwardref-simple.js
|
|
229
|
-
```
|
|
230
|
-
|
|
231
|
-
### No files found
|
|
232
|
-
The script uses `find` command. On Windows, you may need to use Git Bash or WSL.
|
|
233
|
-
|
|
234
|
-
## 🤝 Contributing
|
|
235
|
-
|
|
236
|
-
If you find new ForwardRef patterns that aren't caught by the scripts, please:
|
|
237
|
-
|
|
238
|
-
1. Add the pattern to the regex in the scripts
|
|
239
|
-
2. Test with a few files first
|
|
240
|
-
3. Update this documentation
|
|
241
|
-
4. Submit a pull request
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
tags: string[];
|
|
4
|
-
title: string;
|
|
5
|
-
parameters: {
|
|
6
|
-
docs: {
|
|
7
|
-
subtitle: string;
|
|
8
|
-
description: {
|
|
9
|
-
component: string;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
storySource: {
|
|
13
|
-
componentPath: string;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
export default _default;
|
|
18
|
-
export declare const _AIPromptFlow: () => React.JSX.Element;
|
|
19
|
-
//# sourceMappingURL=AIPromptFlow.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AIPromptFlow.stories.d.ts","sourceRoot":"","sources":["../../../src/components/AIPromptFlow/AIPromptFlow.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;;;;;;;;;;;;;;;;AAe/B,wBAgBE;AA4JF,eAAO,MAAM,aAAa,yBAgPzB,CAAC"}
|