@carbon/react 1.21.0 → 1.22.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 (382) hide show
  1. package/es/components/Accordion/AccordionItem.js +2 -2
  2. package/es/components/Breadcrumb/Breadcrumb.js +2 -1
  3. package/es/components/Breadcrumb/BreadcrumbItem.js +2 -1
  4. package/es/components/Button/Button.Skeleton.js +2 -1
  5. package/es/components/Button/Button.js +2 -1
  6. package/es/components/Button/index.js +0 -1
  7. package/es/components/ButtonSet/ButtonSet.js +2 -1
  8. package/es/components/CodeSnippet/CodeSnippet.js +0 -1
  9. package/es/components/ComboBox/ComboBox.js +7 -7
  10. package/es/components/ComposedModal/ComposedModal.js +3 -2
  11. package/es/components/ComposedModal/ModalFooter.js +0 -1
  12. package/es/components/ContentSwitcher/ContentSwitcher.js +3 -3
  13. package/es/components/DangerButton/DangerButton.js +3 -2
  14. package/es/components/DataTable/Table.js +2 -1
  15. package/es/components/DataTable/TableActionList.js +2 -1
  16. package/es/components/DataTable/TableBatchAction.js +2 -2
  17. package/es/components/DataTable/TableBatchActions.js +2 -2
  18. package/es/components/DataTable/TableBody.js +2 -1
  19. package/es/components/DataTable/TableCell.js +2 -1
  20. package/es/components/DataTable/TableContainer.js +2 -1
  21. package/es/components/DataTable/TableExpandHeader.js +2 -1
  22. package/es/components/DataTable/TableExpandRow.js +2 -1
  23. package/es/components/DataTable/TableExpandedRow.js +2 -1
  24. package/es/components/DataTable/TableHead.js +2 -1
  25. package/es/components/DataTable/TableHeader.js +2 -1
  26. package/es/components/DataTable/TableRow.js +2 -1
  27. package/es/components/DataTable/TableSelectAll.js +2 -1
  28. package/es/components/DataTable/TableSelectRow.js +2 -1
  29. package/es/components/DataTable/TableToolbar.js +3 -2
  30. package/es/components/DataTable/TableToolbarAction.js +2 -1
  31. package/es/components/DataTable/TableToolbarContent.js +2 -1
  32. package/es/components/DataTable/TableToolbarMenu.js +2 -1
  33. package/es/components/DataTable/TableToolbarSearch.js +2 -2
  34. package/es/components/DataTable/state/getDerivedStateFromProps.js +3 -1
  35. package/es/components/DataTable/tools/denormalize.js +3 -1
  36. package/es/components/DataTable/tools/instanceId.js +3 -1
  37. package/es/components/DataTable/tools/normalize.js +3 -1
  38. package/es/components/DataTableSkeleton/DataTableSkeleton.js +2 -1
  39. package/es/components/DatePicker/DatePicker.Skeleton.js +2 -1
  40. package/es/components/DatePicker/DatePicker.js +4 -3
  41. package/es/components/DatePicker/index.js +0 -1
  42. package/es/components/DatePicker/plugins/fixEventsPlugin.js +32 -1
  43. package/es/components/DatePickerInput/DatePickerInput.js +2 -1
  44. package/es/components/Dropdown/Dropdown.Skeleton.js +2 -1
  45. package/es/components/Dropdown/Dropdown.js +27 -14
  46. package/es/components/Dropdown/index.js +0 -1
  47. package/es/components/ExpandableSearch/ExpandableSearch.js +0 -1
  48. package/es/components/FileUploader/FileUploader.js +2 -2
  49. package/es/components/FileUploader/FileUploaderButton.js +2 -2
  50. package/es/components/FileUploader/FileUploaderDropContainer.js +2 -2
  51. package/es/components/FileUploader/FileUploaderItem.js +2 -2
  52. package/es/components/FluidComboBox/FluidComboBox.Skeleton.js +2 -1
  53. package/es/components/FluidComboBox/FluidComboBox.js +2 -1
  54. package/es/components/FluidDatePicker/FluidDatePicker.js +2 -2
  55. package/es/components/FluidDatePickerInput/FluidDatePickerInput.js +2 -1
  56. package/es/components/FluidDropdown/FluidDropdown.Skeleton.js +2 -1
  57. package/es/components/FluidDropdown/FluidDropdown.js +2 -2
  58. package/es/components/FluidForm/FluidForm.js +2 -2
  59. package/es/components/FluidMultiSelect/FluidMultiSelect.Skeleton.js +2 -1
  60. package/es/components/FluidMultiSelect/FluidMultiSelect.js +2 -1
  61. package/es/components/FluidSelect/FluidSelect.Skeleton.js +2 -1
  62. package/es/components/FluidSelect/FluidSelect.js +2 -2
  63. package/es/components/FluidSelect/index.js +0 -1
  64. package/es/components/FluidTextArea/FluidTextArea.js +0 -1
  65. package/es/components/FluidTextInput/FluidTextInput.js +0 -1
  66. package/es/components/FluidTextInput/index.js +0 -1
  67. package/es/components/FluidTimePicker/FluidTimePicker.Skeleton.js +2 -3
  68. package/es/components/FluidTimePicker/FluidTimePicker.js +2 -2
  69. package/es/components/FluidTimePickerSelect/FluidTimePickerSelect.js +2 -2
  70. package/es/components/Form/Form.js +2 -1
  71. package/es/components/FormGroup/FormGroup.js +2 -1
  72. package/es/components/IconButton/index.js +0 -2
  73. package/es/components/InlineCheckbox/InlineCheckbox.js +4 -1
  74. package/es/components/Link/Link.js +2 -1
  75. package/es/components/ListBox/ListBox.js +4 -15
  76. package/es/components/ListBox/ListBoxField.js +1 -1
  77. package/es/components/ListBox/ListBoxMenu.js +2 -2
  78. package/es/components/ListBox/ListBoxMenuIcon.js +8 -5
  79. package/es/components/ListBox/ListBoxMenuItem.js +2 -3
  80. package/es/components/ListBox/ListBoxPropTypes.js +4 -2
  81. package/es/components/ListBox/ListBoxSelection.js +7 -20
  82. package/es/components/ListBox/index.js +11 -8
  83. package/es/components/ListBox/next/ListBoxSelection.js +3 -3
  84. package/es/components/ListBox/next/ListBoxTrigger.js +2 -1
  85. package/es/components/ListItem/ListItem.js +2 -1
  86. package/es/components/Menu/Menu.js +4 -3
  87. package/es/components/Menu/MenuOption.js +2 -2
  88. package/es/components/Modal/Modal.js +3 -3
  89. package/es/components/ModalWrapper/ModalWrapper.js +0 -1
  90. package/es/components/MultiSelect/FilterableMultiSelect.js +8 -8
  91. package/es/components/MultiSelect/MultiSelect.js +6 -6
  92. package/es/components/Notification/Notification.js +4 -5
  93. package/es/components/OrderedList/OrderedList.js +2 -1
  94. package/es/components/OverflowMenu/OverflowMenu.js +14 -3
  95. package/es/components/OverflowMenuItem/OverflowMenuItem.js +4 -3
  96. package/es/components/OverflowMenuV2/index.js +2 -2
  97. package/es/components/Pagination/Pagination.js +2 -2
  98. package/es/components/Pagination/experimental/PageSelector.js +0 -1
  99. package/es/components/Pagination/experimental/Pagination.js +0 -2
  100. package/es/components/PaginationNav/PaginationNav.js +2 -2
  101. package/es/components/PrimaryButton/PrimaryButton.js +3 -2
  102. package/es/components/ProgressIndicator/ProgressIndicator.js +2 -2
  103. package/es/components/RadioButton/RadioButton.js +2 -1
  104. package/es/components/RadioButtonGroup/RadioButtonGroup.js +2 -1
  105. package/es/components/RadioTile/RadioTile.js +2 -2
  106. package/es/components/Search/Search.Skeleton.js +2 -1
  107. package/es/components/Search/Search.js +6 -5
  108. package/es/components/Search/index.js +0 -1
  109. package/es/components/SecondaryButton/SecondaryButton.js +3 -2
  110. package/es/components/Select/Select.Skeleton.js +2 -1
  111. package/es/components/Select/Select.js +2 -1
  112. package/es/components/Select/index.js +0 -1
  113. package/es/components/SelectItem/SelectItem.js +2 -1
  114. package/es/components/SelectItemGroup/SelectItemGroup.js +2 -1
  115. package/es/components/SkeletonIcon/SkeletonIcon.js +2 -1
  116. package/es/components/SkeletonPlaceholder/SkeletonPlaceholder.js +2 -1
  117. package/es/components/SkeletonText/SkeletonText.js +2 -1
  118. package/es/components/Slider/Slider.Skeleton.js +2 -1
  119. package/es/components/Slider/Slider.js +1 -1
  120. package/es/components/StructuredList/StructuredList.Skeleton.js +2 -1
  121. package/es/components/Switch/Switch.js +2 -1
  122. package/es/components/Tab/Tab.js +1 -1
  123. package/es/components/TabContent/TabContent.js +2 -1
  124. package/es/components/Tabs/Tabs.js +2 -3
  125. package/es/components/Tag/Tag.js +2 -1
  126. package/es/components/TextArea/TextArea.Skeleton.js +2 -1
  127. package/es/components/TextArea/TextArea.js +6 -3
  128. package/es/components/TextArea/index.js +0 -1
  129. package/es/components/TextInput/ControlledPasswordInput.js +2 -1
  130. package/es/components/TextInput/PasswordInput.js +2 -1
  131. package/es/components/TextInput/TextInput.Skeleton.js +2 -1
  132. package/es/components/TextInput/TextInput.js +2 -1
  133. package/es/components/TextInput/index.js +0 -1
  134. package/es/components/Tile/Tile.js +3 -7
  135. package/es/components/TileGroup/TileGroup.js +1 -1
  136. package/es/components/TimePicker/TimePicker.js +2 -1
  137. package/es/components/TimePickerSelect/TimePickerSelect.js +2 -1
  138. package/es/components/TimePickerSelect/index.js +2 -2
  139. package/es/components/Toggletip/index.js +2 -2
  140. package/es/components/Tooltip/DefinitionTooltip.js +2 -2
  141. package/es/components/Tooltip/Tooltip.js +2 -2
  142. package/es/components/TreeView/TreeNode.js +2 -2
  143. package/es/components/TreeView/TreeView.js +2 -2
  144. package/es/components/UIShell/Content.js +2 -1
  145. package/es/components/UIShell/Header.js +3 -2
  146. package/es/components/UIShell/HeaderContainer.js +2 -1
  147. package/es/components/UIShell/HeaderGlobalAction.js +3 -3
  148. package/es/components/UIShell/HeaderMenu.js +5 -4
  149. package/es/components/UIShell/HeaderMenuButton.js +1 -1
  150. package/es/components/UIShell/HeaderMenuItem.js +3 -2
  151. package/es/components/UIShell/HeaderName.js +1 -1
  152. package/es/components/UIShell/HeaderNavigation.js +1 -1
  153. package/es/components/UIShell/HeaderPanel.js +3 -2
  154. package/es/components/UIShell/HeaderSideNavItems.js +2 -1
  155. package/es/components/UIShell/Link.js +2 -1
  156. package/es/components/UIShell/SideNav.js +3 -2
  157. package/es/components/UIShell/SideNavDetails.js +2 -1
  158. package/es/components/UIShell/SideNavHeader.js +2 -1
  159. package/es/components/UIShell/SideNavItems.js +2 -1
  160. package/es/components/UIShell/SideNavLink.js +3 -2
  161. package/es/components/UIShell/SideNavMenu.js +5 -3
  162. package/es/components/UIShell/SideNavMenuItem.js +2 -1
  163. package/es/components/UIShell/SideNavSwitcher.js +2 -1
  164. package/es/components/UIShell/Switcher.js +3 -2
  165. package/es/components/UIShell/SwitcherDivider.js +2 -1
  166. package/es/components/UIShell/SwitcherItem.js +3 -2
  167. package/es/components/UnorderedList/UnorderedList.js +2 -1
  168. package/es/es/components/DataTable/TableSelectAll.d.ts +83 -0
  169. package/es/es/components/Dropdown/Dropdown.d.ts +134 -0
  170. package/es/es/components/Dropdown/index.d.ts +11 -0
  171. package/es/es/components/FluidForm/FluidForm.d.ts +11 -0
  172. package/es/es/components/FluidForm/FormContext.d.ts +11 -0
  173. package/es/es/components/FluidForm/index.d.ts +10 -0
  174. package/es/es/components/ListBox/ListBox.d.ts +60 -0
  175. package/es/es/components/ListBox/ListBoxField.d.ts +18 -0
  176. package/es/es/components/ListBox/ListBoxMenu.d.ts +22 -0
  177. package/es/es/components/ListBox/ListBoxMenuIcon.d.ts +31 -0
  178. package/es/es/components/ListBox/ListBoxMenuItem.d.ts +24 -0
  179. package/es/es/components/ListBox/ListBoxPropTypes.d.ts +14 -0
  180. package/es/es/components/ListBox/ListBoxSelection.d.ts +51 -0
  181. package/es/es/components/ListBox/index.d.ts +23 -0
  182. package/es/es/components/NumberInput/NumberInput.Skeleton.d.ts +32 -0
  183. package/es/es/components/Slider/Slider.Skeleton.d.ts +33 -0
  184. package/es/index.js +134 -140
  185. package/es/internal/ClickListener.js +1 -1
  186. package/es/internal/FloatingMenu.js +4 -2
  187. package/es/internal/OptimizedResize.js +3 -1
  188. package/es/internal/Selection.js +1 -1
  189. package/es/internal/useIsomorphicEffect.js +2 -1
  190. package/es/node_modules/flatpickr/dist/plugins/rangePlugin.js +1 -1
  191. package/es/tools/mergeRefs.js +3 -1
  192. package/es/tools/wrapComponent.js +3 -1
  193. package/lib/components/Accordion/AccordionItem.js +2 -2
  194. package/lib/components/Breadcrumb/Breadcrumb.js +2 -1
  195. package/lib/components/Breadcrumb/BreadcrumbItem.js +2 -1
  196. package/lib/components/Button/Button.Skeleton.js +2 -1
  197. package/lib/components/Button/Button.js +2 -1
  198. package/lib/components/Button/index.js +0 -2
  199. package/lib/components/ButtonSet/ButtonSet.js +2 -1
  200. package/lib/components/CodeSnippet/CodeSnippet.js +0 -1
  201. package/lib/components/ComboBox/ComboBox.js +10 -10
  202. package/lib/components/ComposedModal/ComposedModal.js +2 -1
  203. package/lib/components/ComposedModal/ModalFooter.js +0 -1
  204. package/lib/components/ContentSwitcher/ContentSwitcher.js +2 -2
  205. package/lib/components/DangerButton/DangerButton.js +3 -2
  206. package/lib/components/DataTable/DataTable.js +5 -5
  207. package/lib/components/DataTable/Table.js +2 -1
  208. package/lib/components/DataTable/TableActionList.js +2 -1
  209. package/lib/components/DataTable/TableBatchAction.js +2 -2
  210. package/lib/components/DataTable/TableBatchActions.js +2 -2
  211. package/lib/components/DataTable/TableBody.js +2 -1
  212. package/lib/components/DataTable/TableCell.js +2 -1
  213. package/lib/components/DataTable/TableContainer.js +2 -1
  214. package/lib/components/DataTable/TableExpandHeader.js +2 -1
  215. package/lib/components/DataTable/TableExpandRow.js +2 -1
  216. package/lib/components/DataTable/TableExpandedRow.js +2 -1
  217. package/lib/components/DataTable/TableHead.js +2 -1
  218. package/lib/components/DataTable/TableHeader.js +2 -1
  219. package/lib/components/DataTable/TableRow.js +2 -1
  220. package/lib/components/DataTable/TableSelectAll.js +2 -1
  221. package/lib/components/DataTable/TableSelectRow.js +2 -1
  222. package/lib/components/DataTable/TableToolbar.js +2 -1
  223. package/lib/components/DataTable/TableToolbarAction.js +2 -1
  224. package/lib/components/DataTable/TableToolbarContent.js +2 -1
  225. package/lib/components/DataTable/TableToolbarMenu.js +2 -1
  226. package/lib/components/DataTable/TableToolbarSearch.js +2 -2
  227. package/lib/components/DataTable/state/getDerivedStateFromProps.js +3 -1
  228. package/lib/components/DataTable/tools/denormalize.js +3 -1
  229. package/lib/components/DataTable/tools/instanceId.js +3 -1
  230. package/lib/components/DataTable/tools/normalize.js +3 -1
  231. package/lib/components/DataTableSkeleton/DataTableSkeleton.js +2 -1
  232. package/lib/components/DatePicker/DatePicker.Skeleton.js +2 -1
  233. package/lib/components/DatePicker/DatePicker.js +4 -3
  234. package/lib/components/DatePicker/index.js +0 -2
  235. package/lib/components/DatePicker/plugins/fixEventsPlugin.js +32 -1
  236. package/lib/components/DatePickerInput/DatePickerInput.js +2 -1
  237. package/lib/components/Dropdown/Dropdown.Skeleton.js +2 -1
  238. package/lib/components/Dropdown/Dropdown.js +30 -17
  239. package/lib/components/Dropdown/index.js +0 -2
  240. package/lib/components/ExpandableSearch/ExpandableSearch.js +0 -1
  241. package/lib/components/FileUploader/FileUploader.js +2 -2
  242. package/lib/components/FileUploader/FileUploaderButton.js +2 -2
  243. package/lib/components/FileUploader/FileUploaderDropContainer.js +2 -2
  244. package/lib/components/FileUploader/FileUploaderItem.js +2 -2
  245. package/lib/components/FluidComboBox/FluidComboBox.Skeleton.js +2 -1
  246. package/lib/components/FluidComboBox/FluidComboBox.js +2 -1
  247. package/lib/components/FluidDatePicker/FluidDatePicker.js +2 -2
  248. package/lib/components/FluidDatePickerInput/FluidDatePickerInput.js +2 -1
  249. package/lib/components/FluidDropdown/FluidDropdown.Skeleton.js +2 -1
  250. package/lib/components/FluidDropdown/FluidDropdown.js +2 -2
  251. package/lib/components/FluidForm/FluidForm.js +2 -2
  252. package/lib/components/FluidMultiSelect/FluidMultiSelect.Skeleton.js +2 -1
  253. package/lib/components/FluidMultiSelect/FluidMultiSelect.js +2 -1
  254. package/lib/components/FluidSelect/FluidSelect.Skeleton.js +2 -1
  255. package/lib/components/FluidSelect/FluidSelect.js +2 -2
  256. package/lib/components/FluidSelect/index.js +0 -2
  257. package/lib/components/FluidTextArea/FluidTextArea.js +0 -1
  258. package/lib/components/FluidTextInput/FluidTextInput.js +0 -1
  259. package/lib/components/FluidTextInput/index.js +0 -2
  260. package/lib/components/FluidTimePicker/FluidTimePicker.Skeleton.js +2 -3
  261. package/lib/components/FluidTimePicker/FluidTimePicker.js +2 -2
  262. package/lib/components/FluidTimePickerSelect/FluidTimePickerSelect.js +2 -2
  263. package/lib/components/Form/Form.js +2 -1
  264. package/lib/components/FormGroup/FormGroup.js +2 -1
  265. package/lib/components/IconButton/index.js +0 -2
  266. package/lib/components/InlineCheckbox/InlineCheckbox.js +4 -1
  267. package/lib/components/Link/Link.js +2 -1
  268. package/lib/components/ListBox/ListBox.js +3 -14
  269. package/lib/components/ListBox/ListBoxField.js +1 -1
  270. package/lib/components/ListBox/ListBoxMenu.js +2 -2
  271. package/lib/components/ListBox/ListBoxMenuIcon.js +8 -5
  272. package/lib/components/ListBox/ListBoxMenuItem.js +2 -3
  273. package/lib/components/ListBox/ListBoxPropTypes.js +4 -2
  274. package/lib/components/ListBox/ListBoxSelection.js +7 -20
  275. package/lib/components/ListBox/index.js +12 -8
  276. package/lib/components/ListBox/next/ListBoxSelection.js +2 -2
  277. package/lib/components/ListBox/next/ListBoxTrigger.js +2 -1
  278. package/lib/components/ListItem/ListItem.js +2 -1
  279. package/lib/components/Menu/Menu.js +4 -3
  280. package/lib/components/Menu/MenuOption.js +2 -2
  281. package/lib/components/Modal/Modal.js +2 -2
  282. package/lib/components/ModalWrapper/ModalWrapper.js +0 -1
  283. package/lib/components/MultiSelect/FilterableMultiSelect.js +10 -10
  284. package/lib/components/MultiSelect/MultiSelect.js +10 -10
  285. package/lib/components/Notification/Notification.js +2 -3
  286. package/lib/components/OrderedList/OrderedList.js +2 -1
  287. package/lib/components/OverflowMenu/OverflowMenu.js +14 -3
  288. package/lib/components/OverflowMenuItem/OverflowMenuItem.js +4 -3
  289. package/lib/components/OverflowMenuV2/index.js +2 -2
  290. package/lib/components/Pagination/Pagination.js +2 -2
  291. package/lib/components/Pagination/experimental/PageSelector.js +0 -1
  292. package/lib/components/Pagination/experimental/Pagination.js +0 -2
  293. package/lib/components/PaginationNav/PaginationNav.js +2 -2
  294. package/lib/components/PrimaryButton/PrimaryButton.js +3 -2
  295. package/lib/components/ProgressIndicator/ProgressIndicator.js +2 -2
  296. package/lib/components/RadioButton/RadioButton.js +2 -1
  297. package/lib/components/RadioButtonGroup/RadioButtonGroup.js +2 -1
  298. package/lib/components/RadioTile/RadioTile.js +2 -2
  299. package/lib/components/Search/Search.Skeleton.js +2 -1
  300. package/lib/components/Search/Search.js +4 -3
  301. package/lib/components/Search/index.js +0 -2
  302. package/lib/components/SecondaryButton/SecondaryButton.js +3 -2
  303. package/lib/components/Select/Select.Skeleton.js +2 -1
  304. package/lib/components/Select/Select.js +2 -1
  305. package/lib/components/Select/index.js +0 -2
  306. package/lib/components/SelectItem/SelectItem.js +2 -1
  307. package/lib/components/SelectItemGroup/SelectItemGroup.js +2 -1
  308. package/lib/components/SkeletonIcon/SkeletonIcon.js +2 -1
  309. package/lib/components/SkeletonPlaceholder/SkeletonPlaceholder.js +2 -1
  310. package/lib/components/SkeletonText/SkeletonText.js +2 -1
  311. package/lib/components/Slider/Slider.Skeleton.js +2 -1
  312. package/lib/components/StructuredList/StructuredList.Skeleton.js +2 -1
  313. package/lib/components/Switch/Switch.js +2 -1
  314. package/lib/components/TabContent/TabContent.js +2 -1
  315. package/lib/components/Tabs/Tabs.js +2 -3
  316. package/lib/components/Tag/Tag.js +2 -1
  317. package/lib/components/TextArea/TextArea.Skeleton.js +2 -1
  318. package/lib/components/TextArea/TextArea.js +6 -3
  319. package/lib/components/TextArea/index.js +0 -2
  320. package/lib/components/TextInput/ControlledPasswordInput.js +2 -1
  321. package/lib/components/TextInput/PasswordInput.js +2 -1
  322. package/lib/components/TextInput/TextInput.Skeleton.js +2 -1
  323. package/lib/components/TextInput/TextInput.js +2 -1
  324. package/lib/components/TextInput/index.js +0 -2
  325. package/lib/components/Tile/Tile.js +3 -7
  326. package/lib/components/TimePicker/TimePicker.js +2 -1
  327. package/lib/components/TimePickerSelect/TimePickerSelect.js +2 -1
  328. package/lib/components/Toggletip/index.js +2 -2
  329. package/lib/components/Tooltip/DefinitionTooltip.js +2 -2
  330. package/lib/components/Tooltip/Tooltip.js +2 -2
  331. package/lib/components/TreeView/TreeNode.js +2 -2
  332. package/lib/components/TreeView/TreeView.js +2 -2
  333. package/lib/components/UIShell/Content.js +2 -1
  334. package/lib/components/UIShell/Header.js +2 -1
  335. package/lib/components/UIShell/HeaderContainer.js +2 -1
  336. package/lib/components/UIShell/HeaderGlobalAction.js +2 -2
  337. package/lib/components/UIShell/HeaderMenu.js +4 -3
  338. package/lib/components/UIShell/HeaderMenuItem.js +2 -1
  339. package/lib/components/UIShell/HeaderPanel.js +2 -1
  340. package/lib/components/UIShell/HeaderSideNavItems.js +2 -1
  341. package/lib/components/UIShell/Link.js +2 -1
  342. package/lib/components/UIShell/SideNav.js +2 -1
  343. package/lib/components/UIShell/SideNavDetails.js +2 -1
  344. package/lib/components/UIShell/SideNavHeader.js +2 -1
  345. package/lib/components/UIShell/SideNavItems.js +2 -1
  346. package/lib/components/UIShell/SideNavLink.js +2 -1
  347. package/lib/components/UIShell/SideNavMenu.js +5 -3
  348. package/lib/components/UIShell/SideNavMenuItem.js +2 -1
  349. package/lib/components/UIShell/SideNavSwitcher.js +2 -1
  350. package/lib/components/UIShell/Switcher.js +2 -1
  351. package/lib/components/UIShell/SwitcherDivider.js +2 -1
  352. package/lib/components/UIShell/SwitcherItem.js +2 -1
  353. package/lib/components/UnorderedList/UnorderedList.js +2 -1
  354. package/lib/index.js +281 -287
  355. package/lib/internal/FloatingMenu.js +3 -1
  356. package/lib/internal/OptimizedResize.js +3 -1
  357. package/lib/internal/useIsomorphicEffect.js +2 -1
  358. package/lib/lib/components/DataTable/TableSelectAll.d.ts +83 -0
  359. package/lib/lib/components/Dropdown/Dropdown.d.ts +134 -0
  360. package/lib/lib/components/Dropdown/index.d.ts +11 -0
  361. package/lib/lib/components/FluidForm/FluidForm.d.ts +11 -0
  362. package/lib/lib/components/FluidForm/FormContext.d.ts +11 -0
  363. package/lib/lib/components/FluidForm/index.d.ts +10 -0
  364. package/lib/lib/components/ListBox/ListBox.d.ts +60 -0
  365. package/lib/lib/components/ListBox/ListBoxField.d.ts +18 -0
  366. package/lib/lib/components/ListBox/ListBoxMenu.d.ts +22 -0
  367. package/lib/lib/components/ListBox/ListBoxMenuIcon.d.ts +31 -0
  368. package/lib/lib/components/ListBox/ListBoxMenuItem.d.ts +24 -0
  369. package/lib/lib/components/ListBox/ListBoxPropTypes.d.ts +14 -0
  370. package/lib/lib/components/ListBox/ListBoxSelection.d.ts +51 -0
  371. package/lib/lib/components/ListBox/index.d.ts +23 -0
  372. package/lib/lib/components/NumberInput/NumberInput.Skeleton.d.ts +32 -0
  373. package/lib/lib/components/Slider/Slider.Skeleton.d.ts +33 -0
  374. package/lib/tools/mergeRefs.js +3 -1
  375. package/lib/tools/wrapComponent.js +3 -1
  376. package/package.json +5 -5
  377. package/es/components/ContainedList/index.js +0 -13
  378. package/es/components/DataTable/index.js +0 -70
  379. package/es/components/TreeView/index.js +0 -13
  380. package/lib/components/ContainedList/index.js +0 -19
  381. package/lib/components/DataTable/index.js +0 -76
  382. package/lib/components/TreeView/index.js +0 -19
