@carbon/styles 0.12.0 → 0.14.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 (38) hide show
  1. package/package.json +8 -8
  2. package/scss/_config.scss +6 -0
  3. package/scss/_grid.scss +3 -1
  4. package/scss/_type.scss +1 -0
  5. package/scss/components/_index.scss +2 -0
  6. package/scss/components/accordion/_accordion.scss +7 -3
  7. package/scss/components/aspect-ratio/_aspect-ratio.scss +72 -0
  8. package/scss/components/aspect-ratio/_index.scss +11 -0
  9. package/scss/components/button/_button.scss +4 -3
  10. package/scss/components/button/_mixins.scss +7 -3
  11. package/scss/components/button/_tokens.scss +16 -16
  12. package/scss/components/checkbox/_checkbox.scss +7 -0
  13. package/scss/components/code-snippet/_code-snippet.scss +2 -2
  14. package/scss/components/content-switcher/_content-switcher.scss +28 -1
  15. package/scss/components/data-table/action/_data-table-action.scss +99 -25
  16. package/scss/components/date-picker/_date-picker.scss +1 -1
  17. package/scss/components/date-picker/_flatpickr.scss +1 -0
  18. package/scss/components/dropdown/_dropdown.scss +0 -16
  19. package/scss/components/link/_link.scss +15 -2
  20. package/scss/components/list-box/_list-box.scss +11 -27
  21. package/scss/components/modal/_modal.scss +91 -102
  22. package/scss/components/notification/_inline-notification.scss +3 -0
  23. package/scss/components/notification/_toast-notification.scss +3 -0
  24. package/scss/components/number-input/_number-input.scss +1 -1
  25. package/scss/components/pagination/_pagination.scss +56 -7
  26. package/scss/components/radio-button/_radio-button.scss +3 -2
  27. package/scss/components/select/_select.scss +7 -2
  28. package/scss/components/slider/_slider.scss +1 -1
  29. package/scss/components/tag/_tag.scss +1 -1
  30. package/scss/components/text-area/_text-area.scss +7 -1
  31. package/scss/components/text-input/_text-input.scss +1 -1
  32. package/scss/components/tile/_tile.scss +1 -1
  33. package/scss/components/toggle/_toggle.scss +2 -2
  34. package/scss/components/toggletip/_index.scss +11 -0
  35. package/scss/components/toggletip/_toggletip.scss +81 -0
  36. package/scss/components/tooltip/_index.scss +1 -0
  37. package/scss/components/tooltip/_tooltip.scss +30 -0
  38. package/scss/components/ui-shell/header/_header.scss +2 -0
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.12.0",
4
+ "version": "0.14.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.35.0",
23
+ "@carbon/colors": "^10.36.0",
24
24
  "@carbon/feature-flags": "^0.7.0",
25
- "@carbon/grid": "^10.40.0",
26
- "@carbon/layout": "^10.35.0",
27
- "@carbon/motion": "^10.27.0",
28
- "@carbon/themes": "^10.49.0",
29
- "@carbon/type": "^10.40.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",
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": "ac4b4bf03cf93cb8463916231619fbfdc72f0be5"
36
+ "gitHead": "6a49764a3df2cc3e3b8fce6575f4853d1400e183"
37
37
  }
package/scss/_config.scss CHANGED
@@ -48,3 +48,9 @@ $use-google-fonts: false !default;
48
48
  /// @type String
49
49
  /// @group config
50
50
  $prefix: 'cds' !default;
51
+
52
+ /// Total columns used in the flex grid
53
+ /// @type Number
54
+ /// @access public
55
+ /// @group @carbon/grid
56
+ $flex-grid-columns: 16 !default;
package/scss/_grid.scss CHANGED
@@ -10,11 +10,13 @@
10
10
  @forward '@carbon/grid'
11
11
  show css-grid,
12
12
  subgrid,
13
+ flex-grid,
13
14
  $grid-gutter,
