@8sheets/data-grid-react 1.0.2 → 1.1.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.
- package/README.md +1 -1
- package/data-grid.js +3 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# 8sheets Data Grid for React
|
|
2
2
|
|
|
3
|
-
`<DataGrid>` puts an [8sheets Data Grid](https://8sheets.com/data-grid/) in a React app. It works with React 18 and 19, StrictMode included, and with server rendering. Props, the change event and the ref are typed. This is version 1.0.
|
|
3
|
+
`<DataGrid>` puts an [8sheets Data Grid](https://8sheets.com/data-grid/) in a React app. It works with React 18 and 19, StrictMode included, and with server rendering. Props, the change event and the ref are typed. This is version 1.1.0.
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
package/data-grid.js
CHANGED
|
@@ -37,6 +37,9 @@ const GRID_METHODS = [
|
|
|
37
37
|
'isLoading', 'cancelLoad',
|
|
38
38
|
'setChrome', 'getChrome', 'setLanguage', 'getLanguage', 'setOptions',
|
|
39
39
|
'getRecords', 'getRecord', 'getCell', 'getCounts', 'getTotals',
|
|
40
|
+
'setTree', 'expandTreeNode', 'collapseTreeNode', 'getPinnedRows', 'pinRows', 'unpinRows', 'moveRecords',
|
|
41
|
+
'applyTransaction', 'applyTransactionAsync', 'flashCells', 'chartRange', 'openFind', 'closeFind', 'findNext', 'openContextMenu',
|
|
42
|
+
'getExpandedRecords', 'setDensity', 'getDensity', 'askAssistant', 'getStateSchema', 'validateState',
|
|
40
43
|
];
|
|
41
44
|
|
|
42
45
|
const isPlain = (v) => v !== null && typeof v === 'object' && (Array.isArray(v) || Object.getPrototypeOf(v) === Object.prototype || Object.getPrototypeOf(v) === null);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@8sheets/data-grid-react",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
5
5
|
"homepage": "https://8sheets.com",
|
|
6
6
|
"author": "8cells",
|
|
@@ -41,6 +41,6 @@
|
|
|
41
41
|
],
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"react": ">=18",
|
|
44
|
-
"@8sheets/data-grid": "1.0
|
|
44
|
+
"@8sheets/data-grid": "1.1.0"
|
|
45
45
|
}
|
|
46
46
|
}
|