@delali/web-editor 0.0.0-stage → 0.4.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/CHANGELOG.md +39 -0
- package/LICENSE +201 -0
- package/README.md +167 -2
- package/dist/components/editor/chat-comment-effects.d.ts +2 -0
- package/dist/components/editor/chat-types.d.ts +20 -0
- package/dist/components/editor/collaboration/base-collaboration-plugin.d.ts +14 -0
- package/dist/components/editor/collaboration/collaboration-plugin.d.ts +6 -0
- package/dist/components/editor/collaboration/collaboration-session.d.ts +30 -0
- package/dist/components/editor/collaboration/collaboration-starter.d.ts +9 -0
- package/dist/components/editor/collaboration/editor-collaboration.d.ts +16 -0
- package/dist/components/editor/collaboration/editor-collaboration.js +293 -0
- package/dist/components/editor/collaboration/remote-cursor-overlay.d.ts +1 -0
- package/dist/components/editor/collaboration/shared-document.d.ts +18 -0
- package/dist/components/editor/create-editor-plugins.d.ts +3 -0
- package/dist/components/editor/create-editor-plugins.js +25204 -0
- package/dist/components/editor/create-viewer-plugins.d.ts +3 -0
- package/dist/components/editor/editor-base-kit.d.ts +329 -0
- package/dist/components/editor/editor-base-kit.js +3136 -0
- package/dist/components/editor/editor-config.d.ts +14 -0
- package/dist/components/editor/editor-config.js +145 -0
- package/dist/components/editor/editor-kit.d.ts +3978 -0
- package/dist/components/editor/editor-kit.js +18781 -0
- package/dist/components/editor/plate-types.d.ts +99 -0
- package/dist/components/editor/plugins/accordion-group-base-kit.d.ts +2 -0
- package/dist/components/editor/plugins/accordion-group-kit.d.ts +3 -0
- package/dist/components/editor/plugins/accordion-types.d.ts +14 -0
- package/dist/components/editor/plugins/ai-kit.d.ts +248 -0
- package/dist/components/editor/plugins/align-base-kit.d.ts +3 -0
- package/dist/components/editor/plugins/api-doc/expandable-base-kit.d.ts +24 -0
- package/dist/components/editor/plugins/api-doc/expandable-kit.d.ts +29 -0
- package/dist/components/editor/plugins/api-doc/expandable-types.d.ts +7 -0
- package/dist/components/editor/plugins/api-doc/panel-base-kit.d.ts +2 -0
- package/dist/components/editor/plugins/api-doc/panel-kit.d.ts +3 -0
- package/dist/components/editor/plugins/api-doc/panel-types.d.ts +7 -0
- package/dist/components/editor/plugins/api-doc/response-field-base-kit.d.ts +3 -0
- package/dist/components/editor/plugins/api-doc/response-field-kit.d.ts +4 -0
- package/dist/components/editor/plugins/api-doc/response-field-types.d.ts +17 -0
- package/dist/components/editor/plugins/autoformat-kit.d.ts +1 -0
- package/dist/components/editor/plugins/badge-base-kit.d.ts +2 -0
- package/dist/components/editor/plugins/badge-kit.d.ts +3 -0
- package/dist/components/editor/plugins/badge-types.d.ts +24 -0
- package/dist/components/editor/plugins/banner-base-kit.d.ts +2 -0
- package/dist/components/editor/plugins/banner-kit.d.ts +3 -0
- package/dist/components/editor/plugins/banner-types.d.ts +15 -0
- package/dist/components/editor/plugins/basic-blocks-base-kit.d.ts +5 -0
- package/dist/components/editor/plugins/basic-blocks-kit.d.ts +5 -0
- package/dist/components/editor/plugins/basic-marks-base-kit.d.ts +19 -0
- package/dist/components/editor/plugins/basic-marks-kit.d.ts +35 -0
- package/dist/components/editor/plugins/basic-nodes-kit.d.ts +21 -0
- package/dist/components/editor/plugins/block-menu-kit.d.ts +165 -0
- package/dist/components/editor/plugins/block-placeholder-kit.d.ts +14 -0
- package/dist/components/editor/plugins/block-selection-kit.d.ts +137 -0
- package/dist/components/editor/plugins/callout-base-kit.d.ts +20 -0
- package/dist/components/editor/plugins/callout-kit.d.ts +20 -0
- package/dist/components/editor/plugins/callout-types.d.ts +18 -0
- package/dist/components/editor/plugins/card-base-kit.d.ts +2 -0
- package/dist/components/editor/plugins/card-kit.d.ts +3 -0
- package/dist/components/editor/plugins/card-types.d.ts +14 -0
- package/dist/components/editor/plugins/caret-placement-kit.d.ts +8 -0
- package/dist/components/editor/plugins/code-block-base-kit.d.ts +7 -0
- package/dist/components/editor/plugins/code-block-input-rule-gate.d.ts +4 -0
- package/dist/components/editor/plugins/code-block-kit.d.ts +7 -0
- package/dist/components/editor/plugins/color-base-kit.d.ts +2 -0
- package/dist/components/editor/plugins/color-kit.d.ts +3 -0
- package/dist/components/editor/plugins/color-types.d.ts +18 -0
- package/dist/components/editor/plugins/column-base-kit.d.ts +1 -0
- package/dist/components/editor/plugins/column-kit.d.ts +1 -0
- package/dist/components/editor/plugins/comment-base-kit.d.ts +47 -0
- package/dist/components/editor/plugins/comment-kit.d.ts +71 -0
- package/dist/components/editor/plugins/copilot-kit.d.ts +72 -0
- package/dist/components/editor/plugins/cursor-overlay-kit.d.ts +11 -0
- package/dist/components/editor/plugins/date-base-kit.d.ts +19 -0
- package/dist/components/editor/plugins/date-kit.d.ts +19 -0
- package/dist/components/editor/plugins/discussion-kit.d.ts +31 -0
- package/dist/components/editor/plugins/dnd-kit.d.ts +20 -0
- package/dist/components/editor/plugins/docx-kit.d.ts +1 -0
- package/dist/components/editor/plugins/emoji-kit.d.ts +9 -0
- package/dist/components/editor/plugins/exit-break-kit.d.ts +4 -0
- package/dist/components/editor/plugins/floating-toolbar-kit.d.ts +1 -0
- package/dist/components/editor/plugins/font-base-kit.d.ts +9 -0
- package/dist/components/editor/plugins/font-kit.d.ts +9 -0
- package/dist/components/editor/plugins/fraction-input-rule.d.ts +12 -0
- package/dist/components/editor/plugins/frame-base-kit.d.ts +2 -0
- package/dist/components/editor/plugins/frame-kit.d.ts +3 -0
- package/dist/components/editor/plugins/frame-types.d.ts +10 -0
- package/dist/components/editor/plugins/icon-base-kit.d.ts +2 -0
- package/dist/components/editor/plugins/icon-kit.d.ts +3 -0
- package/dist/components/editor/plugins/icon-types.d.ts +15 -0
- package/dist/components/editor/plugins/indent-base-kit.d.ts +1 -0
- package/dist/components/editor/plugins/indent-kit.d.ts +5 -0
- package/dist/components/editor/plugins/input-rule-gate.d.ts +8 -0
- package/dist/components/editor/plugins/line-height-base-kit.d.ts +3 -0
- package/dist/components/editor/plugins/link-base-kit.d.ts +2 -0
- package/dist/components/editor/plugins/link-kit.d.ts +89 -0
- package/dist/components/editor/plugins/list-base-kit.d.ts +1 -0
- package/dist/components/editor/plugins/list-kit.d.ts +16 -0
- package/dist/components/editor/plugins/mark-input-rule-gate.d.ts +2 -0
- package/dist/components/editor/plugins/markdown-kit.d.ts +19 -0
- package/dist/components/editor/plugins/math-base-kit.d.ts +9 -0
- package/dist/components/editor/plugins/math-kit.d.ts +9 -0
- package/dist/components/editor/plugins/media-base-kit.d.ts +25 -0
- package/dist/components/editor/plugins/media-kit.d.ts +38 -0
- package/dist/components/editor/plugins/mention-base-kit.d.ts +11 -0
- package/dist/components/editor/plugins/mention-kit.d.ts +11 -0
- package/dist/components/editor/plugins/mermaid-base-kit.d.ts +2 -0
- package/dist/components/editor/plugins/mermaid-kit.d.ts +3 -0
- package/dist/components/editor/plugins/mermaid-types.d.ts +14 -0
- package/dist/components/editor/plugins/shared/color-selector.d.ts +9 -0
- package/dist/components/editor/plugins/shared/component-popover.d.ts +12 -0
- package/dist/components/editor/plugins/slash-kit.d.ts +1 -0
- package/dist/components/editor/plugins/steps-base-kit.d.ts +3 -0
- package/dist/components/editor/plugins/steps-kit.d.ts +4 -0
- package/dist/components/editor/plugins/steps-types.d.ts +18 -0
- package/dist/components/editor/plugins/suggestion-base-kit.d.ts +32 -0
- package/dist/components/editor/plugins/suggestion-kit.d.ts +53 -0
- package/dist/components/editor/plugins/tabbed-code-block-base-kit.d.ts +32 -0
- package/dist/components/editor/plugins/tabbed-code-block-kit.d.ts +33 -0
- package/dist/components/editor/plugins/tabbed-code-block-types.d.ts +29 -0
- package/dist/components/editor/plugins/table-base-kit.d.ts +94 -0
- package/dist/components/editor/plugins/table-kit.d.ts +162 -0
- package/dist/components/editor/plugins/tabs-base-kit.d.ts +2 -0
- package/dist/components/editor/plugins/tabs-kit.d.ts +3 -0
- package/dist/components/editor/plugins/tabs-types.d.ts +14 -0
- package/dist/components/editor/plugins/text-substitution-input-rule-gate.d.ts +4 -0
- package/dist/components/editor/plugins/tiles-base-kit.d.ts +3 -0
- package/dist/components/editor/plugins/tiles-kit.d.ts +4 -0
- package/dist/components/editor/plugins/tiles-types.d.ts +16 -0
- package/dist/components/editor/plugins/toc-base-kit.d.ts +1 -0
- package/dist/components/editor/plugins/toc-kit.d.ts +5 -0
- package/dist/components/editor/plugins/todo-to-bullet-kit.d.ts +7 -0
- package/dist/components/editor/plugins/toggle-base-kit.d.ts +12 -0
- package/dist/components/editor/plugins/toggle-kit.d.ts +16 -0
- package/dist/components/editor/plugins/tooltip-base-kit.d.ts +2 -0
- package/dist/components/editor/plugins/tooltip-html.d.ts +27 -0
- package/dist/components/editor/plugins/tooltip-kit.d.ts +3 -0
- package/dist/components/editor/plugins/tooltip-types.d.ts +10 -0
- package/dist/components/editor/plugins/tree-base-kit.d.ts +2 -0
- package/dist/components/editor/plugins/tree-kit.d.ts +3 -0
- package/dist/components/editor/plugins/tree-types.d.ts +26 -0
- package/dist/components/editor/plugins/typed-conversion-options.d.ts +13 -0
- package/dist/components/editor/plugins/update-base-kit.d.ts +1 -0
- package/dist/components/editor/plugins/update-kit.d.ts +4 -0
- package/dist/components/editor/plugins/update-types.d.ts +19 -0
- package/dist/components/editor/plugins/web-address-text.d.ts +1 -0
- package/dist/components/editor/transforms.d.ts +8 -0
- package/dist/components/editor/use-chat.d.ts +3 -0
- package/dist/components/editor/use-chat.js +3315 -0
- package/dist/components/editor/use-typed-conversion-options.d.ts +3 -0
- package/dist/components/editor/version-history/chunk-node.d.ts +7 -0
- package/dist/components/editor/version-history/chunk-plugin.d.ts +6 -0
- package/dist/components/editor/version-history/collapse-blocks-without-diff.d.ts +4 -0
- package/dist/components/editor/version-history/diff-node.d.ts +9 -0
- package/dist/components/editor/version-history/diff-plate.d.ts +7 -0
- package/dist/components/editor/version-history/diff-plugin.d.ts +8 -0
- package/dist/components/editor/version-history/index.d.ts +9 -0
- package/dist/components/editor/version-history/index.js +19179 -0
- package/dist/components/editor/version-history/use-object-version.d.ts +1 -0
- package/dist/components/editor/version-history/use-reset-editor-on-change.d.ts +7 -0
- package/dist/components/editor/version-history/version-plate.d.ts +7 -0
- package/dist/components/editor/web-editor.d.ts +6 -0
- package/dist/components/editor/web-editor.js +27295 -0
- package/dist/context/editor-adapter-context.d.ts +13 -0
- package/dist/context/editor-adapter-context.js +124 -0
- package/dist/context/editor-adapter.d.ts +262 -0
- package/dist/context/editor-toc-context.d.ts +16 -0
- package/dist/context/heading-slug-context.d.ts +11 -0
- package/dist/context/link-resolution-context.d.ts +24 -0
- package/dist/context/link-resolution-store.d.ts +20 -0
- package/dist/context/portal-container.d.ts +7 -0
- package/dist/hooks/use-copy-to-clipboard.d.ts +10 -0
- package/dist/hooks/use-dark-mode.d.ts +1 -0
- package/dist/hooks/use-debounce-callback.d.ts +108 -0
- package/dist/hooks/use-debounce.d.ts +1 -0
- package/dist/hooks/use-is-touch-device.d.ts +1 -0
- package/dist/hooks/use-lock-scroll.d.ts +1 -0
- package/dist/hooks/use-media-query.d.ts +2 -0
- package/dist/hooks/use-mounted.d.ts +6 -0
- package/dist/hooks/use-on-click-outside.d.ts +26 -0
- package/dist/hooks/use-shield-input-selection-from-editor.d.ts +3 -0
- package/dist/hooks/use-upload-file.d.ts +25 -0
- package/dist/hooks/use-upload-file.js +129 -0
- package/dist/lib/accepted-file-types.d.ts +1 -0
- package/dist/lib/block-features.d.ts +11 -0
- package/dist/lib/comment-mark-strip.d.ts +24 -0
- package/dist/lib/comment-mark-strip.js +56 -0
- package/dist/lib/download-file.d.ts +1 -0
- package/dist/lib/editor-element-path.d.ts +8 -0
- package/dist/lib/extract-headings.d.ts +13 -0
- package/dist/lib/extract-headings.js +79 -0
- package/dist/lib/file-size-limit.d.ts +7 -0
- package/dist/lib/html-serialize-hast.d.ts +18 -0
- package/dist/lib/html-serialize-rules.d.ts +15 -0
- package/dist/lib/html-serialize-utils.d.ts +24 -0
- package/dist/lib/html-serialize-utils.js +392 -0
- package/dist/lib/line-marking-context.d.ts +13 -0
- package/dist/lib/line-marking.d.ts +47 -0
- package/dist/lib/list-html.d.ts +30 -0
- package/dist/lib/markdown-joiner-transform.d.ts +31 -0
- package/dist/lib/markdown-utils.d.ts +4 -0
- package/dist/lib/markdown-utils.js +25275 -0
- package/dist/lib/mdx/mdx-archetype-rules.d.ts +2 -0
- package/dist/lib/mdx/mdx-attribute-codec.d.ts +23 -0
- package/dist/lib/mdx/mdx-color-rules.d.ts +2 -0
- package/dist/lib/mdx/mdx-component-rules.d.ts +2 -0
- package/dist/lib/mdx/mdx-mermaid-rules.d.ts +10 -0
- package/dist/lib/mdx/mdx-reference-rules.d.ts +11 -0
- package/dist/lib/mdx/mdx-round-trip.d.ts +3 -0
- package/dist/lib/mdx/mdx-round-trip.js +1397 -0
- package/dist/lib/mdx/mdx-rule-builder.d.ts +45 -0
- package/dist/lib/mdx/mdx-server-plugins.d.ts +8 -0
- package/dist/lib/mdx/mdx-tabbed-code-rules.d.ts +2 -0
- package/dist/lib/mdx/mdx-tabs-rules.d.ts +2 -0
- package/dist/lib/mdx/mdx-toggle-rules.d.ts +9 -0
- package/dist/lib/mdx/mdx-tree-rules.d.ts +2 -0
- package/dist/lib/media-html.d.ts +121 -0
- package/dist/lib/paragraph-html.d.ts +26 -0
- package/dist/lib/server-plugins.d.ts +199 -0
- package/dist/lib/utils.d.ts +3 -0
- package/dist/lib/utils.js +25 -0
- package/dist/lib/video-embeds.d.ts +9 -0
- package/dist/styles.css +6726 -0
- package/dist/types/editor.d.ts +161 -0
- package/dist/types/editor.js +77 -0
- package/dist/ui/accordion-group-node-static.d.ts +11 -0
- package/dist/ui/accordion-group-node.d.ts +10 -0
- package/dist/ui/ai-chat-editor.d.ts +4 -0
- package/dist/ui/ai-menu.d.ts +2 -0
- package/dist/ui/ai-node.d.ts +3 -0
- package/dist/ui/ai-toolbar-button.d.ts +3 -0
- package/dist/ui/alert-dialog.d.ts +20 -0
- package/dist/ui/api-doc/expandable-node-static.d.ts +4 -0
- package/dist/ui/api-doc/expandable-node.d.ts +3 -0
- package/dist/ui/api-doc/expandable-settings.d.ts +17 -0
- package/dist/ui/api-doc/panel-node-static.d.ts +3 -0
- package/dist/ui/api-doc/panel-node.d.ts +3 -0
- package/dist/ui/api-doc/response-field-item-node-static.d.ts +3 -0
- package/dist/ui/api-doc/response-field-item-node.d.ts +3 -0
- package/dist/ui/api-doc/response-field-node-static.d.ts +9 -0
- package/dist/ui/api-doc/response-field-node.d.ts +9 -0
- package/dist/ui/avatar.d.ts +16 -0
- package/dist/ui/badge-node-static.d.ts +3 -0
- package/dist/ui/badge-node.d.ts +3 -0
- package/dist/ui/badge-settings-options.d.ts +24 -0
- package/dist/ui/badge-settings.d.ts +19 -0
- package/dist/ui/badge.d.ts +9 -0
- package/dist/ui/banner-node-static.d.ts +4 -0
- package/dist/ui/banner-node.d.ts +3 -0
- package/dist/ui/block-context-menu.d.ts +8 -0
- package/dist/ui/block-discussion.d.ts +3 -0
- package/dist/ui/block-draggable.d.ts +2 -0
- package/dist/ui/block-list-static.d.ts +2 -0
- package/dist/ui/block-list.d.ts +2 -0
- package/dist/ui/block-menu.d.ts +167 -0
- package/dist/ui/block-selection.d.ts +5 -0
- package/dist/ui/block-suggestion.d.ts +17 -0
- package/dist/ui/blockquote-node-static.d.ts +2 -0
- package/dist/ui/blockquote-node.d.ts +2 -0
- package/dist/ui/button.d.ts +81 -0
- package/dist/ui/calendar.d.ts +5 -0
- package/dist/ui/callout-detail-settings.d.ts +15 -0
- package/dist/ui/callout-icon.d.ts +9 -0
- package/dist/ui/callout-node-static.d.ts +2 -0
- package/dist/ui/callout-node.d.ts +3 -0
- package/dist/ui/callout-settings.d.ts +19 -0
- package/dist/ui/callout-type-button.d.ts +9 -0
- package/dist/ui/caption.d.ts +72 -0
- package/dist/ui/card-element-actions.d.ts +7 -0
- package/dist/ui/card-icon-settings.d.ts +11 -0
- package/dist/ui/card-node-static.d.ts +3 -0
- package/dist/ui/card-node.d.ts +3 -0
- package/dist/ui/card-settings.d.ts +24 -0
- package/dist/ui/card-title-row.d.ts +14 -0
- package/dist/ui/checkbox.d.ts +4 -0
- package/dist/ui/code-block-line-marking-form.d.ts +9 -0
- package/dist/ui/code-block-line-marking-input.d.ts +8 -0
- package/dist/ui/code-block-line-marking-popover.d.ts +12 -0
- package/dist/ui/code-block-line-marking-state.d.ts +11 -0
- package/dist/ui/code-block-node-static.d.ts +10 -0
- package/dist/ui/code-block-node.d.ts +5 -0
- package/dist/ui/code-line-selection-toolbar.d.ts +10 -0
- package/dist/ui/code-line-wrapper.d.ts +22 -0
- package/dist/ui/code-node-static.d.ts +2 -0
- package/dist/ui/code-node.d.ts +2 -0
- package/dist/ui/collapsible.d.ts +6 -0
- package/dist/ui/color-copy-icon.d.ts +9 -0
- package/dist/ui/color-element-actions.d.ts +7 -0
- package/dist/ui/color-item-settings.d.ts +11 -0
- package/dist/ui/color-node-static.d.ts +3 -0
- package/dist/ui/color-node.d.ts +3 -0
- package/dist/ui/color-settings.d.ts +18 -0
- package/dist/ui/color-swatch-editable.d.ts +12 -0
- package/dist/ui/color-table-row-editable.d.ts +10 -0
- package/dist/ui/column-node-static.d.ts +4 -0
- package/dist/ui/column-node.d.ts +3 -0
- package/dist/ui/command.d.ts +25 -0
- package/dist/ui/comment-node-static.d.ts +3 -0
- package/dist/ui/comment-node.d.ts +3 -0
- package/dist/ui/comment-toolbar-button.d.ts +1 -0
- package/dist/ui/comment.d.ts +45 -0
- package/dist/ui/cursor-overlay.d.ts +4 -0
- package/dist/ui/date-node-static.d.ts +2 -0
- package/dist/ui/date-node.d.ts +2 -0
- package/dist/ui/dialog.d.ts +90 -0
- package/dist/ui/dropdown-menu.d.ts +35 -0
- package/dist/ui/editor-inspector-panel.d.ts +6 -0
- package/dist/ui/editor-static.d.ts +8 -0
- package/dist/ui/editor.d.ts +15 -0
- package/dist/ui/emoji-node.d.ts +3 -0
- package/dist/ui/emoji-toolbar-button.d.ts +16 -0
- package/dist/ui/equation-node-static.d.ts +4 -0
- package/dist/ui/equation-node.d.ts +5 -0
- package/dist/ui/equation-toolbar-button.d.ts +2 -0
- package/dist/ui/floating-discussion.d.ts +8 -0
- package/dist/ui/floating-toolbar-buttons.d.ts +1 -0
- package/dist/ui/floating-toolbar.d.ts +6 -0
- package/dist/ui/font-color-toolbar-button.d.ts +15 -0
- package/dist/ui/frame-node-static.d.ts +3 -0
- package/dist/ui/frame-node.d.ts +3 -0
- package/dist/ui/frame-settings.d.ts +19 -0
- package/dist/ui/ghost-text.d.ts +1 -0
- package/dist/ui/heading-node-static.d.ts +10 -0
- package/dist/ui/heading-node.d.ts +14 -0
- package/dist/ui/highlight-node-static.d.ts +2 -0
- package/dist/ui/highlight-node.d.ts +2 -0
- package/dist/ui/hover-card.d.ts +6 -0
- package/dist/ui/hr-node-static.d.ts +2 -0
- package/dist/ui/hr-node.d.ts +2 -0
- package/dist/ui/icon-node-static.d.ts +3 -0
- package/dist/ui/icon-node.d.ts +3 -0
- package/dist/ui/icon-picker.d.ts +16 -0
- package/dist/ui/icon-settings.d.ts +17 -0
- package/dist/ui/inline-combobox.d.ts +38 -0
- package/dist/ui/input.d.ts +7 -0
- package/dist/ui/kbd-node-static.d.ts +2 -0
- package/dist/ui/kbd-node.d.ts +2 -0
- package/dist/ui/label.d.ts +8 -0
- package/dist/ui/link-node-static.d.ts +11 -0
- package/dist/ui/link-node.d.ts +11 -0
- package/dist/ui/link-reference.d.ts +39 -0
- package/dist/ui/link-reference.js +84 -0
- package/dist/ui/link-search-panel.d.ts +5 -0
- package/dist/ui/link-toolbar-button.d.ts +3 -0
- package/dist/ui/link-toolbar-edit-command.d.ts +7 -0
- package/dist/ui/link-toolbar-shared.d.ts +18 -0
- package/dist/ui/link-toolbar.d.ts +1 -0
- package/dist/ui/mark-toolbar-button.d.ts +6 -0
- package/dist/ui/media-align-button.d.ts +5 -0
- package/dist/ui/media-audio-node-static.d.ts +3 -0
- package/dist/ui/media-audio-node.d.ts +2 -0
- package/dist/ui/media-card.d.ts +11 -0
- package/dist/ui/media-embed-node-static.d.ts +6 -0
- package/dist/ui/media-embed-node.d.ts +2 -0
- package/dist/ui/media-file-display.d.ts +11 -0
- package/dist/ui/media-file-mode-dropdown.d.ts +10 -0
- package/dist/ui/media-file-node-static.d.ts +3 -0
- package/dist/ui/media-file-node.d.ts +2 -0
- package/dist/ui/media-hint-icon-picker.d.ts +5 -0
- package/dist/ui/media-hint-settings.d.ts +2 -0
- package/dist/ui/media-image-lightbox.d.ts +17 -0
- package/dist/ui/media-image-node-static.d.ts +6 -0
- package/dist/ui/media-image-node.d.ts +7 -0
- package/dist/ui/media-placeholder-node.d.ts +3 -0
- package/dist/ui/media-preview-dialog.d.ts +12 -0
- package/dist/ui/media-toolbar.d.ts +3 -0
- package/dist/ui/media-upload-toast.d.ts +1 -0
- package/dist/ui/media-video-node-static.d.ts +6 -0
- package/dist/ui/media-video-node.d.ts +2 -0
- package/dist/ui/member-profile-card.d.ts +17 -0
- package/dist/ui/mention-document-element.d.ts +5 -0
- package/dist/ui/mention-document-hover-card.d.ts +17 -0
- package/dist/ui/mention-document-link.d.ts +13 -0
- package/dist/ui/mention-element.d.ts +5 -0
- package/dist/ui/mention-input-element.d.ts +2 -0
- package/dist/ui/mention-node-static.d.ts +7 -0
- package/dist/ui/mention-page-combobox-group.d.ts +8 -0
- package/dist/ui/mention-people-combobox-group.d.ts +8 -0
- package/dist/ui/menu.d.ts +103 -0
- package/dist/ui/mermaid-node-static.d.ts +4 -0
- package/dist/ui/mermaid-node.d.ts +3 -0
- package/dist/ui/more-toolbar-button.d.ts +3 -0
- package/dist/ui/paragraph-node-static.d.ts +2 -0
- package/dist/ui/paragraph-node.d.ts +2 -0
- package/dist/ui/popover.d.ts +11 -0
- package/dist/ui/progress.d.ts +3 -0
- package/dist/ui/resize-handle.d.ts +15 -0
- package/dist/ui/select.d.ts +13 -0
- package/dist/ui/separator.d.ts +8 -0
- package/dist/ui/slash-node.d.ts +20 -0
- package/dist/ui/smart-link-clipboard.d.ts +1 -0
- package/dist/ui/smart-link-copy-button.d.ts +6 -0
- package/dist/ui/smart-link-mode-dropdown.d.ts +9 -0
- package/dist/ui/smart-link-toolbar.d.ts +17 -0
- package/dist/ui/smart-link-view.d.ts +23 -0
- package/dist/ui/smart-link.d.ts +43 -0
- package/dist/ui/spinner.d.ts +7 -0
- package/dist/ui/step-node-static.d.ts +3 -0
- package/dist/ui/step-node.d.ts +3 -0
- package/dist/ui/step-settings.d.ts +19 -0
- package/dist/ui/steps-node-static.d.ts +10 -0
- package/dist/ui/steps-node.d.ts +10 -0
- package/dist/ui/suggestion-node-static.d.ts +3 -0
- package/dist/ui/suggestion-node.d.ts +6 -0
- package/dist/ui/suggestion-toolbar-button.d.ts +1 -0
- package/dist/ui/switch.d.ts +4 -0
- package/dist/ui/tabbed-code-block-actions.d.ts +24 -0
- package/dist/ui/tabbed-code-block-header.d.ts +23 -0
- package/dist/ui/tabbed-code-block-language-selector.d.ts +7 -0
- package/dist/ui/tabbed-code-block-languages.d.ts +6 -0
- package/dist/ui/tabbed-code-block-node-static.d.ts +4 -0
- package/dist/ui/tabbed-code-block-node.d.ts +4 -0
- package/dist/ui/tabbed-code-block-settings.d.ts +18 -0
- package/dist/ui/tabbed-code-block-sync.d.ts +10 -0
- package/dist/ui/tabbed-code-block-tab-dropdown.d.ts +10 -0
- package/dist/ui/tabbed-code-block-tab-strip.d.ts +27 -0
- package/dist/ui/tabbed-code-block-tab-trigger.d.ts +14 -0
- package/dist/ui/tabbed-code-block-utils.d.ts +9 -0
- package/dist/ui/table-icons.d.ts +7 -0
- package/dist/ui/table-node-static.d.ts +9 -0
- package/dist/ui/table-node.d.ts +9 -0
- package/dist/ui/tabs-node-static.d.ts +4 -0
- package/dist/ui/tabs-node.d.ts +3 -0
- package/dist/ui/tabs.d.ts +10 -0
- package/dist/ui/textarea.d.ts +10 -0
- package/dist/ui/tile-node-static.d.ts +3 -0
- package/dist/ui/tile-node.d.ts +3 -0
- package/dist/ui/tile-settings.d.ts +18 -0
- package/dist/ui/tiles-node-static.d.ts +3 -0
- package/dist/ui/tiles-node.d.ts +3 -0
- package/dist/ui/toc-node-static.d.ts +2 -0
- package/dist/ui/toc-node.d.ts +2 -0
- package/dist/ui/toc-sidebar.d.ts +6 -0
- package/dist/ui/toc-state-sync.d.ts +5 -0
- package/dist/ui/toggle-node-static.d.ts +3 -0
- package/dist/ui/toggle-node-views.d.ts +35 -0
- package/dist/ui/toggle-node.d.ts +3 -0
- package/dist/ui/toggle-settings.d.ts +23 -0
- package/dist/ui/toggle.d.ts +8 -0
- package/dist/ui/toolbar.d.ts +37 -0
- package/dist/ui/tooltip-node-static.d.ts +3 -0
- package/dist/ui/tooltip-node.d.ts +3 -0
- package/dist/ui/tooltip-preview-content.d.ts +6 -0
- package/dist/ui/tooltip-settings.d.ts +21 -0
- package/dist/ui/tooltip-toolbar-button.d.ts +3 -0
- package/dist/ui/tooltip.d.ts +19 -0
- package/dist/ui/tree-context-value.d.ts +22 -0
- package/dist/ui/tree-context.d.ts +32 -0
- package/dist/ui/tree-file-node-static.d.ts +8 -0
- package/dist/ui/tree-file-node.d.ts +11 -0
- package/dist/ui/tree-folder-node-static.d.ts +9 -0
- package/dist/ui/tree-folder-node.d.ts +12 -0
- package/dist/ui/tree-item-utils.d.ts +11 -0
- package/dist/ui/tree-items-list.d.ts +11 -0
- package/dist/ui/tree-node-events.d.ts +19 -0
- package/dist/ui/tree-node-state.d.ts +14 -0
- package/dist/ui/tree-node-static.d.ts +12 -0
- package/dist/ui/tree-node.d.ts +5 -0
- package/dist/ui/tree-root-actions.d.ts +11 -0
- package/dist/ui/tree-settings.d.ts +18 -0
- package/dist/ui/turn-into-toolbar-button.d.ts +129 -0
- package/dist/ui/update-display-tags.d.ts +5 -0
- package/dist/ui/update-node-static.d.ts +2 -0
- package/dist/ui/update-node.d.ts +3 -0
- package/dist/ui/update-rss-settings.d.ts +9 -0
- package/dist/ui/update-settings.d.ts +21 -0
- package/dist/ui/update-tags-settings.d.ts +8 -0
- package/dist/ui/updates-node-static.d.ts +2 -0
- package/dist/ui/updates-node.d.ts +2 -0
- package/dist/ui/use-member-profile.d.ts +22 -0
- package/dist/ui/use-placeholder-max-file-size.d.ts +3 -0
- package/dist/vendor/slate-yjs-core.d.ts +1 -0
- package/dist/vendor/slate-yjs-core.js +2 -0
- package/dist/vendor/y-protocols-awareness.d.ts +1 -0
- package/dist/vendor/y-protocols-awareness.js +2 -0
- package/dist/vendor/yjs.d.ts +1 -0
- package/dist/vendor/yjs.js +2 -0
- package/package.json +255 -4
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { serializeMd } from '@platejs/markdown';
|
|
2
|
+
export declare const CopilotKit: (import("platejs").SlatePlugin<import("platejs").PluginConfig<"markdown", {
|
|
3
|
+
allowedNodes: import("@platejs/markdown").PlateType[] | null;
|
|
4
|
+
disallowedNodes: import("@platejs/markdown").PlateType[] | null;
|
|
5
|
+
remarkPlugins: import("unified").Plugin[];
|
|
6
|
+
remarkStringifyOptions: import("remark-stringify").Options | null;
|
|
7
|
+
rules: import("@platejs/markdown").MdRules | null;
|
|
8
|
+
allowNode?: import("@platejs/markdown").AllowNodeConfig;
|
|
9
|
+
plainMarks?: import("@platejs/markdown").PlateType[] | null;
|
|
10
|
+
}, {
|
|
11
|
+
markdown: {
|
|
12
|
+
deserialize: import("platejs").OmitFirst<(editor: import("platejs").SlateEditor, data: string, options?: Omit<import("@platejs/markdown").DeserializeMdOptions, "editor">) => import("platejs").Value>;
|
|
13
|
+
deserializeInline: import("platejs").OmitFirst<(editor: import("platejs").SlateEditor, text: string, options?: import("@platejs/markdown").DeserializeMdOptions) => import("platejs").Descendant[]>;
|
|
14
|
+
serialize: import("platejs").OmitFirst<typeof serializeMd>;
|
|
15
|
+
};
|
|
16
|
+
} & Record<"markdown", {
|
|
17
|
+
deserialize: (data: string, options?: Omit<import("@platejs/markdown").DeserializeMdOptions, "editor"> | undefined) => import("platejs").Value;
|
|
18
|
+
deserializeInline: (text: string, options?: import("@platejs/markdown").DeserializeMdOptions | undefined) => import("platejs").Descendant[];
|
|
19
|
+
serialize: (options?: Omit<import("@platejs/markdown").SerializeMdOptions, "editor"> | undefined) => string;
|
|
20
|
+
}>, {}, {}>> | import("platejs/react").PlatePlugin<import("platejs").PluginConfig<"copilot", {
|
|
21
|
+
abortController?: AbortController | null;
|
|
22
|
+
completion?: string | null;
|
|
23
|
+
error?: Error | null;
|
|
24
|
+
isLoading?: boolean;
|
|
25
|
+
} & {
|
|
26
|
+
completeOptions?: Partial<import("@platejs/ai/react").CompleteOptions>;
|
|
27
|
+
debounceDelay?: number;
|
|
28
|
+
getNextWord?: import("@platejs/ai/react").GetNextWord;
|
|
29
|
+
renderGhostText?: (() => React.ReactNode) | null;
|
|
30
|
+
shouldAbort?: boolean;
|
|
31
|
+
suggestionNodeId?: string | null;
|
|
32
|
+
suggestionText?: string | null;
|
|
33
|
+
autoTriggerQuery?: (options: {
|
|
34
|
+
editor: import("platejs/react").PlateEditor;
|
|
35
|
+
}) => boolean;
|
|
36
|
+
getPrompt?: (options: {
|
|
37
|
+
editor: import("platejs/react").PlateEditor;
|
|
38
|
+
}) => string;
|
|
39
|
+
triggerQuery?: (options: {
|
|
40
|
+
editor: import("platejs/react").PlateEditor;
|
|
41
|
+
}) => boolean;
|
|
42
|
+
}, {
|
|
43
|
+
copilot: {
|
|
44
|
+
triggerSuggestion: import("platejs").OmitFirst<(editor: import("platejs/react").PlateEditor) => Promise<false | undefined>>;
|
|
45
|
+
reject: () => false | undefined;
|
|
46
|
+
setBlockSuggestion: (options: {
|
|
47
|
+
text: string;
|
|
48
|
+
id?: string;
|
|
49
|
+
}) => void;
|
|
50
|
+
stop: () => void;
|
|
51
|
+
};
|
|
52
|
+
} & Record<"copilot", Omit<{
|
|
53
|
+
triggerSuggestion: import("platejs").OmitFirst<(editor: import("platejs/react").PlateEditor) => Promise<false | undefined>>;
|
|
54
|
+
reject: () => false | undefined;
|
|
55
|
+
setBlockSuggestion: (options: {
|
|
56
|
+
text: string;
|
|
57
|
+
id?: string;
|
|
58
|
+
}) => void;
|
|
59
|
+
stop: () => void;
|
|
60
|
+
}, "reject">> & Record<"copilot", {
|
|
61
|
+
reject: () => false | undefined;
|
|
62
|
+
}>, {
|
|
63
|
+
copilot: {
|
|
64
|
+
accept: import("platejs").OmitFirst<(editor: import("platejs/react").PlateEditor) => false | undefined>;
|
|
65
|
+
acceptNextWord: import("platejs").OmitFirst<(editor: import("platejs/react").PlateEditor) => false | undefined>;
|
|
66
|
+
};
|
|
67
|
+
} & Record<"copilot", {
|
|
68
|
+
accept: () => false | undefined;
|
|
69
|
+
acceptNextWord: () => false | undefined;
|
|
70
|
+
}>, {
|
|
71
|
+
isSuggested?: (id: string) => boolean;
|
|
72
|
+
}>>)[];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const CursorOverlayKit: import("platejs/react").PlatePlugin<import("platejs").PluginConfig<"cursorOverlay", {
|
|
2
|
+
cursors: Record<string, import("@platejs/selection/react").CursorState<import("@platejs/selection/react").CursorData>>;
|
|
3
|
+
}, {
|
|
4
|
+
cursorOverlay: {
|
|
5
|
+
addCursor: (id: string, cursor: Omit<import("@platejs/selection/react").CursorState<import("@platejs/selection/react").CursorData>, "id">) => void;
|
|
6
|
+
removeCursor: (id: (string & {}) | "drag" | "selection") => void;
|
|
7
|
+
};
|
|
8
|
+
} & Record<"cursorOverlay", {
|
|
9
|
+
addCursor: (id: string, cursor: Omit<import("@platejs/selection/react").CursorState<import("@platejs/selection/react").CursorData>, "id">) => void;
|
|
10
|
+
removeCursor: (id: (string & {}) | "drag" | "selection") => void;
|
|
11
|
+
}>, {}, {}>>[];
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const BaseDateKit: import("platejs").SlatePlugin<import("platejs").PluginConfig<"date", {}, {}, {
|
|
2
|
+
insert: {
|
|
3
|
+
date: (args_0?: ({
|
|
4
|
+
date?: string;
|
|
5
|
+
} & {
|
|
6
|
+
batchDirty?: boolean;
|
|
7
|
+
hanging?: boolean;
|
|
8
|
+
nextBlock?: boolean;
|
|
9
|
+
removeEmpty?: import("platejs").QueryNodeOptions | boolean;
|
|
10
|
+
select?: boolean;
|
|
11
|
+
} & {
|
|
12
|
+
id?: boolean | string;
|
|
13
|
+
block?: boolean;
|
|
14
|
+
empty?: boolean;
|
|
15
|
+
match?: import("platejs").Predicate<import("platejs").NodeIn<import("platejs").Value>> | undefined;
|
|
16
|
+
text?: boolean;
|
|
17
|
+
} & import("platejs").QueryAt & import("platejs").QueryMode & import("platejs").QueryVoids) | undefined) => void;
|
|
18
|
+
};
|
|
19
|
+
}, {}>>[];
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const DateKit: import("platejs/react").PlatePlugin<import("platejs").PluginConfig<"date", {}, {}, {
|
|
2
|
+
insert: {
|
|
3
|
+
date: (args_0?: ({
|
|
4
|
+
date?: string;
|
|
5
|
+
} & {
|
|
6
|
+
batchDirty?: boolean;
|
|
7
|
+
hanging?: boolean;
|
|
8
|
+
nextBlock?: boolean;
|
|
9
|
+
removeEmpty?: import("platejs").QueryNodeOptions | boolean;
|
|
10
|
+
select?: boolean;
|
|
11
|
+
} & {
|
|
12
|
+
id?: boolean | string;
|
|
13
|
+
block?: boolean;
|
|
14
|
+
empty?: boolean;
|
|
15
|
+
match?: import("platejs").Predicate<import("platejs").NodeIn<import("platejs").Value>> | undefined;
|
|
16
|
+
text?: boolean;
|
|
17
|
+
} & import("platejs").QueryAt & import("platejs").QueryMode & import("platejs").QueryVoids) | undefined) => void;
|
|
18
|
+
};
|
|
19
|
+
}, {}>>[];
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { TComment } from '../../../ui/comment';
|
|
2
|
+
export type TDiscussion = {
|
|
3
|
+
id: string;
|
|
4
|
+
comments: TComment[];
|
|
5
|
+
createdAt: Date;
|
|
6
|
+
isResolved: boolean;
|
|
7
|
+
userId: string;
|
|
8
|
+
documentContent?: string;
|
|
9
|
+
};
|
|
10
|
+
export type TDiscussionUser = {
|
|
11
|
+
id: string;
|
|
12
|
+
avatarUrl?: string;
|
|
13
|
+
name: string;
|
|
14
|
+
hue?: number;
|
|
15
|
+
};
|
|
16
|
+
export declare const discussionPlugin: import("platejs/react").PlatePlugin<import("platejs").PluginConfig<"discussion", {
|
|
17
|
+
currentUserId: string;
|
|
18
|
+
discussions: TDiscussion[];
|
|
19
|
+
users: Record<string, TDiscussionUser>;
|
|
20
|
+
}, {}, {}, {
|
|
21
|
+
currentUser: () => TDiscussionUser;
|
|
22
|
+
user: (id: string) => TDiscussionUser;
|
|
23
|
+
}>>;
|
|
24
|
+
export declare const DiscussionKit: import("platejs/react").PlatePlugin<import("platejs").PluginConfig<"discussion", {
|
|
25
|
+
currentUserId: string;
|
|
26
|
+
discussions: TDiscussion[];
|
|
27
|
+
users: Record<string, TDiscussionUser>;
|
|
28
|
+
}, {}, {}, {
|
|
29
|
+
currentUser: () => TDiscussionUser;
|
|
30
|
+
user: (id: string) => TDiscussionUser;
|
|
31
|
+
}>>[];
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare const DndKit: import("platejs/react").PlatePlugin<import("platejs").PluginConfig<"dnd", {
|
|
2
|
+
_isOver?: boolean;
|
|
3
|
+
draggingId?: string[] | string | null;
|
|
4
|
+
dropTarget?: {
|
|
5
|
+
id: string | null;
|
|
6
|
+
line: import("@platejs/dnd").DropLineDirection;
|
|
7
|
+
};
|
|
8
|
+
enableScroller?: boolean;
|
|
9
|
+
isDragging?: boolean;
|
|
10
|
+
multiplePreviewRef?: React.RefObject<HTMLDivElement | null> | null;
|
|
11
|
+
scrollerProps?: Partial<import("@platejs/dnd").ScrollerProps>;
|
|
12
|
+
onDropFiles?: (props: {
|
|
13
|
+
id: string;
|
|
14
|
+
dragItem: import("@platejs/dnd").FileDragItemNode;
|
|
15
|
+
editor: import("platejs/react").PlateEditor;
|
|
16
|
+
monitor: import("react-dnd").DropTargetMonitor<import("@platejs/dnd").DragItemNode, unknown>;
|
|
17
|
+
nodeRef: any;
|
|
18
|
+
target?: import("platejs").Path;
|
|
19
|
+
}) => void;
|
|
20
|
+
}, {}, {}, {}>>[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const DocxKit: (import("platejs").SlatePlugin<import("platejs").PluginConfig<"docx", {}, {}, {}, {}>> | import("platejs").SlatePlugin<import("platejs").PluginConfig<"juice", {}, {}, {}, {}>>)[];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import emojiMartData from '@emoji-mart/data';
|
|
2
|
+
export declare const EmojiKit: (import("platejs/react").PlatePlugin<import("platejs").PluginConfig<"emoji", {
|
|
3
|
+
data?: emojiMartData.EmojiMartData;
|
|
4
|
+
createEmojiNode?: (emoji: emojiMartData.Emoji) => any;
|
|
5
|
+
} & import("@platejs/combobox").TriggerComboboxPluginOptions, {}, {}, {}>> | import("platejs/react").PlatePlugin<import("platejs").PluginConfig<"emoji_input", {}, {}, {}, {}>>)[];
|
|
6
|
+
export declare const EmojiPickerDataKit: import("platejs/react").PlatePlugin<import("platejs").PluginConfig<"emoji", {
|
|
7
|
+
data?: emojiMartData.EmojiMartData;
|
|
8
|
+
createEmojiNode?: (emoji: emojiMartData.Emoji) => any;
|
|
9
|
+
} & import("@platejs/combobox").TriggerComboboxPluginOptions, {}, {}, {}>>[];
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const ExitBreakKit: import("platejs").SlatePlugin<import("platejs").PluginConfig<"exitBreak", {}, {}, Record<"exitBreak", {
|
|
2
|
+
insert: (options: Omit<import("platejs").InsertExitBreakOptions, "reverse">) => true | undefined;
|
|
3
|
+
insertBefore: (options: Omit<import("platejs").InsertExitBreakOptions, "reverse">) => true | undefined;
|
|
4
|
+
}>, {}>>[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const FloatingToolbarKit: import("platejs/react").PlatePlugin<import("platejs").PluginConfig<"floating-toolbar", {}, {}, {}, {}>>[];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const BaseFontKit: (import("platejs").SlatePlugin<import("platejs").PluginConfig<"color", {}, {}, Record<"color", {
|
|
2
|
+
addMark: (value: string) => void;
|
|
3
|
+
}>, {}>> | import("platejs").SlatePlugin<import("platejs").PluginConfig<"backgroundColor", {}, {}, Record<"backgroundColor", {
|
|
4
|
+
addMark: (value: string) => void;
|
|
5
|
+
}>, {}>> | import("platejs").SlatePlugin<import("platejs").PluginConfig<"fontSize", {}, {}, Record<"fontSize", {
|
|
6
|
+
addMark: (value: string) => void;
|
|
7
|
+
}>, {}>> | import("platejs").SlatePlugin<import("platejs").PluginConfig<"fontFamily", {}, {}, Record<"fontFamily", {
|
|
8
|
+
addMark: (value: string) => void;
|
|
9
|
+
}>, {}>>)[];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const FontKit: (import("platejs/react").PlatePlugin<import("platejs").PluginConfig<"color", {}, {}, Record<"color", {
|
|
2
|
+
addMark: (value: string) => void;
|
|
3
|
+
}>, {}>> | import("platejs/react").PlatePlugin<import("platejs").PluginConfig<"backgroundColor", {}, {}, Record<"backgroundColor", {
|
|
4
|
+
addMark: (value: string) => void;
|
|
5
|
+
}>, {}>> | import("platejs/react").PlatePlugin<import("platejs").PluginConfig<"fontSize", {}, {}, Record<"fontSize", {
|
|
6
|
+
addMark: (value: string) => void;
|
|
7
|
+
}>, {}>> | import("platejs/react").PlatePlugin<import("platejs").PluginConfig<"fontFamily", {}, {}, Record<"fontFamily", {
|
|
8
|
+
addMark: (value: string) => void;
|
|
9
|
+
}>, {}>>)[];
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type InsertBreakInputRule, type InsertTextInputRule, type Point, type SlateEditor } from 'platejs';
|
|
2
|
+
export type FractionShortcut = {
|
|
3
|
+
glyph: string;
|
|
4
|
+
typed: string;
|
|
5
|
+
};
|
|
6
|
+
type FractionMatch = {
|
|
7
|
+
glyph: string;
|
|
8
|
+
start: Point;
|
|
9
|
+
};
|
|
10
|
+
export declare const keepFractionAsTypedAtSelection: (editor: SlateEditor) => void;
|
|
11
|
+
export declare const createFractionInputRules: (fractions: readonly FractionShortcut[]) => [InsertTextInputRule<FractionMatch>, InsertBreakInputRule<FractionMatch>];
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export type { TFrameElement } from './frame-types';
|
|
2
|
+
export declare const FramePlugin: import("platejs/react").PlatePlugin<import("platejs").PluginConfig<"frame", {}, {}, {}, {}>>;
|
|
3
|
+
export declare const FrameKit: import("platejs/react").PlatePlugin<import("platejs").PluginConfig<"frame", {}, {}, {}, {}>>[];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { TElement } from 'platejs';
|
|
2
|
+
export declare const FrameAlignments: readonly ["left", "center", "right"];
|
|
3
|
+
export type FrameAlignment = (typeof FrameAlignments)[number];
|
|
4
|
+
export interface TFrameElement extends TElement {
|
|
5
|
+
type: 'frame';
|
|
6
|
+
id: string;
|
|
7
|
+
caption?: string;
|
|
8
|
+
hint?: string;
|
|
9
|
+
align?: FrameAlignment;
|
|
10
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export type { TIconElement } from './icon-types';
|
|
2
|
+
export declare const IconPlugin: import("platejs/react").PlatePlugin<import("platejs").PluginConfig<"icon", {}, {}, {}, {}>>;
|
|
3
|
+
export declare const IconKit: import("platejs/react").PlatePlugin<import("platejs").PluginConfig<"icon", {}, {}, {}, {}>>[];
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { IconName } from 'lucide-react/dynamic';
|
|
2
|
+
import type { TElement } from 'platejs';
|
|
3
|
+
export declare const IconSizes: readonly ["xs", "sm", "md", "lg", "xl"];
|
|
4
|
+
export type IconSize = (typeof IconSizes)[number];
|
|
5
|
+
export interface TIconElement extends TElement {
|
|
6
|
+
type: 'icon';
|
|
7
|
+
id: string;
|
|
8
|
+
name: IconName;
|
|
9
|
+
size?: IconSize;
|
|
10
|
+
color?: string;
|
|
11
|
+
children: [{
|
|
12
|
+
text: '';
|
|
13
|
+
}];
|
|
14
|
+
}
|
|
15
|
+
export declare const ICON_SIZE_STYLES: Record<IconSize, string>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BaseIndentKit: import("platejs").SlatePlugin<import("@platejs/indent").IndentConfig>[];
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { AnyInputRule, SelectionInputRuleContext } from 'platejs';
|
|
2
|
+
export type InputRuleGate = {
|
|
3
|
+
bivarianceHack(context: SelectionInputRuleContext): boolean;
|
|
4
|
+
}['bivarianceHack'];
|
|
5
|
+
export type GatedInputRule = Pick<AnyInputRule, 'target'> & {
|
|
6
|
+
enabled?: InputRuleGate;
|
|
7
|
+
};
|
|
8
|
+
export declare const addInputRuleGate: <TRule extends GatedInputRule>(rule: TRule, gate: InputRuleGate) => TRule;
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { type BaseLinkConfig } from '@platejs/link';
|
|
2
|
+
import type { ExtendConfig } from 'platejs';
|
|
3
|
+
import type { MyLinkElement } from '../plate-types';
|
|
4
|
+
export type FloatingLinkMode = 'cursor' | 'edit' | 'hover' | 'insert' | null;
|
|
5
|
+
export type LinkConfig = ExtendConfig<BaseLinkConfig, {
|
|
6
|
+
activeId: string | null;
|
|
7
|
+
anchorElement: HTMLElement | null;
|
|
8
|
+
mode: FloatingLinkMode;
|
|
9
|
+
}, {
|
|
10
|
+
a: {
|
|
11
|
+
show: (options?: LinkShowOptions) => void;
|
|
12
|
+
};
|
|
13
|
+
}>;
|
|
14
|
+
export type LinkShowOptions = {
|
|
15
|
+
anchorElement?: HTMLElement;
|
|
16
|
+
linkElement?: MyLinkElement;
|
|
17
|
+
mode?: FloatingLinkMode;
|
|
18
|
+
};
|
|
19
|
+
/** Enables support for hyperlinks. */
|
|
20
|
+
export declare const linkPlugin: import("platejs/react").PlatePlugin<import("platejs").PluginConfig<"a", {
|
|
21
|
+
allowedSchemes?: string[];
|
|
22
|
+
dangerouslySkipSanitization?: boolean;
|
|
23
|
+
defaultLinkAttributes?: React.AnchorHTMLAttributes<HTMLAnchorElement>;
|
|
24
|
+
forceSubmit?: boolean;
|
|
25
|
+
keepSelectedTextOnPaste?: boolean;
|
|
26
|
+
rangeBeforeOptions?: import("platejs").EditorBeforeOptions;
|
|
27
|
+
triggerFloatingLinkHotkeys?: string[] | string;
|
|
28
|
+
getLinkUrl?: (prevUrl: string | null) => Promise<string | null>;
|
|
29
|
+
getUrlHref?: (url: string) => string | undefined;
|
|
30
|
+
isUrl?: (text: string) => boolean;
|
|
31
|
+
transformInput?: (url: string) => string | undefined;
|
|
32
|
+
} & {
|
|
33
|
+
activeId: string | null;
|
|
34
|
+
anchorElement: HTMLElement | null;
|
|
35
|
+
mode: FloatingLinkMode;
|
|
36
|
+
}, {
|
|
37
|
+
a: {
|
|
38
|
+
show: (options?: LinkShowOptions) => void;
|
|
39
|
+
};
|
|
40
|
+
} & Record<"a", Partial<{
|
|
41
|
+
show: (options?: LinkShowOptions) => void;
|
|
42
|
+
}>>, {}, {}>>;
|
|
43
|
+
export declare const useActiveLink: () => import("platejs").NodeEntry<MyLinkElement> | undefined;
|
|
44
|
+
export declare const LinkKit: import("platejs/react").PlatePlugin<import("platejs").PluginConfig<"a", {
|
|
45
|
+
allowedSchemes?: string[];
|
|
46
|
+
dangerouslySkipSanitization?: boolean;
|
|
47
|
+
defaultLinkAttributes?: React.AnchorHTMLAttributes<HTMLAnchorElement>;
|
|
48
|
+
forceSubmit?: boolean;
|
|
49
|
+
keepSelectedTextOnPaste?: boolean;
|
|
50
|
+
rangeBeforeOptions?: import("platejs").EditorBeforeOptions;
|
|
51
|
+
triggerFloatingLinkHotkeys?: string[] | string;
|
|
52
|
+
getLinkUrl?: (prevUrl: string | null) => Promise<string | null>;
|
|
53
|
+
getUrlHref?: (url: string) => string | undefined;
|
|
54
|
+
isUrl?: (text: string) => boolean;
|
|
55
|
+
transformInput?: (url: string) => string | undefined;
|
|
56
|
+
} & {
|
|
57
|
+
activeId: string | null;
|
|
58
|
+
anchorElement: HTMLElement | null;
|
|
59
|
+
mode: FloatingLinkMode;
|
|
60
|
+
}, {
|
|
61
|
+
a: {
|
|
62
|
+
show: (options?: LinkShowOptions) => void;
|
|
63
|
+
};
|
|
64
|
+
} & Record<"a", Partial<{
|
|
65
|
+
show: (options?: LinkShowOptions) => void;
|
|
66
|
+
}>>, {}, {}>>[];
|
|
67
|
+
export declare const PlainLinkKit: import("platejs/react").PlatePlugin<import("platejs").PluginConfig<"a", {
|
|
68
|
+
allowedSchemes?: string[];
|
|
69
|
+
dangerouslySkipSanitization?: boolean;
|
|
70
|
+
defaultLinkAttributes?: React.AnchorHTMLAttributes<HTMLAnchorElement>;
|
|
71
|
+
forceSubmit?: boolean;
|
|
72
|
+
keepSelectedTextOnPaste?: boolean;
|
|
73
|
+
rangeBeforeOptions?: import("platejs").EditorBeforeOptions;
|
|
74
|
+
triggerFloatingLinkHotkeys?: string[] | string;
|
|
75
|
+
getLinkUrl?: (prevUrl: string | null) => Promise<string | null>;
|
|
76
|
+
getUrlHref?: (url: string) => string | undefined;
|
|
77
|
+
isUrl?: (text: string) => boolean;
|
|
78
|
+
transformInput?: (url: string) => string | undefined;
|
|
79
|
+
} & {
|
|
80
|
+
activeId: string | null;
|
|
81
|
+
anchorElement: HTMLElement | null;
|
|
82
|
+
mode: FloatingLinkMode;
|
|
83
|
+
}, {
|
|
84
|
+
a: {
|
|
85
|
+
show: (options?: LinkShowOptions) => void;
|
|
86
|
+
};
|
|
87
|
+
} & Record<"a", Partial<{
|
|
88
|
+
show: (options?: LinkShowOptions) => void;
|
|
89
|
+
}>>, {}, {}>>[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BaseListKit: (import("platejs").SlatePlugin<import("@platejs/indent").IndentConfig> | import("platejs").SlatePlugin<import("@platejs/list").BaseListConfig>)[];
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const ListKit: (import("platejs/react").PlatePlugin<import("platejs").PluginConfig<"indent", {
|
|
2
|
+
indentMax?: number;
|
|
3
|
+
offset?: number;
|
|
4
|
+
unit?: string;
|
|
5
|
+
}, {}, {}, {}>> | import("platejs/react").PlatePlugin<import("platejs").PluginConfig<"list", {
|
|
6
|
+
getSiblingListOptions?: import("@platejs/list").GetSiblingListOptions<import("platejs").TElement>;
|
|
7
|
+
getListStyleType?: (element: HTMLElement) => import("@platejs/list").ListStyleType;
|
|
8
|
+
}, {}, {}, {}>>)[];
|
|
9
|
+
export declare const ListKitWithoutTodoLists: (import("platejs/react").PlatePlugin<import("platejs").PluginConfig<"indent", {
|
|
10
|
+
indentMax?: number;
|
|
11
|
+
offset?: number;
|
|
12
|
+
unit?: string;
|
|
13
|
+
}, {}, {}, {}>> | import("platejs/react").PlatePlugin<import("platejs").PluginConfig<"list", {
|
|
14
|
+
getSiblingListOptions?: import("@platejs/list").GetSiblingListOptions<import("platejs").TElement>;
|
|
15
|
+
getListStyleType?: (element: HTMLElement) => import("@platejs/list").ListStyleType;
|
|
16
|
+
}, {}, {}, {}>>)[];
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const MarkdownKit: import("platejs").SlatePlugin<import("platejs").PluginConfig<"markdown", {
|
|
2
|
+
allowedNodes: import("@platejs/markdown").PlateType[] | null;
|
|
3
|
+
disallowedNodes: import("@platejs/markdown").PlateType[] | null;
|
|
4
|
+
remarkPlugins: import("unified").Plugin[];
|
|
5
|
+
remarkStringifyOptions: import("remark-stringify").Options | null;
|
|
6
|
+
rules: import("@platejs/markdown").MdRules | null;
|
|
7
|
+
allowNode?: import("@platejs/markdown").AllowNodeConfig;
|
|
8
|
+
plainMarks?: import("@platejs/markdown").PlateType[] | null;
|
|
9
|
+
}, {
|
|
10
|
+
markdown: {
|
|
11
|
+
deserialize: import("platejs").OmitFirst<(editor: import("platejs").SlateEditor, data: string, options?: Omit<import("@platejs/markdown").DeserializeMdOptions, "editor">) => import("platejs").Value>;
|
|
12
|
+
deserializeInline: import("platejs").OmitFirst<(editor: import("platejs").SlateEditor, text: string, options?: import("@platejs/markdown").DeserializeMdOptions) => import("platejs").Descendant[]>;
|
|
13
|
+
serialize: import("platejs").OmitFirst<(editor: import("platejs").SlateEditor, options?: Omit<import("@platejs/markdown").SerializeMdOptions, "editor">) => string>;
|
|
14
|
+
};
|
|
15
|
+
} & Record<"markdown", {
|
|
16
|
+
deserialize: (data: string, options?: Omit<import("@platejs/markdown").DeserializeMdOptions, "editor"> | undefined) => import("platejs").Value;
|
|
17
|
+
deserializeInline: (text: string, options?: import("@platejs/markdown").DeserializeMdOptions | undefined) => import("platejs").Descendant[];
|
|
18
|
+
serialize: (options?: Omit<import("@platejs/markdown").SerializeMdOptions, "editor"> | undefined) => string;
|
|
19
|
+
}>, {}, {}>>[];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const BaseMathKit: (import("platejs").SlatePlugin<import("platejs").PluginConfig<"inline_equation", {}, {}, {
|
|
2
|
+
insert: {
|
|
3
|
+
inlineEquation: (texExpression?: string | undefined, options?: import("platejs").InsertNodesOptions | undefined) => void;
|
|
4
|
+
};
|
|
5
|
+
}, {}>> | import("platejs").SlatePlugin<import("platejs").PluginConfig<"equation", {}, {}, {
|
|
6
|
+
insert: {
|
|
7
|
+
equation: (options?: import("platejs").InsertNodesOptions | undefined) => void;
|
|
8
|
+
};
|
|
9
|
+
}, {}>>)[];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const MathKit: (import("platejs/react").PlatePlugin<import("platejs").PluginConfig<"inline_equation", {}, {}, {
|
|
2
|
+
insert: {
|
|
3
|
+
inlineEquation: (texExpression?: string | undefined, options?: import("platejs").InsertNodesOptions | undefined) => void;
|
|
4
|
+
};
|
|
5
|
+
}, {}>> | import("platejs/react").PlatePlugin<import("platejs").PluginConfig<"equation", {}, {}, {
|
|
6
|
+
insert: {
|
|
7
|
+
equation: (options?: import("platejs").InsertNodesOptions | undefined) => void;
|
|
8
|
+
};
|
|
9
|
+
}, {}>>)[];
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export declare const BaseMediaKit: (import("platejs").SlatePlugin<import("platejs").PluginConfig<"img", {
|
|
2
|
+
disableEmbedInsert?: boolean;
|
|
3
|
+
disableUploadInsert?: boolean;
|
|
4
|
+
uploadImage?: (dataUrl: ArrayBuffer | string) => ArrayBuffer | Promise<ArrayBuffer | string> | string;
|
|
5
|
+
} & import("@platejs/media").MediaPluginOptions, {}, {
|
|
6
|
+
insert: {
|
|
7
|
+
imageFromFiles: (files: FileList, options?: import("platejs").InsertNodesOptions | undefined) => void;
|
|
8
|
+
};
|
|
9
|
+
}, {}>> | import("platejs").SlatePlugin<import("platejs").PluginConfig<"video", {}, {}, {}, {}>> | import("platejs").SlatePlugin<import("platejs").PluginConfig<"audio", {}, {}, {}, {}>> | import("platejs").SlatePlugin<import("platejs").PluginConfig<"file", {}, {}, {}, {}>> | import("platejs").SlatePlugin<import("platejs").PluginConfig<"caption", {
|
|
10
|
+
focusEndPath: import("platejs").Path | null;
|
|
11
|
+
focusStartPath: import("platejs").Path | null;
|
|
12
|
+
query: {
|
|
13
|
+
allow: string[];
|
|
14
|
+
};
|
|
15
|
+
visibleId: string | null;
|
|
16
|
+
}, {}, {}, {
|
|
17
|
+
isVisible?: (elementId: string) => boolean;
|
|
18
|
+
}>> | import("platejs").SlatePlugin<import("@platejs/media").MediaEmbedConfig> | import("platejs").SlatePlugin<import("platejs").PluginConfig<"placeholder", import("@platejs/media").MediaPlaceholderOptions, {}, {
|
|
19
|
+
insert: {
|
|
20
|
+
audioPlaceholder: (options?: import("platejs").InsertNodesOptions | undefined) => void;
|
|
21
|
+
filePlaceholder: (options?: import("platejs").InsertNodesOptions | undefined) => void;
|
|
22
|
+
imagePlaceholder: (options?: import("platejs").InsertNodesOptions | undefined) => void;
|
|
23
|
+
videoPlaceholder: (options?: import("platejs").InsertNodesOptions | undefined) => void;
|
|
24
|
+
};
|
|
25
|
+
}, {}>>)[];
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export declare const MediaKit: (import("platejs/react").PlatePlugin<import("platejs").PluginConfig<"placeholder", import("@platejs/media").MediaPlaceholderOptions & {
|
|
2
|
+
disableEmptyPlaceholder: boolean;
|
|
3
|
+
disableFileDrop: boolean;
|
|
4
|
+
uploadConfig: import("@platejs/media/react").UploadConfig;
|
|
5
|
+
uploadingFiles: Record<string, File>;
|
|
6
|
+
error?: import("@platejs/media/react").UploadError | null;
|
|
7
|
+
maxFileCount?: number;
|
|
8
|
+
multiple?: boolean;
|
|
9
|
+
}, {
|
|
10
|
+
placeholder: import("@platejs/media/react").PlaceholderApi;
|
|
11
|
+
} & Record<"placeholder", {
|
|
12
|
+
addUploadingFile: (id: string, file: File) => void;
|
|
13
|
+
getUploadingFile: (id: string) => File;
|
|
14
|
+
removeUploadingFile: (id: string) => void;
|
|
15
|
+
}>, {
|
|
16
|
+
insert: {
|
|
17
|
+
media: (files: FileList, options?: (Omit<import("platejs").InsertNodesOptions, "at"> & {
|
|
18
|
+
at?: import("platejs").Path;
|
|
19
|
+
}) | undefined) => any;
|
|
20
|
+
};
|
|
21
|
+
}, {}>> | import("platejs/react").PlatePlugin<import("platejs").PluginConfig<"img", {
|
|
22
|
+
disableEmbedInsert?: boolean;
|
|
23
|
+
disableUploadInsert?: boolean;
|
|
24
|
+
uploadImage?: (dataUrl: ArrayBuffer | string) => ArrayBuffer | Promise<ArrayBuffer | string> | string;
|
|
25
|
+
} & import("@platejs/media").MediaPluginOptions, {}, {
|
|
26
|
+
insert: {
|
|
27
|
+
imageFromFiles: (files: FileList, options?: import("platejs").InsertNodesOptions | undefined) => void;
|
|
28
|
+
};
|
|
29
|
+
}, {}>> | import("platejs/react").PlatePlugin<import("platejs").PluginConfig<"media_embed", import("@platejs/media").MediaPluginOptions, {}, {}, {}>> | import("platejs/react").PlatePlugin<import("platejs").PluginConfig<"video", {}, {}, {}, {}>> | import("platejs/react").PlatePlugin<import("platejs").PluginConfig<"audio", {}, {}, {}, {}>> | import("platejs/react").PlatePlugin<import("platejs").PluginConfig<"file", {}, {}, {}, {}>> | import("platejs/react").PlatePlugin<import("platejs").PluginConfig<"caption", {
|
|
30
|
+
focusEndPath: import("platejs").Path | null;
|
|
31
|
+
focusStartPath: import("platejs").Path | null;
|
|
32
|
+
query: {
|
|
33
|
+
allow: string[];
|
|
34
|
+
};
|
|
35
|
+
visibleId: string | null;
|
|
36
|
+
}, {}, {}, {
|
|
37
|
+
isVisible?: (elementId: string) => boolean;
|
|
38
|
+
}>>)[];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const BaseMentionKit: import("platejs").SlatePlugin<import("platejs").PluginConfig<"mention", {
|
|
2
|
+
insertSpaceAfterMention?: boolean;
|
|
3
|
+
} & import("@platejs/combobox").TriggerComboboxPluginOptions, {}, {
|
|
4
|
+
insert: {
|
|
5
|
+
mention: (options: {
|
|
6
|
+
search: string;
|
|
7
|
+
value: any;
|
|
8
|
+
key?: any;
|
|
9
|
+
}) => void;
|
|
10
|
+
};
|
|
11
|
+
}, {}>>[];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const MentionKit: (import("platejs/react").PlatePlugin<import("platejs").PluginConfig<"mention", {
|
|
2
|
+
insertSpaceAfterMention?: boolean;
|
|
3
|
+
} & import("@platejs/combobox").TriggerComboboxPluginOptions, {}, {
|
|
4
|
+
insert: {
|
|
5
|
+
mention: (options: {
|
|
6
|
+
search: string;
|
|
7
|
+
value: any;
|
|
8
|
+
key?: any;
|
|
9
|
+
}) => void;
|
|
10
|
+
};
|
|
11
|
+
}, {}>> | import("platejs/react").PlatePlugin<import("platejs").PluginConfig<"mention_input", {}, {}, {}, {}>>)[];
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export type { TMermaidElement } from './mermaid-types';
|
|
2
|
+
export declare const MermaidPlugin: import("platejs/react").PlatePlugin<import("platejs").PluginConfig<"mermaid", {}, {}, {}, {}>>;
|
|
3
|
+
export declare const MermaidKit: import("platejs/react").PlatePlugin<import("platejs").PluginConfig<"mermaid", {}, {}, {}, {}>>[];
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { TElement } from 'platejs';
|
|
2
|
+
export declare const MermaidPlacements: readonly ["top-left", "top-right", "bottom-left", "bottom-right"];
|
|
3
|
+
export type MermaidPlacement = (typeof MermaidPlacements)[number];
|
|
4
|
+
export interface TMermaidElement extends TElement {
|
|
5
|
+
type: 'mermaid';
|
|
6
|
+
id: string;
|
|
7
|
+
showActions?: boolean;
|
|
8
|
+
placement?: MermaidPlacement;
|
|
9
|
+
zoomable?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare const MERMAID_TEMPLATES: Record<string, {
|
|
12
|
+
label: string;
|
|
13
|
+
code: string;
|
|
14
|
+
}>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface ColorSelectorProps {
|
|
3
|
+
value: string;
|
|
4
|
+
onChange: (color: string) => void;
|
|
5
|
+
presets?: string[];
|
|
6
|
+
label?: string;
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare function ColorSelector({ value, onChange, presets, label, className, }: ColorSelectorProps): React.JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as React from 'react';
|
|
2
|
+
export interface ComponentPopoverProps {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
trigger: React.ReactNode;
|
|
5
|
+
open?: boolean;
|
|
6
|
+
onOpenChange?: (open: boolean) => void;
|
|
7
|
+
align?: 'start' | 'center' | 'end';
|
|
8
|
+
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
9
|
+
sideOffset?: number;
|
|
10
|
+
className?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare function ComponentPopover({ children, trigger, open, onOpenChange, align, side, sideOffset, className, }: ComponentPopoverProps): React.JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const SlashKit: (import("platejs/react").PlatePlugin<import("platejs").PluginConfig<"slash_command", import("@platejs/combobox").TriggerComboboxPluginOptions, {}, {}, {}>> | import("platejs/react").PlatePlugin<import("platejs").PluginConfig<"slash_input", {}, {}, {}, {}>>)[];
|