@carbon/styles 1.40.0 → 1.41.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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@carbon/styles",
3
3
  "description": "Styles for the Carbon Design System",
4
- "version": "1.40.0",
4
+ "version": "1.41.0",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
7
7
  "type": "git",
@@ -38,13 +38,13 @@
38
38
  }
39
39
  },
40
40
  "dependencies": {
41
- "@carbon/colors": "^11.19.0",
41
+ "@carbon/colors": "^11.20.0",
42
42
  "@carbon/feature-flags": "^0.16.0",
43
- "@carbon/grid": "^11.20.0",
44
- "@carbon/layout": "^11.19.0",
45
- "@carbon/motion": "^11.15.0",
46
- "@carbon/themes": "^11.25.0",
47
- "@carbon/type": "^11.24.0",
43
+ "@carbon/grid": "^11.21.0",
44
+ "@carbon/layout": "^11.20.0",
45
+ "@carbon/motion": "^11.16.0",
46
+ "@carbon/themes": "^11.26.0",
47
+ "@carbon/type": "^11.25.0",
48
48
  "@ibm/plex": "6.0.0-next.6"
49
49
  },
50
50
  "devDependencies": {
@@ -65,5 +65,5 @@
65
65
  "scss/**/*.css",
66
66
  "css/**/*.css"
67
67
  ],
68
- "gitHead": "99314f69da3f5791c3c0f46564a47ef9ee7c9e0f"
68
+ "gitHead": "abe693e46a9b76731f51e47104f3634b6346f845"
69
69
  }
@@ -127,6 +127,15 @@ describe('@carbon/styles/scss/theme', () => {
127
127
  "support-caution-major",
128
128
  "support-caution-minor",
129
129
  "support-caution-undefined",
130
+ "slug-background",
131
+ "slug-gradient",
132
+ "slug-background-hover",
133
+ "slug-gradient-hover",
134
+ "slug-hollow-hover",
135
+ "slug-callout-gradient-top",
136
+ "slug-callout-gradient-bottom",
137
+ "slug-callout-aura-start",
138
+ "slug-callout-aura-end",
130
139
  "highlight",
131
140
  "overlay",
132
141
  "toggle-off",
package/scss/_zone.scss CHANGED
@@ -36,8 +36,8 @@ $-components: (
36
36
 
37
37
  @each $name, $theme in $zones {
38
38
  .#{config.$prefix}--#{'' + $name} {
39
- background: var(--cds-background);
40
- color: var(--cds-text-primary);
39
+ background-color: custom-property.get-var('background');
40
+ color: custom-property.get-var('text-primary');
41
41
 
42
42
  @each $key, $value in $theme {
43
43
  @if type-of($value) == color {
@@ -58,6 +58,7 @@
58
58
  @use 'select';
59
59
  @use 'skeleton-styles';
60
60
  @use 'slider';
61
+ @use 'slug';
61
62
  @use 'stack';
62
63
  @use 'structured-list';
63
64
  @use 'tabs';
@@ -51,11 +51,14 @@
51
51
  }
52
52
 
53
53
  .#{$prefix}--date-picker-input__wrapper {
54
- position: relative;
55
54
  display: flex;
56
55
  align-items: center;
57
56
  }
58
57
 
58
+ .#{$prefix}--date-picker-input__wrapper span {
59
+ position: relative;
60
+ }
61
+
59
62
  .#{$prefix}--date-picker.#{$prefix}--date-picker--simple
60
63
  .#{$prefix}--date-picker__input,
61
64
  .#{$prefix}--date-picker.#{$prefix}--date-picker--simple .#{$prefix}--label {
@@ -60,6 +60,12 @@
60
60
  white-space: nowrap;
61
61
  }
62
62
 
63
+ .#{$prefix}--date-picker--fluid
64
+ .#{$prefix}--date-picker-input__wrapper
65
+ > span {
66
+ inline-size: 100%;
67
+ }
68
+
63
69
  .#{$prefix}--date-picker--fluid
64
70
  .#{$prefix}--date-picker-input__wrapper
65
71
  .#{$prefix}--date-picker__input {
@@ -30,17 +30,21 @@
30
30
  position: relative;
31
31
  display: flex;
32
32
  align-items: center;
33
+ gap: 1rem;
33
34
  user-select: none;
34
35
  }
35
36
 
36
37
  .#{$prefix}--slider {
37
38
  position: relative;
38
39
  padding: $spacing-05 0;
39
- margin: 0 $spacing-05;
40
40
  cursor: pointer;
41
41
  inline-size: 100%;
42
42
  max-inline-size: convert.to-rem(640px);
43
43
  min-inline-size: convert.to-rem(200px);
44
+
45
+ .#{$prefix}--slider-container--two-handles & {
46
+ margin-inline: rem(4px);
47
+ }
44
48
  }
