@sheetxl/react 0.7.2 → 0.7.4

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/react",
3
3
  "description": "React - React components needed to build advanced grid and spreadsheet UIs.",
4
- "version": "0.7.2",
4
+ "version": "0.7.4",
5
5
  "license": "SEE LICENSE IN <LICENSE>",
6
6
  "type": "module",
7
7
  "exports": {
@@ -37,10 +37,10 @@
37
37
  "@dnd-kit/sortable": "^10.0.0",
38
38
  "@dnd-kit/utilities": "^3.2.2",
39
39
  "@monaco-editor/react": "^4.6.0",
40
- "@sheetxl/grid-react": "^0.7.2",
41
- "@sheetxl/sdk": "^0.7.2",
42
- "@sheetxl/utils": "^0.7.2",
43
- "@sheetxl/utils-react": "^0.7.2",
40
+ "@sheetxl/grid-react": "^0.7.4",
41
+ "@sheetxl/sdk": "^0.7.4",
42
+ "@sheetxl/utils": "^0.7.4",
43
+ "@sheetxl/utils-react": "^0.7.4",
44
44
  "clsx": "^2.1.1",
45
45
  "monaco-editor-auto-typings": "^0.4.6",
46
46
  "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, notifier, ...rest }: SheetCopyPasteProps) => SheetCopyPasteResults;
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;