@carbon/ibm-products 2.33.0 → 2.35.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (262) hide show
  1. package/css/index-full-carbon.css +31990 -32061
  2. package/css/index-full-carbon.css.map +1 -1
  3. package/css/index-full-carbon.min.css +1 -1
  4. package/css/index-full-carbon.min.css.map +1 -1
  5. package/css/index-without-carbon-released-only.css +38 -17
  6. package/css/index-without-carbon-released-only.css.map +1 -1
  7. package/css/index-without-carbon-released-only.min.css +1 -1
  8. package/css/index-without-carbon-released-only.min.css.map +1 -1
  9. package/css/index-without-carbon.css +636 -24096
  10. package/css/index-without-carbon.css.map +1 -1
  11. package/css/index-without-carbon.min.css +1 -1
  12. package/css/index-without-carbon.min.css.map +1 -1
  13. package/css/index.css +2342 -17830
  14. package/css/index.css.map +1 -1
  15. package/css/index.min.css +1 -1
  16. package/css/index.min.css.map +1 -1
  17. package/es/components/ActionSet/ActionSet.d.ts +38 -2
  18. package/es/components/ActionSet/ActionSet.js +3 -5
  19. package/es/components/CoachmarkFixed/CoachmarkFixed.js +1 -1
  20. package/es/components/ConditionBuilder/ConditionBuilder.d.ts +5 -0
  21. package/es/components/ConditionBuilder/ConditionBuilder.js +125 -0
  22. package/es/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.d.ts +10 -0
  23. package/es/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.js +92 -0
  24. package/es/components/ConditionBuilder/ConditionBuilderContext/DataTreeContext.d.ts +38 -0
  25. package/es/components/ConditionBuilder/ConditionBuilderContext/DataTreeContext.js +88 -0
  26. package/es/components/ConditionBuilder/assets/sampleInput.d.ts +58 -0
  27. package/es/components/ConditionBuilder/index.d.ts +1 -0
  28. package/es/components/CreateFullPage/CreateFullPage.js +3 -19
  29. package/es/components/CreateFullPage/CreateFullPageStep.js +22 -7
  30. package/es/components/CreateSidePanel/CreateSidePanel.d.ts +81 -2
  31. package/es/components/CreateSidePanel/CreateSidePanel.js +5 -2
  32. package/es/components/CreateTearsheetNarrow/CreateTearsheetNarrow.d.ts +82 -2
  33. package/es/components/DataSpreadsheet/DataSpreadsheet.js +5 -117
  34. package/es/components/DataSpreadsheet/DataSpreadsheetBody.js +12 -111
  35. package/es/components/DataSpreadsheet/utils/commonEventHandlers.d.ts +4 -0
  36. package/es/components/DataSpreadsheet/utils/commonEventHandlers.js +304 -0
  37. package/es/components/Datagrid/Datagrid/DatagridContent.js +2 -1
  38. package/es/components/Datagrid/Datagrid/DatagridEmptyBody.js +4 -1
  39. package/es/components/Datagrid/Datagrid/DatagridRefBody.js +3 -1
  40. package/es/components/Datagrid/Datagrid/DatagridSimpleBody.js +4 -1
  41. package/es/components/Datagrid/Datagrid/DatagridVirtualBody.js +6 -2
  42. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.d.ts +1 -1
  43. package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.js +4 -0
  44. package/es/components/Datagrid/Datagrid/addons/InlineEdit/handleGridKeyPress.d.ts +2 -1
  45. package/es/components/Datagrid/Datagrid/addons/InlineEdit/handleGridKeyPress.js +4 -3
  46. package/es/components/Datagrid/Datagrid/addons/stateReducer.js +2 -1
  47. package/es/components/Datagrid/useEditableCell.js +15 -0
  48. package/es/components/DelimitedList/DelimitedList.d.ts +27 -2
  49. package/es/components/DelimitedList/DelimitedList.js +0 -1
  50. package/es/components/EditInPlace/EditInPlace.d.ts +97 -5
  51. package/es/components/EditInPlace/EditInPlace.js +10 -6
  52. package/es/components/EditSidePanel/EditSidePanel.d.ts +92 -2
  53. package/es/components/EditSidePanel/EditSidePanel.js +8 -10
  54. package/es/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.d.ts +61 -2
  55. package/es/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +1 -3
  56. package/es/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.d.ts +61 -2
  57. package/es/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +1 -2
  58. package/es/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.d.ts +61 -2
  59. package/es/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +1 -3
  60. package/es/components/ExportModal/ExportModal.d.ts +110 -2
  61. package/es/components/ExportModal/ExportModal.js +10 -4
  62. package/es/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.d.ts +5 -0
  63. package/es/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.js +83 -0
  64. package/es/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.d.ts +5 -0
  65. package/es/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.js +94 -0
  66. package/es/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.d.ts +5 -0
  67. package/es/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.js +8 -10
  68. package/es/components/FilterPanel/FilterPanelCheckbox/index.d.ts +1 -0
  69. package/es/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.d.ts +10 -0
  70. package/es/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.js +157 -0
  71. package/es/components/FilterPanel/FilterPanelGroup/FilterPanelGroup.d.ts +5 -0
  72. package/es/components/FilterPanel/FilterPanelGroup/FilterPanelGroup.js +72 -0
  73. package/es/components/FilterPanel/FilterPanelLabel/FilterPanelLabel.js +2 -2
  74. package/es/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.d.ts +5 -0
  75. package/es/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.js +92 -0
  76. package/es/components/FilterPanel/index.d.ts +5 -0
  77. package/es/components/HTTPErrors/HTTPError403/HTTPError403.d.ts +40 -2
  78. package/es/components/HTTPErrors/HTTPError403/HTTPError403.js +1 -1
  79. package/es/components/HTTPErrors/HTTPError404/HTTPError404.d.ts +40 -2
  80. package/es/components/HTTPErrors/HTTPError404/HTTPError404.js +1 -1
  81. package/es/components/ImportModal/ImportModal.d.ts +136 -2
  82. package/es/components/ImportModal/ImportModal.js +3 -2
  83. package/es/components/InlineTip/InlineTip.d.ts +90 -2
  84. package/es/components/InlineTip/InlineTip.js +3 -2
  85. package/es/components/Nav/Nav.js +1 -1
  86. package/es/components/Nav/NavList.js +7 -7
  87. package/es/components/NotificationsPanel/NotificationsPanel.js +1 -1
  88. package/es/components/OptionsTile/OptionsTile.d.ts +77 -3
  89. package/es/components/OptionsTile/OptionsTile.js +9 -20
  90. package/es/components/PageHeader/PageHeader.js +3 -3
  91. package/es/components/PageHeader/PageHeaderUtils.d.ts +1 -1
  92. package/es/components/PageHeader/PageHeaderUtils.js +4 -3
  93. package/es/components/RemoveModal/RemoveModal.d.ts +81 -7
  94. package/es/components/RemoveModal/RemoveModal.js +1 -0
  95. package/es/components/ScrollGradient/ScrollGradient.d.ts +5 -0
  96. package/es/components/ScrollGradient/ScrollGradient.js +156 -0
  97. package/es/components/ScrollGradient/constants.d.ts +15 -0
  98. package/es/components/ScrollGradient/constants.js +121 -0
  99. package/es/components/ScrollGradient/index.d.ts +1 -0
  100. package/es/components/SidePanel/SidePanel.d.ts +144 -2
  101. package/es/components/SidePanel/SidePanel.js +100 -75
  102. package/es/components/StatusIcon/StatusIcon.d.ts +34 -2
  103. package/es/components/StatusIcon/StatusIcon.js +97 -95
  104. package/es/components/SteppedAnimatedMedia/SteppedAnimatedMedia.d.ts +23 -2
  105. package/es/components/SteppedAnimatedMedia/SteppedAnimatedMedia.js +6 -5
  106. package/es/components/TagOverflow/TagOverflow.d.ts +5 -0
  107. package/es/components/TagOverflow/TagOverflow.js +209 -0
  108. package/es/components/TagOverflow/constants.d.ts +14 -0
  109. package/es/components/TagOverflow/constants.js +30 -0
  110. package/es/components/TagOverflow/index.d.ts +1 -0
  111. package/es/components/Tearsheet/TearsheetNarrow.d.ts +105 -6
  112. package/es/components/Tearsheet/TearsheetNarrow.js +6 -1
  113. package/es/components/Toolbar/Toolbar.d.ts +23 -5
  114. package/es/components/Toolbar/Toolbar.js +30 -26
  115. package/es/components/TruncatedList/TruncatedList.js +5 -3
  116. package/es/components/UserAvatar/UserAvatar.js +7 -4
  117. package/es/components/index.d.ts +5 -2
  118. package/es/global/js/package-settings.d.ts +8 -0
  119. package/es/global/js/package-settings.js +8 -0
  120. package/es/index.js +9 -0
  121. package/es/settings.d.ts +8 -0
  122. package/lib/components/ActionSet/ActionSet.d.ts +38 -2
  123. package/lib/components/ActionSet/ActionSet.js +3 -5
  124. package/lib/components/CoachmarkFixed/CoachmarkFixed.js +1 -1
  125. package/lib/components/ConditionBuilder/ConditionBuilder.d.ts +5 -0
  126. package/lib/components/ConditionBuilder/ConditionBuilder.js +132 -0
  127. package/lib/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.d.ts +10 -0
  128. package/lib/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.js +100 -0
  129. package/lib/components/ConditionBuilder/ConditionBuilderContext/DataTreeContext.d.ts +38 -0
  130. package/lib/components/ConditionBuilder/ConditionBuilderContext/DataTreeContext.js +98 -0
  131. package/lib/components/ConditionBuilder/assets/sampleInput.d.ts +58 -0
  132. package/lib/components/ConditionBuilder/index.d.ts +1 -0
  133. package/lib/components/CreateFullPage/CreateFullPage.js +2 -18
  134. package/lib/components/CreateFullPage/CreateFullPageStep.js +20 -5
  135. package/lib/components/CreateSidePanel/CreateSidePanel.d.ts +81 -2
  136. package/lib/components/CreateSidePanel/CreateSidePanel.js +5 -2
  137. package/lib/components/CreateTearsheetNarrow/CreateTearsheetNarrow.d.ts +82 -2
  138. package/lib/components/DataSpreadsheet/DataSpreadsheet.js +5 -117
  139. package/lib/components/DataSpreadsheet/DataSpreadsheetBody.js +12 -111
  140. package/lib/components/DataSpreadsheet/utils/commonEventHandlers.d.ts +4 -0
  141. package/lib/components/DataSpreadsheet/utils/commonEventHandlers.js +311 -0
  142. package/lib/components/Datagrid/Datagrid/DatagridContent.js +2 -1
  143. package/lib/components/Datagrid/Datagrid/DatagridEmptyBody.js +4 -1
  144. package/lib/components/Datagrid/Datagrid/DatagridRefBody.js +3 -1
  145. package/lib/components/Datagrid/Datagrid/DatagridSimpleBody.js +4 -1
  146. package/lib/components/Datagrid/Datagrid/DatagridVirtualBody.js +5 -1
  147. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.d.ts +1 -1
  148. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.js +4 -0
  149. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/handleGridKeyPress.d.ts +2 -1
  150. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/handleGridKeyPress.js +4 -3
  151. package/lib/components/Datagrid/Datagrid/addons/stateReducer.js +2 -1
  152. package/lib/components/Datagrid/useEditableCell.js +19 -0
  153. package/lib/components/DelimitedList/DelimitedList.d.ts +27 -2
  154. package/lib/components/DelimitedList/DelimitedList.js +0 -1
  155. package/lib/components/EditInPlace/EditInPlace.d.ts +97 -5
  156. package/lib/components/EditInPlace/EditInPlace.js +10 -6
  157. package/lib/components/EditSidePanel/EditSidePanel.d.ts +92 -2
  158. package/lib/components/EditSidePanel/EditSidePanel.js +8 -10
  159. package/lib/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.d.ts +61 -2
  160. package/lib/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +1 -3
  161. package/lib/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.d.ts +61 -2
  162. package/lib/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +1 -2
  163. package/lib/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.d.ts +61 -2
  164. package/lib/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +1 -3
  165. package/lib/components/ExportModal/ExportModal.d.ts +110 -2
  166. package/lib/components/ExportModal/ExportModal.js +10 -4
  167. package/lib/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.d.ts +5 -0
  168. package/lib/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.js +90 -0
  169. package/lib/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.d.ts +5 -0
  170. package/lib/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.js +101 -0
  171. package/lib/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.d.ts +5 -0
  172. package/lib/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.js +8 -10
  173. package/lib/components/FilterPanel/FilterPanelCheckbox/index.d.ts +1 -0
  174. package/lib/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.d.ts +10 -0
  175. package/lib/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.js +164 -0
  176. package/lib/components/FilterPanel/FilterPanelGroup/FilterPanelGroup.d.ts +5 -0
  177. package/lib/components/FilterPanel/FilterPanelGroup/FilterPanelGroup.js +79 -0
  178. package/lib/components/FilterPanel/FilterPanelLabel/FilterPanelLabel.js +2 -2
  179. package/lib/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.d.ts +5 -0
  180. package/lib/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.js +99 -0
  181. package/lib/components/FilterPanel/index.d.ts +5 -0
  182. package/lib/components/HTTPErrors/HTTPError403/HTTPError403.d.ts +40 -2
  183. package/lib/components/HTTPErrors/HTTPError403/HTTPError403.js +1 -1
  184. package/lib/components/HTTPErrors/HTTPError404/HTTPError404.d.ts +40 -2
  185. package/lib/components/HTTPErrors/HTTPError404/HTTPError404.js +1 -1
  186. package/lib/components/ImportModal/ImportModal.d.ts +136 -2
  187. package/lib/components/ImportModal/ImportModal.js +3 -2
  188. package/lib/components/InlineTip/InlineTip.d.ts +90 -2
  189. package/lib/components/InlineTip/InlineTip.js +3 -2
  190. package/lib/components/Nav/Nav.js +1 -1
  191. package/lib/components/Nav/NavList.js +7 -7
  192. package/lib/components/NotificationsPanel/NotificationsPanel.js +1 -1
  193. package/lib/components/OptionsTile/OptionsTile.d.ts +77 -3
  194. package/lib/components/OptionsTile/OptionsTile.js +9 -20
  195. package/lib/components/PageHeader/PageHeader.js +3 -3
  196. package/lib/components/PageHeader/PageHeaderUtils.d.ts +1 -1
  197. package/lib/components/PageHeader/PageHeaderUtils.js +4 -3
  198. package/lib/components/RemoveModal/RemoveModal.d.ts +81 -7
  199. package/lib/components/RemoveModal/RemoveModal.js +1 -0
  200. package/lib/components/ScrollGradient/ScrollGradient.d.ts +5 -0
  201. package/lib/components/ScrollGradient/ScrollGradient.js +163 -0
  202. package/lib/components/ScrollGradient/constants.d.ts +15 -0
  203. package/lib/components/ScrollGradient/constants.js +128 -0
  204. package/lib/components/ScrollGradient/index.d.ts +1 -0
  205. package/lib/components/SidePanel/SidePanel.d.ts +144 -2
  206. package/lib/components/SidePanel/SidePanel.js +100 -75
  207. package/lib/components/StatusIcon/StatusIcon.d.ts +34 -2
  208. package/lib/components/StatusIcon/StatusIcon.js +97 -95
  209. package/lib/components/SteppedAnimatedMedia/SteppedAnimatedMedia.d.ts +23 -2
  210. package/lib/components/SteppedAnimatedMedia/SteppedAnimatedMedia.js +6 -5
  211. package/lib/components/TagOverflow/TagOverflow.d.ts +5 -0
  212. package/lib/components/TagOverflow/TagOverflow.js +216 -0
  213. package/lib/components/TagOverflow/constants.d.ts +14 -0
  214. package/lib/components/TagOverflow/constants.js +34 -0
  215. package/lib/components/TagOverflow/index.d.ts +1 -0
  216. package/lib/components/Tearsheet/TearsheetNarrow.d.ts +105 -6
  217. package/lib/components/Tearsheet/TearsheetNarrow.js +6 -1
  218. package/lib/components/Toolbar/Toolbar.d.ts +23 -5
  219. package/lib/components/Toolbar/Toolbar.js +30 -26
  220. package/lib/components/TruncatedList/TruncatedList.js +5 -3
  221. package/lib/components/UserAvatar/UserAvatar.js +7 -4
  222. package/lib/components/index.d.ts +5 -2
  223. package/lib/global/js/package-settings.d.ts +8 -0
  224. package/lib/global/js/package-settings.js +8 -0
  225. package/lib/index.js +42 -0
  226. package/lib/settings.d.ts +8 -0
  227. package/package.json +3 -3
  228. package/scss/components/Coachmark/_coachmark-dragbar.scss +0 -1
  229. package/scss/components/Coachmark/_coachmark-tagline.scss +2 -2
  230. package/scss/components/ConditionBuilder/_carbon-imports.scss +9 -0
  231. package/scss/components/ConditionBuilder/_condition-builder.scss +25 -0
  232. package/scss/components/ConditionBuilder/_index-with-carbon.scss +9 -0
  233. package/scss/components/ConditionBuilder/_index.scss +8 -0
  234. package/scss/components/CreateFullPage/_create-full-page.scss +10 -10
  235. package/scss/components/Datagrid/styles/_useNestedRows.scss +5 -1
  236. package/scss/components/FilterPanel/_carbon-imports.scss +5 -0
  237. package/scss/components/FilterPanel/_filter-panel-accordion-item.scss +54 -0
  238. package/scss/components/FilterPanel/_filter-panel-accordion.scss +6 -0
  239. package/scss/components/FilterPanel/_filter-panel-checkbox-with-overflow.scss +60 -0
  240. package/scss/components/FilterPanel/_filter-panel-checkbox.scss +24 -3
  241. package/scss/components/FilterPanel/_filter-panel-group.scss +39 -0
  242. package/scss/components/FilterPanel/_filter-panel-label.scss +0 -8
  243. package/scss/components/FilterPanel/_filter-panel-search.scss +38 -0
  244. package/scss/components/FilterPanel/_filter-panel.scss +2 -0
  245. package/scss/components/FilterPanel/_index-with-carbon.scss +5 -0
  246. package/scss/components/FilterPanel/_index.scss +5 -0
  247. package/scss/components/Guidebanner/_guidebanner.scss +1 -1
  248. package/scss/components/InlineTip/_inline-tip.scss +1 -1
  249. package/scss/components/ProductiveCard/_productive-card.scss +13 -0
  250. package/scss/components/ScrollGradient/_carbon-imports.scss +9 -0
  251. package/scss/components/ScrollGradient/_index-with-carbon.scss +9 -0
  252. package/scss/components/ScrollGradient/_index.scss +8 -0
  253. package/scss/components/ScrollGradient/_scroll-gradient.scss +102 -0
  254. package/scss/components/SidePanel/_side-panel.scss +9 -9
  255. package/scss/components/TagOverflow/_carbon-imports.scss +9 -0
  256. package/scss/components/TagOverflow/_index-with-carbon.scss +9 -0
  257. package/scss/components/TagOverflow/_index.scss +8 -0
  258. package/scss/components/TagOverflow/_tag-overflow.scss +55 -0
  259. package/scss/components/Tearsheet/_tearsheet.scss +10 -0
  260. package/scss/components/UserAvatar/_user-avatar.scss +38 -4
  261. package/scss/components/_index-with-carbon.scss +3 -0
  262. package/scss/components/_index.scss +3 -0
