onchain-uikit 6.0.3 → 6.0.7
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/index.js +12074 -12022
- package/dist/onchain-uikit.css +1 -1
- package/lib/src/components/OnChainTable/EditableCell.d.ts +1 -0
- package/lib/src/components/OnChainTable/index.d.ts +8 -0
- package/lib/src/components/OnChainTable/useDynamicHeight.d.ts +4 -3
- package/lib/src/components/OnChainTable/virtualScroll.d.ts +10 -1
- package/package.json +1 -1
|
@@ -20,9 +20,17 @@ interface RefObject {
|
|
|
20
20
|
export interface VtOpts {
|
|
21
21
|
id?: number | string;
|
|
22
22
|
/**
|
|
23
|
-
* @default
|
|
23
|
+
* @default 3
|
|
24
24
|
*/
|
|
25
25
|
overscanRowCount?: number;
|
|
26
|
+
/**
|
|
27
|
+
* @default 0.25
|
|
28
|
+
*/
|
|
29
|
+
overscanViewportRatio?: number;
|
|
30
|
+
/**
|
|
31
|
+
* @default 12
|
|
32
|
+
*/
|
|
33
|
+
maxOverscanRowCount?: number;
|
|
26
34
|
/**
|
|
27
35
|
* this only needs the scroll.y
|
|
28
36
|
*/
|
|
@@ -63,6 +71,7 @@ interface VT_CONTEXT extends VtOpts {
|
|
|
63
71
|
row_height: number[];
|
|
64
72
|
row_height_prefix: number[];
|
|
65
73
|
row_height_prefix_dirty: boolean;
|
|
74
|
+
row_height_uniform: boolean;
|
|
66
75
|
row_count: number;
|
|
67
76
|
prev_row_count: number;
|
|
68
77
|
wrap_inst: React.RefObject<HTMLDivElement>;
|