@workday/canvas-kit-preview-react 9.0.0-alpha.405-next.7 → 9.0.0-alpha.407-next.9
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.
- package/dist/commonjs/menu/lib/Menu.d.ts +6 -6
- package/dist/commonjs/menu/lib/Menu.js +2 -2
- package/dist/commonjs/menu/lib/MenuItem.d.ts +4 -4
- package/dist/commonjs/menu/lib/MenuItem.js +2 -2
- package/dist/es6/menu/lib/Menu.d.ts +6 -6
- package/dist/es6/menu/lib/Menu.js +2 -2
- package/dist/es6/menu/lib/MenuItem.d.ts +4 -4
- package/dist/es6/menu/lib/MenuItem.js +2 -2
- package/menu/lib/Menu.tsx +6 -6
- package/menu/lib/MenuItem.tsx +4 -4
- package/package.json +3 -3
|
@@ -4,8 +4,8 @@ import { GrowthBehavior } from '@workday/canvas-kit-react/common';
|
|
|
4
4
|
/**
|
|
5
5
|
* ### Deprecated Menu
|
|
6
6
|
*
|
|
7
|
-
* As of Canvas Kit v8, Menu is being
|
|
8
|
-
* It will be
|
|
7
|
+
* As of Canvas Kit v8, Menu is being deprecated.
|
|
8
|
+
* It will be removed in v10. Please see the
|
|
9
9
|
* [upgrade guide](https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page)
|
|
10
10
|
* for more information.
|
|
11
11
|
*/
|
|
@@ -47,8 +47,8 @@ export interface DeprecatedMenuProps extends GrowthBehavior, React.HTMLAttribute
|
|
|
47
47
|
/**
|
|
48
48
|
* ### Deprecated Menu State
|
|
49
49
|
*
|
|
50
|
-
* As of Canvas Kit v8, Menu is being
|
|
51
|
-
* It will be
|
|
50
|
+
* As of Canvas Kit v8, Menu is being deprecated.
|
|
51
|
+
* It will be removed in v10. Please see the
|
|
52
52
|
* [upgrade guide](https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page)
|
|
53
53
|
* for more information.
|
|
54
54
|
*/
|
|
@@ -56,8 +56,8 @@ export interface DeprecatedMenuState {
|
|
|
56
56
|
selectedItemIndex: number;
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
|
-
* As of Canvas Kit v8,
|
|
60
|
-
*
|
|
59
|
+
* As of Canvas Kit v8, Menu is being deprecated.
|
|
60
|
+
* It will be removed in v10. Please see the [upgrade
|
|
61
61
|
* guide](https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page) for
|
|
62
62
|
* more information.
|
|
63
63
|
*
|
|
@@ -39,8 +39,8 @@ const List = styled_1.default('ul')({
|
|
|
39
39
|
...common_1.hideMouseFocus,
|
|
40
40
|
});
|
|
41
41
|
/**
|
|
42
|
-
* As of Canvas Kit v8,
|
|
43
|
-
*
|
|
42
|
+
* As of Canvas Kit v8, Menu is being deprecated.
|
|
43
|
+
* It will be removed in v10. Please see the [upgrade
|
|
44
44
|
* guide](https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page) for
|
|
45
45
|
* more information.
|
|
46
46
|
*
|
|
@@ -3,8 +3,8 @@ import { CanvasSystemIcon } from '@workday/design-assets-types';
|
|
|
3
3
|
/**
|
|
4
4
|
* ### Deprecated Menu Item Props
|
|
5
5
|
*
|
|
6
|
-
* As of Canvas Kit v8, Menu is being
|
|
7
|
-
* It will be
|
|
6
|
+
* As of Canvas Kit v8, Menu is being deprecated.
|
|
7
|
+
* It will be removed in v10. Please see the
|
|
8
8
|
* [upgrade guide](https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page)
|
|
9
9
|
* for more information.
|
|
10
10
|
*/
|
|
@@ -65,8 +65,8 @@ export interface DeprecatedMenuItemProps extends React.LiHTMLAttributes<HTMLLIEl
|
|
|
65
65
|
* - `tabindex={-1}`
|
|
66
66
|
* - `id`s following this pattern: `${MenuId}-${index}`
|
|
67
67
|
*
|
|
68
|
-
* As of Canvas Kit v8, Menu is being
|
|
69
|
-
* removed
|
|
68
|
+
* As of Canvas Kit v8, Menu is being deprecated.
|
|
69
|
+
* It will be removed in v10. Please see the [upgrade
|
|
70
70
|
* guide](https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page) for
|
|
71
71
|
* more information.
|
|
72
72
|
*
|
|
@@ -192,8 +192,8 @@ const scrollIntoViewIfNeeded = (elem, centerIfNeeded = true) => {
|
|
|
192
192
|
* - `tabindex={-1}`
|
|
193
193
|
* - `id`s following this pattern: `${MenuId}-${index}`
|
|
194
194
|
*
|
|
195
|
-
* As of Canvas Kit v8, Menu is being
|
|
196
|
-
* removed
|
|
195
|
+
* As of Canvas Kit v8, Menu is being deprecated.
|
|
196
|
+
* It will be removed in v10. Please see the [upgrade
|
|
197
197
|
* guide](https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page) for
|
|
198
198
|
* more information.
|
|
199
199
|
*
|
|
@@ -4,8 +4,8 @@ import { GrowthBehavior } from '@workday/canvas-kit-react/common';
|
|
|
4
4
|
/**
|
|
5
5
|
* ### Deprecated Menu
|
|
6
6
|
*
|
|
7
|
-
* As of Canvas Kit v8, Menu is being
|
|
8
|
-
* It will be
|
|
7
|
+
* As of Canvas Kit v8, Menu is being deprecated.
|
|
8
|
+
* It will be removed in v10. Please see the
|
|
9
9
|
* [upgrade guide](https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page)
|
|
10
10
|
* for more information.
|
|
11
11
|
*/
|
|
@@ -47,8 +47,8 @@ export interface DeprecatedMenuProps extends GrowthBehavior, React.HTMLAttribute
|
|
|
47
47
|
/**
|
|
48
48
|
* ### Deprecated Menu State
|
|
49
49
|
*
|
|
50
|
-
* As of Canvas Kit v8, Menu is being
|
|
51
|
-
* It will be
|
|
50
|
+
* As of Canvas Kit v8, Menu is being deprecated.
|
|
51
|
+
* It will be removed in v10. Please see the
|
|
52
52
|
* [upgrade guide](https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page)
|
|
53
53
|
* for more information.
|
|
54
54
|
*/
|
|
@@ -56,8 +56,8 @@ export interface DeprecatedMenuState {
|
|
|
56
56
|
selectedItemIndex: number;
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
|
-
* As of Canvas Kit v8,
|
|
60
|
-
*
|
|
59
|
+
* As of Canvas Kit v8, Menu is being deprecated.
|
|
60
|
+
* It will be removed in v10. Please see the [upgrade
|
|
61
61
|
* guide](https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page) for
|
|
62
62
|
* more information.
|
|
63
63
|
*
|
|
@@ -14,8 +14,8 @@ const List = styled('ul')({
|
|
|
14
14
|
...hideMouseFocus,
|
|
15
15
|
});
|
|
16
16
|
/**
|
|
17
|
-
* As of Canvas Kit v8,
|
|
18
|
-
*
|
|
17
|
+
* As of Canvas Kit v8, Menu is being deprecated.
|
|
18
|
+
* It will be removed in v10. Please see the [upgrade
|
|
19
19
|
* guide](https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page) for
|
|
20
20
|
* more information.
|
|
21
21
|
*
|
|
@@ -3,8 +3,8 @@ import { CanvasSystemIcon } from '@workday/design-assets-types';
|
|
|
3
3
|
/**
|
|
4
4
|
* ### Deprecated Menu Item Props
|
|
5
5
|
*
|
|
6
|
-
* As of Canvas Kit v8, Menu is being
|
|
7
|
-
* It will be
|
|
6
|
+
* As of Canvas Kit v8, Menu is being deprecated.
|
|
7
|
+
* It will be removed in v10. Please see the
|
|
8
8
|
* [upgrade guide](https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page)
|
|
9
9
|
* for more information.
|
|
10
10
|
*/
|
|
@@ -65,8 +65,8 @@ export interface DeprecatedMenuItemProps extends React.LiHTMLAttributes<HTMLLIEl
|
|
|
65
65
|
* - `tabindex={-1}`
|
|
66
66
|
* - `id`s following this pattern: `${MenuId}-${index}`
|
|
67
67
|
*
|
|
68
|
-
* As of Canvas Kit v8, Menu is being
|
|
69
|
-
* removed
|
|
68
|
+
* As of Canvas Kit v8, Menu is being deprecated.
|
|
69
|
+
* It will be removed in v10. Please see the [upgrade
|
|
70
70
|
* guide](https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page) for
|
|
71
71
|
* more information.
|
|
72
72
|
*
|
|
@@ -167,8 +167,8 @@ const scrollIntoViewIfNeeded = (elem, centerIfNeeded = true) => {
|
|
|
167
167
|
* - `tabindex={-1}`
|
|
168
168
|
* - `id`s following this pattern: `${MenuId}-${index}`
|
|
169
169
|
*
|
|
170
|
-
* As of Canvas Kit v8, Menu is being
|
|
171
|
-
* removed
|
|
170
|
+
* As of Canvas Kit v8, Menu is being deprecated.
|
|
171
|
+
* It will be removed in v10. Please see the [upgrade
|
|
172
172
|
* guide](https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page) for
|
|
173
173
|
* more information.
|
|
174
174
|
*
|
package/menu/lib/Menu.tsx
CHANGED
|
@@ -9,8 +9,8 @@ import {hideMouseFocus, GrowthBehavior, generateUniqueId} from '@workday/canvas-
|
|
|
9
9
|
/**
|
|
10
10
|
* ### Deprecated Menu
|
|
11
11
|
*
|
|
12
|
-
* As of Canvas Kit v8, Menu is being
|
|
13
|
-
* It will be
|
|
12
|
+
* As of Canvas Kit v8, Menu is being deprecated.
|
|
13
|
+
* It will be removed in v10. Please see the
|
|
14
14
|
* [upgrade guide](https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page)
|
|
15
15
|
* for more information.
|
|
16
16
|
*/
|
|
@@ -57,8 +57,8 @@ export interface DeprecatedMenuProps
|
|
|
57
57
|
/**
|
|
58
58
|
* ### Deprecated Menu State
|
|
59
59
|
*
|
|
60
|
-
* As of Canvas Kit v8, Menu is being
|
|
61
|
-
* It will be
|
|
60
|
+
* As of Canvas Kit v8, Menu is being deprecated.
|
|
61
|
+
* It will be removed in v10. Please see the
|
|
62
62
|
* [upgrade guide](https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page)
|
|
63
63
|
* for more information.
|
|
64
64
|
*/
|
|
@@ -78,8 +78,8 @@ const List = styled('ul')({
|
|
|
78
78
|
});
|
|
79
79
|
|
|
80
80
|
/**
|
|
81
|
-
* As of Canvas Kit v8,
|
|
82
|
-
*
|
|
81
|
+
* As of Canvas Kit v8, Menu is being deprecated.
|
|
82
|
+
* It will be removed in v10. Please see the [upgrade
|
|
83
83
|
* guide](https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page) for
|
|
84
84
|
* more information.
|
|
85
85
|
*
|
package/menu/lib/MenuItem.tsx
CHANGED
|
@@ -14,8 +14,8 @@ import {SystemIcon, SystemIconProps} from '@workday/canvas-kit-react/icon';
|
|
|
14
14
|
/**
|
|
15
15
|
* ### Deprecated Menu Item Props
|
|
16
16
|
*
|
|
17
|
-
* As of Canvas Kit v8, Menu is being
|
|
18
|
-
* It will be
|
|
17
|
+
* As of Canvas Kit v8, Menu is being deprecated.
|
|
18
|
+
* It will be removed in v10. Please see the
|
|
19
19
|
* [upgrade guide](https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page)
|
|
20
20
|
* for more information.
|
|
21
21
|
*/
|
|
@@ -262,8 +262,8 @@ const scrollIntoViewIfNeeded = (elem: HTMLElement, centerIfNeeded = true): void
|
|
|
262
262
|
* - `tabindex={-1}`
|
|
263
263
|
* - `id`s following this pattern: `${MenuId}-${index}`
|
|
264
264
|
*
|
|
265
|
-
* As of Canvas Kit v8, Menu is being
|
|
266
|
-
* removed
|
|
265
|
+
* As of Canvas Kit v8, Menu is being deprecated.
|
|
266
|
+
* It will be removed in v10. Please see the [upgrade
|
|
267
267
|
* guide](https://workday.github.io/canvas-kit/?path=/story/welcome-upgrade-guides-v8-0--page) for
|
|
268
268
|
* more information.
|
|
269
269
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workday/canvas-kit-preview-react",
|
|
3
|
-
"version": "9.0.0-alpha.
|
|
3
|
+
"version": "9.0.0-alpha.407-next.9+2b1ba94f",
|
|
4
4
|
"description": "Canvas Kit Preview is made up of components that have the full design and a11y review, are part of the DS ecosystem and are approved for use in product. The API's could be subject to change, but not without strong communication and migration strategies.",
|
|
5
5
|
"author": "Workday, Inc. (https://www.workday.com)",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@emotion/react": "^11.7.1",
|
|
48
48
|
"@emotion/styled": "^11.6.0",
|
|
49
|
-
"@workday/canvas-kit-react": "^9.0.0-alpha.
|
|
49
|
+
"@workday/canvas-kit-react": "^9.0.0-alpha.407-next.9+2b1ba94f",
|
|
50
50
|
"@workday/canvas-system-icons-web": "^3.0.0",
|
|
51
51
|
"@workday/design-assets-types": "^0.2.8"
|
|
52
52
|
},
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"react-hook-form": "7.36.1",
|
|
57
57
|
"yup": "^0.32.11"
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "2b1ba94f0e4bd308665768595fc5fa39535a7763"
|
|
60
60
|
}
|