@haklex/rich-editor 0.0.65 → 0.0.66

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 (120) hide show
  1. package/README.md +107 -300
  2. package/dist/AlertQuoteEditNode-AgVEMFEi.js +292 -0
  3. package/dist/KaTeXRenderer-C8jv_5xr.js +214 -0
  4. package/dist/LinkCardRenderer-QmkOlyXb.js +36 -0
  5. package/dist/{LinkFavicon-DpURZdO_.js → LinkFavicon-B9SOaYCR.js} +5 -24
  6. package/dist/MermaidPlugin-CIQbyjXF.js +97 -0
  7. package/dist/RubyRenderer-DbeobSoH.js +13 -0
  8. package/dist/SubmitShortcutPlugin-WQpet-vq.js +1512 -0
  9. package/dist/commands-entry.d.ts +9 -0
  10. package/dist/commands-entry.d.ts.map +1 -0
  11. package/dist/commands-entry.mjs +25 -0
  12. package/dist/components/ContentEditable.d.ts +2 -2
  13. package/dist/components/ContentEditable.d.ts.map +1 -1
  14. package/dist/components/CorePlugins.d.ts +2 -0
  15. package/dist/components/CorePlugins.d.ts.map +1 -0
  16. package/dist/components/LinkFavicon.d.ts.map +1 -1
  17. package/dist/components/RichEditor.d.ts +1 -1
  18. package/dist/components/RichEditor.d.ts.map +1 -1
  19. package/dist/components/RichEditorShell.d.ts +26 -0
  20. package/dist/components/RichEditorShell.d.ts.map +1 -0
  21. package/dist/components/decorators/AlertEditDecorator.d.ts +2 -2
  22. package/dist/components/decorators/AlertEditDecorator.d.ts.map +1 -1
  23. package/dist/components/decorators/BannerEditDecorator.d.ts +1 -1
  24. package/dist/components/decorators/BannerEditDecorator.d.ts.map +1 -1
  25. package/dist/components/decorators/CodeBlockEditDecorator.d.ts +2 -2
  26. package/dist/components/decorators/CodeBlockEditDecorator.d.ts.map +1 -1
  27. package/dist/components/decorators/GridEditDecorator.d.ts +2 -2
  28. package/dist/components/decorators/GridEditDecorator.d.ts.map +1 -1
  29. package/dist/components/renderers/AlertRenderer.d.ts +1 -1
  30. package/dist/components/renderers/AlertRenderer.d.ts.map +1 -1
  31. package/dist/components/renderers/AlertStaticDecorator.d.ts +1 -1
  32. package/dist/components/renderers/AlertStaticDecorator.d.ts.map +1 -1
  33. package/dist/components/renderers/BannerRenderer.d.ts +1 -1
  34. package/dist/components/renderers/BannerRenderer.d.ts.map +1 -1
  35. package/dist/components/renderers/BannerStaticDecorator.d.ts +1 -1
  36. package/dist/components/renderers/BannerStaticDecorator.d.ts.map +1 -1
  37. package/dist/components/renderers/CodeBlockRenderer.d.ts +5 -5
  38. package/dist/components/renderers/CodeBlockRenderer.d.ts.map +1 -1
  39. package/dist/components/renderers/FootnoteRenderer.d.ts.map +1 -1
  40. package/dist/components/renderers/FootnoteSectionEditRenderer.d.ts +1 -1
  41. package/dist/components/renderers/FootnoteSectionEditRenderer.d.ts.map +1 -1
  42. package/dist/components/renderers/FootnoteSectionRenderer.d.ts +1 -1
  43. package/dist/components/renderers/FootnoteSectionRenderer.d.ts.map +1 -1
  44. package/dist/components/renderers/FootnoteStaticRenderer.d.ts +1 -1
  45. package/dist/components/renderers/FootnoteStaticRenderer.d.ts.map +1 -1
  46. package/dist/components/renderers/GridStaticDecorator.d.ts +2 -2
  47. package/dist/components/renderers/GridStaticDecorator.d.ts.map +1 -1
  48. package/dist/components/renderers/ImageRenderer.d.ts +4 -4
  49. package/dist/components/renderers/ImageRenderer.d.ts.map +1 -1
  50. package/dist/components/renderers/KaTeXRenderer.d.ts +1 -1
  51. package/dist/components/renderers/KaTeXRenderer.d.ts.map +1 -1
  52. package/dist/components/renderers/LinkCardRenderer.d.ts +4 -4
  53. package/dist/components/renderers/LinkCardRenderer.d.ts.map +1 -1
  54. package/dist/components/renderers/MentionRenderer.d.ts +2 -2
  55. package/dist/components/renderers/MentionRenderer.d.ts.map +1 -1
  56. package/dist/components/renderers/RubyRenderer.d.ts +1 -1
  57. package/dist/components/renderers/RubyRenderer.d.ts.map +1 -1
  58. package/dist/components/renderers/VideoRenderer.d.ts +3 -3
  59. package/dist/components/renderers/VideoRenderer.d.ts.map +1 -1
  60. package/dist/config-QGdXDSW9.js +1235 -0
  61. package/dist/context/ImageUploadContext.d.ts.map +1 -1
  62. package/dist/context/RendererConfigContext.d.ts +1 -1
  63. package/dist/context/RendererConfigContext.d.ts.map +1 -1
  64. package/dist/favicon-BQgbXF_a.js +43 -0
  65. package/dist/index.d.ts +10 -80
  66. package/dist/index.d.ts.map +1 -1
  67. package/dist/index.mjs +151 -161
  68. package/dist/node-registry-CSRSWJ0q.js +765 -0
  69. package/dist/nodes/CodeBlockEditNode.d.ts +6 -6
  70. package/dist/nodes/DetailsNode.d.ts.map +1 -1
  71. package/dist/nodes/GridContainerNode.d.ts.map +1 -1
  72. package/dist/nodes/GridEditNode.d.ts.map +1 -1
  73. package/dist/nodes/ImageNode.d.ts +4 -4
  74. package/dist/nodes/ImageNode.d.ts.map +1 -1
  75. package/dist/nodes/LinkCardNode.d.ts +4 -4
  76. package/dist/nodes/LinkCardNode.d.ts.map +1 -1
  77. package/dist/nodes/VideoNode.d.ts +2 -2
  78. package/dist/nodes/VideoNode.d.ts.map +1 -1
  79. package/dist/nodes-entry.d.ts +28 -0
  80. package/dist/nodes-entry.d.ts.map +1 -0
  81. package/dist/nodes-entry.mjs +44 -0
  82. package/dist/plugins/AutoLinkPlugin.d.ts.map +1 -1
  83. package/dist/plugins/ImageUploadPlugin.d.ts +2 -2
  84. package/dist/plugins/ImageUploadPlugin.d.ts.map +1 -1
  85. package/dist/plugins/MarkdownPastePlugin.d.ts.map +1 -1
  86. package/dist/plugins/OnChangePlugin.d.ts +1 -1
  87. package/dist/plugins/OnChangePlugin.d.ts.map +1 -1
  88. package/dist/plugins/image-upload-command.d.ts.map +1 -1
  89. package/dist/plugins/image-upload.css.d.ts +1 -4
  90. package/dist/plugins/image-upload.css.d.ts.map +1 -1
  91. package/dist/plugins-entry.d.ts +22 -0
  92. package/dist/plugins-entry.d.ts.map +1 -0
  93. package/dist/plugins-entry.mjs +27 -0
  94. package/dist/renderers-entry.d.ts +23 -0
  95. package/dist/renderers-entry.d.ts.map +1 -0
  96. package/dist/renderers-entry.mjs +60 -0
  97. package/dist/rich-editor.css +1 -1
  98. package/dist/{utils-fpeaZV1R.js → shared.css-DNuMYx6Q.js} +4 -1
  99. package/dist/static-entry.mjs +23 -21
  100. package/dist/styles/article.css.d.ts.map +1 -1
  101. package/dist/styles-entry.mjs +1 -2
  102. package/dist/theme-CRza9nbF.js +924 -0
  103. package/dist/transformers/code-block.d.ts.map +1 -1
  104. package/dist/types/renderer-config.d.ts +6 -6
  105. package/dist/types/renderer-config.d.ts.map +1 -1
  106. package/dist/types/slash-menu.d.ts +6 -6
  107. package/dist/types/slash-menu.d.ts.map +1 -1
  108. package/dist/types.d.ts +18 -13
  109. package/dist/types.d.ts.map +1 -1
  110. package/dist/utils/comment-anchor.d.ts +8 -8
  111. package/dist/utils/comment-anchor.d.ts.map +1 -1
  112. package/package.json +50 -33
  113. package/dist/RichEditor-EI3rR1-9.js +0 -2789
  114. package/dist/components/decorators/nested-doc-dialog.css.d.ts +0 -28
  115. package/dist/components/decorators/nested-doc-dialog.css.d.ts.map +0 -1
  116. package/dist/editor.d.ts +0 -6
  117. package/dist/editor.d.ts.map +0 -1
  118. package/dist/editor.mjs +0 -12
  119. package/dist/favicon-C6Esc0tp.js +0 -2470
  120. package/dist/shared.css-BqX4HjVE.js +0 -5
