@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,14 +5,16 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.TabList = void 0;
|
|
7
7
|
var React = _interopRequireWildcard(require("react"));
|
|
8
|
-
var _useWindowSize = require("
|
|
9
|
-
var _size = require("
|
|
10
|
-
var _space = require("
|
|
11
|
-
var _classify = require("
|
|
12
|
-
var _TabDropdown = require("
|
|
13
|
-
var _TabListModule = _interopRequireDefault(require("
|
|
8
|
+
var _useWindowSize = require("src/hooks/useWindowSize/useWindowSize");
|
|
9
|
+
var _size = require("src/styles/variables/_size");
|
|
10
|
+
var _space = require("src/styles/variables/_space");
|
|
11
|
+
var _classify = require("src/utils/classify");
|
|
12
|
+
var _TabDropdown = require("src/components/Tabs/TabList/TabDropdown");
|
|
13
|
+
var _TabListModule = _interopRequireDefault(require("src/components/Tabs/TabList/TabList.module.css"));
|
|
14
14
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
15
15
|
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
|
+
// Type definitions for tab child props
|
|
17
|
+
|
|
16
18
|
const TabList = exports.TabList = /*#__PURE__*/React.forwardRef((_ref, forwardRef) => {
|
|
17
19
|
let {
|
|
18
20
|
classNames,
|
|
@@ -21,10 +23,10 @@ const TabList = exports.TabList = /*#__PURE__*/React.forwardRef((_ref, forwardRe
|
|
|
21
23
|
onSelect,
|
|
22
24
|
selectedTab,
|
|
23
25
|
menuWidth,
|
|
24
|
-
elevation = 'modal'
|
|
26
|
+
elevation = 'modal',
|
|
27
|
+
maxTabWidth = _size.size120
|
|
25
28
|
} = _ref;
|
|
26
29
|
const ref = React.useRef(null);
|
|
27
|
-
// @ts-ignore - TS2322 - Type 'null' is not assignable to type 'HTMLDivElement'.
|
|
28
30
|
React.useImperativeHandle(forwardRef, () => ref.current);
|
|
29
31
|
const {
|
|
30
32
|
width
|
|
@@ -34,55 +36,49 @@ const TabList = exports.TabList = /*#__PURE__*/React.forwardRef((_ref, forwardRe
|
|
|
34
36
|
const childrenArray = React.Children.toArray(children);
|
|
35
37
|
const totalChildCount = childrenArray.length;
|
|
36
38
|
let tabListWidth = 0;
|
|
37
|
-
// @ts-ignore
|
|
38
39
|
const menuOptions = [];
|
|
39
40
|
let nodes = [];
|
|
40
41
|
const tabListNodes = [];
|
|
41
42
|
for (let i = 0; i < totalChildCount; i++) {
|
|
42
43
|
const child = childrenArray[i];
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
disabled,
|
|
48
|
-
iconName,
|
|
49
|
-
iconType
|
|
50
|
-
// @ts-ignore - TS2339 - Property 'props' does not exist on type 'string | number | bigint | ReactElement<unknown, string | JSXElementConstructor<any>> | Iterable<ReactNode> | ReactPortal | Promise<...>'.
|
|
51
|
-
} = child.props;
|
|
52
|
-
const widthInt = parseInt(width);
|
|
53
|
-
tabListWidth = tabListWidth + widthInt;
|
|
54
|
-
if (tabListWidth < containerWidth || i === 0) {
|
|
55
|
-
const childOnSelect = params => {
|
|
56
|
-
onSelect && onSelect(params); // call the tab level onSelect
|
|
57
|
-
};
|
|
58
|
-
tabListNodes.push(
|
|
59
|
-
/*#__PURE__*/
|
|
60
|
-
// @ts-ignore - TS2769 - No overload matches this call.
|
|
61
|
-
React.cloneElement(child, {
|
|
62
|
-
size,
|
|
63
|
-
onSelect: childOnSelect,
|
|
64
|
-
selectedTab
|
|
65
|
-
}));
|
|
66
|
-
} else {
|
|
67
|
-
menuOptions.push({
|
|
68
|
-
key: tabId,
|
|
44
|
+
if (/*#__PURE__*/React.isValidElement(child)) {
|
|
45
|
+
const {
|
|
46
|
+
maxWidth: maxWidthChild,
|
|
47
|
+
tabId,
|
|
69
48
|
label,
|
|
70
49
|
disabled,
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
}
|
|
50
|
+
iconName,
|
|
51
|
+
iconType
|
|
52
|
+
} = child.props;
|
|
53
|
+
const effectiveMaxWidth = maxWidthChild || maxTabWidth;
|
|
54
|
+
const widthInt = parseInt(effectiveMaxWidth);
|
|
55
|
+
tabListWidth = tabListWidth + widthInt;
|
|
56
|
+
if (tabListWidth < containerWidth || i === 0) {
|
|
57
|
+
const childOnSelect = params => {
|
|
58
|
+
onSelect?.(params); // call the tab level onSelect
|
|
59
|
+
};
|
|
60
|
+
tabListNodes.push(/*#__PURE__*/React.cloneElement(child, {
|
|
61
|
+
size,
|
|
62
|
+
onSelect: childOnSelect,
|
|
63
|
+
selectedTab,
|
|
64
|
+
maxWidth: effectiveMaxWidth,
|
|
65
|
+
elevation
|
|
66
|
+
}));
|
|
67
|
+
} else {
|
|
68
|
+
menuOptions.push({
|
|
69
|
+
key: tabId,
|
|
70
|
+
label,
|
|
71
|
+
disabled,
|
|
72
|
+
iconLeft: iconName,
|
|
73
|
+
iconLeftType: iconType
|
|
74
|
+
});
|
|
75
|
+
}
|
|
74
76
|
}
|
|
75
77
|
}
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
key,
|
|
81
|
-
label
|
|
82
|
-
} = _ref2;
|
|
83
|
-
onSelect && onSelect({
|
|
84
|
-
tabId: key,
|
|
85
|
-
label
|
|
78
|
+
const menuOnSelect = option => {
|
|
79
|
+
onSelect?.({
|
|
80
|
+
tabId: option.key,
|
|
81
|
+
label: option.label
|
|
86
82
|
});
|
|
87
83
|
};
|
|
88
84
|
const selectedKeys = [selectedTab?.tabId || ''];
|
|
@@ -96,9 +92,7 @@ const TabList = exports.TabList = /*#__PURE__*/React.forwardRef((_ref, forwardRe
|
|
|
96
92
|
})();
|
|
97
93
|
const tabDropDownNode = menuOptions.length ? /*#__PURE__*/React.createElement(_TabDropdown.TabDropdown, {
|
|
98
94
|
key: 'tabDropdown' + menuOptions.length,
|
|
99
|
-
size: size
|
|
100
|
-
// @ts-ignore - TS2322 - Type '({ key, label }: { key: any; label: any; }) => void' is not assignable to type '(option: MenuOption, arg2?: SyntheticEvent<HTMLElement, Event> | null | undefined) => unknown'.
|
|
101
|
-
,
|
|
95
|
+
size: size,
|
|
102
96
|
onOptionSelect: menuOnSelect,
|
|
103
97
|
props: {
|
|
104
98
|
tab: {
|
|
@@ -122,11 +116,8 @@ const TabList = exports.TabList = /*#__PURE__*/React.forwardRef((_ref, forwardRe
|
|
|
122
116
|
return nodes;
|
|
123
117
|
};
|
|
124
118
|
React.useLayoutEffect(() => {
|
|
125
|
-
// @ts-ignore - TS2339 - Property 'offsetWidth' does not exist on type 'never'.
|
|
126
119
|
if (ref.current && ref.current.offsetWidth) {
|
|
127
|
-
const availableContainerWidth =
|
|
128
|
-
// @ts-ignore - TS2339 - Property 'offsetWidth' does not exist on type 'never'.
|
|
129
|
-
ref.current.offsetWidth - (parseInt(_size.size36) + parseInt(_space.spaceMedium));
|
|
120
|
+
const availableContainerWidth = ref.current.offsetWidth - (parseInt(_size.size36) + parseInt(_space.spaceMedium));
|
|
130
121
|
setContainerWidth(availableContainerWidth);
|
|
131
122
|
}
|
|
132
123
|
// it depends on width of the screen as ref.current.offsetWidth will not provide the events when changed.
|
|
@@ -136,7 +127,6 @@ const TabList = exports.TabList = /*#__PURE__*/React.forwardRef((_ref, forwardRe
|
|
|
136
127
|
"data-testid": "Tabs",
|
|
137
128
|
className: (0, _classify.classify)(_TabListModule.default.tabsContainer, {
|
|
138
129
|
[_TabListModule.default.mediumSize]: size === 'medium',
|
|
139
|
-
// @ts-ignore - TS2367 - This condition will always return 'false' since the types '"medium" | undefined' and '"small"' have no overlap.
|
|
140
130
|
[_TabListModule.default.smallSize]: size === 'small'
|
|
141
131
|
}, classNames?.wrapper)
|
|
142
132
|
}, containerWidth ? childrenWithProps() : null);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import type { TabListProps } from '
|
|
2
|
+
import type { TabListProps } from 'src/components/Tabs/TabList';
|
|
3
3
|
declare const _default: {
|
|
4
4
|
tags: string[];
|
|
5
5
|
title: string;
|
|
@@ -84,6 +84,17 @@ declare const _default: {
|
|
|
84
84
|
};
|
|
85
85
|
};
|
|
86
86
|
};
|
|
87
|
+
maxTabWidth: {
|
|
88
|
+
description: string;
|
|
89
|
+
control: {
|
|
90
|
+
type: string;
|
|
91
|
+
};
|
|
92
|
+
table: {
|
|
93
|
+
type: {
|
|
94
|
+
summary: string;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
};
|
|
87
98
|
};
|
|
88
99
|
parameters: {
|
|
89
100
|
docs: {
|
|
@@ -108,4 +119,15 @@ export declare const _Tabs: {
|
|
|
108
119
|
};
|
|
109
120
|
};
|
|
110
121
|
};
|
|
122
|
+
export declare const TabsWithMaxWidth: {
|
|
123
|
+
(args: TabListProps): React.JSX.Element;
|
|
124
|
+
args: {
|
|
125
|
+
size: string;
|
|
126
|
+
maxTabWidth: string;
|
|
127
|
+
selectedTab: {
|
|
128
|
+
tabId: string;
|
|
129
|
+
label: string;
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
};
|
|
111
133
|
//# sourceMappingURL=TabList.stories.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TabList.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/TabList/TabList.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"TabList.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/TabList/TabList.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,6BAA6B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQ9D,wBAqGE;AAEF,eAAO,MAAM,KAAK;WAAU,YAAY;;;;;;;;CAwDvC,CAAC;AAOF,eAAO,MAAM,gBAAgB;WAAU,YAAY;;;;;;;;;CAgDlD,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '
|
|
1
|
+
export * from 'src/components/Tabs/TabList/TabList';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/TabList/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/TabList/index.ts"],"names":[],"mappings":"AAAA,cAAc,qCAAqC,CAAC"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
var _TabList = require("
|
|
6
|
+
var _TabList = require("src/components/Tabs/TabList/TabList");
|
|
7
7
|
Object.keys(_TabList).forEach(function (key) {
|
|
8
8
|
if (key === "default" || key === "__esModule") return;
|
|
9
9
|
if (key in exports && exports[key] === _TabList[key]) return;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from '
|
|
2
|
-
export * from '
|
|
1
|
+
export * from 'src/components/Tabs/Tab';
|
|
2
|
+
export * from 'src/components/Tabs/TabList';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,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");
|
|
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;
|
|
@@ -14,7 +14,7 @@ Object.keys(_Tab).forEach(function (key) {
|
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
16
|
});
|
|
17
|
-
var _TabList = require("
|
|
17
|
+
var _TabList = require("src/components/Tabs/TabList");
|
|
18
18
|
Object.keys(_TabList).forEach(function (key) {
|
|
19
19
|
if (key === "default" || key === "__esModule") return;
|
|
20
20
|
if (key in exports && exports[key] === _TabList[key]) return;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HighlightedText.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Text/HighlightedText.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"HighlightedText.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Text/HighlightedText.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,0BAA0B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOxD,wBAwFE;AAEF,eAAO,MAAM,aAAa;WAClB,SAAS,GACd,KAAK,CAAC,YAAY,CACnB,KAAK,CAAC,cAAc,CAAC,CAAC,EAAE,EAAE,SAAS,KAAK,KAAK,CAAC,SAAS,CAAC,CACzD;;;;;;;CAIA,CAAC;AASF,eAAO,MAAM,eAAe;WACpB,SAAS,GACd,KAAK,CAAC,YAAY,CACnB,KAAK,CAAC,cAAc,CAAC,CAAC,EAAE,EAAE,SAAS,KAAK,KAAK,CAAC,SAAS,CAAC,CACzD;;;;;;;CAIA,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { Flow } from 'flow-to-typescript-codemod';
|
|
3
|
-
import type { ColorTypes } from '
|
|
4
|
-
export
|
|
3
|
+
import type { ColorTypes } from 'src/types/typography';
|
|
4
|
+
export interface TextProps {
|
|
5
5
|
color?: ColorTypes;
|
|
6
6
|
children?: React.ReactNode;
|
|
7
7
|
className?: string;
|
|
@@ -9,14 +9,14 @@ export type TextProps = {
|
|
|
9
9
|
highlightString?: string | string[];
|
|
10
10
|
caseSensitiveHighlighting?: boolean;
|
|
11
11
|
highlightWithBackground?: boolean;
|
|
12
|
-
}
|
|
13
|
-
export
|
|
12
|
+
}
|
|
13
|
+
export interface HighlightTextProps {
|
|
14
14
|
text: string;
|
|
15
15
|
highlight: string | string[];
|
|
16
16
|
highlightClassName?: string;
|
|
17
17
|
caseSensitiveHighlighting?: boolean;
|
|
18
18
|
highlightWithBackground?: boolean;
|
|
19
|
-
}
|
|
19
|
+
}
|
|
20
20
|
export declare const JumboLarge: Flow.AbstractComponent<TextProps, HTMLSpanElement>;
|
|
21
21
|
export declare const JumboMedium: Flow.AbstractComponent<TextProps, HTMLSpanElement>;
|
|
22
22
|
export declare const JumboSmall: Flow.AbstractComponent<TextProps, HTMLSpanElement>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../src/components/Text/Text.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../src/components/Text/Text.tsx"],"names":[],"mappings":"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"}
|
|
@@ -5,10 +5,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.TitleMedium = exports.SubTitleSmall = exports.SubTitleMedium = exports.SubTitleLarge = exports.SubTitleExtraSmall = exports.MenuTextSmall = exports.MenuTextMedium = exports.JumboSmall = exports.JumboMedium = exports.JumboLarge = exports.FormLabelSmall = exports.FormLabelMedium = exports.FormInputSmall = exports.FormInputMedium = exports.ButtonTextSmallUnderline = exports.ButtonTextSmall = exports.ButtonTextMediumUnderline = exports.ButtonTextMedium = exports.ButtonTextExtraSmallUnderline = exports.ButtonTextExtraSmall = exports.BodySmallBold = exports.BodySmall = exports.BodyMediumBold = exports.BodyMedium = exports.BodyLargeBold = exports.BodyLarge = void 0;
|
|
7
7
|
var React = _interopRequireWildcard(require("react"));
|
|
8
|
-
var _typography = require("
|
|
9
|
-
var _classify = _interopRequireDefault(require("
|
|
10
|
-
var _string = require("
|
|
11
|
-
var _typographyModule = _interopRequireDefault(require("
|
|
8
|
+
var _typography = require("src/types/typography");
|
|
9
|
+
var _classify = _interopRequireDefault(require("src/utils/classify"));
|
|
10
|
+
var _string = require("src/utils/string");
|
|
11
|
+
var _typographyModule = _interopRequireDefault(require("src/styles/typography.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); }
|
|
@@ -22,7 +22,6 @@ const HighlightText = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
22
22
|
} = _ref;
|
|
23
23
|
// Split text on highlight term, include term itself into parts, ignore case
|
|
24
24
|
// Convert highlight to an array if it's not already
|
|
25
|
-
// @ts-ignore - TS2769 - No overload matches this call.
|
|
26
25
|
const highlightArray = [].concat(highlight).filter(item => item !== '');
|
|
27
26
|
const highlights = highlightArray.map(_string.escapeRegExp).join('|');
|
|
28
27
|
const parts = text.split(new RegExp(`(${highlights})`, caseSensitiveHighlighting ? '' : 'gi')).filter(part => part !== '');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Text.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Text/Text.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Text.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Text/Text.stories.tsx"],"names":[],"mappings":"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"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { TEXT_COLORS } from '
|
|
2
|
-
export type { TextProps } from '
|
|
3
|
-
export { BodyLarge, BodyLargeBold, BodyMedium, BodyMediumBold, BodySmall, BodySmallBold, ButtonTextExtraSmall, ButtonTextExtraSmallUnderline, ButtonTextMedium, ButtonTextMediumUnderline, ButtonTextSmall, ButtonTextSmallUnderline, FormInputMedium, FormInputSmall, FormLabelMedium, FormLabelSmall, JumboLarge, JumboMedium, JumboSmall, MenuTextMedium, MenuTextSmall, SubTitleExtraSmall, SubTitleLarge, SubTitleMedium, SubTitleSmall, TitleMedium, } from '
|
|
1
|
+
export { TEXT_COLORS } from 'src/types/typography';
|
|
2
|
+
export type { TextProps } from 'src/components/Text/Text';
|
|
3
|
+
export { BodyLarge, BodyLargeBold, BodyMedium, BodyMediumBold, BodySmall, BodySmallBold, ButtonTextExtraSmall, ButtonTextExtraSmallUnderline, ButtonTextMedium, ButtonTextMediumUnderline, ButtonTextSmall, ButtonTextSmallUnderline, FormInputMedium, FormInputSmall, FormLabelMedium, FormLabelSmall, JumboLarge, JumboMedium, JumboSmall, MenuTextMedium, MenuTextSmall, SubTitleExtraSmall, SubTitleLarge, SubTitleMedium, SubTitleSmall, TitleMedium, } from 'src/components/Text/Text';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Text/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Text/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,sBAAsB,CAAC;AACjD,YAAY,EAAC,SAAS,EAAC,MAAM,0BAA0B,CAAC;AACxD,OAAO,EACL,SAAS,EACT,aAAa,EACb,UAAU,EACV,cAAc,EACd,SAAS,EACT,aAAa,EACb,oBAAoB,EACpB,6BAA6B,EAC7B,gBAAgB,EAChB,yBAAyB,EACzB,eAAe,EACf,wBAAwB,EACxB,eAAe,EACf,cAAc,EACd,eAAe,EACf,cAAc,EACd,UAAU,EACV,WAAW,EACX,UAAU,EACV,cAAc,EACd,aAAa,EACb,kBAAkB,EAClB,aAAa,EACb,cAAc,EACd,aAAa,EACb,WAAW,GACZ,MAAM,0BAA0B,CAAC"}
|
|
@@ -165,5 +165,5 @@ Object.defineProperty(exports, "TitleMedium", {
|
|
|
165
165
|
return _Text.TitleMedium;
|
|
166
166
|
}
|
|
167
167
|
});
|
|
168
|
-
var _typography = require("
|
|
169
|
-
var _Text = require("
|
|
168
|
+
var _typography = require("src/types/typography");
|
|
169
|
+
var _Text = require("src/components/Text/Text");
|
|
@@ -5,12 +5,12 @@ type ClassNames = Readonly<{
|
|
|
5
5
|
title?: string;
|
|
6
6
|
wrapper?: string;
|
|
7
7
|
}>;
|
|
8
|
-
export
|
|
8
|
+
export interface TextTileProps {
|
|
9
9
|
header?: React.ReactNode;
|
|
10
10
|
iconName?: string;
|
|
11
11
|
classNames?: ClassNames;
|
|
12
12
|
description?: React.ReactNode;
|
|
13
|
-
}
|
|
13
|
+
}
|
|
14
14
|
export declare const TextTile: Flow.AbstractComponent<TextTileProps, HTMLDivElement>;
|
|
15
15
|
export {};
|
|
16
16
|
//# sourceMappingURL=TextTile.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextTile.d.ts","sourceRoot":"","sources":["../../../src/components/TextTile/TextTile.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"TextTile.d.ts","sourceRoot":"","sources":["../../../src/components/TextTile/TextTile.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAC,IAAI,EAAC,MAAM,4BAA4B,CAAC;AAUrD,KAAK,UAAU,GAAG,QAAQ,CAAC;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC,CAAC;AAEH,MAAM,WAAW,aAAa;IAC5B,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC/B;AAED,eAAO,MAAM,QAAQ,EAAE,IAAI,CAAC,iBAAiB,CAAC,aAAa,EAAE,cAAc,CA+BxE,CAAC"}
|
|
@@ -5,10 +5,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.TextTile = void 0;
|
|
7
7
|
var React = _interopRequireWildcard(require("react"));
|
|
8
|
-
var _classify = _interopRequireDefault(require("
|
|
9
|
-
var _Icon = require("
|
|
10
|
-
var _Text = require("
|
|
11
|
-
var _TextTileModule = _interopRequireDefault(require("
|
|
8
|
+
var _classify = _interopRequireDefault(require("src/utils/classify"));
|
|
9
|
+
var _Icon = require("src/components/Icon");
|
|
10
|
+
var _Text = require("src/components/Text");
|
|
11
|
+
var _TextTileModule = _interopRequireDefault(require("src/components/TextTile/TextTile.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
|
const TextTile = exports.TextTile = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextTile.stories.d.ts","sourceRoot":"","sources":["../../../src/components/TextTile/TextTile.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"TextTile.stories.d.ts","sourceRoot":"","sources":["../../../src/components/TextTile/TextTile.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,yBAAyB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAM3D,wBAuEE;AAEF,eAAO,MAAM,SAAS;WAAU,aAAa;;;;;CAI5C,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from '
|
|
1
|
+
export * from 'src/components/TextTile/TextTile';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TextTile/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TextTile/index.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAC"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
var _TextTile = require("
|
|
6
|
+
var _TextTile = require("src/components/TextTile/TextTile");
|
|
7
7
|
Object.keys(_TextTile).forEach(function (key) {
|
|
8
8
|
if (key === "default" || key === "__esModule") return;
|
|
9
9
|
if (key in exports && exports[key] === _TextTile[key]) return;
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { Flow } from 'flow-to-typescript-codemod';
|
|
3
|
-
import type { Over } from '../../types/utils';
|
|
4
3
|
type ClassNames = Readonly<{
|
|
5
4
|
box?: string;
|
|
6
5
|
textarea?: string;
|
|
7
6
|
}>;
|
|
8
|
-
export
|
|
7
|
+
export interface TextareaProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, 'value' | 'onChange' | 'onFocus' | 'onBlur' | 'onKeyDown' | 'name' | 'disabled' | 'placeholder' | 'locked' | 'error' | 'errorText' | 'label' | 'helperText' | 'classNames' | 'size' | 'required' | 'textCountLimit'> {
|
|
9
8
|
value?: string;
|
|
10
|
-
onChange?: (evt: React.ChangeEvent<
|
|
11
|
-
onFocus?: (e: React.
|
|
12
|
-
onBlur?: (e: React.
|
|
13
|
-
onKeyDown?: (e: React.KeyboardEvent<
|
|
9
|
+
onChange?: (evt: React.ChangeEvent<HTMLTextAreaElement>, isEnter?: boolean) => unknown;
|
|
10
|
+
onFocus?: (e: React.FocusEvent<HTMLTextAreaElement>) => unknown;
|
|
11
|
+
onBlur?: (e: React.FocusEvent<HTMLTextAreaElement>) => unknown;
|
|
12
|
+
onKeyDown?: (e: React.KeyboardEvent<HTMLTextAreaElement>) => unknown;
|
|
14
13
|
name?: string;
|
|
15
14
|
disabled?: boolean;
|
|
16
15
|
placeholder?: string;
|
|
@@ -23,7 +22,7 @@ export type TextareaProps = Over<React.TextareaHTMLAttributes<HTMLTextAreaElemen
|
|
|
23
22
|
size?: 'medium' | 'small';
|
|
24
23
|
required?: boolean;
|
|
25
24
|
textCountLimit?: number;
|
|
26
|
-
}
|
|
25
|
+
}
|
|
27
26
|
export declare const Textarea: Flow.AbstractComponent<TextareaProps, HTMLTextAreaElement>;
|
|
28
27
|
export {};
|
|
29
28
|
//# sourceMappingURL=Textarea.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Textarea.d.ts","sourceRoot":"","sources":["../../../src/components/Textarea/Textarea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Textarea.d.ts","sourceRoot":"","sources":["../../../src/components/Textarea/Textarea.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAC,IAAI,EAAC,MAAM,4BAA4B,CAAC;AASrD,KAAK,UAAU,GAAG,QAAQ,CAAC;IACzB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC,CAAC;AAEH,MAAM,WAAW,aACf,SAAQ,IAAI,CACV,KAAK,CAAC,sBAAsB,CAAC,mBAAmB,CAAC,EAC/C,OAAO,GACP,UAAU,GACV,SAAS,GACT,QAAQ,GACR,WAAW,GACX,MAAM,GACN,UAAU,GACV,aAAa,GACb,QAAQ,GACR,OAAO,GACP,WAAW,GACX,OAAO,GACP,YAAY,GACZ,YAAY,GACZ,MAAM,GACN,UAAU,GACV,gBAAgB,CACnB;IACD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CACT,GAAG,EAAE,KAAK,CAAC,WAAW,CAAC,mBAAmB,CAAC,EAC3C,OAAO,CAAC,EAAE,OAAO,KACd,OAAO,CAAC;IACb,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,mBAAmB,CAAC,KAAK,OAAO,CAAC;IAChE,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,mBAAmB,CAAC,KAAK,OAAO,CAAC;IAC/D,SAAS,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,mBAAmB,CAAC,KAAK,OAAO,CAAC;IACrE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IACjC,UAAU,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IACtC,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AA4GD,eAAO,MAAM,QAAQ,EAEhB,IAAI,CAAC,iBAAiB,CAAC,aAAa,EAAE,mBAAmB,CAAC,CAAC"}
|
|
@@ -5,9 +5,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.Textarea = void 0;
|
|
7
7
|
var React = _interopRequireWildcard(require("react"));
|
|
8
|
-
var _classify = require("
|
|
9
|
-
var _Text = require("
|
|
10
|
-
var _TextareaModule = _interopRequireDefault(require("
|
|
8
|
+
var _classify = require("src/utils/classify");
|
|
9
|
+
var _Text = require("src/components/Text");
|
|
10
|
+
var _TextareaModule = _interopRequireDefault(require("src/components/Textarea/Textarea.module.css"));
|
|
11
11
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
12
12
|
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); }
|
|
13
13
|
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); }
|
|
@@ -17,6 +17,7 @@ const Textarea_ = (props, ref) => {
|
|
|
17
17
|
onChange,
|
|
18
18
|
onFocus,
|
|
19
19
|
onBlur,
|
|
20
|
+
onKeyDown,
|
|
20
21
|
name,
|
|
21
22
|
disabled,
|
|
22
23
|
placeholder,
|
|
@@ -66,21 +67,14 @@ const Textarea_ = (props, ref) => {
|
|
|
66
67
|
}, classNames?.box)
|
|
67
68
|
}, /*#__PURE__*/React.createElement("textarea", _extends({}, textareaProps, {
|
|
68
69
|
disabled: locked || disabled,
|
|
69
|
-
name: name
|
|
70
|
-
// @ts-ignore - TS2322 - Type '{ current: HTMLTextAreaElement | null; } | ((arg1: HTMLTextAreaElement | null) => unknown)' is not assignable to type 'Ref<HTMLTextAreaElement> | undefined'.
|
|
71
|
-
,
|
|
70
|
+
name: name,
|
|
72
71
|
ref: ref,
|
|
73
72
|
placeholder: placeholder,
|
|
74
|
-
value: value
|
|
75
|
-
|
|
76
|
-
,
|
|
77
|
-
onChange: onChange
|
|
78
|
-
// @ts-ignore - TS2322 - Type '((e: ChangeEvent<HTMLInputElement>) => unknown) | undefined' is not assignable to type 'FocusEventHandler<HTMLTextAreaElement> | undefined'.
|
|
79
|
-
,
|
|
80
|
-
onFocus: onFocus
|
|
81
|
-
// @ts-ignore - TS2322 - Type '((e: ChangeEvent<HTMLInputElement>) => unknown) | undefined' is not assignable to type 'FocusEventHandler<HTMLTextAreaElement> | undefined'.
|
|
82
|
-
,
|
|
73
|
+
value: value,
|
|
74
|
+
onChange: onChange,
|
|
75
|
+
onFocus: onFocus,
|
|
83
76
|
onBlur: onBlur,
|
|
77
|
+
onKeyDown: onKeyDown,
|
|
84
78
|
className: classNames?.textarea
|
|
85
79
|
}))), (Boolean(helperText) || error) && /*#__PURE__*/React.createElement("div", {
|
|
86
80
|
className: _TextareaModule.default.info
|
|
@@ -88,8 +82,4 @@ const Textarea_ = (props, ref) => {
|
|
|
88
82
|
color: error && errorText ? 'danger' : disabled ? 'disabled' : 'secondary'
|
|
89
83
|
}, error && errorText ? errorText : helperText ?? '')));
|
|
90
84
|
};
|
|
91
|
-
|
|
92
|
-
// @ts-ignore - TS2345 - Argument of type '(props: TextareaProps, ref: { current: null | HTMLTextAreaElement; } | ((arg1: null | HTMLTextAreaElement) => unknown)) => React.JSX.Element' is not assignable to parameter of type 'ForwardRefRenderFunction<HTMLTextAreaElement, TextareaProps>'.
|
|
93
|
-
const Textarea = exports.Textarea = /*#__PURE__*/React.forwardRef(
|
|
94
|
-
//@ts-expect-error
|
|
95
|
-
Textarea_);
|
|
85
|
+
const Textarea = exports.Textarea = /*#__PURE__*/React.forwardRef(Textarea_);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Textarea.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Textarea/Textarea.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"Textarea.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Textarea/Textarea.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,kCAAkC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMpE,wBA2LE;AAEF,eAAO,MAAM,QAAQ;WAAU,aAAa;;;;;;CAgB3C,CAAC;AAQF,eAAO,MAAM,eAAe;WAAU,aAAa;;;;;;;CAgBlD,CAAC;AASF,eAAO,MAAM,SAAS;WAAU,aAAa;;;;;;;CAgB5C,CAAC;AASF,eAAO,MAAM,YAAY;WAAU,aAAa;;;;;;;;CAgB/C,CAAC;AAWF,eAAO,MAAM,MAAM;WAAU,aAAa;;;;;;;;;CAgBzC,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export type { TextareaProps } from '
|
|
2
|
-
export { Textarea } from '
|
|
1
|
+
export type { TextareaProps } from 'src/components/Textarea/Textarea';
|
|
2
|
+
export { Textarea } from 'src/components/Textarea/Textarea';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Textarea/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAC,aAAa,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Textarea/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAC,aAAa,EAAC,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAC,QAAQ,EAAC,MAAM,kCAAkC,CAAC"}
|