@carbon/styles 1.68.0-rc.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 (45) hide show
  1. package/css/styles.css +30 -4
  2. package/css/styles.min.css +1 -1
  3. package/package.json +10 -10
  4. package/scss/components/accordion/_accordion.scss +6 -3
  5. package/scss/components/button/_button.scss +3 -2
  6. package/scss/components/button/_mixins.scss +7 -4
  7. package/scss/components/content-switcher/_content-switcher.scss +3 -1
  8. package/scss/components/data-table/_data-table.scss +11 -1
  9. package/scss/components/data-table/action/_data-table-action.scss +8 -4
  10. package/scss/components/data-table/expandable/_data-table-expandable.scss +19 -7
  11. package/scss/components/data-table/sort/_data-table-sort.scss +2 -1
  12. package/scss/components/date-picker/_flatpickr.scss +8 -4
  13. package/scss/components/dialog/_dialog.scss +8 -5
  14. package/scss/components/dropdown/_dropdown.scss +2 -1
  15. package/scss/components/fluid-date-picker/_fluid-date-picker.scss +2 -1
  16. package/scss/components/fluid-list-box/_fluid-list-box.scss +2 -1
  17. package/scss/components/fluid-number-input/_fluid-number-input.scss +3 -1
  18. package/scss/components/fluid-select/_fluid-select.scss +2 -1
  19. package/scss/components/fluid-text-input/_fluid-text-input.scss +2 -1
  20. package/scss/components/list-box/_list-box.scss +2 -1
  21. package/scss/components/loading/_animation.scss +2 -1
  22. package/scss/components/modal/_modal.scss +8 -4
  23. package/scss/components/notification/_actionable-notification.scss +4 -2
  24. package/scss/components/notification/_inline-notification.scss +2 -1
  25. package/scss/components/notification/_toast-notification.scss +3 -1
  26. package/scss/components/number-input/_number-input.scss +2 -1
  27. package/scss/components/overflow-menu/_overflow-menu.scss +4 -2
  28. package/scss/components/pagination/_pagination.scss +2 -1
  29. package/scss/components/pagination/_unstable_pagination.scss +2 -1
  30. package/scss/components/pagination-nav/_pagination-nav.scss +2 -1
  31. package/scss/components/popover/_popover.scss +4 -5
  32. package/scss/components/progress-indicator/_progress-indicator.scss +2 -1
  33. package/scss/components/search/_search.scss +6 -3
  34. package/scss/components/slider/_slider.scss +8 -3
  35. package/scss/components/slug/_slug.scss +12 -5
  36. package/scss/components/tabs/_tabs.scss +4 -2
  37. package/scss/components/tag/_tag.scss +2 -1
  38. package/scss/components/text-area/_text-area.scss +2 -1
  39. package/scss/components/text-input/_text-input.scss +4 -2
  40. package/scss/components/tile/_tile.scss +10 -5
  41. package/scss/components/time-picker/_time-picker.scss +2 -1
  42. package/scss/components/toggle/_toggle.scss +3 -1
  43. package/scss/components/ui-shell/header/_header.scss +9 -4
  44. package/scss/components/ui-shell/side-nav/_side-nav.scss +12 -5
  45. package/scss/utilities/_ai-gradient.scss +6 -3
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.68.0-rc.0",
4
+ "version": "1.68.0",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
7
7
  "type": "git",
@@ -40,18 +40,18 @@
40
40
  }
41
41
  },
42
42
  "dependencies": {
43
- "@carbon/colors": "^11.28.0-rc.0",
44
- "@carbon/feature-flags": "^0.24.0-rc.0",
45
- "@carbon/grid": "^11.29.0-rc.0",
46
- "@carbon/layout": "^11.28.0-rc.0",
47
- "@carbon/motion": "^11.24.0-rc.0",
48
- "@carbon/themes": "^11.43.0-rc.0",
49
- "@carbon/type": "^11.33.0-rc.0",
43
+ "@carbon/colors": "^11.28.0",
44
+ "@carbon/feature-flags": "^0.24.0",
45
+ "@carbon/grid": "^11.29.0",
46
+ "@carbon/layout": "^11.28.0",
47
+ "@carbon/motion": "^11.24.0",
48
+ "@carbon/themes": "^11.43.0",
49
+ "@carbon/type": "^11.33.0",
50
50
  "@ibm/plex": "6.0.0-next.6",
51
51
  "@ibm/telemetry-js": "^1.5.0"
52
52
  },
