@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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { InputContainerProps, PolymorphicForwardRefComponent } from '
|
|
1
|
+
import type { InputContainerProps, PolymorphicForwardRefComponent } from '../../utils/index.js';
|
|
2
2
|
type ComboBoxInputContainerProps = Pick<InputContainerProps, 'status' | 'message' | 'disabled'>;
|
|
3
3
|
export declare const ComboBoxInputContainer: PolymorphicForwardRefComponent<"div", ComboBoxInputContainerProps>;
|
|
4
4
|
export {};
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import { StatusMessage } from '../StatusMessage/StatusMessage.js';
|
|
7
|
-
import { InputContainer, useSafeContext, InputWithIcon, } from '
|
|
7
|
+
import { InputContainer, useSafeContext, InputWithIcon, } from '../../utils/index.js';
|
|
8
8
|
import { ComboBoxStateContext } from './helpers.js';
|
|
9
9
|
export const ComboBoxInputContainer = React.forwardRef((props, forwardedRef) => {
|
|
10
10
|
const { className, status, message, children, ...rest } = props;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { Menu } from '../Menu/Menu.js';
|
|
3
|
-
import type { PolymorphicForwardRefComponent } from '
|
|
3
|
+
import type { PolymorphicForwardRefComponent } from '../../utils/index.js';
|
|
4
4
|
type ComboBoxMenuProps = Omit<React.ComponentPropsWithoutRef<typeof Menu>, 'onClick'> & React.ComponentPropsWithoutRef<'div'>;
|
|
5
5
|
export declare const ComboBoxMenu: PolymorphicForwardRefComponent<"div", ComboBoxMenuProps>;
|
|
6
6
|
export {};
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import { Menu } from '../Menu/Menu.js';
|
|
7
|
-
import { useSafeContext, useMergedRefs, useVirtualization, Portal, Box, } from '
|
|
7
|
+
import { useSafeContext, useMergedRefs, useVirtualization, Portal, Box, } from '../../utils/index.js';
|
|
8
8
|
import { ComboBoxStateContext, ComboBoxRefsContext } from './helpers.js';
|
|
9
9
|
const VirtualizedComboBoxMenu = (props) => {
|
|
10
10
|
const { children, ...rest } = props;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { MenuItemProps } from '../Menu/MenuItem.js';
|
|
3
|
-
import type { PolymorphicForwardRefComponent } from '
|
|
3
|
+
import type { PolymorphicForwardRefComponent } from '../../utils/index.js';
|
|
4
4
|
type ComboBoxMenuItemProps = MenuItemProps & {
|
|
5
5
|
index: number;
|
|
6
6
|
};
|
|
@@ -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 { useSafeContext, useMergedRefs, SvgCheckmark } from '
|
|
6
|
+
import { useSafeContext, useMergedRefs, SvgCheckmark, } from '../../utils/index.js';
|
|
7
7
|
import { ComboBoxStateContext } from './helpers.js';
|
|
8
8
|
import { ListItem } from '../List/ListItem.js';
|
|
9
9
|
export const ComboBoxMenuItem = React.memo(React.forwardRef((props, forwardedRef) => {
|
|
@@ -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 type { TimePickerProps } from '../TimePicker/TimePicker.js';
|
|
4
4
|
export type DatePickerLocalizedNames = {
|
|
5
5
|
[key in 'months' | 'shortDays' | 'days']: string[];
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
5
|
import cx from 'classnames';
|
|
6
6
|
import * as React from 'react';
|
|
7
|
-
import { SvgChevronLeft, SvgChevronRight, SvgChevronLeftDouble, SvgChevronRightDouble, isBefore, Box, useId, } from '
|
|
7
|
+
import { SvgChevronLeft, SvgChevronRight, SvgChevronLeftDouble, SvgChevronRightDouble, isBefore, Box, useId, } from '../../utils/index.js';
|
|
8
8
|
import { IconButton } from '../Buttons/IconButton.js';
|
|
9
9
|
import { TimePicker } from '../TimePicker/TimePicker.js';
|
|
10
10
|
const isSameDay = (a, b) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { DialogContextProps } from './DialogContext.js';
|
|
3
|
-
import type { PolymorphicForwardRefComponent } from '
|
|
3
|
+
import type { PolymorphicForwardRefComponent } from '../../utils/index.js';
|
|
4
4
|
type DialogProps = {
|
|
5
5
|
/**
|
|
6
6
|
* Dialog content.
|
|
@@ -10,7 +10,7 @@ import { DialogBackdrop } from './DialogBackdrop.js';
|
|
|
10
10
|
import { DialogContext } from './DialogContext.js';
|
|
11
11
|
import { DialogButtonBar } from './DialogButtonBar.js';
|
|
12
12
|
import { DialogMain } from './DialogMain.js';
|
|
13
|
-
import { useMergedRefs, Box, Portal } from '
|
|
13
|
+
import { useMergedRefs, Box, Portal } from '../../utils/index.js';
|
|
14
14
|
import { Transition } from 'react-transition-group';
|
|
15
15
|
const DialogComponent = React.forwardRef((props, ref) => {
|
|
16
16
|
const { trapFocus = false, setFocus = false, preventDocumentScroll = false, isOpen = false, isDismissible = true, closeOnEsc = true, closeOnExternalClick = false, onClose, isDraggable = false, isResizable = false, relativeTo = 'viewport', placement, className, portal = false, ...rest } = props;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { BackdropProps } from '../Backdrop/Backdrop.js';
|
|
2
|
-
import type { PolymorphicForwardRefComponent } from '
|
|
2
|
+
import type { PolymorphicForwardRefComponent } from '../../utils/index.js';
|
|
3
3
|
import type { DialogContextProps } from './DialogContext.js';
|
|
4
4
|
type DialogBackdropProps = BackdropProps & Pick<DialogContextProps, 'onClose' | 'isDismissible' | 'closeOnExternalClick' | 'relativeTo'>;
|
|
5
5
|
/**
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import { Backdrop } from '../Backdrop/Backdrop.js';
|
|
7
|
-
import { useMergedRefs } from '
|
|
7
|
+
import { useMergedRefs } from '../../utils/index.js';
|
|
8
8
|
import { useDialogContext } from './DialogContext.js';
|
|
9
9
|
import cx from 'classnames';
|
|
10
10
|
/**
|
|
@@ -6,4 +6,4 @@
|
|
|
6
6
|
* <Button>Close</Button>
|
|
7
7
|
* </Dialog.ButtonBar>
|
|
8
8
|
*/
|
|
9
|
-
export declare const DialogButtonBar: import("
|
|
9
|
+
export declare const DialogButtonBar: import("../../utils/props.js").PolymorphicForwardRefComponent<"div", {}>;
|
|
@@ -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
|
* Container for Buttons in `Dialog`. Recommended to be used as a child of `Dialog`.
|
|
8
8
|
* @example
|
|
@@ -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
|
* Container for content in `Dialog`. Recommended to be used as a child of `Dialog`.
|
|
8
8
|
* @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
|
import type { DialogContextProps } from './DialogContext.js';
|
|
4
4
|
export type DialogMainProps = {
|
|
5
5
|
/**
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import cx from 'classnames';
|
|
7
|
-
import { FocusTrap, getTranslateValuesFromElement, Resizer, useMergedRefs, useLayoutEffect, Box, ShadowRoot, } from '
|
|
7
|
+
import { FocusTrap, getTranslateValuesFromElement, Resizer, useMergedRefs, useLayoutEffect, Box, ShadowRoot, } from '../../utils/index.js';
|
|
8
8
|
import { useDialogContext } from './DialogContext.js';
|
|
9
9
|
import { Transition } from 'react-transition-group';
|
|
10
10
|
import { DialogDragContext } from './DialogDragContext.js';
|
|
11
|
-
import { useDragAndDrop } from '
|
|
11
|
+
import { useDragAndDrop } from '../../utils/hooks/useDragAndDrop.js';
|
|
12
12
|
/**
|
|
13
13
|
* Dialog component which can wrap any content.
|
|
14
14
|
* @example
|
|
@@ -84,12 +84,9 @@ export const DialogMain = React.forwardRef((props, ref) => {
|
|
|
84
84
|
if (!isDraggable || !isOpen) {
|
|
85
85
|
return;
|
|
86
86
|
}
|
|
87
|
-
const rect = dialogRef.current?.getBoundingClientRect();
|
|
88
87
|
const [translateX, translateY] = getTranslateValuesFromElement(dialogRef.current);
|
|
89
88
|
setStyle((oldStyle) => ({
|
|
90
89
|
...oldStyle,
|
|
91
|
-
inlineSize: rect?.width,
|
|
92
|
-
blockSize: rect?.height,
|
|
93
90
|
insetInlineStart: dialogRef.current?.offsetLeft,
|
|
94
91
|
insetBlockStart: dialogRef.current?.offsetTop,
|
|
95
92
|
transform: `translate(${translateX}px,${translateY}px)`,
|
|
@@ -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 type { DialogContextProps } from './DialogContext.js';
|
|
4
4
|
type DialogTitleBarProps = {
|
|
5
5
|
/**
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import cx from 'classnames';
|
|
7
|
-
import { SvgClose, mergeEventHandlers, Box } from '
|
|
7
|
+
import { SvgClose, mergeEventHandlers, Box } from '../../utils/index.js';
|
|
8
8
|
import { IconButton } from '../Buttons/IconButton.js';
|
|
9
9
|
import { useDialogContext } from './DialogContext.js';
|
|
10
10
|
import { DialogTitleBarTitle } from './DialogTitleBarTitle.js';
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
* @example
|
|
4
4
|
* <Dialog.TitleBar>My dialog title</Dialog.TitleBar>
|
|
5
5
|
*/
|
|
6
|
-
export declare const DialogTitleBarTitle: import("
|
|
6
|
+
export declare const DialogTitleBarTitle: import("../../utils/props.js").PolymorphicForwardRefComponent<"div", {}>;
|
|
@@ -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
|
* Dialog title bar. Recommended to be used as a child of `Dialog`.
|
|
8
8
|
* @example
|
|
@@ -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/components/Box.js';
|
|
8
8
|
/**
|
|
9
9
|
* Shows a divider
|
|
10
10
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import type { PolymorphicForwardRefComponent, PortalProps } from '
|
|
2
|
+
import type { PolymorphicForwardRefComponent, PortalProps } from '../../utils/index.js';
|
|
3
3
|
import { usePopover } from '../Popover/Popover.js';
|
|
4
4
|
export type DropdownMenuProps = {
|
|
5
5
|
/**
|
|
@@ -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 { useMergedRefs, Portal, cloneElementWithRef, useControlledState, mergeRefs, mergeEventHandlers, } from '
|
|
6
|
+
import { useMergedRefs, Portal, cloneElementWithRef, useControlledState, mergeRefs, mergeEventHandlers, } from '../../utils/index.js';
|
|
7
7
|
import { Menu } from '../Menu/Menu.js';
|
|
8
8
|
import { usePopover } from '../Popover/Popover.js';
|
|
9
9
|
/**
|
|
@@ -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 ExpandableBlockOwnProps = {
|
|
4
4
|
/**
|
|
5
5
|
* Status of the block.
|
|
@@ -106,14 +106,11 @@ export declare const ExpandableBlock: PolymorphicForwardRefComponent<"div", Expa
|
|
|
106
106
|
EndIcon: PolymorphicForwardRefComponent<"span", Omit<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
107
107
|
ref?: ((instance: HTMLSpanElement | null) => void) | React.RefObject<HTMLSpanElement> | null | undefined;
|
|
108
108
|
}, "fill" | "as" | "key" | "size" | keyof React.HTMLAttributes<HTMLSpanElement> | "padded"> & {
|
|
109
|
-
size?: "small" | "auto" | "medium" | "large" | import("
|
|
110
|
-
fill?: "default" | "
|
|
109
|
+
size?: "small" | "auto" | "medium" | "large" | import("../../utils/types.js").AnyString | undefined;
|
|
110
|
+
fill?: "default" | import("../../utils/types.js").AnyString | "informational" | "negative" | "positive" | "warning" | undefined;
|
|
111
111
|
padded?: boolean | undefined;
|
|
112
112
|
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
113
|
-
as?: "span" | undefined;
|
|
114
|
-
* Status of the block.
|
|
115
|
-
* When set, a colored status icon is shown at the end of the main text.
|
|
116
|
-
*/
|
|
113
|
+
as?: "span" | undefined;
|
|
117
114
|
}, "ref">>;
|
|
118
115
|
/**
|
|
119
116
|
* Content shown in the block's body when fully expanded.
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
5
|
import cx from 'classnames';
|
|
6
6
|
import * as React from 'react';
|
|
7
|
-
import { StatusIconMap, SvgChevronRight, Box, useSafeContext, polymorphic, mergeEventHandlers, ButtonBase, useId, } from '
|
|
7
|
+
import { StatusIconMap, SvgChevronRight, Box, useSafeContext, polymorphic, mergeEventHandlers, ButtonBase, useId, } from '../../utils/index.js';
|
|
8
8
|
import { Icon } from '../Icon/Icon.js';
|
|
9
9
|
import { LinkBox } from '../LinkAction/LinkAction.js';
|
|
10
10
|
const ExpandableBlockContext = React.createContext(undefined);
|
|
@@ -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 { Box } from '
|
|
6
|
+
import { Box } from '../../utils/index.js';
|
|
7
7
|
import cx from 'classnames';
|
|
8
8
|
/**
|
|
9
9
|
* Fieldset component to group several inputs, controls and labels within a form.
|
|
@@ -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 { Box, polymorphic, SvgUpload } from '
|
|
6
|
+
import { Box, polymorphic, SvgUpload } from '../../utils/index.js';
|
|
7
7
|
import cx from 'classnames';
|
|
8
8
|
import { FileUploadCard } from './FileUploadCard.js';
|
|
9
9
|
// ----------------------------------------------------------------------------
|
|
@@ -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 FileUploadProps = {
|
|
4
4
|
/**
|
|
5
5
|
* Content shown over `children` when file is being dragged onto the component.
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import cx from 'classnames';
|
|
7
|
-
import { Box, mergeEventHandlers } from '
|
|
7
|
+
import { Box, mergeEventHandlers } from '../../utils/index.js';
|
|
8
8
|
/**
|
|
9
9
|
* File upload component to be wrapped around `FileUploadCard` or any arbitrary component.
|
|
10
10
|
* Provides support for dragging and dropping multiple files.
|
|
@@ -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 FileUploadCardProps = {
|
|
4
4
|
/**
|
|
5
5
|
* Files to pass (only needed when passing a custom action)
|
|
@@ -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 { getWindow, SvgDocument, useMergedRefs, useSafeContext, useId, mergeEventHandlers, polymorphic, Box, } from '
|
|
6
|
+
import { getWindow, SvgDocument, useMergedRefs, useSafeContext, useId, mergeEventHandlers, polymorphic, Box, } from '../../utils/index.js';
|
|
7
7
|
import cx from 'classnames';
|
|
8
8
|
import { FileEmptyCard } from './FileEmptyCard.js';
|
|
9
9
|
import { Anchor } from '../Typography/Anchor.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
|
type FileUploadTemplateProps = {
|
|
4
4
|
/**
|
|
5
5
|
* Callback fired when a file is selected from the device.
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import cx from 'classnames';
|
|
7
|
-
import { SvgUpload, Box } from '
|
|
7
|
+
import { SvgUpload, Box } from '../../utils/index.js';
|
|
8
8
|
import { Anchor } from '../Typography/Anchor.js';
|
|
9
9
|
/**
|
|
10
10
|
* @deprecated Use [`FileUploadCard`](https://itwinui.bentley.com/docs/fileupload#fileuploadcard) instead.
|
package/esm/core/Flex/Flex.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import type { AnyString } from '
|
|
3
|
-
import type { PolymorphicForwardRefComponent } from '
|
|
2
|
+
import type { AnyString } from '../../utils/types.js';
|
|
3
|
+
import type { PolymorphicForwardRefComponent } from '../../utils/props.js';
|
|
4
4
|
declare const sizeTokens: readonly ["3xs", "2xs", "xs", "s", "m", "l", "xl", "2xl", "3xl"];
|
|
5
5
|
/**
|
|
6
6
|
* String literal shorthands that correspond to the size tokens in [itwinui-variables](https://github.com/iTwin/iTwinUI/blob/main/packages/itwinui-variables/src/sizes.scss).
|
package/esm/core/Flex/Flex.js
CHANGED
|
@@ -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/components/Box.js';
|
|
8
8
|
const sizeTokens = [
|
|
9
9
|
'3xs',
|
|
10
10
|
'2xs',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import type { CommonProps } from '
|
|
2
|
+
import type { CommonProps } from '../../utils/index.js';
|
|
3
3
|
export type TitleTranslations = {
|
|
4
4
|
termsOfService: string;
|
|
5
5
|
privacy: string;
|
|
@@ -53,8 +53,8 @@ export declare const defaultFooterElements: FooterElement[];
|
|
|
53
53
|
* <Footer customElements={(defaultElements) => defaultElements.map(element => ({ ...element, url: element.key === 'privacy' ? customPrivacyUrl : element.url }))} />
|
|
54
54
|
*/
|
|
55
55
|
export declare const Footer: ((props: FooterProps) => React.JSX.Element) & {
|
|
56
|
-
List: import("
|
|
57
|
-
Item: import("
|
|
58
|
-
Separator: import("
|
|
56
|
+
List: import("../../utils/props.js").PolymorphicForwardRefComponent<"ul", {}>;
|
|
57
|
+
Item: import("../../utils/props.js").PolymorphicForwardRefComponent<"li", {}>;
|
|
58
|
+
Separator: import("../../utils/props.js").PolymorphicForwardRefComponent<"li", {}>;
|
|
59
59
|
};
|
|
60
60
|
export {};
|
|
@@ -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
|
import { FooterItem } from './FooterItem.js';
|
|
9
9
|
import { FooterSeparator } from './FooterSeparator.js';
|
|
10
10
|
import { FooterList } from './FooterList.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Footer item. Recommended to use inside `Footer.List`.
|
|
3
3
|
*/
|
|
4
|
-
export declare const FooterItem: import("
|
|
4
|
+
export declare const FooterItem: import("../../utils/props.js").PolymorphicForwardRefComponent<"li", {}>;
|
|
@@ -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
|
* Footer item. Recommended to use inside `Footer.List`.
|
|
8
8
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Footer list. Recommended to use inside `Footer` with `Footer.Item` and `Footer.Separator`.
|
|
3
3
|
*/
|
|
4
|
-
export declare const FooterList: import("
|
|
4
|
+
export declare const FooterList: import("../../utils/props.js").PolymorphicForwardRefComponent<"ul", {}>;
|
|
@@ -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
|
* Footer list. Recommended to use inside `Footer` with `Footer.Item` and `Footer.Separator`.
|
|
8
8
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Footer separator. Recommended to use inside `Footer.List`.
|
|
3
3
|
*/
|
|
4
|
-
export declare const FooterSeparator: import("
|
|
4
|
+
export declare const FooterSeparator: import("../../utils/props.js").PolymorphicForwardRefComponent<"li", {}>;
|
|
@@ -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
|
* Footer separator. Recommended to use inside `Footer.List`.
|
|
8
8
|
*/
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import cx from 'classnames';
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import { IconButton } from '../Buttons/IconButton.js';
|
|
8
|
-
import { SvgMoreVertical, Box } from '
|
|
8
|
+
import { SvgMoreVertical, Box } from '../../utils/index.js';
|
|
9
9
|
import { DropdownMenu } from '../DropdownMenu/DropdownMenu.js';
|
|
10
10
|
const defaultTranslations = {
|
|
11
11
|
moreOptions: 'More options',
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { PolymorphicForwardRefComponent } from '
|
|
1
|
+
import type { PolymorphicForwardRefComponent } from '../../utils/index.js';
|
|
2
2
|
import type { ButtonProps } from '../Buttons/Button.js';
|
|
3
3
|
export declare const HeaderBasicButton: PolymorphicForwardRefComponent<"button", ButtonProps>;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
5
|
import cx from 'classnames';
|
|
6
6
|
import * as React from 'react';
|
|
7
|
-
import { ButtonBase } from '
|
|
7
|
+
import { ButtonBase } from '../../utils/index.js';
|
|
8
8
|
export const HeaderBasicButton = React.forwardRef((props, ref) => {
|
|
9
9
|
const { className, children, startIcon, endIcon, styleType, size, ...rest } = props;
|
|
10
10
|
styleType; // To omit and prevent eslint error.
|
|
@@ -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 HeaderBreadcrumbsProps = {
|
|
4
4
|
/**
|
|
5
5
|
* Array of elements, chevrons will be put between them.
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import cx from 'classnames';
|
|
7
|
-
import { SvgChevronRight, Box } from '
|
|
7
|
+
import { SvgChevronRight, Box } from '../../utils/index.js';
|
|
8
8
|
/**
|
|
9
9
|
* Header breadcrumbs, adds chevron between each provided items.
|
|
10
10
|
* @example
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { ButtonProps } from '../Buttons/Button.js';
|
|
3
|
-
import type { PolymorphicForwardRefComponent } from '
|
|
3
|
+
import type { PolymorphicForwardRefComponent } from '../../utils/index.js';
|
|
4
4
|
import type { DropdownButtonProps } from '../Buttons/DropdownButton.js';
|
|
5
5
|
type HeaderButtonProps = {
|
|
6
6
|
/**
|
|
@@ -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 { Box } from '
|
|
6
|
+
import { Box } from '../../utils/index.js';
|
|
7
7
|
import { HeaderSplitButton } from './HeaderSplitButton.js';
|
|
8
8
|
import { HeaderDropdownButton } from './HeaderDropdownButton.js';
|
|
9
9
|
import { HeaderBasicButton } from './HeaderBasicButton.js';
|
|
@@ -29,7 +29,7 @@ export const HeaderButton = React.forwardRef((props, ref) => {
|
|
|
29
29
|
name: htmlName,
|
|
30
30
|
...(!!menuItems && { menuItems }),
|
|
31
31
|
...rest,
|
|
32
|
-
};
|
|
32
|
+
};
|
|
33
33
|
const headerButton = !!props.menuItems && !!props.onClick ? (React.createElement(HeaderSplitButton, { ...buttonProps })) : !!props.menuItems ? (React.createElement(HeaderDropdownButton, { ...buttonProps })) : (React.createElement(HeaderBasicButton, { ...buttonProps }));
|
|
34
34
|
return (React.createElement(Box, { as: 'li', className: 'iui-header-breadcrumb-item', "aria-current": isActive ? 'location' : undefined, "aria-disabled": disabled ? 'true' : undefined }, headerButton));
|
|
35
35
|
});
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { PolymorphicForwardRefComponent } from '
|
|
1
|
+
import type { PolymorphicForwardRefComponent } from '../../utils/index.js';
|
|
2
2
|
import type { DropdownButtonProps } from '../Buttons/DropdownButton.js';
|
|
3
3
|
export declare const HeaderDropdownButton: PolymorphicForwardRefComponent<"button", DropdownButtonProps>;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import cx from 'classnames';
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import { DropdownMenu } from '../DropdownMenu/DropdownMenu.js';
|
|
8
|
-
import { useMergedRefs, SvgCaretDownSmall, SvgCaretUpSmall, } from '
|
|
8
|
+
import { useMergedRefs, SvgCaretDownSmall, SvgCaretUpSmall, } from '../../utils/index.js';
|
|
9
9
|
import { HeaderBasicButton } from './HeaderBasicButton.js';
|
|
10
10
|
export const HeaderDropdownButton = React.forwardRef((props, ref) => {
|
|
11
11
|
const { menuItems, className, children, ...rest } = props;
|