@fileverse-dev/ddoc 1.2.9 → 1.3.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -9,12 +9,14 @@ export type ButtonProps = {
9
9
  buttonSize?: ButtonSize;
10
10
  disabled?: boolean;
11
11
  className?: string;
12
+ isLoading?: boolean;
12
13
  } & React.ButtonHTMLAttributes<HTMLButtonElement>;
13
14
  export declare const Button: React.ForwardRefExoticComponent<{
14
- variant?: ButtonVariant | undefined;
15
- active?: boolean | undefined;
16
- activeClassname?: string | undefined;
17
- buttonSize?: ButtonSize | undefined;
18
- disabled?: boolean | undefined;
19
- className?: string | undefined;
15
+ variant?: ButtonVariant;
16
+ active?: boolean;
17
+ activeClassname?: string;
18
+ buttonSize?: ButtonSize;
19
+ disabled?: boolean;
20
+ className?: string;
21
+ isLoading?: boolean;
20
22
  } & React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>;
@@ -0,0 +1,22 @@
1
+ import { default as React } from 'react';
2
+ import { default as useEmblaCarousel, UseEmblaCarouselType } from 'embla-carousel-react';
3
+
4
+ type CarouselApi = UseEmblaCarouselType[1];
5
+ type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
6
+ type CarouselOptions = UseCarouselParameters[0];
7
+ type CarouselPlugin = UseCarouselParameters[1];
8
+ type CarouselProps = {
9
+ opts?: CarouselOptions;
10
+ plugins?: CarouselPlugin;
11
+ orientation?: 'horizontal' | 'vertical';
12
+ setApi?: (api: CarouselApi) => void;
13
+ };
14
+ declare const Carousel: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & CarouselProps & React.RefAttributes<HTMLDivElement>>;
15
+ declare const CarouselContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
16
+ declare const CarouselItem: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
17
+ declare const CarouselIndicator: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & {
18
+ index: number;
19
+ } & React.RefAttributes<HTMLButtonElement>>;
20
+ declare const CarouselPrevious: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>;
21
+ declare const CarouselNext: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>;
22
+ export { type CarouselApi, Carousel, CarouselContent, CarouselItem, CarouselIndicator, CarouselPrevious, CarouselNext, };
@@ -0,0 +1,19 @@
1
+ import * as React from 'react';
2
+ import * as DialogPrimitive from '@radix-ui/react-dialog';
3
+ declare const Dialog: React.FC<DialogPrimitive.DialogProps>;
4
+ declare const DialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
5
+ declare const DialogPortal: React.FC<DialogPrimitive.DialogPortalProps>;
6
+ declare const DialogClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
7
+ declare const DialogOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
8
+ declare const DialogContent: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
9
+ declare const DialogHeader: {
10
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
11
+ displayName: string;
12
+ };
13
+ declare const DialogFooter: {
14
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
15
+ displayName: string;
16
+ };
17
+ declare const DialogTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
18
+ declare const DialogDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
19
+ export { Dialog, DialogPortal, DialogOverlay, DialogTrigger, DialogClose, DialogContent, DialogHeader, DialogFooter, DialogTitle, DialogDescription, };
@@ -0,0 +1,25 @@
1
+ import { default as React } from 'react';
2
+ import { Drawer as DrawerPrimitive } from 'vaul';
3
+
4
+ declare const Drawer: {
5
+ ({ shouldScaleBackground, ...props }: React.ComponentProps<typeof DrawerPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
6
+ displayName: string;
7
+ };
8
+ declare const DrawerTrigger: React.ForwardRefExoticComponent<import('@radix-ui/react-dialog').DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
9
+ declare const DrawerPortal: React.FC<import('@radix-ui/react-dialog').DialogPortalProps>;
10
+ declare const DrawerClose: React.ForwardRefExoticComponent<import('@radix-ui/react-dialog').DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
11
+ declare const DrawerOverlay: React.ForwardRefExoticComponent<Omit<Omit<import('@radix-ui/react-dialog').DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
12
+ declare const DrawerContent: React.ForwardRefExoticComponent<Omit<Omit<import('@radix-ui/react-dialog').DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
13
+ onAnimationEnd?: (open: boolean) => void;
14
+ } & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
15
+ declare const DrawerHeader: {
16
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
17
+ displayName: string;
18
+ };
19
+ declare const DrawerFooter: {
20
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
21
+ displayName: string;
22
+ };
23
+ declare const DrawerTitle: React.ForwardRefExoticComponent<Omit<import('@radix-ui/react-dialog').DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
24
+ declare const DrawerDescription: React.ForwardRefExoticComponent<Omit<import('@radix-ui/react-dialog').DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
25
+ export { Drawer, DrawerPortal, DrawerOverlay, DrawerTrigger, DrawerClose, DrawerContent, DrawerHeader, DrawerFooter, DrawerTitle, DrawerDescription, };
@@ -0,0 +1,28 @@
1
+ import * as React from "react";
2
+ export interface TextFieldProps extends React.InputHTMLAttributes<HTMLInputElement> {
3
+ /**
4
+ * The label for the text field.
5
+ */
6
+ label?: string;
7
+ /**
8
+ * The left icon for the text field.
9
+ */
10
+ leftIcon?: React.ReactNode;
11
+ /**
12
+ * The right icon for the text field.
13
+ */
14
+ rightIcon?: React.ReactNode;
15
+ /**
16
+ * Whether the text field is valid.
17
+ */
18
+ isValid?: boolean;
19
+ /**
20
+ * The helper text for the text field.
21
+ */
22
+ message?: string;
23
+ /**
24
+ * Event handler for the onChange event.
25
+ */
26
+ onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
27
+ }
28
+ export declare const TextField: React.ForwardRefExoticComponent<TextFieldProps & React.RefAttributes<HTMLInputElement>>;
@@ -19,10 +19,10 @@ export declare const Toolbar: {
19
19
  Wrapper: import('react').ForwardRefExoticComponent<Omit<ToolbarWrapperProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
20
20
  Divider: import('react').ForwardRefExoticComponent<Omit<ToolbarDividerProps, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
21
21
  Button: import('react').ForwardRefExoticComponent<ButtonHTMLAttributes<HTMLButtonElement> & {
22
- active?: boolean | undefined;
23
- activeClassname?: string | undefined;
24
- tooltip?: string | undefined;
25
- buttonSize?: ButtonProps['buttonSize'];
26
- variant?: ButtonProps['variant'];
22
+ active?: boolean;
23
+ activeClassname?: string;
24
+ tooltip?: string;
25
+ buttonSize?: ButtonProps["buttonSize"];
26
+ variant?: ButtonProps["variant"];
27
27
  } & import('react').RefAttributes<HTMLButtonElement>>;
28
28
  };
