@carbon/styles 0.14.0 → 0.15.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 (55) hide show
  1. package/package.json +8 -8
  2. package/scss/_motion.scss +7 -36
  3. package/scss/_reset.scss +1 -1
  4. package/scss/components/accordion/_accordion.scss +4 -2
  5. package/scss/components/aspect-ratio/_aspect-ratio.scss +5 -4
  6. package/scss/components/breadcrumb/_breadcrumb.scss +1 -1
  7. package/scss/components/button/_tokens.scss +2 -2
  8. package/scss/components/checkbox/_checkbox.scss +1 -1
  9. package/scss/components/code-snippet/_code-snippet.scss +3 -3
  10. package/scss/components/content-switcher/_content-switcher.scss +5 -1
  11. package/scss/components/copy-button/_copy-button.scss +1 -1
  12. package/scss/components/data-table/_data-table.scss +4 -4
  13. package/scss/components/data-table/action/_data-table-action.scss +3 -3
  14. package/scss/components/data-table/sort/_data-table-sort.scss +1 -1
  15. package/scss/components/date-picker/_flatpickr.scss +27 -20
  16. package/scss/components/dropdown/_dropdown.scss +3 -3
  17. package/scss/components/file-uploader/_file-uploader.scss +4 -4
  18. package/scss/components/form/_form.scss +2 -2
  19. package/scss/components/link/_link.scss +3 -3
  20. package/scss/components/list/_list.scss +2 -2
  21. package/scss/components/list-box/_list-box.scss +3 -3
  22. package/scss/components/loading/_loading.scss +3 -0
  23. package/scss/components/menu/_menu.scss +1 -1
  24. package/scss/components/modal/_modal.scss +3 -3
  25. package/scss/components/notification/_actionable-notification.scss +2 -2
  26. package/scss/components/notification/_inline-notification.scss +3 -3
  27. package/scss/components/notification/_toast-notification.scss +5 -5
  28. package/scss/components/number-input/_number-input.scss +29 -18
  29. package/scss/components/overflow-menu/_overflow-menu.scss +4 -1
  30. package/scss/components/pagination/_index.scss +3 -0
  31. package/scss/components/pagination/_pagination.scss +1 -0
  32. package/scss/components/pagination/_unstable_pagination.scss +173 -0
  33. package/scss/components/pagination-nav/_pagination-nav.scss +2 -2
  34. package/scss/components/popover/_popover.scss +27 -12
  35. package/scss/components/progress-bar/_progress-bar.scss +9 -1
  36. package/scss/components/progress-indicator/_progress-indicator.scss +12 -14
  37. package/scss/components/search/_search.scss +14 -17
  38. package/scss/components/select/_select.scss +8 -2
  39. package/scss/components/slider/_slider.scss +6 -4
  40. package/scss/components/structured-list/_structured-list.scss +2 -3
  41. package/scss/components/tabs/_tabs.scss +3 -3
  42. package/scss/components/tag/_tag.scss +1 -0
  43. package/scss/components/text-area/_text-area.scss +2 -2
  44. package/scss/components/text-input/_text-input.scss +1 -1
  45. package/scss/components/tile/_tile.scss +2 -2
  46. package/scss/components/toggle/_toggle.scss +3 -3
  47. package/scss/components/toggletip/_toggletip.scss +1 -1
  48. package/scss/components/tooltip/_tooltip.scss +3 -3
  49. package/scss/components/treeview/_treeview.scss +1 -1
  50. package/scss/components/ui-shell/header/_header.scss +3 -3
  51. package/scss/components/ui-shell/side-nav/_side-nav.scss +7 -6
  52. package/scss/components/ui-shell/switcher/_switcher.scss +1 -1
  53. package/scss/fonts/_src.scss +1 -1
  54. package/scss/utilities/_keyframes.scss +10 -0
  55. package/scss/utilities/_tooltip.scss +3 -1
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": "0.14.0",
4
+ "version": "0.15.0-rc.0",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
7
7
  "type": "git",
@@ -20,18 +20,18 @@
20
20
  "access": "public"
21
21
  },
