@workday/canvas-kit-docs 9.0.0-alpha.411-next.13 → 9.0.0-alpha.412-next.14
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.
|
@@ -22,6 +22,7 @@ any questions.
|
|
|
22
22
|
- [Component Updates](#component-updates)
|
|
23
23
|
- [Button](#button)
|
|
24
24
|
- [Toast](#toast)
|
|
25
|
+
- [Collection](#collection)
|
|
25
26
|
- [Utility Updates](#utility-updates)
|
|
26
27
|
- [useTheme and getTheme](#usetheme-and-gettheme)
|
|
27
28
|
- [useThemedRing](#usethemedring)
|
|
@@ -287,6 +288,8 @@ return {
|
|
|
287
288
|
`as const` instructs Typescript the type is `readonly`. Typescript knows readonly values or objects
|
|
288
289
|
cannot be changed and will therefore narrow the type for you.
|
|
289
290
|
|
|
291
|
+
---
|
|
292
|
+
|
|
290
293
|
## Token Updates
|
|
291
294
|
|
|
292
295
|
### Depth
|
|
@@ -374,6 +377,16 @@ previously used `actionText` or `onActionClick`. The codemod will also update im
|
|
|
374
377
|
> **Note:** You will manually need to set `mode` to `alert` if your `Toast` conveys urgent and
|
|
375
378
|
> important information such as an error.
|
|
376
379
|
|
|
380
|
+
---
|
|
381
|
+
|
|
382
|
+
### Collection
|
|
383
|
+
|
|
384
|
+
Navigation was updated to use numerical indexes instead of string identifiers. The
|
|
385
|
+
`model.state.cursorId` is left unchanged. The change is to support virtual lists where navigation
|
|
386
|
+
knows where it needs to go, but the identifier may not be loaded yet. The mechanism for navigating
|
|
387
|
+
is private and should not breaking anything. If you created a custom navigation manager, the
|
|
388
|
+
signature has been changed.
|
|
389
|
+
|
|
377
390
|
## Utility Updates
|
|
378
391
|
|
|
379
392
|
### useTheme and getTheme
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workday/canvas-kit-docs",
|
|
3
|
-
"version": "9.0.0-alpha.
|
|
3
|
+
"version": "9.0.0-alpha.412-next.14+9f388cdd",
|
|
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,9 +44,9 @@
|
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@emotion/styled": "^11.6.0",
|
|
46
46
|
"@storybook/csf": "0.0.1",
|
|
47
|
-
"@workday/canvas-kit-labs-react": "^9.0.0-alpha.
|
|
48
|
-
"@workday/canvas-kit-preview-react": "^9.0.0-alpha.
|
|
49
|
-
"@workday/canvas-kit-react": "^9.0.0-alpha.
|
|
47
|
+
"@workday/canvas-kit-labs-react": "^9.0.0-alpha.412-next.14+9f388cdd",
|
|
48
|
+
"@workday/canvas-kit-preview-react": "^9.0.0-alpha.412-next.14+9f388cdd",
|
|
49
|
+
"@workday/canvas-kit-react": "^9.0.0-alpha.412-next.14+9f388cdd",
|
|
50
50
|
"@workday/canvas-system-icons-web": "^3.0.0",
|
|
51
51
|
"markdown-to-jsx": "^6.10.3",
|
|
52
52
|
"ts-node": "^10.9.1"
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"mkdirp": "^1.0.3",
|
|
58
58
|
"typescript": "4.2"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "9f388cdd6b5969971ee3e1464f191a67bb8e0b23"
|
|
61
61
|
}
|