eddyter 1.3.60 → 1.3.61

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.
Files changed (42) hide show
  1. package/dist/api/ai/index.d.ts +12 -12
  2. package/dist/assets/index.css +1 -0
  3. package/dist/babel-19rkKi7e.js +7157 -0
  4. package/dist/components/FileUpload/InsertFileDialog.d.ts +0 -1
  5. package/dist/components/LinkPreviewHover/index.d.ts +0 -1
  6. package/dist/components/ScopedEditor.d.ts +0 -1
  7. package/dist/components/ui/dropdown-menu.d.ts +3 -3
  8. package/dist/components/ui/skeleton.d.ts +0 -1
  9. package/dist/context/ToolbarContext.d.ts +6 -2
  10. package/dist/estree-DmlwiAu4.js +4453 -0
  11. package/dist/hooks/useModal.d.ts +0 -1
  12. package/dist/html-DtcgJGeD.js +2760 -0
  13. package/dist/html2pdf.bundle-BP8K5ERw.js +32961 -0
  14. package/dist/html2pdf.bundle.min-BrDn1HSi.js +20244 -0
  15. package/dist/{index-e3302f38.js → index-CFq39nnT.js} +14402 -15220
  16. package/dist/{index-98d915c4.js → index-CnBHpreC.js} +347 -378
  17. package/dist/{index-8889e1ba.js → index-DnHnFalw.js} +8 -39
  18. package/dist/index.js +13 -47
  19. package/dist/markdown-C2JcxpgA.js +3163 -0
  20. package/dist/plugins/AutocompletePlugin.d.ts +0 -1
  21. package/dist/plugins/CustomHorizontalRulePlugin/CustomHorizontalRulePlugin.d.ts +0 -1
  22. package/dist/plugins/HtmlSyncPlugin.d.ts +0 -1
  23. package/dist/plugins/LinkPreviewPlugin/index.d.ts +0 -1
  24. package/dist/plugins/PasteOptionsPlugin/index.d.ts +0 -1
  25. package/dist/plugins/SignatureCanvasPlugin/SignatureCanvasPlugin.d.ts +0 -1
  26. package/dist/plugins/SlashCommandPlugin/index.d.ts +0 -1
  27. package/dist/plugins/UsageTrackingPlugin.d.ts +0 -1
  28. package/dist/plugins/VoiceTranscriptPlugin.d.ts +1 -1
  29. package/dist/postcss-Banlrd6S.js +4703 -0
  30. package/dist/standalone-JqHlnZSs.js +2429 -0
  31. package/dist/typescript-D_phonMq.js +12929 -0
  32. package/package.json +6 -6
  33. package/dist/assets/style.css +0 -1
  34. package/dist/babel-44680aef.js +0 -7744
  35. package/dist/estree-a7dc9ac5.js +0 -4647
  36. package/dist/html-f2fcab26.js +0 -2882
  37. package/dist/html2pdf.bundle-519d30c0.js +0 -34001
  38. package/dist/html2pdf.bundle.min-8451fd59.js +0 -21964
  39. package/dist/markdown-48d2f5f1.js +0 -3592
  40. package/dist/postcss-9ac167c3.js +0 -5172
  41. package/dist/standalone-2029bc8b.js +0 -2467
  42. package/dist/typescript-bd1bb88f.js +0 -13632
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface InsertFileDialogProps {
3
2
  activeEditor: any;
4
3
  onClose: () => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  /**
3
2
  * LinkPreviewHover - A standalone component that provides link preview on hover
4
3
  * Can be used with any HTML container (not dependent on Lexical editor)
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  interface ScopedEditorWrapperProps {
3
2
  children: React.ReactNode;
4
3
  className?: string;
@@ -7,17 +7,17 @@ declare const DropdownMenuPortal: React.FC<DropdownMenuPrimitive.DropdownMenuPor
7
7
  declare const DropdownMenuSub: React.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
8
8
  declare const DropdownMenuRadioGroup: React.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
9
9
  declare const DropdownMenuSubTrigger: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
10
- inset?: boolean | undefined;
10
+ inset?: boolean;
11
11
  } & React.RefAttributes<HTMLDivElement>>;
12
12
  declare const DropdownMenuSubContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
13
13
  declare const DropdownMenuContent: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
14
14
  declare const DropdownMenuItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
15
- inset?: boolean | undefined;
15
+ inset?: boolean;
16
16
  } & React.RefAttributes<HTMLDivElement>>;
17
17
  declare const DropdownMenuCheckboxItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
18
18
  declare const DropdownMenuRadioItem: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
19
19
  declare const DropdownMenuLabel: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
20
- inset?: boolean | undefined;
20
+ inset?: boolean;
21
21
  } & React.RefAttributes<HTMLDivElement>>;
22
22
  declare const DropdownMenuSeparator: React.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
23
23
  declare const DropdownMenuShortcut: {
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
3
2
  export { Skeleton };
@@ -3,6 +3,10 @@ import { ReactNode } from 'react';
3
3
  export declare const MIN_ALLOWED_FONT_SIZE = 8;
4
4
  export declare const MAX_ALLOWED_FONT_SIZE = 72;
5
5
  export declare const DEFAULT_FONT_SIZE = 15;
6
+ declare const rootTypeToRootName: {
7
+ root: string;
8
+ table: string;
9
+ };
6
10
  export declare const blockTypeToBlockName: {
7
11
  bullet: string;
8
12
  check: string;
@@ -19,7 +23,7 @@ export declare const blockTypeToBlockName: {
19
23
  };
20
24
  declare const INITIAL_TOOLBAR_STATE: {
21
25
  bgColor: string;
22
- blockType: "number" | "code" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "paragraph" | "quote" | "bullet" | "check";
26
+ blockType: keyof typeof blockTypeToBlockName;
23
27
  canRedo: boolean;
24
28
  canUndo: boolean;
25
29
  codeLanguage: string;
@@ -39,7 +43,7 @@ declare const INITIAL_TOOLBAR_STATE: {
39
43
  isSubscript: boolean;
40
44
  isSuperscript: boolean;
41
45
  isUnderline: boolean;
42
- rootType: "table" | "root";
46
+ rootType: keyof typeof rootTypeToRootName;
43
47
  isAutocompleteEnabled: boolean;
44
48
  isGrammarCheckEnabled: boolean;
45
49
  };