@atlaskit/editor-core 182.2.0 → 183.0.6
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 +16 -0
- package/dist/cjs/plugins/placeholder-text/styles.js +1 -1
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/plugins/placeholder-text/styles.js +5 -5
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/plugins/placeholder-text/styles.js +2 -2
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/plugins/code-block/language-list.d.ts +1 -1
- package/dist/types-ts4.0/actions/index.d.ts +50 -0
- package/dist/types-ts4.0/analytics-api/api.d.ts +9 -0
- package/dist/types-ts4.0/analytics-api/attach-payload-into-transaction.d.ts +10 -0
- package/dist/types-ts4.0/analytics-api/editor-state-context.d.ts +9 -0
- package/dist/types-ts4.0/analytics-api/map-attributes.d.ts +2 -0
- package/dist/types-ts4.0/commands/index.d.ts +23 -0
- package/dist/types-ts4.0/create-editor/ErrorBoundary.d.ts +42 -0
- package/dist/types-ts4.0/create-editor/ReactEditorView.d.ts +8 -0
- package/dist/types-ts4.0/create-editor/ReactEditorViewContext.d.ts +2 -0
- package/dist/types-ts4.0/create-editor/ReactEditorViewInternal.d.ts +115 -0
- package/dist/types-ts4.0/create-editor/ReactEditorViewNext.d.ts +8 -0
- package/dist/types-ts4.0/create-editor/WithEditorView.d.ts +6 -0
- package/dist/types-ts4.0/create-editor/consts.d.ts +3 -0
- package/dist/types-ts4.0/create-editor/create-editor.d.ts +18 -0
- package/dist/types-ts4.0/create-editor/create-plugins-list.d.ts +17 -0
- package/dist/types-ts4.0/create-editor/create-schema.d.ts +6 -0
- package/dist/types-ts4.0/create-editor/feature-flags-from-props.d.ts +7 -0
- package/dist/types-ts4.0/create-editor/get-plugins.d.ts +41 -0
- package/dist/types-ts4.0/create-editor/get-ui-component.d.ts +3 -0
- package/dist/types-ts4.0/create-editor/index.d.ts +3 -0
- package/dist/types-ts4.0/create-editor/messages.d.ts +7 -0
- package/dist/types-ts4.0/create-editor/preset-utils.d.ts +2 -0
- package/dist/types-ts4.0/create-editor/sort-by-order.d.ts +14 -0
- package/dist/types-ts4.0/editor-next/editor-internal.d.ts +44 -0
- package/dist/types-ts4.0/editor-next/editor-migration-component.d.ts +6 -0
- package/dist/types-ts4.0/editor-next/hooks/useEditorMeasuresConstructor.d.ts +17 -0
- package/dist/types-ts4.0/editor-next/hooks/useMeasureEditorMountTime.d.ts +13 -0
- package/dist/types-ts4.0/editor-next/hooks/useProviderFactory.d.ts +21 -0
- package/dist/types-ts4.0/editor-next/index.d.ts +35 -0
- package/dist/types-ts4.0/editor-next/utils/deprecationWarnings.d.ts +2 -0
- package/dist/types-ts4.0/editor-next/utils/editorMeasureTTICallback.d.ts +5 -0
- package/dist/types-ts4.0/editor-next/utils/editorPropTypes.d.ts +19 -0
- package/dist/types-ts4.0/editor-next/utils/getBaseFontSize.d.ts +6 -0
- package/dist/types-ts4.0/editor-next/utils/getProvidersFromEditorProps.d.ts +9 -0
- package/dist/types-ts4.0/editor-next/utils/handleProviders.d.ts +14 -0
- package/dist/types-ts4.0/editor-next/utils/onEditorCreated.d.ts +12 -0
- package/dist/types-ts4.0/editor-next/utils/sendDurationAnalytics.d.ts +15 -0
- package/dist/types-ts4.0/editor-next/utils/trackEditorActions.d.ts +29 -0
- package/dist/types-ts4.0/editor.d.ts +146 -0
- package/dist/types-ts4.0/element-browser.d.ts +1 -0
- package/dist/types-ts4.0/event-dispatcher/index.d.ts +2 -0
- package/dist/types-ts4.0/extensibility.d.ts +15 -0
- package/dist/types-ts4.0/extensions.d.ts +1 -0
- package/dist/types-ts4.0/i18n/cs.d.ts +255 -0
- package/dist/types-ts4.0/i18n/da.d.ts +254 -0
- package/dist/types-ts4.0/i18n/de.d.ts +254 -0
- package/dist/types-ts4.0/i18n/en.d.ts +257 -0
- package/dist/types-ts4.0/i18n/en_GB.d.ts +257 -0
- package/dist/types-ts4.0/i18n/en_ZZ.d.ts +257 -0
- package/dist/types-ts4.0/i18n/es.d.ts +254 -0
- package/dist/types-ts4.0/i18n/et.d.ts +168 -0
- package/dist/types-ts4.0/i18n/fi.d.ts +254 -0
- package/dist/types-ts4.0/i18n/fr.d.ts +254 -0
- package/dist/types-ts4.0/i18n/hu.d.ts +254 -0
- package/dist/types-ts4.0/i18n/index.d.ts +35 -0
- package/dist/types-ts4.0/i18n/is.d.ts +153 -0
- package/dist/types-ts4.0/i18n/it.d.ts +254 -0
- package/dist/types-ts4.0/i18n/ja.d.ts +254 -0
- package/dist/types-ts4.0/i18n/ko.d.ts +254 -0
- package/dist/types-ts4.0/i18n/languages.d.ts +38 -0
- package/dist/types-ts4.0/i18n/nb.d.ts +254 -0
- package/dist/types-ts4.0/i18n/nl.d.ts +254 -0
- package/dist/types-ts4.0/i18n/pl.d.ts +254 -0
- package/dist/types-ts4.0/i18n/pt_BR.d.ts +254 -0
- package/dist/types-ts4.0/i18n/pt_PT.d.ts +180 -0
- package/dist/types-ts4.0/i18n/ro.d.ts +153 -0
- package/dist/types-ts4.0/i18n/ru.d.ts +254 -0
- package/dist/types-ts4.0/i18n/sk.d.ts +168 -0
- package/dist/types-ts4.0/i18n/sv.d.ts +254 -0
- package/dist/types-ts4.0/i18n/th.d.ts +254 -0
- package/dist/types-ts4.0/i18n/tr.d.ts +254 -0
- package/dist/types-ts4.0/i18n/uk.d.ts +254 -0
- package/dist/types-ts4.0/i18n/vi.d.ts +254 -0
- package/dist/types-ts4.0/i18n/zh.d.ts +254 -0
- package/dist/types-ts4.0/i18n/zh_TW.d.ts +254 -0
- package/dist/types-ts4.0/index.d.ts +93 -0
- package/dist/types-ts4.0/insert-api/api.d.ts +9 -0
- package/dist/types-ts4.0/insert-api/insert-content-handlers.d.ts +9 -0
- package/dist/types-ts4.0/insert-api/insert-node-helpers.d.ts +30 -0
- package/dist/types-ts4.0/insert-api/types.d.ts +16 -0
- package/dist/types-ts4.0/keymaps/consts.d.ts +1 -0
- package/dist/types-ts4.0/keymaps/index.d.ts +2 -0
- package/dist/types-ts4.0/labs/CollapsedEditor/index.d.ts +26 -0
- package/dist/types-ts4.0/labs/EditorWithActions/index.d.ts +26 -0
- package/dist/types-ts4.0/labs/next/ContentComponents.d.ts +8 -0
- package/dist/types-ts4.0/labs/next/Editor.d.ts +27 -0
- package/dist/types-ts4.0/labs/next/Toolbar.d.ts +6 -0
- package/dist/types-ts4.0/labs/next/full-page.d.ts +9 -0
- package/dist/types-ts4.0/labs/next/internal/components/EditorContent.d.ts +7 -0
- package/dist/types-ts4.0/labs/next/internal/components/EditorInternal.d.ts +9 -0
- package/dist/types-ts4.0/labs/next/internal/context/preset-context.d.ts +5 -0
- package/dist/types-ts4.0/labs/next/internal/context/shared-config.d.ts +50 -0
- package/dist/types-ts4.0/labs/next/internal/editor-props-type.d.ts +29 -0
- package/dist/types-ts4.0/labs/next/internal/hooks/use-analytics/index.d.ts +8 -0
- package/dist/types-ts4.0/labs/next/internal/hooks/use-editor/create-dispatch-transaction.d.ts +6 -0
- package/dist/types-ts4.0/labs/next/internal/hooks/use-editor/create-editor.d.ts +19 -0
- package/dist/types-ts4.0/labs/next/internal/hooks/use-editor/index.d.ts +14 -0
- package/dist/types-ts4.0/labs/next/mobile.d.ts +12 -0
- package/dist/types-ts4.0/labs/next/presets/create-stub-internal-apis.d.ts +16 -0
- package/dist/types-ts4.0/labs/next/presets/cxhtml.d.ts +110 -0
- package/dist/types-ts4.0/labs/next/presets/default.d.ts +234 -0
- package/dist/types-ts4.0/labs/next/presets/mobile.d.ts +115 -0
- package/dist/types-ts4.0/labs/next/presets/types.d.ts +6 -0
- package/dist/types-ts4.0/labs/next/presets/universal.d.ts +22 -0
- package/dist/types-ts4.0/labs/next/presets/useUniversalPreset.d.ts +7 -0
- package/dist/types-ts4.0/labs/next/presets/utils.d.ts +3 -0
- package/dist/types-ts4.0/labs-next.d.ts +8 -0
- package/dist/types-ts4.0/messages.d.ts +59 -0
- package/dist/types-ts4.0/nodeviews/ReactNodeView.d.ts +52 -0
- package/dist/types-ts4.0/nodeviews/SelectionBasedNodeView.d.ts +53 -0
- package/dist/types-ts4.0/nodeviews/context-adapter.d.ts +2 -0
- package/dist/types-ts4.0/nodeviews/getInlineNodeViewProducer.d.ts +24 -0
- package/dist/types-ts4.0/nodeviews/getInlineNodeViewProducer.styles.d.ts +1 -0
- package/dist/types-ts4.0/nodeviews/getPerformanceOptions.d.ts +2 -0
- package/dist/types-ts4.0/nodeviews/index.d.ts +3 -0
- package/dist/types-ts4.0/nodeviews/types.d.ts +12 -0
- package/dist/types-ts4.0/plugins/alignment/commands/index.d.ts +4 -0
- package/dist/types-ts4.0/plugins/alignment/index.d.ts +5 -0
- package/dist/types-ts4.0/plugins/alignment/pm-plugins/keymap.d.ts +2 -0
- package/dist/types-ts4.0/plugins/alignment/pm-plugins/main.d.ts +7 -0
- package/dist/types-ts4.0/plugins/alignment/pm-plugins/types.d.ts +5 -0
- package/dist/types-ts4.0/plugins/alignment/ui/ToolbarAlignment/icon-map.d.ts +6 -0
- package/dist/types-ts4.0/plugins/alignment/ui/ToolbarAlignment/index.d.ts +34 -0
- package/dist/types-ts4.0/plugins/alignment/ui/ToolbarAlignment/messages.d.ts +22 -0
- package/dist/types-ts4.0/plugins/alignment/ui/ToolbarAlignment/styles.d.ts +3 -0
- package/dist/types-ts4.0/plugins/alignment/utils/index.d.ts +3 -0
- package/dist/types-ts4.0/plugins/analytics/consts.d.ts +3 -0
- package/dist/types-ts4.0/plugins/analytics/index.d.ts +8 -0
- package/dist/types-ts4.0/plugins/analytics/plugin-key.d.ts +2 -0
- package/dist/types-ts4.0/plugins/analytics/plugin.d.ts +21 -0
- package/dist/types-ts4.0/plugins/analytics/types/dispatch-analytics-event.d.ts +1 -0
- package/dist/types-ts4.0/plugins/analytics/types/enums.d.ts +1 -0
- package/dist/types-ts4.0/plugins/analytics/types/events.d.ts +1 -0
- package/dist/types-ts4.0/plugins/analytics/types/experimental-events.d.ts +1 -0
- package/dist/types-ts4.0/plugins/analytics/types/extension-events.d.ts +2 -0
- package/dist/types-ts4.0/plugins/analytics/types/general-events.d.ts +2 -0
- package/dist/types-ts4.0/plugins/analytics/types/index.d.ts +9 -0
- package/dist/types-ts4.0/plugins/analytics/types/inline-comment-events.d.ts +2 -0
- package/dist/types-ts4.0/plugins/analytics/types/link-tool-bar-events.d.ts +1 -0
- package/dist/types-ts4.0/plugins/analytics/types/media-events.d.ts +1 -0
- package/dist/types-ts4.0/plugins/analytics/types/node-events.d.ts +2 -0
- package/dist/types-ts4.0/plugins/analytics/types/selection-events.d.ts +1 -0
- package/dist/types-ts4.0/plugins/analytics/types/smart-links.d.ts +2 -0
- package/dist/types-ts4.0/plugins/analytics/types/toolbar-button.d.ts +2 -0
- package/dist/types-ts4.0/plugins/analytics/utils.d.ts +9 -0
- package/dist/types-ts4.0/plugins/annotation/commands/index.d.ts +14 -0
- package/dist/types-ts4.0/plugins/annotation/commands/transform.d.ts +11 -0
- package/dist/types-ts4.0/plugins/annotation/index.d.ts +9 -0
- package/dist/types-ts4.0/plugins/annotation/nodeviews/index.d.ts +10 -0
- package/dist/types-ts4.0/plugins/annotation/pm-plugins/inline-comment.d.ts +3 -0
- package/dist/types-ts4.0/plugins/annotation/pm-plugins/keymap.d.ts +2 -0
- package/dist/types-ts4.0/plugins/annotation/pm-plugins/plugin-factory.d.ts +2 -0
- package/dist/types-ts4.0/plugins/annotation/pm-plugins/reducer.d.ts +3 -0
- package/dist/types-ts4.0/plugins/annotation/pm-plugins/types.d.ts +68 -0
- package/dist/types-ts4.0/plugins/annotation/toolbar.d.ts +21 -0
- package/dist/types-ts4.0/plugins/annotation/types.d.ts +76 -0
- package/dist/types-ts4.0/plugins/annotation/ui/AnnotationViewWrapper.d.ts +10 -0
- package/dist/types-ts4.0/plugins/annotation/ui/InlineCommentView.d.ts +11 -0
- package/dist/types-ts4.0/plugins/annotation/update-provider.d.ts +8 -0
- package/dist/types-ts4.0/plugins/annotation/utils.d.ts +40 -0
- package/dist/types-ts4.0/plugins/avatar-group/index.d.ts +14 -0
- package/dist/types-ts4.0/plugins/avatar-group/messages.d.ts +7 -0
- package/dist/types-ts4.0/plugins/avatar-group/ui/AvatarGroupPluginWrapper.d.ts +15 -0
- package/dist/types-ts4.0/plugins/base/index.d.ts +19 -0
- package/dist/types-ts4.0/plugins/base/pm-plugins/better-type-history.d.ts +5 -0
- package/dist/types-ts4.0/plugins/base/pm-plugins/composition.d.ts +8 -0
- package/dist/types-ts4.0/plugins/base/pm-plugins/context-identifier.d.ts +12 -0
- package/dist/types-ts4.0/plugins/base/pm-plugins/decoration.d.ts +16 -0
- package/dist/types-ts4.0/plugins/base/pm-plugins/disable-spell-checking.d.ts +4 -0
- package/dist/types-ts4.0/plugins/base/pm-plugins/filter-steps.d.ts +4 -0
- package/dist/types-ts4.0/plugins/base/pm-plugins/fix-chrome-88-selection.d.ts +5 -0
- package/dist/types-ts4.0/plugins/base/pm-plugins/focus-handler.d.ts +6 -0
- package/dist/types-ts4.0/plugins/base/pm-plugins/frozen-editor.d.ts +12 -0
- package/dist/types-ts4.0/plugins/base/pm-plugins/inline-cursor-target.d.ts +17 -0
- package/dist/types-ts4.0/plugins/base/pm-plugins/newline-preserve-marks.d.ts +5 -0
- package/dist/types-ts4.0/plugins/base/pm-plugins/react-nodeview.d.ts +13 -0
- package/dist/types-ts4.0/plugins/base/pm-plugins/scroll-gutter.d.ts +23 -0
- package/dist/types-ts4.0/plugins/base/utils/frozen-editor.d.ts +2 -0
- package/dist/types-ts4.0/plugins/base/utils/input-latency-tracking.d.ts +42 -0
- package/dist/types-ts4.0/plugins/before-primaryToolbar/index.d.ts +8 -0
- package/dist/types-ts4.0/plugins/before-primaryToolbar/ui/BeforePrimaryToolbarWrapper.d.ts +5 -0
- package/dist/types-ts4.0/plugins/block-type/commands/block-type.d.ts +13 -0
- package/dist/types-ts4.0/plugins/block-type/commands/delete-and-move-cursor.d.ts +12 -0
- package/dist/types-ts4.0/plugins/block-type/commands/delete-block-content.d.ts +10 -0
- package/dist/types-ts4.0/plugins/block-type/commands/index.d.ts +6 -0
- package/dist/types-ts4.0/plugins/block-type/commands/insert-block.d.ts +5 -0
- package/dist/types-ts4.0/plugins/block-type/commands/transform-to-code-block.d.ts +3 -0
- package/dist/types-ts4.0/plugins/block-type/index.d.ts +8 -0
- package/dist/types-ts4.0/plugins/block-type/messages.d.ts +152 -0
- package/dist/types-ts4.0/plugins/block-type/pm-plugins/input-rule.d.ts +5 -0
- package/dist/types-ts4.0/plugins/block-type/pm-plugins/keymap.d.ts +4 -0
- package/dist/types-ts4.0/plugins/block-type/pm-plugins/main.d.ts +11 -0
- package/dist/types-ts4.0/plugins/block-type/styles.d.ts +2 -0
- package/dist/types-ts4.0/plugins/block-type/types.d.ts +43 -0
- package/dist/types-ts4.0/plugins/block-type/ui/ToolbarBlockType/blocktype-button.d.ts +23 -0
- package/dist/types-ts4.0/plugins/block-type/ui/ToolbarBlockType/index.d.ts +29 -0
- package/dist/types-ts4.0/plugins/block-type/ui/ToolbarBlockType/styled.d.ts +4 -0
- package/dist/types-ts4.0/plugins/block-type/ui/ToolbarBlockType/toolbar-messages.d.ts +7 -0
- package/dist/types-ts4.0/plugins/block-type/utils.d.ts +2 -0
- package/dist/types-ts4.0/plugins/border/index.d.ts +3 -0
- package/dist/types-ts4.0/plugins/breakout/commands/remove-breakout.d.ts +2 -0
- package/dist/types-ts4.0/plugins/breakout/commands/set-breakout-mode.d.ts +3 -0
- package/dist/types-ts4.0/plugins/breakout/constants.d.ts +4 -0
- package/dist/types-ts4.0/plugins/breakout/index.d.ts +8 -0
- package/dist/types-ts4.0/plugins/breakout/plugin-key.d.ts +4 -0
- package/dist/types-ts4.0/plugins/breakout/types.d.ts +4 -0
- package/dist/types-ts4.0/plugins/breakout/ui/LayoutButton.d.ts +17 -0
- package/dist/types-ts4.0/plugins/breakout/utils/find-breakout-node.d.ts +9 -0
- package/dist/types-ts4.0/plugins/breakout/utils/get-breakout-mode.d.ts +7 -0
- package/dist/types-ts4.0/plugins/breakout/utils/is-breakout-mark-allowed.d.ts +9 -0
- package/dist/types-ts4.0/plugins/breakout/utils/is-supported-node.d.ts +6 -0
- package/dist/types-ts4.0/plugins/caption/index.d.ts +3 -0
- package/dist/types-ts4.0/plugins/caption/nodeviews/index.d.ts +16 -0
- package/dist/types-ts4.0/plugins/caption/pm-plugins/keymap.d.ts +2 -0
- package/dist/types-ts4.0/plugins/caption/pm-plugins/main.d.ts +6 -0
- package/dist/types-ts4.0/plugins/caption/pm-plugins/plugin-key.d.ts +2 -0
- package/dist/types-ts4.0/plugins/card/index.d.ts +10 -0
- package/dist/types-ts4.0/plugins/card/messages.d.ts +82 -0
- package/dist/types-ts4.0/plugins/card/nodeviews/blockCard.d.ts +23 -0
- package/dist/types-ts4.0/plugins/card/nodeviews/embedCard.d.ts +43 -0
- package/dist/types-ts4.0/plugins/card/nodeviews/genericCard.d.ts +34 -0
- package/dist/types-ts4.0/plugins/card/nodeviews/inlineCard.d.ts +22 -0
- package/dist/types-ts4.0/plugins/card/pm-plugins/actions.d.ts +13 -0
- package/dist/types-ts4.0/plugins/card/pm-plugins/analytics/create-analytics-queue.d.ts +10 -0
- package/dist/types-ts4.0/plugins/card/pm-plugins/analytics/events-from-tr.d.ts +17 -0
- package/dist/types-ts4.0/plugins/card/pm-plugins/analytics/index.d.ts +2 -0
- package/dist/types-ts4.0/plugins/card/pm-plugins/analytics/types.d.ts +10 -0
- package/dist/types-ts4.0/plugins/card/pm-plugins/analytics/utils.d.ts +26 -0
- package/dist/types-ts4.0/plugins/card/pm-plugins/doc.d.ts +17 -0
- package/dist/types-ts4.0/plugins/card/pm-plugins/keymap.d.ts +3 -0
- package/dist/types-ts4.0/plugins/card/pm-plugins/main.d.ts +5 -0
- package/dist/types-ts4.0/plugins/card/pm-plugins/plugin-key.d.ts +2 -0
- package/dist/types-ts4.0/plugins/card/pm-plugins/reducers.d.ts +3 -0
- package/dist/types-ts4.0/plugins/card/pm-plugins/shouldReplaceLink.d.ts +2 -0
- package/dist/types-ts4.0/plugins/card/pm-plugins/util/resolve.d.ts +6 -0
- package/dist/types-ts4.0/plugins/card/pm-plugins/util/state.d.ts +28 -0
- package/dist/types-ts4.0/plugins/card/styles.d.ts +2 -0
- package/dist/types-ts4.0/plugins/card/toolbar.d.ts +9 -0
- package/dist/types-ts4.0/plugins/card/types.d.ts +142 -0
- package/dist/types-ts4.0/plugins/card/ui/EditLinkToolbar.d.ts +37 -0
- package/dist/types-ts4.0/plugins/card/ui/EditorSmartCardEvents.d.ts +5 -0
- package/dist/types-ts4.0/plugins/card/ui/EditorSmartCardEventsNext.d.ts +18 -0
- package/dist/types-ts4.0/plugins/card/ui/LinkToolbarAppearance.d.ts +25 -0
- package/dist/types-ts4.0/plugins/card/ui/LinkToolbarButtonGroup.d.ts +16 -0
- package/dist/types-ts4.0/plugins/card/ui/ResizableEmbedCard.d.ts +60 -0
- package/dist/types-ts4.0/plugins/card/ui/assets/card.d.ts +3 -0
- package/dist/types-ts4.0/plugins/card/ui/assets/embed.d.ts +3 -0
- package/dist/types-ts4.0/plugins/card/ui/assets/inline.d.ts +3 -0
- package/dist/types-ts4.0/plugins/card/ui/assets/url.d.ts +3 -0
- package/dist/types-ts4.0/plugins/card/ui/link-toolbar-button-group-options.d.ts +5 -0
- package/dist/types-ts4.0/plugins/card/ui/styled.d.ts +2 -0
- package/dist/types-ts4.0/plugins/card/ui/types.d.ts +12 -0
- package/dist/types-ts4.0/plugins/card/utils.d.ts +21 -0
- package/dist/types-ts4.0/plugins/clear-marks-on-change-to-empty-document/index.d.ts +7 -0
- package/dist/types-ts4.0/plugins/clipboard/index.d.ts +3 -0
- package/dist/types-ts4.0/plugins/clipboard/plugin-key.d.ts +2 -0
- package/dist/types-ts4.0/plugins/clipboard/pm-plugins/main.d.ts +19 -0
- package/dist/types-ts4.0/plugins/code-bidi-warning/index.d.ts +8 -0
- package/dist/types-ts4.0/plugins/code-bidi-warning/plugin-key.d.ts +2 -0
- package/dist/types-ts4.0/plugins/code-bidi-warning/pm-plugins/main.d.ts +5 -0
- package/dist/types-ts4.0/plugins/code-bidi-warning/pm-plugins/plugin-factory.d.ts +8 -0
- package/dist/types-ts4.0/plugins/code-bidi-warning/pm-plugins/reducer.d.ts +3 -0
- package/dist/types-ts4.0/plugins/code-bidi-warning/pm-plugins/types.d.ts +6 -0
- package/dist/types-ts4.0/plugins/code-block/actions.d.ts +7 -0
- package/dist/types-ts4.0/plugins/code-block/ide-ux/bracket-handling.d.ts +12 -0
- package/dist/types-ts4.0/plugins/code-block/ide-ux/commands.d.ts +6 -0
- package/dist/types-ts4.0/plugins/code-block/ide-ux/line-handling.d.ts +25 -0
- package/dist/types-ts4.0/plugins/code-block/ide-ux/paired-character-handling.d.ts +2 -0
- package/dist/types-ts4.0/plugins/code-block/ide-ux/quote-handling.d.ts +12 -0
- package/dist/types-ts4.0/plugins/code-block/index.d.ts +6 -0
- package/dist/types-ts4.0/plugins/code-block/language-list.d.ts +1641 -0
- package/dist/types-ts4.0/plugins/code-block/nodeviews/code-block.d.ts +21 -0
- package/dist/types-ts4.0/plugins/code-block/plugin-key.d.ts +2 -0
- package/dist/types-ts4.0/plugins/code-block/pm-plugins/actions.d.ts +4 -0
- package/dist/types-ts4.0/plugins/code-block/pm-plugins/codeBlockCopySelectionPlugin.d.ts +14 -0
- package/dist/types-ts4.0/plugins/code-block/pm-plugins/ide-ux.d.ts +3 -0
- package/dist/types-ts4.0/plugins/code-block/pm-plugins/keymaps.d.ts +4 -0
- package/dist/types-ts4.0/plugins/code-block/pm-plugins/main-state.d.ts +8 -0
- package/dist/types-ts4.0/plugins/code-block/pm-plugins/main.d.ts +9 -0
- package/dist/types-ts4.0/plugins/code-block/refresh-browser-selection.d.ts +5 -0
- package/dist/types-ts4.0/plugins/code-block/styles.d.ts +2 -0
- package/dist/types-ts4.0/plugins/code-block/toolbar.d.ts +14 -0
- package/dist/types-ts4.0/plugins/code-block/types.d.ts +7 -0
- package/dist/types-ts4.0/plugins/code-block/ui/class-names.d.ts +8 -0
- package/dist/types-ts4.0/plugins/code-block/utils.d.ts +5 -0
- package/dist/types-ts4.0/plugins/collab-edit/actions.d.ts +10 -0
- package/dist/types-ts4.0/plugins/collab-edit/analytics.d.ts +5 -0
- package/dist/types-ts4.0/plugins/collab-edit/events/handlers.d.ts +23 -0
- package/dist/types-ts4.0/plugins/collab-edit/events/initialize.d.ts +14 -0
- package/dist/types-ts4.0/plugins/collab-edit/events/send-transaction.d.ts +11 -0
- package/dist/types-ts4.0/plugins/collab-edit/get-participants-count.d.ts +2 -0
- package/dist/types-ts4.0/plugins/collab-edit/index.d.ts +14 -0
- package/dist/types-ts4.0/plugins/collab-edit/native-collab-provider-plugin.d.ts +7 -0
- package/dist/types-ts4.0/plugins/collab-edit/participants.d.ts +18 -0
- package/dist/types-ts4.0/plugins/collab-edit/plugin-key.d.ts +3 -0
- package/dist/types-ts4.0/plugins/collab-edit/plugin-state.d.ts +23 -0
- package/dist/types-ts4.0/plugins/collab-edit/plugin.d.ts +11 -0
- package/dist/types-ts4.0/plugins/collab-edit/provider/index.d.ts +1 -0
- package/dist/types-ts4.0/plugins/collab-edit/provider/types.d.ts +1 -0
- package/dist/types-ts4.0/plugins/collab-edit/styles.d.ts +1 -0
- package/dist/types-ts4.0/plugins/collab-edit/types.d.ts +36 -0
- package/dist/types-ts4.0/plugins/collab-edit/ui/avatars-with-plugin-state.d.ts +23 -0
- package/dist/types-ts4.0/plugins/collab-edit/ui/avatars.d.ts +12 -0
- package/dist/types-ts4.0/plugins/collab-edit/ui/colored-avatar-item.d.ts +7 -0
- package/dist/types-ts4.0/plugins/collab-edit/ui/index.d.ts +2 -0
- package/dist/types-ts4.0/plugins/collab-edit/ui/invite-to-edit.d.ts +10 -0
- package/dist/types-ts4.0/plugins/collab-edit/ui/styles.d.ts +3 -0
- package/dist/types-ts4.0/plugins/collab-edit/ui/to-avatar.d.ts +4 -0
- package/dist/types-ts4.0/plugins/collab-edit/utils.d.ts +19 -0
- package/dist/types-ts4.0/plugins/context-panel/index.d.ts +11 -0
- package/dist/types-ts4.0/plugins/context-panel/transforms.d.ts +2 -0
- package/dist/types-ts4.0/plugins/context-panel/types.d.ts +1 -0
- package/dist/types-ts4.0/plugins/copy-button/commands.d.ts +8 -0
- package/dist/types-ts4.0/plugins/copy-button/index.d.ts +3 -0
- package/dist/types-ts4.0/plugins/copy-button/pm-plugins/main.d.ts +12 -0
- package/dist/types-ts4.0/plugins/copy-button/pm-plugins/plugin-key.d.ts +2 -0
- package/dist/types-ts4.0/plugins/copy-button/toolbar.d.ts +12 -0
- package/dist/types-ts4.0/plugins/copy-button/utils.d.ts +8 -0
- package/dist/types-ts4.0/plugins/custom-autoformat/doc.d.ts +6 -0
- package/dist/types-ts4.0/plugins/custom-autoformat/index.d.ts +6 -0
- package/dist/types-ts4.0/plugins/custom-autoformat/input-rules.d.ts +9 -0
- package/dist/types-ts4.0/plugins/custom-autoformat/reducers.d.ts +4 -0
- package/dist/types-ts4.0/plugins/custom-autoformat/types.d.ts +31 -0
- package/dist/types-ts4.0/plugins/custom-autoformat/utils.d.ts +5 -0
- package/dist/types-ts4.0/plugins/data-consumer/index.d.ts +3 -0
- package/dist/types-ts4.0/plugins/date/actions.d.ts +17 -0
- package/dist/types-ts4.0/plugins/date/index.d.ts +13 -0
- package/dist/types-ts4.0/plugins/date/nodeviews/date.d.ts +3 -0
- package/dist/types-ts4.0/plugins/date/nodeviews/messages.d.ts +7 -0
- package/dist/types-ts4.0/plugins/date/pm-plugins/keymap.d.ts +3 -0
- package/dist/types-ts4.0/plugins/date/pm-plugins/main.d.ts +6 -0
- package/dist/types-ts4.0/plugins/date/pm-plugins/plugin-key.d.ts +3 -0
- package/dist/types-ts4.0/plugins/date/pm-plugins/types.d.ts +12 -0
- package/dist/types-ts4.0/plugins/date/pm-plugins/utils.d.ts +5 -0
- package/dist/types-ts4.0/plugins/date/styles.d.ts +1 -0
- package/dist/types-ts4.0/plugins/date/types.d.ts +6 -0
- package/dist/types-ts4.0/plugins/date/ui/DatePicker/date-picker-input.d.ts +25 -0
- package/dist/types-ts4.0/plugins/date/ui/DatePicker/index.d.ts +34 -0
- package/dist/types-ts4.0/plugins/date/utils/formatParse.d.ts +27 -0
- package/dist/types-ts4.0/plugins/date/utils/internal.d.ts +33 -0
- package/dist/types-ts4.0/plugins/editor-disabled/index.d.ts +13 -0
- package/dist/types-ts4.0/plugins/emoji/commands/insert-emoji.d.ts +4 -0
- package/dist/types-ts4.0/plugins/emoji/index.d.ts +28 -0
- package/dist/types-ts4.0/plugins/emoji/messages.d.ts +7 -0
- package/dist/types-ts4.0/plugins/emoji/nodeviews/emoji.d.ts +7 -0
- package/dist/types-ts4.0/plugins/emoji/pm-plugins/ascii-input-rules.d.ts +9 -0
- package/dist/types-ts4.0/plugins/emoji/styles.d.ts +1 -0
- package/dist/types-ts4.0/plugins/emoji/types.d.ts +11 -0
- package/dist/types-ts4.0/plugins/emoji/ui/Emoji/index.d.ts +4 -0
- package/dist/types-ts4.0/plugins/expand/commands.d.ts +12 -0
- package/dist/types-ts4.0/plugins/expand/index.d.ts +20 -0
- package/dist/types-ts4.0/plugins/expand/nodeviews/index.d.ts +51 -0
- package/dist/types-ts4.0/plugins/expand/pm-plugins/keymap.d.ts +2 -0
- package/dist/types-ts4.0/plugins/expand/pm-plugins/main.d.ts +7 -0
- package/dist/types-ts4.0/plugins/expand/pm-plugins/plugin-factory.d.ts +3 -0
- package/dist/types-ts4.0/plugins/expand/reducer.d.ts +3 -0
- package/dist/types-ts4.0/plugins/expand/toolbar.d.ts +2 -0
- package/dist/types-ts4.0/plugins/expand/types.d.ts +9 -0
- package/dist/types-ts4.0/plugins/expand/ui/ExpandIconButton.d.ts +43 -0
- package/dist/types-ts4.0/plugins/expand/ui/class-names.d.ts +11 -0
- package/dist/types-ts4.0/plugins/expand/ui/styles.d.ts +2 -0
- package/dist/types-ts4.0/plugins/expand/utils.d.ts +1 -0
- package/dist/types-ts4.0/plugins/extension/actions.d.ts +16 -0
- package/dist/types-ts4.0/plugins/extension/commands.d.ts +11 -0
- package/dist/types-ts4.0/plugins/extension/context-panel.d.ts +7 -0
- package/dist/types-ts4.0/plugins/extension/extension-api.d.ts +14 -0
- package/dist/types-ts4.0/plugins/extension/index.d.ts +17 -0
- package/dist/types-ts4.0/plugins/extension/nodeviews/extension.d.ts +28 -0
- package/dist/types-ts4.0/plugins/extension/plugin-factory.d.ts +4 -0
- package/dist/types-ts4.0/plugins/extension/plugin-key.d.ts +3 -0
- package/dist/types-ts4.0/plugins/extension/pm-plugins/keymap.d.ts +2 -0
- package/dist/types-ts4.0/plugins/extension/pm-plugins/main.d.ts +23 -0
- package/dist/types-ts4.0/plugins/extension/pm-plugins/unique-id.d.ts +3 -0
- package/dist/types-ts4.0/plugins/extension/pm-plugins/utils.d.ts +3 -0
- package/dist/types-ts4.0/plugins/extension/reducer.d.ts +2 -0
- package/dist/types-ts4.0/plugins/extension/toolbar.d.ts +34 -0
- package/dist/types-ts4.0/plugins/extension/types.d.ts +20 -0
- package/dist/types-ts4.0/plugins/extension/ui/Extension/Extension/index.d.ts +104 -0
- package/dist/types-ts4.0/plugins/extension/ui/Extension/Extension/styles.d.ts +6 -0
- package/dist/types-ts4.0/plugins/extension/ui/Extension/ExtensionComponent.d.ts +48 -0
- package/dist/types-ts4.0/plugins/extension/ui/Extension/ExtensionNodeWrapper.d.ts +7 -0
- package/dist/types-ts4.0/plugins/extension/ui/Extension/InlineExtension/index.d.ts +12 -0
- package/dist/types-ts4.0/plugins/extension/ui/Extension/InlineExtension/styles.d.ts +2 -0
- package/dist/types-ts4.0/plugins/extension/ui/Extension/Lozenge.d.ts +14 -0
- package/dist/types-ts4.0/plugins/extension/ui/Extension/index.d.ts +25 -0
- package/dist/types-ts4.0/plugins/extension/ui/Extension/styles.d.ts +8 -0
- package/dist/types-ts4.0/plugins/extension/ui/SaveIndicator/SaveIndicator.d.ts +4 -0
- package/dist/types-ts4.0/plugins/extension/ui/SaveIndicator/messages.d.ts +7 -0
- package/dist/types-ts4.0/plugins/extension/ui/SaveIndicator/types.d.ts +11 -0
- package/dist/types-ts4.0/plugins/extension/ui/styles.d.ts +1 -0
- package/dist/types-ts4.0/plugins/extension/utils.d.ts +10 -0
- package/dist/types-ts4.0/plugins/fake-text-cursor/cursor.d.ts +28 -0
- package/dist/types-ts4.0/plugins/fake-text-cursor/index.d.ts +7 -0
- package/dist/types-ts4.0/plugins/fake-text-cursor/styles.d.ts +1 -0
- package/dist/types-ts4.0/plugins/feedback-dialog/getBrowserInfo.d.ts +6 -0
- package/dist/types-ts4.0/plugins/feedback-dialog/getDeviceInfo.d.ts +6 -0
- package/dist/types-ts4.0/plugins/feedback-dialog/index.d.ts +7 -0
- package/dist/types-ts4.0/plugins/feedback-dialog/loadJiraCollectorDialogScript.d.ts +8 -0
- package/dist/types-ts4.0/plugins/find-replace/FindReplaceToolbarButtonWithState.d.ts +17 -0
- package/dist/types-ts4.0/plugins/find-replace/actions.d.ts +64 -0
- package/dist/types-ts4.0/plugins/find-replace/commands-with-analytics.d.ts +27 -0
- package/dist/types-ts4.0/plugins/find-replace/commands.d.ts +12 -0
- package/dist/types-ts4.0/plugins/find-replace/index.d.ts +13 -0
- package/dist/types-ts4.0/plugins/find-replace/keymap.d.ts +3 -0
- package/dist/types-ts4.0/plugins/find-replace/plugin.d.ts +6 -0
- package/dist/types-ts4.0/plugins/find-replace/reducer.d.ts +4 -0
- package/dist/types-ts4.0/plugins/find-replace/styles.d.ts +3 -0
- package/dist/types-ts4.0/plugins/find-replace/types.d.ts +44 -0
- package/dist/types-ts4.0/plugins/find-replace/ui/Find.d.ts +70 -0
- package/dist/types-ts4.0/plugins/find-replace/ui/FindReplace.d.ts +43 -0
- package/dist/types-ts4.0/plugins/find-replace/ui/FindReplaceToolbarButton.d.ts +21 -0
- package/dist/types-ts4.0/plugins/find-replace/ui/FindReplaceTooltipButton.d.ts +18 -0
- package/dist/types-ts4.0/plugins/find-replace/ui/Replace.d.ts +26 -0
- package/dist/types-ts4.0/plugins/find-replace/ui/styles.d.ts +5 -0
- package/dist/types-ts4.0/plugins/find-replace/utils/batch-decorations.d.ts +36 -0
- package/dist/types-ts4.0/plugins/find-replace/utils/index.d.ts +49 -0
- package/dist/types-ts4.0/plugins/floating-toolbar/index.d.ts +24 -0
- package/dist/types-ts4.0/plugins/floating-toolbar/pm-plugins/force-focus/index.d.ts +18 -0
- package/dist/types-ts4.0/plugins/floating-toolbar/pm-plugins/toolbar-data/commands.d.ts +3 -0
- package/dist/types-ts4.0/plugins/floating-toolbar/pm-plugins/toolbar-data/plugin-factory.d.ts +1 -0
- package/dist/types-ts4.0/plugins/floating-toolbar/pm-plugins/toolbar-data/plugin-key.d.ts +3 -0
- package/dist/types-ts4.0/plugins/floating-toolbar/pm-plugins/toolbar-data/plugin.d.ts +3 -0
- package/dist/types-ts4.0/plugins/floating-toolbar/pm-plugins/toolbar-data/reducer.d.ts +2 -0
- package/dist/types-ts4.0/plugins/floating-toolbar/pm-plugins/toolbar-data/types.d.ts +11 -0
- package/dist/types-ts4.0/plugins/floating-toolbar/types.d.ts +1 -0
- package/dist/types-ts4.0/plugins/floating-toolbar/ui/Button.d.ts +30 -0
- package/dist/types-ts4.0/plugins/floating-toolbar/ui/CheckboxModal.d.ts +4 -0
- package/dist/types-ts4.0/plugins/floating-toolbar/ui/ConfirmationModal.d.ts +6 -0
- package/dist/types-ts4.0/plugins/floating-toolbar/ui/Dropdown.d.ts +39 -0
- package/dist/types-ts4.0/plugins/floating-toolbar/ui/DropdownMenu.d.ts +29 -0
- package/dist/types-ts4.0/plugins/floating-toolbar/ui/EditorEmojiAddIcon.d.ts +2 -0
- package/dist/types-ts4.0/plugins/floating-toolbar/ui/EmojiPickerButton.d.ts +15 -0
- package/dist/types-ts4.0/plugins/floating-toolbar/ui/ExtensionsPlaceholder.d.ts +12 -0
- package/dist/types-ts4.0/plugins/floating-toolbar/ui/Input.d.ts +23 -0
- package/dist/types-ts4.0/plugins/floating-toolbar/ui/ScrollButtons.d.ts +13 -0
- package/dist/types-ts4.0/plugins/floating-toolbar/ui/Select.d.ts +21 -0
- package/dist/types-ts4.0/plugins/floating-toolbar/ui/Separator.d.ts +4 -0
- package/dist/types-ts4.0/plugins/floating-toolbar/ui/SimpleModal.d.ts +4 -0
- package/dist/types-ts4.0/plugins/floating-toolbar/ui/Toolbar.d.ts +38 -0
- package/dist/types-ts4.0/plugins/floating-toolbar/ui/ToolbarLoader.d.ts +4 -0
- package/dist/types-ts4.0/plugins/floating-toolbar/ui/messages.d.ts +48 -0
- package/dist/types-ts4.0/plugins/floating-toolbar/ui/styles.d.ts +20 -0
- package/dist/types-ts4.0/plugins/floating-toolbar/ui/types.d.ts +1 -0
- package/dist/types-ts4.0/plugins/floating-toolbar/utils.d.ts +4 -0
- package/dist/types-ts4.0/plugins/fragment/index.d.ts +3 -0
- package/dist/types-ts4.0/plugins/fragment/plugin-key.d.ts +2 -0
- package/dist/types-ts4.0/plugins/fragment/pm-plugins/fragment-consistency.d.ts +15 -0
- package/dist/types-ts4.0/plugins/grid/index.d.ts +18 -0
- package/dist/types-ts4.0/plugins/grid/styles.d.ts +2 -0
- package/dist/types-ts4.0/plugins/grid/types.d.ts +6 -0
- package/dist/types-ts4.0/plugins/help-dialog/commands.d.ts +3 -0
- package/dist/types-ts4.0/plugins/help-dialog/index.d.ts +7 -0
- package/dist/types-ts4.0/plugins/help-dialog/plugin-key.d.ts +2 -0
- package/dist/types-ts4.0/plugins/help-dialog/ui/HelpDialogLoader.d.ts +4 -0
- package/dist/types-ts4.0/plugins/help-dialog/ui/index.d.ts +27 -0
- package/dist/types-ts4.0/plugins/help-dialog/ui/styles.d.ts +33 -0
- package/dist/types-ts4.0/plugins/history/actions.d.ts +8 -0
- package/dist/types-ts4.0/plugins/history/index.d.ts +13 -0
- package/dist/types-ts4.0/plugins/history/pm-history-types.d.ts +18 -0
- package/dist/types-ts4.0/plugins/history/reducer.d.ts +4 -0
- package/dist/types-ts4.0/plugins/history/types.d.ts +4 -0
- package/dist/types-ts4.0/plugins/history/utils.d.ts +4 -0
- package/dist/types-ts4.0/plugins/hyperlink/HyperlinkToolbarAppearance.d.ts +28 -0
- package/dist/types-ts4.0/plugins/hyperlink/Toolbar.d.ts +4 -0
- package/dist/types-ts4.0/plugins/hyperlink/analytics.d.ts +2 -0
- package/dist/types-ts4.0/plugins/hyperlink/commands.d.ts +16 -0
- package/dist/types-ts4.0/plugins/hyperlink/index.d.ts +11 -0
- package/dist/types-ts4.0/plugins/hyperlink/pm-plugins/fake-curor-for-toolbar-plugin-key.d.ts +2 -0
- package/dist/types-ts4.0/plugins/hyperlink/pm-plugins/fake-cursor-for-toolbar.d.ts +3 -0
- package/dist/types-ts4.0/plugins/hyperlink/pm-plugins/input-rule.d.ts +7 -0
- package/dist/types-ts4.0/plugins/hyperlink/pm-plugins/keymap.d.ts +3 -0
- package/dist/types-ts4.0/plugins/hyperlink/pm-plugins/main.d.ts +46 -0
- package/dist/types-ts4.0/plugins/hyperlink/styles.d.ts +6 -0
- package/dist/types-ts4.0/plugins/hyperlink/types.d.ts +35 -0
- package/dist/types-ts4.0/plugins/hyperlink/ui/EditorLinkPicker/index.d.ts +19 -0
- package/dist/types-ts4.0/plugins/hyperlink/ui/EditorLinkPicker/useEscapeClickaway.d.ts +2 -0
- package/dist/types-ts4.0/plugins/hyperlink/ui/HyperlinkAddToolbar/HyperlinkAddToolbar.d.ts +109 -0
- package/dist/types-ts4.0/plugins/hyperlink/ui/HyperlinkAddToolbar/index.d.ts +19 -0
- package/dist/types-ts4.0/plugins/hyperlink/ui/HyperlinkAddToolbar/messages.d.ts +32 -0
- package/dist/types-ts4.0/plugins/hyperlink/ui/HyperlinkAddToolbar/utils.d.ts +7 -0
- package/dist/types-ts4.0/plugins/hyperlink/utils.d.ts +25 -0
- package/dist/types-ts4.0/plugins/image-upload/index.d.ts +3 -0
- package/dist/types-ts4.0/plugins/image-upload/pm-plugins/actions.d.ts +2 -0
- package/dist/types-ts4.0/plugins/image-upload/pm-plugins/commands.d.ts +4 -0
- package/dist/types-ts4.0/plugins/image-upload/pm-plugins/input-rule.d.ts +5 -0
- package/dist/types-ts4.0/plugins/image-upload/pm-plugins/main.d.ts +3 -0
- package/dist/types-ts4.0/plugins/image-upload/pm-plugins/plugin-key.d.ts +3 -0
- package/dist/types-ts4.0/plugins/image-upload/types.d.ts +13 -0
- package/dist/types-ts4.0/plugins/image-upload/utils.d.ts +5 -0
- package/dist/types-ts4.0/plugins/indentation/commands/index.d.ts +8 -0
- package/dist/types-ts4.0/plugins/indentation/commands/utils.d.ts +36 -0
- package/dist/types-ts4.0/plugins/indentation/index.d.ts +3 -0
- package/dist/types-ts4.0/plugins/indentation/messages.d.ts +12 -0
- package/dist/types-ts4.0/plugins/indentation/pm-plugins/keymap.d.ts +3 -0
- package/dist/types-ts4.0/plugins/index.d.ts +69 -0
- package/dist/types-ts4.0/plugins/insert-block/index.d.ts +20 -0
- package/dist/types-ts4.0/plugins/insert-block/ui/ToolbarInsertBlock/block-insert-element-browser.d.ts +25 -0
- package/dist/types-ts4.0/plugins/insert-block/ui/ToolbarInsertBlock/block-insert-menu-legacy.d.ts +18 -0
- package/dist/types-ts4.0/plugins/insert-block/ui/ToolbarInsertBlock/block-insert-menu.d.ts +27 -0
- package/dist/types-ts4.0/plugins/insert-block/ui/ToolbarInsertBlock/create-items.d.ts +43 -0
- package/dist/types-ts4.0/plugins/insert-block/ui/ToolbarInsertBlock/dropdown-button.d.ts +16 -0
- package/dist/types-ts4.0/plugins/insert-block/ui/ToolbarInsertBlock/index.d.ts +46 -0
- package/dist/types-ts4.0/plugins/insert-block/ui/ToolbarInsertBlock/item.d.ts +34 -0
- package/dist/types-ts4.0/plugins/insert-block/ui/ToolbarInsertBlock/messages.d.ts +1 -0
- package/dist/types-ts4.0/plugins/insert-block/ui/ToolbarInsertBlock/shallow-equals.d.ts +1 -0
- package/dist/types-ts4.0/plugins/insert-block/ui/ToolbarInsertBlock/sort-items.d.ts +2 -0
- package/dist/types-ts4.0/plugins/insert-block/ui/ToolbarInsertBlock/styles.d.ts +1 -0
- package/dist/types-ts4.0/plugins/insert-block/ui/ToolbarInsertBlock/types.d.ts +62 -0
- package/dist/types-ts4.0/plugins/jira-issue/index.d.ts +5 -0
- package/dist/types-ts4.0/plugins/jira-issue/nodeviews/jira-issue.d.ts +7 -0
- package/dist/types-ts4.0/plugins/layout/actions.d.ts +22 -0
- package/dist/types-ts4.0/plugins/layout/index.d.ts +8 -0
- package/dist/types-ts4.0/plugins/layout/pm-plugins/main.d.ts +5 -0
- package/dist/types-ts4.0/plugins/layout/pm-plugins/plugin-key.d.ts +3 -0
- package/dist/types-ts4.0/plugins/layout/pm-plugins/types.d.ts +14 -0
- package/dist/types-ts4.0/plugins/layout/styles.d.ts +4 -0
- package/dist/types-ts4.0/plugins/layout/toolbar-messages.d.ts +32 -0
- package/dist/types-ts4.0/plugins/layout/toolbar.d.ts +5 -0
- package/dist/types-ts4.0/plugins/layout/types.d.ts +13 -0
- package/dist/types-ts4.0/plugins/layout/utils.d.ts +1 -0
- package/dist/types-ts4.0/plugins/list/actions/conversions.d.ts +6 -0
- package/dist/types-ts4.0/plugins/list/actions/indent-list-items-selected.d.ts +2 -0
- package/dist/types-ts4.0/plugins/list/actions/indent-list.d.ts +2 -0
- package/dist/types-ts4.0/plugins/list/actions/join-list-items-forward.d.ts +16 -0
- package/dist/types-ts4.0/plugins/list/actions/join-list-items-scenarios/index.d.ts +5 -0
- package/dist/types-ts4.0/plugins/list/actions/join-list-items-scenarios/join-list-item-with-paragraph.d.ts +9 -0
- package/dist/types-ts4.0/plugins/list/actions/join-list-items-scenarios/join-list-item-with-parent-nested-list.d.ts +9 -0
- package/dist/types-ts4.0/plugins/list/actions/join-list-items-scenarios/join-nested-list-with-parent-list-item.d.ts +9 -0
- package/dist/types-ts4.0/plugins/list/actions/join-list-items-scenarios/join-paragraph-with-list.d.ts +9 -0
- package/dist/types-ts4.0/plugins/list/actions/join-list-items-scenarios/join-sibling-list-items.d.ts +9 -0
- package/dist/types-ts4.0/plugins/list/actions/merge-lists.d.ts +7 -0
- package/dist/types-ts4.0/plugins/list/actions/outdent-list-items-selected.d.ts +3 -0
- package/dist/types-ts4.0/plugins/list/actions/wrap-and-join-lists.d.ts +15 -0
- package/dist/types-ts4.0/plugins/list/commands/indent-list.d.ts +5 -0
- package/dist/types-ts4.0/plugins/list/commands/index.d.ts +16 -0
- package/dist/types-ts4.0/plugins/list/commands/join-list-item-forward.d.ts +2 -0
- package/dist/types-ts4.0/plugins/list/commands/listBackspace.d.ts +12 -0
- package/dist/types-ts4.0/plugins/list/commands/outdent-list.d.ts +6 -0
- package/dist/types-ts4.0/plugins/list/index.d.ts +10 -0
- package/dist/types-ts4.0/plugins/list/messages.d.ts +27 -0
- package/dist/types-ts4.0/plugins/list/pm-plugins/input-rules/create-list-input-rule.d.ts +9 -0
- package/dist/types-ts4.0/plugins/list/pm-plugins/input-rules/index.d.ts +4 -0
- package/dist/types-ts4.0/plugins/list/pm-plugins/input-rules/wrapping-join-rule.d.ts +13 -0
- package/dist/types-ts4.0/plugins/list/pm-plugins/keymap.d.ts +4 -0
- package/dist/types-ts4.0/plugins/list/pm-plugins/main.d.ts +10 -0
- package/dist/types-ts4.0/plugins/list/styles.d.ts +1 -0
- package/dist/types-ts4.0/plugins/list/transforms.d.ts +16 -0
- package/dist/types-ts4.0/plugins/list/types.d.ts +11 -0
- package/dist/types-ts4.0/plugins/list/utils/analytics.d.ts +7 -0
- package/dist/types-ts4.0/plugins/list/utils/find.d.ts +10 -0
- package/dist/types-ts4.0/plugins/list/utils/indentation.d.ts +7 -0
- package/dist/types-ts4.0/plugins/list/utils/node.d.ts +21 -0
- package/dist/types-ts4.0/plugins/list/utils/replace-content.d.ts +8 -0
- package/dist/types-ts4.0/plugins/list/utils/selection.d.ts +24 -0
- package/dist/types-ts4.0/plugins/macro/actions.d.ts +8 -0
- package/dist/types-ts4.0/plugins/macro/index.d.ts +11 -0
- package/dist/types-ts4.0/plugins/macro/plugin-key.d.ts +3 -0
- package/dist/types-ts4.0/plugins/macro/types.d.ts +4 -0
- package/dist/types-ts4.0/plugins/max-content-size/index.d.ts +13 -0
- package/dist/types-ts4.0/plugins/media/commands/captions.d.ts +4 -0
- package/dist/types-ts4.0/plugins/media/commands/helpers.d.ts +15 -0
- package/dist/types-ts4.0/plugins/media/commands/index.d.ts +1 -0
- package/dist/types-ts4.0/plugins/media/commands/linking.d.ts +10 -0
- package/dist/types-ts4.0/plugins/media/index.d.ts +14 -0
- package/dist/types-ts4.0/plugins/media/media-plugin-options.d.ts +18 -0
- package/dist/types-ts4.0/plugins/media/nodeviews/__mocks__/mediaNodeUpdater.d.ts +24 -0
- package/dist/types-ts4.0/plugins/media/nodeviews/mediaGroup.d.ts +33 -0
- package/dist/types-ts4.0/plugins/media/nodeviews/mediaInline.d.ts +47 -0
- package/dist/types-ts4.0/plugins/media/nodeviews/mediaNodeUpdater.d.ts +47 -0
- package/dist/types-ts4.0/plugins/media/nodeviews/mediaNodeView/index.d.ts +26 -0
- package/dist/types-ts4.0/plugins/media/nodeviews/mediaNodeView/media.d.ts +45 -0
- package/dist/types-ts4.0/plugins/media/nodeviews/mediaSingle.d.ts +61 -0
- package/dist/types-ts4.0/plugins/media/nodeviews/messages.d.ts +7 -0
- package/dist/types-ts4.0/plugins/media/nodeviews/styles.d.ts +16 -0
- package/dist/types-ts4.0/plugins/media/nodeviews/types.d.ts +39 -0
- package/dist/types-ts4.0/plugins/media/picker-facade.d.ts +44 -0
- package/dist/types-ts4.0/plugins/media/pm-plugins/alt-text/actions.d.ts +10 -0
- package/dist/types-ts4.0/plugins/media/pm-plugins/alt-text/commands.d.ts +3 -0
- package/dist/types-ts4.0/plugins/media/pm-plugins/alt-text/index.d.ts +7 -0
- package/dist/types-ts4.0/plugins/media/pm-plugins/alt-text/keymap.d.ts +3 -0
- package/dist/types-ts4.0/plugins/media/pm-plugins/alt-text/messages.d.ts +37 -0
- package/dist/types-ts4.0/plugins/media/pm-plugins/alt-text/reducer.d.ts +4 -0
- package/dist/types-ts4.0/plugins/media/pm-plugins/alt-text/style.d.ts +3 -0
- package/dist/types-ts4.0/plugins/media/pm-plugins/alt-text/types.d.ts +3 -0
- package/dist/types-ts4.0/plugins/media/pm-plugins/alt-text/ui/AltTextEdit.d.ts +41 -0
- package/dist/types-ts4.0/plugins/media/pm-plugins/keymap-media-single.d.ts +3 -0
- package/dist/types-ts4.0/plugins/media/pm-plugins/keymap.d.ts +4 -0
- package/dist/types-ts4.0/plugins/media/pm-plugins/linking/actions.d.ts +20 -0
- package/dist/types-ts4.0/plugins/media/pm-plugins/linking/index.d.ts +10 -0
- package/dist/types-ts4.0/plugins/media/pm-plugins/linking/keymap.d.ts +3 -0
- package/dist/types-ts4.0/plugins/media/pm-plugins/linking/reducer.d.ts +4 -0
- package/dist/types-ts4.0/plugins/media/pm-plugins/linking/types.d.ts +12 -0
- package/dist/types-ts4.0/plugins/media/pm-plugins/main.d.ts +108 -0
- package/dist/types-ts4.0/plugins/media/pm-plugins/media-editor-plugin-factory.d.ts +3 -0
- package/dist/types-ts4.0/plugins/media/pm-plugins/mediaTaskManager.d.ts +9 -0
- package/dist/types-ts4.0/plugins/media/pm-plugins/plugin-key.d.ts +3 -0
- package/dist/types-ts4.0/plugins/media/pm-plugins/types.d.ts +60 -0
- package/dist/types-ts4.0/plugins/media/styles.d.ts +1 -0
- package/dist/types-ts4.0/plugins/media/toolbar/alt-text.d.ts +11 -0
- package/dist/types-ts4.0/plugins/media/toolbar/commands.d.ts +9 -0
- package/dist/types-ts4.0/plugins/media/toolbar/filePreviewItem.d.ts +9 -0
- package/dist/types-ts4.0/plugins/media/toolbar/imageBorder.d.ts +2 -0
- package/dist/types-ts4.0/plugins/media/toolbar/index.d.ts +5 -0
- package/dist/types-ts4.0/plugins/media/toolbar/linking-toolbar-appearance.d.ts +14 -0
- package/dist/types-ts4.0/plugins/media/toolbar/linking.d.ts +8 -0
- package/dist/types-ts4.0/plugins/media/toolbar/utils.d.ts +6 -0
- package/dist/types-ts4.0/plugins/media/types.d.ts +102 -0
- package/dist/types-ts4.0/plugins/media/ui/CaptionPlaceholder/index.d.ts +7 -0
- package/dist/types-ts4.0/plugins/media/ui/CaptionPlaceholder/messages.d.ts +7 -0
- package/dist/types-ts4.0/plugins/media/ui/ImageBorder/index.d.ts +13 -0
- package/dist/types-ts4.0/plugins/media/ui/ImageBorder/messages.d.ts +42 -0
- package/dist/types-ts4.0/plugins/media/ui/ImageBorder/styles.d.ts +15 -0
- package/dist/types-ts4.0/plugins/media/ui/Media/DropPlaceholder.d.ts +8 -0
- package/dist/types-ts4.0/plugins/media/ui/Media/drop-placeholder-messages.d.ts +7 -0
- package/dist/types-ts4.0/plugins/media/ui/MediaLinkingToolbar.d.ts +35 -0
- package/dist/types-ts4.0/plugins/media/ui/MediaPicker/BrowserWrapper.d.ts +11 -0
- package/dist/types-ts4.0/plugins/media/ui/MediaPicker/ClipboardWrapper.d.ts +9 -0
- package/dist/types-ts4.0/plugins/media/ui/MediaPicker/DropzoneWrapper.d.ts +13 -0
- package/dist/types-ts4.0/plugins/media/ui/MediaPicker/PickerFacadeProvider.d.ts +28 -0
- package/dist/types-ts4.0/plugins/media/ui/MediaPicker/index.d.ts +21 -0
- package/dist/types-ts4.0/plugins/media/ui/ResizableMediaSingle/index.d.ts +44 -0
- package/dist/types-ts4.0/plugins/media/ui/ResizableMediaSingle/styled.d.ts +2 -0
- package/dist/types-ts4.0/plugins/media/ui/ResizableMediaSingle/types.d.ts +40 -0
- package/dist/types-ts4.0/plugins/media/ui/ToolbarMedia/index.d.ts +17 -0
- package/dist/types-ts4.0/plugins/media/ui/ToolbarMedia/toolbar-media-messages.d.ts +7 -0
- package/dist/types-ts4.0/plugins/media/ui/media-linking-toolbar-messages.d.ts +7 -0
- package/dist/types-ts4.0/plugins/media/utils/check-media-type.d.ts +4 -0
- package/dist/types-ts4.0/plugins/media/utils/current-media-node.d.ts +9 -0
- package/dist/types-ts4.0/plugins/media/utils/is-image.d.ts +1 -0
- package/dist/types-ts4.0/plugins/media/utils/media-common.d.ts +29 -0
- package/dist/types-ts4.0/plugins/media/utils/media-files.d.ts +30 -0
- package/dist/types-ts4.0/plugins/media/utils/media-single.d.ts +32 -0
- package/dist/types-ts4.0/plugins/mentions/analytics.d.ts +13 -0
- package/dist/types-ts4.0/plugins/mentions/index.d.ts +8 -0
- package/dist/types-ts4.0/plugins/mentions/messages.d.ts +22 -0
- package/dist/types-ts4.0/plugins/mentions/nodeviews/mention.d.ts +9 -0
- package/dist/types-ts4.0/plugins/mentions/pm-plugins/key.d.ts +3 -0
- package/dist/types-ts4.0/plugins/mentions/pm-plugins/main.d.ts +6 -0
- package/dist/types-ts4.0/plugins/mentions/pm-plugins/utils.d.ts +3 -0
- package/dist/types-ts4.0/plugins/mentions/styles.d.ts +1 -0
- package/dist/types-ts4.0/plugins/mentions/type-ahead/index.d.ts +17 -0
- package/dist/types-ts4.0/plugins/mentions/types.d.ts +25 -0
- package/dist/types-ts4.0/plugins/mentions/ui/InviteItem/index.d.ts +22 -0
- package/dist/types-ts4.0/plugins/mentions/ui/InviteItem/styles.d.ts +8 -0
- package/dist/types-ts4.0/plugins/mentions/ui/Mention/index.d.ts +19 -0
- package/dist/types-ts4.0/plugins/mentions/ui/ToolbarMention/index.d.ts +12 -0
- package/dist/types-ts4.0/plugins/mentions/utils.d.ts +8 -0
- package/dist/types-ts4.0/plugins/mobile-dimensions/actions.d.ts +23 -0
- package/dist/types-ts4.0/plugins/mobile-dimensions/commands.d.ts +4 -0
- package/dist/types-ts4.0/plugins/mobile-dimensions/index.d.ts +3 -0
- package/dist/types-ts4.0/plugins/mobile-dimensions/plugin-factory.d.ts +5 -0
- package/dist/types-ts4.0/plugins/mobile-dimensions/reducer.d.ts +3 -0
- package/dist/types-ts4.0/plugins/mobile-dimensions/types.d.ts +10 -0
- package/dist/types-ts4.0/plugins/mobile-dimensions/utils.d.ts +2 -0
- package/dist/types-ts4.0/plugins/mobile-selection/content-in-selection.d.ts +5 -0
- package/dist/types-ts4.0/plugins/mobile-selection/index.d.ts +2 -0
- package/dist/types-ts4.0/plugins/mobile-selection/mobile-selection-plugin.d.ts +7 -0
- package/dist/types-ts4.0/plugins/mobile-selection/types.d.ts +32 -0
- package/dist/types-ts4.0/plugins/panel/actions.d.ts +9 -0
- package/dist/types-ts4.0/plugins/panel/index.d.ts +6 -0
- package/dist/types-ts4.0/plugins/panel/message.d.ts +37 -0
- package/dist/types-ts4.0/plugins/panel/nodeviews/panel.d.ts +35 -0
- package/dist/types-ts4.0/plugins/panel/pm-plugins/keymaps.d.ts +3 -0
- package/dist/types-ts4.0/plugins/panel/pm-plugins/main.d.ts +11 -0
- package/dist/types-ts4.0/plugins/panel/styles.d.ts +2 -0
- package/dist/types-ts4.0/plugins/panel/toolbar.d.ts +13 -0
- package/dist/types-ts4.0/plugins/panel/types.d.ts +21 -0
- package/dist/types-ts4.0/plugins/panel/utils.d.ts +5 -0
- package/dist/types-ts4.0/plugins/paste/actions.d.ts +15 -0
- package/dist/types-ts4.0/plugins/paste/commands.d.ts +16 -0
- package/dist/types-ts4.0/plugins/paste/edge-cases/index.d.ts +7 -0
- package/dist/types-ts4.0/plugins/paste/edge-cases/lists.d.ts +18 -0
- package/dist/types-ts4.0/plugins/paste/handlers.d.ts +50 -0
- package/dist/types-ts4.0/plugins/paste/index.d.ts +14 -0
- package/dist/types-ts4.0/plugins/paste/linkify-md-plugin.d.ts +2 -0
- package/dist/types-ts4.0/plugins/paste/md.d.ts +2 -0
- package/dist/types-ts4.0/plugins/paste/newline-md-plugin.d.ts +2 -0
- package/dist/types-ts4.0/plugins/paste/paragraph-md-plugin.d.ts +2 -0
- package/dist/types-ts4.0/plugins/paste/pm-plugins/analytics.d.ts +42 -0
- package/dist/types-ts4.0/plugins/paste/pm-plugins/clipboard-text-serializer.d.ts +13 -0
- package/dist/types-ts4.0/plugins/paste/pm-plugins/main.d.ts +10 -0
- package/dist/types-ts4.0/plugins/paste/pm-plugins/plugin-factory.d.ts +3 -0
- package/dist/types-ts4.0/plugins/paste/reducer.d.ts +3 -0
- package/dist/types-ts4.0/plugins/paste/types.d.ts +6 -0
- package/dist/types-ts4.0/plugins/paste/util/index.d.ts +18 -0
- package/dist/types-ts4.0/plugins/paste/util/tinyMCE.d.ts +32 -0
- package/dist/types-ts4.0/plugins/placeholder/index.d.ts +16 -0
- package/dist/types-ts4.0/plugins/placeholder/styles.d.ts +1 -0
- package/dist/types-ts4.0/plugins/placeholder-text/actions.d.ts +4 -0
- package/dist/types-ts4.0/plugins/placeholder-text/index.d.ts +9 -0
- package/dist/types-ts4.0/plugins/placeholder-text/placeholder-text-nodeview.d.ts +17 -0
- package/dist/types-ts4.0/plugins/placeholder-text/plugin-key.d.ts +3 -0
- package/dist/types-ts4.0/plugins/placeholder-text/selection-utils.d.ts +2 -0
- package/dist/types-ts4.0/plugins/placeholder-text/styles.d.ts +1 -0
- package/dist/types-ts4.0/plugins/placeholder-text/types.d.ts +7 -0
- package/dist/types-ts4.0/plugins/placeholder-text/ui/PlaceholderFloatingToolbar/index.d.ts +25 -0
- package/dist/types-ts4.0/plugins/quick-insert/api.d.ts +6 -0
- package/dist/types-ts4.0/plugins/quick-insert/assets/action.d.ts +2 -0
- package/dist/types-ts4.0/plugins/quick-insert/assets/code.d.ts +2 -0
- package/dist/types-ts4.0/plugins/quick-insert/assets/custom-panel.d.ts +2 -0
- package/dist/types-ts4.0/plugins/quick-insert/assets/date.d.ts +2 -0
- package/dist/types-ts4.0/plugins/quick-insert/assets/decision.d.ts +2 -0
- package/dist/types-ts4.0/plugins/quick-insert/assets/divider.d.ts +2 -0
- package/dist/types-ts4.0/plugins/quick-insert/assets/emoji.d.ts +2 -0
- package/dist/types-ts4.0/plugins/quick-insert/assets/expand.d.ts +2 -0
- package/dist/types-ts4.0/plugins/quick-insert/assets/fallback.d.ts +2 -0
- package/dist/types-ts4.0/plugins/quick-insert/assets/feedback.d.ts +2 -0
- package/dist/types-ts4.0/plugins/quick-insert/assets/heading1.d.ts +2 -0
- package/dist/types-ts4.0/plugins/quick-insert/assets/heading2.d.ts +2 -0
- package/dist/types-ts4.0/plugins/quick-insert/assets/heading3.d.ts +2 -0
- package/dist/types-ts4.0/plugins/quick-insert/assets/heading4.d.ts +2 -0
- package/dist/types-ts4.0/plugins/quick-insert/assets/heading5.d.ts +2 -0
- package/dist/types-ts4.0/plugins/quick-insert/assets/heading6.d.ts +2 -0
- package/dist/types-ts4.0/plugins/quick-insert/assets/images.d.ts +2 -0
- package/dist/types-ts4.0/plugins/quick-insert/assets/index.d.ts +30 -0
- package/dist/types-ts4.0/plugins/quick-insert/assets/layout.d.ts +2 -0
- package/dist/types-ts4.0/plugins/quick-insert/assets/link.d.ts +2 -0
- package/dist/types-ts4.0/plugins/quick-insert/assets/list-number.d.ts +2 -0
- package/dist/types-ts4.0/plugins/quick-insert/assets/list.d.ts +2 -0
- package/dist/types-ts4.0/plugins/quick-insert/assets/mention.d.ts +2 -0
- package/dist/types-ts4.0/plugins/quick-insert/assets/panel-error.d.ts +2 -0
- package/dist/types-ts4.0/plugins/quick-insert/assets/panel-note.d.ts +2 -0
- package/dist/types-ts4.0/plugins/quick-insert/assets/panel-success.d.ts +2 -0
- package/dist/types-ts4.0/plugins/quick-insert/assets/panel-warning.d.ts +2 -0
- package/dist/types-ts4.0/plugins/quick-insert/assets/panel.d.ts +2 -0
- package/dist/types-ts4.0/plugins/quick-insert/assets/quote.d.ts +2 -0
- package/dist/types-ts4.0/plugins/quick-insert/assets/status.d.ts +2 -0
- package/dist/types-ts4.0/plugins/quick-insert/commands.d.ts +5 -0
- package/dist/types-ts4.0/plugins/quick-insert/index.d.ts +13 -0
- package/dist/types-ts4.0/plugins/quick-insert/plugin-key.d.ts +3 -0
- package/dist/types-ts4.0/plugins/quick-insert/search.d.ts +5 -0
- package/dist/types-ts4.0/plugins/quick-insert/types.d.ts +24 -0
- package/dist/types-ts4.0/plugins/quick-insert/ui/ModalElementBrowser/index.d.ts +8 -0
- package/dist/types-ts4.0/plugins/rank.d.ts +6 -0
- package/dist/types-ts4.0/plugins/rule/commands.d.ts +4 -0
- package/dist/types-ts4.0/plugins/rule/index.d.ts +9 -0
- package/dist/types-ts4.0/plugins/rule/pm-plugins/input-rule.d.ts +8 -0
- package/dist/types-ts4.0/plugins/rule/pm-plugins/keymap.d.ts +4 -0
- package/dist/types-ts4.0/plugins/rule/styles.d.ts +2 -0
- package/dist/types-ts4.0/plugins/save-on-enter/index.d.ts +10 -0
- package/dist/types-ts4.0/plugins/scroll-into-view/index.d.ts +14 -0
- package/dist/types-ts4.0/plugins/selection/actions.d.ts +17 -0
- package/dist/types-ts4.0/plugins/selection/commands.d.ts +8 -0
- package/dist/types-ts4.0/plugins/selection/gap-cursor/actions.d.ts +25 -0
- package/dist/types-ts4.0/plugins/selection/gap-cursor/direction.d.ts +10 -0
- package/dist/types-ts4.0/plugins/selection/gap-cursor/selection.d.ts +1 -0
- package/dist/types-ts4.0/plugins/selection/gap-cursor/styles.d.ts +2 -0
- package/dist/types-ts4.0/plugins/selection/gap-cursor/utils/is-ignored.d.ts +1 -0
- package/dist/types-ts4.0/plugins/selection/gap-cursor/utils/is-valid-target-node.d.ts +1 -0
- package/dist/types-ts4.0/plugins/selection/gap-cursor/utils/place-gap-cursor.d.ts +2 -0
- package/dist/types-ts4.0/plugins/selection/gap-cursor/utils.d.ts +7 -0
- package/dist/types-ts4.0/plugins/selection/gap-cursor-selection.d.ts +2 -0
- package/dist/types-ts4.0/plugins/selection/index.d.ts +6 -0
- package/dist/types-ts4.0/plugins/selection/plugin-factory.d.ts +2 -0
- package/dist/types-ts4.0/plugins/selection/pm-plugins/events/create-selection-between.d.ts +4 -0
- package/dist/types-ts4.0/plugins/selection/pm-plugins/events/keydown.d.ts +2 -0
- package/dist/types-ts4.0/plugins/selection/pm-plugins/gap-cursor-keymap.d.ts +2 -0
- package/dist/types-ts4.0/plugins/selection/pm-plugins/gap-cursor-main.d.ts +3 -0
- package/dist/types-ts4.0/plugins/selection/pm-plugins/gap-cursor-plugin-key.d.ts +2 -0
- package/dist/types-ts4.0/plugins/selection/pm-plugins/keymap.d.ts +3 -0
- package/dist/types-ts4.0/plugins/selection/pm-plugins/selection-main.d.ts +7 -0
- package/dist/types-ts4.0/plugins/selection/reducer.d.ts +3 -0
- package/dist/types-ts4.0/plugins/selection/types.d.ts +14 -0
- package/dist/types-ts4.0/plugins/selection/utils.d.ts +64 -0
- package/dist/types-ts4.0/plugins/status/actions.d.ts +14 -0
- package/dist/types-ts4.0/plugins/status/analytics.d.ts +4 -0
- package/dist/types-ts4.0/plugins/status/index.d.ts +6 -0
- package/dist/types-ts4.0/plugins/status/keymap.d.ts +3 -0
- package/dist/types-ts4.0/plugins/status/nodeviews/messages.d.ts +17 -0
- package/dist/types-ts4.0/plugins/status/nodeviews/status.d.ts +24 -0
- package/dist/types-ts4.0/plugins/status/plugin-key.d.ts +4 -0
- package/dist/types-ts4.0/plugins/status/plugin.d.ts +7 -0
- package/dist/types-ts4.0/plugins/status/styles.d.ts +1 -0
- package/dist/types-ts4.0/plugins/status/types.d.ts +14 -0
- package/dist/types-ts4.0/plugins/status/ui/statusPicker.d.ts +55 -0
- package/dist/types-ts4.0/plugins/status/utils.d.ts +5 -0
- package/dist/types-ts4.0/plugins/submit-editor/index.d.ts +11 -0
- package/dist/types-ts4.0/plugins/tasks-and-decisions/commands.d.ts +16 -0
- package/dist/types-ts4.0/plugins/tasks-and-decisions/index.d.ts +6 -0
- package/dist/types-ts4.0/plugins/tasks-and-decisions/nodeviews/decisionItem.d.ts +5 -0
- package/dist/types-ts4.0/plugins/tasks-and-decisions/nodeviews/taskItem.d.ts +9 -0
- package/dist/types-ts4.0/plugins/tasks-and-decisions/pm-plugins/commands.d.ts +15 -0
- package/dist/types-ts4.0/plugins/tasks-and-decisions/pm-plugins/helpers.d.ts +54 -0
- package/dist/types-ts4.0/plugins/tasks-and-decisions/pm-plugins/input-rules.d.ts +5 -0
- package/dist/types-ts4.0/plugins/tasks-and-decisions/pm-plugins/keymaps.d.ts +9 -0
- package/dist/types-ts4.0/plugins/tasks-and-decisions/pm-plugins/main.d.ts +5 -0
- package/dist/types-ts4.0/plugins/tasks-and-decisions/pm-plugins/plugin-key.d.ts +2 -0
- package/dist/types-ts4.0/plugins/tasks-and-decisions/styles.d.ts +1 -0
- package/dist/types-ts4.0/plugins/tasks-and-decisions/types.d.ts +23 -0
- package/dist/types-ts4.0/plugins/tasks-and-decisions/ui/Decision/index.d.ts +14 -0
- package/dist/types-ts4.0/plugins/tasks-and-decisions/ui/Task/index.d.ts +26 -0
- package/dist/types-ts4.0/plugins/tasks-and-decisions/ui/Task/task-item-with-providers.d.ts +27 -0
- package/dist/types-ts4.0/plugins/tasks-and-decisions/ui/ToolbarDecision/index.d.ts +20 -0
- package/dist/types-ts4.0/plugins/tasks-and-decisions/ui/ToolbarTask/index.d.ts +20 -0
- package/dist/types-ts4.0/plugins/tasks-and-decisions/utils.d.ts +4 -0
- package/dist/types-ts4.0/plugins/text-color/commands/change-color.d.ts +2 -0
- package/dist/types-ts4.0/plugins/text-color/commands/remove-color.d.ts +2 -0
- package/dist/types-ts4.0/plugins/text-color/commands/toggle-color.d.ts +2 -0
- package/dist/types-ts4.0/plugins/text-color/index.d.ts +13 -0
- package/dist/types-ts4.0/plugins/text-color/pm-plugins/main.d.ts +25 -0
- package/dist/types-ts4.0/plugins/text-color/ui/ToolbarTextColor/icon.d.ts +2 -0
- package/dist/types-ts4.0/plugins/text-color/ui/ToolbarTextColor/index.d.ts +51 -0
- package/dist/types-ts4.0/plugins/text-color/ui/ToolbarTextColor/styles.d.ts +3 -0
- package/dist/types-ts4.0/plugins/text-color/utils/color.d.ts +6 -0
- package/dist/types-ts4.0/plugins/text-color/utils/disabled.d.ts +2 -0
- package/dist/types-ts4.0/plugins/text-formatting/commands/clear-formatting.d.ts +6 -0
- package/dist/types-ts4.0/plugins/text-formatting/commands/text-formatting.d.ts +35 -0
- package/dist/types-ts4.0/plugins/text-formatting/commands/transform-to-code.d.ts +2 -0
- package/dist/types-ts4.0/plugins/text-formatting/index.d.ts +6 -0
- package/dist/types-ts4.0/plugins/text-formatting/pm-plugins/clear-formatting-keymap.d.ts +3 -0
- package/dist/types-ts4.0/plugins/text-formatting/pm-plugins/clear-formatting.d.ts +8 -0
- package/dist/types-ts4.0/plugins/text-formatting/pm-plugins/cursor.d.ts +3 -0
- package/dist/types-ts4.0/plugins/text-formatting/pm-plugins/input-rule.d.ts +23 -0
- package/dist/types-ts4.0/plugins/text-formatting/pm-plugins/keymap.d.ts +3 -0
- package/dist/types-ts4.0/plugins/text-formatting/pm-plugins/main.d.ts +7 -0
- package/dist/types-ts4.0/plugins/text-formatting/pm-plugins/plugin-key.d.ts +3 -0
- package/dist/types-ts4.0/plugins/text-formatting/pm-plugins/smart-input-rule.d.ts +3 -0
- package/dist/types-ts4.0/plugins/text-formatting/styles.d.ts +2 -0
- package/dist/types-ts4.0/plugins/text-formatting/types.d.ts +30 -0
- package/dist/types-ts4.0/plugins/text-formatting/ui/Toolbar/constants.d.ts +6 -0
- package/dist/types-ts4.0/plugins/text-formatting/ui/Toolbar/dropdown-menu.d.ts +15 -0
- package/dist/types-ts4.0/plugins/text-formatting/ui/Toolbar/hooks/clear-formatting-icon.d.ts +2 -0
- package/dist/types-ts4.0/plugins/text-formatting/ui/Toolbar/hooks/formatting-icons.d.ts +9 -0
- package/dist/types-ts4.0/plugins/text-formatting/ui/Toolbar/hooks/menu-state.d.ts +5 -0
- package/dist/types-ts4.0/plugins/text-formatting/ui/Toolbar/hooks/responsive-toolbar-buttons.d.ts +20 -0
- package/dist/types-ts4.0/plugins/text-formatting/ui/Toolbar/index.d.ts +24 -0
- package/dist/types-ts4.0/plugins/text-formatting/ui/Toolbar/more-button.d.ts +13 -0
- package/dist/types-ts4.0/plugins/text-formatting/ui/Toolbar/single-toolbar-buttons.d.ts +9 -0
- package/dist/types-ts4.0/plugins/text-formatting/ui/Toolbar/toolbar-messages.d.ts +87 -0
- package/dist/types-ts4.0/plugins/text-formatting/ui/Toolbar/types.d.ts +32 -0
- package/dist/types-ts4.0/plugins/text-formatting/utils.d.ts +15 -0
- package/dist/types-ts4.0/plugins/toolbar-lists-indentation/index.d.ts +13 -0
- package/dist/types-ts4.0/plugins/toolbar-lists-indentation/pm-plugins/indentation-buttons.d.ts +14 -0
- package/dist/types-ts4.0/plugins/toolbar-lists-indentation/types.d.ts +20 -0
- package/dist/types-ts4.0/plugins/toolbar-lists-indentation/ui/Toolbar.d.ts +4 -0
- package/dist/types-ts4.0/plugins/toolbar-lists-indentation/ui/ToolbarDropdown.d.ts +9 -0
- package/dist/types-ts4.0/plugins/toolbar-lists-indentation/ui/index.d.ts +22 -0
- package/dist/types-ts4.0/plugins/toolbar-lists-indentation/ui/onItemActivated.d.ts +8 -0
- package/dist/types-ts4.0/plugins/type-ahead/api.d.ts +62 -0
- package/dist/types-ts4.0/plugins/type-ahead/commands/insert-type-ahead-item.d.ts +12 -0
- package/dist/types-ts4.0/plugins/type-ahead/commands/update-list-items.d.ts +3 -0
- package/dist/types-ts4.0/plugins/type-ahead/commands/update-query.d.ts +2 -0
- package/dist/types-ts4.0/plugins/type-ahead/commands/update-selected-index.d.ts +2 -0
- package/dist/types-ts4.0/plugins/type-ahead/constants.d.ts +8 -0
- package/dist/types-ts4.0/plugins/type-ahead/index.d.ts +22 -0
- package/dist/types-ts4.0/plugins/type-ahead/insert-utils.d.ts +18 -0
- package/dist/types-ts4.0/plugins/type-ahead/messages.d.ts +72 -0
- package/dist/types-ts4.0/plugins/type-ahead/pm-plugins/actions.d.ts +9 -0
- package/dist/types-ts4.0/plugins/type-ahead/pm-plugins/decorations.d.ts +15 -0
- package/dist/types-ts4.0/plugins/type-ahead/pm-plugins/input-rules.d.ts +6 -0
- package/dist/types-ts4.0/plugins/type-ahead/pm-plugins/insert-item-plugin.d.ts +2 -0
- package/dist/types-ts4.0/plugins/type-ahead/pm-plugins/key.d.ts +3 -0
- package/dist/types-ts4.0/plugins/type-ahead/pm-plugins/main.d.ts +15 -0
- package/dist/types-ts4.0/plugins/type-ahead/pm-plugins/reducer.d.ts +10 -0
- package/dist/types-ts4.0/plugins/type-ahead/pm-plugins/utils.d.ts +4 -0
- package/dist/types-ts4.0/plugins/type-ahead/stats-modifier.d.ts +20 -0
- package/dist/types-ts4.0/plugins/type-ahead/transforms/close-type-ahead.d.ts +2 -0
- package/dist/types-ts4.0/plugins/type-ahead/transforms/open-typeahead-at-cursor.d.ts +10 -0
- package/dist/types-ts4.0/plugins/type-ahead/transforms/set-selection-before-query.d.ts +2 -0
- package/dist/types-ts4.0/plugins/type-ahead/types.d.ts +65 -0
- package/dist/types-ts4.0/plugins/type-ahead/ui/AssistiveText.d.ts +33 -0
- package/dist/types-ts4.0/plugins/type-ahead/ui/InputQuery.d.ts +27 -0
- package/dist/types-ts4.0/plugins/type-ahead/ui/TypeAheadList.d.ts +25 -0
- package/dist/types-ts4.0/plugins/type-ahead/ui/TypeAheadListItem.d.ts +18 -0
- package/dist/types-ts4.0/plugins/type-ahead/ui/TypeAheadPopup.d.ts +29 -0
- package/dist/types-ts4.0/plugins/type-ahead/ui/WrapperTypeAhead.d.ts +21 -0
- package/dist/types-ts4.0/plugins/type-ahead/ui/hooks/use-item-insert.d.ts +7 -0
- package/dist/types-ts4.0/plugins/type-ahead/ui/hooks/use-load-items.d.ts +3 -0
- package/dist/types-ts4.0/plugins/type-ahead/ui/hooks/use-on-force-select.d.ts +11 -0
- package/dist/types-ts4.0/plugins/type-ahead/utils.d.ts +29 -0
- package/dist/types-ts4.0/plugins/undo-redo/attach-input-meta.d.ts +5 -0
- package/dist/types-ts4.0/plugins/undo-redo/commands.d.ts +4 -0
- package/dist/types-ts4.0/plugins/undo-redo/enums.d.ts +4 -0
- package/dist/types-ts4.0/plugins/undo-redo/index.d.ts +3 -0
- package/dist/types-ts4.0/plugins/undo-redo/messages.d.ts +12 -0
- package/dist/types-ts4.0/plugins/undo-redo/pm-plugins/keymaps.d.ts +2 -0
- package/dist/types-ts4.0/plugins/undo-redo/pm-plugins/main.d.ts +2 -0
- package/dist/types-ts4.0/plugins/undo-redo/pm-plugins/plugin-key.d.ts +2 -0
- package/dist/types-ts4.0/plugins/undo-redo/ui/ToolbarUndoRedo/index.d.ts +21 -0
- package/dist/types-ts4.0/plugins/undo-redo/undo-redo-input-source.d.ts +3 -0
- package/dist/types-ts4.0/plugins/unsupported-content/index.d.ts +5 -0
- package/dist/types-ts4.0/plugins/unsupported-content/styles.d.ts +5 -0
- package/dist/types-ts4.0/plugins/unsupported-content/unsupported-inline-node-view.d.ts +11 -0
- package/dist/types-ts4.0/plugins/view-update-subscription/index.d.ts +19 -0
- package/dist/types-ts4.0/plugins/view-update-subscription/subscribe/toolbarAndPickerUpdates.d.ts +12 -0
- package/dist/types-ts4.0/plugins/view-update-subscription/subscribe/type-ahead-updates.d.ts +9 -0
- package/dist/types-ts4.0/plugins/width/index.d.ts +10 -0
- package/dist/types-ts4.0/selection-api/api.d.ts +11 -0
- package/dist/types-ts4.0/stories/examples.d.ts +9 -0
- package/dist/types-ts4.0/test-utils.d.ts +39 -0
- package/dist/types-ts4.0/types/allowed-block-types.d.ts +1 -0
- package/dist/types-ts4.0/types/browser.d.ts +1 -0
- package/dist/types-ts4.0/types/command.d.ts +5 -0
- package/dist/types-ts4.0/types/dom-at-pos.d.ts +4 -0
- package/dist/types-ts4.0/types/editor-appearance-component.d.ts +48 -0
- package/dist/types-ts4.0/types/editor-appearance.d.ts +1 -0
- package/dist/types-ts4.0/types/editor-config.d.ts +24 -0
- package/dist/types-ts4.0/types/editor-instance.d.ts +19 -0
- package/dist/types-ts4.0/types/editor-onchange.d.ts +4 -0
- package/dist/types-ts4.0/types/editor-plugin.d.ts +1 -0
- package/dist/types-ts4.0/types/editor-props.d.ts +259 -0
- package/dist/types-ts4.0/types/editor-react-context.d.ts +1 -0
- package/dist/types-ts4.0/types/empty-state-handler.d.ts +1 -0
- package/dist/types-ts4.0/types/extension-config.d.ts +5 -0
- package/dist/types-ts4.0/types/feature-flags.d.ts +1 -0
- package/dist/types-ts4.0/types/get-editor-props.d.ts +12 -0
- package/dist/types-ts4.0/types/i18n.d.ts +5 -0
- package/dist/types-ts4.0/types/index.d.ts +18 -0
- package/dist/types-ts4.0/types/performance-tracking.d.ts +323 -0
- package/dist/types-ts4.0/types/pm-config.d.ts +1 -0
- package/dist/types-ts4.0/types/pm-plugin-list.d.ts +9 -0
- package/dist/types-ts4.0/types/pm-plugin.d.ts +1 -0
- package/dist/types-ts4.0/types/ui-components.d.ts +1 -0
- package/dist/types-ts4.0/ui/Addon/ClickAreaBlock/index.d.ts +10 -0
- package/dist/types-ts4.0/ui/Addon/ClickAreaInline/index.d.ts +8 -0
- package/dist/types-ts4.0/ui/Addon/ClickAreaMobile/index.d.ts +31 -0
- package/dist/types-ts4.0/ui/Addon/Dropdown/index.d.ts +14 -0
- package/dist/types-ts4.0/ui/Addon/Dropdown/styles.d.ts +1 -0
- package/dist/types-ts4.0/ui/Addon/DropdownItem/index.d.ts +5 -0
- package/dist/types-ts4.0/ui/Addon/DropdownItem/styles.d.ts +1 -0
- package/dist/types-ts4.0/ui/Addon/click-area-helper.d.ts +13 -0
- package/dist/types-ts4.0/ui/Addon/index.d.ts +6 -0
- package/dist/types-ts4.0/ui/Addon/types.d.ts +17 -0
- package/dist/types-ts4.0/ui/Alignment/AlignmentButton/index.d.ts +17 -0
- package/dist/types-ts4.0/ui/Alignment/index.d.ts +12 -0
- package/dist/types-ts4.0/ui/Alignment/messages.d.ts +17 -0
- package/dist/types-ts4.0/ui/Alignment/styles.d.ts +1 -0
- package/dist/types-ts4.0/ui/Appearance/Chromeless.d.ts +11 -0
- package/dist/types-ts4.0/ui/Appearance/Comment/Comment.d.ts +7 -0
- package/dist/types-ts4.0/ui/Appearance/Comment/Toolbar.d.ts +10 -0
- package/dist/types-ts4.0/ui/Appearance/Comment/index.d.ts +1 -0
- package/dist/types-ts4.0/ui/Appearance/FullPage/FullPage.d.ts +25 -0
- package/dist/types-ts4.0/ui/Appearance/FullPage/FullPageContentArea.d.ts +34 -0
- package/dist/types-ts4.0/ui/Appearance/FullPage/FullPageToolbar.d.ts +36 -0
- package/dist/types-ts4.0/ui/Appearance/FullPage/MainToolbar.d.ts +7 -0
- package/dist/types-ts4.0/ui/Appearance/FullPage/StyledComponents.d.ts +378 -0
- package/dist/types-ts4.0/ui/Appearance/FullPage/index.d.ts +1 -0
- package/dist/types-ts4.0/ui/Appearance/FullPage/messages.d.ts +18 -0
- package/dist/types-ts4.0/ui/Appearance/Mobile.d.ts +3 -0
- package/dist/types-ts4.0/ui/AppearanceComponents/Mobile.d.ts +12 -0
- package/dist/types-ts4.0/ui/ChromeCollapsed/index.d.ts +11 -0
- package/dist/types-ts4.0/ui/ChromeCollapsed/messages.d.ts +7 -0
- package/dist/types-ts4.0/ui/ChromeCollapsed/styles.d.ts +1 -0
- package/dist/types-ts4.0/ui/CollapsedEditor/index.d.ts +20 -0
- package/dist/types-ts4.0/ui/ColorPalette/Palettes/cellBackgroundColorPalette.d.ts +2 -0
- package/dist/types-ts4.0/ui/ColorPalette/Palettes/common.d.ts +1 -0
- package/dist/types-ts4.0/ui/ColorPalette/Palettes/index.d.ts +2 -0
- package/dist/types-ts4.0/ui/ColorPalette/Palettes/paletteMessages.d.ts +2 -0
- package/dist/types-ts4.0/ui/ColorPalette/Palettes/panelBackgroundPalette.d.ts +1 -0
- package/dist/types-ts4.0/ui/ColorPalette/Palettes/statusColorPalette.d.ts +1 -0
- package/dist/types-ts4.0/ui/ColorPalette/Palettes/textColorPalette.d.ts +1 -0
- package/dist/types-ts4.0/ui/ColorPalette/Palettes/type.d.ts +1 -0
- package/dist/types-ts4.0/ui/ColorPalette/index.d.ts +3 -0
- package/dist/types-ts4.0/ui/ColorPickerButton/index.d.ts +24 -0
- package/dist/types-ts4.0/ui/ConfigPanel/ConfigPanel.d.ts +22 -0
- package/dist/types-ts4.0/ui/ConfigPanel/ConfigPanelFieldsLoader.d.ts +20 -0
- package/dist/types-ts4.0/ui/ConfigPanel/ConfigPanelLoader.d.ts +5 -0
- package/dist/types-ts4.0/ui/ConfigPanel/ErrorMessage/ErrorImage.d.ts +4 -0
- package/dist/types-ts4.0/ui/ConfigPanel/ErrorMessage/index.d.ts +10 -0
- package/dist/types-ts4.0/ui/ConfigPanel/FieldMessages.d.ts +12 -0
- package/dist/types-ts4.0/ui/ConfigPanel/Fields/Boolean.d.ts +8 -0
- package/dist/types-ts4.0/ui/ConfigPanel/Fields/CheckboxGroup.d.ts +8 -0
- package/dist/types-ts4.0/ui/ConfigPanel/Fields/ColorPicker.d.ts +21 -0
- package/dist/types-ts4.0/ui/ConfigPanel/Fields/CustomSelect.d.ts +24 -0
- package/dist/types-ts4.0/ui/ConfigPanel/Fields/Date.d.ts +20 -0
- package/dist/types-ts4.0/ui/ConfigPanel/Fields/DateRange.d.ts +20 -0
- package/dist/types-ts4.0/ui/ConfigPanel/Fields/Enum.d.ts +10 -0
- package/dist/types-ts4.0/ui/ConfigPanel/Fields/Expand.d.ts +18 -0
- package/dist/types-ts4.0/ui/ConfigPanel/Fields/Fieldset.d.ts +20 -0
- package/dist/types-ts4.0/ui/ConfigPanel/Fields/Number.d.ts +10 -0
- package/dist/types-ts4.0/ui/ConfigPanel/Fields/RadioGroup.d.ts +8 -0
- package/dist/types-ts4.0/ui/ConfigPanel/Fields/Select.d.ts +11 -0
- package/dist/types-ts4.0/ui/ConfigPanel/Fields/SelectItem.d.ts +5 -0
- package/dist/types-ts4.0/ui/ConfigPanel/Fields/String.d.ts +10 -0
- package/dist/types-ts4.0/ui/ConfigPanel/Fields/TabGroup.d.ts +15 -0
- package/dist/types-ts4.0/ui/ConfigPanel/Fields/UnhandledType.d.ts +6 -0
- package/dist/types-ts4.0/ui/ConfigPanel/Fields/UserSelect.d.ts +10 -0
- package/dist/types-ts4.0/ui/ConfigPanel/Fields/common/RequiredIndicator.d.ts +1 -0
- package/dist/types-ts4.0/ui/ConfigPanel/FormContent.d.ts +4 -0
- package/dist/types-ts4.0/ui/ConfigPanel/FormErrorBoundary.d.ts +16 -0
- package/dist/types-ts4.0/ui/ConfigPanel/Header.d.ts +21 -0
- package/dist/types-ts4.0/ui/ConfigPanel/LoadingState.d.ts +4 -0
- package/dist/types-ts4.0/ui/ConfigPanel/NestedForms/RemovableField.d.ts +19 -0
- package/dist/types-ts4.0/ui/ConfigPanel/index.d.ts +2 -0
- package/dist/types-ts4.0/ui/ConfigPanel/messages.d.ts +87 -0
- package/dist/types-ts4.0/ui/ConfigPanel/transformers.d.ts +9 -0
- package/dist/types-ts4.0/ui/ConfigPanel/types.d.ts +40 -0
- package/dist/types-ts4.0/ui/ConfigPanel/utils.d.ts +13 -0
- package/dist/types-ts4.0/ui/ContentStyles/index.d.ts +12 -0
- package/dist/types-ts4.0/ui/ContextPanel/context.d.ts +24 -0
- package/dist/types-ts4.0/ui/ContextPanel/index.d.ts +41 -0
- package/dist/types-ts4.0/ui/Dropdown/index.d.ts +7 -0
- package/dist/types-ts4.0/ui/DropdownMenu/index.d.ts +3 -0
- package/dist/types-ts4.0/ui/DropdownMenu/types.d.ts +1 -0
- package/dist/types-ts4.0/ui/EditorContext/index.d.ts +18 -0
- package/dist/types-ts4.0/ui/ElementBrowser/ElementBrowser.d.ts +36 -0
- package/dist/types-ts4.0/ui/ElementBrowser/InsertMenu.d.ts +4 -0
- package/dist/types-ts4.0/ui/ElementBrowser/ModalElementBrowser.d.ts +17 -0
- package/dist/types-ts4.0/ui/ElementBrowser/categories.d.ts +5 -0
- package/dist/types-ts4.0/ui/ElementBrowser/components/CategoryList.d.ts +10 -0
- package/dist/types-ts4.0/ui/ElementBrowser/components/ElementBrowserLoader.d.ts +5 -0
- package/dist/types-ts4.0/ui/ElementBrowser/components/ElementList/ElementList.d.ts +29 -0
- package/dist/types-ts4.0/ui/ElementBrowser/components/ElementList/EmptyState.d.ts +6 -0
- package/dist/types-ts4.0/ui/ElementBrowser/components/ElementList/NotFoundIllustration.d.ts +2 -0
- package/dist/types-ts4.0/ui/ElementBrowser/components/ElementList/cellSizeAndPositionGetter.d.ts +7 -0
- package/dist/types-ts4.0/ui/ElementBrowser/components/ElementList/utils.d.ts +12 -0
- package/dist/types-ts4.0/ui/ElementBrowser/components/ElementSearch.d.ts +17 -0
- package/dist/types-ts4.0/ui/ElementBrowser/components/StatelessElementBrowser.d.ts +22 -0
- package/dist/types-ts4.0/ui/ElementBrowser/constants.d.ts +20 -0
- package/dist/types-ts4.0/ui/ElementBrowser/hooks/use-container-width.d.ts +33 -0
- package/dist/types-ts4.0/ui/ElementBrowser/hooks/use-focus.d.ts +35 -0
- package/dist/types-ts4.0/ui/ElementBrowser/hooks/use-select-and-focus-on-arrow-navigation.d.ts +68 -0
- package/dist/types-ts4.0/ui/ElementBrowser/index.d.ts +2 -0
- package/dist/types-ts4.0/ui/ElementBrowser/messages.d.ts +7 -0
- package/dist/types-ts4.0/ui/ElementBrowser/types.d.ts +31 -0
- package/dist/types-ts4.0/ui/ErrorBoundary/index.d.ts +25 -0
- package/dist/types-ts4.0/ui/FloatingToolbar/index.d.ts +26 -0
- package/dist/types-ts4.0/ui/FloatingToolbar/styles.d.ts +1 -0
- package/dist/types-ts4.0/ui/FloatingToolbar/utils.d.ts +13 -0
- package/dist/types-ts4.0/ui/LinkSearch/LinkSearchList.d.ts +20 -0
- package/dist/types-ts4.0/ui/LinkSearch/LinkSearchListItem.d.ts +22 -0
- package/dist/types-ts4.0/ui/LinkSearch/ToolbarComponents.d.ts +7 -0
- package/dist/types-ts4.0/ui/LinkSearch/index.d.ts +59 -0
- package/dist/types-ts4.0/ui/LinkSearch/listItemAlts.d.ts +2 -0
- package/dist/types-ts4.0/ui/LinkSearch/transformTimeStamp.d.ts +10 -0
- package/dist/types-ts4.0/ui/LinkSearch/types.d.ts +49 -0
- package/dist/types-ts4.0/ui/LinkSearch/withActivityProvider.d.ts +66 -0
- package/dist/types-ts4.0/ui/MediaAndEmbedsToolbar/index.d.ts +7 -0
- package/dist/types-ts4.0/ui/MediaAndEmbedsToolbar/toolbar-messages.d.ts +12 -0
- package/dist/types-ts4.0/ui/PanelTextInput/index.d.ts +46 -0
- package/dist/types-ts4.0/ui/PanelTextInput/styles.d.ts +2 -0
- package/dist/types-ts4.0/ui/PluginSlot/index.d.ts +37 -0
- package/dist/types-ts4.0/ui/PortalProvider/PortalProviderThemesProvider.d.ts +6 -0
- package/dist/types-ts4.0/ui/PortalProvider/index.d.ts +51 -0
- package/dist/types-ts4.0/ui/Resizer/index.d.ts +41 -0
- package/dist/types-ts4.0/ui/Resizer/styled.d.ts +2 -0
- package/dist/types-ts4.0/ui/Resizer/types.d.ts +26 -0
- package/dist/types-ts4.0/ui/Resizer/utils.d.ts +6 -0
- package/dist/types-ts4.0/ui/Toolbar/Toolbar.d.ts +3 -0
- package/dist/types-ts4.0/ui/Toolbar/ToolbarInner.d.ts +8 -0
- package/dist/types-ts4.0/ui/Toolbar/ToolbarWithSizeDetector.d.ts +4 -0
- package/dist/types-ts4.0/ui/Toolbar/hooks.d.ts +4 -0
- package/dist/types-ts4.0/ui/Toolbar/index.d.ts +4 -0
- package/dist/types-ts4.0/ui/Toolbar/toolbar-size.d.ts +4 -0
- package/dist/types-ts4.0/ui/Toolbar/toolbar-types.d.ts +34 -0
- package/dist/types-ts4.0/ui/Toolbar/types.d.ts +2 -0
- package/dist/types-ts4.0/ui/ToolbarArrowKeyNavigationProvider/index.d.ts +30 -0
- package/dist/types-ts4.0/ui/ToolbarButton/index.d.ts +4 -0
- package/dist/types-ts4.0/ui/ToolbarFeedback/index.d.ts +45 -0
- package/dist/types-ts4.0/ui/ToolbarFeedback/styles.d.ts +6 -0
- package/dist/types-ts4.0/ui/ToolbarHelp/index.d.ts +11 -0
- package/dist/types-ts4.0/ui/ToolbarHelp/messages.d.ts +7 -0
- package/dist/types-ts4.0/ui/WidthEmitter/index.d.ts +7 -0
- package/dist/types-ts4.0/ui/WithEditorActions/index.d.ts +18 -0
- package/dist/types-ts4.0/ui/WithFlash/index.d.ts +11 -0
- package/dist/types-ts4.0/ui/WithHelpTrigger/index.d.ts +11 -0
- package/dist/types-ts4.0/ui/WithPluginState/index.d.ts +3 -0
- package/dist/types-ts4.0/ui/styles.d.ts +12 -0
- package/dist/types-ts4.0/ui/with-outer-listeners.d.ts +2 -0
- package/dist/types-ts4.0/utils/action.d.ts +10 -0
- package/dist/types-ts4.0/utils/announcer/announcer.d.ts +22 -0
- package/dist/types-ts4.0/utils/array.d.ts +2 -0
- package/dist/types-ts4.0/utils/cell-selection.d.ts +3 -0
- package/dist/types-ts4.0/utils/clipboard.d.ts +4 -0
- package/dist/types-ts4.0/utils/commands.d.ts +75 -0
- package/dist/types-ts4.0/utils/count-nodes.d.ts +8 -0
- package/dist/types-ts4.0/utils/deprecation-warnings.d.ts +8 -0
- package/dist/types-ts4.0/utils/document-logger.d.ts +6 -0
- package/dist/types-ts4.0/utils/document.d.ts +57 -0
- package/dist/types-ts4.0/utils/dom.d.ts +2 -0
- package/dist/types-ts4.0/utils/drag-drop.d.ts +1 -0
- package/dist/types-ts4.0/utils/extensions.d.ts +6 -0
- package/dist/types-ts4.0/utils/filter/privacy-filter.d.ts +9 -0
- package/dist/types-ts4.0/utils/get-editor-plugins.d.ts +10 -0
- package/dist/types-ts4.0/utils/getAttrsWithChangesRecorder.d.ts +23 -0
- package/dist/types-ts4.0/utils/index.d.ts +85 -0
- package/dist/types-ts4.0/utils/input-rules.d.ts +29 -0
- package/dist/types-ts4.0/utils/insert.d.ts +24 -0
- package/dist/types-ts4.0/utils/is-full-page.d.ts +2 -0
- package/dist/types-ts4.0/utils/is-text-input.d.ts +2 -0
- package/dist/types-ts4.0/utils/keymap.d.ts +11 -0
- package/dist/types-ts4.0/utils/linking-utils.d.ts +14 -0
- package/dist/types-ts4.0/utils/list-commands.d.ts +7 -0
- package/dist/types-ts4.0/utils/lists.d.ts +2 -0
- package/dist/types-ts4.0/utils/mark.d.ts +15 -0
- package/dist/types-ts4.0/utils/node-width.d.ts +7 -0
- package/dist/types-ts4.0/utils/nodes-by-localIds.d.ts +8 -0
- package/dist/types-ts4.0/utils/nodes.d.ts +1 -0
- package/dist/types-ts4.0/utils/performance/components/RenderTracking.d.ts +13 -0
- package/dist/types-ts4.0/utils/performance/get-performance-timing.d.ts +8 -0
- package/dist/types-ts4.0/utils/performance/instrumented-plugin.d.ts +17 -0
- package/dist/types-ts4.0/utils/performance/measure-enum.d.ts +8 -0
- package/dist/types-ts4.0/utils/performance/outlier.d.ts +1 -0
- package/dist/types-ts4.0/utils/performance/percentile.d.ts +1 -0
- package/dist/types-ts4.0/utils/performance/plugin-performance-observer.d.ts +22 -0
- package/dist/types-ts4.0/utils/performance/plugin-performance-report.d.ts +48 -0
- package/dist/types-ts4.0/utils/performance/safer-transactions.d.ts +9 -0
- package/dist/types-ts4.0/utils/performance/simple-measure-to-entries.d.ts +28 -0
- package/dist/types-ts4.0/utils/performance/track-transactions.d.ts +30 -0
- package/dist/types-ts4.0/utils/pick-by.d.ts +2 -0
- package/dist/types-ts4.0/utils/plugin-state-factory.d.ts +2 -0
- package/dist/types-ts4.0/utils/prepare-extension-provider.d.ts +5 -0
- package/dist/types-ts4.0/utils/prepare-quick-insert-provider.d.ts +16 -0
- package/dist/types-ts4.0/utils/prosemirror/autojoin.d.ts +13 -0
- package/dist/types-ts4.0/utils/prosemirror/position.d.ts +8 -0
- package/dist/types-ts4.0/utils/react-hooks/use-abortable-effect/index.d.ts +16 -0
- package/dist/types-ts4.0/utils/react-hooks/use-state-from-promise/index.d.ts +18 -0
- package/dist/types-ts4.0/utils/rich-media-utils.d.ts +8 -0
- package/dist/types-ts4.0/utils/selection.d.ts +11 -0
- package/dist/types-ts4.0/utils/sendLogs.d.ts +1 -0
- package/dist/types-ts4.0/utils/slice.d.ts +2 -0
- package/dist/types-ts4.0/utils/step.d.ts +1 -0
- package/dist/types-ts4.0/utils/table.d.ts +2 -0
- package/dist/types-ts4.0/version-wrapper.d.ts +3 -0
- package/package.json +99 -98
- package/tsconfig.json +2 -1
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { INPUT_METHOD } from '../../../analytics/types';
|
|
2
|
+
import { EditorView } from 'prosemirror-view';
|
|
3
|
+
import { EditorActionsOptions as EditorActions, FeatureFlags } from '@atlaskit/editor-common/types';
|
|
4
|
+
import { Command } from '../../../../types/command';
|
|
5
|
+
import { EmojiProvider } from '@atlaskit/emoji';
|
|
6
|
+
import { BlockType } from '../../../block-type/types';
|
|
7
|
+
import { MacroProvider } from '@atlaskit/editor-common/provider-factory';
|
|
8
|
+
import { MenuItem } from '../../../../ui/DropdownMenu/types';
|
|
9
|
+
import { Node as PMNode } from 'prosemirror-model';
|
|
10
|
+
import { DispatchAnalyticsEvent } from '../../../analytics';
|
|
11
|
+
import { BlockMenuItem } from './create-items';
|
|
12
|
+
import type { InsertNodeAPI } from '../../../../insert-api/types';
|
|
13
|
+
export interface Props {
|
|
14
|
+
buttons: number;
|
|
15
|
+
isReducedSpacing: boolean;
|
|
16
|
+
isDisabled?: boolean;
|
|
17
|
+
isTypeAheadAllowed?: boolean;
|
|
18
|
+
editorView: EditorView;
|
|
19
|
+
editorActions?: EditorActions;
|
|
20
|
+
tableSupported?: boolean;
|
|
21
|
+
actionSupported?: boolean;
|
|
22
|
+
decisionSupported?: boolean;
|
|
23
|
+
mentionsSupported?: boolean;
|
|
24
|
+
mediaUploadsEnabled?: boolean;
|
|
25
|
+
mediaSupported?: boolean;
|
|
26
|
+
imageUploadSupported?: boolean;
|
|
27
|
+
imageUploadEnabled?: boolean;
|
|
28
|
+
handleImageUpload?: (event?: Event) => Command;
|
|
29
|
+
dateEnabled?: boolean;
|
|
30
|
+
horizontalRuleEnabled?: boolean;
|
|
31
|
+
placeholderTextEnabled?: boolean;
|
|
32
|
+
layoutSectionEnabled?: boolean;
|
|
33
|
+
expandEnabled?: boolean;
|
|
34
|
+
emojiProvider?: Promise<EmojiProvider>;
|
|
35
|
+
availableWrapperBlockTypes?: BlockType[];
|
|
36
|
+
linkSupported?: boolean;
|
|
37
|
+
linkDisabled?: boolean;
|
|
38
|
+
emojiDisabled?: boolean;
|
|
39
|
+
nativeStatusSupported?: boolean;
|
|
40
|
+
popupsMountPoint?: HTMLElement;
|
|
41
|
+
popupsBoundariesElement?: HTMLElement;
|
|
42
|
+
popupsScrollableElement?: HTMLElement;
|
|
43
|
+
macroProvider?: MacroProvider | null;
|
|
44
|
+
insertMenuItems?: MenuItem[];
|
|
45
|
+
showElementBrowserLink?: boolean;
|
|
46
|
+
showSeparator?: boolean;
|
|
47
|
+
replacePlusMenuWithElementBrowser?: boolean;
|
|
48
|
+
onShowMediaPicker?: () => void;
|
|
49
|
+
onInsertBlockType?: (name: string) => Command;
|
|
50
|
+
onInsertMacroFromMacroBrowser?: (macroProvider: MacroProvider, node?: PMNode, isEditing?: boolean) => (view: EditorView) => void;
|
|
51
|
+
dispatchAnalyticsEvent?: DispatchAnalyticsEvent;
|
|
52
|
+
insertNodeAPI?: InsertNodeAPI | undefined | null;
|
|
53
|
+
featureFlags: FeatureFlags;
|
|
54
|
+
}
|
|
55
|
+
export interface State {
|
|
56
|
+
isPlusMenuOpen: boolean;
|
|
57
|
+
emojiPickerOpen: boolean;
|
|
58
|
+
buttons: BlockMenuItem[];
|
|
59
|
+
dropdownItems: BlockMenuItem[];
|
|
60
|
+
isOpenedByKeyboard: boolean;
|
|
61
|
+
}
|
|
62
|
+
export declare type TOOLBAR_MENU_TYPE = INPUT_METHOD.TOOLBAR | INPUT_METHOD.INSERT_MENU;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Node } from 'prosemirror-model';
|
|
2
|
+
import { Command } from '../../types/command';
|
|
3
|
+
import { EditorState, Transaction } from 'prosemirror-state';
|
|
4
|
+
import { Change, PresetLayout } from './types';
|
|
5
|
+
import { TOOLBAR_MENU_TYPE } from '../insert-block/ui/ToolbarInsertBlock/types';
|
|
6
|
+
export declare const ONE_COL_LAYOUTS: PresetLayout[];
|
|
7
|
+
export declare const TWO_COL_LAYOUTS: PresetLayout[];
|
|
8
|
+
export declare const THREE_COL_LAYOUTS: PresetLayout[];
|
|
9
|
+
/**
|
|
10
|
+
* Finds layout preset based on the width attrs of all the layoutColumn nodes
|
|
11
|
+
* inside the layoutSection node
|
|
12
|
+
*/
|
|
13
|
+
export declare const getPresetLayout: (section: Node) => PresetLayout | undefined;
|
|
14
|
+
export declare const getSelectedLayout: (maybeLayoutSection: Node | undefined, current: PresetLayout) => PresetLayout;
|
|
15
|
+
export declare const createDefaultLayoutSection: (state: EditorState) => Node<any>;
|
|
16
|
+
export declare const insertLayoutColumns: Command;
|
|
17
|
+
export declare const insertLayoutColumnsWithAnalytics: (inputMethod: TOOLBAR_MENU_TYPE) => Command;
|
|
18
|
+
export declare function forceSectionToPresetLayout(state: EditorState, node: Node, pos: number, presetLayout: PresetLayout): Transaction;
|
|
19
|
+
export declare const setPresetLayout: (layout: PresetLayout) => Command;
|
|
20
|
+
export declare const fixColumnSizes: (changedTr: Transaction, state: EditorState) => Change | undefined;
|
|
21
|
+
export declare const fixColumnStructure: (state: EditorState) => Transaction<any> | undefined;
|
|
22
|
+
export declare const deleteActiveLayoutNode: Command;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { NextEditorPlugin } from '@atlaskit/editor-common/types';
|
|
2
|
+
import { pluginKey } from './pm-plugins/plugin-key';
|
|
3
|
+
import { LayoutPluginOptions } from './types';
|
|
4
|
+
export { pluginKey };
|
|
5
|
+
declare const layoutPlugin: NextEditorPlugin<'layout', {
|
|
6
|
+
pluginConfiguration: LayoutPluginOptions | undefined;
|
|
7
|
+
}>;
|
|
8
|
+
export default layoutPlugin;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
2
|
+
import { LayoutPluginOptions } from '../types';
|
|
3
|
+
export declare const DEFAULT_LAYOUT = "two_equal";
|
|
4
|
+
declare const _default: (options: LayoutPluginOptions) => SafePlugin<any, any>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Slice } from 'prosemirror-model';
|
|
2
|
+
import { PresetLayout } from '../types';
|
|
3
|
+
export declare type LayoutState = {
|
|
4
|
+
pos: number | null;
|
|
5
|
+
allowBreakout: boolean;
|
|
6
|
+
addSidebarLayouts: boolean;
|
|
7
|
+
selectedLayout: PresetLayout | undefined;
|
|
8
|
+
allowSingleColumnLayout: boolean;
|
|
9
|
+
};
|
|
10
|
+
export declare type Change = {
|
|
11
|
+
from: number;
|
|
12
|
+
to: number;
|
|
13
|
+
slice: Slice;
|
|
14
|
+
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ThemeProps } from '@atlaskit/theme/types';
|
|
2
|
+
import { LAYOUT_SECTION_MARGIN, LAYOUT_COLUMN_PADDING } from '@atlaskit/editor-common/styles';
|
|
3
|
+
export { LAYOUT_COLUMN_PADDING, LAYOUT_SECTION_MARGIN };
|
|
4
|
+
export declare const layoutStyles: (props: ThemeProps) => import("@emotion/react").SerializedStyles;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export declare const toolbarMessages: {
|
|
2
|
+
singleColumn: {
|
|
3
|
+
id: string;
|
|
4
|
+
defaultMessage: string;
|
|
5
|
+
description: string;
|
|
6
|
+
};
|
|
7
|
+
twoColumns: {
|
|
8
|
+
id: string;
|
|
9
|
+
defaultMessage: string;
|
|
10
|
+
description: string;
|
|
11
|
+
};
|
|
12
|
+
threeColumns: {
|
|
13
|
+
id: string;
|
|
14
|
+
defaultMessage: string;
|
|
15
|
+
description: string;
|
|
16
|
+
};
|
|
17
|
+
rightSidebar: {
|
|
18
|
+
id: string;
|
|
19
|
+
defaultMessage: string;
|
|
20
|
+
description: string;
|
|
21
|
+
};
|
|
22
|
+
leftSidebar: {
|
|
23
|
+
id: string;
|
|
24
|
+
defaultMessage: string;
|
|
25
|
+
description: string;
|
|
26
|
+
};
|
|
27
|
+
threeColumnsWithSidebars: {
|
|
28
|
+
id: string;
|
|
29
|
+
defaultMessage: string;
|
|
30
|
+
description: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { IntlShape } from 'react-intl-next';
|
|
2
|
+
import { EditorState } from 'prosemirror-state';
|
|
3
|
+
import { FloatingToolbarConfig } from '../../plugins/floating-toolbar/types';
|
|
4
|
+
export declare const layoutToolbarTitle = "Layout floating controls";
|
|
5
|
+
export declare const buildToolbar: (state: EditorState, intl: IntlShape, pos: number, _allowBreakout: boolean, addSidebarLayouts: boolean, allowSingleColumnLayout: boolean) => FloatingToolbarConfig | undefined;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Slice } from 'prosemirror-model';
|
|
2
|
+
import { LongPressSelectionPluginOptions } from '../selection/types';
|
|
3
|
+
export interface LayoutPluginOptions extends LongPressSelectionPluginOptions {
|
|
4
|
+
allowBreakout?: boolean;
|
|
5
|
+
UNSAFE_addSidebarLayouts?: boolean;
|
|
6
|
+
UNSAFE_allowSingleColumnLayout?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare type PresetLayout = 'single' | 'two_equal' | 'three_equal' | 'two_right_sidebar' | 'two_left_sidebar' | 'three_with_sidebars';
|
|
9
|
+
export interface Change {
|
|
10
|
+
from: number;
|
|
11
|
+
to: number;
|
|
12
|
+
slice: Slice;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { unwrapContentFromLayout, removeLayoutFromFirstChild, removeLayoutFromLastChild, transformSliceToRemoveOpenLayoutNodes, } from '@atlaskit/editor-common/transforms';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { WalkNode } from '../../../utils/commands';
|
|
2
|
+
import { LIST_TEXT_SCENARIOS } from '../../analytics';
|
|
3
|
+
import { ResolvedPos } from 'prosemirror-model';
|
|
4
|
+
import { Transaction } from 'prosemirror-state';
|
|
5
|
+
declare type ScenariosAllowed = LIST_TEXT_SCENARIOS.JOIN_PARAGRAPH_WITH_LIST | LIST_TEXT_SCENARIOS.JOIN_SIBLINGS | LIST_TEXT_SCENARIOS.JOIN_DESCENDANT_TO_PARENT | LIST_TEXT_SCENARIOS.JOIN_PARENT_SIBLING_TO_PARENT_CHILD | LIST_TEXT_SCENARIOS.JOIN_LIST_ITEM_WITH_PARAGRAPH;
|
|
6
|
+
declare type DeleteAction = (props: {
|
|
7
|
+
tr: Transaction;
|
|
8
|
+
$next: ResolvedPos;
|
|
9
|
+
$head: ResolvedPos;
|
|
10
|
+
}) => boolean;
|
|
11
|
+
declare type ScenarioAction = false | [
|
|
12
|
+
ScenariosAllowed,
|
|
13
|
+
DeleteAction
|
|
14
|
+
];
|
|
15
|
+
export declare const calcJoinListScenario: (walkNode: WalkNode, $head: ResolvedPos) => ScenarioAction;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { joinParagrapWithList } from './join-paragraph-with-list';
|
|
2
|
+
export { joinSiblingListItems } from './join-sibling-list-items';
|
|
3
|
+
export { joinNestedListWithParentListItem } from './join-nested-list-with-parent-list-item';
|
|
4
|
+
export { joinListItemWithParentNestedList } from './join-list-item-with-parent-nested-list';
|
|
5
|
+
export { joinListItemWithParagraph } from './join-list-item-with-paragraph';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ResolvedPos } from 'prosemirror-model';
|
|
2
|
+
import { Transaction } from 'prosemirror-state';
|
|
3
|
+
declare type DeleteAction = (props: {
|
|
4
|
+
tr: Transaction;
|
|
5
|
+
$next: ResolvedPos;
|
|
6
|
+
$head: ResolvedPos;
|
|
7
|
+
}) => boolean;
|
|
8
|
+
export declare const joinListItemWithParagraph: DeleteAction;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ResolvedPos } from 'prosemirror-model';
|
|
2
|
+
import { Transaction } from 'prosemirror-state';
|
|
3
|
+
declare type DeleteAction = (props: {
|
|
4
|
+
tr: Transaction;
|
|
5
|
+
$next: ResolvedPos;
|
|
6
|
+
$head: ResolvedPos;
|
|
7
|
+
}) => boolean;
|
|
8
|
+
export declare const joinListItemWithParentNestedList: DeleteAction;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ResolvedPos } from 'prosemirror-model';
|
|
2
|
+
import { Transaction } from 'prosemirror-state';
|
|
3
|
+
declare type DeleteAction = (props: {
|
|
4
|
+
tr: Transaction;
|
|
5
|
+
$next: ResolvedPos;
|
|
6
|
+
$head: ResolvedPos;
|
|
7
|
+
}) => boolean;
|
|
8
|
+
export declare const joinNestedListWithParentListItem: DeleteAction;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ResolvedPos } from 'prosemirror-model';
|
|
2
|
+
import { Transaction } from 'prosemirror-state';
|
|
3
|
+
declare type DeleteAction = (props: {
|
|
4
|
+
tr: Transaction;
|
|
5
|
+
$next: ResolvedPos;
|
|
6
|
+
$head: ResolvedPos;
|
|
7
|
+
}) => boolean;
|
|
8
|
+
export declare const joinParagrapWithList: DeleteAction;
|
|
9
|
+
export {};
|
package/dist/types-ts4.0/plugins/list/actions/join-list-items-scenarios/join-sibling-list-items.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ResolvedPos } from 'prosemirror-model';
|
|
2
|
+
import { Transaction } from 'prosemirror-state';
|
|
3
|
+
declare type DeleteAction = (props: {
|
|
4
|
+
tr: Transaction;
|
|
5
|
+
$next: ResolvedPos;
|
|
6
|
+
$head: ResolvedPos;
|
|
7
|
+
}) => boolean;
|
|
8
|
+
export declare const joinSiblingListItems: DeleteAction;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { NodeType } from 'prosemirror-model';
|
|
2
|
+
import { Transaction } from 'prosemirror-state';
|
|
3
|
+
/**
|
|
4
|
+
* Wraps the selection in a list with the given type. If this results in
|
|
5
|
+
* two adjacent lists of the same type, those will be joined together.
|
|
6
|
+
*/
|
|
7
|
+
export declare function wrapInListAndJoin(nodeType: NodeType, tr: Transaction): void;
|
|
8
|
+
/**
|
|
9
|
+
* Wraps the selection in a list with the given type and attributes.
|
|
10
|
+
*
|
|
11
|
+
* Adapted from https://github.com/ProseMirror/prosemirror-schema-list/blob/master/src/schema-list.js#L64-L89
|
|
12
|
+
*/
|
|
13
|
+
export declare function wrapInList(listType: NodeType, attrs?: {
|
|
14
|
+
[key: string]: any;
|
|
15
|
+
}): (tr: Transaction) => boolean;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ResolvedPos, NodeType } from 'prosemirror-model';
|
|
2
|
+
import { EditorView } from 'prosemirror-view';
|
|
3
|
+
import { Command } from '../../../types';
|
|
4
|
+
import { INPUT_METHOD } from '../../analytics';
|
|
5
|
+
import { outdentList } from './outdent-list';
|
|
6
|
+
import { indentList } from './indent-list';
|
|
7
|
+
import type { FeatureFlags } from '@atlaskit/editor-common/types';
|
|
8
|
+
export { outdentList, indentList };
|
|
9
|
+
export declare type InputMethod = INPUT_METHOD.KEYBOARD | INPUT_METHOD.TOOLBAR;
|
|
10
|
+
export declare const enterKeyCommand: (featureFlags: FeatureFlags) => Command;
|
|
11
|
+
export declare const backspaceKeyCommand: (featureFlags: FeatureFlags) => Command;
|
|
12
|
+
export declare const deleteKeyCommand: Command;
|
|
13
|
+
export declare const rootListDepth: (pos: ResolvedPos, nodes: Record<string, NodeType>) => number | undefined;
|
|
14
|
+
export declare function toggleList(inputMethod: InputMethod, listType: 'bulletList' | 'orderedList'): Command;
|
|
15
|
+
export declare function toggleBulletList(view: EditorView, inputMethod?: InputMethod): boolean;
|
|
16
|
+
export declare function toggleOrderedList(view: EditorView, inputMethod?: InputMethod): boolean;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { WalkNode } from '../../../utils/commands';
|
|
2
|
+
import { LIST_TEXT_SCENARIOS } from '../../analytics';
|
|
3
|
+
import { Command } from '../../../types';
|
|
4
|
+
import { ResolvedPos } from 'prosemirror-model';
|
|
5
|
+
import { Transaction } from 'prosemirror-state';
|
|
6
|
+
declare type ScenariosAllowed = LIST_TEXT_SCENARIOS.JOIN_SIBLINGS | LIST_TEXT_SCENARIOS.JOIN_DESCENDANT_TO_PARENT | LIST_TEXT_SCENARIOS.JOIN_TO_SIBLING_DESCENDANT;
|
|
7
|
+
export declare const calcJoinListScenario: (walkNode: WalkNode, $head: ResolvedPos, tr: Transaction) => [
|
|
8
|
+
ScenariosAllowed,
|
|
9
|
+
ResolvedPos | null
|
|
10
|
+
] | false;
|
|
11
|
+
export declare const listBackspace: Command;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Command } from '../../../types';
|
|
2
|
+
import { INPUT_METHOD } from '../../analytics';
|
|
3
|
+
import type { FeatureFlags } from '@atlaskit/editor-common/types';
|
|
4
|
+
declare type InputMethod = INPUT_METHOD.KEYBOARD | INPUT_METHOD.TOOLBAR;
|
|
5
|
+
export declare function outdentList(inputMethod: InputMethod | undefined, featureFlags: FeatureFlags): Command;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { NextEditorPlugin } from '../../types';
|
|
2
|
+
import type { ListPluginOptions } from './types';
|
|
3
|
+
import type featureFlagsPlugin from '@atlaskit/editor-plugin-feature-flags';
|
|
4
|
+
declare const listPlugin: NextEditorPlugin<'list', {
|
|
5
|
+
pluginConfiguration: ListPluginOptions | undefined;
|
|
6
|
+
dependencies: [
|
|
7
|
+
typeof featureFlagsPlugin
|
|
8
|
+
];
|
|
9
|
+
}>;
|
|
10
|
+
export default listPlugin;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export declare const messages: {
|
|
2
|
+
unorderedList: {
|
|
3
|
+
id: string;
|
|
4
|
+
defaultMessage: string;
|
|
5
|
+
description: string;
|
|
6
|
+
};
|
|
7
|
+
unorderedListDescription: {
|
|
8
|
+
id: string;
|
|
9
|
+
defaultMessage: string;
|
|
10
|
+
description: string;
|
|
11
|
+
};
|
|
12
|
+
orderedList: {
|
|
13
|
+
id: string;
|
|
14
|
+
defaultMessage: string;
|
|
15
|
+
description: string;
|
|
16
|
+
};
|
|
17
|
+
orderedListDescription: {
|
|
18
|
+
id: string;
|
|
19
|
+
defaultMessage: string;
|
|
20
|
+
description: string;
|
|
21
|
+
};
|
|
22
|
+
lists: {
|
|
23
|
+
id: string;
|
|
24
|
+
defaultMessage: string;
|
|
25
|
+
description: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { NodeType } from 'prosemirror-model';
|
|
2
|
+
import { FeatureFlags } from '../../../../types/feature-flags';
|
|
3
|
+
declare type Props = {
|
|
4
|
+
listType: NodeType;
|
|
5
|
+
expression: RegExp;
|
|
6
|
+
featureFlags: FeatureFlags;
|
|
7
|
+
};
|
|
8
|
+
export declare function createRuleForListType({ listType, expression, featureFlags, }: Props): import("@atlaskit/prosemirror-input-rules").InputRuleWrapper;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Schema } from 'prosemirror-model';
|
|
2
|
+
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
3
|
+
import { FeatureFlags } from '../../../../types/feature-flags';
|
|
4
|
+
export default function inputRulePlugin(schema: Schema, featureFlags: FeatureFlags): SafePlugin | undefined;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { Node as PMNode, NodeType } from 'prosemirror-model';
|
|
2
|
+
import { InputRuleWrapper } from '@atlaskit/prosemirror-input-rules';
|
|
3
|
+
import { JOIN_SCENARIOS_WHEN_TYPING_TO_INSERT_LIST } from '@atlaskit/editor-common/analytics';
|
|
4
|
+
import type { FeatureFlags } from '@atlaskit/editor-common/types';
|
|
5
|
+
declare type WrappingRuleProps = {
|
|
6
|
+
featureFlags: FeatureFlags;
|
|
7
|
+
match: RegExp;
|
|
8
|
+
nodeType: NodeType;
|
|
9
|
+
getAttrs?: Record<string, any> | ((matchResult: RegExpExecArray) => Record<string, any>);
|
|
10
|
+
joinPredicate?: (matchResult: RegExpExecArray, node: PMNode, joinScenario: JOIN_SCENARIOS_WHEN_TYPING_TO_INSERT_LIST) => boolean;
|
|
11
|
+
};
|
|
12
|
+
export declare const createWrappingJoinRule: ({ match, nodeType, getAttrs, joinPredicate, featureFlags, }: WrappingRuleProps) => InputRuleWrapper;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
2
|
+
import { PluginKey, EditorState } from 'prosemirror-state';
|
|
3
|
+
import { DecorationSet } from 'prosemirror-view';
|
|
4
|
+
import { Node } from 'prosemirror-model';
|
|
5
|
+
import { Dispatch } from '../../../event-dispatcher';
|
|
6
|
+
import { ListState } from '../types';
|
|
7
|
+
import type { FeatureFlags } from '@atlaskit/editor-common/types';
|
|
8
|
+
export declare const pluginKey: PluginKey<ListState, any>;
|
|
9
|
+
export declare const getDecorations: (doc: Node, state: EditorState, featureFlags: FeatureFlags) => DecorationSet;
|
|
10
|
+
export declare const createPlugin: (eventDispatch: Dispatch, featureFlags: FeatureFlags) => SafePlugin;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const listsStyles: import("@emotion/react").SerializedStyles;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Fragment, Slice, Schema, Mark } from 'prosemirror-model';
|
|
2
|
+
import { Transaction, Selection } from 'prosemirror-state';
|
|
3
|
+
export declare function liftFollowingList(from: number, to: number, rootListDepth: number, tr: Transaction): Transaction;
|
|
4
|
+
export declare function liftNodeSelectionList(selection: Selection, tr: Transaction): Transaction<any>;
|
|
5
|
+
export declare function liftTextSelectionList(selection: Selection, tr: Transaction): Transaction;
|
|
6
|
+
/**
|
|
7
|
+
* Walks the slice, creating paragraphs that were previously separated by hardbreaks.
|
|
8
|
+
* Returns the original paragraph node (as a fragment), or a fragment containing multiple nodes.
|
|
9
|
+
*/
|
|
10
|
+
export declare const splitIntoParagraphs: ({ fragment, blockMarks, schema, }: {
|
|
11
|
+
fragment: Fragment;
|
|
12
|
+
blockMarks?: Mark<any>[] | undefined;
|
|
13
|
+
schema: Schema;
|
|
14
|
+
}) => Fragment;
|
|
15
|
+
export declare const splitParagraphs: (slice: Slice, schema: Schema) => Slice;
|
|
16
|
+
export declare const upgradeTextToLists: (slice: Slice, schema: Schema) => Slice;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DecorationSet } from 'prosemirror-view';
|
|
2
|
+
import type { FeatureFlags } from '@atlaskit/editor-common/types';
|
|
3
|
+
export declare const MAX_NESTED_LIST_INDENTATION = 6;
|
|
4
|
+
export interface ListState {
|
|
5
|
+
bulletListActive: boolean;
|
|
6
|
+
bulletListDisabled: boolean;
|
|
7
|
+
orderedListActive: boolean;
|
|
8
|
+
orderedListDisabled: boolean;
|
|
9
|
+
decorationSet: DecorationSet;
|
|
10
|
+
}
|
|
11
|
+
export declare type ListPluginOptions = Pick<FeatureFlags, 'restartNumberedLists' | 'restartNumberedListsToolbar' | 'listNumberContinuity'>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { EditorState, Transaction } from 'prosemirror-state';
|
|
2
|
+
import { RestartListsAttributesForListOutdented, CommonListAnalyticsAttributes } from '@atlaskit/editor-common/analytics';
|
|
3
|
+
export declare const getCommonListAnalyticsAttributes: (state: EditorState) => CommonListAnalyticsAttributes;
|
|
4
|
+
export declare const countListItemsInSelection: (state: EditorState) => number;
|
|
5
|
+
export declare const RESTART_LISTS_ANALYTICS_KEY = "restartListsAnalytics";
|
|
6
|
+
export declare const getRestartListsAttributes: (tr: Transaction) => RestartListsAttributesForListOutdented;
|
|
7
|
+
export declare const storeRestartListsAttributes: (tr: Transaction, attributes: RestartListsAttributesForListOutdented) => void;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ResolvedPos, Node as PMNode } from 'prosemirror-model';
|
|
2
|
+
export declare function findFirstParentListNode($pos: ResolvedPos): {
|
|
3
|
+
pos: number;
|
|
4
|
+
node: PMNode;
|
|
5
|
+
} | null;
|
|
6
|
+
export declare function findFirstParentListItemNode($pos: ResolvedPos): {
|
|
7
|
+
pos: number;
|
|
8
|
+
node: PMNode;
|
|
9
|
+
} | null;
|
|
10
|
+
export declare function findRootParentListNode($pos: ResolvedPos): ResolvedPos | null;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ResolvedPos } from 'prosemirror-model';
|
|
2
|
+
import { Transaction } from 'prosemirror-state';
|
|
3
|
+
export declare const getListLiftTarget: (resPos: ResolvedPos) => number;
|
|
4
|
+
export declare const hasValidListIndentationLevel: ({ tr, maxIndentation, }: {
|
|
5
|
+
tr: Transaction;
|
|
6
|
+
maxIndentation: number;
|
|
7
|
+
}) => boolean;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Node as PMNode, NodeType } from 'prosemirror-model';
|
|
2
|
+
import { Transaction } from 'prosemirror-state';
|
|
3
|
+
export declare function isListNode(node: PMNode | null | undefined): boolean;
|
|
4
|
+
export declare function isParagraphNode(node: PMNode | null | undefined): boolean;
|
|
5
|
+
export declare function isListItemNode(node: PMNode | null | undefined): boolean;
|
|
6
|
+
export declare function isBulletList(node: PMNode | null | undefined): boolean;
|
|
7
|
+
export declare enum JoinDirection {
|
|
8
|
+
LEFT = 1,
|
|
9
|
+
RIGHT = -1
|
|
10
|
+
}
|
|
11
|
+
declare type JoinSiblingListsProps = {
|
|
12
|
+
tr: Transaction;
|
|
13
|
+
direction?: JoinDirection;
|
|
14
|
+
forceListType?: NodeType;
|
|
15
|
+
};
|
|
16
|
+
declare type ListsJoined = {
|
|
17
|
+
orderedList: number;
|
|
18
|
+
bulletList: number;
|
|
19
|
+
};
|
|
20
|
+
export declare const joinSiblingLists: ({ tr, direction, forceListType, }: JoinSiblingListsProps) => ListsJoined;
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ResolvedPos } from 'prosemirror-model';
|
|
2
|
+
import { Step } from 'prosemirror-transform';
|
|
3
|
+
declare type Params = {
|
|
4
|
+
insertPosition: number;
|
|
5
|
+
$target: ResolvedPos;
|
|
6
|
+
};
|
|
7
|
+
export declare const moveTargetIntoList: ({ insertPosition, $target, }: Params) => Step;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Node as PMNode, ResolvedPos, NodeType, NodeRange } from 'prosemirror-model';
|
|
2
|
+
import { EditorState, Selection, Transaction } from 'prosemirror-state';
|
|
3
|
+
export declare const isPosInsideParagraph: ($pos: ResolvedPos) => boolean;
|
|
4
|
+
export declare const isPosInsideList: ($pos: ResolvedPos) => boolean;
|
|
5
|
+
export declare const isWrappingPossible: (nodeType: NodeType, selection: Selection) => boolean;
|
|
6
|
+
export declare const isInsideListItem: (state: EditorState) => boolean;
|
|
7
|
+
export declare const isInsideTableCell: (state: EditorState<any>) => boolean;
|
|
8
|
+
export declare const canJoinToPreviousListItem: (state: EditorState) => boolean;
|
|
9
|
+
export declare const selectionContainsList: (tr: Transaction) => PMNode | null;
|
|
10
|
+
export declare const numberNestedLists: (resolvedPos: ResolvedPos) => number;
|
|
11
|
+
export declare const getListItemAttributes: ($pos: ResolvedPos) => {
|
|
12
|
+
indentLevel: number;
|
|
13
|
+
itemIndex: number;
|
|
14
|
+
};
|
|
15
|
+
declare type NormalizeListItemsSelection = (props: {
|
|
16
|
+
selection: Selection;
|
|
17
|
+
doc: PMNode;
|
|
18
|
+
}) => Selection;
|
|
19
|
+
export declare const normalizeListItemsSelection: NormalizeListItemsSelection;
|
|
20
|
+
declare type CreateNodeRange = (props: {
|
|
21
|
+
selection: Selection;
|
|
22
|
+
}) => NodeRange | null;
|
|
23
|
+
export declare const createListNodeRange: CreateNodeRange;
|
|
24
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { EditorView } from 'prosemirror-view';
|
|
2
|
+
import { EditorState } from 'prosemirror-state';
|
|
3
|
+
import { Node as PmNode } from 'prosemirror-model';
|
|
4
|
+
import { Providers, MacroProvider, MacroAttributes } from '@atlaskit/editor-common/provider-factory';
|
|
5
|
+
export declare const insertMacroFromMacroBrowser: (macroProvider: MacroProvider, macroNode?: PmNode<any> | undefined, isEditing?: boolean | undefined) => (view: EditorView) => Promise<boolean>;
|
|
6
|
+
export declare const resolveMacro: (macro?: MacroAttributes | undefined, state?: EditorState<any> | undefined, optionalAttrs?: object | undefined) => PmNode | null;
|
|
7
|
+
export declare const runMacroAutoConvert: (state: EditorState, text: String) => PmNode | null;
|
|
8
|
+
export declare const setMacroProvider: (provider: Providers['macroProvider']) => (view: EditorView) => Promise<boolean>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
2
|
+
import { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
3
|
+
import { Dispatch } from '../../event-dispatcher';
|
|
4
|
+
import { NextEditorPlugin } from '@atlaskit/editor-common/types';
|
|
5
|
+
import { MacroState } from './types';
|
|
6
|
+
export type { MacroProvider, MacroAttributes, ExtensionType, } from '@atlaskit/editor-common/provider-factory';
|
|
7
|
+
export { insertMacroFromMacroBrowser, resolveMacro, runMacroAutoConvert, setMacroProvider, } from './actions';
|
|
8
|
+
export type { MacroState };
|
|
9
|
+
export declare const createPlugin: (dispatch: Dispatch, providerFactory: ProviderFactory) => SafePlugin<any, any>;
|
|
10
|
+
declare const macroPlugin: NextEditorPlugin<'macro'>;
|
|
11
|
+
export default macroPlugin;
|