@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.
Files changed (99) hide show
  1. package/collection/lib/useCursorListModel.tsx +0 -15
  2. package/collection/lib/useListItemRovingFocus.tsx +7 -0
  3. package/dist/commonjs/action-bar/lib/ActionBar.d.ts +124 -124
  4. package/dist/commonjs/action-bar/lib/ActionBar.d.ts.map +1 -1
  5. package/dist/commonjs/action-bar/lib/ActionBarItem.d.ts +12 -12
  6. package/dist/commonjs/action-bar/lib/ActionBarList.d.ts +12 -12
  7. package/dist/commonjs/action-bar/lib/ActionBarOverflowButton.d.ts +16 -16
  8. package/dist/commonjs/action-bar/lib/useActionBarModel.d.ts +52 -52
  9. package/dist/commonjs/breadcrumbs/lib/Breadcrumbs.d.ts +136 -136
  10. package/dist/commonjs/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts +16 -16
  11. package/dist/commonjs/breadcrumbs/lib/BreadcrumbsItem.d.ts +12 -12
  12. package/dist/commonjs/breadcrumbs/lib/BreadcrumbsList.d.ts +8 -8
  13. package/dist/commonjs/breadcrumbs/lib/BreadcrumbsMenu.d.ts +64 -64
  14. package/dist/commonjs/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts +16 -16
  15. package/dist/commonjs/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts +52 -52
  16. package/dist/commonjs/collection/lib/ListBox.d.ts +48 -48
  17. package/dist/commonjs/collection/lib/useCursorListModel.d.ts +44 -56
  18. package/dist/commonjs/collection/lib/useCursorListModel.d.ts.map +1 -1
  19. package/dist/commonjs/collection/lib/useCursorListModel.js +2 -15
  20. package/dist/commonjs/collection/lib/useGridModel.d.ts +44 -44
  21. package/dist/commonjs/collection/lib/useListItemAllowChildStrings.d.ts +4 -4
  22. package/dist/commonjs/collection/lib/useListItemRegister.d.ts +4 -4
  23. package/dist/commonjs/collection/lib/useListItemRovingFocus.d.ts +4 -4
  24. package/dist/commonjs/collection/lib/useListItemRovingFocus.d.ts.map +1 -1
  25. package/dist/commonjs/collection/lib/useListItemRovingFocus.js +6 -0
  26. package/dist/commonjs/collection/lib/useListItemSelect.d.ts +4 -4
  27. package/dist/commonjs/collection/lib/useListModel.d.ts +44 -44
  28. package/dist/commonjs/collection/lib/useListResetCursorOnBlur.d.ts +4 -4
  29. package/dist/commonjs/collection/lib/useOverflowListItemMeasure.d.ts +4 -4
  30. package/dist/commonjs/collection/lib/useOverflowListMeasure.d.ts +4 -4
  31. package/dist/commonjs/collection/lib/useOverflowListModel.d.ts +44 -44
  32. package/dist/commonjs/collection/lib/useOverflowListTarget.d.ts +4 -4
  33. package/dist/commonjs/collection/lib/useSelectionListModel.d.ts +44 -44
  34. package/dist/commonjs/menu/lib/Menu.d.ts +60 -60
  35. package/dist/commonjs/menu/lib/MenuCard.d.ts +8 -8
  36. package/dist/commonjs/menu/lib/MenuContextTarget.d.ts +12 -12
  37. package/dist/commonjs/menu/lib/MenuItem.d.ts +8 -8
  38. package/dist/commonjs/menu/lib/MenuList.d.ts +8 -8
  39. package/dist/commonjs/menu/lib/MenuPopper.d.ts +4 -4
  40. package/dist/commonjs/menu/lib/MenuTarget.d.ts +20 -20
  41. package/dist/commonjs/menu/lib/useMenuModel.d.ts +44 -44
  42. package/dist/commonjs/tabs/lib/Tabs.d.ts +176 -176
  43. package/dist/commonjs/tabs/lib/TabsItem.d.ts +16 -16
  44. package/dist/commonjs/tabs/lib/TabsList.d.ts +16 -16
  45. package/dist/commonjs/tabs/lib/TabsMenuPopper.d.ts +4 -4
  46. package/dist/commonjs/tabs/lib/TabsOverflowButton.d.ts +16 -16
  47. package/dist/commonjs/tabs/lib/TabsPanel.d.ts +16 -16
  48. package/dist/commonjs/tabs/lib/TabsPanels.d.ts +8 -8
  49. package/dist/commonjs/tabs/lib/useTabsModel.d.ts +116 -116
  50. package/dist/commonjs/tabs/lib/useTabsModel.d.ts.map +1 -1
  51. package/dist/es6/action-bar/lib/ActionBar.d.ts +124 -124
  52. package/dist/es6/action-bar/lib/ActionBar.d.ts.map +1 -1
  53. package/dist/es6/action-bar/lib/ActionBarItem.d.ts +12 -12
  54. package/dist/es6/action-bar/lib/ActionBarList.d.ts +12 -12
  55. package/dist/es6/action-bar/lib/ActionBarOverflowButton.d.ts +16 -16
  56. package/dist/es6/action-bar/lib/useActionBarModel.d.ts +52 -52
  57. package/dist/es6/breadcrumbs/lib/Breadcrumbs.d.ts +136 -136
  58. package/dist/es6/breadcrumbs/lib/BreadcrumbsCurrentItem.d.ts +16 -16
  59. package/dist/es6/breadcrumbs/lib/BreadcrumbsItem.d.ts +12 -12
  60. package/dist/es6/breadcrumbs/lib/BreadcrumbsList.d.ts +8 -8
  61. package/dist/es6/breadcrumbs/lib/BreadcrumbsMenu.d.ts +64 -64
  62. package/dist/es6/breadcrumbs/lib/BreadcrumbsOverflowButton.d.ts +16 -16
  63. package/dist/es6/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts +52 -52
  64. package/dist/es6/collection/lib/ListBox.d.ts +48 -48
  65. package/dist/es6/collection/lib/useCursorListModel.d.ts +44 -56
  66. package/dist/es6/collection/lib/useCursorListModel.d.ts.map +1 -1
  67. package/dist/es6/collection/lib/useCursorListModel.js +2 -15
  68. package/dist/es6/collection/lib/useGridModel.d.ts +44 -44
  69. package/dist/es6/collection/lib/useListItemAllowChildStrings.d.ts +4 -4
  70. package/dist/es6/collection/lib/useListItemRegister.d.ts +4 -4
  71. package/dist/es6/collection/lib/useListItemRovingFocus.d.ts +4 -4
  72. package/dist/es6/collection/lib/useListItemRovingFocus.d.ts.map +1 -1
  73. package/dist/es6/collection/lib/useListItemRovingFocus.js +6 -0
  74. package/dist/es6/collection/lib/useListItemSelect.d.ts +4 -4
  75. package/dist/es6/collection/lib/useListModel.d.ts +44 -44
  76. package/dist/es6/collection/lib/useListResetCursorOnBlur.d.ts +4 -4
  77. package/dist/es6/collection/lib/useOverflowListItemMeasure.d.ts +4 -4
  78. package/dist/es6/collection/lib/useOverflowListMeasure.d.ts +4 -4
  79. package/dist/es6/collection/lib/useOverflowListModel.d.ts +44 -44
  80. package/dist/es6/collection/lib/useOverflowListTarget.d.ts +4 -4
  81. package/dist/es6/collection/lib/useSelectionListModel.d.ts +44 -44
  82. package/dist/es6/menu/lib/Menu.d.ts +60 -60
  83. package/dist/es6/menu/lib/MenuCard.d.ts +8 -8
  84. package/dist/es6/menu/lib/MenuContextTarget.d.ts +12 -12
  85. package/dist/es6/menu/lib/MenuItem.d.ts +8 -8
  86. package/dist/es6/menu/lib/MenuList.d.ts +8 -8
  87. package/dist/es6/menu/lib/MenuPopper.d.ts +4 -4
  88. package/dist/es6/menu/lib/MenuTarget.d.ts +20 -20
  89. package/dist/es6/menu/lib/useMenuModel.d.ts +44 -44
  90. package/dist/es6/tabs/lib/Tabs.d.ts +176 -176
  91. package/dist/es6/tabs/lib/TabsItem.d.ts +16 -16
  92. package/dist/es6/tabs/lib/TabsList.d.ts +16 -16
  93. package/dist/es6/tabs/lib/TabsMenuPopper.d.ts +4 -4
  94. package/dist/es6/tabs/lib/TabsOverflowButton.d.ts +16 -16
  95. package/dist/es6/tabs/lib/TabsPanel.d.ts +16 -16
  96. package/dist/es6/tabs/lib/TabsPanels.d.ts +8 -8
  97. package/dist/es6/tabs/lib/useTabsModel.d.ts +116 -116
  98. package/dist/es6/tabs/lib/useTabsModel.d.ts.map +1 -1
  99. 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
