@simple-table/solid 3.0.0 → 3.0.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.
package/README.md
CHANGED
|
@@ -33,4 +33,4 @@ npm install @simple-table/solid
|
|
|
33
33
|
|
|
34
34
|
## License
|
|
35
35
|
|
|
36
|
-
Dual licensed — MIT for individuals
|
|
36
|
+
Dual licensed — MIT for zero-revenue individuals and startups; Pro and Enterprise (commercial EULA) for revenue-generating companies. See [LICENSE](LICENSE), [EULA.txt](../../EULA.txt), and [pricing](https://www.simple-table.com/pricing).
|
|
@@ -97,6 +97,12 @@ export declare class RenderOrchestrator {
|
|
|
97
97
|
getLastProcessedResult(): ProcessRowsResult | null;
|
|
98
98
|
invalidateCache(type?: "body" | "header" | "context" | "all"): void;
|
|
99
99
|
computeEffectiveHeaders(headers: HeaderObject[], config: SimpleTableConfig, customTheme: CustomTheme, containerWidth?: number): HeaderObject[];
|
|
100
|
+
/**
|
|
101
|
+
* Warms flattened/processed row caches so imperative APIs (e.g. getVisibleRows) are
|
|
102
|
+
* correct before the first ResizeObserver-driven render, without mutating the DOM.
|
|
103
|
+
*/
|
|
104
|
+
primeLastProcessedResult(context: RenderContext, state: RenderState): void;
|
|
105
|
+
private buildRowModelSnapshot;
|
|
100
106
|
render(elements: {
|
|
101
107
|
bodyContainer: HTMLElement;
|
|
102
108
|
content: HTMLElement;
|
|
@@ -11,4 +11,9 @@ export interface HorizontalScrollbarProps {
|
|
|
11
11
|
sectionScrollController?: SectionScrollController | null;
|
|
12
12
|
}
|
|
13
13
|
export declare const createHorizontalScrollbar: (props: HorizontalScrollbarProps) => HTMLElement | null;
|
|
14
|
+
/**
|
|
15
|
+
* Apply width props to an existing scrollbar from {@link createHorizontalScrollbar}.
|
|
16
|
+
* Used when layout is recreated without tearing down the DOM node (e.g. pinned resize).
|
|
17
|
+
*/
|
|
18
|
+
export declare const syncHorizontalScrollbarLayout: (container: HTMLElement, props: HorizontalScrollbarProps) => void;
|
|
14
19
|
export declare const cleanupHorizontalScrollbar: (container: HTMLElement, sectionScrollController?: SectionScrollController | null) => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simple-table/solid",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.3",
|
|
4
4
|
"main": "dist/cjs/index.js",
|
|
5
5
|
"module": "dist/index.es.js",
|
|
6
6
|
"types": "dist/types/solid/src/index.d.ts",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"solid-js": ">=1.0.0"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"simple-table-core": "3.0.
|
|
31
|
+
"simple-table-core": "3.0.3"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@babel/preset-typescript": "^7.28.5",
|