@fileverse-dev/ddoc 2.1.1-patch-2 → 2.1.1-patch-3

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.
@@ -102,8 +102,10 @@ export declare const TextHeading: ({ editor, setVisibility, elementRef, }: {
102
102
  elementRef: React.RefObject<HTMLDivElement>;
103
103
  setVisibility: Dispatch<SetStateAction<IEditorTool>>;
104
104
  }) => import("react/jsx-runtime").JSX.Element;
105
- export declare const TextFormatingPopup: ({ editor, setToolVisibility, }: {
105
+ export declare const TextFormatingPopup: ({ editor, isOpen, setIsOpen, setToolVisibility, }: {
106
106
  editor: Editor;
107
+ isOpen: boolean;
108
+ setIsOpen: (open: boolean) => void;
107
109
  setToolVisibility: Dispatch<SetStateAction<IEditorTool>>;
108
110
  }) => import("react/jsx-runtime").JSX.Element;
109
111
  export declare const TextColorPicker: ({ editor }: {
@@ -3,7 +3,10 @@ import { default as React } from 'react';
3
3
  interface UtilsModalProps {
4
4
  title: string;
5
5
  content: React.ReactNode;
6
+ isOpen?: boolean;
7
+ setIsOpen?: (open: boolean) => void;
6
8
  contentClassName?: string;
9
+ onCloseAutoFocus?: () => void;
7
10
  }
8
- declare const UtilsModal: ({ title, content, contentClassName }: UtilsModalProps) => import("react/jsx-runtime").JSX.Element;
11
+ declare const UtilsModal: ({ title, content, isOpen, setIsOpen, contentClassName, onCloseAutoFocus, }: UtilsModalProps) => import("react/jsx-runtime").JSX.Element;
9
12
  export default UtilsModal;