@carbon/ibm-products 2.54.0-canary.8 → 2.54.0-canary.80

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 (365) hide show
  1. package/css/index-full-carbon.css +1399 -690
  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 +987 -64
  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 +610 -562
  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 +692 -567
  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/Coachmark/CoachmarkOverlay.js +4 -0
  37. package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.d.ts +17 -0
  38. package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +57 -12
  39. package/es/components/CoachmarkStack/CoachmarkStackHome.d.ts +4 -0
  40. package/es/components/CoachmarkStack/CoachmarkStackHome.js +18 -6
  41. package/es/components/ConditionBuilder/ConditionBuilderConnector/GroupConnector.js +1 -2
  42. package/es/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.js +9 -5
  43. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.js +1 -5
  44. package/es/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOptionForValueField.js +5 -5
  45. package/es/components/ConditionBuilder/utils/util.js +0 -4
  46. package/es/components/CreateTearsheet/CreateTearsheet.d.ts +1 -1
  47. package/es/components/CreateTearsheet/CreateTearsheet.js +4 -3
  48. package/es/components/CreateTearsheet/CreateTearsheetStep.js +6 -3
  49. package/es/components/Datagrid/Datagrid/DatagridHeaderRow.js +2 -2
  50. package/es/components/Datagrid/Datagrid/DatagridSelectAll.js +31 -2
  51. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Actions.js +1 -2
  52. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.js +1 -2
  53. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +1 -2
  54. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +1 -2
  55. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/TearsheetWrapper.js +1 -2
  56. package/es/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +2 -3
  57. package/es/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +2 -3
  58. package/es/components/Datagrid/Datagrid/addons/Filtering/OverflowCheckboxes.js +1 -2
  59. package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilterContext.js +1 -2
  60. package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.js +1 -2
  61. package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useShouldDisableButtons.js +1 -2
  62. package/es/components/Datagrid/Datagrid/addons/Filtering/hooks/useSubscribeToEventEmitter.js +1 -2
  63. package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +1 -2
  64. package/es/components/Datagrid/Datagrid/addons/RowSize/RowSizeRadioGroup.js +1 -2
  65. package/es/components/Datagrid/Datagrid/addons/stateReducer.js +1 -1
  66. package/es/components/Datagrid/useCustomizeColumns.js +4 -4
  67. package/es/components/Datagrid/useDatagrid.js +2 -2
  68. package/es/components/Datagrid/useDefaultStringRenderer.js +1 -2
  69. package/es/components/Datagrid/useEditableCell.js +1 -2
  70. package/es/components/Datagrid/useFlexResize.js +1 -2
  71. package/es/components/Datagrid/useFloatingScroll.js +1 -2
  72. package/es/components/Datagrid/useNestedRowExpander.js +1 -2
  73. package/es/components/Datagrid/useParentDimensions.js +1 -2
  74. package/es/components/Datagrid/useResizeTable.js +1 -2
  75. package/es/components/Datagrid/useRowExpander.js +1 -2
  76. package/es/components/Datagrid/useRowRenderer.js +1 -2
  77. package/es/components/Datagrid/useRowSize.js +1 -2
  78. package/es/components/Datagrid/useSkeletonRows.js +1 -2
  79. package/es/components/DecoratorDualButton/DecoratorDualButton.d.ts +1 -0
  80. package/es/components/DecoratorDualButton/DecoratorDualButton.js +5 -0
  81. package/es/components/DecoratorLink/DecoratorLink.d.ts +1 -0
  82. package/es/components/DecoratorLink/DecoratorLink.js +5 -0
  83. package/es/components/DecoratorSingleButton/DecoratorSingleButton.d.ts +1 -0
  84. package/es/components/DecoratorSingleButton/DecoratorSingleButton.js +5 -0
  85. package/es/components/DescriptionList/DescriptionList.d.ts +1 -0
  86. package/es/components/DescriptionList/DescriptionList.js +5 -0
  87. package/es/components/EditFullPage/EditFullPage.d.ts +2 -0
  88. package/es/components/EditFullPage/EditFullPage.js +8 -0
  89. package/es/components/EditSidePanel/EditSidePanel.d.ts +2 -0
  90. package/es/components/EditSidePanel/EditSidePanel.js +8 -0
  91. package/es/components/EditTearsheet/EditTearsheet.d.ts +2 -0
  92. package/es/components/EditTearsheet/EditTearsheet.js +8 -0
  93. package/es/components/EditTearsheetNarrow/EditTearsheetNarrow.d.ts +2 -0
  94. package/es/components/EditTearsheetNarrow/EditTearsheetNarrow.js +8 -0
  95. package/es/components/EditUpdateCards/EditUpdateCards.d.ts +2 -0
  96. package/es/components/EditUpdateCards/EditUpdateCards.js +8 -0
  97. package/es/components/EmptyStates/EmptyStateIllustration.js +1 -2
  98. package/es/components/EmptyStates/EmptyStateV2.d.ts +1 -0
  99. package/es/components/EmptyStates/EmptyStateV2.js +7 -0
  100. package/es/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +1 -1
  101. package/es/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +1 -1
  102. package/es/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +1 -1
  103. package/es/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +1 -1
  104. package/es/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +1 -1
  105. package/es/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +1 -1
  106. package/es/components/EmptyStates/assets/ErrorIllustration.js +3 -5
  107. package/es/components/EmptyStates/assets/NoDataIllustration.js +3 -5
  108. package/es/components/EmptyStates/assets/NoTagsIllustration.js +3 -5
  109. package/es/components/EmptyStates/assets/NotFoundIllustration.js +3 -5
  110. package/es/components/EmptyStates/assets/NotificationsIllustration.js +3 -5
  111. package/es/components/EmptyStates/assets/UnauthorizedIllustration.js +3 -5
  112. package/es/components/ExpressiveCard/ExpressiveCard.d.ts +5 -5
  113. package/es/components/ExpressiveCard/ExpressiveCard.js +5 -5
  114. package/es/components/FilterPanel/FilterPanel.d.ts +1 -0
  115. package/es/components/FilterPanel/FilterPanel.js +6 -0
  116. package/es/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.d.ts +1 -0
  117. package/es/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.js +5 -0
  118. package/es/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.d.ts +1 -0
  119. package/es/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.js +5 -1
  120. package/es/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.d.ts +1 -0
  121. package/es/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.js +5 -0
  122. package/es/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.d.ts +1 -0
  123. package/es/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.js +5 -0
  124. package/es/components/FilterPanel/FilterPanelGroup/FilterPanelGroup.d.ts +1 -0
  125. package/es/components/FilterPanel/FilterPanelGroup/FilterPanelGroup.js +5 -0
  126. package/es/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.d.ts +1 -0
  127. package/es/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.js +5 -1
  128. package/es/components/FilterSummary/FilterSummary.js +1 -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/InterstitialScreen/InterstitialScreen.js +2 -3
  142. package/es/components/Nav/Nav.d.ts +3 -0
  143. package/es/components/Nav/Nav.js +8 -0
  144. package/es/components/Nav/NavItemLink.js +1 -2
  145. package/es/components/PageHeader/PageHeader.js +13 -3
  146. package/es/components/PageHeader/PageHeaderTitle.js +10 -29
  147. package/es/components/ProductiveCard/ProductiveCard.d.ts +9 -5
  148. package/es/components/ProductiveCard/ProductiveCard.js +11 -9
  149. package/es/components/SidePanel/SidePanel.d.ts +6 -1
  150. package/es/components/SidePanel/SidePanel.js +27 -14
  151. package/es/components/StatusIndicator/StatusIndicator.d.ts +1 -0
  152. package/es/components/StatusIndicator/StatusIndicator.js +5 -0
  153. package/es/components/StatusIndicator/StatusIndicatorStep.d.ts +1 -0
  154. package/es/components/StatusIndicator/StatusIndicatorStep.js +5 -0
  155. package/es/components/SteppedAnimatedMedia/SteppedAnimatedMedia.js +3 -1
  156. package/es/components/TagOverflow/TagOverflow.js +2 -5
  157. package/es/components/Tearsheet/TearsheetShell.d.ts +4 -0
  158. package/es/components/Tearsheet/TearsheetShell.js +7 -60
  159. package/es/global/js/hooks/useFocus.d.ts +1 -0
  160. package/es/global/js/hooks/useFocus.js +24 -1
  161. package/es/global/js/hooks/usePrefersReducedMotion.js +1 -2
  162. package/es/global/js/package-settings.d.ts +1 -1
  163. package/es/global/js/package-settings.js +1 -1
  164. package/es/global/js/utils/checkForOverflow.d.ts +5 -0
  165. package/es/global/js/utils/checkForOverflow.js +31 -0
  166. package/es/index.js +1 -1
  167. package/es/settings.d.ts +1 -1
  168. package/lib/_virtual/_rollupPluginBabelHelpers.js +1 -1
  169. package/lib/components/APIKeyModal/APIKeyDownloader.d.ts +1 -1
  170. package/lib/components/APIKeyModal/APIKeyDownloader.js +1 -1
  171. package/lib/components/APIKeyModal/APIKeyModal.d.ts +13 -0
  172. package/lib/components/APIKeyModal/APIKeyModal.js +83 -34
  173. package/lib/components/APIKeyModal/APIKeyModal.types.d.ts +21 -3
  174. package/lib/components/AboutModal/AboutModal.js +2 -5
  175. package/lib/components/AddSelect/hooks/useFocus.js +1 -2
  176. package/lib/components/AddSelect/hooks/useParentSelect.js +1 -2
  177. package/lib/components/AddSelect/hooks/usePath.js +1 -2
  178. package/lib/components/BreadcrumbWithOverflow/BreadcrumbWithOverflow.js +17 -8
  179. package/lib/components/Card/Card.d.ts +3 -3
  180. package/lib/components/Card/Card.js +12 -12
  181. package/lib/components/Card/CardHeader.d.ts +7 -7
  182. package/lib/components/Card/CardHeader.js +14 -12
  183. package/lib/components/Checklist/ChecklistChart.js +7 -7
  184. package/lib/components/Coachmark/Coachmark.d.ts +5 -0
  185. package/lib/components/Coachmark/Coachmark.js +11 -3
  186. package/lib/components/Coachmark/CoachmarkOverlay.js +4 -0
  187. package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.d.ts +17 -0
  188. package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +56 -11
  189. package/lib/components/CoachmarkStack/CoachmarkStackHome.d.ts +4 -0
  190. package/lib/components/CoachmarkStack/CoachmarkStackHome.js +18 -6
  191. package/lib/components/ConditionBuilder/ConditionBuilderConnector/GroupConnector.js +1 -2
  192. package/lib/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.js +9 -5
  193. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOption.js +1 -5
  194. package/lib/components/ConditionBuilder/ConditionBuilderItem/ConditionBuilderItemOption/ItemOptionForValueField.js +5 -5
  195. package/lib/components/ConditionBuilder/utils/util.js +0 -4
  196. package/lib/components/CreateTearsheet/CreateTearsheet.d.ts +1 -1
  197. package/lib/components/CreateTearsheet/CreateTearsheet.js +4 -3
  198. package/lib/components/CreateTearsheet/CreateTearsheetStep.js +5 -2
  199. package/lib/components/Datagrid/Datagrid/DatagridHeaderRow.js +2 -2
  200. package/lib/components/Datagrid/Datagrid/DatagridSelectAll.js +30 -1
  201. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Actions.js +1 -2
  202. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/ButtonWrapper.js +1 -2
  203. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +1 -2
  204. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +1 -2
  205. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/TearsheetWrapper.js +1 -2
  206. package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +1 -2
  207. package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +1 -2
  208. package/lib/components/Datagrid/Datagrid/addons/Filtering/OverflowCheckboxes.js +1 -2
  209. package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilterContext.js +1 -2
  210. package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useFilters.js +1 -2
  211. package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useShouldDisableButtons.js +1 -2
  212. package/lib/components/Datagrid/Datagrid/addons/Filtering/hooks/useSubscribeToEventEmitter.js +1 -2
  213. package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeDropdown.js +1 -2
  214. package/lib/components/Datagrid/Datagrid/addons/RowSize/RowSizeRadioGroup.js +1 -2
  215. package/lib/components/Datagrid/Datagrid/addons/stateReducer.js +1 -1
  216. package/lib/components/Datagrid/useColumnOrder.js +1 -1
  217. package/lib/components/Datagrid/useDefaultStringRenderer.js +1 -2
  218. package/lib/components/Datagrid/useEditableCell.js +1 -2
  219. package/lib/components/Datagrid/useFlexResize.js +1 -2
  220. package/lib/components/Datagrid/useFloatingScroll.js +1 -2
  221. package/lib/components/Datagrid/useNestedRowExpander.js +1 -2
  222. package/lib/components/Datagrid/useParentDimensions.js +1 -2
  223. package/lib/components/Datagrid/useResizeTable.js +1 -2
  224. package/lib/components/Datagrid/useRowExpander.js +1 -2
  225. package/lib/components/Datagrid/useRowRenderer.js +1 -2
  226. package/lib/components/Datagrid/useRowSize.js +1 -2
  227. package/lib/components/Datagrid/useSkeletonRows.js +1 -2
  228. package/lib/components/DecoratorDualButton/DecoratorDualButton.d.ts +1 -0
  229. package/lib/components/DecoratorDualButton/DecoratorDualButton.js +5 -0
  230. package/lib/components/DecoratorLink/DecoratorLink.d.ts +1 -0
  231. package/lib/components/DecoratorLink/DecoratorLink.js +5 -0
  232. package/lib/components/DecoratorSingleButton/DecoratorSingleButton.d.ts +1 -0
  233. package/lib/components/DecoratorSingleButton/DecoratorSingleButton.js +5 -0
  234. package/lib/components/DescriptionList/DescriptionList.d.ts +1 -0
  235. package/lib/components/DescriptionList/DescriptionList.js +5 -0
  236. package/lib/components/EditFullPage/EditFullPage.d.ts +2 -0
  237. package/lib/components/EditFullPage/EditFullPage.js +8 -0
  238. package/lib/components/EditSidePanel/EditSidePanel.d.ts +2 -0
  239. package/lib/components/EditSidePanel/EditSidePanel.js +8 -0
  240. package/lib/components/EditTearsheet/EditTearsheet.d.ts +2 -0
  241. package/lib/components/EditTearsheet/EditTearsheet.js +8 -0
  242. package/lib/components/EditTearsheetNarrow/EditTearsheetNarrow.d.ts +2 -0
  243. package/lib/components/EditTearsheetNarrow/EditTearsheetNarrow.js +8 -0
  244. package/lib/components/EditUpdateCards/EditUpdateCards.d.ts +2 -0
  245. package/lib/components/EditUpdateCards/EditUpdateCards.js +8 -0
  246. package/lib/components/EmptyStates/EmptyStateIllustration.js +1 -2
  247. package/lib/components/EmptyStates/EmptyStateV2.d.ts +1 -0
  248. package/lib/components/EmptyStates/EmptyStateV2.js +7 -0
  249. package/lib/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +1 -1
  250. package/lib/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +1 -1
  251. package/lib/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +1 -1
  252. package/lib/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +1 -1
  253. package/lib/components/EmptyStates/NotificationsEmptyState/NotificationsEmptyState.js +1 -1
  254. package/lib/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +1 -1
  255. package/lib/components/EmptyStates/assets/ErrorIllustration.js +2 -4
  256. package/lib/components/EmptyStates/assets/NoDataIllustration.js +2 -4
  257. package/lib/components/EmptyStates/assets/NoTagsIllustration.js +2 -4
  258. package/lib/components/EmptyStates/assets/NotFoundIllustration.js +2 -4
  259. package/lib/components/EmptyStates/assets/NotificationsIllustration.js +2 -4
  260. package/lib/components/EmptyStates/assets/UnauthorizedIllustration.js +2 -4
  261. package/lib/components/ExpressiveCard/ExpressiveCard.d.ts +5 -5
  262. package/lib/components/ExpressiveCard/ExpressiveCard.js +5 -5
  263. package/lib/components/FilterPanel/FilterPanel.d.ts +1 -0
  264. package/lib/components/FilterPanel/FilterPanel.js +6 -0
  265. package/lib/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.d.ts +1 -0
  266. package/lib/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.js +5 -0
  267. package/lib/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.d.ts +1 -0
  268. package/lib/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.js +5 -1
  269. package/lib/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.d.ts +1 -0
  270. package/lib/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.js +5 -0
  271. package/lib/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.d.ts +1 -0
  272. package/lib/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.js +5 -0
  273. package/lib/components/FilterPanel/FilterPanelGroup/FilterPanelGroup.d.ts +1 -0
  274. package/lib/components/FilterPanel/FilterPanelGroup/FilterPanelGroup.js +5 -0
  275. package/lib/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.d.ts +1 -0
  276. package/lib/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.js +5 -1
  277. package/lib/components/FilterSummary/FilterSummary.js +1 -1
  278. package/lib/components/FullPageError/FullPageError.js +7 -7
  279. package/lib/components/FullPageError/assets/Error403SVG.d.ts +1 -3
  280. package/lib/components/FullPageError/assets/Error403SVG.js +4 -6
  281. package/lib/components/FullPageError/assets/Error404SVG.d.ts +1 -3
  282. package/lib/components/FullPageError/assets/Error404SVG.js +4 -6
  283. package/lib/components/FullPageError/assets/ErrorGenericSVG.d.ts +1 -3
  284. package/lib/components/FullPageError/assets/ErrorGenericSVG.js +4 -6
  285. package/lib/components/HTTPErrors/HTTPError403/HTTPError403.js +1 -1
  286. package/lib/components/HTTPErrors/HTTPError404/HTTPError404.js +1 -1
  287. package/lib/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.js +1 -1
  288. package/lib/components/InlineTip/InlineTip.d.ts +5 -0
  289. package/lib/components/InlineTip/InlineTip.js +17 -8
  290. package/lib/components/InterstitialScreen/InterstitialScreen.js +2 -3
  291. package/lib/components/Nav/Nav.d.ts +3 -0
  292. package/lib/components/Nav/Nav.js +8 -0
  293. package/lib/components/Nav/NavItemLink.js +1 -2
  294. package/lib/components/PageHeader/PageHeader.js +12 -2
  295. package/lib/components/PageHeader/PageHeaderTitle.js +8 -27
  296. package/lib/components/ProductiveCard/ProductiveCard.d.ts +9 -5
  297. package/lib/components/ProductiveCard/ProductiveCard.js +11 -9
  298. package/lib/components/SidePanel/SidePanel.d.ts +6 -1
  299. package/lib/components/SidePanel/SidePanel.js +27 -14
  300. package/lib/components/StatusIndicator/StatusIndicator.d.ts +1 -0
  301. package/lib/components/StatusIndicator/StatusIndicator.js +5 -0
  302. package/lib/components/StatusIndicator/StatusIndicatorStep.d.ts +1 -0
  303. package/lib/components/StatusIndicator/StatusIndicatorStep.js +5 -0
  304. package/lib/components/SteppedAnimatedMedia/SteppedAnimatedMedia.js +3 -1
  305. package/lib/components/TagOverflow/TagOverflow.js +1 -4
  306. package/lib/components/Tearsheet/TearsheetShell.d.ts +4 -0
  307. package/lib/components/Tearsheet/TearsheetShell.js +6 -59
  308. package/lib/global/js/hooks/useFocus.d.ts +1 -0
  309. package/lib/global/js/hooks/useFocus.js +24 -0
  310. package/lib/global/js/hooks/usePrefersReducedMotion.js +1 -2
  311. package/lib/global/js/package-settings.d.ts +1 -1
  312. package/lib/global/js/package-settings.js +1 -1
  313. package/lib/global/js/utils/checkForOverflow.d.ts +5 -0
  314. package/lib/global/js/utils/checkForOverflow.js +34 -0
  315. package/lib/index.js +109 -109
  316. package/lib/settings.d.ts +1 -1
  317. package/package.json +11 -11
  318. package/scss/components/APIKeyModal/_api-key-modal.scss +4 -0
  319. package/scss/components/BreadcrumbWithOverflow/_breadcrumb-with-overflow.scss +3 -3
  320. package/scss/components/Card/_card.scss +19 -5
  321. package/scss/components/Coachmark/_coachmark-overlay.scss +2 -2
  322. package/scss/components/Coachmark/_coachmark-tagline.scss +1 -1
  323. package/scss/components/CoachmarkBeacon/_coachmark-beacon.scss +3 -3
  324. package/scss/components/CoachmarkStack/_coachmark-stack.scss +2 -2
  325. package/scss/components/ConditionBuilder/styles/_conditionBuilderItem.scss +7 -7
  326. package/scss/components/CreateInfluencer/_create-influencer.scss +2 -2
  327. package/scss/components/CreateTearsheet/_create-tearsheet.scss +1 -2
  328. package/scss/components/DataSpreadsheet/_data-spreadsheet.scss +4 -4
  329. package/scss/components/Datagrid/styles/_datagrid.scss +21 -14
  330. package/scss/components/Datagrid/styles/_draggableElement.scss +2 -2
  331. package/scss/components/Datagrid/styles/_useColumnRightAlign.scss +1 -1
  332. package/scss/components/Datagrid/styles/_useExpandedRow.scss +1 -1
  333. package/scss/components/Datagrid/styles/_useInlineEdit.scss +1 -1
  334. package/scss/components/Datagrid/styles/_useNestedRows.scss +2 -2
  335. package/scss/components/Datagrid/styles/_useStickyColumn.scss +2 -2
  336. package/scss/components/Datagrid/styles/addons/_CustomizeColumnsTearsheet.scss +1 -1
  337. package/scss/components/Datagrid/styles/addons/_FilterFlyout.scss +1 -1
  338. package/scss/components/Datagrid/styles/addons/_FilterPanel.scss +1 -1
  339. package/scss/components/Datagrid/styles/addons/_RowSizeDropdown.scss +1 -2
  340. package/scss/components/DecoratorBase/_decorator-base-mixins.scss +1 -1
  341. package/scss/components/DecoratorBase/_decorator-base.scss +3 -3
  342. package/scss/components/DecoratorDualButton/_decorator-dual-button.scss +1 -1
  343. package/scss/components/DecoratorSingleButton/_decorator-single-button.scss +1 -1
  344. package/scss/components/EditTearsheet/_edit-tearsheet.scss +1 -2
  345. package/scss/components/EditUpdateCards/_edit-update-cards.scss +7 -7
  346. package/scss/components/FullPageError/_full-page-error.scss +1 -1
  347. package/scss/components/GetStartedCard/_get-started-card.scss +1 -1
  348. package/scss/components/Guidebanner/_guidebanner.scss +4 -4
  349. package/scss/components/HTTPErrors/_http-errors.scss +1 -1
  350. package/scss/components/InlineTip/_inline-tip.scss +4 -4
  351. package/scss/components/InterstitialScreen/_interstitial-screen.scss +6 -6
  352. package/scss/components/NonLinearReading/_non-linear-reading.scss +2 -2
  353. package/scss/components/NotificationsPanel/_notifications-panel.scss +3 -3
  354. package/scss/components/OptionsTile/_options-tile.scss +6 -8
  355. package/scss/components/PageHeader/_page-header.scss +38 -19
  356. package/scss/components/ProductiveCard/_productive-card.scss +2 -2
  357. package/scss/components/SidePanel/_side-panel.scss +24 -17
  358. package/scss/components/StatusIcon/_status-icon.scss +9 -7
  359. package/scss/components/StatusIndicator/_status-indicator.scss +1 -1
  360. package/scss/components/Tearsheet/_tearsheet.scss +5 -5
  361. package/scss/components/UserAvatar/_user-avatar.scss +5 -3
  362. package/scss/components/UserProfileImage/_user-profile-image.scss +6 -4
  363. package/scss/components/WebTerminal/_web-terminal.scss +2 -2
  364. package/scss/components/_index-released-only.scss +1 -0
  365. package/telemetry.yml +3 -0
