@carbon/ibm-products 2.56.1 → 2.57.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 (789) hide show
  1. package/css/index-full-carbon.css +66 -20
  2. package/css/index-full-carbon.css.map +1 -1
  3. package/css/index-full-carbon.min.css +1 -1
  4. package/css/index-full-carbon.min.css.map +1 -1
  5. package/css/index-without-carbon-released-only.css +28 -12
  6. package/css/index-without-carbon-released-only.css.map +1 -1
  7. package/css/index-without-carbon-released-only.min.css +1 -1
  8. package/css/index-without-carbon-released-only.min.css.map +1 -1
  9. package/css/index-without-carbon.css +28 -12
  10. package/css/index-without-carbon.css.map +1 -1
  11. package/css/index-without-carbon.min.css +1 -1
  12. package/css/index-without-carbon.min.css.map +1 -1
  13. package/css/index.css +29 -12
  14. package/css/index.css.map +1 -1
  15. package/css/index.min.css +1 -1
  16. package/css/index.min.css.map +1 -1
  17. package/es/_virtual/_commonjsHelpers.js +1 -1
  18. package/es/_virtual/_rollupPluginBabelHelpers.js +1 -1
  19. package/es/_virtual/index.js +1 -1
  20. package/es/_virtual/index2.js +1 -1
  21. package/es/components/APIKeyModal/APIKeyDownloader.d.ts +1 -1
  22. package/es/components/APIKeyModal/APIKeyDownloader.js +2 -2
  23. package/es/components/APIKeyModal/APIKeyModal.d.ts +13 -0
  24. package/es/components/APIKeyModal/APIKeyModal.js +70 -26
  25. package/es/components/APIKeyModal/APIKeyModal.types.d.ts +16 -2
  26. package/es/components/AboutModal/AboutModal.js +1 -1
  27. package/es/components/ActionBar/ActionBar.js +1 -1
  28. package/es/components/ActionBar/ActionBarItem.js +1 -1
  29. package/es/components/ActionBar/ActionBarOverflowItems.js +1 -1
  30. package/es/components/ActionSet/ActionSet.js +1 -1
  31. package/es/components/AddSelect/AddSelect.js +1 -1
  32. package/es/components/AddSelect/AddSelectBody.js +1 -1
  33. package/es/components/AddSelect/AddSelectBreadcrumbs.js +1 -1
  34. package/es/components/AddSelect/AddSelectColumn.js +1 -1
  35. package/es/components/AddSelect/AddSelectFilter.js +1 -1
  36. package/es/components/AddSelect/AddSelectFormControl.js +1 -1
  37. package/es/components/AddSelect/AddSelectList.js +1 -1
  38. package/es/components/AddSelect/AddSelectMetaPanel.js +1 -1
  39. package/es/components/AddSelect/AddSelectRow.js +1 -1
  40. package/es/components/AddSelect/AddSelectSidebar.js +1 -1
  41. package/es/components/AddSelect/AddSelectSort.js +1 -1
  42. package/es/components/AddSelect/add-select-utils.js +1 -1
  43. package/es/components/AddSelect/hooks/useFocus.js +1 -1
  44. package/es/components/AddSelect/hooks/useItemSort.js +1 -1
  45. package/es/components/AddSelect/hooks/useParentSelect.js +1 -1
  46. package/es/components/AddSelect/hooks/usePath.js +1 -1
  47. package/es/components/BigNumbers/BigNumbers.js +1 -1
  48. package/es/components/BigNumbers/constants.js +1 -1
  49. package/es/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +1 -1
  50. package/es/components/ButtonSetWithOverflow/ButtonSetWithOverflow.js +1 -1
  51. package/es/components/Card/Card.js +4 -5
  52. package/es/components/Card/CardFooter.js +1 -1
  53. package/es/components/Card/CardHeader.js +1 -1
  54. package/es/components/Carousel/Carousel.js +1 -1
  55. package/es/components/Carousel/CarouselItem.js +1 -1
  56. package/es/components/Cascade/Cascade.js +1 -1
  57. package/es/components/Checklist/Checklist.js +1 -1
  58. package/es/components/Checklist/Checklist.types.js +1 -1
  59. package/es/components/Checklist/ChecklistChart.js +1 -1
  60. package/es/components/Checklist/ChecklistIcon.js +1 -1
  61. package/es/components/Coachmark/Coachmark.js +1 -1
  62. package/es/components/Coachmark/CoachmarkDragbar.js +1 -1
  63. package/es/components/Coachmark/CoachmarkHeader.js +1 -1
  64. package/es/components/Coachmark/CoachmarkOverlay.js +5 -1
  65. package/es/components/Coachmark/CoachmarkTagline.js +1 -1
  66. package/es/components/Coachmark/utils/constants.js +1 -1
  67. package/es/components/Coachmark/utils/context.js +1 -1
  68. package/es/components/Coachmark/utils/enums.js +1 -1
  69. package/es/components/Coachmark/utils/hooks.js +1 -1
  70. package/es/components/CoachmarkBeacon/CoachmarkBeacon.js +1 -1
  71. package/es/components/CoachmarkButton/CoachmarkButton.js +1 -1
  72. package/es/components/CoachmarkFixed/CoachmarkFixed.js +1 -1
  73. package/es/components/CoachmarkOverlayElement/CoachmarkOverlayElement.js +1 -1
  74. package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.d.ts +12 -0
  75. package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +40 -9
  76. package/es/components/CoachmarkStack/CoachmarkStack.js +1 -1
  77. package/es/components/CoachmarkStack/CoachmarkStackHome.js +1 -1
  78. package/es/components/ComboButton/ComboButton.js +1 -1
  79. package/es/components/ComboButton/ComboButtonItem/index.js +1 -1
  80. package/es/components/ConditionBuilder/ConditionBlock/ConditionBlock.js +1 -1
  81. package/es/components/ConditionBuilder/ConditionBuilder.js +1 -1
  82. package/es/components/ConditionBuilder/ConditionBuilderActions/ConditionBuilderActions.js +1 -1
  83. package/es/components/ConditionBuilder/ConditionBuilderAdd/ConditionBuilderAdd.js +1 -1
  84. package/es/components/ConditionBuilder/ConditionBuilderButton/ConditionBuilderButton.js +1 -1
  85. package/es/components/ConditionBuilder/ConditionBuilderConnector/ConditionConnector.js +1 -1
  86. package/es/components/ConditionBuilder/ConditionBuilderConnector/GroupConnector.js +1 -1
  87. package/es/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.js +10 -6
  88. package/es/components/ConditionBuilder/ConditionBuilderContext/ConditionBuilderProvider.js +1 -1
  89. package/es/components/ConditionBuilder/ConditionBuilderContext/translationObject.js +1 -1
  90. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.js +1 -1
  91. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemDate/ConditionBuilderItemDate.js +1 -1
  92. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemNumber/ConditionBuilderItemNumber.js +1 -1
  93. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.js +1 -1
  94. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOptionForValueField.js +1 -1
  95. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemText/ConditionBuilderItemText.js +1 -1
  96. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemTime/ConditionBuilderItemTime.js +1 -1
  97. package/es/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.js +1 -1
  98. package/es/components/ConditionBuilder/ConditionPreview/ConditionPreview.js +1 -1
  99. package/es/components/ConditionBuilder/utils/handleKeyboardEvents.js +1 -1
  100. package/es/components/ConditionBuilder/utils/useDataConfigs.js +1 -1
  101. package/es/components/ConditionBuilder/utils/useTranslations.js +1 -1
  102. package/es/components/ConditionBuilder/utils/util.js +1 -1
  103. package/es/components/CreateFullPage/CreateFullPage.js +1 -1
  104. package/es/components/CreateFullPage/CreateFullPageStep.js +1 -1
  105. package/es/components/CreateInfluencer/CreateInfluencer.js +1 -1
  106. package/es/components/CreateModal/CreateModal.js +1 -1
  107. package/es/components/CreateSidePanel/CreateSidePanel.js +1 -1
  108. package/es/components/CreateTearsheet/CreateTearsheet.js +3 -2
  109. package/es/components/CreateTearsheet/CreateTearsheetDivider.js +1 -1
  110. package/es/components/CreateTearsheet/CreateTearsheetStep.js +1 -1
  111. package/es/components/CreateTearsheetNarrow/CreateTearsheetNarrow.js +1 -1
  112. package/es/components/DataSpreadsheet/DataSpreadsheet.js +1 -1
  113. package/es/components/DataSpreadsheet/DataSpreadsheetBody.js +1 -1
  114. package/es/components/DataSpreadsheet/DataSpreadsheetHeader.js +1 -1
  115. package/es/components/DataSpreadsheet/hooks/useMoveActiveCell.js +1 -1
  116. package/es/components/DataSpreadsheet/hooks/useMultipleKeyTracking.js +1 -1
  117. package/es/components/DataSpreadsheet/hooks/useResetSpreadsheetFocus.js +1 -1
  118. package/es/components/DataSpreadsheet/hooks/useSpreadsheetEdit.js +1 -1
  119. package/es/components/DataSpreadsheet/hooks/useSpreadsheetMouseMove.js +1 -1
  120. package/es/components/DataSpreadsheet/hooks/useSpreadsheetMouseUp.js +1 -1
  121. package/es/components/DataSpreadsheet/hooks/useSpreadsheetOutsideClick.js +1 -1
  122. package/es/components/DataSpreadsheet/utils/checkActiveHeaderCell.js +1 -1
  123. package/es/components/DataSpreadsheet/utils/checkForHoldingKey.js +1 -1
  124. package/es/components/DataSpreadsheet/utils/checkSelectedHeaderCell.js +1 -1
  125. package/es/components/DataSpreadsheet/utils/commonEventHandlers.js +1 -1
  126. package/es/components/DataSpreadsheet/utils/createActiveCellFn.js +1 -1
  127. package/es/components/DataSpreadsheet/utils/createCellSelectionArea.js +1 -1
  128. package/es/components/DataSpreadsheet/utils/getCellSize.js +1 -1
  129. package/es/components/DataSpreadsheet/utils/getSelectionAreaPoints.js +1 -1
  130. package/es/components/DataSpreadsheet/utils/getSpreadsheetWidth.js +1 -1
  131. package/es/components/DataSpreadsheet/utils/handleActiveCellInSelectionEnter.js +1 -1
  132. package/es/components/DataSpreadsheet/utils/handleActiveCellInSelectionTab.js +1 -1
  133. package/es/components/DataSpreadsheet/utils/handleCellDeletion.js +1 -1
  134. package/es/components/DataSpreadsheet/utils/handleEditSubmit.js +1 -1
  135. package/es/components/DataSpreadsheet/utils/handleHeaderCellSelection.js +1 -1
  136. package/es/components/DataSpreadsheet/utils/handleMultipleKeys.js +1 -1
  137. package/es/components/DataSpreadsheet/utils/moveColumnIndicatorLine.js +1 -1
  138. package/es/components/DataSpreadsheet/utils/removeCellSelections.js +1 -1
  139. package/es/components/DataSpreadsheet/utils/selectAllCells.js +1 -1
  140. package/es/components/Datagrid/Datagrid/Datagrid.js +1 -1
  141. package/es/components/Datagrid/Datagrid/DatagridBody.js +1 -1
  142. package/es/components/Datagrid/Datagrid/DatagridContent.js +1 -1
  143. package/es/components/Datagrid/Datagrid/DatagridEmptyBody.js +1 -1
  144. package/es/components/Datagrid/Datagrid/DatagridExpandedRow.js +1 -1
  145. package/es/components/Datagrid/Datagrid/DatagridHead.js +1 -1
  146. package/es/components/Datagrid/Datagrid/DatagridHeaderRow.js +1 -1
  147. package/es/components/Datagrid/Datagrid/DatagridRefBody.js +1 -1
  148. package/es/components/Datagrid/Datagrid/DatagridRow.js +1 -1
  149. package/es/components/Datagrid/Datagrid/DatagridSelectAll.js +32 -3
  150. package/es/components/Datagrid/Datagrid/DatagridSelectAllWithToggle.js +1 -1
  151. package/es/components/Datagrid/Datagrid/DatagridSimpleBody.js +1 -1
  152. package/es/components/Datagrid/Datagrid/DatagridToolbar.js +1 -1
  153. package/es/components/Datagrid/Datagrid/DatagridVirtualBody.js +1 -1
  154. package/es/components/Datagrid/Datagrid/DraggableElement.js +1 -1
  155. package/es/components/Datagrid/Datagrid/addons/AiLabel/DatagridAiLabel.js +1 -1
  156. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Actions.js +1 -1
  157. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.js +1 -1
  158. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +1 -1
  159. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +1 -1
  160. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/DraggableItemsList.js +1 -1
  161. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/TearsheetWrapper.js +1 -1
  162. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/common.js +1 -1
  163. package/es/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +1 -1
  164. package/es/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +1 -1
  165. package/es/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.js +1 -1
  166. package/es/components/Datagrid/Datagrid/addons/Filtering/OverflowCheckboxes.js +1 -1
  167. package/es/components/Datagrid/Datagrid/addons/Filtering/constants.js +1 -1
  168. package/es/components/Datagrid/Datagrid/addons/Filtering/handleCheckboxChange.js +1 -1
  169. package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilterContext.js +1 -1
  170. package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.js +1 -1
  171. package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useShouldDisableButtons.js +1 -1
  172. package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useSubscribeToEventEmitter.js +1 -1
  173. package/es/components/Datagrid/Datagrid/addons/Filtering/motion/variants.js +1 -1
  174. package/es/components/Datagrid/Datagrid/addons/Filtering/utils.js +1 -1
  175. package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/InlineEditButton.js +1 -1
  176. package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.js +1 -1
  177. package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/InlineEditContext.js +1 -1
  178. package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/getCellIdAsObject.js +1 -1
  179. package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/returnUpdatedActiveCell.js +1 -1
  180. package/es/components/Datagrid/Datagrid/addons/InlineEdit/handleGridFocus.js +1 -1
  181. package/es/components/Datagrid/Datagrid/addons/InlineEdit/handleGridKeyPress.js +1 -1
  182. package/es/components/Datagrid/Datagrid/addons/InlineEdit/handleMultipleKeys.js +1 -1
  183. package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +1 -1
  184. package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeRadioGroup.js +1 -1
  185. package/es/components/Datagrid/Datagrid/addons/stateReducer.js +1 -1
  186. package/es/components/Datagrid/common-column-ids.js +1 -1
  187. package/es/components/Datagrid/useActionsColumn.js +1 -1
  188. package/es/components/Datagrid/useColumnCenterAlign.js +1 -1
  189. package/es/components/Datagrid/useColumnOrder.js +1 -1
  190. package/es/components/Datagrid/useColumnRightAlign.js +1 -1
  191. package/es/components/Datagrid/useCustomizeColumns.js +1 -1
  192. package/es/components/Datagrid/useDatagrid.js +1 -1
  193. package/es/components/Datagrid/useDefaultStringRenderer.js +1 -1
  194. package/es/components/Datagrid/useDisableSelectRows.js +1 -1
  195. package/es/components/Datagrid/useEditableCell.js +1 -1
  196. package/es/components/Datagrid/useExpandedRow.js +1 -1
  197. package/es/components/Datagrid/useFiltering.js +1 -1
  198. package/es/components/Datagrid/useFlexResize.js +1 -1
  199. package/es/components/Datagrid/useFloatingScroll.js +1 -1
  200. package/es/components/Datagrid/useFocusRowExpander.js +1 -1
  201. package/es/components/Datagrid/useInfiniteScroll.js +1 -1
  202. package/es/components/Datagrid/useInitialColumnSort.js +1 -1
  203. package/es/components/Datagrid/useInlineEdit.js +1 -1
  204. package/es/components/Datagrid/useNestedRowExpander.js +1 -1
  205. package/es/components/Datagrid/useNestedRows.js +1 -1
  206. package/es/components/Datagrid/useOnRowClick.js +1 -1
  207. package/es/components/Datagrid/useParentDimensions.js +1 -1
  208. package/es/components/Datagrid/useResizeTable.js +1 -1
  209. package/es/components/Datagrid/useRowExpander.js +1 -1
  210. package/es/components/Datagrid/useRowIsMouseOver.js +1 -1
  211. package/es/components/Datagrid/useRowRenderer.js +1 -1
  212. package/es/components/Datagrid/useRowSize.js +1 -1
  213. package/es/components/Datagrid/useSelectAllToggle.js +1 -1
  214. package/es/components/Datagrid/useSelectRows.js +1 -1
  215. package/es/components/Datagrid/useSkeletonRows.js +1 -1
  216. package/es/components/Datagrid/useSortableColumns.js +1 -1
  217. package/es/components/Datagrid/useStickyColumn.js +1 -1
  218. package/es/components/Datagrid/utils/getAutoSizedColumnWidth.js +1 -1
  219. package/es/components/Decorator/Decorator.js +1 -1
  220. package/es/components/DecoratorBase/DecoratorBase.js +1 -1
  221. package/es/components/DecoratorBase/DecoratorIcon.js +1 -1
  222. package/es/components/DecoratorBase/utils.js +1 -1
  223. package/es/components/DecoratorDualButton/DecoratorDualButton.js +1 -1
  224. package/es/components/DecoratorLink/DecoratorLink.js +1 -1
  225. package/es/components/DecoratorSingleButton/DecoratorSingleButton.js +1 -1
  226. package/es/components/DelimitedList/DelimitedList.js +1 -1
  227. package/es/components/DescriptionList/DescriptionList.js +1 -1
  228. package/es/components/DescriptionList/DescriptionListBody.js +1 -1
  229. package/es/components/DescriptionList/DescriptionListCell.js +1 -1
  230. package/es/components/DescriptionList/DescriptionListRow.js +1 -1
  231. package/es/components/DescriptionList/constants.js +1 -1
  232. package/es/components/EditFullPage/EditFullPage.js +1 -1
  233. package/es/components/EditInPlace/EditInPlace.js +1 -1
  234. package/es/components/EditSidePanel/EditSidePanel.js +1 -1
  235. package/es/components/EditTearsheet/EditTearsheet.js +1 -1
  236. package/es/components/EditTearsheet/EditTearsheetForm.js +1 -1
  237. package/es/components/EditTearsheetNarrow/EditTearsheetNarrow.js +1 -1
  238. package/es/components/EditUpdateCards/EditUpdateCards.js +1 -1
  239. package/es/components/EmptyStates/EmptyState.js +1 -1
  240. package/es/components/EmptyStates/EmptyStateContent.js +1 -1
  241. package/es/components/EmptyStates/EmptyStateIllustration.js +1 -1
  242. package/es/components/EmptyStates/EmptyStateV2.js +1 -1
  243. package/es/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +1 -1
  244. package/es/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +1 -1
  245. package/es/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +1 -1
  246. package/es/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +1 -1
  247. package/es/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +1 -1
  248. package/es/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +1 -1
  249. package/es/components/EmptyStates/assets/ErrorIllustration.js +1 -1
  250. package/es/components/EmptyStates/assets/NoDataIllustration.js +1 -1
  251. package/es/components/EmptyStates/assets/NoTagsIllustration.js +1 -1
  252. package/es/components/EmptyStates/assets/NotFoundIllustration.js +1 -1
  253. package/es/components/EmptyStates/assets/NotificationsIllustration.js +1 -1
  254. package/es/components/EmptyStates/assets/UnauthorizedIllustration.js +1 -1
  255. package/es/components/ExportModal/ExportModal.js +1 -1
  256. package/es/components/ExpressiveCard/ExpressiveCard.js +1 -1
  257. package/es/components/FeatureFlags/index.js +1 -1
  258. package/es/components/FilterPanel/FilterPanel.js +1 -1
  259. package/es/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.js +1 -1
  260. package/es/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.js +1 -1
  261. package/es/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.js +1 -1
  262. package/es/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.js +1 -1
  263. package/es/components/FilterPanel/FilterPanelGroup/FilterPanelGroup.js +1 -1
  264. package/es/components/FilterPanel/FilterPanelLabel/FilterPanelLabel.js +1 -1
  265. package/es/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.js +1 -1
  266. package/es/components/FilterSummary/FilterSummary.js +2 -2
  267. package/es/components/FullPageError/FullPageError.js +1 -1
  268. package/es/components/FullPageError/assets/Error403SVG.js +1 -1
  269. package/es/components/FullPageError/assets/Error404SVG.js +1 -1
  270. package/es/components/FullPageError/assets/ErrorGenericSVG.js +1 -1
  271. package/es/components/GetStartedCard/GetStartedCard.js +1 -1
  272. package/es/components/Guidebanner/Guidebanner.js +1 -1
  273. package/es/components/Guidebanner/GuidebannerElement.js +1 -1
  274. package/es/components/Guidebanner/GuidebannerElementButton.js +1 -1
  275. package/es/components/Guidebanner/GuidebannerElementLink.js +1 -1
  276. package/es/components/HTTPErrors/HTTPError403/HTTPError403.js +2 -2
  277. package/es/components/HTTPErrors/HTTPError404/HTTPError404.js +2 -2
  278. package/es/components/HTTPErrors/HTTPErrorContent.js +1 -1
  279. package/es/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.js +2 -2
  280. package/es/components/HTTPErrors/assets/HTTPErrorSvg403.js +1 -1
  281. package/es/components/HTTPErrors/assets/HTTPErrorSvg404.js +1 -1
  282. package/es/components/HTTPErrors/assets/HTTPErrorSvgOther.js +1 -1
  283. package/es/components/ImportModal/ImportModal.js +1 -1
  284. package/es/components/InlineTip/InlineTip.js +1 -1
  285. package/es/components/InlineTip/InlineTipButton.js +1 -1
  286. package/es/components/InlineTip/InlineTipLink.js +1 -1
  287. package/es/components/InlineTip/utils.js +1 -1
  288. package/es/components/InterstitialScreen/InterstitialScreen.js +3 -4
  289. package/es/components/InterstitialScreenView/InterstitialScreenView.js +1 -1
  290. package/es/components/InterstitialScreenViewModule/InterstitialScreenViewModule.js +1 -1
  291. package/es/components/MultiAddSelect/MultiAddSelect.js +1 -1
  292. package/es/components/Nav/Nav.js +1 -1
  293. package/es/components/Nav/NavItem.js +1 -1
  294. package/es/components/Nav/NavItemLink.js +1 -1
  295. package/es/components/Nav/NavList.js +1 -1
  296. package/es/components/NonLinearReading/NonLinearReading.js +1 -1
  297. package/es/components/NotificationsPanel/NotificationsPanel.js +1 -1
  298. package/es/components/NotificationsPanel/utils.js +1 -1
  299. package/es/components/OptionsTile/OptionsTile.js +1 -1
  300. package/es/components/PageHeader/PageHeader.js +14 -4
  301. package/es/components/PageHeader/PageHeaderTitle.js +11 -30
  302. package/es/components/PageHeader/PageHeaderUtils.js +1 -1
  303. package/es/components/ProductiveCard/ProductiveCard.d.ts +6 -2
  304. package/es/components/ProductiveCard/ProductiveCard.js +8 -6
  305. package/es/components/RemoveModal/RemoveModal.js +1 -1
  306. package/es/components/Saving/Saving.js +1 -1
  307. package/es/components/ScrollGradient/ScrollGradient.js +1 -1
  308. package/es/components/ScrollGradient/constants.js +1 -1
  309. package/es/components/SearchBar/SearchBar.js +1 -1
  310. package/es/components/SidePanel/SidePanel.d.ts +6 -1
  311. package/es/components/SidePanel/SidePanel.js +42 -27
  312. package/es/components/SidePanel/constants.js +1 -1
  313. package/es/components/SidePanel/motion/variants.js +1 -1
  314. package/es/components/SimpleHeader/SimpleHeader.js +1 -1
  315. package/es/components/SingleAddSelect/SingleAddSelect.js +1 -1
  316. package/es/components/StatusIcon/StatusIcon.js +1 -1
  317. package/es/components/StatusIndicator/StatusIndicator.js +1 -1
  318. package/es/components/StatusIndicator/StatusIndicatorStep.js +1 -1
  319. package/es/components/SteppedAnimatedMedia/SteppedAnimatedMedia.js +1 -1
  320. package/es/components/StringFormatter/StringFormatter.js +1 -1
  321. package/es/components/StringFormatter/utils/enums.js +1 -1
  322. package/es/components/TagOverflow/TagOverflow.js +3 -6
  323. package/es/components/TagOverflow/TagOverflowModal.js +1 -1
  324. package/es/components/TagOverflow/TagOverflowPopover.js +1 -1
  325. package/es/components/TagOverflow/constants.js +1 -1
  326. package/es/components/TagSet/TagSet.js +1 -1
  327. package/es/components/TagSet/TagSetModal.js +1 -1
  328. package/es/components/TagSet/TagSetOverflow.js +1 -1
  329. package/es/components/Tearsheet/Tearsheet.js +1 -1
  330. package/es/components/Tearsheet/TearsheetNarrow.js +1 -1
  331. package/es/components/Tearsheet/TearsheetShell.d.ts +4 -0
  332. package/es/components/Tearsheet/TearsheetShell.js +6 -38
  333. package/es/components/Toolbar/Toolbar.js +1 -1
  334. package/es/components/Toolbar/ToolbarButton.js +1 -1
  335. package/es/components/Toolbar/ToolbarGroup.js +1 -1
  336. package/es/components/TooltipTrigger/TooltipTrigger.js +1 -1
  337. package/es/components/TruncatedList/TruncatedList.js +1 -1
  338. package/es/components/UserAvatar/UserAvatar.js +1 -1
  339. package/es/components/UserProfileImage/UserProfileImage.js +1 -1
  340. package/es/components/WebTerminal/WebTerminal.js +1 -1
  341. package/es/components/WebTerminal/WebTerminalContentWrapper.js +1 -1
  342. package/es/components/WebTerminal/hooks/index.js +1 -1
  343. package/es/components/_Canary/Canary.js +1 -1
  344. package/es/feature-flags.js +1 -1
  345. package/es/global/js/hooks/useActiveElement.js +1 -1
  346. package/es/global/js/hooks/useClickOutside.js +1 -1
  347. package/es/global/js/hooks/useControllableState.js +1 -1
  348. package/es/global/js/hooks/useCreateComponentFocus.js +1 -1
  349. package/es/global/js/hooks/useCreateComponentStepChange.js +1 -1
  350. package/es/global/js/hooks/useFocus.d.ts +1 -1
  351. package/es/global/js/hooks/useFocus.js +8 -5
  352. package/es/global/js/hooks/useIsomorphicEffect.js +1 -1
  353. package/es/global/js/hooks/usePortalTarget.js +1 -1
  354. package/es/global/js/hooks/usePrefersReducedMotion.js +1 -1
  355. package/es/global/js/hooks/usePrefix.js +1 -1
  356. package/es/global/js/hooks/usePreviousValue.js +1 -1
  357. package/es/global/js/hooks/useResetCreateComponent.js +1 -1
  358. package/es/global/js/hooks/useResizeObserver.js +1 -1
  359. package/es/global/js/hooks/useRetrieveFormTitles.js +1 -1
  360. package/es/global/js/hooks/useRetrieveStepData.js +1 -1
  361. package/es/global/js/hooks/useValidCreateStepCount.js +1 -1
  362. package/es/global/js/hooks/useWindowResize.js +1 -1
  363. package/es/global/js/hooks/useWindowScroll.js +1 -1
  364. package/es/global/js/package-settings.js +1 -1
  365. package/es/global/js/utils/Wrap.js +1 -1
  366. package/es/global/js/utils/checkForOverflow.d.ts +5 -0
  367. package/es/global/js/utils/checkForOverflow.js +31 -0
  368. package/es/global/js/utils/deepCloneObject.js +1 -1
  369. package/es/global/js/utils/devtools.js +1 -1
  370. package/es/global/js/utils/getBezierValues.js +1 -1
  371. package/es/global/js/utils/getFocusableElements.js +1 -1
  372. package/es/global/js/utils/getNodeTextContent.js +1 -1
  373. package/es/global/js/utils/getNumberOfHiddenSteps.js +1 -1
  374. package/es/global/js/utils/getScrollbarWidth.js +1 -1
  375. package/es/global/js/utils/keyboardNavigation.js +1 -1
  376. package/es/global/js/utils/lastIndexInArray.js +1 -1
  377. package/es/global/js/utils/motionConstants.js +1 -1
  378. package/es/global/js/utils/pconsole.js +1 -1
  379. package/es/global/js/utils/props-helper.js +1 -1
  380. package/es/global/js/utils/rangeWithCallback.js +1 -1
  381. package/es/global/js/utils/scrollableAncestor.js +1 -1
  382. package/es/global/js/utils/useId.js +1 -1
  383. package/es/global/js/utils/uuidv4.js +1 -1
  384. package/es/global/js/utils/wait.js +1 -1
  385. package/es/global/js/utils/wrapFocus.js +1 -1
  386. package/es/index.js +1 -1
  387. package/es/node_modules/@carbon/colors/es/index.js +1 -1
  388. package/es/node_modules/@carbon/icon-helpers/es/index.js +1 -1
  389. package/es/node_modules/@carbon/icons-react/es/Icon.js +1 -1
  390. package/es/node_modules/@carbon/icons-react/es/generated/bucket-3.js +1 -1
  391. package/es/node_modules/@carbon/icons-react/es/generated/bucket-9.js +1 -1
  392. package/es/node_modules/@carbon/icons-react/es/iconPropTypes-4cbeb95d.js +1 -1
  393. package/es/node_modules/object-assign/index.js +1 -1
  394. package/es/node_modules/prop-types/checkPropTypes.js +1 -1
  395. package/es/node_modules/prop-types/factoryWithThrowingShims.js +1 -1
  396. package/es/node_modules/prop-types/factoryWithTypeCheckers.js +1 -1
  397. package/es/node_modules/prop-types/index.js +1 -1
  398. package/es/node_modules/prop-types/lib/ReactPropTypesSecret.js +1 -1
  399. package/es/node_modules/prop-types/lib/has.js +1 -1
  400. package/es/settings.js +1 -1
  401. package/lib/_virtual/_commonjsHelpers.js +1 -1
  402. package/lib/_virtual/_rollupPluginBabelHelpers.js +1 -1
  403. package/lib/_virtual/index.js +1 -1
  404. package/lib/_virtual/index2.js +1 -1
  405. package/lib/components/APIKeyModal/APIKeyDownloader.d.ts +1 -1
  406. package/lib/components/APIKeyModal/APIKeyDownloader.js +2 -2
  407. package/lib/components/APIKeyModal/APIKeyModal.d.ts +13 -0
  408. package/lib/components/APIKeyModal/APIKeyModal.js +69 -23
  409. package/lib/components/APIKeyModal/APIKeyModal.types.d.ts +16 -2
  410. package/lib/components/AboutModal/AboutModal.js +1 -1
  411. package/lib/components/ActionBar/ActionBar.js +1 -1
  412. package/lib/components/ActionBar/ActionBarItem.js +1 -1
  413. package/lib/components/ActionBar/ActionBarOverflowItems.js +1 -1
  414. package/lib/components/ActionSet/ActionSet.js +1 -1
  415. package/lib/components/AddSelect/AddSelect.js +1 -1
  416. package/lib/components/AddSelect/AddSelectBody.js +1 -1
  417. package/lib/components/AddSelect/AddSelectBreadcrumbs.js +1 -1
  418. package/lib/components/AddSelect/AddSelectColumn.js +1 -1
  419. package/lib/components/AddSelect/AddSelectFilter.js +1 -1
  420. package/lib/components/AddSelect/AddSelectFormControl.js +1 -1
  421. package/lib/components/AddSelect/AddSelectList.js +1 -1
  422. package/lib/components/AddSelect/AddSelectMetaPanel.js +1 -1
  423. package/lib/components/AddSelect/AddSelectRow.js +1 -1
  424. package/lib/components/AddSelect/AddSelectSidebar.js +1 -1
  425. package/lib/components/AddSelect/AddSelectSort.js +1 -1
  426. package/lib/components/AddSelect/add-select-utils.js +1 -1
  427. package/lib/components/AddSelect/hooks/useFocus.js +1 -1
  428. package/lib/components/AddSelect/hooks/useItemSort.js +1 -1
  429. package/lib/components/AddSelect/hooks/useParentSelect.js +1 -1
  430. package/lib/components/AddSelect/hooks/usePath.js +1 -1
  431. package/lib/components/BigNumbers/BigNumbers.js +1 -1
  432. package/lib/components/BigNumbers/constants.js +1 -1
  433. package/lib/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +1 -1
  434. package/lib/components/ButtonSetWithOverflow/ButtonSetWithOverflow.js +1 -1
  435. package/lib/components/Card/Card.js +4 -5
  436. package/lib/components/Card/CardFooter.js +1 -1
  437. package/lib/components/Card/CardHeader.js +1 -1
  438. package/lib/components/Carousel/Carousel.js +1 -1
  439. package/lib/components/Carousel/CarouselItem.js +1 -1
  440. package/lib/components/Cascade/Cascade.js +1 -1
  441. package/lib/components/Checklist/Checklist.js +1 -1
  442. package/lib/components/Checklist/Checklist.types.js +1 -1
  443. package/lib/components/Checklist/ChecklistChart.js +1 -1
  444. package/lib/components/Checklist/ChecklistIcon.js +1 -1
  445. package/lib/components/Coachmark/Coachmark.js +1 -1
  446. package/lib/components/Coachmark/CoachmarkDragbar.js +1 -1
  447. package/lib/components/Coachmark/CoachmarkHeader.js +1 -1
  448. package/lib/components/Coachmark/CoachmarkOverlay.js +5 -1
  449. package/lib/components/Coachmark/CoachmarkTagline.js +1 -1
  450. package/lib/components/Coachmark/utils/constants.js +1 -1
  451. package/lib/components/Coachmark/utils/context.js +1 -1
  452. package/lib/components/Coachmark/utils/enums.js +1 -1
  453. package/lib/components/Coachmark/utils/hooks.js +1 -1
  454. package/lib/components/CoachmarkBeacon/CoachmarkBeacon.js +1 -1
  455. package/lib/components/CoachmarkButton/CoachmarkButton.js +1 -1
  456. package/lib/components/CoachmarkFixed/CoachmarkFixed.js +1 -1
  457. package/lib/components/CoachmarkOverlayElement/CoachmarkOverlayElement.js +1 -1
  458. package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.d.ts +12 -0
  459. package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +40 -9
  460. package/lib/components/CoachmarkStack/CoachmarkStack.js +1 -1
  461. package/lib/components/CoachmarkStack/CoachmarkStackHome.js +1 -1
  462. package/lib/components/ComboButton/ComboButton.js +1 -1
  463. package/lib/components/ComboButton/ComboButtonItem/index.js +1 -1
  464. package/lib/components/ConditionBuilder/ConditionBlock/ConditionBlock.js +1 -1
  465. package/lib/components/ConditionBuilder/ConditionBuilder.js +1 -1
  466. package/lib/components/ConditionBuilder/ConditionBuilderActions/ConditionBuilderActions.js +1 -1
  467. package/lib/components/ConditionBuilder/ConditionBuilderAdd/ConditionBuilderAdd.js +1 -1
  468. package/lib/components/ConditionBuilder/ConditionBuilderButton/ConditionBuilderButton.js +1 -1
  469. package/lib/components/ConditionBuilder/ConditionBuilderConnector/ConditionConnector.js +1 -1
  470. package/lib/components/ConditionBuilder/ConditionBuilderConnector/GroupConnector.js +1 -1
  471. package/lib/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.js +10 -6
  472. package/lib/components/ConditionBuilder/ConditionBuilderContext/ConditionBuilderProvider.js +1 -1
  473. package/lib/components/ConditionBuilder/ConditionBuilderContext/translationObject.js +1 -1
  474. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItem.js +1 -1
  475. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemDate/ConditionBuilderItemDate.js +1 -1
  476. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemNumber/ConditionBuilderItemNumber.js +1 -1
  477. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.js +1 -1
  478. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOptionForValueField.js +1 -1
  479. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemText/ConditionBuilderItemText.js +1 -1
  480. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemTime/ConditionBuilderItemTime.js +1 -1
  481. package/lib/components/ConditionBuilder/ConditionGroupBuilder/ConditionGroupBuilder.js +1 -1
  482. package/lib/components/ConditionBuilder/ConditionPreview/ConditionPreview.js +1 -1
  483. package/lib/components/ConditionBuilder/utils/handleKeyboardEvents.js +1 -1
  484. package/lib/components/ConditionBuilder/utils/useDataConfigs.js +1 -1
  485. package/lib/components/ConditionBuilder/utils/useTranslations.js +1 -1
  486. package/lib/components/ConditionBuilder/utils/util.js +1 -1
  487. package/lib/components/CreateFullPage/CreateFullPage.js +1 -1
  488. package/lib/components/CreateFullPage/CreateFullPageStep.js +1 -1
  489. package/lib/components/CreateInfluencer/CreateInfluencer.js +1 -1
  490. package/lib/components/CreateModal/CreateModal.js +1 -1
  491. package/lib/components/CreateSidePanel/CreateSidePanel.js +1 -1
  492. package/lib/components/CreateTearsheet/CreateTearsheet.js +3 -2
  493. package/lib/components/CreateTearsheet/CreateTearsheetDivider.js +1 -1
  494. package/lib/components/CreateTearsheet/CreateTearsheetStep.js +1 -1
  495. package/lib/components/CreateTearsheetNarrow/CreateTearsheetNarrow.js +1 -1
  496. package/lib/components/DataSpreadsheet/DataSpreadsheet.js +1 -1
  497. package/lib/components/DataSpreadsheet/DataSpreadsheetBody.js +1 -1
  498. package/lib/components/DataSpreadsheet/DataSpreadsheetHeader.js +1 -1
  499. package/lib/components/DataSpreadsheet/hooks/useMoveActiveCell.js +1 -1
  500. package/lib/components/DataSpreadsheet/hooks/useMultipleKeyTracking.js +1 -1
  501. package/lib/components/DataSpreadsheet/hooks/useResetSpreadsheetFocus.js +1 -1
  502. package/lib/components/DataSpreadsheet/hooks/useSpreadsheetEdit.js +1 -1
  503. package/lib/components/DataSpreadsheet/hooks/useSpreadsheetMouseMove.js +1 -1
  504. package/lib/components/DataSpreadsheet/hooks/useSpreadsheetMouseUp.js +1 -1
  505. package/lib/components/DataSpreadsheet/hooks/useSpreadsheetOutsideClick.js +1 -1
  506. package/lib/components/DataSpreadsheet/utils/checkActiveHeaderCell.js +1 -1
  507. package/lib/components/DataSpreadsheet/utils/checkForHoldingKey.js +1 -1
  508. package/lib/components/DataSpreadsheet/utils/checkSelectedHeaderCell.js +1 -1
  509. package/lib/components/DataSpreadsheet/utils/commonEventHandlers.js +1 -1
  510. package/lib/components/DataSpreadsheet/utils/createActiveCellFn.js +1 -1
  511. package/lib/components/DataSpreadsheet/utils/createCellSelectionArea.js +1 -1
  512. package/lib/components/DataSpreadsheet/utils/getCellSize.js +1 -1
  513. package/lib/components/DataSpreadsheet/utils/getSelectionAreaPoints.js +1 -1
  514. package/lib/components/DataSpreadsheet/utils/getSpreadsheetWidth.js +1 -1
  515. package/lib/components/DataSpreadsheet/utils/handleActiveCellInSelectionEnter.js +1 -1
  516. package/lib/components/DataSpreadsheet/utils/handleActiveCellInSelectionTab.js +1 -1
  517. package/lib/components/DataSpreadsheet/utils/handleCellDeletion.js +1 -1
  518. package/lib/components/DataSpreadsheet/utils/handleEditSubmit.js +1 -1
  519. package/lib/components/DataSpreadsheet/utils/handleHeaderCellSelection.js +1 -1
  520. package/lib/components/DataSpreadsheet/utils/handleMultipleKeys.js +1 -1
  521. package/lib/components/DataSpreadsheet/utils/moveColumnIndicatorLine.js +1 -1
  522. package/lib/components/DataSpreadsheet/utils/removeCellSelections.js +1 -1
  523. package/lib/components/DataSpreadsheet/utils/selectAllCells.js +1 -1
  524. package/lib/components/Datagrid/Datagrid/Datagrid.js +1 -1
  525. package/lib/components/Datagrid/Datagrid/DatagridBody.js +1 -1
  526. package/lib/components/Datagrid/Datagrid/DatagridContent.js +1 -1
  527. package/lib/components/Datagrid/Datagrid/DatagridEmptyBody.js +1 -1
  528. package/lib/components/Datagrid/Datagrid/DatagridExpandedRow.js +1 -1
  529. package/lib/components/Datagrid/Datagrid/DatagridHead.js +1 -1
  530. package/lib/components/Datagrid/Datagrid/DatagridHeaderRow.js +1 -1
  531. package/lib/components/Datagrid/Datagrid/DatagridRefBody.js +1 -1
  532. package/lib/components/Datagrid/Datagrid/DatagridRow.js +1 -1
  533. package/lib/components/Datagrid/Datagrid/DatagridSelectAll.js +31 -2
  534. package/lib/components/Datagrid/Datagrid/DatagridSelectAllWithToggle.js +1 -1
  535. package/lib/components/Datagrid/Datagrid/DatagridSimpleBody.js +1 -1
  536. package/lib/components/Datagrid/Datagrid/DatagridToolbar.js +1 -1
  537. package/lib/components/Datagrid/Datagrid/DatagridVirtualBody.js +1 -1
  538. package/lib/components/Datagrid/Datagrid/DraggableElement.js +1 -1
  539. package/lib/components/Datagrid/Datagrid/addons/AiLabel/DatagridAiLabel.js +1 -1
  540. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Actions.js +1 -1
  541. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.js +1 -1
  542. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +1 -1
  543. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +1 -1
  544. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/DraggableItemsList.js +1 -1
  545. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/TearsheetWrapper.js +1 -1
  546. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/common.js +1 -1
  547. package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +1 -1
  548. package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +1 -1
  549. package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterProvider.js +1 -1
  550. package/lib/components/Datagrid/Datagrid/addons/Filtering/OverflowCheckboxes.js +1 -1
  551. package/lib/components/Datagrid/Datagrid/addons/Filtering/constants.js +1 -1
  552. package/lib/components/Datagrid/Datagrid/addons/Filtering/handleCheckboxChange.js +1 -1
  553. package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilterContext.js +1 -1
  554. package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.js +1 -1
  555. package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useShouldDisableButtons.js +1 -1
  556. package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useSubscribeToEventEmitter.js +1 -1
  557. package/lib/components/Datagrid/Datagrid/addons/Filtering/motion/variants.js +1 -1
  558. package/lib/components/Datagrid/Datagrid/addons/Filtering/utils.js +1 -1
  559. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditButton/InlineEditButton.js +1 -1
  560. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.js +1 -1
  561. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/InlineEditContext.js +1 -1
  562. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/getCellIdAsObject.js +1 -1
  563. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditContext/returnUpdatedActiveCell.js +1 -1
  564. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/handleGridFocus.js +1 -1
  565. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/handleGridKeyPress.js +1 -1
  566. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/handleMultipleKeys.js +1 -1
  567. package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +1 -1
  568. package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeRadioGroup.js +1 -1
  569. package/lib/components/Datagrid/Datagrid/addons/stateReducer.js +1 -1
  570. package/lib/components/Datagrid/common-column-ids.js +1 -1
  571. package/lib/components/Datagrid/useActionsColumn.js +1 -1
  572. package/lib/components/Datagrid/useColumnCenterAlign.js +1 -1
  573. package/lib/components/Datagrid/useColumnOrder.js +1 -1
  574. package/lib/components/Datagrid/useColumnRightAlign.js +1 -1
  575. package/lib/components/Datagrid/useCustomizeColumns.js +1 -1
  576. package/lib/components/Datagrid/useDatagrid.js +1 -1
  577. package/lib/components/Datagrid/useDefaultStringRenderer.js +1 -1
  578. package/lib/components/Datagrid/useDisableSelectRows.js +1 -1
  579. package/lib/components/Datagrid/useEditableCell.js +1 -1
  580. package/lib/components/Datagrid/useExpandedRow.js +1 -1
  581. package/lib/components/Datagrid/useFiltering.js +1 -1
  582. package/lib/components/Datagrid/useFlexResize.js +1 -1
  583. package/lib/components/Datagrid/useFloatingScroll.js +1 -1
  584. package/lib/components/Datagrid/useFocusRowExpander.js +1 -1
  585. package/lib/components/Datagrid/useInfiniteScroll.js +1 -1
  586. package/lib/components/Datagrid/useInitialColumnSort.js +1 -1
  587. package/lib/components/Datagrid/useInlineEdit.js +1 -1
  588. package/lib/components/Datagrid/useNestedRowExpander.js +1 -1
  589. package/lib/components/Datagrid/useNestedRows.js +1 -1
  590. package/lib/components/Datagrid/useOnRowClick.js +1 -1
  591. package/lib/components/Datagrid/useParentDimensions.js +1 -1
  592. package/lib/components/Datagrid/useResizeTable.js +1 -1
  593. package/lib/components/Datagrid/useRowExpander.js +1 -1
  594. package/lib/components/Datagrid/useRowIsMouseOver.js +1 -1
  595. package/lib/components/Datagrid/useRowRenderer.js +1 -1
  596. package/lib/components/Datagrid/useRowSize.js +1 -1
  597. package/lib/components/Datagrid/useSelectAllToggle.js +1 -1
  598. package/lib/components/Datagrid/useSelectRows.js +1 -1
  599. package/lib/components/Datagrid/useSkeletonRows.js +1 -1
  600. package/lib/components/Datagrid/useSortableColumns.js +1 -1
  601. package/lib/components/Datagrid/useStickyColumn.js +1 -1
  602. package/lib/components/Datagrid/utils/getAutoSizedColumnWidth.js +1 -1
  603. package/lib/components/Decorator/Decorator.js +1 -1
  604. package/lib/components/DecoratorBase/DecoratorBase.js +1 -1
  605. package/lib/components/DecoratorBase/DecoratorIcon.js +1 -1
  606. package/lib/components/DecoratorBase/utils.js +1 -1
  607. package/lib/components/DecoratorDualButton/DecoratorDualButton.js +1 -1
  608. package/lib/components/DecoratorLink/DecoratorLink.js +1 -1
  609. package/lib/components/DecoratorSingleButton/DecoratorSingleButton.js +1 -1
  610. package/lib/components/DelimitedList/DelimitedList.js +1 -1
  611. package/lib/components/DescriptionList/DescriptionList.js +1 -1
  612. package/lib/components/DescriptionList/DescriptionListBody.js +1 -1
  613. package/lib/components/DescriptionList/DescriptionListCell.js +1 -1
  614. package/lib/components/DescriptionList/DescriptionListRow.js +1 -1
  615. package/lib/components/DescriptionList/constants.js +1 -1
  616. package/lib/components/EditFullPage/EditFullPage.js +1 -1
  617. package/lib/components/EditInPlace/EditInPlace.js +1 -1
  618. package/lib/components/EditSidePanel/EditSidePanel.js +1 -1
  619. package/lib/components/EditTearsheet/EditTearsheet.js +1 -1
  620. package/lib/components/EditTearsheet/EditTearsheetForm.js +1 -1
  621. package/lib/components/EditTearsheetNarrow/EditTearsheetNarrow.js +1 -1
  622. package/lib/components/EditUpdateCards/EditUpdateCards.js +1 -1
  623. package/lib/components/EmptyStates/EmptyState.js +1 -1
  624. package/lib/components/EmptyStates/EmptyStateContent.js +1 -1
  625. package/lib/components/EmptyStates/EmptyStateIllustration.js +1 -1
  626. package/lib/components/EmptyStates/EmptyStateV2.js +1 -1
  627. package/lib/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +1 -1
  628. package/lib/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +1 -1
  629. package/lib/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +1 -1
  630. package/lib/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +1 -1
  631. package/lib/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +1 -1
  632. package/lib/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +1 -1
  633. package/lib/components/EmptyStates/assets/ErrorIllustration.js +1 -1
  634. package/lib/components/EmptyStates/assets/NoDataIllustration.js +1 -1
  635. package/lib/components/EmptyStates/assets/NoTagsIllustration.js +1 -1
  636. package/lib/components/EmptyStates/assets/NotFoundIllustration.js +1 -1
  637. package/lib/components/EmptyStates/assets/NotificationsIllustration.js +1 -1
  638. package/lib/components/EmptyStates/assets/UnauthorizedIllustration.js +1 -1
  639. package/lib/components/ExportModal/ExportModal.js +1 -1
  640. package/lib/components/ExpressiveCard/ExpressiveCard.js +1 -1
  641. package/lib/components/FeatureFlags/index.js +1 -1
  642. package/lib/components/FilterPanel/FilterPanel.js +1 -1
  643. package/lib/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.js +1 -1
  644. package/lib/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.js +1 -1
  645. package/lib/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.js +1 -1
  646. package/lib/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.js +1 -1
  647. package/lib/components/FilterPanel/FilterPanelGroup/FilterPanelGroup.js +1 -1
  648. package/lib/components/FilterPanel/FilterPanelLabel/FilterPanelLabel.js +1 -1
  649. package/lib/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.js +1 -1
  650. package/lib/components/FilterSummary/FilterSummary.js +2 -2
  651. package/lib/components/FullPageError/FullPageError.js +1 -1
  652. package/lib/components/FullPageError/assets/Error403SVG.js +1 -1
  653. package/lib/components/FullPageError/assets/Error404SVG.js +1 -1
  654. package/lib/components/FullPageError/assets/ErrorGenericSVG.js +1 -1
  655. package/lib/components/GetStartedCard/GetStartedCard.js +1 -1
  656. package/lib/components/Guidebanner/Guidebanner.js +1 -1
  657. package/lib/components/Guidebanner/GuidebannerElement.js +1 -1
  658. package/lib/components/Guidebanner/GuidebannerElementButton.js +1 -1
  659. package/lib/components/Guidebanner/GuidebannerElementLink.js +1 -1
  660. package/lib/components/HTTPErrors/HTTPError403/HTTPError403.js +2 -2
  661. package/lib/components/HTTPErrors/HTTPError404/HTTPError404.js +2 -2
  662. package/lib/components/HTTPErrors/HTTPErrorContent.js +1 -1
  663. package/lib/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.js +2 -2
  664. package/lib/components/HTTPErrors/assets/HTTPErrorSvg403.js +1 -1
  665. package/lib/components/HTTPErrors/assets/HTTPErrorSvg404.js +1 -1
  666. package/lib/components/HTTPErrors/assets/HTTPErrorSvgOther.js +1 -1
  667. package/lib/components/ImportModal/ImportModal.js +1 -1
  668. package/lib/components/InlineTip/InlineTip.js +1 -1
  669. package/lib/components/InlineTip/InlineTipButton.js +1 -1
  670. package/lib/components/InlineTip/InlineTipLink.js +1 -1
  671. package/lib/components/InlineTip/utils.js +1 -1
  672. package/lib/components/InterstitialScreen/InterstitialScreen.js +3 -4
  673. package/lib/components/InterstitialScreenView/InterstitialScreenView.js +1 -1
  674. package/lib/components/InterstitialScreenViewModule/InterstitialScreenViewModule.js +1 -1
  675. package/lib/components/MultiAddSelect/MultiAddSelect.js +1 -1
  676. package/lib/components/Nav/Nav.js +1 -1
  677. package/lib/components/Nav/NavItem.js +1 -1
  678. package/lib/components/Nav/NavItemLink.js +1 -1
  679. package/lib/components/Nav/NavList.js +1 -1
  680. package/lib/components/NonLinearReading/NonLinearReading.js +1 -1
  681. package/lib/components/NotificationsPanel/NotificationsPanel.js +1 -1
  682. package/lib/components/NotificationsPanel/utils.js +1 -1
  683. package/lib/components/OptionsTile/OptionsTile.js +1 -1
  684. package/lib/components/PageHeader/PageHeader.js +13 -3
  685. package/lib/components/PageHeader/PageHeaderTitle.js +9 -28
  686. package/lib/components/PageHeader/PageHeaderUtils.js +1 -1
  687. package/lib/components/ProductiveCard/ProductiveCard.d.ts +6 -2
  688. package/lib/components/ProductiveCard/ProductiveCard.js +8 -6
  689. package/lib/components/RemoveModal/RemoveModal.js +1 -1
  690. package/lib/components/Saving/Saving.js +1 -1
  691. package/lib/components/ScrollGradient/ScrollGradient.js +1 -1
  692. package/lib/components/ScrollGradient/constants.js +1 -1
  693. package/lib/components/SearchBar/SearchBar.js +1 -1
  694. package/lib/components/SidePanel/SidePanel.d.ts +6 -1
  695. package/lib/components/SidePanel/SidePanel.js +42 -27
  696. package/lib/components/SidePanel/constants.js +1 -1
  697. package/lib/components/SidePanel/motion/variants.js +1 -1
  698. package/lib/components/SimpleHeader/SimpleHeader.js +1 -1
  699. package/lib/components/SingleAddSelect/SingleAddSelect.js +1 -1
  700. package/lib/components/StatusIcon/StatusIcon.js +1 -1
  701. package/lib/components/StatusIndicator/StatusIndicator.js +1 -1
  702. package/lib/components/StatusIndicator/StatusIndicatorStep.js +1 -1
  703. package/lib/components/SteppedAnimatedMedia/SteppedAnimatedMedia.js +1 -1
  704. package/lib/components/StringFormatter/StringFormatter.js +1 -1
  705. package/lib/components/StringFormatter/utils/enums.js +1 -1
  706. package/lib/components/TagOverflow/TagOverflow.js +2 -5
  707. package/lib/components/TagOverflow/TagOverflowModal.js +1 -1
  708. package/lib/components/TagOverflow/TagOverflowPopover.js +1 -1
  709. package/lib/components/TagOverflow/constants.js +1 -1
  710. package/lib/components/TagSet/TagSet.js +1 -1
  711. package/lib/components/TagSet/TagSetModal.js +1 -1
  712. package/lib/components/TagSet/TagSetOverflow.js +1 -1
  713. package/lib/components/Tearsheet/Tearsheet.js +1 -1
  714. package/lib/components/Tearsheet/TearsheetNarrow.js +1 -1
  715. package/lib/components/Tearsheet/TearsheetShell.d.ts +4 -0
  716. package/lib/components/Tearsheet/TearsheetShell.js +6 -38
  717. package/lib/components/Toolbar/Toolbar.js +1 -1
  718. package/lib/components/Toolbar/ToolbarButton.js +1 -1
  719. package/lib/components/Toolbar/ToolbarGroup.js +1 -1
  720. package/lib/components/TooltipTrigger/TooltipTrigger.js +1 -1
  721. package/lib/components/TruncatedList/TruncatedList.js +1 -1
  722. package/lib/components/UserAvatar/UserAvatar.js +1 -1
  723. package/lib/components/UserProfileImage/UserProfileImage.js +1 -1
  724. package/lib/components/WebTerminal/WebTerminal.js +1 -1
  725. package/lib/components/WebTerminal/WebTerminalContentWrapper.js +1 -1
  726. package/lib/components/WebTerminal/hooks/index.js +1 -1
  727. package/lib/components/_Canary/Canary.js +1 -1
  728. package/lib/feature-flags.js +1 -1
  729. package/lib/global/js/hooks/useActiveElement.js +1 -1
  730. package/lib/global/js/hooks/useClickOutside.js +1 -1
  731. package/lib/global/js/hooks/useControllableState.js +1 -1
  732. package/lib/global/js/hooks/useCreateComponentFocus.js +1 -1
  733. package/lib/global/js/hooks/useCreateComponentStepChange.js +1 -1
  734. package/lib/global/js/hooks/useFocus.d.ts +1 -1
  735. package/lib/global/js/hooks/useFocus.js +8 -5
  736. package/lib/global/js/hooks/useIsomorphicEffect.js +1 -1
  737. package/lib/global/js/hooks/usePortalTarget.js +1 -1
  738. package/lib/global/js/hooks/usePrefersReducedMotion.js +1 -1
  739. package/lib/global/js/hooks/usePrefix.js +1 -1
  740. package/lib/global/js/hooks/usePreviousValue.js +1 -1
  741. package/lib/global/js/hooks/useResetCreateComponent.js +1 -1
  742. package/lib/global/js/hooks/useResizeObserver.js +1 -1
  743. package/lib/global/js/hooks/useRetrieveFormTitles.js +1 -1
  744. package/lib/global/js/hooks/useRetrieveStepData.js +1 -1
  745. package/lib/global/js/hooks/useValidCreateStepCount.js +1 -1
  746. package/lib/global/js/hooks/useWindowResize.js +1 -1
  747. package/lib/global/js/hooks/useWindowScroll.js +1 -1
  748. package/lib/global/js/package-settings.js +1 -1
  749. package/lib/global/js/utils/Wrap.js +1 -1
  750. package/lib/global/js/utils/checkForOverflow.d.ts +5 -0
  751. package/lib/global/js/utils/checkForOverflow.js +34 -0
  752. package/lib/global/js/utils/deepCloneObject.js +1 -1
  753. package/lib/global/js/utils/devtools.js +1 -1
  754. package/lib/global/js/utils/getBezierValues.js +1 -1
  755. package/lib/global/js/utils/getFocusableElements.js +1 -1
  756. package/lib/global/js/utils/getNodeTextContent.js +1 -1
  757. package/lib/global/js/utils/getNumberOfHiddenSteps.js +1 -1
  758. package/lib/global/js/utils/getScrollbarWidth.js +1 -1
  759. package/lib/global/js/utils/keyboardNavigation.js +1 -1
  760. package/lib/global/js/utils/lastIndexInArray.js +1 -1
  761. package/lib/global/js/utils/motionConstants.js +1 -1
  762. package/lib/global/js/utils/pconsole.js +1 -1
  763. package/lib/global/js/utils/props-helper.js +1 -1
  764. package/lib/global/js/utils/rangeWithCallback.js +1 -1
  765. package/lib/global/js/utils/scrollableAncestor.js +1 -1
  766. package/lib/global/js/utils/useId.js +1 -1
  767. package/lib/global/js/utils/uuidv4.js +1 -1
  768. package/lib/global/js/utils/wait.js +1 -1
  769. package/lib/global/js/utils/wrapFocus.js +1 -1
  770. package/lib/index.js +1 -1
  771. package/lib/node_modules/@carbon/colors/es/index.js +1 -1
  772. package/lib/node_modules/@carbon/icon-helpers/es/index.js +1 -1
  773. package/lib/node_modules/@carbon/icons-react/es/Icon.js +1 -1
  774. package/lib/node_modules/@carbon/icons-react/es/generated/bucket-3.js +1 -1
  775. package/lib/node_modules/@carbon/icons-react/es/generated/bucket-9.js +1 -1
  776. package/lib/node_modules/@carbon/icons-react/es/iconPropTypes-4cbeb95d.js +1 -1
  777. package/lib/node_modules/object-assign/index.js +1 -1
  778. package/lib/node_modules/prop-types/checkPropTypes.js +1 -1
  779. package/lib/node_modules/prop-types/factoryWithThrowingShims.js +1 -1
  780. package/lib/node_modules/prop-types/factoryWithTypeCheckers.js +1 -1
  781. package/lib/node_modules/prop-types/index.js +1 -1
  782. package/lib/node_modules/prop-types/lib/ReactPropTypesSecret.js +1 -1
  783. package/lib/node_modules/prop-types/lib/has.js +1 -1
  784. package/lib/settings.js +1 -1
  785. package/package.json +8 -8
  786. package/scss/components/APIKeyModal/_api-key-modal.scss +4 -0
  787. package/scss/components/PageHeader/_page-header.scss +18 -6
  788. package/scss/components/SidePanel/_side-panel.scss +13 -6
  789. package/telemetry.yml +4 -0
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2020, 2024
2
+ * Copyright IBM Corp. 2020, 2025
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -26,7 +26,7 @@ var usePrefersReducedMotion = require('../../global/js/hooks/usePrefersReducedMo
26
26
  var useFocus = require('../../global/js/hooks/useFocus.js');
27
27
  var usePreviousValue = require('../../global/js/hooks/usePreviousValue.js');
28
28
 
29
- 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"],
29
+ var _excluded = ["actionToolbarButtons", "actions", "aiLabel", "animateTitle", "children", "className", "closeIconDescription", "condensedActions", "currentStep", "decorator", "id", "includeOverlay", "labelText", "navigationBackIconDescription", "onNavigationBack", "onRequestClose", "onUnmount", "open", "placement", "preventCloseOnClickOutside", "selectorPageContent", "selectorPrimaryFocus", "size", "slideIn", "slug", "subtitle", "title", "launcherButtonRef"],
30
30
  _excluded2 = ["label", "kind", "hasIconOnly", "icon", "renderIcon", "tooltipPosition", "tooltipAlignment", "leading", "disabled", "className", "onClick"];
31
31
  var blockClass = "".concat(settings.pkg.prefix, "--side-panel");
32
32
  var componentName = 'SidePanel';
@@ -59,6 +59,7 @@ exports.SidePanel = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
59
59
  condensedActions = _ref.condensedActions,
60
60
  _ref$currentStep = _ref.currentStep,
61
61
  currentStep = _ref$currentStep === void 0 ? defaults.currentStep : _ref$currentStep,
62
+ decorator = _ref.decorator,
62
63
  _ref$id = _ref.id,
63
64
  id = _ref$id === void 0 ? blockClass : _ref$id,
64
65
  includeOverlay = _ref.includeOverlay,
@@ -268,7 +269,7 @@ exports.SidePanel = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
268
269
  if (!open) {
269
270
  onUnmount === null || onUnmount === void 0 || onUnmount();
270
271
  }
271
- setAnimationComplete(true);
272
+ setAnimationComplete(!animationComplete);
272
273
  };
