@sheetxl/grid-react 0.7.22 → 0.7.24

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,6 +1,6 @@
1
1
  (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode("._sheetxl-grid_h9wwa_7{position:relative;box-sizing:border-box;user-select:none}._sheetxl-grid_h9wwa_7 *{box-sizing:border-box!important}._sheetxl-grid_h9wwa_7 *:focus{outline:none}._sheetxl-grid_h9wwa_7 .cell-container{position:absolute;overflow:visible;white-space:pre}._sheetxl-grid_h9wwa_7 .cell-container>*{inset:0;position:absolute}._sheetxl-grid_h9wwa_7 .sheetxl-stage{contain:strict}._sheetxl-grid_h9wwa_7 .sheetxl-stage>*{contain:strict}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
2
2
  "use strict";/**
3
- * @license @sheetxl/grid-react - Grid React - Advanced grid component for React - v0.7.22
3
+ * @license @sheetxl/grid-react - Grid React - Advanced grid component for React - v0.7.24
4
4
  *
5
5
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
6
6
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -5,7 +5,7 @@ import { useRef as de, useReducer as Zn, useState as gt, useEffect as It, useCal
5
5
  import { CoordUtils as V, CommonUtils as Wt, RangeOrientation as Nt, Direction as g, AnchorLocation as tt } from "@sheetxl/utils";
6
6
  import { createPortal as po } from "react-dom";
7
7
  /**
8
- * @license @sheetxl/grid-react - Grid React - Advanced grid component for React - v0.7.22
8
+ * @license @sheetxl/grid-react - Grid React - Advanced grid component for React - v0.7.24
9
9
  *
10
10
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
11
11
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/grid-react - Grid React - Advanced grid component for React - v0.7.22
2
+ * @license @sheetxl/grid-react - Grid React - Advanced grid component for React - v0.7.24
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/grid-react",
3
3
  "description": "Grid React - Advanced grid component for React",
4
- "version": "0.7.22",
4
+ "version": "0.7.24",
5
5
  "license": "SEE LICENSE IN <LICENSE>",
6
6
  "type": "module",
7
7
  "exports": {
@@ -41,8 +41,8 @@
41
41
  "table"
42
42
  ],
43
43
  "dependencies": {
44
- "@sheetxl/utils": "^0.7.22",
45
- "@sheetxl/utils-react": "^0.7.22",
44
+ "@sheetxl/utils": "^0.7.24",
45
+ "@sheetxl/utils-react": "^0.7.24",
46
46
  "clsx": "^2.1.1",
47
47
  "react-merge-refs": "^3.0.2",
48
48
  "react-use": "^17.6.0",
package/types/index.d.ts CHANGED
@@ -826,7 +826,13 @@ export declare interface IGridView {
826
826
  * Indicate the allowable scroll directions.
827
827
  */
828
828
  getScrollOrientation(): AxisOrientationFlags;
829
+ /**
830
+ * Returns the current scroll top/left for the view.
831
+ */
829
832
  getScrollTopLeft(): TopLeft;
833
+ /**
834
+ * Returns the number of frozen rows and columns.
835
+ */
830
836
  getFreezeTopLeft(): TopLeft;
831
837
  /**
832
838
  * Returns the total size of all rendered values in pixels.