@carbon/ibm-products-styles 2.51.0-rc.0 → 2.52.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/css/index-full-carbon.css +1247 -653
  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 +945 -44
  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 -542
  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 +636 -544
  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/package.json +3 -3
  18. package/scss/components/BreadcrumbWithOverflow/_breadcrumb-with-overflow.scss +3 -3
  19. package/scss/components/Card/_card.scss +19 -5
  20. package/scss/components/Coachmark/_coachmark-overlay.scss +2 -2
  21. package/scss/components/Coachmark/_coachmark-tagline.scss +1 -1
  22. package/scss/components/CoachmarkBeacon/_coachmark-beacon.scss +3 -3
  23. package/scss/components/CoachmarkStack/_coachmark-stack.scss +2 -2
  24. package/scss/components/ConditionBuilder/styles/_conditionBuilderItem.scss +7 -7
  25. package/scss/components/CreateInfluencer/_create-influencer.scss +2 -2
  26. package/scss/components/CreateTearsheet/_create-tearsheet.scss +1 -2
  27. package/scss/components/DataSpreadsheet/_data-spreadsheet.scss +4 -4
  28. package/scss/components/Datagrid/styles/_datagrid.scss +5 -8
  29. package/scss/components/Datagrid/styles/_draggableElement.scss +2 -2
  30. package/scss/components/Datagrid/styles/_useColumnRightAlign.scss +1 -1
  31. package/scss/components/Datagrid/styles/_useExpandedRow.scss +1 -1
  32. package/scss/components/Datagrid/styles/_useInlineEdit.scss +1 -1
  33. package/scss/components/Datagrid/styles/_useNestedRows.scss +2 -2
  34. package/scss/components/Datagrid/styles/addons/_CustomizeColumnsTearsheet.scss +1 -1
  35. package/scss/components/Datagrid/styles/addons/_FilterFlyout.scss +1 -1
  36. package/scss/components/Datagrid/styles/addons/_FilterPanel.scss +1 -1
  37. package/scss/components/Datagrid/styles/addons/_RowSizeDropdown.scss +1 -2
  38. package/scss/components/DecoratorBase/_decorator-base-mixins.scss +1 -1
  39. package/scss/components/DecoratorBase/_decorator-base.scss +3 -3
  40. package/scss/components/DecoratorDualButton/_decorator-dual-button.scss +1 -1
  41. package/scss/components/DecoratorSingleButton/_decorator-single-button.scss +1 -1
  42. package/scss/components/EditTearsheet/_edit-tearsheet.scss +1 -2
  43. package/scss/components/EditUpdateCards/_edit-update-cards.scss +7 -7
  44. package/scss/components/FullPageError/_full-page-error.scss +1 -1
  45. package/scss/components/GetStartedCard/_get-started-card.scss +1 -1
  46. package/scss/components/Guidebanner/_guidebanner.scss +4 -4
  47. package/scss/components/HTTPErrors/_http-errors.scss +1 -1
  48. package/scss/components/InlineTip/_inline-tip.scss +4 -4
  49. package/scss/components/InterstitialScreen/_interstitial-screen.scss +6 -6
  50. package/scss/components/NonLinearReading/_non-linear-reading.scss +2 -2
  51. package/scss/components/NotificationsPanel/_notifications-panel.scss +3 -3
  52. package/scss/components/OptionsTile/_options-tile.scss +6 -8
  53. package/scss/components/PageHeader/_page-header.scss +20 -13
  54. package/scss/components/ProductiveCard/_productive-card.scss +2 -2
  55. package/scss/components/SidePanel/_side-panel.scss +11 -11
  56. package/scss/components/StatusIcon/_status-icon.scss +9 -7
  57. package/scss/components/StatusIndicator/_status-indicator.scss +1 -1
  58. package/scss/components/Tearsheet/_tearsheet.scss +5 -5
  59. package/scss/components/UserAvatar/_user-avatar.scss +5 -3
  60. package/scss/components/UserProfileImage/_user-profile-image.scss +6 -4
  61. package/scss/components/WebTerminal/_web-terminal.scss +2 -2
  62. package/scss/components/_index-released-only.scss +1 -0
@@ -5,7 +5,7 @@
5
5
  // LICENSE file in the root directory of this source tree.
6
6
  //
7
7
 
8
- // NOTE: Please do not remove the duplicate `slug` and `ai-label` classes. We need both until slug is fully deprecated
8
+ // NOTE: Please do not remove the duplicate `slug` and `decorator` classes. We need both until slug is fully deprecated
9
9
 
10
10
  // Standard imports.
11
11
  @use '@carbon/styles/scss/theme' as *;
@@ -144,25 +144,39 @@ $block-class: #{c4p-settings.$pkg-prefix}--card;
144
144
  position: relative;
145
145
  }
146
146
 
147
- .#{$block-class} .#{c4p-settings.$carbon-prefix}--slug {
147
+ .#{$block-class} .#{c4p-settings.$carbon-prefix}--slug,
148
+ .#{$block-class} .#{c4p-settings.$carbon-prefix}--ai-label {
148
149
  position: absolute;
149
150
  top: $spacing-05;
150
151
  right: $spacing-05;
151
152
  }
152
153
 
154
+ .#{$block-class}__header__inner-wrapper--decorator {
155
+ position: absolute;
156
+ top: $spacing-05;
157
+ right: $spacing-05;
158
+
159
+ .#{c4p-settings.$carbon-prefix}--slug,
160
+ .#{c4p-settings.$carbon-prefix}--ai-label {
161
+ position: relative;
162
+ top: unset;
163
+ right: unset;
164
+ }
165
+ }
166
+
153
167
  .#{$block-class}__header-container--has-slug,
154
- .#{$block-class}__header-container--has-ai-label {
168
+ .#{$block-class}__header-container--has-decorator {
155
169
  width: 100%;
156
170
  padding-right: $spacing-07;
157
171
  }
158
172
 
159
173
  .#{$block-class}__header-container--has-slug.#{$block-class}__header-container--has-actions,
160
- .#{$block-class}__header-container--has-ai-label.#{$block-class}__header-container--has-actions {
174
+ .#{$block-class}__header-container--has-decorator.#{$block-class}__header-container--has-actions {
161
175
  padding-right: $spacing-08;
162
176
  }
163
177
 
164
178
  .#{$block-class}__header-container--has-slug.#{$block-class}__header-container--large-tile-or-label,
165
- .#{$block-class}__header-container--has-ai-label.#{$block-class}__header-container--large-tile-or-label {
179
+ .#{$block-class}__header-container--has-decorator.#{$block-class}__header-container--large-tile-or-label {
166
180
  padding-right: $spacing-09;
167
181
  }
168
182
 
@@ -7,8 +7,8 @@
7
7
  // LICENSE file in the root directory of this source tree.
8
8
  //
9
9
 
10
- /* stylelint-disable carbon/layout-token-use */
11
- /* stylelint-disable carbon/theme-token-use */
10
+ /* stylelint-disable carbon/layout-use */
11
+ /* stylelint-disable carbon/theme-use */
12
12
  /* stylelint-disable declaration-no-important */
13
13
 
14
14
  // Standard imports.
@@ -6,7 +6,7 @@
6
6
  //
7
7
 
8
8
  /* stylelint-disable max-nesting-depth */
9
- /* stylelint-disable carbon/theme-token-use */
9
+ /* stylelint-disable carbon/theme-use */
10
10
  /* stylelint-disable declaration-no-important */
11
11
 
12
12
  // Standard imports.
@@ -1,4 +1,4 @@
1
- /* stylelint-disable carbon/layout-token-use */
1
+ /* stylelint-disable carbon/layout-use */
2
2
  /* stylelint-disable carbon/motion-easing-use */
3
3
  /* stylelint-disable max-nesting-depth */
4
4
  //
@@ -44,7 +44,7 @@ $block-class: #{c4p-settings.$pkg-prefix}--coachmark-beacon;
44
44
  width: $spacing-04;
45
45
  height: $spacing-04;
46
46
  border-radius: 50%;
47
- /* stylelint-disable-next-line carbon/theme-token-use */
47
+ /* stylelint-disable-next-line carbon/theme-use */
48
48
  background-color: $blue-50;
49
49
  content: '';
50
50
  }
@@ -61,7 +61,7 @@ $block-class: #{c4p-settings.$pkg-prefix}--coachmark-beacon;
61
61
  height: 18px;
62
62
  border-radius: 100%;
63
63
  content: '';
