@carbon/react 1.105.0 → 1.106.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.
Files changed (735) hide show
  1. package/.playwright/INTERNAL_AVT_REPORT_DO_NOT_USE.json +997 -997
  2. package/es/_virtual/_rolldown/runtime.js +6 -11
  3. package/es/components/AILabel/index.js +1 -3
  4. package/es/components/AISkeleton/AISkeletonIcon.js +2 -4
  5. package/es/components/AISkeleton/AISkeletonPlaceholder.js +3 -8
  6. package/es/components/AISkeleton/AISkeletonText.js +2 -4
  7. package/es/components/Accordion/Accordion.Skeleton.js +2 -4
  8. package/es/components/Accordion/Accordion.js +2 -4
  9. package/es/components/Accordion/AccordionItem.js +1 -3
  10. package/es/components/Accordion/AccordionProvider.js +2 -4
  11. package/es/components/AspectRatio/AspectRatio.js +2 -4
  12. package/es/components/BadgeIndicator/index.js +3 -13
  13. package/es/components/Breadcrumb/Breadcrumb.Skeleton.js +2 -4
  14. package/es/components/Breadcrumb/Breadcrumb.js +2 -4
  15. package/es/components/Breadcrumb/BreadcrumbItem.js +1 -3
  16. package/es/components/Button/Button.Skeleton.js +2 -4
  17. package/es/components/Button/Button.js +1 -3
  18. package/es/components/Button/ButtonBase.js +1 -3
  19. package/es/components/Button/index.js +3 -5
  20. package/es/components/ButtonSet/ButtonSet.js +1 -3
  21. package/es/components/ButtonSet/index.js +1 -3
  22. package/es/components/ChatButton/ChatButton.Skeleton.js +2 -4
  23. package/es/components/ChatButton/ChatButton.js +1 -3
  24. package/es/components/Checkbox/Checkbox.Skeleton.js +2 -4
  25. package/es/components/Checkbox/Checkbox.d.ts +1 -1
  26. package/es/components/Checkbox/Checkbox.js +19 -10
  27. package/es/components/Checkbox/index.js +2 -4
  28. package/es/components/CheckboxGroup/CheckboxGroup.d.ts +2 -1
  29. package/es/components/CheckboxGroup/CheckboxGroup.js +24 -13
  30. package/es/components/ClassPrefix/index.js +2 -4
  31. package/es/components/CodeSnippet/CodeSnippet.Skeleton.js +2 -4
  32. package/es/components/CodeSnippet/CodeSnippet.js +2 -4
  33. package/es/components/ComboBox/ComboBox.js +11 -13
  34. package/es/components/ComboBox/index.js +1 -3
  35. package/es/components/ComboButton/index.js +1 -3
  36. package/es/components/ComposedModal/ComposedModal.js +1 -3
  37. package/es/components/ComposedModal/ComposedModalPresence.js +2 -4
  38. package/es/components/ComposedModal/ModalFooter.js +1 -3
  39. package/es/components/ComposedModal/ModalHeader.js +1 -3
  40. package/es/components/ComposedModal/useComposedModalState.js +1 -3
  41. package/es/components/ContainedList/ContainedList.js +17 -9
  42. package/es/components/ContainedList/ContainedListItem/ContainedListItem.js +2 -4
  43. package/es/components/ContainedList/ContainedListItem/index.js +1 -3
  44. package/es/components/ContainedList/index.js +1 -3
  45. package/es/components/ContentSwitcher/ContentSwitcher.js +2 -4
  46. package/es/components/ContextMenu/useContextMenu.js +1 -3
  47. package/es/components/Copy/Copy.js +2 -4
  48. package/es/components/Copy/index.js +1 -3
  49. package/es/components/CopyButton/CopyButton.js +2 -4
  50. package/es/components/CopyButton/index.js +1 -3
  51. package/es/components/DangerButton/DangerButton.js +2 -4
  52. package/es/components/DataTable/DataTable.js +1 -3
  53. package/es/components/DataTable/Table.js +2 -4
  54. package/es/components/DataTable/TableActionList.js +1 -3
  55. package/es/components/DataTable/TableBatchAction.js +2 -4
  56. package/es/components/DataTable/TableBatchActions.js +1 -3
  57. package/es/components/DataTable/TableBody.js +2 -4
  58. package/es/components/DataTable/TableCell.js +2 -4
  59. package/es/components/DataTable/TableContainer.js +2 -4
  60. package/es/components/DataTable/TableContext.js +1 -3
  61. package/es/components/DataTable/TableDecoratorRow.js +2 -4
  62. package/es/components/DataTable/TableExpandHeader.js +4 -8
  63. package/es/components/DataTable/TableExpandRow.js +2 -4
  64. package/es/components/DataTable/TableExpandedRow.js +2 -4
  65. package/es/components/DataTable/TableHead.js +1 -3
  66. package/es/components/DataTable/TableHeader.js +2 -4
  67. package/es/components/DataTable/TableRow.js +2 -4
  68. package/es/components/DataTable/TableSelectAll.js +3 -6
  69. package/es/components/DataTable/TableSelectRow.js +2 -4
  70. package/es/components/DataTable/TableSlugRow.js +1 -3
  71. package/es/components/DataTable/TableToolbar.js +2 -4
  72. package/es/components/DataTable/TableToolbarAction.js +2 -4
  73. package/es/components/DataTable/TableToolbarContent.js +1 -3
  74. package/es/components/DataTable/TableToolbarMenu.js +2 -5
  75. package/es/components/DataTable/TableToolbarSearch.js +2 -4
  76. package/es/components/DataTable/state/getDerivedStateFromProps.js +1 -3
  77. package/es/components/DataTable/state/sortStates.js +1 -2
  78. package/es/components/DataTable/state/sorting.js +1 -3
  79. package/es/components/DataTable/tools/cells.js +1 -2
  80. package/es/components/DataTable/tools/denormalize.js +1 -2
  81. package/es/components/DataTable/tools/filter.js +1 -2
  82. package/es/components/DataTable/tools/normalize.js +1 -3
  83. package/es/components/DataTable/tools/sorting.js +1 -3
  84. package/es/components/DataTableSkeleton/DataTableSkeleton.js +2 -4
  85. package/es/components/DatePicker/DatePicker.Skeleton.js +2 -4
  86. package/es/components/DatePicker/DatePicker.js +3 -4
  87. package/es/components/DatePicker/DatePickerLocales.js +1 -2
  88. package/es/components/DatePicker/index.js +2 -4
  89. package/es/components/DatePicker/plugins/appendToPlugin.js +1 -2
  90. package/es/components/DatePicker/plugins/fixEventsPlugin.js +1 -3
  91. package/es/components/DatePicker/plugins/rangePlugin.js +1 -3
  92. package/es/components/DatePicker/utils.js +1 -2
  93. package/es/components/DatePickerInput/DatePickerInput.js +3 -5
  94. package/es/components/DatePickerInput/index.js +1 -3
  95. package/es/components/Dialog/Dialog.d.ts +15 -0
  96. package/es/components/Dialog/Dialog.js +50 -33
  97. package/es/components/Dialog/index.js +1 -3
  98. package/es/components/Dropdown/Dropdown.Skeleton.js +2 -4
  99. package/es/components/Dropdown/Dropdown.js +2 -4
  100. package/es/components/Dropdown/index.js +2 -4
  101. package/es/components/ErrorBoundary/ErrorBoundary.js +1 -3
  102. package/es/components/ErrorBoundary/ErrorBoundaryContext.js +1 -3
  103. package/es/components/ExpandableSearch/ExpandableSearch.js +2 -4
  104. package/es/components/ExpandableSearch/index.js +1 -3
  105. package/es/components/FeatureFlags/index.js +2 -4
  106. package/es/components/FileUploader/FileUploader.Skeleton.js +2 -4
  107. package/es/components/FileUploader/FileUploader.js +1 -3
  108. package/es/components/FileUploader/FileUploaderButton.js +2 -4
  109. package/es/components/FileUploader/FileUploaderDropContainer.js +2 -4
  110. package/es/components/FileUploader/FileUploaderItem.js +2 -4
  111. package/es/components/FileUploader/Filename.js +2 -4
  112. package/es/components/FluidComboBox/FluidComboBox.Skeleton.js +2 -4
  113. package/es/components/FluidComboBox/FluidComboBox.js +1 -3
  114. package/es/components/FluidDatePicker/FluidDatePicker.Skeleton.js +2 -4
  115. package/es/components/FluidDatePicker/FluidDatePicker.js +1 -3
  116. package/es/components/FluidDatePickerInput/FluidDatePickerInput.js +2 -4
  117. package/es/components/FluidDropdown/FluidDropdown.Skeleton.js +2 -4
  118. package/es/components/FluidDropdown/FluidDropdown.js +1 -3
  119. package/es/components/FluidForm/FluidForm.js +2 -4
  120. package/es/components/FluidForm/FormContext.js +1 -3
  121. package/es/components/FluidMultiSelect/FluidMultiSelect.Skeleton.js +2 -4
  122. package/es/components/FluidMultiSelect/FluidMultiSelect.js +1 -3
  123. package/es/components/FluidNumberInput/FluidNumberInput.Skeleton.js +2 -4
  124. package/es/components/FluidNumberInput/FluidNumberInput.js +1 -3
  125. package/es/components/FluidSearch/FluidSearch.Skeleton.js +2 -4
  126. package/es/components/FluidSearch/FluidSearch.js +2 -4
  127. package/es/components/FluidSelect/FluidSelect.Skeleton.js +2 -4
  128. package/es/components/FluidSelect/FluidSelect.js +1 -3
  129. package/es/components/FluidSelect/index.js +2 -4
  130. package/es/components/FluidTextArea/FluidTextArea.Skeleton.js +2 -4
  131. package/es/components/FluidTextArea/FluidTextArea.js +2 -4
  132. package/es/components/FluidTextInput/FluidPasswordInput.js +2 -4
  133. package/es/components/FluidTextInput/FluidTextInput.Skeleton.js +2 -4
  134. package/es/components/FluidTextInput/FluidTextInput.js +1 -3
  135. package/es/components/FluidTextInput/index.js +3 -5
  136. package/es/components/FluidTimePicker/FluidTimePicker.Skeleton.js +2 -4
  137. package/es/components/FluidTimePicker/FluidTimePicker.js +1 -3
  138. package/es/components/FluidTimePickerSelect/FluidTimePickerSelect.js +1 -3
  139. package/es/components/Form/Form.js +2 -4
  140. package/es/components/FormGroup/FormGroup.js +2 -4
  141. package/es/components/FormItem/FormItem.js +2 -4
  142. package/es/components/FormLabel/FormLabel.js +2 -4
  143. package/es/components/Grid/CSSGrid.js +1 -3
  144. package/es/components/Grid/Column.js +1 -3
  145. package/es/components/Grid/ColumnHang.js +2 -4
  146. package/es/components/Grid/FlexGrid.js +1 -3
  147. package/es/components/Grid/Grid.js +2 -4
  148. package/es/components/Grid/GridContext.js +1 -3
  149. package/es/components/Grid/Row.js +2 -4
  150. package/es/components/Heading/index.js +1 -3
  151. package/es/components/Icon/Icon.Skeleton.js +2 -4
  152. package/es/components/IconButton/index.js +2 -4
  153. package/es/components/IconIndicator/index.js +1 -3
  154. package/es/components/IdPrefix/index.js +2 -4
  155. package/es/components/InlineCheckbox/InlineCheckbox.js +1 -3
  156. package/es/components/InlineCheckbox/index.js +1 -3
  157. package/es/components/InlineLoading/InlineLoading.js +2 -4
  158. package/es/components/InlineLoading/index.js +1 -3
  159. package/es/components/Layer/LayerContext.js +1 -3
  160. package/es/components/Layer/LayerLevel.js +1 -2
  161. package/es/components/Layer/index.js +1 -3
  162. package/es/components/Layout/index.js +1 -3
  163. package/es/components/LayoutDirection/LayoutDirection.js +1 -3
  164. package/es/components/LayoutDirection/LayoutDirectionContext.js +1 -3
  165. package/es/components/LayoutDirection/useLayoutDirection.js +1 -3
  166. package/es/components/Link/Link.js +1 -3
  167. package/es/components/Link/index.js +1 -3
  168. package/es/components/ListBox/ListBox.js +2 -4
  169. package/es/components/ListBox/ListBoxField.js +2 -4
  170. package/es/components/ListBox/ListBoxMenu.js +2 -4
  171. package/es/components/ListBox/ListBoxMenuIcon.js +2 -4
  172. package/es/components/ListBox/ListBoxMenuItem.js +2 -4
  173. package/es/components/ListBox/ListBoxPropTypes.js +1 -3
  174. package/es/components/ListBox/ListBoxSelection.js +2 -4
  175. package/es/components/ListBox/index.js +2 -4
  176. package/es/components/ListBox/next/ListBoxSelection.js +2 -4
  177. package/es/components/ListBox/next/ListBoxTrigger.js +1 -3
  178. package/es/components/ListItem/ListItem.js +2 -4
  179. package/es/components/Loading/Loading.js +2 -4
  180. package/es/components/Loading/index.js +1 -3
  181. package/es/components/Menu/Menu.d.ts +3 -0
  182. package/es/components/Menu/Menu.js +5 -6
  183. package/es/components/Menu/MenuContext.js +1 -3
  184. package/es/components/Menu/MenuItem.js +1 -3
  185. package/es/components/MenuButton/index.js +2 -4
  186. package/es/components/Modal/Modal.js +2 -5
  187. package/es/components/Modal/ModalPresence.js +2 -4
  188. package/es/components/Modal/index.js +2 -4
  189. package/es/components/ModalWrapper/ModalWrapper.js +1 -3
  190. package/es/components/MultiSelect/FilterableMultiSelect.js +3 -5
  191. package/es/components/MultiSelect/MultiSelect.js +2 -4
  192. package/es/components/MultiSelect/MultiSelectPropTypes.js +1 -3
  193. package/es/components/MultiSelect/filter.js +1 -2
  194. package/es/components/MultiSelect/tools/sorting.js +1 -2
  195. package/es/components/Notification/Notification.js +2 -4
  196. package/es/components/NumberInput/NumberFormatPropTypes.js +1 -3
  197. package/es/components/NumberInput/NumberInput.Skeleton.js +2 -4
  198. package/es/components/NumberInput/NumberInput.js +2 -4
  199. package/es/components/OrderedList/OrderedList.js +2 -4
  200. package/es/components/OverflowMenu/OverflowMenu.js +5 -7
  201. package/es/components/OverflowMenu/index.js +2 -4
  202. package/es/components/OverflowMenu/next/index.js +1 -3
  203. package/es/components/OverflowMenuItem/OverflowMenuItem.js +2 -4
  204. package/es/components/OverflowMenuItem/index.js +1 -3
  205. package/es/components/OverflowMenuV2/index.js +2 -4
  206. package/es/components/PageHeader/PageHeader.js +1 -3
  207. package/es/components/PageHeader/index.js +1 -3
  208. package/es/components/Pagination/Pagination.Skeleton.js +2 -4
  209. package/es/components/Pagination/Pagination.js +1 -3
  210. package/es/components/Pagination/experimental/PageSelector.js +2 -4
  211. package/es/components/Pagination/experimental/Pagination.js +2 -4
  212. package/es/components/PaginationNav/PaginationNav.js +1 -3
  213. package/es/components/Popover/index.js +2 -5
  214. package/es/components/PrimaryButton/PrimaryButton.js +2 -4
  215. package/es/components/ProgressBar/ProgressBar.js +1 -3
  216. package/es/components/ProgressIndicator/ProgressIndicator.Skeleton.js +2 -4
  217. package/es/components/ProgressIndicator/ProgressIndicator.js +1 -3
  218. package/es/components/RadioButton/RadioButton.Skeleton.js +2 -4
  219. package/es/components/RadioButton/RadioButton.js +2 -4
  220. package/es/components/RadioButton/index.js +1 -3
  221. package/es/components/RadioButtonGroup/RadioButtonGroup.js +2 -11
  222. package/es/components/RadioTile/RadioTile.js +1 -3
  223. package/es/components/RadioTile/index.js +1 -3
  224. package/es/components/Search/Search.Skeleton.js +2 -4
  225. package/es/components/Search/Search.js +7 -10
  226. package/es/components/Search/index.js +2 -4
  227. package/es/components/Search/utils.js +1 -2
  228. package/es/components/SecondaryButton/SecondaryButton.js +2 -4
  229. package/es/components/Select/Select.Skeleton.js +2 -4
  230. package/es/components/Select/Select.js +2 -4
  231. package/es/components/Select/index.js +2 -4
  232. package/es/components/SelectItem/SelectItem.js +2 -4
  233. package/es/components/SelectItem/index.js +1 -3
  234. package/es/components/SelectItemGroup/SelectItemGroup.js +2 -4
  235. package/es/components/ShapeIndicator/index.js +1 -3
  236. package/es/components/SkeletonIcon/SkeletonIcon.js +2 -4
  237. package/es/components/SkeletonPlaceholder/SkeletonPlaceholder.js +2 -4
  238. package/es/components/SkeletonText/SkeletonText.js +2 -4
  239. package/es/components/SkeletonText/index.js +1 -3
  240. package/es/components/Slider/Slider.Skeleton.js +2 -4
  241. package/es/components/Slider/Slider.js +24 -31
  242. package/es/components/Slider/SliderHandles.js +2 -4
  243. package/es/components/Stack/HStack.js +2 -4
  244. package/es/components/Stack/Stack.js +2 -4
  245. package/es/components/Stack/VStack.js +2 -4
  246. package/es/components/StructuredList/StructuredList.Skeleton.js +2 -4
  247. package/es/components/StructuredList/StructuredList.js +1 -3
  248. package/es/components/Switch/IconSwitch.js +2 -4
  249. package/es/components/Switch/Switch.js +1 -3
  250. package/es/components/TabContent/TabContent.js +2 -4
  251. package/es/components/Tabs/Tabs.Skeleton.js +2 -4
  252. package/es/components/Tabs/Tabs.js +2 -4
  253. package/es/components/Tabs/usePressable.js +1 -3
  254. package/es/components/Tag/DismissibleTag.js +2 -5
  255. package/es/components/Tag/OperationalTag.js +2 -5
  256. package/es/components/Tag/SelectableTag.js +2 -4
  257. package/es/components/Tag/Tag.Skeleton.js +2 -4
  258. package/es/components/Tag/Tag.js +1 -4
  259. package/es/components/Tag/isEllipsisActive.js +1 -2
  260. package/es/components/Text/Text.js +2 -4
  261. package/es/components/Text/TextDirection.js +2 -4
  262. package/es/components/Text/TextDirectionContext.js +1 -3
  263. package/es/components/Text/createTextComponent.js +2 -4
  264. package/es/components/TextArea/TextArea.Skeleton.js +2 -4
  265. package/es/components/TextArea/TextArea.js +2 -4
  266. package/es/components/TextArea/index.js +2 -4
  267. package/es/components/TextInput/ControlledPasswordInput.js +2 -4
  268. package/es/components/TextInput/PasswordInput.js +3 -5
  269. package/es/components/TextInput/TextInput.Skeleton.js +2 -4
  270. package/es/components/TextInput/TextInput.js +3 -5
  271. package/es/components/TextInput/index.js +2 -4
  272. package/es/components/TextInput/util.js +1 -2
  273. package/es/components/Theme/index.js +1 -3
  274. package/es/components/Tile/Tile.js +1 -6
  275. package/es/components/TileGroup/TileGroup.js +2 -4
  276. package/es/components/TimePicker/TimePicker.js +2 -4
  277. package/es/components/TimePickerSelect/TimePickerSelect.js +2 -4
  278. package/es/components/Toggle/Toggle.Skeleton.js +2 -4
  279. package/es/components/Toggle/Toggle.js +2 -4
  280. package/es/components/ToggleSmall/ToggleSmall.Skeleton.js +2 -4
  281. package/es/components/Toggletip/index.js +6 -6
  282. package/es/components/Tooltip/DefinitionTooltip.js +2 -4
  283. package/es/components/Tooltip/Tooltip.js +3 -7
  284. package/es/components/TreeView/TreeContext.js +1 -3
  285. package/es/components/TreeView/TreeNode.js +3 -4
  286. package/es/components/TreeView/TreeView.js +4 -5
  287. package/es/components/UIShell/Content.js +1 -3
  288. package/es/components/UIShell/Header.js +2 -4
  289. package/es/components/UIShell/HeaderContainer.js +2 -4
  290. package/es/components/UIShell/HeaderGlobalAction.js +1 -3
  291. package/es/components/UIShell/HeaderGlobalBar.js +1 -3
  292. package/es/components/UIShell/HeaderMenu.js +3 -13
  293. package/es/components/UIShell/HeaderMenuButton.js +2 -4
  294. package/es/components/UIShell/HeaderMenuItem.js +2 -4
  295. package/es/components/UIShell/HeaderName.js +2 -4
  296. package/es/components/UIShell/HeaderNavigation.js +2 -4
  297. package/es/components/UIShell/HeaderPanel.js +1 -3
  298. package/es/components/UIShell/HeaderSideNavItems.js +2 -4
  299. package/es/components/UIShell/Link.js +2 -4
  300. package/es/components/UIShell/SideNav.js +3 -5
  301. package/es/components/UIShell/SideNavContext.js +2 -4
  302. package/es/components/UIShell/SideNavDetails.js +2 -4
  303. package/es/components/UIShell/SideNavDivider.js +2 -4
  304. package/es/components/UIShell/SideNavFooter.js +2 -4
  305. package/es/components/UIShell/SideNavHeader.js +2 -4
  306. package/es/components/UIShell/SideNavIcon.js +2 -4
  307. package/es/components/UIShell/SideNavItem.js +2 -4
  308. package/es/components/UIShell/SideNavItems.js +2 -4
  309. package/es/components/UIShell/SideNavLink.js +2 -4
  310. package/es/components/UIShell/SideNavLinkText.js +2 -4
  311. package/es/components/UIShell/SideNavMenu.js +1 -3
  312. package/es/components/UIShell/SideNavMenuItem.js +2 -4
  313. package/es/components/UIShell/SideNavSwitcher.js +2 -4
  314. package/es/components/UIShell/SkipToContent.js +2 -4
  315. package/es/components/UIShell/Switcher.js +2 -4
  316. package/es/components/UIShell/SwitcherDivider.js +2 -4
  317. package/es/components/UIShell/SwitcherItem.js +2 -4
  318. package/es/components/UnorderedList/UnorderedList.js +2 -4
  319. package/es/feature-flags.js +1 -3
  320. package/es/index.js +2 -5
  321. package/es/internal/FloatingMenu.js +3 -6
  322. package/es/internal/OptimizedResize.js +1 -2
  323. package/es/internal/Selection.js +3 -5
  324. package/es/internal/clamp.js +1 -2
  325. package/es/internal/defaultItemToString.js +1 -2
  326. package/es/internal/deprecateFieldOnObject.js +1 -3
  327. package/es/internal/environment.js +1 -2
  328. package/es/internal/getAnnouncement.js +1 -2
  329. package/es/internal/keyboard/keys.js +1 -2
  330. package/es/internal/keyboard/match.js +1 -2
  331. package/es/internal/keyboard/navigation.js +1 -3
  332. package/es/internal/noopFn.js +1 -2
  333. package/es/internal/useAttachedMenu.js +1 -3
  334. package/es/internal/useControllableState.js +1 -3
  335. package/es/internal/useDelayedState.js +1 -3
  336. package/es/internal/useEvent.js +1 -3
  337. package/es/internal/useId.js +1 -3
  338. package/es/internal/useIdPrefix.js +1 -3
  339. package/es/internal/useIsomorphicEffect.js +1 -3
  340. package/es/internal/useMatchMedia.js +1 -3
  341. package/es/internal/useMergedRefs.js +1 -3
  342. package/es/internal/useNoInteractiveChildren.js +1 -3
  343. package/es/internal/useNormalizedInputProps.js +2 -4
  344. package/es/internal/useOutsideClick.js +3 -4
  345. package/es/internal/useOverflowItems.js +1 -3
  346. package/es/internal/usePrefix.js +1 -3
  347. package/es/internal/usePresence.js +1 -3
  348. package/es/internal/usePresenceContext.js +1 -3
  349. package/es/internal/usePreviousValue.js +1 -3
  350. package/es/internal/useResizeObserver.js +1 -3
  351. package/es/internal/useSavedCallback.js +1 -3
  352. package/es/internal/utils.js +1 -3
  353. package/es/internal/warning.js +1 -2
  354. package/es/internal/wrapFocus.js +1 -3
  355. package/es/prop-types/AriaPropTypes.js +1 -3
  356. package/es/prop-types/deprecate.js +1 -3
  357. package/es/prop-types/deprecateComponent.js +1 -3
  358. package/es/prop-types/deprecateValuesWithin.js +1 -3
  359. package/es/prop-types/isRequiredOneOf.js +1 -2
  360. package/es/prop-types/requiredIfGivenPropIsTruthy.js +1 -2
  361. package/es/tools/events.js +1 -2
  362. package/es/tools/mapPopoverAlign.js +1 -2
  363. package/es/tools/mergeRefs.js +1 -2
  364. package/es/tools/setupGetInstanceId.js +1 -2
  365. package/es/tools/toggleClass.js +1 -2
  366. package/es/tools/wrapComponent.js +1 -3
  367. package/icons/index.esm.js +1 -1
  368. package/icons/index.js +7 -7
  369. package/lib/_virtual/_rolldown/runtime.js +12 -22
  370. package/lib/components/AILabel/index.js +7 -9
  371. package/lib/components/AISkeleton/AISkeletonIcon.js +4 -6
  372. package/lib/components/AISkeleton/AISkeletonPlaceholder.js +5 -10
  373. package/lib/components/AISkeleton/AISkeletonText.js +4 -6
  374. package/lib/components/Accordion/Accordion.Skeleton.js +4 -6
  375. package/lib/components/Accordion/Accordion.js +4 -6
  376. package/lib/components/Accordion/AccordionItem.js +9 -11
  377. package/lib/components/Accordion/AccordionProvider.js +2 -4
  378. package/lib/components/AspectRatio/AspectRatio.js +3 -5
  379. package/lib/components/BadgeIndicator/index.js +3 -5
  380. package/lib/components/Breadcrumb/Breadcrumb.Skeleton.js +3 -5
  381. package/lib/components/Breadcrumb/Breadcrumb.js +3 -5
  382. package/lib/components/Breadcrumb/BreadcrumbItem.js +5 -7
  383. package/lib/components/Button/Button.Skeleton.js +3 -5
  384. package/lib/components/Button/Button.js +4 -6
  385. package/lib/components/Button/ButtonBase.js +4 -6
  386. package/lib/components/Button/index.js +3 -5
  387. package/lib/components/ButtonSet/ButtonSet.js +4 -6
  388. package/lib/components/ButtonSet/index.js +2 -5
  389. package/lib/components/ChatButton/ChatButton.Skeleton.js +3 -5
  390. package/lib/components/ChatButton/ChatButton.js +4 -6
  391. package/lib/components/Checkbox/Checkbox.Skeleton.js +3 -5
  392. package/lib/components/Checkbox/Checkbox.d.ts +1 -1
  393. package/lib/components/Checkbox/Checkbox.js +27 -18
  394. package/lib/components/Checkbox/index.js +3 -5
  395. package/lib/components/CheckboxGroup/CheckboxGroup.d.ts +2 -1
  396. package/lib/components/CheckboxGroup/CheckboxGroup.js +30 -19
  397. package/lib/components/ClassPrefix/index.js +3 -5
  398. package/lib/components/CodeSnippet/CodeSnippet.Skeleton.js +3 -5
  399. package/lib/components/CodeSnippet/CodeSnippet.js +11 -13
  400. package/lib/components/ComboBox/ComboBox.js +27 -29
  401. package/lib/components/ComboBox/index.js +2 -5
  402. package/lib/components/ComboButton/index.js +13 -15
  403. package/lib/components/ComposedModal/ComposedModal.js +23 -25
  404. package/lib/components/ComposedModal/ComposedModalPresence.js +4 -6
  405. package/lib/components/ComposedModal/ModalFooter.js +7 -9
  406. package/lib/components/ComposedModal/ModalHeader.js +4 -6
  407. package/lib/components/ComposedModal/useComposedModalState.js +2 -4
  408. package/lib/components/ContainedList/ContainedList.js +24 -16
  409. package/lib/components/ContainedList/ContainedListItem/ContainedListItem.js +4 -6
  410. package/lib/components/ContainedList/ContainedListItem/index.js +2 -5
  411. package/lib/components/ContainedList/index.js +8 -7
  412. package/lib/components/ContentSwitcher/ContentSwitcher.js +11 -13
  413. package/lib/components/ContextMenu/useContextMenu.js +2 -4
  414. package/lib/components/Copy/Copy.js +8 -10
  415. package/lib/components/Copy/index.js +2 -5
  416. package/lib/components/CopyButton/CopyButton.js +8 -10
  417. package/lib/components/CopyButton/index.js +2 -5
  418. package/lib/components/DangerButton/DangerButton.js +3 -5
  419. package/lib/components/DataTable/DataTable.js +32 -34
  420. package/lib/components/DataTable/Table.js +6 -8
  421. package/lib/components/DataTable/TableActionList.js +2 -5
  422. package/lib/components/DataTable/TableBatchAction.js +3 -5
  423. package/lib/components/DataTable/TableBatchActions.js +6 -8
  424. package/lib/components/DataTable/TableBody.js +2 -4
  425. package/lib/components/DataTable/TableCell.js +3 -5
  426. package/lib/components/DataTable/TableContainer.js +6 -8
  427. package/lib/components/DataTable/TableContext.js +3 -6
  428. package/lib/components/DataTable/TableDecoratorRow.js +5 -7
  429. package/lib/components/DataTable/TableExpandHeader.js +7 -11
  430. package/lib/components/DataTable/TableExpandRow.js +8 -10
  431. package/lib/components/DataTable/TableExpandedRow.js +4 -6
  432. package/lib/components/DataTable/TableHead.js +2 -5
  433. package/lib/components/DataTable/TableHeader.js +7 -9
  434. package/lib/components/DataTable/TableRow.js +7 -9
  435. package/lib/components/DataTable/TableSelectAll.js +6 -9
  436. package/lib/components/DataTable/TableSelectRow.js +7 -9
  437. package/lib/components/DataTable/TableSlugRow.js +4 -6
  438. package/lib/components/DataTable/TableToolbar.js +4 -6
  439. package/lib/components/DataTable/TableToolbarAction.js +3 -5
  440. package/lib/components/DataTable/TableToolbarContent.js +2 -5
  441. package/lib/components/DataTable/TableToolbarMenu.js +4 -7
  442. package/lib/components/DataTable/TableToolbarSearch.js +6 -8
  443. package/lib/components/DataTable/state/getDerivedStateFromProps.js +3 -5
  444. package/lib/components/DataTable/state/sortStates.js +1 -3
  445. package/lib/components/DataTable/state/sorting.js +3 -5
  446. package/lib/components/DataTable/tools/cells.js +1 -3
  447. package/lib/components/DataTable/tools/denormalize.js +1 -3
  448. package/lib/components/DataTable/tools/filter.js +1 -3
  449. package/lib/components/DataTable/tools/normalize.js +4 -6
  450. package/lib/components/DataTable/tools/sorting.js +3 -5
  451. package/lib/components/DataTableSkeleton/DataTableSkeleton.js +3 -5
  452. package/lib/components/DatePicker/DatePicker.Skeleton.js +3 -5
  453. package/lib/components/DatePicker/DatePicker.js +16 -17
  454. package/lib/components/DatePicker/DatePickerLocales.js +1 -3
  455. package/lib/components/DatePicker/index.js +3 -5
  456. package/lib/components/DatePicker/plugins/appendToPlugin.js +1 -3
  457. package/lib/components/DatePicker/plugins/fixEventsPlugin.js +3 -5
  458. package/lib/components/DatePicker/plugins/rangePlugin.js +3 -5
  459. package/lib/components/DatePicker/utils.js +1 -3
  460. package/lib/components/DatePickerInput/DatePickerInput.js +11 -13
  461. package/lib/components/DatePickerInput/index.js +2 -5
  462. package/lib/components/Dialog/Dialog.d.ts +15 -0
  463. package/lib/components/Dialog/Dialog.js +60 -43
  464. package/lib/components/Dialog/index.js +8 -10
  465. package/lib/components/Dropdown/Dropdown.Skeleton.js +4 -6
  466. package/lib/components/Dropdown/Dropdown.js +13 -15
  467. package/lib/components/Dropdown/index.js +3 -5
  468. package/lib/components/ErrorBoundary/ErrorBoundary.js +3 -5
  469. package/lib/components/ErrorBoundary/ErrorBoundaryContext.js +3 -6
  470. package/lib/components/ExpandableSearch/ExpandableSearch.js +9 -11
  471. package/lib/components/ExpandableSearch/index.js +2 -5
  472. package/lib/components/FeatureFlags/index.js +3 -5
  473. package/lib/components/FileUploader/FileUploader.Skeleton.js +5 -7
  474. package/lib/components/FileUploader/FileUploader.js +11 -13
  475. package/lib/components/FileUploader/FileUploaderButton.js +9 -11
  476. package/lib/components/FileUploader/FileUploaderDropContainer.js +9 -11
  477. package/lib/components/FileUploader/FileUploaderItem.js +11 -13
  478. package/lib/components/FileUploader/Filename.js +4 -6
  479. package/lib/components/FluidComboBox/FluidComboBox.Skeleton.js +3 -5
  480. package/lib/components/FluidComboBox/FluidComboBox.js +5 -7
  481. package/lib/components/FluidDatePicker/FluidDatePicker.Skeleton.js +4 -6
  482. package/lib/components/FluidDatePicker/FluidDatePicker.js +5 -7
  483. package/lib/components/FluidDatePickerInput/FluidDatePickerInput.js +4 -6
  484. package/lib/components/FluidDropdown/FluidDropdown.Skeleton.js +3 -5
  485. package/lib/components/FluidDropdown/FluidDropdown.js +5 -7
  486. package/lib/components/FluidForm/FluidForm.js +5 -7
  487. package/lib/components/FluidForm/FormContext.js +3 -6
  488. package/lib/components/FluidMultiSelect/FluidMultiSelect.Skeleton.js +3 -5
  489. package/lib/components/FluidMultiSelect/FluidMultiSelect.js +6 -8
  490. package/lib/components/FluidNumberInput/FluidNumberInput.Skeleton.js +4 -6
  491. package/lib/components/FluidNumberInput/FluidNumberInput.js +6 -8
  492. package/lib/components/FluidSearch/FluidSearch.Skeleton.js +4 -6
  493. package/lib/components/FluidSearch/FluidSearch.js +5 -7
  494. package/lib/components/FluidSelect/FluidSelect.Skeleton.js +3 -5
  495. package/lib/components/FluidSelect/FluidSelect.js +5 -7
  496. package/lib/components/FluidSelect/index.js +3 -5
  497. package/lib/components/FluidTextArea/FluidTextArea.Skeleton.js +4 -6
  498. package/lib/components/FluidTextArea/FluidTextArea.js +6 -8
  499. package/lib/components/FluidTextInput/FluidPasswordInput.js +5 -7
  500. package/lib/components/FluidTextInput/FluidTextInput.Skeleton.js +4 -6
  501. package/lib/components/FluidTextInput/FluidTextInput.js +6 -8
  502. package/lib/components/FluidTextInput/index.js +4 -6
  503. package/lib/components/FluidTimePicker/FluidTimePicker.Skeleton.js +5 -7
  504. package/lib/components/FluidTimePicker/FluidTimePicker.js +4 -6
  505. package/lib/components/FluidTimePickerSelect/FluidTimePickerSelect.js +3 -5
  506. package/lib/components/Form/Form.js +3 -5
  507. package/lib/components/FormGroup/FormGroup.js +3 -5
  508. package/lib/components/FormItem/FormItem.js +3 -5
  509. package/lib/components/FormLabel/FormLabel.js +4 -6
  510. package/lib/components/Grid/CSSGrid.js +4 -6
  511. package/lib/components/Grid/Column.js +4 -6
  512. package/lib/components/Grid/ColumnHang.js +3 -5
  513. package/lib/components/Grid/FlexGrid.js +4 -6
  514. package/lib/components/Grid/Grid.js +5 -7
  515. package/lib/components/Grid/GridContext.js +2 -4
  516. package/lib/components/Grid/Row.js +3 -5
  517. package/lib/components/Heading/index.js +2 -4
  518. package/lib/components/Icon/Icon.Skeleton.js +3 -5
  519. package/lib/components/IconButton/index.js +9 -11
  520. package/lib/components/IconIndicator/index.js +3 -5
  521. package/lib/components/IdPrefix/index.js +3 -5
  522. package/lib/components/InlineCheckbox/InlineCheckbox.js +5 -7
  523. package/lib/components/InlineCheckbox/index.js +2 -5
  524. package/lib/components/InlineLoading/InlineLoading.js +4 -6
  525. package/lib/components/InlineLoading/index.js +2 -5
  526. package/lib/components/Layer/LayerContext.js +2 -4
  527. package/lib/components/Layer/LayerLevel.js +1 -3
  528. package/lib/components/Layer/index.js +6 -8
  529. package/lib/components/Layout/index.js +3 -5
  530. package/lib/components/LayoutDirection/LayoutDirection.js +3 -5
  531. package/lib/components/LayoutDirection/LayoutDirectionContext.js +2 -4
  532. package/lib/components/LayoutDirection/useLayoutDirection.js +3 -5
  533. package/lib/components/Link/Link.js +3 -5
  534. package/lib/components/Link/index.js +2 -5
  535. package/lib/components/ListBox/ListBox.js +6 -8
  536. package/lib/components/ListBox/ListBoxField.js +3 -5
  537. package/lib/components/ListBox/ListBoxMenu.js +4 -6
  538. package/lib/components/ListBox/ListBoxMenuIcon.js +3 -5
  539. package/lib/components/ListBox/ListBoxMenuItem.js +4 -6
  540. package/lib/components/ListBox/ListBoxPropTypes.js +2 -4
  541. package/lib/components/ListBox/ListBoxSelection.js +3 -5
  542. package/lib/components/ListBox/index.js +8 -10
  543. package/lib/components/ListBox/next/ListBoxSelection.js +3 -5
  544. package/lib/components/ListBox/next/ListBoxTrigger.js +3 -5
  545. package/lib/components/ListItem/ListItem.js +4 -6
  546. package/lib/components/Loading/Loading.js +4 -6
  547. package/lib/components/Loading/index.js +2 -5
  548. package/lib/components/Menu/Menu.d.ts +3 -0
  549. package/lib/components/Menu/Menu.js +13 -14
  550. package/lib/components/Menu/MenuContext.js +2 -4
  551. package/lib/components/Menu/MenuItem.js +13 -15
  552. package/lib/components/MenuButton/index.js +10 -12
  553. package/lib/components/Modal/Modal.js +28 -31
  554. package/lib/components/Modal/ModalPresence.js +3 -5
  555. package/lib/components/Modal/index.js +3 -6
  556. package/lib/components/ModalWrapper/ModalWrapper.js +9 -11
  557. package/lib/components/MultiSelect/FilterableMultiSelect.js +23 -25
  558. package/lib/components/MultiSelect/MultiSelect.js +22 -24
  559. package/lib/components/MultiSelect/MultiSelectPropTypes.js +2 -4
  560. package/lib/components/MultiSelect/filter.js +1 -3
  561. package/lib/components/MultiSelect/tools/sorting.js +1 -3
  562. package/lib/components/Notification/Notification.js +16 -18
  563. package/lib/components/NumberInput/NumberFormatPropTypes.js +2 -4
  564. package/lib/components/NumberInput/NumberInput.Skeleton.js +3 -5
  565. package/lib/components/NumberInput/NumberInput.js +15 -17
  566. package/lib/components/OrderedList/OrderedList.js +3 -5
  567. package/lib/components/OverflowMenu/OverflowMenu.js +17 -19
  568. package/lib/components/OverflowMenu/index.js +5 -7
  569. package/lib/components/OverflowMenu/next/index.js +11 -13
  570. package/lib/components/OverflowMenuItem/OverflowMenuItem.js +8 -10
  571. package/lib/components/OverflowMenuItem/index.js +2 -5
  572. package/lib/components/OverflowMenuV2/index.js +5 -7
  573. package/lib/components/PageHeader/PageHeader.js +17 -19
  574. package/lib/components/PageHeader/index.js +8 -10
  575. package/lib/components/Pagination/Pagination.Skeleton.js +4 -6
  576. package/lib/components/Pagination/Pagination.js +8 -10
  577. package/lib/components/Pagination/experimental/PageSelector.js +6 -8
  578. package/lib/components/Pagination/experimental/Pagination.js +6 -8
  579. package/lib/components/PaginationNav/PaginationNav.js +6 -8
  580. package/lib/components/Popover/index.js +10 -12
  581. package/lib/components/PrimaryButton/PrimaryButton.js +3 -5
  582. package/lib/components/ProgressBar/ProgressBar.js +5 -7
  583. package/lib/components/ProgressIndicator/ProgressIndicator.Skeleton.js +3 -5
  584. package/lib/components/ProgressIndicator/ProgressIndicator.js +6 -8
  585. package/lib/components/RadioButton/RadioButton.Skeleton.js +3 -5
  586. package/lib/components/RadioButton/RadioButton.js +10 -12
  587. package/lib/components/RadioButton/index.js +2 -5
  588. package/lib/components/RadioButtonGroup/RadioButtonGroup.js +10 -19
  589. package/lib/components/RadioTile/RadioTile.js +12 -14
  590. package/lib/components/RadioTile/index.js +2 -5
  591. package/lib/components/Search/Search.Skeleton.js +3 -5
  592. package/lib/components/Search/Search.js +19 -22
  593. package/lib/components/Search/index.js +3 -5
  594. package/lib/components/Search/utils.js +1 -3
  595. package/lib/components/SecondaryButton/SecondaryButton.js +3 -5
  596. package/lib/components/Select/Select.Skeleton.js +3 -5
  597. package/lib/components/Select/Select.js +10 -12
  598. package/lib/components/Select/index.js +3 -5
  599. package/lib/components/SelectItem/SelectItem.js +3 -5
  600. package/lib/components/SelectItem/index.js +2 -5
  601. package/lib/components/SelectItemGroup/SelectItemGroup.js +3 -5
  602. package/lib/components/ShapeIndicator/index.js +3 -5
  603. package/lib/components/SkeletonIcon/SkeletonIcon.js +3 -5
  604. package/lib/components/SkeletonPlaceholder/SkeletonPlaceholder.js +3 -5
  605. package/lib/components/SkeletonText/SkeletonText.js +4 -6
  606. package/lib/components/SkeletonText/index.js +2 -5
  607. package/lib/components/Slider/Slider.Skeleton.js +5 -7
  608. package/lib/components/Slider/Slider.js +34 -41
  609. package/lib/components/Slider/SliderHandles.js +3 -5
  610. package/lib/components/Stack/HStack.js +3 -5
  611. package/lib/components/Stack/Stack.js +3 -5
  612. package/lib/components/Stack/VStack.js +3 -5
  613. package/lib/components/StructuredList/StructuredList.Skeleton.js +3 -5
  614. package/lib/components/StructuredList/StructuredList.js +7 -9
  615. package/lib/components/Switch/IconSwitch.js +5 -7
  616. package/lib/components/Switch/Switch.js +4 -6
  617. package/lib/components/TabContent/TabContent.js +3 -5
  618. package/lib/components/Tabs/Tabs.Skeleton.js +3 -5
  619. package/lib/components/Tabs/Tabs.js +19 -21
  620. package/lib/components/Tabs/usePressable.js +2 -4
  621. package/lib/components/Tag/DismissibleTag.js +13 -16
  622. package/lib/components/Tag/OperationalTag.js +10 -13
  623. package/lib/components/Tag/SelectableTag.js +11 -13
  624. package/lib/components/Tag/Tag.Skeleton.js +3 -5
  625. package/lib/components/Tag/Tag.js +12 -15
  626. package/lib/components/Tag/isEllipsisActive.js +1 -3
  627. package/lib/components/Text/Text.js +3 -5
  628. package/lib/components/Text/TextDirection.js +3 -5
  629. package/lib/components/Text/TextDirectionContext.js +3 -6
  630. package/lib/components/Text/createTextComponent.js +3 -5
  631. package/lib/components/TextArea/TextArea.Skeleton.js +3 -5
  632. package/lib/components/TextArea/TextArea.js +13 -15
  633. package/lib/components/TextArea/index.js +3 -5
  634. package/lib/components/TextInput/ControlledPasswordInput.js +7 -9
  635. package/lib/components/TextInput/PasswordInput.js +8 -10
  636. package/lib/components/TextInput/TextInput.Skeleton.js +3 -5
  637. package/lib/components/TextInput/TextInput.js +12 -14
  638. package/lib/components/TextInput/index.js +3 -5
  639. package/lib/components/TextInput/util.js +1 -3
  640. package/lib/components/Theme/index.js +5 -7
  641. package/lib/components/Tile/Tile.js +16 -21
  642. package/lib/components/TileGroup/TileGroup.js +6 -8
  643. package/lib/components/TimePicker/TimePicker.js +6 -8
  644. package/lib/components/TimePickerSelect/TimePickerSelect.js +3 -5
  645. package/lib/components/Toggle/Toggle.Skeleton.js +3 -5
  646. package/lib/components/Toggle/Toggle.js +5 -7
  647. package/lib/components/ToggleSmall/ToggleSmall.Skeleton.js +3 -5
  648. package/lib/components/Toggletip/index.js +13 -13
  649. package/lib/components/Tooltip/DefinitionTooltip.js +8 -10
  650. package/lib/components/Tooltip/Tooltip.js +12 -16
  651. package/lib/components/TreeView/TreeContext.js +2 -4
  652. package/lib/components/TreeView/TreeNode.js +13 -14
  653. package/lib/components/TreeView/TreeView.js +12 -13
  654. package/lib/components/UIShell/Content.js +3 -5
  655. package/lib/components/UIShell/Header.js +3 -5
  656. package/lib/components/UIShell/HeaderContainer.js +5 -7
  657. package/lib/components/UIShell/HeaderGlobalAction.js +5 -7
  658. package/lib/components/UIShell/HeaderGlobalBar.js +2 -5
  659. package/lib/components/UIShell/HeaderMenu.js +9 -11
  660. package/lib/components/UIShell/HeaderMenuButton.js +4 -6
  661. package/lib/components/UIShell/HeaderMenuItem.js +5 -7
  662. package/lib/components/UIShell/HeaderName.js +4 -6
  663. package/lib/components/UIShell/HeaderNavigation.js +4 -6
  664. package/lib/components/UIShell/HeaderPanel.js +10 -12
  665. package/lib/components/UIShell/HeaderSideNavItems.js +3 -5
  666. package/lib/components/UIShell/Link.js +3 -5
  667. package/lib/components/UIShell/SideNav.js +11 -13
  668. package/lib/components/UIShell/SideNavContext.js +2 -4
  669. package/lib/components/UIShell/SideNavDetails.js +3 -5
  670. package/lib/components/UIShell/SideNavDivider.js +3 -5
  671. package/lib/components/UIShell/SideNavFooter.js +3 -5
  672. package/lib/components/UIShell/SideNavHeader.js +4 -6
  673. package/lib/components/UIShell/SideNavIcon.js +3 -5
  674. package/lib/components/UIShell/SideNavItem.js +3 -5
  675. package/lib/components/UIShell/SideNavItems.js +4 -6
  676. package/lib/components/UIShell/SideNavLink.js +8 -10
  677. package/lib/components/UIShell/SideNavLinkText.js +3 -5
  678. package/lib/components/UIShell/SideNavMenu.js +7 -9
  679. package/lib/components/UIShell/SideNavMenuItem.js +5 -7
  680. package/lib/components/UIShell/SideNavSwitcher.js +4 -6
  681. package/lib/components/UIShell/SkipToContent.js +3 -5
  682. package/lib/components/UIShell/Switcher.js +8 -10
  683. package/lib/components/UIShell/SwitcherDivider.js +3 -5
  684. package/lib/components/UIShell/SwitcherItem.js +7 -9
  685. package/lib/components/UnorderedList/UnorderedList.js +3 -5
  686. package/lib/feature-flags.js +3 -6
  687. package/lib/index.js +253 -256
  688. package/lib/internal/FloatingMenu.js +10 -14
  689. package/lib/internal/OptimizedResize.js +1 -3
  690. package/lib/internal/Selection.js +3 -5
  691. package/lib/internal/clamp.js +1 -3
  692. package/lib/internal/defaultItemToString.js +1 -3
  693. package/lib/internal/deprecateFieldOnObject.js +3 -5
  694. package/lib/internal/environment.js +1 -3
  695. package/lib/internal/getAnnouncement.js +1 -3
  696. package/lib/internal/keyboard/keys.js +1 -3
  697. package/lib/internal/keyboard/match.js +1 -3
  698. package/lib/internal/keyboard/navigation.js +3 -5
  699. package/lib/internal/noopFn.js +1 -3
  700. package/lib/internal/useAttachedMenu.js +2 -4
  701. package/lib/internal/useControllableState.js +3 -5
  702. package/lib/internal/useDelayedState.js +2 -4
  703. package/lib/internal/useEvent.js +2 -4
  704. package/lib/internal/useId.js +5 -7
  705. package/lib/internal/useIdPrefix.js +2 -4
  706. package/lib/internal/useIsomorphicEffect.js +2 -4
  707. package/lib/internal/useMatchMedia.js +2 -4
  708. package/lib/internal/useMergedRefs.js +2 -4
  709. package/lib/internal/useNoInteractiveChildren.js +2 -4
  710. package/lib/internal/useNormalizedInputProps.js +4 -6
  711. package/lib/internal/useOutsideClick.js +6 -7
  712. package/lib/internal/useOverflowItems.js +4 -6
  713. package/lib/internal/usePrefix.js +2 -4
  714. package/lib/internal/usePresence.js +4 -6
  715. package/lib/internal/usePresenceContext.js +3 -5
  716. package/lib/internal/usePreviousValue.js +2 -4
  717. package/lib/internal/useResizeObserver.js +3 -5
  718. package/lib/internal/useSavedCallback.js +2 -4
  719. package/lib/internal/utils.js +2 -4
  720. package/lib/internal/warning.js +2 -4
  721. package/lib/internal/wrapFocus.js +3 -5
  722. package/lib/prop-types/AriaPropTypes.js +3 -5
  723. package/lib/prop-types/deprecate.js +2 -4
  724. package/lib/prop-types/deprecateComponent.js +2 -4
  725. package/lib/prop-types/deprecateValuesWithin.js +2 -4
  726. package/lib/prop-types/isRequiredOneOf.js +1 -3
  727. package/lib/prop-types/requiredIfGivenPropIsTruthy.js +1 -3
  728. package/lib/tools/events.js +1 -3
  729. package/lib/tools/mapPopoverAlign.js +1 -3
  730. package/lib/tools/mergeRefs.js +1 -3
  731. package/lib/tools/setupGetInstanceId.js +1 -3
  732. package/lib/tools/toggleClass.js +1 -3
  733. package/lib/tools/wrapComponent.js +3 -5
  734. package/package.json +9 -9
  735. package/telemetry.yml +1 -2
