@atlaskit/editor-core 183.0.8 → 183.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/cjs/plugins/card/pm-plugins/doc.js +5 -3
- package/dist/cjs/plugins/paste/handlers.js +5 -5
- package/dist/cjs/plugins/paste/md-plugins/ignore-list-heading-md-plugin.js +47 -0
- package/dist/cjs/plugins/paste/{linkify-md-plugin.js → md-plugins/linkify-md-plugin.js} +1 -1
- package/dist/cjs/plugins/paste/md.js +6 -4
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/plugins/card/pm-plugins/doc.js +5 -3
- package/dist/es2019/plugins/paste/handlers.js +6 -6
- package/dist/es2019/plugins/paste/md-plugins/ignore-list-heading-md-plugin.js +43 -0
- package/dist/es2019/plugins/paste/{linkify-md-plugin.js → md-plugins/linkify-md-plugin.js} +1 -1
- package/dist/es2019/plugins/paste/md.js +6 -4
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/plugins/card/pm-plugins/doc.js +5 -3
- package/dist/esm/plugins/paste/handlers.js +6 -6
- package/dist/esm/plugins/paste/md-plugins/ignore-list-heading-md-plugin.js +41 -0
- package/dist/esm/plugins/paste/{linkify-md-plugin.js → md-plugins/linkify-md-plugin.js} +1 -1
- package/dist/esm/plugins/paste/md.js +6 -4
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/plugins/card/pm-plugins/doc.d.ts +1 -1
- package/dist/types/plugins/paste/md-plugins/ignore-list-heading-md-plugin.d.ts +2 -0
- package/dist/types/plugins/paste/md-plugins/linkify-md-plugin.d.ts +2 -0
- package/dist/types/plugins/paste/md-plugins/newline-md-plugin.d.ts +2 -0
- package/dist/types/plugins/paste/md-plugins/paragraph-md-plugin.d.ts +2 -0
- package/dist/types-ts4.5/actions/index.d.ts +50 -0
- package/dist/types-ts4.5/analytics-api/api.d.ts +9 -0
- package/dist/types-ts4.5/analytics-api/attach-payload-into-transaction.d.ts +10 -0
- package/dist/types-ts4.5/analytics-api/editor-state-context.d.ts +9 -0
- package/dist/types-ts4.5/analytics-api/map-attributes.d.ts +2 -0
- package/dist/types-ts4.5/commands/index.d.ts +23 -0
- package/dist/types-ts4.5/create-editor/ErrorBoundary.d.ts +42 -0
- package/dist/types-ts4.5/create-editor/ReactEditorView.d.ts +8 -0
- package/dist/types-ts4.5/create-editor/ReactEditorViewContext.d.ts +2 -0
- package/dist/types-ts4.5/create-editor/ReactEditorViewInternal.d.ts +115 -0
- package/dist/types-ts4.5/create-editor/ReactEditorViewNext.d.ts +8 -0
- package/dist/types-ts4.5/create-editor/WithEditorView.d.ts +6 -0
- package/dist/types-ts4.5/create-editor/consts.d.ts +3 -0
- package/dist/types-ts4.5/create-editor/create-editor.d.ts +18 -0
- package/dist/types-ts4.5/create-editor/create-plugins-list.d.ts +17 -0
- package/dist/types-ts4.5/create-editor/create-schema.d.ts +6 -0
- package/dist/types-ts4.5/create-editor/feature-flags-from-props.d.ts +7 -0
- package/dist/types-ts4.5/create-editor/get-plugins.d.ts +41 -0
- package/dist/types-ts4.5/create-editor/get-ui-component.d.ts +3 -0
- package/dist/types-ts4.5/create-editor/index.d.ts +3 -0
- package/dist/types-ts4.5/create-editor/messages.d.ts +7 -0
- package/dist/types-ts4.5/create-editor/preset-utils.d.ts +2 -0
- package/dist/types-ts4.5/create-editor/sort-by-order.d.ts +14 -0
- package/dist/types-ts4.5/editor-next/editor-internal.d.ts +44 -0
- package/dist/types-ts4.5/editor-next/editor-migration-component.d.ts +6 -0
- package/dist/types-ts4.5/editor-next/hooks/useEditorMeasuresConstructor.d.ts +17 -0
- package/dist/types-ts4.5/editor-next/hooks/useMeasureEditorMountTime.d.ts +13 -0
- package/dist/types-ts4.5/editor-next/hooks/useProviderFactory.d.ts +21 -0
- package/dist/types-ts4.5/editor-next/index.d.ts +35 -0
- package/dist/types-ts4.5/editor-next/utils/deprecationWarnings.d.ts +2 -0
- package/dist/types-ts4.5/editor-next/utils/editorMeasureTTICallback.d.ts +5 -0
- package/dist/types-ts4.5/editor-next/utils/editorPropTypes.d.ts +19 -0
- package/dist/types-ts4.5/editor-next/utils/getBaseFontSize.d.ts +6 -0
- package/dist/types-ts4.5/editor-next/utils/getProvidersFromEditorProps.d.ts +9 -0
- package/dist/types-ts4.5/editor-next/utils/handleProviders.d.ts +14 -0
- package/dist/types-ts4.5/editor-next/utils/onEditorCreated.d.ts +12 -0
- package/dist/types-ts4.5/editor-next/utils/sendDurationAnalytics.d.ts +15 -0
- package/dist/types-ts4.5/editor-next/utils/trackEditorActions.d.ts +29 -0
- package/dist/types-ts4.5/editor.d.ts +146 -0
- package/dist/types-ts4.5/element-browser.d.ts +1 -0
- package/dist/types-ts4.5/event-dispatcher/index.d.ts +2 -0
- package/dist/types-ts4.5/extensibility.d.ts +15 -0
- package/dist/types-ts4.5/extensions.d.ts +1 -0
- package/dist/types-ts4.5/i18n/cs.d.ts +255 -0
- package/dist/types-ts4.5/i18n/da.d.ts +254 -0
- package/dist/types-ts4.5/i18n/de.d.ts +254 -0
- package/dist/types-ts4.5/i18n/en.d.ts +257 -0
- package/dist/types-ts4.5/i18n/en_GB.d.ts +257 -0
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +257 -0
- package/dist/types-ts4.5/i18n/es.d.ts +254 -0
- package/dist/types-ts4.5/i18n/et.d.ts +168 -0
- package/dist/types-ts4.5/i18n/fi.d.ts +254 -0
- package/dist/types-ts4.5/i18n/fr.d.ts +254 -0
- package/dist/types-ts4.5/i18n/hu.d.ts +254 -0
- package/dist/types-ts4.5/i18n/index.d.ts +35 -0
- package/dist/types-ts4.5/i18n/is.d.ts +153 -0
- package/dist/types-ts4.5/i18n/it.d.ts +254 -0
- package/dist/types-ts4.5/i18n/ja.d.ts +254 -0
- package/dist/types-ts4.5/i18n/ko.d.ts +254 -0
- package/dist/types-ts4.5/i18n/languages.d.ts +38 -0
- package/dist/types-ts4.5/i18n/nb.d.ts +254 -0
- package/dist/types-ts4.5/i18n/nl.d.ts +254 -0
- package/dist/types-ts4.5/i18n/pl.d.ts +254 -0
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +254 -0
- package/dist/types-ts4.5/i18n/pt_PT.d.ts +180 -0
- package/dist/types-ts4.5/i18n/ro.d.ts +153 -0
- package/dist/types-ts4.5/i18n/ru.d.ts +254 -0
- package/dist/types-ts4.5/i18n/sk.d.ts +168 -0
- package/dist/types-ts4.5/i18n/sv.d.ts +254 -0
- package/dist/types-ts4.5/i18n/th.d.ts +254 -0
- package/dist/types-ts4.5/i18n/tr.d.ts +254 -0
- package/dist/types-ts4.5/i18n/uk.d.ts +254 -0
- package/dist/types-ts4.5/i18n/vi.d.ts +254 -0
- package/dist/types-ts4.5/i18n/zh.d.ts +254 -0
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +254 -0
- package/dist/types-ts4.5/index.d.ts +93 -0
- package/dist/types-ts4.5/insert-api/api.d.ts +9 -0
- package/dist/types-ts4.5/insert-api/insert-content-handlers.d.ts +9 -0
- package/dist/types-ts4.5/insert-api/insert-node-helpers.d.ts +30 -0
- package/dist/types-ts4.5/insert-api/types.d.ts +16 -0
- package/dist/types-ts4.5/keymaps/consts.d.ts +1 -0
- package/dist/types-ts4.5/keymaps/index.d.ts +2 -0
- package/dist/types-ts4.5/labs/CollapsedEditor/index.d.ts +26 -0
- package/dist/types-ts4.5/labs/EditorWithActions/index.d.ts +26 -0
- package/dist/types-ts4.5/labs/next/ContentComponents.d.ts +8 -0
- package/dist/types-ts4.5/labs/next/Editor.d.ts +27 -0
- package/dist/types-ts4.5/labs/next/Toolbar.d.ts +6 -0
- package/dist/types-ts4.5/labs/next/full-page.d.ts +9 -0
- package/dist/types-ts4.5/labs/next/internal/components/EditorContent.d.ts +7 -0
- package/dist/types-ts4.5/labs/next/internal/components/EditorInternal.d.ts +9 -0
- package/dist/types-ts4.5/labs/next/internal/context/preset-context.d.ts +5 -0
- package/dist/types-ts4.5/labs/next/internal/context/shared-config.d.ts +50 -0
- package/dist/types-ts4.5/labs/next/internal/editor-props-type.d.ts +29 -0
- package/dist/types-ts4.5/labs/next/internal/hooks/use-analytics/index.d.ts +8 -0
- package/dist/types-ts4.5/labs/next/internal/hooks/use-editor/create-dispatch-transaction.d.ts +6 -0
- package/dist/types-ts4.5/labs/next/internal/hooks/use-editor/create-editor.d.ts +19 -0
- package/dist/types-ts4.5/labs/next/internal/hooks/use-editor/index.d.ts +14 -0
- package/dist/types-ts4.5/labs/next/mobile.d.ts +12 -0
- package/dist/types-ts4.5/labs/next/presets/create-stub-internal-apis.d.ts +16 -0
- package/dist/types-ts4.5/labs/next/presets/cxhtml.d.ts +110 -0
- package/dist/types-ts4.5/labs/next/presets/default.d.ts +234 -0
- package/dist/types-ts4.5/labs/next/presets/mobile.d.ts +115 -0
- package/dist/types-ts4.5/labs/next/presets/types.d.ts +6 -0
- package/dist/types-ts4.5/labs/next/presets/universal.d.ts +22 -0
- package/dist/types-ts4.5/labs/next/presets/useUniversalPreset.d.ts +7 -0
- package/dist/types-ts4.5/labs/next/presets/utils.d.ts +3 -0
- package/dist/types-ts4.5/labs-next.d.ts +8 -0
- package/dist/types-ts4.5/messages.d.ts +59 -0
- package/dist/types-ts4.5/nodeviews/ReactNodeView.d.ts +52 -0
- package/dist/types-ts4.5/nodeviews/SelectionBasedNodeView.d.ts +53 -0
- package/dist/types-ts4.5/nodeviews/context-adapter.d.ts +2 -0
- package/dist/types-ts4.5/nodeviews/getInlineNodeViewProducer.d.ts +24 -0
- package/dist/types-ts4.5/nodeviews/getInlineNodeViewProducer.styles.d.ts +1 -0
- package/dist/types-ts4.5/nodeviews/getPerformanceOptions.d.ts +2 -0
- package/dist/types-ts4.5/nodeviews/index.d.ts +3 -0
- package/dist/types-ts4.5/nodeviews/types.d.ts +12 -0
- package/dist/types-ts4.5/plugins/alignment/commands/index.d.ts +4 -0
- package/dist/types-ts4.5/plugins/alignment/index.d.ts +5 -0
- package/dist/types-ts4.5/plugins/alignment/pm-plugins/keymap.d.ts +2 -0
- package/dist/types-ts4.5/plugins/alignment/pm-plugins/main.d.ts +7 -0
- package/dist/types-ts4.5/plugins/alignment/pm-plugins/types.d.ts +5 -0
- package/dist/types-ts4.5/plugins/alignment/ui/ToolbarAlignment/icon-map.d.ts +6 -0
- package/dist/types-ts4.5/plugins/alignment/ui/ToolbarAlignment/index.d.ts +34 -0
- package/dist/types-ts4.5/plugins/alignment/ui/ToolbarAlignment/messages.d.ts +22 -0
- package/dist/types-ts4.5/plugins/alignment/ui/ToolbarAlignment/styles.d.ts +3 -0
- package/dist/types-ts4.5/plugins/alignment/utils/index.d.ts +3 -0
- package/dist/types-ts4.5/plugins/analytics/consts.d.ts +3 -0
- package/dist/types-ts4.5/plugins/analytics/index.d.ts +8 -0
- package/dist/types-ts4.5/plugins/analytics/plugin-key.d.ts +2 -0
- package/dist/types-ts4.5/plugins/analytics/plugin.d.ts +21 -0
- package/dist/types-ts4.5/plugins/analytics/types/dispatch-analytics-event.d.ts +1 -0
- package/dist/types-ts4.5/plugins/analytics/types/enums.d.ts +1 -0
- package/dist/types-ts4.5/plugins/analytics/types/events.d.ts +1 -0
- package/dist/types-ts4.5/plugins/analytics/types/experimental-events.d.ts +1 -0
- package/dist/types-ts4.5/plugins/analytics/types/extension-events.d.ts +2 -0
- package/dist/types-ts4.5/plugins/analytics/types/general-events.d.ts +2 -0
- package/dist/types-ts4.5/plugins/analytics/types/index.d.ts +9 -0
- package/dist/types-ts4.5/plugins/analytics/types/inline-comment-events.d.ts +2 -0
- package/dist/types-ts4.5/plugins/analytics/types/link-tool-bar-events.d.ts +1 -0
- package/dist/types-ts4.5/plugins/analytics/types/media-events.d.ts +1 -0
- package/dist/types-ts4.5/plugins/analytics/types/node-events.d.ts +2 -0
- package/dist/types-ts4.5/plugins/analytics/types/selection-events.d.ts +1 -0
- package/dist/types-ts4.5/plugins/analytics/types/smart-links.d.ts +2 -0
- package/dist/types-ts4.5/plugins/analytics/types/toolbar-button.d.ts +2 -0
- package/dist/types-ts4.5/plugins/analytics/utils.d.ts +9 -0
- package/dist/types-ts4.5/plugins/annotation/commands/index.d.ts +14 -0
- package/dist/types-ts4.5/plugins/annotation/commands/transform.d.ts +11 -0
- package/dist/types-ts4.5/plugins/annotation/index.d.ts +9 -0
- package/dist/types-ts4.5/plugins/annotation/nodeviews/index.d.ts +10 -0
- package/dist/types-ts4.5/plugins/annotation/pm-plugins/inline-comment.d.ts +3 -0
- package/dist/types-ts4.5/plugins/annotation/pm-plugins/keymap.d.ts +2 -0
- package/dist/types-ts4.5/plugins/annotation/pm-plugins/plugin-factory.d.ts +2 -0
- package/dist/types-ts4.5/plugins/annotation/pm-plugins/reducer.d.ts +3 -0
- package/dist/types-ts4.5/plugins/annotation/pm-plugins/types.d.ts +68 -0
- package/dist/types-ts4.5/plugins/annotation/toolbar.d.ts +21 -0
- package/dist/types-ts4.5/plugins/annotation/types.d.ts +76 -0
- package/dist/types-ts4.5/plugins/annotation/ui/AnnotationViewWrapper.d.ts +10 -0
- package/dist/types-ts4.5/plugins/annotation/ui/InlineCommentView.d.ts +11 -0
- package/dist/types-ts4.5/plugins/annotation/update-provider.d.ts +8 -0
- package/dist/types-ts4.5/plugins/annotation/utils.d.ts +40 -0
- package/dist/types-ts4.5/plugins/avatar-group/index.d.ts +14 -0
- package/dist/types-ts4.5/plugins/avatar-group/messages.d.ts +7 -0
- package/dist/types-ts4.5/plugins/avatar-group/ui/AvatarGroupPluginWrapper.d.ts +15 -0
- package/dist/types-ts4.5/plugins/base/index.d.ts +19 -0
- package/dist/types-ts4.5/plugins/base/pm-plugins/better-type-history.d.ts +5 -0
- package/dist/types-ts4.5/plugins/base/pm-plugins/composition.d.ts +8 -0
- package/dist/types-ts4.5/plugins/base/pm-plugins/context-identifier.d.ts +12 -0
- package/dist/types-ts4.5/plugins/base/pm-plugins/decoration.d.ts +16 -0
- package/dist/types-ts4.5/plugins/base/pm-plugins/disable-spell-checking.d.ts +4 -0
- package/dist/types-ts4.5/plugins/base/pm-plugins/filter-steps.d.ts +4 -0
- package/dist/types-ts4.5/plugins/base/pm-plugins/fix-chrome-88-selection.d.ts +5 -0
- package/dist/types-ts4.5/plugins/base/pm-plugins/focus-handler.d.ts +6 -0
- package/dist/types-ts4.5/plugins/base/pm-plugins/frozen-editor.d.ts +12 -0
- package/dist/types-ts4.5/plugins/base/pm-plugins/inline-cursor-target.d.ts +17 -0
- package/dist/types-ts4.5/plugins/base/pm-plugins/newline-preserve-marks.d.ts +5 -0
- package/dist/types-ts4.5/plugins/base/pm-plugins/react-nodeview.d.ts +13 -0
- package/dist/types-ts4.5/plugins/base/pm-plugins/scroll-gutter.d.ts +23 -0
- package/dist/types-ts4.5/plugins/base/utils/frozen-editor.d.ts +2 -0
- package/dist/types-ts4.5/plugins/base/utils/input-latency-tracking.d.ts +42 -0
- package/dist/types-ts4.5/plugins/before-primaryToolbar/index.d.ts +8 -0
- package/dist/types-ts4.5/plugins/before-primaryToolbar/ui/BeforePrimaryToolbarWrapper.d.ts +5 -0
- package/dist/types-ts4.5/plugins/block-type/commands/block-type.d.ts +13 -0
- package/dist/types-ts4.5/plugins/block-type/commands/delete-and-move-cursor.d.ts +12 -0
- package/dist/types-ts4.5/plugins/block-type/commands/delete-block-content.d.ts +10 -0
- package/dist/types-ts4.5/plugins/block-type/commands/index.d.ts +6 -0
- package/dist/types-ts4.5/plugins/block-type/commands/insert-block.d.ts +5 -0
- package/dist/types-ts4.5/plugins/block-type/commands/transform-to-code-block.d.ts +3 -0
- package/dist/types-ts4.5/plugins/block-type/index.d.ts +8 -0
- package/dist/types-ts4.5/plugins/block-type/messages.d.ts +152 -0
- package/dist/types-ts4.5/plugins/block-type/pm-plugins/input-rule.d.ts +5 -0
- package/dist/types-ts4.5/plugins/block-type/pm-plugins/keymap.d.ts +4 -0
- package/dist/types-ts4.5/plugins/block-type/pm-plugins/main.d.ts +11 -0
- package/dist/types-ts4.5/plugins/block-type/styles.d.ts +2 -0
- package/dist/types-ts4.5/plugins/block-type/types.d.ts +43 -0
- package/dist/types-ts4.5/plugins/block-type/ui/ToolbarBlockType/blocktype-button.d.ts +23 -0
- package/dist/types-ts4.5/plugins/block-type/ui/ToolbarBlockType/index.d.ts +29 -0
- package/dist/types-ts4.5/plugins/block-type/ui/ToolbarBlockType/styled.d.ts +4 -0
- package/dist/types-ts4.5/plugins/block-type/ui/ToolbarBlockType/toolbar-messages.d.ts +7 -0
- package/dist/types-ts4.5/plugins/block-type/utils.d.ts +2 -0
- package/dist/types-ts4.5/plugins/border/index.d.ts +3 -0
- package/dist/types-ts4.5/plugins/breakout/commands/remove-breakout.d.ts +2 -0
- package/dist/types-ts4.5/plugins/breakout/commands/set-breakout-mode.d.ts +3 -0
- package/dist/types-ts4.5/plugins/breakout/constants.d.ts +4 -0
- package/dist/types-ts4.5/plugins/breakout/index.d.ts +8 -0
- package/dist/types-ts4.5/plugins/breakout/plugin-key.d.ts +4 -0
- package/dist/types-ts4.5/plugins/breakout/types.d.ts +4 -0
- package/dist/types-ts4.5/plugins/breakout/ui/LayoutButton.d.ts +17 -0
- package/dist/types-ts4.5/plugins/breakout/utils/find-breakout-node.d.ts +9 -0
- package/dist/types-ts4.5/plugins/breakout/utils/get-breakout-mode.d.ts +7 -0
- package/dist/types-ts4.5/plugins/breakout/utils/is-breakout-mark-allowed.d.ts +9 -0
- package/dist/types-ts4.5/plugins/breakout/utils/is-supported-node.d.ts +6 -0
- package/dist/types-ts4.5/plugins/caption/index.d.ts +3 -0
- package/dist/types-ts4.5/plugins/caption/nodeviews/index.d.ts +16 -0
- package/dist/types-ts4.5/plugins/caption/pm-plugins/keymap.d.ts +2 -0
- package/dist/types-ts4.5/plugins/caption/pm-plugins/main.d.ts +6 -0
- package/dist/types-ts4.5/plugins/caption/pm-plugins/plugin-key.d.ts +2 -0
- package/dist/types-ts4.5/plugins/card/index.d.ts +10 -0
- package/dist/types-ts4.5/plugins/card/messages.d.ts +82 -0
- package/dist/types-ts4.5/plugins/card/nodeviews/blockCard.d.ts +23 -0
- package/dist/types-ts4.5/plugins/card/nodeviews/embedCard.d.ts +43 -0
- package/dist/types-ts4.5/plugins/card/nodeviews/genericCard.d.ts +34 -0
- package/dist/types-ts4.5/plugins/card/nodeviews/inlineCard.d.ts +22 -0
- package/dist/types-ts4.5/plugins/card/pm-plugins/actions.d.ts +13 -0
- package/dist/types-ts4.5/plugins/card/pm-plugins/analytics/create-analytics-queue.d.ts +10 -0
- package/dist/types-ts4.5/plugins/card/pm-plugins/analytics/events-from-tr.d.ts +17 -0
- package/dist/types-ts4.5/plugins/card/pm-plugins/analytics/index.d.ts +2 -0
- package/dist/types-ts4.5/plugins/card/pm-plugins/analytics/types.d.ts +10 -0
- package/dist/types-ts4.5/plugins/card/pm-plugins/analytics/utils.d.ts +26 -0
- package/dist/types-ts4.5/plugins/card/pm-plugins/doc.d.ts +17 -0
- package/dist/types-ts4.5/plugins/card/pm-plugins/keymap.d.ts +3 -0
- package/dist/types-ts4.5/plugins/card/pm-plugins/main.d.ts +5 -0
- package/dist/types-ts4.5/plugins/card/pm-plugins/plugin-key.d.ts +2 -0
- package/dist/types-ts4.5/plugins/card/pm-plugins/reducers.d.ts +3 -0
- package/dist/types-ts4.5/plugins/card/pm-plugins/shouldReplaceLink.d.ts +2 -0
- package/dist/types-ts4.5/plugins/card/pm-plugins/util/resolve.d.ts +6 -0
- package/dist/types-ts4.5/plugins/card/pm-plugins/util/state.d.ts +28 -0
- package/dist/types-ts4.5/plugins/card/styles.d.ts +2 -0
- package/dist/types-ts4.5/plugins/card/toolbar.d.ts +10 -0
- package/dist/types-ts4.5/plugins/card/types.d.ts +142 -0
- package/dist/types-ts4.5/plugins/card/ui/EditLinkToolbar.d.ts +37 -0
- package/dist/types-ts4.5/plugins/card/ui/EditorSmartCardEvents.d.ts +5 -0
- package/dist/types-ts4.5/plugins/card/ui/EditorSmartCardEventsNext.d.ts +18 -0
- package/dist/types-ts4.5/plugins/card/ui/LinkToolbarAppearance.d.ts +25 -0
- package/dist/types-ts4.5/plugins/card/ui/LinkToolbarButtonGroup.d.ts +16 -0
- package/dist/types-ts4.5/plugins/card/ui/ResizableEmbedCard.d.ts +60 -0
- package/dist/types-ts4.5/plugins/card/ui/assets/card.d.ts +3 -0
- package/dist/types-ts4.5/plugins/card/ui/assets/embed.d.ts +3 -0
- package/dist/types-ts4.5/plugins/card/ui/assets/inline.d.ts +3 -0
- package/dist/types-ts4.5/plugins/card/ui/assets/url.d.ts +3 -0
- package/dist/types-ts4.5/plugins/card/ui/link-toolbar-button-group-options.d.ts +5 -0
- package/dist/types-ts4.5/plugins/card/ui/styled.d.ts +2 -0
- package/dist/types-ts4.5/plugins/card/ui/types.d.ts +12 -0
- package/dist/types-ts4.5/plugins/card/utils.d.ts +21 -0
- package/dist/types-ts4.5/plugins/clear-marks-on-change-to-empty-document/index.d.ts +7 -0
- package/dist/types-ts4.5/plugins/clipboard/index.d.ts +3 -0
- package/dist/types-ts4.5/plugins/clipboard/plugin-key.d.ts +2 -0
- package/dist/types-ts4.5/plugins/clipboard/pm-plugins/main.d.ts +19 -0
- package/dist/types-ts4.5/plugins/code-bidi-warning/index.d.ts +8 -0
- package/dist/types-ts4.5/plugins/code-bidi-warning/plugin-key.d.ts +2 -0
- package/dist/types-ts4.5/plugins/code-bidi-warning/pm-plugins/main.d.ts +5 -0
- package/dist/types-ts4.5/plugins/code-bidi-warning/pm-plugins/plugin-factory.d.ts +8 -0
- package/dist/types-ts4.5/plugins/code-bidi-warning/pm-plugins/reducer.d.ts +3 -0
- package/dist/types-ts4.5/plugins/code-bidi-warning/pm-plugins/types.d.ts +6 -0
- package/dist/types-ts4.5/plugins/code-block/actions.d.ts +7 -0
- package/dist/types-ts4.5/plugins/code-block/ide-ux/bracket-handling.d.ts +12 -0
- package/dist/types-ts4.5/plugins/code-block/ide-ux/commands.d.ts +6 -0
- package/dist/types-ts4.5/plugins/code-block/ide-ux/line-handling.d.ts +25 -0
- package/dist/types-ts4.5/plugins/code-block/ide-ux/paired-character-handling.d.ts +2 -0
- package/dist/types-ts4.5/plugins/code-block/ide-ux/quote-handling.d.ts +12 -0
- package/dist/types-ts4.5/plugins/code-block/index.d.ts +6 -0
- package/dist/types-ts4.5/plugins/code-block/language-list.d.ts +1641 -0
- package/dist/types-ts4.5/plugins/code-block/nodeviews/code-block.d.ts +21 -0
- package/dist/types-ts4.5/plugins/code-block/plugin-key.d.ts +2 -0
- package/dist/types-ts4.5/plugins/code-block/pm-plugins/actions.d.ts +4 -0
- package/dist/types-ts4.5/plugins/code-block/pm-plugins/codeBlockCopySelectionPlugin.d.ts +14 -0
- package/dist/types-ts4.5/plugins/code-block/pm-plugins/ide-ux.d.ts +3 -0
- package/dist/types-ts4.5/plugins/code-block/pm-plugins/keymaps.d.ts +4 -0
- package/dist/types-ts4.5/plugins/code-block/pm-plugins/main-state.d.ts +8 -0
- package/dist/types-ts4.5/plugins/code-block/pm-plugins/main.d.ts +9 -0
- package/dist/types-ts4.5/plugins/code-block/refresh-browser-selection.d.ts +5 -0
- package/dist/types-ts4.5/plugins/code-block/styles.d.ts +2 -0
- package/dist/types-ts4.5/plugins/code-block/toolbar.d.ts +14 -0
- package/dist/types-ts4.5/plugins/code-block/types.d.ts +7 -0
- package/dist/types-ts4.5/plugins/code-block/ui/class-names.d.ts +8 -0
- package/dist/types-ts4.5/plugins/code-block/utils.d.ts +5 -0
- package/dist/types-ts4.5/plugins/collab-edit/actions.d.ts +10 -0
- package/dist/types-ts4.5/plugins/collab-edit/analytics.d.ts +5 -0
- package/dist/types-ts4.5/plugins/collab-edit/events/handlers.d.ts +23 -0
- package/dist/types-ts4.5/plugins/collab-edit/events/initialize.d.ts +14 -0
- package/dist/types-ts4.5/plugins/collab-edit/events/send-transaction.d.ts +11 -0
- package/dist/types-ts4.5/plugins/collab-edit/get-participants-count.d.ts +2 -0
- package/dist/types-ts4.5/plugins/collab-edit/index.d.ts +14 -0
- package/dist/types-ts4.5/plugins/collab-edit/native-collab-provider-plugin.d.ts +7 -0
- package/dist/types-ts4.5/plugins/collab-edit/participants.d.ts +18 -0
- package/dist/types-ts4.5/plugins/collab-edit/plugin-key.d.ts +3 -0
- package/dist/types-ts4.5/plugins/collab-edit/plugin-state.d.ts +23 -0
- package/dist/types-ts4.5/plugins/collab-edit/plugin.d.ts +11 -0
- package/dist/types-ts4.5/plugins/collab-edit/provider/index.d.ts +1 -0
- package/dist/types-ts4.5/plugins/collab-edit/provider/types.d.ts +1 -0
- package/dist/types-ts4.5/plugins/collab-edit/styles.d.ts +1 -0
- package/dist/types-ts4.5/plugins/collab-edit/types.d.ts +36 -0
- package/dist/types-ts4.5/plugins/collab-edit/ui/avatars-with-plugin-state.d.ts +23 -0
- package/dist/types-ts4.5/plugins/collab-edit/ui/avatars.d.ts +12 -0
- package/dist/types-ts4.5/plugins/collab-edit/ui/colored-avatar-item.d.ts +7 -0
- package/dist/types-ts4.5/plugins/collab-edit/ui/index.d.ts +2 -0
- package/dist/types-ts4.5/plugins/collab-edit/ui/invite-to-edit.d.ts +10 -0
- package/dist/types-ts4.5/plugins/collab-edit/ui/styles.d.ts +3 -0
- package/dist/types-ts4.5/plugins/collab-edit/ui/to-avatar.d.ts +4 -0
- package/dist/types-ts4.5/plugins/collab-edit/utils.d.ts +19 -0
- package/dist/types-ts4.5/plugins/context-panel/index.d.ts +11 -0
- package/dist/types-ts4.5/plugins/context-panel/transforms.d.ts +2 -0
- package/dist/types-ts4.5/plugins/context-panel/types.d.ts +1 -0
- package/dist/types-ts4.5/plugins/copy-button/commands.d.ts +8 -0
- package/dist/types-ts4.5/plugins/copy-button/index.d.ts +3 -0
- package/dist/types-ts4.5/plugins/copy-button/pm-plugins/main.d.ts +12 -0
- package/dist/types-ts4.5/plugins/copy-button/pm-plugins/plugin-key.d.ts +2 -0
- package/dist/types-ts4.5/plugins/copy-button/toolbar.d.ts +12 -0
- package/dist/types-ts4.5/plugins/copy-button/utils.d.ts +8 -0
- package/dist/types-ts4.5/plugins/custom-autoformat/doc.d.ts +6 -0
- package/dist/types-ts4.5/plugins/custom-autoformat/index.d.ts +6 -0
- package/dist/types-ts4.5/plugins/custom-autoformat/input-rules.d.ts +9 -0
- package/dist/types-ts4.5/plugins/custom-autoformat/reducers.d.ts +4 -0
- package/dist/types-ts4.5/plugins/custom-autoformat/types.d.ts +31 -0
- package/dist/types-ts4.5/plugins/custom-autoformat/utils.d.ts +5 -0
- package/dist/types-ts4.5/plugins/data-consumer/index.d.ts +3 -0
- package/dist/types-ts4.5/plugins/date/actions.d.ts +17 -0
- package/dist/types-ts4.5/plugins/date/index.d.ts +13 -0
- package/dist/types-ts4.5/plugins/date/nodeviews/date.d.ts +3 -0
- package/dist/types-ts4.5/plugins/date/nodeviews/messages.d.ts +7 -0
- package/dist/types-ts4.5/plugins/date/pm-plugins/keymap.d.ts +3 -0
- package/dist/types-ts4.5/plugins/date/pm-plugins/main.d.ts +6 -0
- package/dist/types-ts4.5/plugins/date/pm-plugins/plugin-key.d.ts +3 -0
- package/dist/types-ts4.5/plugins/date/pm-plugins/types.d.ts +12 -0
- package/dist/types-ts4.5/plugins/date/pm-plugins/utils.d.ts +5 -0
- package/dist/types-ts4.5/plugins/date/styles.d.ts +1 -0
- package/dist/types-ts4.5/plugins/date/types.d.ts +6 -0
- package/dist/types-ts4.5/plugins/date/ui/DatePicker/date-picker-input.d.ts +25 -0
- package/dist/types-ts4.5/plugins/date/ui/DatePicker/index.d.ts +34 -0
- package/dist/types-ts4.5/plugins/date/utils/formatParse.d.ts +27 -0
- package/dist/types-ts4.5/plugins/date/utils/internal.d.ts +33 -0
- package/dist/types-ts4.5/plugins/editor-disabled/index.d.ts +13 -0
- package/dist/types-ts4.5/plugins/emoji/commands/insert-emoji.d.ts +4 -0
- package/dist/types-ts4.5/plugins/emoji/index.d.ts +28 -0
- package/dist/types-ts4.5/plugins/emoji/messages.d.ts +7 -0
- package/dist/types-ts4.5/plugins/emoji/nodeviews/emoji.d.ts +7 -0
- package/dist/types-ts4.5/plugins/emoji/pm-plugins/ascii-input-rules.d.ts +9 -0
- package/dist/types-ts4.5/plugins/emoji/styles.d.ts +1 -0
- package/dist/types-ts4.5/plugins/emoji/types.d.ts +11 -0
- package/dist/types-ts4.5/plugins/emoji/ui/Emoji/index.d.ts +4 -0
- package/dist/types-ts4.5/plugins/expand/commands.d.ts +12 -0
- package/dist/types-ts4.5/plugins/expand/index.d.ts +20 -0
- package/dist/types-ts4.5/plugins/expand/nodeviews/index.d.ts +51 -0
- package/dist/types-ts4.5/plugins/expand/pm-plugins/keymap.d.ts +2 -0
- package/dist/types-ts4.5/plugins/expand/pm-plugins/main.d.ts +7 -0
- package/dist/types-ts4.5/plugins/expand/pm-plugins/plugin-factory.d.ts +3 -0
- package/dist/types-ts4.5/plugins/expand/reducer.d.ts +3 -0
- package/dist/types-ts4.5/plugins/expand/toolbar.d.ts +2 -0
- package/dist/types-ts4.5/plugins/expand/types.d.ts +9 -0
- package/dist/types-ts4.5/plugins/expand/ui/ExpandIconButton.d.ts +43 -0
- package/dist/types-ts4.5/plugins/expand/ui/class-names.d.ts +11 -0
- package/dist/types-ts4.5/plugins/expand/ui/styles.d.ts +2 -0
- package/dist/types-ts4.5/plugins/expand/utils.d.ts +1 -0
- package/dist/types-ts4.5/plugins/extension/actions.d.ts +16 -0
- package/dist/types-ts4.5/plugins/extension/commands.d.ts +11 -0
- package/dist/types-ts4.5/plugins/extension/context-panel.d.ts +7 -0
- package/dist/types-ts4.5/plugins/extension/extension-api.d.ts +14 -0
- package/dist/types-ts4.5/plugins/extension/index.d.ts +17 -0
- package/dist/types-ts4.5/plugins/extension/nodeviews/extension.d.ts +28 -0
- package/dist/types-ts4.5/plugins/extension/plugin-factory.d.ts +4 -0
- package/dist/types-ts4.5/plugins/extension/plugin-key.d.ts +3 -0
- package/dist/types-ts4.5/plugins/extension/pm-plugins/keymap.d.ts +2 -0
- package/dist/types-ts4.5/plugins/extension/pm-plugins/main.d.ts +23 -0
- package/dist/types-ts4.5/plugins/extension/pm-plugins/unique-id.d.ts +3 -0
- package/dist/types-ts4.5/plugins/extension/pm-plugins/utils.d.ts +3 -0
- package/dist/types-ts4.5/plugins/extension/reducer.d.ts +2 -0
- package/dist/types-ts4.5/plugins/extension/toolbar.d.ts +34 -0
- package/dist/types-ts4.5/plugins/extension/types.d.ts +20 -0
- package/dist/types-ts4.5/plugins/extension/ui/Extension/Extension/index.d.ts +104 -0
- package/dist/types-ts4.5/plugins/extension/ui/Extension/Extension/styles.d.ts +6 -0
- package/dist/types-ts4.5/plugins/extension/ui/Extension/ExtensionComponent.d.ts +48 -0
- package/dist/types-ts4.5/plugins/extension/ui/Extension/ExtensionNodeWrapper.d.ts +7 -0
- package/dist/types-ts4.5/plugins/extension/ui/Extension/InlineExtension/index.d.ts +12 -0
- package/dist/types-ts4.5/plugins/extension/ui/Extension/InlineExtension/styles.d.ts +2 -0
- package/dist/types-ts4.5/plugins/extension/ui/Extension/Lozenge.d.ts +14 -0
- package/dist/types-ts4.5/plugins/extension/ui/Extension/index.d.ts +25 -0
- package/dist/types-ts4.5/plugins/extension/ui/Extension/styles.d.ts +8 -0
- package/dist/types-ts4.5/plugins/extension/ui/SaveIndicator/SaveIndicator.d.ts +4 -0
- package/dist/types-ts4.5/plugins/extension/ui/SaveIndicator/messages.d.ts +7 -0
- package/dist/types-ts4.5/plugins/extension/ui/SaveIndicator/types.d.ts +11 -0
- package/dist/types-ts4.5/plugins/extension/ui/styles.d.ts +1 -0
- package/dist/types-ts4.5/plugins/extension/utils.d.ts +10 -0
- package/dist/types-ts4.5/plugins/fake-text-cursor/cursor.d.ts +28 -0
- package/dist/types-ts4.5/plugins/fake-text-cursor/index.d.ts +7 -0
- package/dist/types-ts4.5/plugins/fake-text-cursor/styles.d.ts +1 -0
- package/dist/types-ts4.5/plugins/feedback-dialog/getBrowserInfo.d.ts +6 -0
- package/dist/types-ts4.5/plugins/feedback-dialog/getDeviceInfo.d.ts +6 -0
- package/dist/types-ts4.5/plugins/feedback-dialog/index.d.ts +7 -0
- package/dist/types-ts4.5/plugins/feedback-dialog/loadJiraCollectorDialogScript.d.ts +8 -0
- package/dist/types-ts4.5/plugins/find-replace/FindReplaceToolbarButtonWithState.d.ts +17 -0
- package/dist/types-ts4.5/plugins/find-replace/actions.d.ts +64 -0
- package/dist/types-ts4.5/plugins/find-replace/commands-with-analytics.d.ts +27 -0
- package/dist/types-ts4.5/plugins/find-replace/commands.d.ts +12 -0
- package/dist/types-ts4.5/plugins/find-replace/index.d.ts +13 -0
- package/dist/types-ts4.5/plugins/find-replace/keymap.d.ts +3 -0
- package/dist/types-ts4.5/plugins/find-replace/plugin.d.ts +6 -0
- package/dist/types-ts4.5/plugins/find-replace/reducer.d.ts +4 -0
- package/dist/types-ts4.5/plugins/find-replace/styles.d.ts +3 -0
- package/dist/types-ts4.5/plugins/find-replace/types.d.ts +44 -0
- package/dist/types-ts4.5/plugins/find-replace/ui/Find.d.ts +70 -0
- package/dist/types-ts4.5/plugins/find-replace/ui/FindReplace.d.ts +43 -0
- package/dist/types-ts4.5/plugins/find-replace/ui/FindReplaceToolbarButton.d.ts +21 -0
- package/dist/types-ts4.5/plugins/find-replace/ui/FindReplaceTooltipButton.d.ts +18 -0
- package/dist/types-ts4.5/plugins/find-replace/ui/Replace.d.ts +26 -0
- package/dist/types-ts4.5/plugins/find-replace/ui/styles.d.ts +5 -0
- package/dist/types-ts4.5/plugins/find-replace/utils/batch-decorations.d.ts +36 -0
- package/dist/types-ts4.5/plugins/find-replace/utils/index.d.ts +49 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/index.d.ts +24 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/pm-plugins/force-focus/index.d.ts +18 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/pm-plugins/toolbar-data/commands.d.ts +3 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/pm-plugins/toolbar-data/plugin-factory.d.ts +1 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/pm-plugins/toolbar-data/plugin-key.d.ts +3 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/pm-plugins/toolbar-data/plugin.d.ts +3 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/pm-plugins/toolbar-data/reducer.d.ts +2 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/pm-plugins/toolbar-data/types.d.ts +11 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/types.d.ts +1 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/ui/Button.d.ts +30 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/ui/CheckboxModal.d.ts +4 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/ui/ConfirmationModal.d.ts +6 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/ui/Dropdown.d.ts +39 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/ui/DropdownMenu.d.ts +29 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/ui/EditorEmojiAddIcon.d.ts +2 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/ui/EmojiPickerButton.d.ts +15 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/ui/ExtensionsPlaceholder.d.ts +12 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/ui/Input.d.ts +23 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/ui/ScrollButtons.d.ts +13 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/ui/Select.d.ts +21 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/ui/Separator.d.ts +4 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/ui/SimpleModal.d.ts +4 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/ui/Toolbar.d.ts +38 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/ui/ToolbarLoader.d.ts +4 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/ui/messages.d.ts +48 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/ui/styles.d.ts +20 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/ui/types.d.ts +1 -0
- package/dist/types-ts4.5/plugins/floating-toolbar/utils.d.ts +4 -0
- package/dist/types-ts4.5/plugins/fragment/index.d.ts +3 -0
- package/dist/types-ts4.5/plugins/fragment/plugin-key.d.ts +2 -0
- package/dist/types-ts4.5/plugins/fragment/pm-plugins/fragment-consistency.d.ts +15 -0
- package/dist/types-ts4.5/plugins/grid/index.d.ts +18 -0
- package/dist/types-ts4.5/plugins/grid/styles.d.ts +2 -0
- package/dist/types-ts4.5/plugins/grid/types.d.ts +6 -0
- package/dist/types-ts4.5/plugins/help-dialog/commands.d.ts +3 -0
- package/dist/types-ts4.5/plugins/help-dialog/index.d.ts +7 -0
- package/dist/types-ts4.5/plugins/help-dialog/plugin-key.d.ts +2 -0
- package/dist/types-ts4.5/plugins/help-dialog/ui/HelpDialogLoader.d.ts +4 -0
- package/dist/types-ts4.5/plugins/help-dialog/ui/index.d.ts +27 -0
- package/dist/types-ts4.5/plugins/help-dialog/ui/styles.d.ts +33 -0
- package/dist/types-ts4.5/plugins/history/actions.d.ts +8 -0
- package/dist/types-ts4.5/plugins/history/index.d.ts +13 -0
- package/dist/types-ts4.5/plugins/history/pm-history-types.d.ts +18 -0
- package/dist/types-ts4.5/plugins/history/reducer.d.ts +4 -0
- package/dist/types-ts4.5/plugins/history/types.d.ts +4 -0
- package/dist/types-ts4.5/plugins/history/utils.d.ts +4 -0
- package/dist/types-ts4.5/plugins/hyperlink/HyperlinkToolbarAppearance.d.ts +28 -0
- package/dist/types-ts4.5/plugins/hyperlink/Toolbar.d.ts +4 -0
- package/dist/types-ts4.5/plugins/hyperlink/analytics.d.ts +2 -0
- package/dist/types-ts4.5/plugins/hyperlink/commands.d.ts +16 -0
- package/dist/types-ts4.5/plugins/hyperlink/index.d.ts +11 -0
- package/dist/types-ts4.5/plugins/hyperlink/pm-plugins/fake-curor-for-toolbar-plugin-key.d.ts +2 -0
- package/dist/types-ts4.5/plugins/hyperlink/pm-plugins/fake-cursor-for-toolbar.d.ts +3 -0
- package/dist/types-ts4.5/plugins/hyperlink/pm-plugins/input-rule.d.ts +7 -0
- package/dist/types-ts4.5/plugins/hyperlink/pm-plugins/keymap.d.ts +3 -0
- package/dist/types-ts4.5/plugins/hyperlink/pm-plugins/main.d.ts +46 -0
- package/dist/types-ts4.5/plugins/hyperlink/styles.d.ts +6 -0
- package/dist/types-ts4.5/plugins/hyperlink/types.d.ts +35 -0
- package/dist/types-ts4.5/plugins/hyperlink/ui/EditorLinkPicker/index.d.ts +19 -0
- package/dist/types-ts4.5/plugins/hyperlink/ui/EditorLinkPicker/useEscapeClickaway.d.ts +2 -0
- package/dist/types-ts4.5/plugins/hyperlink/ui/HyperlinkAddToolbar/HyperlinkAddToolbar.d.ts +109 -0
- package/dist/types-ts4.5/plugins/hyperlink/ui/HyperlinkAddToolbar/index.d.ts +19 -0
- package/dist/types-ts4.5/plugins/hyperlink/ui/HyperlinkAddToolbar/messages.d.ts +32 -0
- package/dist/types-ts4.5/plugins/hyperlink/ui/HyperlinkAddToolbar/utils.d.ts +7 -0
- package/dist/types-ts4.5/plugins/hyperlink/utils.d.ts +25 -0
- package/dist/types-ts4.5/plugins/image-upload/index.d.ts +3 -0
- package/dist/types-ts4.5/plugins/image-upload/pm-plugins/actions.d.ts +2 -0
- package/dist/types-ts4.5/plugins/image-upload/pm-plugins/commands.d.ts +4 -0
- package/dist/types-ts4.5/plugins/image-upload/pm-plugins/input-rule.d.ts +5 -0
- package/dist/types-ts4.5/plugins/image-upload/pm-plugins/main.d.ts +3 -0
- package/dist/types-ts4.5/plugins/image-upload/pm-plugins/plugin-key.d.ts +3 -0
- package/dist/types-ts4.5/plugins/image-upload/types.d.ts +13 -0
- package/dist/types-ts4.5/plugins/image-upload/utils.d.ts +5 -0
- package/dist/types-ts4.5/plugins/indentation/commands/index.d.ts +8 -0
- package/dist/types-ts4.5/plugins/indentation/commands/utils.d.ts +36 -0
- package/dist/types-ts4.5/plugins/indentation/index.d.ts +3 -0
- package/dist/types-ts4.5/plugins/indentation/messages.d.ts +12 -0
- package/dist/types-ts4.5/plugins/indentation/pm-plugins/keymap.d.ts +3 -0
- package/dist/types-ts4.5/plugins/index.d.ts +69 -0
- package/dist/types-ts4.5/plugins/insert-block/index.d.ts +20 -0
- package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/block-insert-element-browser.d.ts +25 -0
- package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/block-insert-menu-legacy.d.ts +18 -0
- package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/block-insert-menu.d.ts +27 -0
- package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/create-items.d.ts +43 -0
- package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/dropdown-button.d.ts +16 -0
- package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/index.d.ts +46 -0
- package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/item.d.ts +34 -0
- package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/messages.d.ts +1 -0
- package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/shallow-equals.d.ts +1 -0
- package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/sort-items.d.ts +2 -0
- package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/styles.d.ts +1 -0
- package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/types.d.ts +62 -0
- package/dist/types-ts4.5/plugins/jira-issue/index.d.ts +5 -0
- package/dist/types-ts4.5/plugins/jira-issue/nodeviews/jira-issue.d.ts +7 -0
- package/dist/types-ts4.5/plugins/layout/actions.d.ts +22 -0
- package/dist/types-ts4.5/plugins/layout/index.d.ts +8 -0
- package/dist/types-ts4.5/plugins/layout/pm-plugins/main.d.ts +5 -0
- package/dist/types-ts4.5/plugins/layout/pm-plugins/plugin-key.d.ts +3 -0
- package/dist/types-ts4.5/plugins/layout/pm-plugins/types.d.ts +14 -0
- package/dist/types-ts4.5/plugins/layout/styles.d.ts +4 -0
- package/dist/types-ts4.5/plugins/layout/toolbar-messages.d.ts +32 -0
- package/dist/types-ts4.5/plugins/layout/toolbar.d.ts +5 -0
- package/dist/types-ts4.5/plugins/layout/types.d.ts +13 -0
- package/dist/types-ts4.5/plugins/layout/utils.d.ts +1 -0
- package/dist/types-ts4.5/plugins/list/actions/conversions.d.ts +6 -0
- package/dist/types-ts4.5/plugins/list/actions/indent-list-items-selected.d.ts +2 -0
- package/dist/types-ts4.5/plugins/list/actions/indent-list.d.ts +2 -0
- package/dist/types-ts4.5/plugins/list/actions/join-list-items-forward.d.ts +16 -0
- package/dist/types-ts4.5/plugins/list/actions/join-list-items-scenarios/index.d.ts +5 -0
- package/dist/types-ts4.5/plugins/list/actions/join-list-items-scenarios/join-list-item-with-paragraph.d.ts +9 -0
- package/dist/types-ts4.5/plugins/list/actions/join-list-items-scenarios/join-list-item-with-parent-nested-list.d.ts +9 -0
- package/dist/types-ts4.5/plugins/list/actions/join-list-items-scenarios/join-nested-list-with-parent-list-item.d.ts +9 -0
- package/dist/types-ts4.5/plugins/list/actions/join-list-items-scenarios/join-paragraph-with-list.d.ts +9 -0
- package/dist/types-ts4.5/plugins/list/actions/join-list-items-scenarios/join-sibling-list-items.d.ts +9 -0
- package/dist/types-ts4.5/plugins/list/actions/merge-lists.d.ts +7 -0
- package/dist/types-ts4.5/plugins/list/actions/outdent-list-items-selected.d.ts +3 -0
- package/dist/types-ts4.5/plugins/list/actions/wrap-and-join-lists.d.ts +15 -0
- package/dist/types-ts4.5/plugins/list/commands/indent-list.d.ts +5 -0
- package/dist/types-ts4.5/plugins/list/commands/index.d.ts +16 -0
- package/dist/types-ts4.5/plugins/list/commands/join-list-item-forward.d.ts +2 -0
- package/dist/types-ts4.5/plugins/list/commands/listBackspace.d.ts +12 -0
- package/dist/types-ts4.5/plugins/list/commands/outdent-list.d.ts +6 -0
- package/dist/types-ts4.5/plugins/list/index.d.ts +10 -0
- package/dist/types-ts4.5/plugins/list/messages.d.ts +27 -0
- package/dist/types-ts4.5/plugins/list/pm-plugins/input-rules/create-list-input-rule.d.ts +9 -0
- package/dist/types-ts4.5/plugins/list/pm-plugins/input-rules/index.d.ts +4 -0
- package/dist/types-ts4.5/plugins/list/pm-plugins/input-rules/wrapping-join-rule.d.ts +13 -0
- package/dist/types-ts4.5/plugins/list/pm-plugins/keymap.d.ts +4 -0
- package/dist/types-ts4.5/plugins/list/pm-plugins/main.d.ts +10 -0
- package/dist/types-ts4.5/plugins/list/styles.d.ts +1 -0
- package/dist/types-ts4.5/plugins/list/transforms.d.ts +16 -0
- package/dist/types-ts4.5/plugins/list/types.d.ts +11 -0
- package/dist/types-ts4.5/plugins/list/utils/analytics.d.ts +7 -0
- package/dist/types-ts4.5/plugins/list/utils/find.d.ts +10 -0
- package/dist/types-ts4.5/plugins/list/utils/indentation.d.ts +7 -0
- package/dist/types-ts4.5/plugins/list/utils/node.d.ts +21 -0
- package/dist/types-ts4.5/plugins/list/utils/replace-content.d.ts +8 -0
- package/dist/types-ts4.5/plugins/list/utils/selection.d.ts +24 -0
- package/dist/types-ts4.5/plugins/macro/actions.d.ts +8 -0
- package/dist/types-ts4.5/plugins/macro/index.d.ts +11 -0
- package/dist/types-ts4.5/plugins/macro/plugin-key.d.ts +3 -0
- package/dist/types-ts4.5/plugins/macro/types.d.ts +4 -0
- package/dist/types-ts4.5/plugins/max-content-size/index.d.ts +13 -0
- package/dist/types-ts4.5/plugins/media/commands/captions.d.ts +4 -0
- package/dist/types-ts4.5/plugins/media/commands/helpers.d.ts +15 -0
- package/dist/types-ts4.5/plugins/media/commands/index.d.ts +1 -0
- package/dist/types-ts4.5/plugins/media/commands/linking.d.ts +10 -0
- package/dist/types-ts4.5/plugins/media/index.d.ts +14 -0
- package/dist/types-ts4.5/plugins/media/media-plugin-options.d.ts +18 -0
- package/dist/types-ts4.5/plugins/media/nodeviews/__mocks__/mediaNodeUpdater.d.ts +24 -0
- package/dist/types-ts4.5/plugins/media/nodeviews/mediaGroup.d.ts +33 -0
- package/dist/types-ts4.5/plugins/media/nodeviews/mediaInline.d.ts +47 -0
- package/dist/types-ts4.5/plugins/media/nodeviews/mediaNodeUpdater.d.ts +47 -0
- package/dist/types-ts4.5/plugins/media/nodeviews/mediaNodeView/index.d.ts +26 -0
- package/dist/types-ts4.5/plugins/media/nodeviews/mediaNodeView/media.d.ts +45 -0
- package/dist/types-ts4.5/plugins/media/nodeviews/mediaSingle.d.ts +61 -0
- package/dist/types-ts4.5/plugins/media/nodeviews/messages.d.ts +7 -0
- package/dist/types-ts4.5/plugins/media/nodeviews/styles.d.ts +16 -0
- package/dist/types-ts4.5/plugins/media/nodeviews/types.d.ts +39 -0
- package/dist/types-ts4.5/plugins/media/picker-facade.d.ts +44 -0
- package/dist/types-ts4.5/plugins/media/pm-plugins/alt-text/actions.d.ts +10 -0
- package/dist/types-ts4.5/plugins/media/pm-plugins/alt-text/commands.d.ts +3 -0
- package/dist/types-ts4.5/plugins/media/pm-plugins/alt-text/index.d.ts +7 -0
- package/dist/types-ts4.5/plugins/media/pm-plugins/alt-text/keymap.d.ts +3 -0
- package/dist/types-ts4.5/plugins/media/pm-plugins/alt-text/messages.d.ts +37 -0
- package/dist/types-ts4.5/plugins/media/pm-plugins/alt-text/reducer.d.ts +4 -0
- package/dist/types-ts4.5/plugins/media/pm-plugins/alt-text/style.d.ts +3 -0
- package/dist/types-ts4.5/plugins/media/pm-plugins/alt-text/types.d.ts +3 -0
- package/dist/types-ts4.5/plugins/media/pm-plugins/alt-text/ui/AltTextEdit.d.ts +41 -0
- package/dist/types-ts4.5/plugins/media/pm-plugins/keymap-media-single.d.ts +3 -0
- package/dist/types-ts4.5/plugins/media/pm-plugins/keymap.d.ts +4 -0
- package/dist/types-ts4.5/plugins/media/pm-plugins/linking/actions.d.ts +20 -0
- package/dist/types-ts4.5/plugins/media/pm-plugins/linking/index.d.ts +10 -0
- package/dist/types-ts4.5/plugins/media/pm-plugins/linking/keymap.d.ts +3 -0
- package/dist/types-ts4.5/plugins/media/pm-plugins/linking/reducer.d.ts +4 -0
- package/dist/types-ts4.5/plugins/media/pm-plugins/linking/types.d.ts +12 -0
- package/dist/types-ts4.5/plugins/media/pm-plugins/main.d.ts +108 -0
- package/dist/types-ts4.5/plugins/media/pm-plugins/media-editor-plugin-factory.d.ts +3 -0
- package/dist/types-ts4.5/plugins/media/pm-plugins/mediaTaskManager.d.ts +9 -0
- package/dist/types-ts4.5/plugins/media/pm-plugins/plugin-key.d.ts +3 -0
- package/dist/types-ts4.5/plugins/media/pm-plugins/types.d.ts +60 -0
- package/dist/types-ts4.5/plugins/media/styles.d.ts +1 -0
- package/dist/types-ts4.5/plugins/media/toolbar/alt-text.d.ts +11 -0
- package/dist/types-ts4.5/plugins/media/toolbar/commands.d.ts +9 -0
- package/dist/types-ts4.5/plugins/media/toolbar/filePreviewItem.d.ts +9 -0
- package/dist/types-ts4.5/plugins/media/toolbar/imageBorder.d.ts +2 -0
- package/dist/types-ts4.5/plugins/media/toolbar/index.d.ts +5 -0
- package/dist/types-ts4.5/plugins/media/toolbar/linking-toolbar-appearance.d.ts +14 -0
- package/dist/types-ts4.5/plugins/media/toolbar/linking.d.ts +8 -0
- package/dist/types-ts4.5/plugins/media/toolbar/utils.d.ts +6 -0
- package/dist/types-ts4.5/plugins/media/types.d.ts +102 -0
- package/dist/types-ts4.5/plugins/media/ui/CaptionPlaceholder/index.d.ts +7 -0
- package/dist/types-ts4.5/plugins/media/ui/CaptionPlaceholder/messages.d.ts +7 -0
- package/dist/types-ts4.5/plugins/media/ui/ImageBorder/index.d.ts +13 -0
- package/dist/types-ts4.5/plugins/media/ui/ImageBorder/messages.d.ts +42 -0
- package/dist/types-ts4.5/plugins/media/ui/ImageBorder/styles.d.ts +15 -0
- package/dist/types-ts4.5/plugins/media/ui/Media/DropPlaceholder.d.ts +8 -0
- package/dist/types-ts4.5/plugins/media/ui/Media/drop-placeholder-messages.d.ts +7 -0
- package/dist/types-ts4.5/plugins/media/ui/MediaLinkingToolbar.d.ts +35 -0
- package/dist/types-ts4.5/plugins/media/ui/MediaPicker/BrowserWrapper.d.ts +11 -0
- package/dist/types-ts4.5/plugins/media/ui/MediaPicker/ClipboardWrapper.d.ts +9 -0
- package/dist/types-ts4.5/plugins/media/ui/MediaPicker/DropzoneWrapper.d.ts +13 -0
- package/dist/types-ts4.5/plugins/media/ui/MediaPicker/PickerFacadeProvider.d.ts +28 -0
- package/dist/types-ts4.5/plugins/media/ui/MediaPicker/index.d.ts +21 -0
- package/dist/types-ts4.5/plugins/media/ui/ResizableMediaSingle/index.d.ts +44 -0
- package/dist/types-ts4.5/plugins/media/ui/ResizableMediaSingle/styled.d.ts +2 -0
- package/dist/types-ts4.5/plugins/media/ui/ResizableMediaSingle/types.d.ts +40 -0
- package/dist/types-ts4.5/plugins/media/ui/ToolbarMedia/index.d.ts +17 -0
- package/dist/types-ts4.5/plugins/media/ui/ToolbarMedia/toolbar-media-messages.d.ts +7 -0
- package/dist/types-ts4.5/plugins/media/ui/media-linking-toolbar-messages.d.ts +7 -0
- package/dist/types-ts4.5/plugins/media/utils/check-media-type.d.ts +4 -0
- package/dist/types-ts4.5/plugins/media/utils/current-media-node.d.ts +9 -0
- package/dist/types-ts4.5/plugins/media/utils/is-image.d.ts +1 -0
- package/dist/types-ts4.5/plugins/media/utils/media-common.d.ts +29 -0
- package/dist/types-ts4.5/plugins/media/utils/media-files.d.ts +30 -0
- package/dist/types-ts4.5/plugins/media/utils/media-single.d.ts +32 -0
- package/dist/types-ts4.5/plugins/mentions/analytics.d.ts +13 -0
- package/dist/types-ts4.5/plugins/mentions/index.d.ts +8 -0
- package/dist/types-ts4.5/plugins/mentions/messages.d.ts +22 -0
- package/dist/types-ts4.5/plugins/mentions/nodeviews/mention.d.ts +9 -0
- package/dist/types-ts4.5/plugins/mentions/pm-plugins/key.d.ts +3 -0
- package/dist/types-ts4.5/plugins/mentions/pm-plugins/main.d.ts +6 -0
- package/dist/types-ts4.5/plugins/mentions/pm-plugins/utils.d.ts +3 -0
- package/dist/types-ts4.5/plugins/mentions/styles.d.ts +1 -0
- package/dist/types-ts4.5/plugins/mentions/type-ahead/index.d.ts +17 -0
- package/dist/types-ts4.5/plugins/mentions/types.d.ts +25 -0
- package/dist/types-ts4.5/plugins/mentions/ui/InviteItem/index.d.ts +22 -0
- package/dist/types-ts4.5/plugins/mentions/ui/InviteItem/styles.d.ts +8 -0
- package/dist/types-ts4.5/plugins/mentions/ui/Mention/index.d.ts +19 -0
- package/dist/types-ts4.5/plugins/mentions/ui/ToolbarMention/index.d.ts +12 -0
- package/dist/types-ts4.5/plugins/mentions/utils.d.ts +8 -0
- package/dist/types-ts4.5/plugins/mobile-dimensions/actions.d.ts +23 -0
- package/dist/types-ts4.5/plugins/mobile-dimensions/commands.d.ts +4 -0
- package/dist/types-ts4.5/plugins/mobile-dimensions/index.d.ts +3 -0
- package/dist/types-ts4.5/plugins/mobile-dimensions/plugin-factory.d.ts +5 -0
- package/dist/types-ts4.5/plugins/mobile-dimensions/reducer.d.ts +3 -0
- package/dist/types-ts4.5/plugins/mobile-dimensions/types.d.ts +10 -0
- package/dist/types-ts4.5/plugins/mobile-dimensions/utils.d.ts +2 -0
- package/dist/types-ts4.5/plugins/mobile-selection/content-in-selection.d.ts +5 -0
- package/dist/types-ts4.5/plugins/mobile-selection/index.d.ts +2 -0
- package/dist/types-ts4.5/plugins/mobile-selection/mobile-selection-plugin.d.ts +7 -0
- package/dist/types-ts4.5/plugins/mobile-selection/types.d.ts +32 -0
- package/dist/types-ts4.5/plugins/panel/actions.d.ts +9 -0
- package/dist/types-ts4.5/plugins/panel/index.d.ts +6 -0
- package/dist/types-ts4.5/plugins/panel/message.d.ts +37 -0
- package/dist/types-ts4.5/plugins/panel/nodeviews/panel.d.ts +35 -0
- package/dist/types-ts4.5/plugins/panel/pm-plugins/keymaps.d.ts +3 -0
- package/dist/types-ts4.5/plugins/panel/pm-plugins/main.d.ts +11 -0
- package/dist/types-ts4.5/plugins/panel/styles.d.ts +2 -0
- package/dist/types-ts4.5/plugins/panel/toolbar.d.ts +13 -0
- package/dist/types-ts4.5/plugins/panel/types.d.ts +21 -0
- package/dist/types-ts4.5/plugins/panel/utils.d.ts +5 -0
- package/dist/types-ts4.5/plugins/paste/actions.d.ts +15 -0
- package/dist/types-ts4.5/plugins/paste/commands.d.ts +16 -0
- package/dist/types-ts4.5/plugins/paste/edge-cases/index.d.ts +7 -0
- package/dist/types-ts4.5/plugins/paste/edge-cases/lists.d.ts +18 -0
- package/dist/types-ts4.5/plugins/paste/handlers.d.ts +50 -0
- package/dist/types-ts4.5/plugins/paste/index.d.ts +14 -0
- package/dist/types-ts4.5/plugins/paste/md-plugins/ignore-list-heading-md-plugin.d.ts +2 -0
- package/dist/types-ts4.5/plugins/paste/md.d.ts +2 -0
- package/dist/types-ts4.5/plugins/paste/pm-plugins/analytics.d.ts +42 -0
- package/dist/types-ts4.5/plugins/paste/pm-plugins/clipboard-text-serializer.d.ts +13 -0
- package/dist/types-ts4.5/plugins/paste/pm-plugins/main.d.ts +10 -0
- package/dist/types-ts4.5/plugins/paste/pm-plugins/plugin-factory.d.ts +3 -0
- package/dist/types-ts4.5/plugins/paste/reducer.d.ts +3 -0
- package/dist/types-ts4.5/plugins/paste/types.d.ts +6 -0
- package/dist/types-ts4.5/plugins/paste/util/index.d.ts +18 -0
- package/dist/types-ts4.5/plugins/paste/util/tinyMCE.d.ts +32 -0
- package/dist/types-ts4.5/plugins/placeholder/index.d.ts +16 -0
- package/dist/types-ts4.5/plugins/placeholder/styles.d.ts +1 -0
- package/dist/types-ts4.5/plugins/placeholder-text/actions.d.ts +4 -0
- package/dist/types-ts4.5/plugins/placeholder-text/index.d.ts +9 -0
- package/dist/types-ts4.5/plugins/placeholder-text/placeholder-text-nodeview.d.ts +17 -0
- package/dist/types-ts4.5/plugins/placeholder-text/plugin-key.d.ts +3 -0
- package/dist/types-ts4.5/plugins/placeholder-text/selection-utils.d.ts +2 -0
- package/dist/types-ts4.5/plugins/placeholder-text/styles.d.ts +1 -0
- package/dist/types-ts4.5/plugins/placeholder-text/types.d.ts +7 -0
- package/dist/types-ts4.5/plugins/placeholder-text/ui/PlaceholderFloatingToolbar/index.d.ts +25 -0
- package/dist/types-ts4.5/plugins/quick-insert/api.d.ts +6 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/action.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/code.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/custom-panel.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/date.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/decision.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/divider.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/emoji.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/expand.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/fallback.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/feedback.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/heading1.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/heading2.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/heading3.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/heading4.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/heading5.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/heading6.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/images.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/index.d.ts +30 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/layout.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/link.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/list-number.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/list.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/mention.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/panel-error.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/panel-note.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/panel-success.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/panel-warning.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/panel.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/quote.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/assets/status.d.ts +2 -0
- package/dist/types-ts4.5/plugins/quick-insert/commands.d.ts +5 -0
- package/dist/types-ts4.5/plugins/quick-insert/index.d.ts +13 -0
- package/dist/types-ts4.5/plugins/quick-insert/plugin-key.d.ts +3 -0
- package/dist/types-ts4.5/plugins/quick-insert/search.d.ts +5 -0
- package/dist/types-ts4.5/plugins/quick-insert/types.d.ts +24 -0
- package/dist/types-ts4.5/plugins/quick-insert/ui/ModalElementBrowser/index.d.ts +8 -0
- package/dist/types-ts4.5/plugins/rank.d.ts +6 -0
- package/dist/types-ts4.5/plugins/rule/commands.d.ts +4 -0
- package/dist/types-ts4.5/plugins/rule/index.d.ts +9 -0
- package/dist/types-ts4.5/plugins/rule/pm-plugins/input-rule.d.ts +8 -0
- package/dist/types-ts4.5/plugins/rule/pm-plugins/keymap.d.ts +4 -0
- package/dist/types-ts4.5/plugins/rule/styles.d.ts +2 -0
- package/dist/types-ts4.5/plugins/save-on-enter/index.d.ts +10 -0
- package/dist/types-ts4.5/plugins/scroll-into-view/index.d.ts +14 -0
- package/dist/types-ts4.5/plugins/selection/actions.d.ts +17 -0
- package/dist/types-ts4.5/plugins/selection/commands.d.ts +8 -0
- package/dist/types-ts4.5/plugins/selection/gap-cursor/actions.d.ts +25 -0
- package/dist/types-ts4.5/plugins/selection/gap-cursor/direction.d.ts +10 -0
- package/dist/types-ts4.5/plugins/selection/gap-cursor/selection.d.ts +1 -0
- package/dist/types-ts4.5/plugins/selection/gap-cursor/styles.d.ts +2 -0
- package/dist/types-ts4.5/plugins/selection/gap-cursor/utils/is-ignored.d.ts +1 -0
- package/dist/types-ts4.5/plugins/selection/gap-cursor/utils/is-valid-target-node.d.ts +1 -0
- package/dist/types-ts4.5/plugins/selection/gap-cursor/utils/place-gap-cursor.d.ts +2 -0
- package/dist/types-ts4.5/plugins/selection/gap-cursor/utils.d.ts +7 -0
- package/dist/types-ts4.5/plugins/selection/gap-cursor-selection.d.ts +2 -0
- package/dist/types-ts4.5/plugins/selection/index.d.ts +6 -0
- package/dist/types-ts4.5/plugins/selection/plugin-factory.d.ts +2 -0
- package/dist/types-ts4.5/plugins/selection/pm-plugins/events/create-selection-between.d.ts +4 -0
- package/dist/types-ts4.5/plugins/selection/pm-plugins/events/keydown.d.ts +2 -0
- package/dist/types-ts4.5/plugins/selection/pm-plugins/gap-cursor-keymap.d.ts +2 -0
- package/dist/types-ts4.5/plugins/selection/pm-plugins/gap-cursor-main.d.ts +3 -0
- package/dist/types-ts4.5/plugins/selection/pm-plugins/gap-cursor-plugin-key.d.ts +2 -0
- package/dist/types-ts4.5/plugins/selection/pm-plugins/keymap.d.ts +3 -0
- package/dist/types-ts4.5/plugins/selection/pm-plugins/selection-main.d.ts +7 -0
- package/dist/types-ts4.5/plugins/selection/reducer.d.ts +3 -0
- package/dist/types-ts4.5/plugins/selection/types.d.ts +14 -0
- package/dist/types-ts4.5/plugins/selection/utils.d.ts +64 -0
- package/dist/types-ts4.5/plugins/status/actions.d.ts +14 -0
- package/dist/types-ts4.5/plugins/status/analytics.d.ts +4 -0
- package/dist/types-ts4.5/plugins/status/index.d.ts +6 -0
- package/dist/types-ts4.5/plugins/status/keymap.d.ts +3 -0
- package/dist/types-ts4.5/plugins/status/nodeviews/messages.d.ts +17 -0
- package/dist/types-ts4.5/plugins/status/nodeviews/status.d.ts +24 -0
- package/dist/types-ts4.5/plugins/status/plugin-key.d.ts +4 -0
- package/dist/types-ts4.5/plugins/status/plugin.d.ts +7 -0
- package/dist/types-ts4.5/plugins/status/styles.d.ts +1 -0
- package/dist/types-ts4.5/plugins/status/types.d.ts +14 -0
- package/dist/types-ts4.5/plugins/status/ui/statusPicker.d.ts +55 -0
- package/dist/types-ts4.5/plugins/status/utils.d.ts +5 -0
- package/dist/types-ts4.5/plugins/submit-editor/index.d.ts +11 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/commands.d.ts +16 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/index.d.ts +6 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/nodeviews/decisionItem.d.ts +5 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/nodeviews/taskItem.d.ts +9 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/commands.d.ts +15 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/helpers.d.ts +54 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/input-rules.d.ts +5 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/keymaps.d.ts +9 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/main.d.ts +5 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/plugin-key.d.ts +2 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/styles.d.ts +1 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/types.d.ts +23 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/ui/Decision/index.d.ts +14 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/ui/Task/index.d.ts +26 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/ui/Task/task-item-with-providers.d.ts +27 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/ui/ToolbarDecision/index.d.ts +20 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/ui/ToolbarTask/index.d.ts +20 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/utils.d.ts +4 -0
- package/dist/types-ts4.5/plugins/text-color/commands/change-color.d.ts +2 -0
- package/dist/types-ts4.5/plugins/text-color/commands/remove-color.d.ts +2 -0
- package/dist/types-ts4.5/plugins/text-color/commands/toggle-color.d.ts +2 -0
- package/dist/types-ts4.5/plugins/text-color/index.d.ts +13 -0
- package/dist/types-ts4.5/plugins/text-color/pm-plugins/main.d.ts +25 -0
- package/dist/types-ts4.5/plugins/text-color/ui/ToolbarTextColor/icon.d.ts +2 -0
- package/dist/types-ts4.5/plugins/text-color/ui/ToolbarTextColor/index.d.ts +51 -0
- package/dist/types-ts4.5/plugins/text-color/ui/ToolbarTextColor/styles.d.ts +3 -0
- package/dist/types-ts4.5/plugins/text-color/utils/color.d.ts +6 -0
- package/dist/types-ts4.5/plugins/text-color/utils/disabled.d.ts +2 -0
- package/dist/types-ts4.5/plugins/text-formatting/commands/clear-formatting.d.ts +6 -0
- package/dist/types-ts4.5/plugins/text-formatting/commands/text-formatting.d.ts +35 -0
- package/dist/types-ts4.5/plugins/text-formatting/commands/transform-to-code.d.ts +2 -0
- package/dist/types-ts4.5/plugins/text-formatting/index.d.ts +6 -0
- package/dist/types-ts4.5/plugins/text-formatting/pm-plugins/clear-formatting-keymap.d.ts +3 -0
- package/dist/types-ts4.5/plugins/text-formatting/pm-plugins/clear-formatting.d.ts +8 -0
- package/dist/types-ts4.5/plugins/text-formatting/pm-plugins/cursor.d.ts +3 -0
- package/dist/types-ts4.5/plugins/text-formatting/pm-plugins/input-rule.d.ts +23 -0
- package/dist/types-ts4.5/plugins/text-formatting/pm-plugins/keymap.d.ts +3 -0
- package/dist/types-ts4.5/plugins/text-formatting/pm-plugins/main.d.ts +7 -0
- package/dist/types-ts4.5/plugins/text-formatting/pm-plugins/plugin-key.d.ts +3 -0
- package/dist/types-ts4.5/plugins/text-formatting/pm-plugins/smart-input-rule.d.ts +3 -0
- package/dist/types-ts4.5/plugins/text-formatting/styles.d.ts +2 -0
- package/dist/types-ts4.5/plugins/text-formatting/types.d.ts +30 -0
- package/dist/types-ts4.5/plugins/text-formatting/ui/Toolbar/constants.d.ts +6 -0
- package/dist/types-ts4.5/plugins/text-formatting/ui/Toolbar/dropdown-menu.d.ts +15 -0
- package/dist/types-ts4.5/plugins/text-formatting/ui/Toolbar/hooks/clear-formatting-icon.d.ts +2 -0
- package/dist/types-ts4.5/plugins/text-formatting/ui/Toolbar/hooks/formatting-icons.d.ts +9 -0
- package/dist/types-ts4.5/plugins/text-formatting/ui/Toolbar/hooks/menu-state.d.ts +5 -0
- package/dist/types-ts4.5/plugins/text-formatting/ui/Toolbar/hooks/responsive-toolbar-buttons.d.ts +20 -0
- package/dist/types-ts4.5/plugins/text-formatting/ui/Toolbar/index.d.ts +24 -0
- package/dist/types-ts4.5/plugins/text-formatting/ui/Toolbar/more-button.d.ts +13 -0
- package/dist/types-ts4.5/plugins/text-formatting/ui/Toolbar/single-toolbar-buttons.d.ts +9 -0
- package/dist/types-ts4.5/plugins/text-formatting/ui/Toolbar/toolbar-messages.d.ts +87 -0
- package/dist/types-ts4.5/plugins/text-formatting/ui/Toolbar/types.d.ts +32 -0
- package/dist/types-ts4.5/plugins/text-formatting/utils.d.ts +15 -0
- package/dist/types-ts4.5/plugins/toolbar-lists-indentation/index.d.ts +13 -0
- package/dist/types-ts4.5/plugins/toolbar-lists-indentation/pm-plugins/indentation-buttons.d.ts +14 -0
- package/dist/types-ts4.5/plugins/toolbar-lists-indentation/types.d.ts +20 -0
- package/dist/types-ts4.5/plugins/toolbar-lists-indentation/ui/Toolbar.d.ts +4 -0
- package/dist/types-ts4.5/plugins/toolbar-lists-indentation/ui/ToolbarDropdown.d.ts +9 -0
- package/dist/types-ts4.5/plugins/toolbar-lists-indentation/ui/index.d.ts +22 -0
- package/dist/types-ts4.5/plugins/toolbar-lists-indentation/ui/onItemActivated.d.ts +8 -0
- package/dist/types-ts4.5/plugins/type-ahead/api.d.ts +62 -0
- package/dist/types-ts4.5/plugins/type-ahead/commands/insert-type-ahead-item.d.ts +12 -0
- package/dist/types-ts4.5/plugins/type-ahead/commands/update-list-items.d.ts +3 -0
- package/dist/types-ts4.5/plugins/type-ahead/commands/update-query.d.ts +2 -0
- package/dist/types-ts4.5/plugins/type-ahead/commands/update-selected-index.d.ts +2 -0
- package/dist/types-ts4.5/plugins/type-ahead/constants.d.ts +8 -0
- package/dist/types-ts4.5/plugins/type-ahead/index.d.ts +22 -0
- package/dist/types-ts4.5/plugins/type-ahead/insert-utils.d.ts +18 -0
- package/dist/types-ts4.5/plugins/type-ahead/messages.d.ts +72 -0
- package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/actions.d.ts +9 -0
- package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/decorations.d.ts +15 -0
- package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/input-rules.d.ts +6 -0
- package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/insert-item-plugin.d.ts +2 -0
- package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/key.d.ts +3 -0
- package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/main.d.ts +15 -0
- package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/reducer.d.ts +10 -0
- package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/utils.d.ts +4 -0
- package/dist/types-ts4.5/plugins/type-ahead/stats-modifier.d.ts +20 -0
- package/dist/types-ts4.5/plugins/type-ahead/transforms/close-type-ahead.d.ts +2 -0
- package/dist/types-ts4.5/plugins/type-ahead/transforms/open-typeahead-at-cursor.d.ts +10 -0
- package/dist/types-ts4.5/plugins/type-ahead/transforms/set-selection-before-query.d.ts +2 -0
- package/dist/types-ts4.5/plugins/type-ahead/types.d.ts +65 -0
- package/dist/types-ts4.5/plugins/type-ahead/ui/AssistiveText.d.ts +33 -0
- package/dist/types-ts4.5/plugins/type-ahead/ui/InputQuery.d.ts +27 -0
- package/dist/types-ts4.5/plugins/type-ahead/ui/TypeAheadList.d.ts +25 -0
- package/dist/types-ts4.5/plugins/type-ahead/ui/TypeAheadListItem.d.ts +18 -0
- package/dist/types-ts4.5/plugins/type-ahead/ui/TypeAheadPopup.d.ts +29 -0
- package/dist/types-ts4.5/plugins/type-ahead/ui/WrapperTypeAhead.d.ts +21 -0
- package/dist/types-ts4.5/plugins/type-ahead/ui/hooks/use-item-insert.d.ts +7 -0
- package/dist/types-ts4.5/plugins/type-ahead/ui/hooks/use-load-items.d.ts +3 -0
- package/dist/types-ts4.5/plugins/type-ahead/ui/hooks/use-on-force-select.d.ts +11 -0
- package/dist/types-ts4.5/plugins/type-ahead/utils.d.ts +29 -0
- package/dist/types-ts4.5/plugins/undo-redo/attach-input-meta.d.ts +5 -0
- package/dist/types-ts4.5/plugins/undo-redo/commands.d.ts +4 -0
- package/dist/types-ts4.5/plugins/undo-redo/enums.d.ts +4 -0
- package/dist/types-ts4.5/plugins/undo-redo/index.d.ts +3 -0
- package/dist/types-ts4.5/plugins/undo-redo/messages.d.ts +12 -0
- package/dist/types-ts4.5/plugins/undo-redo/pm-plugins/keymaps.d.ts +2 -0
- package/dist/types-ts4.5/plugins/undo-redo/pm-plugins/main.d.ts +2 -0
- package/dist/types-ts4.5/plugins/undo-redo/pm-plugins/plugin-key.d.ts +2 -0
- package/dist/types-ts4.5/plugins/undo-redo/ui/ToolbarUndoRedo/index.d.ts +21 -0
- package/dist/types-ts4.5/plugins/undo-redo/undo-redo-input-source.d.ts +3 -0
- package/dist/types-ts4.5/plugins/unsupported-content/index.d.ts +5 -0
- package/dist/types-ts4.5/plugins/unsupported-content/styles.d.ts +5 -0
- package/dist/types-ts4.5/plugins/unsupported-content/unsupported-inline-node-view.d.ts +11 -0
- package/dist/types-ts4.5/plugins/view-update-subscription/index.d.ts +19 -0
- package/dist/types-ts4.5/plugins/view-update-subscription/subscribe/toolbarAndPickerUpdates.d.ts +12 -0
- package/dist/types-ts4.5/plugins/view-update-subscription/subscribe/type-ahead-updates.d.ts +9 -0
- package/dist/types-ts4.5/plugins/width/index.d.ts +10 -0
- package/dist/types-ts4.5/selection-api/api.d.ts +11 -0
- package/dist/types-ts4.5/stories/examples.d.ts +9 -0
- package/dist/types-ts4.5/test-utils.d.ts +38 -0
- package/dist/types-ts4.5/types/allowed-block-types.d.ts +1 -0
- package/dist/types-ts4.5/types/browser.d.ts +1 -0
- package/dist/types-ts4.5/types/command.d.ts +5 -0
- package/dist/types-ts4.5/types/dom-at-pos.d.ts +4 -0
- package/dist/types-ts4.5/types/editor-appearance-component.d.ts +48 -0
- package/dist/types-ts4.5/types/editor-appearance.d.ts +1 -0
- package/dist/types-ts4.5/types/editor-config.d.ts +24 -0
- package/dist/types-ts4.5/types/editor-instance.d.ts +19 -0
- package/dist/types-ts4.5/types/editor-onchange.d.ts +4 -0
- package/dist/types-ts4.5/types/editor-plugin.d.ts +1 -0
- package/dist/types-ts4.5/types/editor-props.d.ts +259 -0
- package/dist/types-ts4.5/types/editor-react-context.d.ts +1 -0
- package/dist/types-ts4.5/types/empty-state-handler.d.ts +1 -0
- package/dist/types-ts4.5/types/extension-config.d.ts +5 -0
- package/dist/types-ts4.5/types/feature-flags.d.ts +1 -0
- package/dist/types-ts4.5/types/get-editor-props.d.ts +12 -0
- package/dist/types-ts4.5/types/i18n.d.ts +5 -0
- package/dist/types-ts4.5/types/index.d.ts +18 -0
- package/dist/types-ts4.5/types/performance-tracking.d.ts +323 -0
- package/dist/types-ts4.5/types/pm-config.d.ts +1 -0
- package/dist/types-ts4.5/types/pm-plugin-list.d.ts +9 -0
- package/dist/types-ts4.5/types/pm-plugin.d.ts +1 -0
- package/dist/types-ts4.5/types/ui-components.d.ts +1 -0
- package/dist/types-ts4.5/ui/Addon/ClickAreaBlock/index.d.ts +10 -0
- package/dist/types-ts4.5/ui/Addon/ClickAreaInline/index.d.ts +8 -0
- package/dist/types-ts4.5/ui/Addon/ClickAreaMobile/index.d.ts +31 -0
- package/dist/types-ts4.5/ui/Addon/Dropdown/index.d.ts +14 -0
- package/dist/types-ts4.5/ui/Addon/Dropdown/styles.d.ts +1 -0
- package/dist/types-ts4.5/ui/Addon/DropdownItem/index.d.ts +5 -0
- package/dist/types-ts4.5/ui/Addon/DropdownItem/styles.d.ts +1 -0
- package/dist/types-ts4.5/ui/Addon/click-area-helper.d.ts +13 -0
- package/dist/types-ts4.5/ui/Addon/index.d.ts +6 -0
- package/dist/types-ts4.5/ui/Addon/types.d.ts +17 -0
- package/dist/types-ts4.5/ui/Alignment/AlignmentButton/index.d.ts +17 -0
- package/dist/types-ts4.5/ui/Alignment/index.d.ts +12 -0
- package/dist/types-ts4.5/ui/Alignment/messages.d.ts +17 -0
- package/dist/types-ts4.5/ui/Alignment/styles.d.ts +1 -0
- package/dist/types-ts4.5/ui/Appearance/Chromeless.d.ts +11 -0
- package/dist/types-ts4.5/ui/Appearance/Comment/Comment.d.ts +7 -0
- package/dist/types-ts4.5/ui/Appearance/Comment/Toolbar.d.ts +10 -0
- package/dist/types-ts4.5/ui/Appearance/Comment/index.d.ts +1 -0
- package/dist/types-ts4.5/ui/Appearance/FullPage/FullPage.d.ts +25 -0
- package/dist/types-ts4.5/ui/Appearance/FullPage/FullPageContentArea.d.ts +34 -0
- package/dist/types-ts4.5/ui/Appearance/FullPage/FullPageToolbar.d.ts +36 -0
- package/dist/types-ts4.5/ui/Appearance/FullPage/MainToolbar.d.ts +7 -0
- package/dist/types-ts4.5/ui/Appearance/FullPage/StyledComponents.d.ts +378 -0
- package/dist/types-ts4.5/ui/Appearance/FullPage/index.d.ts +1 -0
- package/dist/types-ts4.5/ui/Appearance/FullPage/messages.d.ts +18 -0
- package/dist/types-ts4.5/ui/Appearance/Mobile.d.ts +3 -0
- package/dist/types-ts4.5/ui/AppearanceComponents/Mobile.d.ts +12 -0
- package/dist/types-ts4.5/ui/ChromeCollapsed/index.d.ts +11 -0
- package/dist/types-ts4.5/ui/ChromeCollapsed/messages.d.ts +7 -0
- package/dist/types-ts4.5/ui/ChromeCollapsed/styles.d.ts +1 -0
- package/dist/types-ts4.5/ui/CollapsedEditor/index.d.ts +20 -0
- package/dist/types-ts4.5/ui/ColorPalette/Palettes/cellBackgroundColorPalette.d.ts +2 -0
- package/dist/types-ts4.5/ui/ColorPalette/Palettes/common.d.ts +1 -0
- package/dist/types-ts4.5/ui/ColorPalette/Palettes/index.d.ts +2 -0
- package/dist/types-ts4.5/ui/ColorPalette/Palettes/paletteMessages.d.ts +2 -0
- package/dist/types-ts4.5/ui/ColorPalette/Palettes/panelBackgroundPalette.d.ts +1 -0
- package/dist/types-ts4.5/ui/ColorPalette/Palettes/statusColorPalette.d.ts +1 -0
- package/dist/types-ts4.5/ui/ColorPalette/Palettes/textColorPalette.d.ts +1 -0
- package/dist/types-ts4.5/ui/ColorPalette/Palettes/type.d.ts +1 -0
- package/dist/types-ts4.5/ui/ColorPalette/index.d.ts +3 -0
- package/dist/types-ts4.5/ui/ColorPickerButton/index.d.ts +24 -0
- package/dist/types-ts4.5/ui/ConfigPanel/ConfigPanel.d.ts +22 -0
- package/dist/types-ts4.5/ui/ConfigPanel/ConfigPanelFieldsLoader.d.ts +20 -0
- package/dist/types-ts4.5/ui/ConfigPanel/ConfigPanelLoader.d.ts +5 -0
- package/dist/types-ts4.5/ui/ConfigPanel/ErrorMessage/ErrorImage.d.ts +4 -0
- package/dist/types-ts4.5/ui/ConfigPanel/ErrorMessage/index.d.ts +10 -0
- package/dist/types-ts4.5/ui/ConfigPanel/FieldMessages.d.ts +12 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/Boolean.d.ts +8 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/CheckboxGroup.d.ts +8 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/ColorPicker.d.ts +21 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/CustomSelect.d.ts +24 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/Date.d.ts +20 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/DateRange.d.ts +20 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/Enum.d.ts +10 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/Expand.d.ts +18 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/Fieldset.d.ts +20 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/Number.d.ts +10 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/RadioGroup.d.ts +8 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/Select.d.ts +11 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/SelectItem.d.ts +5 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/String.d.ts +10 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/TabGroup.d.ts +15 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/UnhandledType.d.ts +6 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/UserSelect.d.ts +10 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/common/RequiredIndicator.d.ts +1 -0
- package/dist/types-ts4.5/ui/ConfigPanel/FormContent.d.ts +4 -0
- package/dist/types-ts4.5/ui/ConfigPanel/FormErrorBoundary.d.ts +16 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Header.d.ts +21 -0
- package/dist/types-ts4.5/ui/ConfigPanel/LoadingState.d.ts +4 -0
- package/dist/types-ts4.5/ui/ConfigPanel/NestedForms/RemovableField.d.ts +19 -0
- package/dist/types-ts4.5/ui/ConfigPanel/index.d.ts +2 -0
- package/dist/types-ts4.5/ui/ConfigPanel/messages.d.ts +87 -0
- package/dist/types-ts4.5/ui/ConfigPanel/transformers.d.ts +9 -0
- package/dist/types-ts4.5/ui/ConfigPanel/types.d.ts +40 -0
- package/dist/types-ts4.5/ui/ConfigPanel/utils.d.ts +13 -0
- package/dist/types-ts4.5/ui/ContentStyles/index.d.ts +12 -0
- package/dist/types-ts4.5/ui/ContextPanel/context.d.ts +24 -0
- package/dist/types-ts4.5/ui/ContextPanel/index.d.ts +41 -0
- package/dist/types-ts4.5/ui/Dropdown/index.d.ts +7 -0
- package/dist/types-ts4.5/ui/DropdownMenu/index.d.ts +3 -0
- package/dist/types-ts4.5/ui/DropdownMenu/types.d.ts +1 -0
- package/dist/types-ts4.5/ui/EditorContext/index.d.ts +18 -0
- package/dist/types-ts4.5/ui/ElementBrowser/ElementBrowser.d.ts +36 -0
- package/dist/types-ts4.5/ui/ElementBrowser/InsertMenu.d.ts +4 -0
- package/dist/types-ts4.5/ui/ElementBrowser/ModalElementBrowser.d.ts +17 -0
- package/dist/types-ts4.5/ui/ElementBrowser/categories.d.ts +5 -0
- package/dist/types-ts4.5/ui/ElementBrowser/components/CategoryList.d.ts +10 -0
- package/dist/types-ts4.5/ui/ElementBrowser/components/ElementBrowserLoader.d.ts +5 -0
- package/dist/types-ts4.5/ui/ElementBrowser/components/ElementList/ElementList.d.ts +29 -0
- package/dist/types-ts4.5/ui/ElementBrowser/components/ElementList/EmptyState.d.ts +6 -0
- package/dist/types-ts4.5/ui/ElementBrowser/components/ElementList/NotFoundIllustration.d.ts +2 -0
- package/dist/types-ts4.5/ui/ElementBrowser/components/ElementList/cellSizeAndPositionGetter.d.ts +7 -0
- package/dist/types-ts4.5/ui/ElementBrowser/components/ElementList/utils.d.ts +12 -0
- package/dist/types-ts4.5/ui/ElementBrowser/components/ElementSearch.d.ts +17 -0
- package/dist/types-ts4.5/ui/ElementBrowser/components/StatelessElementBrowser.d.ts +22 -0
- package/dist/types-ts4.5/ui/ElementBrowser/constants.d.ts +20 -0
- package/dist/types-ts4.5/ui/ElementBrowser/hooks/use-container-width.d.ts +33 -0
- package/dist/types-ts4.5/ui/ElementBrowser/hooks/use-focus.d.ts +35 -0
- package/dist/types-ts4.5/ui/ElementBrowser/hooks/use-select-and-focus-on-arrow-navigation.d.ts +68 -0
- package/dist/types-ts4.5/ui/ElementBrowser/index.d.ts +2 -0
- package/dist/types-ts4.5/ui/ElementBrowser/messages.d.ts +7 -0
- package/dist/types-ts4.5/ui/ElementBrowser/types.d.ts +31 -0
- package/dist/types-ts4.5/ui/ErrorBoundary/index.d.ts +25 -0
- package/dist/types-ts4.5/ui/FloatingToolbar/index.d.ts +26 -0
- package/dist/types-ts4.5/ui/FloatingToolbar/styles.d.ts +1 -0
- package/dist/types-ts4.5/ui/FloatingToolbar/utils.d.ts +13 -0
- package/dist/types-ts4.5/ui/LinkSearch/LinkSearchList.d.ts +20 -0
- package/dist/types-ts4.5/ui/LinkSearch/LinkSearchListItem.d.ts +22 -0
- package/dist/types-ts4.5/ui/LinkSearch/ToolbarComponents.d.ts +7 -0
- package/dist/types-ts4.5/ui/LinkSearch/index.d.ts +59 -0
- package/dist/types-ts4.5/ui/LinkSearch/listItemAlts.d.ts +2 -0
- package/dist/types-ts4.5/ui/LinkSearch/transformTimeStamp.d.ts +10 -0
- package/dist/types-ts4.5/ui/LinkSearch/types.d.ts +49 -0
- package/dist/types-ts4.5/ui/LinkSearch/withActivityProvider.d.ts +66 -0
- package/dist/types-ts4.5/ui/MediaAndEmbedsToolbar/index.d.ts +7 -0
- package/dist/types-ts4.5/ui/MediaAndEmbedsToolbar/toolbar-messages.d.ts +12 -0
- package/dist/types-ts4.5/ui/PanelTextInput/index.d.ts +46 -0
- package/dist/types-ts4.5/ui/PanelTextInput/styles.d.ts +2 -0
- package/dist/types-ts4.5/ui/PluginSlot/index.d.ts +37 -0
- package/dist/types-ts4.5/ui/PortalProvider/PortalProviderThemesProvider.d.ts +6 -0
- package/dist/types-ts4.5/ui/PortalProvider/index.d.ts +51 -0
- package/dist/types-ts4.5/ui/Resizer/index.d.ts +41 -0
- package/dist/types-ts4.5/ui/Resizer/styled.d.ts +2 -0
- package/dist/types-ts4.5/ui/Resizer/types.d.ts +26 -0
- package/dist/types-ts4.5/ui/Resizer/utils.d.ts +6 -0
- package/dist/types-ts4.5/ui/Toolbar/Toolbar.d.ts +3 -0
- package/dist/types-ts4.5/ui/Toolbar/ToolbarInner.d.ts +8 -0
- package/dist/types-ts4.5/ui/Toolbar/ToolbarWithSizeDetector.d.ts +4 -0
- package/dist/types-ts4.5/ui/Toolbar/hooks.d.ts +4 -0
- package/dist/types-ts4.5/ui/Toolbar/index.d.ts +4 -0
- package/dist/types-ts4.5/ui/Toolbar/toolbar-size.d.ts +4 -0
- package/dist/types-ts4.5/ui/Toolbar/toolbar-types.d.ts +34 -0
- package/dist/types-ts4.5/ui/Toolbar/types.d.ts +2 -0
- package/dist/types-ts4.5/ui/ToolbarArrowKeyNavigationProvider/index.d.ts +30 -0
- package/dist/types-ts4.5/ui/ToolbarButton/index.d.ts +4 -0
- package/dist/types-ts4.5/ui/ToolbarFeedback/index.d.ts +45 -0
- package/dist/types-ts4.5/ui/ToolbarFeedback/styles.d.ts +6 -0
- package/dist/types-ts4.5/ui/ToolbarHelp/index.d.ts +11 -0
- package/dist/types-ts4.5/ui/ToolbarHelp/messages.d.ts +7 -0
- package/dist/types-ts4.5/ui/WidthEmitter/index.d.ts +7 -0
- package/dist/types-ts4.5/ui/WithEditorActions/index.d.ts +18 -0
- package/dist/types-ts4.5/ui/WithFlash/index.d.ts +11 -0
- package/dist/types-ts4.5/ui/WithHelpTrigger/index.d.ts +11 -0
- package/dist/types-ts4.5/ui/WithPluginState/index.d.ts +3 -0
- package/dist/types-ts4.5/ui/styles.d.ts +12 -0
- package/dist/types-ts4.5/ui/with-outer-listeners.d.ts +2 -0
- package/dist/types-ts4.5/utils/action.d.ts +10 -0
- package/dist/types-ts4.5/utils/announcer/announcer.d.ts +22 -0
- package/dist/types-ts4.5/utils/array.d.ts +2 -0
- package/dist/types-ts4.5/utils/cell-selection.d.ts +3 -0
- package/dist/types-ts4.5/utils/clipboard.d.ts +4 -0
- package/dist/types-ts4.5/utils/commands.d.ts +75 -0
- package/dist/types-ts4.5/utils/count-nodes.d.ts +8 -0
- package/dist/types-ts4.5/utils/deprecation-warnings.d.ts +8 -0
- package/dist/types-ts4.5/utils/document-logger.d.ts +6 -0
- package/dist/types-ts4.5/utils/document.d.ts +57 -0
- package/dist/types-ts4.5/utils/dom.d.ts +2 -0
- package/dist/types-ts4.5/utils/drag-drop.d.ts +1 -0
- package/dist/types-ts4.5/utils/extensions.d.ts +6 -0
- package/dist/types-ts4.5/utils/filter/privacy-filter.d.ts +9 -0
- package/dist/types-ts4.5/utils/get-editor-plugins.d.ts +10 -0
- package/dist/types-ts4.5/utils/getAttrsWithChangesRecorder.d.ts +23 -0
- package/dist/types-ts4.5/utils/index.d.ts +85 -0
- package/dist/types-ts4.5/utils/input-rules.d.ts +29 -0
- package/dist/types-ts4.5/utils/insert.d.ts +24 -0
- package/dist/types-ts4.5/utils/is-full-page.d.ts +2 -0
- package/dist/types-ts4.5/utils/is-text-input.d.ts +2 -0
- package/dist/types-ts4.5/utils/keymap.d.ts +11 -0
- package/dist/types-ts4.5/utils/linking-utils.d.ts +14 -0
- package/dist/types-ts4.5/utils/list-commands.d.ts +7 -0
- package/dist/types-ts4.5/utils/lists.d.ts +2 -0
- package/dist/types-ts4.5/utils/mark.d.ts +15 -0
- package/dist/types-ts4.5/utils/node-width.d.ts +7 -0
- package/dist/types-ts4.5/utils/nodes-by-localIds.d.ts +8 -0
- package/dist/types-ts4.5/utils/nodes.d.ts +1 -0
- package/dist/types-ts4.5/utils/performance/components/RenderTracking.d.ts +13 -0
- package/dist/types-ts4.5/utils/performance/get-performance-timing.d.ts +8 -0
- package/dist/types-ts4.5/utils/performance/instrumented-plugin.d.ts +17 -0
- package/dist/types-ts4.5/utils/performance/measure-enum.d.ts +8 -0
- package/dist/types-ts4.5/utils/performance/outlier.d.ts +1 -0
- package/dist/types-ts4.5/utils/performance/percentile.d.ts +1 -0
- package/dist/types-ts4.5/utils/performance/plugin-performance-observer.d.ts +22 -0
- package/dist/types-ts4.5/utils/performance/plugin-performance-report.d.ts +48 -0
- package/dist/types-ts4.5/utils/performance/safer-transactions.d.ts +9 -0
- package/dist/types-ts4.5/utils/performance/simple-measure-to-entries.d.ts +28 -0
- package/dist/types-ts4.5/utils/performance/track-transactions.d.ts +30 -0
- package/dist/types-ts4.5/utils/pick-by.d.ts +2 -0
- package/dist/types-ts4.5/utils/plugin-state-factory.d.ts +2 -0
- package/dist/types-ts4.5/utils/prepare-extension-provider.d.ts +5 -0
- package/dist/types-ts4.5/utils/prepare-quick-insert-provider.d.ts +16 -0
- package/dist/types-ts4.5/utils/prosemirror/autojoin.d.ts +13 -0
- package/dist/types-ts4.5/utils/prosemirror/position.d.ts +8 -0
- package/dist/types-ts4.5/utils/react-hooks/use-abortable-effect/index.d.ts +16 -0
- package/dist/types-ts4.5/utils/react-hooks/use-state-from-promise/index.d.ts +18 -0
- package/dist/types-ts4.5/utils/rich-media-utils.d.ts +8 -0
- package/dist/types-ts4.5/utils/selection.d.ts +11 -0
- package/dist/types-ts4.5/utils/sendLogs.d.ts +1 -0
- package/dist/types-ts4.5/utils/slice.d.ts +2 -0
- package/dist/types-ts4.5/utils/step.d.ts +1 -0
- package/dist/types-ts4.5/utils/table.d.ts +2 -0
- package/dist/types-ts4.5/version-wrapper.d.ts +3 -0
- package/package.json +5 -5
- /package/dist/cjs/plugins/paste/{newline-md-plugin.js → md-plugins/newline-md-plugin.js} +0 -0
- /package/dist/cjs/plugins/paste/{paragraph-md-plugin.js → md-plugins/paragraph-md-plugin.js} +0 -0
- /package/dist/es2019/plugins/paste/{newline-md-plugin.js → md-plugins/newline-md-plugin.js} +0 -0
- /package/dist/es2019/plugins/paste/{paragraph-md-plugin.js → md-plugins/paragraph-md-plugin.js} +0 -0
- /package/dist/esm/plugins/paste/{newline-md-plugin.js → md-plugins/newline-md-plugin.js} +0 -0
- /package/dist/esm/plugins/paste/{paragraph-md-plugin.js → md-plugins/paragraph-md-plugin.js} +0 -0
- /package/dist/{types/plugins/paste → types-ts4.5/plugins/paste/md-plugins}/linkify-md-plugin.d.ts +0 -0
- /package/dist/{types/plugins/paste → types-ts4.5/plugins/paste/md-plugins}/newline-md-plugin.d.ts +0 -0
- /package/dist/{types/plugins/paste → types-ts4.5/plugins/paste/md-plugins}/paragraph-md-plugin.d.ts +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 183.0.12
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`7a87ea4b905`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7a87ea4b905) - Fixes document inserted smartLink instead firing document pasted smartLink
|
|
8
|
+
|
|
9
|
+
## 183.0.9
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`333fa827c25`](https://bitbucket.org/atlassian/atlassian-frontend/commits/333fa827c25) - ED-15646: Fix paste behaviour for markdown which contains headings inside list items. List items with headings will now be retained.
|
|
14
|
+
|
|
3
15
|
## 183.0.8
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -180,9 +180,11 @@ var queueCardsFromChangedTr = function queueCardsFromChangedTr(state, tr, source
|
|
|
180
180
|
}
|
|
181
181
|
return false;
|
|
182
182
|
});
|
|
183
|
-
(
|
|
184
|
-
|
|
185
|
-
|
|
183
|
+
if (analyticsAction) {
|
|
184
|
+
(0, _card.addLinkMetadata)(state.selection, tr, {
|
|
185
|
+
action: analyticsAction
|
|
186
|
+
});
|
|
187
|
+
}
|
|
186
188
|
return (0, _actions.queueCards)(requests)(tr);
|
|
187
189
|
};
|
|
188
190
|
exports.queueCardsFromChangedTr = queueCardsFromChangedTr;
|
|
@@ -125,7 +125,7 @@ function handlePasteIntoTaskOrDecisionOrPanel(slice) {
|
|
|
125
125
|
// This maintains both the selection (destination) and the slice (paste content).
|
|
126
126
|
(0, _prosemirrorUtils.safeInsert)(transformedSlice.content)(tr).scrollIntoView();
|
|
127
127
|
}
|
|
128
|
-
(0, _doc.queueCardsFromChangedTr)(state, tr, _analytics.INPUT_METHOD.CLIPBOARD
|
|
128
|
+
(0, _doc.queueCardsFromChangedTr)(state, tr, _analytics.INPUT_METHOD.CLIPBOARD);
|
|
129
129
|
if (dispatch) {
|
|
130
130
|
dispatch(tr);
|
|
131
131
|
}
|
|
@@ -383,7 +383,7 @@ function handlePastePreservingMarks(slice) {
|
|
|
383
383
|
// special case for plainTextSlice & linkMark: merge into existing link
|
|
384
384
|
if (isPlainTextSlice && linkMark.isInSet(selectionMarks) && selectionMarks.length === 1) {
|
|
385
385
|
var tr = (0, _prosemirrorHistory.closeHistory)(state.tr).replaceSelectionWith(slice.content.firstChild.firstChild, true).setStoredMarks(selectionMarks).scrollIntoView();
|
|
386
|
-
(0, _doc.queueCardsFromChangedTr)(state, tr, _analytics.INPUT_METHOD.CLIPBOARD
|
|
386
|
+
(0, _doc.queueCardsFromChangedTr)(state, tr, _analytics.INPUT_METHOD.CLIPBOARD);
|
|
387
387
|
if (dispatch) {
|
|
388
388
|
dispatch(tr);
|
|
389
389
|
}
|
|
@@ -395,7 +395,7 @@ function handlePastePreservingMarks(slice) {
|
|
|
395
395
|
if ((0, _util.hasOnlyNodesOfType)(bulletList, hardBreak, heading, listItem, paragraph, text, emoji, mention, orderedList)(slice)) {
|
|
396
396
|
var transformedSlice = (0, _util.applyTextMarksToSlice)(schema, selectionMarks)(slice);
|
|
397
397
|
var _tr2 = (0, _prosemirrorHistory.closeHistory)(state.tr).replaceSelection(transformedSlice).setStoredMarks(selectionMarks).scrollIntoView();
|
|
398
|
-
(0, _doc.queueCardsFromChangedTr)(state, _tr2, _analytics.INPUT_METHOD.CLIPBOARD
|
|
398
|
+
(0, _doc.queueCardsFromChangedTr)(state, _tr2, _analytics.INPUT_METHOD.CLIPBOARD);
|
|
399
399
|
if (dispatch) {
|
|
400
400
|
dispatch(_tr2);
|
|
401
401
|
}
|
|
@@ -611,7 +611,7 @@ function handleMarkdown(markdownSlice, from, to) {
|
|
|
611
611
|
tr.replaceSelection(markdownSlice);
|
|
612
612
|
}
|
|
613
613
|
tr.setSelection(_prosemirrorState.TextSelection.near(tr.doc.resolve(pastesFrom + markdownSlice.size), -1));
|
|
614
|
-
(0, _doc.queueCardsFromChangedTr)(state, tr, _analytics.INPUT_METHOD.CLIPBOARD
|
|
614
|
+
(0, _doc.queueCardsFromChangedTr)(state, tr, _analytics.INPUT_METHOD.CLIPBOARD);
|
|
615
615
|
if (dispatch) {
|
|
616
616
|
dispatch(tr.scrollIntoView());
|
|
617
617
|
}
|
|
@@ -835,7 +835,7 @@ function handleRichText(slice) {
|
|
|
835
835
|
|
|
836
836
|
// queue link cards, ignoring any errors
|
|
837
837
|
if (dispatch) {
|
|
838
|
-
dispatch((0, _doc.queueCardsFromChangedTr)(state, tr, _analytics.INPUT_METHOD.CLIPBOARD
|
|
838
|
+
dispatch((0, _doc.queueCardsFromChangedTr)(state, tr, _analytics.INPUT_METHOD.CLIPBOARD));
|
|
839
839
|
}
|
|
840
840
|
return true;
|
|
841
841
|
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = _default;
|
|
7
|
+
/*
|
|
8
|
+
* ED-15646
|
|
9
|
+
* Headings in list items are not supported in our schema.
|
|
10
|
+
* As the markdown transformer is used by the paste plugin,
|
|
11
|
+
* certain pastes will strip invalid lines as
|
|
12
|
+
* prosemirror-markdown cannot conform to the schema
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
function handleHeadingOpen(state, token, acc, index) {
|
|
16
|
+
var _state$tokens;
|
|
17
|
+
var isInListItem = ((_state$tokens = state.tokens[index - 1]) === null || _state$tokens === void 0 ? void 0 : _state$tokens.type) === 'list_item_open';
|
|
18
|
+
if (isInListItem) {
|
|
19
|
+
acc.push(new state.Token('paragraph_open', 'p', 1));
|
|
20
|
+
} else {
|
|
21
|
+
acc.push(token);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
function handleHeadingClose(state, token, acc, index) {
|
|
25
|
+
var _state$tokens2;
|
|
26
|
+
var isInListItem = ((_state$tokens2 = state.tokens[index + 1]) === null || _state$tokens2 === void 0 ? void 0 : _state$tokens2.type) === 'list_item_close';
|
|
27
|
+
if (isInListItem) {
|
|
28
|
+
acc.push(new state.Token('paragraph_close', 'p', -1));
|
|
29
|
+
} else {
|
|
30
|
+
acc.push(token);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
function _default(md) {
|
|
34
|
+
md.core.ruler.after('inline', 'ignore-list-heading-md-plugin', function (state) {
|
|
35
|
+
state.tokens = state.tokens.reduce(function (acc, token, index) {
|
|
36
|
+
var type = token.type;
|
|
37
|
+
if (type === 'heading_open') {
|
|
38
|
+
handleHeadingOpen(state, token, acc, index);
|
|
39
|
+
} else if (type === 'heading_close') {
|
|
40
|
+
handleHeadingClose(state, token, acc, index);
|
|
41
|
+
} else {
|
|
42
|
+
acc.push(token);
|
|
43
|
+
}
|
|
44
|
+
return acc;
|
|
45
|
+
}, []);
|
|
46
|
+
});
|
|
47
|
+
}
|
|
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
var _adfSchema = require("@atlaskit/adf-schema");
|
|
9
9
|
var _linkifyIt = _interopRequireDefault(require("linkify-it"));
|
|
10
|
-
var _utils = require("
|
|
10
|
+
var _utils = require("../../hyperlink/utils");
|
|
11
11
|
// File has been copied to packages/editor/editor-plugin-ai/src/provider/markdown-transformer/md/linkify-md-plugin.ts
|
|
12
12
|
// If changes are made to this file, please make the same update in the linked file.
|
|
13
13
|
|
|
@@ -6,9 +6,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.md = void 0;
|
|
8
8
|
var _markdownIt = _interopRequireDefault(require("markdown-it"));
|
|
9
|
-
var _linkifyMdPlugin = _interopRequireDefault(require("./linkify-md-plugin"));
|
|
10
|
-
var _newlineMdPlugin = _interopRequireDefault(require("./newline-md-plugin"));
|
|
11
|
-
var _paragraphMdPlugin = _interopRequireDefault(require("./paragraph-md-plugin"));
|
|
9
|
+
var _linkifyMdPlugin = _interopRequireDefault(require("./md-plugins/linkify-md-plugin"));
|
|
10
|
+
var _newlineMdPlugin = _interopRequireDefault(require("./md-plugins/newline-md-plugin"));
|
|
11
|
+
var _paragraphMdPlugin = _interopRequireDefault(require("./md-plugins/paragraph-md-plugin"));
|
|
12
|
+
var _ignoreListHeadingMdPlugin = _interopRequireDefault(require("./md-plugins/ignore-list-heading-md-plugin"));
|
|
12
13
|
// File has been copied to packages/editor/editor-plugin-ai/src/provider/markdown-transformer/md/index.ts
|
|
13
14
|
// If changes are made to this file, please make the same update in the linked file.
|
|
14
15
|
|
|
@@ -26,4 +27,5 @@ md.use(_paragraphMdPlugin.default);
|
|
|
26
27
|
// enable modified version of linkify plugin
|
|
27
28
|
// @see https://product-fabric.atlassian.net/browse/ED-3097
|
|
28
29
|
md.use(_linkifyMdPlugin.default);
|
|
29
|
-
md.use(_newlineMdPlugin.default);
|
|
30
|
+
md.use(_newlineMdPlugin.default);
|
|
31
|
+
md.use(_ignoreListHeadingMdPlugin.default);
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.version = exports.nextMajorVersion = exports.name = void 0;
|
|
7
7
|
var name = "@atlaskit/editor-core";
|
|
8
8
|
exports.name = name;
|
|
9
|
-
var version = "183.0.
|
|
9
|
+
var version = "183.0.12";
|
|
10
10
|
exports.version = version;
|
|
11
11
|
var nextMajorVersion = function nextMajorVersion() {
|
|
12
12
|
return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
|
package/dist/cjs/version.json
CHANGED
|
@@ -158,9 +158,11 @@ export const queueCardsFromChangedTr = (state, tr, source, analyticsAction, norm
|
|
|
158
158
|
}
|
|
159
159
|
return false;
|
|
160
160
|
});
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
161
|
+
if (analyticsAction) {
|
|
162
|
+
addLinkMetadata(state.selection, tr, {
|
|
163
|
+
action: analyticsAction
|
|
164
|
+
});
|
|
165
|
+
}
|
|
164
166
|
return queueCards(requests)(tr);
|
|
165
167
|
};
|
|
166
168
|
export const queueCardFromChangedTr = (state, tr, source, analyticsAction, normalizeLinkText = true, sourceEvent = undefined, previousAppearance) => {
|
|
@@ -6,7 +6,7 @@ import uuid from 'uuid/v4';
|
|
|
6
6
|
import { replaceSelectedTable } from '@atlaskit/editor-tables/utils';
|
|
7
7
|
import { compose, insideTable, isParagraph, isText, isLinkMark, insideTableCell, isInListItem } from '../../utils';
|
|
8
8
|
import { mapSlice } from '../../utils/slice';
|
|
9
|
-
import {
|
|
9
|
+
import { INPUT_METHOD } from '../analytics';
|
|
10
10
|
import { queueCardsFromChangedTr } from '../card/pm-plugins/doc';
|
|
11
11
|
import { GapCursorSelection, Side } from '../selection/gap-cursor-selection';
|
|
12
12
|
import { linkifyContent } from '../hyperlink/utils';
|
|
@@ -105,7 +105,7 @@ export function handlePasteIntoTaskOrDecisionOrPanel(slice) {
|
|
|
105
105
|
// This maintains both the selection (destination) and the slice (paste content).
|
|
106
106
|
safeInsert(transformedSlice.content)(tr).scrollIntoView();
|
|
107
107
|
}
|
|
108
|
-
queueCardsFromChangedTr(state, tr, INPUT_METHOD.CLIPBOARD
|
|
108
|
+
queueCardsFromChangedTr(state, tr, INPUT_METHOD.CLIPBOARD);
|
|
109
109
|
if (dispatch) {
|
|
110
110
|
dispatch(tr);
|
|
111
111
|
}
|
|
@@ -385,7 +385,7 @@ export function handlePastePreservingMarks(slice) {
|
|
|
385
385
|
// special case for plainTextSlice & linkMark: merge into existing link
|
|
386
386
|
if (isPlainTextSlice && linkMark.isInSet(selectionMarks) && selectionMarks.length === 1) {
|
|
387
387
|
const tr = closeHistory(state.tr).replaceSelectionWith(slice.content.firstChild.firstChild, true).setStoredMarks(selectionMarks).scrollIntoView();
|
|
388
|
-
queueCardsFromChangedTr(state, tr, INPUT_METHOD.CLIPBOARD
|
|
388
|
+
queueCardsFromChangedTr(state, tr, INPUT_METHOD.CLIPBOARD);
|
|
389
389
|
if (dispatch) {
|
|
390
390
|
dispatch(tr);
|
|
391
391
|
}
|
|
@@ -397,7 +397,7 @@ export function handlePastePreservingMarks(slice) {
|
|
|
397
397
|
if (hasOnlyNodesOfType(bulletList, hardBreak, heading, listItem, paragraph, text, emoji, mention, orderedList)(slice)) {
|
|
398
398
|
const transformedSlice = applyTextMarksToSlice(schema, selectionMarks)(slice);
|
|
399
399
|
const tr = closeHistory(state.tr).replaceSelection(transformedSlice).setStoredMarks(selectionMarks).scrollIntoView();
|
|
400
|
-
queueCardsFromChangedTr(state, tr, INPUT_METHOD.CLIPBOARD
|
|
400
|
+
queueCardsFromChangedTr(state, tr, INPUT_METHOD.CLIPBOARD);
|
|
401
401
|
if (dispatch) {
|
|
402
402
|
dispatch(tr);
|
|
403
403
|
}
|
|
@@ -602,7 +602,7 @@ export function handleMarkdown(markdownSlice, from, to) {
|
|
|
602
602
|
tr.replaceSelection(markdownSlice);
|
|
603
603
|
}
|
|
604
604
|
tr.setSelection(TextSelection.near(tr.doc.resolve(pastesFrom + markdownSlice.size), -1));
|
|
605
|
-
queueCardsFromChangedTr(state, tr, INPUT_METHOD.CLIPBOARD
|
|
605
|
+
queueCardsFromChangedTr(state, tr, INPUT_METHOD.CLIPBOARD);
|
|
606
606
|
if (dispatch) {
|
|
607
607
|
dispatch(tr.scrollIntoView());
|
|
608
608
|
}
|
|
@@ -819,7 +819,7 @@ export function handleRichText(slice) {
|
|
|
819
819
|
|
|
820
820
|
// queue link cards, ignoring any errors
|
|
821
821
|
if (dispatch) {
|
|
822
|
-
dispatch(queueCardsFromChangedTr(state, tr, INPUT_METHOD.CLIPBOARD
|
|
822
|
+
dispatch(queueCardsFromChangedTr(state, tr, INPUT_METHOD.CLIPBOARD));
|
|
823
823
|
}
|
|
824
824
|
return true;
|
|
825
825
|
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* ED-15646
|
|
3
|
+
* Headings in list items are not supported in our schema.
|
|
4
|
+
* As the markdown transformer is used by the paste plugin,
|
|
5
|
+
* certain pastes will strip invalid lines as
|
|
6
|
+
* prosemirror-markdown cannot conform to the schema
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
function handleHeadingOpen(state, token, acc, index) {
|
|
10
|
+
var _state$tokens;
|
|
11
|
+
const isInListItem = ((_state$tokens = state.tokens[index - 1]) === null || _state$tokens === void 0 ? void 0 : _state$tokens.type) === 'list_item_open';
|
|
12
|
+
if (isInListItem) {
|
|
13
|
+
acc.push(new state.Token('paragraph_open', 'p', 1));
|
|
14
|
+
} else {
|
|
15
|
+
acc.push(token);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
function handleHeadingClose(state, token, acc, index) {
|
|
19
|
+
var _state$tokens2;
|
|
20
|
+
const isInListItem = ((_state$tokens2 = state.tokens[index + 1]) === null || _state$tokens2 === void 0 ? void 0 : _state$tokens2.type) === 'list_item_close';
|
|
21
|
+
if (isInListItem) {
|
|
22
|
+
acc.push(new state.Token('paragraph_close', 'p', -1));
|
|
23
|
+
} else {
|
|
24
|
+
acc.push(token);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
export default function (md) {
|
|
28
|
+
md.core.ruler.after('inline', 'ignore-list-heading-md-plugin', function (state) {
|
|
29
|
+
state.tokens = state.tokens.reduce((acc, token, index) => {
|
|
30
|
+
const {
|
|
31
|
+
type
|
|
32
|
+
} = token;
|
|
33
|
+
if (type === 'heading_open') {
|
|
34
|
+
handleHeadingOpen(state, token, acc, index);
|
|
35
|
+
} else if (type === 'heading_close') {
|
|
36
|
+
handleHeadingClose(state, token, acc, index);
|
|
37
|
+
} else {
|
|
38
|
+
acc.push(token);
|
|
39
|
+
}
|
|
40
|
+
return acc;
|
|
41
|
+
}, []);
|
|
42
|
+
});
|
|
43
|
+
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
import { linkifyMatch } from '@atlaskit/adf-schema';
|
|
5
5
|
import LinkifyIt from 'linkify-it';
|
|
6
|
-
import { findFilepaths, isLinkInMatches } from '
|
|
6
|
+
import { findFilepaths, isLinkInMatches } from '../../hyperlink/utils';
|
|
7
7
|
|
|
8
8
|
// modified version of the original Linkify plugin
|
|
9
9
|
// https://github.com/markdown-it/markdown-it/blob/master/lib/rules_core/linkify.js
|
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
// If changes are made to this file, please make the same update in the linked file.
|
|
3
3
|
|
|
4
4
|
import MarkdownIt from 'markdown-it';
|
|
5
|
-
import linkify from './linkify-md-plugin';
|
|
6
|
-
import newline from './newline-md-plugin';
|
|
7
|
-
import paragraph from './paragraph-md-plugin';
|
|
5
|
+
import linkify from './md-plugins/linkify-md-plugin';
|
|
6
|
+
import newline from './md-plugins/newline-md-plugin';
|
|
7
|
+
import paragraph from './md-plugins/paragraph-md-plugin';
|
|
8
|
+
import ignoreListHeading from './md-plugins/ignore-list-heading-md-plugin';
|
|
8
9
|
export const md = MarkdownIt('zero', {
|
|
9
10
|
html: false
|
|
10
11
|
});
|
|
@@ -18,4 +19,5 @@ md.use(paragraph);
|
|
|
18
19
|
// enable modified version of linkify plugin
|
|
19
20
|
// @see https://product-fabric.atlassian.net/browse/ED-3097
|
|
20
21
|
md.use(linkify);
|
|
21
|
-
md.use(newline);
|
|
22
|
+
md.use(newline);
|
|
23
|
+
md.use(ignoreListHeading);
|
package/dist/es2019/version.json
CHANGED
|
@@ -172,9 +172,11 @@ export var queueCardsFromChangedTr = function queueCardsFromChangedTr(state, tr,
|
|
|
172
172
|
}
|
|
173
173
|
return false;
|
|
174
174
|
});
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
175
|
+
if (analyticsAction) {
|
|
176
|
+
addLinkMetadata(state.selection, tr, {
|
|
177
|
+
action: analyticsAction
|
|
178
|
+
});
|
|
179
|
+
}
|
|
178
180
|
return queueCards(requests)(tr);
|
|
179
181
|
};
|
|
180
182
|
export var queueCardFromChangedTr = function queueCardFromChangedTr(state, tr, source, analyticsAction) {
|
|
@@ -14,7 +14,7 @@ import uuid from 'uuid/v4';
|
|
|
14
14
|
import { replaceSelectedTable } from '@atlaskit/editor-tables/utils';
|
|
15
15
|
import { compose, insideTable, isParagraph, isText, isLinkMark, insideTableCell, isInListItem } from '../../utils';
|
|
16
16
|
import { mapSlice } from '../../utils/slice';
|
|
17
|
-
import {
|
|
17
|
+
import { INPUT_METHOD } from '../analytics';
|
|
18
18
|
import { queueCardsFromChangedTr } from '../card/pm-plugins/doc';
|
|
19
19
|
import { GapCursorSelection, Side } from '../selection/gap-cursor-selection';
|
|
20
20
|
import { linkifyContent } from '../hyperlink/utils';
|
|
@@ -103,7 +103,7 @@ export function handlePasteIntoTaskOrDecisionOrPanel(slice) {
|
|
|
103
103
|
// This maintains both the selection (destination) and the slice (paste content).
|
|
104
104
|
safeInsert(transformedSlice.content)(tr).scrollIntoView();
|
|
105
105
|
}
|
|
106
|
-
queueCardsFromChangedTr(state, tr, INPUT_METHOD.CLIPBOARD
|
|
106
|
+
queueCardsFromChangedTr(state, tr, INPUT_METHOD.CLIPBOARD);
|
|
107
107
|
if (dispatch) {
|
|
108
108
|
dispatch(tr);
|
|
109
109
|
}
|
|
@@ -361,7 +361,7 @@ export function handlePastePreservingMarks(slice) {
|
|
|
361
361
|
// special case for plainTextSlice & linkMark: merge into existing link
|
|
362
362
|
if (isPlainTextSlice && linkMark.isInSet(selectionMarks) && selectionMarks.length === 1) {
|
|
363
363
|
var tr = closeHistory(state.tr).replaceSelectionWith(slice.content.firstChild.firstChild, true).setStoredMarks(selectionMarks).scrollIntoView();
|
|
364
|
-
queueCardsFromChangedTr(state, tr, INPUT_METHOD.CLIPBOARD
|
|
364
|
+
queueCardsFromChangedTr(state, tr, INPUT_METHOD.CLIPBOARD);
|
|
365
365
|
if (dispatch) {
|
|
366
366
|
dispatch(tr);
|
|
367
367
|
}
|
|
@@ -373,7 +373,7 @@ export function handlePastePreservingMarks(slice) {
|
|
|
373
373
|
if (hasOnlyNodesOfType(bulletList, hardBreak, heading, listItem, paragraph, text, emoji, mention, orderedList)(slice)) {
|
|
374
374
|
var transformedSlice = applyTextMarksToSlice(schema, selectionMarks)(slice);
|
|
375
375
|
var _tr2 = closeHistory(state.tr).replaceSelection(transformedSlice).setStoredMarks(selectionMarks).scrollIntoView();
|
|
376
|
-
queueCardsFromChangedTr(state, _tr2, INPUT_METHOD.CLIPBOARD
|
|
376
|
+
queueCardsFromChangedTr(state, _tr2, INPUT_METHOD.CLIPBOARD);
|
|
377
377
|
if (dispatch) {
|
|
378
378
|
dispatch(_tr2);
|
|
379
379
|
}
|
|
@@ -589,7 +589,7 @@ export function handleMarkdown(markdownSlice, from, to) {
|
|
|
589
589
|
tr.replaceSelection(markdownSlice);
|
|
590
590
|
}
|
|
591
591
|
tr.setSelection(TextSelection.near(tr.doc.resolve(pastesFrom + markdownSlice.size), -1));
|
|
592
|
-
queueCardsFromChangedTr(state, tr, INPUT_METHOD.CLIPBOARD
|
|
592
|
+
queueCardsFromChangedTr(state, tr, INPUT_METHOD.CLIPBOARD);
|
|
593
593
|
if (dispatch) {
|
|
594
594
|
dispatch(tr.scrollIntoView());
|
|
595
595
|
}
|
|
@@ -813,7 +813,7 @@ export function handleRichText(slice) {
|
|
|
813
813
|
|
|
814
814
|
// queue link cards, ignoring any errors
|
|
815
815
|
if (dispatch) {
|
|
816
|
-
dispatch(queueCardsFromChangedTr(state, tr, INPUT_METHOD.CLIPBOARD
|
|
816
|
+
dispatch(queueCardsFromChangedTr(state, tr, INPUT_METHOD.CLIPBOARD));
|
|
817
817
|
}
|
|
818
818
|
return true;
|
|
819
819
|
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* ED-15646
|
|
3
|
+
* Headings in list items are not supported in our schema.
|
|
4
|
+
* As the markdown transformer is used by the paste plugin,
|
|
5
|
+
* certain pastes will strip invalid lines as
|
|
6
|
+
* prosemirror-markdown cannot conform to the schema
|
|
7
|
+
*/
|
|
8
|
+
|
|
9
|
+
function handleHeadingOpen(state, token, acc, index) {
|
|
10
|
+
var _state$tokens;
|
|
11
|
+
var isInListItem = ((_state$tokens = state.tokens[index - 1]) === null || _state$tokens === void 0 ? void 0 : _state$tokens.type) === 'list_item_open';
|
|
12
|
+
if (isInListItem) {
|
|
13
|
+
acc.push(new state.Token('paragraph_open', 'p', 1));
|
|
14
|
+
} else {
|
|
15
|
+
acc.push(token);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
function handleHeadingClose(state, token, acc, index) {
|
|
19
|
+
var _state$tokens2;
|
|
20
|
+
var isInListItem = ((_state$tokens2 = state.tokens[index + 1]) === null || _state$tokens2 === void 0 ? void 0 : _state$tokens2.type) === 'list_item_close';
|
|
21
|
+
if (isInListItem) {
|
|
22
|
+
acc.push(new state.Token('paragraph_close', 'p', -1));
|
|
23
|
+
} else {
|
|
24
|
+
acc.push(token);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
export default function (md) {
|
|
28
|
+
md.core.ruler.after('inline', 'ignore-list-heading-md-plugin', function (state) {
|
|
29
|
+
state.tokens = state.tokens.reduce(function (acc, token, index) {
|
|
30
|
+
var type = token.type;
|
|
31
|
+
if (type === 'heading_open') {
|
|
32
|
+
handleHeadingOpen(state, token, acc, index);
|
|
33
|
+
} else if (type === 'heading_close') {
|
|
34
|
+
handleHeadingClose(state, token, acc, index);
|
|
35
|
+
} else {
|
|
36
|
+
acc.push(token);
|
|
37
|
+
}
|
|
38
|
+
return acc;
|
|
39
|
+
}, []);
|
|
40
|
+
});
|
|
41
|
+
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
import { linkifyMatch } from '@atlaskit/adf-schema';
|
|
5
5
|
import LinkifyIt from 'linkify-it';
|
|
6
|
-
import { findFilepaths, isLinkInMatches } from '
|
|
6
|
+
import { findFilepaths, isLinkInMatches } from '../../hyperlink/utils';
|
|
7
7
|
|
|
8
8
|
// modified version of the original Linkify plugin
|
|
9
9
|
// https://github.com/markdown-it/markdown-it/blob/master/lib/rules_core/linkify.js
|
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
// If changes are made to this file, please make the same update in the linked file.
|
|
3
3
|
|
|
4
4
|
import MarkdownIt from 'markdown-it';
|
|
5
|
-
import linkify from './linkify-md-plugin';
|
|
6
|
-
import newline from './newline-md-plugin';
|
|
7
|
-
import paragraph from './paragraph-md-plugin';
|
|
5
|
+
import linkify from './md-plugins/linkify-md-plugin';
|
|
6
|
+
import newline from './md-plugins/newline-md-plugin';
|
|
7
|
+
import paragraph from './md-plugins/paragraph-md-plugin';
|
|
8
|
+
import ignoreListHeading from './md-plugins/ignore-list-heading-md-plugin';
|
|
8
9
|
export var md = MarkdownIt('zero', {
|
|
9
10
|
html: false
|
|
10
11
|
});
|
|
@@ -18,4 +19,5 @@ md.use(paragraph);
|
|
|
18
19
|
// enable modified version of linkify plugin
|
|
19
20
|
// @see https://product-fabric.atlassian.net/browse/ED-3097
|
|
20
21
|
md.use(linkify);
|
|
21
|
-
md.use(newline);
|
|
22
|
+
md.use(newline);
|
|
23
|
+
md.use(ignoreListHeading);
|
package/dist/esm/version.json
CHANGED
|
@@ -7,7 +7,7 @@ import { Command } from '../../../types';
|
|
|
7
7
|
import { CardReplacementInputMethod, Request } from '../types';
|
|
8
8
|
export declare const replaceQueuedUrlWithCard: (url: string, cardData: CardAdf, analyticsAction?: ACTION) => Command;
|
|
9
9
|
export declare const handleFallbackWithAnalytics: (request: Request) => Command;
|
|
10
|
-
export declare const queueCardsFromChangedTr: (state: EditorState, tr: Transaction, source: CardReplacementInputMethod, analyticsAction
|
|
10
|
+
export declare const queueCardsFromChangedTr: (state: EditorState, tr: Transaction, source: CardReplacementInputMethod, analyticsAction?: ACTION, normalizeLinkText?: boolean, sourceEvent?: UIAnalyticsEvent | null | undefined) => Transaction;
|
|
11
11
|
export declare const queueCardFromChangedTr: (state: EditorState, tr: Transaction, source: CardReplacementInputMethod, analyticsAction: ACTION, normalizeLinkText?: boolean, sourceEvent?: UIAnalyticsEvent | null | undefined, previousAppearance?: CardAppearance | 'url') => Transaction;
|
|
12
12
|
export declare const convertHyperlinkToSmartCard: (state: EditorState, source: CardReplacementInputMethod, appearance: CardAppearance, normalizeLinkText?: boolean) => Transaction;
|
|
13
13
|
export declare const changeSelectedCardToLink: (text?: string, href?: string, sendAnalytics?: boolean, node?: Node, pos?: number) => Command;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Node } from 'prosemirror-model';
|
|
2
|
+
import { ContextUpdateHandler, EditorActionsOptions, ReplaceRawValue } from '@atlaskit/editor-common/types';
|
|
3
|
+
import { AnalyticsEventPayload } from '@atlaskit/analytics-next/AnalyticsEvent';
|
|
4
|
+
import { ResolvedEditorState } from '@atlaskit/editor-common/collab';
|
|
5
|
+
import type { FeatureFlags, Transformer } from '@atlaskit/editor-common/types';
|
|
6
|
+
import { EditorView } from 'prosemirror-view';
|
|
7
|
+
import { EventDispatcher } from '../event-dispatcher';
|
|
8
|
+
export default class EditorActions<T = any> implements EditorActionsOptions<T> {
|
|
9
|
+
private editorView?;
|
|
10
|
+
private contentTransformer?;
|
|
11
|
+
private contentEncode?;
|
|
12
|
+
private eventDispatcher?;
|
|
13
|
+
private listeners;
|
|
14
|
+
static from<T>(view: EditorView, eventDispatcher: EventDispatcher, transformer?: Transformer<T>): EditorActions<T>;
|
|
15
|
+
_privateGetEditorView(): EditorView | undefined;
|
|
16
|
+
_privateGetEventDispatcher(): EventDispatcher | undefined;
|
|
17
|
+
private getFeatureFlags;
|
|
18
|
+
_privateRegisterEditor(editorView: EditorView, eventDispatcher: EventDispatcher, contentTransformer?: Transformer<T>, getFeatureFlags?: () => FeatureFlags): void;
|
|
19
|
+
_privateUnregisterEditor(): void;
|
|
20
|
+
_privateSubscribe(cb: ContextUpdateHandler): void;
|
|
21
|
+
_privateUnsubscribe(cb: ContextUpdateHandler): void;
|
|
22
|
+
focus(): boolean;
|
|
23
|
+
blur(): boolean;
|
|
24
|
+
clear(): boolean;
|
|
25
|
+
__temporaryFixForConfigPanel(): Promise<void>;
|
|
26
|
+
getValue(): Promise<import("@atlaskit/editor-json-transformer/types").JSONDocNode | T | undefined>;
|
|
27
|
+
getNodeByLocalId(id: string): Node | undefined;
|
|
28
|
+
getNodeByFragmentLocalId(id: string): Node | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* This method will return the currently selected `Node` if the selection is a `Node`.
|
|
31
|
+
* Otherwise, if the selection is textual or a non-selectable `Node` within another selectable `Node`, the closest selectable parent `Node` will be returned.
|
|
32
|
+
*/
|
|
33
|
+
getSelectedNode(): Node | undefined;
|
|
34
|
+
isDocumentEmpty(): boolean;
|
|
35
|
+
replaceDocument(rawValue: any, shouldScrollToBottom?: boolean,
|
|
36
|
+
/** @deprecated [ED-14158] shouldAddToHistory is not being used in this function */
|
|
37
|
+
shouldAddToHistory?: boolean): boolean;
|
|
38
|
+
replaceSelection(rawValue: ReplaceRawValue | Array<ReplaceRawValue>, tryToReplace?: boolean): boolean;
|
|
39
|
+
appendText(text: string): boolean;
|
|
40
|
+
dispatchAnalyticsEvent: (payload: AnalyticsEventPayload) => void;
|
|
41
|
+
/**
|
|
42
|
+
* If editor is using new collab service,
|
|
43
|
+
* we want editor to call the collab provider to
|
|
44
|
+
* retrieve the final acknowledged state of the
|
|
45
|
+
* editor. The final acknowledged editor state
|
|
46
|
+
* refers to the latest state of editor with confirmed
|
|
47
|
+
* steps.
|
|
48
|
+
*/
|
|
49
|
+
getResolvedEditorState: () => Promise<ResolvedEditorState | undefined>;
|
|
50
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { EditorView } from 'prosemirror-view';
|
|
2
|
+
import type { EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
3
|
+
import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
4
|
+
type Props = {
|
|
5
|
+
getEditorView: () => EditorView | undefined | null;
|
|
6
|
+
getCreateUIAnalyticsEvent: () => CreateUIAnalyticsEvent | undefined | null;
|
|
7
|
+
};
|
|
8
|
+
export declare const createEditorAnalyticsAPI: ({ getEditorView, getCreateUIAnalyticsEvent, }: Props) => EditorAnalyticsAPI;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { AnalyticsEventPayload } from '@atlaskit/editor-common/analytics';
|
|
2
|
+
import type { Transaction, EditorState } from 'prosemirror-state';
|
|
3
|
+
type AttachPayloadIntoTransaction = (props: {
|
|
4
|
+
payload: AnalyticsEventPayload;
|
|
5
|
+
editorState: EditorState;
|
|
6
|
+
tr: Transaction;
|
|
7
|
+
channel: string;
|
|
8
|
+
}) => void;
|
|
9
|
+
export declare const attachPayloadIntoTransaction: AttachPayloadIntoTransaction;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { AnalyticsEventPayload } from '@atlaskit/editor-common/analytics';
|
|
2
|
+
import type { EditorState } from 'prosemirror-state';
|
|
3
|
+
import { SELECTION_TYPE, SELECTION_POSITION } from '@atlaskit/editor-common/analytics';
|
|
4
|
+
export declare function getSelectionType(state: EditorState): {
|
|
5
|
+
type: SELECTION_TYPE;
|
|
6
|
+
position?: SELECTION_POSITION;
|
|
7
|
+
};
|
|
8
|
+
export declare function findInsertLocation(state: EditorState): string;
|
|
9
|
+
export declare function getStateContext(state: EditorState, payload: AnalyticsEventPayload): AnalyticsEventPayload;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Node as PMNode, NodeType, MarkType, Schema } from 'prosemirror-model';
|
|
2
|
+
import { EditorState, Transaction } from 'prosemirror-state';
|
|
3
|
+
import { Command } from '../types';
|
|
4
|
+
import { AlignmentState } from '../plugins/alignment/pm-plugins/types';
|
|
5
|
+
export declare function preventDefault(): Command;
|
|
6
|
+
export declare function insertNewLine(): Command;
|
|
7
|
+
export declare const insertNewLineWithAnalytics: Command;
|
|
8
|
+
export declare const createNewParagraphAbove: Command;
|
|
9
|
+
export declare const createNewParagraphBelow: Command;
|
|
10
|
+
export declare function createParagraphNear(append?: boolean): Command;
|
|
11
|
+
export declare function addParagraphAtEnd(tr: Transaction): void;
|
|
12
|
+
export declare function createParagraphAtEnd(): Command;
|
|
13
|
+
export declare const changeImageAlignment: (align?: AlignmentState) => Command;
|
|
14
|
+
export declare const createToggleBlockMarkOnRange: <T extends {} = object>(markType: MarkType, getAttrs: (prevAttrs?: T | undefined, node?: PMNode) => false | T | undefined, allowedBlocks?: NodeType<any>[] | ((schema: Schema, node: PMNode, parent: PMNode) => boolean) | undefined) => (from: number, to: number, tr: Transaction, state: EditorState) => boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Toggles block mark based on the return type of `getAttrs`.
|
|
17
|
+
* This is similar to ProseMirror's `getAttrs` from `AttributeSpec`
|
|
18
|
+
* return `false` to remove the mark.
|
|
19
|
+
* return `undefined for no-op.
|
|
20
|
+
* return an `object` to update the mark.
|
|
21
|
+
*/
|
|
22
|
+
export declare const toggleBlockMark: <T extends {} = object>(markType: MarkType, getAttrs: (prevAttrs?: T | undefined, node?: PMNode) => false | T | undefined, allowedBlocks?: NodeType<any>[] | ((schema: Schema, node: PMNode, parent: PMNode) => boolean) | undefined) => Command;
|
|
23
|
+
export declare const clearEditorContent: Command;
|