@carbon/type 10.21.0-rc.0 → 10.21.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/README.md
CHANGED
|
@@ -250,12 +250,6 @@ There is also a `type-scale` mixin that will set `font-size` for your directly:
|
|
|
250
250
|
}
|
|
251
251
|
```
|
|
252
252
|
|
|
253
|
-
## 📖 API Documentation
|
|
254
|
-
|
|
255
|
-
If you're looking for `@carbon/type` API documentation, check out:
|
|
256
|
-
|
|
257
|
-
- [Sass](./docs/sass.md)
|
|
258
|
-
|
|
259
253
|
## 📚 Examples
|
|
260
254
|
|
|
261
255
|
If you're looking for more examples on how to use `@carbon/type`, we have some
|
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.21.0
|
|
4
|
+
"version": "10.21.0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"module": "es/index.js",
|
|
@@ -32,15 +32,15 @@
|
|
|
32
32
|
"access": "public"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
|
-
"build": "yarn clean && carbon-cli bundle src/index.js --name CarbonType && carbon-cli
|
|
35
|
+
"build": "yarn clean && carbon-cli bundle src/index.js --name CarbonType && carbon-cli inline && carbon-cli check \"scss/*.scss\"",
|
|
36
36
|
"clean": "rimraf css es lib umd scss/_inlined scss/vendor"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@carbon/import-once": "^10.
|
|
40
|
-
"@carbon/layout": "^10.18.0
|
|
39
|
+
"@carbon/import-once": "^10.6.0",
|
|
40
|
+
"@carbon/layout": "^10.18.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@carbon/cli": "^10.19.0
|
|
43
|
+
"@carbon/cli": "^10.19.0",
|
|
44
44
|
"@carbon/test-utils": "^10.14.0",
|
|
45
45
|
"change-case": "^4.1.1",
|
|
46
46
|
"rimraf": "^3.0.0"
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"sassDir": "scss",
|
|
52
52
|
"needs": "^1.3.0"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "79db5535fee7f58e0fe21bac154b638cd17f659e"
|
|
55
55
|
}
|
|
@@ -26,12 +26,12 @@ $fluid-spacing-03: 5vw !default;
|
|
|
26
26
|
/// @group @carbon/layout
|
|
27
27
|
$fluid-spacing-04: 10vw !default;
|
|
28
28
|
|
|
29
|
-
/// @type
|
|
29
|
+
/// @type Map
|
|
30
30
|
/// @access public
|
|
31
31
|
/// @group @carbon/layout
|
|
32
32
|
$fluid-spacing: (
|
|
33
|
-
$fluid-spacing-01,
|
|
34
|
-
$fluid-spacing-02,
|
|
35
|
-
$fluid-spacing-03,
|
|
36
|
-
$fluid-spacing-04
|
|
33
|
+
fluid-spacing-01: $fluid-spacing-01,
|
|
34
|
+
fluid-spacing-02: $fluid-spacing-02,
|
|
35
|
+
fluid-spacing-03: $fluid-spacing-03,
|
|
36
|
+
fluid-spacing-04: $fluid-spacing-04,
|
|
37
37
|
);
|
|
@@ -66,20 +66,20 @@ $spacing-11: 5rem !default;
|
|
|
66
66
|
/// @group @carbon/layout
|
|
67
67
|
$spacing-12: 6rem !default;
|
|
68
68
|
|
|
69
|
-
/// @type
|
|
69
|
+
/// @type Map
|
|
70
70
|
/// @access public
|
|
71
71
|
/// @group @carbon/layout
|
|
72
72
|
$spacing: (
|
|
73
|
-
$spacing-01,
|
|
74
|
-
$spacing-02,
|
|
75
|
-
$spacing-03,
|
|
76
|
-
$spacing-04,
|
|
77
|
-
$spacing-05,
|
|
78
|
-
$spacing-06,
|
|
79
|
-
$spacing-07,
|
|
80
|
-
$spacing-08,
|
|
81
|
-
$spacing-09,
|
|
82
|
-
$spacing-10,
|
|
83
|
-
$spacing-11,
|
|
84
|
-
$spacing-12
|
|
73
|
+
spacing-01: $spacing-01,
|
|
74
|
+
spacing-02: $spacing-02,
|
|
75
|
+
spacing-03: $spacing-03,
|
|
76
|
+
spacing-04: $spacing-04,
|
|
77
|
+
spacing-05: $spacing-05,
|
|
78
|
+
spacing-06: $spacing-06,
|
|
79
|
+
spacing-07: $spacing-07,
|
|
80
|
+
spacing-08: $spacing-08,
|
|
81
|
+
spacing-09: $spacing-09,
|
|
82
|
+
spacing-10: $spacing-10,
|
|
83
|
+
spacing-11: $spacing-11,
|
|
84
|
+
spacing-12: $spacing-12,
|
|
85
85
|
);
|