@itwin/itwinui-react 2.10.1 → 2.11.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 +38 -0
- package/README.md +1 -1
- package/cjs/core/Alert/Alert.d.ts +2 -2
- package/cjs/core/Alert/Alert.js +34 -11
- package/cjs/core/Alert/index.d.ts +2 -2
- package/cjs/core/Alert/index.js +2 -2
- package/cjs/core/Avatar/Avatar.d.ts +1 -1
- package/cjs/core/Avatar/Avatar.js +30 -7
- package/cjs/core/Avatar/index.d.ts +2 -2
- package/cjs/core/Avatar/index.js +3 -3
- package/cjs/core/AvatarGroup/AvatarGroup.d.ts +2 -2
- package/cjs/core/AvatarGroup/AvatarGroup.js +34 -11
- package/cjs/core/AvatarGroup/index.d.ts +2 -2
- package/cjs/core/AvatarGroup/index.js +3 -3
- package/cjs/core/Backdrop/Backdrop.d.ts +1 -1
- package/cjs/core/Backdrop/Backdrop.js +28 -5
- package/cjs/core/Backdrop/index.d.ts +2 -2
- package/cjs/core/Backdrop/index.js +2 -2
- package/cjs/core/Badge/Badge.d.ts +3 -2
- package/cjs/core/Badge/Badge.js +28 -5
- package/cjs/core/Badge/index.d.ts +2 -2
- package/cjs/core/Badge/index.js +2 -2
- package/cjs/core/Breadcrumbs/Breadcrumbs.d.ts +2 -2
- package/cjs/core/Breadcrumbs/Breadcrumbs.js +43 -20
- package/cjs/core/Breadcrumbs/index.d.ts +2 -2
- package/cjs/core/Breadcrumbs/index.js +2 -2
- package/cjs/core/ButtonGroup/ButtonGroup.d.ts +1 -1
- package/cjs/core/ButtonGroup/ButtonGroup.js +37 -11
- package/cjs/core/ButtonGroup/index.d.ts +2 -2
- package/cjs/core/ButtonGroup/index.js +2 -2
- package/cjs/core/Buttons/Button/Button.d.ts +2 -2
- package/cjs/core/Buttons/Button/Button.js +31 -8
- package/cjs/core/Buttons/Button/index.d.ts +2 -2
- package/cjs/core/Buttons/Button/index.js +2 -2
- package/cjs/core/Buttons/DropdownButton/DropdownButton.d.ts +3 -3
- package/cjs/core/Buttons/DropdownButton/DropdownButton.js +36 -13
- package/cjs/core/Buttons/DropdownButton/index.d.ts +2 -2
- package/cjs/core/Buttons/DropdownButton/index.js +2 -2
- package/cjs/core/Buttons/IconButton/IconButton.d.ts +3 -3
- package/cjs/core/Buttons/IconButton/IconButton.js +32 -9
- package/cjs/core/Buttons/IconButton/index.d.ts +2 -2
- package/cjs/core/Buttons/IconButton/index.js +2 -2
- package/cjs/core/Buttons/IdeasButton/IdeasButton.d.ts +1 -1
- package/cjs/core/Buttons/IdeasButton/IdeasButton.js +28 -8
- package/cjs/core/Buttons/IdeasButton/index.d.ts +2 -2
- package/cjs/core/Buttons/IdeasButton/index.js +2 -2
- package/cjs/core/Buttons/SplitButton/SplitButton.d.ts +4 -4
- package/cjs/core/Buttons/SplitButton/SplitButton.js +38 -15
- package/cjs/core/Buttons/SplitButton/index.d.ts +2 -2
- package/cjs/core/Buttons/SplitButton/index.js +2 -2
- package/cjs/core/Buttons/index.d.ts +10 -10
- package/cjs/core/Buttons/index.js +10 -10
- package/cjs/core/Carousel/Carousel.d.ts +3 -3
- package/cjs/core/Carousel/Carousel.js +52 -29
- package/cjs/core/Carousel/CarouselContext.d.ts +1 -1
- package/cjs/core/Carousel/CarouselContext.js +24 -4
- package/cjs/core/Carousel/CarouselDot.d.ts +1 -1
- package/cjs/core/Carousel/CarouselDot.js +26 -3
- package/cjs/core/Carousel/CarouselDotsList.d.ts +1 -1
- package/cjs/core/Carousel/CarouselDotsList.js +47 -24
- package/cjs/core/Carousel/CarouselNavigation.d.ts +3 -3
- package/cjs/core/Carousel/CarouselNavigation.js +43 -20
- package/cjs/core/Carousel/CarouselSlide.d.ts +1 -1
- package/cjs/core/Carousel/CarouselSlide.js +32 -9
- package/cjs/core/Carousel/CarouselSlider.d.ts +1 -1
- package/cjs/core/Carousel/CarouselSlider.js +40 -17
- package/cjs/core/Carousel/index.d.ts +2 -2
- package/cjs/core/Carousel/index.js +2 -2
- package/cjs/core/Checkbox/Checkbox.d.ts +1 -1
- package/cjs/core/Checkbox/Checkbox.js +37 -14
- package/cjs/core/Checkbox/index.d.ts +2 -2
- package/cjs/core/Checkbox/index.js +2 -2
- package/cjs/core/ColorPicker/ColorBuilder.d.ts +2 -2
- package/cjs/core/ColorPicker/ColorBuilder.js +58 -35
- package/cjs/core/ColorPicker/ColorInputPanel.d.ts +2 -2
- package/cjs/core/ColorPicker/ColorInputPanel.js +72 -49
- package/cjs/core/ColorPicker/ColorPalette.d.ts +3 -2
- package/cjs/core/ColorPicker/ColorPalette.js +42 -19
- package/cjs/core/ColorPicker/ColorPicker.d.ts +3 -2
- package/cjs/core/ColorPicker/ColorPicker.js +42 -19
- package/cjs/core/ColorPicker/ColorPickerContext.d.ts +2 -2
- package/cjs/core/ColorPicker/ColorPickerContext.js +25 -5
- package/cjs/core/ColorPicker/ColorSwatch.d.ts +3 -2
- package/cjs/core/ColorPicker/ColorSwatch.js +31 -8
- package/cjs/core/ColorPicker/index.d.ts +10 -10
- package/cjs/core/ColorPicker/index.js +10 -10
- package/cjs/core/ComboBox/ComboBox.d.ts +4 -4
- package/cjs/core/ComboBox/ComboBox.js +82 -52
- package/cjs/core/ComboBox/ComboBoxDropdown.d.ts +2 -2
- package/cjs/core/ComboBox/ComboBoxDropdown.js +31 -11
- package/cjs/core/ComboBox/ComboBoxEndIcon.d.ts +1 -1
- package/cjs/core/ComboBox/ComboBoxEndIcon.js +32 -9
- package/cjs/core/ComboBox/ComboBoxInput.d.ts +1 -1
- package/cjs/core/ComboBox/ComboBoxInput.js +42 -22
- package/cjs/core/ComboBox/ComboBoxInputContainer.d.ts +2 -2
- package/cjs/core/ComboBox/ComboBoxInputContainer.js +30 -10
- package/cjs/core/ComboBox/ComboBoxMenu.d.ts +2 -2
- package/cjs/core/ComboBox/ComboBoxMenu.js +44 -21
- package/cjs/core/ComboBox/ComboBoxMenuItem.d.ts +2 -2
- package/cjs/core/ComboBox/ComboBoxMenuItem.js +35 -12
- package/cjs/core/ComboBox/ComboBoxMultipleContainer.d.ts +1 -1
- package/cjs/core/ComboBox/ComboBoxMultipleContainer.js +27 -4
- package/cjs/core/ComboBox/helpers.d.ts +2 -2
- package/cjs/core/ComboBox/helpers.js +26 -6
- package/cjs/core/ComboBox/index.d.ts +2 -2
- package/cjs/core/ComboBox/index.js +2 -2
- package/cjs/core/DatePicker/DatePicker.d.ts +1 -1
- package/cjs/core/DatePicker/DatePicker.js +61 -38
- package/cjs/core/DatePicker/index.d.ts +2 -2
- package/cjs/core/DatePicker/index.js +3 -3
- package/cjs/core/Dialog/Dialog.d.ts +8 -8
- package/cjs/core/Dialog/Dialog.js +41 -18
- package/cjs/core/Dialog/DialogBackdrop.d.ts +3 -3
- package/cjs/core/Dialog/DialogBackdrop.js +32 -9
- package/cjs/core/Dialog/DialogButtonBar.d.ts +1 -1
- package/cjs/core/Dialog/DialogButtonBar.js +28 -5
- package/cjs/core/Dialog/DialogContent.d.ts +1 -1
- package/cjs/core/Dialog/DialogContent.js +28 -5
- package/cjs/core/Dialog/DialogContext.d.ts +1 -1
- package/cjs/core/Dialog/DialogContext.js +25 -5
- package/cjs/core/Dialog/DialogDragContext.d.ts +1 -1
- package/cjs/core/Dialog/DialogDragContext.js +25 -5
- package/cjs/core/Dialog/DialogMain.d.ts +2 -2
- package/cjs/core/Dialog/DialogMain.js +49 -26
- package/cjs/core/Dialog/DialogTitleBar.d.ts +3 -3
- package/cjs/core/Dialog/DialogTitleBar.js +40 -17
- package/cjs/core/Dialog/DialogTitleBarTitle.d.ts +1 -1
- package/cjs/core/Dialog/DialogTitleBarTitle.js +28 -5
- package/cjs/core/Dialog/index.d.ts +6 -6
- package/cjs/core/Dialog/index.js +2 -2
- package/cjs/core/DropdownMenu/DropdownMenu.d.ts +2 -2
- package/cjs/core/DropdownMenu/DropdownMenu.js +35 -15
- package/cjs/core/DropdownMenu/index.d.ts +2 -2
- package/cjs/core/DropdownMenu/index.js +2 -2
- package/cjs/core/ExpandableBlock/ExpandableBlock.d.ts +2 -2
- package/cjs/core/ExpandableBlock/ExpandableBlock.js +39 -16
- package/cjs/core/ExpandableBlock/index.d.ts +2 -2
- package/cjs/core/ExpandableBlock/index.js +2 -2
- package/cjs/core/Fieldset/Fieldset.d.ts +1 -1
- package/cjs/core/Fieldset/Fieldset.js +30 -7
- package/cjs/core/Fieldset/index.d.ts +2 -2
- package/cjs/core/Fieldset/index.js +2 -2
- package/cjs/core/FileUpload/FileEmptyCard.d.ts +1 -1
- package/cjs/core/FileUpload/FileEmptyCard.js +36 -13
- package/cjs/core/FileUpload/FileUpload.d.ts +3 -3
- package/cjs/core/FileUpload/FileUpload.js +33 -10
- package/cjs/core/FileUpload/FileUploadCard.d.ts +1 -1
- package/cjs/core/FileUpload/FileUploadCard.js +63 -41
- package/cjs/core/FileUpload/FileUploadTemplate.d.ts +1 -1
- package/cjs/core/FileUpload/FileUploadTemplate.js +32 -9
- package/cjs/core/FileUpload/index.d.ts +8 -8
- package/cjs/core/FileUpload/index.js +8 -8
- package/cjs/core/Footer/Footer.d.ts +3 -3
- package/cjs/core/Footer/Footer.js +36 -13
- package/cjs/core/Footer/FooterItem.d.ts +1 -1
- package/cjs/core/Footer/FooterItem.js +27 -4
- package/cjs/core/Footer/FooterList.d.ts +1 -1
- package/cjs/core/Footer/FooterList.js +27 -4
- package/cjs/core/Footer/FooterSeparator.d.ts +1 -1
- package/cjs/core/Footer/FooterSeparator.js +27 -4
- package/cjs/core/Footer/index.d.ts +2 -2
- package/cjs/core/Footer/index.js +3 -3
- package/cjs/core/Header/Header.d.ts +2 -2
- package/cjs/core/Header/Header.js +36 -13
- package/cjs/core/Header/HeaderBasicButton.d.ts +2 -2
- package/cjs/core/Header/HeaderBasicButton.js +30 -7
- package/cjs/core/Header/HeaderBreadcrumbs.d.ts +1 -1
- package/cjs/core/Header/HeaderBreadcrumbs.js +29 -9
- package/cjs/core/Header/HeaderButton.d.ts +4 -4
- package/cjs/core/Header/HeaderButton.js +37 -14
- package/cjs/core/Header/HeaderDropdownButton.d.ts +2 -2
- package/cjs/core/Header/HeaderDropdownButton.js +36 -13
- package/cjs/core/Header/HeaderLogo.d.ts +1 -1
- package/cjs/core/Header/HeaderLogo.js +31 -8
- package/cjs/core/Header/HeaderSplitButton.d.ts +2 -2
- package/cjs/core/Header/HeaderSplitButton.js +37 -14
- package/cjs/core/Header/index.d.ts +8 -8
- package/cjs/core/Header/index.js +8 -8
- package/cjs/core/InformationPanel/InformationPanel.d.ts +2 -2
- package/cjs/core/InformationPanel/InformationPanel.js +33 -10
- package/cjs/core/InformationPanel/InformationPanelBody.d.ts +2 -2
- package/cjs/core/InformationPanel/InformationPanelBody.js +27 -4
- package/cjs/core/InformationPanel/InformationPanelContent.d.ts +2 -2
- package/cjs/core/InformationPanel/InformationPanelContent.js +27 -4
- package/cjs/core/InformationPanel/InformationPanelHeader.d.ts +2 -2
- package/cjs/core/InformationPanel/InformationPanelHeader.js +32 -9
- package/cjs/core/InformationPanel/InformationPanelWrapper.d.ts +2 -2
- package/cjs/core/InformationPanel/InformationPanelWrapper.js +27 -4
- package/cjs/core/InformationPanel/index.d.ts +10 -10
- package/cjs/core/InformationPanel/index.js +10 -10
- package/cjs/core/Input/Input.d.ts +1 -1
- package/cjs/core/Input/Input.js +31 -8
- package/cjs/core/Input/index.d.ts +2 -2
- package/cjs/core/Input/index.js +2 -2
- package/cjs/core/InputGroup/InputGroup.d.ts +2 -2
- package/cjs/core/InputGroup/InputGroup.js +29 -9
- package/cjs/core/InputGroup/index.d.ts +2 -2
- package/cjs/core/InputGroup/index.js +2 -2
- package/cjs/core/Label/Label.d.ts +1 -1
- package/cjs/core/Label/Label.js +27 -4
- package/cjs/core/Label/index.d.ts +2 -2
- package/cjs/core/Label/index.js +2 -2
- package/cjs/core/LabeledInput/LabeledInput.d.ts +2 -2
- package/cjs/core/LabeledInput/LabeledInput.js +31 -11
- package/cjs/core/LabeledInput/index.d.ts +2 -2
- package/cjs/core/LabeledInput/index.js +2 -2
- package/cjs/core/LabeledSelect/LabeledSelect.d.ts +3 -3
- package/cjs/core/LabeledSelect/LabeledSelect.js +31 -11
- package/cjs/core/LabeledSelect/index.d.ts +2 -2
- package/cjs/core/LabeledSelect/index.js +2 -2
- package/cjs/core/LabeledTextarea/LabeledTextarea.d.ts +3 -3
- package/cjs/core/LabeledTextarea/LabeledTextarea.js +31 -11
- package/cjs/core/LabeledTextarea/index.d.ts +2 -2
- package/cjs/core/LabeledTextarea/index.js +2 -2
- package/cjs/core/List/List.d.ts +1 -1
- package/cjs/core/List/List.js +28 -5
- package/cjs/core/List/ListItem.d.ts +1 -1
- package/cjs/core/List/ListItem.js +34 -11
- package/cjs/core/List/index.d.ts +4 -4
- package/cjs/core/List/index.js +4 -4
- package/cjs/core/Menu/Menu.d.ts +2 -2
- package/cjs/core/Menu/Menu.js +34 -11
- package/cjs/core/Menu/MenuDivider.d.ts +1 -1
- package/cjs/core/Menu/MenuDivider.js +27 -4
- package/cjs/core/Menu/MenuExtraContent.d.ts +2 -2
- package/cjs/core/Menu/MenuExtraContent.js +27 -4
- package/cjs/core/Menu/MenuItem.d.ts +6 -3
- package/cjs/core/Menu/MenuItem.js +44 -21
- package/cjs/core/Menu/MenuItemSkeleton.d.ts +1 -1
- package/cjs/core/Menu/MenuItemSkeleton.js +32 -9
- package/cjs/core/Menu/index.d.ts +10 -10
- package/cjs/core/Menu/index.js +10 -10
- package/cjs/core/Modal/Modal.d.ts +3 -3
- package/cjs/core/Modal/Modal.js +36 -13
- package/cjs/core/Modal/ModalButtonBar.d.ts +2 -2
- package/cjs/core/Modal/ModalButtonBar.js +25 -5
- package/cjs/core/Modal/ModalContent.d.ts +2 -2
- package/cjs/core/Modal/ModalContent.js +25 -5
- package/cjs/core/Modal/index.d.ts +6 -6
- package/cjs/core/Modal/index.js +6 -6
- package/cjs/core/NonIdealState/ErrorPage.d.ts +2 -2
- package/cjs/core/NonIdealState/ErrorPage.js +38 -18
- package/cjs/core/NonIdealState/NonIdealState.d.ts +1 -1
- package/cjs/core/NonIdealState/NonIdealState.js +31 -8
- package/cjs/core/NonIdealState/index.d.ts +4 -4
- package/cjs/core/NonIdealState/index.js +4 -4
- package/cjs/core/NotificationMarker/NotificationMarker.d.ts +1 -1
- package/cjs/core/NotificationMarker/NotificationMarker.js +28 -5
- package/cjs/core/NotificationMarker/index.d.ts +2 -2
- package/cjs/core/NotificationMarker/index.js +2 -2
- package/cjs/core/ProgressIndicators/ProgressLinear/ProgressLinear.d.ts +2 -2
- package/cjs/core/ProgressIndicators/ProgressLinear/ProgressLinear.js +30 -7
- package/cjs/core/ProgressIndicators/ProgressLinear/index.d.ts +2 -2
- package/cjs/core/ProgressIndicators/ProgressLinear/index.js +2 -2
- package/cjs/core/ProgressIndicators/ProgressRadial/ProgressRadial.d.ts +2 -2
- package/cjs/core/ProgressIndicators/ProgressRadial/ProgressRadial.js +35 -12
- package/cjs/core/ProgressIndicators/ProgressRadial/index.d.ts +2 -2
- package/cjs/core/ProgressIndicators/ProgressRadial/index.js +2 -2
- package/cjs/core/ProgressIndicators/index.d.ts +4 -4
- package/cjs/core/ProgressIndicators/index.js +4 -4
- package/cjs/core/Radio/Radio.d.ts +1 -1
- package/cjs/core/Radio/Radio.js +33 -10
- package/cjs/core/Radio/index.d.ts +2 -2
- package/cjs/core/Radio/index.js +2 -2
- package/cjs/core/RadioTiles/RadioTile.d.ts +1 -1
- package/cjs/core/RadioTiles/RadioTile.js +36 -13
- package/cjs/core/RadioTiles/RadioTileGroup.d.ts +1 -1
- package/cjs/core/RadioTiles/RadioTileGroup.js +28 -8
- package/cjs/core/RadioTiles/index.d.ts +4 -4
- package/cjs/core/RadioTiles/index.js +4 -4
- package/cjs/core/SearchBox/SearchBox.d.ts +104 -0
- package/cjs/core/SearchBox/SearchBox.js +200 -0
- package/cjs/core/SearchBox/index.d.ts +4 -0
- package/cjs/core/SearchBox/index.js +10 -0
- package/cjs/core/Select/Select.d.ts +2 -2
- package/cjs/core/Select/Select.js +73 -36
- package/cjs/core/Select/SelectTag.d.ts +1 -1
- package/cjs/core/Select/SelectTag.js +28 -5
- package/cjs/core/Select/SelectTagContainer.d.ts +1 -1
- package/cjs/core/Select/SelectTagContainer.js +33 -10
- package/cjs/core/Select/index.d.ts +2 -2
- package/cjs/core/Select/index.js +2 -2
- package/cjs/core/SideNavigation/SideNavigation.d.ts +2 -2
- package/cjs/core/SideNavigation/SideNavigation.js +38 -15
- package/cjs/core/SideNavigation/SidenavButton.d.ts +2 -2
- package/cjs/core/SideNavigation/SidenavButton.js +29 -6
- package/cjs/core/SideNavigation/SidenavSubmenu.d.ts +2 -2
- package/cjs/core/SideNavigation/SidenavSubmenu.js +29 -6
- package/cjs/core/SideNavigation/SidenavSubmenuHeader.d.ts +2 -2
- package/cjs/core/SideNavigation/SidenavSubmenuHeader.js +29 -6
- package/cjs/core/SideNavigation/index.d.ts +8 -8
- package/cjs/core/SideNavigation/index.js +8 -8
- package/cjs/core/SkipToContentLink/SkipToContentLink.d.ts +1 -1
- package/cjs/core/SkipToContentLink/SkipToContentLink.js +28 -5
- package/cjs/core/SkipToContentLink/index.d.ts +2 -2
- package/cjs/core/SkipToContentLink/index.js +2 -2
- package/cjs/core/Slider/Slider.d.ts +3 -3
- package/cjs/core/Slider/Slider.js +64 -41
- package/cjs/core/Slider/Thumb.d.ts +3 -3
- package/cjs/core/Slider/Thumb.js +32 -9
- package/cjs/core/Slider/Track.d.ts +1 -1
- package/cjs/core/Slider/Track.js +27 -7
- package/cjs/core/Slider/index.d.ts +2 -2
- package/cjs/core/Slider/index.js +2 -2
- package/cjs/core/StatusMessage/StatusMessage.d.ts +1 -1
- package/cjs/core/StatusMessage/StatusMessage.js +31 -8
- package/cjs/core/StatusMessage/index.d.ts +2 -2
- package/cjs/core/StatusMessage/index.js +2 -2
- package/cjs/core/Stepper/Stepper.d.ts +1 -1
- package/cjs/core/Stepper/Stepper.js +31 -11
- package/cjs/core/Stepper/StepperStep.d.ts +1 -1
- package/cjs/core/Stepper/StepperStep.js +30 -7
- package/cjs/core/Stepper/Wizard.d.ts +2 -2
- package/cjs/core/Stepper/Wizard.js +27 -7
- package/cjs/core/Stepper/WorkflowDiagram.d.ts +2 -2
- package/cjs/core/Stepper/WorkflowDiagram.js +29 -9
- package/cjs/core/Stepper/WorkflowDiagramStep.d.ts +2 -2
- package/cjs/core/Stepper/WorkflowDiagramStep.js +28 -5
- package/cjs/core/Stepper/index.d.ts +6 -6
- package/cjs/core/Stepper/index.js +6 -6
- package/cjs/core/Surface/Surface.d.ts +2 -2
- package/cjs/core/Surface/Surface.js +41 -18
- package/cjs/core/Surface/index.d.ts +2 -2
- package/cjs/core/Surface/index.js +2 -2
- package/cjs/core/Table/SubRowExpander.d.ts +2 -2
- package/cjs/core/Table/SubRowExpander.js +27 -7
- package/cjs/core/Table/Table.d.ts +4 -4
- package/cjs/core/Table/Table.js +106 -83
- package/cjs/core/Table/TableCell.d.ts +2 -2
- package/cjs/core/Table/TableCell.js +38 -15
- package/cjs/core/Table/TablePaginator.d.ts +2 -2
- package/cjs/core/Table/TablePaginator.js +59 -36
- package/cjs/core/Table/TableRowMemoized.d.ts +2 -2
- package/cjs/core/Table/TableRowMemoized.js +36 -13
- package/cjs/core/Table/actionHandlers/expandHandler.d.ts +1 -1
- package/cjs/core/Table/actionHandlers/filterHandler.d.ts +2 -2
- package/cjs/core/Table/actionHandlers/index.d.ts +4 -4
- package/cjs/core/Table/actionHandlers/index.js +11 -11
- package/cjs/core/Table/actionHandlers/resizeHandler.d.ts +1 -1
- package/cjs/core/Table/actionHandlers/selectHandler.d.ts +1 -1
- package/cjs/core/Table/cells/DefaultCell.d.ts +2 -2
- package/cjs/core/Table/cells/DefaultCell.js +27 -4
- package/cjs/core/Table/cells/EditableCell.d.ts +2 -2
- package/cjs/core/Table/cells/EditableCell.js +30 -10
- package/cjs/core/Table/cells/index.d.ts +4 -4
- package/cjs/core/Table/cells/index.js +4 -4
- package/cjs/core/Table/columns/actionColumn.d.ts +2 -2
- package/cjs/core/Table/columns/actionColumn.js +42 -19
- package/cjs/core/Table/columns/expanderColumn.d.ts +2 -2
- package/cjs/core/Table/columns/expanderColumn.js +29 -9
- package/cjs/core/Table/columns/index.d.ts +3 -3
- package/cjs/core/Table/columns/index.js +8 -8
- package/cjs/core/Table/columns/selectionColumn.d.ts +1 -1
- package/cjs/core/Table/columns/selectionColumn.js +28 -8
- package/cjs/core/Table/filters/BaseFilter.d.ts +2 -2
- package/cjs/core/Table/filters/BaseFilter.js +27 -4
- package/cjs/core/Table/filters/DateRangeFilter/DatePickerInput.d.ts +1 -1
- package/cjs/core/Table/filters/DateRangeFilter/DatePickerInput.js +39 -19
- package/cjs/core/Table/filters/DateRangeFilter/DateRangeFilter.d.ts +2 -2
- package/cjs/core/Table/filters/DateRangeFilter/DateRangeFilter.js +37 -14
- package/cjs/core/Table/filters/FilterButtonBar.d.ts +2 -2
- package/cjs/core/Table/filters/FilterButtonBar.js +30 -7
- package/cjs/core/Table/filters/FilterToggle.d.ts +2 -2
- package/cjs/core/Table/filters/FilterToggle.js +34 -11
- package/cjs/core/Table/filters/NumberRangeFilter/NumberRangeFilter.d.ts +2 -2
- package/cjs/core/Table/filters/NumberRangeFilter/NumberRangeFilter.js +34 -14
- package/cjs/core/Table/filters/TextFilter/TextFilter.d.ts +2 -2
- package/cjs/core/Table/filters/TextFilter/TextFilter.js +32 -12
- 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/index.d.ts +8 -8
- package/cjs/core/Table/filters/index.js +8 -8
- package/cjs/core/Table/filters/tableFilters.d.ts +4 -4
- package/cjs/core/Table/filters/tableFilters.js +29 -9
- package/cjs/core/Table/filters/types.d.ts +1 -1
- package/cjs/core/Table/hooks/index.d.ts +8 -8
- package/cjs/core/Table/hooks/index.js +16 -16
- package/cjs/core/Table/hooks/useColumnDragAndDrop.d.ts +1 -1
- package/cjs/core/Table/hooks/useExpanderCell.d.ts +2 -2
- package/cjs/core/Table/hooks/useExpanderCell.js +27 -7
- package/cjs/core/Table/hooks/useResizeColumns.d.ts +2 -2
- package/cjs/core/Table/hooks/useResizeColumns.js +3 -0
- package/cjs/core/Table/hooks/useScrollToRow.d.ts +1 -1
- package/cjs/core/Table/hooks/useScrollToRow.js +29 -9
- package/cjs/core/Table/hooks/useSelectionCell.d.ts +1 -1
- package/cjs/core/Table/hooks/useSelectionCell.js +3 -3
- 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/useSubRowFiltering.js +26 -6
- package/cjs/core/Table/hooks/useSubRowSelection.d.ts +1 -1
- package/cjs/core/Table/hooks/useSubRowSelection.js +24 -4
- package/cjs/core/Table/index.d.ts +9 -9
- package/cjs/core/Table/index.js +15 -15
- package/cjs/core/Table/utils.d.ts +1 -1
- package/cjs/core/Tabs/Tab.d.ts +1 -1
- package/cjs/core/Tabs/Tab.js +31 -8
- package/cjs/core/Tabs/Tabs.d.ts +26 -2
- package/cjs/core/Tabs/Tabs.js +247 -48
- package/cjs/core/Tabs/index.d.ts +4 -4
- package/cjs/core/Tabs/index.js +6 -6
- package/cjs/core/Tag/Tag.d.ts +2 -2
- package/cjs/core/Tag/Tag.js +31 -8
- package/cjs/core/Tag/TagContainer.d.ts +2 -2
- package/cjs/core/Tag/TagContainer.js +27 -4
- package/cjs/core/Tag/index.d.ts +4 -4
- package/cjs/core/Tag/index.js +4 -4
- package/cjs/core/Textarea/Textarea.d.ts +1 -1
- package/cjs/core/Textarea/Textarea.js +31 -8
- package/cjs/core/Textarea/index.d.ts +2 -2
- package/cjs/core/Textarea/index.js +2 -2
- package/cjs/core/ThemeProvider/ThemeProvider.d.ts +2 -2
- package/cjs/core/ThemeProvider/ThemeProvider.js +44 -21
- package/cjs/core/ThemeProvider/index.d.ts +2 -2
- package/cjs/core/ThemeProvider/index.js +2 -2
- package/cjs/core/Tile/Tile.d.ts +2 -2
- package/cjs/core/Tile/Tile.js +62 -39
- package/cjs/core/Tile/index.d.ts +2 -2
- package/cjs/core/Tile/index.js +2 -2
- package/cjs/core/TimePicker/TimePicker.d.ts +2 -2
- package/cjs/core/TimePicker/TimePicker.js +45 -22
- package/cjs/core/TimePicker/index.d.ts +2 -2
- package/cjs/core/TimePicker/index.js +2 -2
- package/cjs/core/Toast/Toast.d.ts +2 -2
- package/cjs/core/Toast/Toast.js +48 -25
- package/cjs/core/Toast/ToastWrapper.d.ts +3 -3
- package/cjs/core/Toast/ToastWrapper.js +31 -8
- package/cjs/core/Toast/Toaster.d.ts +2 -2
- package/cjs/core/Toast/Toaster.js +6 -9
- package/cjs/core/Toast/index.d.ts +2 -2
- package/cjs/core/Toast/index.js +2 -2
- package/cjs/core/ToggleSwitch/ToggleSwitch.d.ts +1 -1
- package/cjs/core/ToggleSwitch/ToggleSwitch.js +34 -11
- package/cjs/core/ToggleSwitch/index.d.ts +2 -2
- package/cjs/core/ToggleSwitch/index.js +2 -2
- package/cjs/core/Tooltip/Tooltip.d.ts +2 -2
- package/cjs/core/Tooltip/Tooltip.js +27 -4
- package/cjs/core/Tooltip/index.d.ts +2 -2
- package/cjs/core/Tooltip/index.js +2 -2
- package/cjs/core/Tree/Tree.d.ts +1 -1
- package/cjs/core/Tree/Tree.js +46 -23
- package/cjs/core/Tree/TreeContext.d.ts +1 -1
- package/cjs/core/Tree/TreeContext.js +25 -5
- package/cjs/core/Tree/TreeNode.d.ts +2 -2
- package/cjs/core/Tree/TreeNode.js +45 -22
- package/cjs/core/Tree/TreeNodeExpander.d.ts +1 -1
- package/cjs/core/Tree/TreeNodeExpander.js +28 -5
- package/cjs/core/Tree/index.d.ts +6 -6
- package/cjs/core/Tree/index.js +6 -6
- package/cjs/core/Typography/Anchor/Anchor.d.ts +2 -2
- package/cjs/core/Typography/Anchor/Anchor.js +28 -5
- package/cjs/core/Typography/Anchor/index.d.ts +2 -2
- package/cjs/core/Typography/Anchor/index.js +2 -2
- package/cjs/core/Typography/Blockquote/Blockquote.d.ts +1 -1
- package/cjs/core/Typography/Blockquote/Blockquote.js +29 -6
- package/cjs/core/Typography/Blockquote/index.d.ts +2 -2
- package/cjs/core/Typography/Blockquote/index.js +2 -2
- package/cjs/core/Typography/Body/Body.d.ts +1 -1
- package/cjs/core/Typography/Body/Body.js +28 -5
- package/cjs/core/Typography/Body/index.d.ts +2 -2
- package/cjs/core/Typography/Body/index.js +2 -2
- package/cjs/core/Typography/Code/Code.d.ts +2 -2
- package/cjs/core/Typography/Code/Code.js +27 -4
- package/cjs/core/Typography/Code/index.d.ts +2 -2
- package/cjs/core/Typography/Code/index.js +2 -2
- package/cjs/core/Typography/Headline/Headline.d.ts +1 -1
- package/cjs/core/Typography/Headline/Headline.js +28 -5
- package/cjs/core/Typography/Headline/index.d.ts +2 -2
- package/cjs/core/Typography/Headline/index.js +2 -2
- package/cjs/core/Typography/Kbd/Kbd.d.ts +1 -1
- package/cjs/core/Typography/Kbd/Kbd.js +27 -4
- package/cjs/core/Typography/Kbd/index.d.ts +2 -2
- package/cjs/core/Typography/Kbd/index.js +3 -3
- package/cjs/core/Typography/Leading/Leading.d.ts +1 -1
- package/cjs/core/Typography/Leading/Leading.js +28 -5
- package/cjs/core/Typography/Leading/index.d.ts +2 -2
- package/cjs/core/Typography/Leading/index.js +2 -2
- package/cjs/core/Typography/Small/Small.d.ts +1 -1
- package/cjs/core/Typography/Small/Small.js +28 -5
- package/cjs/core/Typography/Small/index.d.ts +2 -2
- package/cjs/core/Typography/Small/index.js +2 -2
- package/cjs/core/Typography/Subheading/Subheading.d.ts +1 -1
- package/cjs/core/Typography/Subheading/Subheading.js +28 -5
- package/cjs/core/Typography/Subheading/index.d.ts +2 -2
- package/cjs/core/Typography/Subheading/index.js +2 -2
- package/cjs/core/Typography/Text/Text.d.ts +2 -2
- package/cjs/core/Typography/Text/Text.js +28 -5
- package/cjs/core/Typography/Text/index.d.ts +2 -2
- package/cjs/core/Typography/Text/index.js +2 -2
- package/cjs/core/Typography/Title/Title.d.ts +1 -1
- package/cjs/core/Typography/Title/Title.js +28 -5
- package/cjs/core/Typography/Title/index.d.ts +2 -2
- package/cjs/core/Typography/Title/index.js +2 -2
- package/cjs/core/Typography/index.d.ts +22 -22
- package/cjs/core/Typography/index.js +23 -23
- package/cjs/core/index.d.ts +112 -110
- package/cjs/core/index.js +185 -183
- package/cjs/core/utils/color/ColorValue.js +5 -5
- package/cjs/core/utils/color/index.d.ts +1 -1
- package/cjs/core/utils/color/index.js +1 -1
- package/cjs/core/utils/components/AutoclearingHiddenLiveRegion.d.ts +12 -0
- package/cjs/core/utils/components/AutoclearingHiddenLiveRegion.js +52 -0
- package/cjs/core/utils/components/Divider.d.ts +1 -1
- package/cjs/core/utils/components/Divider.js +28 -5
- package/cjs/core/utils/components/Flex.d.ts +3 -3
- package/cjs/core/utils/components/Flex.js +30 -7
- package/cjs/core/utils/components/FocusTrap.js +32 -12
- package/cjs/core/utils/components/Icon.d.ts +27 -4
- package/cjs/core/utils/components/Icon.js +26 -3
- package/cjs/core/utils/components/InputContainer.d.ts +1 -1
- package/cjs/core/utils/components/InputContainer.js +29 -6
- package/cjs/core/utils/components/InputFlexContainer.d.ts +13 -0
- package/cjs/core/utils/components/InputFlexContainer.js +21 -0
- package/cjs/core/utils/components/LinkAction.d.ts +1 -1
- package/cjs/core/utils/components/LinkAction.js +28 -5
- package/cjs/core/utils/components/MiddleTextTruncation.d.ts +2 -2
- package/cjs/core/utils/components/MiddleTextTruncation.js +27 -7
- package/cjs/core/utils/components/Popover.d.ts +2 -2
- package/cjs/core/utils/components/Popover.js +39 -12
- package/cjs/core/utils/components/Resizer.d.ts +1 -1
- package/cjs/core/utils/components/Resizer.js +37 -17
- package/cjs/core/utils/components/VirtualScroll.d.ts +1 -1
- package/cjs/core/utils/components/VirtualScroll.js +28 -31
- package/cjs/core/utils/components/VisuallyHidden.d.ts +1 -1
- package/cjs/core/utils/components/VisuallyHidden.js +28 -5
- package/cjs/core/utils/components/WithCSSTransition.d.ts +1 -1
- package/cjs/core/utils/components/WithCSSTransition.js +26 -6
- package/cjs/core/utils/components/index.d.ts +14 -12
- package/cjs/core/utils/components/index.js +14 -12
- package/cjs/core/utils/functions/index.d.ts +7 -7
- package/cjs/core/utils/functions/index.js +7 -7
- package/cjs/core/utils/functions/supports.js +2 -2
- package/cjs/core/utils/hooks/index.d.ts +14 -14
- package/cjs/core/utils/hooks/index.js +14 -14
- package/cjs/core/utils/hooks/useContainerWidth.js +30 -10
- package/cjs/core/utils/hooks/useDragAndDrop.d.ts +1 -1
- package/cjs/core/utils/hooks/useDragAndDrop.js +44 -24
- package/cjs/core/utils/hooks/useEventListener.js +26 -6
- package/cjs/core/utils/hooks/useId.js +29 -6
- package/cjs/core/utils/hooks/useIntersection.js +27 -7
- package/cjs/core/utils/hooks/useIsClient.js +25 -5
- package/cjs/core/utils/hooks/useIsThemeAlreadySet.d.ts +1 -1
- package/cjs/core/utils/hooks/useIsThemeAlreadySet.js +30 -10
- package/cjs/core/utils/hooks/useIsomorphicLayoutEffect.d.ts +1 -1
- package/cjs/core/utils/hooks/useIsomorphicLayoutEffect.js +24 -4
- package/cjs/core/utils/hooks/useLatestRef.d.ts +1 -1
- package/cjs/core/utils/hooks/useLatestRef.js +25 -5
- package/cjs/core/utils/hooks/useMediaQuery.js +28 -8
- package/cjs/core/utils/hooks/useMergedRefs.d.ts +1 -1
- package/cjs/core/utils/hooks/useMergedRefs.js +24 -4
- package/cjs/core/utils/hooks/useOverflow.d.ts +1 -1
- package/cjs/core/utils/hooks/useOverflow.js +38 -18
- package/cjs/core/utils/hooks/useResizeObserver.js +27 -7
- package/cjs/core/utils/hooks/useSafeContext.d.ts +1 -1
- package/cjs/core/utils/hooks/useSafeContext.js +24 -4
- package/cjs/core/utils/hooks/useTheme.js +7 -7
- package/cjs/core/utils/icons/StatusIconMap.d.ts +1 -1
- package/cjs/core/utils/icons/StatusIconMap.js +8 -8
- package/cjs/core/utils/icons/SvgSearch.d.ts +2 -0
- package/cjs/core/utils/icons/SvgSearch.js +36 -0
- package/cjs/core/utils/icons/index.d.ts +31 -30
- package/cjs/core/utils/icons/index.js +31 -30
- package/cjs/core/utils/index.d.ts +7 -7
- package/cjs/core/utils/index.js +7 -7
- package/cjs/core/utils/props.d.ts +1 -1
- package/cjs/index.d.ts +2 -2
- package/cjs/index.js +2 -2
- package/cjs/types/react-table-config.d.ts +1 -1
- package/esm/core/Alert/Alert.d.ts +2 -2
- package/esm/core/Alert/Alert.js +2 -2
- package/esm/core/Alert/index.d.ts +2 -2
- package/esm/core/Alert/index.js +1 -1
- package/esm/core/Avatar/Avatar.d.ts +1 -1
- package/esm/core/Avatar/Avatar.js +2 -2
- package/esm/core/Avatar/index.d.ts +2 -2
- package/esm/core/Avatar/index.js +1 -1
- package/esm/core/AvatarGroup/AvatarGroup.d.ts +2 -2
- package/esm/core/AvatarGroup/AvatarGroup.js +2 -2
- package/esm/core/AvatarGroup/index.d.ts +2 -2
- package/esm/core/AvatarGroup/index.js +1 -1
- package/esm/core/Backdrop/Backdrop.d.ts +1 -1
- package/esm/core/Backdrop/Backdrop.js +2 -2
- package/esm/core/Backdrop/index.d.ts +2 -2
- package/esm/core/Backdrop/index.js +1 -1
- package/esm/core/Badge/Badge.d.ts +3 -2
- package/esm/core/Badge/Badge.js +2 -2
- package/esm/core/Badge/index.d.ts +2 -2
- package/esm/core/Badge/index.js +1 -1
- package/esm/core/Breadcrumbs/Breadcrumbs.d.ts +2 -2
- package/esm/core/Breadcrumbs/Breadcrumbs.js +2 -2
- package/esm/core/Breadcrumbs/index.d.ts +2 -2
- package/esm/core/Breadcrumbs/index.js +1 -1
- package/esm/core/ButtonGroup/ButtonGroup.d.ts +1 -1
- package/esm/core/ButtonGroup/ButtonGroup.js +6 -3
- package/esm/core/ButtonGroup/index.d.ts +2 -2
- package/esm/core/ButtonGroup/index.js +1 -1
- package/esm/core/Buttons/Button/Button.d.ts +2 -2
- package/esm/core/Buttons/Button/Button.js +2 -2
- package/esm/core/Buttons/Button/index.d.ts +2 -2
- package/esm/core/Buttons/Button/index.js +1 -1
- package/esm/core/Buttons/DropdownButton/DropdownButton.d.ts +3 -3
- package/esm/core/Buttons/DropdownButton/DropdownButton.js +4 -4
- package/esm/core/Buttons/DropdownButton/index.d.ts +2 -2
- package/esm/core/Buttons/DropdownButton/index.js +1 -1
- package/esm/core/Buttons/IconButton/IconButton.d.ts +3 -3
- package/esm/core/Buttons/IconButton/IconButton.js +2 -2
- package/esm/core/Buttons/IconButton/index.d.ts +2 -2
- package/esm/core/Buttons/IconButton/index.js +1 -1
- package/esm/core/Buttons/IdeasButton/IdeasButton.d.ts +1 -1
- package/esm/core/Buttons/IdeasButton/IdeasButton.js +3 -3
- package/esm/core/Buttons/IdeasButton/index.d.ts +2 -2
- package/esm/core/Buttons/IdeasButton/index.js +1 -1
- package/esm/core/Buttons/SplitButton/SplitButton.d.ts +4 -4
- package/esm/core/Buttons/SplitButton/SplitButton.js +5 -5
- package/esm/core/Buttons/SplitButton/index.d.ts +2 -2
- package/esm/core/Buttons/SplitButton/index.js +1 -1
- package/esm/core/Buttons/index.d.ts +10 -10
- package/esm/core/Buttons/index.js +5 -5
- package/esm/core/Carousel/Carousel.d.ts +3 -3
- package/esm/core/Carousel/Carousel.js +8 -8
- package/esm/core/Carousel/CarouselContext.d.ts +1 -1
- package/esm/core/Carousel/CarouselContext.js +1 -1
- package/esm/core/Carousel/CarouselDot.d.ts +1 -1
- package/esm/core/Carousel/CarouselDot.js +1 -1
- package/esm/core/Carousel/CarouselDotsList.d.ts +1 -1
- package/esm/core/Carousel/CarouselDotsList.js +4 -4
- package/esm/core/Carousel/CarouselNavigation.d.ts +3 -3
- package/esm/core/Carousel/CarouselNavigation.js +5 -5
- package/esm/core/Carousel/CarouselSlide.d.ts +1 -1
- package/esm/core/Carousel/CarouselSlide.js +3 -3
- package/esm/core/Carousel/CarouselSlider.d.ts +1 -1
- package/esm/core/Carousel/CarouselSlider.js +3 -3
- package/esm/core/Carousel/index.d.ts +2 -2
- package/esm/core/Carousel/index.js +1 -1
- package/esm/core/Checkbox/Checkbox.d.ts +1 -1
- package/esm/core/Checkbox/Checkbox.js +3 -3
- package/esm/core/Checkbox/index.d.ts +2 -2
- package/esm/core/Checkbox/index.js +1 -1
- package/esm/core/ColorPicker/ColorBuilder.d.ts +2 -2
- package/esm/core/ColorPicker/ColorBuilder.js +4 -4
- package/esm/core/ColorPicker/ColorInputPanel.d.ts +2 -2
- package/esm/core/ColorPicker/ColorInputPanel.js +5 -5
- package/esm/core/ColorPicker/ColorPalette.d.ts +3 -2
- package/esm/core/ColorPicker/ColorPalette.js +5 -5
- package/esm/core/ColorPicker/ColorPicker.d.ts +3 -2
- package/esm/core/ColorPicker/ColorPicker.js +3 -3
- package/esm/core/ColorPicker/ColorPickerContext.d.ts +2 -2
- package/esm/core/ColorPicker/ColorPickerContext.js +1 -1
- package/esm/core/ColorPicker/ColorSwatch.d.ts +3 -2
- package/esm/core/ColorPicker/ColorSwatch.js +3 -3
- package/esm/core/ColorPicker/index.d.ts +10 -10
- package/esm/core/ColorPicker/index.js +5 -5
- package/esm/core/ComboBox/ComboBox.d.ts +4 -4
- package/esm/core/ComboBox/ComboBox.js +20 -13
- package/esm/core/ComboBox/ComboBoxDropdown.d.ts +2 -2
- package/esm/core/ComboBox/ComboBoxDropdown.js +3 -3
- package/esm/core/ComboBox/ComboBoxEndIcon.d.ts +1 -1
- package/esm/core/ComboBox/ComboBoxEndIcon.js +3 -3
- package/esm/core/ComboBox/ComboBoxInput.d.ts +1 -1
- package/esm/core/ComboBox/ComboBoxInput.js +7 -7
- package/esm/core/ComboBox/ComboBoxInputContainer.d.ts +2 -2
- package/esm/core/ComboBox/ComboBoxInputContainer.js +4 -4
- package/esm/core/ComboBox/ComboBoxMenu.d.ts +2 -2
- package/esm/core/ComboBox/ComboBoxMenu.js +5 -5
- package/esm/core/ComboBox/ComboBoxMenuItem.d.ts +2 -2
- package/esm/core/ComboBox/ComboBoxMenuItem.js +3 -3
- package/esm/core/ComboBox/ComboBoxMultipleContainer.d.ts +1 -1
- package/esm/core/ComboBox/ComboBoxMultipleContainer.js +2 -2
- package/esm/core/ComboBox/helpers.d.ts +2 -2
- package/esm/core/ComboBox/helpers.js +1 -1
- package/esm/core/ComboBox/index.d.ts +2 -2
- package/esm/core/ComboBox/index.js +1 -1
- package/esm/core/DatePicker/DatePicker.d.ts +1 -1
- package/esm/core/DatePicker/DatePicker.js +4 -4
- package/esm/core/DatePicker/index.d.ts +2 -2
- package/esm/core/DatePicker/index.js +1 -1
- package/esm/core/Dialog/Dialog.d.ts +8 -8
- package/esm/core/Dialog/Dialog.js +8 -8
- package/esm/core/Dialog/DialogBackdrop.d.ts +3 -3
- package/esm/core/Dialog/DialogBackdrop.js +4 -4
- package/esm/core/Dialog/DialogButtonBar.d.ts +1 -1
- package/esm/core/Dialog/DialogButtonBar.js +2 -2
- package/esm/core/Dialog/DialogContent.d.ts +1 -1
- package/esm/core/Dialog/DialogContent.js +2 -2
- package/esm/core/Dialog/DialogContext.d.ts +1 -1
- package/esm/core/Dialog/DialogContext.js +1 -1
- package/esm/core/Dialog/DialogDragContext.d.ts +1 -1
- package/esm/core/Dialog/DialogDragContext.js +1 -1
- package/esm/core/Dialog/DialogMain.d.ts +2 -2
- package/esm/core/Dialog/DialogMain.js +5 -5
- package/esm/core/Dialog/DialogTitleBar.d.ts +3 -3
- package/esm/core/Dialog/DialogTitleBar.js +6 -6
- package/esm/core/Dialog/DialogTitleBarTitle.d.ts +1 -1
- package/esm/core/Dialog/DialogTitleBarTitle.js +2 -2
- package/esm/core/Dialog/index.d.ts +6 -6
- package/esm/core/Dialog/index.js +1 -1
- package/esm/core/DropdownMenu/DropdownMenu.d.ts +2 -2
- package/esm/core/DropdownMenu/DropdownMenu.js +3 -3
- package/esm/core/DropdownMenu/index.d.ts +2 -2
- package/esm/core/DropdownMenu/index.js +1 -1
- package/esm/core/ExpandableBlock/ExpandableBlock.d.ts +2 -2
- package/esm/core/ExpandableBlock/ExpandableBlock.js +2 -2
- package/esm/core/ExpandableBlock/index.d.ts +2 -2
- package/esm/core/ExpandableBlock/index.js +1 -1
- package/esm/core/Fieldset/Fieldset.d.ts +1 -1
- package/esm/core/Fieldset/Fieldset.js +2 -2
- package/esm/core/Fieldset/index.d.ts +2 -2
- package/esm/core/Fieldset/index.js +1 -1
- package/esm/core/FileUpload/FileEmptyCard.d.ts +1 -1
- package/esm/core/FileUpload/FileEmptyCard.js +3 -3
- package/esm/core/FileUpload/FileUpload.d.ts +3 -3
- package/esm/core/FileUpload/FileUpload.js +2 -2
- package/esm/core/FileUpload/FileUploadCard.d.ts +1 -1
- package/esm/core/FileUpload/FileUploadCard.js +3 -4
- package/esm/core/FileUpload/FileUploadTemplate.d.ts +1 -1
- package/esm/core/FileUpload/FileUploadTemplate.js +2 -2
- package/esm/core/FileUpload/index.d.ts +8 -8
- package/esm/core/FileUpload/index.js +4 -4
- package/esm/core/Footer/Footer.d.ts +3 -3
- package/esm/core/Footer/Footer.js +5 -5
- package/esm/core/Footer/FooterItem.d.ts +1 -1
- package/esm/core/Footer/FooterItem.js +2 -2
- package/esm/core/Footer/FooterList.d.ts +1 -1
- package/esm/core/Footer/FooterList.js +2 -2
- package/esm/core/Footer/FooterSeparator.d.ts +1 -1
- package/esm/core/Footer/FooterSeparator.js +2 -2
- package/esm/core/Footer/index.d.ts +2 -2
- package/esm/core/Footer/index.js +1 -1
- package/esm/core/Header/Header.d.ts +2 -2
- package/esm/core/Header/Header.js +4 -4
- package/esm/core/Header/HeaderBasicButton.d.ts +2 -2
- package/esm/core/Header/HeaderBasicButton.js +2 -2
- package/esm/core/Header/HeaderBreadcrumbs.d.ts +1 -1
- package/esm/core/Header/HeaderBreadcrumbs.js +2 -2
- package/esm/core/Header/HeaderButton.d.ts +4 -4
- package/esm/core/Header/HeaderButton.js +5 -5
- package/esm/core/Header/HeaderDropdownButton.d.ts +2 -2
- package/esm/core/Header/HeaderDropdownButton.js +4 -4
- package/esm/core/Header/HeaderLogo.d.ts +1 -1
- package/esm/core/Header/HeaderLogo.js +2 -2
- package/esm/core/Header/HeaderSplitButton.d.ts +2 -2
- package/esm/core/Header/HeaderSplitButton.js +4 -4
- package/esm/core/Header/index.d.ts +8 -8
- package/esm/core/Header/index.js +4 -4
- package/esm/core/InformationPanel/InformationPanel.d.ts +2 -2
- package/esm/core/InformationPanel/InformationPanel.js +2 -2
- package/esm/core/InformationPanel/InformationPanelBody.d.ts +2 -2
- package/esm/core/InformationPanel/InformationPanelBody.js +2 -2
- package/esm/core/InformationPanel/InformationPanelContent.d.ts +2 -2
- package/esm/core/InformationPanel/InformationPanelContent.js +2 -2
- package/esm/core/InformationPanel/InformationPanelHeader.d.ts +2 -2
- package/esm/core/InformationPanel/InformationPanelHeader.js +3 -3
- package/esm/core/InformationPanel/InformationPanelWrapper.d.ts +2 -2
- package/esm/core/InformationPanel/InformationPanelWrapper.js +2 -2
- package/esm/core/InformationPanel/index.d.ts +10 -10
- package/esm/core/InformationPanel/index.js +5 -5
- package/esm/core/Input/Input.d.ts +1 -1
- package/esm/core/Input/Input.js +2 -2
- package/esm/core/Input/index.d.ts +2 -2
- package/esm/core/Input/index.js +1 -1
- package/esm/core/InputGroup/InputGroup.d.ts +2 -2
- package/esm/core/InputGroup/InputGroup.js +2 -2
- package/esm/core/InputGroup/index.d.ts +2 -2
- package/esm/core/InputGroup/index.js +1 -1
- package/esm/core/Label/Label.d.ts +1 -1
- package/esm/core/Label/Label.js +2 -2
- package/esm/core/Label/index.d.ts +2 -2
- package/esm/core/Label/index.js +1 -1
- package/esm/core/LabeledInput/LabeledInput.d.ts +2 -2
- package/esm/core/LabeledInput/LabeledInput.js +3 -3
- package/esm/core/LabeledInput/index.d.ts +2 -2
- package/esm/core/LabeledInput/index.js +1 -1
- package/esm/core/LabeledSelect/LabeledSelect.d.ts +3 -3
- package/esm/core/LabeledSelect/LabeledSelect.js +3 -3
- package/esm/core/LabeledSelect/index.d.ts +2 -2
- package/esm/core/LabeledSelect/index.js +1 -1
- package/esm/core/LabeledTextarea/LabeledTextarea.d.ts +3 -3
- package/esm/core/LabeledTextarea/LabeledTextarea.js +3 -3
- package/esm/core/LabeledTextarea/index.d.ts +2 -2
- package/esm/core/LabeledTextarea/index.js +1 -1
- package/esm/core/List/List.d.ts +1 -1
- package/esm/core/List/List.js +2 -2
- package/esm/core/List/ListItem.d.ts +1 -1
- package/esm/core/List/ListItem.js +2 -2
- package/esm/core/List/index.d.ts +4 -4
- package/esm/core/List/index.js +2 -2
- package/esm/core/Menu/Menu.d.ts +2 -2
- package/esm/core/Menu/Menu.js +2 -2
- package/esm/core/Menu/MenuDivider.d.ts +1 -1
- package/esm/core/Menu/MenuDivider.js +2 -2
- package/esm/core/Menu/MenuExtraContent.d.ts +2 -2
- package/esm/core/Menu/MenuExtraContent.js +2 -2
- package/esm/core/Menu/MenuItem.d.ts +6 -3
- package/esm/core/Menu/MenuItem.js +3 -3
- package/esm/core/Menu/MenuItemSkeleton.d.ts +1 -1
- package/esm/core/Menu/MenuItemSkeleton.js +2 -2
- package/esm/core/Menu/index.d.ts +10 -10
- package/esm/core/Menu/index.js +5 -5
- package/esm/core/Modal/Modal.d.ts +3 -3
- package/esm/core/Modal/Modal.js +3 -3
- package/esm/core/Modal/ModalButtonBar.d.ts +2 -2
- package/esm/core/Modal/ModalButtonBar.js +2 -2
- package/esm/core/Modal/ModalContent.d.ts +2 -2
- package/esm/core/Modal/ModalContent.js +2 -2
- package/esm/core/Modal/index.d.ts +6 -6
- package/esm/core/Modal/index.js +3 -3
- package/esm/core/NonIdealState/ErrorPage.d.ts +2 -2
- package/esm/core/NonIdealState/ErrorPage.js +3 -3
- package/esm/core/NonIdealState/NonIdealState.d.ts +1 -1
- package/esm/core/NonIdealState/NonIdealState.js +2 -2
- package/esm/core/NonIdealState/index.d.ts +4 -4
- package/esm/core/NonIdealState/index.js +2 -2
- package/esm/core/NotificationMarker/NotificationMarker.d.ts +1 -1
- package/esm/core/NotificationMarker/NotificationMarker.js +2 -2
- package/esm/core/NotificationMarker/index.d.ts +2 -2
- package/esm/core/NotificationMarker/index.js +1 -1
- package/esm/core/ProgressIndicators/ProgressLinear/ProgressLinear.d.ts +2 -2
- package/esm/core/ProgressIndicators/ProgressLinear/ProgressLinear.js +2 -2
- package/esm/core/ProgressIndicators/ProgressLinear/index.d.ts +2 -2
- package/esm/core/ProgressIndicators/ProgressLinear/index.js +1 -1
- package/esm/core/ProgressIndicators/ProgressRadial/ProgressRadial.d.ts +2 -2
- package/esm/core/ProgressIndicators/ProgressRadial/ProgressRadial.js +2 -2
- package/esm/core/ProgressIndicators/ProgressRadial/index.d.ts +2 -2
- package/esm/core/ProgressIndicators/ProgressRadial/index.js +1 -1
- package/esm/core/ProgressIndicators/index.d.ts +4 -4
- package/esm/core/ProgressIndicators/index.js +2 -2
- package/esm/core/Radio/Radio.d.ts +1 -1
- package/esm/core/Radio/Radio.js +2 -2
- package/esm/core/Radio/index.d.ts +2 -2
- package/esm/core/Radio/index.js +1 -1
- package/esm/core/RadioTiles/RadioTile.d.ts +1 -1
- package/esm/core/RadioTiles/RadioTile.js +2 -2
- package/esm/core/RadioTiles/RadioTileGroup.d.ts +1 -1
- package/esm/core/RadioTiles/RadioTileGroup.js +3 -3
- package/esm/core/RadioTiles/index.d.ts +4 -4
- package/esm/core/RadioTiles/index.js +2 -2
- package/esm/core/SearchBox/SearchBox.d.ts +104 -0
- package/esm/core/SearchBox/SearchBox.js +171 -0
- package/esm/core/SearchBox/index.d.ts +4 -0
- package/esm/core/SearchBox/index.js +6 -0
- package/esm/core/Select/Select.d.ts +2 -2
- package/esm/core/Select/Select.js +20 -6
- package/esm/core/Select/SelectTag.d.ts +1 -1
- package/esm/core/Select/SelectTag.js +2 -2
- package/esm/core/Select/SelectTagContainer.d.ts +1 -1
- package/esm/core/Select/SelectTagContainer.js +3 -3
- package/esm/core/Select/index.d.ts +2 -2
- package/esm/core/Select/index.js +1 -1
- package/esm/core/SideNavigation/SideNavigation.d.ts +2 -2
- package/esm/core/SideNavigation/SideNavigation.js +4 -4
- package/esm/core/SideNavigation/SidenavButton.d.ts +2 -2
- package/esm/core/SideNavigation/SidenavButton.js +3 -3
- package/esm/core/SideNavigation/SidenavSubmenu.d.ts +2 -2
- package/esm/core/SideNavigation/SidenavSubmenu.js +2 -2
- package/esm/core/SideNavigation/SidenavSubmenuHeader.d.ts +2 -2
- package/esm/core/SideNavigation/SidenavSubmenuHeader.js +2 -2
- package/esm/core/SideNavigation/index.d.ts +8 -8
- package/esm/core/SideNavigation/index.js +4 -4
- package/esm/core/SkipToContentLink/SkipToContentLink.d.ts +1 -1
- package/esm/core/SkipToContentLink/SkipToContentLink.js +2 -2
- package/esm/core/SkipToContentLink/index.d.ts +2 -2
- package/esm/core/SkipToContentLink/index.js +1 -1
- package/esm/core/Slider/Slider.d.ts +3 -3
- package/esm/core/Slider/Slider.js +4 -4
- package/esm/core/Slider/Thumb.d.ts +3 -3
- package/esm/core/Slider/Thumb.js +2 -2
- package/esm/core/Slider/Track.d.ts +1 -1
- package/esm/core/Slider/Track.js +1 -1
- package/esm/core/Slider/index.d.ts +2 -2
- package/esm/core/Slider/index.js +1 -1
- package/esm/core/StatusMessage/StatusMessage.d.ts +1 -1
- package/esm/core/StatusMessage/StatusMessage.js +2 -2
- package/esm/core/StatusMessage/index.d.ts +2 -2
- package/esm/core/StatusMessage/index.js +1 -1
- package/esm/core/Stepper/Stepper.d.ts +1 -1
- package/esm/core/Stepper/Stepper.js +3 -3
- package/esm/core/Stepper/StepperStep.d.ts +1 -1
- package/esm/core/Stepper/StepperStep.js +2 -2
- package/esm/core/Stepper/Wizard.d.ts +2 -2
- package/esm/core/Stepper/Wizard.js +3 -3
- package/esm/core/Stepper/WorkflowDiagram.d.ts +2 -2
- package/esm/core/Stepper/WorkflowDiagram.js +3 -3
- package/esm/core/Stepper/WorkflowDiagramStep.d.ts +2 -2
- package/esm/core/Stepper/WorkflowDiagramStep.js +2 -2
- package/esm/core/Stepper/index.d.ts +6 -6
- package/esm/core/Stepper/index.js +3 -3
- package/esm/core/Surface/Surface.d.ts +2 -2
- package/esm/core/Surface/Surface.js +2 -2
- package/esm/core/Surface/index.d.ts +2 -2
- package/esm/core/Surface/index.js +1 -1
- package/esm/core/Table/SubRowExpander.d.ts +2 -2
- package/esm/core/Table/SubRowExpander.js +3 -3
- package/esm/core/Table/Table.d.ts +4 -4
- package/esm/core/Table/Table.js +11 -11
- package/esm/core/Table/TableCell.d.ts +2 -2
- package/esm/core/Table/TableCell.js +5 -5
- package/esm/core/Table/TablePaginator.d.ts +2 -2
- package/esm/core/Table/TablePaginator.js +5 -5
- package/esm/core/Table/TableRowMemoized.d.ts +2 -2
- package/esm/core/Table/TableRowMemoized.js +3 -3
- package/esm/core/Table/actionHandlers/expandHandler.d.ts +1 -1
- package/esm/core/Table/actionHandlers/filterHandler.d.ts +2 -2
- package/esm/core/Table/actionHandlers/index.d.ts +4 -4
- package/esm/core/Table/actionHandlers/index.js +4 -4
- package/esm/core/Table/actionHandlers/resizeHandler.d.ts +1 -1
- package/esm/core/Table/actionHandlers/selectHandler.d.ts +1 -1
- package/esm/core/Table/cells/DefaultCell.d.ts +2 -2
- package/esm/core/Table/cells/DefaultCell.js +1 -1
- package/esm/core/Table/cells/EditableCell.d.ts +2 -2
- package/esm/core/Table/cells/EditableCell.js +2 -2
- package/esm/core/Table/cells/index.d.ts +4 -4
- package/esm/core/Table/cells/index.js +2 -2
- package/esm/core/Table/columns/actionColumn.d.ts +2 -2
- package/esm/core/Table/columns/actionColumn.js +9 -9
- package/esm/core/Table/columns/expanderColumn.d.ts +2 -2
- package/esm/core/Table/columns/expanderColumn.js +4 -4
- package/esm/core/Table/columns/index.d.ts +3 -3
- package/esm/core/Table/columns/index.js +3 -3
- package/esm/core/Table/columns/selectionColumn.d.ts +1 -1
- package/esm/core/Table/columns/selectionColumn.js +3 -3
- package/esm/core/Table/filters/BaseFilter.d.ts +2 -2
- package/esm/core/Table/filters/BaseFilter.js +2 -2
- package/esm/core/Table/filters/DateRangeFilter/DatePickerInput.d.ts +1 -1
- package/esm/core/Table/filters/DateRangeFilter/DatePickerInput.js +5 -5
- package/esm/core/Table/filters/DateRangeFilter/DateRangeFilter.d.ts +2 -2
- package/esm/core/Table/filters/DateRangeFilter/DateRangeFilter.js +5 -5
- package/esm/core/Table/filters/FilterButtonBar.d.ts +2 -2
- package/esm/core/Table/filters/FilterButtonBar.js +3 -3
- package/esm/core/Table/filters/FilterToggle.d.ts +2 -2
- package/esm/core/Table/filters/FilterToggle.js +3 -3
- package/esm/core/Table/filters/NumberRangeFilter/NumberRangeFilter.d.ts +2 -2
- package/esm/core/Table/filters/NumberRangeFilter/NumberRangeFilter.js +5 -5
- package/esm/core/Table/filters/TextFilter/TextFilter.d.ts +2 -2
- package/esm/core/Table/filters/TextFilter/TextFilter.js +5 -5
- 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/index.d.ts +8 -8
- package/esm/core/Table/filters/index.js +4 -4
- package/esm/core/Table/filters/tableFilters.d.ts +4 -4
- package/esm/core/Table/filters/tableFilters.js +4 -4
- package/esm/core/Table/filters/types.d.ts +1 -1
- package/esm/core/Table/hooks/index.d.ts +8 -8
- package/esm/core/Table/hooks/index.js +8 -8
- package/esm/core/Table/hooks/useColumnDragAndDrop.d.ts +1 -1
- package/esm/core/Table/hooks/useColumnDragAndDrop.js +1 -1
- package/esm/core/Table/hooks/useExpanderCell.d.ts +2 -2
- package/esm/core/Table/hooks/useExpanderCell.js +2 -2
- package/esm/core/Table/hooks/useResizeColumns.d.ts +2 -2
- package/esm/core/Table/hooks/useResizeColumns.js +4 -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/useSelectionCell.js +1 -1
- package/esm/core/Table/hooks/useStickyColumns.d.ts +1 -1
- package/esm/core/Table/hooks/useStickyColumns.js +1 -1
- package/esm/core/Table/hooks/useSubRowFiltering.d.ts +1 -1
- package/esm/core/Table/hooks/useSubRowFiltering.js +2 -2
- package/esm/core/Table/hooks/useSubRowSelection.d.ts +1 -1
- package/esm/core/Table/hooks/useSubRowSelection.js +1 -1
- package/esm/core/Table/index.d.ts +9 -9
- package/esm/core/Table/index.js +5 -5
- package/esm/core/Table/utils.d.ts +1 -1
- package/esm/core/Tabs/Tab.d.ts +1 -1
- package/esm/core/Tabs/Tab.js +2 -2
- package/esm/core/Tabs/Tabs.d.ts +26 -2
- package/esm/core/Tabs/Tabs.js +201 -25
- package/esm/core/Tabs/index.d.ts +4 -4
- package/esm/core/Tabs/index.js +2 -2
- package/esm/core/Tag/Tag.d.ts +2 -2
- package/esm/core/Tag/Tag.js +3 -3
- package/esm/core/Tag/TagContainer.d.ts +2 -2
- package/esm/core/Tag/TagContainer.js +2 -2
- package/esm/core/Tag/index.d.ts +4 -4
- package/esm/core/Tag/index.js +2 -2
- package/esm/core/Textarea/Textarea.d.ts +1 -1
- package/esm/core/Textarea/Textarea.js +2 -2
- package/esm/core/Textarea/index.d.ts +2 -2
- package/esm/core/Textarea/index.js +1 -1
- package/esm/core/ThemeProvider/ThemeProvider.d.ts +2 -2
- package/esm/core/ThemeProvider/ThemeProvider.js +2 -2
- package/esm/core/ThemeProvider/index.d.ts +2 -2
- package/esm/core/ThemeProvider/index.js +1 -1
- package/esm/core/Tile/Tile.d.ts +2 -2
- package/esm/core/Tile/Tile.js +5 -5
- package/esm/core/Tile/index.d.ts +2 -2
- package/esm/core/Tile/index.js +1 -1
- package/esm/core/TimePicker/TimePicker.d.ts +2 -2
- package/esm/core/TimePicker/TimePicker.js +2 -2
- package/esm/core/TimePicker/index.d.ts +2 -2
- package/esm/core/TimePicker/index.js +1 -1
- package/esm/core/Toast/Toast.d.ts +2 -2
- package/esm/core/Toast/Toast.js +3 -3
- package/esm/core/Toast/ToastWrapper.d.ts +3 -3
- package/esm/core/Toast/ToastWrapper.js +2 -2
- package/esm/core/Toast/Toaster.d.ts +2 -2
- package/esm/core/Toast/Toaster.js +3 -3
- package/esm/core/Toast/index.d.ts +2 -2
- package/esm/core/Toast/index.js +1 -1
- package/esm/core/ToggleSwitch/ToggleSwitch.d.ts +1 -1
- package/esm/core/ToggleSwitch/ToggleSwitch.js +2 -2
- package/esm/core/ToggleSwitch/index.d.ts +2 -2
- package/esm/core/ToggleSwitch/index.js +1 -1
- package/esm/core/Tooltip/Tooltip.d.ts +2 -2
- package/esm/core/Tooltip/Tooltip.js +2 -2
- package/esm/core/Tooltip/index.d.ts +2 -2
- package/esm/core/Tooltip/index.js +1 -1
- package/esm/core/Tree/Tree.d.ts +1 -1
- package/esm/core/Tree/Tree.js +3 -3
- package/esm/core/Tree/TreeContext.d.ts +1 -1
- package/esm/core/Tree/TreeContext.js +1 -1
- package/esm/core/Tree/TreeNode.d.ts +2 -2
- package/esm/core/Tree/TreeNode.js +4 -4
- package/esm/core/Tree/TreeNodeExpander.d.ts +1 -1
- package/esm/core/Tree/TreeNodeExpander.js +3 -3
- package/esm/core/Tree/index.d.ts +6 -6
- package/esm/core/Tree/index.js +3 -3
- package/esm/core/Typography/Anchor/Anchor.d.ts +2 -2
- package/esm/core/Typography/Anchor/Anchor.js +2 -2
- package/esm/core/Typography/Anchor/index.d.ts +2 -2
- package/esm/core/Typography/Anchor/index.js +1 -1
- package/esm/core/Typography/Blockquote/Blockquote.d.ts +1 -1
- package/esm/core/Typography/Blockquote/Blockquote.js +2 -2
- package/esm/core/Typography/Blockquote/index.d.ts +2 -2
- package/esm/core/Typography/Blockquote/index.js +1 -1
- package/esm/core/Typography/Body/Body.d.ts +1 -1
- package/esm/core/Typography/Body/Body.js +2 -2
- package/esm/core/Typography/Body/index.d.ts +2 -2
- package/esm/core/Typography/Body/index.js +1 -1
- package/esm/core/Typography/Code/Code.d.ts +2 -2
- package/esm/core/Typography/Code/Code.js +2 -2
- package/esm/core/Typography/Code/index.d.ts +2 -2
- package/esm/core/Typography/Code/index.js +1 -1
- package/esm/core/Typography/Headline/Headline.d.ts +1 -1
- package/esm/core/Typography/Headline/Headline.js +2 -2
- package/esm/core/Typography/Headline/index.d.ts +2 -2
- package/esm/core/Typography/Headline/index.js +1 -1
- package/esm/core/Typography/Kbd/Kbd.d.ts +1 -1
- package/esm/core/Typography/Kbd/Kbd.js +2 -2
- package/esm/core/Typography/Kbd/index.d.ts +2 -2
- package/esm/core/Typography/Kbd/index.js +1 -1
- package/esm/core/Typography/Leading/Leading.d.ts +1 -1
- package/esm/core/Typography/Leading/Leading.js +2 -2
- package/esm/core/Typography/Leading/index.d.ts +2 -2
- package/esm/core/Typography/Leading/index.js +1 -1
- package/esm/core/Typography/Small/Small.d.ts +1 -1
- package/esm/core/Typography/Small/Small.js +2 -2
- package/esm/core/Typography/Small/index.d.ts +2 -2
- package/esm/core/Typography/Small/index.js +1 -1
- package/esm/core/Typography/Subheading/Subheading.d.ts +1 -1
- package/esm/core/Typography/Subheading/Subheading.js +2 -2
- package/esm/core/Typography/Subheading/index.d.ts +2 -2
- package/esm/core/Typography/Subheading/index.js +1 -1
- package/esm/core/Typography/Text/Text.d.ts +2 -2
- package/esm/core/Typography/Text/Text.js +2 -2
- package/esm/core/Typography/Text/index.d.ts +2 -2
- package/esm/core/Typography/Text/index.js +1 -1
- package/esm/core/Typography/Title/Title.d.ts +1 -1
- package/esm/core/Typography/Title/Title.js +2 -2
- package/esm/core/Typography/Title/index.d.ts +2 -2
- package/esm/core/Typography/Title/index.js +1 -1
- package/esm/core/Typography/index.d.ts +22 -22
- package/esm/core/Typography/index.js +11 -11
- package/esm/core/index.d.ts +112 -110
- package/esm/core/index.js +56 -55
- package/esm/core/utils/color/ColorValue.js +1 -1
- package/esm/core/utils/color/index.d.ts +1 -1
- package/esm/core/utils/color/index.js +1 -1
- package/esm/core/utils/components/AutoclearingHiddenLiveRegion.d.ts +12 -0
- package/esm/core/utils/components/AutoclearingHiddenLiveRegion.js +25 -0
- package/esm/core/utils/components/Divider.d.ts +1 -1
- package/esm/core/utils/components/Divider.js +2 -2
- package/esm/core/utils/components/Flex.d.ts +3 -3
- package/esm/core/utils/components/Flex.js +1 -1
- package/esm/core/utils/components/FocusTrap.js +3 -3
- package/esm/core/utils/components/Icon.d.ts +27 -4
- package/esm/core/utils/components/Icon.js +1 -1
- package/esm/core/utils/components/InputContainer.d.ts +1 -1
- package/esm/core/utils/components/InputContainer.js +1 -1
- package/esm/core/utils/components/InputFlexContainer.d.ts +13 -0
- package/esm/core/utils/components/InputFlexContainer.js +15 -0
- package/esm/core/utils/components/LinkAction.d.ts +1 -1
- package/esm/core/utils/components/LinkAction.js +1 -1
- package/esm/core/utils/components/MiddleTextTruncation.d.ts +2 -2
- package/esm/core/utils/components/MiddleTextTruncation.js +2 -2
- package/esm/core/utils/components/Popover.d.ts +2 -2
- package/esm/core/utils/components/Popover.js +7 -3
- package/esm/core/utils/components/Resizer.d.ts +1 -1
- package/esm/core/utils/components/Resizer.js +2 -2
- package/esm/core/utils/components/VirtualScroll.d.ts +1 -1
- package/esm/core/utils/components/VirtualScroll.js +2 -2
- package/esm/core/utils/components/VisuallyHidden.d.ts +1 -1
- package/esm/core/utils/components/VisuallyHidden.js +2 -2
- package/esm/core/utils/components/WithCSSTransition.d.ts +1 -1
- package/esm/core/utils/components/WithCSSTransition.js +1 -1
- package/esm/core/utils/components/index.d.ts +14 -12
- package/esm/core/utils/components/index.js +14 -12
- package/esm/core/utils/functions/index.d.ts +7 -7
- package/esm/core/utils/functions/index.js +7 -7
- package/esm/core/utils/functions/supports.js +1 -1
- package/esm/core/utils/hooks/index.d.ts +14 -14
- package/esm/core/utils/hooks/index.js +14 -14
- package/esm/core/utils/hooks/useContainerWidth.js +3 -3
- package/esm/core/utils/hooks/useDragAndDrop.d.ts +1 -1
- package/esm/core/utils/hooks/useDragAndDrop.js +4 -4
- package/esm/core/utils/hooks/useEventListener.js +1 -1
- package/esm/core/utils/hooks/useId.js +6 -3
- package/esm/core/utils/hooks/useIntersection.js +2 -2
- package/esm/core/utils/hooks/useIsClient.js +1 -1
- package/esm/core/utils/hooks/useIsThemeAlreadySet.d.ts +1 -1
- package/esm/core/utils/hooks/useIsThemeAlreadySet.js +4 -4
- package/esm/core/utils/hooks/useIsomorphicLayoutEffect.d.ts +1 -1
- package/esm/core/utils/hooks/useIsomorphicLayoutEffect.js +1 -1
- package/esm/core/utils/hooks/useLatestRef.d.ts +1 -1
- package/esm/core/utils/hooks/useLatestRef.js +1 -1
- package/esm/core/utils/hooks/useMediaQuery.js +3 -3
- package/esm/core/utils/hooks/useMergedRefs.d.ts +1 -1
- package/esm/core/utils/hooks/useMergedRefs.js +1 -1
- package/esm/core/utils/hooks/useOverflow.d.ts +1 -1
- package/esm/core/utils/hooks/useOverflow.js +4 -4
- package/esm/core/utils/hooks/useResizeObserver.js +2 -2
- package/esm/core/utils/hooks/useSafeContext.d.ts +1 -1
- package/esm/core/utils/hooks/useSafeContext.js +1 -1
- package/esm/core/utils/hooks/useTheme.js +3 -3
- package/esm/core/utils/icons/StatusIconMap.d.ts +1 -1
- package/esm/core/utils/icons/StatusIconMap.js +4 -4
- package/esm/core/utils/icons/SvgSearch.d.ts +2 -0
- package/esm/core/utils/icons/SvgSearch.js +9 -0
- package/esm/core/utils/icons/index.d.ts +31 -30
- package/esm/core/utils/icons/index.js +31 -30
- package/esm/core/utils/index.d.ts +7 -7
- package/esm/core/utils/index.js +7 -7
- package/esm/core/utils/props.d.ts +1 -1
- package/esm/index.d.ts +2 -2
- package/esm/index.js +2 -2
- package/esm/types/react-table-config.d.ts +1 -1
- package/package.json +3 -2
|
@@ -1,6 +1,26 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var
|
|
3
|
-
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
4
24
|
};
|
|
5
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
26
|
exports.SubRowExpander = void 0;
|
|
@@ -8,17 +28,17 @@ exports.SubRowExpander = void 0;
|
|
|
8
28
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
9
29
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
10
30
|
*--------------------------------------------------------------------------------------------*/
|
|
11
|
-
const
|
|
12
|
-
const
|
|
13
|
-
const
|
|
31
|
+
const React = __importStar(require("react"));
|
|
32
|
+
const index_js_1 = require("../utils/index.js");
|
|
33
|
+
const index_js_2 = require("../Buttons/index.js");
|
|
14
34
|
const SubRowExpander = (props) => {
|
|
15
35
|
const { cell, isDisabled, cellProps, expanderCell, density } = props;
|
|
16
|
-
return (
|
|
36
|
+
return (React.createElement(React.Fragment, null, expanderCell ? (expanderCell(cellProps)) : (React.createElement(index_js_2.IconButton, { style: {
|
|
17
37
|
marginRight: density === 'default' || density === undefined ? 8 : 4,
|
|
18
38
|
}, className: 'iui-table-row-expander', styleType: 'borderless', size: 'small', onClick: (e) => {
|
|
19
39
|
e.stopPropagation();
|
|
20
40
|
cell.row.toggleRowExpanded();
|
|
21
|
-
}, disabled: isDisabled },
|
|
41
|
+
}, disabled: isDisabled }, React.createElement(index_js_1.SvgChevronRight, { style: {
|
|
22
42
|
transform: cell.row.isExpanded ? 'rotate(90deg)' : undefined,
|
|
23
43
|
} })))));
|
|
24
44
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { CellProps, TableOptions, Row, TableState } from 'react-table';
|
|
3
|
-
import { CommonProps } from '../utils';
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { CellProps, TableOptions, Row, TableState } from 'react-table';
|
|
3
|
+
import type { CommonProps } from '../utils/index.js';
|
|
4
4
|
import '@itwin/itwinui-css/css/table.css';
|
|
5
|
-
import { TableFilterValue } from './filters';
|
|
5
|
+
import type { TableFilterValue } from './filters/index.js';
|
|
6
6
|
export declare const tableResizeStartAction = "tableResizeStart";
|
|
7
7
|
export declare type TablePaginatorRendererProps = {
|
|
8
8
|
/**
|
package/cjs/core/Table/Table.js
CHANGED
|
@@ -1,4 +1,27 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
2
25
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
27
|
};
|
|
@@ -8,20 +31,20 @@ exports.Table = exports.tableResizeStartAction = void 0;
|
|
|
8
31
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
9
32
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
10
33
|
*--------------------------------------------------------------------------------------------*/
|
|
11
|
-
const
|
|
34
|
+
const React = __importStar(require("react"));
|
|
12
35
|
const classnames_1 = __importDefault(require("classnames"));
|
|
13
36
|
const react_table_1 = require("react-table");
|
|
14
|
-
const
|
|
15
|
-
const
|
|
37
|
+
const index_js_1 = require("../ProgressIndicators/index.js");
|
|
38
|
+
const index_js_2 = require("../utils/index.js");
|
|
16
39
|
require("@itwin/itwinui-css/css/table.css");
|
|
17
|
-
const
|
|
18
|
-
const
|
|
19
|
-
const
|
|
20
|
-
const
|
|
21
|
-
const
|
|
22
|
-
const
|
|
23
|
-
const
|
|
24
|
-
const
|
|
40
|
+
const utils_js_1 = require("./utils.js");
|
|
41
|
+
const TableRowMemoized_js_1 = require("./TableRowMemoized.js");
|
|
42
|
+
const index_js_3 = require("./filters/index.js");
|
|
43
|
+
const customFilterFunctions_js_1 = require("./filters/customFilterFunctions.js");
|
|
44
|
+
const index_js_4 = require("./hooks/index.js");
|
|
45
|
+
const index_js_5 = require("./actionHandlers/index.js");
|
|
46
|
+
const VirtualScroll_js_1 = __importDefault(require("../utils/components/VirtualScroll.js"));
|
|
47
|
+
const index_js_6 = require("./columns/index.js");
|
|
25
48
|
const singleRowSelectedAction = 'singleRowSelected';
|
|
26
49
|
const shiftRowSelectedAction = 'shiftRowSelected';
|
|
27
50
|
exports.tableResizeStartAction = 'tableResizeStart';
|
|
@@ -82,37 +105,37 @@ const flattenColumns = (columns) => {
|
|
|
82
105
|
*/
|
|
83
106
|
const Table = (props) => {
|
|
84
107
|
const { data, columns, isLoading = false, emptyTableContent, className, style, id, isSelectable = false, onSelect, onRowClick, selectionMode = 'multi', isSortable = false, onSort, stateReducer, onBottomReached, onRowInViewport, intersectionMargin = 300, subComponent, onExpand, onFilter, globalFilterValue, emptyFilteredTableContent, filterTypes: filterFunctions, expanderCell, isRowDisabled, rowProps, density = 'default', selectSubRows = true, getSubRows, selectRowOnClick = true, paginatorRenderer, pageSize = 25, isResizable = false, columnResizeMode = 'fit', styleType = 'default', enableVirtualization = false, enableColumnReordering = false, ...rest } = props;
|
|
85
|
-
(0,
|
|
86
|
-
const ownerDocument =
|
|
87
|
-
const defaultColumn =
|
|
108
|
+
(0, index_js_2.useTheme)();
|
|
109
|
+
const ownerDocument = React.useRef();
|
|
110
|
+
const defaultColumn = React.useMemo(() => ({
|
|
88
111
|
maxWidth: 0,
|
|
89
112
|
minWidth: 0,
|
|
90
113
|
width: 0,
|
|
91
114
|
}), []);
|
|
92
115
|
// useRef prevents from rerendering when one of these callbacks changes
|
|
93
|
-
const onBottomReachedRef =
|
|
94
|
-
const onRowInViewportRef =
|
|
95
|
-
|
|
116
|
+
const onBottomReachedRef = React.useRef(onBottomReached);
|
|
117
|
+
const onRowInViewportRef = React.useRef(onRowInViewport);
|
|
118
|
+
React.useEffect(() => {
|
|
96
119
|
onBottomReachedRef.current = onBottomReached;
|
|
97
120
|
onRowInViewportRef.current = onRowInViewport;
|
|
98
121
|
}, [onBottomReached, onRowInViewport]);
|
|
99
|
-
const hasManualSelectionColumn =
|
|
122
|
+
const hasManualSelectionColumn = React.useMemo(() => {
|
|
100
123
|
const flatColumns = flattenColumns(columns);
|
|
101
|
-
return flatColumns.some((column) => column.id ===
|
|
124
|
+
return flatColumns.some((column) => column.id === index_js_6.SELECTION_CELL_ID);
|
|
102
125
|
}, [columns]);
|
|
103
|
-
const disableUserSelect =
|
|
126
|
+
const disableUserSelect = React.useCallback((e) => {
|
|
104
127
|
if (e.key === 'Shift') {
|
|
105
128
|
ownerDocument.current &&
|
|
106
129
|
(ownerDocument.current.documentElement.style.userSelect = 'none');
|
|
107
130
|
}
|
|
108
131
|
}, []);
|
|
109
|
-
const enableUserSelect =
|
|
132
|
+
const enableUserSelect = React.useCallback((e) => {
|
|
110
133
|
if (e.key === 'Shift') {
|
|
111
134
|
ownerDocument.current &&
|
|
112
135
|
(ownerDocument.current.documentElement.style.userSelect = '');
|
|
113
136
|
}
|
|
114
137
|
}, []);
|
|
115
|
-
|
|
138
|
+
React.useEffect(() => {
|
|
116
139
|
if (!isSelectable || selectionMode !== 'multi') {
|
|
117
140
|
return;
|
|
118
141
|
}
|
|
@@ -130,28 +153,28 @@ const Table = (props) => {
|
|
|
130
153
|
disableUserSelect,
|
|
131
154
|
enableUserSelect,
|
|
132
155
|
]);
|
|
133
|
-
const previousFilter =
|
|
134
|
-
const currentFilter =
|
|
135
|
-
const tableStateReducer =
|
|
156
|
+
const previousFilter = React.useRef([]);
|
|
157
|
+
const currentFilter = React.useRef(previousFilter.current);
|
|
158
|
+
const tableStateReducer = React.useCallback((newState, action, previousState, instance) => {
|
|
136
159
|
switch (action.type) {
|
|
137
160
|
case react_table_1.actions.toggleSortBy:
|
|
138
161
|
onSort === null || onSort === void 0 ? void 0 : onSort(newState);
|
|
139
162
|
break;
|
|
140
163
|
case react_table_1.actions.setFilter:
|
|
141
|
-
currentFilter.current = (0,
|
|
164
|
+
currentFilter.current = (0, index_js_5.onFilterHandler)(newState, action, previousState, currentFilter.current, instance);
|
|
142
165
|
break;
|
|
143
166
|
case react_table_1.actions.toggleRowExpanded:
|
|
144
167
|
case react_table_1.actions.toggleAllRowsExpanded:
|
|
145
|
-
(0,
|
|
168
|
+
(0, index_js_5.onExpandHandler)(newState, instance, onExpand);
|
|
146
169
|
break;
|
|
147
170
|
case singleRowSelectedAction: {
|
|
148
|
-
newState = (0,
|
|
171
|
+
newState = (0, index_js_5.onSingleSelectHandler)(newState, action, instance, onSelect,
|
|
149
172
|
// If it has manual selection column, then we can't check whether row is disabled
|
|
150
173
|
hasManualSelectionColumn ? undefined : isRowDisabled);
|
|
151
174
|
break;
|
|
152
175
|
}
|
|
153
176
|
case shiftRowSelectedAction: {
|
|
154
|
-
newState = (0,
|
|
177
|
+
newState = (0, index_js_5.onShiftSelectHandler)(newState, action, instance, onSelect,
|
|
155
178
|
// If it has manual selection column, then we can't check whether row is disabled
|
|
156
179
|
hasManualSelectionColumn ? undefined : isRowDisabled);
|
|
157
180
|
break;
|
|
@@ -159,17 +182,17 @@ const Table = (props) => {
|
|
|
159
182
|
case react_table_1.actions.toggleRowSelected:
|
|
160
183
|
case react_table_1.actions.toggleAllRowsSelected:
|
|
161
184
|
case react_table_1.actions.toggleAllPageRowsSelected: {
|
|
162
|
-
(0,
|
|
185
|
+
(0, index_js_5.onToggleHandler)(newState, action, instance, onSelect,
|
|
163
186
|
// If it has manual selection column, then we can't check whether row is disabled
|
|
164
187
|
hasManualSelectionColumn ? undefined : isRowDisabled);
|
|
165
188
|
break;
|
|
166
189
|
}
|
|
167
190
|
case exports.tableResizeStartAction: {
|
|
168
|
-
newState = (0,
|
|
191
|
+
newState = (0, index_js_5.onTableResizeStart)(newState);
|
|
169
192
|
break;
|
|
170
193
|
}
|
|
171
194
|
case tableResizeEndAction: {
|
|
172
|
-
newState = (0,
|
|
195
|
+
newState = (0, index_js_5.onTableResizeEnd)(newState, action);
|
|
173
196
|
break;
|
|
174
197
|
}
|
|
175
198
|
default:
|
|
@@ -186,8 +209,8 @@ const Table = (props) => {
|
|
|
186
209
|
onSort,
|
|
187
210
|
stateReducer,
|
|
188
211
|
]);
|
|
189
|
-
const filterTypes =
|
|
190
|
-
const hasAnySubRows =
|
|
212
|
+
const filterTypes = React.useMemo(() => ({ ...customFilterFunctions_js_1.customFilterFunctions, ...filterFunctions }), [filterFunctions]);
|
|
213
|
+
const hasAnySubRows = React.useMemo(() => {
|
|
191
214
|
return data.some((item, index) => getSubRows ? getSubRows(item, index) : item.subRows);
|
|
192
215
|
}, [data, getSubRows]);
|
|
193
216
|
const instance = (0, react_table_1.useTable)({
|
|
@@ -204,7 +227,7 @@ const Table = (props) => {
|
|
|
204
227
|
getSubRows,
|
|
205
228
|
initialState: { pageSize, ...props.initialState },
|
|
206
229
|
columnResizeMode,
|
|
207
|
-
}, react_table_1.useFlexLayout, (0,
|
|
230
|
+
}, react_table_1.useFlexLayout, (0, index_js_4.useResizeColumns)(ownerDocument), react_table_1.useFilters, (0, index_js_4.useSubRowFiltering)(hasAnySubRows), react_table_1.useGlobalFilter, react_table_1.useSortBy, react_table_1.useExpanded, react_table_1.usePagination, react_table_1.useRowSelect, index_js_4.useSubRowSelection, (0, index_js_4.useExpanderCell)(subComponent, expanderCell, isRowDisabled), (0, index_js_4.useSelectionCell)(isSelectable, selectionMode, isRowDisabled, density), react_table_1.useColumnOrder, (0, index_js_4.useColumnDragAndDrop)(enableColumnReordering), index_js_4.useStickyColumns);
|
|
208
231
|
const { getTableProps, rows, headerGroups: _headerGroups, getTableBodyProps, prepareRow, state, allColumns, dispatch, page, gotoPage, setPageSize, flatHeaders, visibleColumns, setGlobalFilter, } = instance;
|
|
209
232
|
let headerGroups = _headerGroups;
|
|
210
233
|
if (columns.length === 1 && 'columns' in columns[0]) {
|
|
@@ -223,7 +246,7 @@ const Table = (props) => {
|
|
|
223
246
|
const areFiltersSet = allColumns.some((column) => column.filterValue != null && column.filterValue !== '') || !!globalFilterValue;
|
|
224
247
|
const showFilterButton = (column) => (data.length !== 0 || areFiltersSet) && column.canFilter;
|
|
225
248
|
const showSortButton = (column) => data.length !== 0 && column.canSort;
|
|
226
|
-
const onRowClickHandler =
|
|
249
|
+
const onRowClickHandler = React.useCallback((event, row) => {
|
|
227
250
|
const isDisabled = isRowDisabled === null || isRowDisabled === void 0 ? void 0 : isRowDisabled(row.original);
|
|
228
251
|
const ctrlPressed = event.ctrlKey || event.metaKey;
|
|
229
252
|
if (!isDisabled) {
|
|
@@ -259,29 +282,29 @@ const Table = (props) => {
|
|
|
259
282
|
dispatch,
|
|
260
283
|
onRowClick,
|
|
261
284
|
]);
|
|
262
|
-
|
|
285
|
+
React.useEffect(() => {
|
|
263
286
|
setGlobalFilter(globalFilterValue);
|
|
264
287
|
}, [globalFilterValue, setGlobalFilter]);
|
|
265
|
-
|
|
288
|
+
React.useEffect(() => {
|
|
266
289
|
setPageSize(pageSize);
|
|
267
290
|
}, [pageSize, setPageSize]);
|
|
268
|
-
|
|
291
|
+
React.useEffect(() => {
|
|
269
292
|
if (previousFilter.current !== currentFilter.current) {
|
|
270
293
|
previousFilter.current = currentFilter.current;
|
|
271
294
|
onFilter === null || onFilter === void 0 ? void 0 : onFilter(currentFilter.current, state, instance.filteredRows);
|
|
272
295
|
}
|
|
273
296
|
}, [state, instance.filteredRows, onFilter]);
|
|
274
|
-
const lastPassedColumns =
|
|
297
|
+
const lastPassedColumns = React.useRef([]);
|
|
275
298
|
// Reset the column order whenever new columns are passed
|
|
276
299
|
// This is to avoid the old columnOrder from affecting the new columns' columnOrder
|
|
277
|
-
|
|
300
|
+
React.useEffect(() => {
|
|
278
301
|
// Check if columns have changed (by value)
|
|
279
302
|
if (JSON.stringify(lastPassedColumns.current) !== JSON.stringify(columns)) {
|
|
280
303
|
instance.setColumnOrder([]);
|
|
281
304
|
}
|
|
282
305
|
lastPassedColumns.current = columns;
|
|
283
306
|
}, [columns, instance]);
|
|
284
|
-
const paginatorRendererProps =
|
|
307
|
+
const paginatorRendererProps = React.useMemo(() => ({
|
|
285
308
|
currentPage: state.pageIndex,
|
|
286
309
|
pageSize: state.pageSize,
|
|
287
310
|
totalRowsCount: rows.length,
|
|
@@ -301,10 +324,10 @@ const Table = (props) => {
|
|
|
301
324
|
instance.selectedFlatRows,
|
|
302
325
|
selectionMode,
|
|
303
326
|
]);
|
|
304
|
-
const { scrollToIndex, tableRowRef } = (0,
|
|
305
|
-
const columnRefs =
|
|
306
|
-
const previousTableWidth =
|
|
307
|
-
const onTableResize =
|
|
327
|
+
const { scrollToIndex, tableRowRef } = (0, index_js_4.useScrollToRow)({ ...props, page });
|
|
328
|
+
const columnRefs = React.useRef({});
|
|
329
|
+
const previousTableWidth = React.useRef(0);
|
|
330
|
+
const onTableResize = React.useCallback(({ width }) => {
|
|
308
331
|
instance.tableWidth = width;
|
|
309
332
|
if (width === previousTableWidth.current) {
|
|
310
333
|
return;
|
|
@@ -323,9 +346,9 @@ const Table = (props) => {
|
|
|
323
346
|
}
|
|
324
347
|
dispatch({ type: exports.tableResizeStartAction });
|
|
325
348
|
}, [dispatch, state.columnResizing.columnWidths, flatHeaders, instance]);
|
|
326
|
-
const [resizeRef] = (0,
|
|
349
|
+
const [resizeRef] = (0, index_js_2.useResizeObserver)(onTableResize);
|
|
327
350
|
// Flexbox handles columns resize so we take new column widths before browser repaints.
|
|
328
|
-
(0,
|
|
351
|
+
(0, index_js_2.useIsomorphicLayoutEffect)(() => {
|
|
329
352
|
if (state.isTableResizing) {
|
|
330
353
|
const newColumnWidths = {};
|
|
331
354
|
flatHeaders.forEach((column) => {
|
|
@@ -337,12 +360,12 @@ const Table = (props) => {
|
|
|
337
360
|
dispatch({ type: tableResizeEndAction, columnWidths: newColumnWidths });
|
|
338
361
|
}
|
|
339
362
|
});
|
|
340
|
-
const headerRef =
|
|
341
|
-
const bodyRef =
|
|
342
|
-
const getPreparedRow =
|
|
363
|
+
const headerRef = React.useRef(null);
|
|
364
|
+
const bodyRef = React.useRef(null);
|
|
365
|
+
const getPreparedRow = React.useCallback((index) => {
|
|
343
366
|
const row = page[index];
|
|
344
367
|
prepareRow(row);
|
|
345
|
-
return (
|
|
368
|
+
return (React.createElement(TableRowMemoized_js_1.TableRowMemoized, { row: row, rowProps: rowProps, isLast: index === page.length - 1, onRowInViewport: onRowInViewportRef, onBottomReached: onBottomReachedRef, intersectionMargin: intersectionMargin, state: state, key: row.getRowProps().key, onClick: onRowClickHandler, subComponent: subComponent, isDisabled: !!(isRowDisabled === null || isRowDisabled === void 0 ? void 0 : isRowDisabled(row.original)), tableHasSubRows: hasAnySubRows, tableInstance: instance, expanderCell: expanderCell, bodyRef: bodyRef.current, tableRowRef: enableVirtualization ? undefined : tableRowRef(row), density: density }));
|
|
346
369
|
}, [
|
|
347
370
|
page,
|
|
348
371
|
prepareRow,
|
|
@@ -359,7 +382,7 @@ const Table = (props) => {
|
|
|
359
382
|
tableRowRef,
|
|
360
383
|
density,
|
|
361
384
|
]);
|
|
362
|
-
const virtualizedItemRenderer =
|
|
385
|
+
const virtualizedItemRenderer = React.useCallback((index) => getPreparedRow(index), [getPreparedRow]);
|
|
363
386
|
const updateStickyState = () => {
|
|
364
387
|
if (!bodyRef.current || flatHeaders.every((header) => !header.sticky)) {
|
|
365
388
|
return;
|
|
@@ -379,14 +402,14 @@ const Table = (props) => {
|
|
|
379
402
|
dispatch({ type: react_table_1.actions.setScrolledLeft, value: false });
|
|
380
403
|
}
|
|
381
404
|
};
|
|
382
|
-
|
|
405
|
+
React.useEffect(() => {
|
|
383
406
|
updateStickyState();
|
|
384
407
|
// Call only on init
|
|
385
408
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
386
409
|
}, []);
|
|
387
|
-
const isHeaderDirectClick =
|
|
388
|
-
return (
|
|
389
|
-
|
|
410
|
+
const isHeaderDirectClick = React.useRef(false);
|
|
411
|
+
return (React.createElement(React.Fragment, null,
|
|
412
|
+
React.createElement("div", { ref: (element) => {
|
|
390
413
|
ownerDocument.current = element === null || element === void 0 ? void 0 : element.ownerDocument;
|
|
391
414
|
if (isResizable) {
|
|
392
415
|
resizeRef(element);
|
|
@@ -405,14 +428,14 @@ const Table = (props) => {
|
|
|
405
428
|
const headerGroupProps = headerGroup.getHeaderGroupProps({
|
|
406
429
|
className: 'iui-table-row',
|
|
407
430
|
});
|
|
408
|
-
return (
|
|
431
|
+
return (React.createElement("div", { className: 'iui-table-header-wrapper', ref: headerRef, onScroll: () => {
|
|
409
432
|
if (headerRef.current && bodyRef.current) {
|
|
410
433
|
bodyRef.current.scrollLeft = headerRef.current.scrollLeft;
|
|
411
434
|
updateStickyState();
|
|
412
435
|
}
|
|
413
436
|
}, key: headerGroupProps.key },
|
|
414
|
-
|
|
415
|
-
|
|
437
|
+
React.createElement("div", { className: 'iui-table-header' },
|
|
438
|
+
React.createElement("div", { ...headerGroupProps }, headerGroup.headers.map((column, index) => {
|
|
416
439
|
const { onClick, ...restSortProps } = column.getSortByToggleProps();
|
|
417
440
|
const columnProps = column.getHeaderProps({
|
|
418
441
|
...restSortProps,
|
|
@@ -422,12 +445,12 @@ const Table = (props) => {
|
|
|
422
445
|
'iui-table-cell-sticky': !!column.sticky,
|
|
423
446
|
}, column.columnClassName),
|
|
424
447
|
style: {
|
|
425
|
-
...(0,
|
|
426
|
-
...(0,
|
|
448
|
+
...(0, utils_js_1.getCellStyle)(column, !!state.isTableResizing),
|
|
449
|
+
...(0, utils_js_1.getStickyStyle)(column, visibleColumns),
|
|
427
450
|
flexWrap: 'unset',
|
|
428
451
|
},
|
|
429
452
|
});
|
|
430
|
-
return (
|
|
453
|
+
return (React.createElement("div", { ...columnProps, ...column.getDragAndDropProps(), key: columnProps.key, title: undefined, ref: (el) => {
|
|
431
454
|
if (el) {
|
|
432
455
|
columnRefs.current[column.id] = el;
|
|
433
456
|
column.resizeWidth =
|
|
@@ -448,24 +471,24 @@ const Table = (props) => {
|
|
|
448
471
|
} },
|
|
449
472
|
column.render('Header'),
|
|
450
473
|
(showFilterButton(column) ||
|
|
451
|
-
showSortButton(column)) && (
|
|
452
|
-
showFilterButton(column) && (
|
|
453
|
-
showSortButton(column) && (
|
|
454
|
-
(!column.isSorted && column.sortDescFirst) ? (
|
|
474
|
+
showSortButton(column)) && (React.createElement("div", { className: 'iui-table-header-actions-container' },
|
|
475
|
+
showFilterButton(column) && (React.createElement(index_js_3.FilterToggle, { column: column })),
|
|
476
|
+
showSortButton(column) && (React.createElement("div", { className: 'iui-table-cell-end-icon' }, column.isSortedDesc ||
|
|
477
|
+
(!column.isSorted && column.sortDescFirst) ? (React.createElement(index_js_2.SvgSortDown, { className: 'iui-table-sort', "aria-hidden": true })) : (React.createElement(index_js_2.SvgSortUp, { className: 'iui-table-sort', "aria-hidden": true })))))),
|
|
455
478
|
isResizable &&
|
|
456
479
|
column.isResizerVisible &&
|
|
457
480
|
(index !== headerGroup.headers.length - 1 ||
|
|
458
|
-
columnResizeMode === 'expand') && (
|
|
459
|
-
|
|
481
|
+
columnResizeMode === 'expand') && (React.createElement("div", { ...column.getResizerProps(), className: 'iui-table-resizer' },
|
|
482
|
+
React.createElement("div", { className: 'iui-table-resizer-bar' }))),
|
|
460
483
|
enableColumnReordering &&
|
|
461
|
-
!column.disableReordering && (
|
|
484
|
+
!column.disableReordering && (React.createElement("div", { className: 'iui-table-reorder-bar' })),
|
|
462
485
|
column.sticky === 'left' &&
|
|
463
|
-
state.sticky.isScrolledToRight && (
|
|
486
|
+
state.sticky.isScrolledToRight && (React.createElement("div", { className: 'iui-table-cell-shadow-right' })),
|
|
464
487
|
column.sticky === 'right' &&
|
|
465
|
-
state.sticky.isScrolledToLeft && (
|
|
488
|
+
state.sticky.isScrolledToLeft && (React.createElement("div", { className: 'iui-table-cell-shadow-left' }))));
|
|
466
489
|
})))));
|
|
467
490
|
}),
|
|
468
|
-
|
|
491
|
+
React.createElement("div", { ...getTableBodyProps({
|
|
469
492
|
className: (0, classnames_1.default)('iui-table-body', {
|
|
470
493
|
'iui-zebra-striping': styleType === 'zebra-rows',
|
|
471
494
|
}),
|
|
@@ -476,18 +499,18 @@ const Table = (props) => {
|
|
|
476
499
|
updateStickyState();
|
|
477
500
|
}
|
|
478
501
|
}, tabIndex: -1, "aria-multiselectable": (isSelectable && selectionMode === 'multi') || undefined },
|
|
479
|
-
data.length !== 0 && (
|
|
480
|
-
isLoading && data.length === 0 && (
|
|
481
|
-
|
|
482
|
-
isLoading && data.length !== 0 && (
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
!isLoading && data.length === 0 && !areFiltersSet && (
|
|
486
|
-
|
|
502
|
+
data.length !== 0 && (React.createElement(React.Fragment, null, enableVirtualization ? (React.createElement(VirtualScroll_js_1.default, { itemsLength: page.length, itemRenderer: virtualizedItemRenderer, scrollToIndex: scrollToIndex })) : (page.map((_, index) => getPreparedRow(index))))),
|
|
503
|
+
isLoading && data.length === 0 && (React.createElement("div", { className: 'iui-table-empty' },
|
|
504
|
+
React.createElement(index_js_1.ProgressRadial, { indeterminate: true }))),
|
|
505
|
+
isLoading && data.length !== 0 && (React.createElement("div", { className: 'iui-table-row' },
|
|
506
|
+
React.createElement("div", { className: 'iui-table-cell', style: { justifyContent: 'center' } },
|
|
507
|
+
React.createElement(index_js_1.ProgressRadial, { indeterminate: true, size: 'small', style: { float: 'none', marginLeft: 0 } })))),
|
|
508
|
+
!isLoading && data.length === 0 && !areFiltersSet && (React.createElement("div", { className: 'iui-table-empty' },
|
|
509
|
+
React.createElement("div", null, emptyTableContent))),
|
|
487
510
|
!isLoading &&
|
|
488
511
|
(data.length === 0 || rows.length === 0) &&
|
|
489
|
-
areFiltersSet && (
|
|
490
|
-
|
|
512
|
+
areFiltersSet && (React.createElement("div", { className: 'iui-table-empty' },
|
|
513
|
+
React.createElement("div", null, emptyFilteredTableContent)))), paginatorRenderer === null || paginatorRenderer === void 0 ? void 0 :
|
|
491
514
|
paginatorRenderer(paginatorRendererProps))));
|
|
492
515
|
};
|
|
493
516
|
exports.Table = Table;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Cell, CellProps, TableInstance } from 'react-table';
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { Cell, CellProps, TableInstance } from 'react-table';
|
|
3
3
|
export declare type TableCellProps<T extends Record<string, unknown>> = {
|
|
4
4
|
cell: Cell<T>;
|
|
5
5
|
cellIndex: number;
|
|
@@ -1,4 +1,27 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
2
25
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
27
|
};
|
|
@@ -8,16 +31,16 @@ exports.TableCell = void 0;
|
|
|
8
31
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
9
32
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
10
33
|
*--------------------------------------------------------------------------------------------*/
|
|
11
|
-
const
|
|
34
|
+
const React = __importStar(require("react"));
|
|
12
35
|
const classnames_1 = __importDefault(require("classnames"));
|
|
13
|
-
const
|
|
14
|
-
const
|
|
15
|
-
const
|
|
16
|
-
const
|
|
36
|
+
const utils_js_1 = require("./utils.js");
|
|
37
|
+
const SubRowExpander_js_1 = require("./SubRowExpander.js");
|
|
38
|
+
const index_js_1 = require("./columns/index.js");
|
|
39
|
+
const index_js_2 = require("./cells/index.js");
|
|
17
40
|
const TableCell = (props) => {
|
|
18
41
|
const { cell, cellIndex, isDisabled, tableHasSubRows, tableInstance, expanderCell, density, } = props;
|
|
19
42
|
const hasSubRowExpander = cellIndex ===
|
|
20
|
-
cell.row.cells.findIndex((c) => c.column.id !==
|
|
43
|
+
cell.row.cells.findIndex((c) => c.column.id !== index_js_1.SELECTION_CELL_ID);
|
|
21
44
|
const getSubRowStyle = () => {
|
|
22
45
|
if (!tableHasSubRows || !hasSubRowExpander) {
|
|
23
46
|
return undefined;
|
|
@@ -44,32 +67,32 @@ const TableCell = (props) => {
|
|
|
44
67
|
'iui-table-cell-sticky': !!cell.column.sticky,
|
|
45
68
|
}),
|
|
46
69
|
style: {
|
|
47
|
-
...(0,
|
|
70
|
+
...(0, utils_js_1.getCellStyle)(cell.column, !!tableInstance.state.isTableResizing),
|
|
48
71
|
...getSubRowStyle(),
|
|
49
|
-
...(0,
|
|
72
|
+
...(0, utils_js_1.getStickyStyle)(cell.column, tableInstance.visibleColumns),
|
|
50
73
|
},
|
|
51
74
|
});
|
|
52
75
|
const cellProps = {
|
|
53
76
|
...tableInstance,
|
|
54
77
|
...{ cell, row: cell.row, value: cell.value, column: cell.column },
|
|
55
78
|
};
|
|
56
|
-
const cellContent = (
|
|
57
|
-
tableHasSubRows && hasSubRowExpander && cell.row.canExpand && (
|
|
79
|
+
const cellContent = (React.createElement(React.Fragment, null,
|
|
80
|
+
tableHasSubRows && hasSubRowExpander && cell.row.canExpand && (React.createElement(SubRowExpander_js_1.SubRowExpander, { cell: cell, isDisabled: isDisabled, cellProps: cellProps, expanderCell: expanderCell, density: density })),
|
|
58
81
|
cell.render('Cell')));
|
|
59
82
|
const cellRendererProps = {
|
|
60
83
|
cellElementProps,
|
|
61
84
|
cellProps,
|
|
62
|
-
children: (
|
|
85
|
+
children: (React.createElement(React.Fragment, null,
|
|
63
86
|
cellContent,
|
|
64
87
|
cell.column.sticky === 'left' &&
|
|
65
|
-
tableInstance.state.sticky.isScrolledToRight && (
|
|
88
|
+
tableInstance.state.sticky.isScrolledToRight && (React.createElement("div", { className: 'iui-table-cell-shadow-right' })),
|
|
66
89
|
cell.column.sticky === 'right' &&
|
|
67
|
-
tableInstance.state.sticky.isScrolledToLeft && (
|
|
90
|
+
tableInstance.state.sticky.isScrolledToLeft && (React.createElement("div", { className: 'iui-table-cell-shadow-left' })))),
|
|
68
91
|
};
|
|
69
|
-
return (
|
|
92
|
+
return (React.createElement(React.Fragment, null, cell.column.cellRenderer ? (cell.column.cellRenderer({
|
|
70
93
|
...cellRendererProps,
|
|
71
94
|
isDisabled: () => isDisabled,
|
|
72
|
-
})) : (
|
|
95
|
+
})) : (React.createElement(index_js_2.DefaultCell, { ...cellRendererProps, isDisabled: () => isDisabled }))));
|
|
73
96
|
};
|
|
74
97
|
exports.TableCell = TableCell;
|
|
75
98
|
exports.default = exports.TableCell;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import '@itwin/itwinui-css/css/table.css';
|
|
3
|
-
import { CommonProps } from '../utils';
|
|
4
|
-
import { TablePaginatorRendererProps } from './Table';
|
|
3
|
+
import type { CommonProps } from '../utils/index.js';
|
|
4
|
+
import type { TablePaginatorRendererProps } from './Table.js';
|
|
5
5
|
export declare type TablePaginatorProps = {
|
|
6
6
|
/**
|
|
7
7
|
* Control whether focusing tabs (using arrow keys) should automatically select them.
|