@spaced-out/ui-design-system 0.4.15-beta.4 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/pages.yml +1 -1
- package/.github/workflows/publish_to_npm.yml +3 -20
- package/.github/workflows/pull_request_checks.yml +2 -3
- package/.prettierrc +3 -2
- package/.vscode/extensions.json +0 -1
- package/.vscode/settings.json +6 -1
- package/CHANGELOG.md +4 -5
- package/gulpfile.js +3 -3
- package/lib/components/AIPromptFlow/AIPromptFlow.stories.d.ts +19 -0
- package/lib/components/AIPromptFlow/AIPromptFlow.stories.d.ts.map +1 -0
- package/lib/components/Accordion/Accordion.d.ts +2 -1
- package/lib/components/Accordion/Accordion.d.ts.map +1 -1
- package/lib/components/Accordion/Accordion.js +4 -4
- package/lib/components/Accordion/Accordion.stories.d.ts +144 -0
- package/lib/components/Accordion/Accordion.stories.d.ts.map +1 -0
- package/lib/components/Accordion/AccordionGroup.d.ts +1 -1
- package/lib/components/Accordion/AccordionGroup.d.ts.map +1 -1
- package/lib/components/Accordion/AccordionGroup.js +13 -9
- package/lib/components/Accordion/AccordionGroup.stories.d.ts +90 -0
- package/lib/components/Accordion/AccordionGroup.stories.d.ts.map +1 -0
- package/lib/components/Avatar/Avatar.d.ts +1 -1
- package/lib/components/Avatar/Avatar.d.ts.map +1 -1
- package/lib/components/Avatar/Avatar.stories.d.ts +149 -0
- package/lib/components/Avatar/Avatar.stories.d.ts.map +1 -0
- package/lib/components/AvatarGroup/AvatarGroup.d.ts.map +1 -1
- package/lib/components/AvatarGroup/AvatarGroup.stories.d.ts +101 -0
- package/lib/components/AvatarGroup/AvatarGroup.stories.d.ts.map +1 -0
- package/lib/components/Badge/Badge.d.ts +4 -4
- package/lib/components/Badge/Badge.d.ts.map +1 -1
- package/lib/components/Badge/Badge.stories.d.ts +123 -0
- package/lib/components/Badge/Badge.stories.d.ts.map +1 -0
- package/lib/components/BadgedIcon/BadgedIcon.d.ts.map +1 -1
- package/lib/components/BadgedIcon/BadgedIcon.stories.d.ts +111 -0
- package/lib/components/BadgedIcon/BadgedIcon.stories.d.ts.map +1 -0
- package/lib/components/Banner/Banner.d.ts +2 -2
- package/lib/components/Banner/Banner.d.ts.map +1 -1
- package/lib/components/Banner/Banner.stories.d.ts +187 -0
- package/lib/components/Banner/Banner.stories.d.ts.map +1 -0
- package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.d.ts +2 -2
- package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.d.ts.map +1 -1
- package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.stories.d.ts +98 -0
- package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.stories.d.ts.map +1 -0
- package/lib/components/Breadcrumbs/Breadcrumbs.d.ts.map +1 -1
- package/lib/components/Breadcrumbs/Breadcrumbs.js +3 -2
- package/lib/components/Breadcrumbs/Breadcrumbs.stories.d.ts +57 -0
- package/lib/components/Breadcrumbs/Breadcrumbs.stories.d.ts.map +1 -0
- package/lib/components/Button/Button.d.ts +6 -6
- package/lib/components/Button/Button.d.ts.map +1 -1
- package/lib/components/Button/Button.js +6 -6
- package/lib/components/Button/Button.stories.d.ts +245 -0
- package/lib/components/Button/Button.stories.d.ts.map +1 -0
- package/lib/components/Button/index.d.ts +1 -1
- package/lib/components/Button/index.d.ts.map +1 -1
- package/lib/components/ButtonDropdown/ButtonDropdown.d.ts +4 -4
- package/lib/components/ButtonDropdown/ButtonDropdown.d.ts.map +1 -1
- package/lib/components/ButtonDropdown/ButtonDropdown.js +4 -4
- package/lib/components/ButtonDropdown/ButtonDropdown.stories.d.ts +558 -0
- package/lib/components/ButtonDropdown/ButtonDropdown.stories.d.ts.map +1 -0
- package/lib/components/ButtonDropdown/SimpleButtonDropdown.d.ts +3 -3
- package/lib/components/ButtonDropdown/SimpleButtonDropdown.d.ts.map +1 -1
- package/lib/components/ButtonDropdown/SimpleButtonDropdown.js +3 -1
- package/lib/components/ButtonDropdown/SimpleButtonDropdown.stories.d.ts +628 -0
- package/lib/components/ButtonDropdown/SimpleButtonDropdown.stories.d.ts.map +1 -0
- package/lib/components/ButtonTabs/ButtonTab/ButtonTab.d.ts.map +1 -1
- package/lib/components/ButtonTabs/ButtonTab/ButtonTab.stories.d.ts +142 -0
- package/lib/components/ButtonTabs/ButtonTab/ButtonTab.stories.d.ts.map +1 -0
- package/lib/components/ButtonTabs/ButtonTabDropdown.d.ts +2 -2
- package/lib/components/ButtonTabs/ButtonTabDropdown.d.ts.map +1 -1
- package/lib/components/ButtonTabs/ButtonTabs.d.ts.map +1 -1
- package/lib/components/ButtonTabs/ButtonTabs.stories.d.ts +201 -0
- package/lib/components/ButtonTabs/ButtonTabs.stories.d.ts.map +1 -0
- package/lib/components/Card/Card.d.ts +3 -3
- package/lib/components/Card/Card.d.ts.map +1 -1
- package/lib/components/Card/Card.js +1 -1
- package/lib/components/Card/Card.stories.d.ts +150 -0
- package/lib/components/Card/Card.stories.d.ts.map +1 -0
- package/lib/components/Charts/ChartWrapper/ChartWrapper.d.ts.map +1 -1
- package/lib/components/Charts/ColumnChart/ColumnChart.d.ts +4 -4
- package/lib/components/Charts/ColumnChart/ColumnChart.d.ts.map +1 -1
- package/lib/components/Charts/ColumnChart/ColumnChart.stories.d.ts +446 -0
- package/lib/components/Charts/ColumnChart/ColumnChart.stories.d.ts.map +1 -0
- package/lib/components/Charts/DonutChart/DonutChart.d.ts +4 -4
- package/lib/components/Charts/DonutChart/DonutChart.d.ts.map +1 -1
- package/lib/components/Charts/DonutChart/DonutChart.stories.d.ts +227 -0
- package/lib/components/Charts/DonutChart/DonutChart.stories.d.ts.map +1 -0
- package/lib/components/Charts/FunnelChart/FunnelChart.d.ts +4 -4
- package/lib/components/Charts/FunnelChart/FunnelChart.d.ts.map +1 -1
- package/lib/components/Charts/FunnelChart/FunnelChart.stories.d.ts +308 -0
- package/lib/components/Charts/FunnelChart/FunnelChart.stories.d.ts.map +1 -0
- package/lib/components/Charts/LineChart/LineChart.d.ts +4 -4
- package/lib/components/Charts/LineChart/LineChart.d.ts.map +1 -1
- package/lib/components/Charts/LineChart/LineChart.stories.d.ts +311 -0
- package/lib/components/Charts/LineChart/LineChart.stories.d.ts.map +1 -0
- package/lib/components/Charts/SpiderChart/SpiderChart.d.ts +4 -4
- package/lib/components/Charts/SpiderChart/SpiderChart.d.ts.map +1 -1
- package/lib/components/Charts/SpiderChart/SpiderChart.stories.d.ts +150 -0
- package/lib/components/Charts/SpiderChart/SpiderChart.stories.d.ts.map +1 -0
- package/lib/components/ChatBubble/ChatAnchor.stories.d.ts +101 -0
- package/lib/components/ChatBubble/ChatAnchor.stories.d.ts.map +1 -0
- package/lib/components/ChatBubble/ChatBubble.d.ts +3 -3
- package/lib/components/ChatBubble/ChatBubble.d.ts.map +1 -1
- package/lib/components/ChatBubble/ChatBubble.stories.d.ts +102 -0
- package/lib/components/ChatBubble/ChatBubble.stories.d.ts.map +1 -0
- package/lib/components/Checkbox/Checkbox.d.ts.map +1 -1
- package/lib/components/Checkbox/Checkbox.stories.d.ts +168 -0
- package/lib/components/Checkbox/Checkbox.stories.d.ts.map +1 -0
- package/lib/components/Checkbox/CheckboxGroup.d.ts.map +1 -1
- package/lib/components/Checkbox/CheckboxGroup.stories.d.ts +163 -0
- package/lib/components/Checkbox/CheckboxGroup.stories.d.ts.map +1 -0
- package/lib/components/Chip/Chip.d.ts +7 -7
- package/lib/components/Chip/Chip.d.ts.map +1 -1
- package/lib/components/Chip/Chip.stories.d.ts +238 -0
- package/lib/components/Chip/Chip.stories.d.ts.map +1 -0
- package/lib/components/CircularLoader/CircularLoader.d.ts.map +1 -1
- package/lib/components/CircularLoader/CircularLoader.stories.d.ts +64 -0
- package/lib/components/CircularLoader/CircularLoader.stories.d.ts.map +1 -0
- package/lib/components/CollapsibleCard/CollapsibleCard.d.ts +1 -1
- package/lib/components/CollapsibleCard/CollapsibleCard.d.ts.map +1 -1
- package/lib/components/CollapsibleCard/CollapsibleCard.stories.d.ts +225 -0
- package/lib/components/CollapsibleCard/CollapsibleCard.stories.d.ts.map +1 -0
- package/lib/components/Combobox/Combobox.d.ts.map +1 -1
- package/lib/components/Combobox/Combobox.stories.d.ts +197 -0
- package/lib/components/Combobox/Combobox.stories.d.ts.map +1 -0
- package/lib/components/Combobox/helper.d.ts.map +1 -1
- package/lib/components/ConditionalWrapper/ConditionalWrapper.d.ts.map +1 -1
- package/lib/components/ConditionalWrapper/ConditionalWrapper.stories.d.ts +16 -0
- package/lib/components/ConditionalWrapper/ConditionalWrapper.stories.d.ts.map +1 -0
- package/lib/components/DateRangePicker/Calendar.d.ts +2 -2
- package/lib/components/DateRangePicker/Calendar.d.ts.map +1 -1
- package/lib/components/DateRangePicker/DateRangePicker.d.ts.map +1 -1
- package/lib/components/DateRangePicker/DateRangePicker.stories.d.ts +184 -0
- package/lib/components/DateRangePicker/DateRangePicker.stories.d.ts.map +1 -0
- package/lib/components/DateRangePicker/DateRangeWrapper.d.ts +1 -1
- package/lib/components/DateRangePicker/DateRangeWrapper.d.ts.map +1 -1
- package/lib/components/DateRangePicker/Day.d.ts.map +1 -1
- package/lib/components/Dialog/Dialog.d.ts +9 -9
- package/lib/components/Dialog/Dialog.d.ts.map +1 -1
- package/lib/components/Dialog/Dialog.stories.d.ts +171 -0
- package/lib/components/Dialog/Dialog.stories.d.ts.map +1 -0
- package/lib/components/Disclaimer/Disclaimer.d.ts +1 -1
- package/lib/components/Disclaimer/Disclaimer.d.ts.map +1 -1
- package/lib/components/Disclaimer/Disclaimer.stories.d.ts +156 -0
- package/lib/components/Disclaimer/Disclaimer.stories.d.ts.map +1 -0
- package/lib/components/Dropdown/Dropdown.d.ts +2 -2
- package/lib/components/Dropdown/Dropdown.d.ts.map +1 -1
- package/lib/components/Dropdown/Dropdown.js +7 -5
- package/lib/components/Dropdown/Dropdown.stories.d.ts +417 -0
- package/lib/components/Dropdown/Dropdown.stories.d.ts.map +1 -0
- package/lib/components/Dropdown/SimpleDropdown.d.ts +3 -3
- package/lib/components/Dropdown/SimpleDropdown.d.ts.map +1 -1
- package/lib/components/Dropdown/SimpleDropdown.js +3 -1
- package/lib/components/Dropdown/SimpleDropdown.stories.d.ts +424 -0
- package/lib/components/Dropdown/SimpleDropdown.stories.d.ts.map +1 -0
- package/lib/components/EmptyState/EmptyImages/CalendarEmptyImage.d.ts.map +1 -1
- package/lib/components/EmptyState/EmptyImages/ChartEmptyImage.d.ts.map +1 -1
- package/lib/components/EmptyState/EmptyImages/DataEmptyImage.d.ts.map +1 -1
- package/lib/components/EmptyState/EmptyImages/FileEmptyImage.d.ts.map +1 -1
- package/lib/components/EmptyState/EmptyImages/MessageEmptyImage.d.ts.map +1 -1
- package/lib/components/EmptyState/EmptyImages/UploadEmptyImage.d.ts.map +1 -1
- package/lib/components/EmptyState/EmptyState.d.ts.map +1 -1
- package/lib/components/EmptyState/EmptyState.stories.d.ts +91 -0
- package/lib/components/EmptyState/EmptyState.stories.d.ts.map +1 -0
- package/lib/components/ErrorMessage/ErrorImages/ForbiddenImage.d.ts.map +1 -1
- package/lib/components/ErrorMessage/ErrorImages/NotFoundImage.d.ts.map +1 -1
- package/lib/components/ErrorMessage/ErrorImages/ServerErrorImage.d.ts.map +1 -1
- package/lib/components/ErrorMessage/ErrorImages/UnauthorizedImage.d.ts.map +1 -1
- package/lib/components/ErrorMessage/ErrorMessage.d.ts.map +1 -1
- package/lib/components/ErrorMessage/ErrorMessage.stories.d.ts +97 -0
- package/lib/components/ErrorMessage/ErrorMessage.stories.d.ts.map +1 -0
- package/lib/components/FileUpload/FileBlock/FileBlock.d.ts.map +1 -1
- package/lib/components/FileUpload/FileBlock/FileBlock.stories.d.ts +68 -0
- package/lib/components/FileUpload/FileBlock/FileBlock.stories.d.ts.map +1 -0
- package/lib/components/FileUpload/FileUpload.d.ts +2 -2
- package/lib/components/FileUpload/FileUpload.d.ts.map +1 -1
- package/lib/components/FileUpload/FileUpload.js +3 -1
- package/lib/components/FileUpload/FileUpload.stories.d.ts +340 -0
- package/lib/components/FileUpload/FileUpload.stories.d.ts.map +1 -0
- package/lib/components/FilterButtonOverlay/FilterButtonOverlay.d.ts +2 -2
- package/lib/components/FilterButtonOverlay/FilterButtonOverlay.d.ts.map +1 -1
- package/lib/components/FilterButtonOverlay/FilterButtonOverlay.js +4 -4
- package/lib/components/FilterButtonOverlay/FilterButtonOverlay.stories.d.ts +300 -0
- package/lib/components/FilterButtonOverlay/FilterButtonOverlay.stories.d.ts.map +1 -0
- package/lib/components/FocusManager/FocusManager.d.ts.map +1 -1
- package/lib/components/FocusManager/FocusManager.stories.d.ts +103 -0
- package/lib/components/FocusManager/FocusManager.stories.d.ts.map +1 -0
- package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.d.ts +2 -2
- package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.d.ts.map +1 -1
- package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.stories.d.ts +175 -0
- package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.stories.d.ts.map +1 -0
- package/lib/components/FormTitleWrapper/FormTitleWrapper.d.ts.map +1 -1
- package/lib/components/FormTitleWrapper/FormTitleWrapper.stories.d.ts +128 -0
- package/lib/components/FormTitleWrapper/FormTitleWrapper.stories.d.ts.map +1 -0
- package/lib/components/Grid/Col.stories.d.ts +66 -0
- package/lib/components/Grid/Col.stories.d.ts.map +1 -0
- package/lib/components/Grid/Grid.d.ts.map +1 -1
- package/lib/components/Grid/GridPatterns.stories.d.ts +18 -0
- package/lib/components/Grid/GridPatterns.stories.d.ts.map +1 -0
- package/lib/components/Grid/Row.stories.d.ts +41 -0
- package/lib/components/Grid/Row.stories.d.ts.map +1 -0
- package/lib/components/Grid/Tablist.layout.stories.d.ts +20 -0
- package/lib/components/Grid/Tablist.layout.stories.d.ts.map +1 -0
- package/lib/components/Icon/ClickableIcon.d.ts +2 -2
- package/lib/components/Icon/ClickableIcon.d.ts.map +1 -1
- package/lib/components/Icon/Icon.d.ts.map +1 -1
- package/lib/components/Icon/Icon.stories.d.ts +193 -0
- package/lib/components/Icon/Icon.stories.d.ts.map +1 -0
- package/lib/components/Icon/SemanticIcon.d.ts +2 -2
- package/lib/components/Icon/SemanticIcon.d.ts.map +1 -1
- package/lib/components/Icon/SemanticIcon.stories.d.ts +190 -0
- package/lib/components/Icon/SemanticIcon.stories.d.ts.map +1 -0
- package/lib/components/InContextAlert/InContextAlert.d.ts +4 -4
- package/lib/components/InContextAlert/InContextAlert.d.ts.map +1 -1
- package/lib/components/InContextAlert/InContextAlert.stories.d.ts +164 -0
- package/lib/components/InContextAlert/InContextAlert.stories.d.ts.map +1 -0
- package/lib/components/InfinitePagination/InfinitePagination.d.ts +3 -4
- package/lib/components/InfinitePagination/InfinitePagination.d.ts.map +1 -1
- package/lib/components/InfinitePagination/InfinitePagination.stories.d.ts +145 -0
- package/lib/components/InfinitePagination/InfinitePagination.stories.d.ts.map +1 -0
- package/lib/components/InlineDropdown/InlineDropdown.d.ts +2 -2
- package/lib/components/InlineDropdown/InlineDropdown.d.ts.map +1 -1
- package/lib/components/InlineDropdown/InlineDropdown.js +4 -4
- package/lib/components/InlineDropdown/InlineDropdown.stories.d.ts +350 -0
- package/lib/components/InlineDropdown/InlineDropdown.stories.d.ts.map +1 -0
- package/lib/components/InlineDropdown/SimpleInlineDropdown.d.ts +3 -3
- package/lib/components/InlineDropdown/SimpleInlineDropdown.d.ts.map +1 -1
- package/lib/components/InlineDropdown/SimpleInlineDropdown.js +3 -1
- package/lib/components/InlineDropdown/SimpleInlineDropdown.stories.d.ts +469 -0
- package/lib/components/InlineDropdown/SimpleInlineDropdown.stories.d.ts.map +1 -0
- package/lib/components/Input/Input.d.ts +3 -3
- package/lib/components/Input/Input.d.ts.map +1 -1
- package/lib/components/Input/Input.js +3 -1
- package/lib/components/Input/Input.stories.d.ts +502 -0
- package/lib/components/Input/Input.stories.d.ts.map +1 -0
- package/lib/components/Input/NativeColorpicker.stories.d.ts +370 -0
- package/lib/components/Input/NativeColorpicker.stories.d.ts.map +1 -0
- package/lib/components/Input/NativeDatepicker.stories.d.ts +388 -0
- package/lib/components/Input/NativeDatepicker.stories.d.ts.map +1 -0
- package/lib/components/KPIBox/KPIBox.d.ts.map +1 -1
- package/lib/components/KPIBox/KPIBox.stories.d.ts +132 -0
- package/lib/components/KPIBox/KPIBox.stories.d.ts.map +1 -0
- package/lib/components/LinearLoader/LinearLoader.d.ts.map +1 -1
- package/lib/components/LinearLoader/LinearLoader.stories.d.ts +78 -0
- package/lib/components/LinearLoader/LinearLoader.stories.d.ts.map +1 -0
- package/lib/components/Link/Link.d.ts +25 -25
- package/lib/components/Link/Link.d.ts.map +1 -1
- package/lib/components/Link/Link.js +1 -1
- package/lib/components/Link/Link.stories.d.ts +284 -0
- package/lib/components/Link/Link.stories.d.ts.map +1 -0
- package/lib/components/Menu/Menu.d.ts +3 -3
- package/lib/components/Menu/Menu.d.ts.map +1 -1
- package/lib/components/Menu/Menu.stories.d.ts +526 -0
- package/lib/components/Menu/Menu.stories.d.ts.map +1 -0
- package/lib/components/Menu/MenuOptionButton.d.ts +2 -2
- package/lib/components/Menu/MenuOptionButton.d.ts.map +1 -1
- package/lib/components/Menu/MenuOptionButton.js +1 -1
- package/lib/components/Modal/Modal.d.ts +4 -4
- package/lib/components/Modal/Modal.d.ts.map +1 -1
- package/lib/components/Modal/Modal.stories.d.ts +149 -0
- package/lib/components/Modal/Modal.stories.d.ts.map +1 -0
- package/lib/components/Modal/index.d.ts +1 -1
- package/lib/components/Modal/index.d.ts.map +1 -1
- package/lib/components/Notification/Notification.d.ts +5 -5
- package/lib/components/Notification/Notification.d.ts.map +1 -1
- package/lib/components/Notification/Notification.stories.d.ts +136 -0
- package/lib/components/Notification/Notification.stories.d.ts.map +1 -0
- package/lib/components/OptionButton/OptionButton.d.ts +2 -2
- package/lib/components/OptionButton/OptionButton.d.ts.map +1 -1
- package/lib/components/OptionButton/OptionButton.stories.d.ts +366 -0
- package/lib/components/OptionButton/OptionButton.stories.d.ts.map +1 -0
- package/lib/components/OptionButton/SimpleOptionButton.d.ts +3 -3
- package/lib/components/OptionButton/SimpleOptionButton.d.ts.map +1 -1
- package/lib/components/OptionButton/SimpleOptionButton.js +3 -1
- package/lib/components/OptionButton/SimpleOptionButton.stories.d.ts +502 -0
- package/lib/components/OptionButton/SimpleOptionButton.stories.d.ts.map +1 -0
- package/lib/components/PageTitle/PageTitle.d.ts.map +1 -1
- package/lib/components/PageTitle/PageTitle.js +1 -1
- package/lib/components/PageTitle/PageTitle.stories.d.ts +83 -0
- package/lib/components/PageTitle/PageTitle.stories.d.ts.map +1 -0
- package/lib/components/Pagination/Pagination.d.ts +3 -3
- package/lib/components/Pagination/Pagination.d.ts.map +1 -1
- package/lib/components/Pagination/Pagination.stories.d.ts +203 -0
- package/lib/components/Pagination/Pagination.stories.d.ts.map +1 -0
- package/lib/components/Pagination/PaginationItem.d.ts.map +1 -1
- package/lib/components/Panel/Panel.d.ts +3 -3
- package/lib/components/Panel/Panel.d.ts.map +1 -1
- package/lib/components/Panel/Panel.stories.d.ts +187 -0
- package/lib/components/Panel/Panel.stories.d.ts.map +1 -0
- package/lib/components/Panel/index.d.ts +1 -1
- package/lib/components/Panel/index.d.ts.map +1 -1
- package/lib/components/ProgressDonut/ProgressDonut.d.ts.map +1 -1
- package/lib/components/ProgressDonut/ProgressDonut.stories.d.ts +72 -0
- package/lib/components/ProgressDonut/ProgressDonut.stories.d.ts.map +1 -0
- package/lib/components/PromptChip/PromptChip.d.ts +3 -3
- package/lib/components/PromptChip/PromptChip.d.ts.map +1 -1
- package/lib/components/PromptChip/PromptChip.stories.d.ts +205 -0
- package/lib/components/PromptChip/PromptChip.stories.d.ts.map +1 -0
- package/lib/components/PromptInput/PromptInput.d.ts.map +1 -1
- package/lib/components/PromptInput/PromptInput.stories.d.ts +265 -0
- package/lib/components/PromptInput/PromptInput.stories.d.ts.map +1 -0
- package/lib/components/RadioButton/RadioButton.d.ts.map +1 -1
- package/lib/components/RadioButton/RadioButton.stories.d.ts +149 -0
- package/lib/components/RadioButton/RadioButton.stories.d.ts.map +1 -0
- package/lib/components/RadioButton/RadioGroup.d.ts.map +1 -1
- package/lib/components/RadioButton/RadioGroup.stories.d.ts +137 -0
- package/lib/components/RadioButton/RadioGroup.stories.d.ts.map +1 -0
- package/lib/components/RadioTile/RadioTile.d.ts.map +1 -1
- package/lib/components/RadioTile/RadioTile.stories.d.ts +171 -0
- package/lib/components/RadioTile/RadioTile.stories.d.ts.map +1 -0
- package/lib/components/RangeSlider/RangeSlider.d.ts.map +1 -1
- package/lib/components/RangeSlider/RangeSlider.stories.d.ts +287 -0
- package/lib/components/RangeSlider/RangeSlider.stories.d.ts.map +1 -0
- package/lib/components/Rating/Rating.d.ts +1 -1
- package/lib/components/Rating/Rating.d.ts.map +1 -1
- package/lib/components/Rating/Rating.stories.d.ts +237 -0
- package/lib/components/Rating/Rating.stories.d.ts.map +1 -0
- package/lib/components/ScoreBar/ScoreBar.d.ts +1 -1
- package/lib/components/ScoreBar/ScoreBar.d.ts.map +1 -1
- package/lib/components/ScoreBar/ScoreBar.stories.d.ts +156 -0
- package/lib/components/ScoreBar/ScoreBar.stories.d.ts.map +1 -0
- package/lib/components/SearchInput/SearchInput.d.ts +2 -2
- package/lib/components/SearchInput/SearchInput.d.ts.map +1 -1
- package/lib/components/SearchInput/SearchInput.stories.d.ts +260 -0
- package/lib/components/SearchInput/SearchInput.stories.d.ts.map +1 -0
- package/lib/components/Separator/Separator.d.ts +1 -1
- package/lib/components/Separator/Separator.d.ts.map +1 -1
- package/lib/components/Separator/Separator.stories.d.ts +79 -0
- package/lib/components/Separator/Separator.stories.d.ts.map +1 -0
- package/lib/components/Shimmer/Shimmer.d.ts +1 -1
- package/lib/components/Shimmer/Shimmer.d.ts.map +1 -1
- package/lib/components/Shimmer/Shimmer.stories.d.ts +213 -0
- package/lib/components/Shimmer/Shimmer.stories.d.ts.map +1 -0
- package/lib/components/SideMenuLink/SideMenuLink.d.ts.map +1 -1
- package/lib/components/SideMenuLink/SideMenuLink.stories.d.ts +96 -0
- package/lib/components/SideMenuLink/SideMenuLink.stories.d.ts.map +1 -0
- package/lib/components/StatusIndicator/StatusIndicator.d.ts +1 -1
- package/lib/components/StatusIndicator/StatusIndicator.d.ts.map +1 -1
- package/lib/components/StatusIndicator/StatusIndicator.stories.d.ts +92 -0
- package/lib/components/StatusIndicator/StatusIndicator.stories.d.ts.map +1 -0
- package/lib/components/Stepper/Step/Step.d.ts.map +1 -1
- package/lib/components/Stepper/Step/Step.stories.d.ts +120 -0
- package/lib/components/Stepper/Step/Step.stories.d.ts.map +1 -0
- package/lib/components/Stepper/Step/StepContent.d.ts.map +1 -1
- package/lib/components/Stepper/Step/StepLabel.d.ts.map +1 -1
- package/lib/components/Stepper/Stepper.d.ts.map +1 -1
- package/lib/components/Stepper/Stepper.stories.d.ts +210 -0
- package/lib/components/Stepper/Stepper.stories.d.ts.map +1 -0
- package/lib/components/StickyBar/StickyBar.d.ts.map +1 -1
- package/lib/components/StickyBar/StickyBar.stories.d.ts +35 -0
- package/lib/components/StickyBar/StickyBar.stories.d.ts.map +1 -0
- package/lib/components/SubMenu/SubMenu.d.ts.map +1 -1
- package/lib/components/SubMenu/SubMenu.stories.d.ts +114 -0
- package/lib/components/SubMenu/SubMenu.stories.d.ts.map +1 -0
- package/lib/components/SubMenu/SubMenuGroup.d.ts.map +1 -1
- package/lib/components/SubMenu/SubMenuItem.d.ts.map +1 -1
- package/lib/components/SubMenu/SubMenuItem.js +9 -7
- package/lib/components/SubMenu/SubMenuLink.d.ts.map +1 -1
- package/lib/components/Table/BasicTable.stories.d.ts +691 -0
- package/lib/components/Table/BasicTable.stories.d.ts.map +1 -0
- package/lib/components/Table/BulkActions.stories.d.ts +327 -0
- package/lib/components/Table/BulkActions.stories.d.ts.map +1 -0
- package/lib/components/Table/Cell.d.ts +1 -1
- package/lib/components/Table/Cell.d.ts.map +1 -1
- package/lib/components/Table/Cell.js +8 -5
- package/lib/components/Table/DefaultRow.d.ts.map +1 -1
- package/lib/components/Table/DefaultTableHeader.d.ts.map +1 -1
- package/lib/components/Table/InlineEdit.stories.d.ts +314 -0
- package/lib/components/Table/InlineEdit.stories.d.ts.map +1 -0
- package/lib/components/Table/StaticTable.d.ts +4 -4
- package/lib/components/Table/StaticTable.d.ts.map +1 -1
- package/lib/components/Table/StaticTable.js +8 -8
- package/lib/components/Table/Table.d.ts.map +1 -1
- package/lib/components/Table/TableActionBar.d.ts.map +1 -1
- package/lib/components/Table/TableBottomBar.d.ts.map +1 -1
- package/lib/components/Table/TableTopBar.d.ts.map +1 -1
- package/lib/components/Tabs/Tab/Tab.d.ts.map +1 -1
- package/lib/components/Tabs/Tab/Tab.stories.d.ts +156 -0
- package/lib/components/Tabs/Tab/Tab.stories.d.ts.map +1 -0
- package/lib/components/Tabs/TabList/TabDropdown.d.ts.map +1 -1
- package/lib/components/Tabs/TabList/TabList.d.ts.map +1 -1
- package/lib/components/Tabs/TabList/TabList.stories.d.ts +111 -0
- package/lib/components/Tabs/TabList/TabList.stories.d.ts.map +1 -0
- package/lib/components/Text/HighlightedText.stories.d.ts +120 -0
- package/lib/components/Text/HighlightedText.stories.d.ts.map +1 -0
- package/lib/components/Text/Text.d.ts.map +1 -1
- package/lib/components/Text/Text.stories.d.ts +271 -0
- package/lib/components/Text/Text.stories.d.ts.map +1 -0
- package/lib/components/TextTile/TextTile.d.ts.map +1 -1
- package/lib/components/TextTile/TextTile.stories.d.ts +76 -0
- package/lib/components/TextTile/TextTile.stories.d.ts.map +1 -0
- package/lib/components/Textarea/Textarea.d.ts.map +1 -1
- package/lib/components/Textarea/Textarea.js +3 -1
- package/lib/components/Textarea/Textarea.stories.d.ts +264 -0
- package/lib/components/Textarea/Textarea.stories.d.ts.map +1 -0
- package/lib/components/Timeline/Timeline.d.ts +1 -1
- package/lib/components/Timeline/Timeline.d.ts.map +1 -1
- package/lib/components/Timeline/Timeline.js +3 -1
- package/lib/components/Timeline/Timeline.stories.d.ts +62 -0
- package/lib/components/Timeline/Timeline.stories.d.ts.map +1 -0
- package/lib/components/Timeline/TimelineItem/TimelineItem.d.ts.map +1 -1
- package/lib/components/Timeline/TimelineItem/TimelineItem.js +3 -1
- package/lib/components/Timeline/TimelineItem/TimelineItem.stories.d.ts +184 -0
- package/lib/components/Timeline/TimelineItem/TimelineItem.stories.d.ts.map +1 -0
- package/lib/components/Toast/Toast.d.ts +2 -2
- package/lib/components/Toast/Toast.d.ts.map +1 -1
- package/lib/components/Toast/Toast.stories.d.ts +105 -0
- package/lib/components/Toast/Toast.stories.d.ts.map +1 -0
- package/lib/components/Toast/ToastContainer.d.ts.map +1 -1
- package/lib/components/Toast/ToastManager.d.ts.map +1 -1
- package/lib/components/Toggle/Toggle.d.ts.map +1 -1
- package/lib/components/Toggle/Toggle.js +5 -1
- package/lib/components/Toggle/Toggle.stories.d.ts +142 -0
- package/lib/components/Toggle/Toggle.stories.d.ts.map +1 -0
- package/lib/components/TokenListInput/TokenListInput.d.ts +1 -1
- package/lib/components/TokenListInput/TokenListInput.d.ts.map +1 -1
- package/lib/components/TokenListInput/TokenListInput.stories.d.ts +379 -0
- package/lib/components/TokenListInput/TokenListInput.stories.d.ts.map +1 -0
- package/lib/components/TokenListInput/TokenValueChips.d.ts.map +1 -1
- package/lib/components/Tooltip/Tooltip.d.ts +4 -4
- package/lib/components/Tooltip/Tooltip.d.ts.map +1 -1
- package/lib/components/Tooltip/Tooltip.js +2 -2
- package/lib/components/Tooltip/Tooltip.stories.d.ts +172 -0
- package/lib/components/Tooltip/Tooltip.stories.d.ts.map +1 -0
- package/lib/components/Truncate/Truncate.d.ts.map +1 -1
- package/lib/components/Truncate/Truncate.stories.d.ts +94 -0
- package/lib/components/Truncate/Truncate.stories.d.ts.map +1 -0
- package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.d.ts.map +1 -1
- package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.stories.d.ts +110 -0
- package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.stories.d.ts.map +1 -0
- package/lib/components/Typeahead/SimpleTypeahead.d.ts +3 -3
- package/lib/components/Typeahead/SimpleTypeahead.d.ts.map +1 -1
- package/lib/components/Typeahead/SimpleTypeahead.js +3 -3
- package/lib/components/Typeahead/SimpleTypeahead.stories.d.ts +396 -0
- package/lib/components/Typeahead/SimpleTypeahead.stories.d.ts.map +1 -0
- package/lib/components/Typeahead/Typeahead.d.ts +4 -4
- package/lib/components/Typeahead/Typeahead.d.ts.map +1 -1
- package/lib/components/Typeahead/Typeahead.js +4 -4
- package/lib/components/Typeahead/Typeahead.stories.d.ts +399 -0
- package/lib/components/Typeahead/Typeahead.stories.d.ts.map +1 -0
- package/lib/components/WeekdayPicker/WeekdayPicker.d.ts +1 -1
- package/lib/components/WeekdayPicker/WeekdayPicker.d.ts.map +1 -1
- package/lib/components/WeekdayPicker/WeekdayPicker.stories.d.ts +238 -0
- package/lib/components/WeekdayPicker/WeekdayPicker.stories.d.ts.map +1 -0
- package/lib/flow-to-typescript-codemod.d.ts +7 -7
- package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.d.ts.map +1 -1
- package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.stories.d.ts +18 -0
- package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.stories.d.ts.map +1 -0
- package/lib/hooks/useCopyToClipboard/useCopyToClipboard.stories.d.ts +24 -0
- package/lib/hooks/useCopyToClipboard/useCopyToClipboard.stories.d.ts.map +1 -0
- package/lib/hooks/useDebounce/useDebounce.stories.d.ts +26 -0
- package/lib/hooks/useDebounce/useDebounce.stories.d.ts.map +1 -0
- package/lib/hooks/useFileUpload/useFileUpload.d.ts.map +1 -1
- package/lib/hooks/useFileUpload/useFileUpload.stories.d.ts +16 -0
- package/lib/hooks/useFileUpload/useFileUpload.stories.d.ts.map +1 -0
- package/lib/hooks/useFilteredOptions/useFilteredOptions.d.ts.map +1 -1
- package/lib/hooks/useFilteredOptions/useFilteredOptions.js +3 -3
- package/lib/hooks/useFilteredOptions/useFilteredOptions.stories.d.ts +18 -0
- package/lib/hooks/useFilteredOptions/useFilteredOptions.stories.d.ts.map +1 -0
- package/lib/hooks/useInfiniteScroll/useInfiniteScroll.d.ts.map +1 -1
- package/lib/hooks/useInputState/useInputState.d.ts +4 -1
- package/lib/hooks/useInputState/useInputState.d.ts.map +1 -1
- package/lib/hooks/useInputState/useInputState.stories.d.ts +16 -0
- package/lib/hooks/useInputState/useInputState.stories.d.ts.map +1 -0
- package/lib/hooks/useLockedBody/useLockedBody.stories.d.ts +17 -0
- package/lib/hooks/useLockedBody/useLockedBody.stories.d.ts.map +1 -0
- package/lib/hooks/useModal/useModal.stories.d.ts +16 -0
- package/lib/hooks/useModal/useModal.stories.d.ts.map +1 -0
- package/lib/hooks/useMountTransition/index.d.ts.map +1 -1
- package/lib/hooks/useMountTransition/useMountTransition.stories.d.ts +16 -0
- package/lib/hooks/useMountTransition/useMountTransition.stories.d.ts.map +1 -0
- package/lib/hooks/usePagination/usePagination.d.ts.map +1 -1
- package/lib/hooks/usePagination/usePagination.stories.d.ts +18 -0
- package/lib/hooks/usePagination/usePagination.stories.d.ts.map +1 -0
- package/lib/hooks/useReferenceElementWidth/useReferenceElementWidth.d.ts.map +1 -1
- package/lib/hooks/useToastPortal/useToastPortal.d.ts.map +1 -1
- package/lib/hooks/useToggle/useToggle.d.ts.map +1 -1
- package/lib/hooks/useToggle/useToggle.stories.d.ts +17 -0
- package/lib/hooks/useToggle/useToggle.stories.d.ts.map +1 -0
- package/lib/hooks/useWindowSize/useWindowSize.stories.d.ts +17 -0
- package/lib/hooks/useWindowSize/useWindowSize.stories.d.ts.map +1 -0
- package/lib/stories/Border/Border.stories.d.ts +12 -0
- package/lib/stories/Border/Border.stories.d.ts.map +1 -0
- package/lib/stories/Color/Color.stories.d.ts +13 -0
- package/lib/stories/Color/Color.stories.d.ts.map +1 -0
- package/lib/stories/Elevation/Elevation.stories.d.ts +12 -0
- package/lib/stories/Elevation/Elevation.stories.d.ts.map +1 -0
- package/lib/stories/Introduction/index.d.ts +3 -0
- package/lib/stories/Introduction/index.d.ts.map +1 -0
- package/lib/stories/Motion/Motion.stories.d.ts +12 -0
- package/lib/stories/Motion/Motion.stories.d.ts.map +1 -0
- package/lib/stories/Opacity/Opacity.stories.d.ts +12 -0
- package/lib/stories/Opacity/Opacity.stories.d.ts.map +1 -0
- package/lib/stories/Shadow/Shadow.stories.d.ts +12 -0
- package/lib/stories/Shadow/Shadow.stories.d.ts.map +1 -0
- package/lib/stories/Size/Size.stories.d.ts +12 -0
- package/lib/stories/Size/Size.stories.d.ts.map +1 -0
- package/lib/stories/Space/Space.stories.d.ts +12 -0
- package/lib/stories/Space/Space.stories.d.ts.map +1 -0
- package/lib/stories/Tokens/index.d.ts +3 -0
- package/lib/stories/Tokens/index.d.ts.map +1 -0
- package/lib/types/charts.d.ts.map +1 -1
- package/lib/types/common.d.ts +1 -1
- package/lib/types/common.d.ts.map +1 -1
- package/lib/types/date-range-picker.d.ts +2 -2
- package/lib/types/date-range-picker.d.ts.map +1 -1
- package/lib/types/toast.d.ts +4 -4
- package/lib/types/toast.d.ts.map +1 -1
- package/lib/types/typography.d.ts +1 -1
- package/lib/types/typography.d.ts.map +1 -1
- package/lib/utils/charts/charts.d.ts.map +1 -1
- package/lib/utils/charts/donutChart.d.ts.map +1 -1
- package/lib/utils/charts/donutChart.js +2 -2
- package/lib/utils/charts/funnelChart.d.ts.map +1 -1
- package/lib/utils/charts/helpers.d.ts.map +1 -1
- package/lib/utils/charts/helpers.js +2 -5
- package/lib/utils/classify/classify.stories.d.ts +17 -0
- package/lib/utils/classify/classify.stories.d.ts.map +1 -0
- package/lib/utils/click-away/ClickAway.stories.d.ts +106 -0
- package/lib/utils/click-away/ClickAway.stories.d.ts.map +1 -0
- package/lib/utils/click-away/click-away.d.ts +20 -20
- package/lib/utils/click-away/click-away.d.ts.map +1 -1
- package/lib/utils/date-range-picker/date-range-picker.d.ts +3 -3
- package/lib/utils/date-range-picker/date-range-picker.d.ts.map +1 -1
- package/lib/utils/date-range-picker/date-range-picker.js +9 -3
- package/lib/utils/date-range-picker/timezones.d.ts.map +1 -1
- package/lib/utils/dom/dom.d.ts +1 -1
- package/lib/utils/dom/dom.d.ts.map +1 -1
- package/lib/utils/dom/dom.stories.d.ts +15 -0
- package/lib/utils/dom/dom.stories.d.ts.map +1 -0
- package/lib/utils/helpers/helpers.stories.d.ts +15 -0
- package/lib/utils/helpers/helpers.stories.d.ts.map +1 -0
- package/lib/utils/makeClassNameComponent/makeClassNameComponent.d.ts.map +1 -1
- package/lib/utils/makeClassNameComponent/makeClassNameComponent.js +3 -1
- package/lib/utils/makeClassNameComponent/makeClassNameComponent.stories.d.ts +15 -0
- package/lib/utils/makeClassNameComponent/makeClassNameComponent.stories.d.ts.map +1 -0
- package/lib/utils/menu/menu.d.ts.map +1 -1
- package/lib/utils/merge-refs/merge-refs.stories.d.ts +15 -0
- package/lib/utils/merge-refs/merge-refs.stories.d.ts.map +1 -0
- package/lib/utils/rating/rating.d.ts.map +1 -1
- package/lib/utils/score-bar/score-bar.d.ts.map +1 -1
- package/lib/utils/string/string.d.ts.map +1 -1
- package/lib/utils/string/string.stories.d.ts +15 -0
- package/lib/utils/string/string.stories.d.ts.map +1 -0
- package/lib/utils/token-list-input/token-list-input.d.ts.map +1 -1
- package/lib/utils/tokens/tokens.d.ts.map +1 -1
- package/lint-staged.config.js +1 -1
- package/package.json +3 -2
- package/tsconfig.json +2 -6
- package/.flowconfig +0 -45
- package/dts-generator/.editorconfig +0 -10
- package/dts-generator/.gitattributes +0 -4
- package/dts-generator/README.md +0 -63
- package/dts-generator/convert.js +0 -107
- package/dts-generator/package.json +0 -16
- package/flow-typed/npm/lodash_v4.x.x.js +0 -6407
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DonutChart.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Charts/DonutChart/DonutChart.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAM/B,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,IAAI,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMxC,wBA6NE;AAyCF,eAAO,MAAM,WAAW;WAAU,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;CAehD,CAAC;AAYF,QAAA,MAAM,SAAS,yBAUd,CAAC;AAEF,eAAO,MAAM,wBAAwB;WAAU,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;mBA0B9B,KAAK,CAAC,YAAY,CAC9C,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,CACvC;;CAbF,CAAC;AAgBF,eAAO,MAAM,wBAAwB;WAAU,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAe7D,CAAC"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { ChartOptions, DataOptionsType, Drilldown } from '../../../types/charts';
|
|
3
3
|
import type { ChartWrapperClassNames, ExportOptionType } from '../ChartWrapper';
|
|
4
|
-
export type ClassNames = Readonly<
|
|
4
|
+
export type ClassNames = Readonly<ChartWrapperClassNames & {
|
|
5
5
|
highChart?: string;
|
|
6
|
-
}
|
|
6
|
+
}>;
|
|
7
7
|
export type FunnelSeriesItem = {
|
|
8
8
|
name?: string;
|
|
9
9
|
showInLegend?: boolean;
|
|
10
10
|
data: Array<DataOptionsType>;
|
|
11
11
|
};
|
|
12
|
-
export type FunnelChartProps =
|
|
12
|
+
export type FunnelChartProps = ChartOptions & {
|
|
13
13
|
isLoading?: boolean;
|
|
14
14
|
classNames?: ClassNames;
|
|
15
15
|
cardTitle?: React.ReactNode;
|
|
@@ -20,6 +20,6 @@ export type FunnelChartProps = ((ChartOptions) & {
|
|
|
20
20
|
showLegend?: boolean;
|
|
21
21
|
hasEmptyData?: boolean;
|
|
22
22
|
emptyText?: React.ReactNode;
|
|
23
|
-
}
|
|
23
|
+
};
|
|
24
24
|
export declare const FunnelChart: ({ isLoading, classNames, cardTitle, customExportOptions, series, headerActions, drilldown, showLegend, hasEmptyData, emptyText, ...userOptions }: FunnelChartProps) => React.JSX.Element;
|
|
25
25
|
//# sourceMappingURL=FunnelChart.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FunnelChart.d.ts","sourceRoot":"","sources":["../../../../src/components/Charts/FunnelChart/FunnelChart.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,KAAK,EACV,YAAY,EACZ,eAAe,EACf,SAAS,EACV,MAAM,uBAAuB,CAAC;AAQ/B,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"FunnelChart.d.ts","sourceRoot":"","sources":["../../../../src/components/Charts/FunnelChart/FunnelChart.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,KAAK,EACV,YAAY,EACZ,eAAe,EACf,SAAS,EACV,MAAM,uBAAuB,CAAC;AAQ/B,OAAO,KAAK,EAAC,sBAAsB,EAAE,gBAAgB,EAAC,MAAM,iBAAiB,CAAC;AAM9E,MAAM,MAAM,UAAU,GAAG,QAAQ,CAC/B,sBAAsB,GAAG;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CACF,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,IAAI,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,YAAY,GAAG;IAC5C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC5B,mBAAmB,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC;IACrD,MAAM,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC;IAChC,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAChC,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,kJAYzB,gBAAgB,sBA8ClB,CAAC"}
|
|
@@ -0,0 +1,308 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { EmptyData } from '../ColumnChart/ColumnChart.stories';
|
|
3
|
+
import type { FunnelChartProps } from './index.ts';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
tags: string[];
|
|
6
|
+
title: string;
|
|
7
|
+
component: ({ isLoading, classNames, cardTitle, customExportOptions, series, headerActions, drilldown, showLegend, hasEmptyData, emptyText, ...userOptions }: FunnelChartProps) => React.JSX.Element;
|
|
8
|
+
argTypes: {
|
|
9
|
+
isLoading: {
|
|
10
|
+
description: string;
|
|
11
|
+
control: {
|
|
12
|
+
type: string;
|
|
13
|
+
};
|
|
14
|
+
table: {
|
|
15
|
+
type: {
|
|
16
|
+
summary: string;
|
|
17
|
+
};
|
|
18
|
+
defaultValue: {
|
|
19
|
+
summary: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
classNames: {
|
|
24
|
+
description: string;
|
|
25
|
+
control: {
|
|
26
|
+
type: string;
|
|
27
|
+
};
|
|
28
|
+
table: {
|
|
29
|
+
type: {
|
|
30
|
+
summary: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
cardTitle: {
|
|
35
|
+
description: string;
|
|
36
|
+
control: {
|
|
37
|
+
type: string;
|
|
38
|
+
};
|
|
39
|
+
type: {
|
|
40
|
+
summary: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
customExportOptions: {
|
|
44
|
+
description: string;
|
|
45
|
+
control: {
|
|
46
|
+
type: string;
|
|
47
|
+
};
|
|
48
|
+
table: {
|
|
49
|
+
type: {
|
|
50
|
+
summary: string;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
series: {
|
|
55
|
+
description: string;
|
|
56
|
+
table: {
|
|
57
|
+
type: {
|
|
58
|
+
summary: string;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
showLegend: {
|
|
63
|
+
description: string;
|
|
64
|
+
control: {
|
|
65
|
+
type: string;
|
|
66
|
+
};
|
|
67
|
+
table: {
|
|
68
|
+
type: {
|
|
69
|
+
summary: string;
|
|
70
|
+
};
|
|
71
|
+
defaultValue: {
|
|
72
|
+
summary: string;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
plotOptions: {
|
|
77
|
+
description: string;
|
|
78
|
+
};
|
|
79
|
+
xAxis: {
|
|
80
|
+
description: string;
|
|
81
|
+
};
|
|
82
|
+
yAxis: {
|
|
83
|
+
description: string;
|
|
84
|
+
};
|
|
85
|
+
headerActions: {
|
|
86
|
+
description: string;
|
|
87
|
+
table: {
|
|
88
|
+
type: {
|
|
89
|
+
summary: string;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
hasEmptyData: {
|
|
94
|
+
description: string;
|
|
95
|
+
control: {
|
|
96
|
+
type: string;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
emptyText: {
|
|
100
|
+
description: string;
|
|
101
|
+
table: {
|
|
102
|
+
type: {
|
|
103
|
+
summary: string;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
parameters: {
|
|
109
|
+
docs: {
|
|
110
|
+
subtitle: string;
|
|
111
|
+
description: {
|
|
112
|
+
component: string;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
storySource: {
|
|
116
|
+
componentPath: string;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
export default _default;
|
|
121
|
+
export declare const _FunnelChart: {
|
|
122
|
+
(args: FunnelChartProps): React.JSX.Element;
|
|
123
|
+
args: {
|
|
124
|
+
classNames: {
|
|
125
|
+
wrapper: string;
|
|
126
|
+
};
|
|
127
|
+
cardTitle: string;
|
|
128
|
+
customExportOptions: {
|
|
129
|
+
key: string;
|
|
130
|
+
label: string;
|
|
131
|
+
format: string;
|
|
132
|
+
}[];
|
|
133
|
+
series: {
|
|
134
|
+
name: string;
|
|
135
|
+
data: {
|
|
136
|
+
name: string;
|
|
137
|
+
y: number;
|
|
138
|
+
}[];
|
|
139
|
+
showInLegend: boolean;
|
|
140
|
+
}[];
|
|
141
|
+
yAxis: {
|
|
142
|
+
readonly title: {
|
|
143
|
+
readonly text: "Number of Employees";
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
};
|
|
148
|
+
export declare const _FunnelChartWithEmptyData: {
|
|
149
|
+
(args: FunnelChartProps): React.JSX.Element;
|
|
150
|
+
args: {
|
|
151
|
+
classNames: {
|
|
152
|
+
wrapper: string;
|
|
153
|
+
};
|
|
154
|
+
cardTitle: string;
|
|
155
|
+
customExportOptions: {
|
|
156
|
+
key: string;
|
|
157
|
+
label: string;
|
|
158
|
+
format: string;
|
|
159
|
+
}[];
|
|
160
|
+
series: {
|
|
161
|
+
name: string;
|
|
162
|
+
data: {
|
|
163
|
+
name: string;
|
|
164
|
+
y: number;
|
|
165
|
+
}[];
|
|
166
|
+
showInLegend: boolean;
|
|
167
|
+
}[];
|
|
168
|
+
yAxis: {
|
|
169
|
+
readonly title: {
|
|
170
|
+
readonly text: "Number of Employees";
|
|
171
|
+
};
|
|
172
|
+
};
|
|
173
|
+
hasEmptyData: boolean;
|
|
174
|
+
emptyText: React.ReactElement<React.ComponentProps<typeof EmptyData>>;
|
|
175
|
+
};
|
|
176
|
+
};
|
|
177
|
+
export declare const _FunnelChartWithDrilldown: {
|
|
178
|
+
(args: FunnelChartProps): React.JSX.Element;
|
|
179
|
+
args: {
|
|
180
|
+
classNames: {
|
|
181
|
+
wrapper: string;
|
|
182
|
+
};
|
|
183
|
+
cardTitle: string;
|
|
184
|
+
customExportOptions: {
|
|
185
|
+
key: string;
|
|
186
|
+
label: string;
|
|
187
|
+
format: string;
|
|
188
|
+
}[];
|
|
189
|
+
series: {
|
|
190
|
+
name: string;
|
|
191
|
+
data: {
|
|
192
|
+
name: string;
|
|
193
|
+
y: number;
|
|
194
|
+
drilldown: string;
|
|
195
|
+
}[];
|
|
196
|
+
}[];
|
|
197
|
+
drilldown: {
|
|
198
|
+
readonly series: readonly [{
|
|
199
|
+
readonly name: "Jan Weekly Sales Data";
|
|
200
|
+
readonly id: "jan";
|
|
201
|
+
readonly data: readonly [{
|
|
202
|
+
readonly name: "Week 1";
|
|
203
|
+
readonly y: 50;
|
|
204
|
+
}, {
|
|
205
|
+
readonly name: "Week 2";
|
|
206
|
+
readonly y: 70;
|
|
207
|
+
}, {
|
|
208
|
+
readonly name: "Week 3";
|
|
209
|
+
readonly y: 60;
|
|
210
|
+
}, {
|
|
211
|
+
readonly name: "Week 4";
|
|
212
|
+
readonly y: 80;
|
|
213
|
+
}];
|
|
214
|
+
}, {
|
|
215
|
+
readonly name: "Feb Weekly Sales Data";
|
|
216
|
+
readonly id: "feb";
|
|
217
|
+
readonly data: readonly [{
|
|
218
|
+
readonly name: "Week 5";
|
|
219
|
+
readonly y: 60;
|
|
220
|
+
}, {
|
|
221
|
+
readonly name: "Week 6";
|
|
222
|
+
readonly y: 80;
|
|
223
|
+
}, {
|
|
224
|
+
readonly name: "Week 7";
|
|
225
|
+
readonly y: 70;
|
|
226
|
+
}, {
|
|
227
|
+
readonly name: "Week 8";
|
|
228
|
+
readonly y: 90;
|
|
229
|
+
}];
|
|
230
|
+
}, {
|
|
231
|
+
readonly name: "March Weekly Sales Data";
|
|
232
|
+
readonly id: "mar";
|
|
233
|
+
readonly data: readonly [{
|
|
234
|
+
readonly name: "Week 9";
|
|
235
|
+
readonly y: 70;
|
|
236
|
+
}, {
|
|
237
|
+
readonly name: "Week 10";
|
|
238
|
+
readonly y: 90;
|
|
239
|
+
}, {
|
|
240
|
+
readonly name: "Week 11";
|
|
241
|
+
readonly y: 80;
|
|
242
|
+
}, {
|
|
243
|
+
readonly name: "Week 12";
|
|
244
|
+
readonly y: 100;
|
|
245
|
+
}];
|
|
246
|
+
}, {
|
|
247
|
+
readonly name: "April Weekly Sales Data";
|
|
248
|
+
readonly id: "apr";
|
|
249
|
+
readonly data: readonly [{
|
|
250
|
+
readonly name: "Week 13";
|
|
251
|
+
readonly y: 80;
|
|
252
|
+
}, {
|
|
253
|
+
readonly name: "Week 14";
|
|
254
|
+
readonly y: 100;
|
|
255
|
+
}, {
|
|
256
|
+
readonly name: "Week 15";
|
|
257
|
+
readonly y: 90;
|
|
258
|
+
}, {
|
|
259
|
+
readonly name: "Week 16";
|
|
260
|
+
readonly y: 110;
|
|
261
|
+
}];
|
|
262
|
+
}, {
|
|
263
|
+
readonly name: "May Weekly Sales Data";
|
|
264
|
+
readonly id: "may";
|
|
265
|
+
readonly data: readonly [{
|
|
266
|
+
readonly name: "Week 1";
|
|
267
|
+
readonly y: 90;
|
|
268
|
+
}, {
|
|
269
|
+
readonly name: "Week 2";
|
|
270
|
+
readonly y: 110;
|
|
271
|
+
}, {
|
|
272
|
+
readonly name: "Week 3";
|
|
273
|
+
readonly y: 100;
|
|
274
|
+
}, {
|
|
275
|
+
readonly name: "Week 4";
|
|
276
|
+
readonly y: 120;
|
|
277
|
+
}];
|
|
278
|
+
}, {
|
|
279
|
+
readonly name: "June Weekly Sales Data";
|
|
280
|
+
readonly id: "jun";
|
|
281
|
+
readonly data: readonly [{
|
|
282
|
+
readonly name: "Week 1";
|
|
283
|
+
readonly y: 100;
|
|
284
|
+
}, {
|
|
285
|
+
readonly name: "Week 2";
|
|
286
|
+
readonly y: 120;
|
|
287
|
+
}, {
|
|
288
|
+
readonly name: "Week 3";
|
|
289
|
+
readonly y: 110;
|
|
290
|
+
}, {
|
|
291
|
+
readonly name: "Week 4";
|
|
292
|
+
readonly y: 130;
|
|
293
|
+
}];
|
|
294
|
+
}];
|
|
295
|
+
};
|
|
296
|
+
yAxis: {
|
|
297
|
+
readonly title: {
|
|
298
|
+
readonly text: "Sales";
|
|
299
|
+
};
|
|
300
|
+
};
|
|
301
|
+
plotOptions: {
|
|
302
|
+
readonly series: {
|
|
303
|
+
readonly cursor: "pointer";
|
|
304
|
+
};
|
|
305
|
+
};
|
|
306
|
+
};
|
|
307
|
+
};
|
|
308
|
+
//# sourceMappingURL=FunnelChart.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FunnelChart.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Charts/FunnelChart/FunnelChart.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAC,SAAS,EAAC,MAAM,oCAAoC,CAAC;AAG7D,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKjD,wBAiSE;AA4CF,eAAO,MAAM,YAAY;WAAU,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;CAelD,CAAC;AAUF,eAAO,MAAM,yBAAyB;WAAU,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;mBAwBhC,KAAK,CAAC,YAAY,CAC9C,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,CACvC;;CAXF,CAAC;AAyGF,eAAO,MAAM,yBAAyB;WAAU,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiB/D,CAAC"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { ChartOptions, DataOptionsType, Drilldown } from '../../../types/charts';
|
|
3
3
|
import type { ChartWrapperClassNames, ExportOptionType } from '../ChartWrapper';
|
|
4
|
-
export type ClassNames = Readonly<
|
|
4
|
+
export type ClassNames = Readonly<ChartWrapperClassNames & {
|
|
5
5
|
highChart?: string;
|
|
6
|
-
}
|
|
6
|
+
}>;
|
|
7
7
|
export type LineSeriesItem = {
|
|
8
8
|
name: string;
|
|
9
9
|
data: DataOptionsType[];
|
|
10
10
|
};
|
|
11
|
-
export type LineChartProps =
|
|
11
|
+
export type LineChartProps = ChartOptions & {
|
|
12
12
|
isLoading?: boolean;
|
|
13
13
|
classNames?: ClassNames;
|
|
14
14
|
cardTitle?: React.ReactNode;
|
|
@@ -18,6 +18,6 @@ export type LineChartProps = ((ChartOptions) & {
|
|
|
18
18
|
drilldown?: Drilldown;
|
|
19
19
|
hasEmptyData?: boolean;
|
|
20
20
|
emptyText?: React.ReactNode;
|
|
21
|
-
}
|
|
21
|
+
};
|
|
22
22
|
export declare const LineChart: ({ isLoading, classNames, cardTitle, customExportOptions, series, headerActions, drilldown, hasEmptyData, emptyText, ...userOptions }: LineChartProps) => React.JSX.Element;
|
|
23
23
|
//# sourceMappingURL=LineChart.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LineChart.d.ts","sourceRoot":"","sources":["../../../../src/components/Charts/LineChart/LineChart.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EACV,YAAY,EACZ,eAAe,EACf,SAAS,EACV,MAAM,uBAAuB,CAAC;AAO/B,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"LineChart.d.ts","sourceRoot":"","sources":["../../../../src/components/Charts/LineChart/LineChart.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EACV,YAAY,EACZ,eAAe,EACf,SAAS,EACV,MAAM,uBAAuB,CAAC;AAO/B,OAAO,KAAK,EAAC,sBAAsB,EAAE,gBAAgB,EAAC,MAAM,iBAAiB,CAAC;AAM9E,MAAM,MAAM,UAAU,GAAG,QAAQ,CAC/B,sBAAsB,GAAG;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CACF,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,eAAe,EAAE,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,YAAY,GAAG;IAC1C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC5B,mBAAmB,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC;IACrD,MAAM,EAAE,KAAK,CAAC,cAAc,CAAC,CAAC;IAC9B,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAChC,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC7B,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,sIAWvB,cAAc,sBAkDhB,CAAC"}
|
|
@@ -0,0 +1,311 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { EmptyData } from '../ColumnChart/ColumnChart.stories';
|
|
3
|
+
import type { LineChartProps } from './';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
tags: string[];
|
|
6
|
+
title: string;
|
|
7
|
+
component: ({ isLoading, classNames, cardTitle, customExportOptions, series, headerActions, drilldown, hasEmptyData, emptyText, ...userOptions }: LineChartProps) => React.JSX.Element;
|
|
8
|
+
argTypes: {
|
|
9
|
+
isLoading: {
|
|
10
|
+
description: string;
|
|
11
|
+
control: {
|
|
12
|
+
type: string;
|
|
13
|
+
};
|
|
14
|
+
table: {
|
|
15
|
+
type: {
|
|
16
|
+
summary: string;
|
|
17
|
+
};
|
|
18
|
+
defaultValue: {
|
|
19
|
+
summary: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
classNames: {
|
|
24
|
+
description: string;
|
|
25
|
+
control: {
|
|
26
|
+
type: string;
|
|
27
|
+
};
|
|
28
|
+
table: {
|
|
29
|
+
type: {
|
|
30
|
+
summary: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
cardTitle: {
|
|
35
|
+
description: string;
|
|
36
|
+
control: {
|
|
37
|
+
type: string;
|
|
38
|
+
};
|
|
39
|
+
type: {
|
|
40
|
+
summary: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
customExportOptions: {
|
|
44
|
+
description: string;
|
|
45
|
+
control: {
|
|
46
|
+
type: string;
|
|
47
|
+
};
|
|
48
|
+
table: {
|
|
49
|
+
type: {
|
|
50
|
+
summary: string;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
series: {
|
|
55
|
+
description: string;
|
|
56
|
+
table: {
|
|
57
|
+
type: {
|
|
58
|
+
summary: string;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
legend: {
|
|
63
|
+
description: string;
|
|
64
|
+
control: {
|
|
65
|
+
type: string;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
plotOptions: {
|
|
69
|
+
description: string;
|
|
70
|
+
};
|
|
71
|
+
xAxis: {
|
|
72
|
+
description: string;
|
|
73
|
+
};
|
|
74
|
+
yAxis: {
|
|
75
|
+
description: string;
|
|
76
|
+
};
|
|
77
|
+
headerActions: {
|
|
78
|
+
description: string;
|
|
79
|
+
table: {
|
|
80
|
+
type: {
|
|
81
|
+
summary: string;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
hasEmptyData: {
|
|
86
|
+
description: string;
|
|
87
|
+
control: {
|
|
88
|
+
type: string;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
emptyText: {
|
|
92
|
+
description: string;
|
|
93
|
+
table: {
|
|
94
|
+
type: {
|
|
95
|
+
summary: string;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
parameters: {
|
|
101
|
+
docs: {
|
|
102
|
+
subtitle: string;
|
|
103
|
+
description: {
|
|
104
|
+
component: string;
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
storySource: {
|
|
108
|
+
componentPath: string;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
export default _default;
|
|
113
|
+
export declare const _LineChart: {
|
|
114
|
+
(args: LineChartProps): React.JSX.Element;
|
|
115
|
+
args: {
|
|
116
|
+
classNames: {
|
|
117
|
+
wrapper: string;
|
|
118
|
+
};
|
|
119
|
+
cardTitle: string;
|
|
120
|
+
customExportOptions: {
|
|
121
|
+
key: string;
|
|
122
|
+
label: string;
|
|
123
|
+
format: string;
|
|
124
|
+
}[];
|
|
125
|
+
series: {
|
|
126
|
+
name: string;
|
|
127
|
+
data: {
|
|
128
|
+
name: string;
|
|
129
|
+
y: number;
|
|
130
|
+
}[];
|
|
131
|
+
}[];
|
|
132
|
+
yAxis: {
|
|
133
|
+
readonly title: {
|
|
134
|
+
readonly text: "Number of Employees";
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
legend: {
|
|
138
|
+
readonly enabled: true;
|
|
139
|
+
readonly shadow: false;
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
export declare const _LineChartWithDrilldown: {
|
|
144
|
+
(args: LineChartProps): React.JSX.Element;
|
|
145
|
+
args: {
|
|
146
|
+
classNames: {
|
|
147
|
+
wrapper: string;
|
|
148
|
+
};
|
|
149
|
+
cardTitle: string;
|
|
150
|
+
customExportOptions: {
|
|
151
|
+
key: string;
|
|
152
|
+
label: string;
|
|
153
|
+
format: string;
|
|
154
|
+
}[];
|
|
155
|
+
series: {
|
|
156
|
+
type: string;
|
|
157
|
+
name: string;
|
|
158
|
+
data: {
|
|
159
|
+
name: string;
|
|
160
|
+
y: number;
|
|
161
|
+
drilldown: string;
|
|
162
|
+
}[];
|
|
163
|
+
}[];
|
|
164
|
+
drilldown: {
|
|
165
|
+
readonly series: readonly [{
|
|
166
|
+
readonly name: "Jan Weekly Sales Data";
|
|
167
|
+
readonly id: "jan";
|
|
168
|
+
readonly data: readonly [{
|
|
169
|
+
readonly name: "Week 1";
|
|
170
|
+
readonly y: 50;
|
|
171
|
+
}, {
|
|
172
|
+
readonly name: "Week 2";
|
|
173
|
+
readonly y: 70;
|
|
174
|
+
}, {
|
|
175
|
+
readonly name: "Week 3";
|
|
176
|
+
readonly y: 60;
|
|
177
|
+
}, {
|
|
178
|
+
readonly name: "Week 4";
|
|
179
|
+
readonly y: 80;
|
|
180
|
+
}];
|
|
181
|
+
}, {
|
|
182
|
+
readonly name: "Feb Weekly Sales Data";
|
|
183
|
+
readonly id: "feb";
|
|
184
|
+
readonly data: readonly [{
|
|
185
|
+
readonly name: "Week 5";
|
|
186
|
+
readonly y: 60;
|
|
187
|
+
}, {
|
|
188
|
+
readonly name: "Week 6";
|
|
189
|
+
readonly y: 80;
|
|
190
|
+
}, {
|
|
191
|
+
readonly name: "Week 7";
|
|
192
|
+
readonly y: 70;
|
|
193
|
+
}, {
|
|
194
|
+
readonly name: "Week 8";
|
|
195
|
+
readonly y: 90;
|
|
196
|
+
}];
|
|
197
|
+
}, {
|
|
198
|
+
readonly name: "March Weekly Sales Data";
|
|
199
|
+
readonly id: "mar";
|
|
200
|
+
readonly data: readonly [{
|
|
201
|
+
readonly name: "Week 9";
|
|
202
|
+
readonly y: 70;
|
|
203
|
+
}, {
|
|
204
|
+
readonly name: "Week 10";
|
|
205
|
+
readonly y: 90;
|
|
206
|
+
}, {
|
|
207
|
+
readonly name: "Week 11";
|
|
208
|
+
readonly y: 80;
|
|
209
|
+
}, {
|
|
210
|
+
readonly name: "Week 12";
|
|
211
|
+
readonly y: 100;
|
|
212
|
+
}];
|
|
213
|
+
}, {
|
|
214
|
+
readonly name: "April Weekly Sales Data";
|
|
215
|
+
readonly id: "apr";
|
|
216
|
+
readonly data: readonly [{
|
|
217
|
+
readonly name: "Week 13";
|
|
218
|
+
readonly y: 80;
|
|
219
|
+
}, {
|
|
220
|
+
readonly name: "Week 14";
|
|
221
|
+
readonly y: 100;
|
|
222
|
+
}, {
|
|
223
|
+
readonly name: "Week 15";
|
|
224
|
+
readonly y: 90;
|
|
225
|
+
}, {
|
|
226
|
+
readonly name: "Week 16";
|
|
227
|
+
readonly y: 110;
|
|
228
|
+
}];
|
|
229
|
+
}, {
|
|
230
|
+
readonly name: "May Weekly Sales Data";
|
|
231
|
+
readonly id: "may";
|
|
232
|
+
readonly data: readonly [{
|
|
233
|
+
readonly name: "Week 1";
|
|
234
|
+
readonly y: 90;
|
|
235
|
+
}, {
|
|
236
|
+
readonly name: "Week 2";
|
|
237
|
+
readonly y: 110;
|
|
238
|
+
}, {
|
|
239
|
+
readonly name: "Week 3";
|
|
240
|
+
readonly y: 100;
|
|
241
|
+
}, {
|
|
242
|
+
readonly name: "Week 4";
|
|
243
|
+
readonly y: 120;
|
|
244
|
+
}];
|
|
245
|
+
}, {
|
|
246
|
+
readonly name: "June Weekly Sales Data";
|
|
247
|
+
readonly id: "jun";
|
|
248
|
+
readonly data: readonly [{
|
|
249
|
+
readonly name: "Week 1";
|
|
250
|
+
readonly y: 100;
|
|
251
|
+
}, {
|
|
252
|
+
readonly name: "Week 2";
|
|
253
|
+
readonly y: 120;
|
|
254
|
+
}, {
|
|
255
|
+
readonly name: "Week 3";
|
|
256
|
+
readonly y: 110;
|
|
257
|
+
}, {
|
|
258
|
+
readonly name: "Week 4";
|
|
259
|
+
readonly y: 130;
|
|
260
|
+
}];
|
|
261
|
+
}];
|
|
262
|
+
};
|
|
263
|
+
yAxis: {
|
|
264
|
+
readonly title: {
|
|
265
|
+
readonly text: "Sales";
|
|
266
|
+
};
|
|
267
|
+
};
|
|
268
|
+
legend: {
|
|
269
|
+
readonly enabled: true;
|
|
270
|
+
readonly shadow: false;
|
|
271
|
+
};
|
|
272
|
+
plotOptions: {
|
|
273
|
+
readonly series: {
|
|
274
|
+
readonly cursor: "pointer";
|
|
275
|
+
};
|
|
276
|
+
};
|
|
277
|
+
};
|
|
278
|
+
};
|
|
279
|
+
export declare const _EmptyLineChart: {
|
|
280
|
+
(args: LineChartProps): React.JSX.Element;
|
|
281
|
+
args: {
|
|
282
|
+
classNames: {
|
|
283
|
+
wrapper: string;
|
|
284
|
+
};
|
|
285
|
+
cardTitle: string;
|
|
286
|
+
customExportOptions: {
|
|
287
|
+
key: string;
|
|
288
|
+
label: string;
|
|
289
|
+
format: string;
|
|
290
|
+
}[];
|
|
291
|
+
series: {
|
|
292
|
+
name: string;
|
|
293
|
+
data: {
|
|
294
|
+
name: string;
|
|
295
|
+
y: number;
|
|
296
|
+
}[];
|
|
297
|
+
}[];
|
|
298
|
+
yAxis: {
|
|
299
|
+
readonly title: {
|
|
300
|
+
readonly text: "Number of Employees";
|
|
301
|
+
};
|
|
302
|
+
};
|
|
303
|
+
legend: {
|
|
304
|
+
readonly enabled: true;
|
|
305
|
+
readonly shadow: false;
|
|
306
|
+
};
|
|
307
|
+
hasEmptyData: boolean;
|
|
308
|
+
emptyText: React.ReactElement<React.ComponentProps<typeof EmptyData>>;
|
|
309
|
+
};
|
|
310
|
+
};
|
|
311
|
+
//# sourceMappingURL=LineChart.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LineChart.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Charts/LineChart/LineChart.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAC,SAAS,EAAC,MAAM,oCAAoC,CAAC;AAE7D,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,IAAI,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMvC,wBA2RE;AA0HF,eAAO,MAAM,UAAU;WAAU,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAe9C,CAAC;AA2GF,eAAO,MAAM,uBAAuB;WAAU,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiB3D,CAAC;AAaF,eAAO,MAAM,eAAe;WAAU,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAyBpB,KAAK,CAAC,YAAY,CAC9C,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,CACvC;;CAZF,CAAC"}
|