@@ -15,8 +15,8 @@
15
15
  * instead of many individual rules.
16
16
  */
17
17
 
18
- /* stylelint-disable carbon/layout-token-use */
19
- /* stylelint-disable carbon/theme-token-use */
18
+ /* stylelint-disable carbon/layout-use */
19
+ /* stylelint-disable carbon/theme-use */
20
20
  /* stylelint-disable declaration-no-important */
21
21
  /* stylelint-disable function-no-unknown */
22
22
  /* stylelint-disable max-nesting-depth */
@@ -177,7 +177,7 @@ $purple: #7f3ae7;
177
177
  }
178
178
 
179
179
  .#{$block-class} .#{$block-class}__close-icon {
180
- padding: to-rem(6px) 0 0 0;
180
+ padding: to-rem(6px) 0 0;
181
181
  block-size: $spacing-07;
182
182
  color: $white-0;
183
183
  inline-size: $spacing-07;
@@ -221,7 +221,7 @@ $purple: #7f3ae7;
221
221
  // Repeating here.
222
222
  svg {
223
223
  position: absolute;
224
- right: 1rem;
224
+ right: $spacing-05;
225
225
  width: 1rem;
226
226
  height: 1rem;
227
227
  flex-shrink: 0;
@@ -87,7 +87,7 @@ $one-grid-column: calc(100% / 16);
87
87
  &--container {
88
88
  min-width: 47rem;
89
89
  max-width: 82rem;
90
- margin: calc($spacing-10 * 2) auto; // stylelint-disable-line carbon/layout-token-use
90
+ margin: calc($spacing-10 * 2) auto; // stylelint-disable-line carbon/layout-use
91
91
  background-color: $background;
92
92
  }
93
93
 
@@ -220,17 +220,17 @@ $one-grid-column: calc(100% / 16);
220
220
  height: $spacing-09;
221
221
  padding-left: $spacing-05;
222
222
  border-bottom: 1px solid $border-subtle-01;
223
- /* stylelint-disable-next-line carbon/theme-token-use */
223
+ /* stylelint-disable-next-line carbon/theme-use */
224
224
  background-color: $gray-100;
225
- /* stylelint-disable-next-line carbon/theme-token-use */
225
+ /* stylelint-disable-next-line carbon/theme-use */
226
226
  color: $gray-10;
227
- /* stylelint-disable-next-line carbon/type-token-use */
227
+ /* stylelint-disable-next-line carbon/type-use */
228
228
  font-weight: normal !important; // overrides type style above
229
- /* stylelint-disable-next-line carbon/type-token-use */
229
+ /* stylelint-disable-next-line carbon/type-use */
230
230
  line-height: $spacing-09 !important;
231
231
 
232
232
  b {
233
- /* stylelint-disable-next-line carbon/type-token-use */
233
+ /* stylelint-disable-next-line carbon/type-use */
234
234
  font-weight: 600;
235
235
  }
236
236
  }
