gp-grid-react 0.2.1 → 0.2.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/dist/index.d.ts +3 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -297,11 +297,11 @@ CreateSlotInstruction | DestroySlotInstruction | AssignSlotInstruction | MoveSlo
|
|
|
297
297
|
//#endregion
|
|
298
298
|
//#region ../core/src/types/renderers.d.ts
|
|
299
299
|
/** Cell renderer params */
|
|
300
|
-
interface CellRendererParams {
|
|
300
|
+
interface CellRendererParams<TData extends Row = Row> {
|
|
301
301
|
/** Cell value */
|
|
302
302
|
value: CellValue;
|
|
303
303
|
/** Row data */
|
|
304
|
-
rowData:
|
|
304
|
+
rowData: TData;
|
|
305
305
|
/** Column definition */
|
|
306
306
|
column: ColumnDefinition;
|
|
307
307
|
/** Row index */
|
|
@@ -316,7 +316,7 @@ interface CellRendererParams {
|
|
|
316
316
|
isEditing: boolean;
|
|
317
317
|
}
|
|
318
318
|
/** Edit renderer params */
|
|
319
|
-
interface EditRendererParams extends CellRendererParams {
|
|
319
|
+
interface EditRendererParams<TData extends Row = Row> extends CellRendererParams<TData> {
|
|
320
320
|
/** Initial value */
|
|
321
321
|
initialValue: CellValue;
|
|
322
322
|
/** On value change */
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gp-grid-react",
|
|
3
3
|
"description": "A high-performance React data grid component with virtual scrolling, cell selection, sorting, filtering, and Excel-like editing",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.3",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/index.js",
|