64
- /* stylelint-disable-next-line carbon/theme-token-use */
64
+ /* stylelint-disable-next-line carbon/theme-use */
65
65
  outline: $spacing-01 $focus solid;
66
66
  }
67
67
  }
@@ -68,12 +68,12 @@ $stack-home-class: #{c4p-settings.$pkg-prefix}--coachmark-stacked-home;
68
68
  visibility: visible;
69
69
 
70
70
  &__light {
71
- /* stylelint-disable-next-line carbon/theme-token-use */
71
+ /* stylelint-disable-next-line carbon/theme-use */
72
72
  background-color: $gray-90;
73
73
  }
74
74
 
75
75
  &__dark {
76
- /* stylelint-disable-next-line carbon/theme-token-use */
76
+ /* stylelint-disable-next-line carbon/theme-use */
77
77
  background-color: $button-tertiary-active;
78
78
  }
79
79
  }
@@ -26,7 +26,7 @@ $block-class: #{c4p-settings.$pkg-prefix}--condition-builder;
26
26
  z-index: -1;
27
27
  opacity: 0;
28
28
  pointer-events: none;
29
- /* stylelint-disable-next-line carbon/layout-token-use */
29
+ /* stylelint-disable-next-line carbon/layout-use */
30
30
  transform: translateX($translateValue);
31
31
  transition: all $duration-fast-02 motion(standard, productive);
32
32
  }
@@ -204,24 +204,24 @@ $colors: (
204
204
  //this is to select and add color to the new group preview
205
205
  .#{$block-class}__group-preview[data-color-index='#{($i%list.length($colors))}']
206
206
  button {
207
- /* stylelint-disable-next-line carbon/theme-token-use */
207
+ /* stylelint-disable-next-line carbon/theme-use */
208
208
  $next-group-color: list.nth($colors, (($i%list.length($colors)) + 1));
209
- /* stylelint-disable-next-line carbon/theme-token-use */
209
+ /* stylelint-disable-next-line carbon/theme-use */
210
210
  box-shadow: inset 0 #{$spacing-01} 0 0 list.nth($next-group-color, 1);
211
211
  }
212
212
 
213
213
  //we need to select the group color from the $colors array and need to repeat the colors after $colors.length subgroups
214
214
  @for $el-index from 1 through 50 {
215
215
  $item-index: $el-index;
216
- /* stylelint-disable-next-line carbon/theme-token-use */
216
+ /* stylelint-disable-next-line carbon/theme-use */
217
217
  $item-index: ((($item-index - 1) % $group-colors-length) + 1);
218
218
  #{$selector} {
219
219
  @if $item-index != 1 {
220
- /* stylelint-disable-next-line carbon/theme-token-use */
220
+ /* stylelint-disable-next-line carbon/theme-use */
221
221
  --#{$block-class}__condition-wrapper-color: #{list.nth(
222
222
  $group-colors,
223
223
  $item-index
224
- )}; // stylelint-disable-line carbon/theme-token-use
224
+ )}; // stylelint-disable-line carbon/theme-use
225
225
  }
226
226
  }
227
227
 
@@ -248,7 +248,7 @@ $colors: (
248
248
  .#{$block-class}__add-button,
249
249
  .#{$block-class}__add-condition-sub-group
250
250
  ) {
251
- /* stylelint-disable-next-line carbon/theme-token-use */
251
+ /* stylelint-disable-next-line carbon/theme-use */
252
252
  box-shadow: inset 0 #{$spacing-01} 0 0 var(--#{$block-class}__condition-wrapper-color);
253
253
  }
254
254
  }
