@fileverse-dev/ddoc 1.0.1 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
- import { DpageProps } from './props';
1
+ import { DdocProps } from './props';
2
2
 
3
- declare const DdocEditor: ({ isPreviewMode, onPublish, data, togglePreviewMode, }: DpageProps) => import("react/jsx-runtime").JSX.Element;
3
+ declare const DdocEditor: ({ isPreviewMode, onPublish, data, togglePreviewMode, }: DdocProps) => import("react/jsx-runtime").JSX.Element;
4
4
  export default DdocEditor;
@@ -1,6 +1,7 @@
1
1
  import { PluginMetaData } from '../props';
2
2
 
3
- export declare const PluginNavbarLeftSection: ({ metaData, setMetaData, }: {
3
+ export declare const PluginNavbarLeftSection: ({ metaData, setMetaData, isPreviewMode, }: {
4
4
  metaData: PluginMetaData;
5
5
  setMetaData: React.Dispatch<React.SetStateAction<PluginMetaData>>;
6
+ isPreviewMode: boolean;
6
7
  }) => import("react/jsx-runtime").JSX.Element;
@@ -1,8 +1,8 @@
1
1
  import { JSONContent } from '@tiptap/core';
2
2
  import { EditorProps } from '@tiptap/pm/view';
3
3
 
4
- export declare const DpageEditorProps: EditorProps;
5
- export interface DpageProps {
4
+ export declare const DdocEditorProps: EditorProps;
5
+ export interface DdocProps {
6
6
  isPreviewMode: boolean;
7
7
  togglePreviewMode: (flag: boolean) => void;
8
8
  onPublish: (data: Data) => void;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@fileverse-dev/ddoc",
3
3
  "private": false,
4
4
  "description": "DDoc",
5
- "version": "1.0.1",
5
+ "version": "1.0.3",
6
6
  "main": "dist/index.umd.js",
7
7
  "module": "dist/index.es.js",
8
8
  "types": "dist/index.d.ts",