@fileverse-dev/ddoc 2.1.0-yjs-patch-3 → 2.1.0-yjs-patch-4
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +15 -0
- package/dist/index.es.js +21748 -21662
- package/dist/package/components/presentation-mode/presentation-mode.d.ts +2 -1
- package/dist/package/extensions/d-block/dblock-node-view.d.ts +0 -1
- package/dist/package/extensions/d-block/dblock.d.ts +0 -1
- package/dist/package/extensions/default-extension.d.ts +1 -1
- package/dist/package/types.d.ts +1 -0
- package/dist/package/utils/template-utils.d.ts +1 -1
- package/dist/package/zoom-service.d.ts +10 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/package/useZoomLevelListener.d.ts +0 -14
@@ -9,6 +9,7 @@ interface PresentationModeProps {
|
|
9
9
|
setIsCommentSectionOpen: React.Dispatch<React.SetStateAction<boolean>> | undefined;
|
10
10
|
sharedSlidesLink?: string;
|
11
11
|
isPreviewMode: boolean;
|
12
|
+
documentName: string;
|
12
13
|
}
|
13
|
-
export declare const PresentationMode: ({ editor, onClose, isFullscreen, setIsFullscreen, onError, setIsCommentSectionOpen, sharedSlidesLink, isPreviewMode, }: PresentationModeProps) => import("react/jsx-runtime").JSX.Element | null;
|
14
|
+
export declare const PresentationMode: ({ editor, onClose, isFullscreen, setIsFullscreen, onError, setIsCommentSectionOpen, sharedSlidesLink, isPreviewMode, documentName, }: PresentationModeProps) => import("react/jsx-runtime").JSX.Element | null;
|
14
15
|
export {};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { NodeType } from '@tiptap/pm/model';
|
2
2
|
import { InputRule } from '@tiptap/core';
|
3
3
|
|
4
|
-
export declare const defaultExtensions: (
|
4
|
+
export declare const defaultExtensions: (onError: (error: string) => void, secureImageUploadUrl?: string) => (import('@tiptap/core').Node<any, any> | import('@tiptap/core').Extension<any, any> | import('@tiptap/core').Mark<any, any>)[];
|
5
5
|
export declare const createInputRule: (pattern: RegExp, data: string, type: NodeType) => InputRule;
|
package/dist/package/types.d.ts
CHANGED
@@ -11,5 +11,5 @@ type TemplateButtonProps = {
|
|
11
11
|
declare const renderIcon: (icon: IconType, className?: string) => import("react/jsx-runtime").JSX.Element | null;
|
12
12
|
declare const createTemplateButtons: (addTemplate: (template: JSONContent) => void) => TemplateButtonProps;
|
13
13
|
declare const createMoreTemplates: (addTemplate: (template: JSONContent) => void) => TemplateButtonProps;
|
14
|
-
declare const renderTemplateButtons: (templateButtons: TemplateButtonProps, moreTemplates: TemplateButtonProps, visibleTemplateCount: number, toggleAllTemplates: () => void, isExpanded: boolean
|
14
|
+
declare const renderTemplateButtons: (templateButtons: TemplateButtonProps, moreTemplates: TemplateButtonProps, visibleTemplateCount: number, toggleAllTemplates: () => void, isExpanded: boolean) => import("react/jsx-runtime").JSX.Element;
|
15
15
|
export { renderIcon, createTemplateButtons, createMoreTemplates, renderTemplateButtons, };
|
@@ -0,0 +1,10 @@
|
|
1
|
+
declare class ZoomService {
|
2
|
+
private static instance;
|
3
|
+
private _currentZoom;
|
4
|
+
static getInstance(): ZoomService;
|
5
|
+
get currentZoom(): string;
|
6
|
+
setZoom(zoom: string): void;
|
7
|
+
private updateElementPosition;
|
8
|
+
}
|
9
|
+
export declare const zoomService: ZoomService;
|
10
|
+
export {};
|