@carbon/styles 1.67.0 → 1.68.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 (61) hide show
  1. package/README.md +3 -3
  2. package/css/styles.css +172 -86
  3. package/css/styles.min.css +1 -1
  4. package/package.json +10 -10
  5. package/scss/__tests__/zone-test.js +1 -1
  6. package/scss/_reset.scss +0 -2
  7. package/scss/_zone.scss +1 -1
  8. package/scss/components/accordion/_accordion.scss +26 -20
  9. package/scss/components/breadcrumb/_breadcrumb.scss +1 -1
  10. package/scss/components/button/_button.scss +4 -3
  11. package/scss/components/button/_mixins.scss +7 -4
  12. package/scss/components/code-snippet/_code-snippet.scss +1 -2
  13. package/scss/components/contained-list/_contained-list.scss +2 -2
  14. package/scss/components/content-switcher/_content-switcher.scss +4 -2
  15. package/scss/components/data-table/_data-table.scss +15 -5
  16. package/scss/components/data-table/action/_data-table-action.scss +10 -6
  17. package/scss/components/data-table/expandable/_data-table-expandable.scss +20 -9
  18. package/scss/components/data-table/sort/_data-table-sort.scss +3 -2
  19. package/scss/components/date-picker/_date-picker.scss +1 -1
  20. package/scss/components/date-picker/_flatpickr.scss +8 -4
  21. package/scss/components/dialog/_dialog.scss +10 -7
  22. package/scss/components/dropdown/_dropdown.scss +3 -2
  23. package/scss/components/file-uploader/_file-uploader.scss +4 -5
  24. package/scss/components/fluid-date-picker/_fluid-date-picker.scss +2 -1
  25. package/scss/components/fluid-list-box/_fluid-list-box.scss +2 -1
  26. package/scss/components/fluid-number-input/_fluid-number-input.scss +3 -1
  27. package/scss/components/fluid-select/_fluid-select.scss +2 -1
  28. package/scss/components/fluid-text-input/_fluid-text-input.scss +2 -1
  29. package/scss/components/list-box/_list-box.scss +3 -2
  30. package/scss/components/loading/_animation.scss +2 -1
  31. package/scss/components/modal/_modal.scss +9 -6
  32. package/scss/components/notification/_actionable-notification.scss +5 -4
  33. package/scss/components/notification/_inline-notification.scss +3 -3
  34. package/scss/components/notification/_toast-notification.scss +4 -3
  35. package/scss/components/number-input/_number-input.scss +3 -3
  36. package/scss/components/overflow-menu/_overflow-menu.scss +4 -2
  37. package/scss/components/pagination/_pagination.scss +3 -2
  38. package/scss/components/pagination/_unstable_pagination.scss +2 -1
  39. package/scss/components/pagination-nav/_pagination-nav.scss +3 -2
  40. package/scss/components/popover/_popover.scss +8 -10
  41. package/scss/components/progress-indicator/_progress-indicator.scss +2 -1
  42. package/scss/components/search/_search.scss +6 -3
  43. package/scss/components/select/_select.scss +2 -2
  44. package/scss/components/slider/_slider.scss +29 -8
  45. package/scss/components/slug/_slug.scss +12 -5
  46. package/scss/components/tabs/_tabs.scss +33 -6
  47. package/scss/components/tag/_tag.scss +7 -3
  48. package/scss/components/text-area/_text-area.scss +2 -1
  49. package/scss/components/text-input/_text-input.scss +4 -2
  50. package/scss/components/tile/_tile.scss +10 -5
  51. package/scss/components/time-picker/_time-picker.scss +2 -1
  52. package/scss/components/toggle/_toggle.scss +3 -2
  53. package/scss/components/treeview/_treeview.scss +4 -0
  54. package/scss/components/ui-shell/header/_header.scss +10 -5
  55. package/scss/components/ui-shell/side-nav/_side-nav.scss +15 -8
  56. package/scss/utilities/_ai-gradient.scss +6 -3
  57. package/scss/utilities/_convert.scss +6 -6
  58. package/scss/utilities/_skeleton.scss +1 -0
  59. package/scss/utilities/_tooltip.scss +2 -5
  60. package/scss/utilities/_z-index.scss +3 -3
  61. package/telemetry.yml +1 -1
