@workday/canvas-kit-react-fonts 6.8.9 → 6.9.0-next.5
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 +2 -2
- package/dist/commonjs/index.js +1 -0
- package/dist/commonjs/lib/fonts.d.ts +1 -1
- package/dist/commonjs/lib/fonts.d.ts.map +1 -1
- package/dist/es6/lib/fonts.d.ts +1 -1
- package/dist/es6/lib/fonts.d.ts.map +1 -1
- package/lib/fonts.ts +1 -1
- package/package.json +8 -16
- package/ts3.5/dist/commonjs/index.d.ts +0 -4
- package/ts3.5/dist/commonjs/lib/fonts.d.ts +0 -4
- package/ts3.5/dist/es6/index.d.ts +0 -4
- package/ts3.5/dist/es6/lib/fonts.d.ts +0 -4
package/README.md
CHANGED
|
@@ -24,7 +24,7 @@ yarn add emotion
|
|
|
24
24
|
Then in your index or main file of your project...
|
|
25
25
|
|
|
26
26
|
```tsx
|
|
27
|
-
import {Global, css} from '@emotion/
|
|
27
|
+
import {Global, css} from '@emotion/react';
|
|
28
28
|
import fonts from '@workday/canvas-kit-react-fonts';
|
|
29
29
|
|
|
30
30
|
// Inject all of Canvas' @font-face declarations to <head> via emotion
|
|
@@ -38,7 +38,7 @@ same module.
|
|
|
38
38
|
Examples:
|
|
39
39
|
|
|
40
40
|
```tsx
|
|
41
|
-
import {css} from '@emotion/
|
|
41
|
+
import {css} from '@emotion/react';
|
|
42
42
|
import {type} from '@workday/canvas-kit-react/tokens';
|
|
43
43
|
|
|
44
44
|
...
|
package/dist/commonjs/index.js
CHANGED
|
@@ -3,6 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.fonts = void 0;
|
|
6
7
|
var fonts_1 = __importDefault(require("./lib/fonts"));
|
|
7
8
|
exports.fonts = fonts_1.default;
|
|
8
9
|
exports.default = fonts_1.default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fonts.d.ts","sourceRoot":"","sources":["../../../lib/fonts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"fonts.d.ts","sourceRoot":"","sources":["../../../lib/fonts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,gBAAgB,CAAC;AAGzC,QAAA,MAAM,KAAK,EAAE,SAAS,EAyCrB,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
package/dist/es6/lib/fonts.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fonts.d.ts","sourceRoot":"","sources":["../../../lib/fonts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"fonts.d.ts","sourceRoot":"","sources":["../../../lib/fonts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,gBAAgB,CAAC;AAGzC,QAAA,MAAM,KAAK,EAAE,SAAS,EAyCrB,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
package/lib/fonts.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workday/canvas-kit-react-fonts",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.9.0-next.5+1b09db00",
|
|
4
4
|
"description": "Fonts for canvas-kit-react",
|
|
5
5
|
"author": "Workday, Inc. (https://www.workday.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -10,30 +10,22 @@
|
|
|
10
10
|
"types": "dist/es6/index.d.ts",
|
|
11
11
|
"repository": {
|
|
12
12
|
"type": "git",
|
|
13
|
-
"url": "
|
|
13
|
+
"url": "https://github.com/workday/canvas-kit.git",
|
|
14
|
+
"directory": "modules/react-fonts"
|
|
14
15
|
},
|
|
15
16
|
"files": [
|
|
16
17
|
"dist/",
|
|
17
18
|
"lib/",
|
|
18
|
-
"index.ts"
|
|
19
|
-
"ts3.5/**/*"
|
|
19
|
+
"index.ts"
|
|
20
20
|
],
|
|
21
|
-
"typesVersions": {
|
|
22
|
-
"<=3.5": {
|
|
23
|
-
"*": [
|
|
24
|
-
"ts3.5/*"
|
|
25
|
-
]
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
21
|
"scripts": {
|
|
29
22
|
"watch": "yarn build:es6 -w",
|
|
30
23
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
31
|
-
"clean": "rimraf dist && rimraf
|
|
24
|
+
"clean": "rimraf dist && rimraf .build-info && mkdirp dist",
|
|
32
25
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
33
26
|
"build:es6": "tsc -p tsconfig.es6.json",
|
|
34
27
|
"build:rebuild": "npm-run-all clean build",
|
|
35
|
-
"build
|
|
36
|
-
"build": "npm-run-all --parallel build:cjs build:es6 --sequential build:downlevel-dts",
|
|
28
|
+
"build": "npm-run-all --parallel build:cjs build:es6",
|
|
37
29
|
"depcheck": "node ../../utils/check-dependencies-exist.js",
|
|
38
30
|
"typecheck:src": "tsc -p . --noEmit --incremental false"
|
|
39
31
|
},
|
|
@@ -49,7 +41,7 @@
|
|
|
49
41
|
"react": "^16.8 || ^17.0"
|
|
50
42
|
},
|
|
51
43
|
"dependencies": {
|
|
52
|
-
"@emotion/
|
|
44
|
+
"@emotion/react": "^11.7.1"
|
|
53
45
|
},
|
|
54
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "1b09db0053a1c1698eb243c94ce80655f7527a63"
|
|
55
47
|
}
|