@itwin/itwinui-react 2.11.4 → 3.0.0-dev.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 +21 -0
- package/README.md +2 -2
- package/cjs/core/Alert/Alert.d.ts +4 -4
- package/cjs/core/Alert/Alert.js +8 -10
- package/cjs/core/Alert/index.d.ts +0 -1
- package/cjs/core/Avatar/Avatar.d.ts +6 -14
- package/cjs/core/Avatar/Avatar.js +6 -8
- package/cjs/core/Avatar/index.d.ts +0 -1
- package/cjs/core/AvatarGroup/AvatarGroup.d.ts +5 -9
- package/cjs/core/AvatarGroup/AvatarGroup.js +14 -17
- package/cjs/core/AvatarGroup/index.d.ts +0 -1
- package/cjs/core/Backdrop/Backdrop.d.ts +3 -3
- package/cjs/core/Backdrop/Backdrop.js +1 -2
- package/cjs/core/Backdrop/index.d.ts +0 -1
- package/cjs/core/Badge/Badge.d.ts +4 -6
- package/cjs/core/Badge/Badge.js +3 -5
- package/cjs/core/Badge/index.d.ts +0 -1
- package/cjs/core/Breadcrumbs/Breadcrumbs.d.ts +4 -77
- package/cjs/core/Breadcrumbs/Breadcrumbs.js +5 -6
- package/cjs/core/Breadcrumbs/index.d.ts +0 -1
- package/cjs/core/ButtonGroup/ButtonGroup.d.ts +4 -3
- package/cjs/core/ButtonGroup/ButtonGroup.js +15 -13
- package/cjs/core/ButtonGroup/index.d.ts +0 -1
- package/cjs/core/Buttons/Button/Button.d.ts +4 -10
- package/cjs/core/Buttons/Button/Button.js +4 -5
- package/cjs/core/Buttons/Button/index.d.ts +0 -1
- package/cjs/core/Buttons/DropdownButton/DropdownButton.d.ts +5 -21
- package/cjs/core/Buttons/DropdownButton/DropdownButton.js +0 -1
- package/cjs/core/Buttons/DropdownButton/index.d.ts +0 -1
- package/cjs/core/Buttons/IconButton/IconButton.d.ts +2 -3
- package/cjs/core/Buttons/IconButton/IconButton.js +4 -5
- package/cjs/core/Buttons/IconButton/index.d.ts +0 -1
- package/cjs/core/Buttons/IdeasButton/IdeasButton.d.ts +3 -3
- package/cjs/core/Buttons/IdeasButton/IdeasButton.js +0 -1
- package/cjs/core/Buttons/IdeasButton/index.d.ts +0 -1
- package/cjs/core/Buttons/SplitButton/SplitButton.d.ts +2 -3
- package/cjs/core/Buttons/SplitButton/SplitButton.js +1 -2
- package/cjs/core/Buttons/SplitButton/index.d.ts +0 -1
- package/cjs/core/Buttons/index.d.ts +0 -5
- package/cjs/core/Carousel/Carousel.d.ts +24 -26
- package/cjs/core/Carousel/Carousel.js +22 -22
- package/cjs/core/Carousel/CarouselDot.d.ts +11 -9
- package/cjs/core/Carousel/CarouselDot.js +2 -1
- package/cjs/core/Carousel/CarouselDotsList.d.ts +11 -9
- package/cjs/core/Carousel/CarouselDotsList.js +1 -2
- package/cjs/core/Carousel/CarouselNavigation.d.ts +14 -5
- package/cjs/core/Carousel/CarouselNavigation.js +13 -9
- package/cjs/core/Carousel/CarouselSlide.d.ts +10 -8
- package/cjs/core/Carousel/CarouselSlide.js +1 -1
- package/cjs/core/Carousel/CarouselSlider.d.ts +2 -2
- package/cjs/core/Carousel/CarouselSlider.js +1 -1
- package/cjs/core/Carousel/index.d.ts +0 -1
- package/cjs/core/Checkbox/Checkbox.d.ts +4 -31
- package/cjs/core/Checkbox/Checkbox.js +3 -4
- package/cjs/core/Checkbox/index.d.ts +0 -1
- package/cjs/core/ColorPicker/ColorBuilder.d.ts +2 -4
- package/cjs/core/ColorPicker/ColorBuilder.js +3 -4
- package/cjs/core/ColorPicker/ColorInputPanel.d.ts +4 -18
- package/cjs/core/ColorPicker/ColorInputPanel.js +4 -5
- package/cjs/core/ColorPicker/ColorPalette.d.ts +3 -16
- package/cjs/core/ColorPicker/ColorPalette.js +3 -4
- package/cjs/core/ColorPicker/ColorPicker.d.ts +4 -4
- package/cjs/core/ColorPicker/ColorPicker.js +3 -5
- package/cjs/core/ColorPicker/ColorSwatch.d.ts +4 -5
- package/cjs/core/ColorPicker/ColorSwatch.js +1 -2
- package/cjs/core/ColorPicker/index.d.ts +0 -5
- package/cjs/core/ComboBox/ComboBox.d.ts +4 -4
- package/cjs/core/ComboBox/ComboBox.js +5 -7
- package/cjs/core/ComboBox/ComboBoxDropdown.d.ts +3 -3
- package/cjs/core/ComboBox/ComboBoxEndIcon.d.ts +7 -5
- package/cjs/core/ComboBox/ComboBoxEndIcon.js +1 -1
- package/cjs/core/ComboBox/ComboBoxInput.d.ts +7 -6
- package/cjs/core/ComboBox/ComboBoxInputContainer.d.ts +3 -7
- package/cjs/core/ComboBox/ComboBoxInputContainer.js +4 -5
- package/cjs/core/ComboBox/ComboBoxMenu.d.ts +5 -2
- package/cjs/core/ComboBox/ComboBoxMenu.js +2 -2
- package/cjs/core/ComboBox/ComboBoxMenuItem.d.ts +6 -19
- package/cjs/core/ComboBox/ComboBoxMenuItem.js +8 -22
- package/cjs/core/ComboBox/ComboBoxMultipleContainer.d.ts +6 -3
- package/cjs/core/ComboBox/index.d.ts +0 -1
- package/cjs/core/DatePicker/DatePicker.d.ts +4 -4
- package/cjs/core/DatePicker/DatePicker.js +9 -11
- package/cjs/core/DatePicker/index.d.ts +0 -1
- package/cjs/core/Dialog/Dialog.d.ts +13 -9
- package/cjs/core/Dialog/Dialog.js +21 -22
- package/cjs/core/Dialog/DialogBackdrop.d.ts +4 -4
- package/cjs/core/Dialog/DialogBackdrop.js +1 -3
- package/cjs/core/Dialog/DialogButtonBar.d.ts +1 -8
- package/cjs/core/Dialog/DialogButtonBar.js +1 -33
- package/cjs/core/Dialog/DialogContent.d.ts +1 -8
- package/cjs/core/Dialog/DialogContent.js +1 -33
- package/cjs/core/Dialog/DialogMain.d.ts +3 -2
- package/cjs/core/Dialog/DialogMain.js +1 -2
- package/cjs/core/Dialog/DialogTitleBar.d.ts +5 -4
- package/cjs/core/Dialog/DialogTitleBar.js +1 -2
- package/cjs/core/Dialog/DialogTitleBarTitle.d.ts +1 -8
- package/cjs/core/Dialog/DialogTitleBarTitle.js +1 -33
- package/cjs/core/Dialog/index.d.ts +0 -5
- package/cjs/core/DropdownMenu/DropdownMenu.js +0 -1
- package/cjs/core/ExpandableBlock/ExpandableBlock.d.ts +4 -4
- package/cjs/core/ExpandableBlock/ExpandableBlock.js +9 -11
- package/cjs/core/ExpandableBlock/index.d.ts +0 -1
- package/cjs/core/Fieldset/Fieldset.d.ts +4 -3
- package/cjs/core/Fieldset/Fieldset.js +3 -5
- package/cjs/core/Fieldset/index.d.ts +0 -1
- package/cjs/core/FileUpload/FileEmptyCard.d.ts +4 -11
- package/cjs/core/FileUpload/FileEmptyCard.js +16 -13
- package/cjs/core/FileUpload/FileUpload.d.ts +4 -25
- package/cjs/core/FileUpload/FileUpload.js +3 -4
- package/cjs/core/FileUpload/FileUploadCard.d.ts +11 -51
- package/cjs/core/FileUpload/FileUploadCard.js +43 -35
- package/cjs/core/FileUpload/FileUploadTemplate.d.ts +4 -3
- package/cjs/core/FileUpload/FileUploadTemplate.js +5 -7
- package/cjs/core/FileUpload/index.d.ts +0 -4
- package/cjs/core/Footer/Footer.d.ts +6 -10
- package/cjs/core/Footer/Footer.js +1 -2
- package/cjs/core/Footer/FooterItem.d.ts +1 -3
- package/cjs/core/Footer/FooterItem.js +1 -34
- package/cjs/core/Footer/FooterList.d.ts +1 -3
- package/cjs/core/Footer/FooterList.js +1 -34
- package/cjs/core/Footer/FooterSeparator.d.ts +1 -3
- package/cjs/core/Footer/FooterSeparator.js +3 -34
- package/cjs/core/Footer/index.d.ts +1 -1
- package/cjs/core/Header/Header.d.ts +5 -5
- package/cjs/core/Header/Header.js +7 -9
- package/cjs/core/Header/HeaderBasicButton.d.ts +2 -4
- package/cjs/core/Header/HeaderBasicButton.js +4 -11
- package/cjs/core/Header/HeaderBreadcrumbs.d.ts +3 -2
- package/cjs/core/Header/HeaderBreadcrumbs.js +10 -8
- package/cjs/core/Header/HeaderButton.d.ts +5 -6
- package/cjs/core/Header/HeaderButton.js +8 -24
- package/cjs/core/Header/HeaderDropdownButton.d.ts +2 -4
- package/cjs/core/Header/HeaderDropdownButton.js +0 -1
- package/cjs/core/Header/HeaderLogo.d.ts +1 -2
- package/cjs/core/Header/HeaderLogo.js +5 -12
- package/cjs/core/Header/HeaderSplitButton.d.ts +2 -4
- package/cjs/core/Header/HeaderSplitButton.js +3 -4
- package/cjs/core/Header/index.d.ts +0 -4
- package/cjs/core/InformationPanel/InformationPanel.d.ts +4 -24
- package/cjs/core/InformationPanel/InformationPanel.js +3 -4
- package/cjs/core/InformationPanel/InformationPanelBody.d.ts +1 -9
- package/cjs/core/InformationPanel/InformationPanelBody.js +1 -34
- package/cjs/core/InformationPanel/InformationPanelContent.d.ts +4 -4
- package/cjs/core/InformationPanel/InformationPanelContent.js +3 -5
- package/cjs/core/InformationPanel/InformationPanelHeader.d.ts +4 -4
- package/cjs/core/InformationPanel/InformationPanelHeader.js +5 -7
- package/cjs/core/InformationPanel/InformationPanelWrapper.d.ts +1 -6
- package/cjs/core/InformationPanel/InformationPanelWrapper.js +1 -34
- package/cjs/core/InformationPanel/index.d.ts +0 -5
- package/cjs/core/Input/Input.d.ts +3 -13
- package/cjs/core/Input/Input.js +1 -2
- package/cjs/core/Input/index.d.ts +0 -1
- package/cjs/core/InputGroup/InputGroup.d.ts +4 -4
- package/cjs/core/InputGroup/InputGroup.js +5 -7
- package/cjs/core/InputGroup/index.d.ts +0 -1
- package/cjs/core/Label/Label.d.ts +3 -9
- package/cjs/core/Label/Label.js +5 -7
- package/cjs/core/Label/index.d.ts +0 -1
- package/cjs/core/LabeledInput/LabeledInput.d.ts +2 -46
- package/cjs/core/LabeledInput/LabeledInput.js +0 -1
- package/cjs/core/LabeledInput/index.d.ts +0 -1
- package/cjs/core/LabeledSelect/LabeledSelect.d.ts +1 -1
- package/cjs/core/LabeledSelect/LabeledSelect.js +0 -1
- package/cjs/core/LabeledSelect/index.d.ts +0 -1
- package/cjs/core/LabeledTextarea/LabeledTextarea.d.ts +4 -26
- package/cjs/core/LabeledTextarea/LabeledTextarea.js +0 -1
- package/cjs/core/LabeledTextarea/index.d.ts +0 -1
- package/cjs/core/List/List.d.ts +1 -5
- package/cjs/core/List/List.js +2 -33
- package/cjs/core/List/ListItem.d.ts +6 -13
- package/cjs/core/List/ListItem.js +9 -15
- package/cjs/core/List/index.d.ts +0 -2
- package/cjs/core/Menu/Menu.d.ts +4 -27
- package/cjs/core/Menu/Menu.js +2 -3
- package/cjs/core/Menu/MenuDivider.d.ts +1 -4
- package/cjs/core/Menu/MenuDivider.js +3 -34
- package/cjs/core/Menu/MenuExtraContent.d.ts +1 -6
- package/cjs/core/Menu/MenuExtraContent.js +3 -34
- package/cjs/core/Menu/MenuItem.d.ts +14 -60
- package/cjs/core/Menu/MenuItem.js +12 -23
- package/cjs/core/Menu/MenuItemSkeleton.d.ts +4 -5
- package/cjs/core/Menu/MenuItemSkeleton.js +8 -10
- package/cjs/core/Menu/index.d.ts +0 -5
- package/cjs/core/Modal/Modal.d.ts +5 -5
- package/cjs/core/Modal/Modal.js +3 -5
- package/cjs/core/Modal/ModalButtonBar.d.ts +1 -9
- package/cjs/core/Modal/ModalButtonBar.js +1 -26
- package/cjs/core/Modal/ModalContent.d.ts +1 -9
- package/cjs/core/Modal/ModalContent.js +1 -26
- package/cjs/core/Modal/index.d.ts +0 -3
- package/cjs/core/NonIdealState/NonIdealState.d.ts +4 -3
- package/cjs/core/NonIdealState/NonIdealState.js +7 -9
- package/cjs/core/NonIdealState/index.d.ts +1 -2
- package/cjs/core/NotificationMarker/NotificationMarker.d.ts +4 -3
- package/cjs/core/NotificationMarker/NotificationMarker.js +1 -2
- package/cjs/core/NotificationMarker/index.d.ts +0 -1
- package/cjs/core/ProgressIndicators/ProgressLinear/ProgressLinear.d.ts +4 -4
- package/cjs/core/ProgressIndicators/ProgressLinear/ProgressLinear.js +8 -10
- package/cjs/core/ProgressIndicators/ProgressLinear/index.d.ts +0 -1
- package/cjs/core/ProgressIndicators/ProgressRadial/ProgressRadial.d.ts +4 -4
- package/cjs/core/ProgressIndicators/ProgressRadial/ProgressRadial.js +10 -12
- package/cjs/core/ProgressIndicators/ProgressRadial/index.d.ts +0 -1
- package/cjs/core/ProgressIndicators/index.d.ts +0 -2
- package/cjs/core/Radio/Radio.d.ts +4 -17
- package/cjs/core/Radio/Radio.js +3 -4
- package/cjs/core/Radio/index.d.ts +0 -1
- package/cjs/core/RadioTiles/RadioTile.d.ts +4 -21
- package/cjs/core/RadioTiles/RadioTile.js +6 -10
- package/cjs/core/RadioTiles/RadioTileGroup.d.ts +5 -4
- package/cjs/core/RadioTiles/RadioTileGroup.js +4 -6
- package/cjs/core/RadioTiles/index.d.ts +0 -2
- package/cjs/core/SearchBox/SearchBox.d.ts +4 -16
- package/cjs/core/SearchBox/SearchBox.js +1 -2
- package/cjs/core/SearchBox/index.d.ts +0 -1
- package/cjs/core/Select/Select.d.ts +6 -1
- package/cjs/core/Select/Select.js +12 -12
- package/cjs/core/Select/SelectTag.d.ts +4 -5
- package/cjs/core/Select/SelectTag.js +4 -6
- package/cjs/core/Select/SelectTagContainer.d.ts +4 -8
- package/cjs/core/Select/SelectTagContainer.js +1 -2
- package/cjs/core/Select/index.d.ts +1 -1
- package/cjs/core/SideNavigation/SideNavigation.d.ts +4 -4
- package/cjs/core/SideNavigation/SideNavigation.js +7 -9
- package/cjs/core/SideNavigation/SidenavButton.d.ts +3 -4
- package/cjs/core/SideNavigation/SidenavButton.js +2 -6
- package/cjs/core/SideNavigation/SidenavSubmenu.d.ts +2 -14
- package/cjs/core/SideNavigation/SidenavSubmenu.js +2 -3
- package/cjs/core/SideNavigation/SidenavSubmenuHeader.d.ts +4 -8
- package/cjs/core/SideNavigation/SidenavSubmenuHeader.js +5 -7
- package/cjs/core/SideNavigation/index.d.ts +0 -4
- package/cjs/core/SkipToContentLink/SkipToContentLink.d.ts +4 -13
- package/cjs/core/SkipToContentLink/SkipToContentLink.js +1 -2
- package/cjs/core/SkipToContentLink/index.d.ts +0 -1
- package/cjs/core/Slider/Slider.d.ts +4 -99
- package/cjs/core/Slider/Slider.js +6 -7
- package/cjs/core/Slider/Thumb.d.ts +3 -2
- package/cjs/core/Slider/Thumb.js +2 -1
- package/cjs/core/Slider/index.d.ts +0 -1
- package/cjs/core/StatusMessage/StatusMessage.d.ts +1 -1
- package/cjs/core/StatusMessage/StatusMessage.js +3 -18
- package/cjs/core/StatusMessage/index.d.ts +0 -1
- package/cjs/core/Stepper/Stepper.d.ts +2 -2
- package/cjs/core/Stepper/Stepper.js +3 -4
- package/cjs/core/Stepper/StepperStep.d.ts +3 -4
- package/cjs/core/Stepper/StepperStep.js +8 -8
- package/cjs/core/Stepper/Wizard.js +3 -1
- package/cjs/core/Stepper/WorkflowDiagram.d.ts +3 -3
- package/cjs/core/Stepper/WorkflowDiagram.js +5 -4
- package/cjs/core/Stepper/WorkflowDiagramStep.d.ts +2 -2
- package/cjs/core/Stepper/WorkflowDiagramStep.js +3 -2
- package/cjs/core/Stepper/index.d.ts +2 -3
- package/cjs/core/Surface/Surface.d.ts +5 -17
- package/cjs/core/Surface/Surface.js +7 -6
- package/cjs/core/Surface/index.d.ts +0 -1
- package/cjs/core/Table/Table.js +1 -1
- package/cjs/core/Table/TablePaginator.js +1 -1
- package/cjs/core/Table/columns/actionColumn.js +1 -1
- package/cjs/core/Table/columns/expanderColumn.d.ts +1 -1
- package/cjs/core/Table/columns/expanderColumn.js +1 -1
- package/cjs/core/Table/filters/BaseFilter.js +1 -1
- package/cjs/core/Table/filters/DateRangeFilter/DatePickerInput.d.ts +3 -3
- package/cjs/core/Table/filters/DateRangeFilter/DateRangeFilter.js +1 -1
- package/cjs/core/Table/filters/FilterButtonBar.js +1 -1
- package/cjs/core/Table/filters/FilterToggle.d.ts +2 -2
- 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/Tabs/Tab.d.ts +10 -3
- package/cjs/core/Tabs/Tab.js +7 -13
- package/cjs/core/Tabs/Tabs.d.ts +2 -2
- package/cjs/core/Tabs/Tabs.js +6 -9
- package/cjs/core/Tabs/index.d.ts +0 -2
- package/cjs/core/Tag/Tag.d.ts +4 -4
- package/cjs/core/Tag/Tag.js +5 -7
- package/cjs/core/Tag/TagContainer.d.ts +4 -4
- package/cjs/core/Tag/TagContainer.js +4 -6
- package/cjs/core/Tag/index.d.ts +0 -2
- package/cjs/core/Textarea/Textarea.d.ts +3 -9
- package/cjs/core/Textarea/Textarea.js +1 -2
- package/cjs/core/Textarea/index.d.ts +0 -1
- package/cjs/core/ThemeProvider/ThemeContext.d.ts +7 -0
- package/cjs/core/{Typography/Small/Small.js → ThemeProvider/ThemeContext.js} +2 -18
- package/cjs/core/ThemeProvider/ThemeProvider.d.ts +11 -12
- package/cjs/core/ThemeProvider/ThemeProvider.js +6 -16
- package/cjs/core/ThemeProvider/index.d.ts +1 -1
- package/cjs/core/Tile/Tile.d.ts +6 -7
- package/cjs/core/Tile/Tile.js +17 -19
- package/cjs/core/Tile/index.d.ts +0 -1
- package/cjs/core/TimePicker/TimePicker.d.ts +3 -3
- package/cjs/core/TimePicker/TimePicker.js +5 -7
- package/cjs/core/TimePicker/index.d.ts +1 -1
- package/cjs/core/Toast/Toast.js +5 -5
- package/cjs/core/Toast/ToastWrapper.js +2 -1
- package/cjs/core/ToggleSwitch/ToggleSwitch.d.ts +4 -3
- package/cjs/core/ToggleSwitch/ToggleSwitch.js +3 -9
- package/cjs/core/ToggleSwitch/index.d.ts +0 -1
- package/cjs/core/Tooltip/Tooltip.js +1 -2
- package/cjs/core/Tooltip/index.d.ts +0 -1
- package/cjs/core/Tree/Tree.d.ts +1 -1
- package/cjs/core/Tree/Tree.js +4 -4
- package/cjs/core/Tree/TreeNode.d.ts +1 -1
- package/cjs/core/Tree/TreeNode.js +10 -15
- package/cjs/core/Tree/TreeNodeExpander.d.ts +4 -4
- package/cjs/core/Tree/TreeNodeExpander.js +3 -4
- package/cjs/core/Tree/index.d.ts +1 -3
- package/cjs/core/Typography/Anchor/Anchor.d.ts +1 -5
- package/cjs/core/Typography/Anchor/Anchor.js +1 -33
- package/cjs/core/Typography/Anchor/index.d.ts +0 -1
- package/cjs/core/Typography/Blockquote/Blockquote.d.ts +4 -8
- package/cjs/core/Typography/Blockquote/Blockquote.js +1 -2
- package/cjs/core/Typography/Blockquote/index.d.ts +0 -1
- package/cjs/core/Typography/Code/Code.d.ts +1 -9
- package/cjs/core/Typography/Code/Code.js +1 -34
- package/cjs/core/Typography/Code/index.d.ts +0 -1
- package/cjs/core/Typography/Kbd/Kbd.d.ts +4 -5
- package/cjs/core/Typography/Kbd/Kbd.js +3 -5
- package/cjs/core/Typography/Kbd/index.d.ts +0 -1
- package/cjs/core/Typography/Text/Text.d.ts +3 -6
- package/cjs/core/Typography/Text/Text.js +2 -3
- package/cjs/core/Typography/Text/index.d.ts +0 -1
- package/cjs/core/Typography/index.d.ts +0 -17
- package/cjs/core/Typography/index.js +10 -22
- package/cjs/core/index.d.ts +10 -57
- package/cjs/core/index.js +1 -8
- package/cjs/core/utils/components/Box.d.ts +6 -0
- package/cjs/core/{Typography/Leading/index.js → utils/components/Box.js} +8 -4
- package/cjs/core/utils/components/Divider.d.ts +4 -4
- package/cjs/core/utils/components/Divider.js +2 -3
- package/cjs/core/utils/components/Flex.d.ts +1 -4
- package/cjs/core/utils/components/Flex.js +10 -6
- package/cjs/core/utils/components/Icon.d.ts +2 -24
- package/cjs/core/utils/components/Icon.js +2 -1
- package/cjs/core/utils/components/InputContainer.js +6 -10
- package/cjs/core/utils/components/InputFlexContainer.d.ts +3 -5
- package/cjs/core/utils/components/InputFlexContainer.js +3 -2
- package/cjs/core/utils/components/LinkAction.d.ts +2 -8
- package/cjs/core/utils/components/LinkAction.js +3 -36
- package/cjs/core/utils/components/Popover.d.ts +1 -1
- package/cjs/core/utils/components/Popover.js +2 -2
- package/cjs/core/utils/components/VisuallyHidden.d.ts +1 -2
- package/cjs/core/utils/components/VisuallyHidden.js +3 -4
- package/cjs/core/utils/components/index.d.ts +1 -0
- package/cjs/core/utils/components/index.js +1 -0
- package/cjs/core/utils/functions/index.d.ts +1 -0
- package/cjs/core/utils/functions/index.js +1 -0
- package/cjs/core/utils/functions/polymorphic.d.ts +198 -0
- package/cjs/core/utils/functions/polymorphic.js +81 -0
- package/cjs/core/utils/hooks/index.d.ts +1 -1
- package/cjs/core/utils/hooks/index.js +1 -1
- package/cjs/core/utils/hooks/useGlobals.d.ts +10 -0
- package/cjs/core/utils/hooks/useGlobals.js +79 -0
- package/cjs/core/utils/hooks/useIsThemeAlreadySet.js +2 -2
- package/cjs/core/utils/icons/Svg.d.ts +1 -0
- package/cjs/core/{Typography/Body/index.js → utils/icons/Svg.js} +3 -4
- package/cjs/core/utils/icons/SvgCalendar.d.ts +1 -1
- package/cjs/core/utils/icons/SvgCalendar.js +2 -1
- package/cjs/core/utils/icons/SvgCaretDownSmall.d.ts +1 -1
- package/cjs/core/utils/icons/SvgCaretDownSmall.js +2 -1
- package/cjs/core/utils/icons/SvgCaretRightSmall.d.ts +1 -1
- package/cjs/core/utils/icons/SvgCaretRightSmall.js +2 -1
- package/cjs/core/utils/icons/SvgCaretUpSmall.d.ts +1 -1
- package/cjs/core/utils/icons/SvgCaretUpSmall.js +2 -1
- package/cjs/core/utils/icons/SvgCheckmark.d.ts +1 -1
- package/cjs/core/utils/icons/SvgCheckmark.js +2 -1
- package/cjs/core/utils/icons/SvgCheckmarkSmall.d.ts +1 -1
- package/cjs/core/utils/icons/SvgCheckmarkSmall.js +2 -1
- package/cjs/core/utils/icons/SvgChevronLeft.d.ts +1 -1
- package/cjs/core/utils/icons/SvgChevronLeft.js +2 -1
- package/cjs/core/utils/icons/SvgChevronLeftDouble.d.ts +1 -1
- package/cjs/core/utils/icons/SvgChevronLeftDouble.js +2 -1
- package/cjs/core/utils/icons/SvgChevronRight.d.ts +1 -1
- package/cjs/core/utils/icons/SvgChevronRight.js +2 -1
- package/cjs/core/utils/icons/SvgChevronRightDouble.d.ts +1 -1
- package/cjs/core/utils/icons/SvgChevronRightDouble.js +2 -1
- package/cjs/core/utils/icons/SvgClose.d.ts +1 -1
- package/cjs/core/utils/icons/SvgClose.js +2 -1
- package/cjs/core/utils/icons/SvgCloseSmall.d.ts +1 -1
- package/cjs/core/utils/icons/SvgCloseSmall.js +2 -1
- package/cjs/core/utils/icons/SvgColumnManager.d.ts +1 -1
- package/cjs/core/utils/icons/SvgColumnManager.js +2 -1
- package/cjs/core/utils/icons/SvgDocument.d.ts +1 -1
- package/cjs/core/utils/icons/SvgDocument.js +2 -1
- package/cjs/core/utils/icons/SvgFilter.d.ts +1 -1
- package/cjs/core/utils/icons/SvgFilter.js +2 -1
- package/cjs/core/utils/icons/SvgFilterHollow.d.ts +1 -1
- package/cjs/core/utils/icons/SvgFilterHollow.js +2 -1
- package/cjs/core/utils/icons/SvgImportantSmall.d.ts +1 -1
- package/cjs/core/utils/icons/SvgImportantSmall.js +2 -1
- package/cjs/core/utils/icons/SvgInfoCircular.d.ts +1 -1
- package/cjs/core/utils/icons/SvgInfoCircular.js +2 -1
- package/cjs/core/utils/icons/SvgMore.d.ts +1 -1
- package/cjs/core/utils/icons/SvgMore.js +2 -1
- package/cjs/core/utils/icons/SvgMoreVertical.d.ts +1 -1
- package/cjs/core/utils/icons/SvgMoreVertical.js +2 -1
- package/cjs/core/utils/icons/SvgNew.d.ts +1 -1
- package/cjs/core/utils/icons/SvgNew.js +2 -1
- package/cjs/core/utils/icons/SvgSearch.d.ts +1 -1
- package/cjs/core/utils/icons/SvgSearch.js +2 -1
- package/cjs/core/utils/icons/SvgSmileyHappy.d.ts +1 -1
- package/cjs/core/utils/icons/SvgSmileyHappy.js +2 -1
- package/cjs/core/utils/icons/SvgSortDown.d.ts +1 -1
- package/cjs/core/utils/icons/SvgSortDown.js +2 -1
- package/cjs/core/utils/icons/SvgSortUp.d.ts +1 -1
- package/cjs/core/utils/icons/SvgSortUp.js +2 -1
- package/cjs/core/utils/icons/SvgStatusError.d.ts +1 -1
- package/cjs/core/utils/icons/SvgStatusError.js +2 -1
- package/cjs/core/utils/icons/SvgStatusSuccess.d.ts +1 -1
- package/cjs/core/utils/icons/SvgStatusSuccess.js +2 -1
- package/cjs/core/utils/icons/SvgStatusWarning.d.ts +1 -1
- package/cjs/core/utils/icons/SvgStatusWarning.js +2 -1
- package/cjs/core/utils/icons/SvgSwap.d.ts +1 -1
- package/cjs/core/utils/icons/SvgSwap.js +2 -1
- package/cjs/core/utils/icons/SvgUpload.d.ts +1 -1
- package/cjs/core/utils/icons/SvgUpload.js +2 -1
- package/cjs/core/utils/props.d.ts +10 -33
- package/cjs/types/react-table-config.d.ts +1 -1
- package/esm/core/Alert/Alert.d.ts +4 -4
- package/esm/core/Alert/Alert.js +9 -10
- package/esm/core/Alert/index.d.ts +0 -1
- package/esm/core/Avatar/Avatar.d.ts +6 -14
- package/esm/core/Avatar/Avatar.js +7 -8
- package/esm/core/Avatar/index.d.ts +0 -1
- package/esm/core/AvatarGroup/AvatarGroup.d.ts +5 -9
- package/esm/core/AvatarGroup/AvatarGroup.js +15 -17
- package/esm/core/AvatarGroup/index.d.ts +0 -1
- package/esm/core/Backdrop/Backdrop.d.ts +3 -3
- package/esm/core/Backdrop/Backdrop.js +2 -3
- package/esm/core/Backdrop/index.d.ts +0 -1
- package/esm/core/Badge/Badge.d.ts +4 -6
- package/esm/core/Badge/Badge.js +4 -5
- package/esm/core/Badge/index.d.ts +0 -1
- package/esm/core/Breadcrumbs/Breadcrumbs.d.ts +4 -77
- package/esm/core/Breadcrumbs/Breadcrumbs.js +6 -7
- package/esm/core/Breadcrumbs/index.d.ts +0 -1
- package/esm/core/ButtonGroup/ButtonGroup.d.ts +4 -3
- package/esm/core/ButtonGroup/ButtonGroup.js +16 -14
- package/esm/core/ButtonGroup/index.d.ts +0 -1
- package/esm/core/Buttons/Button/Button.d.ts +4 -10
- package/esm/core/Buttons/Button/Button.js +5 -6
- package/esm/core/Buttons/Button/index.d.ts +0 -1
- package/esm/core/Buttons/DropdownButton/DropdownButton.d.ts +5 -21
- package/esm/core/Buttons/DropdownButton/DropdownButton.js +1 -2
- package/esm/core/Buttons/DropdownButton/index.d.ts +0 -1
- package/esm/core/Buttons/IconButton/IconButton.d.ts +2 -3
- package/esm/core/Buttons/IconButton/IconButton.js +5 -6
- package/esm/core/Buttons/IconButton/index.d.ts +0 -1
- package/esm/core/Buttons/IdeasButton/IdeasButton.d.ts +3 -3
- package/esm/core/Buttons/IdeasButton/IdeasButton.js +1 -2
- package/esm/core/Buttons/IdeasButton/index.d.ts +0 -1
- package/esm/core/Buttons/SplitButton/SplitButton.d.ts +2 -3
- package/esm/core/Buttons/SplitButton/SplitButton.js +2 -3
- package/esm/core/Buttons/SplitButton/index.d.ts +0 -1
- package/esm/core/Buttons/index.d.ts +0 -5
- package/esm/core/Carousel/Carousel.d.ts +24 -26
- package/esm/core/Carousel/Carousel.js +23 -23
- package/esm/core/Carousel/CarouselDot.d.ts +11 -9
- package/esm/core/Carousel/CarouselDot.js +2 -1
- package/esm/core/Carousel/CarouselDotsList.d.ts +11 -9
- package/esm/core/Carousel/CarouselDotsList.js +2 -3
- package/esm/core/Carousel/CarouselNavigation.d.ts +14 -5
- package/esm/core/Carousel/CarouselNavigation.js +14 -10
- package/esm/core/Carousel/CarouselSlide.d.ts +10 -8
- package/esm/core/Carousel/CarouselSlide.js +2 -2
- package/esm/core/Carousel/CarouselSlider.d.ts +2 -2
- package/esm/core/Carousel/CarouselSlider.js +2 -2
- package/esm/core/Carousel/index.d.ts +0 -1
- package/esm/core/Checkbox/Checkbox.d.ts +4 -31
- package/esm/core/Checkbox/Checkbox.js +4 -5
- package/esm/core/Checkbox/index.d.ts +0 -1
- package/esm/core/ColorPicker/ColorBuilder.d.ts +2 -4
- package/esm/core/ColorPicker/ColorBuilder.js +4 -5
- package/esm/core/ColorPicker/ColorInputPanel.d.ts +4 -18
- package/esm/core/ColorPicker/ColorInputPanel.js +5 -6
- package/esm/core/ColorPicker/ColorPalette.d.ts +3 -16
- package/esm/core/ColorPicker/ColorPalette.js +4 -5
- package/esm/core/ColorPicker/ColorPicker.d.ts +4 -4
- package/esm/core/ColorPicker/ColorPicker.js +4 -5
- package/esm/core/ColorPicker/ColorSwatch.d.ts +4 -5
- package/esm/core/ColorPicker/ColorSwatch.js +2 -3
- package/esm/core/ColorPicker/index.d.ts +0 -5
- package/esm/core/ComboBox/ComboBox.d.ts +4 -4
- package/esm/core/ComboBox/ComboBox.js +6 -8
- package/esm/core/ComboBox/ComboBoxDropdown.d.ts +3 -3
- package/esm/core/ComboBox/ComboBoxEndIcon.d.ts +7 -5
- package/esm/core/ComboBox/ComboBoxEndIcon.js +2 -2
- package/esm/core/ComboBox/ComboBoxInput.d.ts +7 -6
- package/esm/core/ComboBox/ComboBoxInputContainer.d.ts +3 -7
- package/esm/core/ComboBox/ComboBoxInputContainer.js +5 -5
- package/esm/core/ComboBox/ComboBoxMenu.d.ts +5 -2
- package/esm/core/ComboBox/ComboBoxMenu.js +2 -2
- package/esm/core/ComboBox/ComboBoxMenuItem.d.ts +6 -19
- package/esm/core/ComboBox/ComboBoxMenuItem.js +8 -19
- package/esm/core/ComboBox/ComboBoxMultipleContainer.d.ts +6 -3
- package/esm/core/ComboBox/index.d.ts +0 -1
- package/esm/core/DatePicker/DatePicker.d.ts +4 -4
- package/esm/core/DatePicker/DatePicker.js +10 -11
- package/esm/core/DatePicker/index.d.ts +0 -1
- package/esm/core/Dialog/Dialog.d.ts +13 -9
- package/esm/core/Dialog/Dialog.js +22 -23
- package/esm/core/Dialog/DialogBackdrop.d.ts +4 -4
- package/esm/core/Dialog/DialogBackdrop.js +1 -3
- package/esm/core/Dialog/DialogButtonBar.d.ts +1 -8
- package/esm/core/Dialog/DialogButtonBar.js +2 -8
- package/esm/core/Dialog/DialogContent.d.ts +1 -8
- package/esm/core/Dialog/DialogContent.js +2 -8
- package/esm/core/Dialog/DialogMain.d.ts +3 -2
- package/esm/core/Dialog/DialogMain.js +2 -3
- package/esm/core/Dialog/DialogTitleBar.d.ts +5 -4
- package/esm/core/Dialog/DialogTitleBar.js +2 -3
- package/esm/core/Dialog/DialogTitleBarTitle.d.ts +1 -8
- package/esm/core/Dialog/DialogTitleBarTitle.js +2 -8
- package/esm/core/Dialog/index.d.ts +0 -5
- package/esm/core/DropdownMenu/DropdownMenu.js +1 -2
- package/esm/core/ExpandableBlock/ExpandableBlock.d.ts +4 -4
- package/esm/core/ExpandableBlock/ExpandableBlock.js +10 -11
- package/esm/core/ExpandableBlock/index.d.ts +0 -1
- package/esm/core/Fieldset/Fieldset.d.ts +4 -3
- package/esm/core/Fieldset/Fieldset.js +4 -5
- package/esm/core/Fieldset/index.d.ts +0 -1
- package/esm/core/FileUpload/FileEmptyCard.d.ts +4 -11
- package/esm/core/FileUpload/FileEmptyCard.js +17 -14
- package/esm/core/FileUpload/FileUpload.d.ts +4 -25
- package/esm/core/FileUpload/FileUpload.js +4 -5
- package/esm/core/FileUpload/FileUploadCard.d.ts +11 -51
- package/esm/core/FileUpload/FileUploadCard.js +44 -36
- package/esm/core/FileUpload/FileUploadTemplate.d.ts +4 -3
- package/esm/core/FileUpload/FileUploadTemplate.js +6 -7
- package/esm/core/FileUpload/index.d.ts +0 -4
- package/esm/core/Footer/Footer.d.ts +6 -10
- package/esm/core/Footer/Footer.js +2 -3
- package/esm/core/Footer/FooterItem.d.ts +1 -3
- package/esm/core/Footer/FooterItem.js +2 -8
- package/esm/core/Footer/FooterList.d.ts +1 -3
- package/esm/core/Footer/FooterList.js +2 -8
- package/esm/core/Footer/FooterSeparator.d.ts +1 -3
- package/esm/core/Footer/FooterSeparator.js +4 -8
- package/esm/core/Footer/index.d.ts +1 -1
- package/esm/core/Header/Header.d.ts +5 -5
- package/esm/core/Header/Header.js +8 -9
- package/esm/core/Header/HeaderBasicButton.d.ts +2 -4
- package/esm/core/Header/HeaderBasicButton.js +5 -12
- package/esm/core/Header/HeaderBreadcrumbs.d.ts +3 -2
- package/esm/core/Header/HeaderBreadcrumbs.js +8 -8
- package/esm/core/Header/HeaderButton.d.ts +5 -6
- package/esm/core/Header/HeaderButton.js +9 -22
- package/esm/core/Header/HeaderDropdownButton.d.ts +2 -4
- package/esm/core/Header/HeaderDropdownButton.js +1 -2
- package/esm/core/Header/HeaderLogo.d.ts +1 -2
- package/esm/core/Header/HeaderLogo.js +6 -13
- package/esm/core/Header/HeaderSplitButton.d.ts +2 -4
- package/esm/core/Header/HeaderSplitButton.js +4 -5
- package/esm/core/Header/index.d.ts +0 -4
- package/esm/core/InformationPanel/InformationPanel.d.ts +4 -24
- package/esm/core/InformationPanel/InformationPanel.js +4 -5
- package/esm/core/InformationPanel/InformationPanelBody.d.ts +1 -9
- package/esm/core/InformationPanel/InformationPanelBody.js +2 -8
- package/esm/core/InformationPanel/InformationPanelContent.d.ts +4 -4
- package/esm/core/InformationPanel/InformationPanelContent.js +4 -5
- package/esm/core/InformationPanel/InformationPanelHeader.d.ts +4 -4
- package/esm/core/InformationPanel/InformationPanelHeader.js +6 -7
- package/esm/core/InformationPanel/InformationPanelWrapper.d.ts +1 -6
- package/esm/core/InformationPanel/InformationPanelWrapper.js +2 -8
- package/esm/core/InformationPanel/index.d.ts +0 -5
- package/esm/core/Input/Input.d.ts +3 -13
- package/esm/core/Input/Input.js +2 -3
- package/esm/core/Input/index.d.ts +0 -1
- package/esm/core/InputGroup/InputGroup.d.ts +4 -4
- package/esm/core/InputGroup/InputGroup.js +6 -7
- package/esm/core/InputGroup/index.d.ts +0 -1
- package/esm/core/Label/Label.d.ts +3 -9
- package/esm/core/Label/Label.js +6 -7
- package/esm/core/Label/index.d.ts +0 -1
- package/esm/core/LabeledInput/LabeledInput.d.ts +2 -46
- package/esm/core/LabeledInput/LabeledInput.js +1 -2
- package/esm/core/LabeledInput/index.d.ts +0 -1
- package/esm/core/LabeledSelect/LabeledSelect.d.ts +1 -1
- package/esm/core/LabeledSelect/LabeledSelect.js +1 -2
- package/esm/core/LabeledSelect/index.d.ts +0 -1
- package/esm/core/LabeledTextarea/LabeledTextarea.d.ts +4 -26
- package/esm/core/LabeledTextarea/LabeledTextarea.js +1 -2
- package/esm/core/LabeledTextarea/index.d.ts +0 -1
- package/esm/core/List/List.d.ts +1 -5
- package/esm/core/List/List.js +3 -8
- package/esm/core/List/ListItem.d.ts +6 -13
- package/esm/core/List/ListItem.js +10 -16
- package/esm/core/List/index.d.ts +0 -2
- package/esm/core/Menu/Menu.d.ts +4 -27
- package/esm/core/Menu/Menu.js +3 -4
- package/esm/core/Menu/MenuDivider.d.ts +1 -4
- package/esm/core/Menu/MenuDivider.js +4 -8
- package/esm/core/Menu/MenuExtraContent.d.ts +1 -6
- package/esm/core/Menu/MenuExtraContent.js +4 -8
- package/esm/core/Menu/MenuItem.d.ts +14 -60
- package/esm/core/Menu/MenuItem.js +13 -21
- package/esm/core/Menu/MenuItemSkeleton.d.ts +4 -5
- package/esm/core/Menu/MenuItemSkeleton.js +9 -10
- package/esm/core/Menu/index.d.ts +0 -5
- package/esm/core/Modal/Modal.d.ts +5 -5
- package/esm/core/Modal/Modal.js +4 -5
- package/esm/core/Modal/ModalButtonBar.d.ts +1 -9
- package/esm/core/Modal/ModalButtonBar.js +1 -2
- package/esm/core/Modal/ModalContent.d.ts +1 -9
- package/esm/core/Modal/ModalContent.js +1 -2
- package/esm/core/Modal/index.d.ts +0 -3
- package/esm/core/NonIdealState/NonIdealState.d.ts +4 -3
- package/esm/core/NonIdealState/NonIdealState.js +8 -9
- package/esm/core/NonIdealState/index.d.ts +1 -2
- package/esm/core/NotificationMarker/NotificationMarker.d.ts +4 -3
- package/esm/core/NotificationMarker/NotificationMarker.js +2 -3
- package/esm/core/NotificationMarker/index.d.ts +0 -1
- package/esm/core/ProgressIndicators/ProgressLinear/ProgressLinear.d.ts +4 -4
- package/esm/core/ProgressIndicators/ProgressLinear/ProgressLinear.js +9 -10
- package/esm/core/ProgressIndicators/ProgressLinear/index.d.ts +0 -1
- package/esm/core/ProgressIndicators/ProgressRadial/ProgressRadial.d.ts +4 -4
- package/esm/core/ProgressIndicators/ProgressRadial/ProgressRadial.js +11 -12
- package/esm/core/ProgressIndicators/ProgressRadial/index.d.ts +0 -1
- package/esm/core/ProgressIndicators/index.d.ts +0 -2
- package/esm/core/Radio/Radio.d.ts +4 -17
- package/esm/core/Radio/Radio.js +4 -5
- package/esm/core/Radio/index.d.ts +0 -1
- package/esm/core/RadioTiles/RadioTile.d.ts +4 -21
- package/esm/core/RadioTiles/RadioTile.js +7 -11
- package/esm/core/RadioTiles/RadioTileGroup.d.ts +5 -4
- package/esm/core/RadioTiles/RadioTileGroup.js +5 -6
- package/esm/core/RadioTiles/index.d.ts +0 -2
- package/esm/core/SearchBox/SearchBox.d.ts +4 -16
- package/esm/core/SearchBox/SearchBox.js +2 -3
- package/esm/core/SearchBox/index.d.ts +0 -1
- package/esm/core/Select/Select.d.ts +6 -1
- package/esm/core/Select/Select.js +13 -13
- package/esm/core/Select/SelectTag.d.ts +4 -5
- package/esm/core/Select/SelectTag.js +5 -6
- package/esm/core/Select/SelectTagContainer.d.ts +4 -8
- package/esm/core/Select/SelectTagContainer.js +2 -3
- package/esm/core/Select/index.d.ts +1 -1
- package/esm/core/SideNavigation/SideNavigation.d.ts +4 -4
- package/esm/core/SideNavigation/SideNavigation.js +8 -9
- package/esm/core/SideNavigation/SidenavButton.d.ts +3 -4
- package/esm/core/SideNavigation/SidenavButton.js +1 -5
- package/esm/core/SideNavigation/SidenavSubmenu.d.ts +2 -14
- package/esm/core/SideNavigation/SidenavSubmenu.js +3 -4
- package/esm/core/SideNavigation/SidenavSubmenuHeader.d.ts +4 -8
- package/esm/core/SideNavigation/SidenavSubmenuHeader.js +6 -7
- package/esm/core/SideNavigation/index.d.ts +0 -4
- package/esm/core/SkipToContentLink/SkipToContentLink.d.ts +4 -13
- package/esm/core/SkipToContentLink/SkipToContentLink.js +2 -3
- package/esm/core/SkipToContentLink/index.d.ts +0 -1
- package/esm/core/Slider/Slider.d.ts +4 -99
- package/esm/core/Slider/Slider.js +7 -8
- package/esm/core/Slider/Thumb.d.ts +3 -2
- package/esm/core/Slider/Thumb.js +2 -1
- package/esm/core/Slider/index.d.ts +0 -1
- package/esm/core/StatusMessage/StatusMessage.d.ts +1 -1
- package/esm/core/StatusMessage/StatusMessage.js +4 -16
- package/esm/core/StatusMessage/index.d.ts +0 -1
- package/esm/core/Stepper/Stepper.d.ts +2 -2
- package/esm/core/Stepper/Stepper.js +4 -5
- package/esm/core/Stepper/StepperStep.d.ts +3 -4
- package/esm/core/Stepper/StepperStep.js +8 -7
- package/esm/core/Stepper/Wizard.js +3 -1
- package/esm/core/Stepper/WorkflowDiagram.d.ts +3 -3
- package/esm/core/Stepper/WorkflowDiagram.js +6 -5
- package/esm/core/Stepper/WorkflowDiagramStep.d.ts +2 -2
- package/esm/core/Stepper/WorkflowDiagramStep.js +3 -2
- package/esm/core/Stepper/index.d.ts +2 -3
- package/esm/core/Surface/Surface.d.ts +5 -17
- package/esm/core/Surface/Surface.js +8 -7
- package/esm/core/Surface/index.d.ts +0 -1
- package/esm/core/Table/Table.js +2 -2
- package/esm/core/Table/TablePaginator.js +2 -2
- package/esm/core/Table/columns/actionColumn.js +1 -1
- package/esm/core/Table/columns/expanderColumn.d.ts +1 -1
- package/esm/core/Table/columns/expanderColumn.js +1 -1
- package/esm/core/Table/filters/BaseFilter.js +2 -2
- package/esm/core/Table/filters/DateRangeFilter/DatePickerInput.d.ts +3 -3
- package/esm/core/Table/filters/DateRangeFilter/DateRangeFilter.js +2 -2
- package/esm/core/Table/filters/FilterButtonBar.js +2 -2
- package/esm/core/Table/filters/FilterToggle.d.ts +2 -2
- package/esm/core/Table/filters/FilterToggle.js +2 -2
- package/esm/core/Table/filters/NumberRangeFilter/NumberRangeFilter.js +2 -2
- package/esm/core/Table/filters/TextFilter/TextFilter.js +2 -2
- package/esm/core/Tabs/Tab.d.ts +10 -3
- package/esm/core/Tabs/Tab.js +8 -13
- package/esm/core/Tabs/Tabs.d.ts +2 -2
- package/esm/core/Tabs/Tabs.js +7 -10
- package/esm/core/Tabs/index.d.ts +0 -2
- package/esm/core/Tag/Tag.d.ts +4 -4
- package/esm/core/Tag/Tag.js +6 -7
- package/esm/core/Tag/TagContainer.d.ts +4 -4
- package/esm/core/Tag/TagContainer.js +5 -6
- package/esm/core/Tag/index.d.ts +0 -2
- package/esm/core/Textarea/Textarea.d.ts +3 -9
- package/esm/core/Textarea/Textarea.js +2 -3
- package/esm/core/Textarea/index.d.ts +0 -1
- package/esm/core/ThemeProvider/ThemeContext.d.ts +7 -0
- package/esm/core/{Typography/Body/index.js → ThemeProvider/ThemeContext.js} +2 -2
- package/esm/core/ThemeProvider/ThemeProvider.d.ts +11 -12
- package/esm/core/ThemeProvider/ThemeProvider.js +4 -14
- package/esm/core/ThemeProvider/index.d.ts +1 -1
- package/esm/core/Tile/Tile.d.ts +6 -7
- package/esm/core/Tile/Tile.js +18 -19
- package/esm/core/Tile/index.d.ts +0 -1
- package/esm/core/TimePicker/TimePicker.d.ts +3 -3
- package/esm/core/TimePicker/TimePicker.js +6 -7
- package/esm/core/TimePicker/index.d.ts +1 -1
- package/esm/core/Toast/Toast.js +6 -6
- package/esm/core/Toast/ToastWrapper.js +2 -1
- package/esm/core/ToggleSwitch/ToggleSwitch.d.ts +4 -3
- package/esm/core/ToggleSwitch/ToggleSwitch.js +4 -10
- package/esm/core/ToggleSwitch/index.d.ts +0 -1
- package/esm/core/Tooltip/Tooltip.js +2 -3
- package/esm/core/Tooltip/index.d.ts +0 -1
- package/esm/core/Tree/Tree.d.ts +1 -1
- package/esm/core/Tree/Tree.js +5 -5
- package/esm/core/Tree/TreeNode.d.ts +1 -1
- package/esm/core/Tree/TreeNode.js +11 -16
- package/esm/core/Tree/TreeNodeExpander.d.ts +4 -4
- package/esm/core/Tree/TreeNodeExpander.js +3 -3
- package/esm/core/Tree/index.d.ts +1 -3
- package/esm/core/Typography/Anchor/Anchor.d.ts +1 -5
- package/esm/core/Typography/Anchor/Anchor.js +2 -8
- package/esm/core/Typography/Anchor/index.d.ts +0 -1
- package/esm/core/Typography/Blockquote/Blockquote.d.ts +4 -8
- package/esm/core/Typography/Blockquote/Blockquote.js +2 -3
- package/esm/core/Typography/Blockquote/index.d.ts +0 -1
- package/esm/core/Typography/Code/Code.d.ts +1 -9
- package/esm/core/Typography/Code/Code.js +2 -8
- package/esm/core/Typography/Code/index.d.ts +0 -1
- package/esm/core/Typography/Kbd/Kbd.d.ts +4 -5
- package/esm/core/Typography/Kbd/Kbd.js +4 -5
- package/esm/core/Typography/Kbd/index.d.ts +0 -1
- package/esm/core/Typography/Text/Text.d.ts +3 -6
- package/esm/core/Typography/Text/Text.js +3 -4
- package/esm/core/Typography/Text/index.d.ts +0 -1
- package/esm/core/Typography/index.d.ts +0 -17
- package/esm/core/Typography/index.js +0 -6
- package/esm/core/index.d.ts +10 -57
- package/esm/core/index.js +2 -2
- package/esm/core/utils/components/Box.d.ts +6 -0
- package/esm/core/{Typography/Leading/index.js → utils/components/Box.js} +7 -2
- package/esm/core/utils/components/Divider.d.ts +4 -4
- package/esm/core/utils/components/Divider.js +2 -3
- package/esm/core/utils/components/Flex.d.ts +1 -4
- package/esm/core/utils/components/Flex.js +10 -6
- package/esm/core/utils/components/Icon.d.ts +2 -24
- package/esm/core/utils/components/Icon.js +2 -1
- package/esm/core/utils/components/InputContainer.js +6 -10
- package/esm/core/utils/components/InputFlexContainer.d.ts +3 -5
- package/esm/core/utils/components/InputFlexContainer.js +3 -2
- package/esm/core/utils/components/LinkAction.d.ts +2 -8
- package/esm/core/utils/components/LinkAction.js +3 -10
- package/esm/core/utils/components/Popover.d.ts +1 -1
- package/esm/core/utils/components/Popover.js +1 -1
- package/esm/core/utils/components/VisuallyHidden.d.ts +1 -2
- package/esm/core/utils/components/VisuallyHidden.js +3 -4
- package/esm/core/utils/components/index.d.ts +1 -0
- package/esm/core/utils/components/index.js +1 -0
- package/esm/core/utils/functions/index.d.ts +1 -0
- package/esm/core/utils/functions/index.js +1 -0
- package/esm/core/utils/functions/polymorphic.d.ts +198 -0
- package/esm/core/utils/functions/polymorphic.js +52 -0
- package/esm/core/utils/hooks/index.d.ts +1 -1
- package/esm/core/utils/hooks/index.js +1 -1
- package/esm/core/utils/hooks/useGlobals.d.ts +10 -0
- package/esm/core/utils/hooks/useGlobals.js +51 -0
- package/esm/core/utils/hooks/useIsThemeAlreadySet.js +1 -1
- package/esm/core/utils/icons/Svg.d.ts +1 -0
- package/esm/core/{Typography/Headline/index.js → utils/icons/Svg.js} +2 -2
- package/esm/core/utils/icons/SvgCalendar.d.ts +1 -1
- package/esm/core/utils/icons/SvgCalendar.js +2 -1
- package/esm/core/utils/icons/SvgCaretDownSmall.d.ts +1 -1
- package/esm/core/utils/icons/SvgCaretDownSmall.js +2 -1
- package/esm/core/utils/icons/SvgCaretRightSmall.d.ts +1 -1
- package/esm/core/utils/icons/SvgCaretRightSmall.js +2 -1
- package/esm/core/utils/icons/SvgCaretUpSmall.d.ts +1 -1
- package/esm/core/utils/icons/SvgCaretUpSmall.js +2 -1
- package/esm/core/utils/icons/SvgCheckmark.d.ts +1 -1
- package/esm/core/utils/icons/SvgCheckmark.js +2 -1
- package/esm/core/utils/icons/SvgCheckmarkSmall.d.ts +1 -1
- package/esm/core/utils/icons/SvgCheckmarkSmall.js +2 -1
- package/esm/core/utils/icons/SvgChevronLeft.d.ts +1 -1
- package/esm/core/utils/icons/SvgChevronLeft.js +2 -1
- package/esm/core/utils/icons/SvgChevronLeftDouble.d.ts +1 -1
- package/esm/core/utils/icons/SvgChevronLeftDouble.js +2 -1
- package/esm/core/utils/icons/SvgChevronRight.d.ts +1 -1
- package/esm/core/utils/icons/SvgChevronRight.js +2 -1
- package/esm/core/utils/icons/SvgChevronRightDouble.d.ts +1 -1
- package/esm/core/utils/icons/SvgChevronRightDouble.js +2 -1
- package/esm/core/utils/icons/SvgClose.d.ts +1 -1
- package/esm/core/utils/icons/SvgClose.js +2 -1
- package/esm/core/utils/icons/SvgCloseSmall.d.ts +1 -1
- package/esm/core/utils/icons/SvgCloseSmall.js +2 -1
- package/esm/core/utils/icons/SvgColumnManager.d.ts +1 -1
- package/esm/core/utils/icons/SvgColumnManager.js +2 -1
- package/esm/core/utils/icons/SvgDocument.d.ts +1 -1
- package/esm/core/utils/icons/SvgDocument.js +2 -1
- package/esm/core/utils/icons/SvgFilter.d.ts +1 -1
- package/esm/core/utils/icons/SvgFilter.js +2 -1
- package/esm/core/utils/icons/SvgFilterHollow.d.ts +1 -1
- package/esm/core/utils/icons/SvgFilterHollow.js +2 -1
- package/esm/core/utils/icons/SvgImportantSmall.d.ts +1 -1
- package/esm/core/utils/icons/SvgImportantSmall.js +2 -1
- package/esm/core/utils/icons/SvgInfoCircular.d.ts +1 -1
- package/esm/core/utils/icons/SvgInfoCircular.js +2 -1
- package/esm/core/utils/icons/SvgMore.d.ts +1 -1
- package/esm/core/utils/icons/SvgMore.js +2 -1
- package/esm/core/utils/icons/SvgMoreVertical.d.ts +1 -1
- package/esm/core/utils/icons/SvgMoreVertical.js +2 -1
- package/esm/core/utils/icons/SvgNew.d.ts +1 -1
- package/esm/core/utils/icons/SvgNew.js +2 -1
- package/esm/core/utils/icons/SvgSearch.d.ts +1 -1
- package/esm/core/utils/icons/SvgSearch.js +2 -1
- package/esm/core/utils/icons/SvgSmileyHappy.d.ts +1 -1
- package/esm/core/utils/icons/SvgSmileyHappy.js +2 -1
- package/esm/core/utils/icons/SvgSortDown.d.ts +1 -1
- package/esm/core/utils/icons/SvgSortDown.js +2 -1
- package/esm/core/utils/icons/SvgSortUp.d.ts +1 -1
- package/esm/core/utils/icons/SvgSortUp.js +2 -1
- package/esm/core/utils/icons/SvgStatusError.d.ts +1 -1
- package/esm/core/utils/icons/SvgStatusError.js +2 -1
- package/esm/core/utils/icons/SvgStatusSuccess.d.ts +1 -1
- package/esm/core/utils/icons/SvgStatusSuccess.js +2 -1
- package/esm/core/utils/icons/SvgStatusWarning.d.ts +1 -1
- package/esm/core/utils/icons/SvgStatusWarning.js +2 -1
- package/esm/core/utils/icons/SvgSwap.d.ts +1 -1
- package/esm/core/utils/icons/SvgSwap.js +2 -1
- package/esm/core/utils/icons/SvgUpload.d.ts +1 -1
- package/esm/core/utils/icons/SvgUpload.js +2 -1
- package/esm/core/utils/props.d.ts +10 -33
- package/esm/types/react-table-config.d.ts +1 -1
- package/package.json +2 -2
- package/cjs/core/Typography/Body/Body.d.ts +0 -35
- package/cjs/core/Typography/Body/Body.js +0 -51
- package/cjs/core/Typography/Body/index.d.ts +0 -4
- package/cjs/core/Typography/Headline/Headline.d.ts +0 -22
- package/cjs/core/Typography/Headline/Headline.js +0 -48
- package/cjs/core/Typography/Headline/index.d.ts +0 -4
- package/cjs/core/Typography/Headline/index.js +0 -10
- package/cjs/core/Typography/Leading/Leading.d.ts +0 -22
- package/cjs/core/Typography/Leading/Leading.js +0 -48
- package/cjs/core/Typography/Leading/index.d.ts +0 -4
- package/cjs/core/Typography/Small/Small.d.ts +0 -22
- package/cjs/core/Typography/Small/index.d.ts +0 -4
- package/cjs/core/Typography/Small/index.js +0 -10
- package/cjs/core/Typography/Subheading/Subheading.d.ts +0 -22
- package/cjs/core/Typography/Subheading/Subheading.js +0 -48
- package/cjs/core/Typography/Subheading/index.d.ts +0 -4
- package/cjs/core/Typography/Subheading/index.js +0 -10
- package/cjs/core/Typography/Title/Title.d.ts +0 -22
- package/cjs/core/Typography/Title/Title.js +0 -48
- package/cjs/core/Typography/Title/index.d.ts +0 -4
- package/cjs/core/Typography/Title/index.js +0 -10
- package/cjs/core/utils/hooks/useTheme.d.ts +0 -39
- package/cjs/core/utils/hooks/useTheme.js +0 -127
- package/esm/core/Typography/Body/Body.d.ts +0 -35
- package/esm/core/Typography/Body/Body.js +0 -22
- package/esm/core/Typography/Body/index.d.ts +0 -4
- package/esm/core/Typography/Headline/Headline.d.ts +0 -22
- package/esm/core/Typography/Headline/Headline.js +0 -19
- package/esm/core/Typography/Headline/index.d.ts +0 -4
- package/esm/core/Typography/Leading/Leading.d.ts +0 -22
- package/esm/core/Typography/Leading/Leading.js +0 -19
- package/esm/core/Typography/Leading/index.d.ts +0 -4
- package/esm/core/Typography/Small/Small.d.ts +0 -22
- package/esm/core/Typography/Small/Small.js +0 -19
- package/esm/core/Typography/Small/index.d.ts +0 -4
- package/esm/core/Typography/Small/index.js +0 -6
- package/esm/core/Typography/Subheading/Subheading.d.ts +0 -22
- package/esm/core/Typography/Subheading/Subheading.js +0 -19
- package/esm/core/Typography/Subheading/index.d.ts +0 -4
- package/esm/core/Typography/Subheading/index.js +0 -6
- package/esm/core/Typography/Title/Title.d.ts +0 -22
- package/esm/core/Typography/Title/Title.js +0 -19
- package/esm/core/Typography/Title/index.d.ts +0 -4
- package/esm/core/Typography/Title/index.js +0 -6
- package/esm/core/utils/hooks/useTheme.d.ts +0 -39
- package/esm/core/utils/hooks/useTheme.js +0 -100
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import type {
|
|
2
|
+
import type { PolymorphicForwardRefComponent } from '../utils/index.js';
|
|
3
3
|
import '@itwin/itwinui-css/css/information-panel.css';
|
|
4
|
-
|
|
4
|
+
declare type InformationPanelHeaderProps = {
|
|
5
5
|
/**
|
|
6
6
|
* Callback fired when close icon is clicked.
|
|
7
7
|
*
|
|
@@ -23,7 +23,7 @@ export declare type InformationPanelHeaderProps = {
|
|
|
23
23
|
* Content of the panel header.
|
|
24
24
|
*/
|
|
25
25
|
children?: React.ReactNode;
|
|
26
|
-
}
|
|
26
|
+
};
|
|
27
27
|
/**
|
|
28
28
|
* Header of the InformationPanel to be passed in the `header` prop.
|
|
29
29
|
*
|
|
@@ -40,5 +40,5 @@ export declare type InformationPanelHeaderProps = {
|
|
|
40
40
|
* <Text variant='subheading'>InfoPanel heading</Text>
|
|
41
41
|
* </InformationPanelHeader>
|
|
42
42
|
*/
|
|
43
|
-
export declare const InformationPanelHeader:
|
|
43
|
+
export declare const InformationPanelHeader: PolymorphicForwardRefComponent<"div", InformationPanelHeaderProps>;
|
|
44
44
|
export default InformationPanelHeader;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import cx from 'classnames';
|
|
7
7
|
import { IconButton } from '../Buttons/index.js';
|
|
8
|
-
import {
|
|
8
|
+
import { SvgCloseSmall, Box } from '../utils/index.js';
|
|
9
9
|
import '@itwin/itwinui-css/css/information-panel.css';
|
|
10
10
|
/**
|
|
11
11
|
* Header of the InformationPanel to be passed in the `header` prop.
|
|
@@ -23,14 +23,13 @@ import '@itwin/itwinui-css/css/information-panel.css';
|
|
|
23
23
|
* <Text variant='subheading'>InfoPanel heading</Text>
|
|
24
24
|
* </InformationPanelHeader>
|
|
25
25
|
*/
|
|
26
|
-
export const InformationPanelHeader = (props) => {
|
|
26
|
+
export const InformationPanelHeader = React.forwardRef((props, forwardedRef) => {
|
|
27
27
|
const { children, onClose, actions, className, ...rest } = props;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
React.createElement(
|
|
31
|
-
React.createElement("div", { className: 'iui-information-header-actions' },
|
|
28
|
+
return (React.createElement(Box, { className: cx('iui-information-header', className), ref: forwardedRef, ...rest },
|
|
29
|
+
React.createElement(Box, { as: 'span', className: 'iui-information-header-label' }, children),
|
|
30
|
+
React.createElement(Box, { className: 'iui-information-header-actions' },
|
|
32
31
|
actions,
|
|
33
32
|
onClose && (React.createElement(IconButton, { styleType: 'borderless', onClick: onClose, "aria-label": 'Close' },
|
|
34
33
|
React.createElement(SvgCloseSmall, { "aria-hidden": true }))))));
|
|
35
|
-
};
|
|
34
|
+
});
|
|
36
35
|
export default InformationPanelHeader;
|
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import type { CommonProps } from '../utils/index.js';
|
|
3
1
|
import '@itwin/itwinui-css/css/information-panel.css';
|
|
4
|
-
export declare type InformationPanelWrapperProps = {
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
} & Omit<CommonProps, 'title'>;
|
|
7
2
|
/**
|
|
8
3
|
* InformationPanelWrapper should contain the `InformationPanel`
|
|
9
4
|
* and the component over which the panel will overlay.
|
|
@@ -13,5 +8,5 @@ export declare type InformationPanelWrapperProps = {
|
|
|
13
8
|
* <InformationPanel ... />
|
|
14
9
|
* </InformationPanelWrapper>
|
|
15
10
|
*/
|
|
16
|
-
export declare const InformationPanelWrapper: (props
|
|
11
|
+
export declare const InformationPanelWrapper: import("../utils/props.js").PolymorphicForwardRefComponent<"div", {}>;
|
|
17
12
|
export default InformationPanelWrapper;
|
|
@@ -2,9 +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
|
|
6
|
-
import * as React from 'react';
|
|
7
|
-
import { useTheme } from '../utils/index.js';
|
|
5
|
+
import { polymorphic } from '../utils/index.js';
|
|
8
6
|
import '@itwin/itwinui-css/css/information-panel.css';
|
|
9
7
|
/**
|
|
10
8
|
* InformationPanelWrapper should contain the `InformationPanel`
|
|
@@ -15,9 +13,5 @@ import '@itwin/itwinui-css/css/information-panel.css';
|
|
|
15
13
|
* <InformationPanel ... />
|
|
16
14
|
* </InformationPanelWrapper>
|
|
17
15
|
*/
|
|
18
|
-
export const InformationPanelWrapper = (
|
|
19
|
-
const { className, children, ...rest } = props;
|
|
20
|
-
useTheme();
|
|
21
|
-
return (React.createElement("div", { className: cx('iui-information-panel-wrapper', className), ...rest }, children));
|
|
22
|
-
};
|
|
16
|
+
export const InformationPanelWrapper = polymorphic.div('iui-information-panel-wrapper');
|
|
23
17
|
export default InformationPanelWrapper;
|
|
@@ -1,12 +1,7 @@
|
|
|
1
1
|
export { InformationPanel } from './InformationPanel.js';
|
|
2
|
-
export type { InformationPanelProps } from './InformationPanel.js';
|
|
3
2
|
declare const _default: "./InformationPanel";
|
|
4
3
|
export default _default;
|
|
5
4
|
export { InformationPanelWrapper } from './InformationPanelWrapper.js';
|
|
6
|
-
export type { InformationPanelWrapperProps } from './InformationPanelWrapper.js';
|
|
7
5
|
export { InformationPanelHeader } from './InformationPanelHeader.js';
|
|
8
|
-
export type { InformationPanelHeaderProps } from './InformationPanelHeader.js';
|
|
9
6
|
export { InformationPanelBody } from './InformationPanelBody.js';
|
|
10
|
-
export type { InformationPanelBodyProps } from './InformationPanelBody.js';
|
|
11
7
|
export { InformationPanelContent } from './InformationPanelContent.js';
|
|
12
|
-
export type { InformationPanelContentProps } from './InformationPanelContent.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import type { PolymorphicForwardRefComponent } from '../utils/index.js';
|
|
2
2
|
import '@itwin/itwinui-css/css/input.css';
|
|
3
3
|
export declare type InputProps = {
|
|
4
4
|
/**
|
|
@@ -10,7 +10,7 @@ export declare type InputProps = {
|
|
|
10
10
|
* Modify size of the input.
|
|
11
11
|
*/
|
|
12
12
|
size?: 'small' | 'large';
|
|
13
|
-
}
|
|
13
|
+
};
|
|
14
14
|
/**
|
|
15
15
|
* Basic input component
|
|
16
16
|
* @example
|
|
@@ -18,15 +18,5 @@ export declare type InputProps = {
|
|
|
18
18
|
* <Input disabled />
|
|
19
19
|
* <Input size='small' />
|
|
20
20
|
*/
|
|
21
|
-
export declare const Input:
|
|
22
|
-
/**
|
|
23
|
-
* Set focus on input element.
|
|
24
|
-
* @default false
|
|
25
|
-
*/
|
|
26
|
-
setFocus?: boolean | undefined;
|
|
27
|
-
/**
|
|
28
|
-
* Modify size of the input.
|
|
29
|
-
*/
|
|
30
|
-
size?: "small" | "large" | undefined;
|
|
31
|
-
} & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size"> & React.RefAttributes<HTMLInputElement>>;
|
|
21
|
+
export declare const Input: PolymorphicForwardRefComponent<"input", InputProps>;
|
|
32
22
|
export default Input;
|
package/esm/core/Input/Input.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
5
|
import cx from 'classnames';
|
|
6
6
|
import * as React from 'react';
|
|
7
|
-
import { useMergedRefs,
|
|
7
|
+
import { useMergedRefs, Box } from '../utils/index.js';
|
|
8
8
|
import '@itwin/itwinui-css/css/input.css';
|
|
9
9
|
/**
|
|
10
10
|
* Basic input component
|
|
@@ -15,7 +15,6 @@ import '@itwin/itwinui-css/css/input.css';
|
|
|
15
15
|
*/
|
|
16
16
|
export const Input = React.forwardRef((props, ref) => {
|
|
17
17
|
const { setFocus = false, size, className, ...rest } = props;
|
|
18
|
-
useTheme();
|
|
19
18
|
const inputRef = React.useRef(null);
|
|
20
19
|
const refs = useMergedRefs(inputRef, ref);
|
|
21
20
|
React.useEffect(() => {
|
|
@@ -23,6 +22,6 @@ export const Input = React.forwardRef((props, ref) => {
|
|
|
23
22
|
inputRef.current.focus();
|
|
24
23
|
}
|
|
25
24
|
}, [setFocus]);
|
|
26
|
-
return (React.createElement(
|
|
25
|
+
return (React.createElement(Box, { as: 'input', className: cx('iui-input', className), "data-iui-size": size, ref: refs, ...rest }));
|
|
27
26
|
});
|
|
28
27
|
export default Input;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import type {
|
|
2
|
+
import type { PolymorphicForwardRefComponent } from '../utils/index.js';
|
|
3
3
|
import '@itwin/itwinui-css/css/utils.css';
|
|
4
|
-
|
|
4
|
+
declare type InputGroupProps = {
|
|
5
5
|
/**
|
|
6
6
|
* Label of the group.
|
|
7
7
|
*/
|
|
@@ -37,7 +37,7 @@ export declare type InputGroupProps = {
|
|
|
37
37
|
* Child inputs inside group.
|
|
38
38
|
*/
|
|
39
39
|
children: React.ReactNode;
|
|
40
|
-
}
|
|
40
|
+
};
|
|
41
41
|
/**
|
|
42
42
|
* Group Checkbox/Radio components together
|
|
43
43
|
* @example
|
|
@@ -53,5 +53,5 @@ export declare type InputGroupProps = {
|
|
|
53
53
|
* <Radio />
|
|
54
54
|
* </InputGroup>
|
|
55
55
|
*/
|
|
56
|
-
export declare const InputGroup:
|
|
56
|
+
export declare const InputGroup: PolymorphicForwardRefComponent<"div", InputGroupProps>;
|
|
57
57
|
export default InputGroup;
|
|
@@ -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 { StatusIconMap,
|
|
6
|
+
import { StatusIconMap, InputContainer, Box } from '../utils/index.js';
|
|
7
7
|
import '@itwin/itwinui-css/css/utils.css';
|
|
8
8
|
/**
|
|
9
9
|
* Group Checkbox/Radio components together
|
|
@@ -20,9 +20,8 @@ import '@itwin/itwinui-css/css/utils.css';
|
|
|
20
20
|
* <Radio />
|
|
21
21
|
* </InputGroup>
|
|
22
22
|
*/
|
|
23
|
-
export const InputGroup = (props) => {
|
|
24
|
-
const { children, disabled = false, displayStyle = 'default', label, message, status, svgIcon,
|
|
25
|
-
useTheme();
|
|
23
|
+
export const InputGroup = React.forwardRef((props, forwardedRef) => {
|
|
24
|
+
const { children, disabled = false, displayStyle = 'default', label, message, status, svgIcon, required = false, ...rest } = props;
|
|
26
25
|
const icon = () => {
|
|
27
26
|
if (svgIcon) {
|
|
28
27
|
return React.cloneElement(svgIcon, { 'aria-hidden': true });
|
|
@@ -34,7 +33,7 @@ export const InputGroup = (props) => {
|
|
|
34
33
|
}
|
|
35
34
|
return undefined;
|
|
36
35
|
};
|
|
37
|
-
return (React.createElement(InputContainer, { label: label, disabled: disabled, required: required, status: status, message: message, icon: icon(), isLabelInline: displayStyle === 'inline',
|
|
38
|
-
React.createElement(
|
|
39
|
-
};
|
|
36
|
+
return (React.createElement(InputContainer, { label: label, disabled: disabled, required: required, status: status, message: message, icon: icon(), isLabelInline: displayStyle === 'inline', ref: forwardedRef, ...rest },
|
|
37
|
+
React.createElement(Box, { className: 'iui-input-group' }, children)));
|
|
38
|
+
});
|
|
40
39
|
export default InputGroup;
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import type { PolymorphicForwardRefComponent } from '../utils/index.js';
|
|
2
2
|
import '@itwin/itwinui-css/css/utils.css';
|
|
3
|
-
declare type LabelOwnProps
|
|
4
|
-
/**
|
|
5
|
-
* What element should the label be rendered as?
|
|
6
|
-
* @default 'label'
|
|
7
|
-
*/
|
|
8
|
-
as?: T;
|
|
3
|
+
declare type LabelOwnProps = {
|
|
9
4
|
/**
|
|
10
5
|
* Set the display style of the label.
|
|
11
6
|
* - 'block' - default, no extra spacing (label and input will be on separate lines)
|
|
@@ -19,7 +14,6 @@ declare type LabelOwnProps<T extends React.ElementType = 'label'> = {
|
|
|
19
14
|
*/
|
|
20
15
|
required?: boolean;
|
|
21
16
|
};
|
|
22
|
-
export declare type LabelProps<T extends React.ElementType = 'label'> = LabelOwnProps<T> & Omit<React.ComponentPropsWithoutRef<T>, keyof LabelOwnProps<T>>;
|
|
23
17
|
/**
|
|
24
18
|
* A standalone label to be used with input components (using `htmlFor`).
|
|
25
19
|
* Can be rendered as any element, e.g. span, using the `as` prop.
|
|
@@ -27,5 +21,5 @@ export declare type LabelProps<T extends React.ElementType = 'label'> = LabelOwn
|
|
|
27
21
|
* <Label htmlFor='name-input'>Name</Label>
|
|
28
22
|
* <Input id='name-input' />
|
|
29
23
|
*/
|
|
30
|
-
export declare const Label: <
|
|
24
|
+
export declare const Label: PolymorphicForwardRefComponent<"label", LabelOwnProps>;
|
|
31
25
|
export default Label;
|
package/esm/core/Label/Label.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import cx from 'classnames';
|
|
7
|
-
import {
|
|
7
|
+
import { Box } from '../utils/index.js';
|
|
8
8
|
import '@itwin/itwinui-css/css/utils.css';
|
|
9
9
|
/**
|
|
10
10
|
* A standalone label to be used with input components (using `htmlFor`).
|
|
@@ -13,12 +13,11 @@ import '@itwin/itwinui-css/css/utils.css';
|
|
|
13
13
|
* <Label htmlFor='name-input'>Name</Label>
|
|
14
14
|
* <Input id='name-input' />
|
|
15
15
|
*/
|
|
16
|
-
export const Label = (props) => {
|
|
17
|
-
const {
|
|
18
|
-
|
|
19
|
-
return (React.createElement(Element, { className: cx('iui-input-label', {
|
|
16
|
+
export const Label = React.forwardRef((props, forwardedRef) => {
|
|
17
|
+
const { displayStyle = 'block', required, className, children, ...rest } = props;
|
|
18
|
+
return (React.createElement(Box, { as: 'label', className: cx('iui-input-label', {
|
|
20
19
|
'iui-inline': displayStyle === 'inline',
|
|
21
20
|
'iui-required': required,
|
|
22
|
-
}, className), ...rest }, children));
|
|
23
|
-
};
|
|
21
|
+
}, className), ref: forwardedRef, ...rest }, children));
|
|
22
|
+
});
|
|
24
23
|
export default Label;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { InputProps } from '../Input/Input.js';
|
|
3
|
+
import type { PolymorphicForwardRefComponent } from '../utils/index.js';
|
|
3
4
|
import '@itwin/itwinui-css/css/input.css';
|
|
4
5
|
export declare type LabeledInputProps = {
|
|
5
6
|
/**
|
|
@@ -52,50 +53,5 @@ export declare type LabeledInputProps = {
|
|
|
52
53
|
* <LabeledInput status='positive' label='Positive' />
|
|
53
54
|
* <LabeledInput status='negative' label='Negative' setFocus />
|
|
54
55
|
*/
|
|
55
|
-
export declare const LabeledInput:
|
|
56
|
-
/**
|
|
57
|
-
* Label of the input.
|
|
58
|
-
*/
|
|
59
|
-
label?: React.ReactNode;
|
|
60
|
-
/**
|
|
61
|
-
* Message below the input. Does not apply to 'inline' input.
|
|
62
|
-
*/
|
|
63
|
-
message?: React.ReactNode;
|
|
64
|
-
/**
|
|
65
|
-
* Status of the input.
|
|
66
|
-
*/
|
|
67
|
-
status?: "positive" | "warning" | "negative" | undefined;
|
|
68
|
-
/**
|
|
69
|
-
* Custom svg icon. Will override status icon if specified.
|
|
70
|
-
*/
|
|
71
|
-
svgIcon?: JSX.Element | undefined;
|
|
72
|
-
/**
|
|
73
|
-
* Custom CSS class name for the input element.
|
|
74
|
-
*/
|
|
75
|
-
inputClassName?: string | undefined;
|
|
76
|
-
/**
|
|
77
|
-
* Custom CSS Style for the input element.
|
|
78
|
-
*/
|
|
79
|
-
inputStyle?: React.CSSProperties | undefined;
|
|
80
|
-
/**
|
|
81
|
-
* Set display style of label.
|
|
82
|
-
* Supported values:
|
|
83
|
-
* - 'default' - label appears above input.
|
|
84
|
-
* - 'inline' - appears in the same line as input.
|
|
85
|
-
* @default 'default'
|
|
86
|
-
*/
|
|
87
|
-
displayStyle?: "inline" | "default" | undefined;
|
|
88
|
-
/**
|
|
89
|
-
* Set display style of icon.
|
|
90
|
-
* Supported values:
|
|
91
|
-
* - 'block' - icon appears below input.
|
|
92
|
-
* - 'inline' - icon appears inside input (at the end).
|
|
93
|
-
*
|
|
94
|
-
* Defaults to 'block' if `displayStyle` is `default`, else 'inline'.
|
|
95
|
-
*/
|
|
96
|
-
iconDisplayStyle?: "inline" | "block" | undefined;
|
|
97
|
-
} & {
|
|
98
|
-
setFocus?: boolean | undefined;
|
|
99
|
-
size?: "small" | "large" | undefined;
|
|
100
|
-
} & Omit<React.InputHTMLAttributes<HTMLInputElement>, "size"> & React.RefAttributes<HTMLInputElement>>;
|
|
56
|
+
export declare const LabeledInput: PolymorphicForwardRefComponent<"input", LabeledInputProps>;
|
|
101
57
|
export default LabeledInput;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import { Input } from '../Input/Input.js';
|
|
7
|
-
import { StatusIconMap,
|
|
7
|
+
import { StatusIconMap, InputContainer, useId } from '../utils/index.js';
|
|
8
8
|
import '@itwin/itwinui-css/css/input.css';
|
|
9
9
|
/**
|
|
10
10
|
* Basic labeled input component
|
|
@@ -17,7 +17,6 @@ import '@itwin/itwinui-css/css/input.css';
|
|
|
17
17
|
export const LabeledInput = React.forwardRef((props, ref) => {
|
|
18
18
|
const uid = useId();
|
|
19
19
|
const { className, disabled = false, label, message, status, svgIcon, style, inputClassName, inputStyle, displayStyle = 'default', iconDisplayStyle = displayStyle === 'default' ? 'block' : 'inline', required = false, id = uid, ...rest } = props;
|
|
20
|
-
useTheme();
|
|
21
20
|
const icon = svgIcon !== null && svgIcon !== void 0 ? svgIcon : (status && StatusIconMap[status]());
|
|
22
21
|
return (React.createElement(InputContainer, { label: label, disabled: disabled, required: required, status: status, message: message, icon: icon, isLabelInline: displayStyle === 'inline', isIconInline: iconDisplayStyle === 'inline', className: className, style: style, inputId: id },
|
|
23
22
|
React.createElement(Input, { disabled: disabled, className: inputClassName, style: inputStyle, required: required, ref: ref, id: id, ...rest })));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { SelectProps } from '../Select/Select.js';
|
|
3
|
-
import type { LabeledInputProps } from '../LabeledInput/
|
|
3
|
+
import type { LabeledInputProps } from '../LabeledInput/LabeledInput.js';
|
|
4
4
|
import '@itwin/itwinui-css/css/input.css';
|
|
5
5
|
export declare type LabeledSelectProps<T> = {
|
|
6
6
|
/**
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import { Select } from '../Select/index.js';
|
|
7
|
-
import { StatusIconMap,
|
|
7
|
+
import { StatusIconMap, InputContainer, useId } from '../utils/index.js';
|
|
8
8
|
import '@itwin/itwinui-css/css/input.css';
|
|
9
9
|
/**
|
|
10
10
|
* Labeled select component to select value from options.
|
|
@@ -41,7 +41,6 @@ import '@itwin/itwinui-css/css/input.css';
|
|
|
41
41
|
*/
|
|
42
42
|
export const LabeledSelect = (props) => {
|
|
43
43
|
const { className, disabled = false, label, message, status, svgIcon, displayStyle = 'default', style, selectClassName, selectStyle, required = false, triggerProps, ...rest } = props;
|
|
44
|
-
useTheme();
|
|
45
44
|
const labelId = `${useId()}-label`;
|
|
46
45
|
const icon = () => {
|
|
47
46
|
if (svgIcon) {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import type { PolymorphicForwardRefComponent } from '../utils/index.js';
|
|
2
3
|
import type { TextareaProps } from '../Textarea/Textarea.js';
|
|
3
|
-
import type { LabeledInputProps } from '../LabeledInput/
|
|
4
|
+
import type { LabeledInputProps } from '../LabeledInput/LabeledInput.js';
|
|
4
5
|
import '@itwin/itwinui-css/css/input.css';
|
|
5
|
-
|
|
6
|
+
declare type LabeledTextareaProps = {
|
|
6
7
|
/**
|
|
7
8
|
* Label for the textarea.
|
|
8
9
|
*/
|
|
@@ -45,28 +46,5 @@ export declare type LabeledTextareaProps = {
|
|
|
45
46
|
* status='negative'
|
|
46
47
|
* />
|
|
47
48
|
*/
|
|
48
|
-
export declare const LabeledTextarea:
|
|
49
|
-
/**
|
|
50
|
-
* Label for the textarea.
|
|
51
|
-
*/
|
|
52
|
-
label: React.ReactNode;
|
|
53
|
-
/**
|
|
54
|
-
* Message below the textarea. Does not apply to 'inline' textarea.
|
|
55
|
-
*/
|
|
56
|
-
message?: React.ReactNode;
|
|
57
|
-
/**
|
|
58
|
-
* Status of text area.
|
|
59
|
-
*/
|
|
60
|
-
status?: "positive" | "warning" | "negative" | undefined;
|
|
61
|
-
/**
|
|
62
|
-
* Custom class name for textarea.
|
|
63
|
-
*/
|
|
64
|
-
textareaClassName?: string | undefined;
|
|
65
|
-
/**
|
|
66
|
-
* Custom style for textarea.
|
|
67
|
-
*/
|
|
68
|
-
textareaStyle?: React.CSSProperties | undefined;
|
|
69
|
-
} & Pick<LabeledInputProps, "displayStyle" | "svgIcon" | "iconDisplayStyle"> & {
|
|
70
|
-
setFocus?: boolean | undefined;
|
|
71
|
-
} & React.TextareaHTMLAttributes<HTMLTextAreaElement> & React.RefAttributes<HTMLTextAreaElement>>;
|
|
49
|
+
export declare const LabeledTextarea: PolymorphicForwardRefComponent<"textarea", LabeledTextareaProps>;
|
|
72
50
|
export default LabeledTextarea;
|
|
@@ -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 { StatusIconMap,
|
|
6
|
+
import { StatusIconMap, InputContainer, useId } from '../utils/index.js';
|
|
7
7
|
import { Textarea } from '../Textarea/index.js';
|
|
8
8
|
import '@itwin/itwinui-css/css/input.css';
|
|
9
9
|
/**
|
|
@@ -30,7 +30,6 @@ import '@itwin/itwinui-css/css/input.css';
|
|
|
30
30
|
export const LabeledTextarea = React.forwardRef((props, ref) => {
|
|
31
31
|
const uid = useId();
|
|
32
32
|
const { className, style, disabled = false, label, message, status, textareaClassName, textareaStyle, displayStyle = 'default', iconDisplayStyle = displayStyle === 'default' ? 'block' : 'inline', svgIcon, required = false, id = uid, ...textareaProps } = props;
|
|
33
|
-
useTheme();
|
|
34
33
|
const icon = svgIcon !== null && svgIcon !== void 0 ? svgIcon : (status && StatusIconMap[status]());
|
|
35
34
|
return (React.createElement(InputContainer, { label: label, disabled: disabled, required: required, status: status, message: message, icon: icon, isLabelInline: displayStyle === 'inline', isIconInline: iconDisplayStyle === 'inline', className: className, style: style, inputId: id },
|
|
36
35
|
React.createElement(Textarea, { disabled: disabled, className: textareaClassName, style: textareaStyle, required: required, id: id, ...textareaProps, ref: ref })));
|
package/esm/core/List/List.d.ts
CHANGED
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
import type { PolymorphicForwardRefComponent, PolymorphicComponentProps } from '../utils/index.js';
|
|
2
1
|
import '@itwin/itwinui-css/css/menu.css';
|
|
3
|
-
export declare const List: PolymorphicForwardRefComponent<"ul",
|
|
4
|
-
declare type ListOwnProps = {};
|
|
5
|
-
export declare type ListProps = PolymorphicComponentProps<'ul', ListOwnProps>;
|
|
6
|
-
export {};
|
|
2
|
+
export declare const List: import("../utils/props.js").PolymorphicForwardRefComponent<"ul", {}>;
|
package/esm/core/List/List.js
CHANGED
|
@@ -2,12 +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
|
|
6
|
-
import cx from 'classnames';
|
|
7
|
-
import { useTheme } from '../utils/index.js';
|
|
5
|
+
import { polymorphic } from '../utils/index.js';
|
|
8
6
|
import '@itwin/itwinui-css/css/menu.css';
|
|
9
|
-
export const List =
|
|
10
|
-
|
|
11
|
-
useTheme();
|
|
12
|
-
return (React.createElement(Element, { className: cx('iui-list', className), ref: ref, role: 'list', ...rest }));
|
|
13
|
-
});
|
|
7
|
+
export const List = polymorphic.ul('iui-list', { role: 'list' });
|
|
8
|
+
List.displayName = 'List';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { PolymorphicForwardRefComponent } from '../utils/index.js';
|
|
2
3
|
import '@itwin/itwinui-css/css/menu.css';
|
|
3
|
-
declare type ListItemOwnProps = {
|
|
4
|
+
export declare type ListItemOwnProps = {
|
|
4
5
|
/**
|
|
5
6
|
* Size of the ListItem. Can be explicitly specified to be 'large',
|
|
6
7
|
* but if a description is included in addition to the label, then
|
|
@@ -28,9 +29,6 @@ declare type ListItemOwnProps = {
|
|
|
28
29
|
*/
|
|
29
30
|
focused?: boolean;
|
|
30
31
|
};
|
|
31
|
-
declare type ListItemIconOwnProps = {};
|
|
32
|
-
declare type ListItemContentOwnProps = {};
|
|
33
|
-
declare type ListItemDescriptionOwnProps = {};
|
|
34
32
|
/**
|
|
35
33
|
* A generic ListItem component that can be used simply for displaying data, or as a base
|
|
36
34
|
* for the list items in a more complex component (e.g. a custom Select).
|
|
@@ -48,7 +46,7 @@ export declare const ListItem: PolymorphicForwardRefComponent<"li", ListItemOwnP
|
|
|
48
46
|
/**
|
|
49
47
|
* Icon to be placed at the beginning or end of the ListItem.
|
|
50
48
|
*/
|
|
51
|
-
Icon: PolymorphicForwardRefComponent<
|
|
49
|
+
Icon: PolymorphicForwardRefComponent<keyof JSX.IntrinsicElements, {}>;
|
|
52
50
|
/**
|
|
53
51
|
* Wrapper for the main content of the ListItem.
|
|
54
52
|
*
|
|
@@ -57,7 +55,7 @@ export declare const ListItem: PolymorphicForwardRefComponent<"li", ListItemOwnP
|
|
|
57
55
|
* and push the icon to the end
|
|
58
56
|
* - When using `ListItem.Description`.
|
|
59
57
|
*/
|
|
60
|
-
Content: PolymorphicForwardRefComponent<
|
|
58
|
+
Content: PolymorphicForwardRefComponent<keyof JSX.IntrinsicElements, {}>;
|
|
61
59
|
/**
|
|
62
60
|
* Description to be used in addition to the main label of the ListItem.
|
|
63
61
|
* Should be used as a child of `ListItem.Content`.
|
|
@@ -70,10 +68,5 @@ export declare const ListItem: PolymorphicForwardRefComponent<"li", ListItemOwnP
|
|
|
70
68
|
* </ListItem.Content>
|
|
71
69
|
* </ListItem>
|
|
72
70
|
*/
|
|
73
|
-
Description: PolymorphicForwardRefComponent<
|
|
71
|
+
Description: PolymorphicForwardRefComponent<keyof JSX.IntrinsicElements, {}>;
|
|
74
72
|
};
|
|
75
|
-
export declare type ListItemProps = PolymorphicComponentProps<'li', ListItemOwnProps>;
|
|
76
|
-
export declare type ListItemIconProps = PolymorphicComponentProps<'li', ListItemIconOwnProps>;
|
|
77
|
-
export declare type ListItemContentProps = PolymorphicComponentProps<'li', ListItemContentOwnProps>;
|
|
78
|
-
export declare type ListItemDescriptionProps = PolymorphicComponentProps<'li', ListItemDescriptionOwnProps>;
|
|
79
|
-
export {};
|
|
@@ -4,28 +4,22 @@
|
|
|
4
4
|
*--------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import cx from 'classnames';
|
|
7
|
-
import {
|
|
7
|
+
import { polymorphic, Box } from '../utils/index.js';
|
|
8
8
|
import '@itwin/itwinui-css/css/menu.css';
|
|
9
9
|
const ListItemComponent = React.forwardRef((props, ref) => {
|
|
10
|
-
const {
|
|
11
|
-
|
|
12
|
-
return (React.createElement(Element, { className: cx('iui-list-item', className), "data-iui-active": active ? 'true' : undefined, "data-iui-disabled": disabled ? 'true' : undefined, "data-iui-size": size === 'large' ? 'large' : undefined, "data-iui-actionable": actionable ? 'true' : undefined, "data-iui-focused": focused ? 'true' : undefined, ref: ref, ...rest }));
|
|
10
|
+
const { size = 'default', disabled = false, active = false, actionable = false, focused = false, className, ...rest } = props;
|
|
11
|
+
return (React.createElement(Box, { as: 'li', className: cx('iui-list-item', className), "data-iui-active": active ? 'true' : undefined, "data-iui-disabled": disabled ? 'true' : undefined, "data-iui-size": size === 'large' ? 'large' : undefined, "data-iui-actionable": actionable ? 'true' : undefined, "data-iui-focused": focused ? 'true' : undefined, ref: ref, ...rest }));
|
|
13
12
|
});
|
|
13
|
+
ListItemComponent.displayName = 'ListItem';
|
|
14
14
|
// ----------------------------------------------------------------------------
|
|
15
|
-
const ListItemIcon =
|
|
16
|
-
|
|
17
|
-
return (React.createElement(Element, { className: cx('iui-list-item-icon', className), ref: ref, ...rest }));
|
|
18
|
-
});
|
|
15
|
+
const ListItemIcon = polymorphic('iui-list-item-icon');
|
|
16
|
+
ListItemIcon.displayName = 'ListItem.Icon';
|
|
19
17
|
// ----------------------------------------------------------------------------
|
|
20
|
-
const ListItemContent =
|
|
21
|
-
|
|
22
|
-
return (React.createElement(Element, { className: cx('iui-list-item-content', className), ref: ref, ...rest }));
|
|
23
|
-
});
|
|
18
|
+
const ListItemContent = polymorphic('iui-list-item-content');
|
|
19
|
+
ListItemContent.displayName = 'ListItem.Content';
|
|
24
20
|
// ----------------------------------------------------------------------------
|
|
25
|
-
const ListItemDescription =
|
|
26
|
-
|
|
27
|
-
return (React.createElement(Element, { className: cx('iui-list-item-description', className), ref: ref, ...rest }));
|
|
28
|
-
});
|
|
21
|
+
const ListItemDescription = polymorphic('iui-list-item-description');
|
|
22
|
+
ListItemDescription.displayName = 'ListItem.Description';
|
|
29
23
|
// ----------------------------------------------------------------------------
|
|
30
24
|
// Exported compound component
|
|
31
25
|
/**
|
package/esm/core/List/index.d.ts
CHANGED