@atlaskit/editor-core 188.4.0 → 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 +10 -0
- package/dist/cjs/labs/next/presets/universal.js +2 -1
- 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 -2
- package/dist/cjs/plugins/insert-block/ui/ToolbarInsertBlock/index.js +36 -35
- 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 +2 -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 +1 -1
- package/dist/es2019/plugins/insert-block/ui/ToolbarInsertBlock/index.js +3 -3
- 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 +2 -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 +1 -1
- package/dist/esm/plugins/insert-block/ui/ToolbarInsertBlock/index.js +30 -29
- package/dist/esm/ui/ContentStyles/index.js +1 -1
- package/dist/esm/version-wrapper.js +1 -1
- 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 -1
- package/dist/types/plugins/insert-block/types.d.ts +2 -2
- 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/status/actions.d.ts +1 -1
- package/dist/types/plugins/tasks-and-decisions/commands.d.ts +1 -1
- package/dist/types/plugins/view-update-subscription/subscribe/toolbarAndPickerUpdates.d.ts +2 -2
- 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 +7 -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 -1144
- 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/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 -44
- 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 -33
- 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 -22
- 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 -13
- 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 -22
- 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 -61
- 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 -27
- 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/types.d.ts +0 -7
- package/dist/types-ts4.5/plugins/undo-redo/ui/ToolbarUndoRedo/index.d.ts +0 -24
- 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 -40
- 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,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;
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import type { Node, NodeType, ResolvedPos } from '@atlaskit/editor-prosemirror/model';
|
|
2
|
-
import { EditorState, Selection, Transaction } from '@atlaskit/editor-prosemirror/state';
|
|
3
|
-
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
4
|
-
import { TaskItemData } from './types';
|
|
5
|
-
export declare const isInsideTaskOrDecisionItem: (state: EditorState) => boolean;
|
|
6
|
-
export declare const isActionOrDecisionList: (node: Node) => boolean;
|
|
7
|
-
export declare const isActionOrDecisionItem: (node: Node) => boolean;
|
|
8
|
-
export declare const isInsideTask: (state: EditorState) => boolean;
|
|
9
|
-
export declare const isInsideDecision: (state: EditorState) => boolean;
|
|
10
|
-
export declare const isTable: (node?: Node | null) => Boolean;
|
|
11
|
-
/**
|
|
12
|
-
* Creates a NodeRange around the given taskItem and the following
|
|
13
|
-
* ("nested") taskList, if one exists.
|
|
14
|
-
*/
|
|
15
|
-
export declare const getBlockRange: ($from: ResolvedPos, $to: ResolvedPos) => import("prosemirror-model").NodeRange | null;
|
|
16
|
-
/**
|
|
17
|
-
* Finds the distance between the current $from and the root of the taskList.
|
|
18
|
-
*/
|
|
19
|
-
export declare const getCurrentIndentLevel: (selection: Selection) => number | null;
|
|
20
|
-
/**
|
|
21
|
-
* Finds the index of the current task item in relation to the closest taskList
|
|
22
|
-
*/
|
|
23
|
-
export declare const getTaskItemIndex: (state: EditorState) => number;
|
|
24
|
-
/**
|
|
25
|
-
* Walk outwards from a position until we encounter the (inside) start of
|
|
26
|
-
* the next node, or reach the end of the document.
|
|
27
|
-
*
|
|
28
|
-
* @param $startPos Position to start walking from.
|
|
29
|
-
*/
|
|
30
|
-
export declare const walkOut: ($startPos: ResolvedPos) => ResolvedPos;
|
|
31
|
-
/**
|
|
32
|
-
* Finds the height of a tree-like structure, given any position inside it.
|
|
33
|
-
*
|
|
34
|
-
* Traverses from the top of the tree to all leaf nodes, and returns the length
|
|
35
|
-
* of the longest path.
|
|
36
|
-
*
|
|
37
|
-
* This means you can use it with things like taskList, which
|
|
38
|
-
* do not nest themselves inside taskItems but rather as adjacent children.
|
|
39
|
-
*
|
|
40
|
-
* @param $pos Any position inside the tree.
|
|
41
|
-
* @param types The node types to consider traversable
|
|
42
|
-
*/
|
|
43
|
-
export declare const subtreeHeight: ($from: ResolvedPos, $to: ResolvedPos, types: NodeType[]) => number;
|
|
44
|
-
/**
|
|
45
|
-
* Returns `true` if the taskItem or decisionItem has no text.
|
|
46
|
-
*/
|
|
47
|
-
export declare const isEmptyTaskDecision: (state: EditorState) => boolean;
|
|
48
|
-
/**
|
|
49
|
-
* Lifts a taskItem and any directly following taskList
|
|
50
|
-
* (taskItem and its "nested children") out one level.
|
|
51
|
-
*
|
|
52
|
-
* @param tr Transaction to base steps on
|
|
53
|
-
* @param $from Start of range you want to lift
|
|
54
|
-
* @param $to End of range you want to lift (can be same as `$from`)
|
|
55
|
-
*/
|
|
56
|
-
export declare const liftBlock: (tr: Transaction, $from: ResolvedPos, $to: ResolvedPos) => Transaction | null;
|
|
57
|
-
export declare function getTaskItemDataAtPos(view: EditorView): {
|
|
58
|
-
pos: number;
|
|
59
|
-
localId: any;
|
|
60
|
-
} | undefined;
|
|
61
|
-
export declare function getAllTaskItemsDataInRootTaskList(view: EditorView): {
|
|
62
|
-
node: Node;
|
|
63
|
-
pos: number;
|
|
64
|
-
index: number;
|
|
65
|
-
}[] | undefined;
|
|
66
|
-
export declare function getCurrentTaskItemIndex(view: EditorView, allTaskItems: Array<{
|
|
67
|
-
node: Node;
|
|
68
|
-
pos: number;
|
|
69
|
-
index: number;
|
|
70
|
-
}>): number;
|
|
71
|
-
export declare function getTaskItemDataToFocus(view: EditorView, direction: 'next' | 'previous'): {
|
|
72
|
-
pos: number;
|
|
73
|
-
localId: any;
|
|
74
|
-
} | undefined;
|
|
75
|
-
export declare function focusCheckboxAndUpdateSelection(view: EditorView, taskItemData: TaskItemData): void;
|
|
76
|
-
export declare function removeCheckboxFocus(view: EditorView): void;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { FeatureFlags } from '../../../types/feature-flags';
|
|
2
|
-
import type { Schema } from '@atlaskit/editor-prosemirror/model';
|
|
3
|
-
import type { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
4
|
-
export declare function inputRulePlugin(schema: Schema, featureFlags: FeatureFlags): SafePlugin;
|
|
5
|
-
export default inputRulePlugin;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { Schema } from '@atlaskit/editor-prosemirror/model';
|
|
2
|
-
import type { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
3
|
-
import { INPUT_METHOD } from '../../analytics';
|
|
4
|
-
type IndentationInputMethod = INPUT_METHOD.KEYBOARD | INPUT_METHOD.TOOLBAR;
|
|
5
|
-
export declare const getUnindentCommand: (inputMethod?: IndentationInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
6
|
-
export declare const getIndentCommand: (inputMethod?: IndentationInputMethod) => import("@atlaskit/editor-common/types").Command;
|
|
7
|
-
export declare function keymapPlugin(schema: Schema, allowNestedTasks?: boolean, consumeTabs?: boolean): SafePlugin | undefined;
|
|
8
|
-
export default keymapPlugin;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
2
|
-
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
3
|
-
import type { Dispatch, EventDispatcher } from '../../../event-dispatcher';
|
|
4
|
-
import type { PortalProviderAPI } from '@atlaskit/editor-common/portal-provider';
|
|
5
|
-
export declare function createPlugin(portalProviderAPI: PortalProviderAPI, eventDispatcher: EventDispatcher, providerFactory: ProviderFactory, dispatch: Dispatch, useLongPressSelection?: boolean): SafePlugin<any>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const taskDecisionStyles: import("@emotion/react").SerializedStyles;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import type { DecisionItemDefinition, TaskItemDefinition } from '@atlaskit/adf-schema';
|
|
2
|
-
import type { NodeType } from '@atlaskit/editor-prosemirror/model';
|
|
3
|
-
import type { EditorState, Transaction } from '@atlaskit/editor-prosemirror/state';
|
|
4
|
-
import type { INPUT_METHOD, USER_CONTEXT } from '@atlaskit/editor-common/analytics';
|
|
5
|
-
import type { LongPressSelectionPluginOptions } from '@atlaskit/editor-common/types';
|
|
6
|
-
export type TaskDecisionListType = 'taskList' | 'decisionList';
|
|
7
|
-
export type TaskDecisionInputMethod = INPUT_METHOD.TOOLBAR | INPUT_METHOD.INSERT_MENU | INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.FORMATTING | INPUT_METHOD.KEYBOARD;
|
|
8
|
-
export type ContextData = {
|
|
9
|
-
objectId: string;
|
|
10
|
-
containerId: string;
|
|
11
|
-
userContext: USER_CONTEXT;
|
|
12
|
-
};
|
|
13
|
-
export type AddItemAttrs = Partial<DecisionItemDefinition['attrs']> | Partial<TaskItemDefinition['attrs']>;
|
|
14
|
-
export type AddItemTransactionCreator = (opts: {
|
|
15
|
-
state: EditorState;
|
|
16
|
-
tr: Transaction;
|
|
17
|
-
list: NodeType;
|
|
18
|
-
item: NodeType;
|
|
19
|
-
listLocalId: string;
|
|
20
|
-
itemLocalId: string;
|
|
21
|
-
itemAttrs?: AddItemAttrs;
|
|
22
|
-
}) => Transaction | null;
|
|
23
|
-
export interface TaskDecisionPluginOptions extends LongPressSelectionPluginOptions {
|
|
24
|
-
allowNestedTasks?: boolean;
|
|
25
|
-
consumeTabs?: boolean;
|
|
26
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
3
|
-
interface Props {
|
|
4
|
-
contentRef: any;
|
|
5
|
-
showPlaceholder?: boolean;
|
|
6
|
-
}
|
|
7
|
-
export declare class Decision extends React.Component<Props & WrappedComponentProps, {}> {
|
|
8
|
-
static displayName: string;
|
|
9
|
-
render(): JSX.Element;
|
|
10
|
-
}
|
|
11
|
-
declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps<"intl">>> & {
|
|
12
|
-
WrappedComponent: React.ComponentType<Props & WrappedComponentProps<"intl">>;
|
|
13
|
-
};
|
|
14
|
-
export default _default;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import React, { PureComponent, ReactElement } from 'react';
|
|
2
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
3
|
-
import { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
4
|
-
import { ContentRef } from '@atlaskit/task-decision';
|
|
5
|
-
export interface TaskProps {
|
|
6
|
-
taskId: string;
|
|
7
|
-
isDone: boolean;
|
|
8
|
-
isFocused?: boolean;
|
|
9
|
-
contentRef?: ContentRef;
|
|
10
|
-
onChange?: (taskId: string, isChecked: boolean) => void;
|
|
11
|
-
showPlaceholder?: boolean;
|
|
12
|
-
children?: ReactElement<any>;
|
|
13
|
-
providers?: ProviderFactory;
|
|
14
|
-
disabled?: boolean;
|
|
15
|
-
}
|
|
16
|
-
export declare class TaskItem extends PureComponent<TaskProps & WrappedComponentProps, {}> {
|
|
17
|
-
static displayName: string;
|
|
18
|
-
private providerFactory;
|
|
19
|
-
constructor(props: TaskProps & WrappedComponentProps);
|
|
20
|
-
componentWillUnmount(): void;
|
|
21
|
-
private renderWithProvider;
|
|
22
|
-
render(): JSX.Element;
|
|
23
|
-
}
|
|
24
|
-
declare const _default: React.FC<import("react-intl-next").WithIntlProps<TaskProps & WrappedComponentProps<"intl">>> & {
|
|
25
|
-
WrappedComponent: React.ComponentType<TaskProps & WrappedComponentProps<"intl">>;
|
|
26
|
-
};
|
|
27
|
-
export default _default;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { Component, ReactElement } from 'react';
|
|
2
|
-
import type { ContextIdentifierProvider } from '@atlaskit/editor-common/provider-factory';
|
|
3
|
-
import { ContentRef, TaskDecisionProvider } from '@atlaskit/task-decision';
|
|
4
|
-
export interface Props {
|
|
5
|
-
taskId: string;
|
|
6
|
-
isDone: boolean;
|
|
7
|
-
isFocused?: boolean;
|
|
8
|
-
contentRef?: ContentRef;
|
|
9
|
-
onChange?: (taskId: string, isChecked: boolean) => void;
|
|
10
|
-
showPlaceholder?: boolean;
|
|
11
|
-
placeholder?: string;
|
|
12
|
-
children?: ReactElement<any>;
|
|
13
|
-
taskDecisionProvider?: Promise<TaskDecisionProvider>;
|
|
14
|
-
contextIdentifierProvider?: Promise<ContextIdentifierProvider>;
|
|
15
|
-
}
|
|
16
|
-
export interface State {
|
|
17
|
-
resolvedContextProvider?: ContextIdentifierProvider;
|
|
18
|
-
}
|
|
19
|
-
export default class TaskItemWithProviders extends Component<Props, State> {
|
|
20
|
-
static displayName: string;
|
|
21
|
-
state: State;
|
|
22
|
-
private mounted;
|
|
23
|
-
UNSAFE_componentWillMount(): void;
|
|
24
|
-
componentWillUnmount(): void;
|
|
25
|
-
UNSAFE_componentWillReceiveProps(nextProps: Props): void;
|
|
26
|
-
private updateContextIdentifierProvider;
|
|
27
|
-
render(): JSX.Element;
|
|
28
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import React, { PureComponent } from 'react';
|
|
2
|
-
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
3
|
-
import type { WrappedComponentProps } from 'react-intl-next';
|
|
4
|
-
export interface Props {
|
|
5
|
-
editorView?: EditorView;
|
|
6
|
-
isDisabled?: boolean;
|
|
7
|
-
isReducedSpacing?: boolean;
|
|
8
|
-
}
|
|
9
|
-
export interface State {
|
|
10
|
-
disabled: boolean;
|
|
11
|
-
}
|
|
12
|
-
export declare class ToolbarDecision extends PureComponent<Props & WrappedComponentProps, State> {
|
|
13
|
-
state: State;
|
|
14
|
-
render(): JSX.Element;
|
|
15
|
-
private handleInsertDecision;
|
|
16
|
-
}
|
|
17
|
-
declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps<"intl">>> & {
|
|
18
|
-
WrappedComponent: React.ComponentType<Props & WrappedComponentProps<"intl">>;
|
|
19
|
-
};
|
|
20
|
-
export default _default;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import React, { PureComponent } from 'react';
|
|
2
|
-
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
3
|
-
import type { WrappedComponentProps } from 'react-intl-next';
|
|
4
|
-
export interface Props {
|
|
5
|
-
editorView?: EditorView;
|
|
6
|
-
isDisabled?: boolean;
|
|
7
|
-
isReducedSpacing?: boolean;
|
|
8
|
-
}
|
|
9
|
-
export interface State {
|
|
10
|
-
disabled: boolean;
|
|
11
|
-
}
|
|
12
|
-
export declare class ToolbarTask extends PureComponent<Props & WrappedComponentProps, State> {
|
|
13
|
-
state: State;
|
|
14
|
-
render(): JSX.Element;
|
|
15
|
-
private handleInsertTask;
|
|
16
|
-
}
|
|
17
|
-
declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps<"intl">>> & {
|
|
18
|
-
WrappedComponent: React.ComponentType<Props & WrappedComponentProps<"intl">>;
|
|
19
|
-
};
|
|
20
|
-
export default _default;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { Schema } from '@atlaskit/editor-prosemirror/model';
|
|
2
|
-
import { Slice } from '@atlaskit/editor-prosemirror/model';
|
|
3
|
-
import { Selection } from '@atlaskit/editor-prosemirror/state';
|
|
4
|
-
export declare const transformSliceToDecisionList: (slice: Slice, schema: Schema) => Slice;
|
|
5
|
-
export declare const normalizeTaskItemsSelection: (selection: Selection) => Selection;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { TextColorPluginState } from './pm-plugins/main';
|
|
2
|
-
import { pluginKey as textColorPluginKey } from './pm-plugins/main';
|
|
3
|
-
import type { TextColorPlugin } from './types';
|
|
4
|
-
declare const textColorPlugin: TextColorPlugin;
|
|
5
|
-
export { textColorPluginKey };
|
|
6
|
-
export type { TextColorPluginState };
|
|
7
|
-
export default textColorPlugin;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
2
|
-
import { PluginKey } from '@atlaskit/editor-prosemirror/state';
|
|
3
|
-
import type { Dispatch } from '@atlaskit/editor-common/event-dispatcher';
|
|
4
|
-
import type { PaletteColor } from '@atlaskit/editor-common/ui-color';
|
|
5
|
-
export { DEFAULT_COLOR } from '../utils/color';
|
|
6
|
-
export type TextColorPluginState = {
|
|
7
|
-
palette: Array<PaletteColor>;
|
|
8
|
-
defaultColor: string;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
color: string | null;
|
|
11
|
-
};
|
|
12
|
-
type TextColorDefaultColor = {
|
|
13
|
-
color: string;
|
|
14
|
-
label: string;
|
|
15
|
-
};
|
|
16
|
-
export interface TextColorPluginConfig {
|
|
17
|
-
defaultColor?: TextColorDefaultColor;
|
|
18
|
-
}
|
|
19
|
-
export declare enum ACTIONS {
|
|
20
|
-
RESET_COLOR = 0,
|
|
21
|
-
SET_COLOR = 1,
|
|
22
|
-
DISABLE = 2
|
|
23
|
-
}
|
|
24
|
-
export declare const pluginKey: PluginKey<TextColorPluginState>;
|
|
25
|
-
export declare function createPlugin(dispatch: Dispatch, pluginConfig?: TextColorPluginConfig): SafePlugin;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
|
|
2
|
-
import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
3
|
-
import type { TextColorPluginConfig } from './pm-plugins/main';
|
|
4
|
-
type Config = TextColorPluginConfig | boolean;
|
|
5
|
-
export type TextColorPluginDependencies = [
|
|
6
|
-
OptionalPlugin<AnalyticsPlugin>
|
|
7
|
-
];
|
|
8
|
-
export type TextColorPlugin = NextEditorPlugin<'textColor', {
|
|
9
|
-
pluginConfiguration: Config | undefined;
|
|
10
|
-
dependencies: TextColorPluginDependencies;
|
|
11
|
-
}>;
|
|
12
|
-
export {};
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
/** @jsx jsx */
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { jsx } from '@emotion/react';
|
|
4
|
-
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
5
|
-
import type { WrappedComponentProps } from 'react-intl-next';
|
|
6
|
-
import type { DispatchAnalyticsEvent, EditorAnalyticsAPI } from '@atlaskit/editor-common/analytics';
|
|
7
|
-
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
8
|
-
import type { TextColorPluginState } from '../../pm-plugins/main';
|
|
9
|
-
import type { TextColorPlugin } from '../../types';
|
|
10
|
-
export declare const messages: {
|
|
11
|
-
textColor: {
|
|
12
|
-
id: string;
|
|
13
|
-
defaultMessage: string;
|
|
14
|
-
description: string;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
export interface State {
|
|
18
|
-
isOpen: boolean;
|
|
19
|
-
isOpenedByKeyboard: boolean;
|
|
20
|
-
}
|
|
21
|
-
export interface Props {
|
|
22
|
-
pluginState: TextColorPluginState;
|
|
23
|
-
editorView: EditorView;
|
|
24
|
-
popupsMountPoint?: HTMLElement;
|
|
25
|
-
popupsBoundariesElement?: HTMLElement;
|
|
26
|
-
popupsScrollableElement?: HTMLElement;
|
|
27
|
-
isReducedSpacing?: boolean;
|
|
28
|
-
dispatchAnalyticsEvent?: DispatchAnalyticsEvent;
|
|
29
|
-
disabled?: boolean;
|
|
30
|
-
pluginInjectionApi: ExtractInjectionAPI<TextColorPlugin> | undefined;
|
|
31
|
-
}
|
|
32
|
-
export declare class ToolbarTextColor extends React.Component<Props & WrappedComponentProps, State> {
|
|
33
|
-
state: State;
|
|
34
|
-
private toolbarItemRef;
|
|
35
|
-
changeColor: (color: string, editorAnalyticsApi: EditorAnalyticsAPI | undefined) => boolean;
|
|
36
|
-
render(): jsx.JSX.Element;
|
|
37
|
-
private onOpenChange;
|
|
38
|
-
private changeTextColor;
|
|
39
|
-
private toggleOpen;
|
|
40
|
-
private onKeyDown;
|
|
41
|
-
private handleOpenChange;
|
|
42
|
-
private hide;
|
|
43
|
-
private hideonEsc;
|
|
44
|
-
private getSelectedColor;
|
|
45
|
-
private getCommonAnalyticsAttributes;
|
|
46
|
-
private buildAnalyticsPalette;
|
|
47
|
-
private buildAnalyticsSelectColor;
|
|
48
|
-
private dispatchAnalyticsEvent;
|
|
49
|
-
}
|
|
50
|
-
declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps<"intl">>> & {
|
|
51
|
-
WrappedComponent: React.ComponentType<Props & WrappedComponentProps<"intl">>;
|
|
52
|
-
};
|
|
53
|
-
export default _default;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
|
|
2
|
-
import type { FeatureFlagsPlugin } from '@atlaskit/editor-plugin-feature-flags';
|
|
3
|
-
import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
4
|
-
import type { ListPlugin } from '@atlaskit/editor-plugin-list';
|
|
5
|
-
import type { IndentationButtons } from './pm-plugins/indentation-buttons';
|
|
6
|
-
type Config = {
|
|
7
|
-
showIndentationButtons: boolean;
|
|
8
|
-
allowHeadingAndParagraphIndentation: boolean;
|
|
9
|
-
};
|
|
10
|
-
declare const toolbarListsIndentationPlugin: NextEditorPlugin<'toolbarListsIndentation', {
|
|
11
|
-
pluginConfiguration: Config;
|
|
12
|
-
dependencies: [
|
|
13
|
-
FeatureFlagsPlugin,
|
|
14
|
-
ListPlugin,
|
|
15
|
-
OptionalPlugin<AnalyticsPlugin>
|
|
16
|
-
];
|
|
17
|
-
sharedState: IndentationButtons | undefined;
|
|
18
|
-
}>;
|
|
19
|
-
export default toolbarListsIndentationPlugin;
|
package/dist/types-ts4.5/plugins/toolbar-lists-indentation/pm-plugins/indentation-buttons.d.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { PluginKey } from '@atlaskit/editor-prosemirror/state';
|
|
2
|
-
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
3
|
-
import type { Dispatch } from '../../../event-dispatcher';
|
|
4
|
-
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
5
|
-
import type toolbarListsIndentationPlugin from '../index';
|
|
6
|
-
export interface IndentationButtons {
|
|
7
|
-
indentDisabled: boolean;
|
|
8
|
-
outdentDisabled: boolean;
|
|
9
|
-
node: null | 'paragraph_heading' | 'list' | 'taskList';
|
|
10
|
-
}
|
|
11
|
-
export declare const pluginKey: PluginKey<IndentationButtons>;
|
|
12
|
-
export declare const createPlugin: ({ dispatch, showIndentationButtons, allowHeadingAndParagraphIndentation, api, }: {
|
|
13
|
-
dispatch: Dispatch;
|
|
14
|
-
showIndentationButtons: boolean;
|
|
15
|
-
allowHeadingAndParagraphIndentation: boolean;
|
|
16
|
-
api: ExtractInjectionAPI<typeof toolbarListsIndentationPlugin> | undefined;
|
|
17
|
-
}) => SafePlugin<IndentationButtons>;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
2
|
-
import type { onItemActivated } from './ui/onItemActivated';
|
|
3
|
-
import type { FeatureFlags } from '@atlaskit/editor-common/types';
|
|
4
|
-
export type ButtonName = 'bullet_list' | 'ordered_list' | 'indent' | 'outdent';
|
|
5
|
-
export interface ToolbarProps {
|
|
6
|
-
editorView: EditorView;
|
|
7
|
-
featureFlags: FeatureFlags;
|
|
8
|
-
bulletListActive?: boolean;
|
|
9
|
-
bulletListDisabled?: boolean;
|
|
10
|
-
orderedListActive?: boolean;
|
|
11
|
-
orderedListDisabled?: boolean;
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
isSmall?: boolean;
|
|
14
|
-
isSeparator?: boolean;
|
|
15
|
-
isReducedSpacing?: boolean;
|
|
16
|
-
showIndentationButtons?: boolean;
|
|
17
|
-
indentDisabled?: boolean;
|
|
18
|
-
outdentDisabled?: boolean;
|
|
19
|
-
onItemActivated: ReturnType<typeof onItemActivated>;
|
|
20
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/** @jsx jsx */
|
|
2
|
-
import { jsx } from '@emotion/react';
|
|
3
|
-
import type { ToolbarProps } from '../types';
|
|
4
|
-
export type DropdownProps = ToolbarProps & {
|
|
5
|
-
popupsMountPoint?: HTMLElement;
|
|
6
|
-
popupsBoundariesElement?: HTMLElement;
|
|
7
|
-
popupsScrollableElement?: HTMLElement;
|
|
8
|
-
};
|
|
9
|
-
export declare function ToolbarDropdown(props: DropdownProps): jsx.JSX.Element;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/** @jsx jsx */
|
|
2
|
-
import { jsx } from '@emotion/react';
|
|
3
|
-
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
4
|
-
import type { ExtractInjectionAPI, FeatureFlags } from '@atlaskit/editor-common/types';
|
|
5
|
-
import type toolbarListsIndentationPlugin from '../index';
|
|
6
|
-
export interface Props {
|
|
7
|
-
editorView: EditorView;
|
|
8
|
-
featureFlags: FeatureFlags;
|
|
9
|
-
bulletListActive?: boolean;
|
|
10
|
-
bulletListDisabled?: boolean;
|
|
11
|
-
orderedListActive?: boolean;
|
|
12
|
-
orderedListDisabled?: boolean;
|
|
13
|
-
disabled?: boolean;
|
|
14
|
-
isSmall?: boolean;
|
|
15
|
-
isReducedSpacing?: boolean;
|
|
16
|
-
popupsMountPoint?: HTMLElement;
|
|
17
|
-
popupsBoundariesElement?: HTMLElement;
|
|
18
|
-
popupsScrollableElement?: HTMLElement;
|
|
19
|
-
showIndentationButtons?: boolean;
|
|
20
|
-
indentDisabled?: boolean;
|
|
21
|
-
outdentDisabled?: boolean;
|
|
22
|
-
pluginInjectionApi?: ExtractInjectionAPI<typeof toolbarListsIndentationPlugin> | undefined;
|
|
23
|
-
}
|
|
24
|
-
export default function ToolbarListsIndentation(props: Props): jsx.JSX.Element;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
2
|
-
import type { ButtonName } from '../types';
|
|
3
|
-
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
4
|
-
import type toolbarListsIndentationPlugin from '../index';
|
|
5
|
-
export declare const onItemActivated: (pluginInjectionApi: ExtractInjectionAPI<typeof toolbarListsIndentationPlugin> | undefined) => ({ buttonName, editorView, }: {
|
|
6
|
-
buttonName: ButtonName;
|
|
7
|
-
editorView: EditorView;
|
|
8
|
-
}) => void;
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
2
|
-
import type { TypeAheadItem } from '@atlaskit/editor-common/provider-factory';
|
|
3
|
-
import { SelectItemMode } from '@atlaskit/editor-common/type-ahead';
|
|
4
|
-
import type { TypeAheadInputMethod } from '@atlaskit/editor-plugin-type-ahead';
|
|
5
|
-
import type { TypeAheadHandler } from './types';
|
|
6
|
-
import type { Command } from '@atlaskit/editor-common/types';
|
|
7
|
-
type CloseOptions = {
|
|
8
|
-
insertCurrentQueryAsRawText: boolean;
|
|
9
|
-
attachCommand?: Command;
|
|
10
|
-
};
|
|
11
|
-
type InsertItemProps = {
|
|
12
|
-
contentItem: TypeAheadItem;
|
|
13
|
-
query: string;
|
|
14
|
-
sourceListItem: TypeAheadItem[];
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
* Please do not use it. Ping #help-editor and talk to the Lego team before use it.
|
|
18
|
-
*
|
|
19
|
-
* @private
|
|
20
|
-
* @deprecated
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
export declare const createTypeAheadTools: (editorView: EditorView) => {
|
|
24
|
-
isOpen: () => TypeAheadHandler | false;
|
|
25
|
-
currentQuery: () => string | undefined;
|
|
26
|
-
close: (options?: CloseOptions) => boolean;
|
|
27
|
-
openMention: (inputMethod: TypeAheadInputMethod) => boolean;
|
|
28
|
-
searchMention: (query?: string) => {
|
|
29
|
-
type: (appendValue: string) => Promise<TypeAheadItem[]> | undefined;
|
|
30
|
-
result: () => Promise<TypeAheadItem[] | undefined>;
|
|
31
|
-
close: (options?: CloseOptions) => boolean;
|
|
32
|
-
insert: ({ index, mode }: {
|
|
33
|
-
index: number;
|
|
34
|
-
mode?: SelectItemMode | undefined;
|
|
35
|
-
}) => Promise<void>;
|
|
36
|
-
};
|
|
37
|
-
openQuickInsert: (inputMethod: TypeAheadInputMethod) => boolean;
|
|
38
|
-
searchQuickInsert: (query?: string) => {
|
|
39
|
-
type: (appendValue: string) => Promise<TypeAheadItem[]> | undefined;
|
|
40
|
-
result: () => Promise<TypeAheadItem[] | undefined>;
|
|
41
|
-
close: (options?: CloseOptions) => boolean;
|
|
42
|
-
insert: ({ index, mode }: {
|
|
43
|
-
index: number;
|
|
44
|
-
mode?: SelectItemMode | undefined;
|
|
45
|
-
}) => Promise<void>;
|
|
46
|
-
};
|
|
47
|
-
openEmoji: (inputMethod: TypeAheadInputMethod) => boolean;
|
|
48
|
-
searchEmoji: (query?: string) => {
|
|
49
|
-
type: (appendValue: string) => Promise<TypeAheadItem[]> | undefined;
|
|
50
|
-
result: () => Promise<TypeAheadItem[] | undefined>;
|
|
51
|
-
close: (options?: CloseOptions) => boolean;
|
|
52
|
-
insert: ({ index, mode }: {
|
|
53
|
-
index: number;
|
|
54
|
-
mode?: SelectItemMode | undefined;
|
|
55
|
-
}) => Promise<void>;
|
|
56
|
-
};
|
|
57
|
-
insertItemMention: ({ contentItem, query, sourceListItem }: InsertItemProps) => boolean;
|
|
58
|
-
insertItemEmoji: ({ contentItem, query, sourceListItem }: InsertItemProps) => boolean;
|
|
59
|
-
insertItemQuickInsert: ({ contentItem, query, sourceListItem }: InsertItemProps) => boolean;
|
|
60
|
-
};
|
|
61
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
2
|
-
import { SelectItemMode } from '@atlaskit/editor-common/type-ahead';
|
|
3
|
-
import type { TypeAheadHandler, TypeAheadItem } from '../types';
|
|
4
|
-
type Props = {
|
|
5
|
-
item: TypeAheadItem;
|
|
6
|
-
handler: TypeAheadHandler;
|
|
7
|
-
mode: SelectItemMode;
|
|
8
|
-
sourceListItem: Array<TypeAheadItem>;
|
|
9
|
-
query: string;
|
|
10
|
-
};
|
|
11
|
-
export declare const insertTypeAheadItem: (view: EditorView) => ({ item, handler, mode, query, sourceListItem }: Props) => void;
|
|
12
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export declare const TYPE_AHEAD_DECORATION_KEY = "typeahead_decoration_key";
|
|
2
|
-
export declare const TYPE_AHEAD_DECORATION_DATA_ATTRIBUTE = "typeaheadDecoration";
|
|
3
|
-
export declare const TYPE_AHEAD_POPUP_CONTENT_CLASS = "fabric-editor-typeahead";
|
|
4
|
-
export declare const TYPE_AHEAD_DECORATION_ELEMENT_ID = "typeahaed_decoration_element_id";
|
|
5
|
-
export declare enum CloseSelectionOptions {
|
|
6
|
-
BEFORE_TEXT_INSERTED = "BEFORE_TEXT_INSERTED",
|
|
7
|
-
AFTER_TEXT_INSERTED = "AFTER_TEXT_INSERTED"
|
|
8
|
-
}
|