@sheetxl/grid-react 0.7.4 → 0.7.6

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/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.4",
4
+ "version": "0.7.6",
5
5
  "license": "SEE LICENSE IN <LICENSE>",
6
6
  "type": "module",
7
7
  "exports": {
@@ -20,18 +20,29 @@
20
20
  "*.css",
21
21
  "**/*.css"
22
22
  ],
23
+ "homepage": "https://sheetxl.com",
24
+ "repository": {
25
+ "type": "git",
26
+ "url": "https://github.com/sheetxl/sheetxl.git"
27
+ },
28
+ "bugs": {
29
+ "url": "https://github.com/sheetxl/sheetxl/issues"
30
+ },
23
31
  "keywords": [
24
32
  "sheetxl",
25
33
  "spreadsheet",
34
+ "javascript",
35
+ "typescript",
36
+ "data grid",
37
+ "excel",
38
+ "xlsx",
26
39
  "react",
27
- "grid",
28
- "data-grid",
29
40
  "utilities",
30
41
  "table"
31
42
  ],
32
43
  "dependencies": {
33
- "@sheetxl/utils": "^0.7.4",
34
- "@sheetxl/utils-react": "^0.7.4",
44
+ "@sheetxl/utils": "^0.7.6",
45
+ "@sheetxl/utils-react": "^0.7.6",
35
46
  "clsx": "^2.1.1",
36
47
  "react-merge-refs": "^3.0.2",
37
48
  "react-use": "^17.6.0",
package/types/index.d.ts CHANGED
@@ -5,7 +5,6 @@ import { CellCoords } from '@sheetxl/utils';
5
5
  import { CellFinder } from '@sheetxl/utils-react';
6
6
  import { CellLayout } from '@sheetxl/utils-react';
7
7
  import { default as default_2 } from 'react';
8
- import { Dimensions } from '@sheetxl/utils';
9
8
  import { Direction } from '@sheetxl/utils';
10
9
  import { HiddenHeadersAt } from '@sheetxl/utils-react';
11
10
  import { HorizontalAlignment } from '@sheetxl/utils-react';
@@ -23,6 +22,7 @@ import { Rectangle } from '@sheetxl/utils';
23
22
  import { ScrollableViewport } from '@sheetxl/utils-react';
24
23
  import { ScrollPaneProps } from '@sheetxl/utils-react';
25
24
  import { SelectionCoords } from '@sheetxl/utils';
25
+ import { Size } from '@sheetxl/utils';
26
26
  import { TopLeft } from '@sheetxl/utils';
27
27
 
28
28
  export declare interface AnimatedStrokeProps {
@@ -104,7 +104,7 @@ export declare interface CellEditorProps<CT, DT> extends default_2.HTMLAttribute
104
104
  */
105
105
  containerBounds?: Bounds;
106
106
  disabled?: boolean;
107
- setNaturalDimensions?(dim: Dimensions): void;
107
+ setNaturalSize?(size: Size): void;
108
108
  /**
109
109
  * Callback to enable navigation after submit
110
110
  * @param direction
@@ -680,11 +680,11 @@ export declare interface GridView {
680
680
  /**
681
681
  * Returns the total size of all rendered values in pixels.
682
682
  */
683
- getTotalSize(): Dimensions;
683
+ getTotalSize(): Size;
684
684
  /**
685
685
  * This is the size for all views (but not including the headers)
686
686
  */
687
- getViewportSize(): Dimensions;
687
+ getViewportSize(): Size;
688
688
  /**
689
689
  * Allows for access to all current views.
690
690
  */