@@ -0,0 +1,9 @@
1
+ export { INSERT_ALERT_COMMAND } from './plugins/AlertPlugin';
2
+ export { OPEN_IMAGE_UPLOAD_DIALOG_COMMAND } from './plugins/image-upload-command';
3
+ export { INSERT_IMAGE_COMMAND } from './plugins/ImagePlugin';
4
+ export { INSERT_KATEX_BLOCK_COMMAND, INSERT_KATEX_INLINE_COMMAND } from './plugins/KaTeXPlugin';
5
+ export { INSERT_MERMAID_COMMAND } from './plugins/MermaidPlugin';
6
+ export type { CommandItemConfig, CommandPlacement, SlashMenuItemConfig, ToolbarGroup, } from './types/slash-menu';
7
+ export { collectCommandItems } from './utils/collect-command-items';
8
+ export { extractTextContent } from './utils/extractTextContent';
9
+ //# sourceMappingURL=commands-entry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"commands-entry.d.ts","sourceRoot":"","sources":["../src/commands-entry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAE,gCAAgC,EAAE,MAAM,gCAAgC,CAAC;AAClF,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAE,0BAA0B,EAAE,2BAA2B,EAAE,MAAM,uBAAuB,CAAC;AAChG,OAAO,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AACjE,YAAY,EACV,iBAAiB,EACjB,gBAAgB,EAChB,mBAAmB,EACnB,YAAY,GACb,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AACpE,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC"}
@@ -0,0 +1,25 @@
1
+ import { a, b, c, d, e } from "./MermaidPlugin-CIQbyjXF.js";
2
+ import { O, a as a2 } from "./theme-CRza9nbF.js";
3
+ function collectCommandItems(editor) {
4
+ const items = [];
5
+ const nodes = editor._nodes;
6
+ for (const { klass } of nodes.values()) {
7
+ const configs = klass.commandItems ?? klass.slashMenuItems;
8
+ if (configs) {
9
+ for (const config of configs) {
10
+ items.push(config);
11
+ }
12
+ }
13
+ }
14
+ return items;
15
+ }
16
+ export {
17
+ a as INSERT_ALERT_COMMAND,
18
+ b as INSERT_IMAGE_COMMAND,
19
+ c as INSERT_KATEX_BLOCK_COMMAND,
20
+ d as INSERT_KATEX_INLINE_COMMAND,
21
+ e as INSERT_MERMAID_COMMAND,
22
+ O as OPEN_IMAGE_UPLOAD_DIALOG_COMMAND,
23
+ collectCommandItems,
24
+ a2 as extractTextContent
25
+ };
@@ -1,8 +1,8 @@
1
1
  interface ContentEditableProps {
2
2
  className?: string;
3
- placeholder?: string;
4
3
  hasHeader?: boolean;
4
+ placeholder?: string;
5
5
  }