273
274
 
274
275
  // Set the internal state `animationComplete` to true if
@@ -322,22 +323,24 @@ exports.SidePanel = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
322
323
  }
323
324
  }, [slideIn, selectorPageContent, placement, size, shouldReduceMotion, open]);
324
325
  React.useEffect(function () {
325
- if (open) {
326
- setTimeout(function () {
327
- if (selectorPrimaryFocus && useFocus.getSpecificElement(sidePanelRef === null || sidePanelRef === void 0 ? void 0 : sidePanelRef.current, selectorPrimaryFocus)) {
328
- var _window2;
329
- var primeFocusEl = useFocus.getSpecificElement(sidePanelRef === null || sidePanelRef === void 0 ? void 0 : sidePanelRef.current, selectorPrimaryFocus);
330
- if (primeFocusEl && ((_window2 = window) === null || _window2 === void 0 || (_window2 = _window2.getComputedStyle(primeFocusEl)) === null || _window2 === void 0 ? void 0 : _window2.display) !== 'none') {
331
- primeFocusEl === null || primeFocusEl === void 0 || primeFocusEl.focus();
332
- }
333
- } else if (!slideIn) {
334
- firstElement === null || firstElement === void 0 || firstElement.focus();
326
+ if (open && animationComplete) {
327
+ if (selectorPrimaryFocus && useFocus.getSpecificElement(sidePanelRef === null || sidePanelRef === void 0 ? void 0 : sidePanelRef.current, selectorPrimaryFocus)) {
328
+ var _window2;
329
+ var primeFocusEl = useFocus.getSpecificElement(sidePanelRef === null || sidePanelRef === void 0 ? void 0 : sidePanelRef.current, selectorPrimaryFocus);
330
+ if (primeFocusEl && ((_window2 = window) === null || _window2 === void 0 || (_window2 = _window2.getComputedStyle(primeFocusEl)) === null || _window2 === void 0 ? void 0 : _window2.display) !== 'none') {
331
+ setTimeout(function () {
332
+ return primeFocusEl === null || primeFocusEl === void 0 ? void 0 : primeFocusEl.focus();
333
+ }, 0);
335
334
  }
336
- }, 0);
335
+ } else if (!slideIn) {
336
+ setTimeout(function () {
337
+ return firstElement === null || firstElement === void 0 ? void 0 : firstElement.focus();
338
+ }, 0);
339
+ }
337
340
  }
338
341
  }, [animationComplete, firstElement, open, selectorPrimaryFocus, sidePanelRef, slideIn]);
339
342
  var primaryActionContainerClassNames = cx(["".concat(blockClass, "__actions-container"), _rollupPluginBabelHelpers.defineProperty({}, "".concat(blockClass, "__actions-container--condensed"), condensedActions)]);
340
- var mainPanelClassNames = cx([blockClass, className, "".concat(blockClass), "".concat(blockClass, "--").concat(size), _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.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)]);
343
+ var mainPanelClassNames = cx([blockClass, className, "".concat(blockClass), "".concat(blockClass, "--").concat(size), _rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty(_rollupPluginBabelHelpers.defineProperty({}, "".concat(blockClass, "--right-placement"), placement === 'right'), "".concat(blockClass, "--left-placement"), placement === 'left'), "".concat(blockClass, "--slide-in"), slideIn), "".concat(blockClass, "--has-decorator"), decorator), "".concat(blockClass, "--has-slug"), slug), "".concat(blockClass, "--has-ai-label"), aiLabel), "".concat(blockClass, "--condensed-actions"), condensedActions), "".concat(blockClass, "--has-overlay"), includeOverlay)]);
341
344
  var renderTitle = function renderTitle() {
342
345
  return /*#__PURE__*/React.createElement("div", {
343
346
  className: cx("".concat(blockClass, "__title"), _rollupPluginBabelHelpers.defineProperty({}, "".concat(blockClass, "__title--no-label"), !labelTextRef.current)),
@@ -353,23 +356,29 @@ exports.SidePanel = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
353
356
  }, title));
