@carbon/ibm-products 2.54.0-canary.7 → 2.54.0-canary.71

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 (355) hide show
  1. package/css/index-full-carbon.css +1352 -681
  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 +974 -59
  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 +597 -557
  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 +678 -562
  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/_rollupPluginBabelHelpers.js +1 -1
  18. package/es/components/APIKeyModal/APIKeyDownloader.d.ts +1 -1
  19. package/es/components/APIKeyModal/APIKeyDownloader.js +1 -1
  20. package/es/components/APIKeyModal/APIKeyModal.d.ts +13 -0
  21. package/es/components/APIKeyModal/APIKeyModal.js +85 -38
  22. package/es/components/APIKeyModal/APIKeyModal.types.d.ts +21 -3
  23. package/es/components/AboutModal/AboutModal.js +3 -6
  24. package/es/components/AddSelect/hooks/useFocus.js +1 -2
  25. package/es/components/AddSelect/hooks/useParentSelect.js +1 -2
  26. package/es/components/AddSelect/hooks/usePath.js +1 -2
  27. package/es/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +18 -9
  28. package/es/components/Card/Card.d.ts +3 -3
  29. package/es/components/Card/Card.js +12 -12
  30. package/es/components/Card/CardHeader.d.ts +7 -7
  31. package/es/components/Card/CardHeader.js +14 -12
  32. package/es/components/Checklist/Checklist.js +1 -1
  33. package/es/components/Checklist/ChecklistIcon.js +1 -1
  34. package/es/components/Coachmark/Coachmark.d.ts +5 -0
  35. package/es/components/Coachmark/Coachmark.js +11 -3
  36. package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.d.ts +5 -0
  37. package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +19 -5
  38. package/es/components/CoachmarkStack/CoachmarkStackHome.d.ts +4 -0
  39. package/es/components/CoachmarkStack/CoachmarkStackHome.js +18 -6
  40. package/es/components/ConditionBuilder/ConditionBuilderConnector/GroupConnector.js +1 -2
  41. package/es/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.js +9 -5
  42. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.js +1 -5
  43. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOptionForValueField.js +5 -5
  44. package/es/components/ConditionBuilder/utils/util.js +0 -4
  45. package/es/components/CreateTearsheet/CreateTearsheet.d.ts +1 -1
  46. package/es/components/CreateTearsheet/CreateTearsheet.js +4 -3
  47. package/es/components/CreateTearsheet/CreateTearsheetStep.js +6 -3
  48. package/es/components/Datagrid/Datagrid/Datagrid.d.ts +1 -0
  49. package/es/components/Datagrid/Datagrid/Datagrid.js +7 -0
  50. package/es/components/Datagrid/Datagrid/DatagridHeaderRow.js +2 -2
  51. package/es/components/Datagrid/Datagrid/DatagridSelectAll.js +31 -2
  52. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Actions.js +1 -2
  53. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.js +1 -2
  54. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +1 -2
  55. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +1 -2
  56. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/TearsheetWrapper.js +1 -2
  57. package/es/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +2 -3
  58. package/es/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +2 -3
  59. package/es/components/Datagrid/Datagrid/addons/Filtering/OverflowCheckboxes.js +1 -2
  60. package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilterContext.js +1 -2
  61. package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.js +1 -2
  62. package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useShouldDisableButtons.js +1 -2
  63. package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useSubscribeToEventEmitter.js +1 -2
  64. package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +1 -2
  65. package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeRadioGroup.js +1 -2
  66. package/es/components/Datagrid/Datagrid/addons/stateReducer.js +1 -1
  67. package/es/components/Datagrid/useCustomizeColumns.js +4 -4
  68. package/es/components/Datagrid/useDatagrid.js +2 -2
  69. package/es/components/Datagrid/useDefaultStringRenderer.js +1 -2
  70. package/es/components/Datagrid/useEditableCell.js +1 -2
  71. package/es/components/Datagrid/useFlexResize.js +1 -2
  72. package/es/components/Datagrid/useFloatingScroll.js +1 -2
  73. package/es/components/Datagrid/useNestedRowExpander.js +1 -2
  74. package/es/components/Datagrid/useParentDimensions.js +1 -2
  75. package/es/components/Datagrid/useResizeTable.js +1 -2
  76. package/es/components/Datagrid/useRowExpander.js +1 -2
  77. package/es/components/Datagrid/useRowRenderer.js +1 -2
  78. package/es/components/Datagrid/useRowSize.js +1 -2
  79. package/es/components/Datagrid/useSkeletonRows.js +1 -2
  80. package/es/components/DecoratorDualButton/DecoratorDualButton.d.ts +1 -0
  81. package/es/components/DecoratorDualButton/DecoratorDualButton.js +5 -0
  82. package/es/components/DecoratorLink/DecoratorLink.d.ts +1 -0
  83. package/es/components/DecoratorLink/DecoratorLink.js +5 -0
  84. package/es/components/DecoratorSingleButton/DecoratorSingleButton.d.ts +1 -0
  85. package/es/components/DecoratorSingleButton/DecoratorSingleButton.js +5 -0
  86. package/es/components/DescriptionList/DescriptionList.d.ts +1 -0
  87. package/es/components/DescriptionList/DescriptionList.js +5 -0
  88. package/es/components/EditFullPage/EditFullPage.d.ts +2 -0
  89. package/es/components/EditFullPage/EditFullPage.js +8 -0
  90. package/es/components/EditSidePanel/EditSidePanel.d.ts +2 -0
  91. package/es/components/EditSidePanel/EditSidePanel.js +8 -0
  92. package/es/components/EditTearsheet/EditTearsheet.d.ts +2 -0
  93. package/es/components/EditTearsheet/EditTearsheet.js +8 -0
  94. package/es/components/EditTearsheetNarrow/EditTearsheetNarrow.d.ts +2 -0
  95. package/es/components/EditTearsheetNarrow/EditTearsheetNarrow.js +8 -0
  96. package/es/components/EditUpdateCards/EditUpdateCards.d.ts +2 -0
  97. package/es/components/EditUpdateCards/EditUpdateCards.js +8 -0
  98. package/es/components/EmptyStates/EmptyStateIllustration.js +1 -2
  99. package/es/components/EmptyStates/EmptyStateV2.d.ts +1 -0
  100. package/es/components/EmptyStates/EmptyStateV2.js +7 -0
  101. package/es/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +1 -1
  102. package/es/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +1 -1
  103. package/es/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +1 -1
  104. package/es/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +1 -1
  105. package/es/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +1 -1
  106. package/es/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +1 -1
  107. package/es/components/EmptyStates/assets/ErrorIllustration.js +3 -5
  108. package/es/components/EmptyStates/assets/NoDataIllustration.js +3 -5
  109. package/es/components/EmptyStates/assets/NoTagsIllustration.js +3 -5
  110. package/es/components/EmptyStates/assets/NotFoundIllustration.js +3 -5
  111. package/es/components/EmptyStates/assets/NotificationsIllustration.js +3 -5
  112. package/es/components/EmptyStates/assets/UnauthorizedIllustration.js +3 -5
  113. package/es/components/ExpressiveCard/ExpressiveCard.d.ts +5 -5
  114. package/es/components/ExpressiveCard/ExpressiveCard.js +5 -5
  115. package/es/components/FilterPanel/FilterPanel.d.ts +1 -0
  116. package/es/components/FilterPanel/FilterPanel.js +6 -0
  117. package/es/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.d.ts +1 -0
  118. package/es/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.js +5 -0
  119. package/es/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.d.ts +1 -0
  120. package/es/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.js +5 -1
  121. package/es/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.d.ts +1 -0
  122. package/es/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.js +5 -0
  123. package/es/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.d.ts +1 -0
  124. package/es/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.js +5 -0
  125. package/es/components/FilterPanel/FilterPanelGroup/FilterPanelGroup.d.ts +1 -0
  126. package/es/components/FilterPanel/FilterPanelGroup/FilterPanelGroup.js +5 -0
  127. package/es/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.d.ts +1 -0
  128. package/es/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.js +5 -1
  129. package/es/components/FullPageError/FullPageError.js +7 -7
  130. package/es/components/FullPageError/assets/Error403SVG.d.ts +1 -3
  131. package/es/components/FullPageError/assets/Error403SVG.js +4 -6
  132. package/es/components/FullPageError/assets/Error404SVG.d.ts +1 -3
  133. package/es/components/FullPageError/assets/Error404SVG.js +4 -6
  134. package/es/components/FullPageError/assets/ErrorGenericSVG.d.ts +1 -3
  135. package/es/components/FullPageError/assets/ErrorGenericSVG.js +4 -6
  136. package/es/components/HTTPErrors/HTTPError403/HTTPError403.js +1 -1
  137. package/es/components/HTTPErrors/HTTPError404/HTTPError404.js +1 -1
  138. package/es/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.js +1 -1
  139. package/es/components/InlineTip/InlineTip.d.ts +5 -0
  140. package/es/components/InlineTip/InlineTip.js +17 -8
  141. package/es/components/Nav/Nav.d.ts +3 -0
  142. package/es/components/Nav/Nav.js +8 -0
  143. package/es/components/Nav/NavItemLink.js +1 -2
  144. package/es/components/ProductiveCard/ProductiveCard.d.ts +9 -5
  145. package/es/components/ProductiveCard/ProductiveCard.js +11 -9
  146. package/es/components/SidePanel/SidePanel.d.ts +6 -1
  147. package/es/components/SidePanel/SidePanel.js +27 -14
  148. package/es/components/StatusIndicator/StatusIndicator.d.ts +1 -0
  149. package/es/components/StatusIndicator/StatusIndicator.js +5 -0
  150. package/es/components/StatusIndicator/StatusIndicatorStep.d.ts +1 -0
  151. package/es/components/StatusIndicator/StatusIndicatorStep.js +5 -0
  152. package/es/components/SteppedAnimatedMedia/SteppedAnimatedMedia.js +3 -1
  153. package/es/components/TagOverflow/TagOverflow.js +2 -5
  154. package/es/components/Tearsheet/TearsheetShell.d.ts +4 -0
  155. package/es/components/Tearsheet/TearsheetShell.js +7 -60
  156. package/es/global/js/hooks/useFocus.d.ts +1 -0
  157. package/es/global/js/hooks/useFocus.js +24 -1
  158. package/es/global/js/hooks/usePrefersReducedMotion.js +1 -2
  159. package/es/global/js/package-settings.d.ts +1 -1
  160. package/es/global/js/package-settings.js +1 -1
  161. package/es/index.js +1 -1
  162. package/es/settings.d.ts +1 -1
  163. package/lib/_virtual/_rollupPluginBabelHelpers.js +1 -1
  164. package/lib/components/APIKeyModal/APIKeyDownloader.d.ts +1 -1
  165. package/lib/components/APIKeyModal/APIKeyDownloader.js +1 -1
  166. package/lib/components/APIKeyModal/APIKeyModal.d.ts +13 -0
  167. package/lib/components/APIKeyModal/APIKeyModal.js +83 -34
  168. package/lib/components/APIKeyModal/APIKeyModal.types.d.ts +21 -3
  169. package/lib/components/AboutModal/AboutModal.js +2 -5
  170. package/lib/components/AddSelect/hooks/useFocus.js +1 -2
  171. package/lib/components/AddSelect/hooks/useParentSelect.js +1 -2
  172. package/lib/components/AddSelect/hooks/usePath.js +1 -2
  173. package/lib/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +17 -8
  174. package/lib/components/Card/Card.d.ts +3 -3
  175. package/lib/components/Card/Card.js +12 -12
  176. package/lib/components/Card/CardHeader.d.ts +7 -7
  177. package/lib/components/Card/CardHeader.js +14 -12
  178. package/lib/components/Checklist/ChecklistChart.js +7 -7
  179. package/lib/components/Coachmark/Coachmark.d.ts +5 -0
  180. package/lib/components/Coachmark/Coachmark.js +11 -3
  181. package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.d.ts +5 -0
  182. package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +18 -4
  183. package/lib/components/CoachmarkStack/CoachmarkStackHome.d.ts +4 -0
  184. package/lib/components/CoachmarkStack/CoachmarkStackHome.js +18 -6
  185. package/lib/components/ConditionBuilder/ConditionBuilderConnector/GroupConnector.js +1 -2
  186. package/lib/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.js +9 -5
  187. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.js +1 -5
  188. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOptionForValueField.js +5 -5
  189. package/lib/components/ConditionBuilder/utils/util.js +0 -4
  190. package/lib/components/CreateTearsheet/CreateTearsheet.d.ts +1 -1
  191. package/lib/components/CreateTearsheet/CreateTearsheet.js +4 -3
  192. package/lib/components/CreateTearsheet/CreateTearsheetStep.js +5 -2
  193. package/lib/components/Datagrid/Datagrid/Datagrid.d.ts +1 -0
  194. package/lib/components/Datagrid/Datagrid/Datagrid.js +7 -0
  195. package/lib/components/Datagrid/Datagrid/DatagridHeaderRow.js +2 -2
  196. package/lib/components/Datagrid/Datagrid/DatagridSelectAll.js +30 -1
  197. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Actions.js +1 -2
  198. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.js +1 -2
  199. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +1 -2
  200. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +1 -2
  201. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/TearsheetWrapper.js +1 -2
  202. package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +1 -2
  203. package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +1 -2
  204. package/lib/components/Datagrid/Datagrid/addons/Filtering/OverflowCheckboxes.js +1 -2
  205. package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilterContext.js +1 -2
  206. package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.js +1 -2
  207. package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useShouldDisableButtons.js +1 -2
  208. package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useSubscribeToEventEmitter.js +1 -2
  209. package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +1 -2
  210. package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeRadioGroup.js +1 -2
  211. package/lib/components/Datagrid/Datagrid/addons/stateReducer.js +1 -1
  212. package/lib/components/Datagrid/useColumnOrder.js +1 -1
  213. package/lib/components/Datagrid/useDefaultStringRenderer.js +1 -2
  214. package/lib/components/Datagrid/useEditableCell.js +1 -2
  215. package/lib/components/Datagrid/useFlexResize.js +1 -2
  216. package/lib/components/Datagrid/useFloatingScroll.js +1 -2
  217. package/lib/components/Datagrid/useNestedRowExpander.js +1 -2
  218. package/lib/components/Datagrid/useParentDimensions.js +1 -2
  219. package/lib/components/Datagrid/useResizeTable.js +1 -2
  220. package/lib/components/Datagrid/useRowExpander.js +1 -2
  221. package/lib/components/Datagrid/useRowRenderer.js +1 -2
  222. package/lib/components/Datagrid/useRowSize.js +1 -2
  223. package/lib/components/Datagrid/useSkeletonRows.js +1 -2
  224. package/lib/components/DecoratorDualButton/DecoratorDualButton.d.ts +1 -0
  225. package/lib/components/DecoratorDualButton/DecoratorDualButton.js +5 -0
  226. package/lib/components/DecoratorLink/DecoratorLink.d.ts +1 -0
  227. package/lib/components/DecoratorLink/DecoratorLink.js +5 -0
  228. package/lib/components/DecoratorSingleButton/DecoratorSingleButton.d.ts +1 -0
  229. package/lib/components/DecoratorSingleButton/DecoratorSingleButton.js +5 -0
  230. package/lib/components/DescriptionList/DescriptionList.d.ts +1 -0
  231. package/lib/components/DescriptionList/DescriptionList.js +5 -0
  232. package/lib/components/EditFullPage/EditFullPage.d.ts +2 -0
  233. package/lib/components/EditFullPage/EditFullPage.js +8 -0
  234. package/lib/components/EditSidePanel/EditSidePanel.d.ts +2 -0
  235. package/lib/components/EditSidePanel/EditSidePanel.js +8 -0
  236. package/lib/components/EditTearsheet/EditTearsheet.d.ts +2 -0
  237. package/lib/components/EditTearsheet/EditTearsheet.js +8 -0
  238. package/lib/components/EditTearsheetNarrow/EditTearsheetNarrow.d.ts +2 -0
  239. package/lib/components/EditTearsheetNarrow/EditTearsheetNarrow.js +8 -0
  240. package/lib/components/EditUpdateCards/EditUpdateCards.d.ts +2 -0
  241. package/lib/components/EditUpdateCards/EditUpdateCards.js +8 -0
  242. package/lib/components/EmptyStates/EmptyStateIllustration.js +1 -2
  243. package/lib/components/EmptyStates/EmptyStateV2.d.ts +1 -0
  244. package/lib/components/EmptyStates/EmptyStateV2.js +7 -0
  245. package/lib/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +1 -1
  246. package/lib/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +1 -1
  247. package/lib/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +1 -1
  248. package/lib/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +1 -1
  249. package/lib/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +1 -1
  250. package/lib/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +1 -1
  251. package/lib/components/EmptyStates/assets/ErrorIllustration.js +2 -4
  252. package/lib/components/EmptyStates/assets/NoDataIllustration.js +2 -4
  253. package/lib/components/EmptyStates/assets/NoTagsIllustration.js +2 -4
  254. package/lib/components/EmptyStates/assets/NotFoundIllustration.js +2 -4
  255. package/lib/components/EmptyStates/assets/NotificationsIllustration.js +2 -4
  256. package/lib/components/EmptyStates/assets/UnauthorizedIllustration.js +2 -4
  257. package/lib/components/ExpressiveCard/ExpressiveCard.d.ts +5 -5
  258. package/lib/components/ExpressiveCard/ExpressiveCard.js +5 -5
  259. package/lib/components/FilterPanel/FilterPanel.d.ts +1 -0
  260. package/lib/components/FilterPanel/FilterPanel.js +6 -0
  261. package/lib/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.d.ts +1 -0
  262. package/lib/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.js +5 -0
  263. package/lib/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.d.ts +1 -0
  264. package/lib/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.js +5 -1
  265. package/lib/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.d.ts +1 -0
  266. package/lib/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.js +5 -0
  267. package/lib/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.d.ts +1 -0
  268. package/lib/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.js +5 -0
  269. package/lib/components/FilterPanel/FilterPanelGroup/FilterPanelGroup.d.ts +1 -0
  270. package/lib/components/FilterPanel/FilterPanelGroup/FilterPanelGroup.js +5 -0
  271. package/lib/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.d.ts +1 -0
  272. package/lib/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.js +5 -1
  273. package/lib/components/FullPageError/FullPageError.js +7 -7
  274. package/lib/components/FullPageError/assets/Error403SVG.d.ts +1 -3
  275. package/lib/components/FullPageError/assets/Error403SVG.js +4 -6
  276. package/lib/components/FullPageError/assets/Error404SVG.d.ts +1 -3
  277. package/lib/components/FullPageError/assets/Error404SVG.js +4 -6
  278. package/lib/components/FullPageError/assets/ErrorGenericSVG.d.ts +1 -3
  279. package/lib/components/FullPageError/assets/ErrorGenericSVG.js +4 -6
  280. package/lib/components/HTTPErrors/HTTPError403/HTTPError403.js +1 -1
  281. package/lib/components/HTTPErrors/HTTPError404/HTTPError404.js +1 -1
  282. package/lib/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.js +1 -1
  283. package/lib/components/InlineTip/InlineTip.d.ts +5 -0
  284. package/lib/components/InlineTip/InlineTip.js +17 -8
  285. package/lib/components/Nav/Nav.d.ts +3 -0
  286. package/lib/components/Nav/Nav.js +8 -0
  287. package/lib/components/Nav/NavItemLink.js +1 -2
  288. package/lib/components/ProductiveCard/ProductiveCard.d.ts +9 -5
  289. package/lib/components/ProductiveCard/ProductiveCard.js +11 -9
  290. package/lib/components/SidePanel/SidePanel.d.ts +6 -1
  291. package/lib/components/SidePanel/SidePanel.js +27 -14
  292. package/lib/components/StatusIndicator/StatusIndicator.d.ts +1 -0
  293. package/lib/components/StatusIndicator/StatusIndicator.js +5 -0
  294. package/lib/components/StatusIndicator/StatusIndicatorStep.d.ts +1 -0
  295. package/lib/components/StatusIndicator/StatusIndicatorStep.js +5 -0
  296. package/lib/components/SteppedAnimatedMedia/SteppedAnimatedMedia.js +3 -1
  297. package/lib/components/TagOverflow/TagOverflow.js +1 -4
  298. package/lib/components/Tearsheet/TearsheetShell.d.ts +4 -0
  299. package/lib/components/Tearsheet/TearsheetShell.js +6 -59
  300. package/lib/global/js/hooks/useFocus.d.ts +1 -0
  301. package/lib/global/js/hooks/useFocus.js +24 -0
  302. package/lib/global/js/hooks/usePrefersReducedMotion.js +1 -2
  303. package/lib/global/js/package-settings.d.ts +1 -1
  304. package/lib/global/js/package-settings.js +1 -1
  305. package/lib/index.js +109 -109
  306. package/lib/settings.d.ts +1 -1
  307. package/package.json +10 -10
  308. package/scss/components/APIKeyModal/_api-key-modal.scss +4 -0
  309. package/scss/components/BreadcrumbWithOverflow/_breadcrumb-with-overflow.scss +3 -3
  310. package/scss/components/Card/_card.scss +19 -5
  311. package/scss/components/Coachmark/_coachmark-overlay.scss +2 -2
  312. package/scss/components/Coachmark/_coachmark-tagline.scss +1 -1
  313. package/scss/components/CoachmarkBeacon/_coachmark-beacon.scss +3 -3
  314. package/scss/components/CoachmarkStack/_coachmark-stack.scss +2 -2
  315. package/scss/components/ConditionBuilder/styles/_conditionBuilderItem.scss +7 -7
  316. package/scss/components/CreateInfluencer/_create-influencer.scss +2 -2
  317. package/scss/components/CreateTearsheet/_create-tearsheet.scss +1 -2
  318. package/scss/components/DataSpreadsheet/_data-spreadsheet.scss +4 -4
  319. package/scss/components/Datagrid/styles/_datagrid.scss +21 -14
  320. package/scss/components/Datagrid/styles/_draggableElement.scss +2 -2
  321. package/scss/components/Datagrid/styles/_useColumnRightAlign.scss +1 -1
  322. package/scss/components/Datagrid/styles/_useExpandedRow.scss +1 -1
  323. package/scss/components/Datagrid/styles/_useInlineEdit.scss +1 -1
  324. package/scss/components/Datagrid/styles/_useNestedRows.scss +2 -2
  325. package/scss/components/Datagrid/styles/_useStickyColumn.scss +2 -2
  326. package/scss/components/Datagrid/styles/addons/_CustomizeColumnsTearsheet.scss +1 -1
  327. package/scss/components/Datagrid/styles/addons/_FilterFlyout.scss +1 -1
  328. package/scss/components/Datagrid/styles/addons/_FilterPanel.scss +1 -1
  329. package/scss/components/Datagrid/styles/addons/_RowSizeDropdown.scss +1 -2
  330. package/scss/components/DecoratorBase/_decorator-base-mixins.scss +1 -1
  331. package/scss/components/DecoratorBase/_decorator-base.scss +3 -3
  332. package/scss/components/DecoratorDualButton/_decorator-dual-button.scss +1 -1
  333. package/scss/components/DecoratorSingleButton/_decorator-single-button.scss +1 -1
  334. package/scss/components/EditTearsheet/_edit-tearsheet.scss +1 -2
  335. package/scss/components/EditUpdateCards/_edit-update-cards.scss +7 -7
  336. package/scss/components/FullPageError/_full-page-error.scss +1 -1
  337. package/scss/components/GetStartedCard/_get-started-card.scss +1 -1
  338. package/scss/components/Guidebanner/_guidebanner.scss +4 -4
  339. package/scss/components/HTTPErrors/_http-errors.scss +1 -1
  340. package/scss/components/InlineTip/_inline-tip.scss +4 -4
  341. package/scss/components/InterstitialScreen/_interstitial-screen.scss +6 -6
  342. package/scss/components/NonLinearReading/_non-linear-reading.scss +2 -2
  343. package/scss/components/NotificationsPanel/_notifications-panel.scss +3 -3
  344. package/scss/components/OptionsTile/_options-tile.scss +6 -8
  345. package/scss/components/PageHeader/_page-header.scss +20 -13
  346. package/scss/components/ProductiveCard/_productive-card.scss +2 -2
  347. package/scss/components/SidePanel/_side-panel.scss +24 -17
  348. package/scss/components/StatusIcon/_status-icon.scss +9 -7
  349. package/scss/components/StatusIndicator/_status-indicator.scss +1 -1
  350. package/scss/components/Tearsheet/_tearsheet.scss +5 -5
  351. package/scss/components/UserAvatar/_user-avatar.scss +5 -3
  352. package/scss/components/UserProfileImage/_user-profile-image.scss +6 -4
  353. package/scss/components/WebTerminal/_web-terminal.scss +2 -2
  354. package/scss/components/_index-released-only.scss +1 -0
  355. package/telemetry.yml +3 -0
