@workday/canvas-kit-docs 13.2.20 → 13.2.22
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.
|
@@ -18,11 +18,11 @@ export const packageJSONFile = `{
|
|
|
18
18
|
"@emotion/react": "11.11.4",
|
|
19
19
|
"@types/react": "18.2.60",
|
|
20
20
|
"@types/react-dom": "18.2.19",
|
|
21
|
-
"@workday/canvas-kit-labs-react": "13.2.
|
|
22
|
-
"@workday/canvas-kit-preview-react": "13.2.
|
|
23
|
-
"@workday/canvas-kit-react": "13.2.
|
|
24
|
-
"@workday/canvas-kit-react-fonts": "^13.2.
|
|
25
|
-
"@workday/canvas-kit-styling": "13.2.
|
|
21
|
+
"@workday/canvas-kit-labs-react": "13.2.22",
|
|
22
|
+
"@workday/canvas-kit-preview-react": "13.2.22",
|
|
23
|
+
"@workday/canvas-kit-react": "13.2.22",
|
|
24
|
+
"@workday/canvas-kit-react-fonts": "^13.2.22",
|
|
25
|
+
"@workday/canvas-kit-styling": "13.2.22",
|
|
26
26
|
"@workday/canvas-system-icons-web": "3.0.22",
|
|
27
27
|
"@workday/canvas-tokens-web": "2.0.0"
|
|
28
28
|
},
|
|
@@ -18,11 +18,11 @@ export const packageJSONFile = `{
|
|
|
18
18
|
"@emotion/react": "11.11.4",
|
|
19
19
|
"@types/react": "18.2.60",
|
|
20
20
|
"@types/react-dom": "18.2.19",
|
|
21
|
-
"@workday/canvas-kit-labs-react": "13.2.
|
|
22
|
-
"@workday/canvas-kit-preview-react": "13.2.
|
|
23
|
-
"@workday/canvas-kit-react": "13.2.
|
|
24
|
-
"@workday/canvas-kit-react-fonts": "^13.2.
|
|
25
|
-
"@workday/canvas-kit-styling": "13.2.
|
|
21
|
+
"@workday/canvas-kit-labs-react": "13.2.22",
|
|
22
|
+
"@workday/canvas-kit-preview-react": "13.2.22",
|
|
23
|
+
"@workday/canvas-kit-react": "13.2.22",
|
|
24
|
+
"@workday/canvas-kit-react-fonts": "^13.2.22",
|
|
25
|
+
"@workday/canvas-kit-styling": "13.2.22",
|
|
26
26
|
"@workday/canvas-system-icons-web": "3.0.22",
|
|
27
27
|
"@workday/canvas-tokens-web": "2.0.0"
|
|
28
28
|
},
|
|
@@ -26,6 +26,7 @@ A note to the reader:
|
|
|
26
26
|
- While we still support our old tokens from `@workday/canvas-kit-react/tokens`, **you must**
|
|
27
27
|
install our new tokens from `@workday/canvas-tokens-web`. You can find more info in our
|
|
28
28
|
[docs](https://workday.github.io/canvas-tokens/?path=/docs/docs-getting-started--docs).
|
|
29
|
+
- If your application lives within another application that already imports the CSS variables, **you do not need to import these again**.
|
|
29
30
|
|
|
30
31
|
## Table of contents
|
|
31
32
|
|
|
@@ -66,9 +67,11 @@ A note to the reader:
|
|
|
66
67
|
In v12, all the components listed in this guide have started using our new
|
|
67
68
|
[Canvas Tokens Web](https://workday.github.io/canvas-tokens/?path=/docs/docs-getting-started--docs).
|
|
68
69
|
**You must** add `@workday/canvas-tokens-web` to ensure our components are properly styled and the
|
|
69
|
-
variables are defined. For more information on installing and using, please reference our tokens
|
|
70
|
+
variables are defined at the root of your application. For more information on installing and using, please reference our tokens
|
|
70
71
|
[docs](https://workday.github.io/canvas-tokens/?path=/docs/docs-getting-started--docs).
|
|
71
72
|
|
|
73
|
+
> **Note:** If your application lives within another application that already imports the CSS variables, **you do not need to import these again**. If you need them for local development either add them via a plugin or at the root of the environment, **do not ship code to production duplicating the imports**.
|
|
74
|
+
|
|
72
75
|
## Codemod
|
|
73
76
|
|
|
74
77
|
We've provided a [codemod](https://github.com/Workday/canvas-kit/tree/master/modules/codemod) to
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workday/canvas-kit-docs",
|
|
3
|
-
"version": "13.2.
|
|
3
|
+
"version": "13.2.22",
|
|
4
4
|
"description": "Documentation components of Canvas Kit components",
|
|
5
5
|
"author": "Workday, Inc. (https://www.workday.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -45,10 +45,10 @@
|
|
|
45
45
|
"@emotion/styled": "^11.6.0",
|
|
46
46
|
"@stackblitz/sdk": "^1.11.0",
|
|
47
47
|
"@storybook/csf": "0.0.1",
|
|
48
|
-
"@workday/canvas-kit-labs-react": "^13.2.
|
|
49
|
-
"@workday/canvas-kit-preview-react": "^13.2.
|
|
50
|
-
"@workday/canvas-kit-react": "^13.2.
|
|
51
|
-
"@workday/canvas-kit-styling": "^13.2.
|
|
48
|
+
"@workday/canvas-kit-labs-react": "^13.2.22",
|
|
49
|
+
"@workday/canvas-kit-preview-react": "^13.2.22",
|
|
50
|
+
"@workday/canvas-kit-react": "^13.2.22",
|
|
51
|
+
"@workday/canvas-kit-styling": "^13.2.22",
|
|
52
52
|
"@workday/canvas-system-icons-web": "^3.0.35",
|
|
53
53
|
"@workday/canvas-tokens-web": "^2.1.1",
|
|
54
54
|
"markdown-to-jsx": "^7.2.0",
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"mkdirp": "^1.0.3",
|
|
62
62
|
"typescript": "5.0"
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "93767f5e6c2993014d350450a892ce2ccf2b99a0"
|
|
65
65
|
}
|