@carbon/ibm-products 2.33.0 → 2.34.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (127) hide show
  1. package/css/index-full-carbon.css +303 -11
  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.css +303 -11
  6. package/css/index-without-carbon.css.map +1 -1
  7. package/css/index-without-carbon.min.css +1 -1
  8. package/css/index-without-carbon.min.css.map +1 -1
  9. package/css/index.css +303 -11
  10. package/css/index.css.map +1 -1
  11. package/css/index.min.css +1 -1
  12. package/css/index.min.css.map +1 -1
  13. package/es/components/CreateSidePanel/CreateSidePanel.d.ts +81 -2
  14. package/es/components/CreateSidePanel/CreateSidePanel.js +5 -2
  15. package/es/components/DataSpreadsheet/DataSpreadsheet.js +5 -117
  16. package/es/components/DataSpreadsheet/DataSpreadsheetBody.js +12 -111
  17. package/es/components/DataSpreadsheet/utils/commonEventHandlers.d.ts +4 -0
  18. package/es/components/DataSpreadsheet/utils/commonEventHandlers.js +304 -0
  19. package/es/components/Datagrid/Datagrid/DatagridContent.js +2 -1
  20. package/es/components/Datagrid/Datagrid/DatagridEmptyBody.js +4 -1
  21. package/es/components/Datagrid/Datagrid/DatagridRefBody.js +3 -1
  22. package/es/components/Datagrid/Datagrid/DatagridSimpleBody.js +4 -1
  23. package/es/components/Datagrid/Datagrid/DatagridVirtualBody.js +6 -2
  24. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.d.ts +1 -1
  25. package/es/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.js +4 -0
  26. package/es/components/Datagrid/Datagrid/addons/InlineEdit/handleGridKeyPress.d.ts +2 -1
  27. package/es/components/Datagrid/Datagrid/addons/InlineEdit/handleGridKeyPress.js +4 -3
  28. package/es/components/EditSidePanel/EditSidePanel.d.ts +92 -2
  29. package/es/components/EditSidePanel/EditSidePanel.js +8 -10
  30. package/es/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.d.ts +5 -0
  31. package/es/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.js +83 -0
  32. package/es/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.d.ts +5 -0
  33. package/es/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.js +94 -0
  34. package/es/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.js +3 -1
  35. package/es/components/FilterPanel/FilterPanelCheckbox/index.d.ts +1 -0
  36. package/es/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.d.ts +10 -0
  37. package/es/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.js +157 -0
  38. package/es/components/FilterPanel/FilterPanelGroup/FilterPanelGroup.d.ts +5 -0
  39. package/es/components/FilterPanel/FilterPanelGroup/FilterPanelGroup.js +72 -0
  40. package/es/components/FilterPanel/FilterPanelLabel/FilterPanelLabel.js +2 -2
  41. package/es/components/FilterPanel/index.d.ts +4 -0
  42. package/es/components/OptionsTile/OptionsTile.d.ts +77 -3
  43. package/es/components/OptionsTile/OptionsTile.js +9 -20
  44. package/es/components/RemoveModal/RemoveModal.d.ts +81 -7
  45. package/es/components/RemoveModal/RemoveModal.js +1 -0
  46. package/es/components/ScrollGradient/ScrollGradient.d.ts +5 -0
  47. package/es/components/ScrollGradient/ScrollGradient.js +156 -0
  48. package/es/components/ScrollGradient/constants.d.ts +15 -0
  49. package/es/components/ScrollGradient/constants.js +121 -0
  50. package/es/components/ScrollGradient/index.d.ts +1 -0
  51. package/es/components/SidePanel/SidePanel.d.ts +144 -2
  52. package/es/components/SidePanel/SidePanel.js +57 -48
  53. package/es/components/StatusIcon/StatusIcon.d.ts +34 -2
  54. package/es/components/StatusIcon/StatusIcon.js +97 -95
  55. package/es/components/TruncatedList/TruncatedList.js +5 -3
  56. package/es/components/UserAvatar/UserAvatar.js +3 -2
  57. package/es/components/index.d.ts +2 -1
  58. package/es/global/js/package-settings.d.ts +5 -0
  59. package/es/global/js/package-settings.js +5 -0
  60. package/es/index.js +5 -0
  61. package/es/settings.d.ts +5 -0
  62. package/lib/components/CreateSidePanel/CreateSidePanel.d.ts +81 -2
  63. package/lib/components/CreateSidePanel/CreateSidePanel.js +5 -2
  64. package/lib/components/DataSpreadsheet/DataSpreadsheet.js +5 -117
  65. package/lib/components/DataSpreadsheet/DataSpreadsheetBody.js +12 -111
  66. package/lib/components/DataSpreadsheet/utils/commonEventHandlers.d.ts +4 -0
  67. package/lib/components/DataSpreadsheet/utils/commonEventHandlers.js +311 -0
  68. package/lib/components/Datagrid/Datagrid/DatagridContent.js +2 -1
  69. package/lib/components/Datagrid/Datagrid/DatagridEmptyBody.js +4 -1
  70. package/lib/components/Datagrid/Datagrid/DatagridRefBody.js +3 -1
  71. package/lib/components/Datagrid/Datagrid/DatagridSimpleBody.js +4 -1
  72. package/lib/components/Datagrid/Datagrid/DatagridVirtualBody.js +5 -1
  73. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.d.ts +1 -1
  74. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/InlineEditCell/InlineEditCell.js +4 -0
  75. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/handleGridKeyPress.d.ts +2 -1
  76. package/lib/components/Datagrid/Datagrid/addons/InlineEdit/handleGridKeyPress.js +4 -3
  77. package/lib/components/EditSidePanel/EditSidePanel.d.ts +92 -2
  78. package/lib/components/EditSidePanel/EditSidePanel.js +8 -10
  79. package/lib/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.d.ts +5 -0
  80. package/lib/components/FilterPanel/FilterPanelAccordion/FilterPanelAccordion.js +90 -0
  81. package/lib/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.d.ts +5 -0
  82. package/lib/components/FilterPanel/FilterPanelAccordionItem/FilterPanelAccordionItem.js +101 -0
  83. package/lib/components/FilterPanel/FilterPanelCheckbox/FilterPanelCheckbox.js +3 -1
  84. package/lib/components/FilterPanel/FilterPanelCheckbox/index.d.ts +1 -0
  85. package/lib/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.d.ts +10 -0
  86. package/lib/components/FilterPanel/FilterPanelCheckboxWithOverflow/FilterPanelCheckboxWithOverflow.js +164 -0
  87. package/lib/components/FilterPanel/FilterPanelGroup/FilterPanelGroup.d.ts +5 -0
  88. package/lib/components/FilterPanel/FilterPanelGroup/FilterPanelGroup.js +79 -0
  89. package/lib/components/FilterPanel/FilterPanelLabel/FilterPanelLabel.js +2 -2
  90. package/lib/components/FilterPanel/index.d.ts +4 -0
  91. package/lib/components/OptionsTile/OptionsTile.d.ts +77 -3
  92. package/lib/components/OptionsTile/OptionsTile.js +9 -20
  93. package/lib/components/RemoveModal/RemoveModal.d.ts +81 -7
  94. package/lib/components/RemoveModal/RemoveModal.js +1 -0
  95. package/lib/components/ScrollGradient/ScrollGradient.d.ts +5 -0
  96. package/lib/components/ScrollGradient/ScrollGradient.js +163 -0
  97. package/lib/components/ScrollGradient/constants.d.ts +15 -0
  98. package/lib/components/ScrollGradient/constants.js +128 -0
  99. package/lib/components/ScrollGradient/index.d.ts +1 -0
  100. package/lib/components/SidePanel/SidePanel.d.ts +144 -2
  101. package/lib/components/SidePanel/SidePanel.js +57 -48
  102. package/lib/components/StatusIcon/StatusIcon.d.ts +34 -2
  103. package/lib/components/StatusIcon/StatusIcon.js +97 -95
  104. package/lib/components/TruncatedList/TruncatedList.js +5 -3
  105. package/lib/components/UserAvatar/UserAvatar.js +3 -2
  106. package/lib/components/index.d.ts +2 -1
  107. package/lib/global/js/package-settings.d.ts +5 -0
  108. package/lib/global/js/package-settings.js +5 -0
  109. package/lib/index.js +25 -0
  110. package/lib/settings.d.ts +5 -0
  111. package/package.json +3 -3
  112. package/scss/components/FilterPanel/_filter-panel-accordion-item.scss +56 -0
  113. package/scss/components/FilterPanel/_filter-panel-accordion.scss +6 -0
  114. package/scss/components/FilterPanel/_filter-panel-checkbox-with-overflow.scss +62 -0
  115. package/scss/components/FilterPanel/_filter-panel-checkbox.scss +25 -3
  116. package/scss/components/FilterPanel/_filter-panel-group.scss +39 -0
  117. package/scss/components/FilterPanel/_filter-panel-label.scss +0 -8
  118. package/scss/components/FilterPanel/_filter-panel.scss +2 -0
  119. package/scss/components/FilterPanel/_index-with-carbon.scss +4 -0
  120. package/scss/components/FilterPanel/_index.scss +4 -0
  121. package/scss/components/ScrollGradient/_carbon-imports.scss +9 -0
  122. package/scss/components/ScrollGradient/_index-with-carbon.scss +9 -0
  123. package/scss/components/ScrollGradient/_index.scss +8 -0
  124. package/scss/components/ScrollGradient/_scroll-gradient.scss +102 -0
  125. package/scss/components/UserAvatar/_user-avatar.scss +37 -4
  126. package/scss/components/_index-with-carbon.scss +1 -0
  127. package/scss/components/_index.scss +1 -0
