@atlaskit/editor-core 188.4.0 → 188.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -0
- package/dist/cjs/labs/next/presets/default.js +2 -2
- package/dist/cjs/labs/next/presets/universal.js +3 -7
- 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/expand/index.js +0 -2
- package/dist/cjs/plugins/expand/nodeviews/index.js +37 -13
- package/dist/cjs/plugins/index.js +2 -9
- package/dist/cjs/plugins/insert-block/ui/ToolbarInsertBlock/index.js +36 -35
- package/dist/cjs/ui/Addon/click-area-helper.js +9 -11
- package/dist/cjs/ui/ContentStyles/index.js +14 -14
- package/dist/cjs/utils/selection.js +12 -14
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/labs/next/presets/default.js +1 -1
- package/dist/es2019/labs/next/presets/universal.js +3 -7
- 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/expand/index.js +0 -2
- package/dist/es2019/plugins/expand/nodeviews/index.js +37 -13
- package/dist/es2019/plugins/index.js +1 -2
- package/dist/es2019/plugins/insert-block/ui/ToolbarInsertBlock/index.js +3 -3
- package/dist/es2019/ui/Addon/click-area-helper.js +4 -6
- package/dist/es2019/ui/ContentStyles/index.js +2 -2
- package/dist/es2019/utils/selection.js +2 -17
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/labs/next/presets/default.js +1 -1
- package/dist/esm/labs/next/presets/universal.js +3 -7
- 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/expand/index.js +0 -2
- package/dist/esm/plugins/expand/nodeviews/index.js +37 -13
- package/dist/esm/plugins/index.js +1 -2
- package/dist/esm/plugins/insert-block/ui/ToolbarInsertBlock/index.js +30 -29
- package/dist/esm/ui/Addon/click-area-helper.js +4 -6
- package/dist/esm/ui/ContentStyles/index.js +2 -2
- package/dist/esm/utils/selection.js +2 -13
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/labs/next/presets/default.d.ts +22 -8
- 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/expand/index.d.ts +1 -1
- package/dist/types/plugins/expand/nodeviews/index.d.ts +3 -2
- package/dist/types/plugins/index.d.ts +1 -2
- 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/dist/types/utils/selection.d.ts +1 -4
- package/package.json +8 -3
- package/dist/cjs/plugins/selection/actions.js +0 -11
- package/dist/cjs/plugins/selection/commands.js +0 -257
- package/dist/cjs/plugins/selection/gap-cursor/actions.js +0 -272
- package/dist/cjs/plugins/selection/gap-cursor/direction.js +0 -23
- package/dist/cjs/plugins/selection/gap-cursor/selection.js +0 -30
- package/dist/cjs/plugins/selection/gap-cursor/styles.js +0 -17
- package/dist/cjs/plugins/selection/gap-cursor/utils/is-ignored.js +0 -12
- package/dist/cjs/plugins/selection/gap-cursor/utils/is-valid-target-node.js +0 -12
- package/dist/cjs/plugins/selection/gap-cursor/utils/place-gap-cursor.js +0 -103
- package/dist/cjs/plugins/selection/gap-cursor/utils.js +0 -137
- package/dist/cjs/plugins/selection/gap-cursor-selection.js +0 -37
- package/dist/cjs/plugins/selection/index.js +0 -65
- package/dist/cjs/plugins/selection/plugin-factory.js +0 -49
- package/dist/cjs/plugins/selection/pm-plugins/events/create-selection-between.js +0 -92
- package/dist/cjs/plugins/selection/pm-plugins/events/keydown.js +0 -115
- package/dist/cjs/plugins/selection/pm-plugins/gap-cursor-keymap.js +0 -46
- package/dist/cjs/plugins/selection/pm-plugins/gap-cursor-main.js +0 -160
- package/dist/cjs/plugins/selection/pm-plugins/gap-cursor-plugin-key.js +0 -8
- package/dist/cjs/plugins/selection/pm-plugins/keymap.js +0 -16
- package/dist/cjs/plugins/selection/pm-plugins/selection-main.js +0 -104
- package/dist/cjs/plugins/selection/reducer.js +0 -26
- package/dist/cjs/plugins/selection/types.js +0 -20
- package/dist/cjs/plugins/selection/utils.js +0 -280
- package/dist/cjs/selection-api/api.js +0 -27
- package/dist/es2019/plugins/selection/actions.js +0 -5
- package/dist/es2019/plugins/selection/commands.js +0 -250
- package/dist/es2019/plugins/selection/gap-cursor/actions.js +0 -270
- package/dist/es2019/plugins/selection/gap-cursor/direction.js +0 -15
- package/dist/es2019/plugins/selection/gap-cursor/selection.js +0 -1
- package/dist/es2019/plugins/selection/gap-cursor/styles.js +0 -145
- package/dist/es2019/plugins/selection/gap-cursor/utils/is-ignored.js +0 -1
- package/dist/es2019/plugins/selection/gap-cursor/utils/is-valid-target-node.js +0 -1
- package/dist/es2019/plugins/selection/gap-cursor/utils/place-gap-cursor.js +0 -94
- package/dist/es2019/plugins/selection/gap-cursor/utils.js +0 -124
- package/dist/es2019/plugins/selection/gap-cursor-selection.js +0 -2
- package/dist/es2019/plugins/selection/index.js +0 -51
- package/dist/es2019/plugins/selection/plugin-factory.js +0 -43
- package/dist/es2019/plugins/selection/pm-plugins/events/create-selection-between.js +0 -89
- package/dist/es2019/plugins/selection/pm-plugins/events/keydown.js +0 -112
- package/dist/es2019/plugins/selection/pm-plugins/gap-cursor-keymap.js +0 -40
- package/dist/es2019/plugins/selection/pm-plugins/gap-cursor-main.js +0 -158
- package/dist/es2019/plugins/selection/pm-plugins/gap-cursor-plugin-key.js +0 -2
- package/dist/es2019/plugins/selection/pm-plugins/keymap.js +0 -10
- package/dist/es2019/plugins/selection/pm-plugins/selection-main.js +0 -97
- package/dist/es2019/plugins/selection/reducer.js +0 -18
- package/dist/es2019/plugins/selection/types.js +0 -9
- package/dist/es2019/plugins/selection/utils.js +0 -233
- package/dist/es2019/selection-api/api.js +0 -20
- package/dist/esm/plugins/selection/actions.js +0 -5
- package/dist/esm/plugins/selection/commands.js +0 -251
- package/dist/esm/plugins/selection/gap-cursor/actions.js +0 -266
- package/dist/esm/plugins/selection/gap-cursor/direction.js +0 -15
- package/dist/esm/plugins/selection/gap-cursor/selection.js +0 -1
- package/dist/esm/plugins/selection/gap-cursor/styles.js +0 -10
- package/dist/esm/plugins/selection/gap-cursor/utils/is-ignored.js +0 -1
- package/dist/esm/plugins/selection/gap-cursor/utils/is-valid-target-node.js +0 -1
- package/dist/esm/plugins/selection/gap-cursor/utils/place-gap-cursor.js +0 -97
- package/dist/esm/plugins/selection/gap-cursor/utils.js +0 -128
- package/dist/esm/plugins/selection/gap-cursor-selection.js +0 -2
- package/dist/esm/plugins/selection/index.js +0 -58
- package/dist/esm/plugins/selection/plugin-factory.js +0 -43
- package/dist/esm/plugins/selection/pm-plugins/events/create-selection-between.js +0 -86
- package/dist/esm/plugins/selection/pm-plugins/events/keydown.js +0 -110
- package/dist/esm/plugins/selection/pm-plugins/gap-cursor-keymap.js +0 -40
- package/dist/esm/plugins/selection/pm-plugins/gap-cursor-main.js +0 -154
- package/dist/esm/plugins/selection/pm-plugins/gap-cursor-plugin-key.js +0 -2
- package/dist/esm/plugins/selection/pm-plugins/keymap.js +0 -10
- package/dist/esm/plugins/selection/pm-plugins/selection-main.js +0 -98
- package/dist/esm/plugins/selection/reducer.js +0 -19
- package/dist/esm/plugins/selection/types.js +0 -9
- package/dist/esm/plugins/selection/utils.js +0 -241
- package/dist/esm/selection-api/api.js +0 -21
- package/dist/types/plugins/date/styles.d.ts +0 -1
- package/dist/types/plugins/selection/actions.d.ts +0 -17
- package/dist/types/plugins/selection/commands.d.ts +0 -10
- package/dist/types/plugins/selection/gap-cursor/actions.d.ts +0 -25
- package/dist/types/plugins/selection/gap-cursor/direction.d.ts +0 -10
- package/dist/types/plugins/selection/gap-cursor/selection.d.ts +0 -1
- package/dist/types/plugins/selection/gap-cursor/styles.d.ts +0 -2
- package/dist/types/plugins/selection/gap-cursor/utils/is-ignored.d.ts +0 -1
- package/dist/types/plugins/selection/gap-cursor/utils/is-valid-target-node.d.ts +0 -1
- package/dist/types/plugins/selection/gap-cursor/utils/place-gap-cursor.d.ts +0 -2
- package/dist/types/plugins/selection/gap-cursor/utils.d.ts +0 -8
- package/dist/types/plugins/selection/gap-cursor-selection.d.ts +0 -2
- package/dist/types/plugins/selection/index.d.ts +0 -13
- package/dist/types/plugins/selection/plugin-factory.d.ts +0 -2
- package/dist/types/plugins/selection/pm-plugins/events/create-selection-between.d.ts +0 -4
- package/dist/types/plugins/selection/pm-plugins/events/keydown.d.ts +0 -2
- package/dist/types/plugins/selection/pm-plugins/gap-cursor-keymap.d.ts +0 -2
- package/dist/types/plugins/selection/pm-plugins/gap-cursor-main.d.ts +0 -6
- package/dist/types/plugins/selection/pm-plugins/gap-cursor-plugin-key.d.ts +0 -2
- package/dist/types/plugins/selection/pm-plugins/keymap.d.ts +0 -3
- package/dist/types/plugins/selection/pm-plugins/selection-main.d.ts +0 -7
- package/dist/types/plugins/selection/reducer.d.ts +0 -3
- package/dist/types/plugins/selection/types.d.ts +0 -12
- package/dist/types/plugins/selection/utils.d.ts +0 -58
- package/dist/types/selection-api/api.d.ts +0 -11
- 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,86 +0,0 @@
|
|
|
1
|
-
import { NodeSelection, TextSelection } from '@atlaskit/editor-prosemirror/state';
|
|
2
|
-
function isNodeContentEmpty(maybeNode) {
|
|
3
|
-
return (maybeNode === null || maybeNode === void 0 ? void 0 : maybeNode.content.size) === 0 || (maybeNode === null || maybeNode === void 0 ? void 0 : maybeNode.textContent) === '';
|
|
4
|
-
}
|
|
5
|
-
function findEmptySelectableParentNodePosition($pos, isValidPosition) {
|
|
6
|
-
var doc = $pos.doc;
|
|
7
|
-
if ($pos.pos + 1 > doc.content.size) {
|
|
8
|
-
return null;
|
|
9
|
-
}
|
|
10
|
-
if ($pos.nodeBefore !== null) {
|
|
11
|
-
if (isValidPosition($pos)) {
|
|
12
|
-
return $pos;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
// We can not use `$pos.before()` because ProseMirror throws an error when depth is zero.
|
|
16
|
-
var currentPosIndex = $pos.index();
|
|
17
|
-
if (currentPosIndex === 0) {
|
|
18
|
-
return null;
|
|
19
|
-
}
|
|
20
|
-
var previousIndex = currentPosIndex - 1;
|
|
21
|
-
var $previousPos = $pos.doc.resolve($pos.posAtIndex(previousIndex));
|
|
22
|
-
if (isValidPosition($previousPos)) {
|
|
23
|
-
return $previousPos;
|
|
24
|
-
}
|
|
25
|
-
return null;
|
|
26
|
-
}
|
|
27
|
-
if (isValidPosition($pos)) {
|
|
28
|
-
return $pos;
|
|
29
|
-
}
|
|
30
|
-
var positionLevelUp = $pos.before();
|
|
31
|
-
var resolvedPositionLevelUp = doc.resolve(positionLevelUp);
|
|
32
|
-
return findEmptySelectableParentNodePosition(resolvedPositionLevelUp, isValidPosition);
|
|
33
|
-
}
|
|
34
|
-
var checkPositionNode = function checkPositionNode($pos) {
|
|
35
|
-
var maybeNode = $pos.nodeAfter;
|
|
36
|
-
if (!maybeNode || !maybeNode.isBlock) {
|
|
37
|
-
return false;
|
|
38
|
-
}
|
|
39
|
-
if (maybeNode.isAtom) {
|
|
40
|
-
return true;
|
|
41
|
-
}
|
|
42
|
-
return isNodeContentEmpty(maybeNode) && NodeSelection.isSelectable(maybeNode);
|
|
43
|
-
};
|
|
44
|
-
function findNextSelectionPosition(_ref) {
|
|
45
|
-
var $targetHead = _ref.$targetHead,
|
|
46
|
-
$anchor = _ref.$anchor,
|
|
47
|
-
doc = _ref.doc;
|
|
48
|
-
var direction = $anchor.pos < $targetHead.pos ? 'down' : 'up';
|
|
49
|
-
var maybeNextPosition = findEmptySelectableParentNodePosition($targetHead, checkPositionNode);
|
|
50
|
-
if (maybeNextPosition && maybeNextPosition.nodeAfter) {
|
|
51
|
-
var nodeAfter = maybeNextPosition.nodeAfter;
|
|
52
|
-
var pos = maybeNextPosition.pos;
|
|
53
|
-
var nextPositionToSelect = direction === 'down' ? Math.min(nodeAfter.nodeSize + pos, doc.content.size) : Math.max(pos, 0);
|
|
54
|
-
return doc.resolve(nextPositionToSelect);
|
|
55
|
-
}
|
|
56
|
-
return null;
|
|
57
|
-
}
|
|
58
|
-
export var onCreateSelectionBetween = function onCreateSelectionBetween(view, $anchor, $head) {
|
|
59
|
-
var _$head$parent, _$head$parent2;
|
|
60
|
-
if ($anchor.pos === $head.pos) {
|
|
61
|
-
return null;
|
|
62
|
-
}
|
|
63
|
-
if ($anchor.depth === $head.depth && $anchor.sameParent($head)) {
|
|
64
|
-
return null;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
// If the head is targeting a paragraph on root, then let ProseMirror handle the text selection
|
|
68
|
-
if ($head.depth === 1 && ((_$head$parent = $head.parent) === null || _$head$parent === void 0 ? void 0 : _$head$parent.type.name) === 'paragraph') {
|
|
69
|
-
return null;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
// If head is at the beginning of a non-empty textblock, let ProseMirror handle the text selection
|
|
73
|
-
if ((_$head$parent2 = $head.parent) !== null && _$head$parent2 !== void 0 && _$head$parent2.isTextblock && !isNodeContentEmpty($head.parent) && $head.parentOffset === 0) {
|
|
74
|
-
return null;
|
|
75
|
-
}
|
|
76
|
-
var $nextHeadPosition = findNextSelectionPosition({
|
|
77
|
-
$targetHead: $head,
|
|
78
|
-
$anchor: $anchor,
|
|
79
|
-
doc: view.state.doc
|
|
80
|
-
});
|
|
81
|
-
if (!$nextHeadPosition) {
|
|
82
|
-
return null;
|
|
83
|
-
}
|
|
84
|
-
var forcedTextSelection = TextSelection.create(view.state.doc, $anchor.pos, $nextHeadPosition.pos);
|
|
85
|
-
return forcedTextSelection;
|
|
86
|
-
};
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
import { TextSelection } from '@atlaskit/editor-prosemirror/state';
|
|
2
|
-
|
|
3
|
-
/*
|
|
4
|
-
* The way expand was built, no browser reconize selection on it.
|
|
5
|
-
* For instance, when a selection going to a "collapsed" expand
|
|
6
|
-
* the browser will try to send the cursor to inside the expand content (wrong),
|
|
7
|
-
* this behavior is caused because the expand content is never true hidden
|
|
8
|
-
* we just set the height to 1px.
|
|
9
|
-
*
|
|
10
|
-
* So, we need to capture a possible selection event
|
|
11
|
-
* when a collapsed exxpand is the next node in the common depth.
|
|
12
|
-
* If that is true, we create a new TextSelection and stop the event bubble
|
|
13
|
-
*/
|
|
14
|
-
var isCollpasedExpand = function isCollpasedExpand(node) {
|
|
15
|
-
return Boolean(node && ['expand', 'nestedExpand'].includes(node.type.name) && !node.attrs.__expanded);
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* ED-18072 - Cannot shift + arrow past bodied extension if it is not empty
|
|
20
|
-
*/
|
|
21
|
-
var isBodiedExtension = function isBodiedExtension(node) {
|
|
22
|
-
return Boolean(node && ['bodiedExtension'].includes(node.type.name));
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* ED-19861 - [Regression] keyboard selections within action items are unpredicatable
|
|
27
|
-
* Table was added to the list of problematic nodes because the desired behaviour when Shift+Up from outside the
|
|
28
|
-
* table is to select the table node itself, rather than the table cell content. Previously this behaviour was handled
|
|
29
|
-
* in `packages/editor/editor-core/src/plugins/selection/pm-plugins/events/create-selection-between.ts` but there was
|
|
30
|
-
* a bug in `create-selection-between` which after fixing the bug that code was no longer handling table selection
|
|
31
|
-
* correctly, so to fix that table was added here.
|
|
32
|
-
*/
|
|
33
|
-
var isTable = function isTable(node) {
|
|
34
|
-
return Boolean(node && ['table'].includes(node.type.name));
|
|
35
|
-
};
|
|
36
|
-
var isProblematicNode = function isProblematicNode(node) {
|
|
37
|
-
return isCollpasedExpand(node) || isBodiedExtension(node) || isTable(node);
|
|
38
|
-
};
|
|
39
|
-
var findFixedProblematicNodePosition = function findFixedProblematicNodePosition(doc, $head, direction) {
|
|
40
|
-
if ($head.pos === 0 || $head.depth === 0) {
|
|
41
|
-
return null;
|
|
42
|
-
}
|
|
43
|
-
if (direction === 'up') {
|
|
44
|
-
var pos = $head.before();
|
|
45
|
-
var $posResolved = $head.doc.resolve(pos);
|
|
46
|
-
var maybeProblematicNode = $posResolved.nodeBefore;
|
|
47
|
-
if (maybeProblematicNode && isProblematicNode(maybeProblematicNode)) {
|
|
48
|
-
var nodeSize = maybeProblematicNode.nodeSize;
|
|
49
|
-
var nodeStartPosition = pos - nodeSize;
|
|
50
|
-
|
|
51
|
-
// ($head.pos - 1) will correspond to (nodeStartPosition + nodeSize) when we are at the start of the text node
|
|
52
|
-
var isAtEndOfProblematicNode = $head.pos - 1 === nodeStartPosition + nodeSize;
|
|
53
|
-
if (isAtEndOfProblematicNode) {
|
|
54
|
-
var startPosNode = Math.max(nodeStartPosition, 0);
|
|
55
|
-
var $startPosNode = $head.doc.resolve(Math.min(startPosNode, $head.doc.content.size));
|
|
56
|
-
return $startPosNode;
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
if (direction === 'down') {
|
|
61
|
-
var _pos = $head.after();
|
|
62
|
-
var _maybeProblematicNode = doc.nodeAt(_pos);
|
|
63
|
-
if (_maybeProblematicNode && isProblematicNode(_maybeProblematicNode) && $head.pos + 1 === _pos) {
|
|
64
|
-
var _nodeSize = _maybeProblematicNode.nodeSize;
|
|
65
|
-
var nodePosition = _pos + _nodeSize;
|
|
66
|
-
var _startPosNode = Math.max(nodePosition, 0);
|
|
67
|
-
var _$startPosNode = $head.doc.resolve(Math.min(_startPosNode, $head.doc.content.size));
|
|
68
|
-
return _$startPosNode;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
return null;
|
|
72
|
-
};
|
|
73
|
-
export var onKeydown = function onKeydown(view, event) {
|
|
74
|
-
/*
|
|
75
|
-
* This workaround is needed for some specific situations.
|
|
76
|
-
* - expand collapse
|
|
77
|
-
* - bodied extension
|
|
78
|
-
*/
|
|
79
|
-
if (!(event instanceof KeyboardEvent)) {
|
|
80
|
-
return false;
|
|
81
|
-
}
|
|
82
|
-
if (!event.shiftKey || event.ctrlKey || event.metaKey) {
|
|
83
|
-
return false;
|
|
84
|
-
}
|
|
85
|
-
if (!['ArrowUp', 'ArrowDown', 'ArrowRight', 'ArrowLeft', 'Home', 'End'].includes(event.key)) {
|
|
86
|
-
return false;
|
|
87
|
-
}
|
|
88
|
-
var _view$state = view.state,
|
|
89
|
-
doc = _view$state.doc,
|
|
90
|
-
_view$state$selection = _view$state.selection,
|
|
91
|
-
$head = _view$state$selection.$head,
|
|
92
|
-
$anchor = _view$state$selection.$anchor;
|
|
93
|
-
if (event.key === 'ArrowRight' && $head.nodeAfter || event.key === 'ArrowLeft' && $head.nodeBefore) {
|
|
94
|
-
return false;
|
|
95
|
-
}
|
|
96
|
-
var direction = ['ArrowLeft', 'ArrowUp', 'Home'].includes(event.key) ? 'up' : 'down';
|
|
97
|
-
var $fixedProblematicNodePosition = findFixedProblematicNodePosition(doc, $head, direction);
|
|
98
|
-
if ($fixedProblematicNodePosition) {
|
|
99
|
-
// an offset is used here so that left arrow selects the first character before the node (consistent with arrow right)
|
|
100
|
-
var headOffset = event.key === 'ArrowLeft' ? -1 : 0;
|
|
101
|
-
var head = $fixedProblematicNodePosition.pos + headOffset;
|
|
102
|
-
var forcedTextSelection = TextSelection.create(view.state.doc, $anchor.pos, head);
|
|
103
|
-
var tr = view.state.tr;
|
|
104
|
-
tr.setSelection(forcedTextSelection);
|
|
105
|
-
view.dispatch(tr);
|
|
106
|
-
event.preventDefault();
|
|
107
|
-
return true;
|
|
108
|
-
}
|
|
109
|
-
return false;
|
|
110
|
-
};
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { keymap } from '@atlaskit/editor-prosemirror/keymap';
|
|
2
|
-
import { bindKeymapWithCommand, insertNewLine, moveLeft, moveRight, moveUp, moveDown, backspace, deleteKey } from '@atlaskit/editor-common/keymaps';
|
|
3
|
-
import { arrow, deleteNode } from '../gap-cursor/actions';
|
|
4
|
-
import { Direction } from '../gap-cursor/direction';
|
|
5
|
-
import { GapCursorSelection } from '../gap-cursor/selection';
|
|
6
|
-
import { createParagraphNear } from '@atlaskit/editor-prosemirror/commands';
|
|
7
|
-
export default function keymapPlugin() {
|
|
8
|
-
var map = {};
|
|
9
|
-
bindKeymapWithCommand(insertNewLine.common, function (state, dispatch, view) {
|
|
10
|
-
var isInGapCursor = state.selection instanceof GapCursorSelection;
|
|
11
|
-
// Only operate in gap cursor
|
|
12
|
-
if (!isInGapCursor) {
|
|
13
|
-
return false;
|
|
14
|
-
}
|
|
15
|
-
return createParagraphNear(state, dispatch);
|
|
16
|
-
}, map);
|
|
17
|
-
bindKeymapWithCommand(moveLeft.common, function (state, dispatch, view) {
|
|
18
|
-
var endOfTextblock = view ? view.endOfTextblock.bind(view) : undefined;
|
|
19
|
-
return arrow(Direction.LEFT, endOfTextblock)(state, dispatch, view);
|
|
20
|
-
}, map);
|
|
21
|
-
bindKeymapWithCommand(moveRight.common, function (state, dispatch, view) {
|
|
22
|
-
var endOfTextblock = view ? view.endOfTextblock.bind(view) : undefined;
|
|
23
|
-
return arrow(Direction.RIGHT, endOfTextblock)(state, dispatch);
|
|
24
|
-
}, map);
|
|
25
|
-
bindKeymapWithCommand(moveUp.common, function (state, dispatch, view) {
|
|
26
|
-
var endOfTextblock = view ? view.endOfTextblock.bind(view) : undefined;
|
|
27
|
-
return arrow(Direction.UP, endOfTextblock)(state, dispatch);
|
|
28
|
-
}, map);
|
|
29
|
-
bindKeymapWithCommand(moveDown.common, function (state, dispatch, view) {
|
|
30
|
-
var endOfTextblock = view ? view.endOfTextblock.bind(view) : undefined;
|
|
31
|
-
return arrow(Direction.DOWN, endOfTextblock)(state, dispatch);
|
|
32
|
-
}, map);
|
|
33
|
-
|
|
34
|
-
// default PM's Backspace doesn't handle removing block nodes when cursor is after it
|
|
35
|
-
bindKeymapWithCommand(backspace.common, deleteNode(Direction.BACKWARD), map);
|
|
36
|
-
|
|
37
|
-
// handle Delete key (remove node after the cursor)
|
|
38
|
-
bindKeymapWithCommand(deleteKey.common, deleteNode(Direction.FORWARD), map);
|
|
39
|
-
return keymap(map);
|
|
40
|
-
}
|
|
@@ -1,154 +0,0 @@
|
|
|
1
|
-
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
2
|
-
import { NodeSelection } from '@atlaskit/editor-prosemirror/state';
|
|
3
|
-
import { Decoration, DecorationSet } from '@atlaskit/editor-prosemirror/view';
|
|
4
|
-
import { findPositionOfNodeBefore } from '@atlaskit/editor-prosemirror/utils';
|
|
5
|
-
import { CellSelection } from '@atlaskit/editor-tables/cell-selection';
|
|
6
|
-
import { hideCaretModifier } from '../gap-cursor/styles';
|
|
7
|
-
import { GapCursorSelection, JSON_ID, Side as GapCursorSide, Side } from '../gap-cursor/selection';
|
|
8
|
-
import { getLayoutModeFromTargetNode, isIgnoredClick } from '../gap-cursor/utils';
|
|
9
|
-
import { toDOM } from '../gap-cursor/utils/place-gap-cursor';
|
|
10
|
-
import { deleteNode, setGapCursorAtPos } from '../gap-cursor/actions';
|
|
11
|
-
import { Direction } from '../gap-cursor/direction';
|
|
12
|
-
import { gapCursorPluginKey } from './gap-cursor-plugin-key';
|
|
13
|
-
var plugin = new SafePlugin({
|
|
14
|
-
key: gapCursorPluginKey,
|
|
15
|
-
state: {
|
|
16
|
-
init: function init() {
|
|
17
|
-
return {
|
|
18
|
-
selectionIsGapCursor: false,
|
|
19
|
-
displayGapCursor: true
|
|
20
|
-
};
|
|
21
|
-
},
|
|
22
|
-
apply: function apply(tr, pluginState, _oldState, newState) {
|
|
23
|
-
var _meta$displayGapCurso;
|
|
24
|
-
var meta = tr.getMeta(gapCursorPluginKey);
|
|
25
|
-
var selectionIsGapCursor = newState.selection instanceof GapCursorSelection;
|
|
26
|
-
return {
|
|
27
|
-
selectionIsGapCursor: selectionIsGapCursor,
|
|
28
|
-
// only attempt to hide gap cursor if selection is gap cursor
|
|
29
|
-
displayGapCursor: selectionIsGapCursor ? (_meta$displayGapCurso = meta === null || meta === void 0 ? void 0 : meta.displayGapCursor) !== null && _meta$displayGapCurso !== void 0 ? _meta$displayGapCurso : pluginState.displayGapCursor : true
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
view: function view(_view) {
|
|
34
|
-
/**
|
|
35
|
-
* If the selection is at the beginning of a document and is a NodeSelection,
|
|
36
|
-
* convert to a GapCursor selection. This is to stop users accidentally replacing
|
|
37
|
-
* the first node of a document by accident.
|
|
38
|
-
*/
|
|
39
|
-
if (_view.state.selection.anchor === 0 && _view.state.selection instanceof NodeSelection) {
|
|
40
|
-
// This is required otherwise the dispatch doesn't trigger in the correct place
|
|
41
|
-
window.requestAnimationFrame(function () {
|
|
42
|
-
_view.dispatch(_view.state.tr.setSelection(new GapCursorSelection(_view.state.doc.resolve(0), GapCursorSide.LEFT)));
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
return {
|
|
46
|
-
update: function update(view) {
|
|
47
|
-
var _gapCursorPluginKey$g = gapCursorPluginKey.getState(view.state),
|
|
48
|
-
selectionIsGapCursor = _gapCursorPluginKey$g.selectionIsGapCursor;
|
|
49
|
-
/**
|
|
50
|
-
* Starting with prosemirror-view 1.19.4, cursor wrapper that previously was hiding cursor doesn't exist:
|
|
51
|
-
* https://github.com/ProseMirror/prosemirror-view/commit/4a56bc7b7e61e96ef879d1dae1014ede0fc09e43
|
|
52
|
-
*
|
|
53
|
-
* Because it was causing issues with RTL: https://github.com/ProseMirror/prosemirror/issues/948
|
|
54
|
-
*
|
|
55
|
-
* This is the work around which uses `caret-color: transparent` in order to hide regular caret,
|
|
56
|
-
* when gap cursor is visible.
|
|
57
|
-
*
|
|
58
|
-
* Browser support is pretty good: https://caniuse.com/#feat=css-caret-color
|
|
59
|
-
*/
|
|
60
|
-
view.dom.classList.toggle(hideCaretModifier, selectionIsGapCursor);
|
|
61
|
-
}
|
|
62
|
-
};
|
|
63
|
-
},
|
|
64
|
-
props: {
|
|
65
|
-
decorations: function decorations(editorState) {
|
|
66
|
-
var doc = editorState.doc,
|
|
67
|
-
selection = editorState.selection;
|
|
68
|
-
var _gapCursorPluginKey$g2 = gapCursorPluginKey.getState(editorState),
|
|
69
|
-
displayGapCursor = _gapCursorPluginKey$g2.displayGapCursor;
|
|
70
|
-
if (selection instanceof GapCursorSelection && displayGapCursor) {
|
|
71
|
-
var $from = selection.$from,
|
|
72
|
-
side = selection.side;
|
|
73
|
-
|
|
74
|
-
// render decoration DOM node always to the left of the target node even if selection points to the right
|
|
75
|
-
// otherwise positioning of the right gap cursor is a nightmare when the target node has a nodeView with vertical margins
|
|
76
|
-
var position = selection.head;
|
|
77
|
-
var isRightCursor = side === Side.RIGHT;
|
|
78
|
-
if (isRightCursor && $from.nodeBefore) {
|
|
79
|
-
var nodeBeforeStart = findPositionOfNodeBefore(selection);
|
|
80
|
-
if (typeof nodeBeforeStart === 'number') {
|
|
81
|
-
position = nodeBeforeStart;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
var node = isRightCursor ? $from.nodeBefore : $from.nodeAfter;
|
|
85
|
-
var layoutMode = node && getLayoutModeFromTargetNode(node);
|
|
86
|
-
return DecorationSet.create(doc, [Decoration.widget(position, toDOM, {
|
|
87
|
-
key: "".concat(JSON_ID, "-").concat(side, "-").concat(layoutMode),
|
|
88
|
-
side: layoutMode ? -1 : 0
|
|
89
|
-
})]);
|
|
90
|
-
}
|
|
91
|
-
return null;
|
|
92
|
-
},
|
|
93
|
-
// render gap cursor only when its valid
|
|
94
|
-
createSelectionBetween: function createSelectionBetween(view, $anchor, $head) {
|
|
95
|
-
if (view && view.state && view.state.selection instanceof CellSelection) {
|
|
96
|
-
// Do not show GapCursor when there is a CellSection happening
|
|
97
|
-
return null;
|
|
98
|
-
}
|
|
99
|
-
if ($anchor.pos === $head.pos && GapCursorSelection.valid($head)) {
|
|
100
|
-
return new GapCursorSelection($head);
|
|
101
|
-
}
|
|
102
|
-
return null;
|
|
103
|
-
},
|
|
104
|
-
handleClick: function handleClick(view, nodePos, event) {
|
|
105
|
-
var _$pos$parent;
|
|
106
|
-
var posAtCoords = view.posAtCoords({
|
|
107
|
-
left: event.clientX,
|
|
108
|
-
top: event.clientY
|
|
109
|
-
});
|
|
110
|
-
if (!posAtCoords || isIgnoredClick(event.target)) {
|
|
111
|
-
return false;
|
|
112
|
-
}
|
|
113
|
-
var isInsideTheTarget = posAtCoords.pos === posAtCoords.inside;
|
|
114
|
-
if (isInsideTheTarget) {
|
|
115
|
-
return false;
|
|
116
|
-
}
|
|
117
|
-
var leftSideOffsetX = 20;
|
|
118
|
-
var side = event.offsetX > leftSideOffsetX ? Side.RIGHT : Side.LEFT;
|
|
119
|
-
var $pos = view.state.doc.resolve(nodePos);
|
|
120
|
-
// In the new prosemirror-view posAtCoords is not returning a precise value for our media nodes
|
|
121
|
-
if (((_$pos$parent = $pos.parent) === null || _$pos$parent === void 0 ? void 0 : _$pos$parent.type.name) === 'mediaSingle') {
|
|
122
|
-
var $insidePos = view.state.doc.resolve(Math.max(posAtCoords.inside, 0));
|
|
123
|
-
// We don't have GapCursors problems when the node target is inside the root level
|
|
124
|
-
if ($insidePos.depth <= 1) {
|
|
125
|
-
return false;
|
|
126
|
-
}
|
|
127
|
-
var mediaGapCursor = !$pos.nodeBefore ? $pos.before() : $pos.after();
|
|
128
|
-
return setGapCursorAtPos(mediaGapCursor, side)(view.state, view.dispatch);
|
|
129
|
-
}
|
|
130
|
-
var docSize = view.state.doc.content.size;
|
|
131
|
-
var nodeInside = posAtCoords.inside < 0 || posAtCoords.inside > docSize ? null : view.state.doc.nodeAt(posAtCoords.inside);
|
|
132
|
-
if (nodeInside !== null && nodeInside !== void 0 && nodeInside.isAtom) {
|
|
133
|
-
return false;
|
|
134
|
-
}
|
|
135
|
-
return setGapCursorAtPos(nodePos, side)(view.state, view.dispatch);
|
|
136
|
-
},
|
|
137
|
-
handleDOMEvents: {
|
|
138
|
-
/**
|
|
139
|
-
* Android composition events aren't handled well by Prosemirror
|
|
140
|
-
* We've added a couple of beforeinput hooks to help PM out when trying to delete
|
|
141
|
-
* certain nodes. We can remove these when PM has better composition support.
|
|
142
|
-
* @see https://github.com/ProseMirror/prosemirror/issues/543
|
|
143
|
-
*/
|
|
144
|
-
beforeinput: function beforeinput(view, event) {
|
|
145
|
-
if (event.inputType === 'deleteContentBackward' && view.state.selection instanceof GapCursorSelection) {
|
|
146
|
-
event.preventDefault();
|
|
147
|
-
return deleteNode(Direction.BACKWARD)(view.state, view.dispatch);
|
|
148
|
-
}
|
|
149
|
-
return false;
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
});
|
|
154
|
-
export default plugin;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { keymap } from '@atlaskit/editor-prosemirror/keymap';
|
|
2
|
-
import { bindKeymapWithCommand, moveRight, moveLeft } from '@atlaskit/editor-common/keymaps';
|
|
3
|
-
import { arrowRight, arrowLeft } from '../commands';
|
|
4
|
-
function keymapPlugin() {
|
|
5
|
-
var list = {};
|
|
6
|
-
bindKeymapWithCommand(moveRight.common, arrowRight, list);
|
|
7
|
-
bindKeymapWithCommand(moveLeft.common, arrowLeft, list);
|
|
8
|
-
return keymap(list);
|
|
9
|
-
}
|
|
10
|
-
export default keymapPlugin;
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
2
|
-
import { NodeSelection, TextSelection } from '@atlaskit/editor-prosemirror/state';
|
|
3
|
-
import { SelectionActionTypes } from '../actions';
|
|
4
|
-
import { createPluginState, getPluginState } from '../plugin-factory';
|
|
5
|
-
import { selectionPluginKey } from '../types';
|
|
6
|
-
import { getAllSelectionAnalyticsPayload, getCellSelectionAnalyticsPayload, getDecorations, getNodeSelectionAnalyticsPayload, getRangeSelectionAnalyticsPayload, shouldRecalcDecorations } from '../utils';
|
|
7
|
-
import { onKeydown } from './events/keydown';
|
|
8
|
-
import { onCreateSelectionBetween } from './events/create-selection-between';
|
|
9
|
-
export var getInitialState = function getInitialState(state) {
|
|
10
|
-
return {
|
|
11
|
-
decorationSet: getDecorations(state.tr),
|
|
12
|
-
selection: state.selection
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
export var createPlugin = function createPlugin(dispatch, dispatchAnalyticsEvent) {
|
|
16
|
-
var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
17
|
-
return new SafePlugin({
|
|
18
|
-
key: selectionPluginKey,
|
|
19
|
-
state: createPluginState(dispatch, getInitialState),
|
|
20
|
-
view: function view() {
|
|
21
|
-
return {
|
|
22
|
-
update: function update(editorView, oldEditorState) {
|
|
23
|
-
var state = editorView.state;
|
|
24
|
-
if (!shouldRecalcDecorations({
|
|
25
|
-
oldEditorState: oldEditorState,
|
|
26
|
-
newEditorState: state
|
|
27
|
-
})) {
|
|
28
|
-
return;
|
|
29
|
-
}
|
|
30
|
-
var analyticsPayload = getNodeSelectionAnalyticsPayload(state.selection) || getAllSelectionAnalyticsPayload(state.selection) ||
|
|
31
|
-
// We handle all range/cell selections except click and drag here, which is
|
|
32
|
-
// handled in mouseup handler below
|
|
33
|
-
!editorView.mouseDown && (getRangeSelectionAnalyticsPayload(state.selection, state.doc) || getCellSelectionAnalyticsPayload(state));
|
|
34
|
-
|
|
35
|
-
// We have to use dispatchAnalyticsEvent over any of the analytics plugin helpers
|
|
36
|
-
// as there were several issues caused by the fact that adding analytics through
|
|
37
|
-
// the plugin adds a new step to the transaction
|
|
38
|
-
// This causes prosemirror to run through some different code paths, eg. attempting
|
|
39
|
-
// to map selection
|
|
40
|
-
if (analyticsPayload) {
|
|
41
|
-
dispatchAnalyticsEvent(analyticsPayload);
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
};
|
|
45
|
-
},
|
|
46
|
-
appendTransaction: function appendTransaction(_transactions, oldEditorState, newEditorState) {
|
|
47
|
-
if (!shouldRecalcDecorations({
|
|
48
|
-
oldEditorState: oldEditorState,
|
|
49
|
-
newEditorState: newEditorState
|
|
50
|
-
})) {
|
|
51
|
-
return;
|
|
52
|
-
}
|
|
53
|
-
var tr = newEditorState.tr;
|
|
54
|
-
tr.setMeta(selectionPluginKey, {
|
|
55
|
-
type: SelectionActionTypes.SET_DECORATIONS,
|
|
56
|
-
selection: tr.selection,
|
|
57
|
-
decorationSet: getDecorations(tr)
|
|
58
|
-
});
|
|
59
|
-
return tr;
|
|
60
|
-
},
|
|
61
|
-
filterTransaction: function filterTransaction(tr, state) {
|
|
62
|
-
// Prevent single click selecting atom nodes on mobile (we want to select with long press gesture instead)
|
|
63
|
-
if (options.useLongPressSelection && tr.selectionSet && tr.selection instanceof NodeSelection && !tr.getMeta(selectionPluginKey)) {
|
|
64
|
-
return false;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
// Prevent prosemirror's mutation observer overriding a node selection with a text selection
|
|
68
|
-
// for exact same range - this was cause of being unable to change dates in collab:
|
|
69
|
-
// https://product-fabric.atlassian.net/browse/ED-10645
|
|
70
|
-
if (state.selection instanceof NodeSelection && tr.selection instanceof TextSelection && state.selection.from === tr.selection.from && state.selection.to === tr.selection.to) {
|
|
71
|
-
return false;
|
|
72
|
-
}
|
|
73
|
-
return true;
|
|
74
|
-
},
|
|
75
|
-
props: {
|
|
76
|
-
createSelectionBetween: onCreateSelectionBetween,
|
|
77
|
-
decorations: function decorations(state) {
|
|
78
|
-
return getPluginState(state).decorationSet;
|
|
79
|
-
},
|
|
80
|
-
handleDOMEvents: {
|
|
81
|
-
keydown: onKeydown,
|
|
82
|
-
// We only want to fire analytics for a click and drag range/cell selection when
|
|
83
|
-
// the user has finished, otherwise we will get an event almost every time they move
|
|
84
|
-
// their mouse which is too much
|
|
85
|
-
mouseup: function mouseup(editorView, event) {
|
|
86
|
-
var mouseEvent = event;
|
|
87
|
-
if (!mouseEvent.shiftKey) {
|
|
88
|
-
var analyticsPayload = getRangeSelectionAnalyticsPayload(editorView.state.selection, editorView.state.doc) || getCellSelectionAnalyticsPayload(editorView.state);
|
|
89
|
-
if (analyticsPayload) {
|
|
90
|
-
dispatchAnalyticsEvent(analyticsPayload);
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
return false;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
});
|
|
98
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
|
-
import { SelectionActionTypes } from './actions';
|
|
5
|
-
export function reducer(pluginState, action) {
|
|
6
|
-
switch (action.type) {
|
|
7
|
-
case SelectionActionTypes.SET_DECORATIONS:
|
|
8
|
-
return _objectSpread(_objectSpread({}, pluginState), {}, {
|
|
9
|
-
decorationSet: action.decorationSet,
|
|
10
|
-
selection: action.selection
|
|
11
|
-
});
|
|
12
|
-
case SelectionActionTypes.SET_RELATIVE_SELECTION:
|
|
13
|
-
return _objectSpread(_objectSpread({}, pluginState), {}, {
|
|
14
|
-
selectionRelativeToNode: action.selectionRelativeToNode
|
|
15
|
-
});
|
|
16
|
-
default:
|
|
17
|
-
return pluginState;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { PluginKey } from '@atlaskit/editor-prosemirror/state';
|
|
2
|
-
import { RelativeSelectionPos } from '@atlaskit/editor-common/selection';
|
|
3
|
-
export var selectionPluginKey = new PluginKey('selection');
|
|
4
|
-
export { RelativeSelectionPos };
|
|
5
|
-
export var SelectionDirection = /*#__PURE__*/function (SelectionDirection) {
|
|
6
|
-
SelectionDirection[SelectionDirection["Before"] = -1] = "Before";
|
|
7
|
-
SelectionDirection[SelectionDirection["After"] = 1] = "After";
|
|
8
|
-
return SelectionDirection;
|
|
9
|
-
}({});
|