22
22
  "dependencies": {
23
- "@carbon/colors": "^10.36.0",
23
+ "@carbon/colors": "^10.37.0-rc.0",
24
24
  "@carbon/feature-flags": "^0.7.0",
25
- "@carbon/grid": "^10.41.0",
26
- "@carbon/layout": "^10.36.0",
27
- "@carbon/motion": "^10.28.0",
28
- "@carbon/themes": "^10.51.0",
29
- "@carbon/type": "^10.41.0",
25
+ "@carbon/grid": "^10.42.0-rc.0",
26
+ "@carbon/layout": "^10.37.0-rc.0",
27
+ "@carbon/motion": "^10.29.0-rc.0",
28
+ "@carbon/themes": "^10.52.0-rc.0",
29
+ "@carbon/type": "^10.42.0-rc.0",
30
30
  "@ibm/plex": "6.0.0-next.6"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@carbon/test-utils": "^10.21.0",
34
34
  "css": "^3.0.0"
35
35
  },
36
- "gitHead": "6a49764a3df2cc3e3b8fce6575f4853d1400e183"
36
+ "gitHead": "e41618f5aaa9a10ce93edd844f1a280dc29eaf50"
37
37
  }
package/scss/_motion.scss CHANGED
@@ -6,62 +6,33 @@
6
6
  //
7
7
 
8
8
  @forward '@carbon/motion';
9
- @use '@carbon/motion';
10
9
 
11
10
  /// Used primarily for removing elements from the screen
12
11
  /// @type Function
13
12
  /// @access public
14
- /// @group global-motion
13
+ /// @group motion
15
14
  $ease-in: cubic-bezier(0.25, 0, 1, 1);
16
15
 
17
16
  /// Used for adding elements to the screen or changing on-screen states at a user's input
18
17
  /// @type Function
19
18
  /// @access public
20
- /// @group global-motion
19
+ /// @group motion
21
20
  $ease-out: cubic-bezier(0, 0, 0.25, 1);
22
21
 
23
22
  /// Used for the majority of animations
24
23
  /// @type Function
25
24
  /// @access public
26
- /// @group global-motion
25
+ /// @group motion
27
26
  $standard-easing: cubic-bezier(0.5, 0, 0.1, 1);
28
27
 
29
28
  /// Base transition duration
30
29
  /// @type Number
31
30
  /// @access public
32
- /// @group global-motion
33
- $transition--base: 250ms;
31
+ /// @group motion
32
+ $transition-base: 250ms;
34
33
 
35
34
  /// Expansion duration
36
35
  /// @type Number
37
36
  /// @access public
38
- /// @group global-motion
39
- $transition--expansion: 300ms;
40
-
41
- /// Default ease-in for components
42
- /// @access public
43
- /// @type Function
44
- /// @group global-motion
45
- $ease-in: cubic-bezier(0, 0, 0.38, 0.9);
46
-
47
- /// Default ease-out for components
48
- /// @access public
49
- /// @type Function
50
- /// @group global-motion
51
- $ease-out: cubic-bezier(0.2, 0, 1, 0.9);
52
-
53
- /// Default easing for components
54
- /// @access public
55
- /// @type Function
56
- /// @group global-motion
57
- $standard-easing: cubic-bezier(0.2, 0, 0.38, 0.9);
58
-
59
- /// @access public
60
- /// @group global-motion
61
- /// @alias duration--fast-02
62
- $transition--base: motion.$duration-fast-02;
63
-
64
- /// @access public
65
- /// @group global-motion
66
- /// @alias duration--moderate-02
67
- $transition--expansion: motion.$duration-moderate-02;
37
+ /// @group motion
38
+ $transition-expansion: 300ms;
package/scss/_reset.scss CHANGED
@@ -144,8 +144,8 @@
144
144
  border-collapse: collapse;
145
145
  border-spacing: 0;
146
146
  }
147
- /// End vendor reset
148
147
 
148
+ /// End vendor reset
149
149
  html {
150
150
  box-sizing: border-box;
151
151
  }
@@ -151,7 +151,7 @@ $content-padding: 0 0 0 $spacing-05 !default;
151
151
  }
