@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,56 @@
1
+ //
2
+ // Copyright IBM Corp. 2025, 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
+ @keyframes filter-panel-entrance-reduced {
9
+ 0% {
10
+ opacity: 0;
11
+ }
12
+
13
+ 100% {
14
+ opacity: 1;
15
+ }
16
+ }
17
+
18
+ @keyframes filter-panel-exit-reduced {
19
+ 0% {
20
+ opacity: 1;
21
+ }
22
+
23
+ 100% {
24
+ opacity: 0;
25
+ }
26
+ }
27
+
28
+ @keyframes filter-panel-entrance-left {
29
+ 0% {
30
+ inline-size: 0;
31
+ opacity: 0;
32
+ /* stylelint-disable-next-line carbon/layout-use */
33
+ transform: translateX(calc(var(--panel-transform) * -1));
34
+ }
35
+
36
+ 100% {
37
+ inline-size: var(--panel-transform);
38
+ opacity: 1;
39
+ transform: translateX(0);
40
+ }
41
+ }
42
+
43
+ @keyframes filter-panel-exit-left {
44
+ 0% {
45
+ inline-size: var(--panel-transform);
46
+ opacity: 1;
47
+ transform: translateX(0);
48
+ }
49
+
50
+ 100% {
51
+ inline-size: 0;
52
+ opacity: 0;
53
+ /* stylelint-disable-next-line carbon/layout-use */
54
+ transform: translateX(calc(var(--panel-transform) * -1));
55
+ }
56
+ }
@@ -0,0 +1,9 @@
1
+ //
2
+ // Copyright IBM Corp. 2024, 2024
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
+ // Import any Carbon component styles used from Decorator in this file.
9
+ // Decorator uses the following Carbon components:
@@ -0,0 +1,23 @@
1
+ //
2
+ // Copyright IBM Corp. 2024, 2024
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 '../../global/styles/project-settings' as c4p-settings;
9
+ @use '../../global/styles/mixins';
10
+
11
+ @use '../DecoratorBase/decorator-base-mixins' as *;
12
+ @use '../DecoratorBase/decorator-base';
13
+
14
+ // Decorator uses the following Carbon for IBM Products components:
15
+
16
+ // The block part of our conventional BEM class names (blockClass__E--M).
17
+ $block-class: #{c4p-settings.$pkg-prefix}--decorator;
18
+ $default: #{$block-class}--default;
19
+ $value: #{$block-class}__value;
20
+
21
+ .#{$default} .#{$value} {
22
+ @include value-divider();
23
+ }
@@ -0,0 +1,9 @@
1
+ //
2
+ // Copyright IBM Corp. 2024, 2024
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 './decorator';
@@ -0,0 +1,8 @@
1
+ //
2
+ // Copyright IBM Corp. 2024, 2024
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 './decorator';
@@ -0,0 +1,9 @@
1
+ //
2
+ // Copyright IBM Corp. 2024, 2024
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
+ // Import any Carbon component styles used from DecoratorBase in this file.
9
+ // DecoratorBase uses the following Carbon components:
@@ -0,0 +1,39 @@
1
+ //
2
+ // Copyright IBM Corp. 2024, 2024
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
+ /* stylelint-disable carbon/layout-use */
9
+
10
+ @use '@carbon/styles/scss/theme' as *;
11
+
12
+ // Use value-divider() by default for the component's dividing line.
13
+ @mixin value-divider($top: 0, $bottom: 0, $left: 0, $color: $border-subtle-02) {
14
+ &::after {
15
+ position: absolute;
16
+ border-inline-start: 1px solid #{$color};
17
+ content: '';
18
+ inset-block: #{$top} #{$bottom};
19
+ inset-inline-start: #{$left};
20
+ }
21
+ }
22
+
23
+ // Use label-divider() only when hovering/focusing the label.
24
+ @mixin label-divider(
25
+ // Nudge the line over so it occupies the same space as the value divider.
26
+ $top: -1px,
27
+ $right: -1px,
28
+ $bottom: -1px,
29
+ $color: $border-strong
30
+ ) {
31
+ &::after {
32
+ position: absolute;
33
+ z-index: 1;
34
+ border-inline-end: 1px solid #{$color};
35
+ content: '';
36
+ inset-block: #{$top} #{$bottom};
37
+ inset-inline-end: #{$right};
38
+ }
39
+ }
@@ -0,0 +1,145 @@
1
+ /* stylelint-disable carbon/theme-use */
2
+ /* stylelint-disable carbon/type-use */
3
+ /* stylelint-disable carbon/layout-use */
4
+ /* stylelint-disable function-no-unknown */
5
+
6
+ //
7
+ // Copyright IBM Corp. 2024, 2024
8
+ //
9
+ // This source code is licensed under the Apache-2.0 license found in the
10
+ // LICENSE file in the root directory of this source tree.
11
+ //
12
+
13
+ // Standard imports.
14
+ @use '../../global/styles/project-settings' as c4p-settings;
15
+ @use '../../global/styles/mixins';
16
+
17
+ // DecoratorBase uses the following Carbon for IBM Products components:
18
+ @use '@carbon/layout/scss/convert' as *;
19
+ @use '@carbon/styles/scss/colors' as *;
20
+ @use '@carbon/styles/scss/spacing' as *;
21
+ @use '@carbon/styles/scss/theme' as *;
22
+ @use '@carbon/styles/scss/themes';
23
+ @use '@carbon/styles/scss/type';
24
+
25
+ // The block part of our conventional BEM class names (blockClass__E--M).
26
+ $block-class: #{c4p-settings.$pkg-prefix}--decorator;
27
+ $icon: #{$block-class}-icon;
28
+ $label: #{$block-class}__label;
29
+ $value: #{$block-class}__value;
30
+
31
+ .#{$block-class}--light {
32
+ @include theme(themes.$g10, true);
33
+ }
34
+ .#{$block-class}--dark {
35
+ @include theme(themes.$g100, true);
36
+ }
37
+
38
+ // BASE STYLING FOR ALL DECORATORS
39
+ .#{$block-class} {
40
+ display: inline-flex;
41
+ align-items: normal;
42
+ border-radius: $spacing-12;
43
+ max-inline-size: 100%;
44
+ }
45
+ .#{$block-class} .#{$label} {
46
+ @include type.type-style('label-01');
47
+
48
+ position: relative;
49
+ display: inline-flex;
50
+ align-items: normal;
51
+ padding: 0 $spacing-03;
52
+ border-width: to-rem(1px) 0 to-rem(1px) to-rem(1px);
53
+ border-style: solid;
54
+ border-color: $border-subtle-02;
55
+ border-radius: $spacing-12 0 0 $spacing-12;
56
+ background-color: $layer-01;
57
+ block-size: $spacing-06;
58
+ color: $text-secondary;
59
+ line-height: 1.8;
60
+ }
61
+ .#{$block-class} .#{$value} {
62
+ @include type.type-style('label-01');
63
+
64
+ position: relative;
65
+ display: inline-flex;
66
+ overflow: hidden;
67
+ align-items: normal;
68
+ padding: 0 $spacing-03;
69
+ border-width: to-rem(1px) to-rem(1px) to-rem(1px) 0;
70
+ border-style: solid;
71
+ border-color: $border-subtle-02;
72
+ border-radius: 0 $spacing-12 $spacing-12 0;
73
+ background-color: $layer-01;
74
+ block-size: $spacing-06;
75
+ color: $text-primary;
76
+ line-height: 1.8;
77
+ }
78
+ .#{$block-class} .#{$icon} {
79
+ margin-block-start: to-rem(3px);
80
+ margin-inline-end: $spacing-02;
81
+ }
82
+
83
+ //
84
+ // MODIFIER, SMALL
85
+ //
86
+ .#{$block-class}--sm .#{$label} {
87
+ padding: 0 $spacing-02 0 $spacing-03;
88
+ block-size: to-rem(18px);
89
+ line-height: 1.333;
90
+ }
91
+ .#{$block-class}--sm .#{$value} {
92
+ // When "small", the divider takes up 1px of 4px of the available space: so "+1px".
93
+ padding: 0 $spacing-03 0 calc($spacing-02 + 1px);
94
+ block-size: to-rem(18px);
95
+ line-height: 1.333;
96
+ }
97
+
98
+ //
99
+ // MODIFIER, TRUNCATION
100
+ //
101
+ .#{$block-class}--truncate-end .#{$value} {
102
+ display: inline;
103
+ overflow: hidden;
104
+ text-overflow: ellipsis;
105
+ white-space: nowrap;
106
+ }
107
+ .#{$block-class}--truncate-start .#{$value} {
108
+ display: inline;
109
+ overflow: hidden;
110
+ direction: rtl;
111
+ text-overflow: ellipsis;
112
+ white-space: nowrap;
113
+ }
114
+
115
+ //
116
+ // MAGNITUDE ICON COLORS AND SIZES
117
+ //
118
+ .#{$icon}__magnitude-unknown {
119
+ fill: $icon-secondary;
120
+ }
121
+ .#{$icon}__magnitude-benign {
122
+ fill: $teal-60;
123
+ }
124
+ .#{$icon}__magnitude-low {
125
+ fill: $support-warning;
126
+ }
127
+ .#{$icon}__magnitude-medium {
128
+ fill: $orange-40;
129
+ }
130
+ .#{$icon}__magnitude-high {
131
+ fill: $support-error;
132
+ }
133
+ .#{$icon}__magnitude-critical {
134
+ fill: $support-error;
135
+ }
136
+ .#{$block-class}-disabled svg {
137
+ fill: $icon-on-color-disabled;
138
+ }
139
+
140
+ // MODIFIER, SMALL ICON
141
+ .#{$block-class} .#{$icon}--sm {
142
+ block-size: $spacing-04;
143
+ inline-size: $spacing-04;
144
+ margin-block-start: to-rem(2.5px);
145
+ }
@@ -0,0 +1,9 @@
1
+ //
2
+ // Copyright IBM Corp. 2024, 2024
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 './decorator-base';
@@ -0,0 +1,8 @@
1
+ //
2
+ // Copyright IBM Corp. 2024, 2024
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 './decorator-base';
@@ -0,0 +1,9 @@
1
+ //
2
+ // Copyright IBM Corp. 2024, 2024
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
+ // Import any Carbon component styles used from DecoratorDualButton in this file.
9
+ // DecoratorDualButton uses the following Carbon components:
@@ -0,0 +1,112 @@
1
+ /* stylelint-disable carbon/theme-use */
2
+ /* stylelint-disable function-no-unknown */
3
+
4
+ //
5
+ // Copyright IBM Corp. 2024, 2024
6
+ //
7
+ // This source code is licensed under the Apache-2.0 license found in the
8
+ // LICENSE file in the root directory of this source tree.
9
+ //
10
+
11
+ @use '../../global/styles/project-settings' as c4p-settings;
12
+ @use '../../global/styles/mixins';
13
+
14
+ @use '../DecoratorBase/decorator-base-mixins' as *;
15
+ @use '../DecoratorBase/decorator-base';
16
+
17
+ // DecoratorDualButton uses the following Carbon for IBM Products components:
18
+ @use '@carbon/layout/scss/convert' as *;
19
+ @use '@carbon/styles/scss/colors' as *;
20
+ @use '@carbon/styles/scss/theme' as *;
21
+ @use '@carbon/styles/scss/type';
22
+
23
+ // The block part of our conventional BEM class names (blockClass__E--M).
24
+ $block-class: #{c4p-settings.$pkg-prefix}--decorator;
25
+ $buttons: '#{$block-class}--dual-button:not(.#{$block-class}-disabled)';
26
+ $buttons-disabled: '#{$block-class}--dual-button.#{$block-class}-disabled';
27
+ $icon: #{$block-class}-icon;
28
+ $label: #{$block-class}__label;
29
+ $value: #{$block-class}__value;
30
+
31
+ .#{$buttons} .#{$label} {
32
+ background-color: $layer-02;
33
+ cursor: pointer;
34
+ }
35
+ .#{$buttons}:not(:hover) .#{$value} {
36
+ @include value-divider();
37
+ }
38
+ .#{$buttons} .#{$value} {
39
+ background-color: $layer-02;
40
+ cursor: pointer;
41
+ }
42
+ .#{$buttons} .#{$label}:hover {
43
+ @include label-divider($color: $border-strong);
44
+
45
+ border-color: $border-strong;
46
+ background-color: $layer-hover-02;
47
+ }
48
+ .#{$buttons} .#{$value}:hover {
49
+ @include value-divider($color: $border-strong);
50
+
51
+ border-color: $border-strong;
52
+ background-color: $layer-hover-02;
53
+ }
54
+ .#{$buttons} .#{$label}:focus {
55
+ @include label-divider($color: $focus);
56
+
57
+ border-color: $focus;
58
+ // Disable browser's default "focus" style.
59
+ outline: none;
60
+ }
61
+ .#{$buttons} .#{$value}:focus {
62
+ @include value-divider($color: $focus);
63
+
64
+ border-color: $focus;
65
+ // Disable browser's default "focus" style.
66
+ outline: none;
67
+ }
68
+ .#{$buttons} .#{$label}:active {
69
+ background-color: $layer-hover-02;
70
+ }
71
+ .#{$buttons} .#{$value}:active {
72
+ background-color: $layer-hover-02;
73
+ }
74
+ .#{$buttons-disabled} .#{$label} {
75
+ background-color: $layer-02;
76
+ color: $icon-on-color-disabled;
77
+ }
78
+ .#{$buttons-disabled} .#{$value} {
79
+ @include value-divider();
80
+
81
+ background-color: $layer-02;
82
+ color: $icon-on-color-disabled;
83
+ }
84
+
85
+ // ICON ENHANCED ACCESSIBILITY
86
+ // Add a border to the icon on hover & active to increase contrast.
87
+ .#{$block-class}--light {
88
+ &.#{$buttons} .#{$label}:hover .#{$icon}__magnitude-low,
89
+ &.#{$buttons} .#{$label}:active .#{$icon}__magnitude-low {
90
+ stroke: $yellow-60;
91
+ stroke-width: 1px;
92
+ }
93
+ // The "diamond-fill/medium" icon has an inner and outer path.
94
+ // Fill the outer path to simulate a 1px border.
95
+ &.#{$buttons} .#{$label}:hover .#{$icon}__magnitude-medium path:first-child,
96
+ &.#{$buttons} .#{$label}:active .#{$icon}__magnitude-medium path:first-child {
97
+ fill: $orange-60;
98
+ }
99
+ }
100
+ .#{$block-class}--dark {
101
+ // The "caution/high" icon has an inner and outer path.
102
+ // Fill the outer path to simulate a 1px border.
103
+ &.#{$buttons} .#{$label}:hover .#{$icon}__magnitude-high path:first-child,
104
+ &.#{$buttons} .#{$label}:active .#{$icon}__magnitude-high path:first-child {
105
+ fill: $red-40;
106
+ }
107
+ &.#{$buttons} .#{$label}:hover .#{$icon}__magnitude-critical,
108
+ &.#{$buttons} .#{$label}:active .#{$icon}__magnitude-critical {
109
+ stroke: $red-40;
110
+ stroke-width: to-rem(0.5px);
111
+ }
112
+ }
@@ -0,0 +1,9 @@
1
+ //
2
+ // Copyright IBM Corp. 2024, 2024
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 './decorator-dual-button';
@@ -0,0 +1,8 @@
1
+ //
2
+ // Copyright IBM Corp. 2024, 2024
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 './decorator-dual-button';
@@ -0,0 +1,9 @@
1
+ //
2
+ // Copyright IBM Corp. 2024, 2024
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
+ // Import any Carbon component styles used from DecoratorLink in this file.
9
+ // DecoratorLink uses the following Carbon components:
@@ -0,0 +1,53 @@
1
+ //
2
+ // Copyright IBM Corp. 2024, 2024
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 '../../global/styles/project-settings' as c4p-settings;
10
+ @use '../../global/styles/mixins';
11
+
12
+ @use '../DecoratorBase/decorator-base-mixins' as *;
13
+ @use '../DecoratorBase/decorator-base';
14
+
15
+ // DecoratorLink uses the following Carbon for IBM Products components:
16
+ @use '@carbon/styles/scss/colors' as *;
17
+ @use '@carbon/styles/scss/theme' as *;
18
+ @use '@carbon/styles/scss/type';
19
+
20
+ // The block part of our conventional BEM class names (blockClass__E--M).
21
+ $block-class: #{c4p-settings.$pkg-prefix}--decorator;
22
+ $link: #{$block-class}--link;
23
+ $label: #{$block-class}__label;
24
+ $value: #{$block-class}__value;
25
+
26
+ .#{$link} {
27
+ cursor: pointer;
28
+ text-decoration: none;
29
+ }
30
+ .#{$link} .#{$label} {
31
+ background-color: $layer-02;
32
+ }
33
+ .#{$link} .#{$value} {
34
+ @include value-divider();
35
+
36
+ background-color: $layer-02;
37
+ color: $link-primary;
38
+ }
39
+ .#{$link}:hover .#{$value} {
40
+ color: $link-primary-hover;
41
+ text-decoration: underline;
42
+ }
43
+ .#{$link}:focus {
44
+ text-decoration: none;
45
+ }
46
+ .#{$link}:focus .#{$value} {
47
+ @include value-divider($color: $focus);
48
+
49
+ border-color: $focus;
50
+ }
51
+ .#{$link}:active .#{$value} {
52
+ color: $text-primary;
53
+ }
@@ -0,0 +1,9 @@
1
+ //
2
+ // Copyright IBM Corp. 2024, 2024
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 './decorator-link';
@@ -0,0 +1,8 @@
1
+ //
2
+ // Copyright IBM Corp. 2024, 2024
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 './decorator-link';
@@ -0,0 +1,9 @@
1
+ //
2
+ // Copyright IBM Corp. 2024, 2024
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
+ // Import any Carbon component styles used from DecoratorSingleButton in this file.
9
+ // DecoratorSingleButton uses the following Carbon components:
@@ -0,0 +1,117 @@
1
+ /* stylelint-disable function-no-unknown */
2
+ /* stylelint-disable carbon/theme-use */
3
+
4
+ //
5
+ // Copyright IBM Corp. 2024, 2024
6
+ //
7
+ // This source code is licensed under the Apache-2.0 license found in the
8
+ // LICENSE file in the root directory of this source tree.
9
+ //
10
+
11
+ // Standard imports.
12
+ @use '../../global/styles/project-settings' as c4p-settings;
13
+ @use '../../global/styles/mixins';
14
+
15
+ @use '../DecoratorBase/decorator-base-mixins' as *;
16
+ @use '../DecoratorBase/decorator-base';
17
+
18
+ // DecoratorSingleButton uses the following Carbon for IBM Products components:
19
+ @use '@carbon/layout/scss/convert' as *;
20
+ @use '@carbon/styles/scss/colors' as *;
21
+ @use '@carbon/styles/scss/theme' as *;
22
+ @use '@carbon/styles/scss/type';
23
+
24
+ // The block part of our conventional BEM class names (blockClass__E--M).
25
+ $block-class: #{c4p-settings.$pkg-prefix}--decorator;
26
+ $button: '#{$block-class}--single-button:not(.#{$block-class}-disabled)';
27
+ $button-disabled: '#{$block-class}--single-button.#{$block-class}-disabled';
28
+ $icon: #{$block-class}-icon;
29
+ $label: #{$block-class}__label;
30
+ $value: #{$block-class}__value;
31
+
32
+ .#{$button} {
33
+ display: flex;
34
+ padding: 0;
35
+ border: 0;
36
+ cursor: pointer;
37
+ }
38
+ .#{$button} .#{$label} {
39
+ background-color: $layer-02;
40
+ }
41
+ .#{$button} .#{$value} {
42
+ @include value-divider();
43
+
44
+ background-color: $layer-02;
45
+ }
46
+ .#{$button}:hover .#{$label} {
47
+ border-color: $border-strong;
48
+ background-color: $layer-hover-02;
49
+ }
50
+ .#{$button}:hover .#{$value} {
51
+ @include value-divider($color: $border-strong);
52
+
53
+ border-color: $border-strong;
54
+ background-color: $layer-hover-02;
55
+ }
56
+ .#{$button}:focus {
57
+ // Disable browser's default "focus" style.
58
+ outline: none;
59
+ }
60
+ .#{$button}:focus .#{$label} {
61
+ border-color: $focus;
62
+ background-color: $layer-02;
63
+ }
64
+ .#{$button}:focus .#{$value} {
65
+ @include value-divider();
66
+
67
+ border-color: $focus;
68
+ background-color: $layer-02;
69
+ }
70
+ .#{$button}:active .#{$label} {
71
+ background-color: $layer-selected-02;
72
+ }
73
+ .#{$button}:active .#{$value} {
74
+ @include value-divider();
75
+
76
+ background-color: $layer-selected-02;
77
+ }
78
+ .#{$button-disabled} {
79
+ padding: 0;
80
+ border: 0;
81
+ cursor: not-allowed;
82
+ }
83
+ .#{$button-disabled} .#{$label} {
84
+ background-color: $layer-02;
85
+ color: $icon-on-color-disabled;
86
+ }
87
+ .#{$button-disabled} .#{$value} {
88
+ @include value-divider();
89
+
90
+ background-color: $layer-02;
91
+ color: $icon-on-color-disabled;
92
+ }
93
+
94
+ // ICON ENHANCED ACCESSIBILITY
95
+ // Add a border to the icon on hover & active to increase contrast.
96
+ .#{$block-class}--light {
97
+ &.#{$button}:hover .#{$icon}__magnitude-low,
98
+ &.#{$button}:active .#{$icon}__magnitude-low {
99
+ stroke: $yellow-60;
100
+ stroke-width: 1px;
101
+ }
102
+ &.#{$button}:hover .#{$icon}__magnitude-medium path:first-child,
103
+ &.#{$button}:active .#{$icon}__magnitude-medium path:first-child {
104
+ fill: $orange-60;
105
+ }
106
+ }
107
+ .#{$block-class}--dark {
108
+ &.#{$button}:hover .#{$icon}__magnitude-high path:first-child,
109
+ &.#{$button}:active .#{$icon}__magnitude-high path:first-child {
110
+ fill: $red-40;
111
+ }
112
+ &.#{$button}:hover .#{$icon}__magnitude-critical,
113
+ &.#{$button}:active .#{$icon}__magnitude-critical {
114
+ stroke: $red-40;
115
+ stroke-width: to-rem(0.5px);
116
+ }
117
+ }