@carbon/react 1.112.0 → 1.113.0-rc.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 +941 -941
- package/es/components/AILabel/index.js +6 -6
- package/es/components/AISkeleton/AISkeletonIcon.js +2 -2
- package/es/components/AISkeleton/AISkeletonPlaceholder.js +2 -2
- package/es/components/AISkeleton/AISkeletonText.js +2 -2
- package/es/components/Accordion/Accordion.Skeleton.js +3 -3
- package/es/components/Accordion/Accordion.js +2 -2
- package/es/components/Accordion/AccordionItem.js +2 -2
- package/es/components/AspectRatio/AspectRatio.js +2 -2
- package/es/components/BadgeIndicator/index.js +4 -4
- package/es/components/Breadcrumb/Breadcrumb.Skeleton.js +3 -3
- package/es/components/Breadcrumb/Breadcrumb.js +2 -2
- package/es/components/Breadcrumb/BreadcrumbItem.js +3 -3
- package/es/components/Button/Button.Skeleton.js +3 -3
- package/es/components/Button/Button.js +2 -2
- package/es/components/Button/ButtonBase.js +2 -2
- package/es/components/Button/index.js +3 -3
- package/es/components/ButtonSet/ButtonSet.js +3 -3
- package/es/components/ButtonSet/index.js +1 -1
- package/es/components/ChatButton/ChatButton.Skeleton.js +2 -2
- package/es/components/ChatButton/ChatButton.js +3 -3
- package/es/components/Checkbox/Checkbox.Skeleton.js +3 -3
- package/es/components/Checkbox/Checkbox.js +4 -4
- package/es/components/Checkbox/index.js +2 -2
- package/es/components/CheckboxGroup/CheckboxGroup.js +2 -2
- package/es/components/CodeSnippet/CodeSnippet.Skeleton.js +3 -3
- package/es/components/CodeSnippet/CodeSnippet.js +2 -2
- package/es/components/ComboBox/ComboBox.js +12 -9
- package/es/components/ComboBox/index.js +1 -1
- package/es/components/ComboButton/index.js +5 -5
- package/es/components/ComposedModal/ComposedModal.js +7 -6
- package/es/components/ComposedModal/ComposedModalPresence.js +5 -2
- package/es/components/ComposedModal/ModalFooter.js +4 -4
- package/es/components/ComposedModal/ModalHeader.js +6 -6
- package/es/components/ContainedList/ContainedList.js +2 -2
- package/es/components/ContainedList/ContainedListItem/ContainedListItem.js +2 -2
- package/es/components/ContainedList/ContainedListItem/index.js +1 -1
- package/es/components/ContentSwitcher/ContentSwitcher.js +2 -2
- package/es/components/Copy/Copy.js +4 -4
- package/es/components/Copy/index.js +1 -1
- package/es/components/CopyButton/CopyButton.js +3 -3
- package/es/components/CopyButton/index.js +1 -1
- package/es/components/DataTable/DataTable.js +4 -3
- package/es/components/DataTable/Table.js +3 -3
- package/es/components/DataTable/TableBatchActions.js +3 -3
- package/es/components/DataTable/TableCell.js +2 -2
- package/es/components/DataTable/TableContainer.js +3 -3
- package/es/components/DataTable/TableDecoratorRow.js +2 -2
- package/es/components/DataTable/TableExpandHeader.js +2 -2
- package/es/components/DataTable/TableExpandRow.js +2 -2
- package/es/components/DataTable/TableExpandedRow.js +2 -2
- package/es/components/DataTable/TableHeader.js +4 -4
- package/es/components/DataTable/TableRow.js +2 -2
- package/es/components/DataTable/TableSelectAll.js +2 -2
- package/es/components/DataTable/TableSelectRow.js +2 -2
- package/es/components/DataTable/TableSlugRow.js +2 -2
- package/es/components/DataTable/TableToolbar.js +3 -3
- package/es/components/DataTable/TableToolbarMenu.js +4 -4
- package/es/components/DataTable/TableToolbarSearch.js +3 -3
- package/es/components/DataTable/state/sorting.js +3 -2
- package/es/components/DataTable/tools/sorting.js +1 -1
- package/es/components/DataTableSkeleton/DataTableSkeleton.js +2 -2
- package/es/components/DatePicker/DatePicker.Skeleton.js +4 -4
- package/es/components/DatePicker/DatePicker.js +3 -3
- package/es/components/DatePicker/index.js +2 -2
- package/es/components/DatePickerInput/DatePickerInput.js +7 -7
- package/es/components/DatePickerInput/index.js +1 -1
- package/es/components/Dialog/Dialog.js +9 -9
- package/es/components/Dialog/index.js +1 -1
- package/es/components/Dropdown/Dropdown.Skeleton.js +4 -4
- package/es/components/Dropdown/Dropdown.js +5 -5
- package/es/components/Dropdown/index.js +2 -2
- package/es/components/ExpandableSearch/ExpandableSearch.js +2 -2
- package/es/components/ExpandableSearch/index.js +1 -1
- package/es/components/FileUploader/FileUploader.Skeleton.js +4 -4
- package/es/components/FileUploader/FileUploader.js +11 -8
- package/es/components/FileUploader/FileUploaderButton.js +3 -3
- package/es/components/FileUploader/FileUploaderDropContainer.js +8 -6
- package/es/components/FileUploader/FileUploaderItem.js +3 -3
- package/es/components/FluidComboBox/FluidComboBox.Skeleton.js +2 -2
- package/es/components/FluidComboBox/FluidComboBox.js +3 -3
- package/es/components/FluidDatePicker/FluidDatePicker.Skeleton.js +3 -3
- package/es/components/FluidDatePicker/FluidDatePicker.js +3 -3
- package/es/components/FluidDropdown/FluidDropdown.Skeleton.js +2 -2
- package/es/components/FluidDropdown/FluidDropdown.js +3 -3
- package/es/components/FluidForm/FluidForm.js +3 -3
- package/es/components/FluidMultiSelect/FluidMultiSelect.Skeleton.js +2 -2
- package/es/components/FluidMultiSelect/FluidMultiSelect.js +4 -4
- package/es/components/FluidNumberInput/FluidNumberInput.Skeleton.js +2 -2
- package/es/components/FluidNumberInput/FluidNumberInput.js +3 -3
- package/es/components/FluidSearch/FluidSearch.Skeleton.js +2 -2
- package/es/components/FluidSearch/FluidSearch.js +3 -3
- package/es/components/FluidSelect/FluidSelect.Skeleton.js +2 -2
- package/es/components/FluidSelect/FluidSelect.js +3 -3
- package/es/components/FluidSelect/index.js +2 -2
- package/es/components/FluidTextArea/FluidTextArea.Skeleton.js +2 -2
- package/es/components/FluidTextArea/FluidTextArea.js +3 -3
- package/es/components/FluidTextInput/FluidPasswordInput.js +3 -3
- package/es/components/FluidTextInput/FluidTextInput.Skeleton.js +2 -2
- package/es/components/FluidTextInput/FluidTextInput.js +4 -4
- package/es/components/FluidTextInput/index.js +3 -3
- package/es/components/FluidTimePicker/FluidTimePicker.Skeleton.js +2 -2
- package/es/components/FluidTimePicker/FluidTimePicker.js +3 -3
- package/es/components/FluidTimePickerSelect/index.js +1 -1
- package/es/components/Form/Form.js +2 -2
- package/es/components/FormGroup/FormGroup.js +2 -2
- package/es/components/FormItem/FormItem.js +2 -2
- package/es/components/FormLabel/FormLabel.js +2 -2
- package/es/components/Grid/CSSGrid.js +4 -4
- package/es/components/Grid/Column.js +3 -3
- package/es/components/Grid/ColumnHang.js +3 -3
- package/es/components/Grid/FlexGrid.js +3 -3
- package/es/components/Grid/Grid.js +3 -3
- package/es/components/Grid/Row.js +2 -2
- package/es/components/Icon/Icon.Skeleton.js +3 -3
- package/es/components/IconButton/index.js +4 -3
- package/es/components/IconIndicator/index.js +4 -4
- package/es/components/InlineCheckbox/index.js +1 -1
- package/es/components/InlineLoading/InlineLoading.js +2 -2
- package/es/components/InlineLoading/index.js +1 -1
- package/es/components/Layer/LayerLevel.js +1 -1
- package/es/components/Layer/index.js +2 -2
- package/es/components/Layout/index.js +3 -3
- package/es/components/LayoutDirection/LayoutDirection.js +1 -1
- package/es/components/Link/Link.js +2 -2
- package/es/components/Link/index.js +1 -1
- package/es/components/ListBox/ListBox.js +2 -2
- package/es/components/ListBox/ListBoxMenuIcon.js +2 -2
- package/es/components/ListBox/ListBoxMenuItem.js +4 -3
- package/es/components/ListBox/ListBoxSelection.js +3 -3
- package/es/components/ListBox/index.js +2 -2
- package/es/components/ListBox/next/ListBoxSelection.js +3 -3
- package/es/components/ListBox/next/ListBoxTrigger.js +2 -2
- package/es/components/ListItem/ListItem.js +2 -2
- package/es/components/Loading/Loading.js +3 -3
- package/es/components/Loading/index.js +1 -1
- package/es/components/Menu/Menu.js +3 -3
- package/es/components/Menu/MenuItem.js +9 -9
- package/es/components/MenuButton/index.js +4 -4
- package/es/components/Modal/Modal.js +9 -9
- package/es/components/Modal/ModalPresence.js +5 -2
- package/es/components/Modal/index.js +2 -2
- package/es/components/ModalWrapper/ModalWrapper.js +2 -2
- package/es/components/MultiSelect/FilterableMultiSelect.js +10 -8
- package/es/components/MultiSelect/MultiSelect.js +7 -7
- package/es/components/Notification/Notification.js +10 -10
- package/es/components/NumberInput/NumberInput.Skeleton.js +2 -2
- package/es/components/NumberInput/NumberInput.js +21 -11
- package/es/components/OrderedList/OrderedList.js +2 -2
- package/es/components/OverflowMenu/OverflowMenu.js +7 -7
- package/es/components/OverflowMenu/index.js +2 -2
- package/es/components/OverflowMenu/next/index.js +4 -4
- package/es/components/OverflowMenuItem/OverflowMenuItem.js +4 -4
- package/es/components/OverflowMenuItem/index.js +1 -1
- package/es/components/OverflowMenuV2/index.js +1 -1
- package/es/components/PageHeader/PageHeader.js +15 -15
- package/es/components/PageHeader/index.js +1 -1
- package/es/components/Pagination/Pagination.Skeleton.js +3 -3
- package/es/components/Pagination/Pagination.d.ts +18 -1
- package/es/components/Pagination/Pagination.js +33 -8
- package/es/components/Pagination/experimental/PageSelector.d.ts +4 -0
- package/es/components/Pagination/experimental/PageSelector.js +16 -3
- package/es/components/Pagination/experimental/Pagination-story.d.ts +100 -65
- package/es/components/Pagination/experimental/Pagination.d.ts +4 -0
- package/es/components/Pagination/experimental/Pagination.js +12 -5
- package/es/components/PaginationNav/PaginationNav.js +8 -6
- package/es/components/Popover/index.js +14 -6
- package/es/components/ProgressBar/ProgressBar.js +3 -3
- package/es/components/ProgressIndicator/ProgressIndicator.Skeleton.js +3 -3
- package/es/components/ProgressIndicator/ProgressIndicator.js +4 -4
- package/es/components/RadioButton/RadioButton.Skeleton.js +3 -3
- package/es/components/RadioButton/RadioButton.js +3 -3
- package/es/components/RadioButton/index.js +1 -1
- package/es/components/RadioButtonGroup/RadioButtonGroup.js +4 -4
- package/es/components/RadioTile/RadioTile.js +3 -3
- package/es/components/RadioTile/index.js +1 -1
- package/es/components/Search/Search.Skeleton.js +3 -3
- package/es/components/Search/Search.js +4 -4
- package/es/components/Search/index.js +2 -2
- package/es/components/Select/Select.Skeleton.js +3 -3
- package/es/components/Select/Select.js +6 -6
- package/es/components/Select/index.js +2 -2
- package/es/components/SelectItem/SelectItem.js +2 -2
- package/es/components/SelectItem/index.js +1 -1
- package/es/components/SelectItemGroup/SelectItemGroup.js +2 -2
- package/es/components/ShapeIndicator/index.js +4 -4
- package/es/components/SkeletonIcon/SkeletonIcon.js +2 -2
- package/es/components/SkeletonPlaceholder/SkeletonPlaceholder.js +2 -2
- package/es/components/SkeletonText/SkeletonText.js +2 -2
- package/es/components/SkeletonText/index.js +1 -1
- package/es/components/Slider/Slider.Skeleton.js +7 -7
- package/es/components/Slider/Slider.js +22 -20
- package/es/components/Stack/Stack.js +2 -2
- package/es/components/StructuredList/StructuredList.Skeleton.js +3 -3
- package/es/components/StructuredList/StructuredList.js +7 -7
- package/es/components/Switch/IconSwitch.js +6 -5
- package/es/components/Switch/Switch.js +3 -3
- package/es/components/TabContent/TabContent.js +2 -2
- package/es/components/Tabs/Tabs.Skeleton.js +3 -3
- package/es/components/Tabs/Tabs.js +45 -33
- package/es/components/Tag/DismissibleTag.js +4 -3
- package/es/components/Tag/OperationalTag.js +4 -3
- package/es/components/Tag/SelectableTag.js +3 -3
- package/es/components/Tag/Tag.Skeleton.js +3 -3
- package/es/components/Tag/Tag.js +4 -3
- package/es/components/TextArea/TextArea.Skeleton.js +3 -3
- package/es/components/TextArea/TextArea.js +8 -8
- package/es/components/TextArea/index.js +2 -2
- package/es/components/TextInput/ControlledPasswordInput.js +6 -6
- package/es/components/TextInput/PasswordInput.js +10 -10
- package/es/components/TextInput/TextInput.Skeleton.js +3 -3
- package/es/components/TextInput/TextInput.js +9 -9
- package/es/components/TextInput/index.js +2 -2
- package/es/components/Theme/index.js +2 -2
- package/es/components/Tile/Tile.js +14 -11
- package/es/components/TileGroup/TileGroup.js +1 -1
- package/es/components/TimePicker/TimePicker.js +5 -5
- package/es/components/TimePickerSelect/TimePickerSelect.js +2 -2
- package/es/components/Toggle/Toggle.Skeleton.js +3 -3
- package/es/components/Toggle/Toggle.js +6 -6
- package/es/components/ToggleSmall/ToggleSmall.Skeleton.js +2 -2
- package/es/components/Toggletip/index.js +6 -6
- package/es/components/Tooltip/DefinitionTooltip.js +2 -2
- package/es/components/Tooltip/Tooltip.d.ts +2 -1
- package/es/components/Tooltip/Tooltip.js +5 -4
- package/es/components/TreeView/TreeNode.js +11 -8
- package/es/components/TreeView/TreeView.js +2 -2
- package/es/components/UIShell/Content.js +2 -2
- package/es/components/UIShell/Header.js +2 -2
- package/es/components/UIShell/HeaderGlobalAction.js +2 -2
- package/es/components/UIShell/HeaderMenu.js +4 -4
- package/es/components/UIShell/HeaderMenuButton.js +2 -2
- package/es/components/UIShell/HeaderMenuItem.js +2 -2
- package/es/components/UIShell/HeaderName.js +2 -2
- package/es/components/UIShell/HeaderNavigation.js +2 -2
- package/es/components/UIShell/HeaderPanel.js +3 -3
- package/es/components/UIShell/HeaderSideNavItems.js +2 -2
- package/es/components/UIShell/SideNav.js +3 -3
- package/es/components/UIShell/SideNavDetails.js +2 -2
- package/es/components/UIShell/SideNavDivider.js +2 -2
- package/es/components/UIShell/SideNavFooter.js +2 -2
- package/es/components/UIShell/SideNavHeader.js +2 -2
- package/es/components/UIShell/SideNavIcon.js +2 -2
- package/es/components/UIShell/SideNavItem.js +2 -2
- package/es/components/UIShell/SideNavItems.js +2 -2
- package/es/components/UIShell/SideNavLink.js +2 -2
- package/es/components/UIShell/SideNavLinkText.js +2 -2
- package/es/components/UIShell/SideNavMenu.js +3 -3
- package/es/components/UIShell/SideNavMenuItem.js +3 -3
- package/es/components/UIShell/SideNavSwitcher.js +2 -2
- package/es/components/UIShell/SkipToContent.js +2 -2
- package/es/components/UIShell/Switcher.js +2 -2
- package/es/components/UIShell/SwitcherDivider.js +3 -3
- package/es/components/UIShell/SwitcherItem.js +4 -4
- package/es/components/UnorderedList/UnorderedList.js +2 -2
- package/es/index.js +30 -30
- package/es/internal/FloatingMenu.js +12 -9
- package/es/internal/motion/MotionSurface.d.ts +35 -0
- package/es/internal/motion/useMotionEnabled.d.ts +13 -0
- package/es/internal/motion/useMotionSurface.d.ts +33 -0
- package/es/internal/useId.js +1 -1
- package/es/internal/useOverflowItems.js +2 -1
- package/es/internal/usePresence.d.ts +8 -1
- package/es/internal/usePresence.js +4 -2
- package/es/internal/usePresenceContext.d.ts +12 -0
- package/es/internal/usePresenceContext.js +23 -5
- package/es/tools/wrapComponent.js +2 -2
- package/lib/components/AILabel/index.js +4 -4
- 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 +3 -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 +3 -2
- package/lib/components/Breadcrumb/Breadcrumb.Skeleton.js +3 -2
- package/lib/components/Breadcrumb/Breadcrumb.js +2 -2
- package/lib/components/Breadcrumb/BreadcrumbItem.js +2 -2
- package/lib/components/Button/Button.Skeleton.js +3 -2
- package/lib/components/Button/Button.js +2 -2
- package/lib/components/Button/ButtonBase.js +2 -2
- package/lib/components/Button/index.js +7 -1
- package/lib/components/ButtonSet/ButtonSet.js +2 -2
- package/lib/components/ButtonSet/index.js +3 -1
- package/lib/components/ChatButton/ChatButton.Skeleton.js +2 -2
- package/lib/components/ChatButton/ChatButton.js +2 -2
- package/lib/components/Checkbox/Checkbox.Skeleton.js +3 -2
- package/lib/components/Checkbox/Checkbox.js +3 -3
- package/lib/components/Checkbox/index.js +3 -1
- package/lib/components/CheckboxGroup/CheckboxGroup.js +2 -2
- package/lib/components/CodeSnippet/CodeSnippet.Skeleton.js +3 -2
- package/lib/components/CodeSnippet/CodeSnippet.js +2 -2
- package/lib/components/ComboBox/ComboBox.js +8 -5
- package/lib/components/ComboBox/index.js +3 -1
- package/lib/components/ComboButton/index.js +2 -2
- package/lib/components/ComposedModal/ComposedModal.js +5 -4
- package/lib/components/ComposedModal/ComposedModalPresence.js +4 -1
- 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/ContainedList/ContainedListItem/index.js +3 -1
- package/lib/components/ContentSwitcher/ContentSwitcher.js +2 -2
- package/lib/components/Copy/Copy.js +3 -3
- package/lib/components/Copy/index.js +3 -1
- package/lib/components/CopyButton/CopyButton.js +3 -3
- package/lib/components/CopyButton/index.js +3 -1
- package/lib/components/DataTable/DataTable.js +4 -3
- package/lib/components/DataTable/Table.js +3 -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 +3 -2
- package/lib/components/DataTable/TableToolbarMenu.js +3 -3
- package/lib/components/DataTable/TableToolbarSearch.js +3 -3
- package/lib/components/DataTable/state/sorting.js +3 -1
- package/lib/components/DataTable/tools/sorting.js +2 -0
- package/lib/components/DataTableSkeleton/DataTableSkeleton.js +2 -2
- package/lib/components/DatePicker/DatePicker.Skeleton.js +3 -2
- package/lib/components/DatePicker/DatePicker.js +2 -2
- package/lib/components/DatePicker/index.js +3 -1
- package/lib/components/DatePickerInput/DatePickerInput.js +3 -3
- package/lib/components/DatePickerInput/index.js +3 -1
- package/lib/components/Dialog/Dialog.js +3 -3
- package/lib/components/Dialog/index.js +8 -0
- package/lib/components/Dropdown/Dropdown.Skeleton.js +3 -2
- package/lib/components/Dropdown/Dropdown.js +2 -2
- package/lib/components/Dropdown/index.js +3 -1
- package/lib/components/ExpandableSearch/ExpandableSearch.js +2 -2
- package/lib/components/ExpandableSearch/index.js +3 -1
- package/lib/components/FileUploader/FileUploader.Skeleton.js +4 -3
- package/lib/components/FileUploader/FileUploader.js +9 -6
- package/lib/components/FileUploader/FileUploaderButton.js +3 -3
- package/lib/components/FileUploader/FileUploaderDropContainer.js +8 -6
- 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/FluidSelect/index.js +3 -1
- 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/FluidTextInput/index.js +5 -2
- package/lib/components/FluidTimePicker/FluidTimePicker.Skeleton.js +2 -2
- package/lib/components/FluidTimePicker/FluidTimePicker.js +2 -2
- package/lib/components/FluidTimePickerSelect/index.js +3 -1
- 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 +3 -3
- package/lib/components/Grid/Column.js +2 -2
- package/lib/components/Grid/ColumnHang.js +3 -3
- package/lib/components/Grid/FlexGrid.js +3 -3
- package/lib/components/Grid/Grid.js +3 -3
- package/lib/components/Grid/Row.js +2 -2
- package/lib/components/Icon/Icon.Skeleton.js +3 -2
- package/lib/components/IconButton/index.js +4 -3
- package/lib/components/IconIndicator/index.js +4 -2
- package/lib/components/InlineCheckbox/index.js +3 -1
- package/lib/components/InlineLoading/InlineLoading.js +2 -2
- package/lib/components/InlineLoading/index.js +3 -1
- package/lib/components/Layer/LayerLevel.js +1 -0
- package/lib/components/Layer/index.js +2 -2
- package/lib/components/Layout/index.js +2 -2
- package/lib/components/LayoutDirection/LayoutDirection.js +1 -0
- package/lib/components/Link/Link.js +2 -2
- package/lib/components/Link/index.js +3 -1
- package/lib/components/ListBox/ListBox.js +2 -2
- package/lib/components/ListBox/ListBoxMenuIcon.js +2 -2
- package/lib/components/ListBox/ListBoxMenuItem.js +4 -3
- package/lib/components/ListBox/ListBoxSelection.js +2 -2
- package/lib/components/ListBox/index.js +3 -1
- 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/Loading/index.js +3 -1
- package/lib/components/Menu/Menu.js +2 -2
- package/lib/components/Menu/MenuItem.js +2 -2
- package/lib/components/MenuButton/index.js +2 -2
- package/lib/components/Modal/Modal.js +5 -4
- package/lib/components/Modal/ModalPresence.js +4 -1
- package/lib/components/Modal/index.js +6 -2
- package/lib/components/ModalWrapper/ModalWrapper.js +2 -2
- package/lib/components/MultiSelect/FilterableMultiSelect.js +6 -4
- 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 +16 -5
- package/lib/components/OrderedList/OrderedList.js +2 -2
- package/lib/components/OverflowMenu/OverflowMenu.js +5 -3
- package/lib/components/OverflowMenu/index.js +3 -2
- package/lib/components/OverflowMenu/next/index.js +2 -2
- package/lib/components/OverflowMenuItem/OverflowMenuItem.js +3 -3
- package/lib/components/OverflowMenuItem/index.js +3 -1
- package/lib/components/OverflowMenuV2/index.js +1 -1
- package/lib/components/PageHeader/PageHeader.js +5 -5
- package/lib/components/PageHeader/index.js +14 -0
- package/lib/components/Pagination/Pagination.Skeleton.js +3 -2
- package/lib/components/Pagination/Pagination.d.ts +18 -1
- package/lib/components/Pagination/Pagination.js +31 -6
- package/lib/components/Pagination/experimental/PageSelector.d.ts +4 -0
- package/lib/components/Pagination/experimental/PageSelector.js +9 -2
- package/lib/components/Pagination/experimental/Pagination-story.d.ts +100 -65
- package/lib/components/Pagination/experimental/Pagination.d.ts +4 -0
- package/lib/components/Pagination/experimental/Pagination.js +9 -2
- package/lib/components/PaginationNav/PaginationNav.js +6 -4
- package/lib/components/Popover/index.js +10 -2
- package/lib/components/ProgressBar/ProgressBar.js +2 -2
- package/lib/components/ProgressIndicator/ProgressIndicator.Skeleton.js +3 -2
- package/lib/components/ProgressIndicator/ProgressIndicator.js +2 -2
- package/lib/components/RadioButton/RadioButton.Skeleton.js +3 -2
- package/lib/components/RadioButton/RadioButton.js +2 -2
- package/lib/components/RadioButton/index.js +3 -1
- package/lib/components/RadioButtonGroup/RadioButtonGroup.js +2 -2
- package/lib/components/RadioTile/RadioTile.js +3 -3
- package/lib/components/RadioTile/index.js +3 -1
- package/lib/components/Search/Search.Skeleton.js +3 -2
- package/lib/components/Search/Search.js +3 -3
- package/lib/components/Search/index.js +3 -1
- package/lib/components/Select/Select.Skeleton.js +3 -2
- package/lib/components/Select/Select.js +2 -2
- package/lib/components/Select/index.js +3 -1
- package/lib/components/SelectItem/SelectItem.js +2 -2
- package/lib/components/SelectItem/index.js +3 -1
- package/lib/components/SelectItemGroup/SelectItemGroup.js +2 -2
- package/lib/components/ShapeIndicator/index.js +4 -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/SkeletonText/index.js +3 -1
- package/lib/components/Slider/Slider.Skeleton.js +2 -2
- package/lib/components/Slider/Slider.js +8 -6
- 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 +5 -4
- package/lib/components/Switch/Switch.js +3 -3
- package/lib/components/TabContent/TabContent.js +2 -2
- package/lib/components/Tabs/Tabs.Skeleton.js +3 -2
- package/lib/components/Tabs/Tabs.js +35 -23
- package/lib/components/Tag/DismissibleTag.js +3 -2
- package/lib/components/Tag/OperationalTag.js +3 -2
- package/lib/components/Tag/SelectableTag.js +2 -2
- package/lib/components/Tag/Tag.Skeleton.js +3 -2
- package/lib/components/Tag/Tag.js +3 -2
- package/lib/components/TextArea/TextArea.Skeleton.js +3 -2
- package/lib/components/TextArea/TextArea.js +3 -3
- package/lib/components/TextArea/index.js +3 -1
- package/lib/components/TextInput/ControlledPasswordInput.js +3 -3
- package/lib/components/TextInput/PasswordInput.js +2 -2
- package/lib/components/TextInput/TextInput.Skeleton.js +3 -2
- package/lib/components/TextInput/TextInput.js +2 -2
- package/lib/components/TextInput/index.js +3 -1
- package/lib/components/Theme/index.js +2 -2
- package/lib/components/Tile/Tile.js +7 -4
- 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 +3 -2
- package/lib/components/Toggle/Toggle.js +3 -2
- package/lib/components/ToggleSmall/ToggleSmall.Skeleton.js +2 -2
- package/lib/components/Toggletip/index.js +4 -3
- package/lib/components/Tooltip/DefinitionTooltip.js +2 -2
- package/lib/components/Tooltip/Tooltip.d.ts +2 -1
- package/lib/components/Tooltip/Tooltip.js +5 -4
- package/lib/components/TreeView/TreeNode.js +8 -5
- 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 +3 -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 +3 -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.js +33 -32
- package/lib/internal/FloatingMenu.js +13 -8
- package/lib/internal/motion/MotionSurface.d.ts +35 -0
- package/lib/internal/motion/useMotionEnabled.d.ts +13 -0
- package/lib/internal/motion/useMotionSurface.d.ts +33 -0
- package/lib/internal/useId.js +1 -0
- package/lib/internal/useOverflowItems.js +2 -1
- package/lib/internal/usePresence.d.ts +8 -1
- package/lib/internal/usePresence.js +4 -2
- package/lib/internal/usePresenceContext.d.ts +12 -0
- package/lib/internal/usePresenceContext.js +22 -3
- package/lib/tools/wrapComponent.js +2 -2
- package/package.json +12 -9
- package/telemetry.yml +1 -0
package/es/index.js
CHANGED
|
@@ -14,31 +14,31 @@ import { TextDirection } from "./components/Text/TextDirection.js";
|
|
|
14
14
|
import { useIdPrefix } from "./internal/useIdPrefix.js";
|
|
15
15
|
import AccordionItem from "./components/Accordion/AccordionItem.js";
|
|
16
16
|
import SkeletonText from "./components/SkeletonText/SkeletonText.js";
|
|
17
|
-
import AccordionSkeleton from "./components/Accordion/Accordion.Skeleton.js";
|
|
17
|
+
import { AccordionSkeleton } from "./components/Accordion/Accordion.Skeleton.js";
|
|
18
18
|
import AspectRatio from "./components/AspectRatio/AspectRatio.js";
|
|
19
19
|
import Breadcrumb from "./components/Breadcrumb/Breadcrumb.js";
|
|
20
20
|
import Link from "./components/Link/Link.js";
|
|
21
21
|
import BreadcrumbItem from "./components/Breadcrumb/BreadcrumbItem.js";
|
|
22
|
-
import BreadcrumbSkeleton from "./components/Breadcrumb/Breadcrumb.Skeleton.js";
|
|
22
|
+
import { BreadcrumbSkeleton } from "./components/Breadcrumb/Breadcrumb.Skeleton.js";
|
|
23
23
|
import { FeatureFlags, useFeatureFlag, useFeatureFlags } from "./components/FeatureFlags/index.js";
|
|
24
24
|
import { Popover, PopoverContent } from "./components/Popover/index.js";
|
|
25
25
|
import { DefinitionTooltip } from "./components/Tooltip/DefinitionTooltip.js";
|
|
26
26
|
import { Tooltip } from "./components/Tooltip/Tooltip.js";
|
|
27
27
|
import { IconButton, IconButtonKinds } from "./components/IconButton/index.js";
|
|
28
28
|
import Button, { ButtonKinds, ButtonSizes, ButtonTooltipAlignments, ButtonTooltipPositions } from "./components/Button/Button.js";
|
|
29
|
-
import ButtonSkeleton from "./components/Button/Button.Skeleton.js";
|
|
29
|
+
import { ButtonSkeleton } from "./components/Button/Button.Skeleton.js";
|
|
30
30
|
import ButtonSet from "./components/ButtonSet/ButtonSet.js";
|
|
31
|
-
import Toggletip,
|
|
31
|
+
import { Toggletip, ToggletipActions, ToggletipButton, ToggletipContent, ToggletipLabel } from "./components/Toggletip/index.js";
|
|
32
32
|
import { AILabel, AILabelActions, AILabelContent } from "./components/AILabel/index.js";
|
|
33
33
|
import Checkbox from "./components/Checkbox/Checkbox.js";
|
|
34
|
-
import CheckboxSkeleton from "./components/Checkbox/Checkbox.Skeleton.js";
|
|
34
|
+
import { CheckboxSkeleton } from "./components/Checkbox/Checkbox.Skeleton.js";
|
|
35
35
|
import CheckboxGroup from "./components/CheckboxGroup/CheckboxGroup.js";
|
|
36
36
|
import { ClassPrefix } from "./components/ClassPrefix/index.js";
|
|
37
37
|
import Copy from "./components/Copy/Copy.js";
|
|
38
38
|
import { Layout } from "./components/Layout/index.js";
|
|
39
39
|
import CopyButton from "./components/CopyButton/CopyButton.js";
|
|
40
40
|
import CodeSnippet from "./components/CodeSnippet/CodeSnippet.js";
|
|
41
|
-
import CodeSnippetSkeleton from "./components/CodeSnippet/CodeSnippet.Skeleton.js";
|
|
41
|
+
import { CodeSnippetSkeleton } from "./components/CodeSnippet/CodeSnippet.Skeleton.js";
|
|
42
42
|
import Form from "./components/Form/Form.js";
|
|
43
43
|
import { FormContext } from "./components/FluidForm/FormContext.js";
|
|
44
44
|
import FluidForm from "./components/FluidForm/FluidForm.js";
|
|
@@ -58,7 +58,7 @@ import { ComposedModalPresence, withComposedModalPresence } from "./components/C
|
|
|
58
58
|
import ComposedModal, { ModalBody } from "./components/ComposedModal/ComposedModal.js";
|
|
59
59
|
import ContainedListItem_default from "./components/ContainedList/ContainedListItem/index.js";
|
|
60
60
|
import Search from "./components/Search/Search.js";
|
|
61
|
-
import SearchSkeleton from "./components/Search/Search.Skeleton.js";
|
|
61
|
+
import { SearchSkeleton } from "./components/Search/Search.Skeleton.js";
|
|
62
62
|
import ExpandableSearch from "./components/ExpandableSearch/ExpandableSearch.js";
|
|
63
63
|
import ContainedList from "./components/ContainedList/ContainedList.js";
|
|
64
64
|
import Switch from "./components/Switch/Switch.js";
|
|
@@ -66,7 +66,7 @@ import IconSwitch from "./components/Switch/IconSwitch.js";
|
|
|
66
66
|
import { ContentSwitcher } from "./components/ContentSwitcher/ContentSwitcher.js";
|
|
67
67
|
import useContextMenu from "./components/ContextMenu/useContextMenu.js";
|
|
68
68
|
import DangerButton from "./components/DangerButton/DangerButton.js";
|
|
69
|
-
import Table from "./components/DataTable/Table.js";
|
|
69
|
+
import { Table } from "./components/DataTable/Table.js";
|
|
70
70
|
import TableActionList from "./components/DataTable/TableActionList.js";
|
|
71
71
|
import TableBatchAction from "./components/DataTable/TableBatchAction.js";
|
|
72
72
|
import TableBatchActions from "./components/DataTable/TableBatchActions.js";
|
|
@@ -91,33 +91,33 @@ import OverflowMenuItem from "./components/OverflowMenuItem/OverflowMenuItem.js"
|
|
|
91
91
|
import TableToolbarAction from "./components/DataTable/TableToolbarAction.js";
|
|
92
92
|
import TableToolbarContent from "./components/DataTable/TableToolbarContent.js";
|
|
93
93
|
import TableToolbarSearch from "./components/DataTable/TableToolbarSearch.js";
|
|
94
|
-
import OverflowMenu from "./components/OverflowMenu/index.js";
|
|
94
|
+
import { OverflowMenu } from "./components/OverflowMenu/index.js";
|
|
95
95
|
import TableToolbarMenu from "./components/DataTable/TableToolbarMenu.js";
|
|
96
96
|
import { DataTable } from "./components/DataTable/DataTable.js";
|
|
97
97
|
import DataTableSkeleton from "./components/DataTableSkeleton/DataTableSkeleton.js";
|
|
98
98
|
import DatePickerInput from "./components/DatePickerInput/DatePickerInput.js";
|
|
99
99
|
import DatePicker from "./components/DatePicker/DatePicker.js";
|
|
100
|
-
import DatePickerSkeleton from "./components/DatePicker/DatePicker.Skeleton.js";
|
|
100
|
+
import { DatePickerSkeleton } from "./components/DatePicker/DatePicker.Skeleton.js";
|
|
101
101
|
import Dropdown from "./components/Dropdown/Dropdown.js";
|
|
102
|
-
import DropdownSkeleton from "./components/Dropdown/Dropdown.Skeleton.js";
|
|
102
|
+
import { DropdownSkeleton } from "./components/Dropdown/Dropdown.Skeleton.js";
|
|
103
103
|
import { ErrorBoundaryContext } from "./components/ErrorBoundary/ErrorBoundaryContext.js";
|
|
104
104
|
import ErrorBoundary from "./components/ErrorBoundary/ErrorBoundary.js";
|
|
105
105
|
import Filename from "./components/FileUploader/Filename.js";
|
|
106
106
|
import FileUploaderButton from "./components/FileUploader/FileUploaderButton.js";
|
|
107
107
|
import FileUploader from "./components/FileUploader/FileUploader.js";
|
|
108
|
-
import FileUploaderSkeleton from "./components/FileUploader/FileUploader.Skeleton.js";
|
|
108
|
+
import { FileUploaderSkeleton } from "./components/FileUploader/FileUploader.Skeleton.js";
|
|
109
109
|
import FileUploaderDropContainer from "./components/FileUploader/FileUploaderDropContainer.js";
|
|
110
110
|
import FileUploaderItem from "./components/FileUploader/FileUploaderItem.js";
|
|
111
111
|
import FormGroup from "./components/FormGroup/FormGroup.js";
|
|
112
112
|
import FormItem from "./components/FormItem/FormItem.js";
|
|
113
113
|
import FormLabel from "./components/FormLabel/FormLabel.js";
|
|
114
114
|
import { GridSettings } from "./components/Grid/GridContext.js";
|
|
115
|
-
import { FlexGridComponent } from "./components/Grid/FlexGrid.js";
|
|
116
|
-
import { GridAsGridComponent } from "./components/Grid/Grid.js";
|
|
115
|
+
import { FlexGrid as FlexGridComponent } from "./components/Grid/FlexGrid.js";
|
|
116
|
+
import { Grid as GridAsGridComponent } from "./components/Grid/Grid.js";
|
|
117
117
|
import Row from "./components/Grid/Row.js";
|
|
118
118
|
import Column from "./components/Grid/Column.js";
|
|
119
|
-
import { ColumnHangComponent } from "./components/Grid/ColumnHang.js";
|
|
120
|
-
import IconSkeleton from "./components/Icon/Icon.Skeleton.js";
|
|
119
|
+
import { ColumnHang as ColumnHangComponent } from "./components/Grid/ColumnHang.js";
|
|
120
|
+
import { IconSkeleton } from "./components/Icon/Icon.Skeleton.js";
|
|
121
121
|
import { IdPrefix } from "./components/IdPrefix/index.js";
|
|
122
122
|
import ListItem from "./components/ListItem/ListItem.js";
|
|
123
123
|
import { MenuButton } from "./components/MenuButton/index.js";
|
|
@@ -134,20 +134,20 @@ import Tag from "./components/Tag/Tag.js";
|
|
|
134
134
|
import DismissibleTag from "./components/Tag/DismissibleTag.js";
|
|
135
135
|
import OperationalTag from "./components/Tag/OperationalTag.js";
|
|
136
136
|
import SelectableTag from "./components/Tag/SelectableTag.js";
|
|
137
|
-
import TagSkeleton from "./components/Tag/Tag.Skeleton.js";
|
|
137
|
+
import { TagSkeleton } from "./components/Tag/Tag.Skeleton.js";
|
|
138
138
|
import { PageHeader_exports } from "./components/PageHeader/index.js";
|
|
139
139
|
import Select from "./components/Select/Select.js";
|
|
140
|
-
import SelectSkeleton from "./components/Select/Select.Skeleton.js";
|
|
140
|
+
import { SelectSkeleton } from "./components/Select/Select.Skeleton.js";
|
|
141
141
|
import SelectItem from "./components/SelectItem/SelectItem.js";
|
|
142
142
|
import Pagination from "./components/Pagination/Pagination.js";
|
|
143
|
-
import PaginationSkeleton from "./components/Pagination/Pagination.Skeleton.js";
|
|
143
|
+
import { PaginationSkeleton } from "./components/Pagination/Pagination.Skeleton.js";
|
|
144
144
|
import PaginationNav from "./components/PaginationNav/PaginationNav.js";
|
|
145
145
|
import ControlledPasswordInput from "./components/TextInput/ControlledPasswordInput.js";
|
|
146
146
|
import PasswordInput from "./components/TextInput/PasswordInput.js";
|
|
147
147
|
import PrimaryButton from "./components/PrimaryButton/PrimaryButton.js";
|
|
148
|
-
import ProgressIndicatorSkeleton from "./components/ProgressIndicator/ProgressIndicator.Skeleton.js";
|
|
148
|
+
import { ProgressIndicatorSkeleton } from "./components/ProgressIndicator/ProgressIndicator.Skeleton.js";
|
|
149
149
|
import { ProgressIndicator, ProgressStep } from "./components/ProgressIndicator/ProgressIndicator.js";
|
|
150
|
-
import RadioButtonSkeleton from "./components/RadioButton/RadioButton.Skeleton.js";
|
|
150
|
+
import { RadioButtonSkeleton } from "./components/RadioButton/RadioButton.Skeleton.js";
|
|
151
151
|
import RadioButtonGroup from "./components/RadioButtonGroup/RadioButtonGroup.js";
|
|
152
152
|
import RadioTile from "./components/RadioTile/RadioTile.js";
|
|
153
153
|
import SecondaryButton from "./components/SecondaryButton/SecondaryButton.js";
|
|
@@ -163,17 +163,17 @@ import { StructuredListBody, StructuredListCell, StructuredListHead, StructuredL
|
|
|
163
163
|
import StructuredListSkeleton from "./components/StructuredList/StructuredList.Skeleton.js";
|
|
164
164
|
import { IconTab, Tab, TabList, TabListVertical, TabPanel, TabPanels, Tabs, TabsVertical } from "./components/Tabs/Tabs.js";
|
|
165
165
|
import TabContent from "./components/TabContent/TabContent.js";
|
|
166
|
-
import TabsSkeleton from "./components/Tabs/Tabs.Skeleton.js";
|
|
166
|
+
import { TabsSkeleton } from "./components/Tabs/Tabs.Skeleton.js";
|
|
167
167
|
import TextArea from "./components/TextArea/TextArea.js";
|
|
168
|
-
import TextAreaSkeleton from "./components/TextArea/TextArea.Skeleton.js";
|
|
168
|
+
import { TextAreaSkeleton } from "./components/TextArea/TextArea.Skeleton.js";
|
|
169
169
|
import TextInput from "./components/TextInput/TextInput.js";
|
|
170
|
-
import TextInputSkeleton from "./components/TextInput/TextInput.Skeleton.js";
|
|
170
|
+
import { TextInputSkeleton } from "./components/TextInput/TextInput.Skeleton.js";
|
|
171
171
|
import { ClickableTile, ExpandableTile, SelectableTile, Tile, TileAboveTheFoldContent, TileBelowTheFoldContent } from "./components/Tile/Tile.js";
|
|
172
172
|
import { TileGroup } from "./components/TileGroup/TileGroup.js";
|
|
173
173
|
import TimePicker from "./components/TimePicker/TimePicker.js";
|
|
174
174
|
import TimePickerSelect from "./components/TimePickerSelect/TimePickerSelect.js";
|
|
175
|
-
import Toggle from "./components/Toggle/Toggle.js";
|
|
176
|
-
import ToggleSkeleton from "./components/Toggle/Toggle.Skeleton.js";
|
|
175
|
+
import { Toggle } from "./components/Toggle/Toggle.js";
|
|
176
|
+
import { ToggleSkeleton } from "./components/Toggle/Toggle.Skeleton.js";
|
|
177
177
|
import { ToggleSmallSkeleton } from "./components/ToggleSmall/ToggleSmall.Skeleton.js";
|
|
178
178
|
import TreeNode from "./components/TreeView/TreeNode.js";
|
|
179
179
|
import TreeView from "./components/TreeView/TreeView.js";
|
|
@@ -183,7 +183,7 @@ import HeaderContainer from "./components/UIShell/HeaderContainer.js";
|
|
|
183
183
|
import HeaderGlobalAction from "./components/UIShell/HeaderGlobalAction.js";
|
|
184
184
|
import HeaderGlobalBar from "./components/UIShell/HeaderGlobalBar.js";
|
|
185
185
|
import HeaderMenuItem from "./components/UIShell/HeaderMenuItem.js";
|
|
186
|
-
import HeaderMenu from "./components/UIShell/HeaderMenu.js";
|
|
186
|
+
import { HeaderMenu } from "./components/UIShell/HeaderMenu.js";
|
|
187
187
|
import HeaderMenuButton from "./components/UIShell/HeaderMenuButton.js";
|
|
188
188
|
import HeaderName from "./components/UIShell/HeaderName.js";
|
|
189
189
|
import HeaderNavigation from "./components/UIShell/HeaderNavigation.js";
|
|
@@ -203,7 +203,7 @@ import SideNavItem from "./components/UIShell/SideNavItem.js";
|
|
|
203
203
|
import SideNavItems from "./components/UIShell/SideNavItems.js";
|
|
204
204
|
import SideNavLinkText from "./components/UIShell/SideNavLinkText.js";
|
|
205
205
|
import SideNavLink from "./components/UIShell/SideNavLink.js";
|
|
206
|
-
import SideNavMenu from "./components/UIShell/SideNavMenu.js";
|
|
206
|
+
import { SideNavMenu } from "./components/UIShell/SideNavMenu.js";
|
|
207
207
|
import SideNavMenuItem from "./components/UIShell/SideNavMenuItem.js";
|
|
208
208
|
import SideNavSwitcher from "./components/UIShell/SideNavSwitcher.js";
|
|
209
209
|
import UnorderedList from "./components/UnorderedList/UnorderedList.js";
|
|
@@ -234,8 +234,8 @@ import { OverflowMenuV2 } from "./components/OverflowMenuV2/index.js";
|
|
|
234
234
|
import Pagination$1 from "./components/Pagination/experimental/Pagination.js";
|
|
235
235
|
import PageSelector from "./components/Pagination/experimental/PageSelector.js";
|
|
236
236
|
import ProgressBar from "./components/ProgressBar/ProgressBar.js";
|
|
237
|
-
import IconIndicator from "./components/IconIndicator/index.js";
|
|
238
|
-
import ShapeIndicator from "./components/ShapeIndicator/index.js";
|
|
237
|
+
import { IconIndicator } from "./components/IconIndicator/index.js";
|
|
238
|
+
import { ShapeIndicator } from "./components/ShapeIndicator/index.js";
|
|
239
239
|
import ChatButton from "./components/ChatButton/ChatButton.js";
|
|
240
240
|
import ChatButtonSkeleton from "./components/ChatButton/ChatButton.Skeleton.js";
|
|
241
241
|
import AISkeletonPlaceholder from "./components/AISkeleton/AISkeletonPlaceholder.js";
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
+
import { warning } from "./warning.js";
|
|
8
9
|
import { PrefixContext } from "./usePrefix.js";
|
|
9
10
|
import { Tab } from "./keyboard/keys.js";
|
|
10
11
|
import { match } from "./keyboard/match.js";
|
|
11
12
|
import { selectorFocusable, selectorTabbable } from "./keyboard/navigation.js";
|
|
12
|
-
import { warning } from "./warning.js";
|
|
13
13
|
import { wrapFocus, wrapFocusWithoutSentinels } from "./wrapFocus.js";
|
|
14
14
|
import { OptimizedResize } from "./OptimizedResize.js";
|
|
15
15
|
import { enabled } from "@carbon/feature-flags";
|
|
@@ -26,6 +26,7 @@ import ReactDOM from "react-dom";
|
|
|
26
26
|
const DIRECTION_LEFT = "left";
|
|
27
27
|
const DIRECTION_RIGHT = "right";
|
|
28
28
|
const DIRECTION_BOTTOM = "bottom";
|
|
29
|
+
const defaultTarget = () => document.body;
|
|
29
30
|
/**
|
|
30
31
|
* Computes the floating menu's position based on the menu size, trigger element
|
|
31
32
|
* position, offset, direction, and container.
|
|
@@ -64,10 +65,11 @@ const getFloatingPosition = ({ menuSize, refPosition, offset, direction, scrollX
|
|
|
64
65
|
const FloatingMenu = ({ children, flipped, focusTrap, menuDirection = DIRECTION_BOTTOM, menuOffset = {
|
|
65
66
|
top: 0,
|
|
66
67
|
left: 0
|
|
67
|
-
}, menuRef: externalMenuRef, onPlace, selectorPrimaryFocus, styles, target =
|
|
68
|
+
}, menuRef: externalMenuRef, onPlace, selectorPrimaryFocus, styles, target = defaultTarget, triggerRef, updateOrientation }) => {
|
|
68
69
|
const prefix = useContext(PrefixContext);
|
|
69
70
|
const [floatingPosition, setFloatingPosition] = useState(void 0);
|
|
70
71
|
const menuBodyRef = useRef(null);
|
|
72
|
+
const floatingPositionRef = useRef(void 0);
|
|
71
73
|
const startSentinelRef = useRef(null);
|
|
72
74
|
const endSentinelRef = useRef(null);
|
|
73
75
|
const placeInProgressRef = useRef(false);
|
|
@@ -113,10 +115,11 @@ const FloatingMenu = ({ children, flipped, focusTrap, menuDirection = DIRECTION_
|
|
|
113
115
|
position: getComputedStyle(target()).position
|
|
114
116
|
}
|
|
115
117
|
});
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
118
|
+
const previousFloatingPosition = floatingPositionRef.current;
|
|
119
|
+
if (!previousFloatingPosition || previousFloatingPosition.left !== newFloatingPosition.left || previousFloatingPosition.top !== newFloatingPosition.top) {
|
|
120
|
+
floatingPositionRef.current = newFloatingPosition;
|
|
121
|
+
setFloatingPosition(newFloatingPosition);
|
|
122
|
+
}
|
|
120
123
|
if (!isAdjustment) {
|
|
121
124
|
const newMenuSize = menuBody.getBoundingClientRect();
|
|
122
125
|
if (newMenuSize.width !== menuSize.width || newMenuSize.height !== menuSize.height) updateMenuPosition(true);
|
|
@@ -138,12 +141,12 @@ const FloatingMenu = ({ children, flipped, focusTrap, menuDirection = DIRECTION_
|
|
|
138
141
|
focusTarget.focus();
|
|
139
142
|
if (focusTarget === menuBody) warning(focusableNode === null, "Floating Menus must have at least a programmatically focusable child. This can be accomplished by adding tabIndex=\"-1\" to the content element.");
|
|
140
143
|
};
|
|
141
|
-
const handleMenuRef = (node) => {
|
|
144
|
+
const handleMenuRef = useCallback((node) => {
|
|
142
145
|
menuBodyRef.current = node;
|
|
143
146
|
placeInProgressRef.current = !!node;
|
|
144
147
|
if (externalMenuRef) externalMenuRef(node);
|
|
145
148
|
if (node) updateMenuPosition();
|
|
146
|
-
};
|
|
149
|
+
}, [externalMenuRef, updateMenuPosition]);
|
|
147
150
|
useEffect(() => {
|
|
148
151
|
if (placeInProgressRef.current && floatingPosition && menuBodyRef.current) {
|
|
149
152
|
if (!menuBodyRef.current.contains(document.activeElement)) focusMenuContent(menuBodyRef.current);
|
|
@@ -253,4 +256,4 @@ const FloatingMenu = ({ children, flipped, focusTrap, menuDirection = DIRECTION_
|
|
|
253
256
|
return null;
|
|
254
257
|
};
|
|
255
258
|
//#endregion
|
|
256
|
-
export { DIRECTION_BOTTOM, FloatingMenu };
|
|
259
|
+
export { DIRECTION_BOTTOM, DIRECTION_LEFT, DIRECTION_RIGHT, FloatingMenu };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright IBM Corp. 2026
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
import React, { type HTMLAttributes, type ReactNode } from 'react';
|
|
8
|
+
import type { MotionSurfaceName } from '@carbon/motion';
|
|
9
|
+
type SafeDivProps = Omit<HTMLAttributes<HTMLDivElement>, 'onAnimationStart' | 'onDrag' | 'onDragEnd' | 'onDragStart'>;
|
|
10
|
+
export interface MotionSurfaceProps extends SafeDivProps {
|
|
11
|
+
surface: MotionSurfaceName;
|
|
12
|
+
surfaceId?: string;
|
|
13
|
+
open?: boolean;
|
|
14
|
+
onExitComplete?: () => void;
|
|
15
|
+
children?: ReactNode;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Animates its children according to a named @carbon/motion surface
|
|
19
|
+
*
|
|
20
|
+
* Reveal surfaces enter/exit between surface keyframes. Shared-element
|
|
21
|
+
* surfaces morph from the `MotionSurfaceOrigin` with the same `surfaceId`.
|
|
22
|
+
* When a shared-element surface also defines enter/exit keyframes, those
|
|
23
|
+
* are applied as `animate`/`exit` on top of the layout morph.
|
|
24
|
+
*
|
|
25
|
+
* When users prefer reduced motion, render as plain element and
|
|
26
|
+
* mount/unmount immediately - no Motion runs at all
|
|
27
|
+
*/
|
|
28
|
+
export declare const MotionSurface: React.ForwardRefExoticComponent<MotionSurfaceProps & React.RefAttributes<HTMLDivElement>>;
|
|
29
|
+
export interface MotionSurfaceOriginProps extends SafeDivProps {
|
|
30
|
+
surface: MotionSurfaceName;
|
|
31
|
+
surfaceId: string;
|
|
32
|
+
children?: ReactNode;
|
|
33
|
+
}
|
|
34
|
+
export declare const MotionSurfaceOrigin: React.ForwardRefExoticComponent<MotionSurfaceOriginProps & React.RefAttributes<HTMLDivElement>>;
|
|
35
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright IBM Corp. 2026
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Accessibility gate for surface API
|
|
6
|
+
*
|
|
7
|
+
* Surface entrypoints check this hook and bail before doing any
|
|
8
|
+
* motion work. When users request reduced motion, don't run surfaces at
|
|
9
|
+
* all - components fall back to their default rendering (and their baseline
|
|
10
|
+
* CSS transitions, which have their own `prefers-reduced-motion`)
|
|
11
|
+
*
|
|
12
|
+
*/
|
|
13
|
+
export declare function useMotionEnabled(): boolean;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright IBM Corp. 2026
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
import { type MotionSurfaceName } from '@carbon/motion';
|
|
8
|
+
import type { TargetAndTransition, Transition } from 'motion/react';
|
|
9
|
+
interface ResolvedSurfaceBase {
|
|
10
|
+
enabled: boolean;
|
|
11
|
+
enterTransition: Transition;
|
|
12
|
+
exitTransition: Transition;
|
|
13
|
+
}
|
|
14
|
+
export interface ResolvedRevealSurface extends ResolvedSurfaceBase {
|
|
15
|
+
kind: 'reveal';
|
|
16
|
+
initial: TargetAndTransition;
|
|
17
|
+
animate: TargetAndTransition;
|
|
18
|
+
exit: TargetAndTransition;
|
|
19
|
+
}
|
|
20
|
+
export interface ResolvedSharedElementSurface extends ResolvedSurfaceBase {
|
|
21
|
+
kind: 'shared-element';
|
|
22
|
+
origin?: 'trigger';
|
|
23
|
+
animate?: TargetAndTransition;
|
|
24
|
+
exit?: TargetAndTransition;
|
|
25
|
+
}
|
|
26
|
+
export type ResolvedMotionSurface = ResolvedRevealSurface | ResolvedSharedElementSurface;
|
|
27
|
+
/**
|
|
28
|
+
* resolve named Carbon motion surfaces to Motion-ready values
|
|
29
|
+
* definitions stay in `@carbon/motion`; this hook only translates tokens
|
|
30
|
+
* (duration/easing names) into the numeric forms `motion/react` consumes
|
|
31
|
+
*/
|
|
32
|
+
export declare function useMotionSurface(name: MotionSurfaceName): ResolvedMotionSurface;
|
|
33
|
+
export {};
|
package/es/internal/useId.js
CHANGED
|
@@ -31,7 +31,8 @@ const useOverflowItems = (items, containerRef, offsetRef, maxItems, onChange) =>
|
|
|
31
31
|
const handleResize = () => {
|
|
32
32
|
if (containerRef.current) {
|
|
33
33
|
const offset = offsetRef?.current?.offsetWidth || 0;
|
|
34
|
-
|
|
34
|
+
const newMax = containerRef.current.offsetWidth - offset;
|
|
35
|
+
setMaxWidth(newMax);
|
|
35
36
|
}
|
|
36
37
|
};
|
|
37
38
|
useResizeObserver({
|
|
@@ -5,7 +5,14 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
import { type RefObject } from 'react';
|
|
8
|
-
export declare const usePresence: (ref: RefObject<HTMLElement | null>, isOpen: boolean
|
|
8
|
+
export declare const usePresence: (ref: RefObject<HTMLElement | null>, isOpen: boolean,
|
|
9
|
+
/**
|
|
10
|
+
* Number of pending JS-driven exit animations (e.g. motion surfaces)
|
|
11
|
+
* registered through the presence context. The exit does not finish while
|
|
12
|
+
* holds are outstanding, since those animations are invisible to
|
|
13
|
+
* `getAnimations()`.
|
|
14
|
+
*/
|
|
15
|
+
exitHoldCount?: number) => {
|
|
9
16
|
/**
|
|
10
17
|
* Indicates whether the ref object is supposed to be mounted
|
|
11
18
|
*/
|
|
@@ -15,7 +15,7 @@ import { useState } from "react";
|
|
|
15
15
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
16
16
|
* LICENSE file in the root directory of this source tree.
|
|
17
17
|
*/
|
|
18
|
-
const usePresence = (ref, isOpen) => {
|
|
18
|
+
const usePresence = (ref, isOpen, exitHoldCount = 0) => {
|
|
19
19
|
const prefix = usePrefix();
|
|
20
20
|
const [exitState, setExitState] = useState(isOpen ? "idle" : "finished");
|
|
21
21
|
const isExiting = exitState === "active";
|
|
@@ -28,6 +28,7 @@ const usePresence = (ref, isOpen) => {
|
|
|
28
28
|
}, [isOpen]);
|
|
29
29
|
useIsomorphicEffect(() => {
|
|
30
30
|
if (!ref.current || !isExiting) return;
|
|
31
|
+
if (exitHoldCount > 0) return;
|
|
31
32
|
if (!("getAnimations" in ref.current)) {
|
|
32
33
|
setExitState("finished");
|
|
33
34
|
return;
|
|
@@ -48,7 +49,8 @@ const usePresence = (ref, isOpen) => {
|
|
|
48
49
|
}, [
|
|
49
50
|
ref,
|
|
50
51
|
isExiting,
|
|
51
|
-
prefix
|
|
52
|
+
prefix,
|
|
53
|
+
exitHoldCount
|
|
52
54
|
]);
|
|
53
55
|
return {
|
|
54
56
|
/**
|
|
@@ -18,7 +18,19 @@ export interface PresenceContext {
|
|
|
18
18
|
* Returns if the caller is exclusive to this presence context
|
|
19
19
|
*/
|
|
20
20
|
isPresenceExclusive: (id: string) => boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Registers a pending JS-driven exit animation (e.g. a motion surface)
|
|
23
|
+
* that `getAnimations()` cannot observe. The presence exit does not finish
|
|
24
|
+
* until the returned release function is called.
|
|
25
|
+
*/
|
|
26
|
+
holdExit: () => () => void;
|
|
21
27
|
}
|
|
28
|
+
/**
|
|
29
|
+
* Generic channel for presence providers (ModalPresence,
|
|
30
|
+
* ComposedModalPresence). Lets presence-aware children — like MotionSurface —
|
|
31
|
+
* register exit holds without depending on component-level context modules.
|
|
32
|
+
*/
|
|
33
|
+
export declare const PresenceHoldContext: import("react").Context<PresenceContext | undefined>;
|
|
22
34
|
/**
|
|
23
35
|
* Returns if the presence node is present and the context value to be used by a presence context, e.g. ModalPresence.
|
|
24
36
|
*/
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
import { usePresence } from "./usePresence.js";
|
|
9
|
-
import { useCallback, useMemo, useRef } from "react";
|
|
9
|
+
import { createContext, useCallback, useMemo, useRef, useState } from "react";
|
|
10
10
|
//#region src/internal/usePresenceContext.ts
|
|
11
11
|
/**
|
|
12
12
|
* Copyright IBM Corp. 2025
|
|
@@ -15,30 +15,48 @@ import { useCallback, useMemo, useRef } from "react";
|
|
|
15
15
|
* LICENSE file in the root directory of this source tree.
|
|
16
16
|
*/
|
|
17
17
|
/**
|
|
18
|
+
* Generic channel for presence providers (ModalPresence,
|
|
19
|
+
* ComposedModalPresence). Lets presence-aware children — like MotionSurface —
|
|
20
|
+
* register exit holds without depending on component-level context modules.
|
|
21
|
+
*/
|
|
22
|
+
const PresenceHoldContext = createContext(void 0);
|
|
23
|
+
/**
|
|
18
24
|
* Returns if the presence node is present and the context value to be used by a presence context, e.g. ModalPresence.
|
|
19
25
|
*/
|
|
20
26
|
const usePresenceContext = (open, initialPresenceId) => {
|
|
21
27
|
const presenceIdRef = useRef(initialPresenceId);
|
|
22
28
|
const presenceRef = useRef(null);
|
|
23
29
|
const prevPresenceRef = useRef(null);
|
|
30
|
+
const [exitHoldCount, setExitHoldCount] = useState(0);
|
|
24
31
|
if (!initialPresenceId && prevPresenceRef.current && !presenceRef.current) presenceIdRef.current = null;
|
|
25
32
|
prevPresenceRef.current = presenceRef.current;
|
|
26
|
-
const { isPresent, isExiting } = usePresence(presenceRef, open);
|
|
33
|
+
const { isPresent, isExiting } = usePresence(presenceRef, open, exitHoldCount);
|
|
27
34
|
const isPresenceExclusive = useCallback((id) => {
|
|
28
35
|
if (!id) return false;
|
|
29
36
|
if (presenceIdRef.current && presenceIdRef.current !== id) return false;
|
|
30
37
|
presenceIdRef.current = id;
|
|
31
38
|
return true;
|
|
32
39
|
}, []);
|
|
40
|
+
const holdExit = useCallback(() => {
|
|
41
|
+
setExitHoldCount((count) => count + 1);
|
|
42
|
+
let released = false;
|
|
43
|
+
return () => {
|
|
44
|
+
if (released) return;
|
|
45
|
+
released = true;
|
|
46
|
+
setExitHoldCount((count) => count - 1);
|
|
47
|
+
};
|
|
48
|
+
}, []);
|
|
33
49
|
return [isPresent, useMemo(() => ({
|
|
34
50
|
presenceRef,
|
|
35
51
|
isPresenceExclusive,
|
|
36
|
-
isExiting
|
|
52
|
+
isExiting,
|
|
53
|
+
holdExit
|
|
37
54
|
}), [
|
|
38
55
|
presenceRef,
|
|
39
56
|
isPresenceExclusive,
|
|
40
|
-
isExiting
|
|
57
|
+
isExiting,
|
|
58
|
+
holdExit
|
|
41
59
|
])];
|
|
42
60
|
};
|
|
43
61
|
//#endregion
|
|
44
|
-
export { usePresenceContext };
|
|
62
|
+
export { PresenceHoldContext, usePresenceContext };
|
|
@@ -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 cx from "classnames";
|
|
11
11
|
import PropTypes from "prop-types";
|
|
12
12
|
//#region src/tools/wrapComponent.ts
|
|
13
13
|
/**
|
|
@@ -28,7 +28,7 @@ const wrapComponent = ({ name, className: getClassName, type }) => {
|
|
|
28
28
|
*/
|
|
29
29
|
function Component({ className: baseClassName, ...other }) {
|
|
30
30
|
const prefix = usePrefix();
|
|
31
|
-
const componentClass =
|
|
31
|
+
const componentClass = cx(typeof getClassName === "function" ? getClassName(prefix) : getClassName, baseClassName);
|
|
32
32
|
return React.createElement(type, {
|
|
33
33
|
...other,
|
|
34
34
|
className: !!componentClass ? componentClass : void 0
|
|
@@ -11,10 +11,10 @@ const require_useId = require("../../internal/useId.js");
|
|
|
11
11
|
const require_deprecate = require("../../prop-types/deprecate.js");
|
|
12
12
|
const require_index = require("../IconButton/index.js");
|
|
13
13
|
const require_index$1 = require("../Toggletip/index.js");
|
|
14
|
-
let classnames = require("classnames");
|
|
15
|
-
classnames = require_runtime.__toESM(classnames);
|
|
16
14
|
let react = require("react");
|
|
17
15
|
react = require_runtime.__toESM(react);
|
|
16
|
+
let classnames = require("classnames");
|
|
17
|
+
classnames = require_runtime.__toESM(classnames);
|
|
18
18
|
let prop_types = require("prop-types");
|
|
19
19
|
prop_types = require_runtime.__toESM(prop_types);
|
|
20
20
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
@@ -97,7 +97,7 @@ const AILabel = react.default.forwardRef(function AILabel({ aiText = "AI", aiTex
|
|
|
97
97
|
label: revertLabel,
|
|
98
98
|
...rest,
|
|
99
99
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_carbon_icons_react.Undo, {})
|
|
100
|
-
}) : /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_index$1.
|
|
100
|
+
}) : /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_index$1.Toggletip, {
|
|
101
101
|
align,
|
|
102
102
|
autoAlign,
|
|
103
103
|
alignmentAxisOffset: isSmallIcon ? -24 : 0,
|
|
@@ -118,7 +118,7 @@ const AILabel = react.default.forwardRef(function AILabel({ aiText = "AI", aiTex
|
|
|
118
118
|
});
|
|
119
119
|
AILabel.displayName = "AILabel";
|
|
120
120
|
AILabel.propTypes = {
|
|
121
|
-
...require_index$1.
|
|
121
|
+
...require_index$1.Toggletip.propTypes,
|
|
122
122
|
/**
|
|
123
123
|
* Specify the content you want rendered inside the `AILabel` ToggleTip
|
|
124
124
|
*/
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
const require_runtime = require("../../_virtual/_rolldown/runtime.js");
|
|
9
9
|
const require_usePrefix = require("../../internal/usePrefix.js");
|
|
10
10
|
const require_SkeletonIcon = require("../SkeletonIcon/SkeletonIcon.js");
|
|
11
|
-
let classnames = require("classnames");
|
|
12
|
-
classnames = require_runtime.__toESM(classnames);
|
|
13
11
|
let react = require("react");
|
|
14
12
|
react = require_runtime.__toESM(react);
|
|
13
|
+
let classnames = require("classnames");
|
|
14
|
+
classnames = require_runtime.__toESM(classnames);
|
|
15
15
|
let prop_types = require("prop-types");
|
|
16
16
|
prop_types = require_runtime.__toESM(prop_types);
|
|
17
17
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
const require_runtime = require("../../_virtual/_rolldown/runtime.js");
|
|
9
9
|
const require_usePrefix = require("../../internal/usePrefix.js");
|
|
10
10
|
const require_SkeletonPlaceholder = require("../SkeletonPlaceholder/SkeletonPlaceholder.js");
|
|
11
|
-
let classnames = require("classnames");
|
|
12
|
-
classnames = require_runtime.__toESM(classnames);
|
|
13
11
|
let react = require("react");
|
|
14
12
|
react = require_runtime.__toESM(react);
|
|
13
|
+
let classnames = require("classnames");
|
|
14
|
+
classnames = require_runtime.__toESM(classnames);
|
|
15
15
|
let prop_types = require("prop-types");
|
|
16
16
|
prop_types = require_runtime.__toESM(prop_types);
|
|
17
17
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
const require_runtime = require("../../_virtual/_rolldown/runtime.js");
|
|
9
9
|
const require_usePrefix = require("../../internal/usePrefix.js");
|
|
10
10
|
const require_SkeletonText = require("../SkeletonText/SkeletonText.js");
|
|
11
|
-
let classnames = require("classnames");
|
|
12
|
-
classnames = require_runtime.__toESM(classnames);
|
|
13
11
|
let react = require("react");
|
|
14
12
|
react = require_runtime.__toESM(react);
|
|
13
|
+
let classnames = require("classnames");
|
|
14
|
+
classnames = require_runtime.__toESM(classnames);
|
|
15
15
|
let prop_types = require("prop-types");
|
|
16
16
|
prop_types = require_runtime.__toESM(prop_types);
|
|
17
17
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
const require_runtime = require("../../_virtual/_rolldown/runtime.js");
|
|
9
9
|
const require_usePrefix = require("../../internal/usePrefix.js");
|
|
10
10
|
const require_index = require("../SkeletonText/index.js");
|
|
11
|
-
let classnames = require("classnames");
|
|
12
|
-
classnames = require_runtime.__toESM(classnames);
|
|
13
11
|
let react = require("react");
|
|
14
12
|
react = require_runtime.__toESM(react);
|
|
13
|
+
let classnames = require("classnames");
|
|
14
|
+
classnames = require_runtime.__toESM(classnames);
|
|
15
15
|
let prop_types = require("prop-types");
|
|
16
16
|
prop_types = require_runtime.__toESM(prop_types);
|
|
17
17
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
@@ -82,4 +82,5 @@ function AccordionSkeletonItem() {
|
|
|
82
82
|
});
|
|
83
83
|
}
|
|
84
84
|
//#endregion
|
|
85
|
+
exports.AccordionSkeleton = AccordionSkeleton;
|
|
85
86
|
exports.default = AccordionSkeleton;
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
const require_runtime = require("../../_virtual/_rolldown/runtime.js");
|
|
9
9
|
const require_usePrefix = require("../../internal/usePrefix.js");
|
|
10
10
|
const require_AccordionProvider = require("./AccordionProvider.js");
|
|
11
|
-
let classnames = require("classnames");
|
|
12
|
-
classnames = require_runtime.__toESM(classnames);
|
|
13
11
|
let react = require("react");
|
|
14
12
|
react = require_runtime.__toESM(react);
|
|
13
|
+
let classnames = require("classnames");
|
|
14
|
+
classnames = require_runtime.__toESM(classnames);
|
|
15
15
|
let prop_types = require("prop-types");
|
|
16
16
|
prop_types = require_runtime.__toESM(prop_types);
|
|
17
17
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
@@ -13,10 +13,10 @@ const require_keys = require("../../internal/keyboard/keys.js");
|
|
|
13
13
|
const require_match = require("../../internal/keyboard/match.js");
|
|
14
14
|
const require_useId = require("../../internal/useId.js");
|
|
15
15
|
const require_deprecate = require("../../prop-types/deprecate.js");
|
|
16
|
-
let classnames = require("classnames");
|
|
17
|
-
classnames = require_runtime.__toESM(classnames);
|
|
18
16
|
let react = require("react");
|
|
19
17
|
react = require_runtime.__toESM(react);
|
|
18
|
+
let classnames = require("classnames");
|
|
19
|
+
classnames = require_runtime.__toESM(classnames);
|
|
20
20
|
let prop_types = require("prop-types");
|
|
21
21
|
prop_types = require_runtime.__toESM(prop_types);
|
|
22
22
|
let react_jsx_runtime = require("react/jsx-runtime");
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
|
|
8
8
|
const require_runtime = require("../../_virtual/_rolldown/runtime.js");
|
|
9
9
|
const require_usePrefix = require("../../internal/usePrefix.js");
|
|
10
|
-
let classnames = require("classnames");
|
|
11
|
-
classnames = require_runtime.__toESM(classnames);
|
|
12
10
|
let react = require("react");
|
|
13
11
|
react = require_runtime.__toESM(react);
|
|
12
|
+
let classnames = require("classnames");
|
|
13
|
+
classnames = require_runtime.__toESM(classnames);
|
|
14
14
|
let prop_types = require("prop-types");
|
|
15
15
|
prop_types = require_runtime.__toESM(prop_types);
|
|
16
16
|
let react_jsx_runtime = require("react/jsx-runtime");
|