14
15
  $grid-gutter-condensed,
15
16
  $grid-breakpoints
16
17
  with (
17
- $prefix: config.$prefix
18
+ $prefix: config.$prefix,
19
+ $flex-grid-columns: config.$flex-grid-columns,
18
20
  );
19
21
 
20
22
  @use '@carbon/grid';
package/scss/_type.scss CHANGED
@@ -12,6 +12,7 @@
12
12
  type-style,
13
13
  font-family,
14
14
  default-type,
15
+ type-classes,
15
16
 
16
17
  // Variables
17
18
  $caption-01,
@@ -6,6 +6,7 @@
6
6
  //
7
7
 
8
8
  @use 'accordion';
9
+ @use 'aspect-ratio';
9
10
  @use 'breadcrumb';
10
11
  @use 'button';
11
12
  @use 'checkbox';
@@ -51,6 +52,7 @@
51
52
  @use 'text-input';
52
53
  @use 'tile';
53
54
  @use 'time-picker';
55
+ @use 'toggletip';
54
56
  @use 'toggle';
55
57
  @use 'tooltip';
56
58
  @use 'treeview';
@@ -87,7 +87,7 @@ $content-padding: 0 0 0 $spacing-05 !default;
87
87
  }
88
88
 
89
89
  &:hover::before {
90
- background-color: $background-hover;
90
+ background-color: $layer-hover;
91
91
  }
92
92
 
93
93
  &:focus {
@@ -125,11 +125,15 @@ $content-padding: 0 0 0 $spacing-05 !default;
125
125
 
126
126
  .#{$prefix}--accordion__item--disabled,
127
127
  .#{$prefix}--accordion__item--disabled + .#{$prefix}--accordion__item {
128
- border-top: 1px solid $border-disabled;
128
+ // v10 icon doesn't have 1:1 translation, keeping color same as enabled state
129
+ // https://github.com/carbon-design-system/carbon/issues/10373#issuecomment-1021638147
130
+ border-top: 1px solid $border-subtle;
129
131
  }
130
132
 
131
133
  li.#{$prefix}--accordion__item--disabled:last-of-type {
132
- border-bottom: 1px solid $border-disabled;
134
+ // v10 icon doesn't have 1:1 translation, keeping color same as enabled state
135
+ // https://github.com/carbon-design-system/carbon/issues/10373#issuecomment-1021638147
136
+ border-bottom: 1px solid $border-subtle;
133
137
  }
134
138
 
135
139
  .#{$prefix}--accordion__arrow {
@@ -0,0 +1,72 @@
1
+ //
2
+ // Copyright IBM Corp. 2018, 2018
3
+ //
4
+ // This source code is licensed under the Apache-2.0 license found in the
5
+ // LICENSE file in the root directory of this source tree.
6
+ //
7
+
8
+ @use 'sass:math';
9
+ @use 'sass:meta';
10
+ @use '../../config' as *;
11
+
12
+ /// The aspect ratios that are used to generate corresponding aspect ratio
13
+ /// classes in code
14
+ /// @type List
15
+ /// @access public
16
+ /// @group @carbon/grid
17
+ $carbon--aspect-ratios: (
18
+ (16, 9),
19
+ (9, 16),
20
+ (2, 1),
21
+ (1, 2),
22
+ (4, 3),
23
+ (3, 4),
24
+ (3, 2),
25
+ (2, 3),
26
+ (1, 1)
27
+ );
28
+
29
+ /// Generates the CSS classname utilities for the aspect ratios
30
+ ///
31
+ /// CSS Tricks article on aspect ratios and all the different ways it can be done.
32
+ /// https://css-tricks.com/aspect-ratio-boxes/#article-header-id-6
33
+ ///
34
+ /// That article references an earlier article on the topic.
35
+ /// https://keithjgrant.com/posts/2017/03/aspect-ratios/
36
+ ///
37
+ /// @param {Number} $width width from an aspect ratio
38
+ /// @param {Number} $height height from an aspect ratio
39
+ /// @access private
40
+ /// @group @carbon/grid
41
+ @mixin aspect-ratio($aspect-ratios: $carbon--aspect-ratios) {
42
+ .#{$prefix}--aspect-ratio {
43
+ position: relative;
44
+ }
45
+
46
+ .#{$prefix}--aspect-ratio::before {
47
+ width: 1px;
48
+ height: 0;
49
+ margin-left: -1px;
50
+ content: '';
51
+ float: left;
52
+ }
53
+
54
+ .#{$prefix}--aspect-ratio::after {
55
+ display: table;
56
+ clear: both;
57
+ content: '';
58
+ }
59
+
60
+ @each $aspect-ratio in $aspect-ratios {
61
+ $width: nth($aspect-ratio, 1);
62
+ $height: nth($aspect-ratio, 2);
63
+
64
+ .#{$prefix}--aspect-ratio--#{$width}x#{$height}::before {
65
+ @if meta.function-exists('div', 'math') {
66
+ padding-top: percentage(math.div($height, $width));
67
+ } @else {
68
+ padding-top: percentage(($height / $width));
69
+ }
70
+ }
71
+ }
72
+ }
@@ -0,0 +1,11 @@
1
+ //
2
+ // Copyright IBM Corp. 2018, 2018
3
+ //
4
+ // This source code is licensed under the Apache-2.0 license found in the
5
+ // LICENSE file in the root directory of this source tree.
6
+ //
7
+
8
+ @forward 'aspect-ratio';
9
+ @use 'aspect-ratio';
10
+
11
+ @include aspect-ratio.aspect-ratio;
@@ -102,9 +102,9 @@
102
102
  transparent,
103
103
  transparent,
104
104
  $link-primary,
105
- $background-hover,
105
+ $layer-hover,
106
106
  currentColor,
107
- $background-active
107
+ $layer-active
108
108
  );
109
109
 
110
110
  padding: $button-padding-ghost;
@@ -243,6 +243,7 @@
243
243
 
244
244
  &:active {
245
245
  border-color: $button-danger-active;
246
+ background-color: $button-danger-active;
246
247
  color: $text-on-color;
247
248
  }
248
249
 
@@ -334,7 +335,7 @@
334
335
 
335
336
  //expressive styles
336
337
  .#{$prefix}--btn--expressive {
337
- @include type-style('body-short-02');
338
+ @include type-style('body-compact-02');
338
339
 
339
340
  min-height: 3rem;
340
341
  }
@@ -13,14 +13,18 @@
13
13
  @use '../../type' as *;
14
14
  @use '../../utilities/component-reset';
15
15
  @use '../../utilities/convert' as *;
16
+ @use '../../utilities/custom-property';
16
17
  @use 'tokens' as *;
17
18
 
19
+ $button-focus-color: custom-property.get-var('button-focus-color', $focus);
20
+
18
21
  @mixin button-base {
19
22
  @include component-reset.reset;
20
- @include type-style('body-short-01');
23
+ @include type-style('body-compact-01');
21
24
 
22
25
  position: relative;
23
26
  display: inline-flex;
27
+ width: max-content;
24
28
  max-width: rem(320px);
25
29
  min-height: $button-height;
26
30
  flex-shrink: 0;
@@ -84,8 +88,8 @@
84
88
  }
85
89
 
86
90
  &:focus {
87
- border-color: $focus;
88
- box-shadow: inset 0 0 0 $button-outline-width $focus,
91
+ border-color: $button-focus-color;
92
+ box-shadow: inset 0 0 0 $button-outline-width $button-focus-color,
89
93
  inset 0 0 0 $button-border-width $background;
90
94
  }
91
95
 
@@ -230,15 +230,15 @@ $button-tertiary-active: (
230
230
  ) !default;
231
231
 