53
53
  "devDependencies": {
54
- "@carbon/test-utils": "^10.33.0",
54
+ "@carbon/test-utils": "^10.34.0",
55
55
  "autoprefixer": "^10.4.7",
56
56
  "browserslist-config-carbon": "^11.2.0",
57
57
  "css": "^3.0.0",
@@ -67,5 +67,5 @@
67
67
  "scss/**/*.css",
68
68
  "css/**/*.css"
69
69
  ],
70
- "gitHead": "e48f5e6815bd93e518e8da73c7555590b85cda22"
70
+ "gitHead": "3141442e5ef367667c8f1d379a1b4a23f67992ad"
71
71
  }
@@ -109,9 +109,12 @@ $content-padding: 0 0 0 $spacing-05 !default;
109
109
  position: relative;
110
110
  z-index: 2;
111
111
  box-shadow:
112
- /* Border top */ 0 -1px 0 0 $focus,
113
- inset 0 1px 0 0 $focus, /* Border right */ inset 2px 0 0 0 $focus,
114
- /* Border bottom */ 0 1px 0 0 $focus, inset 0 -1px 0 0 $focus,
112
+ /* Border top */
113
+ 0 -1px 0 0 $focus,
114
+ inset 0 1px 0 0 $focus,
115
+ /* Border right */ inset 2px 0 0 0 $focus,
116
+ /* Border bottom */ 0 1px 0 0 $focus,
117
+ inset 0 -1px 0 0 $focus,
115
118
  /* Border left */ inset -2px 0 0 0 $focus;
116
119
  outline: none;
117
120
  }
@@ -322,8 +322,9 @@
322
322
 
323
323
  padding-block: min(
324
324
  calc(
325
- (layout.size('height') - var(--temp-expressive-1lh)) / 2 -
326
- convert.to-rem(1px)
325
+ (layout.size('height') - var(--temp-expressive-1lh)) / 2 - convert.to-rem(
326
+ 1px
327
+ )
327
328
  ),
328
329
  var(--temp-padding-block-max)
329
330
  );
@@ -63,12 +63,14 @@ $button-focus-color: custom-property.get-var('button-focus-color', $focus);
63
63
  );
64
64
  padding-inline: calc(layout.density('padding-inline') - convert.to-rem(1px))
65
65
  calc(
66
- layout.density('padding-inline') * 3 + convert.to-rem(16px) -
67
- convert.to-rem(1px)
66
+ layout.density('padding-inline') * 3 + convert.to-rem(16px) - convert.to-rem(
67
+ 1px
68
+ )
68
69
  );
69
70
  text-align: start;
70
71
  text-decoration: none;
71
- transition: background $duration-fast-01 motion(entrance, productive),
72
+ transition:
73
+ background $duration-fast-01 motion(entrance, productive),
72
74
  box-shadow $duration-fast-01 motion(entrance, productive),
73
75
  border-color $duration-fast-01 motion(entrance, productive),
74
76
  outline $duration-fast-01 motion(entrance, productive);
@@ -127,7 +129,8 @@ $button-focus-color: custom-property.get-var('button-focus-color', $focus);
127
129
 
128
130
  &:focus {
129
131
  border-color: $button-focus-color;
130
- box-shadow: inset 0 0 0 $button-outline-width $button-focus-color,
132
+ box-shadow:
133
+ inset 0 0 0 $button-outline-width $button-focus-color,
131
134
  inset 0 0 0 $button-border-width $background;
132
135
  }
133
136
 
@@ -72,7 +72,9 @@
72
72
  &:focus {
73
73
  z-index: 3;
74
74
  border-color: $focus;
75
- box-shadow: inset 0 0 0 2px $focus, inset 0 0 0 3px $focus-inset;
75
+ box-shadow:
76
+ inset 0 0 0 2px $focus,
77
+ inset 0 0 0 3px $focus-inset;
76
78
  }