package/lib/index.js CHANGED
@@ -82,6 +82,7 @@ var useInlineEdit = require('./components/Datagrid/useInlineEdit.js');
82
82
  var useFiltering = require('./components/Datagrid/useFiltering.js');
83
83
  var getAutoSizedColumnWidth = require('./components/Datagrid/utils/getAutoSizedColumnWidth.js');
84
84
  var useFilterContext = require('./components/Datagrid/Datagrid/addons/Filtering/hooks/useFilterContext.js');
85
+ var useEditableCell = require('./components/Datagrid/useEditableCell.js');
85
86
  var EditTearsheet = require('./components/EditTearsheet/EditTearsheet.js');
86
87
  var EditTearsheetForm = require('./components/EditTearsheet/EditTearsheetForm.js');
87
88
  var EditTearsheetNarrow = require('./components/EditTearsheetNarrow/EditTearsheetNarrow.js');
@@ -122,11 +123,19 @@ var SearchBar = require('./components/SearchBar/SearchBar.js');
122
123
  var Nav = require('./components/Nav/Nav.js');
123
124
  var StringFormatter = require('./components/StringFormatter/StringFormatter.js');
124
125
  var UserAvatar = require('./components/UserAvatar/UserAvatar.js');
126
+ var ScrollGradient = require('./components/ScrollGradient/ScrollGradient.js');
125
127
  var StatusIndicator = require('./components/StatusIndicator/StatusIndicator.js');
128
+ var TagOverflow = require('./components/TagOverflow/TagOverflow.js');
126
129
  var ActionBar = require('./components/ActionBar/ActionBar.js');
127
130
  var FilterPanel = require('./components/FilterPanel/FilterPanel.js');
131
+ var FilterPanelAccordion = require('./components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.js');
132
+ var FilterPanelAccordionItem = require('./components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.js');
128
133
  var FilterPanelCheckbox = require('./components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.js');
134
+ var FilterPanelCheckboxWithOverflow = require('./components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.js');
135
+ var FilterPanelGroup = require('./components/FilterPanel/FilterPanelGroup/FilterPanelGroup.js');
129
136
  var FilterPanelLabel = require('./components/FilterPanel/FilterPanelLabel/FilterPanelLabel.js');
137
+ var FilterPanelSearch = require('./components/FilterPanel/FilterPanelSearch/FilterPanelSearch.js');
138
+ var ConditionBuilder = require('./components/ConditionBuilder/ConditionBuilder.js');
130
139
 
131
140
 
132
141
 
@@ -354,6 +363,7 @@ exports.useInlineEdit = useInlineEdit["default"];
354
363
  exports.useFiltering = useFiltering["default"];
355
364
  exports.getAutoSizedColumnWidth = getAutoSizedColumnWidth.getAutoSizedColumnWidth;
356
365
  exports.useFilterContext = useFilterContext["default"];
366
+ exports.useEditableCell = useEditableCell["default"];
357
367
  Object.defineProperty(exports, 'EditTearsheet', {
358
368
  enumerable: true,
359
369
  get: function () { return EditTearsheet.EditTearsheet; }
@@ -514,10 +524,18 @@ Object.defineProperty(exports, 'UserAvatar', {
514
524
  enumerable: true,
515
525
  get: function () { return UserAvatar.UserAvatar; }
516
526
  });
527
+ Object.defineProperty(exports, 'ScrollGradient', {
528
+ enumerable: true,
529
+ get: function () { return ScrollGradient.ScrollGradient; }
530
+ });
517
531
  Object.defineProperty(exports, 'StatusIndicator', {
518
532
  enumerable: true,
519
533
  get: function () { return StatusIndicator.StatusIndicator; }
520
534
  });
535
+ Object.defineProperty(exports, 'TagOverflow', {
536
+ enumerable: true,
537
+ get: function () { return TagOverflow.TagOverflow; }
538
+ });
521
539
  Object.defineProperty(exports, 'ActionBar', {
522
540
  enumerable: true,
523
541
  get: function () { return ActionBar.ActionBar; }
@@ -526,11 +544,35 @@ Object.defineProperty(exports, 'FilterPanel', {
526
544
  enumerable: true,
527
545
  get: function () { return FilterPanel.FilterPanel; }
528
546
  });
547
+ Object.defineProperty(exports, 'FilterPanelAccordion', {
548
+ enumerable: true,
549
+ get: function () { return FilterPanelAccordion.FilterPanelAccordion; }
550
+ });
551
+ Object.defineProperty(exports, 'FilterPanelAccordionItem', {
552
+ enumerable: true,
553
+ get: function () { return FilterPanelAccordionItem.FilterPanelAccordionItem; }
554
+ });
529
555
  Object.defineProperty(exports, 'FilterPanelCheckbox', {
530
556
  enumerable: true,
531
557
  get: function () { return FilterPanelCheckbox.FilterPanelCheckbox; }
532
558
  });
559
+ Object.defineProperty(exports, 'FilterPanelCheckboxWithOverflow', {
560
+ enumerable: true,
561
+ get: function () { return FilterPanelCheckboxWithOverflow.FilterPanelCheckboxWithOverflow; }
562
+ });
563
+ Object.defineProperty(exports, 'FilterPanelGroup', {
564
+ enumerable: true,
565
+ get: function () { return FilterPanelGroup.FilterPanelGroup; }
566
+ });
533
567
  Object.defineProperty(exports, 'FilterPanelLabel', {
534
568
  enumerable: true,
535
569
  get: function () { return FilterPanelLabel.FilterPanelLabel; }
536
570
  });
571
+ Object.defineProperty(exports, 'FilterPanelSearch', {
572
+ enumerable: true,
573
+ get: function () { return FilterPanelSearch.FilterPanelSearch; }
574
+ });
575
+ Object.defineProperty(exports, 'ConditionBuilder', {
576
+ enumerable: true,
577
+ get: function () { return ConditionBuilder.ConditionBuilder; }
578
+ });
package/lib/settings.d.ts CHANGED
@@ -66,13 +66,21 @@ export const pkg: {
66
66
  TruncatedList: boolean;
67
67
  DelimitedList: boolean;
68
68
  FullPageError: boolean;
69
+ ScrollGradient: boolean;
69
70
  StringFormatter: boolean;
70
71
  StatusIndicator: boolean;
71
72
  StatusIndicatorStep: boolean;
73
+ TagOverflow: boolean;
72
74
  ActionBar: boolean;
73
75
  FilterPanel: boolean;
76
+ FilterPanelAccordion: boolean;
77
+ FilterPanelAccordionItem: boolean;
74
78
  FilterPanelCheckbox: boolean;
79
+ FilterPanelCheckboxWithOverflow: boolean;
80
+ FilterPanelGroup: boolean;
75
81
  FilterPanelLabel: boolean;
82
+ FilterPanelSearch: boolean;
83
+ ConditionBuilder: boolean;
76
84
  Coachmark: boolean;
77
85
  CoachmarkBeacon: boolean;
78
86
  CoachmarkButton: boolean;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@carbon/ibm-products",
3
3
  "description": "Carbon for IBM Products",
4
- "version": "2.33.0",
4
+ "version": "2.35.0",
5
5
  "license": "Apache-2.0",
6
6
  "main": "lib/index.js",
7
7
  "module": "es/index.js",
@@ -90,7 +90,7 @@
90
90
  },
91
91
  "dependencies": {
92
92
  "@babel/runtime": "^7.23.9",
93
- "@carbon/ibm-products-styles": "^2.31.0",
93
+ "@carbon/ibm-products-styles": "^2.33.0",
94
94
  "@carbon/telemetry": "^0.1.0",
95
95
  "@dnd-kit/core": "^6.0.8",
96
96
  "@dnd-kit/modifiers": "^7.0.0",
@@ -114,5 +114,5 @@
114
114
  "react": "^16.8.6 || ^17.0.1 || ^18.2.0",
115
115
  "react-dom": "^16.8.6 || ^17.0.1 || ^18.2.0"
116
116
  },
117
- "gitHead": "389407c790f9238df195d0c53a384d7a06075f06"
117
+ "gitHead": "7a5a7cdd83c39a7f0b5c1e5baf647ebe70ab2983"
118
118
  }
@@ -8,7 +8,6 @@
8
8
  // Standard imports.
9
9
  @use '../../global/styles/project-settings' as c4p-settings;
10
10
  @use '../../global/styles/mixins';
11
- @use '@carbon/react';
12
11
  @use '@carbon/react/scss/theme' as *;
13
12
 
14
13
  // Define all component styles in a mixin which is then exported using
@@ -36,7 +36,7 @@ $block-class: #{c4p-settings.$pkg-prefix}--coachmark-tagline;
36
36
  background: $purple-70;
37
37
  background-image: linear-gradient(90deg, $blue-90 0%, $purple-70 100%);
38
38
  color: $white-0 !important;
39
- grid-template-columns: [ctacol] auto [closebtncol] $spacing-08;
39
+ grid-template-columns: [cta-col] auto [close-btn-col] $spacing-08;
40
40
  opacity: 1;
41
41
  // stylelint-disable-next-line carbon/motion-duration-use
42
42
  transition: opacity $duration-moderate-02 motion(exit, productive) 300ms;
@@ -86,7 +86,7 @@ $block-class: #{c4p-settings.$pkg-prefix}--coachmark-tagline;
86
86
  border: none;
87
87
  background: transparent;
88
88
  color: $white-0 !important;
89
- grid-template-columns: [iconcol] $spacing-07 [bodycol] auto;
89
+ grid-template-columns: [icon-col] $spacing-07 [body-col] auto;
90
90
  text-align: left;
91
91
  @include type.type-style('body-short-01');
92
92
 
@@ -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 ConditionBuilder in this file.
9
+ // ConditionBuilder uses the following Carbon components:
@@ -0,0 +1,25 @@
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
+ // Other Carbon settings if needed
13
+ // TODO: @use '@carbon/styles/scss/grid';
14
+ // or
15
+ // TODO: @use '@carbon/react/scss/grid';
16
+
17
+ // ConditionBuilder uses the following Carbon for IBM Products components:
18
+ // TODO: @use(s) of IBM Products component styles used by ConditionBuilder
19
+
20
+ // The block part of our conventional BEM class names (blockClass__E--M).
21
+ $block-class: #{c4p-settings.$pkg-prefix}--condition-builder;
22
+
23
+ // .#{$block-class} {
24
+ // // TODO: Styles.
25
+ // }
@@ -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 './condition-builder';
@@ -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 './condition-builder';
@@ -21,8 +21,15 @@
21
21
  $block-class: #{c4p-settings.$pkg-prefix}--create-full-page;
22
22
  $step-block-class: #{c4p-settings.$pkg-prefix}--create-full-page__step;
23
23
 
24
- .#{$block-class} .#{$block-class} {
24
+ .#{$block-class} {
25
+ display: grid;
26
+ height: 100%;
25
27
  color: $text-primary;
28
+ grid-template-rows: minmax(auto, 100%);
29
+
30
+ &:has(.#{$block-class}__header) {
31
+ grid-template-rows: auto minmax(auto, 100%);
32
+ }
26
33
  }
27
34
 
28
35
  .#{$block-class}
@@ -33,14 +40,6 @@ $step-block-class: #{c4p-settings.$pkg-prefix}--create-full-page__step;
33
40
  margin-left: 0;
34
41
  }
35
42
 
36
- .#{$block-class}__header {
37
- position: sticky;
38
- z-index: 9;
39
- top: 0;
40
- right: 0;
41
- left: 0;
42
- }
43
-
44
43
  .#{$block-class} .#{$step-block-class}__step--hidden-step {