45
49
 
46
50
  .#{$prefix}--slider__range-label {
@@ -48,10 +52,6 @@
48
52
 
49
53
  color: $text-primary;
50
54
  white-space: nowrap;
51
-
52
- &:last-of-type {
53
- margin-inline-end: $spacing-05;
54
- }
55
55
  }
56
56
 
57
57
  .#{$prefix}--slider__track {
@@ -117,10 +117,102 @@
117
117
  }
118
118
  }
119
119
 
120
+ .#{$prefix}--slider__thumb-icon {
121
+ fill: $layer-selected-inverse;
122
+ }
123
+
124
+ .#{$prefix}--slider__thumb-icon--focus {
125
+ display: none;
126
+ fill: $interactive;
127
+ }
128
+
129
+ .#{$prefix}--slider__thumb--lower,
130
+ .#{$prefix}--slider__thumb--upper {
131
+ display: block;
132
+ /* stylelint-disable-next-line declaration-property-value-disallowed-list */
133
+ border-radius: unset;
134
+ background-color: transparent;
135
+ block-size: 24px;
136
+ box-shadow: none;
137
+ inline-size: 16px;
138
+ transform: translate(-100%, -50%);
139
+ transition: none;
140
+
141
+ &::before {
142
+ position: absolute;
143
+ z-index: -1;
144
+ display: block;
145
+ background: $background;
146
+ block-size: convert.to-rem(2px);
147
+ content: '';
148
+ inline-size: convert.to-rem(6px);
149
+ inset-block-start: calc(50% - #{convert.to-rem(2px) / 2});
150
+ inset-inline-end: 0;
151
+ }
152
+
153
+ &:hover {
154
+ transform: translate(-100%, -50%);
155
+
156
+ .#{$prefix}--slider__thumb-icon {
157
+ fill: $text-secondary;
158
+ }
159
+ }
160
+
161
+ &:active {
162
+ box-shadow: none;
163
+ transform: translate(-100%, -50%);
164
+ }
165
+
166
+ &:focus {
167
+ background-color: transparent;
168
+ box-shadow: none;
169
+ transform: translate(-100%, -50%);
170
+
171
+ .#{$prefix}--slider__thumb-icon {
172
+ display: none;
173
+ fill: $interactive;
174
+ }
175
+
176
+ .#{$prefix}--slider__thumb-icon--focus {
177
+ display: block;
178
+ }
179
+ }
180
+ }
181
+
182
+ .#{$prefix}--slider__thumb--lower:focus::before,
183
+ .#{$prefix}--slider__thumb--upper:focus::before {
184
+ inline-size: 100%;
185
+ }
186
+
187
+ .#{$prefix}--slider__thumb--upper {
188
+ transform: translate(0, -50%);
189
+
190
+ &::before {
191
+ inset-inline-end: auto;
192
+ inset-inline-start: 0;
193
+ }
194
+
195
+ &:hover {
196
+ transform: translate(0, -50%);
197
+ }
198
+
199
+ &:active {
200
+ transform: translate(0, -50%);
201
+ }
202
+
203
+ &:focus {
204
+ transform: translate(0, -50%);
205
+ }
206
+ }
207
+
120
208
  .#{$prefix}--slider__input {
121
209
  display: none;
122
210
  }
123
211
 
212
+ .#{$prefix}--slider-text-input-wrapper {
213
+ position: relative;
214
+ }
215
+
124
216
  .#{$prefix}--slider-text-input,
125
217
  .#{$prefix}-slider-text-input {
126
218
  -moz-appearance: textfield;
@@ -139,7 +231,7 @@
139
231
  }
140
232
 
141
233
  .#{$prefix}--slider__thumb:focus ~ .#{$prefix}--slider__filled-track {
142
- background-color: $interactive;
234
+ background-color: $border-interactive;
143
235
  }
144
236
 
145
237
  // Invalid & warn state
@@ -161,7 +253,6 @@
161
253
  .#{$prefix}--slider__validation-msg.#{$prefix}--form-requirement {
162
254
  display: block;
163
255
  overflow: visible;
164
- margin-block-start: 0;
165
256
  max-block-size: 100%;
166
257
  }
167
258
 
@@ -241,15 +332,26 @@
241
332
  cursor: default;
242
333
  }
243
334
 
244
- .#{$prefix}--slider--readonly .#{$prefix}--slider__thumb {
335
+ .#{$prefix}--slider-container--readonly .#{$prefix}--slider__thumb {
245
336
  block-size: 0;
246
337
  inline-size: 0;
338
+
339
+ &::before,
340
+ &::after {
341
+ display: none;
342
+ }
247
343
  }
248
344
 
249
- .#{$prefix}--slider--readonly ~ .#{$prefix}--slider-text-input {
345
+ .#{$prefix}--slider-container--readonly .#{$prefix}--slider-text-input {
250
346
  background-color: transparent;
251
347
  }
252
348
 
349
+ .#{$prefix}--slider__status-msg.#{$prefix}--form-requirement {
350
+ display: block;
351
+ overflow: visible;
352
+ max-block-size: 100%;
353
+ }
354
+
253
355
  // Skeleton state
254
356
  .#{$prefix}--slider-container.#{$prefix}--skeleton
255
357
  .#{$prefix}--slider__range-label {
@@ -265,11 +367,20 @@
265
367
  pointer-events: none;
266
368
  }
267
369
 
268
- .#{$prefix}--slider-container.#{$prefix}--skeleton
370
+ .#{$prefix}--slider-container.#{$prefix}--skeleton {
269
371
  .#{$prefix}--slider__thumb {
270
- cursor: default;
271
- inset-inline-start: 50%;
272
- pointer-events: none;
372
+ cursor: default;
373
+ inset-inline-start: 50%;
374
+ pointer-events: none;
375
+ }
376
+
377
+ .#{$prefix}--slider__thumb--lower {
378
+ inset-inline-start: 0;
379
+ }
380
+
381
+ .#{$prefix}--slider__thumb--upper {
382
+ inset-inline-start: 100%;
383
+ }
273
384
  }
274
385
 
275
386
  // Windows HCM fix
@@ -0,0 +1,4 @@
1
+ @forward 'slug';
2
+ @use 'slug';
3
+
4
+ @include slug.slug;
@@ -0,0 +1,346 @@
1
+ @use '../../config' as *;
2
+ @use '../../colors' as *;
3
+ @use '../../motion' as *;
4
+ @use '../../theme' as *;
5
+ @use '../../type' as *;
6
+ @use '../../utilities/convert';
7
+
8
+ $sizes: (
9
+ mini: (
10
+ height: convert.to-rem(16px),
11
+ width: convert.to-rem(16px),
12
+ font-size: convert.to-rem(9px),
13
+ line-height: convert.to-rem(12px),
14
+ background: $slug-background,
15
+ ),
16
+ 2xs: (
17
+ height: convert.to-rem(20px),
18
+ width: convert.to-rem(20px),
19
+ font-size: convert.to-rem(12px),
20
+ line-height: convert.to-rem(16px),
21
+ background: $slug-background,
22
+ ),
23
+ xs: (
24
+ height: convert.to-rem(24px),
25
+ width: convert.to-rem(24px),
26
+ font-size: convert.to-rem(12px),
27
+ line-height: convert.to-rem(16px),
28
+ background: $slug-gradient,
29
+ ),
30
+ sm: (
31
+ height: convert.to-rem(32px),
32
+ width: convert.to-rem(32px),
33
+ font-size: convert.to-rem(16px),
34
+ line-height: convert.to-rem(21px),
35
+ background: $slug-gradient,
36
+ ),
37
+ md: (
38
+ height: convert.to-rem(40px),
39
+ width: convert.to-rem(40px),
40
+ font-size: convert.to-rem(16px),
41
+ line-height: convert.to-rem(21px),
42
+ background: $slug-gradient,
43
+ ),
44
+ lg: (
45
+ height: convert.to-rem(48px),
46
+ width: convert.to-rem(48px),
47
+ font-size: convert.to-rem(16px),
48
+ line-height: convert.to-rem(21px),
49
+ background: $slug-gradient,
50
+ ),
51
+ xl: (
52
+ height: convert.to-rem(64px),
53
+ width: convert.to-rem(64px),
54
+ font-size: convert.to-rem(20px),
55
+ line-height: convert.to-rem(26px),
56
+ background: $slug-gradient,
57
+ ),
58
+ );
59
+
60
+ /// Slug styles
61
+ /// @access public
62
+ /// @group slider
63
+ @mixin slug {
64
+ .#{$prefix}--slug {
65
+ display: flex;
66
+ }
67
+
68
+ .#{$prefix}--slug .#{$prefix}--slug__button {
69
+ position: relative;
70
+ display: flex;
71
+ align-items: center;
72
+ justify-content: center;
73
+ color: $text-inverse;
74
+ font-weight: 600;
75
+ transition: color $duration-fast-01 motion(entrance, productive),
76
+ border-color $duration-fast-01 motion(entrance, productive),
77
+ box-shadow $duration-fast-01 motion(entrance, productive);
78
+
79
+ @each $group, $size in $sizes {
80
+ // Create a class for each size slug
81
+ &--#{$group} {
82
+ @each $property, $value in $size {
83
+ // Set correct properties for each size
84
+ #{$property}: $value;
85
+ }
86
+ }
87
+ }
88
+ }
89
+
90
+ .#{$prefix}--slug .#{$prefix}--slug__button:focus {
91
+ box-shadow: inset 0 0 0 2px $focus, inset 0 0 0 3px $focus-inset;
92
+ outline: none;
93
+ }
94
+
95
+ .#{$prefix}--slug__text {
96
+ position: relative;
97
+ z-index: 1;
98
+ }
99
+
100
+ // pseudo element to animate the hover transition
101
+ .#{$prefix}--slug__button::before {
102
+ position: absolute;
103
+ background: $slug-gradient-hover;
104
+ block-size: 100%;
105
+ content: '';
106
+ inline-size: 100%;
107
+ opacity: 0;
108
+ transition: opacity $duration-fast-01 motion(entrance, productive);
109
+ }
110
+
111
+ .#{$prefix}--slug__button:hover::before {
112
+ opacity: 1;
113
+ }
114
+
115
+ // Focus styles
116
+ .#{$prefix}--slug .#{$prefix}--slug__button:focus::before {
117
+ block-size: calc(100% - 6px);
118
+ inline-size: calc(100% - 6px);
119
+ }
120
+
121
+ .#{$prefix}--slug__button.#{$prefix}--slug__button--mini::before,
122
+ .#{$prefix}--slug__button.#{$prefix}--slug__button--2xs::before {
123
+ background: $slug-background-hover;
124
+ }
125
+
126
+ .#{$prefix}--slug__button.#{$prefix}--slug__button--mini:focus,
127
+ .#{$prefix}--slug__button.#{$prefix}--slug__button--2xs:focus {
128
+ box-shadow: inset 0 0 0 1px $focus, inset 0 0 0 2px $focus-inset;
129
+ }
130
+
131
+ .#{$prefix}--slug__button.#{$prefix}--slug__button--mini:focus::before,
132
+ .#{$prefix}--slug__button.#{$prefix}--slug__button--2xs:focus::before {
133
+ block-size: calc(100% - 4px);
134
+ inline-size: calc(100% - 4px);
135
+ }
136
+
137
+ // Hollow slug
138
+ // Only allow mini, 2xs, and xs sizes
139
+ .#{$prefix}--slug__button--hollow.#{$prefix}--slug__button--sm,
140
+ .#{$prefix}--slug__button--hollow.#{$prefix}--slug__button--md,
141
+ .#{$prefix}--slug__button--hollow.#{$prefix}--slug__button--lg,
142
+ .#{$prefix}--slug__button--hollow.#{$prefix}--slug__button--xl {
143
+ block-size: convert.to-rem(24px);
144
+ font-size: convert.to-rem(12px);
145
+ inline-size: convert.to-rem(24px);
146
+ line-height: convert.to-rem(16px);
147
+ }
148
+
149
+ .#{$prefix}--slug__button--hollow::before {
150
+ display: none;
151
+ }
152
+
153
+ .#{$prefix}--slug .#{$prefix}--slug__button--hollow {
154
+ border: 1px solid $border-inverse;
155
+ background: transparent;
156
+ color: $text-primary;
157
+ }
158
+
159
+ .#{$prefix}--slug__button--hollow:hover {
160
+ border-color: $slug-hollow-hover;
161
+ color: $slug-hollow-hover;
162
+ }
163
+
164
+ .#{$prefix}--slug__button--hollow:focus {
165
+ border-color: $focus;
166
+ box-shadow: inset 0 0 0 1px $focus;
167
+ }
168
+
169
+ // Inline slug
170
+ .#{$prefix}--slug .#{$prefix}--slug__button--inline {
171
+ border: 1px solid transparent;
172
+ border-radius: convert.to-rem(1px);
173
+ background: transparent;
174
+ block-size: initial;
175
+ color: $text-primary;
176
+ font-size: convert.to-rem(14px);
177
+ inline-size: initial;
178
+ line-height: initial;
179
+ padding-inline: convert.to-rem(4px);
180
+ }
181
+
182
+ .#{$prefix}--slug__button--inline::before {
183
+ display: none;
184
+ }
185
+
186
+ .#{$prefix}--slug .#{$prefix}--slug__button--inline:focus {
187
+ border-color: $focus;
188
+ box-shadow: none;
189
+ }
190
+
191
+ .#{$prefix}--slug .#{$prefix}--slug__button--inline:hover {
192
+ border-color: $icon-secondary;
193
+ color: $text-secondary;
194
+ }
195
+
196
+ .#{$prefix}--slug .#{$prefix}--slug__button--inline:focus:hover {
197
+ border-color: $focus;
198
+ }
199
+
200
+ .#{$prefix}--slug
201
+ .#{$prefix}--slug__button--inline:hover
202
+ .#{$prefix}--slug__text::before {
203
+ background: $icon-secondary;
204
+ }
205
+
206
+ .#{$prefix}--slug--hollow
207
+ .#{$prefix}--slug__button--inline:hover
208
+ .#{$prefix}--slug__text::before {
209
+ background: transparent;
210
+ box-shadow: inset 0 0 0 1px $icon-secondary;
211
+ }
212
+
213
+ .#{$prefix}--slug__button--inline .#{$prefix}--slug__text {
214
+ padding-inline-start: convert.to-rem(8px);
215
+ }
216
+
217
+ .#{$prefix}--slug__button--inline.#{$prefix}--slug__button--lg
218
+ .#{$prefix}--slug__text {
219
+ padding-inline-start: convert.to-rem(12px);
220
+ }
221
+
222
+ .#{$prefix}--slug__button--inline .#{$prefix}--slug__text::before {
223
+ position: absolute;
224
+ display: inline-block;
225
+ background: $icon-primary;
226
+ block-size: convert.to-rem(4px);
227
+ content: '';
228
+ inline-size: convert.to-rem(4px);
229
+ inset-block-start: 50%;
230
+ inset-inline-start: 0;
231
+ opacity: 1;
232
+ transform: translateY(-50%);
233
+ transition: background $duration-fast-01 motion(entrance, productive),
234
+ box-shadow $duration-fast-01 motion(entrance, productive);
235
+ }
236
+
237
+ // Inline slug hollow dot
238
+ .#{$prefix}--slug--hollow .#{$prefix}--slug__text::before {
239
+ background: transparent;
240
+ block-size: convert.to-rem(6px);
241
+ box-shadow: inset 0 0 0 1px $icon-primary;
242
+ inline-size: convert.to-rem(6px);
243
+ }
244
+
245
+ .#{$prefix}--slug--hollow
246
+ .#{$prefix}--slug__button--sm
247
+ .#{$prefix}--slug__text,
248
+ .#{$prefix}--slug--hollow
249
+ .#{$prefix}--slug__button--md
250
+ .#{$prefix}--slug__text {
251
+ padding-inline-start: convert.to-rem(9px);
252
+ }
253
+
254
+ .#{$prefix}--slug__button--lg .#{$prefix}--slug__text::before,
255
+ .#{$prefix}--slug--hollow
256
+ .#{$prefix}--slug__button--lg
257
+ .#{$prefix}--slug__text::before {
258
+ block-size: convert.to-rem(8px);
259
+ inline-size: convert.to-rem(8px);
260
+ }
261
+
262
+ // Only allow sm, md, and lg sizes
263
+ .#{$prefix}--slug__button--inline.#{$prefix}--slug__button--mini,
264
+ .#{$prefix}--slug__button--inline.#{$prefix}--slug__button--mini
265
+ .#{$prefix}--slug__additional-text,
266
+ .#{$prefix}--slug__button--inline.#{$prefix}--slug__button--2xs,
267
+ .#{$prefix}--slug__button--inline.#{$prefix}--slug__button--2xs
268
+ .#{$prefix}--slug__additional-text,
269
+ .#{$prefix}--slug__button--inline.#{$prefix}--slug__button--xs,
270
+ .#{$prefix}--slug__button--inline.#{$prefix}--slug__button--xs
271
+ .#{$prefix}--slug__additional-text,
272
+ .#{$prefix}--slug__button--inline.#{$prefix}--slug__button--sm,
273
+ .#{$prefix}--slug__button--inline.#{$prefix}--slug__button--sm
274
+ .#{$prefix}--slug__additional-text {
275
+ font-size: convert.to-rem(12px);
276
+ }
277
+
278
+ .#{$prefix}--slug__button--inline.#{$prefix}--slug__button--lg,
279
+ .#{$prefix}--slug__button--inline.#{$prefix}--slug__button--xl {
280
+ font-size: convert.to-rem(16px);
281
+ }
282
+
283
+ // Inline slug with text
284
+ .#{$prefix}--slug .#{$prefix}--slug__button--inline-with-content {
285
+ border: 1px solid $border-inverse;
286
+ padding-block: convert.to-rem(2px);
287
+ padding-inline: convert.to-rem(8px);
288
+ }
289
+
290
+ .#{$prefix}--slug__button--inline-with-content
291
+ .#{$prefix}--slug__additional-text {
292
+ @include type-style('body-compact-02');
293
+
294
+ padding-inline-start: convert.to-rem(4px);
295
+ }
296
+
297
+ .#{$prefix}--slug__button--inline.#{$prefix}--slug__button--md
298
+ .#{$prefix}--slug__additional-text {
299
+ font-size: convert.to-rem(14px);
300
+ }
301
+
302
+ .#{$prefix}--slug .#{$prefix}--slug__button--inline-with-content:focus {
303
+ box-shadow: inset 0 0 0 1px $focus;
304
+ }
305
+
306
+ // Default callout styles
307
+ .#{$prefix}--slug.#{$prefix}--slug--hollow .#{$prefix}--toggletip-content {
308
+ row-gap: 0;
309
+ }
310
+
311
+ // Slug callout styles
312
+ .#{$prefix}--slug.#{$prefix}--slug--enabled .#{$prefix}--popover-content {
313
+ border: 1px solid $border-subtle;
314
+ border-radius: 16px;
315
+ // 84px seems to make this fully opaque?
316
+ backdrop-filter: blur(25px);
317
+ background: linear-gradient(
318
+ 0deg,
319
+ $slug-callout-aura-start 0%,
320
+ $slug-callout-aura-end 33%,
321
+ transparent 100%
322
+ ),
323
+ linear-gradient(
324
+ 180deg,
325
+ $slug-callout-gradient-top 0%,
326
+ $slug-callout-gradient-bottom 100%
327
+ )
328
+ rgba(0, 0, 0, 0.01);
329
+ // box-shadow seems to match the spec better
330
+ // than the same values plugged into `drop-shadow`
331
+ // filter: drop-shadow(-45px 45px 100px rgba(0, 0, 0, 0.2));
332
+ box-shadow: -45px 45px 100px rgba(0, 0, 0, 0.2);
333
+ color: $text-primary;
334
+ min-inline-size: convert.to-rem(280px);
335
+ }
336
+
337
+ .#{$prefix}--slug.#{$prefix}--slug--enabled .#{$prefix}--popover-caret {
338
+ background: $border-subtle;
339
+ }
340
+
341
+ .#{$prefix}--slug.#{$prefix}--slug--enabled .#{$prefix}--toggletip-content {
342
+ padding-block-end: convert.to-rem(80px);
343
+ padding-block-start: convert.to-rem(32px);
344
+ padding-inline: convert.to-rem(32px);
345
+ }
346
+ }
@@ -180,7 +180,7 @@
180
180
  }
181
181
 
182
182
  .#{$prefix}--side-nav__item--large {
183
- block-size: mini-units(6);
183
+ block-size: auto;
184
184
  }
185
185
 
186
186
  //----------------------------------------------------------------------------