152
152
 
153
153
  .#{$prefix}--accordion__title {
154
- @include type-style('body-long-01');
154
+ @include type-style('body-01');
155
155
 
156
156
  z-index: 1;
157
157
  width: 100%;
@@ -176,7 +176,7 @@ $content-padding: 0 0 0 $spacing-05 !default;
176
176
  }
177
177
 
178
178
  > p {
179
- @include type-style('body-long-01');
179
+ @include type-style('body-01');
180
180
  }
181
181
  }
182
182
 
@@ -207,6 +207,7 @@ $content-padding: 0 0 0 $spacing-05 !default;
207
207
  0% {
208
208
  @include -content-visible;
209
209
  }
210
+
210
211
  100% {
211
212
  @include -content-hidden;
212
213
  }
@@ -216,6 +217,7 @@ $content-padding: 0 0 0 $spacing-05 !default;
216
217
  0% {
217
218
  @include -content-hidden;
218
219
  }
220
+
219
221
  100% {
220
222
  @include -content-visible;
221
223
  }
@@ -5,6 +5,7 @@
5
5
  // LICENSE file in the root directory of this source tree.
6
6
  //
7
7
 
8
+ @use 'sass:list';
8
9
  @use 'sass:math';
9
10
  @use 'sass:meta';
10
11
  @use '../../config' as *;
@@ -58,14 +59,14 @@ $carbon--aspect-ratios: (
58
59
  }
59
60
 
60
61
  @each $aspect-ratio in $aspect-ratios {
61
- $width: nth($aspect-ratio, 1);
62
- $height: nth($aspect-ratio, 2);
62
+ $width: list.nth($aspect-ratio, 1);
63
+ $height: list.nth($aspect-ratio, 2);
63
64
 
64
65
  .#{$prefix}--aspect-ratio--#{$width}x#{$height}::before {
65
66
  @if meta.function-exists('div', 'math') {
66
- padding-top: percentage(math.div($height, $width));
67
+ padding-top: math.percentage(math.div($height, $width));
67
68
  } @else {
68
- padding-top: percentage(($height / $width));
69
+ padding-top: math.percentage(($height / $width));
69
70
  }
70
71
  }
71
72
  }
@@ -17,7 +17,7 @@
17
17
  @mixin breadcrumb {
18
18
  .#{$prefix}--breadcrumb {
19
19
  @include reset;
20
- @include type-style('body-short-01');
20
+ @include type-style('body-compact-01');
21
21
 
22
22
  display: inline;
23
23
 
@@ -330,11 +330,11 @@ $button-disabled: (
330
330
  ),
331
331
  (
332
332
  theme: themes.$g90,
333
- value: rgba(141, 141, 141, 0.3),
333
+ value: rgb(141 141 141 / 30%),
334
334
  ),
335
335
  (
336
336
  theme: themes.$g100,
337
- value: rgba(141, 141, 141, 0.3),
337
+ value: rgb(141 141 141 / 30%),
338
338
  ),
339
339
  ),
340
340
  ) !default;
@@ -51,7 +51,7 @@
51
51
  // accommodate the spacing needed for the checkbox.
52
52
  .#{$prefix}--checkbox-label {
53
53
  @include reset;
54
- @include type-style('body-short-01');
54
+ @include type-style('body-compact-01');
55
55
 
56
56
  position: relative;
57
57
  display: flex;
@@ -298,7 +298,7 @@ $copy-btn-feedback: $background-inverse !default;
298
298
  }
299
299
 
300
300
  .#{$prefix}--btn--copy__feedback {
301
- @include type-style('body-short-01');
301
+ @include type-style('body-compact-01');
302
302
  @include font-family('sans');
303
303
 
304
304
  z-index: z('overlay');
@@ -328,7 +328,7 @@ $copy-btn-feedback: $background-inverse !default;
328
328
 
329
329
  // Show more / less button
330
330
  .#{$prefix}--snippet-btn--expand {
331
- @include type-style('body-short-01');
331
+ @include type-style('body-compact-01');
332
332
  @include font-family('sans');
333
333
 
334
334
  position: absolute;
@@ -379,7 +379,7 @@ $copy-btn-feedback: $background-inverse !default;
379
379
  .#{$prefix}--snippet-btn--expand
380
380
  .#{$prefix}--icon-chevron--down {
381
381
  transform: rotate(180deg);
382
- transition: transform $transition--expansion;
382
+ transition: transform $transition-expansion;
383
383
  }
384
384
 
385
385
  // Light version
@@ -36,7 +36,7 @@
36
36
  @include reset;
37
37
  @include font-family('sans');
38
38
  @include focus-outline('reset');
39
- @include type-style('body-short-01');
39
+ @include type-style('body-compact-01');
40
40
 
41
41
  position: relative;
42
42
  display: inline-flex;
@@ -67,6 +67,10 @@
67
67
  transform: scaleY(0);
68
68
  transform-origin: bottom;
69
69
  transition: all $duration-moderate-01 motion(standard, productive);
70
+
71
+ @media (prefers-reduced-motion: reduce) {
72
+ transition: none;
73
+ }
70
74
  }
71
75
 
72
76
  &:disabled::after {
@@ -35,7 +35,7 @@
35
35
 
36
36
  &::before {
37
37
  @include box-shadow;
38
- @include type-style('body-short-01');
38
+ @include type-style('body-compact-01');
39
39
 
40
40
  z-index: 2;
41
41
  top: 1.1rem;
@@ -43,13 +43,13 @@
43
43
  }
44
44
 
45
45
  .#{$prefix}--data-table-header__title {
46
- @include type-style('productive-heading-03');
46
+ @include type-style('heading-03');
47
47
 
48
48
  color: $text-primary;
49
49
  }
50
50
 
51
51
  .#{$prefix}--data-table-header__description {
52
- @include type-style('body-short-01');
52
+ @include type-style('body-compact-01');
53
53
 
54
54
  color: $text-secondary;
55
55
  }
@@ -64,13 +64,13 @@
64
64
  }
65
65
 
66
66
  .#{$prefix}--data-table thead {
67
- @include type-style('productive-heading-01');
67
+ @include type-style('heading-compact-01');
68
68
 
69
69
  background-color: $layer-accent;
70
70
  }
71
71
 
72
72
  .#{$prefix}--data-table tbody {
73
- @include type-style('body-short-01');
73
+ @include type-style('body-compact-01');
74
74
 
75
75
  width: 100%;
76
76
  background-color: $layer;
@@ -77,7 +77,7 @@
77
77
  height: $spacing-09;
78
78
  box-shadow: none;
79
79
  cursor: pointer;
80
- transition: width $transition--expansion $standard-easing,
80
+ transition: width $transition-expansion $standard-easing,
81
81
  background-color $duration-fast-02 motion(entrance, productive);
82
82
 
83
83
  &:hover {
@@ -476,7 +476,7 @@
476
476
 
477
477
  .#{$prefix}--btn--primary.#{$prefix}--batch-summary__cancel:hover::before {
478
478
  opacity: 0;
479
- transition: opacity $transition--base $standard-easing;
479
+ transition: opacity $transition-base $standard-easing;
480
480
  }
481
481
 
482
482
  // cancel btn
@@ -496,7 +496,7 @@
496
496
  }
497
497
 
498
498
  .#{$prefix}--batch-summary__para {
499
- @include type-style('body-short-01');
499
+ @include type-style('body-compact-01');
500
500
  }
501
501
 
502
502
  //-------------------------------------------------
@@ -181,7 +181,7 @@
181
181
  fill: $icon-primary;
182
182
  opacity: 1;
183
183
  transform: rotate(0);
184
- transition: transform $transition--base $standard-easing;
184
+ transition: transform $transition-base $standard-easing;
185
185
  }
186
186
 
187
187
  //----------------------------------------------------------------------------
@@ -16,66 +16,73 @@
16
16
 
17
17
  @use '../button/tokens' as *;
18
18
 