45
44
  display: none;
46
45
  }
@@ -75,7 +74,8 @@ $step-block-class: #{c4p-settings.$pkg-prefix}--create-full-page__step;
75
74
 
76
75
  .#{$block-class}__influencer-and-body-container {
77
76
  display: flex;
78
- height: 100vh;
77
+ overflow: hidden;
78
+ max-height: 100%;
79
79
  padding: 0;
80
80
  margin: 0;
81
81
  }
@@ -71,7 +71,11 @@
71
71
  .#{$block-class}__carbon-nested-row:not(
72
72
  .#{$block-class}__carbon-row-expandable
73
73
  )
74
- td.#{$block-class}__cell:nth-of-type(2) {
74
+ td.#{$block-class}__cell:nth-of-type(2),
75
+ .#{c4p-settings.$carbon-prefix}--data-table
76
+ .#{$block-class}__carbon-nested-row
77
+ td.#{$block-class}__cell:nth-of-type(2)
78
+ + td {
75
79
  position: relative;
76
80
  }
77
81
 
@@ -7,3 +7,8 @@
7
7
 
8
8
  // Import any Carbon component styles used from FilterPanel in this file.
9
9
  // FilterPanel uses the following Carbon components:
10
+ @use '@carbon/react/scss/components/accordion';
11
+ @use '@carbon/react/scss/components/checkbox';
12
+ @use '@carbon/react/scss/components/list';
13
+ @use '@carbon/react/scss/components/overflow-menu';
14
+ @use '@carbon/react/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
+ width: 100%;
40
+ // 100% - the space taken up by the expand/collapse icon.
41
+ max-width: calc(100% - $spacing-07);
42
+ margin-inline-end: 0;
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
+ top: 0;
35
+ right: 0;
36
+ }
37
+ // Size the menu button.
38
+ .#{$block-class} .#{$block-class}__overflow-button {
39
+ width: $spacing-06;
40
+ background-color: $layer;
41
+ block-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
+ height: $spacing-06;
48
+ }
49
+ // OverflowMenu <button>
50
+ .#{$block-class}__overflow-options .#{$carbon}--overflow-menu-options__btn {
51
+ max-width: none;
52
+ justify-content: flex-end;
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
+ }
@@ -11,16 +11,37 @@
11
11
  @use '../../global/styles/project-settings' as c4p-settings;
12
12
  @use '../../global/styles/mixins';
13
13
 
14
+ @use '@carbon/styles/scss/spacing' as *;
14
15
  @use '@carbon/styles/scss/type';
15
16
 
16
17
  // The block part of our conventional BEM class names (blockClass__E--M).
17
18
  $block-class: #{c4p-settings.$pkg-prefix}--filter-panel-checkbox;
18
19
  $label: #{c4p-settings.$pkg-prefix}--filter-panel-label;
20
+ $carbon: #{c4p-settings.$carbon-prefix};
19
21
 
20
- // Set Carbon's Checkbox label to 100% the width of its container.
21
- .#{$block-class} .#{c4p-settings.$carbon-prefix}--checkbox-label,
22
- .#{$block-class} .#{c4p-settings.$carbon-prefix}--checkbox-label-text {
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
+ // Set Carbon's Checkbox label to 100% the width of the filter panel.
23
42
  width: 100%;
43
+ // Match height to the "checkbox with overflow" button.
44
+ height: $spacing-06;
24
45
  }
25
46
 
26
47
  .#{$block-class} .#{$label}__text {
@@ -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 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/layout/scss/convert' as *;
16
+ @use '@carbon/styles/scss/spacing' as *;
17
+ @use '@carbon/styles/scss/theme' as *;
18
+ @use '@carbon/styles/scss/type';
19
+
20
+ // FilterPanel uses the following Carbon for IBM Products components:
21
+ // TODO: @use(s) of IBM Products component styles used by FilterPanel
22
+
23
+ // The block part of our conventional BEM class names (blockClass__E--M).
24
+ $block-class: #{c4p-settings.$pkg-prefix}--filter-panel-group;
25
+
26
+ .#{$block-class} {
27
+ padding-top: $spacing-04;
28
+ border-top: to-rem(1px) solid $border-subtle;
29
+ margin-top: $spacing-04;
30
+ margin-bottom: $spacing-04;
31
+ }
32
+
33
+ .#{$block-class}__title {
34
+ @include type.type-style('label-01');
35
+ @include type.font-weight('semibold');
36
+
37
+ margin-top: 0;
38
+ margin-bottom: $spacing-04;
39
+ }
@@ -37,11 +37,3 @@ $block-class: #{c4p-settings.$pkg-prefix}--filter-panel-label;
37
37
  margin-left: $spacing-04;