77
79
 
78
80
  &:focus::after {
@@ -205,7 +205,7 @@
205
205
 
206
206
  .#{$prefix}--data-table td,
207
207
  .#{$prefix}--data-table tbody th {
208
- border-block-end: 1px solid $border-subtle;
208
+ border-block-end: 1px solid $border-subtle-01;
209
209
  border-block-start: 1px solid $layer;
210
210
  color: $text-secondary;
211
211
  padding-inline: $spacing-05 $spacing-05;
@@ -215,6 +215,16 @@
215
215
  }
216
216
  }
217
217
 
218
+ .#{$prefix}--layer-two .#{$prefix}--data-table td,
219
+ .#{$prefix}--layer-two .#{$prefix}--data-table tbody th {
220
+ border-block-end: 1px solid $border-subtle-02;
221
+ }
222
+
223
+ .#{$prefix}--layer-three .#{$prefix}--data-table td,
224
+ .#{$prefix}--layer-three .#{$prefix}--data-table tbody th {
225
+ border-block-end: 1px solid $border-subtle-03;
226
+ }
227
+
218
228
  @supports (-moz-appearance: none) {
219
229
  .#{$prefix}--data-table td {
220
230
  // Fix to show borders in ff
@@ -40,7 +40,8 @@
40
40
  block-size: $spacing-09;
41
41
  inline-size: 100%;
42
42
  transform: translate3d(0, 0, 0);
43
- transition: transform $duration-fast-02 motion(standard, productive),
43
+ transition:
44
+ transform $duration-fast-02 motion(standard, productive),
44
45
  clip-path $duration-fast-02 motion(standard, productive);
45
46
  }
46
47
 
@@ -79,7 +80,8 @@
79
80
  box-shadow: none;
80
81
  cursor: pointer;
81
82
  inline-size: $spacing-09;
82
- transition: width $transition-expansion $standard-easing,
83
+ transition:
84
+ width $transition-expansion $standard-easing,
83
85
  background-color $duration-fast-02 motion(entrance, productive);
84
86
 
85
87
  &:hover {
@@ -381,7 +383,8 @@
381
383
  .#{$prefix}--batch-actions--active ~ .#{$prefix}--toolbar-content {
382
384
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
383
385
  transform: translate3d(0, 48px, 0);
384
- transition: transform $duration-fast-02 motion(standard, productive),
386
+ transition:
387
+ transform $duration-fast-02 motion(standard, productive),
385
388
  clip-path $duration-fast-02 motion(standard, productive);
386
389
  }
387
390
 
@@ -400,7 +403,8 @@
400
403
  opacity: 0;
401
404
  pointer-events: none;
402
405
  transform: translate3d(0, 48px, 0);
403
- transition: transform $duration-fast-02 motion(standard, productive),
406
+ transition:
407
+ transform $duration-fast-02 motion(standard, productive),
404
408
  clip-path $duration-fast-02 motion(standard, productive),
405
409
  opacity $duration-fast-02 motion(standard, productive);
406
410
  will-change: transform;
@@ -50,7 +50,8 @@
50
50
  border: 0;
51
51
  background-color: $layer-hover;
52
52
  padding-block: 0;
53
- transition: padding $duration-moderate-01 motion(standard, productive),
53
+ transition:
54
+ padding $duration-moderate-01 motion(standard, productive),
54
55
  background-color $duration-fast-01 motion(standard, productive);
55
56
  }
56
57
 
@@ -64,15 +65,16 @@
64
65
 
65
66
  //child row visible
66
67
  tr.#{$prefix}--parent-row.#{$prefix}--expandable-row + tr[data-child-row] {
67
- transition: height $duration-moderate-01 motion(standard, productive),
68
+ transition:
69
+ height $duration-moderate-01 motion(standard, productive),
68
70
  background-color $duration-fast-01 motion(standard, productive);
69
71
  }
70
72
 
71
73
  tr.#{$prefix}--parent-row.#{$prefix}--expandable-row + tr[data-child-row] td {
72
74
  border-block-end: 1px solid $border-subtle;
73
75
  padding-inline-start: 3.5rem;
