@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,399 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { MenuOption, MenuProps } from '../Menu';
|
|
3
|
+
import type { TypeaheadProps } from './Typeahead';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
tags: string[];
|
|
6
|
+
title: string;
|
|
7
|
+
component: import("flow-to-typescript-codemod").Flow.AbstractComponent<TypeaheadProps, HTMLInputElement>;
|
|
8
|
+
argTypes: {
|
|
9
|
+
size: {
|
|
10
|
+
description: string;
|
|
11
|
+
options: string[];
|
|
12
|
+
control: {
|
|
13
|
+
type: string;
|
|
14
|
+
};
|
|
15
|
+
table: {
|
|
16
|
+
type: {
|
|
17
|
+
summary: string;
|
|
18
|
+
};
|
|
19
|
+
defaultValue: {
|
|
20
|
+
summary: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
menuSize: {
|
|
25
|
+
description: string;
|
|
26
|
+
options: string[];
|
|
27
|
+
control: {
|
|
28
|
+
type: string;
|
|
29
|
+
};
|
|
30
|
+
table: {
|
|
31
|
+
type: {
|
|
32
|
+
summary: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
elevation: {
|
|
37
|
+
description: string;
|
|
38
|
+
control: {
|
|
39
|
+
type: string;
|
|
40
|
+
};
|
|
41
|
+
options: unknown[];
|
|
42
|
+
table: {
|
|
43
|
+
type: {
|
|
44
|
+
summary: string;
|
|
45
|
+
};
|
|
46
|
+
defaultValue: {
|
|
47
|
+
summary: string;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
name: {
|
|
52
|
+
description: string;
|
|
53
|
+
control: {
|
|
54
|
+
type: string;
|
|
55
|
+
};
|
|
56
|
+
table: {
|
|
57
|
+
type: {
|
|
58
|
+
summary: string;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
options: {
|
|
63
|
+
description: string;
|
|
64
|
+
control: {
|
|
65
|
+
type: string;
|
|
66
|
+
};
|
|
67
|
+
table: {
|
|
68
|
+
type: {
|
|
69
|
+
summary: string;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
disabled: {
|
|
74
|
+
description: string;
|
|
75
|
+
control: {
|
|
76
|
+
type: string;
|
|
77
|
+
};
|
|
78
|
+
table: {
|
|
79
|
+
type: {
|
|
80
|
+
summary: string;
|
|
81
|
+
};
|
|
82
|
+
defaultValue: {
|
|
83
|
+
summary: string;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
isLoading: {
|
|
88
|
+
description: string;
|
|
89
|
+
control: {
|
|
90
|
+
type: string;
|
|
91
|
+
};
|
|
92
|
+
table: {
|
|
93
|
+
type: {
|
|
94
|
+
summary: string;
|
|
95
|
+
};
|
|
96
|
+
defaultValue: {
|
|
97
|
+
summary: string;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
menuOpenOffset: {
|
|
102
|
+
description: string;
|
|
103
|
+
control: {
|
|
104
|
+
type: string;
|
|
105
|
+
};
|
|
106
|
+
table: {
|
|
107
|
+
type: {
|
|
108
|
+
summary: string;
|
|
109
|
+
};
|
|
110
|
+
defaultValue: {
|
|
111
|
+
summary: number;
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
};
|
|
115
|
+
placeholder: {
|
|
116
|
+
description: string;
|
|
117
|
+
control: {
|
|
118
|
+
type: string;
|
|
119
|
+
};
|
|
120
|
+
table: {
|
|
121
|
+
type: {
|
|
122
|
+
summary: string;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
locked: {
|
|
127
|
+
description: string;
|
|
128
|
+
control: {
|
|
129
|
+
type: string;
|
|
130
|
+
};
|
|
131
|
+
table: {
|
|
132
|
+
type: {
|
|
133
|
+
summary: string;
|
|
134
|
+
};
|
|
135
|
+
defaultValue: {
|
|
136
|
+
summary: string;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
error: {
|
|
141
|
+
description: string;
|
|
142
|
+
control: {
|
|
143
|
+
type: string;
|
|
144
|
+
};
|
|
145
|
+
table: {
|
|
146
|
+
type: {
|
|
147
|
+
summary: string;
|
|
148
|
+
};
|
|
149
|
+
defaultValue: {
|
|
150
|
+
summary: string;
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
errorText: {
|
|
155
|
+
description: string;
|
|
156
|
+
control: {
|
|
157
|
+
type: string;
|
|
158
|
+
};
|
|
159
|
+
table: {
|
|
160
|
+
type: {
|
|
161
|
+
summary: string;
|
|
162
|
+
};
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
label: {
|
|
166
|
+
description: string;
|
|
167
|
+
control: {
|
|
168
|
+
type: string;
|
|
169
|
+
};
|
|
170
|
+
table: {
|
|
171
|
+
type: {
|
|
172
|
+
summary: string;
|
|
173
|
+
};
|
|
174
|
+
};
|
|
175
|
+
};
|
|
176
|
+
helperText: {
|
|
177
|
+
description: string;
|
|
178
|
+
control: {
|
|
179
|
+
type: string;
|
|
180
|
+
};
|
|
181
|
+
table: {
|
|
182
|
+
type: {
|
|
183
|
+
summary: string;
|
|
184
|
+
};
|
|
185
|
+
};
|
|
186
|
+
};
|
|
187
|
+
classNames: {
|
|
188
|
+
description: string;
|
|
189
|
+
control: {
|
|
190
|
+
type: string;
|
|
191
|
+
};
|
|
192
|
+
table: {
|
|
193
|
+
type: {
|
|
194
|
+
summary: string;
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
};
|
|
198
|
+
onSelect: {
|
|
199
|
+
description: string;
|
|
200
|
+
action: string;
|
|
201
|
+
table: {
|
|
202
|
+
type: {
|
|
203
|
+
summary: string;
|
|
204
|
+
};
|
|
205
|
+
};
|
|
206
|
+
};
|
|
207
|
+
iconLeftName: {
|
|
208
|
+
description: string;
|
|
209
|
+
control: {
|
|
210
|
+
type: string;
|
|
211
|
+
};
|
|
212
|
+
table: {
|
|
213
|
+
type: {
|
|
214
|
+
summary: string;
|
|
215
|
+
};
|
|
216
|
+
defaultValue: {
|
|
217
|
+
summary: string;
|
|
218
|
+
};
|
|
219
|
+
};
|
|
220
|
+
};
|
|
221
|
+
onClear: {
|
|
222
|
+
description: string;
|
|
223
|
+
action: string;
|
|
224
|
+
table: {
|
|
225
|
+
type: {
|
|
226
|
+
summary: string;
|
|
227
|
+
};
|
|
228
|
+
};
|
|
229
|
+
};
|
|
230
|
+
onSearch: {
|
|
231
|
+
description: string;
|
|
232
|
+
action: string;
|
|
233
|
+
table: {
|
|
234
|
+
type: {
|
|
235
|
+
summary: string;
|
|
236
|
+
};
|
|
237
|
+
};
|
|
238
|
+
};
|
|
239
|
+
onFocus: {
|
|
240
|
+
description: string;
|
|
241
|
+
action: string;
|
|
242
|
+
table: {
|
|
243
|
+
type: {
|
|
244
|
+
summary: string;
|
|
245
|
+
};
|
|
246
|
+
};
|
|
247
|
+
};
|
|
248
|
+
onBlur: {
|
|
249
|
+
description: string;
|
|
250
|
+
action: string;
|
|
251
|
+
table: {
|
|
252
|
+
type: {
|
|
253
|
+
summary: string;
|
|
254
|
+
};
|
|
255
|
+
};
|
|
256
|
+
};
|
|
257
|
+
typeaheadInputText: {
|
|
258
|
+
description: string;
|
|
259
|
+
table: {
|
|
260
|
+
type: {
|
|
261
|
+
summary: string;
|
|
262
|
+
};
|
|
263
|
+
};
|
|
264
|
+
};
|
|
265
|
+
menu: {
|
|
266
|
+
description: string;
|
|
267
|
+
control: {
|
|
268
|
+
type: string;
|
|
269
|
+
};
|
|
270
|
+
table: {
|
|
271
|
+
type: {
|
|
272
|
+
summary: string;
|
|
273
|
+
};
|
|
274
|
+
};
|
|
275
|
+
};
|
|
276
|
+
onMenuOpen: {
|
|
277
|
+
description: string;
|
|
278
|
+
action: string;
|
|
279
|
+
table: {
|
|
280
|
+
type: {
|
|
281
|
+
summary: string;
|
|
282
|
+
};
|
|
283
|
+
};
|
|
284
|
+
};
|
|
285
|
+
onMenuClose: {
|
|
286
|
+
description: string;
|
|
287
|
+
action: string;
|
|
288
|
+
table: {
|
|
289
|
+
type: {
|
|
290
|
+
summary: string;
|
|
291
|
+
};
|
|
292
|
+
};
|
|
293
|
+
};
|
|
294
|
+
clickAwayRef: {
|
|
295
|
+
type: {
|
|
296
|
+
optional: boolean;
|
|
297
|
+
};
|
|
298
|
+
description: string;
|
|
299
|
+
table: {
|
|
300
|
+
type: {
|
|
301
|
+
summary: string;
|
|
302
|
+
};
|
|
303
|
+
};
|
|
304
|
+
};
|
|
305
|
+
allowInternalFilter: {
|
|
306
|
+
description: string;
|
|
307
|
+
control: {
|
|
308
|
+
type: string;
|
|
309
|
+
};
|
|
310
|
+
table: {
|
|
311
|
+
type: {
|
|
312
|
+
summary: string;
|
|
313
|
+
};
|
|
314
|
+
defaultValue: {
|
|
315
|
+
summary: boolean;
|
|
316
|
+
};
|
|
317
|
+
};
|
|
318
|
+
};
|
|
319
|
+
};
|
|
320
|
+
parameters: {
|
|
321
|
+
docs: {
|
|
322
|
+
subtitle: string;
|
|
323
|
+
description: {
|
|
324
|
+
component: string;
|
|
325
|
+
};
|
|
326
|
+
};
|
|
327
|
+
storySource: {
|
|
328
|
+
componentPath: string;
|
|
329
|
+
};
|
|
330
|
+
};
|
|
331
|
+
};
|
|
332
|
+
export default _default;
|
|
333
|
+
export declare const _Typeahead: {
|
|
334
|
+
(args: TypeaheadProps): React.JSX.Element;
|
|
335
|
+
args: {
|
|
336
|
+
label: string;
|
|
337
|
+
menu: MenuProps;
|
|
338
|
+
};
|
|
339
|
+
};
|
|
340
|
+
export declare const _TypeaheadWithTooltipOptions: {
|
|
341
|
+
(args: TypeaheadProps): React.JSX.Element;
|
|
342
|
+
args: {
|
|
343
|
+
label: string;
|
|
344
|
+
menu: {
|
|
345
|
+
showLabelTooltip: {
|
|
346
|
+
maxLines: number;
|
|
347
|
+
};
|
|
348
|
+
onSelect?: (option: MenuOption, arg2?: React.SyntheticEvent<HTMLElement> | null | undefined) => unknown;
|
|
349
|
+
selectedOption?: MenuOption | null | undefined;
|
|
350
|
+
optionsVariant?: import("../Menu").MenuOptionsVariant;
|
|
351
|
+
selectedKeys?: Array<string>;
|
|
352
|
+
classNames?: Readonly<{
|
|
353
|
+
wrapper?: string;
|
|
354
|
+
option?: string;
|
|
355
|
+
groupTitle?: string;
|
|
356
|
+
optionTextContainer?: string;
|
|
357
|
+
optionTextLabel?: string;
|
|
358
|
+
header?: string;
|
|
359
|
+
footer?: string;
|
|
360
|
+
}>;
|
|
361
|
+
size?: import("../Menu").MenuSizeTypes;
|
|
362
|
+
width?: string;
|
|
363
|
+
menuDisabled?: boolean;
|
|
364
|
+
isFluid?: boolean;
|
|
365
|
+
onTabOut?: () => unknown;
|
|
366
|
+
allowSearch?: boolean;
|
|
367
|
+
resolveLabel?: (option: MenuOption) => string | React.ReactNode;
|
|
368
|
+
resolveSecondaryLabel?: (option: MenuOption) => string | React.ReactNode;
|
|
369
|
+
virtualization?: import("../Menu").Virtualization;
|
|
370
|
+
header?: React.ReactNode;
|
|
371
|
+
footer?: React.ReactNode;
|
|
372
|
+
showResultText?: boolean;
|
|
373
|
+
staticLabels?: {
|
|
374
|
+
RESULT?: string;
|
|
375
|
+
RESULTS?: string;
|
|
376
|
+
SEARCH_PLACEHOLDER?: string;
|
|
377
|
+
};
|
|
378
|
+
allowWrap?: boolean;
|
|
379
|
+
options?: Array<MenuOption>;
|
|
380
|
+
composeOptions?: Array<Array<MenuOption>>;
|
|
381
|
+
groupTitleOptions?: Array<import("../Menu").MenuGroupTitleOption>;
|
|
382
|
+
};
|
|
383
|
+
};
|
|
384
|
+
};
|
|
385
|
+
export declare const _WithHeaderAndFooter: {
|
|
386
|
+
(args: TypeaheadProps): React.JSX.Element;
|
|
387
|
+
args: {
|
|
388
|
+
label: string;
|
|
389
|
+
};
|
|
390
|
+
};
|
|
391
|
+
export declare const WithHeaderAndFooter: (args: TypeaheadProps) => React.JSX.Element;
|
|
392
|
+
export declare const _WithPaginationAndVirtualization: {
|
|
393
|
+
(args: TypeaheadProps): React.JSX.Element;
|
|
394
|
+
args: {
|
|
395
|
+
label: string;
|
|
396
|
+
menuOpenOffset: number;
|
|
397
|
+
};
|
|
398
|
+
};
|
|
399
|
+
//# sourceMappingURL=Typeahead.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Typeahead.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Typeahead/Typeahead.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAC,UAAU,EAAE,SAAS,EAAC,MAAM,SAAS,CAAC;AAInD,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2ChD,wBAsVE;AAMF,eAAO,MAAM,UAAU;WAAU,cAAc;;;;;CAgB9C,CAAC;AAOF,eAAO,MAAM,4BAA4B;WAAU,cAAc;;;;;;;gDAnYxC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;sBA8BQ,CAAC;uBAE/B,CAAC;kCAES,CAAC;;;;;;;;CAiXd,CAAC;AAOF,eAAO,MAAM,oBAAoB;WAAU,cAAc;;;;CAExD,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,MAAM,cAAc,sBA+BvD,CAAC;AA8BF,eAAO,MAAM,gCAAgC;WAAU,cAAc;;;;;CA0CpE,CAAC"}
|
|
@@ -10,7 +10,7 @@ type ClassNames = Readonly<{
|
|
|
10
10
|
label?: string;
|
|
11
11
|
helperText?: string;
|
|
12
12
|
}>;
|
|
13
|
-
type WeekdayPickerSize = typeof WEEKDAY_PICKER_SIZE[keyof typeof WEEKDAY_PICKER_SIZE];
|
|
13
|
+
type WeekdayPickerSize = (typeof WEEKDAY_PICKER_SIZE)[keyof typeof WEEKDAY_PICKER_SIZE];
|
|
14
14
|
type Weekday = {
|
|
15
15
|
key: string;
|
|
16
16
|
label: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WeekdayPicker.d.ts","sourceRoot":"","sources":["../../../src/components/WeekdayPicker/WeekdayPicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAC,IAAI,EAAC,MAAM,4BAA4B,CAAC;AAoBrD,eAAO,MAAM,mBAAmB;;;EAG9B,CAAC;AAEH,KAAK,UAAU,GAAG,QAAQ,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC,CAAC;AACH,KAAK,iBAAiB,
|
|
1
|
+
{"version":3,"file":"WeekdayPicker.d.ts","sourceRoot":"","sources":["../../../src/components/WeekdayPicker/WeekdayPicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAC,IAAI,EAAC,MAAM,4BAA4B,CAAC;AAoBrD,eAAO,MAAM,mBAAmB;;;EAG9B,CAAC;AAEH,KAAK,UAAU,GAAG,QAAQ,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC,CAAC;AACH,KAAK,iBAAiB,GACpB,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,OAAO,mBAAmB,CAAC,CAAC;AAEjE,KAAK,OAAO,GAAG;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,IAAI,CAAC,EAAE,iBAAiB,CAAC;IACzB,gBAAgB,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;IAClC,cAAc,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/B,gBAAgB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACjC,eAAe,CAAC,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;IACjC,QAAQ,CAAC,EAAE,CACT,YAAY,EAAE,KAAK,CAAC,OAAO,CAAC,EAC5B,IAAI,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,GAAG,SAAS,KACxD,OAAO,CAAC;IACb,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B,CAAC;AAwDF,eAAO,MAAM,aAAa,EAAE,IAAI,CAAC,iBAAiB,CAChD,kBAAkB,EAClB,cAAc,CAmHf,CAAC"}
|
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { WeekdayPickerProps } from './';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: import("flow-to-typescript-codemod").Flow.AbstractComponent<WeekdayPickerProps, HTMLDivElement>;
|
|
6
|
+
tags: string[];
|
|
7
|
+
argTypes: {
|
|
8
|
+
size: {
|
|
9
|
+
description: string;
|
|
10
|
+
control: {
|
|
11
|
+
type: string;
|
|
12
|
+
};
|
|
13
|
+
options: string[];
|
|
14
|
+
table: {
|
|
15
|
+
type: {
|
|
16
|
+
summary: string;
|
|
17
|
+
};
|
|
18
|
+
defaultValue: {
|
|
19
|
+
summary: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
selectedWeekDays: {
|
|
24
|
+
description: string;
|
|
25
|
+
control: {
|
|
26
|
+
type: string;
|
|
27
|
+
};
|
|
28
|
+
table: {
|
|
29
|
+
type: {
|
|
30
|
+
summary: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
hiddenWeekDays: {
|
|
35
|
+
description: string;
|
|
36
|
+
control: {
|
|
37
|
+
type: string;
|
|
38
|
+
};
|
|
39
|
+
table: {
|
|
40
|
+
type: {
|
|
41
|
+
summary: string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
disabledWeekDays: {
|
|
46
|
+
description: string;
|
|
47
|
+
control: {
|
|
48
|
+
type: string;
|
|
49
|
+
};
|
|
50
|
+
table: {
|
|
51
|
+
type: {
|
|
52
|
+
summary: string;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
customDayLabels: {
|
|
57
|
+
description: string;
|
|
58
|
+
control: {
|
|
59
|
+
type: string;
|
|
60
|
+
};
|
|
61
|
+
table: {
|
|
62
|
+
type: {
|
|
63
|
+
summary: string;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
showWeekends: {
|
|
68
|
+
description: string;
|
|
69
|
+
control: {
|
|
70
|
+
type: string;
|
|
71
|
+
};
|
|
72
|
+
table: {
|
|
73
|
+
type: {
|
|
74
|
+
summary: string;
|
|
75
|
+
};
|
|
76
|
+
defaultValue: {
|
|
77
|
+
summary: boolean;
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
readOnly: {
|
|
82
|
+
description: string;
|
|
83
|
+
control: {
|
|
84
|
+
type: string;
|
|
85
|
+
};
|
|
86
|
+
table: {
|
|
87
|
+
type: {
|
|
88
|
+
summary: string;
|
|
89
|
+
};
|
|
90
|
+
defaultValue: {
|
|
91
|
+
summary: boolean;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
disableMultiSelect: {
|
|
96
|
+
description: string;
|
|
97
|
+
control: {
|
|
98
|
+
type: string;
|
|
99
|
+
};
|
|
100
|
+
table: {
|
|
101
|
+
type: {
|
|
102
|
+
summary: string;
|
|
103
|
+
};
|
|
104
|
+
defaultValue: {
|
|
105
|
+
summary: boolean;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
onChange: {
|
|
110
|
+
description: string;
|
|
111
|
+
action: string;
|
|
112
|
+
table: {
|
|
113
|
+
type: {
|
|
114
|
+
summary: string;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
label: {
|
|
119
|
+
description: string;
|
|
120
|
+
control: {
|
|
121
|
+
type: string;
|
|
122
|
+
};
|
|
123
|
+
table: {
|
|
124
|
+
type: {
|
|
125
|
+
summary: string;
|
|
126
|
+
};
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
helperText: {
|
|
130
|
+
description: string;
|
|
131
|
+
control: {
|
|
132
|
+
type: string;
|
|
133
|
+
};
|
|
134
|
+
table: {
|
|
135
|
+
type: {
|
|
136
|
+
summary: string;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
};
|
|
141
|
+
parameters: {
|
|
142
|
+
docs: {
|
|
143
|
+
subtitle: string;
|
|
144
|
+
description: {
|
|
145
|
+
component: string;
|
|
146
|
+
};
|
|
147
|
+
};
|
|
148
|
+
storySource: {
|
|
149
|
+
componentPath: string;
|
|
150
|
+
};
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
export default _default;
|
|
154
|
+
export declare const _WithWeekendDisabled: {
|
|
155
|
+
(args: WeekdayPickerProps): React.JSX.Element;
|
|
156
|
+
args: {
|
|
157
|
+
size: string;
|
|
158
|
+
selectedWeekDays: {
|
|
159
|
+
key: string;
|
|
160
|
+
label: string;
|
|
161
|
+
}[];
|
|
162
|
+
disabledWeekDays: string[];
|
|
163
|
+
showWeekends: boolean;
|
|
164
|
+
label: string;
|
|
165
|
+
helperText: string;
|
|
166
|
+
};
|
|
167
|
+
};
|
|
168
|
+
export declare const _WithCustomLabels: {
|
|
169
|
+
(args: WeekdayPickerProps): React.JSX.Element;
|
|
170
|
+
args: {
|
|
171
|
+
size: string;
|
|
172
|
+
customDayLabels: {
|
|
173
|
+
key: string;
|
|
174
|
+
label: string;
|
|
175
|
+
}[];
|
|
176
|
+
showWeekends: boolean;
|
|
177
|
+
};
|
|
178
|
+
};
|
|
179
|
+
export declare const _WithoutWeekends: {
|
|
180
|
+
(args: WeekdayPickerProps): React.JSX.Element;
|
|
181
|
+
args: {
|
|
182
|
+
size: string;
|
|
183
|
+
showWeekends: boolean;
|
|
184
|
+
};
|
|
185
|
+
};
|
|
186
|
+
export declare const _ReadOnly: {
|
|
187
|
+
(args: WeekdayPickerProps): React.JSX.Element;
|
|
188
|
+
args: {
|
|
189
|
+
readOnly: boolean;
|
|
190
|
+
selectedWeekDays: {
|
|
191
|
+
key: string;
|
|
192
|
+
label: string;
|
|
193
|
+
}[];
|
|
194
|
+
showWeekends: boolean;
|
|
195
|
+
};
|
|
196
|
+
};
|
|
197
|
+
export declare const _MultipleSelection: {
|
|
198
|
+
(args: WeekdayPickerProps): React.JSX.Element;
|
|
199
|
+
args: {
|
|
200
|
+
size: string;
|
|
201
|
+
showWeekends: boolean;
|
|
202
|
+
};
|
|
203
|
+
};
|
|
204
|
+
export declare const _DisabledWeekDays: {
|
|
205
|
+
(args: WeekdayPickerProps): React.JSX.Element;
|
|
206
|
+
args: {
|
|
207
|
+
size: string;
|
|
208
|
+
showWeekends: boolean;
|
|
209
|
+
disabledWeekDays: string[];
|
|
210
|
+
};
|
|
211
|
+
};
|
|
212
|
+
export declare const _SingleSelection: {
|
|
213
|
+
(args: WeekdayPickerProps): React.JSX.Element;
|
|
214
|
+
args: {
|
|
215
|
+
size: string;
|
|
216
|
+
showWeekends: boolean;
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
export declare const _WithHiddenDays: {
|
|
220
|
+
(args: WeekdayPickerProps): React.JSX.Element;
|
|
221
|
+
args: {
|
|
222
|
+
size: string;
|
|
223
|
+
showWeekends: boolean;
|
|
224
|
+
hiddenWeekDays: string[];
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
export declare const _WithWeekdayNames: {
|
|
228
|
+
(args: WeekdayPickerProps): React.JSX.Element;
|
|
229
|
+
args: {
|
|
230
|
+
size: string;
|
|
231
|
+
customDayLabels: {
|
|
232
|
+
key: string;
|
|
233
|
+
label: string;
|
|
234
|
+
secondaryLabel: string;
|
|
235
|
+
}[];
|
|
236
|
+
};
|
|
237
|
+
};
|
|
238
|
+
//# sourceMappingURL=WeekdayPicker.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WeekdayPicker.stories.d.ts","sourceRoot":"","sources":["../../../src/components/WeekdayPicker/WeekdayPicker.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,IAAI,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAI3C,wBAqHE;AAEF,eAAO,MAAM,oBAAoB;WAAU,kBAAkB;;;;;;;;;;;;CAW5D,CAAC;AAWF,eAAO,MAAM,iBAAiB;WAAU,kBAAkB;;;;;;;;;CAEzD,CAAC;AAgBF,eAAO,MAAM,gBAAgB;WAAU,kBAAkB;;;;;CAExD,CAAC;AAOF,eAAO,MAAM,SAAS;WAAU,kBAAkB;;;;;;;;;CAEjD,CAAC;AAYF,eAAO,MAAM,kBAAkB;WAAU,kBAAkB;;;;;CAa1D,CAAC;AAOF,eAAO,MAAM,iBAAiB;WAAU,kBAAkB;;;;;;CAYzD,CAAC;AAQF,eAAO,MAAM,gBAAgB;WAAU,kBAAkB;;;;;CAYxD,CAAC;AAOF,eAAO,MAAM,eAAe;WAAU,kBAAkB;;;;;;CAEvD,CAAC;AAQF,eAAO,MAAM,iBAAiB;WAAU,kBAAkB;;;;;;;;;CAEzD,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare module 'flow-to-typescript-codemod' {
|
|
2
|
-
|
|
2
|
+
export declare namespace Flow {
|
|
3
3
|
// Abstract Component utility type
|
|
4
4
|
// https://flow.org/en/docs/react/types/#toc-react-abstractcomponent
|
|
5
5
|
type AbstractComponent<Config, Instance = any> = React.ComponentType<
|
|
@@ -22,27 +22,27 @@ declare module 'flow-to-typescript-codemod' {
|
|
|
22
22
|
type ComponentProps<T> = T extends
|
|
23
23
|
| React.ComponentType<infer P>
|
|
24
24
|
| React.Component<infer P>
|
|
25
|
-
// @ts-ignore - TS2344 - Type '(ComponentType<P> | Component<P, {}, any>) & T' does not satisfy the constraint 'JSXElementConstructor<any> | keyof IntrinsicElements'.
|
|
26
|
-
|
|
25
|
+
? // @ts-ignore - TS2344 - Type '(ComponentType<P> | Component<P, {}, any>) & T' does not satisfy the constraint 'JSXElementConstructor<any> | keyof IntrinsicElements'.
|
|
26
|
+
React.ComponentProps<T>
|
|
27
27
|
: HasComponentProps<T>;
|
|
28
28
|
|
|
29
29
|
type ObjMap<
|
|
30
30
|
O extends Record<string, any>,
|
|
31
|
-
F extends (...args: any[]) => any
|
|
32
|
-
> = {
|
|
31
|
+
F extends (...args: any[]) => any,
|
|
32
|
+
> = {[P in keyof O]: ReturnType<F>};
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
// Helper types
|
|
36
36
|
type SetComplement<A, B extends A> = A extends B ? never : A;
|
|
37
37
|
|
|
38
|
-
type DefaultProps<T> = T extends {
|
|
38
|
+
type DefaultProps<T> = T extends {defaultProps: infer D} ? D : {};
|
|
39
39
|
|
|
40
40
|
type OmitDefaultProps<T, D> = Omit<T, keyof D> &
|
|
41
41
|
Partial<Pick<T, Extract<keyof T, keyof D>>> &
|
|
42
42
|
Partial<Pick<D, Extract<keyof D, keyof T>>>;
|
|
43
43
|
|
|
44
44
|
type HasComponentProps<T, D extends unknown = DefaultProps<T>> = T extends (
|
|
45
|
-
prop: infer P
|
|
45
|
+
prop: infer P,
|
|
46
46
|
) => React.ReactElement
|
|
47
47
|
? OmitDefaultProps<P, D>
|
|
48
48
|
: never;
|