@@ -0,0 +1,62 @@
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/colors' as *;
16
+ @use '@carbon/layout/scss/convert' as *;
17
+ @use '@carbon/styles/scss/spacing' as *;
18
+ @use '@carbon/styles/scss/theme' as *;
19
+
20
+ // The block part of our conventional BEM class names (blockClass__E--M).
21
+ $block-class: #{c4p-settings.$pkg-prefix}--filter-panel-checkbox-with-overflow;
22
+ $carbon: #{c4p-settings.$carbon-prefix};
23
+
24
+ .#{$block-class} {
25
+ position: relative;
26
+ }
27
+ .#{$block-class}--open,
28
+ .#{$block-class}:hover,
29
+ .#{$block-class}:focus-within {
30
+ background-color: $field;
31
+ }
32
+
33
+ // Position the menu button via its wrapper, not the button itself.
34
+ .#{$block-class} .#{$carbon}--overflow-menu__wrapper {
35
+ position: absolute;
36
+ top: 0;
37
+ right: 0;
38
+ }
39
+ // Size the menu button.
40
+ .#{$block-class} .#{$block-class}__overflow-button {
41
+ width: $spacing-06;
42
+ background-color: $layer;
43
+ block-size: $spacing-06;
44
+ min-block-size: $spacing-06;
45
+ }
46
+
47
+ // OverflowMenu <li>
48
+ .#{$block-class}__overflow-options .#{$carbon}--overflow-menu-options__option {
49
+ height: $spacing-06;
50
+ }
51
+ // OverflowMenu <button>
52
+ .#{$block-class}__overflow-options .#{$carbon}--overflow-menu-options__btn {
53
+ max-width: none;
54
+ justify-content: flex-end;
55
+ }
56
+ // SIZE FIX: This element is being used to "erase" the drop shadow
57
+ // created by the menu items overtop the menu button.
58
+ .#{$block-class}__overflow-options.#{$carbon}--overflow-menu-options[data-floating-menu-direction='bottom']:not(
59
+ .#{$carbon}--breadcrumb-menu-options
60
+ )::after {
61
+ inline-size: $spacing-06;
62
+ }
@@ -11,16 +11,38 @@
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
+ @use '@carbon/styles/scss/spacing' as *;
14
16
  @use '@carbon/styles/scss/type';
15
17
 
16
18
  // The block part of our conventional BEM class names (blockClass__E--M).
17
19
  $block-class: #{c4p-settings.$pkg-prefix}--filter-panel-checkbox;
18
20
  $label: #{c4p-settings.$pkg-prefix}--filter-panel-label;
21
+ $carbon: #{c4p-settings.$carbon-prefix};
19
22
 
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 {
23
+ // UNDO Carbon's concept that a Checkbox is always a list item (":last-of-type").
24
+ // This also allows the TruncatedList to calculate the correct height for expanding/collapsing the list.
25
+ .#{$block-class}.#{$carbon}--form-item.#{$carbon}--checkbox-wrapper,
26
+ .#{$block-class}.#{$carbon}--form-item.#{$carbon}--checkbox-wrapper:last-of-type {
27
+ margin-block-end: 0;
28
+ }
29
+
30
+ // Surround a checkbox's count with parentheses.
31
+ .#{$block-class}
32
+ .#{c4p-settings.$pkg-prefix}--filter-panel-label__count::before {
33
+ content: '(';
34
+ }
35
+ .#{$block-class}
36
+ .#{c4p-settings.$pkg-prefix}--filter-panel-label__count::after {
37
+ content: ')';
38
+ }
39
+
40
+ .#{$block-class} .#{$carbon}--checkbox-label,
41
+ .#{$block-class} .#{$carbon}--checkbox-label-text {
42
+ // Set Carbon's Checkbox label to 100% the width of the filter panel.
23
43
  width: 100%;
44
+ // Match height to the "checkbox with overflow" button.
45
+ height: $spacing-06;
24
46
  }
25
47
 
26
48
  .#{$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
- }
@@ -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,9 @@
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';
@@ -6,5 +6,9 @@
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';
@@ -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';
@@ -0,0 +1,102 @@
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/motion' as *;
12
+ @use '@carbon/styles/scss/spacing' as *;
13
+
14
+ $block-class: #{c4p-settings.$pkg-prefix}--scroll-gradient;
15
+
16
+ .#{$block-class} {
17
+ position: relative;
18
+ display: flex;
19
+ width: inherit;
20
+ height: inherit;
21
+ align-items: stretch;
22
+ justify-content: stretch;
23
+ }
24
+ .#{$block-class}__content {
25
+ overflow: auto;
26
+ width: 100%;
27
+ height: inherit;
28
+ }
29
+
30
+ .#{$block-class}__content-children {
31
+ width: 100%;
32
+ height: 100%;
33
+ }
34
+ // All gradients
35
+ .#{$block-class}__start-vertical,
36
+ .#{$block-class}__start-horizontal,
37
+ .#{$block-class}__end-vertical,
38
+ .#{$block-class}__end-horizontal {
39
+ position: absolute;
40
+ z-index: 1;
41
+ display: none;
42
+ pointer-events: none;
43
+ }
44
+
45
+ // Vertical start
46
+ .#{$block-class}--y-scrollable .#{$block-class}__start-vertical {
47
+ top: 0;
48
+ left: 0;
49
+ height: $spacing-09;
50
+ }
51
+ // Vertical end
52
+ .#{$block-class}--y-scrollable .#{$block-class}__end-vertical {
53
+ bottom: 0;
54
+ left: 0;
55
+ height: $spacing-09;
56
+ }
57
+
58
+ // Horizontal start
59
+ .#{$block-class}--x-scrollable .#{$block-class}__start-horizontal {
60
+ top: 0;
61
+ left: 0;
62
+ width: $spacing-09;
63
+ }
64
+
65
+ // Horizontal end
66
+ .#{$block-class}--x-scrollable .#{$block-class}__end-horizontal {
67
+ top: 0;
68
+ right: 0;
69
+ width: $spacing-09;
70
+ }
71
+
72
+ // Vertical start states
73
+ .#{$block-class}--y-started.#{$block-class}--y-scrollable
74
+ .#{$block-class}__start-vertical,
75
+ .#{$block-class}--y-end.#{$block-class}--y-scrollable
76
+ .#{$block-class}__start-vertical {
77
+ display: block;
78
+ }
79
+
80
+ // Vertical end states
81
+ .#{$block-class}--y-initial.#{$block-class}--y-scrollable
82
+ .#{$block-class}__end-vertical,
83
+ .#{$block-class}--y-started.#{$block-class}--y-scrollable
84
+ .#{$block-class}__end-vertical {
85
+ display: block;
86
+ }
87
+
88
+ // Horizontal start states
89
+ .#{$block-class}--x-started.#{$block-class}--x-scrollable
90
+ .#{$block-class}__start-horizontal,
91
+ .#{$block-class}--x-end.#{$block-class}--x-scrollable
92
+ .#{$block-class}__start-horizontal {
93
+ display: block;
94
+ }
95
+
96
+ // Horizontal end states
97
+ .#{$block-class}--x-initial.#{$block-class}--x-scrollable
98
+ .#{$block-class}__end-horizontal,
99
+ .#{$block-class}--x-started.#{$block-class}--x-scrollable
100
+ .#{$block-class}__end-horizontal {
101
+ display: block;
102
+ }
@@ -75,13 +75,46 @@ $sizes: (
75
75
  background-color: $color;
76
76
  }
