@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,26 @@
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
+ // Standard imports.
9
+ @use '../../global/styles/project-settings' as c4p-settings;
10
+ @use '../../global/styles/mixins';
11
+
12
+ // Other Carbon settings.
13
+ // TODO: @use 'carbon-components/scss/globals/grid/grid'; if needed
14
+
15
+ // EditTearsheetNarrow uses the following Carbon components:
16
+ // TODO: @use(s) of Carbon component styles used by EditTearsheetNarrow
17
+
18
+ // EditTearsheetNarrow uses the following Carbon for IBM Products components:
19
+ // TODO: @use(s) of IBM Products component styles used by EditTearsheetNarrow
20
+
21
+ // The block part of our conventional BEM class names (blockClass__E--M).
22
+ $block-class: #{c4p-settings.$pkg-prefix}--edit-tearsheet-narrow;
23
+
24
+ .#{$block-class} {
25
+ // TODO: Styles.
26
+ }
@@ -0,0 +1,8 @@
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 './edit-tearsheet-narrow';
@@ -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
+ // Import any Carbon component styles used from EditUpdateCards in this file.
9
+ // EditUpdateCards uses the following Carbon components:
@@ -0,0 +1,95 @@
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
+ // Standard imports.
9
+
10
+ // Other Carbon settings.
11
+ // TODO: @use 'carbon-components/scss/globals/grid/grid'; if needed
12
+ @use '@carbon/colors/' as *;
13
+ @use '@carbon/motion/' as *;
14
+ @use '../../global/styles/project-settings' as c4p-settings;
15
+
16
+ // EditUpdateCards uses the following Carbon components:
17
+ // TODO: @use(s) of Carbon component styles used by EditUpdateCards
18
+
19
+ // EditUpdateCards uses the following Carbon for IBM Products components:
20
+ // TODO: @use(s) of IBM Products component styles used by EditUpdateCards
21
+
22
+ // Define all component styles in a mixin which is then exported using
23
+ // the Carbon import-once mechanism.
24
+ /* stylelint-disable max-nesting-depth */
25
+ $block-class: #{c4p-settings.$pkg-prefix}--edit-update-cards;
26
+
27
+ .#{$block-class} {
28
+ &##{$block-class}--edit {
29
+ /* Used id for overriding the SVG path fill */
30
+
31
+ .#{c4p-settings.$pkg-prefix}--card__header,
32
+ .#{c4p-settings.$pkg-prefix}--card__footer {
33
+ button {
34
+ // stylelint-disable-next-line carbon/theme-use
35
+ color: $white-0;
36
+
37
+ &:hover {
38
+ // stylelint-disable-next-line carbon/theme-use
39
+ background-color: $blue-60-hover;
40
+ }
41
+
42
+ &:focus {
43
+ box-shadow: none;
44
+ }
45
+
46
+ svg {
47
+ path {
48
+ // stylelint-disable-next-line carbon/theme-use
49
+ fill: $white-0;
50
+ }
51
+ }
52
+
53
+ &.#{c4p-settings.$pkg-prefix}--loading {
54
+ &:hover {
55
+ background-color: transparent;
56
+ }
57
+ }
58
+ }
59
+ }
60
+
61
+ .#{c4p-settings.$pkg-prefix}--card__footer {
62
+ // stylelint-disable-next-line carbon/theme-use
63
+ background-color: $blue-60;
64
+ // stylelint-disable-next-line carbon/theme-use
65
+ color: $white-0;
66
+ }
67
+
68
+ .#{c4p-settings.$pkg-prefix}--loading {
69
+ animation-duration: $duration-slow-02;
70
+ animation-fill-mode: forwards;
71
+ animation-iteration-count: infinite;
72
+ animation-name: rotate;
73
+ animation-timing-function: motion(standard, productive);
74
+
75
+ &:hover {
76
+ background-color: transparent;
77
+ }
78
+ }
79
+
80
+ .#{c4p-settings.$pkg-prefix}--card__header-container {
81
+ align-items: center;
82
+ }
83
+ }
84
+
85
+ &:not(.#{$block-class}__actions-bottom) {
86
+ &##{$block-class}--edit {
87
+ .#{c4p-settings.$pkg-prefix}--card__header {
88
+ // stylelint-disable-next-line carbon/theme-use
89
+ background-color: $blue-60;
90
+ // stylelint-disable-next-line carbon/theme-use
91
+ color: $white-0;
92
+ }
93
+ }
94
+ }
95
+ }
@@ -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 './edit-update-cards';
@@ -0,0 +1,8 @@
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 './edit-update-cards';
@@ -0,0 +1,11 @@
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
+ // Empty states use the following Carbon components:
9
+ // Button, Link
10
+ @use '@carbon/styles/scss/components/button';
11
+ @use '@carbon/styles/scss/components/link';
@@ -0,0 +1,85 @@
1
+ //
2
+ // Copyright IBM Corp. 2020, 2023
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 '../../global/styles/project-settings' as c4p-settings;
13
+
14
+ $block-class: #{c4p-settings.$pkg-prefix}--empty-state;
15
+
16
+ .#{$block-class} {
17
+ display: flex;
18
+ color: $text-primary;
19
+
20
+ .#{$block-class}__header {
21
+ @include type.type-style('heading-03');
22
+
23
+ margin: 0;
24
+
25
+ padding-block-end: $spacing-03;
26
+ }
27
+
28
+ .#{$block-class}__subtitle {
29
+ @include type.type-style('body-01');
30
+
31
+ color: $text-secondary;
32
+
33
+ padding-block-end: $spacing-05;
34
+ }
35
+
36
+ .#{$block-class}__header--small {
37
+ @include type.type-style('body-compact-02');
38
+
39
+ padding-block-end: $spacing-03;
40
+ }
41
+
42
+ .#{$block-class}__subtitle--small {
43
+ @include type.type-style('label-01');
44
+ }
45
+ }
46
+
47
+ .#{$block-class}__illustration {
48
+ block-size: auto;
49
+ margin-block-end: $spacing-05;
50
+
51
+ &.#{$block-class}__illustration--lg {
52
+ max-inline-size: $spacing-11;
53
+ min-inline-size: $spacing-11;
54
+ }
55
+
56
+ &.#{$block-class}__illustration--sm {
57
+ max-inline-size: $spacing-10;
58
+ min-inline-size: $spacing-10;
59
+ }
60
+ }
61
+
62
+ .#{$block-class}-position--top {
63
+ flex-direction: column;
64
+ }
65
+
66
+ .#{$block-class}-position--right {
67
+ flex-direction: row-reverse;
68
+ }
69
+
70
+ .#{$block-class}-position--bottom {
71
+ flex-direction: column-reverse;
72
+ }
73
+
74
+ .#{$block-class}-position--left {
75
+ flex-direction: row;
76
+ }
77
+
78
+ .#{$block-class} .#{$block-class}__action-button {
79
+ display: block;
80
+ margin-block-end: $spacing-05;
81
+ }
82
+
83
+ .#{$block-class} .#{$block-class}__link {
84
+ display: inline-block;
85
+ }
@@ -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 './empty-state';
@@ -0,0 +1,8 @@
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
+ @use './empty-state';
@@ -0,0 +1,10 @@
1
+ //
2
+ // Copyright IBM Corp. 2020, 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
+ // ExampleComponent uses the following Carbon components:
9
+ // Button, ButtonSet
10
+ @use '@carbon/styles/scss/components/button';
@@ -0,0 +1,28 @@
1
+ //
2
+ // Copyright IBM Corp. 2020, 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/styles/scss/spacing' as *;
9
+ // Standard imports.
10
+ @use '../../global/styles/project-settings' as c4p-settings;
11
+
12
+ // The block part of our conventional BEM class names (blockClass__E--M).
13
+ $block-class: #{c4p-settings.$pkg-prefix}--example-component;
14
+
15
+ .#{$block-class} {
16
+ display: flex;
17
+ justify-content: flex-end;
18
+ --#{$block-class}--border-color: transparent;
19
+ }
20
+
21
+ .#{$block-class}.#{$block-class}--boxed-set {
22
+ border: 10px solid var(--#{$block-class}--border-color);
23
+ }
24
+
25
+ .#{$block-class}.#{$block-class}--shadow-set {
26
+ margin: $spacing-04;
27
+ box-shadow: 0 0 10px var(--#{$block-class}--border-color);
28
+ }
@@ -0,0 +1,9 @@
1
+ //
2
+ // Copyright IBM Corp. 2020, 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 './example-component';
@@ -0,0 +1,8 @@
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
+ @use './example-component';
@@ -0,0 +1,16 @@
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
+ // ExportModal uses the following Carbon components:
9
+ // Button, ComposedModal, ModalHeader, ModalFooter, ModalBody, TextInput,
10
+ // RadioButton, RadioButtonGroup, FormGroup, Loading
11
+ @use '@carbon/styles/scss/components/button';
12
+ @use '@carbon/styles/scss/components/modal';
13
+ @use '@carbon/styles/scss/components/text-input';
14
+ @use '@carbon/styles/scss/components/radio-button';
15
+ @use '@carbon/styles/scss/components/form';
16
+ @use '@carbon/styles/scss/components/loading';
@@ -0,0 +1,46 @@
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
+ // Standard imports.
9
+ @use '@carbon/styles/scss/components/button/tokens' as *;
10
+ @use '@carbon/styles/scss/spacing' as *;
11
+ @use '../../global/styles/project-settings' as c4p-settings;
12
+
13
+ $block-class: #{c4p-settings.$pkg-prefix}--export-modal;
14
+
15
+ .#{$block-class}
16
+ .#{c4p-settings.$carbon-prefix}--modal-footer
17
+ .#{c4p-settings.$carbon-prefix}--btn {
18
+ max-inline-size: none;
19
+ }
20
+
21
+ .#{$block-class}.#{c4p-settings.$carbon-prefix}--modal
22
+ .#{c4p-settings.$carbon-prefix}--modal-content {
23
+ padding-inline-end: $spacing-05;
24
+ }
25
+
26
+ .#{$block-class}__body {
27
+ margin-block-end: $spacing-05;
28
+ padding-inline-end: calc(20% - #{$spacing-05});
29
+ }
30
+
31
+ .#{$block-class}__messaging {
32
+ display: flex;
33
+ align-items: center;
34
+ }
35
+
36
+ .#{$block-class}__messaging p {
37
+ margin-inline-start: $spacing-03;
38
+ }
39
+
40
+ .#{$block-class}__checkmark-icon {
41
+ fill: $button-primary;
42
+ }
43
+
44
+ .#{$block-class}__error-icon {
45
+ fill: $button-danger-primary;
46
+ }
@@ -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 './export-modal';
@@ -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 './export-modal';
@@ -0,0 +1,6 @@
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
+ //
@@ -0,0 +1,18 @@
1
+ //
2
+ // Copyright IBM Corp. 2020, 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
+ // ExpressiveCard uses the following IBM Products components:
9
+ // Card
10
+ @use '../Card/card' as *;
11
+ @use '../../global/styles/project-settings' as c4p-settings;
12
+ @use '@carbon/styles/scss/type';
13
+
14
+ $block-class: #{c4p-settings.$pkg-prefix}--card;
15
+
16
+ .#{$block-class}__title {
17
+ @include type.type-style('heading-03');
18
+ }
@@ -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 './expressive-card';
@@ -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 './expressive-card';
@@ -0,0 +1,14 @@
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 FilterPanel in this file.
9
+ // FilterPanel uses the following Carbon components:
10
+ @use '@carbon/styles/scss/components/accordion';
11
+ @use '@carbon/styles/scss/components/checkbox';
12
+ @use '@carbon/styles/scss/components/list';
13
+ @use '@carbon/styles/scss/components/overflow-menu';
14
+ @use '@carbon/styles/scss/components/search';
@@ -0,0 +1,54 @@
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 function-no-unknown */
9
+ /* stylelint-disable max-nesting-depth */
10
+
11
+ // Standard imports.
12
+ @use '../../global/styles/project-settings' as c4p-settings;
13
+ @use '../../global/styles/mixins';
14
+
15
+ @use '@carbon/styles/scss/spacing' as *;
16
+ @use '@carbon/styles/scss/type';
17
+
18
+ // The block part of our conventional BEM class names (blockClass__E--M).
19
+ $block-class: #{c4p-settings.$pkg-prefix}--filter-panel-accordion-item;
20
+ $carbon: #{c4p-settings.$carbon-prefix};
21
+
22
+ // Remove top and bottom borders.
23
+ html .#{$block-class} {
24
+ border-block-start: 0;
25
+ }
26
+ html .#{$block-class}:last-child {
27
+ border-block-end: 0;
28
+ }
29
+
30
+ // Override Carbon Accordion Item styling
31
+ html .#{$block-class} .#{$carbon}--accordion__wrapper {
32
+ padding-block: 0;
33
+ }
34
+ html .#{$block-class} .#{$carbon}--accordion__heading {
35
+ min-block-size: $spacing-07;
36
+ padding-inline-end: 0;
37
+ }
38
+ html .#{$block-class} .#{$carbon}--accordion__title {
39
+ inline-size: 100%;
40
+ margin-inline-end: 0;
41
+ // 100% - the space taken up by the expand/collapse icon.
42
+ max-inline-size: calc(100% - $spacing-07);
43
+ }
44
+ html .#{$block-class} .#{$carbon}--accordion__content {
45
+ padding-inline-end: 0;
46
+ }
47
+
48
+ // Override Filter Panel Label
49
+ .#{$block-class} .#{c4p-settings.$pkg-prefix}--filter-panel-label__text {
50
+ @include type.type-style('body-01');
51
+ }
52
+ .#{$block-class} .#{c4p-settings.$pkg-prefix}--filter-panel-label__count {
53
+ @include type.type-style('label-01');
54
+ }
@@ -0,0 +1,6 @@
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
+ //
@@ -0,0 +1,60 @@
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 function-no-unknown */
9
+ /* stylelint-disable max-nesting-depth */
10
+
11
+ // Standard imports.
12
+ @use '../../global/styles/project-settings' as c4p-settings;
13
+ @use '../../global/styles/mixins';
14
+
15
+ @use '@carbon/styles/scss/spacing' as *;
16
+ @use '@carbon/styles/scss/theme' as *;
17
+
18
+ // The block part of our conventional BEM class names (blockClass__E--M).
19
+ $block-class: #{c4p-settings.$pkg-prefix}--filter-panel-checkbox-with-overflow;
20
+ $carbon: #{c4p-settings.$carbon-prefix};
21
+
22
+ .#{$block-class} {
23
+ position: relative;
24
+ }
25
+ .#{$block-class}--open,
26
+ .#{$block-class}:hover,
27
+ .#{$block-class}:focus-within {
28
+ background-color: $field;
29
+ }
30
+
31
+ // Position the menu button via its wrapper, not the button itself.
32
+ .#{$block-class} .#{$carbon}--overflow-menu__wrapper {
33
+ position: absolute;
34
+ inset-block-start: 0;
35
+ inset-inline-end: 0;
36
+ }
37
+ // Size the menu button.
38
+ .#{$block-class} .#{$block-class}__overflow-button {
39
+ background-color: $layer;
40
+ block-size: $spacing-06;
41
+ inline-size: $spacing-06;
42
+ min-block-size: $spacing-06;
43
+ }
44
+
45
+ // OverflowMenu <li>
46
+ .#{$block-class}__overflow-options .#{$carbon}--overflow-menu-options__option {
47
+ block-size: $spacing-06;
48
+ }
49
+ // OverflowMenu <button>
50
+ .#{$block-class}__overflow-options .#{$carbon}--overflow-menu-options__btn {
51
+ justify-content: flex-end;
52
+ max-inline-size: none;
53
+ }
54
+ // SIZE FIX: This element is being used to "erase" the drop shadow
55
+ // created by the menu items overtop the menu button.
56
+ .#{$block-class}__overflow-options.#{$carbon}--overflow-menu-options[data-floating-menu-direction='bottom']:not(
57
+ .#{$carbon}--breadcrumb-menu-options
58
+ )::after {
59
+ inline-size: $spacing-06;
60
+ }
@@ -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
+ /* stylelint-disable max-nesting-depth */
9
+
10
+ // Standard imports.
11
+ @use '../../global/styles/project-settings' as c4p-settings;
12
+ @use '../../global/styles/mixins';
13
+
14
+ @use '@carbon/styles/scss/spacing' as *;
15
+ @use '@carbon/styles/scss/type';
16
+
17
+ // The block part of our conventional BEM class names (blockClass__E--M).
18
+ $block-class: #{c4p-settings.$pkg-prefix}--filter-panel-checkbox;
19
+ $label: #{c4p-settings.$pkg-prefix}--filter-panel-label;
20
+ $carbon: #{c4p-settings.$carbon-prefix};
21
+
22
+ // UNDO Carbon's concept that a Checkbox is always a list item (":last-of-type").
23
+ // This also allows the TruncatedList to calculate the correct height for expanding/collapsing the list.
24
+ .#{$block-class}.#{$carbon}--form-item.#{$carbon}--checkbox-wrapper,
25
+ .#{$block-class}.#{$carbon}--form-item.#{$carbon}--checkbox-wrapper:last-of-type {
26
+ margin-block-end: 0;
27
+ }
28
+
29
+ // Surround a checkbox's count with parentheses.
30
+ .#{$block-class}
31
+ .#{c4p-settings.$pkg-prefix}--filter-panel-label__count::before {
32
+ content: '(';
33
+ }
34
+ .#{$block-class}
35
+ .#{c4p-settings.$pkg-prefix}--filter-panel-label__count::after {
36
+ content: ')';
37
+ }
38
+
39
+ .#{$block-class} .#{$carbon}--checkbox-label,
40
+ .#{$block-class} .#{$carbon}--checkbox-label-text {
41
+ // Match height to the "checkbox with overflow" button.
42
+ block-size: $spacing-06;
43
+ // Set Carbon's Checkbox label to 100% the width of the filter panel.
44
+ inline-size: 100%;
45
+ }
46
+
47
+ .#{$block-class} .#{$label}__text {
48
+ @include type.type-style('body-compact-01');
49
+ }
50
+
51
+ .#{$block-class} .#{$label}__count {
52
+ @include type.type-style('label-01');
53
+ }