@workday/canvas-kit-react 10.0.0-alpha.540-next.0 → 10.0.0-alpha.546-next.0

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 (219) hide show
  1. package/collection/index.ts +1 -0
  2. package/collection/lib/useBaseListModel.tsx +3 -3
  3. package/collection/lib/useListItemRegister.tsx +1 -1
  4. package/collection/lib/useListRenderItem.tsx +2 -2
  5. package/combobox/index.ts +11 -4
  6. package/combobox/lib/Combobox.tsx +1 -1
  7. package/combobox/lib/ComboboxCard.tsx +1 -1
  8. package/combobox/lib/ComboboxInput.tsx +2 -90
  9. package/combobox/lib/ComboboxMenu.tsx +4 -3
  10. package/combobox/lib/ComboboxMenuItem.tsx +9 -8
  11. package/combobox/lib/ComboboxMenuList.tsx +1 -1
  12. package/combobox/lib/ComboboxPopper.tsx +20 -0
  13. package/combobox/lib/hooks/index.ts +9 -0
  14. package/combobox/lib/hooks/useComboboxInput.ts +88 -0
  15. package/combobox/lib/hooks/useComboboxKeyboardTypeAhead.ts +127 -0
  16. package/combobox/lib/hooks/useComboboxListKeyboardHandler.ts +23 -0
  17. package/combobox/lib/{useComboboxModel.tsx → hooks/useComboboxModel.tsx} +6 -2
  18. package/combobox/lib/hooks/useComboboxMoveCursorToSelected.tsx +27 -0
  19. package/combobox/lib/hooks/useComboboxResetCursorToSelected.tsx +18 -0
  20. package/combobox/lib/hooks/useSetPopupWidth.ts +16 -0
  21. package/common/lib/utils/components.ts +284 -274
  22. package/common/lib/utils/models.ts +67 -84
  23. package/dist/commonjs/collection/index.d.ts +1 -0
  24. package/dist/commonjs/collection/index.d.ts.map +1 -1
  25. package/dist/commonjs/collection/index.js +3 -1
  26. package/dist/commonjs/collection/lib/useBaseListModel.d.ts +1 -1
  27. package/dist/commonjs/collection/lib/useBaseListModel.d.ts.map +1 -1
  28. package/dist/commonjs/collection/lib/useBaseListModel.js +2 -2
  29. package/dist/commonjs/collection/lib/useListItemRegister.js +2 -2
  30. package/dist/commonjs/collection/lib/useListRenderItem.js +2 -2
  31. package/dist/commonjs/combobox/index.d.ts +1 -4
  32. package/dist/commonjs/combobox/index.d.ts.map +1 -1
  33. package/dist/commonjs/combobox/index.js +11 -9
  34. package/dist/commonjs/combobox/lib/Combobox.d.ts +9 -3
  35. package/dist/commonjs/combobox/lib/Combobox.d.ts.map +1 -1
  36. package/dist/commonjs/combobox/lib/Combobox.js +2 -2
  37. package/dist/commonjs/combobox/lib/ComboboxCard.js +3 -3
  38. package/dist/commonjs/combobox/lib/ComboboxInput.d.ts +1 -106
  39. package/dist/commonjs/combobox/lib/ComboboxInput.d.ts.map +1 -1
  40. package/dist/commonjs/combobox/lib/ComboboxInput.js +4 -71
  41. package/dist/commonjs/combobox/lib/ComboboxMenu.d.ts +9 -3
  42. package/dist/commonjs/combobox/lib/ComboboxMenu.d.ts.map +1 -1
  43. package/dist/commonjs/combobox/lib/ComboboxMenu.js +5 -4
  44. package/dist/commonjs/combobox/lib/ComboboxMenuItem.d.ts +7 -1
  45. package/dist/commonjs/combobox/lib/ComboboxMenuItem.d.ts.map +1 -1
  46. package/dist/commonjs/combobox/lib/ComboboxMenuItem.js +7 -7
  47. package/dist/commonjs/combobox/lib/ComboboxMenuList.js +2 -2
  48. package/dist/commonjs/combobox/lib/ComboboxPopper.d.ts +97 -0
  49. package/dist/commonjs/combobox/lib/ComboboxPopper.d.ts.map +1 -0
  50. package/dist/commonjs/{select/lib/SelectOption.js → combobox/lib/ComboboxPopper.js} +12 -8
  51. package/dist/commonjs/combobox/lib/hooks/index.d.ts +10 -0
  52. package/dist/commonjs/combobox/lib/hooks/index.d.ts.map +1 -0
  53. package/dist/commonjs/combobox/lib/hooks/index.js +21 -0
  54. package/dist/commonjs/combobox/lib/hooks/useComboboxInput.d.ts +107 -0
  55. package/dist/commonjs/combobox/lib/hooks/useComboboxInput.d.ts.map +1 -0
  56. package/dist/commonjs/combobox/lib/hooks/useComboboxInput.js +74 -0
  57. package/dist/{es6/combobox/lib → commonjs/combobox/lib/hooks}/useComboboxInputOpenWithArrowKeys.d.ts +6 -6
  58. package/dist/commonjs/combobox/lib/hooks/useComboboxInputOpenWithArrowKeys.d.ts.map +1 -0
  59. package/dist/commonjs/combobox/lib/hooks/useComboboxKeyboardTypeAhead.d.ts +101 -0
  60. package/dist/commonjs/combobox/lib/hooks/useComboboxKeyboardTypeAhead.d.ts.map +1 -0
  61. package/dist/commonjs/combobox/lib/hooks/useComboboxKeyboardTypeAhead.js +109 -0
  62. package/dist/commonjs/combobox/lib/hooks/useComboboxListKeyboardHandler.d.ts +84 -0
  63. package/dist/commonjs/combobox/lib/hooks/useComboboxListKeyboardHandler.d.ts.map +1 -0
  64. package/dist/commonjs/combobox/lib/hooks/useComboboxListKeyboardHandler.js +22 -0
  65. package/dist/commonjs/combobox/lib/hooks/useComboboxLoader.d.ts.map +1 -0
  66. package/dist/commonjs/combobox/lib/{useComboboxModel.d.ts → hooks/useComboboxModel.d.ts} +196 -196
  67. package/dist/commonjs/combobox/lib/hooks/useComboboxModel.d.ts.map +1 -0
  68. package/dist/commonjs/combobox/lib/{useComboboxModel.js → hooks/useComboboxModel.js} +3 -2
  69. package/dist/commonjs/combobox/lib/hooks/useComboboxMoveCursorToSelected.d.ts +82 -0
  70. package/dist/commonjs/combobox/lib/hooks/useComboboxMoveCursorToSelected.d.ts.map +1 -0
  71. package/dist/commonjs/combobox/lib/hooks/useComboboxMoveCursorToSelected.js +33 -0
  72. package/dist/commonjs/combobox/lib/hooks/useComboboxResetCursorToSelected.d.ts +82 -0
  73. package/dist/commonjs/combobox/lib/hooks/useComboboxResetCursorToSelected.d.ts.map +1 -0
  74. package/dist/commonjs/combobox/lib/hooks/useComboboxResetCursorToSelected.js +23 -0
  75. package/dist/commonjs/combobox/lib/hooks/useSetPopupWidth.d.ts +82 -0
  76. package/dist/commonjs/combobox/lib/hooks/useSetPopupWidth.d.ts.map +1 -0
  77. package/dist/commonjs/combobox/lib/hooks/useSetPopupWidth.js +22 -0
  78. package/dist/commonjs/common/lib/utils/components.d.ts.map +1 -1
  79. package/dist/commonjs/common/lib/utils/models.d.ts +4 -4
  80. package/dist/commonjs/common/lib/utils/models.d.ts.map +1 -1
  81. package/dist/commonjs/common/lib/utils/models.js +7 -8
  82. package/dist/commonjs/form-field/lib/FormField.d.ts.map +1 -1
  83. package/dist/commonjs/form-field/lib/FormField.js +3 -2
  84. package/dist/commonjs/menu/lib/MenuPopper.d.ts.map +1 -1
  85. package/dist/commonjs/menu/lib/MenuPopper.js +10 -1
  86. package/dist/commonjs/popup/lib/PopupPopper.d.ts.map +1 -1
  87. package/dist/commonjs/popup/lib/PopupPopper.js +10 -1
  88. package/dist/commonjs/select/index.d.ts +1 -1
  89. package/dist/commonjs/select/index.d.ts.map +1 -1
  90. package/dist/commonjs/select/index.js +1 -1
  91. package/dist/commonjs/select/lib/Select.d.ts +2634 -18
  92. package/dist/commonjs/select/lib/Select.d.ts.map +1 -1
  93. package/dist/commonjs/select/lib/Select.js +141 -84
  94. package/dist/commonjs/select/lib/hooks/index.d.ts +4 -0
  95. package/dist/commonjs/select/lib/hooks/index.d.ts.map +1 -0
  96. package/dist/commonjs/select/lib/hooks/index.js +15 -0
  97. package/dist/commonjs/select/lib/hooks/useSelectCard.d.ts +83 -0
  98. package/dist/commonjs/select/lib/hooks/useSelectCard.d.ts.map +1 -0
  99. package/dist/commonjs/select/lib/hooks/useSelectCard.js +13 -0
  100. package/dist/commonjs/select/lib/hooks/useSelectInput.d.ts +112 -0
  101. package/dist/commonjs/select/lib/hooks/useSelectInput.d.ts.map +1 -0
  102. package/dist/commonjs/select/lib/hooks/useSelectInput.js +49 -0
  103. package/dist/commonjs/select/lib/hooks/useSelectModel.d.ts +1779 -0
  104. package/dist/commonjs/select/lib/hooks/useSelectModel.d.ts.map +1 -0
  105. package/dist/commonjs/select/lib/hooks/useSelectModel.js +32 -0
  106. package/dist/es6/collection/index.d.ts +1 -0
  107. package/dist/es6/collection/index.d.ts.map +1 -1
  108. package/dist/es6/collection/index.js +1 -0
  109. package/dist/es6/collection/lib/useBaseListModel.d.ts +1 -1
  110. package/dist/es6/collection/lib/useBaseListModel.d.ts.map +1 -1
  111. package/dist/es6/collection/lib/useBaseListModel.js +2 -2
  112. package/dist/es6/collection/lib/useListItemRegister.js +2 -2
  113. package/dist/es6/collection/lib/useListRenderItem.js +2 -2
  114. package/dist/es6/combobox/index.d.ts +1 -4
  115. package/dist/es6/combobox/index.d.ts.map +1 -1
  116. package/dist/es6/combobox/index.js +1 -4
  117. package/dist/es6/combobox/lib/Combobox.d.ts +9 -3
  118. package/dist/es6/combobox/lib/Combobox.d.ts.map +1 -1
  119. package/dist/es6/combobox/lib/Combobox.js +1 -1
  120. package/dist/es6/combobox/lib/ComboboxCard.js +1 -1
  121. package/dist/es6/combobox/lib/ComboboxInput.d.ts +1 -106
  122. package/dist/es6/combobox/lib/ComboboxInput.d.ts.map +1 -1
  123. package/dist/es6/combobox/lib/ComboboxInput.js +2 -69
  124. package/dist/es6/combobox/lib/ComboboxMenu.d.ts +9 -3
  125. package/dist/es6/combobox/lib/ComboboxMenu.d.ts.map +1 -1
  126. package/dist/es6/combobox/lib/ComboboxMenu.js +4 -3
  127. package/dist/es6/combobox/lib/ComboboxMenuItem.d.ts +7 -1
  128. package/dist/es6/combobox/lib/ComboboxMenuItem.d.ts.map +1 -1
  129. package/dist/es6/combobox/lib/ComboboxMenuItem.js +7 -7
  130. package/dist/es6/combobox/lib/ComboboxMenuList.js +1 -1
  131. package/dist/es6/combobox/lib/ComboboxPopper.d.ts +97 -0
  132. package/dist/es6/combobox/lib/ComboboxPopper.d.ts.map +1 -0
  133. package/dist/es6/combobox/lib/ComboboxPopper.js +12 -0
  134. package/dist/es6/combobox/lib/hooks/index.d.ts +10 -0
  135. package/dist/es6/combobox/lib/hooks/index.d.ts.map +1 -0
  136. package/dist/es6/combobox/lib/hooks/index.js +9 -0
  137. package/dist/es6/combobox/lib/hooks/useComboboxInput.d.ts +107 -0
  138. package/dist/es6/combobox/lib/hooks/useComboboxInput.d.ts.map +1 -0
  139. package/dist/es6/combobox/lib/hooks/useComboboxInput.js +68 -0
  140. package/dist/{commonjs/combobox/lib → es6/combobox/lib/hooks}/useComboboxInputOpenWithArrowKeys.d.ts +6 -6
  141. package/dist/es6/combobox/lib/hooks/useComboboxInputOpenWithArrowKeys.d.ts.map +1 -0
  142. package/dist/es6/combobox/lib/hooks/useComboboxKeyboardTypeAhead.d.ts +101 -0
  143. package/dist/es6/combobox/lib/hooks/useComboboxKeyboardTypeAhead.d.ts.map +1 -0
  144. package/dist/es6/combobox/lib/hooks/useComboboxKeyboardTypeAhead.js +103 -0
  145. package/dist/es6/combobox/lib/hooks/useComboboxListKeyboardHandler.d.ts +84 -0
  146. package/dist/es6/combobox/lib/hooks/useComboboxListKeyboardHandler.d.ts.map +1 -0
  147. package/dist/es6/combobox/lib/hooks/useComboboxListKeyboardHandler.js +19 -0
  148. package/dist/es6/combobox/lib/hooks/useComboboxLoader.d.ts.map +1 -0
  149. package/dist/es6/combobox/lib/{useComboboxModel.d.ts → hooks/useComboboxModel.d.ts} +196 -196
  150. package/dist/es6/combobox/lib/hooks/useComboboxModel.d.ts.map +1 -0
  151. package/dist/es6/combobox/lib/{useComboboxModel.js → hooks/useComboboxModel.js} +3 -2
  152. package/dist/es6/combobox/lib/hooks/useComboboxMoveCursorToSelected.d.ts +82 -0
  153. package/dist/es6/combobox/lib/hooks/useComboboxMoveCursorToSelected.d.ts.map +1 -0
  154. package/dist/es6/combobox/lib/hooks/useComboboxMoveCursorToSelected.js +27 -0
  155. package/dist/es6/combobox/lib/hooks/useComboboxResetCursorToSelected.d.ts +82 -0
  156. package/dist/es6/combobox/lib/hooks/useComboboxResetCursorToSelected.d.ts.map +1 -0
  157. package/dist/es6/combobox/lib/hooks/useComboboxResetCursorToSelected.js +17 -0
  158. package/dist/es6/combobox/lib/hooks/useSetPopupWidth.d.ts +82 -0
  159. package/dist/es6/combobox/lib/hooks/useSetPopupWidth.d.ts.map +1 -0
  160. package/dist/es6/combobox/lib/hooks/useSetPopupWidth.js +16 -0
  161. package/dist/es6/common/lib/utils/components.d.ts.map +1 -1
  162. package/dist/es6/common/lib/utils/models.d.ts +4 -4
  163. package/dist/es6/common/lib/utils/models.d.ts.map +1 -1
  164. package/dist/es6/common/lib/utils/models.js +7 -8
  165. package/dist/es6/form-field/lib/FormField.d.ts.map +1 -1
  166. package/dist/es6/form-field/lib/FormField.js +3 -2
  167. package/dist/es6/menu/lib/MenuPopper.d.ts.map +1 -1
  168. package/dist/es6/menu/lib/MenuPopper.js +10 -1
  169. package/dist/es6/popup/lib/PopupPopper.d.ts.map +1 -1
  170. package/dist/es6/popup/lib/PopupPopper.js +10 -1
  171. package/dist/es6/select/index.d.ts +1 -1
  172. package/dist/es6/select/index.d.ts.map +1 -1
  173. package/dist/es6/select/index.js +1 -1
  174. package/dist/es6/select/lib/Select.d.ts +2634 -18
  175. package/dist/es6/select/lib/Select.d.ts.map +1 -1
  176. package/dist/es6/select/lib/Select.js +139 -66
  177. package/dist/es6/select/lib/hooks/index.d.ts +4 -0
  178. package/dist/es6/select/lib/hooks/index.d.ts.map +1 -0
  179. package/dist/es6/select/lib/hooks/index.js +3 -0
  180. package/dist/es6/select/lib/hooks/useSelectCard.d.ts +83 -0
  181. package/dist/es6/select/lib/hooks/useSelectCard.d.ts.map +1 -0
  182. package/dist/es6/select/lib/hooks/useSelectCard.js +10 -0
  183. package/dist/es6/select/lib/hooks/useSelectInput.d.ts +112 -0
  184. package/dist/es6/select/lib/hooks/useSelectInput.d.ts.map +1 -0
  185. package/dist/es6/select/lib/hooks/useSelectInput.js +46 -0
  186. package/dist/es6/select/lib/hooks/useSelectModel.d.ts +1779 -0
  187. package/dist/es6/select/lib/hooks/useSelectModel.d.ts.map +1 -0
  188. package/dist/es6/select/lib/hooks/useSelectModel.js +29 -0
  189. package/form-field/lib/FormField.tsx +8 -2
  190. package/menu/lib/MenuPopper.tsx +14 -1
  191. package/package.json +4 -4
  192. package/popup/lib/Popper.tsx +1 -1
  193. package/popup/lib/PopupPopper.tsx +17 -1
  194. package/select/index.ts +1 -1
  195. package/select/lib/Select.tsx +175 -111
  196. package/select/lib/hooks/index.ts +3 -0
  197. package/select/lib/hooks/useSelectCard.ts +11 -0
  198. package/select/lib/hooks/useSelectInput.ts +74 -0
  199. package/select/lib/hooks/useSelectModel.tsx +30 -0
  200. package/dist/commonjs/combobox/lib/useComboboxInputOpenWithArrowKeys.d.ts.map +0 -1
  201. package/dist/commonjs/combobox/lib/useComboboxLoader.d.ts.map +0 -1
  202. package/dist/commonjs/combobox/lib/useComboboxModel.d.ts.map +0 -1
  203. package/dist/commonjs/select/lib/SelectOption.d.ts +0 -20
  204. package/dist/commonjs/select/lib/SelectOption.d.ts.map +0 -1
  205. package/dist/es6/combobox/lib/useComboboxInputOpenWithArrowKeys.d.ts.map +0 -1
  206. package/dist/es6/combobox/lib/useComboboxLoader.d.ts.map +0 -1
  207. package/dist/es6/combobox/lib/useComboboxModel.d.ts.map +0 -1
  208. package/dist/es6/select/lib/SelectOption.d.ts +0 -20
  209. package/dist/es6/select/lib/SelectOption.d.ts.map +0 -1
  210. package/dist/es6/select/lib/SelectOption.js +0 -7
  211. package/select/lib/SelectOption.tsx +0 -33
  212. /package/combobox/lib/{useComboboxInputOpenWithArrowKeys.ts → hooks/useComboboxInputOpenWithArrowKeys.ts} +0 -0
  213. /package/combobox/lib/{useComboboxLoader.ts → hooks/useComboboxLoader.ts} +0 -0
  214. /package/dist/commonjs/combobox/lib/{useComboboxInputOpenWithArrowKeys.js → hooks/useComboboxInputOpenWithArrowKeys.js} +0 -0
  215. /package/dist/commonjs/combobox/lib/{useComboboxLoader.d.ts → hooks/useComboboxLoader.d.ts} +0 -0
  216. /package/dist/commonjs/combobox/lib/{useComboboxLoader.js → hooks/useComboboxLoader.js} +0 -0
  217. /package/dist/es6/combobox/lib/{useComboboxInputOpenWithArrowKeys.js → hooks/useComboboxInputOpenWithArrowKeys.js} +0 -0
  218. /package/dist/es6/combobox/lib/{useComboboxLoader.d.ts → hooks/useComboboxLoader.d.ts} +0 -0
  219. /package/dist/es6/combobox/lib/{useComboboxLoader.js → hooks/useComboboxLoader.js} +0 -0
