@carbon/ibm-products 2.34.0 → 2.36.0-alpha.27

Sign up to get free protection for your applications and to get access to all the features.
Files changed (244) hide show
  1. package/css/index-full-carbon.css +32448 -32421
  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 +105 -91
  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 +765 -24496
  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 +2543 -18127
  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/Coachmark/utils/enums.d.ts +36 -22
  20. package/es/components/CoachmarkBeacon/CoachmarkBeacon.d.ts +26 -2
  21. package/es/components/CoachmarkBeacon/CoachmarkBeacon.js +1 -3
  22. package/es/components/CoachmarkFixed/CoachmarkFixed.js +1 -1
  23. package/es/components/CoachmarkOverlayElement/CoachmarkOverlayElement.d.ts +28 -2
  24. package/es/components/CoachmarkOverlayElement/CoachmarkOverlayElement.js +0 -1
  25. package/es/components/ConditionBuilder/ConditionBuilder.d.ts +5 -0
  26. package/es/components/ConditionBuilder/ConditionBuilder.js +125 -0
  27. package/es/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.d.ts +10 -0
  28. package/es/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.js +92 -0
  29. package/es/components/ConditionBuilder/ConditionBuilderContext/DataTreeContext.d.ts +38 -0
  30. package/es/components/ConditionBuilder/ConditionBuilderContext/DataTreeContext.js +88 -0
  31. package/es/components/ConditionBuilder/assets/sampleInput.d.ts +58 -0
  32. package/es/components/ConditionBuilder/index.d.ts +1 -0
  33. package/es/components/CreateFullPage/CreateFullPage.d.ts +121 -4
  34. package/es/components/CreateFullPage/CreateFullPage.js +14 -26
  35. package/es/components/CreateFullPage/CreateFullPageStep.js +22 -7
  36. package/es/components/CreateTearsheet/CreateTearsheet.js +2 -0
  37. package/es/components/CreateTearsheetNarrow/CreateTearsheetNarrow.d.ts +82 -2
  38. package/es/components/Datagrid/Datagrid/DatagridRow.js +4 -3
  39. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/DraggableItemsList.js +2 -1
  40. package/es/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +10 -6
  41. package/es/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +6 -2
  42. package/es/components/Datagrid/Datagrid/addons/stateReducer.js +2 -1
  43. package/es/components/Datagrid/useEditableCell.js +15 -0
  44. package/es/components/DelimitedList/DelimitedList.d.ts +27 -2
  45. package/es/components/DelimitedList/DelimitedList.js +0 -1
  46. package/es/components/EditFullPage/EditFullPage.d.ts +19 -2
  47. package/es/components/EditFullPage/EditFullPage.js +3 -3
  48. package/es/components/EditInPlace/EditInPlace.d.ts +97 -5
  49. package/es/components/EditInPlace/EditInPlace.js +10 -6
  50. package/es/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.d.ts +61 -2
  51. package/es/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +1 -3
  52. package/es/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.d.ts +61 -2
  53. package/es/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +1 -2
  54. package/es/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.d.ts +61 -2
  55. package/es/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +1 -3
  56. package/es/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.d.ts +61 -2
  57. package/es/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +1 -3
  58. package/es/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.d.ts +61 -2
  59. package/es/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +1 -2
  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.js +1 -1
  63. package/es/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.js +2 -2
  64. package/es/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.d.ts +5 -0
  65. package/es/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.js +5 -9
  66. package/es/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.js +1 -1
  67. package/es/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.d.ts +5 -0
  68. package/es/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.js +92 -0
  69. package/es/components/FilterPanel/index.d.ts +1 -0
  70. package/es/components/FullPageError/FullPageError.d.ts +2 -1
  71. package/es/components/FullPageError/FullPageError.js +24 -49
  72. package/es/components/HTTPErrors/HTTPError403/HTTPError403.d.ts +40 -2
  73. package/es/components/HTTPErrors/HTTPError403/HTTPError403.js +1 -1
  74. package/es/components/HTTPErrors/HTTPError404/HTTPError404.d.ts +40 -2
  75. package/es/components/HTTPErrors/HTTPError404/HTTPError404.js +1 -1
  76. package/es/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.d.ts +40 -2
  77. package/es/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.js +1 -1
  78. package/es/components/ImportModal/ImportModal.d.ts +136 -2
  79. package/es/components/ImportModal/ImportModal.js +3 -2
  80. package/es/components/InlineTip/InlineTip.d.ts +90 -2
  81. package/es/components/InlineTip/InlineTip.js +3 -2
  82. package/es/components/InlineTip/InlineTipLink.d.ts +19 -2
  83. package/es/components/InterstitialScreenView/InterstitialScreenView.d.ts +23 -2
  84. package/es/components/InterstitialScreenView/InterstitialScreenView.js +0 -1
  85. package/es/components/InterstitialScreenViewModule/InterstitialScreenViewModule.d.ts +23 -2
  86. package/es/components/Nav/Nav.js +1 -1
  87. package/es/components/Nav/NavList.js +7 -7
  88. package/es/components/NonLinearReading/NonLinearReading.d.ts +28 -2
  89. package/es/components/NonLinearReading/NonLinearReading.js +2 -7
  90. package/es/components/NotificationsPanel/NotificationsPanel.js +1 -1
  91. package/es/components/PageHeader/PageHeader.js +3 -3
  92. package/es/components/PageHeader/PageHeaderUtils.d.ts +1 -1
  93. package/es/components/PageHeader/PageHeaderUtils.js +4 -3
  94. package/es/components/SearchBar/SearchBar.d.ts +51 -3
  95. package/es/components/SearchBar/SearchBar.js +5 -6
  96. package/es/components/SidePanel/SidePanel.js +62 -41
  97. package/es/components/SteppedAnimatedMedia/SteppedAnimatedMedia.d.ts +23 -2
  98. package/es/components/SteppedAnimatedMedia/SteppedAnimatedMedia.js +6 -5
  99. package/es/components/TagOverflow/TagOverflow.d.ts +5 -0
  100. package/es/components/TagOverflow/TagOverflow.js +209 -0
  101. package/es/components/TagOverflow/constants.d.ts +14 -0
  102. package/es/components/TagOverflow/constants.js +30 -0
  103. package/es/components/TagOverflow/index.d.ts +1 -0
  104. package/es/components/Tearsheet/TearsheetNarrow.d.ts +105 -6
  105. package/es/components/Tearsheet/TearsheetNarrow.js +6 -1
  106. package/es/components/Toolbar/Toolbar.d.ts +23 -5
  107. package/es/components/Toolbar/Toolbar.js +30 -26
  108. package/es/components/TruncatedList/TruncatedList.d.ts +47 -2
  109. package/es/components/TruncatedList/TruncatedList.js +5 -4
  110. package/es/components/UserAvatar/UserAvatar.js +4 -2
  111. package/es/components/index.d.ts +4 -2
  112. package/es/global/js/package-settings.d.ts +3 -0
  113. package/es/global/js/package-settings.js +3 -0
  114. package/es/index.js +4 -0
  115. package/es/settings.d.ts +3 -0
  116. package/lib/components/ActionSet/ActionSet.d.ts +38 -2
  117. package/lib/components/ActionSet/ActionSet.js +3 -5
  118. package/lib/components/Coachmark/utils/enums.d.ts +36 -22
  119. package/lib/components/CoachmarkBeacon/CoachmarkBeacon.d.ts +26 -2
  120. package/lib/components/CoachmarkBeacon/CoachmarkBeacon.js +1 -3
  121. package/lib/components/CoachmarkFixed/CoachmarkFixed.js +1 -1
  122. package/lib/components/CoachmarkOverlayElement/CoachmarkOverlayElement.d.ts +28 -2
  123. package/lib/components/CoachmarkOverlayElement/CoachmarkOverlayElement.js +0 -1
  124. package/lib/components/ConditionBuilder/ConditionBuilder.d.ts +5 -0
  125. package/lib/components/ConditionBuilder/ConditionBuilder.js +132 -0
  126. package/lib/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.d.ts +10 -0
  127. package/lib/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.js +100 -0
  128. package/lib/components/ConditionBuilder/ConditionBuilderContext/DataTreeContext.d.ts +38 -0
  129. package/lib/components/ConditionBuilder/ConditionBuilderContext/DataTreeContext.js +98 -0
  130. package/lib/components/ConditionBuilder/assets/sampleInput.d.ts +58 -0
  131. package/lib/components/ConditionBuilder/index.d.ts +1 -0
  132. package/lib/components/CreateFullPage/CreateFullPage.d.ts +121 -4
  133. package/lib/components/CreateFullPage/CreateFullPage.js +13 -25
  134. package/lib/components/CreateFullPage/CreateFullPageStep.js +20 -5
  135. package/lib/components/CreateTearsheet/CreateTearsheet.js +2 -0
  136. package/lib/components/CreateTearsheetNarrow/CreateTearsheetNarrow.d.ts +82 -2
  137. package/lib/components/Datagrid/Datagrid/DatagridRow.js +4 -3
  138. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/DraggableItemsList.js +2 -1
  139. package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterFlyout.js +11 -7
  140. package/lib/components/Datagrid/Datagrid/addons/Filtering/FilterPanel.js +6 -2
  141. package/lib/components/Datagrid/Datagrid/addons/stateReducer.js +2 -1
  142. package/lib/components/Datagrid/useEditableCell.js +19 -0
  143. package/lib/components/DelimitedList/DelimitedList.d.ts +27 -2
  144. package/lib/components/DelimitedList/DelimitedList.js +0 -1
  145. package/lib/components/EditFullPage/EditFullPage.d.ts +19 -2
  146. package/lib/components/EditFullPage/EditFullPage.js +3 -3
  147. package/lib/components/EditInPlace/EditInPlace.d.ts +97 -5
  148. package/lib/components/EditInPlace/EditInPlace.js +10 -6
  149. package/lib/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.d.ts +61 -2
  150. package/lib/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +1 -3
  151. package/lib/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.d.ts +61 -2
  152. package/lib/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +1 -2
  153. package/lib/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.d.ts +61 -2
  154. package/lib/components/EmptyStates/NoTagsEmptyState/NoTagsEmptyState.js +1 -3
  155. package/lib/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.d.ts +61 -2
  156. package/lib/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +1 -3
  157. package/lib/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.d.ts +61 -2
  158. package/lib/components/EmptyStates/UnauthorizedEmptyState/UnauthorizedEmptyState.js +1 -2
  159. package/lib/components/ExportModal/ExportModal.d.ts +110 -2
  160. package/lib/components/ExportModal/ExportModal.js +10 -4
  161. package/lib/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.js +1 -1
  162. package/lib/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.js +2 -2
  163. package/lib/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.d.ts +5 -0
  164. package/lib/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.js +5 -9
  165. package/lib/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.js +1 -1
  166. package/lib/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.d.ts +5 -0
  167. package/lib/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.js +99 -0
  168. package/lib/components/FilterPanel/index.d.ts +1 -0
  169. package/lib/components/FullPageError/FullPageError.d.ts +2 -1
  170. package/lib/components/FullPageError/FullPageError.js +24 -49
  171. package/lib/components/HTTPErrors/HTTPError403/HTTPError403.d.ts +40 -2
  172. package/lib/components/HTTPErrors/HTTPError403/HTTPError403.js +1 -1
  173. package/lib/components/HTTPErrors/HTTPError404/HTTPError404.d.ts +40 -2
  174. package/lib/components/HTTPErrors/HTTPError404/HTTPError404.js +1 -1
  175. package/lib/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.d.ts +40 -2
  176. package/lib/components/HTTPErrors/HTTPErrorOther/HTTPErrorOther.js +1 -1
  177. package/lib/components/ImportModal/ImportModal.d.ts +136 -2
  178. package/lib/components/ImportModal/ImportModal.js +3 -2
  179. package/lib/components/InlineTip/InlineTip.d.ts +90 -2
  180. package/lib/components/InlineTip/InlineTip.js +3 -2
  181. package/lib/components/InlineTip/InlineTipLink.d.ts +19 -2
  182. package/lib/components/InterstitialScreenView/InterstitialScreenView.d.ts +23 -2
  183. package/lib/components/InterstitialScreenView/InterstitialScreenView.js +0 -1
  184. package/lib/components/InterstitialScreenViewModule/InterstitialScreenViewModule.d.ts +23 -2
  185. package/lib/components/Nav/Nav.js +1 -1
  186. package/lib/components/Nav/NavList.js +7 -7
  187. package/lib/components/NonLinearReading/NonLinearReading.d.ts +28 -2
  188. package/lib/components/NonLinearReading/NonLinearReading.js +2 -7
  189. package/lib/components/NotificationsPanel/NotificationsPanel.js +1 -1
  190. package/lib/components/PageHeader/PageHeader.js +3 -3
  191. package/lib/components/PageHeader/PageHeaderUtils.d.ts +1 -1
  192. package/lib/components/PageHeader/PageHeaderUtils.js +4 -3
  193. package/lib/components/SearchBar/SearchBar.d.ts +51 -3
  194. package/lib/components/SearchBar/SearchBar.js +5 -6
  195. package/lib/components/SidePanel/SidePanel.js +62 -41
  196. package/lib/components/SteppedAnimatedMedia/SteppedAnimatedMedia.d.ts +23 -2
  197. package/lib/components/SteppedAnimatedMedia/SteppedAnimatedMedia.js +6 -5
  198. package/lib/components/TagOverflow/TagOverflow.d.ts +5 -0
  199. package/lib/components/TagOverflow/TagOverflow.js +216 -0
  200. package/lib/components/TagOverflow/constants.d.ts +14 -0
  201. package/lib/components/TagOverflow/constants.js +34 -0
  202. package/lib/components/TagOverflow/index.d.ts +1 -0
  203. package/lib/components/Tearsheet/TearsheetNarrow.d.ts +105 -6
  204. package/lib/components/Tearsheet/TearsheetNarrow.js +6 -1
  205. package/lib/components/Toolbar/Toolbar.d.ts +23 -5
  206. package/lib/components/Toolbar/Toolbar.js +30 -26
  207. package/lib/components/TruncatedList/TruncatedList.d.ts +47 -2
  208. package/lib/components/TruncatedList/TruncatedList.js +5 -4
  209. package/lib/components/UserAvatar/UserAvatar.js +4 -2
  210. package/lib/components/index.d.ts +4 -2
  211. package/lib/global/js/package-settings.d.ts +3 -0
  212. package/lib/global/js/package-settings.js +3 -0
  213. package/lib/index.js +17 -0
  214. package/lib/settings.d.ts +3 -0
  215. package/package.json +5 -5
  216. package/scss/components/Coachmark/_coachmark-dragbar.scss +0 -1
  217. package/scss/components/Coachmark/_coachmark-tagline.scss +2 -2
  218. package/scss/components/ConditionBuilder/_carbon-imports.scss +9 -0
  219. package/scss/components/ConditionBuilder/_condition-builder.scss +25 -0
  220. package/scss/components/ConditionBuilder/_index-with-carbon.scss +9 -0
  221. package/scss/components/ConditionBuilder/_index.scss +8 -0
  222. package/scss/components/CreateFullPage/_create-full-page.scss +10 -10
  223. package/scss/components/Datagrid/styles/_useNestedRows.scss +5 -1
  224. package/scss/components/Datagrid/styles/_useSortableColumns.scss +2 -0
  225. package/scss/components/FilterPanel/_carbon-imports.scss +5 -0
  226. package/scss/components/FilterPanel/_filter-panel-accordion-item.scss +1 -3
  227. package/scss/components/FilterPanel/_filter-panel-checkbox-with-overflow.scss +0 -2
  228. package/scss/components/FilterPanel/_filter-panel-checkbox.scss +0 -1
  229. package/scss/components/FilterPanel/_filter-panel-search.scss +38 -0
  230. package/scss/components/FilterPanel/_index-with-carbon.scss +1 -0
  231. package/scss/components/FilterPanel/_index.scss +1 -0
  232. package/scss/components/FullPageError/_full-page-error.scss +10 -10
  233. package/scss/components/Guidebanner/_guidebanner.scss +1 -1
  234. package/scss/components/InlineTip/_inline-tip.scss +1 -1
  235. package/scss/components/ProductiveCard/_productive-card.scss +13 -0
  236. package/scss/components/SidePanel/_side-panel.scss +9 -9
  237. package/scss/components/TagOverflow/_carbon-imports.scss +9 -0
  238. package/scss/components/TagOverflow/_index-with-carbon.scss +9 -0
  239. package/scss/components/TagOverflow/_index.scss +8 -0
  240. package/scss/components/TagOverflow/_tag-overflow.scss +55 -0
  241. package/scss/components/Tearsheet/_tearsheet.scss +10 -0
  242. package/scss/components/UserAvatar/_user-avatar.scss +7 -3
  243. package/scss/components/_index-with-carbon.scss +2 -0
  244. package/scss/components/_index.scss +2 -0
@@ -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
 
@@ -76,4 +76,6 @@
76
76
  opacity: 1;
77
77
  visibility: visible;
78
78
  }
79
+
80
+ background-color: $layer-selected-hover-01;
79
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';
@@ -12,9 +12,7 @@
12
12
  @use '../../global/styles/project-settings' as c4p-settings;
13
13
  @use '../../global/styles/mixins';
14
14
 
15
- @use '@carbon/layout/scss/convert' as *;
16
15
  @use '@carbon/styles/scss/spacing' as *;
17
- @use '@carbon/styles/scss/theme' as *;
18
16
  @use '@carbon/styles/scss/type';
19
17
 
20
18
  // The block part of our conventional BEM class names (blockClass__E--M).
@@ -34,7 +32,7 @@ html .#{$block-class} .#{$carbon}--accordion__wrapper {
34
32
  padding-block: 0;
35
33
  }
36
34
  html .#{$block-class} .#{$carbon}--accordion__heading {
37
- min-block-size: 2rem;
35
+ min-block-size: $spacing-07;
38
36
  padding-inline-end: 0;
39
37
  }
40
38
  html .#{$block-class} .#{$carbon}--accordion__title {
@@ -12,8 +12,6 @@
12
12
  @use '../../global/styles/project-settings' as c4p-settings;
13
13
  @use '../../global/styles/mixins';
14
14
 
15
- @use '@carbon/styles/scss/colors' as *;
16
- @use '@carbon/layout/scss/convert' as *;
17
15
  @use '@carbon/styles/scss/spacing' as *;
18
16
  @use '@carbon/styles/scss/theme' as *;
19
17
 
@@ -11,7 +11,6 @@
11
11
  @use '../../global/styles/project-settings' as c4p-settings;
12
12
  @use '../../global/styles/mixins';
13
13
 
14
- @use '@carbon/layout/scss/convert' as *;
15
14
  @use '@carbon/styles/scss/spacing' as *;
16
15
  @use '@carbon/styles/scss/type';
17
16
 
@@ -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
+ }
@@ -13,3 +13,4 @@
13
13
  @use './filter-panel-checkbox-with-overflow';
14
14
  @use './filter-panel-group';
15
15
  @use './filter-panel-label';
16
+ @use './filter-panel-search';
@@ -12,3 +12,4 @@
12
12
  @use './filter-panel-checkbox-with-overflow';
13
13
  @use './filter-panel-group';
14
14
  @use './filter-panel-label';
15
+ @use './filter-panel-search';
@@ -24,7 +24,7 @@ $block-class: #{c4p-settings.$pkg-prefix}--full-page-error;
24
24
  .#{$block-class} {
25
25
  height: inherit;
26
26
  }
27
- .#{$block-class}__error-container {
27
+ .#{$block-class}__container {
28
28
  height: 100%;
29
29
  margin: 0 $spacing-06;
30
30
 
@@ -32,19 +32,19 @@ $block-class: #{c4p-settings.$pkg-prefix}--full-page-error;
32
32
  margin: 0 $spacing-03;
33
33
  }
34
34
  }
35
- .#{$block-class}__error-grid {
35
+ .#{$block-class}__grid {
36
36
  height: 100%;
37
37
  padding-top: $spacing-07;
38
38
  padding-bottom: $spacing-07;
39
39
  }
40
- .#{$block-class}__error-column {
40
+ .#{$block-class}__column {
41
41
  padding: 0;
42
42
  @include breakpoint(lg) {
43
43
  padding: 0 $spacing-07 0 0;
44
44
  }
45
45
  }
46
46
 
47
- .#{$block-class}__error-svg-container {
47
+ .#{$block-class}__svg-container {
48
48
  display: flex;
49
49
  height: 100%;
50
50
  padding: $spacing-03 $spacing-03 $spacing-11 $spacing-03;
@@ -53,16 +53,16 @@ $block-class: #{c4p-settings.$pkg-prefix}--full-page-error;
53
53
  }
54
54
  }
55
55
 
56
- .#{$block-class}__error-label,
57
- .#{$block-class}__error-title {
56
+ .#{$block-class}__label,
57
+ .#{$block-class}__title {
58
58
  @include type-style('fluid-heading-05', true);
59
59
  }
60
60
 
61
- .#{$block-class}__error-label {
61
+ .#{$block-class}__label {
62
62
  display: block;
63
63
  color: $text-error;
64
64
  }
65
- .#{$block-class}__error-title {
65
+ .#{$block-class}__title {
66
66
  margin-bottom: $spacing-09;
67
67
  }
68
68
 
@@ -73,12 +73,12 @@ $block-class: #{c4p-settings.$pkg-prefix}--full-page-error;
73
73
  }
74
74
 
75
75
  // safari rendering fix
76
- .#{$block-class}__error-svg-container svg.#{$block-class}__error-svg {
76
+ .#{$block-class}__svg-container svg.#{$block-class}__svg {
77
77
  width: 100%;
78
78
  }
79
79
 
80
80
  // svg theme styles
81
- .#{$block-class}__error-svg-container svg.#{$block-class}__error-svg path {
81
+ .#{$block-class}__svg-container svg.#{$block-class}__svg path {
82
82
  fill: $background;
83
83
  stroke: $border-inverse;
84
84
  }
@@ -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
  }
@@ -122,10 +122,15 @@ $action-set-block-class: #{c4p-settings.$pkg-prefix}--action-set;
122
122
  z-index: 4;
123
123
  /* stylelint-disable-next-line carbon/layout-token-use */
124
124
  top: calc(-1px * var(--#{$block-class}--scroll-animation-distance));
125
+ min-height: $spacing-08;
125
126
  padding: $spacing-05;
126
127
  padding-bottom: 0;
127
128
  background-color: $layer-01;
128
129
 
130
+ &.#{$block-class}__header--has-title {
131
+ min-height: auto;
132
+ }
133
+
129
134
  &:has(.#{$block-class}__subtitle-text),
130
135
  &.#{$block-class}__header--has-subtitle {
131
136
  --#{$block-class}--title-padding-bottom: #{$spacing-03};
@@ -170,11 +175,6 @@ $action-set-block-class: #{c4p-settings.$pkg-prefix}--action-set;
170
175
  margin-bottom: 0;
171
176
  }
172
177
 
173
- &.#{$block-class}__header--on-detail-step
174
- .#{$block-class}__collapsed-title-text {
175
- top: $spacing-05;
176
- }
177
-
178
178
  &.#{$block-class}__header--on-detail-step
179
179
  .#{$block-class}__navigation-back-button.#{c4p-settings.$carbon-prefix}--btn--md
180
180
  ~ .#{$block-class}__collapsed-title-text {
@@ -297,6 +297,10 @@ $action-set-block-class: #{c4p-settings.$pkg-prefix}--action-set;
297
297
  padding-top: 0;
298
298
  }
299
299
 
300
+ .#{$block-class}__inner-content--no-animated-title {
301
+ padding-top: $spacing-05;
302
+ }
303
+
300
304
  .#{$block-class}__header:has(.#{$block-class}__action-toolbar)
301
305
  + .#{$block-class}__inner-content,
302
306
  .#{$block-class}__header--has-action-toolbar
@@ -311,10 +315,6 @@ $action-set-block-class: #{c4p-settings.$pkg-prefix}--action-set;
311
315
  0 4px 10px 2px $ai-drop-shadow;
312
316
  }
313
317
 
314
- .#{$block-class}__inner-content.#{$block-class}--scrolls {
315
- padding-top: $spacing-05;
316
- }
317
-
318
318
  .#{$block-class}__action-toolbar {
319
319
  position: sticky;
320
320
  z-index: 4;
