@spaced-out/ui-design-system 0.4.15 → 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/.cspell/custom-words.txt +5 -0
- 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/.storybook/main.js +6 -6
- package/.vscode/extensions.json +0 -1
- package/.vscode/settings.json +6 -1
- package/CHANGELOG.md +2 -0
- package/babel.config.js +1 -1
- package/config.js +3 -3
- package/cspell.json +3 -1
- package/eslint.config.mjs +54 -33
- package/gulpfile.js +9 -38
- 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 +22 -0
- package/lib/components/Accordion/Accordion.d.ts.map +1 -0
- package/lib/components/Accordion/Accordion.js +3 -1
- 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 +17 -0
- package/lib/components/Accordion/AccordionGroup.d.ts.map +1 -0
- package/lib/components/Accordion/AccordionGroup.js +8 -1
- package/lib/components/Accordion/AccordionGroup.stories.d.ts +90 -0
- package/lib/components/Accordion/AccordionGroup.stories.d.ts.map +1 -0
- package/lib/components/Accordion/index.d.ts +3 -0
- package/lib/components/Accordion/index.d.ts.map +1 -0
- package/lib/components/Avatar/Avatar.d.ts +60 -0
- package/lib/components/Avatar/Avatar.d.ts.map +1 -0
- package/lib/components/Avatar/Avatar.js +14 -6
- package/lib/components/Avatar/Avatar.stories.d.ts +149 -0
- package/lib/components/Avatar/Avatar.stories.d.ts.map +1 -0
- package/lib/components/Avatar/index.d.ts +2 -0
- package/lib/components/Avatar/index.d.ts.map +1 -0
- package/lib/components/AvatarGroup/AvatarGroup.d.ts +15 -0
- package/lib/components/AvatarGroup/AvatarGroup.d.ts.map +1 -0
- package/lib/components/AvatarGroup/AvatarGroup.js +5 -0
- package/lib/components/AvatarGroup/AvatarGroup.stories.d.ts +101 -0
- package/lib/components/AvatarGroup/AvatarGroup.stories.d.ts.map +1 -0
- package/lib/components/AvatarGroup/index.d.ts +2 -0
- package/lib/components/AvatarGroup/index.d.ts.map +1 -0
- package/lib/components/Badge/Badge.d.ts +40 -0
- package/lib/components/Badge/Badge.d.ts.map +1 -0
- package/lib/components/Badge/Badge.stories.d.ts +123 -0
- package/lib/components/Badge/Badge.stories.d.ts.map +1 -0
- package/lib/components/Badge/index.d.ts +2 -0
- package/lib/components/Badge/index.d.ts.map +1 -0
- package/lib/components/BadgedIcon/BadgedIcon.d.ts +18 -0
- package/lib/components/BadgedIcon/BadgedIcon.d.ts.map +1 -0
- package/lib/components/BadgedIcon/BadgedIcon.js +3 -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/BadgedIcon/index.d.ts +2 -0
- package/lib/components/BadgedIcon/index.d.ts.map +1 -0
- package/lib/components/Banner/Banner.d.ts +7 -0
- package/lib/components/Banner/Banner.d.ts.map +1 -0
- package/lib/components/Banner/Banner.stories.d.ts +187 -0
- package/lib/components/Banner/Banner.stories.d.ts.map +1 -0
- package/lib/components/Banner/index.d.ts +2 -0
- package/lib/components/Banner/index.d.ts.map +1 -0
- package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.d.ts +10 -0
- package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.d.ts.map +1 -0
- package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.js +3 -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/BreadcrumbLink/index.d.ts +2 -0
- package/lib/components/Breadcrumbs/BreadcrumbLink/index.d.ts.map +1 -0
- package/lib/components/Breadcrumbs/Breadcrumbs.d.ts +14 -0
- package/lib/components/Breadcrumbs/Breadcrumbs.d.ts.map +1 -0
- package/lib/components/Breadcrumbs/Breadcrumbs.js +6 -1
- package/lib/components/Breadcrumbs/Breadcrumbs.stories.d.ts +57 -0
- package/lib/components/Breadcrumbs/Breadcrumbs.stories.d.ts.map +1 -0
- package/lib/components/Breadcrumbs/index.d.ts +3 -0
- package/lib/components/Breadcrumbs/index.d.ts.map +1 -0
- package/lib/components/Button/Button.d.ts +64 -0
- package/lib/components/Button/Button.d.ts.map +1 -0
- package/lib/components/Button/Button.js +26 -8
- 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 +3 -0
- package/lib/components/Button/index.d.ts.map +1 -0
- package/lib/components/ButtonDropdown/ButtonDropdown.d.ts +40 -0
- package/lib/components/ButtonDropdown/ButtonDropdown.d.ts.map +1 -0
- package/lib/components/ButtonDropdown/ButtonDropdown.js +17 -7
- 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 +42 -0
- package/lib/components/ButtonDropdown/SimpleButtonDropdown.d.ts.map +1 -0
- package/lib/components/ButtonDropdown/SimpleButtonDropdown.js +9 -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/ButtonDropdown/index.d.ts +3 -0
- package/lib/components/ButtonDropdown/index.d.ts.map +1 -0
- package/lib/components/ButtonTabs/ButtonTab/ButtonTab.d.ts +25 -0
- package/lib/components/ButtonTabs/ButtonTab/ButtonTab.d.ts.map +1 -0
- 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/ButtonTab/index.d.ts +2 -0
- package/lib/components/ButtonTabs/ButtonTab/index.d.ts.map +1 -0
- package/lib/components/ButtonTabs/ButtonTabDropdown.d.ts +12 -0
- package/lib/components/ButtonTabs/ButtonTabDropdown.d.ts.map +1 -0
- package/lib/components/ButtonTabs/ButtonTabDropdown.js +12 -3
- package/lib/components/ButtonTabs/ButtonTabs.d.ts +24 -0
- package/lib/components/ButtonTabs/ButtonTabs.d.ts.map +1 -0
- package/lib/components/ButtonTabs/ButtonTabs.js +3 -0
- package/lib/components/ButtonTabs/ButtonTabs.stories.d.ts +201 -0
- package/lib/components/ButtonTabs/ButtonTabs.stories.d.ts.map +1 -0
- package/lib/components/ButtonTabs/index.d.ts +3 -0
- package/lib/components/ButtonTabs/index.d.ts.map +1 -0
- package/lib/components/Card/Card.d.ts +37 -0
- package/lib/components/Card/Card.d.ts.map +1 -0
- package/lib/components/Card/Card.js +6 -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/Card/index.d.ts +2 -0
- package/lib/components/Card/index.d.ts.map +1 -0
- package/lib/components/Charts/ChartTooltip/index.d.ts +3 -0
- package/lib/components/Charts/ChartTooltip/index.d.ts.map +1 -0
- package/lib/components/Charts/ChartWrapper/ChartWrapper.d.ts +50 -0
- package/lib/components/Charts/ChartWrapper/ChartWrapper.d.ts.map +1 -0
- package/lib/components/Charts/ChartWrapper/ChartWrapper.js +5 -7
- package/lib/components/Charts/ChartWrapper/index.d.ts +2 -0
- package/lib/components/Charts/ChartWrapper/index.d.ts.map +1 -0
- package/lib/components/Charts/ColumnChart/ColumnChart.d.ts +23 -0
- package/lib/components/Charts/ColumnChart/ColumnChart.d.ts.map +1 -0
- package/lib/components/Charts/ColumnChart/ColumnChart.js +8 -6
- 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/ColumnChart/index.d.ts +2 -0
- package/lib/components/Charts/ColumnChart/index.d.ts.map +1 -0
- package/lib/components/Charts/DonutChart/DonutChart.d.ts +28 -0
- package/lib/components/Charts/DonutChart/DonutChart.d.ts.map +1 -0
- package/lib/components/Charts/DonutChart/DonutChart.js +7 -6
- 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/DonutChart/index.d.ts +2 -0
- package/lib/components/Charts/DonutChart/index.d.ts.map +1 -0
- package/lib/components/Charts/FunnelChart/FunnelChart.d.ts +25 -0
- package/lib/components/Charts/FunnelChart/FunnelChart.d.ts.map +1 -0
- package/lib/components/Charts/FunnelChart/FunnelChart.js +6 -7
- 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/FunnelChart/index.d.ts +2 -0
- package/lib/components/Charts/FunnelChart/index.d.ts.map +1 -0
- package/lib/components/Charts/LineChart/LineChart.d.ts +23 -0
- package/lib/components/Charts/LineChart/LineChart.d.ts.map +1 -0
- package/lib/components/Charts/LineChart/LineChart.js +6 -6
- 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/LineChart/index.d.ts +2 -0
- package/lib/components/Charts/LineChart/index.d.ts.map +1 -0
- package/lib/components/Charts/SpiderChart/SpiderChart.d.ts +22 -0
- package/lib/components/Charts/SpiderChart/SpiderChart.d.ts.map +1 -0
- package/lib/components/Charts/SpiderChart/SpiderChart.js +0 -5
- 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/Charts/SpiderChart/index.d.ts +2 -0
- package/lib/components/Charts/SpiderChart/index.d.ts.map +1 -0
- package/lib/components/Charts/index.d.ts +8 -0
- package/lib/components/Charts/index.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 +76 -0
- package/lib/components/ChatBubble/ChatBubble.d.ts.map +1 -0
- package/lib/components/ChatBubble/ChatBubble.js +5 -2
- package/lib/components/ChatBubble/ChatBubble.stories.d.ts +102 -0
- package/lib/components/ChatBubble/ChatBubble.stories.d.ts.map +1 -0
- package/lib/components/ChatBubble/index.d.ts +2 -0
- package/lib/components/ChatBubble/index.d.ts.map +1 -0
- package/lib/components/Checkbox/Checkbox.d.ts +29 -0
- package/lib/components/Checkbox/Checkbox.d.ts.map +1 -0
- package/lib/components/Checkbox/Checkbox.js +2 -0
- 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 +26 -0
- package/lib/components/Checkbox/CheckboxGroup.d.ts.map +1 -0
- package/lib/components/Checkbox/CheckboxGroup.js +8 -0
- package/lib/components/Checkbox/CheckboxGroup.stories.d.ts +163 -0
- package/lib/components/Checkbox/CheckboxGroup.stories.d.ts.map +1 -0
- package/lib/components/Checkbox/index.d.ts +3 -0
- package/lib/components/Checkbox/index.d.ts.map +1 -0
- package/lib/components/Chip/Chip.d.ts +47 -0
- package/lib/components/Chip/Chip.d.ts.map +1 -0
- package/lib/components/Chip/Chip.js +10 -2
- package/lib/components/Chip/Chip.stories.d.ts +238 -0
- package/lib/components/Chip/Chip.stories.d.ts.map +1 -0
- package/lib/components/Chip/index.d.ts +3 -0
- package/lib/components/Chip/index.d.ts.map +1 -0
- package/lib/components/CircularLoader/CircularLoader.d.ts +10 -0
- package/lib/components/CircularLoader/CircularLoader.d.ts.map +1 -0
- package/lib/components/CircularLoader/CircularLoader.stories.d.ts +64 -0
- package/lib/components/CircularLoader/CircularLoader.stories.d.ts.map +1 -0
- package/lib/components/CircularLoader/index.d.ts +2 -0
- package/lib/components/CircularLoader/index.d.ts.map +1 -0
- package/lib/components/CollapsibleCard/CollapsibleCard.d.ts +40 -0
- package/lib/components/CollapsibleCard/CollapsibleCard.d.ts.map +1 -0
- package/lib/components/CollapsibleCard/CollapsibleCard.stories.d.ts +225 -0
- package/lib/components/CollapsibleCard/CollapsibleCard.stories.d.ts.map +1 -0
- package/lib/components/CollapsibleCard/index.d.ts +2 -0
- package/lib/components/CollapsibleCard/index.d.ts.map +1 -0
- package/lib/components/Combobox/Combobox.d.ts +78 -0
- package/lib/components/Combobox/Combobox.d.ts.map +1 -0
- package/lib/components/Combobox/Combobox.js +16 -3
- 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 +12 -0
- package/lib/components/Combobox/helper.d.ts.map +1 -0
- package/lib/components/Combobox/helper.js +1 -0
- package/lib/components/Combobox/index.d.ts +2 -0
- package/lib/components/Combobox/index.d.ts.map +1 -0
- package/lib/components/ConditionalWrapper/ConditionalWrapper.d.ts +8 -0
- package/lib/components/ConditionalWrapper/ConditionalWrapper.d.ts.map +1 -0
- package/lib/components/ConditionalWrapper/ConditionalWrapper.js +0 -2
- package/lib/components/ConditionalWrapper/ConditionalWrapper.stories.d.ts +16 -0
- package/lib/components/ConditionalWrapper/ConditionalWrapper.stories.d.ts.map +1 -0
- package/lib/components/ConditionalWrapper/index.d.ts +2 -0
- package/lib/components/ConditionalWrapper/index.d.ts.map +1 -0
- package/lib/components/DateRangePicker/Calendar.d.ts +22 -0
- package/lib/components/DateRangePicker/Calendar.d.ts.map +1 -0
- package/lib/components/DateRangePicker/Calendar.js +4 -2
- package/lib/components/DateRangePicker/DateRangePicker.d.ts +22 -0
- package/lib/components/DateRangePicker/DateRangePicker.d.ts.map +1 -0
- package/lib/components/DateRangePicker/DateRangePicker.js +0 -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 +33 -0
- package/lib/components/DateRangePicker/DateRangeWrapper.d.ts.map +1 -0
- package/lib/components/DateRangePicker/DateRangeWrapper.js +13 -5
- package/lib/components/DateRangePicker/Day.d.ts +17 -0
- package/lib/components/DateRangePicker/Day.d.ts.map +1 -0
- package/lib/components/DateRangePicker/Day.js +6 -4
- package/lib/components/DateRangePicker/index.d.ts +2 -0
- package/lib/components/DateRangePicker/index.d.ts.map +1 -0
- package/lib/components/Dialog/Dialog.d.ts +46 -0
- package/lib/components/Dialog/Dialog.d.ts.map +1 -0
- package/lib/components/Dialog/Dialog.stories.d.ts +171 -0
- package/lib/components/Dialog/Dialog.stories.d.ts.map +1 -0
- package/lib/components/Dialog/index.d.ts +2 -0
- package/lib/components/Dialog/index.d.ts.map +1 -0
- package/lib/components/Disclaimer/Disclaimer.d.ts +5 -0
- package/lib/components/Disclaimer/Disclaimer.d.ts.map +1 -0
- package/lib/components/Disclaimer/Disclaimer.js +1 -0
- package/lib/components/Disclaimer/Disclaimer.stories.d.ts +156 -0
- package/lib/components/Disclaimer/Disclaimer.stories.d.ts.map +1 -0
- package/lib/components/Disclaimer/index.d.ts +2 -0
- package/lib/components/Disclaimer/index.d.ts.map +1 -0
- package/lib/components/Dropdown/Dropdown.d.ts +25 -0
- package/lib/components/Dropdown/Dropdown.d.ts.map +1 -0
- package/lib/components/Dropdown/Dropdown.js +21 -8
- 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 +44 -0
- package/lib/components/Dropdown/SimpleDropdown.d.ts.map +1 -0
- package/lib/components/Dropdown/SimpleDropdown.js +10 -2
- package/lib/components/Dropdown/SimpleDropdown.stories.d.ts +424 -0
- package/lib/components/Dropdown/SimpleDropdown.stories.d.ts.map +1 -0
- package/lib/components/Dropdown/index.d.ts +3 -0
- package/lib/components/Dropdown/index.d.ts.map +1 -0
- package/lib/components/EmptyState/EmptyImages/CalendarEmptyImage.d.ts +3 -0
- package/lib/components/EmptyState/EmptyImages/CalendarEmptyImage.d.ts.map +1 -0
- package/lib/components/EmptyState/EmptyImages/ChartEmptyImage.d.ts +3 -0
- package/lib/components/EmptyState/EmptyImages/ChartEmptyImage.d.ts.map +1 -0
- package/lib/components/EmptyState/EmptyImages/DataEmptyImage.d.ts +3 -0
- package/lib/components/EmptyState/EmptyImages/DataEmptyImage.d.ts.map +1 -0
- package/lib/components/EmptyState/EmptyImages/FileEmptyImage.d.ts +3 -0
- package/lib/components/EmptyState/EmptyImages/FileEmptyImage.d.ts.map +1 -0
- package/lib/components/EmptyState/EmptyImages/MessageEmptyImage.d.ts +3 -0
- package/lib/components/EmptyState/EmptyImages/MessageEmptyImage.d.ts.map +1 -0
- package/lib/components/EmptyState/EmptyImages/UploadEmptyImage.d.ts +3 -0
- package/lib/components/EmptyState/EmptyImages/UploadEmptyImage.d.ts.map +1 -0
- package/lib/components/EmptyState/EmptyImages/index.d.ts +7 -0
- package/lib/components/EmptyState/EmptyImages/index.d.ts.map +1 -0
- package/lib/components/EmptyState/EmptyState.d.ts +20 -0
- package/lib/components/EmptyState/EmptyState.d.ts.map +1 -0
- package/lib/components/EmptyState/EmptyState.stories.d.ts +91 -0
- package/lib/components/EmptyState/EmptyState.stories.d.ts.map +1 -0
- package/lib/components/EmptyState/index.d.ts +2 -0
- package/lib/components/EmptyState/index.d.ts.map +1 -0
- package/lib/components/ErrorMessage/ErrorImages/ForbiddenImage.d.ts +3 -0
- package/lib/components/ErrorMessage/ErrorImages/ForbiddenImage.d.ts.map +1 -0
- package/lib/components/ErrorMessage/ErrorImages/NotFoundImage.d.ts +3 -0
- package/lib/components/ErrorMessage/ErrorImages/NotFoundImage.d.ts.map +1 -0
- package/lib/components/ErrorMessage/ErrorImages/ServerErrorImage.d.ts +3 -0
- package/lib/components/ErrorMessage/ErrorImages/ServerErrorImage.d.ts.map +1 -0
- package/lib/components/ErrorMessage/ErrorImages/UnauthorizedImage.d.ts +3 -0
- package/lib/components/ErrorMessage/ErrorImages/UnauthorizedImage.d.ts.map +1 -0
- package/lib/components/ErrorMessage/ErrorImages/index.d.ts +5 -0
- package/lib/components/ErrorMessage/ErrorImages/index.d.ts.map +1 -0
- package/lib/components/ErrorMessage/ErrorMessage.d.ts +22 -0
- package/lib/components/ErrorMessage/ErrorMessage.d.ts.map +1 -0
- package/lib/components/ErrorMessage/ErrorMessage.stories.d.ts +97 -0
- package/lib/components/ErrorMessage/ErrorMessage.stories.d.ts.map +1 -0
- package/lib/components/ErrorMessage/index.d.ts +2 -0
- package/lib/components/ErrorMessage/index.d.ts.map +1 -0
- package/lib/components/FileUpload/FileBlock/FileBlock.d.ts +14 -0
- package/lib/components/FileUpload/FileBlock/FileBlock.d.ts.map +1 -0
- 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/FileBlock/index.d.ts +2 -0
- package/lib/components/FileUpload/FileBlock/index.d.ts.map +1 -0
- package/lib/components/FileUpload/FileUpload.d.ts +62 -0
- package/lib/components/FileUpload/FileUpload.d.ts.map +1 -0
- package/lib/components/FileUpload/FileUpload.js +9 -2
- package/lib/components/FileUpload/FileUpload.stories.d.ts +340 -0
- package/lib/components/FileUpload/FileUpload.stories.d.ts.map +1 -0
- package/lib/components/FileUpload/index.d.ts +3 -0
- package/lib/components/FileUpload/index.d.ts.map +1 -0
- package/lib/components/FilterButtonOverlay/FilterButtonOverlay.d.ts +30 -0
- package/lib/components/FilterButtonOverlay/FilterButtonOverlay.d.ts.map +1 -0
- package/lib/components/FilterButtonOverlay/FilterButtonOverlay.js +13 -5
- package/lib/components/FilterButtonOverlay/FilterButtonOverlay.stories.d.ts +300 -0
- package/lib/components/FilterButtonOverlay/FilterButtonOverlay.stories.d.ts.map +1 -0
- package/lib/components/FilterButtonOverlay/index.d.ts +2 -0
- package/lib/components/FilterButtonOverlay/index.d.ts.map +1 -0
- package/lib/components/FocusManager/FocusManager.d.ts +15 -0
- package/lib/components/FocusManager/FocusManager.d.ts.map +1 -0
- package/lib/components/FocusManager/FocusManager.stories.d.ts +103 -0
- package/lib/components/FocusManager/FocusManager.stories.d.ts.map +1 -0
- package/lib/components/FocusManager/index.d.ts +2 -0
- package/lib/components/FocusManager/index.d.ts.map +1 -0
- package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.d.ts +19 -0
- package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.d.ts.map +1 -0
- package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.js +11 -0
- package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.stories.d.ts +175 -0
- package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.stories.d.ts.map +1 -0
- package/lib/components/FocusManagerWithArrowKeyNavigation/index.d.ts +2 -0
- package/lib/components/FocusManagerWithArrowKeyNavigation/index.d.ts.map +1 -0
- package/lib/components/FormTitleWrapper/FormTitleWrapper.d.ts +21 -0
- package/lib/components/FormTitleWrapper/FormTitleWrapper.d.ts.map +1 -0
- package/lib/components/FormTitleWrapper/FormTitleWrapper.stories.d.ts +128 -0
- package/lib/components/FormTitleWrapper/FormTitleWrapper.stories.d.ts.map +1 -0
- package/lib/components/FormTitleWrapper/index.d.ts +2 -0
- package/lib/components/FormTitleWrapper/index.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 +20 -0
- package/lib/components/Grid/Grid.d.ts.map +1 -0
- package/lib/components/Grid/Grid.js +8 -0
- 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/Grid/index.d.ts +2 -0
- package/lib/components/Grid/index.d.ts.map +1 -0
- package/lib/components/Icon/ClickableIcon.d.ts +26 -0
- package/lib/components/Icon/ClickableIcon.d.ts.map +1 -0
- package/lib/components/Icon/ClickableIcon.js +4 -2
- package/lib/components/Icon/Icon.d.ts +31 -0
- package/lib/components/Icon/Icon.d.ts.map +1 -0
- package/lib/components/Icon/Icon.docs.d.ts +134 -0
- package/lib/components/Icon/Icon.docs.d.ts.map +1 -0
- package/lib/components/Icon/Icon.docs.js +1 -1
- package/lib/components/Icon/Icon.js +3 -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 +14 -0
- package/lib/components/Icon/SemanticIcon.d.ts.map +1 -0
- package/lib/components/Icon/SemanticIcon.js +3 -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/Icon/index.d.ts +4 -0
- package/lib/components/Icon/index.d.ts.map +1 -0
- package/lib/components/InContextAlert/InContextAlert.d.ts +31 -0
- package/lib/components/InContextAlert/InContextAlert.d.ts.map +1 -0
- package/lib/components/InContextAlert/InContextAlert.js +2 -0
- package/lib/components/InContextAlert/InContextAlert.stories.d.ts +164 -0
- package/lib/components/InContextAlert/InContextAlert.stories.d.ts.map +1 -0
- package/lib/components/InContextAlert/index.d.ts +2 -0
- package/lib/components/InContextAlert/index.d.ts.map +1 -0
- package/lib/components/InfinitePagination/InfinitePagination.d.ts +25 -0
- package/lib/components/InfinitePagination/InfinitePagination.d.ts.map +1 -0
- package/lib/components/InfinitePagination/InfinitePagination.js +9 -2
- package/lib/components/InfinitePagination/InfinitePagination.stories.d.ts +145 -0
- package/lib/components/InfinitePagination/InfinitePagination.stories.d.ts.map +1 -0
- package/lib/components/InfinitePagination/index.d.ts +2 -0
- package/lib/components/InfinitePagination/index.d.ts.map +1 -0
- package/lib/components/InlineDropdown/InlineDropdown.d.ts +25 -0
- package/lib/components/InlineDropdown/InlineDropdown.d.ts.map +1 -0
- package/lib/components/InlineDropdown/InlineDropdown.js +16 -7
- 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 +40 -0
- package/lib/components/InlineDropdown/SimpleInlineDropdown.d.ts.map +1 -0
- package/lib/components/InlineDropdown/SimpleInlineDropdown.js +10 -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/InlineDropdown/index.d.ts +3 -0
- package/lib/components/InlineDropdown/index.d.ts.map +1 -0
- package/lib/components/Input/Input.d.ts +74 -0
- package/lib/components/Input/Input.d.ts.map +1 -0
- package/lib/components/Input/Input.js +18 -5
- 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/Input/index.d.ts +2 -0
- package/lib/components/Input/index.d.ts.map +1 -0
- package/lib/components/KPIBox/KPIBox.d.ts +24 -0
- package/lib/components/KPIBox/KPIBox.d.ts.map +1 -0
- package/lib/components/KPIBox/KPIBox.stories.d.ts +132 -0
- package/lib/components/KPIBox/KPIBox.stories.d.ts.map +1 -0
- package/lib/components/KPIBox/index.d.ts +2 -0
- package/lib/components/KPIBox/index.d.ts.map +1 -0
- package/lib/components/LinearLoader/LinearLoader.d.ts +9 -0
- package/lib/components/LinearLoader/LinearLoader.d.ts.map +1 -0
- package/lib/components/LinearLoader/LinearLoader.stories.d.ts +78 -0
- package/lib/components/LinearLoader/LinearLoader.stories.d.ts.map +1 -0
- package/lib/components/LinearLoader/index.d.ts +2 -0
- package/lib/components/LinearLoader/index.d.ts.map +1 -0
- package/lib/components/Link/Link.d.ts +93 -0
- package/lib/components/Link/Link.d.ts.map +1 -0
- package/lib/components/Link/Link.js +16 -5
- package/lib/components/Link/Link.stories.d.ts +284 -0
- package/lib/components/Link/Link.stories.d.ts.map +1 -0
- package/lib/components/Link/index.d.ts +2 -0
- package/lib/components/Link/index.d.ts.map +1 -0
- package/lib/components/Menu/Menu.d.ts +74 -0
- package/lib/components/Menu/Menu.d.ts.map +1 -0
- package/lib/components/Menu/Menu.js +5 -2
- 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 +9 -0
- package/lib/components/Menu/MenuOptionButton.d.ts.map +1 -0
- package/lib/components/Menu/MenuOptionButton.js +6 -1
- package/lib/components/Menu/index.d.ts +3 -0
- package/lib/components/Menu/index.d.ts.map +1 -0
- package/lib/components/Modal/Modal.d.ts +64 -0
- package/lib/components/Modal/Modal.d.ts.map +1 -0
- package/lib/components/Modal/Modal.js +6 -2
- 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 +3 -0
- package/lib/components/Modal/index.d.ts.map +1 -0
- package/lib/components/Notification/Notification.d.ts +37 -0
- package/lib/components/Notification/Notification.d.ts.map +1 -0
- package/lib/components/Notification/Notification.js +1 -0
- package/lib/components/Notification/Notification.stories.d.ts +136 -0
- package/lib/components/Notification/Notification.stories.d.ts.map +1 -0
- package/lib/components/Notification/index.d.ts +2 -0
- package/lib/components/Notification/index.d.ts.map +1 -0
- package/lib/components/OptionButton/OptionButton.d.ts +33 -0
- package/lib/components/OptionButton/OptionButton.d.ts.map +1 -0
- 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 +47 -0
- package/lib/components/OptionButton/SimpleOptionButton.d.ts.map +1 -0
- package/lib/components/OptionButton/SimpleOptionButton.js +7 -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/OptionButton/index.d.ts +3 -0
- package/lib/components/OptionButton/index.d.ts.map +1 -0
- package/lib/components/PageTitle/PageTitle.d.ts +156 -0
- package/lib/components/PageTitle/PageTitle.d.ts.map +1 -0
- package/lib/components/PageTitle/PageTitle.js +7 -2
- package/lib/components/PageTitle/PageTitle.stories.d.ts +83 -0
- package/lib/components/PageTitle/PageTitle.stories.d.ts.map +1 -0
- package/lib/components/PageTitle/index.d.ts +2 -0
- package/lib/components/PageTitle/index.d.ts.map +1 -0
- package/lib/components/Pagination/Pagination.d.ts +39 -0
- package/lib/components/Pagination/Pagination.d.ts.map +1 -0
- package/lib/components/Pagination/Pagination.js +3 -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 +5 -0
- package/lib/components/Pagination/PaginationItem.d.ts.map +1 -0
- package/lib/components/Pagination/PaginationItem.js +3 -0
- package/lib/components/Pagination/index.d.ts +2 -0
- package/lib/components/Pagination/index.d.ts.map +1 -0
- package/lib/components/Panel/Panel.d.ts +35 -0
- package/lib/components/Panel/Panel.d.ts.map +1 -0
- 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 +3 -0
- package/lib/components/Panel/index.d.ts.map +1 -0
- package/lib/components/ProgressDonut/ProgressDonut.d.ts +13 -0
- package/lib/components/ProgressDonut/ProgressDonut.d.ts.map +1 -0
- package/lib/components/ProgressDonut/ProgressDonut.js +1 -0
- package/lib/components/ProgressDonut/ProgressDonut.stories.d.ts +72 -0
- package/lib/components/ProgressDonut/ProgressDonut.stories.d.ts.map +1 -0
- package/lib/components/ProgressDonut/index.d.ts +2 -0
- package/lib/components/ProgressDonut/index.d.ts.map +1 -0
- package/lib/components/PromptChip/PromptChip.d.ts +38 -0
- package/lib/components/PromptChip/PromptChip.d.ts.map +1 -0
- package/lib/components/PromptChip/PromptChip.js +8 -2
- package/lib/components/PromptChip/PromptChip.stories.d.ts +205 -0
- package/lib/components/PromptChip/PromptChip.stories.d.ts.map +1 -0
- package/lib/components/PromptChip/index.d.ts +2 -0
- package/lib/components/PromptChip/index.d.ts.map +1 -0
- package/lib/components/PromptInput/PromptInput.d.ts +38 -0
- package/lib/components/PromptInput/PromptInput.d.ts.map +1 -0
- package/lib/components/PromptInput/PromptInput.js +10 -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/PromptInput/index.d.ts +2 -0
- package/lib/components/PromptInput/index.d.ts.map +1 -0
- package/lib/components/RadioButton/RadioButton.d.ts +31 -0
- package/lib/components/RadioButton/RadioButton.d.ts.map +1 -0
- package/lib/components/RadioButton/RadioButton.js +1 -0
- 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 +27 -0
- package/lib/components/RadioButton/RadioGroup.d.ts.map +1 -0
- package/lib/components/RadioButton/RadioGroup.js +2 -0
- package/lib/components/RadioButton/RadioGroup.stories.d.ts +137 -0
- package/lib/components/RadioButton/RadioGroup.stories.d.ts.map +1 -0
- package/lib/components/RadioButton/index.d.ts +3 -0
- package/lib/components/RadioButton/index.d.ts.map +1 -0
- package/lib/components/RadioTile/RadioTile.d.ts +23 -0
- package/lib/components/RadioTile/RadioTile.d.ts.map +1 -0
- package/lib/components/RadioTile/RadioTile.js +2 -0
- package/lib/components/RadioTile/RadioTile.stories.d.ts +171 -0
- package/lib/components/RadioTile/RadioTile.stories.d.ts.map +1 -0
- package/lib/components/RadioTile/index.d.ts +2 -0
- package/lib/components/RadioTile/index.d.ts.map +1 -0
- package/lib/components/RangeSlider/RangeSlider.d.ts +27 -0
- package/lib/components/RangeSlider/RangeSlider.d.ts.map +1 -0
- package/lib/components/RangeSlider/RangeSlider.js +3 -0
- package/lib/components/RangeSlider/RangeSlider.stories.d.ts +287 -0
- package/lib/components/RangeSlider/RangeSlider.stories.d.ts.map +1 -0
- package/lib/components/RangeSlider/index.d.ts +2 -0
- package/lib/components/RangeSlider/index.d.ts.map +1 -0
- package/lib/components/Rating/Rating.d.ts +32 -0
- package/lib/components/Rating/Rating.d.ts.map +1 -0
- package/lib/components/Rating/Rating.js +7 -3
- package/lib/components/Rating/Rating.stories.d.ts +237 -0
- package/lib/components/Rating/Rating.stories.d.ts.map +1 -0
- package/lib/components/Rating/index.d.ts +2 -0
- package/lib/components/Rating/index.d.ts.map +1 -0
- package/lib/components/ScoreBar/ScoreBar.d.ts +28 -0
- package/lib/components/ScoreBar/ScoreBar.d.ts.map +1 -0
- package/lib/components/ScoreBar/ScoreBar.js +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/ScoreBar/index.d.ts +2 -0
- package/lib/components/ScoreBar/index.d.ts.map +1 -0
- package/lib/components/SearchInput/SearchInput.d.ts +15 -0
- package/lib/components/SearchInput/SearchInput.d.ts.map +1 -0
- package/lib/components/SearchInput/SearchInput.stories.d.ts +260 -0
- package/lib/components/SearchInput/SearchInput.stories.d.ts.map +1 -0
- package/lib/components/SearchInput/index.d.ts +3 -0
- package/lib/components/SearchInput/index.d.ts.map +1 -0
- package/lib/components/Separator/Separator.d.ts +18 -0
- package/lib/components/Separator/Separator.d.ts.map +1 -0
- package/lib/components/Separator/Separator.stories.d.ts +79 -0
- package/lib/components/Separator/Separator.stories.d.ts.map +1 -0
- package/lib/components/Separator/index.d.ts +2 -0
- package/lib/components/Separator/index.d.ts.map +1 -0
- package/lib/components/Shimmer/Shimmer.d.ts +57 -0
- package/lib/components/Shimmer/Shimmer.d.ts.map +1 -0
- package/lib/components/Shimmer/Shimmer.js +3 -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/Shimmer/index.d.ts +2 -0
- package/lib/components/Shimmer/index.d.ts.map +1 -0
- package/lib/components/SideMenuLink/SideMenuLink.d.ts +211 -0
- package/lib/components/SideMenuLink/SideMenuLink.d.ts.map +1 -0
- package/lib/components/SideMenuLink/SideMenuLink.js +8 -2
- package/lib/components/SideMenuLink/SideMenuLink.stories.d.ts +96 -0
- package/lib/components/SideMenuLink/SideMenuLink.stories.d.ts.map +1 -0
- package/lib/components/SideMenuLink/index.d.ts +2 -0
- package/lib/components/SideMenuLink/index.d.ts.map +1 -0
- package/lib/components/StatusIndicator/StatusIndicator.d.ts +25 -0
- package/lib/components/StatusIndicator/StatusIndicator.d.ts.map +1 -0
- package/lib/components/StatusIndicator/StatusIndicator.stories.d.ts +92 -0
- package/lib/components/StatusIndicator/StatusIndicator.stories.d.ts.map +1 -0
- package/lib/components/StatusIndicator/index.d.ts +2 -0
- package/lib/components/StatusIndicator/index.d.ts.map +1 -0
- package/lib/components/Stepper/Step/Step.d.ts +25 -0
- package/lib/components/Stepper/Step/Step.d.ts.map +1 -0
- package/lib/components/Stepper/Step/Step.js +12 -3
- 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 +14 -0
- package/lib/components/Stepper/Step/StepContent.d.ts.map +1 -0
- package/lib/components/Stepper/Step/StepLabel.d.ts +14 -0
- package/lib/components/Stepper/Step/StepLabel.d.ts.map +1 -0
- package/lib/components/Stepper/Step/index.d.ts +4 -0
- package/lib/components/Stepper/Step/index.d.ts.map +1 -0
- package/lib/components/Stepper/Stepper.d.ts +15 -0
- package/lib/components/Stepper/Stepper.d.ts.map +1 -0
- package/lib/components/Stepper/Stepper.js +4 -0
- package/lib/components/Stepper/Stepper.stories.d.ts +210 -0
- package/lib/components/Stepper/Stepper.stories.d.ts.map +1 -0
- package/lib/components/Stepper/index.d.ts +3 -0
- package/lib/components/Stepper/index.d.ts.map +1 -0
- package/lib/components/StickyBar/StickyBar.d.ts +15 -0
- package/lib/components/StickyBar/StickyBar.d.ts.map +1 -0
- package/lib/components/StickyBar/StickyBar.stories.d.ts +35 -0
- package/lib/components/StickyBar/StickyBar.stories.d.ts.map +1 -0
- package/lib/components/StickyBar/index.d.ts +2 -0
- package/lib/components/StickyBar/index.d.ts.map +1 -0
- package/lib/components/SubMenu/SubMenu.d.ts +19 -0
- package/lib/components/SubMenu/SubMenu.d.ts.map +1 -0
- 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 +24 -0
- package/lib/components/SubMenu/SubMenuGroup.d.ts.map +1 -0
- package/lib/components/SubMenu/SubMenuGroup.js +11 -3
- package/lib/components/SubMenu/SubMenuItem.d.ts +42 -0
- package/lib/components/SubMenu/SubMenuItem.d.ts.map +1 -0
- package/lib/components/SubMenu/SubMenuItem.js +19 -7
- package/lib/components/SubMenu/SubMenuLink.d.ts +14 -0
- package/lib/components/SubMenu/SubMenuLink.d.ts.map +1 -0
- package/lib/components/SubMenu/SubMenuLink.js +6 -2
- package/lib/components/SubMenu/index.d.ts +5 -0
- package/lib/components/SubMenu/index.d.ts.map +1 -0
- 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 +37 -0
- package/lib/components/Table/Cell.d.ts.map +1 -0
- package/lib/components/Table/Cell.js +8 -5
- package/lib/components/Table/DefaultRow.d.ts +39 -0
- package/lib/components/Table/DefaultRow.d.ts.map +1 -0
- package/lib/components/Table/DefaultRow.js +1 -1
- package/lib/components/Table/DefaultTableHeader.d.ts +43 -0
- package/lib/components/Table/DefaultTableHeader.d.ts.map +1 -0
- package/lib/components/Table/DefaultTableHeader.js +9 -2
- 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 +24 -0
- package/lib/components/Table/StaticTable.d.ts.map +1 -0
- package/lib/components/Table/StaticTable.js +48 -18
- package/lib/components/Table/Table.d.ts +64 -0
- package/lib/components/Table/Table.d.ts.map +1 -0
- package/lib/components/Table/Table.docs.d.ts +299 -0
- package/lib/components/Table/Table.docs.d.ts.map +1 -0
- package/lib/components/Table/Table.docs.js +4 -4
- package/lib/components/Table/Table.js +15 -11
- package/lib/components/Table/TableActionBar.d.ts +11 -0
- package/lib/components/Table/TableActionBar.d.ts.map +1 -0
- package/lib/components/Table/TableBottomBar.d.ts +7 -0
- package/lib/components/Table/TableBottomBar.d.ts.map +1 -0
- package/lib/components/Table/TableTopBar.d.ts +7 -0
- package/lib/components/Table/TableTopBar.d.ts.map +1 -0
- package/lib/components/Table/dummyTableData.d.ts +1946 -0
- package/lib/components/Table/dummyTableData.d.ts.map +1 -0
- package/lib/components/Table/hooks.d.ts +15 -0
- package/lib/components/Table/hooks.d.ts.map +1 -0
- package/lib/components/Table/hooks.js +8 -1
- package/lib/components/Table/index.d.ts +9 -0
- package/lib/components/Table/index.d.ts.map +1 -0
- package/lib/components/Tabs/Tab/Tab.d.ts +35 -0
- package/lib/components/Tabs/Tab/Tab.d.ts.map +1 -0
- package/lib/components/Tabs/Tab/Tab.js +5 -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/Tab/index.d.ts +2 -0
- package/lib/components/Tabs/Tab/index.d.ts.map +1 -0
- package/lib/components/Tabs/TabList/TabDropdown.d.ts +24 -0
- package/lib/components/Tabs/TabList/TabDropdown.d.ts.map +1 -0
- package/lib/components/Tabs/TabList/TabDropdown.js +8 -2
- package/lib/components/Tabs/TabList/TabList.d.ts +24 -0
- package/lib/components/Tabs/TabList/TabList.d.ts.map +1 -0
- package/lib/components/Tabs/TabList/TabList.js +17 -3
- 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/Tabs/TabList/index.d.ts +2 -0
- package/lib/components/Tabs/TabList/index.d.ts.map +1 -0
- package/lib/components/Tabs/index.d.ts +3 -0
- package/lib/components/Tabs/index.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 +46 -0
- package/lib/components/Text/Text.d.ts.map +1 -0
- package/lib/components/Text/Text.js +1 -0
- package/lib/components/Text/Text.stories.d.ts +271 -0
- package/lib/components/Text/Text.stories.d.ts.map +1 -0
- package/lib/components/Text/index.d.ts +4 -0
- package/lib/components/Text/index.d.ts.map +1 -0
- package/lib/components/TextTile/TextTile.d.ts +14 -0
- package/lib/components/TextTile/TextTile.d.ts.map +1 -0
- package/lib/components/TextTile/TextTile.stories.d.ts +76 -0
- package/lib/components/TextTile/TextTile.stories.d.ts.map +1 -0
- package/lib/components/TextTile/index.d.ts +2 -0
- package/lib/components/TextTile/index.d.ts.map +1 -0
- package/lib/components/Textarea/Textarea.d.ts +28 -0
- package/lib/components/Textarea/Textarea.d.ts.map +1 -0
- package/lib/components/Textarea/Textarea.js +17 -5
- package/lib/components/Textarea/Textarea.stories.d.ts +264 -0
- package/lib/components/Textarea/Textarea.stories.d.ts.map +1 -0
- package/lib/components/Textarea/index.d.ts +3 -0
- package/lib/components/Textarea/index.d.ts.map +1 -0
- package/lib/components/Timeline/Timeline.d.ts +18 -0
- package/lib/components/Timeline/Timeline.d.ts.map +1 -0
- package/lib/components/Timeline/Timeline.js +11 -2
- 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 +28 -0
- package/lib/components/Timeline/TimelineItem/TimelineItem.d.ts.map +1 -0
- package/lib/components/Timeline/TimelineItem/TimelineItem.js +12 -3
- 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/Timeline/TimelineItem/index.d.ts +2 -0
- package/lib/components/Timeline/TimelineItem/index.d.ts.map +1 -0
- package/lib/components/Timeline/index.d.ts +3 -0
- package/lib/components/Timeline/index.d.ts.map +1 -0
- package/lib/components/Toast/Toast.d.ts +46 -0
- package/lib/components/Toast/Toast.d.ts.map +1 -0
- package/lib/components/Toast/Toast.js +10 -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 +3 -0
- package/lib/components/Toast/ToastContainer.d.ts.map +1 -0
- package/lib/components/Toast/ToastContainer.js +2 -5
- package/lib/components/Toast/ToastManager.d.ts +23 -0
- package/lib/components/Toast/ToastManager.d.ts.map +1 -0
- package/lib/components/Toast/ToastManager.js +1 -0
- package/lib/components/Toast/index.d.ts +5 -0
- package/lib/components/Toast/index.d.ts.map +1 -0
- package/lib/components/Toggle/Toggle.d.ts +30 -0
- package/lib/components/Toggle/Toggle.d.ts.map +1 -0
- package/lib/components/Toggle/Toggle.js +4 -0
- package/lib/components/Toggle/Toggle.stories.d.ts +142 -0
- package/lib/components/Toggle/Toggle.stories.d.ts.map +1 -0
- package/lib/components/Toggle/index.d.ts +2 -0
- package/lib/components/Toggle/index.d.ts.map +1 -0
- package/lib/components/TokenListInput/TokenListInput.d.ts +57 -0
- package/lib/components/TokenListInput/TokenListInput.d.ts.map +1 -0
- package/lib/components/TokenListInput/TokenListInput.js +27 -10
- 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 +20 -0
- package/lib/components/TokenListInput/TokenValueChips.d.ts.map +1 -0
- package/lib/components/TokenListInput/TokenValueChips.js +2 -4
- package/lib/components/TokenListInput/index.d.ts +2 -0
- package/lib/components/TokenListInput/index.d.ts.map +1 -0
- package/lib/components/Tooltip/Tooltip.d.ts +44 -0
- package/lib/components/Tooltip/Tooltip.d.ts.map +1 -0
- package/lib/components/Tooltip/Tooltip.js +6 -3
- package/lib/components/Tooltip/Tooltip.stories.d.ts +172 -0
- package/lib/components/Tooltip/Tooltip.stories.d.ts.map +1 -0
- package/lib/components/Tooltip/index.d.ts +2 -0
- package/lib/components/Tooltip/index.d.ts.map +1 -0
- package/lib/components/Truncate/Truncate.d.ts +12 -0
- package/lib/components/Truncate/Truncate.d.ts.map +1 -0
- package/lib/components/Truncate/Truncate.js +5 -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/Truncate/index.d.ts +3 -0
- package/lib/components/Truncate/index.d.ts.map +1 -0
- package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.d.ts +16 -0
- package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.d.ts.map +1 -0
- package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.js +6 -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/TruncatedTextWithTooltip/index.d.ts +2 -0
- package/lib/components/TruncatedTextWithTooltip/index.d.ts.map +1 -0
- package/lib/components/Typeahead/SimpleTypeahead.d.ts +41 -0
- package/lib/components/Typeahead/SimpleTypeahead.d.ts.map +1 -0
- package/lib/components/Typeahead/SimpleTypeahead.js +5 -1
- 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 +30 -0
- package/lib/components/Typeahead/Typeahead.d.ts.map +1 -0
- package/lib/components/Typeahead/Typeahead.js +16 -7
- package/lib/components/Typeahead/Typeahead.stories.d.ts +399 -0
- package/lib/components/Typeahead/Typeahead.stories.d.ts.map +1 -0
- package/lib/components/Typeahead/index.d.ts +3 -0
- package/lib/components/Typeahead/index.d.ts.map +1 -0
- package/lib/components/WeekdayPicker/WeekdayPicker.d.ts +36 -0
- package/lib/components/WeekdayPicker/WeekdayPicker.d.ts.map +1 -0
- package/lib/components/WeekdayPicker/WeekdayPicker.stories.d.ts +238 -0
- package/lib/components/WeekdayPicker/WeekdayPicker.stories.d.ts.map +1 -0
- package/lib/components/WeekdayPicker/index.d.ts +2 -0
- package/lib/components/WeekdayPicker/index.d.ts.map +1 -0
- package/lib/components/index.d.ts +76 -0
- package/lib/components/index.d.ts.map +1 -0
- package/lib/flow-to-typescript-codemod.d.ts +49 -0
- package/lib/hooks/index.d.ts +17 -0
- package/lib/hooks/index.d.ts.map +1 -0
- package/lib/hooks/useArbitraryOptionAddition/index.d.ts +2 -0
- package/lib/hooks/useArbitraryOptionAddition/index.d.ts.map +1 -0
- package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.d.ts +24 -0
- package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.d.ts.map +1 -0
- package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.js +9 -9
- 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/index.d.ts +2 -0
- package/lib/hooks/useCopyToClipboard/index.d.ts.map +1 -0
- package/lib/hooks/useCopyToClipboard/useCopyToClipboard.d.ts +5 -0
- package/lib/hooks/useCopyToClipboard/useCopyToClipboard.d.ts.map +1 -0
- package/lib/hooks/useCopyToClipboard/useCopyToClipboard.js +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/index.d.ts +2 -0
- package/lib/hooks/useDebounce/index.d.ts.map +1 -0
- package/lib/hooks/useDebounce/useDebounce.d.ts +2 -0
- package/lib/hooks/useDebounce/useDebounce.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/index.d.ts +2 -0
- package/lib/hooks/useFileUpload/index.d.ts.map +1 -0
- package/lib/hooks/useFileUpload/useFileUpload.d.ts +17 -0
- package/lib/hooks/useFileUpload/useFileUpload.d.ts.map +1 -0
- package/lib/hooks/useFileUpload/useFileUpload.js +7 -2
- 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/index.d.ts +2 -0
- package/lib/hooks/useFilteredOptions/index.d.ts.map +1 -0
- package/lib/hooks/useFilteredOptions/useFilteredOptions.d.ts +17 -0
- package/lib/hooks/useFilteredOptions/useFilteredOptions.d.ts.map +1 -0
- package/lib/hooks/useFilteredOptions/useFilteredOptions.js +3 -1
- 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/index.d.ts +2 -0
- package/lib/hooks/useInfiniteScroll/index.d.ts.map +1 -0
- package/lib/hooks/useInfiniteScroll/useInfiniteScroll.d.ts +15 -0
- package/lib/hooks/useInfiniteScroll/useInfiniteScroll.d.ts.map +1 -0
- package/lib/hooks/useInputState/index.d.ts +2 -0
- package/lib/hooks/useInputState/index.d.ts.map +1 -0
- package/lib/hooks/useInputState/useInputState.d.ts +16 -0
- package/lib/hooks/useInputState/useInputState.d.ts.map +1 -0
- package/lib/hooks/useInputState/useInputState.js +3 -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/index.d.ts +2 -0
- package/lib/hooks/useLockedBody/index.d.ts.map +1 -0
- package/lib/hooks/useLockedBody/useLockedBody.d.ts +4 -0
- package/lib/hooks/useLockedBody/useLockedBody.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/index.d.ts +2 -0
- package/lib/hooks/useModal/index.d.ts.map +1 -0
- package/lib/hooks/useModal/useModal.d.ts +11 -0
- package/lib/hooks/useModal/useModal.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 +3 -0
- package/lib/hooks/useMountTransition/index.d.ts.map +1 -0
- package/lib/hooks/useMountTransition/index.js +2 -0
- 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/index.d.ts +2 -0
- package/lib/hooks/usePagination/index.d.ts.map +1 -0
- package/lib/hooks/usePagination/usePagination.d.ts +5 -0
- package/lib/hooks/usePagination/usePagination.d.ts.map +1 -0
- package/lib/hooks/usePagination/usePagination.js +3 -0
- 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/index.d.ts +2 -0
- package/lib/hooks/useReferenceElementWidth/index.d.ts.map +1 -0
- package/lib/hooks/useReferenceElementWidth/useReferenceElementWidth.d.ts +2 -0
- package/lib/hooks/useReferenceElementWidth/useReferenceElementWidth.d.ts.map +1 -0
- package/lib/hooks/useResizeObserver/index.d.ts +2 -0
- package/lib/hooks/useResizeObserver/index.d.ts.map +1 -0
- package/lib/hooks/useResizeObserver/useResizeObserver.d.ts +3 -0
- package/lib/hooks/useResizeObserver/useResizeObserver.d.ts.map +1 -0
- package/lib/hooks/useResizeObserver/useResizeObserver.js +3 -0
- package/lib/hooks/useToastPortal/index.d.ts +2 -0
- package/lib/hooks/useToastPortal/index.d.ts.map +1 -0
- package/lib/hooks/useToastPortal/useToastPortal.d.ts +10 -0
- package/lib/hooks/useToastPortal/useToastPortal.d.ts.map +1 -0
- package/lib/hooks/useToastPortal/useToastPortal.js +3 -3
- package/lib/hooks/useToggle/index.d.ts +2 -0
- package/lib/hooks/useToggle/index.d.ts.map +1 -0
- package/lib/hooks/useToggle/useToggle.d.ts +2 -0
- package/lib/hooks/useToggle/useToggle.d.ts.map +1 -0
- 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/index.d.ts +2 -0
- package/lib/hooks/useWindowSize/index.d.ts.map +1 -0
- package/lib/hooks/useWindowSize/useWindowSize.d.ts +7 -0
- package/lib/hooks/useWindowSize/useWindowSize.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/index.d.ts +6 -0
- package/lib/index.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/styles/index.d.ts +268 -0
- package/lib/styles/index.d.ts.map +1 -0
- package/lib/styles/variables/_border.d.ts +13 -0
- package/lib/styles/variables/_border.d.ts.map +1 -0
- package/lib/styles/variables/_color.d.ts +105 -0
- package/lib/styles/variables/_color.d.ts.map +1 -0
- package/lib/styles/variables/_elevation.d.ts +8 -0
- package/lib/styles/variables/_elevation.d.ts.map +1 -0
- package/lib/styles/variables/_font.d.ts +31 -0
- package/lib/styles/variables/_font.d.ts.map +1 -0
- package/lib/styles/variables/_motion.d.ts +7 -0
- package/lib/styles/variables/_motion.d.ts.map +1 -0
- package/lib/styles/variables/_opacity.d.ts +16 -0
- package/lib/styles/variables/_opacity.d.ts.map +1 -0
- package/lib/styles/variables/_shadow.d.ts +25 -0
- package/lib/styles/variables/_shadow.d.ts.map +1 -0
- package/lib/styles/variables/_size.d.ts +58 -0
- package/lib/styles/variables/_size.d.ts.map +1 -0
- package/lib/styles/variables/_space.d.ts +13 -0
- package/lib/styles/variables/_space.d.ts.map +1 -0
- package/lib/types/charts.d.ts +224 -0
- package/lib/types/charts.d.ts.map +1 -0
- package/lib/types/charts.js +5 -1
- package/lib/types/common.d.ts +10 -0
- package/lib/types/common.d.ts.map +1 -0
- package/lib/types/cssvariables.d.js +3 -0
- package/lib/types/date-range-picker.d.ts +21 -0
- package/lib/types/date-range-picker.d.ts.map +1 -0
- package/lib/types/date-range-picker.js +5 -1
- package/lib/types/flow-to-typescript-codemod.d.js +1 -0
- package/lib/types/global.d.js +1 -0
- package/lib/types/index.d.ts +7 -0
- package/lib/types/index.d.ts.map +1 -0
- package/lib/types/menu.d.ts +13 -0
- package/lib/types/menu.d.ts.map +1 -0
- package/lib/types/menu.js +5 -1
- package/lib/types/toast.d.ts +28 -0
- package/lib/types/toast.d.ts.map +1 -0
- package/lib/types/toast.js +0 -2
- package/lib/types/typography.d.ts +17 -0
- package/lib/types/typography.d.ts.map +1 -0
- package/lib/utils/array/are-arrays-equal.d.ts +4 -0
- package/lib/utils/array/are-arrays-equal.d.ts.map +1 -0
- package/lib/utils/array/index.d.ts +2 -0
- package/lib/utils/array/index.d.ts.map +1 -0
- package/lib/utils/charts/charts.d.ts +17 -0
- package/lib/utils/charts/charts.d.ts.map +1 -0
- package/lib/utils/charts/charts.js +4 -0
- package/lib/utils/charts/columnChart.d.ts +8 -0
- package/lib/utils/charts/columnChart.d.ts.map +1 -0
- package/lib/utils/charts/columnChart.js +3 -1
- package/lib/utils/charts/donutChart.d.ts +21 -0
- package/lib/utils/charts/donutChart.d.ts.map +1 -0
- package/lib/utils/charts/donutChart.js +7 -2
- package/lib/utils/charts/funnelChart.d.ts +10 -0
- package/lib/utils/charts/funnelChart.d.ts.map +1 -0
- package/lib/utils/charts/funnelChart.js +5 -1
- package/lib/utils/charts/helpers.d.ts +76 -0
- package/lib/utils/charts/helpers.d.ts.map +1 -0
- package/lib/utils/charts/helpers.js +2 -5
- package/lib/utils/charts/index.d.ts +8 -0
- package/lib/utils/charts/index.d.ts.map +1 -0
- package/lib/utils/charts/lineChart.d.ts +7 -0
- package/lib/utils/charts/lineChart.d.ts.map +1 -0
- package/lib/utils/charts/lineChart.js +3 -1
- package/lib/utils/charts/spiderChart.d.ts +18 -0
- package/lib/utils/charts/spiderChart.d.ts.map +1 -0
- package/lib/utils/charts/typography.d.ts +58 -0
- package/lib/utils/charts/typography.d.ts.map +1 -0
- package/lib/utils/classify/classify.stories.d.ts +17 -0
- package/lib/utils/classify/classify.stories.d.ts.map +1 -0
- package/lib/utils/classify/index.d.ts +3 -0
- package/lib/utils/classify/index.d.ts.map +1 -0
- package/lib/utils/classify/index.js +1 -1
- 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 +77 -0
- package/lib/utils/click-away/click-away.d.ts.map +1 -0
- package/lib/utils/click-away/click-away.js +18 -5
- package/lib/utils/click-away/index.d.ts +2 -0
- package/lib/utils/click-away/index.d.ts.map +1 -0
- package/lib/utils/date-range-picker/date-range-picker.d.ts +63 -0
- package/lib/utils/date-range-picker/date-range-picker.d.ts.map +1 -0
- package/lib/utils/date-range-picker/date-range-picker.js +26 -5
- package/lib/utils/date-range-picker/index.d.ts +3 -0
- package/lib/utils/date-range-picker/index.d.ts.map +1 -0
- package/lib/utils/date-range-picker/timezones.d.ts +258 -0
- package/lib/utils/date-range-picker/timezones.d.ts.map +1 -0
- package/lib/utils/date-range-picker/timezones.js +0 -1
- package/lib/utils/dom/dom.d.ts +38 -0
- package/lib/utils/dom/dom.d.ts.map +1 -0
- package/lib/utils/dom/dom.js +9 -7
- package/lib/utils/dom/dom.stories.d.ts +15 -0
- package/lib/utils/dom/dom.stories.d.ts.map +1 -0
- package/lib/utils/dom/index.d.ts +2 -0
- package/lib/utils/dom/index.d.ts.map +1 -0
- package/lib/utils/helpers/helpers.d.ts +4 -0
- package/lib/utils/helpers/helpers.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/helpers/index.d.ts +2 -0
- package/lib/utils/helpers/index.d.ts.map +1 -0
- package/lib/utils/index.d.ts +15 -0
- package/lib/utils/index.d.ts.map +1 -0
- package/lib/utils/makeClassNameComponent/index.d.ts +2 -0
- package/lib/utils/makeClassNameComponent/index.d.ts.map +1 -0
- package/lib/utils/makeClassNameComponent/makeClassNameComponent.d.ts +9 -0
- package/lib/utils/makeClassNameComponent/makeClassNameComponent.d.ts.map +1 -0
- package/lib/utils/makeClassNameComponent/makeClassNameComponent.js +23 -8
- 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/index.d.ts +2 -0
- package/lib/utils/menu/index.d.ts.map +1 -0
- package/lib/utils/menu/menu.d.ts +20 -0
- package/lib/utils/menu/menu.d.ts.map +1 -0
- package/lib/utils/menu/menu.js +0 -2
- package/lib/utils/merge-refs/index.d.ts +2 -0
- package/lib/utils/merge-refs/index.d.ts.map +1 -0
- package/lib/utils/merge-refs/merge-refs.d.ts +4 -0
- package/lib/utils/merge-refs/merge-refs.d.ts.map +1 -0
- package/lib/utils/merge-refs/merge-refs.js +1 -0
- 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/index.d.ts +2 -0
- package/lib/utils/rating/index.d.ts.map +1 -0
- package/lib/utils/rating/rating.d.ts +13 -0
- package/lib/utils/rating/rating.d.ts.map +1 -0
- package/lib/utils/score-bar/index.d.ts +2 -0
- package/lib/utils/score-bar/index.d.ts.map +1 -0
- package/lib/utils/score-bar/score-bar.d.ts +10 -0
- package/lib/utils/score-bar/score-bar.d.ts.map +1 -0
- package/lib/utils/string/index.d.ts +2 -0
- package/lib/utils/string/index.d.ts.map +1 -0
- package/lib/utils/string/string.d.ts +6 -0
- package/lib/utils/string/string.d.ts.map +1 -0
- 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 +15 -0
- package/lib/utils/token-list-input/token-list-input.d.ts.map +1 -0
- package/lib/utils/token-list-input/token-list-input.js +0 -2
- package/lib/utils/tokens/index.d.ts +2 -0
- package/lib/utils/tokens/index.d.ts.map +1 -0
- package/lib/utils/tokens/tokens.d.ts +41 -0
- package/lib/utils/tokens/tokens.d.ts.map +1 -0
- package/lint-staged.config.js +1 -1
- package/package.json +41 -14
- package/tsconfig.declaration.json +11 -0
- package/tsconfig.json +37 -0
- 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
- package/lib/components/Accordion/Accordion.js.flow +0 -115
- package/lib/components/Accordion/AccordionGroup.js.flow +0 -77
- package/lib/components/Accordion/index.js.flow +0 -4
- package/lib/components/Avatar/Avatar.js.flow +0 -269
- package/lib/components/Avatar/index.js.flow +0 -3
- package/lib/components/AvatarGroup/AvatarGroup.js.flow +0 -164
- package/lib/components/AvatarGroup/index.js.flow +0 -3
- package/lib/components/Badge/Badge.js.flow +0 -147
- package/lib/components/Badge/index.js.flow +0 -3
- package/lib/components/BadgedIcon/BadgedIcon.js.flow +0 -73
- package/lib/components/BadgedIcon/index.js.flow +0 -3
- package/lib/components/Banner/Banner.js.flow +0 -60
- package/lib/components/Banner/index.js.flow +0 -3
- package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.js.flow +0 -58
- package/lib/components/Breadcrumbs/BreadcrumbLink/index.js.flow +0 -3
- package/lib/components/Breadcrumbs/Breadcrumbs.js.flow +0 -59
- package/lib/components/Breadcrumbs/index.js.flow +0 -4
- package/lib/components/Button/Button.js.flow +0 -286
- package/lib/components/Button/index.js.flow +0 -16
- package/lib/components/ButtonDropdown/ButtonDropdown.js.flow +0 -226
- package/lib/components/ButtonDropdown/SimpleButtonDropdown.js.flow +0 -169
- package/lib/components/ButtonDropdown/index.js.flow +0 -4
- package/lib/components/ButtonTabs/ButtonTab/ButtonTab.js.flow +0 -82
- package/lib/components/ButtonTabs/ButtonTab/index.js.flow +0 -3
- package/lib/components/ButtonTabs/ButtonTabDropdown.js.flow +0 -150
- package/lib/components/ButtonTabs/ButtonTabs.js.flow +0 -121
- package/lib/components/ButtonTabs/index.js.flow +0 -4
- package/lib/components/Card/Card.js.flow +0 -174
- package/lib/components/Card/index.js.flow +0 -3
- package/lib/components/Charts/ChartTooltip/index.js.flow +0 -15
- package/lib/components/Charts/ChartWrapper/ChartWrapper.js.flow +0 -190
- package/lib/components/Charts/ChartWrapper/index.js.flow +0 -3
- package/lib/components/Charts/ColumnChart/ColumnChart.js.flow +0 -126
- package/lib/components/Charts/ColumnChart/index.js.flow +0 -3
- package/lib/components/Charts/DonutChart/DonutChart.js.flow +0 -158
- package/lib/components/Charts/DonutChart/index.js.flow +0 -3
- package/lib/components/Charts/FunnelChart/FunnelChart.js.flow +0 -115
- package/lib/components/Charts/FunnelChart/index.js.flow +0 -3
- package/lib/components/Charts/LineChart/LineChart.js.flow +0 -113
- package/lib/components/Charts/LineChart/index.js.flow +0 -3
- package/lib/components/Charts/SpiderChart/SpiderChart.js.flow +0 -111
- package/lib/components/Charts/SpiderChart/index.js.flow +0 -3
- package/lib/components/Charts/index.js.flow +0 -9
- package/lib/components/ChatBubble/ChatBubble.js.flow +0 -222
- package/lib/components/ChatBubble/index.js.flow +0 -3
- package/lib/components/Checkbox/Checkbox.js.flow +0 -168
- package/lib/components/Checkbox/CheckboxGroup.js.flow +0 -116
- package/lib/components/Checkbox/index.js.flow +0 -3
- package/lib/components/Chip/Chip.js.flow +0 -199
- package/lib/components/Chip/index.js.flow +0 -4
- package/lib/components/CircularLoader/CircularLoader.js.flow +0 -58
- package/lib/components/CircularLoader/index.js.flow +0 -3
- package/lib/components/CollapsibleCard/CollapsibleCard.js.flow +0 -146
- package/lib/components/CollapsibleCard/index.js.flow +0 -3
- package/lib/components/Combobox/Combobox.js.flow +0 -287
- package/lib/components/Combobox/helper.js.flow +0 -204
- package/lib/components/Combobox/index.js.flow +0 -3
- package/lib/components/ConditionalWrapper/ConditionalWrapper.js.flow +0 -16
- package/lib/components/ConditionalWrapper/index.js.flow +0 -3
- package/lib/components/DateRangePicker/Calendar.js.flow +0 -112
- package/lib/components/DateRangePicker/DateRangePicker.js.flow +0 -214
- package/lib/components/DateRangePicker/DateRangeWrapper.js.flow +0 -384
- package/lib/components/DateRangePicker/Day.js.flow +0 -75
- package/lib/components/DateRangePicker/index.js.flow +0 -3
- package/lib/components/Dialog/Dialog.js.flow +0 -228
- package/lib/components/Dialog/index.js.flow +0 -2
- package/lib/components/Disclaimer/Disclaimer.js.flow +0 -41
- package/lib/components/Disclaimer/index.js.flow +0 -3
- package/lib/components/Dropdown/Dropdown.js.flow +0 -176
- package/lib/components/Dropdown/SimpleDropdown.js.flow +0 -170
- package/lib/components/Dropdown/index.js.flow +0 -4
- package/lib/components/EmptyState/EmptyImages/CalendarEmptyImage.js.flow +0 -112
- package/lib/components/EmptyState/EmptyImages/ChartEmptyImage.js.flow +0 -198
- package/lib/components/EmptyState/EmptyImages/DataEmptyImage.js.flow +0 -120
- package/lib/components/EmptyState/EmptyImages/FileEmptyImage.js.flow +0 -137
- package/lib/components/EmptyState/EmptyImages/MessageEmptyImage.js.flow +0 -68
- package/lib/components/EmptyState/EmptyImages/UploadEmptyImage.js.flow +0 -71
- package/lib/components/EmptyState/EmptyImages/index.js.flow +0 -8
- package/lib/components/EmptyState/EmptyState.js.flow +0 -91
- package/lib/components/EmptyState/index.js.flow +0 -3
- package/lib/components/ErrorMessage/ErrorImages/ForbiddenImage.js.flow +0 -89
- package/lib/components/ErrorMessage/ErrorImages/NotFoundImage.js.flow +0 -121
- package/lib/components/ErrorMessage/ErrorImages/ServerErrorImage.js.flow +0 -241
- package/lib/components/ErrorMessage/ErrorImages/UnauthorizedImage.js.flow +0 -77
- package/lib/components/ErrorMessage/ErrorImages/index.js.flow +0 -6
- package/lib/components/ErrorMessage/ErrorMessage.js.flow +0 -95
- package/lib/components/ErrorMessage/index.js.flow +0 -3
- package/lib/components/FileUpload/FileBlock/FileBlock.js.flow +0 -139
- package/lib/components/FileUpload/FileBlock/index.js.flow +0 -3
- package/lib/components/FileUpload/FileUpload.js.flow +0 -212
- package/lib/components/FileUpload/index.js.flow +0 -4
- package/lib/components/FilterButtonOverlay/FilterButtonOverlay.js.flow +0 -166
- package/lib/components/FilterButtonOverlay/index.js.flow +0 -3
- package/lib/components/FocusManager/FocusManager.js.flow +0 -57
- package/lib/components/FocusManager/index.js.flow +0 -3
- package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.js.flow +0 -152
- package/lib/components/FocusManagerWithArrowKeyNavigation/index.js.flow +0 -3
- package/lib/components/FormTitleWrapper/FormTitleWrapper.js.flow +0 -68
- package/lib/components/FormTitleWrapper/index.js.flow +0 -3
- package/lib/components/Grid/Grid.js.flow +0 -110
- package/lib/components/Grid/index.js.flow +0 -3
- package/lib/components/Icon/ClickableIcon.js.flow +0 -111
- package/lib/components/Icon/Icon.docs.js.flow +0 -120
- package/lib/components/Icon/Icon.js.flow +0 -77
- package/lib/components/Icon/SemanticIcon.js.flow +0 -48
- package/lib/components/Icon/index.js.flow +0 -5
- package/lib/components/InContextAlert/InContextAlert.js.flow +0 -208
- package/lib/components/InContextAlert/index.js.flow +0 -3
- package/lib/components/InfinitePagination/InfinitePagination.js.flow +0 -122
- package/lib/components/InfinitePagination/index.js.flow +0 -3
- package/lib/components/InlineDropdown/InlineDropdown.js.flow +0 -181
- package/lib/components/InlineDropdown/SimpleInlineDropdown.js.flow +0 -167
- package/lib/components/InlineDropdown/index.js.flow +0 -4
- package/lib/components/Input/Input.js.flow +0 -325
- package/lib/components/Input/index.js.flow +0 -3
- package/lib/components/KPIBox/KPIBox.js.flow +0 -98
- package/lib/components/KPIBox/index.js.flow +0 -3
- package/lib/components/LinearLoader/LinearLoader.js.flow +0 -49
- package/lib/components/LinearLoader/index.js.flow +0 -3
- package/lib/components/Link/Link.js.flow +0 -231
- package/lib/components/Link/index.js.flow +0 -3
- package/lib/components/Menu/Menu.js.flow +0 -391
- package/lib/components/Menu/MenuOptionButton.js.flow +0 -201
- package/lib/components/Menu/index.js.flow +0 -4
- package/lib/components/Modal/Modal.js.flow +0 -370
- package/lib/components/Modal/index.js.flow +0 -15
- package/lib/components/Notification/Notification.js.flow +0 -149
- package/lib/components/Notification/index.js.flow +0 -3
- package/lib/components/OptionButton/OptionButton.js.flow +0 -153
- package/lib/components/OptionButton/SimpleOptionButton.js.flow +0 -161
- package/lib/components/OptionButton/index.js.flow +0 -4
- package/lib/components/PageTitle/PageTitle.js.flow +0 -267
- package/lib/components/PageTitle/index.js.flow +0 -3
- package/lib/components/Pagination/Pagination.js.flow +0 -158
- package/lib/components/Pagination/PaginationItem.js.flow +0 -120
- package/lib/components/Pagination/index.js.flow +0 -3
- package/lib/components/Panel/Panel.js.flow +0 -181
- package/lib/components/Panel/index.js.flow +0 -10
- package/lib/components/ProgressDonut/ProgressDonut.js.flow +0 -111
- package/lib/components/ProgressDonut/index.js.flow +0 -3
- package/lib/components/PromptChip/PromptChip.js.flow +0 -166
- package/lib/components/PromptChip/index.js.flow +0 -3
- package/lib/components/PromptInput/PromptInput.js.flow +0 -194
- package/lib/components/PromptInput/index.js.flow +0 -3
- package/lib/components/RadioButton/RadioButton.js.flow +0 -134
- package/lib/components/RadioButton/RadioGroup.js.flow +0 -94
- package/lib/components/RadioButton/index.js.flow +0 -3
- package/lib/components/RadioTile/RadioTile.js.flow +0 -110
- package/lib/components/RadioTile/index.js.flow +0 -3
- package/lib/components/RangeSlider/RangeSlider.js.flow +0 -202
- package/lib/components/RangeSlider/index.js.flow +0 -3
- package/lib/components/Rating/Rating.js.flow +0 -134
- package/lib/components/Rating/index.js.flow +0 -3
- package/lib/components/ScoreBar/ScoreBar.js.flow +0 -135
- package/lib/components/ScoreBar/index.js.flow +0 -3
- package/lib/components/SearchInput/SearchInput.js.flow +0 -88
- package/lib/components/SearchInput/index.js.flow +0 -4
- package/lib/components/Separator/Separator.js.flow +0 -60
- package/lib/components/Separator/index.js.flow +0 -3
- package/lib/components/Shimmer/Shimmer.js.flow +0 -141
- package/lib/components/Shimmer/index.js.flow +0 -3
- package/lib/components/SideMenuLink/SideMenuLink.js.flow +0 -344
- package/lib/components/SideMenuLink/index.js.flow +0 -3
- package/lib/components/StatusIndicator/StatusIndicator.js.flow +0 -68
- package/lib/components/StatusIndicator/index.js.flow +0 -3
- package/lib/components/Stepper/Step/Step.js.flow +0 -123
- package/lib/components/Stepper/Step/StepContent.js.flow +0 -40
- package/lib/components/Stepper/Step/StepLabel.js.flow +0 -40
- package/lib/components/Stepper/Step/index.js.flow +0 -5
- package/lib/components/Stepper/Stepper.js.flow +0 -64
- package/lib/components/Stepper/index.js.flow +0 -4
- package/lib/components/StickyBar/StickyBar.js.flow +0 -67
- package/lib/components/StickyBar/index.js.flow +0 -3
- package/lib/components/SubMenu/SubMenu.js.flow +0 -96
- package/lib/components/SubMenu/SubMenuGroup.js.flow +0 -156
- package/lib/components/SubMenu/SubMenuItem.js.flow +0 -170
- package/lib/components/SubMenu/SubMenuLink.js.flow +0 -89
- package/lib/components/SubMenu/index.js.flow +0 -6
- package/lib/components/Table/Cell.js.flow +0 -122
- package/lib/components/Table/DefaultRow.js.flow +0 -152
- package/lib/components/Table/DefaultTableHeader.js.flow +0 -240
- package/lib/components/Table/StaticTable.js.flow +0 -576
- package/lib/components/Table/Table.docs.js.flow +0 -550
- package/lib/components/Table/Table.js.flow +0 -154
- package/lib/components/Table/TableActionBar.js.flow +0 -55
- package/lib/components/Table/TableBottomBar.js.flow +0 -28
- package/lib/components/Table/TableTopBar.js.flow +0 -28
- package/lib/components/Table/dummyTableData.js.flow +0 -2191
- package/lib/components/Table/hooks.js.flow +0 -97
- package/lib/components/Table/index.js.flow +0 -10
- package/lib/components/Tabs/Tab/Tab.js.flow +0 -140
- package/lib/components/Tabs/Tab/index.js.flow +0 -3
- package/lib/components/Tabs/TabList/TabDropdown.js.flow +0 -123
- package/lib/components/Tabs/TabList/TabList.js.flow +0 -161
- package/lib/components/Tabs/TabList/index.js.flow +0 -3
- package/lib/components/Tabs/index.js.flow +0 -4
- package/lib/components/Text/Text.js.flow +0 -1060
- package/lib/components/Text/index.js.flow +0 -32
- package/lib/components/TextTile/TextTile.js.flow +0 -44
- package/lib/components/TextTile/index.js.flow +0 -3
- package/lib/components/Textarea/Textarea.js.flow +0 -139
- package/lib/components/Textarea/index.js.flow +0 -4
- package/lib/components/Timeline/Timeline.js.flow +0 -47
- package/lib/components/Timeline/TimelineItem/TimelineItem.js.flow +0 -127
- package/lib/components/Timeline/TimelineItem/index.js.flow +0 -3
- package/lib/components/Timeline/index.js.flow +0 -4
- package/lib/components/Toast/Toast.js.flow +0 -249
- package/lib/components/Toast/ToastContainer.js.flow +0 -125
- package/lib/components/Toast/ToastManager.js.flow +0 -67
- package/lib/components/Toast/index.js.flow +0 -12
- package/lib/components/Toggle/Toggle.js.flow +0 -115
- package/lib/components/Toggle/index.js.flow +0 -2
- package/lib/components/TokenListInput/TokenListInput.js.flow +0 -389
- package/lib/components/TokenListInput/TokenValueChips.js.flow +0 -69
- package/lib/components/TokenListInput/index.js.flow +0 -3
- package/lib/components/Tooltip/Tooltip.js.flow +0 -206
- package/lib/components/Tooltip/index.js.flow +0 -3
- package/lib/components/Truncate/Truncate.js.flow +0 -86
- package/lib/components/Truncate/index.js.flow +0 -4
- package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.js.flow +0 -104
- package/lib/components/TruncatedTextWithTooltip/index.js.flow +0 -3
- package/lib/components/Typeahead/SimpleTypeahead.js.flow +0 -164
- package/lib/components/Typeahead/Typeahead.js.flow +0 -250
- package/lib/components/Typeahead/index.js.flow +0 -4
- package/lib/components/WeekdayPicker/WeekdayPicker.js.flow +0 -229
- package/lib/components/WeekdayPicker/index.js.flow +0 -3
- package/lib/components/index.js.flow +0 -77
- package/lib/hooks/index.js.flow +0 -18
- package/lib/hooks/useArbitraryOptionAddition/index.js.flow +0 -3
- package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.js.flow +0 -117
- package/lib/hooks/useCopyToClipboard/index.js.flow +0 -3
- package/lib/hooks/useCopyToClipboard/useCopyToClipboard.js.flow +0 -31
- package/lib/hooks/useDebounce/index.js.flow +0 -3
- package/lib/hooks/useDebounce/useDebounce.js.flow +0 -17
- package/lib/hooks/useFileUpload/index.js.flow +0 -3
- package/lib/hooks/useFileUpload/useFileUpload.js.flow +0 -304
- package/lib/hooks/useFilteredOptions/index.js.flow +0 -3
- package/lib/hooks/useFilteredOptions/useFilteredOptions.js.flow +0 -81
- package/lib/hooks/useInfiniteScroll/index.js.flow +0 -3
- package/lib/hooks/useInfiniteScroll/useInfiniteScroll.js.flow +0 -82
- package/lib/hooks/useInputState/index.js.flow +0 -3
- package/lib/hooks/useInputState/useInputState.js.flow +0 -28
- package/lib/hooks/useLockedBody/index.js.flow +0 -3
- package/lib/hooks/useLockedBody/useLockedBody.js.flow +0 -54
- package/lib/hooks/useModal/index.js.flow +0 -3
- package/lib/hooks/useModal/useModal.js.flow +0 -39
- package/lib/hooks/useMountTransition/index.js.flow +0 -27
- package/lib/hooks/usePagination/index.js.flow +0 -3
- package/lib/hooks/usePagination/usePagination.js.flow +0 -155
- package/lib/hooks/useReferenceElementWidth/index.js.flow +0 -3
- package/lib/hooks/useReferenceElementWidth/useReferenceElementWidth.js.flow +0 -23
- package/lib/hooks/useResizeObserver/index.js.flow +0 -3
- package/lib/hooks/useResizeObserver/useResizeObserver.js.flow +0 -28
- package/lib/hooks/useToastPortal/index.js.flow +0 -3
- package/lib/hooks/useToastPortal/useToastPortal.js.flow +0 -30
- package/lib/hooks/useToggle/index.js.flow +0 -3
- package/lib/hooks/useToggle/useToggle.js.flow +0 -17
- package/lib/hooks/useWindowSize/index.js.flow +0 -3
- package/lib/hooks/useWindowSize/useWindowSize.js.flow +0 -41
- package/lib/index.js.flow +0 -7
- package/lib/styles/index.js.flow +0 -535
- package/lib/styles/variables/_border.js.flow +0 -25
- package/lib/styles/variables/_color.js.flow +0 -209
- package/lib/styles/variables/_elevation.js.flow +0 -15
- package/lib/styles/variables/_font.js.flow +0 -61
- package/lib/styles/variables/_motion.js.flow +0 -13
- package/lib/styles/variables/_opacity.js.flow +0 -31
- package/lib/styles/variables/_shadow.js.flow +0 -49
- package/lib/styles/variables/_size.js.flow +0 -115
- package/lib/styles/variables/_space.js.flow +0 -25
- package/lib/types/charts.js.flow +0 -263
- package/lib/types/common.js.flow +0 -13
- package/lib/types/date-range-picker.js.flow +0 -17
- package/lib/types/index.js.flow +0 -8
- package/lib/types/menu.js.flow +0 -15
- package/lib/types/toast.js.flow +0 -41
- package/lib/types/typography.js.flow +0 -19
- package/lib/utils/array/are-arrays-equal.js.flow +0 -14
- package/lib/utils/array/index.js.flow +0 -3
- package/lib/utils/charts/charts.js.flow +0 -111
- package/lib/utils/charts/columnChart.js.flow +0 -63
- package/lib/utils/charts/donutChart.js.flow +0 -119
- package/lib/utils/charts/funnelChart.js.flow +0 -102
- package/lib/utils/charts/helpers.js.flow +0 -68
- package/lib/utils/charts/index.js.flow +0 -9
- package/lib/utils/charts/lineChart.js.flow +0 -51
- package/lib/utils/charts/spiderChart.js.flow +0 -59
- package/lib/utils/charts/typography.js.flow +0 -53
- package/lib/utils/classify/index.js.flow +0 -29
- package/lib/utils/click-away/click-away.js.flow +0 -228
- package/lib/utils/click-away/index.js.flow +0 -3
- package/lib/utils/date-range-picker/date-range-picker.js.flow +0 -442
- package/lib/utils/date-range-picker/index.js.flow +0 -4
- package/lib/utils/date-range-picker/timezones.js.flow +0 -269
- package/lib/utils/dom/dom.js.flow +0 -238
- package/lib/utils/dom/index.js.flow +0 -3
- package/lib/utils/helpers/helpers.js.flow +0 -53
- package/lib/utils/helpers/index.js.flow +0 -3
- package/lib/utils/index.js.flow +0 -16
- package/lib/utils/makeClassNameComponent/index.js.flow +0 -3
- package/lib/utils/makeClassNameComponent/makeClassNameComponent.js.flow +0 -70
- package/lib/utils/menu/index.js.flow +0 -3
- package/lib/utils/menu/menu.js.flow +0 -193
- package/lib/utils/merge-refs/index.js.flow +0 -3
- package/lib/utils/merge-refs/merge-refs.js.flow +0 -14
- package/lib/utils/rating/index.js.flow +0 -3
- package/lib/utils/rating/rating.js.flow +0 -35
- package/lib/utils/score-bar/index.js.flow +0 -3
- package/lib/utils/score-bar/score-bar.js.flow +0 -58
- package/lib/utils/string/index.js.flow +0 -3
- package/lib/utils/string/string.js.flow +0 -33
- package/lib/utils/token-list-input/token-list-input.js.flow +0 -37
- package/lib/utils/tokens/index.js.flow +0 -3
- package/lib/utils/tokens/tokens.js.flow +0 -244
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BasicTable.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Table/BasicTable.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAsB/B,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,IAAI,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQnC,wBAIE;AA+BF,KAAK,cAAc,GAAG;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAyDF,KAAK,SAAS,GAAG;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAKF,KAAK,UAAU,GAAG;IAChB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAoKF,eAAO,MAAM,YAAY;WACjB,UAAU,CACd;QACE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;KACxB,EACD;QACE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;KACxB,CACF;;;;;;;+BAlP6B;gBAAC,IAAI,EAAE,cAAc,CAAA;aAAC;;;;;+BAMrB;gBAAC,IAAI,EAAE,cAAc,CAAA;aAAC;;;;;;CAwPtD,CAAC;AAQF,eAAO,MAAM,WAAW;WAChB,UAAU,CACd;QACE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;KACxB,EACD;QACE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;KACxB,CACF;;;;;;;;;;;;;;;;CAgDF,CAAC;AAQF,eAAO,MAAM,iBAAiB;WACtB,UAAU,CACd;QACE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;KACxB,EACD;QACE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;KACxB,CACF;;;;;;2CAnOI;gBACD,IAAI,EAAE;oBACJ,IAAI,EAAE,MAAM,CAAC;iBACd,CAAC;gBACF,SAAS,EAAE,MAAM,CAAC;aACnB;;;;;;;;;;;;;;;;;+BAzCmB;gBAAC,IAAI,EAAE,UAAU,CAAA;aAAC;;;;;;;;CAuTzC,CAAC;AASF,eAAO,MAAM,UAAU;WACf,UAAU,CACd;QACE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;KACxB,EACD;QACE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;KACxB,CACF;;;;;;;2CA/MI;gBACD,IAAI,EAAE;oBACJ,IAAI,EAAE,MAAM,CAAC;iBACd,CAAC;gBACF,SAAS,EAAE,MAAM,CAAC;aACnB;;;;;;;;;;;;+BA9HmB;gBAAC,IAAI,EAAE,UAAU,CAAA;aAAC;;;;;;;;;;;;;;;;CAwXzC,CAAC;AAWF,eAAO,MAAM,aAAa;WAClB,UAAU,CACd;QACE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;KACxB,EACD;QACE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;KACxB,CACF;;;;;;;2CAlRI;gBACD,IAAI,EAAE;oBACJ,IAAI,EAAE,MAAM,CAAC;iBACd,CAAC;gBACF,SAAS,EAAE,MAAM,CAAC;aACnB;;;;;;;;;;;;+BA9HmB;gBAAC,IAAI,EAAE,UAAU,CAAA;aAAC;;;;;;;;;;;;;;;;CA6bzC,CAAC;AASF,eAAO,MAAM,mBAAmB;WACxB,UAAU,CACd;QACE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;KACxB,EACD;QACE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;KACxB,CACF;;;;;;;2CArVI;gBACD,IAAI,EAAE;oBACJ,IAAI,EAAE,MAAM,CAAC;iBACd,CAAC;gBACF,SAAS,EAAE,MAAM,CAAC;aACnB;;;;;;;;;;;;+BA9HmB;gBAAC,IAAI,EAAE,UAAU,CAAA;aAAC;;;;;;;;;;;;;;;;CAqgBzC,CAAC;AAWF,eAAO,MAAM,WAAW;WAChB,UAAU,CACd;QACE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;KACxB,EACD;QACE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;KACxB,CACF;;;;;;;2CA/ZI;gBACD,IAAI,EAAE;oBACJ,IAAI,EAAE,MAAM,CAAC;iBACd,CAAC;gBACF,SAAS,EAAE,MAAM,CAAC;aACnB;;;;;;;;;;;;+BA9HmB;gBAAC,IAAI,EAAE,UAAU,CAAA;aAAC;;;;;;;;;;;;;;;;CAklBzC,CAAC;AASF,eAAO,MAAM,sBAAsB;WAC3B,UAAU,CACd;QACE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;KACxB,EACD;QACE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;KACxB,CACF;;;;;;;;;;;;;;;;;;;;;CAiDF,CAAC;AAWF,eAAO,MAAM,4BAA4B;WACjC,UAAU,CACd;QACE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;KACxB,EACD;QACE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;KACxB,CACF;;;;;;;2CA5lBI;gBACD,IAAI,EAAE;oBACJ,IAAI,EAAE,MAAM,CAAC;iBACd,CAAC;gBACF,SAAS,EAAE,MAAM,CAAC;aACnB;;;;;;;;;;;+BAhFmB;gBAAC,IAAI,EAAE,UAAU,CAAA;aAAC;;;;;;;;;;;CAwtBzC,CAAC;AA8FF,eAAO,MAAM,+BAA+B;WACpC,UAAU,CACd;QACE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;KACxB,EACD;QACE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;KACxB,CACF;;;;;;;;;;CAiCF,CAAC"}
|
|
@@ -0,0 +1,327 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { TableProps } from './';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
argTypes: {
|
|
5
|
+
readonly headers: {
|
|
6
|
+
readonly type: {
|
|
7
|
+
readonly required: true;
|
|
8
|
+
};
|
|
9
|
+
readonly description: "Provide an array of objects to render the header, each object should consist of label(*), key(*), sortable, sticky and render function";
|
|
10
|
+
readonly control: {
|
|
11
|
+
readonly type: "object";
|
|
12
|
+
};
|
|
13
|
+
readonly table: {
|
|
14
|
+
readonly type: {
|
|
15
|
+
readonly summary: "{label: React.Node, key: $Keys<T>, className?: string, filterIcon?: React.Node, filtered?: boolean, subtext?: string, sortable?: boolean, headerIconClassName?: string, sticky?: boolean, render?: React.ComponentType<{data: T, extras?: U, className?: string, selected?: boolean,}>, }";
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
readonly entries: {
|
|
20
|
+
readonly type: {
|
|
21
|
+
readonly required: true;
|
|
22
|
+
};
|
|
23
|
+
readonly description: "Provide an array of object. Each object belong on one row in the table. Each object should have id and all the keys with values that is being passed in headers array";
|
|
24
|
+
readonly control: {
|
|
25
|
+
readonly type: "object";
|
|
26
|
+
};
|
|
27
|
+
readonly table: {
|
|
28
|
+
readonly type: {
|
|
29
|
+
readonly summary: "Array<T>";
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
readonly classNames: {
|
|
34
|
+
readonly description: "Provide optional classNames to be applied to the wrapper, table, tableHeader, tableBody, tableRow, or checkbox";
|
|
35
|
+
readonly control: {
|
|
36
|
+
readonly type: "object";
|
|
37
|
+
};
|
|
38
|
+
readonly table: {
|
|
39
|
+
readonly type: {
|
|
40
|
+
readonly summary: "{wrapper?: string, table?: string, tableHeader?: string, tableBody?: string, tableRow?: string, checkbox?: string}";
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
readonly Row: {
|
|
45
|
+
readonly description: "Custom Row component to be passed to table";
|
|
46
|
+
readonly table: {
|
|
47
|
+
readonly type: {
|
|
48
|
+
readonly summary: "TableRow<T, U>";
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
readonly sortable: {
|
|
53
|
+
readonly description: "Sort Icon will appear in right side of column's header with column level true sortable value";
|
|
54
|
+
readonly name: "sortable";
|
|
55
|
+
readonly options: readonly [false, true];
|
|
56
|
+
readonly control: "boolean";
|
|
57
|
+
readonly table: {
|
|
58
|
+
readonly type: {
|
|
59
|
+
readonly summary: "boolean";
|
|
60
|
+
};
|
|
61
|
+
readonly defaultValue: {
|
|
62
|
+
readonly summary: true;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
readonly showHeader: {
|
|
67
|
+
readonly description: "Show or hide header";
|
|
68
|
+
readonly options: readonly [false, true];
|
|
69
|
+
readonly control: "boolean";
|
|
70
|
+
readonly table: {
|
|
71
|
+
readonly type: {
|
|
72
|
+
readonly summary: "boolean";
|
|
73
|
+
};
|
|
74
|
+
readonly defaultValue: {
|
|
75
|
+
readonly summary: true;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
readonly defaultSortKey: {
|
|
80
|
+
readonly description: "key name for which table should be sorted by default. headers array should have sortable true for that key object";
|
|
81
|
+
readonly control: {
|
|
82
|
+
readonly type: "text";
|
|
83
|
+
};
|
|
84
|
+
readonly table: {
|
|
85
|
+
readonly type: {
|
|
86
|
+
readonly summary: "string";
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
readonly defaultSortDirection: {
|
|
91
|
+
readonly description: "default sorting direction for the defaultSortKey column";
|
|
92
|
+
readonly control: {
|
|
93
|
+
readonly type: "text";
|
|
94
|
+
};
|
|
95
|
+
readonly table: {
|
|
96
|
+
readonly type: {
|
|
97
|
+
readonly summary: "'asc' | 'desc' | 'original'";
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
readonly selectedKeys: {
|
|
102
|
+
readonly description: "array of keys which are selected. This prop is also used to decide weather to show checkboxes or not. So, pass an empty array in case no row is selected.";
|
|
103
|
+
readonly control: {
|
|
104
|
+
readonly type: "object";
|
|
105
|
+
};
|
|
106
|
+
readonly table: {
|
|
107
|
+
readonly type: {
|
|
108
|
+
readonly summary: "string[]";
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
readonly disabledKeys: {
|
|
113
|
+
readonly description: "array of keys which are disabled. This prop is used to disable the checkbox and its events for particular rows.";
|
|
114
|
+
readonly control: {
|
|
115
|
+
readonly type: "object";
|
|
116
|
+
};
|
|
117
|
+
readonly table: {
|
|
118
|
+
readonly type: {
|
|
119
|
+
readonly summary: "string[]";
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
readonly onSelect: {
|
|
124
|
+
readonly description: "callback function when any row is selected";
|
|
125
|
+
readonly action: "selected";
|
|
126
|
+
readonly type: {
|
|
127
|
+
readonly summary: "(keys: string[]) => mixed";
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
readonly idName: {
|
|
131
|
+
readonly description: "name of key in row objects that has to be used as id";
|
|
132
|
+
};
|
|
133
|
+
readonly onSort: {
|
|
134
|
+
readonly description: "callback function when any table is sorted";
|
|
135
|
+
readonly action: "sorted";
|
|
136
|
+
readonly type: {
|
|
137
|
+
readonly summary: "(key: $Keys<T>, direction: SortDirection) => void";
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
readonly isLoading: {
|
|
141
|
+
readonly description: "to wait for data to populate in table and show loading state when entries array is empty.";
|
|
142
|
+
readonly options: readonly [false, true];
|
|
143
|
+
readonly control: "boolean";
|
|
144
|
+
readonly table: {
|
|
145
|
+
readonly type: {
|
|
146
|
+
readonly summary: "boolean";
|
|
147
|
+
};
|
|
148
|
+
readonly defaultValue: {
|
|
149
|
+
readonly summary: false;
|
|
150
|
+
};
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
readonly emptyText: {
|
|
154
|
+
readonly description: "Provide component to be shown in case of empty data";
|
|
155
|
+
readonly table: {
|
|
156
|
+
readonly type: {
|
|
157
|
+
readonly summary: "React.Component";
|
|
158
|
+
};
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
readonly customLoader: {
|
|
162
|
+
readonly description: "Provide optional component to be shown in case of loading state. It will override the default loader.";
|
|
163
|
+
readonly table: {
|
|
164
|
+
readonly type: {
|
|
165
|
+
readonly summary: "React.Component";
|
|
166
|
+
};
|
|
167
|
+
};
|
|
168
|
+
};
|
|
169
|
+
readonly disabled: {
|
|
170
|
+
readonly description: "disable all the checkboxes of each row in the table";
|
|
171
|
+
readonly options: readonly [false, true];
|
|
172
|
+
readonly control: "boolean";
|
|
173
|
+
readonly table: {
|
|
174
|
+
readonly type: {
|
|
175
|
+
readonly summary: "boolean";
|
|
176
|
+
};
|
|
177
|
+
readonly defaultValue: {
|
|
178
|
+
readonly summary: false;
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
readonly borderRadius: {
|
|
183
|
+
readonly description: "Border Radius of all four corners of the table. Default value is borderRadiusMedium i.e., 12px.";
|
|
184
|
+
readonly control: "text";
|
|
185
|
+
readonly table: {
|
|
186
|
+
readonly type: {
|
|
187
|
+
readonly summary: "string";
|
|
188
|
+
};
|
|
189
|
+
readonly defaultValue: {
|
|
190
|
+
readonly summary: "12px";
|
|
191
|
+
};
|
|
192
|
+
};
|
|
193
|
+
};
|
|
194
|
+
readonly stickyHeader: {
|
|
195
|
+
readonly description: "Sticky header will stick the header to the top of the table when scrolling. This would only work if the table wrapper is scrollable.";
|
|
196
|
+
readonly control: "boolean";
|
|
197
|
+
readonly table: {
|
|
198
|
+
readonly type: {
|
|
199
|
+
readonly summary: "boolean";
|
|
200
|
+
};
|
|
201
|
+
readonly defaultValue: {
|
|
202
|
+
readonly summary: false;
|
|
203
|
+
};
|
|
204
|
+
};
|
|
205
|
+
};
|
|
206
|
+
readonly enableInternalSorting: {
|
|
207
|
+
readonly description: "Enable internal sorting for the table. This would sort the table data internally and not rely on the apis sorting";
|
|
208
|
+
readonly control: "boolean";
|
|
209
|
+
readonly table: {
|
|
210
|
+
readonly type: {
|
|
211
|
+
readonly summary: "?boolean";
|
|
212
|
+
};
|
|
213
|
+
readonly defaultValue: {
|
|
214
|
+
readonly summary: true;
|
|
215
|
+
};
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
readonly rowsCount: {
|
|
219
|
+
readonly name: "virtualizationOptions.rowsCount";
|
|
220
|
+
readonly description: "Total number of virtual rows.";
|
|
221
|
+
readonly control: {
|
|
222
|
+
readonly type: "number";
|
|
223
|
+
};
|
|
224
|
+
readonly table: {
|
|
225
|
+
readonly type: {
|
|
226
|
+
readonly summary: "number";
|
|
227
|
+
};
|
|
228
|
+
readonly defaultValue: {
|
|
229
|
+
readonly summary: 20;
|
|
230
|
+
};
|
|
231
|
+
};
|
|
232
|
+
};
|
|
233
|
+
readonly rowHeight: {
|
|
234
|
+
readonly name: "virtualizationOptions.rowHeight";
|
|
235
|
+
readonly description: "Row height in CSS units (e.g., \"48px\"). Should be provided correctly, otherwise it will not work as expected.";
|
|
236
|
+
readonly control: {
|
|
237
|
+
readonly type: "text";
|
|
238
|
+
};
|
|
239
|
+
readonly table: {
|
|
240
|
+
readonly type: {
|
|
241
|
+
readonly summary: "string";
|
|
242
|
+
};
|
|
243
|
+
readonly defaultValue: {
|
|
244
|
+
readonly summary: "48px";
|
|
245
|
+
};
|
|
246
|
+
};
|
|
247
|
+
};
|
|
248
|
+
readonly isEndLoading: {
|
|
249
|
+
readonly name: "virtualizationOptions.isEndLoading";
|
|
250
|
+
readonly description: "Whether to show loading spinner at the bottom.";
|
|
251
|
+
readonly control: {
|
|
252
|
+
readonly type: "boolean";
|
|
253
|
+
};
|
|
254
|
+
readonly table: {
|
|
255
|
+
readonly type: {
|
|
256
|
+
readonly summary: "boolean";
|
|
257
|
+
};
|
|
258
|
+
readonly defaultValue: {
|
|
259
|
+
readonly summary: false;
|
|
260
|
+
};
|
|
261
|
+
};
|
|
262
|
+
};
|
|
263
|
+
readonly isAllDataFetched: {
|
|
264
|
+
readonly name: "virtualizationOptions.isAllDataFetched";
|
|
265
|
+
readonly description: "Whether all rows are fetched (disables infinite loading).";
|
|
266
|
+
readonly control: {
|
|
267
|
+
readonly type: "boolean";
|
|
268
|
+
};
|
|
269
|
+
readonly table: {
|
|
270
|
+
readonly type: {
|
|
271
|
+
readonly summary: "boolean";
|
|
272
|
+
};
|
|
273
|
+
readonly defaultValue: {
|
|
274
|
+
readonly summary: false;
|
|
275
|
+
};
|
|
276
|
+
};
|
|
277
|
+
};
|
|
278
|
+
readonly onEndReached: {
|
|
279
|
+
readonly name: "virtualizationOptions.onEndReached";
|
|
280
|
+
readonly description: "Callback triggered when end of list is reached.";
|
|
281
|
+
readonly action: "onEndReached";
|
|
282
|
+
readonly table: {
|
|
283
|
+
readonly type: {
|
|
284
|
+
readonly summary: "() => void";
|
|
285
|
+
};
|
|
286
|
+
};
|
|
287
|
+
};
|
|
288
|
+
};
|
|
289
|
+
parameters: {
|
|
290
|
+
readonly docs: {
|
|
291
|
+
readonly subtitle: "Generates a Table component.";
|
|
292
|
+
readonly description: {
|
|
293
|
+
readonly component: "\n```js\nimport {\n Table,\n StaticTable,\n DefaultRow,\n BasicSingleCell,\n DateCell,\n DoubleCell,\n SingleCell,\n MonogramCell,\n TableActionBar,\n ButtonCta,\n DropdownCta,\n TableTopBar,\n TableBottomBar\n} from \"@spaced-out/ui-design-system/lib/components/Table\";\n```\nTable component internally uses HTML Table, Thead, Tbody, Tr, Th and Td tags. It accepts entries and headers for showing table.\nThe Table component takes care of lots of things for you but it's not a magical component, it wraps a lot of behavior, so you can have,\nfor instance, a static table with no sorting options.\n\nStaticTables work just like regular tables, except they don't have interactive headers, so you lose sorting.\nBut remember, a regular interactive table uses a static table under the hood,\nso how does it work? You can think of the StaticTable as a kind of controlled table component.\nexcept that traditionally we'd update the entries prop and rerender from that.\nThat would work just fine, but instead we can just pass in the keys we care about. By using StaticTable,\nwe can simplify filtering and sorting outside of the table while the table keeps a stable value reference to all the entities.\n\nTo make any of rows selectable, we can do that by also passing in another property, selectedKeys.\n\nLet's say we want to also make any of the rows selectable, we can do that by also passing in another property, selectedKeys.\n\n### Custom Cells\n\nIt's possible you need to render out a custom cell, not just the default cell.\nThere are two ways to do that. If you only need to modify a single cell,\nyou can simply add a render: `React.ComponentType<{data: T, extras?: U}>`\nkey to any given header item.\n\nThis cell renderer receives the _whole row_ of data, not just the individual cell, it's up to you what to do with it.\n\n### With Table Top, Bottom Bar and Actions\n\nYou can attach a top, bottom and action bar to the table by adding `TableTopBar`, `TableBottomBar` and `TableActionBar` components.\nThere are just semantic components which just provide padding and border standardization. You can add any component inside these components.\nThese also accept **className** prop.\n\n### Best Practices\n* A Data Table should always have a `TableTopBar`\n* Use `stickyHeader` prop to make the header sticky\n* Always assign a height to the table wrapper to make it scrollable\n* Manage the Table's Wrapper height effectively when using `TableActionBar` component\n* Always use local `ButtonCta` and `DropdownCta` for actions in Action bar. These components are\njust CSS Wrappers for Button and SimpleButtonDropdown components\n* Use ButtonCta component to add a button CTA in the `TableActionBar`\n* Use DropdownCta component to add a dropdown CTA button in the `TableActionBar` for screen width less than size1280(1280px)\n\n### Handling Sticky Headers with Virtualization\n* When using **virtualization**, always assign a fixed `min-width` and `max-width` to sticky table headers with **same value**.\nThis ensures a strict, fixed width for header cells. Directly using `width` (non strict for table headers) alone is not sufficient, as\nit can be overridden by content width due to table layout behavior, causing headers to shift.\n* If the cell content may exceed the defined width, or if you're unsure of its maximum width, also use `white-space: normal;` and `word-break: break-word;`\nto ensure the content wraps within the cell instead of overflowing or causing layout shifts.\n\nThis helps maintain consistent column alignment and improves readability across varying data lengths.\n\n```jsx\n<Table\n headers={TABLE_HEADERS}\n entries={TABLE_DATA}\n stickyHeader={true}\n classNames={{\n wrapper: classify(css.tableWrapper, {\n [css.withActionBar]: getNumberOfEntriesSelected() > 0,\n })\n }}\n/>\n```\n\n```css\n.tableWrapper {\n height: calc(sizeFullViewportHeight - size160);\n}\n\n.tableWrapper.withActionBar {\n height: calc((sizeFullViewportHeight - size160) - actionBarHeight);\n}\n```\n\n### Usage\n\n```jsx\nconst TABLE_HEADERS = [\n { label: \"Name\", key: \"name\", sortable: true, className: css.mediumColumn },\n { label: \"Tel\", key: \"phone\", sortable: true, className: css.mediumColumn },\n];\n\nconst TABLE_DATA = [\n {\n id: \"1\",\n name: \"Alice\",\n phone: \"123-456-7890\",\n },\n {\n id: \"2\",\n name: \"Bob\",\n phone: \"987-654-3210\",\n },\n];\n\nexport const _TableExample = (): React.Node => {\n return (\n <div className={css.container}>\n {/* Top Bar with Filters */}\n <TableTopBar>\n <div className={css.left}>\n <SubTitleMedium className={css.title}>Basic Data Table</SubTitleMedium>\n <SearchInput />\n </div>\n </TableTopBar>\n\n {/* Table */}\n <Table\n headers={TABLE_HEADERS}\n entries={TABLE_DATA}\n isLoading={isLoading}\n stickyHeader={true}\n borderRadius={'0'}\n selectedKeys={staticTableKeysAcrossPages[currPage] || []}\n onSelect={(keys) => {\n setSelectAllEntries(false);\n setStaticTableKeysAcrossPages({\n ...staticTableKeysAcrossPages,\n [currPage]: keys,\n });\n }}\n classNames={{\n wrapper: classify(css.tableWrapper, {\n [css.withActionBar]: getNumberOfEntriesSelected() > 0,\n })\n }}\n />\n\n {/* Table Actions */}\n {getNumberOfEntriesSelected() > 0 && (\n <TableActionBar className={css.actionBar}>\n <div className={css.leftActionSlot}>\n <ButtonCta\n onClick={() => {\n setSelectAllEntries(true);\n setStaticTableKeysAcrossPages({\n ...staticTableKeysAcrossPages,\n [currPage]: tableEntries.map((entry) => entry.id),\n });\n }}\n >\n Select all items\n </ButtonCta>\n {getNumberOfEntriesSelected() > 0 && (\n <BodySmall color=\"inversePrimary\">\n {getNumberOfEntriesSelected() entries selected}\n </BodySmall>\n )}\n </div>\n <div className={classify(css.middleActionSlot, css.fullTable)}>\n <ButtonCta size=\"small\" iconLeftName=\"folder-plus\">\n Add to group\n </ButtonCta>\n </div>\n <div className={classify(css.middleActionSlot, css.smallTable)}>\n <ButtonCta size=\"small\" iconLeftName=\"folder-plus\">\n Add to group\n </ButtonCta>\n <DropdownCta\n ariaLabel=\"Icon Button Dropdown\"\n iconLeftName=\"ellipsis\"\n options={[\n {\n iconLeft: 'layer-plus',\n key: '1',\n label: 'Create group',\n },\n ]}\n selectedKeys={selectedKeys}\n onOptionSelect={() => setSelectedKeys([])}\n size=\"small\"\n />\n </div>\n <div className={css.rightActionSlot}>\n <ButtonCta\n iconLeftName=\"close\"\n onClick={() => {\n setSelectAllEntries(false);\n setStaticTableKeysAcrossPages({});\n }}\n >\n Close\n </ButtonCta>\n </div>\n </TableActionBar>\n )}\n\n {/* Bottom Bar with Pagination */}\n <TableBottomBar>\n <Pagination\n currentPage={currPage}\n totalPages={totalPages}\n onChange={(page) => {\n onMove(page || 1);\n }}\n >\n <SubTitleExtraSmall color=\"secondary\">\n Showing page {currPage} of {totalPages}\n </SubTitleExtraSmall>\n </Pagination>\n </TableBottomBar>\n </div>\n );\n};\n```\n\n```css\n@value actionBarHeight: size50;\n\n.container {\n width: sizeFluid;\n}\n\n.left {\n display: flex;\n align-items: center;\n}\n\n.title {\n margin-right: spaceMedium;\n}\n\n.mediumColumn {\n width: calc(sizeFluid / 5);\n}\n\n.tableWrapper {\n height: calc(sizeFullViewportHeight - size160);\n}\n\n.actionBar {\n display: flex;\n align-items: center;\n gap: spaceXSmall;\n}\n\n.tableWrapper.withActionBar {\n height: calc((sizeFullViewportHeight - size160) - actionBarHeight);\n}\n\n.leftActionSlot,\n.rightActionSlot,\n.middleActionSlot {\n display: flex;\n gap: spaceSmall;\n align-items: center;\n}\n\n.leftActionSlot,\n.rightActionSlot {\n width: calc(sizeFluid / 4);\n}\n\n.leftActionSlot {\n justify-content: flex-start;\n}\n\n.middleActionSlot {\n width: calc(sizeFluid / 2);\n justify-content: center;\n gap: spaceXXSmall;\n}\n\n.rightActionSlot {\n justify-content: flex-end;\n}\n\n.smallTable {\n display: none;\n}\n\n@media only screen and (max-width: size1280) {\n .fullTable {\n display: none;\n }\n\n .smallTable {\n display: flex;\n }\n}\n\n.dangerText {\n color: colorTextDanger;\n}\n\n.dangerText:hover,\n.dangerText:active,\n.dangerText:focus {\n color: colorTextDanger;\n}\n\n```\n ";
|
|
294
|
+
};
|
|
295
|
+
};
|
|
296
|
+
readonly storySource: {
|
|
297
|
+
readonly componentPath: "/src/components/Table/Table";
|
|
298
|
+
};
|
|
299
|
+
};
|
|
300
|
+
tags: string[];
|
|
301
|
+
title: string;
|
|
302
|
+
};
|
|
303
|
+
export default _default;
|
|
304
|
+
export declare const _BulkActions: {
|
|
305
|
+
(args: TableProps<{
|
|
306
|
+
[key: string]: unknown;
|
|
307
|
+
}, {
|
|
308
|
+
[key: string]: unknown;
|
|
309
|
+
}>): React.JSX.Element;
|
|
310
|
+
args: {
|
|
311
|
+
headers: ({
|
|
312
|
+
label: string;
|
|
313
|
+
key: string;
|
|
314
|
+
sortable: boolean;
|
|
315
|
+
className: string;
|
|
316
|
+
render?: undefined;
|
|
317
|
+
} | {
|
|
318
|
+
label: string;
|
|
319
|
+
key: string;
|
|
320
|
+
render: () => React.JSX.Element;
|
|
321
|
+
className: string;
|
|
322
|
+
sortable?: undefined;
|
|
323
|
+
})[];
|
|
324
|
+
borderRadius: string;
|
|
325
|
+
};
|
|
326
|
+
};
|
|
327
|
+
//# sourceMappingURL=BulkActions.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BulkActions.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Table/BulkActions.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,IAAI,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBnC,wBAIE;AAuCF,eAAO,MAAM,YAAY;WACjB,UAAU,CACd;QACE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;KACxB,EACD;QACE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;KACxB,CACF;;;;;;;;;;;;;;;;;CA6LF,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { ClassNameComponent } from '../../utils/makeClassNameComponent';
|
|
3
|
+
type CellsProps = {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
className?: string | null | undefined;
|
|
6
|
+
truncatedText?: React.ReactNode;
|
|
7
|
+
onClick?: ((arg1: React.SyntheticEvent<HTMLElement>) => unknown) | null | undefined;
|
|
8
|
+
};
|
|
9
|
+
export declare const Cells: ({ children, className, ...rest }: CellsProps) => React.ReactElement<React.ComponentProps<"div">>;
|
|
10
|
+
export declare const Cell: ({ children, className, }: CellsProps) => React.ReactElement<React.ComponentProps<"div">>;
|
|
11
|
+
export declare const BasicSingleCell: ClassNameComponent<'td'>;
|
|
12
|
+
export declare const BasicDoubleCell: ClassNameComponent<'td'>;
|
|
13
|
+
export declare const PaddedContentCell: ClassNameComponent<'td'>;
|
|
14
|
+
export declare const PaddedDoubleContentCell: ClassNameComponent<'td'>;
|
|
15
|
+
export declare const SingleCell: ({ title, className, }: {
|
|
16
|
+
title: string;
|
|
17
|
+
icon?: React.ReactNode;
|
|
18
|
+
className?: string;
|
|
19
|
+
}) => React.JSX.Element;
|
|
20
|
+
export declare const DoubleCell: ({ title, subtitle, className, }: {
|
|
21
|
+
title: React.ReactNode;
|
|
22
|
+
subtitle?: React.ReactNode;
|
|
23
|
+
className?: string;
|
|
24
|
+
}) => React.JSX.Element;
|
|
25
|
+
export declare const DateCell: ({ date, className, }: {
|
|
26
|
+
date: string | Date;
|
|
27
|
+
className?: string;
|
|
28
|
+
}) => React.JSX.Element;
|
|
29
|
+
export declare const Monogram: ({ initials }: {
|
|
30
|
+
initials: string;
|
|
31
|
+
}) => React.JSX.Element;
|
|
32
|
+
export declare const MonogramCell: ({ initials, className, }: {
|
|
33
|
+
initials: string;
|
|
34
|
+
className?: string;
|
|
35
|
+
}) => React.JSX.Element;
|
|
36
|
+
export {};
|
|
37
|
+
//# sourceMappingURL=Cell.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Cell.d.ts","sourceRoot":"","sources":["../../../src/components/Table/Cell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,oCAAoC,CAAC;AAQ3E,KAAK,UAAU,GAAG;IAChB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACtC,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAChC,OAAO,CAAC,EACJ,CAAC,CAAC,IAAI,EAAE,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,KAAK,OAAO,CAAC,GACtD,IAAI,GACJ,SAAS,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,KAAK,GAAI,kCAInB,UAAU,KAAG,KAAK,CAAC,YAAY,CAAC,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAK7D,CAAC;AAEF,eAAO,MAAM,IAAI,GAAI,0BAGlB,UAAU,KAAG,KAAK,CAAC,YAAY,CAAC,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,CAE7D,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,kBAAkB,CAAC,IAAI,CAGpD,CAAC;AACF,eAAO,MAAM,eAAe,EAAE,kBAAkB,CAAC,IAAI,CAGpD,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,kBAAkB,CAAC,IAAI,CACF,CAAC;AAEtD,eAAO,MAAM,uBAAuB,EAAE,kBAAkB,CAAC,IAAI,CACR,CAAC;AAEtD,eAAO,MAAM,UAAU,GAAI,uBAGxB;IACD,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,sBAIA,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,iCAIxB;IACD,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,sBASA,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,sBAGtB;IACD,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,sBAWA,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,cAAY;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAC,sBAEtD,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,0BAG1B;IACD,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,sBAIA,CAAC"}
|
|
@@ -14,17 +14,20 @@ var _Text = require("../Text");
|
|
|
14
14
|
var _TableModule = _interopRequireDefault(require("./Table.module.css"));
|
|
15
15
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
16
16
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
17
|
-
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
18
|
-
// $FlowIssue[nonstrict-import] date-fns
|
|
17
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
19
18
|
const Cells = _ref => {
|
|
20
19
|
let {
|
|
21
20
|
children,
|
|
22
21
|
className,
|
|
23
22
|
...rest
|
|
24
23
|
} = _ref;
|
|
25
|
-
return
|
|
26
|
-
|
|
27
|
-
|
|
24
|
+
return (
|
|
25
|
+
/*#__PURE__*/
|
|
26
|
+
//@ts-expect-error
|
|
27
|
+
React.createElement("div", _extends({
|
|
28
|
+
className: (0, _classify.classify)(_TableModule.default.row, className)
|
|
29
|
+
}, rest), children)
|
|
30
|
+
);
|
|
28
31
|
};
|
|
29
32
|
exports.Cells = Cells;
|
|
30
33
|
const Cell = _ref2 => {
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { ClassNameComponent } from '../../utils/makeClassNameComponent';
|
|
3
|
+
import type { GenericHeaderItems } from './DefaultTableHeader';
|
|
4
|
+
import type { GenericObject } from './Table';
|
|
5
|
+
type ClassNames = Readonly<{
|
|
6
|
+
tableRow?: string;
|
|
7
|
+
checkbox?: string;
|
|
8
|
+
}>;
|
|
9
|
+
export type TableRowProps<T, U> = {
|
|
10
|
+
data: T;
|
|
11
|
+
extras?: U;
|
|
12
|
+
sortedKeys?: string[];
|
|
13
|
+
headers?: GenericHeaderItems<T, U>;
|
|
14
|
+
selected?: boolean;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
};
|
|
17
|
+
export type TableRow<T, U> = React.ComponentType<TableRowProps<T, U>>;
|
|
18
|
+
export declare const BasicRow: ClassNameComponent<'tr'>;
|
|
19
|
+
type EmptyRowProps = {
|
|
20
|
+
emptyText?: React.ReactNode;
|
|
21
|
+
isLoading?: boolean;
|
|
22
|
+
headersLength: number;
|
|
23
|
+
customLoader?: React.ReactNode;
|
|
24
|
+
};
|
|
25
|
+
export declare const EmptyRow: ({ isLoading, emptyText, headersLength, customLoader, }: EmptyRowProps) => React.ReactElement<React.ComponentProps<"tr">>;
|
|
26
|
+
export declare function DefaultRow<T extends GenericObject, U extends GenericObject>({ data, extras, headers, selected, onSelect, classNames, disabled, }: {
|
|
27
|
+
data: T;
|
|
28
|
+
extras?: U;
|
|
29
|
+
headers: GenericHeaderItems<T, U>;
|
|
30
|
+
selected?: boolean;
|
|
31
|
+
onSelect?: (arg1: {
|
|
32
|
+
value: string;
|
|
33
|
+
checked: boolean;
|
|
34
|
+
}) => unknown;
|
|
35
|
+
classNames?: ClassNames;
|
|
36
|
+
disabled?: boolean;
|
|
37
|
+
}): React.JSX.Element;
|
|
38
|
+
export {};
|
|
39
|
+
//# sourceMappingURL=DefaultRow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DefaultRow.d.ts","sourceRoot":"","sources":["../../../src/components/Table/DefaultRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,oCAAoC,CAAC;AAO3E,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,sBAAsB,CAAC;AAC7D,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,SAAS,CAAC;AAK3C,KAAK,UAAU,GAAG,QAAQ,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC,CAAC;AAQH,MAAM,MAAM,aAAa,CAAC,CAAC,EAAE,CAAC,IAAI;IAChC,IAAI,EAAE,CAAC,CAAC;IACR,MAAM,CAAC,EAAE,CAAC,CAAC;IACX,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,OAAO,CAAC,EAAE,kBAAkB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,QAAQ,CAAC,CAAC,EAAE,CAAC,IAAI,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;AAEtE,eAAO,MAAM,QAAQ,EAAE,kBAAkB,CAAC,IAAI,CAG7C,CAAC;AAEF,KAAK,aAAa,GAAG;IACnB,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC5B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAChC,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,wDAKtB,aAAa,KAAG,KAAK,CAAC,YAAY,CAAC,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,CA0B/D,CAAC;AASF,wBAAgB,UAAU,CAAC,CAAC,SAAS,aAAa,EAAE,CAAC,SAAS,aAAa,EAAE,EAC3E,IAAI,EACJ,MAAM,EACN,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,QAAQ,GACT,EAAE;IACD,IAAI,EAAE,CAAC,CAAC;IACR,MAAM,CAAC,EAAE,CAAC,CAAC;IACX,OAAO,EAAE,kBAAkB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,OAAO,CAAA;KAAC,KAAK,OAAO,CAAC;IAChE,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,qBA4CA"}
|
|
@@ -22,6 +22,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
22
22
|
// Note that b/c extras is often optional, you will need to explicitly include
|
|
23
23
|
// `invariant(extras, 'extras exists');` in order to pull values out of
|
|
24
24
|
// extras (flow will remind you that it is of type `U | void`)
|
|
25
|
+
|
|
25
26
|
const BasicRow = exports.BasicRow = (0, _makeClassNameComponent.makeClassNameComponent)(_TableModule.default.defaultRow, 'tr');
|
|
26
27
|
const EmptyRow = _ref => {
|
|
27
28
|
let {
|
|
@@ -49,7 +50,6 @@ const EmptyRow = _ref => {
|
|
|
49
50
|
// initially stubbing out a design, the idea is you just avoid
|
|
50
51
|
// passing in a Row component and instead let this render out
|
|
51
52
|
// all the fields in the header in the short term
|
|
52
|
-
//
|
|
53
53
|
// Using the default row has the benefit that mismatches between
|
|
54
54
|
// header and entries _will_ error out even though there are the
|
|
55
55
|
// suppressions below
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { ClassNameComponent } from '../../utils/makeClassNameComponent';
|
|
3
|
+
import type { SortDirection } from './hooks';
|
|
4
|
+
import type { GenericObject } from './Table';
|
|
5
|
+
export type GenericHeaderItem<T extends GenericObject, U extends GenericObject> = {
|
|
6
|
+
label: React.ReactNode;
|
|
7
|
+
key: keyof T;
|
|
8
|
+
className?: string;
|
|
9
|
+
filterIcon?: React.ReactNode;
|
|
10
|
+
filtered?: boolean;
|
|
11
|
+
subtext?: string;
|
|
12
|
+
sortable?: boolean;
|
|
13
|
+
headerIconClassName?: string;
|
|
14
|
+
sticky?: boolean;
|
|
15
|
+
render?: React.ComponentType<{
|
|
16
|
+
data: T;
|
|
17
|
+
extras?: U;
|
|
18
|
+
className?: string;
|
|
19
|
+
selected?: boolean;
|
|
20
|
+
disabled?: boolean;
|
|
21
|
+
}>;
|
|
22
|
+
};
|
|
23
|
+
export type GenericHeaderItems<T, U> = GenericHeaderItem<T, U>[];
|
|
24
|
+
export declare const BasicHeadCell: ClassNameComponent<'th'>;
|
|
25
|
+
export declare const BasicTableHead: ClassNameComponent<'thead'>;
|
|
26
|
+
export type TableHeaderProps<T, U> = {
|
|
27
|
+
className?: string;
|
|
28
|
+
tableHeaderClassName?: string;
|
|
29
|
+
sortable?: boolean;
|
|
30
|
+
columns: GenericHeaderItems<T, U>;
|
|
31
|
+
handleSortClick?: (sortKey: keyof T) => unknown;
|
|
32
|
+
sortKey?: keyof T;
|
|
33
|
+
sortDirection?: SortDirection;
|
|
34
|
+
checked?: 'true' | 'false' | 'mixed';
|
|
35
|
+
handleCheckboxClick?: (arg1: {
|
|
36
|
+
value: string;
|
|
37
|
+
checked: boolean;
|
|
38
|
+
}) => unknown;
|
|
39
|
+
disabled?: boolean;
|
|
40
|
+
stickyHeader?: boolean;
|
|
41
|
+
};
|
|
42
|
+
export declare function DefaultTableHeader<T extends GenericObject, U extends GenericObject>(props: TableHeaderProps<T, U>): React.JSX.Element;
|
|
43
|
+
//# sourceMappingURL=DefaultTableHeader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DefaultTableHeader.d.ts","sourceRoot":"","sources":["../../../src/components/Table/DefaultTableHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,oCAAoC,CAAC;AAO3E,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,SAAS,CAAC;AAC3C,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,SAAS,CAAC;AAK3C,MAAM,MAAM,iBAAiB,CAC3B,CAAC,SAAS,aAAa,EACvB,CAAC,SAAS,aAAa,IACrB;IACF,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,GAAG,EAAE,MAAM,CAAC,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAC3B,IAAI,EAAE,CAAC,CAAC;QACR,MAAM,CAAC,EAAE,CAAC,CAAC;QACX,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;KACpB,CAAC,CAAC;CACJ,CAAC;AAGF,MAAM,MAAM,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI,iBAAiB,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC;AAEjE,eAAO,MAAM,aAAa,EAAE,kBAAkB,CAAC,IAAI,CAGlD,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,kBAAkB,CAAC,OAAO,CACA,CAAC;AAExD,MAAM,MAAM,gBAAgB,CAAC,CAAC,EAAE,CAAC,IAAI;IACnC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,kBAAkB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAClC,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC,KAAK,OAAO,CAAC;IAChD,OAAO,CAAC,EAAE,MAAM,CAAC,CAAC;IAClB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,OAAO,CAAC;IACrC,mBAAmB,CAAC,EAAE,CAAC,IAAI,EAAE;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,OAAO,CAAA;KAAC,KAAK,OAAO,CAAC;IAC3E,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;AA4CF,wBAAgB,kBAAkB,CAChC,CAAC,SAAS,aAAa,EACvB,CAAC,SAAS,aAAa,EACvB,KAAK,EAAE,gBAAgB,CAAC,CAAC,EAAE,CAAC,CAAC,qBAuI9B"}
|
|
@@ -15,6 +15,8 @@ var _DefaultRow = require("./DefaultRow");
|
|
|
15
15
|
var _TableModule = _interopRequireDefault(require("./Table.module.css"));
|
|
16
16
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
17
17
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
18
|
+
// @ts-ignore - TS2344 - Type 'T' does not satisfy the constraint 'GenericObject'.
|
|
19
|
+
|
|
18
20
|
const BasicHeadCell = exports.BasicHeadCell = (0, _makeClassNameComponent.makeClassNameComponent)(_TableModule.default.defaultHeaderCell, 'th');
|
|
19
21
|
const BasicTableHead = exports.BasicTableHead = (0, _makeClassNameComponent.makeClassNameComponent)(_TableModule.default.defaultTableHead, 'thead');
|
|
20
22
|
const SortIcon = _ref => {
|
|
@@ -116,11 +118,16 @@ function DefaultTableHeader(props) {
|
|
|
116
118
|
className: _TableModule.default.headerSubtext
|
|
117
119
|
}, subtext && subtext)), (sortable || filterIcon != null) && /*#__PURE__*/React.createElement("div", {
|
|
118
120
|
className: _TableModule.default.headerIconContainer
|
|
119
|
-
}, columnSortable &&
|
|
121
|
+
}, columnSortable &&
|
|
122
|
+
/*#__PURE__*/
|
|
123
|
+
// @ts-ignore - TS2786 - 'SortIcon' cannot be used as a JSX component.
|
|
124
|
+
React.createElement(SortIcon, {
|
|
120
125
|
color: _Text.TEXT_COLORS.secondary,
|
|
121
126
|
className: (0, _classify.default)(_TableModule.default.sortArrow, {
|
|
122
127
|
[_TableModule.default.selectedSortArrow]: sortKey === key
|
|
123
|
-
})
|
|
128
|
+
})
|
|
129
|
+
// @ts-ignore - TS2322 - Type 'string' is not assignable to type 'SortDirection'.
|
|
130
|
+
,
|
|
124
131
|
sortDirection: columnSortDirection
|
|
125
132
|
}), filterIcon != null && /*#__PURE__*/React.createElement("div", {
|
|
126
133
|
className: _TableModule.default.filterIcon
|