@sheetxl/react 0.4.7 → 0.4.9

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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.4.7
2
+ * @license @sheetxl/react - React - React components needed to build advanced grid and spreadsheet UIs. - v0.4.9
3
3
  *
4
4
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
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.7",
4
+ "version": "0.4.9",
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.7",
49
- "@sheetxl/sdk": "^0.4.7",
50
- "@sheetxl/utils": "^0.4.7",
51
- "@sheetxl/utils-react": "^0.4.7",
48
+ "@sheetxl/grid-react": "^0.4.9",
49
+ "@sheetxl/sdk": "^0.4.9",
50
+ "@sheetxl/utils": "^0.4.9",
51
+ "@sheetxl/utils-react": "^0.4.9",
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
- isReadonly(): boolean;
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
- * This hook delegates to the model addListener.
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 the while the listeners object may change the shape does not.
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