@fileverse-dev/ddoc 2.1.0-patch-2 → 2.1.0-patch-4
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +22 -21
- package/dist/index.es.js +16142 -16000
- package/dist/package/components/presentation-mode/presentation-mode.d.ts +4 -1
- package/dist/package/types.d.ts +2 -0
- package/dist/style.css +1 -1
- package/package.json +2 -1
@@ -6,6 +6,9 @@ interface PresentationModeProps {
|
|
6
6
|
isFullscreen: boolean;
|
7
7
|
setIsFullscreen: (isFullscreen: boolean) => void;
|
8
8
|
onError?: (error: string) => void;
|
9
|
+
setIsCommentSectionOpen: React.Dispatch<React.SetStateAction<boolean>> | undefined;
|
10
|
+
sharedSlidesLink?: string;
|
11
|
+
isPreviewMode: boolean;
|
9
12
|
}
|
10
|
-
export declare const PresentationMode: ({ editor, onClose, isFullscreen, setIsFullscreen, onError, }: PresentationModeProps) => import("react/jsx-runtime").JSX.Element | null;
|
13
|
+
export declare const PresentationMode: ({ editor, onClose, isFullscreen, setIsFullscreen, onError, setIsCommentSectionOpen, sharedSlidesLink, isPreviewMode, }: PresentationModeProps) => import("react/jsx-runtime").JSX.Element | null;
|
11
14
|
export {};
|
package/dist/package/types.d.ts
CHANGED
@@ -26,6 +26,7 @@ export interface DdocProps {
|
|
26
26
|
setZoomLevel: React.Dispatch<SetStateAction<string>>;
|
27
27
|
isNavbarVisible: boolean;
|
28
28
|
setIsNavbarVisible: React.Dispatch<SetStateAction<boolean>>;
|
29
|
+
customHeight?: string;
|
29
30
|
isCommentSectionOpen?: boolean;
|
30
31
|
collaborationId?: string;
|
31
32
|
isPreviewMode: boolean;
|
@@ -56,6 +57,7 @@ export interface DdocProps {
|
|
56
57
|
unFocused?: boolean;
|
57
58
|
isPresentationMode?: boolean;
|
58
59
|
setIsPresentationMode?: React.Dispatch<SetStateAction<boolean>>;
|
60
|
+
sharedSlidesLink?: string;
|
59
61
|
}
|
60
62
|
export interface IEditorSelectionData {
|
61
63
|
from: number;
|