38
38
  color: $text-secondary;
39
39
  }
40
-
41
- // Surround the value with parentheses.
42
- .#{$block-class}__count::before {
43
- content: '(';
44
- }
45
- .#{$block-class}__count::after {
46
- content: ')';
47
- }
@@ -0,0 +1,38 @@
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
+
11
+ @use '@carbon/layout/scss/convert' as *;
12
+ @use '@carbon/styles/scss/spacing' as *;
13
+ @use '@carbon/styles/scss/theme' as *;
14
+ @use '@carbon/styles/scss/utilities';
15
+
16
+ // FilterPanel uses the following Carbon for IBM Products components:
17
+ // TODO: @use(s) of IBM Products component styles used by FilterPanel
18
+
19
+ // The block part of our conventional BEM class names (blockClass__E--M).
20
+ $block-class: #{c4p-settings.$pkg-prefix}--filter-panel-search;
21
+
22
+ .#{$block-class} {
23
+ position: relative;
24
+ margin-bottom: $spacing-05;
25
+ }
26
+
27
+ .#{$block-class}__results {
28
+ position: absolute;
29
+ z-index: utilities.z('dropdown');
30
+ top: 100%;
31
+ right: 0;
32
+ left: 0;
33
+ /* stylelint-disable-next-line function-no-unknown */
34
+ max-height: to-rem(320px);
35
+ padding: $spacing-03;
36
+ background-color: $layer;
37
+ overflow-y: auto;
38
+ }
@@ -17,9 +17,11 @@
17
17
 
