@sheetxl/grid-react 0.7.5 → 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/browser/cjs/index.cjs +2 -2
- package/browser/esm/index.mjs +3 -3
- package/node/esm/index.mjs +147 -147
- package/package.json +3 -3
- package/types/index.d.ts +4 -4
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
|
+
"version": "0.7.6",
|
|
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.
|
|
45
|
-
"@sheetxl/utils-react": "^0.7.
|
|
44
|
+
"@sheetxl/utils": "^0.7.6",
|
|
45
|
+
"@sheetxl/utils-react": "^0.7.6",
|
|
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
|
@@ -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
|
-
|
|
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():
|
|
683
|
+
getTotalSize(): Size;
|
|
684
684
|
/**
|
|
685
685
|
* This is the size for all views (but not including the headers)
|
|
686
686
|
*/
|
|
687
|
-
getViewportSize():
|
|
687
|
+
getViewportSize(): Size;
|
|
688
688
|
/**
|
|
689
689
|
* Allows for access to all current views.
|
|
690
690
|
*/
|