@@ -16,7 +16,7 @@ $influencerAnimationStart: calc(-1 * #{$spacing-05});
16
16
  @keyframes influencer-menu-entrance {
17
17
  0% {
18
18
  opacity: 0;
19
- // stylelint-disable-next-line carbon/layout-token-use
19
+ // stylelint-disable-next-line carbon/layout-use
20
20
  transform: translateX($influencerAnimationStart);
21
21
  }
22
22
 
@@ -33,7 +33,7 @@ $influencerAnimationStart: calc(-1 * #{$spacing-05});
33
33
 
34
34
  100% {
35
35
  opacity: 0;
36
- // stylelint-disable-next-line carbon/layout-token-use
36
+ // stylelint-disable-next-line carbon/layout-use
37
37
  transform: translateX($influencerAnimationStart);
38
38
  }
39
39
  }
@@ -24,8 +24,7 @@
24
24
  @keyframes step-content-entrance {
25
25
  0% {
26
26
  opacity: 0;
27
- // stylelint-disable-next-line carbon/layout-token-use
28
- transform: translateY(-0.75rem);
27
+ transform: translateY(-$spacing-04);
29
28
  }
30
29
 
31
30
  100% {
@@ -133,7 +133,7 @@ $header-cell-background: $layer-accent-01;
133
133
  overflow: hidden;
134
134
  min-width: initial;
135
135
  min-height: initial;
136
- /* stylelint-disable-next-line carbon/layout-token-use */
136
+ /* stylelint-disable-next-line carbon/layout-use */
137
137
  padding: 0 calc(#{$spacing-03} + 1px) 0 $spacing-03;
138
138
  margin: 0;
139
139
  background-color: $body-cell-background;
@@ -158,7 +158,7 @@ $header-cell-background: $layer-accent-01;
158
158
  overflow: hidden;
159
159
  width: fit-content;
160
160
  max-width: var(--#{$block-class}--total-width);
161
- /* stylelint-disable-next-line carbon/layout-token-use */
161
+ /* stylelint-disable-next-line carbon/layout-use */
162
162
  padding: 0 calc(#{$spacing-03} + 1px) 0 $spacing-03;
163
163
  visibility: hidden;
164
164
 
@@ -177,10 +177,10 @@ $header-cell-background: $layer-accent-01;
177
177
  overflow: hidden;
178
178
  // Could be fixed by using border-right but the fact that
179
179
  // this element is positioned absolute prevents that from working
180
- /* stylelint-disable-next-line carbon/layout-token-use */
180
+ /* stylelint-disable-next-line carbon/layout-use */
181
181
  padding-right: calc(#{$spacing-03} - 1px);
182
182
  padding-bottom: $spacing-01;
183
- /* stylelint-disable-next-line carbon/layout-token-use */
183
+ /* stylelint-disable-next-line carbon/layout-use */
184
184
  padding-left: calc(#{$spacing-03} - #{$spacing-01});
185
185
  border: $spacing-01 solid $background-brand;
186
186
  background-color: $body-cell-background;
@@ -57,7 +57,7 @@
57
57
 
58
58
  td.#{c4p-settings.$carbon-prefix}--table-column-checkbox,
59
59
  th.#{c4p-settings.$carbon-prefix}--table-column-checkbox {
60
- /* stylelint-disable-next-line carbon/layout-token-use */
60
+ /* stylelint-disable-next-line carbon/layout-use */
61
61
  padding-top: 0.6875rem;
62
62
 
63
63
  &.#{$block-class}__checkbox-cell {
@@ -158,7 +158,6 @@
158
158
 
159
159
  /* This section to be removed after support for slug dropped - start */
160
160
  .#{$block-class} th.#{$block-class}__with-slug {
161
- /* stylelint-disable-next-line carbon/theme-token-use */
162
161
  box-shadow: inset 0 1px $ai-border-strong;
163
162
  }
164
163
 
@@ -185,7 +184,7 @@
185
184
  .#{c4p-settings.$carbon-prefix}--data-table
186
185
  tbody
187
186
  tr.#{$block-class}__slug--row {
188
- /* stylelint-disable-next-line carbon/theme-token-use */
187
+ /* stylelint-disable-next-line carbon/theme-use */
189
188
  box-shadow: inset 1px 0 $ai-border-strong;
190
189
  }
191
190
 
@@ -232,7 +231,6 @@
232
231
  /* This section to be removed after support for slug dropped - end */
233
232
 
234
233
  .#{$block-class} th.#{$block-class}__with-ai-label {
235
- /* stylelint-disable-next-line carbon/theme-token-use */
236
234
  box-shadow: inset 0 1px $ai-border-strong;
237
235
  }
238
236
 
@@ -259,7 +257,6 @@
259
257
  .#{c4p-settings.$carbon-prefix}--data-table
260
258
  tbody
261
259
  tr.#{$block-class}__ai-label--row {
262
- /* stylelint-disable-next-line carbon/theme-token-use */
263
260
  box-shadow: inset 1px 0 $ai-border-strong;
264
261
  }
265
262
 
@@ -677,9 +674,9 @@
677
674
  &.#{$block-class}__carbon-row-expanded-hover-active::before {
678
675
  position: absolute;
679
676
  z-index: 2;
680
- /* stylelint-disable-next-line carbon/layout-token-use */
677
+ /* stylelint-disable-next-line carbon/layout-use */
681
678
  top: var(--#{$block-class}--row-height);
682
- /* stylelint-disable-next-line carbon/layout-token-use */
679
+ /* stylelint-disable-next-line carbon/layout-use */
683
680
  left: calc(
684
681
  var(--#{$block-class}--indicator-offset-amount) + #{$spacing-05}
685
682
  );
@@ -949,7 +946,7 @@
949
946
  .#{$block-class}__col-resizer-range:focus
950
947
  + .#{$block-class}__col-resize-indicator::after {
951
948
  position: absolute;
952
- /* stylelint-disable-next-line carbon/layout-token-use */
949
+ /* stylelint-disable-next-line carbon/layout-use */
953
950
  top: calc(var(--#{$block-class}--row-height) - 20px);
954
951
  right: $spacing-02;
955
952
  width: 1px;
@@ -35,7 +35,7 @@
35
35
  width: 100%;
36
36
  height: $spacing-09;
37
37
  border: 2px dashed $focus;
38
- /* stylelint-disable-next-line carbon/theme-token-use */
38
+ /* stylelint-disable-next-line carbon/theme-use */
39
39
  background-color: colors.$blue-10; // not good in dark mode
40
40
  }
41
41
 
@@ -82,7 +82,7 @@
82
82
  width: 100%;
83
83
  align-items: center;
84
84
  padding-left: $spacing-05;
85
- /* stylelint-disable-next-line carbon/type-token-use */
85
+ /* stylelint-disable-next-line carbon/type-use */
86
86
  line-height: 1; // center align text within row
87
87
  transition-property: opacity;
88
88
  }
@@ -18,7 +18,7 @@
18
18
 
19
19
  .#{variables.$block-class}__right-align-cell-renderer {
20
20
  width: 100%;
21
- /* stylelint-disable-next-line carbon/layout-token-use */
21
+ /* stylelint-disable-next-line carbon/layout-use */
22
22
  padding-right: 23px;
23
23
  text-align: right;
24
24
  }
@@ -24,7 +24,7 @@
24
24
  .#{variables.$block-class}
25
25
  .#{variables.$block-class}__expanded-row-content::before {
26
26
  position: absolute;
27
- /* stylelint-disable-next-line carbon/layout-token-use */
27
+ /* stylelint-disable-next-line carbon/layout-use */
28
28
  top: -1px;
29
29
  right: 0;
30
30
  width: calc(100% - #{$spacing-09});
@@ -54,7 +54,7 @@ $row-heights: (
54
54
  }
55
55
 
56
56
  @mixin input-outline($color: $focus) {
57
- /* stylelint-disable-next-line carbon/theme-token-use */
57
+ /* stylelint-disable-next-line carbon/theme-use */
58
58
  outline: $spacing-01 solid $color;
59
59
  outline-offset: calc(-1 * #{$spacing-01});
60
60
 
@@ -42,7 +42,7 @@
42
42
  tr.#{$block-class}__carbon-nested-row
43
43
  + :not(tr.#{$block-class}__carbon-nested-row)::after {
44
44
  position: absolute;
45
- /* stylelint-disable-next-line carbon/layout-token-use */
45
+ /* stylelint-disable-next-line carbon/layout-use */
46
46
  top: -1px;
47
47
  left: 0;
48
48
  width: 100%;
@@ -91,7 +91,7 @@
91
91
  td.#{$block-class}__expandable-row-cell
92
92
  + td::before {
93
93
  position: absolute;
94
- /* stylelint-disable-next-line carbon/layout-token-use */
94
+ /* stylelint-disable-next-line carbon/layout-use */
95
95
  bottom: -1px;
96
96
  left: 0;
97
97
  width: 1rem;
@@ -5,7 +5,7 @@
5
5
  // LICENSE file in the root directory of this source tree.
6
6
  //
7
7
 
8
- // stylelint-disable carbon/layout-token-use
8
+ // stylelint-disable carbon/layout-use
9
9
 
10
10
  @use '@carbon/styles/scss/theme' as *;
11
11
  @use '@carbon/styles/scss/spacing';
@@ -5,7 +5,7 @@
5
5
  // LICENSE file in the root directory of this source tree.
6
6
  //
7
7
 
8
- // stylelint-disable carbon/layout-token-use
8
+ // stylelint-disable carbon/layout-use
9
9
 
10
10
  @use '@carbon/styles/scss/theme' as *;
11
11
  @use '@carbon/layout/scss/convert' as *;
@@ -41,7 +41,7 @@
41
41
  position: relative;
42
42
  z-index: 0;
43
43
  overflow: auto;
44
- padding: 0 $spacing-05 $spacing-10 $spacing-05;
44
+ padding: 0 $spacing-05 $spacing-10;
45
45
  overscroll-behavior: contain;
46
46
  }
47
47
 
@@ -32,8 +32,7 @@
32
32
  .#{c4p-settings.$carbon-prefix}--popover--bottom-right.#{variables.$block-class}__row-height-settings-popover
33
33
  .#{c4p-settings.$carbon-prefix}--popover-caret {
34
34
  // Used to fix layout issue with IconButton caret inside of Popover component
35
- /* stylelint-disable-next-line carbon/layout-token-use */
36
- left: -4px;
35
+ left: -$spacing-02;
37
36
  }
38
37
 
39
38
  .#{variables.$block-class}__row-size-toggle-tip-button.#{c4p-settings.$carbon-prefix}--toggletip-button {
@@ -5,7 +5,7 @@
5
5
  // LICENSE file in the root directory of this source tree.
6
6
  //
7
7
 
8
- /* stylelint-disable carbon/layout-token-use */
8
+ /* stylelint-disable carbon/layout-use */
9
9
 
10
10
  @use '@carbon/styles/scss/theme' as *;
11
11
 
@@ -1,6 +1,6 @@
1
- /* stylelint-disable carbon/theme-token-use */
2
- /* stylelint-disable carbon/type-token-use */
3
- /* stylelint-disable carbon/layout-token-use */
1
+ /* stylelint-disable carbon/theme-use */
2
+ /* stylelint-disable carbon/type-use */
3
+ /* stylelint-disable carbon/layout-use */
4
4
  /* stylelint-disable function-no-unknown */
5
5
 
6
6
  //
@@ -1,4 +1,4 @@
1
- /* stylelint-disable carbon/theme-token-use */
1
+ /* stylelint-disable carbon/theme-use */
2
2
  /* stylelint-disable function-no-unknown */
3
3
 
4
4
  //
@@ -1,5 +1,5 @@
1
1
  /* stylelint-disable function-no-unknown */
2
- /* stylelint-disable carbon/theme-token-use */
2
+ /* stylelint-disable carbon/theme-use */
3
3
 
4
4
  //
5
5
  // Copyright IBM Corp. 2024, 2024
@@ -29,8 +29,7 @@
29
29
  @keyframes form-content-entrance {
30
30
  0% {
31
31
  opacity: 0;
32
- // stylelint-disable-next-line carbon/layout-token-use
33
- transform: translateY(-0.75rem);
32
+ transform: translateY(-$spacing-04);
34
33
  }
35
34
 
36
35
  100% {
@@ -31,11 +31,11 @@ $block-class: #{c4p-settings.$pkg-prefix}--edit-update-cards;
31
31
  .#{c4p-settings.$pkg-prefix}--card__header,
32
32
  .#{c4p-settings.$pkg-prefix}--card__footer {
33
33
  button {
34
- // stylelint-disable-next-line carbon/theme-token-use
34
+ // stylelint-disable-next-line carbon/theme-use
35
35
  color: $white-0;
36
36
 
37
37
  &:hover {
38
- // stylelint-disable-next-line carbon/theme-token-use
38
+ // stylelint-disable-next-line carbon/theme-use
39
39
  background-color: $blue-60-hover;
40
40
  }
41
41
 
@@ -45,7 +45,7 @@ $block-class: #{c4p-settings.$pkg-prefix}--edit-update-cards;
45
45
 
46
46
  svg {
47
47
  path {
48
- // stylelint-disable-next-line carbon/theme-token-use
48
+ // stylelint-disable-next-line carbon/theme-use
49
49
  fill: $white-0;
50
50
  }
51
51
  }
@@ -59,9 +59,9 @@ $block-class: #{c4p-settings.$pkg-prefix}--edit-update-cards;
59
59
  }
60
60
 
61
61
  .#{c4p-settings.$pkg-prefix}--card__footer {
62
- // stylelint-disable-next-line carbon/theme-token-use
62
+ // stylelint-disable-next-line carbon/theme-use
63
63
  background-color: $blue-60;
64
- // stylelint-disable-next-line carbon/theme-token-use
64
+ // stylelint-disable-next-line carbon/theme-use
65
65
  color: $white-0;
66
66
  }
67
67
 
@@ -85,9 +85,9 @@ $block-class: #{c4p-settings.$pkg-prefix}--edit-update-cards;
85
85
  &:not(.#{$block-class}__actions-bottom) {
86
86
  &##{$block-class}--edit {
87
87
  .#{c4p-settings.$pkg-prefix}--card__header {
88
- // stylelint-disable-next-line carbon/theme-token-use
88
+ // stylelint-disable-next-line carbon/theme-use
89
89
  background-color: $blue-60;
90
- // stylelint-disable-next-line carbon/theme-token-use
90
+ // stylelint-disable-next-line carbon/theme-use
91
91
  color: $white-0;
92
92
  }
93
93
  }
@@ -49,7 +49,7 @@ $block-class: #{c4p-settings.$pkg-prefix}--full-page-error;
49
49
  height: 100%;
50
50
  padding: $spacing-03 $spacing-03 $spacing-11 $spacing-03;
51
51
  @include breakpoint(md) {
52
- padding: auto $spacing-03 $spacing-11 $spacing-03;
52
+ padding: auto $spacing-03 $spacing-11;
53
53
  }
54
54
  }
55
55
 
@@ -1,4 +1,4 @@
1
- /* stylelint-disable carbon/layout-token-use */
1
+ /* stylelint-disable carbon/layout-use */
2
2
  /* stylelint-disable max-nesting-depth */
3
3
  //
4
4
  // Copyright IBM Corp. 2024, 2024
@@ -15,9 +15,9 @@
15
15
  * individual rules.
16
16
  */
17
17
 
18
- /* stylelint-disable carbon/layout-token-use */
18
+ /* stylelint-disable carbon/layout-use */
19
19
  /* stylelint-disable carbon/motion-duration-use */
20
- /* stylelint-disable carbon/theme-token-use */
20
+ /* stylelint-disable carbon/theme-use */
21
21
  /* stylelint-disable declaration-no-important */
22
22
  /* stylelint-disable function-no-unknown */
23
23
  /* stylelint-disable max-nesting-depth */
@@ -105,7 +105,7 @@ $purple-3: #7433e3;
105
105
 
106
106
  // Specify Carousel look and feel.
107
107
  .#{$block-class}__carousel {
108
- padding: 0 0 $spacing-05 0;
108
+ padding: 0 0 $spacing-05;
109
109
  color: $gray-10;
110
110
 
111
111
  @include when-collapsed() {
@@ -173,7 +173,7 @@ $purple-3: #7433e3;
173
173
  // Repeating here.
174
174
  svg {
175
175
  position: absolute;
176
- right: 1rem;
176
+ right: $spacing-05;
177
177
  width: 1rem;
178
178
  height: 1rem;
179
179
  flex-shrink: 0;
@@ -69,7 +69,7 @@ $block-class-other: #{c4p-settings.$pkg-prefix}--http-errors-other;
69
69
  transform: scale(1.5);
70
70
  }
71
71
  }
72
- /* stylelint-disable carbon/theme-token-use */
72
+ /* stylelint-disable carbon/theme-use */
73
73
 
74
74
  .#{$block-class-404}__prefix-cls-1 {
75
75
  fill: none;
@@ -15,8 +15,8 @@
15
15
  * instead of many individual rules.
16
16
  */
17
17
 
18
- /* stylelint-disable carbon/layout-token-use */
19
- /* stylelint-disable carbon/theme-token-use */
18
+ /* stylelint-disable carbon/layout-use */
19
+ /* stylelint-disable carbon/theme-use */
20
20
  /* stylelint-disable declaration-no-important */
21
21
  /* stylelint-disable function-no-unknown */
22
22
  /* stylelint-disable max-nesting-depth */
@@ -177,7 +177,7 @@ $purple: #7f3ae7;
177
177
  }
178
178
 
179
179
  .#{$block-class} .#{$block-class}__close-icon {
180
- padding: to-rem(6px) 0 0 0;
180
+ padding: to-rem(6px) 0 0;
181
181
  block-size: $spacing-07;
182
182
  color: $white-0;
183
183
  inline-size: $spacing-07;
@@ -221,7 +221,7 @@ $purple: #7f3ae7;
221
221
  // Repeating here.
222
222
  svg {
223
223
  position: absolute;
224
- right: 1rem;
224
+ right: $spacing-05;
225
225
  width: 1rem;
226
226
  height: 1rem;
227
227
  flex-shrink: 0;
@@ -87,7 +87,7 @@ $one-grid-column: calc(100% / 16);
87
87
  &--container {
88
88
  min-width: 47rem;
89
89
  max-width: 82rem;
90
- margin: calc($spacing-10 * 2) auto; // stylelint-disable-line carbon/layout-token-use
90
+ margin: calc($spacing-10 * 2) auto; // stylelint-disable-line carbon/layout-use
91
91
  background-color: $background;
92
92
  }
93
93
 
@@ -220,17 +220,17 @@ $one-grid-column: calc(100% / 16);
220
220
  height: $spacing-09;
221
221
  padding-left: $spacing-05;
222
222
  border-bottom: 1px solid $border-subtle-01;
223
- /* stylelint-disable-next-line carbon/theme-token-use */
223
+ /* stylelint-disable-next-line carbon/theme-use */
224
224
  background-color: $gray-100;
225
- /* stylelint-disable-next-line carbon/theme-token-use */
225
+ /* stylelint-disable-next-line carbon/theme-use */
226
226
  color: $gray-10;
227
- /* stylelint-disable-next-line carbon/type-token-use */
227
+ /* stylelint-disable-next-line carbon/type-use */
228
228
  font-weight: normal !important; // overrides type style above
229
- /* stylelint-disable-next-line carbon/type-token-use */
229
+ /* stylelint-disable-next-line carbon/type-use */
230
230
  line-height: $spacing-09 !important;
231
231
 
232
232
  b {
233
- /* stylelint-disable-next-line carbon/type-token-use */
233
+ /* stylelint-disable-next-line carbon/type-use */
234
234
  font-weight: 600;
235
235
  }
236
236
  }
@@ -5,7 +5,7 @@
5
5
  // LICENSE file in the root directory of this source tree.
6
6
  //
7
7
 
8
- /* stylelint-disable carbon/layout-token-use */
8
+ /* stylelint-disable carbon/layout-use */
9
9
  /* stylelint-disable function-no-unknown */
10
10
 
11
11
  // Standard imports.
@@ -70,7 +70,7 @@ $block-class: #{c4p-settings.$pkg-prefix}--non-linear-reading;
70
70
  }
71
71
  // The "up" chevron
72
72
  .#{$block-class} .#{$block-class}__keyword svg {
73
- margin: to-rem(1px) 0 0 0;
73
+ margin: to-rem(1px) 0 0;
74
74
  vertical-align: text-top;
75
75
  }
76
76
 
@@ -23,7 +23,7 @@ $block-class: #{c4p-settings.$pkg-prefix}--notifications-panel;
23
23
  @keyframes fade-in {
24
24
  0% {
25
25
  opacity: 0;
26
- // stylelint-disable-next-line carbon/layout-token-use
26
+ // stylelint-disable-next-line carbon/layout-use
27
27
  transform: translateY(-38.5rem); // the height of the notification panel
28
28
  }
29
29
 
@@ -41,7 +41,7 @@ $block-class: #{c4p-settings.$pkg-prefix}--notifications-panel;
41
41
 
42
42
  100% {
43
43
  opacity: 0;
44
- // stylelint-disable-next-line carbon/layout-token-use
44
+ // stylelint-disable-next-line carbon/layout-use
45
45
  transform: translateY(-38.5rem); // the height of the notification panel
46
46
  }
47
47
  }
@@ -93,7 +93,7 @@ $block-class: #{c4p-settings.$pkg-prefix}--notifications-panel;
93
93
 
94
94
  position: sticky;
95
95
  z-index: 2;
96
- // stylelint-disable-next-line carbon/layout-token-use
96
+ // stylelint-disable-next-line carbon/layout-use
97
97
  top: 4.8125rem;
98
98
  padding: $spacing-03 $spacing-05;
99
99
  background-color: $layer-01;