@blade-hq/agent-react 2612.0.0-beta.115 → 2612.0.0-beta.117
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/{chunk-AMWLYUD7.js → chunk-34YJQXTM.js} +2 -2
- package/dist/{chunk-N2SQZ2HY.js → chunk-63G66FWM.js} +5 -1
- package/dist/{chunk-HV3NKRZ2.js → chunk-7DG4JFRS.js} +3 -3
- package/dist/{chunk-7UQ3RWAU.js → chunk-DNND32V4.js} +4 -4
- package/dist/{chunk-C3G6F7UG.js → chunk-LFC3UTIJ.js} +5 -5
- package/dist/{chunk-22JUW3EQ.js → chunk-NPDS3EEK.js} +2 -2
- package/dist/{chunk-GZWQVVE7.js → chunk-VUUX2BIU.js} +2818 -2341
- package/dist/chunk-VUUX2BIU.js.map +1 -0
- package/dist/{chunk-XRNHTA7C.js → chunk-XCASYOA6.js} +3 -3
- package/dist/connectors.js +2 -2
- package/dist/index.js +7 -7
- package/dist/internal.js +8 -8
- package/dist/questions.js +3 -3
- package/dist/rich-input.js +7023 -6787
- package/dist/rich-input.js.map +1 -1
- package/dist/tool-details.js +4 -4
- package/node_modules/@tiptap/core/dist/index.cjs +7679 -6763
- package/node_modules/@tiptap/core/dist/index.cjs.map +1 -1
- package/node_modules/@tiptap/core/dist/index.d.cts +4468 -3614
- package/node_modules/@tiptap/core/dist/index.d.cts.map +1 -0
- package/node_modules/@tiptap/core/dist/index.d.ts +4467 -3614
- package/node_modules/@tiptap/core/dist/index.d.ts.map +1 -0
- package/node_modules/@tiptap/core/dist/index.js +7508 -6632
- package/node_modules/@tiptap/core/dist/index.js.map +1 -1
- package/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.cjs +66 -52
- package/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.cjs.map +1 -1
- package/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.d.cts +17 -12
- package/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.d.cts.map +1 -0
- package/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.d.ts +17 -12
- package/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.d.ts.map +1 -0
- package/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.js +60 -22
- package/node_modules/@tiptap/core/dist/jsx-runtime/jsx-runtime.js.map +1 -1
- package/node_modules/@tiptap/core/dist/rolldown-runtime-D7D4PA-g.js +13 -0
- package/node_modules/@tiptap/core/package.json +27 -24
- package/node_modules/@tiptap/core/src/CommandManager.ts +72 -2
- package/node_modules/@tiptap/core/src/Editor.ts +108 -26
- package/node_modules/@tiptap/core/src/EventEmitter.ts +20 -7
- package/node_modules/@tiptap/core/src/Extendable.ts +52 -7
- package/node_modules/@tiptap/core/src/Extension.ts +7 -3
- package/node_modules/@tiptap/core/src/ExtensionManager.ts +158 -15
- package/node_modules/@tiptap/core/src/InputRule.ts +30 -3
- package/node_modules/@tiptap/core/src/Mark.ts +26 -6
- package/node_modules/@tiptap/core/src/MarkView.ts +13 -3
- package/node_modules/@tiptap/core/src/Node.ts +19 -6
- package/node_modules/@tiptap/core/src/NodePos.ts +17 -4
- package/node_modules/@tiptap/core/src/NodeView.ts +31 -9
- package/node_modules/@tiptap/core/src/PasteRule.ts +17 -4
- package/node_modules/@tiptap/core/src/Tracker.ts +9 -7
- package/node_modules/@tiptap/core/src/__tests__/Editor.spec.ts +73 -0
- package/node_modules/@tiptap/core/src/__tests__/htmlEntities.test.ts +55 -0
- package/node_modules/@tiptap/core/src/__tests__/inputRuleInlineAtoms.test.ts +111 -0
- package/node_modules/@tiptap/core/src/__tests__/isAndroid.test.ts +28 -0
- package/node_modules/@tiptap/core/src/__tests__/rewriteUnknownContent.test.ts +51 -0
- package/node_modules/@tiptap/core/src/__tests__/transformPastedHTML.test.ts +10 -4
- package/node_modules/@tiptap/core/src/commands/deleteSelection.ts +90 -2
- package/node_modules/@tiptap/core/src/commands/extendMarkRange.ts +3 -2
- package/node_modules/@tiptap/core/src/commands/index.ts +2 -0
- package/node_modules/@tiptap/core/src/commands/insertContent.ts +5 -1
- package/node_modules/@tiptap/core/src/commands/insertContentAt.ts +17 -21
- package/node_modules/@tiptap/core/src/commands/insertDefaultBlock.ts +97 -0
- package/node_modules/@tiptap/core/src/commands/resetAttributes.ts +9 -2
- package/node_modules/@tiptap/core/src/commands/setContent.ts +4 -1
- package/node_modules/@tiptap/core/src/commands/setMark.ts +7 -3
- package/node_modules/@tiptap/core/src/commands/setTextSelection.ts +2 -1
- package/node_modules/@tiptap/core/src/commands/splitBlock.ts +16 -4
- package/node_modules/@tiptap/core/src/commands/splitListItem.ts +14 -6
- package/node_modules/@tiptap/core/src/commands/toggleList.ts +106 -7
- package/node_modules/@tiptap/core/src/commands/undoInputRule.ts +1 -1
- package/node_modules/@tiptap/core/src/commands/unsetAllMarks.ts +17 -5
- package/node_modules/@tiptap/core/src/commands/updateDecorations.ts +28 -0
- package/node_modules/@tiptap/core/src/decorations/Decoration.ts +177 -0
- package/node_modules/@tiptap/core/src/decorations/DecorationManager.ts +440 -0
- package/node_modules/@tiptap/core/src/decorations/__tests__/DecorationManager.test.ts +821 -0
- package/node_modules/@tiptap/core/src/decorations/constants.ts +7 -0
- package/node_modules/@tiptap/core/src/decorations/createWidgetDecoration.ts +221 -0
- package/node_modules/@tiptap/core/src/decorations/decorationApplyScope.ts +45 -0
- package/node_modules/@tiptap/core/src/decorations/helpers/__tests__/getRebuildRanges.test.ts +147 -0
- package/node_modules/@tiptap/core/src/decorations/helpers/buildDecorationSet.ts +25 -0
- package/node_modules/@tiptap/core/src/decorations/helpers/decorationsToPMDecorations.ts +36 -0
- package/node_modules/@tiptap/core/src/decorations/helpers/filterOutOfRangeDecorations.ts +52 -0
- package/node_modules/@tiptap/core/src/decorations/helpers/findDuplicateWidgetKeys.ts +37 -0
- package/node_modules/@tiptap/core/src/decorations/helpers/getRebuildRanges.ts +96 -0
- package/node_modules/@tiptap/core/src/decorations/helpers/hasResolvableChangedRange.ts +24 -0
- package/node_modules/@tiptap/core/src/decorations/helpers/isAttrStep.ts +21 -0
- package/node_modules/@tiptap/core/src/decorations/helpers/mapDecorationSet.ts +31 -0
- package/node_modules/@tiptap/core/src/decorations/helpers/mapDecorations.ts +26 -0
- package/node_modules/@tiptap/core/src/decorations/helpers/mergeDecorationSets.ts +16 -0
- package/node_modules/@tiptap/core/src/decorations/helpers/rangeOwnsPosition.ts +38 -0
- package/node_modules/@tiptap/core/src/decorations/helpers/shouldRecomputeDecoration.ts +24 -0
- package/node_modules/@tiptap/core/src/decorations/helpers/unionWidgetKeys.ts +15 -0
- package/node_modules/@tiptap/core/src/decorations/helpers/validateDecorationSpec.ts +49 -0
- package/node_modules/@tiptap/core/src/decorations/helpers/widgetKeyOf.ts +11 -0
- package/node_modules/@tiptap/core/src/decorations/index.ts +28 -0
- package/node_modules/@tiptap/core/src/decorations/types.ts +87 -0
- package/node_modules/@tiptap/core/src/extensions/clipboardTextSerializer.ts +17 -8
- package/node_modules/@tiptap/core/src/extensions/delete.ts +33 -21
- package/node_modules/@tiptap/core/src/extensions/focusEvents.ts +6 -2
- package/node_modules/@tiptap/core/src/extensions/keymap.ts +8 -3
- package/node_modules/@tiptap/core/src/extensions/tabindex.ts +42 -2
- package/node_modules/@tiptap/core/src/extensions/textDirection.ts +3 -1
- package/node_modules/@tiptap/core/src/helpers/MappablePosition.ts +4 -1
- package/node_modules/@tiptap/core/src/helpers/__tests__/getChangedRanges.test.ts +48 -0
- package/node_modules/@tiptap/core/src/helpers/__tests__/isProseMirrorAddMarkStep.test.ts +19 -0
- package/node_modules/@tiptap/core/src/helpers/__tests__/isProseMirrorAddNodeMarkStep.test.ts +19 -0
- package/node_modules/@tiptap/core/src/helpers/__tests__/isProseMirrorAttrStep.test.ts +17 -0
- package/node_modules/@tiptap/core/src/helpers/__tests__/isProseMirrorCellSelection.test.ts +17 -0
- package/node_modules/@tiptap/core/src/helpers/__tests__/isProseMirrorDocAttrStep.test.ts +17 -0
- package/node_modules/@tiptap/core/src/helpers/__tests__/isProseMirrorFragment.test.ts +27 -0
- package/node_modules/@tiptap/core/src/helpers/__tests__/isProseMirrorNodeSelection.test.ts +35 -0
- package/node_modules/@tiptap/core/src/helpers/__tests__/isProseMirrorRemoveMarkStep.test.ts +19 -0
- package/node_modules/@tiptap/core/src/helpers/__tests__/isProseMirrorRemoveNodeMarkStep.test.ts +19 -0
- package/node_modules/@tiptap/core/src/helpers/__tests__/isProseMirrorReplaceAroundStep.test.ts +19 -0
- package/node_modules/@tiptap/core/src/helpers/__tests__/isProseMirrorReplaceStep.test.ts +17 -0
- package/node_modules/@tiptap/core/src/helpers/__tests__/isProseMirrorSlice.test.ts +16 -0
- package/node_modules/@tiptap/core/src/helpers/__tests__/isProseMirrorStep.test.ts +30 -0
- package/node_modules/@tiptap/core/src/helpers/__tests__/isProseMirrorStepResult.test.ts +17 -0
- package/node_modules/@tiptap/core/src/helpers/combineTransactionSteps.ts +4 -1
- package/node_modules/@tiptap/core/src/helpers/createChainableState.ts +4 -1
- package/node_modules/@tiptap/core/src/helpers/createNodeFromContent.ts +15 -6
- package/node_modules/@tiptap/core/src/helpers/findChildrenInRange.ts +5 -1
- package/node_modules/@tiptap/core/src/helpers/flattenExtensions.ts +5 -1
- package/node_modules/@tiptap/core/src/helpers/getAttributes.ts +4 -1
- package/node_modules/@tiptap/core/src/helpers/getAttributesFromExtensions.ts +3 -5
- package/node_modules/@tiptap/core/src/helpers/getMarkAttributes.ts +4 -1
- package/node_modules/@tiptap/core/src/helpers/getMarkRange.ts +20 -5
- package/node_modules/@tiptap/core/src/helpers/getMarkType.ts +3 -1
- package/node_modules/@tiptap/core/src/helpers/getNodeAtPosition.ts +6 -1
- package/node_modules/@tiptap/core/src/helpers/getNodeAttributes.ts +4 -1
- package/node_modules/@tiptap/core/src/helpers/getNodeType.ts +3 -1
- package/node_modules/@tiptap/core/src/helpers/getPreviousBlockSibling.ts +36 -0
- package/node_modules/@tiptap/core/src/helpers/getSchemaByResolvedExtensions.ts +73 -20
- package/node_modules/@tiptap/core/src/helpers/getTextBetween.ts +1 -1
- package/node_modules/@tiptap/core/src/helpers/getTextContentFromNodes.ts +17 -12
- package/node_modules/@tiptap/core/src/helpers/index.ts +16 -0
- package/node_modules/@tiptap/core/src/helpers/isActive.ts +5 -1
- package/node_modules/@tiptap/core/src/helpers/isFragment.ts +14 -0
- package/node_modules/@tiptap/core/src/helpers/isNodeViewSelected.ts +42 -0
- package/node_modules/@tiptap/core/src/helpers/isProseMirrorAddMarkStep.ts +31 -0
- package/node_modules/@tiptap/core/src/helpers/isProseMirrorAddNodeMarkStep.ts +31 -0
- package/node_modules/@tiptap/core/src/helpers/isProseMirrorAttrStep.ts +31 -0
- package/node_modules/@tiptap/core/src/helpers/isProseMirrorCellSelection.ts +18 -0
- package/node_modules/@tiptap/core/src/helpers/isProseMirrorContent.ts +14 -0
- package/node_modules/@tiptap/core/src/helpers/isProseMirrorDocAttrStep.ts +31 -0
- package/node_modules/@tiptap/core/src/helpers/isProseMirrorFragment.ts +34 -0
- package/node_modules/@tiptap/core/src/helpers/isProseMirrorNodeSelection.ts +18 -0
- package/node_modules/@tiptap/core/src/helpers/isProseMirrorRemoveMarkStep.ts +31 -0
- package/node_modules/@tiptap/core/src/helpers/isProseMirrorRemoveNodeMarkStep.ts +31 -0
- package/node_modules/@tiptap/core/src/helpers/isProseMirrorReplaceAroundStep.ts +31 -0
- package/node_modules/@tiptap/core/src/helpers/isProseMirrorReplaceStep.ts +31 -0
- package/node_modules/@tiptap/core/src/helpers/isProseMirrorSlice.ts +43 -0
- package/node_modules/@tiptap/core/src/helpers/isProseMirrorStep.ts +30 -0
- package/node_modules/@tiptap/core/src/helpers/isProseMirrorStepResult.ts +26 -0
- package/node_modules/@tiptap/core/src/helpers/resolveFocusPosition.ts +14 -3
- package/node_modules/@tiptap/core/src/helpers/rewriteUnknownContent.ts +19 -10
- package/node_modules/@tiptap/core/src/helpers/splitExtensions.ts +3 -1
- package/node_modules/@tiptap/core/src/helpers/warnOnDuplicatedProseMirrorModel.ts +40 -0
- package/node_modules/@tiptap/core/src/index.ts +1 -6
- package/node_modules/@tiptap/core/src/inputRules/markInputRule.ts +5 -1
- package/node_modules/@tiptap/core/src/inputRules/nodeInputRule.ts +9 -2
- package/node_modules/@tiptap/core/src/inputRules/textInputRule.ts +5 -1
- package/node_modules/@tiptap/core/src/inputRules/textblockTypeInputRule.ts +8 -2
- package/node_modules/@tiptap/core/src/inputRules/wrappingInputRule.ts +8 -2
- package/node_modules/@tiptap/core/src/jsx-runtime.ts +91 -11
- package/node_modules/@tiptap/core/src/lib/ResizableNodeView.ts +25 -6
- package/node_modules/@tiptap/core/src/pasteRules/markPasteRule.ts +12 -1
- package/node_modules/@tiptap/core/src/types.ts +65 -18
- package/node_modules/@tiptap/core/src/utilities/attrsEqual.ts +27 -0
- package/node_modules/@tiptap/core/src/utilities/callOrReturn.ts +5 -1
- package/node_modules/@tiptap/core/src/utilities/deleteProps.ts +4 -1
- package/node_modules/@tiptap/core/src/utilities/elementFromString.ts +3 -1
- package/node_modules/@tiptap/core/src/utilities/getStyleProperty.ts +52 -0
- package/node_modules/@tiptap/core/src/utilities/htmlEntities.ts +26 -0
- package/node_modules/@tiptap/core/src/utilities/index.ts +4 -0
- package/node_modules/@tiptap/core/src/utilities/isAndroid.ts +1 -1
- package/node_modules/@tiptap/core/src/utilities/isDev.ts +12 -0
- package/node_modules/@tiptap/core/src/utilities/isFunction.ts +1 -1
- package/node_modules/@tiptap/core/src/utilities/isSafari.ts +3 -1
- package/node_modules/@tiptap/core/src/utilities/isiOS.ts +3 -1
- package/node_modules/@tiptap/core/src/utilities/markdown/createAtomBlockMarkdownSpec.ts +2 -4
- package/node_modules/@tiptap/core/src/utilities/markdown/createBlockMarkdownSpec.ts +10 -6
- package/node_modules/@tiptap/core/src/utilities/markdown/createInlineMarkdownSpec.ts +4 -24
- package/node_modules/@tiptap/core/src/utilities/markdown/index.ts +2 -1
- package/node_modules/@tiptap/core/src/utilities/markdown/parseAttributes.ts +48 -0
- package/node_modules/@tiptap/core/src/utilities/markdown/parseShortcodeAttributes.ts +13 -0
- package/node_modules/@tiptap/core/src/utilities/markdown/renderNestedMarkdownContent.ts +2 -1
- package/node_modules/@tiptap/core/src/utilities/markdown/serializeAttributes.ts +42 -0
- package/node_modules/@tiptap/core/src/utilities/markdown/tokenizeAttributes.ts +163 -0
- package/node_modules/@tiptap/core/src/utilities/marksEqual.ts +44 -0
- package/node_modules/@tiptap/core/src/utilities/mergeAttributes.ts +22 -3
- package/node_modules/@tiptap/core/src/utilities/mergeDeep.ts +4 -1
- package/node_modules/@tiptap/extension-bubble-menu/dist/index.cjs +324 -453
- package/node_modules/@tiptap/extension-bubble-menu/dist/index.cjs.map +1 -1
- package/node_modules/@tiptap/extension-bubble-menu/dist/index.d.cts +152 -151
- package/node_modules/@tiptap/extension-bubble-menu/dist/index.d.cts.map +1 -0
- package/node_modules/@tiptap/extension-bubble-menu/dist/index.d.ts +152 -151
- package/node_modules/@tiptap/extension-bubble-menu/dist/index.d.ts.map +1 -0
- package/node_modules/@tiptap/extension-bubble-menu/dist/index.js +316 -433
- package/node_modules/@tiptap/extension-bubble-menu/dist/index.js.map +1 -1
- package/node_modules/@tiptap/extension-bubble-menu/package.json +25 -23
- package/node_modules/@tiptap/extension-bubble-menu/src/bubble-menu-plugin.ts +73 -13
- package/node_modules/@tiptap/extension-floating-menu/dist/index.cjs +265 -373
- package/node_modules/@tiptap/extension-floating-menu/dist/index.cjs.map +1 -1
- package/node_modules/@tiptap/extension-floating-menu/dist/index.d.cts +161 -160
- package/node_modules/@tiptap/extension-floating-menu/dist/index.d.cts.map +1 -0
- package/node_modules/@tiptap/extension-floating-menu/dist/index.d.ts +161 -160
- package/node_modules/@tiptap/extension-floating-menu/dist/index.d.ts.map +1 -0
- package/node_modules/@tiptap/extension-floating-menu/dist/index.js +258 -354
- package/node_modules/@tiptap/extension-floating-menu/dist/index.js.map +1 -1
- package/node_modules/@tiptap/extension-floating-menu/package.json +23 -21
- package/node_modules/@tiptap/extension-floating-menu/src/floating-menu-plugin.ts +66 -11
- package/node_modules/@tiptap/extension-mention/dist/index.cjs +232 -268
- package/node_modules/@tiptap/extension-mention/dist/index.cjs.map +1 -1
- package/node_modules/@tiptap/extension-mention/dist/index.d.cts +85 -84
- package/node_modules/@tiptap/extension-mention/dist/index.d.cts.map +1 -0
- package/node_modules/@tiptap/extension-mention/dist/index.d.ts +85 -84
- package/node_modules/@tiptap/extension-mention/dist/index.d.ts.map +1 -0
- package/node_modules/@tiptap/extension-mention/dist/index.js +226 -240
- package/node_modules/@tiptap/extension-mention/dist/index.js.map +1 -1
- package/node_modules/@tiptap/extension-mention/package.json +24 -22
- package/node_modules/@tiptap/extension-mention/src/mention.ts +23 -13
- package/node_modules/@tiptap/pm/README.md +1 -1
- package/node_modules/{prosemirror-markdown/LICENSE → @tiptap/pm/THIRD_PARTY_LICENSES.md} +28 -0
- package/node_modules/@tiptap/pm/dist/changeset/index.cjs +9 -2
- package/node_modules/@tiptap/pm/dist/changeset/index.d.cts +1 -18
- package/node_modules/@tiptap/pm/dist/changeset/index.d.ts +1 -18
- package/node_modules/@tiptap/pm/dist/changeset/index.js +1 -1
- package/node_modules/@tiptap/pm/dist/commands/index.cjs +9 -2
- package/node_modules/@tiptap/pm/dist/commands/index.d.cts +1 -1
- package/node_modules/@tiptap/pm/dist/commands/index.d.ts +1 -1
- package/node_modules/@tiptap/pm/dist/commands/index.js +1 -1
- package/node_modules/@tiptap/pm/dist/dropcursor/index.cjs +9 -2
- package/node_modules/@tiptap/pm/dist/dropcursor/index.d.cts +1 -1
- package/node_modules/@tiptap/pm/dist/dropcursor/index.d.ts +1 -1
- package/node_modules/@tiptap/pm/dist/dropcursor/index.js +1 -1
- package/node_modules/@tiptap/pm/dist/gapcursor/index.cjs +9 -2
- package/node_modules/@tiptap/pm/dist/gapcursor/index.d.cts +1 -1
- package/node_modules/@tiptap/pm/dist/gapcursor/index.d.ts +1 -1
- package/node_modules/@tiptap/pm/dist/gapcursor/index.js +1 -1
- package/node_modules/@tiptap/pm/dist/history/index.cjs +9 -2
- package/node_modules/@tiptap/pm/dist/history/index.d.cts +1 -1
- package/node_modules/@tiptap/pm/dist/history/index.d.ts +1 -1
- package/node_modules/@tiptap/pm/dist/history/index.js +1 -1
- package/node_modules/@tiptap/pm/dist/inputrules/index.cjs +9 -2
- package/node_modules/@tiptap/pm/dist/inputrules/index.d.cts +1 -1
- package/node_modules/@tiptap/pm/dist/inputrules/index.d.ts +1 -1
- package/node_modules/@tiptap/pm/dist/inputrules/index.js +1 -1
- package/node_modules/@tiptap/pm/dist/keymap/index.cjs +9 -2
- package/node_modules/@tiptap/pm/dist/keymap/index.d.cts +1 -1
- package/node_modules/@tiptap/pm/dist/keymap/index.d.ts +1 -1
- package/node_modules/@tiptap/pm/dist/keymap/index.js +1 -1
- package/node_modules/@tiptap/pm/dist/model/index.cjs +9 -2
- package/node_modules/@tiptap/pm/dist/model/index.d.cts +1 -1
- package/node_modules/@tiptap/pm/dist/model/index.d.ts +1 -1
- package/node_modules/@tiptap/pm/dist/model/index.js +1 -1
- package/node_modules/@tiptap/pm/dist/schema-list/index.cjs +9 -2
- package/node_modules/@tiptap/pm/dist/schema-list/index.d.cts +1 -1
- package/node_modules/@tiptap/pm/dist/schema-list/index.d.ts +1 -1
- package/node_modules/@tiptap/pm/dist/schema-list/index.js +1 -1
- package/node_modules/@tiptap/pm/dist/state/index.cjs +9 -2
- package/node_modules/@tiptap/pm/dist/state/index.d.cts +1 -1
- package/node_modules/@tiptap/pm/dist/state/index.d.ts +1 -1
- package/node_modules/@tiptap/pm/dist/state/index.js +1 -1
- package/node_modules/@tiptap/pm/dist/tables/index.cjs +9 -2
- package/node_modules/@tiptap/pm/dist/tables/index.d.cts +1 -1
- package/node_modules/@tiptap/pm/dist/tables/index.d.ts +1 -1
- package/node_modules/@tiptap/pm/dist/tables/index.js +1 -1
- package/node_modules/@tiptap/pm/dist/transform/index.cjs +9 -2
- package/node_modules/@tiptap/pm/dist/transform/index.d.cts +1 -1
- package/node_modules/@tiptap/pm/dist/transform/index.d.ts +1 -1
- package/node_modules/@tiptap/pm/dist/transform/index.js +1 -1
- package/node_modules/@tiptap/pm/dist/view/index.cjs +9 -2
- package/node_modules/@tiptap/pm/dist/view/index.d.cts +1 -1
- package/node_modules/@tiptap/pm/dist/view/index.d.ts +1 -1
- package/node_modules/@tiptap/pm/dist/view/index.js +1 -1
- package/node_modules/@tiptap/pm/package.json +54 -99
- package/node_modules/@tiptap/react/dist/index.cjs +1243 -1141
- package/node_modules/@tiptap/react/dist/index.cjs.map +1 -1
- package/node_modules/@tiptap/react/dist/index.d.cts +396 -294
- package/node_modules/@tiptap/react/dist/index.d.cts.map +1 -0
- package/node_modules/@tiptap/react/dist/index.d.ts +396 -294
- package/node_modules/@tiptap/react/dist/index.d.ts.map +1 -0
- package/node_modules/@tiptap/react/dist/index.js +1188 -1081
- package/node_modules/@tiptap/react/dist/index.js.map +1 -1
- package/node_modules/@tiptap/react/dist/menus/index.cjs +420 -450
- package/node_modules/@tiptap/react/dist/menus/index.cjs.map +1 -1
- package/node_modules/@tiptap/react/dist/menus/index.d.cts +13 -11
- package/node_modules/@tiptap/react/dist/menus/index.d.cts.map +1 -0
- package/node_modules/@tiptap/react/dist/menus/index.d.ts +13 -11
- package/node_modules/@tiptap/react/dist/menus/index.d.ts.map +1 -0
- package/node_modules/@tiptap/react/dist/menus/index.js +399 -416
- package/node_modules/@tiptap/react/dist/menus/index.js.map +1 -1
- package/node_modules/@tiptap/react/package.json +29 -27
- package/node_modules/@tiptap/react/src/Context.tsx +3 -1
- package/node_modules/@tiptap/react/src/Editor.ts +4 -1
- package/node_modules/@tiptap/react/src/EditorContent.spec.ts +39 -0
- package/node_modules/@tiptap/react/src/EditorContent.tsx +26 -41
- package/node_modules/@tiptap/react/src/ReactMarkViewRenderer.tsx +18 -10
- package/node_modules/@tiptap/react/src/ReactNodeViewRenderer.spec.ts +415 -0
- package/node_modules/@tiptap/react/src/ReactNodeViewRenderer.tsx +126 -24
- package/node_modules/@tiptap/react/src/ReactRenderer.tsx +30 -8
- package/node_modules/@tiptap/react/src/ReactWidgetRenderer.spec.ts +448 -0
- package/node_modules/@tiptap/react/src/ReactWidgetRenderer.tsx +97 -0
- package/node_modules/@tiptap/react/src/Tiptap.tsx +22 -15
- package/node_modules/@tiptap/react/src/captureDOMSelection.spec.ts +76 -0
- package/node_modules/@tiptap/react/src/captureDOMSelection.ts +35 -0
- package/node_modules/@tiptap/react/src/index.ts +3 -0
- package/node_modules/@tiptap/react/src/menus/BubbleMenu.spec.ts +7 -3
- package/node_modules/@tiptap/react/src/menus/BubbleMenu.tsx +10 -3
- package/node_modules/@tiptap/react/src/menus/FloatingMenu.spec.ts +7 -3
- package/node_modules/@tiptap/react/src/menus/FloatingMenu.tsx +28 -4
- package/node_modules/@tiptap/react/src/menus/index.ts +2 -0
- package/node_modules/@tiptap/react/src/menus/useMenuElementProps.ts +18 -3
- package/node_modules/@tiptap/react/src/use-client.spec.ts +26 -0
- package/node_modules/@tiptap/react/src/useEditor.ts +30 -33
- package/node_modules/@tiptap/react/src/useEditorState.spec.ts +121 -0
- package/node_modules/@tiptap/react/src/useEditorState.ts +17 -3
- package/node_modules/@tiptap/react/src/useReactNodeView.ts +12 -2
- package/node_modules/@tiptap/suggestion/dist/index.cjs +657 -361
- package/node_modules/@tiptap/suggestion/dist/index.cjs.map +1 -1
- package/node_modules/@tiptap/suggestion/dist/index.d.cts +395 -189
- package/node_modules/@tiptap/suggestion/dist/index.d.cts.map +1 -0
- package/node_modules/@tiptap/suggestion/dist/index.d.ts +395 -189
- package/node_modules/@tiptap/suggestion/dist/index.d.ts.map +1 -0
- package/node_modules/@tiptap/suggestion/dist/index.js +648 -330
- package/node_modules/@tiptap/suggestion/dist/index.js.map +1 -1
- package/node_modules/@tiptap/suggestion/package.json +25 -21
- package/node_modules/@tiptap/suggestion/src/__tests__/suggestion.test.ts +1123 -2
- package/node_modules/@tiptap/suggestion/src/findSuggestionMatch.ts +8 -1
- package/node_modules/@tiptap/suggestion/src/helpers.ts +129 -0
- package/node_modules/@tiptap/suggestion/src/plugin/async.ts +89 -0
- package/node_modules/@tiptap/suggestion/src/plugin/floating-ui.ts +204 -0
- package/node_modules/@tiptap/suggestion/src/plugin/props.ts +94 -0
- package/node_modules/@tiptap/suggestion/src/plugin/state.ts +182 -0
- package/node_modules/@tiptap/suggestion/src/plugin/view.ts +236 -0
- package/node_modules/@tiptap/suggestion/src/suggestion.ts +101 -535
- package/node_modules/@tiptap/suggestion/src/types.ts +439 -0
- package/node_modules/prosemirror-changeset/CHANGELOG.md +36 -0
- package/node_modules/prosemirror-changeset/README.md +1 -1
- package/node_modules/prosemirror-changeset/dist/index.cjs +35 -24
- package/node_modules/prosemirror-changeset/dist/index.d.cts +2 -1
- package/node_modules/prosemirror-changeset/dist/index.d.ts +2 -1
- package/node_modules/prosemirror-changeset/dist/index.js +23 -8
- package/node_modules/prosemirror-changeset/package.json +2 -2
- package/node_modules/prosemirror-changeset/src/README.md +1 -1
- package/node_modules/prosemirror-changeset/src/diff.ts +21 -8
- package/node_modules/prosemirror-changeset/src/simplify.ts +1 -1
- package/node_modules/prosemirror-changeset/test/test-diff.ts +26 -0
- package/node_modules/prosemirror-changeset/test/test-simplify.ts +3 -0
- package/node_modules/prosemirror-commands/CHANGELOG.md +6 -0
- package/node_modules/prosemirror-commands/CONTRIBUTING.md +19 -19
- package/node_modules/prosemirror-commands/README.md +3 -3
- package/node_modules/prosemirror-commands/dist/index.cjs +23 -22
- package/node_modules/prosemirror-commands/dist/index.js +11 -9
- package/node_modules/prosemirror-commands/package.json +2 -2
- package/node_modules/prosemirror-commands/src/commands.ts +11 -8
- package/node_modules/prosemirror-dropcursor/CHANGELOG.md +12 -0
- package/node_modules/prosemirror-dropcursor/CONTRIBUTING.md +22 -18
- package/node_modules/prosemirror-dropcursor/README.md +3 -3
- package/node_modules/prosemirror-dropcursor/dist/index.cjs +25 -10
- package/node_modules/prosemirror-dropcursor/dist/index.js +30 -13
- package/node_modules/prosemirror-dropcursor/package.json +2 -2
- package/node_modules/prosemirror-dropcursor/src/dropcursor.ts +26 -10
- package/node_modules/prosemirror-history/CHANGELOG.md +12 -0
- package/node_modules/prosemirror-history/CONTRIBUTING.md +19 -19
- package/node_modules/prosemirror-history/README.md +3 -3
- package/node_modules/prosemirror-history/dist/index.cjs +32 -11
- package/node_modules/prosemirror-history/dist/index.js +21 -4
- package/node_modules/prosemirror-history/package.json +2 -2
- package/node_modules/prosemirror-history/src/history.ts +24 -5
- package/node_modules/prosemirror-model/CHANGELOG.md +58 -0
- package/node_modules/prosemirror-model/CONTRIBUTING.md +19 -19
- package/node_modules/prosemirror-model/README.md +3 -3
- package/node_modules/prosemirror-model/dist/index.cjs +117 -110
- package/node_modules/prosemirror-model/dist/index.d.cts +36 -30
- package/node_modules/prosemirror-model/dist/index.d.ts +36 -30
- package/node_modules/prosemirror-model/dist/index.js +67 -56
- package/node_modules/prosemirror-model/package.json +2 -2
- package/node_modules/prosemirror-model/src/diff.ts +10 -5
- package/node_modules/prosemirror-model/src/fragment.ts +1 -1
- package/node_modules/prosemirror-model/src/from_dom.ts +5 -2
- package/node_modules/prosemirror-model/src/mark.ts +0 -1
- package/node_modules/prosemirror-model/src/node.ts +30 -10
- package/node_modules/prosemirror-model/src/replace.ts +8 -16
- package/node_modules/prosemirror-model/src/schema.ts +15 -28
- package/node_modules/prosemirror-model/src/to_dom.ts +24 -20
- package/node_modules/prosemirror-transform/CHANGELOG.md +56 -0
- package/node_modules/prosemirror-transform/CONTRIBUTING.md +19 -19
- package/node_modules/prosemirror-transform/README.md +3 -3
- package/node_modules/prosemirror-transform/dist/index.cjs +288 -176
- package/node_modules/prosemirror-transform/dist/index.d.cts +14 -4
- package/node_modules/prosemirror-transform/dist/index.d.ts +14 -4
- package/node_modules/prosemirror-transform/dist/index.js +156 -55
- package/node_modules/prosemirror-transform/package.json +2 -2
- package/node_modules/prosemirror-transform/src/attr_step.ts +1 -1
- package/node_modules/prosemirror-transform/src/map.ts +11 -6
- package/node_modules/prosemirror-transform/src/mark.ts +4 -21
- package/node_modules/prosemirror-transform/src/mark_step.ts +81 -10
- package/node_modules/prosemirror-transform/src/replace.ts +31 -9
- package/node_modules/prosemirror-transform/src/replace_step.ts +11 -2
- package/node_modules/prosemirror-transform/src/structure.ts +15 -9
- package/node_modules/prosemirror-view/CHANGELOG.md +52 -2
- package/node_modules/prosemirror-view/CONTRIBUTING.md +19 -19
- package/node_modules/prosemirror-view/README.md +3 -3
- package/node_modules/prosemirror-view/dist/index.cjs +287 -183
- package/node_modules/prosemirror-view/dist/index.d.cts +10 -2
- package/node_modules/prosemirror-view/dist/index.d.ts +10 -2
- package/node_modules/prosemirror-view/dist/index.js +180 -93
- package/node_modules/prosemirror-view/package.json +3 -3
- package/node_modules/prosemirror-view/src/clipboard.ts +21 -5
- package/node_modules/prosemirror-view/src/domchange.ts +8 -18
- package/node_modules/prosemirror-view/src/domcoords.ts +4 -1
- package/node_modules/prosemirror-view/src/domobserver.ts +4 -1
- package/node_modules/prosemirror-view/src/index.ts +4 -3
- package/node_modules/prosemirror-view/src/input.ts +96 -41
- package/node_modules/prosemirror-view/src/selection.ts +6 -6
- package/node_modules/prosemirror-view/src/viewdesc.ts +48 -23
- package/node_modules/prosemirror-view/style/prosemirror.css +1 -1
- package/package.json +19 -55
- package/dist/chunk-GZWQVVE7.js.map +0 -1
- package/node_modules/@remirror/core-constants/LICENSE +0 -21
- package/node_modules/@remirror/core-constants/dist/_tsup-dts-rollup.d.cts +0 -612
- package/node_modules/@remirror/core-constants/dist/_tsup-dts-rollup.d.ts +0 -612
- package/node_modules/@remirror/core-constants/dist/remirror-core-constants.cjs +0 -314
- package/node_modules/@remirror/core-constants/dist/remirror-core-constants.d.cts +0 -20
- package/node_modules/@remirror/core-constants/dist/remirror-core-constants.d.ts +0 -20
- package/node_modules/@remirror/core-constants/dist/remirror-core-constants.js +0 -269
- package/node_modules/@remirror/core-constants/dist-types/core-constants.d.ts +0 -431
- package/node_modules/@remirror/core-constants/dist-types/error-constants.d.ts +0 -119
- package/node_modules/@remirror/core-constants/dist-types/index.d.ts +0 -2
- package/node_modules/@remirror/core-constants/dist-types/tsconfig.tsbuildinfo +0 -1
- package/node_modules/@remirror/core-constants/package.json +0 -45
- package/node_modules/@remirror/core-constants/readme.md +0 -17
- package/node_modules/@tiptap/core/src/utilities/markdown/attributeUtils.ts +0 -130
- package/node_modules/@tiptap/pm/collab/index.ts +0 -1
- package/node_modules/@tiptap/pm/dist/collab/index.cjs +0 -2
- package/node_modules/@tiptap/pm/dist/collab/index.d.cts +0 -1
- package/node_modules/@tiptap/pm/dist/collab/index.d.ts +0 -1
- package/node_modules/@tiptap/pm/dist/collab/index.js +0 -2
- package/node_modules/@tiptap/pm/dist/markdown/index.cjs +0 -2
- package/node_modules/@tiptap/pm/dist/markdown/index.d.cts +0 -1
- package/node_modules/@tiptap/pm/dist/markdown/index.d.ts +0 -1
- package/node_modules/@tiptap/pm/dist/markdown/index.js +0 -2
- package/node_modules/@tiptap/pm/dist/menu/index.cjs +0 -2
- package/node_modules/@tiptap/pm/dist/menu/index.d.cts +0 -1
- package/node_modules/@tiptap/pm/dist/menu/index.d.ts +0 -1
- package/node_modules/@tiptap/pm/dist/menu/index.js +0 -2
- package/node_modules/@tiptap/pm/dist/schema-basic/index.cjs +0 -2
- package/node_modules/@tiptap/pm/dist/schema-basic/index.d.cts +0 -1
- package/node_modules/@tiptap/pm/dist/schema-basic/index.d.ts +0 -1
- package/node_modules/@tiptap/pm/dist/schema-basic/index.js +0 -2
- package/node_modules/@tiptap/pm/dist/trailing-node/index.cjs +0 -2
- package/node_modules/@tiptap/pm/dist/trailing-node/index.d.cts +0 -1
- package/node_modules/@tiptap/pm/dist/trailing-node/index.d.ts +0 -1
- package/node_modules/@tiptap/pm/dist/trailing-node/index.js +0 -2
- package/node_modules/@tiptap/pm/markdown/index.ts +0 -1
- package/node_modules/@tiptap/pm/menu/index.ts +0 -1
- package/node_modules/@tiptap/pm/schema-basic/index.ts +0 -1
- package/node_modules/@tiptap/pm/trailing-node/index.ts +0 -1
- package/node_modules/@types/linkify-it/LICENSE +0 -21
- package/node_modules/@types/linkify-it/README.md +0 -15
- package/node_modules/@types/linkify-it/build/index.cjs.d.ts +0 -178
- package/node_modules/@types/linkify-it/index.d.mts +0 -174
- package/node_modules/@types/linkify-it/index.d.ts +0 -3
- package/node_modules/@types/linkify-it/package.json +0 -50
- package/node_modules/@types/markdown-it/LICENSE +0 -21
- package/node_modules/@types/markdown-it/README.md +0 -15
- package/node_modules/@types/markdown-it/dist/index.cjs.d.ts +0 -1236
- package/node_modules/@types/markdown-it/dist/markdown-it.d.ts +0 -5
- package/node_modules/@types/markdown-it/dist/markdown-it.min.d.ts +0 -5
- package/node_modules/@types/markdown-it/index.d.mts +0 -1
- package/node_modules/@types/markdown-it/index.d.ts +0 -3
- package/node_modules/@types/markdown-it/lib/common/html_blocks.d.mts +0 -7
- package/node_modules/@types/markdown-it/lib/common/html_re.d.mts +0 -2
- package/node_modules/@types/markdown-it/lib/common/utils.d.mts +0 -62
- package/node_modules/@types/markdown-it/lib/helpers/index.d.mts +0 -5
- package/node_modules/@types/markdown-it/lib/helpers/parse_link_destination.d.mts +0 -7
- package/node_modules/@types/markdown-it/lib/helpers/parse_link_label.d.mts +0 -3
- package/node_modules/@types/markdown-it/lib/helpers/parse_link_title.d.mts +0 -29
- package/node_modules/@types/markdown-it/lib/index.d.mts +0 -404
- package/node_modules/@types/markdown-it/lib/parser_block.d.mts +0 -25
- package/node_modules/@types/markdown-it/lib/parser_core.d.mts +0 -18
- package/node_modules/@types/markdown-it/lib/parser_inline.d.mts +0 -38
- package/node_modules/@types/markdown-it/lib/renderer.d.mts +0 -96
- package/node_modules/@types/markdown-it/lib/ruler.d.mts +0 -158
- package/node_modules/@types/markdown-it/lib/rules_block/state_block.d.mts +0 -124
- package/node_modules/@types/markdown-it/lib/rules_core/state_core.d.mts +0 -18
- package/node_modules/@types/markdown-it/lib/rules_inline/state_inline.d.mts +0 -73
- package/node_modules/@types/markdown-it/lib/token.d.mts +0 -108
- package/node_modules/@types/markdown-it/package.json +0 -54
- package/node_modules/@types/mdurl/LICENSE +0 -21
- package/node_modules/@types/mdurl/README.md +0 -15
- package/node_modules/@types/mdurl/build/index.cjs.d.ts +0 -52
- package/node_modules/@types/mdurl/index.d.mts +0 -6
- package/node_modules/@types/mdurl/index.d.ts +0 -3
- package/node_modules/@types/mdurl/lib/decode.d.mts +0 -10
- package/node_modules/@types/mdurl/lib/encode.d.mts +0 -15
- package/node_modules/@types/mdurl/lib/format.d.mts +0 -3
- package/node_modules/@types/mdurl/lib/parse.d.mts +0 -18
- package/node_modules/@types/mdurl/package.json +0 -36
- package/node_modules/argparse/LICENSE +0 -254
- package/node_modules/argparse/README.md +0 -84
- package/node_modules/argparse/argparse.js +0 -3707
- package/node_modules/argparse/lib/sub.js +0 -67
- package/node_modules/argparse/lib/textwrap.js +0 -440
- package/node_modules/argparse/package.json +0 -31
- package/node_modules/crelt/LICENSE +0 -19
- package/node_modules/crelt/README.md +0 -23
- package/node_modules/crelt/dist/index.cjs +0 -31
- package/node_modules/crelt/dist/index.d.cts +0 -4
- package/node_modules/crelt/index.d.ts +0 -4
- package/node_modules/crelt/index.js +0 -28
- package/node_modules/crelt/package.json +0 -35
- package/node_modules/crelt/rollup.config.js +0 -13
- package/node_modules/entities/LICENSE +0 -11
- package/node_modules/entities/lib/decode.d.ts +0 -211
- package/node_modules/entities/lib/decode.d.ts.map +0 -1
- package/node_modules/entities/lib/decode.js +0 -536
- package/node_modules/entities/lib/decode.js.map +0 -1
- package/node_modules/entities/lib/decode_codepoint.d.ts +0 -19
- package/node_modules/entities/lib/decode_codepoint.d.ts.map +0 -1
- package/node_modules/entities/lib/decode_codepoint.js +0 -76
- package/node_modules/entities/lib/decode_codepoint.js.map +0 -1
- package/node_modules/entities/lib/encode.d.ts +0 -22
- package/node_modules/entities/lib/encode.d.ts.map +0 -1
- package/node_modules/entities/lib/encode.js +0 -77
- package/node_modules/entities/lib/encode.js.map +0 -1
- package/node_modules/entities/lib/escape.d.ts +0 -43
- package/node_modules/entities/lib/escape.d.ts.map +0 -1
- package/node_modules/entities/lib/escape.js +0 -122
- package/node_modules/entities/lib/escape.js.map +0 -1
- package/node_modules/entities/lib/esm/decode.d.ts +0 -211
- package/node_modules/entities/lib/esm/decode.d.ts.map +0 -1
- package/node_modules/entities/lib/esm/decode.js +0 -496
- package/node_modules/entities/lib/esm/decode.js.map +0 -1
- package/node_modules/entities/lib/esm/decode_codepoint.d.ts +0 -19
- package/node_modules/entities/lib/esm/decode_codepoint.d.ts.map +0 -1
- package/node_modules/entities/lib/esm/decode_codepoint.js +0 -71
- package/node_modules/entities/lib/esm/decode_codepoint.js.map +0 -1
- package/node_modules/entities/lib/esm/encode.d.ts +0 -22
- package/node_modules/entities/lib/esm/encode.d.ts.map +0 -1
- package/node_modules/entities/lib/esm/encode.js +0 -69
- package/node_modules/entities/lib/esm/encode.js.map +0 -1
- package/node_modules/entities/lib/esm/escape.d.ts +0 -43
- package/node_modules/entities/lib/esm/escape.d.ts.map +0 -1
- package/node_modules/entities/lib/esm/escape.js +0 -116
- package/node_modules/entities/lib/esm/escape.js.map +0 -1
- package/node_modules/entities/lib/esm/generated/decode-data-html.d.ts +0 -3
- package/node_modules/entities/lib/esm/generated/decode-data-html.d.ts.map +0 -1
- package/node_modules/entities/lib/esm/generated/decode-data-html.js +0 -7
- package/node_modules/entities/lib/esm/generated/decode-data-html.js.map +0 -1
- package/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts +0 -3
- package/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts.map +0 -1
- package/node_modules/entities/lib/esm/generated/decode-data-xml.js +0 -7
- package/node_modules/entities/lib/esm/generated/decode-data-xml.js.map +0 -1
- package/node_modules/entities/lib/esm/generated/encode-html.d.ts +0 -8
- package/node_modules/entities/lib/esm/generated/encode-html.d.ts.map +0 -1
- package/node_modules/entities/lib/esm/generated/encode-html.js +0 -10
- package/node_modules/entities/lib/esm/generated/encode-html.js.map +0 -1
- package/node_modules/entities/lib/esm/index.d.ts +0 -96
- package/node_modules/entities/lib/esm/index.d.ts.map +0 -1
- package/node_modules/entities/lib/esm/index.js +0 -99
- package/node_modules/entities/lib/esm/index.js.map +0 -1
- package/node_modules/entities/lib/esm/package.json +0 -1
- package/node_modules/entities/lib/generated/decode-data-html.d.ts +0 -3
- package/node_modules/entities/lib/generated/decode-data-html.d.ts.map +0 -1
- package/node_modules/entities/lib/generated/decode-data-html.js +0 -9
- package/node_modules/entities/lib/generated/decode-data-html.js.map +0 -1
- package/node_modules/entities/lib/generated/decode-data-xml.d.ts +0 -3
- package/node_modules/entities/lib/generated/decode-data-xml.d.ts.map +0 -1
- package/node_modules/entities/lib/generated/decode-data-xml.js +0 -9
- package/node_modules/entities/lib/generated/decode-data-xml.js.map +0 -1
- package/node_modules/entities/lib/generated/encode-html.d.ts +0 -8
- package/node_modules/entities/lib/generated/encode-html.d.ts.map +0 -1
- package/node_modules/entities/lib/generated/encode-html.js +0 -12
- package/node_modules/entities/lib/generated/encode-html.js.map +0 -1
- package/node_modules/entities/lib/index.d.ts +0 -96
- package/node_modules/entities/lib/index.d.ts.map +0 -1
- package/node_modules/entities/lib/index.js +0 -126
- package/node_modules/entities/lib/index.js.map +0 -1
- package/node_modules/entities/package.json +0 -90
- package/node_modules/entities/readme.md +0 -122
- package/node_modules/escape-string-regexp/index.d.ts +0 -18
- package/node_modules/escape-string-regexp/index.js +0 -13
- package/node_modules/escape-string-regexp/license +0 -9
- package/node_modules/escape-string-regexp/package.json +0 -38
- package/node_modules/escape-string-regexp/readme.md +0 -34
- package/node_modules/linkify-it/LICENSE +0 -22
- package/node_modules/linkify-it/README.md +0 -196
- package/node_modules/linkify-it/build/index.cjs.js +0 -832
- package/node_modules/linkify-it/index.mjs +0 -642
- package/node_modules/linkify-it/lib/re.mjs +0 -189
- package/node_modules/linkify-it/package.json +0 -58
- package/node_modules/markdown-it/LICENSE +0 -22
- package/node_modules/markdown-it/README.md +0 -324
- package/node_modules/markdown-it/bin/markdown-it.mjs +0 -107
- package/node_modules/markdown-it/dist/index.cjs.js +0 -5547
- package/node_modules/markdown-it/dist/markdown-it.js +0 -6969
- package/node_modules/markdown-it/dist/markdown-it.min.js +0 -2
- package/node_modules/markdown-it/index.mjs +0 -1
- package/node_modules/markdown-it/lib/common/html_blocks.mjs +0 -67
- package/node_modules/markdown-it/lib/common/html_re.mjs +0 -25
- package/node_modules/markdown-it/lib/common/utils.mjs +0 -304
- package/node_modules/markdown-it/lib/helpers/index.mjs +0 -11
- package/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs +0 -77
- package/node_modules/markdown-it/lib/helpers/parse_link_label.mjs +0 -49
- package/node_modules/markdown-it/lib/helpers/parse_link_title.mjs +0 -66
- package/node_modules/markdown-it/lib/index.mjs +0 -565
- package/node_modules/markdown-it/lib/parser_block.mjs +0 -134
- package/node_modules/markdown-it/lib/parser_core.mjs +0 -62
- package/node_modules/markdown-it/lib/parser_inline.mjs +0 -197
- package/node_modules/markdown-it/lib/presets/commonmark.mjs +0 -88
- package/node_modules/markdown-it/lib/presets/default.mjs +0 -47
- package/node_modules/markdown-it/lib/presets/zero.mjs +0 -70
- package/node_modules/markdown-it/lib/renderer.mjs +0 -322
- package/node_modules/markdown-it/lib/ruler.mjs +0 -340
- package/node_modules/markdown-it/lib/rules_block/blockquote.mjs +0 -209
- package/node_modules/markdown-it/lib/rules_block/code.mjs +0 -30
- package/node_modules/markdown-it/lib/rules_block/fence.mjs +0 -94
- package/node_modules/markdown-it/lib/rules_block/heading.mjs +0 -51
- package/node_modules/markdown-it/lib/rules_block/hr.mjs +0 -40
- package/node_modules/markdown-it/lib/rules_block/html_block.mjs +0 -69
- package/node_modules/markdown-it/lib/rules_block/lheading.mjs +0 -82
- package/node_modules/markdown-it/lib/rules_block/list.mjs +0 -331
- package/node_modules/markdown-it/lib/rules_block/paragraph.mjs +0 -46
- package/node_modules/markdown-it/lib/rules_block/reference.mjs +0 -212
- package/node_modules/markdown-it/lib/rules_block/state_block.mjs +0 -220
- package/node_modules/markdown-it/lib/rules_block/table.mjs +0 -228
- package/node_modules/markdown-it/lib/rules_core/block.mjs +0 -13
- package/node_modules/markdown-it/lib/rules_core/inline.mjs +0 -11
- package/node_modules/markdown-it/lib/rules_core/linkify.mjs +0 -134
- package/node_modules/markdown-it/lib/rules_core/normalize.mjs +0 -17
- package/node_modules/markdown-it/lib/rules_core/replacements.mjs +0 -101
- package/node_modules/markdown-it/lib/rules_core/smartquotes.mjs +0 -193
- package/node_modules/markdown-it/lib/rules_core/state_core.mjs +0 -17
- package/node_modules/markdown-it/lib/rules_core/text_join.mjs +0 -43
- package/node_modules/markdown-it/lib/rules_inline/autolink.mjs +0 -72
- package/node_modules/markdown-it/lib/rules_inline/backticks.mjs +0 -60
- package/node_modules/markdown-it/lib/rules_inline/balance_pairs.mjs +0 -124
- package/node_modules/markdown-it/lib/rules_inline/emphasis.mjs +0 -123
- package/node_modules/markdown-it/lib/rules_inline/entity.mjs +0 -51
- package/node_modules/markdown-it/lib/rules_inline/escape.mjs +0 -69
- package/node_modules/markdown-it/lib/rules_inline/fragments_join.mjs +0 -38
- package/node_modules/markdown-it/lib/rules_inline/html_inline.mjs +0 -50
- package/node_modules/markdown-it/lib/rules_inline/image.mjs +0 -138
- package/node_modules/markdown-it/lib/rules_inline/link.mjs +0 -139
- package/node_modules/markdown-it/lib/rules_inline/linkify.mjs +0 -63
- package/node_modules/markdown-it/lib/rules_inline/newline.mjs +0 -42
- package/node_modules/markdown-it/lib/rules_inline/state_inline.mjs +0 -123
- package/node_modules/markdown-it/lib/rules_inline/strikethrough.mjs +0 -127
- package/node_modules/markdown-it/lib/rules_inline/text.mjs +0 -86
- package/node_modules/markdown-it/lib/token.mjs +0 -191
- package/node_modules/markdown-it/package.json +0 -92
- package/node_modules/mdurl/LICENSE +0 -45
- package/node_modules/mdurl/README.md +0 -102
- package/node_modules/mdurl/build/index.cjs.js +0 -534
- package/node_modules/mdurl/index.mjs +0 -11
- package/node_modules/mdurl/lib/decode.mjs +0 -112
- package/node_modules/mdurl/lib/encode.mjs +0 -89
- package/node_modules/mdurl/lib/format.mjs +0 -21
- package/node_modules/mdurl/lib/parse.mjs +0 -308
- package/node_modules/mdurl/package.json +0 -37
- package/node_modules/prosemirror-collab/.tern-project +0 -8
- package/node_modules/prosemirror-collab/CHANGELOG.md +0 -77
- package/node_modules/prosemirror-collab/CONTRIBUTING.md +0 -104
- package/node_modules/prosemirror-collab/LICENSE +0 -19
- package/node_modules/prosemirror-collab/README.md +0 -28
- package/node_modules/prosemirror-collab/dist/index.cjs +0 -155
- package/node_modules/prosemirror-collab/dist/index.d.cts +0 -60
- package/node_modules/prosemirror-collab/dist/index.d.ts +0 -60
- package/node_modules/prosemirror-collab/dist/index.js +0 -156
- package/node_modules/prosemirror-collab/package.json +0 -40
- package/node_modules/prosemirror-collab/src/README.md +0 -11
- package/node_modules/prosemirror-collab/src/collab.ts +0 -184
- package/node_modules/prosemirror-markdown/.tern-project +0 -8
- package/node_modules/prosemirror-markdown/CHANGELOG.md +0 -311
- package/node_modules/prosemirror-markdown/CONTRIBUTING.md +0 -100
- package/node_modules/prosemirror-markdown/README.md +0 -276
- package/node_modules/prosemirror-markdown/dist/index.cjs +0 -966
- package/node_modules/prosemirror-markdown/dist/index.d.cts +0 -335
- package/node_modules/prosemirror-markdown/dist/index.d.ts +0 -335
- package/node_modules/prosemirror-markdown/dist/index.js +0 -878
- package/node_modules/prosemirror-markdown/package.json +0 -40
- package/node_modules/prosemirror-markdown/src/README.md +0 -42
- package/node_modules/prosemirror-markdown/src/from_markdown.ts +0 -272
- package/node_modules/prosemirror-markdown/src/index.ts +0 -5
- package/node_modules/prosemirror-markdown/src/schema.ts +0 -156
- package/node_modules/prosemirror-markdown/src/to_markdown.ts +0 -483
- package/node_modules/prosemirror-menu/.tern-project +0 -8
- package/node_modules/prosemirror-menu/CHANGELOG.md +0 -107
- package/node_modules/prosemirror-menu/CONTRIBUTING.md +0 -100
- package/node_modules/prosemirror-menu/LICENSE +0 -19
- package/node_modules/prosemirror-menu/README.md +0 -235
- package/node_modules/prosemirror-menu/dist/index.cjs +0 -798
- package/node_modules/prosemirror-menu/dist/index.d.cts +0 -281
- package/node_modules/prosemirror-menu/dist/index.d.ts +0 -281
- package/node_modules/prosemirror-menu/dist/index.js +0 -795
- package/node_modules/prosemirror-menu/package.json +0 -42
- package/node_modules/prosemirror-menu/src/README.md +0 -60
- package/node_modules/prosemirror-menu/src/icons.ts +0 -53
- package/node_modules/prosemirror-menu/src/index.ts +0 -4
- package/node_modules/prosemirror-menu/src/menu.ts +0 -628
- package/node_modules/prosemirror-menu/src/menubar.ts +0 -210
- package/node_modules/prosemirror-menu/style/menu.css +0 -169
- package/node_modules/prosemirror-schema-basic/.tern-project +0 -8
- package/node_modules/prosemirror-schema-basic/CHANGELOG.md +0 -81
- package/node_modules/prosemirror-schema-basic/CONTRIBUTING.md +0 -100
- package/node_modules/prosemirror-schema-basic/LICENSE +0 -19
- package/node_modules/prosemirror-schema-basic/README.md +0 -28
- package/node_modules/prosemirror-schema-basic/dist/index.cjs +0 -246
- package/node_modules/prosemirror-schema-basic/dist/index.d.cts +0 -87
- package/node_modules/prosemirror-schema-basic/dist/index.d.ts +0 -87
- package/node_modules/prosemirror-schema-basic/dist/index.js +0 -183
- package/node_modules/prosemirror-schema-basic/package.json +0 -37
- package/node_modules/prosemirror-schema-basic/src/README.md +0 -8
- package/node_modules/prosemirror-schema-basic/src/schema-basic.ts +0 -166
- package/node_modules/prosemirror-trailing-node/LICENSE +0 -21
- package/node_modules/prosemirror-trailing-node/dist/_tsup-dts-rollup.d.cts +0 -41
- package/node_modules/prosemirror-trailing-node/dist/_tsup-dts-rollup.d.ts +0 -41
- package/node_modules/prosemirror-trailing-node/dist/prosemirror-trailing-node.cjs +0 -70
- package/node_modules/prosemirror-trailing-node/dist/prosemirror-trailing-node.d.cts +0 -2
- package/node_modules/prosemirror-trailing-node/dist/prosemirror-trailing-node.d.ts +0 -2
- package/node_modules/prosemirror-trailing-node/dist/prosemirror-trailing-node.js +0 -43
- package/node_modules/prosemirror-trailing-node/dist-types/index.d.ts +0 -2
- package/node_modules/prosemirror-trailing-node/dist-types/trailing-node-plugin.d.ts +0 -33
- package/node_modules/prosemirror-trailing-node/dist-types/tsconfig.tsbuildinfo +0 -1
- package/node_modules/prosemirror-trailing-node/package.json +0 -57
- package/node_modules/prosemirror-trailing-node/readme.md +0 -55
- package/node_modules/punycode.js/LICENSE-MIT.txt +0 -20
- package/node_modules/punycode.js/README.md +0 -148
- package/node_modules/punycode.js/package.json +0 -58
- package/node_modules/punycode.js/punycode.es6.js +0 -444
- package/node_modules/punycode.js/punycode.js +0 -443
- package/node_modules/uc.micro/LICENSE.txt +0 -20
- package/node_modules/uc.micro/README.md +0 -14
- package/node_modules/uc.micro/build/index.cjs.js +0 -20
- package/node_modules/uc.micro/categories/Cc/regex.mjs +0 -1
- package/node_modules/uc.micro/categories/Cf/regex.mjs +0 -1
- package/node_modules/uc.micro/categories/P/regex.mjs +0 -1
- package/node_modules/uc.micro/categories/S/regex.mjs +0 -1
- package/node_modules/uc.micro/categories/Z/regex.mjs +0 -1
- package/node_modules/uc.micro/index.mjs +0 -8
- package/node_modules/uc.micro/package.json +0 -37
- package/node_modules/uc.micro/properties/Any/regex.mjs +0 -1
- /package/dist/{chunk-AMWLYUD7.js.map → chunk-34YJQXTM.js.map} +0 -0
- /package/dist/{chunk-N2SQZ2HY.js.map → chunk-63G66FWM.js.map} +0 -0
- /package/dist/{chunk-HV3NKRZ2.js.map → chunk-7DG4JFRS.js.map} +0 -0
- /package/dist/{chunk-7UQ3RWAU.js.map → chunk-DNND32V4.js.map} +0 -0
- /package/dist/{chunk-C3G6F7UG.js.map → chunk-LFC3UTIJ.js.map} +0 -0
- /package/dist/{chunk-22JUW3EQ.js.map → chunk-NPDS3EEK.js.map} +0 -0
- /package/dist/{chunk-XRNHTA7C.js.map → chunk-XCASYOA6.js.map} +0 -0
- /package/node_modules/@tiptap/pm/{LICENSE.md → LICENSE} +0 -0
|
@@ -1,431 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The css class added to a node that is selected.
|
|
3
|
-
*/
|
|
4
|
-
export declare const SELECTED_NODE_CLASS_NAME = "ProseMirror-selectednode";
|
|
5
|
-
/**
|
|
6
|
-
* The css selector for a selected node.
|
|
7
|
-
*/
|
|
8
|
-
export declare const SELECTED_NODE_CLASS_SELECTOR: string;
|
|
9
|
-
/**
|
|
10
|
-
* ProseMirror uses the Unicode Character 'OBJECT REPLACEMENT CHARACTER'
|
|
11
|
-
* (U+FFFC) as text representation for leaf nodes, i.e. nodes that don't have
|
|
12
|
-
* any content or text property (e.g. hardBreak, emoji, mention, rule) It was
|
|
13
|
-
* introduced because of https://github.com/ProseMirror/prosemirror/issues/262
|
|
14
|
-
* This can be used in an input rule regex to be able to include or exclude such
|
|
15
|
-
* nodes.
|
|
16
|
-
*/
|
|
17
|
-
export declare const LEAF_NODE_REPLACING_CHARACTER = "\uFFFC";
|
|
18
|
-
/**
|
|
19
|
-
* The null character.
|
|
20
|
-
*
|
|
21
|
-
* See {@link https://stackoverflow.com/a/6380172}
|
|
22
|
-
*/
|
|
23
|
-
export declare const NULL_CHARACTER = "\0";
|
|
24
|
-
/**
|
|
25
|
-
* Indicates that a state update was caused by an override and not via
|
|
26
|
-
* transactions or user commands.
|
|
27
|
-
*
|
|
28
|
-
* This is the case when `setContent` is called and for all `controlled` updates
|
|
29
|
-
* within a `react` editor instance.
|
|
30
|
-
*/
|
|
31
|
-
export declare const STATE_OVERRIDE = "__state_override__";
|
|
32
|
-
/**
|
|
33
|
-
* The global name for the module exported by the remirror webview bundle.
|
|
34
|
-
*/
|
|
35
|
-
export declare const REMIRROR_WEBVIEW_NAME = "$$__REMIRROR_WEBVIEW_BUNDLE__$$";
|
|
36
|
-
/**
|
|
37
|
-
* A character useful for separating inline nodes.
|
|
38
|
-
*
|
|
39
|
-
* @remarks
|
|
40
|
-
* Typically used in decorations as follows.
|
|
41
|
-
*
|
|
42
|
-
* ```ts
|
|
43
|
-
* document.createTextNode(ZERO_WIDTH_SPACE_CHAR);
|
|
44
|
-
* ```
|
|
45
|
-
*
|
|
46
|
-
* This produces the html entity '8203'
|
|
47
|
-
*/
|
|
48
|
-
export declare const ZERO_WIDTH_SPACE_CHAR = "\u200B";
|
|
49
|
-
/**
|
|
50
|
-
* The non breaking space character.
|
|
51
|
-
*/
|
|
52
|
-
export declare const NON_BREAKING_SPACE_CHAR = "\u00A0";
|
|
53
|
-
/**
|
|
54
|
-
* A default empty object node. Useful for resetting the content of a
|
|
55
|
-
* prosemirror document.
|
|
56
|
-
*/
|
|
57
|
-
export declare const EMPTY_PARAGRAPH_NODE: {
|
|
58
|
-
type: string;
|
|
59
|
-
content: {
|
|
60
|
-
type: string;
|
|
61
|
-
}[];
|
|
62
|
-
};
|
|
63
|
-
export declare const EMPTY_NODE: {
|
|
64
|
-
type: string;
|
|
65
|
-
content: never[];
|
|
66
|
-
};
|
|
67
|
-
/**
|
|
68
|
-
* The type for the extension tags..
|
|
69
|
-
*/
|
|
70
|
-
export type ExtensionTag = Remirror.ExtensionTags & typeof BaseExtensionTag;
|
|
71
|
-
/**
|
|
72
|
-
* A method for updating the extension tags.
|
|
73
|
-
*
|
|
74
|
-
* ```tsx
|
|
75
|
-
* import { ExtensionTag, mutateTag } from 'remirror';
|
|
76
|
-
*
|
|
77
|
-
* mutateTag((tag) => {
|
|
78
|
-
* tag.SuperCustom = 'superCustom';
|
|
79
|
-
* });
|
|
80
|
-
*
|
|
81
|
-
* declare global {
|
|
82
|
-
* namespace Remirror {
|
|
83
|
-
* interface ExtensionTag {
|
|
84
|
-
* SuperCustom: 'superCustom';
|
|
85
|
-
* }
|
|
86
|
-
* }
|
|
87
|
-
* }
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
* log(ExtensionTag.SuperCustom); // This is fine ✅
|
|
91
|
-
* log(ExtensionTag.NotDefined); // This will throw ❌
|
|
92
|
-
* ```
|
|
93
|
-
*/
|
|
94
|
-
export declare function mutateTag(mutator: (Tag: ExtensionTag) => void): void;
|
|
95
|
-
declare const BaseExtensionTag: {
|
|
96
|
-
/**
|
|
97
|
-
* Describes a node that can be used as the last node of a document and
|
|
98
|
-
* doesn't need to have anything else rendered after itself.
|
|
99
|
-
*
|
|
100
|
-
* @remarks
|
|
101
|
-
*
|
|
102
|
-
* e.g. `paragraph`
|
|
103
|
-
*/
|
|
104
|
-
readonly LastNodeCompatible: "lastNodeCompatible";
|
|
105
|
-
/**
|
|
106
|
-
* A mark that is used to change the formatting of the node it wraps.
|
|
107
|
-
*
|
|
108
|
-
* @remarks
|
|
109
|
-
*
|
|
110
|
-
* e.g. `bold`, `italic`
|
|
111
|
-
*/
|
|
112
|
-
readonly FormattingMark: "formattingMark";
|
|
113
|
-
/**
|
|
114
|
-
* A node that formats text in a non-standard way.
|
|
115
|
-
*
|
|
116
|
-
* @remarks
|
|
117
|
-
*
|
|
118
|
-
* e.g. `codeBlock`, `heading`, `blockquote`
|
|
119
|
-
*/
|
|
120
|
-
readonly FormattingNode: "formattingNode";
|
|
121
|
-
/**
|
|
122
|
-
* Identifies a node which has problems with cursor navigation.
|
|
123
|
-
*
|
|
124
|
-
* @remarks
|
|
125
|
-
*
|
|
126
|
-
* When this tag is added to an extension this will be picked up by
|
|
127
|
-
* behavioural extensions such as the NodeCursorExtension which makes hard to
|
|
128
|
-
* reach nodes reachable using keyboard arrows.
|
|
129
|
-
*/
|
|
130
|
-
readonly NodeCursor: "nodeCursor";
|
|
131
|
-
/**
|
|
132
|
-
* Mark group for font styling (e.g. bold, italic, underline, superscript).
|
|
133
|
-
*/
|
|
134
|
-
readonly FontStyle: "fontStyle";
|
|
135
|
-
/**
|
|
136
|
-
* Mark groups for links.
|
|
137
|
-
*/
|
|
138
|
-
readonly Link: "link";
|
|
139
|
-
/**
|
|
140
|
-
* Mark groups for colors (text-color, background-color, etc).
|
|
141
|
-
*/
|
|
142
|
-
readonly Color: "color";
|
|
143
|
-
/**
|
|
144
|
-
* Mark group for alignment.
|
|
145
|
-
*/
|
|
146
|
-
readonly Alignment: "alignment";
|
|
147
|
-
/**
|
|
148
|
-
* Mark group for indentation.
|
|
149
|
-
*/
|
|
150
|
-
readonly Indentation: "indentation";
|
|
151
|
-
/**
|
|
152
|
-
* Extension which affect the behaviour of the content. Can be nodes marks or
|
|
153
|
-
* plain.
|
|
154
|
-
*/
|
|
155
|
-
readonly Behavior: "behavior";
|
|
156
|
-
/**
|
|
157
|
-
* Marks and nodes which contain code.
|
|
158
|
-
*/
|
|
159
|
-
readonly Code: "code";
|
|
160
|
-
/**
|
|
161
|
-
* Whether this node is an inline node.
|
|
162
|
-
*
|
|
163
|
-
* - `text` is an inline node, but `paragraph` is a block node.
|
|
164
|
-
*/
|
|
165
|
-
readonly InlineNode: "inline";
|
|
166
|
-
/**
|
|
167
|
-
* This is a node that can contain list items.
|
|
168
|
-
*/
|
|
169
|
-
readonly ListContainerNode: "listContainer";
|
|
170
|
-
/**
|
|
171
|
-
* Tags the extension as a list item node which can be contained by
|
|
172
|
-
* [[`ExtensionTag.ListNode`]].
|
|
173
|
-
*/
|
|
174
|
-
readonly ListItemNode: "listItemNode";
|
|
175
|
-
/**
|
|
176
|
-
* Sets this as a block level node.
|
|
177
|
-
*/
|
|
178
|
-
readonly Block: "block";
|
|
179
|
-
/**
|
|
180
|
-
* @deprecate use `ExtensionTags.Block` instead.
|
|
181
|
-
*/
|
|
182
|
-
readonly BlockNode: "block";
|
|
183
|
-
/**
|
|
184
|
-
* Set this as a text block
|
|
185
|
-
*/
|
|
186
|
-
readonly TextBlock: "textBlock";
|
|
187
|
-
/**
|
|
188
|
-
* A tag that excludes this from input rules.
|
|
189
|
-
*/
|
|
190
|
-
readonly ExcludeInputRules: "excludeFromInputRules";
|
|
191
|
-
/**
|
|
192
|
-
* A mark or node that can't be exited when at the end and beginning of the
|
|
193
|
-
* document with an arrow key or backspace key.
|
|
194
|
-
*/
|
|
195
|
-
readonly PreventExits: "preventsExits";
|
|
196
|
-
/**
|
|
197
|
-
* Represents a media compatible node.
|
|
198
|
-
*/
|
|
199
|
-
readonly Media: "media";
|
|
200
|
-
};
|
|
201
|
-
/**
|
|
202
|
-
* These are the default supported tag strings which help categorize different
|
|
203
|
-
* behaviors that extensions can exhibit.
|
|
204
|
-
*
|
|
205
|
-
* @remarks
|
|
206
|
-
*
|
|
207
|
-
* Any extension can register itself with multiple such behaviors and these
|
|
208
|
-
* categorizations can be used by other extensions when running commands and
|
|
209
|
-
* updating the document.
|
|
210
|
-
*/
|
|
211
|
-
export declare const ExtensionTag: ExtensionTag;
|
|
212
|
-
/**
|
|
213
|
-
* The string values which can be used as extension tags.
|
|
214
|
-
*/
|
|
215
|
-
export type ExtensionTagType = ExtensionTag[keyof ExtensionTag];
|
|
216
|
-
/**
|
|
217
|
-
* The identifier key which is used to check objects for whether they are a
|
|
218
|
-
* certain type.
|
|
219
|
-
*
|
|
220
|
-
* @remarks
|
|
221
|
-
*
|
|
222
|
-
* Just pretend you don't know this exists.
|
|
223
|
-
*
|
|
224
|
-
* @internal
|
|
225
|
-
*/
|
|
226
|
-
export declare const __INTERNAL_REMIRROR_IDENTIFIER_KEY__: unique symbol;
|
|
227
|
-
/**
|
|
228
|
-
* These constants are stored on the `REMIRROR_IDENTIFIER_KEY` property of
|
|
229
|
-
* `remirror` related constructors and instances in order to identify them as
|
|
230
|
-
* being internal to Remirror.
|
|
231
|
-
*
|
|
232
|
-
* @remarks
|
|
233
|
-
*
|
|
234
|
-
* This helps to prevent issues around check types via `instanceof` which can
|
|
235
|
-
* lead to false negatives.
|
|
236
|
-
*
|
|
237
|
-
* @internal
|
|
238
|
-
*/
|
|
239
|
-
export declare enum RemirrorIdentifier {
|
|
240
|
-
/**
|
|
241
|
-
* Identifies `PlainExtension`s.
|
|
242
|
-
*/
|
|
243
|
-
PlainExtension = "RemirrorPlainExtension",
|
|
244
|
-
/**
|
|
245
|
-
* Identifies `NodeExtension`s.
|
|
246
|
-
*/
|
|
247
|
-
NodeExtension = "RemirrorNodeExtension",
|
|
248
|
-
/**
|
|
249
|
-
* Identifies `MarkExtension`s.
|
|
250
|
-
*/
|
|
251
|
-
MarkExtension = "RemirrorMarkExtension",
|
|
252
|
-
/**
|
|
253
|
-
* Identifies `PlainExtensionConstructor`s.
|
|
254
|
-
*/
|
|
255
|
-
PlainExtensionConstructor = "RemirrorPlainExtensionConstructor",
|
|
256
|
-
/**
|
|
257
|
-
* Identifies `NodeExtensionConstructor`s.
|
|
258
|
-
*/
|
|
259
|
-
NodeExtensionConstructor = "RemirrorNodeExtensionConstructor",
|
|
260
|
-
/**
|
|
261
|
-
* Identifies `MarkExtensionConstructor`s.
|
|
262
|
-
*/
|
|
263
|
-
MarkExtensionConstructor = "RemirrorMarkExtensionConstructor",
|
|
264
|
-
/**
|
|
265
|
-
* The string used to identify an instance of the `Manager`
|
|
266
|
-
*/
|
|
267
|
-
Manager = "RemirrorManager",
|
|
268
|
-
/**
|
|
269
|
-
* The preset type identifier.
|
|
270
|
-
*/
|
|
271
|
-
Preset = "RemirrorPreset",
|
|
272
|
-
/**
|
|
273
|
-
* The preset type identifier.
|
|
274
|
-
*/
|
|
275
|
-
PresetConstructor = "RemirrorPresetConstructor"
|
|
276
|
-
}
|
|
277
|
-
/**
|
|
278
|
-
* The priority of extension which determines what order it is loaded into the
|
|
279
|
-
* editor.
|
|
280
|
-
*
|
|
281
|
-
* @remarks
|
|
282
|
-
*
|
|
283
|
-
* Higher priority extension (higher numberic value) will ensure the extension
|
|
284
|
-
* has a higher preference in your editor. In the case where you load two
|
|
285
|
-
* identical extensions into your editor (same name, or same constructor), the
|
|
286
|
-
* extension with the higher priority is the one that will be loaded.
|
|
287
|
-
*
|
|
288
|
-
* The higher the numeric value the higher the priority. The priority can also
|
|
289
|
-
* be passed a number but naming things in this `enum` should help provide some
|
|
290
|
-
* context to the numbers.
|
|
291
|
-
*
|
|
292
|
-
* By default all extensions are created with a `ExtensionPriority.Default`.
|
|
293
|
-
*/
|
|
294
|
-
export declare enum ExtensionPriority {
|
|
295
|
-
/**
|
|
296
|
-
* Use this **never** 😉
|
|
297
|
-
*/
|
|
298
|
-
Critical = 1000000,
|
|
299
|
-
/**
|
|
300
|
-
* A, like super duper, high priority.
|
|
301
|
-
*/
|
|
302
|
-
Highest = 100000,
|
|
303
|
-
/**
|
|
304
|
-
* The highest priority level that should be used in a publicly shared
|
|
305
|
-
* extension (to allow some wiggle room for downstream users overriding
|
|
306
|
-
* priorities).
|
|
307
|
-
*/
|
|
308
|
-
High = 10000,
|
|
309
|
-
/**
|
|
310
|
-
* A medium priority extension. This is typically all you need to take
|
|
311
|
-
* priority over built in extensions.
|
|
312
|
-
*/
|
|
313
|
-
Medium = 1000,
|
|
314
|
-
/**
|
|
315
|
-
* This is the **default** priority for most extensions.
|
|
316
|
-
*/
|
|
317
|
-
Default = 100,
|
|
318
|
-
/**
|
|
319
|
-
* This is the **default** priority for builtin behavior changing extensions.
|
|
320
|
-
*/
|
|
321
|
-
Low = 10,
|
|
322
|
-
/**
|
|
323
|
-
* This is useful for extensions that exist to be overridden.
|
|
324
|
-
*/
|
|
325
|
-
Lowest = 0
|
|
326
|
-
}
|
|
327
|
-
/**
|
|
328
|
-
* Identifies the stage the extension manager is at.
|
|
329
|
-
*/
|
|
330
|
-
export declare enum ManagerPhase {
|
|
331
|
-
/**
|
|
332
|
-
* The initial value for the manager phase.
|
|
333
|
-
*/
|
|
334
|
-
None = 0,
|
|
335
|
-
/**
|
|
336
|
-
* When the extension manager is being created and the onCreate methods are
|
|
337
|
-
* being called.
|
|
338
|
-
*
|
|
339
|
-
* This happens within the RemirrorManager constructor.
|
|
340
|
-
*/
|
|
341
|
-
Create = 1,
|
|
342
|
-
/**
|
|
343
|
-
* When the view is being added and all `onView` lifecycle methods are being
|
|
344
|
-
* called. The view is typically added before the dom is ready for it.
|
|
345
|
-
*/
|
|
346
|
-
EditorView = 2,
|
|
347
|
-
/**
|
|
348
|
-
* The phases of creating this manager are completed and `onTransaction` is
|
|
349
|
-
* called every time the state updates.
|
|
350
|
-
*/
|
|
351
|
-
Runtime = 3,
|
|
352
|
-
/**
|
|
353
|
-
* The manager is being destroyed.
|
|
354
|
-
*/
|
|
355
|
-
Destroy = 4
|
|
356
|
-
}
|
|
357
|
-
/**
|
|
358
|
-
* The named shortcuts that can be used to update multiple commands.
|
|
359
|
-
*/
|
|
360
|
-
export declare enum NamedShortcut {
|
|
361
|
-
Undo = "_|undo|_",
|
|
362
|
-
Redo = "_|redo|_",
|
|
363
|
-
Bold = "_|bold|_",
|
|
364
|
-
Italic = "_|italic|_",
|
|
365
|
-
Underline = "_|underline|_",
|
|
366
|
-
Strike = "_|strike|_",
|
|
367
|
-
Code = "_|code|_",
|
|
368
|
-
Paragraph = "_|paragraph|_",
|
|
369
|
-
H1 = "_|h1|_",
|
|
370
|
-
H2 = "_|h2|_",
|
|
371
|
-
H3 = "_|h3|_",
|
|
372
|
-
H4 = "_|h4|_",
|
|
373
|
-
H5 = "_|h5|_",
|
|
374
|
-
H6 = "_|h6|_",
|
|
375
|
-
TaskList = "_|task|_",
|
|
376
|
-
BulletList = "_|bullet|_",
|
|
377
|
-
OrderedList = "_|number|_",
|
|
378
|
-
Quote = "_|quote|_",
|
|
379
|
-
Divider = "_|divider|_",
|
|
380
|
-
Codeblock = "_|codeblock|_",
|
|
381
|
-
ClearFormatting = "_|clear|_",
|
|
382
|
-
Superscript = "_|sup|_",
|
|
383
|
-
Subscript = "_|sub|_",
|
|
384
|
-
LeftAlignment = "_|left-align|_",
|
|
385
|
-
CenterAlignment = "_|center-align|_",
|
|
386
|
-
RightAlignment = "_|right-align|_",
|
|
387
|
-
JustifyAlignment = "_|justify-align|_",
|
|
388
|
-
InsertLink = "_|link|_",
|
|
389
|
-
/** @deprecated */
|
|
390
|
-
Find = "_|find|_",
|
|
391
|
-
/** @deprecated */
|
|
392
|
-
FindBackwards = "_|find-backwards|_",
|
|
393
|
-
/** @deprecated */
|
|
394
|
-
FindReplace = "_|find-replace|_",
|
|
395
|
-
AddFootnote = "_|footnote|_",
|
|
396
|
-
AddComment = "_|comment|_",
|
|
397
|
-
ContextMenu = "_|context-menu|_",
|
|
398
|
-
IncreaseFontSize = "_|inc-font-size|_",
|
|
399
|
-
DecreaseFontSize = "_|dec-font-size|_",
|
|
400
|
-
IncreaseIndent = "_|indent|_",
|
|
401
|
-
DecreaseIndent = "_|dedent|_",
|
|
402
|
-
Shortcuts = "_|shortcuts|_",
|
|
403
|
-
Copy = "_|copy|_",
|
|
404
|
-
Cut = "_|cut|_",
|
|
405
|
-
Paste = "_|paste|_",
|
|
406
|
-
PastePlain = "_|paste-plain|_",
|
|
407
|
-
SelectAll = "_|select-all|_",
|
|
408
|
-
/**
|
|
409
|
-
* A keyboard shortcut to trigger formatting the current block.
|
|
410
|
-
*
|
|
411
|
-
* @defaultValue 'Alt-Shift-F' (Mac) | 'Shift-Ctrl-F' (PC)
|
|
412
|
-
*/
|
|
413
|
-
Format = "_|format|_"
|
|
414
|
-
}
|
|
415
|
-
/**
|
|
416
|
-
* Helpful empty array for use when a default array value is needed.
|
|
417
|
-
*
|
|
418
|
-
* DO NOT MUTATE!
|
|
419
|
-
*/
|
|
420
|
-
export declare const EMPTY_ARRAY: never[];
|
|
421
|
-
declare global {
|
|
422
|
-
namespace Remirror {
|
|
423
|
-
/**
|
|
424
|
-
* This interface is for extending the default `ExtensionTag`'s in your
|
|
425
|
-
* codebase with full type checking support.
|
|
426
|
-
*/
|
|
427
|
-
interface ExtensionTags {
|
|
428
|
-
}
|
|
429
|
-
}
|
|
430
|
-
}
|
|
431
|
-
export {};
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The error codes for errors used throughout the codebase.
|
|
3
|
-
*
|
|
4
|
-
* @remarks
|
|
5
|
-
*
|
|
6
|
-
* They can be removed but should never be changed since they are also used to
|
|
7
|
-
* reference the errors within search engines.
|
|
8
|
-
*/
|
|
9
|
-
export declare enum ErrorConstant {
|
|
10
|
-
/** An error happened but we're not quite sure why. */
|
|
11
|
-
UNKNOWN = "RMR0001",
|
|
12
|
-
/** The arguments passed to the command method were invalid. */
|
|
13
|
-
INVALID_COMMAND_ARGUMENTS = "RMR0002",
|
|
14
|
-
/** This is a custom error possibly thrown by an external library. */
|
|
15
|
-
CUSTOM = "RMR0003",
|
|
16
|
-
/**
|
|
17
|
-
* An error occurred in a function called from the `@remirror/core-helpers`
|
|
18
|
-
* library.
|
|
19
|
-
*/
|
|
20
|
-
CORE_HELPERS = "RMR0004",
|
|
21
|
-
/** You have attempted to change a value that shouldn't be changed. */
|
|
22
|
-
MUTATION = "RMR0005",
|
|
23
|
-
/**
|
|
24
|
-
* This is an error which should not occur and is internal to the remirror
|
|
25
|
-
* codebase.
|
|
26
|
-
*/
|
|
27
|
-
INTERNAL = "RMR0006",
|
|
28
|
-
/** You're editor is missing a required extension. */
|
|
29
|
-
MISSING_REQUIRED_EXTENSION = "RMR0007",
|
|
30
|
-
/**
|
|
31
|
-
* Called a method event at the wrong time. Please make sure getter functions
|
|
32
|
-
* are only called with within the scope of the returned functions. They
|
|
33
|
-
* should not be called in the outer scope of your method.
|
|
34
|
-
*/
|
|
35
|
-
MANAGER_PHASE_ERROR = "RMR0008",
|
|
36
|
-
/**
|
|
37
|
-
* The user requested an invalid extension from the getExtensions method.
|
|
38
|
-
* Please check the `createExtensions` return method is returning an extension
|
|
39
|
-
* with the defined constructor.
|
|
40
|
-
*/
|
|
41
|
-
INVALID_GET_EXTENSION = "RMR0010",
|
|
42
|
-
/**
|
|
43
|
-
* Invalid value passed into `Manager constructor`. Only and
|
|
44
|
-
* `Extensions` are supported.
|
|
45
|
-
*/
|
|
46
|
-
INVALID_MANAGER_ARGUMENTS = "RMR0011",
|
|
47
|
-
/**
|
|
48
|
-
* There is a problem with the schema or you are trying to access a node /
|
|
49
|
-
* mark that doesn't exists.
|
|
50
|
-
*/
|
|
51
|
-
SCHEMA = "RMR0012",
|
|
52
|
-
/**
|
|
53
|
-
* The `helpers` method which is passed into the ``create*` method should only
|
|
54
|
-
* be called within returned method since it relies on an active view (not
|
|
55
|
-
* present in the outer scope).
|
|
56
|
-
*/
|
|
57
|
-
HELPERS_CALLED_IN_OUTER_SCOPE = "RMR0013",
|
|
58
|
-
/** The user requested an invalid extension from the manager. */
|
|
59
|
-
INVALID_MANAGER_EXTENSION = "RMR0014",
|
|
60
|
-
/** Command method names must be unique within the editor. */
|
|
61
|
-
DUPLICATE_COMMAND_NAMES = "RMR0016",
|
|
62
|
-
/** Helper method names must be unique within the editor. */
|
|
63
|
-
DUPLICATE_HELPER_NAMES = "RMR0017",
|
|
64
|
-
/** Attempted to chain a non chainable command. */
|
|
65
|
-
NON_CHAINABLE_COMMAND = "RMR0018",
|
|
66
|
-
/** The provided extension is invalid. */
|
|
67
|
-
INVALID_EXTENSION = "RMR0019",
|
|
68
|
-
/** The content provided to the editor is not supported. */
|
|
69
|
-
INVALID_CONTENT = "RMR0021",
|
|
70
|
-
/** An invalid name was used for the extension. */
|
|
71
|
-
INVALID_NAME = "RMR0050",
|
|
72
|
-
/** An error occurred within an extension. */
|
|
73
|
-
EXTENSION = "RMR0100",
|
|
74
|
-
/** The spec was defined without calling the `defaults`, `parse` or `dom` methods. */
|
|
75
|
-
EXTENSION_SPEC = "RMR0101",
|
|
76
|
-
/** Extra attributes must either be a string or an object. */
|
|
77
|
-
EXTENSION_EXTRA_ATTRIBUTES = "RMR0102",
|
|
78
|
-
/** A call to `extension.setOptions` was made with invalid keys. */
|
|
79
|
-
INVALID_SET_EXTENSION_OPTIONS = "RMR0103",
|
|
80
|
-
/**
|
|
81
|
-
* `useRemirror` was called outside of the remirror context. It can only be used
|
|
82
|
-
* within an active remirror context created by the `<Remirror />`.
|
|
83
|
-
*/
|
|
84
|
-
REACT_PROVIDER_CONTEXT = "RMR0200",
|
|
85
|
-
/**
|
|
86
|
-
* `getRootProps` has been called MULTIPLE times. It should only be called ONCE during render.
|
|
87
|
-
*/
|
|
88
|
-
REACT_GET_ROOT_PROPS = "RMR0201",
|
|
89
|
-
/**
|
|
90
|
-
* A problem occurred adding the editor view to the dom.
|
|
91
|
-
*/
|
|
92
|
-
REACT_EDITOR_VIEW = "RMR0202",
|
|
93
|
-
/**
|
|
94
|
-
* There is a problem with your controlled editor setup.
|
|
95
|
-
*/
|
|
96
|
-
REACT_CONTROLLED = "RMR0203",
|
|
97
|
-
/**
|
|
98
|
-
* Something went wrong with your custom ReactNodeView Component.
|
|
99
|
-
*/
|
|
100
|
-
REACT_NODE_VIEW = "RMR0204",
|
|
101
|
-
/**
|
|
102
|
-
* You attempted to call `getContext` provided by the `useRemirror` prop
|
|
103
|
-
* during the first render of the editor. This is not possible and should only
|
|
104
|
-
* be after the editor first mounts.
|
|
105
|
-
*/
|
|
106
|
-
REACT_GET_CONTEXT = "RMR0205",
|
|
107
|
-
/**
|
|
108
|
-
* An error occurred when rendering the react components.
|
|
109
|
-
*/
|
|
110
|
-
REACT_COMPONENTS = "RMR0206",
|
|
111
|
-
/**
|
|
112
|
-
* An error occurred within a remirror hook.
|
|
113
|
-
*/
|
|
114
|
-
REACT_HOOKS = "RMR0207",
|
|
115
|
-
/**
|
|
116
|
-
* There is something wrong with your i18n setup.
|
|
117
|
-
*/
|
|
118
|
-
I18N_CONTEXT = "RMR0300"
|
|
119
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"program":{"fileNames":["../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2022.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2023.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.esnext.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2020.date.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2020.number.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2022.array.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2022.error.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2022.intl.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2022.object.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2022.sharedmemory.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2022.string.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2022.regexp.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.es2023.array.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.decorators.d.ts","../../../node_modules/.pnpm/typescript@5.0.4/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../src/core-constants.ts","../src/error-constants.ts","../src/index.ts"],"fileInfos":[{"version":"6a6b471e7e43e15ef6f8fe617a22ce4ecb0e34efa6c3dfcfe7cebd392bcca9d2","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","dc48272d7c333ccf58034c0026162576b7d50ea0e69c3b9292f803fc20720fd5","27147504487dc1159369da4f4da8a26406364624fa9bc3db632f7d94a5bae2c3","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","5514e54f17d6d74ecefedc73c504eadffdeda79c7ea205cf9febead32d45c4bc","f4e736d6c8d69ae5b3ab0ddfcaa3dc365c3e76909d6660af5b4e979b3934ac20","eeeb3aca31fbadef8b82502484499dfd1757204799a6f5b33116201c810676ec",{"version":"fcd3ecc9f764f06f4d5c467677f4f117f6abf49dee6716283aa204ff1162498b","affectsGlobalScope":true},{"version":"9a60b92bca4c1257db03b349d58e63e4868cfc0d1c8d0ba60c2dbc63f4e6c9f6","affectsGlobalScope":true},{"version":"f296963760430fb65b4e5d91f0ed770a91c6e77455bacf8fa23a1501654ede0e","affectsGlobalScope":true},{"version":"5114a95689b63f96b957e00216bc04baf9e1a1782aa4d8ee7e5e9acbf768e301","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"ab22100fdd0d24cfc2cc59d0a00fc8cf449830d9c4030dc54390a46bd562e929","affectsGlobalScope":true},{"version":"f7bd636ae3a4623c503359ada74510c4005df5b36de7f23e1db8a5c543fd176b","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"0c20f4d2358eb679e4ae8a4432bdd96c857a2960fd6800b21ec4008ec59d60ea","affectsGlobalScope":true},{"version":"36ae84ccc0633f7c0787bc6108386c8b773e95d3b052d9464a99cd9b8795fbec","affectsGlobalScope":true},{"version":"82d0d8e269b9eeac02c3bd1c9e884e85d483fcb2cd168bccd6bc54df663da031","affectsGlobalScope":true},{"version":"b8deab98702588840be73d67f02412a2d45a417a3c097b2e96f7f3a42ac483d1","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"376d554d042fb409cb55b5cbaf0b2b4b7e669619493c5d18d5fa8bd67273f82a","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"c4138a3dd7cd6cf1f363ca0f905554e8d81b45844feea17786cdf1626cb8ea06","affectsGlobalScope":true},{"version":"6ff3e2452b055d8f0ec026511c6582b55d935675af67cdb67dd1dc671e8065df","affectsGlobalScope":true},{"version":"03de17b810f426a2f47396b0b99b53a82c1b60e9cba7a7edda47f9bb077882f4","affectsGlobalScope":true},{"version":"8184c6ddf48f0c98429326b428478ecc6143c27f79b79e85740f17e6feb090f1","affectsGlobalScope":true},{"version":"261c4d2cf86ac5a89ad3fb3fafed74cbb6f2f7c1d139b0540933df567d64a6ca","affectsGlobalScope":true},{"version":"6af1425e9973f4924fca986636ac19a0cf9909a7e0d9d3009c349e6244e957b6","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"15a630d6817718a2ddd7088c4f83e4673fde19fa992d2eae2cf51132a302a5d3","affectsGlobalScope":true},{"version":"b7e9f95a7387e3f66be0ed6db43600c49cec33a3900437ce2fd350d9b7cb16f2","affectsGlobalScope":true},{"version":"01e0ee7e1f661acedb08b51f8a9b7d7f959e9cdb6441360f06522cc3aea1bf2e","affectsGlobalScope":true},{"version":"ac17a97f816d53d9dd79b0d235e1c0ed54a8cc6a0677e9a3d61efb480b2a3e4e","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"ec0104fee478075cb5171e5f4e3f23add8e02d845ae0165bfa3f1099241fa2aa","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"9cc66b0513ad41cb5f5372cca86ef83a0d37d1c1017580b7dace3ea5661836df","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"709efdae0cb5df5f49376cde61daacc95cdd44ae4671da13a540da5088bf3f30","affectsGlobalScope":true},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true},{"version":"61ed9b6d07af959e745fb11f9593ecd743b279418cc8a99448ea3cd5f3b3eb22","affectsGlobalScope":true},{"version":"038a2f66a34ee7a9c2fbc3584c8ab43dff2995f8c68e3f566f4c300d2175e31e","affectsGlobalScope":true},{"version":"4fa6ed14e98aa80b91f61b9805c653ee82af3502dc21c9da5268d3857772ca05","affectsGlobalScope":true},{"version":"f5c92f2c27b06c1a41b88f6db8299205aee52c2a2943f7ed29bd585977f254e8","affectsGlobalScope":true},{"version":"b7feb7967c6c6003e11f49efa8f5de989484e0a6ba2e5a6c41b55f8b8bd85dba","affectsGlobalScope":true},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true},{"version":"b9ea5778ff8b50d7c04c9890170db34c26a5358cccba36844fe319f50a43a61a","affectsGlobalScope":true},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true},{"version":"50d53ccd31f6667aff66e3d62adf948879a3a16f05d89882d1188084ee415bbc","affectsGlobalScope":true},{"version":"25de46552b782d43cb7284df22fe2a265de387cf0248b747a7a1b647d81861f6","affectsGlobalScope":true},{"version":"307c8b7ebbd7f23a92b73a4c6c0a697beca05b06b036c23a34553e5fe65e4fdc","affectsGlobalScope":true},{"version":"189c0703923150aa30673fa3de411346d727cc44a11c75d05d7cf9ef095daa22","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"93d6e0bc81366a8379cec803500b8c368cee75a8df312a9a8dfaa83061f930e3","signature":"1a083c6ff2c8237de0c04375a37b69883dc28567e0b380193a7106b2ad54d0e6","affectsGlobalScope":true},{"version":"56580fc0a29065f6084e47ddd44ce7234ba020b070d5931cb5837a49ec67cc2c","signature":"67da2e259001101e1548d7f462371f4fc25edb671b421b6ed8086c57fba85aaa"},"8d468f2ec82f301adbebd6dda379f8071bdd40132284eead142eaf410c56ee79"],"root":[[62,64]],"options":{"allowSyntheticDefaultImports":true,"allowUnreachableCode":false,"composite":true,"declaration":true,"emitDeclarationOnly":true,"esModuleInterop":true,"experimentalDecorators":false,"importsNotUsedAsValues":0,"jsx":2,"module":99,"noImplicitReturns":true,"noUnusedLocals":true,"noUnusedParameters":true,"outDir":"./","skipLibCheck":true,"sourceMap":true,"strict":true,"target":99,"useDefineForClassFields":true},"fileIdsList":[[62,63]],"referencedMap":[[64,1]],"exportedModulesMap":[[64,1]],"semanticDiagnosticsPerFile":[60,61,12,13,15,14,2,16,17,18,19,20,21,22,23,3,4,27,24,25,26,28,29,30,5,31,32,33,34,6,38,35,36,37,39,7,40,45,46,41,42,43,44,8,50,47,48,49,51,9,52,53,54,57,55,56,58,10,1,11,59,62,63,64],"latestChangedDtsFile":"./index.d.ts"},"version":"5.0.4"}
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@remirror/core-constants",
|
|
3
|
-
"version": "3.0.0",
|
|
4
|
-
"description": "The core constants used throughout the remirror codebase",
|
|
5
|
-
"homepage": "https://github.com/remirror/remirror/tree/HEAD/packages/remirror__core-constants",
|
|
6
|
-
"repository": {
|
|
7
|
-
"type": "git",
|
|
8
|
-
"url": "https://github.com/remirror/remirror.git",
|
|
9
|
-
"directory": "packages/remirror__core-constants"
|
|
10
|
-
},
|
|
11
|
-
"license": "MIT",
|
|
12
|
-
"contributors": [
|
|
13
|
-
"Ifiok Jr. <ifiokotung@gmail.com>"
|
|
14
|
-
],
|
|
15
|
-
"sideEffects": false,
|
|
16
|
-
"type": "module",
|
|
17
|
-
"exports": {
|
|
18
|
-
".": {
|
|
19
|
-
"types": "./dist/remirror-core-constants.d.ts",
|
|
20
|
-
"import": "./dist/remirror-core-constants.js",
|
|
21
|
-
"require": "./dist/remirror-core-constants.cjs"
|
|
22
|
-
},
|
|
23
|
-
"./package.json": "./package.json"
|
|
24
|
-
},
|
|
25
|
-
"main": "./dist/remirror-core-constants.cjs",
|
|
26
|
-
"module": "./dist/remirror-core-constants.js",
|
|
27
|
-
"types": "./dist/remirror-core-constants.d.ts",
|
|
28
|
-
"files": [
|
|
29
|
-
"dist",
|
|
30
|
-
"dist-types"
|
|
31
|
-
],
|
|
32
|
-
"dependencies": {},
|
|
33
|
-
"devDependencies": {
|
|
34
|
-
"@remirror/cli": "1.1.0"
|
|
35
|
-
},
|
|
36
|
-
"publishConfig": {
|
|
37
|
-
"access": "public"
|
|
38
|
-
},
|
|
39
|
-
"@remirror": {
|
|
40
|
-
"sizeLimit": "2 KB"
|
|
41
|
-
},
|
|
42
|
-
"scripts": {
|
|
43
|
-
"build": "remirror-cli build"
|
|
44
|
-
}
|
|
45
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# @remirror/core-constants
|
|
2
|
-
|
|
3
|
-
> core constants used throughout the `remirror` codebase.
|
|
4
|
-
|
|
5
|
-
[![Version][version]][npm] [![Weekly Downloads][downloads-badge]][npm] [![Bundled size][size-badge]][size] [![Typed Codebase][typescript]](#) [![MIT License][license]](#)
|
|
6
|
-
|
|
7
|
-
[version]: https://flat.badgen.net/npm/v/@remirror/core-constants
|
|
8
|
-
[npm]: https://npmjs.com/package/@remirror/core-constants
|
|
9
|
-
[license]: https://flat.badgen.net/badge/license/MIT/purple
|
|
10
|
-
[size]: https://bundlephobia.com/result?p=@remirror/core-constants
|
|
11
|
-
[size-badge]: https://flat.badgen.net/bundlephobia/minzip/@remirror/core-constants
|
|
12
|
-
[typescript]: https://flat.badgen.net/badge/icon/TypeScript?icon=typescript&label
|
|
13
|
-
[downloads-badge]: https://badgen.net/npm/dw/@remirror/core-constants/red?icon=npm
|
|
14
|
-
|
|
15
|
-
## Installation
|
|
16
|
-
|
|
17
|
-
This is included by default when you install the recommended `remirror` package. All exports are also available via `remirror/core/constants` and `remirror/core`.
|