@workday/canvas-kit-react 9.0.0-alpha.415-next.17 → 9.0.0-alpha.417-next.19
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/collection/index.ts +1 -0
- package/collection/lib/useCursorListModel.tsx +17 -18
- package/collection/lib/useListItemAllowChildStrings.ts +3 -3
- package/collection/lib/useListItemRovingFocus.tsx +26 -7
- package/collection/lib/useListLoader.ts +313 -0
- package/dist/commonjs/action-bar/lib/ActionBar.d.ts +427 -124
- package/dist/commonjs/action-bar/lib/ActionBar.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/ActionBarItem.d.ts +21 -12
- package/dist/commonjs/action-bar/lib/ActionBarItem.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/ActionBarList.d.ts +21 -12
- package/dist/commonjs/action-bar/lib/ActionBarList.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/ActionBarOverflowButton.d.ts +28 -16
- package/dist/commonjs/action-bar/lib/ActionBarOverflowButton.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/useActionBarModel.d.ts +205 -52
- package/dist/commonjs/action-bar/lib/useActionBarModel.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/Breadcrumbs.d.ts +448 -136
- package/dist/commonjs/breadcrumbs/lib/Breadcrumbs.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts +28 -16
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsItem.d.ts +21 -12
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsItem.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsList.d.ts +14 -8
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsList.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsMenu.d.ts +208 -64
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsMenu.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts +28 -16
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts.map +1 -1
- package/dist/commonjs/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts +205 -52
- package/dist/commonjs/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts.map +1 -1
- package/dist/commonjs/collection/index.d.ts +1 -0
- package/dist/commonjs/collection/index.d.ts.map +1 -1
- package/dist/commonjs/collection/index.js +1 -0
- package/dist/commonjs/collection/lib/ListBox.d.ts +162 -48
- package/dist/commonjs/collection/lib/ListBox.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useCursorListModel.d.ts +354 -56
- package/dist/commonjs/collection/lib/useCursorListModel.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useCursorListModel.js +12 -15
- package/dist/commonjs/collection/lib/useGridModel.d.ts +155 -44
- package/dist/commonjs/collection/lib/useGridModel.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useListItemAllowChildStrings.d.ts +10 -7
- package/dist/commonjs/collection/lib/useListItemAllowChildStrings.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useListItemAllowChildStrings.js +3 -3
- package/dist/commonjs/collection/lib/useListItemRegister.d.ts +7 -4
- package/dist/commonjs/collection/lib/useListItemRegister.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useListItemRovingFocus.d.ts +7 -5
- package/dist/commonjs/collection/lib/useListItemRovingFocus.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useListItemRovingFocus.js +21 -8
- package/dist/commonjs/collection/lib/useListItemSelect.d.ts +7 -4
- package/dist/commonjs/collection/lib/useListItemSelect.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useListLoader.d.ts +67 -0
- package/dist/commonjs/collection/lib/useListLoader.d.ts.map +1 -0
- package/dist/commonjs/collection/lib/useListLoader.js +213 -0
- package/dist/commonjs/collection/lib/useListModel.d.ts +155 -44
- package/dist/commonjs/collection/lib/useListModel.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useListResetCursorOnBlur.d.ts +7 -4
- package/dist/commonjs/collection/lib/useListResetCursorOnBlur.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useOverflowListItemMeasure.d.ts +7 -4
- package/dist/commonjs/collection/lib/useOverflowListItemMeasure.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useOverflowListMeasure.d.ts +7 -4
- package/dist/commonjs/collection/lib/useOverflowListMeasure.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useOverflowListModel.d.ts +191 -44
- package/dist/commonjs/collection/lib/useOverflowListModel.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useOverflowListTarget.d.ts +7 -4
- package/dist/commonjs/collection/lib/useOverflowListTarget.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useSelectionListModel.d.ts +155 -44
- package/dist/commonjs/collection/lib/useSelectionListModel.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/Menu.d.ts +201 -60
- package/dist/commonjs/menu/lib/Menu.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/MenuCard.d.ts +14 -8
- package/dist/commonjs/menu/lib/MenuCard.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/MenuContextTarget.d.ts +21 -12
- package/dist/commonjs/menu/lib/MenuContextTarget.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/MenuItem.d.ts +14 -9
- package/dist/commonjs/menu/lib/MenuItem.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/MenuList.d.ts +14 -8
- package/dist/commonjs/menu/lib/MenuList.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/MenuPopper.d.ts +7 -4
- package/dist/commonjs/menu/lib/MenuPopper.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/MenuTarget.d.ts +35 -20
- package/dist/commonjs/menu/lib/MenuTarget.d.ts.map +1 -1
- package/dist/commonjs/menu/lib/useMenuModel.d.ts +173 -44
- package/dist/commonjs/menu/lib/useMenuModel.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/Tabs.d.ts +626 -176
- package/dist/commonjs/tabs/lib/Tabs.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsItem.d.ts +28 -17
- package/dist/commonjs/tabs/lib/TabsItem.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsList.d.ts +28 -16
- package/dist/commonjs/tabs/lib/TabsList.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsMenuPopper.d.ts +7 -4
- package/dist/commonjs/tabs/lib/TabsMenuPopper.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsOverflowButton.d.ts +28 -16
- package/dist/commonjs/tabs/lib/TabsOverflowButton.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsPanel.d.ts +28 -16
- package/dist/commonjs/tabs/lib/TabsPanel.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsPanels.d.ts +14 -8
- package/dist/commonjs/tabs/lib/TabsPanels.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/useTabsModel.d.ts +521 -116
- package/dist/commonjs/tabs/lib/useTabsModel.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/ActionBar.d.ts +427 -124
- package/dist/es6/action-bar/lib/ActionBar.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/ActionBarItem.d.ts +21 -12
- package/dist/es6/action-bar/lib/ActionBarItem.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/ActionBarList.d.ts +21 -12
- package/dist/es6/action-bar/lib/ActionBarList.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/ActionBarOverflowButton.d.ts +28 -16
- package/dist/es6/action-bar/lib/ActionBarOverflowButton.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/useActionBarModel.d.ts +205 -52
- package/dist/es6/action-bar/lib/useActionBarModel.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/Breadcrumbs.d.ts +448 -136
- package/dist/es6/breadcrumbs/lib/Breadcrumbs.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts +28 -16
- package/dist/es6/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/BreadcrumbsItem.d.ts +21 -12
- package/dist/es6/breadcrumbs/lib/BreadcrumbsItem.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/BreadcrumbsList.d.ts +14 -8
- package/dist/es6/breadcrumbs/lib/BreadcrumbsList.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/BreadcrumbsMenu.d.ts +208 -64
- package/dist/es6/breadcrumbs/lib/BreadcrumbsMenu.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts +28 -16
- package/dist/es6/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts.map +1 -1
- package/dist/es6/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts +205 -52
- package/dist/es6/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts.map +1 -1
- package/dist/es6/collection/index.d.ts +1 -0
- package/dist/es6/collection/index.d.ts.map +1 -1
- package/dist/es6/collection/index.js +1 -0
- package/dist/es6/collection/lib/ListBox.d.ts +162 -48
- package/dist/es6/collection/lib/ListBox.d.ts.map +1 -1
- package/dist/es6/collection/lib/useCursorListModel.d.ts +354 -56
- package/dist/es6/collection/lib/useCursorListModel.d.ts.map +1 -1
- package/dist/es6/collection/lib/useCursorListModel.js +12 -15
- package/dist/es6/collection/lib/useGridModel.d.ts +155 -44
- package/dist/es6/collection/lib/useGridModel.d.ts.map +1 -1
- package/dist/es6/collection/lib/useListItemAllowChildStrings.d.ts +10 -7
- package/dist/es6/collection/lib/useListItemAllowChildStrings.d.ts.map +1 -1
- package/dist/es6/collection/lib/useListItemAllowChildStrings.js +3 -3
- package/dist/es6/collection/lib/useListItemRegister.d.ts +7 -4
- package/dist/es6/collection/lib/useListItemRegister.d.ts.map +1 -1
- package/dist/es6/collection/lib/useListItemRovingFocus.d.ts +7 -5
- package/dist/es6/collection/lib/useListItemRovingFocus.d.ts.map +1 -1
- package/dist/es6/collection/lib/useListItemRovingFocus.js +21 -8
- package/dist/es6/collection/lib/useListItemSelect.d.ts +7 -4
- package/dist/es6/collection/lib/useListItemSelect.d.ts.map +1 -1
- package/dist/es6/collection/lib/useListLoader.d.ts +67 -0
- package/dist/es6/collection/lib/useListLoader.d.ts.map +1 -0
- package/dist/es6/collection/lib/useListLoader.js +204 -0
- package/dist/es6/collection/lib/useListModel.d.ts +155 -44
- package/dist/es6/collection/lib/useListModel.d.ts.map +1 -1
- package/dist/es6/collection/lib/useListResetCursorOnBlur.d.ts +7 -4
- package/dist/es6/collection/lib/useListResetCursorOnBlur.d.ts.map +1 -1
- package/dist/es6/collection/lib/useOverflowListItemMeasure.d.ts +7 -4
- package/dist/es6/collection/lib/useOverflowListItemMeasure.d.ts.map +1 -1
- package/dist/es6/collection/lib/useOverflowListMeasure.d.ts +7 -4
- package/dist/es6/collection/lib/useOverflowListMeasure.d.ts.map +1 -1
- package/dist/es6/collection/lib/useOverflowListModel.d.ts +191 -44
- package/dist/es6/collection/lib/useOverflowListModel.d.ts.map +1 -1
- package/dist/es6/collection/lib/useOverflowListTarget.d.ts +7 -4
- package/dist/es6/collection/lib/useOverflowListTarget.d.ts.map +1 -1
- package/dist/es6/collection/lib/useSelectionListModel.d.ts +155 -44
- package/dist/es6/collection/lib/useSelectionListModel.d.ts.map +1 -1
- package/dist/es6/menu/lib/Menu.d.ts +201 -60
- package/dist/es6/menu/lib/Menu.d.ts.map +1 -1
- package/dist/es6/menu/lib/MenuCard.d.ts +14 -8
- package/dist/es6/menu/lib/MenuCard.d.ts.map +1 -1
- package/dist/es6/menu/lib/MenuContextTarget.d.ts +21 -12
- package/dist/es6/menu/lib/MenuContextTarget.d.ts.map +1 -1
- package/dist/es6/menu/lib/MenuItem.d.ts +14 -9
- package/dist/es6/menu/lib/MenuItem.d.ts.map +1 -1
- package/dist/es6/menu/lib/MenuList.d.ts +14 -8
- package/dist/es6/menu/lib/MenuList.d.ts.map +1 -1
- package/dist/es6/menu/lib/MenuPopper.d.ts +7 -4
- package/dist/es6/menu/lib/MenuPopper.d.ts.map +1 -1
- package/dist/es6/menu/lib/MenuTarget.d.ts +35 -20
- package/dist/es6/menu/lib/MenuTarget.d.ts.map +1 -1
- package/dist/es6/menu/lib/useMenuModel.d.ts +173 -44
- package/dist/es6/menu/lib/useMenuModel.d.ts.map +1 -1
- package/dist/es6/tabs/lib/Tabs.d.ts +626 -176
- package/dist/es6/tabs/lib/Tabs.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsItem.d.ts +28 -17
- package/dist/es6/tabs/lib/TabsItem.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsList.d.ts +28 -16
- package/dist/es6/tabs/lib/TabsList.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsMenuPopper.d.ts +7 -4
- package/dist/es6/tabs/lib/TabsMenuPopper.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsOverflowButton.d.ts +28 -16
- package/dist/es6/tabs/lib/TabsOverflowButton.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsPanel.d.ts +28 -16
- package/dist/es6/tabs/lib/TabsPanel.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsPanels.d.ts +14 -8
- package/dist/es6/tabs/lib/TabsPanels.d.ts.map +1 -1
- package/dist/es6/tabs/lib/useTabsModel.d.ts +521 -116
- package/dist/es6/tabs/lib/useTabsModel.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -64,6 +64,9 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
64
64
|
cursorId: string;
|
|
65
65
|
columnCount: number;
|
|
66
66
|
pageSizeRef: React.MutableRefObject<number>;
|
|
67
|
+
cursorIndexRef: {
|
|
68
|
+
readonly current: number;
|
|
69
|
+
};
|
|
67
70
|
UNSTABLE_virtual: {
|
|
68
71
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
69
72
|
totalSize: number;
|
|
@@ -93,6 +96,9 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
93
96
|
cursorId: string;
|
|
94
97
|
columnCount: number;
|
|
95
98
|
pageSizeRef: React.MutableRefObject<number>;
|
|
99
|
+
cursorIndexRef: {
|
|
100
|
+
readonly current: number;
|
|
101
|
+
};
|
|
96
102
|
UNSTABLE_virtual: {
|
|
97
103
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
98
104
|
totalSize: number;
|
|
@@ -122,6 +128,9 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
122
128
|
cursorId: string;
|
|
123
129
|
columnCount: number;
|
|
124
130
|
pageSizeRef: React.MutableRefObject<number>;
|
|
131
|
+
cursorIndexRef: {
|
|
132
|
+
readonly current: number;
|
|
133
|
+
};
|
|
125
134
|
UNSTABLE_virtual: {
|
|
126
135
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
127
136
|
totalSize: number;
|
|
@@ -153,6 +162,9 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
153
162
|
cursorId: string;
|
|
154
163
|
columnCount: number;
|
|
155
164
|
pageSizeRef: React.MutableRefObject<number>;
|
|
165
|
+
cursorIndexRef: {
|
|
166
|
+
readonly current: number;
|
|
167
|
+
};
|
|
156
168
|
UNSTABLE_virtual: {
|
|
157
169
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
158
170
|
totalSize: number;
|
|
@@ -182,6 +194,9 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
182
194
|
cursorId: string;
|
|
183
195
|
columnCount: number;
|
|
184
196
|
pageSizeRef: React.MutableRefObject<number>;
|
|
197
|
+
cursorIndexRef: {
|
|
198
|
+
readonly current: number;
|
|
199
|
+
};
|
|
185
200
|
UNSTABLE_virtual: {
|
|
186
201
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
187
202
|
totalSize: number;
|
|
@@ -211,6 +226,9 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
211
226
|
cursorId: string;
|
|
212
227
|
columnCount: number;
|
|
213
228
|
pageSizeRef: React.MutableRefObject<number>;
|
|
229
|
+
cursorIndexRef: {
|
|
230
|
+
readonly current: number;
|
|
231
|
+
};
|
|
214
232
|
UNSTABLE_virtual: {
|
|
215
233
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
216
234
|
totalSize: number;
|
|
@@ -227,9 +245,8 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
227
245
|
items: import("../..").Item<any>[];
|
|
228
246
|
mode: "multiple" | "single";
|
|
229
247
|
}) => void) | undefined;
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
textValue: string;
|
|
248
|
+
onGoTo?: ((data: {
|
|
249
|
+
id: string;
|
|
233
250
|
}, prevState: {
|
|
234
251
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
235
252
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
@@ -243,6 +260,9 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
243
260
|
cursorId: string;
|
|
244
261
|
columnCount: number;
|
|
245
262
|
pageSizeRef: React.MutableRefObject<number>;
|
|
263
|
+
cursorIndexRef: {
|
|
264
|
+
readonly current: number;
|
|
265
|
+
};
|
|
246
266
|
UNSTABLE_virtual: {
|
|
247
267
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
248
268
|
totalSize: number;
|
|
@@ -259,9 +279,7 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
259
279
|
items: import("../..").Item<any>[];
|
|
260
280
|
mode: "multiple" | "single";
|
|
261
281
|
}) => void) | undefined;
|
|
262
|
-
|
|
263
|
-
id: string;
|
|
264
|
-
}, prevState: {
|
|
282
|
+
onGoToNext?: ((data: undefined, prevState: {
|
|
265
283
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
266
284
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
267
285
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -274,6 +292,9 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
274
292
|
cursorId: string;
|
|
275
293
|
columnCount: number;
|
|
276
294
|
pageSizeRef: React.MutableRefObject<number>;
|
|
295
|
+
cursorIndexRef: {
|
|
296
|
+
readonly current: number;
|
|
297
|
+
};
|
|
277
298
|
UNSTABLE_virtual: {
|
|
278
299
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
279
300
|
totalSize: number;
|
|
@@ -290,7 +311,7 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
290
311
|
items: import("../..").Item<any>[];
|
|
291
312
|
mode: "multiple" | "single";
|
|
292
313
|
}) => void) | undefined;
|
|
293
|
-
|
|
314
|
+
onGoToPrevious?: ((data: undefined, prevState: {
|
|
294
315
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
295
316
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
296
317
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -303,6 +324,9 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
303
324
|
cursorId: string;
|
|
304
325
|
columnCount: number;
|
|
305
326
|
pageSizeRef: React.MutableRefObject<number>;
|
|
327
|
+
cursorIndexRef: {
|
|
328
|
+
readonly current: number;
|
|
329
|
+
};
|
|
306
330
|
UNSTABLE_virtual: {
|
|
307
331
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
308
332
|
totalSize: number;
|
|
@@ -319,7 +343,7 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
319
343
|
items: import("../..").Item<any>[];
|
|
320
344
|
mode: "multiple" | "single";
|
|
321
345
|
}) => void) | undefined;
|
|
322
|
-
|
|
346
|
+
onGoToPreviousRow?: ((data: undefined, prevState: {
|
|
323
347
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
324
348
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
325
349
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -332,6 +356,9 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
332
356
|
cursorId: string;
|
|
333
357
|
columnCount: number;
|
|
334
358
|
pageSizeRef: React.MutableRefObject<number>;
|
|
359
|
+
cursorIndexRef: {
|
|
360
|
+
readonly current: number;
|
|
361
|
+
};
|
|
335
362
|
UNSTABLE_virtual: {
|
|
336
363
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
337
364
|
totalSize: number;
|
|
@@ -348,7 +375,7 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
348
375
|
items: import("../..").Item<any>[];
|
|
349
376
|
mode: "multiple" | "single";
|
|
350
377
|
}) => void) | undefined;
|
|
351
|
-
|
|
378
|
+
onGoToNextRow?: ((data: undefined, prevState: {
|
|
352
379
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
353
380
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
354
381
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -361,6 +388,9 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
361
388
|
cursorId: string;
|
|
362
389
|
columnCount: number;
|
|
363
390
|
pageSizeRef: React.MutableRefObject<number>;
|
|
391
|
+
cursorIndexRef: {
|
|
392
|
+
readonly current: number;
|
|
393
|
+
};
|
|
364
394
|
UNSTABLE_virtual: {
|
|
365
395
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
366
396
|
totalSize: number;
|
|
@@ -377,7 +407,7 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
377
407
|
items: import("../..").Item<any>[];
|
|
378
408
|
mode: "multiple" | "single";
|
|
379
409
|
}) => void) | undefined;
|
|
380
|
-
|
|
410
|
+
onGoToFirst?: ((data: undefined, prevState: {
|
|
381
411
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
382
412
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
383
413
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -390,6 +420,9 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
390
420
|
cursorId: string;
|
|
391
421
|
columnCount: number;
|
|
392
422
|
pageSizeRef: React.MutableRefObject<number>;
|
|
423
|
+
cursorIndexRef: {
|
|
424
|
+
readonly current: number;
|
|
425
|
+
};
|
|
393
426
|
UNSTABLE_virtual: {
|
|
394
427
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
395
428
|
totalSize: number;
|
|
@@ -406,7 +439,7 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
406
439
|
items: import("../..").Item<any>[];
|
|
407
440
|
mode: "multiple" | "single";
|
|
408
441
|
}) => void) | undefined;
|
|
409
|
-
|
|
442
|
+
onGoToLast?: ((data: undefined, prevState: {
|
|
410
443
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
411
444
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
412
445
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -419,6 +452,9 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
419
452
|
cursorId: string;
|
|
420
453
|
columnCount: number;
|
|
421
454
|
pageSizeRef: React.MutableRefObject<number>;
|
|
455
|
+
cursorIndexRef: {
|
|
456
|
+
readonly current: number;
|
|
457
|
+
};
|
|
422
458
|
UNSTABLE_virtual: {
|
|
423
459
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
424
460
|
totalSize: number;
|
|
@@ -435,7 +471,7 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
435
471
|
items: import("../..").Item<any>[];
|
|
436
472
|
mode: "multiple" | "single";
|
|
437
473
|
}) => void) | undefined;
|
|
438
|
-
|
|
474
|
+
onGoToFirstOfRow?: ((data: undefined, prevState: {
|
|
439
475
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
440
476
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
441
477
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -448,6 +484,9 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
448
484
|
cursorId: string;
|
|
449
485
|
columnCount: number;
|
|
450
486
|
pageSizeRef: React.MutableRefObject<number>;
|
|
487
|
+
cursorIndexRef: {
|
|
488
|
+
readonly current: number;
|
|
489
|
+
};
|
|
451
490
|
UNSTABLE_virtual: {
|
|
452
491
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
453
492
|
totalSize: number;
|
|
@@ -464,7 +503,7 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
464
503
|
items: import("../..").Item<any>[];
|
|
465
504
|
mode: "multiple" | "single";
|
|
466
505
|
}) => void) | undefined;
|
|
467
|
-
|
|
506
|
+
onGoToLastOfRow?: ((data: undefined, prevState: {
|
|
468
507
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
469
508
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
470
509
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -477,6 +516,9 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
477
516
|
cursorId: string;
|
|
478
517
|
columnCount: number;
|
|
479
518
|
pageSizeRef: React.MutableRefObject<number>;
|
|
519
|
+
cursorIndexRef: {
|
|
520
|
+
readonly current: number;
|
|
521
|
+
};
|
|
480
522
|
UNSTABLE_virtual: {
|
|
481
523
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
482
524
|
totalSize: number;
|
|
@@ -493,7 +535,7 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
493
535
|
items: import("../..").Item<any>[];
|
|
494
536
|
mode: "multiple" | "single";
|
|
495
537
|
}) => void) | undefined;
|
|
496
|
-
|
|
538
|
+
onGoToNextPage?: ((data: undefined, prevState: {
|
|
497
539
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
498
540
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
499
541
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -506,6 +548,9 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
506
548
|
cursorId: string;
|
|
507
549
|
columnCount: number;
|
|
508
550
|
pageSizeRef: React.MutableRefObject<number>;
|
|
551
|
+
cursorIndexRef: {
|
|
552
|
+
readonly current: number;
|
|
553
|
+
};
|
|
509
554
|
UNSTABLE_virtual: {
|
|
510
555
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
511
556
|
totalSize: number;
|
|
@@ -522,7 +567,7 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
522
567
|
items: import("../..").Item<any>[];
|
|
523
568
|
mode: "multiple" | "single";
|
|
524
569
|
}) => void) | undefined;
|
|
525
|
-
|
|
570
|
+
onGoToPreviousPage?: ((data: undefined, prevState: {
|
|
526
571
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
527
572
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
528
573
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -535,6 +580,9 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
535
580
|
cursorId: string;
|
|
536
581
|
columnCount: number;
|
|
537
582
|
pageSizeRef: React.MutableRefObject<number>;
|
|
583
|
+
cursorIndexRef: {
|
|
584
|
+
readonly current: number;
|
|
585
|
+
};
|
|
538
586
|
UNSTABLE_virtual: {
|
|
539
587
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
540
588
|
totalSize: number;
|
|
@@ -551,7 +599,10 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
551
599
|
items: import("../..").Item<any>[];
|
|
552
600
|
mode: "multiple" | "single";
|
|
553
601
|
}) => void) | undefined;
|
|
554
|
-
|
|
602
|
+
onRegisterItem?: ((data: {
|
|
603
|
+
item: any;
|
|
604
|
+
textValue: string;
|
|
605
|
+
}, prevState: {
|
|
555
606
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
556
607
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
557
608
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -564,6 +615,9 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
564
615
|
cursorId: string;
|
|
565
616
|
columnCount: number;
|
|
566
617
|
pageSizeRef: React.MutableRefObject<number>;
|
|
618
|
+
cursorIndexRef: {
|
|
619
|
+
readonly current: number;
|
|
620
|
+
};
|
|
567
621
|
UNSTABLE_virtual: {
|
|
568
622
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
569
623
|
totalSize: number;
|
|
@@ -595,6 +649,9 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
595
649
|
cursorId: string;
|
|
596
650
|
columnCount: number;
|
|
597
651
|
pageSizeRef: React.MutableRefObject<number>;
|
|
652
|
+
cursorIndexRef: {
|
|
653
|
+
readonly current: number;
|
|
654
|
+
};
|
|
598
655
|
UNSTABLE_virtual: {
|
|
599
656
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
600
657
|
totalSize: number;
|
|
@@ -626,6 +683,9 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
626
683
|
cursorId: string;
|
|
627
684
|
columnCount: number;
|
|
628
685
|
pageSizeRef: React.MutableRefObject<number>;
|
|
686
|
+
cursorIndexRef: {
|
|
687
|
+
readonly current: number;
|
|
688
|
+
};
|
|
629
689
|
UNSTABLE_virtual: {
|
|
630
690
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
631
691
|
totalSize: number;
|
|
@@ -658,6 +718,9 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
658
718
|
cursorId: string;
|
|
659
719
|
columnCount: number;
|
|
660
720
|
pageSizeRef: React.MutableRefObject<number>;
|
|
721
|
+
cursorIndexRef: {
|
|
722
|
+
readonly current: number;
|
|
723
|
+
};
|
|
661
724
|
UNSTABLE_virtual: {
|
|
662
725
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
663
726
|
totalSize: number;
|
|
@@ -687,6 +750,9 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
687
750
|
cursorId: string;
|
|
688
751
|
columnCount: number;
|
|
689
752
|
pageSizeRef: React.MutableRefObject<number>;
|
|
753
|
+
cursorIndexRef: {
|
|
754
|
+
readonly current: number;
|
|
755
|
+
};
|
|
690
756
|
UNSTABLE_virtual: {
|
|
691
757
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
692
758
|
totalSize: number;
|
|
@@ -716,6 +782,9 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
716
782
|
cursorId: string;
|
|
717
783
|
columnCount: number;
|
|
718
784
|
pageSizeRef: React.MutableRefObject<number>;
|
|
785
|
+
cursorIndexRef: {
|
|
786
|
+
readonly current: number;
|
|
787
|
+
};
|
|
719
788
|
UNSTABLE_virtual: {
|
|
720
789
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
721
790
|
totalSize: number;
|
|
@@ -747,6 +816,9 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
747
816
|
cursorId: string;
|
|
748
817
|
columnCount: number;
|
|
749
818
|
pageSizeRef: React.MutableRefObject<number>;
|
|
819
|
+
cursorIndexRef: {
|
|
820
|
+
readonly current: number;
|
|
821
|
+
};
|
|
750
822
|
UNSTABLE_virtual: {
|
|
751
823
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
752
824
|
totalSize: number;
|
|
@@ -776,6 +848,9 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
776
848
|
cursorId: string;
|
|
777
849
|
columnCount: number;
|
|
778
850
|
pageSizeRef: React.MutableRefObject<number>;
|
|
851
|
+
cursorIndexRef: {
|
|
852
|
+
readonly current: number;
|
|
853
|
+
};
|
|
779
854
|
UNSTABLE_virtual: {
|
|
780
855
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
781
856
|
totalSize: number;
|
|
@@ -805,6 +880,9 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
805
880
|
cursorId: string;
|
|
806
881
|
columnCount: number;
|
|
807
882
|
pageSizeRef: React.MutableRefObject<number>;
|
|
883
|
+
cursorIndexRef: {
|
|
884
|
+
readonly current: number;
|
|
885
|
+
};
|
|
808
886
|
UNSTABLE_virtual: {
|
|
809
887
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
810
888
|
totalSize: number;
|
|
@@ -821,9 +899,8 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
821
899
|
items: import("../..").Item<any>[];
|
|
822
900
|
mode: "multiple" | "single";
|
|
823
901
|
}) => boolean) | undefined;
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
textValue: string;
|
|
902
|
+
shouldGoTo?: ((data: {
|
|
903
|
+
id: string;
|
|
827
904
|
}, state: {
|
|
828
905
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
829
906
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
@@ -837,6 +914,9 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
837
914
|
cursorId: string;
|
|
838
915
|
columnCount: number;
|
|
839
916
|
pageSizeRef: React.MutableRefObject<number>;
|
|
917
|
+
cursorIndexRef: {
|
|
918
|
+
readonly current: number;
|
|
919
|
+
};
|
|
840
920
|
UNSTABLE_virtual: {
|
|
841
921
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
842
922
|
totalSize: number;
|
|
@@ -853,9 +933,7 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
853
933
|
items: import("../..").Item<any>[];
|
|
854
934
|
mode: "multiple" | "single";
|
|
855
935
|
}) => boolean) | undefined;
|
|
856
|
-
|
|
857
|
-
id: string;
|
|
858
|
-
}, state: {
|
|
936
|
+
shouldGoToNext?: ((data: undefined, state: {
|
|
859
937
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
860
938
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
861
939
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -868,6 +946,9 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
868
946
|
cursorId: string;
|
|
869
947
|
columnCount: number;
|
|
870
948
|
pageSizeRef: React.MutableRefObject<number>;
|
|
949
|
+
cursorIndexRef: {
|
|
950
|
+
readonly current: number;
|
|
951
|
+
};
|
|
871
952
|
UNSTABLE_virtual: {
|
|
872
953
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
873
954
|
totalSize: number;
|
|
@@ -884,7 +965,7 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
884
965
|
items: import("../..").Item<any>[];
|
|
885
966
|
mode: "multiple" | "single";
|
|
886
967
|
}) => boolean) | undefined;
|
|
887
|
-
|
|
968
|
+
shouldGoToPrevious?: ((data: undefined, state: {
|
|
888
969
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
889
970
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
890
971
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -897,6 +978,9 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
897
978
|
cursorId: string;
|
|
898
979
|
columnCount: number;
|
|
899
980
|
pageSizeRef: React.MutableRefObject<number>;
|
|
981
|
+
cursorIndexRef: {
|
|
982
|
+
readonly current: number;
|
|
983
|
+
};
|
|
900
984
|
UNSTABLE_virtual: {
|
|
901
985
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
902
986
|
totalSize: number;
|
|
@@ -913,7 +997,7 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
913
997
|
items: import("../..").Item<any>[];
|
|
914
998
|
mode: "multiple" | "single";
|
|
915
999
|
}) => boolean) | undefined;
|
|
916
|
-
|
|
1000
|
+
shouldGoToPreviousRow?: ((data: undefined, state: {
|
|
917
1001
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
918
1002
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
919
1003
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -926,6 +1010,9 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
926
1010
|
cursorId: string;
|
|
927
1011
|
columnCount: number;
|
|
928
1012
|
pageSizeRef: React.MutableRefObject<number>;
|
|
1013
|
+
cursorIndexRef: {
|
|
1014
|
+
readonly current: number;
|
|
1015
|
+
};
|
|
929
1016
|
UNSTABLE_virtual: {
|
|
930
1017
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
931
1018
|
totalSize: number;
|
|
@@ -942,7 +1029,7 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
942
1029
|
items: import("../..").Item<any>[];
|
|
943
1030
|
mode: "multiple" | "single";
|
|
944
1031
|
}) => boolean) | undefined;
|
|
945
|
-
|
|
1032
|
+
shouldGoToNextRow?: ((data: undefined, state: {
|
|
946
1033
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
947
1034
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
948
1035
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -955,6 +1042,9 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
955
1042
|
cursorId: string;
|
|
956
1043
|
columnCount: number;
|
|
957
1044
|
pageSizeRef: React.MutableRefObject<number>;
|
|
1045
|
+
cursorIndexRef: {
|
|
1046
|
+
readonly current: number;
|
|
1047
|
+
};
|
|
958
1048
|
UNSTABLE_virtual: {
|
|
959
1049
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
960
1050
|
totalSize: number;
|
|
@@ -971,7 +1061,7 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
971
1061
|
items: import("../..").Item<any>[];
|
|
972
1062
|
mode: "multiple" | "single";
|
|
973
1063
|
}) => boolean) | undefined;
|
|
974
|
-
|
|
1064
|
+
shouldGoToFirst?: ((data: undefined, state: {
|
|
975
1065
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
976
1066
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
977
1067
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -984,6 +1074,9 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
984
1074
|
cursorId: string;
|
|
985
1075
|
columnCount: number;
|
|
986
1076
|
pageSizeRef: React.MutableRefObject<number>;
|
|
1077
|
+
cursorIndexRef: {
|
|
1078
|
+
readonly current: number;
|
|
1079
|
+
};
|
|
987
1080
|
UNSTABLE_virtual: {
|
|
988
1081
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
989
1082
|
totalSize: number;
|
|
@@ -1000,7 +1093,7 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1000
1093
|
items: import("../..").Item<any>[];
|
|
1001
1094
|
mode: "multiple" | "single";
|
|
1002
1095
|
}) => boolean) | undefined;
|
|
1003
|
-
|
|
1096
|
+
shouldGoToLast?: ((data: undefined, state: {
|
|
1004
1097
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
1005
1098
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
1006
1099
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -1013,6 +1106,9 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1013
1106
|
cursorId: string;
|
|
1014
1107
|
columnCount: number;
|
|
1015
1108
|
pageSizeRef: React.MutableRefObject<number>;
|
|
1109
|
+
cursorIndexRef: {
|
|
1110
|
+
readonly current: number;
|
|
1111
|
+
};
|
|
1016
1112
|
UNSTABLE_virtual: {
|
|
1017
1113
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1018
1114
|
totalSize: number;
|
|
@@ -1029,7 +1125,7 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1029
1125
|
items: import("../..").Item<any>[];
|
|
1030
1126
|
mode: "multiple" | "single";
|
|
1031
1127
|
}) => boolean) | undefined;
|
|
1032
|
-
|
|
1128
|
+
shouldGoToFirstOfRow?: ((data: undefined, state: {
|
|
1033
1129
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
1034
1130
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
1035
1131
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -1042,6 +1138,9 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1042
1138
|
cursorId: string;
|
|
1043
1139
|
columnCount: number;
|
|
1044
1140
|
pageSizeRef: React.MutableRefObject<number>;
|
|
1141
|
+
cursorIndexRef: {
|
|
1142
|
+
readonly current: number;
|
|
1143
|
+
};
|
|
1045
1144
|
UNSTABLE_virtual: {
|
|
1046
1145
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1047
1146
|
totalSize: number;
|
|
@@ -1058,7 +1157,7 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1058
1157
|
items: import("../..").Item<any>[];
|
|
1059
1158
|
mode: "multiple" | "single";
|
|
1060
1159
|
}) => boolean) | undefined;
|
|
1061
|
-
|
|
1160
|
+
shouldGoToLastOfRow?: ((data: undefined, state: {
|
|
1062
1161
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
1063
1162
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
1064
1163
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -1071,6 +1170,9 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1071
1170
|
cursorId: string;
|
|
1072
1171
|
columnCount: number;
|
|
1073
1172
|
pageSizeRef: React.MutableRefObject<number>;
|
|
1173
|
+
cursorIndexRef: {
|
|
1174
|
+
readonly current: number;
|
|
1175
|
+
};
|
|
1074
1176
|
UNSTABLE_virtual: {
|
|
1075
1177
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1076
1178
|
totalSize: number;
|
|
@@ -1087,7 +1189,7 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1087
1189
|
items: import("../..").Item<any>[];
|
|
1088
1190
|
mode: "multiple" | "single";
|
|
1089
1191
|
}) => boolean) | undefined;
|
|
1090
|
-
|
|
1192
|
+
shouldGoToNextPage?: ((data: undefined, state: {
|
|
1091
1193
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
1092
1194
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
1093
1195
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -1100,6 +1202,9 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1100
1202
|
cursorId: string;
|
|
1101
1203
|
columnCount: number;
|
|
1102
1204
|
pageSizeRef: React.MutableRefObject<number>;
|
|
1205
|
+
cursorIndexRef: {
|
|
1206
|
+
readonly current: number;
|
|
1207
|
+
};
|
|
1103
1208
|
UNSTABLE_virtual: {
|
|
1104
1209
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1105
1210
|
totalSize: number;
|
|
@@ -1116,7 +1221,7 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1116
1221
|
items: import("../..").Item<any>[];
|
|
1117
1222
|
mode: "multiple" | "single";
|
|
1118
1223
|
}) => boolean) | undefined;
|
|
1119
|
-
|
|
1224
|
+
shouldGoToPreviousPage?: ((data: undefined, state: {
|
|
1120
1225
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
1121
1226
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
1122
1227
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -1129,6 +1234,9 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1129
1234
|
cursorId: string;
|
|
1130
1235
|
columnCount: number;
|
|
1131
1236
|
pageSizeRef: React.MutableRefObject<number>;
|
|
1237
|
+
cursorIndexRef: {
|
|
1238
|
+
readonly current: number;
|
|
1239
|
+
};
|
|
1132
1240
|
UNSTABLE_virtual: {
|
|
1133
1241
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1134
1242
|
totalSize: number;
|
|
@@ -1145,7 +1253,10 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1145
1253
|
items: import("../..").Item<any>[];
|
|
1146
1254
|
mode: "multiple" | "single";
|
|
1147
1255
|
}) => boolean) | undefined;
|
|
1148
|
-
|
|
1256
|
+
shouldRegisterItem?: ((data: {
|
|
1257
|
+
item: any;
|
|
1258
|
+
textValue: string;
|
|
1259
|
+
}, state: {
|
|
1149
1260
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
1150
1261
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
1151
1262
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -1158,6 +1269,9 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1158
1269
|
cursorId: string;
|
|
1159
1270
|
columnCount: number;
|
|
1160
1271
|
pageSizeRef: React.MutableRefObject<number>;
|
|
1272
|
+
cursorIndexRef: {
|
|
1273
|
+
readonly current: number;
|
|
1274
|
+
};
|
|
1161
1275
|
UNSTABLE_virtual: {
|
|
1162
1276
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1163
1277
|
totalSize: number;
|
|
@@ -1189,6 +1303,9 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1189
1303
|
cursorId: string;
|
|
1190
1304
|
columnCount: number;
|
|
1191
1305
|
pageSizeRef: React.MutableRefObject<number>;
|
|
1306
|
+
cursorIndexRef: {
|
|
1307
|
+
readonly current: number;
|
|
1308
|
+
};
|
|
1192
1309
|
UNSTABLE_virtual: {
|
|
1193
1310
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1194
1311
|
totalSize: number;
|
|
@@ -1220,6 +1337,9 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1220
1337
|
cursorId: string;
|
|
1221
1338
|
columnCount: number;
|
|
1222
1339
|
pageSizeRef: React.MutableRefObject<number>;
|
|
1340
|
+
cursorIndexRef: {
|
|
1341
|
+
readonly current: number;
|
|
1342
|
+
};
|
|
1223
1343
|
UNSTABLE_virtual: {
|
|
1224
1344
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1225
1345
|
totalSize: number;
|
|
@@ -1250,6 +1370,9 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1250
1370
|
cursorId: string;
|
|
1251
1371
|
columnCount: number;
|
|
1252
1372
|
pageSizeRef: React.MutableRefObject<number>;
|
|
1373
|
+
cursorIndexRef: {
|
|
1374
|
+
readonly current: number;
|
|
1375
|
+
};
|
|
1253
1376
|
UNSTABLE_virtual: {
|
|
1254
1377
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1255
1378
|
totalSize: number;
|
|
@@ -1277,10 +1400,6 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1277
1400
|
}): void;
|
|
1278
1401
|
selectAll(): void;
|
|
1279
1402
|
unselectAll(): void;
|
|
1280
|
-
registerItem(data: {
|
|
1281
|
-
item: any;
|
|
1282
|
-
textValue: string;
|
|
1283
|
-
}): void;
|
|
1284
1403
|
goTo(data: {
|
|
1285
1404
|
id: string;
|
|
1286
1405
|
}): void;
|
|
@@ -1294,6 +1413,10 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1294
1413
|
goToLastOfRow(): void;
|
|
1295
1414
|
goToNextPage(): void;
|
|
1296
1415
|
goToPreviousPage(): void;
|
|
1416
|
+
registerItem(data: {
|
|
1417
|
+
item: any;
|
|
1418
|
+
textValue: string;
|
|
1419
|
+
}): void;
|
|
1297
1420
|
unregisterItem(data: {
|
|
1298
1421
|
id: string;
|
|
1299
1422
|
}): void;
|
|
@@ -1335,6 +1458,9 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1335
1458
|
cursorId: string;
|
|
1336
1459
|
columnCount: number;
|
|
1337
1460
|
pageSizeRef: React.MutableRefObject<number>;
|
|
1461
|
+
cursorIndexRef: {
|
|
1462
|
+
readonly current: number;
|
|
1463
|
+
};
|
|
1338
1464
|
UNSTABLE_virtual: {
|
|
1339
1465
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1340
1466
|
totalSize: number;
|
|
@@ -1362,10 +1488,6 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1362
1488
|
}): void;
|
|
1363
1489
|
selectAll(): void;
|
|
1364
1490
|
unselectAll(): void;
|
|
1365
|
-
registerItem(data: {
|
|
1366
|
-
item: any;
|
|
1367
|
-
textValue: string;
|
|
1368
|
-
}): void;
|
|
1369
1491
|
goTo(data: {
|
|
1370
1492
|
id: string;
|
|
1371
1493
|
}): void;
|
|
@@ -1379,6 +1501,10 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1379
1501
|
goToLastOfRow(): void;
|
|
1380
1502
|
goToNextPage(): void;
|
|
1381
1503
|
goToPreviousPage(): void;
|
|
1504
|
+
registerItem(data: {
|
|
1505
|
+
item: any;
|
|
1506
|
+
textValue: string;
|
|
1507
|
+
}): void;
|
|
1382
1508
|
unregisterItem(data: {
|
|
1383
1509
|
id: string;
|
|
1384
1510
|
}): void;
|
|
@@ -1409,6 +1535,9 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1409
1535
|
cursorId: string;
|
|
1410
1536
|
columnCount: number;
|
|
1411
1537
|
pageSizeRef: React.MutableRefObject<number>;
|
|
1538
|
+
cursorIndexRef: {
|
|
1539
|
+
readonly current: number;
|
|
1540
|
+
};
|
|
1412
1541
|
UNSTABLE_virtual: {
|
|
1413
1542
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1414
1543
|
totalSize: number;
|
|
@@ -1436,10 +1565,6 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1436
1565
|
}): void;
|
|
1437
1566
|
selectAll(): void;
|
|
1438
1567
|
unselectAll(): void;
|
|
1439
|
-
registerItem(data: {
|
|
1440
|
-
item: any;
|
|
1441
|
-
textValue: string;
|
|
1442
|
-
}): void;
|
|
1443
1568
|
goTo(data: {
|
|
1444
1569
|
id: string;
|
|
1445
1570
|
}): void;
|
|
@@ -1453,6 +1578,10 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1453
1578
|
goToLastOfRow(): void;
|
|
1454
1579
|
goToNextPage(): void;
|
|
1455
1580
|
goToPreviousPage(): void;
|
|
1581
|
+
registerItem(data: {
|
|
1582
|
+
item: any;
|
|
1583
|
+
textValue: string;
|
|
1584
|
+
}): void;
|
|
1456
1585
|
unregisterItem(data: {
|
|
1457
1586
|
id: string;
|
|
1458
1587
|
}): void;
|
|
@@ -1501,6 +1630,9 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1501
1630
|
cursorId: string;
|
|
1502
1631
|
columnCount: number;
|
|
1503
1632
|
pageSizeRef: React.MutableRefObject<number>;
|
|
1633
|
+
cursorIndexRef: {
|
|
1634
|
+
readonly current: number;
|
|
1635
|
+
};
|
|
1504
1636
|
UNSTABLE_virtual: {
|
|
1505
1637
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1506
1638
|
totalSize: number;
|
|
@@ -1528,10 +1660,6 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1528
1660
|
}): void;
|
|
1529
1661
|
selectAll(): void;
|
|
1530
1662
|
unselectAll(): void;
|
|
1531
|
-
registerItem(data: {
|
|
1532
|
-
item: any;
|
|
1533
|
-
textValue: string;
|
|
1534
|
-
}): void;
|
|
1535
1663
|
goTo(data: {
|
|
1536
1664
|
id: string;
|
|
1537
1665
|
}): void;
|
|
@@ -1545,6 +1673,10 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1545
1673
|
goToLastOfRow(): void;
|
|
1546
1674
|
goToNextPage(): void;
|
|
1547
1675
|
goToPreviousPage(): void;
|
|
1676
|
+
registerItem(data: {
|
|
1677
|
+
item: any;
|
|
1678
|
+
textValue: string;
|
|
1679
|
+
}): void;
|
|
1548
1680
|
unregisterItem(data: {
|
|
1549
1681
|
id: string;
|
|
1550
1682
|
}): void;
|
|
@@ -1575,6 +1707,9 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1575
1707
|
cursorId: string;
|
|
1576
1708
|
columnCount: number;
|
|
1577
1709
|
pageSizeRef: React.MutableRefObject<number>;
|
|
1710
|
+
cursorIndexRef: {
|
|
1711
|
+
readonly current: number;
|
|
1712
|
+
};
|
|
1578
1713
|
UNSTABLE_virtual: {
|
|
1579
1714
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1580
1715
|
totalSize: number;
|
|
@@ -1602,10 +1737,6 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1602
1737
|
}): void;
|
|
1603
1738
|
selectAll(): void;
|
|
1604
1739
|
unselectAll(): void;
|
|
1605
|
-
registerItem(data: {
|
|
1606
|
-
item: any;
|
|
1607
|
-
textValue: string;
|
|
1608
|
-
}): void;
|
|
1609
1740
|
goTo(data: {
|
|
1610
1741
|
id: string;
|
|
1611
1742
|
}): void;
|
|
@@ -1619,6 +1750,10 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1619
1750
|
goToLastOfRow(): void;
|
|
1620
1751
|
goToNextPage(): void;
|
|
1621
1752
|
goToPreviousPage(): void;
|
|
1753
|
+
registerItem(data: {
|
|
1754
|
+
item: any;
|
|
1755
|
+
textValue: string;
|
|
1756
|
+
}): void;
|
|
1622
1757
|
unregisterItem(data: {
|
|
1623
1758
|
id: string;
|
|
1624
1759
|
}): void;
|
|
@@ -1659,6 +1794,9 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1659
1794
|
cursorId: string;
|
|
1660
1795
|
columnCount: number;
|
|
1661
1796
|
pageSizeRef: React.MutableRefObject<number>;
|
|
1797
|
+
cursorIndexRef: {
|
|
1798
|
+
readonly current: number;
|
|
1799
|
+
};
|
|
1662
1800
|
UNSTABLE_virtual: {
|
|
1663
1801
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1664
1802
|
totalSize: number;
|
|
@@ -1686,10 +1824,6 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1686
1824
|
}): void;
|
|
1687
1825
|
selectAll(): void;
|
|
1688
1826
|
unselectAll(): void;
|
|
1689
|
-
registerItem(data: {
|
|
1690
|
-
item: any;
|
|
1691
|
-
textValue: string;
|
|
1692
|
-
}): void;
|
|
1693
1827
|
goTo(data: {
|
|
1694
1828
|
id: string;
|
|
1695
1829
|
}): void;
|
|
@@ -1703,6 +1837,10 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1703
1837
|
goToLastOfRow(): void;
|
|
1704
1838
|
goToNextPage(): void;
|
|
1705
1839
|
goToPreviousPage(): void;
|
|
1840
|
+
registerItem(data: {
|
|
1841
|
+
item: any;
|
|
1842
|
+
textValue: string;
|
|
1843
|
+
}): void;
|
|
1706
1844
|
unregisterItem(data: {
|
|
1707
1845
|
id: string;
|
|
1708
1846
|
}): void;
|
|
@@ -1734,6 +1872,9 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1734
1872
|
cursorId: string;
|
|
1735
1873
|
columnCount: number;
|
|
1736
1874
|
pageSizeRef: React.MutableRefObject<number>;
|
|
1875
|
+
cursorIndexRef: {
|
|
1876
|
+
readonly current: number;
|
|
1877
|
+
};
|
|
1737
1878
|
UNSTABLE_virtual: {
|
|
1738
1879
|
virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
|
|
1739
1880
|
totalSize: number;
|
|
@@ -1761,10 +1902,6 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1761
1902
|
}): void;
|
|
1762
1903
|
selectAll(): void;
|
|
1763
1904
|
unselectAll(): void;
|
|
1764
|
-
registerItem(data: {
|
|
1765
|
-
item: any;
|
|
1766
|
-
textValue: string;
|
|
1767
|
-
}): void;
|
|
1768
1905
|
goTo(data: {
|
|
1769
1906
|
id: string;
|
|
1770
1907
|
}): void;
|
|
@@ -1778,6 +1915,10 @@ export declare const Menu: import("@workday/canvas-kit-react/common").ComponentM
|
|
|
1778
1915
|
goToLastOfRow(): void;
|
|
1779
1916
|
goToNextPage(): void;
|
|
1780
1917
|
goToPreviousPage(): void;
|
|
1918
|
+
registerItem(data: {
|
|
1919
|
+
item: any;
|
|
1920
|
+
textValue: string;
|
|
1921
|
+
}): void;
|
|
1781
1922
|
unregisterItem(data: {
|
|
1782
1923
|
id: string;
|
|
1783
1924
|
}): void;
|