simple-table-core 3.5.2 → 3.6.2
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/cjs/index.js +1 -1
- package/dist/cjs/src/core/SimpleTableVanilla.d.ts +71 -0
- package/dist/cjs/src/core/rendering/RenderOrchestrator.d.ts +7 -0
- package/dist/cjs/src/core/rendering/TableRenderer.d.ts +9 -0
- package/dist/cjs/src/hooks/contentHeight.d.ts +7 -1
- package/dist/cjs/src/managers/DimensionManager.d.ts +5 -0
- package/dist/cjs/src/managers/DragHandlerManager.d.ts +1 -1
- package/dist/cjs/src/types/SimpleTableConfig.d.ts +2 -0
- package/dist/cjs/src/types/SimpleTableProps.d.ts +2 -0
- package/dist/cjs/src/utils/externalScroll.d.ts +47 -0
- package/dist/cjs/src/utils/resizeUtils/autoExpandResize.d.ts +3 -1
- package/dist/cjs/src/utils/stickyParentsRenderer.d.ts +8 -0
- package/dist/cjs/stories/SimpleTable.stories.d.ts +1 -0
- package/dist/cjs/stories/examples/WindowInfiniteScroll.d.ts +3 -0
- package/dist/cjs/stories/examples/sales-example/SalesExample.d.ts +1 -4
- package/dist/cjs/stories/tests/44-ExternalScrollTests.stories.d.ts +53 -0
- package/dist/cjs/styles.css +1 -1
- package/dist/index.es.js +1 -1
- package/dist/src/core/SimpleTableVanilla.d.ts +71 -0
- package/dist/src/core/rendering/RenderOrchestrator.d.ts +7 -0
- package/dist/src/core/rendering/TableRenderer.d.ts +9 -0
- package/dist/src/hooks/contentHeight.d.ts +7 -1
- package/dist/src/managers/DimensionManager.d.ts +5 -0
- package/dist/src/managers/DragHandlerManager.d.ts +1 -1
- package/dist/src/types/SimpleTableConfig.d.ts +2 -0
- package/dist/src/types/SimpleTableProps.d.ts +2 -0
- package/dist/src/utils/externalScroll.d.ts +47 -0
- package/dist/src/utils/resizeUtils/autoExpandResize.d.ts +3 -1
- package/dist/src/utils/stickyParentsRenderer.d.ts +8 -0
- package/dist/stories/SimpleTable.stories.d.ts +1 -0
- package/dist/stories/examples/WindowInfiniteScroll.d.ts +3 -0
- package/dist/stories/examples/sales-example/SalesExample.d.ts +1 -4
- package/dist/stories/tests/44-ExternalScrollTests.stories.d.ts +53 -0
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/src/styles/base.css +40 -0
|
@@ -54,6 +54,34 @@ export declare class SimpleTableVanilla {
|
|
|
54
54
|
private scrollEndTimeoutId;
|
|
55
55
|
private lastScrollTop;
|
|
56
56
|
private isUpdating;
|
|
57
|
+
/** Currently resolved external scroll parent (HTMLElement or window). Null when external scroll mode is inactive. */
|
|
58
|
+
private resolvedScrollParent;
|
|
59
|
+
/** Bound scroll handler attached to the external scroll parent. */
|
|
60
|
+
private externalScrollListener;
|
|
61
|
+
/** Bound resize handler attached to window when scrollParent is "window". */
|
|
62
|
+
private externalWindowResizeListener;
|
|
63
|
+
/** ResizeObserver watching the external scroll parent element. */
|
|
64
|
+
private externalParentResizeObserver;
|
|
65
|
+
/** Cached visible viewport height of the table inside the external parent. Fed into virtualization. */
|
|
66
|
+
private externalViewportHeight;
|
|
67
|
+
/** True iff the body-container scroll listener is currently attached. */
|
|
68
|
+
private bodyScrollListenerAttached;
|
|
69
|
+
/** Bound mouseleave handler on the body container. */
|
|
70
|
+
private bodyContainerMouseLeaveListener;
|
|
71
|
+
/** Bound scroll handler attached to the body container (internal scroll mode). */
|
|
72
|
+
private bodyContainerScrollListener;
|
|
73
|
+
/**
|
|
74
|
+
* When external scroll mode is active we briefly take control of the scroll
|
|
75
|
+
* parent's `overscroll-behavior-y` to neutralize the browser's rubber-band /
|
|
76
|
+
* scroll-chaining at the boundaries. Without this, pulling past the top or
|
|
77
|
+
* bottom of the scroll parent visually translates the entire scroll content
|
|
78
|
+
* layer (including the CSS-sticky header), causing the header to "disappear"
|
|
79
|
+
* during overscroll bounces even though its layout position is unchanged.
|
|
80
|
+
* We record the previous inline value so {@link detachExternalScrollWiring}
|
|
81
|
+
* can restore it cleanly.
|
|
82
|
+
*/
|
|
83
|
+
private overscrollBehaviorTarget;
|
|
84
|
+
private overscrollBehaviorPrev;
|
|
57
85
|
/**
|
|
58
86
|
* Active accordion axis for the next render. Set by row/column collapse-
|
|
59
87
|
* expand mutators (see {@link beginAccordionAnimation}) and consumed by the
|
|
@@ -139,6 +167,49 @@ export declare class SimpleTableVanilla {
|
|
|
139
167
|
mount(): void;
|
|
140
168
|
private setupManagers;
|
|
141
169
|
private setupEventListeners;
|
|
170
|
+
/**
|
|
171
|
+
* Reconciles which element owns the vertical scroll listener based on the
|
|
172
|
+
* current `scrollParent` config. Called on mount and whenever `update()`
|
|
173
|
+
* could have changed the relevant inputs (`scrollParent` / `height` /
|
|
174
|
+
* `maxHeight`). Idempotent — safe to call repeatedly.
|
|
175
|
+
*/
|
|
176
|
+
private syncExternalScrollWiring;
|
|
177
|
+
private ensureBodyScrollListenerAttached;
|
|
178
|
+
private ensureBodyScrollListenerDetached;
|
|
179
|
+
private attachExternalScrollWiring;
|
|
180
|
+
private detachExternalScrollWiring;
|
|
181
|
+
/**
|
|
182
|
+
* Set `overscroll-behavior-y: none` on the resolved scroll parent (or
|
|
183
|
+
* `document.documentElement` for `scrollParent: "window"`). This neutralizes
|
|
184
|
+
* the browser's elastic rubber-band at the scroll boundaries, which would
|
|
185
|
+
* otherwise translate the entire scroll content layer (including our
|
|
186
|
+
* `position: sticky` header) during overscroll bounces — making the header
|
|
187
|
+
* visually disappear off the top of the parent. `contain` only stops scroll
|
|
188
|
+
* chaining; we need `none` to actually disable the elastic bounce on the
|
|
189
|
+
* scroll container itself. Previous inline value is captured so we can
|
|
190
|
+
* restore it on detach.
|
|
191
|
+
*/
|
|
192
|
+
private applyOverscrollContainment;
|
|
193
|
+
private restoreOverscrollBehavior;
|
|
194
|
+
/**
|
|
195
|
+
* Read the resolved scroll parent's computed `padding-top` and publish it
|
|
196
|
+
* as `--st-external-scroll-padding-top` on the table root. The sticky
|
|
197
|
+
* header CSS uses `top: calc(-1 * var(...))` so the header pins flush to
|
|
198
|
+
* the parent's outer top edge instead of the padding edge, eliminating the
|
|
199
|
+
* visible gap that CSS sticky would otherwise produce when the consumer
|
|
200
|
+
* gives the scroll parent any top padding. Re-run on layout changes via
|
|
201
|
+
* ResizeObserver / window resize.
|
|
202
|
+
*/
|
|
203
|
+
private recomputeExternalScrollPaddingTop;
|
|
204
|
+
/**
|
|
205
|
+
* Recompute the visible portion of the table inside the external scroll
|
|
206
|
+
* parent and push it into the DimensionManager so virtualization math
|
|
207
|
+
* picks it up. Cheap; called on scroll, on parent/window resize, and on
|
|
208
|
+
* every re-render where the resolved parent may have moved.
|
|
209
|
+
*/
|
|
210
|
+
private recomputeExternalViewportHeight;
|
|
211
|
+
private handleExternalResize;
|
|
212
|
+
private handleExternalScroll;
|
|
142
213
|
private handleScroll;
|
|
143
214
|
private clearHoveredRows;
|
|
144
215
|
private updateAriaLiveRegion;
|
|
@@ -88,6 +88,13 @@ export interface RenderContext {
|
|
|
88
88
|
sortManager: SortManager | null;
|
|
89
89
|
/** When true, body cells that stay visible get only position updates (no content/selection recalc). Used during vertical scroll for performance. */
|
|
90
90
|
positionOnlyBody?: boolean;
|
|
91
|
+
/**
|
|
92
|
+
* Visible portion of the table inside an external scroll parent (in pixels).
|
|
93
|
+
* Set by {@link SimpleTableVanilla} per render when `config.scrollParent` is
|
|
94
|
+
* active and no explicit `height`/`maxHeight` is set. Drives virtualization
|
|
95
|
+
* the same way an explicit `height` does, but the scroll source is external.
|
|
96
|
+
*/
|
|
97
|
+
externalViewportHeight?: number;
|
|
91
98
|
}
|
|
92
99
|
export interface RenderState {
|
|
93
100
|
currentPage: number;
|
|
@@ -13,6 +13,15 @@ export interface TableRendererDeps {
|
|
|
13
13
|
/** Accordion animation axis for the in-flight collapse/expand. See {@link RenderContext.accordionAxis}. */
|
|
14
14
|
accordionAxis?: AccordionAxis;
|
|
15
15
|
animationCoordinator?: AnimationCoordinator;
|
|
16
|
+
/**
|
|
17
|
+
* True when the table is using an external `scrollParent` (no `height`/`maxHeight`).
|
|
18
|
+
* In this mode the main body container does not scroll — the parent does — so
|
|
19
|
+
* the sticky-parents container reads its scrollTop from `stickyParentsScrollTop`
|
|
20
|
+
* (sourced from the table's external-aware state) instead of `mainBodyRef.scrollTop`.
|
|
21
|
+
*/
|
|
22
|
+
externalScrollActive?: boolean;
|
|
23
|
+
/** Externally-tracked scrollTop (already translated into table coordinates). */
|
|
24
|
+
stickyParentsScrollTop?: number;
|
|
16
25
|
cellRegistry: Map<string, any>;
|
|
17
26
|
collapsedHeaders: Set<Accessor>;
|
|
18
27
|
collapsedRows: Map<string, number>;
|
|
@@ -7,6 +7,12 @@ export interface ContentHeightConfig {
|
|
|
7
7
|
totalRowCount: number;
|
|
8
8
|
headerHeight?: number;
|
|
9
9
|
footerHeight?: number;
|
|
10
|
+
/**
|
|
11
|
+
* Visible portion of the table inside an external scroll parent (in pixels).
|
|
12
|
+
* Only consulted when neither `height` nor `maxHeight` is set; enables
|
|
13
|
+
* virtualization driven by a window- or element-level scroller.
|
|
14
|
+
*/
|
|
15
|
+
externalViewportHeight?: number;
|
|
10
16
|
}
|
|
11
17
|
/**
|
|
12
18
|
* Converts a height value (string or number) to pixels
|
|
@@ -19,5 +25,5 @@ export declare const convertHeightToPixels: (heightValue: string | number) => nu
|
|
|
19
25
|
* @param config - Configuration for content height calculation
|
|
20
26
|
* @returns The calculated content height in pixels, or undefined to disable virtualization
|
|
21
27
|
*/
|
|
22
|
-
export declare const calculateContentHeight: ({ height, maxHeight, rowHeight, shouldPaginate, rowsPerPage, totalRowCount, headerHeight, footerHeight, }: ContentHeightConfig) => number | undefined;
|
|
28
|
+
export declare const calculateContentHeight: ({ height, maxHeight, rowHeight, shouldPaginate, rowsPerPage, totalRowCount, headerHeight, footerHeight, externalViewportHeight, }: ContentHeightConfig) => number | undefined;
|
|
23
29
|
export default calculateContentHeight;
|
|
@@ -8,6 +8,11 @@ export interface DimensionManagerConfig {
|
|
|
8
8
|
totalRowCount: number;
|
|
9
9
|
footerHeight?: number;
|
|
10
10
|
containerElement?: HTMLElement;
|
|
11
|
+
/**
|
|
12
|
+
* Visible portion of the table inside an external scroll parent (in pixels).
|
|
13
|
+
* Drives virtualization when neither `height` nor `maxHeight` is set.
|
|
14
|
+
*/
|
|
15
|
+
externalViewportHeight?: number;
|
|
11
16
|
}
|
|
12
17
|
export interface DimensionManagerState {
|
|
13
18
|
containerWidth: number;
|
|
@@ -2,7 +2,7 @@ import HeaderObject, { Accessor } from "../types/HeaderObject";
|
|
|
2
2
|
export declare const getHeaderIndexPath: (headers: HeaderObject[], targetAccessor: Accessor, currentPath?: number[]) => number[] | null;
|
|
3
3
|
export declare const getSiblingArray: (headers: HeaderObject[], indexPath: number[]) => HeaderObject[];
|
|
4
4
|
export declare const setSiblingArray: (headers: HeaderObject[], indexPath: number[], newSiblings: HeaderObject[]) => HeaderObject[];
|
|
5
|
-
export declare const getHeaderSection: (header: HeaderObject) => "left" | "main" | "right";
|
|
5
|
+
export declare const getHeaderSection: (header: HeaderObject, rootHeaders: HeaderObject[]) => "left" | "main" | "right";
|
|
6
6
|
export declare const updateHeaderPinnedProperty: (header: HeaderObject, targetSection: "left" | "main" | "right") => HeaderObject;
|
|
7
7
|
export declare function swapHeaders(headers: HeaderObject[], draggedPath: number[], hoveredPath: number[]): {
|
|
8
8
|
newHeaders: HeaderObject[];
|
|
@@ -63,6 +63,7 @@ export interface SimpleTableConfig {
|
|
|
63
63
|
onFilterChange?: (filters: TableFilterState) => void;
|
|
64
64
|
onGridReady?: () => void;
|
|
65
65
|
onHeaderEdit?: (header: HeaderObject, newLabel: string) => void;
|
|
66
|
+
infiniteScrollThreshold?: number;
|
|
66
67
|
onLoadMore?: () => void;
|
|
67
68
|
onNextPage?: OnNextPage;
|
|
68
69
|
onPageChange?: (page: number) => void | Promise<void>;
|
|
@@ -75,6 +76,7 @@ export interface SimpleTableConfig {
|
|
|
75
76
|
getRowId?: GetRowId;
|
|
76
77
|
rows: Row[];
|
|
77
78
|
rowsPerPage?: number;
|
|
79
|
+
scrollParent?: HTMLElement | "window" | (() => HTMLElement | null);
|
|
78
80
|
selectableCells?: boolean;
|
|
79
81
|
selectableColumns?: boolean;
|
|
80
82
|
serverSidePagination?: boolean;
|
|
@@ -63,6 +63,7 @@ export interface SimpleTableProps {
|
|
|
63
63
|
onFilterChange?: (filters: TableFilterState) => void;
|
|
64
64
|
onGridReady?: () => void;
|
|
65
65
|
onHeaderEdit?: (header: HeaderObject, newLabel: string) => void;
|
|
66
|
+
infiniteScrollThreshold?: number;
|
|
66
67
|
onLoadMore?: () => void;
|
|
67
68
|
onNextPage?: OnNextPage;
|
|
68
69
|
onPageChange?: (page: number) => void | Promise<void>;
|
|
@@ -75,6 +76,7 @@ export interface SimpleTableProps {
|
|
|
75
76
|
getRowId?: GetRowId;
|
|
76
77
|
rows: Row[];
|
|
77
78
|
rowsPerPage?: number;
|
|
79
|
+
scrollParent?: HTMLElement | "window" | (() => HTMLElement | null);
|
|
78
80
|
selectableCells?: boolean;
|
|
79
81
|
selectableColumns?: boolean;
|
|
80
82
|
serverSidePagination?: boolean;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Helpers for the "external scroll parent" virtualization mode.
|
|
3
|
+
*
|
|
4
|
+
* When a consumer supplies `scrollParent` and the table has neither `height`
|
|
5
|
+
* nor `maxHeight`, the table grows to its natural height inside the parent
|
|
6
|
+
* and we look at the parent's scroll position / viewport to drive
|
|
7
|
+
* virtualization and `onLoadMore`.
|
|
8
|
+
*/
|
|
9
|
+
export type ScrollParentValue = HTMLElement | "window" | (() => HTMLElement | null) | undefined | null;
|
|
10
|
+
export type ResolvedScrollParent = HTMLElement | Window | null;
|
|
11
|
+
export interface ExternalScrollMetrics {
|
|
12
|
+
/** Scroll offset translated into the table's own coordinate space, clamped to [0, tableTotalHeight]. */
|
|
13
|
+
relativeScrollTop: number;
|
|
14
|
+
/** Height of the table portion that is actually visible inside the parent viewport, in pixels. */
|
|
15
|
+
visibleViewportHeight: number;
|
|
16
|
+
/** Distance in pixels from the current visible-bottom edge to the table's bottom edge. */
|
|
17
|
+
distanceFromTableBottom: number;
|
|
18
|
+
/** Full pixel height of the table root element. */
|
|
19
|
+
tableTotalHeight: number;
|
|
20
|
+
/** Width of the parent viewport, in pixels. */
|
|
21
|
+
viewportWidth: number;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Resolve a `scrollParent` config value to a usable element or window reference.
|
|
25
|
+
* Returns `null` if the value cannot be resolved this tick (e.g. a ref that
|
|
26
|
+
* has not yet been attached). Never throws.
|
|
27
|
+
*/
|
|
28
|
+
export declare const resolveScrollParent: (value: ScrollParentValue) => ResolvedScrollParent;
|
|
29
|
+
/**
|
|
30
|
+
* Returns true if external scroll mode should be active for the given props.
|
|
31
|
+
* External mode is only enabled when no explicit height constraint is set;
|
|
32
|
+
* `height` / `maxHeight` always win.
|
|
33
|
+
*/
|
|
34
|
+
export declare const isExternalScrollActive: (scrollParent: ScrollParentValue, height: string | number | undefined, maxHeight: string | number | undefined) => boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Compute scroll metrics translated into the table's coordinate space.
|
|
37
|
+
*
|
|
38
|
+
* The math: position the table's bounding rect within the parent's viewport rect,
|
|
39
|
+
* then intersect with the visible band of the parent. The intersection's top edge
|
|
40
|
+
* (relative to the table) is the effective `scrollTop` for virtualization, and the
|
|
41
|
+
* intersection's height is the effective `clientHeight`.
|
|
42
|
+
*/
|
|
43
|
+
export declare const getExternalScrollMetrics: (parent: ResolvedScrollParent, tableRoot: HTMLElement | null) => ExternalScrollMetrics | null;
|
|
44
|
+
/**
|
|
45
|
+
* Returns the raw scroll-top of the parent (used for direction tracking only).
|
|
46
|
+
*/
|
|
47
|
+
export declare const getParentScrollTop: (parent: ResolvedScrollParent) => number;
|
|
@@ -4,7 +4,7 @@ import type { Pinned } from "../../types/Pinned";
|
|
|
4
4
|
* Handle resize with autoExpandColumns enabled
|
|
5
5
|
* Columns to the right (or left for right-pinned) shrink proportionally
|
|
6
6
|
*/
|
|
7
|
-
export declare const handleResizeWithAutoExpand: ({ childrenToResize, collapsedHeaders, containerWidth, delta, headers, initialWidthsMap, isParentResize, resizedHeader, reverse, rootPinned, sectionHeaders, sectionWidth, startWidth, }: {
|
|
7
|
+
export declare const handleResizeWithAutoExpand: ({ childrenToResize, collapsedHeaders, containerWidth, delta, headers, initialWidthsMap, isParentResize, pinnedBodyViewportWidth, resizedHeader, reverse, rootPinned, sectionHeaders, sectionWidth, startWidth, }: {
|
|
8
8
|
childrenToResize?: HeaderObject[] | undefined;
|
|
9
9
|
collapsedHeaders?: Set<string> | undefined;
|
|
10
10
|
containerWidth: number;
|
|
@@ -12,6 +12,8 @@ export declare const handleResizeWithAutoExpand: ({ childrenToResize, collapsedH
|
|
|
12
12
|
headers: HeaderObject[];
|
|
13
13
|
initialWidthsMap: Map<string, number>;
|
|
14
14
|
isParentResize?: boolean | undefined;
|
|
15
|
+
/** When set, caps pinned growth so column sums do not exceed this scrollport (policy max can be wider). */
|
|
16
|
+
pinnedBodyViewportWidth?: number | undefined;
|
|
15
17
|
resizedHeader: HeaderObject;
|
|
16
18
|
reverse: boolean;
|
|
17
19
|
rootPinned: Pinned | undefined;
|
|
@@ -29,6 +29,14 @@ export interface StickyParentsContainerProps {
|
|
|
29
29
|
* for the current `rowsToRender` band, so selection matches virtualized body cells.
|
|
30
30
|
*/
|
|
31
31
|
stickyBodyRowIndexByRowKey: Map<string, number>;
|
|
32
|
+
/**
|
|
33
|
+
* When true, the table is in external-scroll mode (scrollParent in use, no
|
|
34
|
+
* fixed height). The overlay uses native CSS `position: sticky` (handled by
|
|
35
|
+
* a stylesheet rule) so the browser composites it on the same paint as the
|
|
36
|
+
* parent scroll. The renderer only needs this flag to neutralize the
|
|
37
|
+
* overlay's flex column flow contribution via a negative bottom margin.
|
|
38
|
+
*/
|
|
39
|
+
externalScrollActive?: boolean;
|
|
32
40
|
}
|
|
33
41
|
export interface StickyParentsRenderContext {
|
|
34
42
|
collapsedHeaders: Set<string>;
|
|
@@ -37,6 +37,7 @@ export declare const FinanceExample: StoryObj;
|
|
|
37
37
|
export declare const HeaderInclusion: StoryObj;
|
|
38
38
|
export declare const HiddenColumns: StoryObj;
|
|
39
39
|
export declare const InfiniteScroll: StoryObj;
|
|
40
|
+
export declare const WindowInfiniteScroll: StoryObj;
|
|
40
41
|
export declare const InfrastructureExample: StoryObj;
|
|
41
42
|
export declare const LeadsExample: StoryObj;
|
|
42
43
|
export declare const LiveUpdates: StoryObj;
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
import { type UniversalVanillaArgs } from "../../vanillaStoryConfig";
|
|
2
2
|
export declare const salesExampleDefaults: {
|
|
3
|
-
animations: {
|
|
4
|
-
enabled: boolean;
|
|
5
|
-
};
|
|
6
3
|
columnResizing: boolean;
|
|
7
4
|
columnReordering: boolean;
|
|
8
5
|
selectableCells: boolean;
|
|
9
6
|
autoExpandColumns: boolean;
|
|
10
|
-
enableRowSelection: boolean;
|
|
11
7
|
theme: "modern-dark";
|
|
12
8
|
height: string;
|
|
9
|
+
editColumns: boolean;
|
|
13
10
|
};
|
|
14
11
|
export declare function renderSalesExample(args?: Partial<UniversalVanillaArgs>): HTMLElement;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EXTERNAL SCROLL TESTS
|
|
3
|
+
*
|
|
4
|
+
* Tests for the `scrollParent` prop which lets a consumer point the table at
|
|
5
|
+
* an external scroll container (HTMLElement or window). When active and
|
|
6
|
+
* neither height nor maxHeight is set, the external parent's scroll drives
|
|
7
|
+
* row virtualization and onLoadMore.
|
|
8
|
+
*/
|
|
9
|
+
import type { Meta } from "@storybook/html";
|
|
10
|
+
declare const meta: Meta;
|
|
11
|
+
export default meta;
|
|
12
|
+
export declare const ExternalElementVirtualizes: {
|
|
13
|
+
tags: string[];
|
|
14
|
+
render: () => HTMLDivElement;
|
|
15
|
+
play: ({ canvasElement }: {
|
|
16
|
+
canvasElement: HTMLElement;
|
|
17
|
+
}) => Promise<void>;
|
|
18
|
+
};
|
|
19
|
+
export declare const ExternalScrollFiresOnLoadMore: {
|
|
20
|
+
tags: string[];
|
|
21
|
+
render: () => HTMLDivElement;
|
|
22
|
+
play: ({ canvasElement }: {
|
|
23
|
+
canvasElement: HTMLElement;
|
|
24
|
+
}) => Promise<void>;
|
|
25
|
+
};
|
|
26
|
+
export declare const NoScrollParentRendersAll: {
|
|
27
|
+
tags: string[];
|
|
28
|
+
render: () => HTMLDivElement;
|
|
29
|
+
play: ({ canvasElement }: {
|
|
30
|
+
canvasElement: HTMLElement;
|
|
31
|
+
}) => Promise<void>;
|
|
32
|
+
};
|
|
33
|
+
export declare const HeightOverridesScrollParent: {
|
|
34
|
+
tags: string[];
|
|
35
|
+
render: () => HTMLDivElement;
|
|
36
|
+
play: ({ canvasElement }: {
|
|
37
|
+
canvasElement: HTMLElement;
|
|
38
|
+
}) => Promise<void>;
|
|
39
|
+
};
|
|
40
|
+
export declare const StickyHeaderInExternalScroll: {
|
|
41
|
+
tags: string[];
|
|
42
|
+
render: () => HTMLDivElement;
|
|
43
|
+
play: ({ canvasElement }: {
|
|
44
|
+
canvasElement: HTMLElement;
|
|
45
|
+
}) => Promise<void>;
|
|
46
|
+
};
|
|
47
|
+
export declare const RowGroupingInExternalScroll: {
|
|
48
|
+
tags: string[];
|
|
49
|
+
render: () => HTMLDivElement;
|
|
50
|
+
play: ({ canvasElement }: {
|
|
51
|
+
canvasElement: HTMLElement;
|
|
52
|
+
}) => Promise<void>;
|
|
53
|
+
};
|