6
- export declare function ContentEditable({ className, placeholder, hasHeader, }: ContentEditableProps): import("react").JSX.Element;
6
+ export declare function ContentEditable({ className, placeholder, hasHeader }: ContentEditableProps): import("react").JSX.Element;
7
7
  export {};
8
8
  //# sourceMappingURL=ContentEditable.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ContentEditable.d.ts","sourceRoot":"","sources":["../../src/components/ContentEditable.tsx"],"names":[],"mappings":"AAKA,UAAU,oBAAoB;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAED,wBAAgB,eAAe,CAAC,EAC9B,SAAS,EACT,WAAW,EACX,SAAS,GACV,EAAE,oBAAoB,+BAqBtB"}
1
+ {"version":3,"file":"ContentEditable.d.ts","sourceRoot":"","sources":["../../src/components/ContentEditable.tsx"],"names":[],"mappings":"AAKA,UAAU,oBAAoB;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,wBAAgB,eAAe,CAAC,EAAE,SAAS,EAAE,WAAW,EAAE,SAAS,EAAE,EAAE,oBAAoB,+BAqB1F"}
@@ -0,0 +1,2 @@
1
+ export declare function CorePlugins(): import("react").JSX.Element;
2
+ //# sourceMappingURL=CorePlugins.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CorePlugins.d.ts","sourceRoot":"","sources":["../../src/components/CorePlugins.tsx"],"names":[],"mappings":"AAYA,wBAAgB,WAAW,gCAe1B"}
@@ -1 +1 @@
1
- {"version":3,"file":"LinkFavicon.d.ts","sourceRoot":"","sources":["../../src/components/LinkFavicon.tsx"],"names":[],"mappings":"AAOA,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,6FAA6F;IAC7F,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC,CAAA;IACjD,sDAAsD;IACtD,kBAAkB,CAAC,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,MAAM,GAAG,IAAI,CAAA;CACjD,CAAA;AAED,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EACJ,MAAM,EACN,MAAc,EACd,SAAS,EACT,eAAe,EACf,kBAAkB,GACnB,EAAE,gBAAgB,sCAwDlB"}
1
+ {"version":3,"file":"LinkFavicon.d.ts","sourceRoot":"","sources":["../../src/components/LinkFavicon.tsx"],"names":[],"mappings":"AAOA,MAAM,MAAM,gBAAgB,GAAG;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,6FAA6F;IAC7F,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC,CAAC;IAClD,sDAAsD;IACtD,kBAAkB,CAAC,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,MAAM,GAAG,IAAI,CAAC;CAClD,CAAC;AAEF,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EACJ,MAAM,EACN,MAAc,EACd,SAAS,EACT,eAAe,EACf,kBAAkB,GACnB,EAAE,gBAAgB,sCAkDlB"}
@@ -1,3 +1,3 @@
1
1
  import { RichEditorProps } from '../types';
2
- export declare function RichEditor({ initialValue, onChange, variant, theme, placeholder, onSubmit, autoFocus, className, contentClassName, style, actions, header, onEditorReady, extraNodes, rendererConfig, imageUpload, debounceMs, children, }: RichEditorProps): import("react").JSX.Element;
2
+ export declare function RichEditor({ extraNodes, imageUpload, children, ...shellProps }: RichEditorProps): import("react").JSX.Element;
3
3
  //# sourceMappingURL=RichEditor.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RichEditor.d.ts","sourceRoot":"","sources":["../../src/components/RichEditor.tsx"],"names":[],"mappings":"AAqCA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAI/C,wBAAgB,UAAU,CAAC,EACzB,YAAY,EACZ,QAAQ,EACR,OAAmB,EACnB,KAAe,EACf,WAAkC,EAClC,QAAQ,EACR,SAAiB,EACjB,SAAS,EACT,gBAAgB,EAChB,KAAK,EACL,OAAO,EACP,MAAM,EACN,aAAa,EACb,UAAU,EACV,cAAc,EACd,WAAW,EACX,UAAU,EACV,QAAQ,GACT,EAAE,eAAe,+BA+EjB"}