77
77
 
78
- .#{$block-class}--light-cyan {
79
- @include setBgColor($cyan-50);
78
+ @mixin setLightBg($order, $color) {
79
+ .#{$carbon-prefix}--g10 .#{$block-class}--#{$order},
80
+ .#{$carbon-prefix}--white .#{$block-class}--#{$order} {
81
+ @include setBgColor($color);
82
+ }
80
83
  }
81
84
 
82
- .#{$block-class}--dark-cyan {
83
- @include setBgColor($cyan-60);
85
+ @mixin setDarkBg($order, $color) {
86
+ .#{$carbon-prefix}--g90 .#{$block-class}--#{$order},
87
+ .#{$carbon-prefix}--g100 .#{$block-class}--#{$order} {
88
+ @include setBgColor($color);
89
+ }
84
90
  }
91
+
92
+ @include setLightBg(order-1-cyan, $cyan-60);
93
+ @include setLightBg(order-2-gray, $gray-60);
94
+ @include setLightBg(order-3-green, $green-60);
95
+ @include setLightBg(order-4-magenta, $magenta-60);
96
+ @include setLightBg(order-5-purple, $purple-60);
97
+ @include setLightBg(order-6-teal, $teal-60);
98
+ @include setLightBg(order-7-cyan, $cyan-80);
99
+ @include setLightBg(order-8-gray, $gray-80);
100
+ @include setLightBg(order-9-green, $green-80);
101
+ @include setLightBg(order-10-magenta, $magenta-80);
102
+ @include setLightBg(order-11-purple, $purple-80);
103
+ @include setLightBg(order-12-teal, $teal-80);
104
+
105
+ @include setDarkBg(order-1-cyan, $cyan-50);
106
+ @include setDarkBg(order-2-gray, $gray-50);
107
+ @include setDarkBg(order-3-green, $green-50);
108
+ @include setDarkBg(order-4-magenta, $magenta-50);
109
+ @include setDarkBg(order-5-purple, $purple-50);
110
+ @include setDarkBg(order-6-teal, $teal-50);
111
+ @include setDarkBg(order-7-cyan, $cyan-30);
112
+ @include setDarkBg(order-8-gray, $gray-30);
113
+ @include setDarkBg(order-9-green, $green-30);
114
+ @include setDarkBg(order-10-magenta, $magenta-30);
115
+ @include setDarkBg(order-11-purple, $purple-30);
116
+ @include setDarkBg(order-12-teal, $teal-30);
117
+
85
118
  .#{$block-class}--xl {
86
119
  @include size('xl');
87
120
  @include type.type-style('heading-04');
@@ -70,5 +70,6 @@
70
70
  @use './Nav/index-with-carbon' as *;
71
71
  @use './StringFormatter/index-with-carbon' as *;
72
72
  @use './UserAvatar/index-with-carbon' as *;
73
+ @use './ScrollGradient/index-with-carbon' as *;
73
74
  @use './StatusIndicator/index-with-carbon' as *;
74
75
  @use './FilterPanel/index-with-carbon' as *;
@@ -78,5 +78,6 @@
78
78
  @use './Nav';
79
79
  @use './StringFormatter';
80
80
  @use './UserAvatar';
81
+ @use './ScrollGradient';
81
82
  @use './StatusIndicator';
82
83
  @use './FilterPanel';