@@ -5,7 +5,7 @@
5
5
  // LICENSE file in the root directory of this source tree.
6
6
  //
7
7
 
8
- /* stylelint-disable carbon/layout-token-use */
8
+ /* stylelint-disable carbon/layout-use */
9
9
  /* stylelint-disable function-no-unknown */
10
10
 
11
11
  // Standard imports.
@@ -70,7 +70,7 @@ $block-class: #{c4p-settings.$pkg-prefix}--non-linear-reading;
70
70
  }
71
71
  // The "up" chevron
72
72
  .#{$block-class} .#{$block-class}__keyword svg {
73
- margin: to-rem(1px) 0 0 0;
73
+ margin: to-rem(1px) 0 0;
74
74
  vertical-align: text-top;
75
75
  }
76
76
 
@@ -23,7 +23,7 @@ $block-class: #{c4p-settings.$pkg-prefix}--notifications-panel;
23
23
  @keyframes fade-in {
24
24
  0% {
25
25
  opacity: 0;
26
- // stylelint-disable-next-line carbon/layout-token-use
26
+ // stylelint-disable-next-line carbon/layout-use
27
27
  transform: translateY(-38.5rem); // the height of the notification panel
28
28
  }
29
29
 
@@ -41,7 +41,7 @@ $block-class: #{c4p-settings.$pkg-prefix}--notifications-panel;
41
41
 
42
42
  100% {
43
43
  opacity: 0;
44
- // stylelint-disable-next-line carbon/layout-token-use
44
+ // stylelint-disable-next-line carbon/layout-use
45
45
  transform: translateY(-38.5rem); // the height of the notification panel
46
46
  }
47
47
  }
@@ -93,7 +93,7 @@ $block-class: #{c4p-settings.$pkg-prefix}--notifications-panel;
93
93
 
94
94
  position: sticky;
95
95
  z-index: 2;
96
- // stylelint-disable-next-line carbon/layout-token-use
96
+ // stylelint-disable-next-line carbon/layout-use
97
97
  top: 4.8125rem;
98
98
  padding: $spacing-03 $spacing-05;
99
99
  background-color: $layer-01;
@@ -121,12 +121,12 @@ $block-class: #{c4p-settings.$pkg-prefix}--options-tile;
121
121
  }
122
122
 
123
123
  .#{$block-class}__summary--warn svg path[fill='none'] {
124
- /* stylelint-disable-next-line carbon/theme-token-use */
124
+ /* stylelint-disable-next-line carbon/theme-use */
125
125
  fill: $black-100;
126
126
  }
127
127
 
128
128
  .#{$block-class}__summary--warn svg path[fill='none'] {
129
- /* stylelint-disable-next-line carbon/theme-token-use */
129
+ /* stylelint-disable-next-line carbon/theme-use */
130
130
  fill: $black-100;
131
131
  }
132
132
 
@@ -134,7 +134,7 @@ $block-class: #{c4p-settings.$pkg-prefix}--options-tile;
134
134
  overflow: hidden;
135
135
  height: max-content;
136
136
  // spacing-05 + toggle width
137
- // stylelint-disable-next-line carbon/layout-token-use
137
+ // stylelint-disable-next-line carbon/layout-use
138
138
  padding-right: calc(#{$spacing-05} + 2rem);
139
139
  text-overflow: ellipsis;
140
140
  white-space: nowrap;
@@ -149,7 +149,7 @@ $block-class: #{c4p-settings.$pkg-prefix}--options-tile;
149
149
  .#{$block-class}__content {
150
150
  padding-right: $spacing-05;
151
151
  // spacing-05 + chevron size + spacing-05
152
- // stylelint-disable-next-line carbon/layout-token-use
152
+ // stylelint-disable-next-line carbon/layout-use
153
153
  padding-left: calc(#{$spacing-05} * 2 + 1rem);
154
154
  }
155
155
 
@@ -208,14 +208,12 @@ $block-class: #{c4p-settings.$pkg-prefix}--options-tile;
208
208
 
209
209
  .#{$block-class}--lg .#{$block-class}__toggle {
210
210
  // "top" shouldn't be spacing token as it depends on the toggle size
211
- // stylelint-disable-next-line carbon/layout-token-use
212
- top: 1rem;
211
+ top: $spacing-05;
213
212
  }
214
213
 
215
214
  .#{$block-class}--xl .#{$block-class}__toggle {
216
215
  // "top" shouldn't be spacing token as it depends on the toggle size
217
- // stylelint-disable-next-line carbon/layout-token-use
218
- top: 1.5rem;
216
+ top: $spacing-06;
219
217
  }
220
218
 
221
219
  .#{$block-class}--lg .#{$block-class}__summary {
@@ -38,27 +38,27 @@ $right-section-alt-width: 100% - $left-section-alt-width;
38
38
 
39
39
  @keyframes background-appear {
40
40
  from {
41
- /* stylelint-disable-next-line carbon/theme-token-use */
41
+ /* stylelint-disable-next-line carbon/theme-use */
42
42
  background-color: var(--from-color);
43
43
  }
44
44
 
45
45
  to {
46
- /* stylelint-disable-next-line carbon/theme-token-use */
46
+ /* stylelint-disable-next-line carbon/theme-use */
47
47
  background-color: var(--to-color);
48
48
  }
49
49
  }
50
50
  @keyframes background-and-shadow-appear {
51
51
  from {
52
- /* stylelint-disable-next-line carbon/theme-token-use */
52
+ /* stylelint-disable-next-line carbon/theme-use */
53
53
  background-color: var(--from-color);
54
- /* stylelint-disable-next-line carbon/theme-token-use */
54
+ /* stylelint-disable-next-line carbon/theme-use */
55
55
  box-shadow: 0 1px 0 var(--from-color);
56
56
  }
57
57
 
58
58
  to {
59
- /* stylelint-disable-next-line carbon/theme-token-use */
59
+ /* stylelint-disable-next-line carbon/theme-use */
60
60
  background-color: var(--to-color);
61
- /* stylelint-disable-next-line carbon/theme-token-use */
61
+ /* stylelint-disable-next-line carbon/theme-use */
62
62
  box-shadow: 0 1px 0 var(--to-color-shadow);
63
63
  }
64
64
  }
@@ -69,11 +69,11 @@ $right-section-alt-width: 100% - $left-section-alt-width;
69
69
  $to-color: $layer-01,
70
70
  $to-color-shadow: $layer-accent-01
71
71
  ) {
72
- // stylelint-disable-next-line carbon/theme-token-use
72
+ // stylelint-disable-next-line carbon/theme-use
73
73
  --from-color: #{$from-color};
74
- // stylelint-disable-next-line carbon/theme-token-use
74
+ // stylelint-disable-next-line carbon/theme-use
75
75
  --to-color: #{$to-color};
76
- // stylelint-disable-next-line carbon/theme-token-use
76
+ // stylelint-disable-next-line carbon/theme-use
77
77
  --to-color-shadow: #{$to-color-shadow};
78
78
 
79
79
  position: absolute;
@@ -107,7 +107,7 @@ $right-section-alt-width: 100% - $left-section-alt-width;
107
107
  /* z-index used to raise above any position relative content as per Carbon header */
108
108
  /* dropped 1 below Carbon header so as not to overlay the side panel */
109
109
  z-index: $z-index-header-minus;
110
- /* stylelint-disable-next-line carbon/layout-token-use */
110
+ /* stylelint-disable-next-line carbon/layout-use */
111
111
  top: var(--#{$block-class}--header-top);
112
112
  display: inline-block; /* cause top/bottom margin to reserve space */
113
113
  width: 100%;
@@ -417,7 +417,7 @@ $right-section-alt-width: 100% - $left-section-alt-width;
417
417
 
418
418
  .#{$block-class}__breadcrumb-row--has-breadcrumbs
419
419
  + .#{$block-class}__title-row--sticky {
420
- // stylelint-disable-next-line carbon/layout-token-use
420
+ // stylelint-disable-next-line carbon/layout-use
421
421
  top: calc(
422
422
  var(--#{$block-class}--breadcrumb-top) - var(--title-row-margin-top)
423
423
  );
@@ -473,8 +473,10 @@ $right-section-alt-width: 100% - $left-section-alt-width;
473
473
 
474
474
  .#{$block-class}__title-icon {
475
475
  margin-right: $spacing-04;
476
- // stylelint-disable-next-line carbon/layout-token-use
477
- transform: translateY(-2px); // positional tweak requested by design review
476
+ // stylelint-disable-next-line carbon/layout-use
477
+ transform: translateY(
478
+ -$spacing-01
479
+ ); // positional tweak requested by design review
478
480
 
479
481
  vertical-align: middle;
480
482
  }
@@ -536,14 +538,8 @@ $right-section-alt-width: 100% - $left-section-alt-width;
536
538
  }
537
539
 
538
540
  .#{$block-class}__subtitle-row {
539
- display: -webkit-box;
540
- overflow: hidden;
541
- max-width: 100%;
542
541
  margin-top: $spacing-03;
543
542
 
544
- -webkit-box-orient: vertical;
545
- -webkit-line-clamp: 2;
546
-
547
543
  @include breakpoint-up('md') {
548
544
  max-width: $left-section-std-width;
549
545
  }
@@ -557,6 +553,24 @@ $right-section-alt-width: 100% - $left-section-alt-width;
557
553
  @include type.type-style('body-01');
558
554
  }
559
555
 
556
+ .#{$block-class}__subtitle-tooltip .#{$carbon-prefix}--definition-term {
557
+ border-bottom: 0;
558
+ letter-spacing: inherit;
559
+ }
560
+
561
+ // overwrites the existing styles to make the popover bigger because in some cases the narrow space can be too constricting for the header
562
+ .#{$block-class}__subtitle-tooltip
563
+ .#{$carbon-prefix}--popover-content.#{$carbon-prefix}--definition-tooltip {
564
+ max-inline-size: fit-content;
565
+ }
566
+
567
+ .#{$block-class}__subtitle-text {
568
+ display: -webkit-box;
569
+ overflow: hidden;
570
+ -webkit-box-orient: vertical;
571
+ -webkit-line-clamp: 2;
572
+ }
573
+
560
574
  .#{$block-class}__available-row {
561
575
  @include type.type-style('body-01');
562
576
 
@@ -667,3 +681,8 @@ $right-section-alt-width: 100% - $left-section-alt-width;
667
681
  .#{$block-class}__button-set-menu-options.#{$carbon-prefix}--overflow-menu-options {
668
682
  z-index: $z-index-header-minus;
669
683
  }
684
+
685
+ .#{$block-class}__button-set-menu-options
686
+ > button.#{$carbon-prefix}--menu-button__trigger {
687
+ min-inline-size: 0;
688
+ }
@@ -52,9 +52,9 @@ $block-class: #{c4p-settings.$pkg-prefix}--card;
52
52
 
53
53
  .#{$block-class}__actions-header-ghost-button {
54
54
  min-height: $spacing-07;
55
- // stylelint-disable-next-line carbon/layout-token-use
55
+ // stylelint-disable-next-line carbon/layout-use
56
56
  padding-right: calc($spacing-01 + $spacing-03);
57
- // stylelint-disable-next-line carbon/layout-token-use
57
+ // stylelint-disable-next-line carbon/layout-use
58
58
  padding-left: calc($spacing-01 + $spacing-03);
59
59
 
60
60
  /* stylelint-disable-next-line max-nesting-depth */
@@ -5,6 +5,9 @@
5
5
  // LICENSE file in the root directory of this source tree.
6
6
  //
7
7
 
8
+ @use 'sass:list';
9
+ @use 'sass:map';
10
+
8
11
  // Other Carbon settings.
9
12
  @use '@carbon/styles/scss/theme' as *;
10
13
  @use '@carbon/styles/scss/spacing' as *;
@@ -22,12 +25,11 @@
22
25
  // SidePanel uses the following IBM Products components:
23
26
  // ActionSet
24
27
  @use '../ActionSet/action-set';
25
- @use 'sass:list';
26
28
 
27
29
  $block-class: #{c4p-settings.$pkg-prefix}--side-panel;
28
30
  $action-set-block-class: #{c4p-settings.$pkg-prefix}--action-set;
29
31
 