@@ -10,18 +10,18 @@ import cx from 'classnames';
10
10
  import React__default from 'react';
11
11
  import PropTypes from 'prop-types';
12
12
  import { Close } from '@carbon/icons-react';
13
- import { Enter } from '../../internal/keyboard/keys.js';
14
- import { match } from '../../internal/keyboard/match.js';
15
13
  import { usePrefix } from '../../internal/usePrefix.js';
14
+ import { match } from '../../internal/keyboard/match.js';
15
+ import { Enter } from '../../internal/keyboard/keys.js';
16
16
 
17
17
  var _Close, _Close2, _defaultTranslations;
18
+
18
19
  /**
19
20
  * `ListBoxSelection` is used to provide controls for clearing a selection, in
20
21
  * addition to conditionally rendering a badge if the control has more than one
21
22
  * selection.
22
23
  */
23
-
24
- function ListBoxSelection(_ref) {
24
+ var ListBoxSelection = function ListBoxSelection(_ref) {
25
25
  var _cx;
26
26
 
27
27
  var clearSelection = _ref.clearSelection,
@@ -55,7 +55,7 @@ function ListBoxSelection(_ref) {
55
55
  } // When a user hits ENTER, we'll clear the selection
56
56
 
57
57
 
58
- if (match(event, Enter)) {
58
+ if (match(event.code, Enter)) {
59
59
  clearSelection(event);
60
60
 
61
61
  if (onClearSelection) {
@@ -70,14 +70,13 @@ function ListBoxSelection(_ref) {
70
70
  className: tagClasses
71
71
  }, /*#__PURE__*/React__default.createElement("span", {
72
72
  className: "".concat(prefix, "--tag__label"),
73
- title: selectionCount
73
+ title: "".concat(selectionCount)
74
74
  }, selectionCount), /*#__PURE__*/React__default.createElement("div", {
75
75
  role: "button",
76
76
  tabIndex: disabled ? -1 : 0,
77
77
  className: "".concat(prefix, "--tag__close-icon"),
78
78
  onClick: handleOnClick,
79
79
  onKeyDown: handleOnKeyDown,
80
- disabled: disabled,
81
80
  "aria-label": t('clear.all'),
82
81
  title: description,
83
82
  "aria-disabled": readOnly ? true : undefined
@@ -90,7 +89,7 @@ function ListBoxSelection(_ref) {
90
89
  "aria-label": description,
91
90
  title: description
92
91
  }, selectionCount, _Close2 || (_Close2 = /*#__PURE__*/React__default.createElement(Close, null)));
93
- }
92
+ };
94
93
 
95
94
  var translationIds = {
96
95
  'clear.all': 'clear.all',
@@ -115,18 +114,6 @@ ListBoxSelection.propTypes = {
115
114
  */
116
115
  onClearSelection: PropTypes.func,
117
116
 
118
- /**
119
- * Specify an optional `onClick` handler that is called when the underlying
120
- * clear selection element is clicked
121
- */
122
- onClick: PropTypes.func,
123
-
124
- /**
125
- * Specify an optional `onKeyDown` handler that is called when the underlying
126
- * clear selection element fires a keydown event
127
- */
128
- onKeyDown: PropTypes.func,
129
-
130
117
  /**
131
118
  * Whether or not the Dropdown is readonly
132
119
  */
@@ -5,17 +5,20 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- import './ListBoxPropTypes.js';
9
- import ListBox from './ListBox.js';
10
- export { default } from './ListBox.js';
8
+ export { ListBoxSize, ListBoxType } from './ListBoxPropTypes.js';
9
+ import ListBox$1 from './ListBox.js';
11
10
  import ListBoxField from './ListBoxField.js';
12
11
  import ListBoxMenu from './ListBoxMenu.js';
13
12
  import ListBoxMenuIcon from './ListBoxMenuIcon.js';
14
13
  import ListBoxMenuItem from './ListBoxMenuItem.js';
15
14
  import ListBoxSelection from './ListBoxSelection.js';
16
15
 
17
- ListBox.Field = ListBoxField;
18
- ListBox.Menu = ListBoxMenu;
19
- ListBox.MenuIcon = ListBoxMenuIcon;
20
- ListBox.MenuItem = ListBoxMenuItem;
21
- ListBox.Selection = ListBoxSelection;
16
+ var ListBox = Object.assign(ListBox$1, {
17
+ Field: ListBoxField,
18
+ Menu: ListBoxMenu,
19
+ MenuIcon: ListBoxMenuIcon,
20
+ MenuItem: ListBoxMenuItem,
21
+ Selection: ListBoxSelection
22
+ });
23
+
24
+ export { ListBox as default };
@@ -5,14 +5,14 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- import { defineProperty as _defineProperty, objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../../_virtual/_rollupPluginBabelHelpers.js';
8
+ import { objectWithoutProperties as _objectWithoutProperties, defineProperty as _defineProperty, extends as _extends } from '../../../_virtual/_rollupPluginBabelHelpers.js';
9
9
  import cx from 'classnames';
10
10
  import React__default from 'react';
11
11
  import PropTypes from 'prop-types';
12
12
  import { Close } from '@carbon/icons-react';
13
- import { Enter } from '../../../internal/keyboard/keys.js';
14
- import { match } from '../../../internal/keyboard/match.js';
15
13
  import { usePrefix } from '../../../internal/usePrefix.js';
14
+ import { match } from '../../../internal/keyboard/match.js';
15
+ import { Enter } from '../../../internal/keyboard/keys.js';
16
16
 
17
17
  var _Close, _Close2, _defaultTranslations;
18
18
 
@@ -63,5 +63,6 @@ ListBoxTrigger.defaultProps = {
63
63
  return defaultTranslations[id];
64
64
  }
65
65
  };
66
+ var ListBoxTrigger$1 = ListBoxTrigger;
66
67
 
67
- export { ListBoxTrigger as default, translationIds };
68
+ export { ListBoxTrigger$1 as default, translationIds };
@@ -36,5 +36,6 @@ ListItem.propTypes = {
36
36
  */
37
37
  className: PropTypes.string
38
38
  };
39
+ var ListItem$1 = ListItem;
39
40
 
40
- export { ListItem as default };
41
+ export { ListItem$1 as default };
@@ -10,14 +10,14 @@ import React__default, { useRef, useState, useEffect } from 'react';
10
10
  import ReactDOM from 'react-dom';
11
11
  import cx from 'classnames';
12
12
  import PropTypes from 'prop-types';
13
- import { Tab, Enter, Space, Escape, ArrowLeft, ArrowUp, ArrowDown } from '../../internal/keyboard/keys.js';
14
- import { match } from '../../internal/keyboard/match.js';
15
13
  import { usePrefix } from '../../internal/usePrefix.js';
16
14
  import { getParentMenu, getNextNode, getParentNode, getValidNodes, clickedElementHasSubnodes, getPosition, capWithinRange, resetFocus, focusNode } from './_utils.js';
17
15
  import MenuGroup from './MenuGroup.js';
18
16
  import MenuRadioGroup from './MenuRadioGroup.js';
19
17
  import MenuRadioGroupOptions from './MenuRadioGroupOptions.js';
20
18
  import MenuSelectableItem from './MenuSelectableItem.js';
19
+ import { match } from '../../internal/keyboard/match.js';
20
+ import { Tab, Enter, Space, Escape, ArrowLeft, ArrowUp, ArrowDown } from '../../internal/keyboard/keys.js';
21
21
 
22
22
  var _excluded = ["children", "className", "id", "level", "open", "size", "target", "x", "y", "onClose"];
23
23
  var margin = 16; // distance to keep to body edges, in px
@@ -323,5 +323,6 @@ Menu.propTypes = {
323
323
  */
324
324
  y: PropTypes.oneOfType([PropTypes.number, PropTypes.arrayOf(PropTypes.number)])
325
325
  };
326
+ var Menu$1 = Menu;
326
327
 
327
- export { Menu as default };
328
+ export { Menu$1 as default };
@@ -10,11 +10,11 @@ import React__default, { useState, useRef, useEffect } from 'react';
10
10
  import PropTypes from 'prop-types';
11
11
  import cx from 'classnames';
12
12
  import { CaretRight } from '@carbon/icons-react';
13
- import { ArrowRight, Enter, Space } from '../../internal/keyboard/keys.js';
14
- import { match } from '../../internal/keyboard/match.js';
15
13
  import { usePrefix } from '../../internal/usePrefix.js';
16
14
  import { getFirstSubNode, focusNode, clickedElementHasSubnodes, getParentMenu } from './_utils.js';
17
15
  import Menu from './Menu.js';
16
+ import { match } from '../../internal/keyboard/match.js';
17
+ import { ArrowRight, Enter, Space } from '../../internal/keyboard/keys.js';
18
18
 
19
19
  var _CaretRight;
20
20
 
@@ -5,14 +5,13 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- import { defineProperty as _defineProperty, objectWithoutProperties as _objectWithoutProperties, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
8
+ import { objectWithoutProperties as _objectWithoutProperties, defineProperty as _defineProperty, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
9
9
  import PropTypes from 'prop-types';
10
10
  import React__default, { useRef, useEffect } from 'react';
11
11
  import cx from 'classnames';
12
12
  import { Close } from '@carbon/icons-react';
13
13
  import toggleClass from '../../tools/toggleClass.js';
14
14
  import Button from '../Button/Button.js';
15
- import '../Button/Button.Skeleton.js';
16
15
  import ButtonSet from '../ButtonSet/ButtonSet.js';
17
16
  import requiredIfGivenPropIsTruthy from '../../prop-types/requiredIfGivenPropIsTruthy.js';
18
17
  import wrapFocus, { elementOrParentIsFloatingMenu } from '../../internal/wrapFocus.js';
@@ -271,5 +270,6 @@ Modal.defaultProps = {
271
270
  selectorPrimaryFocus: '[data-modal-primary-focus]',
272
271
  hasScrollingContent: false
273
272
  };
273
+ var Modal$1 = Modal;
274
274
 
275
- export { Modal as default };
275
+ export { Modal$1 as default };
@@ -10,7 +10,6 @@ import PropTypes from 'prop-types';
10
10
  import React__default from 'react';
11
11
  import Modal from '../Modal/Modal.js';
12
12
  import Button from '../Button/Button.js';
13
- import '../Button/Button.Skeleton.js';
14
13
  import { ButtonKinds } from '../../prop-types/types.js';
15
14
  import { warning } from '../../internal/warning.js';
16
15
 
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- import { objectSpread2 as _objectSpread2, slicedToArray as _slicedToArray, defineProperty as _defineProperty, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
8
+ import { slicedToArray as _slicedToArray, defineProperty as _defineProperty, extends as _extends, objectSpread2 as _objectSpread2 } from '../../_virtual/_rollupPluginBabelHelpers.js';
9
9
  import { WarningFilled, WarningAltFilled } from '@carbon/icons-react';
10
10
  import cx from 'classnames';
11
11
  import Downshift from 'downshift';
@@ -14,11 +14,7 @@ import PropTypes from 'prop-types';
14
14
  import React__default, { useContext, useState, useRef } from 'react';
15
15
  import { defaultFilterItems } from '../ComboBox/tools/filter.js';
16
16
  import { sortingPropTypes } from './MultiSelectPropTypes.js';
17
- import '../ListBox/index.js';
18
- import ListBoxSelection from '../ListBox/next/ListBoxSelection.js';
19
- import ListBoxTrigger from '../ListBox/next/ListBoxTrigger.js';
20
- import { Space, Tab } from '../../internal/keyboard/keys.js';
21
- import { match } from '../../internal/keyboard/match.js';
17
+ import ListBox from '../ListBox/index.js';
22
18
  import Selection from '../../internal/Selection.js';
23
19
  import { defaultItemToString } from './tools/itemToString.js';
24
20
  import mergeRefs from '../../tools/mergeRefs.js';
@@ -29,8 +25,11 @@ import { useFeatureFlag } from '../FeatureFlags/index.js';
29
25
  import { usePrefix } from '../../internal/usePrefix.js';
30
26
  import '../FluidForm/FluidForm.js';
31
27
  import { FormContext } from '../FluidForm/FormContext.js';
28
+ import { match } from '../../internal/keyboard/match.js';
29
+ import ListBoxSelection from '../ListBox/next/ListBoxSelection.js';
30
+ import ListBoxTrigger from '../ListBox/next/ListBoxTrigger.js';
32
31
  import { ListBoxSize } from '../ListBox/ListBoxPropTypes.js';
33
- import ListBox from '../ListBox/ListBox.js';
32
+ import { Space, Tab } from '../../internal/keyboard/keys.js';
34
33
 
35
34
  var FilterableMultiSelect = /*#__PURE__*/React__default.forwardRef(function FilterableMultiSelect(_ref, ref) {
36
35
  var _cx, _cx2, _cx3, _cx4;
@@ -564,5 +563,6 @@ FilterableMultiSelect.defaultProps = {
564
563
  open: false,
565
564
  selectionFeedback: 'top-after-reopen'
566
565
  };
566
+ var FilterableMultiSelect$1 = FilterableMultiSelect;
567
567
 
568
- export { FilterableMultiSelect as default };
568
+ export { FilterableMultiSelect$1 as default };
@@ -5,14 +5,14 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- import { objectSpread2 as _objectSpread2, slicedToArray as _slicedToArray, defineProperty as _defineProperty, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
8
+ import { slicedToArray as _slicedToArray, objectSpread2 as _objectSpread2, defineProperty as _defineProperty, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
9
9
  import { WarningFilled, WarningAltFilled } from '@carbon/icons-react';
10
10
  import cx from 'classnames';
11
11
  import Downshift, { useSelect } from 'downshift';
12
12
  import isEqual from 'lodash.isequal';
13
13
  import PropTypes from 'prop-types';
14
14
  import React__default, { useContext, useRef, useState } from 'react';
15
- import '../ListBox/index.js';
15
+ import ListBox from '../ListBox/index.js';
16
16
  import { sortingPropTypes } from './MultiSelectPropTypes.js';
17
17
  import { defaultItemToString } from './tools/itemToString.js';
18
18
  import { defaultCompareItems, defaultSortItems } from './tools/sorting.js';
@@ -20,14 +20,13 @@ import { useSelection } from '../../internal/Selection.js';
20
20
  import setupGetInstanceId from '../../tools/setupGetInstanceId.js';
21
21
  import mergeRefs from '../../tools/mergeRefs.js';
22
22
  import deprecate from '../../prop-types/deprecate.js';
23
- import { Delete } from '../../internal/keyboard/keys.js';
24
- import { match } from '../../internal/keyboard/match.js';
25
23
  import { useFeatureFlag } from '../FeatureFlags/index.js';
26
24
  import { usePrefix } from '../../internal/usePrefix.js';
27
25
  import '../FluidForm/FluidForm.js';
28
26
  import { FormContext } from '../FluidForm/FormContext.js';
27
+ import { match } from '../../internal/keyboard/match.js';
29
28
  import { ListBoxSize } from '../ListBox/ListBoxPropTypes.js';
30
- import ListBox from '../ListBox/ListBox.js';
29
+ import { Delete } from '../../internal/keyboard/keys.js';
31
30
 
32
31
  var noop = function noop() {};
33
32
 
@@ -502,5 +501,6 @@ MultiSelect.defaultProps = {
502
501
  clearSelectionDescription: 'Total items selected: ',
503
502
  selectedItems: null
504
503
  };
504
+ var MultiSelect$1 = MultiSelect;
505
505
 
506
- export { MultiSelect as default };
506
+ export { MultiSelect$1 as default };
@@ -5,19 +5,18 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- import { defineProperty as _defineProperty, objectWithoutProperties as _objectWithoutProperties, extends as _extends, slicedToArray as _slicedToArray } from '../../_virtual/_rollupPluginBabelHelpers.js';
8
+ import { objectWithoutProperties as _objectWithoutProperties, defineProperty as _defineProperty, extends as _extends, slicedToArray as _slicedToArray } from '../../_virtual/_rollupPluginBabelHelpers.js';
9
9
  import PropTypes from 'prop-types';
10
10
  import React__default, { useState, useRef, useEffect } from 'react';
11
11
  import cx from 'classnames';
12
- import { Close, ErrorFilled, CheckmarkFilled, WarningFilled, WarningAltFilled, InformationFilled, InformationSquareFilled } from '@carbon/icons-react';
12
+ import { Close, WarningAltFilled, InformationFilled, InformationSquareFilled, ErrorFilled, CheckmarkFilled, WarningFilled } from '@carbon/icons-react';
13
13
  import Button from '../Button/Button.js';
14
- import '../Button/Button.Skeleton.js';
15
14
  import useIsomorphicEffect from '../../internal/useIsomorphicEffect.js';
16
15
  import { useNoInteractiveChildren } from '../../internal/useNoInteractiveChildren.js';
17
- import { Escape } from '../../internal/keyboard/keys.js';
18
- import { matches } from '../../internal/keyboard/match.js';
19
16
  import { usePrefix } from '../../internal/usePrefix.js';
20
17
  import { useId } from '../../internal/useId.js';
18
+ import { matches } from '../../internal/keyboard/match.js';
19
+ import { Escape } from '../../internal/keyboard/keys.js';
21
20
 
22
21
  var _iconTypes;
23
22
 
@@ -61,5 +61,6 @@ OrderedList.defaultProps = {
61
61
  native: false,
62
62
  isExpressive: false
63
63
  };
64
+ var OrderedList$1 = OrderedList;
64
65
 
65
- export { OrderedList as default };
66
+ export { OrderedList$1 as default };
@@ -13,12 +13,12 @@ import cx from 'classnames';
13
13
  import ClickListener from '../../internal/ClickListener.js';
14
14
  import FloatingMenu, { DIRECTION_TOP, DIRECTION_BOTTOM } from '../../internal/FloatingMenu.js';
15
15
  import { OverflowMenuVertical } from '@carbon/icons-react';
16
- import { ArrowDown, ArrowUp, ArrowRight, ArrowLeft, Escape } from '../../internal/keyboard/keys.js';
17
- import { matches } from '../../internal/keyboard/match.js';
18
16
  import mergeRefs from '../../tools/mergeRefs.js';
19
17
  import { PrefixContext } from '../../internal/usePrefix.js';
20
18
  import * as FeatureFlags from '@carbon/feature-flags';
21
19
  import deprecate from '../../prop-types/deprecate.js';
20
+ import { matches } from '../../internal/keyboard/match.js';
21
+ import { ArrowDown, ArrowUp, ArrowRight, ArrowLeft, Escape } from '../../internal/keyboard/keys.js';
22
22
 
23
23
  var _excluded = ["id", "ariaLabel", "children", "iconDescription", "direction", "flipped", "focusTrap", "menuOffset", "menuOffsetFlip", "iconClass", "onClick", "onOpen", "selectorPrimaryFocus", "renderIcon", "innerRef", "menuOptionsClass", "light", "size"];
24
24
 
@@ -266,6 +266,17 @@ var OverflowMenu = /*#__PURE__*/function (_Component) {
266
266
  onClose();
267
267
  }
268
268
  }
269
+ }, {
270
+ key: "componentDidMount",
271
+ value: function componentDidMount() {
272
+ // ensure that if open=true on first render, we wait
273
+ // to render the floating menu until the trigger ref is not null
274
+ if (this._triggerRef.current) {
275
+ this.setState({
276
+ hasMountedTrigger: true
277
+ });
278
+ }
279
+ }
269
280
  }, {
270
281
  key: "componentWillUnmount",
271
282
  value: function componentWillUnmount() {
@@ -356,7 +367,7 @@ var OverflowMenu = /*#__PURE__*/function (_Component) {
356
367
  "aria-label": ariaLabel,
357
368
  id: id,
358
369
  ref: mergeRefs(this._triggerRef, ref)
359
- }), /*#__PURE__*/React__default.createElement(IconElement, iconProps), open && wrappedMenuBody));
370
+ }), /*#__PURE__*/React__default.createElement(IconElement, iconProps), open && this.state.hasMountedTrigger && wrappedMenuBody));
360
371
  }
361
372
  }], [{
362
373
  key: "getDerivedStateFromProps",
@@ -9,10 +9,10 @@ import { objectWithoutProperties as _objectWithoutProperties, defineProperty as
9
9
  import cx from 'classnames';
10
10
  import PropTypes from 'prop-types';
11
11
  import React__default from 'react';
12
- import { ArrowDown, ArrowUp } from '../../internal/keyboard/keys.js';
13
- import { match } from '../../internal/keyboard/match.js';
14
12
  import { warning } from '../../internal/warning.js';
15
13
  import { usePrefix } from '../../internal/usePrefix.js';
14
+ import { match } from '../../internal/keyboard/match.js';
15
+ import { ArrowDown, ArrowUp } from '../../internal/keyboard/keys.js';
16
16
 
17
17
  var _excluded = ["className", "closeMenu", "disabled", "handleOverflowMenuItemFocus", "hasDivider", "href", "isDelete", "index", "itemText", "onClick", "onKeyDown", "requireTitle", "title", "wrapperClassName"];
18
18
  var OverflowMenuItem = /*#__PURE__*/React__default.forwardRef(function OverflowMenuItem(_ref, ref) {
@@ -170,5 +170,6 @@ OverflowMenuItem.propTypes = {
170
170
  */
171
171
  wrapperClassName: PropTypes.string
172
172
  };
173
+ var OverflowMenuItem$1 = OverflowMenuItem;
173
174
 
174
- export { OverflowMenuItem as default };
175
+ export { OverflowMenuItem$1 as default };
@@ -12,10 +12,10 @@ import cx from 'classnames';
12
12
  import { OverflowMenuVertical } from '@carbon/icons-react';
13
13
  import { useId } from '../../internal/useId.js';
14
14
  import '../Menu/index.js';
15
- import { ArrowUp, ArrowRight, ArrowDown, ArrowLeft } from '../../internal/keyboard/keys.js';
16
- import { matches } from '../../internal/keyboard/match.js';
17
15
  import { usePrefix } from '../../internal/usePrefix.js';
18
16
  import Menu from '../Menu/Menu.js';
17
+ import { matches } from '../../internal/keyboard/match.js';
18
+ import { ArrowUp, ArrowRight, ArrowDown, ArrowLeft } from '../../internal/keyboard/keys.js';
19
19
 
20
20
  var _excluded = ["children", "className", "renderIcon", "size"];
21
21
  var defaultSize = 'md';
@@ -11,7 +11,6 @@ import cx from 'classnames';
11
11
  import PropTypes from 'prop-types';
12
12
  import React__default, { useRef, useState } from 'react';
13
13
  import Select from '../Select/Select.js';
14
- import '../Select/Select.Skeleton.js';
15
14
  import SelectItem from '../SelectItem/SelectItem.js';
16
15
  import { equals } from '../../tools/array.js';
17
16
  import { useFallbackId } from '../../internal/useId.js';
@@ -419,5 +418,6 @@ Pagination.propTypes = {
419
418
  */
420
419
  totalItems: PropTypes.number
421
420
  };
421
+ var Pagination$1 = Pagination;
422
422
 
423
- export { Pagination as default };
423
+ export { Pagination$1 as default };
@@ -11,7 +11,6 @@ import PropTypes from 'prop-types';
11
11
  import cx from 'classnames';
12
12
  import setupGetInstanceId from '../../../tools/setupGetInstanceId.js';
13
13
  import Select from '../../Select/Select.js';
14
- import '../../Select/Select.Skeleton.js';
15
14
  import SelectItem from '../../SelectItem/SelectItem.js';
16
15
  import { usePrefix } from '../../../internal/usePrefix.js';
17
16
 
@@ -11,9 +11,7 @@ import PropTypes from 'prop-types';
11
11
  import cx from 'classnames';
12
12
  import { CaretLeft, CaretRight } from '@carbon/icons-react';
13
13
  import Button from '../../Button/Button.js';
14
- import '../../Button/Button.Skeleton.js';
15
14
  import Select from '../../Select/Select.js';
16
- import '../../Select/Select.Skeleton.js';
17
15
  import SelectItem from '../../SelectItem/SelectItem.js';
18
16
  import { IconButton } from '../../IconButton/index.js';
19
17
  import * as FeatureFlags from '@carbon/feature-flags';
@@ -11,7 +11,6 @@ import React__default, { useState, useEffect, useRef } from 'react';
11
11
  import cx from 'classnames';
12
12
  import { CaretRight, CaretLeft, OverflowMenuHorizontal } from '@carbon/icons-react';
13
13
  import Button from '../Button/Button.js';
14
- import '../Button/Button.Skeleton.js';
15
14
  import { IconButton } from '../IconButton/index.js';
16
15
  import * as FeatureFlags from '@carbon/feature-flags';
17
16
  import { usePrefix } from '../../internal/usePrefix.js';
@@ -432,5 +431,6 @@ PaginationNav.propTypes = {
432
431
  */
433
432
  translateWithId: PropTypes.func
434
433
  };
434
+ var PaginationNav$1 = PaginationNav;
435
435
 
436
- export { PaginationNav as default };
436
+ export { PaginationNav$1 as default };
@@ -8,7 +8,6 @@
8
8
  import { extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
9
9
  import React__default from 'react';
10
10
  import Button from '../Button/Button.js';
11
- import '../Button/Button.Skeleton.js';
12
11
 
13
12
  var PrimaryButton = function PrimaryButton(props) {
14
13
  return /*#__PURE__*/React__default.createElement(Button, _extends({
@@ -16,4 +15,6 @@ var PrimaryButton = function PrimaryButton(props) {
16
15
  }, props));
17
16
  };
18
17
 
19
- export { PrimaryButton as default };
18
+ var PrimaryButton$1 = PrimaryButton;
19
+
20
+ export { PrimaryButton$1 as default };
@@ -9,10 +9,10 @@ import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _
9
9
  import cx from 'classnames';
10
10
  import PropTypes from 'prop-types';
11
11
  import React__default, { useState } from 'react';
12
- import { Enter, Space } from '../../internal/keyboard/keys.js';
13
- import { matches } from '../../internal/keyboard/match.js';
14
12
  import { Warning, Incomplete, CheckmarkOutline, CircleDash } from '@carbon/icons-react';
15
13
  import { usePrefix } from '../../internal/usePrefix.js';
14
+ import { matches } from '../../internal/keyboard/match.js';
15
+ import { Enter, Space } from '../../internal/keyboard/keys.js';
16
16
 
17
17
  var _excluded = ["children", "className", "currentIndex", "onChange", "spaceEqually", "vertical"],
18
18
  _excluded2 = ["label", "description", "className", "current", "complete", "invalid", "secondaryLabel", "disabled", "onClick", "translateWithId"];
@@ -126,5 +126,6 @@ RadioButton.propTypes = {
126
126
  */
127
127
  value: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
128
128
  };
129
+ var RadioButton$1 = RadioButton;
129
130
 
130
- export { RadioButton as default };
131
+ export { RadioButton$1 as default };
@@ -151,5 +151,6 @@ RadioButtonGroup.propTypes = {
151
151
  */
152
152
  valueSelected: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
153
153
  };
154
+ var RadioButtonGroup$1 = RadioButtonGroup;
154
155
 
155
- export { RadioButtonGroup as default };
156
+ export { RadioButtonGroup$1 as default };
@@ -10,11 +10,11 @@ import { CheckmarkFilled } from '@carbon/icons-react';
10
10
  import cx from 'classnames';
11
11
  import PropTypes from 'prop-types';
12
12
  import React__default from 'react';
13
- import { Enter, Space } from '../../internal/keyboard/keys.js';
14
- import { matches } from '../../internal/keyboard/match.js';
15
13
  import { useFallbackId } from '../../internal/useId.js';
16
14
  import { usePrefix } from '../../internal/usePrefix.js';
17
15
  import deprecate from '../../prop-types/deprecate.js';
16
+ import { matches } from '../../internal/keyboard/match.js';
17
+ import { Enter, Space } from '../../internal/keyboard/keys.js';
18
18
 
19
19
  var _CheckmarkFilled;
20
20
 
@@ -45,5 +45,6 @@ SearchSkeleton.propTypes = {
45
45
  SearchSkeleton.defaultProps = {
46
46
  small: false
47
47
  };
48
+ var SearchSkeleton$1 = SearchSkeleton;
48
49
 
49
- export { SearchSkeleton, SearchSkeleton as default };
50
+ export { SearchSkeleton, SearchSkeleton$1 as default };
@@ -6,13 +6,11 @@
6
6
  */
7
7
 
8
8
  import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, defineProperty as _defineProperty, extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
9
- import { Close, Search as Search$1 } from '@carbon/icons-react';
9
+ import { Close, Search as Search$2 } from '@carbon/icons-react';
10
10
  import cx from 'classnames';
11
11
  import PropTypes from 'prop-types';
12
12
  import React__default, { useContext, useRef, useState } from 'react';
13
13
  import { focus } from '../../internal/focus/index.js';
14
- import { Escape } from '../../internal/keyboard/keys.js';
15
- import { match } from '../../internal/keyboard/match.js';
16
14
  import { useId } from '../../internal/useId.js';
17
15
  import { usePrefix } from '../../internal/usePrefix.js';
18
16
  import { composeEventHandlers } from '../../tools/events.js';
@@ -20,6 +18,8 @@ import { useMergedRefs } from '../../internal/useMergedRefs.js';
20
18
  import deprecate from '../../prop-types/deprecate.js';
21
19
  import '../FluidForm/FluidForm.js';
22
20
  import { FormContext } from '../FluidForm/FormContext.js';
21
+ import { match } from '../../internal/keyboard/match.js';
22
+ import { Escape } from '../../internal/keyboard/keys.js';
23
23
 
24
24
  var _Close;
25
25
 
@@ -256,7 +256,7 @@ function CustomSearchIcon(_ref2) {
256
256
  });
257
257
  }
258
258
 
259
- return /*#__PURE__*/React__default.createElement(Search$1, {
259
+ return /*#__PURE__*/React__default.createElement(Search$2, {
260
260
  className: "".concat(prefix, "--search-magnifier-icon")
261
261
  });
262
262
  }
@@ -267,5 +267,6 @@ CustomSearchIcon.propTypes = {
267
267
  */
268
268
  icon: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
269
269
  };
270
+ var Search$1 = Search;
270
271
 
271
- export { Search as default };
272
+ export { Search$1 as default };
@@ -7,4 +7,3 @@
7
7
 
8
8
  import Search from './Search.js';
9
9
  export { default as Search, default } from './Search.js';
10
- export { default as SearchSkeleton } from './Search.Skeleton.js';
@@ -8,7 +8,6 @@
8
8
  import { extends as _extends } from '../../_virtual/_rollupPluginBabelHelpers.js';
9
9
  import React__default from 'react';
10
10
  import Button from '../Button/Button.js';
11
- import '../Button/Button.Skeleton.js';
12
11
 
13
12
  var SecondaryButton = function SecondaryButton(props) {
14
13
  return /*#__PURE__*/React__default.createElement(Button, _extends({
@@ -16,4 +15,6 @@ var SecondaryButton = function SecondaryButton(props) {
16
15
  }, props));
17
16
  };
18
17
 
19
- export { SecondaryButton as default };
18
+ var SecondaryButton$1 = SecondaryButton;
19
+
20
+ export { SecondaryButton$1 as default };
@@ -41,5 +41,6 @@ SelectSkeleton.propTypes = {
41
41
  */
42
42
  hideLabel: PropTypes.bool
43
43
  };
44
+ var SelectSkeleton$1 = SelectSkeleton;
44
45
 
45
- export { SelectSkeleton, SelectSkeleton as default };
46
+ export { SelectSkeleton, SelectSkeleton$1 as default };
@@ -250,5 +250,6 @@ Select.defaultProps = {
250
250
  invalidText: '',
251
251
  helperText: ''
252
252
  };
253
+ var Select$1 = Select;
253
254
 
254
- export { Select as default };
255
+ export { Select$1 as default };
@@ -7,4 +7,3 @@
7
7
 
8
8
  import Select from './Select.js';
9
9
  export { default as Select, default } from './Select.js';
10
- export { default as SelectSkeleton } from './Select.Skeleton.js';