@@ -1,30 +1,2646 @@
1
- import * as React from 'react';
2
- import { GrowthBehavior, ErrorType, Themeable } from '@workday/canvas-kit-react/common';
3
- import { SelectOption } from './SelectOption';
4
- export interface SelectProps extends Themeable, GrowthBehavior {
1
+ import React from 'react';
2
+ import { ExtractProps, Themeable } from '@workday/canvas-kit-react/common';
3
+ import { Combobox } from '@workday/canvas-kit-react/combobox';
4
+ import { TextInput } from '@workday/canvas-kit-react/text-input';
5
+ import { CanvasSystemIcon } from '@workday/design-assets-types';
6
+ export interface SelectInputProps extends ExtractProps<typeof TextInput> {
5
7
  /**
6
- * The SelectOption children of the Select (must be at least two).
8
+ * The Icon to render at the start of the `input`. Use this prop if your options
9
+ * include icons that you would like to render in the `input` when selected.
10
+ * ** Note:An option must be selected in order to render and icon.**
7
11
  */
8
- children: React.ReactElement<SelectOption> | React.ReactElement<SelectOption>[];
12
+ inputStartIcon?: CanvasSystemIcon;
13
+ }
14
+ export declare const SelectInput: import("@workday/canvas-kit-react/common").ElementComponentM<import("@workday/canvas-kit-react/common").ElementComponent<"input", import("@workday/canvas-kit-react/text-input").TextInputProps> & {
15
+ ErrorType: typeof import("@workday/canvas-kit-react/common").ErrorType;
16
+ }, SelectInputProps, {
17
+ state: {
18
+ stackRef: React.RefObject<HTMLDivElement>;
19
+ targetRef: React.RefObject<HTMLButtonElement>;
20
+ initialFocusRef: React.RefObject<any> | undefined;
21
+ returnFocusRef: React.RefObject<any> | undefined;
22
+ placement: import("@popperjs/core").Placement;
23
+ id: string;
24
+ visibility: "hidden" | "visible";
25
+ selectedIds: string[] | "all";
26
+ unselectedIds: string[];
27
+ cursorId: string;
28
+ columnCount: number;
29
+ pageSizeRef: React.MutableRefObject<number>;
30
+ cursorIndexRef: {
31
+ readonly current: number;
32
+ };
33
+ UNSTABLE_virtual: {
34
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
35
+ totalSize: number;
36
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
37
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
38
+ measure: () => void;
39
+ };
40
+ UNSTABLE_defaultItemHeight: number;
41
+ containerRef: React.RefObject<HTMLDivElement>;
42
+ orientation: "horizontal" | "vertical";
43
+ indexRef: React.MutableRefObject<number>;
44
+ nonInteractiveIds: string[];
45
+ isVirtualized: boolean;
46
+ items: import("../..").Item<any>[];
47
+ mode: "multiple" | "single";
48
+ value: string | undefined;
49
+ inputRef: React.RefObject<HTMLInputElement>;
50
+ width: number;
51
+ };
52
+ events: {
53
+ setWidth(width: number): void;
54
+ updatePlacement(data: {
55
+ placement: import("@popperjs/core").Placement;
56
+ }): void;
57
+ show(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
58
+ hide(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
59
+ select(data: {
60
+ id: string;
61
+ }): void;
62
+ selectAll(): void;
63
+ unselectAll(): void;
64
+ goTo(data: {
65
+ id: string;
66
+ }): void;
67
+ goToNext(): void;
68
+ goToPrevious(): void;
69
+ goToPreviousRow(): void;
70
+ goToNextRow(): void;
71
+ goToFirst(): void;
72
+ goToLast(): void;
73
+ goToFirstOfRow(): void;
74
+ goToLastOfRow(): void;
75
+ goToNextPage(): void;
76
+ goToPreviousPage(): void;
77
+ registerItem(data: {
78
+ item: any;
79
+ textValue: string;
80
+ }): void;
81
+ unregisterItem(data: {
82
+ id: string;
83
+ }): void;
84
+ updateItemHeight(data: {
85
+ value: number;
86
+ }): void;
87
+ };
88
+ onChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
89
+ selection: import("../../collection/lib/useSelectionListModel").SelectionManager;
90
+ navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
91
+ getId: (item: any) => string;
92
+ }>;
93
+ export declare const SelectItem: import("@workday/canvas-kit-react/common").ElementComponentM<"li", import("../../combobox/lib/ComboboxMenuItem").ComboboxMenuItemProps & React.LiHTMLAttributes<HTMLLIElement> & import("@workday/canvas-kit-react/common").PropsWithModel<{
94
+ state: {
95
+ stackRef: React.RefObject<HTMLDivElement>;
96
+ targetRef: React.RefObject<HTMLButtonElement>;
97
+ initialFocusRef: React.RefObject<any> | undefined;
98
+ returnFocusRef: React.RefObject<any> | undefined;
99
+ placement: import("@popperjs/core").Placement;
100
+ id: string;
101
+ visibility: "hidden" | "visible";
102
+ selectedIds: string[] | "all";
103
+ unselectedIds: string[];
104
+ cursorId: string;
105
+ columnCount: number;
106
+ pageSizeRef: React.MutableRefObject<number>;
107
+ cursorIndexRef: {
108
+ readonly current: number;
109
+ };
110
+ UNSTABLE_virtual: {
111
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
112
+ totalSize: number;
113
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
114
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
115
+ measure: () => void;
116
+ };
117
+ UNSTABLE_defaultItemHeight: number;
118
+ containerRef: React.RefObject<HTMLDivElement>;
119
+ orientation: "horizontal" | "vertical";
120
+ indexRef: React.MutableRefObject<number>;
121
+ nonInteractiveIds: string[];
122
+ isVirtualized: boolean;
123
+ items: import("../..").Item<any>[];
124
+ mode: "multiple" | "single";
125
+ value: string | undefined;
126
+ inputRef: React.RefObject<HTMLInputElement>;
127
+ width: number;
128
+ };
129
+ events: {
130
+ setWidth(width: number): void;
131
+ updatePlacement(data: {
132
+ placement: import("@popperjs/core").Placement;
133
+ }): void;
134
+ show(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
135
+ hide(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
136
+ select(data: {
137
+ id: string;
138
+ }): void;
139
+ selectAll(): void;
140
+ unselectAll(): void;
141
+ goTo(data: {
142
+ id: string;
143
+ }): void;
144
+ goToNext(): void;
145
+ goToPrevious(): void;
146
+ goToPreviousRow(): void;
147
+ goToNextRow(): void;
148
+ goToFirst(): void;
149
+ goToLast(): void;
150
+ goToFirstOfRow(): void;
151
+ goToLastOfRow(): void;
152
+ goToNextPage(): void;
153
+ goToPreviousPage(): void;
154
+ registerItem(data: {
155
+ item: any;
156
+ textValue: string;
157
+ }): void;
158
+ unregisterItem(data: {
159
+ id: string;
160
+ }): void;
161
+ updateItemHeight(data: {
162
+ value: number;
163
+ }): void;
164
+ };
165
+ onChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
166
+ selection: import("../../collection/lib/useSelectionListModel").SelectionManager;
167
+ navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
168
+ getId: (item: any) => string;
169
+ }, {}>, {
170
+ state: {
171
+ stackRef: React.RefObject<HTMLDivElement>;
172
+ targetRef: React.RefObject<HTMLButtonElement>;
173
+ initialFocusRef: React.RefObject<any> | undefined;
174
+ returnFocusRef: React.RefObject<any> | undefined;
175
+ placement: import("@popperjs/core").Placement;
176
+ id: string;
177
+ visibility: "hidden" | "visible";
178
+ selectedIds: string[] | "all";
179
+ unselectedIds: string[];
180
+ cursorId: string;
181
+ columnCount: number;
182
+ pageSizeRef: React.MutableRefObject<number>;
183
+ cursorIndexRef: {
184
+ readonly current: number;
185
+ };
186
+ UNSTABLE_virtual: {
187
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
188
+ totalSize: number;
189
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
190
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
191
+ measure: () => void;
192
+ };
193
+ UNSTABLE_defaultItemHeight: number;
194
+ containerRef: React.RefObject<HTMLDivElement>;
195
+ orientation: "horizontal" | "vertical";
196
+ indexRef: React.MutableRefObject<number>;
197
+ nonInteractiveIds: string[];
198
+ isVirtualized: boolean;
199
+ items: import("../..").Item<any>[];
200
+ mode: "multiple" | "single";
201
+ value: string | undefined;
202
+ inputRef: React.RefObject<HTMLInputElement>;
203
+ width: number;
204
+ };
205
+ events: {
206
+ setWidth(width: number): void;
207
+ updatePlacement(data: {
208
+ placement: import("@popperjs/core").Placement;
209
+ }): void;
210
+ show(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
211
+ hide(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
212
+ select(data: {
213
+ id: string;
214
+ }): void;
215
+ selectAll(): void;
216
+ unselectAll(): void;
217
+ goTo(data: {
218
+ id: string;
219
+ }): void;
220
+ goToNext(): void;
221
+ goToPrevious(): void;
222
+ goToPreviousRow(): void;
223
+ goToNextRow(): void;
224
+ goToFirst(): void;
225
+ goToLast(): void;
226
+ goToFirstOfRow(): void;
227
+ goToLastOfRow(): void;
228
+ goToNextPage(): void;
229
+ goToPreviousPage(): void;
230
+ registerItem(data: {
231
+ item: any;
232
+ textValue: string;
233
+ }): void;
234
+ unregisterItem(data: {
235
+ id: string;
236
+ }): void;
237
+ updateItemHeight(data: {
238
+ value: number;
239
+ }): void;
240
+ };
241
+ onChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
242
+ selection: import("../../collection/lib/useSelectionListModel").SelectionManager;
243
+ navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
244
+ getId: (item: any) => string;
245
+ }> & {
246
+ Icon: import("@emotion/styled").StyledComponent<import("@workday/canvas-kit-react/icon").SystemIconProps & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "as" | keyof import("@workday/canvas-kit-react/icon").SystemIconProps> & {
247
+ ref?: React.Ref<HTMLSpanElement> | undefined;
248
+ } & {
249
+ theme?: import("@emotion/react").Theme | undefined;
250
+ }, {}, {}>;
251
+ };
252
+ export declare const SelectCard: import("@workday/canvas-kit-react/common").ElementComponentM<"div", import("../../combobox/lib/ComboboxCard").ComboboxCardProps & React.HTMLAttributes<HTMLDivElement> & import("@workday/canvas-kit-react/common").PropsWithModel<{
253
+ state: {
254
+ stackRef: React.RefObject<HTMLDivElement>;
255
+ targetRef: React.RefObject<HTMLButtonElement>;
256
+ initialFocusRef: React.RefObject<any> | undefined;
257
+ returnFocusRef: React.RefObject<any> | undefined;
258
+ placement: import("@popperjs/core").Placement;
259
+ id: string;
260
+ visibility: "hidden" | "visible";
261
+ selectedIds: string[] | "all";
262
+ unselectedIds: string[];
263
+ cursorId: string;
264
+ columnCount: number;
265
+ pageSizeRef: React.MutableRefObject<number>;
266
+ cursorIndexRef: {
267
+ readonly current: number;
268
+ };
269
+ UNSTABLE_virtual: {
270
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
271
+ totalSize: number;
272
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
273
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
274
+ measure: () => void;
275
+ };
276
+ UNSTABLE_defaultItemHeight: number;
277
+ containerRef: React.RefObject<HTMLDivElement>;
278
+ orientation: "horizontal" | "vertical";
279
+ indexRef: React.MutableRefObject<number>;
280
+ nonInteractiveIds: string[];
281
+ isVirtualized: boolean;
282
+ items: import("../..").Item<any>[];
283
+ mode: "multiple" | "single";
284
+ value: string | undefined;
285
+ inputRef: React.RefObject<HTMLInputElement>;
286
+ width: number;
287
+ };
288
+ events: {
289
+ setWidth(width: number): void;
290
+ updatePlacement(data: {
291
+ placement: import("@popperjs/core").Placement;
292
+ }): void;
293
+ show(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
294
+ hide(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
295
+ select(data: {
296
+ id: string;
297
+ }): void;
298
+ selectAll(): void;
299
+ unselectAll(): void;
300
+ goTo(data: {
301
+ id: string;
302
+ }): void;
303
+ goToNext(): void;
304
+ goToPrevious(): void;
305
+ goToPreviousRow(): void;
306
+ goToNextRow(): void;
307
+ goToFirst(): void;
308
+ goToLast(): void;
309
+ goToFirstOfRow(): void;
310
+ goToLastOfRow(): void;
311
+ goToNextPage(): void;
312
+ goToPreviousPage(): void;
313
+ registerItem(data: {
314
+ item: any;
315
+ textValue: string;
316
+ }): void;
317
+ unregisterItem(data: {
318
+ id: string;
319
+ }): void;
320
+ updateItemHeight(data: {
321
+ value: number;
322
+ }): void;
323
+ };
324
+ onChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
325
+ selection: import("../../collection/lib/useSelectionListModel").SelectionManager;
326
+ navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
327
+ getId: (item: any) => string;
328
+ }, {}>, {
329
+ state: {
330
+ stackRef: React.RefObject<HTMLDivElement>;
331
+ targetRef: React.RefObject<HTMLButtonElement>;
332
+ initialFocusRef: React.RefObject<any> | undefined;
333
+ returnFocusRef: React.RefObject<any> | undefined;
334
+ placement: import("@popperjs/core").Placement;
335
+ id: string;
336
+ visibility: "hidden" | "visible";
337
+ selectedIds: string[] | "all";
338
+ unselectedIds: string[];
339
+ cursorId: string;
340
+ columnCount: number;
341
+ pageSizeRef: React.MutableRefObject<number>;
342
+ cursorIndexRef: {
343
+ readonly current: number;
344
+ };
345
+ UNSTABLE_virtual: {
346
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
347
+ totalSize: number;
348
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
349
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
350
+ measure: () => void;
351
+ };
352
+ UNSTABLE_defaultItemHeight: number;
353
+ containerRef: React.RefObject<HTMLDivElement>;
354
+ orientation: "horizontal" | "vertical";
355
+ indexRef: React.MutableRefObject<number>;
356
+ nonInteractiveIds: string[];
357
+ isVirtualized: boolean;
358
+ items: import("../..").Item<any>[];
359
+ mode: "multiple" | "single";
360
+ value: string | undefined;
361
+ inputRef: React.RefObject<HTMLInputElement>;
362
+ width: number;
363
+ };
364
+ events: {
365
+ setWidth(width: number): void;
366
+ updatePlacement(data: {
367
+ placement: import("@popperjs/core").Placement;
368
+ }): void;
369
+ show(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
370
+ hide(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
371
+ select(data: {
372
+ id: string;
373
+ }): void;
374
+ selectAll(): void;
375
+ unselectAll(): void;
376
+ goTo(data: {
377
+ id: string;
378
+ }): void;
379
+ goToNext(): void;
380
+ goToPrevious(): void;
381
+ goToPreviousRow(): void;
382
+ goToNextRow(): void;
383
+ goToFirst(): void;
384
+ goToLast(): void;
385
+ goToFirstOfRow(): void;
386
+ goToLastOfRow(): void;
387
+ goToNextPage(): void;
388
+ goToPreviousPage(): void;
389
+ registerItem(data: {
390
+ item: any;
391
+ textValue: string;
392
+ }): void;
393
+ unregisterItem(data: {
394
+ id: string;
395
+ }): void;
396
+ updateItemHeight(data: {
397
+ value: number;
398
+ }): void;
399
+ };
400
+ onChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
401
+ selection: import("../../collection/lib/useSelectionListModel").SelectionManager;
402
+ navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
403
+ getId: (item: any) => string;
404
+ }>;
405
+ export interface SelectProps extends Themeable, ExtractProps<typeof Combobox> {
406
+ }
407
+ /**
408
+ * Use `Select` to allow users to choose an option from a list or type characters to select a matching option.
409
+ *
410
+ * **Note: `Select` must wrap `FormField` and `FormField` must wrap all `Select` children to ensure proper accessibility. **
411
+ *
412
+ * ```tsx
413
+ * <Select items={options}>
414
+ * <FormField label="Your Label">
415
+ * <Select.Input onChange={e => handleChange(e)} id="contact-select" />
416
+ * <Select.Popper>
417
+ * <Select.Card>
418
+ * <Select.List>
419
+ * {item => <Select.Item>{item.id}</Select.Item>}
420
+ * </Select.List>
421
+ * </Select.Card>
422
+ * </Select.Popper>
423
+ * </FormField>
424
+ * </Select>
425
+ * ```
426
+ */
427
+ export declare const Select: import("@workday/canvas-kit-react/common").ComponentM<SelectProps & Partial<{
428
+ shouldVirtualize: boolean;
429
+ mode: "multiple" | "single";
430
+ returnFocusRef: React.RefObject<any> | undefined;
431
+ initialFocusRef: React.RefObject<any> | undefined;
432
+ id: string;
433
+ initialVisibility: import("../..").Visibility;
434
+ initialSelectedIds: import("../../collection/lib/useSelectionListModel").SelectedIds;
435
+ initialUnselectedIds: string[];
436
+ selection: import("../../collection/lib/useSelectionListModel").SelectionManager;
437
+ initialCursorId: string;
438
+ columnCount: number;
439
+ navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
440
+ pageSize: number;
441
+ getId: (item: any) => string;
442
+ getTextValue: (item: any) => string;
443
+ nonInteractiveIds: string[];
444
+ orientation: import("../../collection/lib/useBaseListModel").Orientation;
445
+ defaultItemHeight: number;
446
+ items: any[];
447
+ value: string | undefined;
448
+ onChange(event: React.ChangeEvent<HTMLInputElement>): void;
449
+ }> & {
450
+ onSetWidth?: ((data: number, prevState: {
451
+ stackRef: React.RefObject<HTMLDivElement>;
452
+ targetRef: React.RefObject<HTMLButtonElement>;
453
+ initialFocusRef: React.RefObject<any> | undefined;
454
+ returnFocusRef: React.RefObject<any> | undefined;
455
+ placement: import("@popperjs/core").Placement;
456
+ id: string;
457
+ visibility: "hidden" | "visible";
458
+ selectedIds: string[] | "all";
459
+ unselectedIds: string[];
460
+ cursorId: string;
461
+ columnCount: number;
462
+ pageSizeRef: React.MutableRefObject<number>;
463
+ cursorIndexRef: {
464
+ readonly current: number;
465
+ };
466
+ UNSTABLE_virtual: {
467
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
468
+ totalSize: number;
469
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
470
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
471
+ measure: () => void;
472
+ };
473
+ UNSTABLE_defaultItemHeight: number;
474
+ containerRef: React.RefObject<HTMLDivElement>;
475
+ orientation: "horizontal" | "vertical";
476
+ indexRef: React.MutableRefObject<number>;
477
+ nonInteractiveIds: string[];
478
+ isVirtualized: boolean;
479
+ items: import("../..").Item<any>[];
480
+ mode: "multiple" | "single";
481
+ value: string | undefined;
482
+ inputRef: React.RefObject<HTMLInputElement>;
483
+ width: number;
484
+ }) => void) | undefined;
485
+ onUpdatePlacement?: ((data: {
486
+ placement: import("@popperjs/core").Placement;
487
+ }, prevState: {
488
+ stackRef: React.RefObject<HTMLDivElement>;
489
+ targetRef: React.RefObject<HTMLButtonElement>;
490
+ initialFocusRef: React.RefObject<any> | undefined;
491
+ returnFocusRef: React.RefObject<any> | undefined;
492
+ placement: import("@popperjs/core").Placement;
493
+ id: string;
494
+ visibility: "hidden" | "visible";
495
+ selectedIds: string[] | "all";
496
+ unselectedIds: string[];
497
+ cursorId: string;
498
+ columnCount: number;
499
+ pageSizeRef: React.MutableRefObject<number>;
500
+ cursorIndexRef: {
501
+ readonly current: number;
502
+ };
503
+ UNSTABLE_virtual: {
504
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
505
+ totalSize: number;
506
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
507
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
508
+ measure: () => void;
509
+ };
510
+ UNSTABLE_defaultItemHeight: number;
511
+ containerRef: React.RefObject<HTMLDivElement>;
512
+ orientation: "horizontal" | "vertical";
513
+ indexRef: React.MutableRefObject<number>;
514
+ nonInteractiveIds: string[];
515
+ isVirtualized: boolean;
516
+ items: import("../..").Item<any>[];
517
+ mode: "multiple" | "single";
518
+ value: string | undefined;
519
+ inputRef: React.RefObject<HTMLInputElement>;
520
+ width: number;
521
+ }) => void) | undefined;
522
+ onShow?: ((data: Event | React.SyntheticEvent<Element, Event> | undefined, prevState: {
523
+ stackRef: React.RefObject<HTMLDivElement>;
524
+ targetRef: React.RefObject<HTMLButtonElement>;
525
+ initialFocusRef: React.RefObject<any> | undefined;
526
+ returnFocusRef: React.RefObject<any> | undefined;
527
+ placement: import("@popperjs/core").Placement;
528
+ id: string;
529
+ visibility: "hidden" | "visible";
530
+ selectedIds: string[] | "all";
531
+ unselectedIds: string[];
532
+ cursorId: string;
533
+ columnCount: number;
534
+ pageSizeRef: React.MutableRefObject<number>;
535
+ cursorIndexRef: {
536
+ readonly current: number;
537
+ };
538
+ UNSTABLE_virtual: {
539
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
540
+ totalSize: number;
541
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
542
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
543
+ measure: () => void;
544
+ };
545
+ UNSTABLE_defaultItemHeight: number;
546
+ containerRef: React.RefObject<HTMLDivElement>;
547
+ orientation: "horizontal" | "vertical";
548
+ indexRef: React.MutableRefObject<number>;
549
+ nonInteractiveIds: string[];
550
+ isVirtualized: boolean;
551
+ items: import("../..").Item<any>[];
552
+ mode: "multiple" | "single";
553
+ value: string | undefined;
554
+ inputRef: React.RefObject<HTMLInputElement>;
555
+ width: number;
556
+ }) => void) | undefined;
557
+ onHide?: ((data: Event | React.SyntheticEvent<Element, Event> | undefined, prevState: {
558
+ stackRef: React.RefObject<HTMLDivElement>;
559
+ targetRef: React.RefObject<HTMLButtonElement>;
560
+ initialFocusRef: React.RefObject<any> | undefined;
561
+ returnFocusRef: React.RefObject<any> | undefined;
562
+ placement: import("@popperjs/core").Placement;
563
+ id: string;
564
+ visibility: "hidden" | "visible";
565
+ selectedIds: string[] | "all";
566
+ unselectedIds: string[];
567
+ cursorId: string;
568
+ columnCount: number;
569
+ pageSizeRef: React.MutableRefObject<number>;
570
+ cursorIndexRef: {
571
+ readonly current: number;
572
+ };
573
+ UNSTABLE_virtual: {
574
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
575
+ totalSize: number;
576
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
577
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
578
+ measure: () => void;
579
+ };
580
+ UNSTABLE_defaultItemHeight: number;
581
+ containerRef: React.RefObject<HTMLDivElement>;
582
+ orientation: "horizontal" | "vertical";
583
+ indexRef: React.MutableRefObject<number>;
584
+ nonInteractiveIds: string[];
585
+ isVirtualized: boolean;
586
+ items: import("../..").Item<any>[];
587
+ mode: "multiple" | "single";
588
+ value: string | undefined;
589
+ inputRef: React.RefObject<HTMLInputElement>;
590
+ width: number;
591
+ }) => void) | undefined;
592
+ onSelect?: ((data: {
593
+ id: string;
594
+ }, prevState: {
595
+ stackRef: React.RefObject<HTMLDivElement>;
596
+ targetRef: React.RefObject<HTMLButtonElement>;
597
+ initialFocusRef: React.RefObject<any> | undefined;
598
+ returnFocusRef: React.RefObject<any> | undefined;
599
+ placement: import("@popperjs/core").Placement;
600
+ id: string;
601
+ visibility: "hidden" | "visible";
602
+ selectedIds: string[] | "all";
603
+ unselectedIds: string[];
604
+ cursorId: string;
605
+ columnCount: number;
606
+ pageSizeRef: React.MutableRefObject<number>;
607
+ cursorIndexRef: {
608
+ readonly current: number;
609
+ };
610
+ UNSTABLE_virtual: {
611
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
612
+ totalSize: number;
613
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
614
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
615
+ measure: () => void;
616
+ };
617
+ UNSTABLE_defaultItemHeight: number;
618
+ containerRef: React.RefObject<HTMLDivElement>;
619
+ orientation: "horizontal" | "vertical";
620
+ indexRef: React.MutableRefObject<number>;
621
+ nonInteractiveIds: string[];
622
+ isVirtualized: boolean;
623
+ items: import("../..").Item<any>[];
624
+ mode: "multiple" | "single";
625
+ value: string | undefined;
626
+ inputRef: React.RefObject<HTMLInputElement>;
627
+ width: number;
628
+ }) => void) | undefined;
629
+ onSelectAll?: ((data: undefined, prevState: {
630
+ stackRef: React.RefObject<HTMLDivElement>;
631
+ targetRef: React.RefObject<HTMLButtonElement>;
632
+ initialFocusRef: React.RefObject<any> | undefined;
633
+ returnFocusRef: React.RefObject<any> | undefined;
634
+ placement: import("@popperjs/core").Placement;
635
+ id: string;
636
+ visibility: "hidden" | "visible";
637
+ selectedIds: string[] | "all";
638
+ unselectedIds: string[];
639
+ cursorId: string;
640
+ columnCount: number;
641
+ pageSizeRef: React.MutableRefObject<number>;
642
+ cursorIndexRef: {
643
+ readonly current: number;
644
+ };
645
+ UNSTABLE_virtual: {
646
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
647
+ totalSize: number;
648
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
649
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
650
+ measure: () => void;
651
+ };
652
+ UNSTABLE_defaultItemHeight: number;
653
+ containerRef: React.RefObject<HTMLDivElement>;
654
+ orientation: "horizontal" | "vertical";
655
+ indexRef: React.MutableRefObject<number>;
656
+ nonInteractiveIds: string[];
657
+ isVirtualized: boolean;
658
+ items: import("../..").Item<any>[];
659
+ mode: "multiple" | "single";
660
+ value: string | undefined;
661
+ inputRef: React.RefObject<HTMLInputElement>;
662
+ width: number;
663
+ }) => void) | undefined;
664
+ onUnselectAll?: ((data: undefined, prevState: {
665
+ stackRef: React.RefObject<HTMLDivElement>;
666
+ targetRef: React.RefObject<HTMLButtonElement>;
667
+ initialFocusRef: React.RefObject<any> | undefined;
668
+ returnFocusRef: React.RefObject<any> | undefined;
669
+ placement: import("@popperjs/core").Placement;
670
+ id: string;
671
+ visibility: "hidden" | "visible";
672
+ selectedIds: string[] | "all";
673
+ unselectedIds: string[];
674
+ cursorId: string;
675
+ columnCount: number;
676
+ pageSizeRef: React.MutableRefObject<number>;
677
+ cursorIndexRef: {
678
+ readonly current: number;
679
+ };
680
+ UNSTABLE_virtual: {
681
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
682
+ totalSize: number;
683
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
684
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
685
+ measure: () => void;
686
+ };
687
+ UNSTABLE_defaultItemHeight: number;
688
+ containerRef: React.RefObject<HTMLDivElement>;
689
+ orientation: "horizontal" | "vertical";
690
+ indexRef: React.MutableRefObject<number>;
691
+ nonInteractiveIds: string[];
692
+ isVirtualized: boolean;
693
+ items: import("../..").Item<any>[];
694
+ mode: "multiple" | "single";
695
+ value: string | undefined;
696
+ inputRef: React.RefObject<HTMLInputElement>;
697
+ width: number;
698
+ }) => void) | undefined;
699
+ onGoTo?: ((data: {
700
+ id: string;
701
+ }, prevState: {
702
+ stackRef: React.RefObject<HTMLDivElement>;
703
+ targetRef: React.RefObject<HTMLButtonElement>;
704
+ initialFocusRef: React.RefObject<any> | undefined;
705
+ returnFocusRef: React.RefObject<any> | undefined;
706
+ placement: import("@popperjs/core").Placement;
707
+ id: string;
708
+ visibility: "hidden" | "visible";
709
+ selectedIds: string[] | "all";
710
+ unselectedIds: string[];
711
+ cursorId: string;
712
+ columnCount: number;
713
+ pageSizeRef: React.MutableRefObject<number>;
714
+ cursorIndexRef: {
715
+ readonly current: number;
716
+ };
717
+ UNSTABLE_virtual: {
718
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
719
+ totalSize: number;
720
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
721
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
722
+ measure: () => void;
723
+ };
724
+ UNSTABLE_defaultItemHeight: number;
725
+ containerRef: React.RefObject<HTMLDivElement>;
726
+ orientation: "horizontal" | "vertical";
727
+ indexRef: React.MutableRefObject<number>;
728
+ nonInteractiveIds: string[];
729
+ isVirtualized: boolean;
730
+ items: import("../..").Item<any>[];
731
+ mode: "multiple" | "single";
732
+ value: string | undefined;
733
+ inputRef: React.RefObject<HTMLInputElement>;
734
+ width: number;
735
+ }) => void) | undefined;
736
+ onGoToNext?: ((data: undefined, prevState: {
737
+ stackRef: React.RefObject<HTMLDivElement>;
738
+ targetRef: React.RefObject<HTMLButtonElement>;
739
+ initialFocusRef: React.RefObject<any> | undefined;
740
+ returnFocusRef: React.RefObject<any> | undefined;
741
+ placement: import("@popperjs/core").Placement;
742
+ id: string;
743
+ visibility: "hidden" | "visible";
744
+ selectedIds: string[] | "all";
745
+ unselectedIds: string[];
746
+ cursorId: string;
747
+ columnCount: number;
748
+ pageSizeRef: React.MutableRefObject<number>;
749
+ cursorIndexRef: {
750
+ readonly current: number;
751
+ };
752
+ UNSTABLE_virtual: {
753
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
754
+ totalSize: number;
755
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
756
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
757
+ measure: () => void;
758
+ };
759
+ UNSTABLE_defaultItemHeight: number;
760
+ containerRef: React.RefObject<HTMLDivElement>;
761
+ orientation: "horizontal" | "vertical";
762
+ indexRef: React.MutableRefObject<number>;
763
+ nonInteractiveIds: string[];
764
+ isVirtualized: boolean;
765
+ items: import("../..").Item<any>[];
766
+ mode: "multiple" | "single";
767
+ value: string | undefined;
768
+ inputRef: React.RefObject<HTMLInputElement>;
769
+ width: number;
770
+ }) => void) | undefined;
771
+ onGoToPrevious?: ((data: undefined, prevState: {
772
+ stackRef: React.RefObject<HTMLDivElement>;
773
+ targetRef: React.RefObject<HTMLButtonElement>;
774
+ initialFocusRef: React.RefObject<any> | undefined;
775
+ returnFocusRef: React.RefObject<any> | undefined;
776
+ placement: import("@popperjs/core").Placement;
777
+ id: string;
778
+ visibility: "hidden" | "visible";
779
+ selectedIds: string[] | "all";
780
+ unselectedIds: string[];
781
+ cursorId: string;
782
+ columnCount: number;
783
+ pageSizeRef: React.MutableRefObject<number>;
784
+ cursorIndexRef: {
785
+ readonly current: number;
786
+ };
787
+ UNSTABLE_virtual: {
788
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
789
+ totalSize: number;
790
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
791
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
792
+ measure: () => void;
793
+ };
794
+ UNSTABLE_defaultItemHeight: number;
795
+ containerRef: React.RefObject<HTMLDivElement>;
796
+ orientation: "horizontal" | "vertical";
797
+ indexRef: React.MutableRefObject<number>;
798
+ nonInteractiveIds: string[];
799
+ isVirtualized: boolean;
800
+ items: import("../..").Item<any>[];
801
+ mode: "multiple" | "single";
802
+ value: string | undefined;
803
+ inputRef: React.RefObject<HTMLInputElement>;
804
+ width: number;
805
+ }) => void) | undefined;
806
+ onGoToPreviousRow?: ((data: undefined, prevState: {
807
+ stackRef: React.RefObject<HTMLDivElement>;
808
+ targetRef: React.RefObject<HTMLButtonElement>;
809
+ initialFocusRef: React.RefObject<any> | undefined;
810
+ returnFocusRef: React.RefObject<any> | undefined;
811
+ placement: import("@popperjs/core").Placement;
812
+ id: string;
813
+ visibility: "hidden" | "visible";
814
+ selectedIds: string[] | "all";
815
+ unselectedIds: string[];
816
+ cursorId: string;
817
+ columnCount: number;
818
+ pageSizeRef: React.MutableRefObject<number>;
819
+ cursorIndexRef: {
820
+ readonly current: number;
821
+ };
822
+ UNSTABLE_virtual: {
823
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
824
+ totalSize: number;
825
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
826
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
827
+ measure: () => void;
828
+ };
829
+ UNSTABLE_defaultItemHeight: number;
830
+ containerRef: React.RefObject<HTMLDivElement>;
831
+ orientation: "horizontal" | "vertical";
832
+ indexRef: React.MutableRefObject<number>;
833
+ nonInteractiveIds: string[];
834
+ isVirtualized: boolean;
835
+ items: import("../..").Item<any>[];
836
+ mode: "multiple" | "single";
837
+ value: string | undefined;
838
+ inputRef: React.RefObject<HTMLInputElement>;
839
+ width: number;
840
+ }) => void) | undefined;
841
+ onGoToNextRow?: ((data: undefined, prevState: {
842
+ stackRef: React.RefObject<HTMLDivElement>;
843
+ targetRef: React.RefObject<HTMLButtonElement>;
844
+ initialFocusRef: React.RefObject<any> | undefined;
845
+ returnFocusRef: React.RefObject<any> | undefined;
846
+ placement: import("@popperjs/core").Placement;
847
+ id: string;
848
+ visibility: "hidden" | "visible";
849
+ selectedIds: string[] | "all";
850
+ unselectedIds: string[];
851
+ cursorId: string;
852
+ columnCount: number;
853
+ pageSizeRef: React.MutableRefObject<number>;
854
+ cursorIndexRef: {
855
+ readonly current: number;
856
+ };
857
+ UNSTABLE_virtual: {
858
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
859
+ totalSize: number;
860
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
861
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
862
+ measure: () => void;
863
+ };
864
+ UNSTABLE_defaultItemHeight: number;
865
+ containerRef: React.RefObject<HTMLDivElement>;
866
+ orientation: "horizontal" | "vertical";
867
+ indexRef: React.MutableRefObject<number>;
868
+ nonInteractiveIds: string[];
869
+ isVirtualized: boolean;
870
+ items: import("../..").Item<any>[];
871
+ mode: "multiple" | "single";
872
+ value: string | undefined;
873
+ inputRef: React.RefObject<HTMLInputElement>;
874
+ width: number;
875
+ }) => void) | undefined;
876
+ onGoToFirst?: ((data: undefined, prevState: {
877
+ stackRef: React.RefObject<HTMLDivElement>;
878
+ targetRef: React.RefObject<HTMLButtonElement>;
879
+ initialFocusRef: React.RefObject<any> | undefined;
880
+ returnFocusRef: React.RefObject<any> | undefined;
881
+ placement: import("@popperjs/core").Placement;
882
+ id: string;
883
+ visibility: "hidden" | "visible";
884
+ selectedIds: string[] | "all";
885
+ unselectedIds: string[];
886
+ cursorId: string;
887
+ columnCount: number;
888
+ pageSizeRef: React.MutableRefObject<number>;
889
+ cursorIndexRef: {
890
+ readonly current: number;
891
+ };
892
+ UNSTABLE_virtual: {
893
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
894
+ totalSize: number;
895
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
896
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
897
+ measure: () => void;
898
+ };
899
+ UNSTABLE_defaultItemHeight: number;
900
+ containerRef: React.RefObject<HTMLDivElement>;
901
+ orientation: "horizontal" | "vertical";
902
+ indexRef: React.MutableRefObject<number>;
903
+ nonInteractiveIds: string[];
904
+ isVirtualized: boolean;
905
+ items: import("../..").Item<any>[];
906
+ mode: "multiple" | "single";
907
+ value: string | undefined;
908
+ inputRef: React.RefObject<HTMLInputElement>;
909
+ width: number;
910
+ }) => void) | undefined;
911
+ onGoToLast?: ((data: undefined, prevState: {
912
+ stackRef: React.RefObject<HTMLDivElement>;
913
+ targetRef: React.RefObject<HTMLButtonElement>;
914
+ initialFocusRef: React.RefObject<any> | undefined;
915
+ returnFocusRef: React.RefObject<any> | undefined;
916
+ placement: import("@popperjs/core").Placement;
917
+ id: string;
918
+ visibility: "hidden" | "visible";
919
+ selectedIds: string[] | "all";
920
+ unselectedIds: string[];
921
+ cursorId: string;
922
+ columnCount: number;
923
+ pageSizeRef: React.MutableRefObject<number>;
924
+ cursorIndexRef: {
925
+ readonly current: number;
926
+ };
927
+ UNSTABLE_virtual: {
928
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
929
+ totalSize: number;
930
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
931
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
932
+ measure: () => void;
933
+ };
934
+ UNSTABLE_defaultItemHeight: number;
935
+ containerRef: React.RefObject<HTMLDivElement>;
936
+ orientation: "horizontal" | "vertical";
937
+ indexRef: React.MutableRefObject<number>;
938
+ nonInteractiveIds: string[];
939
+ isVirtualized: boolean;
940
+ items: import("../..").Item<any>[];
941
+ mode: "multiple" | "single";
942
+ value: string | undefined;
943
+ inputRef: React.RefObject<HTMLInputElement>;
944
+ width: number;
945
+ }) => void) | undefined;
946
+ onGoToFirstOfRow?: ((data: undefined, prevState: {
947
+ stackRef: React.RefObject<HTMLDivElement>;
948
+ targetRef: React.RefObject<HTMLButtonElement>;
949
+ initialFocusRef: React.RefObject<any> | undefined;
950
+ returnFocusRef: React.RefObject<any> | undefined;
951
+ placement: import("@popperjs/core").Placement;
952
+ id: string;
953
+ visibility: "hidden" | "visible";
954
+ selectedIds: string[] | "all";
955
+ unselectedIds: string[];
956
+ cursorId: string;
957
+ columnCount: number;
958
+ pageSizeRef: React.MutableRefObject<number>;
959
+ cursorIndexRef: {
960
+ readonly current: number;
961
+ };
962
+ UNSTABLE_virtual: {
963
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
964
+ totalSize: number;
965
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
966
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
967
+ measure: () => void;
968
+ };
969
+ UNSTABLE_defaultItemHeight: number;
970
+ containerRef: React.RefObject<HTMLDivElement>;
971
+ orientation: "horizontal" | "vertical";
972
+ indexRef: React.MutableRefObject<number>;
973
+ nonInteractiveIds: string[];
974
+ isVirtualized: boolean;
975
+ items: import("../..").Item<any>[];
976
+ mode: "multiple" | "single";
977
+ value: string | undefined;
978
+ inputRef: React.RefObject<HTMLInputElement>;
979
+ width: number;
980
+ }) => void) | undefined;
981
+ onGoToLastOfRow?: ((data: undefined, prevState: {
982
+ stackRef: React.RefObject<HTMLDivElement>;
983
+ targetRef: React.RefObject<HTMLButtonElement>;
984
+ initialFocusRef: React.RefObject<any> | undefined;
985
+ returnFocusRef: React.RefObject<any> | undefined;
986
+ placement: import("@popperjs/core").Placement;
987
+ id: string;
988
+ visibility: "hidden" | "visible";
989
+ selectedIds: string[] | "all";
990
+ unselectedIds: string[];
991
+ cursorId: string;
992
+ columnCount: number;
993
+ pageSizeRef: React.MutableRefObject<number>;
994
+ cursorIndexRef: {
995
+ readonly current: number;
996
+ };
997
+ UNSTABLE_virtual: {
998
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
999
+ totalSize: number;
1000
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
1001
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
1002
+ measure: () => void;
1003
+ };
1004
+ UNSTABLE_defaultItemHeight: number;
1005
+ containerRef: React.RefObject<HTMLDivElement>;
1006
+ orientation: "horizontal" | "vertical";
1007
+ indexRef: React.MutableRefObject<number>;
1008
+ nonInteractiveIds: string[];
1009
+ isVirtualized: boolean;
1010
+ items: import("../..").Item<any>[];
1011
+ mode: "multiple" | "single";
1012
+ value: string | undefined;
1013
+ inputRef: React.RefObject<HTMLInputElement>;
1014
+ width: number;
1015
+ }) => void) | undefined;
1016
+ onGoToNextPage?: ((data: undefined, prevState: {
1017
+ stackRef: React.RefObject<HTMLDivElement>;
1018
+ targetRef: React.RefObject<HTMLButtonElement>;
1019
+ initialFocusRef: React.RefObject<any> | undefined;
1020
+ returnFocusRef: React.RefObject<any> | undefined;
1021
+ placement: import("@popperjs/core").Placement;
1022
+ id: string;
1023
+ visibility: "hidden" | "visible";
1024
+ selectedIds: string[] | "all";
1025
+ unselectedIds: string[];
1026
+ cursorId: string;
1027
+ columnCount: number;
1028
+ pageSizeRef: React.MutableRefObject<number>;
1029
+ cursorIndexRef: {
1030
+ readonly current: number;
1031
+ };
1032
+ UNSTABLE_virtual: {
1033
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
1034
+ totalSize: number;
1035
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
1036
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
1037
+ measure: () => void;
1038
+ };
1039
+ UNSTABLE_defaultItemHeight: number;
1040
+ containerRef: React.RefObject<HTMLDivElement>;
1041
+ orientation: "horizontal" | "vertical";
1042
+ indexRef: React.MutableRefObject<number>;
1043
+ nonInteractiveIds: string[];
1044
+ isVirtualized: boolean;
1045
+ items: import("../..").Item<any>[];
1046
+ mode: "multiple" | "single";
1047
+ value: string | undefined;
1048
+ inputRef: React.RefObject<HTMLInputElement>;
1049
+ width: number;
1050
+ }) => void) | undefined;
1051
+ onGoToPreviousPage?: ((data: undefined, prevState: {
1052
+ stackRef: React.RefObject<HTMLDivElement>;
1053
+ targetRef: React.RefObject<HTMLButtonElement>;
1054
+ initialFocusRef: React.RefObject<any> | undefined;
1055
+ returnFocusRef: React.RefObject<any> | undefined;
1056
+ placement: import("@popperjs/core").Placement;
1057
+ id: string;
1058
+ visibility: "hidden" | "visible";
1059
+ selectedIds: string[] | "all";
1060
+ unselectedIds: string[];
1061
+ cursorId: string;
1062
+ columnCount: number;
1063
+ pageSizeRef: React.MutableRefObject<number>;
1064
+ cursorIndexRef: {
1065
+ readonly current: number;
1066
+ };
1067
+ UNSTABLE_virtual: {
1068
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
1069
+ totalSize: number;
1070
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
1071
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
1072
+ measure: () => void;
1073
+ };
1074
+ UNSTABLE_defaultItemHeight: number;
1075
+ containerRef: React.RefObject<HTMLDivElement>;
1076
+ orientation: "horizontal" | "vertical";
1077
+ indexRef: React.MutableRefObject<number>;
1078
+ nonInteractiveIds: string[];
1079
+ isVirtualized: boolean;
1080
+ items: import("../..").Item<any>[];
1081
+ mode: "multiple" | "single";
1082
+ value: string | undefined;
1083
+ inputRef: React.RefObject<HTMLInputElement>;
1084
+ width: number;
1085
+ }) => void) | undefined;
1086
+ onRegisterItem?: ((data: {
1087
+ item: any;
1088
+ textValue: string;
1089
+ }, prevState: {
1090
+ stackRef: React.RefObject<HTMLDivElement>;
1091
+ targetRef: React.RefObject<HTMLButtonElement>;
1092
+ initialFocusRef: React.RefObject<any> | undefined;
1093
+ returnFocusRef: React.RefObject<any> | undefined;
1094
+ placement: import("@popperjs/core").Placement;
1095
+ id: string;
1096
+ visibility: "hidden" | "visible";
1097
+ selectedIds: string[] | "all";
1098
+ unselectedIds: string[];
1099
+ cursorId: string;
1100
+ columnCount: number;
1101
+ pageSizeRef: React.MutableRefObject<number>;
1102
+ cursorIndexRef: {
1103
+ readonly current: number;
1104
+ };
1105
+ UNSTABLE_virtual: {
1106
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
1107
+ totalSize: number;
1108
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
1109
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
1110
+ measure: () => void;
1111
+ };
1112
+ UNSTABLE_defaultItemHeight: number;
1113
+ containerRef: React.RefObject<HTMLDivElement>;
1114
+ orientation: "horizontal" | "vertical";
1115
+ indexRef: React.MutableRefObject<number>;
1116
+ nonInteractiveIds: string[];
1117
+ isVirtualized: boolean;
1118
+ items: import("../..").Item<any>[];
1119
+ mode: "multiple" | "single";
1120
+ value: string | undefined;
1121
+ inputRef: React.RefObject<HTMLInputElement>;
1122
+ width: number;
1123
+ }) => void) | undefined;
1124
+ onUnregisterItem?: ((data: {
1125
+ id: string;
1126
+ }, prevState: {
1127
+ stackRef: React.RefObject<HTMLDivElement>;
1128
+ targetRef: React.RefObject<HTMLButtonElement>;
1129
+ initialFocusRef: React.RefObject<any> | undefined;
1130
+ returnFocusRef: React.RefObject<any> | undefined;
1131
+ placement: import("@popperjs/core").Placement;
1132
+ id: string;
1133
+ visibility: "hidden" | "visible";
1134
+ selectedIds: string[] | "all";
1135
+ unselectedIds: string[];
1136
+ cursorId: string;
1137
+ columnCount: number;
1138
+ pageSizeRef: React.MutableRefObject<number>;
1139
+ cursorIndexRef: {
1140
+ readonly current: number;
1141
+ };
1142
+ UNSTABLE_virtual: {
1143
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
1144
+ totalSize: number;
1145
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
1146
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
1147
+ measure: () => void;
1148
+ };
1149
+ UNSTABLE_defaultItemHeight: number;
1150
+ containerRef: React.RefObject<HTMLDivElement>;
1151
+ orientation: "horizontal" | "vertical";
1152
+ indexRef: React.MutableRefObject<number>;
1153
+ nonInteractiveIds: string[];
1154
+ isVirtualized: boolean;
1155
+ items: import("../..").Item<any>[];
1156
+ mode: "multiple" | "single";
1157
+ value: string | undefined;
1158
+ inputRef: React.RefObject<HTMLInputElement>;
1159
+ width: number;
1160
+ }) => void) | undefined;
1161
+ onUpdateItemHeight?: ((data: {
1162
+ value: number;
1163
+ }, prevState: {
1164
+ stackRef: React.RefObject<HTMLDivElement>;
1165
+ targetRef: React.RefObject<HTMLButtonElement>;
1166
+ initialFocusRef: React.RefObject<any> | undefined;
1167
+ returnFocusRef: React.RefObject<any> | undefined;
1168
+ placement: import("@popperjs/core").Placement;
1169
+ id: string;
1170
+ visibility: "hidden" | "visible";
1171
+ selectedIds: string[] | "all";
1172
+ unselectedIds: string[];
1173
+ cursorId: string;
1174
+ columnCount: number;
1175
+ pageSizeRef: React.MutableRefObject<number>;
1176
+ cursorIndexRef: {
1177
+ readonly current: number;
1178
+ };
1179
+ UNSTABLE_virtual: {
1180
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
1181
+ totalSize: number;
1182
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
1183
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
1184
+ measure: () => void;
1185
+ };
1186
+ UNSTABLE_defaultItemHeight: number;
1187
+ containerRef: React.RefObject<HTMLDivElement>;
1188
+ orientation: "horizontal" | "vertical";
1189
+ indexRef: React.MutableRefObject<number>;
1190
+ nonInteractiveIds: string[];
1191
+ isVirtualized: boolean;
1192
+ items: import("../..").Item<any>[];
1193
+ mode: "multiple" | "single";
1194
+ value: string | undefined;
1195
+ inputRef: React.RefObject<HTMLInputElement>;
1196
+ width: number;
1197
+ }) => void) | undefined;
1198
+ } & {
1199
+ shouldSetWidth?: ((data: number, state: {
1200
+ stackRef: React.RefObject<HTMLDivElement>;
1201
+ targetRef: React.RefObject<HTMLButtonElement>;
1202
+ initialFocusRef: React.RefObject<any> | undefined;
1203
+ returnFocusRef: React.RefObject<any> | undefined;
1204
+ placement: import("@popperjs/core").Placement;
1205
+ id: string;
1206
+ visibility: "hidden" | "visible";
1207
+ selectedIds: string[] | "all";
1208
+ unselectedIds: string[];
1209
+ cursorId: string;
1210
+ columnCount: number;
1211
+ pageSizeRef: React.MutableRefObject<number>;
1212
+ cursorIndexRef: {
1213
+ readonly current: number;
1214
+ };
1215
+ UNSTABLE_virtual: {
1216
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
1217
+ totalSize: number;
1218
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
1219
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
1220
+ measure: () => void;
1221
+ };
1222
+ UNSTABLE_defaultItemHeight: number;
1223
+ containerRef: React.RefObject<HTMLDivElement>;
1224
+ orientation: "horizontal" | "vertical";
1225
+ indexRef: React.MutableRefObject<number>;
1226
+ nonInteractiveIds: string[];
1227
+ isVirtualized: boolean;
1228
+ items: import("../..").Item<any>[];
1229
+ mode: "multiple" | "single";
1230
+ value: string | undefined;
1231
+ inputRef: React.RefObject<HTMLInputElement>;
1232
+ width: number;
1233
+ }) => boolean) | undefined;
1234
+ shouldUpdatePlacement?: ((data: {
1235
+ placement: import("@popperjs/core").Placement;
1236
+ }, state: {
1237
+ stackRef: React.RefObject<HTMLDivElement>;
1238
+ targetRef: React.RefObject<HTMLButtonElement>;
1239
+ initialFocusRef: React.RefObject<any> | undefined;
1240
+ returnFocusRef: React.RefObject<any> | undefined;
1241
+ placement: import("@popperjs/core").Placement;
1242
+ id: string;
1243
+ visibility: "hidden" | "visible";
1244
+ selectedIds: string[] | "all";
1245
+ unselectedIds: string[];
1246
+ cursorId: string;
1247
+ columnCount: number;
1248
+ pageSizeRef: React.MutableRefObject<number>;
1249
+ cursorIndexRef: {
1250
+ readonly current: number;
1251
+ };
1252
+ UNSTABLE_virtual: {
1253
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
1254
+ totalSize: number;
1255
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
1256
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
1257
+ measure: () => void;
1258
+ };
1259
+ UNSTABLE_defaultItemHeight: number;
1260
+ containerRef: React.RefObject<HTMLDivElement>;
1261
+ orientation: "horizontal" | "vertical";
1262
+ indexRef: React.MutableRefObject<number>;
1263
+ nonInteractiveIds: string[];
1264
+ isVirtualized: boolean;
1265
+ items: import("../..").Item<any>[];
1266
+ mode: "multiple" | "single";
1267
+ value: string | undefined;
1268
+ inputRef: React.RefObject<HTMLInputElement>;
1269
+ width: number;
1270
+ }) => boolean) | undefined;
1271
+ shouldShow?: ((data: Event | React.SyntheticEvent<Element, Event> | undefined, state: {
1272
+ stackRef: React.RefObject<HTMLDivElement>;
1273
+ targetRef: React.RefObject<HTMLButtonElement>;
1274
+ initialFocusRef: React.RefObject<any> | undefined;
1275
+ returnFocusRef: React.RefObject<any> | undefined;
1276
+ placement: import("@popperjs/core").Placement;
1277
+ id: string;
1278
+ visibility: "hidden" | "visible";
1279
+ selectedIds: string[] | "all";
1280
+ unselectedIds: string[];
1281
+ cursorId: string;
1282
+ columnCount: number;
1283
+ pageSizeRef: React.MutableRefObject<number>;
1284
+ cursorIndexRef: {
1285
+ readonly current: number;
1286
+ };
1287
+ UNSTABLE_virtual: {
1288
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
1289
+ totalSize: number;
1290
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
1291
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
1292
+ measure: () => void;
1293
+ };
1294
+ UNSTABLE_defaultItemHeight: number;
1295
+ containerRef: React.RefObject<HTMLDivElement>;
1296
+ orientation: "horizontal" | "vertical";
1297
+ indexRef: React.MutableRefObject<number>;
1298
+ nonInteractiveIds: string[];
1299
+ isVirtualized: boolean;
1300
+ items: import("../..").Item<any>[];
1301
+ mode: "multiple" | "single";
1302
+ value: string | undefined;
1303
+ inputRef: React.RefObject<HTMLInputElement>;
1304
+ width: number;
1305
+ }) => boolean) | undefined;
1306
+ shouldHide?: ((data: Event | React.SyntheticEvent<Element, Event> | undefined, state: {
1307
+ stackRef: React.RefObject<HTMLDivElement>;
1308
+ targetRef: React.RefObject<HTMLButtonElement>;
1309
+ initialFocusRef: React.RefObject<any> | undefined;
1310
+ returnFocusRef: React.RefObject<any> | undefined;
1311
+ placement: import("@popperjs/core").Placement;
1312
+ id: string;
1313
+ visibility: "hidden" | "visible";
1314
+ selectedIds: string[] | "all";
1315
+ unselectedIds: string[];
1316
+ cursorId: string;
1317
+ columnCount: number;
1318
+ pageSizeRef: React.MutableRefObject<number>;
1319
+ cursorIndexRef: {
1320
+ readonly current: number;
1321
+ };
1322
+ UNSTABLE_virtual: {
1323
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
1324
+ totalSize: number;
1325
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
1326
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
1327
+ measure: () => void;
1328
+ };
1329
+ UNSTABLE_defaultItemHeight: number;
1330
+ containerRef: React.RefObject<HTMLDivElement>;
1331
+ orientation: "horizontal" | "vertical";
1332
+ indexRef: React.MutableRefObject<number>;
1333
+ nonInteractiveIds: string[];
1334
+ isVirtualized: boolean;
1335
+ items: import("../..").Item<any>[];
1336
+ mode: "multiple" | "single";
1337
+ value: string | undefined;
1338
+ inputRef: React.RefObject<HTMLInputElement>;
1339
+ width: number;
1340
+ }) => boolean) | undefined;
1341
+ shouldSelect?: ((data: {
1342
+ id: string;
1343
+ }, state: {
1344
+ stackRef: React.RefObject<HTMLDivElement>;
1345
+ targetRef: React.RefObject<HTMLButtonElement>;
1346
+ initialFocusRef: React.RefObject<any> | undefined;
1347
+ returnFocusRef: React.RefObject<any> | undefined;
1348
+ placement: import("@popperjs/core").Placement;
1349
+ id: string;
1350
+ visibility: "hidden" | "visible";
1351
+ selectedIds: string[] | "all";
1352
+ unselectedIds: string[];
1353
+ cursorId: string;
1354
+ columnCount: number;
1355
+ pageSizeRef: React.MutableRefObject<number>;
1356
+ cursorIndexRef: {
1357
+ readonly current: number;
1358
+ };
1359
+ UNSTABLE_virtual: {
1360
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
1361
+ totalSize: number;
1362
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
1363
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
1364
+ measure: () => void;
1365
+ };
1366
+ UNSTABLE_defaultItemHeight: number;
1367
+ containerRef: React.RefObject<HTMLDivElement>;
1368
+ orientation: "horizontal" | "vertical";
1369
+ indexRef: React.MutableRefObject<number>;
1370
+ nonInteractiveIds: string[];
1371
+ isVirtualized: boolean;
1372
+ items: import("../..").Item<any>[];
1373
+ mode: "multiple" | "single";
1374
+ value: string | undefined;
1375
+ inputRef: React.RefObject<HTMLInputElement>;
1376
+ width: number;
1377
+ }) => boolean) | undefined;
1378
+ shouldSelectAll?: ((data: undefined, state: {
1379
+ stackRef: React.RefObject<HTMLDivElement>;
1380
+ targetRef: React.RefObject<HTMLButtonElement>;
1381
+ initialFocusRef: React.RefObject<any> | undefined;
1382
+ returnFocusRef: React.RefObject<any> | undefined;
1383
+ placement: import("@popperjs/core").Placement;
1384
+ id: string;
1385
+ visibility: "hidden" | "visible";
1386
+ selectedIds: string[] | "all";
1387
+ unselectedIds: string[];
1388
+ cursorId: string;
1389
+ columnCount: number;
1390
+ pageSizeRef: React.MutableRefObject<number>;
1391
+ cursorIndexRef: {
1392
+ readonly current: number;
1393
+ };
1394
+ UNSTABLE_virtual: {
1395
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
1396
+ totalSize: number;
1397
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
1398
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
1399
+ measure: () => void;
1400
+ };
1401
+ UNSTABLE_defaultItemHeight: number;
1402
+ containerRef: React.RefObject<HTMLDivElement>;
1403
+ orientation: "horizontal" | "vertical";
1404
+ indexRef: React.MutableRefObject<number>;
1405
+ nonInteractiveIds: string[];
1406
+ isVirtualized: boolean;
1407
+ items: import("../..").Item<any>[];
1408
+ mode: "multiple" | "single";
1409
+ value: string | undefined;
1410
+ inputRef: React.RefObject<HTMLInputElement>;
1411
+ width: number;
1412
+ }) => boolean) | undefined;
1413
+ shouldUnselectAll?: ((data: undefined, state: {
1414
+ stackRef: React.RefObject<HTMLDivElement>;
1415
+ targetRef: React.RefObject<HTMLButtonElement>;
1416
+ initialFocusRef: React.RefObject<any> | undefined;
1417
+ returnFocusRef: React.RefObject<any> | undefined;
1418
+ placement: import("@popperjs/core").Placement;
1419
+ id: string;
1420
+ visibility: "hidden" | "visible";
1421
+ selectedIds: string[] | "all";
1422
+ unselectedIds: string[];
1423
+ cursorId: string;
1424
+ columnCount: number;
1425
+ pageSizeRef: React.MutableRefObject<number>;
1426
+ cursorIndexRef: {
1427
+ readonly current: number;
1428
+ };
1429
+ UNSTABLE_virtual: {
1430
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
1431
+ totalSize: number;
1432
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
1433
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
1434
+ measure: () => void;
1435
+ };
1436
+ UNSTABLE_defaultItemHeight: number;
1437
+ containerRef: React.RefObject<HTMLDivElement>;
1438
+ orientation: "horizontal" | "vertical";
1439
+ indexRef: React.MutableRefObject<number>;
1440
+ nonInteractiveIds: string[];
1441
+ isVirtualized: boolean;
1442
+ items: import("../..").Item<any>[];
1443
+ mode: "multiple" | "single";
1444
+ value: string | undefined;
1445
+ inputRef: React.RefObject<HTMLInputElement>;
1446
+ width: number;
1447
+ }) => boolean) | undefined;
1448
+ shouldGoTo?: ((data: {
1449
+ id: string;
1450
+ }, state: {
1451
+ stackRef: React.RefObject<HTMLDivElement>;
1452
+ targetRef: React.RefObject<HTMLButtonElement>;
1453
+ initialFocusRef: React.RefObject<any> | undefined;
1454
+ returnFocusRef: React.RefObject<any> | undefined;
1455
+ placement: import("@popperjs/core").Placement;
1456
+ id: string;
1457
+ visibility: "hidden" | "visible";
1458
+ selectedIds: string[] | "all";
1459
+ unselectedIds: string[];
1460
+ cursorId: string;
1461
+ columnCount: number;
1462
+ pageSizeRef: React.MutableRefObject<number>;
1463
+ cursorIndexRef: {
1464
+ readonly current: number;
1465
+ };
1466
+ UNSTABLE_virtual: {
1467
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
1468
+ totalSize: number;
1469
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
1470
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
1471
+ measure: () => void;
1472
+ };
1473
+ UNSTABLE_defaultItemHeight: number;
1474
+ containerRef: React.RefObject<HTMLDivElement>;
1475
+ orientation: "horizontal" | "vertical";
1476
+ indexRef: React.MutableRefObject<number>;
1477
+ nonInteractiveIds: string[];
1478
+ isVirtualized: boolean;
1479
+ items: import("../..").Item<any>[];
1480
+ mode: "multiple" | "single";
1481
+ value: string | undefined;
1482
+ inputRef: React.RefObject<HTMLInputElement>;
1483
+ width: number;
1484
+ }) => boolean) | undefined;
1485
+ shouldGoToNext?: ((data: undefined, state: {
1486
+ stackRef: React.RefObject<HTMLDivElement>;
1487
+ targetRef: React.RefObject<HTMLButtonElement>;
1488
+ initialFocusRef: React.RefObject<any> | undefined;
1489
+ returnFocusRef: React.RefObject<any> | undefined;
1490
+ placement: import("@popperjs/core").Placement;
1491
+ id: string;
1492
+ visibility: "hidden" | "visible";
1493
+ selectedIds: string[] | "all";
1494
+ unselectedIds: string[];
1495
+ cursorId: string;
1496
+ columnCount: number;
1497
+ pageSizeRef: React.MutableRefObject<number>;
1498
+ cursorIndexRef: {
1499
+ readonly current: number;
1500
+ };
1501
+ UNSTABLE_virtual: {
1502
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
1503
+ totalSize: number;
1504
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
1505
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
1506
+ measure: () => void;
1507
+ };
1508
+ UNSTABLE_defaultItemHeight: number;
1509
+ containerRef: React.RefObject<HTMLDivElement>;
1510
+ orientation: "horizontal" | "vertical";
1511
+ indexRef: React.MutableRefObject<number>;
1512
+ nonInteractiveIds: string[];
1513
+ isVirtualized: boolean;
1514
+ items: import("../..").Item<any>[];
1515
+ mode: "multiple" | "single";
1516
+ value: string | undefined;
1517
+ inputRef: React.RefObject<HTMLInputElement>;
1518
+ width: number;
1519
+ }) => boolean) | undefined;
1520
+ shouldGoToPrevious?: ((data: undefined, state: {
1521
+ stackRef: React.RefObject<HTMLDivElement>;
1522
+ targetRef: React.RefObject<HTMLButtonElement>;
1523
+ initialFocusRef: React.RefObject<any> | undefined;
1524
+ returnFocusRef: React.RefObject<any> | undefined;
1525
+ placement: import("@popperjs/core").Placement;
1526
+ id: string;
1527
+ visibility: "hidden" | "visible";
1528
+ selectedIds: string[] | "all";
1529
+ unselectedIds: string[];
1530
+ cursorId: string;
1531
+ columnCount: number;
1532
+ pageSizeRef: React.MutableRefObject<number>;
1533
+ cursorIndexRef: {
1534
+ readonly current: number;
1535
+ };
1536
+ UNSTABLE_virtual: {
1537
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
1538
+ totalSize: number;
1539
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
1540
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
1541
+ measure: () => void;
1542
+ };
1543
+ UNSTABLE_defaultItemHeight: number;
1544
+ containerRef: React.RefObject<HTMLDivElement>;
1545
+ orientation: "horizontal" | "vertical";
1546
+ indexRef: React.MutableRefObject<number>;
1547
+ nonInteractiveIds: string[];
1548
+ isVirtualized: boolean;
1549
+ items: import("../..").Item<any>[];
1550
+ mode: "multiple" | "single";
1551
+ value: string | undefined;
1552
+ inputRef: React.RefObject<HTMLInputElement>;
1553
+ width: number;
1554
+ }) => boolean) | undefined;
1555
+ shouldGoToPreviousRow?: ((data: undefined, state: {
1556
+ stackRef: React.RefObject<HTMLDivElement>;
1557
+ targetRef: React.RefObject<HTMLButtonElement>;
1558
+ initialFocusRef: React.RefObject<any> | undefined;
1559
+ returnFocusRef: React.RefObject<any> | undefined;
1560
+ placement: import("@popperjs/core").Placement;
1561
+ id: string;
1562
+ visibility: "hidden" | "visible";
1563
+ selectedIds: string[] | "all";
1564
+ unselectedIds: string[];
1565
+ cursorId: string;
1566
+ columnCount: number;
1567
+ pageSizeRef: React.MutableRefObject<number>;
1568
+ cursorIndexRef: {
1569
+ readonly current: number;
1570
+ };
1571
+ UNSTABLE_virtual: {
1572
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
1573
+ totalSize: number;
1574
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
1575
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
1576
+ measure: () => void;
1577
+ };
1578
+ UNSTABLE_defaultItemHeight: number;
1579
+ containerRef: React.RefObject<HTMLDivElement>;
1580
+ orientation: "horizontal" | "vertical";
1581
+ indexRef: React.MutableRefObject<number>;
1582
+ nonInteractiveIds: string[];
1583
+ isVirtualized: boolean;
1584
+ items: import("../..").Item<any>[];
1585
+ mode: "multiple" | "single";
1586
+ value: string | undefined;
1587
+ inputRef: React.RefObject<HTMLInputElement>;
1588
+ width: number;
1589
+ }) => boolean) | undefined;
1590
+ shouldGoToNextRow?: ((data: undefined, state: {
1591
+ stackRef: React.RefObject<HTMLDivElement>;
1592
+ targetRef: React.RefObject<HTMLButtonElement>;
1593
+ initialFocusRef: React.RefObject<any> | undefined;
1594
+ returnFocusRef: React.RefObject<any> | undefined;
1595
+ placement: import("@popperjs/core").Placement;
1596
+ id: string;
1597
+ visibility: "hidden" | "visible";
1598
+ selectedIds: string[] | "all";
1599
+ unselectedIds: string[];
1600
+ cursorId: string;
1601
+ columnCount: number;
1602
+ pageSizeRef: React.MutableRefObject<number>;
1603
+ cursorIndexRef: {
1604
+ readonly current: number;
1605
+ };
1606
+ UNSTABLE_virtual: {
1607
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
1608
+ totalSize: number;
1609
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
1610
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
1611
+ measure: () => void;
1612
+ };
1613
+ UNSTABLE_defaultItemHeight: number;
1614
+ containerRef: React.RefObject<HTMLDivElement>;
1615
+ orientation: "horizontal" | "vertical";
1616
+ indexRef: React.MutableRefObject<number>;
1617
+ nonInteractiveIds: string[];
1618
+ isVirtualized: boolean;
1619
+ items: import("../..").Item<any>[];
1620
+ mode: "multiple" | "single";
1621
+ value: string | undefined;
1622
+ inputRef: React.RefObject<HTMLInputElement>;
1623
+ width: number;
1624
+ }) => boolean) | undefined;
1625
+ shouldGoToFirst?: ((data: undefined, state: {
1626
+ stackRef: React.RefObject<HTMLDivElement>;
1627
+ targetRef: React.RefObject<HTMLButtonElement>;
1628
+ initialFocusRef: React.RefObject<any> | undefined;
1629
+ returnFocusRef: React.RefObject<any> | undefined;
1630
+ placement: import("@popperjs/core").Placement;
1631
+ id: string;
1632
+ visibility: "hidden" | "visible";
1633
+ selectedIds: string[] | "all";
1634
+ unselectedIds: string[];
1635
+ cursorId: string;
1636
+ columnCount: number;
1637
+ pageSizeRef: React.MutableRefObject<number>;
1638
+ cursorIndexRef: {
1639
+ readonly current: number;
1640
+ };
1641
+ UNSTABLE_virtual: {
1642
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
1643
+ totalSize: number;
1644
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
1645
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
1646
+ measure: () => void;
1647
+ };
1648
+ UNSTABLE_defaultItemHeight: number;
1649
+ containerRef: React.RefObject<HTMLDivElement>;
1650
+ orientation: "horizontal" | "vertical";
1651
+ indexRef: React.MutableRefObject<number>;
1652
+ nonInteractiveIds: string[];
1653
+ isVirtualized: boolean;
1654
+ items: import("../..").Item<any>[];
1655
+ mode: "multiple" | "single";
1656
+ value: string | undefined;
1657
+ inputRef: React.RefObject<HTMLInputElement>;
1658
+ width: number;
1659
+ }) => boolean) | undefined;
1660
+ shouldGoToLast?: ((data: undefined, state: {
1661
+ stackRef: React.RefObject<HTMLDivElement>;
1662
+ targetRef: React.RefObject<HTMLButtonElement>;
1663
+ initialFocusRef: React.RefObject<any> | undefined;
1664
+ returnFocusRef: React.RefObject<any> | undefined;
1665
+ placement: import("@popperjs/core").Placement;
1666
+ id: string;
1667
+ visibility: "hidden" | "visible";
1668
+ selectedIds: string[] | "all";
1669
+ unselectedIds: string[];
1670
+ cursorId: string;
1671
+ columnCount: number;
1672
+ pageSizeRef: React.MutableRefObject<number>;
1673
+ cursorIndexRef: {
1674
+ readonly current: number;
1675
+ };
1676
+ UNSTABLE_virtual: {
1677
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
1678
+ totalSize: number;
1679
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
1680
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
1681
+ measure: () => void;
1682
+ };
1683
+ UNSTABLE_defaultItemHeight: number;
1684
+ containerRef: React.RefObject<HTMLDivElement>;
1685
+ orientation: "horizontal" | "vertical";
1686
+ indexRef: React.MutableRefObject<number>;
1687
+ nonInteractiveIds: string[];
1688
+ isVirtualized: boolean;
1689
+ items: import("../..").Item<any>[];
1690
+ mode: "multiple" | "single";
1691
+ value: string | undefined;
1692
+ inputRef: React.RefObject<HTMLInputElement>;
1693
+ width: number;
1694
+ }) => boolean) | undefined;
1695
+ shouldGoToFirstOfRow?: ((data: undefined, state: {
1696
+ stackRef: React.RefObject<HTMLDivElement>;
1697
+ targetRef: React.RefObject<HTMLButtonElement>;
1698
+ initialFocusRef: React.RefObject<any> | undefined;
1699
+ returnFocusRef: React.RefObject<any> | undefined;
1700
+ placement: import("@popperjs/core").Placement;
1701
+ id: string;
1702
+ visibility: "hidden" | "visible";
1703
+ selectedIds: string[] | "all";
1704
+ unselectedIds: string[];
1705
+ cursorId: string;
1706
+ columnCount: number;
1707
+ pageSizeRef: React.MutableRefObject<number>;
1708
+ cursorIndexRef: {
1709
+ readonly current: number;
1710
+ };
1711
+ UNSTABLE_virtual: {
1712
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
1713
+ totalSize: number;
1714
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
1715
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
1716
+ measure: () => void;
1717
+ };
1718
+ UNSTABLE_defaultItemHeight: number;
1719
+ containerRef: React.RefObject<HTMLDivElement>;
1720
+ orientation: "horizontal" | "vertical";
1721
+ indexRef: React.MutableRefObject<number>;
1722
+ nonInteractiveIds: string[];
1723
+ isVirtualized: boolean;
1724
+ items: import("../..").Item<any>[];
1725
+ mode: "multiple" | "single";
1726
+ value: string | undefined;
1727
+ inputRef: React.RefObject<HTMLInputElement>;
1728
+ width: number;
1729
+ }) => boolean) | undefined;
1730
+ shouldGoToLastOfRow?: ((data: undefined, state: {
1731
+ stackRef: React.RefObject<HTMLDivElement>;
1732
+ targetRef: React.RefObject<HTMLButtonElement>;
1733
+ initialFocusRef: React.RefObject<any> | undefined;
1734
+ returnFocusRef: React.RefObject<any> | undefined;
1735
+ placement: import("@popperjs/core").Placement;
1736
+ id: string;
1737
+ visibility: "hidden" | "visible";
1738
+ selectedIds: string[] | "all";
1739
+ unselectedIds: string[];
1740
+ cursorId: string;
1741
+ columnCount: number;
1742
+ pageSizeRef: React.MutableRefObject<number>;
1743
+ cursorIndexRef: {
1744
+ readonly current: number;
1745
+ };
1746
+ UNSTABLE_virtual: {
1747
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
1748
+ totalSize: number;
1749
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
1750
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
1751
+ measure: () => void;
1752
+ };
1753
+ UNSTABLE_defaultItemHeight: number;
1754
+ containerRef: React.RefObject<HTMLDivElement>;
1755
+ orientation: "horizontal" | "vertical";
1756
+ indexRef: React.MutableRefObject<number>;
1757
+ nonInteractiveIds: string[];
1758
+ isVirtualized: boolean;
1759
+ items: import("../..").Item<any>[];
1760
+ mode: "multiple" | "single";
1761
+ value: string | undefined;
1762
+ inputRef: React.RefObject<HTMLInputElement>;
1763
+ width: number;
1764
+ }) => boolean) | undefined;
1765
+ shouldGoToNextPage?: ((data: undefined, state: {
1766
+ stackRef: React.RefObject<HTMLDivElement>;
1767
+ targetRef: React.RefObject<HTMLButtonElement>;
1768
+ initialFocusRef: React.RefObject<any> | undefined;
1769
+ returnFocusRef: React.RefObject<any> | undefined;
1770
+ placement: import("@popperjs/core").Placement;
1771
+ id: string;
1772
+ visibility: "hidden" | "visible";
1773
+ selectedIds: string[] | "all";
1774
+ unselectedIds: string[];
1775
+ cursorId: string;
1776
+ columnCount: number;
1777
+ pageSizeRef: React.MutableRefObject<number>;
1778
+ cursorIndexRef: {
1779
+ readonly current: number;
1780
+ };
1781
+ UNSTABLE_virtual: {
1782
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
1783
+ totalSize: number;
1784
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
1785
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
1786
+ measure: () => void;
1787
+ };
1788
+ UNSTABLE_defaultItemHeight: number;
1789
+ containerRef: React.RefObject<HTMLDivElement>;
1790
+ orientation: "horizontal" | "vertical";
1791
+ indexRef: React.MutableRefObject<number>;
1792
+ nonInteractiveIds: string[];
1793
+ isVirtualized: boolean;
1794
+ items: import("../..").Item<any>[];
1795
+ mode: "multiple" | "single";
1796
+ value: string | undefined;
1797
+ inputRef: React.RefObject<HTMLInputElement>;
1798
+ width: number;
1799
+ }) => boolean) | undefined;
1800
+ shouldGoToPreviousPage?: ((data: undefined, state: {
1801
+ stackRef: React.RefObject<HTMLDivElement>;
1802
+ targetRef: React.RefObject<HTMLButtonElement>;
1803
+ initialFocusRef: React.RefObject<any> | undefined;
1804
+ returnFocusRef: React.RefObject<any> | undefined;
1805
+ placement: import("@popperjs/core").Placement;
1806
+ id: string;
1807
+ visibility: "hidden" | "visible";
1808
+ selectedIds: string[] | "all";
1809
+ unselectedIds: string[];
1810
+ cursorId: string;
1811
+ columnCount: number;
1812
+ pageSizeRef: React.MutableRefObject<number>;
1813
+ cursorIndexRef: {
1814
+ readonly current: number;
1815
+ };
1816
+ UNSTABLE_virtual: {
1817
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
1818
+ totalSize: number;
1819
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
1820
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
1821
+ measure: () => void;
1822
+ };
1823
+ UNSTABLE_defaultItemHeight: number;
1824
+ containerRef: React.RefObject<HTMLDivElement>;
1825
+ orientation: "horizontal" | "vertical";
1826
+ indexRef: React.MutableRefObject<number>;
1827
+ nonInteractiveIds: string[];
1828
+ isVirtualized: boolean;
1829
+ items: import("../..").Item<any>[];
1830
+ mode: "multiple" | "single";
1831
+ value: string | undefined;
1832
+ inputRef: React.RefObject<HTMLInputElement>;
1833
+ width: number;
1834
+ }) => boolean) | undefined;
1835
+ shouldRegisterItem?: ((data: {
1836
+ item: any;
1837
+ textValue: string;
1838
+ }, state: {
1839
+ stackRef: React.RefObject<HTMLDivElement>;
1840
+ targetRef: React.RefObject<HTMLButtonElement>;
1841
+ initialFocusRef: React.RefObject<any> | undefined;
1842
+ returnFocusRef: React.RefObject<any> | undefined;
1843
+ placement: import("@popperjs/core").Placement;
1844
+ id: string;
1845
+ visibility: "hidden" | "visible";
1846
+ selectedIds: string[] | "all";
1847
+ unselectedIds: string[];
1848
+ cursorId: string;
1849
+ columnCount: number;
1850
+ pageSizeRef: React.MutableRefObject<number>;
1851
+ cursorIndexRef: {
1852
+ readonly current: number;
1853
+ };
1854
+ UNSTABLE_virtual: {
1855
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
1856
+ totalSize: number;
1857
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
1858
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
1859
+ measure: () => void;
1860
+ };
1861
+ UNSTABLE_defaultItemHeight: number;
1862
+ containerRef: React.RefObject<HTMLDivElement>;
1863
+ orientation: "horizontal" | "vertical";
1864
+ indexRef: React.MutableRefObject<number>;
1865
+ nonInteractiveIds: string[];
1866
+ isVirtualized: boolean;
1867
+ items: import("../..").Item<any>[];
1868
+ mode: "multiple" | "single";
1869
+ value: string | undefined;
1870
+ inputRef: React.RefObject<HTMLInputElement>;
1871
+ width: number;
1872
+ }) => boolean) | undefined;
1873
+ shouldUnregisterItem?: ((data: {
1874
+ id: string;
1875
+ }, state: {
1876
+ stackRef: React.RefObject<HTMLDivElement>;
1877
+ targetRef: React.RefObject<HTMLButtonElement>;
1878
+ initialFocusRef: React.RefObject<any> | undefined;
1879
+ returnFocusRef: React.RefObject<any> | undefined;
1880
+ placement: import("@popperjs/core").Placement;
1881
+ id: string;
1882
+ visibility: "hidden" | "visible";
1883
+ selectedIds: string[] | "all";
1884
+ unselectedIds: string[];
1885
+ cursorId: string;
1886
+ columnCount: number;
1887
+ pageSizeRef: React.MutableRefObject<number>;
1888
+ cursorIndexRef: {
1889
+ readonly current: number;
1890
+ };
1891
+ UNSTABLE_virtual: {
1892
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
1893
+ totalSize: number;
1894
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
1895
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
1896
+ measure: () => void;
1897
+ };
1898
+ UNSTABLE_defaultItemHeight: number;
1899
+ containerRef: React.RefObject<HTMLDivElement>;
1900
+ orientation: "horizontal" | "vertical";
1901
+ indexRef: React.MutableRefObject<number>;
1902
+ nonInteractiveIds: string[];
1903
+ isVirtualized: boolean;
1904
+ items: import("../..").Item<any>[];
1905
+ mode: "multiple" | "single";
1906
+ value: string | undefined;
1907
+ inputRef: React.RefObject<HTMLInputElement>;
1908
+ width: number;
1909
+ }) => boolean) | undefined;
1910
+ shouldUpdateItemHeight?: ((data: {
1911
+ value: number;
1912
+ }, state: {
1913
+ stackRef: React.RefObject<HTMLDivElement>;
1914
+ targetRef: React.RefObject<HTMLButtonElement>;
1915
+ initialFocusRef: React.RefObject<any> | undefined;
1916
+ returnFocusRef: React.RefObject<any> | undefined;
1917
+ placement: import("@popperjs/core").Placement;
1918
+ id: string;
1919
+ visibility: "hidden" | "visible";
1920
+ selectedIds: string[] | "all";
1921
+ unselectedIds: string[];
1922
+ cursorId: string;
1923
+ columnCount: number;
1924
+ pageSizeRef: React.MutableRefObject<number>;
1925
+ cursorIndexRef: {
1926
+ readonly current: number;
1927
+ };
1928
+ UNSTABLE_virtual: {
1929
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
1930
+ totalSize: number;
1931
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
1932
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
1933
+ measure: () => void;
1934
+ };
1935
+ UNSTABLE_defaultItemHeight: number;
1936
+ containerRef: React.RefObject<HTMLDivElement>;
1937
+ orientation: "horizontal" | "vertical";
1938
+ indexRef: React.MutableRefObject<number>;
1939
+ nonInteractiveIds: string[];
1940
+ isVirtualized: boolean;
1941
+ items: import("../..").Item<any>[];
1942
+ mode: "multiple" | "single";
1943
+ value: string | undefined;
1944
+ inputRef: React.RefObject<HTMLInputElement>;
1945
+ width: number;
1946
+ }) => boolean) | undefined;
1947
+ }, {
1948
+ state: {
1949
+ stackRef: React.RefObject<HTMLDivElement>;
1950
+ targetRef: React.RefObject<HTMLButtonElement>;
1951
+ initialFocusRef: React.RefObject<any> | undefined;
1952
+ returnFocusRef: React.RefObject<any> | undefined;
1953
+ placement: import("@popperjs/core").Placement;
1954
+ id: string;
1955
+ visibility: "hidden" | "visible";
1956
+ selectedIds: string[] | "all";
1957
+ unselectedIds: string[];
1958
+ cursorId: string;
1959
+ columnCount: number;
1960
+ pageSizeRef: React.MutableRefObject<number>;
1961
+ cursorIndexRef: {
1962
+ readonly current: number;
1963
+ };
1964
+ UNSTABLE_virtual: {
1965
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
1966
+ totalSize: number;
1967
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
1968
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
1969
+ measure: () => void;
1970
+ };
1971
+ UNSTABLE_defaultItemHeight: number;
1972
+ containerRef: React.RefObject<HTMLDivElement>;
1973
+ orientation: "horizontal" | "vertical";
1974
+ indexRef: React.MutableRefObject<number>;
1975
+ nonInteractiveIds: string[];
1976
+ isVirtualized: boolean;
1977
+ items: import("../..").Item<any>[];
1978
+ mode: "multiple" | "single";
1979
+ value: string | undefined;
1980
+ inputRef: React.RefObject<HTMLInputElement>;
1981
+ width: number;
1982
+ };
1983
+ events: {
1984
+ setWidth(width: number): void;
1985
+ updatePlacement(data: {
1986
+ placement: import("@popperjs/core").Placement;
1987
+ }): void;
1988
+ show(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
1989
+ hide(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
1990
+ select(data: {
1991
+ id: string;
1992
+ }): void;
1993
+ selectAll(): void;
1994
+ unselectAll(): void;
1995
+ goTo(data: {
1996
+ id: string;
1997
+ }): void;
1998
+ goToNext(): void;
1999
+ goToPrevious(): void;
2000
+ goToPreviousRow(): void;
2001
+ goToNextRow(): void;
2002
+ goToFirst(): void;
2003
+ goToLast(): void;
2004
+ goToFirstOfRow(): void;
2005
+ goToLastOfRow(): void;
2006
+ goToNextPage(): void;
2007
+ goToPreviousPage(): void;
2008
+ registerItem(data: {
2009
+ item: any;
2010
+ textValue: string;
2011
+ }): void;
2012
+ unregisterItem(data: {
2013
+ id: string;
2014
+ }): void;
2015
+ updateItemHeight(data: {
2016
+ value: number;
2017
+ }): void;
2018
+ };
2019
+ onChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
2020
+ selection: import("../../collection/lib/useSelectionListModel").SelectionManager;
2021
+ navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
2022
+ getId: (item: any) => string;
2023
+ }> & {
9
2024
  /**
10
- * If true, set the Select to the disabled state.
11
- * @default false
2025
+ * `Select.Input` renders a {@link ComboboxMenu Combobox.Input} that handles keyboard navigation and interaction defined by [WAI](https://www.w3.org/WAI/ARIA/apg/patterns/combobox/examples/combobox-select-only/).
2026
+ * This component can either be [controlled or uncontrolled](https://react.dev/learn/sharing-state-between-components#controlled-and-uncontrolled-components).
2027
+ *
2028
+ * ```tsx
2029
+ * <Select items={options}>
2030
+ * <FormField label="Contact">
2031
+ * <Select.Input onChange={(event) => handleChange(event)}>
2032
+ * ...
2033
+ * </FormField>
2034
+ * </Select>
2035
+ * ```
12
2036
  */
13
- disabled?: boolean;
2037
+ Input: import("@workday/canvas-kit-react/common").ElementComponentM<import("@workday/canvas-kit-react/common").ElementComponent<"input", import("@workday/canvas-kit-react/text-input").TextInputProps> & {
2038
+ ErrorType: typeof import("@workday/canvas-kit-react/common").ErrorType;
2039
+ }, SelectInputProps, {
2040
+ state: {
2041
+ stackRef: React.RefObject<HTMLDivElement>;
2042
+ targetRef: React.RefObject<HTMLButtonElement>;
2043
+ initialFocusRef: React.RefObject<any> | undefined;
2044
+ returnFocusRef: React.RefObject<any> | undefined;
2045
+ placement: import("@popperjs/core").Placement;
2046
+ id: string;
2047
+ visibility: "hidden" | "visible";
2048
+ selectedIds: string[] | "all";
2049
+ unselectedIds: string[];
2050
+ cursorId: string;
2051
+ columnCount: number;
2052
+ pageSizeRef: React.MutableRefObject<number>;
2053
+ cursorIndexRef: {
2054
+ readonly current: number;
2055
+ };
2056
+ UNSTABLE_virtual: {
2057
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
2058
+ totalSize: number;
2059
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
2060
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
2061
+ measure: () => void;
2062
+ };
2063
+ UNSTABLE_defaultItemHeight: number;
2064
+ containerRef: React.RefObject<HTMLDivElement>;
2065
+ orientation: "horizontal" | "vertical";
2066
+ indexRef: React.MutableRefObject<number>;
2067
+ nonInteractiveIds: string[];
2068
+ isVirtualized: boolean;
2069
+ items: import("../..").Item<any>[];
2070
+ mode: "multiple" | "single";
2071
+ value: string | undefined;
2072
+ inputRef: React.RefObject<HTMLInputElement>;
2073
+ width: number;
2074
+ };
2075
+ events: {
2076
+ setWidth(width: number): void;
2077
+ updatePlacement(data: {
2078
+ placement: import("@popperjs/core").Placement;
2079
+ }): void;
2080
+ show(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
2081
+ hide(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
2082
+ select(data: {
2083
+ id: string;
2084
+ }): void;
2085
+ selectAll(): void;
2086
+ unselectAll(): void;
2087
+ goTo(data: {
2088
+ id: string;
2089
+ }): void;
2090
+ goToNext(): void;
2091
+ goToPrevious(): void;
2092
+ goToPreviousRow(): void;
2093
+ goToNextRow(): void;
2094
+ goToFirst(): void;
2095
+ goToLast(): void;
2096
+ goToFirstOfRow(): void;
2097
+ goToLastOfRow(): void;
2098
+ goToNextPage(): void;
2099
+ goToPreviousPage(): void;
2100
+ registerItem(data: {
2101
+ item: any;
2102
+ textValue: string;
2103
+ }): void;
2104
+ unregisterItem(data: {
2105
+ id: string;
2106
+ }): void;
2107
+ updateItemHeight(data: {
2108
+ value: number;
2109
+ }): void;
2110
+ };
2111
+ onChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
2112
+ selection: import("../../collection/lib/useSelectionListModel").SelectionManager;
2113
+ navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
2114
+ getId: (item: any) => string;
2115
+ }>;
14
2116
  /**
15
- * The type of error associated with the Select (if applicable).
2117
+ * `Select.Popper` renders a {@link ComboboxPopper Combobox.Menu.Popper}. You have access to all `Popper` props.
2118
+ *
2119
+ * ```tsx
2120
+ * <Select item={options}>
2121
+ * <FormField label="Your Label">
2122
+ * <Select.Input onChange={(event) => handleChange(event)}>
2123
+ * <Select.Popper>
2124
+ * ...
2125
+ * </Select.Popper>
2126
+ * </FormField>
2127
+ * </Select>
2128
+ * ```
16
2129
  */
17
- error?: ErrorType;
2130
+ Popper: import("@workday/canvas-kit-react/common").ElementComponentM<"div", import("../..").PopperProps & React.RefAttributes<HTMLDivElement>, {
2131
+ state: {
2132
+ stackRef: React.RefObject<HTMLDivElement>;
2133
+ targetRef: React.RefObject<HTMLButtonElement>;
2134
+ initialFocusRef: React.RefObject<any> | undefined;
2135
+ returnFocusRef: React.RefObject<any> | undefined;
2136
+ placement: import("@popperjs/core").Placement;
2137
+ id: string;
2138
+ visibility: "hidden" | "visible";
2139
+ selectedIds: string[] | "all";
2140
+ unselectedIds: string[];
2141
+ cursorId: string;
2142
+ columnCount: number;
2143
+ pageSizeRef: React.MutableRefObject<number>;
2144
+ cursorIndexRef: {
2145
+ readonly current: number;
2146
+ };
2147
+ UNSTABLE_virtual: {
2148
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
2149
+ totalSize: number;
2150
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
2151
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
2152
+ measure: () => void;
2153
+ };
2154
+ UNSTABLE_defaultItemHeight: number;
2155
+ containerRef: React.RefObject<HTMLDivElement>;
2156
+ orientation: "horizontal" | "vertical";
2157
+ indexRef: React.MutableRefObject<number>;
2158
+ nonInteractiveIds: string[];
2159
+ isVirtualized: boolean;
2160
+ items: import("../..").Item<any>[];
2161
+ mode: "multiple" | "single";
2162
+ };
2163
+ events: {
2164
+ updatePlacement(data: {
2165
+ placement: import("@popperjs/core").Placement;
2166
+ }): void;
2167
+ show(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
2168
+ hide(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
2169
+ select(data: {
2170
+ id: string;
2171
+ }): void;
2172
+ selectAll(): void;
2173
+ unselectAll(): void;
2174
+ goTo(data: {
2175
+ id: string;
2176
+ }): void;
2177
+ goToNext(): void;
2178
+ goToPrevious(): void;
2179
+ goToPreviousRow(): void;
2180
+ goToNextRow(): void;
2181
+ goToFirst(): void;
2182
+ goToLast(): void;
2183
+ goToFirstOfRow(): void;
2184
+ goToLastOfRow(): void;
2185
+ goToNextPage(): void;
2186
+ goToPreviousPage(): void;
2187
+ registerItem(data: {
2188
+ item: any;
2189
+ textValue: string;
2190
+ }): void;
2191
+ unregisterItem(data: {
2192
+ id: string;
2193
+ }): void;
2194
+ updateItemHeight(data: {
2195
+ value: number;
2196
+ }): void;
2197
+ };
2198
+ selection: import("../../collection/lib/useSelectionListModel").SelectionManager;
2199
+ navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
2200
+ getId: (item: any) => string;
2201
+ }>;
18
2202
  /**
19
- * The function called when the Select state changes.
2203
+ * `Select.Card` renders a {@link ComboboxCard Combobox.Card}. You have access to all `Card` props.
2204
+ *
2205
+ * **Note: The card will be the width of its corresponding `Select.Input`**.
2206
+ *
2207
+ * ```tsx
2208
+ * <Select item={options}>
2209
+ * <FormField label="Your Label">
2210
+ * <Select.Input onChange={(event) => handleChange(event)}>
2211
+ * <Select.Popper>
2212
+ * <Select.Card>
2213
+ * ...
2214
+ * </Select.Card>
2215
+ * </Select.Popper>
2216
+ * </FormField>
2217
+ * </Select>
2218
+ * ```
20
2219
  */
21
- onChange?: (e: React.ChangeEvent<HTMLSelectElement>) => void;
2220
+ Card: import("@workday/canvas-kit-react/common").ElementComponentM<"div", import("../../combobox/lib/ComboboxCard").ComboboxCardProps & React.HTMLAttributes<HTMLDivElement> & import("@workday/canvas-kit-react/common").PropsWithModel<{
2221
+ state: {
2222
+ stackRef: React.RefObject<HTMLDivElement>;
2223
+ targetRef: React.RefObject<HTMLButtonElement>;
2224
+ initialFocusRef: React.RefObject<any> | undefined;
2225
+ returnFocusRef: React.RefObject<any> | undefined;
2226
+ placement: import("@popperjs/core").Placement;
2227
+ id: string;
2228
+ visibility: "hidden" | "visible";
2229
+ selectedIds: string[] | "all";
2230
+ unselectedIds: string[];
2231
+ cursorId: string;
2232
+ columnCount: number;
2233
+ pageSizeRef: React.MutableRefObject<number>;
2234
+ cursorIndexRef: {
2235
+ readonly current: number;
2236
+ };
2237
+ UNSTABLE_virtual: {
2238
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
2239
+ totalSize: number;
2240
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
2241
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
2242
+ measure: () => void;
2243
+ };
2244
+ UNSTABLE_defaultItemHeight: number;
2245
+ containerRef: React.RefObject<HTMLDivElement>;
2246
+ orientation: "horizontal" | "vertical";
2247
+ indexRef: React.MutableRefObject<number>;
2248
+ nonInteractiveIds: string[];
2249
+ isVirtualized: boolean;
2250
+ items: import("../..").Item<any>[];
2251
+ mode: "multiple" | "single";
2252
+ value: string | undefined;
2253
+ inputRef: React.RefObject<HTMLInputElement>;
2254
+ width: number;
2255
+ };
2256
+ events: {
2257
+ setWidth(width: number): void;
2258
+ updatePlacement(data: {
2259
+ placement: import("@popperjs/core").Placement;
2260
+ }): void;
2261
+ show(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
2262
+ hide(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
2263
+ select(data: {
2264
+ id: string;
2265
+ }): void;
2266
+ selectAll(): void;
2267
+ unselectAll(): void;
2268
+ goTo(data: {
2269
+ id: string;
2270
+ }): void;
2271
+ goToNext(): void;
2272
+ goToPrevious(): void;
2273
+ goToPreviousRow(): void;
2274
+ goToNextRow(): void;
2275
+ goToFirst(): void;
2276
+ goToLast(): void;
2277
+ goToFirstOfRow(): void;
2278
+ goToLastOfRow(): void;
2279
+ goToNextPage(): void;
2280
+ goToPreviousPage(): void;
2281
+ registerItem(data: {
2282
+ item: any;
2283
+ textValue: string;
2284
+ }): void;
2285
+ unregisterItem(data: {
2286
+ id: string;
2287
+ }): void;
2288
+ updateItemHeight(data: {
2289
+ value: number;
2290
+ }): void;
2291
+ };
2292
+ onChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
2293
+ selection: import("../../collection/lib/useSelectionListModel").SelectionManager;
2294
+ navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
2295
+ getId: (item: any) => string;
2296
+ }, {}>, {
2297
+ state: {
2298
+ stackRef: React.RefObject<HTMLDivElement>;
2299
+ targetRef: React.RefObject<HTMLButtonElement>;
2300
+ initialFocusRef: React.RefObject<any> | undefined;
2301
+ returnFocusRef: React.RefObject<any> | undefined;
2302
+ placement: import("@popperjs/core").Placement;
2303
+ id: string;
2304
+ visibility: "hidden" | "visible";
2305
+ selectedIds: string[] | "all";
2306
+ unselectedIds: string[];
2307
+ cursorId: string;
2308
+ columnCount: number;
2309
+ pageSizeRef: React.MutableRefObject<number>;
2310
+ cursorIndexRef: {
2311
+ readonly current: number;
2312
+ };
2313
+ UNSTABLE_virtual: {
2314
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
2315
+ totalSize: number;
2316
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
2317
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
2318
+ measure: () => void;
2319
+ };
2320
+ UNSTABLE_defaultItemHeight: number;
2321
+ containerRef: React.RefObject<HTMLDivElement>;
2322
+ orientation: "horizontal" | "vertical";
2323
+ indexRef: React.MutableRefObject<number>;
2324
+ nonInteractiveIds: string[];
2325
+ isVirtualized: boolean;
2326
+ items: import("../..").Item<any>[];
2327
+ mode: "multiple" | "single";
2328
+ value: string | undefined;
2329
+ inputRef: React.RefObject<HTMLInputElement>;
2330
+ width: number;
2331
+ };
2332
+ events: {
2333
+ setWidth(width: number): void;
2334
+ updatePlacement(data: {
2335
+ placement: import("@popperjs/core").Placement;
2336
+ }): void;
2337
+ show(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
2338
+ hide(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
2339
+ select(data: {
2340
+ id: string;
2341
+ }): void;
2342
+ selectAll(): void;
2343
+ unselectAll(): void;
2344
+ goTo(data: {
2345
+ id: string;
2346
+ }): void;
2347
+ goToNext(): void;
2348
+ goToPrevious(): void;
2349
+ goToPreviousRow(): void;
2350
+ goToNextRow(): void;
2351
+ goToFirst(): void;
2352
+ goToLast(): void;
2353
+ goToFirstOfRow(): void;
2354
+ goToLastOfRow(): void;
2355
+ goToNextPage(): void;
2356
+ goToPreviousPage(): void;
2357
+ registerItem(data: {
2358
+ item: any;
2359
+ textValue: string;
2360
+ }): void;
2361
+ unregisterItem(data: {
2362
+ id: string;
2363
+ }): void;
2364
+ updateItemHeight(data: {
2365
+ value: number;
2366
+ }): void;
2367
+ };
2368
+ onChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
2369
+ selection: import("../../collection/lib/useSelectionListModel").SelectionManager;
2370
+ navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
2371
+ getId: (item: any) => string;
2372
+ }>;
22
2373
  /**
23
- * The value of the Select.
2374
+ * `Select.List` renders a {@link ComboboxMenuList Combobox.Menu.List}. You have access to all `ListBox` props.
2375
+ *
2376
+ * ```tsx
2377
+ * <Select item={options}>
2378
+ * <FormField label="Your Label">
2379
+ * <Select.Input onChange={(event) => handleChange(event)}>
2380
+ * <Select.Popper>
2381
+ * <Select.Card>
2382
+ * <Select.List>
2383
+ * {(item) => <Select.Item>{item}</Select.Item>}
2384
+ * </Select.List
2385
+ * </Select.Card>
2386
+ * </Select.Popper>
2387
+ * </FormField>
2388
+ * </Select>
2389
+ * ```
24
2390
  */
25
- value?: string;
26
- }
27
- export declare const Select: import("@workday/canvas-kit-react/common").ElementComponent<"select", SelectProps> & {
28
- ErrorType: typeof ErrorType;
2391
+ List: import("@workday/canvas-kit-react/common").ElementComponentM<"ul", import("../../combobox/lib/ComboboxMenuList").ComboboxMenuListProps<any>, {
2392
+ state: {
2393
+ stackRef: React.RefObject<HTMLDivElement>;
2394
+ targetRef: React.RefObject<HTMLButtonElement>;
2395
+ initialFocusRef: React.RefObject<any> | undefined;
2396
+ returnFocusRef: React.RefObject<any> | undefined;
2397
+ placement: import("@popperjs/core").Placement;
2398
+ id: string;
2399
+ visibility: "hidden" | "visible";
2400
+ selectedIds: string[] | "all";
2401
+ unselectedIds: string[];
2402
+ cursorId: string;
2403
+ columnCount: number;
2404
+ pageSizeRef: React.MutableRefObject<number>;
2405
+ cursorIndexRef: {
2406
+ readonly current: number;
2407
+ };
2408
+ UNSTABLE_virtual: {
2409
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
2410
+ totalSize: number;
2411
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
2412
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
2413
+ measure: () => void;
2414
+ };
2415
+ UNSTABLE_defaultItemHeight: number;
2416
+ containerRef: React.RefObject<HTMLDivElement>;
2417
+ orientation: "horizontal" | "vertical";
2418
+ indexRef: React.MutableRefObject<number>;
2419
+ nonInteractiveIds: string[];
2420
+ isVirtualized: boolean;
2421
+ items: import("../..").Item<any>[];
2422
+ mode: "multiple" | "single";
2423
+ value: string | undefined;
2424
+ inputRef: React.RefObject<HTMLInputElement>;
2425
+ width: number;
2426
+ };
2427
+ events: {
2428
+ setWidth(width: number): void;
2429
+ updatePlacement(data: {
2430
+ placement: import("@popperjs/core").Placement;
2431
+ }): void;
2432
+ show(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
2433
+ hide(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
2434
+ select(data: {
2435
+ id: string;
2436
+ }): void;
2437
+ selectAll(): void;
2438
+ unselectAll(): void;
2439
+ goTo(data: {
2440
+ id: string;
2441
+ }): void;
2442
+ goToNext(): void;
2443
+ goToPrevious(): void;
2444
+ goToPreviousRow(): void;
2445
+ goToNextRow(): void;
2446
+ goToFirst(): void;
2447
+ goToLast(): void;
2448
+ goToFirstOfRow(): void;
2449
+ goToLastOfRow(): void;
2450
+ goToNextPage(): void;
2451
+ goToPreviousPage(): void;
2452
+ registerItem(data: {
2453
+ item: any;
2454
+ textValue: string;
2455
+ }): void;
2456
+ unregisterItem(data: {
2457
+ id: string;
2458
+ }): void;
2459
+ updateItemHeight(data: {
2460
+ value: number;
2461
+ }): void;
2462
+ };
2463
+ onChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
2464
+ selection: import("../../collection/lib/useSelectionListModel").SelectionManager;
2465
+ navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
2466
+ getId: (item: any) => string;
2467
+ }>;
2468
+ /**
2469
+ * `Select.Item` renders a {@link ComboboxMenuItem Combobox.Menu.Item} with aria role of `option`. You can optionally render a `Icon`.
2470
+ *
2471
+ * ```tsx
2472
+ * <Select item={options}>
2473
+ * <FormField label="Your Label">
2474
+ * <Select.Input onChange={(event) => handleChange(event)}>
2475
+ * <Select.Popper>
2476
+ * <Select.Card>
2477
+ * <Select.List>
2478
+ * {(item) => <Select.Item><Select.Item.Icon icon={icon} />{item}</Select.Item>}
2479
+ * </Select.List
2480
+ * </Select.Card>
2481
+ * </Select.Popper>
2482
+ * </FormField>
2483
+ * </Select>
2484
+ * ```
2485
+ */
2486
+ Item: import("@workday/canvas-kit-react/common").ElementComponentM<"li", import("../../combobox/lib/ComboboxMenuItem").ComboboxMenuItemProps & React.LiHTMLAttributes<HTMLLIElement> & import("@workday/canvas-kit-react/common").PropsWithModel<{
2487
+ state: {
2488
+ stackRef: React.RefObject<HTMLDivElement>;
2489
+ targetRef: React.RefObject<HTMLButtonElement>;
2490
+ initialFocusRef: React.RefObject<any> | undefined;
2491
+ returnFocusRef: React.RefObject<any> | undefined;
2492
+ placement: import("@popperjs/core").Placement;
2493
+ id: string;
2494
+ visibility: "hidden" | "visible";
2495
+ selectedIds: string[] | "all";
2496
+ unselectedIds: string[];
2497
+ cursorId: string;
2498
+ columnCount: number;
2499
+ pageSizeRef: React.MutableRefObject<number>;
2500
+ cursorIndexRef: {
2501
+ readonly current: number;
2502
+ };
2503
+ UNSTABLE_virtual: {
2504
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
2505
+ totalSize: number;
2506
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
2507
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
2508
+ measure: () => void;
2509
+ };
2510
+ UNSTABLE_defaultItemHeight: number;
2511
+ containerRef: React.RefObject<HTMLDivElement>;
2512
+ orientation: "horizontal" | "vertical";
2513
+ indexRef: React.MutableRefObject<number>;
2514
+ nonInteractiveIds: string[];
2515
+ isVirtualized: boolean;
2516
+ items: import("../..").Item<any>[];
2517
+ mode: "multiple" | "single";
2518
+ value: string | undefined;
2519
+ inputRef: React.RefObject<HTMLInputElement>;
2520
+ width: number;
2521
+ };
2522
+ events: {
2523
+ setWidth(width: number): void;
2524
+ updatePlacement(data: {
2525
+ placement: import("@popperjs/core").Placement;
2526
+ }): void;
2527
+ show(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
2528
+ hide(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
2529
+ select(data: {
2530
+ id: string;
2531
+ }): void;
2532
+ selectAll(): void;
2533
+ unselectAll(): void;
2534
+ goTo(data: {
2535
+ id: string;
2536
+ }): void;
2537
+ goToNext(): void;
2538
+ goToPrevious(): void;
2539
+ goToPreviousRow(): void;
2540
+ goToNextRow(): void;
2541
+ goToFirst(): void;
2542
+ goToLast(): void;
2543
+ goToFirstOfRow(): void;
2544
+ goToLastOfRow(): void;
2545
+ goToNextPage(): void;
2546
+ goToPreviousPage(): void;
2547
+ registerItem(data: {
2548
+ item: any;
2549
+ textValue: string;
2550
+ }): void;
2551
+ unregisterItem(data: {
2552
+ id: string;
2553
+ }): void;
2554
+ updateItemHeight(data: {
2555
+ value: number;
2556
+ }): void;
2557
+ };
2558
+ onChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
2559
+ selection: import("../../collection/lib/useSelectionListModel").SelectionManager;
2560
+ navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
2561
+ getId: (item: any) => string;
2562
+ }, {}>, {
2563
+ state: {
2564
+ stackRef: React.RefObject<HTMLDivElement>;
2565
+ targetRef: React.RefObject<HTMLButtonElement>;
2566
+ initialFocusRef: React.RefObject<any> | undefined;
2567
+ returnFocusRef: React.RefObject<any> | undefined;
2568
+ placement: import("@popperjs/core").Placement;
2569
+ id: string;
2570
+ visibility: "hidden" | "visible";
2571
+ selectedIds: string[] | "all";
2572
+ unselectedIds: string[];
2573
+ cursorId: string;
2574
+ columnCount: number;
2575
+ pageSizeRef: React.MutableRefObject<number>;
2576
+ cursorIndexRef: {
2577
+ readonly current: number;
2578
+ };
2579
+ UNSTABLE_virtual: {
2580
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
2581
+ totalSize: number;
2582
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
2583
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
2584
+ measure: () => void;
2585
+ };
2586
+ UNSTABLE_defaultItemHeight: number;
2587
+ containerRef: React.RefObject<HTMLDivElement>;
2588
+ orientation: "horizontal" | "vertical";
2589
+ indexRef: React.MutableRefObject<number>;
2590
+ nonInteractiveIds: string[];
2591
+ isVirtualized: boolean;
2592
+ items: import("../..").Item<any>[];
2593
+ mode: "multiple" | "single";
2594
+ value: string | undefined;
2595
+ inputRef: React.RefObject<HTMLInputElement>;
2596
+ width: number;
2597
+ };
2598
+ events: {
2599
+ setWidth(width: number): void;
2600
+ updatePlacement(data: {
2601
+ placement: import("@popperjs/core").Placement;
2602
+ }): void;
2603
+ show(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
2604
+ hide(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
2605
+ select(data: {
2606
+ id: string;
2607
+ }): void;
2608
+ selectAll(): void;
2609
+ unselectAll(): void;
2610
+ goTo(data: {
2611
+ id: string;
2612
+ }): void;
2613
+ goToNext(): void;
2614
+ goToPrevious(): void;
2615
+ goToPreviousRow(): void;
2616
+ goToNextRow(): void;
2617
+ goToFirst(): void;
2618
+ goToLast(): void;
2619
+ goToFirstOfRow(): void;
2620
+ goToLastOfRow(): void;
2621
+ goToNextPage(): void;
2622
+ goToPreviousPage(): void;
2623
+ registerItem(data: {
2624
+ item: any;
2625
+ textValue: string;
2626
+ }): void;
2627
+ unregisterItem(data: {
2628
+ id: string;
2629
+ }): void;
2630
+ updateItemHeight(data: {
2631
+ value: number;
2632
+ }): void;
2633
+ };
2634
+ onChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
2635
+ selection: import("../../collection/lib/useSelectionListModel").SelectionManager;
2636
+ navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
2637
+ getId: (item: any) => string;
2638
+ }> & {
2639
+ Icon: import("@emotion/styled").StyledComponent<import("@workday/canvas-kit-react/icon").SystemIconProps & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "as" | keyof import("@workday/canvas-kit-react/icon").SystemIconProps> & {
2640
+ ref?: React.Ref<HTMLSpanElement> | undefined;
2641
+ } & {
2642
+ theme?: import("@emotion/react").Theme | undefined;
2643
+ }, {}, {}>;
2644
+ };
29
2645
  };
30
2646
  //# sourceMappingURL=Select.d.ts.map