@@ -0,0 +1,6 @@
1
+ import { Editor } from '@tiptap/react';
2
+
3
+ declare const BottomToolbar: ({ editor }: {
4
+ editor: Editor;
5
+ }) => import("react/jsx-runtime").JSX.Element;
6
+ export default BottomToolbar;
@@ -0,0 +1,26 @@
1
+ import { default as React } from 'react';
2
+ import { ButtonVariant } from '../common/button';
3
+
4
+ interface DynamicModalProps {
5
+ title: string;
6
+ content: React.ReactNode;
7
+ contentClassName?: string;
8
+ open: boolean;
9
+ onOpenChange?: () => void;
10
+ primaryAction?: {
11
+ label: string;
12
+ variant?: ButtonVariant;
13
+ className?: string;
14
+ isLoading?: boolean;
15
+ onClick?: () => void;
16
+ };
17
+ secondaryAction?: {
18
+ label: string;
19
+ variant?: ButtonVariant;
20
+ className?: string;
21
+ isLoading?: boolean;
22
+ onClick?: () => void;
23
+ };
24
+ }
25
+ declare const DynamicModal: ({ title, content, contentClassName, open, onOpenChange, primaryAction, secondaryAction, }: DynamicModalProps) => import("react/jsx-runtime").JSX.Element;
26
+ export default DynamicModal;
@@ -13,10 +13,15 @@ export declare const fonts: {
13
13
  value: string;
14
14
  command: (editor: Editor) => void;
15
15
  }[];