232
232
  $button-danger-hover: (
233
- fallback: #b81921,
233
+ fallback: #b81922,
234
234
  values: (
235
235
  (
236
236
  theme: themes.$white,
237
- value: #b81921,
237
+ value: #b81922,
238
238
  ),
239
239
  (
240
240
  theme: themes.$g10,
241
- value: #b81921,
241
+ value: #b81922,
242
242
  ),
243
243
  (
244
244
  theme: themes.$g90,
@@ -252,59 +252,59 @@ $button-danger-hover: (
252
252
  ) !default;
253
253
 
254
254
  $button-primary-hover: (
255
- fallback: #0353e9,
255
+ fallback: #0050e6,
256
256
  values: (
257
257
  (
258
258
  theme: themes.$white,
259
- value: #0353e9,
259
+ value: #0050e6,
260
260
  ),
261
261
  (
262
262
  theme: themes.$g10,
263
- value: #0353e9,
263
+ value: #0050e6,
264
264
  ),
265
265
  (
266
266
  theme: themes.$g90,
267
- value: #0353e9,
267
+ value: #0050e6,
268
268
  ),
269
269
  (
270
270
  theme: themes.$g100,
271
- value: #0353e9,
271
+ value: #0050e6,
272
272
  ),
273
273
  ),
274
274
  ) !default;
275
275
 
276
276
  $button-secondary-hover: (
277
- fallback: #4c4c4c,
277
+ fallback: #474747,
278
278
  values: (
279
279
  (
280
280
  theme: themes.$white,
281
- value: #4c4c4c,
281
+ value: #474747,
282
282
  ),
283
283
  (
284
284
  theme: themes.$g10,
285
- value: #4c4c4c,
285
+ value: #474747,
286
286
  ),
287
287
  (
288
288
  theme: themes.$g90,
289
- value: #606060,
289
+ value: #5e5e5e,
290
290
  ),
291
291
  (
292
292
  theme: themes.$g100,
293
- value: #606060,
293
+ value: #5e5e5e,
294
294
  ),
295
295
  ),
296
296
  ) !default;
297
297
 
298
298
  $button-tertiary-hover: (
299
- fallback: #0353e9,
299
+ fallback: #0050e6,
300
300
  values: (
301
301
  (
302
302
  theme: themes.$white,
303
- value: #0353e9,
303
+ value: #0050e6,
304
304
  ),
305
305
  (
306
306
  theme: themes.$g10,
307
- value: #0353e9,
307
+ value: #0050e6,
308
308
  ),
309
309
  (
310
310
  theme: themes.$g90,
@@ -197,4 +197,11 @@
197
197
  // Add extra spacing when label is present
198
198
  margin: rem(1px) 0 0 rem(6px);
199
199
  }
200
+
201
+ //-----------------------------------------------
202
+ // InlineCheckbox
203
+ //-----------------------------------------------
204
+ .#{$prefix}--checkbox--inline {
205
+ position: relative;
206
+ }
200
207
  }
@@ -38,13 +38,13 @@ $copy-btn-feedback: $background-inverse !default;
38
38
  .#{$prefix}--snippet--disabled,
39
39
  .#{$prefix}--snippet--disabled
40
40
  .#{$prefix}--btn.#{$prefix}--snippet-btn--expand {
41
- background-color: $layer-disabled;
41
+ background-color: $layer;
42
42
  color: $text-disabled;
43
43
  }
44
44
 
45
45
  .#{$prefix}--snippet--disabled .#{$prefix}--snippet-btn--expand:hover,
46
46
  .#{$prefix}--snippet--disabled .#{$prefix}--copy-btn:hover {
47
- background-color: $layer-disabled;
47
+ background-color: $layer;
48
48
  color: $text-disabled;
49
49
  cursor: not-allowed;
50
50
  }
@@ -52,15 +52,37 @@
52
52
  color: $text-secondary;
53
53
  text-align: left;
54
54
  text-decoration: none;
55
- transition: all $duration-fast-01 motion(standard, productive);
55
+ transition: all $duration-moderate-01 motion(standard, productive);
56
56
  white-space: nowrap;
57
57
 
58
+ &::after {
59
+ position: absolute;
60
+ top: 0;
61
+ left: 0;
62
+ display: block;
63
+ width: 100%;
64
+ height: 100%;
65
+ background-color: $layer-selected-inverse;
66
+ content: '';
67
+ transform: scaleY(0);
68
+ transform-origin: bottom;
69
+ transition: all $duration-moderate-01 motion(standard, productive);
70
+ }
71
+
72
+ &:disabled::after {
73
+ display: none;
74
+ }
75
+
58
76
  &:focus {
59
77
  z-index: 3;
60
78
  border-color: $focus;
61
79
  box-shadow: inset 0 0 0 2px $focus, inset 0 0 0 3px $focus-inset;
62
80
  }
63
81
 
82
+ &:focus::after {
83
+ clip-path: inset(3px 3px 3px 3px);
84
+ }
85
+
64
86
  &:hover {
65
87
  color: $text-primary;
66
88
  cursor: pointer;
@@ -157,6 +179,7 @@
157
179
  }
158
180
 
159
181
  .#{$prefix}--content-switcher__label {
182
+ z-index: 1;
160
183
  overflow: hidden;
161
184
  max-width: 100%;
162
185
  text-overflow: ellipsis;
@@ -177,6 +200,10 @@
177
200
  background-color: $layer-selected-disabled;
178
201
  color: $text-disabled;
179
202
  }
203
+
204
+ &::after {
205
+ transform: scaleY(1);
206
+ }
180
207
  }
181
208
 
182
209
  .#{$prefix}--content-switcher-btn.#{$prefix}--content-switcher--selected
@@ -47,10 +47,17 @@
47
47
  }
48
48
 
49
49
  .#{$prefix}--toolbar-content .#{$prefix}--search .#{$prefix}--search-input {
50
+ height: 3rem;
51
+ padding: 0 3rem;
50
52
  // For toolbar animation with (esp.) persistent search box
51
53
  background-color: transparent;
52
54
  }
53
55
 
56
+ .#{$prefix}--toolbar-content .#{$prefix}--overflow-menu {
57
+ width: 3rem;
58
+ height: 3rem;
59
+ }
60
+
54
61
  //-------------------------------------------------
55
62
  //DEPRECATED v10/v9 search behavior
56
63
  //-------------------------------------------------
@@ -78,26 +85,19 @@
78
85
  }
79
86
  }
80
87
 
88
+ .#{$prefix}--search.#{$prefix}--toolbar-search-container-expandable {
89
+ width: 3rem;
90
+ }
91
+
81
92
  .#{$prefix}--toolbar-search-container-expandable .#{$prefix}--search-input {
82
93
  height: 100%;
83
- padding: 0;
84
94
  cursor: pointer;
85
95
  opacity: 0;
86
96
  }
87
97
 
88
- .#{$prefix}--toolbar-search-container-expandable
89
- .#{$prefix}--search-magnifier-icon {
90
- left: 0;
91
- width: $spacing-09;
92
- height: $spacing-09;
93
- padding: $spacing-05;
94
- }
95
-
96
- .#{$prefix}--toolbar-search-container-expandable.#{$prefix}--search--disabled
97
- .#{$prefix}--search-magnifier-icon {
98
- background-color: $layer-disabled;
99
- cursor: not-allowed;
100
- transition: background-color none;
98
+ .#{$prefix}--toolbar-search-container-expandable:not(.#{$prefix}--toolbar-search-container-active)
99
+ .#{$prefix}--search-input {
100
+ padding: 0;
101
101
  }
102
102
 
103
103
  .#{$prefix}--toolbar-search-container-disabled .#{$prefix}--search-input {
@@ -126,6 +126,68 @@
126
126
  background-color: $focus;
127
127
  }
128
128
 
129
+ //-------------------------------------------------
130
+ // Seach icon
131
+ //-------------------------------------------------v
132
+ // lg expandable icon spacing
133
+ .#{$prefix}--table-toolbar
134
+ .#{$prefix}--search--lg
135
+ .#{$prefix}--search-magnifier-icon {
136
+ left: 0;
137
+ }
138
+
139
+ // lg persistent icon spacing
140
+ .#{$prefix}--table-toolbar:not(.#{$prefix}--table-toolbar--sm)
141
+ .#{$prefix}--toolbar-search-container-persistent.#{$prefix}--search--lg
142
+ .#{$prefix}--search-magnifier-icon {
143
+ left: 1rem;
144
+ }
145
+
146
+ // sm expandable icon spacing
147
+ .#{$prefix}--table-toolbar.#{$prefix}--table-toolbar--sm
148
+ .#{$prefix}--search--sm:not(.#{$prefix}--toolbar-search-container-active):not(.#{$prefix}--toolbar-search-container-persistent)
149
+ .#{$prefix}--search-magnifier-icon {
150
+ left: 0;
151
+ }
152
+
153
+ .#{$prefix}--table-toolbar.#{$prefix}--table-toolbar--sm
154
+ .#{$prefix}--search--sm.#{$prefix}--toolbar-search-container-active
155
+ .#{$prefix}--search-magnifier-icon {
156
+ left: 0.5rem;
157
+ }
158
+
159
+ // sm persistent icon spacing
160
+ .#{$prefix}--table-toolbar
161
+ .#{$prefix}--toolbar-search-container-persistent.#{$prefix}--search--sm
162
+ .#{$prefix}--search-magnifier-icon {
163
+ left: 0.5rem;
164
+ }
165
+
166
+ .#{$prefix}--toolbar-search-container-expandable
167
+ .#{$prefix}--search-magnifier-icon {
168
+ width: $spacing-09;
169
+ height: $spacing-09;
170
+ padding: $spacing-05;
171
+ }
172
+
173
+ .#{$prefix}--toolbar-search-container-expandable.#{$prefix}--search--disabled
174
+ .#{$prefix}--search-magnifier-icon {
175
+ background-color: $layer;
176
+ cursor: not-allowed;
177
+ transition: background-color none;
178
+ }
179
+
180
+ .#{$prefix}--toolbar-search-container-active
181
+ .#{$prefix}--search-magnifier-icon:focus,
182
+ .#{$prefix}--toolbar-search-container-active
183
+ .#{$prefix}--search-magnifier-icon:active,
184
+ .#{$prefix}--toolbar-search-container-active
185
+ .#{$prefix}--search-magnifier-icon:hover {
186
+ border: none;
187
+ background-color: transparent;
188
+ outline: none;
189
+ }
190
+
129
191
  //-------------------------------------------------
130
192
  //ACTIVE SEARCH - DEFAULT TOOLBAR
131
193
  //-------------------------------------------------
@@ -158,17 +220,6 @@
158
220
  background-color: $field-hover;
159
221
  }
160
222
 
161
- .#{$prefix}--toolbar-search-container-active
162
- .#{$prefix}--search-magnifier-icon:focus,
163
- .#{$prefix}--toolbar-search-container-active
164
- .#{$prefix}--search-magnifier-icon:active,
165
- .#{$prefix}--toolbar-search-container-active
166
- .#{$prefix}--search-magnifier-icon:hover {
167
- border: none;
168
- background-color: transparent;
169
- outline: none;
170
- }
171
-
172
223
  //-------------------------------------------------
173
224
  //SEARCH CLOSE BUTTON
174
225
  //-------------------------------------------------
@@ -455,6 +506,7 @@
455
506
  .#{$prefix}--table-toolbar--small,
456
507
  .#{$prefix}--table-toolbar--sm {
457
508
  height: rem(32px);
509
+ min-height: rem(32px);
458
510
 
459
511
  .#{$prefix}--toolbar-search-container-expandable,
460
512
  .#{$prefix}--toolbar-search-container-persistent {
@@ -530,6 +582,22 @@
530
582
 
531
583
  background-color: transparent;
532
584
  }
585
+
586
+ .#{$prefix}--overflow-menu.#{$prefix}--toolbar-action {
587
+ width: rem(32px);
588
+ //:after element is 2rem but w/o this trigger button is for some reason 28px
589
+ min-width: rem(32px);
590
+ height: rem(32px);
591
+ }
592
+
593
+ .#{$prefix}--toolbar-content {
594
+ height: rem(32px);
595
+ }
596
+
597
+ .#{$prefix}--toolbar-content .#{$prefix}--overflow-menu {
598
+ width: 2rem;
599
+ height: 2rem;
600
+ }
533
601
  }
534
602
 
535
603
  .#{$prefix}--search--disabled .#{$prefix}--search-magnifier-icon:hover {
@@ -584,4 +652,10 @@
584
652
  overflow: hidden;
585
653
  height: rem(32px);
586
654
  }
655
+
656
+ // V11: remove --small selector block
657
+ .#{$prefix}--table-toolbar--small .#{$prefix}--batch-summary,
658
+ .#{$prefix}--table-toolbar--sm .#{$prefix}--batch-summary {
659
+ min-height: 2rem;
660
+ }
587
661
  }
@@ -106,7 +106,7 @@
106
106
 
107
107
  &:disabled {
108
108
  border-bottom: 1px solid transparent;
109
- background-color: $field-disabled;
109
+ background-color: $field;
110
110
  color: $text-disabled;
111
111
  cursor: not-allowed;
112
112
  }
@@ -219,6 +219,7 @@
219
219
  text-decoration: none;
220
220
  transform: scale(1, 1) #{'/*rtl: scale(-1,1)*/'};
221
221
  transition: background-color $duration-fast-01 motion(standard, productive);
222
+ user-select: none;
222
223
  // Windows HCM fix
223
224
  @include high-contrast-mode('icon-fill');
224
225
 
@@ -70,15 +70,11 @@
70
70
  text-align: left;
71
71
  }
72
72
 
73
- // TODO V11: Remove xl selector
74
- .#{$prefix}--dropdown--xl,
75
73
  .#{$prefix}--dropdown--lg {
76
74
  height: rem(48px);
77
75
  max-height: rem(48px);
78
76
  }
79
77
 
80
- // TODO V11: Remove xl selector
81
- .#{$prefix}--dropdown--xl .#{$prefix}--dropdown__arrow,
82
78
  .#{$prefix}--dropdown--lg .#{$prefix}--dropdown__arrow {
83
79
  top: rem(16px);
84
80
  }
@@ -277,12 +273,6 @@
277
273
  padding-bottom: rem(7px);
278
274
  }
279
275
 
280
- .#{$prefix}--dropdown--xl .#{$prefix}--dropdown-link {
281
- height: rem(48px);
282
- padding-top: rem(15px);
283
- padding-bottom: rem(15px);
284
- }
285
-
286
276
  .#{$prefix}--dropdown--focused,
287
277
  .#{$prefix}--dropdown-link:focus {
288
278
  @include focus-outline('outline');
@@ -329,12 +319,6 @@
329
319
  transform: rotate(-180deg);
330
320
  }
331
321
 
332
- .#{$prefix}--dropdown--open.#{$prefix}--dropdown--xl
333
- .#{$prefix}--dropdown-list {
334
- // 48px item height * 5.5 items shown
335
- max-height: rem(264px);
336
- }
337
-
338
322
  .#{$prefix}--dropdown--open.#{$prefix}--dropdown--sm
339
323
  .#{$prefix}--dropdown-list {
340
324
  // 32px item height * 5.5 items shown