@oyat/editor 1.1.2 → 1.2.1
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.
- package/README.md +109 -55
- package/dist/components/editor/plate-editor.d.ts +7 -0
- package/dist/components/editor/plate-editor.d.ts.map +1 -0
- package/dist/components/editor/plate-types.d.ts +85 -0
- package/dist/components/editor/plate-types.d.ts.map +1 -0
- package/dist/components/editor/plugins/align-base-kit.d.ts +4 -0
- package/dist/components/editor/plugins/align-base-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/align-kit.d.ts +4 -0
- package/dist/components/editor/plugins/align-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/autoformat-kit.d.ts +2 -0
- package/dist/components/editor/plugins/autoformat-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/basic-blocks-base-kit.d.ts +6 -0
- package/dist/components/editor/plugins/basic-blocks-base-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/basic-blocks-kit.d.ts +6 -0
- package/dist/components/editor/plugins/basic-blocks-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/basic-marks-base-kit.d.ts +20 -0
- package/dist/components/editor/plugins/basic-marks-base-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/basic-marks-kit.d.ts +20 -0
- package/dist/components/editor/plugins/basic-marks-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/basic-nodes-kit.d.ts +24 -0
- package/dist/components/editor/plugins/basic-nodes-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/block-menu-kit.d.ts +165 -0
- package/dist/components/editor/plugins/block-menu-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/block-placeholder-kit.d.ts +15 -0
- package/dist/components/editor/plugins/block-placeholder-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/block-selection-kit.d.ts +137 -0
- package/dist/components/editor/plugins/block-selection-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/callout-base-kit.d.ts +21 -0
- package/dist/components/editor/plugins/callout-base-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/callout-kit.d.ts +21 -0
- package/dist/components/editor/plugins/callout-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/code-block-base-kit.d.ts +8 -0
- package/dist/components/editor/plugins/code-block-base-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/code-block-kit.d.ts +8 -0
- package/dist/components/editor/plugins/code-block-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/column-base-kit.d.ts +2 -0
- package/dist/components/editor/plugins/column-base-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/column-kit.d.ts +2 -0
- package/dist/components/editor/plugins/column-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/comment-base-kit.d.ts +48 -0
- package/dist/components/editor/plugins/comment-base-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/comment-kit.d.ts +68 -0
- package/dist/components/editor/plugins/comment-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/cursor-overlay-kit.d.ts +12 -0
- package/dist/components/editor/plugins/cursor-overlay-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/date-base-kit.d.ts +20 -0
- package/dist/components/editor/plugins/date-base-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/date-kit.d.ts +20 -0
- package/dist/components/editor/plugins/date-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/discussion-kit.d.ts +56 -0
- package/dist/components/editor/plugins/discussion-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/dnd-kit.d.ts +21 -0
- package/dist/components/editor/plugins/dnd-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/docx-kit.d.ts +2 -0
- package/dist/components/editor/plugins/docx-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/emoji-kit.d.ts +6 -0
- package/dist/components/editor/plugins/emoji-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/exit-break-kit.d.ts +5 -0
- package/dist/components/editor/plugins/exit-break-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/fixed-toolbar-kit.d.ts +2 -0
- package/dist/components/editor/plugins/fixed-toolbar-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/floating-toolbar-kit.d.ts +2 -0
- package/dist/components/editor/plugins/floating-toolbar-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/font-base-kit.d.ts +10 -0
- package/dist/components/editor/plugins/font-base-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/font-kit.d.ts +10 -0
- package/dist/components/editor/plugins/font-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/indent-base-kit.d.ts +2 -0
- package/dist/components/editor/plugins/indent-base-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/indent-kit.d.ts +6 -0
- package/dist/components/editor/plugins/indent-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/line-height-base-kit.d.ts +4 -0
- package/dist/components/editor/plugins/line-height-base-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/line-height-kit.d.ts +4 -0
- package/dist/components/editor/plugins/line-height-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/link-base-kit.d.ts +2 -0
- package/dist/components/editor/plugins/link-base-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/link-kit.d.ts +35 -0
- package/dist/components/editor/plugins/link-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/list-base-kit.d.ts +2 -0
- package/dist/components/editor/plugins/list-base-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/list-kit.d.ts +9 -0
- package/dist/components/editor/plugins/list-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/math-base-kit.d.ts +10 -0
- package/dist/components/editor/plugins/math-base-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/math-kit.d.ts +10 -0
- package/dist/components/editor/plugins/math-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/media-base-kit.d.ts +26 -0
- package/dist/components/editor/plugins/media-base-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/media-kit.d.ts +39 -0
- package/dist/components/editor/plugins/media-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/mention-base-kit.d.ts +12 -0
- package/dist/components/editor/plugins/mention-base-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/mention-kit.d.ts +12 -0
- package/dist/components/editor/plugins/mention-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/slash-kit.d.ts +2 -0
- package/dist/components/editor/plugins/slash-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/suggestion-base-kit.d.ts +33 -0
- package/dist/components/editor/plugins/suggestion-base-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/suggestion-kit.d.ts +54 -0
- package/dist/components/editor/plugins/suggestion-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/table-base-kit.d.ts +78 -0
- package/dist/components/editor/plugins/table-base-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/table-kit.d.ts +139 -0
- package/dist/components/editor/plugins/table-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/toc-base-kit.d.ts +2 -0
- package/dist/components/editor/plugins/toc-base-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/toc-kit.d.ts +6 -0
- package/dist/components/editor/plugins/toc-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/toggle-base-kit.d.ts +13 -0
- package/dist/components/editor/plugins/toggle-base-kit.d.ts.map +1 -0
- package/dist/components/editor/plugins/toggle-kit.d.ts +17 -0
- package/dist/components/editor/plugins/toggle-kit.d.ts.map +1 -0
- package/dist/components/editor/settings-dialog.d.ts +8 -0
- package/dist/components/editor/settings-dialog.d.ts.map +1 -0
- package/dist/components/editor/transforms.d.ts +13 -0
- package/dist/components/editor/transforms.d.ts.map +1 -0
- package/dist/components/editor/use-chat.d.ts +56 -0
- package/dist/components/editor/use-chat.d.ts.map +1 -0
- package/dist/components/ui/ai-chat-editor.d.ts +5 -0
- package/dist/components/ui/ai-chat-editor.d.ts.map +1 -0
- package/dist/components/ui/ai-menu.d.ts +8 -0
- package/dist/components/ui/ai-menu.d.ts.map +1 -0
- package/dist/components/ui/ai-node.d.ts +4 -0
- package/dist/components/ui/ai-node.d.ts.map +1 -0
- package/dist/components/ui/ai-toolbar-button.d.ts +4 -0
- package/dist/components/ui/ai-toolbar-button.d.ts.map +1 -0
- package/dist/components/ui/alert-dialog.d.ts +15 -0
- package/dist/components/ui/alert-dialog.d.ts.map +1 -0
- package/dist/components/ui/align-toolbar-button.d.ts +3 -0
- package/dist/components/ui/align-toolbar-button.d.ts.map +1 -0
- package/dist/components/ui/avatar.d.ts +7 -0
- package/dist/components/ui/avatar.d.ts.map +1 -0
- package/dist/components/ui/block-context-menu.d.ts +5 -0
- package/dist/components/ui/block-context-menu.d.ts.map +1 -0
- package/dist/components/ui/block-discussion.d.ts +4 -0
- package/dist/components/ui/block-discussion.d.ts.map +1 -0
- package/dist/components/ui/block-draggable.d.ts +3 -0
- package/dist/components/ui/block-draggable.d.ts.map +1 -0
- package/dist/components/ui/block-list-static.d.ts +3 -0
- package/dist/components/ui/block-list-static.d.ts.map +1 -0
- package/dist/components/ui/block-list.d.ts +3 -0
- package/dist/components/ui/block-list.d.ts.map +1 -0
- package/dist/components/ui/block-selection.d.ts +6 -0
- package/dist/components/ui/block-selection.d.ts.map +1 -0
- package/dist/components/ui/block-suggestion.d.ts +18 -0
- package/dist/components/ui/block-suggestion.d.ts.map +1 -0
- package/dist/components/ui/blockquote-node-static.d.ts +3 -0
- package/dist/components/ui/blockquote-node-static.d.ts.map +1 -0
- package/dist/components/ui/blockquote-node.d.ts +3 -0
- package/dist/components/ui/blockquote-node.d.ts.map +1 -0
- package/dist/components/ui/button.d.ts +11 -0
- package/dist/components/ui/button.d.ts.map +1 -0
- package/dist/components/ui/calendar.d.ts +9 -0
- package/dist/components/ui/calendar.d.ts.map +1 -0
- package/dist/components/ui/callout-node-static.d.ts +3 -0
- package/dist/components/ui/callout-node-static.d.ts.map +1 -0
- package/dist/components/ui/callout-node.d.ts +4 -0
- package/dist/components/ui/callout-node.d.ts.map +1 -0
- package/dist/components/ui/checkbox.d.ts +5 -0
- package/dist/components/ui/checkbox.d.ts.map +1 -0
- package/dist/components/ui/code-block-node-static.d.ts +5 -0
- package/dist/components/ui/code-block-node-static.d.ts.map +1 -0
- package/dist/components/ui/code-block-node.d.ts +6 -0
- package/dist/components/ui/code-block-node.d.ts.map +1 -0
- package/dist/components/ui/code-node-static.d.ts +3 -0
- package/dist/components/ui/code-node-static.d.ts.map +1 -0
- package/dist/components/ui/code-node.d.ts +3 -0
- package/dist/components/ui/code-node.d.ts.map +1 -0
- package/dist/components/ui/column-node-static.d.ts +4 -0
- package/dist/components/ui/column-node-static.d.ts.map +1 -0
- package/dist/components/ui/column-node.d.ts +6 -0
- package/dist/components/ui/column-node.d.ts.map +1 -0
- package/dist/components/ui/command.d.ts +19 -0
- package/dist/components/ui/command.d.ts.map +1 -0
- package/dist/components/ui/comment-node-static.d.ts +3 -0
- package/dist/components/ui/comment-node-static.d.ts.map +1 -0
- package/dist/components/ui/comment-node.d.ts +4 -0
- package/dist/components/ui/comment-node.d.ts.map +1 -0
- package/dist/components/ui/comment-toolbar-button.d.ts +2 -0
- package/dist/components/ui/comment-toolbar-button.d.ts.map +1 -0
- package/dist/components/ui/comment.d.ts +28 -0
- package/dist/components/ui/comment.d.ts.map +1 -0
- package/dist/components/ui/context-menu.d.ts +26 -0
- package/dist/components/ui/context-menu.d.ts.map +1 -0
- package/dist/components/ui/cursor-overlay.d.ts +2 -0
- package/dist/components/ui/cursor-overlay.d.ts.map +1 -0
- package/dist/components/ui/date-node-static.d.ts +3 -0
- package/dist/components/ui/date-node-static.d.ts.map +1 -0
- package/dist/components/ui/date-node.d.ts +4 -0
- package/dist/components/ui/date-node.d.ts.map +1 -0
- package/dist/components/ui/dialog.d.ts +16 -0
- package/dist/components/ui/dialog.d.ts.map +1 -0
- package/dist/components/ui/dropdown-menu.d.ts +26 -0
- package/dist/components/ui/dropdown-menu.d.ts.map +1 -0
- package/dist/components/ui/editor-static.d.ts +9 -0
- package/dist/components/ui/editor-static.d.ts.map +1 -0
- package/dist/components/ui/editor.d.ts +29 -0
- package/dist/components/ui/editor.d.ts.map +1 -0
- package/dist/components/ui/emoji-node.d.ts +3 -0
- package/dist/components/ui/emoji-node.d.ts.map +1 -0
- package/dist/components/ui/emoji-toolbar-button.d.ts +17 -0
- package/dist/components/ui/emoji-toolbar-button.d.ts.map +1 -0
- package/dist/components/ui/equation-node-static.d.ts +4 -0
- package/dist/components/ui/equation-node-static.d.ts.map +1 -0
- package/dist/components/ui/equation-node.d.ts +5 -0
- package/dist/components/ui/equation-node.d.ts.map +1 -0
- package/dist/components/ui/equation-toolbar-button.d.ts +4 -0
- package/dist/components/ui/equation-toolbar-button.d.ts.map +1 -0
- package/dist/components/ui/export-toolbar-button.d.ts +3 -0
- package/dist/components/ui/export-toolbar-button.d.ts.map +1 -0
- package/dist/components/ui/fixed-toolbar-buttons.d.ts +2 -0
- package/dist/components/ui/fixed-toolbar-buttons.d.ts.map +1 -0
- package/dist/components/ui/fixed-toolbar.d.ts +3 -0
- package/dist/components/ui/fixed-toolbar.d.ts.map +1 -0
- package/dist/components/ui/floating-toolbar-buttons.d.ts +2 -0
- package/dist/components/ui/floating-toolbar-buttons.d.ts.map +1 -0
- package/dist/components/ui/floating-toolbar.d.ts +7 -0
- package/dist/components/ui/floating-toolbar.d.ts.map +1 -0
- package/dist/components/ui/font-size-toolbar-button.d.ts +2 -0
- package/dist/components/ui/font-size-toolbar-button.d.ts.map +1 -0
- package/dist/components/ui/ghost-text.d.ts +2 -0
- package/dist/components/ui/ghost-text.d.ts.map +1 -0
- package/dist/components/ui/heading-node-static.d.ts +15 -0
- package/dist/components/ui/heading-node-static.d.ts.map +1 -0
- package/dist/components/ui/heading-node.d.ts +14 -0
- package/dist/components/ui/heading-node.d.ts.map +1 -0
- package/dist/components/ui/highlight-node-static.d.ts +3 -0
- package/dist/components/ui/highlight-node-static.d.ts.map +1 -0
- package/dist/components/ui/highlight-node.d.ts +3 -0
- package/dist/components/ui/highlight-node.d.ts.map +1 -0
- package/dist/components/ui/history-toolbar-button.d.ts +5 -0
- package/dist/components/ui/history-toolbar-button.d.ts.map +1 -0
- package/dist/components/ui/hr-node-static.d.ts +3 -0
- package/dist/components/ui/hr-node-static.d.ts.map +1 -0
- package/dist/components/ui/hr-node.d.ts +3 -0
- package/dist/components/ui/hr-node.d.ts.map +1 -0
- package/dist/components/ui/import-toolbar-button.d.ts +3 -0
- package/dist/components/ui/import-toolbar-button.d.ts.map +1 -0
- package/dist/components/ui/indent-toolbar-button.d.ts +5 -0
- package/dist/components/ui/indent-toolbar-button.d.ts.map +1 -0
- package/dist/components/ui/inline-combobox.d.ts +34 -0
- package/dist/components/ui/inline-combobox.d.ts.map +1 -0
- package/dist/components/ui/input.d.ts +4 -0
- package/dist/components/ui/input.d.ts.map +1 -0
- package/dist/components/ui/insert-toolbar-button.d.ts +3 -0
- package/dist/components/ui/insert-toolbar-button.d.ts.map +1 -0
- package/dist/components/ui/kbd-node-static.d.ts +3 -0
- package/dist/components/ui/kbd-node-static.d.ts.map +1 -0
- package/dist/components/ui/kbd-node.d.ts +3 -0
- package/dist/components/ui/kbd-node.d.ts.map +1 -0
- package/dist/components/ui/line-height-toolbar-button.d.ts +3 -0
- package/dist/components/ui/line-height-toolbar-button.d.ts.map +1 -0
- package/dist/components/ui/link-node-static.d.ts +3 -0
- package/dist/components/ui/link-node-static.d.ts.map +1 -0
- package/dist/components/ui/link-node.d.ts +4 -0
- package/dist/components/ui/link-node.d.ts.map +1 -0
- package/dist/components/ui/link-toolbar-button.d.ts +4 -0
- package/dist/components/ui/link-toolbar-button.d.ts.map +1 -0
- package/dist/components/ui/link-toolbar.d.ts +5 -0
- package/dist/components/ui/link-toolbar.d.ts.map +1 -0
- package/dist/components/ui/list-toolbar-button.d.ts +6 -0
- package/dist/components/ui/list-toolbar-button.d.ts.map +1 -0
- package/dist/components/ui/mark-toolbar-button.d.ts +7 -0
- package/dist/components/ui/mark-toolbar-button.d.ts.map +1 -0
- package/dist/components/ui/media-audio-node-static.d.ts +3 -0
- package/dist/components/ui/media-audio-node-static.d.ts.map +1 -0
- package/dist/components/ui/media-audio-node.d.ts +5 -0
- package/dist/components/ui/media-audio-node.d.ts.map +1 -0
- package/dist/components/ui/media-embed-node.d.ts +5 -0
- package/dist/components/ui/media-embed-node.d.ts.map +1 -0
- package/dist/components/ui/media-file-node-static.d.ts +3 -0
- package/dist/components/ui/media-file-node-static.d.ts.map +1 -0
- package/dist/components/ui/media-file-node.d.ts +5 -0
- package/dist/components/ui/media-file-node.d.ts.map +1 -0
- package/dist/components/ui/media-image-node-static.d.ts +3 -0
- package/dist/components/ui/media-image-node-static.d.ts.map +1 -0
- package/dist/components/ui/media-image-node.d.ts +5 -0
- package/dist/components/ui/media-image-node.d.ts.map +1 -0
- package/dist/components/ui/media-placeholder-node.d.ts +11 -0
- package/dist/components/ui/media-placeholder-node.d.ts.map +1 -0
- package/dist/components/ui/media-preview-dialog.d.ts +2 -0
- package/dist/components/ui/media-preview-dialog.d.ts.map +1 -0
- package/dist/components/ui/media-toolbar-button.d.ts +5 -0
- package/dist/components/ui/media-toolbar-button.d.ts.map +1 -0
- package/dist/components/ui/media-toolbar.d.ts +7 -0
- package/dist/components/ui/media-toolbar.d.ts.map +1 -0
- package/dist/components/ui/media-upload-toast.d.ts +2 -0
- package/dist/components/ui/media-upload-toast.d.ts.map +1 -0
- package/dist/components/ui/media-video-node-static.d.ts +3 -0
- package/dist/components/ui/media-video-node-static.d.ts.map +1 -0
- package/dist/components/ui/media-video-node.d.ts +5 -0
- package/dist/components/ui/media-video-node.d.ts.map +1 -0
- package/dist/components/ui/mention-node-static.d.ts +5 -0
- package/dist/components/ui/mention-node-static.d.ts.map +1 -0
- package/dist/components/ui/mention-node.d.ts +7 -0
- package/dist/components/ui/mention-node.d.ts.map +1 -0
- package/dist/components/ui/mode-toolbar-button.d.ts +3 -0
- package/dist/components/ui/mode-toolbar-button.d.ts.map +1 -0
- package/dist/components/ui/more-toolbar-button.d.ts +3 -0
- package/dist/components/ui/more-toolbar-button.d.ts.map +1 -0
- package/dist/components/ui/paragraph-node-static.d.ts +3 -0
- package/dist/components/ui/paragraph-node-static.d.ts.map +1 -0
- package/dist/components/ui/paragraph-node.d.ts +3 -0
- package/dist/components/ui/paragraph-node.d.ts.map +1 -0
- package/dist/components/ui/popover.d.ts +8 -0
- package/dist/components/ui/popover.d.ts.map +1 -0
- package/dist/components/ui/resize-handle.d.ts +16 -0
- package/dist/components/ui/resize-handle.d.ts.map +1 -0
- package/dist/components/ui/separator.d.ts +5 -0
- package/dist/components/ui/separator.d.ts.map +1 -0
- package/dist/components/ui/slash-node.d.ts +4 -0
- package/dist/components/ui/slash-node.d.ts.map +1 -0
- package/dist/components/ui/suggestion-node-static.d.ts +3 -0
- package/dist/components/ui/suggestion-node-static.d.ts.map +1 -0
- package/dist/components/ui/suggestion-node.d.ts +6 -0
- package/dist/components/ui/suggestion-node.d.ts.map +1 -0
- package/dist/components/ui/suggestion-toolbar-button.d.ts +2 -0
- package/dist/components/ui/suggestion-toolbar-button.d.ts.map +1 -0
- package/dist/components/ui/table-icons.d.ts +8 -0
- package/dist/components/ui/table-icons.d.ts.map +1 -0
- package/dist/components/ui/table-node-static.d.ts +8 -0
- package/dist/components/ui/table-node-static.d.ts.map +1 -0
- package/dist/components/ui/table-node.d.ts +10 -0
- package/dist/components/ui/table-node.d.ts.map +1 -0
- package/dist/components/ui/table-toolbar-button.d.ts +3 -0
- package/dist/components/ui/table-toolbar-button.d.ts.map +1 -0
- package/dist/components/ui/toc-node-static.d.ts +3 -0
- package/dist/components/ui/toc-node-static.d.ts.map +1 -0
- package/dist/components/ui/toc-node.d.ts +3 -0
- package/dist/components/ui/toc-node.d.ts.map +1 -0
- package/dist/components/ui/toggle-node-static.d.ts +3 -0
- package/dist/components/ui/toggle-node-static.d.ts.map +1 -0
- package/dist/components/ui/toggle-node.d.ts +3 -0
- package/dist/components/ui/toggle-node.d.ts.map +1 -0
- package/dist/components/ui/toggle-toolbar-button.d.ts +4 -0
- package/dist/components/ui/toggle-toolbar-button.d.ts.map +1 -0
- package/dist/components/ui/toolbar.d.ts +41 -0
- package/dist/components/ui/toolbar.d.ts.map +1 -0
- package/dist/components/ui/tooltip.d.ts +8 -0
- package/dist/components/ui/tooltip.d.ts.map +1 -0
- package/dist/components/ui/turn-into-toolbar-button.d.ts +9 -0
- package/dist/components/ui/turn-into-toolbar-button.d.ts.map +1 -0
- package/dist/index.d.ts +42 -83
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +3 -5
- package/dist/index.js.map +1 -1
- package/package.json +13 -13
- package/dist/editor.css +0 -1
- package/dist/vite.svg +0 -1
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { SlateElementProps, TCaptionProps, TImageElement, TResizableProps } from 'platejs';
|
|
2
|
+
export declare function ImageElementStatic(props: SlateElementProps<TImageElement & TCaptionProps & TResizableProps>): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
//# sourceMappingURL=media-image-node-static.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"media-image-node-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/media-image-node-static.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,iBAAiB,EACjB,aAAa,EACb,aAAa,EACb,eAAe,EAChB,MAAM,SAAS,CAAC;AAMjB,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,iBAAiB,CAAC,aAAa,GAAG,aAAa,GAAG,eAAe,CAAC,2CA6B1E"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { TImageElement } from 'platejs';
|
|
2
|
+
import { PlateElementProps } from 'platejs/react';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
export declare const ImageElement: React.ForwardRefExoticComponent<Omit<PlateElementProps<TImageElement>, "ref"> & React.RefAttributes<unknown>>;
|
|
5
|
+
//# sourceMappingURL=media-image-node.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"media-image-node.d.ts","sourceRoot":"","sources":["../../../src/components/ui/media-image-node.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC7C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAiBvD,eAAO,MAAM,YAAY,+GA2DxB,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { TPlaceholderElement } from 'platejs';
|
|
2
|
+
import { PlateElementProps } from 'platejs/react';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
export declare const PlaceholderElement: React.ForwardRefExoticComponent<Omit<PlateElementProps<TPlaceholderElement>, "ref"> & React.RefAttributes<unknown>>;
|
|
5
|
+
export declare function ImageProgress({ className, file, imageRef, progress, }: {
|
|
6
|
+
file: File;
|
|
7
|
+
className?: string;
|
|
8
|
+
imageRef?: React.RefObject<HTMLImageElement | null>;
|
|
9
|
+
progress?: number;
|
|
10
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|
|
11
|
+
//# sourceMappingURL=media-placeholder-node.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"media-placeholder-node.d.ts","sourceRoot":"","sources":["../../../src/components/ui/media-placeholder-node.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AACnD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AA6CvD,eAAO,MAAM,kBAAkB,qHAoI9B,CAAC;AAEF,wBAAgB,aAAa,CAAC,EAC5B,SAAS,EACT,IAAI,EACJ,QAAQ,EACR,QAAY,GACb,EAAE;IACD,IAAI,EAAE,IAAI,CAAC;IACX,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAC;IACpD,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,kDAkCA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"media-preview-dialog.d.ts","sourceRoot":"","sources":["../../../src/components/ui/media-preview-dialog.tsx"],"names":[],"mappings":"AA4BA,wBAAgB,kBAAkB,4CAqHjC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { DropdownMenuProps } from '@radix-ui/react-dropdown-menu';
|
|
2
|
+
export declare function MediaToolbarButton({ nodeType, ...props }: DropdownMenuProps & {
|
|
3
|
+
nodeType: string;
|
|
4
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
//# sourceMappingURL=media-toolbar-button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"media-toolbar-button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/media-toolbar-button.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AA2EvE,wBAAgB,kBAAkB,CAAC,EACjC,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,iBAAiB,GAAG;IAAE,QAAQ,EAAE,MAAM,CAAA;CAAE,2CA8E1C"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { WithRequiredKey } from 'platejs';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
export declare function MediaToolbar({ children, plugin, }: {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
plugin: WithRequiredKey;
|
|
6
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
//# sourceMappingURL=media-toolbar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"media-toolbar.d.ts","sourceRoot":"","sources":["../../../src/components/ui/media-toolbar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAkC/C,wBAAgB,YAAY,CAAC,EAC3B,QAAQ,EACR,MAAM,GACP,EAAE;IACD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,MAAM,EAAE,eAAe,CAAC;CACzB,2CAwEA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"media-upload-toast.d.ts","sourceRoot":"","sources":["../../../src/components/ui/media-upload-toast.tsx"],"names":[],"mappings":"AAQA,wBAAgB,gBAAgB,SAI/B"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { SlateElementProps, TCaptionElement, TResizableProps, TVideoElement } from 'platejs';
|
|
2
|
+
export declare function VideoElementStatic(props: SlateElementProps<TVideoElement & TCaptionElement & TResizableProps>): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
//# sourceMappingURL=media-video-node-static.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"media-video-node-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/media-video-node-static.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,iBAAiB,EACjB,eAAe,EACf,eAAe,EACf,aAAa,EACd,MAAM,SAAS,CAAC;AAIjB,wBAAgB,kBAAkB,CAChC,KAAK,EAAE,iBAAiB,CAAC,aAAa,GAAG,eAAe,GAAG,eAAe,CAAC,2CAsB5E"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { TResizableProps, TVideoElement } from 'platejs';
|
|
2
|
+
import { PlateElementProps } from 'platejs/react';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
export declare const VideoElement: React.ForwardRefExoticComponent<Omit<PlateElementProps<TVideoElement & TResizableProps>, "ref"> & React.RefAttributes<unknown>>;
|
|
5
|
+
//# sourceMappingURL=media-video-node.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"media-video-node.d.ts","sourceRoot":"","sources":["../../../src/components/ui/media-video-node.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,KAAK,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAC9D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAiBvD,eAAO,MAAM,YAAY,iIAkGxB,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { SlateElementProps, TMentionElement } from 'platejs';
|
|
2
|
+
export declare function MentionElementStatic(props: SlateElementProps<TMentionElement> & {
|
|
3
|
+
prefix?: string;
|
|
4
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
//# sourceMappingURL=mention-node-static.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mention-node-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/mention-node-static.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAMlE,wBAAgB,oBAAoB,CAClC,KAAK,EAAE,iBAAiB,CAAC,eAAe,CAAC,GAAG;IAC1C,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,2CA0BF"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { TComboboxInputElement, TMentionElement } from 'platejs';
|
|
2
|
+
import { PlateElementProps } from 'platejs/react';
|
|
3
|
+
export declare function MentionElement(props: PlateElementProps<TMentionElement> & {
|
|
4
|
+
prefix?: string;
|
|
5
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare function MentionInputElement(props: PlateElementProps<TComboboxInputElement>): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
//# sourceMappingURL=mention-node.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mention-node.d.ts","sourceRoot":"","sources":["../../../src/components/ui/mention-node.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AACtE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAuBvD,wBAAgB,cAAc,CAC5B,KAAK,EAAE,iBAAiB,CAAC,eAAe,CAAC,GAAG;IAC1C,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,2CA4CF;AAID,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,iBAAiB,CAAC,qBAAqB,CAAC,2CAsChD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mode-toolbar-button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/mode-toolbar-button.tsx"],"names":[],"mappings":"AAKA,OAAO,EACL,KAAK,iBAAiB,EAEvB,MAAM,+BAA+B,CAAC;AAcvC,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,iBAAiB,2CA8FzD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"more-toolbar-button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/more-toolbar-button.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAqBvE,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,iBAAiB,2CAwDzD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"paragraph-node-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/paragraph-node-static.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAMjD,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,iBAAiB,2CAM9D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"paragraph-node.d.ts","sourceRoot":"","sources":["../../../src/components/ui/paragraph-node.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAMvD,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,iBAAiB,2CAMxD"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as PopoverPrimitive from "@radix-ui/react-popover";
|
|
3
|
+
declare function Popover({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare function PopoverTrigger({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare function PopoverContent({ className, align, sideOffset, ...props }: React.ComponentProps<typeof PopoverPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare function PopoverAnchor({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Anchor>): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export { Popover, PopoverTrigger, PopoverContent, PopoverAnchor };
|
|
8
|
+
//# sourceMappingURL=popover.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../../src/components/ui/popover.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAA;AAI3D,iBAAS,OAAO,CAAC,EACf,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,IAAI,CAAC,2CAEpD;AAED,iBAAS,cAAc,CAAC,EACtB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,OAAO,CAAC,2CAEvD;AAED,iBAAS,cAAc,CAAC,EACtB,SAAS,EACT,KAAgB,EAChB,UAAc,EACd,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,OAAO,CAAC,2CAevD;AAED,iBAAS,aAAa,CAAC,EACrB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,MAAM,CAAC,2CAEtD;AAED,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,aAAa,EAAE,CAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { ResizeHandle as ResizeHandlePrimitive, Resizable as ResizablePrimitive } from '@platejs/resizable';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
export declare const mediaResizeHandleVariants: (props?: ({
|
|
5
|
+
direction?: "left" | "right" | null | undefined;
|
|
6
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
|
+
declare const resizeHandleVariants: (props?: ({
|
|
8
|
+
direction?: "bottom" | "left" | "right" | "top" | null | undefined;
|
|
9
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
10
|
+
export declare function ResizeHandle({ className, options, ...props }: React.ComponentProps<typeof ResizeHandlePrimitive> & VariantProps<typeof resizeHandleVariants>): import("react/jsx-runtime").JSX.Element | null;
|
|
11
|
+
declare const resizableVariants: (props?: ({
|
|
12
|
+
align?: "left" | "right" | "center" | null | undefined;
|
|
13
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
14
|
+
export declare function Resizable({ align, className, ...props }: React.ComponentProps<typeof ResizablePrimitive> & VariantProps<typeof resizableVariants>): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=resize-handle.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resize-handle.d.ts","sourceRoot":"","sources":["../../../src/components/ui/resize-handle.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAE7D,OAAO,EACL,KAAK,YAAY,IAAI,qBAAqB,EAC1C,SAAS,IAAI,kBAAkB,EAGhC,MAAM,oBAAoB,CAAC;AAK5B,eAAO,MAAM,yBAAyB;;8EAarC,CAAC;AAEF,QAAA,MAAM,oBAAoB;;8EASxB,CAAC;AAEH,wBAAgB,YAAY,CAAC,EAC3B,SAAS,EACT,OAAO,EACP,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,qBAAqB,CAAC,GACnD,YAAY,CAAC,OAAO,oBAAoB,CAAC,kDAiB1C;AAED,QAAA,MAAM,iBAAiB;;8EAQrB,CAAC;AAEH,wBAAgB,SAAS,CAAC,EACxB,KAAK,EACL,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,GAChD,YAAY,CAAC,OAAO,iBAAiB,CAAC,2CAOvC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as SeparatorPrimitive from "@radix-ui/react-separator";
|
|
3
|
+
declare function Separator({ className, orientation, decorative, ...props }: React.ComponentProps<typeof SeparatorPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export { Separator };
|
|
5
|
+
//# sourceMappingURL=separator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"separator.d.ts","sourceRoot":"","sources":["../../../src/components/ui/separator.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,kBAAkB,MAAM,2BAA2B,CAAA;AAI/D,iBAAS,SAAS,CAAC,EACjB,SAAS,EACT,WAA0B,EAC1B,UAAiB,EACjB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,IAAI,CAAC,2CAatD;AAED,OAAO,EAAE,SAAS,EAAE,CAAA"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { PlateElementProps } from 'platejs/react';
|
|
2
|
+
import { TComboboxInputElement } from 'platejs';
|
|
3
|
+
export declare function SlashInputElement(props: PlateElementProps<TComboboxInputElement>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
//# sourceMappingURL=slash-node.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slash-node.d.ts","sourceRoot":"","sources":["../../../src/components/ui/slash-node.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAe,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAuBpE,OAAO,EAAE,KAAK,qBAAqB,EAAQ,MAAM,SAAS,CAAC;AAyL3D,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,iBAAiB,CAAC,qBAAqB,CAAC,2CAwChD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"suggestion-node-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/suggestion-node-static.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAO/D,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,cAAc,CAAC,eAAe,CAAC,2CA0B1E"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { TSuggestionText } from 'platejs';
|
|
2
|
+
import { PlateLeafProps, RenderNodeWrapper } from 'platejs/react';
|
|
3
|
+
import { SuggestionConfig } from '../editor/plugins/suggestion-kit';
|
|
4
|
+
export declare function SuggestionLeaf(props: PlateLeafProps<TSuggestionText>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export declare const SuggestionLineBreak: RenderNodeWrapper<SuggestionConfig>;
|
|
6
|
+
//# sourceMappingURL=suggestion-node.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"suggestion-node.d.ts","sourceRoot":"","sources":["../../../src/components/ui/suggestion-node.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAmB,eAAe,EAAE,MAAM,SAAS,CAAC;AAChE,OAAO,KAAK,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAMvE,OAAO,EACL,KAAK,gBAAgB,EAEtB,MAAM,4CAA4C,CAAC;AAEpD,wBAAgB,cAAc,CAAC,KAAK,EAAE,cAAc,CAAC,eAAe,CAAC,2CAsCpE;AAED,eAAO,MAAM,mBAAmB,EAAE,iBAAiB,CAAC,gBAAgB,CAkBnE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"suggestion-toolbar-button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/suggestion-toolbar-button.tsx"],"names":[],"mappings":"AAYA,wBAAgB,uBAAuB,4CActC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { LucideProps } from 'lucide-react';
|
|
2
|
+
export declare function BorderAllIcon(props: LucideProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare function BorderBottomIcon(props: LucideProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare function BorderLeftIcon(props: LucideProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export declare function BorderNoneIcon(props: LucideProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare function BorderRightIcon(props: LucideProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare function BorderTopIcon(props: LucideProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=table-icons.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table-icons.d.ts","sourceRoot":"","sources":["../../../src/components/ui/table-icons.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEhD,wBAAgB,aAAa,CAAC,KAAK,EAAE,WAAW,2CAyC/C;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,WAAW,2CAkHlD;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,WAAW,2CA4PhD;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,WAAW,2CAoRhD;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,WAAW,2CAwMjD;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,WAAW,2CA4P/C"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SlateElementProps, TTableCellElement, TTableElement } from 'platejs';
|
|
2
|
+
export declare function TableElementStatic({ children, ...props }: SlateElementProps<TTableElement>): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare function TableRowElementStatic(props: SlateElementProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare function TableCellElementStatic({ isHeader, ...props }: SlateElementProps<TTableCellElement> & {
|
|
5
|
+
isHeader?: boolean;
|
|
6
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare function TableCellHeaderElementStatic(props: SlateElementProps<TTableCellElement>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=table-node-static.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table-node-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/table-node-static.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,iBAAiB,EACjB,iBAAiB,EACjB,aAAa,EACd,MAAM,SAAS,CAAC;AAOjB,wBAAgB,kBAAkB,CAAC,EACjC,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,iBAAiB,CAAC,aAAa,CAAC,2CAiBlC;AAED,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,iBAAiB,2CAM7D;AAED,wBAAgB,sBAAsB,CAAC,EACrC,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,GAAG;IACxC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,2CA8CA;AAED,wBAAgB,4BAA4B,CAC1C,KAAK,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,2CAG5C"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { TTableCellElement, TTableElement, TTableRowElement } from 'platejs';
|
|
2
|
+
import { PlateElementProps } from 'platejs/react';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
export declare const TableElement: React.ForwardRefExoticComponent<Omit<PlateElementProps<TTableElement>, "ref"> & React.RefAttributes<unknown>>;
|
|
5
|
+
export declare function TableRowElement(props: PlateElementProps<TTableRowElement>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare function TableCellElement({ isHeader, ...props }: PlateElementProps<TTableCellElement> & {
|
|
7
|
+
isHeader?: boolean;
|
|
8
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare function TableCellHeaderElement(props: React.ComponentProps<typeof TableCellElement>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
//# sourceMappingURL=table-node.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table-node.d.ts","sourceRoot":"","sources":["../../../src/components/ui/table-node.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAmC/B,OAAO,EAEL,KAAK,iBAAiB,EACtB,KAAK,aAAa,EAClB,KAAK,gBAAgB,EAGtB,MAAM,SAAS,CAAC;AACjB,OAAO,EACL,KAAK,iBAAiB,EAavB,MAAM,eAAe,CAAC;AAoCvB,eAAO,MAAM,YAAY,+GAqDxB,CAAC;AAqRF,wBAAgB,eAAe,CAAC,KAAK,EAAE,iBAAiB,CAAC,gBAAgB,CAAC,2CAiDzE;AAuCD,wBAAgB,gBAAgB,CAAC,EAC/B,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,GAAG;IACxC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,2CAgHA;AAED,wBAAgB,sBAAsB,CACpC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,2CAGrD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table-toolbar-button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/table-toolbar-button.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAgCvE,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,iBAAiB,2CA4K1D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toc-node-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/toc-node-static.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAe,iBAAiB,EAAY,MAAM,SAAS,CAAC;AAqBxE,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,iBAAiB,2CA4BxD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toc-node.d.ts","sourceRoot":"","sources":["../../../src/components/ui/toc-node.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAqBvD,wBAAgB,UAAU,CAAC,KAAK,EAAE,iBAAiB,2CA+BlD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toggle-node-static.d.ts","sourceRoot":"","sources":["../../../src/components/ui/toggle-node-static.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAKjD,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,iBAAiB,2CAY3D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toggle-node.d.ts","sourceRoot":"","sources":["../../../src/components/ui/toggle-node.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAQvD,wBAAgB,aAAa,CAAC,KAAK,EAAE,iBAAiB,2CAyBrD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toggle-toolbar-button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/toggle-toolbar-button.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,OAAO,EAAE,aAAa,EAAE,MAAM,WAAW,CAAC;AAE1C,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,aAAa,CAAC,2CAUlD"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { DropdownMenuRadioGroup } from './dropdown-menu';
|
|
3
|
+
import { Tooltip, TooltipTrigger } from './tooltip';
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
import * as ToolbarPrimitive from '@radix-ui/react-toolbar';
|
|
6
|
+
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
7
|
+
export declare function Toolbar({ className, ...props }: React.ComponentProps<typeof ToolbarPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export declare function ToolbarToggleGroup({ className, ...props }: React.ComponentProps<typeof ToolbarPrimitive.ToolbarToggleGroup>): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare function ToolbarLink({ className, ...props }: React.ComponentProps<typeof ToolbarPrimitive.Link>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare function ToolbarSeparator({ className, ...props }: React.ComponentProps<typeof ToolbarPrimitive.Separator>): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
declare const toolbarButtonVariants: (props?: ({
|
|
12
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
13
|
+
variant?: "outline" | "default" | null | undefined;
|
|
14
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
15
|
+
declare const dropdownArrowVariants: (props?: ({
|
|
16
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
17
|
+
variant?: "outline" | "default" | null | undefined;
|
|
18
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
19
|
+
type ToolbarButtonProps = {
|
|
20
|
+
isDropdown?: boolean;
|
|
21
|
+
pressed?: boolean;
|
|
22
|
+
} & Omit<React.ComponentPropsWithoutRef<typeof ToolbarToggleItem>, 'asChild' | 'value'> & VariantProps<typeof toolbarButtonVariants>;
|
|
23
|
+
export declare const ToolbarButton: ({ tooltip, tooltipContentProps, tooltipProps, tooltipTriggerProps, ...props }: TooltipProps<({ children, className, isDropdown, pressed, size, variant, ...props }: ToolbarButtonProps) => import("react/jsx-runtime").JSX.Element>) => import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
export declare function ToolbarSplitButton({ className, ...props }: React.ComponentPropsWithoutRef<typeof ToolbarButton>): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
type ToolbarSplitButtonPrimaryProps = Omit<React.ComponentPropsWithoutRef<typeof ToolbarToggleItem>, 'value'> & VariantProps<typeof toolbarButtonVariants>;
|
|
26
|
+
export declare function ToolbarSplitButtonPrimary({ children, className, size, variant, ...props }: ToolbarSplitButtonPrimaryProps): import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
export declare function ToolbarSplitButtonSecondary({ className, size, variant, ...props }: React.ComponentPropsWithoutRef<'span'> & VariantProps<typeof dropdownArrowVariants>): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
export declare function ToolbarToggleItem({ className, size, variant, ...props }: React.ComponentProps<typeof ToolbarPrimitive.ToggleItem> & VariantProps<typeof toolbarButtonVariants>): import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
export declare function ToolbarGroup({ children, className, }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
type TooltipProps<T extends React.ElementType> = {
|
|
31
|
+
tooltip?: React.ReactNode;
|
|
32
|
+
tooltipContentProps?: Omit<React.ComponentPropsWithoutRef<typeof TooltipContent>, 'children'>;
|
|
33
|
+
tooltipProps?: Omit<React.ComponentPropsWithoutRef<typeof Tooltip>, 'children'>;
|
|
34
|
+
tooltipTriggerProps?: React.ComponentPropsWithoutRef<typeof TooltipTrigger>;
|
|
35
|
+
} & React.ComponentProps<T>;
|
|
36
|
+
declare function TooltipContent({ children, className, sideOffset, ...props }: React.ComponentProps<typeof TooltipPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
|
|
37
|
+
export declare function ToolbarMenuGroup({ children, className, label, ...props }: React.ComponentProps<typeof DropdownMenuRadioGroup> & {
|
|
38
|
+
label?: string;
|
|
39
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
40
|
+
export {};
|
|
41
|
+
//# sourceMappingURL=toolbar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toolbar.d.ts","sourceRoot":"","sources":["../../../src/components/ui/toolbar.tsx"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import * as TooltipPrimitive from "@radix-ui/react-tooltip";
|
|
3
|
+
declare function TooltipProvider({ delayDuration, ...props }: React.ComponentProps<typeof TooltipPrimitive.Provider>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare function Tooltip({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
declare function TooltipTrigger({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare function TooltipContent({ className, sideOffset, children, ...props }: React.ComponentProps<typeof TooltipPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };
|
|
8
|
+
//# sourceMappingURL=tooltip.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/ui/tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAA;AAI3D,iBAAS,eAAe,CAAC,EACvB,aAAiB,EACjB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,QAAQ,CAAC,2CAQxD;AAED,iBAAS,OAAO,CAAC,EACf,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,IAAI,CAAC,2CAMpD;AAED,iBAAS,cAAc,CAAC,EACtB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,OAAO,CAAC,2CAEvD;AAED,iBAAS,cAAc,CAAC,EACtB,SAAS,EACT,UAAc,EACd,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,OAAO,CAAC,2CAiBvD;AAED,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,eAAe,EAAE,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { DropdownMenuProps } from '@radix-ui/react-dropdown-menu';
|
|
2
|
+
export declare const turnIntoItems: {
|
|
3
|
+
icon: import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
keywords: string[];
|
|
5
|
+
label: string;
|
|
6
|
+
value: string;
|
|
7
|
+
}[];
|
|
8
|
+
export declare function TurnIntoToolbarButton(props: DropdownMenuProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
//# sourceMappingURL=turn-into-toolbar-button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"turn-into-toolbar-button.d.ts","sourceRoot":"","sources":["../../../src/components/ui/turn-into-toolbar-button.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAqCvE,eAAO,MAAM,aAAa;;;;;GAoFzB,CAAC;AAEF,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,iBAAiB,2CA8D7D"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,83 +1,42 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
export
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
export {
|
|
15
|
-
export {
|
|
16
|
-
export
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
export
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
export {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
export {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
computeDiff,
|
|
44
|
-
withGetFragmentExcludeDiff,
|
|
45
|
-
type DiffOperation,
|
|
46
|
-
type DiffUpdate,
|
|
47
|
-
} from "@platejs/diff";
|
|
48
|
-
|
|
49
|
-
// Export UI components that users might want to customize
|
|
50
|
-
export { Editor, EditorContainer, EditorView } from "./components/ui/editor";
|
|
51
|
-
export type { EditorProps } from "./components/ui/editor";
|
|
52
|
-
|
|
53
|
-
// Export individual plugin kits for advanced users
|
|
54
|
-
export { AlignKit } from "./components/editor/plugins/align-kit";
|
|
55
|
-
export { AutoformatKit } from "./components/editor/plugins/autoformat-kit";
|
|
56
|
-
export { BasicBlocksKit } from "./components/editor/plugins/basic-blocks-kit";
|
|
57
|
-
export { BasicMarksKit } from "./components/editor/plugins/basic-marks-kit";
|
|
58
|
-
export { BlockMenuKit } from "./components/editor/plugins/block-menu-kit";
|
|
59
|
-
export { BlockPlaceholderKit } from "./components/editor/plugins/block-placeholder-kit";
|
|
60
|
-
export { CalloutKit } from "./components/editor/plugins/callout-kit";
|
|
61
|
-
export { CodeBlockKit } from "./components/editor/plugins/code-block-kit";
|
|
62
|
-
export { ColumnKit } from "./components/editor/plugins/column-kit";
|
|
63
|
-
export { CommentKit } from "./components/editor/plugins/comment-kit";
|
|
64
|
-
export { CursorOverlayKit } from "./components/editor/plugins/cursor-overlay-kit";
|
|
65
|
-
export { DateKit } from "./components/editor/plugins/date-kit";
|
|
66
|
-
export { DndKit } from "./components/editor/plugins/dnd-kit";
|
|
67
|
-
export { DocxKit } from "./components/editor/plugins/docx-kit";
|
|
68
|
-
export { ExitBreakKit } from "./components/editor/plugins/exit-break-kit";
|
|
69
|
-
export { FixedToolbarKit } from "./components/editor/plugins/fixed-toolbar-kit";
|
|
70
|
-
export { FloatingToolbarKit } from "./components/editor/plugins/floating-toolbar-kit";
|
|
71
|
-
export { FontKit } from "./components/editor/plugins/font-kit";
|
|
72
|
-
export { LineHeightKit } from "./components/editor/plugins/line-height-kit";
|
|
73
|
-
export { LinkKit } from "./components/editor/plugins/link-kit";
|
|
74
|
-
export { ListKit } from "./components/editor/plugins/list-kit";
|
|
75
|
-
export { MarkdownKit } from "./components/editor/plugins/markdown-kit";
|
|
76
|
-
export { MathKit } from "./components/editor/plugins/math-kit";
|
|
77
|
-
export { MediaKit } from "./components/editor/plugins/media-kit";
|
|
78
|
-
export { MentionKit } from "./components/editor/plugins/mention-kit";
|
|
79
|
-
export { SlashKit } from "./components/editor/plugins/slash-kit";
|
|
80
|
-
export { SuggestionKit } from "./components/editor/plugins/suggestion-kit";
|
|
81
|
-
export { TableKit } from "./components/editor/plugins/table-kit";
|
|
82
|
-
export { TocKit } from "./components/editor/plugins/toc-kit";
|
|
83
|
-
export { ToggleKit } from "./components/editor/plugins/toggle-kit";
|
|
1
|
+
export { PlateEditor } from './components/editor/plate-editor';
|
|
2
|
+
export type { PlateEditorProps } from './components/editor/plate-editor';
|
|
3
|
+
export { EditorKit } from './components/editor/editor-kit';
|
|
4
|
+
export { BaseEditorKit } from './components/editor/editor-base-kit';
|
|
5
|
+
export type { MyEditor } from './components/editor/editor-kit';
|
|
6
|
+
export type { Value } from 'platejs';
|
|
7
|
+
export { normalizeNodeId, createSlateEditor, createSlatePlugin, serializeHtml, PlateStatic, } from 'platejs';
|
|
8
|
+
export { Plate, PlateView, usePlateEditor, usePlateViewEditor, toPlatePlugin, PlateLeaf, type PlateLeafProps, } from 'platejs/react';
|
|
9
|
+
export { computeDiff, withGetFragmentExcludeDiff, type DiffOperation, type DiffUpdate, } from '@platejs/diff';
|
|
10
|
+
export { Editor, EditorContainer, EditorView } from './components/ui/editor';
|
|
11
|
+
export type { EditorProps } from './components/ui/editor';
|
|
12
|
+
export { AlignKit } from './components/editor/plugins/align-kit';
|
|
13
|
+
export { AutoformatKit } from './components/editor/plugins/autoformat-kit';
|
|
14
|
+
export { BasicBlocksKit } from './components/editor/plugins/basic-blocks-kit';
|
|
15
|
+
export { BasicMarksKit } from './components/editor/plugins/basic-marks-kit';
|
|
16
|
+
export { BlockMenuKit } from './components/editor/plugins/block-menu-kit';
|
|
17
|
+
export { BlockPlaceholderKit } from './components/editor/plugins/block-placeholder-kit';
|
|
18
|
+
export { CalloutKit } from './components/editor/plugins/callout-kit';
|
|
19
|
+
export { CodeBlockKit } from './components/editor/plugins/code-block-kit';
|
|
20
|
+
export { ColumnKit } from './components/editor/plugins/column-kit';
|
|
21
|
+
export { CommentKit } from './components/editor/plugins/comment-kit';
|
|
22
|
+
export { CursorOverlayKit } from './components/editor/plugins/cursor-overlay-kit';
|
|
23
|
+
export { DateKit } from './components/editor/plugins/date-kit';
|
|
24
|
+
export { DndKit } from './components/editor/plugins/dnd-kit';
|
|
25
|
+
export { DocxKit } from './components/editor/plugins/docx-kit';
|
|
26
|
+
export { ExitBreakKit } from './components/editor/plugins/exit-break-kit';
|
|
27
|
+
export { FixedToolbarKit } from './components/editor/plugins/fixed-toolbar-kit';
|
|
28
|
+
export { FloatingToolbarKit } from './components/editor/plugins/floating-toolbar-kit';
|
|
29
|
+
export { FontKit } from './components/editor/plugins/font-kit';
|
|
30
|
+
export { LineHeightKit } from './components/editor/plugins/line-height-kit';
|
|
31
|
+
export { LinkKit } from './components/editor/plugins/link-kit';
|
|
32
|
+
export { ListKit } from './components/editor/plugins/list-kit';
|
|
33
|
+
export { MarkdownKit } from './components/editor/plugins/markdown-kit';
|
|
34
|
+
export { MathKit } from './components/editor/plugins/math-kit';
|
|
35
|
+
export { MediaKit } from './components/editor/plugins/media-kit';
|
|
36
|
+
export { MentionKit } from './components/editor/plugins/mention-kit';
|
|
37
|
+
export { SlashKit } from './components/editor/plugins/slash-kit';
|
|
38
|
+
export { SuggestionKit } from './components/editor/plugins/suggestion-kit';
|
|
39
|
+
export { TableKit } from './components/editor/plugins/table-kit';
|
|
40
|
+
export { TocKit } from './components/editor/plugins/toc-kit';
|
|
41
|
+
export { ToggleKit } from './components/editor/plugins/toggle-kit';
|
|
42
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,MAAM,kCAAkC,CAAC;AAC/D,YAAY,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAGzE,OAAO,aAAa,CAAC;AACrB,OAAO,EAAE,SAAS,EAAE,MAAM,gCAAgC,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACpE,YAAY,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAG/D,YAAY,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAGrC,OAAO,EACL,eAAe,EACf,iBAAiB,EACjB,iBAAiB,EACjB,aAAa,EACb,WAAW,GACZ,MAAM,SAAS,CAAC;AAGjB,OAAO,EACL,KAAK,EACL,SAAS,EACT,cAAc,EACd,kBAAkB,EAClB,aAAa,EACb,SAAS,EACT,KAAK,cAAc,GACpB,MAAM,eAAe,CAAC;AAGvB,OAAO,EACL,WAAW,EACX,0BAA0B,EAC1B,KAAK,aAAa,EAClB,KAAK,UAAU,GAChB,MAAM,eAAe,CAAC;AAGvB,OAAO,EAAE,MAAM,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAC7E,YAAY,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAG1D,OAAO,EAAE,QAAQ,EAAE,MAAM,uCAAuC,CAAC;AACjE,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAC;AAC3E,OAAO,EAAE,cAAc,EAAE,MAAM,8CAA8C,CAAC;AAC9E,OAAO,EAAE,aAAa,EAAE,MAAM,6CAA6C,CAAC;AAC5E,OAAO,EAAE,YAAY,EAAE,MAAM,4CAA4C,CAAC;AAC1E,OAAO,EAAE,mBAAmB,EAAE,MAAM,mDAAmD,CAAC;AACxF,OAAO,EAAE,UAAU,EAAE,MAAM,yCAAyC,CAAC;AACrE,OAAO,EAAE,YAAY,EAAE,MAAM,4CAA4C,CAAC;AAC1E,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAC;AACnE,OAAO,EAAE,UAAU,EAAE,MAAM,yCAAyC,CAAC;AACrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAClF,OAAO,EAAE,OAAO,EAAE,MAAM,sCAAsC,CAAC;AAC/D,OAAO,EAAE,MAAM,EAAE,MAAM,qCAAqC,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,MAAM,sCAAsC,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,4CAA4C,CAAC;AAC1E,OAAO,EAAE,eAAe,EAAE,MAAM,+CAA+C,CAAC;AAChF,OAAO,EAAE,kBAAkB,EAAE,MAAM,kDAAkD,CAAC;AACtF,OAAO,EAAE,OAAO,EAAE,MAAM,sCAAsC,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,6CAA6C,CAAC;AAC5E,OAAO,EAAE,OAAO,EAAE,MAAM,sCAAsC,CAAC;AAC/D,OAAO,EAAE,OAAO,EAAE,MAAM,sCAAsC,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AACvE,OAAO,EAAE,OAAO,EAAE,MAAM,sCAAsC,CAAC;AAC/D,OAAO,EAAE,QAAQ,EAAE,MAAM,uCAAuC,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,MAAM,yCAAyC,CAAC;AACrE,OAAO,EAAE,QAAQ,EAAE,MAAM,uCAAuC,CAAC;AACjE,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAC;AAC3E,OAAO,EAAE,QAAQ,EAAE,MAAM,uCAAuC,CAAC;AACjE,OAAO,EAAE,MAAM,EAAE,MAAM,qCAAqC,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,wCAAwC,CAAC"}
|