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