@workday/canvas-kit-react 9.0.0-alpha.415-next.17 → 9.0.0-alpha.416-next.18
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/lib/useCursorListModel.tsx +0 -15
- package/collection/lib/useListItemRovingFocus.tsx +7 -0
- package/dist/commonjs/action-bar/lib/ActionBar.d.ts +124 -124
- package/dist/commonjs/action-bar/lib/ActionBar.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/ActionBarItem.d.ts +12 -12
- package/dist/commonjs/action-bar/lib/ActionBarList.d.ts +12 -12
- package/dist/commonjs/action-bar/lib/ActionBarOverflowButton.d.ts +16 -16
- package/dist/commonjs/action-bar/lib/useActionBarModel.d.ts +52 -52
- package/dist/commonjs/breadcrumbs/lib/Breadcrumbs.d.ts +136 -136
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts +16 -16
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsItem.d.ts +12 -12
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsList.d.ts +8 -8
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsMenu.d.ts +64 -64
- package/dist/commonjs/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts +16 -16
- package/dist/commonjs/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts +52 -52
- package/dist/commonjs/collection/lib/ListBox.d.ts +48 -48
- package/dist/commonjs/collection/lib/useCursorListModel.d.ts +44 -56
- package/dist/commonjs/collection/lib/useCursorListModel.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useCursorListModel.js +2 -15
- package/dist/commonjs/collection/lib/useGridModel.d.ts +44 -44
- package/dist/commonjs/collection/lib/useListItemAllowChildStrings.d.ts +4 -4
- package/dist/commonjs/collection/lib/useListItemRegister.d.ts +4 -4
- package/dist/commonjs/collection/lib/useListItemRovingFocus.d.ts +4 -4
- package/dist/commonjs/collection/lib/useListItemRovingFocus.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useListItemRovingFocus.js +6 -0
- package/dist/commonjs/collection/lib/useListItemSelect.d.ts +4 -4
- package/dist/commonjs/collection/lib/useListModel.d.ts +44 -44
- package/dist/commonjs/collection/lib/useListResetCursorOnBlur.d.ts +4 -4
- package/dist/commonjs/collection/lib/useOverflowListItemMeasure.d.ts +4 -4
- package/dist/commonjs/collection/lib/useOverflowListMeasure.d.ts +4 -4
- package/dist/commonjs/collection/lib/useOverflowListModel.d.ts +44 -44
- package/dist/commonjs/collection/lib/useOverflowListTarget.d.ts +4 -4
- package/dist/commonjs/collection/lib/useSelectionListModel.d.ts +44 -44
- package/dist/commonjs/menu/lib/Menu.d.ts +60 -60
- package/dist/commonjs/menu/lib/MenuCard.d.ts +8 -8
- package/dist/commonjs/menu/lib/MenuContextTarget.d.ts +12 -12
- package/dist/commonjs/menu/lib/MenuItem.d.ts +8 -8
- package/dist/commonjs/menu/lib/MenuList.d.ts +8 -8
- package/dist/commonjs/menu/lib/MenuPopper.d.ts +4 -4
- package/dist/commonjs/menu/lib/MenuTarget.d.ts +20 -20
- package/dist/commonjs/menu/lib/useMenuModel.d.ts +44 -44
- package/dist/commonjs/tabs/lib/Tabs.d.ts +176 -176
- package/dist/commonjs/tabs/lib/TabsItem.d.ts +16 -16
- package/dist/commonjs/tabs/lib/TabsList.d.ts +16 -16
- package/dist/commonjs/tabs/lib/TabsMenuPopper.d.ts +4 -4
- package/dist/commonjs/tabs/lib/TabsOverflowButton.d.ts +16 -16
- package/dist/commonjs/tabs/lib/TabsPanel.d.ts +16 -16
- package/dist/commonjs/tabs/lib/TabsPanels.d.ts +8 -8
- package/dist/commonjs/tabs/lib/useTabsModel.d.ts +116 -116
- package/dist/commonjs/tabs/lib/useTabsModel.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/ActionBar.d.ts +124 -124
- package/dist/es6/action-bar/lib/ActionBar.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/ActionBarItem.d.ts +12 -12
- package/dist/es6/action-bar/lib/ActionBarList.d.ts +12 -12
- package/dist/es6/action-bar/lib/ActionBarOverflowButton.d.ts +16 -16
- package/dist/es6/action-bar/lib/useActionBarModel.d.ts +52 -52
- package/dist/es6/breadcrumbs/lib/Breadcrumbs.d.ts +136 -136
- package/dist/es6/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts +16 -16
- package/dist/es6/breadcrumbs/lib/BreadcrumbsItem.d.ts +12 -12
- package/dist/es6/breadcrumbs/lib/BreadcrumbsList.d.ts +8 -8
- package/dist/es6/breadcrumbs/lib/BreadcrumbsMenu.d.ts +64 -64
- package/dist/es6/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts +16 -16
- package/dist/es6/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts +52 -52
- package/dist/es6/collection/lib/ListBox.d.ts +48 -48
- package/dist/es6/collection/lib/useCursorListModel.d.ts +44 -56
- package/dist/es6/collection/lib/useCursorListModel.d.ts.map +1 -1
- package/dist/es6/collection/lib/useCursorListModel.js +2 -15
- package/dist/es6/collection/lib/useGridModel.d.ts +44 -44
- package/dist/es6/collection/lib/useListItemAllowChildStrings.d.ts +4 -4
- package/dist/es6/collection/lib/useListItemRegister.d.ts +4 -4
- package/dist/es6/collection/lib/useListItemRovingFocus.d.ts +4 -4
- package/dist/es6/collection/lib/useListItemRovingFocus.d.ts.map +1 -1
- package/dist/es6/collection/lib/useListItemRovingFocus.js +6 -0
- package/dist/es6/collection/lib/useListItemSelect.d.ts +4 -4
- package/dist/es6/collection/lib/useListModel.d.ts +44 -44
- package/dist/es6/collection/lib/useListResetCursorOnBlur.d.ts +4 -4
- package/dist/es6/collection/lib/useOverflowListItemMeasure.d.ts +4 -4
- package/dist/es6/collection/lib/useOverflowListMeasure.d.ts +4 -4
- package/dist/es6/collection/lib/useOverflowListModel.d.ts +44 -44
- package/dist/es6/collection/lib/useOverflowListTarget.d.ts +4 -4
- package/dist/es6/collection/lib/useSelectionListModel.d.ts +44 -44
- package/dist/es6/menu/lib/Menu.d.ts +60 -60
- package/dist/es6/menu/lib/MenuCard.d.ts +8 -8
- package/dist/es6/menu/lib/MenuContextTarget.d.ts +12 -12
- package/dist/es6/menu/lib/MenuItem.d.ts +8 -8
- package/dist/es6/menu/lib/MenuList.d.ts +8 -8
- package/dist/es6/menu/lib/MenuPopper.d.ts +4 -4
- package/dist/es6/menu/lib/MenuTarget.d.ts +20 -20
- package/dist/es6/menu/lib/useMenuModel.d.ts +44 -44
- package/dist/es6/tabs/lib/Tabs.d.ts +176 -176
- package/dist/es6/tabs/lib/TabsItem.d.ts +16 -16
- package/dist/es6/tabs/lib/TabsList.d.ts +16 -16
- package/dist/es6/tabs/lib/TabsMenuPopper.d.ts +4 -4
- package/dist/es6/tabs/lib/TabsOverflowButton.d.ts +16 -16
- package/dist/es6/tabs/lib/TabsPanel.d.ts +16 -16
- package/dist/es6/tabs/lib/TabsPanels.d.ts +8 -8
- package/dist/es6/tabs/lib/useTabsModel.d.ts +116 -116
- package/dist/es6/tabs/lib/useTabsModel.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -235,9 +235,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
235
235
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
236
236
|
mode: "multiple" | "single";
|
|
237
237
|
}) => void) | undefined;
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
textValue: string;
|
|
238
|
+
onGoTo?: ((data: {
|
|
239
|
+
id: string;
|
|
241
240
|
}, prevState: {
|
|
242
241
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
243
242
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
@@ -267,9 +266,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
267
266
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
268
267
|
mode: "multiple" | "single";
|
|
269
268
|
}) => void) | undefined;
|
|
270
|
-
|
|
271
|
-
id: string;
|
|
272
|
-
}, prevState: {
|
|
269
|
+
onGoToNext?: ((data: undefined, prevState: {
|
|
273
270
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
274
271
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
275
272
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -298,7 +295,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
298
295
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
299
296
|
mode: "multiple" | "single";
|
|
300
297
|
}) => void) | undefined;
|
|
301
|
-
|
|
298
|
+
onGoToPrevious?: ((data: undefined, prevState: {
|
|
302
299
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
303
300
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
304
301
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -327,7 +324,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
327
324
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
328
325
|
mode: "multiple" | "single";
|
|
329
326
|
}) => void) | undefined;
|
|
330
|
-
|
|
327
|
+
onGoToPreviousRow?: ((data: undefined, prevState: {
|
|
331
328
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
332
329
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
333
330
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -356,7 +353,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
356
353
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
357
354
|
mode: "multiple" | "single";
|
|
358
355
|
}) => void) | undefined;
|
|
359
|
-
|
|
356
|
+
onGoToNextRow?: ((data: undefined, prevState: {
|
|
360
357
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
361
358
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
362
359
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -385,7 +382,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
385
382
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
386
383
|
mode: "multiple" | "single";
|
|
387
384
|
}) => void) | undefined;
|
|
388
|
-
|
|
385
|
+
onGoToFirst?: ((data: undefined, prevState: {
|
|
389
386
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
390
387
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
391
388
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -414,7 +411,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
414
411
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
415
412
|
mode: "multiple" | "single";
|
|
416
413
|
}) => void) | undefined;
|
|
417
|
-
|
|
414
|
+
onGoToLast?: ((data: undefined, prevState: {
|
|
418
415
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
419
416
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
420
417
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -443,7 +440,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
443
440
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
444
441
|
mode: "multiple" | "single";
|
|
445
442
|
}) => void) | undefined;
|
|
446
|
-
|
|
443
|
+
onGoToFirstOfRow?: ((data: undefined, prevState: {
|
|
447
444
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
448
445
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
449
446
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -472,7 +469,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
472
469
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
473
470
|
mode: "multiple" | "single";
|
|
474
471
|
}) => void) | undefined;
|
|
475
|
-
|
|
472
|
+
onGoToLastOfRow?: ((data: undefined, prevState: {
|
|
476
473
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
477
474
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
478
475
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -501,7 +498,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
501
498
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
502
499
|
mode: "multiple" | "single";
|
|
503
500
|
}) => void) | undefined;
|
|
504
|
-
|
|
501
|
+
onGoToNextPage?: ((data: undefined, prevState: {
|
|
505
502
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
506
503
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
507
504
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -530,7 +527,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
530
527
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
531
528
|
mode: "multiple" | "single";
|
|
532
529
|
}) => void) | undefined;
|
|
533
|
-
|
|
530
|
+
onGoToPreviousPage?: ((data: undefined, prevState: {
|
|
534
531
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
535
532
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
536
533
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -559,7 +556,10 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
559
556
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
560
557
|
mode: "multiple" | "single";
|
|
561
558
|
}) => void) | undefined;
|
|
562
|
-
|
|
559
|
+
onRegisterItem?: ((data: {
|
|
560
|
+
item: any;
|
|
561
|
+
textValue: string;
|
|
562
|
+
}, prevState: {
|
|
563
563
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
564
564
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
565
565
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -829,9 +829,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
829
829
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
830
830
|
mode: "multiple" | "single";
|
|
831
831
|
}) => boolean) | undefined;
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
textValue: string;
|
|
832
|
+
shouldGoTo?: ((data: {
|
|
833
|
+
id: string;
|
|
835
834
|
}, state: {
|
|
836
835
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
837
836
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
@@ -861,9 +860,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
861
860
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
862
861
|
mode: "multiple" | "single";
|
|
863
862
|
}) => boolean) | undefined;
|
|
864
|
-
|
|
865
|
-
id: string;
|
|
866
|
-
}, state: {
|
|
863
|
+
shouldGoToNext?: ((data: undefined, state: {
|
|
867
864
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
868
865
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
869
866
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -892,7 +889,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
892
889
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
893
890
|
mode: "multiple" | "single";
|
|
894
891
|
}) => boolean) | undefined;
|
|
895
|
-
|
|
892
|
+
shouldGoToPrevious?: ((data: undefined, state: {
|
|
896
893
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
897
894
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
898
895
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -921,7 +918,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
921
918
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
922
919
|
mode: "multiple" | "single";
|
|
923
920
|
}) => boolean) | undefined;
|
|
924
|
-
|
|
921
|
+
shouldGoToPreviousRow?: ((data: undefined, state: {
|
|
925
922
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
926
923
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
927
924
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -950,7 +947,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
950
947
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
951
948
|
mode: "multiple" | "single";
|
|
952
949
|
}) => boolean) | undefined;
|
|
953
|
-
|
|
950
|
+
shouldGoToNextRow?: ((data: undefined, state: {
|
|
954
951
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
955
952
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
956
953
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -979,7 +976,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
979
976
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
980
977
|
mode: "multiple" | "single";
|
|
981
978
|
}) => boolean) | undefined;
|
|
982
|
-
|
|
979
|
+
shouldGoToFirst?: ((data: undefined, state: {
|
|
983
980
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
984
981
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
985
982
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -1008,7 +1005,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1008
1005
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1009
1006
|
mode: "multiple" | "single";
|
|
1010
1007
|
}) => boolean) | undefined;
|
|
1011
|
-
|
|
1008
|
+
shouldGoToLast?: ((data: undefined, state: {
|
|
1012
1009
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
1013
1010
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
1014
1011
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -1037,7 +1034,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1037
1034
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1038
1035
|
mode: "multiple" | "single";
|
|
1039
1036
|
}) => boolean) | undefined;
|
|
1040
|
-
|
|
1037
|
+
shouldGoToFirstOfRow?: ((data: undefined, state: {
|
|
1041
1038
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
1042
1039
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
1043
1040
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -1066,7 +1063,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1066
1063
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1067
1064
|
mode: "multiple" | "single";
|
|
1068
1065
|
}) => boolean) | undefined;
|
|
1069
|
-
|
|
1066
|
+
shouldGoToLastOfRow?: ((data: undefined, state: {
|
|
1070
1067
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
1071
1068
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
1072
1069
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -1095,7 +1092,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1095
1092
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1096
1093
|
mode: "multiple" | "single";
|
|
1097
1094
|
}) => boolean) | undefined;
|
|
1098
|
-
|
|
1095
|
+
shouldGoToNextPage?: ((data: undefined, state: {
|
|
1099
1096
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
1100
1097
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
1101
1098
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -1124,7 +1121,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1124
1121
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1125
1122
|
mode: "multiple" | "single";
|
|
1126
1123
|
}) => boolean) | undefined;
|
|
1127
|
-
|
|
1124
|
+
shouldGoToPreviousPage?: ((data: undefined, state: {
|
|
1128
1125
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
1129
1126
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
1130
1127
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -1153,7 +1150,10 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1153
1150
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1154
1151
|
mode: "multiple" | "single";
|
|
1155
1152
|
}) => boolean) | undefined;
|
|
1156
|
-
|
|
1153
|
+
shouldRegisterItem?: ((data: {
|
|
1154
|
+
item: any;
|
|
1155
|
+
textValue: string;
|
|
1156
|
+
}, state: {
|
|
1157
1157
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
1158
1158
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
1159
1159
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -1691,9 +1691,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1691
1691
|
isVirtualized: boolean;
|
|
1692
1692
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1693
1693
|
}) => void) | undefined;
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
textValue: string;
|
|
1694
|
+
onGoTo?: ((data: {
|
|
1695
|
+
id: string;
|
|
1697
1696
|
}, prevState: {
|
|
1698
1697
|
getId: (item: any) => string;
|
|
1699
1698
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
@@ -1731,9 +1730,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1731
1730
|
isVirtualized: boolean;
|
|
1732
1731
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1733
1732
|
}) => void) | undefined;
|
|
1734
|
-
|
|
1735
|
-
id: string;
|
|
1736
|
-
}, prevState: {
|
|
1733
|
+
onGoToNext?: ((data: undefined, prevState: {
|
|
1737
1734
|
getId: (item: any) => string;
|
|
1738
1735
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1739
1736
|
/**
|
|
@@ -1770,7 +1767,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1770
1767
|
isVirtualized: boolean;
|
|
1771
1768
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1772
1769
|
}) => void) | undefined;
|
|
1773
|
-
|
|
1770
|
+
onGoToPrevious?: ((data: undefined, prevState: {
|
|
1774
1771
|
getId: (item: any) => string;
|
|
1775
1772
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1776
1773
|
/**
|
|
@@ -1807,7 +1804,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1807
1804
|
isVirtualized: boolean;
|
|
1808
1805
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1809
1806
|
}) => void) | undefined;
|
|
1810
|
-
|
|
1807
|
+
onGoToPreviousRow?: ((data: undefined, prevState: {
|
|
1811
1808
|
getId: (item: any) => string;
|
|
1812
1809
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1813
1810
|
/**
|
|
@@ -1844,7 +1841,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1844
1841
|
isVirtualized: boolean;
|
|
1845
1842
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1846
1843
|
}) => void) | undefined;
|
|
1847
|
-
|
|
1844
|
+
onGoToNextRow?: ((data: undefined, prevState: {
|
|
1848
1845
|
getId: (item: any) => string;
|
|
1849
1846
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1850
1847
|
/**
|
|
@@ -1881,7 +1878,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1881
1878
|
isVirtualized: boolean;
|
|
1882
1879
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1883
1880
|
}) => void) | undefined;
|
|
1884
|
-
|
|
1881
|
+
onGoToFirst?: ((data: undefined, prevState: {
|
|
1885
1882
|
getId: (item: any) => string;
|
|
1886
1883
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1887
1884
|
/**
|
|
@@ -1918,7 +1915,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1918
1915
|
isVirtualized: boolean;
|
|
1919
1916
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1920
1917
|
}) => void) | undefined;
|
|
1921
|
-
|
|
1918
|
+
onGoToLast?: ((data: undefined, prevState: {
|
|
1922
1919
|
getId: (item: any) => string;
|
|
1923
1920
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1924
1921
|
/**
|
|
@@ -1955,7 +1952,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1955
1952
|
isVirtualized: boolean;
|
|
1956
1953
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1957
1954
|
}) => void) | undefined;
|
|
1958
|
-
|
|
1955
|
+
onGoToFirstOfRow?: ((data: undefined, prevState: {
|
|
1959
1956
|
getId: (item: any) => string;
|
|
1960
1957
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1961
1958
|
/**
|
|
@@ -1992,7 +1989,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1992
1989
|
isVirtualized: boolean;
|
|
1993
1990
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1994
1991
|
}) => void) | undefined;
|
|
1995
|
-
|
|
1992
|
+
onGoToLastOfRow?: ((data: undefined, prevState: {
|
|
1996
1993
|
getId: (item: any) => string;
|
|
1997
1994
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1998
1995
|
/**
|
|
@@ -2029,7 +2026,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2029
2026
|
isVirtualized: boolean;
|
|
2030
2027
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2031
2028
|
}) => void) | undefined;
|
|
2032
|
-
|
|
2029
|
+
onGoToNextPage?: ((data: undefined, prevState: {
|
|
2033
2030
|
getId: (item: any) => string;
|
|
2034
2031
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2035
2032
|
/**
|
|
@@ -2066,7 +2063,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2066
2063
|
isVirtualized: boolean;
|
|
2067
2064
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2068
2065
|
}) => void) | undefined;
|
|
2069
|
-
|
|
2066
|
+
onGoToPreviousPage?: ((data: undefined, prevState: {
|
|
2070
2067
|
getId: (item: any) => string;
|
|
2071
2068
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2072
2069
|
/**
|
|
@@ -2103,7 +2100,10 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2103
2100
|
isVirtualized: boolean;
|
|
2104
2101
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2105
2102
|
}) => void) | undefined;
|
|
2106
|
-
|
|
2103
|
+
onRegisterItem?: ((data: {
|
|
2104
|
+
item: any;
|
|
2105
|
+
textValue: string;
|
|
2106
|
+
}, prevState: {
|
|
2107
2107
|
getId: (item: any) => string;
|
|
2108
2108
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2109
2109
|
/**
|
|
@@ -2646,9 +2646,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2646
2646
|
isVirtualized: boolean;
|
|
2647
2647
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2648
2648
|
}) => boolean) | undefined;
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
textValue: string;
|
|
2649
|
+
shouldGoTo?: ((data: {
|
|
2650
|
+
id: string;
|
|
2652
2651
|
}, state: {
|
|
2653
2652
|
getId: (item: any) => string;
|
|
2654
2653
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
@@ -2686,9 +2685,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2686
2685
|
isVirtualized: boolean;
|
|
2687
2686
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2688
2687
|
}) => boolean) | undefined;
|
|
2689
|
-
|
|
2690
|
-
id: string;
|
|
2691
|
-
}, state: {
|
|
2688
|
+
shouldGoToNext?: ((data: undefined, state: {
|
|
2692
2689
|
getId: (item: any) => string;
|
|
2693
2690
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2694
2691
|
/**
|
|
@@ -2725,7 +2722,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2725
2722
|
isVirtualized: boolean;
|
|
2726
2723
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2727
2724
|
}) => boolean) | undefined;
|
|
2728
|
-
|
|
2725
|
+
shouldGoToPrevious?: ((data: undefined, state: {
|
|
2729
2726
|
getId: (item: any) => string;
|
|
2730
2727
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2731
2728
|
/**
|
|
@@ -2762,7 +2759,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2762
2759
|
isVirtualized: boolean;
|
|
2763
2760
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2764
2761
|
}) => boolean) | undefined;
|
|
2765
|
-
|
|
2762
|
+
shouldGoToPreviousRow?: ((data: undefined, state: {
|
|
2766
2763
|
getId: (item: any) => string;
|
|
2767
2764
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2768
2765
|
/**
|
|
@@ -2799,7 +2796,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2799
2796
|
isVirtualized: boolean;
|
|
2800
2797
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2801
2798
|
}) => boolean) | undefined;
|
|
2802
|
-
|
|
2799
|
+
shouldGoToNextRow?: ((data: undefined, state: {
|
|
2803
2800
|
getId: (item: any) => string;
|
|
2804
2801
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2805
2802
|
/**
|
|
@@ -2836,7 +2833,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2836
2833
|
isVirtualized: boolean;
|
|
2837
2834
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2838
2835
|
}) => boolean) | undefined;
|
|
2839
|
-
|
|
2836
|
+
shouldGoToFirst?: ((data: undefined, state: {
|
|
2840
2837
|
getId: (item: any) => string;
|
|
2841
2838
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2842
2839
|
/**
|
|
@@ -2873,7 +2870,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2873
2870
|
isVirtualized: boolean;
|
|
2874
2871
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2875
2872
|
}) => boolean) | undefined;
|
|
2876
|
-
|
|
2873
|
+
shouldGoToLast?: ((data: undefined, state: {
|
|
2877
2874
|
getId: (item: any) => string;
|
|
2878
2875
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2879
2876
|
/**
|
|
@@ -2910,7 +2907,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2910
2907
|
isVirtualized: boolean;
|
|
2911
2908
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2912
2909
|
}) => boolean) | undefined;
|
|
2913
|
-
|
|
2910
|
+
shouldGoToFirstOfRow?: ((data: undefined, state: {
|
|
2914
2911
|
getId: (item: any) => string;
|
|
2915
2912
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2916
2913
|
/**
|
|
@@ -2947,7 +2944,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2947
2944
|
isVirtualized: boolean;
|
|
2948
2945
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2949
2946
|
}) => boolean) | undefined;
|
|
2950
|
-
|
|
2947
|
+
shouldGoToLastOfRow?: ((data: undefined, state: {
|
|
2951
2948
|
getId: (item: any) => string;
|
|
2952
2949
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2953
2950
|
/**
|
|
@@ -2984,7 +2981,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2984
2981
|
isVirtualized: boolean;
|
|
2985
2982
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
2986
2983
|
}) => boolean) | undefined;
|
|
2987
|
-
|
|
2984
|
+
shouldGoToNextPage?: ((data: undefined, state: {
|
|
2988
2985
|
getId: (item: any) => string;
|
|
2989
2986
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2990
2987
|
/**
|
|
@@ -3021,7 +3018,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3021
3018
|
isVirtualized: boolean;
|
|
3022
3019
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3023
3020
|
}) => boolean) | undefined;
|
|
3024
|
-
|
|
3021
|
+
shouldGoToPreviousPage?: ((data: undefined, state: {
|
|
3025
3022
|
getId: (item: any) => string;
|
|
3026
3023
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
3027
3024
|
/**
|
|
@@ -3058,7 +3055,10 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3058
3055
|
isVirtualized: boolean;
|
|
3059
3056
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3060
3057
|
}) => boolean) | undefined;
|
|
3061
|
-
|
|
3058
|
+
shouldRegisterItem?: ((data: {
|
|
3059
|
+
item: any;
|
|
3060
|
+
textValue: string;
|
|
3061
|
+
}, state: {
|
|
3062
3062
|
getId: (item: any) => string;
|
|
3063
3063
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
3064
3064
|
/**
|
|
@@ -3249,10 +3249,6 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3249
3249
|
}): void;
|
|
3250
3250
|
selectAll(): void;
|
|
3251
3251
|
unselectAll(): void;
|
|
3252
|
-
registerItem(data: {
|
|
3253
|
-
item: any;
|
|
3254
|
-
textValue: string;
|
|
3255
|
-
}): void;
|
|
3256
3252
|
goTo(data: {
|
|
3257
3253
|
id: string;
|
|
3258
3254
|
}): void;
|
|
@@ -3266,6 +3262,10 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3266
3262
|
goToLastOfRow(): void;
|
|
3267
3263
|
goToNextPage(): void;
|
|
3268
3264
|
goToPreviousPage(): void;
|
|
3265
|
+
registerItem(data: {
|
|
3266
|
+
item: any;
|
|
3267
|
+
textValue: string;
|
|
3268
|
+
}): void;
|
|
3269
3269
|
unregisterItem(data: {
|
|
3270
3270
|
id: string;
|
|
3271
3271
|
}): void;
|
|
@@ -3316,10 +3316,6 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3316
3316
|
}): void;
|
|
3317
3317
|
selectAll(): void;
|
|
3318
3318
|
unselectAll(): void;
|
|
3319
|
-
registerItem(data: {
|
|
3320
|
-
item: any;
|
|
3321
|
-
textValue: string;
|
|
3322
|
-
}): void;
|
|
3323
3319
|
goTo(data: {
|
|
3324
3320
|
id: string;
|
|
3325
3321
|
}): void;
|
|
@@ -3333,6 +3329,10 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3333
3329
|
goToLastOfRow(): void;
|
|
3334
3330
|
goToNextPage(): void;
|
|
3335
3331
|
goToPreviousPage(): void;
|
|
3332
|
+
registerItem(data: {
|
|
3333
|
+
item: any;
|
|
3334
|
+
textValue: string;
|
|
3335
|
+
}): void;
|
|
3336
3336
|
unregisterItem(data: {
|
|
3337
3337
|
id: string;
|
|
3338
3338
|
}): void;
|
|
@@ -3567,9 +3567,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3567
3567
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3568
3568
|
mode: "multiple" | "single";
|
|
3569
3569
|
}) => void) | undefined;
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
textValue: string;
|
|
3570
|
+
onGoTo?: ((data: {
|
|
3571
|
+
id: string;
|
|
3573
3572
|
}, prevState: {
|
|
3574
3573
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
3575
3574
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
@@ -3599,9 +3598,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3599
3598
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3600
3599
|
mode: "multiple" | "single";
|
|
3601
3600
|
}) => void) | undefined;
|
|
3602
|
-
|
|
3603
|
-
id: string;
|
|
3604
|
-
}, prevState: {
|
|
3601
|
+
onGoToNext?: ((data: undefined, prevState: {
|
|
3605
3602
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
3606
3603
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
3607
3604
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -3630,7 +3627,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3630
3627
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3631
3628
|
mode: "multiple" | "single";
|
|
3632
3629
|
}) => void) | undefined;
|
|
3633
|
-
|
|
3630
|
+
onGoToPrevious?: ((data: undefined, prevState: {
|
|
3634
3631
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
3635
3632
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
3636
3633
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -3659,7 +3656,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3659
3656
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3660
3657
|
mode: "multiple" | "single";
|
|
3661
3658
|
}) => void) | undefined;
|
|
3662
|
-
|
|
3659
|
+
onGoToPreviousRow?: ((data: undefined, prevState: {
|
|
3663
3660
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
3664
3661
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
3665
3662
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -3688,7 +3685,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3688
3685
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3689
3686
|
mode: "multiple" | "single";
|
|
3690
3687
|
}) => void) | undefined;
|
|
3691
|
-
|
|
3688
|
+
onGoToNextRow?: ((data: undefined, prevState: {
|
|
3692
3689
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
3693
3690
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
3694
3691
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -3717,7 +3714,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3717
3714
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3718
3715
|
mode: "multiple" | "single";
|
|
3719
3716
|
}) => void) | undefined;
|
|
3720
|
-
|
|
3717
|
+
onGoToFirst?: ((data: undefined, prevState: {
|
|
3721
3718
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
3722
3719
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
3723
3720
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -3746,7 +3743,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3746
3743
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3747
3744
|
mode: "multiple" | "single";
|
|
3748
3745
|
}) => void) | undefined;
|
|
3749
|
-
|
|
3746
|
+
onGoToLast?: ((data: undefined, prevState: {
|
|
3750
3747
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
3751
3748
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
3752
3749
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -3775,7 +3772,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3775
3772
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3776
3773
|
mode: "multiple" | "single";
|
|
3777
3774
|
}) => void) | undefined;
|
|
3778
|
-
|
|
3775
|
+
onGoToFirstOfRow?: ((data: undefined, prevState: {
|
|
3779
3776
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
3780
3777
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
3781
3778
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -3804,7 +3801,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3804
3801
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3805
3802
|
mode: "multiple" | "single";
|
|
3806
3803
|
}) => void) | undefined;
|
|
3807
|
-
|
|
3804
|
+
onGoToLastOfRow?: ((data: undefined, prevState: {
|
|
3808
3805
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
3809
3806
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
3810
3807
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -3833,7 +3830,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3833
3830
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3834
3831
|
mode: "multiple" | "single";
|
|
3835
3832
|
}) => void) | undefined;
|
|
3836
|
-
|
|
3833
|
+
onGoToNextPage?: ((data: undefined, prevState: {
|
|
3837
3834
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
3838
3835
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
3839
3836
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -3862,7 +3859,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3862
3859
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3863
3860
|
mode: "multiple" | "single";
|
|
3864
3861
|
}) => void) | undefined;
|
|
3865
|
-
|
|
3862
|
+
onGoToPreviousPage?: ((data: undefined, prevState: {
|
|
3866
3863
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
3867
3864
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
3868
3865
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -3891,7 +3888,10 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
3891
3888
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
3892
3889
|
mode: "multiple" | "single";
|
|
3893
3890
|
}) => void) | undefined;
|
|
3894
|
-
|
|
3891
|
+
onRegisterItem?: ((data: {
|
|
3892
|
+
item: any;
|
|
3893
|
+
textValue: string;
|
|
3894
|
+
}, prevState: {
|
|
3895
3895
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
3896
3896
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
3897
3897
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -4161,9 +4161,8 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4161
4161
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4162
4162
|
mode: "multiple" | "single";
|
|
4163
4163
|
}) => boolean) | undefined;
|
|
4164
|
-
|
|
4165
|
-
|
|
4166
|
-
textValue: string;
|
|
4164
|
+
shouldGoTo?: ((data: {
|
|
4165
|
+
id: string;
|
|
4167
4166
|
}, state: {
|
|
4168
4167
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
4169
4168
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
@@ -4193,9 +4192,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4193
4192
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4194
4193
|
mode: "multiple" | "single";
|
|
4195
4194
|
}) => boolean) | undefined;
|
|
4196
|
-
|
|
4197
|
-
id: string;
|
|
4198
|
-
}, state: {
|
|
4195
|
+
shouldGoToNext?: ((data: undefined, state: {
|
|
4199
4196
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
4200
4197
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
4201
4198
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -4224,7 +4221,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4224
4221
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4225
4222
|
mode: "multiple" | "single";
|
|
4226
4223
|
}) => boolean) | undefined;
|
|
4227
|
-
|
|
4224
|
+
shouldGoToPrevious?: ((data: undefined, state: {
|
|
4228
4225
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
4229
4226
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
4230
4227
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -4253,7 +4250,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4253
4250
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4254
4251
|
mode: "multiple" | "single";
|
|
4255
4252
|
}) => boolean) | undefined;
|
|
4256
|
-
|
|
4253
|
+
shouldGoToPreviousRow?: ((data: undefined, state: {
|
|
4257
4254
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
4258
4255
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
4259
4256
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -4282,7 +4279,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4282
4279
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4283
4280
|
mode: "multiple" | "single";
|
|
4284
4281
|
}) => boolean) | undefined;
|
|
4285
|
-
|
|
4282
|
+
shouldGoToNextRow?: ((data: undefined, state: {
|
|
4286
4283
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
4287
4284
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
4288
4285
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -4311,7 +4308,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4311
4308
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4312
4309
|
mode: "multiple" | "single";
|
|
4313
4310
|
}) => boolean) | undefined;
|
|
4314
|
-
|
|
4311
|
+
shouldGoToFirst?: ((data: undefined, state: {
|
|
4315
4312
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
4316
4313
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
4317
4314
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -4340,7 +4337,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4340
4337
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4341
4338
|
mode: "multiple" | "single";
|
|
4342
4339
|
}) => boolean) | undefined;
|
|
4343
|
-
|
|
4340
|
+
shouldGoToLast?: ((data: undefined, state: {
|
|
4344
4341
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
4345
4342
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
4346
4343
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -4369,7 +4366,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4369
4366
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4370
4367
|
mode: "multiple" | "single";
|
|
4371
4368
|
}) => boolean) | undefined;
|
|
4372
|
-
|
|
4369
|
+
shouldGoToFirstOfRow?: ((data: undefined, state: {
|
|
4373
4370
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
4374
4371
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
4375
4372
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -4398,7 +4395,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4398
4395
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4399
4396
|
mode: "multiple" | "single";
|
|
4400
4397
|
}) => boolean) | undefined;
|
|
4401
|
-
|
|
4398
|
+
shouldGoToLastOfRow?: ((data: undefined, state: {
|
|
4402
4399
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
4403
4400
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
4404
4401
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -4427,7 +4424,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4427
4424
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4428
4425
|
mode: "multiple" | "single";
|
|
4429
4426
|
}) => boolean) | undefined;
|
|
4430
|
-
|
|
4427
|
+
shouldGoToNextPage?: ((data: undefined, state: {
|
|
4431
4428
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
4432
4429
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
4433
4430
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -4456,7 +4453,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4456
4453
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4457
4454
|
mode: "multiple" | "single";
|
|
4458
4455
|
}) => boolean) | undefined;
|
|
4459
|
-
|
|
4456
|
+
shouldGoToPreviousPage?: ((data: undefined, state: {
|
|
4460
4457
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
4461
4458
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
4462
4459
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -4485,7 +4482,10 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4485
4482
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
4486
4483
|
mode: "multiple" | "single";
|
|
4487
4484
|
}) => boolean) | undefined;
|
|
4488
|
-
|
|
4485
|
+
shouldRegisterItem?: ((data: {
|
|
4486
|
+
item: any;
|
|
4487
|
+
textValue: string;
|
|
4488
|
+
}, state: {
|
|
4489
4489
|
stackRef: React.RefObject<HTMLDivElement>;
|
|
4490
4490
|
targetRef: React.RefObject<HTMLButtonElement>;
|
|
4491
4491
|
initialFocusRef: React.RefObject<any> | undefined;
|
|
@@ -4669,10 +4669,6 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4669
4669
|
}): void;
|
|
4670
4670
|
selectAll(): void;
|
|
4671
4671
|
unselectAll(): void;
|
|
4672
|
-
registerItem(data: {
|
|
4673
|
-
item: any;
|
|
4674
|
-
textValue: string;
|
|
4675
|
-
}): void;
|
|
4676
4672
|
goTo(data: {
|
|
4677
4673
|
id: string;
|
|
4678
4674
|
}): void;
|
|
@@ -4686,6 +4682,10 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4686
4682
|
goToLastOfRow(): void;
|
|
4687
4683
|
goToNextPage(): void;
|
|
4688
4684
|
goToPreviousPage(): void;
|
|
4685
|
+
registerItem(data: {
|
|
4686
|
+
item: any;
|
|
4687
|
+
textValue: string;
|
|
4688
|
+
}): void;
|
|
4689
4689
|
unregisterItem(data: {
|
|
4690
4690
|
id: string;
|
|
4691
4691
|
}): void;
|
|
@@ -4768,10 +4768,6 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4768
4768
|
}): void;
|
|
4769
4769
|
selectAll(): void;
|
|
4770
4770
|
unselectAll(): void;
|
|
4771
|
-
registerItem(data: {
|
|
4772
|
-
item: any;
|
|
4773
|
-
textValue: string;
|
|
4774
|
-
}): void;
|
|
4775
4771
|
goTo(data: {
|
|
4776
4772
|
id: string;
|
|
4777
4773
|
}): void;
|
|
@@ -4785,6 +4781,10 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4785
4781
|
goToLastOfRow(): void;
|
|
4786
4782
|
goToNextPage(): void;
|
|
4787
4783
|
goToPreviousPage(): void;
|
|
4784
|
+
registerItem(data: {
|
|
4785
|
+
item: any;
|
|
4786
|
+
textValue: string;
|
|
4787
|
+
}): void;
|
|
4788
4788
|
unregisterItem(data: {
|
|
4789
4789
|
id: string;
|
|
4790
4790
|
}): void;
|
|
@@ -4835,10 +4835,6 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4835
4835
|
}): void;
|
|
4836
4836
|
selectAll(): void;
|
|
4837
4837
|
unselectAll(): void;
|
|
4838
|
-
registerItem(data: {
|
|
4839
|
-
item: any;
|
|
4840
|
-
textValue: string;
|
|
4841
|
-
}): void;
|
|
4842
4838
|
goTo(data: {
|
|
4843
4839
|
id: string;
|
|
4844
4840
|
}): void;
|
|
@@ -4852,6 +4848,10 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
4852
4848
|
goToLastOfRow(): void;
|
|
4853
4849
|
goToNextPage(): void;
|
|
4854
4850
|
goToPreviousPage(): void;
|
|
4851
|
+
registerItem(data: {
|
|
4852
|
+
item: any;
|
|
4853
|
+
textValue: string;
|
|
4854
|
+
}): void;
|
|
4855
4855
|
unregisterItem(data: {
|
|
4856
4856
|
id: string;
|
|
4857
4857
|
}): void;
|