@carbon/ibm-products 1.24.0 → 2.0.0-rc.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (508) hide show
  1. package/css/index-full-carbon.css +24551 -24314
  2. package/css/index-full-carbon.css.map +1 -1
  3. package/css/index-full-carbon.min.css +10 -12
  4. package/css/index-full-carbon.min.css.map +1 -1
  5. package/css/index-without-carbon-released-only.css +5771 -2810
  6. package/css/index-without-carbon-released-only.css.map +1 -1
  7. package/css/index-without-carbon-released-only.min.css +10 -12
  8. package/css/index-without-carbon-released-only.min.css.map +1 -1
  9. package/css/index-without-carbon.css +10412 -4465
  10. package/css/index-without-carbon.css.map +1 -1
  11. package/css/index-without-carbon.min.css +10 -12
  12. package/css/index-without-carbon.min.css.map +1 -1
  13. package/css/index.css +10786 -14916
  14. package/css/index.css.map +1 -1
  15. package/css/index.min.css +10 -12
  16. package/css/index.min.css.map +1 -1
  17. package/es/components/APIKeyModal/APIKeyModal.js +14 -6
  18. package/es/components/AboutModal/AboutModal.js +37 -10
  19. package/es/components/ActionBar/ActionBar.js +4 -3
  20. package/es/components/ActionBar/ActionBarItem.js +15 -13
  21. package/es/components/ActionBar/ActionBarOverflowItems.js +3 -2
  22. package/es/components/ActionSet/ActionSet.js +6 -6
  23. package/es/components/AddSelect/AddSelect.js +4 -2
  24. package/es/components/AddSelect/AddSelectBody.js +12 -6
  25. package/es/components/AddSelect/AddSelectBreadcrumbs.js +1 -1
  26. package/es/components/AddSelect/AddSelectColumn.js +21 -10
  27. package/es/components/AddSelect/AddSelectFilter.js +8 -3
  28. package/es/components/AddSelect/AddSelectList.js +17 -7
  29. package/es/components/AddSelect/AddSelectMetaPanel.js +8 -3
  30. package/es/components/AddSelect/AddSelectSidebar.js +1 -1
  31. package/es/components/AddSelect/AddSelectSort.js +20 -8
  32. package/es/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +24 -13
  33. package/es/components/ButtonMenu/ButtonMenu.js +15 -6
  34. package/es/components/ButtonMenu/ButtonMenuItem.js +1 -1
  35. package/es/components/ButtonSetWithOverflow/ButtonSetWithOverflow.js +7 -5
  36. package/es/components/Card/Card.js +12 -10
  37. package/es/components/Card/CardFooter.js +3 -3
  38. package/es/components/Cascade/Cascade.js +1 -1
  39. package/es/components/ComboButton/ComboButton.js +11 -3
  40. package/es/components/CreateFullPage/CreateFullPage.js +4 -4
  41. package/es/components/CreateFullPage/CreateFullPageStep.js +1 -1
  42. package/es/components/CreateInfluencer/CreateInfluencer.js +1 -1
  43. package/es/components/CreateModal/CreateModal.js +1 -1
  44. package/es/components/CreateSidePanel/CreateSidePanel.js +1 -1
  45. package/es/components/CreateTearsheet/CreateTearsheet.js +3 -3
  46. package/es/components/CreateTearsheet/CreateTearsheetStep.js +4 -2
  47. package/es/components/CreateTearsheet/preview-components/MultiStepTearsheet.js +14 -5
  48. package/es/components/CreateTearsheet/preview-components/MultiStepWithIntro.js +11 -4
  49. package/es/components/CreateTearsheetNarrow/CreateTearsheetNarrow.js +1 -1
  50. package/es/components/DataSpreadsheet/DataSpreadsheet.js +1 -3
  51. package/es/components/Datagrid/Datagrid/Datagrid.js +1 -1
  52. package/es/components/Datagrid/Datagrid/DatagridEmptyBody.js +1 -1
  53. package/es/components/Datagrid/Datagrid/DatagridHead.js +1 -1
  54. package/es/components/Datagrid/Datagrid/DatagridHeaderRow.js +1 -1
  55. package/es/components/Datagrid/Datagrid/DatagridRow.js +1 -1
  56. package/es/components/Datagrid/Datagrid/DatagridSelectAll.js +1 -1
  57. package/es/components/Datagrid/Datagrid/DatagridSelectAllWithToggle.js +12 -5
  58. package/es/components/Datagrid/Datagrid/DatagridSimpleBody.js +1 -1
  59. package/es/components/Datagrid/Datagrid/DatagridToolbar.js +1 -1
  60. package/es/components/Datagrid/Datagrid/DatagridVirtualBody.js +1 -1
  61. package/es/components/Datagrid/Datagrid/DraggableElement.js +4 -2
  62. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Actions.js +8 -3
  63. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.js +7 -3
  64. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +1 -1
  65. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsModal.js +1 -1
  66. package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +10 -10
  67. package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeRadioGroup.js +23 -26
  68. package/es/components/Datagrid/{Datagrid.stories → Datagrid.stories-helpers}/CustomizeColumnStory.js +0 -0
  69. package/es/components/Datagrid/{Datagrid.stories → Datagrid.stories-helpers}/LeftPanelStory.js +0 -0
  70. package/es/components/Datagrid/{Datagrid.stories → Datagrid.stories-helpers}/RowSizeDropdownStory.js +0 -0
  71. package/es/components/Datagrid/{Datagrid.stories → Datagrid.stories-helpers}/SelectAllWithToggleStory.js +0 -0
  72. package/es/components/Datagrid/{Datagrid.stories → Datagrid.stories-helpers}/StickyActionsColumnStory.js +0 -0
  73. package/es/components/Datagrid/{Datagrid.stories → Datagrid.stories-helpers}/common.js +0 -0
  74. package/es/components/Datagrid/{Datagrid.stories → Datagrid.stories-helpers}/index.js +2 -2
  75. package/es/components/Datagrid/useActionsColumn.js +1 -1
  76. package/es/components/Datagrid/useRowExpander.js +6 -2
  77. package/es/components/Datagrid/useSelectRows.js +4 -3
  78. package/es/components/Datagrid/useSortableColumns.js +19 -8
  79. package/es/components/EditSidePanel/EditSidePanel.js +2 -2
  80. package/es/components/EditTearsheet/EditTearsheet.js +1 -1
  81. package/es/components/EditTearsheet/EditTearsheetForm.js +4 -2
  82. package/es/components/EditTearsheet/preview-components/MultiFormEditTearsheet.js +9 -9
  83. package/es/components/EmptyStates/EmptyState.js +1 -1
  84. package/es/components/EmptyStates/EmptyStateContent.js +3 -2
  85. package/es/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +1 -1
  86. package/es/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +1 -1
  87. package/es/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +1 -1
  88. package/es/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +1 -1
  89. package/es/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +1 -1
  90. package/es/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +1 -1
  91. package/es/components/ExampleComponent/ExampleComponent.js +4 -4
  92. package/es/components/ExportModal/ExportModal.js +7 -4
  93. package/es/components/ExpressiveCard/ExpressiveCard.js +1 -1
  94. package/es/components/HTTPErrors/HTTPErrorContent.js +1 -1
  95. package/es/components/ImportModal/ImportModal.js +20 -6
  96. package/es/components/InlineEdit/InlineEdit.js +27 -15
  97. package/es/components/ModifiedTabs/ModifiedTabLabelNew.js +9 -5
  98. package/es/components/ModifiedTabs/ModifiedTabLabelWithClose.js +13 -15
  99. package/es/components/ModifiedTabs/ModifiedTabs.js +64 -42
  100. package/es/components/MultiAddSelect/MultiAddSelect.js +2 -2
  101. package/es/components/NotificationsPanel/NotificationsPanel.js +32 -18
  102. package/es/components/OptionsTile/OptionsTile.js +15 -9
  103. package/es/components/PageHeader/PageHeader.js +13 -9
  104. package/es/components/PageHeader/PageHeaderTitle.js +1 -1
  105. package/es/components/PageHeader/PageHeaderUtils.js +1 -1
  106. package/es/components/ProductiveCard/ProductiveCard.js +5 -0
  107. package/es/components/RemoveModal/RemoveModal.js +3 -2
  108. package/es/components/Saving/Saving.js +26 -8
  109. package/es/components/SidePanel/SidePanel.js +18 -10
  110. package/es/components/StatusIcon/StatusIcon.js +294 -74
  111. package/es/components/TagSet/TagSet.js +6 -15
  112. package/es/components/TagSet/TagSetModal.js +4 -3
  113. package/es/components/TagSet/TagSetOverflow.js +37 -34
  114. package/es/components/TagSet/constants.js +20 -0
  115. package/es/components/Tearsheet/Tearsheet.js +2 -2
  116. package/es/components/Tearsheet/TearsheetNarrow.js +1 -1
  117. package/es/components/Tearsheet/TearsheetShell.js +11 -9
  118. package/es/components/Toolbar/Toolbar.js +2 -1
  119. package/es/components/Toolbar/ToolbarButton.js +22 -13
  120. package/es/components/UserProfileImage/UserProfileImage.js +38 -13
  121. package/es/components/WebTerminal/WebTerminal.js +40 -19
  122. package/es/components/WebTerminal/WebTerminalContentWrapper.js +8 -10
  123. package/es/components/WebTerminal/hooks/index.js +45 -0
  124. package/es/components/WebTerminal/index.js +2 -1
  125. package/es/components/WebTerminal/preview-components/Navigation.js +17 -15
  126. package/es/components/_Canary/Canary.js +1 -1
  127. package/es/components/index.js +1 -1
  128. package/es/global/js/hooks/index.js +1 -1
  129. package/es/global/js/package-settings.js +1 -0
  130. package/es/global/js/utils/test-helper.js +2 -1
  131. package/es/settings.js +2 -10
  132. package/lib/components/APIKeyModal/APIKeyModal.js +25 -17
  133. package/lib/components/AboutModal/AboutModal.js +43 -15
  134. package/lib/components/ActionBar/ActionBar.js +6 -5
  135. package/lib/components/ActionBar/ActionBarItem.js +15 -13
  136. package/lib/components/ActionBar/ActionBarOverflowItems.js +5 -4
  137. package/lib/components/ActionSet/ActionSet.js +13 -13
  138. package/lib/components/AddSelect/AddSelect.js +4 -2
  139. package/lib/components/AddSelect/AddSelectBody.js +13 -7
  140. package/lib/components/AddSelect/AddSelectBreadcrumbs.js +3 -3
  141. package/lib/components/AddSelect/AddSelectColumn.js +23 -13
  142. package/lib/components/AddSelect/AddSelectFilter.js +16 -10
  143. package/lib/components/AddSelect/AddSelectList.js +26 -15
  144. package/lib/components/AddSelect/AddSelectMetaPanel.js +9 -3
  145. package/lib/components/AddSelect/AddSelectSidebar.js +4 -4
  146. package/lib/components/AddSelect/AddSelectSort.js +22 -9
  147. package/lib/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +29 -19
  148. package/lib/components/ButtonMenu/ButtonMenu.js +18 -9
  149. package/lib/components/ButtonMenu/ButtonMenuItem.js +3 -3
  150. package/lib/components/ButtonSetWithOverflow/ButtonSetWithOverflow.js +10 -8
  151. package/lib/components/Card/Card.js +15 -13
  152. package/lib/components/Card/CardFooter.js +5 -5
  153. package/lib/components/Cascade/Cascade.js +2 -2
  154. package/lib/components/ComboButton/ComboButton.js +21 -13
  155. package/lib/components/CreateFullPage/CreateFullPage.js +8 -8
  156. package/lib/components/CreateFullPage/CreateFullPageStep.js +2 -2
  157. package/lib/components/CreateInfluencer/CreateInfluencer.js +3 -3
  158. package/lib/components/CreateModal/CreateModal.js +7 -7
  159. package/lib/components/CreateSidePanel/CreateSidePanel.js +2 -2
  160. package/lib/components/CreateTearsheet/CreateTearsheet.js +3 -3
  161. package/lib/components/CreateTearsheet/CreateTearsheetStep.js +5 -3
  162. package/lib/components/CreateTearsheet/preview-components/MultiStepTearsheet.js +27 -18
  163. package/lib/components/CreateTearsheet/preview-components/MultiStepWithIntro.js +26 -19
  164. package/lib/components/CreateTearsheetNarrow/CreateTearsheetNarrow.js +2 -2
  165. package/lib/components/DataSpreadsheet/DataSpreadsheet.js +1 -4
  166. package/lib/components/Datagrid/Datagrid/Datagrid.js +3 -3
  167. package/lib/components/Datagrid/Datagrid/DatagridEmptyBody.js +4 -4
  168. package/lib/components/Datagrid/Datagrid/DatagridHead.js +2 -2
  169. package/lib/components/Datagrid/Datagrid/DatagridHeaderRow.js +3 -3
  170. package/lib/components/Datagrid/Datagrid/DatagridRow.js +4 -4
  171. package/lib/components/Datagrid/Datagrid/DatagridSelectAll.js +2 -2
  172. package/lib/components/Datagrid/Datagrid/DatagridSelectAllWithToggle.js +15 -8
  173. package/lib/components/Datagrid/Datagrid/DatagridSimpleBody.js +2 -2
  174. package/lib/components/Datagrid/Datagrid/DatagridToolbar.js +2 -2
  175. package/lib/components/Datagrid/Datagrid/DatagridVirtualBody.js +2 -2
  176. package/lib/components/Datagrid/Datagrid/DraggableElement.js +3 -1
  177. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Actions.js +10 -4
  178. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.js +7 -3
  179. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +2 -2
  180. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsModal.js +2 -2
  181. package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +9 -9
  182. package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeRadioGroup.js +24 -27
  183. package/lib/components/Datagrid/{Datagrid.stories → Datagrid.stories-helpers}/CustomizeColumnStory.js +0 -0
  184. package/lib/components/Datagrid/{Datagrid.stories → Datagrid.stories-helpers}/LeftPanelStory.js +0 -0
  185. package/lib/components/Datagrid/{Datagrid.stories → Datagrid.stories-helpers}/RowSizeDropdownStory.js +0 -0
  186. package/lib/components/Datagrid/{Datagrid.stories → Datagrid.stories-helpers}/SelectAllWithToggleStory.js +0 -0
  187. package/lib/components/Datagrid/{Datagrid.stories → Datagrid.stories-helpers}/StickyActionsColumnStory.js +0 -0
  188. package/lib/components/Datagrid/{Datagrid.stories → Datagrid.stories-helpers}/common.js +0 -0
  189. package/lib/components/Datagrid/{Datagrid.stories → Datagrid.stories-helpers}/index.js +2 -2
  190. package/lib/components/Datagrid/useActionsColumn.js +4 -4
  191. package/lib/components/Datagrid/useRowExpander.js +5 -1
  192. package/lib/components/Datagrid/useSelectRows.js +4 -3
  193. package/lib/components/Datagrid/useSortableColumns.js +20 -8
  194. package/lib/components/EditSidePanel/EditSidePanel.js +3 -3
  195. package/lib/components/EditTearsheet/EditTearsheet.js +5 -5
  196. package/lib/components/EditTearsheet/EditTearsheetForm.js +5 -3
  197. package/lib/components/EditTearsheet/preview-components/MultiFormEditTearsheet.js +21 -21
  198. package/lib/components/EmptyStates/EmptyState.js +4 -4
  199. package/lib/components/EmptyStates/EmptyStateContent.js +8 -7
  200. package/lib/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +4 -4
  201. package/lib/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +4 -4
  202. package/lib/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +4 -4
  203. package/lib/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +4 -4
  204. package/lib/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +4 -4
  205. package/lib/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +4 -4
  206. package/lib/components/ExampleComponent/ExampleComponent.js +7 -7
  207. package/lib/components/ExportModal/ExportModal.js +17 -14
  208. package/lib/components/ExpressiveCard/ExpressiveCard.js +1 -1
  209. package/lib/components/HTTPErrors/HTTPErrorContent.js +3 -3
  210. package/lib/components/ImportModal/ImportModal.js +29 -15
  211. package/lib/components/InlineEdit/InlineEdit.js +26 -14
  212. package/lib/components/ModifiedTabs/ModifiedTabLabelNew.js +10 -4
  213. package/lib/components/ModifiedTabs/ModifiedTabLabelWithClose.js +14 -14
  214. package/lib/components/ModifiedTabs/ModifiedTabs.js +66 -45
  215. package/lib/components/MultiAddSelect/MultiAddSelect.js +2 -2
  216. package/lib/components/NotificationsPanel/NotificationsPanel.js +37 -23
  217. package/lib/components/OptionsTile/OptionsTile.js +15 -9
  218. package/lib/components/PageHeader/PageHeader.js +33 -29
  219. package/lib/components/PageHeader/PageHeaderTitle.js +2 -2
  220. package/lib/components/PageHeader/PageHeaderUtils.js +2 -2
  221. package/lib/components/ProductiveCard/ProductiveCard.js +5 -0
  222. package/lib/components/RemoveModal/RemoveModal.js +9 -8
  223. package/lib/components/Saving/Saving.js +28 -10
  224. package/lib/components/SidePanel/SidePanel.js +22 -14
  225. package/lib/components/StatusIcon/StatusIcon.js +300 -75
  226. package/lib/components/TagSet/TagSet.js +8 -17
  227. package/lib/components/TagSet/TagSetModal.js +10 -9
  228. package/lib/components/TagSet/TagSetOverflow.js +38 -35
  229. package/lib/components/TagSet/constants.js +27 -0
  230. package/lib/components/Tearsheet/Tearsheet.js +4 -4
  231. package/lib/components/Tearsheet/TearsheetNarrow.js +3 -3
  232. package/lib/components/Tearsheet/TearsheetShell.js +13 -12
  233. package/lib/components/Toolbar/Toolbar.js +3 -1
  234. package/lib/components/Toolbar/ToolbarButton.js +20 -10
  235. package/lib/components/UserProfileImage/UserProfileImage.js +37 -12
  236. package/lib/components/WebTerminal/WebTerminal.js +45 -23
  237. package/lib/components/WebTerminal/WebTerminalContentWrapper.js +9 -9
  238. package/lib/components/WebTerminal/hooks/index.js +69 -0
  239. package/lib/components/WebTerminal/index.js +15 -1
  240. package/lib/components/WebTerminal/preview-components/Navigation.js +19 -17
  241. package/lib/components/_Canary/Canary.js +2 -2
  242. package/lib/components/index.js +12 -0
  243. package/lib/global/js/package-settings.js +1 -0
  244. package/lib/global/js/utils/test-helper.js +2 -1
  245. package/lib/settings.js +2 -11
  246. package/package.json +18 -19
  247. package/scss/components/APIKeyModal/_api-key-modal.scss +44 -55
  248. package/scss/components/APIKeyModal/_carbon-imports.scss +15 -0
  249. package/scss/components/APIKeyModal/_index-with-carbon.scss +9 -0
  250. package/scss/components/APIKeyModal/_index.scss +1 -1
  251. package/scss/components/APIKeyModal/_storybook-styles.scss +10 -8
  252. package/scss/components/AboutModal/_about-modal.scss +120 -112
  253. package/scss/components/AboutModal/_carbon-imports.scss +11 -0
  254. package/scss/components/AboutModal/_index-with-carbon.scss +9 -0
  255. package/scss/components/AboutModal/_index.scss +1 -1
  256. package/scss/components/AboutModal/_storybook-styles.scss +2 -1
  257. package/scss/components/ActionBar/_action-bar.scss +35 -47
  258. package/scss/components/ActionBar/_carbon-imports.scss +11 -0
  259. package/scss/components/ActionBar/_index-with-carbon.scss +9 -0
  260. package/scss/components/ActionBar/_index.scss +1 -1
  261. package/scss/components/ActionBar/_storybook-styles.scss +1 -1
  262. package/scss/components/ActionSet/_action-set.scss +88 -96
  263. package/scss/components/ActionSet/_carbon-imports.scss +11 -0
  264. package/scss/components/ActionSet/_index-with-carbon.scss +9 -0
  265. package/scss/components/ActionSet/_index.scss +1 -1
  266. package/scss/components/ActionSet/_storybook-styles.scss +3 -3
  267. package/scss/components/AddSelect/_add-select.scss +289 -262
  268. package/scss/components/AddSelect/_carbon-imports.scss +19 -0
  269. package/scss/components/AddSelect/_index-with-carbon.scss +9 -0
  270. package/scss/components/AddSelect/_index.scss +1 -1
  271. package/scss/components/BreadcrumbWithOverflow/_breadcrumb-with-overflow.scss +58 -64
  272. package/scss/components/BreadcrumbWithOverflow/_carbon-imports.scss +12 -0
  273. package/scss/components/BreadcrumbWithOverflow/_index-with-carbon.scss +9 -0
  274. package/scss/components/BreadcrumbWithOverflow/_index.scss +1 -1
  275. package/scss/components/BreadcrumbWithOverflow/_storybook-styles.scss +1 -1
  276. package/scss/components/ButtonMenu/_button-menu.scss +12 -19
  277. package/scss/components/ButtonMenu/_carbon-imports.scss +9 -0
  278. package/scss/components/ButtonMenu/_index-with-carbon.scss +9 -0
  279. package/scss/components/ButtonMenu/_index.scss +1 -1
  280. package/scss/components/ButtonSetWithOverflow/_button-set-with-overflow.scss +24 -34
  281. package/scss/components/ButtonSetWithOverflow/_carbon-imports.scss +10 -0
  282. package/scss/components/ButtonSetWithOverflow/_index-with-carbon.scss +9 -0
  283. package/scss/components/ButtonSetWithOverflow/_index.scss +1 -1
  284. package/scss/components/ButtonSetWithOverflow/_storybook-styles.scss +1 -1
  285. package/scss/components/Card/_carbon-imports.scss +11 -0
  286. package/scss/components/Card/_card.scss +107 -114
  287. package/scss/components/Card/_index-with-carbon.scss +9 -0
  288. package/scss/components/Card/_index.scss +1 -3
  289. package/scss/components/Cascade/_carbon-imports.scss +6 -0
  290. package/scss/components/Cascade/_cascade.scss +30 -34
  291. package/scss/components/Cascade/_index-with-carbon.scss +9 -0
  292. package/scss/components/Cascade/_index.scss +1 -1
  293. package/scss/components/Cascade/_storybook-styles.scss +6 -5
  294. package/scss/components/ComboButton/_carbon-imports.scss +11 -0
  295. package/scss/components/ComboButton/_combo-button.scss +57 -46
  296. package/scss/components/ComboButton/_index-with-carbon.scss +9 -0
  297. package/scss/components/ComboButton/_index.scss +1 -1
  298. package/scss/components/CreateFullPage/_carbon-imports.scss +17 -0
  299. package/scss/components/CreateFullPage/_create-full-page.scss +134 -140
  300. package/scss/components/CreateFullPage/_index-with-carbon.scss +9 -0
  301. package/scss/components/CreateFullPage/_index.scss +1 -1
  302. package/scss/components/CreateFullPage/_storybook-styles.scss +26 -10
  303. package/scss/components/CreateInfluencer/_carbon-imports.scss +10 -0
  304. package/scss/components/CreateInfluencer/_create-influencer.scss +65 -70
  305. package/scss/components/CreateInfluencer/_index-with-carbon.scss +9 -0
  306. package/scss/components/CreateInfluencer/_index.scss +1 -1
  307. package/scss/components/CreateModal/_carbon-imports.scss +12 -0
  308. package/scss/components/CreateModal/_create-modal.scss +56 -59
  309. package/scss/components/CreateModal/_index-with-carbon.scss +9 -0
  310. package/scss/components/CreateModal/_index.scss +1 -1
  311. package/scss/components/CreateModal/_storybook-styles.scss +24 -21
  312. package/scss/components/CreateSidePanel/_carbon-imports.scss +10 -0
  313. package/scss/components/CreateSidePanel/_create-side-panel.scss +65 -71
  314. package/scss/components/CreateSidePanel/_index-with-carbon.scss +9 -0
  315. package/scss/components/CreateSidePanel/_index.scss +1 -1
  316. package/scss/components/CreateSidePanel/_storybook-styles.scss +8 -6
  317. package/scss/components/CreateTearsheet/_carbon-imports.scss +10 -0
  318. package/scss/components/CreateTearsheet/_create-tearsheet.scss +116 -98
  319. package/scss/components/CreateTearsheet/_index-with-carbon.scss +9 -0
  320. package/scss/components/CreateTearsheet/_index.scss +1 -1
  321. package/scss/components/CreateTearsheet/_storybook-styles.scss +14 -11
  322. package/scss/components/CreateTearsheetNarrow/_carbon-imports.scss +10 -0
  323. package/scss/components/CreateTearsheetNarrow/_create-tearsheet-narrow.scss +36 -44
  324. package/scss/components/CreateTearsheetNarrow/_index-with-carbon.scss +9 -0
  325. package/scss/components/CreateTearsheetNarrow/_index.scss +1 -1
  326. package/scss/components/CreateTearsheetNarrow/_storybook-styles.scss +7 -6
  327. package/scss/components/DataSpreadsheet/_carbon-imports.scss +6 -0
  328. package/scss/components/DataSpreadsheet/_data-spreadsheet.scss +217 -173
  329. package/scss/components/DataSpreadsheet/_index-with-carbon.scss +9 -0
  330. package/scss/components/DataSpreadsheet/_index.scss +1 -1
  331. package/scss/components/Datagrid/_carbon-imports.scss +6 -0
  332. package/scss/components/Datagrid/_datagrid.scss +29 -36
  333. package/scss/components/Datagrid/_index-with-carbon.scss +9 -0
  334. package/scss/components/Datagrid/_index.scss +1 -1
  335. package/scss/components/Datagrid/_storybook-styles.scss +15 -11
  336. package/scss/components/Datagrid/styles/{datagrid.scss → _datagrid.scss} +62 -59
  337. package/scss/components/Datagrid/styles/{draggableElement.scss → _draggableElement.scss} +15 -13
  338. package/scss/components/Datagrid/styles/_index.scss +20 -0
  339. package/scss/components/Datagrid/styles/{useActionsColumn.scss → _useActionsColumn.scss} +5 -4
  340. package/scss/components/Datagrid/styles/{useColumnCenterAlign.scss → _useColumnCenterAlign.scss} +2 -1
  341. package/scss/components/Datagrid/styles/{useColumnRightAlign.scss → _useColumnRightAlign.scss} +5 -5
  342. package/scss/components/Datagrid/styles/_useExpandedRow.scss +14 -0
  343. package/scss/components/Datagrid/styles/{useNestedRows.scss → _useNestedRows.scss} +6 -3
  344. package/scss/components/Datagrid/styles/_useNestedTable.scss +34 -0
  345. package/scss/components/Datagrid/styles/{useSelectAllToggle.scss → _useSelectAllToggle.scss} +6 -5
  346. package/scss/components/Datagrid/styles/{useSortableColumns.scss → _useSortableColumns.scss} +14 -12
  347. package/scss/components/Datagrid/styles/{useStickyColumn.scss → _useStickyColumn.scss} +10 -9
  348. package/scss/components/Datagrid/styles/_variables.scss +3 -2
  349. package/scss/components/Datagrid/styles/addons/{CustomizeColumnsModal.scss → _CustomizeColumnsModal.scss} +15 -11
  350. package/scss/components/Datagrid/styles/addons/_RowSizeDropdown.scss +25 -0
  351. package/scss/components/EditFullPage/_edit-full-page.scss +9 -17
  352. package/scss/components/EditSidePanel/_carbon-imports.scss +9 -0
  353. package/scss/components/EditSidePanel/_edit-side-panel.scss +45 -54
  354. package/scss/components/EditSidePanel/_index-with-carbon.scss +9 -0
  355. package/scss/components/EditSidePanel/_index.scss +1 -1
  356. package/scss/components/EditSidePanel/_storybook-styles.scss +3 -1
  357. package/scss/components/EditTearsheet/_edit-tearsheet.scss +95 -93
  358. package/scss/components/EditTearsheet/_storybook-styles.scss +15 -11
  359. package/scss/components/EditTearsheetNarrow/_edit-tearsheet-narrow.scss +9 -17
  360. package/scss/components/EmptyStates/_carbon-imports.scss +11 -0
  361. package/scss/components/EmptyStates/_empty-state.scss +41 -44
  362. package/scss/components/EmptyStates/_index-with-carbon.scss +9 -0
  363. package/scss/components/EmptyStates/_index.scss +1 -1
  364. package/scss/components/ExampleComponent/_carbon-imports.scss +10 -0
  365. package/scss/components/ExampleComponent/_example-component.scss +15 -26
  366. package/scss/components/ExampleComponent/_index-with-carbon.scss +9 -0
  367. package/scss/components/ExampleComponent/_index.scss +1 -1
  368. package/scss/components/ExportModal/_carbon-imports.scss +16 -0
  369. package/scss/components/ExportModal/_export-modal.scss +41 -48
  370. package/scss/components/ExportModal/_index-with-carbon.scss +9 -0
  371. package/scss/components/ExportModal/_index.scss +1 -1
  372. package/scss/components/ExpressiveCard/_carbon-imports.scss +6 -0
  373. package/scss/components/ExpressiveCard/_expressive-card.scss +7 -14
  374. package/scss/components/ExpressiveCard/_index-with-carbon.scss +9 -0
  375. package/scss/components/ExpressiveCard/_index.scss +1 -1
  376. package/scss/components/ExpressiveCard/_storybook-styles.scss +6 -5
  377. package/scss/components/HTTPErrors/_carbon-imports.scss +10 -0
  378. package/scss/components/HTTPErrors/_http-errors.scss +48 -56
  379. package/scss/components/HTTPErrors/_index-with-carbon.scss +9 -0
  380. package/scss/components/HTTPErrors/_index.scss +1 -1
  381. package/scss/components/ImportModal/_carbon-imports.scss +14 -0
  382. package/scss/components/ImportModal/_import-modal.scss +72 -77
  383. package/scss/components/ImportModal/_index-with-carbon.scss +9 -0
  384. package/scss/components/ImportModal/_index.scss +1 -1
  385. package/scss/components/InlineEdit/_carbon-imports.scss +6 -0
  386. package/scss/components/InlineEdit/_index-with-carbon.scss +9 -0
  387. package/scss/components/InlineEdit/_index.scss +1 -1
  388. package/scss/components/InlineEdit/_inline-edit.scss +261 -237
  389. package/scss/components/InlineEdit/_storybook-styles.scss +7 -3
  390. package/scss/components/ModifiedTabs/_carbon-imports.scss +10 -0
  391. package/scss/components/ModifiedTabs/_index-with-carbon.scss +9 -0
  392. package/scss/components/ModifiedTabs/_index.scss +8 -1
  393. package/scss/components/ModifiedTabs/_modified-tabs.scss +38 -16
  394. package/scss/components/MultiAddSelect/_carbon-imports.scss +6 -0
  395. package/scss/components/MultiAddSelect/_index-with-carbon.scss +9 -0
  396. package/scss/components/MultiAddSelect/_index.scss +8 -1
  397. package/scss/components/MultiAddSelect/_multi-add-select.scss +1 -1
  398. package/scss/components/NotificationsPanel/_carbon-imports.scss +12 -0
  399. package/scss/components/NotificationsPanel/_index-with-carbon.scss +9 -0
  400. package/scss/components/NotificationsPanel/_index.scss +1 -1
  401. package/scss/components/NotificationsPanel/_notifications-panel.scss +241 -237
  402. package/scss/components/NotificationsPanel/_storybook-styles.scss +9 -0
  403. package/scss/components/OptionsTile/_carbon-imports.scss +10 -0
  404. package/scss/components/OptionsTile/_index-with-carbon.scss +9 -0
  405. package/scss/components/OptionsTile/_index.scss +1 -1
  406. package/scss/components/OptionsTile/_options-tile.scss +173 -171
  407. package/scss/components/OptionsTile/_storybook-styles.scss +7 -4
  408. package/scss/components/PageHeader/_carbon-imports.scss +13 -0
  409. package/scss/components/PageHeader/_index-with-carbon.scss +9 -0
  410. package/scss/components/PageHeader/_index.scss +1 -1
  411. package/scss/components/PageHeader/_page-header.scss +449 -461
  412. package/scss/components/PageHeader/_storybook-styles.scss +15 -11
  413. package/scss/components/ProductiveCard/_carbon-imports.scss +6 -0
  414. package/scss/components/ProductiveCard/_index-with-carbon.scss +9 -0
  415. package/scss/components/ProductiveCard/_index.scss +1 -1
  416. package/scss/components/ProductiveCard/_productive-card.scss +43 -48
  417. package/scss/components/ProductiveCard/_storybook-styles.scss +7 -6
  418. package/scss/components/RemoveModal/_carbon-imports.scss +12 -0
  419. package/scss/components/RemoveModal/_index-with-carbon.scss +9 -0
  420. package/scss/components/RemoveModal/_index.scss +1 -1
  421. package/scss/components/RemoveModal/_remove-modal.scss +17 -26
  422. package/scss/components/Saving/_carbon-imports.scss +11 -0
  423. package/scss/components/Saving/_index-with-carbon.scss +9 -0
  424. package/scss/components/Saving/_index.scss +1 -1
  425. package/scss/components/Saving/_saving.scss +19 -27
  426. package/scss/components/Saving/_storybook-styles.scss +1 -1
  427. package/scss/components/SidePanel/_carbon-imports.scss +10 -0
  428. package/scss/components/SidePanel/_index-with-carbon.scss +9 -0
  429. package/scss/components/SidePanel/_index.scss +1 -1
  430. package/scss/components/SidePanel/_side-panel-variables.scss +1 -1
  431. package/scss/components/SidePanel/_side-panel.scss +402 -392
  432. package/scss/components/SidePanel/_storybook-styles.scss +6 -4
  433. package/scss/components/SingleAddSelect/_carbon-imports.scss +6 -0
  434. package/scss/components/SingleAddSelect/_index-with-carbon.scss +9 -0
  435. package/scss/components/SingleAddSelect/_index.scss +1 -1
  436. package/scss/components/SingleAddSelect/_single-add-select.scss +1 -1
  437. package/scss/components/StatusIcon/_carbon-imports.scss +6 -0
  438. package/scss/components/StatusIcon/_index-with-carbon.scss +9 -0
  439. package/scss/components/StatusIcon/_index.scss +1 -1
  440. package/scss/components/StatusIcon/_status-icon.scss +30 -27
  441. package/scss/components/TagSet/_carbon-imports.scss +14 -0
  442. package/scss/components/TagSet/_index-with-carbon.scss +9 -0
  443. package/scss/components/TagSet/_index.scss +1 -1
  444. package/scss/components/TagSet/_storybook-styles.scss +1 -1
  445. package/scss/components/TagSet/_tag-set.scss +141 -129
  446. package/scss/components/Tearsheet/_carbon-imports.scss +10 -0
  447. package/scss/components/Tearsheet/_index-with-carbon.scss +9 -0
  448. package/scss/components/Tearsheet/_index.scss +1 -1
  449. package/scss/components/Tearsheet/_storybook-styles.scss +6 -5
  450. package/scss/components/Tearsheet/_tearsheet.scss +269 -263
  451. package/scss/components/Toolbar/_carbon-imports.scss +8 -0
  452. package/scss/components/Toolbar/_index-with-carbon.scss +9 -0
  453. package/scss/components/Toolbar/_index.scss +1 -1
  454. package/scss/components/Toolbar/_toolbar.scss +53 -56
  455. package/scss/components/UserProfileImage/_carbon-imports.scss +10 -0
  456. package/scss/components/UserProfileImage/_color-map.scss +30 -30
  457. package/scss/components/UserProfileImage/_index-with-carbon.scss +9 -0
  458. package/scss/components/UserProfileImage/_index.scss +1 -1
  459. package/scss/components/UserProfileImage/_user-profile-image.scss +83 -79
  460. package/scss/components/WebTerminal/_carbon-imports.scss +6 -0
  461. package/scss/components/WebTerminal/_index-with-carbon.scss +9 -0
  462. package/scss/components/WebTerminal/_index.scss +1 -1
  463. package/scss/components/WebTerminal/_storybook-styles.scss +12 -2
  464. package/scss/components/WebTerminal/_web-terminal.scss +16 -5
  465. package/scss/components/_Canary/_canary.scss +2 -4
  466. package/scss/components/_index-released-only-with-carbon.scss +35 -0
  467. package/scss/components/_index-released-only.scss +26 -26
  468. package/scss/components/_index-with-carbon.scss +47 -0
  469. package/scss/components/_index.scss +40 -40
  470. package/scss/global/styles/_display-box.scss +9 -5
  471. package/scss/global/styles/_project-settings.scss +2 -18
  472. package/scss/index-full-carbon.scss +4 -5
  473. package/scss/index-without-carbon-released-only.scss +5 -6
  474. package/scss/index-without-carbon.scss +5 -6
  475. package/scss/index.scss +4 -4
  476. package/css/components/Datagrid/styles/addons/CustomizeColumnsModal.css +0 -47
  477. package/css/components/Datagrid/styles/addons/CustomizeColumnsModal.css.map +0 -1
  478. package/css/components/Datagrid/styles/addons/RowSizeDropdown.css +0 -20
  479. package/css/components/Datagrid/styles/addons/RowSizeDropdown.css.map +0 -1
  480. package/css/components/Datagrid/styles/datagrid.css +0 -383
  481. package/css/components/Datagrid/styles/datagrid.css.map +0 -1
  482. package/css/components/Datagrid/styles/draggableElement.css +0 -57
  483. package/css/components/Datagrid/styles/draggableElement.css.map +0 -1
  484. package/css/components/Datagrid/styles/index.css +0 -732
  485. package/css/components/Datagrid/styles/index.css.map +0 -1
  486. package/css/components/Datagrid/styles/useActionsColumn.css +0 -23
  487. package/css/components/Datagrid/styles/useActionsColumn.css.map +0 -1
  488. package/css/components/Datagrid/styles/useColumnCenterAlign.css +0 -18
  489. package/css/components/Datagrid/styles/useColumnCenterAlign.css.map +0 -1
  490. package/css/components/Datagrid/styles/useColumnRightAlign.css +0 -28
  491. package/css/components/Datagrid/styles/useColumnRightAlign.css.map +0 -1
  492. package/css/components/Datagrid/styles/useExpandedRow.css +0 -9
  493. package/css/components/Datagrid/styles/useExpandedRow.css.map +0 -1
  494. package/css/components/Datagrid/styles/useNestedRows.css +0 -15
  495. package/css/components/Datagrid/styles/useNestedRows.css.map +0 -1
  496. package/css/components/Datagrid/styles/useNestedTable.css +0 -25
  497. package/css/components/Datagrid/styles/useNestedTable.css.map +0 -1
  498. package/css/components/Datagrid/styles/useSelectAllToggle.css +0 -28
  499. package/css/components/Datagrid/styles/useSelectAllToggle.css.map +0 -1
  500. package/css/components/Datagrid/styles/useSortableColumns.css +0 -50
  501. package/css/components/Datagrid/styles/useSortableColumns.css.map +0 -1
  502. package/css/components/Datagrid/styles/useStickyColumn.css +0 -35
  503. package/css/components/Datagrid/styles/useStickyColumn.css.map +0 -1
  504. package/scss/components/Datagrid/styles/addons/RowSizeDropdown.scss +0 -23
  505. package/scss/components/Datagrid/styles/index.scss +0 -20
  506. package/scss/components/Datagrid/styles/useExpandedRow.scss +0 -7
  507. package/scss/components/Datagrid/styles/useNestedTable.scss +0 -28
  508. package/scss/global/styles/_generate-carbon-modules.scss +0 -14
