@carbon/ibm-products-styles 2.77.0-rc.0 → 2.78.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (403) hide show
  1. package/css/config-dev.css +8 -0
  2. package/css/config-dev.css.map +1 -0
  3. package/css/config.css +8 -0
  4. package/css/config.css.map +1 -0
  5. package/css/index-full-carbon.css +46381 -0
  6. package/css/index-full-carbon.css.map +1 -0
  7. package/css/index-full-carbon.min.css +1 -0
  8. package/css/index-full-carbon.min.css.map +1 -0
  9. package/css/index-without-carbon-released-only.css +12851 -0
  10. package/css/index-without-carbon-released-only.css.map +1 -0
  11. package/css/index-without-carbon-released-only.min.css +1 -0
  12. package/css/index-without-carbon-released-only.min.css.map +1 -0
  13. package/css/index-without-carbon.css +19335 -0
  14. package/css/index-without-carbon.css.map +1 -0
  15. package/css/index-without-carbon.min.css +1 -0
  16. package/css/index-without-carbon.min.css.map +1 -0
  17. package/css/index.css +28233 -0
  18. package/css/index.css.map +1 -0
  19. package/css/index.min.css +1 -0
  20. package/css/index.min.css.map +1 -0
  21. package/package.json +3 -3
  22. package/scss/components/APIKeyModal/_api-key-modal.scss +56 -0
  23. package/scss/components/APIKeyModal/_carbon-imports.scss +15 -0
  24. package/scss/components/APIKeyModal/_index-with-carbon.scss +9 -0
  25. package/scss/components/APIKeyModal/_index.scss +10 -0
  26. package/scss/components/AboutModal/_about-modal.scss +101 -0
  27. package/scss/components/AboutModal/_carbon-imports.scss +11 -0
  28. package/scss/components/AboutModal/_index-with-carbon.scss +9 -0
  29. package/scss/components/AboutModal/_index.scss +8 -0
  30. package/scss/components/ActionBar/_action-bar.scss +51 -0
  31. package/scss/components/ActionBar/_carbon-imports.scss +11 -0
  32. package/scss/components/ActionBar/_index-with-carbon.scss +9 -0
  33. package/scss/components/ActionBar/_index.scss +8 -0
  34. package/scss/components/ActionSet/_action-set.scss +126 -0
  35. package/scss/components/ActionSet/_carbon-imports.scss +11 -0
  36. package/scss/components/ActionSet/_index-with-carbon.scss +9 -0
  37. package/scss/components/ActionSet/_index.scss +8 -0
  38. package/scss/components/AddSelect/_add-select.scss +468 -0
  39. package/scss/components/AddSelect/_carbon-imports.scss +19 -0
  40. package/scss/components/AddSelect/_index-with-carbon.scss +9 -0
  41. package/scss/components/AddSelect/_index.scss +10 -0
  42. package/scss/components/BigNumber/_big-number.scss +157 -0
  43. package/scss/components/BigNumber/_carbon-imports.scss +11 -0
  44. package/scss/components/BigNumber/_index-with-carbon.scss +9 -0
  45. package/scss/components/BigNumber/_index.scss +8 -0
  46. package/scss/components/BreadcrumbWithOverflow/_breadcrumb-with-overflow.scss +96 -0
  47. package/scss/components/BreadcrumbWithOverflow/_carbon-imports.scss +12 -0
  48. package/scss/components/BreadcrumbWithOverflow/_index-with-carbon.scss +9 -0
  49. package/scss/components/BreadcrumbWithOverflow/_index.scss +8 -0
  50. package/scss/components/ButtonMenu/_button-menu.scss +60 -0
  51. package/scss/components/ButtonMenu/_carbon-imports.scss +9 -0
  52. package/scss/components/ButtonMenu/_index-with-carbon.scss +9 -0
  53. package/scss/components/ButtonMenu/_index.scss +8 -0
  54. package/scss/components/ButtonSetWithOverflow/_button-set-with-overflow.scss +42 -0
  55. package/scss/components/ButtonSetWithOverflow/_carbon-imports.scss +10 -0
  56. package/scss/components/ButtonSetWithOverflow/_index-with-carbon.scss +9 -0
  57. package/scss/components/ButtonSetWithOverflow/_index.scss +8 -0
  58. package/scss/components/Card/_carbon-imports.scss +11 -0
  59. package/scss/components/Card/_card.scss +238 -0
  60. package/scss/components/Card/_index-with-carbon.scss +9 -0
  61. package/scss/components/Card/_index.scss +8 -0
  62. package/scss/components/Carousel/_carbon-imports.scss +6 -0
  63. package/scss/components/Carousel/_carousel.scss +76 -0
  64. package/scss/components/Carousel/_index-with-carbon.scss +9 -0
  65. package/scss/components/Carousel/_index.scss +8 -0
  66. package/scss/components/Cascade/_carbon-imports.scss +6 -0
  67. package/scss/components/Cascade/_cascade.scss +47 -0
  68. package/scss/components/Cascade/_index-with-carbon.scss +9 -0
  69. package/scss/components/Cascade/_index.scss +10 -0
  70. package/scss/components/Checklist/_carbon-imports.scss +11 -0
  71. package/scss/components/Checklist/_checklist.scss +217 -0
  72. package/scss/components/Checklist/_index-with-carbon.scss +9 -0
  73. package/scss/components/Checklist/_index.scss +8 -0
  74. package/scss/components/Coachmark/_bubble.scss +61 -0
  75. package/scss/components/Coachmark/_carbon-imports.scss +10 -0
  76. package/scss/components/Coachmark/_coachmark-beacon.scss +164 -0
  77. package/scss/components/Coachmark/_coachmark-dragbar.scss +26 -0
  78. package/scss/components/Coachmark/_coachmark-header.scss +20 -0
  79. package/scss/components/Coachmark/_coachmark-overlay.scss +376 -0
  80. package/scss/components/Coachmark/_coachmark-tagline.scss +143 -0
  81. package/scss/components/Coachmark/_coachmark.scss +53 -0
  82. package/scss/components/Coachmark/_index-with-carbon.scss +9 -0
  83. package/scss/components/Coachmark/_index.scss +8 -0
  84. package/scss/components/CoachmarkBeacon/_carbon-imports.scss +9 -0
  85. package/scss/components/CoachmarkBeacon/_coachmark-beacon.scss +164 -0
  86. package/scss/components/CoachmarkBeacon/_index-with-carbon.scss +9 -0
  87. package/scss/components/CoachmarkBeacon/_index.scss +8 -0
  88. package/scss/components/CoachmarkButton/_carbon-imports.scss +9 -0
  89. package/scss/components/CoachmarkButton/_coachmark-button.scss +25 -0
  90. package/scss/components/CoachmarkButton/_index-with-carbon.scss +9 -0
  91. package/scss/components/CoachmarkButton/_index.scss +8 -0
  92. package/scss/components/CoachmarkFixed/_carbon-imports.scss +9 -0
  93. package/scss/components/CoachmarkFixed/_coachmark-fixed.scss +25 -0
  94. package/scss/components/CoachmarkFixed/_index-with-carbon.scss +9 -0
  95. package/scss/components/CoachmarkFixed/_index.scss +8 -0
  96. package/scss/components/CoachmarkOverlayElement/_carbon-imports.scss +9 -0
  97. package/scss/components/CoachmarkOverlayElement/_coachmark-overlay-element.scss +52 -0
  98. package/scss/components/CoachmarkOverlayElement/_index-with-carbon.scss +9 -0
  99. package/scss/components/CoachmarkOverlayElement/_index.scss +8 -0
  100. package/scss/components/CoachmarkOverlayElements/_carbon-imports.scss +9 -0
  101. package/scss/components/CoachmarkOverlayElements/_coachmark-overlay-elements.scss +48 -0
  102. package/scss/components/CoachmarkOverlayElements/_index-with-carbon.scss +9 -0
  103. package/scss/components/CoachmarkOverlayElements/_index.scss +8 -0
  104. package/scss/components/CoachmarkStack/_carbon-imports.scss +9 -0
  105. package/scss/components/CoachmarkStack/_coachmark-stack.scss +133 -0
  106. package/scss/components/CoachmarkStack/_index-with-carbon.scss +9 -0
  107. package/scss/components/CoachmarkStack/_index.scss +8 -0
  108. package/scss/components/ComboButton/_carbon-imports.scss +11 -0
  109. package/scss/components/ComboButton/_combo-button.scss +78 -0
  110. package/scss/components/ComboButton/_index-with-carbon.scss +9 -0
  111. package/scss/components/ComboButton/_index.scss +10 -0
  112. package/scss/components/ConditionBuilder/_carbon-imports.scss +9 -0
  113. package/scss/components/ConditionBuilder/_condition-builder.scss +79 -0
  114. package/scss/components/ConditionBuilder/_index-with-carbon.scss +9 -0
  115. package/scss/components/ConditionBuilder/_index.scss +8 -0
  116. package/scss/components/ConditionBuilder/styles/_conditionBuilderCondition.scss +114 -0
  117. package/scss/components/ConditionBuilder/styles/_conditionBuilderItem.scss +322 -0
  118. package/scss/components/ConditionBuilder/styles/_index.scss +9 -0
  119. package/scss/components/CreateFullPage/_carbon-imports.scss +17 -0
  120. package/scss/components/CreateFullPage/_create-full-page.scss +188 -0
  121. package/scss/components/CreateFullPage/_index-with-carbon.scss +9 -0
  122. package/scss/components/CreateFullPage/_index.scss +8 -0
  123. package/scss/components/CreateInfluencer/_carbon-imports.scss +10 -0
  124. package/scss/components/CreateInfluencer/_create-influencer.scss +93 -0
  125. package/scss/components/CreateInfluencer/_index-with-carbon.scss +9 -0
  126. package/scss/components/CreateInfluencer/_index.scss +8 -0
  127. package/scss/components/CreateModal/_carbon-imports.scss +12 -0
  128. package/scss/components/CreateModal/_create-modal.scss +78 -0
  129. package/scss/components/CreateModal/_index-with-carbon.scss +9 -0
  130. package/scss/components/CreateModal/_index.scss +8 -0
  131. package/scss/components/CreateSidePanel/_carbon-imports.scss +10 -0
  132. package/scss/components/CreateSidePanel/_create-side-panel.scss +56 -0
  133. package/scss/components/CreateSidePanel/_index-with-carbon.scss +9 -0
  134. package/scss/components/CreateSidePanel/_index.scss +8 -0
  135. package/scss/components/CreateTearsheet/_carbon-imports.scss +10 -0
  136. package/scss/components/CreateTearsheet/_create-tearsheet.scss +165 -0
  137. package/scss/components/CreateTearsheet/_index-with-carbon.scss +9 -0
  138. package/scss/components/CreateTearsheet/_index.scss +8 -0
  139. package/scss/components/CreateTearsheetNarrow/_carbon-imports.scss +10 -0
  140. package/scss/components/CreateTearsheetNarrow/_create-tearsheet-narrow.scss +61 -0
  141. package/scss/components/CreateTearsheetNarrow/_index-with-carbon.scss +9 -0
  142. package/scss/components/CreateTearsheetNarrow/_index.scss +8 -0
  143. package/scss/components/DataSpreadsheet/_carbon-imports.scss +6 -0
  144. package/scss/components/DataSpreadsheet/_data-spreadsheet.scss +310 -0
  145. package/scss/components/DataSpreadsheet/_index-with-carbon.scss +9 -0
  146. package/scss/components/DataSpreadsheet/_index.scss +8 -0
  147. package/scss/components/Datagrid/_carbon-imports.scss +6 -0
  148. package/scss/components/Datagrid/_datagrid.scss +86 -0
  149. package/scss/components/Datagrid/_index-with-carbon.scss +9 -0
  150. package/scss/components/Datagrid/_index.scss +8 -0
  151. package/scss/components/Datagrid/styles/_datagrid.scss +1006 -0
  152. package/scss/components/Datagrid/styles/_draggableElement.scss +120 -0
  153. package/scss/components/Datagrid/styles/_index.scss +22 -0
  154. package/scss/components/Datagrid/styles/_useActionsColumn.scss +42 -0
  155. package/scss/components/Datagrid/styles/_useColumnCenterAlign.scss +19 -0
  156. package/scss/components/Datagrid/styles/_useColumnRightAlign.scss +28 -0
  157. package/scss/components/Datagrid/styles/_useExpandedRow.scss +101 -0
  158. package/scss/components/Datagrid/styles/_useInlineEdit.scss +445 -0
  159. package/scss/components/Datagrid/styles/_useNestedRows.scss +128 -0
  160. package/scss/components/Datagrid/styles/_useNestedTable.scss +36 -0
  161. package/scss/components/Datagrid/styles/_useSelectAllToggle.scss +37 -0
  162. package/scss/components/Datagrid/styles/_useSortableColumns.scss +85 -0
  163. package/scss/components/Datagrid/styles/_useStickyColumn.scss +72 -0
  164. package/scss/components/Datagrid/styles/_variables.scss +10 -0
  165. package/scss/components/Datagrid/styles/addons/_CustomizeColumnsTearsheet.scss +77 -0
  166. package/scss/components/Datagrid/styles/addons/_FilterFlyout.scss +110 -0
  167. package/scss/components/Datagrid/styles/addons/_FilterPanel.scss +218 -0
  168. package/scss/components/Datagrid/styles/addons/_RowSizeDropdown.scss +94 -0
  169. package/scss/components/Datagrid/styles/addons/_animations.scss +56 -0
  170. package/scss/components/Decorator/_carbon-imports.scss +9 -0
  171. package/scss/components/Decorator/_decorator.scss +23 -0
  172. package/scss/components/Decorator/_index-with-carbon.scss +9 -0
  173. package/scss/components/Decorator/_index.scss +8 -0
  174. package/scss/components/DecoratorBase/_carbon-imports.scss +9 -0
  175. package/scss/components/DecoratorBase/_decorator-base-mixins.scss +39 -0
  176. package/scss/components/DecoratorBase/_decorator-base.scss +145 -0
  177. package/scss/components/DecoratorBase/_index-with-carbon.scss +9 -0
  178. package/scss/components/DecoratorBase/_index.scss +8 -0
  179. package/scss/components/DecoratorDualButton/_carbon-imports.scss +9 -0
  180. package/scss/components/DecoratorDualButton/_decorator-dual-button.scss +112 -0
  181. package/scss/components/DecoratorDualButton/_index-with-carbon.scss +9 -0
  182. package/scss/components/DecoratorDualButton/_index.scss +8 -0
  183. package/scss/components/DecoratorLink/_carbon-imports.scss +9 -0
  184. package/scss/components/DecoratorLink/_decorator-link.scss +53 -0
  185. package/scss/components/DecoratorLink/_index-with-carbon.scss +9 -0
  186. package/scss/components/DecoratorLink/_index.scss +8 -0
  187. package/scss/components/DecoratorSingleButton/_carbon-imports.scss +9 -0
  188. package/scss/components/DecoratorSingleButton/_decorator-single-button.scss +117 -0
  189. package/scss/components/DecoratorSingleButton/_index-with-carbon.scss +9 -0
  190. package/scss/components/DecoratorSingleButton/_index.scss +8 -0
  191. package/scss/components/DelimitedList/_carbon-imports.scss +9 -0
  192. package/scss/components/DelimitedList/_delimited-list.scss +27 -0
  193. package/scss/components/DelimitedList/_index-with-carbon.scss +9 -0
  194. package/scss/components/DelimitedList/_index.scss +8 -0
  195. package/scss/components/DescriptionList/_carbon-imports.scss +9 -0
  196. package/scss/components/DescriptionList/_description-list.scss +103 -0
  197. package/scss/components/DescriptionList/_index-with-carbon.scss +9 -0
  198. package/scss/components/DescriptionList/_index.scss +8 -0
  199. package/scss/components/EditFullPage/_edit-full-page.scss +26 -0
  200. package/scss/components/EditFullPage/_index.scss +8 -0
  201. package/scss/components/EditInPlace/_carbon-imports.scss +9 -0
  202. package/scss/components/EditInPlace/_edit-in-place.scss +154 -0
  203. package/scss/components/EditInPlace/_index-with-carbon.scss +9 -0
  204. package/scss/components/EditInPlace/_index.scss +10 -0
  205. package/scss/components/EditSidePanel/_carbon-imports.scss +9 -0
  206. package/scss/components/EditSidePanel/_edit-side-panel.scss +48 -0
  207. package/scss/components/EditSidePanel/_index-with-carbon.scss +9 -0
  208. package/scss/components/EditSidePanel/_index.scss +8 -0
  209. package/scss/components/EditTearsheet/_carbon-imports.scss +9 -0
  210. package/scss/components/EditTearsheet/_edit-tearsheet.scss +134 -0
  211. package/scss/components/EditTearsheet/_index-with-carbon.scss +9 -0
  212. package/scss/components/EditTearsheet/_index.scss +8 -0
  213. package/scss/components/EditTearsheetNarrow/_edit-tearsheet-narrow.scss +26 -0
  214. package/scss/components/EditTearsheetNarrow/_index.scss +8 -0
  215. package/scss/components/EditUpdateCards/_carbon-imports.scss +9 -0
  216. package/scss/components/EditUpdateCards/_edit-update-cards.scss +95 -0
  217. package/scss/components/EditUpdateCards/_index-with-carbon.scss +9 -0
  218. package/scss/components/EditUpdateCards/_index.scss +8 -0
  219. package/scss/components/EmptyStates/_carbon-imports.scss +11 -0
  220. package/scss/components/EmptyStates/_empty-state.scss +85 -0
  221. package/scss/components/EmptyStates/_index-with-carbon.scss +9 -0
  222. package/scss/components/EmptyStates/_index.scss +8 -0
  223. package/scss/components/ExampleComponent/_carbon-imports.scss +10 -0
  224. package/scss/components/ExampleComponent/_example-component.scss +28 -0
  225. package/scss/components/ExampleComponent/_index-with-carbon.scss +9 -0
  226. package/scss/components/ExampleComponent/_index.scss +8 -0
  227. package/scss/components/ExportModal/_carbon-imports.scss +16 -0
  228. package/scss/components/ExportModal/_export-modal.scss +46 -0
  229. package/scss/components/ExportModal/_index-with-carbon.scss +9 -0
  230. package/scss/components/ExportModal/_index.scss +10 -0
  231. package/scss/components/ExpressiveCard/_carbon-imports.scss +6 -0
  232. package/scss/components/ExpressiveCard/_expressive-card.scss +18 -0
  233. package/scss/components/ExpressiveCard/_index-with-carbon.scss +9 -0
  234. package/scss/components/ExpressiveCard/_index.scss +10 -0
  235. package/scss/components/FilterPanel/_carbon-imports.scss +14 -0
  236. package/scss/components/FilterPanel/_filter-panel-accordion-item.scss +54 -0
  237. package/scss/components/FilterPanel/_filter-panel-accordion.scss +6 -0
  238. package/scss/components/FilterPanel/_filter-panel-checkbox-with-overflow.scss +60 -0
  239. package/scss/components/FilterPanel/_filter-panel-checkbox.scss +53 -0
  240. package/scss/components/FilterPanel/_filter-panel-group.scss +37 -0
  241. package/scss/components/FilterPanel/_filter-panel-label.scss +39 -0
  242. package/scss/components/FilterPanel/_filter-panel-search.scss +40 -0
  243. package/scss/components/FilterPanel/_filter-panel.scss +30 -0
  244. package/scss/components/FilterPanel/_index-with-carbon.scss +16 -0
  245. package/scss/components/FilterPanel/_index.scss +15 -0
  246. package/scss/components/FilterSummary/_filter-summary.scss +55 -0
  247. package/scss/components/FilterSummary/_index.scss +10 -0
  248. package/scss/components/FullPageError/_carbon-imports.scss +9 -0
  249. package/scss/components/FullPageError/_full-page-error.scss +87 -0
  250. package/scss/components/FullPageError/_index-with-carbon.scss +9 -0
  251. package/scss/components/FullPageError/_index.scss +8 -0
  252. package/scss/components/GetStartedCard/_carbon-imports.scss +9 -0
  253. package/scss/components/GetStartedCard/_get-started-card.scss +133 -0
  254. package/scss/components/GetStartedCard/_index-with-carbon.scss +9 -0
  255. package/scss/components/GetStartedCard/_index.scss +8 -0
  256. package/scss/components/Guidebanner/_carbon-imports.scss +6 -0
  257. package/scss/components/Guidebanner/_guidebanner.scss +274 -0
  258. package/scss/components/Guidebanner/_index-with-carbon.scss +9 -0
  259. package/scss/components/Guidebanner/_index.scss +8 -0
  260. package/scss/components/HTTPErrors/_carbon-imports.scss +10 -0
  261. package/scss/components/HTTPErrors/_http-errors.scss +145 -0
  262. package/scss/components/HTTPErrors/_index-with-carbon.scss +9 -0
  263. package/scss/components/HTTPErrors/_index.scss +8 -0
  264. package/scss/components/ImportModal/_carbon-imports.scss +14 -0
  265. package/scss/components/ImportModal/_import-modal.scss +82 -0
  266. package/scss/components/ImportModal/_index-with-carbon.scss +9 -0
  267. package/scss/components/ImportModal/_index.scss +8 -0
  268. package/scss/components/InlineTip/_index.scss +8 -0
  269. package/scss/components/InlineTip/_inline-tip.scss +242 -0
  270. package/scss/components/InterstitialScreen/_carbon-imports.scss +9 -0
  271. package/scss/components/InterstitialScreen/_index-with-carbon.scss +9 -0
  272. package/scss/components/InterstitialScreen/_index.scss +8 -0
  273. package/scss/components/InterstitialScreen/_interstitial-screen.scss +158 -0
  274. package/scss/components/MultiAddSelect/_carbon-imports.scss +6 -0
  275. package/scss/components/MultiAddSelect/_index-with-carbon.scss +9 -0
  276. package/scss/components/MultiAddSelect/_index.scss +8 -0
  277. package/scss/components/MultiAddSelect/_multi-add-select.scss +8 -0
  278. package/scss/components/Nav/_carbon-imports.scss +9 -0
  279. package/scss/components/Nav/_index-with-carbon.scss +9 -0
  280. package/scss/components/Nav/_index.scss +8 -0
  281. package/scss/components/Nav/_nav.scss +254 -0
  282. package/scss/components/NonLinearReading/_carbon-imports.scss +6 -0
  283. package/scss/components/NonLinearReading/_index-with-carbon.scss +9 -0
  284. package/scss/components/NonLinearReading/_index.scss +8 -0
  285. package/scss/components/NonLinearReading/_non-linear-reading.scss +126 -0
  286. package/scss/components/NotificationsPanel/_carbon-imports.scss +12 -0
  287. package/scss/components/NotificationsPanel/_index-with-carbon.scss +9 -0
  288. package/scss/components/NotificationsPanel/_index.scss +8 -0
  289. package/scss/components/NotificationsPanel/_notifications-panel.scss +359 -0
  290. package/scss/components/OptionsTile/_carbon-imports.scss +10 -0
  291. package/scss/components/OptionsTile/_index-with-carbon.scss +9 -0
  292. package/scss/components/OptionsTile/_index.scss +8 -0
  293. package/scss/components/OptionsTile/_options-tile.scss +226 -0
  294. package/scss/components/PageHeader/_carbon-imports.scss +13 -0
  295. package/scss/components/PageHeader/_index-with-carbon.scss +9 -0
  296. package/scss/components/PageHeader/_index.scss +10 -0
  297. package/scss/components/PageHeader/_page-header.scss +1116 -0
  298. package/scss/components/ProductiveCard/_carbon-imports.scss +6 -0
  299. package/scss/components/ProductiveCard/_index-with-carbon.scss +9 -0
  300. package/scss/components/ProductiveCard/_index.scss +10 -0
  301. package/scss/components/ProductiveCard/_productive-card.scss +116 -0
  302. package/scss/components/RemoveModal/_carbon-imports.scss +12 -0
  303. package/scss/components/RemoveModal/_index-with-carbon.scss +9 -0
  304. package/scss/components/RemoveModal/_index.scss +10 -0
  305. package/scss/components/RemoveModal/_remove-modal.scss +27 -0
  306. package/scss/components/Saving/_carbon-imports.scss +11 -0
  307. package/scss/components/Saving/_index-with-carbon.scss +9 -0
  308. package/scss/components/Saving/_index.scss +10 -0
  309. package/scss/components/Saving/_saving.scss +40 -0
  310. package/scss/components/ScrollGradient/_carbon-imports.scss +9 -0
  311. package/scss/components/ScrollGradient/_index-with-carbon.scss +9 -0
  312. package/scss/components/ScrollGradient/_index.scss +8 -0
  313. package/scss/components/ScrollGradient/_scroll-gradient.scss +132 -0
  314. package/scss/components/SearchBar/_carbon-imports.scss +9 -0
  315. package/scss/components/SearchBar/_index-with-carbon.scss +9 -0
  316. package/scss/components/SearchBar/_index.scss +8 -0
  317. package/scss/components/SearchBar/_search-bar.scss +26 -0
  318. package/scss/components/SidePanel/_animations.scss +78 -0
  319. package/scss/components/SidePanel/_carbon-imports.scss +10 -0
  320. package/scss/components/SidePanel/_index-with-carbon.scss +9 -0
  321. package/scss/components/SidePanel/_index.scss +8 -0
  322. package/scss/components/SidePanel/_side-panel-variables.scss +15 -0
  323. package/scss/components/SidePanel/_side-panel.scss +626 -0
  324. package/scss/components/SimpleHeader/_carbon-imports.scss +11 -0
  325. package/scss/components/SimpleHeader/_index-with-carbon.scss +9 -0
  326. package/scss/components/SimpleHeader/_index.scss +10 -0
  327. package/scss/components/SimpleHeader/_simple-header.scss +37 -0
  328. package/scss/components/SingleAddSelect/_carbon-imports.scss +6 -0
  329. package/scss/components/SingleAddSelect/_index-with-carbon.scss +9 -0
  330. package/scss/components/SingleAddSelect/_index.scss +8 -0
  331. package/scss/components/SingleAddSelect/_single-add-select.scss +8 -0
  332. package/scss/components/StatusIcon/_carbon-imports.scss +6 -0
  333. package/scss/components/StatusIcon/_index-with-carbon.scss +9 -0
  334. package/scss/components/StatusIcon/_index.scss +8 -0
  335. package/scss/components/StatusIcon/_status-icon.scss +146 -0
  336. package/scss/components/StatusIndicator/_carbon-imports.scss +12 -0
  337. package/scss/components/StatusIndicator/_index-with-carbon.scss +9 -0
  338. package/scss/components/StatusIndicator/_index.scss +8 -0
  339. package/scss/components/StatusIndicator/_status-indicator.scss +93 -0
  340. package/scss/components/StringFormatter/_carbon-imports.scss +10 -0
  341. package/scss/components/StringFormatter/_index-with-carbon.scss +9 -0
  342. package/scss/components/StringFormatter/_index.scss +8 -0
  343. package/scss/components/StringFormatter/_string-formatter.scss +112 -0
  344. package/scss/components/TagOverflow/_carbon-imports.scss +9 -0
  345. package/scss/components/TagOverflow/_index-with-carbon.scss +9 -0
  346. package/scss/components/TagOverflow/_index.scss +8 -0
  347. package/scss/components/TagOverflow/_tag-overflow.scss +197 -0
  348. package/scss/components/TagSet/_carbon-imports.scss +14 -0
  349. package/scss/components/TagSet/_index-with-carbon.scss +9 -0
  350. package/scss/components/TagSet/_index.scss +8 -0
  351. package/scss/components/TagSet/_tag-set.scss +189 -0
  352. package/scss/components/Tearsheet/_carbon-imports.scss +11 -0
  353. package/scss/components/Tearsheet/_index-with-carbon.scss +9 -0
  354. package/scss/components/Tearsheet/_index.scss +8 -0
  355. package/scss/components/Tearsheet/_tearsheet.scss +464 -0
  356. package/scss/components/Tearsheet/_tearsheet_next.scss +530 -0
  357. package/scss/components/Toolbar/_carbon-imports.scss +8 -0
  358. package/scss/components/Toolbar/_index-with-carbon.scss +9 -0
  359. package/scss/components/Toolbar/_index.scss +8 -0
  360. package/scss/components/Toolbar/_toolbar.scss +75 -0
  361. package/scss/components/TooltipTrigger/_index-with-carbon.scss +8 -0
  362. package/scss/components/TooltipTrigger/_index.scss +8 -0
  363. package/scss/components/TooltipTrigger/_tooltip-trigger.scss +29 -0
  364. package/scss/components/TruncatedList/_carbon-imports.scss +9 -0
  365. package/scss/components/TruncatedList/_index-with-carbon.scss +9 -0
  366. package/scss/components/TruncatedList/_index.scss +8 -0
  367. package/scss/components/TruncatedList/_truncated-list.scss +51 -0
  368. package/scss/components/TruncatedText/_carbon-imports.scss +6 -0
  369. package/scss/components/TruncatedText/_index-with-carbon.scss +9 -0
  370. package/scss/components/TruncatedText/_index.scss +8 -0
  371. package/scss/components/TruncatedText/_truncated-text.scss +27 -0
  372. package/scss/components/UserAvatar/_carbon-imports.scss +10 -0
  373. package/scss/components/UserAvatar/_index-with-carbon.scss +9 -0
  374. package/scss/components/UserAvatar/_index.scss +8 -0
  375. package/scss/components/UserAvatar/_user-avatar.scss +153 -0
  376. package/scss/components/UserProfileImage/_carbon-imports.scss +10 -0
  377. package/scss/components/UserProfileImage/_color-map.scss +39 -0
  378. package/scss/components/UserProfileImage/_index-with-carbon.scss +9 -0
  379. package/scss/components/UserProfileImage/_index.scss +8 -0
  380. package/scss/components/UserProfileImage/_user-profile-image.scss +162 -0
  381. package/scss/components/WebTerminal/_carbon-imports.scss +12 -0
  382. package/scss/components/WebTerminal/_index-with-carbon.scss +9 -0
  383. package/scss/components/WebTerminal/_index.scss +8 -0
  384. package/scss/components/WebTerminal/_web-terminal.scss +110 -0
  385. package/scss/components/_Canary/_canary.scss +6 -0
  386. package/scss/components/_Canary/_carbon-imports.scss +7 -0
  387. package/scss/components/_Canary/_index-with-carbon.scss +8 -0
  388. package/scss/components/_Canary/_index.scss +7 -0
  389. package/scss/components/_index-released-only-with-carbon.scss +40 -0
  390. package/scss/components/_index-released-only.scss +44 -0
  391. package/scss/components/_index-with-carbon.scss +80 -0
  392. package/scss/components/_index.scss +85 -0
  393. package/scss/config-dev.scss +10 -0
  394. package/scss/config.scss +8 -0
  395. package/scss/global/decorators/_side-panel-decorator.scss +53 -0
  396. package/scss/global/styles/_display-box.scss +65 -0
  397. package/scss/global/styles/_imported-carbon-modules.scss +25 -0
  398. package/scss/global/styles/_mixins.scss +22 -0
  399. package/scss/global/styles/_project-settings.scss +10 -0
  400. package/scss/index-full-carbon.scss +10 -0
  401. package/scss/index-without-carbon-released-only.scss +12 -0
  402. package/scss/index-without-carbon.scss +12 -0
  403. package/scss/index.scss +10 -0
@@ -0,0 +1,359 @@
1
+ //
2
+ // Copyright IBM Corp. 2020, 2025
3
+ //
4
+ // This source code is licensed under the Apache-2.0 license found in the
5
+ // LICENSE file in the root directory of this source tree.
6
+ //
7
+
8
+ // Standard imports.
9
+ @use '@carbon/styles/scss/theme' as *;
10
+ @use '@carbon/styles/scss/spacing' as *;
11
+ @use '@carbon/styles/scss/motion' as *;
12
+ @use '@carbon/styles/scss/type';
13
+ @use '@carbon/type/scss/font-family' as *;
14
+ @use '../../global/styles/project-settings' as c4p-settings;
15
+ @use '@carbon/styles/scss/utilities';
16
+
17
+ // NotificationsPanel uses the following IBM Products components:
18
+ // NotificationsEmptyState
19
+ @use '../EmptyStates/empty-state';
20
+
21
+ $block-class: #{c4p-settings.$pkg-prefix}--notifications-panel;
22
+ $block-size: 38.5rem;
23
+
24
+ @keyframes notifications-panel-fade-in {
25
+ 0% {
26
+ opacity: 0;
27
+ // stylelint-disable-next-line carbon/layout-use
28
+ transform: translateY(-$block-size); // the height of the notification panel
29
+ }
30
+
31
+ 100% {
32
+ opacity: 1;
33
+ transform: translateY(0);
34
+ }
35
+ }
36
+
37
+ @keyframes notifications-panel-fade-out {
38
+ 0% {
39
+ opacity: 1;
40
+ transform: translateY(0);
41
+ }
42
+
43
+ 100% {
44
+ opacity: 0;
45
+ // stylelint-disable-next-line carbon/layout-use
46
+ transform: translateY(-$block-size); // the height of the notification panel
47
+ }
48
+ }
49
+
50
+ @keyframes notifications-panel-entrance-reduced {
51
+ 0% {
52
+ opacity: 0;
53
+ }
54
+
55
+ 100% {
56
+ opacity: 1;
57
+ }
58
+ }
59
+
60
+ @keyframes notifications-panel-exit-reduced {
61
+ 0% {
62
+ opacity: 1;
63
+ }
64
+
65
+ 100% {
66
+ opacity: 0;
67
+ }
68
+ }
69
+
70
+ .#{$block-class}__entrance {
71
+ animation: notifications-panel-fade-in $duration-moderate-02 motion(standard);
72
+ }
73
+
74
+ .#{$block-class}__exit {
75
+ animation: notifications-panel-fade-out $duration-moderate-02 motion(standard)
76
+ forwards;
77
+ }
78
+
79
+ @media (prefers-reduced-motion) {
80
+ .#{$block-class}__entrance {
81
+ animation: notifications-panel-entrance-reduced $duration-moderate-01
82
+ motion(exit, productive) forwards;
83
+ }
84
+
85
+ .#{$block-class}__exit {
86
+ animation: notifications-panel-exit-reduced $duration-moderate-01
87
+ motion(exit, productive) forwards;
88
+ }
89
+ }
90
+
91
+ .#{$block-class}__container {
92
+ position: fixed;
93
+ z-index: 2;
94
+ overflow: auto;
95
+ background-color: $layer-01;
96
+ border-block-end: 1px solid $border-subtle-02;
97
+ border-inline-start: 1px solid $border-subtle-02;
98
+ box-shadow: 0 $spacing-01 $spacing-02 $overlay;
99
+ color: $text-primary;
100
+ inset-block-start: $spacing-09;
101
+ inset-inline-end: 0;
102
+ max-block-size: $block-size;
103
+ max-inline-size: 22.75rem;
104
+ min-block-size: $block-size;
105
+ min-inline-size: 20rem;
106
+ transition: transform $duration-fast-02 motion(standard);
107
+
108
+ .#{$block-class}__header-container {
109
+ position: sticky;
110
+ z-index: 2;
111
+ padding: $spacing-03 $spacing-05;
112
+ background-color: $layer-01;
113
+ border-block-end: 1px solid $border-subtle-01;
114
+ inset-block-start: 0;
115
+ .#{$block-class}__header-flex {
116
+ display: flex;
117
+ align-items: center;
118
+ justify-content: space-between;
119
+ }
120
+ .#{$block-class}__do-not-disturb-toggle {
121
+ padding-block-end: $spacing-03;
122
+
123
+ .#{c4p-settings.$carbon-prefix}--toggle__label-text {
124
+ @include utilities.visually-hidden;
125
+ }
126
+ }
127
+ .#{$block-class}__dismiss-button {
128
+ color: $text-primary;
129
+ }
130
+ .#{$block-class}__header {
131
+ @include type.type-style('heading-compact-01');
132
+
133
+ margin: 0;
134
+ }
135
+ }
136
+ .#{$block-class}__time-section-label {
137
+ @include type.type-style('label-01');
138
+ @include font-weight('semibold');
139
+
140
+ position: sticky;
141
+ z-index: 2;
142
+ padding: $spacing-03 $spacing-05;
143
+ background-color: $layer-01;
144
+ color: $text-secondary;
145
+ // stylelint-disable-next-line carbon/layout-use
146
+ inset-block-start: 3.0625rem;
147
+ }
148
+ .#{$block-class}__notification:hover,
149
+ .#{$block-class}__notification:focus {
150
+ background-color: $layer-accent-01;
151
+ .#{$block-class}__dismiss-single-button {
152
+ opacity: 1;
153
+ }
154
+ }
155
+ .#{$block-class}__notification:focus {
156
+ border-color: $focus;
157
+ box-shadow:
158
+ inset 0 0 0 2px $focus,
159
+ inset 0 0 0 2px $background;
160
+ outline: 0;
161
+ }
162
+ .#{$block-class}__notification {
163
+ position: relative;
164
+ display: flex;
165
+ align-items: flex-start;
166
+ padding: $spacing-05;
167
+ border: 0;
168
+ background-color: $layer-01;
169
+ cursor: pointer;
170
+ inline-size: 100%;
171
+ min-block-size: 6.25rem;
172
+ text-align: start;
173
+ transition: background-color $duration-moderate-02 motion(standard);
174
+ .#{$block-class}__notification-title {
175
+ @include type.type-style('heading-01');
176
+
177
+ color: $text-secondary;
178
+ margin-block-end: $spacing-02;
179
+ @include font-weight('regular');
180
+ }
181
+ .#{$block-class}__notification-title.#{$block-class}__notification-title-unread {
182
+ color: $text-secondary;
183
+ margin-block-end: $spacing-02;
184
+ @include font-weight('semibold');
185
+ }
186
+ .#{$block-class}__notifications-link {
187
+ @include type.type-style('label-01');
188
+ }
189
+ .#{$block-class}__notification-status-icon {
190
+ margin-inline-end: $spacing-03;
191
+ min-inline-size: 1rem;
192
+ &.#{$block-class}__notification-status-icon-error {
193
+ fill: $support-error;
194
+ }
195
+ &.#{$block-class}__notification-status-icon-success {
196
+ fill: $support-success;
197
+ }
198
+ &.#{$block-class}__notification-status-icon-warning {
199
+ fill: $support-warning;
200
+ }
201
+ &.#{$block-class}__notification-status-icon-informational {
202
+ fill: $support-info;
203
+ }
204
+ }
205
+ .#{$block-class}__notification-content {
206
+ .#{$block-class}__notification-time-label {
207
+ margin-block-end: $spacing-03;
208
+ }
209
+ .#{$block-class}__notification-time-label,
210
+ .#{$block-class}__notification-description {
211
+ @include type.type-style('label-01');
212
+
213
+ color: $text-secondary;
214
+ }
215
+ .#{$block-class}__notification-description {
216
+ &.#{$block-class}__notification-short-description {
217
+ display: -webkit-box;
218
+ overflow: hidden;
219
+ -webkit-box-orient: vertical;
220
+ -webkit-line-clamp: 2;
221
+ line-clamp: 2;
222
+ }
223
+ &.#{$block-class}__notification-long-description {
224
+ display: block;
225
+ overflow: initial;
226
+ -webkit-line-clamp: initial;
227
+ line-clamp: initial;
228
+ }
229
+ }
230
+ .#{$block-class}__notification-read-more-button,
231
+ .#{$block-class}__notification-read-less-button {
232
+ @include type.type-style('label-01');
233
+
234
+ display: flex;
235
+ align-items: center;
236
+ padding: 0;
237
+ min-inline-size: 5.5rem;
238
+
239
+ .#{c4p-settings.$carbon-prefix}--btn__icon {
240
+ // stylelint-disable-next-line carbon/motion-easing-use
241
+ transition: transform $duration-moderate-02 ease;
242
+ /* stylelint-disable-next-line max-nesting-depth */
243
+ @media (prefers-reduced-motion: reduce) {
244
+ transition: none;
245
+ }
246
+ }
247
+ &.#{$block-class}__notification-read-more-button {
248
+ .#{c4p-settings.$carbon-prefix}--btn__icon {
249
+ transform: rotate(0deg);
250
+ }
251
+ }
252
+ &.#{$block-class}__notification-read-less-button {
253
+ .#{c4p-settings.$carbon-prefix}--btn__icon {
254
+ transform: rotate(180deg);
255
+ }
256
+ }
257
+ }
258
+ }
259
+ .#{c4p-settings.$carbon-prefix}--popover-container {
260
+ position: initial;
261
+ }
262
+ .#{$block-class}__dismiss-single-button {
263
+ position: absolute;
264
+ display: flex;
265
+ align-items: center;
266
+ justify-content: center;
267
+ padding: 0;
268
+ color: $text-primary;
269
+ inset-block-start: 0;
270
+ inset-inline-end: 0;
271
+ min-inline-size: 2rem;
272
+ opacity: 0;
273
+
274
+ /* stylelint-disable-next-line max-nesting-depth */
275
+ &:hover,
276
+ &:focus {
277
+ opacity: 1;
278
+ }
279
+ }
280
+ }
281
+ .#{$block-class}__notification-today:not(:first-of-type):before,
282
+ .#{$block-class}__notification-yesterday:not(:first-of-type):before,
283
+ .#{$block-class}__notification-previous:not(:first-of-type):before {
284
+ position: absolute;
285
+ margin: 0 auto;
286
+ background-color: $border-subtle-01;
287
+ block-size: 1px;
288
+ content: '';
289
+ inline-size: calc(100% - (2 * #{$spacing-05}));
290
+ inset-block-start: 0;
291
+ transition: background-color $duration-moderate-02 motion(standard);
292
+ }
293
+ .#{$block-class}__notification-today:hover
294
+ + .#{$block-class}__notification-today:not(:first-of-type):before,
295
+ .#{$block-class}__notification-yesterday:hover
296
+ + .#{$block-class}__notification-yesterday:not(:first-of-type):before,
297
+ .#{$block-class}__notification-previous:hover
298
+ + .#{$block-class}__notification-previous:not(:first-of-type):before {
299
+ background-color: transparent;
300
+ }
301
+ .#{$block-class}__main-section-empty.#{$block-class}__main-section {
302
+ display: flex;
303
+ align-items: center;
304
+ justify-content: center;
305
+ block-size: 100%;
306
+ margin-block-start: $spacing-13;
307
+ min-block-size: initial;
308
+ .#{c4p-settings.$pkg-prefix}-subtext {
309
+ @include type.type-style('body-compact-01');
310
+ }
311
+ }
312
+ .#{$block-class}__main-section {
313
+ min-block-size: 498px;
314
+ }
315
+ .#{$block-class}__bottom-actions {
316
+ position: sticky;
317
+ z-index: 2;
318
+ display: flex;
319
+ align-items: center;
320
+ background-color: $layer-01;
321
+ block-size: 2.5rem;
322
+ border-block-start: 1px solid $border-subtle-01;
323
+ inset-block-end: 0;
324
+ min-block-size: 2.5rem;
325
+ .#{$block-class}__view-all-button {
326
+ display: flex;
327
+ align-items: center;
328
+ block-size: 2.5rem;
329
+ border-inline-end: 1px solid $border-subtle-01;
330
+ color: $text-primary;
331
+ inline-size: 100%;
332
+ max-inline-size: calc(100% - 2.5rem);
333
+ min-block-size: 2.5rem;
334
+ }
335
+ .#{$block-class}__settings-button {
336
+ display: flex;
337
+ align-items: center;
338
+ justify-content: center;
339
+ padding: 0;
340
+ block-size: 2.5rem;
341
+ color: $text-primary;
342
+ min-block-size: 2.5rem;
343
+ min-inline-size: 2.5rem;
344
+ }
345
+ .#{$block-class}__settings-button
346
+ .#{c4p-settings.$carbon-prefix}--btn__icon {
347
+ margin: 0;
348
+ }
349
+ }
350
+ }
351
+
352
+ .#{$block-class}__header-container:has(
353
+ .#{$block-class}__do-not-disturb-toggle
354
+ ) {
355
+ + .#{$block-class}__main-section .#{$block-class}__time-section-label {
356
+ // stylelint-disable-next-line carbon/layout-use
357
+ inset-block-start: 4.8125rem;
358
+ }
359
+ }
@@ -0,0 +1,10 @@
1
+ //
2
+ // Copyright IBM Corp. 2022, 2022
3
+ //
4
+ // This source code is licensed under the Apache-2.0 license found in the
5
+ // LICENSE file in the root directory of this source tree.
6
+ //
7
+
8
+ // OptionsTile uses the following Carbon components:
9
+ // Toggle
10
+ @use '@carbon/styles/scss/components/toggle';
@@ -0,0 +1,9 @@
1
+ //
2
+ // Copyright IBM Corp. 2022, 2022
3
+ //
4
+ // This source code is licensed under the Apache-2.0 license found in the
5
+ // LICENSE file in the root directory of this source tree.
6
+ //
7
+
8
+ @use './carbon-imports';
9
+ @use './options-tile';
@@ -0,0 +1,8 @@
1
+ //
2
+ // Copyright IBM Corp. 2021, 2022
3
+ //
4
+ // This source code is licensed under the Apache-2.0 license found in the
5
+ // LICENSE file in the root directory of this source tree.
6
+ //
7
+
8
+ @use './options-tile';
@@ -0,0 +1,226 @@
1
+ //
2
+ // Copyright IBM Corp. 2021, 2022
3
+ //
4
+ // This source code is licensed under the Apache-2.0 license found in the
5
+ // LICENSE file in the root directory of this source tree.
6
+ //
7
+
8
+ // Standard imports.
9
+ @use '@carbon/styles/scss/theme' as *;
10
+ @use '@carbon/styles/scss/spacing' as *;
11
+ @use '@carbon/styles/scss/type';
12
+ @use '@carbon/styles/scss/motion' as *;
13
+ @use '@carbon/styles/scss/colors' as *;
14
+ @use '../../global/styles/project-settings' as c4p-settings;
15
+ @use '../../global/styles/mixins' as *;
16
+
17
+ // Other Carbon settings.
18
+ @use '@carbon/styles/scss/utilities' as *;
19
+
20
+ // The block part of our conventional BEM class names (blockClass__E--M).
21
+ $block-class: #{c4p-settings.$pkg-prefix}--options-tile;
22
+
23
+ .#{$block-class} {
24
+ position: relative;
25
+ background-color: $layer;
26
+ border-block-end: 1px solid $border-subtle;
27
+ }
28
+
29
+ .#{$block-class}__toggle-container {
30
+ position: absolute;
31
+ inline-size: calc(
32
+ #{$spacing-05} + 2rem + #{$spacing-05}
33
+ ); // spacing + toggle width + spacing
34
+
35
+ inset-block: 0;
36
+ inset-inline-end: 0;
37
+ }
38
+
39
+ .#{$block-class}__toggle {
40
+ position: absolute;
41
+ inset-inline-end: $spacing-05;
42
+ }
43
+
44
+ .#{$block-class}__toggle
45
+ .#{c4p-settings.$carbon-prefix}--toggle-input__label
46
+ .#{c4p-settings.$carbon-prefix}--toggle__switch {
47
+ margin: 0;
48
+ }
49
+
50
+ .#{$block-class}__toggle .#{c4p-settings.$carbon-prefix}--toggle__label-text {
51
+ @include visually-hidden;
52
+ }
53
+
54
+ .#{$block-class}__header,
55
+ .#{$block-class}__static-content {
56
+ display: grid;
57
+ box-sizing: border-box;
58
+ align-items: center;
59
+ grid-template-columns: 3rem 1fr 2rem; // chevron container, heading, toggle width
60
+ padding-inline-end: $spacing-05;
61
+ }
62
+
63
+ .#{$block-class}__header {
64
+ background-color: transparent;
65
+ cursor: pointer;
66
+ transition: background-color $duration-fast-01 motion(entrance, productive);
67
+ }
68
+
69
+ .#{$block-class}__header::-webkit-details-marker {
70
+ display: none;
71
+ }
72
+
73
+ .#{$block-class}__header:hover {
74
+ background-color: $background-hover;
75
+ }
76
+
77
+ .#{$block-class}__header:focus {
78
+ @include focus-outline('outline');
79
+ }
80
+
81
+ .#{$block-class}__heading {
82
+ grid-column: 2;
83
+ }
84
+
85
+ .#{$block-class}__title {
86
+ @include type.type-style('productive-heading-01');
87
+
88
+ color: $text-primary;
89
+ }
90
+
91
+ .#{$block-class}__summary {
92
+ @include type.type-style('helper-text-01');
93
+
94
+ display: grid;
95
+ block-size: $spacing-05;
96
+ color: $text-secondary;
97
+ margin-block-start: $spacing-02;
98
+ opacity: 1;
99
+ transition-duration: $duration-moderate-01;
100
+ transition-property: height, opacity, margin-top;
101
+ transition-timing-function: motion(standard, productive);
102
+ }
103
+
104
+ .#{$block-class}__summary--invalid,
105
+ .#{$block-class}__summary--warn,
106
+ .#{$block-class}__summary--locked {
107
+ column-gap: $spacing-02;
108
+ grid-template-columns: 1rem 1fr; // icon, text
109
+ }
110
+
111
+ .#{$block-class}__summary--invalid {
112
+ color: $support-error;
113
+ }
114
+
115
+ .#{$block-class}__summary--warn {
116
+ color: $text-primary;
117
+ }
118
+
119
+ .#{$block-class}__summary--warn svg {
120
+ color: $support-warning;
121
+ }
122
+
123
+ .#{$block-class}__summary--warn svg path[fill='none'] {
124
+ /* stylelint-disable-next-line carbon/theme-use */
125
+ fill: $black-100;
126
+ }
127
+
128
+ .#{$block-class}__summary--warn svg path[fill='none'] {
129
+ /* stylelint-disable-next-line carbon/theme-use */
130
+ fill: $black-100;
131
+ }
132
+
133
+ .#{$block-class}__summary-text {
134
+ overflow: hidden;
135
+ block-size: max-content;
136
+ // spacing-05 + toggle width
137
+ // stylelint-disable-next-line carbon/layout-use
138
+ padding-inline-end: calc(#{$spacing-05} + 2rem);
139
+ text-overflow: ellipsis;
140
+ white-space: nowrap;
141
+ }
142
+
143
+ .#{$block-class}__chevron {
144
+ display: block;
145
+ justify-self: center;
146
+ transition: transform $duration-fast-02 motion(standard, productive);
147
+ }
148
+
149
+ .#{$block-class}__content {
150
+ padding-inline: $spacing-09 $spacing-05;
151
+ // spacing-05 + chevron size + spacing-05
152
+ // stylelint-disable-next-line carbon/layout-use
153
+ }
154
+
155
+ .#{$block-class}__content
156
+ > .#{c4p-settings.$carbon-prefix}--fieldset
157
+ > .#{c4p-settings.$carbon-prefix}--label:empty {
158
+ display: none;
159
+ }
160
+
161
+ .#{$block-class}--closing .#{$block-class}__content {
162
+ overflow: hidden;
163
+ }
164
+
165
+ .#{$block-class}__summary.#{$block-class}__summary--open:not(
166
+ .#{$block-class}__summary--closing
167
+ ),
168
+ .#{$block-class}__summary--hidden {
169
+ block-size: 0;
170
+ margin-block-start: 0;
171
+ opacity: 0;
172
+ }
173
+
174
+ .#{$block-class}__chevron.#{$block-class}__chevron--open:not(
175
+ .#{$block-class}__chevron--closing
176
+ ) {
177
+ transform: rotate(180deg);
178
+ }
179
+
180
+ .#{$block-class} > details[open] .#{$block-class}__content {
181
+ padding-block: $spacing-03 $spacing-06;
182
+ }
183
+
184
+ .#{$block-class}__locked-text {
185
+ @include type.type-style('body-long-01');
186
+
187
+ display: inline-flex;
188
+ align-items: center;
189
+ color: $text-secondary;
190
+ margin-block-end: $spacing-06;
191
+ }
192
+
193
+ .#{$block-class}__locked-text > svg {
194
+ margin-inline-end: $spacing-02;
195
+ }
196
+
197
+ .#{$block-class}--lg .#{$block-class}__header,
198
+ .#{$block-class}--lg .#{$block-class}__static-content {
199
+ block-size: 3rem;
200
+ }
201
+
202
+ .#{$block-class}--xl .#{$block-class}__header,
203
+ .#{$block-class}--xl .#{$block-class}__static-content {
204
+ block-size: 4rem;
205
+ }
206
+
207
+ .#{$block-class}--lg .#{$block-class}__toggle {
208
+ // "top" shouldn't be spacing token as it depends on the toggle size
209
+ inset-block-start: $spacing-05;
210
+ }
211
+
212
+ .#{$block-class}--xl .#{$block-class}__toggle {
213
+ // "top" shouldn't be spacing token as it depends on the toggle size
214
+ inset-block-start: $spacing-06;
215
+ }
216
+
217
+ .#{$block-class}--lg .#{$block-class}__summary {
218
+ margin-block-start: $spacing-01;
219
+ }
220
+
221
+ @media (prefers-reduced-motion: reduce) {
222
+ .#{$block-class}__summary,
223
+ .#{$block-class}__chevron {
224
+ transition: none;
225
+ }
226
+ }
@@ -0,0 +1,13 @@
1
+ //
2
+ // Copyright IBM Corp. 2022, 2022
3
+ //
4
+ // This source code is licensed under the Apache-2.0 license found in the
5
+ // LICENSE file in the root directory of this source tree.
6
+ //
7
+
8
+ // PageHeader uses the following Carbon components:
9
+ // BreadcrumbItem, Grid, Column, Row, Button, SkeletonText, Tag
10
+ @use '@carbon/styles/scss/components/breadcrumb';
11
+ @use '@carbon/styles/scss/components/button';
12
+ @use '@carbon/styles/scss/components/skeleton-styles';
13
+ @use '@carbon/styles/scss/components/tag';
@@ -0,0 +1,9 @@
1
+ //
2
+ // Copyright IBM Corp. 2022, 2022
3
+ //
4
+ // This source code is licensed under the Apache-2.0 license found in the
5
+ // LICENSE file in the root directory of this source tree.
6
+ //
7
+
8
+ @use './carbon-imports';
9
+ @use './page-header';
@@ -0,0 +1,10 @@
1
+ //
2
+ // Copyright IBM Corp. 2020, 2021
3
+ //
4
+ // This source code is licensed under the Apache-2.0 license found in the
5
+ // LICENSE file in the root directory of this source tree.
6
+ //
7
+
8
+ // An index file is most useful when you have multiple components
9
+
10
+ @use './page-header';