@@ -22,7 +22,6 @@ import PropTypes from "prop-types";
22
22
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
23
23
  import { CaretLeft, CaretRight, Checkmark } from "@carbon/icons-react";
24
24
  import { FloatingFocusManager, autoUpdate, offset, safePolygon, useFloating, useHover, useInteractions } from "@floating-ui/react";
25
-
26
25
  //#region src/components/Menu/MenuItem.tsx
27
26
  /**
28
27
  * Copyright IBM Corp. 2023, 2026
@@ -298,6 +297,5 @@ const MenuItemDivider = forwardRef(function MenuItemDivider({ className, ...rest
298
297
  });
299
298
  });
300
299
  MenuItemDivider.propTypes = { className: PropTypes.string };
301
-
302
300
  //#endregion
303
- export { MenuItem, MenuItemDivider, MenuItemGroup, MenuItemRadioGroup, MenuItemSelectable };
301
+ export { MenuItem, MenuItemDivider, MenuItemGroup, MenuItemRadioGroup, MenuItemSelectable };
@@ -14,12 +14,11 @@ import { mergeRefs } from "../../tools/mergeRefs.js";
14
14
  import { Menu as Menu$1 } from "../Menu/Menu.js";
15
15
  import { useAttachedMenu } from "../../internal/useAttachedMenu.js";
16
16
  import classNames from "classnames";
17
- import React, { forwardRef, useRef } from "react";
17
+ import { forwardRef, useRef } from "react";
18
18
  import PropTypes from "prop-types";
19
19
  import { jsx, jsxs } from "react/jsx-runtime";
20
20
  import { ChevronDown } from "@carbon/icons-react";
21
21
  import { autoUpdate, flip, size, useFloating } from "@floating-ui/react";
22
-
23
22
  //#region src/components/MenuButton/index.tsx
24
23
  /**
25
24
  * Copyright IBM Corp. 2023, 2026
@@ -140,6 +139,5 @@ MenuButton.propTypes = {
140
139
  menuBorder: PropTypes.bool,
141
140
  menuTarget: PropTypes.instanceOf(typeof Element !== "undefined" ? Element : Object)
142
141
  };
143
-
144
142
  //#endregion
145
- export { MenuButton };
143
+ export { MenuButton };
@@ -35,7 +35,6 @@ import React, { cloneElement, useContext, useEffect, useRef } from "react";
35
35
  import PropTypes from "prop-types";
36
36
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
37
37
  import { Close } from "@carbon/icons-react";
38
-
39
38
  //#region src/components/Modal/Modal.tsx
40
39
  /**
41
40
  * Copyright IBM Corp. 2016, 2025
@@ -169,12 +168,11 @@ const ModalDialog = React.forwardRef(function ModalDialog({ "aria-label": ariaLa
169
168
  const modalLabelStr = asStringOrUndefined(modalLabel);
170
169
  const modalHeadingStr = asStringOrUndefined(modalHeading);
171
170
  const ariaLabel = modalLabelStr || ariaLabelProp || modalAriaLabel || modalHeadingStr;
172
- const getAriaLabelledBy = modalLabel ? modalLabelId : modalHeadingId;
173
171
  const hasScrollingContentProps = hasScrollingContent || isScrollable ? {
174
172
  tabIndex: 0,
175
173
  role: "region",
176
174
  "aria-label": ariaLabel,
177
- "aria-labelledby": getAriaLabelledBy
175
+ "aria-labelledby": modalLabel ? modalLabelId : modalHeadingId
178
176
  } : {};
179
177
  const alertDialogProps = {};
180
178
  if (alert && passiveModal) alertDialogProps.role = "alert";
@@ -507,6 +505,5 @@ Modal.propTypes = {
507
505
  size: PropTypes.oneOf(ModalSizes),
508
506
  slug: deprecate(PropTypes.node, "The `slug` prop has been deprecated and will be removed in the next major version. Use the decorator prop instead.")
509
507
  };
510
-
511
508
  //#endregion
512
- export { Modal as default };
509
+ export { Modal as default };
@@ -6,9 +6,8 @@
6
6
  */
7
7
 
8
8
  import { usePresenceContext } from "../../internal/usePresenceContext.js";
9
- import React, { createContext, useContext, useMemo } from "react";
9
+ import { createContext, useContext, useMemo } from "react";
10
10
  import { jsx } from "react/jsx-runtime";
11
-
12
11
  //#region src/components/Modal/ModalPresence.tsx
13
12
  /**
14
13
  * Copyright IBM Corp. 2016, 2025
@@ -47,6 +46,5 @@ const withModalPresence = (Component) => {
47
46
  WithModalPresence.displayName = `withModalPresence(${Component.displayName || Component.name || "Component"})`;
48
47
  return WithModalPresence;
49
48
  };
50
-
51
49
  //#endregion
52
- export { ModalPresence, ModalPresenceContext, useExclusiveModalPresenceContext, withModalPresence };
50
+ export { ModalPresence, ModalPresenceContext, useExclusiveModalPresenceContext, withModalPresence };
@@ -5,9 +5,8 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- import { ModalPresence, withModalPresence } from "./ModalPresence.js";
8
+ import "./ModalPresence.js";
9
9
  import Modal from "./Modal.js";
10
-
11
10
  //#region src/components/Modal/index.ts
12
11
  /**
13
12
  * Copyright IBM Corp. 2016, 2023
@@ -16,6 +15,5 @@ import Modal from "./Modal.js";
16
15
  * LICENSE file in the root directory of this source tree.
17
16
  */
18
17
  var Modal_default = Modal;
19
-
20
18
  //#endregion
21
- export { Modal_default as default };
19
+ export { Modal_default as default };
@@ -15,7 +15,6 @@ import Modal_default from "../Modal/index.js";
15
15
  import React from "react";
16
16
  import PropTypes from "prop-types";
17
17
  import { jsx, jsxs } from "react/jsx-runtime";
18
-
19
18
  //#region src/components/ModalWrapper/ModalWrapper.tsx
20
19
  /**
21
20
  * Copyright IBM Corp. 2016, 2026
@@ -110,6 +109,5 @@ ModalWrapper.propTypes = {
110
109
  triggerButtonKind: PropTypes.oneOf(ButtonKinds),
111
110
  withHeader: PropTypes.bool
112
111
  };
113
-
114
112
  //#endregion
115
- export { ModalWrapper as default };
113
+ export { ModalWrapper as default };
@@ -13,6 +13,7 @@ import { useId } from "../../internal/useId.js";
13
13
  import { deprecate } from "../../prop-types/deprecate.js";
14
14
  import { defaultItemToString } from "../../internal/defaultItemToString.js";
15
15
  import { isComponentElement } from "../../internal/utils.js";
16
+ import { useNormalizedInputProps } from "../../internal/useNormalizedInputProps.js";
16
17
  import { AILabel } from "../AILabel/index.js";
17
18
  import Checkbox_default from "../Checkbox/index.js";
18
19
  import { ListBoxSizePropType, ListBoxTypePropType } from "../ListBox/ListBoxPropTypes.js";
@@ -21,20 +22,18 @@ import ListBox from "../ListBox/index.js";
21
22
  import ListBoxSelection from "../ListBox/next/ListBoxSelection.js";
22
23
  import ListBoxTrigger from "../ListBox/next/ListBoxTrigger.js";
23
24
  import { mergeRefs } from "../../tools/mergeRefs.js";
24
- import { useNormalizedInputProps } from "../../internal/useNormalizedInputProps.js";
25
25
  import { defaultFilterItems } from "./filter.js";
26
26
  import { sortingPropTypes } from "./MultiSelectPropTypes.js";
27
27
  import { defaultCompareItems, defaultSortItems } from "./tools/sorting.js";
28
28
  import { useSelection } from "../../internal/Selection.js";
29
29
  import classNames from "classnames";
30
- import React, { cloneElement, forwardRef, useCallback, useContext, useEffect, useMemo, useRef, useState } from "react";
30
+ import { cloneElement, forwardRef, useCallback, useContext, useEffect, useMemo, useRef, useState } from "react";
31
31
  import PropTypes from "prop-types";
32
32
  import { jsx, jsxs } from "react/jsx-runtime";
33
33
  import { WarningAltFilled, WarningFilled } from "@carbon/icons-react";
34
34
  import { autoUpdate, flip, hide, size, useFloating } from "@floating-ui/react";
35
35
  import Downshift, { useCombobox, useMultipleSelection } from "downshift";
36
36
  import isEqual from "react-fast-compare";
37
-
38
37
  //#region src/components/MultiSelect/FilterableMultiSelect.tsx
39
38
  /**
40
39
  * Copyright IBM Corp. 2016, 2026
@@ -611,6 +610,5 @@ FilterableMultiSelect.propTypes = {
611
610
  warnText: PropTypes.node,
612
611
  inputProps: PropTypes.object
613
612
  };
614
-
615
613
  //#endregion
616
- export { FilterableMultiSelect };
614
+ export { FilterableMultiSelect };
@@ -15,13 +15,13 @@ import { deprecate } from "../../prop-types/deprecate.js";
15
15
  import { defaultItemToString } from "../../internal/defaultItemToString.js";
16
16
  import { isComponentElement } from "../../internal/utils.js";
17
17
  import { useFeatureFlag } from "../FeatureFlags/index.js";
18
+ import { useNormalizedInputProps } from "../../internal/useNormalizedInputProps.js";
18
19
  import { AILabel } from "../AILabel/index.js";
19
20
  import Checkbox_default from "../Checkbox/index.js";
20
21
  import { ListBoxSizePropType, ListBoxTypePropType } from "../ListBox/ListBoxPropTypes.js";
21
22
  import { FormContext } from "../FluidForm/FormContext.js";
22
23
  import ListBox from "../ListBox/index.js";
23
24
  import { mergeRefs } from "../../tools/mergeRefs.js";
24
- import { useNormalizedInputProps } from "../../internal/useNormalizedInputProps.js";
25
25
  import { sortingPropTypes } from "./MultiSelectPropTypes.js";
26
26
  import { defaultCompareItems, defaultSortItems } from "./tools/sorting.js";
27
27
  import { useSelection } from "../../internal/Selection.js";
@@ -33,7 +33,6 @@ import { WarningAltFilled, WarningFilled } from "@carbon/icons-react";
33
33
  import { autoUpdate, flip, hide, size, useFloating } from "@floating-ui/react";
34
34
  import { useSelect } from "downshift";
35
35
  import isEqual from "react-fast-compare";
36
-
37
36
  //#region src/components/MultiSelect/MultiSelect.tsx
38
37
  /**
39
38
  * Copyright IBM Corp. 2016, 2026
@@ -460,6 +459,5 @@ MultiSelect.propTypes = {
460
459
  warn: PropTypes.bool,
461
460
  warnText: PropTypes.node
462
461
  };
463
-
464
462
  //#endregion
465
- export { MultiSelect };
463
+ export { MultiSelect };
@@ -6,7 +6,6 @@
6
6
  */
7
7
 
8
8
  import PropTypes from "prop-types";
9
-
10
9
  //#region src/components/MultiSelect/MultiSelectPropTypes.ts
11
10
  /**
12
11
  * Copyright IBM Corp. 2016, 2026
@@ -18,6 +17,5 @@ const sortingPropTypes = {
18
17
  compareItems: PropTypes.func,
19
18
  sortItems: PropTypes.func
20
19
  };
21
-
22
20
  //#endregion
23
- export { sortingPropTypes };
21
+ export { sortingPropTypes };
@@ -17,6 +17,5 @@ const defaultFilterItems = (items, { itemToString, inputValue }) => {
17
17
  const normalizedInput = inputValue.toLowerCase();
18
18
  return items.filter((item) => itemToString(item).toLowerCase().includes(normalizedInput));
19
19
  };
20
-
21
20
  //#endregion
22
- export { defaultFilterItems };
21
+ export { defaultFilterItems };
@@ -26,6 +26,5 @@ const defaultSortItems = (items, { selectedItems, itemToString, compareItems, lo
26
26
  return compareItems(itemToString(itemA), itemToString(itemB), { locale });
27
27
  });
28
28
  };
29
-
30
29
  //#endregion
31
- export { defaultCompareItems, defaultSortItems };
30
+ export { defaultCompareItems, defaultSortItems };
@@ -20,11 +20,10 @@ import { useInteractiveChildrenNeedDescription, useNoInteractiveChildren } from
20
20
  import Button_default from "../Button/index.js";
21
21
  import { wrapFocus, wrapFocusWithoutSentinels } from "../../internal/wrapFocus.js";
22
22
  import classNames from "classnames";
23
- import React, { useEffect, useRef, useState } from "react";
23
+ import { useEffect, useRef, useState } from "react";
24
24
  import PropTypes from "prop-types";
25
25
  import { jsx, jsxs } from "react/jsx-runtime";
26
26
  import { CheckmarkFilled, Close, ErrorFilled, InformationFilled, InformationSquareFilled, WarningAltFilled, WarningFilled } from "@carbon/icons-react";
27
-
28
27
  //#region src/components/Notification/Notification.tsx
29
28
  /**
30
29
  * Copyright IBM Corp. 2016, 2026
@@ -543,6 +542,5 @@ const StaticNotification = (props) => {
543
542
  didWarnAboutDeprecation = true;
544
543
  return /* @__PURE__ */ jsx(Callout, { ...props });
545
544
  };
546
-
547
545
  //#endregion
548
- export { ActionableNotification, Callout, InlineNotification, NotificationActionButton, NotificationButton, StaticNotification, ToastNotification };
546
+ export { ActionableNotification, Callout, InlineNotification, NotificationActionButton, NotificationButton, StaticNotification, ToastNotification };
@@ -6,7 +6,6 @@
6
6
  */
7
7
 
8
8
  import PropTypes from "prop-types";
9
-
10
9
  //#region src/components/NumberInput/NumberFormatPropTypes.ts
11
10
  /**
12
11
  * Copyright IBM Corp. 2025
@@ -74,6 +73,5 @@ const NumberFormatOptionsPropType = PropTypes.shape({
74
73
  ]),
75
74
  trailingZeroDisplay: PropTypes.oneOf(["auto", "stripIfInteger"])
76
75
  });
77
-
78
76
  //#endregion
79
- export { NumberFormatOptionsPropType };
77
+ export { NumberFormatOptionsPropType };
@@ -7,10 +7,9 @@
7
7
 
8
8
  import { usePrefix } from "../../internal/usePrefix.js";
9
9
  import classNames from "classnames";
10
- import React from "react";
10
+ import "react";
11
11
  import PropTypes from "prop-types";
12
12
  import { jsx, jsxs } from "react/jsx-runtime";
13
-
14
13
  //#region src/components/NumberInput/NumberInput.Skeleton.tsx
15
14
  /**
16
15
  * Copyright IBM Corp. 2016, 2023
@@ -35,6 +34,5 @@ NumberInputSkeleton.propTypes = {
35
34
  "lg"
36
35
  ])
37
36
  };
38
-
39
37
  //#endregion
40
- export { NumberInputSkeleton as default };
38
+ export { NumberInputSkeleton as default };
@@ -12,9 +12,9 @@ import { match } from "../../internal/keyboard/match.js";
12
12
  import { deprecate } from "../../prop-types/deprecate.js";
13
13
  import { isComponentElement } from "../../internal/utils.js";
14
14
  import { useMergedRefs } from "../../internal/useMergedRefs.js";
15
+ import { useNormalizedInputProps } from "../../internal/useNormalizedInputProps.js";
15
16
  import { AILabel } from "../AILabel/index.js";
16
17
  import { FormContext } from "../FluidForm/FormContext.js";
17
- import { useNormalizedInputProps } from "../../internal/useNormalizedInputProps.js";
18
18
  import { useControllableState } from "../../internal/useControllableState.js";
19
19
  import { clamp } from "../../internal/clamp.js";
20
20
  import { NumberFormatOptionsPropType } from "./NumberFormatPropTypes.js";
@@ -24,7 +24,6 @@ import PropTypes from "prop-types";
24
24
  import { jsx, jsxs } from "react/jsx-runtime";
25
25
  import { Add, Subtract } from "@carbon/icons-react";
26
26
  import { NumberFormatter, NumberParser } from "@carbon/utilities";
27
-
28
27
  //#region src/components/NumberInput/NumberInput.tsx
29
28
  /**
30
29
  * Copyright IBM Corp. 2016, 2026
@@ -588,6 +587,5 @@ function getInputValidity({ allowEmpty, invalid, value, max, min, validate, loca
588
587
  function disableWheel(e) {
589
588
  e.preventDefault();
590
589
  }
591
-
592
590
  //#endregion
593
- export { NumberInput, validateNumberSeparators };
591
+ export { NumberInput, validateNumberSeparators };
@@ -7,10 +7,9 @@
7
7
 
8
8
  import { usePrefix } from "../../internal/usePrefix.js";
9
9
  import classNames from "classnames";
10
- import React from "react";
10
+ import "react";
11
11
  import PropTypes from "prop-types";
12
12
  import { jsx } from "react/jsx-runtime";
13
-
14
13
  //#region src/components/OrderedList/OrderedList.tsx
15
14
  /**
16
15
  * Copyright IBM Corp. 2016, 2023
@@ -37,6 +36,5 @@ OrderedList.propTypes = {
37
36
  native: PropTypes.bool,
38
37
  nested: PropTypes.bool
39
38
  };
40
-
41
39
  //#endregion
42
- export { OrderedList as default };
40
+ export { OrderedList as default };
@@ -15,7 +15,7 @@ import { deprecateValuesWithin } from "../../prop-types/deprecateValuesWithin.js
15
15
  import { mapPopoverAlign } from "../../tools/mapPopoverAlign.js";
16
16
  import { IconButton } from "../IconButton/index.js";
17
17
  import { mergeRefs } from "../../tools/mergeRefs.js";
18
- import { DIRECTION_BOTTOM, DIRECTION_TOP, FloatingMenu } from "../../internal/FloatingMenu.js";
18
+ import { DIRECTION_BOTTOM, FloatingMenu } from "../../internal/FloatingMenu.js";
19
19
  import { useOutsideClick } from "../../internal/useOutsideClick.js";
20
20
  import classNames from "classnames";
21
21
  import React, { Children, cloneElement, forwardRef, isValidElement, useCallback, useContext, useEffect, useRef, useState } from "react";
@@ -23,7 +23,6 @@ import PropTypes from "prop-types";
23
23
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
24
24
  import { OverflowMenuVertical } from "@carbon/icons-react";
25
25
  import invariant from "invariant";
26
-
27
26
  //#region src/components/OverflowMenu/OverflowMenu.tsx
28
27
  /**
29
28
  * Copyright IBM Corp. 2016, 2026
@@ -43,7 +42,7 @@ const on = (target, ...args) => {
43
42
  * The CSS property names of the arrow keyed by the floating menu direction.
44
43
  */
