react-virtuoso 2.6.0 → 2.7.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 +64 -22
- package/dist/List.d.ts +267 -86
- package/dist/Table.d.ts +213 -67
- package/dist/components.d.ts +1026 -73
- 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/interfaces.d.ts +71 -31
- package/package.json +1 -1
package/dist/Table.d.ts
CHANGED
|
@@ -9,9 +9,10 @@ export interface Hooks {
|
|
|
9
9
|
}
|
|
10
10
|
export declare type TableHandle = RefHandle<typeof Table>;
|
|
11
11
|
export declare const Table: React.ForwardRefExoticComponent<{} & {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
context?: unknown;
|
|
13
|
+
itemContent?: ItemContent<any, unknown> | undefined;
|
|
14
|
+
components?: TableComponents<unknown> | undefined;
|
|
15
|
+
computeItemKey?: ComputeItemKey<any, unknown> | undefined;
|
|
15
16
|
scrollerRef?: ((ref: HTMLElement | Window | null) => void) | undefined;
|
|
16
17
|
data?: import("./sizeSystem").Data;
|
|
17
18
|
overscan?: import("./sizeRangeSystem").Overscan | undefined;
|
|
@@ -5257,18 +5258,42 @@ export declare const Table: React.ForwardRefExoticComponent<{} & {
|
|
|
5257
5258
|
fixedItemHeight: import("@virtuoso.dev/urx").StatefulStream<number | undefined>;
|
|
5258
5259
|
defaultItemHeight: import("@virtuoso.dev/urx").StatefulStream<number | undefined>;
|
|
5259
5260
|
}>, import("@virtuoso.dev/urx").SystemSpec<import("@virtuoso.dev/urx").SystemSpecs, () => {
|
|
5260
|
-
|
|
5261
|
+
context: import("@virtuoso.dev/urx").StatefulStream<unknown>;
|
|
5262
|
+
itemContent: import("@virtuoso.dev/urx").StatefulStream<ItemContent<any, unknown>>;
|
|
5261
5263
|
fixedHeaderContent: import("@virtuoso.dev/urx").StatefulStream<FixedHeaderContent>;
|
|
5262
|
-
components: import("@virtuoso.dev/urx").StatefulStream<TableComponents
|
|
5263
|
-
computeItemKey: import("@virtuoso.dev/urx").StatefulStream<ComputeItemKey<any>>;
|
|
5264
|
+
components: import("@virtuoso.dev/urx").StatefulStream<TableComponents<unknown>>;
|
|
5265
|
+
computeItemKey: import("@virtuoso.dev/urx").StatefulStream<ComputeItemKey<any, unknown>>;
|
|
5264
5266
|
scrollerRef: import("@virtuoso.dev/urx").StatefulStream<(ref: HTMLElement | Window | null) => void>;
|
|
5265
|
-
TableComponent: import("@virtuoso.dev/urx").StatefulStream<"div" | "table" | "tbody" | "thead" | "tr" | React.ComponentType<import("./interfaces").TableProps
|
|
5266
|
-
|
|
5267
|
-
|
|
5268
|
-
|
|
5269
|
-
|
|
5270
|
-
|
|
5271
|
-
|
|
5267
|
+
TableComponent: import("@virtuoso.dev/urx").StatefulStream<"div" | "table" | "tbody" | "thead" | "tr" | React.ComponentType<import("./interfaces").TableProps & {
|
|
5268
|
+
context?: unknown;
|
|
5269
|
+
}> | null | undefined>;
|
|
5270
|
+
TableHeadComponent: import("@virtuoso.dev/urx").StatefulStream<"div" | "table" | "tbody" | "thead" | "tr" | React.ComponentType<{
|
|
5271
|
+
context?: unknown;
|
|
5272
|
+
}> | null | undefined>;
|
|
5273
|
+
TableBodyComponent: import("@virtuoso.dev/urx").StatefulStream<"div" | "table" | "tbody" | "thead" | "tr" | React.ComponentType<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
5274
|
+
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
5275
|
+
}, "ref" | "style" | "children"> & {
|
|
5276
|
+
'data-test-id': string;
|
|
5277
|
+
} & {
|
|
5278
|
+
context?: unknown;
|
|
5279
|
+
}> | null | undefined>;
|
|
5280
|
+
TableRowComponent: import("@virtuoso.dev/urx").StatefulStream<"div" | "table" | "tbody" | "thead" | "tr" | React.ComponentType<import("./interfaces").ItemProps & {
|
|
5281
|
+
context?: unknown;
|
|
5282
|
+
}> | null | undefined>;
|
|
5283
|
+
ScrollerComponent: import("@virtuoso.dev/urx").StatefulStream<"div" | "table" | "tbody" | "thead" | "tr" | React.ComponentType<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
5284
|
+
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
5285
|
+
}, "ref" | "style" | "tabIndex" | "children"> & {
|
|
5286
|
+
'data-test-id'?: string | undefined;
|
|
5287
|
+
'data-virtuoso-scroller'?: boolean | undefined;
|
|
5288
|
+
} & {
|
|
5289
|
+
context?: unknown;
|
|
5290
|
+
}> | null | undefined>;
|
|
5291
|
+
EmptyPlaceholder: import("@virtuoso.dev/urx").StatefulStream<"div" | "table" | "tbody" | "thead" | "tr" | React.ComponentType<{
|
|
5292
|
+
context?: unknown;
|
|
5293
|
+
}> | null | undefined>;
|
|
5294
|
+
ScrollSeekPlaceholder: import("@virtuoso.dev/urx").StatefulStream<"div" | "table" | "tbody" | "thead" | "tr" | React.ComponentType<import("./interfaces").ScrollSeekPlaceholderProps & {
|
|
5295
|
+
context?: unknown;
|
|
5296
|
+
}> | null | undefined>;
|
|
5272
5297
|
}>], ([listSystem, propsSystem]: [{
|
|
5273
5298
|
log: import("@virtuoso.dev/urx").StatefulStream<import("./loggerSystem").Log>;
|
|
5274
5299
|
logLevel: import("@virtuoso.dev/urx").StatefulStream<import("./loggerSystem").LogLevel>;
|
|
@@ -5340,31 +5365,79 @@ export declare const Table: React.ForwardRefExoticComponent<{} & {
|
|
|
5340
5365
|
fixedItemHeight: import("@virtuoso.dev/urx").StatefulStream<number | undefined>;
|
|
5341
5366
|
defaultItemHeight: import("@virtuoso.dev/urx").StatefulStream<number | undefined>;
|
|
5342
5367
|
}, {
|
|
5343
|
-
|
|
5368
|
+
context: import("@virtuoso.dev/urx").StatefulStream<unknown>;
|
|
5369
|
+
itemContent: import("@virtuoso.dev/urx").StatefulStream<ItemContent<any, unknown>>;
|
|
5344
5370
|
fixedHeaderContent: import("@virtuoso.dev/urx").StatefulStream<FixedHeaderContent>;
|
|
5345
|
-
components: import("@virtuoso.dev/urx").StatefulStream<TableComponents
|
|
5346
|
-
computeItemKey: import("@virtuoso.dev/urx").StatefulStream<ComputeItemKey<any>>;
|
|
5371
|
+
components: import("@virtuoso.dev/urx").StatefulStream<TableComponents<unknown>>;
|
|
5372
|
+
computeItemKey: import("@virtuoso.dev/urx").StatefulStream<ComputeItemKey<any, unknown>>;
|
|
5347
5373
|
scrollerRef: import("@virtuoso.dev/urx").StatefulStream<(ref: HTMLElement | Window | null) => void>;
|
|
5348
|
-
TableComponent: import("@virtuoso.dev/urx").StatefulStream<"div" | "table" | "tbody" | "thead" | "tr" | React.ComponentType<import("./interfaces").TableProps
|
|
5349
|
-
|
|
5350
|
-
|
|
5351
|
-
|
|
5352
|
-
|
|
5353
|
-
|
|
5354
|
-
|
|
5355
|
-
|
|
5356
|
-
|
|
5374
|
+
TableComponent: import("@virtuoso.dev/urx").StatefulStream<"div" | "table" | "tbody" | "thead" | "tr" | React.ComponentType<import("./interfaces").TableProps & {
|
|
5375
|
+
context?: unknown;
|
|
5376
|
+
}> | null | undefined>;
|
|
5377
|
+
TableHeadComponent: import("@virtuoso.dev/urx").StatefulStream<"div" | "table" | "tbody" | "thead" | "tr" | React.ComponentType<{
|
|
5378
|
+
context?: unknown;
|
|
5379
|
+
}> | null | undefined>;
|
|
5380
|
+
TableBodyComponent: import("@virtuoso.dev/urx").StatefulStream<"div" | "table" | "tbody" | "thead" | "tr" | React.ComponentType<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
5381
|
+
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
5382
|
+
}, "ref" | "style" | "children"> & {
|
|
5383
|
+
'data-test-id': string;
|
|
5384
|
+
} & {
|
|
5385
|
+
context?: unknown;
|
|
5386
|
+
}> | null | undefined>;
|
|
5387
|
+
TableRowComponent: import("@virtuoso.dev/urx").StatefulStream<"div" | "table" | "tbody" | "thead" | "tr" | React.ComponentType<import("./interfaces").ItemProps & {
|
|
5388
|
+
context?: unknown;
|
|
5389
|
+
}> | null | undefined>;
|
|
5390
|
+
ScrollerComponent: import("@virtuoso.dev/urx").StatefulStream<"div" | "table" | "tbody" | "thead" | "tr" | React.ComponentType<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
5391
|
+
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
5392
|
+
}, "ref" | "style" | "tabIndex" | "children"> & {
|
|
5393
|
+
'data-test-id'?: string | undefined;
|
|
5394
|
+
'data-virtuoso-scroller'?: boolean | undefined;
|
|
5395
|
+
} & {
|
|
5396
|
+
context?: unknown;
|
|
5397
|
+
}> | null | undefined>;
|
|
5398
|
+
EmptyPlaceholder: import("@virtuoso.dev/urx").StatefulStream<"div" | "table" | "tbody" | "thead" | "tr" | React.ComponentType<{
|
|
5399
|
+
context?: unknown;
|
|
5400
|
+
}> | null | undefined>;
|
|
5401
|
+
ScrollSeekPlaceholder: import("@virtuoso.dev/urx").StatefulStream<"div" | "table" | "tbody" | "thead" | "tr" | React.ComponentType<import("./interfaces").ScrollSeekPlaceholderProps & {
|
|
5402
|
+
context?: unknown;
|
|
5403
|
+
}> | null | undefined>;
|
|
5404
|
+
}]) => {
|
|
5405
|
+
context: import("@virtuoso.dev/urx").StatefulStream<unknown>;
|
|
5406
|
+
itemContent: import("@virtuoso.dev/urx").StatefulStream<ItemContent<any, unknown>>;
|
|
5357
5407
|
fixedHeaderContent: import("@virtuoso.dev/urx").StatefulStream<FixedHeaderContent>;
|
|
5358
|
-
components: import("@virtuoso.dev/urx").StatefulStream<TableComponents
|
|
5359
|
-
computeItemKey: import("@virtuoso.dev/urx").StatefulStream<ComputeItemKey<any>>;
|
|
5408
|
+
components: import("@virtuoso.dev/urx").StatefulStream<TableComponents<unknown>>;
|
|
5409
|
+
computeItemKey: import("@virtuoso.dev/urx").StatefulStream<ComputeItemKey<any, unknown>>;
|
|
5360
5410
|
scrollerRef: import("@virtuoso.dev/urx").StatefulStream<(ref: HTMLElement | Window | null) => void>;
|
|
5361
|
-
TableComponent: import("@virtuoso.dev/urx").StatefulStream<"div" | "table" | "tbody" | "thead" | "tr" | React.ComponentType<import("./interfaces").TableProps
|
|
5362
|
-
|
|
5363
|
-
|
|
5364
|
-
|
|
5365
|
-
|
|
5366
|
-
|
|
5367
|
-
|
|
5411
|
+
TableComponent: import("@virtuoso.dev/urx").StatefulStream<"div" | "table" | "tbody" | "thead" | "tr" | React.ComponentType<import("./interfaces").TableProps & {
|
|
5412
|
+
context?: unknown;
|
|
5413
|
+
}> | null | undefined>;
|
|
5414
|
+
TableHeadComponent: import("@virtuoso.dev/urx").StatefulStream<"div" | "table" | "tbody" | "thead" | "tr" | React.ComponentType<{
|
|
5415
|
+
context?: unknown;
|
|
5416
|
+
}> | null | undefined>;
|
|
5417
|
+
TableBodyComponent: import("@virtuoso.dev/urx").StatefulStream<"div" | "table" | "tbody" | "thead" | "tr" | React.ComponentType<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
5418
|
+
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
5419
|
+
}, "ref" | "style" | "children"> & {
|
|
5420
|
+
'data-test-id': string;
|
|
5421
|
+
} & {
|
|
5422
|
+
context?: unknown;
|
|
5423
|
+
}> | null | undefined>;
|
|
5424
|
+
TableRowComponent: import("@virtuoso.dev/urx").StatefulStream<"div" | "table" | "tbody" | "thead" | "tr" | React.ComponentType<import("./interfaces").ItemProps & {
|
|
5425
|
+
context?: unknown;
|
|
5426
|
+
}> | null | undefined>;
|
|
5427
|
+
ScrollerComponent: import("@virtuoso.dev/urx").StatefulStream<"div" | "table" | "tbody" | "thead" | "tr" | React.ComponentType<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
5428
|
+
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
5429
|
+
}, "ref" | "style" | "tabIndex" | "children"> & {
|
|
5430
|
+
'data-test-id'?: string | undefined;
|
|
5431
|
+
'data-virtuoso-scroller'?: boolean | undefined;
|
|
5432
|
+
} & {
|
|
5433
|
+
context?: unknown;
|
|
5434
|
+
}> | null | undefined>;
|
|
5435
|
+
EmptyPlaceholder: import("@virtuoso.dev/urx").StatefulStream<"div" | "table" | "tbody" | "thead" | "tr" | React.ComponentType<{
|
|
5436
|
+
context?: unknown;
|
|
5437
|
+
}> | null | undefined>;
|
|
5438
|
+
ScrollSeekPlaceholder: import("@virtuoso.dev/urx").StatefulStream<"div" | "table" | "tbody" | "thead" | "tr" | React.ComponentType<import("./interfaces").ScrollSeekPlaceholderProps & {
|
|
5439
|
+
context?: unknown;
|
|
5440
|
+
}> | null | undefined>;
|
|
5368
5441
|
log: import("@virtuoso.dev/urx").StatefulStream<import("./loggerSystem").Log>;
|
|
5369
5442
|
logLevel: import("@virtuoso.dev/urx").StatefulStream<import("./loggerSystem").LogLevel>;
|
|
5370
5443
|
scrollContainerState: import("@virtuoso.dev/urx").Stream<[number, number]>;
|
|
@@ -5437,6 +5510,7 @@ export declare const Table: React.ForwardRefExoticComponent<{} & {
|
|
|
5437
5510
|
}>, {
|
|
5438
5511
|
required: {};
|
|
5439
5512
|
optional: {
|
|
5513
|
+
context: "context";
|
|
5440
5514
|
followOutput: "followOutput";
|
|
5441
5515
|
firstItemIndex: "firstItemIndex";
|
|
5442
5516
|
itemContent: "itemContent";
|
|
@@ -5480,19 +5554,43 @@ export declare const Table: React.ForwardRefExoticComponent<{} & {
|
|
|
5480
5554
|
itemsRendered: "itemsRendered";
|
|
5481
5555
|
groupIndices: "groupIndices";
|
|
5482
5556
|
};
|
|
5483
|
-
}>>>, usePublisher: <K_3 extends "itemContent" | "components" | "computeItemKey" | "scrollerRef" | "ScrollSeekPlaceholder" | "data" | "ScrollerComponent" | "scrollContainerState" | "scrollTop" | "viewportHeight" | "headerHeight" | "footerHeight" | "scrollHeight" | "smoothScrollTargetReached" | "scrollTo" | "scrollBy" | "statefulScrollTop" | "deviation" | "scrollingInProgress" | "listBoundary" | "overscan" | "topListHeight" | "fixedHeaderHeight" | "increaseViewportBy" | "visibleRange" | "isScrolling" | "isAtTop" | "isAtBottom" | "atBottomThreshold" | "atBottomState" | "atTopStateChange" | "atBottomStateChange" | "scrollDirection" | "scrollVelocity" | "lastJumpDueToItemResize" | "isSeeking" | "scrollSeekConfiguration" | "scrollSeekRangeChanged" | "log" | "logLevel" | "propsReady" | "didMount" | "useWindowScroll" | "customScrollParent" | "windowScrollContainerState" | "windowViewportRect" | "windowScrollTo" | "totalCount" | "scrollToIndex" | "initialItemCount" | "totalListHeight" | "startReached" | "endReached" | "rangeChanged" | "sizeRanges" | "groupIndices" | "firstItemIndex" | "statefulTotalCount" | "trackItemSizes" | "itemSize" | "scrolledToInitialItem" | "initialTopMostItemIndex" | "followOutput" | "groupCounts" | "topItemsIndexes" | "listState" | "itemsRendered" | "topItemCount" | "totalListHeightChanged" | "initialScrollTop" | "alignToBottom" | "paddingTopAddition" | "scrollIntoView" | "fixedItemHeight" | "defaultItemHeight" | "EmptyPlaceholder" | "fixedHeaderContent" | "TableComponent" | "TableHeadComponent" | "TableBodyComponent" | "TableRowComponent">(key: K_3) => (value: {
|
|
5484
|
-
|
|
5557
|
+
}>>>, usePublisher: <K_3 extends "context" | "itemContent" | "components" | "computeItemKey" | "scrollerRef" | "ScrollSeekPlaceholder" | "data" | "ScrollerComponent" | "scrollContainerState" | "scrollTop" | "viewportHeight" | "headerHeight" | "footerHeight" | "scrollHeight" | "smoothScrollTargetReached" | "scrollTo" | "scrollBy" | "statefulScrollTop" | "deviation" | "scrollingInProgress" | "listBoundary" | "overscan" | "topListHeight" | "fixedHeaderHeight" | "increaseViewportBy" | "visibleRange" | "isScrolling" | "isAtTop" | "isAtBottom" | "atBottomThreshold" | "atBottomState" | "atTopStateChange" | "atBottomStateChange" | "scrollDirection" | "scrollVelocity" | "lastJumpDueToItemResize" | "isSeeking" | "scrollSeekConfiguration" | "scrollSeekRangeChanged" | "log" | "logLevel" | "propsReady" | "didMount" | "useWindowScroll" | "customScrollParent" | "windowScrollContainerState" | "windowViewportRect" | "windowScrollTo" | "totalCount" | "scrollToIndex" | "initialItemCount" | "totalListHeight" | "startReached" | "endReached" | "rangeChanged" | "sizeRanges" | "groupIndices" | "firstItemIndex" | "statefulTotalCount" | "trackItemSizes" | "itemSize" | "scrolledToInitialItem" | "initialTopMostItemIndex" | "followOutput" | "groupCounts" | "topItemsIndexes" | "listState" | "itemsRendered" | "topItemCount" | "totalListHeightChanged" | "initialScrollTop" | "alignToBottom" | "paddingTopAddition" | "scrollIntoView" | "fixedItemHeight" | "defaultItemHeight" | "EmptyPlaceholder" | "fixedHeaderContent" | "TableComponent" | "TableHeadComponent" | "TableBodyComponent" | "TableRowComponent">(key: K_3) => (value: {
|
|
5558
|
+
context: import("@virtuoso.dev/urx").StatefulStream<unknown>;
|
|
5559
|
+
itemContent: import("@virtuoso.dev/urx").StatefulStream<ItemContent<any, unknown>>;
|
|
5485
5560
|
fixedHeaderContent: import("@virtuoso.dev/urx").StatefulStream<FixedHeaderContent>;
|
|
5486
|
-
components: import("@virtuoso.dev/urx").StatefulStream<TableComponents
|
|
5487
|
-
computeItemKey: import("@virtuoso.dev/urx").StatefulStream<ComputeItemKey<any>>;
|
|
5561
|
+
components: import("@virtuoso.dev/urx").StatefulStream<TableComponents<unknown>>;
|
|
5562
|
+
computeItemKey: import("@virtuoso.dev/urx").StatefulStream<ComputeItemKey<any, unknown>>;
|
|
5488
5563
|
scrollerRef: import("@virtuoso.dev/urx").StatefulStream<(ref: HTMLElement | Window | null) => void>;
|
|
5489
|
-
TableComponent: import("@virtuoso.dev/urx").StatefulStream<"div" | "table" | "tbody" | "thead" | "tr" | React.ComponentType<import("./interfaces").TableProps
|
|
5490
|
-
|
|
5491
|
-
|
|
5492
|
-
|
|
5493
|
-
|
|
5494
|
-
|
|
5495
|
-
|
|
5564
|
+
TableComponent: import("@virtuoso.dev/urx").StatefulStream<"div" | "table" | "tbody" | "thead" | "tr" | React.ComponentType<import("./interfaces").TableProps & {
|
|
5565
|
+
context?: unknown;
|
|
5566
|
+
}> | null | undefined>;
|
|
5567
|
+
TableHeadComponent: import("@virtuoso.dev/urx").StatefulStream<"div" | "table" | "tbody" | "thead" | "tr" | React.ComponentType<{
|
|
5568
|
+
context?: unknown;
|
|
5569
|
+
}> | null | undefined>;
|
|
5570
|
+
TableBodyComponent: import("@virtuoso.dev/urx").StatefulStream<"div" | "table" | "tbody" | "thead" | "tr" | React.ComponentType<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
5571
|
+
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
5572
|
+
}, "ref" | "style" | "children"> & {
|
|
5573
|
+
'data-test-id': string;
|
|
5574
|
+
} & {
|
|
5575
|
+
context?: unknown;
|
|
5576
|
+
}> | null | undefined>;
|
|
5577
|
+
TableRowComponent: import("@virtuoso.dev/urx").StatefulStream<"div" | "table" | "tbody" | "thead" | "tr" | React.ComponentType<import("./interfaces").ItemProps & {
|
|
5578
|
+
context?: unknown;
|
|
5579
|
+
}> | null | undefined>;
|
|
5580
|
+
ScrollerComponent: import("@virtuoso.dev/urx").StatefulStream<"div" | "table" | "tbody" | "thead" | "tr" | React.ComponentType<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
5581
|
+
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
5582
|
+
}, "ref" | "style" | "tabIndex" | "children"> & {
|
|
5583
|
+
'data-test-id'?: string | undefined;
|
|
5584
|
+
'data-virtuoso-scroller'?: boolean | undefined;
|
|
5585
|
+
} & {
|
|
5586
|
+
context?: unknown;
|
|
5587
|
+
}> | null | undefined>;
|
|
5588
|
+
EmptyPlaceholder: import("@virtuoso.dev/urx").StatefulStream<"div" | "table" | "tbody" | "thead" | "tr" | React.ComponentType<{
|
|
5589
|
+
context?: unknown;
|
|
5590
|
+
}> | null | undefined>;
|
|
5591
|
+
ScrollSeekPlaceholder: import("@virtuoso.dev/urx").StatefulStream<"div" | "table" | "tbody" | "thead" | "tr" | React.ComponentType<import("./interfaces").ScrollSeekPlaceholderProps & {
|
|
5592
|
+
context?: unknown;
|
|
5593
|
+
}> | null | undefined>;
|
|
5496
5594
|
log: import("@virtuoso.dev/urx").StatefulStream<import("./loggerSystem").Log>;
|
|
5497
5595
|
logLevel: import("@virtuoso.dev/urx").StatefulStream<import("./loggerSystem").LogLevel>;
|
|
5498
5596
|
scrollContainerState: import("@virtuoso.dev/urx").Stream<[number, number]>;
|
|
@@ -5562,19 +5660,43 @@ export declare const Table: React.ForwardRefExoticComponent<{} & {
|
|
|
5562
5660
|
groupCounts: import("@virtuoso.dev/urx").Stream<number[]>;
|
|
5563
5661
|
fixedItemHeight: import("@virtuoso.dev/urx").StatefulStream<number | undefined>;
|
|
5564
5662
|
defaultItemHeight: import("@virtuoso.dev/urx").StatefulStream<number | undefined>;
|
|
5565
|
-
}[K_3] extends import("@virtuoso.dev/urx").Stream<infer R_4> ? R_4 : never) => void, useEmitterValue: <K_4 extends "itemContent" | "components" | "computeItemKey" | "scrollerRef" | "ScrollSeekPlaceholder" | "data" | "ScrollerComponent" | "scrollContainerState" | "scrollTop" | "viewportHeight" | "headerHeight" | "footerHeight" | "scrollHeight" | "smoothScrollTargetReached" | "scrollTo" | "scrollBy" | "statefulScrollTop" | "deviation" | "scrollingInProgress" | "listBoundary" | "overscan" | "topListHeight" | "fixedHeaderHeight" | "increaseViewportBy" | "visibleRange" | "isScrolling" | "isAtTop" | "isAtBottom" | "atBottomThreshold" | "atBottomState" | "atTopStateChange" | "atBottomStateChange" | "scrollDirection" | "scrollVelocity" | "lastJumpDueToItemResize" | "isSeeking" | "scrollSeekConfiguration" | "scrollSeekRangeChanged" | "log" | "logLevel" | "propsReady" | "didMount" | "useWindowScroll" | "customScrollParent" | "windowScrollContainerState" | "windowViewportRect" | "windowScrollTo" | "totalCount" | "scrollToIndex" | "initialItemCount" | "totalListHeight" | "startReached" | "endReached" | "rangeChanged" | "sizeRanges" | "groupIndices" | "firstItemIndex" | "statefulTotalCount" | "trackItemSizes" | "itemSize" | "scrolledToInitialItem" | "initialTopMostItemIndex" | "followOutput" | "groupCounts" | "topItemsIndexes" | "listState" | "itemsRendered" | "topItemCount" | "totalListHeightChanged" | "initialScrollTop" | "alignToBottom" | "paddingTopAddition" | "scrollIntoView" | "fixedItemHeight" | "defaultItemHeight" | "EmptyPlaceholder" | "fixedHeaderContent" | "TableComponent" | "TableHeadComponent" | "TableBodyComponent" | "TableRowComponent", V = {
|
|
5566
|
-
|
|
5663
|
+
}[K_3] extends import("@virtuoso.dev/urx").Stream<infer R_4> ? R_4 : never) => void, useEmitterValue: <K_4 extends "context" | "itemContent" | "components" | "computeItemKey" | "scrollerRef" | "ScrollSeekPlaceholder" | "data" | "ScrollerComponent" | "scrollContainerState" | "scrollTop" | "viewportHeight" | "headerHeight" | "footerHeight" | "scrollHeight" | "smoothScrollTargetReached" | "scrollTo" | "scrollBy" | "statefulScrollTop" | "deviation" | "scrollingInProgress" | "listBoundary" | "overscan" | "topListHeight" | "fixedHeaderHeight" | "increaseViewportBy" | "visibleRange" | "isScrolling" | "isAtTop" | "isAtBottom" | "atBottomThreshold" | "atBottomState" | "atTopStateChange" | "atBottomStateChange" | "scrollDirection" | "scrollVelocity" | "lastJumpDueToItemResize" | "isSeeking" | "scrollSeekConfiguration" | "scrollSeekRangeChanged" | "log" | "logLevel" | "propsReady" | "didMount" | "useWindowScroll" | "customScrollParent" | "windowScrollContainerState" | "windowViewportRect" | "windowScrollTo" | "totalCount" | "scrollToIndex" | "initialItemCount" | "totalListHeight" | "startReached" | "endReached" | "rangeChanged" | "sizeRanges" | "groupIndices" | "firstItemIndex" | "statefulTotalCount" | "trackItemSizes" | "itemSize" | "scrolledToInitialItem" | "initialTopMostItemIndex" | "followOutput" | "groupCounts" | "topItemsIndexes" | "listState" | "itemsRendered" | "topItemCount" | "totalListHeightChanged" | "initialScrollTop" | "alignToBottom" | "paddingTopAddition" | "scrollIntoView" | "fixedItemHeight" | "defaultItemHeight" | "EmptyPlaceholder" | "fixedHeaderContent" | "TableComponent" | "TableHeadComponent" | "TableBodyComponent" | "TableRowComponent", V = {
|
|
5664
|
+
context: import("@virtuoso.dev/urx").StatefulStream<unknown>;
|
|
5665
|
+
itemContent: import("@virtuoso.dev/urx").StatefulStream<ItemContent<any, unknown>>;
|
|
5567
5666
|
fixedHeaderContent: import("@virtuoso.dev/urx").StatefulStream<FixedHeaderContent>;
|
|
5568
|
-
components: import("@virtuoso.dev/urx").StatefulStream<TableComponents
|
|
5569
|
-
computeItemKey: import("@virtuoso.dev/urx").StatefulStream<ComputeItemKey<any>>;
|
|
5667
|
+
components: import("@virtuoso.dev/urx").StatefulStream<TableComponents<unknown>>;
|
|
5668
|
+
computeItemKey: import("@virtuoso.dev/urx").StatefulStream<ComputeItemKey<any, unknown>>;
|
|
5570
5669
|
scrollerRef: import("@virtuoso.dev/urx").StatefulStream<(ref: HTMLElement | Window | null) => void>;
|
|
5571
|
-
TableComponent: import("@virtuoso.dev/urx").StatefulStream<"div" | "table" | "tbody" | "thead" | "tr" | React.ComponentType<import("./interfaces").TableProps
|
|
5572
|
-
|
|
5573
|
-
|
|
5574
|
-
|
|
5575
|
-
|
|
5576
|
-
|
|
5577
|
-
|
|
5670
|
+
TableComponent: import("@virtuoso.dev/urx").StatefulStream<"div" | "table" | "tbody" | "thead" | "tr" | React.ComponentType<import("./interfaces").TableProps & {
|
|
5671
|
+
context?: unknown;
|
|
5672
|
+
}> | null | undefined>;
|
|
5673
|
+
TableHeadComponent: import("@virtuoso.dev/urx").StatefulStream<"div" | "table" | "tbody" | "thead" | "tr" | React.ComponentType<{
|
|
5674
|
+
context?: unknown;
|
|
5675
|
+
}> | null | undefined>;
|
|
5676
|
+
TableBodyComponent: import("@virtuoso.dev/urx").StatefulStream<"div" | "table" | "tbody" | "thead" | "tr" | React.ComponentType<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
5677
|
+
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
5678
|
+
}, "ref" | "style" | "children"> & {
|
|
5679
|
+
'data-test-id': string;
|
|
5680
|
+
} & {
|
|
5681
|
+
context?: unknown;
|
|
5682
|
+
}> | null | undefined>;
|
|
5683
|
+
TableRowComponent: import("@virtuoso.dev/urx").StatefulStream<"div" | "table" | "tbody" | "thead" | "tr" | React.ComponentType<import("./interfaces").ItemProps & {
|
|
5684
|
+
context?: unknown;
|
|
5685
|
+
}> | null | undefined>;
|
|
5686
|
+
ScrollerComponent: import("@virtuoso.dev/urx").StatefulStream<"div" | "table" | "tbody" | "thead" | "tr" | React.ComponentType<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
5687
|
+
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
5688
|
+
}, "ref" | "style" | "tabIndex" | "children"> & {
|
|
5689
|
+
'data-test-id'?: string | undefined;
|
|
5690
|
+
'data-virtuoso-scroller'?: boolean | undefined;
|
|
5691
|
+
} & {
|
|
5692
|
+
context?: unknown;
|
|
5693
|
+
}> | null | undefined>;
|
|
5694
|
+
EmptyPlaceholder: import("@virtuoso.dev/urx").StatefulStream<"div" | "table" | "tbody" | "thead" | "tr" | React.ComponentType<{
|
|
5695
|
+
context?: unknown;
|
|
5696
|
+
}> | null | undefined>;
|
|
5697
|
+
ScrollSeekPlaceholder: import("@virtuoso.dev/urx").StatefulStream<"div" | "table" | "tbody" | "thead" | "tr" | React.ComponentType<import("./interfaces").ScrollSeekPlaceholderProps & {
|
|
5698
|
+
context?: unknown;
|
|
5699
|
+
}> | null | undefined>;
|
|
5578
5700
|
log: import("@virtuoso.dev/urx").StatefulStream<import("./loggerSystem").Log>;
|
|
5579
5701
|
logLevel: import("@virtuoso.dev/urx").StatefulStream<import("./loggerSystem").LogLevel>;
|
|
5580
5702
|
scrollContainerState: import("@virtuoso.dev/urx").Stream<[number, number]>;
|
|
@@ -5644,19 +5766,43 @@ export declare const Table: React.ForwardRefExoticComponent<{} & {
|
|
|
5644
5766
|
groupCounts: import("@virtuoso.dev/urx").Stream<number[]>;
|
|
5645
5767
|
fixedItemHeight: import("@virtuoso.dev/urx").StatefulStream<number | undefined>;
|
|
5646
5768
|
defaultItemHeight: import("@virtuoso.dev/urx").StatefulStream<number | undefined>;
|
|
5647
|
-
}[K_4] extends import("@virtuoso.dev/urx").StatefulStream<infer R_5> ? R_5 : never>(key: K_4) => V, useEmitter: <K_5 extends "itemContent" | "components" | "computeItemKey" | "scrollerRef" | "ScrollSeekPlaceholder" | "data" | "ScrollerComponent" | "scrollContainerState" | "scrollTop" | "viewportHeight" | "headerHeight" | "footerHeight" | "scrollHeight" | "smoothScrollTargetReached" | "scrollTo" | "scrollBy" | "statefulScrollTop" | "deviation" | "scrollingInProgress" | "listBoundary" | "overscan" | "topListHeight" | "fixedHeaderHeight" | "increaseViewportBy" | "visibleRange" | "isScrolling" | "isAtTop" | "isAtBottom" | "atBottomThreshold" | "atBottomState" | "atTopStateChange" | "atBottomStateChange" | "scrollDirection" | "scrollVelocity" | "lastJumpDueToItemResize" | "isSeeking" | "scrollSeekConfiguration" | "scrollSeekRangeChanged" | "log" | "logLevel" | "propsReady" | "didMount" | "useWindowScroll" | "customScrollParent" | "windowScrollContainerState" | "windowViewportRect" | "windowScrollTo" | "totalCount" | "scrollToIndex" | "initialItemCount" | "totalListHeight" | "startReached" | "endReached" | "rangeChanged" | "sizeRanges" | "groupIndices" | "firstItemIndex" | "statefulTotalCount" | "trackItemSizes" | "itemSize" | "scrolledToInitialItem" | "initialTopMostItemIndex" | "followOutput" | "groupCounts" | "topItemsIndexes" | "listState" | "itemsRendered" | "topItemCount" | "totalListHeightChanged" | "initialScrollTop" | "alignToBottom" | "paddingTopAddition" | "scrollIntoView" | "fixedItemHeight" | "defaultItemHeight" | "EmptyPlaceholder" | "fixedHeaderContent" | "TableComponent" | "TableHeadComponent" | "TableBodyComponent" | "TableRowComponent", V_1 = {
|
|
5648
|
-
|
|
5769
|
+
}[K_4] extends import("@virtuoso.dev/urx").StatefulStream<infer R_5> ? R_5 : never>(key: K_4) => V, useEmitter: <K_5 extends "context" | "itemContent" | "components" | "computeItemKey" | "scrollerRef" | "ScrollSeekPlaceholder" | "data" | "ScrollerComponent" | "scrollContainerState" | "scrollTop" | "viewportHeight" | "headerHeight" | "footerHeight" | "scrollHeight" | "smoothScrollTargetReached" | "scrollTo" | "scrollBy" | "statefulScrollTop" | "deviation" | "scrollingInProgress" | "listBoundary" | "overscan" | "topListHeight" | "fixedHeaderHeight" | "increaseViewportBy" | "visibleRange" | "isScrolling" | "isAtTop" | "isAtBottom" | "atBottomThreshold" | "atBottomState" | "atTopStateChange" | "atBottomStateChange" | "scrollDirection" | "scrollVelocity" | "lastJumpDueToItemResize" | "isSeeking" | "scrollSeekConfiguration" | "scrollSeekRangeChanged" | "log" | "logLevel" | "propsReady" | "didMount" | "useWindowScroll" | "customScrollParent" | "windowScrollContainerState" | "windowViewportRect" | "windowScrollTo" | "totalCount" | "scrollToIndex" | "initialItemCount" | "totalListHeight" | "startReached" | "endReached" | "rangeChanged" | "sizeRanges" | "groupIndices" | "firstItemIndex" | "statefulTotalCount" | "trackItemSizes" | "itemSize" | "scrolledToInitialItem" | "initialTopMostItemIndex" | "followOutput" | "groupCounts" | "topItemsIndexes" | "listState" | "itemsRendered" | "topItemCount" | "totalListHeightChanged" | "initialScrollTop" | "alignToBottom" | "paddingTopAddition" | "scrollIntoView" | "fixedItemHeight" | "defaultItemHeight" | "EmptyPlaceholder" | "fixedHeaderContent" | "TableComponent" | "TableHeadComponent" | "TableBodyComponent" | "TableRowComponent", V_1 = {
|
|
5770
|
+
context: import("@virtuoso.dev/urx").StatefulStream<unknown>;
|
|
5771
|
+
itemContent: import("@virtuoso.dev/urx").StatefulStream<ItemContent<any, unknown>>;
|
|
5649
5772
|
fixedHeaderContent: import("@virtuoso.dev/urx").StatefulStream<FixedHeaderContent>;
|
|
5650
|
-
components: import("@virtuoso.dev/urx").StatefulStream<TableComponents
|
|
5651
|
-
computeItemKey: import("@virtuoso.dev/urx").StatefulStream<ComputeItemKey<any>>;
|
|
5773
|
+
components: import("@virtuoso.dev/urx").StatefulStream<TableComponents<unknown>>;
|
|
5774
|
+
computeItemKey: import("@virtuoso.dev/urx").StatefulStream<ComputeItemKey<any, unknown>>;
|
|
5652
5775
|
scrollerRef: import("@virtuoso.dev/urx").StatefulStream<(ref: HTMLElement | Window | null) => void>;
|
|
5653
|
-
TableComponent: import("@virtuoso.dev/urx").StatefulStream<"div" | "table" | "tbody" | "thead" | "tr" | React.ComponentType<import("./interfaces").TableProps
|
|
5654
|
-
|
|
5655
|
-
|
|
5656
|
-
|
|
5657
|
-
|
|
5658
|
-
|
|
5659
|
-
|
|
5776
|
+
TableComponent: import("@virtuoso.dev/urx").StatefulStream<"div" | "table" | "tbody" | "thead" | "tr" | React.ComponentType<import("./interfaces").TableProps & {
|
|
5777
|
+
context?: unknown;
|
|
5778
|
+
}> | null | undefined>;
|
|
5779
|
+
TableHeadComponent: import("@virtuoso.dev/urx").StatefulStream<"div" | "table" | "tbody" | "thead" | "tr" | React.ComponentType<{
|
|
5780
|
+
context?: unknown;
|
|
5781
|
+
}> | null | undefined>;
|
|
5782
|
+
TableBodyComponent: import("@virtuoso.dev/urx").StatefulStream<"div" | "table" | "tbody" | "thead" | "tr" | React.ComponentType<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
5783
|
+
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
5784
|
+
}, "ref" | "style" | "children"> & {
|
|
5785
|
+
'data-test-id': string;
|
|
5786
|
+
} & {
|
|
5787
|
+
context?: unknown;
|
|
5788
|
+
}> | null | undefined>;
|
|
5789
|
+
TableRowComponent: import("@virtuoso.dev/urx").StatefulStream<"div" | "table" | "tbody" | "thead" | "tr" | React.ComponentType<import("./interfaces").ItemProps & {
|
|
5790
|
+
context?: unknown;
|
|
5791
|
+
}> | null | undefined>;
|
|
5792
|
+
ScrollerComponent: import("@virtuoso.dev/urx").StatefulStream<"div" | "table" | "tbody" | "thead" | "tr" | React.ComponentType<Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof React.HTMLAttributes<HTMLDivElement>> & {
|
|
5793
|
+
ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
|
|
5794
|
+
}, "ref" | "style" | "tabIndex" | "children"> & {
|
|
5795
|
+
'data-test-id'?: string | undefined;
|
|
5796
|
+
'data-virtuoso-scroller'?: boolean | undefined;
|
|
5797
|
+
} & {
|
|
5798
|
+
context?: unknown;
|
|
5799
|
+
}> | null | undefined>;
|
|
5800
|
+
EmptyPlaceholder: import("@virtuoso.dev/urx").StatefulStream<"div" | "table" | "tbody" | "thead" | "tr" | React.ComponentType<{
|
|
5801
|
+
context?: unknown;
|
|
5802
|
+
}> | null | undefined>;
|
|
5803
|
+
ScrollSeekPlaceholder: import("@virtuoso.dev/urx").StatefulStream<"div" | "table" | "tbody" | "thead" | "tr" | React.ComponentType<import("./interfaces").ScrollSeekPlaceholderProps & {
|
|
5804
|
+
context?: unknown;
|
|
5805
|
+
}> | null | undefined>;
|
|
5660
5806
|
log: import("@virtuoso.dev/urx").StatefulStream<import("./loggerSystem").Log>;
|
|
5661
5807
|
logLevel: import("@virtuoso.dev/urx").StatefulStream<import("./loggerSystem").LogLevel>;
|
|
5662
5808
|
scrollContainerState: import("@virtuoso.dev/urx").Stream<[number, number]>;
|