@workday/canvas-kit-preview-react 8.0.0-alpha.239-next.10 → 8.0.0-alpha.241-next.12
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
|
@@ -8,9 +8,6 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
8
8
|
disabled: boolean;
|
|
9
9
|
size: "small" | "medium" | "large";
|
|
10
10
|
orientation: "horizontal" | "vertical";
|
|
11
|
-
initialHiddenIds: string[];
|
|
12
|
-
containerWidth: number;
|
|
13
|
-
shouldCalculateOverflow: boolean;
|
|
14
11
|
initialSelectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
15
12
|
initialUnselectedIds: string[];
|
|
16
13
|
selection: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectionManager;
|
|
@@ -29,186 +26,6 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
29
26
|
}, prevState: {
|
|
30
27
|
disabled: boolean;
|
|
31
28
|
size: "small" | "medium" | "large";
|
|
32
|
-
nonInteractiveIds: never[];
|
|
33
|
-
hiddenIds: never[];
|
|
34
|
-
itemWidthCache: Record<string, number>;
|
|
35
|
-
containerWidth: number;
|
|
36
|
-
overflowTargetWidth: number;
|
|
37
|
-
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
38
|
-
unselectedIds: string[];
|
|
39
|
-
cursorId: string;
|
|
40
|
-
columnCount: number;
|
|
41
|
-
UNSTABLE_virtual: {
|
|
42
|
-
virtualItems: import("@workday/canvas-kit-react/collection/lib/react-virtual").VirtualItem[];
|
|
43
|
-
totalSize: number;
|
|
44
|
-
scrollToOffset: (index: number, options?: import("@workday/canvas-kit-react/collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
45
|
-
scrollToIndex: (index: number, options?: import("@workday/canvas-kit-react/collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
46
|
-
measure: () => void;
|
|
47
|
-
};
|
|
48
|
-
UNSTABLE_defaultItemHeight: number;
|
|
49
|
-
containerRef: React.RefObject<HTMLDivElement>;
|
|
50
|
-
id: string;
|
|
51
|
-
orientation: "horizontal" | "vertical";
|
|
52
|
-
indexRef: React.MutableRefObject<number>;
|
|
53
|
-
isVirtualized: boolean;
|
|
54
|
-
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
55
|
-
}) => void) | undefined;
|
|
56
|
-
onSetContainerWidth?: ((data: {
|
|
57
|
-
width?: number | undefined;
|
|
58
|
-
}, prevState: {
|
|
59
|
-
disabled: boolean;
|
|
60
|
-
size: "small" | "medium" | "large";
|
|
61
|
-
nonInteractiveIds: never[];
|
|
62
|
-
hiddenIds: never[];
|
|
63
|
-
itemWidthCache: Record<string, number>;
|
|
64
|
-
containerWidth: number;
|
|
65
|
-
overflowTargetWidth: number;
|
|
66
|
-
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
67
|
-
unselectedIds: string[];
|
|
68
|
-
cursorId: string;
|
|
69
|
-
columnCount: number;
|
|
70
|
-
UNSTABLE_virtual: {
|
|
71
|
-
virtualItems: import("@workday/canvas-kit-react/collection/lib/react-virtual").VirtualItem[];
|
|
72
|
-
totalSize: number;
|
|
73
|
-
scrollToOffset: (index: number, options?: import("@workday/canvas-kit-react/collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
74
|
-
scrollToIndex: (index: number, options?: import("@workday/canvas-kit-react/collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
75
|
-
measure: () => void;
|
|
76
|
-
};
|
|
77
|
-
UNSTABLE_defaultItemHeight: number;
|
|
78
|
-
containerRef: React.RefObject<HTMLDivElement>;
|
|
79
|
-
id: string;
|
|
80
|
-
orientation: "horizontal" | "vertical";
|
|
81
|
-
indexRef: React.MutableRefObject<number>;
|
|
82
|
-
isVirtualized: boolean;
|
|
83
|
-
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
84
|
-
}) => void) | undefined;
|
|
85
|
-
onSetOverflowTargetWidth?: ((data: {
|
|
86
|
-
width: number;
|
|
87
|
-
}, prevState: {
|
|
88
|
-
disabled: boolean;
|
|
89
|
-
size: "small" | "medium" | "large";
|
|
90
|
-
nonInteractiveIds: never[];
|
|
91
|
-
hiddenIds: never[];
|
|
92
|
-
itemWidthCache: Record<string, number>;
|
|
93
|
-
containerWidth: number;
|
|
94
|
-
overflowTargetWidth: number;
|
|
95
|
-
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
96
|
-
unselectedIds: string[];
|
|
97
|
-
cursorId: string;
|
|
98
|
-
columnCount: number;
|
|
99
|
-
UNSTABLE_virtual: {
|
|
100
|
-
virtualItems: import("@workday/canvas-kit-react/collection/lib/react-virtual").VirtualItem[];
|
|
101
|
-
totalSize: number;
|
|
102
|
-
scrollToOffset: (index: number, options?: import("@workday/canvas-kit-react/collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
103
|
-
scrollToIndex: (index: number, options?: import("@workday/canvas-kit-react/collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
104
|
-
measure: () => void;
|
|
105
|
-
};
|
|
106
|
-
UNSTABLE_defaultItemHeight: number;
|
|
107
|
-
containerRef: React.RefObject<HTMLDivElement>;
|
|
108
|
-
id: string;
|
|
109
|
-
orientation: "horizontal" | "vertical";
|
|
110
|
-
indexRef: React.MutableRefObject<number>;
|
|
111
|
-
isVirtualized: boolean;
|
|
112
|
-
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
113
|
-
}) => void) | undefined;
|
|
114
|
-
onAddItemWidth?: ((data: {
|
|
115
|
-
id: string;
|
|
116
|
-
width: number;
|
|
117
|
-
}, prevState: {
|
|
118
|
-
disabled: boolean;
|
|
119
|
-
size: "small" | "medium" | "large";
|
|
120
|
-
nonInteractiveIds: never[];
|
|
121
|
-
hiddenIds: never[];
|
|
122
|
-
itemWidthCache: Record<string, number>;
|
|
123
|
-
containerWidth: number;
|
|
124
|
-
overflowTargetWidth: number;
|
|
125
|
-
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
126
|
-
unselectedIds: string[];
|
|
127
|
-
cursorId: string;
|
|
128
|
-
columnCount: number;
|
|
129
|
-
UNSTABLE_virtual: {
|
|
130
|
-
virtualItems: import("@workday/canvas-kit-react/collection/lib/react-virtual").VirtualItem[];
|
|
131
|
-
totalSize: number;
|
|
132
|
-
scrollToOffset: (index: number, options?: import("@workday/canvas-kit-react/collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
133
|
-
scrollToIndex: (index: number, options?: import("@workday/canvas-kit-react/collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
134
|
-
measure: () => void;
|
|
135
|
-
};
|
|
136
|
-
UNSTABLE_defaultItemHeight: number;
|
|
137
|
-
containerRef: React.RefObject<HTMLDivElement>;
|
|
138
|
-
id: string;
|
|
139
|
-
orientation: "horizontal" | "vertical";
|
|
140
|
-
indexRef: React.MutableRefObject<number>;
|
|
141
|
-
isVirtualized: boolean;
|
|
142
|
-
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
143
|
-
}) => void) | undefined;
|
|
144
|
-
onRemoveItemWidth?: ((data: {
|
|
145
|
-
id: string;
|
|
146
|
-
}, prevState: {
|
|
147
|
-
disabled: boolean;
|
|
148
|
-
size: "small" | "medium" | "large";
|
|
149
|
-
nonInteractiveIds: never[];
|
|
150
|
-
hiddenIds: never[];
|
|
151
|
-
itemWidthCache: Record<string, number>;
|
|
152
|
-
containerWidth: number;
|
|
153
|
-
overflowTargetWidth: number;
|
|
154
|
-
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
155
|
-
unselectedIds: string[];
|
|
156
|
-
cursorId: string;
|
|
157
|
-
columnCount: number;
|
|
158
|
-
UNSTABLE_virtual: {
|
|
159
|
-
virtualItems: import("@workday/canvas-kit-react/collection/lib/react-virtual").VirtualItem[];
|
|
160
|
-
totalSize: number;
|
|
161
|
-
scrollToOffset: (index: number, options?: import("@workday/canvas-kit-react/collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
162
|
-
scrollToIndex: (index: number, options?: import("@workday/canvas-kit-react/collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
163
|
-
measure: () => void;
|
|
164
|
-
};
|
|
165
|
-
UNSTABLE_defaultItemHeight: number;
|
|
166
|
-
containerRef: React.RefObject<HTMLDivElement>;
|
|
167
|
-
id: string;
|
|
168
|
-
orientation: "horizontal" | "vertical";
|
|
169
|
-
indexRef: React.MutableRefObject<number>;
|
|
170
|
-
isVirtualized: boolean;
|
|
171
|
-
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
172
|
-
}) => void) | undefined;
|
|
173
|
-
onAddHiddenKey?: ((data: {
|
|
174
|
-
id: string;
|
|
175
|
-
}, prevState: {
|
|
176
|
-
disabled: boolean;
|
|
177
|
-
size: "small" | "medium" | "large";
|
|
178
|
-
nonInteractiveIds: never[];
|
|
179
|
-
hiddenIds: never[];
|
|
180
|
-
itemWidthCache: Record<string, number>;
|
|
181
|
-
containerWidth: number;
|
|
182
|
-
overflowTargetWidth: number;
|
|
183
|
-
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
184
|
-
unselectedIds: string[];
|
|
185
|
-
cursorId: string;
|
|
186
|
-
columnCount: number;
|
|
187
|
-
UNSTABLE_virtual: {
|
|
188
|
-
virtualItems: import("@workday/canvas-kit-react/collection/lib/react-virtual").VirtualItem[];
|
|
189
|
-
totalSize: number;
|
|
190
|
-
scrollToOffset: (index: number, options?: import("@workday/canvas-kit-react/collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
191
|
-
scrollToIndex: (index: number, options?: import("@workday/canvas-kit-react/collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
192
|
-
measure: () => void;
|
|
193
|
-
};
|
|
194
|
-
UNSTABLE_defaultItemHeight: number;
|
|
195
|
-
containerRef: React.RefObject<HTMLDivElement>;
|
|
196
|
-
id: string;
|
|
197
|
-
orientation: "horizontal" | "vertical";
|
|
198
|
-
indexRef: React.MutableRefObject<number>;
|
|
199
|
-
isVirtualized: boolean;
|
|
200
|
-
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
201
|
-
}) => void) | undefined;
|
|
202
|
-
onRemoveHiddenKey?: ((data: {
|
|
203
|
-
id: string;
|
|
204
|
-
}, prevState: {
|
|
205
|
-
disabled: boolean;
|
|
206
|
-
size: "small" | "medium" | "large";
|
|
207
|
-
nonInteractiveIds: never[];
|
|
208
|
-
hiddenIds: never[];
|
|
209
|
-
itemWidthCache: Record<string, number>;
|
|
210
|
-
containerWidth: number;
|
|
211
|
-
overflowTargetWidth: number;
|
|
212
29
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
213
30
|
unselectedIds: string[];
|
|
214
31
|
cursorId: string;
|
|
@@ -225,17 +42,13 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
225
42
|
id: string;
|
|
226
43
|
orientation: "horizontal" | "vertical";
|
|
227
44
|
indexRef: React.MutableRefObject<number>;
|
|
45
|
+
nonInteractiveIds: string[];
|
|
228
46
|
isVirtualized: boolean;
|
|
229
47
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
230
48
|
}) => void) | undefined;
|
|
231
49
|
onSelectAll?: ((data: undefined, prevState: {
|
|
232
50
|
disabled: boolean;
|
|
233
51
|
size: "small" | "medium" | "large";
|
|
234
|
-
nonInteractiveIds: never[];
|
|
235
|
-
hiddenIds: never[];
|
|
236
|
-
itemWidthCache: Record<string, number>;
|
|
237
|
-
containerWidth: number;
|
|
238
|
-
overflowTargetWidth: number;
|
|
239
52
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
240
53
|
unselectedIds: string[];
|
|
241
54
|
cursorId: string;
|
|
@@ -252,17 +65,13 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
252
65
|
id: string;
|
|
253
66
|
orientation: "horizontal" | "vertical";
|
|
254
67
|
indexRef: React.MutableRefObject<number>;
|
|
68
|
+
nonInteractiveIds: string[];
|
|
255
69
|
isVirtualized: boolean;
|
|
256
70
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
257
71
|
}) => void) | undefined;
|
|
258
72
|
onUnselectAll?: ((data: undefined, prevState: {
|
|
259
73
|
disabled: boolean;
|
|
260
74
|
size: "small" | "medium" | "large";
|
|
261
|
-
nonInteractiveIds: never[];
|
|
262
|
-
hiddenIds: never[];
|
|
263
|
-
itemWidthCache: Record<string, number>;
|
|
264
|
-
containerWidth: number;
|
|
265
|
-
overflowTargetWidth: number;
|
|
266
75
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
267
76
|
unselectedIds: string[];
|
|
268
77
|
cursorId: string;
|
|
@@ -279,6 +88,7 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
279
88
|
id: string;
|
|
280
89
|
orientation: "horizontal" | "vertical";
|
|
281
90
|
indexRef: React.MutableRefObject<number>;
|
|
91
|
+
nonInteractiveIds: string[];
|
|
282
92
|
isVirtualized: boolean;
|
|
283
93
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
284
94
|
}) => void) | undefined;
|
|
@@ -288,11 +98,6 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
288
98
|
}, prevState: {
|
|
289
99
|
disabled: boolean;
|
|
290
100
|
size: "small" | "medium" | "large";
|
|
291
|
-
nonInteractiveIds: never[];
|
|
292
|
-
hiddenIds: never[];
|
|
293
|
-
itemWidthCache: Record<string, number>;
|
|
294
|
-
containerWidth: number;
|
|
295
|
-
overflowTargetWidth: number;
|
|
296
101
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
297
102
|
unselectedIds: string[];
|
|
298
103
|
cursorId: string;
|
|
@@ -309,6 +114,7 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
309
114
|
id: string;
|
|
310
115
|
orientation: "horizontal" | "vertical";
|
|
311
116
|
indexRef: React.MutableRefObject<number>;
|
|
117
|
+
nonInteractiveIds: string[];
|
|
312
118
|
isVirtualized: boolean;
|
|
313
119
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
314
120
|
}) => void) | undefined;
|
|
@@ -317,11 +123,6 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
317
123
|
}, prevState: {
|
|
318
124
|
disabled: boolean;
|
|
319
125
|
size: "small" | "medium" | "large";
|
|
320
|
-
nonInteractiveIds: never[];
|
|
321
|
-
hiddenIds: never[];
|
|
322
|
-
itemWidthCache: Record<string, number>;
|
|
323
|
-
containerWidth: number;
|
|
324
|
-
overflowTargetWidth: number;
|
|
325
126
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
326
127
|
unselectedIds: string[];
|
|
327
128
|
cursorId: string;
|
|
@@ -338,17 +139,13 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
338
139
|
id: string;
|
|
339
140
|
orientation: "horizontal" | "vertical";
|
|
340
141
|
indexRef: React.MutableRefObject<number>;
|
|
142
|
+
nonInteractiveIds: string[];
|
|
341
143
|
isVirtualized: boolean;
|
|
342
144
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
343
145
|
}) => void) | undefined;
|
|
344
146
|
onGoToNext?: ((data: undefined, prevState: {
|
|
345
147
|
disabled: boolean;
|
|
346
148
|
size: "small" | "medium" | "large";
|
|
347
|
-
nonInteractiveIds: never[];
|
|
348
|
-
hiddenIds: never[];
|
|
349
|
-
itemWidthCache: Record<string, number>;
|
|
350
|
-
containerWidth: number;
|
|
351
|
-
overflowTargetWidth: number;
|
|
352
149
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
353
150
|
unselectedIds: string[];
|
|
354
151
|
cursorId: string;
|
|
@@ -365,17 +162,13 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
365
162
|
id: string;
|
|
366
163
|
orientation: "horizontal" | "vertical";
|
|
367
164
|
indexRef: React.MutableRefObject<number>;
|
|
165
|
+
nonInteractiveIds: string[];
|
|
368
166
|
isVirtualized: boolean;
|
|
369
167
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
370
168
|
}) => void) | undefined;
|
|
371
169
|
onGoToPrevious?: ((data: undefined, prevState: {
|
|
372
170
|
disabled: boolean;
|
|
373
171
|
size: "small" | "medium" | "large";
|
|
374
|
-
nonInteractiveIds: never[];
|
|
375
|
-
hiddenIds: never[];
|
|
376
|
-
itemWidthCache: Record<string, number>;
|
|
377
|
-
containerWidth: number;
|
|
378
|
-
overflowTargetWidth: number;
|
|
379
172
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
380
173
|
unselectedIds: string[];
|
|
381
174
|
cursorId: string;
|
|
@@ -392,17 +185,13 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
392
185
|
id: string;
|
|
393
186
|
orientation: "horizontal" | "vertical";
|
|
394
187
|
indexRef: React.MutableRefObject<number>;
|
|
188
|
+
nonInteractiveIds: string[];
|
|
395
189
|
isVirtualized: boolean;
|
|
396
190
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
397
191
|
}) => void) | undefined;
|
|
398
192
|
onGoToPreviousRow?: ((data: undefined, prevState: {
|
|
399
193
|
disabled: boolean;
|
|
400
194
|
size: "small" | "medium" | "large";
|
|
401
|
-
nonInteractiveIds: never[];
|
|
402
|
-
hiddenIds: never[];
|
|
403
|
-
itemWidthCache: Record<string, number>;
|
|
404
|
-
containerWidth: number;
|
|
405
|
-
overflowTargetWidth: number;
|
|
406
195
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
407
196
|
unselectedIds: string[];
|
|
408
197
|
cursorId: string;
|
|
@@ -419,17 +208,13 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
419
208
|
id: string;
|
|
420
209
|
orientation: "horizontal" | "vertical";
|
|
421
210
|
indexRef: React.MutableRefObject<number>;
|
|
211
|
+
nonInteractiveIds: string[];
|
|
422
212
|
isVirtualized: boolean;
|
|
423
213
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
424
214
|
}) => void) | undefined;
|
|
425
215
|
onGoToNextRow?: ((data: undefined, prevState: {
|
|
426
216
|
disabled: boolean;
|
|
427
217
|
size: "small" | "medium" | "large";
|
|
428
|
-
nonInteractiveIds: never[];
|
|
429
|
-
hiddenIds: never[];
|
|
430
|
-
itemWidthCache: Record<string, number>;
|
|
431
|
-
containerWidth: number;
|
|
432
|
-
overflowTargetWidth: number;
|
|
433
218
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
434
219
|
unselectedIds: string[];
|
|
435
220
|
cursorId: string;
|
|
@@ -446,17 +231,13 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
446
231
|
id: string;
|
|
447
232
|
orientation: "horizontal" | "vertical";
|
|
448
233
|
indexRef: React.MutableRefObject<number>;
|
|
234
|
+
nonInteractiveIds: string[];
|
|
449
235
|
isVirtualized: boolean;
|
|
450
236
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
451
237
|
}) => void) | undefined;
|
|
452
238
|
onGoToFirst?: ((data: undefined, prevState: {
|
|
453
239
|
disabled: boolean;
|
|
454
240
|
size: "small" | "medium" | "large";
|
|
455
|
-
nonInteractiveIds: never[];
|
|
456
|
-
hiddenIds: never[];
|
|
457
|
-
itemWidthCache: Record<string, number>;
|
|
458
|
-
containerWidth: number;
|
|
459
|
-
overflowTargetWidth: number;
|
|
460
241
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
461
242
|
unselectedIds: string[];
|
|
462
243
|
cursorId: string;
|
|
@@ -473,17 +254,13 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
473
254
|
id: string;
|
|
474
255
|
orientation: "horizontal" | "vertical";
|
|
475
256
|
indexRef: React.MutableRefObject<number>;
|
|
257
|
+
nonInteractiveIds: string[];
|
|
476
258
|
isVirtualized: boolean;
|
|
477
259
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
478
260
|
}) => void) | undefined;
|
|
479
261
|
onGoToLast?: ((data: undefined, prevState: {
|
|
480
262
|
disabled: boolean;
|
|
481
263
|
size: "small" | "medium" | "large";
|
|
482
|
-
nonInteractiveIds: never[];
|
|
483
|
-
hiddenIds: never[];
|
|
484
|
-
itemWidthCache: Record<string, number>;
|
|
485
|
-
containerWidth: number;
|
|
486
|
-
overflowTargetWidth: number;
|
|
487
264
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
488
265
|
unselectedIds: string[];
|
|
489
266
|
cursorId: string;
|
|
@@ -500,17 +277,13 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
500
277
|
id: string;
|
|
501
278
|
orientation: "horizontal" | "vertical";
|
|
502
279
|
indexRef: React.MutableRefObject<number>;
|
|
280
|
+
nonInteractiveIds: string[];
|
|
503
281
|
isVirtualized: boolean;
|
|
504
282
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
505
283
|
}) => void) | undefined;
|
|
506
284
|
onGoToFirstOfRow?: ((data: undefined, prevState: {
|
|
507
285
|
disabled: boolean;
|
|
508
286
|
size: "small" | "medium" | "large";
|
|
509
|
-
nonInteractiveIds: never[];
|
|
510
|
-
hiddenIds: never[];
|
|
511
|
-
itemWidthCache: Record<string, number>;
|
|
512
|
-
containerWidth: number;
|
|
513
|
-
overflowTargetWidth: number;
|
|
514
287
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
515
288
|
unselectedIds: string[];
|
|
516
289
|
cursorId: string;
|
|
@@ -527,17 +300,13 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
527
300
|
id: string;
|
|
528
301
|
orientation: "horizontal" | "vertical";
|
|
529
302
|
indexRef: React.MutableRefObject<number>;
|
|
303
|
+
nonInteractiveIds: string[];
|
|
530
304
|
isVirtualized: boolean;
|
|
531
305
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
532
306
|
}) => void) | undefined;
|
|
533
307
|
onGoToLastOfRow?: ((data: undefined, prevState: {
|
|
534
308
|
disabled: boolean;
|
|
535
309
|
size: "small" | "medium" | "large";
|
|
536
|
-
nonInteractiveIds: never[];
|
|
537
|
-
hiddenIds: never[];
|
|
538
|
-
itemWidthCache: Record<string, number>;
|
|
539
|
-
containerWidth: number;
|
|
540
|
-
overflowTargetWidth: number;
|
|
541
310
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
542
311
|
unselectedIds: string[];
|
|
543
312
|
cursorId: string;
|
|
@@ -554,17 +323,13 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
554
323
|
id: string;
|
|
555
324
|
orientation: "horizontal" | "vertical";
|
|
556
325
|
indexRef: React.MutableRefObject<number>;
|
|
326
|
+
nonInteractiveIds: string[];
|
|
557
327
|
isVirtualized: boolean;
|
|
558
328
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
559
329
|
}) => void) | undefined;
|
|
560
330
|
onGoToNextPage?: ((data: undefined, prevState: {
|
|
561
331
|
disabled: boolean;
|
|
562
332
|
size: "small" | "medium" | "large";
|
|
563
|
-
nonInteractiveIds: never[];
|
|
564
|
-
hiddenIds: never[];
|
|
565
|
-
itemWidthCache: Record<string, number>;
|
|
566
|
-
containerWidth: number;
|
|
567
|
-
overflowTargetWidth: number;
|
|
568
333
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
569
334
|
unselectedIds: string[];
|
|
570
335
|
cursorId: string;
|
|
@@ -581,17 +346,13 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
581
346
|
id: string;
|
|
582
347
|
orientation: "horizontal" | "vertical";
|
|
583
348
|
indexRef: React.MutableRefObject<number>;
|
|
349
|
+
nonInteractiveIds: string[];
|
|
584
350
|
isVirtualized: boolean;
|
|
585
351
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
586
352
|
}) => void) | undefined;
|
|
587
353
|
onGoToPreviousPage?: ((data: undefined, prevState: {
|
|
588
354
|
disabled: boolean;
|
|
589
355
|
size: "small" | "medium" | "large";
|
|
590
|
-
nonInteractiveIds: never[];
|
|
591
|
-
hiddenIds: never[];
|
|
592
|
-
itemWidthCache: Record<string, number>;
|
|
593
|
-
containerWidth: number;
|
|
594
|
-
overflowTargetWidth: number;
|
|
595
356
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
596
357
|
unselectedIds: string[];
|
|
597
358
|
cursorId: string;
|
|
@@ -608,6 +369,7 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
608
369
|
id: string;
|
|
609
370
|
orientation: "horizontal" | "vertical";
|
|
610
371
|
indexRef: React.MutableRefObject<number>;
|
|
372
|
+
nonInteractiveIds: string[];
|
|
611
373
|
isVirtualized: boolean;
|
|
612
374
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
613
375
|
}) => void) | undefined;
|
|
@@ -616,11 +378,6 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
616
378
|
}, prevState: {
|
|
617
379
|
disabled: boolean;
|
|
618
380
|
size: "small" | "medium" | "large";
|
|
619
|
-
nonInteractiveIds: never[];
|
|
620
|
-
hiddenIds: never[];
|
|
621
|
-
itemWidthCache: Record<string, number>;
|
|
622
|
-
containerWidth: number;
|
|
623
|
-
overflowTargetWidth: number;
|
|
624
381
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
625
382
|
unselectedIds: string[];
|
|
626
383
|
cursorId: string;
|
|
@@ -637,6 +394,7 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
637
394
|
id: string;
|
|
638
395
|
orientation: "horizontal" | "vertical";
|
|
639
396
|
indexRef: React.MutableRefObject<number>;
|
|
397
|
+
nonInteractiveIds: string[];
|
|
640
398
|
isVirtualized: boolean;
|
|
641
399
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
642
400
|
}) => void) | undefined;
|
|
@@ -645,11 +403,6 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
645
403
|
}, prevState: {
|
|
646
404
|
disabled: boolean;
|
|
647
405
|
size: "small" | "medium" | "large";
|
|
648
|
-
nonInteractiveIds: never[];
|
|
649
|
-
hiddenIds: never[];
|
|
650
|
-
itemWidthCache: Record<string, number>;
|
|
651
|
-
containerWidth: number;
|
|
652
|
-
overflowTargetWidth: number;
|
|
653
406
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
654
407
|
unselectedIds: string[];
|
|
655
408
|
cursorId: string;
|
|
@@ -666,6 +419,7 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
666
419
|
id: string;
|
|
667
420
|
orientation: "horizontal" | "vertical";
|
|
668
421
|
indexRef: React.MutableRefObject<number>;
|
|
422
|
+
nonInteractiveIds: string[];
|
|
669
423
|
isVirtualized: boolean;
|
|
670
424
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
671
425
|
}) => void) | undefined;
|
|
@@ -675,186 +429,6 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
675
429
|
}, state: {
|
|
676
430
|
disabled: boolean;
|
|
677
431
|
size: "small" | "medium" | "large";
|
|
678
|
-
nonInteractiveIds: never[];
|
|
679
|
-
hiddenIds: never[];
|
|
680
|
-
itemWidthCache: Record<string, number>;
|
|
681
|
-
containerWidth: number;
|
|
682
|
-
overflowTargetWidth: number;
|
|
683
|
-
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
684
|
-
unselectedIds: string[];
|
|
685
|
-
cursorId: string;
|
|
686
|
-
columnCount: number;
|
|
687
|
-
UNSTABLE_virtual: {
|
|
688
|
-
virtualItems: import("@workday/canvas-kit-react/collection/lib/react-virtual").VirtualItem[];
|
|
689
|
-
totalSize: number;
|
|
690
|
-
scrollToOffset: (index: number, options?: import("@workday/canvas-kit-react/collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
691
|
-
scrollToIndex: (index: number, options?: import("@workday/canvas-kit-react/collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
692
|
-
measure: () => void;
|
|
693
|
-
};
|
|
694
|
-
UNSTABLE_defaultItemHeight: number;
|
|
695
|
-
containerRef: React.RefObject<HTMLDivElement>;
|
|
696
|
-
id: string;
|
|
697
|
-
orientation: "horizontal" | "vertical";
|
|
698
|
-
indexRef: React.MutableRefObject<number>;
|
|
699
|
-
isVirtualized: boolean;
|
|
700
|
-
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
701
|
-
}) => boolean) | undefined;
|
|
702
|
-
shouldSetContainerWidth?: ((data: {
|
|
703
|
-
width?: number | undefined;
|
|
704
|
-
}, state: {
|
|
705
|
-
disabled: boolean;
|
|
706
|
-
size: "small" | "medium" | "large";
|
|
707
|
-
nonInteractiveIds: never[];
|
|
708
|
-
hiddenIds: never[];
|
|
709
|
-
itemWidthCache: Record<string, number>;
|
|
710
|
-
containerWidth: number;
|
|
711
|
-
overflowTargetWidth: number;
|
|
712
|
-
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
713
|
-
unselectedIds: string[];
|
|
714
|
-
cursorId: string;
|
|
715
|
-
columnCount: number;
|
|
716
|
-
UNSTABLE_virtual: {
|
|
717
|
-
virtualItems: import("@workday/canvas-kit-react/collection/lib/react-virtual").VirtualItem[];
|
|
718
|
-
totalSize: number;
|
|
719
|
-
scrollToOffset: (index: number, options?: import("@workday/canvas-kit-react/collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
720
|
-
scrollToIndex: (index: number, options?: import("@workday/canvas-kit-react/collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
721
|
-
measure: () => void;
|
|
722
|
-
};
|
|
723
|
-
UNSTABLE_defaultItemHeight: number;
|
|
724
|
-
containerRef: React.RefObject<HTMLDivElement>;
|
|
725
|
-
id: string;
|
|
726
|
-
orientation: "horizontal" | "vertical";
|
|
727
|
-
indexRef: React.MutableRefObject<number>;
|
|
728
|
-
isVirtualized: boolean;
|
|
729
|
-
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
730
|
-
}) => boolean) | undefined;
|
|
731
|
-
shouldSetOverflowTargetWidth?: ((data: {
|
|
732
|
-
width: number;
|
|
733
|
-
}, state: {
|
|
734
|
-
disabled: boolean;
|
|
735
|
-
size: "small" | "medium" | "large";
|
|
736
|
-
nonInteractiveIds: never[];
|
|
737
|
-
hiddenIds: never[];
|
|
738
|
-
itemWidthCache: Record<string, number>;
|
|
739
|
-
containerWidth: number;
|
|
740
|
-
overflowTargetWidth: number;
|
|
741
|
-
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
742
|
-
unselectedIds: string[];
|
|
743
|
-
cursorId: string;
|
|
744
|
-
columnCount: number;
|
|
745
|
-
UNSTABLE_virtual: {
|
|
746
|
-
virtualItems: import("@workday/canvas-kit-react/collection/lib/react-virtual").VirtualItem[];
|
|
747
|
-
totalSize: number;
|
|
748
|
-
scrollToOffset: (index: number, options?: import("@workday/canvas-kit-react/collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
749
|
-
scrollToIndex: (index: number, options?: import("@workday/canvas-kit-react/collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
750
|
-
measure: () => void;
|
|
751
|
-
};
|
|
752
|
-
UNSTABLE_defaultItemHeight: number;
|
|
753
|
-
containerRef: React.RefObject<HTMLDivElement>;
|
|
754
|
-
id: string;
|
|
755
|
-
orientation: "horizontal" | "vertical";
|
|
756
|
-
indexRef: React.MutableRefObject<number>;
|
|
757
|
-
isVirtualized: boolean;
|
|
758
|
-
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
759
|
-
}) => boolean) | undefined;
|
|
760
|
-
shouldAddItemWidth?: ((data: {
|
|
761
|
-
id: string;
|
|
762
|
-
width: number;
|
|
763
|
-
}, state: {
|
|
764
|
-
disabled: boolean;
|
|
765
|
-
size: "small" | "medium" | "large";
|
|
766
|
-
nonInteractiveIds: never[];
|
|
767
|
-
hiddenIds: never[];
|
|
768
|
-
itemWidthCache: Record<string, number>;
|
|
769
|
-
containerWidth: number;
|
|
770
|
-
overflowTargetWidth: number;
|
|
771
|
-
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
772
|
-
unselectedIds: string[];
|
|
773
|
-
cursorId: string;
|
|
774
|
-
columnCount: number;
|
|
775
|
-
UNSTABLE_virtual: {
|
|
776
|
-
virtualItems: import("@workday/canvas-kit-react/collection/lib/react-virtual").VirtualItem[];
|
|
777
|
-
totalSize: number;
|
|
778
|
-
scrollToOffset: (index: number, options?: import("@workday/canvas-kit-react/collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
779
|
-
scrollToIndex: (index: number, options?: import("@workday/canvas-kit-react/collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
780
|
-
measure: () => void;
|
|
781
|
-
};
|
|
782
|
-
UNSTABLE_defaultItemHeight: number;
|
|
783
|
-
containerRef: React.RefObject<HTMLDivElement>;
|
|
784
|
-
id: string;
|
|
785
|
-
orientation: "horizontal" | "vertical";
|
|
786
|
-
indexRef: React.MutableRefObject<number>;
|
|
787
|
-
isVirtualized: boolean;
|
|
788
|
-
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
789
|
-
}) => boolean) | undefined;
|
|
790
|
-
shouldRemoveItemWidth?: ((data: {
|
|
791
|
-
id: string;
|
|
792
|
-
}, state: {
|
|
793
|
-
disabled: boolean;
|
|
794
|
-
size: "small" | "medium" | "large";
|
|
795
|
-
nonInteractiveIds: never[];
|
|
796
|
-
hiddenIds: never[];
|
|
797
|
-
itemWidthCache: Record<string, number>;
|
|
798
|
-
containerWidth: number;
|
|
799
|
-
overflowTargetWidth: number;
|
|
800
|
-
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
801
|
-
unselectedIds: string[];
|
|
802
|
-
cursorId: string;
|
|
803
|
-
columnCount: number;
|
|
804
|
-
UNSTABLE_virtual: {
|
|
805
|
-
virtualItems: import("@workday/canvas-kit-react/collection/lib/react-virtual").VirtualItem[];
|
|
806
|
-
totalSize: number;
|
|
807
|
-
scrollToOffset: (index: number, options?: import("@workday/canvas-kit-react/collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
808
|
-
scrollToIndex: (index: number, options?: import("@workday/canvas-kit-react/collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
809
|
-
measure: () => void;
|
|
810
|
-
};
|
|
811
|
-
UNSTABLE_defaultItemHeight: number;
|
|
812
|
-
containerRef: React.RefObject<HTMLDivElement>;
|
|
813
|
-
id: string;
|
|
814
|
-
orientation: "horizontal" | "vertical";
|
|
815
|
-
indexRef: React.MutableRefObject<number>;
|
|
816
|
-
isVirtualized: boolean;
|
|
817
|
-
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
818
|
-
}) => boolean) | undefined;
|
|
819
|
-
shouldAddHiddenKey?: ((data: {
|
|
820
|
-
id: string;
|
|
821
|
-
}, state: {
|
|
822
|
-
disabled: boolean;
|
|
823
|
-
size: "small" | "medium" | "large";
|
|
824
|
-
nonInteractiveIds: never[];
|
|
825
|
-
hiddenIds: never[];
|
|
826
|
-
itemWidthCache: Record<string, number>;
|
|
827
|
-
containerWidth: number;
|
|
828
|
-
overflowTargetWidth: number;
|
|
829
|
-
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
830
|
-
unselectedIds: string[];
|
|
831
|
-
cursorId: string;
|
|
832
|
-
columnCount: number;
|
|
833
|
-
UNSTABLE_virtual: {
|
|
834
|
-
virtualItems: import("@workday/canvas-kit-react/collection/lib/react-virtual").VirtualItem[];
|
|
835
|
-
totalSize: number;
|
|
836
|
-
scrollToOffset: (index: number, options?: import("@workday/canvas-kit-react/collection/lib/react-virtual").ScrollToOffsetOptions | undefined) => void;
|
|
837
|
-
scrollToIndex: (index: number, options?: import("@workday/canvas-kit-react/collection/lib/react-virtual").ScrollToIndexOptions | undefined) => void;
|
|
838
|
-
measure: () => void;
|
|
839
|
-
};
|
|
840
|
-
UNSTABLE_defaultItemHeight: number;
|
|
841
|
-
containerRef: React.RefObject<HTMLDivElement>;
|
|
842
|
-
id: string;
|
|
843
|
-
orientation: "horizontal" | "vertical";
|
|
844
|
-
indexRef: React.MutableRefObject<number>;
|
|
845
|
-
isVirtualized: boolean;
|
|
846
|
-
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
847
|
-
}) => boolean) | undefined;
|
|
848
|
-
shouldRemoveHiddenKey?: ((data: {
|
|
849
|
-
id: string;
|
|
850
|
-
}, state: {
|
|
851
|
-
disabled: boolean;
|
|
852
|
-
size: "small" | "medium" | "large";
|
|
853
|
-
nonInteractiveIds: never[];
|
|
854
|
-
hiddenIds: never[];
|
|
855
|
-
itemWidthCache: Record<string, number>;
|
|
856
|
-
containerWidth: number;
|
|
857
|
-
overflowTargetWidth: number;
|
|
858
432
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
859
433
|
unselectedIds: string[];
|
|
860
434
|
cursorId: string;
|
|
@@ -871,17 +445,13 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
871
445
|
id: string;
|
|
872
446
|
orientation: "horizontal" | "vertical";
|
|
873
447
|
indexRef: React.MutableRefObject<number>;
|
|
448
|
+
nonInteractiveIds: string[];
|
|
874
449
|
isVirtualized: boolean;
|
|
875
450
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
876
451
|
}) => boolean) | undefined;
|
|
877
452
|
shouldSelectAll?: ((data: undefined, state: {
|
|
878
453
|
disabled: boolean;
|
|
879
454
|
size: "small" | "medium" | "large";
|
|
880
|
-
nonInteractiveIds: never[];
|
|
881
|
-
hiddenIds: never[];
|
|
882
|
-
itemWidthCache: Record<string, number>;
|
|
883
|
-
containerWidth: number;
|
|
884
|
-
overflowTargetWidth: number;
|
|
885
455
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
886
456
|
unselectedIds: string[];
|
|
887
457
|
cursorId: string;
|
|
@@ -898,17 +468,13 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
898
468
|
id: string;
|
|
899
469
|
orientation: "horizontal" | "vertical";
|
|
900
470
|
indexRef: React.MutableRefObject<number>;
|
|
471
|
+
nonInteractiveIds: string[];
|
|
901
472
|
isVirtualized: boolean;
|
|
902
473
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
903
474
|
}) => boolean) | undefined;
|
|
904
475
|
shouldUnselectAll?: ((data: undefined, state: {
|
|
905
476
|
disabled: boolean;
|
|
906
477
|
size: "small" | "medium" | "large";
|
|
907
|
-
nonInteractiveIds: never[];
|
|
908
|
-
hiddenIds: never[];
|
|
909
|
-
itemWidthCache: Record<string, number>;
|
|
910
|
-
containerWidth: number;
|
|
911
|
-
overflowTargetWidth: number;
|
|
912
478
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
913
479
|
unselectedIds: string[];
|
|
914
480
|
cursorId: string;
|
|
@@ -925,6 +491,7 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
925
491
|
id: string;
|
|
926
492
|
orientation: "horizontal" | "vertical";
|
|
927
493
|
indexRef: React.MutableRefObject<number>;
|
|
494
|
+
nonInteractiveIds: string[];
|
|
928
495
|
isVirtualized: boolean;
|
|
929
496
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
930
497
|
}) => boolean) | undefined;
|
|
@@ -934,11 +501,6 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
934
501
|
}, state: {
|
|
935
502
|
disabled: boolean;
|
|
936
503
|
size: "small" | "medium" | "large";
|
|
937
|
-
nonInteractiveIds: never[];
|
|
938
|
-
hiddenIds: never[];
|
|
939
|
-
itemWidthCache: Record<string, number>;
|
|
940
|
-
containerWidth: number;
|
|
941
|
-
overflowTargetWidth: number;
|
|
942
504
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
943
505
|
unselectedIds: string[];
|
|
944
506
|
cursorId: string;
|
|
@@ -955,6 +517,7 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
955
517
|
id: string;
|
|
956
518
|
orientation: "horizontal" | "vertical";
|
|
957
519
|
indexRef: React.MutableRefObject<number>;
|
|
520
|
+
nonInteractiveIds: string[];
|
|
958
521
|
isVirtualized: boolean;
|
|
959
522
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
960
523
|
}) => boolean) | undefined;
|
|
@@ -963,11 +526,6 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
963
526
|
}, state: {
|
|
964
527
|
disabled: boolean;
|
|
965
528
|
size: "small" | "medium" | "large";
|
|
966
|
-
nonInteractiveIds: never[];
|
|
967
|
-
hiddenIds: never[];
|
|
968
|
-
itemWidthCache: Record<string, number>;
|
|
969
|
-
containerWidth: number;
|
|
970
|
-
overflowTargetWidth: number;
|
|
971
529
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
972
530
|
unselectedIds: string[];
|
|
973
531
|
cursorId: string;
|
|
@@ -984,17 +542,13 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
984
542
|
id: string;
|
|
985
543
|
orientation: "horizontal" | "vertical";
|
|
986
544
|
indexRef: React.MutableRefObject<number>;
|
|
545
|
+
nonInteractiveIds: string[];
|
|
987
546
|
isVirtualized: boolean;
|
|
988
547
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
989
548
|
}) => boolean) | undefined;
|
|
990
549
|
shouldGoToNext?: ((data: undefined, state: {
|
|
991
550
|
disabled: boolean;
|
|
992
551
|
size: "small" | "medium" | "large";
|
|
993
|
-
nonInteractiveIds: never[];
|
|
994
|
-
hiddenIds: never[];
|
|
995
|
-
itemWidthCache: Record<string, number>;
|
|
996
|
-
containerWidth: number;
|
|
997
|
-
overflowTargetWidth: number;
|
|
998
552
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
999
553
|
unselectedIds: string[];
|
|
1000
554
|
cursorId: string;
|
|
@@ -1011,17 +565,13 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
1011
565
|
id: string;
|
|
1012
566
|
orientation: "horizontal" | "vertical";
|
|
1013
567
|
indexRef: React.MutableRefObject<number>;
|
|
568
|
+
nonInteractiveIds: string[];
|
|
1014
569
|
isVirtualized: boolean;
|
|
1015
570
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1016
571
|
}) => boolean) | undefined;
|
|
1017
572
|
shouldGoToPrevious?: ((data: undefined, state: {
|
|
1018
573
|
disabled: boolean;
|
|
1019
574
|
size: "small" | "medium" | "large";
|
|
1020
|
-
nonInteractiveIds: never[];
|
|
1021
|
-
hiddenIds: never[];
|
|
1022
|
-
itemWidthCache: Record<string, number>;
|
|
1023
|
-
containerWidth: number;
|
|
1024
|
-
overflowTargetWidth: number;
|
|
1025
575
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
1026
576
|
unselectedIds: string[];
|
|
1027
577
|
cursorId: string;
|
|
@@ -1038,17 +588,13 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
1038
588
|
id: string;
|
|
1039
589
|
orientation: "horizontal" | "vertical";
|
|
1040
590
|
indexRef: React.MutableRefObject<number>;
|
|
591
|
+
nonInteractiveIds: string[];
|
|
1041
592
|
isVirtualized: boolean;
|
|
1042
593
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1043
594
|
}) => boolean) | undefined;
|
|
1044
595
|
shouldGoToPreviousRow?: ((data: undefined, state: {
|
|
1045
596
|
disabled: boolean;
|
|
1046
597
|
size: "small" | "medium" | "large";
|
|
1047
|
-
nonInteractiveIds: never[];
|
|
1048
|
-
hiddenIds: never[];
|
|
1049
|
-
itemWidthCache: Record<string, number>;
|
|
1050
|
-
containerWidth: number;
|
|
1051
|
-
overflowTargetWidth: number;
|
|
1052
598
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
1053
599
|
unselectedIds: string[];
|
|
1054
600
|
cursorId: string;
|
|
@@ -1065,17 +611,13 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
1065
611
|
id: string;
|
|
1066
612
|
orientation: "horizontal" | "vertical";
|
|
1067
613
|
indexRef: React.MutableRefObject<number>;
|
|
614
|
+
nonInteractiveIds: string[];
|
|
1068
615
|
isVirtualized: boolean;
|
|
1069
616
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1070
617
|
}) => boolean) | undefined;
|
|
1071
618
|
shouldGoToNextRow?: ((data: undefined, state: {
|
|
1072
619
|
disabled: boolean;
|
|
1073
620
|
size: "small" | "medium" | "large";
|
|
1074
|
-
nonInteractiveIds: never[];
|
|
1075
|
-
hiddenIds: never[];
|
|
1076
|
-
itemWidthCache: Record<string, number>;
|
|
1077
|
-
containerWidth: number;
|
|
1078
|
-
overflowTargetWidth: number;
|
|
1079
621
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
1080
622
|
unselectedIds: string[];
|
|
1081
623
|
cursorId: string;
|
|
@@ -1092,17 +634,13 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
1092
634
|
id: string;
|
|
1093
635
|
orientation: "horizontal" | "vertical";
|
|
1094
636
|
indexRef: React.MutableRefObject<number>;
|
|
637
|
+
nonInteractiveIds: string[];
|
|
1095
638
|
isVirtualized: boolean;
|
|
1096
639
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1097
640
|
}) => boolean) | undefined;
|
|
1098
641
|
shouldGoToFirst?: ((data: undefined, state: {
|
|
1099
642
|
disabled: boolean;
|
|
1100
643
|
size: "small" | "medium" | "large";
|
|
1101
|
-
nonInteractiveIds: never[];
|
|
1102
|
-
hiddenIds: never[];
|
|
1103
|
-
itemWidthCache: Record<string, number>;
|
|
1104
|
-
containerWidth: number;
|
|
1105
|
-
overflowTargetWidth: number;
|
|
1106
644
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
1107
645
|
unselectedIds: string[];
|
|
1108
646
|
cursorId: string;
|
|
@@ -1119,17 +657,13 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
1119
657
|
id: string;
|
|
1120
658
|
orientation: "horizontal" | "vertical";
|
|
1121
659
|
indexRef: React.MutableRefObject<number>;
|
|
660
|
+
nonInteractiveIds: string[];
|
|
1122
661
|
isVirtualized: boolean;
|
|
1123
662
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1124
663
|
}) => boolean) | undefined;
|
|
1125
664
|
shouldGoToLast?: ((data: undefined, state: {
|
|
1126
665
|
disabled: boolean;
|
|
1127
666
|
size: "small" | "medium" | "large";
|
|
1128
|
-
nonInteractiveIds: never[];
|
|
1129
|
-
hiddenIds: never[];
|
|
1130
|
-
itemWidthCache: Record<string, number>;
|
|
1131
|
-
containerWidth: number;
|
|
1132
|
-
overflowTargetWidth: number;
|
|
1133
667
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
1134
668
|
unselectedIds: string[];
|
|
1135
669
|
cursorId: string;
|
|
@@ -1146,17 +680,13 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
1146
680
|
id: string;
|
|
1147
681
|
orientation: "horizontal" | "vertical";
|
|
1148
682
|
indexRef: React.MutableRefObject<number>;
|
|
683
|
+
nonInteractiveIds: string[];
|
|
1149
684
|
isVirtualized: boolean;
|
|
1150
685
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1151
686
|
}) => boolean) | undefined;
|
|
1152
687
|
shouldGoToFirstOfRow?: ((data: undefined, state: {
|
|
1153
688
|
disabled: boolean;
|
|
1154
689
|
size: "small" | "medium" | "large";
|
|
1155
|
-
nonInteractiveIds: never[];
|
|
1156
|
-
hiddenIds: never[];
|
|
1157
|
-
itemWidthCache: Record<string, number>;
|
|
1158
|
-
containerWidth: number;
|
|
1159
|
-
overflowTargetWidth: number;
|
|
1160
690
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
1161
691
|
unselectedIds: string[];
|
|
1162
692
|
cursorId: string;
|
|
@@ -1173,17 +703,13 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
1173
703
|
id: string;
|
|
1174
704
|
orientation: "horizontal" | "vertical";
|
|
1175
705
|
indexRef: React.MutableRefObject<number>;
|
|
706
|
+
nonInteractiveIds: string[];
|
|
1176
707
|
isVirtualized: boolean;
|
|
1177
708
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1178
709
|
}) => boolean) | undefined;
|
|
1179
710
|
shouldGoToLastOfRow?: ((data: undefined, state: {
|
|
1180
711
|
disabled: boolean;
|
|
1181
712
|
size: "small" | "medium" | "large";
|
|
1182
|
-
nonInteractiveIds: never[];
|
|
1183
|
-
hiddenIds: never[];
|
|
1184
|
-
itemWidthCache: Record<string, number>;
|
|
1185
|
-
containerWidth: number;
|
|
1186
|
-
overflowTargetWidth: number;
|
|
1187
713
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
1188
714
|
unselectedIds: string[];
|
|
1189
715
|
cursorId: string;
|
|
@@ -1200,17 +726,13 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
1200
726
|
id: string;
|
|
1201
727
|
orientation: "horizontal" | "vertical";
|
|
1202
728
|
indexRef: React.MutableRefObject<number>;
|
|
729
|
+
nonInteractiveIds: string[];
|
|
1203
730
|
isVirtualized: boolean;
|
|
1204
731
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1205
732
|
}) => boolean) | undefined;
|
|
1206
733
|
shouldGoToNextPage?: ((data: undefined, state: {
|
|
1207
734
|
disabled: boolean;
|
|
1208
735
|
size: "small" | "medium" | "large";
|
|
1209
|
-
nonInteractiveIds: never[];
|
|
1210
|
-
hiddenIds: never[];
|
|
1211
|
-
itemWidthCache: Record<string, number>;
|
|
1212
|
-
containerWidth: number;
|
|
1213
|
-
overflowTargetWidth: number;
|
|
1214
736
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
1215
737
|
unselectedIds: string[];
|
|
1216
738
|
cursorId: string;
|
|
@@ -1227,17 +749,13 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
1227
749
|
id: string;
|
|
1228
750
|
orientation: "horizontal" | "vertical";
|
|
1229
751
|
indexRef: React.MutableRefObject<number>;
|
|
752
|
+
nonInteractiveIds: string[];
|
|
1230
753
|
isVirtualized: boolean;
|
|
1231
754
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1232
755
|
}) => boolean) | undefined;
|
|
1233
756
|
shouldGoToPreviousPage?: ((data: undefined, state: {
|
|
1234
757
|
disabled: boolean;
|
|
1235
758
|
size: "small" | "medium" | "large";
|
|
1236
|
-
nonInteractiveIds: never[];
|
|
1237
|
-
hiddenIds: never[];
|
|
1238
|
-
itemWidthCache: Record<string, number>;
|
|
1239
|
-
containerWidth: number;
|
|
1240
|
-
overflowTargetWidth: number;
|
|
1241
759
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
1242
760
|
unselectedIds: string[];
|
|
1243
761
|
cursorId: string;
|
|
@@ -1254,6 +772,7 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
1254
772
|
id: string;
|
|
1255
773
|
orientation: "horizontal" | "vertical";
|
|
1256
774
|
indexRef: React.MutableRefObject<number>;
|
|
775
|
+
nonInteractiveIds: string[];
|
|
1257
776
|
isVirtualized: boolean;
|
|
1258
777
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1259
778
|
}) => boolean) | undefined;
|
|
@@ -1262,11 +781,6 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
1262
781
|
}, state: {
|
|
1263
782
|
disabled: boolean;
|
|
1264
783
|
size: "small" | "medium" | "large";
|
|
1265
|
-
nonInteractiveIds: never[];
|
|
1266
|
-
hiddenIds: never[];
|
|
1267
|
-
itemWidthCache: Record<string, number>;
|
|
1268
|
-
containerWidth: number;
|
|
1269
|
-
overflowTargetWidth: number;
|
|
1270
784
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
1271
785
|
unselectedIds: string[];
|
|
1272
786
|
cursorId: string;
|
|
@@ -1283,6 +797,7 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
1283
797
|
id: string;
|
|
1284
798
|
orientation: "horizontal" | "vertical";
|
|
1285
799
|
indexRef: React.MutableRefObject<number>;
|
|
800
|
+
nonInteractiveIds: string[];
|
|
1286
801
|
isVirtualized: boolean;
|
|
1287
802
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1288
803
|
}) => boolean) | undefined;
|
|
@@ -1291,11 +806,6 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
1291
806
|
}, state: {
|
|
1292
807
|
disabled: boolean;
|
|
1293
808
|
size: "small" | "medium" | "large";
|
|
1294
|
-
nonInteractiveIds: never[];
|
|
1295
|
-
hiddenIds: never[];
|
|
1296
|
-
itemWidthCache: Record<string, number>;
|
|
1297
|
-
containerWidth: number;
|
|
1298
|
-
overflowTargetWidth: number;
|
|
1299
809
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
1300
810
|
unselectedIds: string[];
|
|
1301
811
|
cursorId: string;
|
|
@@ -1312,6 +822,7 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
1312
822
|
id: string;
|
|
1313
823
|
orientation: "horizontal" | "vertical";
|
|
1314
824
|
indexRef: React.MutableRefObject<number>;
|
|
825
|
+
nonInteractiveIds: string[];
|
|
1315
826
|
isVirtualized: boolean;
|
|
1316
827
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1317
828
|
}) => boolean) | undefined;
|
|
@@ -1319,11 +830,6 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
1319
830
|
state: {
|
|
1320
831
|
disabled: boolean;
|
|
1321
832
|
size: "small" | "medium" | "large";
|
|
1322
|
-
nonInteractiveIds: never[];
|
|
1323
|
-
hiddenIds: never[];
|
|
1324
|
-
itemWidthCache: Record<string, number>;
|
|
1325
|
-
containerWidth: number;
|
|
1326
|
-
overflowTargetWidth: number;
|
|
1327
833
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
1328
834
|
unselectedIds: string[];
|
|
1329
835
|
cursorId: string;
|
|
@@ -1340,6 +846,7 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
1340
846
|
id: string;
|
|
1341
847
|
orientation: "horizontal" | "vertical";
|
|
1342
848
|
indexRef: React.MutableRefObject<number>;
|
|
849
|
+
nonInteractiveIds: string[];
|
|
1343
850
|
isVirtualized: boolean;
|
|
1344
851
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1345
852
|
};
|
|
@@ -1347,25 +854,6 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
1347
854
|
select(data: {
|
|
1348
855
|
id: string;
|
|
1349
856
|
}): void;
|
|
1350
|
-
setContainerWidth(data: {
|
|
1351
|
-
width?: number | undefined;
|
|
1352
|
-
}): void;
|
|
1353
|
-
setOverflowTargetWidth(data: {
|
|
1354
|
-
width: number;
|
|
1355
|
-
}): void;
|
|
1356
|
-
addItemWidth(data: {
|
|
1357
|
-
id: string;
|
|
1358
|
-
width: number;
|
|
1359
|
-
}): void;
|
|
1360
|
-
removeItemWidth(data: {
|
|
1361
|
-
id: string;
|
|
1362
|
-
}): void;
|
|
1363
|
-
addHiddenKey(data: {
|
|
1364
|
-
id: string;
|
|
1365
|
-
}): void;
|
|
1366
|
-
removeHiddenKey(data: {
|
|
1367
|
-
id: string;
|
|
1368
|
-
}): void;
|
|
1369
857
|
selectAll(): void;
|
|
1370
858
|
unselectAll(): void;
|
|
1371
859
|
registerItem(data: {
|
|
@@ -1400,11 +888,6 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
1400
888
|
state: {
|
|
1401
889
|
disabled: boolean;
|
|
1402
890
|
size: "small" | "medium" | "large";
|
|
1403
|
-
nonInteractiveIds: never[];
|
|
1404
|
-
hiddenIds: never[];
|
|
1405
|
-
itemWidthCache: Record<string, number>;
|
|
1406
|
-
containerWidth: number;
|
|
1407
|
-
overflowTargetWidth: number;
|
|
1408
891
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
1409
892
|
unselectedIds: string[];
|
|
1410
893
|
cursorId: string;
|
|
@@ -1421,6 +904,7 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
1421
904
|
id: string;
|
|
1422
905
|
orientation: "horizontal" | "vertical";
|
|
1423
906
|
indexRef: React.MutableRefObject<number>;
|
|
907
|
+
nonInteractiveIds: string[];
|
|
1424
908
|
isVirtualized: boolean;
|
|
1425
909
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1426
910
|
};
|
|
@@ -1428,25 +912,6 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
1428
912
|
select(data: {
|
|
1429
913
|
id: string;
|
|
1430
914
|
}): void;
|
|
1431
|
-
setContainerWidth(data: {
|
|
1432
|
-
width?: number | undefined;
|
|
1433
|
-
}): void;
|
|
1434
|
-
setOverflowTargetWidth(data: {
|
|
1435
|
-
width: number;
|
|
1436
|
-
}): void;
|
|
1437
|
-
addItemWidth(data: {
|
|
1438
|
-
id: string;
|
|
1439
|
-
width: number;
|
|
1440
|
-
}): void;
|
|
1441
|
-
removeItemWidth(data: {
|
|
1442
|
-
id: string;
|
|
1443
|
-
}): void;
|
|
1444
|
-
addHiddenKey(data: {
|
|
1445
|
-
id: string;
|
|
1446
|
-
}): void;
|
|
1447
|
-
removeHiddenKey(data: {
|
|
1448
|
-
id: string;
|
|
1449
|
-
}): void;
|
|
1450
915
|
selectAll(): void;
|
|
1451
916
|
unselectAll(): void;
|
|
1452
917
|
registerItem(data: {
|
|
@@ -1481,11 +946,6 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
1481
946
|
state: {
|
|
1482
947
|
disabled: boolean;
|
|
1483
948
|
size: "small" | "medium" | "large";
|
|
1484
|
-
nonInteractiveIds: never[];
|
|
1485
|
-
hiddenIds: never[];
|
|
1486
|
-
itemWidthCache: Record<string, number>;
|
|
1487
|
-
containerWidth: number;
|
|
1488
|
-
overflowTargetWidth: number;
|
|
1489
949
|
selectedIds: import("@workday/canvas-kit-react/collection/lib/useSelectionListModel").SelectedIds;
|
|
1490
950
|
unselectedIds: string[];
|
|
1491
951
|
cursorId: string;
|
|
@@ -1502,6 +962,7 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
1502
962
|
id: string;
|
|
1503
963
|
orientation: "horizontal" | "vertical";
|
|
1504
964
|
indexRef: React.MutableRefObject<number>;
|
|
965
|
+
nonInteractiveIds: string[];
|
|
1505
966
|
isVirtualized: boolean;
|
|
1506
967
|
items: import("@workday/canvas-kit-react/collection").Item<any>[];
|
|
1507
968
|
};
|
|
@@ -1509,25 +970,6 @@ export declare const SegmentedControl: import("@workday/canvas-kit-react/common"
|
|
|
1509
970
|
select(data: {
|
|
1510
971
|
id: string;
|
|
1511
972
|
}): void;
|
|
1512
|
-
setContainerWidth(data: {
|
|
1513
|
-
width?: number | undefined;
|
|
1514
|
-
}): void;
|
|
1515
|
-
setOverflowTargetWidth(data: {
|
|
1516
|
-
width: number;
|
|
1517
|
-
}): void;
|
|
1518
|
-
addItemWidth(data: {
|
|
1519
|
-
id: string;
|
|
1520
|
-
width: number;
|
|
1521
|
-
}): void;
|
|
1522
|
-
removeItemWidth(data: {
|
|
1523
|
-
id: string;
|
|
1524
|
-
}): void;
|
|
1525
|
-
addHiddenKey(data: {
|
|
1526
|
-
id: string;
|
|
1527
|
-
}): void;
|
|
1528
|
-
removeHiddenKey(data: {
|
|
1529
|
-
id: string;
|
|
1530
|
-
}): void;
|
|
1531
973
|
selectAll(): void;
|
|
1532
974
|
unselectAll(): void;
|
|
1533
975
|
registerItem(data: {
|