@etsoo/react 1.8.56 → 1.8.57
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.
|
@@ -2,7 +2,6 @@ import { EntityStatus } from "@etsoo/appscript";
|
|
|
2
2
|
import { DataTypes } from "@etsoo/shared";
|
|
3
3
|
import React from "react";
|
|
4
4
|
import { GridLoaderStates } from "./GridLoader";
|
|
5
|
-
import { ScrollerGridForwardRef } from "./ScrollerGrid";
|
|
6
5
|
/**
|
|
7
6
|
* Grid data type
|
|
8
7
|
*/
|
|
@@ -78,10 +77,9 @@ export type GridCellRendererProps<T, P = any> = GridCellFormatterProps<T> & {
|
|
|
78
77
|
*/
|
|
79
78
|
renderProps?: GridColumnRenderProps;
|
|
80
79
|
/**
|
|
81
|
-
*
|
|
82
|
-
* @param callback Callback
|
|
80
|
+
* Trigger change
|
|
83
81
|
*/
|
|
84
|
-
|
|
82
|
+
triggerChange?: () => void;
|
|
85
83
|
};
|
|
86
84
|
/**
|
|
87
85
|
* Grid header cell renderer props
|
|
@@ -2,7 +2,6 @@ import { EntityStatus } from "@etsoo/appscript";
|
|
|
2
2
|
import { DataTypes } from "@etsoo/shared";
|
|
3
3
|
import React from "react";
|
|
4
4
|
import { GridLoaderStates } from "./GridLoader";
|
|
5
|
-
import { ScrollerGridForwardRef } from "./ScrollerGrid";
|
|
6
5
|
/**
|
|
7
6
|
* Grid data type
|
|
8
7
|
*/
|
|
@@ -78,10 +77,9 @@ export type GridCellRendererProps<T, P = any> = GridCellFormatterProps<T> & {
|
|
|
78
77
|
*/
|
|
79
78
|
renderProps?: GridColumnRenderProps;
|
|
80
79
|
/**
|
|
81
|
-
*
|
|
82
|
-
* @param callback Callback
|
|
80
|
+
* Trigger change
|
|
83
81
|
*/
|
|
84
|
-
|
|
82
|
+
triggerChange?: () => void;
|
|
85
83
|
};
|
|
86
84
|
/**
|
|
87
85
|
* Grid header cell renderer props
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@etsoo/react",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.57",
|
|
4
4
|
"description": "TypeScript ReactJs UI Independent Framework",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/mjs/index.js",
|
|
@@ -52,9 +52,9 @@
|
|
|
52
52
|
"@babel/plugin-transform-runtime": "^7.28.3",
|
|
53
53
|
"@babel/preset-env": "^7.28.3",
|
|
54
54
|
"@babel/runtime-corejs3": "^7.28.4",
|
|
55
|
-
"@testing-library/jest-dom": "^6.
|
|
55
|
+
"@testing-library/jest-dom": "^6.9.0",
|
|
56
56
|
"@testing-library/react": "^16.3.0",
|
|
57
|
-
"@types/react": "^19.1.
|
|
57
|
+
"@types/react": "^19.1.16",
|
|
58
58
|
"@types/react-dom": "^19.1.9",
|
|
59
59
|
"@types/react-window": "^2.0.0",
|
|
60
60
|
"@vitejs/plugin-react": "^5.0.4",
|
|
@@ -2,7 +2,6 @@ import { EntityStatus } from "@etsoo/appscript";
|
|
|
2
2
|
import { DataTypes } from "@etsoo/shared";
|
|
3
3
|
import React from "react";
|
|
4
4
|
import { GridLoaderStates } from "./GridLoader";
|
|
5
|
-
import { ScrollerGridForwardRef } from "./ScrollerGrid";
|
|
6
5
|
|
|
7
6
|
/**
|
|
8
7
|
* Grid data type
|
|
@@ -117,15 +116,9 @@ export type GridCellRendererProps<T, P = any> = GridCellFormatterProps<T> & {
|
|
|
117
116
|
renderProps?: GridColumnRenderProps;
|
|
118
117
|
|
|
119
118
|
/**
|
|
120
|
-
*
|
|
121
|
-
* @param callback Callback
|
|
119
|
+
* Trigger change
|
|
122
120
|
*/
|
|
123
|
-
|
|
124
|
-
callback: (
|
|
125
|
-
items: T[],
|
|
126
|
-
ref?: ScrollerGridForwardRef<T>
|
|
127
|
-
) => T[] | undefined | void
|
|
128
|
-
) => void;
|
|
121
|
+
triggerChange?: () => void;
|
|
129
122
|
};
|
|
130
123
|
|
|
131
124
|
/**
|