@workday/canvas-kit-react 9.0.0-alpha.419-next.21 → 9.0.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 (255) hide show
  1. package/breadcrumbs/lib/BreadcrumbsItem.tsx +1 -1
  2. package/collection/index.ts +2 -0
  3. package/collection/lib/ListBox.tsx +12 -10
  4. package/collection/lib/useBaseListModel.tsx +6 -4
  5. package/collection/lib/useCursorListModel.tsx +1 -1
  6. package/collection/lib/useListActiveDescendant.ts +24 -0
  7. package/collection/lib/useListItemAllowChildStrings.ts +2 -1
  8. package/collection/lib/useListItemRegister.tsx +10 -3
  9. package/collection/lib/useListItemSelect.tsx +1 -1
  10. package/collection/lib/useListKeyboardHandler.ts +28 -0
  11. package/collection/lib/useListLoader.ts +116 -54
  12. package/collection/lib/useOverflowListItemMeasure.tsx +2 -2
  13. package/collection/lib/useOverflowListMeasure.ts +11 -13
  14. package/collection/lib/useOverflowListTarget.tsx +28 -30
  15. package/collection/lib/useSelectionListModel.tsx +1 -0
  16. package/combobox/LICENSE +52 -0
  17. package/combobox/README.md +7 -0
  18. package/combobox/index.ts +8 -0
  19. package/combobox/lib/Combobox.tsx +32 -0
  20. package/combobox/lib/ComboboxCard.tsx +33 -0
  21. package/combobox/lib/ComboboxInput.tsx +104 -0
  22. package/combobox/lib/ComboboxMenu.tsx +67 -0
  23. package/combobox/lib/ComboboxMenuItem.tsx +74 -0
  24. package/combobox/lib/ComboboxMenuList.tsx +45 -0
  25. package/combobox/lib/useComboboxInputOpenWithArrowKeys.ts +21 -0
  26. package/combobox/lib/useComboboxLoader.ts +72 -0
  27. package/combobox/lib/useComboboxModel.tsx +85 -0
  28. package/combobox/package.json +6 -0
  29. package/common/lib/utils/components.ts +15 -16
  30. package/common/lib/utils/models.ts +2 -2
  31. package/dist/commonjs/action-bar/lib/ActionBar.d.ts +2 -2
  32. package/dist/commonjs/action-bar/lib/ActionBarList.d.ts +1 -1
  33. package/dist/commonjs/action-bar/lib/useActionBarModel.d.ts +2 -2
  34. package/dist/commonjs/breadcrumbs/lib/Breadcrumbs.d.ts +2 -2
  35. package/dist/commonjs/breadcrumbs/lib/BreadcrumbsMenu.d.ts +1 -1
  36. package/dist/commonjs/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts +2 -2
  37. package/dist/commonjs/collection/index.d.ts +2 -0
  38. package/dist/commonjs/collection/index.d.ts.map +1 -1
  39. package/dist/commonjs/collection/index.js +2 -0
  40. package/dist/commonjs/collection/lib/ListBox.d.ts +7 -6
  41. package/dist/commonjs/collection/lib/ListBox.d.ts.map +1 -1
  42. package/dist/commonjs/collection/lib/ListBox.js +5 -3
  43. package/dist/commonjs/collection/lib/useBaseListModel.d.ts.map +1 -1
  44. package/dist/commonjs/collection/lib/useBaseListModel.js +4 -4
  45. package/dist/commonjs/collection/lib/useCursorListModel.d.ts +0 -34
  46. package/dist/commonjs/collection/lib/useCursorListModel.d.ts.map +1 -1
  47. package/dist/commonjs/collection/lib/useCursorListModel.js +1 -1
  48. package/dist/commonjs/collection/lib/useListActiveDescendant.d.ts +68 -0
  49. package/dist/commonjs/collection/lib/useListActiveDescendant.d.ts.map +1 -0
  50. package/dist/commonjs/collection/lib/useListActiveDescendant.js +25 -0
  51. package/dist/commonjs/collection/lib/useListItemAllowChildStrings.d.ts +2 -1
  52. package/dist/commonjs/collection/lib/useListItemAllowChildStrings.d.ts.map +1 -1
  53. package/dist/commonjs/collection/lib/useListItemAllowChildStrings.js +2 -1
  54. package/dist/commonjs/collection/lib/useListItemRegister.d.ts.map +1 -1
  55. package/dist/commonjs/collection/lib/useListItemRegister.js +5 -1
  56. package/dist/commonjs/collection/lib/useListKeyboardHandler.d.ts +66 -0
  57. package/dist/commonjs/collection/lib/useListKeyboardHandler.d.ts.map +1 -0
  58. package/dist/commonjs/collection/lib/useListKeyboardHandler.js +27 -0
  59. package/dist/commonjs/collection/lib/useListLoader.d.ts +46 -7
  60. package/dist/commonjs/collection/lib/useListLoader.d.ts.map +1 -1
  61. package/dist/commonjs/collection/lib/useListLoader.js +61 -35
  62. package/dist/commonjs/collection/lib/useOverflowListMeasure.d.ts +1 -1
  63. package/dist/commonjs/collection/lib/useOverflowListMeasure.d.ts.map +1 -1
  64. package/dist/commonjs/collection/lib/useOverflowListTarget.d.ts +5 -2
  65. package/dist/commonjs/collection/lib/useOverflowListTarget.d.ts.map +1 -1
  66. package/dist/commonjs/collection/lib/useOverflowListTarget.js +1 -1
  67. package/dist/commonjs/collection/lib/useSelectionListModel.d.ts.map +1 -1
  68. package/dist/commonjs/collection/lib/useSelectionListModel.js +1 -0
  69. package/dist/commonjs/combobox/index.d.ts +9 -0
  70. package/dist/commonjs/combobox/index.d.ts.map +1 -0
  71. package/dist/commonjs/combobox/index.js +19 -0
  72. package/dist/commonjs/combobox/lib/Combobox.d.ts +2075 -0
  73. package/dist/commonjs/combobox/lib/Combobox.d.ts.map +1 -0
  74. package/dist/commonjs/combobox/lib/Combobox.js +29 -0
  75. package/dist/commonjs/combobox/lib/ComboboxCard.d.ts +166 -0
  76. package/dist/commonjs/combobox/lib/ComboboxCard.d.ts.map +1 -0
  77. package/dist/commonjs/combobox/lib/ComboboxCard.js +25 -0
  78. package/dist/commonjs/combobox/lib/ComboboxInput.d.ts +186 -0
  79. package/dist/commonjs/combobox/lib/ComboboxInput.d.ts.map +1 -0
  80. package/dist/commonjs/combobox/lib/ComboboxInput.js +84 -0
  81. package/dist/commonjs/combobox/lib/ComboboxMenu.d.ts +428 -0
  82. package/dist/commonjs/combobox/lib/ComboboxMenu.d.ts.map +1 -0
  83. package/dist/commonjs/combobox/lib/ComboboxMenu.js +63 -0
  84. package/dist/commonjs/combobox/lib/ComboboxMenuItem.d.ts +178 -0
  85. package/dist/commonjs/combobox/lib/ComboboxMenuItem.d.ts.map +1 -0
  86. package/dist/commonjs/combobox/lib/ComboboxMenuItem.js +50 -0
  87. package/dist/commonjs/combobox/lib/ComboboxMenuList.d.ts +164 -0
  88. package/dist/commonjs/combobox/lib/ComboboxMenuList.d.ts.map +1 -0
  89. package/dist/commonjs/combobox/lib/ComboboxMenuList.js +31 -0
  90. package/dist/commonjs/combobox/lib/useComboboxInputOpenWithArrowKeys.d.ts +84 -0
  91. package/dist/commonjs/combobox/lib/useComboboxInputOpenWithArrowKeys.d.ts.map +1 -0
  92. package/dist/commonjs/combobox/lib/useComboboxInputOpenWithArrowKeys.js +20 -0
  93. package/dist/commonjs/combobox/lib/useComboboxLoader.d.ts +28 -0
  94. package/dist/commonjs/combobox/lib/useComboboxLoader.d.ts.map +1 -0
  95. package/dist/commonjs/combobox/lib/useComboboxLoader.js +65 -0
  96. package/dist/commonjs/combobox/lib/useComboboxModel.d.ts +1998 -0
  97. package/dist/commonjs/combobox/lib/useComboboxModel.d.ts.map +1 -0
  98. package/dist/commonjs/combobox/lib/useComboboxModel.js +82 -0
  99. package/dist/commonjs/common/lib/utils/components.d.ts +9 -23
  100. package/dist/commonjs/common/lib/utils/components.d.ts.map +1 -1
  101. package/dist/commonjs/common/lib/utils/components.js +2 -2
  102. package/dist/commonjs/common/lib/utils/models.js +2 -2
  103. package/dist/commonjs/index.d.ts +1 -0
  104. package/dist/commonjs/index.d.ts.map +1 -1
  105. package/dist/commonjs/index.js +1 -0
  106. package/dist/commonjs/menu/index.d.ts +1 -1
  107. package/dist/commonjs/menu/index.d.ts.map +1 -1
  108. package/dist/commonjs/menu/index.js +2 -1
  109. package/dist/commonjs/menu/lib/Menu.d.ts +7 -5
  110. package/dist/commonjs/menu/lib/Menu.d.ts.map +1 -1
  111. package/dist/commonjs/menu/lib/Menu.js +6 -4
  112. package/dist/commonjs/menu/lib/MenuContextTarget.d.ts +2 -2
  113. package/dist/commonjs/menu/lib/MenuItem.d.ts +7 -1
  114. package/dist/commonjs/menu/lib/MenuItem.d.ts.map +1 -1
  115. package/dist/commonjs/menu/lib/MenuItem.js +9 -11
  116. package/dist/commonjs/menu/lib/MenuList.d.ts +3 -3
  117. package/dist/commonjs/menu/lib/MenuList.d.ts.map +1 -1
  118. package/dist/commonjs/menu/lib/MenuList.js +3 -2
  119. package/dist/commonjs/menu/lib/MenuPopper.d.ts +1 -1
  120. package/dist/commonjs/menu/lib/MenuTarget.d.ts +2 -2
  121. package/dist/commonjs/menu/lib/useMenuModel.d.ts +2 -2
  122. package/dist/commonjs/menu/lib/useMenuModel.d.ts.map +1 -1
  123. package/dist/commonjs/menu/lib/useMenuModel.js +3 -5
  124. package/dist/commonjs/popup/lib/hooks/usePopupPopper.d.ts +1 -1
  125. package/dist/commonjs/popup/lib/hooks/usePopupTarget.d.ts +1 -1
  126. package/dist/commonjs/popup/lib/hooks/usePopupTargetContext.d.ts +1 -1
  127. package/dist/commonjs/tabs/lib/Tabs.d.ts +18 -120
  128. package/dist/commonjs/tabs/lib/Tabs.d.ts.map +1 -1
  129. package/dist/commonjs/tabs/lib/TabsItem.d.ts +0 -1
  130. package/dist/commonjs/tabs/lib/TabsItem.d.ts.map +1 -1
  131. package/dist/commonjs/tabs/lib/TabsItem.js +0 -1
  132. package/dist/commonjs/tabs/lib/TabsList.d.ts +1 -1
  133. package/dist/commonjs/tabs/lib/TabsMenuPopper.d.ts +1 -1
  134. package/dist/commonjs/tabs/lib/TabsPanel.d.ts.map +1 -1
  135. package/dist/commonjs/tabs/lib/useTabsModel.d.ts +8 -20
  136. package/dist/commonjs/tabs/lib/useTabsModel.d.ts.map +1 -1
  137. package/dist/commonjs/tabs/lib/useTabsModel.js +1 -0
  138. package/dist/es6/action-bar/lib/ActionBar.d.ts +2 -2
  139. package/dist/es6/action-bar/lib/ActionBarList.d.ts +1 -1
  140. package/dist/es6/action-bar/lib/useActionBarModel.d.ts +2 -2
  141. package/dist/es6/breadcrumbs/lib/Breadcrumbs.d.ts +2 -2
  142. package/dist/es6/breadcrumbs/lib/BreadcrumbsMenu.d.ts +1 -1
  143. package/dist/es6/breadcrumbs/lib/hooks/useBreadcrumbsModel.d.ts +2 -2
  144. package/dist/es6/collection/index.d.ts +2 -0
  145. package/dist/es6/collection/index.d.ts.map +1 -1
  146. package/dist/es6/collection/index.js +2 -0
  147. package/dist/es6/collection/lib/ListBox.d.ts +7 -6
  148. package/dist/es6/collection/lib/ListBox.d.ts.map +1 -1
  149. package/dist/es6/collection/lib/ListBox.js +6 -4
  150. package/dist/es6/collection/lib/useBaseListModel.d.ts.map +1 -1
  151. package/dist/es6/collection/lib/useBaseListModel.js +4 -4
  152. package/dist/es6/collection/lib/useCursorListModel.d.ts +0 -34
  153. package/dist/es6/collection/lib/useCursorListModel.d.ts.map +1 -1
  154. package/dist/es6/collection/lib/useCursorListModel.js +1 -1
  155. package/dist/es6/collection/lib/useListActiveDescendant.d.ts +68 -0
  156. package/dist/es6/collection/lib/useListActiveDescendant.d.ts.map +1 -0
  157. package/dist/es6/collection/lib/useListActiveDescendant.js +22 -0
  158. package/dist/es6/collection/lib/useListItemAllowChildStrings.d.ts +2 -1
  159. package/dist/es6/collection/lib/useListItemAllowChildStrings.d.ts.map +1 -1
  160. package/dist/es6/collection/lib/useListItemAllowChildStrings.js +2 -1
  161. package/dist/es6/collection/lib/useListItemRegister.d.ts.map +1 -1
  162. package/dist/es6/collection/lib/useListItemRegister.js +5 -1
  163. package/dist/es6/collection/lib/useListKeyboardHandler.d.ts +66 -0
  164. package/dist/es6/collection/lib/useListKeyboardHandler.d.ts.map +1 -0
  165. package/dist/es6/collection/lib/useListKeyboardHandler.js +24 -0
  166. package/dist/es6/collection/lib/useListLoader.d.ts +46 -7
  167. package/dist/es6/collection/lib/useListLoader.d.ts.map +1 -1
  168. package/dist/es6/collection/lib/useListLoader.js +61 -35
  169. package/dist/es6/collection/lib/useOverflowListMeasure.d.ts +1 -1
  170. package/dist/es6/collection/lib/useOverflowListMeasure.d.ts.map +1 -1
  171. package/dist/es6/collection/lib/useOverflowListTarget.d.ts +5 -2
  172. package/dist/es6/collection/lib/useOverflowListTarget.d.ts.map +1 -1
  173. package/dist/es6/collection/lib/useOverflowListTarget.js +1 -1
  174. package/dist/es6/collection/lib/useSelectionListModel.d.ts.map +1 -1
  175. package/dist/es6/collection/lib/useSelectionListModel.js +1 -0
  176. package/dist/es6/combobox/index.d.ts +9 -0
  177. package/dist/es6/combobox/index.d.ts.map +1 -0
  178. package/dist/es6/combobox/index.js +8 -0
  179. package/dist/es6/combobox/lib/Combobox.d.ts +2075 -0
  180. package/dist/es6/combobox/lib/Combobox.d.ts.map +1 -0
  181. package/dist/es6/combobox/lib/Combobox.js +23 -0
  182. package/dist/es6/combobox/lib/ComboboxCard.d.ts +166 -0
  183. package/dist/es6/combobox/lib/ComboboxCard.d.ts.map +1 -0
  184. package/dist/es6/combobox/lib/ComboboxCard.js +19 -0
  185. package/dist/es6/combobox/lib/ComboboxInput.d.ts +186 -0
  186. package/dist/es6/combobox/lib/ComboboxInput.d.ts.map +1 -0
  187. package/dist/es6/combobox/lib/ComboboxInput.js +78 -0
  188. package/dist/es6/combobox/lib/ComboboxMenu.d.ts +428 -0
  189. package/dist/es6/combobox/lib/ComboboxMenu.d.ts.map +1 -0
  190. package/dist/es6/combobox/lib/ComboboxMenu.js +57 -0
  191. package/dist/es6/combobox/lib/ComboboxMenuItem.d.ts +178 -0
  192. package/dist/es6/combobox/lib/ComboboxMenuItem.d.ts.map +1 -0
  193. package/dist/es6/combobox/lib/ComboboxMenuItem.js +44 -0
  194. package/dist/es6/combobox/lib/ComboboxMenuList.d.ts +164 -0
  195. package/dist/es6/combobox/lib/ComboboxMenuList.d.ts.map +1 -0
  196. package/dist/es6/combobox/lib/ComboboxMenuList.js +25 -0
  197. package/dist/es6/combobox/lib/useComboboxInputOpenWithArrowKeys.d.ts +84 -0
  198. package/dist/es6/combobox/lib/useComboboxInputOpenWithArrowKeys.d.ts.map +1 -0
  199. package/dist/es6/combobox/lib/useComboboxInputOpenWithArrowKeys.js +17 -0
  200. package/dist/es6/combobox/lib/useComboboxLoader.d.ts +28 -0
  201. package/dist/es6/combobox/lib/useComboboxLoader.d.ts.map +1 -0
  202. package/dist/es6/combobox/lib/useComboboxLoader.js +58 -0
  203. package/dist/es6/combobox/lib/useComboboxModel.d.ts +1998 -0
  204. package/dist/es6/combobox/lib/useComboboxModel.d.ts.map +1 -0
  205. package/dist/es6/combobox/lib/useComboboxModel.js +76 -0
  206. package/dist/es6/common/lib/utils/components.d.ts +9 -23
  207. package/dist/es6/common/lib/utils/components.d.ts.map +1 -1
  208. package/dist/es6/common/lib/utils/components.js +2 -2
  209. package/dist/es6/common/lib/utils/models.js +2 -2
  210. package/dist/es6/index.d.ts +1 -0
  211. package/dist/es6/index.d.ts.map +1 -1
  212. package/dist/es6/index.js +1 -0
  213. package/dist/es6/menu/index.d.ts +1 -1
  214. package/dist/es6/menu/index.d.ts.map +1 -1
  215. package/dist/es6/menu/index.js +1 -1
  216. package/dist/es6/menu/lib/Menu.d.ts +7 -5
  217. package/dist/es6/menu/lib/Menu.d.ts.map +1 -1
  218. package/dist/es6/menu/lib/Menu.js +6 -4
  219. package/dist/es6/menu/lib/MenuContextTarget.d.ts +2 -2
  220. package/dist/es6/menu/lib/MenuItem.d.ts +7 -1
  221. package/dist/es6/menu/lib/MenuItem.d.ts.map +1 -1
  222. package/dist/es6/menu/lib/MenuItem.js +8 -10
  223. package/dist/es6/menu/lib/MenuList.d.ts +3 -3
  224. package/dist/es6/menu/lib/MenuList.d.ts.map +1 -1
  225. package/dist/es6/menu/lib/MenuList.js +4 -3
  226. package/dist/es6/menu/lib/MenuPopper.d.ts +1 -1
  227. package/dist/es6/menu/lib/MenuTarget.d.ts +2 -2
  228. package/dist/es6/menu/lib/useMenuModel.d.ts +2 -2
  229. package/dist/es6/menu/lib/useMenuModel.d.ts.map +1 -1
  230. package/dist/es6/menu/lib/useMenuModel.js +4 -6
  231. package/dist/es6/popup/lib/hooks/usePopupPopper.d.ts +1 -1
  232. package/dist/es6/popup/lib/hooks/usePopupTarget.d.ts +1 -1
  233. package/dist/es6/popup/lib/hooks/usePopupTargetContext.d.ts +1 -1
  234. package/dist/es6/tabs/lib/Tabs.d.ts +18 -120
  235. package/dist/es6/tabs/lib/Tabs.d.ts.map +1 -1
  236. package/dist/es6/tabs/lib/TabsItem.d.ts +0 -1
  237. package/dist/es6/tabs/lib/TabsItem.d.ts.map +1 -1
  238. package/dist/es6/tabs/lib/TabsItem.js +0 -1
  239. package/dist/es6/tabs/lib/TabsList.d.ts +1 -1
  240. package/dist/es6/tabs/lib/TabsMenuPopper.d.ts +1 -1
  241. package/dist/es6/tabs/lib/TabsPanel.d.ts.map +1 -1
  242. package/dist/es6/tabs/lib/useTabsModel.d.ts +8 -20
  243. package/dist/es6/tabs/lib/useTabsModel.d.ts.map +1 -1
  244. package/dist/es6/tabs/lib/useTabsModel.js +1 -0
  245. package/index.ts +1 -0
  246. package/menu/index.ts +1 -1
  247. package/menu/lib/Menu.tsx +6 -4
  248. package/menu/lib/MenuItem.tsx +9 -12
  249. package/menu/lib/MenuList.tsx +16 -10
  250. package/menu/lib/useMenuModel.tsx +4 -7
  251. package/modal/lib/hooks/useModalHeading.ts +2 -2
  252. package/package.json +3 -3
  253. package/tabs/lib/TabsItem.tsx +10 -13
  254. package/tabs/lib/TabsPanel.tsx +1 -5
  255. package/tabs/lib/useTabsModel.tsx +1 -0
