@sheetxl/react 0.4.6 → 0.4.8
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/browser/cjs/{CpCTdmoX14zNEuE9.cjs → B4ETvS5YfOd86KDN.cjs} +1 -1
- package/browser/cjs/{BKaPRnCdvhsTJu3T.cjs → B4mGpkDOkCHItemz.cjs} +1 -1
- package/browser/cjs/{BGz8KzCxE1Ll3eE8.cjs → BZs0YPX82So7JAoE.cjs} +1 -1
- package/browser/cjs/index.cjs +14 -14
- package/browser/esm/{D01QK5R5oai8-MbY.mjs → Bcq_kfgxJrhU6yN7.mjs} +1 -1
- package/browser/esm/{D3nARYwZRWgjSc6Y.mjs → Bl-eU8zCnI2rr2d3.mjs} +1 -1
- package/browser/esm/{BUyTmBBob1sqvmVp.mjs → LItROSSHxPJCz9E5.mjs} +1 -1
- package/browser/esm/index.mjs +1405 -1403
- package/node/esm/{C5RxFjC6hQ5dPx8a.mjs → C8tQNfgmpDLQkca4.mjs} +1 -1
- package/node/esm/index.mjs +292 -290
- package/package.json +5 -5
- package/types/index.d.ts +3 -3
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sheetxl/react",
|
|
3
3
|
"description": "React - React components needed to build advanced grid and spreadsheet UIs.",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.8",
|
|
5
5
|
"license": "SEE LICENSE IN <LICENSE>",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"exports": {
|
|
@@ -45,10 +45,10 @@
|
|
|
45
45
|
"rooks": "^8.1.0"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"@sheetxl/grid-react": "^0.4.
|
|
49
|
-
"@sheetxl/sdk": "^0.4.
|
|
50
|
-
"@sheetxl/utils": "^0.4.
|
|
51
|
-
"@sheetxl/utils-react": "^0.4.
|
|
48
|
+
"@sheetxl/grid-react": "^0.4.8",
|
|
49
|
+
"@sheetxl/sdk": "^0.4.8",
|
|
50
|
+
"@sheetxl/utils": "^0.4.8",
|
|
51
|
+
"@sheetxl/utils-react": "^0.4.8",
|
|
52
52
|
"react": "^19.1.0",
|
|
53
53
|
"react-dom": "^19.1.0"
|
|
54
54
|
}
|
package/types/index.d.ts
CHANGED
|
@@ -451,7 +451,7 @@ export declare namespace IScriptEditor {
|
|
|
451
451
|
/**
|
|
452
452
|
* Returns if the script is readonly.
|
|
453
453
|
*/
|
|
454
|
-
|
|
454
|
+
isReadOnly(): boolean;
|
|
455
455
|
}
|
|
456
456
|
export interface ContainerListener {
|
|
457
457
|
/**
|
|
@@ -1323,7 +1323,7 @@ export declare const useBordersOverlay: ({ getBorderAt, borderRenderer, getVisib
|
|
|
1323
1323
|
export declare const useDocThemes: () => IThemeCollection;
|
|
1324
1324
|
|
|
1325
1325
|
/**
|
|
1326
|
-
*
|
|
1326
|
+
* React hook that subscribes IModel.addListeners.
|
|
1327
1327
|
* This also ensures that it a listener object is passed in that was dynamically recreated it will
|
|
1328
1328
|
* not deregister on each render.
|
|
1329
1329
|
*
|
|
@@ -1331,7 +1331,7 @@ export declare const useDocThemes: () => IThemeCollection;
|
|
|
1331
1331
|
* @param listeners
|
|
1332
1332
|
*
|
|
1333
1333
|
* @remarks
|
|
1334
|
-
* **IMPORTANT** This assumes that
|
|
1334
|
+
* **IMPORTANT** This assumes that while the listeners object may change the shape does not.
|
|
1335
1335
|
*/
|
|
1336
1336
|
export declare const useModelListener: <SOURCE, EVENTS>(source: IListener.ISource<SOURCE>, listeners: IListener.Callbacks<SOURCE, EVENTS>, options?: useModelListenerOptions) => void;
|
|
1337
1337
|
|