@itwin/itwinui-react 2.10.1 → 2.11.0
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 +32 -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 +26 -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 +2 -2
- 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
|
};
|
|
@@ -9,32 +32,32 @@ exports.RadioTile = void 0;
|
|
|
9
32
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
10
33
|
*--------------------------------------------------------------------------------------------*/
|
|
11
34
|
const classnames_1 = __importDefault(require("classnames"));
|
|
12
|
-
const
|
|
13
|
-
const
|
|
35
|
+
const React = __importStar(require("react"));
|
|
36
|
+
const index_js_1 = require("../utils/index.js");
|
|
14
37
|
require("@itwin/itwinui-css/css/radio-tile.css");
|
|
15
38
|
/**
|
|
16
39
|
* RadioTile component to be used in RadioTileGroup component
|
|
17
40
|
* @example
|
|
18
41
|
* <RadioTile label='My tile' description='Some info' icon={<SvgSmileyHappy />} />
|
|
19
42
|
*/
|
|
20
|
-
exports.RadioTile =
|
|
43
|
+
exports.RadioTile = React.forwardRef((props, ref) => {
|
|
21
44
|
const { icon, label, description, setFocus = false, className, style, ...rest } = props;
|
|
22
|
-
(0,
|
|
23
|
-
const inputElementRef =
|
|
24
|
-
const refs = (0,
|
|
25
|
-
|
|
45
|
+
(0, index_js_1.useTheme)();
|
|
46
|
+
const inputElementRef = React.useRef(null);
|
|
47
|
+
const refs = (0, index_js_1.useMergedRefs)(inputElementRef, ref);
|
|
48
|
+
React.useEffect(() => {
|
|
26
49
|
if (inputElementRef.current && setFocus) {
|
|
27
50
|
inputElementRef.current.focus();
|
|
28
51
|
}
|
|
29
52
|
}, [setFocus]);
|
|
30
|
-
return (
|
|
31
|
-
|
|
32
|
-
|
|
53
|
+
return (React.createElement("label", { className: (0, classnames_1.default)('iui-radio-tile', className), style: style },
|
|
54
|
+
React.createElement("input", { className: 'iui-radio-tile-input', type: 'radio', ref: refs, ...rest }),
|
|
55
|
+
React.createElement("div", { className: 'iui-radio-tile-content' },
|
|
33
56
|
icon &&
|
|
34
|
-
|
|
57
|
+
React.cloneElement(icon, {
|
|
35
58
|
className: (0, classnames_1.default)('iui-radio-tile-icon', icon.props.className),
|
|
36
59
|
}),
|
|
37
|
-
label &&
|
|
38
|
-
description && (
|
|
60
|
+
label && React.createElement("div", { className: 'iui-radio-tile-label' }, label),
|
|
61
|
+
description && (React.createElement("div", { className: 'iui-radio-tile-sublabel' }, description)))));
|
|
39
62
|
});
|
|
40
63
|
exports.default = exports.RadioTile;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { InputGroupProps } from '../InputGroup';
|
|
2
|
+
import type { InputGroupProps } from '../InputGroup/index.js';
|
|
3
3
|
import '@itwin/itwinui-css/css/radio-tile.css';
|
|
4
4
|
export declare type RadioTileGroupProps = Omit<InputGroupProps, 'displayStyle' | 'disabled'>;
|
|
5
5
|
/**
|
|
@@ -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.RadioTileGroup = void 0;
|
|
@@ -8,10 +28,10 @@ exports.RadioTileGroup = 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("../InputGroup/index.js");
|
|
13
33
|
require("@itwin/itwinui-css/css/radio-tile.css");
|
|
14
|
-
const
|
|
34
|
+
const index_js_2 = require("../utils/index.js");
|
|
15
35
|
/**
|
|
16
36
|
* RadioTileGroup component to group RadioTile components together
|
|
17
37
|
* @example
|
|
@@ -22,9 +42,9 @@ const utils_1 = require("../utils");
|
|
|
22
42
|
*/
|
|
23
43
|
const RadioTileGroup = (props) => {
|
|
24
44
|
const { children, label, ...rest } = props;
|
|
25
|
-
(0,
|
|
26
|
-
return (
|
|
27
|
-
|
|
45
|
+
(0, index_js_2.useTheme)();
|
|
46
|
+
return (React.createElement(index_js_1.InputGroup, { label: label, ...rest },
|
|
47
|
+
React.createElement("div", { className: 'iui-radio-tile-container' }, children)));
|
|
28
48
|
};
|
|
29
49
|
exports.RadioTileGroup = RadioTileGroup;
|
|
30
50
|
exports.default = exports.RadioTileGroup;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { RadioTileGroup } from './RadioTileGroup';
|
|
2
|
-
export type { RadioTileGroupProps } from './RadioTileGroup';
|
|
3
|
-
export { RadioTile } from './RadioTile';
|
|
4
|
-
export type { RadioTileProps } from './RadioTile';
|
|
1
|
+
export { RadioTileGroup } from './RadioTileGroup.js';
|
|
2
|
+
export type { RadioTileGroupProps } from './RadioTileGroup.js';
|
|
3
|
+
export { RadioTile } from './RadioTile.js';
|
|
4
|
+
export type { RadioTileProps } from './RadioTile.js';
|
|
5
5
|
declare const _default: "./RadioTileGroup";
|
|
6
6
|
export default _default;
|
|
@@ -5,8 +5,8 @@ exports.RadioTile = exports.RadioTileGroup = 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, "RadioTileGroup", { enumerable: true, get: function () { return
|
|
10
|
-
var
|
|
11
|
-
Object.defineProperty(exports, "RadioTile", { enumerable: true, get: function () { return
|
|
8
|
+
var RadioTileGroup_js_1 = require("./RadioTileGroup.js");
|
|
9
|
+
Object.defineProperty(exports, "RadioTileGroup", { enumerable: true, get: function () { return RadioTileGroup_js_1.RadioTileGroup; } });
|
|
10
|
+
var RadioTile_js_1 = require("./RadioTile.js");
|
|
11
|
+
Object.defineProperty(exports, "RadioTile", { enumerable: true, get: function () { return RadioTile_js_1.RadioTile; } });
|
|
12
12
|
exports.default = './RadioTileGroup';
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { IconProps, PolymorphicForwardRefComponent, PolymorphicComponentProps, InputFlexContainerProps } from '../utils/index.js';
|
|
3
|
+
import type { IconButtonProps } from '../Buttons/IconButton/index.js';
|
|
4
|
+
import '@itwin/itwinui-css/css/searchbox.css';
|
|
5
|
+
declare type SearchBoxOwnProps = {
|
|
6
|
+
/**
|
|
7
|
+
* Whether the searchbox is expandable.
|
|
8
|
+
* @default false
|
|
9
|
+
*/
|
|
10
|
+
expandable?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* SearchBox state toggle.
|
|
13
|
+
*/
|
|
14
|
+
isExpanded?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Function that is called on expanding searchbox.
|
|
17
|
+
*/
|
|
18
|
+
onExpand?: () => void;
|
|
19
|
+
/**
|
|
20
|
+
* Function that is called on collapsing searchbox.
|
|
21
|
+
*/
|
|
22
|
+
onCollapse?: () => void;
|
|
23
|
+
/**
|
|
24
|
+
* Input props when using default searchbox.
|
|
25
|
+
*/
|
|
26
|
+
inputProps?: React.ComponentPropsWithoutRef<'input'>;
|
|
27
|
+
/**
|
|
28
|
+
* Modify size of the searchbox and it's subcomponents.
|
|
29
|
+
*/
|
|
30
|
+
size?: 'small' | 'large';
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* SearchBox component.
|
|
34
|
+
* Can be used to implement search functionality for pages, tables and more.
|
|
35
|
+
* @example
|
|
36
|
+
* <SearchBox inputProps={{ placeholder: 'Basic search' }}/>
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* <SearchBox expandable inputProps={{ placeholder: 'Expandable search' }}/>
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* <SearchBox>
|
|
43
|
+
* <SearchBox.CollapsedState />
|
|
44
|
+
* <SearchBox.ExpandedState>
|
|
45
|
+
* <SearchBox.Icon />
|
|
46
|
+
* <SearchBox.Input />
|
|
47
|
+
* <SearchBox.CollapseButton />
|
|
48
|
+
* </SearchBox.ExpandedState>
|
|
49
|
+
* </SearchBox>
|
|
50
|
+
*/
|
|
51
|
+
export declare const SearchBox: PolymorphicForwardRefComponent<"div", SearchBoxOwnProps & Omit<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>>, keyof {
|
|
52
|
+
isDisabled?: boolean | undefined;
|
|
53
|
+
status?: "positive" | "warning" | "negative" | undefined;
|
|
54
|
+
}> & {
|
|
55
|
+
isDisabled?: boolean | undefined;
|
|
56
|
+
status?: "positive" | "warning" | "negative" | undefined;
|
|
57
|
+
}> & {
|
|
58
|
+
/**
|
|
59
|
+
* Icon to be placed within SearchBox.
|
|
60
|
+
* @default Looking glass icon
|
|
61
|
+
*/
|
|
62
|
+
Icon: PolymorphicForwardRefComponent<"span", IconProps>;
|
|
63
|
+
/**
|
|
64
|
+
* Input to be placed within SearchBox
|
|
65
|
+
*/
|
|
66
|
+
Input: React.ForwardRefExoticComponent<Pick<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof React.InputHTMLAttributes<HTMLInputElement>> & React.RefAttributes<HTMLInputElement>>;
|
|
67
|
+
/**
|
|
68
|
+
* Button to be placed within SearchBox. Default has looking glass icon.
|
|
69
|
+
*/
|
|
70
|
+
Button: PolymorphicForwardRefComponent<"button", IconButtonProps>;
|
|
71
|
+
/**
|
|
72
|
+
* Collapse button for expandable SearchBox. Clicking on this button will collapse SearchBox.
|
|
73
|
+
*/
|
|
74
|
+
CollapseButton: PolymorphicForwardRefComponent<"button", IconButtonProps>;
|
|
75
|
+
/**
|
|
76
|
+
* Expand button for expandable SearchBox. Clicking on this will expand SearchBox.
|
|
77
|
+
*/
|
|
78
|
+
ExpandButton: PolymorphicForwardRefComponent<"button", IconButtonProps>;
|
|
79
|
+
/**
|
|
80
|
+
* Subcomponent to customise expanded state of the SearchBox
|
|
81
|
+
*/
|
|
82
|
+
ExpandedState: {
|
|
83
|
+
({ children, }: {
|
|
84
|
+
children: React.ReactNode;
|
|
85
|
+
}): JSX.Element | null;
|
|
86
|
+
displayName: string;
|
|
87
|
+
};
|
|
88
|
+
/**
|
|
89
|
+
* Subcomponent to customise collapsed state.
|
|
90
|
+
*/
|
|
91
|
+
CollapsedState: {
|
|
92
|
+
({ children, }: {
|
|
93
|
+
children?: React.ReactNode;
|
|
94
|
+
}): JSX.Element | null;
|
|
95
|
+
displayName: string;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
export declare type SearchBoxProps = PolymorphicComponentProps<'div', SearchBoxOwnProps & InputFlexContainerProps>;
|
|
99
|
+
export declare type SearchBoxInputProps = React.ComponentProps<'input'>;
|
|
100
|
+
export declare type SearchBoxButtonProps = PolymorphicComponentProps<'button', IconButtonProps>;
|
|
101
|
+
export declare type SearchBoxExpandButtonProps = PolymorphicComponentProps<'button', IconButtonProps>;
|
|
102
|
+
export declare type SearchBoxCollapseButtonProps = PolymorphicComponentProps<'button', IconButtonProps>;
|
|
103
|
+
export declare type SearchBoxIconProps = PolymorphicComponentProps<'span', IconProps>;
|
|
104
|
+
export default SearchBox;
|
|
@@ -0,0 +1,200 @@
|
|
|
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
|
+
};
|
|
25
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.SearchBox = void 0;
|
|
30
|
+
/*---------------------------------------------------------------------------------------------
|
|
31
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
32
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
33
|
+
*--------------------------------------------------------------------------------------------*/
|
|
34
|
+
const React = __importStar(require("react"));
|
|
35
|
+
const classnames_1 = __importDefault(require("classnames"));
|
|
36
|
+
const index_js_1 = require("../utils/index.js");
|
|
37
|
+
const index_js_2 = require("../Buttons/IconButton/index.js");
|
|
38
|
+
require("@itwin/itwinui-css/css/searchbox.css");
|
|
39
|
+
const SearchBoxContext = React.createContext(undefined);
|
|
40
|
+
const SearchBoxComponent = React.forwardRef((props, ref) => {
|
|
41
|
+
(0, index_js_1.useTheme)();
|
|
42
|
+
const { size, expandable = false, isDisabled = false, onCollapse: onCollapseProp, onExpand: onExpandProp, isExpanded: isExpandedProp, children, inputProps, className, ...rest } = props;
|
|
43
|
+
const uid = (0, index_js_1.useId)();
|
|
44
|
+
const [inputId, setInputId] = React.useState(uid);
|
|
45
|
+
const inputRef = React.useRef(null);
|
|
46
|
+
const openButtonRef = React.useRef(null);
|
|
47
|
+
const [localExpanded, setLocalExpanded] = React.useState(isExpandedProp);
|
|
48
|
+
const isExpanded = isExpandedProp !== null && isExpandedProp !== void 0 ? isExpandedProp : localExpanded;
|
|
49
|
+
const onCollapse = () => {
|
|
50
|
+
setLocalExpanded(false);
|
|
51
|
+
onCollapseProp === null || onCollapseProp === void 0 ? void 0 : onCollapseProp();
|
|
52
|
+
queueMicrotask(() => { var _a; return (_a = openButtonRef.current) === null || _a === void 0 ? void 0 : _a.focus({ preventScroll: true }); });
|
|
53
|
+
};
|
|
54
|
+
const onExpand = () => {
|
|
55
|
+
setLocalExpanded(true);
|
|
56
|
+
onExpandProp === null || onExpandProp === void 0 ? void 0 : onExpandProp();
|
|
57
|
+
queueMicrotask(() => { var _a; return (_a = inputRef.current) === null || _a === void 0 ? void 0 : _a.focus({ preventScroll: true }); });
|
|
58
|
+
};
|
|
59
|
+
return (React.createElement(SearchBoxContext.Provider, { value: {
|
|
60
|
+
size,
|
|
61
|
+
isDisabled,
|
|
62
|
+
onCollapse,
|
|
63
|
+
onExpand,
|
|
64
|
+
inputRef,
|
|
65
|
+
inputId,
|
|
66
|
+
setInputId,
|
|
67
|
+
openButtonRef,
|
|
68
|
+
isExpanded,
|
|
69
|
+
expandable,
|
|
70
|
+
} },
|
|
71
|
+
React.createElement(index_js_1.InputFlexContainer, { ref: ref, className: (0, classnames_1.default)('iui-searchbox', { 'iui-expandable-searchbox': expandable }, className), "data-iui-size": size, isDisabled: isDisabled, "data-iui-expanded": isExpanded, ...rest }, children !== null && children !== void 0 ? children : (React.createElement(React.Fragment, null,
|
|
72
|
+
React.createElement(SearchBoxCollapsedState, null,
|
|
73
|
+
React.createElement(SearchBoxExpandButton, null)),
|
|
74
|
+
React.createElement(SearchBoxExpandedState, null,
|
|
75
|
+
React.createElement(SearchBoxIcon, null),
|
|
76
|
+
React.createElement(SearchBoxInput, { ...inputProps }),
|
|
77
|
+
expandable ? React.createElement(SearchBoxCollapseButton, null) : null))))));
|
|
78
|
+
});
|
|
79
|
+
// ----------------------------------------------------------------------------
|
|
80
|
+
const SearchBoxCollapsedState = ({ children, }) => {
|
|
81
|
+
const { isExpanded, expandable } = (0, index_js_1.useSafeContext)(SearchBoxContext);
|
|
82
|
+
if (!expandable || isExpanded) {
|
|
83
|
+
return null;
|
|
84
|
+
}
|
|
85
|
+
return React.createElement(React.Fragment, null, children !== null && children !== void 0 ? children : React.createElement(SearchBoxExpandButton, null));
|
|
86
|
+
};
|
|
87
|
+
SearchBoxCollapsedState.displayName = 'SearchBox.CollapsedState';
|
|
88
|
+
// ----------------------------------------------------------------------------
|
|
89
|
+
const SearchBoxExpandedState = ({ children, }) => {
|
|
90
|
+
const { isExpanded, expandable } = (0, index_js_1.useSafeContext)(SearchBoxContext);
|
|
91
|
+
if (expandable && !isExpanded) {
|
|
92
|
+
return null;
|
|
93
|
+
}
|
|
94
|
+
return React.createElement(React.Fragment, null, children);
|
|
95
|
+
};
|
|
96
|
+
SearchBoxExpandedState.displayName = 'SearchBox.ExpandedState';
|
|
97
|
+
// ----------------------------------------------------------------------------
|
|
98
|
+
const SearchBoxIcon = React.forwardRef((props, ref) => {
|
|
99
|
+
const { className, children, ...rest } = props;
|
|
100
|
+
return (React.createElement(index_js_1.Icon, { "aria-hidden": true, className: (0, classnames_1.default)('iui-search-icon', className), ref: ref, ...rest }, children !== null && children !== void 0 ? children : React.createElement(index_js_1.SvgSearch, null)));
|
|
101
|
+
});
|
|
102
|
+
SearchBoxIcon.displayName = 'SearchBox.Icon';
|
|
103
|
+
// ----------------------------------------------------------------------------
|
|
104
|
+
const SearchBoxInput = React.forwardRef((props, ref) => {
|
|
105
|
+
const { className, id: idProp, ...rest } = props;
|
|
106
|
+
const { inputId, setInputId, isDisabled, inputRef } = (0, index_js_1.useSafeContext)(SearchBoxContext);
|
|
107
|
+
React.useEffect(() => {
|
|
108
|
+
if (idProp && idProp !== inputId) {
|
|
109
|
+
setInputId(idProp);
|
|
110
|
+
}
|
|
111
|
+
}, [idProp, inputId, setInputId]);
|
|
112
|
+
return (React.createElement("input", { id: idProp !== null && idProp !== void 0 ? idProp : inputId, ref: (0, index_js_1.useMergedRefs)(ref, inputRef), role: 'searchbox', type: 'text', className: (0, classnames_1.default)('iui-search-input', className), disabled: isDisabled, ...rest }));
|
|
113
|
+
});
|
|
114
|
+
SearchBoxInput.displayName = 'SearchBox.Input';
|
|
115
|
+
// ----------------------------------------------------------------------------
|
|
116
|
+
const SearchBoxButton = React.forwardRef((props, ref) => {
|
|
117
|
+
const { children, ...rest } = props;
|
|
118
|
+
const { size: sizeContext, isDisabled } = (0, index_js_1.useSafeContext)(SearchBoxContext);
|
|
119
|
+
return (React.createElement(index_js_2.IconButton, { styleType: 'borderless', size: sizeContext, ref: ref, disabled: isDisabled, ...rest }, children !== null && children !== void 0 ? children : React.createElement(index_js_1.SvgSearch, null)));
|
|
120
|
+
});
|
|
121
|
+
SearchBoxButton.displayName = 'SearchBox.Button';
|
|
122
|
+
// ----------------------------------------------------------------------------
|
|
123
|
+
const SearchBoxCollapseButton = React.forwardRef((props, ref) => {
|
|
124
|
+
const { children, onClick: onClickProp, ...rest } = props;
|
|
125
|
+
const { onCollapse, size: sizeContext, isDisabled, } = (0, index_js_1.useSafeContext)(SearchBoxContext);
|
|
126
|
+
return (React.createElement(SearchBoxButton, { ref: ref, "aria-label": 'Close searchbox', size: sizeContext, disabled: isDisabled, onClick: (e) => {
|
|
127
|
+
onClickProp === null || onClickProp === void 0 ? void 0 : onClickProp(e);
|
|
128
|
+
if (e.isDefaultPrevented()) {
|
|
129
|
+
return;
|
|
130
|
+
}
|
|
131
|
+
onCollapse === null || onCollapse === void 0 ? void 0 : onCollapse();
|
|
132
|
+
}, ...rest }, children !== null && children !== void 0 ? children : React.createElement(index_js_1.SvgCloseSmall, null)));
|
|
133
|
+
});
|
|
134
|
+
SearchBoxCollapseButton.displayName = 'SearchBox.CollapseButton';
|
|
135
|
+
// ----------------------------------------------------------------------------
|
|
136
|
+
const SearchBoxExpandButton = React.forwardRef((props, ref) => {
|
|
137
|
+
const { children, className, onClick: onClickProp, ...rest } = props;
|
|
138
|
+
const { onExpand, size: sizeContext, isDisabled, openButtonRef, } = (0, index_js_1.useSafeContext)(SearchBoxContext);
|
|
139
|
+
return (React.createElement(SearchBoxButton, { ref: (0, index_js_1.useMergedRefs)(ref, openButtonRef), className: (0, classnames_1.default)('iui-searchbox-open-button', className), "aria-label": 'Expand searchbox', size: sizeContext, disabled: isDisabled, onClick: (e) => {
|
|
140
|
+
onClickProp === null || onClickProp === void 0 ? void 0 : onClickProp(e);
|
|
141
|
+
if (e.isDefaultPrevented()) {
|
|
142
|
+
return;
|
|
143
|
+
}
|
|
144
|
+
onExpand === null || onExpand === void 0 ? void 0 : onExpand();
|
|
145
|
+
}, ...rest }, children !== null && children !== void 0 ? children : React.createElement(index_js_1.SvgSearch, null)));
|
|
146
|
+
});
|
|
147
|
+
SearchBoxExpandButton.displayName = 'SearchBox.ExpandButton';
|
|
148
|
+
// ----------------------------------------------------------------------------
|
|
149
|
+
/**
|
|
150
|
+
* SearchBox component.
|
|
151
|
+
* Can be used to implement search functionality for pages, tables and more.
|
|
152
|
+
* @example
|
|
153
|
+
* <SearchBox inputProps={{ placeholder: 'Basic search' }}/>
|
|
154
|
+
*
|
|
155
|
+
* @example
|
|
156
|
+
* <SearchBox expandable inputProps={{ placeholder: 'Expandable search' }}/>
|
|
157
|
+
*
|
|
158
|
+
* @example
|
|
159
|
+
* <SearchBox>
|
|
160
|
+
* <SearchBox.CollapsedState />
|
|
161
|
+
* <SearchBox.ExpandedState>
|
|
162
|
+
* <SearchBox.Icon />
|
|
163
|
+
* <SearchBox.Input />
|
|
164
|
+
* <SearchBox.CollapseButton />
|
|
165
|
+
* </SearchBox.ExpandedState>
|
|
166
|
+
* </SearchBox>
|
|
167
|
+
*/
|
|
168
|
+
exports.SearchBox = Object.assign(SearchBoxComponent, {
|
|
169
|
+
/**
|
|
170
|
+
* Icon to be placed within SearchBox.
|
|
171
|
+
* @default Looking glass icon
|
|
172
|
+
*/
|
|
173
|
+
Icon: SearchBoxIcon,
|
|
174
|
+
/**
|
|
175
|
+
* Input to be placed within SearchBox
|
|
176
|
+
*/
|
|
177
|
+
Input: SearchBoxInput,
|
|
178
|
+
/**
|
|
179
|
+
* Button to be placed within SearchBox. Default has looking glass icon.
|
|
180
|
+
*/
|
|
181
|
+
Button: SearchBoxButton,
|
|
182
|
+
/**
|
|
183
|
+
* Collapse button for expandable SearchBox. Clicking on this button will collapse SearchBox.
|
|
184
|
+
*/
|
|
185
|
+
CollapseButton: SearchBoxCollapseButton,
|
|
186
|
+
/**
|
|
187
|
+
* Expand button for expandable SearchBox. Clicking on this will expand SearchBox.
|
|
188
|
+
*/
|
|
189
|
+
ExpandButton: SearchBoxExpandButton,
|
|
190
|
+
/**
|
|
191
|
+
* Subcomponent to customise expanded state of the SearchBox
|
|
192
|
+
*/
|
|
193
|
+
ExpandedState: SearchBoxExpandedState,
|
|
194
|
+
/**
|
|
195
|
+
* Subcomponent to customise collapsed state.
|
|
196
|
+
*/
|
|
197
|
+
CollapsedState: SearchBoxCollapsedState,
|
|
198
|
+
});
|
|
199
|
+
exports.SearchBox.displayName = 'SearchBox';
|
|
200
|
+
exports.default = exports.SearchBox;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { SearchBox } from './SearchBox.js';
|
|
2
|
+
export type { SearchBoxProps, SearchBoxButtonProps, SearchBoxCollapseButtonProps, SearchBoxExpandButtonProps, SearchBoxIconProps, SearchBoxInputProps, } from './SearchBox.js';
|
|
3
|
+
declare const _default: "./SearchBox";
|
|
4
|
+
export default _default;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SearchBox = void 0;
|
|
4
|
+
/*---------------------------------------------------------------------------------------------
|
|
5
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
6
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
7
|
+
*--------------------------------------------------------------------------------------------*/
|
|
8
|
+
var SearchBox_js_1 = require("./SearchBox.js");
|
|
9
|
+
Object.defineProperty(exports, "SearchBox", { enumerable: true, get: function () { return SearchBox_js_1.SearchBox; } });
|
|
10
|
+
exports.default = './SearchBox';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { PopoverProps, CommonProps } from '../utils';
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { PopoverProps, CommonProps } from '../utils/index.js';
|
|
3
3
|
import '@itwin/itwinui-css/css/select.css';
|
|
4
4
|
export declare type ItemRendererProps = {
|
|
5
5
|
/**
|