@@ -45,6 +45,7 @@ var SteppedAnimatedMedia = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
45
45
  var backupRef = React.useRef(null);
46
46
  var localRef = ref !== null && ref !== void 0 ? ref : backupRef;
47
47
  var localRefValue = localRef.current;
48
+ var filePathStr = filePaths === null || filePaths === void 0 ? void 0 : filePaths.join(); //converting the array to string will avoid unwanted useEffect trigger.
48
49
  // load animation source
49
50
  React.useEffect(function () {
50
51
  var isJsonFile = function isJsonFile(filePath) {
@@ -87,7 +88,8 @@ var SteppedAnimatedMedia = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
87
88
  return _loadArtifact.apply(this, arguments);
88
89
  }
89
90
  loadArtifact();
90
- }, [filePaths]);
91
+ // eslint-disable-next-line
92
+ }, [filePathStr]);
91
93
  React.useEffect(function () {
92
94
  var _window;
93
95
  var prefersReducedMotion = (_window = window) !== null && _window !== void 0 && _window.matchMedia ? window.matchMedia('(prefers-reduced-motion: reduce)').matches : true;
@@ -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"),
@@ -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
  */
@@ -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,44 +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
- if (selectorPrimaryFocus && useFocus.getSpecificElement(modalRef === null || modalRef === void 0 ? void 0 : modalRef.current, selectorPrimaryFocus)) {
152
- var _window;
153
- var specifiedEl = useFocus.getSpecificElement(modalRef === null || modalRef === void 0 ? void 0 : modalRef.current, selectorPrimaryFocus);
154
- if (specifiedEl && ((_window = window) === null || _window === void 0 || (_window = _window.getComputedStyle(specifiedEl)) === null || _window === void 0 ? void 0 : _window.display) !== 'none') {
155
- return specifiedEl.focus();
156
- }
157
- }
158
- setTimeout(function () {
159
- return firstElement === null || firstElement === void 0 ? void 0 : firstElement.focus();
160
- }, 0);
161
- };
162
142
  React.useEffect(function () {
163
- if (open) {
143
+ if (open && position === depth) {
164
144
  // Focusing the first element or selectorPrimaryFocus element
165
- if (selectorPrimaryFocus && useFocus.getSpecificElement(modalRef === null || modalRef === void 0 ? void 0 : modalRef.current, selectorPrimaryFocus)) {
166
- var _window2;
167
- var specifiedEl = useFocus.getSpecificElement(modalRef === null || modalRef === void 0 ? void 0 : modalRef.current, selectorPrimaryFocus);
168
- if (specifiedEl && ((_window2 = window) === null || _window2 === void 0 || (_window2 = _window2.getComputedStyle(specifiedEl)) === null || _window2 === void 0 ? void 0 : _window2.display) !== 'none') {
169
- setTimeout(function () {
170
- return specifiedEl.focus();
171
- }, 0);
172
- return;
173
- }
174
- }
175
- setTimeout(function () {
176
- return firstElement === null || firstElement === void 0 ? void 0 : firstElement.focus();
177
- }, 0);
145
+ useFocus.claimFocus(firstElement, modalRef, selectorPrimaryFocus);
178
146
  }
179
- }, [firstElement, modalRef, open, selectorPrimaryFocus]);
147
+ }, [currentStep, depth, firstElement, modalRef, modalRefValue, open, position, selectorPrimaryFocus]);
180
148
  React.useEffect(function () {
181
149
  if (prevOpen && !open && launcherButtonRef) {
182
150
  setTimeout(function () {
@@ -184,22 +152,10 @@ var TearsheetShell = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
184
152
  }, 0);
185
153
  }
186
154
  }, [launcherButtonRef, open, prevOpen]);