19
- @keyframes fpFadeInDown {
19
+ @keyframes fp-fade-in-down {
20
20
  from {
21
21
  opacity: 0;
22
22
  transform: translate3d(0, -20px, 0);
23
23
  }
24
+
24
25
  to {
25
26
  opacity: 1;
26
27
  transform: translate3d(0, 0, 0);
27
28
  }
28
29
  }
29
30
 
30
- @keyframes fpSlideLeft {
31
+ @keyframes fp-slide-left {
31
32
  from {
32
33
  transform: translate3d(0, 0, 0);
33
34
  }
35
+
34
36
  to {
35
37
  transform: translate3d(-100%, 0, 0);
36
38
  }
37
39
  }
38
40
 
39
- @keyframes fpSlideLeftNew {
41
+ @keyframes fp-slide-left-new {
40
42
  from {
41
43
  transform: translate3d(100%, 0, 0);
42
44
  }
45
+
43
46
  to {
44
47
  transform: translate3d(0, 0, 0);
45
48
  }
46
49
  }
47
50
 
48
- @keyframes fpSlideRight {
51
+ @keyframes fp-slide-right {
49
52
  from {
50
53
  transform: translate3d(0, 0, 0);
51
54
  }
55
+
52
56
  to {
53
57
  transform: translate3d(100%, 0, 0);
54
58
  }
55
59
  }
56
60
 
57
- @keyframes fpSlideRightNew {
61
+ @keyframes fp-slide-right-new {
58
62
  from {
59
63
  transform: translate3d(-100%, 0, 0);
60
64
  }
65
+
61
66
  to {
62
67
  transform: translate3d(0, 0, 0);
63
68
  }
64
69
  }
65
70
 
66
- @keyframes fpFadeOut {
71
+ @keyframes fp-fade-out {
67
72
  from {
68
73
  opacity: 1;
69
74
  }
75
+
70
76
  to {
71
77
  opacity: 0;
72
78
  }
73
79
  }
74
80
 
75
- @keyframes fpFadeIn {
81
+ @keyframes fp-fade-in {
76
82
  from {
77
83
  opacity: 0;
78
84
  }
85
+
79
86
  to {
80
87
  opacity: 1;
81
88
  }
@@ -130,7 +137,7 @@
130
137
  }
131
138
 
132
139
  .flatpickr-calendar.animate.open {
133
- animation: fpFadeInDown $duration-fast-02 motion(entrance, productive);
140
+ animation: fp-fade-in-down $duration-fast-02 motion(entrance, productive);
134
141
  }
135
142
 
136
143
  .flatpickr-calendar.inline {
@@ -193,7 +200,7 @@
193
200
  }
194
201
 
195
202
  .flatpickr-month {
196
- @include type-style('productive-heading-01');
203
+ @include type-style('heading-compact-01');
197
204
 
198
205
  display: flex;
199
206
  height: rem(40px);
@@ -240,7 +247,7 @@
240
247
  }
241
248
 
242
249
  .flatpickr-current-month {
243
- @include type-style('productive-heading-01');
250
+ @include type-style('heading-compact-01');
244
251
 
245
252
  display: flex;
246
253
  height: rem(28px);
@@ -380,7 +387,7 @@
380
387
  }
381
388
 
382
389
  .flatpickr-weekday {
383
- @include type-style('body-short-01');
390
+ @include type-style('body-compact-01');
384
391
 
385
392
  flex: 1;
386
393
  color: $text-primary;
@@ -392,8 +399,8 @@
392
399
  }
393
400
 
394
401
  .flatpickr-calendar.animate .dayContainer.slideLeft {
395
- animation: fpFadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1),
396
- fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1);
402
+ animation: fp-fade-out 400ms cubic-bezier(0.23, 1, 0.32, 1),
403
+ fp-slide-left 400ms cubic-bezier(0.23, 1, 0.32, 1);
397
404
  }
398
405
 
399
406
  .flatpickr-calendar.animate .dayContainer.slideLeft,
@@ -402,23 +409,23 @@
402
409
  }
403
410
 
404
411
  .flatpickr-calendar.animate .dayContainer.slideLeftNew {
405
- animation: fpFadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1),
406
- fpSlideLeft 400ms cubic-bezier(0.23, 1, 0.32, 1);
412
+ animation: fp-fade-in 400ms cubic-bezier(0.23, 1, 0.32, 1),
413
+ fp-slide-left 400ms cubic-bezier(0.23, 1, 0.32, 1);
407
414
  }
408
415
 
409
416
  .flatpickr-calendar.animate .dayContainer.slideRight {
410
- animation: fpFadeOut 400ms cubic-bezier(0.23, 1, 0.32, 1),
411
- fpSlideRight 400ms cubic-bezier(0.23, 1, 0.32, 1);
417
+ animation: fp-fade-out 400ms cubic-bezier(0.23, 1, 0.32, 1),
418
+ fp-slide-right 400ms cubic-bezier(0.23, 1, 0.32, 1);
412
419
  transform: translate3d(100%, 0, 0);
413
420
  }
414
421
 
415
422
  .flatpickr-calendar.animate .dayContainer.slideRightNew {
416
- animation: fpFadeIn 400ms cubic-bezier(0.23, 1, 0.32, 1),
417
- fpSlideRightNew 400ms cubic-bezier(0.23, 1, 0.32, 1);
423
+ animation: fp-fade-in 400ms cubic-bezier(0.23, 1, 0.32, 1),
424
+ fp-slide-right-new 400ms cubic-bezier(0.23, 1, 0.32, 1);
418
425
  }
419
426
 
420
427
  .flatpickr-day {
421
- @include type-style('body-short-01');
428
+ @include type-style('body-compact-01');
422
429
 
423
430
  display: flex;
424
431
  width: rem(40px);
@@ -29,7 +29,7 @@
29
29
  grid-template: auto auto / auto min-content;
30
30
 
31
31
  .#{$prefix}--label {
32
- @include type-style('body-short-01');
32
+ @include type-style('body-compact-01');
33
33
  }
34
34
 
35
35
  .#{$prefix}--label,
@@ -167,7 +167,7 @@
167
167
  }
168
168
 
169
169
  .#{$prefix}--dropdown-text {
170
- @include type-style('body-short-01');
170
+ @include type-style('body-compact-01');
171
171
 
172
172
  display: block;
173
173
  overflow: hidden;
@@ -184,7 +184,7 @@
184
184
  @include reset;
185
185
  @include focus-outline('reset');
186
186
  @include box-shadow;
187
- @include type-style('body-short-01');
187
+ @include type-style('body-compact-01');
188
188
 
189
189
  position: absolute;
190
190
  z-index: z('dropdown');
@@ -35,7 +35,7 @@
35
35
  // TODO: sync with type
36
36
  .#{$prefix}--file--label {
37
37
  @include reset;
38
- @include type-style('productive-heading-01');
38
+ @include type-style('heading-compact-01');
39
39
 
40
40
  margin-bottom: $spacing-03;
41
41
  color: $text-primary;
@@ -108,7 +108,7 @@
108
108
 
109
109
  .#{$prefix}--label-description {
110
110
  @include reset;
111
- @include type-style('body-short-01');
111
+ @include type-style('body-compact-01');
112
112
 
113
113
  margin-bottom: $spacing-05;
114
114
  color: $text-secondary;
@@ -161,7 +161,7 @@
161
161
  }
162
162
 
163
163
  .#{$prefix}--file-filename {
164
- @include type-style('body-short-01');
164
+ @include type-style('body-compact-01');
165
165
 
166
166
  overflow: hidden;
167
167
  margin-left: $spacing-05;
@@ -247,7 +247,7 @@
247
247
 
248
248
  // TODO: deprecate
249
249
  .#{$prefix}--file__selected-file--invalid + .#{$prefix}--form-requirement {
250
- @include type-style('caption-01');
250
+ @include type-style('label-01');
251
251
 
252
252
  display: block;
253
253
  overflow: visible;
@@ -34,7 +34,7 @@ $input-label-weight: 400 !default;
34
34
  }