@@ -0,0 +1,1998 @@
1
+ import React from 'react';
2
+ /**
3
+ * An input model can be used by compound components that need to work with form fields. Some form
4
+ * libraries use `onChange` and `value` to update a form object. Others use `onChange` and `ref` to
5
+ * avoid rerendering. Also autocomplete and test libraries may use the `value` `HTMLInputElement`
6
+ * property. We need to normalize these use cases so subcomponents can have correct data and all
7
+ * use-cases are supported.
8
+ */
9
+ export declare const useInputModel: (<TT_Special_Generic>(config?: (Partial<{
10
+ value: string | undefined;
11
+ onChange(event: React.ChangeEvent<HTMLInputElement>): void;
12
+ }> & {} & {}) | undefined) => {
13
+ onChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
14
+ state: {
15
+ value: string | undefined;
16
+ inputRef: React.RefObject<HTMLInputElement>;
17
+ };
18
+ events: {};
19
+ }) & import("@workday/canvas-kit-react/common").ModelExtras<{
20
+ value: string | undefined;
21
+ onChange(event: React.ChangeEvent<HTMLInputElement>): void;
22
+ }, {}, {
23
+ value: string | undefined;
24
+ inputRef: React.RefObject<HTMLInputElement>;
25
+ }, {}, {
26
+ onChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
27
+ state: {
28
+ value: string | undefined;
29
+ inputRef: React.RefObject<HTMLInputElement>;
30
+ };
31
+ events: {};
32
+ }>;
33
+ /**
34
+ * `ComboboxModel` extends the {@link ListModel} and the {@link InputModel}. Selecting items from
35
+ * the menu will dispatch an
36
+ * [input](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/input_event) event on the
37
+ * input which should work with form libraries, automation, and autofill.
38
+ *
39
+ * ```tsx
40
+ * const model = useComboboxModel()
41
+ *
42
+ * <Combobox model={model}>{Combobox child components}</Combobox>
43
+ * ```
44
+ */
45
+ export declare const useComboboxModel: (<TT_Special_Generic>(config?: (Partial<{
46
+ mode: "multiple" | "single";
47
+ shouldVirtualize: boolean;
48
+ returnFocusRef: React.RefObject<any> | undefined;
49
+ initialFocusRef: React.RefObject<any> | undefined;
50
+ id: string;
51
+ initialVisibility: import("../..").Visibility;
52
+ initialSelectedIds: import("../../collection/lib/useSelectionListModel").SelectedIds;
53
+ initialUnselectedIds: string[];
54
+ selection: import("../../collection/lib/useSelectionListModel").SelectionManager;
55
+ initialCursorId: string;
56
+ columnCount: number;
57
+ navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
58
+ pageSize: number;
59
+ getId: (item: any) => string;
60
+ getTextValue: (item: any) => string;
61
+ nonInteractiveIds: string[];
62
+ orientation: import("../../collection/lib/useBaseListModel").Orientation;
63
+ defaultItemHeight: number;
64
+ items: any[];
65
+ value: string | undefined;
66
+ onChange(event: React.ChangeEvent<HTMLInputElement>): void;
67
+ }> & {
68
+ onSetWidth?: ((data: number, prevState: {
69
+ stackRef: React.RefObject<HTMLDivElement>;
70
+ targetRef: React.RefObject<HTMLButtonElement>;
71
+ initialFocusRef: React.RefObject<any> | undefined;
72
+ returnFocusRef: React.RefObject<any> | undefined;
73
+ placement: import("@popperjs/core").Placement;
74
+ id: string;
75
+ visibility: "hidden" | "visible";
76
+ selectedIds: string[] | "all";
77
+ unselectedIds: string[];
78
+ cursorId: string;
79
+ columnCount: number;
80
+ pageSizeRef: React.MutableRefObject<number>;
81
+ cursorIndexRef: {
82
+ readonly current: number;
83
+ };
84
+ UNSTABLE_virtual: {
85
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
86
+ totalSize: number;
87
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
88
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
89
+ measure: () => void;
90
+ };
91
+ UNSTABLE_defaultItemHeight: number;
92
+ containerRef: React.RefObject<HTMLDivElement>;
93
+ orientation: "horizontal" | "vertical";
94
+ indexRef: React.MutableRefObject<number>;
95
+ nonInteractiveIds: string[];
96
+ isVirtualized: boolean;
97
+ items: import("../..").Item<any>[];
98
+ mode: "multiple" | "single";
99
+ value: string | undefined;
100
+ inputRef: React.RefObject<HTMLInputElement>;
101
+ /**
102
+ * The width of the combobox input. This is used to make sure the UI renders the menu the same
103
+ * width as the input.
104
+ */
105
+ width: number;
106
+ }) => void) | undefined;
107
+ onUpdatePlacement?: ((data: {
108
+ placement: import("@popperjs/core").Placement;
109
+ }, prevState: {
110
+ stackRef: React.RefObject<HTMLDivElement>;
111
+ targetRef: React.RefObject<HTMLButtonElement>;
112
+ initialFocusRef: React.RefObject<any> | undefined;
113
+ returnFocusRef: React.RefObject<any> | undefined;
114
+ placement: import("@popperjs/core").Placement;
115
+ id: string;
116
+ visibility: "hidden" | "visible";
117
+ selectedIds: string[] | "all";
118
+ unselectedIds: string[];
119
+ cursorId: string;
120
+ columnCount: number;
121
+ pageSizeRef: React.MutableRefObject<number>;
122
+ cursorIndexRef: {
123
+ readonly current: number;
124
+ };
125
+ UNSTABLE_virtual: {
126
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
127
+ totalSize: number;
128
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
129
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
130
+ measure: () => void;
131
+ };
132
+ UNSTABLE_defaultItemHeight: number;
133
+ containerRef: React.RefObject<HTMLDivElement>;
134
+ orientation: "horizontal" | "vertical";
135
+ indexRef: React.MutableRefObject<number>;
136
+ nonInteractiveIds: string[];
137
+ isVirtualized: boolean;
138
+ items: import("../..").Item<any>[];
139
+ mode: "multiple" | "single";
140
+ value: string | undefined;
141
+ inputRef: React.RefObject<HTMLInputElement>;
142
+ /**
143
+ * The width of the combobox input. This is used to make sure the UI renders the menu the same
144
+ * width as the input.
145
+ */
146
+ width: number;
147
+ }) => void) | undefined;
148
+ onShow?: ((data: Event | React.SyntheticEvent<Element, Event> | undefined, prevState: {
149
+ stackRef: React.RefObject<HTMLDivElement>;
150
+ targetRef: React.RefObject<HTMLButtonElement>;
151
+ initialFocusRef: React.RefObject<any> | undefined;
152
+ returnFocusRef: React.RefObject<any> | undefined;
153
+ placement: import("@popperjs/core").Placement;
154
+ id: string;
155
+ visibility: "hidden" | "visible";
156
+ selectedIds: string[] | "all";
157
+ unselectedIds: string[];
158
+ cursorId: string;
159
+ columnCount: number;
160
+ pageSizeRef: React.MutableRefObject<number>;
161
+ cursorIndexRef: {
162
+ readonly current: number;
163
+ };
164
+ UNSTABLE_virtual: {
165
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
166
+ totalSize: number;
167
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
168
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
169
+ measure: () => void;
170
+ };
171
+ UNSTABLE_defaultItemHeight: number;
172
+ containerRef: React.RefObject<HTMLDivElement>;
173
+ orientation: "horizontal" | "vertical";
174
+ indexRef: React.MutableRefObject<number>;
175
+ nonInteractiveIds: string[];
176
+ isVirtualized: boolean;
177
+ items: import("../..").Item<any>[];
178
+ mode: "multiple" | "single";
179
+ value: string | undefined;
180
+ inputRef: React.RefObject<HTMLInputElement>;
181
+ /**
182
+ * The width of the combobox input. This is used to make sure the UI renders the menu the same
183
+ * width as the input.
184
+ */
185
+ width: number;
186
+ }) => void) | undefined;
187
+ onHide?: ((data: Event | React.SyntheticEvent<Element, Event> | undefined, prevState: {
188
+ stackRef: React.RefObject<HTMLDivElement>;
189
+ targetRef: React.RefObject<HTMLButtonElement>;
190
+ initialFocusRef: React.RefObject<any> | undefined;
191
+ returnFocusRef: React.RefObject<any> | undefined;
192
+ placement: import("@popperjs/core").Placement;
193
+ id: string;
194
+ visibility: "hidden" | "visible";
195
+ selectedIds: string[] | "all";
196
+ unselectedIds: string[];
197
+ cursorId: string;
198
+ columnCount: number;
199
+ pageSizeRef: React.MutableRefObject<number>;
200
+ cursorIndexRef: {
201
+ readonly current: number;
202
+ };
203
+ UNSTABLE_virtual: {
204
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
205
+ totalSize: number;
206
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
207
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
208
+ measure: () => void;
209
+ };
210
+ UNSTABLE_defaultItemHeight: number;
211
+ containerRef: React.RefObject<HTMLDivElement>;
212
+ orientation: "horizontal" | "vertical";
213
+ indexRef: React.MutableRefObject<number>;
214
+ nonInteractiveIds: string[];
215
+ isVirtualized: boolean;
216
+ items: import("../..").Item<any>[];
217
+ mode: "multiple" | "single";
218
+ value: string | undefined;
219
+ inputRef: React.RefObject<HTMLInputElement>;
220
+ /**
221
+ * The width of the combobox input. This is used to make sure the UI renders the menu the same
222
+ * width as the input.
223
+ */
224
+ width: number;
225
+ }) => void) | undefined;
226
+ onSelect?: ((data: {
227
+ id: string;
228
+ }, prevState: {
229
+ stackRef: React.RefObject<HTMLDivElement>;
230
+ targetRef: React.RefObject<HTMLButtonElement>;
231
+ initialFocusRef: React.RefObject<any> | undefined;
232
+ returnFocusRef: React.RefObject<any> | undefined;
233
+ placement: import("@popperjs/core").Placement;
234
+ id: string;
235
+ visibility: "hidden" | "visible";
236
+ selectedIds: string[] | "all";
237
+ unselectedIds: string[];
238
+ cursorId: string;
239
+ columnCount: number;
240
+ pageSizeRef: React.MutableRefObject<number>;
241
+ cursorIndexRef: {
242
+ readonly current: number;
243
+ };
244
+ UNSTABLE_virtual: {
245
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
246
+ totalSize: number;
247
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
248
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
249
+ measure: () => void;
250
+ };
251
+ UNSTABLE_defaultItemHeight: number;
252
+ containerRef: React.RefObject<HTMLDivElement>;
253
+ orientation: "horizontal" | "vertical";
254
+ indexRef: React.MutableRefObject<number>;
255
+ nonInteractiveIds: string[];
256
+ isVirtualized: boolean;
257
+ items: import("../..").Item<any>[];
258
+ mode: "multiple" | "single";
259
+ value: string | undefined;
260
+ inputRef: React.RefObject<HTMLInputElement>;
261
+ /**
262
+ * The width of the combobox input. This is used to make sure the UI renders the menu the same
263
+ * width as the input.
264
+ */
265
+ width: number;
266
+ }) => void) | undefined;
267
+ onSelectAll?: ((data: undefined, prevState: {
268
+ stackRef: React.RefObject<HTMLDivElement>;
269
+ targetRef: React.RefObject<HTMLButtonElement>;
270
+ initialFocusRef: React.RefObject<any> | undefined;
271
+ returnFocusRef: React.RefObject<any> | undefined;
272
+ placement: import("@popperjs/core").Placement;
273
+ id: string;
274
+ visibility: "hidden" | "visible";
275
+ selectedIds: string[] | "all";
276
+ unselectedIds: string[];
277
+ cursorId: string;
278
+ columnCount: number;
279
+ pageSizeRef: React.MutableRefObject<number>;
280
+ cursorIndexRef: {
281
+ readonly current: number;
282
+ };
283
+ UNSTABLE_virtual: {
284
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
285
+ totalSize: number;
286
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
287
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
288
+ measure: () => void;
289
+ };
290
+ UNSTABLE_defaultItemHeight: number;
291
+ containerRef: React.RefObject<HTMLDivElement>;
292
+ orientation: "horizontal" | "vertical";
293
+ indexRef: React.MutableRefObject<number>;
294
+ nonInteractiveIds: string[];
295
+ isVirtualized: boolean;
296
+ items: import("../..").Item<any>[];
297
+ mode: "multiple" | "single";
298
+ value: string | undefined;
299
+ inputRef: React.RefObject<HTMLInputElement>;
300
+ /**
301
+ * The width of the combobox input. This is used to make sure the UI renders the menu the same
302
+ * width as the input.
303
+ */
304
+ width: number;
305
+ }) => void) | undefined;
306
+ onUnselectAll?: ((data: undefined, prevState: {
307
+ stackRef: React.RefObject<HTMLDivElement>;
308
+ targetRef: React.RefObject<HTMLButtonElement>;
309
+ initialFocusRef: React.RefObject<any> | undefined;
310
+ returnFocusRef: React.RefObject<any> | undefined;
311
+ placement: import("@popperjs/core").Placement;
312
+ id: string;
313
+ visibility: "hidden" | "visible";
314
+ selectedIds: string[] | "all";
315
+ unselectedIds: string[];
316
+ cursorId: string;
317
+ columnCount: number;
318
+ pageSizeRef: React.MutableRefObject<number>;
319
+ cursorIndexRef: {
320
+ readonly current: number;
321
+ };
322
+ UNSTABLE_virtual: {
323
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
324
+ totalSize: number;
325
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
326
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
327
+ measure: () => void;
328
+ };
329
+ UNSTABLE_defaultItemHeight: number;
330
+ containerRef: React.RefObject<HTMLDivElement>;
331
+ orientation: "horizontal" | "vertical";
332
+ indexRef: React.MutableRefObject<number>;
333
+ nonInteractiveIds: string[];
334
+ isVirtualized: boolean;
335
+ items: import("../..").Item<any>[];
336
+ mode: "multiple" | "single";
337
+ value: string | undefined;
338
+ inputRef: React.RefObject<HTMLInputElement>;
339
+ /**
340
+ * The width of the combobox input. This is used to make sure the UI renders the menu the same
341
+ * width as the input.
342
+ */
343
+ width: number;
344
+ }) => void) | undefined;
345
+ onGoTo?: ((data: {
346
+ id: string;
347
+ }, prevState: {
348
+ stackRef: React.RefObject<HTMLDivElement>;
349
+ targetRef: React.RefObject<HTMLButtonElement>;
350
+ initialFocusRef: React.RefObject<any> | undefined;
351
+ returnFocusRef: React.RefObject<any> | undefined;
352
+ placement: import("@popperjs/core").Placement;
353
+ id: string;
354
+ visibility: "hidden" | "visible";
355
+ selectedIds: string[] | "all";
356
+ unselectedIds: string[];
357
+ cursorId: string;
358
+ columnCount: number;
359
+ pageSizeRef: React.MutableRefObject<number>;
360
+ cursorIndexRef: {
361
+ readonly current: number;
362
+ };
363
+ UNSTABLE_virtual: {
364
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
365
+ totalSize: number;
366
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
367
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
368
+ measure: () => void;
369
+ };
370
+ UNSTABLE_defaultItemHeight: number;
371
+ containerRef: React.RefObject<HTMLDivElement>;
372
+ orientation: "horizontal" | "vertical";
373
+ indexRef: React.MutableRefObject<number>;
374
+ nonInteractiveIds: string[];
375
+ isVirtualized: boolean;
376
+ items: import("../..").Item<any>[];
377
+ mode: "multiple" | "single";
378
+ value: string | undefined;
379
+ inputRef: React.RefObject<HTMLInputElement>;
380
+ /**
381
+ * The width of the combobox input. This is used to make sure the UI renders the menu the same
382
+ * width as the input.
383
+ */
384
+ width: number;
385
+ }) => void) | undefined;
386
+ onGoToNext?: ((data: undefined, prevState: {
387
+ stackRef: React.RefObject<HTMLDivElement>;
388
+ targetRef: React.RefObject<HTMLButtonElement>;
389
+ initialFocusRef: React.RefObject<any> | undefined;
390
+ returnFocusRef: React.RefObject<any> | undefined;
391
+ placement: import("@popperjs/core").Placement;
392
+ id: string;
393
+ visibility: "hidden" | "visible";
394
+ selectedIds: string[] | "all";
395
+ unselectedIds: string[];
396
+ cursorId: string;
397
+ columnCount: number;
398
+ pageSizeRef: React.MutableRefObject<number>;
399
+ cursorIndexRef: {
400
+ readonly current: number;
401
+ };
402
+ UNSTABLE_virtual: {
403
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
404
+ totalSize: number;
405
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
406
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
407
+ measure: () => void;
408
+ };
409
+ UNSTABLE_defaultItemHeight: number;
410
+ containerRef: React.RefObject<HTMLDivElement>;
411
+ orientation: "horizontal" | "vertical";
412
+ indexRef: React.MutableRefObject<number>;
413
+ nonInteractiveIds: string[];
414
+ isVirtualized: boolean;
415
+ items: import("../..").Item<any>[];
416
+ mode: "multiple" | "single";
417
+ value: string | undefined;
418
+ inputRef: React.RefObject<HTMLInputElement>;
419
+ /**
420
+ * The width of the combobox input. This is used to make sure the UI renders the menu the same
421
+ * width as the input.
422
+ */
423
+ width: number;
424
+ }) => void) | undefined;
425
+ onGoToPrevious?: ((data: undefined, prevState: {
426
+ stackRef: React.RefObject<HTMLDivElement>;
427
+ targetRef: React.RefObject<HTMLButtonElement>;
428
+ initialFocusRef: React.RefObject<any> | undefined;
429
+ returnFocusRef: React.RefObject<any> | undefined;
430
+ placement: import("@popperjs/core").Placement;
431
+ id: string;
432
+ visibility: "hidden" | "visible";
433
+ selectedIds: string[] | "all";
434
+ unselectedIds: string[];
435
+ cursorId: string;
436
+ columnCount: number;
437
+ pageSizeRef: React.MutableRefObject<number>;
438
+ cursorIndexRef: {
439
+ readonly current: number;
440
+ };
441
+ UNSTABLE_virtual: {
442
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
443
+ totalSize: number;
444
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
445
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
446
+ measure: () => void;
447
+ };
448
+ UNSTABLE_defaultItemHeight: number;
449
+ containerRef: React.RefObject<HTMLDivElement>;
450
+ orientation: "horizontal" | "vertical";
451
+ indexRef: React.MutableRefObject<number>;
452
+ nonInteractiveIds: string[];
453
+ isVirtualized: boolean;
454
+ items: import("../..").Item<any>[];
455
+ mode: "multiple" | "single";
456
+ value: string | undefined;
457
+ inputRef: React.RefObject<HTMLInputElement>;
458
+ /**
459
+ * The width of the combobox input. This is used to make sure the UI renders the menu the same
460
+ * width as the input.
461
+ */
462
+ width: number;
463
+ }) => void) | undefined;
464
+ onGoToPreviousRow?: ((data: undefined, prevState: {
465
+ stackRef: React.RefObject<HTMLDivElement>;
466
+ targetRef: React.RefObject<HTMLButtonElement>;
467
+ initialFocusRef: React.RefObject<any> | undefined;
468
+ returnFocusRef: React.RefObject<any> | undefined;
469
+ placement: import("@popperjs/core").Placement;
470
+ id: string;
471
+ visibility: "hidden" | "visible";
472
+ selectedIds: string[] | "all";
473
+ unselectedIds: string[];
474
+ cursorId: string;
475
+ columnCount: number;
476
+ pageSizeRef: React.MutableRefObject<number>;
477
+ cursorIndexRef: {
478
+ readonly current: number;
479
+ };
480
+ UNSTABLE_virtual: {
481
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
482
+ totalSize: number;
483
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
484
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
485
+ measure: () => void;
486
+ };
487
+ UNSTABLE_defaultItemHeight: number;
488
+ containerRef: React.RefObject<HTMLDivElement>;
489
+ orientation: "horizontal" | "vertical";
490
+ indexRef: React.MutableRefObject<number>;
491
+ nonInteractiveIds: string[];
492
+ isVirtualized: boolean;
493
+ items: import("../..").Item<any>[];
494
+ mode: "multiple" | "single";
495
+ value: string | undefined;
496
+ inputRef: React.RefObject<HTMLInputElement>;
497
+ /**
498
+ * The width of the combobox input. This is used to make sure the UI renders the menu the same
499
+ * width as the input.
500
+ */
501
+ width: number;
502
+ }) => void) | undefined;
503
+ onGoToNextRow?: ((data: undefined, prevState: {
504
+ stackRef: React.RefObject<HTMLDivElement>;
505
+ targetRef: React.RefObject<HTMLButtonElement>;
506
+ initialFocusRef: React.RefObject<any> | undefined;
507
+ returnFocusRef: React.RefObject<any> | undefined;
508
+ placement: import("@popperjs/core").Placement;
509
+ id: string;
510
+ visibility: "hidden" | "visible";
511
+ selectedIds: string[] | "all";
512
+ unselectedIds: string[];
513
+ cursorId: string;
514
+ columnCount: number;
515
+ pageSizeRef: React.MutableRefObject<number>;
516
+ cursorIndexRef: {
517
+ readonly current: number;
518
+ };
519
+ UNSTABLE_virtual: {
520
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
521
+ totalSize: number;
522
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
523
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
524
+ measure: () => void;
525
+ };
526
+ UNSTABLE_defaultItemHeight: number;
527
+ containerRef: React.RefObject<HTMLDivElement>;
528
+ orientation: "horizontal" | "vertical";
529
+ indexRef: React.MutableRefObject<number>;
530
+ nonInteractiveIds: string[];
531
+ isVirtualized: boolean;
532
+ items: import("../..").Item<any>[];
533
+ mode: "multiple" | "single";
534
+ value: string | undefined;
535
+ inputRef: React.RefObject<HTMLInputElement>;
536
+ /**
537
+ * The width of the combobox input. This is used to make sure the UI renders the menu the same
538
+ * width as the input.
539
+ */
540
+ width: number;
541
+ }) => void) | undefined;
542
+ onGoToFirst?: ((data: undefined, prevState: {
543
+ stackRef: React.RefObject<HTMLDivElement>;
544
+ targetRef: React.RefObject<HTMLButtonElement>;
545
+ initialFocusRef: React.RefObject<any> | undefined;
546
+ returnFocusRef: React.RefObject<any> | undefined;
547
+ placement: import("@popperjs/core").Placement;
548
+ id: string;
549
+ visibility: "hidden" | "visible";
550
+ selectedIds: string[] | "all";
551
+ unselectedIds: string[];
552
+ cursorId: string;
553
+ columnCount: number;
554
+ pageSizeRef: React.MutableRefObject<number>;
555
+ cursorIndexRef: {
556
+ readonly current: number;
557
+ };
558
+ UNSTABLE_virtual: {
559
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
560
+ totalSize: number;
561
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
562
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
563
+ measure: () => void;
564
+ };
565
+ UNSTABLE_defaultItemHeight: number;
566
+ containerRef: React.RefObject<HTMLDivElement>;
567
+ orientation: "horizontal" | "vertical";
568
+ indexRef: React.MutableRefObject<number>;
569
+ nonInteractiveIds: string[];
570
+ isVirtualized: boolean;
571
+ items: import("../..").Item<any>[];
572
+ mode: "multiple" | "single";
573
+ value: string | undefined;
574
+ inputRef: React.RefObject<HTMLInputElement>;
575
+ /**
576
+ * The width of the combobox input. This is used to make sure the UI renders the menu the same
577
+ * width as the input.
578
+ */
579
+ width: number;
580
+ }) => void) | undefined;
581
+ onGoToLast?: ((data: undefined, prevState: {
582
+ stackRef: React.RefObject<HTMLDivElement>;
583
+ targetRef: React.RefObject<HTMLButtonElement>;
584
+ initialFocusRef: React.RefObject<any> | undefined;
585
+ returnFocusRef: React.RefObject<any> | undefined;
586
+ placement: import("@popperjs/core").Placement;
587
+ id: string;
588
+ visibility: "hidden" | "visible";
589
+ selectedIds: string[] | "all";
590
+ unselectedIds: string[];
591
+ cursorId: string;
592
+ columnCount: number;
593
+ pageSizeRef: React.MutableRefObject<number>;
594
+ cursorIndexRef: {
595
+ readonly current: number;
596
+ };
597
+ UNSTABLE_virtual: {
598
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
599
+ totalSize: number;
600
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
601
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
602
+ measure: () => void;
603
+ };
604
+ UNSTABLE_defaultItemHeight: number;
605
+ containerRef: React.RefObject<HTMLDivElement>;
606
+ orientation: "horizontal" | "vertical";
607
+ indexRef: React.MutableRefObject<number>;
608
+ nonInteractiveIds: string[];
609
+ isVirtualized: boolean;
610
+ items: import("../..").Item<any>[];
611
+ mode: "multiple" | "single";
612
+ value: string | undefined;
613
+ inputRef: React.RefObject<HTMLInputElement>;
614
+ /**
615
+ * The width of the combobox input. This is used to make sure the UI renders the menu the same
616
+ * width as the input.
617
+ */
618
+ width: number;
619
+ }) => void) | undefined;
620
+ onGoToFirstOfRow?: ((data: undefined, prevState: {
621
+ stackRef: React.RefObject<HTMLDivElement>;
622
+ targetRef: React.RefObject<HTMLButtonElement>;
623
+ initialFocusRef: React.RefObject<any> | undefined;
624
+ returnFocusRef: React.RefObject<any> | undefined;
625
+ placement: import("@popperjs/core").Placement;
626
+ id: string;
627
+ visibility: "hidden" | "visible";
628
+ selectedIds: string[] | "all";
629
+ unselectedIds: string[];
630
+ cursorId: string;
631
+ columnCount: number;
632
+ pageSizeRef: React.MutableRefObject<number>;
633
+ cursorIndexRef: {
634
+ readonly current: number;
635
+ };
636
+ UNSTABLE_virtual: {
637
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
638
+ totalSize: number;
639
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
640
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
641
+ measure: () => void;
642
+ };
643
+ UNSTABLE_defaultItemHeight: number;
644
+ containerRef: React.RefObject<HTMLDivElement>;
645
+ orientation: "horizontal" | "vertical";
646
+ indexRef: React.MutableRefObject<number>;
647
+ nonInteractiveIds: string[];
648
+ isVirtualized: boolean;
649
+ items: import("../..").Item<any>[];
650
+ mode: "multiple" | "single";
651
+ value: string | undefined;
652
+ inputRef: React.RefObject<HTMLInputElement>;
653
+ /**
654
+ * The width of the combobox input. This is used to make sure the UI renders the menu the same
655
+ * width as the input.
656
+ */
657
+ width: number;
658
+ }) => void) | undefined;
659
+ onGoToLastOfRow?: ((data: undefined, prevState: {
660
+ stackRef: React.RefObject<HTMLDivElement>;
661
+ targetRef: React.RefObject<HTMLButtonElement>;
662
+ initialFocusRef: React.RefObject<any> | undefined;
663
+ returnFocusRef: React.RefObject<any> | undefined;
664
+ placement: import("@popperjs/core").Placement;
665
+ id: string;
666
+ visibility: "hidden" | "visible";
667
+ selectedIds: string[] | "all";
668
+ unselectedIds: string[];
669
+ cursorId: string;
670
+ columnCount: number;
671
+ pageSizeRef: React.MutableRefObject<number>;
672
+ cursorIndexRef: {
673
+ readonly current: number;
674
+ };
675
+ UNSTABLE_virtual: {
676
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
677
+ totalSize: number;
678
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
679
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
680
+ measure: () => void;
681
+ };
682
+ UNSTABLE_defaultItemHeight: number;
683
+ containerRef: React.RefObject<HTMLDivElement>;
684
+ orientation: "horizontal" | "vertical";
685
+ indexRef: React.MutableRefObject<number>;
686
+ nonInteractiveIds: string[];
687
+ isVirtualized: boolean;
688
+ items: import("../..").Item<any>[];
689
+ mode: "multiple" | "single";
690
+ value: string | undefined;
691
+ inputRef: React.RefObject<HTMLInputElement>;
692
+ /**
693
+ * The width of the combobox input. This is used to make sure the UI renders the menu the same
694
+ * width as the input.
695
+ */
696
+ width: number;
697
+ }) => void) | undefined;
698
+ onGoToNextPage?: ((data: undefined, prevState: {
699
+ stackRef: React.RefObject<HTMLDivElement>;
700
+ targetRef: React.RefObject<HTMLButtonElement>;
701
+ initialFocusRef: React.RefObject<any> | undefined;
702
+ returnFocusRef: React.RefObject<any> | undefined;
703
+ placement: import("@popperjs/core").Placement;
704
+ id: string;
705
+ visibility: "hidden" | "visible";
706
+ selectedIds: string[] | "all";
707
+ unselectedIds: string[];
708
+ cursorId: string;
709
+ columnCount: number;
710
+ pageSizeRef: React.MutableRefObject<number>;
711
+ cursorIndexRef: {
712
+ readonly current: number;
713
+ };
714
+ UNSTABLE_virtual: {
715
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
716
+ totalSize: number;
717
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
718
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
719
+ measure: () => void;
720
+ };
721
+ UNSTABLE_defaultItemHeight: number;
722
+ containerRef: React.RefObject<HTMLDivElement>;
723
+ orientation: "horizontal" | "vertical";
724
+ indexRef: React.MutableRefObject<number>;
725
+ nonInteractiveIds: string[];
726
+ isVirtualized: boolean;
727
+ items: import("../..").Item<any>[];
728
+ mode: "multiple" | "single";
729
+ value: string | undefined;
730
+ inputRef: React.RefObject<HTMLInputElement>;
731
+ /**
732
+ * The width of the combobox input. This is used to make sure the UI renders the menu the same
733
+ * width as the input.
734
+ */
735
+ width: number;
736
+ }) => void) | undefined;
737
+ onGoToPreviousPage?: ((data: undefined, prevState: {
738
+ stackRef: React.RefObject<HTMLDivElement>;
739
+ targetRef: React.RefObject<HTMLButtonElement>;
740
+ initialFocusRef: React.RefObject<any> | undefined;
741
+ returnFocusRef: React.RefObject<any> | undefined;
742
+ placement: import("@popperjs/core").Placement;
743
+ id: string;
744
+ visibility: "hidden" | "visible";
745
+ selectedIds: string[] | "all";
746
+ unselectedIds: string[];
747
+ cursorId: string;
748
+ columnCount: number;
749
+ pageSizeRef: React.MutableRefObject<number>;
750
+ cursorIndexRef: {
751
+ readonly current: number;
752
+ };
753
+ UNSTABLE_virtual: {
754
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
755
+ totalSize: number;
756
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
757
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
758
+ measure: () => void;
759
+ };
760
+ UNSTABLE_defaultItemHeight: number;
761
+ containerRef: React.RefObject<HTMLDivElement>;
762
+ orientation: "horizontal" | "vertical";
763
+ indexRef: React.MutableRefObject<number>;
764
+ nonInteractiveIds: string[];
765
+ isVirtualized: boolean;
766
+ items: import("../..").Item<any>[];
767
+ mode: "multiple" | "single";
768
+ value: string | undefined;
769
+ inputRef: React.RefObject<HTMLInputElement>;
770
+ /**
771
+ * The width of the combobox input. This is used to make sure the UI renders the menu the same
772
+ * width as the input.
773
+ */
774
+ width: number;
775
+ }) => void) | undefined;
776
+ onRegisterItem?: ((data: {
777
+ item: any;
778
+ textValue: string;
779
+ }, prevState: {
780
+ stackRef: React.RefObject<HTMLDivElement>;
781
+ targetRef: React.RefObject<HTMLButtonElement>;
782
+ initialFocusRef: React.RefObject<any> | undefined;
783
+ returnFocusRef: React.RefObject<any> | undefined;
784
+ placement: import("@popperjs/core").Placement;
785
+ id: string;
786
+ visibility: "hidden" | "visible";
787
+ selectedIds: string[] | "all";
788
+ unselectedIds: string[];
789
+ cursorId: string;
790
+ columnCount: number;
791
+ pageSizeRef: React.MutableRefObject<number>;
792
+ cursorIndexRef: {
793
+ readonly current: number;
794
+ };
795
+ UNSTABLE_virtual: {
796
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
797
+ totalSize: number;
798
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
799
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
800
+ measure: () => void;
801
+ };
802
+ UNSTABLE_defaultItemHeight: number;
803
+ containerRef: React.RefObject<HTMLDivElement>;
804
+ orientation: "horizontal" | "vertical";
805
+ indexRef: React.MutableRefObject<number>;
806
+ nonInteractiveIds: string[];
807
+ isVirtualized: boolean;
808
+ items: import("../..").Item<any>[];
809
+ mode: "multiple" | "single";
810
+ value: string | undefined;
811
+ inputRef: React.RefObject<HTMLInputElement>;
812
+ /**
813
+ * The width of the combobox input. This is used to make sure the UI renders the menu the same
814
+ * width as the input.
815
+ */
816
+ width: number;
817
+ }) => void) | undefined;
818
+ onUnregisterItem?: ((data: {
819
+ id: string;
820
+ }, prevState: {
821
+ stackRef: React.RefObject<HTMLDivElement>;
822
+ targetRef: React.RefObject<HTMLButtonElement>;
823
+ initialFocusRef: React.RefObject<any> | undefined;
824
+ returnFocusRef: React.RefObject<any> | undefined;
825
+ placement: import("@popperjs/core").Placement;
826
+ id: string;
827
+ visibility: "hidden" | "visible";
828
+ selectedIds: string[] | "all";
829
+ unselectedIds: string[];
830
+ cursorId: string;
831
+ columnCount: number;
832
+ pageSizeRef: React.MutableRefObject<number>;
833
+ cursorIndexRef: {
834
+ readonly current: number;
835
+ };
836
+ UNSTABLE_virtual: {
837
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
838
+ totalSize: number;
839
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
840
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
841
+ measure: () => void;
842
+ };
843
+ UNSTABLE_defaultItemHeight: number;
844
+ containerRef: React.RefObject<HTMLDivElement>;
845
+ orientation: "horizontal" | "vertical";
846
+ indexRef: React.MutableRefObject<number>;
847
+ nonInteractiveIds: string[];
848
+ isVirtualized: boolean;
849
+ items: import("../..").Item<any>[];
850
+ mode: "multiple" | "single";
851
+ value: string | undefined;
852
+ inputRef: React.RefObject<HTMLInputElement>;
853
+ /**
854
+ * The width of the combobox input. This is used to make sure the UI renders the menu the same
855
+ * width as the input.
856
+ */
857
+ width: number;
858
+ }) => void) | undefined;
859
+ onUpdateItemHeight?: ((data: {
860
+ value: number;
861
+ }, prevState: {
862
+ stackRef: React.RefObject<HTMLDivElement>;
863
+ targetRef: React.RefObject<HTMLButtonElement>;
864
+ initialFocusRef: React.RefObject<any> | undefined;
865
+ returnFocusRef: React.RefObject<any> | undefined;
866
+ placement: import("@popperjs/core").Placement;
867
+ id: string;
868
+ visibility: "hidden" | "visible";
869
+ selectedIds: string[] | "all";
870
+ unselectedIds: string[];
871
+ cursorId: string;
872
+ columnCount: number;
873
+ pageSizeRef: React.MutableRefObject<number>;
874
+ cursorIndexRef: {
875
+ readonly current: number;
876
+ };
877
+ UNSTABLE_virtual: {
878
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
879
+ totalSize: number;
880
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
881
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
882
+ measure: () => void;
883
+ };
884
+ UNSTABLE_defaultItemHeight: number;
885
+ containerRef: React.RefObject<HTMLDivElement>;
886
+ orientation: "horizontal" | "vertical";
887
+ indexRef: React.MutableRefObject<number>;
888
+ nonInteractiveIds: string[];
889
+ isVirtualized: boolean;
890
+ items: import("../..").Item<any>[];
891
+ mode: "multiple" | "single";
892
+ value: string | undefined;
893
+ inputRef: React.RefObject<HTMLInputElement>;
894
+ /**
895
+ * The width of the combobox input. This is used to make sure the UI renders the menu the same
896
+ * width as the input.
897
+ */
898
+ width: number;
899
+ }) => void) | undefined;
900
+ } & {
901
+ shouldSetWidth?: ((data: number, state: {
902
+ stackRef: React.RefObject<HTMLDivElement>;
903
+ targetRef: React.RefObject<HTMLButtonElement>;
904
+ initialFocusRef: React.RefObject<any> | undefined;
905
+ returnFocusRef: React.RefObject<any> | undefined;
906
+ placement: import("@popperjs/core").Placement;
907
+ id: string;
908
+ visibility: "hidden" | "visible";
909
+ selectedIds: string[] | "all";
910
+ unselectedIds: string[];
911
+ cursorId: string;
912
+ columnCount: number;
913
+ pageSizeRef: React.MutableRefObject<number>;
914
+ cursorIndexRef: {
915
+ readonly current: number;
916
+ };
917
+ UNSTABLE_virtual: {
918
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
919
+ totalSize: number;
920
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
921
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
922
+ measure: () => void;
923
+ };
924
+ UNSTABLE_defaultItemHeight: number;
925
+ containerRef: React.RefObject<HTMLDivElement>;
926
+ orientation: "horizontal" | "vertical";
927
+ indexRef: React.MutableRefObject<number>;
928
+ nonInteractiveIds: string[];
929
+ isVirtualized: boolean;
930
+ items: import("../..").Item<any>[];
931
+ mode: "multiple" | "single";
932
+ value: string | undefined;
933
+ inputRef: React.RefObject<HTMLInputElement>;
934
+ /**
935
+ * The width of the combobox input. This is used to make sure the UI renders the menu the same
936
+ * width as the input.
937
+ */
938
+ width: number;
939
+ }) => boolean) | undefined;
940
+ shouldUpdatePlacement?: ((data: {
941
+ placement: import("@popperjs/core").Placement;
942
+ }, state: {
943
+ stackRef: React.RefObject<HTMLDivElement>;
944
+ targetRef: React.RefObject<HTMLButtonElement>;
945
+ initialFocusRef: React.RefObject<any> | undefined;
946
+ returnFocusRef: React.RefObject<any> | undefined;
947
+ placement: import("@popperjs/core").Placement;
948
+ id: string;
949
+ visibility: "hidden" | "visible";
950
+ selectedIds: string[] | "all";
951
+ unselectedIds: string[];
952
+ cursorId: string;
953
+ columnCount: number;
954
+ pageSizeRef: React.MutableRefObject<number>;
955
+ cursorIndexRef: {
956
+ readonly current: number;
957
+ };
958
+ UNSTABLE_virtual: {
959
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
960
+ totalSize: number;
961
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
962
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
963
+ measure: () => void;
964
+ };
965
+ UNSTABLE_defaultItemHeight: number;
966
+ containerRef: React.RefObject<HTMLDivElement>;
967
+ orientation: "horizontal" | "vertical";
968
+ indexRef: React.MutableRefObject<number>;
969
+ nonInteractiveIds: string[];
970
+ isVirtualized: boolean;
971
+ items: import("../..").Item<any>[];
972
+ mode: "multiple" | "single";
973
+ value: string | undefined;
974
+ inputRef: React.RefObject<HTMLInputElement>;
975
+ /**
976
+ * The width of the combobox input. This is used to make sure the UI renders the menu the same
977
+ * width as the input.
978
+ */
979
+ width: number;
980
+ }) => boolean) | undefined;
981
+ shouldShow?: ((data: Event | React.SyntheticEvent<Element, Event> | undefined, state: {
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
+ /**
1015
+ * The width of the combobox input. This is used to make sure the UI renders the menu the same
1016
+ * width as the input.
1017
+ */
1018
+ width: number;
1019
+ }) => boolean) | undefined;
1020
+ shouldHide?: ((data: Event | React.SyntheticEvent<Element, Event> | undefined, state: {
1021
+ stackRef: React.RefObject<HTMLDivElement>;
1022
+ targetRef: React.RefObject<HTMLButtonElement>;
1023
+ initialFocusRef: React.RefObject<any> | undefined;
1024
+ returnFocusRef: React.RefObject<any> | undefined;
1025
+ placement: import("@popperjs/core").Placement;
1026
+ id: string;
1027
+ visibility: "hidden" | "visible";
1028
+ selectedIds: string[] | "all";
1029
+ unselectedIds: string[];
1030
+ cursorId: string;
1031
+ columnCount: number;
1032
+ pageSizeRef: React.MutableRefObject<number>;
1033
+ cursorIndexRef: {
1034
+ readonly current: number;
1035
+ };
1036
+ UNSTABLE_virtual: {
1037
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
1038
+ totalSize: number;
1039
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
1040
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
1041
+ measure: () => void;
1042
+ };
1043
+ UNSTABLE_defaultItemHeight: number;
1044
+ containerRef: React.RefObject<HTMLDivElement>;
1045
+ orientation: "horizontal" | "vertical";
1046
+ indexRef: React.MutableRefObject<number>;
1047
+ nonInteractiveIds: string[];
1048
+ isVirtualized: boolean;
1049
+ items: import("../..").Item<any>[];
1050
+ mode: "multiple" | "single";
1051
+ value: string | undefined;
1052
+ inputRef: React.RefObject<HTMLInputElement>;
1053
+ /**
1054
+ * The width of the combobox input. This is used to make sure the UI renders the menu the same
1055
+ * width as the input.
1056
+ */
1057
+ width: number;
1058
+ }) => boolean) | undefined;
1059
+ shouldSelect?: ((data: {
1060
+ id: string;
1061
+ }, state: {
1062
+ stackRef: React.RefObject<HTMLDivElement>;
1063
+ targetRef: React.RefObject<HTMLButtonElement>;
1064
+ initialFocusRef: React.RefObject<any> | undefined;
1065
+ returnFocusRef: React.RefObject<any> | undefined;
1066
+ placement: import("@popperjs/core").Placement;
1067
+ id: string;
1068
+ visibility: "hidden" | "visible";
1069
+ selectedIds: string[] | "all";
1070
+ unselectedIds: string[];
1071
+ cursorId: string;
1072
+ columnCount: number;
1073
+ pageSizeRef: React.MutableRefObject<number>;
1074
+ cursorIndexRef: {
1075
+ readonly current: number;
1076
+ };
1077
+ UNSTABLE_virtual: {
1078
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
1079
+ totalSize: number;
1080
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
1081
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
1082
+ measure: () => void;
1083
+ };
1084
+ UNSTABLE_defaultItemHeight: number;
1085
+ containerRef: React.RefObject<HTMLDivElement>;
1086
+ orientation: "horizontal" | "vertical";
1087
+ indexRef: React.MutableRefObject<number>;
1088
+ nonInteractiveIds: string[];
1089
+ isVirtualized: boolean;
1090
+ items: import("../..").Item<any>[];
1091
+ mode: "multiple" | "single";
1092
+ value: string | undefined;
1093
+ inputRef: React.RefObject<HTMLInputElement>;
1094
+ /**
1095
+ * The width of the combobox input. This is used to make sure the UI renders the menu the same
1096
+ * width as the input.
1097
+ */
1098
+ width: number;
1099
+ }) => boolean) | undefined;
1100
+ shouldSelectAll?: ((data: undefined, state: {
1101
+ stackRef: React.RefObject<HTMLDivElement>;
1102
+ targetRef: React.RefObject<HTMLButtonElement>;
1103
+ initialFocusRef: React.RefObject<any> | undefined;
1104
+ returnFocusRef: React.RefObject<any> | undefined;
1105
+ placement: import("@popperjs/core").Placement;
1106
+ id: string;
1107
+ visibility: "hidden" | "visible";
1108
+ selectedIds: string[] | "all";
1109
+ unselectedIds: string[];
1110
+ cursorId: string;
1111
+ columnCount: number;
1112
+ pageSizeRef: React.MutableRefObject<number>;
1113
+ cursorIndexRef: {
1114
+ readonly current: number;
1115
+ };
1116
+ UNSTABLE_virtual: {
1117
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
1118
+ totalSize: number;
1119
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
1120
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
1121
+ measure: () => void;
1122
+ };
1123
+ UNSTABLE_defaultItemHeight: number;
1124
+ containerRef: React.RefObject<HTMLDivElement>;
1125
+ orientation: "horizontal" | "vertical";
1126
+ indexRef: React.MutableRefObject<number>;
1127
+ nonInteractiveIds: string[];
1128
+ isVirtualized: boolean;
1129
+ items: import("../..").Item<any>[];
1130
+ mode: "multiple" | "single";
1131
+ value: string | undefined;
1132
+ inputRef: React.RefObject<HTMLInputElement>;
1133
+ /**
1134
+ * The width of the combobox input. This is used to make sure the UI renders the menu the same
1135
+ * width as the input.
1136
+ */
1137
+ width: number;
1138
+ }) => boolean) | undefined;
1139
+ shouldUnselectAll?: ((data: undefined, state: {
1140
+ stackRef: React.RefObject<HTMLDivElement>;
1141
+ targetRef: React.RefObject<HTMLButtonElement>;
1142
+ initialFocusRef: React.RefObject<any> | undefined;
1143
+ returnFocusRef: React.RefObject<any> | undefined;
1144
+ placement: import("@popperjs/core").Placement;
1145
+ id: string;
1146
+ visibility: "hidden" | "visible";
1147
+ selectedIds: string[] | "all";
1148
+ unselectedIds: string[];
1149
+ cursorId: string;
1150
+ columnCount: number;
1151
+ pageSizeRef: React.MutableRefObject<number>;
1152
+ cursorIndexRef: {
1153
+ readonly current: number;
1154
+ };
1155
+ UNSTABLE_virtual: {
1156
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
1157
+ totalSize: number;
1158
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
1159
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
1160
+ measure: () => void;
1161
+ };
1162
+ UNSTABLE_defaultItemHeight: number;
1163
+ containerRef: React.RefObject<HTMLDivElement>;
1164
+ orientation: "horizontal" | "vertical";
1165
+ indexRef: React.MutableRefObject<number>;
1166
+ nonInteractiveIds: string[];
1167
+ isVirtualized: boolean;
1168
+ items: import("../..").Item<any>[];
1169
+ mode: "multiple" | "single";
1170
+ value: string | undefined;
1171
+ inputRef: React.RefObject<HTMLInputElement>;
1172
+ /**
1173
+ * The width of the combobox input. This is used to make sure the UI renders the menu the same
1174
+ * width as the input.
1175
+ */
1176
+ width: number;
1177
+ }) => boolean) | undefined;
1178
+ shouldGoTo?: ((data: {
1179
+ id: string;
1180
+ }, state: {
1181
+ stackRef: React.RefObject<HTMLDivElement>;
1182
+ targetRef: React.RefObject<HTMLButtonElement>;
1183
+ initialFocusRef: React.RefObject<any> | undefined;
1184
+ returnFocusRef: React.RefObject<any> | undefined;
1185
+ placement: import("@popperjs/core").Placement;
1186
+ id: string;
1187
+ visibility: "hidden" | "visible";
1188
+ selectedIds: string[] | "all";
1189
+ unselectedIds: string[];
1190
+ cursorId: string;
1191
+ columnCount: number;
1192
+ pageSizeRef: React.MutableRefObject<number>;
1193
+ cursorIndexRef: {
1194
+ readonly current: number;
1195
+ };
1196
+ UNSTABLE_virtual: {
1197
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
1198
+ totalSize: number;
1199
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
1200
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
1201
+ measure: () => void;
1202
+ };
1203
+ UNSTABLE_defaultItemHeight: number;
1204
+ containerRef: React.RefObject<HTMLDivElement>;
1205
+ orientation: "horizontal" | "vertical";
1206
+ indexRef: React.MutableRefObject<number>;
1207
+ nonInteractiveIds: string[];
1208
+ isVirtualized: boolean;
1209
+ items: import("../..").Item<any>[];
1210
+ mode: "multiple" | "single";
1211
+ value: string | undefined;
1212
+ inputRef: React.RefObject<HTMLInputElement>;
1213
+ /**
1214
+ * The width of the combobox input. This is used to make sure the UI renders the menu the same
1215
+ * width as the input.
1216
+ */
1217
+ width: number;
1218
+ }) => boolean) | undefined;
1219
+ shouldGoToNext?: ((data: undefined, state: {
1220
+ stackRef: React.RefObject<HTMLDivElement>;
1221
+ targetRef: React.RefObject<HTMLButtonElement>;
1222
+ initialFocusRef: React.RefObject<any> | undefined;
1223
+ returnFocusRef: React.RefObject<any> | undefined;
1224
+ placement: import("@popperjs/core").Placement;
1225
+ id: string;
1226
+ visibility: "hidden" | "visible";
1227
+ selectedIds: string[] | "all";
1228
+ unselectedIds: string[];
1229
+ cursorId: string;
1230
+ columnCount: number;
1231
+ pageSizeRef: React.MutableRefObject<number>;
1232
+ cursorIndexRef: {
1233
+ readonly current: number;
1234
+ };
1235
+ UNSTABLE_virtual: {
1236
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
1237
+ totalSize: number;
1238
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
1239
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
1240
+ measure: () => void;
1241
+ };
1242
+ UNSTABLE_defaultItemHeight: number;
1243
+ containerRef: React.RefObject<HTMLDivElement>;
1244
+ orientation: "horizontal" | "vertical";
1245
+ indexRef: React.MutableRefObject<number>;
1246
+ nonInteractiveIds: string[];
1247
+ isVirtualized: boolean;
1248
+ items: import("../..").Item<any>[];
1249
+ mode: "multiple" | "single";
1250
+ value: string | undefined;
1251
+ inputRef: React.RefObject<HTMLInputElement>;
1252
+ /**
1253
+ * The width of the combobox input. This is used to make sure the UI renders the menu the same
1254
+ * width as the input.
1255
+ */
1256
+ width: number;
1257
+ }) => boolean) | undefined;
1258
+ shouldGoToPrevious?: ((data: undefined, state: {
1259
+ stackRef: React.RefObject<HTMLDivElement>;
1260
+ targetRef: React.RefObject<HTMLButtonElement>;
1261
+ initialFocusRef: React.RefObject<any> | undefined;
1262
+ returnFocusRef: React.RefObject<any> | undefined;
1263
+ placement: import("@popperjs/core").Placement;
1264
+ id: string;
1265
+ visibility: "hidden" | "visible";
1266
+ selectedIds: string[] | "all";
1267
+ unselectedIds: string[];
1268
+ cursorId: string;
1269
+ columnCount: number;
1270
+ pageSizeRef: React.MutableRefObject<number>;
1271
+ cursorIndexRef: {
1272
+ readonly current: number;
1273
+ };
1274
+ UNSTABLE_virtual: {
1275
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
1276
+ totalSize: number;
1277
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
1278
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
1279
+ measure: () => void;
1280
+ };
1281
+ UNSTABLE_defaultItemHeight: number;
1282
+ containerRef: React.RefObject<HTMLDivElement>;
1283
+ orientation: "horizontal" | "vertical";
1284
+ indexRef: React.MutableRefObject<number>;
1285
+ nonInteractiveIds: string[];
1286
+ isVirtualized: boolean;
1287
+ items: import("../..").Item<any>[];
1288
+ mode: "multiple" | "single";
1289
+ value: string | undefined;
1290
+ inputRef: React.RefObject<HTMLInputElement>;
1291
+ /**
1292
+ * The width of the combobox input. This is used to make sure the UI renders the menu the same
1293
+ * width as the input.
1294
+ */
1295
+ width: number;
1296
+ }) => boolean) | undefined;
1297
+ shouldGoToPreviousRow?: ((data: undefined, state: {
1298
+ stackRef: React.RefObject<HTMLDivElement>;
1299
+ targetRef: React.RefObject<HTMLButtonElement>;
1300
+ initialFocusRef: React.RefObject<any> | undefined;
1301
+ returnFocusRef: React.RefObject<any> | undefined;
1302
+ placement: import("@popperjs/core").Placement;
1303
+ id: string;
1304
+ visibility: "hidden" | "visible";
1305
+ selectedIds: string[] | "all";
1306
+ unselectedIds: string[];
1307
+ cursorId: string;
1308
+ columnCount: number;
1309
+ pageSizeRef: React.MutableRefObject<number>;
1310
+ cursorIndexRef: {
1311
+ readonly current: number;
1312
+ };
1313
+ UNSTABLE_virtual: {
1314
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
1315
+ totalSize: number;
1316
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
1317
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
1318
+ measure: () => void;
1319
+ };
1320
+ UNSTABLE_defaultItemHeight: number;
1321
+ containerRef: React.RefObject<HTMLDivElement>;
1322
+ orientation: "horizontal" | "vertical";
1323
+ indexRef: React.MutableRefObject<number>;
1324
+ nonInteractiveIds: string[];
1325
+ isVirtualized: boolean;
1326
+ items: import("../..").Item<any>[];
1327
+ mode: "multiple" | "single";
1328
+ value: string | undefined;
1329
+ inputRef: React.RefObject<HTMLInputElement>;
1330
+ /**
1331
+ * The width of the combobox input. This is used to make sure the UI renders the menu the same
1332
+ * width as the input.
1333
+ */
1334
+ width: number;
1335
+ }) => boolean) | undefined;
1336
+ shouldGoToNextRow?: ((data: undefined, state: {
1337
+ stackRef: React.RefObject<HTMLDivElement>;
1338
+ targetRef: React.RefObject<HTMLButtonElement>;
1339
+ initialFocusRef: React.RefObject<any> | undefined;
1340
+ returnFocusRef: React.RefObject<any> | undefined;
1341
+ placement: import("@popperjs/core").Placement;
1342
+ id: string;
1343
+ visibility: "hidden" | "visible";
1344
+ selectedIds: string[] | "all";
1345
+ unselectedIds: string[];
1346
+ cursorId: string;
1347
+ columnCount: number;
1348
+ pageSizeRef: React.MutableRefObject<number>;
1349
+ cursorIndexRef: {
1350
+ readonly current: number;
1351
+ };
1352
+ UNSTABLE_virtual: {
1353
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
1354
+ totalSize: number;
1355
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
1356
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
1357
+ measure: () => void;
1358
+ };
1359
+ UNSTABLE_defaultItemHeight: number;
1360
+ containerRef: React.RefObject<HTMLDivElement>;
1361
+ orientation: "horizontal" | "vertical";
1362
+ indexRef: React.MutableRefObject<number>;
1363
+ nonInteractiveIds: string[];
1364
+ isVirtualized: boolean;
1365
+ items: import("../..").Item<any>[];
1366
+ mode: "multiple" | "single";
1367
+ value: string | undefined;
1368
+ inputRef: React.RefObject<HTMLInputElement>;
1369
+ /**
1370
+ * The width of the combobox input. This is used to make sure the UI renders the menu the same
1371
+ * width as the input.
1372
+ */
1373
+ width: number;
1374
+ }) => boolean) | undefined;
1375
+ shouldGoToFirst?: ((data: undefined, state: {
1376
+ stackRef: React.RefObject<HTMLDivElement>;
1377
+ targetRef: React.RefObject<HTMLButtonElement>;
1378
+ initialFocusRef: React.RefObject<any> | undefined;
1379
+ returnFocusRef: React.RefObject<any> | undefined;
1380
+ placement: import("@popperjs/core").Placement;
1381
+ id: string;
1382
+ visibility: "hidden" | "visible";
1383
+ selectedIds: string[] | "all";
1384
+ unselectedIds: string[];
1385
+ cursorId: string;
1386
+ columnCount: number;
1387
+ pageSizeRef: React.MutableRefObject<number>;
1388
+ cursorIndexRef: {
1389
+ readonly current: number;
1390
+ };
1391
+ UNSTABLE_virtual: {
1392
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
1393
+ totalSize: number;
1394
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
1395
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
1396
+ measure: () => void;
1397
+ };
1398
+ UNSTABLE_defaultItemHeight: number;
1399
+ containerRef: React.RefObject<HTMLDivElement>;
1400
+ orientation: "horizontal" | "vertical";
1401
+ indexRef: React.MutableRefObject<number>;
1402
+ nonInteractiveIds: string[];
1403
+ isVirtualized: boolean;
1404
+ items: import("../..").Item<any>[];
1405
+ mode: "multiple" | "single";
1406
+ value: string | undefined;
1407
+ inputRef: React.RefObject<HTMLInputElement>;
1408
+ /**
1409
+ * The width of the combobox input. This is used to make sure the UI renders the menu the same
1410
+ * width as the input.
1411
+ */
1412
+ width: number;
1413
+ }) => boolean) | undefined;
1414
+ shouldGoToLast?: ((data: undefined, state: {
1415
+ stackRef: React.RefObject<HTMLDivElement>;
1416
+ targetRef: React.RefObject<HTMLButtonElement>;
1417
+ initialFocusRef: React.RefObject<any> | undefined;
1418
+ returnFocusRef: React.RefObject<any> | undefined;
1419
+ placement: import("@popperjs/core").Placement;
1420
+ id: string;
1421
+ visibility: "hidden" | "visible";
1422
+ selectedIds: string[] | "all";
1423
+ unselectedIds: string[];
1424
+ cursorId: string;
1425
+ columnCount: number;
1426
+ pageSizeRef: React.MutableRefObject<number>;
1427
+ cursorIndexRef: {
1428
+ readonly current: number;
1429
+ };
1430
+ UNSTABLE_virtual: {
1431
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
1432
+ totalSize: number;
1433
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
1434
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
1435
+ measure: () => void;
1436
+ };
1437
+ UNSTABLE_defaultItemHeight: number;
1438
+ containerRef: React.RefObject<HTMLDivElement>;
1439
+ orientation: "horizontal" | "vertical";
1440
+ indexRef: React.MutableRefObject<number>;
1441
+ nonInteractiveIds: string[];
1442
+ isVirtualized: boolean;
1443
+ items: import("../..").Item<any>[];
1444
+ mode: "multiple" | "single";
1445
+ value: string | undefined;
1446
+ inputRef: React.RefObject<HTMLInputElement>;
1447
+ /**
1448
+ * The width of the combobox input. This is used to make sure the UI renders the menu the same
1449
+ * width as the input.
1450
+ */
1451
+ width: number;
1452
+ }) => boolean) | undefined;
1453
+ shouldGoToFirstOfRow?: ((data: undefined, state: {
1454
+ stackRef: React.RefObject<HTMLDivElement>;
1455
+ targetRef: React.RefObject<HTMLButtonElement>;
1456
+ initialFocusRef: React.RefObject<any> | undefined;
1457
+ returnFocusRef: React.RefObject<any> | undefined;
1458
+ placement: import("@popperjs/core").Placement;
1459
+ id: string;
1460
+ visibility: "hidden" | "visible";
1461
+ selectedIds: string[] | "all";
1462
+ unselectedIds: string[];
1463
+ cursorId: string;
1464
+ columnCount: number;
1465
+ pageSizeRef: React.MutableRefObject<number>;
1466
+ cursorIndexRef: {
1467
+ readonly current: number;
1468
+ };
1469
+ UNSTABLE_virtual: {
1470
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
1471
+ totalSize: number;
1472
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
1473
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
1474
+ measure: () => void;
1475
+ };
1476
+ UNSTABLE_defaultItemHeight: number;
1477
+ containerRef: React.RefObject<HTMLDivElement>;
1478
+ orientation: "horizontal" | "vertical";
1479
+ indexRef: React.MutableRefObject<number>;
1480
+ nonInteractiveIds: string[];
1481
+ isVirtualized: boolean;
1482
+ items: import("../..").Item<any>[];
1483
+ mode: "multiple" | "single";
1484
+ value: string | undefined;
1485
+ inputRef: React.RefObject<HTMLInputElement>;
1486
+ /**
1487
+ * The width of the combobox input. This is used to make sure the UI renders the menu the same
1488
+ * width as the input.
1489
+ */
1490
+ width: number;
1491
+ }) => boolean) | undefined;
1492
+ shouldGoToLastOfRow?: ((data: undefined, state: {
1493
+ stackRef: React.RefObject<HTMLDivElement>;
1494
+ targetRef: React.RefObject<HTMLButtonElement>;
1495
+ initialFocusRef: React.RefObject<any> | undefined;
1496
+ returnFocusRef: React.RefObject<any> | undefined;
1497
+ placement: import("@popperjs/core").Placement;
1498
+ id: string;
1499
+ visibility: "hidden" | "visible";
1500
+ selectedIds: string[] | "all";
1501
+ unselectedIds: string[];
1502
+ cursorId: string;
1503
+ columnCount: number;
1504
+ pageSizeRef: React.MutableRefObject<number>;
1505
+ cursorIndexRef: {
1506
+ readonly current: number;
1507
+ };
1508
+ UNSTABLE_virtual: {
1509
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
1510
+ totalSize: number;
1511
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
1512
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
1513
+ measure: () => void;
1514
+ };
1515
+ UNSTABLE_defaultItemHeight: number;
1516
+ containerRef: React.RefObject<HTMLDivElement>;
1517
+ orientation: "horizontal" | "vertical";
1518
+ indexRef: React.MutableRefObject<number>;
1519
+ nonInteractiveIds: string[];
1520
+ isVirtualized: boolean;
1521
+ items: import("../..").Item<any>[];
1522
+ mode: "multiple" | "single";
1523
+ value: string | undefined;
1524
+ inputRef: React.RefObject<HTMLInputElement>;
1525
+ /**
1526
+ * The width of the combobox input. This is used to make sure the UI renders the menu the same
1527
+ * width as the input.
1528
+ */
1529
+ width: number;
1530
+ }) => boolean) | undefined;
1531
+ shouldGoToNextPage?: ((data: undefined, state: {
1532
+ stackRef: React.RefObject<HTMLDivElement>;
1533
+ targetRef: React.RefObject<HTMLButtonElement>;
1534
+ initialFocusRef: React.RefObject<any> | undefined;
1535
+ returnFocusRef: React.RefObject<any> | undefined;
1536
+ placement: import("@popperjs/core").Placement;
1537
+ id: string;
1538
+ visibility: "hidden" | "visible";
1539
+ selectedIds: string[] | "all";
1540
+ unselectedIds: string[];
1541
+ cursorId: string;
1542
+ columnCount: number;
1543
+ pageSizeRef: React.MutableRefObject<number>;
1544
+ cursorIndexRef: {
1545
+ readonly current: number;
1546
+ };
1547
+ UNSTABLE_virtual: {
1548
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
1549
+ totalSize: number;
1550
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
1551
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
1552
+ measure: () => void;
1553
+ };
1554
+ UNSTABLE_defaultItemHeight: number;
1555
+ containerRef: React.RefObject<HTMLDivElement>;
1556
+ orientation: "horizontal" | "vertical";
1557
+ indexRef: React.MutableRefObject<number>;
1558
+ nonInteractiveIds: string[];
1559
+ isVirtualized: boolean;
1560
+ items: import("../..").Item<any>[];
1561
+ mode: "multiple" | "single";
1562
+ value: string | undefined;
1563
+ inputRef: React.RefObject<HTMLInputElement>;
1564
+ /**
1565
+ * The width of the combobox input. This is used to make sure the UI renders the menu the same
1566
+ * width as the input.
1567
+ */
1568
+ width: number;
1569
+ }) => boolean) | undefined;
1570
+ shouldGoToPreviousPage?: ((data: undefined, state: {
1571
+ stackRef: React.RefObject<HTMLDivElement>;
1572
+ targetRef: React.RefObject<HTMLButtonElement>;
1573
+ initialFocusRef: React.RefObject<any> | undefined;
1574
+ returnFocusRef: React.RefObject<any> | undefined;
1575
+ placement: import("@popperjs/core").Placement;
1576
+ id: string;
1577
+ visibility: "hidden" | "visible";
1578
+ selectedIds: string[] | "all";
1579
+ unselectedIds: string[];
1580
+ cursorId: string;
1581
+ columnCount: number;
1582
+ pageSizeRef: React.MutableRefObject<number>;
1583
+ cursorIndexRef: {
1584
+ readonly current: number;
1585
+ };
1586
+ UNSTABLE_virtual: {
1587
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
1588
+ totalSize: number;
1589
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
1590
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
1591
+ measure: () => void;
1592
+ };
1593
+ UNSTABLE_defaultItemHeight: number;
1594
+ containerRef: React.RefObject<HTMLDivElement>;
1595
+ orientation: "horizontal" | "vertical";
1596
+ indexRef: React.MutableRefObject<number>;
1597
+ nonInteractiveIds: string[];
1598
+ isVirtualized: boolean;
1599
+ items: import("../..").Item<any>[];
1600
+ mode: "multiple" | "single";
1601
+ value: string | undefined;
1602
+ inputRef: React.RefObject<HTMLInputElement>;
1603
+ /**
1604
+ * The width of the combobox input. This is used to make sure the UI renders the menu the same
1605
+ * width as the input.
1606
+ */
1607
+ width: number;
1608
+ }) => boolean) | undefined;
1609
+ shouldRegisterItem?: ((data: {
1610
+ item: any;
1611
+ textValue: string;
1612
+ }, state: {
1613
+ stackRef: React.RefObject<HTMLDivElement>;
1614
+ targetRef: React.RefObject<HTMLButtonElement>;
1615
+ initialFocusRef: React.RefObject<any> | undefined;
1616
+ returnFocusRef: React.RefObject<any> | undefined;
1617
+ placement: import("@popperjs/core").Placement;
1618
+ id: string;
1619
+ visibility: "hidden" | "visible";
1620
+ selectedIds: string[] | "all";
1621
+ unselectedIds: string[];
1622
+ cursorId: string;
1623
+ columnCount: number;
1624
+ pageSizeRef: React.MutableRefObject<number>;
1625
+ cursorIndexRef: {
1626
+ readonly current: number;
1627
+ };
1628
+ UNSTABLE_virtual: {
1629
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
1630
+ totalSize: number;
1631
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
1632
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
1633
+ measure: () => void;
1634
+ };
1635
+ UNSTABLE_defaultItemHeight: number;
1636
+ containerRef: React.RefObject<HTMLDivElement>;
1637
+ orientation: "horizontal" | "vertical";
1638
+ indexRef: React.MutableRefObject<number>;
1639
+ nonInteractiveIds: string[];
1640
+ isVirtualized: boolean;
1641
+ items: import("../..").Item<any>[];
1642
+ mode: "multiple" | "single";
1643
+ value: string | undefined;
1644
+ inputRef: React.RefObject<HTMLInputElement>;
1645
+ /**
1646
+ * The width of the combobox input. This is used to make sure the UI renders the menu the same
1647
+ * width as the input.
1648
+ */
1649
+ width: number;
1650
+ }) => boolean) | undefined;
1651
+ shouldUnregisterItem?: ((data: {
1652
+ id: string;
1653
+ }, state: {
1654
+ stackRef: React.RefObject<HTMLDivElement>;
1655
+ targetRef: React.RefObject<HTMLButtonElement>;
1656
+ initialFocusRef: React.RefObject<any> | undefined;
1657
+ returnFocusRef: React.RefObject<any> | undefined;
1658
+ placement: import("@popperjs/core").Placement;
1659
+ id: string;
1660
+ visibility: "hidden" | "visible";
1661
+ selectedIds: string[] | "all";
1662
+ unselectedIds: string[];
1663
+ cursorId: string;
1664
+ columnCount: number;
1665
+ pageSizeRef: React.MutableRefObject<number>;
1666
+ cursorIndexRef: {
1667
+ readonly current: number;
1668
+ };
1669
+ UNSTABLE_virtual: {
1670
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
1671
+ totalSize: number;
1672
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
1673
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
1674
+ measure: () => void;
1675
+ };
1676
+ UNSTABLE_defaultItemHeight: number;
1677
+ containerRef: React.RefObject<HTMLDivElement>;
1678
+ orientation: "horizontal" | "vertical";
1679
+ indexRef: React.MutableRefObject<number>;
1680
+ nonInteractiveIds: string[];
1681
+ isVirtualized: boolean;
1682
+ items: import("../..").Item<any>[];
1683
+ mode: "multiple" | "single";
1684
+ value: string | undefined;
1685
+ inputRef: React.RefObject<HTMLInputElement>;
1686
+ /**
1687
+ * The width of the combobox input. This is used to make sure the UI renders the menu the same
1688
+ * width as the input.
1689
+ */
1690
+ width: number;
1691
+ }) => boolean) | undefined;
1692
+ shouldUpdateItemHeight?: ((data: {
1693
+ value: number;
1694
+ }, state: {
1695
+ stackRef: React.RefObject<HTMLDivElement>;
1696
+ targetRef: React.RefObject<HTMLButtonElement>;
1697
+ initialFocusRef: React.RefObject<any> | undefined;
1698
+ returnFocusRef: React.RefObject<any> | undefined;
1699
+ placement: import("@popperjs/core").Placement;
1700
+ id: string;
1701
+ visibility: "hidden" | "visible";
1702
+ selectedIds: string[] | "all";
1703
+ unselectedIds: string[];
1704
+ cursorId: string;
1705
+ columnCount: number;
1706
+ pageSizeRef: React.MutableRefObject<number>;
1707
+ cursorIndexRef: {
1708
+ readonly current: number;
1709
+ };
1710
+ UNSTABLE_virtual: {
1711
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
1712
+ totalSize: number;
1713
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
1714
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
1715
+ measure: () => void;
1716
+ };
1717
+ UNSTABLE_defaultItemHeight: number;
1718
+ containerRef: React.RefObject<HTMLDivElement>;
1719
+ orientation: "horizontal" | "vertical";
1720
+ indexRef: React.MutableRefObject<number>;
1721
+ nonInteractiveIds: string[];
1722
+ isVirtualized: boolean;
1723
+ items: import("../..").Item<any>[];
1724
+ mode: "multiple" | "single";
1725
+ value: string | undefined;
1726
+ inputRef: React.RefObject<HTMLInputElement>;
1727
+ /**
1728
+ * The width of the combobox input. This is used to make sure the UI renders the menu the same
1729
+ * width as the input.
1730
+ */
1731
+ width: number;
1732
+ }) => boolean) | undefined;
1733
+ }) | undefined) => {
1734
+ state: {
1735
+ stackRef: React.RefObject<HTMLDivElement>;
1736
+ targetRef: React.RefObject<HTMLButtonElement>;
1737
+ initialFocusRef: React.RefObject<any> | undefined;
1738
+ returnFocusRef: React.RefObject<any> | undefined;
1739
+ placement: import("@popperjs/core").Placement;
1740
+ id: string;
1741
+ visibility: "hidden" | "visible";
1742
+ selectedIds: string[] | "all";
1743
+ unselectedIds: string[];
1744
+ cursorId: string;
1745
+ columnCount: number;
1746
+ pageSizeRef: React.MutableRefObject<number>;
1747
+ cursorIndexRef: {
1748
+ readonly current: number;
1749
+ };
1750
+ UNSTABLE_virtual: {
1751
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
1752
+ totalSize: number;
1753
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
1754
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
1755
+ measure: () => void;
1756
+ };
1757
+ UNSTABLE_defaultItemHeight: number;
1758
+ containerRef: React.RefObject<HTMLDivElement>;
1759
+ orientation: "horizontal" | "vertical";
1760
+ indexRef: React.MutableRefObject<number>;
1761
+ nonInteractiveIds: string[];
1762
+ isVirtualized: boolean;
1763
+ items: import("../..").Item<any>[];
1764
+ mode: "multiple" | "single";
1765
+ value: string | undefined;
1766
+ inputRef: React.RefObject<HTMLInputElement>;
1767
+ /**
1768
+ * The width of the combobox input. This is used to make sure the UI renders the menu the same
1769
+ * width as the input.
1770
+ */
1771
+ width: number;
1772
+ };
1773
+ events: {
1774
+ /**
1775
+ * Change the width of the menu. Usually this is set to the width of the input.
1776
+ */
1777
+ setWidth(width: number): void;
1778
+ updatePlacement(data: {
1779
+ placement: import("@popperjs/core").Placement;
1780
+ }): void;
1781
+ show(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
1782
+ hide(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
1783
+ select(data: {
1784
+ id: string;
1785
+ }): void;
1786
+ selectAll(): void;
1787
+ unselectAll(): void;
1788
+ goTo(data: {
1789
+ id: string;
1790
+ }): void;
1791
+ goToNext(): void;
1792
+ goToPrevious(): void;
1793
+ goToPreviousRow(): void;
1794
+ goToNextRow(): void;
1795
+ goToFirst(): void;
1796
+ goToLast(): void;
1797
+ goToFirstOfRow(): void;
1798
+ goToLastOfRow(): void;
1799
+ goToNextPage(): void;
1800
+ goToPreviousPage(): void;
1801
+ registerItem(data: {
1802
+ item: any;
1803
+ textValue: string;
1804
+ }): void;
1805
+ unregisterItem(data: {
1806
+ id: string;
1807
+ }): void;
1808
+ updateItemHeight(data: {
1809
+ value: number;
1810
+ }): void;
1811
+ };
1812
+ onChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
1813
+ selection: import("../../collection/lib/useSelectionListModel").SelectionManager;
1814
+ navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
1815
+ getId: (item: any) => string;
1816
+ }) & import("@workday/canvas-kit-react/common").ModelExtras<{
1817
+ mode: "multiple" | "single";
1818
+ shouldVirtualize: boolean;
1819
+ returnFocusRef: React.RefObject<any> | undefined;
1820
+ initialFocusRef: React.RefObject<any> | undefined;
1821
+ id: string;
1822
+ initialVisibility: import("../..").Visibility;
1823
+ initialSelectedIds: import("../../collection/lib/useSelectionListModel").SelectedIds;
1824
+ initialUnselectedIds: string[];
1825
+ selection: import("../../collection/lib/useSelectionListModel").SelectionManager;
1826
+ initialCursorId: string;
1827
+ columnCount: number;
1828
+ navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
1829
+ pageSize: number;
1830
+ getId: (item: any) => string;
1831
+ getTextValue: (item: any) => string;
1832
+ nonInteractiveIds: string[];
1833
+ orientation: import("../../collection/lib/useBaseListModel").Orientation;
1834
+ defaultItemHeight: number;
1835
+ items: any[];
1836
+ value: string | undefined;
1837
+ onChange(event: React.ChangeEvent<HTMLInputElement>): void;
1838
+ }, {}, {
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
+ /**
1872
+ * The width of the combobox input. This is used to make sure the UI renders the menu the same
1873
+ * width as the input.
1874
+ */
1875
+ width: number;
1876
+ }, {
1877
+ /**
1878
+ * Change the width of the menu. Usually this is set to the width of the input.
1879
+ */
1880
+ setWidth(width: number): void;
1881
+ updatePlacement(data: {
1882
+ placement: import("@popperjs/core").Placement;
1883
+ }): void;
1884
+ show(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
1885
+ hide(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
1886
+ select(data: {
1887
+ id: string;
1888
+ }): void;
1889
+ selectAll(): void;
1890
+ unselectAll(): void;
1891
+ goTo(data: {
1892
+ id: string;
1893
+ }): void;
1894
+ goToNext(): void;
1895
+ goToPrevious(): void;
1896
+ goToPreviousRow(): void;
1897
+ goToNextRow(): void;
1898
+ goToFirst(): void;
1899
+ goToLast(): void;
1900
+ goToFirstOfRow(): void;
1901
+ goToLastOfRow(): void;
1902
+ goToNextPage(): void;
1903
+ goToPreviousPage(): void;
1904
+ registerItem(data: {
1905
+ item: any;
1906
+ textValue: string;
1907
+ }): void;
1908
+ unregisterItem(data: {
1909
+ id: string;
1910
+ }): void;
1911
+ updateItemHeight(data: {
1912
+ value: number;
1913
+ }): void;
1914
+ }, {
1915
+ state: {
1916
+ stackRef: React.RefObject<HTMLDivElement>;
1917
+ targetRef: React.RefObject<HTMLButtonElement>;
1918
+ initialFocusRef: React.RefObject<any> | undefined;
1919
+ returnFocusRef: React.RefObject<any> | undefined;
1920
+ placement: import("@popperjs/core").Placement;
1921
+ id: string;
1922
+ visibility: "hidden" | "visible";
1923
+ selectedIds: string[] | "all";
1924
+ unselectedIds: string[];
1925
+ cursorId: string;
1926
+ columnCount: number;
1927
+ pageSizeRef: React.MutableRefObject<number>;
1928
+ cursorIndexRef: {
1929
+ readonly current: number;
1930
+ };
1931
+ UNSTABLE_virtual: {
1932
+ virtualItems: import("../../collection/lib/react-virtual").VirtualItem[];
1933
+ totalSize: number;
1934
+ scrollToOffset: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
1935
+ scrollToIndex: (index: number, options?: import("../../collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
1936
+ measure: () => void;
1937
+ };
1938
+ UNSTABLE_defaultItemHeight: number;
1939
+ containerRef: React.RefObject<HTMLDivElement>;
1940
+ orientation: "horizontal" | "vertical";
1941
+ indexRef: React.MutableRefObject<number>;
1942
+ nonInteractiveIds: string[];
1943
+ isVirtualized: boolean;
1944
+ items: import("../..").Item<any>[];
1945
+ mode: "multiple" | "single";
1946
+ value: string | undefined;
1947
+ inputRef: React.RefObject<HTMLInputElement>;
1948
+ /**
1949
+ * The width of the combobox input. This is used to make sure the UI renders the menu the same
1950
+ * width as the input.
1951
+ */
1952
+ width: number;
1953
+ };
1954
+ events: {
1955
+ /**
1956
+ * Change the width of the menu. Usually this is set to the width of the input.
1957
+ */
1958
+ setWidth(width: number): void;
1959
+ updatePlacement(data: {
1960
+ placement: import("@popperjs/core").Placement;
1961
+ }): void;
1962
+ show(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
1963
+ hide(event?: Event | React.SyntheticEvent<Element, Event> | undefined): void;
1964
+ select(data: {
1965
+ id: string;
1966
+ }): void;
1967
+ selectAll(): void;
1968
+ unselectAll(): void;
1969
+ goTo(data: {
1970
+ id: string;
1971
+ }): void;
1972
+ goToNext(): void;
1973
+ goToPrevious(): void;
1974
+ goToPreviousRow(): void;
1975
+ goToNextRow(): void;
1976
+ goToFirst(): void;
1977
+ goToLast(): void;
1978
+ goToFirstOfRow(): void;
1979
+ goToLastOfRow(): void;
1980
+ goToNextPage(): void;
1981
+ goToPreviousPage(): void;
1982
+ registerItem(data: {
1983
+ item: any;
1984
+ textValue: string;
1985
+ }): void;
1986
+ unregisterItem(data: {
1987
+ id: string;
1988
+ }): void;
1989
+ updateItemHeight(data: {
1990
+ value: number;
1991
+ }): void;
1992
+ };
1993
+ onChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
1994
+ selection: import("../../collection/lib/useSelectionListModel").SelectionManager;
1995
+ navigation: import("../../collection/lib/useCursorListModel").NavigationManager;
1996
+ getId: (item: any) => string;
1997
+ }>;
1998
+ //# sourceMappingURL=useComboboxModel.d.ts.map