187
- React.useEffect(function () {
188
- if (open && position !== depth) {
189
- setTimeout(function () {
190
- if (selectorPrimaryFocus) {
191
- return specifiedElement === null || specifiedElement === void 0 ? void 0 : specifiedElement.focus();
192
- }
193
- firstElement === null || firstElement === void 0 || firstElement.focus();
194
- }, 0);
195
- }
196
- }, [position, depth, firstElement, open, specifiedElement, selectorPrimaryFocus]);
197
155
  React.useEffect(function () {
198
156
  var notify = function notify() {
199
157
  return stack.all.forEach(function (handler) {
200
- var _handler$checkFocus;
201
158
  handler(Math.min(stack.open.length, maxDepth), stack.open.indexOf(handler) + 1);
202
- (_handler$checkFocus = handler.checkFocus) === null || _handler$checkFocus === void 0 || _handler$checkFocus.call(handler);
203
159
  });
204
160
  };
205
161
 
@@ -234,14 +190,6 @@ var TearsheetShell = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
234
190
  }
235
191
  };
236
192
  }, [open, size]);
237
- function handleFocus() {
238
- // If something within us is receiving focus but we are not the topmost
239
- // stacked tearsheet, transfer focus to the topmost tearsheet instead
240
- if (position < depth) {
241
- var _stack$open$claimFocu, _stack$open;
242
- (_stack$open$claimFocu = (_stack$open = stack.open[stack.open.length - 1]).claimFocus) === null || _stack$open$claimFocu === void 0 || _stack$open$claimFocu.call(_stack$open);
243
- }
244
- }
245
193
  if (position <= depth) {
246
194
  var _prevDepth$current;
247
195
  // Include a modal header if and only if one or more of these is given.
@@ -273,7 +221,6 @@ var TearsheetShell = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
273
221
  onClose: onClose,
274
222
  open: open,
275
223
  selectorPrimaryFocus: selectorPrimaryFocus,
276
- onFocus: handleFocus,
277
224
  onKeyDown: keyDownListener,
278
225
  preventCloseOnClickOutside: !isPassive,
279
226
  ref: modalRef,
@@ -12,3 +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): void;
@@ -106,5 +106,29 @@ var useFocus = function useFocus(modalRef, selectorPrimaryFocus) {
106
106
  };