16
+ export declare const colors: {
17
+ color: string;
18
+ code: string;
19
+ }[];
16
20
  export declare const useEditorToolbar: ({ editor }: {
17
21
  editor: Editor;
18
22
  }) => {
19
23
  toolbar: (IEditorToolElement | null)[];
24
+ bottomToolbar: (IEditorToolElement | null)[];
20
25
  toolRef: React.RefObject<HTMLDivElement>;
21
26
  toolVisibilty: IEditorTool;
22
27
  setToolVisibility: React.Dispatch<React.SetStateAction<IEditorTool>>;
@@ -58,4 +63,12 @@ export declare const TextHeading: ({ editor, setVisibility, elementRef, }: {
58
63
  elementRef: React.RefObject<HTMLDivElement>;
59
64
  setVisibility: Dispatch<SetStateAction<IEditorTool>>;
60
65
  }) => import("react/jsx-runtime").JSX.Element;
66
+ export declare const TextFormatingPopup: ({ editor, setToolVisibility, }: {
67
+ editor: Editor;
68
+ setToolVisibility: Dispatch<SetStateAction<IEditorTool>>;
69
+ }) => import("react/jsx-runtime").JSX.Element;
70
+ export declare const TextColorPicker: ({ editor, }: {
71
+ editor: Editor;
72
+ setToolVisibility: Dispatch<SetStateAction<IEditorTool>>;
73
+ }) => import("react/jsx-runtime").JSX.Element;
61
74
  export {};
@@ -0,0 +1,9 @@
1
+ import { default as React } from 'react';
2
+
3
+ interface UtilsModalProps {
4
+ title: string;
5
+ content: React.ReactNode;
6
+ contentClassName?: string;
7
+ }
8
+ declare const UtilsModal: ({ title, content, contentClassName, }: UtilsModalProps) => import("react/jsx-runtime").JSX.Element;
9
+ export default UtilsModal;
@@ -1,4 +1,4 @@
1
1
  import { DdocProps } from './types';
2
2
 
3
- declare const DdocEditor: ({ isPreviewMode, data, enableCollaboration, collaborationId, username, onAutoSave, renderToolRightSection, ensProviderUrl, }: DdocProps) => import("react/jsx-runtime").JSX.Element;
3
+ declare const DdocEditor: ({ isPreviewMode, data, enableCollaboration, collaborationId, username, onAutoSave, renderToolRightSection, renderToolLeftSection, ensProviderUrl, }: DdocProps) => import("react/jsx-runtime").JSX.Element;
4
4
  export default DdocEditor;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare enum IEditorTool {
3
2
  NONE = 0,
4
3
  HEADING = 1,
@@ -7,7 +6,10 @@ export declare enum IEditorTool {
7
6
  LINK = 4,
8
7
  FONT_FAMILY = 5,
9
8
  ALIGNMENT = 6,
10
- LIST = 7
9
+ LIST = 7,
10
+ TEXT_FORMATING = 8,
11
+ TEXT_COLOR_PICKER = 9,
12
+ LINK_POPUP = 10
11
13
  }
12
14
  export default function useComponentVisibilty(initialIsVisible: boolean): {
13
15
  ref: import('react').RefObject<HTMLDivElement>;
@@ -12,21 +12,16 @@ export interface DdocProps {
12
12
  onAutoSave?: (data: Data) => void;
13
13
  ensProviderUrl?: string;
14
14
  username?: string | null;
15
- renderToolRightSection?: ({ editor, pluginMetaData }: {
15
+ renderToolLeftSection?: ({ editor }: {
16
+ editor: Editor;
17
+ }) => JSX.Element;
18
+ renderToolRightSection?: ({ editor }: {
16
19
  editor: Editor;
17
- pluginMetaData: PluginMetaData;
18
20
  }) => JSX.Element;
19
21
  }
20
22
  export interface Data {
21
- metaData: PluginMetaData;
22
23
  editorJSONData: JSONContent;
23
24
  }
24
- export interface Plugin {
25
- title: string | null;
26
- }
27
- export interface PluginMetaData {
28
- plugin: Plugin;
29
- }
30
25
  export interface IUser {
31
26
  name: string;
32
27
  color: string;
@@ -1,9 +1,7 @@
1
- import { PluginMetaData, DdocProps } from './types';
1
+ import { DdocProps } from './types';
2
2
 
3
3
  export declare const useDdocEditor: ({ isPreviewMode, data, enableCollaboration, collaborationId, ensProviderUrl, username, onAutoSave, }: DdocProps) => {
4
4
  editor: import('@tiptap/react').Editor | null;
5
- pluginMetaData: PluginMetaData;
6
- setPluginMetaData: import('react').Dispatch<import('react').SetStateAction<PluginMetaData>>;
7
5
  focusEditor: (e: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
8
6
  ref: import('react').RefObject<HTMLDivElement>;
9
7
  loading: boolean;
@@ -1 +1 @@
1
- export declare function debounce<T extends Function>(func: T, wait: number): T;
1
+ export declare function debounce<T extends (...args: any) => any>(func: T, wait: number): T;
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .ProseMirror .is-empty:before{pointer-events:none;float:left;height:0px;width:100%;color:#0006}.ProseMirror.ProseMirror-focused p.is-empty:before{content:"Type / to browse options"}.ProseMirror.ProseMirror-focused h1.is-empty:before{content:"Heading 1"}.ProseMirror.ProseMirror-focused h2.is-empty:before{content:"Heading 2"}.ProseMirror.ProseMirror-focused h3.is-empty:before{content:"Heading 3"}.ProseMirror p.is-empty:before{content:"Type / to browse options"}.ProseMirror blockquote .is-empty:not(.is-editor-empty):first-child:last-child:before{content:"Enter a quote"}.ProseMirror p{margin-top:.75rem;margin-bottom:.75rem;line-height:1.625}.ProseMirror p:first-child{margin-top:0}.ProseMirror p:last-child{margin-bottom:0}.ProseMirror>p{margin-top:1.5rem;margin-bottom:1.5rem}.ProseMirror>p:first-child{margin-top:0}.ProseMirror>p:last-child{margin-bottom:0}.ProseMirror .media-node-view{position:relative;margin-top:.5rem;margin-bottom:.5rem;display:flex;width:100%}.ProseMirror .media-node-view.f-left{float:left}.ProseMirror .media-node-view.f-right{float:right}.ProseMirror .media-node-view.align-left{justify-content:flex-start}.ProseMirror .media-node-view.align-center{justify-content:center}.ProseMirror .media-node-view.align-right{justify-content:flex-end}.ProseMirror .media-node-view .horizontal-resize-handle{position:absolute;top:50%;right:.25rem;z-index:50;height:3rem;width:.5rem;--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));cursor:col-resize;border-radius:.25rem}@media (min-width: 1024px){.ProseMirror .media-node-view .horizontal-resize-handle{height:6rem}}.ProseMirror .media-node-view .btn{display:inline-flex;align-items:center;border-width:1px;border-color:transparent;--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity));padding:.375rem .625rem;font-size:.75rem;line-height:1rem;font-weight:500;--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.ProseMirror .media-node-view .btn:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.ProseMirror .media-node-view .btn.active{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.ProseMirror .media-node-view .media-control-buttons{position:absolute;top:.5rem;right:.5rem;box-sizing:border-box;overflow:hidden;border-radius:.375rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(226 232 240 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s;transition-timing-function:linear}.ProseMirror table{border-collapse:collapse;border-spacing:0;width:100%;margin:0;box-sizing:border-box;position:relative;overflow-x:auto}.ProseMirror table td,.ProseMirror table th{min-width:10rem;max-width:10rem;border:2px solid #ced4da;padding:3px 5px;vertical-align:top}.ProseMirror table td>*,.ProseMirror table th>*{margin-bottom:0}.ProseMirror table tr div{width:100%}.ProseMirror table th{font-weight:700;text-align:left;background-color:#f1f3f5}.ProseMirror table .selectedCell:after{z-index:2;position:absolute;content:"";left:0;right:0;top:0;bottom:0;background:#c8c8ff66;pointer-events:none}.ProseMirror table .column-resize-handle{position:absolute;right:-2px;top:0;bottom:-2px;width:6px;background-color:#adf;pointer-events:auto}.ProseMirror table p{margin:0}.ProseMirror table p.is-empty:before{content:""!important}.ProseMirror .d-block-button{display:flex;height:-moz-fit-content;height:fit-content;align-items:center;justify-content:center;border-radius:.25rem;background-color:transparent;padding-top:.25rem;padding-bottom:.25rem;font-size:1.125rem;line-height:1.75rem;--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity));opacity:0;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s;transition-timing-function:cubic-bezier(0,0,.2,1)}.ProseMirror ul,.ProseMirror ol,.ProseMirror li{margin:0;padding:0}.ProseMirror>*:first-child:first-child,.ProseMirror [data-type=column]>*:first-child{margin-top:0}.ProseMirror>*:first-child:last-child,.ProseMirror [data-type=column]>*:last-child{margin-bottom:0}.ProseMirror [data-type=columns]{margin-top:.75rem;margin-bottom:.75rem;display:grid;grid-template-columns:repeat(1,minmax(0,1fr));gap:.5rem}@media (min-width: 768px){.ProseMirror [data-type=columns]{grid-template-columns:repeat(auto-fit,minmax(100px,1fr))}}.ProseMirror [data-type=columns].layout-align-right>*:first-child{grid-column:span 1 / span 1}.ProseMirror [data-type=columns].layout-align-right>*:last-child{grid-column:span 1 / span 1}.ProseMirror [data-type=columns].layout-align-right>*:nth-last-child(2):first-child{grid-column:span 2 / span 2}.ProseMirror [data-type=columns].layout-align-right>*:nth-last-child(3):first-child{grid-column:span 2 / span 2}.ProseMirror [data-type=columns].layout-align-left>*:first-child{grid-column:span 1 / span 1}.ProseMirror [data-type=columns].layout-align-left>*:last-child{grid-column:span 1 / span 1}.ProseMirror [data-type=columns].layout-align-left>*:nth-child(2):last-child{grid-column:span 2 / span 2}.ProseMirror [data-type=columns].layout-align-left>*:nth-child(3):last-child{grid-column:span 2 / span 2}.ProseMirror [data-type=columns] [data-type=column]{min-width:100%;overflow:hidden;border-radius:.25rem;border-width:2px;border-style:dashed;border-color:transparent;padding:.25rem;transition:border .16s cubic-bezier(.45,.05,.55,.95)}.ProseMirror [data-type=columns] [data-type=column]:hover,.ProseMirror [data-type=columns] [data-type=column]:focus{--tw-border-opacity: 1;border-color:rgb(212 212 212 / var(--tw-border-opacity))}.ProseMirror [data-type=columns] [data-type=column]>.node-dBlock{padding-bottom:0!important}.ProseMirror [data-type=horizontalRule]{margin-left:auto;margin-right:auto;height:.25rem;width:50%;cursor:pointer;border-radius:.125rem;padding-top:.5rem;padding-bottom:.75rem;transition-property:all;transition-duration:.1s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.ProseMirror [data-type=horizontalRule].ProseMirror-selectednode{background-color:#bfdbfe80}.ProseMirror [data-type=horizontalRule]:hover:not(.ProseMirror [data-type=horizontalRule].ProseMirror-selectednode){background-color:#bfdbfe80}.ProseMirror [data-type=horizontalRule] hr{border-radius:.25rem;border-width:2px;border-color:#d1d5db33;background-color:#d1d5dbcc}.table-wrapper,.is-table div{padding:0;width:auto;overflow-x:auto}.resize-cursor{cursor:ew-resize;cursor:col-resize}.node-dBlock{flex-grow:1;transition:all .2s;width:100%}.node-dBlock:last-child{padding-bottom:4rem}.node-iframe,.node-embeddedTweet{pointer-events:auto}@media (max-width: 1025px){.node-iframe iframe{width:100%;aspect-ratio:16/9;height:auto}}[data-theme=link-command]{width:1000vw}.ProseMirror>*+*{margin-top:1.5em;margin-bottom:1.5em}.ProseMirror ul,.ProseMirror ol{padding:0 1rem;margin:.5rem;text-wrap:text-wrap;word-break:break-all;width:inherit}.ProseMirror li{padding:0 1rem;margin:.5rem}.ProseMirror h1,.ProseMirror h2,.ProseMirror h3{line-height:1.1;font-weight:700}.ProseMirror h1{font-size:32px}.ProseMirror h2{font-size:24px}.ProseMirror h3{font-size:18px}.ProseMirror code{background-color:#6161611a;color:#616161}.ProseMirror pre{background:#0d0d0d;color:#fff;font-family:JetBrainsMono,monospace;padding:.75rem 1rem;border-radius:.5rem}.ProseMirror pre code{color:inherit;padding:0;background:none;font-size:.8rem}.ProseMirror img{max-width:100%;height:auto}.ProseMirror blockquote{padding-left:1rem;border-left:2px solid rgba(13,13,13,.1)}.ProseMirror img:hover{cursor:pointer;transition-property:box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s}.ProseMirror img:hover:hover{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.ProseMirror img.ProseMirror-selectednode{outline:3px solid #5abbf7;filter:brightness(90%)}.tiptap.ProseMirror ol{display:flex;flex-direction:column}ul[data-type=taskList] li>label{margin-right:.2rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}@media screen and (max-width: 768px){ul[data-type=taskList] li>label{margin-right:.5rem}}ul[data-type=taskList] li>label input[type=checkbox]{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;margin:0;cursor:pointer;width:1.2em;height:1.2em;position:relative;top:3px;border:2px solid black;margin-right:.3rem;display:grid;place-content:center}ul[data-type=taskList] li>label input[type=checkbox]:hover{background-color:#f8f9fa}ul[data-type=taskList] li>label input[type=checkbox]:active{background-color:#e9ecef}ul[data-type=taskList] li>label input[type=checkbox]:before{content:"";width:.65em;height:.65em;transform:scale(0);transition:.12s transform ease-in-out;box-shadow:inset 1em 1em;transform-origin:center;clip-path:polygon(14% 44%,0 65%,50% 100%,100% 16%,80% 0%,43% 62%)}ul[data-type=taskList] li>label input[type=checkbox]:checked:before{transform:scale(1)}ul[data-type=taskList] li[data-checked=true]>div>p{color:#a8a29e;text-decoration:line-through;text-decoration-thickness:2px}.collaboration-cursor__caret{border-left:1px solid #0d0d0d;border-right:1px solid #0d0d0d;margin-left:-1px;margin-right:-1px;pointer-events:none;position:relative;word-break:normal}.collaboration-cursor__label{border-radius:3px 3px 3px 0;color:#0d0d0d;font-size:12px;font-style:normal;font-weight:600;left:-1px;line-height:normal;padding:.1rem .3rem;position:absolute;top:-1.4em;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.custom-cursor__caret{border-left:1px solid transparent;border-right:1px solid transparent;margin-left:-1px;margin-right:-1px;pointer-events:none;position:relative;word-break:normal}.custom-cursor__icon{flex-shrink:0;width:13px;height:14px;margin-right:5px}.custom-cursor__text{white-space:nowrap;overflow:visible;flex-grow:1;display:flex}.custom-cursor__label-container{display:flex;align-items:center;position:absolute;top:-1.4em;left:-1px;background-color:#fffc;border-radius:8px;box-shadow:0 2px 5px #0003;padding:.1rem .3rem;width:-moz-max-content;width:max-content;white-space:nowrap}.custom-cursor__label{display:flex;align-items:center;color:#0d0d0d;font-size:14px;font-weight:600;line-height:normal;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap;padding-right:16px;position:relative}.custom-cursor__badge{position:absolute;right:3px;width:12px;height:12px;margin-left:5px}.tippy-box[data-animation=shift-toward-subtle][data-state=hidden]{opacity:0}.tippy-box[data-animation=shift-toward-subtle][data-state=hidden][data-placement^=top][data-state=hidden]{transform:translateY(-5px)}.tippy-box[data-animation=shift-toward-subtle][data-state=hidden][data-placement^=bottom][data-state=hidden]{transform:translateY(5px)}.tippy-box[data-animation=shift-toward-subtle][data-state=hidden][data-placement^=left][data-state=hidden]{transform:translate(-5px)}.tippy-box[data-animation=shift-toward-subtle][data-state=hidden][data-placement^=right][data-state=hidden]{transform:translate(5px)}.dropdown{z-index:50;width:13rem;--tw-translate-x: -.5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));border-radius:.25rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.dropdown .dropdown-content{display:flex;flex-direction:column;border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.dropdown .dropdown-content .button{display:flex;width:100%;align-items:center;gap:.5rem;border-radius:.25rem;padding:.25rem .5rem;--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.dropdown .dropdown-content .button:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.trigger-button{position:absolute;right:0;bottom:0;margin:.25rem;display:flex;cursor:pointer;align-items:center;justify-content:center;border-radius:.25rem;background-color:transparent;padding:0 1px;font-size:1rem;line-height:1.5rem;opacity:0;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.group:hover .trigger-button{opacity:1}
1
+ .ProseMirror .is-empty:before{pointer-events:none;float:left;height:0px;width:100%;color:#0006}.ProseMirror.ProseMirror-focused p.is-empty:before{content:"Type / to browse options"}.ProseMirror.ProseMirror-focused h1.is-empty:before{content:"Heading 1"}.ProseMirror.ProseMirror-focused h2.is-empty:before{content:"Heading 2"}.ProseMirror.ProseMirror-focused h3.is-empty:before{content:"Heading 3"}.ProseMirror p.is-empty:before{content:"Type / to browse options"}.ProseMirror blockquote .is-empty:not(.is-editor-empty):first-child:last-child:before{content:"Enter a quote"}.ProseMirror p{margin-top:.75rem;margin-bottom:.75rem;line-height:1.625}.ProseMirror p:first-child{margin-top:0}.ProseMirror p:last-child{margin-bottom:0}.ProseMirror>p{margin-top:1.5rem;margin-bottom:1.5rem}.ProseMirror>p:first-child{margin-top:0}.ProseMirror>p:last-child{margin-bottom:0}.ProseMirror .media-node-view{position:relative;margin-top:.5rem;margin-bottom:.5rem;display:flex;width:100%}.ProseMirror .media-node-view.f-left{float:left}.ProseMirror .media-node-view.f-right{float:right}.ProseMirror .media-node-view.align-left{justify-content:flex-start}.ProseMirror .media-node-view.align-center{justify-content:center}.ProseMirror .media-node-view.align-right{justify-content:flex-end}.ProseMirror .media-node-view .horizontal-resize-handle{position:absolute;top:50%;right:.25rem;z-index:50;height:3rem;width:.5rem;--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));cursor:col-resize;border-radius:.25rem}@media (min-width: 1024px){.ProseMirror .media-node-view .horizontal-resize-handle{height:6rem}}.ProseMirror .media-node-view .btn{display:inline-flex;align-items:center;border-width:1px;border-color:transparent;--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity));padding:.375rem .625rem;font-size:.75rem;line-height:1rem;font-weight:500;--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.ProseMirror .media-node-view .btn:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.ProseMirror .media-node-view .btn.active{--tw-bg-opacity: 1;background-color:rgb(253 224 71 / var(--tw-bg-opacity))}.ProseMirror .media-node-view .btn.active:hover{--tw-brightness: brightness(.9);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.ProseMirror .media-node-view .media-control-buttons{position:absolute;top:.5rem;right:.5rem;box-sizing:border-box;overflow:hidden;border-radius:.375rem;border-width:1px;--tw-border-opacity: 1;border-color:rgb(226 232 240 / var(--tw-border-opacity));--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s;transition-timing-function:linear;animation-duration:.2s;animation-timing-function:linear}.ProseMirror table{border-collapse:collapse;border-spacing:0;width:100%;margin:0;box-sizing:border-box;position:relative;overflow-x:auto}.ProseMirror table td,.ProseMirror table th{min-width:10rem;max-width:10rem;border:2px solid #ced4da;padding:3px 5px;vertical-align:top}.ProseMirror table td>*,.ProseMirror table th>*{margin-bottom:0}.ProseMirror table tr div{width:100%}.ProseMirror table th{font-weight:700;text-align:left;background-color:#f1f3f5}.ProseMirror table .selectedCell:after{z-index:2;position:absolute;content:"";left:0;right:0;top:0;bottom:0;background:#c8c8ff66;pointer-events:none}.ProseMirror table .column-resize-handle{position:absolute;right:-2px;top:0;bottom:-2px;width:6px;background-color:#adf;pointer-events:auto}.ProseMirror table p{margin:0}.ProseMirror table p.is-empty:before{content:""!important}.ProseMirror .d-block-button{display:flex;height:-moz-fit-content;height:fit-content;align-items:center;justify-content:center;border-radius:.25rem;background-color:transparent;padding-top:.25rem;padding-bottom:.25rem;font-size:1.125rem;line-height:1.75rem;--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity));opacity:0;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.3s;transition-timing-function:cubic-bezier(0,0,.2,1);animation-duration:.3s;animation-timing-function:cubic-bezier(0,0,.2,1)}.ProseMirror ul,.ProseMirror ol,.ProseMirror li{margin:0;padding:0}.ProseMirror>*:first-child:first-child,.ProseMirror [data-type=column]>*:first-child{margin-top:0}.ProseMirror>*:first-child:last-child,.ProseMirror [data-type=column]>*:last-child{margin-bottom:0}.ProseMirror [data-type=columns]{margin-top:.75rem;margin-bottom:.75rem;display:grid;grid-template-columns:repeat(1,minmax(0,1fr));gap:.5rem}@media (min-width: 768px){.ProseMirror [data-type=columns]{grid-template-columns:repeat(auto-fit,minmax(100px,1fr))}}.ProseMirror [data-type=columns].layout-align-right>*:first-child{grid-column:span 1 / span 1}.ProseMirror [data-type=columns].layout-align-right>*:last-child{grid-column:span 1 / span 1}.ProseMirror [data-type=columns].layout-align-right>*:nth-last-child(2):first-child{grid-column:span 2 / span 2}.ProseMirror [data-type=columns].layout-align-right>*:nth-last-child(3):first-child{grid-column:span 2 / span 2}.ProseMirror [data-type=columns].layout-align-left>*:first-child{grid-column:span 1 / span 1}.ProseMirror [data-type=columns].layout-align-left>*:last-child{grid-column:span 1 / span 1}.ProseMirror [data-type=columns].layout-align-left>*:nth-child(2):last-child{grid-column:span 2 / span 2}.ProseMirror [data-type=columns].layout-align-left>*:nth-child(3):last-child{grid-column:span 2 / span 2}.ProseMirror [data-type=columns] [data-type=column]{min-width:100%;overflow:hidden;border-radius:.25rem;border-width:2px;border-style:dashed;border-color:transparent;padding:.25rem;transition:border .16s cubic-bezier(.45,.05,.55,.95)}.ProseMirror [data-type=columns] [data-type=column]:hover,.ProseMirror [data-type=columns] [data-type=column]:focus{--tw-border-opacity: 1;border-color:rgb(212 212 212 / var(--tw-border-opacity))}.ProseMirror [data-type=columns] [data-type=column]>.node-dBlock{padding-bottom:0!important}.ProseMirror [data-type=horizontalRule]{margin-left:auto;margin-right:auto;height:.25rem;width:50%;cursor:pointer;border-radius:.125rem;padding-top:.5rem;padding-bottom:.75rem;transition-property:all;transition-duration:.1s;transition-timing-function:cubic-bezier(.4,0,.2,1);animation-duration:.1s;animation-timing-function:cubic-bezier(.4,0,.2,1)}.ProseMirror [data-type=horizontalRule].ProseMirror-selectednode{background-color:#bfdbfe80}.ProseMirror [data-type=horizontalRule]:hover:not(.ProseMirror [data-type=horizontalRule].ProseMirror-selectednode){background-color:#bfdbfe80}.ProseMirror [data-type=horizontalRule] hr{border-radius:.25rem;border-width:2px;border-color:#d1d5db33;background-color:#d1d5dbcc}.table-wrapper,.is-table div{padding:0;width:auto;overflow-x:auto}.resize-cursor{cursor:ew-resize;cursor:col-resize}.node-dBlock{flex-grow:1;transition:all .2s;width:100%}.node-dBlock:last-child{padding-bottom:4rem}.node-iframe,.node-embeddedTweet{pointer-events:auto}@media (max-width: 1025px){.node-iframe iframe{width:100%;aspect-ratio:16/9;height:auto}}[data-theme=link-command]{width:1000vw}.ProseMirror>*+*{margin-top:1.5em;margin-bottom:1.5em}.ProseMirror ul,.ProseMirror ol{padding:0 1rem;margin:.5rem;text-wrap:text-wrap;word-break:break-all;width:inherit}.ProseMirror li{padding:0 1rem;margin:.5rem}.ProseMirror h1,.ProseMirror h2,.ProseMirror h3{line-height:1.1;font-weight:700}.ProseMirror h1{font-size:32px}.ProseMirror h2{font-size:24px}.ProseMirror h3{font-size:18px}.ProseMirror code{background-color:#6161611a;color:#616161}.ProseMirror pre{background-color:transparent;color:#000;font-family:JetBrainsMono,monospace;padding:.75rem 1rem;border-radius:.5rem}.ProseMirror pre code{color:inherit;padding:0;background:none;font-size:.8rem}.ProseMirror img{max-width:100%;height:auto}.ProseMirror blockquote{padding-left:1rem;border-left:2px solid rgba(13,13,13,.1)}.ProseMirror img:hover{cursor:pointer;transition-property:box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.2s;animation-duration:.2s}.ProseMirror img:hover:hover{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.ProseMirror img.ProseMirror-selectednode{outline:3px solid #5abbf7;filter:brightness(90%)}.tiptap.ProseMirror ol{display:flex;flex-direction:column}ul[data-type=taskList] li>label{margin-right:.2rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}@media screen and (max-width: 768px){ul[data-type=taskList] li>label{margin-right:.5rem}}ul[data-type=taskList] li>label input[type=checkbox]{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;margin:0;cursor:pointer;width:1.2em;height:1.2em;position:relative;top:3px;border:2px solid black;margin-right:.3rem;display:grid;place-content:center}ul[data-type=taskList] li>label input[type=checkbox]:hover{background-color:#f8f9fa}ul[data-type=taskList] li>label input[type=checkbox]:active{background-color:#e9ecef}ul[data-type=taskList] li>label input[type=checkbox]:before{content:"";width:.65em;height:.65em;transform:scale(0);transition:.12s transform ease-in-out;box-shadow:inset 1em 1em;transform-origin:center;clip-path:polygon(14% 44%,0 65%,50% 100%,100% 16%,80% 0%,43% 62%)}ul[data-type=taskList] li>label input[type=checkbox]:checked:before{transform:scale(1)}ul[data-type=taskList] li[data-checked=true]>div>p{color:#a8a29e;text-decoration:line-through;text-decoration-thickness:2px}.collaboration-cursor__caret{border-left:1px solid #0d0d0d;border-right:1px solid #0d0d0d;margin-left:-1px;margin-right:-1px;pointer-events:none;position:relative;word-break:normal}.collaboration-cursor__label{border-radius:3px 3px 3px 0;color:#0d0d0d;font-size:12px;font-style:normal;font-weight:600;left:-1px;line-height:normal;padding:.1rem .3rem;position:absolute;top:-1.4em;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.custom-cursor__caret{border-left:1px solid transparent;border-right:1px solid transparent;margin-left:-1px;margin-right:-1px;pointer-events:none;position:relative;word-break:normal}.custom-cursor__icon{flex-shrink:0;width:13px;height:14px;margin-right:5px}.custom-cursor__text{white-space:nowrap;overflow:visible;flex-grow:1;display:flex}.custom-cursor__label-container{display:flex;align-items:center;position:absolute;top:-1.4em;left:-1px;background-color:#fffc;border-radius:8px;box-shadow:0 2px 5px #0003;padding:.1rem .3rem;width:-moz-max-content;width:max-content;white-space:nowrap}.custom-cursor__label{display:flex;align-items:center;color:#0d0d0d;font-size:14px;font-weight:600;line-height:normal;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap;padding-right:16px;position:relative}.custom-cursor__badge{position:absolute;right:3px;width:12px;height:12px;margin-left:5px}.tippy-box[data-animation=shift-toward-subtle][data-state=hidden]{opacity:0}.tippy-box[data-animation=shift-toward-subtle][data-state=hidden][data-placement^=top][data-state=hidden]{transform:translateY(-5px)}.tippy-box[data-animation=shift-toward-subtle][data-state=hidden][data-placement^=bottom][data-state=hidden]{transform:translateY(5px)}.tippy-box[data-animation=shift-toward-subtle][data-state=hidden][data-placement^=left][data-state=hidden]{transform:translate(-5px)}.tippy-box[data-animation=shift-toward-subtle][data-state=hidden][data-placement^=right][data-state=hidden]{transform:translate(5px)}.dropdown{z-index:50;width:13rem;--tw-translate-x: -.5rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));border-radius:.25rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.dropdown .dropdown-content{display:flex;flex-direction:column;border-radius:.375rem;--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity));--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.dropdown .dropdown-content .button{display:flex;width:100%;align-items:center;gap:.5rem;border-radius:.25rem;padding:.25rem .5rem;--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.dropdown .dropdown-content .button:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.trigger-button{position:absolute;right:0;bottom:0;margin:.25rem;display:flex;cursor:pointer;align-items:center;justify-content:center;border-radius:.25rem;background-color:transparent;padding:0 1px;font-size:1rem;line-height:1.5rem;opacity:0;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.group:hover .trigger-button{opacity:1}
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@fileverse-dev/ddoc",
3
3
  "private": false,
4
4
  "description": "DDoc",
5
- "version": "1.2.9",
5
+ "version": "1.3.1",
6
6
  "main": "dist/index.umd.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {
@@ -51,6 +51,7 @@
51
51
  "@tiptap/starter-kit": "^2.4.0",
52
52
  "@tiptap/suggestion": "^2.4.0",
53
53
  "classnames": "^2.5.1",
54
+ "embla-carousel-react": "^8.1.5",
54
55
  "ethers": "^6.13.1",
55
56
  "lucide-react": "^0.379.0",
56
57
  "prosemirror-model": "^1.21.0",
@@ -59,8 +60,10 @@
59
60
  "react-dom": "^18.2.0",
60
61
  "react-twitter-embed": "^4.0.4",
61
62
  "react-uuid": "^2.0.0",
63
+ "tailwindcss-animate": "^1.0.7",
62
64
  "tippy.js": "^6.3.7",
63
65
  "usehooks-ts": "^3.1.0",
66
+ "vaul": "^0.9.1",
64
67
  "vite-plugin-dts": "^3.6.3",
65
68
  "y-prosemirror": "^1.2.5",
66
69
  "y-webrtc": "^10.3.0",
@@ -1,7 +0,0 @@
1
- import { PluginMetaData } from '../types';
2
-
3
- export declare const PluginNavbarLeftSection: ({ metaData, setMetaData, isPreviewMode, }: {
4
- metaData: PluginMetaData;
5
- setMetaData: React.Dispatch<React.SetStateAction<PluginMetaData>>;
6
- isPreviewMode: boolean;
7
- }) => import("react/jsx-runtime").JSX.Element;