@spaced-out/ui-design-system 0.5.7-beta.0 → 0.5.7-beta.1
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 +2 -0
- package/.github/CODEOWNERS +0 -5
- package/.github/workflows/pull_request_checks.yml +4 -4
- package/.storybook/public/component-parent-levels.json +95 -0
- package/.type-coverage +13 -0
- package/CHANGELOG.md +41 -0
- package/cspell.json +0 -1
- package/design-tokens/size/base-size.json +3 -0
- package/eslint.config.mjs +62 -29
- 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/AccordionGroup.d.ts +2 -2
- package/lib/components/Accordion/AccordionGroup.d.ts.map +1 -1
- package/lib/components/Accordion/AccordionGroup.stories.d.ts.map +1 -1
- package/lib/components/Avatar/Avatar.d.ts +5 -5
- package/lib/components/Avatar/Avatar.d.ts.map +1 -1
- package/lib/components/Avatar/Avatar.js +4 -13
- package/lib/components/AvatarGroup/AvatarGroup.d.ts +2 -2
- package/lib/components/AvatarGroup/AvatarGroup.d.ts.map +1 -1
- package/lib/components/AvatarGroup/AvatarGroup.js +27 -14
- package/lib/components/Badge/Badge.d.ts +7 -8
- package/lib/components/Badge/Badge.d.ts.map +1 -1
- package/lib/components/Badge/Badge.stories.d.ts.map +1 -1
- package/lib/components/BadgedIcon/BadgedIcon.d.ts +2 -2
- package/lib/components/BadgedIcon/BadgedIcon.d.ts.map +1 -1
- package/lib/components/BadgedIcon/BadgedIcon.js +1 -4
- package/lib/components/Banner/Banner.d.ts +2 -3
- package/lib/components/Banner/Banner.d.ts.map +1 -1
- package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.d.ts +2 -3
- package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.d.ts.map +1 -1
- package/lib/components/Breadcrumbs/BreadcrumbLink/BreadcrumbLink.js +2 -4
- package/lib/components/Breadcrumbs/Breadcrumbs.d.ts +2 -2
- package/lib/components/Breadcrumbs/Breadcrumbs.d.ts.map +1 -1
- package/lib/components/Breadcrumbs/Breadcrumbs.js +5 -6
- package/lib/components/Button/Button.d.ts +7 -8
- package/lib/components/Button/Button.d.ts.map +1 -1
- package/lib/components/Button/Button.js +7 -21
- package/lib/components/ButtonDropdown/ButtonDropdown.d.ts +3 -4
- package/lib/components/ButtonDropdown/ButtonDropdown.d.ts.map +1 -1
- package/lib/components/ButtonDropdown/ButtonDropdown.js +4 -14
- package/lib/components/ButtonDropdown/ButtonDropdown.stories.d.ts +70 -70
- package/lib/components/ButtonDropdown/ButtonDropdown.stories.d.ts.map +1 -1
- package/lib/components/ButtonDropdown/SimpleButtonDropdown.d.ts +5 -6
- package/lib/components/ButtonDropdown/SimpleButtonDropdown.d.ts.map +1 -1
- package/lib/components/ButtonDropdown/SimpleButtonDropdown.js +1 -9
- package/lib/components/ButtonDropdown/SimpleButtonDropdown.stories.d.ts +109 -109
- package/lib/components/ButtonDropdown/SimpleButtonDropdown.stories.d.ts.map +1 -1
- package/lib/components/ButtonTabs/ButtonTab/ButtonTab.d.ts +2 -2
- package/lib/components/ButtonTabs/ButtonTab/ButtonTab.d.ts.map +1 -1
- package/lib/components/ButtonTabs/ButtonTabDropdown.d.ts +2 -3
- package/lib/components/ButtonTabs/ButtonTabDropdown.d.ts.map +1 -1
- package/lib/components/ButtonTabs/ButtonTabDropdown.js +5 -14
- package/lib/components/ButtonTabs/ButtonTabs.d.ts +2 -2
- package/lib/components/ButtonTabs/ButtonTabs.d.ts.map +1 -1
- package/lib/components/ButtonTabs/ButtonTabs.js +2 -3
- 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 +2 -7
- 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 +5 -7
- package/lib/components/Charts/ColumnChart/ColumnChart.d.ts +8 -5
- package/lib/components/Charts/ColumnChart/ColumnChart.d.ts.map +1 -1
- package/lib/components/Charts/ColumnChart/ColumnChart.js +16 -10
- package/lib/components/Charts/DonutChart/DonutChart.d.ts +4 -5
- package/lib/components/Charts/DonutChart/DonutChart.d.ts.map +1 -1
- package/lib/components/Charts/DonutChart/DonutChart.js +1 -2
- package/lib/components/Charts/FunnelChart/FunnelChart.d.ts +4 -5
- package/lib/components/Charts/FunnelChart/FunnelChart.d.ts.map +1 -1
- package/lib/components/Charts/LineChart/LineChart.d.ts +4 -5
- package/lib/components/Charts/LineChart/LineChart.d.ts.map +1 -1
- package/lib/components/Charts/SankeyChart/SankeyChart.d.ts +2 -3
- package/lib/components/Charts/SankeyChart/SankeyChart.d.ts.map +1 -1
- package/lib/components/Charts/SpiderChart/SpiderChart.d.ts +4 -5
- package/lib/components/Charts/SpiderChart/SpiderChart.d.ts.map +1 -1
- package/lib/components/Charts/StackedBarChart/StackedBarChart.d.ts +4 -5
- package/lib/components/Charts/StackedBarChart/StackedBarChart.d.ts.map +1 -1
- package/lib/components/ChatBubble/ChatBubble.d.ts +14 -14
- package/lib/components/ChatBubble/ChatBubble.d.ts.map +1 -1
- package/lib/components/ChatBubble/ChatBubble.js +11 -4
- package/lib/components/Checkbox/Checkbox.d.ts +2 -3
- package/lib/components/Checkbox/Checkbox.d.ts.map +1 -1
- package/lib/components/Checkbox/Checkbox.js +1 -2
- package/lib/components/Checkbox/Checkbox.stories.d.ts.map +1 -1
- package/lib/components/Checkbox/CheckboxGroup.d.ts +2 -2
- package/lib/components/Checkbox/CheckboxGroup.d.ts.map +1 -1
- package/lib/components/Checkbox/CheckboxGroup.js +8 -12
- package/lib/components/Checkbox/CheckboxGroup.stories.d.ts +2 -3
- package/lib/components/Checkbox/CheckboxGroup.stories.d.ts.map +1 -1
- package/lib/components/Chip/Chip.d.ts +10 -11
- package/lib/components/Chip/Chip.d.ts.map +1 -1
- package/lib/components/Chip/Chip.js +7 -13
- package/lib/components/CircularLoader/CircularLoader.d.ts +2 -2
- package/lib/components/CircularLoader/CircularLoader.d.ts.map +1 -1
- package/lib/components/CollapsibleCard/CollapsibleCard.d.ts +6 -6
- package/lib/components/CollapsibleCard/CollapsibleCard.d.ts.map +1 -1
- package/lib/components/Combobox/Combobox.d.ts +16 -16
- package/lib/components/Combobox/Combobox.d.ts.map +1 -1
- package/lib/components/Combobox/Combobox.js +16 -19
- package/lib/components/Combobox/Combobox.stories.d.ts.map +1 -1
- package/lib/components/Combobox/helper.d.ts.map +1 -1
- package/lib/components/Combobox/helper.js +0 -1
- package/lib/components/ConditionalWrapper/ConditionalWrapper.d.ts +2 -2
- package/lib/components/ConditionalWrapper/ConditionalWrapper.d.ts.map +1 -1
- package/lib/components/DateRangePicker/Calendar.d.ts +3 -3
- package/lib/components/DateRangePicker/Calendar.d.ts.map +1 -1
- package/lib/components/DateRangePicker/Calendar.js +2 -6
- package/lib/components/DateRangePicker/DateRangePicker.d.ts +2 -2
- package/lib/components/DateRangePicker/DateRangePicker.d.ts.map +1 -1
- package/lib/components/DateRangePicker/DateRangePicker.stories.d.ts.map +1 -1
- package/lib/components/DateRangePicker/DateRangeWrapper.d.ts +2 -2
- package/lib/components/DateRangePicker/DateRangeWrapper.d.ts.map +1 -1
- package/lib/components/DateRangePicker/DateRangeWrapper.js +6 -14
- package/lib/components/DateRangePicker/Day.d.ts +2 -2
- package/lib/components/DateRangePicker/Day.d.ts.map +1 -1
- package/lib/components/Dialog/Dialog.d.ts +10 -11
- package/lib/components/Dialog/Dialog.d.ts.map +1 -1
- package/lib/components/Disclaimer/Disclaimer.d.ts.map +1 -1
- package/lib/components/Disclaimer/Disclaimer.js +0 -1
- package/lib/components/Dropdown/Dropdown.d.ts +3 -4
- package/lib/components/Dropdown/Dropdown.d.ts.map +1 -1
- package/lib/components/Dropdown/Dropdown.js +17 -18
- package/lib/components/Dropdown/Dropdown.stories.d.ts.map +1 -1
- package/lib/components/Dropdown/SimpleDropdown.d.ts +5 -6
- package/lib/components/Dropdown/SimpleDropdown.d.ts.map +1 -1
- package/lib/components/Dropdown/SimpleDropdown.js +1 -7
- package/lib/components/Dropdown/SimpleDropdown.stories.d.ts.map +1 -1
- package/lib/components/EmptyState/EmptyState.d.ts +2 -2
- package/lib/components/EmptyState/EmptyState.d.ts.map +1 -1
- package/lib/components/ErrorMessage/ErrorMessage.d.ts +2 -2
- package/lib/components/ErrorMessage/ErrorMessage.d.ts.map +1 -1
- package/lib/components/FileUpload/FileBlock/FileBlock.d.ts +2 -2
- package/lib/components/FileUpload/FileBlock/FileBlock.d.ts.map +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 +2 -7
- package/lib/components/FileUpload/FileUpload.stories.d.ts +2 -1
- package/lib/components/FileUpload/FileUpload.stories.d.ts.map +1 -1
- package/lib/components/FilterButtonOverlay/FilterButtonOverlay.d.ts +3 -4
- package/lib/components/FilterButtonOverlay/FilterButtonOverlay.d.ts.map +1 -1
- package/lib/components/FilterButtonOverlay/FilterButtonOverlay.js +1 -9
- package/lib/components/FilterButtonOverlay/FilterButtonOverlay.stories.d.ts.map +1 -1
- package/lib/components/FocusManager/FocusManager.d.ts +2 -2
- package/lib/components/FocusManager/FocusManager.d.ts.map +1 -1
- package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.d.ts +4 -5
- package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.d.ts.map +1 -1
- package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.js +21 -17
- package/lib/components/FocusManagerWithArrowKeyNavigation/FocusManagerWithArrowKeyNavigation.stories.d.ts.map +1 -1
- package/lib/components/FormTitleWrapper/FormTitleWrapper.d.ts +2 -2
- package/lib/components/FormTitleWrapper/FormTitleWrapper.d.ts.map +1 -1
- package/lib/components/Grid/Col.stories.d.ts +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 +6 -13
- 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 +1 -1
- package/lib/components/Icon/ClickableIcon.d.ts +6 -6
- package/lib/components/Icon/ClickableIcon.d.ts.map +1 -1
- package/lib/components/Icon/ClickableIcon.js +1 -1
- package/lib/components/Icon/Icon.d.ts +3 -3
- package/lib/components/Icon/Icon.d.ts.map +1 -1
- package/lib/components/Icon/Icon.js +1 -3
- 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 +2 -3
- package/lib/components/Icon/SemanticIcon.d.ts.map +1 -1
- package/lib/components/InContextAlert/InContextAlert.d.ts +4 -5
- package/lib/components/InContextAlert/InContextAlert.d.ts.map +1 -1
- package/lib/components/InContextAlert/InContextAlert.js +8 -6
- package/lib/components/InContextAlertWithMultipleActions/InContextAlertWithMultipleActions.d.ts +3 -4
- package/lib/components/InContextAlertWithMultipleActions/InContextAlertWithMultipleActions.d.ts.map +1 -1
- package/lib/components/InContextAlertWithMultipleActions/InContextAlertWithMultipleActions.js +7 -6
- package/lib/components/InfinitePagination/InfinitePagination.d.ts.map +1 -1
- package/lib/components/InfinitePagination/InfinitePagination.js +10 -11
- package/lib/components/InfinitePagination/InfinitePagination.stories.d.ts.map +1 -1
- package/lib/components/InlineDropdown/InlineDropdown.d.ts +3 -4
- package/lib/components/InlineDropdown/InlineDropdown.d.ts.map +1 -1
- package/lib/components/InlineDropdown/InlineDropdown.js +9 -14
- package/lib/components/InlineDropdown/InlineDropdown.stories.d.ts +45 -45
- package/lib/components/InlineDropdown/InlineDropdown.stories.d.ts.map +1 -1
- package/lib/components/InlineDropdown/SimpleInlineDropdown.d.ts +5 -6
- package/lib/components/InlineDropdown/SimpleInlineDropdown.d.ts.map +1 -1
- package/lib/components/InlineDropdown/SimpleInlineDropdown.js +2 -11
- package/lib/components/InlineDropdown/SimpleInlineDropdown.stories.d.ts +83 -83
- package/lib/components/InlineDropdown/SimpleInlineDropdown.stories.d.ts.map +1 -1
- package/lib/components/Input/Input.d.ts +17 -16
- package/lib/components/Input/Input.d.ts.map +1 -1
- package/lib/components/Input/Input.js +7 -20
- package/lib/components/KPIBox/KPIBox.d.ts +2 -2
- package/lib/components/KPIBox/KPIBox.d.ts.map +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 +2 -2
- package/lib/components/Link/Link.d.ts +5 -6
- package/lib/components/Link/Link.d.ts.map +1 -1
- package/lib/components/Link/Link.js +4 -13
- package/lib/components/Menu/Menu.d.ts +12 -12
- package/lib/components/Menu/Menu.d.ts.map +1 -1
- package/lib/components/Menu/Menu.js +3 -5
- package/lib/components/Menu/Menu.stories.d.ts.map +1 -1
- package/lib/components/Menu/MenuOptionButton.d.ts +2 -3
- package/lib/components/Menu/MenuOptionButton.d.ts.map +1 -1
- package/lib/components/Menu/MenuOptionButton.js +0 -1
- 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 +5 -8
- package/lib/components/Notification/Notification.d.ts +6 -7
- package/lib/components/Notification/Notification.d.ts.map +1 -1
- package/lib/components/Notification/Notification.js +7 -4
- package/lib/components/OptionButton/OptionButton.d.ts +6 -7
- package/lib/components/OptionButton/OptionButton.d.ts.map +1 -1
- package/lib/components/OptionButton/OptionButton.js +2 -2
- package/lib/components/OptionButton/OptionButton.stories.d.ts.map +1 -1
- package/lib/components/OptionButton/SimpleOptionButton.d.ts +6 -7
- package/lib/components/OptionButton/SimpleOptionButton.d.ts.map +1 -1
- package/lib/components/OptionButton/SimpleOptionButton.js +1 -7
- package/lib/components/OptionButton/SimpleOptionButton.stories.d.ts +55 -55
- package/lib/components/OptionButton/SimpleOptionButton.stories.d.ts.map +1 -1
- 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 +15 -10
- package/lib/components/PageTitle/PageTitle.stories.d.ts.map +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.stories.d.ts +1 -9
- package/lib/components/Pagination/Pagination.stories.d.ts.map +1 -1
- package/lib/components/Pagination/PaginationItem.d.ts.map +1 -1
- package/lib/components/Pagination/PaginationItem.js +0 -3
- package/lib/components/Panel/Panel.d.ts +9 -10
- package/lib/components/Panel/Panel.d.ts.map +1 -1
- package/lib/components/Panel/Panel.stories.d.ts.map +1 -1
- package/lib/components/ProgressDonut/ProgressDonut.d.ts +2 -2
- package/lib/components/ProgressDonut/ProgressDonut.d.ts.map +1 -1
- package/lib/components/ProgressDonut/ProgressDonut.js +2 -3
- package/lib/components/PromptChip/PromptChip.d.ts.map +1 -1
- package/lib/components/PromptChip/PromptChip.js +6 -5
- package/lib/components/PromptInput/PromptInput.d.ts +7 -7
- package/lib/components/PromptInput/PromptInput.d.ts.map +1 -1
- package/lib/components/PromptInput/PromptInput.js +0 -7
- package/lib/components/RadioButton/RadioButton.d.ts +2 -3
- package/lib/components/RadioButton/RadioButton.d.ts.map +1 -1
- package/lib/components/RadioButton/RadioButton.js +1 -2
- package/lib/components/RadioButton/RadioButton.stories.d.ts.map +1 -1
- package/lib/components/RadioButton/RadioGroup.d.ts +2 -2
- package/lib/components/RadioButton/RadioGroup.d.ts.map +1 -1
- package/lib/components/RadioButton/RadioGroup.js +2 -1
- package/lib/components/RadioButton/RadioGroup.stories.d.ts.map +1 -1
- package/lib/components/RadioTile/RadioTile.d.ts +2 -2
- package/lib/components/RadioTile/RadioTile.d.ts.map +1 -1
- package/lib/components/RadioTile/RadioTile.js +1 -3
- package/lib/components/RadioTile/RadioTile.stories.d.ts.map +1 -1
- package/lib/components/RangeSlider/RangeSlider.d.ts +2 -2
- package/lib/components/RangeSlider/RangeSlider.d.ts.map +1 -1
- package/lib/components/RangeSlider/RangeSlider.js +0 -3
- package/lib/components/Rating/Rating.d.ts +2 -2
- package/lib/components/Rating/Rating.d.ts.map +1 -1
- package/lib/components/ScoreBar/ScoreBar.d.ts +2 -2
- package/lib/components/ScoreBar/ScoreBar.d.ts.map +1 -1
- package/lib/components/SearchInput/SearchInput.d.ts +2 -3
- package/lib/components/SearchInput/SearchInput.d.ts.map +1 -1
- package/lib/components/Separator/Separator.d.ts +2 -2
- package/lib/components/Separator/Separator.d.ts.map +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 +1 -3
- package/lib/components/SideMenuLink/SideMenuLink.d.ts +2 -2
- package/lib/components/SideMenuLink/SideMenuLink.d.ts.map +1 -1
- package/lib/components/SideMenuLink/SideMenuLink.js +3 -9
- package/lib/components/SideMenuLink/SideMenuLink.stories.d.ts.map +1 -1
- package/lib/components/StatusIndicator/StatusIndicator.d.ts +2 -2
- package/lib/components/StatusIndicator/StatusIndicator.d.ts.map +1 -1
- package/lib/components/Stepper/Step/Step.d.ts +2 -2
- package/lib/components/Stepper/Step/Step.d.ts.map +1 -1
- package/lib/components/Stepper/Step/Step.js +13 -10
- 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/StepLabel.d.ts +2 -2
- package/lib/components/Stepper/Step/StepLabel.d.ts.map +1 -1
- 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 +23 -8
- package/lib/components/Stepper/Stepper.stories.d.ts.map +1 -1
- package/lib/components/StickyBar/StickyBar.d.ts +4 -4
- package/lib/components/StickyBar/StickyBar.d.ts.map +1 -1
- package/lib/components/SubMenu/SubMenu.d.ts +2 -2
- package/lib/components/SubMenu/SubMenu.d.ts.map +1 -1
- package/lib/components/SubMenu/SubMenuGroup.d.ts +2 -2
- package/lib/components/SubMenu/SubMenuGroup.d.ts.map +1 -1
- package/lib/components/SubMenu/SubMenuGroup.js +14 -11
- package/lib/components/SubMenu/SubMenuItem.d.ts +8 -8
- package/lib/components/SubMenu/SubMenuItem.d.ts.map +1 -1
- package/lib/components/SubMenu/SubMenuItem.js +16 -24
- package/lib/components/SubMenu/SubMenuLink.d.ts +3 -3
- package/lib/components/SubMenu/SubMenuLink.d.ts.map +1 -1
- package/lib/components/SubMenu/SubMenuLink.js +4 -8
- package/lib/components/Table/BasicTable.stories.d.ts +6 -6
- package/lib/components/Table/BasicTable.stories.d.ts.map +1 -1
- package/lib/components/Table/BulkActions.stories.d.ts.map +1 -1
- package/lib/components/Table/Cell.d.ts +3 -3
- package/lib/components/Table/Cell.d.ts.map +1 -1
- package/lib/components/Table/Cell.js +3 -7
- package/lib/components/Table/DefaultRow.d.ts +4 -4
- package/lib/components/Table/DefaultRow.d.ts.map +1 -1
- package/lib/components/Table/DefaultTableHeader.d.ts +4 -4
- package/lib/components/Table/DefaultTableHeader.d.ts.map +1 -1
- package/lib/components/Table/DefaultTableHeader.js +2 -9
- package/lib/components/Table/InlineEdit.stories.d.ts.map +1 -1
- package/lib/components/Table/StaticTable.d.ts.map +1 -1
- package/lib/components/Table/StaticTable.js +13 -56
- package/lib/components/Table/Table.d.ts +7 -7
- package/lib/components/Table/Table.d.ts.map +1 -1
- package/lib/components/Table/Table.js +2 -24
- package/lib/components/Table/TableActionBar.d.ts +2 -2
- package/lib/components/Table/TableActionBar.d.ts.map +1 -1
- package/lib/components/Table/TableBottomBar.d.ts +2 -2
- package/lib/components/Table/TableBottomBar.d.ts.map +1 -1
- package/lib/components/Table/TableTopBar.d.ts +2 -2
- package/lib/components/Table/TableTopBar.d.ts.map +1 -1
- package/lib/components/Table/hooks.d.ts.map +1 -1
- package/lib/components/Table/hooks.js +4 -12
- package/lib/components/Tabs/Tab/Tab.d.ts +6 -4
- package/lib/components/Tabs/Tab/Tab.d.ts.map +1 -1
- package/lib/components/Tabs/Tab/Tab.js +28 -8
- package/lib/components/Tabs/TabList/TabDropdown.d.ts +2 -2
- package/lib/components/Tabs/TabList/TabDropdown.d.ts.map +1 -1
- package/lib/components/Tabs/TabList/TabDropdown.js +3 -9
- package/lib/components/Tabs/TabList/TabList.d.ts +4 -3
- package/lib/components/Tabs/TabList/TabList.d.ts.map +1 -1
- package/lib/components/Tabs/TabList/TabList.js +40 -50
- package/lib/components/Tabs/TabList/TabList.stories.d.ts +22 -0
- package/lib/components/Tabs/TabList/TabList.stories.d.ts.map +1 -1
- package/lib/components/Text/Text.d.ts +4 -4
- package/lib/components/Text/Text.d.ts.map +1 -1
- package/lib/components/Text/Text.js +0 -1
- package/lib/components/TextTile/TextTile.d.ts +2 -2
- package/lib/components/TextTile/TextTile.d.ts.map +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 +7 -17
- 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 +20 -14
- package/lib/components/Timeline/TimelineItem/TimelineItem.d.ts +2 -2
- package/lib/components/Timeline/TimelineItem/TimelineItem.d.ts.map +1 -1
- package/lib/components/Timeline/TimelineItem/TimelineItem.js +2 -9
- package/lib/components/Timeline/TimelineItem/TimelineItem.stories.d.ts.map +1 -1
- 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 +31 -24
- package/lib/components/Toast/ToastContainer.d.ts.map +1 -1
- package/lib/components/Toast/ToastContainer.js +7 -6
- 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 +1 -2
- 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 +2 -6
- package/lib/components/Toggle/Toggle.stories.d.ts.map +1 -1
- package/lib/components/TokenListInput/TokenListInput.d.ts +13 -11
- package/lib/components/TokenListInput/TokenListInput.d.ts.map +1 -1
- package/lib/components/TokenListInput/TokenListInput.js +24 -38
- package/lib/components/TokenListInput/TokenListInput.stories.d.ts +3 -4
- 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 +14 -17
- 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 +10 -9
- 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 +4 -5
- package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.d.ts +3 -3
- package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.d.ts.map +1 -1
- package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.js +19 -10
- package/lib/components/TruncatedTextWithTooltip/TruncatedTextWithTooltip.stories.d.ts +1 -1
- package/lib/components/Typeahead/SimpleTypeahead.d.ts +5 -6
- package/lib/components/Typeahead/SimpleTypeahead.d.ts.map +1 -1
- package/lib/components/Typeahead/SimpleTypeahead.js +1 -5
- package/lib/components/Typeahead/SimpleTypeahead.stories.d.ts.map +1 -1
- package/lib/components/Typeahead/Typeahead.d.ts +5 -6
- package/lib/components/Typeahead/Typeahead.d.ts.map +1 -1
- package/lib/components/Typeahead/Typeahead.js +14 -11
- package/lib/components/Typeahead/Typeahead.stories.d.ts.map +1 -1
- package/lib/components/WeekdayPicker/WeekdayPicker.d.ts +4 -4
- package/lib/components/WeekdayPicker/WeekdayPicker.d.ts.map +1 -1
- package/lib/components/WeekdayPicker/WeekdayPicker.stories.d.ts.map +1 -1
- package/lib/devtools/DependencyGraph/DependencyGraph.stories.d.ts.map +1 -1
- package/lib/flow-to-typescript-codemod.d.ts +1 -21
- package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.d.ts +2 -2
- package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.d.ts.map +1 -1
- package/lib/hooks/useArbitraryOptionAddition/useArbitraryOptionAddition.stories.d.ts.map +1 -1
- package/lib/hooks/useFileUpload/useFileUpload.d.ts +2 -2
- package/lib/hooks/useFileUpload/useFileUpload.d.ts.map +1 -1
- package/lib/hooks/useFileUpload/useFileUpload.stories.d.ts.map +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.map +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/useInputState.d.ts.map +1 -1
- package/lib/hooks/useLockedBody/useLockedBody.d.ts.map +1 -1
- package/lib/hooks/useModal/useModal.d.ts +13 -5
- package/lib/hooks/useModal/useModal.d.ts.map +1 -1
- package/lib/hooks/useToastPortal/useToastPortal.d.ts +2 -2
- package/lib/hooks/useToastPortal/useToastPortal.d.ts.map +1 -1
- package/lib/hooks/useToggle/useToggle.d.ts.map +1 -1
- package/lib/hooks/useWindowSize/useWindowSize.d.ts +2 -2
- package/lib/hooks/useWindowSize/useWindowSize.d.ts.map +1 -1
- 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/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/charts/charts.d.ts +1 -1
- package/lib/utils/charts/charts.d.ts.map +1 -1
- package/lib/utils/charts/donutChart.d.ts +2 -2
- package/lib/utils/charts/donutChart.d.ts.map +1 -1
- package/lib/utils/charts/donutChart.js +2 -0
- package/lib/utils/charts/funnelChart.d.ts.map +1 -1
- package/lib/utils/charts/helpers.d.ts +1 -1
- package/lib/utils/charts/helpers.d.ts.map +1 -1
- package/lib/utils/charts/sankeyChart.d.ts +2 -2
- package/lib/utils/charts/sankeyChart.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/date-range-picker/date-range-picker.d.ts.map +1 -1
- package/lib/utils/dom/dom.d.ts +2 -2
- package/lib/utils/dom/dom.d.ts.map +1 -1
- package/lib/utils/helpers/helpers.d.ts.map +1 -1
- package/lib/utils/makeClassNameComponent/makeClassNameComponent.d.ts.map +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/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/tokens.d.ts +7 -6
- package/lib/utils/tokens/tokens.d.ts.map +1 -1
- package/package.json +18 -10
- package/tsconfig.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DefaultTableHeader.d.ts","sourceRoot":"","sources":["../../../src/components/Table/DefaultTableHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,oCAAoC,CAAC;AAO3E,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,SAAS,CAAC;AAC3C,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,SAAS,CAAC;AAK3C,MAAM,
|
|
1
|
+
{"version":3,"file":"DefaultTableHeader.d.ts","sourceRoot":"","sources":["../../../src/components/Table/DefaultTableHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,oCAAoC,CAAC;AAO3E,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,SAAS,CAAC;AAC3C,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,SAAS,CAAC;AAK3C,MAAM,WAAW,iBAAiB,CAAC,CAAC,EAAE,CAAC;IACrC,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,GAAG,EAAE,MAAM,CAAC,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAC3B,IAAI,EAAE,CAAC,CAAC;QACR,MAAM,CAAC,EAAE,CAAC,CAAC;QACX,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;KACpB,CAAC,CAAC;CACJ;AAED,MAAM,MAAM,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI,iBAAiB,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC;AAEjE,eAAO,MAAM,aAAa,EAAE,kBAAkB,CAAC,IAAI,CAGlD,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,kBAAkB,CAAC,OAAO,CACA,CAAC;AAExD,MAAM,WAAW,gBAAgB,CAAC,CAAC,EAAE,CAAC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,kBAAkB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAClC,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC,KAAK,OAAO,CAAC;IAChD,OAAO,CAAC,EAAE,MAAM,CAAC,CAAC;IAClB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,OAAO,CAAC;IACrC,mBAAmB,CAAC,EAAE,CAAC,IAAI,EAAE;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,OAAO,CAAA;KAAC,KAAK,OAAO,CAAC;IAC3E,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AA4CD,wBAAgB,kBAAkB,CAChC,CAAC,SAAS,aAAa,EACvB,CAAC,SAAS,aAAa,EACvB,KAAK,EAAE,gBAAgB,CAAC,CAAC,EAAE,CAAC,CAAC,qBAqI9B"}
|
|
@@ -15,8 +15,6 @@ var _DefaultRow = require("./DefaultRow");
|
|
|
15
15
|
var _TableModule = _interopRequireDefault(require("./Table.module.css"));
|
|
16
16
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
17
17
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
18
|
-
// @ts-ignore - TS2344 - Type 'T' does not satisfy the constraint 'GenericObject'.
|
|
19
|
-
|
|
20
18
|
const BasicHeadCell = exports.BasicHeadCell = (0, _makeClassNameComponent.makeClassNameComponent)(_TableModule.default.defaultHeaderCell, 'th');
|
|
21
19
|
const BasicTableHead = exports.BasicTableHead = (0, _makeClassNameComponent.makeClassNameComponent)(_TableModule.default.defaultTableHead, 'thead');
|
|
22
20
|
const SortIcon = _ref => {
|
|
@@ -118,16 +116,11 @@ function DefaultTableHeader(props) {
|
|
|
118
116
|
className: _TableModule.default.headerSubtext
|
|
119
117
|
}, subtext && subtext)), (sortable || filterIcon != null) && /*#__PURE__*/React.createElement("div", {
|
|
120
118
|
className: _TableModule.default.headerIconContainer
|
|
121
|
-
}, columnSortable &&
|
|
122
|
-
/*#__PURE__*/
|
|
123
|
-
// @ts-ignore - TS2786 - 'SortIcon' cannot be used as a JSX component.
|
|
124
|
-
React.createElement(SortIcon, {
|
|
119
|
+
}, columnSortable && /*#__PURE__*/React.createElement(SortIcon, {
|
|
125
120
|
color: _Text.TEXT_COLORS.secondary,
|
|
126
121
|
className: (0, _classify.default)(_TableModule.default.sortArrow, {
|
|
127
122
|
[_TableModule.default.selectedSortArrow]: sortKey === key
|
|
128
|
-
})
|
|
129
|
-
// @ts-ignore - TS2322 - Type 'string' is not assignable to type 'SortDirection'.
|
|
130
|
-
,
|
|
123
|
+
}),
|
|
131
124
|
sortDirection: columnSortDirection
|
|
132
125
|
}), filterIcon != null && /*#__PURE__*/React.createElement("div", {
|
|
133
126
|
className: _TableModule.default.filterIcon
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InlineEdit.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Table/InlineEdit.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAgB/B,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,IAAI,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"InlineEdit.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Table/InlineEdit.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAgB/B,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,IAAI,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8BnC,wBA+KE;AAqFF,eAAO,MAAM,WAAW;WAChB,UAAU,CACd;QACE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;KACxB,EACD;QACE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;KACxB,CACF;;;;CAsFF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StaticTable.d.ts","sourceRoot":"","sources":["../../../src/components/Table/StaticTable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,oCAAoC,CAAC;AAQ3E,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,SAAS,CAAC;AAC3C,OAAO,KAAK,EAAC,aAAa,EAAmB,UAAU,EAAC,MAAM,SAAS,CAAC;AAKxE,eAAO,MAAM,UAAU,EAAE,kBAAkB,CAAC,OAAO,CAGlD,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,kBAAkB,CAAC,OAAO,CACA,CAAC;
|
|
1
|
+
{"version":3,"file":"StaticTable.d.ts","sourceRoot":"","sources":["../../../src/components/Table/StaticTable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAS/B,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,oCAAoC,CAAC;AAQ3E,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,SAAS,CAAC;AAC3C,OAAO,KAAK,EAAC,aAAa,EAAmB,UAAU,EAAC,MAAM,SAAS,CAAC;AAKxE,eAAO,MAAM,UAAU,EAAE,kBAAkB,CAAC,OAAO,CAGlD,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,kBAAkB,CAAC,OAAO,CACA,CAAC;AAuMxD;;;;GAIG;AAEH,wBAAgB,WAAW,CACzB,IAAI,SAAS,aAAa,EAC1B,MAAM,SAAS,aAAa,EAE5B,KAAK,EAAE,UAAU,CAAC,IAAI,EAAE,MAAM,CAAC,GAAG;IAChC,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC;IAC/C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB,qBAqHF;AAED,wBAAgB,sBAAsB,CACpC,IAAI,SAAS,aAAa,EAC1B,MAAM,SAAS,aAAa,EAE5B,KAAK,EAAE,UAAU,CAAC,IAAI,EAAE,MAAM,CAAC,GAAG;IAChC,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC;IAC/C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;CACpB,qBAwNF"}
|
|
@@ -27,7 +27,7 @@ function useTableWidth(ref) {
|
|
|
27
27
|
const {
|
|
28
28
|
width
|
|
29
29
|
} = (0, _useWindowSize.useWindowSize)();
|
|
30
|
-
const [tableWidth, setTableWidth] = React.useState();
|
|
30
|
+
const [tableWidth, setTableWidth] = React.useState(undefined);
|
|
31
31
|
React.useEffect(() => {
|
|
32
32
|
if (ref.current) {
|
|
33
33
|
setTableWidth(ref.current.offsetWidth);
|
|
@@ -36,7 +36,6 @@ function useTableWidth(ref) {
|
|
|
36
36
|
return tableWidth;
|
|
37
37
|
}
|
|
38
38
|
function useMappedKeys(entries, rowKeys, idName) {
|
|
39
|
-
// @ts-ignore - TS2322 - Type 'string[] | Data[string][]' is not assignable to type 'string[]'.
|
|
40
39
|
return React.useMemo(() => rowKeys ?? entries.map(e => (0, _get.default)(e, idName)), [entries, idName, rowKeys]);
|
|
41
40
|
}
|
|
42
41
|
function useHeaderCheckboxHandler(selectedKeys, entries, idName, onSelect) {
|
|
@@ -49,7 +48,6 @@ function useHeaderCheckboxHandler(selectedKeys, entries, idName, onSelect) {
|
|
|
49
48
|
} = _ref;
|
|
50
49
|
const allIds = entries.map(row => (0, _get.default)(row, idName));
|
|
51
50
|
const newSelection = checked ? allIds : [];
|
|
52
|
-
// @ts-ignore - TS2345 - Argument of type 'Data[string][]' is not assignable to parameter of type 'string[]'.
|
|
53
51
|
onSelect?.(newSelection);
|
|
54
52
|
};
|
|
55
53
|
}
|
|
@@ -115,9 +113,7 @@ function TableWrapper(_ref3) {
|
|
|
115
113
|
return /*#__PURE__*/React.createElement("div", {
|
|
116
114
|
className: (0, _classify.classify)(_TableModule.default.tableContainer, classNames?.wrapper),
|
|
117
115
|
"data-id": 'table-wrap',
|
|
118
|
-
ref: tableRef
|
|
119
|
-
// @ts-ignore - TS2322 - Type '{ [key: string]: string | number | null | undefined; } | undefined' is not assignable to type 'CSSProperties | undefined'.
|
|
120
|
-
,
|
|
116
|
+
ref: tableRef,
|
|
121
117
|
style: wrapperStyle
|
|
122
118
|
}, /*#__PURE__*/React.createElement(BasicTable, {
|
|
123
119
|
"data-id": "basic-table",
|
|
@@ -158,12 +154,6 @@ function StaticTable(props) {
|
|
|
158
154
|
showHeader = true,
|
|
159
155
|
tableHeaderClassName,
|
|
160
156
|
sortable,
|
|
161
|
-
// @ts-ignore - TS6133 - 'defaultSortKey' is declared but its value is never read.
|
|
162
|
-
defaultSortKey,
|
|
163
|
-
// @ts-ignore - TS6133 - 'defaultSortDirection' is declared but its value is never read.
|
|
164
|
-
defaultSortDirection = 'original',
|
|
165
|
-
// @ts-ignore - TS6133 - 'onSort' is declared but its value is never read.
|
|
166
|
-
onSort,
|
|
167
157
|
handleSortClick,
|
|
168
158
|
sortKey,
|
|
169
159
|
sortDirection,
|
|
@@ -182,16 +172,13 @@ function StaticTable(props) {
|
|
|
182
172
|
// this is a fallback and honestly probably doesn't need the
|
|
183
173
|
// memo'ing
|
|
184
174
|
const tableRef = React.useRef(null);
|
|
185
|
-
// @ts-ignore - TS2345 - Argument of type 'string | number | symbol' is not assignable to parameter of type 'string'.
|
|
186
175
|
const mappedKeys = useMappedKeys(entries, rowKeys, idName);
|
|
187
176
|
const tableWidth = useTableWidth(tableRef);
|
|
188
177
|
|
|
189
178
|
/**
|
|
190
179
|
* this function is also used to decide weather to show checkbox in header or not. so it's value is undefined in case selectedKeys is not there.
|
|
191
180
|
*/
|
|
192
|
-
const handleHeaderCheckboxClick = useHeaderCheckboxHandler(selectedKeys, entries,
|
|
193
|
-
// @ts-ignore - TS2345 - Argument of type 'string | number | symbol' is not assignable to parameter of type 'string'.
|
|
194
|
-
idName, onSelect);
|
|
181
|
+
const handleHeaderCheckboxClick = useHeaderCheckboxHandler(selectedKeys, entries, idName, onSelect);
|
|
195
182
|
return /*#__PURE__*/React.createElement(TableWrapper, {
|
|
196
183
|
tableRef: tableRef,
|
|
197
184
|
wrapperStyle: {
|
|
@@ -212,9 +199,7 @@ function StaticTable(props) {
|
|
|
212
199
|
selectedKeys: selectedKeys,
|
|
213
200
|
headers: headers,
|
|
214
201
|
sortKey: sortKey,
|
|
215
|
-
sortDirection: sortDirection
|
|
216
|
-
// @ts-ignore - TS2322 - Type '((sortKey: string) => unknown) | undefined' is not assignable to type '((sortKey: keyof Data) => unknown) | undefined'.
|
|
217
|
-
,
|
|
202
|
+
sortDirection: sortDirection,
|
|
218
203
|
handleSortClick: handleSortClick,
|
|
219
204
|
handleHeaderCheckboxClick: handleHeaderCheckboxClick
|
|
220
205
|
}, isLoading || !entries.length ? /*#__PURE__*/React.createElement(_DefaultRow.EmptyRow, {
|
|
@@ -227,12 +212,8 @@ function StaticTable(props) {
|
|
|
227
212
|
if (data == null) {
|
|
228
213
|
return null;
|
|
229
214
|
}
|
|
230
|
-
const selected = selectedKeys && Array.isArray(selectedKeys) ?
|
|
231
|
-
|
|
232
|
-
selectedKeys.includes((0, _get.default)(data, idName)) : undefined;
|
|
233
|
-
const isRowDisabled = disabledKeys && Array.isArray(disabledKeys) ?
|
|
234
|
-
// @ts-ignore - TS2345 - Argument of type 'Data["id"] | Data[keyof Data]' is not assignable to parameter of type 'string'.
|
|
235
|
-
disabledKeys.includes((0, _get.default)(data, idName)) : false;
|
|
215
|
+
const selected = selectedKeys && Array.isArray(selectedKeys) ? selectedKeys.includes((0, _get.default)(data, idName)) : undefined;
|
|
216
|
+
const isRowDisabled = disabledKeys && Array.isArray(disabledKeys) ? disabledKeys.includes((0, _get.default)(data, idName)) : false;
|
|
236
217
|
return /*#__PURE__*/React.createElement(RowRenderer, {
|
|
237
218
|
TableRow: TableRow,
|
|
238
219
|
keyId: key,
|
|
@@ -259,12 +240,6 @@ function StaticTableVirtualized(props) {
|
|
|
259
240
|
showHeader = true,
|
|
260
241
|
tableHeaderClassName,
|
|
261
242
|
sortable,
|
|
262
|
-
// @ts-ignore - TS6133 - 'defaultSortKey' is declared but its value is never read.
|
|
263
|
-
defaultSortKey,
|
|
264
|
-
// @ts-ignore - TS6133 - 'defaultSortDirection' is declared but its value is never read.
|
|
265
|
-
defaultSortDirection = 'original',
|
|
266
|
-
// @ts-ignore - TS6133 - 'onSort' is declared but its value is never read.
|
|
267
|
-
onSort,
|
|
268
243
|
handleSortClick,
|
|
269
244
|
sortKey,
|
|
270
245
|
sortDirection,
|
|
@@ -291,14 +266,12 @@ function StaticTableVirtualized(props) {
|
|
|
291
266
|
|
|
292
267
|
// this is a fallback and honestly probably doesn't need the
|
|
293
268
|
// memo'ing
|
|
294
|
-
// @ts-ignore - TS2345 - Argument of type 'string | number | symbol' is not assignable to parameter of type 'string'.
|
|
295
269
|
const mappedKeys = useMappedKeys(entries, rowKeys, idName);
|
|
296
270
|
const tableWidth = useTableWidth(tableRef);
|
|
297
271
|
const virtualizer = (0, _reactVirtual.useVirtualizer)({
|
|
298
272
|
count: entries.length,
|
|
299
273
|
getScrollElement: () => tableRef.current,
|
|
300
274
|
estimateSize: () => parseInt(rowHeight),
|
|
301
|
-
// @ts-ignore - TS2322 - Type '(index: number) => Data["id" | keyof Data]' is not assignable to type '(index: number) => Key'.
|
|
302
275
|
getItemKey: index => entries[index][idName],
|
|
303
276
|
overscan: 1
|
|
304
277
|
});
|
|
@@ -326,11 +299,8 @@ function StaticTableVirtualized(props) {
|
|
|
326
299
|
hasTriggeredRef.current = false; // reset when scrolling up
|
|
327
300
|
}
|
|
328
301
|
};
|
|
329
|
-
|
|
330
|
-
// @ts-ignore - TS2339 - Property 'addEventListener' does not exist on type 'never'.
|
|
331
302
|
scrollElement.addEventListener('scroll', handleScroll);
|
|
332
303
|
return () => {
|
|
333
|
-
// @ts-ignore - TS2339 - Property 'removeEventListener' does not exist on type 'never'.
|
|
334
304
|
scrollElement.removeEventListener('scroll', handleScroll);
|
|
335
305
|
};
|
|
336
306
|
}, [onEndReached, isAllDataFetched]);
|
|
@@ -339,9 +309,7 @@ function StaticTableVirtualized(props) {
|
|
|
339
309
|
* this function is also used to decide weather to show checkbox in header or not. so it's value is undefined in case selectedKeys is not there.
|
|
340
310
|
*/
|
|
341
311
|
|
|
342
|
-
const handleHeaderCheckboxClick = useHeaderCheckboxHandler(selectedKeys, entries,
|
|
343
|
-
// @ts-ignore - TS2345 - Argument of type 'string | number | symbol' is not assignable to parameter of type 'string'.
|
|
344
|
-
idName, onSelect);
|
|
312
|
+
const handleHeaderCheckboxClick = useHeaderCheckboxHandler(selectedKeys, entries, idName, onSelect);
|
|
345
313
|
const VirtualizedStartRow = () => /*#__PURE__*/React.createElement("tr", {
|
|
346
314
|
style: {
|
|
347
315
|
height: virtualizer.getVirtualItems()[0]?.start ?? _space.spaceNone,
|
|
@@ -357,9 +325,7 @@ function StaticTableVirtualized(props) {
|
|
|
357
325
|
}));
|
|
358
326
|
const VirtualizedEndRow = () => /*#__PURE__*/React.createElement("tr", {
|
|
359
327
|
style: {
|
|
360
|
-
height: virtualizer.getTotalSize() - (
|
|
361
|
-
// @ts-ignore - TS2339 - Property 'at' does not exist on type 'VirtualItem[]'.
|
|
362
|
-
virtualizer.getVirtualItems().at(-1)?.end ?? _space.spaceNone)
|
|
328
|
+
height: virtualizer.getTotalSize() - (virtualizer.getVirtualItems()[virtualizer.getVirtualItems().length - 1]?.end ?? _space.spaceNone)
|
|
363
329
|
},
|
|
364
330
|
"aria-hidden": true
|
|
365
331
|
}, /*#__PURE__*/React.createElement("td", {
|
|
@@ -375,8 +341,7 @@ function StaticTableVirtualized(props) {
|
|
|
375
341
|
wrapperStyle: {
|
|
376
342
|
'--border-radius': borderRadius,
|
|
377
343
|
'--table-width': tableWidth ? `${tableWidth}px` : _size.sizeFluid,
|
|
378
|
-
|
|
379
|
-
'--table-height': `${(rowsCount + 1) * parseInt(rowHeight)}px`,
|
|
344
|
+
'--table-height': `${((rowsCount || 0) + 1) * parseInt(rowHeight)}px`,
|
|
380
345
|
overflowY: 'auto'
|
|
381
346
|
},
|
|
382
347
|
classNames: classNames,
|
|
@@ -393,9 +358,7 @@ function StaticTableVirtualized(props) {
|
|
|
393
358
|
selectedKeys: selectedKeys,
|
|
394
359
|
headers: headers,
|
|
395
360
|
sortKey: sortKey,
|
|
396
|
-
sortDirection: sortDirection
|
|
397
|
-
// @ts-ignore - TS2322 - Type '((sortKey: string) => unknown) | undefined' is not assignable to type '((sortKey: keyof Data) => unknown) | undefined'.
|
|
398
|
-
,
|
|
361
|
+
sortDirection: sortDirection,
|
|
399
362
|
handleSortClick: handleSortClick,
|
|
400
363
|
handleHeaderCheckboxClick: handleHeaderCheckboxClick
|
|
401
364
|
}, /*#__PURE__*/React.createElement(VirtualizedStartRow, null), isLoading || !entries.length ? /*#__PURE__*/React.createElement(_DefaultRow.EmptyRow, {
|
|
@@ -409,16 +372,10 @@ function StaticTableVirtualized(props) {
|
|
|
409
372
|
if (data == null) {
|
|
410
373
|
return null;
|
|
411
374
|
}
|
|
412
|
-
const selected = selectedKeys && Array.isArray(selectedKeys) ?
|
|
413
|
-
|
|
414
|
-
selectedKeys.includes((0, _get.default)(data, idName)) : undefined;
|
|
415
|
-
const isRowDisabled = disabledKeys && Array.isArray(disabledKeys) ?
|
|
416
|
-
// @ts-ignore - TS2345 - Argument of type 'Data[keyof Data] | Data["id"]' is not assignable to parameter of type 'string'.
|
|
417
|
-
disabledKeys.includes((0, _get.default)(data, idName)) : false;
|
|
375
|
+
const selected = selectedKeys && Array.isArray(selectedKeys) ? selectedKeys.includes((0, _get.default)(data, idName)) : undefined;
|
|
376
|
+
const isRowDisabled = disabledKeys && Array.isArray(disabledKeys) ? disabledKeys.includes((0, _get.default)(data, idName)) : false;
|
|
418
377
|
return /*#__PURE__*/React.createElement(RowRenderer, {
|
|
419
|
-
TableRow: TableRow
|
|
420
|
-
// @ts-ignore - TS2322 - Type 'Key' is not assignable to type 'string'.
|
|
421
|
-
,
|
|
378
|
+
TableRow: TableRow,
|
|
422
379
|
keyId: key,
|
|
423
380
|
data: data,
|
|
424
381
|
headers: headers,
|
|
@@ -2,9 +2,9 @@ import * as React from 'react';
|
|
|
2
2
|
import type { TableRow } from './DefaultRow';
|
|
3
3
|
import type { GenericHeaderItems } from './DefaultTableHeader';
|
|
4
4
|
import type { SortDirection } from './hooks';
|
|
5
|
-
export
|
|
6
|
-
|
|
7
|
-
}
|
|
5
|
+
export interface GenericObject {
|
|
6
|
+
[key: string]: unknown;
|
|
7
|
+
}
|
|
8
8
|
export type TableClassNames = Readonly<{
|
|
9
9
|
wrapper?: string;
|
|
10
10
|
table?: string;
|
|
@@ -13,14 +13,14 @@ export type TableClassNames = Readonly<{
|
|
|
13
13
|
tableRow?: string;
|
|
14
14
|
checkbox?: string;
|
|
15
15
|
}>;
|
|
16
|
-
|
|
16
|
+
interface VirtualizationOptions {
|
|
17
17
|
rowsCount: number;
|
|
18
18
|
rowHeight?: string;
|
|
19
19
|
onEndReached?: () => void;
|
|
20
20
|
isEndLoading?: boolean;
|
|
21
21
|
isAllDataFetched?: boolean;
|
|
22
|
-
}
|
|
23
|
-
export
|
|
22
|
+
}
|
|
23
|
+
export interface TableProps<T, U> {
|
|
24
24
|
classNames?: TableClassNames;
|
|
25
25
|
className?: string;
|
|
26
26
|
TableRow?: TableRow<T, U>;
|
|
@@ -46,7 +46,7 @@ export type TableProps<T, U> = {
|
|
|
46
46
|
borderRadius?: string;
|
|
47
47
|
stickyHeader?: boolean;
|
|
48
48
|
virtualizationOptions?: VirtualizationOptions;
|
|
49
|
-
}
|
|
49
|
+
}
|
|
50
50
|
/**
|
|
51
51
|
* Table
|
|
52
52
|
* @param {React.ComponentType} Row - React.ComponentType<{data: Data, extras?: Extras, sortedKeys?: string[]}>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../src/components/Table/Table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,sBAAsB,CAAC;AAC7D,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../src/components/Table/Table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,cAAc,CAAC;AAC3C,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,sBAAsB,CAAC;AAC7D,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,SAAS,CAAC;AAK3C,MAAM,WAAW,aAAa;IAC5B,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED,MAAM,MAAM,eAAe,GAAG,QAAQ,CAAC;IACrC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC,CAAC;AAEH,UAAU,qBAAqB;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;IAC1B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,MAAM,WAAW,UAAU,CAAC,CAAC,EAAE,CAAC;IAC9B,UAAU,CAAC,EAAE,eAAe,CAAC;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,QAAQ,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAC1B,OAAO,EAAE,kBAAkB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAClC,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC;IAClB,MAAM,CAAC,EAAE,CAAC,CAAC;IACX,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,oBAAoB,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,UAAU,CAAC;IACnD,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,OAAO,CAAC;IACvC,MAAM,CAAC,EAAE,MAAM,CAAC,CAAC;IACjB,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,CAAC,EAAE,SAAS,EAAE,aAAa,KAAK,IAAI,CAAC;IAC1D,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC/B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,qBAAqB,CAAC,EAAE,qBAAqB,CAAC;CAC/C;AAED;;;;;IAKI;AAEJ;;;;;GAKG;AACH,wBAAgB,KAAK,CAAC,IAAI,SAAS,aAAa,EAAE,MAAM,SAAS,aAAa,EAC5E,KAAK,EAAE,UAAU,CAAC,IAAI,EAAE,MAAM,CAAC,qBAoDhC"}
|
|
@@ -26,31 +26,13 @@ function _extends() { return _extends = Object.assign ? Object.assign.bind() : f
|
|
|
26
26
|
*/
|
|
27
27
|
function Table(props) {
|
|
28
28
|
const {
|
|
29
|
-
// @ts-ignore - TS6133 - 'className' is declared but its value is never read.
|
|
30
|
-
className,
|
|
31
|
-
// @ts-ignore - TS6133 - 'classNames' is declared but its value is never read.
|
|
32
|
-
classNames,
|
|
33
|
-
// @ts-ignore - TS6133 - 'TableRow' is declared but its value is never read.
|
|
34
|
-
TableRow,
|
|
35
29
|
entries,
|
|
36
|
-
// @ts-ignore - TS6133 - 'extras' is declared but its value is never read.
|
|
37
|
-
extras,
|
|
38
|
-
// @ts-ignore - TS6133 - 'headers' is declared but its value is never read.
|
|
39
|
-
headers,
|
|
40
|
-
// @ts-ignore - TS6133 - 'showHeader' is declared but its value is never read.
|
|
41
|
-
showHeader = true,
|
|
42
|
-
// @ts-ignore - TS6133 - 'tableHeaderClassName' is declared but its value is never read.
|
|
43
|
-
tableHeaderClassName,
|
|
44
30
|
sortable = true,
|
|
45
31
|
defaultSortKey,
|
|
46
32
|
defaultSortDirection = 'original',
|
|
47
33
|
onSort,
|
|
48
34
|
enableInternalSorting,
|
|
49
|
-
// @ts-ignore - TS6133 - 'isLoading' is declared but its value is never read.
|
|
50
|
-
isLoading,
|
|
51
35
|
idName = 'id',
|
|
52
|
-
// @ts-ignore - TS6133 - 'emptyText' is declared but its value is never read.
|
|
53
|
-
emptyText,
|
|
54
36
|
virtualizationOptions
|
|
55
37
|
} = props;
|
|
56
38
|
|
|
@@ -73,15 +55,11 @@ function Table(props) {
|
|
|
73
55
|
const virtualized = !!(virtualizationOptions && virtualizationOptions.rowsCount > 0 && entries.length > 0);
|
|
74
56
|
return virtualized ? /*#__PURE__*/React.createElement(_StaticTable.StaticTableVirtualized, _extends({}, props, sortableProps, {
|
|
75
57
|
sortable: sortable,
|
|
76
|
-
entries: sortedEntries
|
|
77
|
-
// @ts-ignore - TS2322 - Type 'keyof T[]' is not assignable to type 'string[] | undefined'.
|
|
78
|
-
,
|
|
58
|
+
entries: sortedEntries,
|
|
79
59
|
rowKeys: sortedKeys
|
|
80
60
|
})) : /*#__PURE__*/React.createElement(_StaticTable.StaticTable, _extends({}, props, sortableProps, {
|
|
81
61
|
sortable: sortable,
|
|
82
|
-
entries: sortedEntries
|
|
83
|
-
// @ts-ignore - TS2322 - Type 'keyof T[]' is not assignable to type 'string[] | undefined'.
|
|
84
|
-
,
|
|
62
|
+
entries: sortedEntries,
|
|
85
63
|
rowKeys: sortedKeys
|
|
86
64
|
}));
|
|
87
65
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { ButtonProps } from '../Button';
|
|
3
3
|
import type { SimpleButtonDropdownProps } from '../ButtonDropdown';
|
|
4
|
-
export
|
|
4
|
+
export interface TableActionBarProps {
|
|
5
5
|
children?: React.ReactNode;
|
|
6
6
|
className?: string;
|
|
7
|
-
}
|
|
7
|
+
}
|
|
8
8
|
export declare const ButtonCta: ({ classNames, ...props }: ButtonProps) => React.JSX.Element;
|
|
9
9
|
export declare const DropdownCta: ({ classNames, ...props }: SimpleButtonDropdownProps) => React.JSX.Element;
|
|
10
10
|
export declare const TableActionBar: ({ children, className, ...props }: TableActionBarProps) => React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableActionBar.d.ts","sourceRoot":"","sources":["../../../src/components/Table/TableActionBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,WAAW,CAAC;AAE3C,OAAO,KAAK,EAAC,yBAAyB,EAAC,MAAM,mBAAmB,CAAC;AAMjE,MAAM,
|
|
1
|
+
{"version":3,"file":"TableActionBar.d.ts","sourceRoot":"","sources":["../../../src/components/Table/TableActionBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,WAAW,CAAC;AAE3C,OAAO,KAAK,EAAC,yBAAyB,EAAC,MAAM,mBAAmB,CAAC;AAMjE,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,SAAS,GAAI,0BAAwB,WAAW,sBAQ5D,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,0BAGzB,yBAAyB,sBAQ3B,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,mCAI5B,mBAAmB,sBAQrB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
export
|
|
2
|
+
export interface TableBottomBarProps {
|
|
3
3
|
children?: React.ReactNode;
|
|
4
4
|
className?: string;
|
|
5
|
-
}
|
|
5
|
+
}
|
|
6
6
|
export declare const TableBottomBar: ({ children, className, ...props }: TableBottomBarProps) => React.JSX.Element;
|
|
7
7
|
//# sourceMappingURL=TableBottomBar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableBottomBar.d.ts","sourceRoot":"","sources":["../../../src/components/Table/TableBottomBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,MAAM,
|
|
1
|
+
{"version":3,"file":"TableBottomBar.d.ts","sourceRoot":"","sources":["../../../src/components/Table/TableBottomBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,cAAc,GAAI,mCAI5B,mBAAmB,sBAQrB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
export
|
|
2
|
+
export interface TableTopBarProps {
|
|
3
3
|
children?: React.ReactNode;
|
|
4
4
|
className?: string;
|
|
5
|
-
}
|
|
5
|
+
}
|
|
6
6
|
export declare const TableTopBar: ({ children, className, ...props }: TableTopBarProps) => React.JSX.Element;
|
|
7
7
|
//# sourceMappingURL=TableTopBar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableTopBar.d.ts","sourceRoot":"","sources":["../../../src/components/Table/TableTopBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,MAAM,
|
|
1
|
+
{"version":3,"file":"TableTopBar.d.ts","sourceRoot":"","sources":["../../../src/components/Table/TableTopBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,WAAW,GAAI,mCAIzB,gBAAgB,sBAQlB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../src/components/Table/hooks.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,SAAS,CAAC;AAG3C,MAAM,MAAM,aAAa,GAAG,KAAK,GAAG,MAAM,GAAG,UAAU,CAAC;AAExD,wBAAgB,kBAAkB,CAAC,CAAC,SAAS,aAAa,EACxD,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC,EACjB,MAAM,EAAE,MAAM,CAAC,EACf,EACE,cAAqB,EACrB,oBAAiC,EACjC,MAAM,EACN,qBAA4B,GAC7B,EAAE;IACD,cAAc,CAAC,EAAE,MAAM,CAAC,CAAC;IACzB,oBAAoB,CAAC,EAAE,aAAa,CAAC;IACrC,MAAM,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,aAAa,KAAK,OAAO,CAAC;IACpE,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC,GACA;IACD,eAAe,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC,KAAK,OAAO,CAAC;IAC/C,aAAa,EAAE,aAAa,CAAC;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,CAAC,EAAE,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC,EAAE,CAAC;CACvB,
|
|
1
|
+
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../src/components/Table/hooks.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,SAAS,CAAC;AAG3C,MAAM,MAAM,aAAa,GAAG,KAAK,GAAG,MAAM,GAAG,UAAU,CAAC;AAExD,wBAAgB,kBAAkB,CAAC,CAAC,SAAS,aAAa,EACxD,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC,EACjB,MAAM,EAAE,MAAM,CAAC,EACf,EACE,cAAqB,EACrB,oBAAiC,EACjC,MAAM,EACN,qBAA4B,GAC7B,EAAE;IACD,cAAc,CAAC,EAAE,MAAM,CAAC,CAAC;IACzB,oBAAoB,CAAC,EAAE,aAAa,CAAC;IACrC,MAAM,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,aAAa,KAAK,OAAO,CAAC;IACpE,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC,GACA;IACD,eAAe,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC,KAAK,OAAO,CAAC;IAC/C,aAAa,EAAE,aAAa,CAAC;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,EAAE,CAAC,EAAE,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC,EAAE,CAAC;CACvB,CAiEA"}
|
|
@@ -32,9 +32,7 @@ function useSortableEntries(entries, idName, _ref) {
|
|
|
32
32
|
};
|
|
33
33
|
const advanceSortDirection = dir => {
|
|
34
34
|
const nextDirection = getNextDirection(dir);
|
|
35
|
-
|
|
36
|
-
// @ts-ignore - TS6133 - 'dir' is declared but its value is never read.
|
|
37
|
-
setSortDirection(dir => nextDirection);
|
|
35
|
+
setSortDirection(_dir => nextDirection);
|
|
38
36
|
return nextDirection;
|
|
39
37
|
};
|
|
40
38
|
const handleSortClick = React.useCallback(nextSortKey => {
|
|
@@ -45,9 +43,7 @@ function useSortableEntries(entries, idName, _ref) {
|
|
|
45
43
|
setSortKey(nextSortKey);
|
|
46
44
|
nextSortDirection = 'desc';
|
|
47
45
|
}
|
|
48
|
-
// @ts-ignore - TS2345 - Argument of type 'string' is not assignable to parameter of type 'SetStateAction<SortDirection>'.
|
|
49
46
|
setSortDirection(nextSortDirection);
|
|
50
|
-
// @ts-ignore - TS2345 - Argument of type 'string' is not assignable to parameter of type 'SortDirection'.
|
|
51
47
|
onSort?.(nextSortKey, nextSortDirection);
|
|
52
48
|
}, [sortKey, sortDirection, entries]);
|
|
53
49
|
const sortedEntries = React.useMemo(() => {
|
|
@@ -56,7 +52,6 @@ function useSortableEntries(entries, idName, _ref) {
|
|
|
56
52
|
}
|
|
57
53
|
const caseInsensitiveSortFunction = entry => {
|
|
58
54
|
if (typeof entry[sortKey] === 'string') {
|
|
59
|
-
// @ts-ignore - TS2339 - Property 'toLowerCase' does not exist on type 'T[keyof T]'.
|
|
60
55
|
return entry[sortKey].toLowerCase();
|
|
61
56
|
}
|
|
62
57
|
return entry[sortKey];
|
|
@@ -67,12 +62,9 @@ function useSortableEntries(entries, idName, _ref) {
|
|
|
67
62
|
const sortedKeys = React.useMemo(() => sortedEntries.map(ent => (0, _get.default)(ent, idName)), [sortedEntries]);
|
|
68
63
|
return {
|
|
69
64
|
sortedEntries,
|
|
70
|
-
|
|
71
|
-
sortedKeys,
|
|
65
|
+
sortedKeys: sortedKeys,
|
|
72
66
|
sortDirection,
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
// @ts-ignore - TS2322 - Type '(nextSortKey: string) => void' is not assignable to type '(sortKey: keyof T) => unknown'.
|
|
76
|
-
handleSortClick
|
|
67
|
+
sortKey: sortKey,
|
|
68
|
+
handleSortClick: handleSortClick
|
|
77
69
|
};
|
|
78
70
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { Flow } from 'flow-to-typescript-codemod';
|
|
3
3
|
import type { IconType } from '../../Icon';
|
|
4
|
+
import type { ElevationType } from '../../Tooltip';
|
|
4
5
|
type ClassNames = Readonly<{
|
|
5
6
|
wrapper?: string;
|
|
6
7
|
iconTextWrap?: string;
|
|
@@ -11,7 +12,7 @@ export declare const TAB_SIZE: Readonly<{
|
|
|
11
12
|
}>;
|
|
12
13
|
export declare const tabSizeOptions: Array<unknown>;
|
|
13
14
|
export type TabSize = keyof typeof TAB_SIZE;
|
|
14
|
-
export
|
|
15
|
+
export interface TabProps {
|
|
15
16
|
classNames?: ClassNames;
|
|
16
17
|
onSelect?: (arg1: {
|
|
17
18
|
tabId?: string;
|
|
@@ -27,9 +28,10 @@ export type TabProps = {
|
|
|
27
28
|
label?: string;
|
|
28
29
|
iconName?: string;
|
|
29
30
|
iconType?: IconType;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
maxWidth?: string;
|
|
32
|
+
elevation?: ElevationType;
|
|
33
|
+
onClick?: (e: React.SyntheticEvent<HTMLElement>) => unknown;
|
|
34
|
+
}
|
|
33
35
|
export declare const Tab: Flow.AbstractComponent<TabProps, HTMLButtonElement>;
|
|
34
36
|
export {};
|
|
35
37
|
//# sourceMappingURL=Tab.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tab.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/Tab/Tab.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAC,IAAI,EAAC,MAAM,4BAA4B,CAAC;AAKrD,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"Tab.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/Tab/Tab.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAC,IAAI,EAAC,MAAM,4BAA4B,CAAC;AAKrD,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,YAAY,CAAC;AAGzC,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,eAAe,CAAC;AAMjD,KAAK,UAAU,GAAG,QAAQ,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CAAC,CAAC;AAEH,eAAO,MAAM,QAAQ;;;EAGnB,CAAC;AAEH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,OAAO,CAA8B,CAAC;AAEzE,MAAM,MAAM,OAAO,GAAG,MAAM,OAAO,QAAQ,CAAC;AAE5C,MAAM,WAAW,QAAQ;IACvB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE;QAAC,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAA;KAAC,KAAK,OAAO,CAAC;IAC/D,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,WAAW,CAAC,EAAE;QACZ,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,KAAK,OAAO,CAAC;CAC7D;AAED,eAAO,MAAM,GAAG,EAAE,IAAI,CAAC,iBAAiB,CAAC,QAAQ,EAAE,iBAAiB,CAqHjE,CAAC"}
|
|
@@ -10,6 +10,7 @@ var _classify = require("../../../utils/classify");
|
|
|
10
10
|
var _Button = require("../../Button");
|
|
11
11
|
var _Icon = require("../../Icon");
|
|
12
12
|
var _Text = require("../../Text");
|
|
13
|
+
var _TruncatedTextWithTooltip = require("../../TruncatedTextWithTooltip");
|
|
13
14
|
var _TabModule = _interopRequireDefault(require("./Tab.module.css"));
|
|
14
15
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
15
16
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
@@ -31,22 +32,21 @@ const Tab = exports.Tab = /*#__PURE__*/React.forwardRef((_ref, forwardRef) => {
|
|
|
31
32
|
iconName,
|
|
32
33
|
iconType,
|
|
33
34
|
onClick,
|
|
34
|
-
|
|
35
|
+
maxWidth,
|
|
36
|
+
elevation,
|
|
35
37
|
...props
|
|
36
38
|
} = _ref;
|
|
37
39
|
const tabRef = React.useRef(null);
|
|
38
|
-
// @ts-ignore - TS2322 - Type 'null' is not assignable to type 'HTMLButtonElement'.
|
|
39
40
|
React.useImperativeHandle(forwardRef, () => tabRef.current);
|
|
40
41
|
const selected = tabId && tabId === selectedTab?.tabId;
|
|
41
42
|
const onClickHandler = e => {
|
|
42
43
|
if (!disabled) {
|
|
43
44
|
e.preventDefault();
|
|
44
|
-
onSelect
|
|
45
|
+
onSelect?.({
|
|
45
46
|
tabId,
|
|
46
47
|
label
|
|
47
48
|
});
|
|
48
|
-
onClick
|
|
49
|
-
// @ts-ignore - TS2339 - Property 'blur' does not exist on type 'never'.
|
|
49
|
+
onClick?.(e);
|
|
50
50
|
tabRef.current?.blur();
|
|
51
51
|
}
|
|
52
52
|
};
|
|
@@ -60,7 +60,7 @@ const Tab = exports.Tab = /*#__PURE__*/React.forwardRef((_ref, forwardRef) => {
|
|
|
60
60
|
}, classNames?.wrapper),
|
|
61
61
|
onClick: onClickHandler,
|
|
62
62
|
style: {
|
|
63
|
-
|
|
63
|
+
maxWidth
|
|
64
64
|
},
|
|
65
65
|
tabIndex: disabled ? -1 : 0,
|
|
66
66
|
ref: tabRef
|
|
@@ -81,12 +81,32 @@ const Tab = exports.Tab = /*#__PURE__*/React.forwardRef((_ref, forwardRef) => {
|
|
|
81
81
|
className: (0, _classify.classify)(_TabModule.default.tabContainer, {
|
|
82
82
|
[_TabModule.default.disabled]: disabled === true
|
|
83
83
|
})
|
|
84
|
-
},
|
|
84
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
85
|
+
style: {
|
|
86
|
+
maxWidth
|
|
87
|
+
}
|
|
88
|
+
}, /*#__PURE__*/React.createElement(_TruncatedTextWithTooltip.TruncatedTextWithTooltip, {
|
|
89
|
+
line: 1,
|
|
90
|
+
tooltip: {
|
|
91
|
+
body: label,
|
|
92
|
+
elevation
|
|
93
|
+
}
|
|
94
|
+
}, label))) : /*#__PURE__*/React.createElement(_Text.ButtonTextSmall, {
|
|
85
95
|
color: _typography.TEXT_COLORS.secondary,
|
|
86
96
|
className: (0, _classify.classify)(_TabModule.default.tabContainer, {
|
|
87
97
|
[_TabModule.default.selected]: selected === true,
|
|
88
98
|
[_TabModule.default.disabled]: disabled === true
|
|
89
99
|
})
|
|
90
|
-
},
|
|
100
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
101
|
+
style: {
|
|
102
|
+
maxWidth
|
|
103
|
+
}
|
|
104
|
+
}, /*#__PURE__*/React.createElement(_TruncatedTextWithTooltip.TruncatedTextWithTooltip, {
|
|
105
|
+
line: 1,
|
|
106
|
+
tooltip: {
|
|
107
|
+
body: label,
|
|
108
|
+
elevation
|
|
109
|
+
}
|
|
110
|
+
}, label))))));
|
|
91
111
|
});
|
|
92
112
|
Tab.displayName = 'Tab';
|
|
@@ -6,7 +6,7 @@ import type { TabProps } from '../Tab';
|
|
|
6
6
|
type ClassNames = Readonly<{
|
|
7
7
|
wrapper?: string;
|
|
8
8
|
}>;
|
|
9
|
-
export
|
|
9
|
+
export interface TabDropdownProps {
|
|
10
10
|
anchorPosition?: AnchorType;
|
|
11
11
|
size?: 'medium' | 'small';
|
|
12
12
|
props?: {
|
|
@@ -18,7 +18,7 @@ export type TabDropdownProps = {
|
|
|
18
18
|
selected?: boolean;
|
|
19
19
|
disabled?: boolean;
|
|
20
20
|
elevation?: ElevationType;
|
|
21
|
-
}
|
|
21
|
+
}
|
|
22
22
|
export declare const TabDropdown: ({ anchorPosition, size, onOptionSelect, props, elevation, classNames, }: TabDropdownProps) => React.JSX.Element;
|
|
23
23
|
export {};
|
|
24
24
|
//# sourceMappingURL=TabDropdown.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TabDropdown.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/TabList/TabDropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAe/B,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,sBAAsB,CAAC;AACrD,OAAO,KAAK,EAAC,UAAU,EAAE,SAAS,EAAC,MAAM,YAAY,CAAC;AAEtD,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,eAAe,CAAC;AAEjD,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,QAAQ,CAAC;AAMrC,KAAK,UAAU,GAAG,QAAQ,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC,CAAC;AAEH,MAAM,
|
|
1
|
+
{"version":3,"file":"TabDropdown.d.ts","sourceRoot":"","sources":["../../../../src/components/Tabs/TabList/TabDropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAe/B,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,sBAAsB,CAAC;AACrD,OAAO,KAAK,EAAC,UAAU,EAAE,SAAS,EAAC,MAAM,YAAY,CAAC;AAEtD,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,eAAe,CAAC;AAEjD,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,QAAQ,CAAC;AAMrC,KAAK,UAAU,GAAG,QAAQ,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC,CAAC;AAEH,MAAM,WAAW,gBAAgB;IAC/B,cAAc,CAAC,EAAE,UAAU,CAAC;IAC5B,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC;IAC1B,KAAK,CAAC,EAAE;QACN,GAAG,EAAE,QAAQ,CAAC;QACd,IAAI,EAAE,SAAS,CAAC;KACjB,CAAC;IACF,cAAc,CAAC,EAAE,CACf,MAAM,EAAE,UAAU,EAClB,IAAI,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,GAAG,SAAS,KACxD,OAAO,CAAC;IACb,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,aAAa,CAAC;CAC3B;AAED,eAAO,MAAM,WAAW,GAAI,yEAOzB,gBAAgB,sBAgElB,CAAC"}
|