@fileverse-dev/ddoc 2.0.8 → 2.0.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,5 +5,6 @@ declare const ToolbarButton: import('react').ForwardRefExoticComponent<{
5
5
  tooltip?: string;
6
6
  classNames?: string;
7
7
  disabled?: boolean;
8
+ size?: "sm" | "md" | "lg";
8
9
  } & import('react').RefAttributes<HTMLButtonElement>>;
9
10
  export default ToolbarButton;
@@ -8,6 +8,7 @@ export interface BubbleMenuItem {
8
8
  icon: any;
9
9
  }
10
10
  type EditorBubbleMenuProps = Omit<BubbleMenuProps, 'children'> & {
11
+ isPreviewMode: boolean;
11
12
  onError?: (errorString: string) => void;
12
13
  setIsCommentSectionOpen?: (isOpen: boolean) => void;
13
14
  inlineCommentData?: InlineCommentData;
@@ -69,10 +69,11 @@ export declare const LinkPopup: ({ elementRef, editor, setToolVisibility, bubble
69
69
  setIsLinkPopupOpen?: Dispatch<SetStateAction<boolean>>;
70
70
  onError?: (errorString: string) => void;
71
71
  }) => import("react/jsx-runtime").JSX.Element;
72
- export declare const InlineCommentPopup: ({ elementRef, editor, setIsCommentSectionOpen, inlineCommentData, setInlineCommentData, }: {
72
+ export declare const InlineCommentPopup: ({ elementRef, editor, setIsCommentSectionOpen, setIsInlineCommentOpen, inlineCommentData, setInlineCommentData, }: {
73
73
  elementRef: React.RefObject<HTMLDivElement>;
74
74
  editor: Editor;
75
75
  setIsCommentSectionOpen: Dispatch<SetStateAction<boolean>>;
76
+ setIsInlineCommentOpen: Dispatch<SetStateAction<boolean>>;
76
77
  inlineCommentData: {
77
78
  highlightedTextContent: string;
78
79
  inlineCommentText: string;