@carbon/type 10.8.1 → 10.8.3
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 +3 -2
- package/es/index.js +2 -2
- package/lib/index.js +2 -2
- package/package.json +8 -8
- package/scss/_inlined/_reset.scss +2 -1
- package/scss/_reset.scss +2 -1
- package/umd/index.js +2 -2
package/README.md
CHANGED
|
@@ -84,8 +84,9 @@ Instead of using a type scale, `@carbon/type` provides tokens that represent
|
|
|
84
84
|
what we call type styles. These tokens have a variety of properties for styling
|
|
85
85
|
how text is rendered on a page.
|
|
86
86
|
|
|
87
|
-
You can find a full reference of the type styles that are available
|
|
88
|
-
[
|
|
87
|
+
You can find a full reference of the type styles that are available on the
|
|
88
|
+
[Carbon Design System website](https://www.carbondesignsystem.com/guidelines/typography/productive)
|
|
89
|
+
.
|
|
89
90
|
|
|
90
91
|
You can include a token in your Sass file by writing:
|
|
91
92
|
|
package/es/index.js
CHANGED
|
@@ -190,13 +190,13 @@ function _objectSpread2(target) {
|
|
|
190
190
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
191
191
|
|
|
192
192
|
if (i % 2) {
|
|
193
|
-
ownKeys(source, true).forEach(function (key) {
|
|
193
|
+
ownKeys(Object(source), true).forEach(function (key) {
|
|
194
194
|
_defineProperty(target, key, source[key]);
|
|
195
195
|
});
|
|
196
196
|
} else if (Object.getOwnPropertyDescriptors) {
|
|
197
197
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
198
198
|
} else {
|
|
199
|
-
ownKeys(source).forEach(function (key) {
|
|
199
|
+
ownKeys(Object(source)).forEach(function (key) {
|
|
200
200
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
201
201
|
});
|
|
202
202
|
}
|
package/lib/index.js
CHANGED
|
@@ -194,13 +194,13 @@ function _objectSpread2(target) {
|
|
|
194
194
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
195
195
|
|
|
196
196
|
if (i % 2) {
|
|
197
|
-
ownKeys(source, true).forEach(function (key) {
|
|
197
|
+
ownKeys(Object(source), true).forEach(function (key) {
|
|
198
198
|
_defineProperty(target, key, source[key]);
|
|
199
199
|
});
|
|
200
200
|
} else if (Object.getOwnPropertyDescriptors) {
|
|
201
201
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
202
202
|
} else {
|
|
203
|
-
ownKeys(source).forEach(function (key) {
|
|
203
|
+
ownKeys(Object(source)).forEach(function (key) {
|
|
204
204
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
205
205
|
});
|
|
206
206
|
}
|
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.8.
|
|
4
|
+
"version": "10.8.3",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"module": "es/index.js",
|
|
@@ -32,14 +32,14 @@
|
|
|
32
32
|
"clean": "rimraf css es lib umd scss/_inlined scss/vendor"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@carbon/import-once": "10.3.0",
|
|
36
|
-
"@carbon/layout": "^10.7.
|
|
35
|
+
"@carbon/import-once": "^10.3.0",
|
|
36
|
+
"@carbon/layout": "^10.7.3"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@carbon/bundler": "^10.5.
|
|
40
|
-
"@carbon/test-utils": "^10.6.
|
|
41
|
-
"change-case": "^
|
|
42
|
-
"rimraf": "^
|
|
39
|
+
"@carbon/bundler": "^10.5.2",
|
|
40
|
+
"@carbon/test-utils": "^10.6.2",
|
|
41
|
+
"change-case": "^4.1.1",
|
|
42
|
+
"rimraf": "^3.0.0"
|
|
43
43
|
},
|
|
44
44
|
"eyeglass": {
|
|
45
45
|
"exports": false,
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"sassDir": "scss",
|
|
48
48
|
"needs": "^1.3.0"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "8fd6caf32cedbd0a5350b7d520742e09a0acf85e"
|
|
51
51
|
}
|
package/scss/_reset.scss
CHANGED
package/umd/index.js
CHANGED
|
@@ -194,13 +194,13 @@
|
|
|
194
194
|
var source = arguments[i] != null ? arguments[i] : {};
|
|
195
195
|
|
|
196
196
|
if (i % 2) {
|
|
197
|
-
ownKeys(source, true).forEach(function (key) {
|
|
197
|
+
ownKeys(Object(source), true).forEach(function (key) {
|
|
198
198
|
_defineProperty(target, key, source[key]);
|
|
199
199
|
});
|
|
200
200
|
} else if (Object.getOwnPropertyDescriptors) {
|
|
201
201
|
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
202
202
|
} else {
|
|
203
|
-
ownKeys(source).forEach(function (key) {
|
|
203
|
+
ownKeys(Object(source)).forEach(function (key) {
|
|
204
204
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
205
205
|
});
|
|
206
206
|
}
|