react-virtuoso 2.5.2 → 2.6.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/dist/Grid.d.ts +8 -1
- package/dist/List.d.ts +128 -4
- package/dist/Table.d.ts +128 -4
- package/dist/alignToBottomSystem.d.ts +10 -0
- package/dist/components.d.ts +143 -7
- package/dist/followOutputSystem.d.ts +8 -0
- package/dist/gridSystem.d.ts +4 -1
- package/dist/groupedListSystem.d.ts +2 -0
- package/dist/hooks/useChangedChildSizes.d.ts +1 -1
- package/dist/hooks/useScrollTop.d.ts +1 -1
- package/dist/hooks/useWindowViewportRect.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.m.js +1 -1
- package/dist/index.m.js.map +1 -1
- package/dist/initialItemCountSystem.d.ts +12 -0
- package/dist/initialScrollTopSystem.d.ts +10 -0
- package/dist/initialTopMostItemIndexSystem.d.ts +4 -0
- package/dist/listStateSystem.d.ts +10 -0
- package/dist/listSystem.d.ts +113 -1
- package/dist/scrollIntoViewSystem.d.ts +14 -0
- package/dist/scrollToIndexSystem.d.ts +2 -0
- package/dist/sizeSystem.d.ts +1 -0
- package/dist/topItemCountSystem.d.ts +10 -0
- package/dist/totalListHeightSystem.d.ts +10 -0
- package/dist/upwardScrollFixSystem.d.ts +12 -0
- package/dist/windowScrollerSystem.d.ts +1 -0
- package/package.json +1 -1
package/dist/Grid.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ declare const Grid: React.ForwardRefExoticComponent<{} & {
|
|
|
12
12
|
overscan?: import("./sizeRangeSystem").Overscan | undefined;
|
|
13
13
|
scrollSeekConfiguration?: false | import("./interfaces").ScrollSeekConfiguration | undefined;
|
|
14
14
|
useWindowScroll?: boolean | undefined;
|
|
15
|
+
customScrollParent?: HTMLElement | undefined;
|
|
15
16
|
totalCount?: number | undefined;
|
|
16
17
|
initialItemCount?: number | undefined;
|
|
17
18
|
scrollSeek?: any;
|
|
@@ -199,10 +200,11 @@ declare const Grid: React.ForwardRefExoticComponent<{} & {
|
|
|
199
200
|
scrollingInProgress: u.StatefulStream<boolean>;
|
|
200
201
|
}]) => {
|
|
201
202
|
useWindowScroll: u.StatefulStream<boolean>;
|
|
203
|
+
customScrollParent: u.StatefulStream<HTMLElement | undefined>;
|
|
202
204
|
windowScrollContainerState: u.Stream<[number, number]>;
|
|
203
205
|
windowViewportRect: u.Stream<import("./interfaces").WindowViewportInfo>;
|
|
204
206
|
windowScrollTo: u.Stream<ScrollToOptions>;
|
|
205
|
-
}>], ([{ overscan, visibleRange, listBoundary }, { scrollTop, viewportHeight, scrollBy, scrollTo, smoothScrollTargetReached, scrollContainerState }, stateFlags, scrollSeek, { propsReady, didMount }, { windowViewportRect, windowScrollTo, useWindowScroll, windowScrollContainerState },]: [{
|
|
207
|
+
}>], ([{ overscan, visibleRange, listBoundary }, { scrollTop, viewportHeight, scrollBy, scrollTo, smoothScrollTargetReached, scrollContainerState }, stateFlags, scrollSeek, { propsReady, didMount }, { windowViewportRect, windowScrollTo, useWindowScroll, customScrollParent, windowScrollContainerState },]: [{
|
|
206
208
|
listBoundary: u.Stream<import("./sizeRangeSystem").NumberTuple>;
|
|
207
209
|
overscan: u.StatefulStream<import("./sizeRangeSystem").Overscan>;
|
|
208
210
|
topListHeight: u.StatefulStream<number>;
|
|
@@ -243,6 +245,7 @@ declare const Grid: React.ForwardRefExoticComponent<{} & {
|
|
|
243
245
|
didMount: u.Stream<boolean>;
|
|
244
246
|
}, {
|
|
245
247
|
useWindowScroll: u.StatefulStream<boolean>;
|
|
248
|
+
customScrollParent: u.StatefulStream<HTMLElement | undefined>;
|
|
246
249
|
windowScrollContainerState: u.Stream<[number, number]>;
|
|
247
250
|
windowViewportRect: u.Stream<import("./interfaces").WindowViewportInfo>;
|
|
248
251
|
windowScrollTo: u.Stream<ScrollToOptions>;
|
|
@@ -279,6 +282,7 @@ declare const Grid: React.ForwardRefExoticComponent<{} & {
|
|
|
279
282
|
windowViewportRect: u.Stream<import("./interfaces").WindowViewportInfo>;
|
|
280
283
|
windowScrollTo: u.Stream<ScrollToOptions>;
|
|
281
284
|
useWindowScroll: u.StatefulStream<boolean>;
|
|
285
|
+
customScrollParent: u.StatefulStream<HTMLElement | undefined>;
|
|
282
286
|
windowScrollContainerState: u.Stream<[number, number]>;
|
|
283
287
|
deviation: u.StatefulStream<number>;
|
|
284
288
|
scrollContainerState: u.Stream<[number, number]>;
|
|
@@ -327,6 +331,7 @@ declare const Grid: React.ForwardRefExoticComponent<{} & {
|
|
|
327
331
|
windowViewportRect: u.Stream<import("./interfaces").WindowViewportInfo>;
|
|
328
332
|
windowScrollTo: u.Stream<ScrollToOptions>;
|
|
329
333
|
useWindowScroll: u.StatefulStream<boolean>;
|
|
334
|
+
customScrollParent: u.StatefulStream<HTMLElement | undefined>;
|
|
330
335
|
windowScrollContainerState: u.Stream<[number, number]>;
|
|
331
336
|
deviation: u.StatefulStream<number>;
|
|
332
337
|
scrollContainerState: u.Stream<[number, number]>;
|
|
@@ -391,6 +396,7 @@ declare const Grid: React.ForwardRefExoticComponent<{} & {
|
|
|
391
396
|
windowViewportRect: u.Stream<import("./interfaces").WindowViewportInfo>;
|
|
392
397
|
windowScrollTo: u.Stream<ScrollToOptions>;
|
|
393
398
|
useWindowScroll: u.StatefulStream<boolean>;
|
|
399
|
+
customScrollParent: u.StatefulStream<HTMLElement | undefined>;
|
|
394
400
|
windowScrollContainerState: u.Stream<[number, number]>;
|
|
395
401
|
deviation: u.StatefulStream<number>;
|
|
396
402
|
scrollContainerState: u.Stream<[number, number]>;
|
|
@@ -407,6 +413,7 @@ declare const Grid: React.ForwardRefExoticComponent<{} & {
|
|
|
407
413
|
listClassName: "listClassName";
|
|
408
414
|
itemClassName: "itemClassName";
|
|
409
415
|
useWindowScroll: "useWindowScroll";
|
|
416
|
+
customScrollParent: "customScrollParent";
|
|
410
417
|
scrollerRef: "scrollerRef";
|
|
411
418
|
item: "item";
|
|
412
419
|
ItemContainer: "ItemContainer";
|