@@ -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 TagOverflow in this file.
9
+ // TagOverflow 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 './tag-overflow';
@@ -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 './tag-overflow';
@@ -0,0 +1,55 @@
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
+ @use '@carbon/styles/scss/spacing' as *;
12
+
13
+ // Other Carbon settings if needed
14
+ // TODO: @use '@carbon/styles/scss/grid';
15
+ // or
16
+ // TODO: @use '@carbon/react/scss/grid';
17
+
18
+ // TagOverflow uses the following Carbon for IBM Products components:
19
+ // TODO: @use(s) of IBM Products component styles used by TagOverflow
20
+
21
+ // The block part of our conventional BEM class names (blockClass__E--M).
22
+ $block-class: #{c4p-settings.$pkg-prefix}--tag-overflow;
23
+
24
+ .#{$block-class} {
25
+ display: flex;
26
+ width: 100%;
27
+ min-width: $spacing-12;
28
+ align-items: center;
29
+ white-space: nowrap;
30
+ }
31
+
32
+ .#{$block-class}--multiline {
33
+ flex-wrap: wrap;
34
+ }
35
+
36
+ .#{$block-class}__item {
37
+ margin: $spacing-01;
38
+ }
39
+
40
+ .#{$block-class}__item--tag {
41
+ border: none;
42
+ }
43
+
44
+ .#{$block-class}__item--tag span {
45
+ display: inline-block;
46
+ overflow: hidden;
47
+ max-width: $spacing-12;
48
+ text-overflow: ellipsis;
49
+ white-space: nowrap;
50
+ }
51
+
52
+ .#{$block-class}__indicator {
53
+ display: inline-block;
54
+ max-width: $spacing-09;
55
+ }
@@ -317,6 +317,16 @@ $motion-duration: $duration-moderate-02;
317
317
  }
318
318
  }
319
319
 
320
+ @include breakpoint-down(md) {
321
+ .#{$block-class}__container {
322
+ max-height: 100%;
323
+ }
324
+
325
+ .#{$block-class}__influencer {
326
+ flex-basis: auto;
327
+ }
328
+ }
329
+
320
330
  .#{$block-class}__influencer--wide {
321
331
  flex-basis: 321px; // influencer width 320px plus 1px border
322
332
  }
@@ -65,7 +65,6 @@ $sizes: (
65
65
  }
66
66
 
67
67
  @mixin photo-styling {
68
- position: fixed;
69
68
  border-radius: 100%;
70
69
  object-fit: fill;
71
70
  }
@@ -76,15 +75,20 @@ $sizes: (
76
75
  }
77
76
 
78
77
  @mixin setLightBg($order, $color) {
78
+ :root .#{$block-class}--#{$order},
79
79
  .#{$carbon-prefix}--g10 .#{$block-class}--#{$order},
80
- .#{$carbon-prefix}--white .#{$block-class}--#{$order} {
80
+ .#{$carbon-prefix}--white .#{$block-class}--#{$order},
81
+ [storybook-carbon-theme='g10'] .#{$block-class}--#{$order},
82
+ [storybook-carbon-theme='white'] .#{$block-class}--#{$order} {
81
83
  @include setBgColor($color);
82
84
  }
83
85
  }
84
86
 
85
87
  @mixin setDarkBg($order, $color) {
86
88
  .#{$carbon-prefix}--g90 .#{$block-class}--#{$order},
87
- .#{$carbon-prefix}--g100 .#{$block-class}--#{$order} {
89
+ .#{$carbon-prefix}--g100 .#{$block-class}--#{$order},
90
+ [storybook-carbon-theme='g90'] .#{$block-class}--#{$order},
91
+ [storybook-carbon-theme='g100'] .#{$block-class}--#{$order} {
88
92
  @include setBgColor($color);
89
93
  }
90
94
  }
@@ -72,4 +72,6 @@
72
72
  @use './UserAvatar/index-with-carbon' as *;
73
73
  @use './ScrollGradient/index-with-carbon' as *;
74
74
  @use './StatusIndicator/index-with-carbon' as *;
75
+ @use './TagOverflow/index-with-carbon' as *;
75
76
  @use './FilterPanel/index-with-carbon' as *;
77
+ @use './ConditionBuilder/index-with-carbon' as *;
@@ -80,4 +80,6 @@
80
80
  @use './UserAvatar';
81
81
  @use './ScrollGradient';
82
82
  @use './StatusIndicator';
83
+ @use './TagOverflow';
83
84
  @use './FilterPanel';
85
+ @use './ConditionBuilder';