45
44
  const triggerButtonPositionProps = {
46
- [DIRECTION_TOP]: "bottom",
45
+ ["top"]: "bottom",
47
46
  [DIRECTION_BOTTOM]: "top"
48
47
  };
49
48
  /**
@@ -51,7 +50,7 @@ const triggerButtonPositionProps = {
51
50
  * position.
52
51
  */
53
52
  const triggerButtonPositionFactors = {
54
- [DIRECTION_TOP]: -2,
53
+ ["top"]: -2,
55
54
  [DIRECTION_BOTTOM]: -1
56
55
  };
57
56
  /**
@@ -322,7 +321,7 @@ OverflowMenu.propTypes = {
322
321
  ariaLabel: deprecate(PropTypes.string, "This prop syntax has been deprecated. Please use the new `aria-label`."),
323
322
  children: PropTypes.node,
324
323
  className: PropTypes.string,
325
- direction: PropTypes.oneOf([DIRECTION_TOP, DIRECTION_BOTTOM]),
324
+ direction: PropTypes.oneOf(["top", DIRECTION_BOTTOM]),
326
325
  flipped: PropTypes.bool,
327
326
  focusTrap: PropTypes.bool,
328
327
  iconClass: PropTypes.string,
@@ -353,6 +352,5 @@ OverflowMenu.propTypes = {
353
352
  "lg"
354
353
  ])
355
354
  };
356
-
357
355
  //#endregion
358
- export { OverflowMenu as default };
356
+ export { OverflowMenu as default };
@@ -8,9 +8,8 @@
8
8
  import { useFeatureFlag } from "../FeatureFlags/index.js";
9
9
  import { OverflowMenu as OverflowMenu$1 } from "./next/index.js";
10
10
  import OverflowMenu$2 from "./OverflowMenu.js";
11
- import React, { forwardRef } from "react";
11
+ import { forwardRef } from "react";
12
12
  import { jsx } from "react/jsx-runtime";
13
-
14
13
  //#region src/components/OverflowMenu/index.tsx
15
14
  /**
16
15
  * Copyright IBM Corp. 2016, 2026
@@ -29,6 +28,5 @@ const OverflowMenu = forwardRef((props, ref) => {
29
28
  });
30
29
  OverflowMenu.displayName = "OverflowMenu";
31
30
  OverflowMenu.propTypes = OverflowMenu$2.propTypes;
32
-
33
31
  //#endregion
34
- export { OverflowMenu as default };
32
+ export { OverflowMenu as default };
@@ -20,7 +20,6 @@ import PropTypes from "prop-types";
20
20
  import { jsx, jsxs } from "react/jsx-runtime";
21
21
  import { OverflowMenuVertical } from "@carbon/icons-react";
22
22
  import { autoUpdate, flip, useFloating } from "@floating-ui/react";
23
-
24
23
  //#region src/components/OverflowMenu/next/index.tsx
25
24
  /**
26
25
  * Copyright IBM Corp. 2020, 2025
@@ -160,6 +159,5 @@ OverflowMenu.propTypes = {
160
159
  ], mapPopoverAlign),
161
160
  menuTarget: PropTypes.instanceOf(typeof Element !== "undefined" ? Element : Object)
162
161
  };
163
-
164
162
  //#endregion
165
- export { OverflowMenu };
163
+ export { OverflowMenu };
@@ -12,10 +12,9 @@ import { match } from "../../internal/keyboard/match.js";
12
12
  import { useId } from "../../internal/useId.js";
13
13
  import { warning } from "../../internal/warning.js";
14
14
  import classNames from "classnames";
15
- import React, { forwardRef } from "react";
15
+ import { forwardRef } from "react";
16
16
  import PropTypes from "prop-types";
17
17
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
18
-
19
18
  //#region src/components/OverflowMenuItem/OverflowMenuItem.tsx
20
19
  /**
21
20
  * Copyright IBM Corp. 2016, 2026
@@ -106,6 +105,5 @@ OverflowMenuItem.propTypes = {
106
105
  title: PropTypes.string,
107
106
  wrapperClassName: PropTypes.string
108
107
  };
109
-
110
108
  //#endregion
111
- export { OverflowMenuItem as default };
109
+ export { OverflowMenuItem as default };
@@ -6,7 +6,6 @@
6
6
  */
