@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,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,13 +31,13 @@ exports.TablePaginator = 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
|
require("@itwin/itwinui-css/css/table.css");
|
|
14
|
-
const
|
|
15
|
-
const
|
|
16
|
-
const
|
|
17
|
-
const
|
|
37
|
+
const index_js_1 = require("../Buttons/index.js");
|
|
38
|
+
const index_js_2 = require("../ProgressIndicators/index.js");
|
|
39
|
+
const index_js_3 = require("../Menu/index.js");
|
|
40
|
+
const index_js_4 = require("../utils/index.js");
|
|
18
41
|
const defaultLocalization = {
|
|
19
42
|
pageSizeLabel: (size) => `${size} per page`,
|
|
20
43
|
rangeLabel: (startIndex, endIndex, totalRows, isLoading) => isLoading
|
|
@@ -37,16 +60,16 @@ const defaultLocalization = {
|
|
|
37
60
|
*/
|
|
38
61
|
const TablePaginator = (props) => {
|
|
39
62
|
const { currentPage, totalRowsCount, pageSize, onPageChange, totalSelectedRowsCount = 0, focusActivationMode = 'manual', isLoading = false, size = 'default', pageSizeList, onPageSizeChange, localization: userLocalization, className, ...rest } = props;
|
|
40
|
-
(0,
|
|
41
|
-
const localization =
|
|
42
|
-
const pageListRef =
|
|
43
|
-
const [focusedIndex, setFocusedIndex] =
|
|
44
|
-
|
|
63
|
+
(0, index_js_4.useTheme)();
|
|
64
|
+
const localization = React.useMemo(() => ({ ...defaultLocalization, ...userLocalization }), [userLocalization]);
|
|
65
|
+
const pageListRef = React.useRef(null);
|
|
66
|
+
const [focusedIndex, setFocusedIndex] = React.useState(currentPage);
|
|
67
|
+
React.useEffect(() => {
|
|
45
68
|
setFocusedIndex(currentPage);
|
|
46
69
|
}, [currentPage]);
|
|
47
|
-
const needFocus =
|
|
48
|
-
const isMounted =
|
|
49
|
-
|
|
70
|
+
const needFocus = React.useRef(false);
|
|
71
|
+
const isMounted = React.useRef(false);
|
|
72
|
+
React.useEffect(() => {
|
|
50
73
|
var _a, _b;
|
|
51
74
|
// Checking `isMounted.current` prevents from focusing on initial load.
|
|
52
75
|
// Checking `needFocus.current` prevents from focusing page when clicked on previous/next page.
|
|
@@ -58,22 +81,22 @@ const TablePaginator = (props) => {
|
|
|
58
81
|
isMounted.current = true;
|
|
59
82
|
}, [focusedIndex]);
|
|
60
83
|
const buttonSize = size != 'default' ? 'small' : undefined;
|
|
61
|
-
const pageButton =
|
|
84
|
+
const pageButton = React.useCallback((index, tabIndex = index === focusedIndex ? 0 : -1) => (React.createElement("button", { key: index, type: 'button', className: (0, classnames_1.default)('iui-table-paginator-page-button', {
|
|
62
85
|
'iui-table-paginator-page-button-small': buttonSize === 'small',
|
|
63
86
|
}), "data-iui-active": index === currentPage, onClick: () => onPageChange(index), "aria-current": index === currentPage, "aria-label": localization.goToPageLabel(index + 1), tabIndex: tabIndex }, index + 1)), [focusedIndex, currentPage, localization, buttonSize, onPageChange]);
|
|
64
87
|
const totalPagesCount = Math.ceil(totalRowsCount / pageSize);
|
|
65
|
-
const pageList =
|
|
88
|
+
const pageList = React.useMemo(() => new Array(totalPagesCount)
|
|
66
89
|
.fill(null)
|
|
67
90
|
.map((_, index) => pageButton(index)), [pageButton, totalPagesCount]);
|
|
68
|
-
const [overflowRef, visibleCount] = (0,
|
|
69
|
-
const [paginatorResizeRef, paginatorWidth] = (0,
|
|
91
|
+
const [overflowRef, visibleCount] = (0, index_js_4.useOverflow)(pageList);
|
|
92
|
+
const [paginatorResizeRef, paginatorWidth] = (0, index_js_4.useContainerWidth)();
|
|
70
93
|
const onKeyDown = (event) => {
|
|
71
94
|
// alt + arrow keys are used by browser/assistive technologies
|
|
72
95
|
if (event.altKey) {
|
|
73
96
|
return;
|
|
74
97
|
}
|
|
75
98
|
const focusPage = (delta) => {
|
|
76
|
-
const newFocusedIndex = (0,
|
|
99
|
+
const newFocusedIndex = (0, index_js_4.getBoundedValue)(focusedIndex + delta, 0, totalPagesCount - 1);
|
|
77
100
|
needFocus.current = true;
|
|
78
101
|
if (focusActivationMode === 'auto') {
|
|
79
102
|
onPageChange(newFocusedIndex);
|
|
@@ -119,43 +142,43 @@ const TablePaginator = (props) => {
|
|
|
119
142
|
const hasNoRows = totalPagesCount === 0;
|
|
120
143
|
const showPagesList = totalPagesCount > 1 || isLoading;
|
|
121
144
|
const showPageSizeList = pageSizeList && !!onPageSizeChange && !!totalRowsCount;
|
|
122
|
-
const ellipsis = (
|
|
145
|
+
const ellipsis = (React.createElement("span", { className: (0, classnames_1.default)('iui-table-paginator-ellipsis', {
|
|
123
146
|
'iui-table-paginator-ellipsis-small': size === 'small',
|
|
124
147
|
}) }, "\u2026"));
|
|
125
|
-
const noRowsContent = (
|
|
148
|
+
const noRowsContent = (React.createElement(React.Fragment, null, isLoading ? (React.createElement(index_js_2.ProgressRadial, { indeterminate: true, size: 'small' })) : (React.createElement(index_js_1.Button, { styleType: 'borderless', disabled: true, size: buttonSize }, "1"))));
|
|
126
149
|
if (!showPagesList && !showPageSizeList) {
|
|
127
150
|
return null;
|
|
128
151
|
}
|
|
129
|
-
return (
|
|
130
|
-
|
|
131
|
-
showPagesList && (
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
152
|
+
return (React.createElement("div", { className: (0, classnames_1.default)('iui-table-paginator', className), ref: paginatorResizeRef, ...rest },
|
|
153
|
+
React.createElement("div", { className: 'iui-left' }, totalSelectedRowsCount > 0 && (React.createElement("span", null, localization.rowsSelectedLabel(totalSelectedRowsCount)))),
|
|
154
|
+
showPagesList && (React.createElement("div", { className: 'iui-center', ref: overflowRef },
|
|
155
|
+
React.createElement(index_js_1.IconButton, { styleType: 'borderless', disabled: currentPage === 0, onClick: () => onPageChange(currentPage - 1), size: buttonSize, "aria-label": localization.previousPage },
|
|
156
|
+
React.createElement(index_js_4.SvgChevronLeft, null)),
|
|
157
|
+
React.createElement("span", { className: 'iui-table-paginator-pages-group', onKeyDown: onKeyDown, ref: pageListRef }, (() => {
|
|
135
158
|
if (hasNoRows) {
|
|
136
159
|
return noRowsContent;
|
|
137
160
|
}
|
|
138
161
|
if (visibleCount === 1) {
|
|
139
162
|
return pageButton(focusedIndex);
|
|
140
163
|
}
|
|
141
|
-
return (
|
|
142
|
-
startPage !== 0 && (
|
|
164
|
+
return (React.createElement(React.Fragment, null,
|
|
165
|
+
startPage !== 0 && (React.createElement(React.Fragment, null,
|
|
143
166
|
pageButton(0, 0),
|
|
144
167
|
ellipsis)),
|
|
145
168
|
pageList.slice(startPage, endPage),
|
|
146
|
-
endPage !== totalPagesCount && !isLoading && (
|
|
169
|
+
endPage !== totalPagesCount && !isLoading && (React.createElement(React.Fragment, null,
|
|
147
170
|
ellipsis,
|
|
148
171
|
pageButton(totalPagesCount - 1, 0))),
|
|
149
|
-
isLoading && (
|
|
172
|
+
isLoading && (React.createElement(React.Fragment, null,
|
|
150
173
|
ellipsis,
|
|
151
|
-
|
|
174
|
+
React.createElement(index_js_2.ProgressRadial, { indeterminate: true, size: 'small' })))));
|
|
152
175
|
})()),
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
176
|
+
React.createElement(index_js_1.IconButton, { styleType: 'borderless', disabled: currentPage === totalPagesCount - 1 || hasNoRows, onClick: () => onPageChange(currentPage + 1), size: buttonSize, "aria-label": localization.nextPage },
|
|
177
|
+
React.createElement(index_js_4.SvgChevronRight, null)))),
|
|
178
|
+
React.createElement("div", { className: 'iui-right' }, showPageSizeList && (React.createElement(React.Fragment, null,
|
|
156
179
|
localization.rowsPerPageLabel !== null &&
|
|
157
|
-
paginatorWidth >= 1024 && (
|
|
158
|
-
|
|
180
|
+
paginatorWidth >= 1024 && (React.createElement("span", { className: 'iui-table-paginator-page-size-label' }, localization.rowsPerPageLabel)),
|
|
181
|
+
React.createElement(index_js_1.DropdownButton, { styleType: 'borderless', size: buttonSize, menuItems: (close) => pageSizeList.map((size) => (React.createElement(index_js_3.MenuItem, { key: size, isSelected: size === pageSize, onClick: () => {
|
|
159
182
|
close();
|
|
160
183
|
onPageSizeChange(size);
|
|
161
184
|
} }, localization.pageSizeLabel(size)))) }, localization.rangeLabel(currentPage * pageSize + 1, Math.min(totalRowsCount, (currentPage + 1) * pageSize), totalRowsCount, isLoading)))))));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { CellProps, Row, TableInstance, TableState } from 'react-table';
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { CellProps, Row, TableInstance, TableState } from 'react-table';
|
|
3
3
|
/**
|
|
4
4
|
* Memoization is needed to avoid unnecessary re-renders of all rows when additional data is added when lazy-loading.
|
|
5
5
|
* Using `isLast` here instead of passing data length to avoid re-renders of all rows when more data is added. Now only the last row re-renders.
|
|
@@ -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,10 +31,10 @@ exports.TableRowMemoized = exports.TableRow = 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
|
|
36
|
+
const index_js_1 = require("../utils/index.js");
|
|
37
|
+
const TableCell_js_1 = require("./TableCell.js");
|
|
15
38
|
/**
|
|
16
39
|
* Memoization is needed to avoid unnecessary re-renders of all rows when additional data is added when lazy-loading.
|
|
17
40
|
* Using `isLast` here instead of passing data length to avoid re-renders of all rows when more data is added. Now only the last row re-renders.
|
|
@@ -21,12 +44,12 @@ const TableCell_1 = require("./TableCell");
|
|
|
21
44
|
const TableRow = (props) => {
|
|
22
45
|
var _a;
|
|
23
46
|
const { row, rowProps, isLast, onRowInViewport, onBottomReached, intersectionMargin, onClick, subComponent, isDisabled, tableHasSubRows, tableInstance, expanderCell, bodyRef, tableRowRef, density, } = props;
|
|
24
|
-
const onIntersect =
|
|
47
|
+
const onIntersect = React.useCallback(() => {
|
|
25
48
|
var _a, _b;
|
|
26
49
|
(_a = onRowInViewport.current) === null || _a === void 0 ? void 0 : _a.call(onRowInViewport, row.original);
|
|
27
50
|
isLast && ((_b = onBottomReached.current) === null || _b === void 0 ? void 0 : _b.call(onBottomReached));
|
|
28
51
|
}, [isLast, onBottomReached, onRowInViewport, row.original]);
|
|
29
|
-
const intersectionRoot =
|
|
52
|
+
const intersectionRoot = React.useMemo(() => {
|
|
30
53
|
var _a, _b;
|
|
31
54
|
const isTableBodyScrollable = ((_a = bodyRef === null || bodyRef === void 0 ? void 0 : bodyRef.scrollHeight) !== null && _a !== void 0 ? _a : 0) > ((_b = bodyRef === null || bodyRef === void 0 ? void 0 : bodyRef.offsetHeight) !== null && _b !== void 0 ? _b : 0);
|
|
32
55
|
// If table body is scrollable, make it the intersection root
|
|
@@ -36,7 +59,7 @@ const TableRow = (props) => {
|
|
|
36
59
|
// Otherwise, make the viewport the intersection root
|
|
37
60
|
return undefined;
|
|
38
61
|
}, [bodyRef]);
|
|
39
|
-
const intersectionRef = (0,
|
|
62
|
+
const intersectionRef = (0, index_js_1.useIntersection)(onIntersect, {
|
|
40
63
|
rootMargin: `${intersectionMargin}px`,
|
|
41
64
|
root: intersectionRoot,
|
|
42
65
|
});
|
|
@@ -55,17 +78,17 @@ const TableRow = (props) => {
|
|
|
55
78
|
'data-iui-status': status,
|
|
56
79
|
},
|
|
57
80
|
};
|
|
58
|
-
const refs = (0,
|
|
59
|
-
return (
|
|
60
|
-
|
|
81
|
+
const refs = (0, index_js_1.useMergedRefs)(intersectionRef, mergedProps.ref, tableRowRef);
|
|
82
|
+
return (React.createElement(React.Fragment, null,
|
|
83
|
+
React.createElement("div", { ...mergedProps, ref: refs, onClick: (event) => {
|
|
61
84
|
var _a;
|
|
62
85
|
(_a = mergedProps === null || mergedProps === void 0 ? void 0 : mergedProps.onClick) === null || _a === void 0 ? void 0 : _a.call(mergedProps, event);
|
|
63
86
|
onClick === null || onClick === void 0 ? void 0 : onClick(event, row);
|
|
64
87
|
} }, row.cells.map((cell, index) => {
|
|
65
|
-
return (
|
|
88
|
+
return (React.createElement(TableCell_js_1.TableCell, { key: cell.getCellProps().key, cell: cell, cellIndex: index, isDisabled: isDisabled, tableHasSubRows: tableHasSubRows, tableInstance: tableInstance, expanderCell: expanderCell, density: density }));
|
|
66
89
|
})),
|
|
67
|
-
subComponent && (
|
|
68
|
-
|
|
90
|
+
subComponent && (React.createElement(index_js_1.WithCSSTransition, { in: row.isExpanded },
|
|
91
|
+
React.createElement("div", { className: (0, classnames_1.default)('iui-table-row', 'iui-table-expanded-content'), "aria-disabled": isDisabled }, subComponent(row))))));
|
|
69
92
|
};
|
|
70
93
|
exports.TableRow = TableRow;
|
|
71
94
|
const hasAnySelectedSubRow = (row, selectedRowIds) => {
|
|
@@ -74,7 +97,7 @@ const hasAnySelectedSubRow = (row, selectedRowIds) => {
|
|
|
74
97
|
}
|
|
75
98
|
return row.subRows.some((subRow) => hasAnySelectedSubRow(subRow, selectedRowIds));
|
|
76
99
|
};
|
|
77
|
-
exports.TableRowMemoized =
|
|
100
|
+
exports.TableRowMemoized = React.memo(exports.TableRow, (prevProp, nextProp) => {
|
|
78
101
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
79
102
|
return prevProp.isLast === nextProp.isLast &&
|
|
80
103
|
((_a = prevProp.state.hiddenColumns) === null || _a === void 0 ? void 0 : _a.length) ===
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { TableInstance, TableState } from 'react-table';
|
|
1
|
+
import type { TableInstance, TableState } from 'react-table';
|
|
2
2
|
export declare const onExpandHandler: <T extends Record<string, unknown>>(newState: TableState<T>, instance?: TableInstance<T> | undefined, onExpand?: ((expandedData: T[] | undefined, tableState?: TableState<T> | undefined) => void) | undefined) => void;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ActionType, TableInstance, TableState } from 'react-table';
|
|
2
|
-
import { TableFilterValue } from '../filters';
|
|
1
|
+
import type { ActionType, TableInstance, TableState } from 'react-table';
|
|
2
|
+
import type { TableFilterValue } from '../filters/index.js';
|
|
3
3
|
export declare const onFilterHandler: <T extends Record<string, unknown>>(newState: TableState<T>, action: ActionType, previousState: TableState<T>, currentFilter: TableFilterValue<T>[], instance?: TableInstance<T> | undefined) => TableFilterValue<T>[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { onExpandHandler } from './expandHandler';
|
|
2
|
-
export { onFilterHandler } from './filterHandler';
|
|
3
|
-
export { onToggleHandler, onSingleSelectHandler, onShiftSelectHandler, } from './selectHandler';
|
|
4
|
-
export { onTableResizeStart, onTableResizeEnd } from './resizeHandler';
|
|
1
|
+
export { onExpandHandler } from './expandHandler.js';
|
|
2
|
+
export { onFilterHandler } from './filterHandler.js';
|
|
3
|
+
export { onToggleHandler, onSingleSelectHandler, onShiftSelectHandler, } from './selectHandler.js';
|
|
4
|
+
export { onTableResizeStart, onTableResizeEnd } from './resizeHandler.js';
|
|
@@ -5,14 +5,14 @@ exports.onTableResizeEnd = exports.onTableResizeStart = exports.onShiftSelectHan
|
|
|
5
5
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
6
6
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
7
7
|
*--------------------------------------------------------------------------------------------*/
|
|
8
|
-
var
|
|
9
|
-
Object.defineProperty(exports, "onExpandHandler", { enumerable: true, get: function () { return
|
|
10
|
-
var
|
|
11
|
-
Object.defineProperty(exports, "onFilterHandler", { enumerable: true, get: function () { return
|
|
12
|
-
var
|
|
13
|
-
Object.defineProperty(exports, "onToggleHandler", { enumerable: true, get: function () { return
|
|
14
|
-
Object.defineProperty(exports, "onSingleSelectHandler", { enumerable: true, get: function () { return
|
|
15
|
-
Object.defineProperty(exports, "onShiftSelectHandler", { enumerable: true, get: function () { return
|
|
16
|
-
var
|
|
17
|
-
Object.defineProperty(exports, "onTableResizeStart", { enumerable: true, get: function () { return
|
|
18
|
-
Object.defineProperty(exports, "onTableResizeEnd", { enumerable: true, get: function () { return
|
|
8
|
+
var expandHandler_js_1 = require("./expandHandler.js");
|
|
9
|
+
Object.defineProperty(exports, "onExpandHandler", { enumerable: true, get: function () { return expandHandler_js_1.onExpandHandler; } });
|
|
10
|
+
var filterHandler_js_1 = require("./filterHandler.js");
|
|
11
|
+
Object.defineProperty(exports, "onFilterHandler", { enumerable: true, get: function () { return filterHandler_js_1.onFilterHandler; } });
|
|
12
|
+
var selectHandler_js_1 = require("./selectHandler.js");
|
|
13
|
+
Object.defineProperty(exports, "onToggleHandler", { enumerable: true, get: function () { return selectHandler_js_1.onToggleHandler; } });
|
|
14
|
+
Object.defineProperty(exports, "onSingleSelectHandler", { enumerable: true, get: function () { return selectHandler_js_1.onSingleSelectHandler; } });
|
|
15
|
+
Object.defineProperty(exports, "onShiftSelectHandler", { enumerable: true, get: function () { return selectHandler_js_1.onShiftSelectHandler; } });
|
|
16
|
+
var resizeHandler_js_1 = require("./resizeHandler.js");
|
|
17
|
+
Object.defineProperty(exports, "onTableResizeStart", { enumerable: true, get: function () { return resizeHandler_js_1.onTableResizeStart; } });
|
|
18
|
+
Object.defineProperty(exports, "onTableResizeEnd", { enumerable: true, get: function () { return resizeHandler_js_1.onTableResizeEnd; } });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ActionType, TableState } from 'react-table';
|
|
1
|
+
import type { ActionType, TableState } from 'react-table';
|
|
2
2
|
export declare const onTableResizeStart: <T extends Record<string, unknown>>(state: TableState<T>) => {
|
|
3
3
|
isTableResizing: boolean;
|
|
4
4
|
hiddenColumns?: import("react-table").IdType<T>[] | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { CellRendererProps } from 'react-table';
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { CellRendererProps } from 'react-table';
|
|
3
3
|
export declare type DefaultCellProps<T extends Record<string, unknown>> = {
|
|
4
4
|
/**
|
|
5
5
|
* Custom icon to be displayed at the beginning of the cell.
|
|
@@ -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,7 +31,7 @@ exports.DefaultCell = 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
|
/**
|
|
14
37
|
* Default cell.
|
|
@@ -25,10 +48,10 @@ const DefaultCell = (props) => {
|
|
|
25
48
|
// Omitting `cellProps`
|
|
26
49
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
27
50
|
const { cellElementProps: { className: cellElementClassName, style: cellElementStyle, ...cellElementProps }, children, startIcon, endIcon, cellProps, isDisabled, className, style, status, ...rest } = props;
|
|
28
|
-
return (
|
|
29
|
-
startIcon && (
|
|
51
|
+
return (React.createElement("div", { ...cellElementProps, ...rest, className: (0, classnames_1.default)(cellElementClassName, className), "aria-disabled": (isDisabled === null || isDisabled === void 0 ? void 0 : isDisabled(cellProps.row.original)) || undefined, "data-iui-status": status, style: { ...cellElementStyle, ...style } },
|
|
52
|
+
startIcon && (React.createElement("div", { className: 'iui-table-cell-start-icon' }, startIcon)),
|
|
30
53
|
children,
|
|
31
|
-
endIcon &&
|
|
54
|
+
endIcon && React.createElement("div", { className: 'iui-table-cell-end-icon' }, endIcon)));
|
|
32
55
|
};
|
|
33
56
|
exports.DefaultCell = DefaultCell;
|
|
34
57
|
exports.default = exports.DefaultCell;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { CellRendererProps } from 'react-table';
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { CellRendererProps } from 'react-table';
|
|
3
3
|
export declare 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,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.EditableCell = void 0;
|
|
@@ -8,8 +28,8 @@ exports.EditableCell = 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
|
|
31
|
+
const React = __importStar(require("react"));
|
|
32
|
+
const index_js_1 = require("../../utils/index.js");
|
|
13
33
|
/**
|
|
14
34
|
* Editable cell.
|
|
15
35
|
* It should be passed to `cellRenderer`.
|
|
@@ -26,13 +46,13 @@ const EditableCell = (props) => {
|
|
|
26
46
|
const sanitizeString = (text) => {
|
|
27
47
|
return text.replace(/(\r\n|\n|\r)+/gm, ' ');
|
|
28
48
|
};
|
|
29
|
-
const [value, setValue] =
|
|
30
|
-
|
|
49
|
+
const [value, setValue] = React.useState(() => sanitizeString(cellProps.value));
|
|
50
|
+
React.useEffect(() => {
|
|
31
51
|
setValue(sanitizeString(cellProps.value));
|
|
32
52
|
}, [cellProps.value]);
|
|
33
|
-
const [key, setKey] =
|
|
34
|
-
const [isDirty, setIsDirty] =
|
|
35
|
-
return (
|
|
53
|
+
const [key, setKey] = React.useState((0, index_js_1.getRandomValue)(10));
|
|
54
|
+
const [isDirty, setIsDirty] = React.useState(false);
|
|
55
|
+
return (React.createElement("div", { ...cellElementProps, contentEditable: true, suppressContentEditableWarning: true, key: key, ...rest, onInput: (e) => {
|
|
36
56
|
var _a;
|
|
37
57
|
setValue(sanitizeString(e.target.innerText));
|
|
38
58
|
setIsDirty(true);
|
|
@@ -45,7 +65,7 @@ const EditableCell = (props) => {
|
|
|
45
65
|
(_a = props.onBlur) === null || _a === void 0 ? void 0 : _a.call(props, e);
|
|
46
66
|
// Prevents error when text is cleared.
|
|
47
67
|
// New key makes React to reattach with the DOM so it won't complain about deleted text node.
|
|
48
|
-
setKey((0,
|
|
68
|
+
setKey((0, index_js_1.getRandomValue)(10));
|
|
49
69
|
}, onKeyDown: (e) => {
|
|
50
70
|
var _a;
|
|
51
71
|
// Prevents from adding HTML elements (div, br) inside a cell on Enter press
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { DefaultCell } from './DefaultCell';
|
|
2
|
-
export type { DefaultCellProps } from './DefaultCell';
|
|
3
|
-
export { EditableCell } from './EditableCell';
|
|
4
|
-
export type { EditableCellProps } from './EditableCell';
|
|
1
|
+
export { DefaultCell } from './DefaultCell.js';
|
|
2
|
+
export type { DefaultCellProps } from './DefaultCell.js';
|
|
3
|
+
export { EditableCell } from './EditableCell.js';
|
|
4
|
+
export type { EditableCellProps } from './EditableCell.js';
|
|
@@ -5,7 +5,7 @@ exports.EditableCell = exports.DefaultCell = void 0;
|
|
|
5
5
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
6
6
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
7
7
|
*--------------------------------------------------------------------------------------------*/
|
|
8
|
-
var
|
|
9
|
-
Object.defineProperty(exports, "DefaultCell", { enumerable: true, get: function () { return
|
|
10
|
-
var
|
|
11
|
-
Object.defineProperty(exports, "EditableCell", { enumerable: true, get: function () { return
|
|
8
|
+
var DefaultCell_js_1 = require("./DefaultCell.js");
|
|
9
|
+
Object.defineProperty(exports, "DefaultCell", { enumerable: true, get: function () { return DefaultCell_js_1.DefaultCell; } });
|
|
10
|
+
var EditableCell_js_1 = require("./EditableCell.js");
|
|
11
|
+
Object.defineProperty(exports, "EditableCell", { enumerable: true, get: function () { return EditableCell_js_1.EditableCell; } });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { HeaderProps } from 'react-table';
|
|
3
|
-
import { DropdownMenuProps } from '../../DropdownMenu';
|
|
2
|
+
import type { HeaderProps } from 'react-table';
|
|
3
|
+
import type { DropdownMenuProps } from '../../DropdownMenu/index.js';
|
|
4
4
|
declare type ActionColumnProps = {
|
|
5
5
|
columnManager?: boolean | {
|
|
6
6
|
dropdownMenuProps: Omit<DropdownMenuProps, 'menuItems' | 'children'>;
|