@carbon/styles 1.6.0 → 1.8.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 +41 -28
- package/css/styles.min.css +1 -1
- package/package.json +6 -6
- package/scss/components/aspect-ratio/_aspect-ratio.scss +1 -5
- package/scss/components/data-table/_data-table.scss +1 -1
- package/scss/components/search/_search.scss +4 -0
- package/scss/components/tabs/_tabs.scss +1 -1
- package/scss/components/tag/_tag.scss +3 -1
- package/scss/components/toggle/_toggle.scss +106 -644
- package/scss/utilities/_convert.scss +2 -10
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.8.0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@carbon/colors": "^11.3.0",
|
|
36
36
|
"@carbon/feature-flags": "^0.8.0",
|
|
37
|
-
"@carbon/grid": "^11.
|
|
38
|
-
"@carbon/layout": "^11.
|
|
37
|
+
"@carbon/grid": "^11.4.0",
|
|
38
|
+
"@carbon/layout": "^11.4.0",
|
|
39
39
|
"@carbon/motion": "^11.2.0",
|
|
40
|
-
"@carbon/themes": "^11.
|
|
41
|
-
"@carbon/type": "^11.
|
|
40
|
+
"@carbon/themes": "^11.5.0",
|
|
41
|
+
"@carbon/type": "^11.5.0",
|
|
42
42
|
"@ibm/plex": "6.0.0-next.6"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"scss/**/*.css",
|
|
60
60
|
"css/**/*.css"
|
|
61
61
|
],
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "d263183ca413f661dc4d2ece09833d846b32328f"
|
|
63
63
|
}
|
|
@@ -63,11 +63,7 @@ $aspect-ratios: (
|
|
|
63
63
|
$height: list.nth($aspect-ratio, 2);
|
|
64
64
|
|
|
65
65
|
.#{$prefix}--aspect-ratio--#{$width}x#{$height}::before {
|
|
66
|
-
|
|
67
|
-
padding-top: math.percentage(math.div($height, $width));
|
|
68
|
-
} @else {
|
|
69
|
-
padding-top: math.percentage(($height / $width));
|
|
70
|
-
}
|
|
66
|
+
padding-top: math.percentage(math.div($height, $width));
|
|
71
67
|
}
|
|
72
68
|
}
|
|
73
69
|
}
|
|
@@ -348,7 +348,7 @@
|
|
|
348
348
|
|
|
349
349
|
.#{$prefix}--data-table thead th.#{$prefix}--table-column-checkbox,
|
|
350
350
|
.#{$prefix}--data-table tbody td.#{$prefix}--table-column-checkbox {
|
|
351
|
-
width: 2.5rem;
|
|
351
|
+
min-width: 2.5rem;
|
|
352
352
|
// spacing between checkbox / chevron and next cell should be 8px / 0.5rem
|
|
353
353
|
padding-right: rem(4px);
|
|
354
354
|
padding-left: 1rem;
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
.#{$prefix}--tag--outline {
|
|
118
118
|
@include tag-theme($background, $text-primary, $layer-hover);
|
|
119
119
|
|
|
120
|
-
box-shadow:
|
|
120
|
+
box-shadow: 0 0 0 1px $background-inverse;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
.#{$prefix}--tag--disabled,
|
|
@@ -125,6 +125,8 @@
|
|
|
125
125
|
.#{$prefix}--tag--interactive.#{$prefix}--tag--disabled {
|
|
126
126
|
@include tag-theme($layer, $text-disabled);
|
|
127
127
|
|
|
128
|
+
box-shadow: none;
|
|
129
|
+
|
|
128
130
|
&:hover {
|
|
129
131
|
cursor: not-allowed;
|
|
130
132
|
}
|