@atlaskit/editor-core 188.3.1 → 188.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -0
- package/dist/cjs/labs/next/presets/universal.js +4 -2
- package/dist/cjs/plugins/date/actions.js +14 -8
- package/dist/cjs/plugins/date/index.js +5 -179
- package/dist/cjs/plugins/date/plugin.js +191 -0
- package/dist/cjs/plugins/date/pm-plugins/main.js +5 -5
- package/dist/cjs/plugins/date/ui/DatePicker/date-picker-input.js +14 -14
- package/dist/cjs/plugins/date/ui/DatePicker/index.js +4 -5
- package/dist/cjs/plugins/index.js +2 -9
- package/dist/cjs/plugins/insert-block/ui/ToolbarInsertBlock/index.js +38 -39
- package/dist/cjs/plugins/mentions/index.js +31 -21
- package/dist/cjs/plugins/mentions/ui/ToolbarMention/index.js +1 -3
- package/dist/cjs/plugins/placeholder-text/index.js +9 -9
- package/dist/cjs/plugins/type-ahead/api.js +8 -26
- package/dist/cjs/plugins/type-ahead/index.js +135 -4
- package/dist/cjs/plugins/undo-redo/index.js +10 -8
- package/dist/cjs/plugins/undo-redo/types.js +5 -0
- package/dist/cjs/plugins/undo-redo/ui/ToolbarUndoRedo/index.js +10 -9
- package/dist/cjs/test-utils.js +0 -7
- package/dist/cjs/ui/ContentStyles/index.js +2 -2
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/labs/next/presets/universal.js +3 -1
- package/dist/es2019/plugins/date/actions.js +24 -17
- package/dist/es2019/plugins/date/index.js +1 -173
- package/dist/es2019/plugins/date/plugin.js +177 -0
- package/dist/es2019/plugins/date/pm-plugins/main.js +1 -1
- package/dist/es2019/plugins/date/ui/DatePicker/date-picker-input.js +3 -2
- package/dist/es2019/plugins/date/ui/DatePicker/index.js +2 -2
- package/dist/es2019/plugins/index.js +2 -3
- package/dist/es2019/plugins/insert-block/ui/ToolbarInsertBlock/index.js +5 -7
- package/dist/es2019/plugins/mentions/index.js +30 -22
- package/dist/es2019/plugins/mentions/ui/ToolbarMention/index.js +2 -5
- package/dist/es2019/plugins/placeholder-text/index.js +8 -8
- package/dist/es2019/plugins/type-ahead/api.js +9 -28
- package/dist/es2019/plugins/type-ahead/index.js +140 -5
- package/dist/es2019/plugins/undo-redo/index.js +5 -2
- package/dist/es2019/plugins/undo-redo/types.js +1 -0
- package/dist/es2019/plugins/undo-redo/ui/ToolbarUndoRedo/index.js +10 -9
- package/dist/es2019/test-utils.js +0 -1
- package/dist/es2019/ui/ContentStyles/index.js +1 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/labs/next/presets/universal.js +3 -1
- package/dist/esm/plugins/date/actions.js +14 -8
- package/dist/esm/plugins/date/index.js +1 -175
- package/dist/esm/plugins/date/plugin.js +179 -0
- package/dist/esm/plugins/date/pm-plugins/main.js +1 -1
- package/dist/esm/plugins/date/ui/DatePicker/date-picker-input.js +3 -2
- package/dist/esm/plugins/date/ui/DatePicker/index.js +2 -2
- package/dist/esm/plugins/index.js +2 -3
- package/dist/esm/plugins/insert-block/ui/ToolbarInsertBlock/index.js +32 -33
- package/dist/esm/plugins/mentions/index.js +32 -22
- package/dist/esm/plugins/mentions/ui/ToolbarMention/index.js +2 -5
- package/dist/esm/plugins/placeholder-text/index.js +9 -9
- package/dist/esm/plugins/type-ahead/api.js +9 -27
- package/dist/esm/plugins/type-ahead/index.js +136 -5
- package/dist/esm/plugins/undo-redo/index.js +10 -8
- package/dist/esm/plugins/undo-redo/types.js +1 -0
- package/dist/esm/plugins/undo-redo/ui/ToolbarUndoRedo/index.js +10 -9
- package/dist/esm/test-utils.js +0 -1
- package/dist/esm/ui/ContentStyles/index.js +1 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/labs/next/presets/default.d.ts +228 -18
- package/dist/types/plugins/date/actions.d.ts +42 -6
- package/dist/types/plugins/date/index.d.ts +2 -14
- package/dist/types/plugins/date/plugin.d.ts +3 -0
- package/dist/types/plugins/date/pm-plugins/main.d.ts +2 -2
- package/dist/types/plugins/date/types.d.ts +18 -0
- package/dist/types/plugins/date/ui/DatePicker/date-picker-input.d.ts +3 -4
- package/dist/types/plugins/date/ui/DatePicker/index.d.ts +1 -1
- package/dist/types/plugins/date/utils/internal.d.ts +2 -2
- package/dist/types/plugins/index.d.ts +1 -2
- package/dist/types/plugins/insert-block/types.d.ts +5 -3
- package/dist/types/plugins/insert-block/ui/ToolbarInsertBlock/types.d.ts +1 -2
- package/dist/types/plugins/layout/actions.d.ts +1 -1
- package/dist/types/plugins/mentions/index.d.ts +11 -4
- package/dist/types/plugins/mentions/ui/ToolbarMention/index.d.ts +1 -0
- package/dist/types/plugins/placeholder-text/index.d.ts +8 -3
- package/dist/types/plugins/status/actions.d.ts +1 -1
- package/dist/types/plugins/tasks-and-decisions/commands.d.ts +1 -1
- package/dist/types/plugins/type-ahead/api.d.ts +7 -9
- package/dist/types/plugins/type-ahead/utils.d.ts +1 -2
- package/dist/types/plugins/undo-redo/index.d.ts +2 -2
- package/dist/types/plugins/undo-redo/types.d.ts +5 -0
- package/dist/types/plugins/undo-redo/ui/ToolbarUndoRedo/index.d.ts +3 -0
- package/dist/types/plugins/view-update-subscription/subscribe/toolbarAndPickerUpdates.d.ts +2 -2
- package/dist/types/test-utils.d.ts +0 -1
- package/dist/types/types/editor-props.d.ts +1 -1
- package/dist/types/ui/Appearance/FullPage/StyledComponents.d.ts +1 -1
- package/dist/types/ui/ConfigPanel/ConfigPanel.d.ts +1 -1
- package/dist/types/ui/ContentStyles/index.d.ts +2 -2
- package/package.json +12 -7
- package/dist/cjs/plugins/border/index.js +0 -19
- package/dist/es2019/plugins/border/index.js +0 -11
- package/dist/esm/plugins/border/index.js +0 -13
- package/dist/types/plugins/border/index.d.ts +0 -3
- package/dist/types/plugins/date/styles.d.ts +0 -1
- package/dist/types-ts4.5/actions/index.d.ts +0 -49
- package/dist/types-ts4.5/commands/index.d.ts +0 -1
- package/dist/types-ts4.5/composable-editor/editor-internal.d.ts +0 -34
- package/dist/types-ts4.5/composable-editor/editor.d.ts +0 -9
- package/dist/types-ts4.5/composable-editor/hooks/useEditorMeasuresConstructor.d.ts +0 -17
- package/dist/types-ts4.5/composable-editor/hooks/useMeasureEditorMountTime.d.ts +0 -13
- package/dist/types-ts4.5/composable-editor/hooks/useProviderFactory.d.ts +0 -14
- package/dist/types-ts4.5/composable-editor/utils/editorMeasureTTICallback.d.ts +0 -5
- package/dist/types-ts4.5/composable-editor/utils/getBaseFontSize.d.ts +0 -6
- package/dist/types-ts4.5/composable-editor/utils/getProvidersFromEditorProps.d.ts +0 -9
- package/dist/types-ts4.5/composable-editor/utils/handleProviders.d.ts +0 -12
- package/dist/types-ts4.5/composable-editor/utils/sendDurationAnalytics.d.ts +0 -15
- package/dist/types-ts4.5/composable-editor/utils/trackEditorActions.d.ts +0 -29
- package/dist/types-ts4.5/composable-editor.d.ts +0 -1
- package/dist/types-ts4.5/create-editor/ErrorBoundary.d.ts +0 -44
- package/dist/types-ts4.5/create-editor/ReactEditorView.d.ts +0 -8
- package/dist/types-ts4.5/create-editor/ReactEditorViewContext.d.ts +0 -2
- package/dist/types-ts4.5/create-editor/ReactEditorViewInternal.d.ts +0 -119
- package/dist/types-ts4.5/create-editor/ReactEditorViewNext.d.ts +0 -8
- package/dist/types-ts4.5/create-editor/WithEditorView.d.ts +0 -6
- package/dist/types-ts4.5/create-editor/consts.d.ts +0 -3
- package/dist/types-ts4.5/create-editor/create-editor.d.ts +0 -18
- package/dist/types-ts4.5/create-editor/create-plugins-list.d.ts +0 -16
- package/dist/types-ts4.5/create-editor/create-preset.d.ts +0 -3
- package/dist/types-ts4.5/create-editor/create-schema.d.ts +0 -6
- package/dist/types-ts4.5/create-editor/feature-flags-from-props.d.ts +0 -7
- package/dist/types-ts4.5/create-editor/get-plugins.d.ts +0 -44
- package/dist/types-ts4.5/create-editor/get-ui-component.d.ts +0 -3
- package/dist/types-ts4.5/create-editor/index.d.ts +0 -3
- package/dist/types-ts4.5/create-editor/messages.d.ts +0 -7
- package/dist/types-ts4.5/create-editor/preset-utils.d.ts +0 -2
- package/dist/types-ts4.5/create-editor/sort-by-order.d.ts +0 -14
- package/dist/types-ts4.5/editor.d.ts +0 -10
- package/dist/types-ts4.5/element-browser.d.ts +0 -1
- package/dist/types-ts4.5/event-dispatcher/index.d.ts +0 -2
- package/dist/types-ts4.5/extensibility.d.ts +0 -15
- package/dist/types-ts4.5/extensions.d.ts +0 -1
- package/dist/types-ts4.5/i18n/cs.d.ts +0 -140
- package/dist/types-ts4.5/i18n/da.d.ts +0 -139
- package/dist/types-ts4.5/i18n/de.d.ts +0 -139
- package/dist/types-ts4.5/i18n/en.d.ts +0 -141
- package/dist/types-ts4.5/i18n/en_GB.d.ts +0 -141
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +0 -141
- package/dist/types-ts4.5/i18n/es.d.ts +0 -139
- package/dist/types-ts4.5/i18n/et.d.ts +0 -168
- package/dist/types-ts4.5/i18n/fi.d.ts +0 -139
- package/dist/types-ts4.5/i18n/fr.d.ts +0 -139
- package/dist/types-ts4.5/i18n/hu.d.ts +0 -139
- package/dist/types-ts4.5/i18n/index.d.ts +0 -35
- package/dist/types-ts4.5/i18n/is.d.ts +0 -153
- package/dist/types-ts4.5/i18n/it.d.ts +0 -139
- package/dist/types-ts4.5/i18n/ja.d.ts +0 -139
- package/dist/types-ts4.5/i18n/ko.d.ts +0 -139
- package/dist/types-ts4.5/i18n/languages.d.ts +0 -38
- package/dist/types-ts4.5/i18n/nb.d.ts +0 -139
- package/dist/types-ts4.5/i18n/nl.d.ts +0 -139
- package/dist/types-ts4.5/i18n/pl.d.ts +0 -139
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +0 -139
- package/dist/types-ts4.5/i18n/pt_PT.d.ts +0 -180
- package/dist/types-ts4.5/i18n/ro.d.ts +0 -153
- package/dist/types-ts4.5/i18n/ru.d.ts +0 -139
- package/dist/types-ts4.5/i18n/sk.d.ts +0 -168
- package/dist/types-ts4.5/i18n/sv.d.ts +0 -139
- package/dist/types-ts4.5/i18n/th.d.ts +0 -139
- package/dist/types-ts4.5/i18n/tr.d.ts +0 -139
- package/dist/types-ts4.5/i18n/uk.d.ts +0 -139
- package/dist/types-ts4.5/i18n/vi.d.ts +0 -139
- package/dist/types-ts4.5/i18n/zh.d.ts +0 -139
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +0 -139
- package/dist/types-ts4.5/index.d.ts +0 -46
- package/dist/types-ts4.5/keymaps/index.d.ts +0 -2
- package/dist/types-ts4.5/labs/CollapsedEditor/index.d.ts +0 -26
- package/dist/types-ts4.5/labs/EditorWithActions/index.d.ts +0 -26
- package/dist/types-ts4.5/labs/next/presets/default.d.ts +0 -906
- package/dist/types-ts4.5/labs/next/presets/types.d.ts +0 -6
- package/dist/types-ts4.5/labs/next/presets/universal.d.ts +0 -21
- package/dist/types-ts4.5/labs/next/presets/useUniversalPreset.d.ts +0 -7
- package/dist/types-ts4.5/labs-next.d.ts +0 -1
- package/dist/types-ts4.5/messages.d.ts +0 -8
- package/dist/types-ts4.5/nodeviews/context-adapter.d.ts +0 -2
- package/dist/types-ts4.5/nodeviews/getInlineNodeViewProducer.styles.d.ts +0 -1
- package/dist/types-ts4.5/nodeviews/getPerformanceOptions.d.ts +0 -2
- package/dist/types-ts4.5/nodeviews/index.d.ts +0 -1
- package/dist/types-ts4.5/nodeviews/types.d.ts +0 -12
- package/dist/types-ts4.5/plugins/alignment/commands/index.d.ts +0 -4
- package/dist/types-ts4.5/plugins/alignment/index.d.ts +0 -5
- package/dist/types-ts4.5/plugins/alignment/pm-plugins/keymap.d.ts +0 -2
- package/dist/types-ts4.5/plugins/alignment/pm-plugins/main.d.ts +0 -8
- package/dist/types-ts4.5/plugins/alignment/pm-plugins/types.d.ts +0 -5
- package/dist/types-ts4.5/plugins/alignment/ui/ToolbarAlignment/icon-map.d.ts +0 -6
- package/dist/types-ts4.5/plugins/alignment/ui/ToolbarAlignment/index.d.ts +0 -33
- package/dist/types-ts4.5/plugins/alignment/ui/ToolbarAlignment/messages.d.ts +0 -22
- package/dist/types-ts4.5/plugins/alignment/ui/ToolbarAlignment/styles.d.ts +0 -3
- package/dist/types-ts4.5/plugins/alignment/utils/index.d.ts +0 -3
- package/dist/types-ts4.5/plugins/analytics/consts.d.ts +0 -3
- package/dist/types-ts4.5/plugins/analytics/index.d.ts +0 -8
- package/dist/types-ts4.5/plugins/analytics/plugin-key.d.ts +0 -8
- package/dist/types-ts4.5/plugins/analytics/plugin.d.ts +0 -29
- package/dist/types-ts4.5/plugins/analytics/types/dispatch-analytics-event.d.ts +0 -1
- package/dist/types-ts4.5/plugins/analytics/types/enums.d.ts +0 -1
- package/dist/types-ts4.5/plugins/analytics/types/events.d.ts +0 -1
- package/dist/types-ts4.5/plugins/analytics/types/experimental-events.d.ts +0 -1
- package/dist/types-ts4.5/plugins/analytics/types/extension-events.d.ts +0 -2
- package/dist/types-ts4.5/plugins/analytics/types/general-events.d.ts +0 -2
- package/dist/types-ts4.5/plugins/analytics/types/index.d.ts +0 -9
- package/dist/types-ts4.5/plugins/analytics/types/inline-comment-events.d.ts +0 -2
- package/dist/types-ts4.5/plugins/analytics/types/link-tool-bar-events.d.ts +0 -1
- package/dist/types-ts4.5/plugins/analytics/types/media-events.d.ts +0 -1
- package/dist/types-ts4.5/plugins/analytics/types/node-events.d.ts +0 -2
- package/dist/types-ts4.5/plugins/analytics/types/selection-events.d.ts +0 -1
- package/dist/types-ts4.5/plugins/analytics/types/smart-links.d.ts +0 -2
- package/dist/types-ts4.5/plugins/analytics/types/toolbar-button.d.ts +0 -2
- package/dist/types-ts4.5/plugins/analytics/utils.d.ts +0 -22
- package/dist/types-ts4.5/plugins/annotation/commands/index.d.ts +0 -16
- package/dist/types-ts4.5/plugins/annotation/commands/transform.d.ts +0 -11
- package/dist/types-ts4.5/plugins/annotation/index.d.ts +0 -12
- package/dist/types-ts4.5/plugins/annotation/nodeviews/index.d.ts +0 -11
- package/dist/types-ts4.5/plugins/annotation/pm-plugins/inline-comment.d.ts +0 -3
- package/dist/types-ts4.5/plugins/annotation/pm-plugins/keymap.d.ts +0 -2
- package/dist/types-ts4.5/plugins/annotation/pm-plugins/plugin-factory.d.ts +0 -2
- package/dist/types-ts4.5/plugins/annotation/pm-plugins/reducer.d.ts +0 -3
- package/dist/types-ts4.5/plugins/annotation/pm-plugins/types.d.ts +0 -78
- package/dist/types-ts4.5/plugins/annotation/toolbar.d.ts +0 -4
- package/dist/types-ts4.5/plugins/annotation/types.d.ts +0 -86
- package/dist/types-ts4.5/plugins/annotation/ui/AnnotationViewWrapper.d.ts +0 -10
- package/dist/types-ts4.5/plugins/annotation/ui/InlineCommentView.d.ts +0 -11
- package/dist/types-ts4.5/plugins/annotation/update-provider.d.ts +0 -8
- package/dist/types-ts4.5/plugins/annotation/utils.d.ts +0 -40
- package/dist/types-ts4.5/plugins/avatar-group/index.d.ts +0 -14
- package/dist/types-ts4.5/plugins/avatar-group/messages.d.ts +0 -7
- package/dist/types-ts4.5/plugins/avatar-group/ui/AvatarGroupPluginWrapper.d.ts +0 -15
- package/dist/types-ts4.5/plugins/before-primaryToolbar/index.d.ts +0 -8
- package/dist/types-ts4.5/plugins/before-primaryToolbar/ui/BeforePrimaryToolbarWrapper.d.ts +0 -5
- package/dist/types-ts4.5/plugins/better-type-history/index.d.ts +0 -13
- package/dist/types-ts4.5/plugins/better-type-history/pm-plugins/main.d.ts +0 -3
- package/dist/types-ts4.5/plugins/better-type-history/pm-plugins/plugin-key.d.ts +0 -2
- package/dist/types-ts4.5/plugins/border/index.d.ts +0 -3
- package/dist/types-ts4.5/plugins/breakout/commands/remove-breakout.d.ts +0 -2
- package/dist/types-ts4.5/plugins/breakout/commands/set-breakout-mode.d.ts +0 -3
- package/dist/types-ts4.5/plugins/breakout/constants.d.ts +0 -4
- package/dist/types-ts4.5/plugins/breakout/index.d.ts +0 -14
- package/dist/types-ts4.5/plugins/breakout/plugin-key.d.ts +0 -5
- package/dist/types-ts4.5/plugins/breakout/types.d.ts +0 -4
- package/dist/types-ts4.5/plugins/breakout/ui/LayoutButton.d.ts +0 -17
- package/dist/types-ts4.5/plugins/breakout/utils/find-breakout-node.d.ts +0 -9
- package/dist/types-ts4.5/plugins/breakout/utils/get-breakout-mode.d.ts +0 -7
- package/dist/types-ts4.5/plugins/breakout/utils/is-breakout-mark-allowed.d.ts +0 -9
- package/dist/types-ts4.5/plugins/breakout/utils/is-supported-node.d.ts +0 -6
- package/dist/types-ts4.5/plugins/clear-marks-on-change-to-empty-document/index.d.ts +0 -7
- package/dist/types-ts4.5/plugins/code-bidi-warning/index.d.ts +0 -8
- package/dist/types-ts4.5/plugins/code-bidi-warning/plugin-key.d.ts +0 -2
- package/dist/types-ts4.5/plugins/code-bidi-warning/pm-plugins/main.d.ts +0 -5
- package/dist/types-ts4.5/plugins/code-bidi-warning/pm-plugins/plugin-factory.d.ts +0 -8
- package/dist/types-ts4.5/plugins/code-bidi-warning/pm-plugins/reducer.d.ts +0 -3
- package/dist/types-ts4.5/plugins/code-bidi-warning/pm-plugins/types.d.ts +0 -6
- package/dist/types-ts4.5/plugins/code-block/actions.d.ts +0 -18
- package/dist/types-ts4.5/plugins/code-block/ide-ux/bracket-handling.d.ts +0 -12
- package/dist/types-ts4.5/plugins/code-block/ide-ux/commands.d.ts +0 -6
- package/dist/types-ts4.5/plugins/code-block/ide-ux/line-handling.d.ts +0 -25
- package/dist/types-ts4.5/plugins/code-block/ide-ux/paired-character-handling.d.ts +0 -2
- package/dist/types-ts4.5/plugins/code-block/ide-ux/quote-handling.d.ts +0 -12
- package/dist/types-ts4.5/plugins/code-block/index.d.ts +0 -19
- package/dist/types-ts4.5/plugins/code-block/language-list.d.ts +0 -1641
- package/dist/types-ts4.5/plugins/code-block/nodeviews/code-block.d.ts +0 -21
- package/dist/types-ts4.5/plugins/code-block/plugin-key.d.ts +0 -2
- package/dist/types-ts4.5/plugins/code-block/pm-plugins/actions.d.ts +0 -4
- package/dist/types-ts4.5/plugins/code-block/pm-plugins/codeBlockCopySelectionPlugin.d.ts +0 -14
- package/dist/types-ts4.5/plugins/code-block/pm-plugins/ide-ux.d.ts +0 -5
- package/dist/types-ts4.5/plugins/code-block/pm-plugins/input-rule.d.ts +0 -3
- package/dist/types-ts4.5/plugins/code-block/pm-plugins/keymaps.d.ts +0 -4
- package/dist/types-ts4.5/plugins/code-block/pm-plugins/main-state.d.ts +0 -8
- package/dist/types-ts4.5/plugins/code-block/pm-plugins/main.d.ts +0 -10
- package/dist/types-ts4.5/plugins/code-block/refresh-browser-selection.d.ts +0 -5
- package/dist/types-ts4.5/plugins/code-block/styles.d.ts +0 -2
- package/dist/types-ts4.5/plugins/code-block/toolbar.d.ts +0 -14
- package/dist/types-ts4.5/plugins/code-block/transform-to-code-block.d.ts +0 -3
- package/dist/types-ts4.5/plugins/code-block/types.d.ts +0 -7
- package/dist/types-ts4.5/plugins/code-block/ui/class-names.d.ts +0 -8
- package/dist/types-ts4.5/plugins/code-block/utils.d.ts +0 -6
- package/dist/types-ts4.5/plugins/collab-edit/actions.d.ts +0 -11
- package/dist/types-ts4.5/plugins/collab-edit/analytics.d.ts +0 -6
- package/dist/types-ts4.5/plugins/collab-edit/events/handlers.d.ts +0 -24
- package/dist/types-ts4.5/plugins/collab-edit/events/initialize.d.ts +0 -16
- package/dist/types-ts4.5/plugins/collab-edit/events/send-transaction.d.ts +0 -11
- package/dist/types-ts4.5/plugins/collab-edit/get-participants-count.d.ts +0 -2
- package/dist/types-ts4.5/plugins/collab-edit/index.d.ts +0 -14
- package/dist/types-ts4.5/plugins/collab-edit/native-collab-provider-plugin.d.ts +0 -7
- package/dist/types-ts4.5/plugins/collab-edit/participants.d.ts +0 -18
- package/dist/types-ts4.5/plugins/collab-edit/plugin-key.d.ts +0 -3
- package/dist/types-ts4.5/plugins/collab-edit/plugin-state.d.ts +0 -24
- package/dist/types-ts4.5/plugins/collab-edit/plugin.d.ts +0 -11
- package/dist/types-ts4.5/plugins/collab-edit/styles.d.ts +0 -1
- package/dist/types-ts4.5/plugins/collab-edit/types.d.ts +0 -8
- package/dist/types-ts4.5/plugins/collab-edit/ui/avatars-with-plugin-state.d.ts +0 -23
- package/dist/types-ts4.5/plugins/collab-edit/ui/avatars.d.ts +0 -12
- package/dist/types-ts4.5/plugins/collab-edit/ui/colored-avatar-item.d.ts +0 -7
- package/dist/types-ts4.5/plugins/collab-edit/ui/index.d.ts +0 -2
- package/dist/types-ts4.5/plugins/collab-edit/ui/invite-to-edit.d.ts +0 -10
- package/dist/types-ts4.5/plugins/collab-edit/ui/styles.d.ts +0 -3
- package/dist/types-ts4.5/plugins/collab-edit/ui/to-avatar.d.ts +0 -4
- package/dist/types-ts4.5/plugins/collab-edit/utils.d.ts +0 -18
- package/dist/types-ts4.5/plugins/custom-autoformat/doc.d.ts +0 -6
- package/dist/types-ts4.5/plugins/custom-autoformat/index.d.ts +0 -6
- package/dist/types-ts4.5/plugins/custom-autoformat/input-rules.d.ts +0 -9
- package/dist/types-ts4.5/plugins/custom-autoformat/reducers.d.ts +0 -4
- package/dist/types-ts4.5/plugins/custom-autoformat/types.d.ts +0 -31
- package/dist/types-ts4.5/plugins/custom-autoformat/utils.d.ts +0 -6
- package/dist/types-ts4.5/plugins/data-consumer/index.d.ts +0 -3
- package/dist/types-ts4.5/plugins/date/actions.d.ts +0 -17
- package/dist/types-ts4.5/plugins/date/index.d.ts +0 -17
- package/dist/types-ts4.5/plugins/date/nodeviews/date.d.ts +0 -3
- package/dist/types-ts4.5/plugins/date/nodeviews/messages.d.ts +0 -7
- package/dist/types-ts4.5/plugins/date/pm-plugins/keymap.d.ts +0 -3
- package/dist/types-ts4.5/plugins/date/pm-plugins/main.d.ts +0 -6
- package/dist/types-ts4.5/plugins/date/pm-plugins/plugin-key.d.ts +0 -3
- package/dist/types-ts4.5/plugins/date/pm-plugins/types.d.ts +0 -12
- package/dist/types-ts4.5/plugins/date/pm-plugins/utils.d.ts +0 -5
- package/dist/types-ts4.5/plugins/date/types.d.ts +0 -10
- package/dist/types-ts4.5/plugins/date/ui/DatePicker/date-picker-input.d.ts +0 -25
- package/dist/types-ts4.5/plugins/date/ui/DatePicker/index.d.ts +0 -36
- package/dist/types-ts4.5/plugins/date/utils/formatParse.d.ts +0 -27
- package/dist/types-ts4.5/plugins/date/utils/internal.d.ts +0 -33
- package/dist/types-ts4.5/plugins/expand/commands.d.ts +0 -12
- package/dist/types-ts4.5/plugins/expand/index.d.ts +0 -24
- package/dist/types-ts4.5/plugins/expand/nodeviews/index.d.ts +0 -54
- package/dist/types-ts4.5/plugins/expand/pm-plugins/keymap.d.ts +0 -4
- package/dist/types-ts4.5/plugins/expand/pm-plugins/main.d.ts +0 -8
- package/dist/types-ts4.5/plugins/expand/pm-plugins/plugin-factory.d.ts +0 -3
- package/dist/types-ts4.5/plugins/expand/reducer.d.ts +0 -3
- package/dist/types-ts4.5/plugins/expand/toolbar.d.ts +0 -3
- package/dist/types-ts4.5/plugins/expand/types.d.ts +0 -9
- package/dist/types-ts4.5/plugins/expand/ui/ExpandIconButton.d.ts +0 -43
- package/dist/types-ts4.5/plugins/expand/ui/class-names.d.ts +0 -11
- package/dist/types-ts4.5/plugins/expand/ui/styles.d.ts +0 -2
- package/dist/types-ts4.5/plugins/expand/utils.d.ts +0 -1
- package/dist/types-ts4.5/plugins/extension/actions.d.ts +0 -17
- package/dist/types-ts4.5/plugins/extension/commands.d.ts +0 -12
- package/dist/types-ts4.5/plugins/extension/context-panel.d.ts +0 -8
- package/dist/types-ts4.5/plugins/extension/extension-api.d.ts +0 -10
- package/dist/types-ts4.5/plugins/extension/index.d.ts +0 -3
- package/dist/types-ts4.5/plugins/extension/nodeviews/extension.d.ts +0 -32
- package/dist/types-ts4.5/plugins/extension/plugin-factory.d.ts +0 -4
- package/dist/types-ts4.5/plugins/extension/plugin-key.d.ts +0 -3
- package/dist/types-ts4.5/plugins/extension/pm-plugins/keymap.d.ts +0 -3
- package/dist/types-ts4.5/plugins/extension/pm-plugins/main.d.ts +0 -27
- package/dist/types-ts4.5/plugins/extension/pm-plugins/unique-id.d.ts +0 -3
- package/dist/types-ts4.5/plugins/extension/pm-plugins/utils.d.ts +0 -3
- package/dist/types-ts4.5/plugins/extension/reducer.d.ts +0 -2
- package/dist/types-ts4.5/plugins/extension/toolbar.d.ts +0 -42
- package/dist/types-ts4.5/plugins/extension/types.d.ts +0 -22
- package/dist/types-ts4.5/plugins/extension/ui/Extension/Extension/index.d.ts +0 -109
- package/dist/types-ts4.5/plugins/extension/ui/Extension/Extension/styles.d.ts +0 -6
- package/dist/types-ts4.5/plugins/extension/ui/Extension/ExtensionComponent.d.ts +0 -51
- package/dist/types-ts4.5/plugins/extension/ui/Extension/ExtensionNodeWrapper.d.ts +0 -7
- package/dist/types-ts4.5/plugins/extension/ui/Extension/InlineExtension/index.d.ts +0 -12
- package/dist/types-ts4.5/plugins/extension/ui/Extension/InlineExtension/styles.d.ts +0 -2
- package/dist/types-ts4.5/plugins/extension/ui/Extension/Lozenge.d.ts +0 -14
- package/dist/types-ts4.5/plugins/extension/ui/Extension/index.d.ts +0 -28
- package/dist/types-ts4.5/plugins/extension/ui/Extension/styles.d.ts +0 -8
- package/dist/types-ts4.5/plugins/extension/ui/SaveIndicator/SaveIndicator.d.ts +0 -4
- package/dist/types-ts4.5/plugins/extension/ui/SaveIndicator/messages.d.ts +0 -7
- package/dist/types-ts4.5/plugins/extension/ui/SaveIndicator/types.d.ts +0 -11
- package/dist/types-ts4.5/plugins/extension/ui/styles.d.ts +0 -1
- package/dist/types-ts4.5/plugins/extension/utils.d.ts +0 -10
- package/dist/types-ts4.5/plugins/fake-text-cursor/cursor.d.ts +0 -30
- package/dist/types-ts4.5/plugins/fake-text-cursor/index.d.ts +0 -7
- package/dist/types-ts4.5/plugins/fake-text-cursor/styles.d.ts +0 -1
- package/dist/types-ts4.5/plugins/feedback-dialog/getBrowserInfo.d.ts +0 -6
- package/dist/types-ts4.5/plugins/feedback-dialog/getDeviceInfo.d.ts +0 -6
- package/dist/types-ts4.5/plugins/feedback-dialog/index.d.ts +0 -7
- package/dist/types-ts4.5/plugins/feedback-dialog/loadJiraCollectorDialogScript.d.ts +0 -8
- package/dist/types-ts4.5/plugins/find-replace/FindReplaceToolbarButtonWithState.d.ts +0 -17
- package/dist/types-ts4.5/plugins/find-replace/actions.d.ts +0 -64
- package/dist/types-ts4.5/plugins/find-replace/commands-with-analytics.d.ts +0 -27
- package/dist/types-ts4.5/plugins/find-replace/commands.d.ts +0 -12
- package/dist/types-ts4.5/plugins/find-replace/index.d.ts +0 -13
- package/dist/types-ts4.5/plugins/find-replace/keymap.d.ts +0 -3
- package/dist/types-ts4.5/plugins/find-replace/plugin.d.ts +0 -6
- package/dist/types-ts4.5/plugins/find-replace/reducer.d.ts +0 -4
- package/dist/types-ts4.5/plugins/find-replace/styles.d.ts +0 -3
- package/dist/types-ts4.5/plugins/find-replace/types.d.ts +0 -44
- package/dist/types-ts4.5/plugins/find-replace/ui/Find.d.ts +0 -71
- package/dist/types-ts4.5/plugins/find-replace/ui/FindReplace.d.ts +0 -43
- package/dist/types-ts4.5/plugins/find-replace/ui/FindReplaceToolbarButton.d.ts +0 -21
- package/dist/types-ts4.5/plugins/find-replace/ui/FindReplaceTooltipButton.d.ts +0 -18
- package/dist/types-ts4.5/plugins/find-replace/ui/Replace.d.ts +0 -26
- package/dist/types-ts4.5/plugins/find-replace/ui/styles.d.ts +0 -5
- package/dist/types-ts4.5/plugins/find-replace/utils/batch-decorations.d.ts +0 -36
- package/dist/types-ts4.5/plugins/find-replace/utils/index.d.ts +0 -49
- package/dist/types-ts4.5/plugins/fragment/index.d.ts +0 -3
- package/dist/types-ts4.5/plugins/fragment/plugin-key.d.ts +0 -2
- package/dist/types-ts4.5/plugins/fragment/pm-plugins/fragment-consistency.d.ts +0 -15
- package/dist/types-ts4.5/plugins/history/actions.d.ts +0 -8
- package/dist/types-ts4.5/plugins/history/index.d.ts +0 -13
- package/dist/types-ts4.5/plugins/history/pm-history-types.d.ts +0 -17
- package/dist/types-ts4.5/plugins/history/reducer.d.ts +0 -4
- package/dist/types-ts4.5/plugins/history/types.d.ts +0 -4
- package/dist/types-ts4.5/plugins/history/utils.d.ts +0 -4
- package/dist/types-ts4.5/plugins/indentation/commands/index.d.ts +0 -8
- package/dist/types-ts4.5/plugins/indentation/commands/utils.d.ts +0 -36
- package/dist/types-ts4.5/plugins/indentation/index.d.ts +0 -3
- package/dist/types-ts4.5/plugins/indentation/messages.d.ts +0 -12
- package/dist/types-ts4.5/plugins/indentation/pm-plugins/keymap.d.ts +0 -3
- package/dist/types-ts4.5/plugins/index.d.ts +0 -45
- package/dist/types-ts4.5/plugins/insert-block/index.d.ts +0 -16
- package/dist/types-ts4.5/plugins/insert-block/types.d.ts +0 -31
- package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/block-insert-element-browser.d.ts +0 -28
- package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/block-insert-menu-legacy.d.ts +0 -18
- package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/block-insert-menu.d.ts +0 -30
- package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/create-items.d.ts +0 -44
- package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/dropdown-button.d.ts +0 -16
- package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/index.d.ts +0 -46
- package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/item.d.ts +0 -34
- package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/messages.d.ts +0 -1
- package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/shallow-equals.d.ts +0 -1
- package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/sort-items.d.ts +0 -2
- package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/styles.d.ts +0 -1
- package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/types.d.ts +0 -61
- package/dist/types-ts4.5/plugins/jira-issue/index.d.ts +0 -5
- package/dist/types-ts4.5/plugins/jira-issue/nodeviews/jira-issue.d.ts +0 -7
- package/dist/types-ts4.5/plugins/layout/actions.d.ts +0 -22
- package/dist/types-ts4.5/plugins/layout/index.d.ts +0 -15
- package/dist/types-ts4.5/plugins/layout/pm-plugins/main.d.ts +0 -6
- package/dist/types-ts4.5/plugins/layout/pm-plugins/plugin-key.d.ts +0 -3
- package/dist/types-ts4.5/plugins/layout/pm-plugins/types.d.ts +0 -14
- package/dist/types-ts4.5/plugins/layout/styles.d.ts +0 -4
- package/dist/types-ts4.5/plugins/layout/toolbar-messages.d.ts +0 -32
- package/dist/types-ts4.5/plugins/layout/toolbar.d.ts +0 -6
- package/dist/types-ts4.5/plugins/layout/types.d.ts +0 -13
- package/dist/types-ts4.5/plugins/layout/utils.d.ts +0 -1
- package/dist/types-ts4.5/plugins/macro/actions.d.ts +0 -8
- package/dist/types-ts4.5/plugins/macro/index.d.ts +0 -11
- package/dist/types-ts4.5/plugins/macro/plugin-key.d.ts +0 -3
- package/dist/types-ts4.5/plugins/macro/types.d.ts +0 -4
- package/dist/types-ts4.5/plugins/max-content-size/index.d.ts +0 -13
- package/dist/types-ts4.5/plugins/mentions/analytics.d.ts +0 -13
- package/dist/types-ts4.5/plugins/mentions/index.d.ts +0 -15
- package/dist/types-ts4.5/plugins/mentions/messages.d.ts +0 -22
- package/dist/types-ts4.5/plugins/mentions/nodeviews/mention.d.ts +0 -9
- package/dist/types-ts4.5/plugins/mentions/pm-plugins/key.d.ts +0 -3
- package/dist/types-ts4.5/plugins/mentions/pm-plugins/main.d.ts +0 -6
- package/dist/types-ts4.5/plugins/mentions/pm-plugins/utils.d.ts +0 -4
- package/dist/types-ts4.5/plugins/mentions/type-ahead/index.d.ts +0 -17
- package/dist/types-ts4.5/plugins/mentions/types.d.ts +0 -24
- package/dist/types-ts4.5/plugins/mentions/ui/InviteItem/index.d.ts +0 -22
- package/dist/types-ts4.5/plugins/mentions/ui/InviteItem/styles.d.ts +0 -8
- package/dist/types-ts4.5/plugins/mentions/ui/Mention/index.d.ts +0 -19
- package/dist/types-ts4.5/plugins/mentions/ui/ToolbarMention/index.d.ts +0 -12
- package/dist/types-ts4.5/plugins/mentions/utils.d.ts +0 -8
- package/dist/types-ts4.5/plugins/mobile-dimensions/actions.d.ts +0 -18
- package/dist/types-ts4.5/plugins/mobile-dimensions/commands.d.ts +0 -3
- package/dist/types-ts4.5/plugins/mobile-dimensions/index.d.ts +0 -3
- package/dist/types-ts4.5/plugins/mobile-dimensions/plugin-factory.d.ts +0 -5
- package/dist/types-ts4.5/plugins/mobile-dimensions/reducer.d.ts +0 -3
- package/dist/types-ts4.5/plugins/mobile-dimensions/types.d.ts +0 -8
- package/dist/types-ts4.5/plugins/mobile-dimensions/utils.d.ts +0 -2
- package/dist/types-ts4.5/plugins/mobile-selection/content-in-selection.d.ts +0 -5
- package/dist/types-ts4.5/plugins/mobile-selection/index.d.ts +0 -2
- package/dist/types-ts4.5/plugins/mobile-selection/mobile-selection-plugin.d.ts +0 -7
- package/dist/types-ts4.5/plugins/mobile-selection/types.d.ts +0 -32
- package/dist/types-ts4.5/plugins/panel/actions.d.ts +0 -12
- package/dist/types-ts4.5/plugins/panel/index.d.ts +0 -17
- package/dist/types-ts4.5/plugins/panel/message.d.ts +0 -37
- package/dist/types-ts4.5/plugins/panel/nodeviews/panel.d.ts +0 -36
- package/dist/types-ts4.5/plugins/panel/pm-plugins/keymaps.d.ts +0 -3
- package/dist/types-ts4.5/plugins/panel/pm-plugins/main.d.ts +0 -11
- package/dist/types-ts4.5/plugins/panel/styles.d.ts +0 -2
- package/dist/types-ts4.5/plugins/panel/toolbar.d.ts +0 -14
- package/dist/types-ts4.5/plugins/panel/types.d.ts +0 -21
- package/dist/types-ts4.5/plugins/panel/utils.d.ts +0 -5
- package/dist/types-ts4.5/plugins/paste/actions.d.ts +0 -15
- package/dist/types-ts4.5/plugins/paste/commands.d.ts +0 -30
- package/dist/types-ts4.5/plugins/paste/edge-cases/index.d.ts +0 -7
- package/dist/types-ts4.5/plugins/paste/edge-cases/lists.d.ts +0 -18
- package/dist/types-ts4.5/plugins/paste/handlers.d.ts +0 -54
- package/dist/types-ts4.5/plugins/paste/index.d.ts +0 -25
- package/dist/types-ts4.5/plugins/paste/plugins/media.d.ts +0 -12
- package/dist/types-ts4.5/plugins/paste/pm-plugins/analytics.d.ts +0 -45
- package/dist/types-ts4.5/plugins/paste/pm-plugins/clipboard-text-serializer.d.ts +0 -13
- package/dist/types-ts4.5/plugins/paste/pm-plugins/main.d.ts +0 -10
- package/dist/types-ts4.5/plugins/paste/pm-plugins/plugin-factory.d.ts +0 -3
- package/dist/types-ts4.5/plugins/paste/reducer.d.ts +0 -3
- package/dist/types-ts4.5/plugins/paste/types.d.ts +0 -6
- package/dist/types-ts4.5/plugins/paste/util/index.d.ts +0 -21
- package/dist/types-ts4.5/plugins/paste/util/tinyMCE.d.ts +0 -32
- package/dist/types-ts4.5/plugins/placeholder-text/actions.d.ts +0 -4
- package/dist/types-ts4.5/plugins/placeholder-text/index.d.ts +0 -13
- package/dist/types-ts4.5/plugins/placeholder-text/placeholder-text-nodeview.d.ts +0 -17
- package/dist/types-ts4.5/plugins/placeholder-text/plugin-key.d.ts +0 -3
- package/dist/types-ts4.5/plugins/placeholder-text/selection-utils.d.ts +0 -2
- package/dist/types-ts4.5/plugins/placeholder-text/styles.d.ts +0 -1
- package/dist/types-ts4.5/plugins/placeholder-text/types.d.ts +0 -7
- package/dist/types-ts4.5/plugins/placeholder-text/ui/PlaceholderFloatingToolbar/index.d.ts +0 -25
- package/dist/types-ts4.5/plugins/rank.d.ts +0 -6
- package/dist/types-ts4.5/plugins/save-on-enter/index.d.ts +0 -10
- package/dist/types-ts4.5/plugins/scroll-into-view/index.d.ts +0 -14
- package/dist/types-ts4.5/plugins/selection/actions.d.ts +0 -17
- package/dist/types-ts4.5/plugins/selection/commands.d.ts +0 -10
- package/dist/types-ts4.5/plugins/selection/gap-cursor/actions.d.ts +0 -25
- package/dist/types-ts4.5/plugins/selection/gap-cursor/direction.d.ts +0 -10
- package/dist/types-ts4.5/plugins/selection/gap-cursor/selection.d.ts +0 -1
- package/dist/types-ts4.5/plugins/selection/gap-cursor/styles.d.ts +0 -2
- package/dist/types-ts4.5/plugins/selection/gap-cursor/utils/is-ignored.d.ts +0 -1
- package/dist/types-ts4.5/plugins/selection/gap-cursor/utils/is-valid-target-node.d.ts +0 -1
- package/dist/types-ts4.5/plugins/selection/gap-cursor/utils/place-gap-cursor.d.ts +0 -2
- package/dist/types-ts4.5/plugins/selection/gap-cursor/utils.d.ts +0 -8
- package/dist/types-ts4.5/plugins/selection/gap-cursor-selection.d.ts +0 -2
- package/dist/types-ts4.5/plugins/selection/index.d.ts +0 -13
- package/dist/types-ts4.5/plugins/selection/plugin-factory.d.ts +0 -2
- package/dist/types-ts4.5/plugins/selection/pm-plugins/events/create-selection-between.d.ts +0 -4
- package/dist/types-ts4.5/plugins/selection/pm-plugins/events/keydown.d.ts +0 -2
- package/dist/types-ts4.5/plugins/selection/pm-plugins/gap-cursor-keymap.d.ts +0 -2
- package/dist/types-ts4.5/plugins/selection/pm-plugins/gap-cursor-main.d.ts +0 -6
- package/dist/types-ts4.5/plugins/selection/pm-plugins/gap-cursor-plugin-key.d.ts +0 -2
- package/dist/types-ts4.5/plugins/selection/pm-plugins/keymap.d.ts +0 -3
- package/dist/types-ts4.5/plugins/selection/pm-plugins/selection-main.d.ts +0 -7
- package/dist/types-ts4.5/plugins/selection/reducer.d.ts +0 -3
- package/dist/types-ts4.5/plugins/selection/types.d.ts +0 -12
- package/dist/types-ts4.5/plugins/selection/utils.d.ts +0 -58
- package/dist/types-ts4.5/plugins/status/actions.d.ts +0 -14
- package/dist/types-ts4.5/plugins/status/analytics.d.ts +0 -4
- package/dist/types-ts4.5/plugins/status/index.d.ts +0 -6
- package/dist/types-ts4.5/plugins/status/keymap.d.ts +0 -3
- package/dist/types-ts4.5/plugins/status/nodeviews/messages.d.ts +0 -17
- package/dist/types-ts4.5/plugins/status/nodeviews/status.d.ts +0 -24
- package/dist/types-ts4.5/plugins/status/plugin-key.d.ts +0 -4
- package/dist/types-ts4.5/plugins/status/plugin.d.ts +0 -7
- package/dist/types-ts4.5/plugins/status/styles.d.ts +0 -1
- package/dist/types-ts4.5/plugins/status/types.d.ts +0 -18
- package/dist/types-ts4.5/plugins/status/ui/statusPicker.d.ts +0 -62
- package/dist/types-ts4.5/plugins/status/utils.d.ts +0 -5
- package/dist/types-ts4.5/plugins/submit-editor/index.d.ts +0 -16
- package/dist/types-ts4.5/plugins/tasks-and-decisions/commands.d.ts +0 -16
- package/dist/types-ts4.5/plugins/tasks-and-decisions/index.d.ts +0 -6
- package/dist/types-ts4.5/plugins/tasks-and-decisions/nodeviews/decisionItem.d.ts +0 -5
- package/dist/types-ts4.5/plugins/tasks-and-decisions/nodeviews/taskItem.d.ts +0 -9
- package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/commands.d.ts +0 -15
- package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/helpers.d.ts +0 -76
- package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/input-rules.d.ts +0 -5
- package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/keymaps.d.ts +0 -8
- package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/main.d.ts +0 -5
- package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/plugin-key.d.ts +0 -2
- package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/types.d.ts +0 -8
- package/dist/types-ts4.5/plugins/tasks-and-decisions/styles.d.ts +0 -1
- package/dist/types-ts4.5/plugins/tasks-and-decisions/types.d.ts +0 -26
- package/dist/types-ts4.5/plugins/tasks-and-decisions/ui/Decision/index.d.ts +0 -14
- package/dist/types-ts4.5/plugins/tasks-and-decisions/ui/Task/index.d.ts +0 -27
- package/dist/types-ts4.5/plugins/tasks-and-decisions/ui/Task/task-item-with-providers.d.ts +0 -28
- package/dist/types-ts4.5/plugins/tasks-and-decisions/ui/ToolbarDecision/index.d.ts +0 -20
- package/dist/types-ts4.5/plugins/tasks-and-decisions/ui/ToolbarTask/index.d.ts +0 -20
- package/dist/types-ts4.5/plugins/tasks-and-decisions/utils.d.ts +0 -5
- package/dist/types-ts4.5/plugins/text-color/commands/change-color.d.ts +0 -3
- package/dist/types-ts4.5/plugins/text-color/commands/remove-color.d.ts +0 -2
- package/dist/types-ts4.5/plugins/text-color/commands/toggle-color.d.ts +0 -2
- package/dist/types-ts4.5/plugins/text-color/index.d.ts +0 -7
- package/dist/types-ts4.5/plugins/text-color/pm-plugins/main.d.ts +0 -25
- package/dist/types-ts4.5/plugins/text-color/types.d.ts +0 -12
- package/dist/types-ts4.5/plugins/text-color/ui/ToolbarTextColor/icon.d.ts +0 -2
- package/dist/types-ts4.5/plugins/text-color/ui/ToolbarTextColor/index.d.ts +0 -53
- package/dist/types-ts4.5/plugins/text-color/ui/ToolbarTextColor/styles.d.ts +0 -3
- package/dist/types-ts4.5/plugins/text-color/utils/color.d.ts +0 -6
- package/dist/types-ts4.5/plugins/text-color/utils/disabled.d.ts +0 -2
- package/dist/types-ts4.5/plugins/toolbar-lists-indentation/index.d.ts +0 -19
- package/dist/types-ts4.5/plugins/toolbar-lists-indentation/pm-plugins/indentation-buttons.d.ts +0 -17
- package/dist/types-ts4.5/plugins/toolbar-lists-indentation/types.d.ts +0 -20
- package/dist/types-ts4.5/plugins/toolbar-lists-indentation/ui/Toolbar.d.ts +0 -4
- package/dist/types-ts4.5/plugins/toolbar-lists-indentation/ui/ToolbarDropdown.d.ts +0 -9
- package/dist/types-ts4.5/plugins/toolbar-lists-indentation/ui/index.d.ts +0 -24
- package/dist/types-ts4.5/plugins/toolbar-lists-indentation/ui/onItemActivated.d.ts +0 -8
- package/dist/types-ts4.5/plugins/type-ahead/api.d.ts +0 -63
- package/dist/types-ts4.5/plugins/type-ahead/commands/insert-type-ahead-item.d.ts +0 -12
- package/dist/types-ts4.5/plugins/type-ahead/commands/update-list-items.d.ts +0 -3
- package/dist/types-ts4.5/plugins/type-ahead/commands/update-query.d.ts +0 -2
- package/dist/types-ts4.5/plugins/type-ahead/commands/update-selected-index.d.ts +0 -2
- package/dist/types-ts4.5/plugins/type-ahead/constants.d.ts +0 -8
- package/dist/types-ts4.5/plugins/type-ahead/index.d.ts +0 -15
- package/dist/types-ts4.5/plugins/type-ahead/insert-utils.d.ts +0 -18
- package/dist/types-ts4.5/plugins/type-ahead/messages.d.ts +0 -72
- package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/actions.d.ts +0 -9
- package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/decorations.d.ts +0 -14
- package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/input-rules.d.ts +0 -6
- package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/insert-item-plugin.d.ts +0 -2
- package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/key.d.ts +0 -3
- package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/main.d.ts +0 -14
- package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/reducer.d.ts +0 -10
- package/dist/types-ts4.5/plugins/type-ahead/pm-plugins/utils.d.ts +0 -4
- package/dist/types-ts4.5/plugins/type-ahead/stats-modifier.d.ts +0 -20
- package/dist/types-ts4.5/plugins/type-ahead/transforms/close-type-ahead.d.ts +0 -2
- package/dist/types-ts4.5/plugins/type-ahead/transforms/open-typeahead-at-cursor.d.ts +0 -11
- package/dist/types-ts4.5/plugins/type-ahead/transforms/set-selection-before-query.d.ts +0 -2
- package/dist/types-ts4.5/plugins/type-ahead/types.d.ts +0 -64
- package/dist/types-ts4.5/plugins/type-ahead/ui/AssistiveText.d.ts +0 -33
- package/dist/types-ts4.5/plugins/type-ahead/ui/InputQuery.d.ts +0 -26
- package/dist/types-ts4.5/plugins/type-ahead/ui/TypeAheadList.d.ts +0 -25
- package/dist/types-ts4.5/plugins/type-ahead/ui/TypeAheadListItem.d.ts +0 -18
- package/dist/types-ts4.5/plugins/type-ahead/ui/TypeAheadPopup.d.ts +0 -29
- package/dist/types-ts4.5/plugins/type-ahead/ui/WrapperTypeAhead.d.ts +0 -20
- package/dist/types-ts4.5/plugins/type-ahead/ui/hooks/use-item-insert.d.ts +0 -7
- package/dist/types-ts4.5/plugins/type-ahead/ui/hooks/use-load-items.d.ts +0 -3
- package/dist/types-ts4.5/plugins/type-ahead/ui/hooks/use-on-force-select.d.ts +0 -11
- package/dist/types-ts4.5/plugins/type-ahead/utils.d.ts +0 -28
- package/dist/types-ts4.5/plugins/undo-redo/attach-input-meta.d.ts +0 -5
- package/dist/types-ts4.5/plugins/undo-redo/commands.d.ts +0 -4
- package/dist/types-ts4.5/plugins/undo-redo/enums.d.ts +0 -4
- package/dist/types-ts4.5/plugins/undo-redo/index.d.ts +0 -3
- package/dist/types-ts4.5/plugins/undo-redo/pm-plugins/keymaps.d.ts +0 -2
- package/dist/types-ts4.5/plugins/undo-redo/pm-plugins/main.d.ts +0 -2
- package/dist/types-ts4.5/plugins/undo-redo/pm-plugins/plugin-key.d.ts +0 -2
- package/dist/types-ts4.5/plugins/undo-redo/ui/ToolbarUndoRedo/index.d.ts +0 -21
- package/dist/types-ts4.5/plugins/view-update-subscription/index.d.ts +0 -19
- package/dist/types-ts4.5/plugins/view-update-subscription/subscribe/toolbarAndPickerUpdates.d.ts +0 -12
- package/dist/types-ts4.5/plugins/view-update-subscription/subscribe/type-ahead-updates.d.ts +0 -9
- package/dist/types-ts4.5/preset-default.d.ts +0 -1
- package/dist/types-ts4.5/preset-universal.d.ts +0 -1
- package/dist/types-ts4.5/presets/context.d.ts +0 -15
- package/dist/types-ts4.5/selection-api/api.d.ts +0 -11
- package/dist/types-ts4.5/stories/examples.d.ts +0 -9
- package/dist/types-ts4.5/test-utils.d.ts +0 -41
- package/dist/types-ts4.5/types/browser.d.ts +0 -1
- package/dist/types-ts4.5/types/command.d.ts +0 -5
- package/dist/types-ts4.5/types/dom-at-pos.d.ts +0 -4
- package/dist/types-ts4.5/types/editor-appearance-component.d.ts +0 -50
- package/dist/types-ts4.5/types/editor-appearance.d.ts +0 -1
- package/dist/types-ts4.5/types/editor-config.d.ts +0 -25
- package/dist/types-ts4.5/types/editor-instance.d.ts +0 -19
- package/dist/types-ts4.5/types/editor-onchange.d.ts +0 -4
- package/dist/types-ts4.5/types/editor-plugin.d.ts +0 -1
- package/dist/types-ts4.5/types/editor-props.d.ts +0 -262
- package/dist/types-ts4.5/types/editor-react-context.d.ts +0 -1
- package/dist/types-ts4.5/types/empty-state-handler.d.ts +0 -1
- package/dist/types-ts4.5/types/extension-config.d.ts +0 -5
- package/dist/types-ts4.5/types/feature-flags.d.ts +0 -1
- package/dist/types-ts4.5/types/i18n.d.ts +0 -5
- package/dist/types-ts4.5/types/index.d.ts +0 -18
- package/dist/types-ts4.5/types/performance-tracking.d.ts +0 -1
- package/dist/types-ts4.5/types/pm-config.d.ts +0 -1
- package/dist/types-ts4.5/types/pm-plugin-list.d.ts +0 -9
- package/dist/types-ts4.5/types/pm-plugin.d.ts +0 -1
- package/dist/types-ts4.5/types/ui-components.d.ts +0 -1
- package/dist/types-ts4.5/ui/Addon/ClickAreaBlock/index.d.ts +0 -10
- package/dist/types-ts4.5/ui/Addon/ClickAreaInline/index.d.ts +0 -8
- package/dist/types-ts4.5/ui/Addon/ClickAreaMobile/index.d.ts +0 -31
- package/dist/types-ts4.5/ui/Addon/Dropdown/index.d.ts +0 -14
- package/dist/types-ts4.5/ui/Addon/Dropdown/styles.d.ts +0 -1
- package/dist/types-ts4.5/ui/Addon/DropdownItem/index.d.ts +0 -5
- package/dist/types-ts4.5/ui/Addon/DropdownItem/styles.d.ts +0 -1
- package/dist/types-ts4.5/ui/Addon/click-area-helper.d.ts +0 -13
- package/dist/types-ts4.5/ui/Addon/index.d.ts +0 -6
- package/dist/types-ts4.5/ui/Addon/types.d.ts +0 -17
- package/dist/types-ts4.5/ui/Alignment/AlignmentButton/index.d.ts +0 -17
- package/dist/types-ts4.5/ui/Alignment/index.d.ts +0 -12
- package/dist/types-ts4.5/ui/Alignment/styles.d.ts +0 -1
- package/dist/types-ts4.5/ui/Appearance/Chromeless.d.ts +0 -11
- package/dist/types-ts4.5/ui/Appearance/Comment/Comment.d.ts +0 -7
- package/dist/types-ts4.5/ui/Appearance/Comment/Toolbar.d.ts +0 -9
- package/dist/types-ts4.5/ui/Appearance/Comment/index.d.ts +0 -1
- package/dist/types-ts4.5/ui/Appearance/FullPage/FullPage.d.ts +0 -3
- package/dist/types-ts4.5/ui/Appearance/FullPage/FullPageContentArea.d.ts +0 -39
- package/dist/types-ts4.5/ui/Appearance/FullPage/FullPageToolbar.d.ts +0 -38
- package/dist/types-ts4.5/ui/Appearance/FullPage/MainToolbar.d.ts +0 -7
- package/dist/types-ts4.5/ui/Appearance/FullPage/StyledComponents.d.ts +0 -19
- package/dist/types-ts4.5/ui/Appearance/FullPage/index.d.ts +0 -1
- package/dist/types-ts4.5/ui/Appearance/Mobile.d.ts +0 -3
- package/dist/types-ts4.5/ui/AppearanceComponents/Mobile.d.ts +0 -14
- package/dist/types-ts4.5/ui/ChromeCollapsed/index.d.ts +0 -11
- package/dist/types-ts4.5/ui/ChromeCollapsed/messages.d.ts +0 -7
- package/dist/types-ts4.5/ui/ChromeCollapsed/styles.d.ts +0 -1
- package/dist/types-ts4.5/ui/CollapsedEditor/index.d.ts +0 -19
- package/dist/types-ts4.5/ui/ColorPalette/Palettes/cellBackgroundColorPalette.d.ts +0 -2
- package/dist/types-ts4.5/ui/ColorPalette/Palettes/common.d.ts +0 -1
- package/dist/types-ts4.5/ui/ColorPalette/Palettes/index.d.ts +0 -2
- package/dist/types-ts4.5/ui/ColorPalette/Palettes/paletteMessages.d.ts +0 -2
- package/dist/types-ts4.5/ui/ColorPalette/Palettes/panelBackgroundPalette.d.ts +0 -1
- package/dist/types-ts4.5/ui/ColorPalette/Palettes/statusColorPalette.d.ts +0 -1
- package/dist/types-ts4.5/ui/ColorPalette/Palettes/textColorPalette.d.ts +0 -1
- package/dist/types-ts4.5/ui/ColorPalette/Palettes/type.d.ts +0 -1
- package/dist/types-ts4.5/ui/ColorPalette/index.d.ts +0 -3
- package/dist/types-ts4.5/ui/ConfigPanel/ConfigPanel.d.ts +0 -22
- package/dist/types-ts4.5/ui/ConfigPanel/ConfigPanelFieldsLoader.d.ts +0 -20
- package/dist/types-ts4.5/ui/ConfigPanel/ConfigPanelLoader.d.ts +0 -5
- package/dist/types-ts4.5/ui/ConfigPanel/ErrorMessage/ErrorImage.d.ts +0 -4
- package/dist/types-ts4.5/ui/ConfigPanel/ErrorMessage/index.d.ts +0 -10
- package/dist/types-ts4.5/ui/ConfigPanel/FieldMessages.d.ts +0 -12
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/Boolean.d.ts +0 -8
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/CheckboxGroup.d.ts +0 -8
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/ColorPicker.d.ts +0 -21
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/CustomSelect.d.ts +0 -24
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/Date.d.ts +0 -20
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/DateRange.d.ts +0 -20
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/Enum.d.ts +0 -10
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/Expand.d.ts +0 -18
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/Fieldset.d.ts +0 -20
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/Number.d.ts +0 -10
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/RadioGroup.d.ts +0 -8
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/Select.d.ts +0 -11
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/SelectItem.d.ts +0 -5
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/String.d.ts +0 -10
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/TabGroup.d.ts +0 -15
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/UnhandledType.d.ts +0 -6
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/UserSelect.d.ts +0 -10
- package/dist/types-ts4.5/ui/ConfigPanel/Fields/common/RequiredIndicator.d.ts +0 -1
- package/dist/types-ts4.5/ui/ConfigPanel/FormContent.d.ts +0 -4
- package/dist/types-ts4.5/ui/ConfigPanel/FormErrorBoundary.d.ts +0 -16
- package/dist/types-ts4.5/ui/ConfigPanel/Header.d.ts +0 -21
- package/dist/types-ts4.5/ui/ConfigPanel/LoadingState.d.ts +0 -4
- package/dist/types-ts4.5/ui/ConfigPanel/NestedForms/RemovableField.d.ts +0 -19
- package/dist/types-ts4.5/ui/ConfigPanel/index.d.ts +0 -2
- package/dist/types-ts4.5/ui/ConfigPanel/messages.d.ts +0 -87
- package/dist/types-ts4.5/ui/ConfigPanel/transformers.d.ts +0 -9
- package/dist/types-ts4.5/ui/ConfigPanel/types.d.ts +0 -40
- package/dist/types-ts4.5/ui/ConfigPanel/utils.d.ts +0 -13
- package/dist/types-ts4.5/ui/ContentStyles/index.d.ts +0 -14
- package/dist/types-ts4.5/ui/ContentStyles/media.d.ts +0 -1
- package/dist/types-ts4.5/ui/ContextPanel/index.d.ts +0 -41
- package/dist/types-ts4.5/ui/EditorContext/index.d.ts +0 -18
- package/dist/types-ts4.5/ui/ElementBrowser/InsertMenu.d.ts +0 -4
- package/dist/types-ts4.5/ui/ElementBrowser/types.d.ts +0 -22
- package/dist/types-ts4.5/ui/ErrorBoundary/index.d.ts +0 -26
- package/dist/types-ts4.5/ui/FloatingToolbar/index.d.ts +0 -28
- package/dist/types-ts4.5/ui/FloatingToolbar/styles.d.ts +0 -1
- package/dist/types-ts4.5/ui/FloatingToolbar/utils.d.ts +0 -13
- package/dist/types-ts4.5/ui/MediaAndEmbedsToolbar/toolbar-messages.d.ts +0 -12
- package/dist/types-ts4.5/ui/PluginSlot/index.d.ts +0 -39
- package/dist/types-ts4.5/ui/PluginSlot/mount-plugin-hooks.d.ts +0 -10
- package/dist/types-ts4.5/ui/Toolbar/Toolbar.d.ts +0 -3
- package/dist/types-ts4.5/ui/Toolbar/ToolbarInner.d.ts +0 -8
- package/dist/types-ts4.5/ui/Toolbar/ToolbarWithSizeDetector.d.ts +0 -4
- package/dist/types-ts4.5/ui/Toolbar/hooks.d.ts +0 -4
- package/dist/types-ts4.5/ui/Toolbar/index.d.ts +0 -4
- package/dist/types-ts4.5/ui/Toolbar/toolbar-size.d.ts +0 -4
- package/dist/types-ts4.5/ui/Toolbar/toolbar-types.d.ts +0 -34
- package/dist/types-ts4.5/ui/Toolbar/types.d.ts +0 -2
- package/dist/types-ts4.5/ui/ToolbarButton/index.d.ts +0 -4
- package/dist/types-ts4.5/ui/ToolbarFeedback/index.d.ts +0 -27
- package/dist/types-ts4.5/ui/ToolbarFeedback/styles.d.ts +0 -6
- package/dist/types-ts4.5/ui/ToolbarHelp/index.d.ts +0 -11
- package/dist/types-ts4.5/ui/ToolbarHelp/messages.d.ts +0 -7
- package/dist/types-ts4.5/ui/WithEditorActions/index.d.ts +0 -18
- package/dist/types-ts4.5/ui/WithFlash/index.d.ts +0 -11
- package/dist/types-ts4.5/ui/WithHelpTrigger/index.d.ts +0 -13
- package/dist/types-ts4.5/ui/WithPluginState/index.d.ts +0 -3
- package/dist/types-ts4.5/ui/styles.d.ts +0 -2
- package/dist/types-ts4.5/ui/with-outer-listeners.d.ts +0 -2
- package/dist/types-ts4.5/use-preset.d.ts +0 -46
- package/dist/types-ts4.5/utils/action.d.ts +0 -9
- package/dist/types-ts4.5/utils/array.d.ts +0 -1
- package/dist/types-ts4.5/utils/clipboard.d.ts +0 -1
- package/dist/types-ts4.5/utils/commands.d.ts +0 -14
- package/dist/types-ts4.5/utils/deprecation-warnings.d.ts +0 -8
- package/dist/types-ts4.5/utils/document-logger.d.ts +0 -6
- package/dist/types-ts4.5/utils/document.d.ts +0 -27
- package/dist/types-ts4.5/utils/dom.d.ts +0 -2
- package/dist/types-ts4.5/utils/editorDeprecationWarnings.d.ts +0 -2
- package/dist/types-ts4.5/utils/extensions.d.ts +0 -6
- package/dist/types-ts4.5/utils/getAttrsWithChangesRecorder.d.ts +0 -23
- package/dist/types-ts4.5/utils/index.d.ts +0 -65
- package/dist/types-ts4.5/utils/is-full-page.d.ts +0 -2
- package/dist/types-ts4.5/utils/is-text-input.d.ts +0 -2
- package/dist/types-ts4.5/utils/node-width.d.ts +0 -7
- package/dist/types-ts4.5/utils/nodes-by-localIds.d.ts +0 -8
- package/dist/types-ts4.5/utils/nodes.d.ts +0 -1
- package/dist/types-ts4.5/utils/performance/components/RenderTracking.d.ts +0 -13
- package/dist/types-ts4.5/utils/performance/instrumented-plugin.d.ts +0 -16
- package/dist/types-ts4.5/utils/performance/measure-enum.d.ts +0 -8
- package/dist/types-ts4.5/utils/performance/outlier.d.ts +0 -1
- package/dist/types-ts4.5/utils/performance/percentile.d.ts +0 -1
- package/dist/types-ts4.5/utils/performance/plugin-performance-observer.d.ts +0 -22
- package/dist/types-ts4.5/utils/performance/plugin-performance-report.d.ts +0 -48
- package/dist/types-ts4.5/utils/performance/safer-transactions.d.ts +0 -9
- package/dist/types-ts4.5/utils/performance/simple-measure-to-entries.d.ts +0 -28
- package/dist/types-ts4.5/utils/performance/track-transactions.d.ts +0 -30
- package/dist/types-ts4.5/utils/pick-by.d.ts +0 -2
- package/dist/types-ts4.5/utils/plugin-state-factory.d.ts +0 -2
- package/dist/types-ts4.5/utils/prepare-extension-provider.d.ts +0 -5
- package/dist/types-ts4.5/utils/prepare-quick-insert-provider.d.ts +0 -16
- package/dist/types-ts4.5/utils/react-hooks/use-abortable-effect/index.d.ts +0 -16
- package/dist/types-ts4.5/utils/react-hooks/use-state-from-promise/index.d.ts +0 -18
- package/dist/types-ts4.5/utils/selection.d.ts +0 -8
- package/dist/types-ts4.5/utils/slice.d.ts +0 -2
- package/dist/types-ts4.5/utils/step.d.ts +0 -1
- package/dist/types-ts4.5/version-wrapper.d.ts +0 -3
- package/tmp/api-report-tmp.d.ts +0 -791
- /package/dist/cjs/{plugins/date/styles.js → ui/ContentStyles/date.js} +0 -0
- /package/dist/es2019/{plugins/date/styles.js → ui/ContentStyles/date.js} +0 -0
- /package/dist/esm/{plugins/date/styles.js → ui/ContentStyles/date.js} +0 -0
- /package/dist/{types-ts4.5/plugins/date/styles.d.ts → types/ui/ContentStyles/date.d.ts} +0 -0
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { NodeView, EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
2
|
-
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
3
|
-
import type { getPosHandler } from '../../nodeviews';
|
|
4
|
-
type PmMutationRecord = MutationRecord | {
|
|
5
|
-
type: 'selection';
|
|
6
|
-
target: Element;
|
|
7
|
-
};
|
|
8
|
-
export declare class PlaceholderTextNodeView implements NodeView {
|
|
9
|
-
private readonly node;
|
|
10
|
-
private readonly view;
|
|
11
|
-
private readonly getPos;
|
|
12
|
-
readonly dom: Node;
|
|
13
|
-
constructor(node: PMNode, view: EditorView, getPos: getPosHandler);
|
|
14
|
-
stopEvent(e: Event): boolean;
|
|
15
|
-
ignoreMutation(record: PmMutationRecord): boolean;
|
|
16
|
-
}
|
|
17
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const placeholderTextStyles: import("@emotion/react").SerializedStyles;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
3
|
-
import { Coordinates } from '../../../../ui/FloatingToolbar';
|
|
4
|
-
export declare const messages: {
|
|
5
|
-
placeholderTextPlaceholder: {
|
|
6
|
-
id: string;
|
|
7
|
-
defaultMessage: string;
|
|
8
|
-
description: string;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
export interface Props {
|
|
12
|
-
getNodeFromPos: (pos: number) => Node;
|
|
13
|
-
getFixedCoordinatesFromPos: (pos: number) => Coordinates;
|
|
14
|
-
insertPlaceholder: (value: string) => void;
|
|
15
|
-
hidePlaceholderFloatingToolbar: () => void;
|
|
16
|
-
setFocusInEditor: () => void;
|
|
17
|
-
showInsertPanelAt: number;
|
|
18
|
-
editorViewDOM: HTMLElement;
|
|
19
|
-
popupsMountPoint?: HTMLElement;
|
|
20
|
-
popupsBoundariesElement?: HTMLElement;
|
|
21
|
-
}
|
|
22
|
-
declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps<"intl">>> & {
|
|
23
|
-
WrappedComponent: React.ComponentType<Props & WrappedComponentProps<"intl">>;
|
|
24
|
-
};
|
|
25
|
-
export default _default;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
2
|
-
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
3
|
-
import type { Dispatch } from '../../event-dispatcher';
|
|
4
|
-
import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
|
|
5
|
-
export declare function createPlugin(eventDispatch: Dispatch, onSave?: (editorView: EditorView) => void): SafePlugin | undefined;
|
|
6
|
-
type Config = (editorView: EditorView) => void;
|
|
7
|
-
declare const saveOnEnterPlugin: NextEditorPlugin<'saveOnEnter', {
|
|
8
|
-
pluginConfiguration: Config | undefined;
|
|
9
|
-
}>;
|
|
10
|
-
export default saveOnEnterPlugin;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { PluginKey } from '@atlaskit/editor-prosemirror/state';
|
|
2
|
-
import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
|
|
3
|
-
/**
|
|
4
|
-
* Plugin to scroll the user's selection into view whenever the user updates
|
|
5
|
-
* the document eg. inserting, deleting, formatting
|
|
6
|
-
*
|
|
7
|
-
* Behaviour is on by default, can be explicitly opted out of for a transaction by
|
|
8
|
-
* setting scrollIntoView=false meta
|
|
9
|
-
* We ignore collab transactions, appended transactions, transactions without steps,
|
|
10
|
-
* transactions with addToHistory=false meta and typeahead trigger transactions
|
|
11
|
-
*/
|
|
12
|
-
export declare const scrollIntoViewPluginKey: PluginKey<any>;
|
|
13
|
-
declare const scrollIntoViewPlugin: NextEditorPlugin<'scrollIntoView'>;
|
|
14
|
-
export default scrollIntoViewPlugin;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { Selection } from '@atlaskit/editor-prosemirror/state';
|
|
2
|
-
import type { DecorationSet } from '@atlaskit/editor-prosemirror/view';
|
|
3
|
-
import type { RelativeSelectionPos } from './types';
|
|
4
|
-
export declare enum SelectionActionTypes {
|
|
5
|
-
SET_DECORATIONS = "SET_DECORATIONS",
|
|
6
|
-
SET_RELATIVE_SELECTION = "SET_RELATIVE_SELECTION"
|
|
7
|
-
}
|
|
8
|
-
export interface SetDecorations {
|
|
9
|
-
type: SelectionActionTypes.SET_DECORATIONS;
|
|
10
|
-
decorationSet: DecorationSet;
|
|
11
|
-
selection: Selection;
|
|
12
|
-
}
|
|
13
|
-
export interface SetRelativeSelection {
|
|
14
|
-
type: SelectionActionTypes.SET_RELATIVE_SELECTION;
|
|
15
|
-
selectionRelativeToNode?: RelativeSelectionPos;
|
|
16
|
-
}
|
|
17
|
-
export type SelectionAction = SetDecorations | SetRelativeSelection;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Selection } from '@atlaskit/editor-prosemirror/state';
|
|
2
|
-
import type { Node as PmNode } from '@atlaskit/editor-prosemirror/model';
|
|
3
|
-
import type { Command } from '../../types';
|
|
4
|
-
import { RelativeSelectionPos } from './types';
|
|
5
|
-
import type { EditorCommandWithMetadata } from '@atlaskit/editor-common/types';
|
|
6
|
-
export declare const selectNearNode: EditorCommandWithMetadata;
|
|
7
|
-
export declare const setSelectionRelativeToNode: (selectionRelativeToNode?: RelativeSelectionPos, selection?: Selection | null) => import("@atlaskit/editor-common/types").Command;
|
|
8
|
-
export declare const arrowRight: Command;
|
|
9
|
-
export declare const arrowLeft: Command;
|
|
10
|
-
export declare const setSelectionInsideAtNodeEnd: (selectionRelativeToNode: RelativeSelectionPos, node: PmNode, from: number, to: number) => Command;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import type { EditorState, Transaction } from '@atlaskit/editor-prosemirror/state';
|
|
2
|
-
import type { ResolvedPos } from '@atlaskit/editor-prosemirror/model';
|
|
3
|
-
import { Direction } from './direction';
|
|
4
|
-
import { Side } from './selection';
|
|
5
|
-
import type { Command } from '@atlaskit/editor-common/types';
|
|
6
|
-
export type DirectionString = 'up' | 'down' | 'left' | 'right' | 'forward' | 'backward';
|
|
7
|
-
export declare const shouldSkipGapCursor: (direction: Direction, state: EditorState, $pos: ResolvedPos) => boolean;
|
|
8
|
-
export declare const arrow: (dir: Direction, endOfTextblock?: ((dir: DirectionString, state?: EditorState) => boolean) | undefined) => Command;
|
|
9
|
-
export declare const deleteNode: (dir: Direction) => Command;
|
|
10
|
-
export declare const setGapCursorAtPos: (position: number, side?: Side) => Command;
|
|
11
|
-
export declare const setSelectionTopLevelBlocks: (tr: Transaction, event: React.MouseEvent<any>, editorRef: HTMLElement, posAtCoords: (coords: {
|
|
12
|
-
left: number;
|
|
13
|
-
top: number;
|
|
14
|
-
}) => {
|
|
15
|
-
pos: number;
|
|
16
|
-
inside: number;
|
|
17
|
-
} | null | void, editorFocused: boolean) => void;
|
|
18
|
-
export declare const setCursorForTopLevelBlocks: (event: React.MouseEvent<any>, editorRef: HTMLElement, posAtCoords: (coords: {
|
|
19
|
-
left: number;
|
|
20
|
-
top: number;
|
|
21
|
-
}) => {
|
|
22
|
-
pos: number;
|
|
23
|
-
inside: number;
|
|
24
|
-
} | null | void, editorFocused: boolean) => Command;
|
|
25
|
-
export declare const hasGapCursorPlugin: (state: EditorState) => boolean;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare enum Direction {
|
|
2
|
-
UP = "up",
|
|
3
|
-
RIGHT = "right",
|
|
4
|
-
DOWN = "down",
|
|
5
|
-
LEFT = "left",
|
|
6
|
-
BACKWARD = "backward",
|
|
7
|
-
FORWARD = "forward"
|
|
8
|
-
}
|
|
9
|
-
export declare function isBackward(dir: Direction): boolean;
|
|
10
|
-
export declare function isForward(dir: Direction): boolean;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { GapCursorSelection, JSON_ID, Side, GapBookmark, } from '@atlaskit/editor-common/selection';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { isIgnored } from '@atlaskit/editor-common/selection';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { isValidTargetNode } from '@atlaskit/editor-common/selection';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { Node as PMNode, ResolvedPos, Schema } from '@atlaskit/editor-prosemirror/model';
|
|
2
|
-
import { Side } from './selection';
|
|
3
|
-
export declare const isLeftCursor: (side: Side) => side is Side.LEFT;
|
|
4
|
-
export declare function getMediaNearPos(doc: PMNode, $pos: ResolvedPos, schema: Schema, dir?: number): PMNode | null;
|
|
5
|
-
export declare const isTextBlockNearPos: (doc: PMNode, schema: Schema, $pos: ResolvedPos, dir: number) => boolean;
|
|
6
|
-
export declare function getLayoutModeFromTargetNode(node: PMNode): string;
|
|
7
|
-
export declare const isIgnoredClick: (elem: HTMLElement) => boolean;
|
|
8
|
-
export declare const getComputedStyleForLayoutMode: (dom: HTMLElement, node: PMNode | undefined | null, style: CSSStyleDeclaration) => CSSStyleDeclaration;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { EditorCommand, NextEditorPlugin, EditorCommandWithMetadata } from '@atlaskit/editor-common/types';
|
|
2
|
-
import type { SelectionSharedState } from '@atlaskit/editor-common/selection';
|
|
3
|
-
import type { SelectionPluginOptions } from './types';
|
|
4
|
-
export type SelectionPlugin = NextEditorPlugin<'selection', {
|
|
5
|
-
pluginConfiguration: SelectionPluginOptions | undefined;
|
|
6
|
-
commands: {
|
|
7
|
-
displayGapCursor: (toggle: boolean) => EditorCommand;
|
|
8
|
-
selectNearNode: EditorCommandWithMetadata;
|
|
9
|
-
};
|
|
10
|
-
sharedState: SelectionSharedState;
|
|
11
|
-
}>;
|
|
12
|
-
export declare const selectionPlugin: SelectionPlugin;
|
|
13
|
-
export default selectionPlugin;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import type { SelectionPluginState } from './types';
|
|
2
|
-
export declare const createCommand: <A = import("./actions").SelectionAction>(action: A | ((state: Readonly<import("prosemirror-state").EditorState>) => false | A), transform?: ((tr: import("prosemirror-state").Transaction, state: import("prosemirror-state").EditorState) => import("prosemirror-state").Transaction) | undefined) => import("@atlaskit/editor-common/types").Command, getPluginState: (state: import("prosemirror-state").EditorState) => SelectionPluginState, createPluginState: (dispatch: import("@atlaskit/editor-common/event-dispatcher").Dispatch<any>, initialState: SelectionPluginState | ((state: import("prosemirror-state").EditorState) => SelectionPluginState)) => import("prosemirror-state").SafeStateField<SelectionPluginState>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { TextSelection } from '@atlaskit/editor-prosemirror/state';
|
|
2
|
-
import type { ResolvedPos } from '@atlaskit/editor-prosemirror/model';
|
|
3
|
-
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
4
|
-
export declare const onCreateSelectionBetween: (view: EditorView, $anchor: ResolvedPos, $head: ResolvedPos) => TextSelection | null;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
2
|
-
import type { EditorState } from '@atlaskit/editor-prosemirror/state';
|
|
3
|
-
import type { Dispatch } from '../../../event-dispatcher';
|
|
4
|
-
import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
|
|
5
|
-
import type { SelectionPluginOptions, SelectionPluginState } from '../types';
|
|
6
|
-
export declare const getInitialState: (state: EditorState) => SelectionPluginState;
|
|
7
|
-
export declare const createPlugin: (dispatch: Dispatch, dispatchAnalyticsEvent: DispatchAnalyticsEvent, options?: SelectionPluginOptions) => SafePlugin<SelectionPluginState>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { PluginKey } from '@atlaskit/editor-prosemirror/state';
|
|
2
|
-
import { RelativeSelectionPos } from '@atlaskit/editor-common/selection';
|
|
3
|
-
export type { SelectionPluginState } from '@atlaskit/editor-common/selection';
|
|
4
|
-
import type { LongPressSelectionPluginOptions } from '@atlaskit/editor-common/types';
|
|
5
|
-
export declare const selectionPluginKey: PluginKey<any>;
|
|
6
|
-
export { RelativeSelectionPos };
|
|
7
|
-
export declare enum SelectionDirection {
|
|
8
|
-
Before = -1,
|
|
9
|
-
After = 1
|
|
10
|
-
}
|
|
11
|
-
export interface SelectionPluginOptions extends LongPressSelectionPluginOptions {
|
|
12
|
-
}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import type { Transaction, ReadonlyTransaction, EditorState } from '@atlaskit/editor-prosemirror/state';
|
|
2
|
-
import { Selection } from '@atlaskit/editor-prosemirror/state';
|
|
3
|
-
import { DecorationSet } from '@atlaskit/editor-prosemirror/view';
|
|
4
|
-
import type { Node as PmNode, ResolvedPos } from '@atlaskit/editor-prosemirror/model';
|
|
5
|
-
import type { ContentNodeWithPos, NodeWithPos } from '@atlaskit/editor-prosemirror/utils';
|
|
6
|
-
import { getNodeSelectionAnalyticsPayload, getAllSelectionAnalyticsPayload, getRangeSelectionAnalyticsPayload, getCellSelectionAnalyticsPayload, createSelectionClickHandler } from '@atlaskit/editor-common/selection';
|
|
7
|
-
export declare const getDecorations: (tr: Transaction | ReadonlyTransaction) => DecorationSet;
|
|
8
|
-
/**
|
|
9
|
-
* Use `getNodesToDecorateFromSelection` to collect and return
|
|
10
|
-
* a list of nodes within the Selection that should have Selection
|
|
11
|
-
* decorations applied. This allows selection styles to be added to
|
|
12
|
-
* nested nodes. It will ignore text nodes as decorations are
|
|
13
|
-
* applied natively and also ignore nodes that don't completely
|
|
14
|
-
* sit within the given `Selection`.
|
|
15
|
-
*/
|
|
16
|
-
export declare const getNodesToDecorateFromSelection: (selection: Selection, doc: PmNode) => {
|
|
17
|
-
node: PmNode;
|
|
18
|
-
pos: number;
|
|
19
|
-
}[];
|
|
20
|
-
export declare function shouldRecalcDecorations({ oldEditorState, newEditorState, }: {
|
|
21
|
-
oldEditorState: EditorState;
|
|
22
|
-
newEditorState: EditorState;
|
|
23
|
-
}): boolean;
|
|
24
|
-
export declare const isSelectableContainerNode: (node?: PmNode | null) => boolean;
|
|
25
|
-
export declare const isSelectableChildNode: (node?: PmNode | null) => boolean;
|
|
26
|
-
/**
|
|
27
|
-
* Finds closest parent node that is a selectable block container node
|
|
28
|
-
* If it finds a parent that is not selectable but supports gap cursor, will
|
|
29
|
-
* return undefined
|
|
30
|
-
*/
|
|
31
|
-
export declare const findSelectableContainerParent: (selection: Selection) => ContentNodeWithPos | undefined;
|
|
32
|
-
/**
|
|
33
|
-
* Finds node before that is a selectable block container node, starting
|
|
34
|
-
* from $pos.depth + 1 and working in
|
|
35
|
-
* If it finds a node that is not selectable but supports gap cursor, will
|
|
36
|
-
* return undefined
|
|
37
|
-
*/
|
|
38
|
-
export declare const findSelectableContainerBefore: ($pos: ResolvedPos, doc: PmNode) => NodeWithPos | undefined;
|
|
39
|
-
/**
|
|
40
|
-
* Finds node after that is a selectable block container node, starting
|
|
41
|
-
* from $pos.depth + 1 and working in
|
|
42
|
-
* If it finds a node that is not selectable but supports gap cursor, will
|
|
43
|
-
* return undefined
|
|
44
|
-
*/
|
|
45
|
-
export declare const findSelectableContainerAfter: ($pos: ResolvedPos, doc: PmNode) => NodeWithPos | undefined;
|
|
46
|
-
/**
|
|
47
|
-
* Finds first child node that is a selectable block container node OR that
|
|
48
|
-
* supports gap cursor
|
|
49
|
-
*/
|
|
50
|
-
export declare const findFirstChildNodeToSelect: (parent: PmNode) => NodeWithPos | undefined;
|
|
51
|
-
/**
|
|
52
|
-
* Finds last child node that is a selectable block container node OR that
|
|
53
|
-
* supports gap cursor
|
|
54
|
-
*/
|
|
55
|
-
export declare const findLastChildNodeToSelect: (parent: PmNode) => NodeWithPos | undefined;
|
|
56
|
-
export declare const isSelectionAtStartOfParentNode: ($pos: ResolvedPos, selection: Selection) => boolean;
|
|
57
|
-
export declare const isSelectionAtEndOfParentNode: ($pos: ResolvedPos, selection: Selection) => boolean;
|
|
58
|
-
export { getNodeSelectionAnalyticsPayload, getAllSelectionAnalyticsPayload, getRangeSelectionAnalyticsPayload, getCellSelectionAnalyticsPayload, createSelectionClickHandler, };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { EditorState, Transaction } from '@atlaskit/editor-prosemirror/state';
|
|
2
|
-
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
3
|
-
import type { Command } from '../../types';
|
|
4
|
-
import type { TOOLBAR_MENU_TYPE } from '../insert-block/ui/ToolbarInsertBlock/types';
|
|
5
|
-
import type { StatusType, ClosingPayload } from './types';
|
|
6
|
-
export declare const DEFAULT_STATUS: StatusType;
|
|
7
|
-
export declare const createStatus: (showStatusPickerAtOffset?: number) => (insert: (node: Node | Object | string, opts: {
|
|
8
|
-
selectInlineNode: boolean;
|
|
9
|
-
}) => Transaction, state: EditorState) => Transaction;
|
|
10
|
-
export declare const updateStatus: (status?: StatusType) => Command;
|
|
11
|
-
export declare const updateStatusWithAnalytics: (inputMethod: TOOLBAR_MENU_TYPE, status?: StatusType) => Command;
|
|
12
|
-
export declare const setStatusPickerAt: (showStatusPickerAt: number | null) => (state: EditorState, dispatch: (tr: Transaction) => void) => boolean;
|
|
13
|
-
export declare const removeStatus: (showStatusPickerAt: number) => Command;
|
|
14
|
-
export declare const commitStatusPicker: (closingPayload?: ClosingPayload) => (editorView: EditorView) => void;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { AnalyticsEventPayload, CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
2
|
-
export declare const FABRIC_CHANNEL = "fabric-elements";
|
|
3
|
-
export declare const createStatusAnalyticsAndFire: (createAnalyticsEvent?: CreateUIAnalyticsEvent) => (payload: AnalyticsEventPayload) => void;
|
|
4
|
-
export declare const analyticsState: (isNew: boolean | undefined) => "update" | "new";
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export declare const messages: {
|
|
2
|
-
placeholder: {
|
|
3
|
-
id: string;
|
|
4
|
-
defaultMessage: string;
|
|
5
|
-
description: string;
|
|
6
|
-
};
|
|
7
|
-
editText: {
|
|
8
|
-
id: string;
|
|
9
|
-
defaultMessage: string;
|
|
10
|
-
description: string;
|
|
11
|
-
};
|
|
12
|
-
editColor: {
|
|
13
|
-
id: string;
|
|
14
|
-
defaultMessage: string;
|
|
15
|
-
description: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/** @jsx jsx */
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
4
|
-
import type { IntlShape } from 'react-intl-next';
|
|
5
|
-
import type { Color, StatusStyle } from '@atlaskit/status/element';
|
|
6
|
-
import type { EventDispatcher } from '../../../event-dispatcher';
|
|
7
|
-
import type { InlineNodeViewComponentProps } from '@atlaskit/editor-common/react-node-view';
|
|
8
|
-
import type { StatusPluginOptions } from '../types';
|
|
9
|
-
export interface ContainerProps {
|
|
10
|
-
view: EditorView;
|
|
11
|
-
intl: IntlShape;
|
|
12
|
-
text?: string;
|
|
13
|
-
color: Color;
|
|
14
|
-
style?: StatusStyle;
|
|
15
|
-
localId?: string;
|
|
16
|
-
eventDispatcher?: EventDispatcher;
|
|
17
|
-
}
|
|
18
|
-
export declare const IntlStatusContainerView: React.FC<import("react-intl-next").WithIntlProps<ContainerProps>> & {
|
|
19
|
-
WrappedComponent: React.ComponentType<ContainerProps>;
|
|
20
|
-
};
|
|
21
|
-
export type Props = InlineNodeViewComponentProps & {
|
|
22
|
-
options: StatusPluginOptions | undefined;
|
|
23
|
-
};
|
|
24
|
-
export declare const StatusNodeView: React.FC<Props>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
2
|
-
import type { PMPluginFactoryParams } from '../../types';
|
|
3
|
-
import type { StatusPluginOptions } from './types';
|
|
4
|
-
export { pluginKey, pluginKeyName } from './plugin-key';
|
|
5
|
-
export type { StatusState, StatusType, ClosingPayload } from './types';
|
|
6
|
-
declare const createPlugin: (pmPluginFactoryParams: PMPluginFactoryParams, options?: StatusPluginOptions) => SafePlugin<any>;
|
|
7
|
-
export default createPlugin;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const statusStyles: import("@emotion/react").SerializedStyles;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { Color as ColorType } from '@atlaskit/status/element';
|
|
2
|
-
import type { closingMethods } from './ui/statusPicker';
|
|
3
|
-
export type StatusType = {
|
|
4
|
-
color: ColorType;
|
|
5
|
-
text: string;
|
|
6
|
-
localId?: string;
|
|
7
|
-
};
|
|
8
|
-
export type StatusState = {
|
|
9
|
-
isNew: boolean;
|
|
10
|
-
showStatusPickerAt: number | null;
|
|
11
|
-
};
|
|
12
|
-
export interface StatusPluginOptions {
|
|
13
|
-
menuDisabled: boolean;
|
|
14
|
-
allowZeroWidthSpaceAfter?: boolean;
|
|
15
|
-
}
|
|
16
|
-
export type ClosingPayload = {
|
|
17
|
-
closingMethod: closingMethods;
|
|
18
|
-
};
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { jsx } from '@emotion/react';
|
|
3
|
-
import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next';
|
|
4
|
-
import type { ColorType as Color } from '@atlaskit/status/picker';
|
|
5
|
-
import type { StatusType, ClosingPayload } from '../plugin';
|
|
6
|
-
export declare enum InputMethod {
|
|
7
|
-
blur = "blur",
|
|
8
|
-
escKey = "escKey",
|
|
9
|
-
enterKey = "enterKey"
|
|
10
|
-
}
|
|
11
|
-
export declare enum closingMethods {
|
|
12
|
-
ArrowLeft = "arrowLeft",
|
|
13
|
-
ArrowRight = "arrowRight"
|
|
14
|
-
}
|
|
15
|
-
export interface Props {
|
|
16
|
-
target: HTMLElement | null;
|
|
17
|
-
closeStatusPicker: (closingPayload?: ClosingPayload) => void;
|
|
18
|
-
onSelect: (status: StatusType) => void;
|
|
19
|
-
onTextChanged: (status: StatusType, isNew: boolean) => void;
|
|
20
|
-
onEnter: (status: StatusType) => void;
|
|
21
|
-
isNew?: boolean;
|
|
22
|
-
defaultText?: string;
|
|
23
|
-
defaultColor?: Color;
|
|
24
|
-
defaultLocalId?: string;
|
|
25
|
-
createAnalyticsEvent?: CreateUIAnalyticsEvent;
|
|
26
|
-
mountTo?: HTMLElement;
|
|
27
|
-
boundariesElement?: HTMLElement;
|
|
28
|
-
scrollableElement?: HTMLElement;
|
|
29
|
-
}
|
|
30
|
-
export interface State {
|
|
31
|
-
color: Color;
|
|
32
|
-
text: string;
|
|
33
|
-
localId?: string;
|
|
34
|
-
isNew?: boolean;
|
|
35
|
-
}
|
|
36
|
-
export declare class StatusPickerWithoutAnalytcs extends React.Component<Props, State> {
|
|
37
|
-
private startTime;
|
|
38
|
-
private inputMethod?;
|
|
39
|
-
private createStatusAnalyticsAndFireFunc;
|
|
40
|
-
private popupBodyWrapper;
|
|
41
|
-
constructor(props: Props);
|
|
42
|
-
private fireStatusPopupOpenedAnalytics;
|
|
43
|
-
private fireStatusPopupClosedAnalytics;
|
|
44
|
-
private reset;
|
|
45
|
-
componentDidMount(): void;
|
|
46
|
-
componentWillUnmount(): void;
|
|
47
|
-
componentDidUpdate(prevProps: Readonly<Props>, prevState: Readonly<State>, _snapshot?: any): void;
|
|
48
|
-
private extractStateFromProps;
|
|
49
|
-
handleClickOutside: (event: Event) => void;
|
|
50
|
-
private handleEscapeKeydown;
|
|
51
|
-
private handleTabPress;
|
|
52
|
-
private handleArrow;
|
|
53
|
-
private onKeyDown;
|
|
54
|
-
render(): jsx.JSX.Element | null;
|
|
55
|
-
private onColorHover;
|
|
56
|
-
private onColorClick;
|
|
57
|
-
private onTextChanged;
|
|
58
|
-
private onEnter;
|
|
59
|
-
private handlePopupClick;
|
|
60
|
-
}
|
|
61
|
-
declare const _default: React.ForwardRefExoticComponent<Omit<Props, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps> & React.RefAttributes<any>>;
|
|
62
|
-
export default _default;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { Selection, Transaction } from '@atlaskit/editor-prosemirror/state';
|
|
2
|
-
import type { StatusType } from './types';
|
|
3
|
-
export declare const mayGetStatusAtSelection: (selection: Selection) => StatusType | null;
|
|
4
|
-
export declare const isEmptyStatus: (node: StatusType) => boolean;
|
|
5
|
-
export declare const setNodeSelectionNearPos: (tr: Transaction, pos: number) => Transaction;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
2
|
-
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
3
|
-
import type { Dispatch } from '../../event-dispatcher';
|
|
4
|
-
import type { EditorProps } from '../../types/editor-props';
|
|
5
|
-
import type { NextEditorPlugin, OptionalPlugin, ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
6
|
-
import type { MediaPlugin } from '@atlaskit/editor-plugin-media';
|
|
7
|
-
export declare function createPlugin(eventDispatch: Dispatch, api: ExtractInjectionAPI<SubmitEditorPlugin> | undefined, onSave?: (editorView: EditorView) => void): SafePlugin | undefined;
|
|
8
|
-
type Config = EditorProps['onSave'];
|
|
9
|
-
type SubmitEditorPlugin = NextEditorPlugin<'submitEditor', {
|
|
10
|
-
pluginConfiguration: Config | undefined;
|
|
11
|
-
dependencies: [
|
|
12
|
-
OptionalPlugin<MediaPlugin>
|
|
13
|
-
];
|
|
14
|
-
}>;
|
|
15
|
-
declare const submitEditorPlugin: SubmitEditorPlugin;
|
|
16
|
-
export default submitEditorPlugin;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { NodeType, ResolvedPos, Schema } from '@atlaskit/editor-prosemirror/model';
|
|
2
|
-
import type { EditorState, Selection, Transaction } from '@atlaskit/editor-prosemirror/state';
|
|
3
|
-
import type { Command } from '../../types';
|
|
4
|
-
import { INPUT_METHOD } from '../analytics';
|
|
5
|
-
import type { TOOLBAR_MENU_TYPE } from '../insert-block/ui/ToolbarInsertBlock/types';
|
|
6
|
-
import type { AddItemAttrs, AddItemTransactionCreator, TaskDecisionInputMethod, TaskDecisionListType } from './types';
|
|
7
|
-
export declare const getListTypes: (listType: TaskDecisionListType, schema: Schema) => {
|
|
8
|
-
list: NodeType;
|
|
9
|
-
item: NodeType;
|
|
10
|
-
};
|
|
11
|
-
export declare const insertTaskDecisionAction: (state: EditorState, listType: TaskDecisionListType, inputMethod?: INPUT_METHOD.FORMATTING | INPUT_METHOD.QUICK_INSERT | TOOLBAR_MENU_TYPE, addItem?: AddItemTransactionCreator, listLocalId?: string, itemLocalId?: string, itemAttrs?: AddItemAttrs) => Transaction;
|
|
12
|
-
export declare const insertTaskDecisionCommand: (listType: TaskDecisionListType, inputMethod?: INPUT_METHOD.FORMATTING | INPUT_METHOD.QUICK_INSERT | TOOLBAR_MENU_TYPE, addItem?: AddItemTransactionCreator, listLocalId?: string, itemLocalId?: string) => Command;
|
|
13
|
-
export declare const insertTaskDecisionWithAnalytics: (state: EditorState, listType: TaskDecisionListType, inputMethod: TaskDecisionInputMethod, addAndCreateList: AddItemTransactionCreator, addToList?: AddItemTransactionCreator, listLocalId?: string, itemLocalId?: string, itemAttrs?: AddItemAttrs) => Transaction | null;
|
|
14
|
-
export declare const isSupportedSourceNode: (schema: Schema, selection: Selection) => boolean;
|
|
15
|
-
export declare const changeInDepth: (before: ResolvedPos, after: ResolvedPos) => number;
|
|
16
|
-
export declare const createListAtSelection: (tr: Transaction, list: any, item: any, schema: Schema, state: EditorState, listLocalId?: string, itemLocalId?: string, itemAttrs?: AddItemAttrs) => Transaction | null;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
|
|
2
|
-
import type { TaskDecisionPluginOptions } from './types';
|
|
3
|
-
declare const tasksAndDecisionsPlugin: NextEditorPlugin<'taskDecision', {
|
|
4
|
-
pluginConfiguration: TaskDecisionPluginOptions | undefined;
|
|
5
|
-
}>;
|
|
6
|
-
export default tasksAndDecisionsPlugin;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { NodeView } from '@atlaskit/editor-prosemirror/view';
|
|
2
|
-
import type { EventDispatcher } from '../../../event-dispatcher';
|
|
3
|
-
import type { getPosHandler } from '../../../nodeviews';
|
|
4
|
-
import type { PortalProviderAPI } from '@atlaskit/editor-common/portal-provider';
|
|
5
|
-
export declare const decisionItemNodeView: (portalProviderAPI: PortalProviderAPI, eventDispatcher: EventDispatcher) => (node: any, view: any, getPos: getPosHandler) => NodeView;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { NodeView } from '@atlaskit/editor-prosemirror/view';
|
|
2
|
-
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
3
|
-
import type { EventDispatcher } from '../../../event-dispatcher';
|
|
4
|
-
import type { getPosHandler } from '../../../nodeviews';
|
|
5
|
-
import type { PortalProviderAPI } from '@atlaskit/editor-common/portal-provider';
|
|
6
|
-
export interface Props {
|
|
7
|
-
providerFactory: ProviderFactory;
|
|
8
|
-
}
|
|
9
|
-
export declare function taskItemNodeViewFactory(portalProviderAPI: PortalProviderAPI, eventDispatcher: EventDispatcher, providerFactory: ProviderFactory): (node: any, view: any, getPos: getPosHandler) => NodeView;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { ResolvedPos } from '@atlaskit/editor-prosemirror/model';
|
|
2
|
-
import type { Command } from '../../../types';
|
|
3
|
-
export declare const liftSelection: Command;
|
|
4
|
-
export declare const wrapSelectionInTaskList: Command;
|
|
5
|
-
/**
|
|
6
|
-
* Tries to move the paragraph content near the given position into the taskItem or decisionItem
|
|
7
|
-
* before it.
|
|
8
|
-
*
|
|
9
|
-
* Looks backwards from the given position to find the "cut point" between the last taskItem and the
|
|
10
|
-
* following paragraph. Then tries to move the content from that paragraph into the taskItem.
|
|
11
|
-
*
|
|
12
|
-
* @param $pos Position at the end of, or anywhere in paragraph following, the last taskItem
|
|
13
|
-
* @see {joinToPreviousListItem}
|
|
14
|
-
*/
|
|
15
|
-
export declare const joinAtCut: ($pos: ResolvedPos) => Command;
|