slickgrid-react 9.1.0 → 9.2.0

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.
Files changed (2) hide show
  1. package/README.md +9 -3
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -38,10 +38,16 @@ npm install slickgrid-react
38
38
  ```tsx
39
39
  import { type Column, type GridOption, SlickgridReact } from 'slickgrid-react';
40
40
 
41
+ interface User {
42
+ firstName: string;
43
+ lastName: string;
44
+ age: number;
45
+ }
46
+
41
47
  export default function Example() {
42
- const [columns, setColumns] = useState<Column[]>();
48
+ const [columns, setColumns] = useState<Column[]>(); // it could also be `Column<User>[]`
43
49
  const [options, setOptions] = useState<GridOption>();
44
- const [dataset, setDataset] = useState<any[]>(getData());
50
+ const [dataset, setDataset] = useState<User[]>(getData());
45
51
 
46
52
  useEffect(() => defineGrid());
47
53
 
@@ -82,7 +88,7 @@ This project **does not** work well with `React.StrictMode`, so please make sure
82
88
 
83
89
  | Slickgrid-React | React version | Migration Guide | Notes |
84
90
  |-------------------|-----------------|-----------------|------|
85
- | 9.x | React 18+ | [Migration 9.x](https://ghiscoding.gitbook.io/slickgrid-react/migrations/migration-to-9.x) | ESM-Only, requires Slickgrid-Universal [9.x](https://github.com/ghiscoding/slickgrid-universal/releases/tag/v9.0.0) |
91
+ | 9.x | React 19+ | [Migration 9.x](https://ghiscoding.gitbook.io/slickgrid-react/migrations/migration-to-9.x) | ESM-Only, requires Slickgrid-Universal [9.x](https://github.com/ghiscoding/slickgrid-universal/releases/tag/v9.0.0) |
86
92
  | 5.x | React 18+ | [Migration 5.x](https://ghiscoding.gitbook.io/slickgrid-react/migrations/migration-to-5.x) | Modern UI / Dark Mode, requires Slickgrid-Universal [5.x](https://github.com/ghiscoding/slickgrid-universal/releases/tag/v5.0.0) |
87
93
  | 4.x | | [Migration 4.x](https://ghiscoding.gitbook.io/slickgrid-react/migrations/migration-to-4.x) | merge SlickGrid into Slickgrid-Universal, requires Slickgrid-Universal [4.x](https://github.com/ghiscoding/slickgrid-universal/releases/tag/v4.0.2) |
88
94
  | 3.x | | [Migration 3.x](https://ghiscoding.gitbook.io/slickgrid-react/migrations/migration-to-3.x) | removal of jQuery (now uses browser native code), requires Slickgrid-Universal [3.x](https://github.com/ghiscoding/slickgrid-universal/releases/tag/v3.0.0) |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "slickgrid-react",
3
- "version": "9.1.0",
3
+ "version": "9.2.0",
4
4
  "description": "Slickgrid components made available in React",
5
5
  "keywords": [
6
6
  "react",
@@ -57,12 +57,12 @@
57
57
  "/src"
58
58
  ],
59
59
  "dependencies": {
60
- "@slickgrid-universal/common": "9.1.0",
61
- "@slickgrid-universal/custom-footer-component": "9.1.0",
62
- "@slickgrid-universal/empty-warning-component": "9.1.0",
60
+ "@slickgrid-universal/common": "9.2.0",
61
+ "@slickgrid-universal/custom-footer-component": "9.2.0",
62
+ "@slickgrid-universal/empty-warning-component": "9.2.0",
63
63
  "@slickgrid-universal/event-pub-sub": "9.0.0",
64
- "@slickgrid-universal/pagination-component": "9.1.0",
65
- "@slickgrid-universal/row-detail-view-plugin": "9.1.0",
64
+ "@slickgrid-universal/pagination-component": "9.2.0",
65
+ "@slickgrid-universal/row-detail-view-plugin": "9.2.0",
66
66
  "@slickgrid-universal/utils": "9.0.0",
67
67
  "dequal": "^2.0.3",
68
68
  "sortablejs": "^1.15.6"
@@ -70,5 +70,5 @@
70
70
  "peerDependencies": {
71
71
  "react": ">=19.0.0"
72
72
  },
73
- "gitHead": "13b7246f58494ab65f345b8eb33c34d75c457aa5"
73
+ "gitHead": "c931d2b9f5f4f947777dcd36064763eef2a07745"
74
74
  }