@workday/canvas-kit-labs-react 16.1.4 → 16.2.0-0604-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/dist/commonjs/ai-ingress-button/lib/AIIngressButton.js +5 -5
  2. package/dist/commonjs/index.d.ts +1 -0
  3. package/dist/commonjs/index.d.ts.map +1 -1
  4. package/dist/commonjs/index.js +1 -0
  5. package/dist/commonjs/kbd/lib/KBD.js +6 -6
  6. package/dist/commonjs/kbd/lib/KBDItem.js +6 -6
  7. package/dist/commonjs/selection-group/index.d.ts +7 -0
  8. package/dist/commonjs/selection-group/index.d.ts.map +1 -0
  9. package/dist/commonjs/selection-group/index.js +22 -0
  10. package/dist/commonjs/selection-group/lib/SelectionGroup.d.ts +1499 -0
  11. package/dist/commonjs/selection-group/lib/SelectionGroup.d.ts.map +1 -0
  12. package/dist/commonjs/selection-group/lib/SelectionGroup.js +61 -0
  13. package/dist/commonjs/selection-group/lib/SelectionGroupIcon.d.ts +17 -0
  14. package/dist/commonjs/selection-group/lib/SelectionGroupIcon.d.ts.map +1 -0
  15. package/dist/commonjs/selection-group/lib/SelectionGroupIcon.js +24 -0
  16. package/dist/commonjs/selection-group/lib/SelectionGroupItem.d.ts +173 -0
  17. package/dist/commonjs/selection-group/lib/SelectionGroupItem.d.ts.map +1 -0
  18. package/dist/commonjs/selection-group/lib/SelectionGroupItem.js +37 -0
  19. package/dist/commonjs/selection-group/lib/SelectionGroupList.d.ts +172 -0
  20. package/dist/commonjs/selection-group/lib/SelectionGroupList.d.ts.map +1 -0
  21. package/dist/commonjs/selection-group/lib/SelectionGroupList.js +35 -0
  22. package/dist/commonjs/selection-group/lib/hooks/useSelectionGroupItem.d.ts +146 -0
  23. package/dist/commonjs/selection-group/lib/hooks/useSelectionGroupItem.d.ts.map +1 -0
  24. package/dist/commonjs/selection-group/lib/hooks/useSelectionGroupItem.js +29 -0
  25. package/dist/commonjs/selection-group/lib/hooks/useSelectionGroupModel.d.ts +1602 -0
  26. package/dist/commonjs/selection-group/lib/hooks/useSelectionGroupModel.d.ts.map +1 -0
  27. package/dist/commonjs/selection-group/lib/hooks/useSelectionGroupModel.js +166 -0
  28. package/dist/commonjs/version/lib/version.js +1 -1
  29. package/dist/es6/ai-ingress-button/lib/AIIngressButton.js +5 -5
  30. package/dist/es6/index.d.ts +1 -0
  31. package/dist/es6/index.d.ts.map +1 -1
  32. package/dist/es6/index.js +1 -0
  33. package/dist/es6/kbd/lib/KBD.js +6 -6
  34. package/dist/es6/kbd/lib/KBDItem.js +6 -6
  35. package/dist/es6/selection-group/index.d.ts +7 -0
  36. package/dist/es6/selection-group/index.d.ts.map +1 -0
  37. package/dist/es6/selection-group/index.js +6 -0
  38. package/dist/es6/selection-group/lib/SelectionGroup.d.ts +1499 -0
  39. package/dist/es6/selection-group/lib/SelectionGroup.d.ts.map +1 -0
  40. package/dist/es6/selection-group/lib/SelectionGroup.js +58 -0
  41. package/dist/es6/selection-group/lib/SelectionGroupIcon.d.ts +17 -0
  42. package/dist/es6/selection-group/lib/SelectionGroupIcon.d.ts.map +1 -0
  43. package/dist/es6/selection-group/lib/SelectionGroupIcon.js +21 -0
  44. package/dist/es6/selection-group/lib/SelectionGroupItem.d.ts +173 -0
  45. package/dist/es6/selection-group/lib/SelectionGroupItem.d.ts.map +1 -0
  46. package/dist/es6/selection-group/lib/SelectionGroupItem.js +34 -0
  47. package/dist/es6/selection-group/lib/SelectionGroupList.d.ts +172 -0
  48. package/dist/es6/selection-group/lib/SelectionGroupList.d.ts.map +1 -0
  49. package/dist/es6/selection-group/lib/SelectionGroupList.js +32 -0
  50. package/dist/es6/selection-group/lib/hooks/useSelectionGroupItem.d.ts +146 -0
  51. package/dist/es6/selection-group/lib/hooks/useSelectionGroupItem.d.ts.map +1 -0
  52. package/dist/es6/selection-group/lib/hooks/useSelectionGroupItem.js +26 -0
  53. package/dist/es6/selection-group/lib/hooks/useSelectionGroupModel.d.ts +1602 -0
  54. package/dist/es6/selection-group/lib/hooks/useSelectionGroupModel.d.ts.map +1 -0
  55. package/dist/es6/selection-group/lib/hooks/useSelectionGroupModel.js +160 -0
  56. package/dist/es6/version/lib/version.js +1 -1
  57. package/index.ts +1 -0
  58. package/package.json +4 -4
  59. package/selection-group/index.ts +6 -0
  60. package/selection-group/lib/SelectionGroup.tsx +65 -0
  61. package/selection-group/lib/SelectionGroupIcon.tsx +60 -0
  62. package/selection-group/lib/SelectionGroupItem.tsx +143 -0
  63. package/selection-group/lib/SelectionGroupList.tsx +89 -0
  64. package/selection-group/lib/hooks/useSelectionGroupItem.tsx +46 -0
  65. package/selection-group/lib/hooks/useSelectionGroupModel.tsx +195 -0
  66. package/selection-group/package.json +6 -0
