@domternal/core 0.4.1 → 0.5.0
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 +1 -1
- package/dist/index.cjs +19 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +12 -0
- package/dist/index.d.ts +5844 -23
- package/dist/index.js +19 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/dist/CanChecker.d.ts +0 -79
- package/dist/CanChecker.d.ts.map +0 -1
- package/dist/CanChecker.test.d.ts +0 -2
- package/dist/CanChecker.test.d.ts.map +0 -1
- package/dist/ChainBuilder.d.ts +0 -119
- package/dist/ChainBuilder.d.ts.map +0 -1
- package/dist/ChainBuilder.test.d.ts +0 -2
- package/dist/ChainBuilder.test.d.ts.map +0 -1
- package/dist/CommandManager.d.ts +0 -86
- package/dist/CommandManager.d.ts.map +0 -1
- package/dist/CommandManager.test.d.ts +0 -2
- package/dist/CommandManager.test.d.ts.map +0 -1
- package/dist/Editor.d.ts +0 -262
- package/dist/Editor.d.ts.map +0 -1
- package/dist/Editor.test.d.ts +0 -2
- package/dist/Editor.test.d.ts.map +0 -1
- package/dist/EventEmitter.d.ts +0 -57
- package/dist/EventEmitter.d.ts.map +0 -1
- package/dist/EventEmitter.test.d.ts +0 -2
- package/dist/EventEmitter.test.d.ts.map +0 -1
- package/dist/Extension.d.ts +0 -171
- package/dist/Extension.d.ts.map +0 -1
- package/dist/Extension.test.d.ts +0 -2
- package/dist/Extension.test.d.ts.map +0 -1
- package/dist/ExtensionManager.d.ts +0 -283
- package/dist/ExtensionManager.d.ts.map +0 -1
- package/dist/ExtensionManager.test.d.ts +0 -2
- package/dist/ExtensionManager.test.d.ts.map +0 -1
- package/dist/Mark.d.ts +0 -164
- package/dist/Mark.d.ts.map +0 -1
- package/dist/Mark.test.d.ts +0 -5
- package/dist/Mark.test.d.ts.map +0 -1
- package/dist/Node.d.ts +0 -153
- package/dist/Node.d.ts.map +0 -1
- package/dist/Node.test.d.ts +0 -2
- package/dist/Node.test.d.ts.map +0 -1
- package/dist/ToolbarController.d.ts +0 -169
- package/dist/ToolbarController.d.ts.map +0 -1
- package/dist/ToolbarController.test.d.ts +0 -2
- package/dist/ToolbarController.test.d.ts.map +0 -1
- package/dist/commandPropsBuilder.d.ts +0 -70
- package/dist/commandPropsBuilder.d.ts.map +0 -1
- package/dist/commandPropsBuilder.test.d.ts +0 -2
- package/dist/commandPropsBuilder.test.d.ts.map +0 -1
- package/dist/commands/attributeCommands.d.ts +0 -24
- package/dist/commands/attributeCommands.d.ts.map +0 -1
- package/dist/commands/attributeCommands.test.d.ts +0 -2
- package/dist/commands/attributeCommands.test.d.ts.map +0 -1
- package/dist/commands/builtIn.test.d.ts +0 -2
- package/dist/commands/builtIn.test.d.ts.map +0 -1
- package/dist/commands/contentCommands.d.ts +0 -52
- package/dist/commands/contentCommands.d.ts.map +0 -1
- package/dist/commands/contentCommands.test.d.ts +0 -2
- package/dist/commands/contentCommands.test.d.ts.map +0 -1
- package/dist/commands/index.d.ts +0 -43
- package/dist/commands/index.d.ts.map +0 -1
- package/dist/commands/listCommands.d.ts +0 -15
- package/dist/commands/listCommands.d.ts.map +0 -1
- package/dist/commands/listCommands.test.d.ts +0 -2
- package/dist/commands/listCommands.test.d.ts.map +0 -1
- package/dist/commands/markCommands.d.ts +0 -40
- package/dist/commands/markCommands.d.ts.map +0 -1
- package/dist/commands/markCommands.test.d.ts +0 -2
- package/dist/commands/markCommands.test.d.ts.map +0 -1
- package/dist/commands/nodeCommands.d.ts +0 -53
- package/dist/commands/nodeCommands.d.ts.map +0 -1
- package/dist/commands/nodeCommands.test.d.ts +0 -2
- package/dist/commands/nodeCommands.test.d.ts.map +0 -1
- package/dist/commands/selectionCommands.d.ts +0 -37
- package/dist/commands/selectionCommands.d.ts.map +0 -1
- package/dist/commands/selectionCommands.test.d.ts +0 -2
- package/dist/commands/selectionCommands.test.d.ts.map +0 -1
- package/dist/extensions/BaseKeymap.d.ts +0 -36
- package/dist/extensions/BaseKeymap.d.ts.map +0 -1
- package/dist/extensions/BaseKeymap.test.d.ts +0 -2
- package/dist/extensions/BaseKeymap.test.d.ts.map +0 -1
- package/dist/extensions/BubbleMenu.d.ts +0 -85
- package/dist/extensions/BubbleMenu.d.ts.map +0 -1
- package/dist/extensions/BubbleMenu.test.d.ts +0 -2
- package/dist/extensions/BubbleMenu.test.d.ts.map +0 -1
- package/dist/extensions/CharacterCount.d.ts +0 -60
- package/dist/extensions/CharacterCount.d.ts.map +0 -1
- package/dist/extensions/CharacterCount.test.d.ts +0 -2
- package/dist/extensions/CharacterCount.test.d.ts.map +0 -1
- package/dist/extensions/ClearFormatting.d.ts +0 -25
- package/dist/extensions/ClearFormatting.d.ts.map +0 -1
- package/dist/extensions/ClearFormatting.test.d.ts +0 -2
- package/dist/extensions/ClearFormatting.test.d.ts.map +0 -1
- package/dist/extensions/Dropcursor.d.ts +0 -20
- package/dist/extensions/Dropcursor.d.ts.map +0 -1
- package/dist/extensions/Dropcursor.test.d.ts +0 -2
- package/dist/extensions/Dropcursor.test.d.ts.map +0 -1
- package/dist/extensions/FloatingMenu.d.ts +0 -74
- package/dist/extensions/FloatingMenu.d.ts.map +0 -1
- package/dist/extensions/FloatingMenu.test.d.ts +0 -2
- package/dist/extensions/FloatingMenu.test.d.ts.map +0 -1
- package/dist/extensions/Focus.d.ts +0 -26
- package/dist/extensions/Focus.d.ts.map +0 -1
- package/dist/extensions/Focus.test.d.ts +0 -2
- package/dist/extensions/Focus.test.d.ts.map +0 -1
- package/dist/extensions/FontFamily.d.ts +0 -41
- package/dist/extensions/FontFamily.d.ts.map +0 -1
- package/dist/extensions/FontFamily.test.d.ts +0 -2
- package/dist/extensions/FontFamily.test.d.ts.map +0 -1
- package/dist/extensions/FontSize.d.ts +0 -46
- package/dist/extensions/FontSize.d.ts.map +0 -1
- package/dist/extensions/FontSize.test.d.ts +0 -2
- package/dist/extensions/FontSize.test.d.ts.map +0 -1
- package/dist/extensions/Gapcursor.d.ts +0 -3
- package/dist/extensions/Gapcursor.d.ts.map +0 -1
- package/dist/extensions/Gapcursor.test.d.ts +0 -2
- package/dist/extensions/Gapcursor.test.d.ts.map +0 -1
- package/dist/extensions/Highlight.d.ts +0 -61
- package/dist/extensions/Highlight.d.ts.map +0 -1
- package/dist/extensions/Highlight.test.d.ts +0 -2
- package/dist/extensions/Highlight.test.d.ts.map +0 -1
- package/dist/extensions/History.d.ts +0 -22
- package/dist/extensions/History.d.ts.map +0 -1
- package/dist/extensions/History.test.d.ts +0 -2
- package/dist/extensions/History.test.d.ts.map +0 -1
- package/dist/extensions/InvisibleChars.d.ts +0 -86
- package/dist/extensions/InvisibleChars.d.ts.map +0 -1
- package/dist/extensions/InvisibleChars.test.d.ts +0 -2
- package/dist/extensions/InvisibleChars.test.d.ts.map +0 -1
- package/dist/extensions/LineHeight.d.ts +0 -50
- package/dist/extensions/LineHeight.d.ts.map +0 -1
- package/dist/extensions/LineHeight.test.d.ts +0 -2
- package/dist/extensions/LineHeight.test.d.ts.map +0 -1
- package/dist/extensions/LinkPopover.d.ts +0 -10
- package/dist/extensions/LinkPopover.d.ts.map +0 -1
- package/dist/extensions/ListKeymap.d.ts +0 -10
- package/dist/extensions/ListKeymap.d.ts.map +0 -1
- package/dist/extensions/ListKeymap.test.d.ts +0 -2
- package/dist/extensions/ListKeymap.test.d.ts.map +0 -1
- package/dist/extensions/Placeholder.d.ts +0 -47
- package/dist/extensions/Placeholder.d.ts.map +0 -1
- package/dist/extensions/Placeholder.test.d.ts +0 -2
- package/dist/extensions/Placeholder.test.d.ts.map +0 -1
- package/dist/extensions/Selection.d.ts +0 -71
- package/dist/extensions/Selection.d.ts.map +0 -1
- package/dist/extensions/Selection.test.d.ts +0 -2
- package/dist/extensions/Selection.test.d.ts.map +0 -1
- package/dist/extensions/SelectionDecoration.d.ts +0 -18
- package/dist/extensions/SelectionDecoration.d.ts.map +0 -1
- package/dist/extensions/SelectionDecoration.test.d.ts +0 -2
- package/dist/extensions/SelectionDecoration.test.d.ts.map +0 -1
- package/dist/extensions/StarterKit.d.ts +0 -138
- package/dist/extensions/StarterKit.d.ts.map +0 -1
- package/dist/extensions/StarterKit.test.d.ts +0 -2
- package/dist/extensions/StarterKit.test.d.ts.map +0 -1
- package/dist/extensions/TextAlign.d.ts +0 -32
- package/dist/extensions/TextAlign.d.ts.map +0 -1
- package/dist/extensions/TextAlign.test.d.ts +0 -2
- package/dist/extensions/TextAlign.test.d.ts.map +0 -1
- package/dist/extensions/TextColor.d.ts +0 -55
- package/dist/extensions/TextColor.d.ts.map +0 -1
- package/dist/extensions/TextColor.test.d.ts +0 -2
- package/dist/extensions/TextColor.test.d.ts.map +0 -1
- package/dist/extensions/TrailingNode.d.ts +0 -16
- package/dist/extensions/TrailingNode.d.ts.map +0 -1
- package/dist/extensions/TrailingNode.test.d.ts +0 -2
- package/dist/extensions/TrailingNode.test.d.ts.map +0 -1
- package/dist/extensions/Typography.d.ts +0 -65
- package/dist/extensions/Typography.d.ts.map +0 -1
- package/dist/extensions/Typography.test.d.ts +0 -2
- package/dist/extensions/Typography.test.d.ts.map +0 -1
- package/dist/extensions/UniqueID.d.ts +0 -48
- package/dist/extensions/UniqueID.d.ts.map +0 -1
- package/dist/extensions/UniqueID.test.d.ts +0 -2
- package/dist/extensions/UniqueID.test.d.ts.map +0 -1
- package/dist/extensions/index.d.ts +0 -29
- package/dist/extensions/index.d.ts.map +0 -1
- package/dist/extensions/isActive-markExclusion.test.d.ts +0 -2
- package/dist/extensions/isActive-markExclusion.test.d.ts.map +0 -1
- package/dist/helpers/callOrReturn.d.ts +0 -30
- package/dist/helpers/callOrReturn.d.ts.map +0 -1
- package/dist/helpers/callOrReturn.test.d.ts +0 -2
- package/dist/helpers/callOrReturn.test.d.ts.map +0 -1
- package/dist/helpers/createDocument.d.ts +0 -48
- package/dist/helpers/createDocument.d.ts.map +0 -1
- package/dist/helpers/createDocument.test.d.ts +0 -2
- package/dist/helpers/createDocument.test.d.ts.map +0 -1
- package/dist/helpers/defaultBlockAt.d.ts +0 -15
- package/dist/helpers/defaultBlockAt.d.ts.map +0 -1
- package/dist/helpers/defaultBlockAt.test.d.ts +0 -2
- package/dist/helpers/defaultBlockAt.test.d.ts.map +0 -1
- package/dist/helpers/findChildren.d.ts +0 -13
- package/dist/helpers/findChildren.d.ts.map +0 -1
- package/dist/helpers/findChildren.test.d.ts +0 -2
- package/dist/helpers/findChildren.test.d.ts.map +0 -1
- package/dist/helpers/findParentNode.d.ts +0 -21
- package/dist/helpers/findParentNode.d.ts.map +0 -1
- package/dist/helpers/findParentNode.test.d.ts +0 -2
- package/dist/helpers/findParentNode.test.d.ts.map +0 -1
- package/dist/helpers/getMarkRange.d.ts +0 -17
- package/dist/helpers/getMarkRange.d.ts.map +0 -1
- package/dist/helpers/getMarkRange.test.d.ts +0 -2
- package/dist/helpers/getMarkRange.test.d.ts.map +0 -1
- package/dist/helpers/index.d.ts +0 -18
- package/dist/helpers/index.d.ts.map +0 -1
- package/dist/helpers/inputRulesPlugin.d.ts +0 -26
- package/dist/helpers/inputRulesPlugin.d.ts.map +0 -1
- package/dist/helpers/isNodeEmpty.d.ts +0 -52
- package/dist/helpers/isNodeEmpty.d.ts.map +0 -1
- package/dist/helpers/isNodeEmpty.test.d.ts +0 -2
- package/dist/helpers/isNodeEmpty.test.d.ts.map +0 -1
- package/dist/helpers/isValidUrl.d.ts +0 -31
- package/dist/helpers/isValidUrl.d.ts.map +0 -1
- package/dist/helpers/isValidUrl.test.d.ts +0 -2
- package/dist/helpers/isValidUrl.test.d.ts.map +0 -1
- package/dist/helpers/markInputRule.d.ts +0 -88
- package/dist/helpers/markInputRule.d.ts.map +0 -1
- package/dist/helpers/markInputRule.test.d.ts +0 -2
- package/dist/helpers/markInputRule.test.d.ts.map +0 -1
- package/dist/helpers/nodeInputRule.d.ts +0 -41
- package/dist/helpers/nodeInputRule.d.ts.map +0 -1
- package/dist/helpers/normalizeColor.d.ts +0 -7
- package/dist/helpers/normalizeColor.d.ts.map +0 -1
- package/dist/helpers/normalizeColor.test.d.ts +0 -2
- package/dist/helpers/normalizeColor.test.d.ts.map +0 -1
- package/dist/helpers/specBuilder.d.ts +0 -28
- package/dist/helpers/specBuilder.d.ts.map +0 -1
- package/dist/helpers/specBuilder.test.d.ts +0 -2
- package/dist/helpers/specBuilder.test.d.ts.map +0 -1
- package/dist/helpers/ssr.d.ts +0 -80
- package/dist/helpers/ssr.d.ts.map +0 -1
- package/dist/helpers/ssr.test.d.ts +0 -2
- package/dist/helpers/ssr.test.d.ts.map +0 -1
- package/dist/helpers/textInputRule.d.ts +0 -34
- package/dist/helpers/textInputRule.d.ts.map +0 -1
- package/dist/helpers/textblockTypeInputRule.d.ts +0 -41
- package/dist/helpers/textblockTypeInputRule.d.ts.map +0 -1
- package/dist/helpers/wrappingInputRule.d.ts +0 -66
- package/dist/helpers/wrappingInputRule.d.ts.map +0 -1
- package/dist/icons/index.d.ts +0 -2
- package/dist/icons/index.d.ts.map +0 -1
- package/dist/icons/phosphor.d.ts +0 -3
- package/dist/icons/phosphor.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.test.d.ts +0 -2
- package/dist/index.test.d.ts.map +0 -1
- package/dist/marks/Bold.d.ts +0 -40
- package/dist/marks/Bold.d.ts.map +0 -1
- package/dist/marks/Bold.test.d.ts +0 -2
- package/dist/marks/Bold.test.d.ts.map +0 -1
- package/dist/marks/Code.d.ts +0 -40
- package/dist/marks/Code.d.ts.map +0 -1
- package/dist/marks/Code.test.d.ts +0 -2
- package/dist/marks/Code.test.d.ts.map +0 -1
- package/dist/marks/Italic.d.ts +0 -40
- package/dist/marks/Italic.d.ts.map +0 -1
- package/dist/marks/Italic.test.d.ts +0 -2
- package/dist/marks/Italic.test.d.ts.map +0 -1
- package/dist/marks/Link.d.ts +0 -75
- package/dist/marks/Link.d.ts.map +0 -1
- package/dist/marks/Link.test.d.ts +0 -2
- package/dist/marks/Link.test.d.ts.map +0 -1
- package/dist/marks/Strike.d.ts +0 -39
- package/dist/marks/Strike.d.ts.map +0 -1
- package/dist/marks/Strike.test.d.ts +0 -2
- package/dist/marks/Strike.test.d.ts.map +0 -1
- package/dist/marks/Subscript.d.ts +0 -38
- package/dist/marks/Subscript.d.ts.map +0 -1
- package/dist/marks/Subscript.test.d.ts +0 -2
- package/dist/marks/Subscript.test.d.ts.map +0 -1
- package/dist/marks/Superscript.d.ts +0 -38
- package/dist/marks/Superscript.d.ts.map +0 -1
- package/dist/marks/Superscript.test.d.ts +0 -2
- package/dist/marks/Superscript.test.d.ts.map +0 -1
- package/dist/marks/TextStyle.d.ts +0 -41
- package/dist/marks/TextStyle.d.ts.map +0 -1
- package/dist/marks/TextStyle.test.d.ts +0 -2
- package/dist/marks/TextStyle.test.d.ts.map +0 -1
- package/dist/marks/Underline.d.ts +0 -38
- package/dist/marks/Underline.d.ts.map +0 -1
- package/dist/marks/Underline.test.d.ts +0 -2
- package/dist/marks/Underline.test.d.ts.map +0 -1
- package/dist/marks/helpers/autolinkPlugin.d.ts +0 -48
- package/dist/marks/helpers/autolinkPlugin.d.ts.map +0 -1
- package/dist/marks/helpers/autolinkPlugin.test.d.ts +0 -2
- package/dist/marks/helpers/autolinkPlugin.test.d.ts.map +0 -1
- package/dist/marks/helpers/index.d.ts +0 -10
- package/dist/marks/helpers/index.d.ts.map +0 -1
- package/dist/marks/helpers/linkClickPlugin.d.ts +0 -43
- package/dist/marks/helpers/linkClickPlugin.d.ts.map +0 -1
- package/dist/marks/helpers/linkClickPlugin.test.d.ts +0 -2
- package/dist/marks/helpers/linkClickPlugin.test.d.ts.map +0 -1
- package/dist/marks/helpers/linkExitPlugin.d.ts +0 -37
- package/dist/marks/helpers/linkExitPlugin.d.ts.map +0 -1
- package/dist/marks/helpers/linkExitPlugin.test.d.ts +0 -2
- package/dist/marks/helpers/linkExitPlugin.test.d.ts.map +0 -1
- package/dist/marks/helpers/linkPastePlugin.d.ts +0 -44
- package/dist/marks/helpers/linkPastePlugin.d.ts.map +0 -1
- package/dist/marks/helpers/linkPastePlugin.test.d.ts +0 -2
- package/dist/marks/helpers/linkPastePlugin.test.d.ts.map +0 -1
- package/dist/marks/index.d.ts +0 -16
- package/dist/marks/index.d.ts.map +0 -1
- package/dist/nodes/Blockquote.d.ts +0 -19
- package/dist/nodes/Blockquote.d.ts.map +0 -1
- package/dist/nodes/Blockquote.test.d.ts +0 -2
- package/dist/nodes/Blockquote.test.d.ts.map +0 -1
- package/dist/nodes/BulletList.d.ts +0 -18
- package/dist/nodes/BulletList.d.ts.map +0 -1
- package/dist/nodes/BulletList.test.d.ts +0 -2
- package/dist/nodes/BulletList.test.d.ts.map +0 -1
- package/dist/nodes/CodeBlock.d.ts +0 -29
- package/dist/nodes/CodeBlock.d.ts.map +0 -1
- package/dist/nodes/CodeBlock.test.d.ts +0 -2
- package/dist/nodes/CodeBlock.test.d.ts.map +0 -1
- package/dist/nodes/Document.d.ts +0 -9
- package/dist/nodes/Document.d.ts.map +0 -1
- package/dist/nodes/Document.test.d.ts +0 -2
- package/dist/nodes/Document.test.d.ts.map +0 -1
- package/dist/nodes/HardBreak.d.ts +0 -18
- package/dist/nodes/HardBreak.d.ts.map +0 -1
- package/dist/nodes/HardBreak.test.d.ts +0 -2
- package/dist/nodes/HardBreak.test.d.ts.map +0 -1
- package/dist/nodes/Heading.d.ts +0 -23
- package/dist/nodes/Heading.d.ts.map +0 -1
- package/dist/nodes/Heading.test.d.ts +0 -2
- package/dist/nodes/Heading.test.d.ts.map +0 -1
- package/dist/nodes/HorizontalRule.d.ts +0 -17
- package/dist/nodes/HorizontalRule.d.ts.map +0 -1
- package/dist/nodes/HorizontalRule.test.d.ts +0 -2
- package/dist/nodes/HorizontalRule.test.d.ts.map +0 -1
- package/dist/nodes/ListItem.d.ts +0 -16
- package/dist/nodes/ListItem.d.ts.map +0 -1
- package/dist/nodes/ListItem.test.d.ts +0 -2
- package/dist/nodes/ListItem.test.d.ts.map +0 -1
- package/dist/nodes/OrderedList.d.ts +0 -18
- package/dist/nodes/OrderedList.d.ts.map +0 -1
- package/dist/nodes/OrderedList.test.d.ts +0 -2
- package/dist/nodes/OrderedList.test.d.ts.map +0 -1
- package/dist/nodes/Paragraph.d.ts +0 -17
- package/dist/nodes/Paragraph.d.ts.map +0 -1
- package/dist/nodes/Paragraph.test.d.ts +0 -2
- package/dist/nodes/Paragraph.test.d.ts.map +0 -1
- package/dist/nodes/TaskItem.d.ts +0 -24
- package/dist/nodes/TaskItem.d.ts.map +0 -1
- package/dist/nodes/TaskItem.test.d.ts +0 -2
- package/dist/nodes/TaskItem.test.d.ts.map +0 -1
- package/dist/nodes/TaskList.d.ts +0 -18
- package/dist/nodes/TaskList.d.ts.map +0 -1
- package/dist/nodes/TaskList.test.d.ts +0 -2
- package/dist/nodes/TaskList.test.d.ts.map +0 -1
- package/dist/nodes/Text.d.ts +0 -9
- package/dist/nodes/Text.d.ts.map +0 -1
- package/dist/nodes/Text.test.d.ts +0 -2
- package/dist/nodes/Text.test.d.ts.map +0 -1
- package/dist/nodes/index.d.ts +0 -19
- package/dist/nodes/index.d.ts.map +0 -1
- package/dist/nodes/integration.test.d.ts +0 -7
- package/dist/nodes/integration.test.d.ts.map +0 -1
- package/dist/types/AttributeSpec.d.ts +0 -78
- package/dist/types/AttributeSpec.d.ts.map +0 -1
- package/dist/types/Commands.d.ts +0 -125
- package/dist/types/Commands.d.ts.map +0 -1
- package/dist/types/Content.d.ts +0 -40
- package/dist/types/Content.d.ts.map +0 -1
- package/dist/types/EditorEvents.d.ts +0 -131
- package/dist/types/EditorEvents.d.ts.map +0 -1
- package/dist/types/EditorOptions.d.ts +0 -133
- package/dist/types/EditorOptions.d.ts.map +0 -1
- package/dist/types/ExtensionConfig.d.ts +0 -271
- package/dist/types/ExtensionConfig.d.ts.map +0 -1
- package/dist/types/MarkConfig.d.ts +0 -206
- package/dist/types/MarkConfig.d.ts.map +0 -1
- package/dist/types/NodeConfig.d.ts +0 -263
- package/dist/types/NodeConfig.d.ts.map +0 -1
- package/dist/types/Toolbar.d.ts +0 -172
- package/dist/types/Toolbar.d.ts.map +0 -1
- package/dist/types/index.d.ts +0 -13
- package/dist/types/index.d.ts.map +0 -1
- package/dist/utils/inlineStyles.d.ts +0 -83
- package/dist/utils/inlineStyles.d.ts.map +0 -1
- package/dist/utils/inlineStyles.test.d.ts +0 -2
- package/dist/utils/inlineStyles.test.d.ts.map +0 -1
- package/dist/utils/positionFloating.d.ts +0 -74
- package/dist/utils/positionFloating.d.ts.map +0 -1
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Autolink Plugin
|
|
3
|
-
*
|
|
4
|
-
* Automatically converts typed URLs into clickable links.
|
|
5
|
-
* Triggers when user types a space, punctuation, or presses Enter after a URL.
|
|
6
|
-
* Uses linkifyjs for robust URL detection.
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin, PluginKey } from '@domternal/pm/state';
|
|
9
|
-
import type { MarkType } from '@domternal/pm/model';
|
|
10
|
-
/**
|
|
11
|
-
* Options for the autolink plugin
|
|
12
|
-
*/
|
|
13
|
-
export interface AutolinkPluginOptions {
|
|
14
|
-
/**
|
|
15
|
-
* The link mark type
|
|
16
|
-
*/
|
|
17
|
-
type: MarkType;
|
|
18
|
-
/**
|
|
19
|
-
* Allowed URL protocols
|
|
20
|
-
* @default ['http:', 'https:']
|
|
21
|
-
*/
|
|
22
|
-
protocols?: string[];
|
|
23
|
-
/**
|
|
24
|
-
* Default protocol to add to bare URLs (e.g., 'example.com' → 'https://example.com')
|
|
25
|
-
* @default 'https'
|
|
26
|
-
*/
|
|
27
|
-
defaultProtocol?: string;
|
|
28
|
-
/**
|
|
29
|
-
* Custom validation function
|
|
30
|
-
* Return false to prevent auto-linking specific URLs
|
|
31
|
-
*/
|
|
32
|
-
shouldAutoLink?: (url: string) => boolean;
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* Plugin key for autolink plugin
|
|
36
|
-
*/
|
|
37
|
-
export declare const autolinkPluginKey: PluginKey<any>;
|
|
38
|
-
/**
|
|
39
|
-
* Creates a plugin that auto-converts typed URLs to links.
|
|
40
|
-
*
|
|
41
|
-
* When user types a URL followed by space/punctuation, the URL
|
|
42
|
-
* is automatically wrapped in a link mark.
|
|
43
|
-
*
|
|
44
|
-
* @param options - Plugin options
|
|
45
|
-
* @returns ProseMirror Plugin
|
|
46
|
-
*/
|
|
47
|
-
export declare function autolinkPlugin(options: AutolinkPluginOptions): Plugin;
|
|
48
|
-
//# sourceMappingURL=autolinkPlugin.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"autolinkPlugin.d.ts","sourceRoot":"","sources":["../../../src/marks/helpers/autolinkPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAGpD;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,IAAI,EAAE,QAAQ,CAAC;IAEf;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IAErB;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;;OAGG;IACH,cAAc,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC;CAC3C;AAED;;GAEG;AACH,eAAO,MAAM,iBAAiB,gBAA4B,CAAC;AAO3D;;;;;;;;GAQG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,qBAAqB,GAAG,MAAM,CAwFrE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"autolinkPlugin.test.d.ts","sourceRoot":"","sources":["../../../src/marks/helpers/autolinkPlugin.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Link Mark Helpers
|
|
3
|
-
*
|
|
4
|
-
* Plugins and utilities for enhanced Link mark functionality.
|
|
5
|
-
*/
|
|
6
|
-
export { linkClickPlugin, linkClickPluginKey, type LinkClickPluginOptions, } from './linkClickPlugin.js';
|
|
7
|
-
export { linkPastePlugin, linkPastePluginKey, type LinkPastePluginOptions, } from './linkPastePlugin.js';
|
|
8
|
-
export { autolinkPlugin, autolinkPluginKey, type AutolinkPluginOptions, } from './autolinkPlugin.js';
|
|
9
|
-
export { linkExitPlugin, linkExitPluginKey, type LinkExitPluginOptions, } from './linkExitPlugin.js';
|
|
10
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/marks/helpers/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EACL,eAAe,EACf,kBAAkB,EAClB,KAAK,sBAAsB,GAC5B,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EACL,eAAe,EACf,kBAAkB,EAClB,KAAK,sBAAsB,GAC5B,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,KAAK,qBAAqB,GAC3B,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,KAAK,qBAAqB,GAC3B,MAAM,qBAAqB,CAAC"}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Link Click Plugin
|
|
3
|
-
*
|
|
4
|
-
* Handles click on links to open them.
|
|
5
|
-
* When editable: opens on click.
|
|
6
|
-
* When read-only: browser handles link clicks natively.
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin, PluginKey } from '@domternal/pm/state';
|
|
9
|
-
import type { MarkType } from '@domternal/pm/model';
|
|
10
|
-
/**
|
|
11
|
-
* Options for the link click plugin
|
|
12
|
-
*/
|
|
13
|
-
export interface LinkClickPluginOptions {
|
|
14
|
-
/**
|
|
15
|
-
* The link mark type
|
|
16
|
-
*/
|
|
17
|
-
type: MarkType;
|
|
18
|
-
/**
|
|
19
|
-
* When to open links on click
|
|
20
|
-
* - true: Open on click
|
|
21
|
-
* - false: Never open
|
|
22
|
-
* - 'whenNotEditable': Only open when editor is read-only (browser handles natively)
|
|
23
|
-
* @default true
|
|
24
|
-
*/
|
|
25
|
-
openOnClick?: boolean | 'whenNotEditable';
|
|
26
|
-
/**
|
|
27
|
-
* Select the full link text range when clicking a link
|
|
28
|
-
* @default false
|
|
29
|
-
*/
|
|
30
|
-
enableClickSelection?: boolean;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Plugin key for link click plugin
|
|
34
|
-
*/
|
|
35
|
-
export declare const linkClickPluginKey: PluginKey<any>;
|
|
36
|
-
/**
|
|
37
|
-
* Creates a plugin that handles clicking on links to open them.
|
|
38
|
-
*
|
|
39
|
-
* @param options - Plugin options
|
|
40
|
-
* @returns ProseMirror Plugin
|
|
41
|
-
*/
|
|
42
|
-
export declare function linkClickPlugin(options: LinkClickPluginOptions): Plugin;
|
|
43
|
-
//# sourceMappingURL=linkClickPlugin.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"linkClickPlugin.d.ts","sourceRoot":"","sources":["../../../src/marks/helpers/linkClickPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAE,MAAM,EAAE,SAAS,EAAiB,MAAM,qBAAqB,CAAC;AACvE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAEpD;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,IAAI,EAAE,QAAQ,CAAC;IAEf;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,OAAO,GAAG,iBAAiB,CAAC;IAE1C;;;OAGG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC;AAED;;GAEG;AACH,eAAO,MAAM,kBAAkB,gBAA6B,CAAC;AAE7D;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,sBAAsB,GAAG,MAAM,CAsFvE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"linkClickPlugin.test.d.ts","sourceRoot":"","sources":["../../../src/marks/helpers/linkClickPlugin.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Link Exit Plugin
|
|
3
|
-
*
|
|
4
|
-
* Allows users to "exit" a link mark by pressing ArrowRight at the
|
|
5
|
-
* end of the link. After exiting, newly typed text will not have
|
|
6
|
-
* the link mark applied.
|
|
7
|
-
*
|
|
8
|
-
* Enabled when the Link mark has `exitable: true` configured.
|
|
9
|
-
*/
|
|
10
|
-
import { Plugin, PluginKey } from '@domternal/pm/state';
|
|
11
|
-
import type { MarkType } from '@domternal/pm/model';
|
|
12
|
-
/**
|
|
13
|
-
* Options for the link exit plugin
|
|
14
|
-
*/
|
|
15
|
-
export interface LinkExitPluginOptions {
|
|
16
|
-
/**
|
|
17
|
-
* The link mark type
|
|
18
|
-
*/
|
|
19
|
-
type: MarkType;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Plugin key for link exit plugin
|
|
23
|
-
*/
|
|
24
|
-
export declare const linkExitPluginKey: PluginKey<any>;
|
|
25
|
-
/**
|
|
26
|
-
* Creates a plugin that allows exiting a link mark with ArrowRight.
|
|
27
|
-
*
|
|
28
|
-
* When the cursor is at the end boundary of a link mark (the next
|
|
29
|
-
* character has no link mark, or there is no next character), pressing
|
|
30
|
-
* ArrowRight will set storedMarks to exclude the link mark. This means
|
|
31
|
-
* any text typed after will not be linked.
|
|
32
|
-
*
|
|
33
|
-
* @param options - Plugin options
|
|
34
|
-
* @returns ProseMirror Plugin
|
|
35
|
-
*/
|
|
36
|
-
export declare function linkExitPlugin(options: LinkExitPluginOptions): Plugin;
|
|
37
|
-
//# sourceMappingURL=linkExitPlugin.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"linkExitPlugin.d.ts","sourceRoot":"","sources":["../../../src/marks/helpers/linkExitPlugin.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,EAAE,MAAM,EAAE,SAAS,EAAiB,MAAM,qBAAqB,CAAC;AACvE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAEpD;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,IAAI,EAAE,QAAQ,CAAC;CAChB;AAED;;GAEG;AACH,eAAO,MAAM,iBAAiB,gBAA4B,CAAC;AAE3D;;;;;;;;;;GAUG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,qBAAqB,GAAG,MAAM,CAkDrE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"linkExitPlugin.test.d.ts","sourceRoot":"","sources":["../../../src/marks/helpers/linkExitPlugin.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Link Paste Plugin
|
|
3
|
-
*
|
|
4
|
-
* Handles pasting URLs:
|
|
5
|
-
* - If text is selected: wraps selection in a link
|
|
6
|
-
* - If no selection: inserts URL as clickable link text
|
|
7
|
-
*/
|
|
8
|
-
import { Plugin, PluginKey } from '@domternal/pm/state';
|
|
9
|
-
import type { MarkType } from '@domternal/pm/model';
|
|
10
|
-
/**
|
|
11
|
-
* Options for the link paste plugin
|
|
12
|
-
*/
|
|
13
|
-
export interface LinkPastePluginOptions {
|
|
14
|
-
/**
|
|
15
|
-
* The link mark type
|
|
16
|
-
*/
|
|
17
|
-
type: MarkType;
|
|
18
|
-
/**
|
|
19
|
-
* Allowed URL protocols
|
|
20
|
-
* @default ['http:', 'https:']
|
|
21
|
-
*/
|
|
22
|
-
protocols?: string[];
|
|
23
|
-
/**
|
|
24
|
-
* Custom URL validation function
|
|
25
|
-
* Return false to prevent linking specific URLs
|
|
26
|
-
*/
|
|
27
|
-
validate?: (url: string) => boolean;
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* Plugin key for link paste plugin
|
|
31
|
-
*/
|
|
32
|
-
export declare const linkPastePluginKey: PluginKey<any>;
|
|
33
|
-
/**
|
|
34
|
-
* Creates a plugin that handles pasting URLs.
|
|
35
|
-
*
|
|
36
|
-
* Behavior:
|
|
37
|
-
* - Text selected + paste URL = wrap selection in link
|
|
38
|
-
* - No selection + paste URL = insert URL as link
|
|
39
|
-
*
|
|
40
|
-
* @param options - Plugin options
|
|
41
|
-
* @returns ProseMirror Plugin
|
|
42
|
-
*/
|
|
43
|
-
export declare function linkPastePlugin(options: LinkPastePluginOptions): Plugin;
|
|
44
|
-
//# sourceMappingURL=linkPastePlugin.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"linkPastePlugin.d.ts","sourceRoot":"","sources":["../../../src/marks/helpers/linkPastePlugin.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAEpD;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,IAAI,EAAE,QAAQ,CAAC;IAEf;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IAErB;;;OAGG;IACH,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,CAAC;CACrC;AAED;;GAEG;AACH,eAAO,MAAM,kBAAkB,gBAA6B,CAAC;AAE7D;;;;;;;;;GASG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,sBAAsB,GAAG,MAAM,CAgDvE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"linkPastePlugin.test.d.ts","sourceRoot":"","sources":["../../../src/marks/helpers/linkPastePlugin.test.ts"],"names":[],"mappings":""}
|
package/dist/marks/index.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Mark extensions for @domternal/core
|
|
3
|
-
*
|
|
4
|
-
* Marks define inline formatting that can be applied to text.
|
|
5
|
-
*/
|
|
6
|
-
export { Bold, type BoldOptions } from './Bold.js';
|
|
7
|
-
export { Italic, type ItalicOptions } from './Italic.js';
|
|
8
|
-
export { Underline, type UnderlineOptions } from './Underline.js';
|
|
9
|
-
export { Strike, type StrikeOptions } from './Strike.js';
|
|
10
|
-
export { Code, type CodeOptions } from './Code.js';
|
|
11
|
-
export { Link, type LinkOptions, type LinkAttributes } from './Link.js';
|
|
12
|
-
export { Subscript, type SubscriptOptions } from './Subscript.js';
|
|
13
|
-
export { Superscript, type SuperscriptOptions } from './Superscript.js';
|
|
14
|
-
export { TextStyle, type TextStyleOptions } from './TextStyle.js';
|
|
15
|
-
export { linkClickPlugin, linkClickPluginKey, type LinkClickPluginOptions, linkPastePlugin, linkPastePluginKey, type LinkPastePluginOptions, autolinkPlugin, autolinkPluginKey, type AutolinkPluginOptions, linkExitPlugin, linkExitPluginKey, type LinkExitPluginOptions, } from './helpers/index.js';
|
|
16
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/marks/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,IAAI,EAAE,KAAK,WAAW,EAAE,MAAM,WAAW,CAAC;AACnD,OAAO,EAAE,MAAM,EAAE,KAAK,aAAa,EAAE,MAAM,aAAa,CAAC;AACzD,OAAO,EAAE,SAAS,EAAE,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClE,OAAO,EAAE,MAAM,EAAE,KAAK,aAAa,EAAE,MAAM,aAAa,CAAC;AACzD,OAAO,EAAE,IAAI,EAAE,KAAK,WAAW,EAAE,MAAM,WAAW,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,KAAK,WAAW,EAAE,KAAK,cAAc,EAAE,MAAM,WAAW,CAAC;AACxE,OAAO,EAAE,SAAS,EAAE,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClE,OAAO,EAAE,WAAW,EAAE,KAAK,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AACxE,OAAO,EAAE,SAAS,EAAE,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAGlE,OAAO,EACL,eAAe,EACf,kBAAkB,EAClB,KAAK,sBAAsB,EAC3B,eAAe,EACf,kBAAkB,EAClB,KAAK,sBAAsB,EAC3B,cAAc,EACd,iBAAiB,EACjB,KAAK,qBAAqB,EAC1B,cAAc,EACd,iBAAiB,EACjB,KAAK,qBAAqB,GAC3B,MAAM,oBAAoB,CAAC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Blockquote Node
|
|
3
|
-
*
|
|
4
|
-
* Block-level quote container that can hold other blocks.
|
|
5
|
-
* Supports nested blockquotes and markdown-style input rule.
|
|
6
|
-
*/
|
|
7
|
-
import { Node } from '../Node.js';
|
|
8
|
-
declare module '../types/Commands.js' {
|
|
9
|
-
interface RawCommands {
|
|
10
|
-
setBlockquote: CommandSpec;
|
|
11
|
-
toggleBlockquote: CommandSpec;
|
|
12
|
-
unsetBlockquote: CommandSpec;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
export interface BlockquoteOptions {
|
|
16
|
-
HTMLAttributes: Record<string, unknown>;
|
|
17
|
-
}
|
|
18
|
-
export declare const Blockquote: Node<BlockquoteOptions, unknown>;
|
|
19
|
-
//# sourceMappingURL=Blockquote.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Blockquote.d.ts","sourceRoot":"","sources":["../../src/nodes/Blockquote.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAKlC,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,WAAW;QACnB,aAAa,EAAE,WAAW,CAAC;QAC3B,gBAAgB,EAAE,WAAW,CAAC;QAC9B,eAAe,EAAE,WAAW,CAAC;KAC9B;CACF;AAED,MAAM,WAAW,iBAAiB;IAChC,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACzC;AAED,eAAO,MAAM,UAAU,kCA6ErB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Blockquote.test.d.ts","sourceRoot":"","sources":["../../src/nodes/Blockquote.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* BulletList Node
|
|
3
|
-
*
|
|
4
|
-
* Block-level unordered list container.
|
|
5
|
-
* Supports markdown-style input rules and keyboard shortcuts.
|
|
6
|
-
*/
|
|
7
|
-
import { Node } from '../Node.js';
|
|
8
|
-
declare module '../types/Commands.js' {
|
|
9
|
-
interface RawCommands {
|
|
10
|
-
toggleBulletList: CommandSpec;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
export interface BulletListOptions {
|
|
14
|
-
HTMLAttributes: Record<string, unknown>;
|
|
15
|
-
itemTypeName: string;
|
|
16
|
-
}
|
|
17
|
-
export declare const BulletList: Node<BulletListOptions, unknown>;
|
|
18
|
-
//# sourceMappingURL=BulletList.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BulletList.d.ts","sourceRoot":"","sources":["../../src/nodes/BulletList.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAMlC,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,WAAW;QACnB,gBAAgB,EAAE,WAAW,CAAC;KAC/B;CACF;AAED,MAAM,WAAW,iBAAiB;IAChC,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxC,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,UAAU,kCA4ErB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BulletList.test.d.ts","sourceRoot":"","sources":["../../src/nodes/BulletList.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* CodeBlock Node
|
|
3
|
-
*
|
|
4
|
-
* Block-level code container with syntax highlighting support.
|
|
5
|
-
* Preserves whitespace and disallows marks.
|
|
6
|
-
*
|
|
7
|
-
* Keyboard shortcuts:
|
|
8
|
-
* - Mod-Alt-C: Toggle code block
|
|
9
|
-
* - Enter (triple): Exit code block when last 2 lines are empty
|
|
10
|
-
* - ArrowDown: Exit code block when cursor is at the end and it's the last block
|
|
11
|
-
*/
|
|
12
|
-
import { Node } from '../Node.js';
|
|
13
|
-
declare module '../types/Commands.js' {
|
|
14
|
-
interface RawCommands {
|
|
15
|
-
setCodeBlock: CommandSpec<[attributes?: {
|
|
16
|
-
language?: string;
|
|
17
|
-
}]>;
|
|
18
|
-
toggleCodeBlock: CommandSpec<[attributes?: {
|
|
19
|
-
language?: string;
|
|
20
|
-
}]>;
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
export interface CodeBlockOptions {
|
|
24
|
-
languageClassPrefix: string;
|
|
25
|
-
HTMLAttributes: Record<string, unknown>;
|
|
26
|
-
exitOnTripleEnter: boolean;
|
|
27
|
-
}
|
|
28
|
-
export declare const CodeBlock: Node<CodeBlockOptions, unknown>;
|
|
29
|
-
//# sourceMappingURL=CodeBlock.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CodeBlock.d.ts","sourceRoot":"","sources":["../../src/nodes/CodeBlock.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAMlC,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,WAAW;QACnB,YAAY,EAAE,WAAW,CAAC,CAAC,UAAU,CAAC,EAAE;YAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;SAAE,CAAC,CAAC,CAAC;QAChE,eAAe,EAAE,WAAW,CAAC,CAAC,UAAU,CAAC,EAAE;YAAE,QAAQ,CAAC,EAAE,MAAM,CAAA;SAAE,CAAC,CAAC,CAAC;KACpE;CACF;AAED,MAAM,WAAW,gBAAgB;IAC/B,mBAAmB,EAAE,MAAM,CAAC;IAC5B,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxC,iBAAiB,EAAE,OAAO,CAAC;CAC5B;AAED,eAAO,MAAM,SAAS,iCAgKpB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CodeBlock.test.d.ts","sourceRoot":"","sources":["../../src/nodes/CodeBlock.test.ts"],"names":[],"mappings":""}
|
package/dist/nodes/Document.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Document.d.ts","sourceRoot":"","sources":["../../src/nodes/Document.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAElC,eAAO,MAAM,QAAQ,wBAInB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Document.test.d.ts","sourceRoot":"","sources":["../../src/nodes/Document.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* HardBreak Node
|
|
3
|
-
*
|
|
4
|
-
* Inline line break element (br).
|
|
5
|
-
* Keyboard shortcuts: Mod-Enter, Shift-Enter
|
|
6
|
-
*/
|
|
7
|
-
import { Node } from '../Node.js';
|
|
8
|
-
declare module '../types/Commands.js' {
|
|
9
|
-
interface RawCommands {
|
|
10
|
-
setHardBreak: CommandSpec;
|
|
11
|
-
insertNbsp: CommandSpec;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
export interface HardBreakOptions {
|
|
15
|
-
HTMLAttributes: Record<string, unknown>;
|
|
16
|
-
}
|
|
17
|
-
export declare const HardBreak: Node<HardBreakOptions, unknown>;
|
|
18
|
-
//# sourceMappingURL=HardBreak.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HardBreak.d.ts","sourceRoot":"","sources":["../../src/nodes/HardBreak.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAIlC,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,WAAW;QACnB,YAAY,EAAE,WAAW,CAAC;QAC1B,UAAU,EAAE,WAAW,CAAC;KACzB;CACF;AAED,MAAM,WAAW,gBAAgB;IAC/B,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACzC;AAED,eAAO,MAAM,SAAS,iCAqEpB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HardBreak.test.d.ts","sourceRoot":"","sources":["../../src/nodes/HardBreak.test.ts"],"names":[],"mappings":""}
|
package/dist/nodes/Heading.d.ts
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Heading Node
|
|
3
|
-
*
|
|
4
|
-
* Block-level heading elements (h1-h6).
|
|
5
|
-
* Supports configurable levels and markdown-style input rules.
|
|
6
|
-
*/
|
|
7
|
-
import { Node } from '../Node.js';
|
|
8
|
-
declare module '../types/Commands.js' {
|
|
9
|
-
interface RawCommands {
|
|
10
|
-
setHeading: CommandSpec<[attributes?: {
|
|
11
|
-
level?: number;
|
|
12
|
-
}]>;
|
|
13
|
-
toggleHeading: CommandSpec<[attributes?: {
|
|
14
|
-
level?: number;
|
|
15
|
-
}]>;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
export interface HeadingOptions {
|
|
19
|
-
levels: number[];
|
|
20
|
-
HTMLAttributes: Record<string, unknown>;
|
|
21
|
-
}
|
|
22
|
-
export declare const Heading: Node<HeadingOptions, unknown>;
|
|
23
|
-
//# sourceMappingURL=Heading.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Heading.d.ts","sourceRoot":"","sources":["../../src/nodes/Heading.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAQlC,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,WAAW;QACnB,UAAU,EAAE,WAAW,CAAC,CAAC,UAAU,CAAC,EAAE;YAAE,KAAK,CAAC,EAAE,MAAM,CAAA;SAAE,CAAC,CAAC,CAAC;QAC3D,aAAa,EAAE,WAAW,CAAC,CAAC,UAAU,CAAC,EAAE;YAAE,KAAK,CAAC,EAAE,MAAM,CAAA;SAAE,CAAC,CAAC,CAAC;KAC/D;CACF;AAED,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACzC;AAED,eAAO,MAAM,OAAO,+BAkNlB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Heading.test.d.ts","sourceRoot":"","sources":["../../src/nodes/Heading.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* HorizontalRule Node
|
|
3
|
-
*
|
|
4
|
-
* Block-level thematic break element (hr).
|
|
5
|
-
* Supports markdown-style input rules: ---, ***, ___
|
|
6
|
-
*/
|
|
7
|
-
import { Node } from '../Node.js';
|
|
8
|
-
declare module '../types/Commands.js' {
|
|
9
|
-
interface RawCommands {
|
|
10
|
-
setHorizontalRule: CommandSpec;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
export interface HorizontalRuleOptions {
|
|
14
|
-
HTMLAttributes: Record<string, unknown>;
|
|
15
|
-
}
|
|
16
|
-
export declare const HorizontalRule: Node<HorizontalRuleOptions, unknown>;
|
|
17
|
-
//# sourceMappingURL=HorizontalRule.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HorizontalRule.d.ts","sourceRoot":"","sources":["../../src/nodes/HorizontalRule.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAOlC,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,WAAW;QACnB,iBAAiB,EAAE,WAAW,CAAC;KAChC;CACF;AAED,MAAM,WAAW,qBAAqB;IACpC,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACzC;AAED,eAAO,MAAM,cAAc,sCAuHzB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HorizontalRule.test.d.ts","sourceRoot":"","sources":["../../src/nodes/HorizontalRule.test.ts"],"names":[],"mappings":""}
|
package/dist/nodes/ListItem.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ListItem Node
|
|
3
|
-
*
|
|
4
|
-
* Individual list item that can contain paragraphs and nested blocks.
|
|
5
|
-
* Used by BulletList and OrderedList.
|
|
6
|
-
*
|
|
7
|
-
* Keyboard shortcuts:
|
|
8
|
-
* - Enter: Split list item at cursor, or lift out of list if item is empty
|
|
9
|
-
* - Tab/Shift-Tab: Handled by ListKeymap extension (included via addExtensions)
|
|
10
|
-
*/
|
|
11
|
-
import { Node } from '../Node.js';
|
|
12
|
-
export interface ListItemOptions {
|
|
13
|
-
HTMLAttributes: Record<string, unknown>;
|
|
14
|
-
}
|
|
15
|
-
export declare const ListItem: Node<ListItemOptions, unknown>;
|
|
16
|
-
//# sourceMappingURL=ListItem.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ListItem.d.ts","sourceRoot":"","sources":["../../src/nodes/ListItem.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAKlC,MAAM,WAAW,eAAe;IAC9B,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACzC;AAED,eAAO,MAAM,QAAQ,gCA4DnB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ListItem.test.d.ts","sourceRoot":"","sources":["../../src/nodes/ListItem.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* OrderedList Node
|
|
3
|
-
*
|
|
4
|
-
* Block-level ordered (numbered) list container.
|
|
5
|
-
* Supports start attribute and markdown-style input rules.
|
|
6
|
-
*/
|
|
7
|
-
import { Node } from '../Node.js';
|
|
8
|
-
declare module '../types/Commands.js' {
|
|
9
|
-
interface RawCommands {
|
|
10
|
-
toggleOrderedList: CommandSpec;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
export interface OrderedListOptions {
|
|
14
|
-
HTMLAttributes: Record<string, unknown>;
|
|
15
|
-
itemTypeName: string;
|
|
16
|
-
}
|
|
17
|
-
export declare const OrderedList: Node<OrderedListOptions, unknown>;
|
|
18
|
-
//# sourceMappingURL=OrderedList.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OrderedList.d.ts","sourceRoot":"","sources":["../../src/nodes/OrderedList.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAMlC,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,WAAW;QACnB,iBAAiB,EAAE,WAAW,CAAC;KAChC;CACF;AAED,MAAM,WAAW,kBAAkB;IACjC,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxC,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,WAAW,mCAmGtB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"OrderedList.test.d.ts","sourceRoot":"","sources":["../../src/nodes/OrderedList.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Paragraph Node
|
|
3
|
-
*
|
|
4
|
-
* The default block-level text container.
|
|
5
|
-
* Contains inline content (text and inline nodes).
|
|
6
|
-
*/
|
|
7
|
-
import { Node } from '../Node.js';
|
|
8
|
-
declare module '../types/Commands.js' {
|
|
9
|
-
interface RawCommands {
|
|
10
|
-
setParagraph: CommandSpec;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
export interface ParagraphOptions {
|
|
14
|
-
HTMLAttributes: Record<string, unknown>;
|
|
15
|
-
}
|
|
16
|
-
export declare const Paragraph: Node<ParagraphOptions, unknown>;
|
|
17
|
-
//# sourceMappingURL=Paragraph.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Paragraph.d.ts","sourceRoot":"","sources":["../../src/nodes/Paragraph.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAGlC,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,WAAW;QACnB,YAAY,EAAE,WAAW,CAAC;KAC3B;CACF;AAED,MAAM,WAAW,gBAAgB;IAC/B,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACzC;AAED,eAAO,MAAM,SAAS,iCAuCpB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Paragraph.test.d.ts","sourceRoot":"","sources":["../../src/nodes/Paragraph.test.ts"],"names":[],"mappings":""}
|
package/dist/nodes/TaskItem.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* TaskItem Node
|
|
3
|
-
*
|
|
4
|
-
* Individual task/checkbox item that can contain paragraphs and nested blocks.
|
|
5
|
-
* Used by TaskList.
|
|
6
|
-
*
|
|
7
|
-
* Keyboard shortcuts:
|
|
8
|
-
* - Enter: Split task item at cursor
|
|
9
|
-
* - Tab: Sink (indent) task item
|
|
10
|
-
* - Shift-Tab: Lift (outdent) task item
|
|
11
|
-
* - Mod-Enter: Toggle task checked state
|
|
12
|
-
*/
|
|
13
|
-
import { Node } from '../Node.js';
|
|
14
|
-
declare module '../types/Commands.js' {
|
|
15
|
-
interface RawCommands {
|
|
16
|
-
toggleTask: CommandSpec;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
export interface TaskItemOptions {
|
|
20
|
-
HTMLAttributes: Record<string, unknown>;
|
|
21
|
-
nested: boolean;
|
|
22
|
-
}
|
|
23
|
-
export declare const TaskItem: Node<TaskItemOptions, unknown>;
|
|
24
|
-
//# sourceMappingURL=TaskItem.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TaskItem.d.ts","sourceRoot":"","sources":["../../src/nodes/TaskItem.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAKlC,OAAO,QAAQ,sBAAsB,CAAC;IACpC,UAAU,WAAW;QACnB,UAAU,EAAE,WAAW,CAAC;KACzB;CACF;AAED,MAAM,WAAW,eAAe;IAC9B,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxC,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,eAAO,MAAM,QAAQ,gCAsLnB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TaskItem.test.d.ts","sourceRoot":"","sources":["../../src/nodes/TaskItem.test.ts"],"names":[],"mappings":""}
|