@workday/canvas-kit-preview-react 9.0.0-alpha.414-next.16 → 9.0.0-alpha.416-next.18
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 +44 -44
- package/dist/commonjs/segmented-control/lib/SegmentedControlItem.d.ts +4 -4
- package/dist/commonjs/segmented-control/lib/SegmentedControlList.d.ts +8 -8
- package/dist/commonjs/segmented-control/lib/hooks/useSegmentedControlItem.d.ts +4 -4
- package/dist/commonjs/segmented-control/lib/hooks/useSegmentedControlModel.d.ts +44 -44
- package/dist/es6/segmented-control/lib/SegmentedControl.d.ts +44 -44
- package/dist/es6/segmented-control/lib/SegmentedControlItem.d.ts +4 -4
- package/dist/es6/segmented-control/lib/SegmentedControlList.d.ts +8 -8
- package/dist/es6/segmented-control/lib/hooks/useSegmentedControlItem.d.ts +4 -4
- package/dist/es6/segmented-control/lib/hooks/useSegmentedControlModel.d.ts +44 -44
- package/package.json +3 -3
|
@@ -116,9 +116,8 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
116
116
|
isVirtualized: boolean;
|
|
117
117
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
118
118
|
}) => void) | undefined;
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
textValue: string;
|
|
119
|
+
onGoTo?: ((data: {
|
|
120
|
+
id: string;
|
|
122
121
|
}, prevState: {
|
|
123
122
|
disabled: boolean;
|
|
124
123
|
size: "small" | "medium" | "large";
|
|
@@ -143,9 +142,7 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
143
142
|
isVirtualized: boolean;
|
|
144
143
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
145
144
|
}) => void) | undefined;
|
|
146
|
-
|
|
147
|
-
id: string;
|
|
148
|
-
}, prevState: {
|
|
145
|
+
onGoToNext?: ((data: undefined, prevState: {
|
|
149
146
|
disabled: boolean;
|
|
150
147
|
size: "small" | "medium" | "large";
|
|
151
148
|
selectedIds: string[] | "all";
|
|
@@ -169,7 +166,7 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
169
166
|
isVirtualized: boolean;
|
|
170
167
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
171
168
|
}) => void) | undefined;
|
|
172
|
-
|
|
169
|
+
onGoToPrevious?: ((data: undefined, prevState: {
|
|
173
170
|
disabled: boolean;
|
|
174
171
|
size: "small" | "medium" | "large";
|
|
175
172
|
selectedIds: string[] | "all";
|
|
@@ -193,7 +190,7 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
193
190
|
isVirtualized: boolean;
|
|
194
191
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
195
192
|
}) => void) | undefined;
|
|
196
|
-
|
|
193
|
+
onGoToPreviousRow?: ((data: undefined, prevState: {
|
|
197
194
|
disabled: boolean;
|
|
198
195
|
size: "small" | "medium" | "large";
|
|
199
196
|
selectedIds: string[] | "all";
|
|
@@ -217,7 +214,7 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
217
214
|
isVirtualized: boolean;
|
|
218
215
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
219
216
|
}) => void) | undefined;
|
|
220
|
-
|
|
217
|
+
onGoToNextRow?: ((data: undefined, prevState: {
|
|
221
218
|
disabled: boolean;
|
|
222
219
|
size: "small" | "medium" | "large";
|
|
223
220
|
selectedIds: string[] | "all";
|
|
@@ -241,7 +238,7 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
241
238
|
isVirtualized: boolean;
|
|
242
239
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
243
240
|
}) => void) | undefined;
|
|
244
|
-
|
|
241
|
+
onGoToFirst?: ((data: undefined, prevState: {
|
|
245
242
|
disabled: boolean;
|
|
246
243
|
size: "small" | "medium" | "large";
|
|
247
244
|
selectedIds: string[] | "all";
|
|
@@ -265,7 +262,7 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
265
262
|
isVirtualized: boolean;
|
|
266
263
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
267
264
|
}) => void) | undefined;
|
|
268
|
-
|
|
265
|
+
onGoToLast?: ((data: undefined, prevState: {
|
|
269
266
|
disabled: boolean;
|
|
270
267
|
size: "small" | "medium" | "large";
|
|
271
268
|
selectedIds: string[] | "all";
|
|
@@ -289,7 +286,7 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
289
286
|
isVirtualized: boolean;
|
|
290
287
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
291
288
|
}) => void) | undefined;
|
|
292
|
-
|
|
289
|
+
onGoToFirstOfRow?: ((data: undefined, prevState: {
|
|
293
290
|
disabled: boolean;
|
|
294
291
|
size: "small" | "medium" | "large";
|
|
295
292
|
selectedIds: string[] | "all";
|
|
@@ -313,7 +310,7 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
313
310
|
isVirtualized: boolean;
|
|
314
311
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
315
312
|
}) => void) | undefined;
|
|
316
|
-
|
|
313
|
+
onGoToLastOfRow?: ((data: undefined, prevState: {
|
|
317
314
|
disabled: boolean;
|
|
318
315
|
size: "small" | "medium" | "large";
|
|
319
316
|
selectedIds: string[] | "all";
|
|
@@ -337,7 +334,7 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
337
334
|
isVirtualized: boolean;
|
|
338
335
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
339
336
|
}) => void) | undefined;
|
|
340
|
-
|
|
337
|
+
onGoToNextPage?: ((data: undefined, prevState: {
|
|
341
338
|
disabled: boolean;
|
|
342
339
|
size: "small" | "medium" | "large";
|
|
343
340
|
selectedIds: string[] | "all";
|
|
@@ -361,7 +358,7 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
361
358
|
isVirtualized: boolean;
|
|
362
359
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
363
360
|
}) => void) | undefined;
|
|
364
|
-
|
|
361
|
+
onGoToPreviousPage?: ((data: undefined, prevState: {
|
|
365
362
|
disabled: boolean;
|
|
366
363
|
size: "small" | "medium" | "large";
|
|
367
364
|
selectedIds: string[] | "all";
|
|
@@ -385,7 +382,10 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
385
382
|
isVirtualized: boolean;
|
|
386
383
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
387
384
|
}) => void) | undefined;
|
|
388
|
-
|
|
385
|
+
onRegisterItem?: ((data: {
|
|
386
|
+
item: any;
|
|
387
|
+
textValue: string;
|
|
388
|
+
}, prevState: {
|
|
389
389
|
disabled: boolean;
|
|
390
390
|
size: "small" | "medium" | "large";
|
|
391
391
|
selectedIds: string[] | "all";
|
|
@@ -536,9 +536,8 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
536
536
|
isVirtualized: boolean;
|
|
537
537
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
538
538
|
}) => boolean) | undefined;
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
textValue: string;
|
|
539
|
+
shouldGoTo?: ((data: {
|
|
540
|
+
id: string;
|
|
542
541
|
}, state: {
|
|
543
542
|
disabled: boolean;
|
|
544
543
|
size: "small" | "medium" | "large";
|
|
@@ -563,9 +562,7 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
563
562
|
isVirtualized: boolean;
|
|
564
563
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
565
564
|
}) => boolean) | undefined;
|
|
566
|
-
|
|
567
|
-
id: string;
|
|
568
|
-
}, state: {
|
|
565
|
+
shouldGoToNext?: ((data: undefined, state: {
|
|
569
566
|
disabled: boolean;
|
|
570
567
|
size: "small" | "medium" | "large";
|
|
571
568
|
selectedIds: string[] | "all";
|
|
@@ -589,7 +586,7 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
589
586
|
isVirtualized: boolean;
|
|
590
587
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
591
588
|
}) => boolean) | undefined;
|
|
592
|
-
|
|
589
|
+
shouldGoToPrevious?: ((data: undefined, state: {
|
|
593
590
|
disabled: boolean;
|
|
594
591
|
size: "small" | "medium" | "large";
|
|
595
592
|
selectedIds: string[] | "all";
|
|
@@ -613,7 +610,7 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
613
610
|
isVirtualized: boolean;
|
|
614
611
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
615
612
|
}) => boolean) | undefined;
|
|
616
|
-
|
|
613
|
+
shouldGoToPreviousRow?: ((data: undefined, state: {
|
|
617
614
|
disabled: boolean;
|
|
618
615
|
size: "small" | "medium" | "large";
|
|
619
616
|
selectedIds: string[] | "all";
|
|
@@ -637,7 +634,7 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
637
634
|
isVirtualized: boolean;
|
|
638
635
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
639
636
|
}) => boolean) | undefined;
|
|
640
|
-
|
|
637
|
+
shouldGoToNextRow?: ((data: undefined, state: {
|
|
641
638
|
disabled: boolean;
|
|
642
639
|
size: "small" | "medium" | "large";
|
|
643
640
|
selectedIds: string[] | "all";
|
|
@@ -661,7 +658,7 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
661
658
|
isVirtualized: boolean;
|
|
662
659
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
663
660
|
}) => boolean) | undefined;
|
|
664
|
-
|
|
661
|
+
shouldGoToFirst?: ((data: undefined, state: {
|
|
665
662
|
disabled: boolean;
|
|
666
663
|
size: "small" | "medium" | "large";
|
|
667
664
|
selectedIds: string[] | "all";
|
|
@@ -685,7 +682,7 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
685
682
|
isVirtualized: boolean;
|
|
686
683
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
687
684
|
}) => boolean) | undefined;
|
|
688
|
-
|
|
685
|
+
shouldGoToLast?: ((data: undefined, state: {
|
|
689
686
|
disabled: boolean;
|
|
690
687
|
size: "small" | "medium" | "large";
|
|
691
688
|
selectedIds: string[] | "all";
|
|
@@ -709,7 +706,7 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
709
706
|
isVirtualized: boolean;
|
|
710
707
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
711
708
|
}) => boolean) | undefined;
|
|
712
|
-
|
|
709
|
+
shouldGoToFirstOfRow?: ((data: undefined, state: {
|
|
713
710
|
disabled: boolean;
|
|
714
711
|
size: "small" | "medium" | "large";
|
|
715
712
|
selectedIds: string[] | "all";
|
|
@@ -733,7 +730,7 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
733
730
|
isVirtualized: boolean;
|
|
734
731
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
735
732
|
}) => boolean) | undefined;
|
|
736
|
-
|
|
733
|
+
shouldGoToLastOfRow?: ((data: undefined, state: {
|
|
737
734
|
disabled: boolean;
|
|
738
735
|
size: "small" | "medium" | "large";
|
|
739
736
|
selectedIds: string[] | "all";
|
|
@@ -757,7 +754,7 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
757
754
|
isVirtualized: boolean;
|
|
758
755
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
759
756
|
}) => boolean) | undefined;
|
|
760
|
-
|
|
757
|
+
shouldGoToNextPage?: ((data: undefined, state: {
|
|
761
758
|
disabled: boolean;
|
|
762
759
|
size: "small" | "medium" | "large";
|
|
763
760
|
selectedIds: string[] | "all";
|
|
@@ -781,7 +778,7 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
781
778
|
isVirtualized: boolean;
|
|
782
779
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
783
780
|
}) => boolean) | undefined;
|
|
784
|
-
|
|
781
|
+
shouldGoToPreviousPage?: ((data: undefined, state: {
|
|
785
782
|
disabled: boolean;
|
|
786
783
|
size: "small" | "medium" | "large";
|
|
787
784
|
selectedIds: string[] | "all";
|
|
@@ -805,7 +802,10 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
805
802
|
isVirtualized: boolean;
|
|
806
803
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
807
804
|
}) => boolean) | undefined;
|
|
808
|
-
|
|
805
|
+
shouldRegisterItem?: ((data: {
|
|
806
|
+
item: any;
|
|
807
|
+
textValue: string;
|
|
808
|
+
}, state: {
|
|
809
809
|
disabled: boolean;
|
|
810
810
|
size: "small" | "medium" | "large";
|
|
811
811
|
selectedIds: string[] | "all";
|
|
@@ -912,10 +912,6 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
912
912
|
}): void;
|
|
913
913
|
selectAll(): void;
|
|
914
914
|
unselectAll(): void;
|
|
915
|
-
registerItem(data: {
|
|
916
|
-
item: any;
|
|
917
|
-
textValue: string;
|
|
918
|
-
}): void;
|
|
919
915
|
goTo(data: {
|
|
920
916
|
id: string;
|
|
921
917
|
}): void;
|
|
@@ -929,6 +925,10 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
929
925
|
goToLastOfRow(): void;
|
|
930
926
|
goToNextPage(): void;
|
|
931
927
|
goToPreviousPage(): void;
|
|
928
|
+
registerItem(data: {
|
|
929
|
+
item: any;
|
|
930
|
+
textValue: string;
|
|
931
|
+
}): void;
|
|
932
932
|
unregisterItem(data: {
|
|
933
933
|
id: string;
|
|
934
934
|
}): void;
|
|
@@ -979,10 +979,6 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
979
979
|
}): void;
|
|
980
980
|
selectAll(): void;
|
|
981
981
|
unselectAll(): void;
|
|
982
|
-
registerItem(data: {
|
|
983
|
-
item: any;
|
|
984
|
-
textValue: string;
|
|
985
|
-
}): void;
|
|
986
982
|
goTo(data: {
|
|
987
983
|
id: string;
|
|
988
984
|
}): void;
|
|
@@ -996,6 +992,10 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
996
992
|
goToLastOfRow(): void;
|
|
997
993
|
goToNextPage(): void;
|
|
998
994
|
goToPreviousPage(): void;
|
|
995
|
+
registerItem(data: {
|
|
996
|
+
item: any;
|
|
997
|
+
textValue: string;
|
|
998
|
+
}): void;
|
|
999
999
|
unregisterItem(data: {
|
|
1000
1000
|
id: string;
|
|
1001
1001
|
}): void;
|
|
@@ -1046,10 +1046,6 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
1046
1046
|
}): void;
|
|
1047
1047
|
selectAll(): void;
|
|
1048
1048
|
unselectAll(): void;
|
|
1049
|
-
registerItem(data: {
|
|
1050
|
-
item: any;
|
|
1051
|
-
textValue: string;
|
|
1052
|
-
}): void;
|
|
1053
1049
|
goTo(data: {
|
|
1054
1050
|
id: string;
|
|
1055
1051
|
}): void;
|
|
@@ -1063,6 +1059,10 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
1063
1059
|
goToLastOfRow(): void;
|
|
1064
1060
|
goToNextPage(): void;
|
|
1065
1061
|
goToPreviousPage(): void;
|
|
1062
|
+
registerItem(data: {
|
|
1063
|
+
item: any;
|
|
1064
|
+
textValue: string;
|
|
1065
|
+
}): void;
|
|
1066
1066
|
unregisterItem(data: {
|
|
1067
1067
|
id: string;
|
|
1068
1068
|
}): void;
|
|
@@ -73,10 +73,6 @@ export declare const SegmentedControlItem: import("@workday/canvas-kit-react/com
|
|
|
73
73
|
}): void;
|
|
74
74
|
selectAll(): void;
|
|
75
75
|
unselectAll(): void;
|
|
76
|
-
registerItem(data: {
|
|
77
|
-
item: any;
|
|
78
|
-
textValue: string;
|
|
79
|
-
}): void;
|
|
80
76
|
goTo(data: {
|
|
81
77
|
id: string;
|
|
82
78
|
}): void;
|
|
@@ -90,6 +86,10 @@ export declare const SegmentedControlItem: import("@workday/canvas-kit-react/com
|
|
|
90
86
|
goToLastOfRow(): void;
|
|
91
87
|
goToNextPage(): void;
|
|
92
88
|
goToPreviousPage(): void;
|
|
89
|
+
registerItem(data: {
|
|
90
|
+
item: any;
|
|
91
|
+
textValue: string;
|
|
92
|
+
}): void;
|
|
93
93
|
unregisterItem(data: {
|
|
94
94
|
id: string;
|
|
95
95
|
}): void;
|
|
@@ -36,10 +36,6 @@ export declare const useSegmentedControlList: import("@workday/canvas-kit-react/
|
|
|
36
36
|
}): void;
|
|
37
37
|
selectAll(): void;
|
|
38
38
|
unselectAll(): void;
|
|
39
|
-
registerItem(data: {
|
|
40
|
-
item: any;
|
|
41
|
-
textValue: string;
|
|
42
|
-
}): void;
|
|
43
39
|
goTo(data: {
|
|
44
40
|
id: string;
|
|
45
41
|
}): void;
|
|
@@ -53,6 +49,10 @@ export declare const useSegmentedControlList: import("@workday/canvas-kit-react/
|
|
|
53
49
|
goToLastOfRow(): void;
|
|
54
50
|
goToNextPage(): void;
|
|
55
51
|
goToPreviousPage(): void;
|
|
52
|
+
registerItem(data: {
|
|
53
|
+
item: any;
|
|
54
|
+
textValue: string;
|
|
55
|
+
}): void;
|
|
56
56
|
unregisterItem(data: {
|
|
57
57
|
id: string;
|
|
58
58
|
}): void;
|
|
@@ -98,10 +98,6 @@ export declare const SegmentedControlList: import("@workday/canvas-kit-react/com
|
|
|
98
98
|
}): void;
|
|
99
99
|
selectAll(): void;
|
|
100
100
|
unselectAll(): void;
|
|
101
|
-
registerItem(data: {
|
|
102
|
-
item: any;
|
|
103
|
-
textValue: string;
|
|
104
|
-
}): void;
|
|
105
101
|
goTo(data: {
|
|
106
102
|
id: string;
|
|
107
103
|
}): void;
|
|
@@ -115,6 +111,10 @@ export declare const SegmentedControlList: import("@workday/canvas-kit-react/com
|
|
|
115
111
|
goToLastOfRow(): void;
|
|
116
112
|
goToNextPage(): void;
|
|
117
113
|
goToPreviousPage(): void;
|
|
114
|
+
registerItem(data: {
|
|
115
|
+
item: any;
|
|
116
|
+
textValue: string;
|
|
117
|
+
}): void;
|
|
118
118
|
unregisterItem(data: {
|
|
119
119
|
id: string;
|
|
120
120
|
}): void;
|
|
@@ -28,10 +28,6 @@ export declare const useSegmentedControlItem: import("@workday/canvas-kit-react/
|
|
|
28
28
|
}): void;
|
|
29
29
|
selectAll(): void;
|
|
30
30
|
unselectAll(): void;
|
|
31
|
-
registerItem(data: {
|
|
32
|
-
item: any;
|
|
33
|
-
textValue: string;
|
|
34
|
-
}): void;
|
|
35
31
|
goTo(data: {
|
|
36
32
|
id: string;
|
|
37
33
|
}): void;
|
|
@@ -45,6 +41,10 @@ export declare const useSegmentedControlItem: import("@workday/canvas-kit-react/
|
|
|
45
41
|
goToLastOfRow(): void;
|
|
46
42
|
goToNextPage(): void;
|
|
47
43
|
goToPreviousPage(): void;
|
|
44
|
+
registerItem(data: {
|
|
45
|
+
item: any;
|
|
46
|
+
textValue: string;
|
|
47
|
+
}): void;
|
|
48
48
|
unregisterItem(data: {
|
|
49
49
|
id: string;
|
|
50
50
|
}): void;
|
|
@@ -114,9 +114,8 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
114
114
|
isVirtualized: boolean;
|
|
115
115
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
116
116
|
}) => void) | undefined;
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
textValue: string;
|
|
117
|
+
onGoTo?: ((data: {
|
|
118
|
+
id: string;
|
|
120
119
|
}, prevState: {
|
|
121
120
|
disabled: boolean;
|
|
122
121
|
size: "small" | "medium" | "large";
|
|
@@ -141,9 +140,7 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
141
140
|
isVirtualized: boolean;
|
|
142
141
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
143
142
|
}) => void) | undefined;
|
|
144
|
-
|
|
145
|
-
id: string;
|
|
146
|
-
}, prevState: {
|
|
143
|
+
onGoToNext?: ((data: undefined, prevState: {
|
|
147
144
|
disabled: boolean;
|
|
148
145
|
size: "small" | "medium" | "large";
|
|
149
146
|
selectedIds: string[] | "all";
|
|
@@ -167,7 +164,7 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
167
164
|
isVirtualized: boolean;
|
|
168
165
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
169
166
|
}) => void) | undefined;
|
|
170
|
-
|
|
167
|
+
onGoToPrevious?: ((data: undefined, prevState: {
|
|
171
168
|
disabled: boolean;
|
|
172
169
|
size: "small" | "medium" | "large";
|
|
173
170
|
selectedIds: string[] | "all";
|
|
@@ -191,7 +188,7 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
191
188
|
isVirtualized: boolean;
|
|
192
189
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
193
190
|
}) => void) | undefined;
|
|
194
|
-
|
|
191
|
+
onGoToPreviousRow?: ((data: undefined, prevState: {
|
|
195
192
|
disabled: boolean;
|
|
196
193
|
size: "small" | "medium" | "large";
|
|
197
194
|
selectedIds: string[] | "all";
|
|
@@ -215,7 +212,7 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
215
212
|
isVirtualized: boolean;
|
|
216
213
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
217
214
|
}) => void) | undefined;
|
|
218
|
-
|
|
215
|
+
onGoToNextRow?: ((data: undefined, prevState: {
|
|
219
216
|
disabled: boolean;
|
|
220
217
|
size: "small" | "medium" | "large";
|
|
221
218
|
selectedIds: string[] | "all";
|
|
@@ -239,7 +236,7 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
239
236
|
isVirtualized: boolean;
|
|
240
237
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
241
238
|
}) => void) | undefined;
|
|
242
|
-
|
|
239
|
+
onGoToFirst?: ((data: undefined, prevState: {
|
|
243
240
|
disabled: boolean;
|
|
244
241
|
size: "small" | "medium" | "large";
|
|
245
242
|
selectedIds: string[] | "all";
|
|
@@ -263,7 +260,7 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
263
260
|
isVirtualized: boolean;
|
|
264
261
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
265
262
|
}) => void) | undefined;
|
|
266
|
-
|
|
263
|
+
onGoToLast?: ((data: undefined, prevState: {
|
|
267
264
|
disabled: boolean;
|
|
268
265
|
size: "small" | "medium" | "large";
|
|
269
266
|
selectedIds: string[] | "all";
|
|
@@ -287,7 +284,7 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
287
284
|
isVirtualized: boolean;
|
|
288
285
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
289
286
|
}) => void) | undefined;
|
|
290
|
-
|
|
287
|
+
onGoToFirstOfRow?: ((data: undefined, prevState: {
|
|
291
288
|
disabled: boolean;
|
|
292
289
|
size: "small" | "medium" | "large";
|
|
293
290
|
selectedIds: string[] | "all";
|
|
@@ -311,7 +308,7 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
311
308
|
isVirtualized: boolean;
|
|
312
309
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
313
310
|
}) => void) | undefined;
|
|
314
|
-
|
|
311
|
+
onGoToLastOfRow?: ((data: undefined, prevState: {
|
|
315
312
|
disabled: boolean;
|
|
316
313
|
size: "small" | "medium" | "large";
|
|
317
314
|
selectedIds: string[] | "all";
|
|
@@ -335,7 +332,7 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
335
332
|
isVirtualized: boolean;
|
|
336
333
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
337
334
|
}) => void) | undefined;
|
|
338
|
-
|
|
335
|
+
onGoToNextPage?: ((data: undefined, prevState: {
|
|
339
336
|
disabled: boolean;
|
|
340
337
|
size: "small" | "medium" | "large";
|
|
341
338
|
selectedIds: string[] | "all";
|
|
@@ -359,7 +356,7 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
359
356
|
isVirtualized: boolean;
|
|
360
357
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
361
358
|
}) => void) | undefined;
|
|
362
|
-
|
|
359
|
+
onGoToPreviousPage?: ((data: undefined, prevState: {
|
|
363
360
|
disabled: boolean;
|
|
364
361
|
size: "small" | "medium" | "large";
|
|
365
362
|
selectedIds: string[] | "all";
|
|
@@ -383,7 +380,10 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
383
380
|
isVirtualized: boolean;
|
|
384
381
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
385
382
|
}) => void) | undefined;
|
|
386
|
-
|
|
383
|
+
onRegisterItem?: ((data: {
|
|
384
|
+
item: any;
|
|
385
|
+
textValue: string;
|
|
386
|
+
}, prevState: {
|
|
387
387
|
disabled: boolean;
|
|
388
388
|
size: "small" | "medium" | "large";
|
|
389
389
|
selectedIds: string[] | "all";
|
|
@@ -534,9 +534,8 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
534
534
|
isVirtualized: boolean;
|
|
535
535
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
536
536
|
}) => boolean) | undefined;
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
textValue: string;
|
|
537
|
+
shouldGoTo?: ((data: {
|
|
538
|
+
id: string;
|
|
540
539
|
}, state: {
|
|
541
540
|
disabled: boolean;
|
|
542
541
|
size: "small" | "medium" | "large";
|
|
@@ -561,9 +560,7 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
561
560
|
isVirtualized: boolean;
|
|
562
561
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
563
562
|
}) => boolean) | undefined;
|
|
564
|
-
|
|
565
|
-
id: string;
|
|
566
|
-
}, state: {
|
|
563
|
+
shouldGoToNext?: ((data: undefined, state: {
|
|
567
564
|
disabled: boolean;
|
|
568
565
|
size: "small" | "medium" | "large";
|
|
569
566
|
selectedIds: string[] | "all";
|
|
@@ -587,7 +584,7 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
587
584
|
isVirtualized: boolean;
|
|
588
585
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
589
586
|
}) => boolean) | undefined;
|
|
590
|
-
|
|
587
|
+
shouldGoToPrevious?: ((data: undefined, state: {
|
|
591
588
|
disabled: boolean;
|
|
592
589
|
size: "small" | "medium" | "large";
|
|
593
590
|
selectedIds: string[] | "all";
|
|
@@ -611,7 +608,7 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
611
608
|
isVirtualized: boolean;
|
|
612
609
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
613
610
|
}) => boolean) | undefined;
|
|
614
|
-
|
|
611
|
+
shouldGoToPreviousRow?: ((data: undefined, state: {
|
|
615
612
|
disabled: boolean;
|
|
616
613
|
size: "small" | "medium" | "large";
|
|
617
614
|
selectedIds: string[] | "all";
|
|
@@ -635,7 +632,7 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
635
632
|
isVirtualized: boolean;
|
|
636
633
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
637
634
|
}) => boolean) | undefined;
|
|
638
|
-
|
|
635
|
+
shouldGoToNextRow?: ((data: undefined, state: {
|
|
639
636
|
disabled: boolean;
|
|
640
637
|
size: "small" | "medium" | "large";
|
|
641
638
|
selectedIds: string[] | "all";
|
|
@@ -659,7 +656,7 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
659
656
|
isVirtualized: boolean;
|
|
660
657
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
661
658
|
}) => boolean) | undefined;
|
|
662
|
-
|
|
659
|
+
shouldGoToFirst?: ((data: undefined, state: {
|
|
663
660
|
disabled: boolean;
|
|
664
661
|
size: "small" | "medium" | "large";
|
|
665
662
|
selectedIds: string[] | "all";
|
|
@@ -683,7 +680,7 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
683
680
|
isVirtualized: boolean;
|
|
684
681
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
685
682
|
}) => boolean) | undefined;
|
|
686
|
-
|
|
683
|
+
shouldGoToLast?: ((data: undefined, state: {
|
|
687
684
|
disabled: boolean;
|
|
688
685
|
size: "small" | "medium" | "large";
|
|
689
686
|
selectedIds: string[] | "all";
|
|
@@ -707,7 +704,7 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
707
704
|
isVirtualized: boolean;
|
|
708
705
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
709
706
|
}) => boolean) | undefined;
|
|
710
|
-
|
|
707
|
+
shouldGoToFirstOfRow?: ((data: undefined, state: {
|
|
711
708
|
disabled: boolean;
|
|
712
709
|
size: "small" | "medium" | "large";
|
|
713
710
|
selectedIds: string[] | "all";
|
|
@@ -731,7 +728,7 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
731
728
|
isVirtualized: boolean;
|
|
732
729
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
733
730
|
}) => boolean) | undefined;
|
|
734
|
-
|
|
731
|
+
shouldGoToLastOfRow?: ((data: undefined, state: {
|
|
735
732
|
disabled: boolean;
|
|
736
733
|
size: "small" | "medium" | "large";
|
|
737
734
|
selectedIds: string[] | "all";
|
|
@@ -755,7 +752,7 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
755
752
|
isVirtualized: boolean;
|
|
756
753
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
757
754
|
}) => boolean) | undefined;
|
|
758
|
-
|
|
755
|
+
shouldGoToNextPage?: ((data: undefined, state: {
|
|
759
756
|
disabled: boolean;
|
|
760
757
|
size: "small" | "medium" | "large";
|
|
761
758
|
selectedIds: string[] | "all";
|
|
@@ -779,7 +776,7 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
779
776
|
isVirtualized: boolean;
|
|
780
777
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
781
778
|
}) => boolean) | undefined;
|
|
782
|
-
|
|
779
|
+
shouldGoToPreviousPage?: ((data: undefined, state: {
|
|
783
780
|
disabled: boolean;
|
|
784
781
|
size: "small" | "medium" | "large";
|
|
785
782
|
selectedIds: string[] | "all";
|
|
@@ -803,7 +800,10 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
803
800
|
isVirtualized: boolean;
|
|
804
801
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
805
802
|
}) => boolean) | undefined;
|
|
806
|
-
|
|
803
|
+
shouldRegisterItem?: ((data: {
|
|
804
|
+
item: any;
|
|
805
|
+
textValue: string;
|
|
806
|
+
}, state: {
|
|
807
807
|
disabled: boolean;
|
|
808
808
|
size: "small" | "medium" | "large";
|
|
809
809
|
selectedIds: string[] | "all";
|
|
@@ -910,10 +910,6 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
910
910
|
}): void;
|
|
911
911
|
selectAll(): void;
|
|
912
912
|
unselectAll(): void;
|
|
913
|
-
registerItem(data: {
|
|
914
|
-
item: any;
|
|
915
|
-
textValue: string;
|
|
916
|
-
}): void;
|
|
917
913
|
goTo(data: {
|
|
918
914
|
id: string;
|
|
919
915
|
}): void;
|
|
@@ -927,6 +923,10 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
927
923
|
goToLastOfRow(): void;
|
|
928
924
|
goToNextPage(): void;
|
|
929
925
|
goToPreviousPage(): void;
|
|
926
|
+
registerItem(data: {
|
|
927
|
+
item: any;
|
|
928
|
+
textValue: string;
|
|
929
|
+
}): void;
|
|
930
930
|
unregisterItem(data: {
|
|
931
931
|
id: string;
|
|
932
932
|
}): void;
|
|
@@ -1006,10 +1006,6 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
1006
1006
|
}): void;
|
|
1007
1007
|
selectAll(): void;
|
|
1008
1008
|
unselectAll(): void;
|
|
1009
|
-
registerItem(data: {
|
|
1010
|
-
item: any;
|
|
1011
|
-
textValue: string;
|
|
1012
|
-
}): void;
|
|
1013
1009
|
goTo(data: {
|
|
1014
1010
|
id: string;
|
|
1015
1011
|
}): void;
|
|
@@ -1023,6 +1019,10 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
1023
1019
|
goToLastOfRow(): void;
|
|
1024
1020
|
goToNextPage(): void;
|
|
1025
1021
|
goToPreviousPage(): void;
|
|
1022
|
+
registerItem(data: {
|
|
1023
|
+
item: any;
|
|
1024
|
+
textValue: string;
|
|
1025
|
+
}): void;
|
|
1026
1026
|
unregisterItem(data: {
|
|
1027
1027
|
id: string;
|
|
1028
1028
|
}): void;
|
|
@@ -1060,10 +1060,6 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
1060
1060
|
}): void;
|
|
1061
1061
|
selectAll(): void;
|
|
1062
1062
|
unselectAll(): void;
|
|
1063
|
-
registerItem(data: {
|
|
1064
|
-
item: any;
|
|
1065
|
-
textValue: string;
|
|
1066
|
-
}): void;
|
|
1067
1063
|
goTo(data: {
|
|
1068
1064
|
id: string;
|
|
1069
1065
|
}): void;
|
|
@@ -1077,6 +1073,10 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
1077
1073
|
goToLastOfRow(): void;
|
|
1078
1074
|
goToNextPage(): void;
|
|
1079
1075
|
goToPreviousPage(): void;
|
|
1076
|
+
registerItem(data: {
|
|
1077
|
+
item: any;
|
|
1078
|
+
textValue: string;
|
|
1079
|
+
}): void;
|
|
1080
1080
|
unregisterItem(data: {
|
|
1081
1081
|
id: string;
|
|
1082
1082
|
}): void;
|