@itwin/itwinui-react 3.0.0-dev.9 → 3.0.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/CHANGELOG.md +80 -768
- package/README.md +5 -7
- package/cjs/core/Alert/Alert.d.ts +1 -1
- package/cjs/core/Alert/Alert.js +4 -3
- package/cjs/core/Avatar/Avatar.js +2 -1
- package/cjs/core/Breadcrumbs/Breadcrumbs.js +23 -6
- package/cjs/core/ButtonGroup/ButtonGroup.js +6 -8
- package/cjs/core/Buttons/{Button/Button.d.ts → Button.d.ts} +2 -2
- package/cjs/core/Buttons/{Button/Button.js → Button.js} +1 -1
- package/{esm/core/Buttons/DropdownButton → cjs/core/Buttons}/DropdownButton.d.ts +3 -3
- package/cjs/core/Buttons/{DropdownButton/DropdownButton.js → DropdownButton.js} +7 -7
- package/{esm/core/Buttons/IconButton → cjs/core/Buttons}/IconButton.d.ts +2 -2
- package/cjs/core/Buttons/{IconButton/IconButton.js → IconButton.js} +6 -3
- package/{esm/core/Buttons/IdeasButton → cjs/core/Buttons}/IdeasButton.d.ts +1 -1
- package/cjs/core/Buttons/{IdeasButton/IdeasButton.js → IdeasButton.js} +3 -3
- package/cjs/core/Buttons/{SplitButton/SplitButton.d.ts → SplitButton.d.ts} +3 -3
- package/cjs/core/Buttons/{SplitButton/SplitButton.js → SplitButton.js} +14 -13
- package/cjs/core/Carousel/Carousel.d.ts +14 -7
- package/cjs/core/Carousel/Carousel.js +9 -39
- package/cjs/core/Carousel/CarouselContext.d.ts +0 -4
- package/cjs/core/Carousel/CarouselDot.js +1 -1
- package/cjs/core/Carousel/CarouselDotsList.js +26 -2
- package/cjs/core/Carousel/CarouselNavigation.d.ts +3 -3
- package/cjs/core/Carousel/CarouselNavigation.js +13 -26
- package/cjs/core/Carousel/CarouselSlide.d.ts +1 -1
- package/cjs/core/Carousel/CarouselSlide.js +12 -2
- package/cjs/core/Carousel/CarouselSlider.d.ts +1 -1
- package/cjs/core/Carousel/CarouselSlider.js +2 -2
- package/cjs/core/Checkbox/Checkbox.js +7 -7
- package/cjs/core/ColorPicker/ColorBuilder.js +5 -3
- package/cjs/core/ColorPicker/ColorInputPanel.js +50 -30
- package/cjs/core/ColorPicker/ColorPalette.js +2 -80
- package/cjs/core/ColorPicker/ColorPicker.d.ts +9 -0
- package/cjs/core/ColorPicker/ColorPicker.js +6 -1
- package/cjs/core/ColorPicker/ColorSwatch.d.ts +1 -1
- package/cjs/core/ColorPicker/ColorSwatch.js +25 -15
- package/cjs/core/ComboBox/ComboBox.d.ts +6 -1
- package/cjs/core/ComboBox/ComboBox.js +19 -18
- package/cjs/core/ComboBox/ComboBoxEndIcon.js +2 -1
- package/cjs/core/ComboBox/ComboBoxInput.d.ts +1 -1
- package/cjs/core/ComboBox/ComboBoxInput.js +10 -10
- package/cjs/core/ComboBox/ComboBoxInputContainer.js +6 -6
- package/cjs/core/ComboBox/ComboBoxMenu.d.ts +1 -1
- package/cjs/core/ComboBox/ComboBoxMenu.js +12 -14
- package/cjs/core/ComboBox/helpers.d.ts +1 -1
- package/cjs/core/DatePicker/DatePicker.d.ts +9 -0
- package/cjs/core/DatePicker/DatePicker.js +13 -8
- package/cjs/core/Dialog/DialogBackdrop.js +4 -4
- package/cjs/core/Dialog/DialogTitleBar.js +2 -2
- package/cjs/core/{utils/components → Divider}/Divider.d.ts +1 -1
- package/cjs/core/{utils/components → Divider}/Divider.js +1 -1
- package/cjs/core/DropdownMenu/DropdownMenu.d.ts +2 -2
- package/cjs/core/DropdownMenu/DropdownMenu.js +4 -3
- package/cjs/core/ExpandableBlock/ExpandableBlock.d.ts +1 -1
- package/cjs/core/ExpandableBlock/ExpandableBlock.js +3 -2
- package/cjs/core/FileUpload/FileUploadCard.js +3 -2
- package/cjs/core/FileUpload/FileUploadTemplate.js +1 -1
- package/cjs/core/{utils/components → Flex}/Flex.d.ts +2 -2
- package/cjs/core/{utils/components → Flex}/Flex.js +1 -1
- package/cjs/core/Header/Header.js +11 -11
- package/cjs/core/Header/HeaderBasicButton.d.ts +1 -1
- package/cjs/core/Header/HeaderButton.d.ts +2 -2
- package/cjs/core/Header/HeaderDropdownButton.d.ts +1 -1
- package/cjs/core/Header/HeaderDropdownButton.js +6 -6
- package/cjs/core/Header/HeaderSplitButton.d.ts +1 -1
- package/cjs/core/Header/HeaderSplitButton.js +7 -7
- package/{esm/core/utils/components → cjs/core/Icon}/Icon.d.ts +2 -2
- package/cjs/core/{utils/components → Icon}/Icon.js +1 -1
- package/cjs/core/InformationPanel/InformationPanelHeader.js +7 -7
- package/cjs/core/Input/Input.d.ts +0 -1
- package/cjs/core/Input/Input.js +0 -1
- package/cjs/core/InputGroup/InputGroup.d.ts +1 -1
- package/cjs/core/InputGroup/InputGroup.js +6 -6
- package/cjs/core/InputWithDecorations/InputWithDecorations.d.ts +1 -1
- package/cjs/core/InputWithDecorations/InputWithDecorations.js +2 -2
- package/cjs/core/LabeledInput/LabeledInput.d.ts +4 -4
- package/cjs/core/LabeledInput/LabeledInput.js +11 -13
- package/cjs/core/LabeledSelect/LabeledSelect.d.ts +2 -2
- package/cjs/core/LabeledSelect/LabeledSelect.js +10 -9
- package/cjs/core/LabeledTextarea/LabeledTextarea.d.ts +1 -1
- package/cjs/core/LabeledTextarea/LabeledTextarea.js +2 -2
- package/{esm/core/utils/components → cjs/core/LinkAction}/LinkAction.d.ts +2 -2
- package/cjs/core/{utils/components → LinkAction}/LinkAction.js +1 -1
- package/cjs/core/Menu/MenuItem.js +2 -1
- package/cjs/core/Menu/MenuItemSkeleton.js +2 -1
- package/cjs/core/Modal/Modal.js +5 -5
- package/cjs/core/NonIdealState/ErrorPage.js +17 -15
- package/cjs/core/{utils/components → Popover}/Popover.d.ts +29 -13
- package/cjs/core/{utils/components → Popover}/Popover.js +43 -25
- package/cjs/core/RadioTiles/RadioTileGroup.d.ts +1 -1
- package/cjs/core/RadioTiles/RadioTileGroup.js +4 -4
- package/cjs/core/SearchBox/SearchBox.d.ts +3 -2
- package/cjs/core/SearchBox/SearchBox.js +4 -3
- package/cjs/core/Select/Select.d.ts +2 -2
- package/cjs/core/Select/Select.js +39 -30
- package/cjs/core/Select/SelectTagContainer.js +2 -2
- package/cjs/core/SideNavigation/SideNavigation.js +5 -5
- package/cjs/core/SideNavigation/SidenavButton.d.ts +1 -1
- package/cjs/core/SideNavigation/SidenavButton.js +2 -2
- package/cjs/core/Slider/Slider.d.ts +3 -7
- package/cjs/core/Slider/Slider.js +8 -22
- package/cjs/core/Slider/Thumb.d.ts +2 -3
- package/cjs/core/Slider/Thumb.js +5 -9
- package/cjs/core/StatusMessage/StatusMessage.d.ts +1 -1
- package/cjs/core/StatusMessage/StatusMessage.js +2 -1
- package/cjs/core/Stepper/StepperStep.js +7 -7
- package/cjs/core/Stepper/WorkflowDiagramStep.js +5 -5
- package/cjs/core/Surface/Surface.d.ts +8 -0
- package/cjs/core/Surface/Surface.js +19 -1
- package/cjs/core/Table/SubRowExpander.d.ts +1 -1
- package/cjs/core/Table/SubRowExpander.js +2 -2
- package/cjs/core/Table/Table.d.ts +1 -1
- package/cjs/core/Table/Table.js +53 -60
- package/cjs/core/Table/TableCell.d.ts +1 -1
- package/cjs/core/Table/TablePaginator.js +27 -25
- package/cjs/core/Table/TableRowMemoized.d.ts +1 -1
- package/cjs/core/Table/actionHandlers/expandHandler.d.ts +1 -1
- package/cjs/core/Table/actionHandlers/filterHandler.d.ts +1 -1
- package/cjs/core/Table/actionHandlers/resizeHandler.d.ts +17 -17
- package/cjs/core/Table/actionHandlers/selectHandler.d.ts +8 -8
- package/cjs/core/Table/cells/DefaultCell.d.ts +1 -1
- package/cjs/core/Table/cells/EditableCell.d.ts +1 -1
- package/cjs/core/Table/columns/actionColumn.d.ts +2 -2
- package/cjs/core/Table/columns/actionColumn.js +10 -15
- package/cjs/core/Table/columns/expanderColumn.d.ts +1 -1
- package/cjs/core/Table/columns/expanderColumn.js +5 -4
- package/cjs/core/Table/columns/selectionColumn.d.ts +1 -1
- package/cjs/core/Table/columns/selectionColumn.js +5 -5
- package/cjs/core/Table/filters/DateRangeFilter/DatePickerInput.d.ts +1 -1
- package/cjs/core/Table/filters/DateRangeFilter/DatePickerInput.js +25 -19
- package/cjs/core/Table/filters/FilterButtonBar.js +3 -3
- package/cjs/core/Table/filters/FilterToggle.d.ts +1 -1
- package/cjs/core/Table/filters/FilterToggle.js +5 -3
- package/cjs/core/Table/filters/NumberRangeFilter/NumberRangeFilter.js +3 -3
- package/cjs/core/Table/filters/TextFilter/TextFilter.js +2 -2
- package/cjs/core/Table/filters/customFilterFunctions.d.ts +1 -1
- package/cjs/core/Table/filters/defaultFilterFunctions.d.ts +1 -1
- package/cjs/core/Table/filters/types.d.ts +2 -19
- package/cjs/core/Table/hooks/useColumnDragAndDrop.d.ts +1 -1
- package/cjs/core/Table/hooks/useExpanderCell.d.ts +1 -1
- package/cjs/core/Table/hooks/useResizeColumns.d.ts +1 -1
- package/cjs/core/Table/hooks/useScrollToRow.d.ts +1 -1
- package/cjs/core/Table/hooks/useScrollToRow.js +1 -1
- package/cjs/core/Table/hooks/useSelectionCell.d.ts +1 -1
- package/cjs/core/Table/hooks/useStickyColumns.d.ts +1 -1
- package/cjs/core/Table/hooks/useSubRowFiltering.d.ts +1 -1
- package/cjs/core/Table/hooks/useSubRowSelection.d.ts +1 -1
- package/cjs/core/Table/index.d.ts +1 -1
- package/cjs/core/Table/utils.d.ts +1 -1
- package/cjs/core/Tabs/Tabs.d.ts +222 -52
- package/cjs/core/Tabs/Tabs.js +429 -375
- package/cjs/core/Tag/Tag.js +2 -2
- package/cjs/core/Textarea/Textarea.js +2 -2
- package/cjs/core/ThemeProvider/ThemeProvider.d.ts +3 -2
- package/cjs/core/ThemeProvider/ThemeProvider.js +17 -8
- package/cjs/core/Tile/Tile.d.ts +2 -2
- package/cjs/core/Tile/Tile.js +20 -18
- package/cjs/core/Toast/Toast.js +2 -2
- package/cjs/core/TransferList/TransferList.d.ts +1 -1
- package/cjs/core/TransferList/TransferList.js +6 -5
- package/cjs/core/Tree/TreeNodeExpander.d.ts +1 -1
- package/cjs/core/Tree/TreeNodeExpander.js +2 -2
- package/{esm/core/Typography/Anchor → cjs/core/Typography}/Anchor.d.ts +1 -1
- package/cjs/core/Typography/{Anchor/Anchor.js → Anchor.js} +1 -1
- package/{esm/core/Typography/Blockquote → cjs/core/Typography}/Blockquote.d.ts +1 -1
- package/cjs/core/Typography/{Blockquote/Blockquote.js → Blockquote.js} +1 -1
- package/cjs/core/Typography/{Code/Code.d.ts → Code.d.ts} +1 -1
- package/cjs/core/Typography/{Code/Code.js → Code.js} +1 -1
- package/{esm/core/Typography/Kbd → cjs/core/Typography}/Kbd.d.ts +1 -1
- package/cjs/core/Typography/{Kbd/Kbd.js → Kbd.js} +1 -1
- package/{esm/core/Typography/Text → cjs/core/Typography}/Text.d.ts +1 -1
- package/cjs/core/Typography/{Text/Text.js → Text.js} +1 -1
- package/{esm/core/utils/components → cjs/core/VisuallyHidden}/VisuallyHidden.d.ts +1 -1
- package/cjs/core/{utils/components → VisuallyHidden}/VisuallyHidden.js +1 -1
- package/cjs/core/utils/components/AutoclearingHiddenLiveRegion.js +1 -1
- package/cjs/core/utils/components/InputContainer.js +4 -4
- package/cjs/core/utils/components/WithCSSTransition.js +7 -1
- package/cjs/core/utils/components/index.d.ts +0 -6
- package/cjs/core/utils/components/index.js +0 -6
- package/cjs/core/utils/functions/dev.d.ts +11 -0
- package/cjs/core/utils/functions/dev.js +34 -0
- package/cjs/core/utils/functions/index.d.ts +1 -0
- package/cjs/core/utils/functions/index.js +1 -0
- package/cjs/core/utils/hooks/useGlobals.d.ts +1 -1
- package/cjs/core/utils/hooks/useGlobals.js +3 -7
- package/cjs/core/utils/hooks/useOverflow.js +3 -1
- package/cjs/index.d.ts +112 -2
- package/cjs/index.js +950 -5
- package/cjs/react-table/react-table.d.ts +745 -0
- package/cjs/{core/Badge/index.js → react-table/react-table.js} +5 -10
- package/cjs/styles.js +15 -15
- package/esm/core/Alert/Alert.d.ts +1 -1
- package/esm/core/Alert/Alert.js +2 -2
- package/esm/core/Avatar/Avatar.js +2 -6
- package/esm/core/Breadcrumbs/Breadcrumbs.js +24 -6
- package/esm/core/ButtonGroup/ButtonGroup.js +6 -8
- package/esm/core/Buttons/{Button/Button.d.ts → Button.d.ts} +2 -2
- package/esm/core/Buttons/{Button/Button.js → Button.js} +1 -1
- package/{cjs/core/Buttons/DropdownButton → esm/core/Buttons}/DropdownButton.d.ts +3 -3
- package/esm/core/Buttons/{DropdownButton/DropdownButton.js → DropdownButton.js} +3 -3
- package/{cjs/core/Buttons/IconButton → esm/core/Buttons}/IconButton.d.ts +2 -2
- package/esm/core/Buttons/{IconButton/IconButton.js → IconButton.js} +3 -2
- package/{cjs/core/Buttons/IdeasButton → esm/core/Buttons}/IdeasButton.d.ts +1 -1
- package/esm/core/Buttons/{IdeasButton/IdeasButton.js → IdeasButton.js} +2 -2
- package/esm/core/Buttons/{SplitButton/SplitButton.d.ts → SplitButton.d.ts} +3 -3
- package/esm/core/Buttons/{SplitButton/SplitButton.js → SplitButton.js} +5 -5
- package/esm/core/Carousel/Carousel.d.ts +14 -7
- package/esm/core/Carousel/Carousel.js +9 -39
- package/esm/core/Carousel/CarouselContext.d.ts +0 -4
- package/esm/core/Carousel/CarouselDot.js +1 -1
- package/esm/core/Carousel/CarouselDotsList.js +26 -2
- package/esm/core/Carousel/CarouselNavigation.d.ts +3 -3
- package/esm/core/Carousel/CarouselNavigation.js +6 -23
- package/esm/core/Carousel/CarouselSlide.d.ts +1 -1
- package/esm/core/Carousel/CarouselSlide.js +15 -3
- package/esm/core/Carousel/CarouselSlider.d.ts +1 -1
- package/esm/core/Carousel/CarouselSlider.js +2 -2
- package/esm/core/Checkbox/Checkbox.js +1 -1
- package/esm/core/ColorPicker/ColorBuilder.js +3 -1
- package/esm/core/ColorPicker/ColorInputPanel.js +27 -7
- package/esm/core/ColorPicker/ColorPalette.js +3 -83
- package/esm/core/ColorPicker/ColorPicker.d.ts +9 -0
- package/esm/core/ColorPicker/ColorPicker.js +6 -1
- package/esm/core/ColorPicker/ColorSwatch.d.ts +1 -1
- package/esm/core/ColorPicker/ColorSwatch.js +18 -12
- package/esm/core/ComboBox/ComboBox.d.ts +6 -1
- package/esm/core/ComboBox/ComboBox.js +6 -4
- package/esm/core/ComboBox/ComboBoxEndIcon.js +2 -1
- package/esm/core/ComboBox/ComboBoxInput.d.ts +1 -1
- package/esm/core/ComboBox/ComboBoxInput.js +1 -1
- package/esm/core/ComboBox/ComboBoxInputContainer.js +1 -1
- package/esm/core/ComboBox/ComboBoxMenu.d.ts +1 -1
- package/esm/core/ComboBox/ComboBoxMenu.js +2 -4
- package/esm/core/ComboBox/helpers.d.ts +1 -1
- package/esm/core/DatePicker/DatePicker.d.ts +9 -0
- package/esm/core/DatePicker/DatePicker.js +12 -3
- package/esm/core/Dialog/DialogBackdrop.js +1 -1
- package/esm/core/Dialog/DialogTitleBar.js +1 -1
- package/esm/core/{utils/components → Divider}/Divider.d.ts +1 -1
- package/esm/core/{utils/components → Divider}/Divider.js +1 -1
- package/esm/core/DropdownMenu/DropdownMenu.d.ts +2 -2
- package/esm/core/DropdownMenu/DropdownMenu.js +2 -3
- package/esm/core/ExpandableBlock/ExpandableBlock.d.ts +1 -1
- package/esm/core/ExpandableBlock/ExpandableBlock.js +1 -1
- package/esm/core/FileUpload/FileUploadCard.js +2 -2
- package/esm/core/FileUpload/FileUploadTemplate.js +1 -1
- package/esm/core/{utils/components → Flex}/Flex.d.ts +2 -2
- package/esm/core/{utils/components → Flex}/Flex.js +1 -1
- package/esm/core/Header/Header.js +2 -2
- package/esm/core/Header/HeaderBasicButton.d.ts +1 -1
- package/esm/core/Header/HeaderButton.d.ts +2 -2
- package/esm/core/Header/HeaderDropdownButton.d.ts +1 -1
- package/esm/core/Header/HeaderDropdownButton.js +1 -1
- package/esm/core/Header/HeaderSplitButton.d.ts +1 -1
- package/esm/core/Header/HeaderSplitButton.js +1 -1
- package/{cjs/core/utils/components → esm/core/Icon}/Icon.d.ts +2 -2
- package/esm/core/{utils/components → Icon}/Icon.js +1 -1
- package/esm/core/InformationPanel/InformationPanelHeader.js +1 -1
- package/esm/core/Input/Input.d.ts +0 -1
- package/esm/core/Input/Input.js +0 -1
- package/esm/core/InputGroup/InputGroup.d.ts +1 -1
- package/esm/core/InputGroup/InputGroup.js +3 -3
- package/esm/core/InputWithDecorations/InputWithDecorations.d.ts +1 -1
- package/esm/core/InputWithDecorations/InputWithDecorations.js +1 -1
- package/esm/core/LabeledInput/LabeledInput.d.ts +4 -4
- package/esm/core/LabeledInput/LabeledInput.js +5 -4
- package/esm/core/LabeledSelect/LabeledSelect.d.ts +2 -2
- package/esm/core/LabeledSelect/LabeledSelect.js +6 -4
- package/esm/core/LabeledTextarea/LabeledTextarea.d.ts +1 -1
- package/esm/core/LabeledTextarea/LabeledTextarea.js +2 -2
- package/{cjs/core/utils/components → esm/core/LinkAction}/LinkAction.d.ts +2 -2
- package/esm/core/{utils/components → LinkAction}/LinkAction.js +1 -1
- package/esm/core/Menu/MenuItem.js +1 -1
- package/esm/core/Menu/MenuItemSkeleton.js +2 -1
- package/esm/core/Modal/Modal.js +1 -1
- package/esm/core/NonIdealState/ErrorPage.js +2 -2
- package/esm/core/{utils/components → Popover}/Popover.d.ts +29 -13
- package/esm/core/{utils/components → Popover}/Popover.js +45 -25
- package/esm/core/RadioTiles/RadioTileGroup.d.ts +1 -1
- package/esm/core/RadioTiles/RadioTileGroup.js +1 -1
- package/esm/core/SearchBox/SearchBox.d.ts +3 -2
- package/esm/core/SearchBox/SearchBox.js +2 -2
- package/esm/core/Select/Select.d.ts +2 -2
- package/esm/core/Select/Select.js +17 -10
- package/esm/core/Select/SelectTagContainer.js +1 -1
- package/esm/core/SideNavigation/SideNavigation.js +2 -2
- package/esm/core/SideNavigation/SidenavButton.d.ts +1 -1
- package/esm/core/SideNavigation/SidenavButton.js +1 -1
- package/esm/core/Slider/Slider.d.ts +3 -7
- package/esm/core/Slider/Slider.js +8 -19
- package/esm/core/Slider/Thumb.d.ts +2 -3
- package/esm/core/Slider/Thumb.js +2 -6
- package/esm/core/StatusMessage/StatusMessage.d.ts +1 -1
- package/esm/core/StatusMessage/StatusMessage.js +2 -1
- package/esm/core/Stepper/StepperStep.js +1 -1
- package/esm/core/Stepper/WorkflowDiagramStep.js +1 -1
- package/esm/core/Surface/Surface.d.ts +8 -0
- package/esm/core/Surface/Surface.js +19 -1
- package/esm/core/Table/SubRowExpander.d.ts +1 -1
- package/esm/core/Table/SubRowExpander.js +1 -1
- package/esm/core/Table/Table.d.ts +1 -1
- package/esm/core/Table/Table.js +7 -13
- package/esm/core/Table/TableCell.d.ts +1 -1
- package/esm/core/Table/TablePaginator.js +5 -3
- package/esm/core/Table/TableRowMemoized.d.ts +1 -1
- package/esm/core/Table/actionHandlers/expandHandler.d.ts +1 -1
- package/esm/core/Table/actionHandlers/filterHandler.d.ts +1 -1
- package/esm/core/Table/actionHandlers/resizeHandler.d.ts +17 -17
- package/esm/core/Table/actionHandlers/selectHandler.d.ts +8 -8
- package/esm/core/Table/cells/DefaultCell.d.ts +1 -1
- package/esm/core/Table/cells/EditableCell.d.ts +1 -1
- package/esm/core/Table/columns/actionColumn.d.ts +2 -2
- package/esm/core/Table/columns/actionColumn.js +4 -6
- package/esm/core/Table/columns/expanderColumn.d.ts +1 -1
- package/esm/core/Table/columns/expanderColumn.js +2 -1
- package/esm/core/Table/columns/selectionColumn.d.ts +1 -1
- package/esm/core/Table/columns/selectionColumn.js +1 -1
- package/esm/core/Table/filters/DateRangeFilter/DatePickerInput.d.ts +1 -1
- package/esm/core/Table/filters/DateRangeFilter/DatePickerInput.js +8 -5
- package/esm/core/Table/filters/FilterButtonBar.js +1 -1
- package/esm/core/Table/filters/FilterToggle.d.ts +1 -1
- package/esm/core/Table/filters/FilterToggle.js +4 -7
- package/esm/core/Table/filters/NumberRangeFilter/NumberRangeFilter.js +1 -1
- package/esm/core/Table/filters/TextFilter/TextFilter.js +1 -1
- package/esm/core/Table/filters/customFilterFunctions.d.ts +1 -1
- package/esm/core/Table/filters/defaultFilterFunctions.d.ts +1 -1
- package/esm/core/Table/filters/types.d.ts +2 -19
- package/esm/core/Table/hooks/useColumnDragAndDrop.d.ts +1 -1
- package/esm/core/Table/hooks/useExpanderCell.d.ts +1 -1
- package/esm/core/Table/hooks/useResizeColumns.d.ts +1 -1
- package/esm/core/Table/hooks/useScrollToRow.d.ts +1 -1
- package/esm/core/Table/hooks/useScrollToRow.js +1 -1
- package/esm/core/Table/hooks/useSelectionCell.d.ts +1 -1
- package/esm/core/Table/hooks/useStickyColumns.d.ts +1 -1
- package/esm/core/Table/hooks/useSubRowFiltering.d.ts +1 -1
- package/esm/core/Table/hooks/useSubRowSelection.d.ts +1 -1
- package/esm/core/Table/index.d.ts +1 -1
- package/esm/core/Table/utils.d.ts +1 -1
- package/esm/core/Tabs/Tabs.d.ts +222 -52
- package/esm/core/Tabs/Tabs.js +424 -368
- package/esm/core/Tag/Tag.js +1 -1
- package/esm/core/Textarea/Textarea.js +1 -1
- package/esm/core/ThemeProvider/ThemeProvider.d.ts +3 -2
- package/esm/core/ThemeProvider/ThemeProvider.js +17 -8
- package/esm/core/Tile/Tile.d.ts +2 -2
- package/esm/core/Tile/Tile.js +15 -14
- package/esm/core/Toast/Toast.js +1 -1
- package/esm/core/TransferList/TransferList.d.ts +1 -1
- package/esm/core/TransferList/TransferList.js +3 -2
- package/esm/core/Tree/TreeNodeExpander.d.ts +1 -1
- package/esm/core/Tree/TreeNodeExpander.js +1 -1
- package/{cjs/core/Typography/Anchor → esm/core/Typography}/Anchor.d.ts +1 -1
- package/esm/core/Typography/{Anchor/Anchor.js → Anchor.js} +1 -1
- package/{cjs/core/Typography/Blockquote → esm/core/Typography}/Blockquote.d.ts +1 -1
- package/esm/core/Typography/{Blockquote/Blockquote.js → Blockquote.js} +1 -1
- package/esm/core/Typography/{Code/Code.d.ts → Code.d.ts} +1 -1
- package/esm/core/Typography/{Code/Code.js → Code.js} +1 -1
- package/{cjs/core/Typography/Kbd → esm/core/Typography}/Kbd.d.ts +1 -1
- package/esm/core/Typography/{Kbd/Kbd.js → Kbd.js} +1 -1
- package/{cjs/core/Typography/Text → esm/core/Typography}/Text.d.ts +1 -1
- package/esm/core/Typography/{Text/Text.js → Text.js} +1 -1
- package/{cjs/core/utils/components → esm/core/VisuallyHidden}/VisuallyHidden.d.ts +1 -1
- package/esm/core/{utils/components → VisuallyHidden}/VisuallyHidden.js +1 -1
- package/esm/core/utils/components/AutoclearingHiddenLiveRegion.js +1 -1
- package/esm/core/utils/components/InputContainer.js +2 -2
- package/esm/core/utils/components/WithCSSTransition.js +7 -1
- package/esm/core/utils/components/index.d.ts +0 -6
- package/esm/core/utils/components/index.js +0 -6
- package/esm/core/utils/functions/dev.d.ts +11 -0
- package/esm/core/utils/functions/dev.js +29 -0
- package/esm/core/utils/functions/index.d.ts +1 -0
- package/esm/core/utils/functions/index.js +1 -0
- package/esm/core/utils/hooks/useGlobals.d.ts +1 -1
- package/esm/core/utils/hooks/useGlobals.js +1 -5
- package/esm/core/utils/hooks/useOverflow.js +3 -1
- package/esm/index.d.ts +112 -2
- package/esm/index.js +123 -2
- package/esm/react-table/react-table.d.ts +745 -0
- package/esm/{core/Backdrop/index.js → react-table/react-table.js} +5 -1
- package/esm/styles.js +15 -15
- package/package.json +22 -21
- package/react-table.d.ts +745 -0
- package/styles.css +57 -66
- package/cjs/core/Alert/index.d.ts +0 -3
- package/cjs/core/Alert/index.js +0 -15
- package/cjs/core/Avatar/index.d.ts +0 -3
- package/cjs/core/Avatar/index.js +0 -15
- package/cjs/core/AvatarGroup/index.d.ts +0 -3
- package/cjs/core/AvatarGroup/index.js +0 -15
- package/cjs/core/Backdrop/index.d.ts +0 -1
- package/cjs/core/Backdrop/index.js +0 -14
- package/cjs/core/Badge/index.d.ts +0 -3
- package/cjs/core/Breadcrumbs/index.d.ts +0 -3
- package/cjs/core/Breadcrumbs/index.js +0 -15
- package/cjs/core/ButtonGroup/index.d.ts +0 -3
- package/cjs/core/ButtonGroup/index.js +0 -15
- package/cjs/core/Buttons/Button/index.d.ts +0 -3
- package/cjs/core/Buttons/Button/index.js +0 -15
- package/cjs/core/Buttons/DropdownButton/index.d.ts +0 -3
- package/cjs/core/Buttons/DropdownButton/index.js +0 -15
- package/cjs/core/Buttons/IconButton/index.d.ts +0 -3
- package/cjs/core/Buttons/IconButton/index.js +0 -15
- package/cjs/core/Buttons/IdeasButton/index.d.ts +0 -3
- package/cjs/core/Buttons/IdeasButton/index.js +0 -15
- package/cjs/core/Buttons/SplitButton/index.d.ts +0 -3
- package/cjs/core/Buttons/SplitButton/index.js +0 -15
- package/cjs/core/Buttons/index.d.ts +0 -5
- package/cjs/core/Buttons/index.js +0 -47
- package/cjs/core/Carousel/index.d.ts +0 -3
- package/cjs/core/Carousel/index.js +0 -15
- package/cjs/core/Checkbox/index.d.ts +0 -3
- package/cjs/core/Checkbox/index.js +0 -15
- package/cjs/core/ColorPicker/index.d.ts +0 -7
- package/cjs/core/ColorPicker/index.js +0 -48
- package/cjs/core/ComboBox/index.d.ts +0 -3
- package/cjs/core/ComboBox/index.js +0 -15
- package/cjs/core/DatePicker/index.d.ts +0 -3
- package/cjs/core/DatePicker/index.js +0 -21
- package/cjs/core/Dialog/index.d.ts +0 -3
- package/cjs/core/Dialog/index.js +0 -15
- package/cjs/core/DropdownMenu/index.d.ts +0 -4
- package/cjs/core/DropdownMenu/index.js +0 -15
- package/cjs/core/ExpandableBlock/index.d.ts +0 -3
- package/cjs/core/ExpandableBlock/index.js +0 -15
- package/cjs/core/Fieldset/index.d.ts +0 -3
- package/cjs/core/Fieldset/index.js +0 -15
- package/cjs/core/FileUpload/index.d.ts +0 -6
- package/cjs/core/FileUpload/index.js +0 -40
- package/cjs/core/Footer/index.d.ts +0 -4
- package/cjs/core/Footer/index.js +0 -21
- package/cjs/core/Header/index.d.ts +0 -6
- package/cjs/core/Header/index.js +0 -40
- package/cjs/core/InformationPanel/index.d.ts +0 -7
- package/cjs/core/InformationPanel/index.js +0 -48
- package/cjs/core/Input/index.d.ts +0 -3
- package/cjs/core/Input/index.js +0 -15
- package/cjs/core/InputGrid/index.d.ts +0 -3
- package/cjs/core/InputGrid/index.js +0 -15
- package/cjs/core/InputGroup/index.d.ts +0 -3
- package/cjs/core/InputGroup/index.js +0 -15
- package/cjs/core/InputWithDecorations/index.d.ts +0 -3
- package/cjs/core/InputWithDecorations/index.js +0 -15
- package/cjs/core/Label/index.d.ts +0 -3
- package/cjs/core/Label/index.js +0 -15
- package/cjs/core/LabeledInput/index.d.ts +0 -3
- package/cjs/core/LabeledInput/index.js +0 -15
- package/cjs/core/LabeledSelect/index.d.ts +0 -3
- package/cjs/core/LabeledSelect/index.js +0 -15
- package/cjs/core/LabeledTextarea/index.d.ts +0 -3
- package/cjs/core/LabeledTextarea/index.js +0 -15
- package/cjs/core/List/index.d.ts +0 -2
- package/cjs/core/List/index.js +0 -21
- package/cjs/core/Menu/index.d.ts +0 -5
- package/cjs/core/Menu/index.js +0 -47
- package/cjs/core/Modal/index.d.ts +0 -5
- package/cjs/core/Modal/index.js +0 -29
- package/cjs/core/NonIdealState/index.d.ts +0 -5
- package/cjs/core/NonIdealState/index.js +0 -22
- package/cjs/core/NotificationMarker/index.d.ts +0 -3
- package/cjs/core/NotificationMarker/index.js +0 -15
- package/cjs/core/Overlay/index.d.ts +0 -1
- package/cjs/core/Overlay/index.js +0 -14
- package/cjs/core/ProgressIndicators/index.d.ts +0 -2
- package/cjs/core/ProgressIndicators/index.js +0 -21
- package/cjs/core/Radio/index.d.ts +0 -3
- package/cjs/core/Radio/index.js +0 -15
- package/cjs/core/RadioTiles/index.d.ts +0 -4
- package/cjs/core/RadioTiles/index.js +0 -22
- package/cjs/core/SearchBox/index.d.ts +0 -3
- package/cjs/core/SearchBox/index.js +0 -15
- package/cjs/core/Select/index.d.ts +0 -4
- package/cjs/core/Select/index.js +0 -15
- package/cjs/core/SideNavigation/index.d.ts +0 -6
- package/cjs/core/SideNavigation/index.js +0 -40
- package/cjs/core/SkipToContentLink/index.d.ts +0 -3
- package/cjs/core/SkipToContentLink/index.js +0 -15
- package/cjs/core/Slider/index.d.ts +0 -3
- package/cjs/core/Slider/index.js +0 -15
- package/cjs/core/StatusMessage/index.d.ts +0 -3
- package/cjs/core/StatusMessage/index.js +0 -15
- package/cjs/core/Stepper/index.d.ts +0 -3
- package/cjs/core/Stepper/index.js +0 -21
- package/cjs/core/Surface/index.d.ts +0 -3
- package/cjs/core/Surface/index.js +0 -15
- package/cjs/core/Tabs/Tab.d.ts +0 -40
- package/cjs/core/Tabs/Tab.js +0 -65
- package/cjs/core/Tabs/index.d.ts +0 -2
- package/cjs/core/Tabs/index.js +0 -21
- package/cjs/core/Tag/index.d.ts +0 -4
- package/cjs/core/Tag/index.js +0 -22
- package/cjs/core/Textarea/index.d.ts +0 -3
- package/cjs/core/Textarea/index.js +0 -15
- package/cjs/core/ThemeProvider/index.d.ts +0 -4
- package/cjs/core/ThemeProvider/index.js +0 -15
- package/cjs/core/Tile/index.d.ts +0 -3
- package/cjs/core/Tile/index.js +0 -15
- package/cjs/core/TimePicker/index.d.ts +0 -4
- package/cjs/core/TimePicker/index.js +0 -15
- package/cjs/core/Toast/index.d.ts +0 -1
- package/cjs/core/Toast/index.js +0 -14
- package/cjs/core/ToggleSwitch/index.d.ts +0 -3
- package/cjs/core/ToggleSwitch/index.js +0 -15
- package/cjs/core/Tooltip/index.d.ts +0 -3
- package/cjs/core/Tooltip/index.js +0 -15
- package/cjs/core/TransferList/index.d.ts +0 -3
- package/cjs/core/TransferList/index.js +0 -15
- package/cjs/core/Tree/index.d.ts +0 -4
- package/cjs/core/Tree/index.js +0 -28
- package/cjs/core/Typography/Anchor/index.d.ts +0 -3
- package/cjs/core/Typography/Anchor/index.js +0 -15
- package/cjs/core/Typography/Blockquote/index.d.ts +0 -3
- package/cjs/core/Typography/Blockquote/index.js +0 -15
- package/cjs/core/Typography/Code/index.d.ts +0 -3
- package/cjs/core/Typography/Code/index.js +0 -15
- package/cjs/core/Typography/Kbd/index.d.ts +0 -3
- package/cjs/core/Typography/Kbd/index.js +0 -21
- package/cjs/core/Typography/Text/index.d.ts +0 -3
- package/cjs/core/Typography/Text/index.js +0 -15
- package/cjs/core/Typography/index.d.ts +0 -5
- package/cjs/core/Typography/index.js +0 -54
- package/cjs/core/index.d.ts +0 -68
- package/cjs/core/index.js +0 -916
- package/cjs/types/react-table-config.d.ts +0 -135
- package/cjs/types/react-table-config.js +0 -2
- package/esm/core/Alert/index.d.ts +0 -3
- package/esm/core/Alert/index.js +0 -6
- package/esm/core/Avatar/index.d.ts +0 -3
- package/esm/core/Avatar/index.js +0 -6
- package/esm/core/AvatarGroup/index.d.ts +0 -3
- package/esm/core/AvatarGroup/index.js +0 -6
- package/esm/core/Backdrop/index.d.ts +0 -1
- package/esm/core/Badge/index.d.ts +0 -3
- package/esm/core/Badge/index.js +0 -6
- package/esm/core/Breadcrumbs/index.d.ts +0 -3
- package/esm/core/Breadcrumbs/index.js +0 -6
- package/esm/core/ButtonGroup/index.d.ts +0 -3
- package/esm/core/ButtonGroup/index.js +0 -6
- package/esm/core/Buttons/Button/index.d.ts +0 -3
- package/esm/core/Buttons/Button/index.js +0 -6
- package/esm/core/Buttons/DropdownButton/index.d.ts +0 -3
- package/esm/core/Buttons/DropdownButton/index.js +0 -6
- package/esm/core/Buttons/IconButton/index.d.ts +0 -3
- package/esm/core/Buttons/IconButton/index.js +0 -6
- package/esm/core/Buttons/IdeasButton/index.d.ts +0 -3
- package/esm/core/Buttons/IdeasButton/index.js +0 -6
- package/esm/core/Buttons/SplitButton/index.d.ts +0 -3
- package/esm/core/Buttons/SplitButton/index.js +0 -6
- package/esm/core/Buttons/index.d.ts +0 -5
- package/esm/core/Buttons/index.js +0 -9
- package/esm/core/Carousel/index.d.ts +0 -3
- package/esm/core/Carousel/index.js +0 -6
- package/esm/core/Checkbox/index.d.ts +0 -3
- package/esm/core/Checkbox/index.js +0 -6
- package/esm/core/ColorPicker/index.d.ts +0 -7
- package/esm/core/ColorPicker/index.js +0 -10
- package/esm/core/ComboBox/index.d.ts +0 -3
- package/esm/core/ComboBox/index.js +0 -6
- package/esm/core/DatePicker/index.d.ts +0 -3
- package/esm/core/DatePicker/index.js +0 -6
- package/esm/core/Dialog/index.d.ts +0 -3
- package/esm/core/Dialog/index.js +0 -6
- package/esm/core/DropdownMenu/index.d.ts +0 -4
- package/esm/core/DropdownMenu/index.js +0 -6
- package/esm/core/ExpandableBlock/index.d.ts +0 -3
- package/esm/core/ExpandableBlock/index.js +0 -6
- package/esm/core/Fieldset/index.d.ts +0 -3
- package/esm/core/Fieldset/index.js +0 -6
- package/esm/core/FileUpload/index.d.ts +0 -6
- package/esm/core/FileUpload/index.js +0 -9
- package/esm/core/Footer/index.d.ts +0 -4
- package/esm/core/Footer/index.js +0 -6
- package/esm/core/Header/index.d.ts +0 -6
- package/esm/core/Header/index.js +0 -9
- package/esm/core/InformationPanel/index.d.ts +0 -7
- package/esm/core/InformationPanel/index.js +0 -10
- package/esm/core/Input/index.d.ts +0 -3
- package/esm/core/Input/index.js +0 -6
- package/esm/core/InputGrid/index.d.ts +0 -3
- package/esm/core/InputGrid/index.js +0 -6
- package/esm/core/InputGroup/index.d.ts +0 -3
- package/esm/core/InputGroup/index.js +0 -6
- package/esm/core/InputWithDecorations/index.d.ts +0 -3
- package/esm/core/InputWithDecorations/index.js +0 -6
- package/esm/core/Label/index.d.ts +0 -3
- package/esm/core/Label/index.js +0 -6
- package/esm/core/LabeledInput/index.d.ts +0 -3
- package/esm/core/LabeledInput/index.js +0 -6
- package/esm/core/LabeledSelect/index.d.ts +0 -3
- package/esm/core/LabeledSelect/index.js +0 -6
- package/esm/core/LabeledTextarea/index.d.ts +0 -3
- package/esm/core/LabeledTextarea/index.js +0 -6
- package/esm/core/List/index.d.ts +0 -2
- package/esm/core/List/index.js +0 -6
- package/esm/core/Menu/index.d.ts +0 -5
- package/esm/core/Menu/index.js +0 -9
- package/esm/core/Modal/index.d.ts +0 -5
- package/esm/core/Modal/index.js +0 -8
- package/esm/core/NonIdealState/index.d.ts +0 -5
- package/esm/core/NonIdealState/index.js +0 -7
- package/esm/core/NotificationMarker/index.d.ts +0 -3
- package/esm/core/NotificationMarker/index.js +0 -6
- package/esm/core/Overlay/index.d.ts +0 -1
- package/esm/core/Overlay/index.js +0 -5
- package/esm/core/ProgressIndicators/index.d.ts +0 -2
- package/esm/core/ProgressIndicators/index.js +0 -6
- package/esm/core/Radio/index.d.ts +0 -3
- package/esm/core/Radio/index.js +0 -6
- package/esm/core/RadioTiles/index.d.ts +0 -4
- package/esm/core/RadioTiles/index.js +0 -7
- package/esm/core/SearchBox/index.d.ts +0 -3
- package/esm/core/SearchBox/index.js +0 -6
- package/esm/core/Select/index.d.ts +0 -4
- package/esm/core/Select/index.js +0 -6
- package/esm/core/SideNavigation/index.d.ts +0 -6
- package/esm/core/SideNavigation/index.js +0 -9
- package/esm/core/SkipToContentLink/index.d.ts +0 -3
- package/esm/core/SkipToContentLink/index.js +0 -6
- package/esm/core/Slider/index.d.ts +0 -3
- package/esm/core/Slider/index.js +0 -6
- package/esm/core/StatusMessage/index.d.ts +0 -3
- package/esm/core/StatusMessage/index.js +0 -6
- package/esm/core/Stepper/index.d.ts +0 -3
- package/esm/core/Stepper/index.js +0 -6
- package/esm/core/Surface/index.d.ts +0 -3
- package/esm/core/Surface/index.js +0 -6
- package/esm/core/Tabs/Tab.d.ts +0 -40
- package/esm/core/Tabs/Tab.js +0 -57
- package/esm/core/Tabs/index.d.ts +0 -2
- package/esm/core/Tabs/index.js +0 -6
- package/esm/core/Tag/index.d.ts +0 -4
- package/esm/core/Tag/index.js +0 -7
- package/esm/core/Textarea/index.d.ts +0 -3
- package/esm/core/Textarea/index.js +0 -6
- package/esm/core/ThemeProvider/index.d.ts +0 -4
- package/esm/core/ThemeProvider/index.js +0 -6
- package/esm/core/Tile/index.d.ts +0 -3
- package/esm/core/Tile/index.js +0 -6
- package/esm/core/TimePicker/index.d.ts +0 -4
- package/esm/core/TimePicker/index.js +0 -6
- package/esm/core/Toast/index.d.ts +0 -1
- package/esm/core/Toast/index.js +0 -5
- package/esm/core/ToggleSwitch/index.d.ts +0 -3
- package/esm/core/ToggleSwitch/index.js +0 -6
- package/esm/core/Tooltip/index.d.ts +0 -3
- package/esm/core/Tooltip/index.js +0 -6
- package/esm/core/TransferList/index.d.ts +0 -3
- package/esm/core/TransferList/index.js +0 -6
- package/esm/core/Tree/index.d.ts +0 -4
- package/esm/core/Tree/index.js +0 -7
- package/esm/core/Typography/Anchor/index.d.ts +0 -3
- package/esm/core/Typography/Anchor/index.js +0 -6
- package/esm/core/Typography/Blockquote/index.d.ts +0 -3
- package/esm/core/Typography/Blockquote/index.js +0 -6
- package/esm/core/Typography/Code/index.d.ts +0 -3
- package/esm/core/Typography/Code/index.js +0 -6
- package/esm/core/Typography/Kbd/index.d.ts +0 -3
- package/esm/core/Typography/Kbd/index.js +0 -6
- package/esm/core/Typography/Text/index.d.ts +0 -3
- package/esm/core/Typography/Text/index.js +0 -6
- package/esm/core/Typography/index.d.ts +0 -5
- package/esm/core/Typography/index.js +0 -9
- package/esm/core/index.d.ts +0 -68
- package/esm/core/index.js +0 -132
- package/esm/types/react-table-config.d.ts +0 -135
- package/esm/types/react-table-config.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import type { CellRendererProps } from 'react-table';
|
|
2
|
+
import type { CellRendererProps } from '../../../react-table/react-table.js';
|
|
3
3
|
export type EditableCellProps<T extends Record<string, unknown>> = CellRendererProps<T> & {
|
|
4
4
|
/**
|
|
5
5
|
* Callback function when cell is edited. It is called only when `onBlur` event is fired.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import type { HeaderProps } from 'react-table';
|
|
3
|
-
import type { DropdownMenuProps } from '../../DropdownMenu/
|
|
2
|
+
import type { HeaderProps } from '../../../react-table/react-table.js';
|
|
3
|
+
import type { DropdownMenuProps } from '../../DropdownMenu/DropdownMenu.js';
|
|
4
4
|
type ActionColumnProps = {
|
|
5
5
|
columnManager?: boolean | {
|
|
6
6
|
dropdownMenuProps: Omit<DropdownMenuProps, 'menuItems' | 'children'>;
|
|
@@ -7,15 +7,14 @@ const tslib_1 = require('tslib');
|
|
|
7
7
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
8
8
|
*--------------------------------------------------------------------------------------------*/
|
|
9
9
|
const React = tslib_1.__importStar(require('react'));
|
|
10
|
-
const
|
|
11
|
-
const
|
|
12
|
-
const
|
|
13
|
-
const
|
|
14
|
-
const
|
|
10
|
+
const Checkbox_js_1 = require('../../Checkbox/Checkbox.js');
|
|
11
|
+
const index_js_1 = require('../../utils/index.js');
|
|
12
|
+
const DropdownMenu_js_1 = require('../../DropdownMenu/DropdownMenu.js');
|
|
13
|
+
const IconButton_js_1 = require('../../Buttons/IconButton.js');
|
|
14
|
+
const MenuItem_js_1 = require('../../Menu/MenuItem.js');
|
|
15
15
|
const Table_js_1 = require('../Table.js');
|
|
16
16
|
const selectionColumn_js_1 = require('./selectionColumn.js');
|
|
17
17
|
const expanderColumn_js_1 = require('./expanderColumn.js');
|
|
18
|
-
const classnames_1 = tslib_1.__importDefault(require('classnames'));
|
|
19
18
|
const ACTION_CELL_ID = 'iui-table-action';
|
|
20
19
|
/**
|
|
21
20
|
* Action column that adds column manager to the Table header.
|
|
@@ -80,10 +79,10 @@ const ActionColumn = ({ columnManager = false } = {}) => {
|
|
|
80
79
|
});
|
|
81
80
|
};
|
|
82
81
|
return React.createElement(
|
|
83
|
-
|
|
82
|
+
MenuItem_js_1.MenuItem,
|
|
84
83
|
{
|
|
85
84
|
key: column.id,
|
|
86
|
-
startIcon: React.createElement(
|
|
85
|
+
startIcon: React.createElement(Checkbox_js_1.Checkbox, {
|
|
87
86
|
checked: checked,
|
|
88
87
|
disabled: column.disableToggleVisibility,
|
|
89
88
|
onClick: (e) => e.stopPropagation(),
|
|
@@ -105,7 +104,7 @@ const ActionColumn = ({ columnManager = false } = {}) => {
|
|
|
105
104
|
? columnManager.dropdownMenuProps
|
|
106
105
|
: {};
|
|
107
106
|
return React.createElement(
|
|
108
|
-
|
|
107
|
+
DropdownMenu_js_1.DropdownMenu,
|
|
109
108
|
{
|
|
110
109
|
...dropdownMenuProps,
|
|
111
110
|
menuItems: headerCheckBoxes,
|
|
@@ -113,15 +112,11 @@ const ActionColumn = ({ columnManager = false } = {}) => {
|
|
|
113
112
|
setIsOpen(open);
|
|
114
113
|
dropdownMenuProps?.onVisibleChange?.(open);
|
|
115
114
|
},
|
|
116
|
-
className: (0, classnames_1.default)(
|
|
117
|
-
'iui-scroll',
|
|
118
|
-
dropdownMenuProps.className,
|
|
119
|
-
),
|
|
120
115
|
},
|
|
121
116
|
React.createElement(
|
|
122
|
-
|
|
117
|
+
IconButton_js_1.IconButton,
|
|
123
118
|
{ styleType: 'borderless', isActive: isOpen, ref: buttonRef },
|
|
124
|
-
React.createElement(
|
|
119
|
+
React.createElement(index_js_1.SvgColumnManager, null),
|
|
125
120
|
),
|
|
126
121
|
);
|
|
127
122
|
},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import type { CellProps, CellRendererProps, Row } from 'react-table';
|
|
2
|
+
import type { CellProps, CellRendererProps, Row } from '../../../react-table/react-table.js';
|
|
3
3
|
export declare const EXPANDER_CELL_ID = "iui-table-expander";
|
|
4
4
|
/**
|
|
5
5
|
* Expander column that adds sub-content expander column to the Table.
|
|
@@ -8,8 +8,8 @@ const tslib_1 = require('tslib');
|
|
|
8
8
|
*--------------------------------------------------------------------------------------------*/
|
|
9
9
|
const React = tslib_1.__importStar(require('react'));
|
|
10
10
|
const index_js_1 = require('../../utils/index.js');
|
|
11
|
-
const
|
|
12
|
-
const
|
|
11
|
+
const IconButton_js_1 = require('../../Buttons/IconButton.js');
|
|
12
|
+
const index_js_2 = require('../cells/index.js');
|
|
13
13
|
exports.EXPANDER_CELL_ID = 'iui-table-expander';
|
|
14
14
|
/**
|
|
15
15
|
* Expander column that adds sub-content expander column to the Table.
|
|
@@ -52,7 +52,7 @@ const ExpanderColumn = (props = {}) => {
|
|
|
52
52
|
return null;
|
|
53
53
|
} else {
|
|
54
54
|
return React.createElement(
|
|
55
|
-
|
|
55
|
+
IconButton_js_1.IconButton,
|
|
56
56
|
{
|
|
57
57
|
className: 'iui-table-row-expander',
|
|
58
58
|
styleType: 'borderless',
|
|
@@ -62,13 +62,14 @@ const ExpanderColumn = (props = {}) => {
|
|
|
62
62
|
row.toggleRowExpanded();
|
|
63
63
|
},
|
|
64
64
|
disabled: isDisabled?.(props.row.original),
|
|
65
|
+
'aria-expanded': row.isExpanded,
|
|
65
66
|
},
|
|
66
67
|
React.createElement(index_js_1.SvgChevronRight, null),
|
|
67
68
|
);
|
|
68
69
|
}
|
|
69
70
|
},
|
|
70
71
|
cellRenderer: (props) =>
|
|
71
|
-
React.createElement(
|
|
72
|
+
React.createElement(index_js_2.DefaultCell, {
|
|
72
73
|
...props,
|
|
73
74
|
isDisabled: (rowData) => !!isDisabled?.(rowData),
|
|
74
75
|
}),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import type { CellProps, CellRendererProps, HeaderProps } from 'react-table';
|
|
2
|
+
import type { CellProps, CellRendererProps, HeaderProps } from '../../../react-table/react-table.js';
|
|
3
3
|
export declare const SELECTION_CELL_ID = "iui-table-checkbox-selector";
|
|
4
4
|
/**
|
|
5
5
|
* Selection column that adds selection checkbox column to the Table.
|
|
@@ -7,8 +7,8 @@ const tslib_1 = require('tslib');
|
|
|
7
7
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
8
8
|
*--------------------------------------------------------------------------------------------*/
|
|
9
9
|
const React = tslib_1.__importStar(require('react'));
|
|
10
|
-
const
|
|
11
|
-
const
|
|
10
|
+
const Checkbox_js_1 = require('../../Checkbox/Checkbox.js');
|
|
11
|
+
const index_js_1 = require('../cells/index.js');
|
|
12
12
|
exports.SELECTION_CELL_ID = 'iui-table-checkbox-selector';
|
|
13
13
|
/**
|
|
14
14
|
* Selection column that adds selection checkbox column to the Table.
|
|
@@ -49,7 +49,7 @@ const SelectionColumn = (props = {}) => {
|
|
|
49
49
|
);
|
|
50
50
|
const indeterminate =
|
|
51
51
|
!checked && Object.keys(state.selectedRowIds).length > 0;
|
|
52
|
-
return React.createElement(
|
|
52
|
+
return React.createElement(Checkbox_js_1.Checkbox, {
|
|
53
53
|
...getToggleAllRowsSelectedProps(),
|
|
54
54
|
style: {},
|
|
55
55
|
title: '', // Removes default title that comes from react-table
|
|
@@ -61,7 +61,7 @@ const SelectionColumn = (props = {}) => {
|
|
|
61
61
|
});
|
|
62
62
|
},
|
|
63
63
|
Cell: ({ row }) =>
|
|
64
|
-
React.createElement(
|
|
64
|
+
React.createElement(Checkbox_js_1.Checkbox, {
|
|
65
65
|
...row.getToggleRowSelectedProps(),
|
|
66
66
|
style: {},
|
|
67
67
|
title: '', // Removes default title that comes from react-table
|
|
@@ -69,7 +69,7 @@ const SelectionColumn = (props = {}) => {
|
|
|
69
69
|
onClick: (e) => e.stopPropagation(),
|
|
70
70
|
}),
|
|
71
71
|
cellRenderer: (props) =>
|
|
72
|
-
React.createElement(
|
|
72
|
+
React.createElement(index_js_1.DefaultCell, {
|
|
73
73
|
...props,
|
|
74
74
|
isDisabled: (rowData) => !!isDisabled?.(rowData),
|
|
75
75
|
}),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import type { LabeledInput } from '../../../LabeledInput/
|
|
2
|
+
import type { LabeledInput } from '../../../LabeledInput/LabeledInput.js';
|
|
3
3
|
import type { PolymorphicForwardRefComponent } from '../../../utils/index.js';
|
|
4
4
|
import type { DatePickerLocalizedNames } from '../../../DatePicker/DatePicker.js';
|
|
5
5
|
export type DatePickerInputProps = {
|
|
@@ -7,10 +7,11 @@ const tslib_1 = require('tslib');
|
|
|
7
7
|
*--------------------------------------------------------------------------------------------*/
|
|
8
8
|
const React = tslib_1.__importStar(require('react'));
|
|
9
9
|
const index_js_1 = require('../../../utils/index.js');
|
|
10
|
-
const
|
|
11
|
-
const
|
|
12
|
-
const
|
|
13
|
-
const
|
|
10
|
+
const DatePicker_js_1 = require('../../../DatePicker/DatePicker.js');
|
|
11
|
+
const InputGrid_js_1 = require('../../../InputGrid/InputGrid.js');
|
|
12
|
+
const Label_js_1 = require('../../../Label/Label.js');
|
|
13
|
+
const InputWithDecorations_js_1 = require('../../../InputWithDecorations/InputWithDecorations.js');
|
|
14
|
+
const Popover_js_1 = require('../../../Popover/Popover.js');
|
|
14
15
|
const DatePickerInput = React.forwardRef((props, forwardedRef) => {
|
|
15
16
|
const uid = (0, index_js_1.useId)();
|
|
16
17
|
const {
|
|
@@ -69,10 +70,10 @@ const DatePickerInput = React.forwardRef((props, forwardedRef) => {
|
|
|
69
70
|
[onChange, parseInput],
|
|
70
71
|
);
|
|
71
72
|
return React.createElement(
|
|
72
|
-
|
|
73
|
+
InputGrid_js_1.InputGrid,
|
|
73
74
|
{ labelPlacement: 'inline', ...wrapperProps },
|
|
74
75
|
React.createElement(
|
|
75
|
-
|
|
76
|
+
Label_js_1.Label,
|
|
76
77
|
{
|
|
77
78
|
as: 'label',
|
|
78
79
|
required: required,
|
|
@@ -83,34 +84,39 @@ const DatePickerInput = React.forwardRef((props, forwardedRef) => {
|
|
|
83
84
|
label,
|
|
84
85
|
),
|
|
85
86
|
React.createElement(
|
|
86
|
-
|
|
87
|
+
InputWithDecorations_js_1.InputWithDecorations,
|
|
87
88
|
{ ...inputWrapperProps },
|
|
88
|
-
React.createElement(index_js_5.InputWithDecorations.Input, {
|
|
89
|
-
id: id,
|
|
90
|
-
value: inputValue,
|
|
91
|
-
onChange: onInputChange,
|
|
92
|
-
required: required,
|
|
93
|
-
disabled: disabled,
|
|
94
|
-
ref: forwardedRef,
|
|
95
|
-
...rest,
|
|
96
|
-
}),
|
|
97
89
|
React.createElement(
|
|
98
|
-
|
|
90
|
+
InputWithDecorations_js_1.InputWithDecorations.Input,
|
|
91
|
+
{
|
|
92
|
+
id: id,
|
|
93
|
+
value: inputValue,
|
|
94
|
+
onChange: onInputChange,
|
|
95
|
+
required: required,
|
|
96
|
+
disabled: disabled,
|
|
97
|
+
ref: forwardedRef,
|
|
98
|
+
...rest,
|
|
99
|
+
},
|
|
100
|
+
),
|
|
101
|
+
React.createElement(
|
|
102
|
+
Popover_js_1.Popover,
|
|
99
103
|
{
|
|
100
|
-
content: React.createElement(
|
|
104
|
+
content: React.createElement(DatePicker_js_1.DatePicker, {
|
|
101
105
|
date: date,
|
|
102
106
|
onChange: onDateSelected,
|
|
103
107
|
setFocus: true,
|
|
104
108
|
isDateDisabled: isDateDisabled,
|
|
105
109
|
localizedNames: localizedNames,
|
|
110
|
+
applyBackground: false,
|
|
106
111
|
}),
|
|
107
112
|
placement: 'bottom-end',
|
|
108
113
|
visible: isVisible,
|
|
109
114
|
onVisibleChange: setIsVisible,
|
|
110
115
|
closeOnOutsideClick: true,
|
|
116
|
+
applyBackground: true,
|
|
111
117
|
},
|
|
112
118
|
React.createElement(
|
|
113
|
-
|
|
119
|
+
InputWithDecorations_js_1.InputWithDecorations.Button,
|
|
114
120
|
{ 'aria-label': 'Date picker', ref: buttonRef },
|
|
115
121
|
React.createElement(index_js_1.SvgCalendar, null),
|
|
116
122
|
),
|
|
@@ -9,7 +9,7 @@ const tslib_1 = require('tslib');
|
|
|
9
9
|
const React = tslib_1.__importStar(require('react'));
|
|
10
10
|
const classnames_1 = tslib_1.__importDefault(require('classnames'));
|
|
11
11
|
const index_js_1 = require('../../utils/index.js');
|
|
12
|
-
const
|
|
12
|
+
const Button_js_1 = require('../../Buttons/Button.js');
|
|
13
13
|
const defaultStrings = {
|
|
14
14
|
filter: 'Filter',
|
|
15
15
|
clear: 'Clear',
|
|
@@ -40,12 +40,12 @@ const FilterButtonBar = (props) => {
|
|
|
40
40
|
},
|
|
41
41
|
children,
|
|
42
42
|
React.createElement(
|
|
43
|
-
|
|
43
|
+
Button_js_1.Button,
|
|
44
44
|
{ styleType: 'high-visibility', onClick: setFilter },
|
|
45
45
|
translatedStrings.filter,
|
|
46
46
|
),
|
|
47
47
|
React.createElement(
|
|
48
|
-
|
|
48
|
+
Button_js_1.Button,
|
|
49
49
|
{ onClick: clearFilter },
|
|
50
50
|
translatedStrings.clear,
|
|
51
51
|
),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import type { HeaderGroup } from 'react-table';
|
|
2
|
+
import type { HeaderGroup } from '../../../react-table/react-table.js';
|
|
3
3
|
import type { CommonProps } from '../../utils/index.js';
|
|
4
4
|
export type FilterToggleProps<T extends Record<string, unknown>> = {
|
|
5
5
|
column: HeaderGroup<T>;
|
|
@@ -9,7 +9,8 @@ const tslib_1 = require('tslib');
|
|
|
9
9
|
const React = tslib_1.__importStar(require('react'));
|
|
10
10
|
const classnames_1 = tslib_1.__importDefault(require('classnames'));
|
|
11
11
|
const index_js_1 = require('../../utils/index.js');
|
|
12
|
-
const
|
|
12
|
+
const IconButton_js_1 = require('../../Buttons/IconButton.js');
|
|
13
|
+
const Popover_js_1 = require('../../Popover/Popover.js');
|
|
13
14
|
/**
|
|
14
15
|
* Handles showing filter icon and opening filter component.
|
|
15
16
|
*/
|
|
@@ -37,16 +38,17 @@ const FilterToggle = (props) => {
|
|
|
37
38
|
column.canFilter &&
|
|
38
39
|
column.Filter &&
|
|
39
40
|
React.createElement(
|
|
40
|
-
|
|
41
|
+
Popover_js_1.Popover,
|
|
41
42
|
{
|
|
42
43
|
content: column.render('Filter', { close, setFilter, clearFilter }),
|
|
43
44
|
placement: 'bottom-start',
|
|
44
45
|
visible: isVisible,
|
|
45
46
|
onVisibleChange: setIsVisible,
|
|
46
47
|
closeOnOutsideClick: true,
|
|
48
|
+
applyBackground: true,
|
|
47
49
|
},
|
|
48
50
|
React.createElement(
|
|
49
|
-
|
|
51
|
+
IconButton_js_1.IconButton,
|
|
50
52
|
{
|
|
51
53
|
styleType: 'borderless',
|
|
52
54
|
isActive: isVisible || isColumnFiltered,
|
|
@@ -10,7 +10,7 @@ const React = tslib_1.__importStar(require('react'));
|
|
|
10
10
|
const index_js_1 = require('../../../utils/index.js');
|
|
11
11
|
const FilterButtonBar_js_1 = require('../FilterButtonBar.js');
|
|
12
12
|
const BaseFilter_js_1 = require('../BaseFilter.js');
|
|
13
|
-
const
|
|
13
|
+
const LabeledInput_js_1 = require('../../../LabeledInput/LabeledInput.js');
|
|
14
14
|
const defaultStrings = {
|
|
15
15
|
from: 'From',
|
|
16
16
|
to: 'To',
|
|
@@ -41,7 +41,7 @@ const NumberRangeFilter = (props) => {
|
|
|
41
41
|
return React.createElement(
|
|
42
42
|
BaseFilter_js_1.BaseFilter,
|
|
43
43
|
null,
|
|
44
|
-
React.createElement(
|
|
44
|
+
React.createElement(LabeledInput_js_1.LabeledInput, {
|
|
45
45
|
ref: inputRef,
|
|
46
46
|
label: translatedStrings.from,
|
|
47
47
|
value: from,
|
|
@@ -50,7 +50,7 @@ const NumberRangeFilter = (props) => {
|
|
|
50
50
|
type: 'number',
|
|
51
51
|
displayStyle: 'inline',
|
|
52
52
|
}),
|
|
53
|
-
React.createElement(
|
|
53
|
+
React.createElement(LabeledInput_js_1.LabeledInput, {
|
|
54
54
|
label: translatedStrings.to,
|
|
55
55
|
value: to,
|
|
56
56
|
onChange: (e) => setTo(e.target.value),
|
|
@@ -8,7 +8,7 @@ const tslib_1 = require('tslib');
|
|
|
8
8
|
*--------------------------------------------------------------------------------------------*/
|
|
9
9
|
const React = tslib_1.__importStar(require('react'));
|
|
10
10
|
const index_js_1 = require('../../../utils/index.js');
|
|
11
|
-
const
|
|
11
|
+
const Input_js_1 = require('../../../Input/Input.js');
|
|
12
12
|
const FilterButtonBar_js_1 = require('../FilterButtonBar.js');
|
|
13
13
|
const BaseFilter_js_1 = require('../BaseFilter.js');
|
|
14
14
|
const TextFilter = (props) => {
|
|
@@ -32,7 +32,7 @@ const TextFilter = (props) => {
|
|
|
32
32
|
return React.createElement(
|
|
33
33
|
BaseFilter_js_1.BaseFilter,
|
|
34
34
|
null,
|
|
35
|
-
React.createElement(
|
|
35
|
+
React.createElement(Input_js_1.Input, {
|
|
36
36
|
ref: inputRef,
|
|
37
37
|
value: text,
|
|
38
38
|
onChange: (e) => setText(e.target.value),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { IdType, Row } from 'react-table';
|
|
1
|
+
import type { IdType, Row } from '../../../react-table/react-table.js';
|
|
2
2
|
export declare const customFilterFunctions: {
|
|
3
3
|
betweenDate: {
|
|
4
4
|
<T extends Record<string, unknown>>(rows: Row<T>[], ids: IdType<T>[], filterValue: [Date?, Date?] | undefined): Row<T>[];
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
25
25
|
* SOFTWARE.
|
|
26
26
|
*/
|
|
27
|
-
import type { IdType, Row } from 'react-table';
|
|
27
|
+
import type { IdType, Row } from '../../../react-table/react-table.js';
|
|
28
28
|
export declare const defaultFilterFunctions: {
|
|
29
29
|
text: {
|
|
30
30
|
<T extends Record<string, unknown>>(rows: Row<T>[], ids: IdType<T>[], filterValue: string): Row<T>[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { FieldType,
|
|
1
|
+
import type { FieldType, FilterType, TableFilterProps } from '../../../react-table/react-table.js';
|
|
2
2
|
export interface TableFilterValue<T extends Record<string, unknown>> {
|
|
3
3
|
/**
|
|
4
4
|
* Id of the column.
|
|
@@ -17,21 +17,4 @@ export interface TableFilterValue<T extends Record<string, unknown>> {
|
|
|
17
17
|
*/
|
|
18
18
|
filterType: FilterType<T>;
|
|
19
19
|
}
|
|
20
|
-
export type TableFilterProps
|
|
21
|
-
/**
|
|
22
|
-
* Data of column on which filter is opened. It is provided by the table it self.
|
|
23
|
-
*/
|
|
24
|
-
column: HeaderGroup<T>;
|
|
25
|
-
/**
|
|
26
|
-
* Function to close the filter. It is provided by the table it self.
|
|
27
|
-
*/
|
|
28
|
-
close: () => void;
|
|
29
|
-
/**
|
|
30
|
-
* Function to set the filter value. It is provided by the table it self.
|
|
31
|
-
*/
|
|
32
|
-
setFilter: (filterValue: unknown | undefined) => void;
|
|
33
|
-
/**
|
|
34
|
-
* Function to clear the filter value. It is provided by the table it self.
|
|
35
|
-
*/
|
|
36
|
-
clearFilter: () => void;
|
|
37
|
-
};
|
|
20
|
+
export type { TableFilterProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { Hooks } from 'react-table';
|
|
1
|
+
import type { Hooks } from '../../../react-table/react-table.js';
|
|
2
2
|
export declare const useColumnDragAndDrop: <T extends Record<string, unknown>>(isEnabled: boolean) => (hooks: Hooks<T>) => void;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import type { CellProps, Hooks, Row } from 'react-table';
|
|
2
|
+
import type { CellProps, Hooks, Row } from '../../../react-table/react-table.js';
|
|
3
3
|
export declare const useExpanderCell: <T extends Record<string, unknown>>(subComponent?: ((row: Row<T>) => React.ReactNode) | undefined, expanderCell?: ((cellProps: CellProps<T>) => React.ReactNode) | undefined, isRowDisabled?: ((rowData: T) => boolean) | undefined) => (hooks: Hooks<T>) => void;
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
* SOFTWARE.
|
|
31
31
|
*/
|
|
32
32
|
import type * as React from 'react';
|
|
33
|
-
import type { Hooks } from 'react-table';
|
|
33
|
+
import type { Hooks } from '../../../react-table/react-table.js';
|
|
34
34
|
export declare const useResizeColumns: {
|
|
35
35
|
<T extends Record<string, unknown>>(ownerDocument: React.RefObject<Document | undefined>): (hooks: Hooks<T>) => void;
|
|
36
36
|
pluginName: string;
|
|
@@ -41,7 +41,7 @@ function useScrollToRow({
|
|
|
41
41
|
) {
|
|
42
42
|
return;
|
|
43
43
|
}
|
|
44
|
-
rowRefs.current[pageRef.current[scrollToIndex]
|
|
44
|
+
rowRefs.current[pageRef.current[scrollToIndex]?.id]?.scrollIntoView();
|
|
45
45
|
}, [enableVirtualization, scrollToIndex]);
|
|
46
46
|
const tableRowRef = React.useCallback((row) => {
|
|
47
47
|
return (element) => {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { Hooks } from 'react-table';
|
|
1
|
+
import type { Hooks } from '../../../react-table/react-table.js';
|
|
2
2
|
export declare const useSelectionCell: <T extends Record<string, unknown>>(isSelectable: boolean, selectionMode: 'multi' | 'single', isRowDisabled?: ((rowData: T) => boolean) | undefined, density?: 'default' | 'condensed' | 'extra-condensed') => (hooks: Hooks<T>) => void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { Hooks } from 'react-table';
|
|
1
|
+
import type { Hooks } from '../../../react-table/react-table.js';
|
|
2
2
|
export declare const useStickyColumns: <T extends Record<string, unknown>>(hooks: Hooks<T>) => void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { Hooks } from 'react-table';
|
|
1
|
+
import type { Hooks } from '../../../react-table/react-table.js';
|
|
2
2
|
export declare const useSubRowFiltering: <T extends Record<string, unknown>>(hasAnySubRows: boolean) => (hooks: Hooks<T>) => void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { Hooks } from 'react-table';
|
|
1
|
+
import type { Hooks } from '../../../react-table/react-table.js';
|
|
2
2
|
export declare const useSubRowSelection: <T extends Record<string, unknown>>(hooks: Hooks<T>) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { Table } from './Table.js';
|
|
2
|
-
export type {
|
|
2
|
+
export type { TablePaginatorRendererProps } from './Table.js';
|
|
3
3
|
export { BaseFilter, FilterButtonBar, tableFilters } from './filters/index.js';
|
|
4
4
|
export type { BaseFilterProps, DateRangeFilterOptions, FilterButtonBarProps, FilterButtonBarTranslation, TableFilterProps, TableFilterValue, } from './filters/index.js';
|
|
5
5
|
export { DefaultCell, EditableCell } from './cells/index.js';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { ColumnInstance } from 'react-table';
|
|
1
|
+
import type { ColumnInstance } from '../../react-table/react-table.js';
|
|
2
2
|
export declare const getCellStyle: <T extends Record<string, unknown>>(column: ColumnInstance<T>, isTableResizing: boolean) => React.CSSProperties | undefined;
|
|
3
3
|
export declare const getStickyStyle: <T extends Record<string, unknown>>(column: ColumnInstance<T>, columnList: ColumnInstance<T>[]) => React.CSSProperties;
|