@@ -21,7 +21,8 @@
21
21
  position: relative;
22
22
  background: $field;
23
23
  block-size: 100%;
24
- transition: background-color $duration-fast-01 motion(standard, productive),
24
+ transition:
25
+ background-color $duration-fast-01 motion(standard, productive),
25
26
  outline $duration-fast-01 motion(standard, productive);
26
27
  }
27
28
 
@@ -84,7 +84,9 @@
84
84
  input[type='number']:focus
85
85
  ~ .#{$prefix}--number__controls
86
86
  .#{$prefix}--number__control-btn:last-of-type {
87
- box-shadow: inset 0 -1px $focus, inset -2px 0 $focus;
87
+ box-shadow:
88
+ inset 0 -1px $focus,
89
+ inset -2px 0 $focus;
88
90
  }
89
91
 
90
92
  .#{$prefix}--number-input--fluid
@@ -21,7 +21,8 @@
21
21
  position: relative;
22
22
  background: $field;
23
23
  block-size: 100%;
24
- transition: background-color $duration-fast-01 motion(standard, productive),
24
+ transition:
25
+ background-color $duration-fast-01 motion(standard, productive),
25
26
  outline $duration-fast-01 motion(standard, productive);
26
27
  }
27
28
 
@@ -21,7 +21,8 @@
21
21
  position: relative;
22
22
  background: $field;
23
23
  block-size: 100%;
24
- transition: background-color $duration-fast-01 motion(standard, productive),
24
+ transition:
25
+ background-color $duration-fast-01 motion(standard, productive),
25
26
  outline $duration-fast-01 motion(standard, productive);
26
27
  }
27
28
 
@@ -515,7 +515,7 @@ $list-box-menu-width: convert.to-rem(300px);
515
515
  display: none;
516
516
  background-color: $layer;
517
517
  inline-size: $list-box-width;
518
- inset-inline: 0 0;
518
+ inset-inline: 0;
519
519
  overflow-y: auto;
520
520
  transition: max-height $duration-fast-02 motion(standard, productive);
521
521
 
@@ -669,7 +669,8 @@ $list-box-menu-width: convert.to-rem(300px);
669
669
  padding-inline-end: $spacing-06;
670
670
  text-decoration: none;
671
671
  text-overflow: ellipsis;
672
- transition: border-color $duration-fast-01 motion(standard, productive),
672
+ transition:
673
+ border-color $duration-fast-01 motion(standard, productive),
673
674
  color $duration-fast-01 motion(standard, productive);
674
675
  white-space: nowrap;
675
676
 
@@ -30,7 +30,8 @@
30
30
 
31
31
  @mixin stop {
32
32
  // Animate the container
33
- animation: #{$prefix}--rotate-end-p1 700ms motion.$ease-out forwards,
33
+ animation:
34
+ #{$prefix}--rotate-end-p1 700ms motion.$ease-out forwards,
34
35
  #{$prefix}--rotate-end-p2 700ms motion.$ease-out 700ms forwards;
35
36
 
36
37
  // Animate the stroke
@@ -37,13 +37,15 @@
37
37
  inset-block-start: 0;
38
38
  inset-inline-start: 0;
39
39
  opacity: 0;
40
- transition: opacity $duration-moderate-02 motion(exit, expressive),
40
+ transition:
41
+ opacity $duration-moderate-02 motion(exit, expressive),
41
42
  visibility 0ms linear $duration-moderate-02;
42
43
  visibility: hidden;
43
44
 
44
45
  &.is-visible {
45
46
  opacity: 1;
46
- transition: opacity $duration-moderate-02 motion(entrance, expressive),
47
+ transition:
48
+ opacity $duration-moderate-02 motion(entrance, expressive),
47
49
  visibility 0ms linear;
48
50
  visibility: inherit;
49
51
 
@@ -370,7 +372,8 @@
370
372
 
371
373
  border: 1px solid transparent;
372
374
  background-color: $layer;
373
- box-shadow: inset 0 -80px 70px -65px $ai-inner-shadow,
375
+ box-shadow:
376
+ inset 0 -80px 70px -65px $ai-inner-shadow,
374
377
  0 24px 40px -24px $ai-drop-shadow;
375
378
  }
376
379
 
@@ -378,7 +381,8 @@
378
381
  .#{$prefix}--modal-container:has(.#{$prefix}--modal-footer) {
379
382
  @include ai-popover-gradient('default', 64px, 'layer');
380
383
 
381
- box-shadow: inset 0 -80px 0 -16px $layer,
384
+ box-shadow:
385
+ inset 0 -80px 0 -16px $layer,
382
386
  inset 0 -160px 70px -65px $ai-inner-shadow,
383
387
  0 24px 40px -24px $ai-drop-shadow;
384
388
  }