107
107
  };
108
108
 
109
+ /**
110
+ *
111
+ * @param {*} firstElement
112
+ * @param {*} modalRef
113
+ * @param {string | undefined} selectorPrimaryFocus
114
+ */
115
+ var claimFocus = function claimFocus(firstElement, modalRef) {
116
+ var selectorPrimaryFocus = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : undefined;
117
+ if (selectorPrimaryFocus && getSpecificElement(modalRef === null || modalRef === void 0 ? void 0 : modalRef.current, selectorPrimaryFocus)) {
118
+ var _window2;
119
+ var specifiedEl = getSpecificElement(modalRef === null || modalRef === void 0 ? void 0 : modalRef.current, selectorPrimaryFocus);
120
+ if (specifiedEl && ((_window2 = window) === null || _window2 === void 0 || (_window2 = _window2.getComputedStyle(specifiedEl)) === null || _window2 === void 0 ? void 0 : _window2.display) !== 'none') {
121
+ setTimeout(function () {
122
+ return specifiedEl.focus();
123
+ }, 0);
124
+ }
125
+ } else {
126
+ setTimeout(function () {
127
+ return firstElement === null || firstElement === void 0 ? void 0 : firstElement.focus();
128
+ }, 0);
129
+ }
130
+ };
131
+
132
+ exports.claimFocus = claimFocus;
109
133
  exports.getSpecificElement = getSpecificElement;