7
7
 
8
8
  import OverflowMenuItem from "./OverflowMenuItem.js";
9
-
10
9
  //#region src/components/OverflowMenuItem/index.ts
11
10
  /**
12
11
  * Copyright IBM Corp. 2016, 2023
@@ -15,6 +14,5 @@ import OverflowMenuItem from "./OverflowMenuItem.js";
15
14
  * LICENSE file in the root directory of this source tree.
16
15
  */
17
16
  var OverflowMenuItem_default = OverflowMenuItem;
18
-
19
17
  //#endregion
20
- export { OverflowMenuItem_default as default };
18
+ export { OverflowMenuItem_default as default };
@@ -8,9 +8,8 @@
8
8
  import { warning } from "../../internal/warning.js";
9
9
  import { FeatureFlags } from "../FeatureFlags/index.js";
10
10
  import OverflowMenu from "../OverflowMenu/index.js";
11
- import React from "react";
11
+ import "react";
12
12
  import { jsx } from "react/jsx-runtime";
13
-
14
13
  //#region src/components/OverflowMenuV2/index.js
15
14
  let didWarnAboutDeprecation = false;
16
15
  function OverflowMenuV2(props) {
@@ -21,6 +20,5 @@ function OverflowMenuV2(props) {
21
20
  children: /* @__PURE__ */ jsx(OverflowMenu, { ...props })
22
21
  });
23
22
  }
24
-
25
23
  //#endregion
26
- export { OverflowMenuV2 };
24
+ export { OverflowMenuV2 };
@@ -26,7 +26,6 @@ import PropTypes from "prop-types";
26
26
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
27
27
  import { createOverflowHandler } from "@carbon/utilities";
28
28
  import { breakpoints } from "@carbon/layout";
29
-
30
29
  //#region src/components/PageHeader/PageHeader.tsx
31
30
  /**
32
31
  * Copyright IBM Corp. 2025, 2026
@@ -324,6 +323,5 @@ const HeroImage = PageHeaderHeroImage;
324
323
  HeroImage.displayName = "PageHeaderHeroImage";
325
324
  const TabBar = PageHeaderTabBar;
326
325
  TabBar.displayName = "PageHeaderTabBar";
327
-
328
326
  //#endregion
329
- export { BreadcrumbBar, Content, ContentPageActions, ContentText, HeroImage, PageHeader, PageHeaderBreadcrumbBar, PageHeaderContent, PageHeaderContentPageActions, PageHeaderContentText, PageHeaderHeroImage, PageHeaderTabBar, Root, TabBar };
327
+ export { BreadcrumbBar, Content, ContentPageActions, ContentText, HeroImage, PageHeader, PageHeaderBreadcrumbBar, PageHeaderContent, PageHeaderContentPageActions, PageHeaderContentText, PageHeaderHeroImage, PageHeaderTabBar, Root, TabBar };
@@ -7,7 +7,6 @@
7
7
 
8
8
  import { __exportAll } from "../../_virtual/_rolldown/runtime.js";
9
9
  import { BreadcrumbBar, Content, ContentPageActions, ContentText, HeroImage, PageHeader, PageHeaderBreadcrumbBar, PageHeaderContent, PageHeaderContentPageActions, PageHeaderContentText, PageHeaderHeroImage, PageHeaderTabBar, Root, TabBar } from "./PageHeader.js";
10
-
11
10
  //#region src/components/PageHeader/index.tsx
12
11
  var PageHeader_exports = /* @__PURE__ */ __exportAll({
13
12
  BreadcrumbBar: () => BreadcrumbBar,
@@ -25,6 +24,5 @@ var PageHeader_exports = /* @__PURE__ */ __exportAll({
25
24
  Root: () => Root,
26
25
  TabBar: () => TabBar
27
26
  });
28
-
29
27
  //#endregion
30
- export { PageHeader_exports };
28
+ export { PageHeader_exports };
@@ -8,10 +8,9 @@
8
8
  import { usePrefix } from "../../internal/usePrefix.js";
9
9
  import SkeletonText_default from "../SkeletonText/index.js";
10
10
  import classNames from "classnames";
11
- import React from "react";
11
+ import "react";
12
12
  import PropTypes from "prop-types";
13
13
  import { jsx, jsxs } from "react/jsx-runtime";
14
-
15
14
  //#region src/components/Pagination/Pagination.Skeleton.tsx
16
15
  /**
17
16
  * Copyright IBM Corp. 2016, 2023
@@ -38,6 +37,5 @@ function PaginationSkeleton({ className, ...rest }) {
38
37
  });
39
38
  }
40
39
  PaginationSkeleton.propTypes = { className: PropTypes.string };
41
-
42
40
  //#endregion
43
- export { PaginationSkeleton as default };
41
+ export { PaginationSkeleton as default };
@@ -17,7 +17,6 @@ import PropTypes from "prop-types";
17
17
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
18
18
  import { CaretLeft, CaretRight } from "@carbon/icons-react";
19
19
  import isEqual from "react-fast-compare";
20
-
21
20
  //#region src/components/Pagination/Pagination.tsx
22
21
  /**
23
22
  * Copyright IBM Corp. 2016, 2026
@@ -294,6 +293,5 @@ Pagination.propTypes = {
294
293
  ]),
295
294
  totalItems: PropTypes.number
296
295
  };
297
-
298
296
  //#endregion
299
- export { Pagination as default };
297
+ export { Pagination as default };
@@ -10,10 +10,9 @@ import { useId } from "../../../internal/useId.js";
10
10
  import Select_default from "../../Select/index.js";
11
11
  import SelectItem_default from "../../SelectItem/index.js";
12
12
  import classNames from "classnames";
13
- import React from "react";
13
+ import "react";
14
14
  import PropTypes from "prop-types";
15
15
  import { jsx } from "react/jsx-runtime";
16
-
17
16
  //#region src/components/Pagination/experimental/PageSelector.js
18
17
  function PageSelector({ className = null, currentPage, id = 1, labelText = "Current page number", totalPages, ...other }) {
19
18
  const namespace = `${usePrefix()}--unstable-pagination__page-selector`;
@@ -44,6 +43,5 @@ PageSelector.propTypes = {
44
43
  labelText: PropTypes.string,
45
44
  totalPages: PropTypes.number.isRequired
46
45
  };
47
-
48
46
  //#endregion
49
- export { PageSelector as default };
47
+ export { PageSelector as default };
@@ -10,11 +10,10 @@ import { IconButton } from "../../IconButton/index.js";
10
10
  import Select_default from "../../Select/index.js";
11
11
  import SelectItem_default from "../../SelectItem/index.js";
12
12
  import classNames from "classnames";
13
- import React, { useState } from "react";
13
+ import { useState } from "react";
14
14
  import PropTypes from "prop-types";
15
15
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
16
16
  import { CaretLeft, CaretRight } from "@carbon/icons-react";
17
-
18
17
  //#region src/components/Pagination/experimental/Pagination.js
19
18
  /**
20
19
  * Copyright IBM Corp. 2016, 2023
@@ -150,6 +149,5 @@ Pagination.propTypes = {
150
149
  pagesUnknown: PropTypes.bool,
151
150
  totalItems: PropTypes.number
152
151
  };
153
-
154
152
  //#endregion
155
- export { Pagination as default };
153
+ export { Pagination as default };
@@ -15,7 +15,6 @@ import PropTypes from "prop-types";
15
15
  import { jsx, jsxs } from "react/jsx-runtime";
16
16
  import { CaretLeft, CaretRight, OverflowMenuHorizontal } from "@carbon/icons-react";
17
17
  import { breakpoints } from "@carbon/layout";
18
-
19
18
  //#region src/components/PaginationNav/PaginationNav.tsx
20
19
  /**
21
20
  * Copyright IBM Corp. 2020, 2025
@@ -344,6 +343,5 @@ PaginationNav.propTypes = {
344
343
  totalItems: PropTypes.number,
345
344
  translateWithId: PropTypes.func
346
345
  };
347
-
348
346
  //#endregion
349
- export { PaginationNav as default };
347
+ export { PaginationNav as default };
@@ -18,7 +18,6 @@ import React, { forwardRef, useEffect, useMemo, useRef } from "react";
18
18
  import PropTypes from "prop-types";
19
19
  import { jsx, jsxs } from "react/jsx-runtime";
20
20
  import { arrow, autoUpdate, flip, hide, offset, useFloating } from "@floating-ui/react";
21
-
22
21
  //#region src/components/Popover/index.tsx
23
22
  /**
24
23
  * Copyright IBM Corp. 2016, 2026
@@ -302,8 +301,7 @@ Popover.propTypes = {
302
301
  onRequestClose: PropTypes.func,
303
302
  open: PropTypes.bool.isRequired
304
303
  };
305
- const frFn = forwardRef;
306
- const PopoverContent = frFn((props, forwardRef) => {
304
+ const PopoverContent = forwardRef((props, forwardRef) => {
307
305
  const { className, children, ...rest } = props;
308
306
  const prefix = usePrefix();
309
307
  const { setFloating, caretRef, autoAlign } = React.useContext(PopoverContext);
@@ -333,6 +331,5 @@ PopoverContent.propTypes = {
333
331
  children: PropTypes.node,
334
332
  className: PropTypes.string
335
333
  };
336
-
337
334
  //#endregion
338
- export { Popover, PopoverContent };
335
+ export { Popover, PopoverContent };
@@ -6,14 +6,12 @@
6
6
  */
7
7
 
8
8
  import Button from "../Button/Button.js";
9
- import React from "react";
9
+ import "react";
10
10
  import { jsx } from "react/jsx-runtime";
11
-
12
11
  //#region src/components/PrimaryButton/PrimaryButton.tsx
13
12
  const PrimaryButton = (props) => /* @__PURE__ */ jsx(Button, {
14
13
  kind: "primary",
15
14
  ...props
16
15
  });
17
-
18
16
  //#endregion
19
- export { PrimaryButton as default };
17
+ export { PrimaryButton as default };