@@ -416,7 +420,7 @@
416
420
  }
417
421
 
418
422
  // Windows HCM fix
419
- /* stylelint-disable no-duplicate-selectors */
423
+
420
424
  .#{$prefix}--modal-close__icon {
421
425
  @include high-contrast-mode('icon-fill');
422
426
  }
@@ -424,5 +428,4 @@
424
428
  .#{$prefix}--modal-close:focus {
425
429
  @include high-contrast-mode('focus');
426
430
  }
427
- /* stylelint-enable no-duplicate-selectors */
428
431
  }
@@ -373,7 +373,8 @@
373
373
  .#{$prefix}--actionable-notification__action-button.#{$prefix}--btn--tertiary:focus {
374
374
  border-color: $focus-inverse;
375
375
  background-color: $notification-action-tertiary-inverse;
376
- box-shadow: inset 0 0 0 button-vars.$button-outline-width $focus-inverse,
376
+ box-shadow:
377
+ inset 0 0 0 button-vars.$button-outline-width $focus-inverse,
377
378
  inset 0 0 0 button-vars.$button-border-width $background-inverse;
378
379
  color: $notification-action-tertiary-inverse-text;
379
380
  }
@@ -439,7 +440,8 @@
439
440
  inset-inline-end: 0;
440
441
  max-inline-size: convert.to-rem(48px);
441
442
  min-inline-size: convert.to-rem(48px);
442
- transition: outline $duration-fast-02 motion(standard, productive),
443
+ transition:
444
+ outline $duration-fast-02 motion(standard, productive),
443
445
  background-color $duration-fast-02 motion(standard, productive);
444
446
 
445
447
  &:focus {
@@ -475,7 +477,7 @@
475
477
  }
476
478
 
477
479
  // Windows HCM fix
478
- /* stylelint-disable */
480
+
479
481
  .#{$prefix}--actionable-notification {
480
482
  @include high-contrast-mode('outline');
481
483
  }
@@ -491,5 +493,4 @@
491
493
  .#{$prefix}--actionable-notification__close-icon {
492
494
  @include high-contrast-mode('icon-fill');
493
495
  }
494
- /* stylelint-enable */
495
496
  }
@@ -277,7 +277,8 @@
277
277
  inset-inline-end: 0;
278
278
  max-inline-size: convert.to-rem(48px);
279
279
  min-inline-size: convert.to-rem(48px);
280
- transition: outline $duration-fast-02 motion(standard, productive),
280
+ transition:
281
+ outline $duration-fast-02 motion(standard, productive),
281
282
  background-color $duration-fast-02 motion(standard, productive);
282
283
 
283
284
  &:focus {
@@ -306,7 +307,7 @@
306
307
  }
307
308
 
308
309
  // Windows HCM fix
309
- /* stylelint-disable */
310
+
310
311
  .#{$prefix}--inline-notification {
311
312
  @include high-contrast-mode('outline');
312
313
  }
@@ -323,5 +324,4 @@
323
324
  .#{$prefix}--inline-notification__close-icon {
324
325
  @include high-contrast-mode('icon-fill');
325
326
  }
326
- /* stylelint-enable */
327
327
  }
