@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/css/styles.css +35 -6
- package/css/styles.min.css +1 -1
- package/package.json +2 -2
- package/scss/components/breadcrumb/_breadcrumb.scss +7 -0
- package/scss/components/combo-box/_combo-box.scss +5 -0
- package/scss/components/form/_form.scss +4 -0
- package/scss/components/overflow-menu/_overflow-menu.scss +4 -0
- package/scss/components/toggle/_toggle.scss +4 -2
- package/scss/components/toggletip/_toggletip.scss +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.
|
|
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": "
|
|
62
|
+
"gitHead": "feebe20f22ecfef4356695ae127e22ebe4225e8e"
|
|
63
63
|
}
|
|
@@ -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,
|
|
@@ -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
|
}
|