@carbon/react 1.110.0-rc.0 → 1.110.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/.playwright/INTERNAL_AVT_REPORT_DO_NOT_USE.json +968 -968
- package/es/components/AILabel/index.js +1 -1
- package/es/components/AISkeleton/AISkeletonIcon.js +1 -1
- package/es/components/AISkeleton/AISkeletonPlaceholder.js +1 -1
- package/es/components/AISkeleton/AISkeletonText.js +1 -1
- package/es/components/Accordion/Accordion.Skeleton.js +1 -1
- package/es/components/Accordion/Accordion.js +1 -1
- package/es/components/Accordion/AccordionItem.js +1 -1
- package/es/components/AspectRatio/AspectRatio.js +1 -1
- package/es/components/BadgeIndicator/index.js +1 -1
- package/es/components/Breadcrumb/Breadcrumb.Skeleton.js +1 -1
- package/es/components/Breadcrumb/Breadcrumb.js +1 -1
- package/es/components/Breadcrumb/BreadcrumbItem.js +1 -1
- package/es/components/Button/Button.Skeleton.js +1 -1
- package/es/components/Button/ButtonBase.js +1 -1
- package/es/components/ButtonSet/ButtonSet.js +1 -1
- package/es/components/ChatButton/ChatButton.Skeleton.js +1 -1
- package/es/components/ChatButton/ChatButton.js +1 -1
- package/es/components/Checkbox/Checkbox.Skeleton.js +1 -1
- package/es/components/Checkbox/Checkbox.js +2 -2
- package/es/components/CheckboxGroup/CheckboxGroup.js +1 -1
- package/es/components/CodeSnippet/CodeSnippet.Skeleton.js +1 -1
- package/es/components/CodeSnippet/CodeSnippet.js +1 -1
- package/es/components/ComboBox/ComboBox.js +1 -1
- package/es/components/ComboButton/index.js +1 -1
- package/es/components/ComposedModal/ComposedModal.js +2 -2
- package/es/components/ComposedModal/ModalFooter.js +2 -2
- package/es/components/ComposedModal/ModalHeader.js +1 -1
- package/es/components/ContainedList/ContainedList.js +1 -1
- package/es/components/ContainedList/ContainedListItem/ContainedListItem.js +1 -1
- package/es/components/ContentSwitcher/ContentSwitcher.js +1 -1
- package/es/components/Copy/Copy.js +2 -2
- package/es/components/CopyButton/CopyButton.js +2 -2
- package/es/components/DataTable/Table.js +1 -1
- package/es/components/DataTable/TableBatchActions.js +1 -1
- package/es/components/DataTable/TableCell.js +1 -1
- package/es/components/DataTable/TableContainer.js +1 -1
- package/es/components/DataTable/TableDecoratorRow.js +1 -1
- package/es/components/DataTable/TableExpandHeader.js +1 -1
- package/es/components/DataTable/TableExpandRow.js +1 -1
- package/es/components/DataTable/TableExpandedRow.js +1 -1
- package/es/components/DataTable/TableHeader.js +1 -1
- package/es/components/DataTable/TableRow.js +1 -1
- package/es/components/DataTable/TableSelectAll.js +1 -1
- package/es/components/DataTable/TableSelectRow.js +1 -1
- package/es/components/DataTable/TableSlugRow.js +1 -1
- package/es/components/DataTable/TableToolbar.js +1 -1
- package/es/components/DataTable/TableToolbarMenu.js +1 -1
- package/es/components/DataTable/TableToolbarSearch.js +2 -2
- package/es/components/DataTableSkeleton/DataTableSkeleton.js +1 -1
- package/es/components/DatePicker/DatePicker.Skeleton.js +1 -1
- package/es/components/DatePicker/DatePicker.js +1 -1
- package/es/components/DatePickerInput/DatePickerInput.js +2 -2
- package/es/components/Dialog/Dialog.js +2 -2
- package/es/components/Dropdown/Dropdown.Skeleton.js +1 -1
- package/es/components/Dropdown/Dropdown.js +1 -1
- package/es/components/ExpandableSearch/ExpandableSearch.js +1 -1
- package/es/components/FileUploader/FileUploader.Skeleton.js +1 -1
- package/es/components/FileUploader/FileUploader.js +1 -1
- package/es/components/FileUploader/FileUploaderButton.js +2 -2
- package/es/components/FileUploader/FileUploaderDropContainer.js +2 -2
- package/es/components/FileUploader/FileUploaderItem.js +2 -2
- package/es/components/FluidComboBox/FluidComboBox.Skeleton.js +1 -1
- package/es/components/FluidComboBox/FluidComboBox.js +1 -1
- package/es/components/FluidDatePicker/FluidDatePicker.Skeleton.js +1 -1
- package/es/components/FluidDatePicker/FluidDatePicker.js +1 -1
- package/es/components/FluidDropdown/FluidDropdown.Skeleton.js +1 -1
- package/es/components/FluidDropdown/FluidDropdown.js +1 -1
- package/es/components/FluidForm/FluidForm.js +1 -1
- package/es/components/FluidMultiSelect/FluidMultiSelect.Skeleton.js +1 -1
- package/es/components/FluidMultiSelect/FluidMultiSelect.js +1 -1
- package/es/components/FluidNumberInput/FluidNumberInput.Skeleton.js +1 -1
- package/es/components/FluidNumberInput/FluidNumberInput.js +1 -1
- package/es/components/FluidSearch/FluidSearch.Skeleton.js +1 -1
- package/es/components/FluidSearch/FluidSearch.js +1 -1
- package/es/components/FluidSelect/FluidSelect.Skeleton.js +1 -1
- package/es/components/FluidSelect/FluidSelect.js +1 -1
- package/es/components/FluidTextArea/FluidTextArea.Skeleton.js +1 -1
- package/es/components/FluidTextArea/FluidTextArea.js +1 -1
- package/es/components/FluidTextInput/FluidPasswordInput.js +1 -1
- package/es/components/FluidTextInput/FluidTextInput.Skeleton.js +1 -1
- package/es/components/FluidTextInput/FluidTextInput.js +1 -1
- package/es/components/FluidTimePicker/FluidTimePicker.Skeleton.js +1 -1
- package/es/components/FluidTimePicker/FluidTimePicker.js +1 -1
- package/es/components/Form/Form.js +1 -1
- package/es/components/FormGroup/FormGroup.js +1 -1
- package/es/components/FormItem/FormItem.js +1 -1
- package/es/components/FormLabel/FormLabel.js +1 -1
- package/es/components/Grid/CSSGrid.js +1 -1
- package/es/components/Grid/Column.js +1 -1
- package/es/components/Grid/ColumnHang.js +1 -1
- package/es/components/Grid/FlexGrid.js +1 -1
- package/es/components/Grid/Row.js +1 -1
- package/es/components/Icon/Icon.Skeleton.js +1 -1
- package/es/components/IconButton/index.js +1 -1
- package/es/components/IconIndicator/index.js +1 -1
- package/es/components/InlineLoading/InlineLoading.js +1 -1
- package/es/components/Layer/index.js +1 -1
- package/es/components/Layout/index.js +1 -1
- package/es/components/Link/Link.js +1 -1
- package/es/components/ListBox/ListBox.js +1 -1
- package/es/components/ListBox/ListBoxMenuIcon.js +1 -1
- package/es/components/ListBox/ListBoxMenuItem.js +1 -1
- package/es/components/ListBox/ListBoxSelection.js +1 -1
- package/es/components/ListBox/next/ListBoxSelection.js +1 -1
- package/es/components/ListBox/next/ListBoxTrigger.js +1 -1
- package/es/components/ListItem/ListItem.js +1 -1
- package/es/components/Loading/Loading.js +1 -1
- package/es/components/Menu/Menu.js +1 -1
- package/es/components/Menu/MenuContext.d.ts +11 -12
- package/es/components/Menu/MenuItem.js +1 -1
- package/es/components/MenuButton/index.js +1 -1
- package/es/components/Modal/Modal.js +3 -3
- package/es/components/ModalWrapper/ModalWrapper.js +2 -2
- package/es/components/MultiSelect/FilterableMultiSelect.js +1 -1
- package/es/components/MultiSelect/MultiSelect.js +2 -2
- package/es/components/Notification/Notification.js +3 -3
- package/es/components/NumberInput/NumberInput.Skeleton.js +1 -1
- package/es/components/NumberInput/NumberInput.js +1 -1
- package/es/components/OrderedList/OrderedList.js +1 -1
- package/es/components/OverflowMenu/OverflowMenu.js +2 -2
- package/es/components/OverflowMenu/next/index.js +1 -1
- package/es/components/OverflowMenuItem/OverflowMenuItem.js +2 -2
- package/es/components/PageHeader/PageHeader.js +1 -1
- package/es/components/Pagination/Pagination.Skeleton.js +1 -1
- package/es/components/Pagination/Pagination.js +1 -1
- package/es/components/Pagination/experimental/PageSelector.js +1 -1
- package/es/components/Pagination/experimental/Pagination.js +1 -1
- package/es/components/PaginationNav/PaginationNav.js +1 -1
- package/es/components/Popover/index.js +1 -1
- package/es/components/ProgressBar/ProgressBar.js +1 -1
- package/es/components/ProgressIndicator/ProgressIndicator.Skeleton.js +1 -1
- package/es/components/ProgressIndicator/ProgressIndicator.js +1 -1
- package/es/components/RadioButton/RadioButton.Skeleton.js +1 -1
- package/es/components/RadioButton/RadioButton.js +1 -1
- package/es/components/RadioButtonGroup/RadioButtonGroup.js +1 -1
- package/es/components/RadioTile/RadioTile.js +2 -2
- package/es/components/Search/Search.Skeleton.js +1 -1
- package/es/components/Search/Search.js +2 -2
- package/es/components/Select/Select.Skeleton.js +1 -1
- package/es/components/Select/Select.js +1 -1
- package/es/components/SelectItem/SelectItem.js +1 -1
- package/es/components/SelectItemGroup/SelectItemGroup.js +1 -1
- package/es/components/ShapeIndicator/index.js +1 -1
- package/es/components/SkeletonIcon/SkeletonIcon.js +1 -1
- package/es/components/SkeletonPlaceholder/SkeletonPlaceholder.js +1 -1
- package/es/components/SkeletonText/SkeletonText.js +1 -1
- package/es/components/Slider/Slider.Skeleton.js +1 -1
- package/es/components/Slider/Slider.js +1 -1
- package/es/components/Stack/Stack.js +1 -1
- package/es/components/StructuredList/StructuredList.Skeleton.js +1 -1
- package/es/components/StructuredList/StructuredList.js +1 -1
- package/es/components/Switch/IconSwitch.js +2 -2
- package/es/components/Switch/Switch.js +2 -2
- package/es/components/TabContent/TabContent.js +1 -1
- package/es/components/Tabs/Tabs.Skeleton.js +1 -1
- package/es/components/Tabs/Tabs.d.ts +15 -1
- package/es/components/Tabs/Tabs.js +12 -5
- package/es/components/Tag/DismissibleTag.js +1 -1
- package/es/components/Tag/OperationalTag.js +1 -1
- package/es/components/Tag/SelectableTag.js +1 -1
- package/es/components/Tag/Tag.Skeleton.js +1 -1
- package/es/components/Tag/Tag.js +1 -1
- package/es/components/TextArea/TextArea.Skeleton.js +1 -1
- package/es/components/TextArea/TextArea.js +2 -2
- package/es/components/TextInput/ControlledPasswordInput.js +2 -2
- package/es/components/TextInput/PasswordInput.js +1 -1
- package/es/components/TextInput/TextInput.Skeleton.js +1 -1
- package/es/components/TextInput/TextInput.js +1 -1
- package/es/components/Theme/index.js +1 -1
- package/es/components/Tile/Tile.js +1 -1
- package/es/components/TileGroup/TileGroup.js +1 -1
- package/es/components/TimePicker/TimePicker.js +1 -1
- package/es/components/TimePickerSelect/TimePickerSelect.js +1 -1
- package/es/components/Toggle/Toggle.Skeleton.js +1 -1
- package/es/components/Toggle/Toggle.js +1 -1
- package/es/components/ToggleSmall/ToggleSmall.Skeleton.js +1 -1
- package/es/components/Toggletip/index.js +1 -1
- package/es/components/Tooltip/DefinitionTooltip.js +1 -1
- package/es/components/Tooltip/Tooltip.js +1 -1
- package/es/components/TreeView/TreeNode.js +1 -1
- package/es/components/TreeView/TreeView.js +1 -1
- package/es/components/UIShell/Content.js +1 -1
- package/es/components/UIShell/Header.js +1 -1
- package/es/components/UIShell/HeaderGlobalAction.js +1 -1
- package/es/components/UIShell/HeaderMenu.js +1 -1
- package/es/components/UIShell/HeaderMenuButton.js +1 -1
- package/es/components/UIShell/HeaderMenuItem.js +1 -1
- package/es/components/UIShell/HeaderName.js +1 -1
- package/es/components/UIShell/HeaderNavigation.js +1 -1
- package/es/components/UIShell/HeaderPanel.js +2 -2
- package/es/components/UIShell/HeaderSideNavItems.js +1 -1
- package/es/components/UIShell/SideNav.js +1 -1
- package/es/components/UIShell/SideNavDetails.js +1 -1
- package/es/components/UIShell/SideNavDivider.js +1 -1
- package/es/components/UIShell/SideNavFooter.js +1 -1
- package/es/components/UIShell/SideNavHeader.js +1 -1
- package/es/components/UIShell/SideNavIcon.js +1 -1
- package/es/components/UIShell/SideNavItem.js +1 -1
- package/es/components/UIShell/SideNavItems.js +1 -1
- package/es/components/UIShell/SideNavLink.js +1 -1
- package/es/components/UIShell/SideNavLinkText.js +1 -1
- package/es/components/UIShell/SideNavMenu.js +1 -1
- package/es/components/UIShell/SideNavMenuItem.js +1 -1
- package/es/components/UIShell/SideNavSwitcher.js +1 -1
- package/es/components/UIShell/SkipToContent.js +1 -1
- package/es/components/UIShell/Switcher.js +1 -1
- package/es/components/UIShell/SwitcherDivider.js +1 -1
- package/es/components/UIShell/SwitcherItem.js +1 -1
- package/es/components/UnorderedList/UnorderedList.js +1 -1
- package/es/index.d.ts +1 -0
- package/es/internal/FloatingMenu.js +1 -1
- package/es/internal/warnAboutDeprecatedReactVersion.d.ts +7 -0
- package/es/tools/wrapComponent.js +1 -1
- package/lib/components/AILabel/index.js +2 -2
- package/lib/components/AISkeleton/AISkeletonIcon.js +2 -2
- package/lib/components/AISkeleton/AISkeletonPlaceholder.js +2 -2
- package/lib/components/AISkeleton/AISkeletonText.js +2 -2
- package/lib/components/Accordion/Accordion.Skeleton.js +2 -2
- package/lib/components/Accordion/Accordion.js +2 -2
- package/lib/components/Accordion/AccordionItem.js +2 -2
- package/lib/components/AspectRatio/AspectRatio.js +2 -2
- package/lib/components/BadgeIndicator/index.js +2 -2
- package/lib/components/Breadcrumb/Breadcrumb.Skeleton.js +2 -2
- package/lib/components/Breadcrumb/Breadcrumb.js +2 -2
- package/lib/components/Breadcrumb/BreadcrumbItem.js +2 -2
- package/lib/components/Button/Button.Skeleton.js +2 -2
- package/lib/components/Button/ButtonBase.js +2 -2
- package/lib/components/ButtonSet/ButtonSet.js +2 -2
- package/lib/components/ChatButton/ChatButton.Skeleton.js +2 -2
- package/lib/components/ChatButton/ChatButton.js +2 -2
- package/lib/components/Checkbox/Checkbox.Skeleton.js +2 -2
- package/lib/components/Checkbox/Checkbox.js +3 -3
- package/lib/components/CheckboxGroup/CheckboxGroup.js +2 -2
- package/lib/components/CodeSnippet/CodeSnippet.Skeleton.js +2 -2
- package/lib/components/CodeSnippet/CodeSnippet.js +2 -2
- package/lib/components/ComboBox/ComboBox.js +2 -2
- package/lib/components/ComboButton/index.js +2 -2
- package/lib/components/ComposedModal/ComposedModal.js +3 -3
- package/lib/components/ComposedModal/ModalFooter.js +3 -3
- package/lib/components/ComposedModal/ModalHeader.js +2 -2
- package/lib/components/ContainedList/ContainedList.js +2 -2
- package/lib/components/ContainedList/ContainedListItem/ContainedListItem.js +2 -2
- package/lib/components/ContentSwitcher/ContentSwitcher.js +2 -2
- package/lib/components/Copy/Copy.js +3 -3
- package/lib/components/CopyButton/CopyButton.js +3 -3
- package/lib/components/DataTable/Table.js +2 -2
- package/lib/components/DataTable/TableBatchActions.js +2 -2
- package/lib/components/DataTable/TableCell.js +2 -2
- package/lib/components/DataTable/TableContainer.js +2 -2
- package/lib/components/DataTable/TableDecoratorRow.js +2 -2
- package/lib/components/DataTable/TableExpandHeader.js +2 -2
- package/lib/components/DataTable/TableExpandRow.js +2 -2
- package/lib/components/DataTable/TableExpandedRow.js +2 -2
- package/lib/components/DataTable/TableHeader.js +2 -2
- package/lib/components/DataTable/TableRow.js +2 -2
- package/lib/components/DataTable/TableSelectAll.js +2 -2
- package/lib/components/DataTable/TableSelectRow.js +2 -2
- package/lib/components/DataTable/TableSlugRow.js +2 -2
- package/lib/components/DataTable/TableToolbar.js +2 -2
- package/lib/components/DataTable/TableToolbarMenu.js +2 -2
- package/lib/components/DataTable/TableToolbarSearch.js +3 -3
- package/lib/components/DataTableSkeleton/DataTableSkeleton.js +2 -2
- package/lib/components/DatePicker/DatePicker.Skeleton.js +2 -2
- package/lib/components/DatePicker/DatePicker.js +2 -2
- package/lib/components/DatePickerInput/DatePickerInput.js +3 -3
- package/lib/components/Dialog/Dialog.js +3 -3
- package/lib/components/Dropdown/Dropdown.Skeleton.js +2 -2
- package/lib/components/Dropdown/Dropdown.js +2 -2
- package/lib/components/ExpandableSearch/ExpandableSearch.js +2 -2
- package/lib/components/FileUploader/FileUploader.Skeleton.js +2 -2
- package/lib/components/FileUploader/FileUploader.js +2 -2
- package/lib/components/FileUploader/FileUploaderButton.js +3 -3
- package/lib/components/FileUploader/FileUploaderDropContainer.js +3 -3
- package/lib/components/FileUploader/FileUploaderItem.js +3 -3
- package/lib/components/FluidComboBox/FluidComboBox.Skeleton.js +2 -2
- package/lib/components/FluidComboBox/FluidComboBox.js +2 -2
- package/lib/components/FluidDatePicker/FluidDatePicker.Skeleton.js +2 -2
- package/lib/components/FluidDatePicker/FluidDatePicker.js +2 -2
- package/lib/components/FluidDropdown/FluidDropdown.Skeleton.js +2 -2
- package/lib/components/FluidDropdown/FluidDropdown.js +2 -2
- package/lib/components/FluidForm/FluidForm.js +2 -2
- package/lib/components/FluidMultiSelect/FluidMultiSelect.Skeleton.js +2 -2
- package/lib/components/FluidMultiSelect/FluidMultiSelect.js +2 -2
- package/lib/components/FluidNumberInput/FluidNumberInput.Skeleton.js +2 -2
- package/lib/components/FluidNumberInput/FluidNumberInput.js +2 -2
- package/lib/components/FluidSearch/FluidSearch.Skeleton.js +2 -2
- package/lib/components/FluidSearch/FluidSearch.js +2 -2
- package/lib/components/FluidSelect/FluidSelect.Skeleton.js +2 -2
- package/lib/components/FluidSelect/FluidSelect.js +2 -2
- package/lib/components/FluidTextArea/FluidTextArea.Skeleton.js +2 -2
- package/lib/components/FluidTextArea/FluidTextArea.js +2 -2
- package/lib/components/FluidTextInput/FluidPasswordInput.js +2 -2
- package/lib/components/FluidTextInput/FluidTextInput.Skeleton.js +2 -2
- package/lib/components/FluidTextInput/FluidTextInput.js +2 -2
- package/lib/components/FluidTimePicker/FluidTimePicker.Skeleton.js +2 -2
- package/lib/components/FluidTimePicker/FluidTimePicker.js +2 -2
- package/lib/components/Form/Form.js +2 -2
- package/lib/components/FormGroup/FormGroup.js +2 -2
- package/lib/components/FormItem/FormItem.js +2 -2
- package/lib/components/FormLabel/FormLabel.js +2 -2
- package/lib/components/Grid/CSSGrid.js +2 -2
- package/lib/components/Grid/Column.js +2 -2
- package/lib/components/Grid/ColumnHang.js +2 -2
- package/lib/components/Grid/FlexGrid.js +2 -2
- package/lib/components/Grid/Row.js +2 -2
- package/lib/components/Icon/Icon.Skeleton.js +2 -2
- package/lib/components/IconButton/index.js +2 -2
- package/lib/components/IconIndicator/index.js +2 -2
- package/lib/components/InlineLoading/InlineLoading.js +2 -2
- package/lib/components/Layer/index.js +2 -2
- package/lib/components/Layout/index.js +2 -2
- package/lib/components/Link/Link.js +2 -2
- package/lib/components/ListBox/ListBox.js +2 -2
- package/lib/components/ListBox/ListBoxMenuIcon.js +2 -2
- package/lib/components/ListBox/ListBoxMenuItem.js +2 -2
- package/lib/components/ListBox/ListBoxSelection.js +2 -2
- package/lib/components/ListBox/next/ListBoxSelection.js +2 -2
- package/lib/components/ListBox/next/ListBoxTrigger.js +2 -2
- package/lib/components/ListItem/ListItem.js +2 -2
- package/lib/components/Loading/Loading.js +2 -2
- package/lib/components/Menu/Menu.js +2 -2
- package/lib/components/Menu/MenuContext.d.ts +11 -12
- package/lib/components/Menu/MenuItem.js +2 -2
- package/lib/components/MenuButton/index.js +2 -2
- package/lib/components/Modal/Modal.js +4 -4
- package/lib/components/ModalWrapper/ModalWrapper.js +2 -2
- package/lib/components/MultiSelect/FilterableMultiSelect.js +2 -2
- package/lib/components/MultiSelect/MultiSelect.js +3 -3
- package/lib/components/Notification/Notification.js +4 -4
- package/lib/components/NumberInput/NumberInput.Skeleton.js +2 -2
- package/lib/components/NumberInput/NumberInput.js +2 -2
- package/lib/components/OrderedList/OrderedList.js +2 -2
- package/lib/components/OverflowMenu/OverflowMenu.js +3 -3
- package/lib/components/OverflowMenu/next/index.js +2 -2
- package/lib/components/OverflowMenuItem/OverflowMenuItem.js +3 -3
- package/lib/components/PageHeader/PageHeader.js +2 -2
- package/lib/components/Pagination/Pagination.Skeleton.js +2 -2
- package/lib/components/Pagination/Pagination.js +2 -2
- package/lib/components/Pagination/experimental/PageSelector.js +2 -2
- package/lib/components/Pagination/experimental/Pagination.js +2 -2
- package/lib/components/PaginationNav/PaginationNav.js +2 -2
- package/lib/components/Popover/index.js +2 -2
- package/lib/components/ProgressBar/ProgressBar.js +2 -2
- package/lib/components/ProgressIndicator/ProgressIndicator.Skeleton.js +2 -2
- package/lib/components/ProgressIndicator/ProgressIndicator.js +2 -2
- package/lib/components/RadioButton/RadioButton.Skeleton.js +2 -2
- package/lib/components/RadioButton/RadioButton.js +2 -2
- package/lib/components/RadioButtonGroup/RadioButtonGroup.js +2 -2
- package/lib/components/RadioTile/RadioTile.js +3 -3
- package/lib/components/Search/Search.Skeleton.js +2 -2
- package/lib/components/Search/Search.js +3 -3
- package/lib/components/Select/Select.Skeleton.js +2 -2
- package/lib/components/Select/Select.js +2 -2
- package/lib/components/SelectItem/SelectItem.js +2 -2
- package/lib/components/SelectItemGroup/SelectItemGroup.js +2 -2
- package/lib/components/ShapeIndicator/index.js +2 -2
- package/lib/components/SkeletonIcon/SkeletonIcon.js +2 -2
- package/lib/components/SkeletonPlaceholder/SkeletonPlaceholder.js +2 -2
- package/lib/components/SkeletonText/SkeletonText.js +2 -2
- package/lib/components/Slider/Slider.Skeleton.js +2 -2
- package/lib/components/Slider/Slider.js +2 -2
- package/lib/components/Stack/Stack.js +2 -2
- package/lib/components/StructuredList/StructuredList.Skeleton.js +2 -2
- package/lib/components/StructuredList/StructuredList.js +2 -2
- package/lib/components/Switch/IconSwitch.js +3 -3
- package/lib/components/Switch/Switch.js +3 -3
- package/lib/components/TabContent/TabContent.js +2 -2
- package/lib/components/Tabs/Tabs.Skeleton.js +2 -2
- package/lib/components/Tabs/Tabs.d.ts +15 -1
- package/lib/components/Tabs/Tabs.js +13 -6
- package/lib/components/Tag/DismissibleTag.js +2 -2
- package/lib/components/Tag/OperationalTag.js +2 -2
- package/lib/components/Tag/SelectableTag.js +2 -2
- package/lib/components/Tag/Tag.Skeleton.js +2 -2
- package/lib/components/Tag/Tag.js +2 -2
- package/lib/components/TextArea/TextArea.Skeleton.js +2 -2
- package/lib/components/TextArea/TextArea.js +3 -3
- package/lib/components/TextInput/ControlledPasswordInput.js +3 -3
- package/lib/components/TextInput/PasswordInput.js +2 -2
- package/lib/components/TextInput/TextInput.Skeleton.js +2 -2
- package/lib/components/TextInput/TextInput.js +2 -2
- package/lib/components/Theme/index.js +2 -2
- package/lib/components/Tile/Tile.js +2 -2
- package/lib/components/TileGroup/TileGroup.js +1 -1
- package/lib/components/TimePicker/TimePicker.js +2 -2
- package/lib/components/TimePickerSelect/TimePickerSelect.js +2 -2
- package/lib/components/Toggle/Toggle.Skeleton.js +2 -2
- package/lib/components/Toggle/Toggle.js +2 -2
- package/lib/components/ToggleSmall/ToggleSmall.Skeleton.js +2 -2
- package/lib/components/Toggletip/index.js +2 -2
- package/lib/components/Tooltip/DefinitionTooltip.js +2 -2
- package/lib/components/Tooltip/Tooltip.js +2 -2
- package/lib/components/TreeView/TreeNode.js +2 -2
- package/lib/components/TreeView/TreeView.js +2 -2
- package/lib/components/UIShell/Content.js +2 -2
- package/lib/components/UIShell/Header.js +2 -2
- package/lib/components/UIShell/HeaderGlobalAction.js +2 -2
- package/lib/components/UIShell/HeaderMenu.js +2 -2
- package/lib/components/UIShell/HeaderMenuButton.js +2 -2
- package/lib/components/UIShell/HeaderMenuItem.js +2 -2
- package/lib/components/UIShell/HeaderName.js +2 -2
- package/lib/components/UIShell/HeaderNavigation.js +2 -2
- package/lib/components/UIShell/HeaderPanel.js +3 -3
- package/lib/components/UIShell/HeaderSideNavItems.js +2 -2
- package/lib/components/UIShell/SideNav.js +2 -2
- package/lib/components/UIShell/SideNavDetails.js +2 -2
- package/lib/components/UIShell/SideNavDivider.js +2 -2
- package/lib/components/UIShell/SideNavFooter.js +2 -2
- package/lib/components/UIShell/SideNavHeader.js +2 -2
- package/lib/components/UIShell/SideNavIcon.js +2 -2
- package/lib/components/UIShell/SideNavItem.js +2 -2
- package/lib/components/UIShell/SideNavItems.js +2 -2
- package/lib/components/UIShell/SideNavLink.js +2 -2
- package/lib/components/UIShell/SideNavLinkText.js +2 -2
- package/lib/components/UIShell/SideNavMenu.js +2 -2
- package/lib/components/UIShell/SideNavMenuItem.js +2 -2
- package/lib/components/UIShell/SideNavSwitcher.js +2 -2
- package/lib/components/UIShell/SkipToContent.js +2 -2
- package/lib/components/UIShell/Switcher.js +2 -2
- package/lib/components/UIShell/SwitcherDivider.js +2 -2
- package/lib/components/UIShell/SwitcherItem.js +2 -2
- package/lib/components/UnorderedList/UnorderedList.js +2 -2
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -0
- package/lib/internal/FloatingMenu.js +1 -1
- package/lib/internal/warnAboutDeprecatedReactVersion.d.ts +7 -0
- package/lib/tools/wrapComponent.js +2 -2
- package/package.json +3 -3
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
import { usePrefix } from "../../internal/usePrefix.js";
|
|
9
9
|
import useIsomorphicEffect from "../../internal/useIsomorphicEffect.js";
|
|
10
10
|
import { LowerHandle, UpperHandle } from "./SliderHandles.js";
|
|
11
|
-
import classNames from "classnames";
|
|
12
11
|
import { useState } from "react";
|
|
12
|
+
import classNames from "classnames";
|
|
13
13
|
import PropTypes from "prop-types";
|
|
14
14
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
15
15
|
//#region src/components/Slider/Slider.Skeleton.tsx
|
|
@@ -15,8 +15,8 @@ import { Tooltip } from "../Tooltip/Tooltip.js";
|
|
|
15
15
|
import { useNormalizedInputProps } from "../../internal/useNormalizedInputProps.js";
|
|
16
16
|
import { clamp } from "../../internal/clamp.js";
|
|
17
17
|
import { LowerHandle, LowerHandleFocus, UpperHandle, UpperHandleFocus } from "./SliderHandles.js";
|
|
18
|
-
import classNames from "classnames";
|
|
19
18
|
import { useEffect, useMemo, useReducer, useRef } from "react";
|
|
19
|
+
import classNames from "classnames";
|
|
20
20
|
import PropTypes from "prop-types";
|
|
21
21
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
22
22
|
import { WarningAltFilled, WarningFilled } from "@carbon/icons-react";
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
import { usePrefix } from "../../internal/usePrefix.js";
|
|
9
|
-
import classNames from "classnames";
|
|
10
9
|
import { forwardRef } from "react";
|
|
10
|
+
import classNames from "classnames";
|
|
11
11
|
import PropTypes from "prop-types";
|
|
12
12
|
import { jsx } from "react/jsx-runtime";
|
|
13
13
|
import { spacing } from "@carbon/layout";
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
import { usePrefix } from "../../internal/usePrefix.js";
|
|
9
|
-
import classNames from "classnames";
|
|
10
9
|
import "react";
|
|
10
|
+
import classNames from "classnames";
|
|
11
11
|
import PropTypes from "prop-types";
|
|
12
12
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
13
|
//#region src/components/StructuredList/StructuredList.Skeleton.tsx
|
|
@@ -10,8 +10,8 @@ import { Text } from "../Text/Text.js";
|
|
|
10
10
|
import { useId } from "../../internal/useId.js";
|
|
11
11
|
import { deprecate } from "../../prop-types/deprecate.js";
|
|
12
12
|
import { useOutsideClick } from "../../internal/useOutsideClick.js";
|
|
13
|
-
import classNames from "classnames";
|
|
14
13
|
import React, { useRef, useState } from "react";
|
|
14
|
+
import classNames from "classnames";
|
|
15
15
|
import PropTypes from "prop-types";
|
|
16
16
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
17
17
|
import { RadioButton, RadioButtonChecked } from "@carbon/icons-react";
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import { usePrefix } from "../../internal/usePrefix.js";
|
|
9
8
|
import { noopFn } from "../../internal/noopFn.js";
|
|
9
|
+
import { usePrefix } from "../../internal/usePrefix.js";
|
|
10
10
|
import { IconButton } from "../IconButton/index.js";
|
|
11
|
-
import classNames from "classnames";
|
|
12
11
|
import { forwardRef, useState } from "react";
|
|
12
|
+
import classNames from "classnames";
|
|
13
13
|
import PropTypes from "prop-types";
|
|
14
14
|
import { jsx } from "react/jsx-runtime";
|
|
15
15
|
//#region src/components/Switch/IconSwitch.tsx
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import { usePrefix } from "../../internal/usePrefix.js";
|
|
9
8
|
import { noopFn } from "../../internal/noopFn.js";
|
|
10
|
-
import
|
|
9
|
+
import { usePrefix } from "../../internal/usePrefix.js";
|
|
11
10
|
import React from "react";
|
|
11
|
+
import classNames from "classnames";
|
|
12
12
|
import PropTypes from "prop-types";
|
|
13
13
|
import { jsx } from "react/jsx-runtime";
|
|
14
14
|
//#region src/components/Switch/Switch.tsx
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
import { usePrefix } from "../../internal/usePrefix.js";
|
|
9
|
-
import classNames from "classnames";
|
|
10
9
|
import "react";
|
|
10
|
+
import classNames from "classnames";
|
|
11
11
|
import PropTypes from "prop-types";
|
|
12
12
|
import { jsx } from "react/jsx-runtime";
|
|
13
13
|
//#region src/components/TabContent/TabContent.tsx
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
import { usePrefix } from "../../internal/usePrefix.js";
|
|
9
|
-
import classNames from "classnames";
|
|
10
9
|
import "react";
|
|
10
|
+
import classNames from "classnames";
|
|
11
11
|
import PropTypes from "prop-types";
|
|
12
12
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
13
|
//#region src/components/Tabs/Tabs.Skeleton.tsx
|
|
@@ -194,6 +194,9 @@ export interface TabListProps extends DivAttributes {
|
|
|
194
194
|
scrollIntoView?: boolean;
|
|
195
195
|
/**
|
|
196
196
|
* Specify the size of the tabs.
|
|
197
|
+
*
|
|
198
|
+
* Supports `sm` and `md` for line tabs.
|
|
199
|
+
* Supports `sm`, `md`, and `lg` for contained tabs.
|
|
197
200
|
*/
|
|
198
201
|
size?: 'sm' | 'md' | 'lg';
|
|
199
202
|
}
|
|
@@ -256,6 +259,9 @@ declare namespace TabList {
|
|
|
256
259
|
scrollIntoView: PropTypes.Requireable<boolean>;
|
|
257
260
|
/**
|
|
258
261
|
* Specify the size of the tabs.
|
|
262
|
+
*
|
|
263
|
+
* Supports `sm` and `md` for line tabs.
|
|
264
|
+
* Supports `sm`, `md`, and `lg` for contained tabs.
|
|
259
265
|
*/
|
|
260
266
|
size: PropTypes.Requireable<string>;
|
|
261
267
|
};
|
|
@@ -288,8 +294,12 @@ export interface TabListVerticalProps extends DivAttributes {
|
|
|
288
294
|
* on component rerender
|
|
289
295
|
*/
|
|
290
296
|
scrollIntoView?: boolean;
|
|
297
|
+
/**
|
|
298
|
+
* Specify the size of the tabs.
|
|
299
|
+
*/
|
|
300
|
+
size?: 'sm' | 'md' | 'lg' | 'xl';
|
|
291
301
|
}
|
|
292
|
-
declare function TabListVertical({ activation, 'aria-label': label, children, className: customClassName, scrollIntoView, ...rest }: TabListVerticalProps): import("react/jsx-runtime").JSX.Element;
|
|
302
|
+
declare function TabListVertical({ activation, 'aria-label': label, children, className: customClassName, scrollIntoView, size, ...rest }: TabListVerticalProps): import("react/jsx-runtime").JSX.Element;
|
|
293
303
|
declare namespace TabListVertical {
|
|
294
304
|
var propTypes: {
|
|
295
305
|
/**
|
|
@@ -311,6 +321,10 @@ declare namespace TabListVertical {
|
|
|
311
321
|
* Specify an optional className to be added to the container node
|
|
312
322
|
*/
|
|
313
323
|
className: PropTypes.Requireable<string>;
|
|
324
|
+
/**
|
|
325
|
+
* Specify the size of the tabs.
|
|
326
|
+
*/
|
|
327
|
+
size: PropTypes.Requireable<string>;
|
|
314
328
|
};
|
|
315
329
|
}
|
|
316
330
|
/**
|
|
@@ -21,8 +21,8 @@ import { useControllableState } from "../../internal/useControllableState.js";
|
|
|
21
21
|
import { GridAsGridComponent } from "../Grid/Grid.js";
|
|
22
22
|
import { useMatchMedia } from "../../internal/useMatchMedia.js";
|
|
23
23
|
import { usePressable } from "./usePressable.js";
|
|
24
|
-
import classNames from "classnames";
|
|
25
24
|
import React, { Children, cloneElement, createContext, forwardRef, isValidElement, useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
25
|
+
import classNames from "classnames";
|
|
26
26
|
import PropTypes from "prop-types";
|
|
27
27
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
28
28
|
import { ChevronLeft, ChevronRight, Close } from "@carbon/icons-react";
|
|
@@ -161,7 +161,7 @@ function TabList({ activation = "automatic", "aria-label": label, children, clas
|
|
|
161
161
|
[`${prefix}--tabs__icon--default`]: iconSize === "default",
|
|
162
162
|
[`${prefix}--tabs__icon--lg`]: iconSize === "lg",
|
|
163
163
|
[`${prefix}--layout--size-lg`]: iconSize === "lg",
|
|
164
|
-
[`${prefix}--layout--size-${size}`]: size && !hasSecondaryLabelTabs,
|
|
164
|
+
[`${prefix}--layout--size-${size}`]: size && !hasSecondaryLabelTabs && (contained || size === "sm" || size === "md"),
|
|
165
165
|
[`${prefix}--tabs--tall`]: hasSecondaryLabelTabs,
|
|
166
166
|
[`${prefix}--tabs--full-width`]: distributeWidth,
|
|
167
167
|
[`${prefix}--tabs--dismissable`]: dismissable
|
|
@@ -349,14 +349,14 @@ TabList.propTypes = {
|
|
|
349
349
|
"lg"
|
|
350
350
|
])
|
|
351
351
|
};
|
|
352
|
-
function TabListVertical({ activation = "automatic", "aria-label": label, children, className: customClassName, scrollIntoView, ...rest }) {
|
|
352
|
+
function TabListVertical({ activation = "automatic", "aria-label": label, children, className: customClassName, scrollIntoView, size, ...rest }) {
|
|
353
353
|
const { activeIndex, selectedIndex, setSelectedIndex, setActiveIndex } = React.useContext(TabsContext);
|
|
354
354
|
const prefix = usePrefix();
|
|
355
355
|
const ref = useRef(null);
|
|
356
356
|
const [isOverflowingBottom, setIsOverflowingBottom] = useState(false);
|
|
357
357
|
const [isOverflowingTop, setIsOverflowingTop] = useState(false);
|
|
358
358
|
const isSm = useMatchMedia(smMediaQuery);
|
|
359
|
-
const className = classNames(`${prefix}--tabs`, `${prefix}--tabs--vertical`, `${prefix}--tabs--contained`, customClassName);
|
|
359
|
+
const className = classNames(`${prefix}--tabs`, `${prefix}--tabs--vertical`, `${prefix}--tabs--contained`, { [`${prefix}--layout--size-${size}`]: size }, customClassName);
|
|
360
360
|
const tabs = useRef([]);
|
|
361
361
|
function onKeyDown(event) {
|
|
362
362
|
if (matches(event, [
|
|
@@ -428,6 +428,7 @@ function TabListVertical({ activation = "automatic", "aria-label": label, childr
|
|
|
428
428
|
...rest,
|
|
429
429
|
"aria-label": label,
|
|
430
430
|
contained: true,
|
|
431
|
+
size: size === "xl" ? "lg" : size,
|
|
431
432
|
children
|
|
432
433
|
});
|
|
433
434
|
return /* @__PURE__ */ jsxs("div", {
|
|
@@ -463,7 +464,13 @@ TabListVertical.propTypes = {
|
|
|
463
464
|
activation: PropTypes.oneOf(["automatic", "manual"]),
|
|
464
465
|
"aria-label": PropTypes.string,
|
|
465
466
|
children: PropTypes.node,
|
|
466
|
-
className: PropTypes.string
|
|
467
|
+
className: PropTypes.string,
|
|
468
|
+
size: PropTypes.oneOf([
|
|
469
|
+
"sm",
|
|
470
|
+
"md",
|
|
471
|
+
"lg",
|
|
472
|
+
"xl"
|
|
473
|
+
])
|
|
467
474
|
};
|
|
468
475
|
/**
|
|
469
476
|
* Helper function to set up the behavior when a button is "long pressed".
|
|
@@ -16,8 +16,8 @@ import { AILabel } from "../AILabel/index.js";
|
|
|
16
16
|
import { mergeRefs } from "../../tools/mergeRefs.js";
|
|
17
17
|
import { isEllipsisActive } from "./isEllipsisActive.js";
|
|
18
18
|
import Tag, { SIZES, TYPES } from "./Tag.js";
|
|
19
|
-
import classNames from "classnames";
|
|
20
19
|
import { cloneElement, forwardRef, useRef, useState } from "react";
|
|
20
|
+
import classNames from "classnames";
|
|
21
21
|
import PropTypes from "prop-types";
|
|
22
22
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
23
23
|
import { Close } from "@carbon/icons-react";
|
|
@@ -13,8 +13,8 @@ import { Tooltip } from "../Tooltip/Tooltip.js";
|
|
|
13
13
|
import { mergeRefs } from "../../tools/mergeRefs.js";
|
|
14
14
|
import { isEllipsisActive } from "./isEllipsisActive.js";
|
|
15
15
|
import Tag, { SIZES } from "./Tag.js";
|
|
16
|
-
import classNames from "classnames";
|
|
17
16
|
import { forwardRef, useRef, useState } from "react";
|
|
17
|
+
import classNames from "classnames";
|
|
18
18
|
import PropTypes from "prop-types";
|
|
19
19
|
import { jsx } from "react/jsx-runtime";
|
|
20
20
|
//#region src/components/Tag/OperationalTag.tsx
|
|
@@ -14,8 +14,8 @@ import { mergeRefs } from "../../tools/mergeRefs.js";
|
|
|
14
14
|
import { useControllableState } from "../../internal/useControllableState.js";
|
|
15
15
|
import { isEllipsisActive } from "./isEllipsisActive.js";
|
|
16
16
|
import Tag, { SIZES } from "./Tag.js";
|
|
17
|
-
import classNames from "classnames";
|
|
18
17
|
import { forwardRef, useRef, useState } from "react";
|
|
18
|
+
import classNames from "classnames";
|
|
19
19
|
import PropTypes from "prop-types";
|
|
20
20
|
import { jsx } from "react/jsx-runtime";
|
|
21
21
|
//#region src/components/Tag/SelectableTag.tsx
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
import { usePrefix } from "../../internal/usePrefix.js";
|
|
9
|
-
import classNames from "classnames";
|
|
10
9
|
import "react";
|
|
10
|
+
import classNames from "classnames";
|
|
11
11
|
import PropTypes from "prop-types";
|
|
12
12
|
import { jsx } from "react/jsx-runtime";
|
|
13
13
|
//#region src/components/Tag/Tag.Skeleton.tsx
|
package/es/components/Tag/Tag.js
CHANGED
|
@@ -15,8 +15,8 @@ import { useMergedRefs } from "../../internal/useMergedRefs.js";
|
|
|
15
15
|
import { DefinitionTooltip } from "../Tooltip/DefinitionTooltip.js";
|
|
16
16
|
import { AILabel } from "../AILabel/index.js";
|
|
17
17
|
import { isEllipsisActive } from "./isEllipsisActive.js";
|
|
18
|
-
import classNames from "classnames";
|
|
19
18
|
import React, { cloneElement, useRef, useState } from "react";
|
|
19
|
+
import classNames from "classnames";
|
|
20
20
|
import PropTypes from "prop-types";
|
|
21
21
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
22
22
|
import { Close } from "@carbon/icons-react";
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
import { usePrefix } from "../../internal/usePrefix.js";
|
|
9
|
-
import classNames from "classnames";
|
|
10
9
|
import "react";
|
|
10
|
+
import classNames from "classnames";
|
|
11
11
|
import PropTypes from "prop-types";
|
|
12
12
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
13
|
//#region src/components/TextArea/TextArea.Skeleton.tsx
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
+
import { noopFn } from "../../internal/noopFn.js";
|
|
8
9
|
import { usePrefix } from "../../internal/usePrefix.js";
|
|
9
10
|
import { Text } from "../Text/Text.js";
|
|
10
11
|
import useIsomorphicEffect from "../../internal/useIsomorphicEffect.js";
|
|
11
12
|
import { useId } from "../../internal/useId.js";
|
|
12
|
-
import { noopFn } from "../../internal/noopFn.js";
|
|
13
13
|
import { deprecate } from "../../prop-types/deprecate.js";
|
|
14
14
|
import { isComponentElement } from "../../internal/utils.js";
|
|
15
15
|
import { useMergedRefs } from "../../internal/useMergedRefs.js";
|
|
@@ -17,8 +17,8 @@ import { hasHelperText } from "../../internal/hasHelperText.js";
|
|
|
17
17
|
import { AILabel } from "../AILabel/index.js";
|
|
18
18
|
import { FormContext } from "../FluidForm/FormContext.js";
|
|
19
19
|
import { getAnnouncement } from "../../internal/getAnnouncement.js";
|
|
20
|
-
import classNames from "classnames";
|
|
21
20
|
import { cloneElement, forwardRef, useContext, useEffect, useRef, useState } from "react";
|
|
21
|
+
import classNames from "classnames";
|
|
22
22
|
import PropTypes from "prop-types";
|
|
23
23
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
24
24
|
import { WarningAltFilled, WarningFilled } from "@carbon/icons-react";
|
|
@@ -5,14 +5,14 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
+
import { noopFn } from "../../internal/noopFn.js";
|
|
8
9
|
import { usePrefix } from "../../internal/usePrefix.js";
|
|
9
10
|
import { useId } from "../../internal/useId.js";
|
|
10
|
-
import { noopFn } from "../../internal/noopFn.js";
|
|
11
11
|
import { deprecate } from "../../prop-types/deprecate.js";
|
|
12
12
|
import { hasHelperText } from "../../internal/hasHelperText.js";
|
|
13
13
|
import { getTextInputProps } from "./util.js";
|
|
14
|
-
import classNames from "classnames";
|
|
15
14
|
import { forwardRef } from "react";
|
|
15
|
+
import classNames from "classnames";
|
|
16
16
|
import PropTypes from "prop-types";
|
|
17
17
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
18
18
|
import { View, ViewOff, WarningFilled } from "@carbon/icons-react";
|
|
@@ -12,8 +12,8 @@ import { hasHelperText } from "../../internal/hasHelperText.js";
|
|
|
12
12
|
import { useNormalizedInputProps } from "../../internal/useNormalizedInputProps.js";
|
|
13
13
|
import { FormContext } from "../FluidForm/FormContext.js";
|
|
14
14
|
import { getTextInputProps } from "./util.js";
|
|
15
|
-
import classNames from "classnames";
|
|
16
15
|
import { forwardRef, useContext, useEffect, useState } from "react";
|
|
16
|
+
import classNames from "classnames";
|
|
17
17
|
import PropTypes from "prop-types";
|
|
18
18
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
19
19
|
import { View, ViewOff } from "@carbon/icons-react";
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
import { usePrefix } from "../../internal/usePrefix.js";
|
|
9
|
-
import classNames from "classnames";
|
|
10
9
|
import "react";
|
|
10
|
+
import classNames from "classnames";
|
|
11
11
|
import PropTypes from "prop-types";
|
|
12
12
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
13
|
//#region src/components/TextInput/TextInput.Skeleton.tsx
|
|
@@ -16,8 +16,8 @@ import { AILabel } from "../AILabel/index.js";
|
|
|
16
16
|
import { FormContext } from "../FluidForm/FormContext.js";
|
|
17
17
|
import { getTextInputProps } from "./util.js";
|
|
18
18
|
import { getAnnouncement } from "../../internal/getAnnouncement.js";
|
|
19
|
-
import classNames from "classnames";
|
|
20
19
|
import { cloneElement, forwardRef, useContext, useEffect, useRef, useState } from "react";
|
|
20
|
+
import classNames from "classnames";
|
|
21
21
|
import PropTypes from "prop-types";
|
|
22
22
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
23
23
|
//#region src/components/TextInput/TextInput.tsx
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
import { usePrefix } from "../../internal/usePrefix.js";
|
|
9
9
|
import { LayerContext } from "../Layer/LayerContext.js";
|
|
10
10
|
import { useMatchMedia } from "../../internal/useMatchMedia.js";
|
|
11
|
-
import classNames from "classnames";
|
|
12
11
|
import React, { cloneElement, isValidElement, useMemo } from "react";
|
|
12
|
+
import classNames from "classnames";
|
|
13
13
|
import PropTypes from "prop-types";
|
|
14
14
|
import { jsx } from "react/jsx-runtime";
|
|
15
15
|
//#region src/components/Theme/index.tsx
|
|
@@ -19,8 +19,8 @@ import { useFeatureFlag } from "../FeatureFlags/index.js";
|
|
|
19
19
|
import { getInteractiveContent, getRoleContent } from "../../internal/useNoInteractiveChildren.js";
|
|
20
20
|
import { AILabel } from "../AILabel/index.js";
|
|
21
21
|
import { composeEventHandlers } from "../../tools/events.js";
|
|
22
|
-
import classNames from "classnames";
|
|
23
22
|
import React, { Children, cloneElement, forwardRef, useCallback, useEffect, useRef, useState } from "react";
|
|
23
|
+
import classNames from "classnames";
|
|
24
24
|
import PropTypes from "prop-types";
|
|
25
25
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
26
26
|
import { AiLabel, ArrowRight, Checkbox, CheckboxCheckedFilled, ChevronDown, Error } from "@carbon/icons-react";
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import { usePrefix } from "../../internal/usePrefix.js";
|
|
9
8
|
import { noopFn } from "../../internal/noopFn.js";
|
|
9
|
+
import { usePrefix } from "../../internal/usePrefix.js";
|
|
10
10
|
import { isComponentElement } from "../../internal/utils.js";
|
|
11
11
|
import RadioTile_default from "../RadioTile/index.js";
|
|
12
12
|
import { Children, cloneElement, createElement, isValidElement, useEffect, useState } from "react";
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
import { usePrefix } from "../../internal/usePrefix.js";
|
|
9
9
|
import { deprecate } from "../../prop-types/deprecate.js";
|
|
10
10
|
import { useNormalizedInputProps } from "../../internal/useNormalizedInputProps.js";
|
|
11
|
-
import classNames from "classnames";
|
|
12
11
|
import React, { forwardRef } from "react";
|
|
12
|
+
import classNames from "classnames";
|
|
13
13
|
import PropTypes from "prop-types";
|
|
14
14
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
15
15
|
//#region src/components/TimePicker/TimePicker.tsx
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
import { usePrefix } from "../../internal/usePrefix.js";
|
|
9
|
-
import classNames from "classnames";
|
|
10
9
|
import { forwardRef } from "react";
|
|
10
|
+
import classNames from "classnames";
|
|
11
11
|
import PropTypes from "prop-types";
|
|
12
12
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
13
|
import { ChevronDown } from "@carbon/icons-react";
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
import { usePrefix } from "../../internal/usePrefix.js";
|
|
9
|
-
import classNames from "classnames";
|
|
10
9
|
import "react";
|
|
10
|
+
import classNames from "classnames";
|
|
11
11
|
import PropTypes from "prop-types";
|
|
12
12
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
13
|
//#region src/components/Toggle/Toggle.Skeleton.tsx
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
import { usePrefix } from "../../internal/usePrefix.js";
|
|
9
9
|
import { Text } from "../Text/Text.js";
|
|
10
10
|
import { useControllableState } from "../../internal/useControllableState.js";
|
|
11
|
-
import classNames from "classnames";
|
|
12
11
|
import { useRef } from "react";
|
|
12
|
+
import classNames from "classnames";
|
|
13
13
|
import PropTypes from "prop-types";
|
|
14
14
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
15
15
|
//#region src/components/Toggle/Toggle.tsx
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
import { PrefixContext } from "../../internal/usePrefix.js";
|
|
9
|
-
import classNames from "classnames";
|
|
10
9
|
import { useContext } from "react";
|
|
10
|
+
import classNames from "classnames";
|
|
11
11
|
import PropTypes from "prop-types";
|
|
12
12
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
13
|
//#region src/components/ToggleSmall/ToggleSmall.Skeleton.tsx
|
|
@@ -11,8 +11,8 @@ import { match } from "../../internal/keyboard/match.js";
|
|
|
11
11
|
import { useId } from "../../internal/useId.js";
|
|
12
12
|
import { useWindowEvent } from "../../internal/useEvent.js";
|
|
13
13
|
import { Popover, PopoverContent } from "../Popover/index.js";
|
|
14
|
-
import classNames from "classnames";
|
|
15
14
|
import React, { forwardRef, useContext, useEffect, useRef, useState } from "react";
|
|
15
|
+
import classNames from "classnames";
|
|
16
16
|
import PropTypes from "prop-types";
|
|
17
17
|
import { jsx } from "react/jsx-runtime";
|
|
18
18
|
//#region src/components/Toggletip/index.tsx
|
|
@@ -11,8 +11,8 @@ import { match } from "../../internal/keyboard/match.js";
|
|
|
11
11
|
import { useFallbackId } from "../../internal/useId.js";
|
|
12
12
|
import { deprecate } from "../../prop-types/deprecate.js";
|
|
13
13
|
import { Popover, PopoverContent } from "../Popover/index.js";
|
|
14
|
-
import classNames from "classnames";
|
|
15
14
|
import { useState } from "react";
|
|
15
|
+
import classNames from "classnames";
|
|
16
16
|
import PropTypes from "prop-types";
|
|
17
17
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
18
18
|
//#region src/components/Tooltip/DefinitionTooltip.tsx
|
|
@@ -13,8 +13,8 @@ import { useId } from "../../internal/useId.js";
|
|
|
13
13
|
import { Popover, PopoverContent } from "../Popover/index.js";
|
|
14
14
|
import { useDelayedState } from "../../internal/useDelayedState.js";
|
|
15
15
|
import { useNoInteractiveChildren } from "../../internal/useNoInteractiveChildren.js";
|
|
16
|
-
import classNames from "classnames";
|
|
17
16
|
import React, { useCallback, useEffect, useRef, useState } from "react";
|
|
17
|
+
import classNames from "classnames";
|
|
18
18
|
import PropTypes from "prop-types";
|
|
19
19
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
20
20
|
//#region src/components/Tooltip/Tooltip.tsx
|
|
@@ -14,8 +14,8 @@ import { useFeatureFlag } from "../FeatureFlags/index.js";
|
|
|
14
14
|
import { IconButton } from "../IconButton/index.js";
|
|
15
15
|
import { useControllableState } from "../../internal/useControllableState.js";
|
|
16
16
|
import { DepthContext, TreeContext } from "./TreeContext.js";
|
|
17
|
-
import classNames from "classnames";
|
|
18
17
|
import React, { isValidElement, useCallback, useContext, useEffect, useRef, useState } from "react";
|
|
18
|
+
import classNames from "classnames";
|
|
19
19
|
import PropTypes from "prop-types";
|
|
20
20
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
21
21
|
import { CaretDown } from "@carbon/icons-react";
|
|
@@ -13,8 +13,8 @@ import { useFeatureFlag } from "../FeatureFlags/index.js";
|
|
|
13
13
|
import { useControllableState } from "../../internal/useControllableState.js";
|
|
14
14
|
import { DepthContext, TreeContext } from "./TreeContext.js";
|
|
15
15
|
import TreeNode from "./TreeNode.js";
|
|
16
|
-
import classNames from "classnames";
|
|
17
16
|
import { useEffect, useMemo, useRef, useState } from "react";
|
|
17
|
+
import classNames from "classnames";
|
|
18
18
|
import PropTypes from "prop-types";
|
|
19
19
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
20
20
|
//#region src/components/TreeView/TreeView.tsx
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
import { usePrefix } from "../../internal/usePrefix.js";
|
|
9
|
-
import classNames from "classnames";
|
|
10
9
|
import React from "react";
|
|
10
|
+
import classNames from "classnames";
|
|
11
11
|
import PropTypes from "prop-types";
|
|
12
12
|
//#region src/components/UIShell/Content.ts
|
|
13
13
|
/**
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
import { usePrefix } from "../../internal/usePrefix.js";
|
|
9
|
-
import classNames from "classnames";
|
|
10
9
|
import "react";
|
|
10
|
+
import classNames from "classnames";
|
|
11
11
|
import PropTypes from "prop-types";
|
|
12
12
|
import { jsx } from "react/jsx-runtime";
|
|
13
13
|
//#region src/components/UIShell/Header.tsx
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
import { usePrefix } from "../../internal/usePrefix.js";
|
|
9
9
|
import Button_default from "../Button/index.js";
|
|
10
10
|
import { AriaLabelPropType } from "../../prop-types/AriaPropTypes.js";
|
|
11
|
-
import classNames from "classnames";
|
|
12
11
|
import React from "react";
|
|
12
|
+
import classNames from "classnames";
|
|
13
13
|
import PropTypes from "prop-types";
|
|
14
14
|
import { jsx } from "react/jsx-runtime";
|
|
15
15
|
//#region src/components/UIShell/HeaderGlobalAction.tsx
|
|
@@ -14,8 +14,8 @@ import { useMergedRefs } from "../../internal/useMergedRefs.js";
|
|
|
14
14
|
import { composeEventHandlers } from "../../tools/events.js";
|
|
15
15
|
import { AriaLabelPropType } from "../../prop-types/AriaPropTypes.js";
|
|
16
16
|
import HeaderMenuItem from "./HeaderMenuItem.js";
|
|
17
|
-
import classNames from "classnames";
|
|
18
17
|
import { Children, cloneElement, forwardRef, useContext, useRef, useState } from "react";
|
|
18
|
+
import classNames from "classnames";
|
|
19
19
|
import PropTypes from "prop-types";
|
|
20
20
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
21
21
|
import { ChevronDown } from "@carbon/icons-react";
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
|
|
8
8
|
import { usePrefix } from "../../internal/usePrefix.js";
|
|
9
9
|
import { AriaLabelPropType } from "../../prop-types/AriaPropTypes.js";
|
|
10
|
-
import classNames from "classnames";
|
|
11
10
|
import "react";
|
|
11
|
+
import classNames from "classnames";
|
|
12
12
|
import PropTypes from "prop-types";
|
|
13
13
|
import { jsx } from "react/jsx-runtime";
|
|
14
14
|
import { Close, Menu } from "@carbon/icons-react";
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
import { usePrefix } from "../../internal/usePrefix.js";
|
|
9
9
|
import { deprecate } from "../../prop-types/deprecate.js";
|
|
10
10
|
import Link, { LinkPropTypes } from "./Link.js";
|
|
11
|
-
import classNames from "classnames";
|
|
12
11
|
import { forwardRef } from "react";
|
|
12
|
+
import classNames from "classnames";
|
|
13
13
|
import PropTypes from "prop-types";
|
|
14
14
|
import { jsx } from "react/jsx-runtime";
|
|
15
15
|
//#region src/components/UIShell/HeaderMenuItem.tsx
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
|
|
8
8
|
import { usePrefix } from "../../internal/usePrefix.js";
|
|
9
9
|
import Link, { LinkPropTypes } from "./Link.js";
|
|
10
|
-
import classNames from "classnames";
|
|
11
10
|
import "react";
|
|
11
|
+
import classNames from "classnames";
|
|
12
12
|
import PropTypes from "prop-types";
|
|
13
13
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
14
14
|
//#region src/components/UIShell/HeaderName.tsx
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
|
|
8
8
|
import { usePrefix } from "../../internal/usePrefix.js";
|
|
9
9
|
import { AriaLabelPropType } from "../../prop-types/AriaPropTypes.js";
|
|
10
|
-
import classNames from "classnames";
|
|
11
10
|
import "react";
|
|
11
|
+
import classNames from "classnames";
|
|
12
12
|
import PropTypes from "prop-types";
|
|
13
13
|
import { jsx } from "react/jsx-runtime";
|
|
14
14
|
//#region src/components/UIShell/HeaderNavigation.tsx
|
|
@@ -5,16 +5,16 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
+
import { noopFn } from "../../internal/noopFn.js";
|
|
8
9
|
import { usePrefix } from "../../internal/usePrefix.js";
|
|
9
10
|
import { Escape } from "../../internal/keyboard/keys.js";
|
|
10
11
|
import { match } from "../../internal/keyboard/match.js";
|
|
11
|
-
import { noopFn } from "../../internal/noopFn.js";
|
|
12
12
|
import { isComponentElement } from "../../internal/utils.js";
|
|
13
13
|
import { useMergedRefs } from "../../internal/useMergedRefs.js";
|
|
14
14
|
import { useWindowEvent } from "../../internal/useEvent.js";
|
|
15
15
|
import Switcher from "./Switcher.js";
|
|
16
|
-
import classNames from "classnames";
|
|
17
16
|
import React, { useRef, useState } from "react";
|
|
17
|
+
import classNames from "classnames";
|
|
18
18
|
import PropTypes from "prop-types";
|
|
19
19
|
import { jsx } from "react/jsx-runtime";
|
|
20
20
|
//#region src/components/UIShell/HeaderPanel.tsx
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
import { usePrefix } from "../../internal/usePrefix.js";
|
|
9
|
-
import classNames from "classnames";
|
|
10
9
|
import "react";
|
|
10
|
+
import classNames from "classnames";
|
|
11
11
|
import PropTypes from "prop-types";
|
|
12
12
|
import { jsx } from "react/jsx-runtime";
|
|
13
13
|
//#region src/components/UIShell/HeaderSideNavItems.tsx
|
|
@@ -14,8 +14,8 @@ import { useDelayedState } from "../../internal/useDelayedState.js";
|
|
|
14
14
|
import { useMatchMedia } from "../../internal/useMatchMedia.js";
|
|
15
15
|
import { AriaLabelPropType } from "../../prop-types/AriaPropTypes.js";
|
|
16
16
|
import { SideNavContextProvider } from "./SideNavContext.js";
|
|
17
|
-
import classNames from "classnames";
|
|
18
17
|
import { forwardRef, useEffect, useRef } from "react";
|
|
18
|
+
import classNames from "classnames";
|
|
19
19
|
import PropTypes from "prop-types";
|
|
20
20
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
21
21
|
import { breakpoints } from "@carbon/layout";
|