@@ -165,7 +165,9 @@
165
165
  margin-inline-start: auto;
166
166
  min-block-size: convert.to-rem(48px);
167
167
  min-inline-size: convert.to-rem(48px);
168
- transition: outline $transition-base, background-color $transition-base;
168
+ transition:
169
+ outline $transition-base,
170
+ background-color $transition-base;
169
171
 
170
172
  &:focus {
171
173
  outline: 2px solid $focus-inverse;
@@ -222,7 +224,7 @@
222
224
  }
223
225
 
224
226
  // Windows HCM fix
225
- /* stylelint-disable */
227
+
226
228
  .#{$prefix}--toast-notification {
227
229
  @include high-contrast-mode('outline');
228
230
  }
@@ -235,5 +237,4 @@
235
237
  .#{$prefix}--toast-notification .#{$prefix}--toast-notification__icon {
236
238
  @include high-contrast-mode('icon-fill');
237
239
  }
238
- /* stylelint-enable */
239
240
  }
@@ -60,7 +60,8 @@
60
60
  inline-size: 100%;
61
61
  min-inline-size: 9.375rem;
62
62
  padding-inline: $spacing-05 $spacing-12;
63
- transition: background-color $duration-fast-01 motion(standard, productive),
63
+ transition:
64
+ background-color $duration-fast-01 motion(standard, productive),
64
65
  outline $duration-fast-01 motion(standard, productive);
65
66
 
66
67
  &:focus {
@@ -511,7 +512,7 @@
511
512
  }
512
513
  }
513
514
  // Windows HCM fix
514
- /* stylelint-disable */
515
+
515
516
  .#{$prefix}--number__control-btn:hover,
516
517
  .#{$prefix}--number__control-btn:focus {
517
518
  @include high-contrast-mode('focus');
@@ -524,7 +525,6 @@
524
525
  .#{$prefix}--number__control-btn svg {
525
526
  @include high-contrast-mode('icon-fill');
526
527
  }
527
- /* stylelint-enable */
528
528
  }
529
529
  .#{$prefix}--number__controls:hover .#{$prefix}--number__control-btn::after {
530
530
  display: none;
@@ -40,7 +40,8 @@
40
40
  cursor: pointer;
41
41
  inline-size: convert.to-rem(40px);
42
42
  min-block-size: convert.to-rem(40px);
43
- transition: outline $duration-fast-02 motion(entrance, productive),
43
+ transition:
44
+ outline $duration-fast-02 motion(entrance, productive),
44
45
  background-color $duration-fast-02 motion(entrance, productive);
45
46
 
46
47
  &:focus {
@@ -272,7 +273,8 @@
272
273
  inline-size: 100%;
273
274
  max-inline-size: 11.25rem;
274
275
  text-align: start;
275
- transition: outline $duration-fast-02 motion(entrance, productive),
276
+ transition:
277
+ outline $duration-fast-02 motion(entrance, productive),
276
278
  background-color $duration-fast-02 motion(entrance, productive),
277
279
  color $duration-fast-02 motion(entrance, productive);
278
280
 
@@ -220,7 +220,8 @@
220
220
  fill: $icon-primary;
221
221
  inline-size: convert.to-rem(40px);
222
222
  min-block-size: convert.to-rem(32px);
223
- transition: outline $duration-fast-02 motion(standard, productive),
223
+ transition:
224
+ outline $duration-fast-02 motion(standard, productive),
224
225
  background-color $duration-fast-02 motion(standard, productive);
225
226
  }
226
227
 
@@ -283,7 +284,7 @@
283
284
  }
284
285
 
285
286
  // Windows HCM fix
286
- // stylelint-disable-next-line no-duplicate-selectors
287
+
287
288
  .#{$prefix}--pagination__button,
288
289
  .#{$prefix}--btn--ghost.#{$prefix}--pagination__button {
289
290
  @include high-contrast-mode('outline');
@@ -85,7 +85,8 @@
85
85
  fill: $icon-primary;
86
86
  inline-size: convert.to-rem(40px);
