@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
|
@@ -273,9 +273,8 @@ export declare const useOverflowListModel: (<TT_Special_Generic>(config?: (Parti
|
|
|
273
273
|
isVirtualized: boolean;
|
|
274
274
|
items: import("./useBaseListModel").Item<any>[];
|
|
275
275
|
}) => void) | undefined;
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
textValue: string;
|
|
276
|
+
onGoTo?: ((data: {
|
|
277
|
+
id: string;
|
|
279
278
|
}, prevState: {
|
|
280
279
|
hiddenIds: string[];
|
|
281
280
|
itemWidthCache: Record<string, number>;
|
|
@@ -302,9 +301,7 @@ export declare const useOverflowListModel: (<TT_Special_Generic>(config?: (Parti
|
|
|
302
301
|
isVirtualized: boolean;
|
|
303
302
|
items: import("./useBaseListModel").Item<any>[];
|
|
304
303
|
}) => void) | undefined;
|
|
305
|
-
|
|
306
|
-
id: string;
|
|
307
|
-
}, prevState: {
|
|
304
|
+
onGoToNext?: ((data: undefined, prevState: {
|
|
308
305
|
hiddenIds: string[];
|
|
309
306
|
itemWidthCache: Record<string, number>;
|
|
310
307
|
containerWidth: number;
|
|
@@ -330,7 +327,7 @@ export declare const useOverflowListModel: (<TT_Special_Generic>(config?: (Parti
|
|
|
330
327
|
isVirtualized: boolean;
|
|
331
328
|
items: import("./useBaseListModel").Item<any>[];
|
|
332
329
|
}) => void) | undefined;
|
|
333
|
-
|
|
330
|
+
onGoToPrevious?: ((data: undefined, prevState: {
|
|
334
331
|
hiddenIds: string[];
|
|
335
332
|
itemWidthCache: Record<string, number>;
|
|
336
333
|
containerWidth: number;
|
|
@@ -356,7 +353,7 @@ export declare const useOverflowListModel: (<TT_Special_Generic>(config?: (Parti
|
|
|
356
353
|
isVirtualized: boolean;
|
|
357
354
|
items: import("./useBaseListModel").Item<any>[];
|
|
358
355
|
}) => void) | undefined;
|
|
359
|
-
|
|
356
|
+
onGoToPreviousRow?: ((data: undefined, prevState: {
|
|
360
357
|
hiddenIds: string[];
|
|
361
358
|
itemWidthCache: Record<string, number>;
|
|
362
359
|
containerWidth: number;
|
|
@@ -382,7 +379,7 @@ export declare const useOverflowListModel: (<TT_Special_Generic>(config?: (Parti
|
|
|
382
379
|
isVirtualized: boolean;
|
|
383
380
|
items: import("./useBaseListModel").Item<any>[];
|
|
384
381
|
}) => void) | undefined;
|
|
385
|
-
|
|
382
|
+
onGoToNextRow?: ((data: undefined, prevState: {
|
|
386
383
|
hiddenIds: string[];
|
|
387
384
|
itemWidthCache: Record<string, number>;
|
|
388
385
|
containerWidth: number;
|
|
@@ -408,7 +405,7 @@ export declare const useOverflowListModel: (<TT_Special_Generic>(config?: (Parti
|
|
|
408
405
|
isVirtualized: boolean;
|
|
409
406
|
items: import("./useBaseListModel").Item<any>[];
|
|
410
407
|
}) => void) | undefined;
|
|
411
|
-
|
|
408
|
+
onGoToFirst?: ((data: undefined, prevState: {
|
|
412
409
|
hiddenIds: string[];
|
|
413
410
|
itemWidthCache: Record<string, number>;
|
|
414
411
|
containerWidth: number;
|
|
@@ -434,7 +431,7 @@ export declare const useOverflowListModel: (<TT_Special_Generic>(config?: (Parti
|
|
|
434
431
|
isVirtualized: boolean;
|
|
435
432
|
items: import("./useBaseListModel").Item<any>[];
|
|
436
433
|
}) => void) | undefined;
|
|
437
|
-
|
|
434
|
+
onGoToLast?: ((data: undefined, prevState: {
|
|
438
435
|
hiddenIds: string[];
|
|
439
436
|
itemWidthCache: Record<string, number>;
|
|
440
437
|
containerWidth: number;
|
|
@@ -460,7 +457,7 @@ export declare const useOverflowListModel: (<TT_Special_Generic>(config?: (Parti
|
|
|
460
457
|
isVirtualized: boolean;
|
|
461
458
|
items: import("./useBaseListModel").Item<any>[];
|
|
462
459
|
}) => void) | undefined;
|
|
463
|
-
|
|
460
|
+
onGoToFirstOfRow?: ((data: undefined, prevState: {
|
|
464
461
|
hiddenIds: string[];
|
|
465
462
|
itemWidthCache: Record<string, number>;
|
|
466
463
|
containerWidth: number;
|
|
@@ -486,7 +483,7 @@ export declare const useOverflowListModel: (<TT_Special_Generic>(config?: (Parti
|
|
|
486
483
|
isVirtualized: boolean;
|
|
487
484
|
items: import("./useBaseListModel").Item<any>[];
|
|
488
485
|
}) => void) | undefined;
|
|
489
|
-
|
|
486
|
+
onGoToLastOfRow?: ((data: undefined, prevState: {
|
|
490
487
|
hiddenIds: string[];
|
|
491
488
|
itemWidthCache: Record<string, number>;
|
|
492
489
|
containerWidth: number;
|
|
@@ -512,7 +509,7 @@ export declare const useOverflowListModel: (<TT_Special_Generic>(config?: (Parti
|
|
|
512
509
|
isVirtualized: boolean;
|
|
513
510
|
items: import("./useBaseListModel").Item<any>[];
|
|
514
511
|
}) => void) | undefined;
|
|
515
|
-
|
|
512
|
+
onGoToNextPage?: ((data: undefined, prevState: {
|
|
516
513
|
hiddenIds: string[];
|
|
517
514
|
itemWidthCache: Record<string, number>;
|
|
518
515
|
containerWidth: number;
|
|
@@ -538,7 +535,7 @@ export declare const useOverflowListModel: (<TT_Special_Generic>(config?: (Parti
|
|
|
538
535
|
isVirtualized: boolean;
|
|
539
536
|
items: import("./useBaseListModel").Item<any>[];
|
|
540
537
|
}) => void) | undefined;
|
|
541
|
-
|
|
538
|
+
onGoToPreviousPage?: ((data: undefined, prevState: {
|
|
542
539
|
hiddenIds: string[];
|
|
543
540
|
itemWidthCache: Record<string, number>;
|
|
544
541
|
containerWidth: number;
|
|
@@ -564,7 +561,10 @@ export declare const useOverflowListModel: (<TT_Special_Generic>(config?: (Parti
|
|
|
564
561
|
isVirtualized: boolean;
|
|
565
562
|
items: import("./useBaseListModel").Item<any>[];
|
|
566
563
|
}) => void) | undefined;
|
|
567
|
-
|
|
564
|
+
onRegisterItem?: ((data: {
|
|
565
|
+
item: any;
|
|
566
|
+
textValue: string;
|
|
567
|
+
}, prevState: {
|
|
568
568
|
hiddenIds: string[];
|
|
569
569
|
itemWidthCache: Record<string, number>;
|
|
570
570
|
containerWidth: number;
|
|
@@ -896,9 +896,8 @@ export declare const useOverflowListModel: (<TT_Special_Generic>(config?: (Parti
|
|
|
896
896
|
isVirtualized: boolean;
|
|
897
897
|
items: import("./useBaseListModel").Item<any>[];
|
|
898
898
|
}) => boolean) | undefined;
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
textValue: string;
|
|
899
|
+
shouldGoTo?: ((data: {
|
|
900
|
+
id: string;
|
|
902
901
|
}, state: {
|
|
903
902
|
hiddenIds: string[];
|
|
904
903
|
itemWidthCache: Record<string, number>;
|
|
@@ -925,9 +924,7 @@ export declare const useOverflowListModel: (<TT_Special_Generic>(config?: (Parti
|
|
|
925
924
|
isVirtualized: boolean;
|
|
926
925
|
items: import("./useBaseListModel").Item<any>[];
|
|
927
926
|
}) => boolean) | undefined;
|
|
928
|
-
|
|
929
|
-
id: string;
|
|
930
|
-
}, state: {
|
|
927
|
+
shouldGoToNext?: ((data: undefined, state: {
|
|
931
928
|
hiddenIds: string[];
|
|
932
929
|
itemWidthCache: Record<string, number>;
|
|
933
930
|
containerWidth: number;
|
|
@@ -953,7 +950,7 @@ export declare const useOverflowListModel: (<TT_Special_Generic>(config?: (Parti
|
|
|
953
950
|
isVirtualized: boolean;
|
|
954
951
|
items: import("./useBaseListModel").Item<any>[];
|
|
955
952
|
}) => boolean) | undefined;
|
|
956
|
-
|
|
953
|
+
shouldGoToPrevious?: ((data: undefined, state: {
|
|
957
954
|
hiddenIds: string[];
|
|
958
955
|
itemWidthCache: Record<string, number>;
|
|
959
956
|
containerWidth: number;
|
|
@@ -979,7 +976,7 @@ export declare const useOverflowListModel: (<TT_Special_Generic>(config?: (Parti
|
|
|
979
976
|
isVirtualized: boolean;
|
|
980
977
|
items: import("./useBaseListModel").Item<any>[];
|
|
981
978
|
}) => boolean) | undefined;
|
|
982
|
-
|
|
979
|
+
shouldGoToPreviousRow?: ((data: undefined, state: {
|
|
983
980
|
hiddenIds: string[];
|
|
984
981
|
itemWidthCache: Record<string, number>;
|
|
985
982
|
containerWidth: number;
|
|
@@ -1005,7 +1002,7 @@ export declare const useOverflowListModel: (<TT_Special_Generic>(config?: (Parti
|
|
|
1005
1002
|
isVirtualized: boolean;
|
|
1006
1003
|
items: import("./useBaseListModel").Item<any>[];
|
|
1007
1004
|
}) => boolean) | undefined;
|
|
1008
|
-
|
|
1005
|
+
shouldGoToNextRow?: ((data: undefined, state: {
|
|
1009
1006
|
hiddenIds: string[];
|
|
1010
1007
|
itemWidthCache: Record<string, number>;
|
|
1011
1008
|
containerWidth: number;
|
|
@@ -1031,7 +1028,7 @@ export declare const useOverflowListModel: (<TT_Special_Generic>(config?: (Parti
|
|
|
1031
1028
|
isVirtualized: boolean;
|
|
1032
1029
|
items: import("./useBaseListModel").Item<any>[];
|
|
1033
1030
|
}) => boolean) | undefined;
|
|
1034
|
-
|
|
1031
|
+
shouldGoToFirst?: ((data: undefined, state: {
|
|
1035
1032
|
hiddenIds: string[];
|
|
1036
1033
|
itemWidthCache: Record<string, number>;
|
|
1037
1034
|
containerWidth: number;
|
|
@@ -1057,7 +1054,7 @@ export declare const useOverflowListModel: (<TT_Special_Generic>(config?: (Parti
|
|
|
1057
1054
|
isVirtualized: boolean;
|
|
1058
1055
|
items: import("./useBaseListModel").Item<any>[];
|
|
1059
1056
|
}) => boolean) | undefined;
|
|
1060
|
-
|
|
1057
|
+
shouldGoToLast?: ((data: undefined, state: {
|
|
1061
1058
|
hiddenIds: string[];
|
|
1062
1059
|
itemWidthCache: Record<string, number>;
|
|
1063
1060
|
containerWidth: number;
|
|
@@ -1083,7 +1080,7 @@ export declare const useOverflowListModel: (<TT_Special_Generic>(config?: (Parti
|
|
|
1083
1080
|
isVirtualized: boolean;
|
|
1084
1081
|
items: import("./useBaseListModel").Item<any>[];
|
|
1085
1082
|
}) => boolean) | undefined;
|
|
1086
|
-
|
|
1083
|
+
shouldGoToFirstOfRow?: ((data: undefined, state: {
|
|
1087
1084
|
hiddenIds: string[];
|
|
1088
1085
|
itemWidthCache: Record<string, number>;
|
|
1089
1086
|
containerWidth: number;
|
|
@@ -1109,7 +1106,7 @@ export declare const useOverflowListModel: (<TT_Special_Generic>(config?: (Parti
|
|
|
1109
1106
|
isVirtualized: boolean;
|
|
1110
1107
|
items: import("./useBaseListModel").Item<any>[];
|
|
1111
1108
|
}) => boolean) | undefined;
|
|
1112
|
-
|
|
1109
|
+
shouldGoToLastOfRow?: ((data: undefined, state: {
|
|
1113
1110
|
hiddenIds: string[];
|
|
1114
1111
|
itemWidthCache: Record<string, number>;
|
|
1115
1112
|
containerWidth: number;
|
|
@@ -1135,7 +1132,7 @@ export declare const useOverflowListModel: (<TT_Special_Generic>(config?: (Parti
|
|
|
1135
1132
|
isVirtualized: boolean;
|
|
1136
1133
|
items: import("./useBaseListModel").Item<any>[];
|
|
1137
1134
|
}) => boolean) | undefined;
|
|
1138
|
-
|
|
1135
|
+
shouldGoToNextPage?: ((data: undefined, state: {
|
|
1139
1136
|
hiddenIds: string[];
|
|
1140
1137
|
itemWidthCache: Record<string, number>;
|
|
1141
1138
|
containerWidth: number;
|
|
@@ -1161,7 +1158,7 @@ export declare const useOverflowListModel: (<TT_Special_Generic>(config?: (Parti
|
|
|
1161
1158
|
isVirtualized: boolean;
|
|
1162
1159
|
items: import("./useBaseListModel").Item<any>[];
|
|
1163
1160
|
}) => boolean) | undefined;
|
|
1164
|
-
|
|
1161
|
+
shouldGoToPreviousPage?: ((data: undefined, state: {
|
|
1165
1162
|
hiddenIds: string[];
|
|
1166
1163
|
itemWidthCache: Record<string, number>;
|
|
1167
1164
|
containerWidth: number;
|
|
@@ -1187,7 +1184,10 @@ export declare const useOverflowListModel: (<TT_Special_Generic>(config?: (Parti
|
|
|
1187
1184
|
isVirtualized: boolean;
|
|
1188
1185
|
items: import("./useBaseListModel").Item<any>[];
|
|
1189
1186
|
}) => boolean) | undefined;
|
|
1190
|
-
|
|
1187
|
+
shouldRegisterItem?: ((data: {
|
|
1188
|
+
item: any;
|
|
1189
|
+
textValue: string;
|
|
1190
|
+
}, state: {
|
|
1191
1191
|
hiddenIds: string[];
|
|
1192
1192
|
itemWidthCache: Record<string, number>;
|
|
1193
1193
|
containerWidth: number;
|
|
@@ -1321,10 +1321,6 @@ export declare const useOverflowListModel: (<TT_Special_Generic>(config?: (Parti
|
|
|
1321
1321
|
}): void;
|
|
1322
1322
|
selectAll(): void;
|
|
1323
1323
|
unselectAll(): void;
|
|
1324
|
-
registerItem(data: {
|
|
1325
|
-
item: any;
|
|
1326
|
-
textValue: string;
|
|
1327
|
-
}): void;
|
|
1328
1324
|
goTo(data: {
|
|
1329
1325
|
id: string;
|
|
1330
1326
|
}): void;
|
|
@@ -1338,6 +1334,10 @@ export declare const useOverflowListModel: (<TT_Special_Generic>(config?: (Parti
|
|
|
1338
1334
|
goToLastOfRow(): void;
|
|
1339
1335
|
goToNextPage(): void;
|
|
1340
1336
|
goToPreviousPage(): void;
|
|
1337
|
+
registerItem(data: {
|
|
1338
|
+
item: any;
|
|
1339
|
+
textValue: string;
|
|
1340
|
+
}): void;
|
|
1341
1341
|
unregisterItem(data: {
|
|
1342
1342
|
id: string;
|
|
1343
1343
|
}): void;
|
|
@@ -1421,10 +1421,6 @@ export declare const useOverflowListModel: (<TT_Special_Generic>(config?: (Parti
|
|
|
1421
1421
|
}): void;
|
|
1422
1422
|
selectAll(): void;
|
|
1423
1423
|
unselectAll(): void;
|
|
1424
|
-
registerItem(data: {
|
|
1425
|
-
item: any;
|
|
1426
|
-
textValue: string;
|
|
1427
|
-
}): void;
|
|
1428
1424
|
goTo(data: {
|
|
1429
1425
|
id: string;
|
|
1430
1426
|
}): void;
|
|
@@ -1438,6 +1434,10 @@ export declare const useOverflowListModel: (<TT_Special_Generic>(config?: (Parti
|
|
|
1438
1434
|
goToLastOfRow(): void;
|
|
1439
1435
|
goToNextPage(): void;
|
|
1440
1436
|
goToPreviousPage(): void;
|
|
1437
|
+
registerItem(data: {
|
|
1438
|
+
item: any;
|
|
1439
|
+
textValue: string;
|
|
1440
|
+
}): void;
|
|
1441
1441
|
unregisterItem(data: {
|
|
1442
1442
|
id: string;
|
|
1443
1443
|
}): void;
|
|
@@ -1496,10 +1496,6 @@ export declare const useOverflowListModel: (<TT_Special_Generic>(config?: (Parti
|
|
|
1496
1496
|
}): void;
|
|
1497
1497
|
selectAll(): void;
|
|
1498
1498
|
unselectAll(): void;
|
|
1499
|
-
registerItem(data: {
|
|
1500
|
-
item: any;
|
|
1501
|
-
textValue: string;
|
|
1502
|
-
}): void;
|
|
1503
1499
|
goTo(data: {
|
|
1504
1500
|
id: string;
|
|
1505
1501
|
}): void;
|
|
@@ -1513,6 +1509,10 @@ export declare const useOverflowListModel: (<TT_Special_Generic>(config?: (Parti
|
|
|
1513
1509
|
goToLastOfRow(): void;
|
|
1514
1510
|
goToNextPage(): void;
|
|
1515
1511
|
goToPreviousPage(): void;
|
|
1512
|
+
registerItem(data: {
|
|
1513
|
+
item: any;
|
|
1514
|
+
textValue: string;
|
|
1515
|
+
}): void;
|
|
1516
1516
|
unregisterItem(data: {
|
|
1517
1517
|
id: string;
|
|
1518
1518
|
}): void;
|
|
@@ -55,10 +55,6 @@ export declare const useOverflowListTarget: import("@workday/canvas-kit-react/co
|
|
|
55
55
|
}): void;
|
|
56
56
|
selectAll(): void;
|
|
57
57
|
unselectAll(): void;
|
|
58
|
-
registerItem(data: {
|
|
59
|
-
item: any;
|
|
60
|
-
textValue: string;
|
|
61
|
-
}): void;
|
|
62
58
|
goTo(data: {
|
|
63
59
|
id: string;
|
|
64
60
|
}): void;
|
|
@@ -72,6 +68,10 @@ export declare const useOverflowListTarget: import("@workday/canvas-kit-react/co
|
|
|
72
68
|
goToLastOfRow(): void;
|
|
73
69
|
goToNextPage(): void;
|
|
74
70
|
goToPreviousPage(): void;
|
|
71
|
+
registerItem(data: {
|
|
72
|
+
item: any;
|
|
73
|
+
textValue: string;
|
|
74
|
+
}): void;
|
|
75
75
|
unregisterItem(data: {
|
|
76
76
|
id: string;
|
|
77
77
|
}): void;
|
|
@@ -110,9 +110,8 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
110
110
|
isVirtualized: boolean;
|
|
111
111
|
items: import("./useBaseListModel").Item<any>[];
|
|
112
112
|
}) => void) | undefined;
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
textValue: string;
|
|
113
|
+
onGoTo?: ((data: {
|
|
114
|
+
id: string;
|
|
116
115
|
}, prevState: {
|
|
117
116
|
selectedIds: string[] | "all";
|
|
118
117
|
unselectedIds: string[];
|
|
@@ -135,9 +134,7 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
135
134
|
isVirtualized: boolean;
|
|
136
135
|
items: import("./useBaseListModel").Item<any>[];
|
|
137
136
|
}) => void) | undefined;
|
|
138
|
-
|
|
139
|
-
id: string;
|
|
140
|
-
}, prevState: {
|
|
137
|
+
onGoToNext?: ((data: undefined, prevState: {
|
|
141
138
|
selectedIds: string[] | "all";
|
|
142
139
|
unselectedIds: string[];
|
|
143
140
|
cursorId: string;
|
|
@@ -159,7 +156,7 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
159
156
|
isVirtualized: boolean;
|
|
160
157
|
items: import("./useBaseListModel").Item<any>[];
|
|
161
158
|
}) => void) | undefined;
|
|
162
|
-
|
|
159
|
+
onGoToPrevious?: ((data: undefined, prevState: {
|
|
163
160
|
selectedIds: string[] | "all";
|
|
164
161
|
unselectedIds: string[];
|
|
165
162
|
cursorId: string;
|
|
@@ -181,7 +178,7 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
181
178
|
isVirtualized: boolean;
|
|
182
179
|
items: import("./useBaseListModel").Item<any>[];
|
|
183
180
|
}) => void) | undefined;
|
|
184
|
-
|
|
181
|
+
onGoToPreviousRow?: ((data: undefined, prevState: {
|
|
185
182
|
selectedIds: string[] | "all";
|
|
186
183
|
unselectedIds: string[];
|
|
187
184
|
cursorId: string;
|
|
@@ -203,7 +200,7 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
203
200
|
isVirtualized: boolean;
|
|
204
201
|
items: import("./useBaseListModel").Item<any>[];
|
|
205
202
|
}) => void) | undefined;
|
|
206
|
-
|
|
203
|
+
onGoToNextRow?: ((data: undefined, prevState: {
|
|
207
204
|
selectedIds: string[] | "all";
|
|
208
205
|
unselectedIds: string[];
|
|
209
206
|
cursorId: string;
|
|
@@ -225,7 +222,7 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
225
222
|
isVirtualized: boolean;
|
|
226
223
|
items: import("./useBaseListModel").Item<any>[];
|
|
227
224
|
}) => void) | undefined;
|
|
228
|
-
|
|
225
|
+
onGoToFirst?: ((data: undefined, prevState: {
|
|
229
226
|
selectedIds: string[] | "all";
|
|
230
227
|
unselectedIds: string[];
|
|
231
228
|
cursorId: string;
|
|
@@ -247,7 +244,7 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
247
244
|
isVirtualized: boolean;
|
|
248
245
|
items: import("./useBaseListModel").Item<any>[];
|
|
249
246
|
}) => void) | undefined;
|
|
250
|
-
|
|
247
|
+
onGoToLast?: ((data: undefined, prevState: {
|
|
251
248
|
selectedIds: string[] | "all";
|
|
252
249
|
unselectedIds: string[];
|
|
253
250
|
cursorId: string;
|
|
@@ -269,7 +266,7 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
269
266
|
isVirtualized: boolean;
|
|
270
267
|
items: import("./useBaseListModel").Item<any>[];
|
|
271
268
|
}) => void) | undefined;
|
|
272
|
-
|
|
269
|
+
onGoToFirstOfRow?: ((data: undefined, prevState: {
|
|
273
270
|
selectedIds: string[] | "all";
|
|
274
271
|
unselectedIds: string[];
|
|
275
272
|
cursorId: string;
|
|
@@ -291,7 +288,7 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
291
288
|
isVirtualized: boolean;
|
|
292
289
|
items: import("./useBaseListModel").Item<any>[];
|
|
293
290
|
}) => void) | undefined;
|
|
294
|
-
|
|
291
|
+
onGoToLastOfRow?: ((data: undefined, prevState: {
|
|
295
292
|
selectedIds: string[] | "all";
|
|
296
293
|
unselectedIds: string[];
|
|
297
294
|
cursorId: string;
|
|
@@ -313,7 +310,7 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
313
310
|
isVirtualized: boolean;
|
|
314
311
|
items: import("./useBaseListModel").Item<any>[];
|
|
315
312
|
}) => void) | undefined;
|
|
316
|
-
|
|
313
|
+
onGoToNextPage?: ((data: undefined, prevState: {
|
|
317
314
|
selectedIds: string[] | "all";
|
|
318
315
|
unselectedIds: string[];
|
|
319
316
|
cursorId: string;
|
|
@@ -335,7 +332,7 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
335
332
|
isVirtualized: boolean;
|
|
336
333
|
items: import("./useBaseListModel").Item<any>[];
|
|
337
334
|
}) => void) | undefined;
|
|
338
|
-
|
|
335
|
+
onGoToPreviousPage?: ((data: undefined, prevState: {
|
|
339
336
|
selectedIds: string[] | "all";
|
|
340
337
|
unselectedIds: string[];
|
|
341
338
|
cursorId: string;
|
|
@@ -357,7 +354,10 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
357
354
|
isVirtualized: boolean;
|
|
358
355
|
items: import("./useBaseListModel").Item<any>[];
|
|
359
356
|
}) => void) | undefined;
|
|
360
|
-
|
|
357
|
+
onRegisterItem?: ((data: {
|
|
358
|
+
item: any;
|
|
359
|
+
textValue: string;
|
|
360
|
+
}, prevState: {
|
|
361
361
|
selectedIds: string[] | "all";
|
|
362
362
|
unselectedIds: string[];
|
|
363
363
|
cursorId: string;
|
|
@@ -496,9 +496,8 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
496
496
|
isVirtualized: boolean;
|
|
497
497
|
items: import("./useBaseListModel").Item<any>[];
|
|
498
498
|
}) => boolean) | undefined;
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
textValue: string;
|
|
499
|
+
shouldGoTo?: ((data: {
|
|
500
|
+
id: string;
|
|
502
501
|
}, state: {
|
|
503
502
|
selectedIds: string[] | "all";
|
|
504
503
|
unselectedIds: string[];
|
|
@@ -521,9 +520,7 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
521
520
|
isVirtualized: boolean;
|
|
522
521
|
items: import("./useBaseListModel").Item<any>[];
|
|
523
522
|
}) => boolean) | undefined;
|
|
524
|
-
|
|
525
|
-
id: string;
|
|
526
|
-
}, state: {
|
|
523
|
+
shouldGoToNext?: ((data: undefined, state: {
|
|
527
524
|
selectedIds: string[] | "all";
|
|
528
525
|
unselectedIds: string[];
|
|
529
526
|
cursorId: string;
|
|
@@ -545,7 +542,7 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
545
542
|
isVirtualized: boolean;
|
|
546
543
|
items: import("./useBaseListModel").Item<any>[];
|
|
547
544
|
}) => boolean) | undefined;
|
|
548
|
-
|
|
545
|
+
shouldGoToPrevious?: ((data: undefined, state: {
|
|
549
546
|
selectedIds: string[] | "all";
|
|
550
547
|
unselectedIds: string[];
|
|
551
548
|
cursorId: string;
|
|
@@ -567,7 +564,7 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
567
564
|
isVirtualized: boolean;
|
|
568
565
|
items: import("./useBaseListModel").Item<any>[];
|
|
569
566
|
}) => boolean) | undefined;
|
|
570
|
-
|
|
567
|
+
shouldGoToPreviousRow?: ((data: undefined, state: {
|
|
571
568
|
selectedIds: string[] | "all";
|
|
572
569
|
unselectedIds: string[];
|
|
573
570
|
cursorId: string;
|
|
@@ -589,7 +586,7 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
589
586
|
isVirtualized: boolean;
|
|
590
587
|
items: import("./useBaseListModel").Item<any>[];
|
|
591
588
|
}) => boolean) | undefined;
|
|
592
|
-
|
|
589
|
+
shouldGoToNextRow?: ((data: undefined, state: {
|
|
593
590
|
selectedIds: string[] | "all";
|
|
594
591
|
unselectedIds: string[];
|
|
595
592
|
cursorId: string;
|
|
@@ -611,7 +608,7 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
611
608
|
isVirtualized: boolean;
|
|
612
609
|
items: import("./useBaseListModel").Item<any>[];
|
|
613
610
|
}) => boolean) | undefined;
|
|
614
|
-
|
|
611
|
+
shouldGoToFirst?: ((data: undefined, state: {
|
|
615
612
|
selectedIds: string[] | "all";
|
|
616
613
|
unselectedIds: string[];
|
|
617
614
|
cursorId: string;
|
|
@@ -633,7 +630,7 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
633
630
|
isVirtualized: boolean;
|
|
634
631
|
items: import("./useBaseListModel").Item<any>[];
|
|
635
632
|
}) => boolean) | undefined;
|
|
636
|
-
|
|
633
|
+
shouldGoToLast?: ((data: undefined, state: {
|
|
637
634
|
selectedIds: string[] | "all";
|
|
638
635
|
unselectedIds: string[];
|
|
639
636
|
cursorId: string;
|
|
@@ -655,7 +652,7 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
655
652
|
isVirtualized: boolean;
|
|
656
653
|
items: import("./useBaseListModel").Item<any>[];
|
|
657
654
|
}) => boolean) | undefined;
|
|
658
|
-
|
|
655
|
+
shouldGoToFirstOfRow?: ((data: undefined, state: {
|
|
659
656
|
selectedIds: string[] | "all";
|
|
660
657
|
unselectedIds: string[];
|
|
661
658
|
cursorId: string;
|
|
@@ -677,7 +674,7 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
677
674
|
isVirtualized: boolean;
|
|
678
675
|
items: import("./useBaseListModel").Item<any>[];
|
|
679
676
|
}) => boolean) | undefined;
|
|
680
|
-
|
|
677
|
+
shouldGoToLastOfRow?: ((data: undefined, state: {
|
|
681
678
|
selectedIds: string[] | "all";
|
|
682
679
|
unselectedIds: string[];
|
|
683
680
|
cursorId: string;
|
|
@@ -699,7 +696,7 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
699
696
|
isVirtualized: boolean;
|
|
700
697
|
items: import("./useBaseListModel").Item<any>[];
|
|
701
698
|
}) => boolean) | undefined;
|
|
702
|
-
|
|
699
|
+
shouldGoToNextPage?: ((data: undefined, state: {
|
|
703
700
|
selectedIds: string[] | "all";
|
|
704
701
|
unselectedIds: string[];
|
|
705
702
|
cursorId: string;
|
|
@@ -721,7 +718,7 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
721
718
|
isVirtualized: boolean;
|
|
722
719
|
items: import("./useBaseListModel").Item<any>[];
|
|
723
720
|
}) => boolean) | undefined;
|
|
724
|
-
|
|
721
|
+
shouldGoToPreviousPage?: ((data: undefined, state: {
|
|
725
722
|
selectedIds: string[] | "all";
|
|
726
723
|
unselectedIds: string[];
|
|
727
724
|
cursorId: string;
|
|
@@ -743,7 +740,10 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
743
740
|
isVirtualized: boolean;
|
|
744
741
|
items: import("./useBaseListModel").Item<any>[];
|
|
745
742
|
}) => boolean) | undefined;
|
|
746
|
-
|
|
743
|
+
shouldRegisterItem?: ((data: {
|
|
744
|
+
item: any;
|
|
745
|
+
textValue: string;
|
|
746
|
+
}, state: {
|
|
747
747
|
selectedIds: string[] | "all";
|
|
748
748
|
unselectedIds: string[];
|
|
749
749
|
cursorId: string;
|
|
@@ -850,10 +850,6 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
850
850
|
* Unselect all items.
|
|
851
851
|
*/
|
|
852
852
|
unselectAll(): void;
|
|
853
|
-
registerItem(data: {
|
|
854
|
-
item: any;
|
|
855
|
-
textValue: string;
|
|
856
|
-
}): void;
|
|
857
853
|
goTo(data: {
|
|
858
854
|
id: string;
|
|
859
855
|
}): void;
|
|
@@ -867,6 +863,10 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
867
863
|
goToLastOfRow(): void;
|
|
868
864
|
goToNextPage(): void;
|
|
869
865
|
goToPreviousPage(): void;
|
|
866
|
+
registerItem(data: {
|
|
867
|
+
item: any;
|
|
868
|
+
textValue: string;
|
|
869
|
+
}): void;
|
|
870
870
|
unregisterItem(data: {
|
|
871
871
|
id: string;
|
|
872
872
|
}): void;
|
|
@@ -928,10 +928,6 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
928
928
|
* Unselect all items.
|
|
929
929
|
*/
|
|
930
930
|
unselectAll(): void;
|
|
931
|
-
registerItem(data: {
|
|
932
|
-
item: any;
|
|
933
|
-
textValue: string;
|
|
934
|
-
}): void;
|
|
935
931
|
goTo(data: {
|
|
936
932
|
id: string;
|
|
937
933
|
}): void;
|
|
@@ -945,6 +941,10 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
945
941
|
goToLastOfRow(): void;
|
|
946
942
|
goToNextPage(): void;
|
|
947
943
|
goToPreviousPage(): void;
|
|
944
|
+
registerItem(data: {
|
|
945
|
+
item: any;
|
|
946
|
+
textValue: string;
|
|
947
|
+
}): void;
|
|
948
948
|
unregisterItem(data: {
|
|
949
949
|
id: string;
|
|
950
950
|
}): void;
|
|
@@ -988,10 +988,6 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
988
988
|
* Unselect all items.
|
|
989
989
|
*/
|
|
990
990
|
unselectAll(): void;
|
|
991
|
-
registerItem(data: {
|
|
992
|
-
item: any;
|
|
993
|
-
textValue: string;
|
|
994
|
-
}): void;
|
|
995
991
|
goTo(data: {
|
|
996
992
|
id: string;
|
|
997
993
|
}): void;
|
|
@@ -1005,6 +1001,10 @@ export declare const useSelectionListModel: (<TT_Special_Generic>(config?: (Part
|
|
|
1005
1001
|
goToLastOfRow(): void;
|
|
1006
1002
|
goToNextPage(): void;
|
|
1007
1003
|
goToPreviousPage(): void;
|
|
1004
|
+
registerItem(data: {
|
|
1005
|
+
item: any;
|
|
1006
|
+
textValue: string;
|
|
1007
|
+
}): void;
|
|
1008
1008
|
unregisterItem(data: {
|
|
1009
1009
|
id: string;
|
|
1010
1010
|
}): void;
|