@@ -1,6 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
- var _excluded = ["children", "className", "iconDescription", "kind", "label", "menuOptionsClass", "renderIcon", "size"];
3
+ var _excluded = ["children", "className", "iconDescription", "kind", "label", "menuAriaLabel", "menuOptionsClass", "renderIcon", "size"];
4
4
 
5
5
  /**
6
6
  * Copyright IBM Corp. 2021, 2021
@@ -13,16 +13,16 @@ import React from 'react'; // Other standard imports.
13
13
 
14
14
  import PropTypes from 'prop-types';
15
15
  import cx from 'classnames';
16
- import { pkg, carbon } from '../../settings'; // Carbon and package components we use.
16
+ import { pkg } from '../../settings'; // Carbon and package components we use.
17
17
 
18
- import { Button, OverflowMenu } from 'carbon-components-react'; // The block part of our conventional BEM class names (blockClass__E--M).
18
+ import { Button, OverflowMenu, usePrefix } from '@carbon/react'; // The block part of our conventional BEM class names (blockClass__E--M).
19
19
 
20
20
  var blockClass = "".concat(pkg.prefix, "--button-menu");
21
21
  var componentName = 'ButtonMenu'; // NOTE: the component SCSS is not imported here: it is rolled up separately.
22
22
  // Default values for props
23
23
 
24
24
  var defaults = {
25
- size: 'default',
25
+ size: 'lg',
26
26
  kind: 'primary'
27
27
  };
28
28
  /**
@@ -40,24 +40,27 @@ export var ButtonMenu = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
40
40
  _ref$kind = _ref.kind,
41
41
  kind = _ref$kind === void 0 ? defaults.kind : _ref$kind,
42
42
  label = _ref.label,
43
+ menuAriaLabel = _ref.menuAriaLabel,
43
44
  menuOptionsClass = _ref.menuOptionsClass,
44
45
  Icon = _ref.renderIcon,
45
46
  _ref$size = _ref.size,
46
47
  size = _ref$size === void 0 ? defaults.size : _ref$size,
47
48
  rest = _objectWithoutProperties(_ref, _excluded);
48
49
 
50
+ var carbonPrefix = usePrefix();
49
51
  return /*#__PURE__*/React.createElement(OverflowMenu, _extends({}, rest, {
50
52
  className: cx(blockClass, // Apply the block class to the main HTML element
51
53
  className // Apply any supplied class names to the main HTML element.
52
54
  ),
55
+ ariaLabel: menuAriaLabel,
53
56
  menuOptionsClass: cx("".concat(blockClass, "__options"), menuOptionsClass),
54
57
  renderIcon: function renderIcon() {
55
58
  return /*#__PURE__*/React.createElement("div", {
56
- className: cx(["".concat(blockClass, "__trigger"), "".concat(carbon.prefix, "--btn"), "".concat(carbon.prefix, "--btn--").concat(kind), "".concat(carbon.prefix, "--btn--").concat(size)])
59
+ className: cx(["".concat(blockClass, "__trigger"), "".concat(carbonPrefix, "--btn"), "".concat(carbonPrefix, "--btn--").concat(kind), "".concat(carbonPrefix, "--btn--").concat(size)])
57
60
  }, label, Icon && /*#__PURE__*/React.createElement(Icon, {
58
61
  "aria-hidden": "true",
59
62
  "aria-label": iconDescription,
60
- className: "".concat(carbon.prefix, "--btn__icon")
63
+ className: "".concat(carbonPrefix, "--btn__icon")
61
64
  }));
62
65
  },
63
66
  innerRef: ref
@@ -99,6 +102,12 @@ ButtonMenu.propTypes = {
99
102
  */
100
103
  label: PropTypes.node,
101
104
 
105
+ /**
106
+ * Provide the ariaLabel prop to be passed to the OverflowMenu. This is distinctly
107
+ * separate from `label` to support icon only ButtonMenus
108
+ */
109
+ menuAriaLabel: PropTypes.string.isRequired,
110
+
102
111
  /**
103
112
  * class name applied to the overflow options
104
113
  */
@@ -11,7 +11,7 @@ import React from 'react'; // Other standard imports.
11
11
 
12
12
  import { pkg } from '../../settings'; // Carbon and package components we use.
13
13
 
14
- import { OverflowMenuItem } from 'carbon-components-react';
14
+ import { OverflowMenuItem } from '@carbon/react';
15
15
  var componentName = 'ButtonMenuItem'; // NOTE: the component SCSS is not imported here: it is rolled up separately.
16
16
 
17
17
  /**
@@ -27,13 +27,13 @@ import React, { useEffect, useState, useRef } from 'react';
27
27
  import PropTypes from 'prop-types';
28
28
  import cx from 'classnames';
29
29
  import { useResizeDetector } from 'react-resize-detector';
30
- import { ButtonSet, Button } from 'carbon-components-react';
30
+ import { ButtonSet, Button, usePrefix } from '@carbon/react';
31
31
  import { ButtonMenu, ButtonMenuItem } from '../ButtonMenu';
32
- import { pkg, carbon } from '../../settings';
32
+ import { pkg } from '../../settings';
33
33
  import { prepareProps } from '../../global/js/utils/props-helper';
34
34
  var blockClass = "".concat(pkg.prefix, "--button-set-with-overflow");
35
35
  var componentName = 'ButtonSetWithOverflow';
36
- var buttonSize = 'field';
36
+ var buttonSize = 'md';
37
37
  export var ButtonSetWithOverflow = function ButtonSetWithOverflow(_ref) {
38
38
  var buttons = _ref.buttons,
39
39
  className = _ref.className,
@@ -41,6 +41,7 @@ export var ButtonSetWithOverflow = function ButtonSetWithOverflow(_ref) {
41
41
  buttonSetOverflowLabel = _ref.buttonSetOverflowLabel,
42
42
  menuOptionsClass = _ref.menuOptionsClass,
43
43
  rightAlign = _ref.rightAlign;
44
+ var carbonPrefix = usePrefix();
44
45
 
45
46
  var _useState = useState(false),
46
47
  _useState2 = _slicedToArray(_useState, 2),
@@ -66,7 +67,7 @@ export var ButtonSetWithOverflow = function ButtonSetWithOverflow(_ref) {
66
67
  var spaceAvailable = (_spaceAvailableRef$cu = spaceAvailableRef.current) === null || _spaceAvailableRef$cu === void 0 ? void 0 : _spaceAvailableRef$cu.offsetWidth;
67
68
  var newShowAsOverflow = true; // get all of the hidden sizing buttons
68
69
 
69
- var sizingSet = (_sizingContainerRefSe = sizingContainerRefSet.current) === null || _sizingContainerRefSe === void 0 ? void 0 : _sizingContainerRefSe.querySelectorAll(".".concat(carbon.prefix, "--btn")); // calculate total width of button set
70
+ var sizingSet = (_sizingContainerRefSe = sizingContainerRefSet.current) === null || _sizingContainerRefSe === void 0 ? void 0 : _sizingContainerRefSe.querySelectorAll(".".concat(carbonPrefix, "--btn")); // calculate total width of button set
70
71
 
71
72
  var sizingSetTotalSize = 0;
72
73
 
@@ -134,7 +135,8 @@ export var ButtonSetWithOverflow = function ButtonSetWithOverflow(_ref) {
134
135
 
135
136
  return /*#__PURE__*/React.createElement(ButtonMenu, _extends({}, rest, {
136
137
  ref: ref,
137
- label: buttonSetOverflowLabel
138
+ label: buttonSetOverflowLabel,
139
+ menuAriaLabel: buttonSetOverflowLabel
138
140
  }), buttons.map(function (_ref5) {
139
141
  var label = _ref5.label,
140
142
  key = _ref5.key,
@@ -1,9 +1,9 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
4
- var _excluded = ["actionIcons", "actionsPlacement", "children", "className", "clickZone", "description", "label", "media", "mediaPosition", "onClick", "onKeyDown", "onPrimaryButtonClick", "overflowActions", "onSecondaryButtonClick", "pictogram", "primaryButtonHref", "primaryButtonIcon", "primaryButtonKind", "primaryButtonText", "productive", "secondaryButtonHref", "secondaryButtonIcon", "secondaryButtonKind", "secondaryButtonText", "title", "titleSize"],
4
+ var _excluded = ["actionIcons", "actionsPlacement", "children", "className", "clickZone", "description", "label", "media", "mediaPosition", "onClick", "onKeyDown", "onPrimaryButtonClick", "overflowActions", "overflowAriaLabel", "onSecondaryButtonClick", "pictogram", "primaryButtonHref", "primaryButtonIcon", "primaryButtonKind", "primaryButtonText", "productive", "secondaryButtonHref", "secondaryButtonIcon", "secondaryButtonKind", "secondaryButtonText", "title", "titleSize"],
5
5
  _excluded2 = ["id"],
6
- _excluded3 = ["id", "icon", "onClick", "iconDescription", "onKeyDown", "href"];
6
+ _excluded3 = ["id", "icon", "onClick", "iconDescription", "href"];
7
7
 
8
8
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
9
9
 
@@ -17,7 +17,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
17
17
  //
18
18
  import React, { forwardRef } from 'react';
19
19
  import cx from 'classnames';
20
- import { Button, OverflowMenu, OverflowMenuItem } from 'carbon-components-react';
20
+ import { Button, IconButton, OverflowMenu, OverflowMenuItem } from '@carbon/react';
21
21
  import PropTypes from 'prop-types';
22
22
  import { CardHeader } from './CardHeader';
23
23
  import { CardFooter } from './CardFooter';
@@ -54,6 +54,7 @@ export var Card = /*#__PURE__*/forwardRef(function (_ref, ref) {
54
54
  onPrimaryButtonClick = _ref.onPrimaryButtonClick,
55
55
  _ref$overflowActions = _ref.overflowActions,
56
56
  overflowActions = _ref$overflowActions === void 0 ? defaults.overflowActions : _ref$overflowActions,
57
+ overflowAriaLabel = _ref.overflowAriaLabel,
57
58
  onSecondaryButtonClick = _ref.onSecondaryButtonClick,
58
59
  Pictogram = _ref.pictogram,
59
60
  primaryButtonHref = _ref.primaryButtonHref,
@@ -93,7 +94,8 @@ export var Card = /*#__PURE__*/forwardRef(function (_ref, ref) {
93
94
  return /*#__PURE__*/React.createElement(OverflowMenu, {
94
95
  size: size,
95
96
  direction: pos,
96
- flipped: true
97
+ flipped: true,
98
+ ariaLabel: overflowAriaLabel
97
99
  }, overflowActions.map(function (_ref2) {
98
100
  var id = _ref2.id,
99
101
  rest = _objectWithoutProperties(_ref2, _excluded2);
@@ -109,7 +111,6 @@ export var Card = /*#__PURE__*/forwardRef(function (_ref, ref) {
109
111
  Icon = _ref3.icon,
110
112
  onClick = _ref3.onClick,
111
113
  iconDescription = _ref3.iconDescription,
112
- onKeyDown = _ref3.onKeyDown,
113
114
  href = _ref3.href,
114
115
  rest = _objectWithoutProperties(_ref3, _excluded3);
115
116
 
@@ -119,7 +120,7 @@ export var Card = /*#__PURE__*/forwardRef(function (_ref, ref) {
119
120
  renderIcon: Icon,
120
121
  hasIconOnly: true,
121
122
  onClick: onClick,
122
- size: actionsPlacement === 'top' ? 'sm' : 'field',
123
+ size: actionsPlacement === 'top' ? 'sm' : 'md',
123
124
  iconDescription: iconDescription,
124
125
  kind: "ghost",
125
126
  href: href
@@ -137,13 +138,13 @@ export var Card = /*#__PURE__*/forwardRef(function (_ref, ref) {
137
138
  }));
138
139
  }
139
140
 
140
- return /*#__PURE__*/React.createElement("div", {
141
+ return /*#__PURE__*/React.createElement(IconButton, {
141
142
  key: id,
143
+ label: iconDescription,
142
144
  className: "".concat(blockClass, "__icon"),
143
145
  onClick: onClick,
144
- onKeyDown: onKeyDown,
145
- role: "button",
146
- tabIndex: "0"
146
+ kind: "ghost",
147
+ size: "sm"
147
148
  }, /*#__PURE__*/React.createElement(Icon, {
148
149
  "aria-label": iconDescription
149
150
  }));
@@ -252,6 +253,7 @@ Card.propTypes = {
252
253
  onClick: PropTypes.func,
253
254
  onKeyDown: PropTypes.func
254
255
  })),
256
+ overflowAriaLabel: PropTypes.string,
255
257
  pictogram: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
256
258
  primaryButtonHref: PropTypes.string,
257
259
  primaryButtonIcon: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
@@ -7,7 +7,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
7
7
  //
8
8
  import React from 'react';
9
9
  import cx from 'classnames';
10
- import { Button } from 'carbon-components-react';
10
+ import { Button } from '@carbon/react';
11
11
  import PropTypes from 'prop-types';
12
12
  import { pkg } from '../../settings';
13
13
  var componentName = 'CardFooter';
@@ -44,13 +44,13 @@ export var CardFooter = function CardFooter(_ref) {
44
44
  }, secondaryButtonText && /*#__PURE__*/React.createElement(Button, {
45
45
  kind: secondaryButtonKind,
46
46
  onClick: onSecondaryButtonClick,
47
- size: "field",
47
+ size: "md",
48
48
  renderIcon: secondaryButtonIcon,
49
49
  href: secondaryButtonHref
50
50
  }, secondaryButtonText), primaryButtonText && /*#__PURE__*/React.createElement(Button, {
51
51
  kind: productive ? 'ghost' : primaryButtonKind,
52
52
  onClick: onPrimaryButtonClick,
53
- size: "field",
53
+ size: "md",
54
54
  renderIcon: primaryButtonIcon,
55
55
  href: primaryButtonHref
56
56
  }, primaryButtonText), hasActions && /*#__PURE__*/React.createElement("div", {
@@ -13,7 +13,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
13
13
  // LICENSE file in the root directory of this source tree.
14
14
  //
15
15
  import React, { forwardRef } from 'react';
16
- import { Grid } from 'carbon-components-react';
16
+ import { Grid } from '@carbon/react';
17
17
  import cx from 'classnames';
18
18
  import PropTypes from 'prop-types';
19
19
  import { pkg } from '../../settings';
@@ -17,8 +17,8 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
17
17
  * This source code is licensed under the Apache-2.0 license found in the
18
18
  * LICENSE file in the root directory of this source tree.
19
19
  */
20
- import { ChevronDown16, ChevronUp16 } from '@carbon/icons-react';
21
- import { Button, OverflowMenuItem, OverflowMenu } from 'carbon-components-react';
20
+ import { ChevronDown, ChevronUp } from '@carbon/icons-react';
21
+ import { Button, OverflowMenuItem, OverflowMenu } from '@carbon/react';
22
22
  import classnames from 'classnames';
23
23
  import { node, shape, string } from 'prop-types';
24
24
  import uuidv4 from '../../global/js/utils/uuidv4';
@@ -71,7 +71,15 @@ var ComboButton = function ComboButton(_ref) {
71
71
  return setIsOpen(false);
72
72
  },
73
73
  renderIcon: function renderIcon() {
74
- return /*#__PURE__*/createElement(isOpen ? ChevronUp16 : ChevronDown16, {
74
+ return /*#__PURE__*/createElement(isOpen ? function (props) {
75
+ return /*#__PURE__*/React.createElement(ChevronUp, _extends({
76
+ size: 16
77
+ }, props));
78
+ } : function (props) {
79
+ return /*#__PURE__*/React.createElement(ChevronDown, _extends({
80
+ size: 16
81
+ }, props));
82
+ }, {
75
83
  className: "".concat(blockClass, "__overflow-menu__icon")
76
84
  });
77
85
  },
@@ -17,7 +17,7 @@ import cx from 'classnames';
17
17
  import { getDevtoolsProps } from '../../global/js/utils/devtools';
18
18
  import { pkg } from '../../settings'; // Carbon and package components we use.
19
19
 
20
- import { Grid, ModalFooter, ComposedModal, ModalHeader, ModalBody, Button, Form } from 'carbon-components-react';
20
+ import { ModalFooter, ComposedModal, ModalHeader, ModalBody, Button, Form } from '@carbon/react';
21
21
  import { CreateInfluencer } from '../CreateInfluencer';
22
22
  import { ActionSet } from '../ActionSet';
23
23
  import { usePreviousValue, useValidCreateStepCount, useCreateComponentFocus, useCreateComponentStepChange } from '../../global/js/hooks';
@@ -167,7 +167,7 @@ export var CreateFullPage = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
167
167
  className: "".concat(blockClass, "__main")
168
168
  }, /*#__PURE__*/React.createElement("div", {
169
169
  className: "".concat(blockClass, "__content")
170
- }, /*#__PURE__*/React.createElement(Grid, null, /*#__PURE__*/React.createElement(Form, {
170
+ }, /*#__PURE__*/React.createElement(Form, {
171
171
  className: "".concat(blockClass, "__form")
172
172
  }, /*#__PURE__*/React.createElement(StepsContext.Provider, {
173
173
  value: {
@@ -190,10 +190,10 @@ export var CreateFullPage = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
190
190
  return /*#__PURE__*/React.createElement(StepNumberContext.Provider, {
191
191
  value: index + 1
192
192
  }, child);
193
- }))))), /*#__PURE__*/React.createElement(ActionSet, {
193
+ })))), /*#__PURE__*/React.createElement(ActionSet, {
194
194
  className: "".concat(blockClass, "__buttons"),
195
195
  actions: createFullPageActions,
196
- size: "max"
196
+ size: "2xl"
197
197
  }))), /*#__PURE__*/React.createElement(ComposedModal, {
198
198
  className: "".concat(blockClass, "__modal"),
199
199
  size: "sm",
@@ -14,7 +14,7 @@ import React, { forwardRef, useContext, useEffect, useState } from 'react';
14
14
  import PropTypes from 'prop-types';
15
15
  import cx from 'classnames';
16
16
  import { pkg } from '../../settings';
17
- import { FormGroup } from 'carbon-components-react';
17
+ import { FormGroup } from '@carbon/react';
18
18
  import { StepsContext, StepNumberContext } from './CreateFullPage';
19
19
  import { usePreviousValue, useRetrieveStepData } from '../../global/js/hooks';
20
20
  import pconsole from '../../global/js/utils/pconsole';
@@ -8,7 +8,7 @@
8
8
  import React from 'react';
9
9
  import PropTypes from 'prop-types';
10
10
  import cx from 'classnames';
11
- import { ProgressIndicator, ProgressStep } from 'carbon-components-react';
11
+ import { ProgressIndicator, ProgressStep } from '@carbon/react';
12
12
  import '../../global/js/utils/props-helper';
13
13
  import { pkg } from '../../settings'; // The block part of our conventional BEM class names (blockClass__E--M).
14
14
 
@@ -11,7 +11,7 @@ var _excluded = ["className", "children", "onRequestClose", "onRequestSubmit", "
11
11
  // Import portions of React that are needed.
12
12
  import React from 'react'; // Carbon and package components we use.
13
13
 
14
- import { ComposedModal, ModalHeader, ModalFooter, ModalBody, Form, Button } from 'carbon-components-react';
14
+ import { ComposedModal, ModalHeader, ModalFooter, ModalBody, Form, Button } from '@carbon/react';
15
15
  import PropTypes from 'prop-types';
16
16
  import cx from 'classnames';
17
17
  import { getDevtoolsProps } from '../../global/js/utils/devtools';
@@ -21,7 +21,7 @@ import cx from 'classnames';
21
21
  import { pkg } from '../../settings';
22
22
  import { getDevtoolsProps } from '../../global/js/utils/devtools'; // Carbon and package components we use.
23
23
 
24
- import { Form } from 'carbon-components-react';
24
+ import { Form } from '@carbon/react';
25
25
  import { SidePanel } from '../SidePanel'; // The block part of our conventional BEM class names (blockClass__E--M).
26
26
 
27
27
  var blockClass = "".concat(pkg.prefix, "--create-side-panel");
@@ -12,7 +12,7 @@ var _excluded = ["backButtonText", "cancelButtonText", "children", "className",
12
12
  import React, { forwardRef, useState, useRef, createContext, useEffect } from 'react';
13
13
  import PropTypes from 'prop-types';
14
14
  import cx from 'classnames';
15
- import { Grid, Form } from 'carbon-components-react';
15
+ import { Form } from '@carbon/react';
16
16
  import wrapFocus from '../../global/js/utils/wrapFocus';
17
17
  import { TearsheetShell } from '../Tearsheet/TearsheetShell';
18
18
  import { CreateInfluencer } from '../CreateInfluencer';
@@ -200,7 +200,7 @@ export var CreateTearsheet = /*#__PURE__*/forwardRef(function (_ref, ref) {
200
200
  className: "".concat(blockClass, "__content"),
201
201
  onBlur: handleBlur,
202
202
  ref: contentRef
203
- }, /*#__PURE__*/React.createElement(Grid, null, /*#__PURE__*/React.createElement(Form, null, /*#__PURE__*/React.createElement(StepsContext.Provider, {
203
+ }, /*#__PURE__*/React.createElement(Form, null, /*#__PURE__*/React.createElement(StepsContext.Provider, {
204
204
  value: {
205
205
  currentStep: currentStep,
206
206
  setIsDisabled: setIsDisabled,
@@ -221,7 +221,7 @@ export var CreateTearsheet = /*#__PURE__*/forwardRef(function (_ref, ref) {
221
221
  return /*#__PURE__*/React.createElement(StepNumberContext.Provider, {
222
222
  value: index + 1
223
223
  }, child);
224
- }))))));
224
+ })))));
225
225
  }); // Return a placeholder if not released and not enabled by feature flag
226
226
 
227
227
  CreateTearsheet = pkg.checkComponentEnabled(CreateTearsheet, componentName); // The display name of the component, used by React. Note that displayName
@@ -13,7 +13,7 @@ var _excluded = ["children", "className", "description", "disableSubmit", "field
13
13
  import React, { forwardRef, useContext, useEffect, useState } from 'react';
14
14
  import PropTypes from 'prop-types';
15
15
  import cx from 'classnames';
16
- import { Column, FormGroup, Row } from 'carbon-components-react';
16
+ import { Column, FormGroup, Grid } from '@carbon/react';
17
17
  import { StepsContext, StepNumberContext } from './CreateTearsheet';
18
18
  import { pkg } from '../../settings';
19
19
  import pconsole from '../../global/js/utils/pconsole';
@@ -86,7 +86,9 @@ export var CreateTearsheetStep = /*#__PURE__*/forwardRef(function (_ref, ref) {
86
86
  return stepsContext ? /*#__PURE__*/React.createElement("div", _extends({}, rest, {
87
87
  className: cx(blockClass, className, (_cx = {}, _defineProperty(_cx, "".concat(blockClass, "__step--hidden-step"), stepNumber !== (stepsContext === null || stepsContext === void 0 ? void 0 : stepsContext.currentStep)), _defineProperty(_cx, "".concat(blockClass, "__step--visible-step"), stepNumber === (stepsContext === null || stepsContext === void 0 ? void 0 : stepsContext.currentStep)), _cx)),
88
88
  ref: ref
89
- }), /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Column, {
89
+ }), /*#__PURE__*/React.createElement(Grid, {
90
+ narrow: true
91
+ }, /*#__PURE__*/React.createElement(Column, {
90
92
  xlg: 12,
91
93
  lg: 12,
92
94
  md: 8,
@@ -12,7 +12,7 @@ var _excluded = ["value1", "setValue1"];
12
12
  * LICENSE file in the root directory of this source tree.
13
13
  */
14
14
  import React, { useState } from 'react';
15
- import { Button, Column, InlineNotification, RadioButtonGroup, RadioButton, Row, TextInput, Toggle, NumberInput, Checkbox } from 'carbon-components-react';
15
+ import { Button, Column, Grid, InlineNotification, RadioButtonGroup, RadioButton, TextInput, Toggle, NumberInput, Checkbox } from '@carbon/react';
16
16
  import cx from 'classnames';
17
17
  import { pkg } from '../../../settings';
18
18
  import { CreateTearsheet } from '../CreateTearsheet';
@@ -26,7 +26,9 @@ var CustomStep = function CustomStep(_ref) {
26
26
 
27
27
  return /*#__PURE__*/React.createElement(CreateTearsheetStep, _extends({}, rest, {
28
28
  disableSubmit: !value1
29
- }), /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Column, {
29
+ }), /*#__PURE__*/React.createElement(Grid, {
30
+ narrow: true
31
+ }, /*#__PURE__*/React.createElement(Column, {
30
32
  xlg: 8,
31
33
  lg: 8,
32
34
  md: 8,
@@ -170,7 +172,9 @@ export var MultiStepTearsheet = function MultiStepTearsheet(_ref2) {
170
172
  disableSubmit: !stepOneTextInputValue,
171
173
  subtitle: "This is the unique name used to recognize your topic",
172
174
  description: "It will also be used by your producers and consumers as part of the connection information, so make it something easy to recognize."
173
- }, /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Column, {
175
+ }, /*#__PURE__*/React.createElement(Grid, {
176
+ narrow: true
177
+ }, /*#__PURE__*/React.createElement(Column, {
174
178
  xlg: 8,
175
179
  lg: 8,
176
180
  md: 8,
@@ -247,10 +251,13 @@ export var MultiStepTearsheet = function MultiStepTearsheet(_ref2) {
247
251
  subtitle: "One or more partitions make up a topic. A partition is an ordered list of messages.",
248
252
  description: "Partitions are distributed across the brokers in order to increase the scalability of your topic. You can also use them to distribute messages across the members of a consumer group.",
249
253
  fieldsetLegendText: "Partition information"
250
- }, /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Column, {
254
+ }, /*#__PURE__*/React.createElement(Grid, {
255
+ narrow: true
256
+ }, /*#__PURE__*/React.createElement(Column, {
251
257
  xlg: 3,
252
258
  lg: 3
253
259
  }, /*#__PURE__*/React.createElement(NumberInput, {
260
+ iconDescription: "Choose a number",
254
261
  id: "carbon-number",
255
262
  min: 1,
256
263
  max: 100,
@@ -270,7 +277,9 @@ export var MultiStepTearsheet = function MultiStepTearsheet(_ref2) {
270
277
  subtitle: "This is how long messages are retained before they are deleted.",
271
278
  description: "If your messages are not read by a consumer within this time, they will be missed.",
272
279
  fieldsetLegendText: "Message retention scheduling"
273
- }, /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Column, {
280
+ }, /*#__PURE__*/React.createElement(Grid, {
281
+ narrow: true
282
+ }, /*#__PURE__*/React.createElement(Column, {
274
283
  xlg: 8,
275
284
  lg: 8,
276
285
  md: 8,
@@ -9,7 +9,7 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
9
9
  * LICENSE file in the root directory of this source tree.
10
10
  */
11
11
  import React, { useState } from 'react';
12
- import { Button, Column, InlineNotification, RadioButtonGroup, RadioButton, RadioTile, Row, TextInput, TileGroup, Toggle, NumberInput } from 'carbon-components-react';
12
+ import { Button, Column, Grid, InlineNotification, RadioButtonGroup, RadioButton, RadioTile, TextInput, TileGroup, Toggle, NumberInput } from '@carbon/react';
13
13
  import cx from 'classnames';
14
14
  import { pkg } from '../../../settings';
15
15
  import { CreateTearsheet } from '../CreateTearsheet';
@@ -184,7 +184,9 @@ export var MultiStepWithIntro = function MultiStepWithIntro(_ref) {
184
184
  disableSubmit: !stepOneTextInputValue,
185
185
  subtitle: "This is the unique name used to recognize your topic",
186
186
  description: "It will also be used by your producers and consumers as part of the connection information, so make it something easy to recognize."
187
- }, /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Column, {
187
+ }, /*#__PURE__*/React.createElement(Grid, {
188
+ narrow: true
189
+ }, /*#__PURE__*/React.createElement(Column, {
188
190
  xlg: 8,
189
191
  lg: 8,
190
192
  md: 8,
@@ -241,10 +243,13 @@ export var MultiStepWithIntro = function MultiStepWithIntro(_ref) {
241
243
  subtitle: "One or more partitions make up a topic. A partition is an ordered list of messages.",
242
244
  description: "Partitions are distributed across the brokers in order to increase the scalability of your topic. You can also use them to distribute messages across the members of a consumer group.",
243
245
  fieldsetLegendText: "Partition information"
244
- }, /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Column, {
246
+ }, /*#__PURE__*/React.createElement(Grid, {
247
+ narrow: true
248
+ }, /*#__PURE__*/React.createElement(Column, {
245
249
  xlg: 3,
246
250
  lg: 3
247
251
  }, /*#__PURE__*/React.createElement(NumberInput, {
252
+ iconDescription: "Choose a number",
248
253
  id: "carbon-number",
249
254
  min: 1,
250
255
  max: 100,
@@ -264,7 +269,9 @@ export var MultiStepWithIntro = function MultiStepWithIntro(_ref) {
264
269
  subtitle: "This is how long messages are retained before they are deleted.",
265
270
  description: "If your messages are not read by a consumer within this time, they will be missed.",
266
271
  fieldsetLegendText: "Message retention scheduling"
267
- }, /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Column, {
272
+ }, /*#__PURE__*/React.createElement(Grid, {
273
+ narrow: true
274
+ }, /*#__PURE__*/React.createElement(Column, {
268
275
  xlg: 8,
269
276
  lg: 8,
270
277
  md: 8,
@@ -13,7 +13,7 @@ import React from 'react'; // Other standard imports.
13
13
 
14
14
  import PropTypes from 'prop-types';
15
15
  import cx from 'classnames';
16
- import { Form } from 'carbon-components-react';
16
+ import { Form } from '@carbon/react';
17
17
  import { getDevtoolsProps } from '../../global/js/utils/devtools';
18
18
  import { pkg } from '../../settings';
19
19
  import { TearsheetNarrow } from '../Tearsheet/TearsheetNarrow'; // The block part of our conventional BEM class names (blockClass__E--M).
@@ -21,7 +21,6 @@ import { useBlockLayout, useTable, useColumnOrder } from 'react-table'; // Other
21
21
 
22
22
  import PropTypes from 'prop-types';
23
23
  import cx from 'classnames';
24
- import { TextArea } from 'carbon-components-react';
25
24
  import { pkg } from '../../settings';
26
25
  import { DataSpreadsheetBody } from './DataSpreadsheetBody';
27
26
  import { DataSpreadsheetHeader } from './DataSpreadsheetHeader';
@@ -825,7 +824,7 @@ export var DataSpreadsheet = /*#__PURE__*/React.forwardRef(function (_ref, ref)
825
824
  ref: activeCellRef,
826
825
  className: cx("".concat(blockClass, "--interactive-cell-element"), "".concat(blockClass, "__active-cell--highlight"), _defineProperty({}, "".concat(blockClass, "__active-cell--with-selection"), activeCellInsideSelectionArea)),
827
826
  type: "button"
828
- }, activeCellContent), /*#__PURE__*/React.createElement(TextArea, {
827
+ }, activeCellContent), /*#__PURE__*/React.createElement("textarea", {
829
828
  value: cellEditorValue,
830
829
  onKeyDown: handleEditSubmit({
831
830
  activeCellCoordinates: activeCellCoordinates,
@@ -845,7 +844,6 @@ export var DataSpreadsheet = /*#__PURE__*/React.forwardRef(function (_ref, ref)
845
844
  cellEditorRulerRef.current.textContent = event.target.value;
846
845
  },
847
846
  ref: cellEditorRef,
848
- labelText: "",
849
847
  "aria-labelledby": activeCellCoordinates ? "#".concat(blockClass, "__cell--").concat(activeCellCoordinates === null || activeCellCoordinates === void 0 ? void 0 : activeCellCoordinates.row, "--").concat(activeCellCoordinates === null || activeCellCoordinates === void 0 ? void 0 : activeCellCoordinates.column) : null,
850
848
  className: cx("".concat(blockClass, "__cell-editor"), "".concat(blockClass, "--interactive-cell-element"), "".concat(blockClass, "__cell-editor--").concat(cellSize), _defineProperty({}, "".concat(blockClass, "__cell-editor--active"), isEditing))
851
849
  }), /*#__PURE__*/React.createElement("pre", {
@@ -11,7 +11,7 @@ var _excluded = ["datagridState"];
11
11
  */
12
12
  import React from 'react';
13
13
  import PropTypes from 'prop-types';
14
- import { DataTable } from 'carbon-components-react';
14
+ import { DataTable } from '@carbon/react';
15
15
  import cx from 'classnames';
16
16
  import DatagridHead from './DatagridHead';
17
17
  import DatagridBody from './DatagridBody';
@@ -9,7 +9,7 @@ import _extends from "@babel/runtime/helpers/extends";
9
9
  */
10
10
  import React from 'react';
11
11
  import { pkg } from '../../../settings';
12
- import { DataTable } from 'carbon-components-react';
12
+ import { DataTable } from '@carbon/react';
13
13
  import { NoDataEmptyState } from '../../EmptyStates/NoDataEmptyState';
14
14
  var blockClass = "".concat(pkg.prefix, "--datagrid");
15
15
  var TableBody = DataTable.TableBody,
@@ -5,7 +5,7 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
  import React from 'react';
8
- import { DataTable } from 'carbon-components-react';
8
+ import { DataTable } from '@carbon/react';
9
9
  var TableHead = DataTable.TableHead;
10
10
 
11
11
  var DatagridHead = function DatagridHead(datagridState) {
@@ -10,7 +10,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
10
10
  // @flow
11
11
  import React from 'react';
12
12
  import cx from 'classnames';
13
- import { DataTable } from 'carbon-components-react';
13
+ import { DataTable } from '@carbon/react';
14
14
  import { selectionColumnId } from '../common-column-ids';
15
15
  import { pkg } from '../../../settings';
16
16
  var blockClass = "".concat(pkg.prefix, "--datagrid");
@@ -12,7 +12,7 @@ var _excluded = ["children"];
12
12
  */
13
13
  // @flow
14
14
  import React from 'react';
15
- import { DataTable, SkeletonText } from 'carbon-components-react';
15
+ import { DataTable, SkeletonText } from '@carbon/react';
16
16
  import { selectionColumnId } from '../common-column-ids';
17
17
  import cx from 'classnames';
18
18
  import { pkg, carbon } from '../../../settings';
@@ -11,7 +11,7 @@ var _excluded = ["onChange"];
11
11
  */
12
12
  // @flow
13
13
  import React from 'react';
14
- import { DataTable } from 'carbon-components-react';
14
+ import { DataTable } from '@carbon/react';
15
15
  import { pkg } from '../../../settings';
16
16
  var blockClass = "".concat(pkg.prefix, "--datagrid");
17
17
 
@@ -13,8 +13,8 @@ var _excluded = ["onChange"];
13
13
  // @flow
14
14
  import React, { useEffect, useState } from 'react';
15
15
  import PropTypes from 'prop-types';
16
- import { OverflowMenu, OverflowMenuItem, Checkbox } from 'carbon-components-react';
17
- import { CaretDown16 } from '@carbon/icons-react';
16
+ import { Checkbox, OverflowMenu, OverflowMenuItem } from '@carbon/react';
17
+ import { CaretDown } from '@carbon/icons-react';
18
18
  import { pkg } from '../../../settings'; // cspell:words columnheader
19
19
 
20
20
  var blockClass = "".concat(pkg.prefix, "--datagrid");
@@ -70,10 +70,17 @@ var SelectAllWithToggle = function SelectAllWithToggle(_ref) {
70
70
  onChange(e);
71
71
  },
72
72
  disabled: disabled,
73
- id: "".concat(tableId, "-select-all-checkbox-id")
73
+ id: "".concat(tableId, "-select-all-checkbox-id"),
74
+ labelText: allRowsLabel,
75
+ hideLabel: true
74
76
  }))), /*#__PURE__*/React.createElement(OverflowMenu, {
75
- renderIcon: CaretDown16,
76
- size: "sm"
77
+ renderIcon: function renderIcon(props) {
78
+ return /*#__PURE__*/React.createElement(CaretDown, _extends({
79
+ size: 16
80
+ }, props));
81
+ },
82
+ size: "sm",
83
+ ariaLabel: allRowsLabel
77
84
  }, /*#__PURE__*/React.createElement(OverflowMenuItem, {
78
85
  itemText: allPageRowsLabel,
79
86
  requireTitle: true,