87
87
  min-block-size: convert.to-rem(32px);
88
- transition: outline $duration-fast-02 motion(standard, productive),
88
+ transition:
89
+ outline $duration-fast-02 motion(standard, productive),
89
90
  background-color $duration-fast-02 motion(standard, productive);
90
91
  }
91
92
 
@@ -88,7 +88,8 @@
88
88
  outline: 0;
89
89
  text-align: center;
90
90
  text-decoration: none;
91
- transition: background-color $duration-fast-02 motion(standard, productive),
91
+ transition:
92
+ background-color $duration-fast-02 motion(standard, productive),
92
93
  color $duration-fast-02 motion(standard, productive);
93
94
  user-select: none;
94
95
 
@@ -142,7 +143,7 @@
142
143
  max-block-size: layout.size('height');
143
144
  text-indent: calc(50% - 4.5px);
144
145
  // Override some Firefox user-agent styles
145
- @-moz-document url-prefix() {
146
+ @document url-prefix() {
146
147
  text-indent: 0;
147
148
  }
148
149
  }
@@ -62,7 +62,6 @@ $popover-text-color: custom-property.get-var(
62
62
  // The distance between the popover container and the triggering element
63
63
  // Specify the distance between the popover and the trigger. This value must
64
64
  // have a unit otherwise the `calc()` expression will not work
65
- // stylelint-disable-next-line length-zero-no-unit
66
65
  $popover-offset: custom-property.get-var('popover-offset', 0rem);
67
66
 
68
67
  // Customize the dimensions of the caret by specifying its width or height.
@@ -105,11 +104,10 @@ $popover-caret-height: custom-property.get-var(
105
104
  }
106
105
 
107
106
  // Drop shadow modifier
108
- .#{$prefix}--popover--drop-shadow .#{$prefix}--popover {
109
- @include custom-property.declaration(
110
- 'popover-drop-shadow',
111
- drop-shadow(0 2px 2px rgba(0, 0, 0, 0.2))
112
- );
107
+ .#{$prefix}--popover--drop-shadow
108
+ .#{$prefix}--popover
109
+ > .#{$prefix}--popover-content {
110
+ filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.2));
113
111
  }
114
112
 
115
113
  // Caret tip modifier
@@ -297,7 +295,7 @@ $popover-caret-height: custom-property.get-var(
297
295
  > .#{$prefix}--popover-content::before {
298
296
  block-size: $popover-offset;
299
297
  inset-block-start: 0;
300
- inset-inline: 0 0;
298
+ inset-inline: 0;
301
299
  transform: translateY(-100%);
302
300
  }
303
301
 
@@ -460,7 +458,7 @@ $popover-caret-height: custom-property.get-var(
460
458
  > .#{$prefix}--popover-content::before {
461
459
  block-size: $popover-offset;
462
460
  inset-block-end: 0;
463
- inset-inline: 0 0;
461
+ inset-inline: 0;
464
462
  transform: translateY(100%);
465
463
  }
466
464
 
@@ -616,7 +614,7 @@ $popover-caret-height: custom-property.get-var(
616
614
  > .#{$prefix}--popover
617
615
  > .#{$prefix}--popover-content::before {
618
616
  inline-size: $popover-offset;
619
- inset-block: 0 0;
617
+ inset-block: 0;
620
618
  inset-inline-start: 0;
621
619
  transform: translateX(-100%);
622
620
  }
@@ -783,7 +781,7 @@ $popover-caret-height: custom-property.get-var(
783
781
  > .#{$prefix}--popover
784
782
  > .#{$prefix}--popover-content::before {
785
783
  inline-size: $popover-offset;
786
- inset-block: 0 0;
784
+ inset-block: 0;
787
785
  inset-inline-end: 0;
788
786
  transform: translateX(100%);
789
787
  }
@@ -91,7 +91,8 @@ $progress-indicator-bar-width: 1px inset transparent !default;
91
91
  line-height: 1.45;
92
92
  max-inline-size: convert.to-rem(88px);
93
93
  text-overflow: ellipsis;
