@itwin/itwinui-react 3.8.1 → 3.9.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 +26 -0
- package/cjs/core/Alert/Alert.d.ts +7 -3
- package/cjs/core/Alert/Alert.js +1 -1
- package/cjs/core/Avatar/Avatar.d.ts +2 -2
- package/cjs/core/Avatar/Avatar.js +1 -1
- package/cjs/core/AvatarGroup/AvatarGroup.d.ts +1 -1
- package/cjs/core/AvatarGroup/AvatarGroup.js +1 -1
- package/cjs/core/Backdrop/Backdrop.d.ts +1 -1
- package/cjs/core/Backdrop/Backdrop.js +1 -1
- package/cjs/core/Badge/Badge.d.ts +2 -2
- package/cjs/core/Badge/Badge.js +1 -1
- package/cjs/core/Breadcrumbs/Breadcrumbs.d.ts +1 -1
- package/cjs/core/Breadcrumbs/Breadcrumbs.js +1 -2
- package/cjs/core/ButtonGroup/ButtonGroup.d.ts +11 -2
- package/cjs/core/ButtonGroup/ButtonGroup.js +43 -31
- package/cjs/core/Buttons/Button.d.ts +8 -2
- package/cjs/core/Buttons/Button.js +6 -3
- package/cjs/core/Buttons/DropdownButton.d.ts +1 -1
- package/cjs/core/Buttons/DropdownButton.js +1 -1
- package/cjs/core/Buttons/IconButton.d.ts +1 -1
- package/cjs/core/Buttons/IconButton.js +1 -1
- package/cjs/core/Buttons/IdeasButton.d.ts +1 -1
- package/cjs/core/Buttons/IdeasButton.js +1 -1
- package/cjs/core/Buttons/SplitButton.d.ts +1 -1
- package/cjs/core/Buttons/SplitButton.js +1 -1
- package/cjs/core/Carousel/Carousel.d.ts +5 -5
- package/cjs/core/Carousel/Carousel.js +1 -1
- package/cjs/core/Carousel/CarouselDot.d.ts +1 -1
- package/cjs/core/Carousel/CarouselDot.js +1 -1
- package/cjs/core/Carousel/CarouselDotsList.d.ts +1 -1
- package/cjs/core/Carousel/CarouselDotsList.js +1 -1
- package/cjs/core/Carousel/CarouselNavigation.d.ts +5 -5
- package/cjs/core/Carousel/CarouselNavigation.js +1 -1
- package/cjs/core/Carousel/CarouselSlide.d.ts +1 -1
- package/cjs/core/Carousel/CarouselSlide.js +1 -1
- package/cjs/core/Carousel/CarouselSlider.d.ts +1 -1
- package/cjs/core/Carousel/CarouselSlider.js +1 -1
- package/cjs/core/Checkbox/Checkbox.d.ts +1 -1
- package/cjs/core/Checkbox/Checkbox.js +1 -1
- package/cjs/core/ColorPicker/ColorBuilder.d.ts +1 -1
- package/cjs/core/ColorPicker/ColorBuilder.js +1 -1
- package/cjs/core/ColorPicker/ColorInputPanel.d.ts +1 -1
- package/cjs/core/ColorPicker/ColorInputPanel.js +1 -1
- package/cjs/core/ColorPicker/ColorPalette.d.ts +2 -2
- package/cjs/core/ColorPicker/ColorPalette.js +1 -1
- package/cjs/core/ColorPicker/ColorPicker.d.ts +2 -2
- package/cjs/core/ColorPicker/ColorPicker.js +1 -1
- package/cjs/core/ColorPicker/ColorPickerContext.d.ts +1 -1
- package/cjs/core/ColorPicker/ColorSwatch.d.ts +2 -2
- package/cjs/core/ColorPicker/ColorSwatch.js +1 -1
- package/cjs/core/ComboBox/ComboBox.d.ts +1 -1
- package/cjs/core/ComboBox/ComboBox.js +1 -1
- package/cjs/core/ComboBox/ComboBoxEndIcon.d.ts +1 -1
- package/cjs/core/ComboBox/ComboBoxEndIcon.js +1 -1
- package/cjs/core/ComboBox/ComboBoxInput.d.ts +1 -1
- package/cjs/core/ComboBox/ComboBoxInput.js +1 -1
- package/cjs/core/ComboBox/ComboBoxInputContainer.d.ts +1 -1
- package/cjs/core/ComboBox/ComboBoxInputContainer.js +1 -1
- package/cjs/core/ComboBox/ComboBoxMenu.d.ts +1 -1
- package/cjs/core/ComboBox/ComboBoxMenu.js +1 -1
- package/cjs/core/ComboBox/ComboBoxMenuItem.d.ts +1 -1
- package/cjs/core/ComboBox/ComboBoxMenuItem.js +1 -1
- package/cjs/core/ComboBox/ComboBoxMultipleContainer.d.ts +1 -1
- package/cjs/core/DatePicker/DatePicker.d.ts +1 -1
- package/cjs/core/DatePicker/DatePicker.js +1 -1
- package/cjs/core/Dialog/Dialog.d.ts +1 -1
- package/cjs/core/Dialog/Dialog.js +1 -1
- package/cjs/core/Dialog/DialogBackdrop.d.ts +1 -1
- package/cjs/core/Dialog/DialogBackdrop.js +1 -1
- package/cjs/core/Dialog/DialogButtonBar.d.ts +1 -1
- package/cjs/core/Dialog/DialogButtonBar.js +1 -1
- package/cjs/core/Dialog/DialogContent.d.ts +1 -1
- package/cjs/core/Dialog/DialogContent.js +1 -1
- package/cjs/core/Dialog/DialogContext.d.ts +1 -1
- package/cjs/core/Dialog/DialogMain.d.ts +1 -1
- package/cjs/core/Dialog/DialogMain.js +2 -5
- package/cjs/core/Dialog/DialogTitleBar.d.ts +1 -1
- package/cjs/core/Dialog/DialogTitleBar.js +1 -1
- package/cjs/core/Dialog/DialogTitleBarTitle.d.ts +1 -1
- package/cjs/core/Dialog/DialogTitleBarTitle.js +1 -1
- package/cjs/core/Divider/Divider.d.ts +1 -1
- package/cjs/core/Divider/Divider.js +1 -1
- package/cjs/core/DropdownMenu/DropdownMenu.d.ts +1 -1
- package/cjs/core/DropdownMenu/DropdownMenu.js +1 -1
- package/cjs/core/ExpandableBlock/ExpandableBlock.d.ts +4 -7
- package/cjs/core/ExpandableBlock/ExpandableBlock.js +1 -1
- package/cjs/core/Fieldset/Fieldset.d.ts +1 -1
- package/cjs/core/Fieldset/Fieldset.js +1 -1
- package/cjs/core/FileUpload/FileEmptyCard.d.ts +1 -1
- package/cjs/core/FileUpload/FileEmptyCard.js +1 -1
- package/cjs/core/FileUpload/FileUpload.d.ts +1 -1
- package/cjs/core/FileUpload/FileUpload.js +1 -1
- package/cjs/core/FileUpload/FileUploadCard.d.ts +1 -1
- package/cjs/core/FileUpload/FileUploadCard.js +1 -1
- package/cjs/core/FileUpload/FileUploadTemplate.d.ts +1 -1
- package/cjs/core/FileUpload/FileUploadTemplate.js +1 -1
- package/cjs/core/Flex/Flex.d.ts +2 -2
- package/cjs/core/Flex/Flex.js +1 -1
- package/cjs/core/Footer/Footer.d.ts +4 -4
- package/cjs/core/Footer/Footer.js +1 -1
- package/cjs/core/Footer/FooterItem.d.ts +1 -1
- package/cjs/core/Footer/FooterItem.js +1 -1
- package/cjs/core/Footer/FooterList.d.ts +1 -1
- package/cjs/core/Footer/FooterList.js +1 -1
- package/cjs/core/Footer/FooterSeparator.d.ts +1 -1
- package/cjs/core/Footer/FooterSeparator.js +1 -1
- package/cjs/core/Header/Header.d.ts +1 -1
- package/cjs/core/Header/Header.js +1 -1
- package/cjs/core/Header/HeaderBasicButton.d.ts +1 -1
- package/cjs/core/Header/HeaderBasicButton.js +1 -1
- package/cjs/core/Header/HeaderBreadcrumbs.d.ts +1 -1
- package/cjs/core/Header/HeaderBreadcrumbs.js +1 -1
- package/cjs/core/Header/HeaderButton.d.ts +1 -1
- package/cjs/core/Header/HeaderButton.js +2 -2
- package/cjs/core/Header/HeaderDropdownButton.d.ts +1 -1
- package/cjs/core/Header/HeaderDropdownButton.js +1 -1
- package/cjs/core/Header/HeaderLogo.d.ts +1 -1
- package/cjs/core/Header/HeaderLogo.js +2 -3
- package/cjs/core/Header/HeaderSplitButton.d.ts +1 -1
- package/cjs/core/Header/HeaderSplitButton.js +1 -1
- package/cjs/core/Icon/Icon.d.ts +2 -2
- package/cjs/core/Icon/Icon.js +1 -1
- package/cjs/core/InformationPanel/InformationPanel.d.ts +1 -1
- package/cjs/core/InformationPanel/InformationPanel.js +1 -1
- package/cjs/core/InformationPanel/InformationPanelBody.d.ts +1 -1
- package/cjs/core/InformationPanel/InformationPanelBody.js +1 -1
- package/cjs/core/InformationPanel/InformationPanelContent.d.ts +1 -1
- package/cjs/core/InformationPanel/InformationPanelContent.js +1 -1
- package/cjs/core/InformationPanel/InformationPanelHeader.d.ts +1 -1
- package/cjs/core/InformationPanel/InformationPanelHeader.js +1 -1
- package/cjs/core/InformationPanel/InformationPanelWrapper.d.ts +1 -1
- package/cjs/core/InformationPanel/InformationPanelWrapper.js +1 -1
- package/cjs/core/Input/Input.d.ts +1 -1
- package/cjs/core/Input/Input.js +1 -1
- package/cjs/core/InputGrid/InputGrid.d.ts +1 -1
- package/cjs/core/InputGrid/InputGrid.js +1 -1
- package/cjs/core/InputGroup/InputGroup.d.ts +1 -1
- package/cjs/core/InputGroup/InputGroup.js +2 -2
- package/cjs/core/InputWithDecorations/InputWithDecorations.d.ts +3 -3
- package/cjs/core/InputWithDecorations/InputWithDecorations.js +1 -1
- package/cjs/core/Label/Label.d.ts +1 -1
- package/cjs/core/Label/Label.js +1 -1
- package/cjs/core/LabeledInput/LabeledInput.d.ts +1 -1
- package/cjs/core/LabeledInput/LabeledInput.js +1 -1
- package/cjs/core/LabeledSelect/LabeledSelect.d.ts +6 -6
- package/cjs/core/LabeledTextarea/LabeledTextarea.d.ts +1 -1
- package/cjs/core/LinkAction/LinkAction.d.ts +1 -1
- package/cjs/core/LinkAction/LinkAction.js +2 -2
- package/cjs/core/List/List.d.ts +1 -1
- package/cjs/core/List/List.js +1 -1
- package/cjs/core/List/ListItem.d.ts +1 -1
- package/cjs/core/List/ListItem.js +1 -1
- package/cjs/core/Menu/Menu.d.ts +1 -1
- package/cjs/core/Menu/Menu.js +1 -1
- package/cjs/core/Menu/MenuDivider.d.ts +1 -1
- package/cjs/core/Menu/MenuDivider.js +1 -1
- package/cjs/core/Menu/MenuExtraContent.d.ts +1 -1
- package/cjs/core/Menu/MenuExtraContent.js +1 -1
- package/cjs/core/Menu/MenuItem.d.ts +1 -1
- package/cjs/core/Menu/MenuItem.js +1 -1
- package/cjs/core/Menu/MenuItemSkeleton.d.ts +1 -1
- package/cjs/core/Menu/MenuItemSkeleton.js +1 -1
- package/cjs/core/Modal/Modal.d.ts +1 -1
- package/cjs/core/Modal/ModalButtonBar.d.ts +1 -1
- package/cjs/core/Modal/ModalContent.d.ts +1 -1
- package/cjs/core/NonIdealState/ErrorPage.d.ts +1 -1
- package/cjs/core/NonIdealState/ErrorPage.js +3 -3
- package/cjs/core/NonIdealState/NonIdealState.d.ts +1 -1
- package/cjs/core/NonIdealState/NonIdealState.js +1 -1
- package/cjs/core/NotificationMarker/NotificationMarker.d.ts +1 -1
- package/cjs/core/NotificationMarker/NotificationMarker.js +1 -1
- package/cjs/core/Overlay/Overlay.d.ts +1 -1
- package/cjs/core/Overlay/Overlay.js +1 -1
- package/cjs/core/Popover/Popover.d.ts +2 -2
- package/cjs/core/Popover/Popover.js +2 -2
- package/cjs/core/ProgressIndicators/ProgressLinear.d.ts +1 -1
- package/cjs/core/ProgressIndicators/ProgressLinear.js +1 -1
- package/cjs/core/ProgressIndicators/ProgressRadial.d.ts +1 -1
- package/cjs/core/ProgressIndicators/ProgressRadial.js +1 -1
- package/cjs/core/Radio/Radio.d.ts +1 -1
- package/cjs/core/Radio/Radio.js +1 -1
- package/cjs/core/RadioTiles/RadioTile.d.ts +1 -1
- package/cjs/core/RadioTiles/RadioTile.js +1 -1
- package/cjs/core/RadioTiles/RadioTileGroup.d.ts +1 -1
- package/cjs/core/RadioTiles/RadioTileGroup.js +1 -1
- package/cjs/core/SearchBox/SearchBox.d.ts +1 -1
- package/cjs/core/SearchBox/SearchBox.js +1 -1
- package/cjs/core/Select/Select.d.ts +1 -1
- package/cjs/core/Select/Select.js +5 -3
- package/cjs/core/Select/SelectTag.d.ts +1 -1
- package/cjs/core/Select/SelectTag.js +1 -1
- package/cjs/core/Select/SelectTagContainer.d.ts +1 -1
- package/cjs/core/Select/SelectTagContainer.js +1 -1
- package/cjs/core/SideNavigation/SideNavigation.d.ts +1 -1
- package/cjs/core/SideNavigation/SideNavigation.js +1 -1
- package/cjs/core/SideNavigation/SidenavButton.d.ts +1 -1
- package/cjs/core/SideNavigation/SidenavSubmenu.d.ts +1 -1
- package/cjs/core/SideNavigation/SidenavSubmenu.js +1 -1
- package/cjs/core/SideNavigation/SidenavSubmenuHeader.d.ts +1 -1
- package/cjs/core/SideNavigation/SidenavSubmenuHeader.js +1 -1
- package/cjs/core/SkipToContentLink/SkipToContentLink.d.ts +1 -1
- package/cjs/core/SkipToContentLink/SkipToContentLink.js +1 -1
- package/cjs/core/Slider/Slider.d.ts +1 -1
- package/cjs/core/Slider/Slider.js +1 -1
- package/cjs/core/Slider/Thumb.js +1 -1
- package/cjs/core/Slider/Track.js +1 -1
- package/cjs/core/StatusMessage/StatusMessage.d.ts +1 -1
- package/cjs/core/StatusMessage/StatusMessage.js +1 -1
- package/cjs/core/Stepper/Stepper.d.ts +1 -1
- package/cjs/core/Stepper/Stepper.js +1 -1
- package/cjs/core/Stepper/StepperStep.d.ts +1 -1
- package/cjs/core/Stepper/StepperStep.js +1 -1
- package/cjs/core/Stepper/WorkflowDiagram.d.ts +1 -1
- package/cjs/core/Stepper/WorkflowDiagram.js +1 -1
- package/cjs/core/Stepper/WorkflowDiagramStep.d.ts +1 -1
- package/cjs/core/Stepper/WorkflowDiagramStep.js +1 -1
- package/cjs/core/Surface/Surface.d.ts +1 -1
- package/cjs/core/Surface/Surface.js +1 -1
- package/cjs/core/Table/SubRowExpander.js +1 -1
- package/cjs/core/Table/Table.d.ts +1 -1
- package/cjs/core/Table/Table.js +2 -2
- package/cjs/core/Table/TableCell.js +1 -1
- package/cjs/core/Table/TablePaginator.d.ts +1 -1
- package/cjs/core/Table/TablePaginator.js +1 -1
- package/cjs/core/Table/TableRowMemoized.js +1 -1
- package/cjs/core/Table/cells/DefaultCell.js +1 -1
- package/cjs/core/Table/cells/EditableCell.js +1 -1
- package/cjs/core/Table/columns/actionColumn.js +1 -1
- package/cjs/core/Table/columns/expanderColumn.js +1 -1
- package/cjs/core/Table/filters/BaseFilter.d.ts +1 -1
- package/cjs/core/Table/filters/BaseFilter.js +1 -1
- package/cjs/core/Table/filters/DateRangeFilter/DatePickerInput.d.ts +3 -2
- package/cjs/core/Table/filters/DateRangeFilter/DatePickerInput.js +3 -3
- package/cjs/core/Table/filters/DateRangeFilter/DateRangeFilter.d.ts +2 -1
- package/cjs/core/Table/filters/DateRangeFilter/DateRangeFilter.js +4 -4
- package/cjs/core/Table/filters/FilterButtonBar.d.ts +1 -1
- package/cjs/core/Table/filters/FilterButtonBar.js +1 -1
- package/cjs/core/Table/filters/FilterToggle.d.ts +1 -1
- package/cjs/core/Table/filters/FilterToggle.js +1 -1
- package/cjs/core/Table/filters/NumberRangeFilter/NumberRangeFilter.js +1 -1
- package/cjs/core/Table/filters/TextFilter/TextFilter.js +1 -1
- package/cjs/core/Table/filters/tableFilters.d.ts +2 -1
- package/cjs/core/Tabs/Tabs.d.ts +3 -3
- package/cjs/core/Tabs/Tabs.js +1 -1
- package/cjs/core/Tag/Tag.d.ts +1 -1
- package/cjs/core/Tag/Tag.js +2 -4
- package/cjs/core/Tag/TagContainer.d.ts +1 -1
- package/cjs/core/Tag/TagContainer.js +1 -1
- package/cjs/core/Textarea/Textarea.d.ts +1 -1
- package/cjs/core/ThemeProvider/ThemeProvider.d.ts +1 -1
- package/cjs/core/ThemeProvider/ThemeProvider.js +1 -1
- package/cjs/core/Tile/Tile.d.ts +3 -3
- package/cjs/core/Tile/Tile.js +1 -1
- package/cjs/core/TimePicker/TimePicker.d.ts +1 -1
- package/cjs/core/TimePicker/TimePicker.js +1 -1
- package/cjs/core/Toast/Toast.d.ts +1 -1
- package/cjs/core/Toast/Toast.js +1 -1
- package/cjs/core/Toast/Toaster.js +1 -1
- package/cjs/core/ToggleSwitch/ToggleSwitch.d.ts +1 -1
- package/cjs/core/ToggleSwitch/ToggleSwitch.js +1 -1
- package/cjs/core/Tooltip/Tooltip.d.ts +1 -1
- package/cjs/core/Tooltip/Tooltip.js +1 -2
- package/cjs/core/TransferList/TransferList.d.ts +1 -1
- package/cjs/core/TransferList/TransferList.js +1 -1
- package/cjs/core/Tree/Tree.d.ts +1 -1
- package/cjs/core/Tree/Tree.js +1 -1
- package/cjs/core/Tree/TreeNode.d.ts +1 -1
- package/cjs/core/Tree/TreeNode.js +1 -1
- package/cjs/core/Tree/TreeNodeExpander.d.ts +1 -1
- package/cjs/core/Tree/TreeNodeExpander.js +1 -1
- package/cjs/core/Typography/Anchor.d.ts +1 -1
- package/cjs/core/Typography/Anchor.js +4 -2
- package/cjs/core/Typography/Blockquote.d.ts +1 -1
- package/cjs/core/Typography/Blockquote.js +1 -1
- package/cjs/core/Typography/Code.d.ts +1 -1
- package/cjs/core/Typography/Code.js +1 -1
- package/cjs/core/Typography/Kbd.d.ts +1 -1
- package/cjs/core/Typography/Kbd.js +1 -1
- package/cjs/core/Typography/Text.d.ts +3 -1
- package/cjs/core/Typography/Text.js +12 -8
- package/cjs/core/VisuallyHidden/VisuallyHidden.d.ts +1 -1
- package/cjs/core/VisuallyHidden/VisuallyHidden.js +1 -1
- package/cjs/index.d.ts +1 -1
- package/cjs/index.js +1 -1
- package/cjs/react-table/react-table.js +0 -1
- package/cjs/{core/utils → utils}/components/AutoclearingHiddenLiveRegion.js +1 -1
- package/cjs/{core/utils → utils}/components/InputContainer.js +2 -2
- package/{esm/core → cjs}/utils/components/InputFlexContainer.d.ts +2 -2
- package/cjs/{core/utils → utils}/components/InputFlexContainer.js +2 -2
- package/cjs/{core/utils → utils}/components/Portal.js +1 -1
- package/cjs/{core/utils → utils}/components/WithCSSTransition.js +1 -1
- package/cjs/{core/utils → utils}/functions/dev.js +2 -2
- package/cjs/{core/utils → utils}/functions/polymorphic.js +1 -2
- package/cjs/{core/utils → utils}/functions/react.js +0 -1
- package/{esm/core → cjs}/utils/hooks/useGlobals.d.ts +3 -3
- package/cjs/{core/utils → utils}/hooks/useGlobals.js +1 -1
- package/esm/core/Alert/Alert.d.ts +7 -3
- package/esm/core/Alert/Alert.js +1 -1
- package/esm/core/Avatar/Avatar.d.ts +2 -2
- package/esm/core/Avatar/Avatar.js +1 -1
- package/esm/core/AvatarGroup/AvatarGroup.d.ts +1 -1
- package/esm/core/AvatarGroup/AvatarGroup.js +1 -1
- package/esm/core/Backdrop/Backdrop.d.ts +1 -1
- package/esm/core/Backdrop/Backdrop.js +1 -1
- package/esm/core/Badge/Badge.d.ts +2 -2
- package/esm/core/Badge/Badge.js +1 -1
- package/esm/core/Breadcrumbs/Breadcrumbs.d.ts +1 -1
- package/esm/core/Breadcrumbs/Breadcrumbs.js +1 -2
- package/esm/core/ButtonGroup/ButtonGroup.d.ts +11 -2
- package/esm/core/ButtonGroup/ButtonGroup.js +44 -32
- package/esm/core/Buttons/Button.d.ts +8 -2
- package/esm/core/Buttons/Button.js +6 -3
- package/esm/core/Buttons/DropdownButton.d.ts +1 -1
- package/esm/core/Buttons/DropdownButton.js +1 -1
- package/esm/core/Buttons/IconButton.d.ts +1 -1
- package/esm/core/Buttons/IconButton.js +1 -1
- package/esm/core/Buttons/IdeasButton.d.ts +1 -1
- package/esm/core/Buttons/IdeasButton.js +1 -1
- package/esm/core/Buttons/SplitButton.d.ts +1 -1
- package/esm/core/Buttons/SplitButton.js +1 -1
- package/esm/core/Carousel/Carousel.d.ts +5 -5
- package/esm/core/Carousel/Carousel.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 +1 -1
- package/esm/core/Carousel/CarouselNavigation.d.ts +5 -5
- package/esm/core/Carousel/CarouselNavigation.js +1 -1
- package/esm/core/Carousel/CarouselSlide.d.ts +1 -1
- package/esm/core/Carousel/CarouselSlide.js +1 -1
- package/esm/core/Carousel/CarouselSlider.d.ts +1 -1
- package/esm/core/Carousel/CarouselSlider.js +1 -1
- package/esm/core/Checkbox/Checkbox.d.ts +1 -1
- package/esm/core/Checkbox/Checkbox.js +1 -1
- package/esm/core/ColorPicker/ColorBuilder.d.ts +1 -1
- package/esm/core/ColorPicker/ColorBuilder.js +1 -1
- package/esm/core/ColorPicker/ColorInputPanel.d.ts +1 -1
- package/esm/core/ColorPicker/ColorInputPanel.js +1 -1
- package/esm/core/ColorPicker/ColorPalette.d.ts +2 -2
- package/esm/core/ColorPicker/ColorPalette.js +1 -1
- package/esm/core/ColorPicker/ColorPicker.d.ts +2 -2
- package/esm/core/ColorPicker/ColorPicker.js +1 -1
- package/esm/core/ColorPicker/ColorPickerContext.d.ts +1 -1
- package/esm/core/ColorPicker/ColorSwatch.d.ts +2 -2
- package/esm/core/ColorPicker/ColorSwatch.js +1 -1
- package/esm/core/ComboBox/ComboBox.d.ts +1 -1
- package/esm/core/ComboBox/ComboBox.js +1 -1
- package/esm/core/ComboBox/ComboBoxEndIcon.d.ts +1 -1
- package/esm/core/ComboBox/ComboBoxEndIcon.js +1 -1
- package/esm/core/ComboBox/ComboBoxInput.d.ts +1 -1
- package/esm/core/ComboBox/ComboBoxInput.js +1 -1
- package/esm/core/ComboBox/ComboBoxInputContainer.d.ts +1 -1
- package/esm/core/ComboBox/ComboBoxInputContainer.js +1 -1
- package/esm/core/ComboBox/ComboBoxMenu.d.ts +1 -1
- package/esm/core/ComboBox/ComboBoxMenu.js +1 -1
- package/esm/core/ComboBox/ComboBoxMenuItem.d.ts +1 -1
- package/esm/core/ComboBox/ComboBoxMenuItem.js +1 -1
- package/esm/core/ComboBox/ComboBoxMultipleContainer.d.ts +1 -1
- package/esm/core/DatePicker/DatePicker.d.ts +1 -1
- package/esm/core/DatePicker/DatePicker.js +1 -1
- package/esm/core/Dialog/Dialog.d.ts +1 -1
- package/esm/core/Dialog/Dialog.js +1 -1
- package/esm/core/Dialog/DialogBackdrop.d.ts +1 -1
- package/esm/core/Dialog/DialogBackdrop.js +1 -1
- package/esm/core/Dialog/DialogButtonBar.d.ts +1 -1
- package/esm/core/Dialog/DialogButtonBar.js +1 -1
- package/esm/core/Dialog/DialogContent.d.ts +1 -1
- package/esm/core/Dialog/DialogContent.js +1 -1
- package/esm/core/Dialog/DialogContext.d.ts +1 -1
- package/esm/core/Dialog/DialogMain.d.ts +1 -1
- package/esm/core/Dialog/DialogMain.js +2 -5
- package/esm/core/Dialog/DialogTitleBar.d.ts +1 -1
- package/esm/core/Dialog/DialogTitleBar.js +1 -1
- package/esm/core/Dialog/DialogTitleBarTitle.d.ts +1 -1
- package/esm/core/Dialog/DialogTitleBarTitle.js +1 -1
- package/esm/core/Divider/Divider.d.ts +1 -1
- package/esm/core/Divider/Divider.js +1 -1
- package/esm/core/DropdownMenu/DropdownMenu.d.ts +1 -1
- package/esm/core/DropdownMenu/DropdownMenu.js +1 -1
- package/esm/core/ExpandableBlock/ExpandableBlock.d.ts +4 -7
- package/esm/core/ExpandableBlock/ExpandableBlock.js +1 -1
- package/esm/core/Fieldset/Fieldset.d.ts +1 -1
- package/esm/core/Fieldset/Fieldset.js +1 -1
- package/esm/core/FileUpload/FileEmptyCard.d.ts +1 -1
- package/esm/core/FileUpload/FileEmptyCard.js +1 -1
- package/esm/core/FileUpload/FileUpload.d.ts +1 -1
- package/esm/core/FileUpload/FileUpload.js +1 -1
- package/esm/core/FileUpload/FileUploadCard.d.ts +1 -1
- package/esm/core/FileUpload/FileUploadCard.js +1 -1
- package/esm/core/FileUpload/FileUploadTemplate.d.ts +1 -1
- package/esm/core/FileUpload/FileUploadTemplate.js +1 -1
- package/esm/core/Flex/Flex.d.ts +2 -2
- package/esm/core/Flex/Flex.js +1 -1
- package/esm/core/Footer/Footer.d.ts +4 -4
- package/esm/core/Footer/Footer.js +1 -1
- package/esm/core/Footer/FooterItem.d.ts +1 -1
- package/esm/core/Footer/FooterItem.js +1 -1
- package/esm/core/Footer/FooterList.d.ts +1 -1
- package/esm/core/Footer/FooterList.js +1 -1
- package/esm/core/Footer/FooterSeparator.d.ts +1 -1
- package/esm/core/Footer/FooterSeparator.js +1 -1
- package/esm/core/Header/Header.d.ts +1 -1
- package/esm/core/Header/Header.js +1 -1
- package/esm/core/Header/HeaderBasicButton.d.ts +1 -1
- package/esm/core/Header/HeaderBasicButton.js +1 -1
- package/esm/core/Header/HeaderBreadcrumbs.d.ts +1 -1
- package/esm/core/Header/HeaderBreadcrumbs.js +1 -1
- package/esm/core/Header/HeaderButton.d.ts +1 -1
- package/esm/core/Header/HeaderButton.js +2 -2
- package/esm/core/Header/HeaderDropdownButton.d.ts +1 -1
- package/esm/core/Header/HeaderDropdownButton.js +1 -1
- package/esm/core/Header/HeaderLogo.d.ts +1 -1
- package/esm/core/Header/HeaderLogo.js +2 -3
- package/esm/core/Header/HeaderSplitButton.d.ts +1 -1
- package/esm/core/Header/HeaderSplitButton.js +1 -1
- package/esm/core/Icon/Icon.d.ts +2 -2
- package/esm/core/Icon/Icon.js +1 -1
- package/esm/core/InformationPanel/InformationPanel.d.ts +1 -1
- package/esm/core/InformationPanel/InformationPanel.js +1 -1
- package/esm/core/InformationPanel/InformationPanelBody.d.ts +1 -1
- package/esm/core/InformationPanel/InformationPanelBody.js +1 -1
- package/esm/core/InformationPanel/InformationPanelContent.d.ts +1 -1
- package/esm/core/InformationPanel/InformationPanelContent.js +1 -1
- package/esm/core/InformationPanel/InformationPanelHeader.d.ts +1 -1
- package/esm/core/InformationPanel/InformationPanelHeader.js +1 -1
- package/esm/core/InformationPanel/InformationPanelWrapper.d.ts +1 -1
- package/esm/core/InformationPanel/InformationPanelWrapper.js +1 -1
- package/esm/core/Input/Input.d.ts +1 -1
- package/esm/core/Input/Input.js +1 -1
- package/esm/core/InputGrid/InputGrid.d.ts +1 -1
- package/esm/core/InputGrid/InputGrid.js +1 -1
- package/esm/core/InputGroup/InputGroup.d.ts +1 -1
- package/esm/core/InputGroup/InputGroup.js +2 -2
- package/esm/core/InputWithDecorations/InputWithDecorations.d.ts +3 -3
- package/esm/core/InputWithDecorations/InputWithDecorations.js +1 -1
- package/esm/core/Label/Label.d.ts +1 -1
- package/esm/core/Label/Label.js +1 -1
- package/esm/core/LabeledInput/LabeledInput.d.ts +1 -1
- package/esm/core/LabeledInput/LabeledInput.js +1 -1
- package/esm/core/LabeledSelect/LabeledSelect.d.ts +6 -6
- package/esm/core/LabeledTextarea/LabeledTextarea.d.ts +1 -1
- package/esm/core/LinkAction/LinkAction.d.ts +1 -1
- package/esm/core/LinkAction/LinkAction.js +2 -2
- package/esm/core/List/List.d.ts +1 -1
- package/esm/core/List/List.js +1 -1
- package/esm/core/List/ListItem.d.ts +1 -1
- package/esm/core/List/ListItem.js +1 -1
- package/esm/core/Menu/Menu.d.ts +1 -1
- package/esm/core/Menu/Menu.js +1 -1
- package/esm/core/Menu/MenuDivider.d.ts +1 -1
- package/esm/core/Menu/MenuDivider.js +1 -1
- package/esm/core/Menu/MenuExtraContent.d.ts +1 -1
- package/esm/core/Menu/MenuExtraContent.js +1 -1
- package/esm/core/Menu/MenuItem.d.ts +1 -1
- package/esm/core/Menu/MenuItem.js +1 -1
- package/esm/core/Menu/MenuItemSkeleton.d.ts +1 -1
- package/esm/core/Menu/MenuItemSkeleton.js +1 -1
- package/esm/core/Modal/Modal.d.ts +1 -1
- package/esm/core/Modal/ModalButtonBar.d.ts +1 -1
- package/esm/core/Modal/ModalContent.d.ts +1 -1
- package/esm/core/NonIdealState/ErrorPage.d.ts +1 -1
- package/esm/core/NonIdealState/ErrorPage.js +3 -3
- package/esm/core/NonIdealState/NonIdealState.d.ts +1 -1
- package/esm/core/NonIdealState/NonIdealState.js +1 -1
- package/esm/core/NotificationMarker/NotificationMarker.d.ts +1 -1
- package/esm/core/NotificationMarker/NotificationMarker.js +1 -1
- package/esm/core/Overlay/Overlay.d.ts +1 -1
- package/esm/core/Overlay/Overlay.js +1 -1
- package/esm/core/Popover/Popover.d.ts +2 -2
- package/esm/core/Popover/Popover.js +2 -2
- package/esm/core/ProgressIndicators/ProgressLinear.d.ts +1 -1
- package/esm/core/ProgressIndicators/ProgressLinear.js +1 -1
- package/esm/core/ProgressIndicators/ProgressRadial.d.ts +1 -1
- package/esm/core/ProgressIndicators/ProgressRadial.js +1 -1
- package/esm/core/Radio/Radio.d.ts +1 -1
- package/esm/core/Radio/Radio.js +1 -1
- package/esm/core/RadioTiles/RadioTile.d.ts +1 -1
- package/esm/core/RadioTiles/RadioTile.js +1 -1
- package/esm/core/RadioTiles/RadioTileGroup.d.ts +1 -1
- package/esm/core/RadioTiles/RadioTileGroup.js +1 -1
- package/esm/core/SearchBox/SearchBox.d.ts +1 -1
- package/esm/core/SearchBox/SearchBox.js +1 -1
- package/esm/core/Select/Select.d.ts +1 -1
- package/esm/core/Select/Select.js +5 -3
- package/esm/core/Select/SelectTag.d.ts +1 -1
- package/esm/core/Select/SelectTag.js +1 -1
- package/esm/core/Select/SelectTagContainer.d.ts +1 -1
- package/esm/core/Select/SelectTagContainer.js +1 -1
- package/esm/core/SideNavigation/SideNavigation.d.ts +1 -1
- package/esm/core/SideNavigation/SideNavigation.js +1 -1
- package/esm/core/SideNavigation/SidenavButton.d.ts +1 -1
- package/esm/core/SideNavigation/SidenavSubmenu.d.ts +1 -1
- package/esm/core/SideNavigation/SidenavSubmenu.js +1 -1
- package/esm/core/SideNavigation/SidenavSubmenuHeader.d.ts +1 -1
- package/esm/core/SideNavigation/SidenavSubmenuHeader.js +1 -1
- package/esm/core/SkipToContentLink/SkipToContentLink.d.ts +1 -1
- package/esm/core/SkipToContentLink/SkipToContentLink.js +1 -1
- package/esm/core/Slider/Slider.d.ts +1 -1
- package/esm/core/Slider/Slider.js +1 -1
- package/esm/core/Slider/Thumb.js +1 -1
- package/esm/core/Slider/Track.js +1 -1
- package/esm/core/StatusMessage/StatusMessage.d.ts +1 -1
- package/esm/core/StatusMessage/StatusMessage.js +1 -1
- package/esm/core/Stepper/Stepper.d.ts +1 -1
- package/esm/core/Stepper/Stepper.js +1 -1
- package/esm/core/Stepper/StepperStep.d.ts +1 -1
- package/esm/core/Stepper/StepperStep.js +1 -1
- package/esm/core/Stepper/WorkflowDiagram.d.ts +1 -1
- package/esm/core/Stepper/WorkflowDiagram.js +1 -1
- package/esm/core/Stepper/WorkflowDiagramStep.d.ts +1 -1
- package/esm/core/Stepper/WorkflowDiagramStep.js +1 -1
- package/esm/core/Surface/Surface.d.ts +1 -1
- package/esm/core/Surface/Surface.js +1 -1
- package/esm/core/Table/SubRowExpander.js +1 -1
- package/esm/core/Table/Table.d.ts +1 -1
- package/esm/core/Table/Table.js +2 -2
- package/esm/core/Table/TableCell.js +1 -1
- package/esm/core/Table/TablePaginator.d.ts +1 -1
- package/esm/core/Table/TablePaginator.js +1 -1
- package/esm/core/Table/TableRowMemoized.js +1 -1
- package/esm/core/Table/cells/DefaultCell.js +1 -1
- package/esm/core/Table/cells/EditableCell.js +1 -1
- package/esm/core/Table/columns/actionColumn.js +1 -1
- package/esm/core/Table/columns/expanderColumn.js +1 -1
- package/esm/core/Table/filters/BaseFilter.d.ts +1 -1
- package/esm/core/Table/filters/BaseFilter.js +1 -1
- package/esm/core/Table/filters/DateRangeFilter/DatePickerInput.d.ts +3 -2
- package/esm/core/Table/filters/DateRangeFilter/DatePickerInput.js +3 -3
- package/esm/core/Table/filters/DateRangeFilter/DateRangeFilter.d.ts +2 -1
- package/esm/core/Table/filters/DateRangeFilter/DateRangeFilter.js +4 -4
- package/esm/core/Table/filters/FilterButtonBar.d.ts +1 -1
- package/esm/core/Table/filters/FilterButtonBar.js +1 -1
- package/esm/core/Table/filters/FilterToggle.d.ts +1 -1
- package/esm/core/Table/filters/FilterToggle.js +1 -1
- package/esm/core/Table/filters/NumberRangeFilter/NumberRangeFilter.js +1 -1
- package/esm/core/Table/filters/TextFilter/TextFilter.js +1 -1
- package/esm/core/Table/filters/tableFilters.d.ts +2 -1
- package/esm/core/Tabs/Tabs.d.ts +3 -3
- package/esm/core/Tabs/Tabs.js +1 -1
- package/esm/core/Tag/Tag.d.ts +1 -1
- package/esm/core/Tag/Tag.js +2 -4
- package/esm/core/Tag/TagContainer.d.ts +1 -1
- package/esm/core/Tag/TagContainer.js +1 -1
- package/esm/core/Textarea/Textarea.d.ts +1 -1
- package/esm/core/ThemeProvider/ThemeProvider.d.ts +1 -1
- package/esm/core/ThemeProvider/ThemeProvider.js +1 -1
- package/esm/core/Tile/Tile.d.ts +3 -3
- package/esm/core/Tile/Tile.js +1 -1
- package/esm/core/TimePicker/TimePicker.d.ts +1 -1
- package/esm/core/TimePicker/TimePicker.js +1 -1
- package/esm/core/Toast/Toast.d.ts +1 -1
- package/esm/core/Toast/Toast.js +1 -1
- package/esm/core/Toast/Toaster.js +1 -1
- package/esm/core/ToggleSwitch/ToggleSwitch.d.ts +1 -1
- package/esm/core/ToggleSwitch/ToggleSwitch.js +1 -1
- package/esm/core/Tooltip/Tooltip.d.ts +1 -1
- package/esm/core/Tooltip/Tooltip.js +1 -2
- package/esm/core/TransferList/TransferList.d.ts +1 -1
- package/esm/core/TransferList/TransferList.js +1 -1
- package/esm/core/Tree/Tree.d.ts +1 -1
- package/esm/core/Tree/Tree.js +1 -1
- package/esm/core/Tree/TreeNode.d.ts +1 -1
- package/esm/core/Tree/TreeNode.js +1 -1
- package/esm/core/Tree/TreeNodeExpander.d.ts +1 -1
- package/esm/core/Tree/TreeNodeExpander.js +1 -1
- package/esm/core/Typography/Anchor.d.ts +1 -1
- package/esm/core/Typography/Anchor.js +4 -2
- package/esm/core/Typography/Blockquote.d.ts +1 -1
- package/esm/core/Typography/Blockquote.js +1 -1
- package/esm/core/Typography/Code.d.ts +1 -1
- package/esm/core/Typography/Code.js +1 -1
- package/esm/core/Typography/Kbd.d.ts +1 -1
- package/esm/core/Typography/Kbd.js +1 -1
- package/esm/core/Typography/Text.d.ts +3 -1
- package/esm/core/Typography/Text.js +11 -7
- package/esm/core/VisuallyHidden/VisuallyHidden.d.ts +1 -1
- package/esm/core/VisuallyHidden/VisuallyHidden.js +1 -1
- package/esm/index.d.ts +1 -1
- package/esm/index.js +1 -1
- package/esm/react-table/react-table.js +0 -1
- package/esm/{core/utils → utils}/components/AutoclearingHiddenLiveRegion.js +1 -1
- package/esm/{core/utils → utils}/components/InputContainer.js +2 -2
- package/{cjs/core → esm}/utils/components/InputFlexContainer.d.ts +2 -2
- package/esm/{core/utils → utils}/components/InputFlexContainer.js +2 -2
- package/esm/{core/utils → utils}/components/Portal.js +1 -1
- package/esm/{core/utils → utils}/components/WithCSSTransition.js +1 -1
- package/esm/{core/utils → utils}/functions/dev.js +2 -2
- package/esm/{core/utils → utils}/functions/polymorphic.js +1 -2
- package/esm/{core/utils → utils}/functions/react.js +0 -1
- package/{cjs/core → esm}/utils/hooks/useGlobals.d.ts +3 -3
- package/esm/{core/utils → utils}/hooks/useGlobals.js +1 -1
- package/package.json +2 -2
- package/styles.css +9 -1
- /package/cjs/{core/utils → utils}/color/ColorValue.d.ts +0 -0
- /package/cjs/{core/utils → utils}/color/ColorValue.js +0 -0
- /package/cjs/{core/utils → utils}/color/index.d.ts +0 -0
- /package/cjs/{core/utils → utils}/color/index.js +0 -0
- /package/cjs/{core/utils → utils}/components/AutoclearingHiddenLiveRegion.d.ts +0 -0
- /package/cjs/{core/utils → utils}/components/Box.d.ts +0 -0
- /package/cjs/{core/utils → utils}/components/Box.js +0 -0
- /package/cjs/{core/utils → utils}/components/ButtonBase.d.ts +0 -0
- /package/cjs/{core/utils → utils}/components/ButtonBase.js +0 -0
- /package/cjs/{core/utils → utils}/components/FocusTrap.d.ts +0 -0
- /package/cjs/{core/utils → utils}/components/FocusTrap.js +0 -0
- /package/cjs/{core/utils → utils}/components/InputContainer.d.ts +0 -0
- /package/cjs/{core/utils → utils}/components/InputWithIcon.d.ts +0 -0
- /package/cjs/{core/utils → utils}/components/InputWithIcon.js +0 -0
- /package/cjs/{core/utils → utils}/components/LineClamp.d.ts +0 -0
- /package/cjs/{core/utils → utils}/components/LineClamp.js +0 -0
- /package/cjs/{core/utils → utils}/components/MiddleTextTruncation.d.ts +0 -0
- /package/cjs/{core/utils → utils}/components/MiddleTextTruncation.js +0 -0
- /package/cjs/{core/utils → utils}/components/Portal.d.ts +0 -0
- /package/cjs/{core/utils → utils}/components/Resizer.d.ts +0 -0
- /package/cjs/{core/utils → utils}/components/Resizer.js +0 -0
- /package/cjs/{core/utils → utils}/components/ShadowRoot.d.ts +0 -0
- /package/cjs/{core/utils → utils}/components/ShadowRoot.js +0 -0
- /package/cjs/{core/utils → utils}/components/VirtualScroll.d.ts +0 -0
- /package/cjs/{core/utils → utils}/components/VirtualScroll.js +0 -0
- /package/cjs/{core/utils → utils}/components/WithCSSTransition.d.ts +0 -0
- /package/cjs/{core/utils → utils}/components/index.d.ts +0 -0
- /package/cjs/{core/utils → utils}/components/index.js +0 -0
- /package/cjs/{core/utils → utils}/functions/colors.d.ts +0 -0
- /package/cjs/{core/utils → utils}/functions/colors.js +0 -0
- /package/cjs/{core/utils → utils}/functions/date.d.ts +0 -0
- /package/cjs/{core/utils → utils}/functions/date.js +0 -0
- /package/cjs/{core/utils → utils}/functions/dev.d.ts +0 -0
- /package/cjs/{core/utils → utils}/functions/dom.d.ts +0 -0
- /package/cjs/{core/utils → utils}/functions/dom.js +0 -0
- /package/cjs/{core/utils → utils}/functions/focusable.d.ts +0 -0
- /package/cjs/{core/utils → utils}/functions/focusable.js +0 -0
- /package/cjs/{core/utils → utils}/functions/import.d.ts +0 -0
- /package/cjs/{core/utils → utils}/functions/import.js +0 -0
- /package/cjs/{core/utils → utils}/functions/index.d.ts +0 -0
- /package/cjs/{core/utils → utils}/functions/index.js +0 -0
- /package/cjs/{core/utils → utils}/functions/numbers.d.ts +0 -0
- /package/cjs/{core/utils → utils}/functions/numbers.js +0 -0
- /package/cjs/{core/utils → utils}/functions/polymorphic.d.ts +0 -0
- /package/cjs/{core/utils → utils}/functions/react.d.ts +0 -0
- /package/cjs/{core/utils → utils}/functions/supports.d.ts +0 -0
- /package/cjs/{core/utils → utils}/functions/supports.js +0 -0
- /package/cjs/{core/utils → utils}/hooks/index.d.ts +0 -0
- /package/cjs/{core/utils → utils}/hooks/index.js +0 -0
- /package/cjs/{core/utils → utils}/hooks/useContainerWidth.d.ts +0 -0
- /package/cjs/{core/utils → utils}/hooks/useContainerWidth.js +0 -0
- /package/cjs/{core/utils → utils}/hooks/useControlledState.d.ts +0 -0
- /package/cjs/{core/utils → utils}/hooks/useControlledState.js +0 -0
- /package/cjs/{core/utils → utils}/hooks/useDragAndDrop.d.ts +0 -0
- /package/cjs/{core/utils → utils}/hooks/useDragAndDrop.js +0 -0
- /package/cjs/{core/utils → utils}/hooks/useEventListener.d.ts +0 -0
- /package/cjs/{core/utils → utils}/hooks/useEventListener.js +0 -0
- /package/cjs/{core/utils → utils}/hooks/useId.d.ts +0 -0
- /package/cjs/{core/utils → utils}/hooks/useId.js +0 -0
- /package/cjs/{core/utils → utils}/hooks/useIntersection.d.ts +0 -0
- /package/cjs/{core/utils → utils}/hooks/useIntersection.js +0 -0
- /package/cjs/{core/utils → utils}/hooks/useIsClient.d.ts +0 -0
- /package/cjs/{core/utils → utils}/hooks/useIsClient.js +0 -0
- /package/cjs/{core/utils → utils}/hooks/useIsomorphicLayoutEffect.d.ts +0 -0
- /package/cjs/{core/utils → utils}/hooks/useIsomorphicLayoutEffect.js +0 -0
- /package/cjs/{core/utils → utils}/hooks/useLatestRef.d.ts +0 -0
- /package/cjs/{core/utils → utils}/hooks/useLatestRef.js +0 -0
- /package/cjs/{core/utils → utils}/hooks/useMediaQuery.d.ts +0 -0
- /package/cjs/{core/utils → utils}/hooks/useMediaQuery.js +0 -0
- /package/cjs/{core/utils → utils}/hooks/useMergedRefs.d.ts +0 -0
- /package/cjs/{core/utils → utils}/hooks/useMergedRefs.js +0 -0
- /package/cjs/{core/utils → utils}/hooks/useOverflow.d.ts +0 -0
- /package/cjs/{core/utils → utils}/hooks/useOverflow.js +0 -0
- /package/cjs/{core/utils → utils}/hooks/useResizeObserver.d.ts +0 -0
- /package/cjs/{core/utils → utils}/hooks/useResizeObserver.js +0 -0
- /package/cjs/{core/utils → utils}/hooks/useSafeContext.d.ts +0 -0
- /package/cjs/{core/utils → utils}/hooks/useSafeContext.js +0 -0
- /package/cjs/{core/utils → utils}/hooks/useSyncExternalStore.d.ts +0 -0
- /package/cjs/{core/utils → utils}/hooks/useSyncExternalStore.js +0 -0
- /package/cjs/{core/utils → utils}/icons/StatusIconMap.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/StatusIconMap.js +0 -0
- /package/cjs/{core/utils → utils}/icons/Svg.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/Svg.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgCalendar.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgCalendar.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgCaretDownSmall.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgCaretDownSmall.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgCaretRightSmall.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgCaretRightSmall.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgCaretUpSmall.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgCaretUpSmall.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgCheckmark.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgCheckmark.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgCheckmarkSmall.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgCheckmarkSmall.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgChevronLeft.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgChevronLeft.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgChevronLeftDouble.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgChevronLeftDouble.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgChevronRight.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgChevronRight.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgChevronRightDouble.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgChevronRightDouble.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgChevronRightSmall.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgChevronRightSmall.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgClose.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgClose.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgCloseSmall.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgCloseSmall.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgColumnManager.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgColumnManager.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgDocument.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgDocument.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgFilter.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgFilter.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgFilterHollow.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgFilterHollow.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgImportantSmall.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgImportantSmall.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgInfoCircular.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgInfoCircular.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgMore.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgMore.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgMoreVertical.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgMoreVertical.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgNew.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgNew.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgSearch.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgSearch.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgSmileyHappy.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgSmileyHappy.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgSortDown.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgSortDown.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgSortUp.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgSortUp.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgStatusError.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgStatusError.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgStatusSuccess.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgStatusSuccess.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgStatusWarning.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgStatusWarning.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgSwap.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgSwap.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgUpload.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgUpload.js +0 -0
- /package/cjs/{core/utils → utils}/icons/index.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/index.js +0 -0
- /package/cjs/{core/utils → utils}/index.d.ts +0 -0
- /package/cjs/{core/utils → utils}/index.js +0 -0
- /package/cjs/{core/utils → utils}/props.d.ts +0 -0
- /package/cjs/{core/utils → utils}/props.js +0 -0
- /package/cjs/{core/utils → utils}/providers/HydrationProvider.d.ts +0 -0
- /package/cjs/{core/utils → utils}/providers/HydrationProvider.js +0 -0
- /package/cjs/{core/utils → utils}/providers/index.d.ts +0 -0
- /package/cjs/{core/utils → utils}/providers/index.js +0 -0
- /package/cjs/{core/utils → utils}/types.d.ts +0 -0
- /package/cjs/{core/utils → utils}/types.js +0 -0
- /package/esm/{core/utils → utils}/color/ColorValue.d.ts +0 -0
- /package/esm/{core/utils → utils}/color/ColorValue.js +0 -0
- /package/esm/{core/utils → utils}/color/index.d.ts +0 -0
- /package/esm/{core/utils → utils}/color/index.js +0 -0
- /package/esm/{core/utils → utils}/components/AutoclearingHiddenLiveRegion.d.ts +0 -0
- /package/esm/{core/utils → utils}/components/Box.d.ts +0 -0
- /package/esm/{core/utils → utils}/components/Box.js +0 -0
- /package/esm/{core/utils → utils}/components/ButtonBase.d.ts +0 -0
- /package/esm/{core/utils → utils}/components/ButtonBase.js +0 -0
- /package/esm/{core/utils → utils}/components/FocusTrap.d.ts +0 -0
- /package/esm/{core/utils → utils}/components/FocusTrap.js +0 -0
- /package/esm/{core/utils → utils}/components/InputContainer.d.ts +0 -0
- /package/esm/{core/utils → utils}/components/InputWithIcon.d.ts +0 -0
- /package/esm/{core/utils → utils}/components/InputWithIcon.js +0 -0
- /package/esm/{core/utils → utils}/components/LineClamp.d.ts +0 -0
- /package/esm/{core/utils → utils}/components/LineClamp.js +0 -0
- /package/esm/{core/utils → utils}/components/MiddleTextTruncation.d.ts +0 -0
- /package/esm/{core/utils → utils}/components/MiddleTextTruncation.js +0 -0
- /package/esm/{core/utils → utils}/components/Portal.d.ts +0 -0
- /package/esm/{core/utils → utils}/components/Resizer.d.ts +0 -0
- /package/esm/{core/utils → utils}/components/Resizer.js +0 -0
- /package/esm/{core/utils → utils}/components/ShadowRoot.d.ts +0 -0
- /package/esm/{core/utils → utils}/components/ShadowRoot.js +0 -0
- /package/esm/{core/utils → utils}/components/VirtualScroll.d.ts +0 -0
- /package/esm/{core/utils → utils}/components/VirtualScroll.js +0 -0
- /package/esm/{core/utils → utils}/components/WithCSSTransition.d.ts +0 -0
- /package/esm/{core/utils → utils}/components/index.d.ts +0 -0
- /package/esm/{core/utils → utils}/components/index.js +0 -0
- /package/esm/{core/utils → utils}/functions/colors.d.ts +0 -0
- /package/esm/{core/utils → utils}/functions/colors.js +0 -0
- /package/esm/{core/utils → utils}/functions/date.d.ts +0 -0
- /package/esm/{core/utils → utils}/functions/date.js +0 -0
- /package/esm/{core/utils → utils}/functions/dev.d.ts +0 -0
- /package/esm/{core/utils → utils}/functions/dom.d.ts +0 -0
- /package/esm/{core/utils → utils}/functions/dom.js +0 -0
- /package/esm/{core/utils → utils}/functions/focusable.d.ts +0 -0
- /package/esm/{core/utils → utils}/functions/focusable.js +0 -0
- /package/esm/{core/utils → utils}/functions/import.d.ts +0 -0
- /package/esm/{core/utils → utils}/functions/import.js +0 -0
- /package/esm/{core/utils → utils}/functions/index.d.ts +0 -0
- /package/esm/{core/utils → utils}/functions/index.js +0 -0
- /package/esm/{core/utils → utils}/functions/numbers.d.ts +0 -0
- /package/esm/{core/utils → utils}/functions/numbers.js +0 -0
- /package/esm/{core/utils → utils}/functions/polymorphic.d.ts +0 -0
- /package/esm/{core/utils → utils}/functions/react.d.ts +0 -0
- /package/esm/{core/utils → utils}/functions/supports.d.ts +0 -0
- /package/esm/{core/utils → utils}/functions/supports.js +0 -0
- /package/esm/{core/utils → utils}/hooks/index.d.ts +0 -0
- /package/esm/{core/utils → utils}/hooks/index.js +0 -0
- /package/esm/{core/utils → utils}/hooks/useContainerWidth.d.ts +0 -0
- /package/esm/{core/utils → utils}/hooks/useContainerWidth.js +0 -0
- /package/esm/{core/utils → utils}/hooks/useControlledState.d.ts +0 -0
- /package/esm/{core/utils → utils}/hooks/useControlledState.js +0 -0
- /package/esm/{core/utils → utils}/hooks/useDragAndDrop.d.ts +0 -0
- /package/esm/{core/utils → utils}/hooks/useDragAndDrop.js +0 -0
- /package/esm/{core/utils → utils}/hooks/useEventListener.d.ts +0 -0
- /package/esm/{core/utils → utils}/hooks/useEventListener.js +0 -0
- /package/esm/{core/utils → utils}/hooks/useId.d.ts +0 -0
- /package/esm/{core/utils → utils}/hooks/useId.js +0 -0
- /package/esm/{core/utils → utils}/hooks/useIntersection.d.ts +0 -0
- /package/esm/{core/utils → utils}/hooks/useIntersection.js +0 -0
- /package/esm/{core/utils → utils}/hooks/useIsClient.d.ts +0 -0
- /package/esm/{core/utils → utils}/hooks/useIsClient.js +0 -0
- /package/esm/{core/utils → utils}/hooks/useIsomorphicLayoutEffect.d.ts +0 -0
- /package/esm/{core/utils → utils}/hooks/useIsomorphicLayoutEffect.js +0 -0
- /package/esm/{core/utils → utils}/hooks/useLatestRef.d.ts +0 -0
- /package/esm/{core/utils → utils}/hooks/useLatestRef.js +0 -0
- /package/esm/{core/utils → utils}/hooks/useMediaQuery.d.ts +0 -0
- /package/esm/{core/utils → utils}/hooks/useMediaQuery.js +0 -0
- /package/esm/{core/utils → utils}/hooks/useMergedRefs.d.ts +0 -0
- /package/esm/{core/utils → utils}/hooks/useMergedRefs.js +0 -0
- /package/esm/{core/utils → utils}/hooks/useOverflow.d.ts +0 -0
- /package/esm/{core/utils → utils}/hooks/useOverflow.js +0 -0
- /package/esm/{core/utils → utils}/hooks/useResizeObserver.d.ts +0 -0
- /package/esm/{core/utils → utils}/hooks/useResizeObserver.js +0 -0
- /package/esm/{core/utils → utils}/hooks/useSafeContext.d.ts +0 -0
- /package/esm/{core/utils → utils}/hooks/useSafeContext.js +0 -0
- /package/esm/{core/utils → utils}/hooks/useSyncExternalStore.d.ts +0 -0
- /package/esm/{core/utils → utils}/hooks/useSyncExternalStore.js +0 -0
- /package/esm/{core/utils → utils}/icons/StatusIconMap.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/StatusIconMap.js +0 -0
- /package/esm/{core/utils → utils}/icons/Svg.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/Svg.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgCalendar.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgCalendar.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgCaretDownSmall.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgCaretDownSmall.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgCaretRightSmall.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgCaretRightSmall.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgCaretUpSmall.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgCaretUpSmall.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgCheckmark.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgCheckmark.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgCheckmarkSmall.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgCheckmarkSmall.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgChevronLeft.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgChevronLeft.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgChevronLeftDouble.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgChevronLeftDouble.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgChevronRight.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgChevronRight.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgChevronRightDouble.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgChevronRightDouble.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgChevronRightSmall.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgChevronRightSmall.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgClose.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgClose.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgCloseSmall.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgCloseSmall.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgColumnManager.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgColumnManager.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgDocument.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgDocument.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgFilter.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgFilter.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgFilterHollow.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgFilterHollow.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgImportantSmall.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgImportantSmall.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgInfoCircular.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgInfoCircular.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgMore.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgMore.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgMoreVertical.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgMoreVertical.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgNew.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgNew.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgSearch.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgSearch.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgSmileyHappy.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgSmileyHappy.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgSortDown.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgSortDown.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgSortUp.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgSortUp.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgStatusError.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgStatusError.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgStatusSuccess.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgStatusSuccess.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgStatusWarning.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgStatusWarning.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgSwap.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgSwap.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgUpload.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgUpload.js +0 -0
- /package/esm/{core/utils → utils}/icons/index.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/index.js +0 -0
- /package/esm/{core/utils → utils}/index.d.ts +0 -0
- /package/esm/{core/utils → utils}/index.js +0 -0
- /package/esm/{core/utils → utils}/props.d.ts +0 -0
- /package/esm/{core/utils → utils}/props.js +0 -0
- /package/esm/{core/utils → utils}/providers/HydrationProvider.d.ts +0 -0
- /package/esm/{core/utils → utils}/providers/HydrationProvider.js +0 -0
- /package/esm/{core/utils → utils}/providers/index.d.ts +0 -0
- /package/esm/{core/utils → utils}/providers/index.js +0 -0
- /package/esm/{core/utils → utils}/types.d.ts +0 -0
- /package/esm/{core/utils → utils}/types.js +0 -0
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { DateRangeFilter } from './DateRangeFilter/DateRangeFilter.js';
|
|
2
3
|
import type { DateRangeTranslation } from './DateRangeFilter/DateRangeFilter.js';
|
|
3
4
|
import type { FilterButtonBarTranslation } from './FilterButtonBar.js';
|
|
4
5
|
import type { NumberRangeTranslation, NumberRangeFilterProps } from './NumberRangeFilter/NumberRangeFilter.js';
|
|
@@ -22,7 +23,7 @@ export type DateRangeFilterOptions = {
|
|
|
22
23
|
* Translated filter labels.
|
|
23
24
|
*/
|
|
24
25
|
translatedLabels?: DateRangeTranslation & FilterButtonBarTranslation;
|
|
25
|
-
}
|
|
26
|
+
} & Pick<React.ComponentProps<typeof DateRangeFilter>, 'showYearSelection'>;
|
|
26
27
|
export declare const tableFilters: {
|
|
27
28
|
/**
|
|
28
29
|
* Basic filter with a single input field.
|
package/esm/core/Tabs/Tabs.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import type { PolymorphicForwardRefComponent } from '
|
|
2
|
+
import type { PolymorphicForwardRefComponent } from '../../utils/index.js';
|
|
3
3
|
type TabsOrientationProps = {
|
|
4
4
|
/**
|
|
5
5
|
* Orientation of the tabs.
|
|
@@ -268,8 +268,8 @@ export declare const Tabs: PolymorphicForwardRefComponent<"div", TabsLegacyProps
|
|
|
268
268
|
TabIcon: PolymorphicForwardRefComponent<"span", Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
269
269
|
ref?: ((instance: HTMLSpanElement | null) => void) | React.RefObject<HTMLSpanElement> | null | undefined;
|
|
270
270
|
}, "fill" | "as" | "key" | "size" | keyof React.HTMLAttributes<HTMLSpanElement> | "padded"> & {
|
|
271
|
-
size?: "small" | "auto" | "medium" | "large" | import("
|
|
272
|
-
fill?: "default" | "
|
|
271
|
+
size?: "small" | "auto" | "medium" | "large" | import("../../utils/types.js").AnyString | undefined;
|
|
272
|
+
fill?: "default" | import("../../utils/types.js").AnyString | "informational" | "negative" | "positive" | "warning" | undefined;
|
|
273
273
|
padded?: boolean | undefined;
|
|
274
274
|
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
275
275
|
as?: "span" | undefined;
|
package/esm/core/Tabs/Tabs.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
5
|
import cx from 'classnames';
|
|
6
6
|
import * as React from 'react';
|
|
7
|
-
import { useSafeContext, Box, polymorphic, useIsClient, useLayoutEffect, useMergedRefs, useContainerWidth, ButtonBase, mergeEventHandlers, useControlledState, useId, useLatestRef, } from '
|
|
7
|
+
import { useSafeContext, Box, polymorphic, useIsClient, useLayoutEffect, useMergedRefs, useContainerWidth, ButtonBase, mergeEventHandlers, useControlledState, useId, useLatestRef, } from '../../utils/index.js';
|
|
8
8
|
import { Icon } from '../Icon/Icon.js';
|
|
9
9
|
const TabsWrapper = React.forwardRef((props, ref) => {
|
|
10
10
|
const { className, children, orientation = 'horizontal', type = 'default', focusActivationMode = 'auto', color = 'blue', defaultValue, value: activeValueProp, onValueChange, ...rest } = props;
|
package/esm/core/Tag/Tag.d.ts
CHANGED
package/esm/core/Tag/Tag.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
5
|
import cx from 'classnames';
|
|
6
6
|
import * as React from 'react';
|
|
7
|
-
import { SvgCloseSmall, Box, ButtonBase } from '
|
|
7
|
+
import { SvgCloseSmall, Box, ButtonBase } from '../../utils/index.js';
|
|
8
8
|
import { IconButton } from '../Buttons/IconButton.js';
|
|
9
9
|
import { LinkAction, LinkBox } from '../LinkAction/LinkAction.js';
|
|
10
10
|
/**
|
|
@@ -22,9 +22,7 @@ export const Tag = React.forwardRef((props, forwardedRef) => {
|
|
|
22
22
|
return (React.createElement(Box, { as: shouldUseLinkAction ? LinkBox : !!onClick ? ButtonBase : 'span', className: cx({
|
|
23
23
|
'iui-tag-basic': variant === 'basic',
|
|
24
24
|
'iui-tag': variant === 'default',
|
|
25
|
-
}, className),
|
|
26
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- ref's type doesn't matter internally
|
|
27
|
-
ref: forwardedRef, onClick: !shouldUseLinkAction ? onClick : undefined, ...rest },
|
|
25
|
+
}, className), ref: forwardedRef, onClick: !shouldUseLinkAction ? onClick : undefined, ...rest },
|
|
28
26
|
variant === 'default' ? (React.createElement(Box, { as: (shouldUseLinkAction ? LinkAction : 'span'), onClick: shouldUseLinkAction ? onClick : undefined, ...labelProps, className: cx('iui-tag-label', labelProps?.className) }, children)) : (children),
|
|
29
27
|
onRemove && (React.createElement(IconButton, { styleType: 'borderless', size: 'small', onClick: onRemove, "aria-label": 'Delete tag', ...removeButtonProps, className: cx('iui-tag-button', removeButtonProps?.className) },
|
|
30
28
|
React.createElement(SvgCloseSmall, { "aria-hidden": true })))));
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import cx from 'classnames';
|
|
7
|
-
import { Box } from '
|
|
7
|
+
import { Box } from '../../utils/index.js';
|
|
8
8
|
/**
|
|
9
9
|
* TagContainer for grouping tags.
|
|
10
10
|
* @example
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import type { PolymorphicForwardRefComponent } from '
|
|
2
|
+
import type { PolymorphicForwardRefComponent } from '../../utils/index.js';
|
|
3
3
|
export type ThemeOptions = {
|
|
4
4
|
/**
|
|
5
5
|
* Whether to apply high-contrast versions of light and dark themes.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import * as ReactDOM from 'react-dom';
|
|
7
7
|
import cx from 'classnames';
|
|
8
|
-
import { useMediaQuery, useMergedRefs, Box, useLayoutEffect, useControlledState, useLatestRef, importCss, isUnitTest, HydrationProvider, } from '
|
|
8
|
+
import { useMediaQuery, useMergedRefs, Box, useLayoutEffect, useControlledState, useLatestRef, importCss, isUnitTest, HydrationProvider, } from '../../utils/index.js';
|
|
9
9
|
import { ThemeContext } from './ThemeContext.js';
|
|
10
10
|
import { ToastProvider, Toaster } from '../Toast/Toaster.js';
|
|
11
11
|
/**
|
package/esm/core/Tile/Tile.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import type { PolymorphicForwardRefComponent } from '
|
|
2
|
+
import type { PolymorphicForwardRefComponent } from '../../utils/index.js';
|
|
3
3
|
import { IconButton } from '../Buttons/IconButton.js';
|
|
4
4
|
type TileWrapperOwnProps = {
|
|
5
5
|
/**
|
|
@@ -249,7 +249,7 @@ export declare const Tile: PolymorphicForwardRefComponent<"div", TileLegacyProps
|
|
|
249
249
|
*/
|
|
250
250
|
IconButton: PolymorphicForwardRefComponent<"button", Omit<Omit<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
251
251
|
ref?: ((instance: HTMLButtonElement | null) => void) | React.RefObject<HTMLButtonElement> | null | undefined;
|
|
252
|
-
}, "label" | "as" | "size" | "htmlDisabled" | "styleType" | "labelProps" | "isActive" | "iconProps"> & {
|
|
252
|
+
}, "label" | "as" | "size" | "htmlDisabled" | "styleType" | "labelProps" | "stretched" | "isActive" | "iconProps"> & {
|
|
253
253
|
isActive?: boolean | undefined;
|
|
254
254
|
label?: React.ReactNode;
|
|
255
255
|
labelProps?: Omit<Omit<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
@@ -280,7 +280,7 @@ export declare const Tile: PolymorphicForwardRefComponent<"div", TileLegacyProps
|
|
|
280
280
|
}> & {
|
|
281
281
|
content: React.ReactNode;
|
|
282
282
|
children?: React.ReactNode;
|
|
283
|
-
} & import("
|
|
283
|
+
} & import("../../utils/index.js").PortalProps & {
|
|
284
284
|
placement?: import("@floating-ui/utils").Placement | undefined;
|
|
285
285
|
visible?: boolean | undefined;
|
|
286
286
|
onVisibleChange?: ((visible: boolean) => void) | undefined;
|
package/esm/core/Tile/Tile.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import cx from 'classnames';
|
|
7
|
-
import { StatusIconMap, SvgMore, SvgNew, SvgCheckmark, useSafeContext, supportsHas, polymorphic, Box, } from '
|
|
7
|
+
import { StatusIconMap, SvgMore, SvgNew, SvgCheckmark, useSafeContext, supportsHas, polymorphic, Box, } from '../../utils/index.js';
|
|
8
8
|
import { DropdownMenu } from '../DropdownMenu/DropdownMenu.js';
|
|
9
9
|
import { IconButton } from '../Buttons/IconButton.js';
|
|
10
10
|
import { ProgressRadial } from '../ProgressIndicators/ProgressRadial.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import type { PolymorphicForwardRefComponent } from '
|
|
2
|
+
import type { PolymorphicForwardRefComponent } from '../../utils/index.js';
|
|
3
3
|
export type MeridiemType = 'AM' | 'PM';
|
|
4
4
|
export type Precision = 'hours' | 'minutes' | 'seconds';
|
|
5
5
|
export type TimePickerProps = {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
5
|
import cx from 'classnames';
|
|
6
6
|
import * as React from 'react';
|
|
7
|
-
import { Box } from '
|
|
7
|
+
import { Box } from '../../utils/index.js';
|
|
8
8
|
const isSameHour = (date1, date2, meridiem) => {
|
|
9
9
|
const adjustedHours = meridiem
|
|
10
10
|
? formatHourFrom12(date1.getHours(), meridiem)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import type { PolymorphicForwardRefComponent } from '
|
|
2
|
+
import type { PolymorphicForwardRefComponent } from '../../utils/index.js';
|
|
3
3
|
export type ToastCategory = 'informational' | 'negative' | 'positive' | 'warning';
|
|
4
4
|
export type ToastProps = {
|
|
5
5
|
/**
|
package/esm/core/Toast/Toast.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import { Transition } from 'react-transition-group';
|
|
7
7
|
import cx from 'classnames';
|
|
8
|
-
import { getWindow, StatusIconMap, SvgCloseSmall, Box, useSafeContext, ButtonBase, } from '
|
|
8
|
+
import { getWindow, StatusIconMap, SvgCloseSmall, Box, useSafeContext, ButtonBase, } from '../../utils/index.js';
|
|
9
9
|
import { IconButton } from '../Buttons/IconButton.js';
|
|
10
10
|
import { ToasterStateContext } from './Toaster.js';
|
|
11
11
|
const isMotionOk = () => getWindow()?.matchMedia?.('(prefers-reduced-motion: no-preference)')?.matches;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import cx from 'classnames';
|
|
7
|
-
import { Box, useSafeContext } from '
|
|
7
|
+
import { Box, useSafeContext } from '../../utils/index.js';
|
|
8
8
|
import { Toast } from './Toast.js';
|
|
9
9
|
// ----------------------------------------------------------------------------
|
|
10
10
|
export const useToaster = () => {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import cx from 'classnames';
|
|
7
|
-
import { Box, SvgCheckmark } from '
|
|
7
|
+
import { Box, SvgCheckmark } from '../../utils/index.js';
|
|
8
8
|
/**
|
|
9
9
|
* A switch for turning on and off.
|
|
10
10
|
* @example
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { Placement } from '@floating-ui/react';
|
|
3
|
-
import type { PolymorphicForwardRefComponent, PortalProps } from '
|
|
3
|
+
import type { PolymorphicForwardRefComponent, PortalProps } from '../../utils/index.js';
|
|
4
4
|
type TooltipOptions = {
|
|
5
5
|
/**
|
|
6
6
|
* Placement of the Tooltip
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import cx from 'classnames';
|
|
7
7
|
import { useFloating, autoUpdate, offset, flip, shift, useHover, useFocus, useDismiss, useInteractions, safePolygon, size, autoPlacement, hide, inline, useDelayGroupContext, useDelayGroup, } from '@floating-ui/react';
|
|
8
|
-
import { Box, Portal, cloneElementWithRef, useControlledState, useId, useMergedRefs, } from '
|
|
8
|
+
import { Box, Portal, cloneElementWithRef, useControlledState, useId, useMergedRefs, } from '../../utils/index.js';
|
|
9
9
|
const useTooltip = (options = {}) => {
|
|
10
10
|
const uniqueId = useId();
|
|
11
11
|
const { placement = 'top', visible, onVisibleChange, middleware = { flip: true, shift: true }, autoUpdateOptions = {}, reference, ariaStrategy = 'description', id = uniqueId, ...props } = options;
|
|
@@ -53,7 +53,6 @@ const useTooltip = (options = {}) => {
|
|
|
53
53
|
}
|
|
54
54
|
/** e.g. onPointerDown --> pointerdown */
|
|
55
55
|
const domEventName = (e) => e.toLowerCase().substring(2);
|
|
56
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
57
56
|
const cleanupValues = {};
|
|
58
57
|
Object.entries({
|
|
59
58
|
...ariaProps,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { PolymorphicForwardRefComponent } from '
|
|
2
|
+
import type { PolymorphicForwardRefComponent } from '../../utils/index.js';
|
|
3
3
|
import { ListItem } from '../List/ListItem.js';
|
|
4
4
|
type TransferListListboxWrapperOwnProps = {};
|
|
5
5
|
type TransferListItemOwnProps = {
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import cx from 'classnames';
|
|
7
|
-
import { getFocusableElements, useMergedRefs, useId, useSafeContext, Box, polymorphic, } from '
|
|
7
|
+
import { getFocusableElements, useMergedRefs, useId, useSafeContext, Box, polymorphic, } from '../../utils/index.js';
|
|
8
8
|
import { List } from '../List/List.js';
|
|
9
9
|
import { ListItem } from '../List/ListItem.js';
|
|
10
10
|
import { Label } from '../Label/Label.js';
|
package/esm/core/Tree/Tree.d.ts
CHANGED
package/esm/core/Tree/Tree.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
6
|
-
import { getFocusableElements, useVirtualization, mergeRefs, Box, polymorphic, } from '
|
|
6
|
+
import { getFocusableElements, useVirtualization, mergeRefs, Box, polymorphic, } from '../../utils/index.js';
|
|
7
7
|
import cx from 'classnames';
|
|
8
8
|
import { TreeContext } from './TreeContext.js';
|
|
9
9
|
/**
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
6
|
-
import { getFocusableElements, Box } from '
|
|
6
|
+
import { getFocusableElements, Box } from '../../utils/index.js';
|
|
7
7
|
import cx from 'classnames';
|
|
8
8
|
import { TreeNodeExpander } from './TreeNodeExpander.js';
|
|
9
9
|
import { useTreeContext } from './TreeContext.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { PolymorphicForwardRefComponent } from '
|
|
1
|
+
import type { PolymorphicForwardRefComponent } from '../../utils/index.js';
|
|
2
2
|
import type { IconButtonProps } from '../Buttons/IconButton.js';
|
|
3
3
|
type TreeNodeExpanderProps = {
|
|
4
4
|
isExpanded?: boolean;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import cx from 'classnames';
|
|
7
|
-
import { SvgChevronRight, SvgChevronRightSmall } from '
|
|
7
|
+
import { SvgChevronRight, SvgChevronRightSmall } from '../../utils/index.js';
|
|
8
8
|
import { IconButton } from '../Buttons/IconButton.js';
|
|
9
9
|
import { TreeContext } from './TreeContext.js';
|
|
10
10
|
export const TreeNodeExpander = React.forwardRef((props, ref) => {
|
|
@@ -4,8 +4,9 @@
|
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import cx from 'classnames';
|
|
7
|
-
import { Box } from '
|
|
7
|
+
import { Box } from '../../utils/index.js';
|
|
8
8
|
import { VisuallyHidden } from '../VisuallyHidden/VisuallyHidden.js';
|
|
9
|
+
import { TextContext } from './Text.js';
|
|
9
10
|
/**
|
|
10
11
|
* A consistently styled anchor component.
|
|
11
12
|
*
|
|
@@ -22,7 +23,8 @@ import { VisuallyHidden } from '../VisuallyHidden/VisuallyHidden.js';
|
|
|
22
23
|
* <Anchor as='button' onClick={() => {}}>click me</Anchor>
|
|
23
24
|
*/
|
|
24
25
|
export const Anchor = React.forwardRef((props, forwardedRef) => {
|
|
25
|
-
const
|
|
26
|
+
const isInsideText = React.useContext(TextContext);
|
|
27
|
+
const { isExternal, underline = isInsideText, children, ...rest } = props;
|
|
26
28
|
return (React.createElement(Box, { as: 'a', "data-iui-underline": underline ? 'true' : undefined, ...rest, ref: forwardedRef, className: cx('iui-anchor', { 'iui-anchor-external': isExternal }, props.className) },
|
|
27
29
|
children,
|
|
28
30
|
props.target === '_blank' && (React.createElement(VisuallyHidden, null, " (opens in new tab)"))));
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
5
|
import cx from 'classnames';
|
|
6
6
|
import * as React from 'react';
|
|
7
|
-
import { Box } from '
|
|
7
|
+
import { Box } from '../../utils/index.js';
|
|
8
8
|
/**
|
|
9
9
|
* Basic blockquote component
|
|
10
10
|
* @example
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
* @example
|
|
4
4
|
* <p>Some <Code>inline code</Code> in a paragraph</p>
|
|
5
5
|
*/
|
|
6
|
-
export declare const Code: import("
|
|
6
|
+
export declare const Code: import("../../utils/props.js").PolymorphicForwardRefComponent<"code", {}>;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
3
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { polymorphic } from '
|
|
5
|
+
import { polymorphic } from '../../utils/index.js';
|
|
6
6
|
/**
|
|
7
7
|
* Inline code element.
|
|
8
8
|
* @example
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
5
|
import cx from 'classnames';
|
|
6
6
|
import * as React from 'react';
|
|
7
|
-
import { Box } from '
|
|
7
|
+
import { Box } from '../../utils/index.js';
|
|
8
8
|
/**
|
|
9
9
|
* Some predefined strings for common keyboard keys.
|
|
10
10
|
*/
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import type { PolymorphicForwardRefComponent } from '../../utils/index.js';
|
|
2
3
|
type TextProps = {
|
|
3
4
|
/**
|
|
4
5
|
* Which typography variant/size should be used for the styling?
|
|
@@ -37,4 +38,5 @@ type TextProps = {
|
|
|
37
38
|
* <Text isSkeleton>Skeleton text</Text>
|
|
38
39
|
*/
|
|
39
40
|
export declare const Text: PolymorphicForwardRefComponent<"div", TextProps>;
|
|
41
|
+
export declare const TextContext: React.Context<boolean>;
|
|
40
42
|
export {};
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
5
|
import cx from 'classnames';
|
|
6
6
|
import * as React from 'react';
|
|
7
|
-
import { Box } from '
|
|
7
|
+
import { Box } from '../../utils/index.js';
|
|
8
|
+
// ----------------------------------------------------------------------------
|
|
8
9
|
/**
|
|
9
10
|
* Polymorphic typography component to render any kind of text as any kind of element.
|
|
10
11
|
* Users should decide which element to render based on the context of their app. Link to heading levels docs: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Heading_Elements#accessibility_concerns
|
|
@@ -19,10 +20,13 @@ import { Box } from '../utils/index.js';
|
|
|
19
20
|
*/
|
|
20
21
|
export const Text = React.forwardRef((props, ref) => {
|
|
21
22
|
const { variant = 'body', className, isMuted = false, isSkeleton = false, ...rest } = props;
|
|
22
|
-
return (React.createElement(
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
23
|
+
return (React.createElement(TextContext.Provider, { value: true },
|
|
24
|
+
React.createElement(Box, { className: cx({
|
|
25
|
+
[`iui-text-${variant}`]: variant !== 'body',
|
|
26
|
+
'iui-text-block': variant === 'body',
|
|
27
|
+
'iui-text-muted': isMuted,
|
|
28
|
+
'iui-skeleton': isSkeleton,
|
|
29
|
+
}, className), ref: ref, ...rest })));
|
|
28
30
|
});
|
|
31
|
+
// ----------------------------------------------------------------------------
|
|
32
|
+
export const TextContext = React.createContext(false);
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import cx from 'classnames';
|
|
7
|
-
import { Box, ShadowRoot, useHydration } from '
|
|
7
|
+
import { Box, ShadowRoot, useHydration } from '../../utils/index.js';
|
|
8
8
|
/**
|
|
9
9
|
* Hides content visually but keeps it still accessible to screen readers
|
|
10
10
|
* and other assistive technologies.
|
package/esm/index.d.ts
CHANGED
|
@@ -103,7 +103,7 @@ export { Stepper } from './core/Stepper/Stepper.js';
|
|
|
103
103
|
export { WorkflowDiagram } from './core/Stepper/WorkflowDiagram.js';
|
|
104
104
|
export type { StepProperties, StepperLocalization, } from './core/Stepper/Stepper.js';
|
|
105
105
|
export { SearchBox } from './core/SearchBox/SearchBox.js';
|
|
106
|
-
export { getUserColor, ColorValue, MiddleTextTruncation, } from './
|
|
106
|
+
export { getUserColor, ColorValue, MiddleTextTruncation, } from './utils/index.js';
|
|
107
107
|
export { LinkBox, LinkAction } from './core/LinkAction/LinkAction.js';
|
|
108
108
|
export { VisuallyHidden } from './core/VisuallyHidden/VisuallyHidden.js';
|
|
109
109
|
export { Icon } from './core/Icon/Icon.js';
|
package/esm/index.js
CHANGED
|
@@ -100,7 +100,7 @@ export { Text } from './core/Typography/Text.js';
|
|
|
100
100
|
export { Stepper } from './core/Stepper/Stepper.js';
|
|
101
101
|
export { WorkflowDiagram } from './core/Stepper/WorkflowDiagram.js';
|
|
102
102
|
export { SearchBox } from './core/SearchBox/SearchBox.js';
|
|
103
|
-
export { getUserColor, ColorValue, MiddleTextTruncation, } from './
|
|
103
|
+
export { getUserColor, ColorValue, MiddleTextTruncation, } from './utils/index.js';
|
|
104
104
|
export { LinkBox, LinkAction } from './core/LinkAction/LinkAction.js';
|
|
105
105
|
export { VisuallyHidden } from './core/VisuallyHidden/VisuallyHidden.js';
|
|
106
106
|
export { Icon } from './core/Icon/Icon.js';
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
3
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
|
-
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
6
5
|
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
7
6
|
/* eslint-disable @typescript-eslint/no-empty-interface */
|
|
8
7
|
/* eslint-disable @typescript-eslint/ban-types */
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
6
|
-
import { VisuallyHidden } from '../../VisuallyHidden/VisuallyHidden.js';
|
|
6
|
+
import { VisuallyHidden } from '../../core/VisuallyHidden/VisuallyHidden.js';
|
|
7
7
|
import { getWindow } from '../functions/index.js';
|
|
8
8
|
/**
|
|
9
9
|
* Visually-hidden polite live region that automatically clears itself after 5 seconds.
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import cx from 'classnames';
|
|
7
7
|
import { Box } from './Box.js';
|
|
8
|
-
import { Label } from '../../Label/Label.js';
|
|
9
|
-
import { StatusMessage } from '../../StatusMessage/StatusMessage.js';
|
|
8
|
+
import { Label } from '../../core/Label/Label.js';
|
|
9
|
+
import { StatusMessage } from '../../core/StatusMessage/StatusMessage.js';
|
|
10
10
|
/**
|
|
11
11
|
* Input container to wrap inputs with label, and add optional message and icon.
|
|
12
12
|
* @private
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { PolymorphicForwardRefComponent } from '../props.js';
|
|
2
|
-
import type { IconProps } from '../../Icon/Icon.js';
|
|
3
|
-
import type { IconButtonProps } from '../../Buttons/IconButton.js';
|
|
2
|
+
import type { IconProps } from '../../core/Icon/Icon.js';
|
|
3
|
+
import type { IconButtonProps } from '../../core/Buttons/IconButton.js';
|
|
4
4
|
export type InputFlexContainerProps = {
|
|
5
5
|
isDisabled?: boolean;
|
|
6
6
|
status?: 'positive' | 'warning' | 'negative';
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import cx from 'classnames';
|
|
7
7
|
import { Box } from './Box.js';
|
|
8
|
-
import { Icon } from '../../Icon/Icon.js';
|
|
9
|
-
import { IconButton } from '../../Buttons/IconButton.js';
|
|
8
|
+
import { Icon } from '../../core/Icon/Icon.js';
|
|
9
|
+
import { IconButton } from '../../core/Buttons/IconButton.js';
|
|
10
10
|
/**
|
|
11
11
|
* Utility component for input container with display flex abilities.
|
|
12
12
|
* @private
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import * as ReactDOM from 'react-dom';
|
|
7
|
-
import { ThemeContext } from '../../ThemeProvider/ThemeContext.js';
|
|
7
|
+
import { ThemeContext } from '../../core/ThemeProvider/ThemeContext.js';
|
|
8
8
|
import { getDocument } from '../functions/dom.js';
|
|
9
9
|
import { useIsClient } from '../hooks/useIsClient.js';
|
|
10
10
|
// ----------------------------------------------------------------------------
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import { CSSTransition } from 'react-transition-group';
|
|
7
|
-
import styles from '
|
|
7
|
+
import styles from '../../styles.js';
|
|
8
8
|
export const WithCSSTransition = (props) => {
|
|
9
9
|
const { in: visible, dimension = 'height', children, ...rest } = props;
|
|
10
10
|
const expandedSize = React.useRef(0);
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
3
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
|
-
|
|
6
|
-
const isJest = typeof
|
|
5
|
+
// @ts-expect-error -- jest is not used in iTwinUI but may be used in consuming apps
|
|
6
|
+
const isJest = typeof jest !== 'undefined';
|
|
7
7
|
const isMocha = typeof globalThis.beforeEach !== 'undefined' &&
|
|
8
8
|
`${globalThis.beforeEach}`.replace(/\s/g, '') ===
|
|
9
9
|
'function(name,fn){suites[0].beforeEach(name,fn);}';
|
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
3
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
|
-
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
6
5
|
import * as React from 'react';
|
|
7
6
|
import cx from 'classnames';
|
|
8
7
|
import { useGlobals } from '../hooks/useGlobals.js';
|
|
9
|
-
import styles from '
|
|
8
|
+
import styles from '../../styles.js';
|
|
10
9
|
const _base = (defaultElement) => {
|
|
11
10
|
return (className, attrs) => {
|
|
12
11
|
const Comp = React.forwardRef(({ as = defaultElement, ...props }, ref) => {
|
|
@@ -19,7 +19,6 @@ export const cloneElementWithRef = (children, getProps) => {
|
|
|
19
19
|
}
|
|
20
20
|
const props = getProps(children);
|
|
21
21
|
const ref = mergeRefs(...[
|
|
22
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
23
22
|
'ref' in children ? children.ref : null,
|
|
24
23
|
'ref' in props ? props.ref : null,
|
|
25
24
|
].filter(Boolean));
|