@@ -0,0 +1,1499 @@
1
+ import React from 'react';
2
+ export interface SelectionGroupProps {
3
+ children: React.ReactNode;
4
+ }
5
+ /**
6
+ * `SelectionGroup` is a container component that allows users to select one or more options from a
7
+ * predefined list using chip-style controls with a lightweight glyph indicator. It is responsible
8
+ * for creating a {@link useSelectionGroupModel SelectionGroupModel} and sharing it with its
9
+ * subcomponents using React context. It does not represent a real element.
10
+ *
11
+ * ```tsx
12
+ * <SelectionGroup mode="single">
13
+ * <SelectionGroup.List aria-label="Select one option">
14
+ * <SelectionGroup.Item data-id="first">First</SelectionGroup.Item>
15
+ * <SelectionGroup.Item data-id="second">Second</SelectionGroup.Item>
16
+ * </SelectionGroup.List>
17
+ * </SelectionGroup>
18
+ * ```
19
+ *
20
+ * Alternatively, you may pass in a model using the [hoisted model
21
+ * pattern](/getting-started/for-developers/resources/compound-components/#configuring-a-model).
22
+ *
23
+ * ```tsx
24
+ * const model = useSelectionGroupModel({mode: 'multiple'});
25
+ *
26
+ * <SelectionGroup model={model}>{Child components}</SelectionGroup>
27
+ * ```
28
+ */
29
+ export declare const SelectionGroup: import("@workday/canvas-kit-react/common").ComponentM<SelectionGroupProps & Partial<{
30
+ id: string;
31
+ mode: import("./hooks/useSelectionGroupModel").SelectionGroupMode;
32
+ selection: import("@workday/canvas-kit-react/collection").SelectionManager | undefined;
33
+ width: import("./hooks/useSelectionGroupModel").SelectionGroupWidth;
34
+ initialSelectedIds: string[];
35
+ selectedIds: string[] | undefined;
36
+ disabled: boolean;
37
+ error: import("./hooks/useSelectionGroupModel").SelectionGroupError | undefined;
38
+ 'aria-invalid': boolean | undefined;
39
+ 'aria-describedby': string | undefined;
40
+ orientation: import("@workday/canvas-kit-react/collection").Orientation;
41
+ initialUnselectedIds: string[];
42
+ initialCursorId: string | string[];
43
+ columnCount: number;
44
+ navigation: import("@workday/canvas-kit-react/collection").NavigationManager;
45
+ pageSize: number;
46
+ getId: (item: any) => string;
47
+ getTextValue: (item: any) => string;
48
+ nonInteractiveIds: string[];
49
+ defaultItemHeight: number;
50
+ shouldVirtualize: boolean;
51
+ items: any[];
52
+ UNSTABLE_parentModel: {
53
+ state: {
54
+ selectedIds: string[] | "all";
55
+ unselectedIds: string[];
56
+ cursorId: string | string[];
57
+ columnCount: number;
58
+ pageSizeRef: React.MutableRefObject<number>;
59
+ cursorIndexRef: {
60
+ readonly current: number;
61
+ };
62
+ UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
63
+ UNSTABLE_defaultItemHeight: number;
64
+ containerRef: React.RefObject<HTMLDivElement>;
65
+ id: string;
66
+ orientation: "horizontal" | "vertical";
67
+ indexRef: React.MutableRefObject<number>;
68
+ nonInteractiveIds: string[];
69
+ isVirtualized: boolean;
70
+ items: import("@workday/canvas-kit-react/collection").Item<any>[];
71
+ };
72
+ events: {
73
+ select(data: {
74
+ id: string;
75
+ }): void;
76
+ selectAll(): void;
77
+ unselectAll(): void;
78
+ setSelectedIds(ids: string[] | "all"): void;
79
+ remove(data: {
80
+ id: string;
81
+ nextId?: string | undefined;
82
+ event?: Event | React.SyntheticEvent<Element, Event> | undefined;
83
+ }): void;
84
+ goTo(data: {
85
+ id: string;
86
+ }): void;
87
+ goToNext(): void;
88
+ goToPrevious(): void;
89
+ goToPreviousRow(): void;
90
+ goToNextRow(): void;
91
+ goToFirst(): void;
92
+ goToLast(): void;
93
+ goToFirstOfRow(): void;
94
+ goToLastOfRow(): void;
95
+ goToNextPage(): void;
96
+ goToPreviousPage(): void;
97
+ registerItem(data: {
98
+ id: string;
99
+ textValue: string;
100
+ }): void;
101
+ unregisterItem(data: {
102
+ id: string;
103
+ }): void;
104
+ updateItemHeight(data: {
105
+ value: number;
106
+ }): void;
107
+ };
108
+ selection: import("@workday/canvas-kit-react/collection").SelectionManager;
109
+ navigation: import("@workday/canvas-kit-react/collection").NavigationManager;
110
+ getId: (item: any) => string;
111
+ getTextValue: (item: any) => string;
112
+ } | undefined;
113
+ }> & {
114
+ onGoToNext?: ((data: undefined, prevState: {
115
+ mode: import("./hooks/useSelectionGroupModel").SelectionGroupMode;
116
+ width: import("./hooks/useSelectionGroupModel").SelectionGroupWidth;
117
+ disabled: boolean;
118
+ error: import("./hooks/useSelectionGroupModel").SelectionGroupError | undefined;
119
+ 'aria-invalid': boolean | undefined;
120
+ 'aria-describedby': string | undefined;
121
+ selectedIds: string[] | "all";
122
+ unselectedIds: string[];
123
+ cursorId: string | string[];
124
+ columnCount: number;
125
+ pageSizeRef: React.MutableRefObject<number>;
126
+ cursorIndexRef: {
127
+ readonly current: number;
128
+ };
129
+ UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
130
+ UNSTABLE_defaultItemHeight: number;
131
+ containerRef: React.RefObject<HTMLDivElement>;
132
+ id: string;
133
+ orientation: "horizontal" | "vertical";
134
+ indexRef: React.MutableRefObject<number>;
135
+ nonInteractiveIds: string[];
136
+ isVirtualized: boolean;
137
+ items: import("@workday/canvas-kit-react/collection").Item<any>[];
138
+ }) => void) | undefined;
139
+ onGoToPrevious?: ((data: undefined, prevState: {
140
+ mode: import("./hooks/useSelectionGroupModel").SelectionGroupMode;
141
+ width: import("./hooks/useSelectionGroupModel").SelectionGroupWidth;
142
+ disabled: boolean;
143
+ error: import("./hooks/useSelectionGroupModel").SelectionGroupError | undefined;
144
+ 'aria-invalid': boolean | undefined;
145
+ 'aria-describedby': string | undefined;
146
+ selectedIds: string[] | "all";
147
+ unselectedIds: string[];
148
+ cursorId: string | string[];
149
+ columnCount: number;
150
+ pageSizeRef: React.MutableRefObject<number>;
151
+ cursorIndexRef: {
152
+ readonly current: number;
153
+ };
154
+ UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
155
+ UNSTABLE_defaultItemHeight: number;
156
+ containerRef: React.RefObject<HTMLDivElement>;
157
+ id: string;
158
+ orientation: "horizontal" | "vertical";
159
+ indexRef: React.MutableRefObject<number>;
160
+ nonInteractiveIds: string[];
161
+ isVirtualized: boolean;
162
+ items: import("@workday/canvas-kit-react/collection").Item<any>[];
163
+ }) => void) | undefined;
164
+ onGoToPreviousRow?: ((data: undefined, prevState: {
165
+ mode: import("./hooks/useSelectionGroupModel").SelectionGroupMode;
166
+ width: import("./hooks/useSelectionGroupModel").SelectionGroupWidth;
167
+ disabled: boolean;
168
+ error: import("./hooks/useSelectionGroupModel").SelectionGroupError | undefined;
169
+ 'aria-invalid': boolean | undefined;
170
+ 'aria-describedby': string | undefined;
171
+ selectedIds: string[] | "all";
172
+ unselectedIds: string[];
173
+ cursorId: string | string[];
174
+ columnCount: number;
175
+ pageSizeRef: React.MutableRefObject<number>;
176
+ cursorIndexRef: {
177
+ readonly current: number;
178
+ };
179
+ UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
180
+ UNSTABLE_defaultItemHeight: number;
181
+ containerRef: React.RefObject<HTMLDivElement>;
182
+ id: string;
183
+ orientation: "horizontal" | "vertical";
184
+ indexRef: React.MutableRefObject<number>;
185
+ nonInteractiveIds: string[];
186
+ isVirtualized: boolean;
187
+ items: import("@workday/canvas-kit-react/collection").Item<any>[];
188
+ }) => void) | undefined;
189
+ onGoToNextRow?: ((data: undefined, prevState: {
190
+ mode: import("./hooks/useSelectionGroupModel").SelectionGroupMode;
191
+ width: import("./hooks/useSelectionGroupModel").SelectionGroupWidth;
192
+ disabled: boolean;
193
+ error: import("./hooks/useSelectionGroupModel").SelectionGroupError | undefined;
194
+ 'aria-invalid': boolean | undefined;
195
+ 'aria-describedby': string | undefined;
196
+ selectedIds: string[] | "all";
197
+ unselectedIds: string[];
198
+ cursorId: string | string[];
199
+ columnCount: number;
200
+ pageSizeRef: React.MutableRefObject<number>;
201
+ cursorIndexRef: {
202
+ readonly current: number;
203
+ };
204
+ UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
205
+ UNSTABLE_defaultItemHeight: number;
206
+ containerRef: React.RefObject<HTMLDivElement>;
207
+ id: string;
208
+ orientation: "horizontal" | "vertical";
209
+ indexRef: React.MutableRefObject<number>;
210
+ nonInteractiveIds: string[];
211
+ isVirtualized: boolean;
212
+ items: import("@workday/canvas-kit-react/collection").Item<any>[];
213
+ }) => void) | undefined;
214
+ onGoToFirst?: ((data: undefined, prevState: {
215
+ mode: import("./hooks/useSelectionGroupModel").SelectionGroupMode;
216
+ width: import("./hooks/useSelectionGroupModel").SelectionGroupWidth;
217
+ disabled: boolean;
218
+ error: import("./hooks/useSelectionGroupModel").SelectionGroupError | undefined;
219
+ 'aria-invalid': boolean | undefined;
220
+ 'aria-describedby': string | undefined;
221
+ selectedIds: string[] | "all";
222
+ unselectedIds: string[];
223
+ cursorId: string | string[];
224
+ columnCount: number;
225
+ pageSizeRef: React.MutableRefObject<number>;
226
+ cursorIndexRef: {
227
+ readonly current: number;
228
+ };
229
+ UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
230
+ UNSTABLE_defaultItemHeight: number;
231
+ containerRef: React.RefObject<HTMLDivElement>;
232
+ id: string;
233
+ orientation: "horizontal" | "vertical";
234
+ indexRef: React.MutableRefObject<number>;
235
+ nonInteractiveIds: string[];
236
+ isVirtualized: boolean;
237
+ items: import("@workday/canvas-kit-react/collection").Item<any>[];
238
+ }) => void) | undefined;
239
+ onGoToLast?: ((data: undefined, prevState: {
240
+ mode: import("./hooks/useSelectionGroupModel").SelectionGroupMode;
241
+ width: import("./hooks/useSelectionGroupModel").SelectionGroupWidth;
242
+ disabled: boolean;
243
+ error: import("./hooks/useSelectionGroupModel").SelectionGroupError | undefined;
244
+ 'aria-invalid': boolean | undefined;
245
+ 'aria-describedby': string | undefined;
246
+ selectedIds: string[] | "all";
247
+ unselectedIds: string[];
248
+ cursorId: string | string[];
249
+ columnCount: number;
250
+ pageSizeRef: React.MutableRefObject<number>;
251
+ cursorIndexRef: {
252
+ readonly current: number;
253
+ };
254
+ UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
255
+ UNSTABLE_defaultItemHeight: number;
256
+ containerRef: React.RefObject<HTMLDivElement>;
257
+ id: string;
258
+ orientation: "horizontal" | "vertical";
259
+ indexRef: React.MutableRefObject<number>;
260
+ nonInteractiveIds: string[];
261
+ isVirtualized: boolean;
262
+ items: import("@workday/canvas-kit-react/collection").Item<any>[];
263
+ }) => void) | undefined;
264
+ onGoToFirstOfRow?: ((data: undefined, prevState: {
265
+ mode: import("./hooks/useSelectionGroupModel").SelectionGroupMode;
266
+ width: import("./hooks/useSelectionGroupModel").SelectionGroupWidth;
267
+ disabled: boolean;
268
+ error: import("./hooks/useSelectionGroupModel").SelectionGroupError | undefined;
269
+ 'aria-invalid': boolean | undefined;
270
+ 'aria-describedby': string | undefined;
271
+ selectedIds: string[] | "all";
272
+ unselectedIds: string[];
273
+ cursorId: string | string[];
274
+ columnCount: number;
275
+ pageSizeRef: React.MutableRefObject<number>;
276
+ cursorIndexRef: {
277
+ readonly current: number;
278
+ };
279
+ UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
280
+ UNSTABLE_defaultItemHeight: number;
281
+ containerRef: React.RefObject<HTMLDivElement>;
282
+ id: string;
283
+ orientation: "horizontal" | "vertical";
284
+ indexRef: React.MutableRefObject<number>;
285
+ nonInteractiveIds: string[];
286
+ isVirtualized: boolean;
287
+ items: import("@workday/canvas-kit-react/collection").Item<any>[];
288
+ }) => void) | undefined;
289
+ onGoToLastOfRow?: ((data: undefined, prevState: {
290
+ mode: import("./hooks/useSelectionGroupModel").SelectionGroupMode;
291
+ width: import("./hooks/useSelectionGroupModel").SelectionGroupWidth;
292
+ disabled: boolean;
293
+ error: import("./hooks/useSelectionGroupModel").SelectionGroupError | undefined;
294
+ 'aria-invalid': boolean | undefined;
295
+ 'aria-describedby': string | undefined;
296
+ selectedIds: string[] | "all";
297
+ unselectedIds: string[];
298
+ cursorId: string | string[];
299
+ columnCount: number;
300
+ pageSizeRef: React.MutableRefObject<number>;
301
+ cursorIndexRef: {
302
+ readonly current: number;
303
+ };
304
+ UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
305
+ UNSTABLE_defaultItemHeight: number;
306
+ containerRef: React.RefObject<HTMLDivElement>;
307
+ id: string;
308
+ orientation: "horizontal" | "vertical";
309
+ indexRef: React.MutableRefObject<number>;
310
+ nonInteractiveIds: string[];
311
+ isVirtualized: boolean;
312
+ items: import("@workday/canvas-kit-react/collection").Item<any>[];
313
+ }) => void) | undefined;
314
+ onGoToNextPage?: ((data: undefined, prevState: {
315
+ mode: import("./hooks/useSelectionGroupModel").SelectionGroupMode;
316
+ width: import("./hooks/useSelectionGroupModel").SelectionGroupWidth;
317
+ disabled: boolean;
318
+ error: import("./hooks/useSelectionGroupModel").SelectionGroupError | undefined;
319
+ 'aria-invalid': boolean | undefined;
320
+ 'aria-describedby': string | undefined;
321
+ selectedIds: string[] | "all";
322
+ unselectedIds: string[];
323
+ cursorId: string | string[];
324
+ columnCount: number;
325
+ pageSizeRef: React.MutableRefObject<number>;
326
+ cursorIndexRef: {
327
+ readonly current: number;
328
+ };
329
+ UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
330
+ UNSTABLE_defaultItemHeight: number;
331
+ containerRef: React.RefObject<HTMLDivElement>;
332
+ id: string;
333
+ orientation: "horizontal" | "vertical";
334
+ indexRef: React.MutableRefObject<number>;
335
+ nonInteractiveIds: string[];
336
+ isVirtualized: boolean;
337
+ items: import("@workday/canvas-kit-react/collection").Item<any>[];
338
+ }) => void) | undefined;
339
+ onGoToPreviousPage?: ((data: undefined, prevState: {
340
+ mode: import("./hooks/useSelectionGroupModel").SelectionGroupMode;
341
+ width: import("./hooks/useSelectionGroupModel").SelectionGroupWidth;
342
+ disabled: boolean;
343
+ error: import("./hooks/useSelectionGroupModel").SelectionGroupError | undefined;
344
+ 'aria-invalid': boolean | undefined;
345
+ 'aria-describedby': string | undefined;
346
+ selectedIds: string[] | "all";
347
+ unselectedIds: string[];
348
+ cursorId: string | string[];
349
+ columnCount: number;
350
+ pageSizeRef: React.MutableRefObject<number>;
351
+ cursorIndexRef: {
352
+ readonly current: number;
353
+ };
354
+ UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
355
+ UNSTABLE_defaultItemHeight: number;
356
+ containerRef: React.RefObject<HTMLDivElement>;
357
+ id: string;
358
+ orientation: "horizontal" | "vertical";
359
+ indexRef: React.MutableRefObject<number>;
360
+ nonInteractiveIds: string[];
361
+ isVirtualized: boolean;
362
+ items: import("@workday/canvas-kit-react/collection").Item<any>[];
363
+ }) => void) | undefined;
364
+ onSelect?: ((data: {
365
+ id: string;
366
+ }, prevState: {
367
+ mode: import("./hooks/useSelectionGroupModel").SelectionGroupMode;
368
+ width: import("./hooks/useSelectionGroupModel").SelectionGroupWidth;
369
+ disabled: boolean;
370
+ error: import("./hooks/useSelectionGroupModel").SelectionGroupError | undefined;
371
+ 'aria-invalid': boolean | undefined;
372
+ 'aria-describedby': string | undefined;
373
+ selectedIds: string[] | "all";
374
+ unselectedIds: string[];
375
+ cursorId: string | string[];
376
+ columnCount: number;
377
+ pageSizeRef: React.MutableRefObject<number>;
378
+ cursorIndexRef: {
379
+ readonly current: number;
380
+ };
381
+ UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
382
+ UNSTABLE_defaultItemHeight: number;
383
+ containerRef: React.RefObject<HTMLDivElement>;
384
+ id: string;
385
+ orientation: "horizontal" | "vertical";
386
+ indexRef: React.MutableRefObject<number>;
387
+ nonInteractiveIds: string[];
388
+ isVirtualized: boolean;
389
+ items: import("@workday/canvas-kit-react/collection").Item<any>[];
390
+ }) => void) | undefined;
391
+ onSelectAll?: ((data: undefined, prevState: {
392
+ mode: import("./hooks/useSelectionGroupModel").SelectionGroupMode;
393
+ width: import("./hooks/useSelectionGroupModel").SelectionGroupWidth;
394
+ disabled: boolean;
395
+ error: import("./hooks/useSelectionGroupModel").SelectionGroupError | undefined;
396
+ 'aria-invalid': boolean | undefined;
397
+ 'aria-describedby': string | undefined;
398
+ selectedIds: string[] | "all";
399
+ unselectedIds: string[];
400
+ cursorId: string | string[];
401
+ columnCount: number;
402
+ pageSizeRef: React.MutableRefObject<number>;
403
+ cursorIndexRef: {
404
+ readonly current: number;
405
+ };
406
+ UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
407
+ UNSTABLE_defaultItemHeight: number;
408
+ containerRef: React.RefObject<HTMLDivElement>;
409
+ id: string;
410
+ orientation: "horizontal" | "vertical";
411
+ indexRef: React.MutableRefObject<number>;
412
+ nonInteractiveIds: string[];
413
+ isVirtualized: boolean;
414
+ items: import("@workday/canvas-kit-react/collection").Item<any>[];
415
+ }) => void) | undefined;
416
+ onUnselectAll?: ((data: undefined, prevState: {
417
+ mode: import("./hooks/useSelectionGroupModel").SelectionGroupMode;
418
+ width: import("./hooks/useSelectionGroupModel").SelectionGroupWidth;
419
+ disabled: boolean;
420
+ error: import("./hooks/useSelectionGroupModel").SelectionGroupError | undefined;
421
+ 'aria-invalid': boolean | undefined;
422
+ 'aria-describedby': string | undefined;
423
+ selectedIds: string[] | "all";
424
+ unselectedIds: string[];
425
+ cursorId: string | string[];
426
+ columnCount: number;
427
+ pageSizeRef: React.MutableRefObject<number>;
428
+ cursorIndexRef: {
429
+ readonly current: number;
430
+ };
431
+ UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
432
+ UNSTABLE_defaultItemHeight: number;
433
+ containerRef: React.RefObject<HTMLDivElement>;
434
+ id: string;
435
+ orientation: "horizontal" | "vertical";
436
+ indexRef: React.MutableRefObject<number>;
437
+ nonInteractiveIds: string[];
438
+ isVirtualized: boolean;
439
+ items: import("@workday/canvas-kit-react/collection").Item<any>[];
440
+ }) => void) | undefined;
441
+ onSetSelectedIds?: ((data: string[] | "all", prevState: {
442
+ mode: import("./hooks/useSelectionGroupModel").SelectionGroupMode;
443
+ width: import("./hooks/useSelectionGroupModel").SelectionGroupWidth;
444
+ disabled: boolean;
445
+ error: import("./hooks/useSelectionGroupModel").SelectionGroupError | undefined;
446
+ 'aria-invalid': boolean | undefined;
447
+ 'aria-describedby': string | undefined;
448
+ selectedIds: string[] | "all";
449
+ unselectedIds: string[];
450
+ cursorId: string | string[];
451
+ columnCount: number;
452
+ pageSizeRef: React.MutableRefObject<number>;
453
+ cursorIndexRef: {
454
+ readonly current: number;
455
+ };
456
+ UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
457
+ UNSTABLE_defaultItemHeight: number;
458
+ containerRef: React.RefObject<HTMLDivElement>;
459
+ id: string;
460
+ orientation: "horizontal" | "vertical";
461
+ indexRef: React.MutableRefObject<number>;
462
+ nonInteractiveIds: string[];
463
+ isVirtualized: boolean;
464
+ items: import("@workday/canvas-kit-react/collection").Item<any>[];
465
+ }) => void) | undefined;
466
+ onRemove?: ((data: {
467
+ id: string;
468
+ nextId?: string | undefined;
469
+ event?: Event | React.SyntheticEvent<Element, Event> | undefined;
470
+ }, prevState: {
471
+ mode: import("./hooks/useSelectionGroupModel").SelectionGroupMode;
472
+ width: import("./hooks/useSelectionGroupModel").SelectionGroupWidth;
473
+ disabled: boolean;
474
+ error: import("./hooks/useSelectionGroupModel").SelectionGroupError | undefined;
475
+ 'aria-invalid': boolean | undefined;
476
+ 'aria-describedby': string | undefined;
477
+ selectedIds: string[] | "all";
478
+ unselectedIds: string[];
479
+ cursorId: string | string[];
480
+ columnCount: number;
481
+ pageSizeRef: React.MutableRefObject<number>;
482
+ cursorIndexRef: {
483
+ readonly current: number;
484
+ };
485
+ UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
486
+ UNSTABLE_defaultItemHeight: number;
487
+ containerRef: React.RefObject<HTMLDivElement>;
488
+ id: string;
489
+ orientation: "horizontal" | "vertical";
490
+ indexRef: React.MutableRefObject<number>;
491
+ nonInteractiveIds: string[];
492
+ isVirtualized: boolean;
493
+ items: import("@workday/canvas-kit-react/collection").Item<any>[];
494
+ }) => void) | undefined;
495
+ onGoTo?: ((data: {
496
+ id: string;
497
+ }, prevState: {
498
+ mode: import("./hooks/useSelectionGroupModel").SelectionGroupMode;
499
+ width: import("./hooks/useSelectionGroupModel").SelectionGroupWidth;
500
+ disabled: boolean;
501
+ error: import("./hooks/useSelectionGroupModel").SelectionGroupError | undefined;
502
+ 'aria-invalid': boolean | undefined;
503
+ 'aria-describedby': string | undefined;
504
+ selectedIds: string[] | "all";
505
+ unselectedIds: string[];
506
+ cursorId: string | string[];
507
+ columnCount: number;
508
+ pageSizeRef: React.MutableRefObject<number>;
509
+ cursorIndexRef: {
510
+ readonly current: number;
511
+ };
512
+ UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
513
+ UNSTABLE_defaultItemHeight: number;
514
+ containerRef: React.RefObject<HTMLDivElement>;
515
+ id: string;
516
+ orientation: "horizontal" | "vertical";
517
+ indexRef: React.MutableRefObject<number>;
518
+ nonInteractiveIds: string[];
519
+ isVirtualized: boolean;
520
+ items: import("@workday/canvas-kit-react/collection").Item<any>[];
521
+ }) => void) | undefined;
522
+ onRegisterItem?: ((data: {
523
+ id: string;
524
+ textValue: string;
525
+ }, prevState: {
526
+ mode: import("./hooks/useSelectionGroupModel").SelectionGroupMode;
527
+ width: import("./hooks/useSelectionGroupModel").SelectionGroupWidth;
528
+ disabled: boolean;
529
+ error: import("./hooks/useSelectionGroupModel").SelectionGroupError | undefined;
530
+ 'aria-invalid': boolean | undefined;
531
+ 'aria-describedby': string | undefined;
532
+ selectedIds: string[] | "all";
533
+ unselectedIds: string[];
534
+ cursorId: string | string[];
535
+ columnCount: number;
536
+ pageSizeRef: React.MutableRefObject<number>;
537
+ cursorIndexRef: {
538
+ readonly current: number;
539
+ };
540
+ UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
541
+ UNSTABLE_defaultItemHeight: number;
542
+ containerRef: React.RefObject<HTMLDivElement>;
543
+ id: string;
544
+ orientation: "horizontal" | "vertical";
545
+ indexRef: React.MutableRefObject<number>;
546
+ nonInteractiveIds: string[];
547
+ isVirtualized: boolean;
548
+ items: import("@workday/canvas-kit-react/collection").Item<any>[];
549
+ }) => void) | undefined;
550
+ onUnregisterItem?: ((data: {
551
+ id: string;
552
+ }, prevState: {
553
+ mode: import("./hooks/useSelectionGroupModel").SelectionGroupMode;
554
+ width: import("./hooks/useSelectionGroupModel").SelectionGroupWidth;
555
+ disabled: boolean;
556
+ error: import("./hooks/useSelectionGroupModel").SelectionGroupError | undefined;
557
+ 'aria-invalid': boolean | undefined;
558
+ 'aria-describedby': string | undefined;
559
+ selectedIds: string[] | "all";
560
+ unselectedIds: string[];
561
+ cursorId: string | string[];
562
+ columnCount: number;
563
+ pageSizeRef: React.MutableRefObject<number>;
564
+ cursorIndexRef: {
565
+ readonly current: number;
566
+ };
567
+ UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
568
+ UNSTABLE_defaultItemHeight: number;
569
+ containerRef: React.RefObject<HTMLDivElement>;
570
+ id: string;
571
+ orientation: "horizontal" | "vertical";
572
+ indexRef: React.MutableRefObject<number>;
573
+ nonInteractiveIds: string[];
574
+ isVirtualized: boolean;
575
+ items: import("@workday/canvas-kit-react/collection").Item<any>[];
576
+ }) => void) | undefined;
577
+ onUpdateItemHeight?: ((data: {
578
+ value: number;
579
+ }, prevState: {
580
+ mode: import("./hooks/useSelectionGroupModel").SelectionGroupMode;
581
+ width: import("./hooks/useSelectionGroupModel").SelectionGroupWidth;
582
+ disabled: boolean;
583
+ error: import("./hooks/useSelectionGroupModel").SelectionGroupError | undefined;
584
+ 'aria-invalid': boolean | undefined;
585
+ 'aria-describedby': string | undefined;
586
+ selectedIds: string[] | "all";
587
+ unselectedIds: string[];
588
+ cursorId: string | string[];
589
+ columnCount: number;
590
+ pageSizeRef: React.MutableRefObject<number>;
591
+ cursorIndexRef: {
592
+ readonly current: number;
593
+ };
594
+ UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
595
+ UNSTABLE_defaultItemHeight: number;
596
+ containerRef: React.RefObject<HTMLDivElement>;
597
+ id: string;
598
+ orientation: "horizontal" | "vertical";
599
+ indexRef: React.MutableRefObject<number>;
600
+ nonInteractiveIds: string[];
601
+ isVirtualized: boolean;
602
+ items: import("@workday/canvas-kit-react/collection").Item<any>[];
603
+ }) => void) | undefined;
604
+ } & {
605
+ shouldGoToNext?: ((data: undefined, state: {
606
+ mode: import("./hooks/useSelectionGroupModel").SelectionGroupMode;
607
+ width: import("./hooks/useSelectionGroupModel").SelectionGroupWidth;
608
+ disabled: boolean;
609
+ error: import("./hooks/useSelectionGroupModel").SelectionGroupError | undefined;
610
+ 'aria-invalid': boolean | undefined;
611
+ 'aria-describedby': string | undefined;
612
+ selectedIds: string[] | "all";
613
+ unselectedIds: string[];
614
+ cursorId: string | string[];
615
+ columnCount: number;
616
+ pageSizeRef: React.MutableRefObject<number>;
617
+ cursorIndexRef: {
618
+ readonly current: number;
619
+ };
620
+ UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
621
+ UNSTABLE_defaultItemHeight: number;
622
+ containerRef: React.RefObject<HTMLDivElement>;
623
+ id: string;
624
+ orientation: "horizontal" | "vertical";
625
+ indexRef: React.MutableRefObject<number>;
626
+ nonInteractiveIds: string[];
627
+ isVirtualized: boolean;
628
+ items: import("@workday/canvas-kit-react/collection").Item<any>[];
629
+ }) => boolean) | undefined;
630
+ shouldGoToPrevious?: ((data: undefined, state: {
631
+ mode: import("./hooks/useSelectionGroupModel").SelectionGroupMode;
632
+ width: import("./hooks/useSelectionGroupModel").SelectionGroupWidth;
633
+ disabled: boolean;
634
+ error: import("./hooks/useSelectionGroupModel").SelectionGroupError | undefined;
635
+ 'aria-invalid': boolean | undefined;
636
+ 'aria-describedby': string | undefined;
637
+ selectedIds: string[] | "all";
638
+ unselectedIds: string[];
639
+ cursorId: string | string[];
640
+ columnCount: number;
641
+ pageSizeRef: React.MutableRefObject<number>;
642
+ cursorIndexRef: {
643
+ readonly current: number;
644
+ };
645
+ UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
646
+ UNSTABLE_defaultItemHeight: number;
647
+ containerRef: React.RefObject<HTMLDivElement>;
648
+ id: string;
649
+ orientation: "horizontal" | "vertical";
650
+ indexRef: React.MutableRefObject<number>;
651
+ nonInteractiveIds: string[];
652
+ isVirtualized: boolean;
653
+ items: import("@workday/canvas-kit-react/collection").Item<any>[];
654
+ }) => boolean) | undefined;
655
+ shouldGoToPreviousRow?: ((data: undefined, state: {
656
+ mode: import("./hooks/useSelectionGroupModel").SelectionGroupMode;
657
+ width: import("./hooks/useSelectionGroupModel").SelectionGroupWidth;
658
+ disabled: boolean;
659
+ error: import("./hooks/useSelectionGroupModel").SelectionGroupError | undefined;
660
+ 'aria-invalid': boolean | undefined;
661
+ 'aria-describedby': string | undefined;
662
+ selectedIds: string[] | "all";
663
+ unselectedIds: string[];
664
+ cursorId: string | string[];
665
+ columnCount: number;
666
+ pageSizeRef: React.MutableRefObject<number>;
667
+ cursorIndexRef: {
668
+ readonly current: number;
669
+ };
670
+ UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
671
+ UNSTABLE_defaultItemHeight: number;
672
+ containerRef: React.RefObject<HTMLDivElement>;
673
+ id: string;
674
+ orientation: "horizontal" | "vertical";
675
+ indexRef: React.MutableRefObject<number>;
676
+ nonInteractiveIds: string[];
677
+ isVirtualized: boolean;
678
+ items: import("@workday/canvas-kit-react/collection").Item<any>[];
679
+ }) => boolean) | undefined;
680
+ shouldGoToNextRow?: ((data: undefined, state: {
681
+ mode: import("./hooks/useSelectionGroupModel").SelectionGroupMode;
682
+ width: import("./hooks/useSelectionGroupModel").SelectionGroupWidth;
683
+ disabled: boolean;
684
+ error: import("./hooks/useSelectionGroupModel").SelectionGroupError | undefined;
685
+ 'aria-invalid': boolean | undefined;
686
+ 'aria-describedby': string | undefined;
687
+ selectedIds: string[] | "all";
688
+ unselectedIds: string[];
689
+ cursorId: string | string[];
690
+ columnCount: number;
691
+ pageSizeRef: React.MutableRefObject<number>;
692
+ cursorIndexRef: {
693
+ readonly current: number;
694
+ };
695
+ UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
696
+ UNSTABLE_defaultItemHeight: number;
697
+ containerRef: React.RefObject<HTMLDivElement>;
698
+ id: string;
699
+ orientation: "horizontal" | "vertical";
700
+ indexRef: React.MutableRefObject<number>;
701
+ nonInteractiveIds: string[];
702
+ isVirtualized: boolean;
703
+ items: import("@workday/canvas-kit-react/collection").Item<any>[];
704
+ }) => boolean) | undefined;
705
+ shouldGoToFirst?: ((data: undefined, state: {
706
+ mode: import("./hooks/useSelectionGroupModel").SelectionGroupMode;
707
+ width: import("./hooks/useSelectionGroupModel").SelectionGroupWidth;
708
+ disabled: boolean;
709
+ error: import("./hooks/useSelectionGroupModel").SelectionGroupError | undefined;
710
+ 'aria-invalid': boolean | undefined;
711
+ 'aria-describedby': string | undefined;
712
+ selectedIds: string[] | "all";
713
+ unselectedIds: string[];
714
+ cursorId: string | string[];
715
+ columnCount: number;
716
+ pageSizeRef: React.MutableRefObject<number>;
717
+ cursorIndexRef: {
718
+ readonly current: number;
719
+ };
720
+ UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
721
+ UNSTABLE_defaultItemHeight: number;
722
+ containerRef: React.RefObject<HTMLDivElement>;
723
+ id: string;
724
+ orientation: "horizontal" | "vertical";
725
+ indexRef: React.MutableRefObject<number>;
726
+ nonInteractiveIds: string[];
727
+ isVirtualized: boolean;
728
+ items: import("@workday/canvas-kit-react/collection").Item<any>[];
729
+ }) => boolean) | undefined;
730
+ shouldGoToLast?: ((data: undefined, state: {
731
+ mode: import("./hooks/useSelectionGroupModel").SelectionGroupMode;
732
+ width: import("./hooks/useSelectionGroupModel").SelectionGroupWidth;
733
+ disabled: boolean;
734
+ error: import("./hooks/useSelectionGroupModel").SelectionGroupError | undefined;
735
+ 'aria-invalid': boolean | undefined;
736
+ 'aria-describedby': string | undefined;
737
+ selectedIds: string[] | "all";
738
+ unselectedIds: string[];
739
+ cursorId: string | string[];
740
+ columnCount: number;
741
+ pageSizeRef: React.MutableRefObject<number>;
742
+ cursorIndexRef: {
743
+ readonly current: number;
744
+ };
745
+ UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
746
+ UNSTABLE_defaultItemHeight: number;
747
+ containerRef: React.RefObject<HTMLDivElement>;
748
+ id: string;
749
+ orientation: "horizontal" | "vertical";
750
+ indexRef: React.MutableRefObject<number>;
751
+ nonInteractiveIds: string[];
752
+ isVirtualized: boolean;
753
+ items: import("@workday/canvas-kit-react/collection").Item<any>[];
754
+ }) => boolean) | undefined;
755
+ shouldGoToFirstOfRow?: ((data: undefined, state: {
756
+ mode: import("./hooks/useSelectionGroupModel").SelectionGroupMode;
757
+ width: import("./hooks/useSelectionGroupModel").SelectionGroupWidth;
758
+ disabled: boolean;
759
+ error: import("./hooks/useSelectionGroupModel").SelectionGroupError | undefined;
760
+ 'aria-invalid': boolean | undefined;
761
+ 'aria-describedby': string | undefined;
762
+ selectedIds: string[] | "all";
763
+ unselectedIds: string[];
764
+ cursorId: string | string[];
765
+ columnCount: number;
766
+ pageSizeRef: React.MutableRefObject<number>;
767
+ cursorIndexRef: {
768
+ readonly current: number;
769
+ };
770
+ UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
771
+ UNSTABLE_defaultItemHeight: number;
772
+ containerRef: React.RefObject<HTMLDivElement>;
773
+ id: string;
774
+ orientation: "horizontal" | "vertical";
775
+ indexRef: React.MutableRefObject<number>;
776
+ nonInteractiveIds: string[];
777
+ isVirtualized: boolean;
778
+ items: import("@workday/canvas-kit-react/collection").Item<any>[];
779
+ }) => boolean) | undefined;
780
+ shouldGoToLastOfRow?: ((data: undefined, state: {
781
+ mode: import("./hooks/useSelectionGroupModel").SelectionGroupMode;
782
+ width: import("./hooks/useSelectionGroupModel").SelectionGroupWidth;
783
+ disabled: boolean;
784
+ error: import("./hooks/useSelectionGroupModel").SelectionGroupError | undefined;
785
+ 'aria-invalid': boolean | undefined;
786
+ 'aria-describedby': string | undefined;
787
+ selectedIds: string[] | "all";
788
+ unselectedIds: string[];
789
+ cursorId: string | string[];
790
+ columnCount: number;
791
+ pageSizeRef: React.MutableRefObject<number>;
792
+ cursorIndexRef: {
793
+ readonly current: number;
794
+ };
795
+ UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
796
+ UNSTABLE_defaultItemHeight: number;
797
+ containerRef: React.RefObject<HTMLDivElement>;
798
+ id: string;
799
+ orientation: "horizontal" | "vertical";
800
+ indexRef: React.MutableRefObject<number>;
801
+ nonInteractiveIds: string[];
802
+ isVirtualized: boolean;
803
+ items: import("@workday/canvas-kit-react/collection").Item<any>[];
804
+ }) => boolean) | undefined;
805
+ shouldGoToNextPage?: ((data: undefined, state: {
806
+ mode: import("./hooks/useSelectionGroupModel").SelectionGroupMode;
807
+ width: import("./hooks/useSelectionGroupModel").SelectionGroupWidth;
808
+ disabled: boolean;
809
+ error: import("./hooks/useSelectionGroupModel").SelectionGroupError | undefined;
810
+ 'aria-invalid': boolean | undefined;
811
+ 'aria-describedby': string | undefined;
812
+ selectedIds: string[] | "all";
813
+ unselectedIds: string[];
814
+ cursorId: string | string[];
815
+ columnCount: number;
816
+ pageSizeRef: React.MutableRefObject<number>;
817
+ cursorIndexRef: {
818
+ readonly current: number;
819
+ };
820
+ UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
821
+ UNSTABLE_defaultItemHeight: number;
822
+ containerRef: React.RefObject<HTMLDivElement>;
823
+ id: string;
824
+ orientation: "horizontal" | "vertical";
825
+ indexRef: React.MutableRefObject<number>;
826
+ nonInteractiveIds: string[];
827
+ isVirtualized: boolean;
828
+ items: import("@workday/canvas-kit-react/collection").Item<any>[];
829
+ }) => boolean) | undefined;
830
+ shouldGoToPreviousPage?: ((data: undefined, state: {
831
+ mode: import("./hooks/useSelectionGroupModel").SelectionGroupMode;
832
+ width: import("./hooks/useSelectionGroupModel").SelectionGroupWidth;
833
+ disabled: boolean;
834
+ error: import("./hooks/useSelectionGroupModel").SelectionGroupError | undefined;
835
+ 'aria-invalid': boolean | undefined;
836
+ 'aria-describedby': string | undefined;
837
+ selectedIds: string[] | "all";
838
+ unselectedIds: string[];
839
+ cursorId: string | string[];
840
+ columnCount: number;
841
+ pageSizeRef: React.MutableRefObject<number>;
842
+ cursorIndexRef: {
843
+ readonly current: number;
844
+ };
845
+ UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
846
+ UNSTABLE_defaultItemHeight: number;
847
+ containerRef: React.RefObject<HTMLDivElement>;
848
+ id: string;
849
+ orientation: "horizontal" | "vertical";
850
+ indexRef: React.MutableRefObject<number>;
851
+ nonInteractiveIds: string[];
852
+ isVirtualized: boolean;
853
+ items: import("@workday/canvas-kit-react/collection").Item<any>[];
854
+ }) => boolean) | undefined;
855
+ shouldSelect?: ((data: {
856
+ id: string;
857
+ }, state: {
858
+ mode: import("./hooks/useSelectionGroupModel").SelectionGroupMode;
859
+ width: import("./hooks/useSelectionGroupModel").SelectionGroupWidth;
860
+ disabled: boolean;
861
+ error: import("./hooks/useSelectionGroupModel").SelectionGroupError | undefined;
862
+ 'aria-invalid': boolean | undefined;
863
+ 'aria-describedby': string | undefined;
864
+ selectedIds: string[] | "all";
865
+ unselectedIds: string[];
866
+ cursorId: string | string[];
867
+ columnCount: number;
868
+ pageSizeRef: React.MutableRefObject<number>;
869
+ cursorIndexRef: {
870
+ readonly current: number;
871
+ };
872
+ UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
873
+ UNSTABLE_defaultItemHeight: number;
874
+ containerRef: React.RefObject<HTMLDivElement>;
875
+ id: string;
876
+ orientation: "horizontal" | "vertical";
877
+ indexRef: React.MutableRefObject<number>;
878
+ nonInteractiveIds: string[];
879
+ isVirtualized: boolean;
880
+ items: import("@workday/canvas-kit-react/collection").Item<any>[];
881
+ }) => boolean) | undefined;
882
+ shouldSelectAll?: ((data: undefined, state: {
883
+ mode: import("./hooks/useSelectionGroupModel").SelectionGroupMode;
884
+ width: import("./hooks/useSelectionGroupModel").SelectionGroupWidth;
885
+ disabled: boolean;
886
+ error: import("./hooks/useSelectionGroupModel").SelectionGroupError | undefined;
887
+ 'aria-invalid': boolean | undefined;
888
+ 'aria-describedby': string | undefined;
889
+ selectedIds: string[] | "all";
890
+ unselectedIds: string[];
891
+ cursorId: string | string[];
892
+ columnCount: number;
893
+ pageSizeRef: React.MutableRefObject<number>;
894
+ cursorIndexRef: {
895
+ readonly current: number;
896
+ };
897
+ UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
898
+ UNSTABLE_defaultItemHeight: number;
899
+ containerRef: React.RefObject<HTMLDivElement>;
900
+ id: string;
901
+ orientation: "horizontal" | "vertical";
902
+ indexRef: React.MutableRefObject<number>;
903
+ nonInteractiveIds: string[];
904
+ isVirtualized: boolean;
905
+ items: import("@workday/canvas-kit-react/collection").Item<any>[];
906
+ }) => boolean) | undefined;
907
+ shouldUnselectAll?: ((data: undefined, state: {
908
+ mode: import("./hooks/useSelectionGroupModel").SelectionGroupMode;
909
+ width: import("./hooks/useSelectionGroupModel").SelectionGroupWidth;
910
+ disabled: boolean;
911
+ error: import("./hooks/useSelectionGroupModel").SelectionGroupError | undefined;
912
+ 'aria-invalid': boolean | undefined;
913
+ 'aria-describedby': string | undefined;
914
+ selectedIds: string[] | "all";
915
+ unselectedIds: string[];
916
+ cursorId: string | string[];
917
+ columnCount: number;
918
+ pageSizeRef: React.MutableRefObject<number>;
919
+ cursorIndexRef: {
920
+ readonly current: number;
921
+ };
922
+ UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
923
+ UNSTABLE_defaultItemHeight: number;
924
+ containerRef: React.RefObject<HTMLDivElement>;
925
+ id: string;
926
+ orientation: "horizontal" | "vertical";
927
+ indexRef: React.MutableRefObject<number>;
928
+ nonInteractiveIds: string[];
929
+ isVirtualized: boolean;
930
+ items: import("@workday/canvas-kit-react/collection").Item<any>[];
931
+ }) => boolean) | undefined;
932
+ shouldSetSelectedIds?: ((data: string[] | "all", state: {
933
+ mode: import("./hooks/useSelectionGroupModel").SelectionGroupMode;
934
+ width: import("./hooks/useSelectionGroupModel").SelectionGroupWidth;
935
+ disabled: boolean;
936
+ error: import("./hooks/useSelectionGroupModel").SelectionGroupError | undefined;
937
+ 'aria-invalid': boolean | undefined;
938
+ 'aria-describedby': string | undefined;
939
+ selectedIds: string[] | "all";
940
+ unselectedIds: string[];
941
+ cursorId: string | string[];
942
+ columnCount: number;
943
+ pageSizeRef: React.MutableRefObject<number>;
944
+ cursorIndexRef: {
945
+ readonly current: number;
946
+ };
947
+ UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
948
+ UNSTABLE_defaultItemHeight: number;
949
+ containerRef: React.RefObject<HTMLDivElement>;
950
+ id: string;
951
+ orientation: "horizontal" | "vertical";
952
+ indexRef: React.MutableRefObject<number>;
953
+ nonInteractiveIds: string[];
954
+ isVirtualized: boolean;
955
+ items: import("@workday/canvas-kit-react/collection").Item<any>[];
956
+ }) => boolean) | undefined;
957
+ shouldRemove?: ((data: {
958
+ id: string;
959
+ nextId?: string | undefined;
960
+ event?: Event | React.SyntheticEvent<Element, Event> | undefined;
961
+ }, state: {
962
+ mode: import("./hooks/useSelectionGroupModel").SelectionGroupMode;
963
+ width: import("./hooks/useSelectionGroupModel").SelectionGroupWidth;
964
+ disabled: boolean;
965
+ error: import("./hooks/useSelectionGroupModel").SelectionGroupError | undefined;
966
+ 'aria-invalid': boolean | undefined;
967
+ 'aria-describedby': string | undefined;
968
+ selectedIds: string[] | "all";
969
+ unselectedIds: string[];
970
+ cursorId: string | string[];
971
+ columnCount: number;
972
+ pageSizeRef: React.MutableRefObject<number>;
973
+ cursorIndexRef: {
974
+ readonly current: number;
975
+ };
976
+ UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
977
+ UNSTABLE_defaultItemHeight: number;
978
+ containerRef: React.RefObject<HTMLDivElement>;
979
+ id: string;
980
+ orientation: "horizontal" | "vertical";
981
+ indexRef: React.MutableRefObject<number>;
982
+ nonInteractiveIds: string[];
983
+ isVirtualized: boolean;
984
+ items: import("@workday/canvas-kit-react/collection").Item<any>[];
985
+ }) => boolean) | undefined;
986
+ shouldGoTo?: ((data: {
987
+ id: string;
988
+ }, state: {
989
+ mode: import("./hooks/useSelectionGroupModel").SelectionGroupMode;
990
+ width: import("./hooks/useSelectionGroupModel").SelectionGroupWidth;
991
+ disabled: boolean;
992
+ error: import("./hooks/useSelectionGroupModel").SelectionGroupError | undefined;
993
+ 'aria-invalid': boolean | undefined;
994
+ 'aria-describedby': string | undefined;
995
+ selectedIds: string[] | "all";
996
+ unselectedIds: string[];
997
+ cursorId: string | string[];
998
+ columnCount: number;
999
+ pageSizeRef: React.MutableRefObject<number>;
1000
+ cursorIndexRef: {
1001
+ readonly current: number;
1002
+ };
1003
+ UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
1004
+ UNSTABLE_defaultItemHeight: number;
1005
+ containerRef: React.RefObject<HTMLDivElement>;
1006
+ id: string;
1007
+ orientation: "horizontal" | "vertical";
1008
+ indexRef: React.MutableRefObject<number>;
1009
+ nonInteractiveIds: string[];
1010
+ isVirtualized: boolean;
1011
+ items: import("@workday/canvas-kit-react/collection").Item<any>[];
1012
+ }) => boolean) | undefined;
1013
+ shouldRegisterItem?: ((data: {
1014
+ id: string;
1015
+ textValue: string;
1016
+ }, state: {
1017
+ mode: import("./hooks/useSelectionGroupModel").SelectionGroupMode;
1018
+ width: import("./hooks/useSelectionGroupModel").SelectionGroupWidth;
1019
+ disabled: boolean;
1020
+ error: import("./hooks/useSelectionGroupModel").SelectionGroupError | undefined;
1021
+ 'aria-invalid': boolean | undefined;
1022
+ 'aria-describedby': string | undefined;
1023
+ selectedIds: string[] | "all";
1024
+ unselectedIds: string[];
1025
+ cursorId: string | string[];
1026
+ columnCount: number;
1027
+ pageSizeRef: React.MutableRefObject<number>;
1028
+ cursorIndexRef: {
1029
+ readonly current: number;
1030
+ };
1031
+ UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
1032
+ UNSTABLE_defaultItemHeight: number;
1033
+ containerRef: React.RefObject<HTMLDivElement>;
1034
+ id: string;
1035
+ orientation: "horizontal" | "vertical";
1036
+ indexRef: React.MutableRefObject<number>;
1037
+ nonInteractiveIds: string[];
1038
+ isVirtualized: boolean;
1039
+ items: import("@workday/canvas-kit-react/collection").Item<any>[];
1040
+ }) => boolean) | undefined;
1041
+ shouldUnregisterItem?: ((data: {
1042
+ id: string;
1043
+ }, state: {
1044
+ mode: import("./hooks/useSelectionGroupModel").SelectionGroupMode;
1045
+ width: import("./hooks/useSelectionGroupModel").SelectionGroupWidth;
1046
+ disabled: boolean;
1047
+ error: import("./hooks/useSelectionGroupModel").SelectionGroupError | undefined;
1048
+ 'aria-invalid': boolean | undefined;
1049
+ 'aria-describedby': string | undefined;
1050
+ selectedIds: string[] | "all";
1051
+ unselectedIds: string[];
1052
+ cursorId: string | string[];
1053
+ columnCount: number;
1054
+ pageSizeRef: React.MutableRefObject<number>;
1055
+ cursorIndexRef: {
1056
+ readonly current: number;
1057
+ };
1058
+ UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
1059
+ UNSTABLE_defaultItemHeight: number;
1060
+ containerRef: React.RefObject<HTMLDivElement>;
1061
+ id: string;
1062
+ orientation: "horizontal" | "vertical";
1063
+ indexRef: React.MutableRefObject<number>;
1064
+ nonInteractiveIds: string[];
1065
+ isVirtualized: boolean;
1066
+ items: import("@workday/canvas-kit-react/collection").Item<any>[];
1067
+ }) => boolean) | undefined;
1068
+ shouldUpdateItemHeight?: ((data: {
1069
+ value: number;
1070
+ }, state: {
1071
+ mode: import("./hooks/useSelectionGroupModel").SelectionGroupMode;
1072
+ width: import("./hooks/useSelectionGroupModel").SelectionGroupWidth;
1073
+ disabled: boolean;
1074
+ error: import("./hooks/useSelectionGroupModel").SelectionGroupError | undefined;
1075
+ 'aria-invalid': boolean | undefined;
1076
+ 'aria-describedby': string | undefined;
1077
+ selectedIds: string[] | "all";
1078
+ unselectedIds: string[];
1079
+ cursorId: string | string[];
1080
+ columnCount: number;
1081
+ pageSizeRef: React.MutableRefObject<number>;
1082
+ cursorIndexRef: {
1083
+ readonly current: number;
1084
+ };
1085
+ UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
1086
+ UNSTABLE_defaultItemHeight: number;
1087
+ containerRef: React.RefObject<HTMLDivElement>;
1088
+ id: string;
1089
+ orientation: "horizontal" | "vertical";
1090
+ indexRef: React.MutableRefObject<number>;
1091
+ nonInteractiveIds: string[];
1092
+ isVirtualized: boolean;
1093
+ items: import("@workday/canvas-kit-react/collection").Item<any>[];
1094
+ }) => boolean) | undefined;
1095
+ }, {
1096
+ state: {
1097
+ mode: import("./hooks/useSelectionGroupModel").SelectionGroupMode;
1098
+ width: import("./hooks/useSelectionGroupModel").SelectionGroupWidth;
1099
+ disabled: boolean;
1100
+ error: import("./hooks/useSelectionGroupModel").SelectionGroupError | undefined;
1101
+ 'aria-invalid': boolean | undefined;
1102
+ 'aria-describedby': string | undefined;
1103
+ selectedIds: string[] | "all";
1104
+ unselectedIds: string[];
1105
+ cursorId: string | string[];
1106
+ columnCount: number;
1107
+ pageSizeRef: React.MutableRefObject<number>;
1108
+ cursorIndexRef: {
1109
+ readonly current: number;
1110
+ };
1111
+ UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
1112
+ UNSTABLE_defaultItemHeight: number;
1113
+ containerRef: React.RefObject<HTMLDivElement>;
1114
+ id: string;
1115
+ orientation: "horizontal" | "vertical";
1116
+ indexRef: React.MutableRefObject<number>;
1117
+ nonInteractiveIds: string[];
1118
+ isVirtualized: boolean;
1119
+ items: import("@workday/canvas-kit-react/collection").Item<any>[];
1120
+ };
1121
+ events: {
1122
+ goToNext: () => void;
1123
+ goToPrevious: () => void;
1124
+ goToPreviousRow: () => void;
1125
+ goToNextRow: () => void;
1126
+ goToFirst: () => void;
1127
+ goToLast: () => void;
1128
+ goToFirstOfRow: () => void;
1129
+ goToLastOfRow: () => void;
1130
+ goToNextPage: () => void;
1131
+ goToPreviousPage: () => void;
1132
+ select(data: {
1133
+ id: string;
1134
+ }): void;
1135
+ selectAll(): void;
1136
+ unselectAll(): void;
1137
+ setSelectedIds(ids: string[] | "all"): void;
1138
+ remove(data: {
1139
+ id: string;
1140
+ nextId?: string | undefined;
1141
+ event?: Event | React.SyntheticEvent<Element, Event> | undefined;
1142
+ }): void;
1143
+ goTo(data: {
1144
+ id: string;
1145
+ }): void;
1146
+ registerItem(data: {
1147
+ id: string;
1148
+ textValue: string;
1149
+ }): void;
1150
+ unregisterItem(data: {
1151
+ id: string;
1152
+ }): void;
1153
+ updateItemHeight(data: {
1154
+ value: number;
1155
+ }): void;
1156
+ };
1157
+ selection: import("@workday/canvas-kit-react/collection").SelectionManager;
1158
+ navigation: import("@workday/canvas-kit-react/collection").NavigationManager;
1159
+ getId: (item: any) => string;
1160
+ getTextValue: (item: any) => string;
1161
+ UNSTABLE_parentModel: {
1162
+ state: {
1163
+ selectedIds: string[] | "all";
1164
+ unselectedIds: string[];
1165
+ cursorId: string | string[];
1166
+ columnCount: number;
1167
+ pageSizeRef: React.MutableRefObject<number>;
1168
+ cursorIndexRef: {
1169
+ readonly current: number;
1170
+ };
1171
+ UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
1172
+ UNSTABLE_defaultItemHeight: number;
1173
+ containerRef: React.RefObject<HTMLDivElement>;
1174
+ id: string;
1175
+ orientation: "horizontal" | "vertical";
1176
+ indexRef: React.MutableRefObject<number>;
1177
+ nonInteractiveIds: string[];
1178
+ isVirtualized: boolean;
1179
+ items: import("@workday/canvas-kit-react/collection").Item<any>[];
1180
+ };
1181
+ events: {
1182
+ select(data: {
1183
+ id: string;
1184
+ }): void;
1185
+ selectAll(): void;
1186
+ unselectAll(): void;
1187
+ setSelectedIds(ids: string[] | "all"): void;
1188
+ remove(data: {
1189
+ id: string;
1190
+ nextId?: string | undefined;
1191
+ event?: Event | React.SyntheticEvent<Element, Event> | undefined;
1192
+ }): void;
1193
+ goTo(data: {
1194
+ id: string;
1195
+ }): void;
1196
+ goToNext(): void;
1197
+ goToPrevious(): void;
1198
+ goToPreviousRow(): void;
1199
+ goToNextRow(): void;
1200
+ goToFirst(): void;
1201
+ goToLast(): void;
1202
+ goToFirstOfRow(): void;
1203
+ goToLastOfRow(): void;
1204
+ goToNextPage(): void;
1205
+ goToPreviousPage(): void;
1206
+ registerItem(data: {
1207
+ id: string;
1208
+ textValue: string;
1209
+ }): void;
1210
+ unregisterItem(data: {
1211
+ id: string;
1212
+ }): void;
1213
+ updateItemHeight(data: {
1214
+ value: number;
1215
+ }): void;
1216
+ };
1217
+ selection: import("@workday/canvas-kit-react/collection").SelectionManager;
1218
+ navigation: import("@workday/canvas-kit-react/collection").NavigationManager;
1219
+ getId: (item: any) => string;
1220
+ getTextValue: (item: any) => string;
1221
+ } | undefined;
1222
+ }> & {
1223
+ /**
1224
+ * `SelectionGroup.List` is a container for {@link SelectionGroupItem SelectionGroup.Item}
1225
+ * subcomponents. It renders a `radiogroup` in `single` mode and a `group` in `multiple` mode,
1226
+ * and carries the group's accessible label and notification state.
1227
+ *
1228
+ * ```tsx
1229
+ * <SelectionGroup.List aria-label="Select all that apply">
1230
+ * {SelectionGroup.Items}
1231
+ * </SelectionGroup.List>
1232
+ * ```
1233
+ */
1234
+ List: import("@workday/canvas-kit-react/common").ElementComponentM<"div", import("./SelectionGroupList").SelectionGroupListProps<any>, {
1235
+ state: {
1236
+ mode: import("./hooks/useSelectionGroupModel").SelectionGroupMode;
1237
+ width: import("./hooks/useSelectionGroupModel").SelectionGroupWidth;
1238
+ disabled: boolean;
1239
+ error: import("./hooks/useSelectionGroupModel").SelectionGroupError | undefined;
1240
+ 'aria-invalid': boolean | undefined;
1241
+ 'aria-describedby': string | undefined;
1242
+ selectedIds: string[] | "all";
1243
+ unselectedIds: string[];
1244
+ cursorId: string | string[];
1245
+ columnCount: number;
1246
+ pageSizeRef: React.MutableRefObject<number>;
1247
+ cursorIndexRef: {
1248
+ readonly current: number;
1249
+ };
1250
+ UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
1251
+ UNSTABLE_defaultItemHeight: number;
1252
+ containerRef: React.RefObject<HTMLDivElement>;
1253
+ id: string;
1254
+ orientation: "horizontal" | "vertical";
1255
+ indexRef: React.MutableRefObject<number>;
1256
+ nonInteractiveIds: string[];
1257
+ isVirtualized: boolean;
1258
+ items: import("@workday/canvas-kit-react/collection").Item<any>[];
1259
+ };
1260
+ events: {
1261
+ goToNext: () => void;
1262
+ goToPrevious: () => void;
1263
+ goToPreviousRow: () => void;
1264
+ goToNextRow: () => void;
1265
+ goToFirst: () => void;
1266
+ goToLast: () => void;
1267
+ goToFirstOfRow: () => void;
1268
+ goToLastOfRow: () => void;
1269
+ goToNextPage: () => void;
1270
+ goToPreviousPage: () => void;
1271
+ select(data: {
1272
+ id: string;
1273
+ }): void;
1274
+ selectAll(): void;
1275
+ unselectAll(): void;
1276
+ setSelectedIds(ids: string[] | "all"): void;
1277
+ remove(data: {
1278
+ id: string;
1279
+ nextId?: string | undefined;
1280
+ event?: Event | React.SyntheticEvent<Element, Event> | undefined;
1281
+ }): void;
1282
+ goTo(data: {
1283
+ id: string;
1284
+ }): void;
1285
+ registerItem(data: {
1286
+ id: string;
1287
+ textValue: string;
1288
+ }): void;
1289
+ unregisterItem(data: {
1290
+ id: string;
1291
+ }): void;
1292
+ updateItemHeight(data: {
1293
+ value: number;
1294
+ }): void;
1295
+ };
1296
+ selection: import("@workday/canvas-kit-react/collection").SelectionManager;
1297
+ navigation: import("@workday/canvas-kit-react/collection").NavigationManager;
1298
+ getId: (item: any) => string;
1299
+ getTextValue: (item: any) => string;
1300
+ UNSTABLE_parentModel: {
1301
+ state: {
1302
+ selectedIds: string[] | "all";
1303
+ unselectedIds: string[];
1304
+ cursorId: string | string[];
1305
+ columnCount: number;
1306
+ pageSizeRef: React.MutableRefObject<number>;
1307
+ cursorIndexRef: {
1308
+ readonly current: number;
1309
+ };
1310
+ UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
1311
+ UNSTABLE_defaultItemHeight: number;
1312
+ containerRef: React.RefObject<HTMLDivElement>;
1313
+ id: string;
1314
+ orientation: "horizontal" | "vertical";
1315
+ indexRef: React.MutableRefObject<number>;
1316
+ nonInteractiveIds: string[];
1317
+ isVirtualized: boolean;
1318
+ items: import("@workday/canvas-kit-react/collection").Item<any>[];
1319
+ };
1320
+ events: {
1321
+ select(data: {
1322
+ id: string;
1323
+ }): void;
1324
+ selectAll(): void;
1325
+ unselectAll(): void;
1326
+ setSelectedIds(ids: string[] | "all"): void;
1327
+ remove(data: {
1328
+ id: string;
1329
+ nextId?: string | undefined;
1330
+ event?: Event | React.SyntheticEvent<Element, Event> | undefined;
1331
+ }): void;
1332
+ goTo(data: {
1333
+ id: string;
1334
+ }): void;
1335
+ goToNext(): void;
1336
+ goToPrevious(): void;
1337
+ goToPreviousRow(): void;
1338
+ goToNextRow(): void;
1339
+ goToFirst(): void;
1340
+ goToLast(): void;
1341
+ goToFirstOfRow(): void;
1342
+ goToLastOfRow(): void;
1343
+ goToNextPage(): void;
1344
+ goToPreviousPage(): void;
1345
+ registerItem(data: {
1346
+ id: string;
1347
+ textValue: string;
1348
+ }): void;
1349
+ unregisterItem(data: {
1350
+ id: string;
1351
+ }): void;
1352
+ updateItemHeight(data: {
1353
+ value: number;
1354
+ }): void;
1355
+ };
1356
+ selection: import("@workday/canvas-kit-react/collection").SelectionManager;
1357
+ navigation: import("@workday/canvas-kit-react/collection").NavigationManager;
1358
+ getId: (item: any) => string;
1359
+ getTextValue: (item: any) => string;
1360
+ } | undefined;
1361
+ }>;
1362
+ /**
1363
+ * `SelectionGroup.Item` is a `button` element with a glyph and a label. Each item requires a
1364
+ * `data-id` prop to handle selection events properly.
1365
+ *
1366
+ * ```tsx
1367
+ * <SelectionGroup.Item data-id="option-a">Option A</SelectionGroup.Item>
1368
+ * ```
1369
+ */
1370
+ Item: import("@workday/canvas-kit-react/common").ElementComponentM<"button", import("./SelectionGroupItem").SelectionGroupItemProps, {
1371
+ state: {
1372
+ mode: import("./hooks/useSelectionGroupModel").SelectionGroupMode;
1373
+ width: import("./hooks/useSelectionGroupModel").SelectionGroupWidth;
1374
+ disabled: boolean;
1375
+ error: import("./hooks/useSelectionGroupModel").SelectionGroupError | undefined;
1376
+ 'aria-invalid': boolean | undefined;
1377
+ 'aria-describedby': string | undefined;
1378
+ selectedIds: string[] | "all";
1379
+ unselectedIds: string[];
1380
+ cursorId: string | string[];
1381
+ columnCount: number;
1382
+ pageSizeRef: React.MutableRefObject<number>;
1383
+ cursorIndexRef: {
1384
+ readonly current: number;
1385
+ };
1386
+ UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
1387
+ UNSTABLE_defaultItemHeight: number;
1388
+ containerRef: React.RefObject<HTMLDivElement>;
1389
+ id: string;
1390
+ orientation: "horizontal" | "vertical";
1391
+ indexRef: React.MutableRefObject<number>;
1392
+ nonInteractiveIds: string[];
1393
+ isVirtualized: boolean;
1394
+ items: import("@workday/canvas-kit-react/collection").Item<any>[];
1395
+ };
1396
+ events: {
1397
+ goToNext: () => void;
1398
+ goToPrevious: () => void;
1399
+ goToPreviousRow: () => void;
1400
+ goToNextRow: () => void;
1401
+ goToFirst: () => void;
1402
+ goToLast: () => void;
1403
+ goToFirstOfRow: () => void;
1404
+ goToLastOfRow: () => void;
1405
+ goToNextPage: () => void;
1406
+ goToPreviousPage: () => void;
1407
+ select(data: {
1408
+ id: string;
1409
+ }): void;
1410
+ selectAll(): void;
1411
+ unselectAll(): void;
1412
+ setSelectedIds(ids: string[] | "all"): void;
1413
+ remove(data: {
1414
+ id: string;
1415
+ nextId?: string | undefined;
1416
+ event?: Event | React.SyntheticEvent<Element, Event> | undefined;
1417
+ }): void;
1418
+ goTo(data: {
1419
+ id: string;
1420
+ }): void;
1421
+ registerItem(data: {
1422
+ id: string;
1423
+ textValue: string;
1424
+ }): void;
1425
+ unregisterItem(data: {
1426
+ id: string;
1427
+ }): void;
1428
+ updateItemHeight(data: {
1429
+ value: number;
1430
+ }): void;
1431
+ };
1432
+ selection: import("@workday/canvas-kit-react/collection").SelectionManager;
1433
+ navigation: import("@workday/canvas-kit-react/collection").NavigationManager;
1434
+ getId: (item: any) => string;
1435
+ getTextValue: (item: any) => string;
1436
+ UNSTABLE_parentModel: {
1437
+ state: {
1438
+ selectedIds: string[] | "all";
1439
+ unselectedIds: string[];
1440
+ cursorId: string | string[];
1441
+ columnCount: number;
1442
+ pageSizeRef: React.MutableRefObject<number>;
1443
+ cursorIndexRef: {
1444
+ readonly current: number;
1445
+ };
1446
+ UNSTABLE_virtual: import("@tanstack/virtual-core").Virtualizer<HTMLDivElement, Element>;
1447
+ UNSTABLE_defaultItemHeight: number;
1448
+ containerRef: React.RefObject<HTMLDivElement>;
1449
+ id: string;
1450
+ orientation: "horizontal" | "vertical";
1451
+ indexRef: React.MutableRefObject<number>;
1452
+ nonInteractiveIds: string[];
1453
+ isVirtualized: boolean;
1454
+ items: import("@workday/canvas-kit-react/collection").Item<any>[];
1455
+ };
1456
+ events: {
1457
+ select(data: {
1458
+ id: string;
1459
+ }): void;
1460
+ selectAll(): void;
1461
+ unselectAll(): void;
1462
+ setSelectedIds(ids: string[] | "all"): void;
1463
+ remove(data: {
1464
+ id: string;
1465
+ nextId?: string | undefined;
1466
+ event?: Event | React.SyntheticEvent<Element, Event> | undefined;
1467
+ }): void;
1468
+ goTo(data: {
1469
+ id: string;
1470
+ }): void;
1471
+ goToNext(): void;
1472
+ goToPrevious(): void;
1473
+ goToPreviousRow(): void;
1474
+ goToNextRow(): void;
1475
+ goToFirst(): void;
1476
+ goToLast(): void;
1477
+ goToFirstOfRow(): void;
1478
+ goToLastOfRow(): void;
1479
+ goToNextPage(): void;
1480
+ goToPreviousPage(): void;
1481
+ registerItem(data: {
1482
+ id: string;
1483
+ textValue: string;
1484
+ }): void;
1485
+ unregisterItem(data: {
1486
+ id: string;
1487
+ }): void;
1488
+ updateItemHeight(data: {
1489
+ value: number;
1490
+ }): void;
1491
+ };
1492
+ selection: import("@workday/canvas-kit-react/collection").SelectionManager;
1493
+ navigation: import("@workday/canvas-kit-react/collection").NavigationManager;
1494
+ getId: (item: any) => string;
1495
+ getTextValue: (item: any) => string;
1496
+ } | undefined;
1497
+ }>;
1498
+ };
1499
+ //# sourceMappingURL=SelectionGroup.d.ts.map