18
18
  // FilterPanel uses the following Carbon for IBM Products components:
19
19
  // TODO: @use(s) of IBM Products component styles used by FilterPanel
20
+ @use '../TruncatedList';
20
21
 
21
22
  // The block part of our conventional BEM class names (blockClass__E--M).
22
23
  $block-class: #{c4p-settings.$pkg-prefix}--filter-panel;
24
+ $carbon: #{c4p-settings.$carbon-prefix};
23
25
 
24
26
  .#{$block-class}__title {
25
27
  @include type.type-style('body-compact-01');
@@ -7,5 +7,10 @@
7
7
 
8
8
  @use './carbon-imports';
9
9
  @use './filter-panel';
10
+ @use './filter-panel-accordion';
11
+ @use './filter-panel-accordion-item';
10
12
  @use './filter-panel-checkbox';
13
+ @use './filter-panel-checkbox-with-overflow';
14
+ @use './filter-panel-group';
11
15
  @use './filter-panel-label';
16
+ @use './filter-panel-search';
@@ -6,5 +6,10 @@
6
6
  //
7
7
 
8
8
  @use './filter-panel';
9
+ @use './filter-panel-accordion';
10
+ @use './filter-panel-accordion-item';
9
11
  @use './filter-panel-checkbox';
12
+ @use './filter-panel-checkbox-with-overflow';
13
+ @use './filter-panel-group';
10
14
  @use './filter-panel-label';
15
+ @use './filter-panel-search';
@@ -248,7 +248,7 @@ $purple-3: #7433e3;
248
248
  }
249
249
 
250
250
  // Exception handling.
251
- // If "withLeftgutter", then:
251
+ // If "withLeftGutter", then:
252
252
  // - insert 1 rem of more "space" on the left.
253
253
  // - move icon 1 rem more to the right.
254
254
  .#{$block-class}__with-left-gutter .#{$block-class}__icon-idea {
@@ -229,7 +229,7 @@ $purple: #7f3ae7;
229
229
  }
230
230
 
231
231
  // Exception handling.
232
- // If "withLeftgutter", then:
232
+ // If "withLeftGutter", then:
233
233
  // - insert 1 rem of more "space" on the left.
234
234
  // - move icon 1 rem more to the right.
235
235
  .#{$block-class}__wide.#{$block-class}__with-left-gutter {
@@ -16,6 +16,9 @@
16
16
  $block-class: #{c4p-settings.$pkg-prefix}--card;
17
17
 
18
18
  .#{$block-class}__productive {
19
+ display: flex;
20
+ flex-direction: column;
21
+
19
22
  .#{$block-class}__title {
20
23
  @include type.type-style('heading-compact-02');
21
24
  }
@@ -101,4 +104,14 @@ $block-class: #{c4p-settings.$pkg-prefix}--card;
101
104
  .#{$block-class}__header-container {
102
105
  align-items: flex-start;
103
106
  }
107
+
108
+ .#{$block-class}__content-container {
109
+ display: flex;
110
+ flex: 1;
111
+ flex-direction: column;
112
+ }
113
+
114
+ .#{$block-class}__header-body-container {
115
+ flex: 1;
116
+ }
104
117
  }
@@ -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 ScrollGradient in this file.
9
+ // ScrollGradient uses the following Carbon components:
@@ -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 './scroll-gradient';
@@ -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 './scroll-gradient';