@sendbird/actionbook-core 0.9.1 → 0.9.7
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/dist/index.js +41 -8
- package/dist/index.js.map +1 -1
- package/dist/ui/index.d.ts +5 -1
- package/dist/ui/index.js +1422 -333
- package/dist/ui/index.js.map +1 -1
- package/package.json +1 -1
package/dist/ui/index.d.ts
CHANGED
|
@@ -200,6 +200,8 @@ declare function createTodoNodeViewPlugin(): ActionbookPlugin;
|
|
|
200
200
|
|
|
201
201
|
declare function createNoteBlockPlugin(): ActionbookPlugin;
|
|
202
202
|
|
|
203
|
+
declare function createPlaceholderPlugin(): ActionbookPlugin;
|
|
204
|
+
|
|
203
205
|
/**
|
|
204
206
|
* Slash-command trigger plugin.
|
|
205
207
|
*
|
|
@@ -225,6 +227,8 @@ interface SlashCommandState {
|
|
|
225
227
|
} | null;
|
|
226
228
|
/** Text typed after `/`, not including the slash itself. */
|
|
227
229
|
query: string;
|
|
230
|
+
/** The parent node type name where the slash trigger is active (e.g. 'paragraph', 'heading'). */
|
|
231
|
+
parentType: string;
|
|
228
232
|
}
|
|
229
233
|
declare const slashCommandKey: PluginKey<SlashCommandState>;
|
|
230
234
|
declare function createSlashCommandPlugin(): ActionbookPlugin;
|
|
@@ -422,4 +426,4 @@ declare function toProseMirrorJSON(doc: DocumentNode): JSONContent;
|
|
|
422
426
|
*/
|
|
423
427
|
declare function astNodesToJSONContent(nodes: (InlineNode | BlockNode)[]): JSONContent[];
|
|
424
428
|
|
|
425
|
-
export { type ActionbookPlugin, ActionbookRenderer, type ActionbookRendererProps, DocumentTreeView, type DocumentTreeViewProps, EditorShell, type EditorShellProps, type EditorViewConfig, type EditorViewHandle, FloatingMenu, type FloatingMenuProps, type InlineSuggestContext, type InlineSuggestProvider, type InlineSuggestState, JUMP_POINT_ADJACENT_SPEC, JinjaTreeView, type JinjaTreeViewProps, type NodeViewFactory, type ReactNodeViewOptions, type ReactNodeViewProps, type SlashCommandItem, SlashCommandMenu, type SlashCommandMenuProps, type SlashCommandState, actionbookSchema, astNodesToJSONContent, convertBlock, convertInline, createDragHandlePlugin, createHistoryPlugin, createInlineSuggestPlugin, createInlineToolTagNodeViewPlugin, createInputRulesPlugin, createJinjaDecorationPlugin, createJinjaIfBlockPlugin, createJumpPointAdjacentPlugin, createJumpPointNodeViewPlugin, createJumpPointValidationPlugin, createKeymapPlugin, createLinkPlugin, createMarkdownClipboardPlugin, createNoteBlockPlugin, createPluginArray, createReactNodeView, createSlashCommandPlugin, createTodoNodeViewPlugin, hasBrokenAnchorRefs, hasDuplicateJumpPoints, inlineSuggestKey, slashCommandKey, toProseMirrorJSON, useEditorView };
|
|
429
|
+
export { type ActionbookPlugin, ActionbookRenderer, type ActionbookRendererProps, DocumentTreeView, type DocumentTreeViewProps, EditorShell, type EditorShellProps, type EditorViewConfig, type EditorViewHandle, FloatingMenu, type FloatingMenuProps, type InlineSuggestContext, type InlineSuggestProvider, type InlineSuggestState, JUMP_POINT_ADJACENT_SPEC, JinjaTreeView, type JinjaTreeViewProps, type NodeViewFactory, type ReactNodeViewOptions, type ReactNodeViewProps, type SlashCommandItem, SlashCommandMenu, type SlashCommandMenuProps, type SlashCommandState, actionbookSchema, astNodesToJSONContent, convertBlock, convertInline, createDragHandlePlugin, createHistoryPlugin, createInlineSuggestPlugin, createInlineToolTagNodeViewPlugin, createInputRulesPlugin, createJinjaDecorationPlugin, createJinjaIfBlockPlugin, createJumpPointAdjacentPlugin, createJumpPointNodeViewPlugin, createJumpPointValidationPlugin, createKeymapPlugin, createLinkPlugin, createMarkdownClipboardPlugin, createNoteBlockPlugin, createPlaceholderPlugin, createPluginArray, createReactNodeView, createSlashCommandPlugin, createTodoNodeViewPlugin, hasBrokenAnchorRefs, hasDuplicateJumpPoints, inlineSuggestKey, slashCommandKey, toProseMirrorJSON, useEditorView };
|