30
- @mixin setPanelSize($size: map-get($side-panel-sizes, md)) {
32
+ @mixin setPanelSize($size: map.get($side-panel-sizes, md)) {
31
33
  /* any value is single value list */
32
34
  width: list.nth($size, 1);
33
35
  @if list.length($size) > 1 {
@@ -51,7 +53,7 @@ $action-set-block-class: #{c4p-settings.$pkg-prefix}--action-set;
51
53
  @mixin setCommonTitleStyles() {
52
54
  display: -webkit-box;
53
55
  overflow: hidden;
54
- /* stylelint-disable-next-line carbon/layout-token-use -- custom css property set below */
56
+ /* stylelint-disable-next-line carbon/layout-use -- custom css property set below */
55
57
  padding-right: var(--#{$block-class}--title-padding-right);
56
58
  -webkit-box-orient: vertical;
57
59
  -webkit-line-clamp: 2;
@@ -110,7 +112,8 @@ $action-set-block-class: #{c4p-settings.$pkg-prefix}--action-set;
110
112
  border-right: 1px solid $border-subtle-02;
111
113
  }
112
114
  &.#{$block-class}.#{$block-class}--has-slug,
113
- &.#{$block-class}.#{$block-class}--has-ai-label {
115
+ &.#{$block-class}.#{$block-class}--has-ai-label,
116
+ &.#{$block-class}.#{$block-class}--has-decorator {
114
117
  border-color: transparent;
115
118
  box-shadow: inset 0 -80px 70px -65px $ai-inner-shadow,
116
119
  0 4px 10px 2px $ai-drop-shadow;
@@ -121,7 +124,7 @@ $action-set-block-class: #{c4p-settings.$pkg-prefix}--action-set;
121
124
 
122
125
  position: sticky;
123
126
  z-index: 4;
124
- /* stylelint-disable-next-line carbon/layout-token-use */
127
+ /* stylelint-disable-next-line carbon/layout-use */
125
128
  top: calc(-1px * var(--#{$block-class}--scroll-animation-distance));
126
129
  min-height: $spacing-08;
127
130
  padding: $spacing-05;
@@ -197,14 +200,16 @@ $action-set-block-class: #{c4p-settings.$pkg-prefix}--action-set;
197
200
  &.#{$block-class}:has(.#{$block-class}__action-toolbar),
198
201
  &.#{$block-class}--has-action-toolbar,
199
202
  &.#{$block-class}--has-slug,
200
- &.#{$block-class}--has-ai-label {
203
+ &.#{$block-class}--has-ai-label,
204
+ &.#{$block-class}--has-decorator {
201
205
  --#{$block-class}--title-padding-right: #{$spacing-10};
202
206
  }
203
207
 
204
208
  &.#{$block-class}:has(.#{$block-class}__action-toolbar),
205
209
  &.#{$block-class}--has-action-toolbar {
206
210
  &.#{$block-class}--has-slug,
207
- &.#{$block-class}--has-ai-label {
211
+ &.#{$block-class}--has-ai-label,
212
+ &.#{$block-class}--has-decorator {
208
213
  --#{$block-class}--title-padding-right: #{$spacing-11};
209
214
  }
210
215
  }
@@ -217,7 +222,7 @@ $action-set-block-class: #{c4p-settings.$pkg-prefix}--action-set;
217
222
  .#{$block-class}__title {
218
223
  position: sticky;
219
224
  z-index: 4;
220
- /* stylelint-disable-next-line carbon/layout-token-use */
225
+ /* stylelint-disable-next-line carbon/layout-use */
221
226
  top: var(--#{$block-class}--title-stop);
222
227
 
223
228
  /* border-bottom used instead of padding which wrapped text shows through */
@@ -234,7 +239,7 @@ $action-set-block-class: #{c4p-settings.$pkg-prefix}--action-set;
234
239
  }
235
240
 
236
241
  .#{$block-class}__title--no-label .#{$block-class}__title-text {
237
- /* stylelint-disable-next-line carbon/layout-token-use */
242
+ /* stylelint-disable-next-line carbon/layout-use */
238
243
  transform: translateY(
239
244
  calc(
240
245
  -1 * #{$spacing-05} * var(--#{$block-class}--scroll-animation-progress)
@@ -261,13 +266,12 @@ $action-set-block-class: #{c4p-settings.$pkg-prefix}--action-set;
261
266
  @include setCommonTitleStyles();
262
267
 
263
268
  position: absolute;
264
- /* stylelint-disable-next-line carbon/layout-token-use */
265
269
  top: 0;
266
270
  opacity: var(--#{$block-class}--scroll-animation-progress);
267
271
  }
268
272
 
269
273
  .#{$block-class}__title--no-label .#{$block-class}__collapsed-title-text {
270
- /* stylelint-disable-next-line carbon/layout-token-use */
274
+ /* stylelint-disable-next-line carbon/layout-use */
271
275
  transform: translateY(
272
276
  calc(
273
277
  #{$spacing-05} * (1 - var(--#{$block-class}--scroll-animation-progress))
@@ -312,7 +316,8 @@ $action-set-block-class: #{c4p-settings.$pkg-prefix}--action-set;
312
316
  }
313
317
 
314
318
  &.#{$block-class}--has-slug .#{$block-class}--scrolls,
315
- &.#{$block-class}--has-ai-label .#{$block-class}--scrolls {
319
+ &.#{$block-class}--has-ai-label .#{$block-class}--scrolls,
320
+ &.#{$block-class}--has-decorator .#{$block-class}--scrolls {
316
321
  @include utilities.ai-popover-gradient('default', 0, 'layer');
317
322
 
318
323
  box-shadow: inset 0 -80px 70px -65px $ai-inner-shadow,
@@ -367,7 +372,8 @@ $action-set-block-class: #{c4p-settings.$pkg-prefix}--action-set;
367
372
  }
368
373
 
369
374
  .#{$block-class}__slug-and-close,
370
- .#{$block-class}__ai-label-and-close {
375
+ .#{$block-class}__ai-label-and-close,
376
+ .#{$block-class}__decorator-and-close {
371
377
  position: absolute;
372
378
  z-index: 10; /* must be higher than title container border bottom */
373
379
  top: 0;
@@ -409,7 +415,7 @@ $action-set-block-class: #{c4p-settings.$pkg-prefix}--action-set;
409
415
  }
410
416
  &.#{$block-class}.#{$block-class}--xs
411
417
  .#{$block-class}__actions-container.#{$action-set-block-class}--sm {
412
- @include setPanelSize(map-get($side-panel-sizes, xs));
418
+ @include setPanelSize(map.get($side-panel-sizes, xs));
413
419
  }
414
420
  }
415
421
 
@@ -453,7 +459,7 @@ $action-set-block-class: #{c4p-settings.$pkg-prefix}--action-set;
453
459
  height: 1px;
454
460
  padding: 0;
455
461
  border: 0;
456
- // stylelint-disable-next-line carbon/layout-token-use
462
+ // stylelint-disable-next-line carbon/layout-use
457
463
  margin: -1px;
458
464
  clip: rect(0, 0, 0, 0);
459
465
  visibility: inherit;
@@ -469,8 +475,9 @@ $action-set-block-class: #{c4p-settings.$pkg-prefix}--action-set;
469
475
  inset: 0;
470
476
  }
471
477
 
478
+ /* stylelint-disable-next-line carbon/theme-token-use */
472
479
  .#{$block-class}--has-slug + .#{$block-class}__overlay,
473
- .#{$block-class}--has-ai-label + .#{$block-class}__overlay {
474
- /* stylelint-disable-next-line carbon/theme-token-use */
480
+ .#{$block-class}--has-ai-label + .#{$block-class}__overlay,
481
+ .#{$block-class}--has-decorator + .#{$block-class}__overlay {
475
482
  background-color: $ai-overlay;
476
483
  }
@@ -5,6 +5,8 @@
5
5
  // LICENSE file in the root directory of this source tree.
6
6
  //
7
7
 
8
+ @use 'sass:map';
9
+
8
10
  // Standard imports.
9
11
  @use '@carbon/react/scss/colors' as *;
10
12
  @use '../../global/styles/project-settings' as *;
@@ -74,8 +76,8 @@ $themes: ('light', 'dark');
74
76
  $block-class: #{$pkg-prefix}--status-icon;
75
77
 
76
78
  @function carbon-clr($name, $theme: light) {
77
- // stylelint-disable-next-line carbon/theme-token-use
78
- $color: map-get(map-get($colors, $name), $theme);
79
+ // stylelint-disable-next-line carbon/theme-use
80
+ $color: map.get(map.get($colors, $name), $theme);
79
81
  @return $color;
80
82
  }
81
83
 
@@ -96,7 +98,7 @@ $block-class: #{$pkg-prefix}--status-icon;
96
98
 
97
99
  .#{$block-class}--light.#{$block-class}--light-minor-warning,
98
100
  .#{$block-class}--dark.#{$block-class}--dark-minor-warning {
99
- // stylelint-disable-next-line carbon/theme-token-use
101
+ // stylelint-disable-next-line carbon/theme-use
100
102
  fill: $yellow-20;
101
103
  }
102
104
 
@@ -106,7 +108,7 @@ $block-class: #{$pkg-prefix}--status-icon;
106
108
  .#{$block-class}--light.#{$block-class}--light-minor-warning
107
109
  path:nth-of-type(1),
108
110
  .#{$block-class}--dark.#{$block-class}--dark-minor-warning path:nth-of-type(1) {
109
- // stylelint-disable-next-line carbon/theme-token-use
111
+ // stylelint-disable-next-line carbon/theme-use
110
112
  fill: $gray-100;
111
113
  }
112
114
 
@@ -124,13 +126,13 @@ $block-class: #{$pkg-prefix}--status-icon;
124
126
  }
125
127
  // stylelint-disable-next-line carbon/motion-duration-use, carbon/motion-easing-use
126
128
  animation: rotating 8000ms infinite linear;
127
- // stylelint-disable-next-line carbon/theme-token-use
129
+ // stylelint-disable-next-line carbon/theme-use
128
130
  fill: carbon-clr($icon, $theme);
129
131
  } @else if $icon == running {
130
- // stylelint-disable-next-line carbon/theme-token-use
132
+ // stylelint-disable-next-line carbon/theme-use
131
133
  fill: carbon-clr($icon, $theme);
132
134
  } @else {
133
- // stylelint-disable-next-line carbon/theme-token-use
135
+ // stylelint-disable-next-line carbon/theme-use
134
136
  fill: carbon-clr($icon, $theme);
135
137
  @media (prefers-reduced-motion) {
136
138
  .#{$block-class}--#{$theme}.#{$block-class}--#{$theme-key}-in-progress {
@@ -5,7 +5,7 @@
5
5
  // LICENSE file in the root directory of this source tree.
6
6
  //
7
7
 
8
- /* stylelint-disable carbon/layout-token-use */
8
+ /* stylelint-disable carbon/layout-use */
9
9
  /* stylelint-disable function-no-unknown */
10
10
 
11
11
  // Standard imports.
@@ -22,7 +22,7 @@
22
22
 
23
23
  $block-class: #{$pkg-prefix}--tearsheet;
24
24
 
25
- // stylelint-disable-next-line carbon/theme-token-use
25
+ // stylelint-disable-next-line carbon/theme-use
26
26
  $motion-duration: $duration-moderate-02;
27
27
 
28
28
  @include block-wrap($block-class) {
@@ -105,7 +105,7 @@ $motion-duration: $duration-moderate-02;
105
105
  // viewport, capped at 500px to set an upper limit on the movement speed
106
106
  // For the reason for calc() see https://github.com/sass/sass/issues/2849
107
107
  // and https://github.com/sass/node-sass/issues/2815.
108
- // stylelint-disable-next-line carbon/layout-token-use
108
+ // stylelint-disable-next-line carbon/layout-use
109
109
  transform: translate3d(0, calc(min(95vh, 500px)), 0);
110
110
  }
111
111
 
@@ -289,7 +289,7 @@ $motion-duration: $duration-moderate-02;
289
289
  &.#{$block-class}--wide.#{$block-class}--has-ai-label
290
290
  .#{$block-class}__header.#{$block-class}__header--with-close-icon {
291
291
  /* spacing 11 plus additional space for slug/close */
292
- /* stylelint-disable-next-line carbon/layout-token-use */
292
+ /* stylelint-disable-next-line carbon/layout-use */
293
293
  padding-inline-end: calc(#{$spacing-11 + $spacing-09});
294
294
  }
295
295
 
@@ -427,7 +427,6 @@ $motion-duration: $duration-moderate-02;
427
427
 
428
428
  &.#{$block-class}--has-slug,
429
429
  &.#{$block-class}--has-ai-label {
430
- /* stylelint-disable-next-line carbon/theme-token-use */
431
430
  --overlay-color: #{$ai-overlay};
432
431
  }
433
432
 
@@ -436,7 +435,8 @@ $motion-duration: $duration-moderate-02;
436
435
  &.#{$block-class}--has-ai-label:not(.#{$block-class}--has-close)
437
436
  .#{$carbon-prefix}--slug {
438
437
  inset-inline-end: 0;
438
+ /* stylelint-disable-next-line carbon/layout-use */
439
439
  margin-block: 6px;
440
- margin-inline-end: 1rem;
440
+ margin-inline-end: $spacing-05;
441
441
  }
442
442
  }
@@ -5,6 +5,8 @@
5
5
  // LICENSE file in the root directory of this source tree.
6
6
  //
7
7
 
8
+ @use 'sass:map';
9
+
8
10
  // Standard imports.
9
11
  @use '../../global/styles/project-settings' as *;
10
12
  @use '../../global/styles/mixins';
@@ -34,7 +36,7 @@ $sizes: (
34
36
  );
35
37
 
36
38
  @mixin size($size) {
37
- $_size: map-get($sizes, $size);
39
+ $_size: map.get($sizes, $size);
38
40
 
39
41
  width: $_size;
40
42
  height: $_size;
@@ -60,7 +62,7 @@ $sizes: (
60
62
 
61
63
  .#{$block-class}__tooltip {
62
64
  &:focus-within .#{$block-class} {
63
- // stylelint-disable-next-line carbon/theme-token-use
65
+ // stylelint-disable-next-line carbon/theme-use
64
66
  outline: 2px solid $focus;
65
67
  outline-offset: 1px;
66
68
  }
@@ -72,7 +74,7 @@ $sizes: (
72
74
  }
73
75
 
74
76
  @mixin setBgColor($color) {
75
- // stylelint-disable-next-line carbon/theme-token-use
77
+ // stylelint-disable-next-line carbon/theme-use
76
78
  background-color: $color;
77
79
  }
78
80
 
@@ -5,6 +5,8 @@
5
5
  // LICENSE file in the root directory of this source tree.
6
6
  //
7
7
 
8
+ @use 'sass:map';
9
+
8
10
  // Standard imports.
9
11
  @use '@carbon/styles/scss/theme' as *;
10
12
  @use '@carbon/styles/scss/spacing' as *;
@@ -24,7 +26,7 @@ $sizes: (
24
26
  );
25
27
 
26
28
  @mixin size($size) {
27
- $_size: map-get($sizes, $size);
29
+ $_size: map.get($sizes, $size);
28
30
 
29
31
  width: $_size;
30
32
  height: $_size;
@@ -45,9 +47,9 @@ $themes: (
45
47
  $theme-keys: map-keys($themes);
46
48
 
47
49
  @function carbon-get-background-color($color, $key, $contrast-key) {
48
- @return map-get(
50
+ @return map.get(
49
51
  $carbon-colors,
50
- #{$color}#{map-get(map-get($themes, $key), #{$contrast-key}-contrast)}
52
+ #{$color}#{map.get(map.get($themes, $key), #{$contrast-key}-contrast)}
51
53
  );
52
54
  }
53
55
 
@@ -58,7 +60,7 @@ $theme-keys: map-keys($themes);
58
60
  @each $color in $base-colors {
59
61
  @each $contrast-key in $theme-keys {
60
62
  .#{$block-class}--#{$key}.#{$block-class}--#{$contrast-key}-#{$color} {
61
- // stylelint-disable-next-line carbon/theme-token-use
63
+ // stylelint-disable-next-line carbon/theme-use
62
64
  background-color: carbon-get-background-color(
63
65
  $color,
64
66
  $key,
@@ -18,7 +18,7 @@ $block-class: #{$pkg-prefix}--web-terminal;
18
18
  @keyframes web-terminal-entrance {
19
19
  from {
20
20
  opacity: 0;
21
- // stylelint-disable-next-line carbon/layout-token-use
21
+ // stylelint-disable-next-line carbon/layout-use
22
22
  transform: translateX(#{$web-terminal-width});
23
23
  }
24
24
 
@@ -36,7 +36,7 @@ $block-class: #{$pkg-prefix}--web-terminal;
36
36
 
37
37
  to {
38
38
  opacity: 0;
39
- // stylelint-disable-next-line carbon/layout-token-use
39
+ // stylelint-disable-next-line carbon/layout-use
40
40
  transform: translateX(#{$web-terminal-width});
41
41
  }
42
42
  }
@@ -39,3 +39,4 @@
39
39
  @use './Tearsheet';
40
40
  @use './UserProfileImage';
41
41
  @use './WebTerminal';
42
+ @use './UserAvatar';