@spaced-out/ui-design-system 0.5.7-beta.0 → 0.5.7-beta.2
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 +3 -0
- package/.github/CODEOWNERS +0 -5
- package/.github/workflows/pull_request_checks.yml +4 -4
- package/.storybook/main.ts +7 -1
- package/.storybook/public/component-parent-levels.json +95 -0
- package/.type-coverage +13 -0
- package/CHANGELOG.md +50 -0
- package/cspell.json +0 -1
- package/design-tokens/size/base-size.json +3 -0
- package/eslint.config.mjs +85 -37
- package/lib/components/AIPromptFlow/AIPromptFlow.stories.d.ts.map +1 -1
- package/lib/components/Accordion/Accordion.d.ts +2 -2
- package/lib/components/Accordion/Accordion.d.ts.map +1 -1
- package/lib/components/Accordion/Accordion.js +4 -4
- package/lib/components/Accordion/Accordion.stories.d.ts +1 -1
- package/lib/components/Accordion/Accordion.stories.d.ts.map +1 -1
- package/lib/components/Accordion/AccordionGroup.d.ts +2 -2
- package/lib/components/Accordion/AccordionGroup.d.ts.map +1 -1
- package/lib/components/Accordion/AccordionGroup.js +2 -2
- package/lib/components/Accordion/AccordionGroup.stories.d.ts +1 -1
- package/lib/components/Accordion/AccordionGroup.stories.d.ts.map +1 -1
- package/lib/components/Accordion/index.d.ts +2 -2
- package/lib/components/Accordion/index.d.ts.map +1 -1
- package/lib/components/Accordion/index.js +2 -2
- package/lib/components/Avatar/Avatar.d.ts +8 -8
- package/lib/components/Avatar/Avatar.d.ts.map +1 -1
- package/lib/components/Avatar/Avatar.js +10 -19
- package/lib/components/Avatar/Avatar.stories.d.ts +1 -1
- package/lib/components/Avatar/Avatar.stories.d.ts.map +1 -1
- package/lib/components/Avatar/index.d.ts +1 -1
- package/lib/components/Avatar/index.d.ts.map +1 -1
- package/lib/components/Avatar/index.js +1 -1
- package/lib/components/AvatarGroup/AvatarGroup.d.ts +4 -4
- package/lib/components/AvatarGroup/AvatarGroup.d.ts.map +1 -1
- package/lib/components/AvatarGroup/AvatarGroup.js +33 -20
- package/lib/components/AvatarGroup/AvatarGroup.stories.d.ts +1 -1
- package/lib/components/AvatarGroup/AvatarGroup.stories.d.ts.map +1 -1
- package/lib/components/AvatarGroup/index.d.ts +1 -1
- package/lib/components/AvatarGroup/index.d.ts.map +1 -1
- package/lib/components/AvatarGroup/index.js +1 -1
- package/lib/components/Badge/Badge.d.ts +8 -9
- package/lib/components/Badge/Badge.d.ts.map +1 -1
- package/lib/components/Badge/Badge.js +5 -5
- package/lib/components/Badge/Badge.stories.d.ts +1 -1
- package/lib/components/Badge/Badge.stories.d.ts.map +1 -1
- package/lib/components/Badge/index.d.ts +1 -1
- package/lib/components/Badge/index.d.ts.map +1 -1
- package/lib/components/Badge/index.js +1 -1
- package/lib/components/BadgedIcon/BadgedIcon.d.ts +3 -3
- package/lib/components/BadgedIcon/BadgedIcon.d.ts.map +1 -1
- package/lib/components/BadgedIcon/BadgedIcon.js +6 -9
- package/lib/components/BadgedIcon/BadgedIcon.stories.d.ts +1 -1
- package/lib/components/BadgedIcon/BadgedIcon.stories.d.ts.map +1 -1
- package/lib/components/BadgedIcon/index.d.ts +1 -1
- package/lib/components/BadgedIcon/index.d.ts.map +1 -1
- package/lib/components/BadgedIcon/index.js +1 -1
- package/lib/components/Banner/Banner.d.ts +3 -4
- package/lib/components/Banner/Banner.d.ts.map +1 -1
- package/lib/components/Banner/Banner.js +4 -4
- package/lib/components/Banner/Banner.stories.d.ts +1 -1
- package/lib/components/Banner/Banner.stories.d.ts.map +1 -1
- package/lib/components/Banner/index.d.ts +1 -1
- package/lib/components/Banner/index.d.ts.map +1 -1
- package/lib/components/Banner/index.js +1 -1
- package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.d.ts +3 -4
- package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.d.ts.map +1 -1
- package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.js +5 -7
- package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.stories.d.ts +1 -1
- package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.stories.d.ts.map +1 -1
- package/lib/components/Breadcrumbs/BreadcrumbLink/index.d.ts +1 -1
- package/lib/components/Breadcrumbs/BreadcrumbLink/index.d.ts.map +1 -1
- package/lib/components/Breadcrumbs/BreadcrumbLink/index.js +1 -1
- package/lib/components/Breadcrumbs/Breadcrumbs.d.ts +3 -3
- package/lib/components/Breadcrumbs/Breadcrumbs.d.ts.map +1 -1
- package/lib/components/Breadcrumbs/Breadcrumbs.js +8 -9
- package/lib/components/Breadcrumbs/Breadcrumbs.stories.d.ts +1 -1
- package/lib/components/Breadcrumbs/Breadcrumbs.stories.d.ts.map +1 -1
- package/lib/components/Breadcrumbs/index.d.ts +2 -2
- package/lib/components/Breadcrumbs/index.d.ts.map +1 -1
- package/lib/components/Breadcrumbs/index.js +2 -2
- package/lib/components/Button/Button.d.ts +8 -9
- package/lib/components/Button/Button.d.ts.map +1 -1
- package/lib/components/Button/Button.js +12 -26
- package/lib/components/Button/Button.stories.d.ts +1 -1
- package/lib/components/Button/Button.stories.d.ts.map +1 -1
- package/lib/components/Button/index.d.ts +2 -2
- package/lib/components/Button/index.d.ts.map +1 -1
- package/lib/components/Button/index.js +1 -1
- package/lib/components/ButtonDropdown/ButtonDropdown.d.ts +7 -8
- package/lib/components/ButtonDropdown/ButtonDropdown.d.ts.map +1 -1
- package/lib/components/ButtonDropdown/ButtonDropdown.js +14 -24
- package/lib/components/ButtonDropdown/ButtonDropdown.stories.d.ts +82 -82
- package/lib/components/ButtonDropdown/ButtonDropdown.stories.d.ts.map +1 -1
- package/lib/components/ButtonDropdown/SimpleButtonDropdown.d.ts +11 -12
- package/lib/components/ButtonDropdown/SimpleButtonDropdown.d.ts.map +1 -1
- package/lib/components/ButtonDropdown/SimpleButtonDropdown.js +3 -11
- package/lib/components/ButtonDropdown/SimpleButtonDropdown.stories.d.ts +113 -113
- package/lib/components/ButtonDropdown/SimpleButtonDropdown.stories.d.ts.map +1 -1
- package/lib/components/ButtonDropdown/index.d.ts +2 -2
- package/lib/components/ButtonDropdown/index.d.ts.map +1 -1
- package/lib/components/ButtonDropdown/index.js +2 -2
- package/lib/components/ButtonTabs/ButtonTab/ButtonTab.d.ts +3 -3
- package/lib/components/ButtonTabs/ButtonTab/ButtonTab.d.ts.map +1 -1
- package/lib/components/ButtonTabs/ButtonTab/ButtonTab.js +3 -3
- package/lib/components/ButtonTabs/ButtonTab/ButtonTab.stories.d.ts +1 -1
- package/lib/components/ButtonTabs/ButtonTab/ButtonTab.stories.d.ts.map +1 -1
- package/lib/components/ButtonTabs/ButtonTab/index.d.ts +1 -1
- package/lib/components/ButtonTabs/ButtonTab/index.d.ts.map +1 -1
- package/lib/components/ButtonTabs/ButtonTab/index.js +1 -1
- package/lib/components/ButtonTabs/ButtonTabDropdown.d.ts +5 -6
- package/lib/components/ButtonTabs/ButtonTabDropdown.d.ts.map +1 -1
- package/lib/components/ButtonTabs/ButtonTabDropdown.js +13 -22
- package/lib/components/ButtonTabs/ButtonTabs.d.ts +4 -4
- package/lib/components/ButtonTabs/ButtonTabs.d.ts.map +1 -1
- package/lib/components/ButtonTabs/ButtonTabs.js +5 -6
- package/lib/components/ButtonTabs/ButtonTabs.stories.d.ts +1 -1
- package/lib/components/ButtonTabs/ButtonTabs.stories.d.ts.map +1 -1
- package/lib/components/ButtonTabs/index.d.ts +2 -2
- package/lib/components/ButtonTabs/index.d.ts.map +1 -1
- package/lib/components/ButtonTabs/index.js +2 -2
- package/lib/components/Card/Card.d.ts +9 -7
- package/lib/components/Card/Card.d.ts.map +1 -1
- package/lib/components/Card/Card.js +6 -11
- package/lib/components/Card/Card.stories.d.ts +1 -1
- package/lib/components/Card/Card.stories.d.ts.map +1 -1
- package/lib/components/Card/index.d.ts +1 -1
- package/lib/components/Card/index.d.ts.map +1 -1
- package/lib/components/Card/index.js +1 -1
- package/lib/components/Charts/ChartTooltip/index.d.ts +1 -1
- package/lib/components/Charts/ChartTooltip/index.d.ts.map +1 -1
- package/lib/components/Charts/ChartTooltip/index.js +2 -2
- package/lib/components/Charts/ChartWrapper/ChartWrapper.d.ts +9 -4
- package/lib/components/Charts/ChartWrapper/ChartWrapper.d.ts.map +1 -1
- package/lib/components/Charts/ChartWrapper/ChartWrapper.js +11 -13
- package/lib/components/Charts/ChartWrapper/index.d.ts +1 -1
- package/lib/components/Charts/ChartWrapper/index.d.ts.map +1 -1
- package/lib/components/Charts/ChartWrapper/index.js +1 -1
- package/lib/components/Charts/ColumnChart/ColumnChart.d.ts +10 -7
- package/lib/components/Charts/ColumnChart/ColumnChart.d.ts.map +1 -1
- package/lib/components/Charts/ColumnChart/ColumnChart.js +20 -14
- package/lib/components/Charts/ColumnChart/ColumnChart.stories.d.ts +1 -1
- package/lib/components/Charts/ColumnChart/ColumnChart.stories.d.ts.map +1 -1
- package/lib/components/Charts/ColumnChart/index.d.ts +1 -1
- package/lib/components/Charts/ColumnChart/index.d.ts.map +1 -1
- package/lib/components/Charts/ColumnChart/index.js +1 -1
- package/lib/components/Charts/DonutChart/DonutChart.d.ts +6 -7
- package/lib/components/Charts/DonutChart/DonutChart.d.ts.map +1 -1
- package/lib/components/Charts/DonutChart/DonutChart.js +6 -7
- package/lib/components/Charts/DonutChart/DonutChart.stories.d.ts +1 -1
- package/lib/components/Charts/DonutChart/DonutChart.stories.d.ts.map +1 -1
- package/lib/components/Charts/DonutChart/index.d.ts +1 -1
- package/lib/components/Charts/DonutChart/index.d.ts.map +1 -1
- package/lib/components/Charts/DonutChart/index.js +1 -1
- package/lib/components/Charts/FunnelChart/FunnelChart.d.ts +6 -7
- package/lib/components/Charts/FunnelChart/FunnelChart.d.ts.map +1 -1
- package/lib/components/Charts/FunnelChart/FunnelChart.js +5 -5
- package/lib/components/Charts/FunnelChart/FunnelChart.stories.d.ts +2 -2
- package/lib/components/Charts/FunnelChart/FunnelChart.stories.d.ts.map +1 -1
- package/lib/components/Charts/FunnelChart/index.d.ts +1 -1
- package/lib/components/Charts/FunnelChart/index.d.ts.map +1 -1
- package/lib/components/Charts/FunnelChart/index.js +1 -1
- package/lib/components/Charts/LineChart/LineChart.d.ts +6 -7
- package/lib/components/Charts/LineChart/LineChart.d.ts.map +1 -1
- package/lib/components/Charts/LineChart/LineChart.js +4 -4
- package/lib/components/Charts/LineChart/LineChart.stories.d.ts +2 -2
- package/lib/components/Charts/LineChart/LineChart.stories.d.ts.map +1 -1
- package/lib/components/Charts/LineChart/index.d.ts +1 -1
- package/lib/components/Charts/LineChart/index.d.ts.map +1 -1
- package/lib/components/Charts/LineChart/index.js +1 -1
- package/lib/components/Charts/SankeyChart/SankeyChart.d.ts +4 -5
- package/lib/components/Charts/SankeyChart/SankeyChart.d.ts.map +1 -1
- package/lib/components/Charts/SankeyChart/SankeyChart.js +4 -4
- package/lib/components/Charts/SankeyChart/SankeyChart.stories.d.ts +2 -2
- package/lib/components/Charts/SankeyChart/SankeyChart.stories.d.ts.map +1 -1
- package/lib/components/Charts/SankeyChart/index.d.ts +1 -1
- package/lib/components/Charts/SankeyChart/index.d.ts.map +1 -1
- package/lib/components/Charts/SankeyChart/index.js +1 -1
- package/lib/components/Charts/SpiderChart/SpiderChart.d.ts +6 -7
- package/lib/components/Charts/SpiderChart/SpiderChart.d.ts.map +1 -1
- package/lib/components/Charts/SpiderChart/SpiderChart.js +4 -4
- package/lib/components/Charts/SpiderChart/SpiderChart.stories.d.ts +2 -2
- package/lib/components/Charts/SpiderChart/SpiderChart.stories.d.ts.map +1 -1
- package/lib/components/Charts/SpiderChart/index.d.ts +1 -1
- package/lib/components/Charts/SpiderChart/index.d.ts.map +1 -1
- package/lib/components/Charts/SpiderChart/index.js +1 -1
- package/lib/components/Charts/StackedBarChart/StackedBarChart.d.ts +6 -7
- package/lib/components/Charts/StackedBarChart/StackedBarChart.d.ts.map +1 -1
- package/lib/components/Charts/StackedBarChart/StackedBarChart.js +4 -4
- package/lib/components/Charts/StackedBarChart/StackedBarChart.stories.d.ts +1 -1
- package/lib/components/Charts/StackedBarChart/StackedBarChart.stories.d.ts.map +1 -1
- package/lib/components/Charts/StackedBarChart/index.d.ts +1 -1
- package/lib/components/Charts/StackedBarChart/index.d.ts.map +1 -1
- package/lib/components/Charts/StackedBarChart/index.js +1 -1
- package/lib/components/Charts/index.d.ts +9 -9
- package/lib/components/Charts/index.d.ts.map +1 -1
- package/lib/components/Charts/index.js +9 -9
- package/lib/components/ChatBubble/ChatAnchor.stories.d.ts +1 -1
- package/lib/components/ChatBubble/ChatAnchor.stories.d.ts.map +1 -1
- package/lib/components/ChatBubble/ChatBubble.d.ts +16 -16
- package/lib/components/ChatBubble/ChatBubble.d.ts.map +1 -1
- package/lib/components/ChatBubble/ChatBubble.js +16 -9
- package/lib/components/ChatBubble/ChatBubble.stories.d.ts +1 -1
- package/lib/components/ChatBubble/ChatBubble.stories.d.ts.map +1 -1
- package/lib/components/ChatBubble/index.d.ts +1 -1
- package/lib/components/ChatBubble/index.d.ts.map +1 -1
- package/lib/components/ChatBubble/index.js +1 -1
- package/lib/components/Checkbox/Checkbox.d.ts +3 -4
- package/lib/components/Checkbox/Checkbox.d.ts.map +1 -1
- package/lib/components/Checkbox/Checkbox.js +4 -5
- package/lib/components/Checkbox/Checkbox.stories.d.ts +1 -1
- package/lib/components/Checkbox/Checkbox.stories.d.ts.map +1 -1
- package/lib/components/Checkbox/CheckboxGroup.d.ts +3 -3
- package/lib/components/Checkbox/CheckboxGroup.d.ts.map +1 -1
- package/lib/components/Checkbox/CheckboxGroup.js +11 -15
- package/lib/components/Checkbox/CheckboxGroup.stories.d.ts +3 -4
- package/lib/components/Checkbox/CheckboxGroup.stories.d.ts.map +1 -1
- package/lib/components/Checkbox/index.d.ts +2 -2
- package/lib/components/Checkbox/index.d.ts.map +1 -1
- package/lib/components/Checkbox/index.js +2 -2
- package/lib/components/Chip/Chip.d.ts +11 -12
- package/lib/components/Chip/Chip.d.ts.map +1 -1
- package/lib/components/Chip/Chip.js +12 -18
- package/lib/components/Chip/Chip.stories.d.ts +1 -1
- package/lib/components/Chip/Chip.stories.d.ts.map +1 -1
- package/lib/components/Chip/index.d.ts +2 -2
- package/lib/components/Chip/index.d.ts.map +1 -1
- package/lib/components/Chip/index.js +1 -1
- package/lib/components/CircularLoader/CircularLoader.d.ts +3 -3
- package/lib/components/CircularLoader/CircularLoader.d.ts.map +1 -1
- package/lib/components/CircularLoader/CircularLoader.js +3 -3
- package/lib/components/CircularLoader/CircularLoader.stories.d.ts +1 -1
- package/lib/components/CircularLoader/CircularLoader.stories.d.ts.map +1 -1
- package/lib/components/CircularLoader/index.d.ts +1 -1
- package/lib/components/CircularLoader/index.d.ts.map +1 -1
- package/lib/components/CircularLoader/index.js +1 -1
- package/lib/components/CollapsibleCard/CollapsibleCard.d.ts +7 -7
- package/lib/components/CollapsibleCard/CollapsibleCard.d.ts.map +1 -1
- package/lib/components/CollapsibleCard/CollapsibleCard.js +5 -5
- package/lib/components/CollapsibleCard/CollapsibleCard.stories.d.ts +1 -1
- package/lib/components/CollapsibleCard/CollapsibleCard.stories.d.ts.map +1 -1
- package/lib/components/CollapsibleCard/index.d.ts +1 -1
- package/lib/components/CollapsibleCard/index.d.ts.map +1 -1
- package/lib/components/CollapsibleCard/index.js +1 -1
- package/lib/components/Combobox/Combobox.d.ts +19 -19
- package/lib/components/Combobox/Combobox.d.ts.map +1 -1
- package/lib/components/Combobox/Combobox.js +21 -24
- package/lib/components/Combobox/Combobox.stories.d.ts +2 -2
- package/lib/components/Combobox/Combobox.stories.d.ts.map +1 -1
- package/lib/components/Combobox/helper.d.ts +1 -1
- package/lib/components/Combobox/helper.d.ts.map +1 -1
- package/lib/components/Combobox/helper.js +0 -1
- package/lib/components/Combobox/index.d.ts +1 -1
- package/lib/components/Combobox/index.d.ts.map +1 -1
- package/lib/components/Combobox/index.js +1 -1
- package/lib/components/ConditionalWrapper/ConditionalWrapper.d.ts +2 -2
- package/lib/components/ConditionalWrapper/ConditionalWrapper.d.ts.map +1 -1
- package/lib/components/ConditionalWrapper/ConditionalWrapper.stories.d.ts.map +1 -1
- package/lib/components/ConditionalWrapper/index.d.ts +1 -1
- package/lib/components/ConditionalWrapper/index.d.ts.map +1 -1
- package/lib/components/ConditionalWrapper/index.js +1 -1
- package/lib/components/DateRangePicker/Calendar.d.ts +5 -5
- package/lib/components/DateRangePicker/Calendar.d.ts.map +1 -1
- package/lib/components/DateRangePicker/Calendar.js +7 -11
- package/lib/components/DateRangePicker/DateRangePicker.d.ts +3 -3
- package/lib/components/DateRangePicker/DateRangePicker.d.ts.map +1 -1
- package/lib/components/DateRangePicker/DateRangePicker.js +5 -5
- package/lib/components/DateRangePicker/DateRangePicker.stories.d.ts +1 -1
- package/lib/components/DateRangePicker/DateRangePicker.stories.d.ts.map +1 -1
- package/lib/components/DateRangePicker/DateRangeWrapper.d.ts +4 -4
- package/lib/components/DateRangePicker/DateRangeWrapper.d.ts.map +1 -1
- package/lib/components/DateRangePicker/DateRangeWrapper.js +17 -25
- package/lib/components/DateRangePicker/Day.d.ts +2 -2
- package/lib/components/DateRangePicker/Day.d.ts.map +1 -1
- package/lib/components/DateRangePicker/Day.js +4 -4
- package/lib/components/DateRangePicker/index.d.ts +1 -1
- package/lib/components/DateRangePicker/index.d.ts.map +1 -1
- package/lib/components/DateRangePicker/index.js +1 -1
- package/lib/components/Dialog/Dialog.d.ts +11 -12
- package/lib/components/Dialog/Dialog.d.ts.map +1 -1
- package/lib/components/Dialog/Dialog.js +6 -6
- package/lib/components/Dialog/Dialog.stories.d.ts +1 -1
- package/lib/components/Dialog/Dialog.stories.d.ts.map +1 -1
- package/lib/components/Dialog/index.d.ts +1 -1
- package/lib/components/Dialog/index.d.ts.map +1 -1
- package/lib/components/Dialog/index.js +1 -1
- package/lib/components/Disclaimer/Disclaimer.d.ts +1 -1
- package/lib/components/Disclaimer/Disclaimer.d.ts.map +1 -1
- package/lib/components/Disclaimer/Disclaimer.js +3 -4
- package/lib/components/Disclaimer/Disclaimer.stories.d.ts +1 -1
- package/lib/components/Disclaimer/Disclaimer.stories.d.ts.map +1 -1
- package/lib/components/Disclaimer/index.d.ts +1 -1
- package/lib/components/Disclaimer/index.d.ts.map +1 -1
- package/lib/components/Disclaimer/index.js +1 -1
- package/lib/components/Dropdown/Dropdown.d.ts +7 -8
- package/lib/components/Dropdown/Dropdown.d.ts.map +1 -1
- package/lib/components/Dropdown/Dropdown.js +26 -27
- package/lib/components/Dropdown/Dropdown.stories.d.ts +11 -11
- package/lib/components/Dropdown/Dropdown.stories.d.ts.map +1 -1
- package/lib/components/Dropdown/SimpleDropdown.d.ts +10 -11
- package/lib/components/Dropdown/SimpleDropdown.d.ts.map +1 -1
- package/lib/components/Dropdown/SimpleDropdown.js +3 -9
- package/lib/components/Dropdown/SimpleDropdown.stories.d.ts +3 -3
- package/lib/components/Dropdown/SimpleDropdown.stories.d.ts.map +1 -1
- package/lib/components/Dropdown/index.d.ts +2 -2
- package/lib/components/Dropdown/index.d.ts.map +1 -1
- package/lib/components/Dropdown/index.js +2 -2
- package/lib/components/EmptyState/EmptyImages/index.d.ts +6 -6
- package/lib/components/EmptyState/EmptyImages/index.d.ts.map +1 -1
- package/lib/components/EmptyState/EmptyImages/index.js +6 -6
- package/lib/components/EmptyState/EmptyState.d.ts +2 -2
- package/lib/components/EmptyState/EmptyState.d.ts.map +1 -1
- package/lib/components/EmptyState/EmptyState.js +3 -3
- package/lib/components/EmptyState/EmptyState.stories.d.ts +1 -1
- package/lib/components/EmptyState/EmptyState.stories.d.ts.map +1 -1
- package/lib/components/EmptyState/index.d.ts +1 -1
- package/lib/components/EmptyState/index.d.ts.map +1 -1
- package/lib/components/EmptyState/index.js +1 -1
- package/lib/components/ErrorMessage/ErrorImages/index.d.ts +4 -4
- package/lib/components/ErrorMessage/ErrorImages/index.d.ts.map +1 -1
- package/lib/components/ErrorMessage/ErrorImages/index.js +4 -4
- package/lib/components/ErrorMessage/ErrorMessage.d.ts +2 -2
- package/lib/components/ErrorMessage/ErrorMessage.d.ts.map +1 -1
- package/lib/components/ErrorMessage/ErrorMessage.js +3 -3
- package/lib/components/ErrorMessage/ErrorMessage.stories.d.ts +1 -1
- package/lib/components/ErrorMessage/ErrorMessage.stories.d.ts.map +1 -1
- package/lib/components/ErrorMessage/index.d.ts +1 -1
- package/lib/components/ErrorMessage/index.d.ts.map +1 -1
- package/lib/components/ErrorMessage/index.js +1 -1
- package/lib/components/FileUpload/FileBlock/FileBlock.d.ts +3 -3
- package/lib/components/FileUpload/FileBlock/FileBlock.d.ts.map +1 -1
- package/lib/components/FileUpload/FileBlock/FileBlock.js +5 -5
- package/lib/components/FileUpload/FileBlock/FileBlock.stories.d.ts +1 -1
- package/lib/components/FileUpload/FileBlock/FileBlock.stories.d.ts.map +1 -1
- package/lib/components/FileUpload/FileBlock/index.d.ts +1 -1
- package/lib/components/FileUpload/FileBlock/index.d.ts.map +1 -1
- package/lib/components/FileUpload/FileBlock/index.js +1 -1
- package/lib/components/FileUpload/FileUpload.d.ts +14 -13
- package/lib/components/FileUpload/FileUpload.d.ts.map +1 -1
- package/lib/components/FileUpload/FileUpload.js +8 -13
- package/lib/components/FileUpload/FileUpload.stories.d.ts +3 -2
- package/lib/components/FileUpload/FileUpload.stories.d.ts.map +1 -1
- package/lib/components/FileUpload/index.d.ts +2 -2
- package/lib/components/FileUpload/index.d.ts.map +1 -1
- package/lib/components/FileUpload/index.js +2 -2
- package/lib/components/FilterButtonOverlay/FilterButtonOverlay.d.ts +7 -8
- package/lib/components/FilterButtonOverlay/FilterButtonOverlay.d.ts.map +1 -1
- package/lib/components/FilterButtonOverlay/FilterButtonOverlay.js +9 -17
- package/lib/components/FilterButtonOverlay/FilterButtonOverlay.stories.d.ts +1 -1
- package/lib/components/FilterButtonOverlay/FilterButtonOverlay.stories.d.ts.map +1 -1
- package/lib/components/FilterButtonOverlay/index.d.ts +1 -1
- package/lib/components/FilterButtonOverlay/index.d.ts.map +1 -1
- package/lib/components/FilterButtonOverlay/index.js +1 -1
- package/lib/components/FocusManager/FocusManager.d.ts +2 -2
- package/lib/components/FocusManager/FocusManager.d.ts.map +1 -1
- package/lib/components/FocusManager/FocusManager.js +2 -2
- package/lib/components/FocusManager/FocusManager.stories.d.ts +1 -1
- package/lib/components/FocusManager/FocusManager.stories.d.ts.map +1 -1
- package/lib/components/FocusManager/index.d.ts +1 -1
- package/lib/components/FocusManager/index.d.ts.map +1 -1
- package/lib/components/FocusManager/index.js +1 -1
- package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.d.ts +5 -6
- package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.d.ts.map +1 -1
- package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.js +23 -19
- package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.stories.d.ts +1 -1
- package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.stories.d.ts.map +1 -1
- package/lib/components/FocusManagerWithArrowKeyNavigation/index.d.ts +1 -1
- package/lib/components/FocusManagerWithArrowKeyNavigation/index.d.ts.map +1 -1
- package/lib/components/FocusManagerWithArrowKeyNavigation/index.js +1 -1
- package/lib/components/FormTitleWrapper/FormTitleWrapper.d.ts +4 -4
- package/lib/components/FormTitleWrapper/FormTitleWrapper.d.ts.map +1 -1
- package/lib/components/FormTitleWrapper/FormTitleWrapper.js +3 -3
- package/lib/components/FormTitleWrapper/FormTitleWrapper.stories.d.ts +1 -1
- package/lib/components/FormTitleWrapper/FormTitleWrapper.stories.d.ts.map +1 -1
- package/lib/components/FormTitleWrapper/index.d.ts +1 -1
- package/lib/components/FormTitleWrapper/index.d.ts.map +1 -1
- package/lib/components/FormTitleWrapper/index.js +1 -1
- package/lib/components/Grid/Col.stories.d.ts +2 -2
- package/lib/components/Grid/Col.stories.d.ts.map +1 -1
- package/lib/components/Grid/Grid.d.ts +7 -7
- package/lib/components/Grid/Grid.d.ts.map +1 -1
- package/lib/components/Grid/Grid.js +8 -15
- package/lib/components/Grid/GridPatterns.stories.d.ts +1 -1
- package/lib/components/Grid/GridPatterns.stories.d.ts.map +1 -1
- package/lib/components/Grid/Row.stories.d.ts +2 -2
- package/lib/components/Grid/Row.stories.d.ts.map +1 -1
- package/lib/components/Grid/index.d.ts +1 -1
- package/lib/components/Grid/index.d.ts.map +1 -1
- package/lib/components/Grid/index.js +1 -1
- package/lib/components/Icon/ClickableIcon.d.ts +8 -8
- package/lib/components/Icon/ClickableIcon.d.ts.map +1 -1
- package/lib/components/Icon/ClickableIcon.js +7 -7
- package/lib/components/Icon/Icon.d.ts +4 -4
- package/lib/components/Icon/Icon.d.ts.map +1 -1
- package/lib/components/Icon/Icon.docs.js +2 -2
- package/lib/components/Icon/Icon.js +4 -6
- package/lib/components/Icon/Icon.stories.d.ts +2 -2
- package/lib/components/Icon/Icon.stories.d.ts.map +1 -1
- package/lib/components/Icon/SemanticIcon.d.ts +4 -5
- package/lib/components/Icon/SemanticIcon.d.ts.map +1 -1
- package/lib/components/Icon/SemanticIcon.js +4 -4
- package/lib/components/Icon/SemanticIcon.stories.d.ts +1 -1
- package/lib/components/Icon/SemanticIcon.stories.d.ts.map +1 -1
- package/lib/components/Icon/index.d.ts +3 -3
- package/lib/components/Icon/index.d.ts.map +1 -1
- package/lib/components/Icon/index.js +3 -3
- package/lib/components/InContextAlert/InContextAlert.d.ts +10 -9
- package/lib/components/InContextAlert/InContextAlert.d.ts.map +1 -1
- package/lib/components/InContextAlert/InContextAlert.js +16 -14
- package/lib/components/InContextAlert/InContextAlert.stories.d.ts +1 -1
- package/lib/components/InContextAlert/InContextAlert.stories.d.ts.map +1 -1
- package/lib/components/InContextAlert/index.d.ts +1 -1
- package/lib/components/InContextAlert/index.d.ts.map +1 -1
- package/lib/components/InContextAlert/index.js +1 -1
- package/lib/components/InContextAlertWithMultipleActions/InContextAlertWithMultipleActions.d.ts +5 -6
- package/lib/components/InContextAlertWithMultipleActions/InContextAlertWithMultipleActions.d.ts.map +1 -1
- package/lib/components/InContextAlertWithMultipleActions/InContextAlertWithMultipleActions.js +15 -14
- package/lib/components/InContextAlertWithMultipleActions/InContextAlertWithMultipleActions.stories.d.ts +1 -1
- package/lib/components/InContextAlertWithMultipleActions/InContextAlertWithMultipleActions.stories.d.ts.map +1 -1
- package/lib/components/InContextAlertWithMultipleActions/index.d.ts +1 -1
- package/lib/components/InContextAlertWithMultipleActions/index.d.ts.map +1 -1
- package/lib/components/InContextAlertWithMultipleActions/index.js +1 -1
- package/lib/components/InfinitePagination/InfinitePagination.d.ts +1 -1
- package/lib/components/InfinitePagination/InfinitePagination.d.ts.map +1 -1
- package/lib/components/InfinitePagination/InfinitePagination.js +15 -16
- package/lib/components/InfinitePagination/InfinitePagination.stories.d.ts +1 -1
- package/lib/components/InfinitePagination/InfinitePagination.stories.d.ts.map +1 -1
- package/lib/components/InfinitePagination/index.d.ts +1 -1
- package/lib/components/InfinitePagination/index.d.ts.map +1 -1
- package/lib/components/InfinitePagination/index.js +1 -1
- package/lib/components/InlineDropdown/InlineDropdown.d.ts +8 -9
- package/lib/components/InlineDropdown/InlineDropdown.d.ts.map +1 -1
- package/lib/components/InlineDropdown/InlineDropdown.js +20 -25
- package/lib/components/InlineDropdown/InlineDropdown.stories.d.ts +55 -55
- package/lib/components/InlineDropdown/InlineDropdown.stories.d.ts.map +1 -1
- package/lib/components/InlineDropdown/SimpleInlineDropdown.d.ts +11 -12
- package/lib/components/InlineDropdown/SimpleInlineDropdown.d.ts.map +1 -1
- package/lib/components/InlineDropdown/SimpleInlineDropdown.js +4 -13
- package/lib/components/InlineDropdown/SimpleInlineDropdown.stories.d.ts +87 -87
- package/lib/components/InlineDropdown/SimpleInlineDropdown.stories.d.ts.map +1 -1
- package/lib/components/InlineDropdown/index.d.ts +2 -2
- package/lib/components/InlineDropdown/index.d.ts.map +1 -1
- package/lib/components/InlineDropdown/index.js +2 -2
- package/lib/components/Input/Input.d.ts +18 -17
- package/lib/components/Input/Input.d.ts.map +1 -1
- package/lib/components/Input/Input.js +11 -24
- package/lib/components/Input/Input.stories.d.ts +1 -1
- package/lib/components/Input/Input.stories.d.ts.map +1 -1
- package/lib/components/Input/NativeColorpicker.stories.d.ts +1 -1
- package/lib/components/Input/NativeColorpicker.stories.d.ts.map +1 -1
- package/lib/components/Input/NativeDatepicker.stories.d.ts +1 -1
- package/lib/components/Input/NativeDatepicker.stories.d.ts.map +1 -1
- package/lib/components/Input/index.d.ts +1 -1
- package/lib/components/Input/index.d.ts.map +1 -1
- package/lib/components/Input/index.js +1 -1
- package/lib/components/KPIBox/KPIBox.d.ts +4 -4
- package/lib/components/KPIBox/KPIBox.d.ts.map +1 -1
- package/lib/components/KPIBox/KPIBox.js +3 -3
- package/lib/components/KPIBox/KPIBox.stories.d.ts +1 -1
- package/lib/components/KPIBox/KPIBox.stories.d.ts.map +1 -1
- package/lib/components/KPIBox/index.d.ts +1 -1
- package/lib/components/KPIBox/index.d.ts.map +1 -1
- package/lib/components/KPIBox/index.js +1 -1
- package/lib/components/LinearLoader/LinearLoader.d.ts +2 -2
- package/lib/components/LinearLoader/LinearLoader.d.ts.map +1 -1
- package/lib/components/LinearLoader/LinearLoader.js +4 -4
- package/lib/components/LinearLoader/LinearLoader.stories.d.ts +1 -1
- package/lib/components/LinearLoader/LinearLoader.stories.d.ts.map +1 -1
- package/lib/components/LinearLoader/index.d.ts +1 -1
- package/lib/components/LinearLoader/index.d.ts.map +1 -1
- package/lib/components/LinearLoader/index.js +1 -1
- package/lib/components/Link/Link.d.ts +7 -8
- package/lib/components/Link/Link.d.ts.map +1 -1
- package/lib/components/Link/Link.js +9 -18
- package/lib/components/Link/Link.stories.d.ts +1 -1
- package/lib/components/Link/Link.stories.d.ts.map +1 -1
- package/lib/components/Link/index.d.ts +1 -1
- package/lib/components/Link/index.d.ts.map +1 -1
- package/lib/components/Link/index.js +1 -1
- package/lib/components/Menu/Menu.d.ts +14 -14
- package/lib/components/Menu/Menu.d.ts.map +1 -1
- package/lib/components/Menu/Menu.js +9 -11
- package/lib/components/Menu/Menu.stories.d.ts +1 -1
- package/lib/components/Menu/Menu.stories.d.ts.map +1 -1
- package/lib/components/Menu/MenuOptionButton.d.ts +4 -5
- package/lib/components/Menu/MenuOptionButton.d.ts.map +1 -1
- package/lib/components/Menu/MenuOptionButton.js +8 -9
- package/lib/components/Menu/index.d.ts +2 -2
- package/lib/components/Menu/index.d.ts.map +1 -1
- package/lib/components/Menu/index.js +2 -2
- package/lib/components/Modal/Modal.d.ts +12 -30
- package/lib/components/Modal/Modal.d.ts.map +1 -1
- package/lib/components/Modal/Modal.js +15 -18
- package/lib/components/Modal/Modal.stories.d.ts +1 -1
- package/lib/components/Modal/Modal.stories.d.ts.map +1 -1
- package/lib/components/Modal/index.d.ts +2 -2
- package/lib/components/Modal/index.d.ts.map +1 -1
- package/lib/components/Modal/index.js +1 -1
- package/lib/components/Notification/Notification.d.ts +9 -8
- package/lib/components/Notification/Notification.d.ts.map +1 -1
- package/lib/components/Notification/Notification.js +12 -9
- package/lib/components/Notification/Notification.stories.d.ts +1 -1
- package/lib/components/Notification/Notification.stories.d.ts.map +1 -1
- package/lib/components/Notification/index.d.ts +1 -1
- package/lib/components/Notification/index.d.ts.map +1 -1
- package/lib/components/Notification/index.js +1 -1
- package/lib/components/OptionButton/OptionButton.d.ts +11 -12
- package/lib/components/OptionButton/OptionButton.d.ts.map +1 -1
- package/lib/components/OptionButton/OptionButton.js +8 -8
- package/lib/components/OptionButton/OptionButton.stories.d.ts +6 -6
- package/lib/components/OptionButton/OptionButton.stories.d.ts.map +1 -1
- package/lib/components/OptionButton/SimpleOptionButton.d.ts +12 -13
- package/lib/components/OptionButton/SimpleOptionButton.d.ts.map +1 -1
- package/lib/components/OptionButton/SimpleOptionButton.js +3 -9
- package/lib/components/OptionButton/SimpleOptionButton.stories.d.ts +59 -59
- package/lib/components/OptionButton/SimpleOptionButton.stories.d.ts.map +1 -1
- package/lib/components/OptionButton/index.d.ts +2 -2
- package/lib/components/OptionButton/index.d.ts.map +1 -1
- package/lib/components/OptionButton/index.js +2 -2
- package/lib/components/PageTitle/PageTitle.d.ts +9 -8
- package/lib/components/PageTitle/PageTitle.d.ts.map +1 -1
- package/lib/components/PageTitle/PageTitle.js +22 -17
- package/lib/components/PageTitle/PageTitle.stories.d.ts +1 -1
- package/lib/components/PageTitle/PageTitle.stories.d.ts.map +1 -1
- package/lib/components/PageTitle/index.d.ts +1 -1
- package/lib/components/PageTitle/index.d.ts.map +1 -1
- package/lib/components/PageTitle/index.js +1 -1
- package/lib/components/Pagination/Pagination.d.ts +10 -12
- package/lib/components/Pagination/Pagination.d.ts.map +1 -1
- package/lib/components/Pagination/Pagination.js +8 -8
- package/lib/components/Pagination/Pagination.stories.d.ts +2 -10
- package/lib/components/Pagination/Pagination.stories.d.ts.map +1 -1
- package/lib/components/Pagination/PaginationItem.d.ts +1 -1
- package/lib/components/Pagination/PaginationItem.d.ts.map +1 -1
- package/lib/components/Pagination/PaginationItem.js +4 -7
- package/lib/components/Pagination/index.d.ts +1 -1
- package/lib/components/Pagination/index.d.ts.map +1 -1
- package/lib/components/Pagination/index.js +1 -1
- package/lib/components/Panel/Panel.d.ts +10 -11
- package/lib/components/Panel/Panel.d.ts.map +1 -1
- package/lib/components/Panel/Panel.js +8 -8
- package/lib/components/Panel/Panel.stories.d.ts +1 -1
- package/lib/components/Panel/Panel.stories.d.ts.map +1 -1
- package/lib/components/Panel/index.d.ts +2 -2
- package/lib/components/Panel/index.d.ts.map +1 -1
- package/lib/components/Panel/index.js +1 -1
- package/lib/components/ProgressDonut/ProgressDonut.d.ts +3 -3
- package/lib/components/ProgressDonut/ProgressDonut.d.ts.map +1 -1
- package/lib/components/ProgressDonut/ProgressDonut.js +6 -7
- package/lib/components/ProgressDonut/ProgressDonut.stories.d.ts +1 -1
- package/lib/components/ProgressDonut/ProgressDonut.stories.d.ts.map +1 -1
- package/lib/components/ProgressDonut/index.d.ts +1 -1
- package/lib/components/ProgressDonut/index.d.ts.map +1 -1
- package/lib/components/ProgressDonut/index.js +1 -1
- package/lib/components/PromptChip/PromptChip.d.ts +6 -4
- package/lib/components/PromptChip/PromptChip.d.ts.map +1 -1
- package/lib/components/PromptChip/PromptChip.js +12 -11
- package/lib/components/PromptChip/PromptChip.stories.d.ts +1 -1
- package/lib/components/PromptChip/PromptChip.stories.d.ts.map +1 -1
- package/lib/components/PromptChip/index.d.ts +1 -1
- package/lib/components/PromptChip/index.d.ts.map +1 -1
- package/lib/components/PromptChip/index.js +1 -1
- package/lib/components/PromptInput/PromptInput.d.ts +8 -8
- package/lib/components/PromptInput/PromptInput.d.ts.map +1 -1
- package/lib/components/PromptInput/PromptInput.js +7 -14
- package/lib/components/PromptInput/PromptInput.stories.d.ts +1 -1
- package/lib/components/PromptInput/PromptInput.stories.d.ts.map +1 -1
- package/lib/components/PromptInput/index.d.ts +1 -1
- package/lib/components/PromptInput/index.d.ts.map +1 -1
- package/lib/components/PromptInput/index.js +1 -1
- package/lib/components/RadioButton/RadioButton.d.ts +3 -4
- package/lib/components/RadioButton/RadioButton.d.ts.map +1 -1
- package/lib/components/RadioButton/RadioButton.js +3 -4
- package/lib/components/RadioButton/RadioButton.stories.d.ts +1 -1
- package/lib/components/RadioButton/RadioButton.stories.d.ts.map +1 -1
- package/lib/components/RadioButton/RadioGroup.d.ts +3 -3
- package/lib/components/RadioButton/RadioGroup.d.ts.map +1 -1
- package/lib/components/RadioButton/RadioGroup.js +5 -4
- package/lib/components/RadioButton/RadioGroup.stories.d.ts +1 -1
- package/lib/components/RadioButton/RadioGroup.stories.d.ts.map +1 -1
- package/lib/components/RadioButton/index.d.ts +2 -2
- package/lib/components/RadioButton/index.d.ts.map +1 -1
- package/lib/components/RadioButton/index.js +2 -2
- package/lib/components/RadioTile/RadioTile.d.ts +4 -4
- package/lib/components/RadioTile/RadioTile.d.ts.map +1 -1
- package/lib/components/RadioTile/RadioTile.js +9 -11
- package/lib/components/RadioTile/RadioTile.stories.d.ts +1 -1
- package/lib/components/RadioTile/RadioTile.stories.d.ts.map +1 -1
- package/lib/components/RadioTile/index.d.ts +1 -1
- package/lib/components/RadioTile/index.d.ts.map +1 -1
- package/lib/components/RadioTile/index.js +1 -1
- package/lib/components/RangeSlider/RangeSlider.d.ts +3 -3
- package/lib/components/RangeSlider/RangeSlider.d.ts.map +1 -1
- package/lib/components/RangeSlider/RangeSlider.js +6 -9
- package/lib/components/RangeSlider/RangeSlider.stories.d.ts +1 -1
- package/lib/components/RangeSlider/RangeSlider.stories.d.ts.map +1 -1
- package/lib/components/RangeSlider/index.d.ts +1 -1
- package/lib/components/RangeSlider/index.d.ts.map +1 -1
- package/lib/components/RangeSlider/index.js +1 -1
- package/lib/components/Rating/Rating.d.ts +4 -4
- package/lib/components/Rating/Rating.d.ts.map +1 -1
- package/lib/components/Rating/Rating.js +8 -8
- package/lib/components/Rating/Rating.stories.d.ts +1 -1
- package/lib/components/Rating/Rating.stories.d.ts.map +1 -1
- package/lib/components/Rating/index.d.ts +1 -1
- package/lib/components/Rating/index.d.ts.map +1 -1
- package/lib/components/Rating/index.js +1 -1
- package/lib/components/ScoreBar/ScoreBar.d.ts +2 -2
- package/lib/components/ScoreBar/ScoreBar.d.ts.map +1 -1
- package/lib/components/ScoreBar/ScoreBar.js +6 -6
- package/lib/components/ScoreBar/ScoreBar.stories.d.ts +1 -1
- package/lib/components/ScoreBar/ScoreBar.stories.d.ts.map +1 -1
- package/lib/components/ScoreBar/index.d.ts +1 -1
- package/lib/components/ScoreBar/index.d.ts.map +1 -1
- package/lib/components/ScoreBar/index.js +1 -1
- package/lib/components/SearchInput/SearchInput.d.ts +3 -4
- package/lib/components/SearchInput/SearchInput.d.ts.map +1 -1
- package/lib/components/SearchInput/SearchInput.js +4 -4
- package/lib/components/SearchInput/SearchInput.stories.d.ts +1 -1
- package/lib/components/SearchInput/SearchInput.stories.d.ts.map +1 -1
- package/lib/components/SearchInput/index.d.ts +2 -2
- package/lib/components/SearchInput/index.d.ts.map +1 -1
- package/lib/components/SearchInput/index.js +1 -1
- package/lib/components/Separator/Separator.d.ts +2 -2
- package/lib/components/Separator/Separator.d.ts.map +1 -1
- package/lib/components/Separator/Separator.js +3 -3
- package/lib/components/Separator/Separator.stories.d.ts +1 -1
- package/lib/components/Separator/Separator.stories.d.ts.map +1 -1
- package/lib/components/Separator/index.d.ts +1 -1
- package/lib/components/Separator/index.d.ts.map +1 -1
- package/lib/components/Separator/index.js +1 -1
- package/lib/components/Shimmer/Shimmer.d.ts +6 -6
- package/lib/components/Shimmer/Shimmer.d.ts.map +1 -1
- package/lib/components/Shimmer/Shimmer.js +6 -8
- package/lib/components/Shimmer/Shimmer.stories.d.ts +1 -1
- package/lib/components/Shimmer/Shimmer.stories.d.ts.map +1 -1
- package/lib/components/Shimmer/index.d.ts +1 -1
- package/lib/components/Shimmer/index.d.ts.map +1 -1
- package/lib/components/Shimmer/index.js +1 -1
- package/lib/components/SideMenuLink/SideMenuLink.d.ts +5 -5
- package/lib/components/SideMenuLink/SideMenuLink.d.ts.map +1 -1
- package/lib/components/SideMenuLink/SideMenuLink.js +12 -18
- package/lib/components/SideMenuLink/SideMenuLink.stories.d.ts +1 -1
- package/lib/components/SideMenuLink/SideMenuLink.stories.d.ts.map +1 -1
- package/lib/components/SideMenuLink/index.d.ts +1 -1
- package/lib/components/SideMenuLink/index.d.ts.map +1 -1
- package/lib/components/SideMenuLink/index.js +1 -1
- package/lib/components/StatusIndicator/StatusIndicator.d.ts +3 -3
- package/lib/components/StatusIndicator/StatusIndicator.d.ts.map +1 -1
- package/lib/components/StatusIndicator/StatusIndicator.js +3 -3
- package/lib/components/StatusIndicator/StatusIndicator.stories.d.ts +1 -1
- package/lib/components/StatusIndicator/StatusIndicator.stories.d.ts.map +1 -1
- package/lib/components/StatusIndicator/index.d.ts +1 -1
- package/lib/components/StatusIndicator/index.d.ts.map +1 -1
- package/lib/components/StatusIndicator/index.js +1 -1
- package/lib/components/Stepper/Step/Step.d.ts +3 -3
- package/lib/components/Stepper/Step/Step.d.ts.map +1 -1
- package/lib/components/Stepper/Step/Step.js +16 -13
- package/lib/components/Stepper/Step/Step.stories.d.ts +3 -3
- package/lib/components/Stepper/Step/Step.stories.d.ts.map +1 -1
- package/lib/components/Stepper/Step/StepContent.d.ts +2 -2
- package/lib/components/Stepper/Step/StepContent.d.ts.map +1 -1
- package/lib/components/Stepper/Step/StepContent.js +2 -2
- package/lib/components/Stepper/Step/StepLabel.d.ts +2 -2
- package/lib/components/Stepper/Step/StepLabel.d.ts.map +1 -1
- package/lib/components/Stepper/Step/StepLabel.js +2 -2
- package/lib/components/Stepper/Step/index.d.ts +3 -3
- package/lib/components/Stepper/Step/index.d.ts.map +1 -1
- package/lib/components/Stepper/Step/index.js +3 -3
- package/lib/components/Stepper/Stepper.d.ts +2 -2
- package/lib/components/Stepper/Stepper.d.ts.map +1 -1
- package/lib/components/Stepper/Stepper.js +25 -10
- package/lib/components/Stepper/Stepper.stories.d.ts +1 -1
- package/lib/components/Stepper/Stepper.stories.d.ts.map +1 -1
- package/lib/components/Stepper/index.d.ts +2 -2
- package/lib/components/Stepper/index.d.ts.map +1 -1
- package/lib/components/Stepper/index.js +2 -2
- package/lib/components/StickyBar/StickyBar.d.ts +4 -4
- package/lib/components/StickyBar/StickyBar.d.ts.map +1 -1
- package/lib/components/StickyBar/StickyBar.js +2 -2
- package/lib/components/StickyBar/StickyBar.stories.d.ts +1 -1
- package/lib/components/StickyBar/StickyBar.stories.d.ts.map +1 -1
- package/lib/components/StickyBar/index.d.ts +1 -1
- package/lib/components/StickyBar/index.d.ts.map +1 -1
- package/lib/components/StickyBar/index.js +1 -1
- package/lib/components/SubMenu/SubMenu.d.ts +3 -3
- package/lib/components/SubMenu/SubMenu.d.ts.map +1 -1
- package/lib/components/SubMenu/SubMenu.js +5 -5
- package/lib/components/SubMenu/SubMenu.stories.d.ts +1 -1
- package/lib/components/SubMenu/SubMenu.stories.d.ts.map +1 -1
- package/lib/components/SubMenu/SubMenuGroup.d.ts +4 -4
- package/lib/components/SubMenu/SubMenuGroup.d.ts.map +1 -1
- package/lib/components/SubMenu/SubMenuGroup.js +20 -17
- package/lib/components/SubMenu/SubMenuItem.d.ts +11 -11
- package/lib/components/SubMenu/SubMenuItem.d.ts.map +1 -1
- package/lib/components/SubMenu/SubMenuItem.js +21 -29
- package/lib/components/SubMenu/SubMenuLink.d.ts +4 -4
- package/lib/components/SubMenu/SubMenuLink.d.ts.map +1 -1
- package/lib/components/SubMenu/SubMenuLink.js +9 -13
- package/lib/components/SubMenu/index.d.ts +4 -4
- package/lib/components/SubMenu/index.d.ts.map +1 -1
- package/lib/components/SubMenu/index.js +4 -4
- package/lib/components/Table/BasicTable.stories.d.ts +7 -7
- package/lib/components/Table/BasicTable.stories.d.ts.map +1 -1
- package/lib/components/Table/BulkActions.stories.d.ts +1 -1
- package/lib/components/Table/BulkActions.stories.d.ts.map +1 -1
- package/lib/components/Table/Cell.d.ts +4 -4
- package/lib/components/Table/Cell.d.ts.map +1 -1
- package/lib/components/Table/Cell.js +8 -12
- package/lib/components/Table/DefaultRow.d.ts +7 -7
- package/lib/components/Table/DefaultRow.d.ts.map +1 -1
- package/lib/components/Table/DefaultRow.js +7 -7
- package/lib/components/Table/DefaultTableHeader.d.ts +7 -7
- package/lib/components/Table/DefaultTableHeader.d.ts.map +1 -1
- package/lib/components/Table/DefaultTableHeader.js +9 -16
- package/lib/components/Table/InlineEdit.stories.d.ts +1 -1
- package/lib/components/Table/InlineEdit.stories.d.ts.map +1 -1
- package/lib/components/Table/StaticTable.d.ts +3 -3
- package/lib/components/Table/StaticTable.d.ts.map +1 -1
- package/lib/components/Table/StaticTable.js +22 -65
- package/lib/components/Table/Table.d.ts +10 -10
- package/lib/components/Table/Table.d.ts.map +1 -1
- package/lib/components/Table/Table.js +4 -26
- package/lib/components/Table/TableActionBar.d.ts +4 -4
- package/lib/components/Table/TableActionBar.d.ts.map +1 -1
- package/lib/components/Table/TableActionBar.js +4 -4
- package/lib/components/Table/TableBottomBar.d.ts +2 -2
- package/lib/components/Table/TableBottomBar.d.ts.map +1 -1
- package/lib/components/Table/TableBottomBar.js +2 -2
- package/lib/components/Table/TableTopBar.d.ts +2 -2
- package/lib/components/Table/TableTopBar.d.ts.map +1 -1
- package/lib/components/Table/TableTopBar.js +2 -2
- package/lib/components/Table/hooks.d.ts +1 -1
- package/lib/components/Table/hooks.d.ts.map +1 -1
- package/lib/components/Table/hooks.js +4 -12
- package/lib/components/Table/index.d.ts +8 -8
- package/lib/components/Table/index.d.ts.map +1 -1
- package/lib/components/Table/index.js +8 -8
- package/lib/components/Tabs/Tab/Tab.d.ts +7 -5
- package/lib/components/Tabs/Tab/Tab.d.ts.map +1 -1
- package/lib/components/Tabs/Tab/Tab.js +34 -14
- package/lib/components/Tabs/Tab/Tab.stories.d.ts +1 -1
- package/lib/components/Tabs/Tab/Tab.stories.d.ts.map +1 -1
- package/lib/components/Tabs/Tab/index.d.ts +1 -1
- package/lib/components/Tabs/Tab/index.d.ts.map +1 -1
- package/lib/components/Tabs/Tab/index.js +1 -1
- package/lib/components/Tabs/TabList/TabDropdown.d.ts +6 -6
- package/lib/components/Tabs/TabList/TabDropdown.d.ts.map +1 -1
- package/lib/components/Tabs/TabList/TabDropdown.js +11 -17
- package/lib/components/Tabs/TabList/TabList.d.ts +5 -4
- package/lib/components/Tabs/TabList/TabList.d.ts.map +1 -1
- package/lib/components/Tabs/TabList/TabList.js +46 -56
- package/lib/components/Tabs/TabList/TabList.stories.d.ts +23 -1
- package/lib/components/Tabs/TabList/TabList.stories.d.ts.map +1 -1
- package/lib/components/Tabs/TabList/index.d.ts +1 -1
- package/lib/components/Tabs/TabList/index.d.ts.map +1 -1
- package/lib/components/Tabs/TabList/index.js +1 -1
- package/lib/components/Tabs/index.d.ts +2 -2
- package/lib/components/Tabs/index.d.ts.map +1 -1
- package/lib/components/Tabs/index.js +2 -2
- package/lib/components/Text/HighlightedText.stories.d.ts +1 -1
- package/lib/components/Text/HighlightedText.stories.d.ts.map +1 -1
- package/lib/components/Text/Text.d.ts +5 -5
- package/lib/components/Text/Text.d.ts.map +1 -1
- package/lib/components/Text/Text.js +4 -5
- package/lib/components/Text/Text.stories.d.ts +1 -1
- package/lib/components/Text/Text.stories.d.ts.map +1 -1
- package/lib/components/Text/index.d.ts +3 -3
- package/lib/components/Text/index.d.ts.map +1 -1
- package/lib/components/Text/index.js +2 -2
- package/lib/components/TextTile/TextTile.d.ts +2 -2
- package/lib/components/TextTile/TextTile.d.ts.map +1 -1
- package/lib/components/TextTile/TextTile.js +4 -4
- package/lib/components/TextTile/TextTile.stories.d.ts +1 -1
- package/lib/components/TextTile/TextTile.stories.d.ts.map +1 -1
- package/lib/components/TextTile/index.d.ts +1 -1
- package/lib/components/TextTile/index.d.ts.map +1 -1
- package/lib/components/TextTile/index.js +1 -1
- package/lib/components/Textarea/Textarea.d.ts +6 -7
- package/lib/components/Textarea/Textarea.d.ts.map +1 -1
- package/lib/components/Textarea/Textarea.js +10 -20
- package/lib/components/Textarea/Textarea.stories.d.ts +1 -1
- package/lib/components/Textarea/Textarea.stories.d.ts.map +1 -1
- package/lib/components/Textarea/index.d.ts +2 -2
- package/lib/components/Textarea/index.d.ts.map +1 -1
- package/lib/components/Textarea/index.js +1 -1
- package/lib/components/Timeline/Timeline.d.ts +2 -2
- package/lib/components/Timeline/Timeline.d.ts.map +1 -1
- package/lib/components/Timeline/Timeline.js +22 -16
- package/lib/components/Timeline/Timeline.stories.d.ts +1 -1
- package/lib/components/Timeline/Timeline.stories.d.ts.map +1 -1
- package/lib/components/Timeline/TimelineItem/TimelineItem.d.ts +5 -5
- package/lib/components/Timeline/TimelineItem/TimelineItem.d.ts.map +1 -1
- package/lib/components/Timeline/TimelineItem/TimelineItem.js +9 -16
- package/lib/components/Timeline/TimelineItem/TimelineItem.stories.d.ts +1 -1
- package/lib/components/Timeline/TimelineItem/TimelineItem.stories.d.ts.map +1 -1
- package/lib/components/Timeline/TimelineItem/index.d.ts +1 -1
- package/lib/components/Timeline/TimelineItem/index.d.ts.map +1 -1
- package/lib/components/Timeline/TimelineItem/index.js +1 -1
- package/lib/components/Timeline/index.d.ts +2 -2
- package/lib/components/Timeline/index.d.ts.map +1 -1
- package/lib/components/Timeline/index.js +2 -2
- package/lib/components/Toast/Toast.d.ts +8 -8
- package/lib/components/Toast/Toast.d.ts.map +1 -1
- package/lib/components/Toast/Toast.js +36 -29
- package/lib/components/Toast/Toast.stories.d.ts +1 -1
- package/lib/components/Toast/Toast.stories.d.ts.map +1 -1
- package/lib/components/Toast/ToastContainer.d.ts.map +1 -1
- package/lib/components/Toast/ToastContainer.js +12 -11
- package/lib/components/Toast/ToastManager.d.ts +5 -5
- package/lib/components/Toast/ToastManager.d.ts.map +1 -1
- package/lib/components/Toast/ToastManager.js +2 -3
- package/lib/components/Toast/index.d.ts +4 -4
- package/lib/components/Toast/index.d.ts.map +1 -1
- package/lib/components/Toast/index.js +3 -3
- package/lib/components/Toggle/Toggle.d.ts +2 -2
- package/lib/components/Toggle/Toggle.d.ts.map +1 -1
- package/lib/components/Toggle/Toggle.js +4 -8
- package/lib/components/Toggle/Toggle.stories.d.ts +1 -1
- package/lib/components/Toggle/Toggle.stories.d.ts.map +1 -1
- package/lib/components/Toggle/index.d.ts +1 -1
- package/lib/components/Toggle/index.d.ts.map +1 -1
- package/lib/components/Toggle/index.js +1 -1
- package/lib/components/TokenListInput/TokenListInput.d.ts +18 -16
- package/lib/components/TokenListInput/TokenListInput.d.ts.map +1 -1
- package/lib/components/TokenListInput/TokenListInput.js +39 -53
- package/lib/components/TokenListInput/TokenListInput.stories.d.ts +6 -7
- package/lib/components/TokenListInput/TokenListInput.stories.d.ts.map +1 -1
- package/lib/components/TokenListInput/TokenValueChips.d.ts +4 -4
- package/lib/components/TokenListInput/TokenValueChips.d.ts.map +1 -1
- package/lib/components/TokenListInput/TokenValueChips.js +16 -19
- package/lib/components/TokenListInput/index.d.ts +1 -1
- package/lib/components/TokenListInput/index.d.ts.map +1 -1
- package/lib/components/TokenListInput/index.js +1 -1
- package/lib/components/Tooltip/Tooltip.d.ts +5 -6
- package/lib/components/Tooltip/Tooltip.d.ts.map +1 -1
- package/lib/components/Tooltip/Tooltip.js +17 -16
- package/lib/components/Tooltip/Tooltip.stories.d.ts +1 -1
- package/lib/components/Tooltip/Tooltip.stories.d.ts.map +1 -1
- package/lib/components/Tooltip/index.d.ts +1 -1
- package/lib/components/Tooltip/index.d.ts.map +1 -1
- package/lib/components/Tooltip/index.js +1 -1
- package/lib/components/Truncate/Truncate.d.ts +2 -2
- package/lib/components/Truncate/Truncate.d.ts.map +1 -1
- package/lib/components/Truncate/Truncate.js +6 -7
- package/lib/components/Truncate/Truncate.stories.d.ts +1 -1
- package/lib/components/Truncate/Truncate.stories.d.ts.map +1 -1
- package/lib/components/Truncate/index.d.ts +2 -2
- package/lib/components/Truncate/index.d.ts.map +1 -1
- package/lib/components/Truncate/index.js +1 -1
- package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.d.ts +4 -4
- package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.d.ts.map +1 -1
- package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.js +24 -15
- package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.stories.d.ts +2 -2
- package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.stories.d.ts.map +1 -1
- package/lib/components/TruncatedTextWithTooltip/index.d.ts +1 -1
- package/lib/components/TruncatedTextWithTooltip/index.d.ts.map +1 -1
- package/lib/components/TruncatedTextWithTooltip/index.js +1 -1
- package/lib/components/Typeahead/SimpleTypeahead.d.ts +10 -11
- package/lib/components/Typeahead/SimpleTypeahead.d.ts.map +1 -1
- package/lib/components/Typeahead/SimpleTypeahead.js +3 -7
- package/lib/components/Typeahead/SimpleTypeahead.stories.d.ts +3 -3
- package/lib/components/Typeahead/SimpleTypeahead.stories.d.ts.map +1 -1
- package/lib/components/Typeahead/Typeahead.d.ts +9 -10
- package/lib/components/Typeahead/Typeahead.d.ts.map +1 -1
- package/lib/components/Typeahead/Typeahead.js +23 -20
- package/lib/components/Typeahead/Typeahead.stories.d.ts +6 -6
- package/lib/components/Typeahead/Typeahead.stories.d.ts.map +1 -1
- package/lib/components/Typeahead/index.d.ts +2 -2
- package/lib/components/Typeahead/index.d.ts.map +1 -1
- package/lib/components/Typeahead/index.js +2 -2
- package/lib/components/WeekdayPicker/WeekdayPicker.d.ts +4 -4
- package/lib/components/WeekdayPicker/WeekdayPicker.d.ts.map +1 -1
- package/lib/components/WeekdayPicker/WeekdayPicker.js +3 -3
- package/lib/components/WeekdayPicker/WeekdayPicker.stories.d.ts +1 -1
- package/lib/components/WeekdayPicker/WeekdayPicker.stories.d.ts.map +1 -1
- package/lib/components/WeekdayPicker/index.d.ts +1 -1
- package/lib/components/WeekdayPicker/index.d.ts.map +1 -1
- package/lib/components/WeekdayPicker/index.js +1 -1
- package/lib/components/index.d.ts +75 -75
- package/lib/components/index.d.ts.map +1 -1
- package/lib/components/index.js +75 -75
- package/lib/devtools/DependencyGraph/DependencyGraph.stories.d.ts.map +1 -1
- package/lib/flow-to-typescript-codemod.d.ts +1 -21
- package/lib/hooks/index.d.ts +16 -16
- package/lib/hooks/index.d.ts.map +1 -1
- package/lib/hooks/index.js +16 -16
- package/lib/hooks/useArbitraryOptionAddition/index.d.ts +1 -1
- package/lib/hooks/useArbitraryOptionAddition/index.d.ts.map +1 -1
- package/lib/hooks/useArbitraryOptionAddition/index.js +1 -1
- package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.d.ts +3 -3
- package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.d.ts.map +1 -1
- package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.js +1 -1
- package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.stories.d.ts +1 -1
- package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.stories.d.ts.map +1 -1
- package/lib/hooks/useCopyToClipboard/index.d.ts +1 -1
- package/lib/hooks/useCopyToClipboard/index.d.ts.map +1 -1
- package/lib/hooks/useCopyToClipboard/index.js +1 -1
- package/lib/hooks/useCopyToClipboard/useCopyToClipboard.stories.d.ts +1 -1
- package/lib/hooks/useCopyToClipboard/useCopyToClipboard.stories.d.ts.map +1 -1
- package/lib/hooks/useDebounce/index.d.ts +1 -1
- package/lib/hooks/useDebounce/index.d.ts.map +1 -1
- package/lib/hooks/useDebounce/index.js +1 -1
- package/lib/hooks/useDebounce/useDebounce.stories.d.ts +1 -1
- package/lib/hooks/useDebounce/useDebounce.stories.d.ts.map +1 -1
- package/lib/hooks/useFileUpload/index.d.ts +1 -1
- package/lib/hooks/useFileUpload/index.d.ts.map +1 -1
- package/lib/hooks/useFileUpload/index.js +1 -1
- package/lib/hooks/useFileUpload/useFileUpload.d.ts +3 -3
- package/lib/hooks/useFileUpload/useFileUpload.d.ts.map +1 -1
- package/lib/hooks/useFileUpload/useFileUpload.js +1 -1
- package/lib/hooks/useFileUpload/useFileUpload.stories.d.ts +1 -1
- package/lib/hooks/useFileUpload/useFileUpload.stories.d.ts.map +1 -1
- package/lib/hooks/useFilteredOptions/index.d.ts +1 -1
- package/lib/hooks/useFilteredOptions/index.d.ts.map +1 -1
- package/lib/hooks/useFilteredOptions/index.js +1 -1
- package/lib/hooks/useFilteredOptions/useFilteredOptions.d.ts +4 -4
- package/lib/hooks/useFilteredOptions/useFilteredOptions.d.ts.map +1 -1
- package/lib/hooks/useFilteredOptions/useFilteredOptions.stories.d.ts +1 -1
- package/lib/hooks/useFilteredOptions/useFilteredOptions.stories.d.ts.map +1 -1
- package/lib/hooks/useInfiniteScroll/index.d.ts +1 -1
- package/lib/hooks/useInfiniteScroll/index.d.ts.map +1 -1
- package/lib/hooks/useInfiniteScroll/index.js +1 -1
- package/lib/hooks/useInfiniteScroll/useInfiniteScroll.d.ts +2 -2
- package/lib/hooks/useInfiniteScroll/useInfiniteScroll.d.ts.map +1 -1
- package/lib/hooks/useInputState/index.d.ts +1 -1
- package/lib/hooks/useInputState/index.d.ts.map +1 -1
- package/lib/hooks/useInputState/index.js +1 -1
- package/lib/hooks/useInputState/useInputState.d.ts.map +1 -1
- package/lib/hooks/useLockedBody/index.d.ts +1 -1
- package/lib/hooks/useLockedBody/index.d.ts.map +1 -1
- package/lib/hooks/useLockedBody/index.js +1 -1
- package/lib/hooks/useLockedBody/useLockedBody.d.ts.map +1 -1
- package/lib/hooks/useLockedBody/useLockedBody.stories.d.ts +1 -1
- package/lib/hooks/useLockedBody/useLockedBody.stories.d.ts.map +1 -1
- package/lib/hooks/useModal/index.d.ts +1 -1
- package/lib/hooks/useModal/index.d.ts.map +1 -1
- package/lib/hooks/useModal/index.js +1 -1
- package/lib/hooks/useModal/useModal.d.ts +16 -8
- package/lib/hooks/useModal/useModal.d.ts.map +1 -1
- package/lib/hooks/useModal/useModal.js +8 -6
- package/lib/hooks/useModal/useModal.stories.d.ts +2 -1
- package/lib/hooks/useModal/useModal.stories.d.ts.map +1 -1
- package/lib/hooks/usePagination/index.d.ts +1 -1
- package/lib/hooks/usePagination/index.d.ts.map +1 -1
- package/lib/hooks/usePagination/index.js +1 -1
- package/lib/hooks/usePagination/usePagination.d.ts +1 -1
- package/lib/hooks/usePagination/usePagination.d.ts.map +1 -1
- package/lib/hooks/usePagination/usePagination.js +1 -1
- package/lib/hooks/usePagination/usePagination.stories.d.ts +2 -2
- package/lib/hooks/useReferenceElementWidth/index.d.ts +1 -1
- package/lib/hooks/useReferenceElementWidth/index.d.ts.map +1 -1
- package/lib/hooks/useReferenceElementWidth/index.js +1 -1
- package/lib/hooks/useReferenceElementWidth/useReferenceElementWidth.js +1 -1
- package/lib/hooks/useResizeObserver/index.d.ts +1 -1
- package/lib/hooks/useResizeObserver/index.d.ts.map +1 -1
- package/lib/hooks/useResizeObserver/index.js +1 -1
- package/lib/hooks/useToastPortal/index.d.ts +1 -1
- package/lib/hooks/useToastPortal/index.d.ts.map +1 -1
- package/lib/hooks/useToastPortal/index.js +1 -1
- package/lib/hooks/useToastPortal/useToastPortal.d.ts +2 -2
- package/lib/hooks/useToastPortal/useToastPortal.d.ts.map +1 -1
- package/lib/hooks/useToastPortal/useToastPortal.js +2 -2
- package/lib/hooks/useToggle/index.d.ts +1 -1
- package/lib/hooks/useToggle/index.d.ts.map +1 -1
- package/lib/hooks/useToggle/index.js +1 -1
- package/lib/hooks/useToggle/useToggle.d.ts.map +1 -1
- package/lib/hooks/useToggle/useToggle.stories.d.ts +1 -1
- package/lib/hooks/useToggle/useToggle.stories.d.ts.map +1 -1
- package/lib/hooks/useWindowSize/index.d.ts +1 -1
- package/lib/hooks/useWindowSize/index.d.ts.map +1 -1
- package/lib/hooks/useWindowSize/index.js +1 -1
- package/lib/hooks/useWindowSize/useWindowSize.d.ts +2 -2
- package/lib/hooks/useWindowSize/useWindowSize.d.ts.map +1 -1
- package/lib/hooks/useWindowSize/useWindowSize.stories.d.ts +1 -1
- package/lib/hooks/useWindowSize/useWindowSize.stories.d.ts.map +1 -1
- package/lib/index.d.ts +5 -5
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +5 -5
- package/lib/stories/Border/Border.stories.d.ts.map +1 -1
- package/lib/stories/Color/Color.stories.d.ts.map +1 -1
- package/lib/stories/Elevation/Elevation.stories.d.ts.map +1 -1
- package/lib/stories/Motion/Motion.stories.d.ts.map +1 -1
- package/lib/stories/Opacity/Opacity.stories.d.ts.map +1 -1
- package/lib/stories/Shadow/Shadow.stories.d.ts.map +1 -1
- package/lib/stories/Size/Size.stories.d.ts.map +1 -1
- package/lib/stories/Space/Space.stories.d.ts.map +1 -1
- package/lib/stories/Tokens/index.d.ts.map +1 -1
- package/lib/styles/index.css +2 -0
- package/lib/styles/index.d.ts +1 -0
- package/lib/styles/index.d.ts.map +1 -1
- package/lib/styles/index.js +2 -1
- package/lib/styles/variables/_size.css +2 -0
- package/lib/styles/variables/_size.d.ts +1 -0
- package/lib/styles/variables/_size.d.ts.map +1 -1
- package/lib/styles/variables/_size.js +2 -1
- package/lib/types/charts.d.ts +35 -31
- package/lib/types/charts.d.ts.map +1 -1
- package/lib/types/date-range-picker.d.ts +8 -9
- package/lib/types/date-range-picker.d.ts.map +1 -1
- package/lib/types/index.d.ts +7 -7
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/index.js +7 -7
- package/lib/types/menu.d.ts +2 -2
- package/lib/types/menu.d.ts.map +1 -1
- package/lib/types/toast.d.ts +9 -10
- package/lib/types/toast.d.ts.map +1 -1
- package/lib/utils/array/index.d.ts +1 -1
- package/lib/utils/array/index.d.ts.map +1 -1
- package/lib/utils/array/index.js +1 -1
- package/lib/utils/charts/charts.d.ts +2 -2
- package/lib/utils/charts/charts.d.ts.map +1 -1
- package/lib/utils/charts/charts.js +5 -5
- package/lib/utils/charts/columnChart.d.ts +1 -1
- package/lib/utils/charts/columnChart.d.ts.map +1 -1
- package/lib/utils/charts/columnChart.js +3 -3
- package/lib/utils/charts/donutChart.d.ts +3 -3
- package/lib/utils/charts/donutChart.d.ts.map +1 -1
- package/lib/utils/charts/donutChart.js +4 -2
- package/lib/utils/charts/funnelChart.d.ts +2 -2
- package/lib/utils/charts/funnelChart.d.ts.map +1 -1
- package/lib/utils/charts/funnelChart.js +4 -4
- package/lib/utils/charts/helpers.d.ts +1 -1
- package/lib/utils/charts/helpers.d.ts.map +1 -1
- package/lib/utils/charts/helpers.js +2 -2
- package/lib/utils/charts/index.d.ts +10 -10
- package/lib/utils/charts/index.d.ts.map +1 -1
- package/lib/utils/charts/index.js +10 -10
- package/lib/utils/charts/lineChart.d.ts +1 -1
- package/lib/utils/charts/lineChart.d.ts.map +1 -1
- package/lib/utils/charts/lineChart.js +4 -4
- package/lib/utils/charts/sankeyChart.d.ts +3 -3
- package/lib/utils/charts/sankeyChart.d.ts.map +1 -1
- package/lib/utils/charts/sankeyChart.js +2 -2
- package/lib/utils/charts/spiderChart.d.ts +1 -1
- package/lib/utils/charts/spiderChart.d.ts.map +1 -1
- package/lib/utils/charts/spiderChart.js +4 -4
- package/lib/utils/charts/stackedBarChart.d.ts +1 -1
- package/lib/utils/charts/stackedBarChart.d.ts.map +1 -1
- package/lib/utils/charts/stackedBarChart.js +3 -3
- package/lib/utils/charts/typography.js +2 -2
- package/lib/utils/classify/classify.stories.d.ts +1 -1
- package/lib/utils/classify/classify.stories.d.ts.map +1 -1
- package/lib/utils/click-away/ClickAway.stories.d.ts +1 -1
- package/lib/utils/click-away/ClickAway.stories.d.ts.map +1 -1
- package/lib/utils/click-away/click-away.d.ts +11 -13
- package/lib/utils/click-away/click-away.d.ts.map +1 -1
- package/lib/utils/click-away/click-away.js +1 -1
- package/lib/utils/click-away/index.d.ts +1 -1
- package/lib/utils/click-away/index.d.ts.map +1 -1
- package/lib/utils/click-away/index.js +1 -1
- package/lib/utils/date-range-picker/date-range-picker.d.ts +1 -1
- package/lib/utils/date-range-picker/date-range-picker.d.ts.map +1 -1
- package/lib/utils/date-range-picker/date-range-picker.js +1 -1
- package/lib/utils/date-range-picker/index.d.ts +2 -2
- package/lib/utils/date-range-picker/index.d.ts.map +1 -1
- package/lib/utils/date-range-picker/index.js +2 -2
- package/lib/utils/dom/dom.d.ts +2 -2
- package/lib/utils/dom/dom.d.ts.map +1 -1
- package/lib/utils/dom/index.d.ts +1 -1
- package/lib/utils/dom/index.d.ts.map +1 -1
- package/lib/utils/dom/index.js +1 -1
- package/lib/utils/helpers/helpers.d.ts.map +1 -1
- package/lib/utils/helpers/index.d.ts +1 -1
- package/lib/utils/helpers/index.d.ts.map +1 -1
- package/lib/utils/helpers/index.js +1 -1
- package/lib/utils/index.d.ts +14 -14
- package/lib/utils/index.d.ts.map +1 -1
- package/lib/utils/index.js +14 -14
- package/lib/utils/makeClassNameComponent/index.d.ts +1 -1
- package/lib/utils/makeClassNameComponent/index.d.ts.map +1 -1
- package/lib/utils/makeClassNameComponent/index.js +1 -1
- package/lib/utils/makeClassNameComponent/makeClassNameComponent.d.ts.map +1 -1
- package/lib/utils/makeClassNameComponent/makeClassNameComponent.js +1 -1
- package/lib/utils/menu/index.d.ts +1 -1
- package/lib/utils/menu/index.d.ts.map +1 -1
- package/lib/utils/menu/index.js +1 -1
- package/lib/utils/menu/menu.d.ts +1 -1
- package/lib/utils/menu/menu.d.ts.map +1 -1
- package/lib/utils/merge-refs/index.d.ts +1 -1
- package/lib/utils/merge-refs/index.d.ts.map +1 -1
- package/lib/utils/merge-refs/index.js +1 -1
- package/lib/utils/merge-refs/merge-refs.d.ts +2 -3
- package/lib/utils/merge-refs/merge-refs.d.ts.map +1 -1
- package/lib/utils/merge-refs/merge-refs.js +13 -7
- package/lib/utils/merge-refs/merge-refs.stories.d.ts.map +1 -1
- package/lib/utils/rating/index.d.ts +1 -1
- package/lib/utils/rating/index.d.ts.map +1 -1
- package/lib/utils/rating/index.js +1 -1
- package/lib/utils/score-bar/index.d.ts +1 -1
- package/lib/utils/score-bar/index.d.ts.map +1 -1
- package/lib/utils/score-bar/index.js +1 -1
- package/lib/utils/score-bar/score-bar.d.ts +1 -1
- package/lib/utils/score-bar/score-bar.d.ts.map +1 -1
- package/lib/utils/string/index.d.ts +1 -1
- package/lib/utils/string/index.d.ts.map +1 -1
- package/lib/utils/string/index.js +1 -1
- package/lib/utils/string/string.stories.d.ts.map +1 -1
- package/lib/utils/token-list-input/token-list-input.d.ts +5 -5
- package/lib/utils/token-list-input/token-list-input.d.ts.map +1 -1
- package/lib/utils/tokens/index.d.ts +1 -1
- package/lib/utils/tokens/index.d.ts.map +1 -1
- package/lib/utils/tokens/index.js +1 -1
- package/lib/utils/tokens/tokens.d.ts +7 -6
- package/lib/utils/tokens/tokens.d.ts.map +1 -1
- package/package.json +18 -10
- package/tsconfig.json +3 -2
|
@@ -5,8 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.Table = Table;
|
|
7
7
|
var React = _interopRequireWildcard(require("react"));
|
|
8
|
-
var _hooks = require("
|
|
9
|
-
var _StaticTable = require("
|
|
8
|
+
var _hooks = require("src/components/Table/hooks");
|
|
9
|
+
var _StaticTable = require("src/components/Table/StaticTable");
|
|
10
10
|
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); }
|
|
11
11
|
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); }
|
|
12
12
|
// type ClassNames = $ReadOnly<{wrapper?: string}>;
|
|
@@ -26,31 +26,13 @@ function _extends() { return _extends = Object.assign ? Object.assign.bind() : f
|
|
|
26
26
|
*/
|
|
27
27
|
function Table(props) {
|
|
28
28
|
const {
|
|
29
|
-
// @ts-ignore - TS6133 - 'className' is declared but its value is never read.
|
|
30
|
-
className,
|
|
31
|
-
// @ts-ignore - TS6133 - 'classNames' is declared but its value is never read.
|
|
32
|
-
classNames,
|
|
33
|
-
// @ts-ignore - TS6133 - 'TableRow' is declared but its value is never read.
|
|
34
|
-
TableRow,
|
|
35
29
|
entries,
|
|
36
|
-
// @ts-ignore - TS6133 - 'extras' is declared but its value is never read.
|
|
37
|
-
extras,
|
|
38
|
-
// @ts-ignore - TS6133 - 'headers' is declared but its value is never read.
|
|
39
|
-
headers,
|
|
40
|
-
// @ts-ignore - TS6133 - 'showHeader' is declared but its value is never read.
|
|
41
|
-
showHeader = true,
|
|
42
|
-
// @ts-ignore - TS6133 - 'tableHeaderClassName' is declared but its value is never read.
|
|
43
|
-
tableHeaderClassName,
|
|
44
30
|
sortable = true,
|
|
45
31
|
defaultSortKey,
|
|
46
32
|
defaultSortDirection = 'original',
|
|
47
33
|
onSort,
|
|
48
34
|
enableInternalSorting,
|
|
49
|
-
// @ts-ignore - TS6133 - 'isLoading' is declared but its value is never read.
|
|
50
|
-
isLoading,
|
|
51
35
|
idName = 'id',
|
|
52
|
-
// @ts-ignore - TS6133 - 'emptyText' is declared but its value is never read.
|
|
53
|
-
emptyText,
|
|
54
36
|
virtualizationOptions
|
|
55
37
|
} = props;
|
|
56
38
|
|
|
@@ -73,15 +55,11 @@ function Table(props) {
|
|
|
73
55
|
const virtualized = !!(virtualizationOptions && virtualizationOptions.rowsCount > 0 && entries.length > 0);
|
|
74
56
|
return virtualized ? /*#__PURE__*/React.createElement(_StaticTable.StaticTableVirtualized, _extends({}, props, sortableProps, {
|
|
75
57
|
sortable: sortable,
|
|
76
|
-
entries: sortedEntries
|
|
77
|
-
// @ts-ignore - TS2322 - Type 'keyof T[]' is not assignable to type 'string[] | undefined'.
|
|
78
|
-
,
|
|
58
|
+
entries: sortedEntries,
|
|
79
59
|
rowKeys: sortedKeys
|
|
80
60
|
})) : /*#__PURE__*/React.createElement(_StaticTable.StaticTable, _extends({}, props, sortableProps, {
|
|
81
61
|
sortable: sortable,
|
|
82
|
-
entries: sortedEntries
|
|
83
|
-
// @ts-ignore - TS2322 - Type 'keyof T[]' is not assignable to type 'string[] | undefined'.
|
|
84
|
-
,
|
|
62
|
+
entries: sortedEntries,
|
|
85
63
|
rowKeys: sortedKeys
|
|
86
64
|
}));
|
|
87
65
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import type { ButtonProps } from '
|
|
3
|
-
import type { SimpleButtonDropdownProps } from '
|
|
4
|
-
export
|
|
2
|
+
import type { ButtonProps } from 'src/components/Button';
|
|
3
|
+
import type { SimpleButtonDropdownProps } from 'src/components/ButtonDropdown';
|
|
4
|
+
export interface TableActionBarProps {
|
|
5
5
|
children?: React.ReactNode;
|
|
6
6
|
className?: string;
|
|
7
|
-
}
|
|
7
|
+
}
|
|
8
8
|
export declare const ButtonCta: ({ classNames, ...props }: ButtonProps) => React.JSX.Element;
|
|
9
9
|
export declare const DropdownCta: ({ classNames, ...props }: SimpleButtonDropdownProps) => React.JSX.Element;
|
|
10
10
|
export declare const TableActionBar: ({ children, className, ...props }: TableActionBarProps) => React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableActionBar.d.ts","sourceRoot":"","sources":["../../../src/components/Table/TableActionBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"TableActionBar.d.ts","sourceRoot":"","sources":["../../../src/components/Table/TableActionBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,uBAAuB,CAAC;AAEvD,OAAO,KAAK,EAAC,yBAAyB,EAAC,MAAM,+BAA+B,CAAC;AAM7E,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,SAAS,GAAI,0BAAwB,WAAW,sBAQ5D,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,0BAGzB,yBAAyB,sBAQ3B,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,mCAI5B,mBAAmB,sBAQrB,CAAC"}
|
|
@@ -5,10 +5,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.TableActionBar = exports.DropdownCta = exports.ButtonCta = void 0;
|
|
7
7
|
var React = _interopRequireWildcard(require("react"));
|
|
8
|
-
var _classify = require("
|
|
9
|
-
var _Button = require("
|
|
10
|
-
var _ButtonDropdown = require("
|
|
11
|
-
var _TableBarModule = _interopRequireDefault(require("
|
|
8
|
+
var _classify = require("src/utils/classify");
|
|
9
|
+
var _Button = require("src/components/Button");
|
|
10
|
+
var _ButtonDropdown = require("src/components/ButtonDropdown");
|
|
11
|
+
var _TableBarModule = _interopRequireDefault(require("src/components/Table/TableBar.module.css"));
|
|
12
12
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
13
13
|
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); }
|
|
14
14
|
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); }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
export
|
|
2
|
+
export interface TableBottomBarProps {
|
|
3
3
|
children?: React.ReactNode;
|
|
4
4
|
className?: string;
|
|
5
|
-
}
|
|
5
|
+
}
|
|
6
6
|
export declare const TableBottomBar: ({ children, className, ...props }: TableBottomBarProps) => React.JSX.Element;
|
|
7
7
|
//# sourceMappingURL=TableBottomBar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableBottomBar.d.ts","sourceRoot":"","sources":["../../../src/components/Table/TableBottomBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,MAAM,
|
|
1
|
+
{"version":3,"file":"TableBottomBar.d.ts","sourceRoot":"","sources":["../../../src/components/Table/TableBottomBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,cAAc,GAAI,mCAI5B,mBAAmB,sBAQrB,CAAC"}
|
|
@@ -5,8 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.TableBottomBar = void 0;
|
|
7
7
|
var React = _interopRequireWildcard(require("react"));
|
|
8
|
-
var _classify = require("
|
|
9
|
-
var _TableBarModule = _interopRequireDefault(require("
|
|
8
|
+
var _classify = require("src/utils/classify");
|
|
9
|
+
var _TableBarModule = _interopRequireDefault(require("src/components/Table/TableBar.module.css"));
|
|
10
10
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
11
|
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); }
|
|
12
12
|
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); }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
export
|
|
2
|
+
export interface TableTopBarProps {
|
|
3
3
|
children?: React.ReactNode;
|
|
4
4
|
className?: string;
|
|
5
|
-
}
|
|
5
|
+
}
|
|
6
6
|
export declare const TableTopBar: ({ children, className, ...props }: TableTopBarProps) => React.JSX.Element;
|
|
7
7
|
//# sourceMappingURL=TableTopBar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableTopBar.d.ts","sourceRoot":"","sources":["../../../src/components/Table/TableTopBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,MAAM,
|
|
1
|
+
{"version":3,"file":"TableTopBar.d.ts","sourceRoot":"","sources":["../../../src/components/Table/TableTopBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,WAAW,GAAI,mCAIzB,gBAAgB,sBAQlB,CAAC"}
|
|
@@ -5,8 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.TableTopBar = void 0;
|
|
7
7
|
var React = _interopRequireWildcard(require("react"));
|
|
8
|
-
var _classify = require("
|
|
9
|
-
var _TableBarModule = _interopRequireDefault(require("
|
|
8
|
+
var _classify = require("src/utils/classify");
|
|
9
|
+
var _TableBarModule = _interopRequireDefault(require("src/components/Table/TableBar.module.css"));
|
|
10
10
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
11
|
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); }
|
|
12
12
|
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); }
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { GenericObject } from '
|
|
1
|
+
import type { GenericObject } from 'src/components/Table/Table';
|
|
2
2
|
export type SortDirection = 'asc' | 'desc' | 'original';
|
|
3
3
|
export declare function useSortableEntries<T extends GenericObject>(entries: Array<T>, idName: keyof T, { defaultSortKey, defaultSortDirection, onSort, enableInternalSorting, }: {
|
|
4
4
|
defaultSortKey?: keyof T;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../src/components/Table/hooks.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../src/components/Table/hooks.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,4BAA4B,CAAC;AAG9D,MAAM,MAAM,aAAa,GAAG,KAAK,GAAG,MAAM,GAAG,UAAU,CAAC;AAExD,wBAAgB,kBAAkB,CAAC,CAAC,SAAS,aAAa,EACxD,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC,EACjB,MAAM,EAAE,MAAM,CAAC,EACf,EACE,cAAqB,EACrB,oBAAiC,EACjC,MAAM,EACN,qBAA4B,GAC7B,EAAE;IACD,cAAc,CAAC,EAAE,MAAM,CAAC,CAAC;IACzB,oBAAoB,CAAC,EAAE,aAAa,CAAC;IACrC,MAAM,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,aAAa,KAAK,OAAO,CAAC;IACpE,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC,GACA;IACD,eAAe,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC,KAAK,OAAO,CAAC;IAC/C,aAAa,EAAE,aAAa,CAAC;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,CAAC,EAAE,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC,EAAE,CAAC;CACvB,CAiEA"}
|
|
@@ -32,9 +32,7 @@ function useSortableEntries(entries, idName, _ref) {
|
|
|
32
32
|
};
|
|
33
33
|
const advanceSortDirection = dir => {
|
|
34
34
|
const nextDirection = getNextDirection(dir);
|
|
35
|
-
|
|
36
|
-
// @ts-ignore - TS6133 - 'dir' is declared but its value is never read.
|
|
37
|
-
setSortDirection(dir => nextDirection);
|
|
35
|
+
setSortDirection(_dir => nextDirection);
|
|
38
36
|
return nextDirection;
|
|
39
37
|
};
|
|
40
38
|
const handleSortClick = React.useCallback(nextSortKey => {
|
|
@@ -45,9 +43,7 @@ function useSortableEntries(entries, idName, _ref) {
|
|
|
45
43
|
setSortKey(nextSortKey);
|
|
46
44
|
nextSortDirection = 'desc';
|
|
47
45
|
}
|
|
48
|
-
// @ts-ignore - TS2345 - Argument of type 'string' is not assignable to parameter of type 'SetStateAction<SortDirection>'.
|
|
49
46
|
setSortDirection(nextSortDirection);
|
|
50
|
-
// @ts-ignore - TS2345 - Argument of type 'string' is not assignable to parameter of type 'SortDirection'.
|
|
51
47
|
onSort?.(nextSortKey, nextSortDirection);
|
|
52
48
|
}, [sortKey, sortDirection, entries]);
|
|
53
49
|
const sortedEntries = React.useMemo(() => {
|
|
@@ -56,7 +52,6 @@ function useSortableEntries(entries, idName, _ref) {
|
|
|
56
52
|
}
|
|
57
53
|
const caseInsensitiveSortFunction = entry => {
|
|
58
54
|
if (typeof entry[sortKey] === 'string') {
|
|
59
|
-
// @ts-ignore - TS2339 - Property 'toLowerCase' does not exist on type 'T[keyof T]'.
|
|
60
55
|
return entry[sortKey].toLowerCase();
|
|
61
56
|
}
|
|
62
57
|
return entry[sortKey];
|
|
@@ -67,12 +62,9 @@ function useSortableEntries(entries, idName, _ref) {
|
|
|
67
62
|
const sortedKeys = React.useMemo(() => sortedEntries.map(ent => (0, _get.default)(ent, idName)), [sortedEntries]);
|
|
68
63
|
return {
|
|
69
64
|
sortedEntries,
|
|
70
|
-
|
|
71
|
-
sortedKeys,
|
|
65
|
+
sortedKeys: sortedKeys,
|
|
72
66
|
sortDirection,
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
// @ts-ignore - TS2322 - Type '(nextSortKey: string) => void' is not assignable to type '(sortKey: keyof T) => unknown'.
|
|
76
|
-
handleSortClick
|
|
67
|
+
sortKey: sortKey,
|
|
68
|
+
handleSortClick: handleSortClick
|
|
77
69
|
};
|
|
78
70
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export * from '
|
|
2
|
-
export * from '
|
|
3
|
-
export * from '
|
|
4
|
-
export * from '
|
|
5
|
-
export * from '
|
|
6
|
-
export * from '
|
|
7
|
-
export * from '
|
|
8
|
-
export * from '
|
|
1
|
+
export * from 'src/components/Table/Cell';
|
|
2
|
+
export * from 'src/components/Table/DefaultRow';
|
|
3
|
+
export * from 'src/components/Table/DefaultTableHeader';
|
|
4
|
+
export * from 'src/components/Table/StaticTable';
|
|
5
|
+
export * from 'src/components/Table/Table';
|
|
6
|
+
export * from 'src/components/Table/TableActionBar';
|
|
7
|
+
export * from 'src/components/Table/TableBottomBar';
|
|
8
|
+
export * from 'src/components/Table/TableTopBar';
|
|
9
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Table/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Table/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAChD,cAAc,yCAAyC,CAAC;AACxD,cAAc,kCAAkC,CAAC;AACjD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qCAAqC,CAAC;AACpD,cAAc,qCAAqC,CAAC;AACpD,cAAc,kCAAkC,CAAC"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
var _Cell = require("
|
|
6
|
+
var _Cell = require("src/components/Table/Cell");
|
|
7
7
|
Object.keys(_Cell).forEach(function (key) {
|
|
8
8
|
if (key === "default" || key === "__esModule") return;
|
|
9
9
|
if (key in exports && exports[key] === _Cell[key]) return;
|
|
@@ -14,7 +14,7 @@ Object.keys(_Cell).forEach(function (key) {
|
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
16
|
});
|
|
17
|
-
var _DefaultRow = require("
|
|
17
|
+
var _DefaultRow = require("src/components/Table/DefaultRow");
|
|
18
18
|
Object.keys(_DefaultRow).forEach(function (key) {
|
|
19
19
|
if (key === "default" || key === "__esModule") return;
|
|
20
20
|
if (key in exports && exports[key] === _DefaultRow[key]) return;
|
|
@@ -25,7 +25,7 @@ Object.keys(_DefaultRow).forEach(function (key) {
|
|
|
25
25
|
}
|
|
26
26
|
});
|
|
27
27
|
});
|
|
28
|
-
var _DefaultTableHeader = require("
|
|
28
|
+
var _DefaultTableHeader = require("src/components/Table/DefaultTableHeader");
|
|
29
29
|
Object.keys(_DefaultTableHeader).forEach(function (key) {
|
|
30
30
|
if (key === "default" || key === "__esModule") return;
|
|
31
31
|
if (key in exports && exports[key] === _DefaultTableHeader[key]) return;
|
|
@@ -36,7 +36,7 @@ Object.keys(_DefaultTableHeader).forEach(function (key) {
|
|
|
36
36
|
}
|
|
37
37
|
});
|
|
38
38
|
});
|
|
39
|
-
var _StaticTable = require("
|
|
39
|
+
var _StaticTable = require("src/components/Table/StaticTable");
|
|
40
40
|
Object.keys(_StaticTable).forEach(function (key) {
|
|
41
41
|
if (key === "default" || key === "__esModule") return;
|
|
42
42
|
if (key in exports && exports[key] === _StaticTable[key]) return;
|
|
@@ -47,7 +47,7 @@ Object.keys(_StaticTable).forEach(function (key) {
|
|
|
47
47
|
}
|
|
48
48
|
});
|
|
49
49
|
});
|
|
50
|
-
var _Table = require("
|
|
50
|
+
var _Table = require("src/components/Table/Table");
|
|
51
51
|
Object.keys(_Table).forEach(function (key) {
|
|
52
52
|
if (key === "default" || key === "__esModule") return;
|
|
53
53
|
if (key in exports && exports[key] === _Table[key]) return;
|
|
@@ -58,7 +58,7 @@ Object.keys(_Table).forEach(function (key) {
|
|
|
58
58
|
}
|
|
59
59
|
});
|
|
60
60
|
});
|
|
61
|
-
var _TableActionBar = require("
|
|
61
|
+
var _TableActionBar = require("src/components/Table/TableActionBar");
|
|
62
62
|
Object.keys(_TableActionBar).forEach(function (key) {
|
|
63
63
|
if (key === "default" || key === "__esModule") return;
|
|
64
64
|
if (key in exports && exports[key] === _TableActionBar[key]) return;
|
|
@@ -69,7 +69,7 @@ Object.keys(_TableActionBar).forEach(function (key) {
|
|
|
69
69
|
}
|
|
70
70
|
});
|
|
71
71
|
});
|
|
72
|
-
var _TableBottomBar = require("
|
|
72
|
+
var _TableBottomBar = require("src/components/Table/TableBottomBar");
|
|
73
73
|
Object.keys(_TableBottomBar).forEach(function (key) {
|
|
74
74
|
if (key === "default" || key === "__esModule") return;
|
|
75
75
|
if (key in exports && exports[key] === _TableBottomBar[key]) return;
|
|
@@ -80,7 +80,7 @@ Object.keys(_TableBottomBar).forEach(function (key) {
|
|
|
80
80
|
}
|
|
81
81
|
});
|
|
82
82
|
});
|
|
83
|
-
var _TableTopBar = require("
|
|
83
|
+
var _TableTopBar = require("src/components/Table/TableTopBar");
|
|
84
84
|
Object.keys(_TableTopBar).forEach(function (key) {
|
|
85
85
|
if (key === "default" || key === "__esModule") return;
|
|
86
86
|
if (key in exports && exports[key] === _TableTopBar[key]) return;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { Flow } from 'flow-to-typescript-codemod';
|
|
3
|
-
import type { IconType } from '
|
|
3
|
+
import type { IconType } from 'src/components/Icon';
|
|
4
|
+
import type { ElevationType } from 'src/components/Tooltip';
|
|
4
5
|
type ClassNames = Readonly<{
|
|
5
6
|
wrapper?: string;
|
|
6
7
|
iconTextWrap?: string;
|
|
@@ -11,7 +12,7 @@ export declare const TAB_SIZE: Readonly<{
|
|
|
11
12
|
}>;
|
|
12
13
|
export declare const tabSizeOptions: Array<unknown>;
|
|
13
14
|
export type TabSize = keyof typeof TAB_SIZE;
|
|
14
|
-
export
|
|
15
|
+
export interface TabProps {
|
|
15
16
|
classNames?: ClassNames;
|
|
16
17
|
onSelect?: (arg1: {
|
|
17
18
|
tabId?: string;
|
|
@@ -27,9 +28,10 @@ export type TabProps = {
|
|
|
27
28
|
label?: string;
|
|
28
29
|
iconName?: string;
|
|
29
30
|
iconType?: IconType;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
maxWidth?: string;
|
|
32
|
+
elevation?: ElevationType;
|
|
33
|
+
onClick?: (e: React.SyntheticEvent<HTMLElement>) => unknown;
|
|
34
|
+
}
|
|
33
35
|
export declare const Tab: Flow.AbstractComponent<TabProps, HTMLButtonElement>;
|
|
34
36
|
export {};
|
|
35
37
|
//# sourceMappingURL=Tab.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tab.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/Tab/Tab.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Tab.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/Tab/Tab.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAC,IAAI,EAAC,MAAM,4BAA4B,CAAC;AAMrD,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,qBAAqB,CAAC;AAGlD,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,wBAAwB,CAAC;AAM1D,KAAK,UAAU,GAAG,QAAQ,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC,CAAC;AAEH,eAAO,MAAM,QAAQ;;;EAGnB,CAAC;AAEH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,OAAO,CAA8B,CAAC;AAEzE,MAAM,MAAM,OAAO,GAAG,MAAM,OAAO,QAAQ,CAAC;AAE5C,MAAM,WAAW,QAAQ;IACvB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE;QAAC,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAC,KAAK,OAAO,CAAC;IAC/D,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,WAAW,CAAC,EAAE;QACZ,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,KAAK,OAAO,CAAC;CAC7D;AAED,eAAO,MAAM,GAAG,EAAE,IAAI,CAAC,iBAAiB,CAAC,QAAQ,EAAE,iBAAiB,CAqHjE,CAAC"}
|
|
@@ -5,12 +5,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.tabSizeOptions = exports.Tab = exports.TAB_SIZE = void 0;
|
|
7
7
|
var React = _interopRequireWildcard(require("react"));
|
|
8
|
-
var _typography = require("
|
|
9
|
-
var _classify = require("
|
|
10
|
-
var _Button = require("
|
|
11
|
-
var _Icon = require("
|
|
12
|
-
var _Text = require("
|
|
13
|
-
var
|
|
8
|
+
var _typography = require("src/types/typography");
|
|
9
|
+
var _classify = require("src/utils/classify");
|
|
10
|
+
var _Button = require("src/components/Button");
|
|
11
|
+
var _Icon = require("src/components/Icon");
|
|
12
|
+
var _Text = require("src/components/Text");
|
|
13
|
+
var _TruncatedTextWithTooltip = require("src/components/TruncatedTextWithTooltip");
|
|
14
|
+
var _TabModule = _interopRequireDefault(require("src/components/Tabs/Tab/Tab.module.css"));
|
|
14
15
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
15
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); }
|
|
16
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); }
|
|
@@ -31,22 +32,21 @@ const Tab = exports.Tab = /*#__PURE__*/React.forwardRef((_ref, forwardRef) => {
|
|
|
31
32
|
iconName,
|
|
32
33
|
iconType,
|
|
33
34
|
onClick,
|
|
34
|
-
|
|
35
|
+
maxWidth,
|
|
36
|
+
elevation,
|
|
35
37
|
...props
|
|
36
38
|
} = _ref;
|
|
37
39
|
const tabRef = React.useRef(null);
|
|
38
|
-
// @ts-ignore - TS2322 - Type 'null' is not assignable to type 'HTMLButtonElement'.
|
|
39
40
|
React.useImperativeHandle(forwardRef, () => tabRef.current);
|
|
40
41
|
const selected = tabId && tabId === selectedTab?.tabId;
|
|
41
42
|
const onClickHandler = e => {
|
|
42
43
|
if (!disabled) {
|
|
43
44
|
e.preventDefault();
|
|
44
|
-
onSelect
|
|
45
|
+
onSelect?.({
|
|
45
46
|
tabId,
|
|
46
47
|
label
|
|
47
48
|
});
|
|
48
|
-
onClick
|
|
49
|
-
// @ts-ignore - TS2339 - Property 'blur' does not exist on type 'never'.
|
|
49
|
+
onClick?.(e);
|
|
50
50
|
tabRef.current?.blur();
|
|
51
51
|
}
|
|
52
52
|
};
|
|
@@ -60,7 +60,7 @@ const Tab = exports.Tab = /*#__PURE__*/React.forwardRef((_ref, forwardRef) => {
|
|
|
60
60
|
}, classNames?.wrapper),
|
|
61
61
|
onClick: onClickHandler,
|
|
62
62
|
style: {
|
|
63
|
-
|
|
63
|
+
maxWidth
|
|
64
64
|
},
|
|
65
65
|
tabIndex: disabled ? -1 : 0,
|
|
66
66
|
ref: tabRef
|
|
@@ -81,12 +81,32 @@ const Tab = exports.Tab = /*#__PURE__*/React.forwardRef((_ref, forwardRef) => {
|
|
|
81
81
|
className: (0, _classify.classify)(_TabModule.default.tabContainer, {
|
|
82
82
|
[_TabModule.default.disabled]: disabled === true
|
|
83
83
|
})
|
|
84
|
-
},
|
|
84
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
85
|
+
style: {
|
|
86
|
+
maxWidth
|
|
87
|
+
}
|
|
88
|
+
}, /*#__PURE__*/React.createElement(_TruncatedTextWithTooltip.TruncatedTextWithTooltip, {
|
|
89
|
+
line: 1,
|
|
90
|
+
tooltip: {
|
|
91
|
+
body: label,
|
|
92
|
+
elevation
|
|
93
|
+
}
|
|
94
|
+
}, label))) : /*#__PURE__*/React.createElement(_Text.ButtonTextSmall, {
|
|
85
95
|
color: _typography.TEXT_COLORS.secondary,
|
|
86
96
|
className: (0, _classify.classify)(_TabModule.default.tabContainer, {
|
|
87
97
|
[_TabModule.default.selected]: selected === true,
|
|
88
98
|
[_TabModule.default.disabled]: disabled === true
|
|
89
99
|
})
|
|
90
|
-
},
|
|
100
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
101
|
+
style: {
|
|
102
|
+
maxWidth
|
|
103
|
+
}
|
|
104
|
+
}, /*#__PURE__*/React.createElement(_TruncatedTextWithTooltip.TruncatedTextWithTooltip, {
|
|
105
|
+
line: 1,
|
|
106
|
+
tooltip: {
|
|
107
|
+
body: label,
|
|
108
|
+
elevation
|
|
109
|
+
}
|
|
110
|
+
}, label))))));
|
|
91
111
|
});
|
|
92
112
|
Tab.displayName = 'Tab';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tab.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/Tab/Tab.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"Tab.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/Tab/Tab.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,6BAA6B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAK1D,wBAuHE;AAEF,eAAO,MAAM,QAAQ;WAAU,QAAQ;;;;;;;;;;;;;CAQtC,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '
|
|
1
|
+
export * from 'src/components/Tabs/Tab/Tab';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/Tab/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/Tab/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
var _Tab = require("
|
|
6
|
+
var _Tab = require("src/components/Tabs/Tab/Tab");
|
|
7
7
|
Object.keys(_Tab).forEach(function (key) {
|
|
8
8
|
if (key === "default" || key === "__esModule") return;
|
|
9
9
|
if (key in exports && exports[key] === _Tab[key]) return;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import type { AnchorType } from '
|
|
3
|
-
import type { MenuOption, MenuProps } from '
|
|
4
|
-
import type {
|
|
5
|
-
import type {
|
|
2
|
+
import type { AnchorType } from 'src/components/ButtonDropdown';
|
|
3
|
+
import type { MenuOption, MenuProps } from 'src/components/Menu';
|
|
4
|
+
import type { TabProps } from 'src/components/Tabs/Tab';
|
|
5
|
+
import type { ElevationType } from 'src/components/Tooltip';
|
|
6
6
|
type ClassNames = Readonly<{
|
|
7
7
|
wrapper?: string;
|
|
8
8
|
}>;
|
|
9
|
-
export
|
|
9
|
+
export interface TabDropdownProps {
|
|
10
10
|
anchorPosition?: AnchorType;
|
|
11
11
|
size?: 'medium' | 'small';
|
|
12
12
|
props?: {
|
|
@@ -18,7 +18,7 @@ export type TabDropdownProps = {
|
|
|
18
18
|
selected?: boolean;
|
|
19
19
|
disabled?: boolean;
|
|
20
20
|
elevation?: ElevationType;
|
|
21
|
-
}
|
|
21
|
+
}
|
|
22
22
|
export declare const TabDropdown: ({ anchorPosition, size, onOptionSelect, props, elevation, classNames, }: TabDropdownProps) => React.JSX.Element;
|
|
23
23
|
export {};
|
|
24
24
|
//# sourceMappingURL=TabDropdown.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TabDropdown.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/TabList/TabDropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"TabDropdown.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/TabList/TabDropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAiB/B,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,+BAA+B,CAAC;AAC9D,OAAO,KAAK,EAAC,UAAU,EAAE,SAAS,EAAC,MAAM,qBAAqB,CAAC;AAE/D,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,yBAAyB,CAAC;AAEtD,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,wBAAwB,CAAC;AAM1D,KAAK,UAAU,GAAG,QAAQ,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC,CAAC;AAEH,MAAM,WAAW,gBAAgB;IAC/B,cAAc,CAAC,EAAE,UAAU,CAAC;IAC5B,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAC1B,KAAK,CAAC,EAAE;QACN,GAAG,EAAE,QAAQ,CAAC;QACd,IAAI,EAAE,SAAS,CAAC;KACjB,CAAC;IACF,cAAc,CAAC,EAAE,CACf,MAAM,EAAE,UAAU,EAClB,IAAI,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,GAAG,SAAS,KACxD,OAAO,CAAC;IACb,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,aAAa,CAAC;CAC3B;AAED,eAAO,MAAM,WAAW,GAAI,yEAOzB,gBAAgB,sBAgElB,CAAC"}
|
|
@@ -6,14 +6,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.TabDropdown = void 0;
|
|
7
7
|
var React = _interopRequireWildcard(require("react"));
|
|
8
8
|
var _react2 = require("@floating-ui/react");
|
|
9
|
-
var _space = require("
|
|
10
|
-
var _classify = require("
|
|
11
|
-
var _clickAway = require("
|
|
12
|
-
var _mergeRefs = require("
|
|
13
|
-
var _Menu = require("
|
|
14
|
-
var
|
|
15
|
-
var
|
|
16
|
-
var _TabDropdownModule = _interopRequireDefault(require("
|
|
9
|
+
var _space = require("src/styles/variables/_space");
|
|
10
|
+
var _classify = require("src/utils/classify");
|
|
11
|
+
var _clickAway = require("src/utils/click-away");
|
|
12
|
+
var _mergeRefs = require("src/utils/merge-refs");
|
|
13
|
+
var _Menu = require("src/components/Menu");
|
|
14
|
+
var _Tab = require("src/components/Tabs/Tab");
|
|
15
|
+
var _Tooltip = require("src/components/Tooltip");
|
|
16
|
+
var _TabDropdownModule = _interopRequireDefault(require("src/components/Tabs/TabList/TabDropdown.module.css"));
|
|
17
17
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
18
18
|
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); }
|
|
19
19
|
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); }
|
|
@@ -35,7 +35,6 @@ const TabDropdown = _ref => {
|
|
|
35
35
|
} = (0, _react2.useFloating)({
|
|
36
36
|
open: true,
|
|
37
37
|
strategy: 'absolute',
|
|
38
|
-
// @ts-ignore - TS2322 - Type 'string' is not assignable to type 'Placement | undefined'.
|
|
39
38
|
placement: anchorPosition,
|
|
40
39
|
whileElementsMounted: _react2.autoUpdate,
|
|
41
40
|
middleware: [(0, _react2.shift)(), (0, _react2.flip)(), (0, _react2.offset)(parseInt(_space.spaceXXSmall))]
|
|
@@ -52,9 +51,7 @@ const TabDropdown = _ref => {
|
|
|
52
51
|
"data-testid": "TabDropdown",
|
|
53
52
|
className: (0, _classify.classify)(_TabDropdownModule.default.tabDropdownContainer, classNames?.wrapper)
|
|
54
53
|
}, /*#__PURE__*/React.createElement(_Tab.Tab, _extends({}, props?.tab, {
|
|
55
|
-
size: size
|
|
56
|
-
// @ts-ignore - TS2322 - Type '((node: ReferenceType | null) => void) & ((node: ReferenceType | null) => void)' is not assignable to type '{ current: HTMLElement | null | undefined; }'.
|
|
57
|
-
,
|
|
54
|
+
size: size,
|
|
58
55
|
ref: (0, _mergeRefs.mergeRefs)([refs.setReference, triggerRef]),
|
|
59
56
|
onClick: e => {
|
|
60
57
|
e.stopPropagation();
|
|
@@ -66,12 +63,9 @@ const TabDropdown = _ref => {
|
|
|
66
63
|
}
|
|
67
64
|
})), isOpen && props?.menu && /*#__PURE__*/React.createElement(_react2.FloatingPortal, null, /*#__PURE__*/React.createElement(_react2.FloatingFocusManager, {
|
|
68
65
|
modal: false,
|
|
69
|
-
context: context
|
|
70
|
-
// @ts-ignore - TS2322 - Type 'MutableRefObject<ReferenceType | null> & MutableRefObject<ReferenceType | null>' is not assignable to type 'number | MutableRefObject<HTMLElement | null> | undefined'.
|
|
71
|
-
,
|
|
66
|
+
context: context,
|
|
72
67
|
initialFocus: refs.reference
|
|
73
68
|
}, /*#__PURE__*/React.createElement("div", {
|
|
74
|
-
// @ts-ignore - TS2322 - Type '((node: HTMLElement | null) => void) & ((node: HTMLElement | null) => void)' is not assignable to type '{ current: HTMLElement | null | undefined; }'.
|
|
75
69
|
ref: (0, _mergeRefs.mergeRefs)([refs.setFloating, boundaryRef]),
|
|
76
70
|
className: _TabDropdownModule.default.menuWrapper,
|
|
77
71
|
style: {
|
|
@@ -83,7 +77,7 @@ const TabDropdown = _ref => {
|
|
|
83
77
|
}
|
|
84
78
|
}, /*#__PURE__*/React.createElement(_Menu.Menu, _extends({}, props.menu, {
|
|
85
79
|
onSelect: (option, e) => {
|
|
86
|
-
onOptionSelect
|
|
80
|
+
onOptionSelect?.(option, e);
|
|
87
81
|
clickAway();
|
|
88
82
|
},
|
|
89
83
|
size: props.menu.size || size,
|
|
@@ -1,24 +1,25 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { Flow } from 'flow-to-typescript-codemod';
|
|
3
|
-
import type { ElevationType } from '
|
|
3
|
+
import type { ElevationType } from 'src/components/Tooltip';
|
|
4
4
|
type ClassNames = Readonly<{
|
|
5
5
|
wrapper?: string;
|
|
6
6
|
}>;
|
|
7
|
-
export
|
|
7
|
+
export interface TabListProps {
|
|
8
8
|
classNames?: ClassNames;
|
|
9
9
|
onSelect?: (arg1: {
|
|
10
10
|
tabId: string;
|
|
11
11
|
label?: string;
|
|
12
12
|
}) => unknown;
|
|
13
13
|
children?: React.ReactNode;
|
|
14
|
-
size?: 'medium';
|
|
14
|
+
size?: 'medium' | 'small';
|
|
15
15
|
selectedTab?: {
|
|
16
16
|
tabId: string;
|
|
17
17
|
label?: string;
|
|
18
18
|
};
|
|
19
19
|
menuWidth?: string;
|
|
20
20
|
elevation?: ElevationType;
|
|
21
|
-
|
|
21
|
+
maxTabWidth?: string;
|
|
22
|
+
}
|
|
22
23
|
export declare const TabList: Flow.AbstractComponent<TabListProps, HTMLDivElement>;
|
|
23
24
|
export {};
|
|
24
25
|
//# sourceMappingURL=TabList.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TabList.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/TabList/TabList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"TabList.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/TabList/TabList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAC,IAAI,EAAC,MAAM,4BAA4B,CAAC;AAUrD,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,wBAAwB,CAAC;AAsB1D,KAAK,UAAU,GAAG,QAAQ,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC,CAAC;AAEH,MAAM,WAAW,YAAY;IAC3B,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAC,KAAK,OAAO,CAAC;IAC9D,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAC1B,WAAW,CAAC,EAAE;QACZ,KAAK,EAAE,MAAM,CAAC;QACd,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,OAAO,EAAE,IAAI,CAAC,iBAAiB,CAAC,YAAY,EAAE,cAAc,CAkJtE,CAAC"}
|