simple-table-core 3.7.1 → 3.7.3
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.
|
@@ -3,12 +3,6 @@ export type SectionPaneRole = "sticky" | "scrollbar" | "header" | "body";
|
|
|
3
3
|
export interface SectionScrollControllerConfig {
|
|
4
4
|
/** Heavy body virtualization. Throttled to every {@link VIRTUALIZATION_THRESHOLD_PX}px. */
|
|
5
5
|
onMainSectionScrollLeft?: (scrollLeft: number) => void;
|
|
6
|
-
/**
|
|
7
|
-
* Lightweight header re-render, run on every main-section scroll frame (not throttled) so the
|
|
8
|
-
* header tracks the body fluidly during momentum. Re-rendering only the (few) header cells each
|
|
9
|
-
* frame avoids the stepwise "stagger" that throttled header virtualization produces.
|
|
10
|
-
*/
|
|
11
|
-
onMainSectionHeaderFrame?: (scrollLeft: number) => void;
|
|
12
6
|
}
|
|
13
7
|
/**
|
|
14
8
|
* Single controller for horizontal scroll sync across all four panes per section:
|
|
@@ -20,6 +14,8 @@ export declare class SectionScrollController {
|
|
|
20
14
|
private scrollLeftBySection;
|
|
21
15
|
private panesBySection;
|
|
22
16
|
private scrollHandlers;
|
|
17
|
+
/** Non-passive touchmove handlers on header panes that cancel iOS touch scrolling. */
|
|
18
|
+
private headerTouchMoveHandlers;
|
|
23
19
|
private config;
|
|
24
20
|
/** Guard to avoid re-entrancy when we programmatically set scrollLeft on other panes */
|
|
25
21
|
private isSyncing;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "simple-table-core",
|
|
3
|
-
"version": "3.7.
|
|
3
|
+
"version": "3.7.3",
|
|
4
4
|
"main": "dist/cjs/index.js",
|
|
5
5
|
"module": "dist/index.es.js",
|
|
6
6
|
"types": "dist/src/index.d.ts",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"./styles/base.css": "./src/styles/base.css",
|
|
19
19
|
"./styles/themes/*.css": "./src/styles/themes/*.css"
|
|
20
20
|
},
|
|
21
|
-
"license": "
|
|
21
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
22
22
|
"files": [
|
|
23
23
|
"dist",
|
|
24
24
|
"src/styles",
|
|
@@ -107,7 +107,6 @@
|
|
|
107
107
|
"grid.js alternative",
|
|
108
108
|
"jspreadsheet alternative",
|
|
109
109
|
"free data grid",
|
|
110
|
-
"mit data grid",
|
|
111
110
|
"lightweight data grid",
|
|
112
111
|
"virtualized table",
|
|
113
112
|
"virtual scrolling table",
|