@workday/canvas-kit-docs 14.2.15 → 14.2.17
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": "14.2.
|
|
22
|
-
"@workday/canvas-kit-preview-react": "14.2.
|
|
23
|
-
"@workday/canvas-kit-react": "14.2.
|
|
24
|
-
"@workday/canvas-kit-react-fonts": "^14.2.
|
|
25
|
-
"@workday/canvas-kit-styling": "14.2.
|
|
21
|
+
"@workday/canvas-kit-labs-react": "14.2.17",
|
|
22
|
+
"@workday/canvas-kit-preview-react": "14.2.17",
|
|
23
|
+
"@workday/canvas-kit-react": "14.2.17",
|
|
24
|
+
"@workday/canvas-kit-react-fonts": "^14.2.17",
|
|
25
|
+
"@workday/canvas-kit-styling": "14.2.17",
|
|
26
26
|
"@workday/canvas-system-icons-web": "3.0.36",
|
|
27
27
|
"@workday/canvas-tokens-web": "3.1.2"
|
|
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": "14.2.
|
|
22
|
-
"@workday/canvas-kit-preview-react": "14.2.
|
|
23
|
-
"@workday/canvas-kit-react": "14.2.
|
|
24
|
-
"@workday/canvas-kit-react-fonts": "^14.2.
|
|
25
|
-
"@workday/canvas-kit-styling": "14.2.
|
|
21
|
+
"@workday/canvas-kit-labs-react": "14.2.17",
|
|
22
|
+
"@workday/canvas-kit-preview-react": "14.2.17",
|
|
23
|
+
"@workday/canvas-kit-react": "14.2.17",
|
|
24
|
+
"@workday/canvas-kit-react-fonts": "^14.2.17",
|
|
25
|
+
"@workday/canvas-kit-styling": "14.2.17",
|
|
26
26
|
"@workday/canvas-system-icons-web": "3.0.36",
|
|
27
27
|
"@workday/canvas-tokens-web": "3.1.2"
|
|
28
28
|
},
|
|
@@ -2,7 +2,14 @@ import {StorybookStatusIndicator, DownloadLLMFile} from '@workday/canvas-kit-doc
|
|
|
2
2
|
import {StorybookInformationHighlight} from './StorybookInformationHighlight';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
# Canvas Kit Token Migration Guide: Moving to `@workday/canvas-tokens-web`
|
|
5
|
+
# Canvas Kit Token Migration Guide: Moving to `@workday/canvas-tokens-web@3.0.0`
|
|
6
|
+
|
|
7
|
+
<StorybookInformationHighlight
|
|
8
|
+
title="Note: This guide is for Canvas Tokens v3"
|
|
9
|
+
description="This guide is meant to help you migrate to Canvas Tokens v3. When we upgrade to Canvas Kit v15, we will update this guide to reflect the new tokens."
|
|
10
|
+
link="https://workday.github.io/canvas-tokens/?path=/docs/guides-upgrade-guides-v4-overview--docs"
|
|
11
|
+
linkText="Looking for Canvas Tokens v4? View docs here."
|
|
12
|
+
/>
|
|
6
13
|
|
|
7
14
|
Canvas Kit v10+ introduces a new token system that replaces the old JavaScript-based tokens from
|
|
8
15
|
`@workday/canvas-kit-react/tokens` with CSS variables from `@workday/canvas-tokens-web`. Canvas Kit
|
|
@@ -20,6 +27,13 @@ clear names (like `red.600`, `blue100`) instead of the previous "fruity" palette
|
|
|
20
27
|
|
|
21
28
|
## LLM Assisted Migration <StorybookStatusIndicator type="ai" />
|
|
22
29
|
|
|
30
|
+
<StorybookInformationHighlight
|
|
31
|
+
title="Note: Looking for an easier path to migrate?"
|
|
32
|
+
description="We recommend using the Canvas Kit MCP"
|
|
33
|
+
link="/?path=/docs/ai-for-llms-mcp-docs--docs"
|
|
34
|
+
linkText="Learn more about the Canvas Kit MCP"
|
|
35
|
+
/>
|
|
36
|
+
|
|
23
37
|
We provide a **LLM migration mapping file** (`llm-token-migration.txt`) specifically designed for
|
|
24
38
|
use with LLM-based code assistants (such as [Cursor](https://www.cursor.so/) or similar tools). This
|
|
25
39
|
file is not intended for direct human reference or team documentation, but rather as structured
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workday/canvas-kit-docs",
|
|
3
|
-
"version": "14.2.
|
|
3
|
+
"version": "14.2.17",
|
|
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": "^14.2.
|
|
49
|
-
"@workday/canvas-kit-preview-react": "^14.2.
|
|
50
|
-
"@workday/canvas-kit-react": "^14.2.
|
|
51
|
-
"@workday/canvas-kit-styling": "^14.2.
|
|
48
|
+
"@workday/canvas-kit-labs-react": "^14.2.17",
|
|
49
|
+
"@workday/canvas-kit-preview-react": "^14.2.17",
|
|
50
|
+
"@workday/canvas-kit-react": "^14.2.17",
|
|
51
|
+
"@workday/canvas-kit-styling": "^14.2.17",
|
|
52
52
|
"@workday/canvas-system-icons-web": "^3.0.36",
|
|
53
53
|
"@workday/canvas-tokens-web": "^3.1.6",
|
|
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": "68b3cf8b479e8b37a6903c6b29e2cf512e3cc00e"
|
|
65
65
|
}
|