@fileverse-dev/dsheet 0.0.5 → 0.0.7

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,5 +1,6 @@
1
1
  export declare const TEMPLATES: {
2
2
  title: string;
3
+ description: string;
3
4
  imgURL: string;
4
5
  onClickLink: string;
5
6
  }[];
@@ -11,6 +11,7 @@ export interface DsheetProp {
11
11
  portalContent?: any;
12
12
  isReadOnly?: boolean;
13
13
  isCollaborative?: boolean;
14
+ setForceSheetRender?: React.Dispatch<React.SetStateAction<number>>;
14
15
  }
15
16
  export interface sheetEditorRef {
16
17
  }
@@ -1,7 +1,7 @@
1
1
  import { Sheet } from '@fortune-sheet/core';
2
2
  import { DsheetProp } from './types';
3
3
  import * as Y from 'yjs';
4
- export declare const useDsheetEditor: ({ initialSheetData, enableIndexeddbSync, dsheetId, onChange, username, enableWebrtc, portalContent, }: Partial<DsheetProp>) => {
4
+ export declare const useDsheetEditor: ({ initialSheetData, enableIndexeddbSync, dsheetId, onChange, username, enableWebrtc, portalContent, setForceSheetRender, }: Partial<DsheetProp>) => {
5
5
  sheetEditorRef: import('react').RefObject<{
6
6
  applyOp: (ops: import('@fortune-sheet/core').Op[]) => void;
7
7
  getCellValue: (row: number, column: number, options?: import('@fortune-sheet/core/dist/api').CommonOptions & {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@fileverse-dev/dsheet",
3
3
  "private": false,
4
4
  "description": "DSheet",
5
- "version": "0.0.5",
5
+ "version": "0.0.7",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {