@workday/canvas-kit-react 9.0.2 → 9.1.0-429-next.0
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/action-bar/lib/useActionBarModel.tsx +20 -3
- package/dist/commonjs/action-bar/lib/ActionBar.d.ts +51 -500
- package/dist/commonjs/action-bar/lib/ActionBar.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/useActionBarModel.d.ts +12 -0
- package/dist/commonjs/action-bar/lib/useActionBarModel.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/useActionBarModel.js +16 -3
- package/dist/es6/action-bar/lib/ActionBar.d.ts +51 -500
- package/dist/es6/action-bar/lib/ActionBar.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/useActionBarModel.d.ts +12 -0
- package/dist/es6/action-bar/lib/useActionBarModel.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/useActionBarModel.js +16 -3
- package/package.json +3 -3
|
@@ -47,6 +47,7 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
47
47
|
defaultItemHeight: number;
|
|
48
48
|
items: any[];
|
|
49
49
|
}>;
|
|
50
|
+
maximumVisible: number;
|
|
50
51
|
initialHiddenIds: string[];
|
|
51
52
|
containerWidth: number;
|
|
52
53
|
shouldCalculateOverflow: boolean;
|
|
@@ -67,16 +68,7 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
67
68
|
onSelect?: ((data: {
|
|
68
69
|
id: string;
|
|
69
70
|
}, prevState: {
|
|
70
|
-
hiddenIds: string[];
|
|
71
|
-
* `ActionBar.Item` is a `button` element, by default it's a `SecondaryButton` unless an `as`
|
|
72
|
-
* prop is passed.
|
|
73
|
-
*
|
|
74
|
-
* ```tsx
|
|
75
|
-
* <ActionBar.Item as={PrimaryButton} onClick={() => console.log('first action')}>
|
|
76
|
-
* First Action
|
|
77
|
-
* </ActionBar.Item>
|
|
78
|
-
* ```
|
|
79
|
-
*/
|
|
71
|
+
hiddenIds: string[];
|
|
80
72
|
nonInteractiveIds: string[];
|
|
81
73
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
82
74
|
itemWidthCache: Record<string, number>;
|
|
@@ -107,16 +99,7 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
107
99
|
onSetContainerWidth?: ((data: {
|
|
108
100
|
width?: number | undefined;
|
|
109
101
|
}, prevState: {
|
|
110
|
-
hiddenIds: string[];
|
|
111
|
-
* `ActionBar.Item` is a `button` element, by default it's a `SecondaryButton` unless an `as`
|
|
112
|
-
* prop is passed.
|
|
113
|
-
*
|
|
114
|
-
* ```tsx
|
|
115
|
-
* <ActionBar.Item as={PrimaryButton} onClick={() => console.log('first action')}>
|
|
116
|
-
* First Action
|
|
117
|
-
* </ActionBar.Item>
|
|
118
|
-
* ```
|
|
119
|
-
*/
|
|
102
|
+
hiddenIds: string[];
|
|
120
103
|
nonInteractiveIds: string[];
|
|
121
104
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
122
105
|
itemWidthCache: Record<string, number>;
|
|
@@ -147,16 +130,7 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
147
130
|
onSetOverflowTargetWidth?: ((data: {
|
|
148
131
|
width: number;
|
|
149
132
|
}, prevState: {
|
|
150
|
-
hiddenIds: string[];
|
|
151
|
-
* `ActionBar.Item` is a `button` element, by default it's a `SecondaryButton` unless an `as`
|
|
152
|
-
* prop is passed.
|
|
153
|
-
*
|
|
154
|
-
* ```tsx
|
|
155
|
-
* <ActionBar.Item as={PrimaryButton} onClick={() => console.log('first action')}>
|
|
156
|
-
* First Action
|
|
157
|
-
* </ActionBar.Item>
|
|
158
|
-
* ```
|
|
159
|
-
*/
|
|
133
|
+
hiddenIds: string[];
|
|
160
134
|
nonInteractiveIds: string[];
|
|
161
135
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
162
136
|
itemWidthCache: Record<string, number>;
|
|
@@ -188,16 +162,7 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
188
162
|
id: string;
|
|
189
163
|
width: number;
|
|
190
164
|
}, prevState: {
|
|
191
|
-
hiddenIds: string[];
|
|
192
|
-
* `ActionBar.Item` is a `button` element, by default it's a `SecondaryButton` unless an `as`
|
|
193
|
-
* prop is passed.
|
|
194
|
-
*
|
|
195
|
-
* ```tsx
|
|
196
|
-
* <ActionBar.Item as={PrimaryButton} onClick={() => console.log('first action')}>
|
|
197
|
-
* First Action
|
|
198
|
-
* </ActionBar.Item>
|
|
199
|
-
* ```
|
|
200
|
-
*/
|
|
165
|
+
hiddenIds: string[];
|
|
201
166
|
nonInteractiveIds: string[];
|
|
202
167
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
203
168
|
itemWidthCache: Record<string, number>;
|
|
@@ -228,16 +193,7 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
228
193
|
onRemoveItemWidth?: ((data: {
|
|
229
194
|
id: string;
|
|
230
195
|
}, prevState: {
|
|
231
|
-
hiddenIds: string[];
|
|
232
|
-
* `ActionBar.Item` is a `button` element, by default it's a `SecondaryButton` unless an `as`
|
|
233
|
-
* prop is passed.
|
|
234
|
-
*
|
|
235
|
-
* ```tsx
|
|
236
|
-
* <ActionBar.Item as={PrimaryButton} onClick={() => console.log('first action')}>
|
|
237
|
-
* First Action
|
|
238
|
-
* </ActionBar.Item>
|
|
239
|
-
* ```
|
|
240
|
-
*/
|
|
196
|
+
hiddenIds: string[];
|
|
241
197
|
nonInteractiveIds: string[];
|
|
242
198
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
243
199
|
itemWidthCache: Record<string, number>;
|
|
@@ -268,16 +224,7 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
268
224
|
onAddHiddenKey?: ((data: {
|
|
269
225
|
id: string;
|
|
270
226
|
}, prevState: {
|
|
271
|
-
hiddenIds: string[];
|
|
272
|
-
* `ActionBar.Item` is a `button` element, by default it's a `SecondaryButton` unless an `as`
|
|
273
|
-
* prop is passed.
|
|
274
|
-
*
|
|
275
|
-
* ```tsx
|
|
276
|
-
* <ActionBar.Item as={PrimaryButton} onClick={() => console.log('first action')}>
|
|
277
|
-
* First Action
|
|
278
|
-
* </ActionBar.Item>
|
|
279
|
-
* ```
|
|
280
|
-
*/
|
|
227
|
+
hiddenIds: string[];
|
|
281
228
|
nonInteractiveIds: string[];
|
|
282
229
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
283
230
|
itemWidthCache: Record<string, number>;
|
|
@@ -308,16 +255,7 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
308
255
|
onRemoveHiddenKey?: ((data: {
|
|
309
256
|
id: string;
|
|
310
257
|
}, prevState: {
|
|
311
|
-
hiddenIds: string[];
|
|
312
|
-
* `ActionBar.Item` is a `button` element, by default it's a `SecondaryButton` unless an `as`
|
|
313
|
-
* prop is passed.
|
|
314
|
-
*
|
|
315
|
-
* ```tsx
|
|
316
|
-
* <ActionBar.Item as={PrimaryButton} onClick={() => console.log('first action')}>
|
|
317
|
-
* First Action
|
|
318
|
-
* </ActionBar.Item>
|
|
319
|
-
* ```
|
|
320
|
-
*/
|
|
258
|
+
hiddenIds: string[];
|
|
321
259
|
nonInteractiveIds: string[];
|
|
322
260
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
323
261
|
itemWidthCache: Record<string, number>;
|
|
@@ -346,16 +284,7 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
346
284
|
items: import("../..").Item<any>[];
|
|
347
285
|
}) => void) | undefined;
|
|
348
286
|
onSelectAll?: ((data: undefined, prevState: {
|
|
349
|
-
hiddenIds: string[];
|
|
350
|
-
* `ActionBar.Item` is a `button` element, by default it's a `SecondaryButton` unless an `as`
|
|
351
|
-
* prop is passed.
|
|
352
|
-
*
|
|
353
|
-
* ```tsx
|
|
354
|
-
* <ActionBar.Item as={PrimaryButton} onClick={() => console.log('first action')}>
|
|
355
|
-
* First Action
|
|
356
|
-
* </ActionBar.Item>
|
|
357
|
-
* ```
|
|
358
|
-
*/
|
|
287
|
+
hiddenIds: string[];
|
|
359
288
|
nonInteractiveIds: string[];
|
|
360
289
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
361
290
|
itemWidthCache: Record<string, number>;
|
|
@@ -384,16 +313,7 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
384
313
|
items: import("../..").Item<any>[];
|
|
385
314
|
}) => void) | undefined;
|
|
386
315
|
onUnselectAll?: ((data: undefined, prevState: {
|
|
387
|
-
hiddenIds: string[];
|
|
388
|
-
* `ActionBar.Item` is a `button` element, by default it's a `SecondaryButton` unless an `as`
|
|
389
|
-
* prop is passed.
|
|
390
|
-
*
|
|
391
|
-
* ```tsx
|
|
392
|
-
* <ActionBar.Item as={PrimaryButton} onClick={() => console.log('first action')}>
|
|
393
|
-
* First Action
|
|
394
|
-
* </ActionBar.Item>
|
|
395
|
-
* ```
|
|
396
|
-
*/
|
|
316
|
+
hiddenIds: string[];
|
|
397
317
|
nonInteractiveIds: string[];
|
|
398
318
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
399
319
|
itemWidthCache: Record<string, number>;
|
|
@@ -424,16 +344,7 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
424
344
|
onGoTo?: ((data: {
|
|
425
345
|
id: string;
|
|
426
346
|
}, prevState: {
|
|
427
|
-
hiddenIds: string[];
|
|
428
|
-
* `ActionBar.Item` is a `button` element, by default it's a `SecondaryButton` unless an `as`
|
|
429
|
-
* prop is passed.
|
|
430
|
-
*
|
|
431
|
-
* ```tsx
|
|
432
|
-
* <ActionBar.Item as={PrimaryButton} onClick={() => console.log('first action')}>
|
|
433
|
-
* First Action
|
|
434
|
-
* </ActionBar.Item>
|
|
435
|
-
* ```
|
|
436
|
-
*/
|
|
347
|
+
hiddenIds: string[];
|
|
437
348
|
nonInteractiveIds: string[];
|
|
438
349
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
439
350
|
itemWidthCache: Record<string, number>;
|
|
@@ -462,16 +373,7 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
462
373
|
items: import("../..").Item<any>[];
|
|
463
374
|
}) => void) | undefined;
|
|
464
375
|
onGoToNext?: ((data: undefined, prevState: {
|
|
465
|
-
hiddenIds: string[];
|
|
466
|
-
* `ActionBar.Item` is a `button` element, by default it's a `SecondaryButton` unless an `as`
|
|
467
|
-
* prop is passed.
|
|
468
|
-
*
|
|
469
|
-
* ```tsx
|
|
470
|
-
* <ActionBar.Item as={PrimaryButton} onClick={() => console.log('first action')}>
|
|
471
|
-
* First Action
|
|
472
|
-
* </ActionBar.Item>
|
|
473
|
-
* ```
|
|
474
|
-
*/
|
|
376
|
+
hiddenIds: string[];
|
|
475
377
|
nonInteractiveIds: string[];
|
|
476
378
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
477
379
|
itemWidthCache: Record<string, number>;
|
|
@@ -500,16 +402,7 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
500
402
|
items: import("../..").Item<any>[];
|
|
501
403
|
}) => void) | undefined;
|
|
502
404
|
onGoToPrevious?: ((data: undefined, prevState: {
|
|
503
|
-
hiddenIds: string[];
|
|
504
|
-
* `ActionBar.Item` is a `button` element, by default it's a `SecondaryButton` unless an `as`
|
|
505
|
-
* prop is passed.
|
|
506
|
-
*
|
|
507
|
-
* ```tsx
|
|
508
|
-
* <ActionBar.Item as={PrimaryButton} onClick={() => console.log('first action')}>
|
|
509
|
-
* First Action
|
|
510
|
-
* </ActionBar.Item>
|
|
511
|
-
* ```
|
|
512
|
-
*/
|
|
405
|
+
hiddenIds: string[];
|
|
513
406
|
nonInteractiveIds: string[];
|
|
514
407
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
515
408
|
itemWidthCache: Record<string, number>;
|
|
@@ -538,16 +431,7 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
538
431
|
items: import("../..").Item<any>[];
|
|
539
432
|
}) => void) | undefined;
|
|
540
433
|
onGoToPreviousRow?: ((data: undefined, prevState: {
|
|
541
|
-
hiddenIds: string[];
|
|
542
|
-
* `ActionBar.Item` is a `button` element, by default it's a `SecondaryButton` unless an `as`
|
|
543
|
-
* prop is passed.
|
|
544
|
-
*
|
|
545
|
-
* ```tsx
|
|
546
|
-
* <ActionBar.Item as={PrimaryButton} onClick={() => console.log('first action')}>
|
|
547
|
-
* First Action
|
|
548
|
-
* </ActionBar.Item>
|
|
549
|
-
* ```
|
|
550
|
-
*/
|
|
434
|
+
hiddenIds: string[];
|
|
551
435
|
nonInteractiveIds: string[];
|
|
552
436
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
553
437
|
itemWidthCache: Record<string, number>;
|
|
@@ -576,16 +460,7 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
576
460
|
items: import("../..").Item<any>[];
|
|
577
461
|
}) => void) | undefined;
|
|
578
462
|
onGoToNextRow?: ((data: undefined, prevState: {
|
|
579
|
-
hiddenIds: string[];
|
|
580
|
-
* `ActionBar.Item` is a `button` element, by default it's a `SecondaryButton` unless an `as`
|
|
581
|
-
* prop is passed.
|
|
582
|
-
*
|
|
583
|
-
* ```tsx
|
|
584
|
-
* <ActionBar.Item as={PrimaryButton} onClick={() => console.log('first action')}>
|
|
585
|
-
* First Action
|
|
586
|
-
* </ActionBar.Item>
|
|
587
|
-
* ```
|
|
588
|
-
*/
|
|
463
|
+
hiddenIds: string[];
|
|
589
464
|
nonInteractiveIds: string[];
|
|
590
465
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
591
466
|
itemWidthCache: Record<string, number>;
|
|
@@ -614,16 +489,7 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
614
489
|
items: import("../..").Item<any>[];
|
|
615
490
|
}) => void) | undefined;
|
|
616
491
|
onGoToFirst?: ((data: undefined, prevState: {
|
|
617
|
-
hiddenIds: string[];
|
|
618
|
-
* `ActionBar.Item` is a `button` element, by default it's a `SecondaryButton` unless an `as`
|
|
619
|
-
* prop is passed.
|
|
620
|
-
*
|
|
621
|
-
* ```tsx
|
|
622
|
-
* <ActionBar.Item as={PrimaryButton} onClick={() => console.log('first action')}>
|
|
623
|
-
* First Action
|
|
624
|
-
* </ActionBar.Item>
|
|
625
|
-
* ```
|
|
626
|
-
*/
|
|
492
|
+
hiddenIds: string[];
|
|
627
493
|
nonInteractiveIds: string[];
|
|
628
494
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
629
495
|
itemWidthCache: Record<string, number>;
|
|
@@ -652,16 +518,7 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
652
518
|
items: import("../..").Item<any>[];
|
|
653
519
|
}) => void) | undefined;
|
|
654
520
|
onGoToLast?: ((data: undefined, prevState: {
|
|
655
|
-
hiddenIds: string[];
|
|
656
|
-
* `ActionBar.Item` is a `button` element, by default it's a `SecondaryButton` unless an `as`
|
|
657
|
-
* prop is passed.
|
|
658
|
-
*
|
|
659
|
-
* ```tsx
|
|
660
|
-
* <ActionBar.Item as={PrimaryButton} onClick={() => console.log('first action')}>
|
|
661
|
-
* First Action
|
|
662
|
-
* </ActionBar.Item>
|
|
663
|
-
* ```
|
|
664
|
-
*/
|
|
521
|
+
hiddenIds: string[];
|
|
665
522
|
nonInteractiveIds: string[];
|
|
666
523
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
667
524
|
itemWidthCache: Record<string, number>;
|
|
@@ -690,16 +547,7 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
690
547
|
items: import("../..").Item<any>[];
|
|
691
548
|
}) => void) | undefined;
|
|
692
549
|
onGoToFirstOfRow?: ((data: undefined, prevState: {
|
|
693
|
-
hiddenIds: string[];
|
|
694
|
-
* `ActionBar.Item` is a `button` element, by default it's a `SecondaryButton` unless an `as`
|
|
695
|
-
* prop is passed.
|
|
696
|
-
*
|
|
697
|
-
* ```tsx
|
|
698
|
-
* <ActionBar.Item as={PrimaryButton} onClick={() => console.log('first action')}>
|
|
699
|
-
* First Action
|
|
700
|
-
* </ActionBar.Item>
|
|
701
|
-
* ```
|
|
702
|
-
*/
|
|
550
|
+
hiddenIds: string[];
|
|
703
551
|
nonInteractiveIds: string[];
|
|
704
552
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
705
553
|
itemWidthCache: Record<string, number>;
|
|
@@ -728,16 +576,7 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
728
576
|
items: import("../..").Item<any>[];
|
|
729
577
|
}) => void) | undefined;
|
|
730
578
|
onGoToLastOfRow?: ((data: undefined, prevState: {
|
|
731
|
-
hiddenIds: string[];
|
|
732
|
-
* `ActionBar.Item` is a `button` element, by default it's a `SecondaryButton` unless an `as`
|
|
733
|
-
* prop is passed.
|
|
734
|
-
*
|
|
735
|
-
* ```tsx
|
|
736
|
-
* <ActionBar.Item as={PrimaryButton} onClick={() => console.log('first action')}>
|
|
737
|
-
* First Action
|
|
738
|
-
* </ActionBar.Item>
|
|
739
|
-
* ```
|
|
740
|
-
*/
|
|
579
|
+
hiddenIds: string[];
|
|
741
580
|
nonInteractiveIds: string[];
|
|
742
581
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
743
582
|
itemWidthCache: Record<string, number>;
|
|
@@ -766,16 +605,7 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
766
605
|
items: import("../..").Item<any>[];
|
|
767
606
|
}) => void) | undefined;
|
|
768
607
|
onGoToNextPage?: ((data: undefined, prevState: {
|
|
769
|
-
hiddenIds: string[];
|
|
770
|
-
* `ActionBar.Item` is a `button` element, by default it's a `SecondaryButton` unless an `as`
|
|
771
|
-
* prop is passed.
|
|
772
|
-
*
|
|
773
|
-
* ```tsx
|
|
774
|
-
* <ActionBar.Item as={PrimaryButton} onClick={() => console.log('first action')}>
|
|
775
|
-
* First Action
|
|
776
|
-
* </ActionBar.Item>
|
|
777
|
-
* ```
|
|
778
|
-
*/
|
|
608
|
+
hiddenIds: string[];
|
|
779
609
|
nonInteractiveIds: string[];
|
|
780
610
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
781
611
|
itemWidthCache: Record<string, number>;
|
|
@@ -804,16 +634,7 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
804
634
|
items: import("../..").Item<any>[];
|
|
805
635
|
}) => void) | undefined;
|
|
806
636
|
onGoToPreviousPage?: ((data: undefined, prevState: {
|
|
807
|
-
hiddenIds: string[];
|
|
808
|
-
* `ActionBar.Item` is a `button` element, by default it's a `SecondaryButton` unless an `as`
|
|
809
|
-
* prop is passed.
|
|
810
|
-
*
|
|
811
|
-
* ```tsx
|
|
812
|
-
* <ActionBar.Item as={PrimaryButton} onClick={() => console.log('first action')}>
|
|
813
|
-
* First Action
|
|
814
|
-
* </ActionBar.Item>
|
|
815
|
-
* ```
|
|
816
|
-
*/
|
|
637
|
+
hiddenIds: string[];
|
|
817
638
|
nonInteractiveIds: string[];
|
|
818
639
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
819
640
|
itemWidthCache: Record<string, number>;
|
|
@@ -845,16 +666,7 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
845
666
|
item: any;
|
|
846
667
|
textValue: string;
|
|
847
668
|
}, prevState: {
|
|
848
|
-
hiddenIds: string[];
|
|
849
|
-
* `ActionBar.Item` is a `button` element, by default it's a `SecondaryButton` unless an `as`
|
|
850
|
-
* prop is passed.
|
|
851
|
-
*
|
|
852
|
-
* ```tsx
|
|
853
|
-
* <ActionBar.Item as={PrimaryButton} onClick={() => console.log('first action')}>
|
|
854
|
-
* First Action
|
|
855
|
-
* </ActionBar.Item>
|
|
856
|
-
* ```
|
|
857
|
-
*/
|
|
669
|
+
hiddenIds: string[];
|
|
858
670
|
nonInteractiveIds: string[];
|
|
859
671
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
860
672
|
itemWidthCache: Record<string, number>;
|
|
@@ -885,16 +697,7 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
885
697
|
onUnregisterItem?: ((data: {
|
|
886
698
|
id: string;
|
|
887
699
|
}, prevState: {
|
|
888
|
-
hiddenIds: string[];
|
|
889
|
-
* `ActionBar.Item` is a `button` element, by default it's a `SecondaryButton` unless an `as`
|
|
890
|
-
* prop is passed.
|
|
891
|
-
*
|
|
892
|
-
* ```tsx
|
|
893
|
-
* <ActionBar.Item as={PrimaryButton} onClick={() => console.log('first action')}>
|
|
894
|
-
* First Action
|
|
895
|
-
* </ActionBar.Item>
|
|
896
|
-
* ```
|
|
897
|
-
*/
|
|
700
|
+
hiddenIds: string[];
|
|
898
701
|
nonInteractiveIds: string[];
|
|
899
702
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
900
703
|
itemWidthCache: Record<string, number>;
|
|
@@ -925,16 +728,7 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
925
728
|
onUpdateItemHeight?: ((data: {
|
|
926
729
|
value: number;
|
|
927
730
|
}, prevState: {
|
|
928
|
-
hiddenIds: string[];
|
|
929
|
-
* `ActionBar.Item` is a `button` element, by default it's a `SecondaryButton` unless an `as`
|
|
930
|
-
* prop is passed.
|
|
931
|
-
*
|
|
932
|
-
* ```tsx
|
|
933
|
-
* <ActionBar.Item as={PrimaryButton} onClick={() => console.log('first action')}>
|
|
934
|
-
* First Action
|
|
935
|
-
* </ActionBar.Item>
|
|
936
|
-
* ```
|
|
937
|
-
*/
|
|
731
|
+
hiddenIds: string[];
|
|
938
732
|
nonInteractiveIds: string[];
|
|
939
733
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
940
734
|
itemWidthCache: Record<string, number>;
|
|
@@ -966,16 +760,7 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
966
760
|
shouldSelect?: ((data: {
|
|
967
761
|
id: string;
|
|
968
762
|
}, state: {
|
|
969
|
-
hiddenIds: string[];
|
|
970
|
-
* `ActionBar.Item` is a `button` element, by default it's a `SecondaryButton` unless an `as`
|
|
971
|
-
* prop is passed.
|
|
972
|
-
*
|
|
973
|
-
* ```tsx
|
|
974
|
-
* <ActionBar.Item as={PrimaryButton} onClick={() => console.log('first action')}>
|
|
975
|
-
* First Action
|
|
976
|
-
* </ActionBar.Item>
|
|
977
|
-
* ```
|
|
978
|
-
*/
|
|
763
|
+
hiddenIds: string[];
|
|
979
764
|
nonInteractiveIds: string[];
|
|
980
765
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
981
766
|
itemWidthCache: Record<string, number>;
|
|
@@ -1006,16 +791,7 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1006
791
|
shouldSetContainerWidth?: ((data: {
|
|
1007
792
|
width?: number | undefined;
|
|
1008
793
|
}, state: {
|
|
1009
|
-
hiddenIds: string[];
|
|
1010
|
-
* `ActionBar.Item` is a `button` element, by default it's a `SecondaryButton` unless an `as`
|
|
1011
|
-
* prop is passed.
|
|
1012
|
-
*
|
|
1013
|
-
* ```tsx
|
|
1014
|
-
* <ActionBar.Item as={PrimaryButton} onClick={() => console.log('first action')}>
|
|
1015
|
-
* First Action
|
|
1016
|
-
* </ActionBar.Item>
|
|
1017
|
-
* ```
|
|
1018
|
-
*/
|
|
794
|
+
hiddenIds: string[];
|
|
1019
795
|
nonInteractiveIds: string[];
|
|
1020
796
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1021
797
|
itemWidthCache: Record<string, number>;
|
|
@@ -1046,16 +822,7 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1046
822
|
shouldSetOverflowTargetWidth?: ((data: {
|
|
1047
823
|
width: number;
|
|
1048
824
|
}, state: {
|
|
1049
|
-
hiddenIds: string[];
|
|
1050
|
-
* `ActionBar.Item` is a `button` element, by default it's a `SecondaryButton` unless an `as`
|
|
1051
|
-
* prop is passed.
|
|
1052
|
-
*
|
|
1053
|
-
* ```tsx
|
|
1054
|
-
* <ActionBar.Item as={PrimaryButton} onClick={() => console.log('first action')}>
|
|
1055
|
-
* First Action
|
|
1056
|
-
* </ActionBar.Item>
|
|
1057
|
-
* ```
|
|
1058
|
-
*/
|
|
825
|
+
hiddenIds: string[];
|
|
1059
826
|
nonInteractiveIds: string[];
|
|
1060
827
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1061
828
|
itemWidthCache: Record<string, number>;
|
|
@@ -1087,16 +854,7 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1087
854
|
id: string;
|
|
1088
855
|
width: number;
|
|
1089
856
|
}, state: {
|
|
1090
|
-
hiddenIds: string[];
|
|
1091
|
-
* `ActionBar.Item` is a `button` element, by default it's a `SecondaryButton` unless an `as`
|
|
1092
|
-
* prop is passed.
|
|
1093
|
-
*
|
|
1094
|
-
* ```tsx
|
|
1095
|
-
* <ActionBar.Item as={PrimaryButton} onClick={() => console.log('first action')}>
|
|
1096
|
-
* First Action
|
|
1097
|
-
* </ActionBar.Item>
|
|
1098
|
-
* ```
|
|
1099
|
-
*/
|
|
857
|
+
hiddenIds: string[];
|
|
1100
858
|
nonInteractiveIds: string[];
|
|
1101
859
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1102
860
|
itemWidthCache: Record<string, number>;
|
|
@@ -1127,16 +885,7 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1127
885
|
shouldRemoveItemWidth?: ((data: {
|
|
1128
886
|
id: string;
|
|
1129
887
|
}, state: {
|
|
1130
|
-
hiddenIds: string[];
|
|
1131
|
-
* `ActionBar.Item` is a `button` element, by default it's a `SecondaryButton` unless an `as`
|
|
1132
|
-
* prop is passed.
|
|
1133
|
-
*
|
|
1134
|
-
* ```tsx
|
|
1135
|
-
* <ActionBar.Item as={PrimaryButton} onClick={() => console.log('first action')}>
|
|
1136
|
-
* First Action
|
|
1137
|
-
* </ActionBar.Item>
|
|
1138
|
-
* ```
|
|
1139
|
-
*/
|
|
888
|
+
hiddenIds: string[];
|
|
1140
889
|
nonInteractiveIds: string[];
|
|
1141
890
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1142
891
|
itemWidthCache: Record<string, number>;
|
|
@@ -1167,16 +916,7 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1167
916
|
shouldAddHiddenKey?: ((data: {
|
|
1168
917
|
id: string;
|
|
1169
918
|
}, state: {
|
|
1170
|
-
hiddenIds: string[];
|
|
1171
|
-
* `ActionBar.Item` is a `button` element, by default it's a `SecondaryButton` unless an `as`
|
|
1172
|
-
* prop is passed.
|
|
1173
|
-
*
|
|
1174
|
-
* ```tsx
|
|
1175
|
-
* <ActionBar.Item as={PrimaryButton} onClick={() => console.log('first action')}>
|
|
1176
|
-
* First Action
|
|
1177
|
-
* </ActionBar.Item>
|
|
1178
|
-
* ```
|
|
1179
|
-
*/
|
|
919
|
+
hiddenIds: string[];
|
|
1180
920
|
nonInteractiveIds: string[];
|
|
1181
921
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1182
922
|
itemWidthCache: Record<string, number>;
|
|
@@ -1207,16 +947,7 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1207
947
|
shouldRemoveHiddenKey?: ((data: {
|
|
1208
948
|
id: string;
|
|
1209
949
|
}, state: {
|
|
1210
|
-
hiddenIds: string[];
|
|
1211
|
-
* `ActionBar.Item` is a `button` element, by default it's a `SecondaryButton` unless an `as`
|
|
1212
|
-
* prop is passed.
|
|
1213
|
-
*
|
|
1214
|
-
* ```tsx
|
|
1215
|
-
* <ActionBar.Item as={PrimaryButton} onClick={() => console.log('first action')}>
|
|
1216
|
-
* First Action
|
|
1217
|
-
* </ActionBar.Item>
|
|
1218
|
-
* ```
|
|
1219
|
-
*/
|
|
950
|
+
hiddenIds: string[];
|
|
1220
951
|
nonInteractiveIds: string[];
|
|
1221
952
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1222
953
|
itemWidthCache: Record<string, number>;
|
|
@@ -1245,16 +976,7 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1245
976
|
items: import("../..").Item<any>[];
|
|
1246
977
|
}) => boolean) | undefined;
|
|
1247
978
|
shouldSelectAll?: ((data: undefined, state: {
|
|
1248
|
-
hiddenIds: string[];
|
|
1249
|
-
* `ActionBar.Item` is a `button` element, by default it's a `SecondaryButton` unless an `as`
|
|
1250
|
-
* prop is passed.
|
|
1251
|
-
*
|
|
1252
|
-
* ```tsx
|
|
1253
|
-
* <ActionBar.Item as={PrimaryButton} onClick={() => console.log('first action')}>
|
|
1254
|
-
* First Action
|
|
1255
|
-
* </ActionBar.Item>
|
|
1256
|
-
* ```
|
|
1257
|
-
*/
|
|
979
|
+
hiddenIds: string[];
|
|
1258
980
|
nonInteractiveIds: string[];
|
|
1259
981
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1260
982
|
itemWidthCache: Record<string, number>;
|
|
@@ -1283,16 +1005,7 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1283
1005
|
items: import("../..").Item<any>[];
|
|
1284
1006
|
}) => boolean) | undefined;
|
|
1285
1007
|
shouldUnselectAll?: ((data: undefined, state: {
|
|
1286
|
-
hiddenIds: string[];
|
|
1287
|
-
* `ActionBar.Item` is a `button` element, by default it's a `SecondaryButton` unless an `as`
|
|
1288
|
-
* prop is passed.
|
|
1289
|
-
*
|
|
1290
|
-
* ```tsx
|
|
1291
|
-
* <ActionBar.Item as={PrimaryButton} onClick={() => console.log('first action')}>
|
|
1292
|
-
* First Action
|
|
1293
|
-
* </ActionBar.Item>
|
|
1294
|
-
* ```
|
|
1295
|
-
*/
|
|
1008
|
+
hiddenIds: string[];
|
|
1296
1009
|
nonInteractiveIds: string[];
|
|
1297
1010
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1298
1011
|
itemWidthCache: Record<string, number>;
|
|
@@ -1323,16 +1036,7 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1323
1036
|
shouldGoTo?: ((data: {
|
|
1324
1037
|
id: string;
|
|
1325
1038
|
}, state: {
|
|
1326
|
-
hiddenIds: string[];
|
|
1327
|
-
* `ActionBar.Item` is a `button` element, by default it's a `SecondaryButton` unless an `as`
|
|
1328
|
-
* prop is passed.
|
|
1329
|
-
*
|
|
1330
|
-
* ```tsx
|
|
1331
|
-
* <ActionBar.Item as={PrimaryButton} onClick={() => console.log('first action')}>
|
|
1332
|
-
* First Action
|
|
1333
|
-
* </ActionBar.Item>
|
|
1334
|
-
* ```
|
|
1335
|
-
*/
|
|
1039
|
+
hiddenIds: string[];
|
|
1336
1040
|
nonInteractiveIds: string[];
|
|
1337
1041
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1338
1042
|
itemWidthCache: Record<string, number>;
|
|
@@ -1361,16 +1065,7 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1361
1065
|
items: import("../..").Item<any>[];
|
|
1362
1066
|
}) => boolean) | undefined;
|
|
1363
1067
|
shouldGoToNext?: ((data: undefined, state: {
|
|
1364
|
-
hiddenIds: string[];
|
|
1365
|
-
* `ActionBar.Item` is a `button` element, by default it's a `SecondaryButton` unless an `as`
|
|
1366
|
-
* prop is passed.
|
|
1367
|
-
*
|
|
1368
|
-
* ```tsx
|
|
1369
|
-
* <ActionBar.Item as={PrimaryButton} onClick={() => console.log('first action')}>
|
|
1370
|
-
* First Action
|
|
1371
|
-
* </ActionBar.Item>
|
|
1372
|
-
* ```
|
|
1373
|
-
*/
|
|
1068
|
+
hiddenIds: string[];
|
|
1374
1069
|
nonInteractiveIds: string[];
|
|
1375
1070
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1376
1071
|
itemWidthCache: Record<string, number>;
|
|
@@ -1399,16 +1094,7 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1399
1094
|
items: import("../..").Item<any>[];
|
|
1400
1095
|
}) => boolean) | undefined;
|
|
1401
1096
|
shouldGoToPrevious?: ((data: undefined, state: {
|
|
1402
|
-
hiddenIds: string[];
|
|
1403
|
-
* `ActionBar.Item` is a `button` element, by default it's a `SecondaryButton` unless an `as`
|
|
1404
|
-
* prop is passed.
|
|
1405
|
-
*
|
|
1406
|
-
* ```tsx
|
|
1407
|
-
* <ActionBar.Item as={PrimaryButton} onClick={() => console.log('first action')}>
|
|
1408
|
-
* First Action
|
|
1409
|
-
* </ActionBar.Item>
|
|
1410
|
-
* ```
|
|
1411
|
-
*/
|
|
1097
|
+
hiddenIds: string[];
|
|
1412
1098
|
nonInteractiveIds: string[];
|
|
1413
1099
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1414
1100
|
itemWidthCache: Record<string, number>;
|
|
@@ -1437,16 +1123,7 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1437
1123
|
items: import("../..").Item<any>[];
|
|
1438
1124
|
}) => boolean) | undefined;
|
|
1439
1125
|
shouldGoToPreviousRow?: ((data: undefined, state: {
|
|
1440
|
-
hiddenIds: string[];
|
|
1441
|
-
* `ActionBar.Item` is a `button` element, by default it's a `SecondaryButton` unless an `as`
|
|
1442
|
-
* prop is passed.
|
|
1443
|
-
*
|
|
1444
|
-
* ```tsx
|
|
1445
|
-
* <ActionBar.Item as={PrimaryButton} onClick={() => console.log('first action')}>
|
|
1446
|
-
* First Action
|
|
1447
|
-
* </ActionBar.Item>
|
|
1448
|
-
* ```
|
|
1449
|
-
*/
|
|
1126
|
+
hiddenIds: string[];
|
|
1450
1127
|
nonInteractiveIds: string[];
|
|
1451
1128
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1452
1129
|
itemWidthCache: Record<string, number>;
|
|
@@ -1475,16 +1152,7 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1475
1152
|
items: import("../..").Item<any>[];
|
|
1476
1153
|
}) => boolean) | undefined;
|
|
1477
1154
|
shouldGoToNextRow?: ((data: undefined, state: {
|
|
1478
|
-
hiddenIds: string[];
|
|
1479
|
-
* `ActionBar.Item` is a `button` element, by default it's a `SecondaryButton` unless an `as`
|
|
1480
|
-
* prop is passed.
|
|
1481
|
-
*
|
|
1482
|
-
* ```tsx
|
|
1483
|
-
* <ActionBar.Item as={PrimaryButton} onClick={() => console.log('first action')}>
|
|
1484
|
-
* First Action
|
|
1485
|
-
* </ActionBar.Item>
|
|
1486
|
-
* ```
|
|
1487
|
-
*/
|
|
1155
|
+
hiddenIds: string[];
|
|
1488
1156
|
nonInteractiveIds: string[];
|
|
1489
1157
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1490
1158
|
itemWidthCache: Record<string, number>;
|
|
@@ -1513,16 +1181,7 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1513
1181
|
items: import("../..").Item<any>[];
|
|
1514
1182
|
}) => boolean) | undefined;
|
|
1515
1183
|
shouldGoToFirst?: ((data: undefined, state: {
|
|
1516
|
-
hiddenIds: string[];
|
|
1517
|
-
* `ActionBar.Item` is a `button` element, by default it's a `SecondaryButton` unless an `as`
|
|
1518
|
-
* prop is passed.
|
|
1519
|
-
*
|
|
1520
|
-
* ```tsx
|
|
1521
|
-
* <ActionBar.Item as={PrimaryButton} onClick={() => console.log('first action')}>
|
|
1522
|
-
* First Action
|
|
1523
|
-
* </ActionBar.Item>
|
|
1524
|
-
* ```
|
|
1525
|
-
*/
|
|
1184
|
+
hiddenIds: string[];
|
|
1526
1185
|
nonInteractiveIds: string[];
|
|
1527
1186
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1528
1187
|
itemWidthCache: Record<string, number>;
|
|
@@ -1551,16 +1210,7 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1551
1210
|
items: import("../..").Item<any>[];
|
|
1552
1211
|
}) => boolean) | undefined;
|
|
1553
1212
|
shouldGoToLast?: ((data: undefined, state: {
|
|
1554
|
-
hiddenIds: string[];
|
|
1555
|
-
* `ActionBar.Item` is a `button` element, by default it's a `SecondaryButton` unless an `as`
|
|
1556
|
-
* prop is passed.
|
|
1557
|
-
*
|
|
1558
|
-
* ```tsx
|
|
1559
|
-
* <ActionBar.Item as={PrimaryButton} onClick={() => console.log('first action')}>
|
|
1560
|
-
* First Action
|
|
1561
|
-
* </ActionBar.Item>
|
|
1562
|
-
* ```
|
|
1563
|
-
*/
|
|
1213
|
+
hiddenIds: string[];
|
|
1564
1214
|
nonInteractiveIds: string[];
|
|
1565
1215
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1566
1216
|
itemWidthCache: Record<string, number>;
|
|
@@ -1589,16 +1239,7 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1589
1239
|
items: import("../..").Item<any>[];
|
|
1590
1240
|
}) => boolean) | undefined;
|
|
1591
1241
|
shouldGoToFirstOfRow?: ((data: undefined, state: {
|
|
1592
|
-
hiddenIds: string[];
|
|
1593
|
-
* `ActionBar.Item` is a `button` element, by default it's a `SecondaryButton` unless an `as`
|
|
1594
|
-
* prop is passed.
|
|
1595
|
-
*
|
|
1596
|
-
* ```tsx
|
|
1597
|
-
* <ActionBar.Item as={PrimaryButton} onClick={() => console.log('first action')}>
|
|
1598
|
-
* First Action
|
|
1599
|
-
* </ActionBar.Item>
|
|
1600
|
-
* ```
|
|
1601
|
-
*/
|
|
1242
|
+
hiddenIds: string[];
|
|
1602
1243
|
nonInteractiveIds: string[];
|
|
1603
1244
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1604
1245
|
itemWidthCache: Record<string, number>;
|
|
@@ -1627,16 +1268,7 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1627
1268
|
items: import("../..").Item<any>[];
|
|
1628
1269
|
}) => boolean) | undefined;
|
|
1629
1270
|
shouldGoToLastOfRow?: ((data: undefined, state: {
|
|
1630
|
-
hiddenIds: string[];
|
|
1631
|
-
* `ActionBar.Item` is a `button` element, by default it's a `SecondaryButton` unless an `as`
|
|
1632
|
-
* prop is passed.
|
|
1633
|
-
*
|
|
1634
|
-
* ```tsx
|
|
1635
|
-
* <ActionBar.Item as={PrimaryButton} onClick={() => console.log('first action')}>
|
|
1636
|
-
* First Action
|
|
1637
|
-
* </ActionBar.Item>
|
|
1638
|
-
* ```
|
|
1639
|
-
*/
|
|
1271
|
+
hiddenIds: string[];
|
|
1640
1272
|
nonInteractiveIds: string[];
|
|
1641
1273
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1642
1274
|
itemWidthCache: Record<string, number>;
|
|
@@ -1665,16 +1297,7 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1665
1297
|
items: import("../..").Item<any>[];
|
|
1666
1298
|
}) => boolean) | undefined;
|
|
1667
1299
|
shouldGoToNextPage?: ((data: undefined, state: {
|
|
1668
|
-
hiddenIds: string[];
|
|
1669
|
-
* `ActionBar.Item` is a `button` element, by default it's a `SecondaryButton` unless an `as`
|
|
1670
|
-
* prop is passed.
|
|
1671
|
-
*
|
|
1672
|
-
* ```tsx
|
|
1673
|
-
* <ActionBar.Item as={PrimaryButton} onClick={() => console.log('first action')}>
|
|
1674
|
-
* First Action
|
|
1675
|
-
* </ActionBar.Item>
|
|
1676
|
-
* ```
|
|
1677
|
-
*/
|
|
1300
|
+
hiddenIds: string[];
|
|
1678
1301
|
nonInteractiveIds: string[];
|
|
1679
1302
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1680
1303
|
itemWidthCache: Record<string, number>;
|
|
@@ -1703,16 +1326,7 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1703
1326
|
items: import("../..").Item<any>[];
|
|
1704
1327
|
}) => boolean) | undefined;
|
|
1705
1328
|
shouldGoToPreviousPage?: ((data: undefined, state: {
|
|
1706
|
-
hiddenIds: string[];
|
|
1707
|
-
* `ActionBar.Item` is a `button` element, by default it's a `SecondaryButton` unless an `as`
|
|
1708
|
-
* prop is passed.
|
|
1709
|
-
*
|
|
1710
|
-
* ```tsx
|
|
1711
|
-
* <ActionBar.Item as={PrimaryButton} onClick={() => console.log('first action')}>
|
|
1712
|
-
* First Action
|
|
1713
|
-
* </ActionBar.Item>
|
|
1714
|
-
* ```
|
|
1715
|
-
*/
|
|
1329
|
+
hiddenIds: string[];
|
|
1716
1330
|
nonInteractiveIds: string[];
|
|
1717
1331
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1718
1332
|
itemWidthCache: Record<string, number>;
|
|
@@ -1744,16 +1358,7 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1744
1358
|
item: any;
|
|
1745
1359
|
textValue: string;
|
|
1746
1360
|
}, state: {
|
|
1747
|
-
hiddenIds: string[];
|
|
1748
|
-
* `ActionBar.Item` is a `button` element, by default it's a `SecondaryButton` unless an `as`
|
|
1749
|
-
* prop is passed.
|
|
1750
|
-
*
|
|
1751
|
-
* ```tsx
|
|
1752
|
-
* <ActionBar.Item as={PrimaryButton} onClick={() => console.log('first action')}>
|
|
1753
|
-
* First Action
|
|
1754
|
-
* </ActionBar.Item>
|
|
1755
|
-
* ```
|
|
1756
|
-
*/
|
|
1361
|
+
hiddenIds: string[];
|
|
1757
1362
|
nonInteractiveIds: string[];
|
|
1758
1363
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1759
1364
|
itemWidthCache: Record<string, number>;
|
|
@@ -1784,16 +1389,7 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1784
1389
|
shouldUnregisterItem?: ((data: {
|
|
1785
1390
|
id: string;
|
|
1786
1391
|
}, state: {
|
|
1787
|
-
hiddenIds: string[];
|
|
1788
|
-
* `ActionBar.Item` is a `button` element, by default it's a `SecondaryButton` unless an `as`
|
|
1789
|
-
* prop is passed.
|
|
1790
|
-
*
|
|
1791
|
-
* ```tsx
|
|
1792
|
-
* <ActionBar.Item as={PrimaryButton} onClick={() => console.log('first action')}>
|
|
1793
|
-
* First Action
|
|
1794
|
-
* </ActionBar.Item>
|
|
1795
|
-
* ```
|
|
1796
|
-
*/
|
|
1392
|
+
hiddenIds: string[];
|
|
1797
1393
|
nonInteractiveIds: string[];
|
|
1798
1394
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1799
1395
|
itemWidthCache: Record<string, number>;
|
|
@@ -1824,16 +1420,7 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1824
1420
|
shouldUpdateItemHeight?: ((data: {
|
|
1825
1421
|
value: number;
|
|
1826
1422
|
}, state: {
|
|
1827
|
-
hiddenIds: string[];
|
|
1828
|
-
* `ActionBar.Item` is a `button` element, by default it's a `SecondaryButton` unless an `as`
|
|
1829
|
-
* prop is passed.
|
|
1830
|
-
*
|
|
1831
|
-
* ```tsx
|
|
1832
|
-
* <ActionBar.Item as={PrimaryButton} onClick={() => console.log('first action')}>
|
|
1833
|
-
* First Action
|
|
1834
|
-
* </ActionBar.Item>
|
|
1835
|
-
* ```
|
|
1836
|
-
*/
|
|
1423
|
+
hiddenIds: string[];
|
|
1837
1424
|
nonInteractiveIds: string[];
|
|
1838
1425
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1839
1426
|
itemWidthCache: Record<string, number>;
|
|
@@ -1863,16 +1450,7 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
1863
1450
|
}) => boolean) | undefined;
|
|
1864
1451
|
}, {
|
|
1865
1452
|
state: {
|
|
1866
|
-
hiddenIds: string[];
|
|
1867
|
-
* `ActionBar.Item` is a `button` element, by default it's a `SecondaryButton` unless an `as`
|
|
1868
|
-
* prop is passed.
|
|
1869
|
-
*
|
|
1870
|
-
* ```tsx
|
|
1871
|
-
* <ActionBar.Item as={PrimaryButton} onClick={() => console.log('first action')}>
|
|
1872
|
-
* First Action
|
|
1873
|
-
* </ActionBar.Item>
|
|
1874
|
-
* ```
|
|
1875
|
-
*/
|
|
1453
|
+
hiddenIds: string[];
|
|
1876
1454
|
nonInteractiveIds: string[];
|
|
1877
1455
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
1878
1456
|
itemWidthCache: Record<string, number>;
|
|
@@ -2043,16 +1621,7 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
2043
1621
|
*/
|
|
2044
1622
|
List: import("@workday/canvas-kit-react/common").ElementComponentM<"div", import("./ActionBarList").ActionBarListProps<any>, {
|
|
2045
1623
|
state: {
|
|
2046
|
-
hiddenIds: string[];
|
|
2047
|
-
* `ActionBar.Item` is a `button` element, by default it's a `SecondaryButton` unless an `as`
|
|
2048
|
-
* prop is passed.
|
|
2049
|
-
*
|
|
2050
|
-
* ```tsx
|
|
2051
|
-
* <ActionBar.Item as={PrimaryButton} onClick={() => console.log('first action')}>
|
|
2052
|
-
* First Action
|
|
2053
|
-
* </ActionBar.Item>
|
|
2054
|
-
* ```
|
|
2055
|
-
*/
|
|
1624
|
+
hiddenIds: string[];
|
|
2056
1625
|
nonInteractiveIds: string[];
|
|
2057
1626
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2058
1627
|
itemWidthCache: Record<string, number>;
|
|
@@ -2217,16 +1786,7 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
2217
1786
|
*/
|
|
2218
1787
|
Item: import("@workday/canvas-kit-react/common").ElementComponentM<import("@workday/canvas-kit-react/common").ElementComponent<"button", import("../..").SecondaryButtonProps>, import("./ActionBarItem").ActionBarItemProps, {
|
|
2219
1788
|
state: {
|
|
2220
|
-
hiddenIds: string[];
|
|
2221
|
-
* `ActionBar.Item` is a `button` element, by default it's a `SecondaryButton` unless an `as`
|
|
2222
|
-
* prop is passed.
|
|
2223
|
-
*
|
|
2224
|
-
* ```tsx
|
|
2225
|
-
* <ActionBar.Item as={PrimaryButton} onClick={() => console.log('first action')}>
|
|
2226
|
-
* First Action
|
|
2227
|
-
* </ActionBar.Item>
|
|
2228
|
-
* ```
|
|
2229
|
-
*/
|
|
1789
|
+
hiddenIds: string[];
|
|
2230
1790
|
nonInteractiveIds: string[];
|
|
2231
1791
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2232
1792
|
itemWidthCache: Record<string, number>;
|
|
@@ -2381,16 +1941,7 @@ export declare const ActionBar: import("@workday/canvas-kit-react/common").Compo
|
|
|
2381
1941
|
}>;
|
|
2382
1942
|
OverflowButton: import("@workday/canvas-kit-react/common").ElementComponentM<"button", import("./ActionBarOverflowButton").ActionBarOverflowButtonProps, {
|
|
2383
1943
|
state: {
|
|
2384
|
-
hiddenIds: string[];
|
|
2385
|
-
* `ActionBar.Item` is a `button` element, by default it's a `SecondaryButton` unless an `as`
|
|
2386
|
-
* prop is passed.
|
|
2387
|
-
*
|
|
2388
|
-
* ```tsx
|
|
2389
|
-
* <ActionBar.Item as={PrimaryButton} onClick={() => console.log('first action')}>
|
|
2390
|
-
* First Action
|
|
2391
|
-
* </ActionBar.Item>
|
|
2392
|
-
* ```
|
|
2393
|
-
*/
|
|
1944
|
+
hiddenIds: string[];
|
|
2394
1945
|
nonInteractiveIds: string[];
|
|
2395
1946
|
orientation: import("../../collection/lib/useBaseListModel").Orientation;
|
|
2396
1947
|
itemWidthCache: Record<string, number>;
|