@carbon/react 1.21.0 → 1.22.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 (398) 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/{es/components → components}/Checkbox/Checkbox.Skeleton.d.ts +0 -0
  9. package/es/{es/components → components}/Checkbox/Checkbox.d.ts +0 -0
  10. package/es/{es/components → components}/Checkbox/index.d.ts +0 -0
  11. package/es/components/CodeSnippet/CodeSnippet.js +0 -1
  12. package/es/components/ComboBox/ComboBox.js +7 -7
  13. package/es/components/ComposedModal/ComposedModal.js +3 -2
  14. package/es/components/ComposedModal/ModalFooter.js +0 -1
  15. package/es/components/ContentSwitcher/ContentSwitcher.js +3 -3
  16. package/es/components/DangerButton/DangerButton.js +3 -2
  17. package/es/components/DataTable/Table.js +2 -1
  18. package/es/components/DataTable/TableActionList.js +2 -1
  19. package/es/components/DataTable/TableBatchAction.js +2 -2
  20. package/es/components/DataTable/TableBatchActions.js +2 -2
  21. package/es/components/DataTable/TableBody.js +2 -1
  22. package/es/components/DataTable/TableCell.js +2 -1
  23. package/es/components/DataTable/TableContainer.js +2 -1
  24. package/es/components/DataTable/TableExpandHeader.js +2 -1
  25. package/es/components/DataTable/TableExpandRow.js +2 -1
  26. package/es/components/DataTable/TableExpandedRow.js +2 -1
  27. package/es/components/DataTable/TableHead.js +2 -1
  28. package/es/components/DataTable/TableHeader.js +2 -1
  29. package/es/components/DataTable/TableRow.js +2 -1
  30. package/es/components/DataTable/TableSelectAll.d.ts +83 -0
  31. package/es/components/DataTable/TableSelectAll.js +2 -1
  32. package/es/components/DataTable/TableSelectRow.js +2 -1
  33. package/es/components/DataTable/TableToolbar.js +3 -2
  34. package/es/components/DataTable/TableToolbarAction.js +2 -1
  35. package/es/components/DataTable/TableToolbarContent.js +2 -1
  36. package/es/components/DataTable/TableToolbarMenu.js +2 -1
  37. package/es/components/DataTable/TableToolbarSearch.js +2 -2
  38. package/es/components/DataTable/state/getDerivedStateFromProps.js +3 -1
  39. package/es/components/DataTable/tools/denormalize.js +3 -1
  40. package/es/components/DataTable/tools/instanceId.js +3 -1
  41. package/es/components/DataTable/tools/normalize.js +3 -1
  42. package/es/components/DataTableSkeleton/DataTableSkeleton.js +2 -1
  43. package/es/components/DatePicker/DatePicker.Skeleton.js +2 -1
  44. package/es/components/DatePicker/DatePicker.js +4 -3
  45. package/es/components/DatePicker/index.js +0 -1
  46. package/es/components/DatePicker/plugins/fixEventsPlugin.js +32 -1
  47. package/es/components/DatePickerInput/DatePickerInput.js +2 -1
  48. package/es/components/Dropdown/Dropdown.Skeleton.js +2 -1
  49. package/es/components/Dropdown/Dropdown.d.ts +134 -0
  50. package/es/components/Dropdown/Dropdown.js +27 -14
  51. package/es/components/Dropdown/index.d.ts +11 -0
  52. package/es/components/Dropdown/index.js +0 -1
  53. package/es/components/ExpandableSearch/ExpandableSearch.js +0 -1
  54. package/es/components/FileUploader/FileUploader.js +2 -2
  55. package/es/components/FileUploader/FileUploaderButton.js +2 -2
  56. package/es/components/FileUploader/FileUploaderDropContainer.js +2 -2
  57. package/es/components/FileUploader/FileUploaderItem.js +2 -2
  58. package/es/components/FluidComboBox/FluidComboBox.Skeleton.js +2 -1
  59. package/es/components/FluidComboBox/FluidComboBox.js +2 -1
  60. package/es/components/FluidDatePicker/FluidDatePicker.js +2 -2
  61. package/es/components/FluidDatePickerInput/FluidDatePickerInput.js +2 -1
  62. package/es/components/FluidDropdown/FluidDropdown.Skeleton.js +2 -1
  63. package/es/components/FluidDropdown/FluidDropdown.js +2 -2
  64. package/es/components/FluidForm/FluidForm.d.ts +11 -0
  65. package/es/components/FluidForm/FluidForm.js +2 -2
  66. package/es/components/FluidForm/FormContext.d.ts +11 -0
  67. package/es/components/FluidForm/index.d.ts +10 -0
  68. package/es/components/FluidMultiSelect/FluidMultiSelect.Skeleton.js +2 -1
  69. package/es/components/FluidMultiSelect/FluidMultiSelect.js +2 -1
  70. package/es/components/FluidSelect/FluidSelect.Skeleton.js +2 -1
  71. package/es/components/FluidSelect/FluidSelect.js +2 -1
  72. package/es/components/FluidSelect/index.js +0 -1
  73. package/es/components/FluidTextArea/FluidTextArea.js +0 -1
  74. package/es/components/FluidTextInput/FluidTextInput.js +0 -1
  75. package/es/components/FluidTextInput/index.js +0 -1
  76. package/es/components/FluidTimePicker/FluidTimePicker.Skeleton.js +2 -3
  77. package/es/components/FluidTimePicker/FluidTimePicker.js +2 -2
  78. package/es/components/FluidTimePickerSelect/FluidTimePickerSelect.js +2 -2
  79. package/es/components/Form/Form.js +2 -1
  80. package/es/components/FormGroup/FormGroup.js +2 -1
  81. package/es/components/IconButton/index.js +1 -2
  82. package/es/components/InlineCheckbox/InlineCheckbox.js +4 -1
  83. package/es/components/Link/Link.js +2 -1
  84. package/es/components/ListBox/ListBox.d.ts +60 -0
  85. package/es/components/ListBox/ListBox.js +4 -15
  86. package/es/components/ListBox/ListBoxField.d.ts +18 -0
  87. package/es/components/ListBox/ListBoxField.js +1 -1
  88. package/es/components/ListBox/ListBoxMenu.d.ts +22 -0
  89. package/es/components/ListBox/ListBoxMenu.js +2 -2
  90. package/es/components/ListBox/ListBoxMenuIcon.d.ts +31 -0
  91. package/es/components/ListBox/ListBoxMenuIcon.js +8 -5
  92. package/es/components/ListBox/ListBoxMenuItem.d.ts +24 -0
  93. package/es/components/ListBox/ListBoxMenuItem.js +2 -3
  94. package/es/components/ListBox/ListBoxPropTypes.d.ts +14 -0
  95. package/es/components/ListBox/ListBoxPropTypes.js +4 -2
  96. package/es/components/ListBox/ListBoxSelection.d.ts +51 -0
  97. package/es/components/ListBox/ListBoxSelection.js +7 -20
  98. package/es/components/ListBox/index.d.ts +23 -0
  99. package/es/components/ListBox/index.js +11 -8
  100. package/es/components/ListBox/next/ListBoxSelection.js +3 -3
  101. package/es/components/ListBox/next/ListBoxTrigger.js +2 -1
  102. package/es/components/ListItem/ListItem.js +2 -1
  103. package/es/components/Menu/Menu.js +4 -3
  104. package/es/components/Menu/MenuOption.js +2 -2
  105. package/es/components/Modal/Modal.js +3 -3
  106. package/es/components/ModalWrapper/ModalWrapper.js +0 -1
  107. package/es/components/MultiSelect/FilterableMultiSelect.js +8 -8
  108. package/es/components/MultiSelect/MultiSelect.js +6 -6
  109. package/es/components/Notification/Notification.js +4 -5
  110. package/es/components/NumberInput/NumberInput.Skeleton.d.ts +32 -0
  111. package/es/components/OrderedList/OrderedList.js +2 -1
  112. package/es/components/OverflowMenu/OverflowMenu.js +40 -35
  113. package/es/components/OverflowMenuItem/OverflowMenuItem.js +4 -3
  114. package/es/components/OverflowMenuV2/index.js +2 -2
  115. package/es/components/Pagination/Pagination.js +2 -1
  116. package/es/components/Pagination/experimental/Pagination.js +0 -1
  117. package/es/components/PaginationNav/PaginationNav.js +2 -2
  118. package/es/components/PrimaryButton/PrimaryButton.js +3 -2
  119. package/es/components/ProgressIndicator/ProgressIndicator.js +2 -2
  120. package/es/components/RadioButton/RadioButton.js +2 -1
  121. package/es/components/RadioButtonGroup/RadioButtonGroup.js +2 -1
  122. package/es/components/RadioTile/RadioTile.js +2 -2
  123. package/es/components/Search/Search.Skeleton.js +2 -1
  124. package/es/components/Search/Search.js +6 -5
  125. package/es/components/Search/index.js +0 -1
  126. package/es/components/SecondaryButton/SecondaryButton.js +3 -2
  127. package/es/components/Select/Select.Skeleton.d.ts +33 -0
  128. package/es/components/Select/Select.Skeleton.js +2 -1
  129. package/es/components/Select/Select.js +2 -1
  130. package/es/components/SelectItem/SelectItem.js +2 -1
  131. package/es/components/SelectItemGroup/SelectItemGroup.js +2 -1
  132. package/es/components/SkeletonIcon/SkeletonIcon.js +2 -1
  133. package/es/components/SkeletonPlaceholder/SkeletonPlaceholder.js +2 -1
  134. package/es/components/SkeletonText/SkeletonText.js +2 -1
  135. package/es/components/Slider/Slider.Skeleton.d.ts +33 -0
  136. package/es/components/Slider/Slider.Skeleton.js +2 -1
  137. package/es/components/Slider/Slider.js +1 -1
  138. package/es/components/StructuredList/StructuredList.Skeleton.js +2 -1
  139. package/es/components/Switch/Switch.js +2 -1
  140. package/es/components/Tab/Tab.js +1 -1
  141. package/es/components/TabContent/TabContent.js +2 -1
  142. package/es/components/Tabs/Tabs.js +2 -3
  143. package/es/components/Tag/Tag.js +2 -1
  144. package/es/{es/components → components}/Text/Text.d.ts +0 -0
  145. package/es/{es/components → components}/Text/TextDirection.d.ts +0 -0
  146. package/es/{es/components → components}/Text/createTextComponent.d.ts +0 -0
  147. package/es/{es/components → components}/Text/index.d.ts +0 -0
  148. package/es/components/TextArea/TextArea.Skeleton.js +2 -1
  149. package/es/components/TextArea/TextArea.js +6 -3
  150. package/es/components/TextArea/index.js +0 -1
  151. package/es/components/TextInput/ControlledPasswordInput.js +2 -1
  152. package/es/components/TextInput/PasswordInput.js +2 -1
  153. package/es/components/TextInput/TextInput.Skeleton.js +2 -1
  154. package/es/components/TextInput/TextInput.js +2 -1
  155. package/es/components/TextInput/index.js +0 -1
  156. package/es/components/Tile/Tile.js +3 -7
  157. package/es/components/TileGroup/TileGroup.js +1 -1
  158. package/es/components/TimePicker/TimePicker.js +2 -1
  159. package/es/components/TimePickerSelect/TimePickerSelect.js +2 -1
  160. package/es/components/TimePickerSelect/index.js +2 -2
  161. package/es/components/Toggletip/index.js +2 -2
  162. package/es/components/Tooltip/DefinitionTooltip.js +2 -2
  163. package/es/components/Tooltip/Tooltip.js +34 -5
  164. package/es/components/TreeView/TreeNode.js +2 -2
  165. package/es/components/TreeView/TreeView.js +2 -2
  166. package/es/components/UIShell/Content.js +2 -1
  167. package/es/components/UIShell/Header.js +3 -2
  168. package/es/components/UIShell/HeaderContainer.js +2 -1
  169. package/es/components/UIShell/HeaderGlobalAction.js +3 -3
  170. package/es/components/UIShell/HeaderMenu.js +5 -4
  171. package/es/components/UIShell/HeaderMenuButton.js +1 -1
  172. package/es/components/UIShell/HeaderMenuItem.js +3 -2
  173. package/es/components/UIShell/HeaderName.js +1 -1
  174. package/es/components/UIShell/HeaderNavigation.js +1 -1
  175. package/es/components/UIShell/HeaderPanel.js +3 -2
  176. package/es/components/UIShell/HeaderSideNavItems.js +2 -1
  177. package/es/components/UIShell/Link.js +2 -1
  178. package/es/components/UIShell/SideNav.js +3 -2
  179. package/es/components/UIShell/SideNavDetails.js +2 -1
  180. package/es/components/UIShell/SideNavHeader.js +2 -1
  181. package/es/components/UIShell/SideNavItems.js +2 -1
  182. package/es/components/UIShell/SideNavLink.js +3 -2
  183. package/es/components/UIShell/SideNavMenu.js +5 -3
  184. package/es/components/UIShell/SideNavMenuItem.js +2 -1
  185. package/es/components/UIShell/SideNavSwitcher.js +2 -1
  186. package/es/components/UIShell/Switcher.js +3 -2
  187. package/es/components/UIShell/SwitcherDivider.js +2 -1
  188. package/es/components/UIShell/SwitcherItem.js +3 -2
  189. package/es/components/UnorderedList/UnorderedList.js +2 -1
  190. package/es/{es/index.d.ts → index.d.ts} +0 -0
  191. package/es/index.js +134 -140
  192. package/es/internal/ClickListener.js +1 -1
  193. package/es/internal/FloatingMenu.js +5 -6
  194. package/es/internal/OptimizedResize.js +3 -1
  195. package/es/internal/Selection.js +1 -1
  196. package/es/internal/useIsomorphicEffect.js +2 -1
  197. package/es/{es/internal → internal}/usePrefix.d.ts +0 -0
  198. package/es/node_modules/flatpickr/dist/plugins/rangePlugin.js +1 -1
  199. package/es/tools/mergeRefs.js +3 -1
  200. package/es/tools/wrapComponent.js +3 -1
  201. package/lib/components/Accordion/AccordionItem.js +2 -2
  202. package/lib/components/Breadcrumb/Breadcrumb.js +2 -1
  203. package/lib/components/Breadcrumb/BreadcrumbItem.js +2 -1
  204. package/lib/components/Button/Button.Skeleton.js +2 -1
  205. package/lib/components/Button/Button.js +2 -1
  206. package/lib/components/Button/index.js +0 -2
  207. package/lib/components/ButtonSet/ButtonSet.js +2 -1
  208. package/lib/{lib/components → components}/Checkbox/Checkbox.Skeleton.d.ts +0 -0
  209. package/lib/{lib/components → components}/Checkbox/Checkbox.d.ts +0 -0
  210. package/lib/{lib/components → components}/Checkbox/index.d.ts +0 -0
  211. package/lib/components/CodeSnippet/CodeSnippet.js +0 -1
  212. package/lib/components/ComboBox/ComboBox.js +10 -10
  213. package/lib/components/ComposedModal/ComposedModal.js +2 -1
  214. package/lib/components/ComposedModal/ModalFooter.js +0 -1
  215. package/lib/components/ContentSwitcher/ContentSwitcher.js +2 -2
  216. package/lib/components/DangerButton/DangerButton.js +3 -2
  217. package/lib/components/DataTable/DataTable.js +5 -5
  218. package/lib/components/DataTable/Table.js +2 -1
  219. package/lib/components/DataTable/TableActionList.js +2 -1
  220. package/lib/components/DataTable/TableBatchAction.js +2 -2
  221. package/lib/components/DataTable/TableBatchActions.js +2 -2
  222. package/lib/components/DataTable/TableBody.js +2 -1
  223. package/lib/components/DataTable/TableCell.js +2 -1
  224. package/lib/components/DataTable/TableContainer.js +2 -1
  225. package/lib/components/DataTable/TableExpandHeader.js +2 -1
  226. package/lib/components/DataTable/TableExpandRow.js +2 -1
  227. package/lib/components/DataTable/TableExpandedRow.js +2 -1
  228. package/lib/components/DataTable/TableHead.js +2 -1
  229. package/lib/components/DataTable/TableHeader.js +2 -1
  230. package/lib/components/DataTable/TableRow.js +2 -1
  231. package/lib/components/DataTable/TableSelectAll.d.ts +83 -0
  232. package/lib/components/DataTable/TableSelectAll.js +2 -1
  233. package/lib/components/DataTable/TableSelectRow.js +2 -1
  234. package/lib/components/DataTable/TableToolbar.js +2 -1
  235. package/lib/components/DataTable/TableToolbarAction.js +2 -1
  236. package/lib/components/DataTable/TableToolbarContent.js +2 -1
  237. package/lib/components/DataTable/TableToolbarMenu.js +2 -1
  238. package/lib/components/DataTable/TableToolbarSearch.js +2 -2
  239. package/lib/components/DataTable/state/getDerivedStateFromProps.js +3 -1
  240. package/lib/components/DataTable/tools/denormalize.js +3 -1
  241. package/lib/components/DataTable/tools/instanceId.js +3 -1
  242. package/lib/components/DataTable/tools/normalize.js +3 -1
  243. package/lib/components/DataTableSkeleton/DataTableSkeleton.js +2 -1
  244. package/lib/components/DatePicker/DatePicker.Skeleton.js +2 -1
  245. package/lib/components/DatePicker/DatePicker.js +4 -3
  246. package/lib/components/DatePicker/index.js +0 -2
  247. package/lib/components/DatePicker/plugins/fixEventsPlugin.js +32 -1
  248. package/lib/components/DatePickerInput/DatePickerInput.js +2 -1
  249. package/lib/components/Dropdown/Dropdown.Skeleton.js +2 -1
  250. package/lib/components/Dropdown/Dropdown.d.ts +134 -0
  251. package/lib/components/Dropdown/Dropdown.js +30 -17
  252. package/lib/components/Dropdown/index.d.ts +11 -0
  253. package/lib/components/Dropdown/index.js +0 -2
  254. package/lib/components/ExpandableSearch/ExpandableSearch.js +0 -1
  255. package/lib/components/FileUploader/FileUploader.js +2 -2
  256. package/lib/components/FileUploader/FileUploaderButton.js +2 -2
  257. package/lib/components/FileUploader/FileUploaderDropContainer.js +2 -2
  258. package/lib/components/FileUploader/FileUploaderItem.js +2 -2
  259. package/lib/components/FluidComboBox/FluidComboBox.Skeleton.js +2 -1
  260. package/lib/components/FluidComboBox/FluidComboBox.js +2 -1
  261. package/lib/components/FluidDatePicker/FluidDatePicker.js +2 -2
  262. package/lib/components/FluidDatePickerInput/FluidDatePickerInput.js +2 -1
  263. package/lib/components/FluidDropdown/FluidDropdown.Skeleton.js +2 -1
  264. package/lib/components/FluidDropdown/FluidDropdown.js +2 -2
  265. package/lib/components/FluidForm/FluidForm.d.ts +11 -0
  266. package/lib/components/FluidForm/FluidForm.js +2 -2
  267. package/lib/components/FluidForm/FormContext.d.ts +11 -0
  268. package/lib/components/FluidForm/index.d.ts +10 -0
  269. package/lib/components/FluidMultiSelect/FluidMultiSelect.Skeleton.js +2 -1
  270. package/lib/components/FluidMultiSelect/FluidMultiSelect.js +2 -1
  271. package/lib/components/FluidSelect/FluidSelect.Skeleton.js +2 -1
  272. package/lib/components/FluidSelect/FluidSelect.js +2 -1
  273. package/lib/components/FluidSelect/index.js +0 -2
  274. package/lib/components/FluidTextArea/FluidTextArea.js +0 -1
  275. package/lib/components/FluidTextInput/FluidTextInput.js +0 -1
  276. package/lib/components/FluidTextInput/index.js +0 -2
  277. package/lib/components/FluidTimePicker/FluidTimePicker.Skeleton.js +2 -3
  278. package/lib/components/FluidTimePicker/FluidTimePicker.js +2 -2
  279. package/lib/components/FluidTimePickerSelect/FluidTimePickerSelect.js +2 -2
  280. package/lib/components/Form/Form.js +2 -1
  281. package/lib/components/FormGroup/FormGroup.js +2 -1
  282. package/lib/components/IconButton/index.js +1 -2
  283. package/lib/components/InlineCheckbox/InlineCheckbox.js +4 -1
  284. package/lib/components/Link/Link.js +2 -1
  285. package/lib/components/ListBox/ListBox.d.ts +60 -0
  286. package/lib/components/ListBox/ListBox.js +3 -14
  287. package/lib/components/ListBox/ListBoxField.d.ts +18 -0
  288. package/lib/components/ListBox/ListBoxField.js +1 -1
  289. package/lib/components/ListBox/ListBoxMenu.d.ts +22 -0
  290. package/lib/components/ListBox/ListBoxMenu.js +2 -2
  291. package/lib/components/ListBox/ListBoxMenuIcon.d.ts +31 -0
  292. package/lib/components/ListBox/ListBoxMenuIcon.js +8 -5
  293. package/lib/components/ListBox/ListBoxMenuItem.d.ts +24 -0
  294. package/lib/components/ListBox/ListBoxMenuItem.js +2 -3
  295. package/lib/components/ListBox/ListBoxPropTypes.d.ts +14 -0
  296. package/lib/components/ListBox/ListBoxPropTypes.js +4 -2
  297. package/lib/components/ListBox/ListBoxSelection.d.ts +51 -0
  298. package/lib/components/ListBox/ListBoxSelection.js +7 -20
  299. package/lib/components/ListBox/index.d.ts +23 -0
  300. package/lib/components/ListBox/index.js +12 -8
  301. package/lib/components/ListBox/next/ListBoxSelection.js +2 -2
  302. package/lib/components/ListBox/next/ListBoxTrigger.js +2 -1
  303. package/lib/components/ListItem/ListItem.js +2 -1
  304. package/lib/components/Menu/Menu.js +4 -3
  305. package/lib/components/Menu/MenuOption.js +2 -2
  306. package/lib/components/Modal/Modal.js +2 -2
  307. package/lib/components/ModalWrapper/ModalWrapper.js +0 -1
  308. package/lib/components/MultiSelect/FilterableMultiSelect.js +10 -10
  309. package/lib/components/MultiSelect/MultiSelect.js +10 -10
  310. package/lib/components/Notification/Notification.js +2 -3
  311. package/lib/components/NumberInput/NumberInput.Skeleton.d.ts +32 -0
  312. package/lib/components/OrderedList/OrderedList.js +2 -1
  313. package/lib/components/OverflowMenu/OverflowMenu.js +40 -54
  314. package/lib/components/OverflowMenuItem/OverflowMenuItem.js +4 -3
  315. package/lib/components/OverflowMenuV2/index.js +2 -2
  316. package/lib/components/Pagination/Pagination.js +2 -1
  317. package/lib/components/Pagination/experimental/Pagination.js +0 -1
  318. package/lib/components/PaginationNav/PaginationNav.js +2 -2
  319. package/lib/components/PrimaryButton/PrimaryButton.js +3 -2
  320. package/lib/components/ProgressIndicator/ProgressIndicator.js +2 -2
  321. package/lib/components/RadioButton/RadioButton.js +2 -1
  322. package/lib/components/RadioButtonGroup/RadioButtonGroup.js +2 -1
  323. package/lib/components/RadioTile/RadioTile.js +2 -2
  324. package/lib/components/Search/Search.Skeleton.js +2 -1
  325. package/lib/components/Search/Search.js +4 -3
  326. package/lib/components/Search/index.js +0 -2
  327. package/lib/components/SecondaryButton/SecondaryButton.js +3 -2
  328. package/lib/components/Select/Select.Skeleton.d.ts +33 -0
  329. package/lib/components/Select/Select.Skeleton.js +2 -1
  330. package/lib/components/Select/Select.js +2 -1
  331. package/lib/components/SelectItem/SelectItem.js +2 -1
  332. package/lib/components/SelectItemGroup/SelectItemGroup.js +2 -1
  333. package/lib/components/SkeletonIcon/SkeletonIcon.js +2 -1
  334. package/lib/components/SkeletonPlaceholder/SkeletonPlaceholder.js +2 -1
  335. package/lib/components/SkeletonText/SkeletonText.js +2 -1
  336. package/lib/components/Slider/Slider.Skeleton.d.ts +33 -0
  337. package/lib/components/Slider/Slider.Skeleton.js +2 -1
  338. package/lib/components/StructuredList/StructuredList.Skeleton.js +2 -1
  339. package/lib/components/Switch/Switch.js +2 -1
  340. package/lib/components/TabContent/TabContent.js +2 -1
  341. package/lib/components/Tabs/Tabs.js +2 -3
  342. package/lib/components/Tag/Tag.js +2 -1
  343. package/lib/{lib/components → components}/Text/Text.d.ts +0 -0
  344. package/lib/{lib/components → components}/Text/TextDirection.d.ts +0 -0
  345. package/lib/{lib/components → components}/Text/createTextComponent.d.ts +0 -0
  346. package/lib/{lib/components → components}/Text/index.d.ts +0 -0
  347. package/lib/components/TextArea/TextArea.Skeleton.js +2 -1
  348. package/lib/components/TextArea/TextArea.js +6 -3
  349. package/lib/components/TextArea/index.js +0 -2
  350. package/lib/components/TextInput/ControlledPasswordInput.js +2 -1
  351. package/lib/components/TextInput/PasswordInput.js +2 -1
  352. package/lib/components/TextInput/TextInput.Skeleton.js +2 -1
  353. package/lib/components/TextInput/TextInput.js +2 -1
  354. package/lib/components/TextInput/index.js +0 -2
  355. package/lib/components/Tile/Tile.js +3 -7
  356. package/lib/components/TimePicker/TimePicker.js +2 -1
  357. package/lib/components/TimePickerSelect/TimePickerSelect.js +2 -1
  358. package/lib/components/Toggletip/index.js +2 -2
  359. package/lib/components/Tooltip/DefinitionTooltip.js +2 -2
  360. package/lib/components/Tooltip/Tooltip.js +33 -4
  361. package/lib/components/TreeView/TreeNode.js +2 -2
  362. package/lib/components/TreeView/TreeView.js +2 -2
  363. package/lib/components/UIShell/Content.js +2 -1
  364. package/lib/components/UIShell/Header.js +2 -1
  365. package/lib/components/UIShell/HeaderContainer.js +2 -1
  366. package/lib/components/UIShell/HeaderGlobalAction.js +2 -2
  367. package/lib/components/UIShell/HeaderMenu.js +4 -3
  368. package/lib/components/UIShell/HeaderMenuItem.js +2 -1
  369. package/lib/components/UIShell/HeaderPanel.js +2 -1
  370. package/lib/components/UIShell/HeaderSideNavItems.js +2 -1
  371. package/lib/components/UIShell/Link.js +2 -1
  372. package/lib/components/UIShell/SideNav.js +2 -1
  373. package/lib/components/UIShell/SideNavDetails.js +2 -1
  374. package/lib/components/UIShell/SideNavHeader.js +2 -1
  375. package/lib/components/UIShell/SideNavItems.js +2 -1
  376. package/lib/components/UIShell/SideNavLink.js +2 -1
  377. package/lib/components/UIShell/SideNavMenu.js +5 -3
  378. package/lib/components/UIShell/SideNavMenuItem.js +2 -1
  379. package/lib/components/UIShell/SideNavSwitcher.js +2 -1
  380. package/lib/components/UIShell/Switcher.js +2 -1
  381. package/lib/components/UIShell/SwitcherDivider.js +2 -1
  382. package/lib/components/UIShell/SwitcherItem.js +2 -1
  383. package/lib/components/UnorderedList/UnorderedList.js +2 -1
  384. package/lib/{lib/index.d.ts → index.d.ts} +0 -0
  385. package/lib/index.js +281 -287
  386. package/lib/internal/FloatingMenu.js +4 -5
  387. package/lib/internal/OptimizedResize.js +3 -1
  388. package/lib/internal/useIsomorphicEffect.js +2 -1
  389. package/lib/{lib/internal → internal}/usePrefix.d.ts +0 -0
  390. package/lib/tools/mergeRefs.js +3 -1
  391. package/lib/tools/wrapComponent.js +3 -1
  392. package/package.json +5 -5
  393. package/es/components/ContainedList/index.js +0 -13
  394. package/es/components/DataTable/index.js +0 -70
  395. package/es/components/TreeView/index.js +0 -13
  396. package/lib/components/ContainedList/index.js +0 -19
  397. package/lib/components/DataTable/index.js +0 -76
  398. package/lib/components/TreeView/index.js +0 -19
@@ -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
 
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Copyright IBM Corp. 2016, 2018
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ import PropTypes from 'prop-types';
8
+ import { HTMLAttributes } from 'react';
9
+ export interface NumberInputSkeletonProps extends HTMLAttributes<HTMLDivElement> {
10
+ /**
11
+ * Specify an optional className to add to the form item wrapper.
12
+ */
13
+ className?: string;
14
+ /**
15
+ * Specify whether the label should be hidden, or not
16
+ */
17
+ hideLabel?: boolean;
18
+ }
19
+ declare function NumberInputSkeleton({ hideLabel, className, ...rest }: NumberInputSkeletonProps): JSX.Element;
20
+ declare namespace NumberInputSkeleton {
21
+ var propTypes: {
22
+ /**
23
+ * Specify an optional className to add to the form item wrapper.
24
+ */
25
+ className: PropTypes.Requireable<string>;
26
+ /**
27
+ * Specify whether the label should be hidden, or not
28
+ */
29
+ hideLabel: PropTypes.Requireable<boolean>;
30
+ };
31
+ }
32
+ export default NumberInputSkeleton;
@@ -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
- import * as FeatureFlags from '@carbon/feature-flags';
21
18
  import deprecate from '../../prop-types/deprecate.js';
19
+ import { IconButton } from '../IconButton/index.js';
20
+ import { matches } from '../../internal/keyboard/match.js';
21
+ import { ArrowUp, ArrowRight, ArrowDown, 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
 
@@ -129,14 +129,14 @@ var OverflowMenu = /*#__PURE__*/function (_Component) {
129
129
  }
130
130
  });
131
131
 
132
- _defineProperty(_assertThisInitialized(_this), "handleKeyDown", function (evt) {
133
- if (matches(evt, [ArrowDown])) {
134
- _this.setState({
135
- open: !_this.state.open
136
- });
132
+ _defineProperty(_assertThisInitialized(_this), "closeMenuAndFocus", function () {
133
+ var wasOpen = _this.state.open;
137
134
 
138
- _this.props.onClick(evt);
139
- }
135
+ _this.closeMenu(function () {
136
+ if (wasOpen) {
137
+ _this.focusMenuEl();
138
+ }
139
+ });
140
140
  });
141
141
 
142
142
  _defineProperty(_assertThisInitialized(_this), "handleKeyPress", function (evt) {
@@ -146,13 +146,7 @@ var OverflowMenu = /*#__PURE__*/function (_Component) {
146
146
 
147
147
 
148
148
  if (matches(evt, [Escape])) {
149
- var wasOpen = _this.state.open;
150
-
151
- _this.closeMenu(function () {
152
- if (wasOpen) {
153
- _this.focusMenuEl();
154
- }
155
- }); // Stop the esc keypress from bubbling out and closing something it shouldn't
149
+ _this.closeMenuAndFocus(); // Stop the esc keypress from bubbling out and closing something it shouldn't
156
150
 
157
151
 
158
152
  evt.stopPropagation();
@@ -187,8 +181,6 @@ var OverflowMenu = /*#__PURE__*/function (_Component) {
187
181
  });
188
182
 
189
183
  _defineProperty(_assertThisInitialized(_this), "handleOverflowMenuItemFocus", function (_ref) {
190
- var _overflowMenuItem$cur;
191
-
192
184
  var currentIndex = _ref.currentIndex,
193
185
  direction = _ref.direction;
194
186
  var enabledIndices = React__default.Children.toArray(_this.props.children).reduce(function (acc, curr, i) {
@@ -202,7 +194,7 @@ var OverflowMenu = /*#__PURE__*/function (_Component) {
202
194
  var nextValidIndex = function () {
203
195
  var nextIndex = enabledIndices.indexOf(currentIndex) + direction;
204
196
 
205
- switch (enabledIndices.indexOf(currentIndex) + direction) {
197
+ switch (nextIndex) {
206
198
  case -1:
207
199
  return enabledIndices.length - 1;
208
200
 
@@ -214,9 +206,9 @@ var OverflowMenu = /*#__PURE__*/function (_Component) {
214
206
  }
215
207
  }();
216
208
 
217
- var overflowMenuItem = _this["overflowMenuItem".concat(enabledIndices[nextValidIndex])].overflowMenuItem;
209
+ var overflowMenuItem = _this["overflowMenuItem".concat(enabledIndices[nextValidIndex])];
218
210
 
219
- overflowMenuItem === null || overflowMenuItem === void 0 ? void 0 : (_overflowMenuItem$cur = overflowMenuItem.current) === null || _overflowMenuItem$cur === void 0 ? void 0 : _overflowMenuItem$cur.focus();
211
+ overflowMenuItem === null || overflowMenuItem === void 0 ? void 0 : overflowMenuItem.focus();
220
212
  });
221
213
 
222
214
  _defineProperty(_assertThisInitialized(_this), "_bindMenuBody", function (menuBody) {
@@ -240,7 +232,7 @@ var OverflowMenu = /*#__PURE__*/function (_Component) {
240
232
 
241
233
  if (typeof target.matches === 'function') {
242
234
  if (!menuBody.contains(target) && triggerEl && !target.matches(".".concat(_this.context, "--overflow-menu,.").concat(_this.context, "--overflow-menu-options"))) {
243
- _this.closeMenu();
235
+ _this.closeMenuAndFocus();
244
236
  }
245
237
  }
246
238
  }, !hasFocusin);
@@ -266,6 +258,17 @@ var OverflowMenu = /*#__PURE__*/function (_Component) {
266
258
  onClose();
267
259
  }
268
260
  }
261
+ }, {
262
+ key: "componentDidMount",
263
+ value: function componentDidMount() {
264
+ // ensure that if open=true on first render, we wait
265
+ // to render the floating menu until the trigger ref is not null
266
+ if (this._triggerRef.current) {
267
+ this.setState({
268
+ hasMountedTrigger: true
269
+ });
270
+ }
271
+ }
269
272
  }, {
270
273
  key: "componentWillUnmount",
271
274
  value: function componentWillUnmount() {
@@ -313,7 +316,7 @@ var OverflowMenu = /*#__PURE__*/function (_Component) {
313
316
  var _child$props;
314
317
 
315
318
  return /*#__PURE__*/React__default.cloneElement(child, {
316
- closeMenu: (child === null || child === void 0 ? void 0 : (_child$props = child.props) === null || _child$props === void 0 ? void 0 : _child$props.closeMenu) || _this2.closeMenu,
319
+ closeMenu: (child === null || child === void 0 ? void 0 : (_child$props = child.props) === null || _child$props === void 0 ? void 0 : _child$props.closeMenu) || _this2.closeMenuAndFocus,
317
320
  handleOverflowMenuItemFocus: _this2.handleOverflowMenuItemFocus,
318
321
  ref: function ref(e) {
319
322
  _this2["overflowMenuItem".concat(index)] = e;
@@ -325,7 +328,8 @@ var OverflowMenu = /*#__PURE__*/function (_Component) {
325
328
  className: overflowMenuOptionsClasses,
326
329
  tabIndex: "-1",
327
330
  role: "menu",
328
- "aria-label": ariaLabel
331
+ "aria-label": ariaLabel,
332
+ onKeyDown: this.handleKeyPress
329
333
  }, childrenWithProps);
330
334
  var wrappedMenuBody = /*#__PURE__*/React__default.createElement(FloatingMenu, {
331
335
  focusTrap: focusTrap,
@@ -346,17 +350,18 @@ var OverflowMenu = /*#__PURE__*/function (_Component) {
346
350
  };
347
351
  return /*#__PURE__*/React__default.createElement(ClickListener, {
348
352
  onClickOutside: this.handleClickOutside
349
- }, /*#__PURE__*/React__default.createElement("button", _extends({}, other, {
353
+ }, /*#__PURE__*/React__default.createElement("span", {
354
+ className: "".concat(prefix, "--overflow-menu__wrapper")
355
+ }, /*#__PURE__*/React__default.createElement(IconButton, _extends({}, other, {
350
356
  type: "button",
351
357
  "aria-haspopup": true,
352
358
  "aria-expanded": this.state.open,
353
359
  className: overflowMenuClasses,
354
- onKeyDown: this.handleKeyPress,
355
360
  onClick: this.handleClick,
356
- "aria-label": ariaLabel,
357
361
  id: id,
358
- ref: mergeRefs(this._triggerRef, ref)
359
- }), /*#__PURE__*/React__default.createElement(IconElement, iconProps), open && wrappedMenuBody));
362
+ ref: mergeRefs(this._triggerRef, ref),
363
+ label: iconDescription
364
+ }), /*#__PURE__*/React__default.createElement(IconElement, iconProps)), open && this.state.hasMountedTrigger && wrappedMenuBody));
360
365
  }
361
366
  }], [{
362
367
  key: "getDerivedStateFromProps",
@@ -377,7 +382,7 @@ _defineProperty(OverflowMenu, "propTypes", {
377
382
  /**
378
383
  * The ARIA label.
379
384
  */
380
- ariaLabel: FeatureFlags.enabled('enable-v11-release') ? PropTypes.string.isRequired : PropTypes.string,
385
+ ariaLabel: PropTypes.string.isRequired,
381
386
 
382
387
  /**
383
388
  * The child nodes.
@@ -423,7 +428,7 @@ _defineProperty(OverflowMenu, "propTypes", {
423
428
  * `true` to use the light version. For use on $ui-01 backgrounds only.
424
429
  * Don't use this to make OverflowMenu background color same as container background color.
425
430
  */
426
- light: FeatureFlags.enabled('enable-v11-release') ? deprecate(PropTypes.bool, 'The `light` prop for `OverflowMenu` is no longer needed and has been deprecated. It will be removed in the next major release. Use the Layer component instead.') : PropTypes.bool,
431
+ light: deprecate(PropTypes.bool, 'The `light` prop for `OverflowMenu` is no longer needed and has been deprecated. It will be removed in the next major release. Use the Layer component instead.'),
427
432
 
428
433
  /**
429
434
  * The adjustment in position applied to the floating menu.
@@ -490,14 +495,14 @@ _defineProperty(OverflowMenu, "propTypes", {
490
495
  /**
491
496
  * Specify the size of the OverflowMenu. Currently supports either `sm`, 'md' (default) or 'lg` as an option.
492
497
  */
493
- size: FeatureFlags.enabled('enable-v11-release') ? PropTypes.oneOf(['sm', 'md', 'lg']) : PropTypes.oneOf(['sm', 'md', 'lg', 'xl'])
498
+ size: PropTypes.oneOf(['sm', 'md', 'lg'])
494
499
  });
495
500
 
496
501
  _defineProperty(OverflowMenu, "contextType", PrefixContext);
497
502
 
498
503
  _defineProperty(OverflowMenu, "defaultProps", {
499
- ariaLabel: FeatureFlags.enabled('enable-v11-release') ? null : 'Open and close list of options',
500
- iconDescription: 'Open and close list of options',
504
+ ariaLabel: null,
505
+ iconDescription: 'Options',
501
506
  open: false,
502
507
  direction: DIRECTION_BOTTOM,
503
508
  flipped: false,
@@ -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';
@@ -419,5 +419,6 @@ Pagination.propTypes = {
419
419
  */
420
420
  totalItems: PropTypes.number
421
421
  };
422
+ var Pagination$1 = Pagination;
422
423
 
423
- export { Pagination as default };
424
+ export { Pagination$1 as default };
@@ -11,7 +11,6 @@ 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
15
  import '../../Select/Select.Skeleton.js';
17
16
  import SelectItem from '../../SelectItem/SelectItem.js';
@@ -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 };
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Copyright IBM Corp. 2016, 2018
3
+ *
4
+ * This source code is licensed under the Apache-2.0 license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ */
7
+ import PropTypes from 'prop-types';
8
+ import { HTMLAttributes } from 'react';
9
+ export interface SelectSkeletonProps extends HTMLAttributes<HTMLDivElement> {
10
+ /**
11
+ * Specify an optional className to add to the form item wrapper.
12
+ */
13
+ className?: string;
14
+ /**
15
+ * Specify whether the label should be hidden, or not
16
+ */
17
+ hideLabel?: boolean;
18
+ }
19
+ declare const SelectSkeleton: {
20
+ ({ hideLabel, className, ...rest }: SelectSkeletonProps): JSX.Element;
21
+ propTypes: {
22
+ /**
23
+ * Specify an optional className to add to the form item wrapper.
24
+ */
25
+ className: PropTypes.Requireable<string>;
26
+ /**
27
+ * Specify whether the label should be hidden, or not
28
+ */
29
+ hideLabel: PropTypes.Requireable<boolean>;
30
+ };
31
+ };
32
+ export default SelectSkeleton;
33
+ export { SelectSkeleton };
@@ -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 };
@@ -65,5 +65,6 @@ SelectItem.defaultProps = {
65
65
  value: '',
66
66
  text: ''
67
67
  };
68
+ var SelectItem$1 = SelectItem;
68
69
 
69
- export { SelectItem as default };
70
+ export { SelectItem$1 as default };
@@ -55,5 +55,6 @@ SelectItemGroup.defaultProps = {
55
55
  disabled: false,
56
56
  label: FeatureFlags.enabled('enable-v11-release') ? undefined : 'Provide label'
57
57
  };
58
+ var SelectItemGroup$1 = SelectItemGroup;
58
59
 
59
- export { SelectItemGroup as default };
60
+ export { SelectItemGroup$1 as default };
@@ -37,5 +37,6 @@ SkeletonIcon.propTypes = {
37
37
  */
38
38
  style: PropTypes.object
39
39
  };
40
+ var SkeletonIcon$1 = SkeletonIcon;
40
41
 
41
- export { SkeletonIcon as default };
42
+ export { SkeletonIcon$1 as default };
@@ -33,5 +33,6 @@ SkeletonPlaceholder.propTypes = {
33
33
  */
34
34
  className: PropTypes.string
35
35
  };
36
+ var SkeletonPlaceholder$1 = SkeletonPlaceholder;
36
37
 
37
- export { SkeletonPlaceholder as default };
38
+ export { SkeletonPlaceholder$1 as default };