@carbon/ibm-products 1.25.1 → 2.0.0-rc.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (468) hide show
  1. package/css/index-full-carbon.css +24586 -24335
  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 +5770 -2820
  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 +10452 -4491
  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 +10809 -14925
  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 +140 -12
  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 +32 -7
  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/Datagrid/useStickyColumn.js +3 -0
  80. package/es/components/EditSidePanel/EditSidePanel.js +2 -2
  81. package/es/components/EditTearsheet/EditTearsheet.js +1 -1
  82. package/es/components/EditTearsheet/EditTearsheetForm.js +4 -2
  83. package/es/components/EditTearsheet/preview-components/MultiFormEditTearsheet.js +9 -9
  84. package/es/components/EmptyStates/EmptyState.js +1 -1
  85. package/es/components/EmptyStates/EmptyStateContent.js +1 -1
  86. package/es/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +1 -1
  87. package/es/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +1 -1
  88. package/es/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +1 -1
  89. package/es/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +1 -1
  90. package/es/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +1 -1
  91. package/es/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +1 -1
  92. package/es/components/ExampleComponent/ExampleComponent.js +4 -4
  93. package/es/components/ExportModal/ExportModal.js +7 -4
  94. package/es/components/ExpressiveCard/ExpressiveCard.js +1 -1
  95. package/es/components/HTTPErrors/HTTPErrorContent.js +1 -1
  96. package/es/components/ImportModal/ImportModal.js +12 -6
  97. package/es/components/InlineEdit/InlineEdit.js +27 -15
  98. package/es/components/ModifiedTabs/ModifiedTabLabelNew.js +9 -5
  99. package/es/components/ModifiedTabs/ModifiedTabLabelWithClose.js +13 -15
  100. package/es/components/ModifiedTabs/ModifiedTabs.js +64 -42
  101. package/es/components/MultiAddSelect/MultiAddSelect.js +2 -2
  102. package/es/components/NotificationsPanel/NotificationsPanel.js +32 -18
  103. package/es/components/OptionsTile/OptionsTile.js +15 -9
  104. package/es/components/PageHeader/PageHeader.js +13 -9
  105. package/es/components/PageHeader/PageHeaderTitle.js +1 -1
  106. package/es/components/PageHeader/PageHeaderUtils.js +1 -1
  107. package/es/components/ProductiveCard/ProductiveCard.js +5 -0
  108. package/es/components/RemoveModal/RemoveModal.js +3 -2
  109. package/es/components/Saving/Saving.js +26 -8
  110. package/es/components/SidePanel/SidePanel.js +18 -10
  111. package/es/components/StatusIcon/StatusIcon.js +294 -74
  112. package/es/components/TagSet/TagSet.js +6 -15
  113. package/es/components/TagSet/TagSetModal.js +4 -3
  114. package/es/components/TagSet/TagSetOverflow.js +37 -34
  115. package/es/components/TagSet/constants.js +20 -0
  116. package/es/components/Tearsheet/Tearsheet.js +2 -2
  117. package/es/components/Tearsheet/TearsheetNarrow.js +1 -1
  118. package/es/components/Tearsheet/TearsheetShell.js +11 -9
  119. package/es/components/Toolbar/Toolbar.js +2 -1
  120. package/es/components/Toolbar/ToolbarButton.js +22 -13
  121. package/es/components/UserProfileImage/UserProfileImage.js +38 -13
  122. package/es/components/WebTerminal/WebTerminal.js +15 -6
  123. package/es/components/WebTerminal/preview-components/Navigation.js +11 -5
  124. package/es/components/_Canary/Canary.js +1 -1
  125. package/es/global/js/hooks/index.js +1 -1
  126. package/es/global/js/utils/test-helper.js +2 -1
  127. package/es/settings.js +2 -10
  128. package/lib/components/APIKeyModal/APIKeyModal.js +25 -17
  129. package/lib/components/AboutModal/AboutModal.js +43 -15
  130. package/lib/components/ActionBar/ActionBar.js +6 -5
  131. package/lib/components/ActionBar/ActionBarItem.js +15 -13
  132. package/lib/components/ActionBar/ActionBarOverflowItems.js +5 -4
  133. package/lib/components/ActionSet/ActionSet.js +13 -13
  134. package/lib/components/AddSelect/AddSelect.js +4 -2
  135. package/lib/components/AddSelect/AddSelectBody.js +13 -7
  136. package/lib/components/AddSelect/AddSelectBreadcrumbs.js +3 -3
  137. package/lib/components/AddSelect/AddSelectColumn.js +23 -13
  138. package/lib/components/AddSelect/AddSelectFilter.js +16 -10
  139. package/lib/components/AddSelect/AddSelectList.js +26 -15
  140. package/lib/components/AddSelect/AddSelectMetaPanel.js +9 -3
  141. package/lib/components/AddSelect/AddSelectSidebar.js +4 -4
  142. package/lib/components/AddSelect/AddSelectSort.js +22 -9
  143. package/lib/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +29 -19
  144. package/lib/components/ButtonMenu/ButtonMenu.js +18 -9
  145. package/lib/components/ButtonMenu/ButtonMenuItem.js +3 -3
  146. package/lib/components/ButtonSetWithOverflow/ButtonSetWithOverflow.js +10 -8
  147. package/lib/components/Card/Card.js +15 -13
  148. package/lib/components/Card/CardFooter.js +5 -5
  149. package/lib/components/Cascade/Cascade.js +2 -2
  150. package/lib/components/ComboButton/ComboButton.js +21 -13
  151. package/lib/components/CreateFullPage/CreateFullPage.js +8 -8
  152. package/lib/components/CreateFullPage/CreateFullPageStep.js +2 -2
  153. package/lib/components/CreateInfluencer/CreateInfluencer.js +3 -3
  154. package/lib/components/CreateModal/CreateModal.js +7 -7
  155. package/lib/components/CreateSidePanel/CreateSidePanel.js +2 -2
  156. package/lib/components/CreateTearsheet/CreateTearsheet.js +3 -3
  157. package/lib/components/CreateTearsheet/CreateTearsheetStep.js +5 -3
  158. package/lib/components/CreateTearsheet/preview-components/MultiStepTearsheet.js +27 -18
  159. package/lib/components/CreateTearsheet/preview-components/MultiStepWithIntro.js +26 -19
  160. package/lib/components/CreateTearsheetNarrow/CreateTearsheetNarrow.js +2 -2
  161. package/lib/components/DataSpreadsheet/DataSpreadsheet.js +1 -4
  162. package/lib/components/Datagrid/Datagrid/Datagrid.js +3 -3
  163. package/lib/components/Datagrid/Datagrid/DatagridEmptyBody.js +4 -4
  164. package/lib/components/Datagrid/Datagrid/DatagridHead.js +2 -2
  165. package/lib/components/Datagrid/Datagrid/DatagridHeaderRow.js +3 -3
  166. package/lib/components/Datagrid/Datagrid/DatagridRow.js +4 -4
  167. package/lib/components/Datagrid/Datagrid/DatagridSelectAll.js +2 -2
  168. package/lib/components/Datagrid/Datagrid/DatagridSelectAllWithToggle.js +15 -8
  169. package/lib/components/Datagrid/Datagrid/DatagridSimpleBody.js +2 -2
  170. package/lib/components/Datagrid/Datagrid/DatagridToolbar.js +151 -12
  171. package/lib/components/Datagrid/Datagrid/DatagridVirtualBody.js +2 -2
  172. package/lib/components/Datagrid/Datagrid/DraggableElement.js +3 -1
  173. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Actions.js +10 -4
  174. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.js +7 -3
  175. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +2 -2
  176. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsModal.js +2 -2
  177. package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +9 -9
  178. package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeRadioGroup.js +24 -27
  179. package/lib/components/Datagrid/{Datagrid.stories → Datagrid.stories-helpers}/CustomizeColumnStory.js +0 -0
  180. package/lib/components/Datagrid/{Datagrid.stories → Datagrid.stories-helpers}/LeftPanelStory.js +0 -0
  181. package/lib/components/Datagrid/{Datagrid.stories → Datagrid.stories-helpers}/RowSizeDropdownStory.js +0 -0
  182. package/lib/components/Datagrid/{Datagrid.stories → Datagrid.stories-helpers}/SelectAllWithToggleStory.js +0 -0
  183. package/lib/components/Datagrid/{Datagrid.stories → Datagrid.stories-helpers}/StickyActionsColumnStory.js +0 -0
  184. package/lib/components/Datagrid/{Datagrid.stories → Datagrid.stories-helpers}/common.js +0 -0
  185. package/lib/components/Datagrid/{Datagrid.stories → Datagrid.stories-helpers}/index.js +2 -2
  186. package/lib/components/Datagrid/useActionsColumn.js +34 -9
  187. package/lib/components/Datagrid/useRowExpander.js +5 -1
  188. package/lib/components/Datagrid/useSelectRows.js +4 -3
  189. package/lib/components/Datagrid/useSortableColumns.js +20 -8
  190. package/lib/components/Datagrid/useStickyColumn.js +3 -0
  191. package/lib/components/EditSidePanel/EditSidePanel.js +3 -3
  192. package/lib/components/EditTearsheet/EditTearsheet.js +5 -5
  193. package/lib/components/EditTearsheet/EditTearsheetForm.js +5 -3
  194. package/lib/components/EditTearsheet/preview-components/MultiFormEditTearsheet.js +21 -21
  195. package/lib/components/EmptyStates/EmptyState.js +4 -4
  196. package/lib/components/EmptyStates/EmptyStateContent.js +6 -6
  197. package/lib/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +4 -4
  198. package/lib/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +4 -4
  199. package/lib/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +4 -4
  200. package/lib/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +4 -4
  201. package/lib/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +4 -4
  202. package/lib/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +4 -4
  203. package/lib/components/ExampleComponent/ExampleComponent.js +7 -7
  204. package/lib/components/ExportModal/ExportModal.js +17 -14
  205. package/lib/components/ExpressiveCard/ExpressiveCard.js +1 -1
  206. package/lib/components/HTTPErrors/HTTPErrorContent.js +3 -3
  207. package/lib/components/ImportModal/ImportModal.js +19 -14
  208. package/lib/components/InlineEdit/InlineEdit.js +26 -14
  209. package/lib/components/ModifiedTabs/ModifiedTabLabelNew.js +10 -4
  210. package/lib/components/ModifiedTabs/ModifiedTabLabelWithClose.js +14 -14
  211. package/lib/components/ModifiedTabs/ModifiedTabs.js +66 -45
  212. package/lib/components/MultiAddSelect/MultiAddSelect.js +2 -2
  213. package/lib/components/NotificationsPanel/NotificationsPanel.js +37 -23
  214. package/lib/components/OptionsTile/OptionsTile.js +15 -9
  215. package/lib/components/PageHeader/PageHeader.js +33 -29
  216. package/lib/components/PageHeader/PageHeaderTitle.js +2 -2
  217. package/lib/components/PageHeader/PageHeaderUtils.js +2 -2
  218. package/lib/components/ProductiveCard/ProductiveCard.js +5 -0
  219. package/lib/components/RemoveModal/RemoveModal.js +9 -8
  220. package/lib/components/Saving/Saving.js +28 -10
  221. package/lib/components/SidePanel/SidePanel.js +22 -14
  222. package/lib/components/StatusIcon/StatusIcon.js +300 -75
  223. package/lib/components/TagSet/TagSet.js +8 -17
  224. package/lib/components/TagSet/TagSetModal.js +10 -9
  225. package/lib/components/TagSet/TagSetOverflow.js +38 -35
  226. package/lib/components/TagSet/constants.js +27 -0
  227. package/lib/components/Tearsheet/Tearsheet.js +4 -4
  228. package/lib/components/Tearsheet/TearsheetNarrow.js +3 -3
  229. package/lib/components/Tearsheet/TearsheetShell.js +13 -12
  230. package/lib/components/Toolbar/Toolbar.js +3 -1
  231. package/lib/components/Toolbar/ToolbarButton.js +20 -10
  232. package/lib/components/UserProfileImage/UserProfileImage.js +37 -12
  233. package/lib/components/WebTerminal/WebTerminal.js +19 -10
  234. package/lib/components/WebTerminal/preview-components/Navigation.js +13 -7
  235. package/lib/components/_Canary/Canary.js +2 -2
  236. package/lib/global/js/utils/test-helper.js +2 -1
  237. package/lib/settings.js +2 -11
  238. package/package.json +11 -12
  239. package/scss/components/APIKeyModal/_api-key-modal.scss +44 -55
  240. package/scss/components/APIKeyModal/_carbon-imports.scss +15 -0
  241. package/scss/components/APIKeyModal/_index-with-carbon.scss +9 -0
  242. package/scss/components/APIKeyModal/_index.scss +1 -1
  243. package/scss/components/APIKeyModal/_storybook-styles.scss +10 -8
  244. package/scss/components/AboutModal/_about-modal.scss +121 -112
  245. package/scss/components/AboutModal/_carbon-imports.scss +11 -0
  246. package/scss/components/AboutModal/_index-with-carbon.scss +9 -0
  247. package/scss/components/AboutModal/_index.scss +1 -1
  248. package/scss/components/AboutModal/_storybook-styles.scss +2 -1
  249. package/scss/components/ActionBar/_action-bar.scss +35 -47
  250. package/scss/components/ActionBar/_carbon-imports.scss +11 -0
  251. package/scss/components/ActionBar/_index-with-carbon.scss +9 -0
  252. package/scss/components/ActionBar/_index.scss +1 -1
  253. package/scss/components/ActionBar/_storybook-styles.scss +1 -1
  254. package/scss/components/ActionSet/_action-set.scss +88 -96
  255. package/scss/components/ActionSet/_carbon-imports.scss +11 -0
  256. package/scss/components/ActionSet/_index-with-carbon.scss +9 -0
  257. package/scss/components/ActionSet/_index.scss +1 -1
  258. package/scss/components/ActionSet/_storybook-styles.scss +3 -3
  259. package/scss/components/AddSelect/_add-select.scss +288 -278
  260. package/scss/components/AddSelect/_carbon-imports.scss +19 -0
  261. package/scss/components/AddSelect/_index-with-carbon.scss +9 -0
  262. package/scss/components/AddSelect/_index.scss +1 -1
  263. package/scss/components/BreadcrumbWithOverflow/_breadcrumb-with-overflow.scss +58 -64
  264. package/scss/components/BreadcrumbWithOverflow/_carbon-imports.scss +12 -0
  265. package/scss/components/BreadcrumbWithOverflow/_index-with-carbon.scss +9 -0
  266. package/scss/components/BreadcrumbWithOverflow/_index.scss +1 -1
  267. package/scss/components/BreadcrumbWithOverflow/_storybook-styles.scss +1 -1
  268. package/scss/components/ButtonMenu/_button-menu.scss +12 -19
  269. package/scss/components/ButtonMenu/_carbon-imports.scss +9 -0
  270. package/scss/components/ButtonMenu/_index-with-carbon.scss +9 -0
  271. package/scss/components/ButtonMenu/_index.scss +1 -1
  272. package/scss/components/ButtonSetWithOverflow/_button-set-with-overflow.scss +24 -34
  273. package/scss/components/ButtonSetWithOverflow/_carbon-imports.scss +10 -0
  274. package/scss/components/ButtonSetWithOverflow/_index-with-carbon.scss +9 -0
  275. package/scss/components/ButtonSetWithOverflow/_index.scss +1 -1
  276. package/scss/components/ButtonSetWithOverflow/_storybook-styles.scss +1 -1
  277. package/scss/components/Card/_carbon-imports.scss +11 -0
  278. package/scss/components/Card/_card.scss +107 -114
  279. package/scss/components/Card/_index-with-carbon.scss +9 -0
  280. package/scss/components/Card/_index.scss +1 -3
  281. package/scss/components/Cascade/_carbon-imports.scss +6 -0
  282. package/scss/components/Cascade/_cascade.scss +30 -34
  283. package/scss/components/Cascade/_index-with-carbon.scss +9 -0
  284. package/scss/components/Cascade/_index.scss +1 -1
  285. package/scss/components/Cascade/_storybook-styles.scss +6 -5
  286. package/scss/components/ComboButton/_carbon-imports.scss +11 -0
  287. package/scss/components/ComboButton/_combo-button.scss +57 -46
  288. package/scss/components/ComboButton/_index-with-carbon.scss +9 -0
  289. package/scss/components/ComboButton/_index.scss +1 -1
  290. package/scss/components/CreateFullPage/_carbon-imports.scss +17 -0
  291. package/scss/components/CreateFullPage/_create-full-page.scss +134 -140
  292. package/scss/components/CreateFullPage/_index-with-carbon.scss +9 -0
  293. package/scss/components/CreateFullPage/_index.scss +1 -1
  294. package/scss/components/CreateFullPage/_storybook-styles.scss +26 -10
  295. package/scss/components/CreateInfluencer/_carbon-imports.scss +10 -0
  296. package/scss/components/CreateInfluencer/_create-influencer.scss +65 -70
  297. package/scss/components/CreateInfluencer/_index-with-carbon.scss +9 -0
  298. package/scss/components/CreateInfluencer/_index.scss +1 -1
  299. package/scss/components/CreateModal/_carbon-imports.scss +12 -0
  300. package/scss/components/CreateModal/_create-modal.scss +56 -59
  301. package/scss/components/CreateModal/_index-with-carbon.scss +9 -0
  302. package/scss/components/CreateModal/_index.scss +1 -1
  303. package/scss/components/CreateModal/_storybook-styles.scss +24 -21
  304. package/scss/components/CreateSidePanel/_carbon-imports.scss +10 -0
  305. package/scss/components/CreateSidePanel/_create-side-panel.scss +65 -71
  306. package/scss/components/CreateSidePanel/_index-with-carbon.scss +9 -0
  307. package/scss/components/CreateSidePanel/_index.scss +1 -1
  308. package/scss/components/CreateSidePanel/_storybook-styles.scss +8 -6
  309. package/scss/components/CreateTearsheet/_carbon-imports.scss +10 -0
  310. package/scss/components/CreateTearsheet/_create-tearsheet.scss +116 -98
  311. package/scss/components/CreateTearsheet/_index-with-carbon.scss +9 -0
  312. package/scss/components/CreateTearsheet/_index.scss +1 -1
  313. package/scss/components/CreateTearsheet/_storybook-styles.scss +14 -11
  314. package/scss/components/CreateTearsheetNarrow/_carbon-imports.scss +10 -0
  315. package/scss/components/CreateTearsheetNarrow/_create-tearsheet-narrow.scss +36 -44
  316. package/scss/components/CreateTearsheetNarrow/_index-with-carbon.scss +9 -0
  317. package/scss/components/CreateTearsheetNarrow/_index.scss +1 -1
  318. package/scss/components/CreateTearsheetNarrow/_storybook-styles.scss +7 -6
  319. package/scss/components/DataSpreadsheet/_carbon-imports.scss +6 -0
  320. package/scss/components/DataSpreadsheet/_data-spreadsheet.scss +217 -173
  321. package/scss/components/DataSpreadsheet/_index-with-carbon.scss +9 -0
  322. package/scss/components/DataSpreadsheet/_index.scss +1 -1
  323. package/scss/components/Datagrid/_carbon-imports.scss +6 -0
  324. package/scss/components/Datagrid/_datagrid.scss +37 -36
  325. package/scss/components/Datagrid/_index-with-carbon.scss +9 -0
  326. package/scss/components/Datagrid/_index.scss +1 -1
  327. package/scss/components/Datagrid/_storybook-styles.scss +15 -11
  328. package/scss/components/Datagrid/styles/_datagrid.scss +102 -59
  329. package/scss/components/Datagrid/styles/_draggableElement.scss +15 -13
  330. package/scss/components/Datagrid/styles/_index.scss +13 -13
  331. package/scss/components/Datagrid/styles/_useActionsColumn.scss +5 -4
  332. package/scss/components/Datagrid/styles/_useColumnCenterAlign.scss +2 -1
  333. package/scss/components/Datagrid/styles/_useColumnRightAlign.scss +5 -5
  334. package/scss/components/Datagrid/styles/_useExpandedRow.scss +14 -7
  335. package/scss/components/Datagrid/styles/_useNestedRows.scss +6 -3
  336. package/scss/components/Datagrid/styles/_useNestedTable.scss +15 -9
  337. package/scss/components/Datagrid/styles/_useSelectAllToggle.scss +6 -5
  338. package/scss/components/Datagrid/styles/_useSortableColumns.scss +14 -12
  339. package/scss/components/Datagrid/styles/_useStickyColumn.scss +10 -9
  340. package/scss/components/Datagrid/styles/_variables.scss +3 -2
  341. package/scss/components/Datagrid/styles/addons/_CustomizeColumnsModal.scss +15 -11
  342. package/scss/components/Datagrid/styles/addons/_RowSizeDropdown.scss +9 -7
  343. package/scss/components/EditFullPage/_edit-full-page.scss +9 -17
  344. package/scss/components/EditSidePanel/_carbon-imports.scss +9 -0
  345. package/scss/components/EditSidePanel/_edit-side-panel.scss +45 -54
  346. package/scss/components/EditSidePanel/_index-with-carbon.scss +9 -0
  347. package/scss/components/EditSidePanel/_index.scss +1 -1
  348. package/scss/components/EditSidePanel/_storybook-styles.scss +3 -1
  349. package/scss/components/EditTearsheet/_edit-tearsheet.scss +95 -93
  350. package/scss/components/EditTearsheet/_storybook-styles.scss +15 -11
  351. package/scss/components/EditTearsheetNarrow/_edit-tearsheet-narrow.scss +9 -17
  352. package/scss/components/EmptyStates/_carbon-imports.scss +11 -0
  353. package/scss/components/EmptyStates/_empty-state.scss +38 -48
  354. package/scss/components/EmptyStates/_index-with-carbon.scss +9 -0
  355. package/scss/components/EmptyStates/_index.scss +1 -1
  356. package/scss/components/ExampleComponent/_carbon-imports.scss +10 -0
  357. package/scss/components/ExampleComponent/_example-component.scss +15 -26
  358. package/scss/components/ExampleComponent/_index-with-carbon.scss +9 -0
  359. package/scss/components/ExampleComponent/_index.scss +1 -1
  360. package/scss/components/ExportModal/_carbon-imports.scss +16 -0
  361. package/scss/components/ExportModal/_export-modal.scss +41 -48
  362. package/scss/components/ExportModal/_index-with-carbon.scss +9 -0
  363. package/scss/components/ExportModal/_index.scss +1 -1
  364. package/scss/components/ExpressiveCard/_carbon-imports.scss +6 -0
  365. package/scss/components/ExpressiveCard/_expressive-card.scss +7 -14
  366. package/scss/components/ExpressiveCard/_index-with-carbon.scss +9 -0
  367. package/scss/components/ExpressiveCard/_index.scss +1 -1
  368. package/scss/components/ExpressiveCard/_storybook-styles.scss +6 -5
  369. package/scss/components/HTTPErrors/_carbon-imports.scss +10 -0
  370. package/scss/components/HTTPErrors/_http-errors.scss +48 -56
  371. package/scss/components/HTTPErrors/_index-with-carbon.scss +9 -0
  372. package/scss/components/HTTPErrors/_index.scss +1 -1
  373. package/scss/components/ImportModal/_carbon-imports.scss +14 -0
  374. package/scss/components/ImportModal/_import-modal.scss +72 -77
  375. package/scss/components/ImportModal/_index-with-carbon.scss +9 -0
  376. package/scss/components/ImportModal/_index.scss +1 -1
  377. package/scss/components/InlineEdit/_carbon-imports.scss +6 -0
  378. package/scss/components/InlineEdit/_index-with-carbon.scss +9 -0
  379. package/scss/components/InlineEdit/_index.scss +1 -1
  380. package/scss/components/InlineEdit/_inline-edit.scss +262 -238
  381. package/scss/components/InlineEdit/_storybook-styles.scss +7 -3
  382. package/scss/components/ModifiedTabs/_carbon-imports.scss +10 -0
  383. package/scss/components/ModifiedTabs/_index-with-carbon.scss +9 -0
  384. package/scss/components/ModifiedTabs/_index.scss +8 -1
  385. package/scss/components/ModifiedTabs/_modified-tabs.scss +38 -16
  386. package/scss/components/MultiAddSelect/_carbon-imports.scss +6 -0
  387. package/scss/components/MultiAddSelect/_index-with-carbon.scss +9 -0
  388. package/scss/components/MultiAddSelect/_index.scss +8 -1
  389. package/scss/components/MultiAddSelect/_multi-add-select.scss +1 -1
  390. package/scss/components/NotificationsPanel/_carbon-imports.scss +12 -0
  391. package/scss/components/NotificationsPanel/_index-with-carbon.scss +9 -0
  392. package/scss/components/NotificationsPanel/_index.scss +1 -1
  393. package/scss/components/NotificationsPanel/_notifications-panel.scss +241 -237
  394. package/scss/components/NotificationsPanel/_storybook-styles.scss +9 -0
  395. package/scss/components/OptionsTile/_carbon-imports.scss +10 -0
  396. package/scss/components/OptionsTile/_index-with-carbon.scss +9 -0
  397. package/scss/components/OptionsTile/_index.scss +1 -1
  398. package/scss/components/OptionsTile/_options-tile.scss +173 -171
  399. package/scss/components/OptionsTile/_storybook-styles.scss +7 -4
  400. package/scss/components/PageHeader/_carbon-imports.scss +13 -0
  401. package/scss/components/PageHeader/_index-with-carbon.scss +9 -0
  402. package/scss/components/PageHeader/_index.scss +1 -1
  403. package/scss/components/PageHeader/_page-header.scss +449 -461
  404. package/scss/components/PageHeader/_storybook-styles.scss +15 -11
  405. package/scss/components/ProductiveCard/_carbon-imports.scss +6 -0
  406. package/scss/components/ProductiveCard/_index-with-carbon.scss +9 -0
  407. package/scss/components/ProductiveCard/_index.scss +1 -1
  408. package/scss/components/ProductiveCard/_productive-card.scss +43 -48
  409. package/scss/components/ProductiveCard/_storybook-styles.scss +7 -6
  410. package/scss/components/RemoveModal/_carbon-imports.scss +12 -0
  411. package/scss/components/RemoveModal/_index-with-carbon.scss +9 -0
  412. package/scss/components/RemoveModal/_index.scss +1 -1
  413. package/scss/components/RemoveModal/_remove-modal.scss +17 -26
  414. package/scss/components/Saving/_carbon-imports.scss +11 -0
  415. package/scss/components/Saving/_index-with-carbon.scss +9 -0
  416. package/scss/components/Saving/_index.scss +1 -1
  417. package/scss/components/Saving/_saving.scss +19 -27
  418. package/scss/components/Saving/_storybook-styles.scss +1 -1
  419. package/scss/components/SidePanel/_carbon-imports.scss +10 -0
  420. package/scss/components/SidePanel/_index-with-carbon.scss +9 -0
  421. package/scss/components/SidePanel/_index.scss +1 -1
  422. package/scss/components/SidePanel/_side-panel-variables.scss +1 -1
  423. package/scss/components/SidePanel/_side-panel.scss +402 -392
  424. package/scss/components/SidePanel/_storybook-styles.scss +6 -4
  425. package/scss/components/SingleAddSelect/_carbon-imports.scss +6 -0
  426. package/scss/components/SingleAddSelect/_index-with-carbon.scss +9 -0
  427. package/scss/components/SingleAddSelect/_index.scss +1 -1
  428. package/scss/components/SingleAddSelect/_single-add-select.scss +1 -1
  429. package/scss/components/StatusIcon/_carbon-imports.scss +6 -0
  430. package/scss/components/StatusIcon/_index-with-carbon.scss +9 -0
  431. package/scss/components/StatusIcon/_index.scss +1 -1
  432. package/scss/components/StatusIcon/_status-icon.scss +30 -27
  433. package/scss/components/TagSet/_carbon-imports.scss +14 -0
  434. package/scss/components/TagSet/_index-with-carbon.scss +9 -0
  435. package/scss/components/TagSet/_index.scss +1 -1
  436. package/scss/components/TagSet/_storybook-styles.scss +1 -1
  437. package/scss/components/TagSet/_tag-set.scss +141 -129
  438. package/scss/components/Tearsheet/_carbon-imports.scss +10 -0
  439. package/scss/components/Tearsheet/_index-with-carbon.scss +9 -0
  440. package/scss/components/Tearsheet/_index.scss +1 -1
  441. package/scss/components/Tearsheet/_storybook-styles.scss +6 -5
  442. package/scss/components/Tearsheet/_tearsheet.scss +269 -263
  443. package/scss/components/Toolbar/_carbon-imports.scss +8 -0
  444. package/scss/components/Toolbar/_index-with-carbon.scss +9 -0
  445. package/scss/components/Toolbar/_index.scss +1 -1
  446. package/scss/components/Toolbar/_toolbar.scss +53 -56
  447. package/scss/components/UserProfileImage/_carbon-imports.scss +10 -0
  448. package/scss/components/UserProfileImage/_color-map.scss +30 -30
  449. package/scss/components/UserProfileImage/_index-with-carbon.scss +9 -0
  450. package/scss/components/UserProfileImage/_index.scss +1 -1
  451. package/scss/components/UserProfileImage/_user-profile-image.scss +83 -79
  452. package/scss/components/WebTerminal/_carbon-imports.scss +6 -0
  453. package/scss/components/WebTerminal/_index-with-carbon.scss +9 -0
  454. package/scss/components/WebTerminal/_index.scss +1 -1
  455. package/scss/components/WebTerminal/_storybook-styles.scss +12 -2
  456. package/scss/components/WebTerminal/_web-terminal.scss +16 -5
  457. package/scss/components/_Canary/_canary.scss +2 -4
  458. package/scss/components/_index-released-only-with-carbon.scss +35 -0
  459. package/scss/components/_index-released-only.scss +26 -26
  460. package/scss/components/_index-with-carbon.scss +47 -0
  461. package/scss/components/_index.scss +40 -40
  462. package/scss/global/styles/_display-box.scss +9 -5
  463. package/scss/global/styles/_project-settings.scss +2 -18
  464. package/scss/index-full-carbon.scss +4 -5
  465. package/scss/index-without-carbon-released-only.scss +5 -6
  466. package/scss/index-without-carbon.scss +5 -6
  467. package/scss/index.scss +4 -4
  468. package/scss/global/styles/_generate-carbon-modules.scss +0 -14
@@ -1,6 +1,6 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
- var _excluded = ["className"];
3
+ var _excluded = ["label", "className", "renderIcon"];
4
4
 
5
5
  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; }
6
6
 
@@ -19,7 +19,7 @@ import PropTypes from 'prop-types';
19
19
  import cx from 'classnames';
20
20
  import { pkg } from '../../settings'; // Carbon and package components we use.
21
21
 
22
- import { Button } from 'carbon-components-react'; // The block part of our conventional BEM class names (blockClass__E--M).
22
+ import { IconButton } from '@carbon/react'; // The block part of our conventional BEM class names (blockClass__E--M).
23
23
 
24
24
  var componentName = 'ActionBarItem';
25
25
  var blockClass = "".concat(pkg.prefix, "--action-bar-item"); // NOTE: the component SCSS is not imported here: it is rolled up separately.
@@ -29,26 +29,28 @@ var blockClass = "".concat(pkg.prefix, "--action-bar-item"); // NOTE: the compon
29
29
  */
30
30
 
31
31
  export var ActionBarItem = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
32
- var className = _ref.className,
32
+ var label = _ref.label,
33
+ className = _ref.className,
34
+ renderIcon = _ref.renderIcon,
33
35
  rest = _objectWithoutProperties(_ref, _excluded);
34
36
 
35
- return /*#__PURE__*/React.createElement(Button, _objectSpread(_objectSpread({}, rest), {}, {
37
+ var Icon = renderIcon;
38
+ return /*#__PURE__*/React.createElement(IconButton, _objectSpread(_objectSpread({}, rest), {}, {
36
39
  ref: ref,
37
40
  className: cx(blockClass, className),
38
- hasIconOnly: true,
39
41
  kind: 'ghost',
40
- size: 'field',
41
- tooltipPosition: 'bottom',
42
- tooltipAlignment: 'end',
43
- type: 'button'
44
- }));
42
+ size: 'md',
43
+ align: 'bottom-right',
44
+ type: 'button',
45
+ label: label
46
+ }), Icon ? /*#__PURE__*/React.createElement(Icon, null) : null);
45
47
  }); // Return a placeholder if not released and not enabled by feature flag
46
48
 
47
49
  ActionBarItem = pkg.checkComponentEnabled(ActionBarItem, componentName); // Props the user cannot change
48
50
 
49
- var reservedProps = ['hasIconOnly', 'kind', 'size', 'tooltipPosition', 'tooltipAlignment', 'type']; // Base props on Carbon Button
51
+ var reservedProps = ['kind', 'size', 'align', 'type']; // Base props on Carbon Button
50
52
 
51
- var propTypes = _objectSpread({}, Button.propTypes); // Remove reserved props
53
+ var propTypes = _objectSpread({}, IconButton.propTypes); // Remove reserved props
52
54
 
53
55
 
54
56
  reservedProps.forEach(function (prop) {
@@ -76,7 +78,7 @@ ActionBarItem.propTypes = _objectSpread(_objectSpread({}, propTypes), {}, {
76
78
  *
77
79
  * (inherited from Carbon Button)
78
80
  */
79
- iconDescription: PropTypes.string,
81
+ label: PropTypes.string,
80
82
 
81
83
  /**
82
84
  * Optional click handler
@@ -10,7 +10,7 @@ import React, { useRef } from 'react'; // Other standard imports.
10
10
  import PropTypes from 'prop-types';
11
11
  import cx from 'classnames'; // Carbon and package components we use.
12
12
 
13
- import { OverflowMenu, OverflowMenuItem } from 'carbon-components-react';
13
+ import { OverflowMenu, OverflowMenuItem } from '@carbon/react';
14
14
  import uuidv4 from '../../global/js/utils/uuidv4'; // The block part of our conventional BEM class names (blockClass__E--M).
15
15
 
16
16
  import { pkg } from '../../settings';
@@ -34,6 +34,7 @@ export var ActionBarOverflowItems = function ActionBarOverflowItems(_ref) {
34
34
  // This uses a copy of a menu item option
35
35
  // NOTE: Cannot use a real Tooltip icon below as it uses a <button /> the
36
36
  // div equivalent below is based on Carbon 10.25.0
37
+ var ItemIcon = item.props.renderIcon;
37
38
  return /*#__PURE__*/React.createElement(OverflowMenuItem, {
38
39
  className: "".concat(blockClass, "__item"),
39
40
  itemText: /*#__PURE__*/React.createElement("div", {
@@ -42,7 +43,7 @@ export var ActionBarOverflowItems = function ActionBarOverflowItems(_ref) {
42
43
  }, /*#__PURE__*/React.createElement("span", {
43
44
  className: "".concat(blockClass, "__item-label"),
44
45
  id: "".concat(internalId.current, "-").concat(index, "--item-label")
45
- }, item.props.iconDescription), /*#__PURE__*/React.createElement(item.props.renderIcon, null))
46
+ }, item.props.label), typeof item.props.renderIcon === 'function' ? /*#__PURE__*/React.createElement(ItemIcon, null) : item.props.renderIcon)
46
47
  });
47
48
  }));
48
49
  };
@@ -22,7 +22,7 @@ import cx from 'classnames';
22
22
  import { pkg } from '../../settings';
23
23
  import { allPropTypes } from '../../global/js/utils/props-helper'; // Carbon and package components we use.
24
24
 
25
- import { Button, ButtonSet, InlineLoading } from 'carbon-components-react';
25
+ import { Button, ButtonSet, InlineLoading } from '@carbon/react';
26
26
  var blockClass = "".concat(pkg.prefix, "--action-set");
27
27
  var componentName = 'ActionSet'; // NOTE: the component SCSS is not imported here: it is rolled up separately.
28
28
 
@@ -51,7 +51,7 @@ ActionSetButton.propTypes = _objectSpread(_objectSpread({}, Button.PropTypes), {
51
51
  var defaultKind = 'primary';
52
52
 
53
53
  var willStack = function willStack(size, numberOfActions) {
54
- return size === 'xs' || size === 'sm' || size === 'md' && numberOfActions > 2;
54
+ return size === 'sm' || size === 'md' && numberOfActions > 2;
55
55
  }; // Default values for props
56
56
 
57
57
 
@@ -60,7 +60,7 @@ var defaults = {
60
60
  };
61
61
  /**
62
62
  * An ActionSet presents a set of action buttons, constructed from bundles
63
- * of prop values and applying some layout rules. When the size is 'xs' or 'sm'
63
+ * of prop values and applying some layout rules. When the size is 'sm'
64
64
  * the buttons are stacked, and should only include primary and secondary
65
65
  * kinds. When the size is 'md' the buttons are stacked if there are three or
66
66
  * more. When the size is 'md' or 'lg', two buttons share the horizontal space.
@@ -81,7 +81,7 @@ export var ActionSet = /*#__PURE__*/React.forwardRef(function (_ref3, ref) {
81
81
  size = _ref3$size === void 0 ? defaults.size : _ref3$size,
82
82
  rest = _objectWithoutProperties(_ref3, _excluded2);
83
83
 
84
- var buttons = actions && ((_actions$slice = actions.slice) === null || _actions$slice === void 0 ? void 0 : _actions$slice.call(actions, 0)) || []; // We stack the buttons in a xs/sm set, or if there are three or more in a md set.
84
+ var buttons = actions && ((_actions$slice = actions.slice) === null || _actions$slice === void 0 ? void 0 : _actions$slice.call(actions, 0)) || []; // We stack the buttons in a sm set, or if there are three or more in a md set.
85
85
 
86
86
  var stacking = willStack(size, buttons.length); // Order of button kinds: ghost first, then danger--ghost, then most other types,
87
87
  // then danger, and finally primary
@@ -118,7 +118,7 @@ export var ActionSet = /*#__PURE__*/React.forwardRef(function (_ref3, ref) {
118
118
  ActionSet.displayName = componentName;
119
119
  /**
120
120
  * A validator function to help validate the actions supplied for a particular
121
- * size of component. When the size is xs or sm, or md with three actions, the
121
+ * size of component. When the size is sm, or md with three actions, the
122
122
  * buttons will be stacked and a maximum of three buttons is applied with no
123
123
  * ghosts unless the ghost is the only button. Otherwise a maximum of four
124
124
  * buttons with a maximum of one ghost is applied. In either case, a maximum
@@ -202,5 +202,5 @@ ActionSet.propTypes = {
202
202
  * The size of the action set. Different button arrangements are used at
203
203
  * different sizes, to make best use of the available space.
204
204
  */
205
- size: PropTypes.oneOf(['xs', 'sm', 'md', 'lg', 'xlg', 'max'])
205
+ size: PropTypes.oneOf(['sm', 'md', 'lg', 'xl', '2xl'])
206
206
  };
@@ -47,6 +47,7 @@ AddSelect.propTypes = {
47
47
  closeIconDescription: PropTypes.string.isRequired,
48
48
  columnInputPlaceholder: PropTypes.string,
49
49
  description: PropTypes.string.isRequired,
50
+ filterByLabel: PropTypes.string,
50
51
  globalFilters: PropTypes.arrayOf(PropTypes.shape({
51
52
  id: PropTypes.string,
52
53
  label: PropTypes.string
@@ -70,11 +71,11 @@ AddSelect.propTypes = {
70
71
  entries: PropTypes.arrayOf(PropTypes.shape({
71
72
  avatar: PropTypes.shape({
72
73
  alt: PropTypes.string,
73
- icon: PropTypes.object,
74
+ icon: PropTypes.func,
74
75
  src: PropTypes.string
75
76
  }),
76
77
  children: PropTypes.object,
77
- icon: PropTypes.object,
78
+ icon: PropTypes.func,
78
79
  id: PropTypes.string.isRequired,
79
80
  meta: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.shape({
80
81
  id: PropTypes.string,
@@ -106,6 +107,7 @@ AddSelect.propTypes = {
106
107
  */
107
108
  portalTarget: PropTypes.node,
108
109
  searchResultsLabel: PropTypes.string,
110
+ sortByLabel: PropTypes.string,
109
111
  title: PropTypes.string.isRequired
110
112
  };
111
113
  AddSelect.defaultProps = {
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
2
2
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
3
3
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
4
4
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
5
- var _excluded = ["className", "clearFiltersText", "closeIconDescription", "columnInputPlaceholder", "defaultModifiers", "description", "globalFilterOpts", "globalFiltersIconDescription", "globalFiltersPlaceholderText", "globalFiltersPrimaryButtonText", "globalFiltersSecondaryButtonText", "globalSearchLabel", "globalSearchPlaceholder", "globalSortBy", "influencerTitle", "items", "itemsLabel", "metaIconDescription", "metaPanelTitle", "multi", "navIconDescription", "noResultsDescription", "noResultsTitle", "noSelectionDescription", "noSelectionTitle", "normalizedItems", "onClose", "onCloseButtonText", "onSubmit", "onSubmitButtonText", "open", "portalTarget", "searchResultsLabel", "title", "useNormalizedItems"];
5
+ var _excluded = ["className", "clearFiltersText", "closeIconDescription", "columnInputPlaceholder", "defaultModifiers", "description", "filterByLabel", "globalFilterOpts", "globalFiltersIconDescription", "globalFiltersPlaceholderText", "globalFiltersPrimaryButtonText", "globalFiltersSecondaryButtonText", "globalSearchLabel", "globalSearchPlaceholder", "globalSortBy", "influencerTitle", "items", "itemsLabel", "metaIconDescription", "metaPanelTitle", "multi", "navIconDescription", "noResultsDescription", "noResultsTitle", "noSelectionDescription", "noSelectionTitle", "normalizedItems", "onClose", "onCloseButtonText", "onSubmit", "onSubmitButtonText", "open", "portalTarget", "searchResultsLabel", "sortByLabel", "title", "useNormalizedItems"];
6
6
  //
7
7
  // Copyright IBM Corp. 2022
8
8
  //
@@ -12,7 +12,7 @@ var _excluded = ["className", "clearFiltersText", "closeIconDescription", "colum
12
12
  import React, { useState } from 'react';
13
13
  import PropTypes from 'prop-types';
14
14
  import cx from 'classnames';
15
- import { Tag } from 'carbon-components-react';
15
+ import { Tag } from '@carbon/react';
16
16
  import { Tearsheet, TearsheetNarrow } from '../../components/Tearsheet';
17
17
  import { NoDataEmptyState } from '../../components/EmptyStates/NoDataEmptyState';
18
18
  import { AddSelectSidebar } from './AddSelectSidebar';
@@ -37,6 +37,7 @@ export var AddSelectBody = function AddSelectBody(_ref) {
37
37
  columnInputPlaceholder = _ref.columnInputPlaceholder,
38
38
  defaultModifiers = _ref.defaultModifiers,
39
39
  description = _ref.description,
40
+ filterByLabel = _ref.filterByLabel,
40
41
  globalFilterOpts = _ref.globalFilterOpts,
41
42
  globalFiltersIconDescription = _ref.globalFiltersIconDescription,
42
43
  globalFiltersPlaceholderText = _ref.globalFiltersPlaceholderText,
@@ -64,6 +65,7 @@ export var AddSelectBody = function AddSelectBody(_ref) {
64
65
  open = _ref.open,
65
66
  portalTarget = _ref.portalTarget,
66
67
  searchResultsLabel = _ref.searchResultsLabel,
68
+ sortByLabel = _ref.sortByLabel,
67
69
  title = _ref.title,
68
70
  useNormalizedItems = _ref.useNormalizedItems,
69
71
  rest = _objectWithoutProperties(_ref, _excluded);
@@ -253,13 +255,15 @@ export var AddSelectBody = function AddSelectBody(_ref) {
253
255
  setSortDirection: setSortDirection,
254
256
  sortAttribute: sortAttribute,
255
257
  sortDirection: sortDirection,
256
- sortBy: globalSortBy
258
+ sortBy: globalSortBy,
259
+ sortByLabel: sortByLabel
257
260
  }))), displayColumnView ? /*#__PURE__*/React.createElement("div", {
258
261
  className: "".concat(blockClass, "__columns")
259
262
  }, /*#__PURE__*/React.createElement(AddSelectColumn, _extends({}, commonListProps, {
260
263
  items: itemsToDisplay,
261
264
  columnInputPlaceholder: columnInputPlaceholder,
262
- header: (_path$ = path[0]) === null || _path$ === void 0 ? void 0 : _path$.title
265
+ header: (_path$ = path[0]) === null || _path$ === void 0 ? void 0 : _path$.title,
266
+ filterByLabel: filterByLabel
263
267
  }))) : /*#__PURE__*/React.createElement("div", null, hasResults ? /*#__PURE__*/React.createElement(AddSelectList, _extends({}, commonListProps, {
264
268
  filteredItems: itemsToDisplay,
265
269
  modifiers: items.modifiers,
@@ -286,6 +290,7 @@ AddSelectBody.propTypes = {
286
290
  columnInputPlaceholder: PropTypes.string,
287
291
  defaultModifiers: PropTypes.array,
288
292
  description: PropTypes.string,
293
+ filterByLabel: PropTypes.string,
289
294
  globalFilterOpts: PropTypes.array,
290
295
  globalFiltersIconDescription: PropTypes.string,
291
296
  globalFiltersPlaceholderText: PropTypes.string,
@@ -306,11 +311,11 @@ AddSelectBody.propTypes = {
306
311
  entries: PropTypes.arrayOf(PropTypes.shape({
307
312
  avatar: PropTypes.shape({
308
313
  alt: PropTypes.string,
309
- icon: PropTypes.object,
314
+ icon: PropTypes.func,
310
315
  src: PropTypes.string
311
316
  }),
312
317
  children: PropTypes.object,
313
- icon: PropTypes.object,
318
+ icon: PropTypes.func,
314
319
  id: PropTypes.string.isRequired,
315
320
  meta: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.shape({
316
321
  id: PropTypes.string,
@@ -339,6 +344,7 @@ AddSelectBody.propTypes = {
339
344
  open: PropTypes.bool,
340
345
  portalTarget: PropTypes.node,
341
346
  searchResultsLabel: PropTypes.string,
347
+ sortByLabel: PropTypes.string,
342
348
  title: PropTypes.string,
343
349
  useNormalizedItems: PropTypes.bool
344
350
  };
@@ -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 { Breadcrumb, BreadcrumbItem } from 'carbon-components-react';
8
+ import { Breadcrumb, BreadcrumbItem } from '@carbon/react';
9
9
  import PropTypes from 'prop-types';
10
10
  var componentName = 'AddSelectBreadcrumbs';
11
11
  export var AddSelectBreadcrumbs = function AddSelectBreadcrumbs(_ref) {
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
2
2
  import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
3
3
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
4
4
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
5
- var _excluded = ["columnInputPlaceholder", "header", "items", "multiSelection", "parentId", "path", "setMultiSelection", "setPath"];
5
+ var _excluded = ["columnInputPlaceholder", "filterByLabel", "header", "items", "multiSelection", "parentId", "path", "setMultiSelection", "setPath"];
6
6
  //
7
7
  // Copyright IBM Corp. 2022
8
8
  //
@@ -11,9 +11,9 @@ var _excluded = ["columnInputPlaceholder", "header", "items", "multiSelection",
11
11
  //
12
12
  import React, { useState } from 'react';
13
13
  import PropTypes from 'prop-types';
14
- import { TextInput, Tag, OverflowMenu, Checkbox } from 'carbon-components-react';
15
- import { Filter32 } from '@carbon/icons-react';
16
- import { pkg, carbon } from '../../settings';
14
+ import { TextInput, Tag, OverflowMenu, Checkbox, usePrefix } from '@carbon/react';
15
+ import { Filter } from '@carbon/icons-react';
16
+ import { pkg } from '../../settings';
17
17
  import { AddSelectList } from './AddSelectList';
18
18
  import { AddSelectSort } from './AddSelectSort';
19
19
  import { sortItems } from './add-select-utils';
@@ -25,6 +25,7 @@ var colClass = "".concat(blockClass, "__column");
25
25
  var componentName = 'AddSelectColumn';
26
26
  export var AddSelectColumn = function AddSelectColumn(_ref) {
27
27
  var columnInputPlaceholder = _ref.columnInputPlaceholder,
28
+ filterByLabel = _ref.filterByLabel,
28
29
  header = _ref.header,
29
30
  items = _ref.items,
30
31
  multiSelection = _ref.multiSelection,
@@ -34,6 +35,8 @@ export var AddSelectColumn = function AddSelectColumn(_ref) {
34
35
  setPath = _ref.setPath,
35
36
  props = _objectWithoutProperties(_ref, _excluded);
36
37
 
38
+ var carbonPrefix = usePrefix();
39
+
37
40
  var _useParentSelect = useParentSelect(),
38
41
  parentSelected = _useParentSelect.parentSelected,
39
42
  setParentSelected = _useParentSelect.setParentSelected;
@@ -100,7 +103,8 @@ export var AddSelectColumn = function AddSelectColumn(_ref) {
100
103
  return item[filterBy];
101
104
  }) : [];
102
105
 
103
- var selectAllHandler = function selectAllHandler(checked) {
106
+ var selectAllHandler = function selectAllHandler(event, _ref2) {
107
+ var checked = _ref2.checked;
104
108
  var itemIds = entries.map(function (item) {
105
109
  return item.id;
106
110
  });
@@ -181,19 +185,25 @@ export var AddSelectColumn = function AddSelectColumn(_ref) {
181
185
  sortDirection: sortDirection,
182
186
  sortBy: sortBy
183
187
  }), filterByOpts.length > 0 && /*#__PURE__*/React.createElement(OverflowMenu, {
184
- renderIcon: Filter32,
188
+ renderIcon: function renderIcon(props) {
189
+ return /*#__PURE__*/React.createElement(Filter, _extends({
190
+ size: 32
191
+ }, props));
192
+ },
185
193
  className: "".concat(colClass, "-overflow"),
186
- flipped: true
194
+ flipped: true,
195
+ ariaLabel: filterByLabel
187
196
  }, filterByOpts.map(function (opt) {
188
197
  return /*#__PURE__*/React.createElement("div", {
189
198
  key: opt,
190
- className: "".concat(carbon.prefix, "--overflow-menu-options__option")
199
+ className: "".concat(carbonPrefix, "--overflow-menu-options__option")
191
200
  }, /*#__PURE__*/React.createElement("div", {
192
- className: "".concat(carbon.prefix, "--overflow-menu-options__btn")
201
+ className: "".concat(carbonPrefix, "--overflow-menu-options__btn")
193
202
  }, /*#__PURE__*/React.createElement(Checkbox, {
194
203
  id: opt,
195
204
  labelText: opt,
196
- onChange: function onChange(checked) {
205
+ onChange: function onChange(event, _ref3) {
206
+ var checked = _ref3.checked;
197
207
  return filterHandler(checked, opt);
198
208
  },
199
209
  checked: filters.find(function (o) {
@@ -231,6 +241,7 @@ export var AddSelectColumn = function AddSelectColumn(_ref) {
231
241
  };
232
242
  AddSelectColumn.propTypes = {
233
243
  columnInputPlaceholder: PropTypes.string,
244
+ filterByLabel: PropTypes.string,
234
245
  header: PropTypes.string,
235
246
  items: PropTypes.object,
236
247
  multiSelection: PropTypes.array,
@@ -1,3 +1,4 @@
1
+ import _extends from "@babel/runtime/helpers/extends";
1
2
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
3
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
3
4
 
@@ -12,10 +13,10 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
12
13
  // LICENSE file in the root directory of this source tree.
13
14
  //
14
15
  import React, { useState } from 'react';
15
- import { Button, ButtonSet, Dropdown, TextInput, Tag } from 'carbon-components-react';
16
+ import { Button, ButtonSet, Dropdown, TextInput, Tag } from '@carbon/react';
16
17
  import cx from 'classnames';
17
18
  import PropTypes from 'prop-types';
18
- import { Filter16 } from '@carbon/icons-react';
19
+ import { Filter } from '@carbon/icons-react';
19
20
  import { pkg } from '../../settings';
20
21
  var blockClass = "".concat(pkg.prefix, "--add-select__global-filter");
21
22
  var componentName = 'AddSelectFilter';
@@ -100,7 +101,11 @@ export var AddSelectFilter = function AddSelectFilter(_ref) {
100
101
  value: searchTerm,
101
102
  onChange: searchHandler
102
103
  }), showFilter && /*#__PURE__*/React.createElement(Button, {
103
- renderIcon: Filter16,
104
+ renderIcon: function renderIcon(props) {
105
+ return /*#__PURE__*/React.createElement(Filter, _extends({
106
+ size: 16
107
+ }, props));
108
+ },
104
109
  hasIconOnly: true,
105
110
  kind: "ghost",
106
111
  onClick: function onClick() {
@@ -1,3 +1,4 @@
1
+ import _extends from "@babel/runtime/helpers/extends";
1
2
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
3
  import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
3
4
  //
@@ -7,8 +8,8 @@ import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
7
8
  // LICENSE file in the root directory of this source tree.
8
9
  //
9
10
  import React from 'react';
10
- import { Button, Checkbox, RadioButton, StructuredListRow, StructuredListWrapper, StructuredListBody, StructuredListCell, Dropdown } from 'carbon-components-react';
11
- import { ChevronRight16, View16 } from '@carbon/icons-react';
11
+ import { Button, Checkbox, RadioButton, StructuredListRow, StructuredListWrapper, StructuredListBody, StructuredListCell, Dropdown } from '@carbon/react';
12
+ import { ChevronRight, View } from '@carbon/icons-react';
12
13
  import PropTypes from 'prop-types';
13
14
  import cx from 'classnames';
14
15
  import { pkg } from '../../settings';
@@ -110,7 +111,8 @@ export var AddSelectList = function AddSelectList(_ref) {
110
111
  }, multi ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
111
112
  className: "".concat(blockClass, "-checkbox")
112
113
  }, /*#__PURE__*/React.createElement(Checkbox, {
113
- onChange: function onChange(checked) {
114
+ onChange: function onChange(event, _ref5) {
115
+ var checked = _ref5.checked;
114
116
  return handleMultiSelection(item.id, checked);
115
117
  },
116
118
  labelText: item.title,
@@ -136,8 +138,8 @@ export var AddSelectList = function AddSelectList(_ref) {
136
138
  disabled: !isSelected(item.id),
137
139
  className: "".concat(blockClass, "-dropdown ").concat(blockClass, "-hidden-hover"),
138
140
  initialSelectedItem: item[modifiers.id],
139
- onChange: function onChange(_ref5) {
140
- var selectedItem = _ref5.selectedItem;
141
+ onChange: function onChange(_ref6) {
142
+ var selectedItem = _ref6.selectedItem;
141
143
  return modifierHandler(item.id, selectedItem);
142
144
  }
143
145
  })) : /*#__PURE__*/React.createElement(RadioButton, {
@@ -152,7 +154,11 @@ export var AddSelectList = function AddSelectList(_ref) {
152
154
  selected: item.id === singleSelection
153
155
  }), item.children && /*#__PURE__*/React.createElement(Button, {
154
156
  className: "".concat(blockClass, "-view-children"),
155
- renderIcon: ChevronRight16,
157
+ renderIcon: function renderIcon(props) {
158
+ return /*#__PURE__*/React.createElement(ChevronRight, _extends({
159
+ size: 16
160
+ }, props));
161
+ },
156
162
  iconDescription: navIconDescription,
157
163
  tooltipPosition: "left",
158
164
  tooltipAlignment: "center",
@@ -166,7 +172,11 @@ export var AddSelectList = function AddSelectList(_ref) {
166
172
  className: "".concat(blockClass, "-hidden-hover")
167
173
  }, /*#__PURE__*/React.createElement(Button, {
168
174
  className: "".concat(blockClass, "-view-meta"),
169
- renderIcon: View16,
175
+ renderIcon: function renderIcon(props) {
176
+ return /*#__PURE__*/React.createElement(View, _extends({
177
+ size: 16
178
+ }, props));
179
+ },
170
180
  iconDescription: metaIconDescription,
171
181
  tooltipPosition: "left",
172
182
  tooltipAlignment: "center",
@@ -1,7 +1,8 @@
1
+ import _extends from "@babel/runtime/helpers/extends";
1
2
  import React, { isValidElement } from 'react';
2
3
  import PropTypes from 'prop-types';
3
- import { Close16 } from '@carbon/icons-react';
4
- import { Button } from 'carbon-components-react';
4
+ import { Close } from '@carbon/icons-react';
5
+ import { Button } from '@carbon/react';
5
6
  import { pkg } from '../../settings';
6
7
  var blockClass = "".concat(pkg.prefix, "--add-select__meta-panel");
7
8
  var componentName = 'AddSelectMetaPanel';
@@ -22,8 +23,12 @@ export var AddSelectMetaPanel = function AddSelectMetaPanel(_ref) {
22
23
  }, /*#__PURE__*/React.createElement("p", {
23
24
  className: "".concat(blockClass, "-title")
24
25
  }, title), /*#__PURE__*/React.createElement(Button, {
26
+ renderIcon: function renderIcon(props) {
27
+ return /*#__PURE__*/React.createElement(Close, _extends({
28
+ size: 16
29
+ }, props));
30
+ },
25
31
  className: "".concat(blockClass, "-close"),
26
- renderIcon: Close16,
27
32
  iconDescription: closeIconDescription,
28
33
  tooltipPosition: "left",
29
34
  tooltipAlignment: "center",
@@ -7,7 +7,7 @@ var _excluded = ["meta", "icon", "avatar"];
7
7
  // LICENSE file in the root directory of this source tree.
8
8
  //
9
9
  import React from 'react';
10
- import { Tag, Accordion, AccordionItem } from 'carbon-components-react';
10
+ import { Tag, Accordion, AccordionItem } from '@carbon/react';
11
11
  import PropTypes from 'prop-types';
12
12
  import { NoDataEmptyState } from '../../components/EmptyStates/NoDataEmptyState';
13
13
  import { pkg } from '../../settings';
@@ -1,3 +1,4 @@
1
+ import _extends from "@babel/runtime/helpers/extends";
1
2
  import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
2
3
  //
3
4
  // Copyright IBM Corp. 2022
@@ -7,24 +8,29 @@ import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
7
8
  //
8
9
  import React from 'react';
9
10
  import PropTypes from 'prop-types';
10
- import { OverflowMenu, OverflowMenuItem } from 'carbon-components-react';
11
- import { ArrowsVertical32, ArrowUp16, ArrowDown16 } from '@carbon/icons-react';
11
+ import { OverflowMenu, OverflowMenuItem } from '@carbon/react';
12
+ import { ArrowsVertical, ArrowUp, ArrowDown } from '@carbon/icons-react';
12
13
  import { pkg } from '../../settings';
13
14
  var blockClass = "".concat(pkg.prefix, "--add-select-sort");
14
15
  var componentName = 'AddSelectSort';
15
16
  export var AddSelectSort = function AddSelectSort(_ref) {
16
17
  var setSortAttribute = _ref.setSortAttribute,
17
18
  setSortDirection = _ref.setSortDirection,
18
- sortBy = _ref.sortBy;
19
+ sortBy = _ref.sortBy,
20
+ sortByLabel = _ref.sortByLabel;
19
21
  var sortByOpts = sortBy ? sortBy.reduce(function (acc, cur) {
20
22
  var opts = [{
21
23
  id: "".concat(cur, "-asc"),
22
- itemText: /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(ArrowUp16, null), cur),
24
+ itemText: /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(ArrowUp, {
25
+ size: 16
26
+ }), cur),
23
27
  direction: 'asc',
24
28
  attribute: cur
25
29
  }, {
26
30
  id: "".concat(cur, "-desc"),
27
- itemText: /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(ArrowDown16, null), cur),
31
+ itemText: /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(ArrowDown, {
32
+ size: 16
33
+ }), cur),
28
34
  direction: 'desc',
29
35
  attribute: cur
30
36
  }];
@@ -41,9 +47,14 @@ export var AddSelectSort = function AddSelectSort(_ref) {
41
47
  return /*#__PURE__*/React.createElement("div", {
42
48
  className: blockClass
43
49
  }, sortByOpts.length > 0 && /*#__PURE__*/React.createElement(OverflowMenu, {
50
+ renderIcon: function renderIcon(props) {
51
+ return /*#__PURE__*/React.createElement(ArrowsVertical, _extends({
52
+ size: 32
53
+ }, props));
54
+ },
44
55
  className: "".concat(blockClass, "_overflow"),
45
- renderIcon: ArrowsVertical32,
46
- flipped: true
56
+ flipped: true,
57
+ ariaLabel: sortByLabel
47
58
  }, sortByOpts.map(function (opt) {
48
59
  return /*#__PURE__*/React.createElement(OverflowMenuItem, {
49
60
  className: "".concat(blockClass, "_overflow-item"),
@@ -58,6 +69,7 @@ export var AddSelectSort = function AddSelectSort(_ref) {
58
69
  AddSelectSort.propTypes = {
59
70
  setSortAttribute: PropTypes.func,
60
71
  setSortDirection: PropTypes.func,
61
- sortBy: PropTypes.array
72
+ sortBy: PropTypes.array,
73
+ sortByLabel: PropTypes.string
62
74
  };
63
75
  AddSelectSort.displayName = componentName;
@@ -23,13 +23,13 @@ import React, { useState, useEffect, useRef } from 'react'; // Other standard im
23
23
 
24
24
  import PropTypes from 'prop-types';
25
25
  import cx from 'classnames';
26
- import { Link, TooltipIcon } from 'carbon-components-react';
27
- import { pkg, carbon } from '../../settings';
26
+ import { Link, IconButton, usePrefix } from '@carbon/react';
27
+ import { pkg } from '../../settings';
28
28
  import { useResizeDetector } from 'react-resize-detector';
29
- import { ArrowLeft16 } from '@carbon/icons-react'; // Carbon and package components we use.
29
+ import { ArrowLeft } from '@carbon/icons-react'; // Carbon and package components we use.
30
30
 
31
- import { Breadcrumb, BreadcrumbItem, OverflowMenu, OverflowMenuItem } from 'carbon-components-react';
32
- import { OverflowMenuHorizontal32 } from '@carbon/icons-react';
31
+ import { Breadcrumb, BreadcrumbItem, OverflowMenu, OverflowMenuItem } from '@carbon/react';
32
+ import { OverflowMenuHorizontal } from '@carbon/icons-react';
33
33
  import uuidv4 from '../../global/js/utils/uuidv4';
34
34
  import '../../global/js/utils/props-helper'; // The block part of our conventional BEM class names (blockClass__E--M).
35
35
 
@@ -50,6 +50,8 @@ export var BreadcrumbWithOverflow = function BreadcrumbWithOverflow(_ref) {
50
50
  overflowAriaLabel = _ref.overflowAriaLabel,
51
51
  other = _objectWithoutProperties(_ref, _excluded);
52
52
 
53
+ var carbonPrefix = usePrefix();
54
+
53
55
  var _useState = useState(3),
54
56
  _useState2 = _slicedToArray(_useState, 2),
55
57
  displayCount = _useState2[0],
@@ -78,7 +80,11 @@ export var BreadcrumbWithOverflow = function BreadcrumbWithOverflow(_ref) {
78
80
  ariaLabel: overflowAriaLabel,
79
81
  iconDescription: overflowAriaLabel // also needs setting to avoid a11y "Accessible name does not match or contain the visible label text"
80
82
  ,
81
- renderIcon: OverflowMenuHorizontal32,
83
+ renderIcon: function renderIcon(props) {
84
+ return /*#__PURE__*/React.createElement(OverflowMenuHorizontal, _extends({
85
+ size: 32
86
+ }, props));
87
+ },
82
88
  className: "".concat(blockClass, "__overflow-menu"),
83
89
  menuOptionsClass: "".concat(blockClass, "__overflow-menu-options")
84
90
  }, // eslint-disable-next-line react/prop-types
@@ -103,7 +109,11 @@ export var BreadcrumbWithOverflow = function BreadcrumbWithOverflow(_ref) {
103
109
  key: "".concat(blockClass, "-hidden-overflow-").concat(internalId)
104
110
  }, /*#__PURE__*/React.createElement(OverflowMenu, {
105
111
  ariaLabel: overflowAriaLabel,
106
- renderIcon: OverflowMenuHorizontal32
112
+ renderIcon: function renderIcon(props) {
113
+ return /*#__PURE__*/React.createElement(OverflowMenuHorizontal, _extends({
114
+ size: 32
115
+ }, props));
116
+ }
107
117
  })), breadcrumbs.map(function (_ref3) {
108
118
  var label = _ref3.label,
109
119
  key = _ref3.key,
@@ -185,7 +195,7 @@ export var BreadcrumbWithOverflow = function BreadcrumbWithOverflow(_ref) {
185
195
  /* istanbul ignore next */
186
196
 
187
197
  if (sizingContainerRef.current) {
188
- var sizingBreadcrumbItems = sizingContainerRef.current.querySelectorAll(".".concat(carbon.prefix, "--breadcrumb-item"));
198
+ var sizingBreadcrumbItems = sizingContainerRef.current.querySelectorAll(".".concat(carbonPrefix, "--breadcrumb-item"));
189
199
  var breadcrumbWidthsIncludingMargin = [];
190
200
 
191
201
  var _iterator = _createForOfIteratorHelper(sizingBreadcrumbItems),
@@ -289,11 +299,12 @@ export var BreadcrumbWithOverflow = function BreadcrumbWithOverflow(_ref) {
289
299
  }, /*#__PURE__*/React.createElement(Link, {
290
300
  href: backItem.href,
291
301
  renderIcon: function renderIcon() {
292
- return /*#__PURE__*/React.createElement(TooltipIcon, {
293
- tooltipText: backItem.title || backItem.label,
294
- direction: "right",
295
- renderIcon: ArrowLeft16
296
- });
302
+ return /*#__PURE__*/React.createElement(IconButton, {
303
+ label: backItem.title || backItem.label,
304
+ align: "right"
305
+ }, /*#__PURE__*/React.createElement(ArrowLeft, {
306
+ size: 16
307
+ }));
297
308
  }
298
309
  })), displayedBreadcrumbItems)));
299
310
  }; // Return a placeholder if not released and not enabled by feature flag