@workday/canvas-kit-preview-react 8.0.0-alpha.239-next.10 → 8.0.0-alpha.240-next.11
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 +37 -595
- package/dist/commonjs/segmented-control/lib/SegmentedControl.d.ts.map +1 -1
- package/dist/commonjs/segmented-control/lib/SegmentedControlItem.d.ts +1 -24
- package/dist/commonjs/segmented-control/lib/SegmentedControlItem.d.ts.map +1 -1
- package/dist/commonjs/segmented-control/lib/SegmentedControlList.d.ts +3 -26
- package/dist/commonjs/segmented-control/lib/SegmentedControlList.d.ts.map +1 -1
- package/dist/commonjs/segmented-control/lib/SegmentedControlList.js +8 -6
- package/dist/commonjs/segmented-control/lib/hooks/useSegmentedControlItem.d.ts.map +1 -1
- package/dist/commonjs/segmented-control/lib/hooks/useSegmentedControlItem.js +6 -27
- package/dist/commonjs/segmented-control/lib/hooks/useSegmentedControlModel.d.ts +37 -598
- package/dist/commonjs/segmented-control/lib/hooks/useSegmentedControlModel.d.ts.map +1 -1
- package/dist/commonjs/segmented-control/lib/hooks/useSegmentedControlModel.js +3 -3
- package/dist/es6/segmented-control/lib/SegmentedControl.d.ts +37 -595
- package/dist/es6/segmented-control/lib/SegmentedControl.d.ts.map +1 -1
- package/dist/es6/segmented-control/lib/SegmentedControlItem.d.ts +1 -24
- package/dist/es6/segmented-control/lib/SegmentedControlItem.d.ts.map +1 -1
- package/dist/es6/segmented-control/lib/SegmentedControlList.d.ts +3 -26
- package/dist/es6/segmented-control/lib/SegmentedControlList.d.ts.map +1 -1
- package/dist/es6/segmented-control/lib/SegmentedControlList.js +9 -7
- package/dist/es6/segmented-control/lib/hooks/useSegmentedControlItem.d.ts.map +1 -1
- package/dist/es6/segmented-control/lib/hooks/useSegmentedControlItem.js +7 -28
- package/dist/es6/segmented-control/lib/hooks/useSegmentedControlModel.d.ts +37 -598
- package/dist/es6/segmented-control/lib/hooks/useSegmentedControlModel.d.ts.map +1 -1
- package/dist/es6/segmented-control/lib/hooks/useSegmentedControlModel.js +4 -4
- package/package.json +4 -4
- package/segmented-control/lib/SegmentedControlList.tsx +10 -9
- package/segmented-control/lib/hooks/useSegmentedControlItem.tsx +11 -48
- package/segmented-control/lib/hooks/useSegmentedControlModel.tsx +4 -10
|
@@ -26,9 +26,6 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
26
26
|
* @default 'horizontal'
|
|
27
27
|
*/
|
|
28
28
|
orientation: "horizontal" | "vertical";
|
|
29
|
-
initialHiddenIds: string[];
|
|
30
|
-
containerWidth: number;
|
|
31
|
-
shouldCalculateOverflow: boolean;
|
|
32
29
|
initialSelectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
33
30
|
initialUnselectedIds: string[];
|
|
34
31
|
selection: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectionManager;
|
|
@@ -47,186 +44,6 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
47
44
|
}, prevState: {
|
|
48
45
|
disabled: boolean;
|
|
49
46
|
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
47
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
231
48
|
unselectedIds: string[];
|
|
232
49
|
cursorId: string;
|
|
@@ -243,17 +60,13 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
243
60
|
id: string;
|
|
244
61
|
orientation: "horizontal" | "vertical";
|
|
245
62
|
indexRef: React.MutableRefObject<number>;
|
|
63
|
+
nonInteractiveIds: string[];
|
|
246
64
|
isVirtualized: boolean;
|
|
247
65
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
248
66
|
}) => void) | undefined;
|
|
249
67
|
onSelectAll?: ((data: undefined, prevState: {
|
|
250
68
|
disabled: boolean;
|
|
251
69
|
size: "small" | "medium" | "large";
|
|
252
|
-
nonInteractiveIds: never[];
|
|
253
|
-
hiddenIds: never[];
|
|
254
|
-
itemWidthCache: Record<string, number>;
|
|
255
|
-
containerWidth: number;
|
|
256
|
-
overflowTargetWidth: number;
|
|
257
70
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
258
71
|
unselectedIds: string[];
|
|
259
72
|
cursorId: string;
|
|
@@ -270,17 +83,13 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
270
83
|
id: string;
|
|
271
84
|
orientation: "horizontal" | "vertical";
|
|
272
85
|
indexRef: React.MutableRefObject<number>;
|
|
86
|
+
nonInteractiveIds: string[];
|
|
273
87
|
isVirtualized: boolean;
|
|
274
88
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
275
89
|
}) => void) | undefined;
|
|
276
90
|
onUnselectAll?: ((data: undefined, prevState: {
|
|
277
91
|
disabled: boolean;
|
|
278
92
|
size: "small" | "medium" | "large";
|
|
279
|
-
nonInteractiveIds: never[];
|
|
280
|
-
hiddenIds: never[];
|
|
281
|
-
itemWidthCache: Record<string, number>;
|
|
282
|
-
containerWidth: number;
|
|
283
|
-
overflowTargetWidth: number;
|
|
284
93
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
285
94
|
unselectedIds: string[];
|
|
286
95
|
cursorId: string;
|
|
@@ -297,6 +106,7 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
297
106
|
id: string;
|
|
298
107
|
orientation: "horizontal" | "vertical";
|
|
299
108
|
indexRef: React.MutableRefObject<number>;
|
|
109
|
+
nonInteractiveIds: string[];
|
|
300
110
|
isVirtualized: boolean;
|
|
301
111
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
302
112
|
}) => void) | undefined;
|
|
@@ -306,11 +116,6 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
306
116
|
}, prevState: {
|
|
307
117
|
disabled: boolean;
|
|
308
118
|
size: "small" | "medium" | "large";
|
|
309
|
-
nonInteractiveIds: never[];
|
|
310
|
-
hiddenIds: never[];
|
|
311
|
-
itemWidthCache: Record<string, number>;
|
|
312
|
-
containerWidth: number;
|
|
313
|
-
overflowTargetWidth: number;
|
|
314
119
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
315
120
|
unselectedIds: string[];
|
|
316
121
|
cursorId: string;
|
|
@@ -327,6 +132,7 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
327
132
|
id: string;
|
|
328
133
|
orientation: "horizontal" | "vertical";
|
|
329
134
|
indexRef: React.MutableRefObject<number>;
|
|
135
|
+
nonInteractiveIds: string[];
|
|
330
136
|
isVirtualized: boolean;
|
|
331
137
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
332
138
|
}) => void) | undefined;
|
|
@@ -335,11 +141,6 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
335
141
|
}, prevState: {
|
|
336
142
|
disabled: boolean;
|
|
337
143
|
size: "small" | "medium" | "large";
|
|
338
|
-
nonInteractiveIds: never[];
|
|
339
|
-
hiddenIds: never[];
|
|
340
|
-
itemWidthCache: Record<string, number>;
|
|
341
|
-
containerWidth: number;
|
|
342
|
-
overflowTargetWidth: number;
|
|
343
144
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
344
145
|
unselectedIds: string[];
|
|
345
146
|
cursorId: string;
|
|
@@ -356,17 +157,13 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
356
157
|
id: string;
|
|
357
158
|
orientation: "horizontal" | "vertical";
|
|
358
159
|
indexRef: React.MutableRefObject<number>;
|
|
160
|
+
nonInteractiveIds: string[];
|
|
359
161
|
isVirtualized: boolean;
|
|
360
162
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
361
163
|
}) => void) | undefined;
|
|
362
164
|
onGoToNext?: ((data: undefined, prevState: {
|
|
363
165
|
disabled: boolean;
|
|
364
166
|
size: "small" | "medium" | "large";
|
|
365
|
-
nonInteractiveIds: never[];
|
|
366
|
-
hiddenIds: never[];
|
|
367
|
-
itemWidthCache: Record<string, number>;
|
|
368
|
-
containerWidth: number;
|
|
369
|
-
overflowTargetWidth: number;
|
|
370
167
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
371
168
|
unselectedIds: string[];
|
|
372
169
|
cursorId: string;
|
|
@@ -383,17 +180,13 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
383
180
|
id: string;
|
|
384
181
|
orientation: "horizontal" | "vertical";
|
|
385
182
|
indexRef: React.MutableRefObject<number>;
|
|
183
|
+
nonInteractiveIds: string[];
|
|
386
184
|
isVirtualized: boolean;
|
|
387
185
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
388
186
|
}) => void) | undefined;
|
|
389
187
|
onGoToPrevious?: ((data: undefined, prevState: {
|
|
390
188
|
disabled: boolean;
|
|
391
189
|
size: "small" | "medium" | "large";
|
|
392
|
-
nonInteractiveIds: never[];
|
|
393
|
-
hiddenIds: never[];
|
|
394
|
-
itemWidthCache: Record<string, number>;
|
|
395
|
-
containerWidth: number;
|
|
396
|
-
overflowTargetWidth: number;
|
|
397
190
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
398
191
|
unselectedIds: string[];
|
|
399
192
|
cursorId: string;
|
|
@@ -410,17 +203,13 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
410
203
|
id: string;
|
|
411
204
|
orientation: "horizontal" | "vertical";
|
|
412
205
|
indexRef: React.MutableRefObject<number>;
|
|
206
|
+
nonInteractiveIds: string[];
|
|
413
207
|
isVirtualized: boolean;
|
|
414
208
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
415
209
|
}) => void) | undefined;
|
|
416
210
|
onGoToPreviousRow?: ((data: undefined, prevState: {
|
|
417
211
|
disabled: boolean;
|
|
418
212
|
size: "small" | "medium" | "large";
|
|
419
|
-
nonInteractiveIds: never[];
|
|
420
|
-
hiddenIds: never[];
|
|
421
|
-
itemWidthCache: Record<string, number>;
|
|
422
|
-
containerWidth: number;
|
|
423
|
-
overflowTargetWidth: number;
|
|
424
213
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
425
214
|
unselectedIds: string[];
|
|
426
215
|
cursorId: string;
|
|
@@ -437,17 +226,13 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
437
226
|
id: string;
|
|
438
227
|
orientation: "horizontal" | "vertical";
|
|
439
228
|
indexRef: React.MutableRefObject<number>;
|
|
229
|
+
nonInteractiveIds: string[];
|
|
440
230
|
isVirtualized: boolean;
|
|
441
231
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
442
232
|
}) => void) | undefined;
|
|
443
233
|
onGoToNextRow?: ((data: undefined, prevState: {
|
|
444
234
|
disabled: boolean;
|
|
445
235
|
size: "small" | "medium" | "large";
|
|
446
|
-
nonInteractiveIds: never[];
|
|
447
|
-
hiddenIds: never[];
|
|
448
|
-
itemWidthCache: Record<string, number>;
|
|
449
|
-
containerWidth: number;
|
|
450
|
-
overflowTargetWidth: number;
|
|
451
236
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
452
237
|
unselectedIds: string[];
|
|
453
238
|
cursorId: string;
|
|
@@ -464,17 +249,13 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
464
249
|
id: string;
|
|
465
250
|
orientation: "horizontal" | "vertical";
|
|
466
251
|
indexRef: React.MutableRefObject<number>;
|
|
252
|
+
nonInteractiveIds: string[];
|
|
467
253
|
isVirtualized: boolean;
|
|
468
254
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
469
255
|
}) => void) | undefined;
|
|
470
256
|
onGoToFirst?: ((data: undefined, prevState: {
|
|
471
257
|
disabled: boolean;
|
|
472
258
|
size: "small" | "medium" | "large";
|
|
473
|
-
nonInteractiveIds: never[];
|
|
474
|
-
hiddenIds: never[];
|
|
475
|
-
itemWidthCache: Record<string, number>;
|
|
476
|
-
containerWidth: number;
|
|
477
|
-
overflowTargetWidth: number;
|
|
478
259
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
479
260
|
unselectedIds: string[];
|
|
480
261
|
cursorId: string;
|
|
@@ -491,17 +272,13 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
491
272
|
id: string;
|
|
492
273
|
orientation: "horizontal" | "vertical";
|
|
493
274
|
indexRef: React.MutableRefObject<number>;
|
|
275
|
+
nonInteractiveIds: string[];
|
|
494
276
|
isVirtualized: boolean;
|
|
495
277
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
496
278
|
}) => void) | undefined;
|
|
497
279
|
onGoToLast?: ((data: undefined, prevState: {
|
|
498
280
|
disabled: boolean;
|
|
499
281
|
size: "small" | "medium" | "large";
|
|
500
|
-
nonInteractiveIds: never[];
|
|
501
|
-
hiddenIds: never[];
|
|
502
|
-
itemWidthCache: Record<string, number>;
|
|
503
|
-
containerWidth: number;
|
|
504
|
-
overflowTargetWidth: number;
|
|
505
282
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
506
283
|
unselectedIds: string[];
|
|
507
284
|
cursorId: string;
|
|
@@ -518,17 +295,13 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
518
295
|
id: string;
|
|
519
296
|
orientation: "horizontal" | "vertical";
|
|
520
297
|
indexRef: React.MutableRefObject<number>;
|
|
298
|
+
nonInteractiveIds: string[];
|
|
521
299
|
isVirtualized: boolean;
|
|
522
300
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
523
301
|
}) => void) | undefined;
|
|
524
302
|
onGoToFirstOfRow?: ((data: undefined, prevState: {
|
|
525
303
|
disabled: boolean;
|
|
526
304
|
size: "small" | "medium" | "large";
|
|
527
|
-
nonInteractiveIds: never[];
|
|
528
|
-
hiddenIds: never[];
|
|
529
|
-
itemWidthCache: Record<string, number>;
|
|
530
|
-
containerWidth: number;
|
|
531
|
-
overflowTargetWidth: number;
|
|
532
305
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
533
306
|
unselectedIds: string[];
|
|
534
307
|
cursorId: string;
|
|
@@ -545,17 +318,13 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
545
318
|
id: string;
|
|
546
319
|
orientation: "horizontal" | "vertical";
|
|
547
320
|
indexRef: React.MutableRefObject<number>;
|
|
321
|
+
nonInteractiveIds: string[];
|
|
548
322
|
isVirtualized: boolean;
|
|
549
323
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
550
324
|
}) => void) | undefined;
|
|
551
325
|
onGoToLastOfRow?: ((data: undefined, prevState: {
|
|
552
326
|
disabled: boolean;
|
|
553
327
|
size: "small" | "medium" | "large";
|
|
554
|
-
nonInteractiveIds: never[];
|
|
555
|
-
hiddenIds: never[];
|
|
556
|
-
itemWidthCache: Record<string, number>;
|
|
557
|
-
containerWidth: number;
|
|
558
|
-
overflowTargetWidth: number;
|
|
559
328
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
560
329
|
unselectedIds: string[];
|
|
561
330
|
cursorId: string;
|
|
@@ -572,17 +341,13 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
572
341
|
id: string;
|
|
573
342
|
orientation: "horizontal" | "vertical";
|
|
574
343
|
indexRef: React.MutableRefObject<number>;
|
|
344
|
+
nonInteractiveIds: string[];
|
|
575
345
|
isVirtualized: boolean;
|
|
576
346
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
577
347
|
}) => void) | undefined;
|
|
578
348
|
onGoToNextPage?: ((data: undefined, prevState: {
|
|
579
349
|
disabled: boolean;
|
|
580
350
|
size: "small" | "medium" | "large";
|
|
581
|
-
nonInteractiveIds: never[];
|
|
582
|
-
hiddenIds: never[];
|
|
583
|
-
itemWidthCache: Record<string, number>;
|
|
584
|
-
containerWidth: number;
|
|
585
|
-
overflowTargetWidth: number;
|
|
586
351
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
587
352
|
unselectedIds: string[];
|
|
588
353
|
cursorId: string;
|
|
@@ -599,17 +364,13 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
599
364
|
id: string;
|
|
600
365
|
orientation: "horizontal" | "vertical";
|
|
601
366
|
indexRef: React.MutableRefObject<number>;
|
|
367
|
+
nonInteractiveIds: string[];
|
|
602
368
|
isVirtualized: boolean;
|
|
603
369
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
604
370
|
}) => void) | undefined;
|
|
605
371
|
onGoToPreviousPage?: ((data: undefined, prevState: {
|
|
606
372
|
disabled: boolean;
|
|
607
373
|
size: "small" | "medium" | "large";
|
|
608
|
-
nonInteractiveIds: never[];
|
|
609
|
-
hiddenIds: never[];
|
|
610
|
-
itemWidthCache: Record<string, number>;
|
|
611
|
-
containerWidth: number;
|
|
612
|
-
overflowTargetWidth: number;
|
|
613
374
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
614
375
|
unselectedIds: string[];
|
|
615
376
|
cursorId: string;
|
|
@@ -626,6 +387,7 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
626
387
|
id: string;
|
|
627
388
|
orientation: "horizontal" | "vertical";
|
|
628
389
|
indexRef: React.MutableRefObject<number>;
|
|
390
|
+
nonInteractiveIds: string[];
|
|
629
391
|
isVirtualized: boolean;
|
|
630
392
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
631
393
|
}) => void) | undefined;
|
|
@@ -634,11 +396,6 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
634
396
|
}, prevState: {
|
|
635
397
|
disabled: boolean;
|
|
636
398
|
size: "small" | "medium" | "large";
|
|
637
|
-
nonInteractiveIds: never[];
|
|
638
|
-
hiddenIds: never[];
|
|
639
|
-
itemWidthCache: Record<string, number>;
|
|
640
|
-
containerWidth: number;
|
|
641
|
-
overflowTargetWidth: number;
|
|
642
399
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
643
400
|
unselectedIds: string[];
|
|
644
401
|
cursorId: string;
|
|
@@ -655,6 +412,7 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
655
412
|
id: string;
|
|
656
413
|
orientation: "horizontal" | "vertical";
|
|
657
414
|
indexRef: React.MutableRefObject<number>;
|
|
415
|
+
nonInteractiveIds: string[];
|
|
658
416
|
isVirtualized: boolean;
|
|
659
417
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
660
418
|
}) => void) | undefined;
|
|
@@ -663,11 +421,6 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
663
421
|
}, prevState: {
|
|
664
422
|
disabled: boolean;
|
|
665
423
|
size: "small" | "medium" | "large";
|
|
666
|
-
nonInteractiveIds: never[];
|
|
667
|
-
hiddenIds: never[];
|
|
668
|
-
itemWidthCache: Record<string, number>;
|
|
669
|
-
containerWidth: number;
|
|
670
|
-
overflowTargetWidth: number;
|
|
671
424
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
672
425
|
unselectedIds: string[];
|
|
673
426
|
cursorId: string;
|
|
@@ -684,6 +437,7 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
684
437
|
id: string;
|
|
685
438
|
orientation: "horizontal" | "vertical";
|
|
686
439
|
indexRef: React.MutableRefObject<number>;
|
|
440
|
+
nonInteractiveIds: string[];
|
|
687
441
|
isVirtualized: boolean;
|
|
688
442
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
689
443
|
}) => void) | undefined;
|
|
@@ -693,186 +447,6 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
693
447
|
}, state: {
|
|
694
448
|
disabled: boolean;
|
|
695
449
|
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
450
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
877
451
|
unselectedIds: string[];
|
|
878
452
|
cursorId: string;
|
|
@@ -889,17 +463,13 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
889
463
|
id: string;
|
|
890
464
|
orientation: "horizontal" | "vertical";
|
|
891
465
|
indexRef: React.MutableRefObject<number>;
|
|
466
|
+
nonInteractiveIds: string[];
|
|
892
467
|
isVirtualized: boolean;
|
|
893
468
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
894
469
|
}) => boolean) | undefined;
|
|
895
470
|
shouldSelectAll?: ((data: undefined, state: {
|
|
896
471
|
disabled: boolean;
|
|
897
472
|
size: "small" | "medium" | "large";
|
|
898
|
-
nonInteractiveIds: never[];
|
|
899
|
-
hiddenIds: never[];
|
|
900
|
-
itemWidthCache: Record<string, number>;
|
|
901
|
-
containerWidth: number;
|
|
902
|
-
overflowTargetWidth: number;
|
|
903
473
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
904
474
|
unselectedIds: string[];
|
|
905
475
|
cursorId: string;
|
|
@@ -916,17 +486,13 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
916
486
|
id: string;
|
|
917
487
|
orientation: "horizontal" | "vertical";
|
|
918
488
|
indexRef: React.MutableRefObject<number>;
|
|
489
|
+
nonInteractiveIds: string[];
|
|
919
490
|
isVirtualized: boolean;
|
|
920
491
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
921
492
|
}) => boolean) | undefined;
|
|
922
493
|
shouldUnselectAll?: ((data: undefined, state: {
|
|
923
494
|
disabled: boolean;
|
|
924
495
|
size: "small" | "medium" | "large";
|
|
925
|
-
nonInteractiveIds: never[];
|
|
926
|
-
hiddenIds: never[];
|
|
927
|
-
itemWidthCache: Record<string, number>;
|
|
928
|
-
containerWidth: number;
|
|
929
|
-
overflowTargetWidth: number;
|
|
930
496
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
931
497
|
unselectedIds: string[];
|
|
932
498
|
cursorId: string;
|
|
@@ -943,6 +509,7 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
943
509
|
id: string;
|
|
944
510
|
orientation: "horizontal" | "vertical";
|
|
945
511
|
indexRef: React.MutableRefObject<number>;
|
|
512
|
+
nonInteractiveIds: string[];
|
|
946
513
|
isVirtualized: boolean;
|
|
947
514
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
948
515
|
}) => boolean) | undefined;
|
|
@@ -952,11 +519,6 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
952
519
|
}, state: {
|
|
953
520
|
disabled: boolean;
|
|
954
521
|
size: "small" | "medium" | "large";
|
|
955
|
-
nonInteractiveIds: never[];
|
|
956
|
-
hiddenIds: never[];
|
|
957
|
-
itemWidthCache: Record<string, number>;
|
|
958
|
-
containerWidth: number;
|
|
959
|
-
overflowTargetWidth: number;
|
|
960
522
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
961
523
|
unselectedIds: string[];
|
|
962
524
|
cursorId: string;
|
|
@@ -973,6 +535,7 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
973
535
|
id: string;
|
|
974
536
|
orientation: "horizontal" | "vertical";
|
|
975
537
|
indexRef: React.MutableRefObject<number>;
|
|
538
|
+
nonInteractiveIds: string[];
|
|
976
539
|
isVirtualized: boolean;
|
|
977
540
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
978
541
|
}) => boolean) | undefined;
|
|
@@ -981,11 +544,6 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
981
544
|
}, state: {
|
|
982
545
|
disabled: boolean;
|
|
983
546
|
size: "small" | "medium" | "large";
|
|
984
|
-
nonInteractiveIds: never[];
|
|
985
|
-
hiddenIds: never[];
|
|
986
|
-
itemWidthCache: Record<string, number>;
|
|
987
|
-
containerWidth: number;
|
|
988
|
-
overflowTargetWidth: number;
|
|
989
547
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
990
548
|
unselectedIds: string[];
|
|
991
549
|
cursorId: string;
|
|
@@ -1002,17 +560,13 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
1002
560
|
id: string;
|
|
1003
561
|
orientation: "horizontal" | "vertical";
|
|
1004
562
|
indexRef: React.MutableRefObject<number>;
|
|
563
|
+
nonInteractiveIds: string[];
|
|
1005
564
|
isVirtualized: boolean;
|
|
1006
565
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1007
566
|
}) => boolean) | undefined;
|
|
1008
567
|
shouldGoToNext?: ((data: undefined, state: {
|
|
1009
568
|
disabled: boolean;
|
|
1010
569
|
size: "small" | "medium" | "large";
|
|
1011
|
-
nonInteractiveIds: never[];
|
|
1012
|
-
hiddenIds: never[];
|
|
1013
|
-
itemWidthCache: Record<string, number>;
|
|
1014
|
-
containerWidth: number;
|
|
1015
|
-
overflowTargetWidth: number;
|
|
1016
570
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
1017
571
|
unselectedIds: string[];
|
|
1018
572
|
cursorId: string;
|
|
@@ -1029,17 +583,13 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
1029
583
|
id: string;
|
|
1030
584
|
orientation: "horizontal" | "vertical";
|
|
1031
585
|
indexRef: React.MutableRefObject<number>;
|
|
586
|
+
nonInteractiveIds: string[];
|
|
1032
587
|
isVirtualized: boolean;
|
|
1033
588
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1034
589
|
}) => boolean) | undefined;
|
|
1035
590
|
shouldGoToPrevious?: ((data: undefined, state: {
|
|
1036
591
|
disabled: boolean;
|
|
1037
592
|
size: "small" | "medium" | "large";
|
|
1038
|
-
nonInteractiveIds: never[];
|
|
1039
|
-
hiddenIds: never[];
|
|
1040
|
-
itemWidthCache: Record<string, number>;
|
|
1041
|
-
containerWidth: number;
|
|
1042
|
-
overflowTargetWidth: number;
|
|
1043
593
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
1044
594
|
unselectedIds: string[];
|
|
1045
595
|
cursorId: string;
|
|
@@ -1056,17 +606,13 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
1056
606
|
id: string;
|
|
1057
607
|
orientation: "horizontal" | "vertical";
|
|
1058
608
|
indexRef: React.MutableRefObject<number>;
|
|
609
|
+
nonInteractiveIds: string[];
|
|
1059
610
|
isVirtualized: boolean;
|
|
1060
611
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1061
612
|
}) => boolean) | undefined;
|
|
1062
613
|
shouldGoToPreviousRow?: ((data: undefined, state: {
|
|
1063
614
|
disabled: boolean;
|
|
1064
615
|
size: "small" | "medium" | "large";
|
|
1065
|
-
nonInteractiveIds: never[];
|
|
1066
|
-
hiddenIds: never[];
|
|
1067
|
-
itemWidthCache: Record<string, number>;
|
|
1068
|
-
containerWidth: number;
|
|
1069
|
-
overflowTargetWidth: number;
|
|
1070
616
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
1071
617
|
unselectedIds: string[];
|
|
1072
618
|
cursorId: string;
|
|
@@ -1083,17 +629,13 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
1083
629
|
id: string;
|
|
1084
630
|
orientation: "horizontal" | "vertical";
|
|
1085
631
|
indexRef: React.MutableRefObject<number>;
|
|
632
|
+
nonInteractiveIds: string[];
|
|
1086
633
|
isVirtualized: boolean;
|
|
1087
634
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1088
635
|
}) => boolean) | undefined;
|
|
1089
636
|
shouldGoToNextRow?: ((data: undefined, state: {
|
|
1090
637
|
disabled: boolean;
|
|
1091
638
|
size: "small" | "medium" | "large";
|
|
1092
|
-
nonInteractiveIds: never[];
|
|
1093
|
-
hiddenIds: never[];
|
|
1094
|
-
itemWidthCache: Record<string, number>;
|
|
1095
|
-
containerWidth: number;
|
|
1096
|
-
overflowTargetWidth: number;
|
|
1097
639
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
1098
640
|
unselectedIds: string[];
|
|
1099
641
|
cursorId: string;
|
|
@@ -1110,17 +652,13 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
1110
652
|
id: string;
|
|
1111
653
|
orientation: "horizontal" | "vertical";
|
|
1112
654
|
indexRef: React.MutableRefObject<number>;
|
|
655
|
+
nonInteractiveIds: string[];
|
|
1113
656
|
isVirtualized: boolean;
|
|
1114
657
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1115
658
|
}) => boolean) | undefined;
|
|
1116
659
|
shouldGoToFirst?: ((data: undefined, state: {
|
|
1117
660
|
disabled: boolean;
|
|
1118
661
|
size: "small" | "medium" | "large";
|
|
1119
|
-
nonInteractiveIds: never[];
|
|
1120
|
-
hiddenIds: never[];
|
|
1121
|
-
itemWidthCache: Record<string, number>;
|
|
1122
|
-
containerWidth: number;
|
|
1123
|
-
overflowTargetWidth: number;
|
|
1124
662
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
1125
663
|
unselectedIds: string[];
|
|
1126
664
|
cursorId: string;
|
|
@@ -1137,17 +675,13 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
1137
675
|
id: string;
|
|
1138
676
|
orientation: "horizontal" | "vertical";
|
|
1139
677
|
indexRef: React.MutableRefObject<number>;
|
|
678
|
+
nonInteractiveIds: string[];
|
|
1140
679
|
isVirtualized: boolean;
|
|
1141
680
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1142
681
|
}) => boolean) | undefined;
|
|
1143
682
|
shouldGoToLast?: ((data: undefined, state: {
|
|
1144
683
|
disabled: boolean;
|
|
1145
684
|
size: "small" | "medium" | "large";
|
|
1146
|
-
nonInteractiveIds: never[];
|
|
1147
|
-
hiddenIds: never[];
|
|
1148
|
-
itemWidthCache: Record<string, number>;
|
|
1149
|
-
containerWidth: number;
|
|
1150
|
-
overflowTargetWidth: number;
|
|
1151
685
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
1152
686
|
unselectedIds: string[];
|
|
1153
687
|
cursorId: string;
|
|
@@ -1164,17 +698,13 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
1164
698
|
id: string;
|
|
1165
699
|
orientation: "horizontal" | "vertical";
|
|
1166
700
|
indexRef: React.MutableRefObject<number>;
|
|
701
|
+
nonInteractiveIds: string[];
|
|
1167
702
|
isVirtualized: boolean;
|
|
1168
703
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1169
704
|
}) => boolean) | undefined;
|
|
1170
705
|
shouldGoToFirstOfRow?: ((data: undefined, state: {
|
|
1171
706
|
disabled: boolean;
|
|
1172
707
|
size: "small" | "medium" | "large";
|
|
1173
|
-
nonInteractiveIds: never[];
|
|
1174
|
-
hiddenIds: never[];
|
|
1175
|
-
itemWidthCache: Record<string, number>;
|
|
1176
|
-
containerWidth: number;
|
|
1177
|
-
overflowTargetWidth: number;
|
|
1178
708
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
1179
709
|
unselectedIds: string[];
|
|
1180
710
|
cursorId: string;
|
|
@@ -1191,17 +721,13 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
1191
721
|
id: string;
|
|
1192
722
|
orientation: "horizontal" | "vertical";
|
|
1193
723
|
indexRef: React.MutableRefObject<number>;
|
|
724
|
+
nonInteractiveIds: string[];
|
|
1194
725
|
isVirtualized: boolean;
|
|
1195
726
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1196
727
|
}) => boolean) | undefined;
|
|
1197
728
|
shouldGoToLastOfRow?: ((data: undefined, state: {
|
|
1198
729
|
disabled: boolean;
|
|
1199
730
|
size: "small" | "medium" | "large";
|
|
1200
|
-
nonInteractiveIds: never[];
|
|
1201
|
-
hiddenIds: never[];
|
|
1202
|
-
itemWidthCache: Record<string, number>;
|
|
1203
|
-
containerWidth: number;
|
|
1204
|
-
overflowTargetWidth: number;
|
|
1205
731
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
1206
732
|
unselectedIds: string[];
|
|
1207
733
|
cursorId: string;
|
|
@@ -1218,17 +744,13 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
1218
744
|
id: string;
|
|
1219
745
|
orientation: "horizontal" | "vertical";
|
|
1220
746
|
indexRef: React.MutableRefObject<number>;
|
|
747
|
+
nonInteractiveIds: string[];
|
|
1221
748
|
isVirtualized: boolean;
|
|
1222
749
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1223
750
|
}) => boolean) | undefined;
|
|
1224
751
|
shouldGoToNextPage?: ((data: undefined, state: {
|
|
1225
752
|
disabled: boolean;
|
|
1226
753
|
size: "small" | "medium" | "large";
|
|
1227
|
-
nonInteractiveIds: never[];
|
|
1228
|
-
hiddenIds: never[];
|
|
1229
|
-
itemWidthCache: Record<string, number>;
|
|
1230
|
-
containerWidth: number;
|
|
1231
|
-
overflowTargetWidth: number;
|
|
1232
754
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
1233
755
|
unselectedIds: string[];
|
|
1234
756
|
cursorId: string;
|
|
@@ -1245,17 +767,13 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
1245
767
|
id: string;
|
|
1246
768
|
orientation: "horizontal" | "vertical";
|
|
1247
769
|
indexRef: React.MutableRefObject<number>;
|
|
770
|
+
nonInteractiveIds: string[];
|
|
1248
771
|
isVirtualized: boolean;
|
|
1249
772
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1250
773
|
}) => boolean) | undefined;
|
|
1251
774
|
shouldGoToPreviousPage?: ((data: undefined, state: {
|
|
1252
775
|
disabled: boolean;
|
|
1253
776
|
size: "small" | "medium" | "large";
|
|
1254
|
-
nonInteractiveIds: never[];
|
|
1255
|
-
hiddenIds: never[];
|
|
1256
|
-
itemWidthCache: Record<string, number>;
|
|
1257
|
-
containerWidth: number;
|
|
1258
|
-
overflowTargetWidth: number;
|
|
1259
777
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
1260
778
|
unselectedIds: string[];
|
|
1261
779
|
cursorId: string;
|
|
@@ -1272,6 +790,7 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
1272
790
|
id: string;
|
|
1273
791
|
orientation: "horizontal" | "vertical";
|
|
1274
792
|
indexRef: React.MutableRefObject<number>;
|
|
793
|
+
nonInteractiveIds: string[];
|
|
1275
794
|
isVirtualized: boolean;
|
|
1276
795
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1277
796
|
}) => boolean) | undefined;
|
|
@@ -1280,11 +799,6 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
1280
799
|
}, state: {
|
|
1281
800
|
disabled: boolean;
|
|
1282
801
|
size: "small" | "medium" | "large";
|
|
1283
|
-
nonInteractiveIds: never[];
|
|
1284
|
-
hiddenIds: never[];
|
|
1285
|
-
itemWidthCache: Record<string, number>;
|
|
1286
|
-
containerWidth: number;
|
|
1287
|
-
overflowTargetWidth: number;
|
|
1288
802
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
1289
803
|
unselectedIds: string[];
|
|
1290
804
|
cursorId: string;
|
|
@@ -1301,6 +815,7 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
1301
815
|
id: string;
|
|
1302
816
|
orientation: "horizontal" | "vertical";
|
|
1303
817
|
indexRef: React.MutableRefObject<number>;
|
|
818
|
+
nonInteractiveIds: string[];
|
|
1304
819
|
isVirtualized: boolean;
|
|
1305
820
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1306
821
|
}) => boolean) | undefined;
|
|
@@ -1309,11 +824,6 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
1309
824
|
}, state: {
|
|
1310
825
|
disabled: boolean;
|
|
1311
826
|
size: "small" | "medium" | "large";
|
|
1312
|
-
nonInteractiveIds: never[];
|
|
1313
|
-
hiddenIds: never[];
|
|
1314
|
-
itemWidthCache: Record<string, number>;
|
|
1315
|
-
containerWidth: number;
|
|
1316
|
-
overflowTargetWidth: number;
|
|
1317
827
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
1318
828
|
unselectedIds: string[];
|
|
1319
829
|
cursorId: string;
|
|
@@ -1330,6 +840,7 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
1330
840
|
id: string;
|
|
1331
841
|
orientation: "horizontal" | "vertical";
|
|
1332
842
|
indexRef: React.MutableRefObject<number>;
|
|
843
|
+
nonInteractiveIds: string[];
|
|
1333
844
|
isVirtualized: boolean;
|
|
1334
845
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1335
846
|
}) => boolean) | undefined;
|
|
@@ -1337,11 +848,6 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
1337
848
|
state: {
|
|
1338
849
|
disabled: boolean;
|
|
1339
850
|
size: "small" | "medium" | "large";
|
|
1340
|
-
nonInteractiveIds: never[];
|
|
1341
|
-
hiddenIds: never[];
|
|
1342
|
-
itemWidthCache: Record<string, number>;
|
|
1343
|
-
containerWidth: number;
|
|
1344
|
-
overflowTargetWidth: number;
|
|
1345
851
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
1346
852
|
unselectedIds: string[];
|
|
1347
853
|
cursorId: string;
|
|
@@ -1358,6 +864,7 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
1358
864
|
id: string;
|
|
1359
865
|
orientation: "horizontal" | "vertical";
|
|
1360
866
|
indexRef: React.MutableRefObject<number>;
|
|
867
|
+
nonInteractiveIds: string[];
|
|
1361
868
|
isVirtualized: boolean;
|
|
1362
869
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1363
870
|
};
|
|
@@ -1365,25 +872,6 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
1365
872
|
select(data: {
|
|
1366
873
|
id: string;
|
|
1367
874
|
}): 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
875
|
selectAll(): void;
|
|
1388
876
|
unselectAll(): void;
|
|
1389
877
|
registerItem(data: {
|
|
@@ -1440,9 +928,6 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
1440
928
|
* @default 'horizontal'
|
|
1441
929
|
*/
|
|
1442
930
|
orientation: "horizontal" | "vertical";
|
|
1443
|
-
initialHiddenIds: string[];
|
|
1444
|
-
containerWidth: number;
|
|
1445
|
-
shouldCalculateOverflow: boolean;
|
|
1446
931
|
initialSelectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
1447
932
|
initialUnselectedIds: string[];
|
|
1448
933
|
selection: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectionManager;
|
|
@@ -1458,11 +943,6 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
1458
943
|
}, {}, {
|
|
1459
944
|
disabled: boolean;
|
|
1460
945
|
size: "small" | "medium" | "large";
|
|
1461
|
-
nonInteractiveIds: never[];
|
|
1462
|
-
hiddenIds: never[];
|
|
1463
|
-
itemWidthCache: Record<string, number>;
|
|
1464
|
-
containerWidth: number;
|
|
1465
|
-
overflowTargetWidth: number;
|
|
1466
946
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
1467
947
|
unselectedIds: string[];
|
|
1468
948
|
cursorId: string;
|
|
@@ -1479,31 +959,13 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
1479
959
|
id: string;
|
|
1480
960
|
orientation: "horizontal" | "vertical";
|
|
1481
961
|
indexRef: React.MutableRefObject<number>;
|
|
962
|
+
nonInteractiveIds: string[];
|
|
1482
963
|
isVirtualized: boolean;
|
|
1483
964
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1484
965
|
}, {
|
|
1485
966
|
select(data: {
|
|
1486
967
|
id: string;
|
|
1487
968
|
}): 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
969
|
selectAll(): void;
|
|
1508
970
|
unselectAll(): void;
|
|
1509
971
|
registerItem(data: {
|
|
@@ -1533,11 +995,6 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
1533
995
|
state: {
|
|
1534
996
|
disabled: boolean;
|
|
1535
997
|
size: "small" | "medium" | "large";
|
|
1536
|
-
nonInteractiveIds: never[];
|
|
1537
|
-
hiddenIds: never[];
|
|
1538
|
-
itemWidthCache: Record<string, number>;
|
|
1539
|
-
containerWidth: number;
|
|
1540
|
-
overflowTargetWidth: number;
|
|
1541
998
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
1542
999
|
unselectedIds: string[];
|
|
1543
1000
|
cursorId: string;
|
|
@@ -1554,6 +1011,7 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
1554
1011
|
id: string;
|
|
1555
1012
|
orientation: "horizontal" | "vertical";
|
|
1556
1013
|
indexRef: React.MutableRefObject<number>;
|
|
1014
|
+
nonInteractiveIds: string[];
|
|
1557
1015
|
isVirtualized: boolean;
|
|
1558
1016
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1559
1017
|
};
|
|
@@ -1561,25 +1019,6 @@ export declare const useSegmentedControlModel: (<TT_Special_Generic>(config?: (P
|
|
|
1561
1019
|
select(data: {
|
|
1562
1020
|
id: string;
|
|
1563
1021
|
}): 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
1022
|
selectAll(): void;
|
|
1584
1023
|
unselectAll(): void;
|
|
1585
1024
|
registerItem(data: {
|