@workday/canvas-kit-preview-react 8.0.0-alpha.236-next.7 → 8.0.0-alpha.237-next.8

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