@atlaskit/editor-core 188.6.0 → 188.7.3
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 +17 -0
- package/dist/cjs/plugins/status/ui/statusPicker.js +7 -2
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/plugins/status/ui/statusPicker.js +6 -2
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/plugins/status/ui/statusPicker.js +7 -2
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/plugins/status/ui/statusPicker.d.ts +1 -0
- package/dist/types-ts4.5/actions/index.d.ts +49 -0
- package/dist/types-ts4.5/commands/index.d.ts +1 -0
- package/dist/types-ts4.5/composable-editor/editor-internal.d.ts +34 -0
- package/dist/types-ts4.5/composable-editor/editor.d.ts +9 -0
- package/dist/types-ts4.5/composable-editor/hooks/useEditorMeasuresConstructor.d.ts +17 -0
- package/dist/types-ts4.5/composable-editor/hooks/useMeasureEditorMountTime.d.ts +13 -0
- package/dist/types-ts4.5/composable-editor/hooks/useProviderFactory.d.ts +14 -0
- package/dist/types-ts4.5/composable-editor/utils/editorMeasureTTICallback.d.ts +5 -0
- package/dist/types-ts4.5/composable-editor/utils/getBaseFontSize.d.ts +6 -0
- package/dist/types-ts4.5/composable-editor/utils/getProvidersFromEditorProps.d.ts +9 -0
- package/dist/types-ts4.5/composable-editor/utils/handleProviders.d.ts +12 -0
- package/dist/types-ts4.5/composable-editor/utils/sendDurationAnalytics.d.ts +15 -0
- package/dist/types-ts4.5/composable-editor/utils/trackEditorActions.d.ts +29 -0
- package/dist/types-ts4.5/composable-editor.d.ts +1 -0
- package/dist/types-ts4.5/create-editor/ErrorBoundary.d.ts +44 -0
- package/dist/types-ts4.5/create-editor/ReactEditorView.d.ts +8 -0
- package/dist/types-ts4.5/create-editor/ReactEditorViewContext.d.ts +2 -0
- package/dist/types-ts4.5/create-editor/ReactEditorViewInternal.d.ts +119 -0
- package/dist/types-ts4.5/create-editor/ReactEditorViewNext.d.ts +8 -0
- package/dist/types-ts4.5/create-editor/WithEditorView.d.ts +6 -0
- package/dist/types-ts4.5/create-editor/consts.d.ts +3 -0
- package/dist/types-ts4.5/create-editor/create-editor.d.ts +18 -0
- package/dist/types-ts4.5/create-editor/create-plugins-list.d.ts +16 -0
- package/dist/types-ts4.5/create-editor/create-preset.d.ts +3 -0
- package/dist/types-ts4.5/create-editor/create-schema.d.ts +6 -0
- package/dist/types-ts4.5/create-editor/feature-flags-from-props.d.ts +7 -0
- package/dist/types-ts4.5/create-editor/get-plugins.d.ts +44 -0
- package/dist/types-ts4.5/create-editor/get-ui-component.d.ts +3 -0
- package/dist/types-ts4.5/create-editor/index.d.ts +3 -0
- package/dist/types-ts4.5/create-editor/messages.d.ts +7 -0
- package/dist/types-ts4.5/create-editor/preset-utils.d.ts +2 -0
- package/dist/types-ts4.5/create-editor/sort-by-order.d.ts +14 -0
- package/dist/types-ts4.5/editor.d.ts +10 -0
- package/dist/types-ts4.5/element-browser.d.ts +1 -0
- package/dist/types-ts4.5/event-dispatcher/index.d.ts +2 -0
- package/dist/types-ts4.5/extensibility.d.ts +15 -0
- package/dist/types-ts4.5/extensions.d.ts +1 -0
- package/dist/types-ts4.5/i18n/cs.d.ts +140 -0
- package/dist/types-ts4.5/i18n/da.d.ts +139 -0
- package/dist/types-ts4.5/i18n/de.d.ts +139 -0
- package/dist/types-ts4.5/i18n/en.d.ts +141 -0
- package/dist/types-ts4.5/i18n/en_GB.d.ts +141 -0
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +141 -0
- package/dist/types-ts4.5/i18n/es.d.ts +139 -0
- package/dist/types-ts4.5/i18n/et.d.ts +168 -0
- package/dist/types-ts4.5/i18n/fi.d.ts +139 -0
- package/dist/types-ts4.5/i18n/fr.d.ts +139 -0
- package/dist/types-ts4.5/i18n/hu.d.ts +139 -0
- package/dist/types-ts4.5/i18n/index.d.ts +35 -0
- package/dist/types-ts4.5/i18n/is.d.ts +153 -0
- package/dist/types-ts4.5/i18n/it.d.ts +139 -0
- package/dist/types-ts4.5/i18n/ja.d.ts +139 -0
- package/dist/types-ts4.5/i18n/ko.d.ts +139 -0
- package/dist/types-ts4.5/i18n/languages.d.ts +38 -0
- package/dist/types-ts4.5/i18n/nb.d.ts +139 -0
- package/dist/types-ts4.5/i18n/nl.d.ts +139 -0
- package/dist/types-ts4.5/i18n/pl.d.ts +139 -0
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +139 -0
- package/dist/types-ts4.5/i18n/pt_PT.d.ts +180 -0
- package/dist/types-ts4.5/i18n/ro.d.ts +153 -0
- package/dist/types-ts4.5/i18n/ru.d.ts +139 -0
- package/dist/types-ts4.5/i18n/sk.d.ts +168 -0
- package/dist/types-ts4.5/i18n/sv.d.ts +139 -0
- package/dist/types-ts4.5/i18n/th.d.ts +139 -0
- package/dist/types-ts4.5/i18n/tr.d.ts +139 -0
- package/dist/types-ts4.5/i18n/uk.d.ts +139 -0
- package/dist/types-ts4.5/i18n/vi.d.ts +139 -0
- package/dist/types-ts4.5/i18n/zh.d.ts +139 -0
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +139 -0
- package/dist/types-ts4.5/index.d.ts +46 -0
- package/dist/types-ts4.5/keymaps/index.d.ts +2 -0
- package/dist/types-ts4.5/labs/CollapsedEditor/index.d.ts +26 -0
- package/dist/types-ts4.5/labs/EditorWithActions/index.d.ts +26 -0
- package/dist/types-ts4.5/labs/next/presets/default.d.ts +1160 -0
- package/dist/types-ts4.5/labs/next/presets/types.d.ts +6 -0
- package/dist/types-ts4.5/labs/next/presets/universal.d.ts +21 -0
- package/dist/types-ts4.5/labs/next/presets/useUniversalPreset.d.ts +7 -0
- package/dist/types-ts4.5/labs-next.d.ts +1 -0
- package/dist/types-ts4.5/messages.d.ts +8 -0
- package/dist/types-ts4.5/nodeviews/context-adapter.d.ts +2 -0
- package/dist/types-ts4.5/nodeviews/getInlineNodeViewProducer.styles.d.ts +1 -0
- package/dist/types-ts4.5/nodeviews/getPerformanceOptions.d.ts +2 -0
- package/dist/types-ts4.5/nodeviews/index.d.ts +1 -0
- package/dist/types-ts4.5/nodeviews/types.d.ts +12 -0
- package/dist/types-ts4.5/plugins/alignment/commands/index.d.ts +4 -0
- package/dist/types-ts4.5/plugins/alignment/index.d.ts +5 -0
- package/dist/types-ts4.5/plugins/alignment/pm-plugins/keymap.d.ts +2 -0
- package/dist/types-ts4.5/plugins/alignment/pm-plugins/main.d.ts +8 -0
- package/dist/types-ts4.5/plugins/alignment/pm-plugins/types.d.ts +5 -0
- package/dist/types-ts4.5/plugins/alignment/ui/ToolbarAlignment/icon-map.d.ts +6 -0
- package/dist/types-ts4.5/plugins/alignment/ui/ToolbarAlignment/index.d.ts +33 -0
- package/dist/types-ts4.5/plugins/alignment/ui/ToolbarAlignment/messages.d.ts +22 -0
- package/dist/types-ts4.5/plugins/alignment/ui/ToolbarAlignment/styles.d.ts +3 -0
- package/dist/types-ts4.5/plugins/alignment/utils/index.d.ts +3 -0
- package/dist/types-ts4.5/plugins/analytics/consts.d.ts +3 -0
- package/dist/types-ts4.5/plugins/analytics/index.d.ts +8 -0
- package/dist/types-ts4.5/plugins/analytics/plugin-key.d.ts +8 -0
- package/dist/types-ts4.5/plugins/analytics/plugin.d.ts +29 -0
- package/dist/types-ts4.5/plugins/analytics/types/dispatch-analytics-event.d.ts +1 -0
- package/dist/types-ts4.5/plugins/analytics/types/enums.d.ts +1 -0
- package/dist/types-ts4.5/plugins/analytics/types/events.d.ts +1 -0
- package/dist/types-ts4.5/plugins/analytics/types/experimental-events.d.ts +1 -0
- package/dist/types-ts4.5/plugins/analytics/types/extension-events.d.ts +2 -0
- package/dist/types-ts4.5/plugins/analytics/types/general-events.d.ts +2 -0
- package/dist/types-ts4.5/plugins/analytics/types/index.d.ts +9 -0
- package/dist/types-ts4.5/plugins/analytics/types/inline-comment-events.d.ts +2 -0
- package/dist/types-ts4.5/plugins/analytics/types/link-tool-bar-events.d.ts +1 -0
- package/dist/types-ts4.5/plugins/analytics/types/media-events.d.ts +1 -0
- package/dist/types-ts4.5/plugins/analytics/types/node-events.d.ts +2 -0
- package/dist/types-ts4.5/plugins/analytics/types/selection-events.d.ts +1 -0
- package/dist/types-ts4.5/plugins/analytics/types/smart-links.d.ts +2 -0
- package/dist/types-ts4.5/plugins/analytics/types/toolbar-button.d.ts +2 -0
- package/dist/types-ts4.5/plugins/analytics/utils.d.ts +22 -0
- package/dist/types-ts4.5/plugins/annotation/commands/index.d.ts +16 -0
- package/dist/types-ts4.5/plugins/annotation/commands/transform.d.ts +11 -0
- package/dist/types-ts4.5/plugins/annotation/index.d.ts +12 -0
- package/dist/types-ts4.5/plugins/annotation/nodeviews/index.d.ts +11 -0
- package/dist/types-ts4.5/plugins/annotation/pm-plugins/inline-comment.d.ts +3 -0
- package/dist/types-ts4.5/plugins/annotation/pm-plugins/keymap.d.ts +2 -0
- package/dist/types-ts4.5/plugins/annotation/pm-plugins/plugin-factory.d.ts +2 -0
- package/dist/types-ts4.5/plugins/annotation/pm-plugins/reducer.d.ts +3 -0
- package/dist/types-ts4.5/plugins/annotation/pm-plugins/types.d.ts +78 -0
- package/dist/types-ts4.5/plugins/annotation/toolbar.d.ts +4 -0
- package/dist/types-ts4.5/plugins/annotation/types.d.ts +86 -0
- package/dist/types-ts4.5/plugins/annotation/ui/AnnotationViewWrapper.d.ts +10 -0
- package/dist/types-ts4.5/plugins/annotation/ui/InlineCommentView.d.ts +11 -0
- package/dist/types-ts4.5/plugins/annotation/update-provider.d.ts +8 -0
- package/dist/types-ts4.5/plugins/annotation/utils.d.ts +40 -0
- package/dist/types-ts4.5/plugins/avatar-group/index.d.ts +14 -0
- package/dist/types-ts4.5/plugins/avatar-group/messages.d.ts +7 -0
- package/dist/types-ts4.5/plugins/avatar-group/ui/AvatarGroupPluginWrapper.d.ts +15 -0
- package/dist/types-ts4.5/plugins/before-primaryToolbar/index.d.ts +8 -0
- package/dist/types-ts4.5/plugins/before-primaryToolbar/ui/BeforePrimaryToolbarWrapper.d.ts +5 -0
- package/dist/types-ts4.5/plugins/better-type-history/index.d.ts +13 -0
- package/dist/types-ts4.5/plugins/better-type-history/pm-plugins/main.d.ts +3 -0
- package/dist/types-ts4.5/plugins/better-type-history/pm-plugins/plugin-key.d.ts +2 -0
- package/dist/types-ts4.5/plugins/breakout/commands/remove-breakout.d.ts +2 -0
- package/dist/types-ts4.5/plugins/breakout/commands/set-breakout-mode.d.ts +3 -0
- package/dist/types-ts4.5/plugins/breakout/constants.d.ts +4 -0
- package/dist/types-ts4.5/plugins/breakout/index.d.ts +14 -0
- package/dist/types-ts4.5/plugins/breakout/plugin-key.d.ts +5 -0
- package/dist/types-ts4.5/plugins/breakout/types.d.ts +4 -0
- package/dist/types-ts4.5/plugins/breakout/ui/LayoutButton.d.ts +17 -0
- package/dist/types-ts4.5/plugins/breakout/utils/find-breakout-node.d.ts +9 -0
- package/dist/types-ts4.5/plugins/breakout/utils/get-breakout-mode.d.ts +7 -0
- package/dist/types-ts4.5/plugins/breakout/utils/is-breakout-mark-allowed.d.ts +9 -0
- package/dist/types-ts4.5/plugins/breakout/utils/is-supported-node.d.ts +6 -0
- package/dist/types-ts4.5/plugins/clear-marks-on-change-to-empty-document/index.d.ts +7 -0
- package/dist/types-ts4.5/plugins/code-bidi-warning/index.d.ts +8 -0
- package/dist/types-ts4.5/plugins/code-bidi-warning/plugin-key.d.ts +2 -0
- package/dist/types-ts4.5/plugins/code-bidi-warning/pm-plugins/main.d.ts +5 -0
- package/dist/types-ts4.5/plugins/code-bidi-warning/pm-plugins/plugin-factory.d.ts +8 -0
- package/dist/types-ts4.5/plugins/code-bidi-warning/pm-plugins/reducer.d.ts +3 -0
- package/dist/types-ts4.5/plugins/code-bidi-warning/pm-plugins/types.d.ts +6 -0
- package/dist/types-ts4.5/plugins/code-block/actions.d.ts +18 -0
- package/dist/types-ts4.5/plugins/code-block/ide-ux/bracket-handling.d.ts +12 -0
- package/dist/types-ts4.5/plugins/code-block/ide-ux/commands.d.ts +6 -0
- package/dist/types-ts4.5/plugins/code-block/ide-ux/line-handling.d.ts +25 -0
- package/dist/types-ts4.5/plugins/code-block/ide-ux/paired-character-handling.d.ts +2 -0
- package/dist/types-ts4.5/plugins/code-block/ide-ux/quote-handling.d.ts +12 -0
- package/dist/types-ts4.5/plugins/code-block/index.d.ts +19 -0
- package/dist/types-ts4.5/plugins/code-block/language-list.d.ts +1641 -0
- package/dist/types-ts4.5/plugins/code-block/nodeviews/code-block.d.ts +21 -0
- package/dist/types-ts4.5/plugins/code-block/plugin-key.d.ts +2 -0
- package/dist/types-ts4.5/plugins/code-block/pm-plugins/actions.d.ts +4 -0
- package/dist/types-ts4.5/plugins/code-block/pm-plugins/codeBlockCopySelectionPlugin.d.ts +14 -0
- package/dist/types-ts4.5/plugins/code-block/pm-plugins/ide-ux.d.ts +5 -0
- package/dist/types-ts4.5/plugins/code-block/pm-plugins/input-rule.d.ts +3 -0
- package/dist/types-ts4.5/plugins/code-block/pm-plugins/keymaps.d.ts +4 -0
- package/dist/types-ts4.5/plugins/code-block/pm-plugins/main-state.d.ts +8 -0
- package/dist/types-ts4.5/plugins/code-block/pm-plugins/main.d.ts +10 -0
- package/dist/types-ts4.5/plugins/code-block/refresh-browser-selection.d.ts +5 -0
- package/dist/types-ts4.5/plugins/code-block/styles.d.ts +2 -0
- package/dist/types-ts4.5/plugins/code-block/toolbar.d.ts +14 -0
- package/dist/types-ts4.5/plugins/code-block/transform-to-code-block.d.ts +3 -0
- package/dist/types-ts4.5/plugins/code-block/types.d.ts +7 -0
- package/dist/types-ts4.5/plugins/code-block/ui/class-names.d.ts +8 -0
- package/dist/types-ts4.5/plugins/code-block/utils.d.ts +6 -0
- package/dist/types-ts4.5/plugins/collab-edit/actions.d.ts +11 -0
- package/dist/types-ts4.5/plugins/collab-edit/analytics.d.ts +6 -0
- package/dist/types-ts4.5/plugins/collab-edit/events/handlers.d.ts +24 -0
- package/dist/types-ts4.5/plugins/collab-edit/events/initialize.d.ts +16 -0
- package/dist/types-ts4.5/plugins/collab-edit/events/send-transaction.d.ts +11 -0
- package/dist/types-ts4.5/plugins/collab-edit/get-participants-count.d.ts +2 -0
- package/dist/types-ts4.5/plugins/collab-edit/index.d.ts +14 -0
- package/dist/types-ts4.5/plugins/collab-edit/native-collab-provider-plugin.d.ts +7 -0
- package/dist/types-ts4.5/plugins/collab-edit/participants.d.ts +18 -0
- package/dist/types-ts4.5/plugins/collab-edit/plugin-key.d.ts +3 -0
- package/dist/types-ts4.5/plugins/collab-edit/plugin-state.d.ts +24 -0
- package/dist/types-ts4.5/plugins/collab-edit/plugin.d.ts +11 -0
- package/dist/types-ts4.5/plugins/collab-edit/styles.d.ts +1 -0
- package/dist/types-ts4.5/plugins/collab-edit/types.d.ts +8 -0
- package/dist/types-ts4.5/plugins/collab-edit/ui/avatars-with-plugin-state.d.ts +23 -0
- package/dist/types-ts4.5/plugins/collab-edit/ui/avatars.d.ts +12 -0
- package/dist/types-ts4.5/plugins/collab-edit/ui/colored-avatar-item.d.ts +7 -0
- package/dist/types-ts4.5/plugins/collab-edit/ui/index.d.ts +2 -0
- package/dist/types-ts4.5/plugins/collab-edit/ui/invite-to-edit.d.ts +10 -0
- package/dist/types-ts4.5/plugins/collab-edit/ui/styles.d.ts +3 -0
- package/dist/types-ts4.5/plugins/collab-edit/ui/to-avatar.d.ts +4 -0
- package/dist/types-ts4.5/plugins/collab-edit/utils.d.ts +18 -0
- package/dist/types-ts4.5/plugins/custom-autoformat/doc.d.ts +6 -0
- package/dist/types-ts4.5/plugins/custom-autoformat/index.d.ts +6 -0
- package/dist/types-ts4.5/plugins/custom-autoformat/input-rules.d.ts +9 -0
- package/dist/types-ts4.5/plugins/custom-autoformat/reducers.d.ts +4 -0
- package/dist/types-ts4.5/plugins/custom-autoformat/types.d.ts +31 -0
- package/dist/types-ts4.5/plugins/custom-autoformat/utils.d.ts +6 -0
- package/dist/types-ts4.5/plugins/data-consumer/index.d.ts +3 -0
- package/dist/types-ts4.5/plugins/date/actions.d.ts +64 -0
- package/dist/types-ts4.5/plugins/date/index.d.ts +2 -0
- package/dist/types-ts4.5/plugins/date/nodeviews/date.d.ts +3 -0
- package/dist/types-ts4.5/plugins/date/nodeviews/messages.d.ts +7 -0
- package/dist/types-ts4.5/plugins/date/plugin.d.ts +3 -0
- package/dist/types-ts4.5/plugins/date/pm-plugins/keymap.d.ts +3 -0
- package/dist/types-ts4.5/plugins/date/pm-plugins/main.d.ts +6 -0
- package/dist/types-ts4.5/plugins/date/pm-plugins/plugin-key.d.ts +3 -0
- package/dist/types-ts4.5/plugins/date/pm-plugins/types.d.ts +12 -0
- package/dist/types-ts4.5/plugins/date/pm-plugins/utils.d.ts +5 -0
- package/dist/types-ts4.5/plugins/date/types.d.ts +31 -0
- package/dist/types-ts4.5/plugins/date/ui/DatePicker/date-picker-input.d.ts +24 -0
- package/dist/types-ts4.5/plugins/date/ui/DatePicker/index.d.ts +36 -0
- package/dist/types-ts4.5/plugins/date/utils/formatParse.d.ts +27 -0
- package/dist/types-ts4.5/plugins/date/utils/internal.d.ts +33 -0
- package/dist/types-ts4.5/plugins/expand/commands.d.ts +12 -0
- package/dist/types-ts4.5/plugins/expand/index.d.ts +24 -0
- package/dist/types-ts4.5/plugins/expand/nodeviews/index.d.ts +55 -0
- package/dist/types-ts4.5/plugins/expand/pm-plugins/keymap.d.ts +4 -0
- package/dist/types-ts4.5/plugins/expand/pm-plugins/main.d.ts +8 -0
- package/dist/types-ts4.5/plugins/expand/pm-plugins/plugin-factory.d.ts +3 -0
- package/dist/types-ts4.5/plugins/expand/reducer.d.ts +3 -0
- package/dist/types-ts4.5/plugins/expand/toolbar.d.ts +3 -0
- package/dist/types-ts4.5/plugins/expand/types.d.ts +9 -0
- package/dist/types-ts4.5/plugins/expand/ui/ExpandIconButton.d.ts +43 -0
- package/dist/types-ts4.5/plugins/expand/ui/class-names.d.ts +11 -0
- package/dist/types-ts4.5/plugins/expand/ui/styles.d.ts +2 -0
- package/dist/types-ts4.5/plugins/expand/utils.d.ts +1 -0
- package/dist/types-ts4.5/plugins/extension/actions.d.ts +17 -0
- package/dist/types-ts4.5/plugins/extension/commands.d.ts +12 -0
- package/dist/types-ts4.5/plugins/extension/context-panel.d.ts +8 -0
- package/dist/types-ts4.5/plugins/extension/extension-api.d.ts +10 -0
- package/dist/types-ts4.5/plugins/extension/index.d.ts +3 -0
- package/dist/types-ts4.5/plugins/extension/nodeviews/extension.d.ts +32 -0
- package/dist/types-ts4.5/plugins/extension/plugin-factory.d.ts +4 -0
- package/dist/types-ts4.5/plugins/extension/plugin-key.d.ts +3 -0
- package/dist/types-ts4.5/plugins/extension/pm-plugins/keymap.d.ts +3 -0
- package/dist/types-ts4.5/plugins/extension/pm-plugins/main.d.ts +27 -0
- package/dist/types-ts4.5/plugins/extension/pm-plugins/unique-id.d.ts +3 -0
- package/dist/types-ts4.5/plugins/extension/pm-plugins/utils.d.ts +3 -0
- package/dist/types-ts4.5/plugins/extension/reducer.d.ts +2 -0
- package/dist/types-ts4.5/plugins/extension/toolbar.d.ts +42 -0
- package/dist/types-ts4.5/plugins/extension/types.d.ts +22 -0
- package/dist/types-ts4.5/plugins/extension/ui/Extension/Extension/index.d.ts +109 -0
- package/dist/types-ts4.5/plugins/extension/ui/Extension/Extension/styles.d.ts +6 -0
- package/dist/types-ts4.5/plugins/extension/ui/Extension/ExtensionComponent.d.ts +51 -0
- package/dist/types-ts4.5/plugins/extension/ui/Extension/ExtensionNodeWrapper.d.ts +7 -0
- package/dist/types-ts4.5/plugins/extension/ui/Extension/InlineExtension/index.d.ts +12 -0
- package/dist/types-ts4.5/plugins/extension/ui/Extension/InlineExtension/styles.d.ts +2 -0
- package/dist/types-ts4.5/plugins/extension/ui/Extension/Lozenge.d.ts +14 -0
- package/dist/types-ts4.5/plugins/extension/ui/Extension/index.d.ts +28 -0
- package/dist/types-ts4.5/plugins/extension/ui/Extension/styles.d.ts +8 -0
- package/dist/types-ts4.5/plugins/extension/ui/SaveIndicator/SaveIndicator.d.ts +4 -0
- package/dist/types-ts4.5/plugins/extension/ui/SaveIndicator/messages.d.ts +7 -0
- package/dist/types-ts4.5/plugins/extension/ui/SaveIndicator/types.d.ts +11 -0
- package/dist/types-ts4.5/plugins/extension/ui/styles.d.ts +1 -0
- package/dist/types-ts4.5/plugins/extension/utils.d.ts +10 -0
- package/dist/types-ts4.5/plugins/fake-text-cursor/cursor.d.ts +30 -0
- package/dist/types-ts4.5/plugins/fake-text-cursor/index.d.ts +7 -0
- package/dist/types-ts4.5/plugins/fake-text-cursor/styles.d.ts +1 -0
- package/dist/types-ts4.5/plugins/feedback-dialog/getBrowserInfo.d.ts +6 -0
- package/dist/types-ts4.5/plugins/feedback-dialog/getDeviceInfo.d.ts +6 -0
- package/dist/types-ts4.5/plugins/feedback-dialog/index.d.ts +7 -0
- package/dist/types-ts4.5/plugins/feedback-dialog/loadJiraCollectorDialogScript.d.ts +8 -0
- package/dist/types-ts4.5/plugins/find-replace/FindReplaceToolbarButtonWithState.d.ts +17 -0
- package/dist/types-ts4.5/plugins/find-replace/actions.d.ts +64 -0
- package/dist/types-ts4.5/plugins/find-replace/commands-with-analytics.d.ts +27 -0
- package/dist/types-ts4.5/plugins/find-replace/commands.d.ts +12 -0
- package/dist/types-ts4.5/plugins/find-replace/index.d.ts +13 -0
- package/dist/types-ts4.5/plugins/find-replace/keymap.d.ts +3 -0
- package/dist/types-ts4.5/plugins/find-replace/plugin.d.ts +6 -0
- package/dist/types-ts4.5/plugins/find-replace/reducer.d.ts +4 -0
- package/dist/types-ts4.5/plugins/find-replace/styles.d.ts +3 -0
- package/dist/types-ts4.5/plugins/find-replace/types.d.ts +44 -0
- package/dist/types-ts4.5/plugins/find-replace/ui/Find.d.ts +71 -0
- package/dist/types-ts4.5/plugins/find-replace/ui/FindReplace.d.ts +43 -0
- package/dist/types-ts4.5/plugins/find-replace/ui/FindReplaceToolbarButton.d.ts +21 -0
- package/dist/types-ts4.5/plugins/find-replace/ui/FindReplaceTooltipButton.d.ts +18 -0
- package/dist/types-ts4.5/plugins/find-replace/ui/Replace.d.ts +26 -0
- package/dist/types-ts4.5/plugins/find-replace/ui/styles.d.ts +5 -0
- package/dist/types-ts4.5/plugins/find-replace/utils/batch-decorations.d.ts +36 -0
- package/dist/types-ts4.5/plugins/find-replace/utils/index.d.ts +49 -0
- package/dist/types-ts4.5/plugins/fragment/index.d.ts +3 -0
- package/dist/types-ts4.5/plugins/fragment/plugin-key.d.ts +2 -0
- package/dist/types-ts4.5/plugins/fragment/pm-plugins/fragment-consistency.d.ts +15 -0
- package/dist/types-ts4.5/plugins/history/actions.d.ts +8 -0
- package/dist/types-ts4.5/plugins/history/index.d.ts +13 -0
- package/dist/types-ts4.5/plugins/history/pm-history-types.d.ts +17 -0
- package/dist/types-ts4.5/plugins/history/reducer.d.ts +4 -0
- package/dist/types-ts4.5/plugins/history/types.d.ts +4 -0
- package/dist/types-ts4.5/plugins/history/utils.d.ts +4 -0
- package/dist/types-ts4.5/plugins/indentation/commands/index.d.ts +8 -0
- package/dist/types-ts4.5/plugins/indentation/commands/utils.d.ts +36 -0
- package/dist/types-ts4.5/plugins/indentation/index.d.ts +3 -0
- package/dist/types-ts4.5/plugins/indentation/messages.d.ts +12 -0
- package/dist/types-ts4.5/plugins/indentation/pm-plugins/keymap.d.ts +3 -0
- package/dist/types-ts4.5/plugins/index.d.ts +43 -0
- package/dist/types-ts4.5/plugins/insert-block/index.d.ts +16 -0
- package/dist/types-ts4.5/plugins/insert-block/types.d.ts +35 -0
- package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/block-insert-element-browser.d.ts +28 -0
- package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/block-insert-menu-legacy.d.ts +18 -0
- package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/block-insert-menu.d.ts +30 -0
- package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/create-items.d.ts +44 -0
- package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/dropdown-button.d.ts +16 -0
- package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/index.d.ts +46 -0
- package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/item.d.ts +34 -0
- package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/messages.d.ts +1 -0
- package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/shallow-equals.d.ts +1 -0
- package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/sort-items.d.ts +2 -0
- package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/styles.d.ts +1 -0
- package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/types.d.ts +60 -0
- package/dist/types-ts4.5/plugins/jira-issue/index.d.ts +5 -0
- package/dist/types-ts4.5/plugins/jira-issue/nodeviews/jira-issue.d.ts +7 -0
- package/dist/types-ts4.5/plugins/layout/actions.d.ts +22 -0
- package/dist/types-ts4.5/plugins/layout/index.d.ts +15 -0
- package/dist/types-ts4.5/plugins/layout/pm-plugins/main.d.ts +6 -0
- package/dist/types-ts4.5/plugins/layout/pm-plugins/plugin-key.d.ts +3 -0
- package/dist/types-ts4.5/plugins/layout/pm-plugins/types.d.ts +14 -0
- package/dist/types-ts4.5/plugins/layout/styles.d.ts +4 -0
- package/dist/types-ts4.5/plugins/layout/toolbar-messages.d.ts +32 -0
- package/dist/types-ts4.5/plugins/layout/toolbar.d.ts +6 -0
- package/dist/types-ts4.5/plugins/layout/types.d.ts +13 -0
- package/dist/types-ts4.5/plugins/layout/utils.d.ts +1 -0
- package/dist/types-ts4.5/plugins/macro/actions.d.ts +8 -0
- package/dist/types-ts4.5/plugins/macro/index.d.ts +11 -0
- package/dist/types-ts4.5/plugins/macro/plugin-key.d.ts +3 -0
- package/dist/types-ts4.5/plugins/macro/types.d.ts +4 -0
- package/dist/types-ts4.5/plugins/max-content-size/index.d.ts +13 -0
- package/dist/types-ts4.5/plugins/mentions/analytics.d.ts +13 -0
- package/dist/types-ts4.5/plugins/mentions/index.d.ts +22 -0
- package/dist/types-ts4.5/plugins/mentions/messages.d.ts +22 -0
- package/dist/types-ts4.5/plugins/mentions/nodeviews/mention.d.ts +9 -0
- package/dist/types-ts4.5/plugins/mentions/pm-plugins/key.d.ts +3 -0
- package/dist/types-ts4.5/plugins/mentions/pm-plugins/main.d.ts +6 -0
- package/dist/types-ts4.5/plugins/mentions/pm-plugins/utils.d.ts +4 -0
- package/dist/types-ts4.5/plugins/mentions/type-ahead/index.d.ts +17 -0
- package/dist/types-ts4.5/plugins/mentions/types.d.ts +24 -0
- package/dist/types-ts4.5/plugins/mentions/ui/InviteItem/index.d.ts +22 -0
- package/dist/types-ts4.5/plugins/mentions/ui/InviteItem/styles.d.ts +8 -0
- package/dist/types-ts4.5/plugins/mentions/ui/Mention/index.d.ts +19 -0
- package/dist/types-ts4.5/plugins/mentions/ui/ToolbarMention/index.d.ts +13 -0
- package/dist/types-ts4.5/plugins/mentions/utils.d.ts +8 -0
- package/dist/types-ts4.5/plugins/mobile-dimensions/actions.d.ts +18 -0
- package/dist/types-ts4.5/plugins/mobile-dimensions/commands.d.ts +3 -0
- package/dist/types-ts4.5/plugins/mobile-dimensions/index.d.ts +3 -0
- package/dist/types-ts4.5/plugins/mobile-dimensions/plugin-factory.d.ts +5 -0
- package/dist/types-ts4.5/plugins/mobile-dimensions/reducer.d.ts +3 -0
- package/dist/types-ts4.5/plugins/mobile-dimensions/types.d.ts +8 -0
- package/dist/types-ts4.5/plugins/mobile-dimensions/utils.d.ts +2 -0
- package/dist/types-ts4.5/plugins/mobile-selection/content-in-selection.d.ts +5 -0
- package/dist/types-ts4.5/plugins/mobile-selection/index.d.ts +2 -0
- package/dist/types-ts4.5/plugins/mobile-selection/mobile-selection-plugin.d.ts +7 -0
- package/dist/types-ts4.5/plugins/mobile-selection/types.d.ts +32 -0
- package/dist/types-ts4.5/plugins/panel/actions.d.ts +12 -0
- package/dist/types-ts4.5/plugins/panel/index.d.ts +17 -0
- package/dist/types-ts4.5/plugins/panel/message.d.ts +37 -0
- package/dist/types-ts4.5/plugins/panel/nodeviews/panel.d.ts +36 -0
- package/dist/types-ts4.5/plugins/panel/pm-plugins/keymaps.d.ts +3 -0
- package/dist/types-ts4.5/plugins/panel/pm-plugins/main.d.ts +11 -0
- package/dist/types-ts4.5/plugins/panel/styles.d.ts +2 -0
- package/dist/types-ts4.5/plugins/panel/toolbar.d.ts +14 -0
- package/dist/types-ts4.5/plugins/panel/types.d.ts +21 -0
- package/dist/types-ts4.5/plugins/panel/utils.d.ts +5 -0
- package/dist/types-ts4.5/plugins/paste/actions.d.ts +15 -0
- package/dist/types-ts4.5/plugins/paste/commands.d.ts +30 -0
- package/dist/types-ts4.5/plugins/paste/edge-cases/index.d.ts +7 -0
- package/dist/types-ts4.5/plugins/paste/edge-cases/lists.d.ts +18 -0
- package/dist/types-ts4.5/plugins/paste/handlers.d.ts +54 -0
- package/dist/types-ts4.5/plugins/paste/index.d.ts +25 -0
- package/dist/types-ts4.5/plugins/paste/plugins/media.d.ts +12 -0
- package/dist/types-ts4.5/plugins/paste/pm-plugins/analytics.d.ts +45 -0
- package/dist/types-ts4.5/plugins/paste/pm-plugins/clipboard-text-serializer.d.ts +13 -0
- package/dist/types-ts4.5/plugins/paste/pm-plugins/main.d.ts +10 -0
- package/dist/types-ts4.5/plugins/paste/pm-plugins/plugin-factory.d.ts +3 -0
- package/dist/types-ts4.5/plugins/paste/reducer.d.ts +3 -0
- package/dist/types-ts4.5/plugins/paste/types.d.ts +6 -0
- package/dist/types-ts4.5/plugins/paste/util/index.d.ts +21 -0
- package/dist/types-ts4.5/plugins/paste/util/tinyMCE.d.ts +32 -0
- package/dist/types-ts4.5/plugins/placeholder-text/actions.d.ts +4 -0
- package/dist/types-ts4.5/plugins/placeholder-text/index.d.ts +22 -0
- package/dist/types-ts4.5/plugins/placeholder-text/placeholder-text-nodeview.d.ts +17 -0
- package/dist/types-ts4.5/plugins/placeholder-text/plugin-key.d.ts +3 -0
- package/dist/types-ts4.5/plugins/placeholder-text/selection-utils.d.ts +2 -0
- package/dist/types-ts4.5/plugins/placeholder-text/styles.d.ts +1 -0
- package/dist/types-ts4.5/plugins/placeholder-text/types.d.ts +7 -0
- package/dist/types-ts4.5/plugins/placeholder-text/ui/PlaceholderFloatingToolbar/index.d.ts +25 -0
- package/dist/types-ts4.5/plugins/rank.d.ts +6 -0
- package/dist/types-ts4.5/plugins/save-on-enter/index.d.ts +10 -0
- package/dist/types-ts4.5/plugins/scroll-into-view/index.d.ts +14 -0
- package/dist/types-ts4.5/plugins/status/actions.d.ts +16 -0
- package/dist/types-ts4.5/plugins/status/analytics.d.ts +4 -0
- package/dist/types-ts4.5/plugins/status/index.d.ts +17 -0
- package/dist/types-ts4.5/plugins/status/keymap.d.ts +3 -0
- package/dist/types-ts4.5/plugins/status/nodeviews/messages.d.ts +17 -0
- package/dist/types-ts4.5/plugins/status/nodeviews/status.d.ts +24 -0
- package/dist/types-ts4.5/plugins/status/plugin-key.d.ts +4 -0
- package/dist/types-ts4.5/plugins/status/plugin.d.ts +7 -0
- package/dist/types-ts4.5/plugins/status/styles.d.ts +1 -0
- package/dist/types-ts4.5/plugins/status/types.d.ts +18 -0
- package/dist/types-ts4.5/plugins/status/ui/statusPicker.d.ts +63 -0
- package/dist/types-ts4.5/plugins/status/utils.d.ts +5 -0
- package/dist/types-ts4.5/plugins/submit-editor/index.d.ts +16 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/commands.d.ts +16 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/index.d.ts +6 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/nodeviews/decisionItem.d.ts +5 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/nodeviews/taskItem.d.ts +9 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/commands.d.ts +15 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/helpers.d.ts +76 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/input-rules.d.ts +5 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/keymaps.d.ts +8 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/main.d.ts +5 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/plugin-key.d.ts +2 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/types.d.ts +8 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/styles.d.ts +1 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/types.d.ts +26 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/ui/Decision/index.d.ts +14 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/ui/Task/index.d.ts +27 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/ui/Task/task-item-with-providers.d.ts +28 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/ui/ToolbarDecision/index.d.ts +20 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/ui/ToolbarTask/index.d.ts +20 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/utils.d.ts +5 -0
- package/dist/types-ts4.5/plugins/text-color/commands/change-color.d.ts +3 -0
- package/dist/types-ts4.5/plugins/text-color/commands/remove-color.d.ts +2 -0
- package/dist/types-ts4.5/plugins/text-color/commands/toggle-color.d.ts +2 -0
- package/dist/types-ts4.5/plugins/text-color/index.d.ts +7 -0
- package/dist/types-ts4.5/plugins/text-color/pm-plugins/main.d.ts +25 -0
- package/dist/types-ts4.5/plugins/text-color/types.d.ts +12 -0
- package/dist/types-ts4.5/plugins/text-color/ui/ToolbarTextColor/icon.d.ts +2 -0
- package/dist/types-ts4.5/plugins/text-color/ui/ToolbarTextColor/index.d.ts +53 -0
- package/dist/types-ts4.5/plugins/text-color/ui/ToolbarTextColor/styles.d.ts +3 -0
- package/dist/types-ts4.5/plugins/text-color/utils/color.d.ts +6 -0
- package/dist/types-ts4.5/plugins/text-color/utils/disabled.d.ts +2 -0
- package/dist/types-ts4.5/plugins/toolbar-lists-indentation/index.d.ts +19 -0
- package/dist/types-ts4.5/plugins/toolbar-lists-indentation/pm-plugins/indentation-buttons.d.ts +17 -0
- package/dist/types-ts4.5/plugins/toolbar-lists-indentation/types.d.ts +20 -0
- package/dist/types-ts4.5/plugins/toolbar-lists-indentation/ui/Toolbar.d.ts +4 -0
- package/dist/types-ts4.5/plugins/toolbar-lists-indentation/ui/ToolbarDropdown.d.ts +9 -0
- package/dist/types-ts4.5/plugins/toolbar-lists-indentation/ui/index.d.ts +24 -0
- package/dist/types-ts4.5/plugins/toolbar-lists-indentation/ui/onItemActivated.d.ts +8 -0
- package/dist/types-ts4.5/plugins/type-ahead/api.d.ts +61 -0
- package/dist/types-ts4.5/plugins/type-ahead/commands/insert-type-ahead-item.d.ts +12 -0
- package/dist/types-ts4.5/plugins/type-ahead/commands/update-list-items.d.ts +3 -0
- package/dist/types-ts4.5/plugins/type-ahead/commands/update-query.d.ts +2 -0
- package/dist/types-ts4.5/plugins/type-ahead/commands/update-selected-index.d.ts +2 -0
- package/dist/types-ts4.5/plugins/type-ahead/constants.d.ts +8 -0
- package/dist/types-ts4.5/plugins/type-ahead/index.d.ts +15 -0
- package/dist/types-ts4.5/plugins/type-ahead/insert-utils.d.ts +18 -0
- package/dist/types-ts4.5/plugins/type-ahead/messages.d.ts +72 -0
- package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/actions.d.ts +9 -0
- package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/decorations.d.ts +14 -0
- package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/input-rules.d.ts +6 -0
- package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/insert-item-plugin.d.ts +2 -0
- package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/key.d.ts +3 -0
- package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/main.d.ts +14 -0
- package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/reducer.d.ts +10 -0
- package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/utils.d.ts +4 -0
- package/dist/types-ts4.5/plugins/type-ahead/stats-modifier.d.ts +20 -0
- package/dist/types-ts4.5/plugins/type-ahead/transforms/close-type-ahead.d.ts +2 -0
- package/dist/types-ts4.5/plugins/type-ahead/transforms/open-typeahead-at-cursor.d.ts +11 -0
- package/dist/types-ts4.5/plugins/type-ahead/transforms/set-selection-before-query.d.ts +2 -0
- package/dist/types-ts4.5/plugins/type-ahead/types.d.ts +64 -0
- package/dist/types-ts4.5/plugins/type-ahead/ui/AssistiveText.d.ts +33 -0
- package/dist/types-ts4.5/plugins/type-ahead/ui/InputQuery.d.ts +26 -0
- package/dist/types-ts4.5/plugins/type-ahead/ui/TypeAheadList.d.ts +25 -0
- package/dist/types-ts4.5/plugins/type-ahead/ui/TypeAheadListItem.d.ts +18 -0
- package/dist/types-ts4.5/plugins/type-ahead/ui/TypeAheadPopup.d.ts +29 -0
- package/dist/types-ts4.5/plugins/type-ahead/ui/WrapperTypeAhead.d.ts +20 -0
- package/dist/types-ts4.5/plugins/type-ahead/ui/hooks/use-item-insert.d.ts +7 -0
- package/dist/types-ts4.5/plugins/type-ahead/ui/hooks/use-load-items.d.ts +3 -0
- package/dist/types-ts4.5/plugins/type-ahead/ui/hooks/use-on-force-select.d.ts +11 -0
- package/dist/types-ts4.5/plugins/type-ahead/utils.d.ts +27 -0
- package/dist/types-ts4.5/plugins/undo-redo/attach-input-meta.d.ts +5 -0
- package/dist/types-ts4.5/plugins/undo-redo/commands.d.ts +4 -0
- package/dist/types-ts4.5/plugins/undo-redo/enums.d.ts +4 -0
- package/dist/types-ts4.5/plugins/undo-redo/index.d.ts +3 -0
- package/dist/types-ts4.5/plugins/undo-redo/pm-plugins/keymaps.d.ts +2 -0
- package/dist/types-ts4.5/plugins/undo-redo/pm-plugins/main.d.ts +2 -0
- package/dist/types-ts4.5/plugins/undo-redo/pm-plugins/plugin-key.d.ts +2 -0
- package/dist/types-ts4.5/plugins/undo-redo/types.d.ts +7 -0
- package/dist/types-ts4.5/plugins/undo-redo/ui/ToolbarUndoRedo/index.d.ts +24 -0
- package/dist/types-ts4.5/plugins/view-update-subscription/index.d.ts +19 -0
- package/dist/types-ts4.5/plugins/view-update-subscription/subscribe/toolbarAndPickerUpdates.d.ts +12 -0
- package/dist/types-ts4.5/plugins/view-update-subscription/subscribe/type-ahead-updates.d.ts +9 -0
- package/dist/types-ts4.5/preset-default.d.ts +1 -0
- package/dist/types-ts4.5/preset-universal.d.ts +1 -0
- package/dist/types-ts4.5/presets/context.d.ts +15 -0
- package/dist/types-ts4.5/stories/examples.d.ts +9 -0
- package/dist/types-ts4.5/test-utils.d.ts +40 -0
- package/dist/types-ts4.5/types/browser.d.ts +1 -0
- package/dist/types-ts4.5/types/command.d.ts +5 -0
- package/dist/types-ts4.5/types/dom-at-pos.d.ts +4 -0
- package/dist/types-ts4.5/types/editor-appearance-component.d.ts +50 -0
- package/dist/types-ts4.5/types/editor-appearance.d.ts +1 -0
- package/dist/types-ts4.5/types/editor-config.d.ts +25 -0
- package/dist/types-ts4.5/types/editor-instance.d.ts +19 -0
- package/dist/types-ts4.5/types/editor-onchange.d.ts +4 -0
- package/dist/types-ts4.5/types/editor-plugin.d.ts +1 -0
- package/dist/types-ts4.5/types/editor-props.d.ts +262 -0
- package/dist/types-ts4.5/types/editor-react-context.d.ts +1 -0
- package/dist/types-ts4.5/types/empty-state-handler.d.ts +1 -0
- package/dist/types-ts4.5/types/extension-config.d.ts +5 -0
- package/dist/types-ts4.5/types/feature-flags.d.ts +1 -0
- package/dist/types-ts4.5/types/i18n.d.ts +5 -0
- package/dist/types-ts4.5/types/index.d.ts +18 -0
- package/dist/types-ts4.5/types/performance-tracking.d.ts +1 -0
- package/dist/types-ts4.5/types/pm-config.d.ts +1 -0
- package/dist/types-ts4.5/types/pm-plugin-list.d.ts +9 -0
- package/dist/types-ts4.5/types/pm-plugin.d.ts +1 -0
- package/dist/types-ts4.5/types/ui-components.d.ts +1 -0
- package/dist/types-ts4.5/ui/Addon/ClickAreaBlock/index.d.ts +10 -0
- package/dist/types-ts4.5/ui/Addon/ClickAreaInline/index.d.ts +8 -0
- package/dist/types-ts4.5/ui/Addon/ClickAreaMobile/index.d.ts +31 -0
- package/dist/types-ts4.5/ui/Addon/Dropdown/index.d.ts +14 -0
- package/dist/types-ts4.5/ui/Addon/Dropdown/styles.d.ts +1 -0
- package/dist/types-ts4.5/ui/Addon/DropdownItem/index.d.ts +5 -0
- package/dist/types-ts4.5/ui/Addon/DropdownItem/styles.d.ts +1 -0
- package/dist/types-ts4.5/ui/Addon/click-area-helper.d.ts +13 -0
- package/dist/types-ts4.5/ui/Addon/index.d.ts +6 -0
- package/dist/types-ts4.5/ui/Addon/types.d.ts +17 -0
- package/dist/types-ts4.5/ui/Alignment/AlignmentButton/index.d.ts +17 -0
- package/dist/types-ts4.5/ui/Alignment/index.d.ts +12 -0
- package/dist/types-ts4.5/ui/Alignment/styles.d.ts +1 -0
- package/dist/types-ts4.5/ui/Appearance/Chromeless.d.ts +11 -0
- package/dist/types-ts4.5/ui/Appearance/Comment/Comment.d.ts +7 -0
- package/dist/types-ts4.5/ui/Appearance/Comment/Toolbar.d.ts +9 -0
- package/dist/types-ts4.5/ui/Appearance/Comment/index.d.ts +1 -0
- package/dist/types-ts4.5/ui/Appearance/FullPage/FullPage.d.ts +3 -0
- package/dist/types-ts4.5/ui/Appearance/FullPage/FullPageContentArea.d.ts +39 -0
- package/dist/types-ts4.5/ui/Appearance/FullPage/FullPageToolbar.d.ts +38 -0
- package/dist/types-ts4.5/ui/Appearance/FullPage/MainToolbar.d.ts +7 -0
- package/dist/types-ts4.5/ui/Appearance/FullPage/StyledComponents.d.ts +19 -0
- package/dist/types-ts4.5/ui/Appearance/FullPage/index.d.ts +1 -0
- package/dist/types-ts4.5/ui/Appearance/Mobile.d.ts +3 -0
- package/dist/types-ts4.5/ui/AppearanceComponents/Mobile.d.ts +14 -0
- package/dist/types-ts4.5/ui/ChromeCollapsed/index.d.ts +11 -0
- package/dist/types-ts4.5/ui/ChromeCollapsed/messages.d.ts +7 -0
- package/dist/types-ts4.5/ui/ChromeCollapsed/styles.d.ts +1 -0
- package/dist/types-ts4.5/ui/CollapsedEditor/index.d.ts +19 -0
- package/dist/types-ts4.5/ui/ColorPalette/Palettes/cellBackgroundColorPalette.d.ts +2 -0
- package/dist/types-ts4.5/ui/ColorPalette/Palettes/common.d.ts +1 -0
- package/dist/types-ts4.5/ui/ColorPalette/Palettes/index.d.ts +2 -0
- package/dist/types-ts4.5/ui/ColorPalette/Palettes/paletteMessages.d.ts +2 -0
- package/dist/types-ts4.5/ui/ColorPalette/Palettes/panelBackgroundPalette.d.ts +1 -0
- package/dist/types-ts4.5/ui/ColorPalette/Palettes/statusColorPalette.d.ts +1 -0
- package/dist/types-ts4.5/ui/ColorPalette/Palettes/textColorPalette.d.ts +1 -0
- package/dist/types-ts4.5/ui/ColorPalette/Palettes/type.d.ts +1 -0
- package/dist/types-ts4.5/ui/ColorPalette/index.d.ts +3 -0
- package/dist/types-ts4.5/ui/ConfigPanel/ConfigPanel.d.ts +22 -0
- package/dist/types-ts4.5/ui/ConfigPanel/ConfigPanelFieldsLoader.d.ts +20 -0
- package/dist/types-ts4.5/ui/ConfigPanel/ConfigPanelLoader.d.ts +5 -0
- package/dist/types-ts4.5/ui/ConfigPanel/ErrorMessage/ErrorImage.d.ts +4 -0
- package/dist/types-ts4.5/ui/ConfigPanel/ErrorMessage/index.d.ts +10 -0
- package/dist/types-ts4.5/ui/ConfigPanel/FieldMessages.d.ts +12 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/Boolean.d.ts +8 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/CheckboxGroup.d.ts +8 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/ColorPicker.d.ts +21 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/CustomSelect.d.ts +24 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/Date.d.ts +20 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/DateRange.d.ts +20 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/Enum.d.ts +10 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/Expand.d.ts +18 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/Fieldset.d.ts +20 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/Number.d.ts +10 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/RadioGroup.d.ts +8 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/Select.d.ts +11 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/SelectItem.d.ts +5 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/String.d.ts +10 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/TabGroup.d.ts +15 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/UnhandledType.d.ts +6 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/UserSelect.d.ts +10 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/common/RequiredIndicator.d.ts +1 -0
- package/dist/types-ts4.5/ui/ConfigPanel/FormContent.d.ts +4 -0
- package/dist/types-ts4.5/ui/ConfigPanel/FormErrorBoundary.d.ts +16 -0
- package/dist/types-ts4.5/ui/ConfigPanel/Header.d.ts +21 -0
- package/dist/types-ts4.5/ui/ConfigPanel/LoadingState.d.ts +4 -0
- package/dist/types-ts4.5/ui/ConfigPanel/NestedForms/RemovableField.d.ts +19 -0
- package/dist/types-ts4.5/ui/ConfigPanel/index.d.ts +2 -0
- package/dist/types-ts4.5/ui/ConfigPanel/messages.d.ts +87 -0
- package/dist/types-ts4.5/ui/ConfigPanel/transformers.d.ts +9 -0
- package/dist/types-ts4.5/ui/ConfigPanel/types.d.ts +40 -0
- package/dist/types-ts4.5/ui/ConfigPanel/utils.d.ts +13 -0
- package/dist/types-ts4.5/ui/ContentStyles/date.d.ts +1 -0
- package/dist/types-ts4.5/ui/ContentStyles/index.d.ts +14 -0
- package/dist/types-ts4.5/ui/ContentStyles/media.d.ts +1 -0
- package/dist/types-ts4.5/ui/ContextPanel/index.d.ts +41 -0
- package/dist/types-ts4.5/ui/EditorContext/index.d.ts +18 -0
- package/dist/types-ts4.5/ui/ElementBrowser/InsertMenu.d.ts +4 -0
- package/dist/types-ts4.5/ui/ElementBrowser/types.d.ts +22 -0
- package/dist/types-ts4.5/ui/ErrorBoundary/index.d.ts +26 -0
- package/dist/types-ts4.5/ui/FloatingToolbar/index.d.ts +28 -0
- package/dist/types-ts4.5/ui/FloatingToolbar/styles.d.ts +1 -0
- package/dist/types-ts4.5/ui/FloatingToolbar/utils.d.ts +13 -0
- package/dist/types-ts4.5/ui/MediaAndEmbedsToolbar/toolbar-messages.d.ts +12 -0
- package/dist/types-ts4.5/ui/PluginSlot/index.d.ts +39 -0
- package/dist/types-ts4.5/ui/PluginSlot/mount-plugin-hooks.d.ts +10 -0
- package/dist/types-ts4.5/ui/Toolbar/Toolbar.d.ts +3 -0
- package/dist/types-ts4.5/ui/Toolbar/ToolbarInner.d.ts +8 -0
- package/dist/types-ts4.5/ui/Toolbar/ToolbarWithSizeDetector.d.ts +4 -0
- package/dist/types-ts4.5/ui/Toolbar/hooks.d.ts +4 -0
- package/dist/types-ts4.5/ui/Toolbar/index.d.ts +4 -0
- package/dist/types-ts4.5/ui/Toolbar/toolbar-size.d.ts +4 -0
- package/dist/types-ts4.5/ui/Toolbar/toolbar-types.d.ts +34 -0
- package/dist/types-ts4.5/ui/Toolbar/types.d.ts +2 -0
- package/dist/types-ts4.5/ui/ToolbarButton/index.d.ts +4 -0
- package/dist/types-ts4.5/ui/ToolbarFeedback/index.d.ts +27 -0
- package/dist/types-ts4.5/ui/ToolbarFeedback/styles.d.ts +6 -0
- package/dist/types-ts4.5/ui/ToolbarHelp/index.d.ts +11 -0
- package/dist/types-ts4.5/ui/ToolbarHelp/messages.d.ts +7 -0
- package/dist/types-ts4.5/ui/WithEditorActions/index.d.ts +18 -0
- package/dist/types-ts4.5/ui/WithFlash/index.d.ts +11 -0
- package/dist/types-ts4.5/ui/WithHelpTrigger/index.d.ts +13 -0
- package/dist/types-ts4.5/ui/WithPluginState/index.d.ts +3 -0
- package/dist/types-ts4.5/ui/styles.d.ts +2 -0
- package/dist/types-ts4.5/ui/with-outer-listeners.d.ts +2 -0
- package/dist/types-ts4.5/use-preset.d.ts +46 -0
- package/dist/types-ts4.5/utils/action.d.ts +9 -0
- package/dist/types-ts4.5/utils/array.d.ts +1 -0
- package/dist/types-ts4.5/utils/clipboard.d.ts +1 -0
- package/dist/types-ts4.5/utils/commands.d.ts +14 -0
- package/dist/types-ts4.5/utils/deprecation-warnings.d.ts +8 -0
- package/dist/types-ts4.5/utils/document-logger.d.ts +6 -0
- package/dist/types-ts4.5/utils/document.d.ts +27 -0
- package/dist/types-ts4.5/utils/dom.d.ts +2 -0
- package/dist/types-ts4.5/utils/editorDeprecationWarnings.d.ts +2 -0
- package/dist/types-ts4.5/utils/extensions.d.ts +6 -0
- package/dist/types-ts4.5/utils/getAttrsWithChangesRecorder.d.ts +23 -0
- package/dist/types-ts4.5/utils/index.d.ts +65 -0
- package/dist/types-ts4.5/utils/is-full-page.d.ts +2 -0
- package/dist/types-ts4.5/utils/is-text-input.d.ts +2 -0
- package/dist/types-ts4.5/utils/node-width.d.ts +7 -0
- package/dist/types-ts4.5/utils/nodes-by-localIds.d.ts +8 -0
- package/dist/types-ts4.5/utils/nodes.d.ts +1 -0
- package/dist/types-ts4.5/utils/performance/components/RenderTracking.d.ts +13 -0
- package/dist/types-ts4.5/utils/performance/instrumented-plugin.d.ts +16 -0
- package/dist/types-ts4.5/utils/performance/measure-enum.d.ts +8 -0
- package/dist/types-ts4.5/utils/performance/outlier.d.ts +1 -0
- package/dist/types-ts4.5/utils/performance/percentile.d.ts +1 -0
- package/dist/types-ts4.5/utils/performance/plugin-performance-observer.d.ts +22 -0
- package/dist/types-ts4.5/utils/performance/plugin-performance-report.d.ts +48 -0
- package/dist/types-ts4.5/utils/performance/safer-transactions.d.ts +9 -0
- package/dist/types-ts4.5/utils/performance/simple-measure-to-entries.d.ts +28 -0
- package/dist/types-ts4.5/utils/performance/track-transactions.d.ts +30 -0
- package/dist/types-ts4.5/utils/pick-by.d.ts +2 -0
- package/dist/types-ts4.5/utils/plugin-state-factory.d.ts +2 -0
- package/dist/types-ts4.5/utils/prepare-extension-provider.d.ts +5 -0
- package/dist/types-ts4.5/utils/prepare-quick-insert-provider.d.ts +16 -0
- package/dist/types-ts4.5/utils/react-hooks/use-abortable-effect/index.d.ts +16 -0
- package/dist/types-ts4.5/utils/react-hooks/use-state-from-promise/index.d.ts +18 -0
- package/dist/types-ts4.5/utils/selection.d.ts +5 -0
- package/dist/types-ts4.5/utils/slice.d.ts +2 -0
- package/dist/types-ts4.5/utils/step.d.ts +1 -0
- package/dist/types-ts4.5/version-wrapper.d.ts +3 -0
- package/package.json +6 -10
- package/tmp/api-report-tmp.d.ts +791 -0
|
@@ -0,0 +1,262 @@
|
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
|
+
import type { Node, Schema } from '@atlaskit/editor-prosemirror/model';
|
|
3
|
+
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
4
|
+
import type { ActivityProvider } from '@atlaskit/activity-provider';
|
|
5
|
+
import type { CardOptions } from '@atlaskit/editor-common/card';
|
|
6
|
+
import type { ExtensionHandlers, ExtensionProvider } from '@atlaskit/editor-common/extensions';
|
|
7
|
+
import type { EditorPresetBuilder } from '@atlaskit/editor-common/preset';
|
|
8
|
+
import type { ContextIdentifierProvider, Providers, SearchProvider } from '@atlaskit/editor-common/provider-factory';
|
|
9
|
+
import type { AllEditorPresetPluginTypes, Transformer, LinkingOptions, TextFormattingOptions, QuickInsertOptions } from '@atlaskit/editor-common/types';
|
|
10
|
+
import type { ErrorReportingHandler } from '@atlaskit/editor-common/utils';
|
|
11
|
+
import type { PluginConfig as TablesPluginConfig } from '@atlaskit/editor-plugin-table/types';
|
|
12
|
+
import type { MentionProvider } from '@atlaskit/mention/resource';
|
|
13
|
+
import type { TaskDecisionProvider } from '@atlaskit/task-decision';
|
|
14
|
+
import type EditorActions from '../actions';
|
|
15
|
+
import type { AnnotationProviders } from '../plugins/annotation/types';
|
|
16
|
+
import type { BlockTypePluginOptions } from '@atlaskit/editor-plugin-block-type';
|
|
17
|
+
import type { CodeBlockOptions } from '../plugins/code-block/types';
|
|
18
|
+
import type { CollabEditOptions } from '@atlaskit/editor-common/collab';
|
|
19
|
+
import type { DatePluginConfig } from '../plugins/date';
|
|
20
|
+
import type { FindReplaceOptions } from '../plugins/find-replace/types';
|
|
21
|
+
import type { LayoutPluginOptions } from '../plugins/layout/types';
|
|
22
|
+
import type { MediaOptions, MediaState } from '@atlaskit/editor-plugin-media/types';
|
|
23
|
+
import type { MentionPluginConfig } from '../plugins/mentions/types';
|
|
24
|
+
import type { PanelPluginConfig } from '../plugins/panel/types';
|
|
25
|
+
import type { PlaceholderTextOptions } from '../plugins/placeholder-text/types';
|
|
26
|
+
import type { TextColorPluginConfig } from '../plugins/text-color/pm-plugins/main';
|
|
27
|
+
import type { MenuItem } from '@atlaskit/editor-common/ui-menu';
|
|
28
|
+
import type { EditorAppearance } from './editor-appearance';
|
|
29
|
+
import type { EditorOnChangeHandler } from './editor-onchange';
|
|
30
|
+
import type { EditorPlugin } from './editor-plugin';
|
|
31
|
+
import type { EmptyStateHandler } from './empty-state-handler';
|
|
32
|
+
import type { ExtensionConfig } from './extension-config';
|
|
33
|
+
import type { PerformanceTracking } from './performance-tracking';
|
|
34
|
+
import type { UseStickyToolbarType } from '@atlaskit/editor-common/ui';
|
|
35
|
+
export type { UseStickyToolbarType };
|
|
36
|
+
export type ReactComponents = ReactElement<any> | ReactElement<any>[];
|
|
37
|
+
type ExtensionProviders = (ExtensionProvider | Promise<ExtensionProvider>)[];
|
|
38
|
+
type ExtensionProvidersWithEditorAction = (editorActions?: EditorActions) => ExtensionProviders;
|
|
39
|
+
export type ExtensionProvidersProp = ExtensionProviders | ExtensionProvidersWithEditorAction;
|
|
40
|
+
export type FeedbackInfo = {
|
|
41
|
+
product?: string;
|
|
42
|
+
packageVersion?: string;
|
|
43
|
+
packageName?: string;
|
|
44
|
+
labels?: Array<string>;
|
|
45
|
+
sessionId?: string;
|
|
46
|
+
contentId?: string;
|
|
47
|
+
tabId?: string;
|
|
48
|
+
};
|
|
49
|
+
export type BeforeAndAfterToolbarComponents = {
|
|
50
|
+
before: ReactComponents;
|
|
51
|
+
after: ReactComponents;
|
|
52
|
+
};
|
|
53
|
+
export type PrimaryToolbarComponents = BeforeAndAfterToolbarComponents | ReactComponents;
|
|
54
|
+
interface EditorBaseProps {
|
|
55
|
+
appearance?: EditorAppearance;
|
|
56
|
+
contentComponents?: ReactComponents;
|
|
57
|
+
primaryToolbarIconBefore?: ReactElement;
|
|
58
|
+
secondaryToolbarComponents?: ReactComponents;
|
|
59
|
+
persistScrollGutter?: boolean;
|
|
60
|
+
quickInsert?: QuickInsertOptions;
|
|
61
|
+
shouldFocus?: boolean;
|
|
62
|
+
disabled?: boolean;
|
|
63
|
+
contextPanel?: ReactComponents;
|
|
64
|
+
errorReporterHandler?: ErrorReportingHandler;
|
|
65
|
+
contentTransformerProvider?: (schema: Schema) => Transformer<string>;
|
|
66
|
+
maxHeight?: number;
|
|
67
|
+
minHeight?: number;
|
|
68
|
+
placeholder?: string;
|
|
69
|
+
placeholderBracketHint?: string;
|
|
70
|
+
defaultValue?: Node | string | Object;
|
|
71
|
+
assistiveLabel?: string;
|
|
72
|
+
popupsMountPoint?: HTMLElement;
|
|
73
|
+
popupsBoundariesElement?: HTMLElement;
|
|
74
|
+
popupsScrollableElement?: HTMLElement;
|
|
75
|
+
editorActions?: EditorActions;
|
|
76
|
+
onEditorReady?: (editorActions: EditorActions) => void;
|
|
77
|
+
onDestroy?: () => void;
|
|
78
|
+
onChange?: EditorOnChangeHandler;
|
|
79
|
+
onCancel?: (editorView: EditorView) => void;
|
|
80
|
+
/**
|
|
81
|
+
* @description The nth keystroke after which an input time taken event is sent, 0 to disable it
|
|
82
|
+
* @default 100
|
|
83
|
+
* @deprecated Use performanceTracking.inputSampling instead https://product-fabric.atlassian.net/browse/ED-10260
|
|
84
|
+
*/
|
|
85
|
+
inputSamplingLimit?: number;
|
|
86
|
+
extensionProviders?: ExtensionProvidersProp;
|
|
87
|
+
UNSAFE_useAnalyticsContext?: boolean;
|
|
88
|
+
/**
|
|
89
|
+
* @default undefined
|
|
90
|
+
* @description Enables valid transaction events to be tracked in analytics (at a sampled rate)
|
|
91
|
+
*/
|
|
92
|
+
trackValidTransactions?: {
|
|
93
|
+
samplingRate: number;
|
|
94
|
+
} | boolean;
|
|
95
|
+
/**
|
|
96
|
+
* @default undefined
|
|
97
|
+
* @description
|
|
98
|
+
* Enables the sticky toolbar in the comment/standard editor.
|
|
99
|
+
* If a boolean is specified and it's `true`, the sticky toolbar will be enabled, sticking to the top of the scroll parent.
|
|
100
|
+
* Instead a reference can be specified to an existing sticky toolbar on the page that the editor toolbar should stay below (experimental).
|
|
101
|
+
* if {offsetTop: number} is passed in, the toolbar is sticky and the toolbar's 'top' will be set to the offsetTop
|
|
102
|
+
* so the toolbar will sticks to `{offsetTop}` below the scroll parent.
|
|
103
|
+
*/
|
|
104
|
+
useStickyToolbar?: UseStickyToolbarType;
|
|
105
|
+
/**
|
|
106
|
+
* @default undefined
|
|
107
|
+
* @description
|
|
108
|
+
* Short lived feature flags for experiments and gradual rollouts
|
|
109
|
+
* Flags are expected to follow these rules or they are filtered out
|
|
110
|
+
*
|
|
111
|
+
* 1. cased in kebab-case (match [a-z-])
|
|
112
|
+
* 2. have boolean values
|
|
113
|
+
*
|
|
114
|
+
* @example
|
|
115
|
+
* ```tsx
|
|
116
|
+
* (<Editor featureFlags={{ 'my-feature': true }} />);
|
|
117
|
+
* getFeatureFlags()?.myFeature === true;
|
|
118
|
+
* ```
|
|
119
|
+
*
|
|
120
|
+
* @example
|
|
121
|
+
* ```tsx
|
|
122
|
+
* (<Editor featureFlags={{ 'my-feature': 'thing' }} />);
|
|
123
|
+
* getFeatureFlags()?.myFeature === undefined;
|
|
124
|
+
* ```
|
|
125
|
+
*
|
|
126
|
+
* @example
|
|
127
|
+
* ```tsx
|
|
128
|
+
* (<Editor featureFlags={{ 'product.my-feature': false }} />);
|
|
129
|
+
* getFeatureFlags()?.myFeature === undefined;
|
|
130
|
+
* getFeatureFlags()?.productMyFeature === undefined;
|
|
131
|
+
* ```
|
|
132
|
+
*/
|
|
133
|
+
featureFlags?: {
|
|
134
|
+
[featureFlag: string]: string | boolean;
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
export interface EditorSharedPropsWithPlugins {
|
|
138
|
+
onSave?: (editorView: EditorView) => void;
|
|
139
|
+
/**
|
|
140
|
+
* @description Control performance metric measurements and tracking
|
|
141
|
+
*/
|
|
142
|
+
performanceTracking?: PerformanceTracking;
|
|
143
|
+
sanitizePrivateContent?: boolean;
|
|
144
|
+
media?: MediaOptions;
|
|
145
|
+
collabEdit?: CollabEditOptions;
|
|
146
|
+
primaryToolbarComponents?: PrimaryToolbarComponents;
|
|
147
|
+
allowUndoRedoButtons?: boolean;
|
|
148
|
+
/**
|
|
149
|
+
* Configure and extend editor linking behaviour
|
|
150
|
+
*/
|
|
151
|
+
linking?: LinkingOptions;
|
|
152
|
+
}
|
|
153
|
+
export interface EditorProps extends EditorBaseProps, EditorPluginFeatureProps, EditorSharedPropsWithPlugins, EditorProviderProps {
|
|
154
|
+
/**
|
|
155
|
+
* @deprecated Do not use outside of Editor team.
|
|
156
|
+
* This has subtle side effects - you __WILL__ break functionality without implementer knowledge of editor-core internals
|
|
157
|
+
*/
|
|
158
|
+
dangerouslyAppendPlugins?: {
|
|
159
|
+
/**
|
|
160
|
+
* @deprecated Do not use outside of Editor team.
|
|
161
|
+
*/
|
|
162
|
+
__plugins: EditorPlugin[];
|
|
163
|
+
};
|
|
164
|
+
}
|
|
165
|
+
export interface EditorNextProps extends EditorBaseProps, EditorSharedPropsWithPlugins, EditorProviderProps {
|
|
166
|
+
preset: EditorPresetBuilder<string[], AllEditorPresetPluginTypes[]>;
|
|
167
|
+
}
|
|
168
|
+
export interface EditorProviderProps {
|
|
169
|
+
activityProvider?: Promise<ActivityProvider>;
|
|
170
|
+
searchProvider?: Promise<SearchProvider>;
|
|
171
|
+
annotationProviders?: AnnotationProviders;
|
|
172
|
+
collabEditProvider?: Providers['collabEditProvider'];
|
|
173
|
+
presenceProvider?: Promise<any>;
|
|
174
|
+
emojiProvider?: Providers['emojiProvider'];
|
|
175
|
+
taskDecisionProvider?: Promise<TaskDecisionProvider>;
|
|
176
|
+
legacyImageUploadProvider?: Providers['imageUploadProvider'];
|
|
177
|
+
mentionProvider?: Promise<MentionProvider>;
|
|
178
|
+
autoformattingProvider?: Providers['autoformattingProvider'];
|
|
179
|
+
macroProvider?: Providers['macroProvider'];
|
|
180
|
+
contextIdentifierProvider?: Promise<ContextIdentifierProvider>;
|
|
181
|
+
}
|
|
182
|
+
export interface EditorPluginFeatureProps {
|
|
183
|
+
allowExpand?: boolean | {
|
|
184
|
+
allowInsertion?: boolean;
|
|
185
|
+
allowInteractiveExpand?: boolean;
|
|
186
|
+
};
|
|
187
|
+
allowNestedTasks?: boolean;
|
|
188
|
+
allowBlockType?: BlockTypePluginOptions['allowBlockType'];
|
|
189
|
+
allowTasksAndDecisions?: boolean;
|
|
190
|
+
allowBreakout?: boolean;
|
|
191
|
+
allowRule?: boolean;
|
|
192
|
+
allowHelpDialog?: boolean;
|
|
193
|
+
allowJiraIssue?: boolean;
|
|
194
|
+
allowPanel?: boolean | PanelPluginConfig;
|
|
195
|
+
allowExtension?: boolean | ExtensionConfig;
|
|
196
|
+
allowConfluenceInlineComment?: boolean;
|
|
197
|
+
allowTemplatePlaceholders?: boolean | PlaceholderTextOptions;
|
|
198
|
+
allowDate?: boolean | DatePluginConfig;
|
|
199
|
+
allowLayouts?: boolean | LayoutPluginOptions;
|
|
200
|
+
allowStatus?: boolean | {
|
|
201
|
+
menuDisabled: boolean;
|
|
202
|
+
};
|
|
203
|
+
allowTextAlignment?: boolean;
|
|
204
|
+
allowIndentation?: boolean;
|
|
205
|
+
showIndentationButtons?: boolean;
|
|
206
|
+
/**
|
|
207
|
+
* This enables new insertion behaviour only for horizontal rule and media single in certain conditions.
|
|
208
|
+
* The idea of this new behaviour is to have a consistent outcome regardless of the insertion method.
|
|
209
|
+
**/
|
|
210
|
+
allowNewInsertionBehaviour?: boolean;
|
|
211
|
+
allowFindReplace?: boolean | FindReplaceOptions;
|
|
212
|
+
/**
|
|
213
|
+
* Enable experimental support for the "border" mark.
|
|
214
|
+
* Refer to ADF Change proposal #65 for more details.
|
|
215
|
+
* @deprecated Use allowBorderMark instead.
|
|
216
|
+
*/
|
|
217
|
+
UNSAFE_allowBorderMark?: boolean;
|
|
218
|
+
/**
|
|
219
|
+
* Enable support for the "border" mark.
|
|
220
|
+
* Refer to ADF Change proposal #65 for more details.
|
|
221
|
+
*/
|
|
222
|
+
allowBorderMark?: boolean;
|
|
223
|
+
/**
|
|
224
|
+
* Enable support for the "fragment" mark.
|
|
225
|
+
* Refer to ADF Change proposal #60 for more details.
|
|
226
|
+
*/
|
|
227
|
+
allowFragmentMark?: boolean;
|
|
228
|
+
/**
|
|
229
|
+
* Set this to false to opt out of the default behaviour of auto scrolling into view
|
|
230
|
+
* whenever the document is changed
|
|
231
|
+
*/
|
|
232
|
+
autoScrollIntoView?: boolean;
|
|
233
|
+
elementBrowser?: {
|
|
234
|
+
showModal?: boolean;
|
|
235
|
+
replacePlusMenu?: boolean;
|
|
236
|
+
helpUrl?: string;
|
|
237
|
+
emptyStateHandler?: EmptyStateHandler;
|
|
238
|
+
};
|
|
239
|
+
maxContentSize?: number;
|
|
240
|
+
saveOnEnter?: boolean;
|
|
241
|
+
feedbackInfo?: FeedbackInfo;
|
|
242
|
+
mention?: MentionPluginConfig;
|
|
243
|
+
/**
|
|
244
|
+
* flag to indicate display name instead of nick name should be inserted for mentions
|
|
245
|
+
* default: false, which inserts the nick name
|
|
246
|
+
* @deprecated Use mention.mentionInsertDisplayName instead
|
|
247
|
+
*/
|
|
248
|
+
mentionInsertDisplayName?: boolean;
|
|
249
|
+
uploadErrorHandler?: (state: MediaState) => void;
|
|
250
|
+
waitForMediaUpload?: boolean;
|
|
251
|
+
extensionHandlers?: ExtensionHandlers;
|
|
252
|
+
allowTextColor?: boolean | TextColorPluginConfig;
|
|
253
|
+
allowTables?: boolean | TablesPluginConfig;
|
|
254
|
+
insertMenuItems?: MenuItem[];
|
|
255
|
+
/** @deprecated Use linking.smartLinks prop instead. */
|
|
256
|
+
UNSAFE_cards?: CardOptions;
|
|
257
|
+
/** @deprecated Use linking.smartLinks prop instead. */
|
|
258
|
+
smartLinks?: CardOptions;
|
|
259
|
+
allowAnalyticsGASV3?: boolean;
|
|
260
|
+
codeBlock?: CodeBlockOptions;
|
|
261
|
+
textFormatting?: TextFormattingOptions;
|
|
262
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { EditorReactContext } from '@atlaskit/editor-common/types';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { EmptyStateHandler, EmptyStateHandlerParams, } from '@atlaskit/editor-common/types';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { FeatureFlags, FeatureFlagKey, } from '@atlaskit/editor-common/types';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export type { AllowedBlockTypes } from '@atlaskit/editor-common/types';
|
|
2
|
+
export type { EditorInstance } from './editor-instance';
|
|
3
|
+
export type { EditorConfig } from './editor-config';
|
|
4
|
+
export type { NextEditorPlugin, EditorPlugin, PluginsOptions, } from './editor-plugin';
|
|
5
|
+
export type { EditorReactContext } from './editor-react-context';
|
|
6
|
+
export type { EditorProps, FeedbackInfo, ReactComponents, ExtensionProvidersProp, PrimaryToolbarComponents, } from './editor-props';
|
|
7
|
+
export type { EditorAppearanceComponentProps } from './editor-appearance-component';
|
|
8
|
+
export type { Command, CommandDispatch } from './command';
|
|
9
|
+
export type { MessageDescriptor } from './i18n';
|
|
10
|
+
export type { DomAtPos } from './dom-at-pos';
|
|
11
|
+
export type { ExtensionConfig } from './extension-config';
|
|
12
|
+
export type { EditorAppearance } from './editor-appearance';
|
|
13
|
+
export type { ToolbarUIComponentFactory, ToolbarUiComponentFactoryParams, } from '../ui/Toolbar/types';
|
|
14
|
+
export type { PMPlugin, PMPluginFactory, PMPluginFactoryParams, } from './pm-plugin';
|
|
15
|
+
export type { PMPluginCreateConfig } from './pm-plugin-list';
|
|
16
|
+
export type { NodeViewConfig, MarkConfig, NodeConfig } from './pm-config';
|
|
17
|
+
export type { UIComponentFactory, UiComponentFactoryParams, } from './ui-components';
|
|
18
|
+
export type { DisableSpellcheckByBrowser, Range, Browsers } from './browser';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { TTITracking, TransactionTracking, UITracking, CatchAllTracking, NodeViewTracking, BrowserFreezetracking, ProseMirrorRenderedTracking, InputTracking, ContentRetrievalTracking, OnChangeCallbackTracking, OnEditorReadyCallbackTracking, PasteTracking, RenderTracking, PerformanceTracking, } from '@atlaskit/editor-common/types';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { NodeConfig, MarkConfig, NodeViewConfig, } from '@atlaskit/editor-common/types';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { TransactionTracker } from '../utils/performance/track-transactions';
|
|
2
|
+
import { EditorConfig } from './editor-config';
|
|
3
|
+
import { PerformanceTracking } from './performance-tracking';
|
|
4
|
+
import { PMPluginFactoryParams } from './pm-plugin';
|
|
5
|
+
export type PMPluginCreateConfig = PMPluginFactoryParams & {
|
|
6
|
+
editorConfig: EditorConfig;
|
|
7
|
+
performanceTracking?: PerformanceTracking;
|
|
8
|
+
transactionTracker?: TransactionTracker;
|
|
9
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { PMPluginFactoryParams, PMPluginFactory, PMPlugin, } from '@atlaskit/editor-common/types';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { UiComponentFactoryParams, UIComponentFactory, } from '@atlaskit/editor-common/types';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
4
|
+
export interface Props {
|
|
5
|
+
editorView?: EditorView;
|
|
6
|
+
children?: any;
|
|
7
|
+
editorDisabled?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare const ClickAreaBlock: React.FC<Props>;
|
|
10
|
+
export default ClickAreaBlock;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { jsx } from '@emotion/react';
|
|
4
|
+
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
5
|
+
export interface Props {
|
|
6
|
+
editorView?: EditorView;
|
|
7
|
+
minHeight: number;
|
|
8
|
+
children?: any;
|
|
9
|
+
persistScrollGutter?: boolean;
|
|
10
|
+
isExpanded?: boolean;
|
|
11
|
+
editorDisabled?: boolean;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Click Area is responsible for improving UX by ensuring the user
|
|
15
|
+
* can always tap beneath the content area, to insert more content.
|
|
16
|
+
*
|
|
17
|
+
* This is achieved by inserting a new empty paragraph at the end of
|
|
18
|
+
* the document (if one doesn't already exist).
|
|
19
|
+
*
|
|
20
|
+
* This is particularly important when the content exceeds the visible
|
|
21
|
+
* viewport height, and if the last content node captures text selection
|
|
22
|
+
* e.g. table, layouts, codeblock, etc.
|
|
23
|
+
*
|
|
24
|
+
* This relies on the Scroll Gutter plugin which inserts additional
|
|
25
|
+
* whitespace at the end of the document when it overflows the viewport.
|
|
26
|
+
*/
|
|
27
|
+
export default class ClickAreaMobile extends React.Component<Props> {
|
|
28
|
+
private clickElementRef;
|
|
29
|
+
private handleClick;
|
|
30
|
+
render(): jsx.JSX.Element;
|
|
31
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { jsx } from '@emotion/react';
|
|
4
|
+
import { RenderOnClickHandler } from '../../Addon/types';
|
|
5
|
+
import EditorActions from '../../../actions';
|
|
6
|
+
export interface Props {
|
|
7
|
+
onClick: (actionOnClick: EditorActions, renderOnClick: RenderOnClickHandler) => void;
|
|
8
|
+
editorActions: EditorActions;
|
|
9
|
+
togglePopup: () => void;
|
|
10
|
+
}
|
|
11
|
+
export default class DropdownWrapper extends React.Component<Props, any> {
|
|
12
|
+
render(): jsx.JSX.Element;
|
|
13
|
+
private handleClick;
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const dropdown: import("@emotion/react").SerializedStyles;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const dropdownItem: import("@emotion/react").SerializedStyles;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
2
|
+
/**
|
|
3
|
+
* @see ED-14699 - check if editor is inside a modal to continue to bring cursor to input when
|
|
4
|
+
* any part of the editor container is clicked
|
|
5
|
+
*
|
|
6
|
+
* Handles two cases when a click event is fired:
|
|
7
|
+
*
|
|
8
|
+
* 1. if editor (e.g. comment inside of Jira ticket view) is inside modal then ensure focus and cursor is brought to the input
|
|
9
|
+
* 2. if another modal is open (e.g. delete confirmation modal for confluence table) then ignore clicks as they shouldn't influence editor state
|
|
10
|
+
*/
|
|
11
|
+
export declare const checkForModal: (target: HTMLElement) => boolean;
|
|
12
|
+
declare const clickAreaClickHandler: (view: EditorView, event: React.MouseEvent<any>) => false | undefined;
|
|
13
|
+
export { clickAreaClickHandler };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export type { AddonActions, AddonCommonProps, AddonConfiguration, AddonProps, RenderOnClickHandler, } from './types';
|
|
2
|
+
export { default as Addon } from './DropdownItem';
|
|
3
|
+
export { default as Dropdown } from './Dropdown';
|
|
4
|
+
export { default as ClickAreaInline } from './ClickAreaInline';
|
|
5
|
+
export { default as ClickAreaBlock } from './ClickAreaBlock';
|
|
6
|
+
export { default as ClickAreaMobile } from './ClickAreaMobile';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import EditorActions from '../../actions';
|
|
3
|
+
export type RenderOnClickHandler = (editorActions: EditorActions, closePopup: () => void) => React.ReactElement<any>;
|
|
4
|
+
export interface AddonActions {
|
|
5
|
+
actionOnClick?: (editorActions: EditorActions) => void;
|
|
6
|
+
renderOnClick?: RenderOnClickHandler;
|
|
7
|
+
}
|
|
8
|
+
export interface AddonCommonProps extends AddonActions {
|
|
9
|
+
icon: React.ReactElement<any>;
|
|
10
|
+
}
|
|
11
|
+
export interface AddonProps extends AddonCommonProps {
|
|
12
|
+
onClick?: (actions: AddonActions) => void;
|
|
13
|
+
children?: React.ReactElement<any>[];
|
|
14
|
+
}
|
|
15
|
+
export interface AddonConfiguration extends AddonCommonProps {
|
|
16
|
+
text: string;
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { PureComponent } from 'react';
|
|
3
|
+
import { AlignmentState } from '../../../plugins/alignment/pm-plugins/types';
|
|
4
|
+
import { Keymap } from '../../../keymaps';
|
|
5
|
+
export interface Props {
|
|
6
|
+
value: AlignmentState;
|
|
7
|
+
label: string;
|
|
8
|
+
isSelected?: boolean;
|
|
9
|
+
onClick: (value: AlignmentState, shouldClosePopup: boolean) => void;
|
|
10
|
+
content: React.ReactElement<any>;
|
|
11
|
+
shortcut?: Keymap;
|
|
12
|
+
}
|
|
13
|
+
declare class AlignmentButton extends PureComponent<Props> {
|
|
14
|
+
render(): JSX.Element;
|
|
15
|
+
onClick: (e: any) => void;
|
|
16
|
+
}
|
|
17
|
+
export default AlignmentButton;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { WrappedComponentProps } from 'react-intl-next';
|
|
3
|
+
import type { AlignmentState } from '../../plugins/alignment/pm-plugins/types';
|
|
4
|
+
export interface Props {
|
|
5
|
+
selectedAlignment?: string;
|
|
6
|
+
onClick: (value: AlignmentState) => void;
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
declare const _default: import("react").FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps<"intl">>> & {
|
|
10
|
+
WrappedComponent: import("react").ComponentType<Props & WrappedComponentProps<"intl">>;
|
|
11
|
+
};
|
|
12
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const alignmentWrapper: import("@emotion/react").SerializedStyles;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { jsx } from '@emotion/react';
|
|
4
|
+
import { EditorAppearanceComponentProps } from '../../types';
|
|
5
|
+
export default class Editor extends React.Component<EditorAppearanceComponentProps, any> {
|
|
6
|
+
static displayName: string;
|
|
7
|
+
private appearance;
|
|
8
|
+
private containerElement;
|
|
9
|
+
private renderChrome;
|
|
10
|
+
render(): jsx.JSX.Element;
|
|
11
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import type { EditorAppearanceComponentProps } from '../../../types';
|
|
4
|
+
import type { WrappedComponentProps } from 'react-intl-next';
|
|
5
|
+
export declare const CommentEditorWithIntl: React.FC<import("react-intl-next").WithIntlProps<EditorAppearanceComponentProps & WrappedComponentProps<"intl">>> & {
|
|
6
|
+
WrappedComponent: React.ComponentType<EditorAppearanceComponentProps & WrappedComponentProps<"intl">>;
|
|
7
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { UseStickyToolbarType } from '@atlaskit/editor-common/ui';
|
|
3
|
+
export declare const TableControlsPadding = 20;
|
|
4
|
+
type MainToolbarProps = {
|
|
5
|
+
useStickyToolbar?: UseStickyToolbarType;
|
|
6
|
+
};
|
|
7
|
+
export declare const MainToolbar: React.FC<MainToolbarProps>;
|
|
8
|
+
export declare const mainToolbarCustomComponentsSlotStyle: import("@emotion/react").SerializedStyles;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CommentEditorWithIntl as default } from './Comment';
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
2
|
+
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
3
|
+
import type { ReactElement } from 'react';
|
|
4
|
+
import React from 'react';
|
|
5
|
+
import type { WrappedComponentProps } from 'react-intl-next';
|
|
6
|
+
import type EditorActions from '../../../actions';
|
|
7
|
+
import type { EventDispatcher } from '../../../event-dispatcher';
|
|
8
|
+
import type { ReactComponents, EditorAppearance, UIComponentFactory } from '../../../types';
|
|
9
|
+
import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
|
|
10
|
+
import type { ReactHookFactory } from '@atlaskit/editor-common/types';
|
|
11
|
+
import type { FeatureFlags } from '../../../types/feature-flags';
|
|
12
|
+
interface FullPageEditorContentAreaProps {
|
|
13
|
+
appearance: EditorAppearance | undefined;
|
|
14
|
+
contentComponents: UIComponentFactory[] | undefined;
|
|
15
|
+
pluginHooks: ReactHookFactory[] | undefined;
|
|
16
|
+
contextPanel: ReactComponents | undefined;
|
|
17
|
+
customContentComponents: ReactComponents | undefined;
|
|
18
|
+
disabled: boolean | undefined;
|
|
19
|
+
dispatchAnalyticsEvent: DispatchAnalyticsEvent | undefined;
|
|
20
|
+
editorActions: EditorActions | undefined;
|
|
21
|
+
editorDOMElement: ReactElement;
|
|
22
|
+
editorView: EditorView;
|
|
23
|
+
eventDispatcher: EventDispatcher | undefined;
|
|
24
|
+
popupsMountPoint: HTMLElement | undefined;
|
|
25
|
+
popupsBoundariesElement: HTMLElement | undefined;
|
|
26
|
+
popupsScrollableElement: HTMLElement | undefined;
|
|
27
|
+
providerFactory: ProviderFactory;
|
|
28
|
+
wrapperElement: HTMLElement | null;
|
|
29
|
+
featureFlags?: FeatureFlags;
|
|
30
|
+
}
|
|
31
|
+
export declare const CONTENT_AREA_TEST_ID = "ak-editor-fp-content-area";
|
|
32
|
+
type ScrollContainerRefs = {
|
|
33
|
+
scrollContainer: HTMLDivElement | null;
|
|
34
|
+
contentArea: HTMLDivElement | null;
|
|
35
|
+
};
|
|
36
|
+
export declare const FullPageContentArea: React.ForwardRefExoticComponent<Pick<import("react-intl-next").WithIntlProps<React.PropsWithChildren<FullPageEditorContentAreaProps & WrappedComponentProps<"intl"> & React.RefAttributes<ScrollContainerRefs>>>, "key" | "children" | "forwardedRef" | keyof FullPageEditorContentAreaProps> & React.RefAttributes<any>> & {
|
|
37
|
+
WrappedComponent: React.ComponentType<FullPageEditorContentAreaProps & WrappedComponentProps<"intl"> & React.RefAttributes<ScrollContainerRefs>>;
|
|
38
|
+
};
|
|
39
|
+
export {};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/** @jsx jsx */
|
|
2
|
+
import type { ReactElement } from 'react';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { jsx } from '@emotion/react';
|
|
5
|
+
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
6
|
+
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
7
|
+
import type { WrappedComponentProps } from 'react-intl-next';
|
|
8
|
+
import type { EditorAppearance, ToolbarUIComponentFactory, PrimaryToolbarComponents } from '../../../types';
|
|
9
|
+
import type { CollabEditOptions } from '@atlaskit/editor-common/collab';
|
|
10
|
+
import type { DispatchAnalyticsEvent } from '../../../plugins/analytics';
|
|
11
|
+
import type { EventDispatcher } from '../../../event-dispatcher';
|
|
12
|
+
import type { EditorActions } from '../../..';
|
|
13
|
+
import type { FeatureFlags } from '../../../types/feature-flags';
|
|
14
|
+
export interface FullPageToolbarProps {
|
|
15
|
+
appearance?: EditorAppearance;
|
|
16
|
+
providerFactory: ProviderFactory;
|
|
17
|
+
editorActions?: EditorActions;
|
|
18
|
+
editorDOMElement: JSX.Element;
|
|
19
|
+
editorView: EditorView;
|
|
20
|
+
eventDispatcher: EventDispatcher;
|
|
21
|
+
dispatchAnalyticsEvent?: DispatchAnalyticsEvent;
|
|
22
|
+
primaryToolbarComponents?: ToolbarUIComponentFactory[];
|
|
23
|
+
customPrimaryToolbarComponents?: PrimaryToolbarComponents;
|
|
24
|
+
popupsMountPoint?: HTMLElement;
|
|
25
|
+
popupsBoundariesElement?: HTMLElement;
|
|
26
|
+
popupsScrollableElement?: HTMLElement;
|
|
27
|
+
disabled: boolean;
|
|
28
|
+
collabEdit?: CollabEditOptions;
|
|
29
|
+
showKeyline: boolean;
|
|
30
|
+
containerElement: HTMLElement | null;
|
|
31
|
+
beforeIcon?: ReactElement;
|
|
32
|
+
hasMinWidth?: boolean;
|
|
33
|
+
featureFlags?: FeatureFlags;
|
|
34
|
+
}
|
|
35
|
+
export declare const EditorToolbar: React.MemoExoticComponent<(props: FullPageToolbarProps & WrappedComponentProps) => jsx.JSX.Element>;
|
|
36
|
+
export declare const FullPageToolbar: React.FC<import("react-intl-next").WithIntlProps<FullPageToolbarProps & WrappedComponentProps<"intl">>> & {
|
|
37
|
+
WrappedComponent: React.ComponentType<FullPageToolbarProps & WrappedComponentProps<"intl">>;
|
|
38
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const MAXIMUM_TWO_LINE_TOOLBAR_BREAKPOINT = 868;
|
|
2
|
+
export declare const mainToolbarStyle: (showKeyline: boolean, twoLineEditorToolbar: boolean) => (false | import("@emotion/react").SerializedStyles)[];
|
|
3
|
+
export declare const mainToolbarIconBeforeStyle: import("@emotion/react").SerializedStyles;
|
|
4
|
+
export declare const mainToolbarFirstChildStyle: (twoLineEditorToolbar: boolean) => (false | import("@emotion/react").SerializedStyles)[];
|
|
5
|
+
export declare const mainToolbarSecondChildStyle: (twoLineEditorToolbar: boolean) => (false | import("@emotion/react").SerializedStyles)[];
|
|
6
|
+
export declare const nonCustomToolbarWrapperStyle: import("@emotion/react").SerializedStyles;
|
|
7
|
+
export declare const customToolbarWrapperStyle: import("@emotion/react").SerializedStyles;
|