@workday/canvas-kit-docs 11.0.0-alpha.806-next.0 → 11.0.1
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.
|
@@ -23,9 +23,9 @@ provide semantic tokens that can translate to theming components.
|
|
|
23
23
|
|
|
24
24
|
A note to the reader:
|
|
25
25
|
|
|
26
|
-
- While we still support our old tokens from `@workday/canvas-kit-react/tokens`
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
- While we still support our old tokens from `@workday/canvas-kit-react/tokens` in v11, you must
|
|
27
|
+
install our new tokens from `@workday/canvas-tokens-web`. You can find more info in our
|
|
28
|
+
[docs](https://workday.github.io/canvas-tokens/?path=/docs/docs-getting-started--docs).
|
|
29
29
|
- In this release, we've introduced a
|
|
30
30
|
[new styling API](https://workday.github.io/canvas-kit/?path=/docs/styling-basics--create-stencil).
|
|
31
31
|
This shouldn't effect the way you currently style your components. Because we're moving away from
|
|
@@ -35,6 +35,7 @@ A note to the reader:
|
|
|
35
35
|
|
|
36
36
|
## Table of contents
|
|
37
37
|
|
|
38
|
+
- [Canvas Tokens](#canvas-tokens)
|
|
38
39
|
- [Codemod](#codemod)
|
|
39
40
|
- [Deprecations](#deprecations)
|
|
40
41
|
- [Form Field (Main)](#form-field-main)
|
|
@@ -60,6 +61,15 @@ A note to the reader:
|
|
|
60
61
|
- [Preview](#preview)
|
|
61
62
|
- [Labs](#labs)
|
|
62
63
|
|
|
64
|
+
## Canvas Tokens
|
|
65
|
+
|
|
66
|
+
In v11, all the components listed in this guide have started using our new
|
|
67
|
+
[Canvas Tokens Web](https://workday.github.io/canvas-tokens/?path=/docs/docs-getting-started--docs).
|
|
68
|
+
In v10, we provided token fallbacks so that a component would not be missing a token/value if the tokens were not defined. In v11 you must add `@workday/canvas-tokens-web` to ensure our
|
|
69
|
+
components are properly styled and the variables are defined. For more information on installing and
|
|
70
|
+
using, please reference our tokens
|
|
71
|
+
[docs](https://workday.github.io/canvas-tokens/?path=/docs/docs-getting-started--docs).
|
|
72
|
+
|
|
63
73
|
## Codemod
|
|
64
74
|
|
|
65
75
|
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": "11.0.
|
|
3
|
+
"version": "11.0.1",
|
|
4
4
|
"description": "Documentation components of Canvas Kit components",
|
|
5
5
|
"author": "Workday, Inc. (https://www.workday.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -44,10 +44,10 @@
|
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@emotion/styled": "^11.6.0",
|
|
46
46
|
"@storybook/csf": "0.0.1",
|
|
47
|
-
"@workday/canvas-kit-labs-react": "^11.0.
|
|
48
|
-
"@workday/canvas-kit-preview-react": "^11.0.
|
|
49
|
-
"@workday/canvas-kit-react": "^11.0.
|
|
50
|
-
"@workday/canvas-kit-styling": "^11.0.
|
|
47
|
+
"@workday/canvas-kit-labs-react": "^11.0.1",
|
|
48
|
+
"@workday/canvas-kit-preview-react": "^11.0.1",
|
|
49
|
+
"@workday/canvas-kit-react": "^11.0.1",
|
|
50
|
+
"@workday/canvas-kit-styling": "^11.0.1",
|
|
51
51
|
"@workday/canvas-system-icons-web": "^3.0.0",
|
|
52
52
|
"@workday/canvas-tokens-web": "^1.3.1",
|
|
53
53
|
"markdown-to-jsx": "^6.10.3",
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"mkdirp": "^1.0.3",
|
|
60
60
|
"typescript": "4.2"
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "17945e6fcc65d3b9f937407558b8df394acacdbc"
|
|
63
63
|
}
|