@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
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.67.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.27.0",
44
- "@carbon/feature-flags": "^0.23.0",
45
- "@carbon/grid": "^11.28.0",
46
- "@carbon/layout": "^11.27.0",
47
- "@carbon/motion": "^11.23.0",
48
- "@carbon/themes": "^11.42.0",
49
- "@carbon/type": "^11.32.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": "a4e466817cb1f68711d5691468dd12a6756c275e"
70
+ "gitHead": "3141442e5ef367667c8f1d379a1b4a23f67992ad"
71
71
  }
@@ -63,7 +63,7 @@ describe('zone', () => {
63
63
  ([token, value]) => {
64
64
  return rule.declarations.find((declaration) => {
65
65
  return (
66
- declaration.property.includes(token) &&
66
+ declaration?.property?.includes(token) &&
67
67
  declaration.value === value
68
68
  );
69
69
  });
package/scss/_reset.scss CHANGED
@@ -150,8 +150,6 @@
150
150
  blockquote::after,
151
151
  q::before,
152
152
  q::after {
153
- content: '';
154
- // stylelint-disable-next-line declaration-block-no-duplicate-properties
155
153
  content: none;
156
154
  }
157
155
 
package/scss/_zone.scss CHANGED
@@ -40,7 +40,7 @@ $-components: (
40
40
  color: custom-property.get-var('text-primary');
41
41
 
42
42
  @each $key, $value in $theme {
43
- @if type-of($value) == color {
43
+ @if meta.type-of($value) == color {
44
44
  @include custom-property.declaration($key, $value);
45
45
  }
46
46
  }
@@ -50,7 +50,7 @@ $content-padding: 0 0 0 $spacing-05 !default;
50
50
  @include layout.use('density', $default: 'normal');
51
51
 
52
52
  @include component-reset.reset;
53
- /* stylelint-disable-next-line scss/selector-no-redundant-nesting-selector, no-duplicate-selectors */
53
+
54
54
  & {
55
55
  inline-size: 100%;
56
56
  list-style: none;
@@ -86,7 +86,6 @@ $content-padding: 0 0 0 $spacing-05 !default;
86
86
  transition: background-color motion(standard, productive) $duration-fast-02;
87
87
  @include button-reset.reset;
88
88
 
89
- /* stylelint-disable-next-line scss/selector-no-redundant-nesting-selector, no-duplicate-selectors */
90
89
  & {
91
90
  position: relative;
92
91
  display: flex;
@@ -110,9 +109,12 @@ $content-padding: 0 0 0 $spacing-05 !default;
110
109
  position: relative;
111
110
  z-index: 2;
112
111
  box-shadow:
113
- /* Border top */ 0 -1px 0 0 $focus,
114
- inset 0 1px 0 0 $focus, /* Border right */ inset 2px 0 0 0 $focus,
115
- /* 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,
116
118
  /* Border left */ inset -2px 0 0 0 $focus;
117
119
  outline: none;
118
120
  }
@@ -150,7 +152,6 @@ $content-padding: 0 0 0 $spacing-05 !default;
150
152
 
151
153
  transition: all $duration-fast-02 motion(standard, productive);
152
154
 
153
- /* stylelint-disable-next-line scss/selector-no-redundant-nesting-selector, no-duplicate-selectors */
154
155
  & {
155
156
  flex: 0 0 1rem;
156
157
  block-size: 1rem;
@@ -165,7 +166,6 @@ $content-padding: 0 0 0 $spacing-05 !default;
165
166
  .#{$prefix}--accordion__title {
166
167
  @include type-style('body-01');
167
168
 
168
- /* stylelint-disable-next-line scss/selector-no-redundant-nesting-selector, no-duplicate-selectors */
169
169
  & {
170
170
  z-index: 1;
171
171
  inline-size: 100%;
@@ -176,11 +176,13 @@ $content-padding: 0 0 0 $spacing-05 !default;
176
176
 
177
177
  .#{$prefix}--accordion__wrapper {
178
178
  // Properties for when the accordion is closed
179
+ display: none;
179
180
  overflow: hidden;
180
181
  padding: 0;
181
182
  max-block-size: 0;
182
183
  opacity: 0;
183
- transition: all $duration-fast-02 motion(entrance, productive);
184
+ transition: all $duration-fast-02 motion(entrance, productive)
185
+ allow-discrete;
184
186
  writing-mode: horizontal-tb;
185
187
  }
186
188
 
@@ -231,6 +233,7 @@ $content-padding: 0 0 0 $spacing-05 !default;
231
233
 
232
234
  > .#{$prefix}--accordion__wrapper {
233
235
  // Properties for when the accordion is open
236
+ display: block;
234
237
  overflow: visible;
235
238
  max-block-size: fit-content;
236
239
  opacity: 1;
@@ -245,6 +248,21 @@ $content-padding: 0 0 0 $spacing-05 !default;
245
248
  }
246
249
  }
247
250
  }
251
+ /** starting style also not supported widely
252
+ * https://caniuse.com/mdn-css_at-rules_starting-style
253
+ */
254
+ /* Needs to be after the previous accordion__item--active rule
255
+ to take effect, as the specificity is the same */
256
+
257
+ @starting-style {
258
+ .#{$prefix}--accordion__item--active {
259
+ > .#{$prefix}--accordion__wrapper {
260
+ padding: 0;
261
+ max-block-size: 0;
262
+ opacity: 0;
263
+ }
264
+ }
265
+ }
248
266
 
249
267
  // flush
250
268
  .#{$prefix}--accordion--flush .#{$prefix}--accordion__item {
@@ -383,15 +401,3 @@ $content-padding: 0 0 0 $spacing-05 !default;
383
401
  padding-inline-start: 0;
384
402
  }
385
403
  }
386
-
387
- @mixin -content-visible {
388
- block-size: 100%;
389
- opacity: 1;
390
- visibility: inherit;
391
- }
392
-
393
- @mixin -content-hidden {
394
- block-size: 0;
395
- opacity: 0;
396
- visibility: hidden;
397
- }
@@ -163,6 +163,6 @@
163
163
  .#{$prefix}--breadcrumb
164
164
  .#{$prefix}--overflow-menu.#{$prefix}--btn--icon-only {
165
165
  min-block-size: 1.125rem;
166
- padding-inline: 0 0;
166
+ padding-inline: 0;
167
167
  }
168
168
  }
@@ -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
  );
@@ -413,7 +414,7 @@
413
414
  }
414
415
 
415
416
  // Windows HCM fix
416
- // stylelint-disable-next-line no-duplicate-selectors
417
+
417
418
  .#{$prefix}--btn--ghost.#{$prefix}--btn--icon-only
418
419
  .#{$prefix}--btn__icon
419
420
  path:not([data-icon-path]):not([fill='none']),
@@ -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
 
@@ -555,7 +555,7 @@ $copy-btn-feedback: $background-inverse !default;
555
555
  }
556
556
 
557
557
  // Windows HCM fix
558
- /* stylelint-disable */
558
+
559
559
  .#{$prefix}--snippet__icon {
560
560
  @include high-contrast-mode('icon-fill');
561
561
  }
@@ -568,5 +568,4 @@ $copy-btn-feedback: $background-inverse !default;
568
568
  .#{$prefix}--snippet--multi {
569
569
  @include high-contrast-mode('outline');
570
570
  }
571
- /* stylelint-enable */
572
571
  }
@@ -198,7 +198,7 @@
198
198
  block-size: 1px;
199
199
  content: '';
200
200
  inset-block-end: 0;
201
- inset-inline: 0 0;
201
+ inset-inline: 0;
202
202
  }
203
203
 
204
204
  .#{$prefix}--contained-list--inset-rulers
@@ -248,7 +248,7 @@
248
248
  display: flex;
249
249
  justify-content: flex-end;
250
250
  inset-block-start: 0;
251
- inset-inline: 0 0;
251
+ inset-inline: 0;
252
252
  pointer-events: none;
253
253
  }
254
254
 
@@ -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 {
@@ -231,7 +233,7 @@
231
233
  }
232
234
 
233
235
  // Windows HCM fix
234
- // stylelint-disable-next-line no-duplicate-selectors
236
+
235
237
  .#{$prefix}--content-switcher-btn:focus {
236
238
  @include high-contrast-mode('focus');
237
239
  }
@@ -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
@@ -319,7 +329,7 @@
319
329
  .#{$prefix}--data-table--xs td.#{$prefix}--table-column-menu,
320
330
  .#{$prefix}--data-table--sm td.#{$prefix}--table-column-menu {
321
331
  block-size: convert.to-rem(24px);
322
- padding-block: 0 0;
332
+ padding-block: 0;
323
333
  }
324
334
 
325
335
  .#{$prefix}--data-table--sm td.#{$prefix}--table-column-menu {
@@ -583,7 +593,7 @@
583
593
  .#{$prefix}--data-table--top-aligned-header
584
594
  )
585
595
  th.#{$prefix}--table-column-checkbox {
586
- padding-block: 0 0;
596
+ padding-block: 0;
587
597
  }
588
598
 
589
599
  .#{$prefix}--data-table.#{$prefix}--data-table--xs
@@ -827,7 +837,7 @@
827
837
  }
828
838
 
829
839
  //hides ff scrollbar
830
- @-moz-document url-prefix() {
840
+ @document url-prefix() {
831
841
  thead,
832
842
  tbody {
833
843
  scrollbar-width: none;
@@ -1076,7 +1086,7 @@
1076
1086
  td.#{$prefix}--table-cell--column-slug,
1077
1087
 
1078
1088
  // Windows HCM fix
1079
- // stylelint-disable-next-line no-duplicate-selectors
1089
+
1080
1090
  .#{$prefix}--data-table-content {
1081
1091
  @include high-contrast-mode('outline');
1082
1092
  }
@@ -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
 
@@ -396,11 +399,12 @@
396
399
  background-color: $background-brand;
397
400
  clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
398
401
  inset-block-end: 0;
399
- inset-inline: 0 0;
402
+ inset-inline: 0;
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;
@@ -646,7 +650,7 @@
646
650
  .#{$prefix}--table-toolbar--sm .#{$prefix}--btn--primary {
647
651
  block-size: convert.to-rem(32px);
648
652
  min-block-size: auto;
649
- padding-block: 0.375rem 0.375rem;
653
+ padding-block: 0.375rem;
650
654
  }
651
655
 
652
656
  .#{$prefix}--table-toolbar--sm
@@ -49,8 +49,9 @@
49
49
  td {
50
50
  border: 0;
51
51
  background-color: $layer-hover;
52
- padding-block: 0 0;
53
- transition: padding $duration-moderate-01 motion(standard, productive),
52
+ padding-block: 0;
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
  }
@@ -484,7 +496,6 @@
484
496
  @include high-contrast-mode('focus');
485
497
  }
486
498
 
487
- // stylelint-disable-next-line no-duplicate-selectors
488
499
  .#{$prefix}--table-expand__svg {
489
500
  @include high-contrast-mode('icon-fill');
490
501
  }
@@ -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
 
@@ -106,7 +107,7 @@
106
107
  th.#{$prefix}--table-sort__header
107
108
  .#{$prefix}--table-sort__flex
108
109
  .#{$prefix}--table-header-label {
109
- padding-block: 0 0;
110
+ padding-block: 0;
110
111
  }
111
112
 
112
113
  .#{$prefix}--data-table.#{$prefix}--data-table--top-aligned-header.#{$prefix}--data-table--sm
@@ -236,7 +236,7 @@
236
236
  }
237
237
 
238
238
  // Windows HCM fix
239
- // stylelint-disable-next-line no-duplicate-selectors
239
+
240
240
  .#{$prefix}--date-picker__icon {
241
241
  @include high-contrast-mode('icon-fill');
242
242
  }
@@ -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,
@@ -83,7 +85,7 @@
83
85
  /* Before-open state */
84
86
  /* Needs to be after the previous dialog[open] rule to take effect,
85
87
  as the specificity is the same */
86
- /* stylelint-disable-next-line scss/at-rule-no-unknown */
88
+
87
89
  @starting-style {
88
90
  &[open] {
89
91
  opacity: 0;
@@ -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) {
@@ -140,7 +143,7 @@
140
143
  */
141
144
  /* This starting-style rule cannot be nested inside the above selector
142
145
  because the nesting selector cannot represent pseudo-elements. */
143
- /* stylelint-disable-next-line scss/at-rule-no-unknown */
146
+
144
147
  @starting-style {
145
148
  .#{$prefix}--dialog[open]::backdrop {
146
149
  opacity: 0;
@@ -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;
@@ -461,7 +462,7 @@
461
462
  }
462
463
 
463
464
  // Windows HCM fix
464
- // stylelint-disable-next-line no-duplicate-selectors
465
+
465
466
  .#{$prefix}--dropdown .#{$prefix}--list-box__field {
466
467
  @include high-contrast-mode('outline');
467
468
  }
@@ -189,7 +189,7 @@
189
189
  .#{$prefix}--file-filename-tooltip {
190
190
  inline-size: -webkit-fill-available;
191
191
  padding-inline-start: $spacing-05;
192
- @-moz-document url-prefix() {
192
+ @document url-prefix() {
193
193
  inline-size: -moz-available;
194
194
  }
195
195
  }
@@ -197,7 +197,7 @@
197
197
 
198
198
  .#{$prefix}--file-filename-tooltip {
199
199
  inline-size: -webkit-fill-available;
200
- @-moz-document url-prefix() {
200
+ @document url-prefix() {
201
201
  inline-size: -moz-available;
202
202
  }
203
203
  }
@@ -217,7 +217,7 @@
217
217
  text-overflow: ellipsis;
218
218
  white-space: nowrap;
219
219
 
220
- @-moz-document url-prefix() {
220
+ @document url-prefix() {
221
221
  inline-size: -moz-available;
222
222
  }
223
223
  }
@@ -401,7 +401,7 @@
401
401
  }
402
402
 
403
403
  // Windows HCM fix
404
- /* stylelint-disable */
404
+
405
405
  .#{$prefix}--file__selected-file {
406
406
  @include high-contrast-mode('outline');
407
407
  }
@@ -409,5 +409,4 @@
409
409
  .#{$prefix}--file__state-container .#{$prefix}--file-close svg path {
410
410
  @include high-contrast-mode('icon-fill');
411
411
  }
412
- /* stylelint-enable */
413
412
  }
@@ -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