354
357
  };
355
358
  var renderHeader = function renderHeader() {
356
- var _slug$type, _aiLabel$type;
357
- var aiLabelCloseSize = actions && actions.length && /l/.test(size) ? 'md' : 'sm';
358
- var normalizedAILabel;
359
+ var _slug$type, _aiLabel$type, _decorator$type;
360
+ var closeSize = actions && actions.length && /l/.test(size) ? 'md' : 'sm';
361
+ var normalizedDecorator;
359
362
  /**
360
363
  * slug is deprecated
361
364
  * can remove this condition in future release
362
365
  */
363
- if (slug && ((_slug$type = slug['type']) === null || _slug$type === void 0 ? void 0 : _slug$type.displayName) === 'Slug') {
364
- normalizedAILabel = /*#__PURE__*/React.cloneElement(slug, {
366
+ if (slug && ((_slug$type = slug['type']) === null || _slug$type === void 0 ? void 0 : _slug$type.displayName) === 'AILabel') {
367
+ normalizedDecorator = /*#__PURE__*/React.cloneElement(slug, {
365
368
  // slug size is sm unless actions and size > md
366
- size: aiLabelCloseSize
369
+ size: closeSize
367
370
  });
368
371
  }
369
372
  if (aiLabel && ((_aiLabel$type = aiLabel['type']) === null || _aiLabel$type === void 0 ? void 0 : _aiLabel$type.displayName) === 'AILabel') {
370
- normalizedAILabel = /*#__PURE__*/React.cloneElement(aiLabel, {
373
+ normalizedDecorator = /*#__PURE__*/React.cloneElement(aiLabel, {
371
374
  // aiLabel size is sm unless actions and size > md
372
- size: aiLabelCloseSize
375
+ size: closeSize
376
+ });
377
+ }
378
+ if ((decorator === null || decorator === void 0 || (_decorator$type = decorator['type']) === null || _decorator$type === void 0 ? void 0 : _decorator$type.displayName) === 'AILabel') {
379
+ normalizedDecorator = /*#__PURE__*/React.cloneElement(decorator, {
380
+ // decorator size is sm unless actions and size > md
381
+ size: closeSize
373
382
  });
374
383
  }
375
384
  return /*#__PURE__*/React.createElement("div", {
@@ -377,7 +386,7 @@ exports.SidePanel = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
377
386
  ref: headerRef
378
387
  }, currentStep > 0 && /*#__PURE__*/React.createElement(react.Button, {
379
388
  kind: "ghost",
380
- size: aiLabelCloseSize,
389
+ size: closeSize,
381
390
  disabled: false,
382
391
  renderIcon: function renderIcon(props) {
383
392
  return /*#__PURE__*/React.createElement(icons.ArrowLeft, _rollupPluginBabelHelpers.extends({
@@ -391,8 +400,8 @@ exports.SidePanel = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
391
400
  className: "".concat(blockClass, "__label-text"),
392
401
  ref: labelTextRef
393
402
  }, labelText), title && title.length && renderTitle(), /*#__PURE__*/React.createElement("div", {
394
- className: "".concat(blockClass, "__ai-label-and-close")
395
- }, normalizedAILabel, /*#__PURE__*/React.createElement(react.IconButton, {
403
+ className: "".concat(blockClass, "__decorator-and-close")
404
+ }, normalizedDecorator, /*#__PURE__*/React.createElement(react.IconButton, {
396
405
  className: "".concat(blockClass, "__close-button"),
397
406
  label: closeIconDescription,
398
407
  onClick: onRequestClose,
@@ -495,7 +504,13 @@ var deprecatedProps = {
495
504
  * **deprecated**
496
505
  * **Experimental:** Provide a `Slug` component to be rendered inside the `SidePanel` component
497
506
  */
498
- slug: index.default.node
507
+ slug: index.default.node,
508
+ /**
509
+ * **deprecated**
510
+ * Please use the `decorator` instead
511
+ * 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.
512
+ */
513
+ aiLabel: index.default.node
499
514
  };
500
515
  exports.SidePanel.propTypes = _rollupPluginBabelHelpers.objectSpread2({
501
516
  /**
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2020, 2024
2
+ * Copyright IBM Corp. 2020, 2025
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2020, 2024
2
+ * Copyright IBM Corp. 2020, 2025
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2020, 2024
2
+ * Copyright IBM Corp. 2020, 2025
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2020, 2024
2
+ * Copyright IBM Corp. 2020, 2025
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2020, 2024
2
+ * Copyright IBM Corp. 2020, 2025
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2020, 2024
2
+ * Copyright IBM Corp. 2020, 2025
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2020, 2024
2
+ * Copyright IBM Corp. 2020, 2025
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2020, 2024
2
+ * Copyright IBM Corp. 2020, 2025
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2020, 2024
2
+ * Copyright IBM Corp. 2020, 2025
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2020, 2024
2
+ * Copyright IBM Corp. 2020, 2025
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2020, 2024
2
+ * Copyright IBM Corp. 2020, 2025
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -191,9 +191,6 @@ exports.TagOverflow = /*#__PURE__*/React.forwardRef(function (props, ref) {
191
191
  return itemRefHandler(id, node);
192
192
  },
193
193
  key: id
194
- }, /*#__PURE__*/React.createElement(react.Tooltip, {
195
- align: overflowAlign,
196
- label: label
197
194
  }, typeof _onClose === 'function' || filter ? /*#__PURE__*/React.createElement(react.DismissibleTag, _rollupPluginBabelHelpers.extends({}, other, {
198
195
  className: "".concat(blockClass, "__item--tag"),
199
196
  type: tagType,
@@ -204,7 +201,7 @@ exports.TagOverflow = /*#__PURE__*/React.forwardRef(function (props, ref) {
204
201
  })) : /*#__PURE__*/React.createElement(react.Tag, _rollupPluginBabelHelpers.extends({}, other, {
205
202
  className: "".concat(blockClass, "__item--tag"),
206
203
  type: tagType
207
- }), label)));
204
+ }), label));
208
205
  }
209
206
  }), /*#__PURE__*/React.createElement("span", {
210
207
  className: "".concat(blockClass, "__indicator"),
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2020, 2024
2
+ * Copyright IBM Corp. 2020, 2025
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2020, 2024
2
+ * Copyright IBM Corp. 2020, 2025
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2020, 2024
2
+ * Copyright IBM Corp. 2020, 2025
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2020, 2024
2
+ * Copyright IBM Corp. 2020, 2025
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2020, 2024
2
+ * Copyright IBM Corp. 2020, 2025
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2020, 2024
2
+ * Copyright IBM Corp. 2020, 2025
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2020, 2024
2
+ * Copyright IBM Corp. 2020, 2025
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2020, 2024
2
+ * Copyright IBM Corp. 2020, 2025
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -19,6 +19,10 @@ interface TearsheetShellProps extends PropsWithChildren {
19
19
  * An optional class or classes to be added to the outermost element.
20
20
  */
21
21
  className?: string;
22
+ /**
23
+ * Used to track the current step on components which use `StepsContext` and `TearsheetShell`
24
+ */
25
+ currentStep?: number;
22
26
  /**
23
27
  * A description of the flow, displayed in the header area of the tearsheet.
24
28
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2020, 2024
2
+ * Copyright IBM Corp. 2020, 2025
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -23,7 +23,7 @@ var usePortalTarget = require('../../global/js/hooks/usePortalTarget.js');
23
23
  var useFocus = require('../../global/js/hooks/useFocus.js');
24
24
  var usePreviousValue = require('../../global/js/hooks/usePreviousValue.js');
25
25
 
26
- var _excluded = ["actions", "aiLabel", "ariaLabel", "children", "className", "closeIconDescription", "description", "hasCloseIcon", "headerActions", "influencer", "influencerPosition", "influencerWidth", "label", "navigation", "onClose", "open", "portalTarget", "selectorPrimaryFocus", "selectorsFloatingMenus", "size", "slug", "title", "verticalPosition", "launcherButtonRef"];
26
+ var _excluded = ["actions", "aiLabel", "ariaLabel", "children", "className", "closeIconDescription", "currentStep", "description", "hasCloseIcon", "headerActions", "influencer", "influencerPosition", "influencerWidth", "label", "navigation", "onClose", "open", "portalTarget", "selectorPrimaryFocus", "selectorsFloatingMenus", "size", "slug", "title", "verticalPosition", "launcherButtonRef"];
27
27
  // The block part of our conventional BEM class names (bc__E--M).
28
28
  var bc = "".concat(settings.pkg.prefix, "--tearsheet");
29
29
  var componentName = 'TearsheetShell';
@@ -70,6 +70,7 @@ var TearsheetShell = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
70
70
  children = _ref.children,
71
71
  className = _ref.className,
72
72
  closeIconDescription = _ref.closeIconDescription,
73
+ currentStep = _ref.currentStep,
73
74
  description = _ref.description,
74
75
  hasCloseIcon = _ref.hasCloseIcon,
75
76
  headerActions = _ref.headerActions,
@@ -102,8 +103,7 @@ var TearsheetShell = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
102
103
  var prevOpen = usePreviousValue.usePreviousValue(open);
103
104
  var _useFocus = useFocus.useFocus(modalRef, selectorPrimaryFocus),
104
105
  firstElement = _useFocus.firstElement,
105
- keyDownListener = _useFocus.keyDownListener,
106
- specifiedElement = _useFocus.specifiedElement;
106
+ keyDownListener = _useFocus.keyDownListener;
107
107
  var modalRefValue = modalRef.current;
108
108
 
109
109
  // Function to strip html tags out of a string.
@@ -139,23 +139,12 @@ var TearsheetShell = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
139
139
  setDepth(newDepth);
140
140
  setPosition(newPosition);
141
141
  }
142
- handleStackChange.checkFocus = function () {
143
- // if we are now the topmost tearsheet, ensure we have focus
144
- if (open && position === depth && modalRefValue && !modalRefValue.contains(document.activeElement)) {
145
- handleStackChange.claimFocus();
146
- }
147
- };
148
-
149
- // Callback to give the tearsheet the opportunity to claim focus
150
- handleStackChange.claimFocus = function () {
151
- useFocus.claimFocus(firstElement, modalRef, selectorPrimaryFocus);
152
- };
153
142
  React.useEffect(function () {
154
- if (open) {
143
+ if (open && position === depth) {
155
144
  // Focusing the first element or selectorPrimaryFocus element
156
145
  useFocus.claimFocus(firstElement, modalRef, selectorPrimaryFocus);
157
146
  }
158
- }, [firstElement, modalRef, open, selectorPrimaryFocus]);
147
+ }, [currentStep, depth, firstElement, modalRef, modalRefValue, open, position, selectorPrimaryFocus]);
159
148
  React.useEffect(function () {
160
149
  if (prevOpen && !open && launcherButtonRef) {
161
150
  setTimeout(function () {
@@ -163,22 +152,10 @@ var TearsheetShell = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
163
152
  }, 0);
164
153
  }
165
154
  }, [launcherButtonRef, open, prevOpen]);
166
- React.useEffect(function () {
167
- if (open && position !== depth) {
168
- setTimeout(function () {
169
- if (selectorPrimaryFocus) {
170
- return specifiedElement === null || specifiedElement === void 0 ? void 0 : specifiedElement.focus();
171
- }
172
- firstElement === null || firstElement === void 0 || firstElement.focus();
173
- }, 0);
174
- }
175
- }, [position, depth, firstElement, open, specifiedElement, selectorPrimaryFocus]);
176
155
  React.useEffect(function () {
177
156
  var notify = function notify() {
178
157
  return stack.all.forEach(function (handler) {
179
- var _handler$checkFocus;
180
158
  handler(Math.min(stack.open.length, maxDepth), stack.open.indexOf(handler) + 1);
181
- (_handler$checkFocus = handler.checkFocus) === null || _handler$checkFocus === void 0 || _handler$checkFocus.call(handler);
182
159
  });
183
160
  };
184
161
 
@@ -213,14 +190,6 @@ var TearsheetShell = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
213
190
  }
214
191
  };
215
192
  }, [open, size]);
216
- function handleFocus() {
217
- // If something within us is receiving focus but we are not the topmost
218
- // stacked tearsheet, transfer focus to the topmost tearsheet instead
219
- if (position < depth) {
220
- var _stack$open$claimFocu, _stack$open;
221
- (_stack$open$claimFocu = (_stack$open = stack.open[stack.open.length - 1]).claimFocus) === null || _stack$open$claimFocu === void 0 || _stack$open$claimFocu.call(_stack$open);
222
- }
223
- }
224
193
  if (position <= depth) {
225
194
  var _prevDepth$current;
226
195
  // Include a modal header if and only if one or more of these is given.
@@ -252,7 +221,6 @@ var TearsheetShell = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
252
221
  onClose: onClose,
253
222
  open: open,
254
223
  selectorPrimaryFocus: selectorPrimaryFocus,
255
- onFocus: handleFocus,
256
224
  onKeyDown: keyDownListener,
257
225
  preventCloseOnClickOutside: !isPassive,
258
226
  ref: modalRef,
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2020, 2024
2
+ * Copyright IBM Corp. 2020, 2025
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2020, 2024
2
+ * Copyright IBM Corp. 2020, 2025
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2020, 2024
2
+ * Copyright IBM Corp. 2020, 2025
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2020, 2024
2
+ * Copyright IBM Corp. 2020, 2025
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2020, 2024
2
+ * Copyright IBM Corp. 2020, 2025
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2020, 2024
2
+ * Copyright IBM Corp. 2020, 2025
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2020, 2024
2
+ * Copyright IBM Corp. 2020, 2025
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2020, 2024
2
+ * Copyright IBM Corp. 2020, 2025
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2020, 2024
2
+ * Copyright IBM Corp. 2020, 2025
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2020, 2024
2
+ * Copyright IBM Corp. 2020, 2025
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2020, 2024
2
+ * Copyright IBM Corp. 2020, 2025
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2020, 2024
2
+ * Copyright IBM Corp. 2020, 2025
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2020, 2024
2
+ * Copyright IBM Corp. 2020, 2025
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2020, 2024
2
+ * Copyright IBM Corp. 2020, 2025
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2020, 2024
2
+ * Copyright IBM Corp. 2020, 2025
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2020, 2024
2
+ * Copyright IBM Corp. 2020, 2025
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2020, 2024
2
+ * Copyright IBM Corp. 2020, 2025
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -12,4 +12,4 @@ export function useFocus(modalRef: any, selectorPrimaryFocus: any): {
12
12
  specified: any;
13
13
  };
14
14
  };
15
- export function claimFocus(firstElement: any, modalRef: any, selectorPrimaryFocus?: string | undefined): any;
15
+ export function claimFocus(firstElement: any, modalRef: any, selectorPrimaryFocus?: string | undefined): void;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2020, 2024
2
+ * Copyright IBM Corp. 2020, 2025
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -118,12 +118,15 @@ var claimFocus = function claimFocus(firstElement, modalRef) {
118
118
  var _window2;
119
119
  var specifiedEl = getSpecificElement(modalRef === null || modalRef === void 0 ? void 0 : modalRef.current, selectorPrimaryFocus);
120
120
  if (specifiedEl && ((_window2 = window) === null || _window2 === void 0 || (_window2 = _window2.getComputedStyle(specifiedEl)) === null || _window2 === void 0 ? void 0 : _window2.display) !== 'none') {
121
- return specifiedEl.focus();
121
+ setTimeout(function () {
122
+ return specifiedEl.focus();
123
+ }, 0);
122
124
  }
125
+ } else {
126
+ setTimeout(function () {
127
+ return firstElement === null || firstElement === void 0 ? void 0 : firstElement.focus();
128
+ }, 0);
123
129
  }
124
- setTimeout(function () {
125
- return firstElement === null || firstElement === void 0 ? void 0 : firstElement.focus();
126
- }, 0);
127
130
  };
128
131
 
129
132
  exports.claimFocus = claimFocus;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2020, 2024
2
+ * Copyright IBM Corp. 2020, 2025
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2020, 2024
2
+ * Copyright IBM Corp. 2020, 2025
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2020, 2024
2
+ * Copyright IBM Corp. 2020, 2025
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.