1
+ {"version":3,"file":"RichEditor.d.ts","sourceRoot":"","sources":["../../src/components/RichEditor.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAIhD,wBAAgB,UAAU,CAAC,EAAE,UAAU,EAAE,WAAW,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAE,EAAE,eAAe,+BAmB/F"}
@@ -0,0 +1,26 @@
1
+ import { Klass, LexicalEditor, LexicalNode, SerializedEditorState } from 'lexical';
2
+ import { ReactNode } from 'react';
3
+ import { ColorScheme } from '../context/ColorSchemeContext';
4
+ import { RichEditorVariant } from '../types';
5
+ import { RendererConfig } from '../types/renderer-config';
6
+ export interface RichEditorShellProps {
7
+ actions?: ReactNode;
8
+ autoFocus?: boolean;
9
+ children?: ReactNode;
10
+ className?: string;
11
+ contentClassName?: string;
12
+ debounceMs?: number;
13
+ header?: ReactNode;
14
+ initialValue?: SerializedEditorState;
15
+ nodes: Array<Klass<LexicalNode>>;
16
+ onChange?: (value: SerializedEditorState) => void;
17
+ onEditorReady?: (editor: LexicalEditor | null) => void;
18
+ onSubmit?: () => void;
19
+ placeholder?: string;
20
+ rendererConfig?: RendererConfig;
21
+ style?: React.CSSProperties;
22
+ theme?: ColorScheme;
23
+ variant?: RichEditorVariant;
24
+ }
25
+ export declare function RichEditorShell({ nodes, initialValue, onChange, variant, theme, placeholder, onSubmit, autoFocus, className, contentClassName, style, actions, header, onEditorReady, rendererConfig, debounceMs, children, }: RichEditorShellProps): import("react").JSX.Element;
26
+ //# sourceMappingURL=RichEditorShell.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RichEditorShell.d.ts","sourceRoot":"","sources":["../../src/components/RichEditorShell.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,KAAK,EAAE,aAAa,EAAE,WAAW,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AACxF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAUjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAClD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAI/D,MAAM,WAAW,oBAAoB;IACnC,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,YAAY,CAAC,EAAE,qBAAqB,CAAC;IACrC,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC;IACjC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;IAClD,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,aAAa,GAAG,IAAI,KAAK,IAAI,CAAC;IACvD,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,OAAO,CAAC,EAAE,iBAAiB,CAAC;CAC7B;AAED,wBAAgB,eAAe,CAAC,EAC9B,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,OAAmB,EACnB,KAAe,EACf,WAAkC,EAClC,QAAQ,EACR,SAAiB,EACjB,SAAS,EACT,gBAAgB,EAChB,KAAK,EACL,OAAO,EACP,MAAM,EACN,aAAa,EACb,cAAc,EACd,UAAU,EACV,QAAQ,GACT,EAAE,oBAAoB,+BAoDtB"}
@@ -1,10 +1,10 @@
1
1
  import { LexicalEditor } from 'lexical';
2
2
  import { AlertType } from '../../nodes/AlertQuoteNode';
3
3
  interface AlertEditDecoratorProps {
4
- nodeKey: string;
5
4
  alertType: AlertType;
6
5
  contentEditor: LexicalEditor;
6
+ nodeKey: string;
7
7
  }
8
- export declare function AlertEditDecorator({ nodeKey, alertType, contentEditor, }: AlertEditDecoratorProps): import("react").JSX.Element;
8
+ export declare function AlertEditDecorator({ nodeKey, alertType, contentEditor }: AlertEditDecoratorProps): import("react").JSX.Element;
9
9
  export {};
10
10
  //# sourceMappingURL=AlertEditDecorator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AlertEditDecorator.d.ts","sourceRoot":"","sources":["../../../src/components/decorators/AlertEditDecorator.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAe5C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAA;AA2H3D,UAAU,uBAAuB;IAC/B,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,EAAE,SAAS,CAAA;IACpB,aAAa,EAAE,aAAa,CAAA;CAC7B;AAED,wBAAgB,kBAAkB,CAAC,EACjC,OAAO,EACP,SAAS,EACT,aAAa,GACd,EAAE,uBAAuB,+BA+CzB"}
1
+ {"version":3,"file":"AlertEditDecorator.d.ts","sourceRoot":"","sources":["../../../src/components/decorators/AlertEditDecorator.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAe7C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AA0H5D,UAAU,uBAAuB;IAC/B,SAAS,EAAE,SAAS,CAAC;IACrB,aAAa,EAAE,aAAa,CAAC;IAC7B,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,kBAAkB,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,EAAE,uBAAuB,+BA+ChG"}
@@ -1,9 +1,9 @@
1
1
  import { LexicalEditor } from 'lexical';
2
2
  import { BannerType } from '../../nodes/BannerNode';
3
3
  interface BannerEditDecoratorProps {
4
- nodeKey: string;
5
4
  bannerType: BannerType;
6
5
  contentEditor: LexicalEditor;
6
+ nodeKey: string;
7
7
  }
8
8
  export declare function BannerEditDecorator({ nodeKey, bannerType, contentEditor, }: BannerEditDecoratorProps): import("react").JSX.Element;
9
9
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"BannerEditDecorator.d.ts","sourceRoot":"","sources":["../../../src/components/decorators/BannerEditDecorator.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAI5C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AAKxD,UAAU,wBAAwB;IAChC,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,UAAU,CAAA;IACtB,aAAa,EAAE,aAAa,CAAA;CAC7B;AAED,wBAAgB,mBAAmB,CAAC,EAClC,OAAO,EACP,UAAU,EACV,aAAa,GACd,EAAE,wBAAwB,+BA8C1B"}
1
+ {"version":3,"file":"BannerEditDecorator.d.ts","sourceRoot":"","sources":["../../../src/components/decorators/BannerEditDecorator.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAI7C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAKzD,UAAU,wBAAwB;IAChC,UAAU,EAAE,UAAU,CAAC;IACvB,aAAa,EAAE,aAAa,CAAC;IAC7B,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,mBAAmB,CAAC,EAClC,OAAO,EACP,UAAU,EACV,aAAa,GACd,EAAE,wBAAwB,+BA8C1B"}
@@ -1,8 +1,8 @@
1
1
  interface CodeBlockEditDecoratorProps {
2
- nodeKey: string;
3
2
  code: string;
4
3
  language: string;
4
+ nodeKey: string;
5
5
  }
6
- export declare function CodeBlockEditDecorator({ nodeKey, code, language, }: CodeBlockEditDecoratorProps): import("react").JSX.Element;
6
+ export declare function CodeBlockEditDecorator({ nodeKey, code, language }: CodeBlockEditDecoratorProps): import("react").JSX.Element;
7
7
  export {};
8
8
  //# sourceMappingURL=CodeBlockEditDecorator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CodeBlockEditDecorator.d.ts","sourceRoot":"","sources":["../../../src/components/decorators/CodeBlockEditDecorator.tsx"],"names":[],"mappings":"AAoBA,UAAU,2BAA2B;IACnC,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;CACjB;AAED,wBAAgB,sBAAsB,CAAC,EACrC,OAAO,EACP,IAAI,EACJ,QAAQ,GACT,EAAE,2BAA2B,+BAmJ7B"}
1
+ {"version":3,"file":"CodeBlockEditDecorator.d.ts","sourceRoot":"","sources":["../../../src/components/decorators/CodeBlockEditDecorator.tsx"],"names":[],"mappings":"AAsBA,UAAU,2BAA2B;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,sBAAsB,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,2BAA2B,+BA2K9F"}
@@ -1,9 +1,9 @@
1
1
  import { LexicalEditor } from 'lexical';
2
2
  interface GridEditDecoratorProps {
3
- nodeKey: string;
3
+ cellEditors: LexicalEditor[];
4
4
  cols: number;
5
5
  gap: string;
6
- cellEditors: LexicalEditor[];
6
+ nodeKey: string;
7
7
  }
8
8
  export declare function GridEditDecorator({ nodeKey, cols: initialCols, gap, cellEditors, }: GridEditDecoratorProps): import("react").JSX.Element;
9
9
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"GridEditDecorator.d.ts","sourceRoot":"","sources":["../../../src/components/decorators/GridEditDecorator.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AAQ5C,UAAU,sBAAsB;IAC9B,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,MAAM,CAAA;IACX,WAAW,EAAE,aAAa,EAAE,CAAA;CAC7B;AAID,wBAAgB,iBAAiB,CAAC,EAChC,OAAO,EACP,IAAI,EAAE,WAAW,EACjB,GAAG,EACH,WAAW,GACZ,EAAE,sBAAsB,+BAyHxB"}
1
+ {"version":3,"file":"GridEditDecorator.d.ts","sourceRoot":"","sources":["../../../src/components/decorators/GridEditDecorator.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAQ7C,UAAU,sBAAsB;IAC9B,WAAW,EAAE,aAAa,EAAE,CAAC;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,MAAM,CAAC;CACjB;AAID,wBAAgB,iBAAiB,CAAC,EAChC,OAAO,EACP,IAAI,EAAE,WAAW,EACjB,GAAG,EACH,WAAW,GACZ,EAAE,sBAAsB,+BAoHxB"}
@@ -1,9 +1,9 @@
1
1
  import { FC } from 'react';
2
2
  import { AlertType } from '../../nodes/AlertQuoteNode';
3
3
  export interface AlertRendererProps {
4
- type: AlertType;
5
4
  editable?: boolean;
6
5
  onTypeChange?: (type: AlertType) => void;
6
+ type: AlertType;
7
7
  }
8
8
  export declare const AlertRenderer: FC<AlertRendererProps>;
9
9
  //# sourceMappingURL=AlertRenderer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AlertRenderer.d.ts","sourceRoot":"","sources":["../../../src/components/renderers/AlertRenderer.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAE/B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAA;AAG3D,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,SAAS,CAAA;IACf,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAA;CACzC;AAgBD,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAWhD,CAAA"}
1
+ {"version":3,"file":"AlertRenderer.d.ts","sourceRoot":"","sources":["../../../src/components/renderers/AlertRenderer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAG5D,MAAM,WAAW,kBAAkB;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC;IACzC,IAAI,EAAE,SAAS,CAAC;CACjB;AAgBD,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,kBAAkB,CAWhD,CAAC"}
@@ -4,6 +4,6 @@ interface AlertStaticDecoratorProps {
4
4
  alertType: AlertType;
5
5
  contentState: SerializedEditorState;
6
6
  }
7
- export declare function AlertStaticDecorator({ alertType, contentState, }: AlertStaticDecoratorProps): import("react").JSX.Element;
7
+ export declare function AlertStaticDecorator({ alertType, contentState }: AlertStaticDecoratorProps): import("react").JSX.Element;
8
8
  export {};
9
9
  //# sourceMappingURL=AlertStaticDecorator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AlertStaticDecorator.d.ts","sourceRoot":"","sources":["../../../src/components/renderers/AlertStaticDecorator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAA;AAGpD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAA;AAI3D,UAAU,yBAAyB;IACjC,SAAS,EAAE,SAAS,CAAA;IACpB,YAAY,EAAE,qBAAqB,CAAA;CACpC;AAED,wBAAgB,oBAAoB,CAAC,EACnC,SAAS,EACT,YAAY,GACb,EAAE,yBAAyB,+BAa3B"}
1
+ {"version":3,"file":"AlertStaticDecorator.d.ts","sourceRoot":"","sources":["../../../src/components/renderers/AlertStaticDecorator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAGrD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAI5D,UAAU,yBAAyB;IACjC,SAAS,EAAE,SAAS,CAAC;IACrB,YAAY,EAAE,qBAAqB,CAAC;CACrC;AAED,wBAAgB,oBAAoB,CAAC,EAAE,SAAS,EAAE,YAAY,EAAE,EAAE,yBAAyB,+BAa1F"}
@@ -1,9 +1,9 @@
1
1
  import { FC } from 'react';
2
2
  import { BannerType } from '../../nodes/BannerNode';
3
3
  export interface BannerRendererProps {
4
- type: BannerType;
5
4
  editable?: boolean;
6
5
  onTypeChange?: (type: BannerType) => void;
6
+ type: BannerType;
7
7
  }
8
8
  export declare const BannerRenderer: FC<BannerRendererProps>;
9
9
  //# sourceMappingURL=BannerRenderer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BannerRenderer.d.ts","sourceRoot":"","sources":["../../../src/components/renderers/BannerRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAA;AAE/B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AAExD,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,UAAU,CAAA;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAA;CAC1C;AAED,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CAElD,CAAA"}
1
+ {"version":3,"file":"BannerRenderer.d.ts","sourceRoot":"","sources":["../../../src/components/renderers/BannerRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAEhC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAEzD,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,CAAC;IAC1C,IAAI,EAAE,UAAU,CAAC;CAClB;AAED,eAAO,MAAM,cAAc,EAAE,EAAE,CAAC,mBAAmB,CAElD,CAAC"}
@@ -4,6 +4,6 @@ interface BannerStaticDecoratorProps {
4
4
  bannerType: BannerType;
5
5
  contentState: SerializedEditorState;
6
6
  }
7
- export declare function BannerStaticDecorator({ bannerType, contentState, }: BannerStaticDecoratorProps): import("react").JSX.Element;
7
+ export declare function BannerStaticDecorator({ bannerType, contentState }: BannerStaticDecoratorProps): import("react").JSX.Element;
8
8
  export {};
9
9
  //# sourceMappingURL=BannerStaticDecorator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BannerStaticDecorator.d.ts","sourceRoot":"","sources":["../../../src/components/renderers/BannerStaticDecorator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAA;AAGpD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AAIxD,UAAU,0BAA0B;IAClC,UAAU,EAAE,UAAU,CAAA;IACtB,YAAY,EAAE,qBAAqB,CAAA;CACpC;AAED,wBAAgB,qBAAqB,CAAC,EACpC,UAAU,EACV,YAAY,GACb,EAAE,0BAA0B,+BAa5B"}
1
+ {"version":3,"file":"BannerStaticDecorator.d.ts","sourceRoot":"","sources":["../../../src/components/renderers/BannerStaticDecorator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAGrD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAIzD,UAAU,0BAA0B;IAClC,UAAU,EAAE,UAAU,CAAC;IACvB,YAAY,EAAE,qBAAqB,CAAC;CACrC;AAED,wBAAgB,qBAAqB,CAAC,EAAE,UAAU,EAAE,YAAY,EAAE,EAAE,0BAA0B,+BAa7F"}
@@ -1,14 +1,14 @@
1
1
  export interface CodeBlockRendererProps {
2
2
  code: string;
3
- language: string;
4
- showLineNumbers?: boolean;
5
- editable?: boolean;
6
- selected?: boolean;
7
3
  cursorPlacement?: 'start' | 'end';
4
+ editable?: boolean;
5
+ language: string;
8
6
  onCodeChange?: (code: string) => void;
9
- onLanguageChange?: (language: string) => void;
10
7
  onDelete?: () => void;
11
8
  onExitBlock?: (direction: 'before' | 'after') => void;
9
+ onLanguageChange?: (language: string) => void;
10
+ selected?: boolean;
11
+ showLineNumbers?: boolean;
12
12
  }
13
13
  export declare function CodeBlockRenderer({ code, language, showLineNumbers: showLineNumbersProp, }: CodeBlockRendererProps): import("react").JSX.Element;
14
14
  //# sourceMappingURL=CodeBlockRenderer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CodeBlockRenderer.d.ts","sourceRoot":"","sources":["../../../src/components/renderers/CodeBlockRenderer.tsx"],"names":[],"mappings":"AAOA,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;IAChB,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,eAAe,CAAC,EAAE,OAAO,GAAG,KAAK,CAAA;IACjC,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IACrC,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAA;IAC7C,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;IACrB,WAAW,CAAC,EAAE,CAAC,SAAS,EAAE,QAAQ,GAAG,OAAO,KAAK,IAAI,CAAA;CACtD;AAED,wBAAgB,iBAAiB,CAAC,EAChC,IAAI,EACJ,QAAQ,EACR,eAAe,EAAE,mBAAmB,GACrC,EAAE,sBAAsB,+BA8FxB"}
1
+ {"version":3,"file":"CodeBlockRenderer.d.ts","sourceRoot":"","sources":["../../../src/components/renderers/CodeBlockRenderer.tsx"],"names":[],"mappings":"AAOA,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,eAAe,CAAC,EAAE,OAAO,GAAG,KAAK,CAAC;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,WAAW,CAAC,EAAE,CAAC,SAAS,EAAE,QAAQ,GAAG,OAAO,KAAK,IAAI,CAAC;IACtD,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,wBAAgB,iBAAiB,CAAC,EAChC,IAAI,EACJ,QAAQ,EACR,eAAe,EAAE,mBAAmB,GACrC,EAAE,sBAAsB,+BA8FxB"}
@@ -1 +1 @@
1
- {"version":3,"file":"FootnoteRenderer.d.ts","sourceRoot":"","sources":["../../../src/components/renderers/FootnoteRenderer.tsx"],"names":[],"mappings":"AAaA,MAAM,WAAW,qBAAqB;IACpC,UAAU,EAAE,MAAM,CAAA;CACnB;AAED,wBAAgB,gBAAgB,CAAC,EAAE,UAAU,EAAE,EAAE,qBAAqB,+BAoDrE"}
1
+ {"version":3,"file":"FootnoteRenderer.d.ts","sourceRoot":"","sources":["../../../src/components/renderers/FootnoteRenderer.tsx"],"names":[],"mappings":"AASA,MAAM,WAAW,qBAAqB;IACpC,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,gBAAgB,CAAC,EAAE,UAAU,EAAE,EAAE,qBAAqB,+BAiDrE"}
@@ -2,5 +2,5 @@ export interface FootnoteSectionEditRendererProps {
2
2
  definitions: Record<string, string>;
3
3
  nodeKey: string;
4
4
  }
5
- export declare function FootnoteSectionEditRenderer({ definitions, }: FootnoteSectionEditRendererProps): import("react").JSX.Element | null;
5
+ export declare function FootnoteSectionEditRenderer({ definitions }: FootnoteSectionEditRendererProps): import("react").JSX.Element | null;
6
6
  //# sourceMappingURL=FootnoteSectionEditRenderer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FootnoteSectionEditRenderer.d.ts","sourceRoot":"","sources":["../../../src/components/renderers/FootnoteSectionEditRenderer.tsx"],"names":[],"mappings":"AAOA,MAAM,WAAW,gCAAgC;IAC/C,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACnC,OAAO,EAAE,MAAM,CAAA;CAChB;AAED,wBAAgB,2BAA2B,CAAC,EAC1C,WAAW,GACZ,EAAE,gCAAgC,sCA2ElC"}
1
+ {"version":3,"file":"FootnoteSectionEditRenderer.d.ts","sourceRoot":"","sources":["../../../src/components/renderers/FootnoteSectionEditRenderer.tsx"],"names":[],"mappings":"AAOA,MAAM,WAAW,gCAAgC;IAC/C,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACpC,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,2BAA2B,CAAC,EAAE,WAAW,EAAE,EAAE,gCAAgC,sCAoE5F"}
@@ -2,5 +2,5 @@ export interface FootnoteSectionRendererProps {
2
2
  definitions: Record<string, string>;
3
3
  nodeKey: string;
4
4
  }
5
- export declare function FootnoteSectionRenderer({ definitions, }: FootnoteSectionRendererProps): import("react").JSX.Element | null;
5
+ export declare function FootnoteSectionRenderer({ definitions }: FootnoteSectionRendererProps): import("react").JSX.Element | null;
6
6
  //# sourceMappingURL=FootnoteSectionRenderer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FootnoteSectionRenderer.d.ts","sourceRoot":"","sources":["../../../src/components/renderers/FootnoteSectionRenderer.tsx"],"names":[],"mappings":"AAKA,MAAM,WAAW,4BAA4B;IAC3C,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACnC,OAAO,EAAE,MAAM,CAAA;CAChB;AAED,wBAAgB,uBAAuB,CAAC,EACtC,WAAW,GACZ,EAAE,4BAA4B,sCA2B9B"}
1
+ {"version":3,"file":"FootnoteSectionRenderer.d.ts","sourceRoot":"","sources":["../../../src/components/renderers/FootnoteSectionRenderer.tsx"],"names":[],"mappings":"AAKA,MAAM,WAAW,4BAA4B;IAC3C,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACpC,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,uBAAuB,CAAC,EAAE,WAAW,EAAE,EAAE,4BAA4B,sCA2BpF"}
@@ -1,5 +1,5 @@
1
1
  export interface FootnoteStaticRendererProps {
2
2
  identifier: string;
3
3
  }
4
- export declare function FootnoteStaticRenderer({ identifier, }: FootnoteStaticRendererProps): import("react").JSX.Element;
4
+ export declare function FootnoteStaticRenderer({ identifier }: FootnoteStaticRendererProps): import("react").JSX.Element;
5
5
  //# sourceMappingURL=FootnoteStaticRenderer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FootnoteStaticRenderer.d.ts","sourceRoot":"","sources":["../../../src/components/renderers/FootnoteStaticRenderer.tsx"],"names":[],"mappings":"AAQA,MAAM,WAAW,2BAA2B;IAC1C,UAAU,EAAE,MAAM,CAAA;CACnB;AAED,wBAAgB,sBAAsB,CAAC,EACrC,UAAU,GACX,EAAE,2BAA2B,+BA4C7B"}
1
+ {"version":3,"file":"FootnoteStaticRenderer.d.ts","sourceRoot":"","sources":["../../../src/components/renderers/FootnoteStaticRenderer.tsx"],"names":[],"mappings":"AAQA,MAAM,WAAW,2BAA2B;IAC1C,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,sBAAsB,CAAC,EAAE,UAAU,EAAE,EAAE,2BAA2B,+BAyCjF"}
@@ -1,9 +1,9 @@
1
1
  import { SerializedEditorState } from 'lexical';
2
2
  interface GridStaticDecoratorProps {
3
+ cellStates: SerializedEditorState[];
3
4
  cols: number;
4
5
  gap: string;
5
- cellStates: SerializedEditorState[];
6
6
  }
7
- export declare function GridStaticDecorator({ cols, gap, cellStates, }: GridStaticDecoratorProps): import("react").JSX.Element;
7
+ export declare function GridStaticDecorator({ cols, gap, cellStates }: GridStaticDecoratorProps): import("react").JSX.Element;
8
8
  export {};
9
9
  //# sourceMappingURL=GridStaticDecorator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"GridStaticDecorator.d.ts","sourceRoot":"","sources":["../../../src/components/renderers/GridStaticDecorator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAA;AAIpD,UAAU,wBAAwB;IAChC,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,MAAM,CAAA;IACX,UAAU,EAAE,qBAAqB,EAAE,CAAA;CACpC;AAED,wBAAgB,mBAAmB,CAAC,EAClC,IAAI,EACJ,GAAG,EACH,UAAU,GACX,EAAE,wBAAwB,+BAmB1B"}
1
+ {"version":3,"file":"GridStaticDecorator.d.ts","sourceRoot":"","sources":["../../../src/components/renderers/GridStaticDecorator.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAIrD,UAAU,wBAAwB;IAChC,UAAU,EAAE,qBAAqB,EAAE,CAAC;IACpC,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;CACb;AAED,wBAAgB,mBAAmB,CAAC,EAAE,IAAI,EAAE,GAAG,EAAE,UAAU,EAAE,EAAE,wBAAwB,+BAmBtF"}
@@ -1,11 +1,11 @@
1
1
  export interface ImageRendererProps {
2
- src: string;
2
+ accent?: string;
3
3
  altText: string;
4
- width?: number;
5
- height?: number;
6
4
  caption?: string;
5
+ height?: number;
6
+ src: string;
7
7
  thumbhash?: string;
8
- accent?: string;
8
+ width?: number;
9
9
  }
10
10
  export declare function ImageRenderer({ src, altText, width, height, caption, thumbhash, accent, }: ImageRendererProps): import("react").JSX.Element;
11
11
  //# sourceMappingURL=ImageRenderer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ImageRenderer.d.ts","sourceRoot":"","sources":["../../../src/components/renderers/ImageRenderer.tsx"],"names":[],"mappings":"AAIA,MAAM,WAAW,kBAAkB;IACjC,GAAG,EAAE,MAAM,CAAA;IACX,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,wBAAgB,aAAa,CAAC,EAC5B,GAAG,EACH,OAAO,EACP,KAAK,EACL,MAAM,EACN,OAAO,EACP,SAAS,EACT,MAAM,GACP,EAAE,kBAAkB,+BAgGpB"}
1
+ {"version":3,"file":"ImageRenderer.d.ts","sourceRoot":"","sources":["../../../src/components/renderers/ImageRenderer.tsx"],"names":[],"mappings":"AAIA,MAAM,WAAW,kBAAkB;IACjC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,aAAa,CAAC,EAC5B,GAAG,EACH,OAAO,EACP,KAAK,EACL,MAAM,EACN,OAAO,EACP,SAAS,EACT,MAAM,GACP,EAAE,kBAAkB,+BA+FpB"}
@@ -1,6 +1,6 @@
1
1
  export interface KaTeXRendererProps {
2
- equation: string;
3
2
  displayMode: boolean;
3
+ equation: string;
4
4
  }
5
5
  export declare function KaTeXRenderer({ equation, displayMode }: KaTeXRendererProps): import("react").JSX.Element;
6
6
  //# sourceMappingURL=KaTeXRenderer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"KaTeXRenderer.d.ts","sourceRoot":"","sources":["../../../src/components/renderers/KaTeXRenderer.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,EAAE,OAAO,CAAA;CACrB;AAwBD,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,WAAW,EAAE,EAAE,kBAAkB,+BA0C1E"}
1
+ {"version":3,"file":"KaTeXRenderer.d.ts","sourceRoot":"","sources":["../../../src/components/renderers/KaTeXRenderer.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,kBAAkB;IACjC,WAAW,EAAE,OAAO,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAqBD,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,WAAW,EAAE,EAAE,kBAAkB,+BA0C1E"}
@@ -1,11 +1,11 @@
1
1
  export interface LinkCardRendererProps {
2
- url: string;
3
- source?: string;
4
- id?: string;
5
- title?: string;
6
2
  description?: string;
7
3
  favicon?: string;
4
+ id?: string;
8
5
  image?: string;
6
+ source?: string;
7
+ title?: string;
8
+ url: string;
9
9
  }
10
10
  export declare function LinkCardRenderer({ url, title, description, favicon, image, }: LinkCardRendererProps): import("react").JSX.Element;
11
11
  //# sourceMappingURL=LinkCardRenderer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LinkCardRenderer.d.ts","sourceRoot":"","sources":["../../../src/components/renderers/LinkCardRenderer.tsx"],"names":[],"mappings":"AAAA,MAAM,WAAW,qBAAqB;IACpC,GAAG,EAAE,MAAM,CAAA;IACX,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,GAAG,EACH,KAAK,EACL,WAAW,EACX,OAAO,EACP,KAAK,GACN,EAAE,qBAAqB,+BAsCvB"}
1
+ {"version":3,"file":"LinkCardRenderer.d.ts","sourceRoot":"","sources":["../../../src/components/renderers/LinkCardRenderer.tsx"],"names":[],"mappings":"AAAA,MAAM,WAAW,qBAAqB;IACpC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;CACb;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,GAAG,EACH,KAAK,EACL,WAAW,EACX,OAAO,EACP,KAAK,GACN,EAAE,qBAAqB,+BA+BvB"}
@@ -1,7 +1,7 @@
1
1
  export interface MentionRendererProps {
2
- platform: string;
3
- handle: string;
4
2
  displayName?: string;
3
+ handle: string;
4
+ platform: string;
5
5
  }
6
6
  export declare function MentionRenderer({ handle, displayName }: MentionRendererProps): import("react").JSX.Element;
7
7
  //# sourceMappingURL=MentionRenderer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MentionRenderer.d.ts","sourceRoot":"","sources":["../../../src/components/renderers/MentionRenderer.tsx"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB;AAED,wBAAgB,eAAe,CAAC,EAAE,MAAM,EAAE,WAAW,EAAE,EAAE,oBAAoB,+BAS5E"}
1
+ {"version":3,"file":"MentionRenderer.d.ts","sourceRoot":"","sources":["../../../src/components/renderers/MentionRenderer.tsx"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB;IACnC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,wBAAgB,eAAe,CAAC,EAAE,MAAM,EAAE,WAAW,EAAE,EAAE,oBAAoB,+BAS5E"}
@@ -1,7 +1,7 @@
1
1
  import { ReactNode } from 'react';
2
2
  export interface RubyRendererProps {
3
- reading: string;
4
3
  children?: ReactNode;
4
+ reading: string;
5
5
  }
6
6
  export declare function RubyRenderer({ reading, children }: RubyRendererProps): import("react").JSX.Element;
7
7
  //# sourceMappingURL=RubyRenderer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RubyRenderer.d.ts","sourceRoot":"","sources":["../../../src/components/renderers/RubyRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,SAAS,CAAA;CACrB;AAED,wBAAgB,YAAY,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,iBAAiB,+BAWpE"}
1
+ {"version":3,"file":"RubyRenderer.d.ts","sourceRoot":"","sources":["../../../src/components/renderers/RubyRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,YAAY,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,iBAAiB,+BAWpE"}
@@ -1,8 +1,8 @@
1
1
  export interface VideoRendererProps {
2
- src: string;
2
+ height?: number;
3
3
  poster?: string;
4
+ src: string;
4
5
  width?: number;
5
- height?: number;
6
6
  }
7
- export declare function VideoRenderer({ src, poster, width, height, }: VideoRendererProps): import("react").JSX.Element;
7
+ export declare function VideoRenderer({ src, poster, width, height }: VideoRendererProps): import("react").JSX.Element;
8
8
  //# sourceMappingURL=VideoRenderer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"VideoRenderer.d.ts","sourceRoot":"","sources":["../../../src/components/renderers/VideoRenderer.tsx"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IACjC,GAAG,EAAE,MAAM,CAAA;IACX,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,wBAAgB,aAAa,CAAC,EAC5B,GAAG,EACH,MAAM,EACN,KAAK,EACL,MAAM,GACP,EAAE,kBAAkB,+BAcpB"}
1
+ {"version":3,"file":"VideoRenderer.d.ts","sourceRoot":"","sources":["../../../src/components/renderers/VideoRenderer.tsx"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IACjC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,aAAa,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,kBAAkB,+BAc/E"}