@itwin/itwinui-react 3.8.1 → 3.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +26 -0
- package/cjs/core/Alert/Alert.d.ts +7 -3
- package/cjs/core/Alert/Alert.js +1 -1
- package/cjs/core/Avatar/Avatar.d.ts +2 -2
- package/cjs/core/Avatar/Avatar.js +1 -1
- package/cjs/core/AvatarGroup/AvatarGroup.d.ts +1 -1
- package/cjs/core/AvatarGroup/AvatarGroup.js +1 -1
- package/cjs/core/Backdrop/Backdrop.d.ts +1 -1
- package/cjs/core/Backdrop/Backdrop.js +1 -1
- package/cjs/core/Badge/Badge.d.ts +2 -2
- package/cjs/core/Badge/Badge.js +1 -1
- package/cjs/core/Breadcrumbs/Breadcrumbs.d.ts +1 -1
- package/cjs/core/Breadcrumbs/Breadcrumbs.js +1 -2
- package/cjs/core/ButtonGroup/ButtonGroup.d.ts +11 -2
- package/cjs/core/ButtonGroup/ButtonGroup.js +43 -31
- package/cjs/core/Buttons/Button.d.ts +8 -2
- package/cjs/core/Buttons/Button.js +6 -3
- package/cjs/core/Buttons/DropdownButton.d.ts +1 -1
- package/cjs/core/Buttons/DropdownButton.js +1 -1
- package/cjs/core/Buttons/IconButton.d.ts +1 -1
- package/cjs/core/Buttons/IconButton.js +1 -1
- package/cjs/core/Buttons/IdeasButton.d.ts +1 -1
- package/cjs/core/Buttons/IdeasButton.js +1 -1
- package/cjs/core/Buttons/SplitButton.d.ts +1 -1
- package/cjs/core/Buttons/SplitButton.js +1 -1
- package/cjs/core/Carousel/Carousel.d.ts +5 -5
- package/cjs/core/Carousel/Carousel.js +1 -1
- package/cjs/core/Carousel/CarouselDot.d.ts +1 -1
- package/cjs/core/Carousel/CarouselDot.js +1 -1
- package/cjs/core/Carousel/CarouselDotsList.d.ts +1 -1
- package/cjs/core/Carousel/CarouselDotsList.js +1 -1
- package/cjs/core/Carousel/CarouselNavigation.d.ts +5 -5
- package/cjs/core/Carousel/CarouselNavigation.js +1 -1
- package/cjs/core/Carousel/CarouselSlide.d.ts +1 -1
- package/cjs/core/Carousel/CarouselSlide.js +1 -1
- package/cjs/core/Carousel/CarouselSlider.d.ts +1 -1
- package/cjs/core/Carousel/CarouselSlider.js +1 -1
- package/cjs/core/Checkbox/Checkbox.d.ts +1 -1
- package/cjs/core/Checkbox/Checkbox.js +1 -1
- package/cjs/core/ColorPicker/ColorBuilder.d.ts +1 -1
- package/cjs/core/ColorPicker/ColorBuilder.js +1 -1
- package/cjs/core/ColorPicker/ColorInputPanel.d.ts +1 -1
- package/cjs/core/ColorPicker/ColorInputPanel.js +1 -1
- package/cjs/core/ColorPicker/ColorPalette.d.ts +2 -2
- package/cjs/core/ColorPicker/ColorPalette.js +1 -1
- package/cjs/core/ColorPicker/ColorPicker.d.ts +2 -2
- package/cjs/core/ColorPicker/ColorPicker.js +1 -1
- package/cjs/core/ColorPicker/ColorPickerContext.d.ts +1 -1
- package/cjs/core/ColorPicker/ColorSwatch.d.ts +2 -2
- package/cjs/core/ColorPicker/ColorSwatch.js +1 -1
- package/cjs/core/ComboBox/ComboBox.d.ts +1 -1
- package/cjs/core/ComboBox/ComboBox.js +1 -1
- package/cjs/core/ComboBox/ComboBoxEndIcon.d.ts +1 -1
- package/cjs/core/ComboBox/ComboBoxEndIcon.js +1 -1
- package/cjs/core/ComboBox/ComboBoxInput.d.ts +1 -1
- package/cjs/core/ComboBox/ComboBoxInput.js +1 -1
- package/cjs/core/ComboBox/ComboBoxInputContainer.d.ts +1 -1
- package/cjs/core/ComboBox/ComboBoxInputContainer.js +1 -1
- package/cjs/core/ComboBox/ComboBoxMenu.d.ts +1 -1
- package/cjs/core/ComboBox/ComboBoxMenu.js +1 -1
- package/cjs/core/ComboBox/ComboBoxMenuItem.d.ts +1 -1
- package/cjs/core/ComboBox/ComboBoxMenuItem.js +1 -1
- package/cjs/core/ComboBox/ComboBoxMultipleContainer.d.ts +1 -1
- package/cjs/core/DatePicker/DatePicker.d.ts +1 -1
- package/cjs/core/DatePicker/DatePicker.js +1 -1
- package/cjs/core/Dialog/Dialog.d.ts +1 -1
- package/cjs/core/Dialog/Dialog.js +1 -1
- package/cjs/core/Dialog/DialogBackdrop.d.ts +1 -1
- package/cjs/core/Dialog/DialogBackdrop.js +1 -1
- package/cjs/core/Dialog/DialogButtonBar.d.ts +1 -1
- package/cjs/core/Dialog/DialogButtonBar.js +1 -1
- package/cjs/core/Dialog/DialogContent.d.ts +1 -1
- package/cjs/core/Dialog/DialogContent.js +1 -1
- package/cjs/core/Dialog/DialogContext.d.ts +1 -1
- package/cjs/core/Dialog/DialogMain.d.ts +1 -1
- package/cjs/core/Dialog/DialogMain.js +2 -5
- package/cjs/core/Dialog/DialogTitleBar.d.ts +1 -1
- package/cjs/core/Dialog/DialogTitleBar.js +1 -1
- package/cjs/core/Dialog/DialogTitleBarTitle.d.ts +1 -1
- package/cjs/core/Dialog/DialogTitleBarTitle.js +1 -1
- package/cjs/core/Divider/Divider.d.ts +1 -1
- package/cjs/core/Divider/Divider.js +1 -1
- package/cjs/core/DropdownMenu/DropdownMenu.d.ts +1 -1
- package/cjs/core/DropdownMenu/DropdownMenu.js +1 -1
- package/cjs/core/ExpandableBlock/ExpandableBlock.d.ts +4 -7
- package/cjs/core/ExpandableBlock/ExpandableBlock.js +1 -1
- package/cjs/core/Fieldset/Fieldset.d.ts +1 -1
- package/cjs/core/Fieldset/Fieldset.js +1 -1
- package/cjs/core/FileUpload/FileEmptyCard.d.ts +1 -1
- package/cjs/core/FileUpload/FileEmptyCard.js +1 -1
- package/cjs/core/FileUpload/FileUpload.d.ts +1 -1
- package/cjs/core/FileUpload/FileUpload.js +1 -1
- package/cjs/core/FileUpload/FileUploadCard.d.ts +1 -1
- package/cjs/core/FileUpload/FileUploadCard.js +1 -1
- package/cjs/core/FileUpload/FileUploadTemplate.d.ts +1 -1
- package/cjs/core/FileUpload/FileUploadTemplate.js +1 -1
- package/cjs/core/Flex/Flex.d.ts +2 -2
- package/cjs/core/Flex/Flex.js +1 -1
- package/cjs/core/Footer/Footer.d.ts +4 -4
- package/cjs/core/Footer/Footer.js +1 -1
- package/cjs/core/Footer/FooterItem.d.ts +1 -1
- package/cjs/core/Footer/FooterItem.js +1 -1
- package/cjs/core/Footer/FooterList.d.ts +1 -1
- package/cjs/core/Footer/FooterList.js +1 -1
- package/cjs/core/Footer/FooterSeparator.d.ts +1 -1
- package/cjs/core/Footer/FooterSeparator.js +1 -1
- package/cjs/core/Header/Header.d.ts +1 -1
- package/cjs/core/Header/Header.js +1 -1
- package/cjs/core/Header/HeaderBasicButton.d.ts +1 -1
- package/cjs/core/Header/HeaderBasicButton.js +1 -1
- package/cjs/core/Header/HeaderBreadcrumbs.d.ts +1 -1
- package/cjs/core/Header/HeaderBreadcrumbs.js +1 -1
- package/cjs/core/Header/HeaderButton.d.ts +1 -1
- package/cjs/core/Header/HeaderButton.js +2 -2
- package/cjs/core/Header/HeaderDropdownButton.d.ts +1 -1
- package/cjs/core/Header/HeaderDropdownButton.js +1 -1
- package/cjs/core/Header/HeaderLogo.d.ts +1 -1
- package/cjs/core/Header/HeaderLogo.js +2 -3
- package/cjs/core/Header/HeaderSplitButton.d.ts +1 -1
- package/cjs/core/Header/HeaderSplitButton.js +1 -1
- package/cjs/core/Icon/Icon.d.ts +2 -2
- package/cjs/core/Icon/Icon.js +1 -1
- package/cjs/core/InformationPanel/InformationPanel.d.ts +1 -1
- package/cjs/core/InformationPanel/InformationPanel.js +1 -1
- package/cjs/core/InformationPanel/InformationPanelBody.d.ts +1 -1
- package/cjs/core/InformationPanel/InformationPanelBody.js +1 -1
- package/cjs/core/InformationPanel/InformationPanelContent.d.ts +1 -1
- package/cjs/core/InformationPanel/InformationPanelContent.js +1 -1
- package/cjs/core/InformationPanel/InformationPanelHeader.d.ts +1 -1
- package/cjs/core/InformationPanel/InformationPanelHeader.js +1 -1
- package/cjs/core/InformationPanel/InformationPanelWrapper.d.ts +1 -1
- package/cjs/core/InformationPanel/InformationPanelWrapper.js +1 -1
- package/cjs/core/Input/Input.d.ts +1 -1
- package/cjs/core/Input/Input.js +1 -1
- package/cjs/core/InputGrid/InputGrid.d.ts +1 -1
- package/cjs/core/InputGrid/InputGrid.js +1 -1
- package/cjs/core/InputGroup/InputGroup.d.ts +1 -1
- package/cjs/core/InputGroup/InputGroup.js +2 -2
- package/cjs/core/InputWithDecorations/InputWithDecorations.d.ts +3 -3
- package/cjs/core/InputWithDecorations/InputWithDecorations.js +1 -1
- package/cjs/core/Label/Label.d.ts +1 -1
- package/cjs/core/Label/Label.js +1 -1
- package/cjs/core/LabeledInput/LabeledInput.d.ts +1 -1
- package/cjs/core/LabeledInput/LabeledInput.js +1 -1
- package/cjs/core/LabeledSelect/LabeledSelect.d.ts +6 -6
- package/cjs/core/LabeledTextarea/LabeledTextarea.d.ts +1 -1
- package/cjs/core/LinkAction/LinkAction.d.ts +1 -1
- package/cjs/core/LinkAction/LinkAction.js +2 -2
- package/cjs/core/List/List.d.ts +1 -1
- package/cjs/core/List/List.js +1 -1
- package/cjs/core/List/ListItem.d.ts +1 -1
- package/cjs/core/List/ListItem.js +1 -1
- package/cjs/core/Menu/Menu.d.ts +1 -1
- package/cjs/core/Menu/Menu.js +1 -1
- package/cjs/core/Menu/MenuDivider.d.ts +1 -1
- package/cjs/core/Menu/MenuDivider.js +1 -1
- package/cjs/core/Menu/MenuExtraContent.d.ts +1 -1
- package/cjs/core/Menu/MenuExtraContent.js +1 -1
- package/cjs/core/Menu/MenuItem.d.ts +1 -1
- package/cjs/core/Menu/MenuItem.js +1 -1
- package/cjs/core/Menu/MenuItemSkeleton.d.ts +1 -1
- package/cjs/core/Menu/MenuItemSkeleton.js +1 -1
- package/cjs/core/Modal/Modal.d.ts +1 -1
- package/cjs/core/Modal/ModalButtonBar.d.ts +1 -1
- package/cjs/core/Modal/ModalContent.d.ts +1 -1
- package/cjs/core/NonIdealState/ErrorPage.d.ts +1 -1
- package/cjs/core/NonIdealState/ErrorPage.js +3 -3
- package/cjs/core/NonIdealState/NonIdealState.d.ts +1 -1
- package/cjs/core/NonIdealState/NonIdealState.js +1 -1
- package/cjs/core/NotificationMarker/NotificationMarker.d.ts +1 -1
- package/cjs/core/NotificationMarker/NotificationMarker.js +1 -1
- package/cjs/core/Overlay/Overlay.d.ts +1 -1
- package/cjs/core/Overlay/Overlay.js +1 -1
- package/cjs/core/Popover/Popover.d.ts +2 -2
- package/cjs/core/Popover/Popover.js +2 -2
- package/cjs/core/ProgressIndicators/ProgressLinear.d.ts +1 -1
- package/cjs/core/ProgressIndicators/ProgressLinear.js +1 -1
- package/cjs/core/ProgressIndicators/ProgressRadial.d.ts +1 -1
- package/cjs/core/ProgressIndicators/ProgressRadial.js +1 -1
- package/cjs/core/Radio/Radio.d.ts +1 -1
- package/cjs/core/Radio/Radio.js +1 -1
- package/cjs/core/RadioTiles/RadioTile.d.ts +1 -1
- package/cjs/core/RadioTiles/RadioTile.js +1 -1
- package/cjs/core/RadioTiles/RadioTileGroup.d.ts +1 -1
- package/cjs/core/RadioTiles/RadioTileGroup.js +1 -1
- package/cjs/core/SearchBox/SearchBox.d.ts +1 -1
- package/cjs/core/SearchBox/SearchBox.js +1 -1
- package/cjs/core/Select/Select.d.ts +1 -1
- package/cjs/core/Select/Select.js +5 -3
- package/cjs/core/Select/SelectTag.d.ts +1 -1
- package/cjs/core/Select/SelectTag.js +1 -1
- package/cjs/core/Select/SelectTagContainer.d.ts +1 -1
- package/cjs/core/Select/SelectTagContainer.js +1 -1
- package/cjs/core/SideNavigation/SideNavigation.d.ts +1 -1
- package/cjs/core/SideNavigation/SideNavigation.js +1 -1
- package/cjs/core/SideNavigation/SidenavButton.d.ts +1 -1
- package/cjs/core/SideNavigation/SidenavSubmenu.d.ts +1 -1
- package/cjs/core/SideNavigation/SidenavSubmenu.js +1 -1
- package/cjs/core/SideNavigation/SidenavSubmenuHeader.d.ts +1 -1
- package/cjs/core/SideNavigation/SidenavSubmenuHeader.js +1 -1
- package/cjs/core/SkipToContentLink/SkipToContentLink.d.ts +1 -1
- package/cjs/core/SkipToContentLink/SkipToContentLink.js +1 -1
- package/cjs/core/Slider/Slider.d.ts +1 -1
- package/cjs/core/Slider/Slider.js +1 -1
- package/cjs/core/Slider/Thumb.js +1 -1
- package/cjs/core/Slider/Track.js +1 -1
- package/cjs/core/StatusMessage/StatusMessage.d.ts +1 -1
- package/cjs/core/StatusMessage/StatusMessage.js +1 -1
- package/cjs/core/Stepper/Stepper.d.ts +1 -1
- package/cjs/core/Stepper/Stepper.js +1 -1
- package/cjs/core/Stepper/StepperStep.d.ts +1 -1
- package/cjs/core/Stepper/StepperStep.js +1 -1
- package/cjs/core/Stepper/WorkflowDiagram.d.ts +1 -1
- package/cjs/core/Stepper/WorkflowDiagram.js +1 -1
- package/cjs/core/Stepper/WorkflowDiagramStep.d.ts +1 -1
- package/cjs/core/Stepper/WorkflowDiagramStep.js +1 -1
- package/cjs/core/Surface/Surface.d.ts +1 -1
- package/cjs/core/Surface/Surface.js +1 -1
- package/cjs/core/Table/SubRowExpander.js +1 -1
- package/cjs/core/Table/Table.d.ts +1 -1
- package/cjs/core/Table/Table.js +2 -2
- package/cjs/core/Table/TableCell.js +1 -1
- package/cjs/core/Table/TablePaginator.d.ts +1 -1
- package/cjs/core/Table/TablePaginator.js +1 -1
- package/cjs/core/Table/TableRowMemoized.js +1 -1
- package/cjs/core/Table/cells/DefaultCell.js +1 -1
- package/cjs/core/Table/cells/EditableCell.js +1 -1
- package/cjs/core/Table/columns/actionColumn.js +1 -1
- package/cjs/core/Table/columns/expanderColumn.js +1 -1
- package/cjs/core/Table/filters/BaseFilter.d.ts +1 -1
- package/cjs/core/Table/filters/BaseFilter.js +1 -1
- package/cjs/core/Table/filters/DateRangeFilter/DatePickerInput.d.ts +3 -2
- package/cjs/core/Table/filters/DateRangeFilter/DatePickerInput.js +3 -3
- package/cjs/core/Table/filters/DateRangeFilter/DateRangeFilter.d.ts +2 -1
- package/cjs/core/Table/filters/DateRangeFilter/DateRangeFilter.js +4 -4
- package/cjs/core/Table/filters/FilterButtonBar.d.ts +1 -1
- package/cjs/core/Table/filters/FilterButtonBar.js +1 -1
- package/cjs/core/Table/filters/FilterToggle.d.ts +1 -1
- package/cjs/core/Table/filters/FilterToggle.js +1 -1
- package/cjs/core/Table/filters/NumberRangeFilter/NumberRangeFilter.js +1 -1
- package/cjs/core/Table/filters/TextFilter/TextFilter.js +1 -1
- package/cjs/core/Table/filters/tableFilters.d.ts +2 -1
- package/cjs/core/Tabs/Tabs.d.ts +3 -3
- package/cjs/core/Tabs/Tabs.js +1 -1
- package/cjs/core/Tag/Tag.d.ts +1 -1
- package/cjs/core/Tag/Tag.js +2 -4
- package/cjs/core/Tag/TagContainer.d.ts +1 -1
- package/cjs/core/Tag/TagContainer.js +1 -1
- package/cjs/core/Textarea/Textarea.d.ts +1 -1
- package/cjs/core/ThemeProvider/ThemeProvider.d.ts +1 -1
- package/cjs/core/ThemeProvider/ThemeProvider.js +1 -1
- package/cjs/core/Tile/Tile.d.ts +3 -3
- package/cjs/core/Tile/Tile.js +1 -1
- package/cjs/core/TimePicker/TimePicker.d.ts +1 -1
- package/cjs/core/TimePicker/TimePicker.js +1 -1
- package/cjs/core/Toast/Toast.d.ts +1 -1
- package/cjs/core/Toast/Toast.js +1 -1
- package/cjs/core/Toast/Toaster.js +1 -1
- package/cjs/core/ToggleSwitch/ToggleSwitch.d.ts +1 -1
- package/cjs/core/ToggleSwitch/ToggleSwitch.js +1 -1
- package/cjs/core/Tooltip/Tooltip.d.ts +1 -1
- package/cjs/core/Tooltip/Tooltip.js +1 -2
- package/cjs/core/TransferList/TransferList.d.ts +1 -1
- package/cjs/core/TransferList/TransferList.js +1 -1
- package/cjs/core/Tree/Tree.d.ts +1 -1
- package/cjs/core/Tree/Tree.js +1 -1
- package/cjs/core/Tree/TreeNode.d.ts +1 -1
- package/cjs/core/Tree/TreeNode.js +1 -1
- package/cjs/core/Tree/TreeNodeExpander.d.ts +1 -1
- package/cjs/core/Tree/TreeNodeExpander.js +1 -1
- package/cjs/core/Typography/Anchor.d.ts +1 -1
- package/cjs/core/Typography/Anchor.js +4 -2
- package/cjs/core/Typography/Blockquote.d.ts +1 -1
- package/cjs/core/Typography/Blockquote.js +1 -1
- package/cjs/core/Typography/Code.d.ts +1 -1
- package/cjs/core/Typography/Code.js +1 -1
- package/cjs/core/Typography/Kbd.d.ts +1 -1
- package/cjs/core/Typography/Kbd.js +1 -1
- package/cjs/core/Typography/Text.d.ts +3 -1
- package/cjs/core/Typography/Text.js +12 -8
- package/cjs/core/VisuallyHidden/VisuallyHidden.d.ts +1 -1
- package/cjs/core/VisuallyHidden/VisuallyHidden.js +1 -1
- package/cjs/index.d.ts +1 -1
- package/cjs/index.js +1 -1
- package/cjs/react-table/react-table.js +0 -1
- package/cjs/{core/utils → utils}/components/AutoclearingHiddenLiveRegion.js +1 -1
- package/cjs/{core/utils → utils}/components/InputContainer.js +2 -2
- package/{esm/core → cjs}/utils/components/InputFlexContainer.d.ts +2 -2
- package/cjs/{core/utils → utils}/components/InputFlexContainer.js +2 -2
- package/cjs/{core/utils → utils}/components/Portal.js +1 -1
- package/cjs/{core/utils → utils}/components/WithCSSTransition.js +1 -1
- package/cjs/{core/utils → utils}/functions/dev.js +2 -2
- package/cjs/{core/utils → utils}/functions/polymorphic.js +1 -2
- package/cjs/{core/utils → utils}/functions/react.js +0 -1
- package/{esm/core → cjs}/utils/hooks/useGlobals.d.ts +3 -3
- package/cjs/{core/utils → utils}/hooks/useGlobals.js +1 -1
- package/esm/core/Alert/Alert.d.ts +7 -3
- package/esm/core/Alert/Alert.js +1 -1
- package/esm/core/Avatar/Avatar.d.ts +2 -2
- package/esm/core/Avatar/Avatar.js +1 -1
- package/esm/core/AvatarGroup/AvatarGroup.d.ts +1 -1
- package/esm/core/AvatarGroup/AvatarGroup.js +1 -1
- package/esm/core/Backdrop/Backdrop.d.ts +1 -1
- package/esm/core/Backdrop/Backdrop.js +1 -1
- package/esm/core/Badge/Badge.d.ts +2 -2
- package/esm/core/Badge/Badge.js +1 -1
- package/esm/core/Breadcrumbs/Breadcrumbs.d.ts +1 -1
- package/esm/core/Breadcrumbs/Breadcrumbs.js +1 -2
- package/esm/core/ButtonGroup/ButtonGroup.d.ts +11 -2
- package/esm/core/ButtonGroup/ButtonGroup.js +44 -32
- package/esm/core/Buttons/Button.d.ts +8 -2
- package/esm/core/Buttons/Button.js +6 -3
- package/esm/core/Buttons/DropdownButton.d.ts +1 -1
- package/esm/core/Buttons/DropdownButton.js +1 -1
- package/esm/core/Buttons/IconButton.d.ts +1 -1
- package/esm/core/Buttons/IconButton.js +1 -1
- package/esm/core/Buttons/IdeasButton.d.ts +1 -1
- package/esm/core/Buttons/IdeasButton.js +1 -1
- package/esm/core/Buttons/SplitButton.d.ts +1 -1
- package/esm/core/Buttons/SplitButton.js +1 -1
- package/esm/core/Carousel/Carousel.d.ts +5 -5
- package/esm/core/Carousel/Carousel.js +1 -1
- package/esm/core/Carousel/CarouselDot.d.ts +1 -1
- package/esm/core/Carousel/CarouselDot.js +1 -1
- package/esm/core/Carousel/CarouselDotsList.d.ts +1 -1
- package/esm/core/Carousel/CarouselDotsList.js +1 -1
- package/esm/core/Carousel/CarouselNavigation.d.ts +5 -5
- package/esm/core/Carousel/CarouselNavigation.js +1 -1
- package/esm/core/Carousel/CarouselSlide.d.ts +1 -1
- package/esm/core/Carousel/CarouselSlide.js +1 -1
- package/esm/core/Carousel/CarouselSlider.d.ts +1 -1
- package/esm/core/Carousel/CarouselSlider.js +1 -1
- package/esm/core/Checkbox/Checkbox.d.ts +1 -1
- package/esm/core/Checkbox/Checkbox.js +1 -1
- package/esm/core/ColorPicker/ColorBuilder.d.ts +1 -1
- package/esm/core/ColorPicker/ColorBuilder.js +1 -1
- package/esm/core/ColorPicker/ColorInputPanel.d.ts +1 -1
- package/esm/core/ColorPicker/ColorInputPanel.js +1 -1
- package/esm/core/ColorPicker/ColorPalette.d.ts +2 -2
- package/esm/core/ColorPicker/ColorPalette.js +1 -1
- package/esm/core/ColorPicker/ColorPicker.d.ts +2 -2
- package/esm/core/ColorPicker/ColorPicker.js +1 -1
- package/esm/core/ColorPicker/ColorPickerContext.d.ts +1 -1
- package/esm/core/ColorPicker/ColorSwatch.d.ts +2 -2
- package/esm/core/ColorPicker/ColorSwatch.js +1 -1
- package/esm/core/ComboBox/ComboBox.d.ts +1 -1
- package/esm/core/ComboBox/ComboBox.js +1 -1
- package/esm/core/ComboBox/ComboBoxEndIcon.d.ts +1 -1
- package/esm/core/ComboBox/ComboBoxEndIcon.js +1 -1
- package/esm/core/ComboBox/ComboBoxInput.d.ts +1 -1
- package/esm/core/ComboBox/ComboBoxInput.js +1 -1
- package/esm/core/ComboBox/ComboBoxInputContainer.d.ts +1 -1
- package/esm/core/ComboBox/ComboBoxInputContainer.js +1 -1
- package/esm/core/ComboBox/ComboBoxMenu.d.ts +1 -1
- package/esm/core/ComboBox/ComboBoxMenu.js +1 -1
- package/esm/core/ComboBox/ComboBoxMenuItem.d.ts +1 -1
- package/esm/core/ComboBox/ComboBoxMenuItem.js +1 -1
- package/esm/core/ComboBox/ComboBoxMultipleContainer.d.ts +1 -1
- package/esm/core/DatePicker/DatePicker.d.ts +1 -1
- package/esm/core/DatePicker/DatePicker.js +1 -1
- package/esm/core/Dialog/Dialog.d.ts +1 -1
- package/esm/core/Dialog/Dialog.js +1 -1
- package/esm/core/Dialog/DialogBackdrop.d.ts +1 -1
- package/esm/core/Dialog/DialogBackdrop.js +1 -1
- package/esm/core/Dialog/DialogButtonBar.d.ts +1 -1
- package/esm/core/Dialog/DialogButtonBar.js +1 -1
- package/esm/core/Dialog/DialogContent.d.ts +1 -1
- package/esm/core/Dialog/DialogContent.js +1 -1
- package/esm/core/Dialog/DialogContext.d.ts +1 -1
- package/esm/core/Dialog/DialogMain.d.ts +1 -1
- package/esm/core/Dialog/DialogMain.js +2 -5
- package/esm/core/Dialog/DialogTitleBar.d.ts +1 -1
- package/esm/core/Dialog/DialogTitleBar.js +1 -1
- package/esm/core/Dialog/DialogTitleBarTitle.d.ts +1 -1
- package/esm/core/Dialog/DialogTitleBarTitle.js +1 -1
- package/esm/core/Divider/Divider.d.ts +1 -1
- package/esm/core/Divider/Divider.js +1 -1
- package/esm/core/DropdownMenu/DropdownMenu.d.ts +1 -1
- package/esm/core/DropdownMenu/DropdownMenu.js +1 -1
- package/esm/core/ExpandableBlock/ExpandableBlock.d.ts +4 -7
- package/esm/core/ExpandableBlock/ExpandableBlock.js +1 -1
- package/esm/core/Fieldset/Fieldset.d.ts +1 -1
- package/esm/core/Fieldset/Fieldset.js +1 -1
- package/esm/core/FileUpload/FileEmptyCard.d.ts +1 -1
- package/esm/core/FileUpload/FileEmptyCard.js +1 -1
- package/esm/core/FileUpload/FileUpload.d.ts +1 -1
- package/esm/core/FileUpload/FileUpload.js +1 -1
- package/esm/core/FileUpload/FileUploadCard.d.ts +1 -1
- package/esm/core/FileUpload/FileUploadCard.js +1 -1
- package/esm/core/FileUpload/FileUploadTemplate.d.ts +1 -1
- package/esm/core/FileUpload/FileUploadTemplate.js +1 -1
- package/esm/core/Flex/Flex.d.ts +2 -2
- package/esm/core/Flex/Flex.js +1 -1
- package/esm/core/Footer/Footer.d.ts +4 -4
- package/esm/core/Footer/Footer.js +1 -1
- package/esm/core/Footer/FooterItem.d.ts +1 -1
- package/esm/core/Footer/FooterItem.js +1 -1
- package/esm/core/Footer/FooterList.d.ts +1 -1
- package/esm/core/Footer/FooterList.js +1 -1
- package/esm/core/Footer/FooterSeparator.d.ts +1 -1
- package/esm/core/Footer/FooterSeparator.js +1 -1
- package/esm/core/Header/Header.d.ts +1 -1
- package/esm/core/Header/Header.js +1 -1
- package/esm/core/Header/HeaderBasicButton.d.ts +1 -1
- package/esm/core/Header/HeaderBasicButton.js +1 -1
- package/esm/core/Header/HeaderBreadcrumbs.d.ts +1 -1
- package/esm/core/Header/HeaderBreadcrumbs.js +1 -1
- package/esm/core/Header/HeaderButton.d.ts +1 -1
- package/esm/core/Header/HeaderButton.js +2 -2
- package/esm/core/Header/HeaderDropdownButton.d.ts +1 -1
- package/esm/core/Header/HeaderDropdownButton.js +1 -1
- package/esm/core/Header/HeaderLogo.d.ts +1 -1
- package/esm/core/Header/HeaderLogo.js +2 -3
- package/esm/core/Header/HeaderSplitButton.d.ts +1 -1
- package/esm/core/Header/HeaderSplitButton.js +1 -1
- package/esm/core/Icon/Icon.d.ts +2 -2
- package/esm/core/Icon/Icon.js +1 -1
- package/esm/core/InformationPanel/InformationPanel.d.ts +1 -1
- package/esm/core/InformationPanel/InformationPanel.js +1 -1
- package/esm/core/InformationPanel/InformationPanelBody.d.ts +1 -1
- package/esm/core/InformationPanel/InformationPanelBody.js +1 -1
- package/esm/core/InformationPanel/InformationPanelContent.d.ts +1 -1
- package/esm/core/InformationPanel/InformationPanelContent.js +1 -1
- package/esm/core/InformationPanel/InformationPanelHeader.d.ts +1 -1
- package/esm/core/InformationPanel/InformationPanelHeader.js +1 -1
- package/esm/core/InformationPanel/InformationPanelWrapper.d.ts +1 -1
- package/esm/core/InformationPanel/InformationPanelWrapper.js +1 -1
- package/esm/core/Input/Input.d.ts +1 -1
- package/esm/core/Input/Input.js +1 -1
- package/esm/core/InputGrid/InputGrid.d.ts +1 -1
- package/esm/core/InputGrid/InputGrid.js +1 -1
- package/esm/core/InputGroup/InputGroup.d.ts +1 -1
- package/esm/core/InputGroup/InputGroup.js +2 -2
- package/esm/core/InputWithDecorations/InputWithDecorations.d.ts +3 -3
- package/esm/core/InputWithDecorations/InputWithDecorations.js +1 -1
- package/esm/core/Label/Label.d.ts +1 -1
- package/esm/core/Label/Label.js +1 -1
- package/esm/core/LabeledInput/LabeledInput.d.ts +1 -1
- package/esm/core/LabeledInput/LabeledInput.js +1 -1
- package/esm/core/LabeledSelect/LabeledSelect.d.ts +6 -6
- package/esm/core/LabeledTextarea/LabeledTextarea.d.ts +1 -1
- package/esm/core/LinkAction/LinkAction.d.ts +1 -1
- package/esm/core/LinkAction/LinkAction.js +2 -2
- package/esm/core/List/List.d.ts +1 -1
- package/esm/core/List/List.js +1 -1
- package/esm/core/List/ListItem.d.ts +1 -1
- package/esm/core/List/ListItem.js +1 -1
- package/esm/core/Menu/Menu.d.ts +1 -1
- package/esm/core/Menu/Menu.js +1 -1
- package/esm/core/Menu/MenuDivider.d.ts +1 -1
- package/esm/core/Menu/MenuDivider.js +1 -1
- package/esm/core/Menu/MenuExtraContent.d.ts +1 -1
- package/esm/core/Menu/MenuExtraContent.js +1 -1
- package/esm/core/Menu/MenuItem.d.ts +1 -1
- package/esm/core/Menu/MenuItem.js +1 -1
- package/esm/core/Menu/MenuItemSkeleton.d.ts +1 -1
- package/esm/core/Menu/MenuItemSkeleton.js +1 -1
- package/esm/core/Modal/Modal.d.ts +1 -1
- package/esm/core/Modal/ModalButtonBar.d.ts +1 -1
- package/esm/core/Modal/ModalContent.d.ts +1 -1
- package/esm/core/NonIdealState/ErrorPage.d.ts +1 -1
- package/esm/core/NonIdealState/ErrorPage.js +3 -3
- package/esm/core/NonIdealState/NonIdealState.d.ts +1 -1
- package/esm/core/NonIdealState/NonIdealState.js +1 -1
- package/esm/core/NotificationMarker/NotificationMarker.d.ts +1 -1
- package/esm/core/NotificationMarker/NotificationMarker.js +1 -1
- package/esm/core/Overlay/Overlay.d.ts +1 -1
- package/esm/core/Overlay/Overlay.js +1 -1
- package/esm/core/Popover/Popover.d.ts +2 -2
- package/esm/core/Popover/Popover.js +2 -2
- package/esm/core/ProgressIndicators/ProgressLinear.d.ts +1 -1
- package/esm/core/ProgressIndicators/ProgressLinear.js +1 -1
- package/esm/core/ProgressIndicators/ProgressRadial.d.ts +1 -1
- package/esm/core/ProgressIndicators/ProgressRadial.js +1 -1
- package/esm/core/Radio/Radio.d.ts +1 -1
- package/esm/core/Radio/Radio.js +1 -1
- package/esm/core/RadioTiles/RadioTile.d.ts +1 -1
- package/esm/core/RadioTiles/RadioTile.js +1 -1
- package/esm/core/RadioTiles/RadioTileGroup.d.ts +1 -1
- package/esm/core/RadioTiles/RadioTileGroup.js +1 -1
- package/esm/core/SearchBox/SearchBox.d.ts +1 -1
- package/esm/core/SearchBox/SearchBox.js +1 -1
- package/esm/core/Select/Select.d.ts +1 -1
- package/esm/core/Select/Select.js +5 -3
- package/esm/core/Select/SelectTag.d.ts +1 -1
- package/esm/core/Select/SelectTag.js +1 -1
- package/esm/core/Select/SelectTagContainer.d.ts +1 -1
- package/esm/core/Select/SelectTagContainer.js +1 -1
- package/esm/core/SideNavigation/SideNavigation.d.ts +1 -1
- package/esm/core/SideNavigation/SideNavigation.js +1 -1
- package/esm/core/SideNavigation/SidenavButton.d.ts +1 -1
- package/esm/core/SideNavigation/SidenavSubmenu.d.ts +1 -1
- package/esm/core/SideNavigation/SidenavSubmenu.js +1 -1
- package/esm/core/SideNavigation/SidenavSubmenuHeader.d.ts +1 -1
- package/esm/core/SideNavigation/SidenavSubmenuHeader.js +1 -1
- package/esm/core/SkipToContentLink/SkipToContentLink.d.ts +1 -1
- package/esm/core/SkipToContentLink/SkipToContentLink.js +1 -1
- package/esm/core/Slider/Slider.d.ts +1 -1
- package/esm/core/Slider/Slider.js +1 -1
- package/esm/core/Slider/Thumb.js +1 -1
- package/esm/core/Slider/Track.js +1 -1
- package/esm/core/StatusMessage/StatusMessage.d.ts +1 -1
- package/esm/core/StatusMessage/StatusMessage.js +1 -1
- package/esm/core/Stepper/Stepper.d.ts +1 -1
- package/esm/core/Stepper/Stepper.js +1 -1
- package/esm/core/Stepper/StepperStep.d.ts +1 -1
- package/esm/core/Stepper/StepperStep.js +1 -1
- package/esm/core/Stepper/WorkflowDiagram.d.ts +1 -1
- package/esm/core/Stepper/WorkflowDiagram.js +1 -1
- package/esm/core/Stepper/WorkflowDiagramStep.d.ts +1 -1
- package/esm/core/Stepper/WorkflowDiagramStep.js +1 -1
- package/esm/core/Surface/Surface.d.ts +1 -1
- package/esm/core/Surface/Surface.js +1 -1
- package/esm/core/Table/SubRowExpander.js +1 -1
- package/esm/core/Table/Table.d.ts +1 -1
- package/esm/core/Table/Table.js +2 -2
- package/esm/core/Table/TableCell.js +1 -1
- package/esm/core/Table/TablePaginator.d.ts +1 -1
- package/esm/core/Table/TablePaginator.js +1 -1
- package/esm/core/Table/TableRowMemoized.js +1 -1
- package/esm/core/Table/cells/DefaultCell.js +1 -1
- package/esm/core/Table/cells/EditableCell.js +1 -1
- package/esm/core/Table/columns/actionColumn.js +1 -1
- package/esm/core/Table/columns/expanderColumn.js +1 -1
- package/esm/core/Table/filters/BaseFilter.d.ts +1 -1
- package/esm/core/Table/filters/BaseFilter.js +1 -1
- package/esm/core/Table/filters/DateRangeFilter/DatePickerInput.d.ts +3 -2
- package/esm/core/Table/filters/DateRangeFilter/DatePickerInput.js +3 -3
- package/esm/core/Table/filters/DateRangeFilter/DateRangeFilter.d.ts +2 -1
- package/esm/core/Table/filters/DateRangeFilter/DateRangeFilter.js +4 -4
- package/esm/core/Table/filters/FilterButtonBar.d.ts +1 -1
- package/esm/core/Table/filters/FilterButtonBar.js +1 -1
- package/esm/core/Table/filters/FilterToggle.d.ts +1 -1
- package/esm/core/Table/filters/FilterToggle.js +1 -1
- package/esm/core/Table/filters/NumberRangeFilter/NumberRangeFilter.js +1 -1
- package/esm/core/Table/filters/TextFilter/TextFilter.js +1 -1
- package/esm/core/Table/filters/tableFilters.d.ts +2 -1
- package/esm/core/Tabs/Tabs.d.ts +3 -3
- package/esm/core/Tabs/Tabs.js +1 -1
- package/esm/core/Tag/Tag.d.ts +1 -1
- package/esm/core/Tag/Tag.js +2 -4
- package/esm/core/Tag/TagContainer.d.ts +1 -1
- package/esm/core/Tag/TagContainer.js +1 -1
- package/esm/core/Textarea/Textarea.d.ts +1 -1
- package/esm/core/ThemeProvider/ThemeProvider.d.ts +1 -1
- package/esm/core/ThemeProvider/ThemeProvider.js +1 -1
- package/esm/core/Tile/Tile.d.ts +3 -3
- package/esm/core/Tile/Tile.js +1 -1
- package/esm/core/TimePicker/TimePicker.d.ts +1 -1
- package/esm/core/TimePicker/TimePicker.js +1 -1
- package/esm/core/Toast/Toast.d.ts +1 -1
- package/esm/core/Toast/Toast.js +1 -1
- package/esm/core/Toast/Toaster.js +1 -1
- package/esm/core/ToggleSwitch/ToggleSwitch.d.ts +1 -1
- package/esm/core/ToggleSwitch/ToggleSwitch.js +1 -1
- package/esm/core/Tooltip/Tooltip.d.ts +1 -1
- package/esm/core/Tooltip/Tooltip.js +1 -2
- package/esm/core/TransferList/TransferList.d.ts +1 -1
- package/esm/core/TransferList/TransferList.js +1 -1
- package/esm/core/Tree/Tree.d.ts +1 -1
- package/esm/core/Tree/Tree.js +1 -1
- package/esm/core/Tree/TreeNode.d.ts +1 -1
- package/esm/core/Tree/TreeNode.js +1 -1
- package/esm/core/Tree/TreeNodeExpander.d.ts +1 -1
- package/esm/core/Tree/TreeNodeExpander.js +1 -1
- package/esm/core/Typography/Anchor.d.ts +1 -1
- package/esm/core/Typography/Anchor.js +4 -2
- package/esm/core/Typography/Blockquote.d.ts +1 -1
- package/esm/core/Typography/Blockquote.js +1 -1
- package/esm/core/Typography/Code.d.ts +1 -1
- package/esm/core/Typography/Code.js +1 -1
- package/esm/core/Typography/Kbd.d.ts +1 -1
- package/esm/core/Typography/Kbd.js +1 -1
- package/esm/core/Typography/Text.d.ts +3 -1
- package/esm/core/Typography/Text.js +11 -7
- package/esm/core/VisuallyHidden/VisuallyHidden.d.ts +1 -1
- package/esm/core/VisuallyHidden/VisuallyHidden.js +1 -1
- package/esm/index.d.ts +1 -1
- package/esm/index.js +1 -1
- package/esm/react-table/react-table.js +0 -1
- package/esm/{core/utils → utils}/components/AutoclearingHiddenLiveRegion.js +1 -1
- package/esm/{core/utils → utils}/components/InputContainer.js +2 -2
- package/{cjs/core → esm}/utils/components/InputFlexContainer.d.ts +2 -2
- package/esm/{core/utils → utils}/components/InputFlexContainer.js +2 -2
- package/esm/{core/utils → utils}/components/Portal.js +1 -1
- package/esm/{core/utils → utils}/components/WithCSSTransition.js +1 -1
- package/esm/{core/utils → utils}/functions/dev.js +2 -2
- package/esm/{core/utils → utils}/functions/polymorphic.js +1 -2
- package/esm/{core/utils → utils}/functions/react.js +0 -1
- package/{cjs/core → esm}/utils/hooks/useGlobals.d.ts +3 -3
- package/esm/{core/utils → utils}/hooks/useGlobals.js +1 -1
- package/package.json +2 -2
- package/styles.css +9 -1
- /package/cjs/{core/utils → utils}/color/ColorValue.d.ts +0 -0
- /package/cjs/{core/utils → utils}/color/ColorValue.js +0 -0
- /package/cjs/{core/utils → utils}/color/index.d.ts +0 -0
- /package/cjs/{core/utils → utils}/color/index.js +0 -0
- /package/cjs/{core/utils → utils}/components/AutoclearingHiddenLiveRegion.d.ts +0 -0
- /package/cjs/{core/utils → utils}/components/Box.d.ts +0 -0
- /package/cjs/{core/utils → utils}/components/Box.js +0 -0
- /package/cjs/{core/utils → utils}/components/ButtonBase.d.ts +0 -0
- /package/cjs/{core/utils → utils}/components/ButtonBase.js +0 -0
- /package/cjs/{core/utils → utils}/components/FocusTrap.d.ts +0 -0
- /package/cjs/{core/utils → utils}/components/FocusTrap.js +0 -0
- /package/cjs/{core/utils → utils}/components/InputContainer.d.ts +0 -0
- /package/cjs/{core/utils → utils}/components/InputWithIcon.d.ts +0 -0
- /package/cjs/{core/utils → utils}/components/InputWithIcon.js +0 -0
- /package/cjs/{core/utils → utils}/components/LineClamp.d.ts +0 -0
- /package/cjs/{core/utils → utils}/components/LineClamp.js +0 -0
- /package/cjs/{core/utils → utils}/components/MiddleTextTruncation.d.ts +0 -0
- /package/cjs/{core/utils → utils}/components/MiddleTextTruncation.js +0 -0
- /package/cjs/{core/utils → utils}/components/Portal.d.ts +0 -0
- /package/cjs/{core/utils → utils}/components/Resizer.d.ts +0 -0
- /package/cjs/{core/utils → utils}/components/Resizer.js +0 -0
- /package/cjs/{core/utils → utils}/components/ShadowRoot.d.ts +0 -0
- /package/cjs/{core/utils → utils}/components/ShadowRoot.js +0 -0
- /package/cjs/{core/utils → utils}/components/VirtualScroll.d.ts +0 -0
- /package/cjs/{core/utils → utils}/components/VirtualScroll.js +0 -0
- /package/cjs/{core/utils → utils}/components/WithCSSTransition.d.ts +0 -0
- /package/cjs/{core/utils → utils}/components/index.d.ts +0 -0
- /package/cjs/{core/utils → utils}/components/index.js +0 -0
- /package/cjs/{core/utils → utils}/functions/colors.d.ts +0 -0
- /package/cjs/{core/utils → utils}/functions/colors.js +0 -0
- /package/cjs/{core/utils → utils}/functions/date.d.ts +0 -0
- /package/cjs/{core/utils → utils}/functions/date.js +0 -0
- /package/cjs/{core/utils → utils}/functions/dev.d.ts +0 -0
- /package/cjs/{core/utils → utils}/functions/dom.d.ts +0 -0
- /package/cjs/{core/utils → utils}/functions/dom.js +0 -0
- /package/cjs/{core/utils → utils}/functions/focusable.d.ts +0 -0
- /package/cjs/{core/utils → utils}/functions/focusable.js +0 -0
- /package/cjs/{core/utils → utils}/functions/import.d.ts +0 -0
- /package/cjs/{core/utils → utils}/functions/import.js +0 -0
- /package/cjs/{core/utils → utils}/functions/index.d.ts +0 -0
- /package/cjs/{core/utils → utils}/functions/index.js +0 -0
- /package/cjs/{core/utils → utils}/functions/numbers.d.ts +0 -0
- /package/cjs/{core/utils → utils}/functions/numbers.js +0 -0
- /package/cjs/{core/utils → utils}/functions/polymorphic.d.ts +0 -0
- /package/cjs/{core/utils → utils}/functions/react.d.ts +0 -0
- /package/cjs/{core/utils → utils}/functions/supports.d.ts +0 -0
- /package/cjs/{core/utils → utils}/functions/supports.js +0 -0
- /package/cjs/{core/utils → utils}/hooks/index.d.ts +0 -0
- /package/cjs/{core/utils → utils}/hooks/index.js +0 -0
- /package/cjs/{core/utils → utils}/hooks/useContainerWidth.d.ts +0 -0
- /package/cjs/{core/utils → utils}/hooks/useContainerWidth.js +0 -0
- /package/cjs/{core/utils → utils}/hooks/useControlledState.d.ts +0 -0
- /package/cjs/{core/utils → utils}/hooks/useControlledState.js +0 -0
- /package/cjs/{core/utils → utils}/hooks/useDragAndDrop.d.ts +0 -0
- /package/cjs/{core/utils → utils}/hooks/useDragAndDrop.js +0 -0
- /package/cjs/{core/utils → utils}/hooks/useEventListener.d.ts +0 -0
- /package/cjs/{core/utils → utils}/hooks/useEventListener.js +0 -0
- /package/cjs/{core/utils → utils}/hooks/useId.d.ts +0 -0
- /package/cjs/{core/utils → utils}/hooks/useId.js +0 -0
- /package/cjs/{core/utils → utils}/hooks/useIntersection.d.ts +0 -0
- /package/cjs/{core/utils → utils}/hooks/useIntersection.js +0 -0
- /package/cjs/{core/utils → utils}/hooks/useIsClient.d.ts +0 -0
- /package/cjs/{core/utils → utils}/hooks/useIsClient.js +0 -0
- /package/cjs/{core/utils → utils}/hooks/useIsomorphicLayoutEffect.d.ts +0 -0
- /package/cjs/{core/utils → utils}/hooks/useIsomorphicLayoutEffect.js +0 -0
- /package/cjs/{core/utils → utils}/hooks/useLatestRef.d.ts +0 -0
- /package/cjs/{core/utils → utils}/hooks/useLatestRef.js +0 -0
- /package/cjs/{core/utils → utils}/hooks/useMediaQuery.d.ts +0 -0
- /package/cjs/{core/utils → utils}/hooks/useMediaQuery.js +0 -0
- /package/cjs/{core/utils → utils}/hooks/useMergedRefs.d.ts +0 -0
- /package/cjs/{core/utils → utils}/hooks/useMergedRefs.js +0 -0
- /package/cjs/{core/utils → utils}/hooks/useOverflow.d.ts +0 -0
- /package/cjs/{core/utils → utils}/hooks/useOverflow.js +0 -0
- /package/cjs/{core/utils → utils}/hooks/useResizeObserver.d.ts +0 -0
- /package/cjs/{core/utils → utils}/hooks/useResizeObserver.js +0 -0
- /package/cjs/{core/utils → utils}/hooks/useSafeContext.d.ts +0 -0
- /package/cjs/{core/utils → utils}/hooks/useSafeContext.js +0 -0
- /package/cjs/{core/utils → utils}/hooks/useSyncExternalStore.d.ts +0 -0
- /package/cjs/{core/utils → utils}/hooks/useSyncExternalStore.js +0 -0
- /package/cjs/{core/utils → utils}/icons/StatusIconMap.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/StatusIconMap.js +0 -0
- /package/cjs/{core/utils → utils}/icons/Svg.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/Svg.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgCalendar.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgCalendar.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgCaretDownSmall.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgCaretDownSmall.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgCaretRightSmall.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgCaretRightSmall.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgCaretUpSmall.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgCaretUpSmall.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgCheckmark.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgCheckmark.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgCheckmarkSmall.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgCheckmarkSmall.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgChevronLeft.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgChevronLeft.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgChevronLeftDouble.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgChevronLeftDouble.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgChevronRight.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgChevronRight.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgChevronRightDouble.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgChevronRightDouble.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgChevronRightSmall.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgChevronRightSmall.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgClose.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgClose.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgCloseSmall.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgCloseSmall.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgColumnManager.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgColumnManager.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgDocument.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgDocument.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgFilter.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgFilter.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgFilterHollow.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgFilterHollow.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgImportantSmall.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgImportantSmall.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgInfoCircular.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgInfoCircular.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgMore.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgMore.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgMoreVertical.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgMoreVertical.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgNew.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgNew.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgSearch.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgSearch.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgSmileyHappy.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgSmileyHappy.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgSortDown.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgSortDown.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgSortUp.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgSortUp.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgStatusError.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgStatusError.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgStatusSuccess.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgStatusSuccess.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgStatusWarning.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgStatusWarning.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgSwap.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgSwap.js +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgUpload.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/SvgUpload.js +0 -0
- /package/cjs/{core/utils → utils}/icons/index.d.ts +0 -0
- /package/cjs/{core/utils → utils}/icons/index.js +0 -0
- /package/cjs/{core/utils → utils}/index.d.ts +0 -0
- /package/cjs/{core/utils → utils}/index.js +0 -0
- /package/cjs/{core/utils → utils}/props.d.ts +0 -0
- /package/cjs/{core/utils → utils}/props.js +0 -0
- /package/cjs/{core/utils → utils}/providers/HydrationProvider.d.ts +0 -0
- /package/cjs/{core/utils → utils}/providers/HydrationProvider.js +0 -0
- /package/cjs/{core/utils → utils}/providers/index.d.ts +0 -0
- /package/cjs/{core/utils → utils}/providers/index.js +0 -0
- /package/cjs/{core/utils → utils}/types.d.ts +0 -0
- /package/cjs/{core/utils → utils}/types.js +0 -0
- /package/esm/{core/utils → utils}/color/ColorValue.d.ts +0 -0
- /package/esm/{core/utils → utils}/color/ColorValue.js +0 -0
- /package/esm/{core/utils → utils}/color/index.d.ts +0 -0
- /package/esm/{core/utils → utils}/color/index.js +0 -0
- /package/esm/{core/utils → utils}/components/AutoclearingHiddenLiveRegion.d.ts +0 -0
- /package/esm/{core/utils → utils}/components/Box.d.ts +0 -0
- /package/esm/{core/utils → utils}/components/Box.js +0 -0
- /package/esm/{core/utils → utils}/components/ButtonBase.d.ts +0 -0
- /package/esm/{core/utils → utils}/components/ButtonBase.js +0 -0
- /package/esm/{core/utils → utils}/components/FocusTrap.d.ts +0 -0
- /package/esm/{core/utils → utils}/components/FocusTrap.js +0 -0
- /package/esm/{core/utils → utils}/components/InputContainer.d.ts +0 -0
- /package/esm/{core/utils → utils}/components/InputWithIcon.d.ts +0 -0
- /package/esm/{core/utils → utils}/components/InputWithIcon.js +0 -0
- /package/esm/{core/utils → utils}/components/LineClamp.d.ts +0 -0
- /package/esm/{core/utils → utils}/components/LineClamp.js +0 -0
- /package/esm/{core/utils → utils}/components/MiddleTextTruncation.d.ts +0 -0
- /package/esm/{core/utils → utils}/components/MiddleTextTruncation.js +0 -0
- /package/esm/{core/utils → utils}/components/Portal.d.ts +0 -0
- /package/esm/{core/utils → utils}/components/Resizer.d.ts +0 -0
- /package/esm/{core/utils → utils}/components/Resizer.js +0 -0
- /package/esm/{core/utils → utils}/components/ShadowRoot.d.ts +0 -0
- /package/esm/{core/utils → utils}/components/ShadowRoot.js +0 -0
- /package/esm/{core/utils → utils}/components/VirtualScroll.d.ts +0 -0
- /package/esm/{core/utils → utils}/components/VirtualScroll.js +0 -0
- /package/esm/{core/utils → utils}/components/WithCSSTransition.d.ts +0 -0
- /package/esm/{core/utils → utils}/components/index.d.ts +0 -0
- /package/esm/{core/utils → utils}/components/index.js +0 -0
- /package/esm/{core/utils → utils}/functions/colors.d.ts +0 -0
- /package/esm/{core/utils → utils}/functions/colors.js +0 -0
- /package/esm/{core/utils → utils}/functions/date.d.ts +0 -0
- /package/esm/{core/utils → utils}/functions/date.js +0 -0
- /package/esm/{core/utils → utils}/functions/dev.d.ts +0 -0
- /package/esm/{core/utils → utils}/functions/dom.d.ts +0 -0
- /package/esm/{core/utils → utils}/functions/dom.js +0 -0
- /package/esm/{core/utils → utils}/functions/focusable.d.ts +0 -0
- /package/esm/{core/utils → utils}/functions/focusable.js +0 -0
- /package/esm/{core/utils → utils}/functions/import.d.ts +0 -0
- /package/esm/{core/utils → utils}/functions/import.js +0 -0
- /package/esm/{core/utils → utils}/functions/index.d.ts +0 -0
- /package/esm/{core/utils → utils}/functions/index.js +0 -0
- /package/esm/{core/utils → utils}/functions/numbers.d.ts +0 -0
- /package/esm/{core/utils → utils}/functions/numbers.js +0 -0
- /package/esm/{core/utils → utils}/functions/polymorphic.d.ts +0 -0
- /package/esm/{core/utils → utils}/functions/react.d.ts +0 -0
- /package/esm/{core/utils → utils}/functions/supports.d.ts +0 -0
- /package/esm/{core/utils → utils}/functions/supports.js +0 -0
- /package/esm/{core/utils → utils}/hooks/index.d.ts +0 -0
- /package/esm/{core/utils → utils}/hooks/index.js +0 -0
- /package/esm/{core/utils → utils}/hooks/useContainerWidth.d.ts +0 -0
- /package/esm/{core/utils → utils}/hooks/useContainerWidth.js +0 -0
- /package/esm/{core/utils → utils}/hooks/useControlledState.d.ts +0 -0
- /package/esm/{core/utils → utils}/hooks/useControlledState.js +0 -0
- /package/esm/{core/utils → utils}/hooks/useDragAndDrop.d.ts +0 -0
- /package/esm/{core/utils → utils}/hooks/useDragAndDrop.js +0 -0
- /package/esm/{core/utils → utils}/hooks/useEventListener.d.ts +0 -0
- /package/esm/{core/utils → utils}/hooks/useEventListener.js +0 -0
- /package/esm/{core/utils → utils}/hooks/useId.d.ts +0 -0
- /package/esm/{core/utils → utils}/hooks/useId.js +0 -0
- /package/esm/{core/utils → utils}/hooks/useIntersection.d.ts +0 -0
- /package/esm/{core/utils → utils}/hooks/useIntersection.js +0 -0
- /package/esm/{core/utils → utils}/hooks/useIsClient.d.ts +0 -0
- /package/esm/{core/utils → utils}/hooks/useIsClient.js +0 -0
- /package/esm/{core/utils → utils}/hooks/useIsomorphicLayoutEffect.d.ts +0 -0
- /package/esm/{core/utils → utils}/hooks/useIsomorphicLayoutEffect.js +0 -0
- /package/esm/{core/utils → utils}/hooks/useLatestRef.d.ts +0 -0
- /package/esm/{core/utils → utils}/hooks/useLatestRef.js +0 -0
- /package/esm/{core/utils → utils}/hooks/useMediaQuery.d.ts +0 -0
- /package/esm/{core/utils → utils}/hooks/useMediaQuery.js +0 -0
- /package/esm/{core/utils → utils}/hooks/useMergedRefs.d.ts +0 -0
- /package/esm/{core/utils → utils}/hooks/useMergedRefs.js +0 -0
- /package/esm/{core/utils → utils}/hooks/useOverflow.d.ts +0 -0
- /package/esm/{core/utils → utils}/hooks/useOverflow.js +0 -0
- /package/esm/{core/utils → utils}/hooks/useResizeObserver.d.ts +0 -0
- /package/esm/{core/utils → utils}/hooks/useResizeObserver.js +0 -0
- /package/esm/{core/utils → utils}/hooks/useSafeContext.d.ts +0 -0
- /package/esm/{core/utils → utils}/hooks/useSafeContext.js +0 -0
- /package/esm/{core/utils → utils}/hooks/useSyncExternalStore.d.ts +0 -0
- /package/esm/{core/utils → utils}/hooks/useSyncExternalStore.js +0 -0
- /package/esm/{core/utils → utils}/icons/StatusIconMap.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/StatusIconMap.js +0 -0
- /package/esm/{core/utils → utils}/icons/Svg.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/Svg.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgCalendar.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgCalendar.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgCaretDownSmall.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgCaretDownSmall.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgCaretRightSmall.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgCaretRightSmall.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgCaretUpSmall.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgCaretUpSmall.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgCheckmark.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgCheckmark.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgCheckmarkSmall.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgCheckmarkSmall.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgChevronLeft.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgChevronLeft.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgChevronLeftDouble.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgChevronLeftDouble.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgChevronRight.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgChevronRight.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgChevronRightDouble.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgChevronRightDouble.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgChevronRightSmall.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgChevronRightSmall.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgClose.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgClose.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgCloseSmall.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgCloseSmall.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgColumnManager.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgColumnManager.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgDocument.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgDocument.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgFilter.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgFilter.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgFilterHollow.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgFilterHollow.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgImportantSmall.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgImportantSmall.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgInfoCircular.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgInfoCircular.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgMore.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgMore.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgMoreVertical.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgMoreVertical.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgNew.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgNew.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgSearch.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgSearch.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgSmileyHappy.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgSmileyHappy.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgSortDown.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgSortDown.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgSortUp.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgSortUp.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgStatusError.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgStatusError.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgStatusSuccess.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgStatusSuccess.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgStatusWarning.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgStatusWarning.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgSwap.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgSwap.js +0 -0
- /package/esm/{core/utils → utils}/icons/SvgUpload.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/SvgUpload.js +0 -0
- /package/esm/{core/utils → utils}/icons/index.d.ts +0 -0
- /package/esm/{core/utils → utils}/icons/index.js +0 -0
- /package/esm/{core/utils → utils}/index.d.ts +0 -0
- /package/esm/{core/utils → utils}/index.js +0 -0
- /package/esm/{core/utils → utils}/props.d.ts +0 -0
- /package/esm/{core/utils → utils}/props.js +0 -0
- /package/esm/{core/utils → utils}/providers/HydrationProvider.d.ts +0 -0
- /package/esm/{core/utils → utils}/providers/HydrationProvider.js +0 -0
- /package/esm/{core/utils → utils}/providers/index.d.ts +0 -0
- /package/esm/{core/utils → utils}/providers/index.js +0 -0
- /package/esm/{core/utils → utils}/types.d.ts +0 -0
- /package/esm/{core/utils → utils}/types.js +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 3.9.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#1994](https://github.com/iTwin/iTwinUI/pull/1994): Added `role="toolbar"` support to `ButtonGroup`. Use this to enable the [toolbar pattern](https://www.w3.org/WAI/ARIA/apg/patterns/toolbar/), with arrow-key navigation functionality.
|
|
8
|
+
|
|
9
|
+
```jsx
|
|
10
|
+
<ButtonGroup role="toolbar">
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
- [#1986](https://github.com/iTwin/iTwinUI/pull/1986): `tableFilters.DateRangeFilter` now accepts `showYearSelection` to enable year-selection buttons.
|
|
14
|
+
|
|
15
|
+
```js
|
|
16
|
+
tableFilters.DateRangeFilter({ showYearSelection: true });
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
- [#1971](https://github.com/iTwin/iTwinUI/pull/1971): Added a new `stretched` prop to `Button` to allow it to span the full width of its container.
|
|
20
|
+
- [#1996](https://github.com/iTwin/iTwinUI/pull/1996): `Anchor` elements inside `Text` will now be underlined by default.
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- [#1997](https://github.com/iTwin/iTwinUI/pull/1997): Fixed an issue where draggable `Dialog` was overriding its intrinsic size after mount.
|
|
25
|
+
- [#1981](https://github.com/iTwin/iTwinUI/pull/1981): Fixed `jest` detection logic to correctly exit from scenarios that should not be executed in unit test environments.
|
|
26
|
+
- [#1982](https://github.com/iTwin/iTwinUI/pull/1982): Fixed an issue where some components (such as `InputGroup`) were trying to render `undefined`, which is not supported in React 17.
|
|
27
|
+
- [#1986](https://github.com/iTwin/iTwinUI/pull/1986): Updated the date pickers in `tableFilters.DateRangeFilter` to _not_ display dates outside the current month.
|
|
28
|
+
|
|
3
29
|
## 3.8.1
|
|
4
30
|
|
|
5
31
|
### Patch Changes
|
|
@@ -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 AlertOwnProps = {
|
|
4
4
|
/**
|
|
5
5
|
* Type of the alert.
|
|
@@ -55,8 +55,12 @@ export declare const Alert: PolymorphicForwardRefComponent<"div", AlertOwnProps
|
|
|
55
55
|
Icon: PolymorphicForwardRefComponent<"span", Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
56
56
|
ref?: ((instance: HTMLSpanElement | null) => void) | React.RefObject<HTMLSpanElement> | null | undefined;
|
|
57
57
|
}, "fill" | "as" | "key" | "size" | keyof React.HTMLAttributes<HTMLSpanElement> | "padded"> & {
|
|
58
|
-
size?: "small" | "auto" | "medium" | "large" | import("
|
|
59
|
-
|
|
58
|
+
size?: "small" | "auto" | "medium" | "large" | import("../../utils/types.js").AnyString | undefined;
|
|
59
|
+
/**
|
|
60
|
+
* Type of the alert.
|
|
61
|
+
* @default 'informational'
|
|
62
|
+
*/
|
|
63
|
+
fill?: "default" | import("../../utils/types.js").AnyString | "informational" | "negative" | "positive" | "warning" | undefined;
|
|
60
64
|
padded?: boolean | undefined;
|
|
61
65
|
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
62
66
|
as?: "span" | undefined;
|
package/cjs/core/Alert/Alert.js
CHANGED
|
@@ -33,7 +33,7 @@ exports.Alert = void 0;
|
|
|
33
33
|
*--------------------------------------------------------------------------------------------*/
|
|
34
34
|
const classnames_1 = __importDefault(require("classnames"));
|
|
35
35
|
const React = __importStar(require("react"));
|
|
36
|
-
const index_js_1 = require("
|
|
36
|
+
const index_js_1 = require("../../utils/index.js");
|
|
37
37
|
const IconButton_js_1 = require("../Buttons/IconButton.js");
|
|
38
38
|
const Icon_js_1 = require("../Icon/Icon.js");
|
|
39
39
|
const Anchor_js_1 = require("../Typography/Anchor.js");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SoftBackgrounds } from '
|
|
2
|
-
import type { AnyString, PolymorphicForwardRefComponent } from '
|
|
1
|
+
import { SoftBackgrounds } from '../../utils/index.js';
|
|
2
|
+
import type { AnyString, PolymorphicForwardRefComponent } from '../../utils/index.js';
|
|
3
3
|
export type AvatarStatus = 'online' | 'busy' | 'away' | 'offline';
|
|
4
4
|
type StatusTitles = {
|
|
5
5
|
[key in Exclude<AvatarStatus, ''>]: string;
|
|
@@ -33,7 +33,7 @@ exports.Avatar = exports.defaultStatusTitles = void 0;
|
|
|
33
33
|
*--------------------------------------------------------------------------------------------*/
|
|
34
34
|
const classnames_1 = __importDefault(require("classnames"));
|
|
35
35
|
const React = __importStar(require("react"));
|
|
36
|
-
const index_js_1 = require("
|
|
36
|
+
const index_js_1 = require("../../utils/index.js");
|
|
37
37
|
const VisuallyHidden_js_1 = require("../VisuallyHidden/VisuallyHidden.js");
|
|
38
38
|
/**
|
|
39
39
|
* Helper function that returns one of the preset badge color values.
|
|
@@ -33,7 +33,7 @@ exports.AvatarGroup = void 0;
|
|
|
33
33
|
*--------------------------------------------------------------------------------------------*/
|
|
34
34
|
const React = __importStar(require("react"));
|
|
35
35
|
const classnames_1 = __importDefault(require("classnames"));
|
|
36
|
-
const index_js_1 = require("
|
|
36
|
+
const index_js_1 = require("../../utils/index.js");
|
|
37
37
|
/**
|
|
38
38
|
* Group Avatars together.
|
|
39
39
|
*
|
|
@@ -33,7 +33,7 @@ exports.Backdrop = void 0;
|
|
|
33
33
|
*--------------------------------------------------------------------------------------------*/
|
|
34
34
|
const React = __importStar(require("react"));
|
|
35
35
|
const classnames_1 = __importDefault(require("classnames"));
|
|
36
|
-
const index_js_1 = require("
|
|
36
|
+
const index_js_1 = require("../../utils/index.js");
|
|
37
37
|
exports.Backdrop = React.forwardRef((props, ref) => {
|
|
38
38
|
const { isVisible = true, className, ...rest } = props;
|
|
39
39
|
return (React.createElement(index_js_1.Box, { className: (0, classnames_1.default)('iui-backdrop', { 'iui-backdrop-visible': isVisible }, className), ref: ref, ...rest }));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { SoftBackgrounds } from '
|
|
2
|
-
import type { AnyString, PolymorphicForwardRefComponent } from '
|
|
1
|
+
import { SoftBackgrounds } from '../../utils/index.js';
|
|
2
|
+
import type { AnyString, PolymorphicForwardRefComponent } from '../../utils/index.js';
|
|
3
3
|
type BadgeProps = {
|
|
4
4
|
/**
|
|
5
5
|
* Background color of the badge.
|
package/cjs/core/Badge/Badge.js
CHANGED
|
@@ -33,7 +33,7 @@ exports.Badge = void 0;
|
|
|
33
33
|
*--------------------------------------------------------------------------------------------*/
|
|
34
34
|
const React = __importStar(require("react"));
|
|
35
35
|
const classnames_1 = __importDefault(require("classnames"));
|
|
36
|
-
const index_js_1 = require("
|
|
36
|
+
const index_js_1 = require("../../utils/index.js");
|
|
37
37
|
/**
|
|
38
38
|
* Helper function that returns one of the preset badge color values.
|
|
39
39
|
*/
|
|
@@ -33,7 +33,7 @@ exports.Breadcrumbs = void 0;
|
|
|
33
33
|
*--------------------------------------------------------------------------------------------*/
|
|
34
34
|
const React = __importStar(require("react"));
|
|
35
35
|
const classnames_1 = __importDefault(require("classnames"));
|
|
36
|
-
const index_js_1 = require("
|
|
36
|
+
const index_js_1 = require("../../utils/index.js");
|
|
37
37
|
const Button_js_1 = require("../Buttons/Button.js");
|
|
38
38
|
const Anchor_js_1 = require("../Typography/Anchor.js");
|
|
39
39
|
const logWarningInDev = (0, index_js_1.createWarningLogger)();
|
|
@@ -86,7 +86,6 @@ const BreadcrumbsComponent = React.forwardRef((props, ref) => {
|
|
|
86
86
|
});
|
|
87
87
|
// ----------------------------------------------------------------------------
|
|
88
88
|
const ListItem = ({ item, isActive, }) => {
|
|
89
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
90
89
|
let children = item;
|
|
91
90
|
if (children?.type === 'span' ||
|
|
92
91
|
children?.type === 'a' ||
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import type { PolymorphicForwardRefComponent } from '
|
|
2
|
+
import type { AnyString, PolymorphicForwardRefComponent } from '../../utils/index.js';
|
|
3
3
|
/** This context is used for letting descendant IconButtons know the ButtonGroup's orientation. */
|
|
4
4
|
export declare const ButtonGroupContext: React.Context<string | undefined>;
|
|
5
5
|
type ButtonGroupProps = {
|
|
@@ -27,13 +27,22 @@ type ButtonGroupProps = {
|
|
|
27
27
|
* @default 'horizontal'
|
|
28
28
|
*/
|
|
29
29
|
orientation?: 'horizontal' | 'vertical';
|
|
30
|
+
/**
|
|
31
|
+
* ARIA role for the ButtonGroup.
|
|
32
|
+
*
|
|
33
|
+
* If set to toolbar', it will automatically support arrow-key navigation.
|
|
34
|
+
*
|
|
35
|
+
* **Note**: `role="toolbar"` should not be used when the ButtonGroup contains
|
|
36
|
+
* non-button elements (such as inputs).
|
|
37
|
+
*/
|
|
38
|
+
role?: 'toolbar' | AnyString;
|
|
30
39
|
};
|
|
31
40
|
/**
|
|
32
41
|
* Group buttons together for common actions.
|
|
33
42
|
* Handles responsive overflow when the `overflowButton` prop is specified.
|
|
34
43
|
*
|
|
35
44
|
* @example
|
|
36
|
-
* <ButtonGroup>
|
|
45
|
+
* <ButtonGroup role="toolbar">
|
|
37
46
|
* <IconButton>
|
|
38
47
|
* <SvgAdd />
|
|
39
48
|
* </IconButton>
|
|
@@ -33,7 +33,7 @@ exports.ButtonGroup = exports.ButtonGroupContext = void 0;
|
|
|
33
33
|
*--------------------------------------------------------------------------------------------*/
|
|
34
34
|
const React = __importStar(require("react"));
|
|
35
35
|
const classnames_1 = __importDefault(require("classnames"));
|
|
36
|
-
const index_js_1 = require("
|
|
36
|
+
const index_js_1 = require("../../utils/index.js");
|
|
37
37
|
const react_1 = require("@floating-ui/react");
|
|
38
38
|
// ----------------------------------------------------------------------------
|
|
39
39
|
/** This context is used for letting descendant IconButtons know the ButtonGroup's orientation. */
|
|
@@ -44,7 +44,7 @@ exports.ButtonGroupContext.displayName = 'ButtonGroupContext';
|
|
|
44
44
|
* Handles responsive overflow when the `overflowButton` prop is specified.
|
|
45
45
|
*
|
|
46
46
|
* @example
|
|
47
|
-
* <ButtonGroup>
|
|
47
|
+
* <ButtonGroup role="toolbar">
|
|
48
48
|
* <IconButton>
|
|
49
49
|
* <SvgAdd />
|
|
50
50
|
* </IconButton>
|
|
@@ -67,34 +67,46 @@ exports.ButtonGroupContext.displayName = 'ButtonGroupContext';
|
|
|
67
67
|
* {buttons}
|
|
68
68
|
* </ButtonGroup>
|
|
69
69
|
*/
|
|
70
|
-
exports.ButtonGroup = React.forwardRef((props,
|
|
71
|
-
const { children
|
|
72
|
-
const
|
|
73
|
-
|
|
74
|
-
|
|
70
|
+
exports.ButtonGroup = React.forwardRef((props, forwardedRef) => {
|
|
71
|
+
const { children: childrenProp, overflowButton, overflowPlacement = 'end', orientation = 'horizontal', ...rest } = props;
|
|
72
|
+
const children = React.useMemo(() => {
|
|
73
|
+
if (props.role !== 'toolbar') {
|
|
74
|
+
return childrenProp;
|
|
75
|
+
}
|
|
76
|
+
return React.Children.map(childrenProp, (child, index) => React.isValidElement(child) ? (React.createElement(react_1.CompositeItem, { key: index, render: child })) : (child));
|
|
77
|
+
}, [childrenProp, props.role]);
|
|
78
|
+
const node = overflowButton ? (React.createElement(OverflowGroup, { orientation: orientation, overflowButton: overflowButton, overflowPlacement: overflowPlacement, ref: forwardedRef, ...rest }, children)) : (React.createElement(BaseGroup, { orientation: orientation, ref: forwardedRef, ...rest }, children));
|
|
75
79
|
return (React.createElement(react_1.FloatingDelayGroup, { delay: { open: 50, close: 250 } },
|
|
76
|
-
React.createElement(exports.ButtonGroupContext.Provider, { value: orientation },
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
80
|
+
React.createElement(exports.ButtonGroupContext.Provider, { value: orientation }, props.role === 'toolbar' ? (React.createElement(react_1.Composite, { orientation: orientation, render: node })) : (node))));
|
|
81
|
+
});
|
|
82
|
+
// ----------------------------------------------------------------------------
|
|
83
|
+
const BaseGroup = React.forwardRef((props, forwardedRef) => {
|
|
84
|
+
const { orientation, className, ...rest } = props;
|
|
85
|
+
return (React.createElement(index_js_1.Box, { className: (0, classnames_1.default)('iui-button-group', className), "data-iui-orientation": orientation === 'vertical' ? orientation : undefined, ref: forwardedRef, ...rest }));
|
|
86
|
+
});
|
|
87
|
+
// ----------------------------------------------------------------------------
|
|
88
|
+
const OverflowGroup = React.forwardRef((props, forwardedRef) => {
|
|
89
|
+
const { children: childrenProp, orientation, overflowButton, overflowPlacement, ...rest } = props;
|
|
90
|
+
const items = React.useMemo(() => React.Children.toArray(childrenProp).filter(Boolean), [childrenProp]);
|
|
91
|
+
const [overflowRef, visibleCount] = (0, index_js_1.useOverflow)(items, !overflowButton, orientation);
|
|
92
|
+
return (React.createElement(BaseGroup, { orientation: orientation, ...rest, className: (0, classnames_1.default)({
|
|
93
|
+
'iui-button-group-overflow-x': !!overflowButton && orientation === 'horizontal',
|
|
94
|
+
}, props.className), ref: (0, index_js_1.useMergedRefs)(forwardedRef, overflowRef) }, (() => {
|
|
95
|
+
if (!(visibleCount < items.length)) {
|
|
96
|
+
return items;
|
|
97
|
+
}
|
|
98
|
+
const overflowStart = overflowPlacement === 'start'
|
|
99
|
+
? items.length - visibleCount
|
|
100
|
+
: visibleCount - 1;
|
|
101
|
+
return (React.createElement(React.Fragment, null,
|
|
102
|
+
overflowButton &&
|
|
103
|
+
overflowPlacement === 'start' &&
|
|
104
|
+
overflowButton(overflowStart),
|
|
105
|
+
overflowPlacement === 'start'
|
|
106
|
+
? items.slice(overflowStart + 1)
|
|
107
|
+
: items.slice(0, Math.max(0, overflowStart)),
|
|
108
|
+
overflowButton &&
|
|
109
|
+
overflowPlacement === 'end' &&
|
|
110
|
+
overflowButton(overflowStart)));
|
|
111
|
+
})()));
|
|
100
112
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { ButtonBase } from '
|
|
3
|
-
import type { PolymorphicForwardRefComponent } from '
|
|
2
|
+
import { ButtonBase } from '../../utils/index.js';
|
|
3
|
+
import type { PolymorphicForwardRefComponent } from '../../utils/index.js';
|
|
4
4
|
export type ButtonProps = {
|
|
5
5
|
/**
|
|
6
6
|
* Modify size of the button.
|
|
@@ -32,6 +32,12 @@ export type ButtonProps = {
|
|
|
32
32
|
* Passes props to the end icon.
|
|
33
33
|
*/
|
|
34
34
|
endIconProps?: React.ComponentProps<'span'>;
|
|
35
|
+
/**
|
|
36
|
+
* Whether the button should stretch to fill the width of the container.
|
|
37
|
+
*
|
|
38
|
+
* This is useful on narrow containers and mobile views.
|
|
39
|
+
*/
|
|
40
|
+
stretched?: boolean;
|
|
35
41
|
} & Pick<React.ComponentProps<typeof ButtonBase>, 'htmlDisabled'>;
|
|
36
42
|
/**
|
|
37
43
|
* Generic button component
|
|
@@ -33,7 +33,7 @@ exports.Button = void 0;
|
|
|
33
33
|
*--------------------------------------------------------------------------------------------*/
|
|
34
34
|
const classnames_1 = __importDefault(require("classnames"));
|
|
35
35
|
const React = __importStar(require("react"));
|
|
36
|
-
const index_js_1 = require("
|
|
36
|
+
const index_js_1 = require("../../utils/index.js");
|
|
37
37
|
/**
|
|
38
38
|
* Generic button component
|
|
39
39
|
* @example
|
|
@@ -44,8 +44,11 @@ const index_js_1 = require("../utils/index.js");
|
|
|
44
44
|
* <Button startIcon={<SvgAdd />}>New</Button>
|
|
45
45
|
*/
|
|
46
46
|
exports.Button = React.forwardRef((props, ref) => {
|
|
47
|
-
const { children, className, size, styleType = 'default', startIcon, endIcon, labelProps, startIconProps, endIconProps, ...rest } = props;
|
|
48
|
-
return (React.createElement(index_js_1.ButtonBase, { ref: ref, className: (0, classnames_1.default)('iui-button', className), "data-iui-variant": styleType !== 'default' ? styleType : undefined, "data-iui-size": size, ...rest
|
|
47
|
+
const { children, className, size, styleType = 'default', startIcon, endIcon, labelProps, startIconProps, endIconProps, stretched, ...rest } = props;
|
|
48
|
+
return (React.createElement(index_js_1.ButtonBase, { ref: ref, className: (0, classnames_1.default)('iui-button', className), "data-iui-variant": styleType !== 'default' ? styleType : undefined, "data-iui-size": size, ...rest, style: {
|
|
49
|
+
'--_iui-width': stretched ? '100%' : undefined,
|
|
50
|
+
...props.style,
|
|
51
|
+
} },
|
|
49
52
|
startIcon && (React.createElement(index_js_1.Box, { as: 'span', "aria-hidden": true, ...startIconProps, className: (0, classnames_1.default)('iui-button-icon', startIconProps?.className) }, startIcon)),
|
|
50
53
|
children && React.createElement("span", { ...labelProps }, children),
|
|
51
54
|
endIcon && (React.createElement(index_js_1.Box, { as: 'span', "aria-hidden": true, ...endIconProps, className: (0, classnames_1.default)('iui-button-icon', endIconProps?.className) }, endIcon))));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ButtonProps } from './Button.js';
|
|
2
2
|
import type { DropdownMenuProps } from '../DropdownMenu/DropdownMenu.js';
|
|
3
|
-
import type { PolymorphicForwardRefComponent } from '
|
|
3
|
+
import type { PolymorphicForwardRefComponent } from '../../utils/index.js';
|
|
4
4
|
export type DropdownButtonProps = {
|
|
5
5
|
/**
|
|
6
6
|
* Items in the dropdown menu.
|
|
@@ -35,7 +35,7 @@ const React = __importStar(require("react"));
|
|
|
35
35
|
const classnames_1 = __importDefault(require("classnames"));
|
|
36
36
|
const Button_js_1 = require("./Button.js");
|
|
37
37
|
const DropdownMenu_js_1 = require("../DropdownMenu/DropdownMenu.js");
|
|
38
|
-
const index_js_1 = require("
|
|
38
|
+
const index_js_1 = require("../../utils/index.js");
|
|
39
39
|
/**
|
|
40
40
|
* Button that opens a DropdownMenu.
|
|
41
41
|
* @example
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { Tooltip } from '../Tooltip/Tooltip.js';
|
|
3
3
|
import type { ButtonProps } from './Button.js';
|
|
4
|
-
import type { PolymorphicForwardRefComponent } from '
|
|
4
|
+
import type { PolymorphicForwardRefComponent } from '../../utils/index.js';
|
|
5
5
|
export type IconButtonProps = {
|
|
6
6
|
/**
|
|
7
7
|
* Button gets active style.
|
|
@@ -33,7 +33,7 @@ exports.IconButton = void 0;
|
|
|
33
33
|
*--------------------------------------------------------------------------------------------*/
|
|
34
34
|
const classnames_1 = __importDefault(require("classnames"));
|
|
35
35
|
const React = __importStar(require("react"));
|
|
36
|
-
const index_js_1 = require("
|
|
36
|
+
const index_js_1 = require("../../utils/index.js");
|
|
37
37
|
const Tooltip_js_1 = require("../Tooltip/Tooltip.js");
|
|
38
38
|
const VisuallyHidden_js_1 = require("../VisuallyHidden/VisuallyHidden.js");
|
|
39
39
|
const ButtonGroup_js_1 = require("../ButtonGroup/ButtonGroup.js");
|
|
@@ -29,7 +29,7 @@ exports.IdeasButton = void 0;
|
|
|
29
29
|
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
30
30
|
*--------------------------------------------------------------------------------------------*/
|
|
31
31
|
const React = __importStar(require("react"));
|
|
32
|
-
const index_js_1 = require("
|
|
32
|
+
const index_js_1 = require("../../utils/index.js");
|
|
33
33
|
const Button_js_1 = require("./Button.js");
|
|
34
34
|
/**
|
|
35
35
|
* Ideas button
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { ButtonProps } from './Button.js';
|
|
3
3
|
import { IconButton } from './IconButton.js';
|
|
4
|
-
import type { PolymorphicForwardRefComponent, PortalProps } from '
|
|
4
|
+
import type { PolymorphicForwardRefComponent, PortalProps } from '../../utils/index.js';
|
|
5
5
|
import type { Placement } from '@floating-ui/react';
|
|
6
6
|
export type SplitButtonProps = ButtonProps & {
|
|
7
7
|
/**
|
|
@@ -35,7 +35,7 @@ const classnames_1 = __importDefault(require("classnames"));
|
|
|
35
35
|
const React = __importStar(require("react"));
|
|
36
36
|
const Button_js_1 = require("./Button.js");
|
|
37
37
|
const IconButton_js_1 = require("./IconButton.js");
|
|
38
|
-
const index_js_1 = require("
|
|
38
|
+
const index_js_1 = require("../../utils/index.js");
|
|
39
39
|
const Menu_js_1 = require("../Menu/Menu.js");
|
|
40
40
|
const Popover_js_1 = require("../Popover/Popover.js");
|
|
41
41
|
/**
|
|
@@ -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 CarouselProps = {
|
|
4
4
|
/**
|
|
5
5
|
* Index of the currently shown slide.
|
|
@@ -42,7 +42,7 @@ export declare const Carousel: PolymorphicForwardRefComponent<"section", Carouse
|
|
|
42
42
|
Navigation: PolymorphicForwardRefComponent<"div", {}> & {
|
|
43
43
|
PreviousButton: PolymorphicForwardRefComponent<"button", Omit<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
44
44
|
ref?: ((instance: HTMLButtonElement | null) => void) | React.RefObject<HTMLButtonElement> | null | undefined;
|
|
45
|
-
}, "label" | "as" | "size" | "htmlDisabled" | "styleType" | "labelProps" | "isActive" | "iconProps"> & {
|
|
45
|
+
}, "label" | "as" | "size" | "htmlDisabled" | "styleType" | "labelProps" | "stretched" | "isActive" | "iconProps"> & {
|
|
46
46
|
isActive?: boolean | undefined;
|
|
47
47
|
label?: React.ReactNode;
|
|
48
48
|
labelProps?: Omit<Omit<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
@@ -73,7 +73,7 @@ export declare const Carousel: PolymorphicForwardRefComponent<"section", Carouse
|
|
|
73
73
|
}> & {
|
|
74
74
|
content: React.ReactNode;
|
|
75
75
|
children?: React.ReactNode;
|
|
76
|
-
} & import("
|
|
76
|
+
} & import("../../utils/index.js").PortalProps & {
|
|
77
77
|
placement?: import("@floating-ui/utils").Placement | undefined;
|
|
78
78
|
visible?: boolean | undefined;
|
|
79
79
|
onVisibleChange?: ((visible: boolean) => void) | undefined;
|
|
@@ -105,7 +105,7 @@ export declare const Carousel: PolymorphicForwardRefComponent<"section", Carouse
|
|
|
105
105
|
}>;
|
|
106
106
|
NextButton: PolymorphicForwardRefComponent<"button", Omit<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
107
107
|
ref?: ((instance: HTMLButtonElement | null) => void) | React.RefObject<HTMLButtonElement> | null | undefined;
|
|
108
|
-
}, "label" | "as" | "size" | "htmlDisabled" | "styleType" | "labelProps" | "isActive" | "iconProps"> & {
|
|
108
|
+
}, "label" | "as" | "size" | "htmlDisabled" | "styleType" | "labelProps" | "stretched" | "isActive" | "iconProps"> & {
|
|
109
109
|
isActive?: boolean | undefined;
|
|
110
110
|
label?: React.ReactNode;
|
|
111
111
|
labelProps?: Omit<Omit<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
@@ -136,7 +136,7 @@ export declare const Carousel: PolymorphicForwardRefComponent<"section", Carouse
|
|
|
136
136
|
}> & {
|
|
137
137
|
content: React.ReactNode;
|
|
138
138
|
children?: React.ReactNode;
|
|
139
|
-
} & import("
|
|
139
|
+
} & import("../../utils/index.js").PortalProps & {
|
|
140
140
|
placement?: import("@floating-ui/utils").Placement | undefined;
|
|
141
141
|
visible?: boolean | undefined;
|
|
142
142
|
onVisibleChange?: ((visible: boolean) => void) | undefined;
|
|
@@ -33,7 +33,7 @@ exports.Carousel = void 0;
|
|
|
33
33
|
*--------------------------------------------------------------------------------------------*/
|
|
34
34
|
const React = __importStar(require("react"));
|
|
35
35
|
const classnames_1 = __importDefault(require("classnames"));
|
|
36
|
-
const index_js_1 = require("
|
|
36
|
+
const index_js_1 = require("../../utils/index.js");
|
|
37
37
|
const CarouselContext_js_1 = require("./CarouselContext.js");
|
|
38
38
|
const CarouselSlider_js_1 = require("./CarouselSlider.js");
|
|
39
39
|
const CarouselSlide_js_1 = require("./CarouselSlide.js");
|
|
@@ -33,7 +33,7 @@ exports.CarouselDot = void 0;
|
|
|
33
33
|
*--------------------------------------------------------------------------------------------*/
|
|
34
34
|
const React = __importStar(require("react"));
|
|
35
35
|
const classnames_1 = __importDefault(require("classnames"));
|
|
36
|
-
const index_js_1 = require("
|
|
36
|
+
const index_js_1 = require("../../utils/index.js");
|
|
37
37
|
/**
|
|
38
38
|
* `CarouselDot` is the actual "dot" component used to activate a slide on clicking.
|
|
39
39
|
* It should be used as a child of `CarouselDotsList`.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { PolymorphicForwardRefComponent } from '
|
|
1
|
+
import type { PolymorphicForwardRefComponent } from '../../utils/index.js';
|
|
2
2
|
type CarouselDotsListProps = {
|
|
3
3
|
/** Number of total dots/slides in the carousel. Will be inferred from Carousel context or children. Otherwise, it is required to be passed. */
|
|
4
4
|
length?: number;
|
|
@@ -34,7 +34,7 @@ exports.CarouselDotsList = void 0;
|
|
|
34
34
|
const React = __importStar(require("react"));
|
|
35
35
|
const classnames_1 = __importDefault(require("classnames"));
|
|
36
36
|
const CarouselContext_js_1 = require("./CarouselContext.js");
|
|
37
|
-
const index_js_1 = require("
|
|
37
|
+
const index_js_1 = require("../../utils/index.js");
|
|
38
38
|
const CarouselDot_js_1 = require("./CarouselDot.js");
|
|
39
39
|
/**
|
|
40
40
|
* The `CarouselDotsList` component shows a list of `CarouselDot` components which can be used to
|
|
@@ -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
|
/**
|
|
4
4
|
* The `CarouselNavigation` component by default consists of the `PreviousButton` and `NextButton`
|
|
5
5
|
* shown on the left and right, and the `CarouselDotsList` component shown in the middle.
|
|
@@ -9,7 +9,7 @@ import type { PolymorphicForwardRefComponent } from '../utils/index.js';
|
|
|
9
9
|
export declare const CarouselNavigation: PolymorphicForwardRefComponent<"div", {}> & {
|
|
10
10
|
PreviousButton: PolymorphicForwardRefComponent<"button", Omit<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
11
11
|
ref?: ((instance: HTMLButtonElement | null) => void) | React.RefObject<HTMLButtonElement> | null | undefined;
|
|
12
|
-
}, "label" | "as" | "size" | "htmlDisabled" | "styleType" | "labelProps" | "isActive" | "iconProps"> & {
|
|
12
|
+
}, "label" | "as" | "size" | "htmlDisabled" | "styleType" | "labelProps" | "stretched" | "isActive" | "iconProps"> & {
|
|
13
13
|
isActive?: boolean | undefined;
|
|
14
14
|
label?: React.ReactNode;
|
|
15
15
|
labelProps?: Omit<Omit<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
@@ -40,7 +40,7 @@ export declare const CarouselNavigation: PolymorphicForwardRefComponent<"div", {
|
|
|
40
40
|
}> & {
|
|
41
41
|
content: React.ReactNode;
|
|
42
42
|
children?: React.ReactNode;
|
|
43
|
-
} & import("
|
|
43
|
+
} & import("../../utils/index.js").PortalProps & {
|
|
44
44
|
placement?: import("@floating-ui/utils").Placement | undefined;
|
|
45
45
|
visible?: boolean | undefined;
|
|
46
46
|
onVisibleChange?: ((visible: boolean) => void) | undefined;
|
|
@@ -72,7 +72,7 @@ export declare const CarouselNavigation: PolymorphicForwardRefComponent<"div", {
|
|
|
72
72
|
}>;
|
|
73
73
|
NextButton: PolymorphicForwardRefComponent<"button", Omit<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
74
74
|
ref?: ((instance: HTMLButtonElement | null) => void) | React.RefObject<HTMLButtonElement> | null | undefined;
|
|
75
|
-
}, "label" | "as" | "size" | "htmlDisabled" | "styleType" | "labelProps" | "isActive" | "iconProps"> & {
|
|
75
|
+
}, "label" | "as" | "size" | "htmlDisabled" | "styleType" | "labelProps" | "stretched" | "isActive" | "iconProps"> & {
|
|
76
76
|
isActive?: boolean | undefined;
|
|
77
77
|
label?: React.ReactNode;
|
|
78
78
|
labelProps?: Omit<Omit<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
@@ -103,7 +103,7 @@ export declare const CarouselNavigation: PolymorphicForwardRefComponent<"div", {
|
|
|
103
103
|
}> & {
|
|
104
104
|
content: React.ReactNode;
|
|
105
105
|
children?: React.ReactNode;
|
|
106
|
-
} & import("
|
|
106
|
+
} & import("../../utils/index.js").PortalProps & {
|
|
107
107
|
placement?: import("@floating-ui/utils").Placement | undefined;
|
|
108
108
|
visible?: boolean | undefined;
|
|
109
109
|
onVisibleChange?: ((visible: boolean) => void) | undefined;
|
|
@@ -36,7 +36,7 @@ const classnames_1 = __importDefault(require("classnames"));
|
|
|
36
36
|
const CarouselContext_js_1 = require("./CarouselContext.js");
|
|
37
37
|
const IconButton_js_1 = require("../Buttons/IconButton.js");
|
|
38
38
|
const CarouselDotsList_js_1 = require("./CarouselDotsList.js");
|
|
39
|
-
const index_js_1 = require("
|
|
39
|
+
const index_js_1 = require("../../utils/index.js");
|
|
40
40
|
const CarouselNavigationComponent = React.forwardRef((props, ref) => {
|
|
41
41
|
const { className, children, ...rest } = props;
|
|
42
42
|
return (React.createElement(index_js_1.Box, { className: (0, classnames_1.default)('iui-carousel-navigation', className), ref: ref, ...rest }, children ?? (React.createElement(React.Fragment, null,
|
|
@@ -33,7 +33,7 @@ exports.CarouselSlide = void 0;
|
|
|
33
33
|
*--------------------------------------------------------------------------------------------*/
|
|
34
34
|
const React = __importStar(require("react"));
|
|
35
35
|
const classnames_1 = __importDefault(require("classnames"));
|
|
36
|
-
const index_js_1 = require("
|
|
36
|
+
const index_js_1 = require("../../utils/index.js");
|
|
37
37
|
const CarouselContext_js_1 = require("./CarouselContext.js");
|
|
38
38
|
/**
|
|
39
39
|
* `CarouselSlide` is used for the actual slide content. The content can be specified through `children`.
|
|
@@ -34,7 +34,7 @@ exports.CarouselSlider = void 0;
|
|
|
34
34
|
const React = __importStar(require("react"));
|
|
35
35
|
const classnames_1 = __importDefault(require("classnames"));
|
|
36
36
|
const CarouselContext_js_1 = require("./CarouselContext.js");
|
|
37
|
-
const index_js_1 = require("
|
|
37
|
+
const index_js_1 = require("../../utils/index.js");
|
|
38
38
|
/**
|
|
39
39
|
* `CarouselSlider` is the scrollable list that should consist of `CarouselSlide` components.
|
|
40
40
|
*/
|