slickgrid-react 9.0.3 → 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 +12 -6
  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,11 +88,11 @@ 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
- | 3.x | | [Migration 3.x](https://github.com/ghiscoding/slickgrid-react/wiki/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) |
89
- | 2.x | React 18+ | [Migration 2.x](https://github.com/ghiscoding/slickgrid-react/wiki/Migration-to-2.x) | removal of jQueryUI, requires Slickgrid-Universal [2.x](https://github.com/ghiscoding/slickgrid-universal/releases/tag/v2.0.0) version |
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) |
95
+ | 2.x | React 18+ | [Migration 2.x](https://ghiscoding.gitbook.io/slickgrid-react/migrations/migration-to-2.x) | removal of jQueryUI, requires Slickgrid-Universal [2.x](https://github.com/ghiscoding/slickgrid-universal/releases/tag/v2.0.0) version |
90
96
 
91
97
  ### Styling Themes
92
98
 
@@ -106,7 +112,7 @@ Also note that all of these themes also have **Dark Theme** equivalent and even
106
112
  For a complete set of working demos (40+ examples), we strongly suggest you to clone the [Slickgrid-React Demos](https://github.com/ghiscoding/slickgrid-react-demos) repository (instructions are provided inside it). The repo provides multiple examples and are updated every time a new release is out, so it is updated frequently and is used as the GitHub live demo page.
107
113
 
108
114
  ## Latest News & Releases
109
- Check out the [Releases](https://github.com/ghiscoding/slickgrid-react/releases) section for all latest News & Releases.
115
+ Check out the [Releases](https://github.com/ghiscoding/slickgrid-universal/releases) section for all latest News & Releases.
110
116
 
111
117
  ### Tested with [Jest](https://jestjs.io/) (Unit Tests) - [Cypress](https://www.cypress.io/) (E2E Tests)
112
118
  Slickgrid-Universal has **100%** Unit Test Coverage and all Slickgrid-React Examples are tested with [Cypress](https://www.cypress.io/) as E2E tests.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "slickgrid-react",
3
- "version": "9.0.3",
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.0.3",
61
- "@slickgrid-universal/custom-footer-component": "9.0.3",
62
- "@slickgrid-universal/empty-warning-component": "9.0.3",
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.0.3",
65
- "@slickgrid-universal/row-detail-view-plugin": "9.0.3",
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": "d9d48a2139e2a38aa4c6485474bcc2301097db7f"
73
+ "gitHead": "c931d2b9f5f4f947777dcd36064763eef2a07745"
74
74
  }