94
- transition: box-shadow $duration-fast-02 motion(standard, productive),
94
+ transition:
95
+ box-shadow $duration-fast-02 motion(standard, productive),
95
96
  color $duration-fast-02 motion(standard, productive);
96
97
  white-space: nowrap;
97
98
 
@@ -54,7 +54,8 @@
54
54
 
55
55
  inline-size: 100%;
56
56
  text-overflow: ellipsis;
57
- transition: background-color $duration-fast-02 motion(standard, productive),
57
+ transition:
58
+ background-color $duration-fast-02 motion(standard, productive),
58
59
  outline $duration-fast-02 motion(standard, productive);
59
60
 
60
61
  &:focus {
@@ -199,7 +200,8 @@
199
200
  fill: $icon-primary;
200
201
  inline-size: convert.to-rem(40px);
201
202
  opacity: 1;
202
- transition: opacity $duration-fast-02 motion(standard, productive),
203
+ transition:
204
+ opacity $duration-fast-02 motion(standard, productive),
203
205
  background-color $duration-fast-02 motion(standard, productive),
204
206
  outline $duration-fast-02 motion(standard, productive),
205
207
  border $duration-fast-02 motion(standard, productive);
@@ -324,7 +326,8 @@
324
326
  .#{$prefix}--search--expandable .#{$prefix}--search-input {
325
327
  padding: 0;
326
328
  inline-size: 0;
327
- transition: padding $duration-fast-01 motion(standard, productive),
329
+ transition:
330
+ padding $duration-fast-01 motion(standard, productive),
328
331
  width 0s linear $duration-fast-01;
329
332
 
330
333
  &::placeholder {
@@ -75,7 +75,7 @@
75
75
  }
76
76
 
77
77
  // Select text renders a little high on Firefox
78
- @-moz-document url-prefix() {
78
+ @document url-prefix() {
79
79
  // Removes dotted inner focus
80
80
  &:-moz-focusring,
81
81
  &::-moz-focus-inner {
@@ -344,7 +344,7 @@
344
344
  }
345
345
 
346
346
  // Windows HCM fix
347
- // stylelint-disable-next-line no-duplicate-selectors
347
+
348
348
  .#{$prefix}--select__arrow {
349
349
  @include high-contrast-mode('icon-fill');
350
350
  }
@@ -187,10 +187,13 @@
187
187
  position: absolute;
188
188
  border-radius: 50%;
189
189
  background: $layer-selected-inverse;
190
- box-shadow: inset 0 0 0 1px transparent, inset 0 0 0 2px transparent;
190
+ box-shadow:
191
+ inset 0 0 0 1px transparent,
192
+ inset 0 0 0 2px transparent;
191
193
  inset: 0;
192
194
  outline: none;
193
- transition: transform $duration-fast-02 motion(standard, productive),
195
+ transition:
196
+ transform $duration-fast-02 motion(standard, productive),
194
197
  background $duration-fast-02 motion(standard, productive),
195
198
  box-shadow $duration-fast-02 motion(standard, productive);
196
199
 
@@ -201,7 +204,9 @@
201
204
 
202
205
  &:focus {
203
206
  background-color: $interactive;
204
- box-shadow: inset 0 0 0 2px $interactive, inset 0 0 0 3px $layer;
207
+ box-shadow:
208
+ inset 0 0 0 2px $interactive,
209
+ inset 0 0 0 3px $layer;
205
210
  // 20px / 14px = 1.4286
206
211
  transform: scale(1.4286);
207
212
  }
@@ -372,19 +377,36 @@
372
377
 
373
378
  &:hover {
374
379
  cursor: not-allowed;
375
- transform: translate(-50%, -50%);
380
+ transform: none;
376
381
  }
377
382
 
378
383
  &:focus {
379
384
  background-color: $border-disabled;
380
385
  box-shadow: none;
381
386
  outline: none;
382
- transform: translate(-50%, -50%);
387
+ transform: none;
383
388
  }
384
389
 
385
390
  &:active {
386
391
  background: $border-disabled;
387
- transform: translate(-50%, -50%);
392
+ box-shadow: none;
393
+ transform: none;
394
+ }
395
+ }
396
+
397
+ .#{$prefix}--slider--disabled .#{$prefix}--slider__thumb--lower,
398
+ .#{$prefix}--slider--disabled .#{$prefix}--slider__thumb--upper {
399
+ background-color: transparent;
400
+
401
+ &:active,
402
+ &:hover,
403
+ &:focus {
404
+ background-color: transparent;
405
+ transform: none;
406
+ }
407
+
408
+ .#{$prefix}--slider__thumb-icon {
409
+ fill: $border-disabled;
388
410
  }
