@sheetxl/react 0.7.3 → 0.7.5
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/README.md +9 -5
- package/browser/cjs/{CJVdXXKt-uarm1id.cjs → BsJnIwNed3pBcnMi.cjs} +1 -1
- package/browser/cjs/{CeXtOKcvqgH36WWM.cjs → CE955M-HEnxcgkwj.cjs} +1 -1
- package/browser/cjs/index.cjs +17 -17
- package/browser/cjs/{4xiDBEuWbGa-zsFY.cjs → qFryYDUi48aWqUKG.cjs} +1 -1
- package/browser/esm/{DwpsWuGKHOzs7ozE.mjs → B2CNLYOjgaXVEinf.mjs} +1 -1
- package/browser/esm/{Iqd5DBSVTJek6bMF.mjs → DXwau-epcLLreIMI.mjs} +1 -1
- package/browser/esm/index.mjs +3750 -3750
- package/browser/esm/{5FRnGJslwlHadomh.mjs → pTOYBvu1_hOPN1vg.mjs} +1 -1
- package/node/esm/{BOQt9_LZGHWr4Wd3.mjs → CrjRKu-E7AruHAfn.mjs} +1 -1
- package/node/esm/index.mjs +1067 -1067
- package/package.json +18 -6
- package/types/index.d.ts +1 -7
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.7.
|
|
4
|
+
"version": "0.7.5",
|
|
5
5
|
"license": "SEE LICENSE IN <LICENSE>",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"exports": {
|
|
@@ -20,13 +20,25 @@
|
|
|
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
40
|
"office",
|
|
28
41
|
"grid",
|
|
29
|
-
"excel",
|
|
30
42
|
"utilities",
|
|
31
43
|
"automation",
|
|
32
44
|
"charting"
|
|
@@ -37,10 +49,10 @@
|
|
|
37
49
|
"@dnd-kit/sortable": "^10.0.0",
|
|
38
50
|
"@dnd-kit/utilities": "^3.2.2",
|
|
39
51
|
"@monaco-editor/react": "^4.6.0",
|
|
40
|
-
"@sheetxl/grid-react": "^0.7.
|
|
41
|
-
"@sheetxl/sdk": "^0.7.
|
|
42
|
-
"@sheetxl/utils": "^0.7.
|
|
43
|
-
"@sheetxl/utils-react": "^0.7.
|
|
52
|
+
"@sheetxl/grid-react": "^0.7.5",
|
|
53
|
+
"@sheetxl/sdk": "^0.7.5",
|
|
54
|
+
"@sheetxl/utils": "^0.7.5",
|
|
55
|
+
"@sheetxl/utils-react": "^0.7.5",
|
|
44
56
|
"clsx": "^2.1.1",
|
|
45
57
|
"monaco-editor-auto-typings": "^0.4.6",
|
|
46
58
|
"react-merge-refs": "^3.0.2",
|
package/types/index.d.ts
CHANGED
|
@@ -49,7 +49,6 @@ import { IWorkbook } from '@sheetxl/sdk';
|
|
|
49
49
|
import { JSX } from 'react/jsx-runtime';
|
|
50
50
|
import { LicenseDetails } from '@sheetxl/sdk';
|
|
51
51
|
import { LicenseManager } from '@sheetxl/sdk';
|
|
52
|
-
import { Notifier } from '@sheetxl/utils-react';
|
|
53
52
|
import { ReferenceableClipboard } from '@sheetxl/utils';
|
|
54
53
|
import { ScrollableViewport } from '@sheetxl/utils-react';
|
|
55
54
|
import { ScrollbarOrientation } from '@sheetxl/utils-react';
|
|
@@ -314,7 +313,6 @@ export declare interface EditableLabelProps extends Omit<default_2.HTMLAttribute
|
|
|
314
313
|
onChange?: (value: string) => void;
|
|
315
314
|
onSubmit?: (value: string) => boolean | void;
|
|
316
315
|
onCancel?: () => void;
|
|
317
|
-
notifier?: Notifier;
|
|
318
316
|
createInput?: (props: any) => default_2.ReactElement<HTMLInputElement>;
|
|
319
317
|
}
|
|
320
318
|
|
|
@@ -952,7 +950,6 @@ export declare interface SheetCopyPasteProps extends Omit<CopyPasteProps, "sourc
|
|
|
952
950
|
*/
|
|
953
951
|
copyBackgroundColor?: string;
|
|
954
952
|
cutBackgroundColor?: string;
|
|
955
|
-
notifier?: Notifier;
|
|
956
953
|
}
|
|
957
954
|
|
|
958
955
|
export declare interface SheetCopyPasteResults extends CopyPasteResults {
|
|
@@ -1115,7 +1112,6 @@ export declare interface SheetProps extends React.HTMLAttributes<HTMLDivElement>
|
|
|
1115
1112
|
* Called once when the sheet has been loaded but before it is rendered.
|
|
1116
1113
|
*/
|
|
1117
1114
|
onElementLoad?: () => void;
|
|
1118
|
-
notifier?: Notifier;
|
|
1119
1115
|
/**
|
|
1120
1116
|
* Inject custom editors based on a cell.
|
|
1121
1117
|
* This should not return null but rather can canEdit.
|
|
@@ -1376,7 +1372,6 @@ export declare interface useMovableCommandsOptions {
|
|
|
1376
1372
|
* If provided this will be used start and stop transactions on being/end move.
|
|
1377
1373
|
*/
|
|
1378
1374
|
transactional: ITransaction.ITransactional;
|
|
1379
|
-
notifier?: Notifier;
|
|
1380
1375
|
}
|
|
1381
1376
|
|
|
1382
1377
|
/**
|
|
@@ -1422,7 +1417,6 @@ export declare interface useSheetCommandsOptions {
|
|
|
1422
1417
|
* Notify that there is a new repeatable command
|
|
1423
1418
|
*/
|
|
1424
1419
|
onRepeatCommandChange?: (command: ICommand<any, any>) => void;
|
|
1425
|
-
notifier?: Notifier;
|
|
1426
1420
|
onStartEdit?: (event: Partial<StartEditEvent>) => void;
|
|
1427
1421
|
bodyStyle?: GridSurfaceStyle;
|
|
1428
1422
|
/**
|
|
@@ -1434,7 +1428,7 @@ export declare interface useSheetCommandsOptions {
|
|
|
1434
1428
|
/**
|
|
1435
1429
|
* Copy paste hook for `ISheet`.
|
|
1436
1430
|
*/
|
|
1437
|
-
export declare const useSheetCopyPaste: ({ element, sheet, sheetView, commands, onClipboardUpdate: propOnClipboardUpdate, onPaste: propOnPaste, selectionRenderer: propSelectionRenderer, copyForegroundColor, cutForegroundColor, copyBackgroundColor, cutBackgroundColor,
|
|
1431
|
+
export declare const useSheetCopyPaste: ({ element, sheet, sheetView, commands, onClipboardUpdate: propOnClipboardUpdate, onPaste: propOnPaste, selectionRenderer: propSelectionRenderer, copyForegroundColor, cutForegroundColor, copyBackgroundColor, cutBackgroundColor, ...rest }: SheetCopyPasteProps) => SheetCopyPasteResults;
|
|
1438
1432
|
|
|
1439
1433
|
export declare interface useSheetRangeListenerOptions extends ICellRange.ListenerOptions {
|
|
1440
1434
|
fireOnAddressChange: boolean;
|