@workday/canvas-kit-preview-react 9.0.0-alpha.415-next.17 → 9.0.0-alpha.417-next.19
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.
- package/dist/commonjs/segmented-control/lib/SegmentedControl.d.ts +155 -44
- package/dist/commonjs/segmented-control/lib/SegmentedControl.d.ts.map +1 -1
- package/dist/commonjs/segmented-control/lib/SegmentedControlItem.d.ts +7 -4
- package/dist/commonjs/segmented-control/lib/SegmentedControlItem.d.ts.map +1 -1
- package/dist/commonjs/segmented-control/lib/SegmentedControlList.d.ts +14 -8
- package/dist/commonjs/segmented-control/lib/SegmentedControlList.d.ts.map +1 -1
- package/dist/commonjs/segmented-control/lib/hooks/useSegmentedControlItem.d.ts +7 -4
- package/dist/commonjs/segmented-control/lib/hooks/useSegmentedControlItem.d.ts.map +1 -1
- package/dist/commonjs/segmented-control/lib/hooks/useSegmentedControlModel.d.ts +155 -44
- package/dist/commonjs/segmented-control/lib/hooks/useSegmentedControlModel.d.ts.map +1 -1
- package/dist/es6/segmented-control/lib/SegmentedControl.d.ts +155 -44
- package/dist/es6/segmented-control/lib/SegmentedControl.d.ts.map +1 -1
- package/dist/es6/segmented-control/lib/SegmentedControlItem.d.ts +7 -4
- package/dist/es6/segmented-control/lib/SegmentedControlItem.d.ts.map +1 -1
- package/dist/es6/segmented-control/lib/SegmentedControlList.d.ts +14 -8
- package/dist/es6/segmented-control/lib/SegmentedControlList.d.ts.map +1 -1
- package/dist/es6/segmented-control/lib/hooks/useSegmentedControlItem.d.ts +7 -4
- package/dist/es6/segmented-control/lib/hooks/useSegmentedControlItem.d.ts.map +1 -1
- package/dist/es6/segmented-control/lib/hooks/useSegmentedControlModel.d.ts +155 -44
- package/dist/es6/segmented-control/lib/hooks/useSegmentedControlModel.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -52,6 +52,9 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
52
52
|
cursorId: string;
|
|
53
53
|
columnCount: number;
|
|
54
54
|
pageSizeRef: React.MutableRefObject<number>;
|
|
55
|
+
cursorIndexRef: {
|
|
56
|
+
readonly current: number;
|
|
57
|
+
};
|
|
55
58
|
UNSTABLE_virtual: {
|
|
56
59
|
virtualItems: import("@workday/canvas-kit-react/collection/lib/react-virtual").VirtualItem[];
|
|
57
60
|
totalSize: number;
|
|
@@ -76,6 +79,9 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
76
79
|
cursorId: string;
|
|
77
80
|
columnCount: number;
|
|
78
81
|
pageSizeRef: React.MutableRefObject<number>;
|
|
82
|
+
cursorIndexRef: {
|
|
83
|
+
readonly current: number;
|
|
84
|
+
};
|
|
79
85
|
UNSTABLE_virtual: {
|
|
80
86
|
virtualItems: import("@workday/canvas-kit-react/collection/lib/react-virtual").VirtualItem[];
|
|
81
87
|
totalSize: number;
|
|
@@ -100,6 +106,9 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
100
106
|
cursorId: string;
|
|
101
107
|
columnCount: number;
|
|
102
108
|
pageSizeRef: React.MutableRefObject<number>;
|
|
109
|
+
cursorIndexRef: {
|
|
110
|
+
readonly current: number;
|
|
111
|
+
};
|
|
103
112
|
UNSTABLE_virtual: {
|
|
104
113
|
virtualItems: import("@workday/canvas-kit-react/collection/lib/react-virtual").VirtualItem[];
|
|
105
114
|
totalSize: number;
|
|
@@ -116,9 +125,8 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
116
125
|
isVirtualized: boolean;
|
|
117
126
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
118
127
|
}) => void) | undefined;
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
textValue: string;
|
|
128
|
+
onGoTo?: ((data: {
|
|
129
|
+
id: string;
|
|
122
130
|
}, prevState: {
|
|
123
131
|
disabled: boolean;
|
|
124
132
|
size: "small" | "medium" | "large";
|
|
@@ -127,6 +135,9 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
127
135
|
cursorId: string;
|
|
128
136
|
columnCount: number;
|
|
129
137
|
pageSizeRef: React.MutableRefObject<number>;
|
|
138
|
+
cursorIndexRef: {
|
|
139
|
+
readonly current: number;
|
|
140
|
+
};
|
|
130
141
|
UNSTABLE_virtual: {
|
|
131
142
|
virtualItems: import("@workday/canvas-kit-react/collection/lib/react-virtual").VirtualItem[];
|
|
132
143
|
totalSize: number;
|
|
@@ -143,9 +154,7 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
143
154
|
isVirtualized: boolean;
|
|
144
155
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
145
156
|
}) => void) | undefined;
|
|
146
|
-
|
|
147
|
-
id: string;
|
|
148
|
-
}, prevState: {
|
|
157
|
+
onGoToNext?: ((data: undefined, prevState: {
|
|
149
158
|
disabled: boolean;
|
|
150
159
|
size: "small" | "medium" | "large";
|
|
151
160
|
selectedIds: string[] | "all";
|
|
@@ -153,6 +162,9 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
153
162
|
cursorId: string;
|
|
154
163
|
columnCount: number;
|
|
155
164
|
pageSizeRef: React.MutableRefObject<number>;
|
|
165
|
+
cursorIndexRef: {
|
|
166
|
+
readonly current: number;
|
|
167
|
+
};
|
|
156
168
|
UNSTABLE_virtual: {
|
|
157
169
|
virtualItems: import("@workday/canvas-kit-react/collection/lib/react-virtual").VirtualItem[];
|
|
158
170
|
totalSize: number;
|
|
@@ -169,7 +181,7 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
169
181
|
isVirtualized: boolean;
|
|
170
182
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
171
183
|
}) => void) | undefined;
|
|
172
|
-
|
|
184
|
+
onGoToPrevious?: ((data: undefined, prevState: {
|
|
173
185
|
disabled: boolean;
|
|
174
186
|
size: "small" | "medium" | "large";
|
|
175
187
|
selectedIds: string[] | "all";
|
|
@@ -177,6 +189,9 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
177
189
|
cursorId: string;
|
|
178
190
|
columnCount: number;
|
|
179
191
|
pageSizeRef: React.MutableRefObject<number>;
|
|
192
|
+
cursorIndexRef: {
|
|
193
|
+
readonly current: number;
|
|
194
|
+
};
|
|
180
195
|
UNSTABLE_virtual: {
|
|
181
196
|
virtualItems: import("@workday/canvas-kit-react/collection/lib/react-virtual").VirtualItem[];
|
|
182
197
|
totalSize: number;
|
|
@@ -193,7 +208,7 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
193
208
|
isVirtualized: boolean;
|
|
194
209
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
195
210
|
}) => void) | undefined;
|
|
196
|
-
|
|
211
|
+
onGoToPreviousRow?: ((data: undefined, prevState: {
|
|
197
212
|
disabled: boolean;
|
|
198
213
|
size: "small" | "medium" | "large";
|
|
199
214
|
selectedIds: string[] | "all";
|
|
@@ -201,6 +216,9 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
201
216
|
cursorId: string;
|
|
202
217
|
columnCount: number;
|
|
203
218
|
pageSizeRef: React.MutableRefObject<number>;
|
|
219
|
+
cursorIndexRef: {
|
|
220
|
+
readonly current: number;
|
|
221
|
+
};
|
|
204
222
|
UNSTABLE_virtual: {
|
|
205
223
|
virtualItems: import("@workday/canvas-kit-react/collection/lib/react-virtual").VirtualItem[];
|
|
206
224
|
totalSize: number;
|
|
@@ -217,7 +235,7 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
217
235
|
isVirtualized: boolean;
|
|
218
236
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
219
237
|
}) => void) | undefined;
|
|
220
|
-
|
|
238
|
+
onGoToNextRow?: ((data: undefined, prevState: {
|
|
221
239
|
disabled: boolean;
|
|
222
240
|
size: "small" | "medium" | "large";
|
|
223
241
|
selectedIds: string[] | "all";
|
|
@@ -225,6 +243,9 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
225
243
|
cursorId: string;
|
|
226
244
|
columnCount: number;
|
|
227
245
|
pageSizeRef: React.MutableRefObject<number>;
|
|
246
|
+
cursorIndexRef: {
|
|
247
|
+
readonly current: number;
|
|
248
|
+
};
|
|
228
249
|
UNSTABLE_virtual: {
|
|
229
250
|
virtualItems: import("@workday/canvas-kit-react/collection/lib/react-virtual").VirtualItem[];
|
|
230
251
|
totalSize: number;
|
|
@@ -241,7 +262,7 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
241
262
|
isVirtualized: boolean;
|
|
242
263
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
243
264
|
}) => void) | undefined;
|
|
244
|
-
|
|
265
|
+
onGoToFirst?: ((data: undefined, prevState: {
|
|
245
266
|
disabled: boolean;
|
|
246
267
|
size: "small" | "medium" | "large";
|
|
247
268
|
selectedIds: string[] | "all";
|
|
@@ -249,6 +270,9 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
249
270
|
cursorId: string;
|
|
250
271
|
columnCount: number;
|
|
251
272
|
pageSizeRef: React.MutableRefObject<number>;
|
|
273
|
+
cursorIndexRef: {
|
|
274
|
+
readonly current: number;
|
|
275
|
+
};
|
|
252
276
|
UNSTABLE_virtual: {
|
|
253
277
|
virtualItems: import("@workday/canvas-kit-react/collection/lib/react-virtual").VirtualItem[];
|
|
254
278
|
totalSize: number;
|
|
@@ -265,7 +289,7 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
265
289
|
isVirtualized: boolean;
|
|
266
290
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
267
291
|
}) => void) | undefined;
|
|
268
|
-
|
|
292
|
+
onGoToLast?: ((data: undefined, prevState: {
|
|
269
293
|
disabled: boolean;
|
|
270
294
|
size: "small" | "medium" | "large";
|
|
271
295
|
selectedIds: string[] | "all";
|
|
@@ -273,6 +297,9 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
273
297
|
cursorId: string;
|
|
274
298
|
columnCount: number;
|
|
275
299
|
pageSizeRef: React.MutableRefObject<number>;
|
|
300
|
+
cursorIndexRef: {
|
|
301
|
+
readonly current: number;
|
|
302
|
+
};
|
|
276
303
|
UNSTABLE_virtual: {
|
|
277
304
|
virtualItems: import("@workday/canvas-kit-react/collection/lib/react-virtual").VirtualItem[];
|
|
278
305
|
totalSize: number;
|
|
@@ -289,7 +316,7 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
289
316
|
isVirtualized: boolean;
|
|
290
317
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
291
318
|
}) => void) | undefined;
|
|
292
|
-
|
|
319
|
+
onGoToFirstOfRow?: ((data: undefined, prevState: {
|
|
293
320
|
disabled: boolean;
|
|
294
321
|
size: "small" | "medium" | "large";
|
|
295
322
|
selectedIds: string[] | "all";
|
|
@@ -297,6 +324,9 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
297
324
|
cursorId: string;
|
|
298
325
|
columnCount: number;
|
|
299
326
|
pageSizeRef: React.MutableRefObject<number>;
|
|
327
|
+
cursorIndexRef: {
|
|
328
|
+
readonly current: number;
|
|
329
|
+
};
|
|
300
330
|
UNSTABLE_virtual: {
|
|
301
331
|
virtualItems: import("@workday/canvas-kit-react/collection/lib/react-virtual").VirtualItem[];
|
|
302
332
|
totalSize: number;
|
|
@@ -313,7 +343,7 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
313
343
|
isVirtualized: boolean;
|
|
314
344
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
315
345
|
}) => void) | undefined;
|
|
316
|
-
|
|
346
|
+
onGoToLastOfRow?: ((data: undefined, prevState: {
|
|
317
347
|
disabled: boolean;
|
|
318
348
|
size: "small" | "medium" | "large";
|
|
319
349
|
selectedIds: string[] | "all";
|
|
@@ -321,6 +351,9 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
321
351
|
cursorId: string;
|
|
322
352
|
columnCount: number;
|
|
323
353
|
pageSizeRef: React.MutableRefObject<number>;
|
|
354
|
+
cursorIndexRef: {
|
|
355
|
+
readonly current: number;
|
|
356
|
+
};
|
|
324
357
|
UNSTABLE_virtual: {
|
|
325
358
|
virtualItems: import("@workday/canvas-kit-react/collection/lib/react-virtual").VirtualItem[];
|
|
326
359
|
totalSize: number;
|
|
@@ -337,7 +370,7 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
337
370
|
isVirtualized: boolean;
|
|
338
371
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
339
372
|
}) => void) | undefined;
|
|
340
|
-
|
|
373
|
+
onGoToNextPage?: ((data: undefined, prevState: {
|
|
341
374
|
disabled: boolean;
|
|
342
375
|
size: "small" | "medium" | "large";
|
|
343
376
|
selectedIds: string[] | "all";
|
|
@@ -345,6 +378,9 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
345
378
|
cursorId: string;
|
|
346
379
|
columnCount: number;
|
|
347
380
|
pageSizeRef: React.MutableRefObject<number>;
|
|
381
|
+
cursorIndexRef: {
|
|
382
|
+
readonly current: number;
|
|
383
|
+
};
|
|
348
384
|
UNSTABLE_virtual: {
|
|
349
385
|
virtualItems: import("@workday/canvas-kit-react/collection/lib/react-virtual").VirtualItem[];
|
|
350
386
|
totalSize: number;
|
|
@@ -361,7 +397,7 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
361
397
|
isVirtualized: boolean;
|
|
362
398
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
363
399
|
}) => void) | undefined;
|
|
364
|
-
|
|
400
|
+
onGoToPreviousPage?: ((data: undefined, prevState: {
|
|
365
401
|
disabled: boolean;
|
|
366
402
|
size: "small" | "medium" | "large";
|
|
367
403
|
selectedIds: string[] | "all";
|
|
@@ -369,6 +405,9 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
369
405
|
cursorId: string;
|
|
370
406
|
columnCount: number;
|
|
371
407
|
pageSizeRef: React.MutableRefObject<number>;
|
|
408
|
+
cursorIndexRef: {
|
|
409
|
+
readonly current: number;
|
|
410
|
+
};
|
|
372
411
|
UNSTABLE_virtual: {
|
|
373
412
|
virtualItems: import("@workday/canvas-kit-react/collection/lib/react-virtual").VirtualItem[];
|
|
374
413
|
totalSize: number;
|
|
@@ -385,7 +424,10 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
385
424
|
isVirtualized: boolean;
|
|
386
425
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
387
426
|
}) => void) | undefined;
|
|
388
|
-
|
|
427
|
+
onRegisterItem?: ((data: {
|
|
428
|
+
item: any;
|
|
429
|
+
textValue: string;
|
|
430
|
+
}, prevState: {
|
|
389
431
|
disabled: boolean;
|
|
390
432
|
size: "small" | "medium" | "large";
|
|
391
433
|
selectedIds: string[] | "all";
|
|
@@ -393,6 +435,9 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
393
435
|
cursorId: string;
|
|
394
436
|
columnCount: number;
|
|
395
437
|
pageSizeRef: React.MutableRefObject<number>;
|
|
438
|
+
cursorIndexRef: {
|
|
439
|
+
readonly current: number;
|
|
440
|
+
};
|
|
396
441
|
UNSTABLE_virtual: {
|
|
397
442
|
virtualItems: import("@workday/canvas-kit-react/collection/lib/react-virtual").VirtualItem[];
|
|
398
443
|
totalSize: number;
|
|
@@ -419,6 +464,9 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
419
464
|
cursorId: string;
|
|
420
465
|
columnCount: number;
|
|
421
466
|
pageSizeRef: React.MutableRefObject<number>;
|
|
467
|
+
cursorIndexRef: {
|
|
468
|
+
readonly current: number;
|
|
469
|
+
};
|
|
422
470
|
UNSTABLE_virtual: {
|
|
423
471
|
virtualItems: import("@workday/canvas-kit-react/collection/lib/react-virtual").VirtualItem[];
|
|
424
472
|
totalSize: number;
|
|
@@ -445,6 +493,9 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
445
493
|
cursorId: string;
|
|
446
494
|
columnCount: number;
|
|
447
495
|
pageSizeRef: React.MutableRefObject<number>;
|
|
496
|
+
cursorIndexRef: {
|
|
497
|
+
readonly current: number;
|
|
498
|
+
};
|
|
448
499
|
UNSTABLE_virtual: {
|
|
449
500
|
virtualItems: import("@workday/canvas-kit-react/collection/lib/react-virtual").VirtualItem[];
|
|
450
501
|
totalSize: number;
|
|
@@ -472,6 +523,9 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
472
523
|
cursorId: string;
|
|
473
524
|
columnCount: number;
|
|
474
525
|
pageSizeRef: React.MutableRefObject<number>;
|
|
526
|
+
cursorIndexRef: {
|
|
527
|
+
readonly current: number;
|
|
528
|
+
};
|
|
475
529
|
UNSTABLE_virtual: {
|
|
476
530
|
virtualItems: import("@workday/canvas-kit-react/collection/lib/react-virtual").VirtualItem[];
|
|
477
531
|
totalSize: number;
|
|
@@ -496,6 +550,9 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
496
550
|
cursorId: string;
|
|
497
551
|
columnCount: number;
|
|
498
552
|
pageSizeRef: React.MutableRefObject<number>;
|
|
553
|
+
cursorIndexRef: {
|
|
554
|
+
readonly current: number;
|
|
555
|
+
};
|
|
499
556
|
UNSTABLE_virtual: {
|
|
500
557
|
virtualItems: import("@workday/canvas-kit-react/collection/lib/react-virtual").VirtualItem[];
|
|
501
558
|
totalSize: number;
|
|
@@ -520,6 +577,9 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
520
577
|
cursorId: string;
|
|
521
578
|
columnCount: number;
|
|
522
579
|
pageSizeRef: React.MutableRefObject<number>;
|
|
580
|
+
cursorIndexRef: {
|
|
581
|
+
readonly current: number;
|
|
582
|
+
};
|
|
523
583
|
UNSTABLE_virtual: {
|
|
524
584
|
virtualItems: import("@workday/canvas-kit-react/collection/lib/react-virtual").VirtualItem[];
|
|
525
585
|
totalSize: number;
|
|
@@ -536,9 +596,8 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
536
596
|
isVirtualized: boolean;
|
|
537
597
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
538
598
|
}) => boolean) | undefined;
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
textValue: string;
|
|
599
|
+
shouldGoTo?: ((data: {
|
|
600
|
+
id: string;
|
|
542
601
|
}, state: {
|
|
543
602
|
disabled: boolean;
|
|
544
603
|
size: "small" | "medium" | "large";
|
|
@@ -547,6 +606,9 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
547
606
|
cursorId: string;
|
|
548
607
|
columnCount: number;
|
|
549
608
|
pageSizeRef: React.MutableRefObject<number>;
|
|
609
|
+
cursorIndexRef: {
|
|
610
|
+
readonly current: number;
|
|
611
|
+
};
|
|
550
612
|
UNSTABLE_virtual: {
|
|
551
613
|
virtualItems: import("@workday/canvas-kit-react/collection/lib/react-virtual").VirtualItem[];
|
|
552
614
|
totalSize: number;
|
|
@@ -563,9 +625,7 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
563
625
|
isVirtualized: boolean;
|
|
564
626
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
565
627
|
}) => boolean) | undefined;
|
|
566
|
-
|
|
567
|
-
id: string;
|
|
568
|
-
}, state: {
|
|
628
|
+
shouldGoToNext?: ((data: undefined, state: {
|
|
569
629
|
disabled: boolean;
|
|
570
630
|
size: "small" | "medium" | "large";
|
|
571
631
|
selectedIds: string[] | "all";
|
|
@@ -573,6 +633,9 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
573
633
|
cursorId: string;
|
|
574
634
|
columnCount: number;
|
|
575
635
|
pageSizeRef: React.MutableRefObject<number>;
|
|
636
|
+
cursorIndexRef: {
|
|
637
|
+
readonly current: number;
|
|
638
|
+
};
|
|
576
639
|
UNSTABLE_virtual: {
|
|
577
640
|
virtualItems: import("@workday/canvas-kit-react/collection/lib/react-virtual").VirtualItem[];
|
|
578
641
|
totalSize: number;
|
|
@@ -589,7 +652,7 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
589
652
|
isVirtualized: boolean;
|
|
590
653
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
591
654
|
}) => boolean) | undefined;
|
|
592
|
-
|
|
655
|
+
shouldGoToPrevious?: ((data: undefined, state: {
|
|
593
656
|
disabled: boolean;
|
|
594
657
|
size: "small" | "medium" | "large";
|
|
595
658
|
selectedIds: string[] | "all";
|
|
@@ -597,6 +660,9 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
597
660
|
cursorId: string;
|
|
598
661
|
columnCount: number;
|
|
599
662
|
pageSizeRef: React.MutableRefObject<number>;
|
|
663
|
+
cursorIndexRef: {
|
|
664
|
+
readonly current: number;
|
|
665
|
+
};
|
|
600
666
|
UNSTABLE_virtual: {
|
|
601
667
|
virtualItems: import("@workday/canvas-kit-react/collection/lib/react-virtual").VirtualItem[];
|
|
602
668
|
totalSize: number;
|
|
@@ -613,7 +679,7 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
613
679
|
isVirtualized: boolean;
|
|
614
680
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
615
681
|
}) => boolean) | undefined;
|
|
616
|
-
|
|
682
|
+
shouldGoToPreviousRow?: ((data: undefined, state: {
|
|
617
683
|
disabled: boolean;
|
|
618
684
|
size: "small" | "medium" | "large";
|
|
619
685
|
selectedIds: string[] | "all";
|
|
@@ -621,6 +687,9 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
621
687
|
cursorId: string;
|
|
622
688
|
columnCount: number;
|
|
623
689
|
pageSizeRef: React.MutableRefObject<number>;
|
|
690
|
+
cursorIndexRef: {
|
|
691
|
+
readonly current: number;
|
|
692
|
+
};
|
|
624
693
|
UNSTABLE_virtual: {
|
|
625
694
|
virtualItems: import("@workday/canvas-kit-react/collection/lib/react-virtual").VirtualItem[];
|
|
626
695
|
totalSize: number;
|
|
@@ -637,7 +706,7 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
637
706
|
isVirtualized: boolean;
|
|
638
707
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
639
708
|
}) => boolean) | undefined;
|
|
640
|
-
|
|
709
|
+
shouldGoToNextRow?: ((data: undefined, state: {
|
|
641
710
|
disabled: boolean;
|
|
642
711
|
size: "small" | "medium" | "large";
|
|
643
712
|
selectedIds: string[] | "all";
|
|
@@ -645,6 +714,9 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
645
714
|
cursorId: string;
|
|
646
715
|
columnCount: number;
|
|
647
716
|
pageSizeRef: React.MutableRefObject<number>;
|
|
717
|
+
cursorIndexRef: {
|
|
718
|
+
readonly current: number;
|
|
719
|
+
};
|
|
648
720
|
UNSTABLE_virtual: {
|
|
649
721
|
virtualItems: import("@workday/canvas-kit-react/collection/lib/react-virtual").VirtualItem[];
|
|
650
722
|
totalSize: number;
|
|
@@ -661,7 +733,7 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
661
733
|
isVirtualized: boolean;
|
|
662
734
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
663
735
|
}) => boolean) | undefined;
|
|
664
|
-
|
|
736
|
+
shouldGoToFirst?: ((data: undefined, state: {
|
|
665
737
|
disabled: boolean;
|
|
666
738
|
size: "small" | "medium" | "large";
|
|
667
739
|
selectedIds: string[] | "all";
|
|
@@ -669,6 +741,9 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
669
741
|
cursorId: string;
|
|
670
742
|
columnCount: number;
|
|
671
743
|
pageSizeRef: React.MutableRefObject<number>;
|
|
744
|
+
cursorIndexRef: {
|
|
745
|
+
readonly current: number;
|
|
746
|
+
};
|
|
672
747
|
UNSTABLE_virtual: {
|
|
673
748
|
virtualItems: import("@workday/canvas-kit-react/collection/lib/react-virtual").VirtualItem[];
|
|
674
749
|
totalSize: number;
|
|
@@ -685,7 +760,7 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
685
760
|
isVirtualized: boolean;
|
|
686
761
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
687
762
|
}) => boolean) | undefined;
|
|
688
|
-
|
|
763
|
+
shouldGoToLast?: ((data: undefined, state: {
|
|
689
764
|
disabled: boolean;
|
|
690
765
|
size: "small" | "medium" | "large";
|
|
691
766
|
selectedIds: string[] | "all";
|
|
@@ -693,6 +768,9 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
693
768
|
cursorId: string;
|
|
694
769
|
columnCount: number;
|
|
695
770
|
pageSizeRef: React.MutableRefObject<number>;
|
|
771
|
+
cursorIndexRef: {
|
|
772
|
+
readonly current: number;
|
|
773
|
+
};
|
|
696
774
|
UNSTABLE_virtual: {
|
|
697
775
|
virtualItems: import("@workday/canvas-kit-react/collection/lib/react-virtual").VirtualItem[];
|
|
698
776
|
totalSize: number;
|
|
@@ -709,7 +787,7 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
709
787
|
isVirtualized: boolean;
|
|
710
788
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
711
789
|
}) => boolean) | undefined;
|
|
712
|
-
|
|
790
|
+
shouldGoToFirstOfRow?: ((data: undefined, state: {
|
|
713
791
|
disabled: boolean;
|
|
714
792
|
size: "small" | "medium" | "large";
|
|
715
793
|
selectedIds: string[] | "all";
|
|
@@ -717,6 +795,9 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
717
795
|
cursorId: string;
|
|
718
796
|
columnCount: number;
|
|
719
797
|
pageSizeRef: React.MutableRefObject<number>;
|
|
798
|
+
cursorIndexRef: {
|
|
799
|
+
readonly current: number;
|
|
800
|
+
};
|
|
720
801
|
UNSTABLE_virtual: {
|
|
721
802
|
virtualItems: import("@workday/canvas-kit-react/collection/lib/react-virtual").VirtualItem[];
|
|
722
803
|
totalSize: number;
|
|
@@ -733,7 +814,7 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
733
814
|
isVirtualized: boolean;
|
|
734
815
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
735
816
|
}) => boolean) | undefined;
|
|
736
|
-
|
|
817
|
+
shouldGoToLastOfRow?: ((data: undefined, state: {
|
|
737
818
|
disabled: boolean;
|
|
738
819
|
size: "small" | "medium" | "large";
|
|
739
820
|
selectedIds: string[] | "all";
|
|
@@ -741,6 +822,9 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
741
822
|
cursorId: string;
|
|
742
823
|
columnCount: number;
|
|
743
824
|
pageSizeRef: React.MutableRefObject<number>;
|
|
825
|
+
cursorIndexRef: {
|
|
826
|
+
readonly current: number;
|
|
827
|
+
};
|
|
744
828
|
UNSTABLE_virtual: {
|
|
745
829
|
virtualItems: import("@workday/canvas-kit-react/collection/lib/react-virtual").VirtualItem[];
|
|
746
830
|
totalSize: number;
|
|
@@ -757,7 +841,7 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
757
841
|
isVirtualized: boolean;
|
|
758
842
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
759
843
|
}) => boolean) | undefined;
|
|
760
|
-
|
|
844
|
+
shouldGoToNextPage?: ((data: undefined, state: {
|
|
761
845
|
disabled: boolean;
|
|
762
846
|
size: "small" | "medium" | "large";
|
|
763
847
|
selectedIds: string[] | "all";
|
|
@@ -765,6 +849,9 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
765
849
|
cursorId: string;
|
|
766
850
|
columnCount: number;
|
|
767
851
|
pageSizeRef: React.MutableRefObject<number>;
|
|
852
|
+
cursorIndexRef: {
|
|
853
|
+
readonly current: number;
|
|
854
|
+
};
|
|
768
855
|
UNSTABLE_virtual: {
|
|
769
856
|
virtualItems: import("@workday/canvas-kit-react/collection/lib/react-virtual").VirtualItem[];
|
|
770
857
|
totalSize: number;
|
|
@@ -781,7 +868,7 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
781
868
|
isVirtualized: boolean;
|
|
782
869
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
783
870
|
}) => boolean) | undefined;
|
|
784
|
-
|
|
871
|
+
shouldGoToPreviousPage?: ((data: undefined, state: {
|
|
785
872
|
disabled: boolean;
|
|
786
873
|
size: "small" | "medium" | "large";
|
|
787
874
|
selectedIds: string[] | "all";
|
|
@@ -789,6 +876,9 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
789
876
|
cursorId: string;
|
|
790
877
|
columnCount: number;
|
|
791
878
|
pageSizeRef: React.MutableRefObject<number>;
|
|
879
|
+
cursorIndexRef: {
|
|
880
|
+
readonly current: number;
|
|
881
|
+
};
|
|
792
882
|
UNSTABLE_virtual: {
|
|
793
883
|
virtualItems: import("@workday/canvas-kit-react/collection/lib/react-virtual").VirtualItem[];
|
|
794
884
|
totalSize: number;
|
|
@@ -805,7 +895,10 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
805
895
|
isVirtualized: boolean;
|
|
806
896
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
807
897
|
}) => boolean) | undefined;
|
|
808
|
-
|
|
898
|
+
shouldRegisterItem?: ((data: {
|
|
899
|
+
item: any;
|
|
900
|
+
textValue: string;
|
|
901
|
+
}, state: {
|
|
809
902
|
disabled: boolean;
|
|
810
903
|
size: "small" | "medium" | "large";
|
|
811
904
|
selectedIds: string[] | "all";
|
|
@@ -813,6 +906,9 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
813
906
|
cursorId: string;
|
|
814
907
|
columnCount: number;
|
|
815
908
|
pageSizeRef: React.MutableRefObject<number>;
|
|
909
|
+
cursorIndexRef: {
|
|
910
|
+
readonly current: number;
|
|
911
|
+
};
|
|
816
912
|
UNSTABLE_virtual: {
|
|
817
913
|
virtualItems: import("@workday/canvas-kit-react/collection/lib/react-virtual").VirtualItem[];
|
|
818
914
|
totalSize: number;
|
|
@@ -839,6 +935,9 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
839
935
|
cursorId: string;
|
|
840
936
|
columnCount: number;
|
|
841
937
|
pageSizeRef: React.MutableRefObject<number>;
|
|
938
|
+
cursorIndexRef: {
|
|
939
|
+
readonly current: number;
|
|
940
|
+
};
|
|
842
941
|
UNSTABLE_virtual: {
|
|
843
942
|
virtualItems: import("@workday/canvas-kit-react/collection/lib/react-virtual").VirtualItem[];
|
|
844
943
|
totalSize: number;
|
|
@@ -865,6 +964,9 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
865
964
|
cursorId: string;
|
|
866
965
|
columnCount: number;
|
|
867
966
|
pageSizeRef: React.MutableRefObject<number>;
|
|
967
|
+
cursorIndexRef: {
|
|
968
|
+
readonly current: number;
|
|
969
|
+
};
|
|
868
970
|
UNSTABLE_virtual: {
|
|
869
971
|
virtualItems: import("@workday/canvas-kit-react/collection/lib/react-virtual").VirtualItem[];
|
|
870
972
|
totalSize: number;
|
|
@@ -890,6 +992,9 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
890
992
|
cursorId: string;
|
|
891
993
|
columnCount: number;
|
|
892
994
|
pageSizeRef: React.MutableRefObject<number>;
|
|
995
|
+
cursorIndexRef: {
|
|
996
|
+
readonly current: number;
|
|
997
|
+
};
|
|
893
998
|
UNSTABLE_virtual: {
|
|
894
999
|
virtualItems: import("@workday/canvas-kit-react/collection/lib/react-virtual").VirtualItem[];
|
|
895
1000
|
totalSize: number;
|
|
@@ -912,10 +1017,6 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
912
1017
|
}): void;
|
|
913
1018
|
selectAll(): void;
|
|
914
1019
|
unselectAll(): void;
|
|
915
|
-
registerItem(data: {
|
|
916
|
-
item: any;
|
|
917
|
-
textValue: string;
|
|
918
|
-
}): void;
|
|
919
1020
|
goTo(data: {
|
|
920
1021
|
id: string;
|
|
921
1022
|
}): void;
|
|
@@ -929,6 +1030,10 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
929
1030
|
goToLastOfRow(): void;
|
|
930
1031
|
goToNextPage(): void;
|
|
931
1032
|
goToPreviousPage(): void;
|
|
1033
|
+
registerItem(data: {
|
|
1034
|
+
item: any;
|
|
1035
|
+
textValue: string;
|
|
1036
|
+
}): void;
|
|
932
1037
|
unregisterItem(data: {
|
|
933
1038
|
id: string;
|
|
934
1039
|
}): void;
|
|
@@ -957,6 +1062,9 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
957
1062
|
cursorId: string;
|
|
958
1063
|
columnCount: number;
|
|
959
1064
|
pageSizeRef: React.MutableRefObject<number>;
|
|
1065
|
+
cursorIndexRef: {
|
|
1066
|
+
readonly current: number;
|
|
1067
|
+
};
|
|
960
1068
|
UNSTABLE_virtual: {
|
|
961
1069
|
virtualItems: import("@workday/canvas-kit-react/collection/lib/react-virtual").VirtualItem[];
|
|
962
1070
|
totalSize: number;
|
|
@@ -979,10 +1087,6 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
979
1087
|
}): void;
|
|
980
1088
|
selectAll(): void;
|
|
981
1089
|
unselectAll(): void;
|
|
982
|
-
registerItem(data: {
|
|
983
|
-
item: any;
|
|
984
|
-
textValue: string;
|
|
985
|
-
}): void;
|
|
986
1090
|
goTo(data: {
|
|
987
1091
|
id: string;
|
|
988
1092
|
}): void;
|
|
@@ -996,6 +1100,10 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
996
1100
|
goToLastOfRow(): void;
|
|
997
1101
|
goToNextPage(): void;
|
|
998
1102
|
goToPreviousPage(): void;
|
|
1103
|
+
registerItem(data: {
|
|
1104
|
+
item: any;
|
|
1105
|
+
textValue: string;
|
|
1106
|
+
}): void;
|
|
999
1107
|
unregisterItem(data: {
|
|
1000
1108
|
id: string;
|
|
1001
1109
|
}): void;
|
|
@@ -1024,6 +1132,9 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
1024
1132
|
cursorId: string;
|
|
1025
1133
|
columnCount: number;
|
|
1026
1134
|
pageSizeRef: React.MutableRefObject<number>;
|
|
1135
|
+
cursorIndexRef: {
|
|
1136
|
+
readonly current: number;
|
|
1137
|
+
};
|
|
1027
1138
|
UNSTABLE_virtual: {
|
|
1028
1139
|
virtualItems: import("@workday/canvas-kit-react/collection/lib/react-virtual").VirtualItem[];
|
|
1029
1140
|
totalSize: number;
|
|
@@ -1046,10 +1157,6 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
1046
1157
|
}): void;
|
|
1047
1158
|
selectAll(): void;
|
|
1048
1159
|
unselectAll(): void;
|
|
1049
|
-
registerItem(data: {
|
|
1050
|
-
item: any;
|
|
1051
|
-
textValue: string;
|
|
1052
|
-
}): void;
|
|
1053
1160
|
goTo(data: {
|
|
1054
1161
|
id: string;
|
|
1055
1162
|
}): void;
|
|
@@ -1063,6 +1170,10 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
1063
1170
|
goToLastOfRow(): void;
|
|
1064
1171
|
goToNextPage(): void;
|
|
1065
1172
|
goToPreviousPage(): void;
|
|
1173
|
+
registerItem(data: {
|
|
1174
|
+
item: any;
|
|
1175
|
+
textValue: string;
|
|
1176
|
+
}): void;
|
|
1066
1177
|
unregisterItem(data: {
|
|
1067
1178
|
id: string;
|
|
1068
1179
|
}): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SegmentedControl.d.ts","sourceRoot":"","sources":["../../../../segmented-control/lib/SegmentedControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"SegmentedControl.d.ts","sourceRoot":"","sources":["../../../../segmented-control/lib/SegmentedControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAIzB;;;;;;;OAOG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEH;;;;;;;OAOG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKL,CAAC"}
|