@carbon/type 10.29.0-rc.0 → 10.29.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 +5 -5
- package/scss/_inlined/_styles.scss +2 -1
- package/scss/_styles.scss +2 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carbon/type",
|
|
3
3
|
"description": "Typography for digital and software products using the Carbon Design System",
|
|
4
|
-
"version": "10.29.0
|
|
4
|
+
"version": "10.29.0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"module": "es/index.js",
|
|
@@ -37,11 +37,11 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@carbon/import-once": "^10.6.0",
|
|
40
|
-
"@carbon/layout": "^10.25.0
|
|
40
|
+
"@carbon/layout": "^10.25.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@carbon/cli": "^10.24.0
|
|
44
|
-
"@carbon/test-utils": "^10.16.0
|
|
43
|
+
"@carbon/cli": "^10.24.0",
|
|
44
|
+
"@carbon/test-utils": "^10.16.0",
|
|
45
45
|
"change-case": "^4.1.1",
|
|
46
46
|
"rimraf": "^3.0.0"
|
|
47
47
|
},
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"sassDir": "scss",
|
|
52
52
|
"needs": "^1.3.0"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "d02eacdefc2c94da1b7619a20df441e264bf884c"
|
|
55
55
|
}
|
|
@@ -729,13 +729,14 @@ $custom-property-prefix: 'cds' !default;
|
|
|
729
729
|
|
|
730
730
|
// If $fluid is set to true and the token has breakpoints defined for fluid
|
|
731
731
|
// styles, delegate to the fluid-type helper for the given token
|
|
732
|
+
// Otherwise remove token breakpoints
|
|
732
733
|
@if $fluid == true and map-has-key($token, 'breakpoints') {
|
|
733
734
|
@include fluid-type($token, $breakpoints);
|
|
734
735
|
} @else {
|
|
735
736
|
@if global-variable-exists('feature-flags') and
|
|
736
737
|
map-get($feature-flags, 'enable-css-custom-properties')
|
|
737
738
|
{
|
|
738
|
-
@include custom-properties($name, $token);
|
|
739
|
+
@include custom-properties($name, map-remove($token, 'breakpoints'));
|
|
739
740
|
} @else {
|
|
740
741
|
// Otherwise, we just include all the property declarations directly on the
|
|
741
742
|
// selector
|
package/scss/_styles.scss
CHANGED
|
@@ -729,13 +729,14 @@ $custom-property-prefix: 'cds' !default;
|
|
|
729
729
|
|
|
730
730
|
// If $fluid is set to true and the token has breakpoints defined for fluid
|
|
731
731
|
// styles, delegate to the fluid-type helper for the given token
|
|
732
|
+
// Otherwise remove token breakpoints
|
|
732
733
|
@if $fluid == true and map-has-key($token, 'breakpoints') {
|
|
733
734
|
@include fluid-type($token, $breakpoints);
|
|
734
735
|
} @else {
|
|
735
736
|
@if global-variable-exists('feature-flags') and
|
|
736
737
|
map-get($feature-flags, 'enable-css-custom-properties')
|
|
737
738
|
{
|
|
738
|
-
@include custom-properties($name, $token);
|
|
739
|
+
@include custom-properties($name, map-remove($token, 'breakpoints'));
|
|
739
740
|
} @else {
|
|
740
741
|
// Otherwise, we just include all the property declarations directly on the
|
|
741
742
|
// selector
|