110
134
  exports.useFocus = useFocus;
@@ -33,6 +33,5 @@ var usePrefersReducedMotion = function usePrefersReducedMotion() {
33
33
  }, []);
34
34
  return prefersReducedMotion;
35
35
  };
36
- var usePrefersReducedMotion$1 = usePrefersReducedMotion;
37
36
 
38
- exports.default = usePrefersReducedMotion$1;
37
+ exports.default = usePrefersReducedMotion;
@@ -66,6 +66,7 @@ declare namespace defaults {
66
66
  let WebTerminal: boolean;
67
67
  let WebTerminalContentWrapper: boolean;
68
68
  let WebTerminalProvider: boolean;
69
+ let UserAvatar: boolean;
69
70
  let Toolbar: boolean;
70
71
  let ToolbarButton: boolean;
71
72
  let ToolbarGroup: boolean;
@@ -115,7 +116,6 @@ declare namespace defaults {
115
116
  let DescriptionListCell: boolean;
116
117
  let DescriptionListRow: boolean;
117
118
  let SearchBar: boolean;
118
- let UserAvatar: boolean;
119
119
  let EmptyStateV2: boolean;
120
120
  let Guidebanner: boolean;
121
121
  let GuidebannerElement: boolean;
@@ -68,6 +68,7 @@ var defaults = {
68
68
  WebTerminal: true,
69
69
  WebTerminalContentWrapper: true,
70
70
  WebTerminalProvider: true,
71
+ UserAvatar: true,
71
72
  // other public components not yet reviewed and released:
72
73
  Toolbar: false,
73
74
  ToolbarButton: false,
@@ -121,7 +122,6 @@ var defaults = {
121
122
  DescriptionListCell: false,
122
123
  DescriptionListRow: false,
123
124
  SearchBar: false,
124
- UserAvatar: false,
125
125
  /* new component flags here - comment used by generate CLI */
126
126
 
127
127
  // Onboarding components not yet reviewed and released: