@carbon/ibm-products 2.52.0 → 2.53.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (413) hide show
  1. package/README.md +3 -3
  2. package/css/index-full-carbon.css +306 -298
  3. package/css/index-full-carbon.css.map +1 -1
  4. package/css/index-full-carbon.min.css +1 -1
  5. package/css/index-full-carbon.min.css.map +1 -1
  6. package/css/index-without-carbon-released-only.css +94 -27
  7. package/css/index-without-carbon-released-only.css.map +1 -1
  8. package/css/index-without-carbon-released-only.min.css +1 -1
  9. package/css/index-without-carbon-released-only.min.css.map +1 -1
  10. package/css/index-without-carbon.css +110 -44
  11. package/css/index-without-carbon.css.map +1 -1
  12. package/css/index-without-carbon.min.css +1 -1
  13. package/css/index-without-carbon.min.css.map +1 -1
  14. package/css/index.css +179 -118
  15. package/css/index.css.map +1 -1
  16. package/css/index.min.css +1 -1
  17. package/css/index.min.css.map +1 -1
  18. package/es/components/APIKeyModal/APIKeyDownloader.d.ts +2 -1
  19. package/es/components/APIKeyModal/APIKeyModal.js +1 -1
  20. package/es/components/AboutModal/AboutModal.js +2 -4
  21. package/es/components/ActionBar/ActionBarOverflowItems.d.ts +2 -2
  22. package/es/components/AddSelect/AddSelectBody.js +8 -1
  23. package/es/components/AddSelect/AddSelectBreadcrumbs.d.ts +2 -1
  24. package/es/components/AddSelect/AddSelectColumn.d.ts +2 -1
  25. package/es/components/AddSelect/AddSelectFilter.d.ts +2 -1
  26. package/es/components/AddSelect/AddSelectFilter.js +5 -5
  27. package/es/components/AddSelect/AddSelectFormControl.d.ts +2 -1
  28. package/es/components/AddSelect/AddSelectList.d.ts +2 -1
  29. package/es/components/AddSelect/AddSelectMetaPanel.d.ts +2 -1
  30. package/es/components/AddSelect/AddSelectRow.d.ts +2 -1
  31. package/es/components/AddSelect/AddSelectSidebar.d.ts +2 -1
  32. package/es/components/AddSelect/AddSelectSidebar.js +1 -1
  33. package/es/components/AddSelect/AddSelectSort.d.ts +2 -1
  34. package/es/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.d.ts +2 -1
  35. package/es/components/ButtonSetWithOverflow/ButtonSetWithOverflow.d.ts +2 -1
  36. package/es/components/Card/Card.d.ts +5 -1
  37. package/es/components/Card/Card.js +9 -2
  38. package/es/components/Card/CardFooter.d.ts +1 -1
  39. package/es/components/Card/CardHeader.d.ts +12 -2
  40. package/es/components/Card/CardHeader.js +17 -9
  41. package/es/components/Carousel/Carousel.js +17 -8
  42. package/es/components/Checklist/ChecklistChart.js +22 -6
  43. package/es/components/Coachmark/Coachmark.js +18 -11
  44. package/es/components/Coachmark/CoachmarkOverlay.js +30 -19
  45. package/es/components/Coachmark/utils/hooks.js +1 -1
  46. package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +2 -2
  47. package/es/components/CoachmarkStack/CoachmarkStack.js +1 -1
  48. package/es/components/ComboButton/ComboButtonItem/index.d.ts +2 -1
  49. package/es/components/ConditionBuilder/ConditionBlock/ConditionBlock.d.ts +1 -1
  50. package/es/components/ConditionBuilder/ConditionBlock/ConditionBlock.js +3 -6
  51. package/es/components/ConditionBuilder/ConditionBuilderActions/ConditionBuilderActions.d.ts +2 -1
  52. package/es/components/ConditionBuilder/ConditionBuilderAdd/ConditionBuilderAdd.d.ts +2 -1
  53. package/es/components/ConditionBuilder/ConditionBuilderButton/ConditionBuilderButton.d.ts +1 -1
  54. package/es/components/ConditionBuilder/ConditionBuilderConnector/ConditionConnector.d.ts +2 -1
  55. package/es/components/ConditionBuilder/ConditionBuilderConnector/ConditionConnector.js +2 -8
  56. package/es/components/ConditionBuilder/ConditionBuilderConnector/GroupConnector.d.ts +2 -1
  57. package/es/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.d.ts +2 -1
  58. package/es/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.js +0 -1
  59. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.d.ts +1 -1
  60. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemDate/ConditionBuilderItemDate.d.ts +2 -1
  61. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemNumber/ConditionBuilderItemNumber.d.ts +2 -1
  62. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.d.ts +2 -1
  63. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.js +5 -1
  64. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOptionForValueField.d.ts +2 -1
  65. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOptionForValueField.js +6 -1
  66. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemText/ConditionBuilderItemText.d.ts +2 -1
  67. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemTime/ConditionBuilderItemTime.d.ts +2 -1
  68. package/es/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.d.ts +2 -1
  69. package/es/components/ConditionBuilder/ConditionPreview/ConditionPreview.d.ts +2 -1
  70. package/es/components/ConditionBuilder/utils/handleKeyboardEvents.js +65 -61
  71. package/es/components/ConditionBuilder/utils/util.js +0 -2
  72. package/es/components/CreateInfluencer/CreateInfluencer.d.ts +2 -2
  73. package/es/components/DataSpreadsheet/DataSpreadsheet.js +4 -4
  74. package/es/components/DataSpreadsheet/DataSpreadsheetBody.js +2 -2
  75. package/es/components/Datagrid/Datagrid/DatagridBody.d.ts +2 -1
  76. package/es/components/Datagrid/Datagrid/DatagridContent.d.ts +2 -1
  77. package/es/components/Datagrid/Datagrid/DatagridEmptyBody.d.ts +2 -1
  78. package/es/components/Datagrid/Datagrid/DatagridEmptyBody.js +5 -1
  79. package/es/components/Datagrid/Datagrid/DatagridExpandedRow.d.ts +2 -2
  80. package/es/components/Datagrid/Datagrid/DatagridExpandedRow.js +6 -4
  81. package/es/components/Datagrid/Datagrid/DatagridHead.d.ts +2 -1
  82. package/es/components/Datagrid/Datagrid/DatagridHeaderRow.js +13 -10
  83. package/es/components/Datagrid/Datagrid/DatagridRefBody.d.ts +2 -1
  84. package/es/components/Datagrid/Datagrid/DatagridRow.d.ts +2 -1
  85. package/es/components/Datagrid/Datagrid/DatagridRow.js +14 -10
  86. package/es/components/Datagrid/Datagrid/DatagridSelectAll.d.ts +2 -1
  87. package/es/components/Datagrid/Datagrid/DatagridSelectAllWithToggle.d.ts +2 -1
  88. package/es/components/Datagrid/Datagrid/DatagridSimpleBody.d.ts +2 -1
  89. package/es/components/Datagrid/Datagrid/DatagridToolbar.d.ts +2 -1
  90. package/es/components/Datagrid/Datagrid/DatagridVirtualBody.d.ts +2 -1
  91. package/es/components/Datagrid/Datagrid/DraggableElement.d.ts +2 -2
  92. package/es/components/Datagrid/Datagrid/addons/{Slug/DatagridSlug.d.ts → AiLabel/DatagridAiLabel.d.ts} +3 -3
  93. package/es/components/Datagrid/Datagrid/addons/AiLabel/DatagridAiLabel.js +29 -0
  94. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Actions.d.ts +2 -1
  95. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.d.ts +2 -1
  96. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.d.ts +2 -1
  97. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.d.ts +2 -1
  98. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +1 -1
  99. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/DraggableItemsList.d.ts +2 -1
  100. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/TearsheetWrapper.d.ts +2 -1
  101. package/es/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.d.ts +2 -1
  102. package/es/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.d.ts +2 -1
  103. package/es/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +5 -5
  104. package/es/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.d.ts +1 -1
  105. package/es/components/Datagrid/Datagrid/addons/Filtering/OverflowCheckboxes.d.ts +2 -1
  106. package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.d.ts +1 -1
  107. package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.js +2 -2
  108. package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/InlineEditButton.d.ts +2 -1
  109. package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.d.ts +2 -1
  110. package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.js +5 -5
  111. package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/InlineEditContext.d.ts +1 -1
  112. package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.d.ts +2 -1
  113. package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +1 -1
  114. package/es/components/Datagrid/index.d.ts +29 -22
  115. package/es/components/Datagrid/types/index.d.ts +7 -7
  116. package/es/components/Datagrid/useActionsColumn.js +1 -2
  117. package/es/components/Datagrid/useColumnCenterAlign.js +1 -2
  118. package/es/components/Datagrid/useColumnRightAlign.js +1 -2
  119. package/es/components/Datagrid/useCustomizeColumns.js +1 -2
  120. package/es/components/Datagrid/useDatagrid.js +1 -2
  121. package/es/components/Datagrid/useDefaultStringRenderer.js +3 -3
  122. package/es/components/Datagrid/useDisableSelectRows.js +1 -2
  123. package/es/components/Datagrid/useExpandedRow.js +1 -2
  124. package/es/components/Datagrid/useFiltering.js +1 -2
  125. package/es/components/Datagrid/useFlexResize.js +1 -1
  126. package/es/components/Datagrid/useInfiniteScroll.js +1 -2
  127. package/es/components/Datagrid/useInlineEdit.js +1 -2
  128. package/es/components/Datagrid/useNestedRowExpander.js +2 -2
  129. package/es/components/Datagrid/useNestedRows.js +1 -2
  130. package/es/components/Datagrid/useOnRowClick.js +1 -2
  131. package/es/components/Datagrid/useParentDimensions.js +5 -5
  132. package/es/components/Datagrid/useRowExpander.js +6 -7
  133. package/es/components/Datagrid/useRowIsMouseOver.js +1 -2
  134. package/es/components/Datagrid/useSelectAllToggle.js +1 -2
  135. package/es/components/Datagrid/useSelectRows.js +1 -2
  136. package/es/components/Datagrid/useSortableColumns.js +7 -8
  137. package/es/components/Datagrid/useStickyColumn.js +4 -5
  138. package/es/components/EmptyStates/EmptyState.d.ts +1 -1
  139. package/es/components/EmptyStates/EmptyState.js +8 -2
  140. package/es/components/EmptyStates/EmptyStateContent.d.ts +2 -1
  141. package/es/components/EmptyStates/EmptyStateIllustration.d.ts +2 -1
  142. package/es/components/EmptyStates/EmptyStateV2.d.ts +1 -2
  143. package/es/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.d.ts +1 -2
  144. package/es/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +1 -1
  145. package/es/components/EmptyStates/ErrorEmptyState/index.d.ts +8 -1
  146. package/es/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.d.ts +1 -2
  147. package/es/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +1 -1
  148. package/es/components/EmptyStates/NoDataEmptyState/index.d.ts +8 -1
  149. package/es/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.d.ts +1 -2
  150. package/es/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +1 -1
  151. package/es/components/EmptyStates/NoTagsEmptyState/index.d.ts +8 -1
  152. package/es/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.d.ts +1 -2
  153. package/es/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +1 -1
  154. package/es/components/EmptyStates/NotFoundEmptyState/index.d.ts +8 -1
  155. package/es/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.d.ts +1 -2
  156. package/es/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +1 -1
  157. package/es/components/EmptyStates/NotificationsEmptyState/index.d.ts +8 -1
  158. package/es/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.d.ts +1 -2
  159. package/es/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +1 -1
  160. package/es/components/EmptyStates/UnauthorizedEmptyState/index.d.ts +8 -1
  161. package/es/components/EmptyStates/assets/ErrorIllustration.d.ts +2 -1
  162. package/es/components/EmptyStates/assets/NoDataIllustration.d.ts +2 -1
  163. package/es/components/EmptyStates/assets/NoDataIllustration.js +5 -5
  164. package/es/components/EmptyStates/assets/NoTagsIllustration.d.ts +2 -1
  165. package/es/components/EmptyStates/assets/NotFoundIllustration.d.ts +2 -1
  166. package/es/components/EmptyStates/assets/NotificationsIllustration.d.ts +2 -1
  167. package/es/components/EmptyStates/assets/NotificationsIllustration.js +8 -8
  168. package/es/components/EmptyStates/assets/UnauthorizedIllustration.d.ts +2 -1
  169. package/es/components/EmptyStates/index.d.ts +22 -8
  170. package/es/components/ExportModal/ExportModal.js +1 -3
  171. package/es/components/ExpressiveCard/ExpressiveCard.d.ts +5 -0
  172. package/es/components/ExpressiveCard/ExpressiveCard.js +5 -0
  173. package/es/components/FeatureFlags/index.d.ts +5 -4
  174. package/es/components/FeatureFlags/index.js +17 -10
  175. package/es/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.js +1 -1
  176. package/es/components/FullPageError/assets/Error403SVG.d.ts +2 -1
  177. package/es/components/FullPageError/assets/Error404SVG.d.ts +2 -1
  178. package/es/components/FullPageError/assets/ErrorGenericSVG.d.ts +2 -1
  179. package/es/components/HTTPErrors/HTTPErrorContent.d.ts +2 -1
  180. package/es/components/HTTPErrors/assets/HTTPErrorSvg403.d.ts +2 -1
  181. package/es/components/HTTPErrors/assets/HTTPErrorSvg404.d.ts +2 -1
  182. package/es/components/HTTPErrors/assets/HTTPErrorSvgOther.d.ts +2 -1
  183. package/es/components/InterstitialScreen/InterstitialScreen.js +4 -4
  184. package/es/components/Nav/NavItem.d.ts +2 -1
  185. package/es/components/NotificationsPanel/NotificationsPanel.js +8 -1
  186. package/es/components/PageHeader/PageHeader.d.ts +2 -0
  187. package/es/components/PageHeader/PageHeader.js +4 -1
  188. package/es/components/PageHeader/PageHeaderTitle.d.ts +3 -1
  189. package/es/components/PageHeader/PageHeaderTitle.js +42 -8
  190. package/es/components/ProductiveCard/ProductiveCard.d.ts +5 -0
  191. package/es/components/ProductiveCard/ProductiveCard.js +4 -0
  192. package/es/components/ScrollGradient/ScrollGradient.js +2 -2
  193. package/es/components/SidePanel/SidePanel.d.ts +5 -0
  194. package/es/components/SidePanel/SidePanel.js +30 -16
  195. package/es/components/SimpleHeader/SimpleHeader.d.ts +2 -1
  196. package/es/components/SteppedAnimatedMedia/SteppedAnimatedMedia.js +1 -1
  197. package/es/components/TagOverflow/TagOverflow.d.ts +3 -0
  198. package/es/components/TagOverflow/TagOverflow.js +9 -4
  199. package/es/components/TagOverflow/TagOverflowModal.d.ts +6 -1
  200. package/es/components/TagOverflow/TagOverflowModal.js +17 -6
  201. package/es/components/TagOverflow/TagOverflowPopover.js +17 -9
  202. package/es/components/TagSet/TagSet.d.ts +4 -0
  203. package/es/components/TagSet/TagSet.js +20 -8
  204. package/es/components/TagSet/TagSetModal.js +0 -1
  205. package/es/components/Tearsheet/TearsheetShell.d.ts +13 -4
  206. package/es/components/Tearsheet/TearsheetShell.js +31 -20
  207. package/es/components/Toolbar/Toolbar.js +1 -1
  208. package/es/components/TooltipTrigger/TooltipTrigger.d.ts +2 -1
  209. package/es/components/TruncatedList/TruncatedList.js +1 -1
  210. package/es/components/_Canary/Canary.d.ts +2 -1
  211. package/es/global/js/hooks/usePreviousValue.js +1 -1
  212. package/es/index.js +29 -29
  213. package/es/node_modules/@carbon/icons-react/es/generated/bucket-9.js +742 -740
  214. package/lib/components/APIKeyModal/APIKeyDownloader.d.ts +2 -1
  215. package/lib/components/APIKeyModal/APIKeyModal.js +1 -1
  216. package/lib/components/AboutModal/AboutModal.js +2 -4
  217. package/lib/components/ActionBar/ActionBarOverflowItems.d.ts +2 -2
  218. package/lib/components/AddSelect/AddSelectBody.js +8 -1
  219. package/lib/components/AddSelect/AddSelectBreadcrumbs.d.ts +2 -1
  220. package/lib/components/AddSelect/AddSelectColumn.d.ts +2 -1
  221. package/lib/components/AddSelect/AddSelectFilter.d.ts +2 -1
  222. package/lib/components/AddSelect/AddSelectFilter.js +4 -4
  223. package/lib/components/AddSelect/AddSelectFormControl.d.ts +2 -1
  224. package/lib/components/AddSelect/AddSelectList.d.ts +2 -1
  225. package/lib/components/AddSelect/AddSelectMetaPanel.d.ts +2 -1
  226. package/lib/components/AddSelect/AddSelectRow.d.ts +2 -1
  227. package/lib/components/AddSelect/AddSelectSidebar.d.ts +2 -1
  228. package/lib/components/AddSelect/AddSelectSidebar.js +1 -1
  229. package/lib/components/AddSelect/AddSelectSort.d.ts +2 -1
  230. package/lib/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.d.ts +2 -1
  231. package/lib/components/ButtonSetWithOverflow/ButtonSetWithOverflow.d.ts +2 -1
  232. package/lib/components/Card/Card.d.ts +5 -1
  233. package/lib/components/Card/Card.js +9 -2
  234. package/lib/components/Card/CardFooter.d.ts +1 -1
  235. package/lib/components/Card/CardHeader.d.ts +12 -2
  236. package/lib/components/Card/CardHeader.js +17 -9
  237. package/lib/components/Carousel/Carousel.js +17 -8
  238. package/lib/components/Checklist/ChecklistChart.js +20 -4
  239. package/lib/components/Coachmark/Coachmark.js +17 -10
  240. package/lib/components/Coachmark/CoachmarkOverlay.js +29 -18
  241. package/lib/components/Coachmark/utils/hooks.js +1 -1
  242. package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +2 -2
  243. package/lib/components/CoachmarkStack/CoachmarkStack.js +1 -1
  244. package/lib/components/ComboButton/ComboButtonItem/index.d.ts +2 -1
  245. package/lib/components/ConditionBuilder/ConditionBlock/ConditionBlock.d.ts +1 -1
  246. package/lib/components/ConditionBuilder/ConditionBlock/ConditionBlock.js +3 -6
  247. package/lib/components/ConditionBuilder/ConditionBuilderActions/ConditionBuilderActions.d.ts +2 -1
  248. package/lib/components/ConditionBuilder/ConditionBuilderAdd/ConditionBuilderAdd.d.ts +2 -1
  249. package/lib/components/ConditionBuilder/ConditionBuilderButton/ConditionBuilderButton.d.ts +1 -1
  250. package/lib/components/ConditionBuilder/ConditionBuilderConnector/ConditionConnector.d.ts +2 -1
  251. package/lib/components/ConditionBuilder/ConditionBuilderConnector/ConditionConnector.js +2 -8
  252. package/lib/components/ConditionBuilder/ConditionBuilderConnector/GroupConnector.d.ts +2 -1
  253. package/lib/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.d.ts +2 -1
  254. package/lib/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.js +0 -1
  255. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.d.ts +1 -1
  256. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemDate/ConditionBuilderItemDate.d.ts +2 -1
  257. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemNumber/ConditionBuilderItemNumber.d.ts +2 -1
  258. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.d.ts +2 -1
  259. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.js +5 -1
  260. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOptionForValueField.d.ts +2 -1
  261. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOptionForValueField.js +6 -1
  262. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemText/ConditionBuilderItemText.d.ts +2 -1
  263. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemTime/ConditionBuilderItemTime.d.ts +2 -1
  264. package/lib/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.d.ts +2 -1
  265. package/lib/components/ConditionBuilder/ConditionPreview/ConditionPreview.d.ts +2 -1
  266. package/lib/components/ConditionBuilder/utils/handleKeyboardEvents.js +65 -61
  267. package/lib/components/ConditionBuilder/utils/util.js +0 -2
  268. package/lib/components/CreateInfluencer/CreateInfluencer.d.ts +2 -2
  269. package/lib/components/DataSpreadsheet/DataSpreadsheet.js +4 -4
  270. package/lib/components/DataSpreadsheet/DataSpreadsheetBody.js +2 -2
  271. package/lib/components/Datagrid/Datagrid/DatagridBody.d.ts +2 -1
  272. package/lib/components/Datagrid/Datagrid/DatagridContent.d.ts +2 -1
  273. package/lib/components/Datagrid/Datagrid/DatagridEmptyBody.d.ts +2 -1
  274. package/lib/components/Datagrid/Datagrid/DatagridEmptyBody.js +5 -1
  275. package/lib/components/Datagrid/Datagrid/DatagridExpandedRow.d.ts +2 -2
  276. package/lib/components/Datagrid/Datagrid/DatagridExpandedRow.js +6 -4
  277. package/lib/components/Datagrid/Datagrid/DatagridHead.d.ts +2 -1
  278. package/lib/components/Datagrid/Datagrid/DatagridHeaderRow.js +13 -10
  279. package/lib/components/Datagrid/Datagrid/DatagridRefBody.d.ts +2 -1
  280. package/lib/components/Datagrid/Datagrid/DatagridRow.d.ts +2 -1
  281. package/lib/components/Datagrid/Datagrid/DatagridRow.js +14 -10
  282. package/lib/components/Datagrid/Datagrid/DatagridSelectAll.d.ts +2 -1
  283. package/lib/components/Datagrid/Datagrid/DatagridSelectAllWithToggle.d.ts +2 -1
  284. package/lib/components/Datagrid/Datagrid/DatagridSimpleBody.d.ts +2 -1
  285. package/lib/components/Datagrid/Datagrid/DatagridToolbar.d.ts +2 -1
  286. package/lib/components/Datagrid/Datagrid/DatagridVirtualBody.d.ts +2 -1
  287. package/lib/components/Datagrid/Datagrid/DraggableElement.d.ts +2 -2
  288. package/lib/components/Datagrid/Datagrid/addons/{Slug/DatagridSlug.d.ts → AiLabel/DatagridAiLabel.d.ts} +3 -3
  289. package/lib/components/Datagrid/Datagrid/addons/AiLabel/DatagridAiLabel.js +31 -0
  290. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Actions.d.ts +2 -1
  291. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.d.ts +2 -1
  292. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.d.ts +2 -1
  293. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.d.ts +2 -1
  294. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +1 -1
  295. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/DraggableItemsList.d.ts +2 -1
  296. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/TearsheetWrapper.d.ts +2 -1
  297. package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.d.ts +2 -1
  298. package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.d.ts +2 -1
  299. package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +5 -5
  300. package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.d.ts +1 -1
  301. package/lib/components/Datagrid/Datagrid/addons/Filtering/OverflowCheckboxes.d.ts +2 -1
  302. package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.d.ts +1 -1
  303. package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.js +2 -2
  304. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/InlineEditButton.d.ts +2 -1
  305. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.d.ts +2 -1
  306. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.js +5 -5
  307. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/InlineEditContext.d.ts +1 -1
  308. package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.d.ts +2 -1
  309. package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +1 -1
  310. package/lib/components/Datagrid/index.d.ts +29 -22
  311. package/lib/components/Datagrid/types/index.d.ts +7 -7
  312. package/lib/components/Datagrid/useActionsColumn.js +1 -2
  313. package/lib/components/Datagrid/useColumnCenterAlign.js +1 -2
  314. package/lib/components/Datagrid/useColumnRightAlign.js +1 -2
  315. package/lib/components/Datagrid/useCustomizeColumns.js +1 -2
  316. package/lib/components/Datagrid/useDatagrid.js +1 -2
  317. package/lib/components/Datagrid/useDefaultStringRenderer.js +3 -3
  318. package/lib/components/Datagrid/useDisableSelectRows.js +1 -2
  319. package/lib/components/Datagrid/useExpandedRow.js +1 -2
  320. package/lib/components/Datagrid/useFiltering.js +1 -2
  321. package/lib/components/Datagrid/useFlexResize.js +1 -1
  322. package/lib/components/Datagrid/useInfiniteScroll.js +1 -2
  323. package/lib/components/Datagrid/useInlineEdit.js +1 -2
  324. package/lib/components/Datagrid/useNestedRowExpander.js +2 -2
  325. package/lib/components/Datagrid/useNestedRows.js +1 -2
  326. package/lib/components/Datagrid/useOnRowClick.js +1 -2
  327. package/lib/components/Datagrid/useParentDimensions.js +5 -5
  328. package/lib/components/Datagrid/useRowExpander.js +6 -7
  329. package/lib/components/Datagrid/useRowIsMouseOver.js +1 -2
  330. package/lib/components/Datagrid/useSelectAllToggle.js +1 -2
  331. package/lib/components/Datagrid/useSelectRows.js +1 -2
  332. package/lib/components/Datagrid/useSortableColumns.js +7 -8
  333. package/lib/components/Datagrid/useStickyColumn.js +4 -5
  334. package/lib/components/EmptyStates/EmptyState.d.ts +1 -1
  335. package/lib/components/EmptyStates/EmptyState.js +7 -1
  336. package/lib/components/EmptyStates/EmptyStateContent.d.ts +2 -1
  337. package/lib/components/EmptyStates/EmptyStateIllustration.d.ts +2 -1
  338. package/lib/components/EmptyStates/EmptyStateV2.d.ts +1 -2
  339. package/lib/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.d.ts +1 -2
  340. package/lib/components/EmptyStates/ErrorEmptyState/index.d.ts +8 -1
  341. package/lib/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.d.ts +1 -2
  342. package/lib/components/EmptyStates/NoDataEmptyState/index.d.ts +8 -1
  343. package/lib/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.d.ts +1 -2
  344. package/lib/components/EmptyStates/NoTagsEmptyState/index.d.ts +8 -1
  345. package/lib/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.d.ts +1 -2
  346. package/lib/components/EmptyStates/NotFoundEmptyState/index.d.ts +8 -1
  347. package/lib/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.d.ts +1 -2
  348. package/lib/components/EmptyStates/NotificationsEmptyState/index.d.ts +8 -1
  349. package/lib/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.d.ts +1 -2
  350. package/lib/components/EmptyStates/UnauthorizedEmptyState/index.d.ts +8 -1
  351. package/lib/components/EmptyStates/assets/ErrorIllustration.d.ts +2 -1
  352. package/lib/components/EmptyStates/assets/NoDataIllustration.d.ts +2 -1
  353. package/lib/components/EmptyStates/assets/NoDataIllustration.js +5 -5
  354. package/lib/components/EmptyStates/assets/NoTagsIllustration.d.ts +2 -1
  355. package/lib/components/EmptyStates/assets/NotFoundIllustration.d.ts +2 -1
  356. package/lib/components/EmptyStates/assets/NotificationsIllustration.d.ts +2 -1
  357. package/lib/components/EmptyStates/assets/NotificationsIllustration.js +8 -8
  358. package/lib/components/EmptyStates/assets/UnauthorizedIllustration.d.ts +2 -1
  359. package/lib/components/EmptyStates/index.d.ts +22 -8
  360. package/lib/components/ExportModal/ExportModal.js +1 -3
  361. package/lib/components/ExpressiveCard/ExpressiveCard.d.ts +5 -0
  362. package/lib/components/ExpressiveCard/ExpressiveCard.js +5 -0
  363. package/lib/components/FeatureFlags/index.d.ts +5 -4
  364. package/lib/components/FeatureFlags/index.js +16 -9
  365. package/lib/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.js +1 -1
  366. package/lib/components/FullPageError/assets/Error403SVG.d.ts +2 -1
  367. package/lib/components/FullPageError/assets/Error404SVG.d.ts +2 -1
  368. package/lib/components/FullPageError/assets/ErrorGenericSVG.d.ts +2 -1
  369. package/lib/components/HTTPErrors/HTTPErrorContent.d.ts +2 -1
  370. package/lib/components/HTTPErrors/assets/HTTPErrorSvg403.d.ts +2 -1
  371. package/lib/components/HTTPErrors/assets/HTTPErrorSvg404.d.ts +2 -1
  372. package/lib/components/HTTPErrors/assets/HTTPErrorSvgOther.d.ts +2 -1
  373. package/lib/components/InterstitialScreen/InterstitialScreen.js +4 -4
  374. package/lib/components/Nav/NavItem.d.ts +2 -1
  375. package/lib/components/NotificationsPanel/NotificationsPanel.js +8 -1
  376. package/lib/components/PageHeader/PageHeader.d.ts +2 -0
  377. package/lib/components/PageHeader/PageHeader.js +4 -1
  378. package/lib/components/PageHeader/PageHeaderTitle.d.ts +3 -1
  379. package/lib/components/PageHeader/PageHeaderTitle.js +39 -5
  380. package/lib/components/ProductiveCard/ProductiveCard.d.ts +5 -0
  381. package/lib/components/ProductiveCard/ProductiveCard.js +4 -0
  382. package/lib/components/ScrollGradient/ScrollGradient.js +2 -2
  383. package/lib/components/SidePanel/SidePanel.d.ts +5 -0
  384. package/lib/components/SidePanel/SidePanel.js +30 -16
  385. package/lib/components/SimpleHeader/SimpleHeader.d.ts +2 -1
  386. package/lib/components/SteppedAnimatedMedia/SteppedAnimatedMedia.js +1 -1
  387. package/lib/components/TagOverflow/TagOverflow.d.ts +3 -0
  388. package/lib/components/TagOverflow/TagOverflow.js +8 -3
  389. package/lib/components/TagOverflow/TagOverflowModal.d.ts +6 -1
  390. package/lib/components/TagOverflow/TagOverflowModal.js +16 -5
  391. package/lib/components/TagOverflow/TagOverflowPopover.js +16 -8
  392. package/lib/components/TagSet/TagSet.d.ts +4 -0
  393. package/lib/components/TagSet/TagSet.js +19 -7
  394. package/lib/components/TagSet/TagSetModal.js +0 -1
  395. package/lib/components/Tearsheet/TearsheetShell.d.ts +13 -4
  396. package/lib/components/Tearsheet/TearsheetShell.js +31 -20
  397. package/lib/components/Toolbar/Toolbar.js +1 -1
  398. package/lib/components/TooltipTrigger/TooltipTrigger.d.ts +2 -1
  399. package/lib/components/TruncatedList/TruncatedList.js +1 -1
  400. package/lib/components/_Canary/Canary.d.ts +2 -1
  401. package/lib/global/js/hooks/usePreviousValue.js +1 -1
  402. package/lib/index.js +88 -88
  403. package/lib/node_modules/@carbon/icons-react/es/generated/bucket-9.js +742 -740
  404. package/package.json +11 -11
  405. package/scss/components/Card/_card.scss +14 -6
  406. package/scss/components/ConditionBuilder/styles/_conditionBuilderItem.scss +4 -0
  407. package/scss/components/Datagrid/styles/_datagrid.scss +82 -2
  408. package/scss/components/PageHeader/_page-header.scss +16 -3
  409. package/scss/components/SidePanel/_side-panel.scss +12 -6
  410. package/scss/components/Tearsheet/_tearsheet.scss +13 -3
  411. package/telemetry.yml +1 -0
  412. package/es/components/Datagrid/Datagrid/addons/Slug/DatagridSlug.js +0 -29
  413. package/lib/components/Datagrid/Datagrid/addons/Slug/DatagridSlug.js +0 -31
@@ -36,6 +36,10 @@ ExpressiveCard.propTypes = {
36
36
  iconDescription: PropTypes.string,
37
37
  href: PropTypes.string
38
38
  })),
39
+ /**
40
+ * Optional prop that is intended for any scenario where something is being generated by AI to reinforce AI transparency, accountability, and explainability at the UI level.
41
+ */
42
+ aiLabel: PropTypes.oneOfType([PropTypes.node, PropTypes.bool]),
39
43
  /**
40
44
  * Content that shows in the body of the card
41
45
  */
@@ -114,6 +118,7 @@ ExpressiveCard.propTypes = {
114
118
  /**
115
119
  * **Experimental:** For all cases a `Slug` component can be provided.
116
120
  * Clickable tiles only accept a boolean value of true and display a hollow slug.
121
+ * @deprecated please use the `aiLabel` prop
117
122
  */
118
123
  slug: PropTypes.oneOfType([PropTypes.node, PropTypes.bool]),
119
124
  /**
@@ -12,19 +12,20 @@ import PropTypes from 'prop-types';
12
12
  */
13
13
  declare const FeatureFlagContext: React.Context<any>;
14
14
  /**
15
- * Supports an object of feature flag values with the `flags` prop, merging them
15
+ * Supports individual feature flag values as props, merging them
16
16
  * along with the current `FeatureFlagContext` to provide consumers to check if
17
17
  * a feature flag is enabled or disabled in a given React tree
18
18
  */
19
- declare function FeatureFlags({ children, flags }: {
19
+ declare function FeatureFlags({ children, flags, ...newFlags }: {
20
+ [x: string]: any;
20
21
  children: any;
21
22
  flags?: {} | undefined;
22
- }): import("react/jsx-runtime").JSX.Element;
23
+ }): React.JSX.Element;
23
24
  declare namespace FeatureFlags {
24
25
  var propTypes: {
25
26
  children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
26
27
  /**
27
- * Provide the feature flags to enabled or disabled in the current React tree
28
+ * Provide the feature flags to enabled or disabled in the current React tree, this has been deprecated. as we are going to pass individual boolean props for each flag.
28
29
  */
29
30
  flags: PropTypes.Requireable<{
30
31
  [x: string]: boolean | null | undefined;
@@ -5,11 +5,13 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- import { slicedToArray as _slicedToArray } from '../../_virtual/_rollupPluginBabelHelpers.js';
8
+ import { objectWithoutProperties as _objectWithoutProperties, objectSpread2 as _objectSpread2, slicedToArray as _slicedToArray } from '../../_virtual/_rollupPluginBabelHelpers.js';
9
9
  import React__default, { useContext, useState, useRef, useEffect, createContext } from 'react';
10
10
  import PropTypes from '../../_virtual/index.js';
11
11
  import { createScope, FeatureFlags as FeatureFlags$1 } from '@carbon/feature-flags';
12
12
 
13
+ var _excluded = ["children", "flags"];
14
+
13
15
  /**
14
16
  * Our FeatureFlagContext is used alongside the FeatureFlags component to enable
15
17
  * or disable feature flags in a given React tree
@@ -17,21 +19,27 @@ import { createScope, FeatureFlags as FeatureFlags$1 } from '@carbon/feature-fla
17
19
  var FeatureFlagContext = /*#__PURE__*/createContext(FeatureFlags$1);
18
20
 
19
21
  /**
20
- * Supports an object of feature flag values with the `flags` prop, merging them
22
+ * Supports individual feature flag values as props, merging them
21
23
  * along with the current `FeatureFlagContext` to provide consumers to check if
22
24
  * a feature flag is enabled or disabled in a given React tree
23
25
  */
24
26
  function FeatureFlags(_ref) {
25
27
  var children = _ref.children,
26
28
  _ref$flags = _ref.flags,
27
- flags = _ref$flags === void 0 ? {} : _ref$flags;
29
+ flags = _ref$flags === void 0 ? {} : _ref$flags,
30
+ newFlags = _objectWithoutProperties(_ref, _excluded);
28
31
  var parentScope = useContext(FeatureFlagContext);
32
+ var newFlagsObject = Object.keys(newFlags).reduce(function (acc, key) {
33
+ acc[key] = newFlags[key];
34
+ return acc;
35
+ }, {});
36
+ var combinedFlags = _objectSpread2(_objectSpread2({}, newFlagsObject), flags);
29
37
  var _useState = useState(parentScope),
30
38
  _useState2 = _slicedToArray(_useState, 2),
31
39
  prevParentScope = _useState2[0],
32
40
  setPrevParentScope = _useState2[1];
33
41
  var _useState3 = useState(function () {
34
- var scope = createScope(flags);
42
+ var scope = createScope(combinedFlags);
35
43
  scope.mergeWithScope(parentScope);
36
44
  return scope;
37
45
  }),
@@ -39,16 +47,15 @@ function FeatureFlags(_ref) {
39
47
  scope = _useState4[0],
40
48
  updateScope = _useState4[1];
41
49
  if (parentScope !== prevParentScope) {
42
- var _scope = createScope(flags);
50
+ var _scope = createScope(combinedFlags);
43
51
  _scope.mergeWithScope(parentScope);
44
52
  updateScope(_scope);
45
53
  setPrevParentScope(parentScope);
46
54
  }
47
55
 
48
- // We use a custom hook to detect if any of the keys or their values change
49
- // for flags that are passed in. If they have changed, then we re-create the
50
- // FeatureFlagScope using the new flags
51
- useChangedValue(flags, isEqual, function (changedFlags) {
56
+ // We use a custom hook to detect if any of the individual flag props or their values change
57
+ // If any flags have changed, we re-create the FeatureFlagScope using the updated flags
58
+ useChangedValue(combinedFlags, isEqual, function (changedFlags) {
52
59
  var scope = createScope(changedFlags);
53
60
  scope.mergeWithScope(parentScope);
54
61
  updateScope(scope);
@@ -60,7 +67,7 @@ function FeatureFlags(_ref) {
60
67
  FeatureFlags.propTypes = {
61
68
  children: PropTypes.node,
62
69
  /**
63
- * Provide the feature flags to enabled or disabled in the current React tree
70
+ * Provide the feature flags to enabled or disabled in the current React tree, this has been deprecated. as we are going to pass individual boolean props for each flag.
64
71
  */
65
72
  flags: PropTypes.objectOf(PropTypes.bool)
66
73
  };
@@ -51,7 +51,7 @@ var FilterPanelCheckboxWithOverflow = /*#__PURE__*/React__default.forwardRef(fun
51
51
  setShowMenuButton = _useState4[1];
52
52
  // Destructure overflow menu properties.
53
53
  var other = _extends({}, (_objectDestructuringEmpty(overflowMenuProps), overflowMenuProps));
54
- var backupRef = useRef();
54
+ var backupRef = useRef(undefined);
55
55
  var localRef = ref || backupRef;
56
56
  var setHideButton = function setHideButton(activeElement) {
57
57
  if (!menuIsOpen && !localRef.current.contains(activeElement)) {
@@ -1,11 +1,12 @@
1
1
  export function Error403SVG({ className, title }: {
2
2
  className: any;
3
3
  title: any;
4
- }): import("react/jsx-runtime").JSX.Element;
4
+ }): React.JSX.Element;
5
5
  export namespace Error403SVG {
6
6
  namespace propTypes {
7
7
  export { string as className };
8
8
  export { string as title };
9
9
  }
10
10
  }
11
+ import React from 'react';
11
12
  import { string } from 'prop-types';
@@ -1,11 +1,12 @@
1
1
  export function Error404SVG({ className, title }: {
2
2
  className: any;
3
3
  title: any;
4
- }): import("react/jsx-runtime").JSX.Element;
4
+ }): React.JSX.Element;
5
5
  export namespace Error404SVG {
6
6
  namespace propTypes {
7
7
  export { string as className };
8
8
  export { string as title };
9
9
  }
10
10
  }
11
+ import React from 'react';
11
12
  import { string } from 'prop-types';
@@ -1,11 +1,12 @@
1
1
  export function ErrorGenericSVG({ className, title }: {
2
2
  className: any;
3
3
  title: any;
4
- }): import("react/jsx-runtime").JSX.Element;
4
+ }): React.JSX.Element;
5
5
  export namespace ErrorGenericSVG {
6
6
  namespace propTypes {
7
7
  export { string as className };
8
8
  export { string as title };
9
9
  }
10
10
  }
11
+ import React from 'react';
11
12
  import { string } from 'prop-types';
@@ -3,7 +3,7 @@ export function HTTPErrorContent({ description, errorCodeLabel, title, links, }:
3
3
  errorCodeLabel: any;
4
4
  title: any;
5
5
  links: any;
6
- }): import("react/jsx-runtime").JSX.Element;
6
+ }): React.JSX.Element;
7
7
  export namespace HTTPErrorContent {
8
8
  export { componentName as displayName };
9
9
  export namespace propTypes {
@@ -13,5 +13,6 @@ export namespace HTTPErrorContent {
13
13
  let title: import("prop-types").Validator<string>;
14
14
  }
15
15
  }
16
+ import React from 'react';
16
17
  declare const componentName: "HTTPErrorContent";
17
18
  export {};
@@ -1,11 +1,12 @@
1
1
  export function HTTPErrorSvg403({ className, title }: {
2
2
  className: any;
3
3
  title: any;
4
- }): import("react/jsx-runtime").JSX.Element;
4
+ }): React.JSX.Element;
5
5
  export namespace HTTPErrorSvg403 {
6
6
  namespace propTypes {
7
7
  export { string as className };
8
8
  export { string as title };
9
9
  }
10
10
  }
11
+ import React from 'react';
11
12
  import { string } from 'prop-types';
@@ -1,11 +1,12 @@
1
1
  export function HTTPErrorSvg404({ className, title }: {
2
2
  className: any;
3
3
  title: any;
4
- }): import("react/jsx-runtime").JSX.Element;
4
+ }): React.JSX.Element;
5
5
  export namespace HTTPErrorSvg404 {
6
6
  namespace propTypes {
7
7
  export { string as className };
8
8
  export { string as title };
9
9
  }
10
10
  }
11
+ import React from 'react';
11
12
  import { string } from 'prop-types';
@@ -1,11 +1,12 @@
1
1
  export function HTTPErrorSvgOther({ className, title }: {
2
2
  className: any;
3
3
  title: any;
4
- }): import("react/jsx-runtime").JSX.Element;
4
+ }): React.JSX.Element;
5
5
  export namespace HTTPErrorSvgOther {
6
6
  namespace propTypes {
7
7
  export { string as className };
8
8
  export { string as title };
9
9
  }
10
10
  }
11
+ import React from 'react';
11
12
  import { string } from 'prop-types';
@@ -90,11 +90,11 @@ var InterstitialScreen = /*#__PURE__*/React__default.forwardRef(function (_ref,
90
90
  _ref$skipButtonLabel = _ref.skipButtonLabel,
91
91
  skipButtonLabel = _ref$skipButtonLabel === void 0 ? defaults.skipButtonLabel : _ref$skipButtonLabel,
92
92
  rest = _objectWithoutProperties(_ref, _excluded);
93
- var backupRef = useRef();
93
+ var backupRef = useRef(undefined);
94
94
  var _forwardedRef = ref || backupRef;
95
- var scrollRef = useRef();
96
- var startButtonRef = useRef();
97
- var nextButtonRef = useRef();
95
+ var scrollRef = useRef(undefined);
96
+ var startButtonRef = useRef(undefined);
97
+ var nextButtonRef = useRef(undefined);
98
98
  var _useState = useState(null),
99
99
  _useState2 = _slicedToArray(_useState, 2),
100
100
  isVisibleClass = _useState2[0],
@@ -12,7 +12,7 @@ export function NavItem({ activeHref, children, className, current, disabled, el
12
12
  label: any;
13
13
  onClick?: (() => void) | undefined;
14
14
  tabIndex?: number | undefined;
15
- }): import("react/jsx-runtime").JSX.Element;
15
+ }): React.JSX.Element;
16
16
  export namespace NavItem {
17
17
  export { componentName as displayName };
18
18
  export namespace propTypes {
@@ -31,5 +31,6 @@ export namespace NavItem {
31
31
  }
32
32
  }
33
33
  export default NavItem;
34
+ import React from 'react';
34
35
  declare const componentName: "NavItem";
35
36
  import PropTypes from 'prop-types';
@@ -9,6 +9,14 @@ import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _
9
9
  import { usePrefix, Button, Toggle, Link, IconButton } from '@carbon/react';
10
10
  import { Settings, ErrorFilled, CheckmarkFilled, WarningAltFilled, InformationSquareFilled, Close, ChevronDown } from '@carbon/react/icons';
11
11
  import React__default, { useRef, useState, useEffect } from 'react';
12
+ import '../EmptyStates/EmptyState.js';
13
+ import '../EmptyStates/EmptyStateV2.js';
14
+ import '../EmptyStates/ErrorEmptyState/ErrorEmptyState.js';
15
+ import '../EmptyStates/NoDataEmptyState/NoDataEmptyState.js';
16
+ import '../EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js';
17
+ import '../EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js';
18
+ import { NotificationsEmptyState } from '../EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js';
19
+ import '../EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js';
12
20
  import PropTypes from '../../_virtual/index.js';
13
21
  import cx from 'classnames';
14
22
  import { getDevtoolsProps } from '../../global/js/utils/devtools.js';
@@ -19,7 +27,6 @@ import usePrefersReducedMotion from '../../global/js/hooks/usePrefersReducedMoti
19
27
  import wrapFocus from '../../global/js/utils/wrapFocus.js';
20
28
  import { usePreviousValue } from '../../global/js/hooks/usePreviousValue.js';
21
29
  import { useClickOutside } from '../../global/js/hooks/useClickOutside.js';
22
- import { NotificationsEmptyState } from '../EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js';
23
30
 
24
31
  var _Close;
25
32
  var _excluded = ["className", "data", "daysAgoText", "dismissAllLabel", "dismissSingleNotificationIconDescription", "doNotDisturbDefaultToggled", "doNotDisturbLabel", "emptyStateLabel", "hourAgoText", "hoursAgoText", "minuteAgoText", "minutesAgoText", "monthAgoText", "monthsAgoText", "nowText", "onClickOutside", "onDismissAllNotifications", "onDismissSingleNotification", "onDoNotDisturbChange", "onSettingsClick", "onViewAllClick", "open", "previousLabel", "readLessLabel", "readMoreLabel", "secondsAgoText", "settingsIconDescription", "title", "todayLabel", "viewAllLabel", "yearAgoText", "yearsAgoText", "yesterdayAtText", "yesterdayLabel", "selectorsFloatingMenus", "triggerButtonRef"];
@@ -149,6 +149,7 @@ interface TitleIcon {
149
149
  cancelDescription?: string;
150
150
  editDescription?: string;
151
151
  saveDescription?: string;
152
+ tooltipAlignment?: 'top' | 'top-left' | 'top-right' | 'bottom' | 'bottom-left' | 'bottom-right' | 'left' | 'right';
152
153
  }
153
154
  interface TitleContent {
154
155
  content: ReactNode;
@@ -269,6 +270,7 @@ interface PageHeaderBaseProps extends PropsWithChildren {
269
270
  * - editableLabel: label for edit required if onChange supplied
270
271
  * - cancelDescription: label for edit cancel button
271
272
  * - saveDescription: label for edit save button
273
+ * - tooltipAlignment: position for tooltip displayed for large titles. Default to "bottom"
272
274
  * - Object containing user defined contents. These must fit within the area defined for the title in both main part of the header and the breadcrumb.
273
275
  * - content: title or name of current location shown in main part of page header
274
276
  * - breadcrumbContent: version of content used in the breadcrumb on scroll. If not supplied
@@ -788,6 +788,7 @@ PageHeader.propTypes = _objectSpread2({
788
788
  * - editableLabel: label for edit required if onChange supplied
789
789
  * - cancelDescription: label for edit cancel button
790
790
  * - saveDescription: label for edit save button
791
+ * - tooltipAlignment: position for tooltip displayed for large titles. Default to "bottom".
791
792
  * - Object containing user defined contents. These must fit within the area defined for the title in both main part of the header and the breadcrumb.
792
793
  * - content: title or name of current location shown in main part of page header
793
794
  * - breadcrumbContent: version of content used in the breadcrumb on scroll. If not supplied
@@ -812,7 +813,9 @@ PageHeader.propTypes = _objectSpread2({
812
813
  //.isRequired.if(editInPlaceRequired),
813
814
  editDescription: PropTypes.string,
814
815
  // .isRequired.if(editInPlaceRequired),
815
- saveDescription: PropTypes.string //.isRequired.if(editInPlaceRequired),
816
+ saveDescription: PropTypes.string,
817
+ //.isRequired.if(editInPlaceRequired),
818
+ tooltipAlignment: PropTypes.oneOf(['top', 'top-left', 'top-right', 'bottom', 'bottom-left', 'bottom-right', 'left', 'right'])
816
819
  // Update docgen if changed
817
820
  }), PropTypes.string, PropTypes.shape({
818
821
  content: PropTypes.node.isRequired,
@@ -2,7 +2,7 @@ export function PageHeaderTitle({ blockClass, hasBreadcrumbRow, title }: {
2
2
  blockClass: any;
3
3
  hasBreadcrumbRow: any;
4
4
  title: any;
5
- }): import("react/jsx-runtime").JSX.Element;
5
+ }): React.JSX.Element;
6
6
  export namespace PageHeaderTitle {
7
7
  namespace propTypes {
8
8
  let blockClass: PropTypes.Validator<string>;
@@ -18,6 +18,7 @@ export namespace PageHeaderTitle {
18
18
  onSave: PropTypes.Requireable<(...args: any[]) => any>;
19
19
  cancelDescription: any;
20
20
  saveDescription: any;
21
+ tooltipAlignment: PropTypes.Requireable<string>;
21
22
  }> | PropTypes.InferProps<{
22
23
  content: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
23
24
  breadcrumbContent: PropTypes.Requireable<PropTypes.ReactNodeLike>;
@@ -28,4 +29,5 @@ export namespace PageHeaderTitle {
28
29
  export function editInPlaceRequired({ onSave }: {
29
30
  onSave: any;
30
31
  }): boolean;
32
+ import React from 'react';
31
33
  import PropTypes from 'prop-types';
@@ -5,14 +5,14 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- import { objectWithoutProperties as _objectWithoutProperties, extends as _extends, defineProperty as _defineProperty } from '../../_virtual/_rollupPluginBabelHelpers.js';
9
- import React__default from 'react';
8
+ import { objectWithoutProperties as _objectWithoutProperties, slicedToArray as _slicedToArray, extends as _extends, defineProperty as _defineProperty } from '../../_virtual/_rollupPluginBabelHelpers.js';
9
+ import React__default, { useState, useRef, useLayoutEffect } from 'react';
10
10
  import PropTypes from '../../_virtual/index.js';
11
11
  import cx from 'classnames';
12
- import { SkeletonText } from '@carbon/react';
12
+ import { SkeletonText, DefinitionTooltip } from '@carbon/react';
13
13
  import { EditInPlace } from '../EditInPlace/EditInPlace.js';
14
14
 
15
- var _excluded = ["text", "content", "loading", "icon", "asText", "onChange", "onSave", "editDescription", "editableLabel", "cancelDescription", "saveDescription"];
15
+ var _excluded = ["text", "content", "loading", "icon", "asText", "onChange", "onSave", "editDescription", "editableLabel", "cancelDescription", "saveDescription", "tooltipAlignment"];
16
16
 
17
17
  /**
18
18
  *
@@ -38,18 +38,41 @@ var PageHeaderTitle = function PageHeaderTitle(_ref) {
38
38
  editableLabel = title.editableLabel,
39
39
  cancelDescription = title.cancelDescription,
40
40
  saveDescription = title.saveDescription,
41
+ _title$tooltipAlignme = title.tooltipAlignment,
42
+ tooltipAlignment = _title$tooltipAlignme === void 0 ? 'bottom' : _title$tooltipAlignme,
41
43
  rest = _objectWithoutProperties(title, _excluded);
42
44
  var titleText;
43
45
  var isEditable = !!onSave;
46
+ var _useState = useState(),
47
+ _useState2 = _slicedToArray(_useState, 2),
48
+ isEllipsisApplied = _useState2[0],
49
+ setIsEllipsisApplied = _useState2[1];
50
+ var longTitleRef = useRef(undefined);
51
+ var titleRef = useRef(undefined);
52
+ useLayoutEffect(function () {
53
+ setIsEllipsisApplied(isEllipsisActive());
54
+ }, [longTitleRef, titleRef, title]);
55
+ var isEllipsisActive = function isEllipsisActive() {
56
+ if (longTitleRef.current) {
57
+ var _longTitleRef$current, _longTitleRef$current2;
58
+ return ((_longTitleRef$current = longTitleRef.current) === null || _longTitleRef$current === void 0 ? void 0 : _longTitleRef$current.offsetWidth) < ((_longTitleRef$current2 = longTitleRef.current) === null || _longTitleRef$current2 === void 0 ? void 0 : _longTitleRef$current2.scrollWidth);
59
+ } else if (titleRef.current) {
60
+ var _titleRef$current, _titleRef$current2;
61
+ return ((_titleRef$current = titleRef.current) === null || _titleRef$current === void 0 ? void 0 : _titleRef$current.offsetWidth) < ((_titleRef$current2 = titleRef.current) === null || _titleRef$current2 === void 0 ? void 0 : _titleRef$current2.scrollWidth);
62
+ }
63
+ return false;
64
+ };
44
65
  if (text || !content) {
45
66
  if (text === undefined && typeof title === 'string') {
46
67
  text = title;
47
68
  asText = title;
48
69
  }
49
70
  var TitleIcon = icon;
50
- titleInnards = /*#__PURE__*/React__default.createElement(React__default.Fragment, null, icon && !loading ? /*#__PURE__*/React__default.createElement(TitleIcon, {
71
+ titleInnards = /*#__PURE__*/React__default.createElement(React__default.Fragment, null, icon && !loading ? /*#__PURE__*/React__default.createElement("span", {
72
+ className: "".concat(blockClass, "__title-icon-wrapper")
73
+ }, /*#__PURE__*/React__default.createElement(TitleIcon, {
51
74
  className: "".concat(blockClass, "__title-icon")
52
- }) : null, loading ? /*#__PURE__*/React__default.createElement(SkeletonText, {
75
+ })) : null, loading ? /*#__PURE__*/React__default.createElement(SkeletonText, {
53
76
  className: "".concat(blockClass, "__title-skeleton")
54
77
  }) : isEditable ? /*#__PURE__*/React__default.createElement(EditInPlace, _extends({
55
78
  tooltipAlignment: "bottom",
@@ -62,7 +85,17 @@ var PageHeaderTitle = function PageHeaderTitle(_ref) {
62
85
  onSave: onSave,
63
86
  size: "md",
64
87
  inheritTypography: true
65
- }, rest)) : /*#__PURE__*/React__default.createElement("span", {
88
+ }, rest)) : isEllipsisApplied ? /*#__PURE__*/React__default.createElement(DefinitionTooltip, {
89
+ openOnHover: false,
90
+ align: tooltipAlignment,
91
+ definition: text,
92
+ className: "".concat(blockClass, "__tooltip")
93
+ }, /*#__PURE__*/React__default.createElement("span", {
94
+ ref: longTitleRef,
95
+ className: "".concat(blockClass, "__titleText")
96
+ }, text)) : /*#__PURE__*/React__default.createElement("span", {
97
+ ref: titleRef,
98
+ className: "".concat(blockClass, "__titleText"),
66
99
  title: !loading ? asText : null
67
100
  }, text));
68
101
  } else {
@@ -117,7 +150,8 @@ PageHeaderTitle.propTypes = {
117
150
  onChange: PropTypes.func,
118
151
  onSave: PropTypes.func,
119
152
  cancelDescription: PropTypes.string.isRequired.if(editInPlaceRequired),
120
- saveDescription: PropTypes.string.isRequired.if(editInPlaceRequired)
153
+ saveDescription: PropTypes.string.isRequired.if(editInPlaceRequired),
154
+ tooltipAlignment: PropTypes.oneOf(['top', 'top-left', 'top-right', 'bottom', 'bottom-left', 'bottom-right', 'left', 'right'])
121
155
  // Update docgen if changed
122
156
  }), PropTypes.string, PropTypes.shape({
123
157
  content: PropTypes.node.isRequired,
@@ -21,6 +21,10 @@ export interface ProductiveCardProps extends PropsWithChildren {
21
21
  * Icons that are displayed on card. Refer to design documentation for implementation guidelines. Note- href will supersede onClick
22
22
  */
23
23
  actionIcons?: ActionIcon[];
24
+ /**
25
+ * Optional prop that is intended for any scenario where something is being generated by AI to reinforce AI transparency, accountability, and explainability at the UI level.
26
+ */
27
+ aiLabel?: ReactNode | boolean;
24
28
  /**
25
29
  * Determines if the action icons are on the top or bottom of the card
26
30
  */
@@ -104,6 +108,7 @@ export interface ProductiveCardProps extends PropsWithChildren {
104
108
  /**
105
109
  * **Experimental:** For all cases a `Slug` component can be provided.
106
110
  * Clickable tiles only accept a boolean value of true and display a hollow slug.
111
+ * @deprecated please use the `aiLabel` prop
107
112
  */
108
113
  slug?: ReactNode | boolean;
109
114
  /**
@@ -48,6 +48,10 @@ ProductiveCard.propTypes = {
48
48
  * Determines if the action icons are on the top or bottom of the card
49
49
  */
50
50
  actionsPlacement: PropTypes.oneOf(['top', 'bottom']),
51
+ /**
52
+ * Optional prop that is intended for any scenario where something is being generated by AI to reinforce AI transparency, accountability, and explainability at the UI level.
53
+ */
54
+ aiLabel: PropTypes.oneOfType([PropTypes.node, PropTypes.bool]),
51
55
  /**
52
56
  * Content that shows in the body of the card
53
57
  */
@@ -50,8 +50,8 @@ var ScrollGradient = /*#__PURE__*/React__default.forwardRef(function (_ref, ref)
50
50
  _useState4 = _slicedToArray(_useState3, 2),
51
51
  horizontalPosition = _useState4[0],
52
52
  setHorizontalPosition = _useState4[1];
53
- var scrollContainer = useRef();
54
- var contentChildrenContainer = useRef();
53
+ var scrollContainer = useRef(undefined);
54
+ var contentChildrenContainer = useRef(undefined);
55
55
  var updateScrollState = throttle(function () {
56
56
  var updatedVerticalVal = getScrollState(scrollContainer.current, ScrollDirection.Y);
57
57
  var updatedHorizontalVal = getScrollState(scrollContainer.current, ScrollDirection.X);
@@ -110,9 +110,14 @@ type SidePanelBaseProps = {
110
110
  */
111
111
  slideIn?: boolean;
112
112
  /**
113
+ * @deprecated please use the `aiLabel` prop
113
114
  * **Experimental:** Provide a `Slug` component to be rendered inside the `SidePanel` component
114
115
  */
115
116
  slug?: ReactNode;
117
+ /**
118
+ * Optional prop that is intended for any scenario where something is being generated by AI to reinforce AI transparency, accountability, and explainability at the UI level.
119
+ */
120
+ aiLabel?: ReactNode;
116
121
  /**
117
122
  * Sets the subtitle text
118
123
  */
@@ -24,7 +24,7 @@ import usePrefersReducedMotion from '../../global/js/hooks/usePrefersReducedMoti
24
24
  import { useFocus, getSpecificElement } from '../../global/js/hooks/useFocus.js';
25
25
  import { usePreviousValue } from '../../global/js/hooks/usePreviousValue.js';
26
26
 
27
- var _excluded = ["actionToolbarButtons", "actions", "animateTitle", "children", "className", "closeIconDescription", "condensedActions", "currentStep", "id", "includeOverlay", "labelText", "navigationBackIconDescription", "onNavigationBack", "onRequestClose", "onUnmount", "open", "placement", "preventCloseOnClickOutside", "selectorPageContent", "selectorPrimaryFocus", "size", "slideIn", "slug", "subtitle", "title", "launcherButtonRef"],
27
+ var _excluded = ["actionToolbarButtons", "actions", "aiLabel", "animateTitle", "children", "className", "closeIconDescription", "condensedActions", "currentStep", "id", "includeOverlay", "labelText", "navigationBackIconDescription", "onNavigationBack", "onRequestClose", "onUnmount", "open", "placement", "preventCloseOnClickOutside", "selectorPageContent", "selectorPrimaryFocus", "size", "slideIn", "slug", "subtitle", "title", "launcherButtonRef"],
28
28
  _excluded2 = ["label", "kind", "hasIconOnly", "icon", "renderIcon", "tooltipPosition", "tooltipAlignment", "leading", "disabled", "className", "onClick"];
29
29
  var blockClass = "".concat(pkg.prefix, "--side-panel");
30
30
  var componentName = 'SidePanel';
@@ -47,6 +47,7 @@ var defaults = {
47
47
  var SidePanel = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
48
48
  var actionToolbarButtons = _ref.actionToolbarButtons,
49
49
  actions = _ref.actions,
50
+ aiLabel = _ref.aiLabel,
50
51
  _ref$animateTitle = _ref.animateTitle,
51
52
  animateTitle = _ref$animateTitle === void 0 ? defaults.animateTitle : _ref$animateTitle,
52
53
  children = _ref.children,
@@ -334,7 +335,7 @@ var SidePanel = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
334
335
  }
335
336
  }, [animationComplete, firstElement, open, selectorPrimaryFocus, sidePanelRef, slideIn]);
336
337
  var primaryActionContainerClassNames = cx(["".concat(blockClass, "__actions-container"), _defineProperty({}, "".concat(blockClass, "__actions-container--condensed"), condensedActions)]);
337
- var mainPanelClassNames = cx([blockClass, className, "".concat(blockClass), "".concat(blockClass, "--").concat(size), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "".concat(blockClass, "--right-placement"), placement === 'right'), "".concat(blockClass, "--left-placement"), placement === 'left'), "".concat(blockClass, "--slide-in"), slideIn), "".concat(blockClass, "--has-slug"), slug), "".concat(blockClass, "--condensed-actions"), condensedActions), "".concat(blockClass, "--has-overlay"), includeOverlay)]);
338
+ var mainPanelClassNames = cx([blockClass, className, "".concat(blockClass), "".concat(blockClass, "--").concat(size), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "".concat(blockClass, "--right-placement"), placement === 'right'), "".concat(blockClass, "--left-placement"), placement === 'left'), "".concat(blockClass, "--slide-in"), slideIn), "".concat(blockClass, "--has-ai-label"), !!aiLabel || !!slug), "".concat(blockClass, "--condensed-actions"), condensedActions), "".concat(blockClass, "--has-overlay"), includeOverlay)]);
338
339
  var renderTitle = function renderTitle() {
339
340
  return /*#__PURE__*/React__default.createElement("div", {
340
341
  className: cx("".concat(blockClass, "__title"), _defineProperty({}, "".concat(blockClass, "__title--no-label"), !labelTextRef.current)),
@@ -350,13 +351,23 @@ var SidePanel = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
350
351
  }, title));
351
352
  };
352
353
  var renderHeader = function renderHeader() {
353
- var _slug$type;
354
- var slugCloseSize = actions && actions.length && /l/.test(size) ? 'md' : 'sm';
355
- var normalizedSlug;
354
+ var _slug$type, _aiLabel$type;
355
+ var aiLabelCloseSize = actions && actions.length && /l/.test(size) ? 'md' : 'sm';
356
+ var normalizedAILabel;
357
+ /**
358
+ * slug is deprecated
359
+ * can remove this condition in future release
360
+ */
356
361
  if (slug && ((_slug$type = slug['type']) === null || _slug$type === void 0 ? void 0 : _slug$type.displayName) === 'Slug') {
357
- normalizedSlug = /*#__PURE__*/React__default.cloneElement(slug, {
362
+ normalizedAILabel = /*#__PURE__*/React__default.cloneElement(slug, {
358
363
  // slug size is sm unless actions and size > md
359
- size: slugCloseSize
364
+ size: aiLabelCloseSize
365
+ });
366
+ }
367
+ if (aiLabel && ((_aiLabel$type = aiLabel['type']) === null || _aiLabel$type === void 0 ? void 0 : _aiLabel$type.displayName) === 'AILabel') {
368
+ normalizedAILabel = /*#__PURE__*/React__default.cloneElement(aiLabel, {
369
+ // aiLabel size is sm unless actions and size > md
370
+ size: aiLabelCloseSize
360
371
  });
361
372
  }
362
373
  return /*#__PURE__*/React__default.createElement("div", {
@@ -364,7 +375,7 @@ var SidePanel = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
364
375
  ref: headerRef
365
376
  }, currentStep > 0 && /*#__PURE__*/React__default.createElement(Button, {
366
377
  kind: "ghost",
367
- size: slugCloseSize,
378
+ size: aiLabelCloseSize,
368
379
  disabled: false,
369
380
  renderIcon: function renderIcon(props) {
370
381
  return /*#__PURE__*/React__default.createElement(ArrowLeft, _extends({
@@ -378,8 +389,8 @@ var SidePanel = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
378
389
  className: "".concat(blockClass, "__label-text"),
379
390
  ref: labelTextRef
380
391
  }, labelText), title && title.length && renderTitle(), /*#__PURE__*/React__default.createElement("div", {
381
- className: "".concat(blockClass, "__slug-and-close")
382
- }, normalizedSlug, /*#__PURE__*/React__default.createElement(IconButton, {
392
+ className: "".concat(blockClass, "__ai-label-and-close")
393
+ }, normalizedAILabel, /*#__PURE__*/React__default.createElement(IconButton, {
383
394
  className: "".concat(blockClass, "__close-button"),
384
395
  label: closeIconDescription,
385
396
  onClick: onRequestClose,
@@ -477,7 +488,14 @@ var SidePanel = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
477
488
 
478
489
  // Return a placeholder if not released and not enabled by feature flag
479
490
  SidePanel = pkg.checkComponentEnabled(SidePanel, componentName);
480
- SidePanel.propTypes = {
491
+ var deprecatedProps = {
492
+ /**
493
+ * **deprecated**
494
+ * **Experimental:** Provide a `Slug` component to be rendered inside the `SidePanel` component
495
+ */
496
+ slug: PropTypes.node
497
+ };
498
+ SidePanel.propTypes = _objectSpread2({
481
499
  /**
482
500
  * Sets the action toolbar buttons
483
501
  */
@@ -614,10 +632,6 @@ SidePanel.propTypes = {
614
632
  */
615
633
  /**@ts-ignore*/
616
634
  slideIn: PropTypes.bool,
617
- /**
618
- * **Experimental:** Provide a `Slug` component to be rendered inside the `SidePanel` component
619
- */
620
- slug: PropTypes.node,
621
635
  /**
622
636
  * Sets the subtitle text
623
637
  */
@@ -630,7 +644,7 @@ SidePanel.propTypes = {
630
644
  var labelText = _ref7.labelText;
631
645
  return labelText;
632
646
  })
633
- };
647
+ }, deprecatedProps);
634
648
  SidePanel.displayName = componentName;
635
649
 
636
650
  export { SidePanel };
@@ -20,7 +20,7 @@ export function SimpleHeader({ breadcrumbs, className, title, noTrailingSlash, m
20
20
  maxVisible: any;
21
21
  overflowAriaLabel: any;
22
22
  overflowTooltipAlign: any;
23
- }): import("react/jsx-runtime").JSX.Element;
23
+ }): React.JSX.Element;
24
24
  export namespace SimpleHeader {
25
25
  namespace propTypes {
26
26
  export let breadcrumbs: PropTypes.Requireable<(PropTypes.InferProps<{
@@ -43,4 +43,5 @@ export namespace SimpleHeader {
43
43
  export let title: PropTypes.Requireable<string>;
44
44
  }
45
45
  }
46
+ import React from 'react';
46
47
  import PropTypes from 'prop-types';