@itwin/itwinui-react 3.8.1 → 3.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +33 -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 +20 -9
- 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 +20 -9
- 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
|
@@ -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));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { ThemeContext } from '../../ThemeProvider/ThemeContext.js';
|
|
2
|
+
import { ThemeContext } from '../../core/ThemeProvider/ThemeContext.js';
|
|
3
3
|
/**
|
|
4
4
|
* Hook used in every component for any shared setup and side effects.
|
|
5
5
|
* Returns the nearest ThemeContext.
|
|
@@ -7,8 +7,8 @@ import { ThemeContext } from '../../ThemeProvider/ThemeContext.js';
|
|
|
7
7
|
* @private
|
|
8
8
|
*/
|
|
9
9
|
export declare const useGlobals: () => {
|
|
10
|
-
theme?: import("../../
|
|
11
|
-
themeOptions?: import("../../ThemeProvider/ThemeProvider.js").ThemeOptions | undefined;
|
|
10
|
+
theme?: import("../../index.js").ThemeType | undefined;
|
|
11
|
+
themeOptions?: import("../../core/ThemeProvider/ThemeProvider.js").ThemeOptions | undefined;
|
|
12
12
|
portalContainer?: HTMLElement | null | undefined;
|
|
13
13
|
} | undefined;
|
|
14
14
|
/** Shows console error if ThemeProvider is not used */
|
|
@@ -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 { ThemeContext } from '../../ThemeProvider/ThemeContext.js';
|
|
6
|
+
import { ThemeContext } from '../../core/ThemeProvider/ThemeContext.js';
|
|
7
7
|
import { isDev } from '../functions/dev.js';
|
|
8
8
|
const didLogWarning = {
|
|
9
9
|
fontSize: false,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itwin/itwinui-react",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.9.1",
|
|
4
4
|
"author": "Bentley Systems",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"react": "^18.0.0",
|
|
82
82
|
"react-dom": "^18.0.0",
|
|
83
83
|
"typescript": "~5.1.6",
|
|
84
|
-
"vite": "^5.
|
|
84
|
+
"vite": "^5.1.7",
|
|
85
85
|
"vitest": "^1.2.1"
|
|
86
86
|
},
|
|
87
87
|
"peerDependencies": {
|