35
35
 
36
36
  .#{$prefix}--form-item {
37
- @include type-style('body-short-01');
37
+ @include type-style('body-compact-01');
38
38
 
39
39
  display: flex;
40
40
  // We specify `auto` as the default value so that the form item does
@@ -161,7 +161,7 @@ $input-label-weight: 400 !default;
161
161
 
162
162
  .#{$prefix}--form-requirement {
163
163
  @include reset;
164
- @include type-style('caption-01');
164
+ @include type-style('label-01');
165
165
 
166
166
  display: none;
167
167
  overflow: hidden;
@@ -30,7 +30,7 @@ $link-focus-text-color: custom-property.get-var(
30
30
  @mixin link {
31
31
  .#{$prefix}--link {
32
32
  @include component-reset.reset;
33
- @include type.type-style('body-short-01');
33
+ @include type.type-style('body-compact-01');
34
34
 
35
35
  display: inline-flex;
36
36
  color: $link-text-color;
@@ -68,7 +68,7 @@ $link-focus-text-color: custom-property.get-var(
68
68
  .#{$prefix}--link--disabled,
69
69
  .#{$prefix}--link--disabled:hover {
70
70
  @include component-reset.reset;
71
- @include type.type-style('body-short-01');
71
+ @include type.type-style('body-compact-01');
72
72
 
73
73
  color: $text-disabled;
74
74
  cursor: not-allowed;
@@ -102,7 +102,7 @@ $link-focus-text-color: custom-property.get-var(
102
102
  }
103
103
 
104
104
  .#{$prefix}--link--lg {
105
- @include type.type-style('body-short-02');
105
+ @include type.type-style('body-compact-02');
106
106
  }
107
107
 
108
108
  .#{$prefix}--link__icon {
@@ -25,14 +25,14 @@
25
25
  .#{$prefix}--list--ordered,
26
26
  .#{$prefix}--list--ordered--native {
27
27
  @include component-reset.reset;
28
- @include type.type-style('body-long-01');
28
+ @include type.type-style('body-01');
29
29
 
30
30
  list-style: none;
31
31
  }
32
32
 
33
33
  .#{$prefix}--list--expressive,
34
34
  .#{$prefix}--list--expressive .#{$prefix}--list--nested {
35
- @include type.type-style('body-long-02');
35
+ @include type.type-style('body-02');
36
36
  }
37
37
 
38
38
  .#{$prefix}--list--ordered--native {
@@ -55,7 +55,7 @@ $list-box-menu-width: rem(300px);
55
55
  grid-template: auto auto / auto auto;
56
56
 
57
57
  .#{$prefix}--label {
58
- @include type-style('body-short-01');
58
+ @include type-style('body-compact-01');
59
59
  }
60
60
 
61
61
  .#{$prefix}--label,
@@ -371,7 +371,7 @@ $list-box-menu-width: rem(300px);
371
371
 
372
372
  // Label for a `list-box__field`
373
373
  .#{$prefix}--list-box__label {
374
- @include type-style('body-short-01');
374
+ @include type-style('body-compact-01');
375
375
 
376
376
  overflow: hidden;
377
377
  color: $text-primary;
@@ -536,7 +536,7 @@ $list-box-menu-width: rem(300px);
536
536
 
537
537
  // Descendant of a `list-box__menu` that represents a selection for a control
538
538
  .#{$prefix}--list-box__menu-item {
539
- @include type-style('body-short-01');
539
+ @include type-style('body-compact-01');
540
540
 
541
541
  position: relative;
542
542
  height: rem(40px);
@@ -102,6 +102,7 @@
102
102
  0% {
103
103
  transform: rotate(0deg);
104
104
  }
105
+
105
106
  100% {
106
107
  transform: rotate(360deg);
107
108
  }
@@ -124,6 +125,7 @@
124
125
  0% {
125
126
  stroke-dashoffset: loading-progress($circumference, 0);
126
127
  }
128
+
127
129
  100% {
128
130
  stroke-dashoffset: loading-progress($circumference, 81);
129
131
  }
@@ -133,6 +135,7 @@
133
135
  0% {
134
136
  stroke-dashoffset: loading-progress($circumference, 81);
135
137
  }
138
+
136
139
  100% {
137
140
  stroke-dashoffset: loading-progress($circumference, 0);
138
141
  }