@workday/canvas-kit-docs 17.0.0-alpha.0591-next.0 → 17.0.0-alpha.0595-next.0
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": "16.0.
|
|
22
|
-
"@workday/canvas-kit-preview-react": "16.0.
|
|
23
|
-
"@workday/canvas-kit-react": "16.0.
|
|
24
|
-
"@workday/canvas-kit-react-fonts": "^16.0.
|
|
25
|
-
"@workday/canvas-kit-styling": "16.0.
|
|
21
|
+
"@workday/canvas-kit-labs-react": "16.0.17",
|
|
22
|
+
"@workday/canvas-kit-preview-react": "16.0.17",
|
|
23
|
+
"@workday/canvas-kit-react": "16.0.17",
|
|
24
|
+
"@workday/canvas-kit-react-fonts": "^16.0.17",
|
|
25
|
+
"@workday/canvas-kit-styling": "16.0.17",
|
|
26
26
|
"@workday/canvas-system-icons-web": "^5.0.3",
|
|
27
27
|
"@workday/canvas-expressive-icons-web": "1.0.1",
|
|
28
28
|
"@workday/canvas-tokens-web": "4.4.0-beta.11"
|
|
@@ -19,11 +19,11 @@ export const packageJSONFile = `{
|
|
|
19
19
|
"@emotion/react": "11.11.4",
|
|
20
20
|
"@types/react": "18.2.60",
|
|
21
21
|
"@types/react-dom": "18.2.19",
|
|
22
|
-
"@workday/canvas-kit-labs-react": "16.0.
|
|
23
|
-
"@workday/canvas-kit-preview-react": "16.0.
|
|
24
|
-
"@workday/canvas-kit-react": "16.0.
|
|
25
|
-
"@workday/canvas-kit-react-fonts": "^16.0.
|
|
26
|
-
"@workday/canvas-kit-styling": "16.0.
|
|
22
|
+
"@workday/canvas-kit-labs-react": "16.0.17",
|
|
23
|
+
"@workday/canvas-kit-preview-react": "16.0.17",
|
|
24
|
+
"@workday/canvas-kit-react": "16.0.17",
|
|
25
|
+
"@workday/canvas-kit-react-fonts": "^16.0.17",
|
|
26
|
+
"@workday/canvas-kit-styling": "16.0.17",
|
|
27
27
|
"@workday/canvas-system-icons-web": "^5.0.3",
|
|
28
28
|
"@workday/canvas-expressive-icons-web": "1.0.1",
|
|
29
29
|
"@workday/canvas-tokens-web": "4.4.0-beta.11"
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# Agent Skills
|
|
2
|
+
|
|
3
|
+
Canvas Kit ships a **consumer-facing** skill set for AI coding agents (Cursor, Claude, Copilot, and
|
|
4
|
+
similar tools). Each skill is a `SKILL.md` file under [`skills/`](../../../../skills/README.md) in
|
|
5
|
+
this repository. Agents load them to write, style, migrate, and review UI that follows Canvas Kit
|
|
6
|
+
correctly.
|
|
7
|
+
|
|
8
|
+
These skills target the **current generation**: Canvas Kit **v16** +
|
|
9
|
+
`@workday/canvas-tokens-web` **4.4** (Sana Canvas theme). They do **not** cover maintainer-only
|
|
10
|
+
concerns (`system.legacy.*` in `modules/**/lib/**`, Chromatic class twins, publishing) — see
|
|
11
|
+
[`AGENTS.md`](../../../../AGENTS.md) and [`STYLE.md`](../../../../STYLE.md) for that workflow.
|
|
12
|
+
|
|
13
|
+
## Installing skills
|
|
14
|
+
|
|
15
|
+
Copy or symlink the [`skills/`](../../../../skills/) directory into your editor's skills location
|
|
16
|
+
(for example `.cursor/skills/` or `.claude/skills/`), or point your agent configuration at the
|
|
17
|
+
folder in a checkout of this repo.
|
|
18
|
+
|
|
19
|
+
Start every version-sensitive task with the **Version Detection** skill so tables from other skills
|
|
20
|
+
match what's installed in `node_modules`.
|
|
21
|
+
|
|
22
|
+
## Skill catalog
|
|
23
|
+
|
|
24
|
+
| Skill | Use when | Source on GitHub |
|
|
25
|
+
| ----- | -------- | ---------------- |
|
|
26
|
+
| [Version Detection](../../../../skills/sana-canvas-kit-version/SKILL.md) | Detect installed Canvas Kit / tokens-web versions; lookup upgrade guides | [references.md](../../../../skills/sana-canvas-kit-version/references.md) |
|
|
27
|
+
| [Tokens](../../../../skills/sana-canvas-kit-tokens/SKILL.md) | Pick tokens by role; accessible color pairings; CSS-variable troubleshooting | [references.md](../../../../skills/sana-canvas-kit-tokens/references.md) |
|
|
28
|
+
| [Styling](../../../../skills/sana-canvas-kit-styling/SKILL.md) | `createStyles`, `createStencil`, `cs`, layout without `Box`/`Flex` | — |
|
|
29
|
+
| [Design Principles](../../../../skills/sana-canvas-kit-design-principles/SKILL.md) | Which component fits a use case; dos/don'ts snapshot | [references/components.md](../../../../skills/sana-canvas-kit-design-principles/references/components.md) |
|
|
30
|
+
| [Accessibility](../../../../skills/sana-canvas-kit-accessibility/SKILL.md) | Labels, keyboard, focus, popups, forms, live regions | [references.md](../../../../skills/sana-canvas-kit-accessibility/references.md) |
|
|
31
|
+
| [Component Selection](../../../../skills/sana-canvas-kit-component-selection/SKILL.md) | Avoid `@deprecated` exports; Main vs Preview vs Labs | [references.md](../../../../skills/sana-canvas-kit-component-selection/references.md) |
|
|
32
|
+
| [Icons](../../../../skills/sana-canvas-kit-icons/SKILL.md) | System/expressive icons; `icon-migration` codemod | — |
|
|
33
|
+
| [Migration](../../../../skills/sana-canvas-kit-migration/SKILL.md) | Run `@workday/canvas-kit-codemod` across majors | [references.md](../../../../skills/sana-canvas-kit-migration/references.md) |
|
|
34
|
+
| [Builder](../../../../skills/sana-canvas-kit-builder/SKILL.md) | Custom components with Canvas Kit factories | — |
|
|
35
|
+
| [Review](../../../../skills/sana-canvas-kit-review/SKILL.md) | Report-only design-system compliance check on a diff | — |
|
|
36
|
+
|
|
37
|
+
Full index and dependency notes: [`skills/README.md`](../../../../skills/README.md).
|
|
38
|
+
|
|
39
|
+
## How skills depend on each other
|
|
40
|
+
|
|
41
|
+
Run **Version Detection** first whenever another skill's guidance might be release-specific.
|
|
42
|
+
|
|
43
|
+
```
|
|
44
|
+
version → tokens, styling, component-selection, icons, migration, review
|
|
45
|
+
tokens → styling, design-principles, accessibility, builder, review
|
|
46
|
+
component-selection → accessibility, icons, review
|
|
47
|
+
accessibility → design-principles, builder, review
|
|
48
|
+
styling → builder, review
|
|
49
|
+
design-principles → builder, review
|
|
50
|
+
migration → review
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## Related tooling
|
|
54
|
+
|
|
55
|
+
- **Canvas Kit MCP** — runtime docs, upgrade guides, and accessibility scenarios for agents.
|
|
56
|
+
See [MCP Docs](../../../mcp/stories/mdx/MCPDocs.mdx) (under **AI For LLMs** in the sidebar).
|
|
57
|
+
- **Maintainer agent guide** — [`AGENTS.md`](../../../../AGENTS.md) for contributing to this repo.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workday/canvas-kit-docs",
|
|
3
|
-
"version": "17.0.0-alpha.
|
|
3
|
+
"version": "17.0.0-alpha.0595-next.0",
|
|
4
4
|
"description": "Documentation components of Canvas Kit components",
|
|
5
5
|
"author": "Workday, Inc. (https://www.workday.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -47,10 +47,10 @@
|
|
|
47
47
|
"@stackblitz/sdk": "^1.11.0",
|
|
48
48
|
"@storybook/csf": "0.0.1",
|
|
49
49
|
"@workday/canvas-expressive-icons-web": "1.0.2",
|
|
50
|
-
"@workday/canvas-kit-labs-react": "^17.0.0-alpha.
|
|
51
|
-
"@workday/canvas-kit-preview-react": "^17.0.0-alpha.
|
|
52
|
-
"@workday/canvas-kit-react": "^17.0.0-alpha.
|
|
53
|
-
"@workday/canvas-kit-styling": "^17.0.0-alpha.
|
|
50
|
+
"@workday/canvas-kit-labs-react": "^17.0.0-alpha.0595-next.0",
|
|
51
|
+
"@workday/canvas-kit-preview-react": "^17.0.0-alpha.0595-next.0",
|
|
52
|
+
"@workday/canvas-kit-react": "^17.0.0-alpha.0595-next.0",
|
|
53
|
+
"@workday/canvas-kit-styling": "^17.0.0-alpha.0595-next.0",
|
|
54
54
|
"@workday/canvas-system-icons-web": "^5.0.3",
|
|
55
55
|
"@workday/canvas-tokens-web": "^4.4.0",
|
|
56
56
|
"markdown-to-jsx": "^7.2.0",
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"mkdirp": "^1.0.3",
|
|
64
64
|
"typescript": "5.0"
|
|
65
65
|
},
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "0fce0faf5b9716e106c75fbe78b12badd90e4605"
|
|
67
67
|
}
|