@spaced-out/ui-design-system 0.4.15-beta.0 → 0.4.15
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 +0 -5
- package/.storybook/main.js +6 -6
- package/CHANGELOG.md +6 -1
- package/babel.config.js +1 -1
- package/config.js +3 -3
- package/cspell.json +1 -3
- package/eslint.config.mjs +33 -54
- package/gulpfile.js +35 -6
- package/lib/components/Accordion/Accordion.js +5 -7
- package/lib/components/Accordion/Accordion.js.flow +115 -0
- package/lib/components/Accordion/AccordionGroup.js +9 -12
- package/lib/components/Accordion/AccordionGroup.js.flow +77 -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 +6 -8
- 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 +4 -15
- package/lib/components/Input/Input.js.flow +325 -0
- package/lib/components/Input/index.js.flow +3 -0
- 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 +1 -3
- 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 +1 -1
- 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 +18 -48
- package/lib/components/Table/StaticTable.js.flow +576 -0
- package/lib/components/Table/Table.docs.js +4 -4
- package/lib/components/Table/Table.docs.js.flow +550 -0
- package/lib/components/Table/Table.js +11 -15
- package/lib/components/Table/Table.js.flow +154 -0
- 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 +1 -8
- 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 +2 -2
- package/lib/components/Toggle/Toggle.js.flow +115 -0
- package/lib/components/Toggle/index.js.flow +2 -0
- package/lib/components/TokenListInput/TokenListInput.js +10 -27
- 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 +54 -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.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 -20
- 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 +13 -39
- package/lib/components/Accordion/Accordion.d.ts +0 -21
- package/lib/components/Accordion/Accordion.d.ts.map +0 -1
- package/lib/components/Accordion/AccordionGroup.d.ts +0 -17
- package/lib/components/Accordion/AccordionGroup.d.ts.map +0 -1
- 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/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/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/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/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/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/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/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/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/SimpleButtonDropdown.d.ts +0 -42
- package/lib/components/ButtonDropdown/SimpleButtonDropdown.d.ts.map +0 -1
- 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/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/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/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/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/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/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/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/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/ChatBubble.d.ts +0 -76
- package/lib/components/ChatBubble/ChatBubble.d.ts.map +0 -1
- 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/CheckboxGroup.d.ts +0 -26
- package/lib/components/Checkbox/CheckboxGroup.d.ts.map +0 -1
- 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/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/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/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/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/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/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/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/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/SimpleDropdown.d.ts +0 -44
- package/lib/components/Dropdown/SimpleDropdown.d.ts.map +0 -1
- 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/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/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/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/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/index.d.ts +0 -2
- package/lib/components/FilterButtonOverlay/index.d.ts.map +0 -1
- package/lib/components/FocusManager/FocusManager.d.ts +0 -15
- package/lib/components/FocusManager/FocusManager.d.ts.map +0 -1
- 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 -19
- package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.d.ts.map +0 -1
- 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/index.d.ts +0 -2
- package/lib/components/FormTitleWrapper/index.d.ts.map +0 -1
- package/lib/components/Grid/Grid.d.ts +0 -20
- package/lib/components/Grid/Grid.d.ts.map +0 -1
- 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/SemanticIcon.d.ts +0 -14
- package/lib/components/Icon/SemanticIcon.d.ts.map +0 -1
- 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/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/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/SimpleInlineDropdown.d.ts +0 -40
- package/lib/components/InlineDropdown/SimpleInlineDropdown.d.ts.map +0 -1
- 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 -74
- package/lib/components/Input/Input.d.ts.map +0 -1
- 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 -24
- package/lib/components/KPIBox/KPIBox.d.ts.map +0 -1
- 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/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/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/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/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/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/SimpleOptionButton.d.ts +0 -47
- package/lib/components/OptionButton/SimpleOptionButton.d.ts.map +0 -1
- 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/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/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/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/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/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/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/RadioGroup.d.ts +0 -27
- package/lib/components/RadioButton/RadioGroup.d.ts.map +0 -1
- 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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/StaticTable.d.ts +0 -24
- package/lib/components/Table/StaticTable.d.ts.map +0 -1
- package/lib/components/Table/Table.d.ts +0 -64
- package/lib/components/Table/Table.d.ts.map +0 -1
- package/lib/components/Table/Table.docs.d.ts +0 -299
- 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/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/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/Text.d.ts +0 -46
- package/lib/components/Text/Text.d.ts.map +0 -1
- 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/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/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/TimelineItem/TimelineItem.d.ts +0 -28
- package/lib/components/Timeline/TimelineItem/TimelineItem.d.ts.map +0 -1
- 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/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/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/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/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/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/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/Typeahead.d.ts +0 -30
- package/lib/components/Typeahead/Typeahead.d.ts.map +0 -1
- 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/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 -49
- 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/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/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/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/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/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/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/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/useMountTransition/index.d.ts +0 -3
- package/lib/hooks/useMountTransition/index.d.ts.map +0 -1
- 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/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/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/index.d.ts +0 -6
- package/lib/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/index.d.ts +0 -3
- package/lib/utils/classify/index.d.ts.map +0 -1
- 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/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/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/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/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/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 -11
- package/tsconfig.json +0 -41
|
@@ -0,0 +1,263 @@
|
|
|
1
|
+
// @flow strict
|
|
2
|
+
|
|
3
|
+
export type ChartOptions = {
|
|
4
|
+
chart?: {
|
|
5
|
+
polar?: boolean,
|
|
6
|
+
type?: string,
|
|
7
|
+
spacing?: Array<number>,
|
|
8
|
+
margin?: Array<number>,
|
|
9
|
+
style?: CSSObject,
|
|
10
|
+
spacing?: [number, number, number, number],
|
|
11
|
+
spacingBottom?: number,
|
|
12
|
+
spacingLeft?: number,
|
|
13
|
+
spacingRight?: number,
|
|
14
|
+
spacingTop?: number,
|
|
15
|
+
...
|
|
16
|
+
},
|
|
17
|
+
title?: {
|
|
18
|
+
align?: string,
|
|
19
|
+
floating?: boolean,
|
|
20
|
+
margin?: number,
|
|
21
|
+
style?: {
|
|
22
|
+
color?: string,
|
|
23
|
+
fontWeight?: string,
|
|
24
|
+
},
|
|
25
|
+
text?: string | null,
|
|
26
|
+
useHTML?: boolean,
|
|
27
|
+
verticalAlign?: 'top' | 'middle' | 'bottom',
|
|
28
|
+
widthAdjust?: number,
|
|
29
|
+
x?: number,
|
|
30
|
+
y?: number,
|
|
31
|
+
},
|
|
32
|
+
exporting?: {
|
|
33
|
+
allowHTML?: boolean,
|
|
34
|
+
allowTableSorting?: boolean,
|
|
35
|
+
buttons?: {
|
|
36
|
+
contextButton?: {
|
|
37
|
+
enabled?: boolean,
|
|
38
|
+
},
|
|
39
|
+
},
|
|
40
|
+
enabled?: boolean,
|
|
41
|
+
filename?: string,
|
|
42
|
+
showExportInProgress?: boolean,
|
|
43
|
+
showTable?: boolean,
|
|
44
|
+
sourceHeight?: number,
|
|
45
|
+
sourceWidth?: number,
|
|
46
|
+
useRowspanHeaders?: boolean,
|
|
47
|
+
width?: number,
|
|
48
|
+
...
|
|
49
|
+
},
|
|
50
|
+
credits?: Credits,
|
|
51
|
+
tooltip?: Tooltip,
|
|
52
|
+
xAxis?: AxisOptions,
|
|
53
|
+
yAxis?: AxisOptions,
|
|
54
|
+
zAxis?: AxisOptions,
|
|
55
|
+
drilldown?: Drilldown,
|
|
56
|
+
legend?: LegendOptionsType,
|
|
57
|
+
plotOptions?: PlotOptionsType,
|
|
58
|
+
series?: Array<SeriesOptionsType>,
|
|
59
|
+
subtitle?: {
|
|
60
|
+
useHTML: boolean,
|
|
61
|
+
text?: string,
|
|
62
|
+
verticalAlign?: 'middle',
|
|
63
|
+
align?: string,
|
|
64
|
+
style?: CSSObject,
|
|
65
|
+
x?: number,
|
|
66
|
+
...
|
|
67
|
+
},
|
|
68
|
+
pane?: {
|
|
69
|
+
center?: [string, string],
|
|
70
|
+
size?: string,
|
|
71
|
+
...
|
|
72
|
+
},
|
|
73
|
+
legend?: Legend,
|
|
74
|
+
navigation?: Navigation,
|
|
75
|
+
...
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
export type AxisOptions = {
|
|
79
|
+
categories?: Array<string>,
|
|
80
|
+
gridLineInterpolation?: 'circle' | 'polygon',
|
|
81
|
+
lineWidth?: number,
|
|
82
|
+
tickmarkPlacement?: string,
|
|
83
|
+
labels?: {
|
|
84
|
+
align?: string,
|
|
85
|
+
distance?: number,
|
|
86
|
+
style?: CSSObject,
|
|
87
|
+
...
|
|
88
|
+
},
|
|
89
|
+
title?: {
|
|
90
|
+
text?: string,
|
|
91
|
+
margin?: number,
|
|
92
|
+
style?: CSSObject,
|
|
93
|
+
...
|
|
94
|
+
},
|
|
95
|
+
type?: string,
|
|
96
|
+
...
|
|
97
|
+
};
|
|
98
|
+
|
|
99
|
+
export type BreadcrumbsOptions = {
|
|
100
|
+
floating?: boolean,
|
|
101
|
+
style?: CSSObject,
|
|
102
|
+
...
|
|
103
|
+
};
|
|
104
|
+
|
|
105
|
+
export type LegendOptionsType = {
|
|
106
|
+
layout?: string,
|
|
107
|
+
align?: string,
|
|
108
|
+
verticalAlign?: string,
|
|
109
|
+
itemMarginBottom?: number,
|
|
110
|
+
padding?: number,
|
|
111
|
+
itemStyle?: CSSObject,
|
|
112
|
+
enabled?: boolean,
|
|
113
|
+
symbolHeight?: number,
|
|
114
|
+
symbolWidth?: number,
|
|
115
|
+
...
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
export type CSSObject = {
|
|
119
|
+
alignItems?: string,
|
|
120
|
+
color?: string,
|
|
121
|
+
display?: string,
|
|
122
|
+
fontFamily?: string,
|
|
123
|
+
fontSize?: string,
|
|
124
|
+
fontStyle?: string,
|
|
125
|
+
fontWeight?: string,
|
|
126
|
+
letterSpacing?: string,
|
|
127
|
+
lineHeight?: string,
|
|
128
|
+
margin?: number,
|
|
129
|
+
textAlign?: string,
|
|
130
|
+
minWidth?: string,
|
|
131
|
+
maxWidth?: string,
|
|
132
|
+
minHeight?: string,
|
|
133
|
+
maxHeight?: string,
|
|
134
|
+
alignContent?: string,
|
|
135
|
+
overflow?: string,
|
|
136
|
+
textOverflow?: string,
|
|
137
|
+
zIndex?: number,
|
|
138
|
+
...
|
|
139
|
+
};
|
|
140
|
+
|
|
141
|
+
export type DataOptionsType = {
|
|
142
|
+
y?: number,
|
|
143
|
+
name?: string,
|
|
144
|
+
color?: string,
|
|
145
|
+
drilldown?: string,
|
|
146
|
+
id?: string,
|
|
147
|
+
...
|
|
148
|
+
};
|
|
149
|
+
|
|
150
|
+
export type SeriesOptionsType = {
|
|
151
|
+
id?: string,
|
|
152
|
+
name?: string,
|
|
153
|
+
data: Array<DataOptionsType>,
|
|
154
|
+
...
|
|
155
|
+
};
|
|
156
|
+
|
|
157
|
+
export type Drilldown = {
|
|
158
|
+
activeAxisLabelStyle?: CSSObject,
|
|
159
|
+
activeDataLabelStyle?: CSSObject,
|
|
160
|
+
series?: Array<SeriesOptionsType>,
|
|
161
|
+
breadcrumbs?: BreadcrumbsOptions,
|
|
162
|
+
...
|
|
163
|
+
};
|
|
164
|
+
|
|
165
|
+
export type PlotOptionsType = {
|
|
166
|
+
['pie' | 'line' | 'funnel']: {
|
|
167
|
+
innerSize?: string,
|
|
168
|
+
allowPointSelect?: boolean,
|
|
169
|
+
cursor?: 'pointer',
|
|
170
|
+
dataLabels?: {
|
|
171
|
+
enabled?: boolean,
|
|
172
|
+
distance?: number,
|
|
173
|
+
connectorColor?: string,
|
|
174
|
+
useHTML?: boolean,
|
|
175
|
+
format?: string,
|
|
176
|
+
style?: CSSObject,
|
|
177
|
+
},
|
|
178
|
+
showInLegend?: boolean,
|
|
179
|
+
center?: [string, string],
|
|
180
|
+
size?: string,
|
|
181
|
+
minSize?: number | string,
|
|
182
|
+
borderWidth?: number,
|
|
183
|
+
borderRadius?: number,
|
|
184
|
+
neckWidth?: string | number,
|
|
185
|
+
neckHeight?: string | number,
|
|
186
|
+
minSize?: string | number,
|
|
187
|
+
width?: string | number,
|
|
188
|
+
...
|
|
189
|
+
},
|
|
190
|
+
};
|
|
191
|
+
|
|
192
|
+
export type Tooltip = {
|
|
193
|
+
useHTML?: boolean,
|
|
194
|
+
followPointer?: boolean,
|
|
195
|
+
backgroundColor?: string,
|
|
196
|
+
style?: CSSObject,
|
|
197
|
+
outside?: boolean,
|
|
198
|
+
headerFormat?: string,
|
|
199
|
+
pointFormat?: string,
|
|
200
|
+
shared?: boolean,
|
|
201
|
+
...
|
|
202
|
+
};
|
|
203
|
+
|
|
204
|
+
export type Legend = {
|
|
205
|
+
align?: 'left' | 'center' | 'right',
|
|
206
|
+
alignColumns?: boolean,
|
|
207
|
+
backgroundColor?: string,
|
|
208
|
+
borderColor?: string,
|
|
209
|
+
borderRadius?: number,
|
|
210
|
+
borderWidth?: number,
|
|
211
|
+
className?: string,
|
|
212
|
+
enabled?: boolean,
|
|
213
|
+
floating?: boolean,
|
|
214
|
+
itemDistance?: number,
|
|
215
|
+
itemMarginBottom?: number,
|
|
216
|
+
itemMarginBottom?: number,
|
|
217
|
+
itemMarginBottom?: number,
|
|
218
|
+
labelFormat?: string,
|
|
219
|
+
layout?: 'horizontal' | 'vertical' | 'proximate',
|
|
220
|
+
margin?: number,
|
|
221
|
+
maxHeight?: number,
|
|
222
|
+
padding?: number,
|
|
223
|
+
reversed?: boolean,
|
|
224
|
+
x?: number,
|
|
225
|
+
y?: number,
|
|
226
|
+
...
|
|
227
|
+
};
|
|
228
|
+
|
|
229
|
+
export type Credits = {
|
|
230
|
+
enabled?: boolean,
|
|
231
|
+
href?: string,
|
|
232
|
+
position?: {
|
|
233
|
+
align?: 'right' | 'left',
|
|
234
|
+
verticalAlign?: 'bottom' | 'top',
|
|
235
|
+
x?: number,
|
|
236
|
+
y?: number,
|
|
237
|
+
},
|
|
238
|
+
...
|
|
239
|
+
};
|
|
240
|
+
|
|
241
|
+
export type Navigation = {
|
|
242
|
+
breadcrumbs?: Breadcrumbs,
|
|
243
|
+
...
|
|
244
|
+
};
|
|
245
|
+
|
|
246
|
+
export type Breadcrumbs = {
|
|
247
|
+
position?: Position,
|
|
248
|
+
style?: CSSObject,
|
|
249
|
+
buttonTheme?: ButtonTheme,
|
|
250
|
+
...
|
|
251
|
+
};
|
|
252
|
+
|
|
253
|
+
export type ButtonTheme = {
|
|
254
|
+
style?: CSSObject,
|
|
255
|
+
...
|
|
256
|
+
};
|
|
257
|
+
|
|
258
|
+
export type Position = {
|
|
259
|
+
align?: string,
|
|
260
|
+
verticalAlign?: string,
|
|
261
|
+
x?: number,
|
|
262
|
+
y?: number,
|
|
263
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// @flow strict
|
|
2
|
+
|
|
3
|
+
export type GroupAlign = 'vertical' | 'horizontal-fixed' | 'horizontal-fluid';
|
|
4
|
+
|
|
5
|
+
export const ALERT_SEMANTIC = Object.freeze({
|
|
6
|
+
neutral: 'neutral',
|
|
7
|
+
success: 'success',
|
|
8
|
+
information: 'information',
|
|
9
|
+
warning: 'warning',
|
|
10
|
+
danger: 'danger',
|
|
11
|
+
});
|
|
12
|
+
|
|
13
|
+
export type AlertSemanticType = $Values<typeof ALERT_SEMANTIC>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// @flow strict
|
|
2
|
+
|
|
3
|
+
export type TimeUnit = 'years' | 'months' | 'days' | 'd' | 'M' | 'y';
|
|
4
|
+
export type DateRange = {startDate?: ?string, endDate?: ?string};
|
|
5
|
+
export type DateRangePickerErrorTypes = {
|
|
6
|
+
[key: string]: {type: string, description: string},
|
|
7
|
+
};
|
|
8
|
+
export type DateRangePickerError = {
|
|
9
|
+
type: string,
|
|
10
|
+
description: string,
|
|
11
|
+
};
|
|
12
|
+
export type DateRangeWithTimezone = {
|
|
13
|
+
...DateRange,
|
|
14
|
+
startDateUTC?: ?string,
|
|
15
|
+
endDateUTC?: ?string,
|
|
16
|
+
timezone?: string,
|
|
17
|
+
};
|
package/lib/types/menu.js
CHANGED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
// @flow strict
|
|
2
|
+
|
|
3
|
+
export type MenuClassNames = $ReadOnly<{
|
|
4
|
+
wrapper?: string,
|
|
5
|
+
option?: string,
|
|
6
|
+
groupTitle?: string,
|
|
7
|
+
optionTextContainer?: string,
|
|
8
|
+
optionTextLabel?: string,
|
|
9
|
+
header?: string,
|
|
10
|
+
footer?: string,
|
|
11
|
+
}>;
|
|
12
|
+
|
|
13
|
+
export type MenuLabelTooltip = {
|
|
14
|
+
maxLines?: number,
|
|
15
|
+
};
|
package/lib/types/toast.js
CHANGED
|
@@ -4,6 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.POSITIONS = exports.ACTIONS = void 0;
|
|
7
|
+
var React = _interopRequireWildcard(require("react"));
|
|
8
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
7
9
|
const POSITIONS = exports.POSITIONS = {
|
|
8
10
|
TOP_CENTER: 'topCenter',
|
|
9
11
|
TOP_LEFT: 'topLeft',
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
// @flow strict
|
|
2
|
+
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export const POSITIONS = {
|
|
7
|
+
TOP_CENTER: 'topCenter',
|
|
8
|
+
TOP_LEFT: 'topLeft',
|
|
9
|
+
TOP_RIGHT: 'topRight',
|
|
10
|
+
BOTTOM_LEFT: 'bottomLeft',
|
|
11
|
+
BOTTOM_RIGHT: 'bottomRight',
|
|
12
|
+
BOTTOM_CENTER: 'bottomCenter',
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export const ACTIONS = {
|
|
16
|
+
ADD: 'ADD',
|
|
17
|
+
REMOVE: 'REMOVE',
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export type positionTypes = $Values<typeof POSITIONS>;
|
|
21
|
+
export type actionTypes = $Values<typeof ACTIONS>;
|
|
22
|
+
export type contentTypes = React.Node;
|
|
23
|
+
|
|
24
|
+
export type ToastOptions = {
|
|
25
|
+
timeout?: number,
|
|
26
|
+
position?: positionTypes,
|
|
27
|
+
autoClose?: boolean,
|
|
28
|
+
uniqueCode?: string | number,
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
export type optionTypes = {
|
|
32
|
+
...ToastOptions,
|
|
33
|
+
id: string,
|
|
34
|
+
key?: string,
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
export type callbackFuncTypes = (
|
|
38
|
+
type: actionTypes,
|
|
39
|
+
content: contentTypes,
|
|
40
|
+
options: optionTypes,
|
|
41
|
+
) => void;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// @flow strict
|
|
2
|
+
|
|
3
|
+
export const TEXT_COLORS = Object.freeze({
|
|
4
|
+
primary: 'primary',
|
|
5
|
+
secondary: 'secondary',
|
|
6
|
+
tertiary: 'tertiary',
|
|
7
|
+
disabled: 'disabled',
|
|
8
|
+
clickable: 'clickable',
|
|
9
|
+
neutral: 'neutral',
|
|
10
|
+
success: 'success',
|
|
11
|
+
information: 'information',
|
|
12
|
+
warning: 'warning',
|
|
13
|
+
danger: 'danger',
|
|
14
|
+
inversePrimary: 'inversePrimary',
|
|
15
|
+
inverseSecondary: 'inverseSecondary',
|
|
16
|
+
favorite: 'favorite',
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
export type ColorTypes = $Values<typeof TEXT_COLORS>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// @flow strict
|
|
2
|
+
|
|
3
|
+
type ItemComparer<Item> = (a: Item, b: Item) => boolean;
|
|
4
|
+
|
|
5
|
+
export function areArraysEqual<Item>(
|
|
6
|
+
array1: Item[],
|
|
7
|
+
array2: Item[],
|
|
8
|
+
itemComparer: ItemComparer<Item> = (a, b) => a === b,
|
|
9
|
+
): boolean {
|
|
10
|
+
return (
|
|
11
|
+
array1.length === array2.length &&
|
|
12
|
+
array1.every((value, index) => itemComparer(value, array2[index]))
|
|
13
|
+
);
|
|
14
|
+
}
|
|
@@ -54,14 +54,12 @@ const commonChartOptions = exports.commonChartOptions = {
|
|
|
54
54
|
breadcrumbs: {
|
|
55
55
|
floating: true,
|
|
56
56
|
style: breadcrumbStyle,
|
|
57
|
-
// @ts-ignore - TS2322 - Type '{ floating: true; style: { readonly color: "#565656"; readonly fontSize: "12px"; readonly letterSpacing: "0em"; readonly fontFamily: "Centra No 2"; readonly fontStyle: "normal"; readonly margin: 0; readonly fontWeight: "500"; readonly display: "flex"; readonly alignItems: "center"; }; buttonTheme: { ...; }; }' is not assignable to type 'BreadcrumbsOptions'.
|
|
58
57
|
buttonTheme: {
|
|
59
58
|
style: breadcrumbStyle
|
|
60
59
|
}
|
|
61
60
|
}
|
|
62
61
|
},
|
|
63
62
|
legend: {
|
|
64
|
-
// @ts-ignore - TS2322 - Type '{ paddingTop: string; fontSize: "12px"; fontFamily: "Centra No 2"; fontStyle: "normal"; margin: 0; color: "#17172A"; letterSpacing: "0em"; fontWeight: "500"; display: "flex"; alignItems: "center"; }' is not assignable to type 'CSSObject'.
|
|
65
63
|
itemStyle: {
|
|
66
64
|
..._typography.formLabelSmall,
|
|
67
65
|
paddingTop: '1px'
|
|
@@ -71,7 +69,6 @@ const commonChartOptions = exports.commonChartOptions = {
|
|
|
71
69
|
},
|
|
72
70
|
xAxis: {
|
|
73
71
|
type: 'category',
|
|
74
|
-
// @ts-ignore - TS2322 - Type '{ type: string; padding: number; }' is not assignable to type 'AxisOptions'.
|
|
75
72
|
padding: 0
|
|
76
73
|
},
|
|
77
74
|
navigation: {
|
|
@@ -81,7 +78,6 @@ const commonChartOptions = exports.commonChartOptions = {
|
|
|
81
78
|
color: _color.colorFillInversePrimary
|
|
82
79
|
}
|
|
83
80
|
},
|
|
84
|
-
// @ts-ignore - TS2322 - Type '{ buttonTheme: { style: { color: string; }; }; separator: { text: string; }; }' is not assignable to type 'Breadcrumbs'.
|
|
85
81
|
separator: {
|
|
86
82
|
text: '>'
|
|
87
83
|
}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
// @flow strict
|
|
2
|
+
|
|
3
|
+
import {
|
|
4
|
+
colorDataViz1,
|
|
5
|
+
colorDataViz2,
|
|
6
|
+
colorDataViz3,
|
|
7
|
+
colorDataViz4,
|
|
8
|
+
colorDataViz5,
|
|
9
|
+
colorDataViz6,
|
|
10
|
+
colorDataViz7,
|
|
11
|
+
colorDataViz8,
|
|
12
|
+
colorFillInversePrimary,
|
|
13
|
+
colorTextSecondary,
|
|
14
|
+
colorTooltipFill,
|
|
15
|
+
} from '../../styles/variables/_color';
|
|
16
|
+
import type {ChartOptions} from '../../types/charts';
|
|
17
|
+
|
|
18
|
+
import {deepMerge} from './helpers';
|
|
19
|
+
import {formLabelSmall, subTitleExtraSmall} from './typography';
|
|
20
|
+
|
|
21
|
+
import css from '../../components/Charts/ChartTooltip/ChartTooltip.module.css';
|
|
22
|
+
import typographyCss from '../../styles/typography.module.css';
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
export const DATA_VIZ_COLORS = [
|
|
26
|
+
colorDataViz1,
|
|
27
|
+
colorDataViz2,
|
|
28
|
+
colorDataViz3,
|
|
29
|
+
colorDataViz4,
|
|
30
|
+
colorDataViz5,
|
|
31
|
+
colorDataViz6,
|
|
32
|
+
colorDataViz7,
|
|
33
|
+
colorDataViz8,
|
|
34
|
+
];
|
|
35
|
+
|
|
36
|
+
export const getDataVizColor = (dataIndex: number): string => {
|
|
37
|
+
const colorIndex = dataIndex % DATA_VIZ_COLORS.length;
|
|
38
|
+
return DATA_VIZ_COLORS[colorIndex];
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
export const breadcrumbStyle = {
|
|
42
|
+
...subTitleExtraSmall,
|
|
43
|
+
color: colorTextSecondary,
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
export const commonChartOptions: $Shape<ChartOptions> = {
|
|
47
|
+
chart: {
|
|
48
|
+
spacingBottom: 0,
|
|
49
|
+
spacingLeft: 0,
|
|
50
|
+
spacingRight: 0,
|
|
51
|
+
},
|
|
52
|
+
title: {
|
|
53
|
+
text: null,
|
|
54
|
+
},
|
|
55
|
+
exporting: {
|
|
56
|
+
buttons: {
|
|
57
|
+
contextButton: {
|
|
58
|
+
enabled: false,
|
|
59
|
+
},
|
|
60
|
+
},
|
|
61
|
+
},
|
|
62
|
+
credits: {
|
|
63
|
+
enabled: false,
|
|
64
|
+
},
|
|
65
|
+
tooltip: {
|
|
66
|
+
followPointer: false,
|
|
67
|
+
backgroundColor: colorTooltipFill,
|
|
68
|
+
useHTML: true,
|
|
69
|
+
outside: true,
|
|
70
|
+
headerFormat: `<span class="${typographyCss.bodySmall} ${css.tooltipHeader}">{point.key}</span>`,
|
|
71
|
+
pointFormat: `<span class=${css.tooltipPoint}>
|
|
72
|
+
<span style="background-color:{point.color};" class=${css.indicatorCircle}></span>
|
|
73
|
+
<span class="${css.tooltipContent} ${typographyCss.bodyMedium}"> {series.name}: {point.y}</span>
|
|
74
|
+
</span>`,
|
|
75
|
+
},
|
|
76
|
+
drilldown: {
|
|
77
|
+
breadcrumbs: {
|
|
78
|
+
floating: true,
|
|
79
|
+
style: breadcrumbStyle,
|
|
80
|
+
buttonTheme: {
|
|
81
|
+
style: breadcrumbStyle,
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
|
+
},
|
|
85
|
+
legend: {
|
|
86
|
+
itemStyle: {...formLabelSmall, paddingTop: '1px'},
|
|
87
|
+
symbolHeight: 8,
|
|
88
|
+
enabled: true,
|
|
89
|
+
},
|
|
90
|
+
xAxis: {
|
|
91
|
+
type: 'category',
|
|
92
|
+
padding: 0,
|
|
93
|
+
},
|
|
94
|
+
navigation: {
|
|
95
|
+
breadcrumbs: {
|
|
96
|
+
buttonTheme: {
|
|
97
|
+
style: {
|
|
98
|
+
color: colorFillInversePrimary,
|
|
99
|
+
},
|
|
100
|
+
},
|
|
101
|
+
separator: {
|
|
102
|
+
text: '>',
|
|
103
|
+
},
|
|
104
|
+
},
|
|
105
|
+
},
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
export const mergeChartUserOptions = (
|
|
109
|
+
defaultoptions: ChartOptions,
|
|
110
|
+
userOptions: ChartOptions,
|
|
111
|
+
): ChartOptions => deepMerge(defaultoptions, userOptions);
|
|
@@ -4,14 +4,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.getColumnChartOptions = exports.columnPlotWidth = void 0;
|
|
7
|
-
var _color = require("../../styles/variables/_color");
|
|
7
|
+
var _color = require("../../styles/variables/_color.js");
|
|
8
8
|
var _charts = require("./charts");
|
|
9
9
|
var _helpers = require("./helpers");
|
|
10
10
|
/**
|
|
11
11
|
* This function modifies the the common chart behavior to column chart default behavior.
|
|
12
12
|
* It will not take userPassed option into account.
|
|
13
13
|
*/
|
|
14
|
-
|
|
15
14
|
const getColumnChartOptions = () => ({
|
|
16
15
|
..._charts.commonChartOptions,
|
|
17
16
|
chart: {
|
|
@@ -32,7 +31,6 @@ const getColumnChartOptions = () => ({
|
|
|
32
31
|
margin: 12,
|
|
33
32
|
style: _helpers.xAxisTitleStyle
|
|
34
33
|
},
|
|
35
|
-
// @ts-ignore - TS2322 - Type '{ labels: { style: { readonly fontSize: "12px"; readonly letterSpacing: "0.01em"; readonly fontFamily: "Centra No 2"; readonly fontStyle: "normal"; readonly margin: 0; readonly color: "#17172A"; readonly fontWeight: "500"; readonly display: "flex"; readonly alignItems: "center"; }; }; ... 6 more ...; type?: string |...' is not assignable to type 'AxisOptions'.
|
|
36
34
|
lineColor: _color.colorBorderPrimary
|
|
37
35
|
},
|
|
38
36
|
yAxis: {
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
// @flow strict
|
|
2
|
+
|
|
3
|
+
import {colorBorderPrimary} from '../../styles/variables/_color.js';
|
|
4
|
+
import type {ChartOptions} from '../../types/charts';
|
|
5
|
+
|
|
6
|
+
import {commonChartOptions} from './charts';
|
|
7
|
+
import {
|
|
8
|
+
activeLabelStyle,
|
|
9
|
+
bottomLegendRow,
|
|
10
|
+
xAxisLabelStyle,
|
|
11
|
+
xAxisTitleStyle,
|
|
12
|
+
yAxisLabelStyle,
|
|
13
|
+
yAxisTitleStyle,
|
|
14
|
+
} from './helpers';
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* This function modifies the the common chart behavior to column chart default behavior.
|
|
18
|
+
* It will not take userPassed option into account.
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
export const getColumnChartOptions = (): ChartOptions => ({
|
|
22
|
+
...commonChartOptions,
|
|
23
|
+
chart: {
|
|
24
|
+
...commonChartOptions.chart,
|
|
25
|
+
type: 'column',
|
|
26
|
+
},
|
|
27
|
+
legend: {
|
|
28
|
+
...commonChartOptions.legend,
|
|
29
|
+
...bottomLegendRow,
|
|
30
|
+
symbolWidth: 18,
|
|
31
|
+
},
|
|
32
|
+
xAxis: {
|
|
33
|
+
...commonChartOptions.xAxis,
|
|
34
|
+
labels: {
|
|
35
|
+
style: xAxisLabelStyle,
|
|
36
|
+
},
|
|
37
|
+
title: {
|
|
38
|
+
margin: 12,
|
|
39
|
+
style: xAxisTitleStyle,
|
|
40
|
+
},
|
|
41
|
+
lineColor: colorBorderPrimary,
|
|
42
|
+
},
|
|
43
|
+
yAxis: {
|
|
44
|
+
labels: {
|
|
45
|
+
align: 'right',
|
|
46
|
+
distance: 12,
|
|
47
|
+
style: yAxisLabelStyle,
|
|
48
|
+
},
|
|
49
|
+
title: {
|
|
50
|
+
margin: 12,
|
|
51
|
+
style: yAxisTitleStyle,
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
drilldown: {
|
|
55
|
+
activeAxisLabelStyle: activeLabelStyle,
|
|
56
|
+
activeDataLabelStyle: activeLabelStyle,
|
|
57
|
+
breadcrumbs: {
|
|
58
|
+
floating: true,
|
|
59
|
+
},
|
|
60
|
+
},
|
|
61
|
+
});
|
|
62
|
+
|
|
63
|
+
export const columnPlotWidth = 28;
|
|
@@ -45,18 +45,14 @@ const getDonutChartOptions = _ref => {
|
|
|
45
45
|
type: 'pie',
|
|
46
46
|
spacing: [0, 0, 0, 0],
|
|
47
47
|
margin: [0, 0, 0, 0],
|
|
48
|
-
// @ts-ignore - TS2322 - Type '{ type: string; spacing: number[]; margin: number[]; events: { render(): void; }; polar?: boolean | undefined; style?: CSSObject | undefined; spacingBottom?: number | undefined; spacingLeft?: number | undefined; spacingRight?: number | undefined; spacingTop?: number | undefined; }' is not assignable to type '{ polar?: boolean | undefined; type?: string | undefined; spacing?: number[] | undefined; margin?: number[] | undefined; style?: CSSObject | undefined; spacingBottom?: number | undefined; spacingLeft?: number | undefined; spacingRight?: number | undefined; spacingTop?: number | undefined; }'.
|
|
49
48
|
events: {
|
|
50
49
|
render() {
|
|
50
|
+
//$FlowFixMe[object-this-reference]
|
|
51
51
|
const chart = this;
|
|
52
|
-
// @ts-ignore - TS2551 - Property 'renderTo' does not exist on type '{ render(): void; }'. Did you mean 'render'?
|
|
53
52
|
const containerWidth = chart.renderTo.offsetWidth;
|
|
54
53
|
const desiredHeight = CHART_WIDTH * containerWidth;
|
|
55
54
|
// 5px adjustment required due to borderWidth mostly.
|
|
56
|
-
const centerTextX = isLegendEnabled
|
|
57
|
-
// @ts-ignore - TS2339 - Property 'plotWidth' does not exist on type '{ render(): void; }'.
|
|
58
|
-
? parseInt(chart.plotWidth) * CHART_CENTER + 5 : 0;
|
|
59
|
-
// @ts-ignore - TS2339 - Property 'update' does not exist on type '{ render(): void; }'.
|
|
55
|
+
const centerTextX = isLegendEnabled ? parseInt(chart.plotWidth) * CHART_CENTER + 5 : 0;
|
|
60
56
|
chart.update({
|
|
61
57
|
chart: {
|
|
62
58
|
height: desiredHeight // Set the height dynamically based on the container's width
|
|
@@ -88,7 +84,6 @@ const getDonutChartOptions = _ref => {
|
|
|
88
84
|
borderWidth: 5,
|
|
89
85
|
borderRadius: 10,
|
|
90
86
|
minSize: 240,
|
|
91
|
-
// @ts-ignore - TS2322 - Type '{ innerSize: string; allowPointSelect: true; cursor: "pointer"; dataLabels: { enabled: boolean; distance: number; }; showInLegend: true; center: [string, string]; size: string; borderWidth: number; borderRadius: number; minSize: number; clip: false; }' is not assignable to type '{ innerSize?: string | undefined; allowPointSelect?: boolean | undefined; cursor?: "pointer" | undefined; dataLabels?: { enabled?: boolean | undefined; distance?: number | undefined; connectorColor?: string | undefined; useHTML?: boolean | undefined; format?: string | undefined; style?: CSSObject | undefined; } | un...'.
|
|
92
87
|
clip: false
|
|
93
88
|
}
|
|
94
89
|
},
|