@carbon/ibm-products 2.34.0 → 2.35.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (180) hide show
  1. package/css/index-full-carbon.css +31910 -32273
  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 +568 -24320
  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 +2145 -17925
  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/CreateTearsheetNarrow/CreateTearsheetNarrow.d.ts +82 -2
  31. package/es/components/Datagrid/Datagrid/addons/stateReducer.js +2 -1
  32. package/es/components/Datagrid/useEditableCell.js +15 -0
  33. package/es/components/DelimitedList/DelimitedList.d.ts +27 -2
  34. package/es/components/DelimitedList/DelimitedList.js +0 -1
  35. package/es/components/EditInPlace/EditInPlace.d.ts +97 -5
  36. package/es/components/EditInPlace/EditInPlace.js +10 -6
  37. package/es/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.d.ts +61 -2
  38. package/es/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +1 -3
  39. package/es/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.d.ts +61 -2
  40. package/es/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +1 -2
  41. package/es/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.d.ts +61 -2
  42. package/es/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +1 -3
  43. package/es/components/ExportModal/ExportModal.d.ts +110 -2
  44. package/es/components/ExportModal/ExportModal.js +10 -4
  45. package/es/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.js +1 -1
  46. package/es/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.js +2 -2
  47. package/es/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.d.ts +5 -0
  48. package/es/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.js +5 -9
  49. package/es/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.js +1 -1
  50. package/es/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.d.ts +5 -0
  51. package/es/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.js +92 -0
  52. package/es/components/FilterPanel/index.d.ts +1 -0
  53. package/es/components/HTTPErrors/HTTPError403/HTTPError403.d.ts +40 -2
  54. package/es/components/HTTPErrors/HTTPError403/HTTPError403.js +1 -1
  55. package/es/components/HTTPErrors/HTTPError404/HTTPError404.d.ts +40 -2
  56. package/es/components/HTTPErrors/HTTPError404/HTTPError404.js +1 -1
  57. package/es/components/ImportModal/ImportModal.d.ts +136 -2
  58. package/es/components/ImportModal/ImportModal.js +3 -2
  59. package/es/components/InlineTip/InlineTip.d.ts +90 -2
  60. package/es/components/InlineTip/InlineTip.js +3 -2
  61. package/es/components/Nav/Nav.js +1 -1
  62. package/es/components/Nav/NavList.js +7 -7
  63. package/es/components/NotificationsPanel/NotificationsPanel.js +1 -1
  64. package/es/components/PageHeader/PageHeader.js +3 -3
  65. package/es/components/PageHeader/PageHeaderUtils.d.ts +1 -1
  66. package/es/components/PageHeader/PageHeaderUtils.js +4 -3
  67. package/es/components/SidePanel/SidePanel.js +52 -36
  68. package/es/components/SteppedAnimatedMedia/SteppedAnimatedMedia.d.ts +23 -2
  69. package/es/components/SteppedAnimatedMedia/SteppedAnimatedMedia.js +6 -5
  70. package/es/components/TagOverflow/TagOverflow.d.ts +5 -0
  71. package/es/components/TagOverflow/TagOverflow.js +209 -0
  72. package/es/components/TagOverflow/constants.d.ts +14 -0
  73. package/es/components/TagOverflow/constants.js +30 -0
  74. package/es/components/TagOverflow/index.d.ts +1 -0
  75. package/es/components/Tearsheet/TearsheetNarrow.d.ts +105 -6
  76. package/es/components/Tearsheet/TearsheetNarrow.js +6 -1
  77. package/es/components/Toolbar/Toolbar.d.ts +23 -5
  78. package/es/components/Toolbar/Toolbar.js +30 -26
  79. package/es/components/UserAvatar/UserAvatar.js +4 -2
  80. package/es/components/index.d.ts +4 -2
  81. package/es/global/js/package-settings.d.ts +3 -0
  82. package/es/global/js/package-settings.js +3 -0
  83. package/es/index.js +4 -0
  84. package/es/settings.d.ts +3 -0
  85. package/lib/components/ActionSet/ActionSet.d.ts +38 -2
  86. package/lib/components/ActionSet/ActionSet.js +3 -5
  87. package/lib/components/CoachmarkFixed/CoachmarkFixed.js +1 -1
  88. package/lib/components/ConditionBuilder/ConditionBuilder.d.ts +5 -0
  89. package/lib/components/ConditionBuilder/ConditionBuilder.js +132 -0
  90. package/lib/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.d.ts +10 -0
  91. package/lib/components/ConditionBuilder/ConditionBuilderContent/ConditionBuilderContent.js +100 -0
  92. package/lib/components/ConditionBuilder/ConditionBuilderContext/DataTreeContext.d.ts +38 -0
  93. package/lib/components/ConditionBuilder/ConditionBuilderContext/DataTreeContext.js +98 -0
  94. package/lib/components/ConditionBuilder/assets/sampleInput.d.ts +58 -0
  95. package/lib/components/ConditionBuilder/index.d.ts +1 -0
  96. package/lib/components/CreateFullPage/CreateFullPage.js +2 -18
  97. package/lib/components/CreateFullPage/CreateFullPageStep.js +20 -5
  98. package/lib/components/CreateTearsheetNarrow/CreateTearsheetNarrow.d.ts +82 -2
  99. package/lib/components/Datagrid/Datagrid/addons/stateReducer.js +2 -1
  100. package/lib/components/Datagrid/useEditableCell.js +19 -0
  101. package/lib/components/DelimitedList/DelimitedList.d.ts +27 -2
  102. package/lib/components/DelimitedList/DelimitedList.js +0 -1
  103. package/lib/components/EditInPlace/EditInPlace.d.ts +97 -5
  104. package/lib/components/EditInPlace/EditInPlace.js +10 -6
  105. package/lib/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.d.ts +61 -2
  106. package/lib/components/EmptyStates/ErrorEmptyState/ErrorEmptyState.js +1 -3
  107. package/lib/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.d.ts +61 -2
  108. package/lib/components/EmptyStates/NoDataEmptyState/NoDataEmptyState.js +1 -2
  109. package/lib/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.d.ts +61 -2
  110. package/lib/components/EmptyStates/NotFoundEmptyState/NotFoundEmptyState.js +1 -3
  111. package/lib/components/ExportModal/ExportModal.d.ts +110 -2
  112. package/lib/components/ExportModal/ExportModal.js +10 -4
  113. package/lib/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.js +1 -1
  114. package/lib/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.js +2 -2
  115. package/lib/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.d.ts +5 -0
  116. package/lib/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.js +5 -9
  117. package/lib/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.js +1 -1
  118. package/lib/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.d.ts +5 -0
  119. package/lib/components/FilterPanel/FilterPanelSearch/FilterPanelSearch.js +99 -0
  120. package/lib/components/FilterPanel/index.d.ts +1 -0
  121. package/lib/components/HTTPErrors/HTTPError403/HTTPError403.d.ts +40 -2
  122. package/lib/components/HTTPErrors/HTTPError403/HTTPError403.js +1 -1
  123. package/lib/components/HTTPErrors/HTTPError404/HTTPError404.d.ts +40 -2
  124. package/lib/components/HTTPErrors/HTTPError404/HTTPError404.js +1 -1
  125. package/lib/components/ImportModal/ImportModal.d.ts +136 -2
  126. package/lib/components/ImportModal/ImportModal.js +3 -2
  127. package/lib/components/InlineTip/InlineTip.d.ts +90 -2
  128. package/lib/components/InlineTip/InlineTip.js +3 -2
  129. package/lib/components/Nav/Nav.js +1 -1
  130. package/lib/components/Nav/NavList.js +7 -7
  131. package/lib/components/NotificationsPanel/NotificationsPanel.js +1 -1
  132. package/lib/components/PageHeader/PageHeader.js +3 -3
  133. package/lib/components/PageHeader/PageHeaderUtils.d.ts +1 -1
  134. package/lib/components/PageHeader/PageHeaderUtils.js +4 -3
  135. package/lib/components/SidePanel/SidePanel.js +52 -36
  136. package/lib/components/SteppedAnimatedMedia/SteppedAnimatedMedia.d.ts +23 -2
  137. package/lib/components/SteppedAnimatedMedia/SteppedAnimatedMedia.js +6 -5
  138. package/lib/components/TagOverflow/TagOverflow.d.ts +5 -0
  139. package/lib/components/TagOverflow/TagOverflow.js +216 -0
  140. package/lib/components/TagOverflow/constants.d.ts +14 -0
  141. package/lib/components/TagOverflow/constants.js +34 -0
  142. package/lib/components/TagOverflow/index.d.ts +1 -0
  143. package/lib/components/Tearsheet/TearsheetNarrow.d.ts +105 -6
  144. package/lib/components/Tearsheet/TearsheetNarrow.js +6 -1
  145. package/lib/components/Toolbar/Toolbar.d.ts +23 -5
  146. package/lib/components/Toolbar/Toolbar.js +30 -26
  147. package/lib/components/UserAvatar/UserAvatar.js +4 -2
  148. package/lib/components/index.d.ts +4 -2
  149. package/lib/global/js/package-settings.d.ts +3 -0
  150. package/lib/global/js/package-settings.js +3 -0
  151. package/lib/index.js +17 -0
  152. package/lib/settings.d.ts +3 -0
  153. package/package.json +3 -3
  154. package/scss/components/Coachmark/_coachmark-dragbar.scss +0 -1
  155. package/scss/components/Coachmark/_coachmark-tagline.scss +2 -2
  156. package/scss/components/ConditionBuilder/_carbon-imports.scss +9 -0
  157. package/scss/components/ConditionBuilder/_condition-builder.scss +25 -0
  158. package/scss/components/ConditionBuilder/_index-with-carbon.scss +9 -0
  159. package/scss/components/ConditionBuilder/_index.scss +8 -0
  160. package/scss/components/CreateFullPage/_create-full-page.scss +10 -10
  161. package/scss/components/Datagrid/styles/_useNestedRows.scss +5 -1
  162. package/scss/components/FilterPanel/_carbon-imports.scss +5 -0
  163. package/scss/components/FilterPanel/_filter-panel-accordion-item.scss +1 -3
  164. package/scss/components/FilterPanel/_filter-panel-checkbox-with-overflow.scss +0 -2
  165. package/scss/components/FilterPanel/_filter-panel-checkbox.scss +0 -1
  166. package/scss/components/FilterPanel/_filter-panel-search.scss +38 -0
  167. package/scss/components/FilterPanel/_index-with-carbon.scss +1 -0
  168. package/scss/components/FilterPanel/_index.scss +1 -0
  169. package/scss/components/Guidebanner/_guidebanner.scss +1 -1
  170. package/scss/components/InlineTip/_inline-tip.scss +1 -1
  171. package/scss/components/ProductiveCard/_productive-card.scss +13 -0
  172. package/scss/components/SidePanel/_side-panel.scss +9 -9
  173. package/scss/components/TagOverflow/_carbon-imports.scss +9 -0
  174. package/scss/components/TagOverflow/_index-with-carbon.scss +9 -0
  175. package/scss/components/TagOverflow/_index.scss +8 -0
  176. package/scss/components/TagOverflow/_tag-overflow.scss +55 -0
  177. package/scss/components/Tearsheet/_tearsheet.scss +10 -0
  178. package/scss/components/UserAvatar/_user-avatar.scss +1 -0
  179. package/scss/components/_index-with-carbon.scss +2 -0
  180. package/scss/components/_index.scss +2 -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');
@@ -124,6 +125,7 @@ var StringFormatter = require('./components/StringFormatter/StringFormatter.js')
124
125
  var UserAvatar = require('./components/UserAvatar/UserAvatar.js');
125
126
  var ScrollGradient = require('./components/ScrollGradient/ScrollGradient.js');
126
127
  var StatusIndicator = require('./components/StatusIndicator/StatusIndicator.js');
128
+ var TagOverflow = require('./components/TagOverflow/TagOverflow.js');
127
129
  var ActionBar = require('./components/ActionBar/ActionBar.js');
128
130
  var FilterPanel = require('./components/FilterPanel/FilterPanel.js');
129
131
  var FilterPanelAccordion = require('./components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.js');
@@ -132,6 +134,8 @@ var FilterPanelCheckbox = require('./components/FilterPanel/FilterPanelCheckbox/
132
134
  var FilterPanelCheckboxWithOverflow = require('./components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.js');
133
135
  var FilterPanelGroup = require('./components/FilterPanel/FilterPanelGroup/FilterPanelGroup.js');
134
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');
135
139
 
136
140
 
137
141
 
@@ -359,6 +363,7 @@ exports.useInlineEdit = useInlineEdit["default"];
359
363
  exports.useFiltering = useFiltering["default"];
360
364
  exports.getAutoSizedColumnWidth = getAutoSizedColumnWidth.getAutoSizedColumnWidth;
361
365
  exports.useFilterContext = useFilterContext["default"];
366
+ exports.useEditableCell = useEditableCell["default"];
362
367
  Object.defineProperty(exports, 'EditTearsheet', {
363
368
  enumerable: true,
364
369
  get: function () { return EditTearsheet.EditTearsheet; }
@@ -527,6 +532,10 @@ Object.defineProperty(exports, 'StatusIndicator', {
527
532
  enumerable: true,
528
533
  get: function () { return StatusIndicator.StatusIndicator; }
529
534
  });
535
+ Object.defineProperty(exports, 'TagOverflow', {
536
+ enumerable: true,
537
+ get: function () { return TagOverflow.TagOverflow; }
538
+ });
530
539
  Object.defineProperty(exports, 'ActionBar', {
531
540
  enumerable: true,
532
541
  get: function () { return ActionBar.ActionBar; }
@@ -559,3 +568,11 @@ Object.defineProperty(exports, 'FilterPanelLabel', {
559
568
  enumerable: true,
560
569
  get: function () { return FilterPanelLabel.FilterPanelLabel; }
561
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
@@ -70,6 +70,7 @@ export const pkg: {
70
70
  StringFormatter: boolean;
71
71
  StatusIndicator: boolean;
72
72
  StatusIndicatorStep: boolean;
73
+ TagOverflow: boolean;
73
74
  ActionBar: boolean;
74
75
  FilterPanel: boolean;
75
76
  FilterPanelAccordion: boolean;
@@ -78,6 +79,8 @@ export const pkg: {
78
79
  FilterPanelCheckboxWithOverflow: boolean;
79
80
  FilterPanelGroup: boolean;
80
81
  FilterPanelLabel: boolean;
82
+ FilterPanelSearch: boolean;
83
+ ConditionBuilder: boolean;
81
84
  Coachmark: boolean;
82
85
  CoachmarkBeacon: boolean;
83
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.34.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.32.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": "8c3c324be171a801b4d966e94c54ca01a99eb82f"
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';
@@ -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';
@@ -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
  }
@@ -76,6 +76,7 @@ $sizes: (
76
76
  }
77
77
 
78
78
  @mixin setLightBg($order, $color) {
79
+ :root .#{$block-class}--#{$order},
79
80
  .#{$carbon-prefix}--g10 .#{$block-class}--#{$order},
80
81
  .#{$carbon-prefix}--white .#{$block-class}--#{$order} {
81
82
  @include setBgColor($color);
@@ -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';