@fileverse-dev/ddoc 2.1.3-patch-15 → 2.1.3-patch-17

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.
@@ -52,6 +52,7 @@ export declare const bubbleMenuProps: (props: EditorBubbleMenuProps) => {
52
52
  onInlineComment?: () => void;
53
53
  commentDrawerOpen?: boolean;
54
54
  setCommentDrawerOpen?: React.Dispatch<import('react').SetStateAction<boolean>>;
55
+ isCollabDocumentPublished?: boolean | undefined;
55
56
  };
56
57
  export declare const shouldShow: ({ editor }: {
57
58
  editor: Editor;
@@ -21,6 +21,7 @@ export type EditorBubbleMenuProps = Omit<BubbleMenuProps, 'children'> & {
21
21
  onInlineComment?: () => void;
22
22
  commentDrawerOpen?: boolean;
23
23
  setCommentDrawerOpen?: React.Dispatch<SetStateAction<boolean>>;
24
+ isCollabDocumentPublished?: boolean | undefined;
24
25
  };
25
26
  export interface NodeSelectorProps {
26
27
  editor: Editor;
@@ -1,7 +1,8 @@
1
1
  import { Editor } from '@tiptap/core';
2
2
 
3
- export declare const CommentBubbleCard: ({ editor, activeCommentId, commentDrawerOpen, }: {
3
+ export declare const CommentBubbleCard: ({ editor, activeCommentId, commentDrawerOpen, isCollabDocumentPublished, }: {
4
4
  editor: Editor;
5
5
  activeCommentId: string | null;
6
6
  commentDrawerOpen: boolean;
7
+ isCollabDocumentPublished: boolean | undefined;
7
8
  }) => import("react/jsx-runtime").JSX.Element;
@@ -24,6 +24,7 @@ export interface CommentAccountProps {
24
24
  isDDocOwner?: boolean;
25
25
  }
26
26
  export interface DdocProps extends CommentAccountProps {
27
+ isCollabDocumentPublished?: boolean;
27
28
  commentDrawerOpen?: boolean;
28
29
  setCommentDrawerOpen?: React.Dispatch<SetStateAction<boolean>>;
29
30
  initialComments?: IComment[];
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@fileverse-dev/ddoc",
3
3
  "private": false,
4
4
  "description": "DDoc",
5
- "version": "2.1.3-patch-15",
5
+ "version": "2.1.3-patch-17",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {