@carbon/styles 1.22.0-rc.0 → 1.23.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.
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.22.0-rc.0",
4
+ "version": "1.23.0-rc.0",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
7
7
  "type": "git",
@@ -59,5 +59,5 @@
59
59
  "scss/**/*.css",
60
60
  "css/**/*.css"
61
61
  ],
62
- "gitHead": "3e7357ecc2ee754a8d5a2c23c1082d5cdd425faa"
62
+ "gitHead": "feebe20f22ecfef4356695ae127e22ebe4225e8e"
63
63
  }
@@ -150,4 +150,11 @@
150
150
  width: rem(100px);
151
151
  height: 1rem;
152
152
  }
153
+
154
+ .#{$prefix}--breadcrumb
155
+ .#{$prefix}--overflow-menu.#{$prefix}--btn--icon-only {
156
+ min-height: 1.125rem;
157
+ padding-right: 0;
158
+ padding-left: 0;
159
+ }
153
160
  }
@@ -8,6 +8,7 @@
8
8
  @use '../list-box';
9
9
  @use '../../config' as *;
10
10
  @use '../../theme' as *;
11
+ @use '../../utilities/focus-outline' as *;
11
12
 
12
13
  /// Combo box styles
13
14
  /// @access public
@@ -31,6 +32,10 @@
31
32
  border-bottom-color: $border-subtle;
32
33
  }
33
34
 
35
+ .#{$prefix}--combo-box--input--focus.#{$prefix}--text-input {
36
+ @include focus-outline('outline');
37
+ }
38
+
34
39
  .#{$prefix}--combo-box .#{$prefix}--list-box__field,
35
40
  .#{$prefix}--combo-box.#{$prefix}--list-box[data-invalid]
36
41
  .#{$prefix}--list-box__field,
@@ -59,6 +59,10 @@ $input-label-weight: 400 !default;
59
59
  vertical-align: baseline;
60
60
  }
61
61
 
62
+ .#{$prefix}--label .#{$prefix}--toggletip-label {
63
+ @include type-style('label-01');
64
+ }
65
+
62
66
  .#{$prefix}--label--no-margin {
63
67
  margin-bottom: 0;
64
68
  }
@@ -87,6 +87,10 @@
87
87
  fill: $icon-primary;
88
88
  }
89
89
 
90
+ .#{$prefix}--overflow-menu__wrapper {
91
+ line-height: 0;
92
+ }
93
+
90
94
  .#{$prefix}--overflow-menu-options {
91
95
  @include reset;
92
96
  @include box-shadow;
@@ -79,7 +79,8 @@
79
79
  .#{$prefix}--toggle__switch,
80
80
  .#{$prefix}--toggle__button:not(:disabled):active
81
81
  + .#{$prefix}--toggle__label
82
- .#{$prefix}--toggle__switch {
82
+ .#{$prefix}--toggle__switch,
83
+ .#{$prefix}--toggle:active .#{$prefix}--toggle__switch {
83
84
  box-shadow: 0 0 0 1px $focus-inset, 0 0 0 3px $focus;
84
85
  }
85
86
 
@@ -193,7 +194,8 @@
193
194
  .#{$prefix}--toggle__switch,
194
195
  .#{$prefix}--toggle__button:not(:disabled):active
195
196
  + .#{$prefix}--toggle__label
196
- .#{$prefix}--toggle__switch {
197
+ .#{$prefix}--toggle__switch,
198
+ .#{$prefix}--toggle:active .#{$prefix}--toggle__switch {
197
199
  @include high-contrast-mode('focus');
198
200
  }
199
201
  }
@@ -16,7 +16,7 @@
16
16
 
17
17
  @mixin toggletip() {
18
18
  .#{$prefix}--toggletip-label {
19
- @include type.type-style('label-01');
19
+ @include type.type-style('body-01');
20
20
 
21
21
  margin-right: spacing.$spacing-03;
22
22
  color: theme.$text-secondary;