react-data-grid
Advanced tools
Comparing version
@@ -29,2 +29,3 @@ import { Context } from 'react'; | ||
readonly renderCell: (props: RenderCellProps<TRow, TSummaryRow>) => ReactNode; | ||
readonly renderHeaderCell: (props: RenderHeaderCellProps<TRow, TSummaryRow>) => ReactNode; | ||
} | ||
@@ -266,3 +267,3 @@ | ||
export declare type DefaultColumnOptions<R, SR> = Pick<Column<R, SR>, 'renderCell' | 'width' | 'minWidth' | 'maxWidth' | 'resizable' | 'sortable' | 'draggable'>; | ||
export declare type DefaultColumnOptions<R, SR> = Pick<Column<R, SR>, 'renderCell' | 'renderHeaderCell' | 'width' | 'minWidth' | 'maxWidth' | 'resizable' | 'sortable' | 'draggable'>; | ||
@@ -269,0 +270,0 @@ declare type Direction = 'ltr' | 'rtl'; |
{ | ||
"name": "react-data-grid", | ||
"version": "7.0.0-beta.48", | ||
"version": "7.0.0-beta.49", | ||
"license": "MIT", | ||
@@ -64,4 +64,4 @@ "description": "Feature-rich and customizable data grid React component", | ||
"@microsoft/api-extractor": "^7.50.0", | ||
"@tanstack/react-router": "^1.102.5", | ||
"@tanstack/router-plugin": "^1.102.5", | ||
"@tanstack/react-router": "^1.114.16", | ||
"@tanstack/router-plugin": "^1.114.16", | ||
"@testing-library/dom": "^10.1.0", | ||
@@ -76,5 +76,5 @@ "@testing-library/react": "^16.2.0", | ||
"@vitejs/plugin-react": "^4.3.4", | ||
"@vitest/browser": "3.0.3", | ||
"@vitest/coverage-v8": "^3.0.5", | ||
"@vitest/eslint-plugin": "^1.1.30", | ||
"@vitest/browser": "^3.0.6", | ||
"@vitest/coverage-v8": "^3.0.6", | ||
"@vitest/eslint-plugin": "^1.1.31", | ||
"@wyw-in-js/rollup": "^0.5.0", | ||
@@ -86,12 +86,12 @@ "@wyw-in-js/vite": "^0.5.0", | ||
"eslint-plugin-react": "^7.37.4", | ||
"eslint-plugin-react-compiler": "^19.0.0-beta-30d8a17-20250209", | ||
"eslint-plugin-react-hooks": "^5.0.0", | ||
"eslint-plugin-react-compiler": "^19.0.0-beta-bafa41b-20250307", | ||
"eslint-plugin-react-hooks": "^5.2.0", | ||
"eslint-plugin-react-hooks-extra": "^1.26.2", | ||
"eslint-plugin-sonarjs": "^3.0.1", | ||
"eslint-plugin-testing-library": "^7.1.1", | ||
"jspdf": "^2.5.1", | ||
"jspdf-autotable": "^3.5.23", | ||
"jspdf": "^3.0.0", | ||
"jspdf-autotable": "^5.0.2", | ||
"playwright": "^1.50.1", | ||
"postcss": "^8.5.2", | ||
"prettier": "3.5.0", | ||
"prettier": "3.5.3", | ||
"react": "^19.0.0", | ||
@@ -101,12 +101,12 @@ "react-dnd": "^16.0.1", | ||
"react-dom": "^19.0.0", | ||
"rolldown": "^1.0.0-beta.3", | ||
"typescript": "~5.7.3", | ||
"rolldown": "^1.0.0-beta.4", | ||
"typescript": "~5.8.2", | ||
"vite": "^6.1.0", | ||
"vitest": "^3.0.5", | ||
"vitest": "^3.0.6", | ||
"vitest-browser-react": "^0.1.1" | ||
}, | ||
"peerDependencies": { | ||
"react": "^18.0 || ^19.0", | ||
"react-dom": "^18.0 || ^19.0" | ||
"react": "^19.0", | ||
"react-dom": "^19.0" | ||
} | ||
} |
@@ -67,3 +67,3 @@ # react-data-grid | ||
import DataGrid from 'react-data-grid'; | ||
import { DataGrid } from 'react-data-grid'; | ||
@@ -118,3 +118,3 @@ const columns = [ | ||
```tsx | ||
import DataGrid from 'react-data-grid'; | ||
import { DataGrid } from 'react-data-grid'; | ||
@@ -145,3 +145,3 @@ interface Row { | ||
import { useState } from 'react'; | ||
import DataGrid from 'react-data-grid'; | ||
import { DataGrid } from 'react-data-grid'; | ||
@@ -187,3 +187,3 @@ function MyGrid() { | ||
import { useState } from 'react'; | ||
import DataGrid, { SelectColumn } from 'react-data-grid'; | ||
import { DataGrid, SelectColumn } from 'react-data-grid'; | ||
@@ -231,3 +231,3 @@ const rows: readonly Rows[] = [...]; | ||
import { useState } from 'react'; | ||
import DataGrid, { SelectColumn } from 'react-data-grid'; | ||
import { DataGrid, SelectColumn } from 'react-data-grid'; | ||
@@ -430,3 +430,3 @@ const rows: readonly Rows[] = [...]; | ||
```tsx | ||
import DataGrid, { RenderRowProps, Row } from 'react-data-grid'; | ||
import { DataGrid, RenderRowProps, Row } from 'react-data-grid'; | ||
@@ -453,3 +453,3 @@ function myRowRenderer(key: React.Key, props: RenderRowProps<Row>) { | ||
```tsx | ||
import DataGrid from 'react-data-grid'; | ||
import { DataGrid } from 'react-data-grid'; | ||
@@ -456,0 +456,0 @@ function MyGrid() { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
385205
3.99%8
14.29%3569
-0.06%