389
411
  }
390
412
 
@@ -479,7 +501,7 @@
479
501
  }
480
502
 
481
503
  // Windows HCM fix
482
- /* stylelint-disable */
504
+
483
505
  .#{$prefix}--slider__thumb {
484
506
  @include high-contrast-mode('outline');
485
507
  }
@@ -489,5 +511,4 @@
489
511
  .#{$prefix}--slider__track {
490
512
  @include high-contrast-mode('outline');
491
513
  }
492
- /* stylelint-enable */
493
514
  }
@@ -76,7 +76,8 @@ $sizes: (
76
76
  color: $text-primary;
77
77
  font-weight: 600;
78
78
  outline: none;
79
- transition: color $duration-fast-01 motion(entrance, productive),
79
+ transition:
80
+ color $duration-fast-01 motion(entrance, productive),
80
81
  border-color $duration-fast-01 motion(entrance, productive),
81
82
  box-shadow $duration-fast-01 motion(entrance, productive),
82
83
  background $duration-fast-01 motion(entrance, productive);
@@ -114,7 +115,9 @@ $sizes: (
114
115
 
115
116
  .#{$prefix}--slug .#{$prefix}--slug__button:hover:active {
116
117
  background: $border-inverse;
117
- box-shadow: inset 0 0 0 1px $focus, inset 0 0 0 2px $focus-inset;
118
+ box-shadow:
119
+ inset 0 0 0 1px $focus,
120
+ inset 0 0 0 2px $focus-inset;
118
121
  color: $text-inverse;
119
122
  }
120
123
 
@@ -192,7 +195,8 @@ $sizes: (
192
195
  inset-inline-start: 0;
193
196
  opacity: 1;
194
197
  transform: translateY(-50%);
195
- transition: background $duration-fast-01 motion(entrance, productive),
198
+ transition:
199
+ background $duration-fast-01 motion(entrance, productive),
196
200
  box-shadow $duration-fast-01 motion(entrance, productive);
197
201
  }
198
202
 
@@ -254,7 +258,8 @@ $sizes: (
254
258
  border: 1px solid transparent;
255
259
  border-radius: convert.to-rem(8px);
256
260
  // Need to make tokens
257
- box-shadow: inset 0 -80px 70px -65px $ai-inner-shadow,
261
+ box-shadow:
262
+ inset 0 -80px 70px -65px $ai-inner-shadow,
258
263
  -40px 44px 60px -24px $ai-popover-shadow-outer-01,
259
264
  -56px 64px 64px -24px $ai-popover-shadow-outer-02;
260
265
  color: $text-primary;
@@ -707,7 +712,9 @@ $sizes: (
707
712
 
708
713
  .#{$prefix}--slug .#{$prefix}--slug-actions .#{$prefix}--btn:focus {
709
714
  border-color: $focus;
710
- box-shadow: inset 0 0 0 1px $focus, inset 0 0 0 2px $background;
715
+ box-shadow:
716
+ inset 0 0 0 1px $focus,
717
+ inset 0 0 0 2px $background;
711
718
  }
712
719
 
713
720
  .#{$prefix}--slug .#{$prefix}--slug-actions .#{$prefix}--btn--primary {
@@ -137,6 +137,14 @@
137
137
  &:focus {
138
138
  @include focus-outline('outline');
139
139
  }
140
+
141
+ &:hover {
142
+ background-color: $background-hover;
143
+ }
144
+
145
+ &:active {
146
+ background-color: $background-active;
147
+ }
140
148
  }
141
149
 
142
150
  .#{$prefix}--tab--overflow-nav-button--hidden {
@@ -147,16 +155,29 @@
147
155
  margin: 0;
148
156
  background-color: $layer-accent;
149
157
  inline-size: $spacing-09;
158
+
159
+ &:hover {
160
+ background-color: $layer-accent-hover;
161
+ }
162
+
163
+ &:active {
164
+ background-color: $layer-accent-active;
165
+ }
150
166
  }
151
167
 
152
168
  .#{$prefix}--tab--overflow-nav-button svg {
153
169
  z-index: 2;
154
170
  fill: $icon-primary;
171
+
172
+ &:active,
173
+ &:hover {
174
+ fill: $icon-primary;
175
+ }
155
176
  }
156
177
 
157
178
  .#{$prefix}--tab--overflow-nav-button--next {
158
- position: absolute;
159
- inset-block: 0 0;
179
+ position: relative;
180
+ inset-block: 0;
160
181
  inset-inline-end: 0;
161
182
  }
162
183
 
@@ -187,9 +208,9 @@
187
208
  }
188
209
 
189
210
  .#{$prefix}--tab--overflow-nav-button--previous {
190
- position: absolute;
211
+ position: relative;
191
212
  z-index: 1;
192
- inset-block: 0 0;
213
+ inset-block: 0;
193
214
  inset-inline-start: 0;
194
215
  }
195
216
 
@@ -332,7 +353,8 @@
332
353
  }
333
354
 
334
355
  .#{$prefix}--tabs__nav-item .#{$prefix}--tabs__nav-link {
335
- transition: color $duration-fast-01 motion(standard, productive),
356
+ transition:
357
+ color $duration-fast-01 motion(standard, productive),
336
358
  border-bottom-color $duration-fast-01 motion(standard, productive),
337
359
  outline $duration-fast-01 motion(standard, productive);
338
360
  }
@@ -463,7 +485,8 @@
463
485
  text-align: start;
464
486
  text-decoration: none;
465
487
  text-overflow: ellipsis;
466
- transition: border $duration-fast-01 motion(standard, productive),
488
+ transition:
489
+ border $duration-fast-01 motion(standard, productive),
467
490
  outline $duration-fast-01 motion(standard, productive);
468
491
  white-space: nowrap;
469
492
 
@@ -504,6 +527,10 @@
504
527
  overflow-x: visible;
505
528
  }
506
529
 
530
+ .#{$prefix}--tabs__nav-item--icon-only {
531
+ margin-inline-end: convert.to-rem(1px);
532
+ }
533
+
507
534
  .#{$prefix}--tabs__nav-item--icon-only,
508
535
  &.#{$prefix}--tabs--contained .#{$prefix}--tabs__nav-item--icon-only {
509
536
  display: flex;
@@ -303,7 +303,8 @@
303
303
  color: currentColor;
304
304
  cursor: pointer;
305
305
  inline-size: layout.size('height');
306
- transition: background-color $duration-fast-01 motion(standard, productive),
306
+ transition:
307
+ background-color $duration-fast-01 motion(standard, productive),
307
308
  box-shadow $duration-fast-01 motion(standard, productive);
308
309
 
309
310
  svg {
@@ -396,8 +397,12 @@
396
397
  border-color: currentColor;
397
398
  }
398
399
 
400
+ .#{$prefix}--tag--filter .#{$prefix}--slug {
401
+ min-inline-size: convert.to-rem(32.14px);
402
+ }
403
+
399
404
  // Windows HCM fix
400
- /* stylelint-disable */
405
+
401
406
  .#{$prefix}--tag {
402
407
  @include high-contrast-mode('outline');
403
408
  }
@@ -424,7 +429,6 @@
424
429
  + .#{$prefix}--tag-label-tooltip {
425
430
  max-inline-size: convert.to-rem(158px);
426
431
  }
427
- /* stylelint-enable */
428
432
 
429
433
  .#{$prefix}--interactive--tag-children {
430
434
  display: inline-flex;