74
- transition: padding-bottom $duration-moderate-01
75
- motion(standard, productive),
76
+ transition:
77
+ padding-bottom $duration-moderate-01 motion(standard, productive),
76
78
  transform $duration-moderate-01 motion(standard, productive);
77
79
  }
78
80
 
@@ -128,7 +130,8 @@
128
130
  tr.#{$prefix}--parent-row:not(.#{$prefix}--expandable-row) td,
129
131
  tr.#{$prefix}--parent-row.#{$prefix}--expandable-row td,
130
132
  tr.#{$prefix}--parent-row.#{$prefix}--expandable-row {
131
- transition: height $duration-moderate-01 motion(standard, productive),
133
+ transition:
134
+ height $duration-moderate-01 motion(standard, productive),
132
135
  background-color $duration-fast-01 motion(standard, productive),
133
136
  border-color $duration-fast-01 motion(standard, productive);
134
137
  }
@@ -189,7 +192,15 @@
189
192
  // Expand icon column
190
193
  //----------------------------------------------------------------------------
191
194
  .#{$prefix}--data-table td.#{$prefix}--table-expand {
192
- border-block-end: 1px solid $border-subtle;
195
+ border-block-end: 1px solid $border-subtle-01;
196
+ }
197
+
198
+ .#{$prefix}--layer-two .#{$prefix}--data-table td.#{$prefix}--table-expand {
199
+ border-block-end: 1px solid $border-subtle-02;
200
+ }
201
+
202
+ .#{$prefix}--layer-three .#{$prefix}--data-table td.#{$prefix}--table-expand {
203
+ border-block-end: 1px solid $border-subtle-03;
193
204
  }
194
205
 
195
206
  .#{$prefix}--data-table
@@ -344,7 +355,8 @@
344
355
  tr.#{$prefix}--parent-row.#{$prefix}--expandable-row
345
356
  + tr[data-child-row]
346
357
  td {
347
- transition: transform $duration-moderate-01 motion(standard, productive),
358
+ transition:
359
+ transform $duration-moderate-01 motion(standard, productive),
348
360
  border-bottom $duration-fast-01 motion(standard, productive),
349
361
  border-top $duration-fast-01 motion(standard, productive);
350
362
  }
@@ -51,7 +51,8 @@
51
51
  min-block-size: 100%;
52
52
  padding-inline-start: $spacing-05;
53
53
  text-align: start;
54
- transition: background-color $duration-fast-01 motion(entrance, productive),
54
+ transition:
55
+ background-color $duration-fast-01 motion(entrance, productive),
55
56
  outline $duration-fast-01 motion(entrance, productive);
56
57
  }
57
58
 
@@ -406,7 +406,8 @@
406
406
  }
407
407
 
408
408
  .flatpickr-calendar.animate .dayContainer.slideLeft {
409
- animation: fp-fade-out 400ms cubic-bezier(0.23, 1, 0.32, 1),
409
+ animation:
410
+ fp-fade-out 400ms cubic-bezier(0.23, 1, 0.32, 1),
410
411
  fp-slide-left 400ms cubic-bezier(0.23, 1, 0.32, 1);
411
412
  }
412
413
 
@@ -416,18 +417,21 @@
416
417
  }
417
418
 
418
419
  .flatpickr-calendar.animate .dayContainer.slideLeftNew {
419
- animation: fp-fade-in 400ms cubic-bezier(0.23, 1, 0.32, 1),
420
+ animation:
421
+ fp-fade-in 400ms cubic-bezier(0.23, 1, 0.32, 1),
420
422
  fp-slide-left 400ms cubic-bezier(0.23, 1, 0.32, 1);
421
423
  }
422
424
 
423
425
  .flatpickr-calendar.animate .dayContainer.slideRight {
424
- animation: fp-fade-out 400ms cubic-bezier(0.23, 1, 0.32, 1),
426
+ animation:
427
+ fp-fade-out 400ms cubic-bezier(0.23, 1, 0.32, 1),
425
428
  fp-slide-right 400ms cubic-bezier(0.23, 1, 0.32, 1);
426
429
  transform: translate3d(100%, 0, 0);
427
430
  }
428
431
 
429
432
  .flatpickr-calendar.animate .dayContainer.slideRightNew {
430
- animation: fp-fade-in 400ms cubic-bezier(0.23, 1, 0.32, 1),
433
+ animation:
434
+ fp-fade-in 400ms cubic-bezier(0.23, 1, 0.32, 1),
431
435
  fp-slide-right-new 400ms cubic-bezier(0.23, 1, 0.32, 1);
432
436
  }
433
437
 
@@ -39,7 +39,8 @@
39
39
  /** opening and closing is used in as allow-discrete is not currently supported wide enough
40
40
  * https://caniuse.com/mdn-css_properties_display_is_transitionable
41
41
  */
42
- transition: opacity $duration-moderate-02 motion(exit, expressive),
42
+ transition:
43
+ opacity $duration-moderate-02 motion(exit, expressive),
43
44
  transform $duration-moderate-02 motion(exit, expressive),
44
45
  overlay $duration-moderate-02 motion(exit, expressive) allow-discrete,
45
46
  display $duration-moderate-02 motion(exit, expressive) allow-discrete;
@@ -65,7 +66,8 @@
65
66
  opacity: 1;
66
67
  transform: translateY(0);
67
68
 
68
- transition: opacity $duration-moderate-02 motion(entrance, expressive),
69
+ transition:
70
+ opacity $duration-moderate-02 motion(entrance, expressive),
69
71
  transform $duration-moderate-02 motion(entrance, expressive),
70
72
  overlay $duration-moderate-02 motion(entrance, expressive)
71
73
  allow-discrete,
@@ -115,8 +117,8 @@
115
117
  /* opening and closing is used in as allow-discrete is not currently supported wide enough
116
118
  * https://caniuse.com/mdn-css_properties_display_is_transitionable
117
119
  */
118
- transition: background-color $duration-moderate-02
119
- motion(entrance, expressive),
120
+ transition:
121
+ background-color $duration-moderate-02 motion(entrance, expressive),
120
122
  opacity $duration-moderate-02 motion(entrance, expressive);
121
123
 
122
124
  @media (prefers-reduced-motion) {
@@ -127,7 +129,8 @@
127
129
  .#{$prefix}--dialog[open]::backdrop {
128
130
  opacity: 1;
129
131
 
130
- transition: background-color $duration-moderate-02 motion(exit, expressive),
132
+ transition:
133
+ background-color $duration-moderate-02 motion(exit, expressive),
131
134
  opacity $duration-moderate-02 motion(exit, expressive);
132
135
 
133
136
  @media (prefers-reduced-motion) {
@@ -215,7 +215,8 @@
215
215
  .#{$prefix}--dropdown-item {
216
216
  position: relative;
217
217
  opacity: 0;
218
- transition: visibility $duration-fast-01 motion(standard, productive),
218
+ transition:
219
+ visibility $duration-fast-01 motion(standard, productive),
219
220
  opacity $duration-fast-01 motion(standard, productive),
220
221
  background-color $duration-fast-01 motion(standard, productive);
221
222
  visibility: inherit;
@@ -27,7 +27,8 @@
27
27
  position: relative;
28
28
  block-size: 100%;
29
29
  inline-size: 100%;
30
- transition: background-color $duration-fast-01 motion(standard, productive),
30
+ transition:
31
+ background-color $duration-fast-01 motion(standard, productive),
31
32
  outline $duration-fast-01 motion(standard, productive);
32
33
  }
33
34
 
@@ -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
 
@@ -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
  }
@@ -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 {
@@ -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 {
@@ -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;
@@ -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 {
@@ -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
 
@@ -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
 
@@ -104,11 +104,10 @@ $popover-caret-height: custom-property.get-var(
104
104
  }
105
105
 
106
106
  // Drop shadow modifier
107
- .#{$prefix}--popover--drop-shadow .#{$prefix}--popover {
108
- @include custom-property.declaration(
109
- 'popover-drop-shadow',
110
- drop-shadow(0 2px 2px rgba(0, 0, 0, 0.2))
111
- );
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));
112
111
  }
113
112
 
114
113
  // Caret tip modifier
@@ -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 {
@@ -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
  }