- onRegisterItem?: ((data: {
277
- item: any;
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
- onGoTo?: ((data: {
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
- onGoToNext?: ((data: undefined, prevState: {
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
- onGoToPrevious?: ((data: undefined, prevState: {
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
- onGoToPreviousRow?: ((data: undefined, prevState: {
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
- onGoToNextRow?: ((data: undefined, prevState: {
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
- onGoToFirst?: ((data: undefined, prevState: {
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
- onGoToLast?: ((data: undefined, prevState: {
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
- onGoToFirstOfRow?: ((data: undefined, prevState: {
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
- onGoToLastOfRow?: ((data: undefined, prevState: {
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
- onGoToNextPage?: ((data: undefined, prevState: {
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
- onGoToPreviousPage?: ((data: undefined, prevState: {
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
- shouldRegisterItem?: ((data: {
900
- item: any;
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
- shouldGoTo?: ((data: {
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
- shouldGoToNext?: ((data: undefined, state: {
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
- shouldGoToPrevious?: ((data: undefined, state: {
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
- shouldGoToPreviousRow?: ((data: undefined, state: {
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
- shouldGoToNextRow?: ((data: undefined, state: {
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
- shouldGoToFirst?: ((data: undefined, state: {
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
- shouldGoToLast?: ((data: undefined, state: {
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
- shouldGoToFirstOfRow?: ((data: undefined, state: {
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
- shouldGoToLastOfRow?: ((data: undefined, state: {
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
- shouldGoToNextPage?: ((data: undefined, state: {
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
- shouldGoToPreviousPage?: ((data: undefined, state: {
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
- onRegisterItem?: ((data: {
114
- item: any;
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
- onGoTo?: ((data: {
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
- onGoToNext?: ((data: undefined, prevState: {
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
- onGoToPrevious?: ((data: undefined, prevState: {
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
- onGoToPreviousRow?: ((data: undefined, prevState: {
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
- onGoToNextRow?: ((data: undefined, prevState: {
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
- onGoToFirst?: ((data: undefined, prevState: {
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
- onGoToLast?: ((data: undefined, prevState: {
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
- onGoToFirstOfRow?: ((data: undefined, prevState: {
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
- onGoToLastOfRow?: ((data: undefined, prevState: {
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
- onGoToNextPage?: ((data: undefined, prevState: {
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
- onGoToPreviousPage?: ((data: undefined, prevState: {
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
- shouldRegisterItem?: ((data: {
500
- item: any;
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
- shouldGoTo?: ((data: {
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
- shouldGoToNext?: ((data: undefined, state: {
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
- shouldGoToPrevious?: ((data: undefined, state: {
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
- shouldGoToPreviousRow?: ((data: undefined, state: {
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
- shouldGoToNextRow?: ((data: undefined, state: {
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
- shouldGoToFirst?: ((data: undefined, state: {
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
- shouldGoToLast?: ((data: undefined, state: {
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
- shouldGoToFirstOfRow?: ((data: undefined, state: {
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
- shouldGoToLastOfRow?: ((data: undefined, state: {
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
- shouldGoToNextPage?: ((data: undefined, state: {
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
- shouldGoToPreviousPage?: ((data: undefined, state: {
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;