@workday/canvas-kit-react 7.0.7 → 7.1.0-next.1
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/collection/lib/useOverflowListModel.tsx +11 -2
- package/common/lib/utils/index.ts +1 -0
- package/common/lib/utils/useModalityType.ts +65 -0
- package/dist/commonjs/action-bar/lib/ActionBar.d.ts +1 -0
- package/dist/commonjs/action-bar/lib/ActionBar.d.ts.map +1 -1
- package/dist/commonjs/action-bar/lib/useActionBarModel.d.ts +2 -0
- package/dist/commonjs/action-bar/lib/useActionBarModel.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useOverflowListModel.d.ts +10 -0
- package/dist/commonjs/collection/lib/useOverflowListModel.d.ts.map +1 -1
- package/dist/commonjs/collection/lib/useOverflowListModel.js +10 -4
- package/dist/commonjs/common/lib/utils/index.d.ts +1 -0
- package/dist/commonjs/common/lib/utils/index.d.ts.map +1 -1
- package/dist/commonjs/common/lib/utils/index.js +1 -0
- package/dist/commonjs/common/lib/utils/useModalityType.d.ts +17 -0
- package/dist/commonjs/common/lib/utils/useModalityType.d.ts.map +1 -0
- package/dist/commonjs/common/lib/utils/useModalityType.js +63 -0
- package/dist/commonjs/tabs/lib/Tabs.d.ts +1 -0
- package/dist/commonjs/tabs/lib/Tabs.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsItem.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsItem.js +4 -3
- package/dist/commonjs/tabs/lib/TabsList.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/TabsList.js +17 -2
- package/dist/commonjs/tabs/lib/useTabsModel.d.ts +55 -159
- package/dist/commonjs/tabs/lib/useTabsModel.d.ts.map +1 -1
- package/dist/commonjs/tabs/lib/useTabsModel.js +2 -0
- package/dist/es6/action-bar/lib/ActionBar.d.ts +1 -0
- package/dist/es6/action-bar/lib/ActionBar.d.ts.map +1 -1
- package/dist/es6/action-bar/lib/useActionBarModel.d.ts +2 -0
- package/dist/es6/action-bar/lib/useActionBarModel.d.ts.map +1 -1
- package/dist/es6/collection/lib/useOverflowListModel.d.ts +10 -0
- package/dist/es6/collection/lib/useOverflowListModel.d.ts.map +1 -1
- package/dist/es6/collection/lib/useOverflowListModel.js +10 -4
- package/dist/es6/common/lib/utils/index.d.ts +1 -0
- package/dist/es6/common/lib/utils/index.d.ts.map +1 -1
- package/dist/es6/common/lib/utils/index.js +1 -0
- package/dist/es6/common/lib/utils/useModalityType.d.ts +17 -0
- package/dist/es6/common/lib/utils/useModalityType.d.ts.map +1 -0
- package/dist/es6/common/lib/utils/useModalityType.js +56 -0
- package/dist/es6/tabs/lib/Tabs.d.ts +1 -0
- package/dist/es6/tabs/lib/Tabs.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsItem.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsItem.js +5 -4
- package/dist/es6/tabs/lib/TabsList.d.ts.map +1 -1
- package/dist/es6/tabs/lib/TabsList.js +18 -3
- package/dist/es6/tabs/lib/useTabsModel.d.ts +55 -159
- package/dist/es6/tabs/lib/useTabsModel.d.ts.map +1 -1
- package/dist/es6/tabs/lib/useTabsModel.js +3 -1
- package/package.json +5 -5
- package/tabs/lib/TabsItem.tsx +4 -3
- package/tabs/lib/TabsList.tsx +23 -4
- package/tabs/lib/useTabsModel.tsx +3 -1
|
@@ -40,6 +40,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
40
40
|
}>;
|
|
41
41
|
initialHiddenIds: string[];
|
|
42
42
|
containerWidth: number;
|
|
43
|
+
shouldCalculateOverflow: boolean;
|
|
43
44
|
initialSelectedIds: import("../../collection/lib/useSelectionListModel").SelectedIds;
|
|
44
45
|
initialUnselectedIds: string[];
|
|
45
46
|
selection: import("../../collection/lib/useSelectionListModel").SelectionManager;
|
|
@@ -69,9 +70,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
69
70
|
* state setting phase.
|
|
70
71
|
*/
|
|
71
72
|
panelIndexRef: React.MutableRefObject<number>;
|
|
72
|
-
hiddenIds: string[];
|
|
73
|
-
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
74
|
-
*/
|
|
73
|
+
hiddenIds: string[];
|
|
75
74
|
itemWidthCache: Record<string, number>;
|
|
76
75
|
containerWidth: number;
|
|
77
76
|
overflowTargetWidth: number;
|
|
@@ -109,9 +108,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
109
108
|
* state setting phase.
|
|
110
109
|
*/
|
|
111
110
|
panelIndexRef: React.MutableRefObject<number>;
|
|
112
|
-
hiddenIds: string[];
|
|
113
|
-
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
114
|
-
*/
|
|
111
|
+
hiddenIds: string[];
|
|
115
112
|
itemWidthCache: Record<string, number>;
|
|
116
113
|
containerWidth: number;
|
|
117
114
|
overflowTargetWidth: number;
|
|
@@ -149,9 +146,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
149
146
|
* state setting phase.
|
|
150
147
|
*/
|
|
151
148
|
panelIndexRef: React.MutableRefObject<number>;
|
|
152
|
-
hiddenIds: string[];
|
|
153
|
-
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
154
|
-
*/
|
|
149
|
+
hiddenIds: string[];
|
|
155
150
|
itemWidthCache: Record<string, number>;
|
|
156
151
|
containerWidth: number;
|
|
157
152
|
overflowTargetWidth: number;
|
|
@@ -189,9 +184,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
189
184
|
* state setting phase.
|
|
190
185
|
*/
|
|
191
186
|
panelIndexRef: React.MutableRefObject<number>;
|
|
192
|
-
hiddenIds: string[];
|
|
193
|
-
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
194
|
-
*/
|
|
187
|
+
hiddenIds: string[];
|
|
195
188
|
itemWidthCache: Record<string, number>;
|
|
196
189
|
containerWidth: number;
|
|
197
190
|
overflowTargetWidth: number;
|
|
@@ -229,9 +222,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
229
222
|
* state setting phase.
|
|
230
223
|
*/
|
|
231
224
|
panelIndexRef: React.MutableRefObject<number>;
|
|
232
|
-
hiddenIds: string[];
|
|
233
|
-
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
234
|
-
*/
|
|
225
|
+
hiddenIds: string[];
|
|
235
226
|
itemWidthCache: Record<string, number>;
|
|
236
227
|
containerWidth: number;
|
|
237
228
|
overflowTargetWidth: number;
|
|
@@ -270,9 +261,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
270
261
|
* state setting phase.
|
|
271
262
|
*/
|
|
272
263
|
panelIndexRef: React.MutableRefObject<number>;
|
|
273
|
-
hiddenIds: string[];
|
|
274
|
-
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
275
|
-
*/
|
|
264
|
+
hiddenIds: string[];
|
|
276
265
|
itemWidthCache: Record<string, number>;
|
|
277
266
|
containerWidth: number;
|
|
278
267
|
overflowTargetWidth: number;
|
|
@@ -310,9 +299,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
310
299
|
* state setting phase.
|
|
311
300
|
*/
|
|
312
301
|
panelIndexRef: React.MutableRefObject<number>;
|
|
313
|
-
hiddenIds: string[];
|
|
314
|
-
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
315
|
-
*/
|
|
302
|
+
hiddenIds: string[];
|
|
316
303
|
itemWidthCache: Record<string, number>;
|
|
317
304
|
containerWidth: number;
|
|
318
305
|
overflowTargetWidth: number;
|
|
@@ -350,9 +337,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
350
337
|
* state setting phase.
|
|
351
338
|
*/
|
|
352
339
|
panelIndexRef: React.MutableRefObject<number>;
|
|
353
|
-
hiddenIds: string[];
|
|
354
|
-
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
355
|
-
*/
|
|
340
|
+
hiddenIds: string[];
|
|
356
341
|
itemWidthCache: Record<string, number>;
|
|
357
342
|
containerWidth: number;
|
|
358
343
|
overflowTargetWidth: number;
|
|
@@ -390,9 +375,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
390
375
|
* state setting phase.
|
|
391
376
|
*/
|
|
392
377
|
panelIndexRef: React.MutableRefObject<number>;
|
|
393
|
-
hiddenIds: string[];
|
|
394
|
-
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
395
|
-
*/
|
|
378
|
+
hiddenIds: string[];
|
|
396
379
|
itemWidthCache: Record<string, number>;
|
|
397
380
|
containerWidth: number;
|
|
398
381
|
overflowTargetWidth: number;
|
|
@@ -428,9 +411,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
428
411
|
* state setting phase.
|
|
429
412
|
*/
|
|
430
413
|
panelIndexRef: React.MutableRefObject<number>;
|
|
431
|
-
hiddenIds: string[];
|
|
432
|
-
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
433
|
-
*/
|
|
414
|
+
hiddenIds: string[];
|
|
434
415
|
itemWidthCache: Record<string, number>;
|
|
435
416
|
containerWidth: number;
|
|
436
417
|
overflowTargetWidth: number;
|
|
@@ -466,9 +447,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
466
447
|
* state setting phase.
|
|
467
448
|
*/
|
|
468
449
|
panelIndexRef: React.MutableRefObject<number>;
|
|
469
|
-
hiddenIds: string[];
|
|
470
|
-
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
471
|
-
*/
|
|
450
|
+
hiddenIds: string[];
|
|
472
451
|
itemWidthCache: Record<string, number>;
|
|
473
452
|
containerWidth: number;
|
|
474
453
|
overflowTargetWidth: number;
|
|
@@ -507,9 +486,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
507
486
|
* state setting phase.
|
|
508
487
|
*/
|
|
509
488
|
panelIndexRef: React.MutableRefObject<number>;
|
|
510
|
-
hiddenIds: string[];
|
|
511
|
-
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
512
|
-
*/
|
|
489
|
+
hiddenIds: string[];
|
|
513
490
|
itemWidthCache: Record<string, number>;
|
|
514
491
|
containerWidth: number;
|
|
515
492
|
overflowTargetWidth: number;
|
|
@@ -547,9 +524,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
547
524
|
* state setting phase.
|
|
548
525
|
*/
|
|
549
526
|
panelIndexRef: React.MutableRefObject<number>;
|
|
550
|
-
hiddenIds: string[];
|
|
551
|
-
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
552
|
-
*/
|
|
527
|
+
hiddenIds: string[];
|
|
553
528
|
itemWidthCache: Record<string, number>;
|
|
554
529
|
containerWidth: number;
|
|
555
530
|
overflowTargetWidth: number;
|
|
@@ -585,9 +560,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
585
560
|
* state setting phase.
|
|
586
561
|
*/
|
|
587
562
|
panelIndexRef: React.MutableRefObject<number>;
|
|
588
|
-
hiddenIds: string[];
|
|
589
|
-
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
590
|
-
*/
|
|
563
|
+
hiddenIds: string[];
|
|
591
564
|
itemWidthCache: Record<string, number>;
|
|
592
565
|
containerWidth: number;
|
|
593
566
|
overflowTargetWidth: number;
|
|
@@ -623,9 +596,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
623
596
|
* state setting phase.
|
|
624
597
|
*/
|
|
625
598
|
panelIndexRef: React.MutableRefObject<number>;
|
|
626
|
-
hiddenIds: string[];
|
|
627
|
-
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
628
|
-
*/
|
|
599
|
+
hiddenIds: string[];
|
|
629
600
|
itemWidthCache: Record<string, number>;
|
|
630
601
|
containerWidth: number;
|
|
631
602
|
overflowTargetWidth: number;
|
|
@@ -661,9 +632,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
661
632
|
* state setting phase.
|
|
662
633
|
*/
|
|
663
634
|
panelIndexRef: React.MutableRefObject<number>;
|
|
664
|
-
hiddenIds: string[];
|
|
665
|
-
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
666
|
-
*/
|
|
635
|
+
hiddenIds: string[];
|
|
667
636
|
itemWidthCache: Record<string, number>;
|
|
668
637
|
containerWidth: number;
|
|
669
638
|
overflowTargetWidth: number;
|
|
@@ -699,9 +668,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
699
668
|
* state setting phase.
|
|
700
669
|
*/
|
|
701
670
|
panelIndexRef: React.MutableRefObject<number>;
|
|
702
|
-
hiddenIds: string[];
|
|
703
|
-
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
704
|
-
*/
|
|
671
|
+
hiddenIds: string[];
|
|
705
672
|
itemWidthCache: Record<string, number>;
|
|
706
673
|
containerWidth: number;
|
|
707
674
|
overflowTargetWidth: number;
|
|
@@ -737,9 +704,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
737
704
|
* state setting phase.
|
|
738
705
|
*/
|
|
739
706
|
panelIndexRef: React.MutableRefObject<number>;
|
|
740
|
-
hiddenIds: string[];
|
|
741
|
-
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
742
|
-
*/
|
|
707
|
+
hiddenIds: string[];
|
|
743
708
|
itemWidthCache: Record<string, number>;
|
|
744
709
|
containerWidth: number;
|
|
745
710
|
overflowTargetWidth: number;
|
|
@@ -775,9 +740,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
775
740
|
* state setting phase.
|
|
776
741
|
*/
|
|
777
742
|
panelIndexRef: React.MutableRefObject<number>;
|
|
778
|
-
hiddenIds: string[];
|
|
779
|
-
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
780
|
-
*/
|
|
743
|
+
hiddenIds: string[];
|
|
781
744
|
itemWidthCache: Record<string, number>;
|
|
782
745
|
containerWidth: number;
|
|
783
746
|
overflowTargetWidth: number;
|
|
@@ -813,9 +776,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
813
776
|
* state setting phase.
|
|
814
777
|
*/
|
|
815
778
|
panelIndexRef: React.MutableRefObject<number>;
|
|
816
|
-
hiddenIds: string[];
|
|
817
|
-
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
818
|
-
*/
|
|
779
|
+
hiddenIds: string[];
|
|
819
780
|
itemWidthCache: Record<string, number>;
|
|
820
781
|
containerWidth: number;
|
|
821
782
|
overflowTargetWidth: number;
|
|
@@ -851,9 +812,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
851
812
|
* state setting phase.
|
|
852
813
|
*/
|
|
853
814
|
panelIndexRef: React.MutableRefObject<number>;
|
|
854
|
-
hiddenIds: string[];
|
|
855
|
-
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
856
|
-
*/
|
|
815
|
+
hiddenIds: string[];
|
|
857
816
|
itemWidthCache: Record<string, number>;
|
|
858
817
|
containerWidth: number;
|
|
859
818
|
overflowTargetWidth: number;
|
|
@@ -889,9 +848,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
889
848
|
* state setting phase.
|
|
890
849
|
*/
|
|
891
850
|
panelIndexRef: React.MutableRefObject<number>;
|
|
892
|
-
hiddenIds: string[];
|
|
893
|
-
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
894
|
-
*/
|
|
851
|
+
hiddenIds: string[];
|
|
895
852
|
itemWidthCache: Record<string, number>;
|
|
896
853
|
containerWidth: number;
|
|
897
854
|
overflowTargetWidth: number;
|
|
@@ -927,9 +884,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
927
884
|
* state setting phase.
|
|
928
885
|
*/
|
|
929
886
|
panelIndexRef: React.MutableRefObject<number>;
|
|
930
|
-
hiddenIds: string[];
|
|
931
|
-
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
932
|
-
*/
|
|
887
|
+
hiddenIds: string[];
|
|
933
888
|
itemWidthCache: Record<string, number>;
|
|
934
889
|
containerWidth: number;
|
|
935
890
|
overflowTargetWidth: number;
|
|
@@ -967,9 +922,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
967
922
|
* state setting phase.
|
|
968
923
|
*/
|
|
969
924
|
panelIndexRef: React.MutableRefObject<number>;
|
|
970
|
-
hiddenIds: string[];
|
|
971
|
-
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
972
|
-
*/
|
|
925
|
+
hiddenIds: string[];
|
|
973
926
|
itemWidthCache: Record<string, number>;
|
|
974
927
|
containerWidth: number;
|
|
975
928
|
overflowTargetWidth: number;
|
|
@@ -1007,9 +960,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1007
960
|
* state setting phase.
|
|
1008
961
|
*/
|
|
1009
962
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1010
|
-
hiddenIds: string[];
|
|
1011
|
-
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
1012
|
-
*/
|
|
963
|
+
hiddenIds: string[];
|
|
1013
964
|
itemWidthCache: Record<string, number>;
|
|
1014
965
|
containerWidth: number;
|
|
1015
966
|
overflowTargetWidth: number;
|
|
@@ -1049,9 +1000,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1049
1000
|
* state setting phase.
|
|
1050
1001
|
*/
|
|
1051
1002
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1052
|
-
hiddenIds: string[];
|
|
1053
|
-
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
1054
|
-
*/
|
|
1003
|
+
hiddenIds: string[];
|
|
1055
1004
|
itemWidthCache: Record<string, number>;
|
|
1056
1005
|
containerWidth: number;
|
|
1057
1006
|
overflowTargetWidth: number;
|
|
@@ -1089,9 +1038,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1089
1038
|
* state setting phase.
|
|
1090
1039
|
*/
|
|
1091
1040
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1092
|
-
hiddenIds: string[];
|
|
1093
|
-
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
1094
|
-
*/
|
|
1041
|
+
hiddenIds: string[];
|
|
1095
1042
|
itemWidthCache: Record<string, number>;
|
|
1096
1043
|
containerWidth: number;
|
|
1097
1044
|
overflowTargetWidth: number;
|
|
@@ -1129,9 +1076,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1129
1076
|
* state setting phase.
|
|
1130
1077
|
*/
|
|
1131
1078
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1132
|
-
hiddenIds: string[];
|
|
1133
|
-
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
1134
|
-
*/
|
|
1079
|
+
hiddenIds: string[];
|
|
1135
1080
|
itemWidthCache: Record<string, number>;
|
|
1136
1081
|
containerWidth: number;
|
|
1137
1082
|
overflowTargetWidth: number;
|
|
@@ -1169,9 +1114,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1169
1114
|
* state setting phase.
|
|
1170
1115
|
*/
|
|
1171
1116
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1172
|
-
hiddenIds: string[];
|
|
1173
|
-
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
1174
|
-
*/
|
|
1117
|
+
hiddenIds: string[];
|
|
1175
1118
|
itemWidthCache: Record<string, number>;
|
|
1176
1119
|
containerWidth: number;
|
|
1177
1120
|
overflowTargetWidth: number;
|
|
@@ -1209,9 +1152,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1209
1152
|
* state setting phase.
|
|
1210
1153
|
*/
|
|
1211
1154
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1212
|
-
hiddenIds: string[];
|
|
1213
|
-
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
1214
|
-
*/
|
|
1155
|
+
hiddenIds: string[];
|
|
1215
1156
|
itemWidthCache: Record<string, number>;
|
|
1216
1157
|
containerWidth: number;
|
|
1217
1158
|
overflowTargetWidth: number;
|
|
@@ -1250,9 +1191,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1250
1191
|
* state setting phase.
|
|
1251
1192
|
*/
|
|
1252
1193
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1253
|
-
hiddenIds: string[];
|
|
1254
|
-
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
1255
|
-
*/
|
|
1194
|
+
hiddenIds: string[];
|
|
1256
1195
|
itemWidthCache: Record<string, number>;
|
|
1257
1196
|
containerWidth: number;
|
|
1258
1197
|
overflowTargetWidth: number;
|
|
@@ -1290,9 +1229,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1290
1229
|
* state setting phase.
|
|
1291
1230
|
*/
|
|
1292
1231
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1293
|
-
hiddenIds: string[];
|
|
1294
|
-
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
1295
|
-
*/
|
|
1232
|
+
hiddenIds: string[];
|
|
1296
1233
|
itemWidthCache: Record<string, number>;
|
|
1297
1234
|
containerWidth: number;
|
|
1298
1235
|
overflowTargetWidth: number;
|
|
@@ -1330,9 +1267,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1330
1267
|
* state setting phase.
|
|
1331
1268
|
*/
|
|
1332
1269
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1333
|
-
hiddenIds: string[];
|
|
1334
|
-
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
1335
|
-
*/
|
|
1270
|
+
hiddenIds: string[];
|
|
1336
1271
|
itemWidthCache: Record<string, number>;
|
|
1337
1272
|
containerWidth: number;
|
|
1338
1273
|
overflowTargetWidth: number;
|
|
@@ -1370,9 +1305,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1370
1305
|
* state setting phase.
|
|
1371
1306
|
*/
|
|
1372
1307
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1373
|
-
hiddenIds: string[];
|
|
1374
|
-
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
1375
|
-
*/
|
|
1308
|
+
hiddenIds: string[];
|
|
1376
1309
|
itemWidthCache: Record<string, number>;
|
|
1377
1310
|
containerWidth: number;
|
|
1378
1311
|
overflowTargetWidth: number;
|
|
@@ -1408,9 +1341,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1408
1341
|
* state setting phase.
|
|
1409
1342
|
*/
|
|
1410
1343
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1411
|
-
hiddenIds: string[];
|
|
1412
|
-
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
1413
|
-
*/
|
|
1344
|
+
hiddenIds: string[];
|
|
1414
1345
|
itemWidthCache: Record<string, number>;
|
|
1415
1346
|
containerWidth: number;
|
|
1416
1347
|
overflowTargetWidth: number;
|
|
@@ -1446,9 +1377,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1446
1377
|
* state setting phase.
|
|
1447
1378
|
*/
|
|
1448
1379
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1449
|
-
hiddenIds: string[];
|
|
1450
|
-
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
1451
|
-
*/
|
|
1380
|
+
hiddenIds: string[];
|
|
1452
1381
|
itemWidthCache: Record<string, number>;
|
|
1453
1382
|
containerWidth: number;
|
|
1454
1383
|
overflowTargetWidth: number;
|
|
@@ -1487,9 +1416,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1487
1416
|
* state setting phase.
|
|
1488
1417
|
*/
|
|
1489
1418
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1490
|
-
hiddenIds: string[];
|
|
1491
|
-
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
1492
|
-
*/
|
|
1419
|
+
hiddenIds: string[];
|
|
1493
1420
|
itemWidthCache: Record<string, number>;
|
|
1494
1421
|
containerWidth: number;
|
|
1495
1422
|
overflowTargetWidth: number;
|
|
@@ -1527,9 +1454,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1527
1454
|
* state setting phase.
|
|
1528
1455
|
*/
|
|
1529
1456
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1530
|
-
hiddenIds: string[];
|
|
1531
|
-
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
1532
|
-
*/
|
|
1457
|
+
hiddenIds: string[];
|
|
1533
1458
|
itemWidthCache: Record<string, number>;
|
|
1534
1459
|
containerWidth: number;
|
|
1535
1460
|
overflowTargetWidth: number;
|
|
@@ -1565,9 +1490,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1565
1490
|
* state setting phase.
|
|
1566
1491
|
*/
|
|
1567
1492
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1568
|
-
hiddenIds: string[];
|
|
1569
|
-
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
1570
|
-
*/
|
|
1493
|
+
hiddenIds: string[];
|
|
1571
1494
|
itemWidthCache: Record<string, number>;
|
|
1572
1495
|
containerWidth: number;
|
|
1573
1496
|
overflowTargetWidth: number;
|
|
@@ -1603,9 +1526,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1603
1526
|
* state setting phase.
|
|
1604
1527
|
*/
|
|
1605
1528
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1606
|
-
hiddenIds: string[];
|
|
1607
|
-
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
1608
|
-
*/
|
|
1529
|
+
hiddenIds: string[];
|
|
1609
1530
|
itemWidthCache: Record<string, number>;
|
|
1610
1531
|
containerWidth: number;
|
|
1611
1532
|
overflowTargetWidth: number;
|
|
@@ -1641,9 +1562,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1641
1562
|
* state setting phase.
|
|
1642
1563
|
*/
|
|
1643
1564
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1644
|
-
hiddenIds: string[];
|
|
1645
|
-
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
1646
|
-
*/
|
|
1565
|
+
hiddenIds: string[];
|
|
1647
1566
|
itemWidthCache: Record<string, number>;
|
|
1648
1567
|
containerWidth: number;
|
|
1649
1568
|
overflowTargetWidth: number;
|
|
@@ -1679,9 +1598,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1679
1598
|
* state setting phase.
|
|
1680
1599
|
*/
|
|
1681
1600
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1682
|
-
hiddenIds: string[];
|
|
1683
|
-
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
1684
|
-
*/
|
|
1601
|
+
hiddenIds: string[];
|
|
1685
1602
|
itemWidthCache: Record<string, number>;
|
|
1686
1603
|
containerWidth: number;
|
|
1687
1604
|
overflowTargetWidth: number;
|
|
@@ -1717,9 +1634,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1717
1634
|
* state setting phase.
|
|
1718
1635
|
*/
|
|
1719
1636
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1720
|
-
hiddenIds: string[];
|
|
1721
|
-
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
1722
|
-
*/
|
|
1637
|
+
hiddenIds: string[];
|
|
1723
1638
|
itemWidthCache: Record<string, number>;
|
|
1724
1639
|
containerWidth: number;
|
|
1725
1640
|
overflowTargetWidth: number;
|
|
@@ -1755,9 +1670,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1755
1670
|
* state setting phase.
|
|
1756
1671
|
*/
|
|
1757
1672
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1758
|
-
hiddenIds: string[];
|
|
1759
|
-
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
1760
|
-
*/
|
|
1673
|
+
hiddenIds: string[];
|
|
1761
1674
|
itemWidthCache: Record<string, number>;
|
|
1762
1675
|
containerWidth: number;
|
|
1763
1676
|
overflowTargetWidth: number;
|
|
@@ -1793,9 +1706,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1793
1706
|
* state setting phase.
|
|
1794
1707
|
*/
|
|
1795
1708
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1796
|
-
hiddenIds: string[];
|
|
1797
|
-
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
1798
|
-
*/
|
|
1709
|
+
hiddenIds: string[];
|
|
1799
1710
|
itemWidthCache: Record<string, number>;
|
|
1800
1711
|
containerWidth: number;
|
|
1801
1712
|
overflowTargetWidth: number;
|
|
@@ -1831,9 +1742,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1831
1742
|
* state setting phase.
|
|
1832
1743
|
*/
|
|
1833
1744
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1834
|
-
hiddenIds: string[];
|
|
1835
|
-
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
1836
|
-
*/
|
|
1745
|
+
hiddenIds: string[];
|
|
1837
1746
|
itemWidthCache: Record<string, number>;
|
|
1838
1747
|
containerWidth: number;
|
|
1839
1748
|
overflowTargetWidth: number;
|
|
@@ -1869,9 +1778,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1869
1778
|
* state setting phase.
|
|
1870
1779
|
*/
|
|
1871
1780
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1872
|
-
hiddenIds: string[];
|
|
1873
|
-
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
1874
|
-
*/
|
|
1781
|
+
hiddenIds: string[];
|
|
1875
1782
|
itemWidthCache: Record<string, number>;
|
|
1876
1783
|
containerWidth: number;
|
|
1877
1784
|
overflowTargetWidth: number;
|
|
@@ -1907,9 +1814,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1907
1814
|
* state setting phase.
|
|
1908
1815
|
*/
|
|
1909
1816
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1910
|
-
hiddenIds: string[];
|
|
1911
|
-
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
1912
|
-
*/
|
|
1817
|
+
hiddenIds: string[];
|
|
1913
1818
|
itemWidthCache: Record<string, number>;
|
|
1914
1819
|
containerWidth: number;
|
|
1915
1820
|
overflowTargetWidth: number;
|
|
@@ -1947,9 +1852,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1947
1852
|
* state setting phase.
|
|
1948
1853
|
*/
|
|
1949
1854
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1950
|
-
hiddenIds: string[];
|
|
1951
|
-
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
1952
|
-
*/
|
|
1855
|
+
hiddenIds: string[];
|
|
1953
1856
|
itemWidthCache: Record<string, number>;
|
|
1954
1857
|
containerWidth: number;
|
|
1955
1858
|
overflowTargetWidth: number;
|
|
@@ -1987,9 +1890,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
1987
1890
|
* state setting phase.
|
|
1988
1891
|
*/
|
|
1989
1892
|
panelIndexRef: React.MutableRefObject<number>;
|
|
1990
|
-
hiddenIds: string[];
|
|
1991
|
-
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
1992
|
-
*/
|
|
1893
|
+
hiddenIds: string[];
|
|
1993
1894
|
itemWidthCache: Record<string, number>;
|
|
1994
1895
|
containerWidth: number;
|
|
1995
1896
|
overflowTargetWidth: number;
|
|
@@ -2026,9 +1927,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2026
1927
|
* state setting phase.
|
|
2027
1928
|
*/
|
|
2028
1929
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2029
|
-
hiddenIds: string[];
|
|
2030
|
-
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
2031
|
-
*/
|
|
1930
|
+
hiddenIds: string[];
|
|
2032
1931
|
itemWidthCache: Record<string, number>;
|
|
2033
1932
|
containerWidth: number;
|
|
2034
1933
|
overflowTargetWidth: number;
|
|
@@ -2225,6 +2124,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2225
2124
|
}>;
|
|
2226
2125
|
initialHiddenIds: string[];
|
|
2227
2126
|
containerWidth: number;
|
|
2127
|
+
shouldCalculateOverflow: boolean;
|
|
2228
2128
|
initialSelectedIds: import("../../collection/lib/useSelectionListModel").SelectedIds;
|
|
2229
2129
|
initialUnselectedIds: string[];
|
|
2230
2130
|
selection: import("../../collection/lib/useSelectionListModel").SelectionManager;
|
|
@@ -2250,9 +2150,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2250
2150
|
* state setting phase.
|
|
2251
2151
|
*/
|
|
2252
2152
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2253
|
-
hiddenIds: string[];
|
|
2254
|
-
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
2255
|
-
*/
|
|
2153
|
+
hiddenIds: string[];
|
|
2256
2154
|
itemWidthCache: Record<string, number>;
|
|
2257
2155
|
containerWidth: number;
|
|
2258
2156
|
overflowTargetWidth: number;
|
|
@@ -2349,9 +2247,7 @@ export declare const useTabsModel: (<TT_Special_Generic>(config?: (Partial<{
|
|
|
2349
2247
|
* state setting phase.
|
|
2350
2248
|
*/
|
|
2351
2249
|
panelIndexRef: React.MutableRefObject<number>;
|
|
2352
|
-
hiddenIds: string[];
|
|
2353
|
-
* This event registers panels with state.panels. Called when a panel is mounted.
|
|
2354
|
-
*/
|
|
2250
|
+
hiddenIds: string[];
|
|
2355
2251
|
itemWidthCache: Record<string, number>;
|
|
2356
2252
|
containerWidth: number;
|
|
2357
2253
|
overflowTargetWidth: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useTabsModel.d.ts","sourceRoot":"","sources":["../../../../tabs/lib/useTabsModel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,eAAO,MAAM,YAAY;IAGrB;;;;;OAKG;;IAEH;;;OAGG;;IAEH;;;;OAIG
|
|
1
|
+
{"version":3,"file":"useTabsModel.d.ts","sourceRoot":"","sources":["../../../../tabs/lib/useTabsModel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAU1B,eAAO,MAAM,YAAY;IAGrB;;;;;OAKG;;IAEH;;;OAGG;;IAEH;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAsCH;;WAEG;;QAEH;;;;WAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QARH;;WAEG;;QAEH;;;;WAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QARH;;WAEG;;QAEH;;;;WAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QARH;;WAEG;;QAEH;;;;WAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QARH;;WAEG;;QAEH;;;;WAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QARH;;WAEG;;QAEH;;;;WAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QARH;;WAEG;;QAEH;;;;WAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QARH;;WAEG;;QAEH;;;;WAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QARH;;WAEG;;QAEH;;;;WAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;QARH;;WAEG;;QAEH;;;;WAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;QARH;;WAEG;;QA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;;;;;;;;;;;;;;;;;;;QARH;;WAEG;;QAEH;;;;WAIG;;;;;;;;;;;;;;;;;;;;;;;;;;QAYH;;WAEG;;;;;QAEH;;WAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAhFH;;;;;OAKG;;IAEH;;;OAGG;;IAEH;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAsCH;;OAEG;;IAEH;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;;;;IAYH;;OAEG;;;;;IAEH;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA1BH;;WAEG;;QAEH;;;;WAIG;;;;;;;;;;;;;;;;;;;;;;;;;;QAYH;;WAEG;;;;;QAEH;;WAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0BL,CAAC"}
|
|
@@ -44,8 +44,10 @@ exports.useTabsModel = common_1.createModelHook({
|
|
|
44
44
|
var _a;
|
|
45
45
|
var initialSelectedRef = react_1.default.useRef(config.initialTab);
|
|
46
46
|
var getId = config.getId || collection_1.defaultGetId;
|
|
47
|
+
var modality = common_1.useModalityType();
|
|
47
48
|
var items = config.items;
|
|
48
49
|
var model = collection_1.useOverflowListModel(collection_1.useOverflowListModel.mergeConfig(config, {
|
|
50
|
+
shouldCalculateOverflow: modality !== 'touch',
|
|
49
51
|
orientation: config.orientation || 'horizontal',
|
|
50
52
|
items: items,
|
|
51
53
|
onRegisterItem: function (data) {
|
|
@@ -30,6 +30,7 @@ export declare const ActionBar: import("../../common").ComponentM<ActionBarProps
|
|
|
30
30
|
}>;
|
|
31
31
|
initialHiddenIds: string[];
|
|
32
32
|
containerWidth: number;
|
|
33
|
+
shouldCalculateOverflow: boolean;
|
|
33
34
|
initialSelectedIds: import("../../collection/lib/useSelectionListModel").SelectedIds;
|
|
34
35
|
initialUnselectedIds: string[];
|
|
35
36
|
selection: import("../../collection/lib/useSelectionListModel").SelectionManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionBar.d.ts","sourceRoot":"","sources":["../../../../action-bar/lib/ActionBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"ActionBar.d.ts","sourceRoot":"","sources":["../../../../action-bar/lib/ActionBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B;AAED,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;CAKL,CAAC"}
|
|
@@ -33,6 +33,7 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
33
33
|
}>;
|
|
34
34
|
initialHiddenIds: string[];
|
|
35
35
|
containerWidth: number;
|
|
36
|
+
shouldCalculateOverflow: boolean;
|
|
36
37
|
initialSelectedIds: import("../../collection/lib/useSelectionListModel").SelectedIds;
|
|
37
38
|
initialUnselectedIds: string[];
|
|
38
39
|
selection: import("../../collection/lib/useSelectionListModel").SelectionManager;
|
|
@@ -1425,6 +1426,7 @@ export declare const useActionBarModel: (<TT_Special_Generic>(config?: (Partial<
|
|
|
1425
1426
|
}>;
|
|
1426
1427
|
initialHiddenIds: string[];
|
|
1427
1428
|
containerWidth: number;
|
|
1429
|
+
shouldCalculateOverflow: boolean;
|
|
1428
1430
|
initialSelectedIds: import("../../collection/lib/useSelectionListModel").SelectedIds;
|
|
1429
1431
|
initialUnselectedIds: string[];
|
|
1430
1432
|
selection: import("../../collection/lib/useSelectionListModel").SelectionManager;
|