@atlaskit/editor-core 191.3.0 → 191.3.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 +13 -0
- package/codemods/140.0.0-rc-kraken-fix-type-errors.ts +1 -1
- package/codemods/145.0.0-deprecate-props.ts +1 -1
- package/codemods/__tests__/next-remove-allow-more-text-colors-prop.ts +2 -1
- package/codemods/__tests__/remove-config-panel-width-prop.ts +2 -1
- package/codemods/__tests__/rename-editor-to-editor-migration-component.ts +2 -1
- package/codemods/__tests__/rename-smartlinks-prop.ts +1 -1
- package/codemods/__tests__/rename-unsafe-allowUndoRedoButtons-prop.ts +1 -1
- package/codemods/__tests__/rename-unsafe-cards-prop.ts +1 -1
- package/codemods/migrates/next-remove-allow-more-text-colors-prop.ts +3 -2
- package/codemods/migrates/remove-config-panel-width-prop.ts +3 -2
- package/codemods/migrates/rename-editor-to-editor-migration-component.ts +2 -2
- package/codemods/migrates/rename-smartlinks-prop.ts +2 -2
- package/codemods/utils.ts +3 -2
- package/dist/cjs/actions/index.js +8 -8
- package/dist/cjs/composable-editor/editor-internal.js +1 -1
- package/dist/cjs/composable-editor/editor.js +7 -7
- package/dist/cjs/create-editor/ErrorBoundary.js +1 -1
- package/dist/cjs/create-editor/ReactEditorView.js +17 -17
- package/dist/cjs/create-editor/create-editor.js +1 -1
- package/dist/cjs/create-editor/create-schema.js +2 -2
- package/dist/cjs/create-editor/get-ui-component.js +1 -1
- package/dist/cjs/editor.js +1 -1
- package/dist/cjs/presets/default.js +19 -19
- package/dist/cjs/presets/universal.js +13 -13
- package/dist/cjs/test-utils.js +2 -2
- package/dist/cjs/ui/Addon/Dropdown/styles.js +1 -1
- package/dist/cjs/ui/Addon/click-area-helper.js +3 -3
- package/dist/cjs/ui/Appearance/Chromeless.js +3 -3
- package/dist/cjs/ui/Appearance/Comment/Comment.js +13 -13
- package/dist/cjs/ui/Appearance/Comment/Toolbar.js +1 -1
- package/dist/cjs/ui/Appearance/FullPage/FullPage.js +2 -2
- package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea.js +19 -19
- package/dist/cjs/ui/Appearance/FullPage/FullPageToolbar.js +3 -3
- package/dist/cjs/ui/Appearance/FullPage/MainToolbar.js +1 -1
- package/dist/cjs/ui/Appearance/FullPage/StyledComponents.js +2 -2
- package/dist/cjs/ui/AppearanceComponents/Mobile.js +4 -4
- package/dist/cjs/ui/ChromeCollapsed/index.js +1 -1
- package/dist/cjs/ui/ChromeCollapsed/styles.js +1 -1
- package/dist/cjs/ui/CollapsedEditor/index.js +2 -2
- package/dist/cjs/ui/ContentStyles/code-block.js +2 -2
- package/dist/cjs/ui/ContentStyles/expand.js +1 -1
- package/dist/cjs/ui/ContentStyles/index.js +18 -18
- package/dist/cjs/ui/ContentStyles/layout.js +2 -2
- package/dist/cjs/ui/ContentStyles/media.js +1 -1
- package/dist/cjs/ui/ContextPanel/index.js +5 -5
- package/dist/cjs/ui/ErrorBoundary/index.js +1 -1
- package/dist/cjs/ui/Toolbar/ToolbarWithSizeDetector.js +3 -3
- package/dist/cjs/ui/ToolbarFeedback/index.js +23 -23
- package/dist/cjs/ui/ToolbarFeedback/styles.js +2 -2
- package/dist/cjs/ui/ToolbarHelp/index.js +1 -1
- package/dist/cjs/ui/WithHelpTrigger/index.js +1 -1
- package/dist/cjs/utils/document.js +1 -1
- package/dist/cjs/utils/extensions.js +1 -1
- package/dist/cjs/utils/performance/components/RenderTracking.js +1 -1
- package/dist/cjs/utils/performance/plugin-performance-observer.js +1 -1
- package/dist/cjs/utils/prepare-extension-provider.js +1 -1
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/actions/index.js +1 -1
- package/dist/es2019/composable-editor/editor-internal.js +2 -2
- package/dist/es2019/composable-editor/editor.js +8 -8
- package/dist/es2019/create-editor/ErrorBoundary.js +1 -1
- package/dist/es2019/create-editor/ReactEditorView.js +19 -19
- package/dist/es2019/create-editor/create-editor.js +1 -1
- package/dist/es2019/create-editor/create-preset.js +1 -0
- package/dist/es2019/create-editor/create-schema.js +2 -2
- package/dist/es2019/create-editor/get-ui-component.js +1 -1
- package/dist/es2019/editor.js +1 -1
- package/dist/es2019/messages.js +1 -1
- package/dist/es2019/presets/context.js +1 -1
- package/dist/es2019/presets/default.js +20 -19
- package/dist/es2019/presets/universal.js +13 -13
- package/dist/es2019/test-utils.js +2 -2
- package/dist/es2019/ui/Addon/Dropdown/styles.js +1 -1
- package/dist/es2019/ui/Addon/DropdownItem/styles.js +1 -1
- package/dist/es2019/ui/Addon/click-area-helper.js +3 -4
- package/dist/es2019/ui/Appearance/Chromeless.js +3 -3
- package/dist/es2019/ui/Appearance/Comment/Comment.js +13 -13
- package/dist/es2019/ui/Appearance/Comment/Toolbar.js +1 -1
- package/dist/es2019/ui/Appearance/FullPage/BeforeWrapper.js +1 -0
- package/dist/es2019/ui/Appearance/FullPage/FullPage.js +3 -3
- package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea.js +5 -4
- package/dist/es2019/ui/Appearance/FullPage/FullPageToolbar.js +4 -4
- package/dist/es2019/ui/Appearance/FullPage/MainToolbar.js +1 -1
- package/dist/es2019/ui/Appearance/FullPage/StyledComponents.js +3 -3
- package/dist/es2019/ui/AppearanceComponents/Mobile.js +5 -5
- package/dist/es2019/ui/ChromeCollapsed/index.js +2 -2
- package/dist/es2019/ui/ChromeCollapsed/styles.js +1 -1
- package/dist/es2019/ui/CollapsedEditor/index.js +2 -2
- package/dist/es2019/ui/ContentStyles/code-block.js +2 -2
- package/dist/es2019/ui/ContentStyles/date.js +1 -1
- package/dist/es2019/ui/ContentStyles/expand.js +2 -2
- package/dist/es2019/ui/ContentStyles/extension.js +1 -1
- package/dist/es2019/ui/ContentStyles/index.js +19 -19
- package/dist/es2019/ui/ContentStyles/layout.js +3 -3
- package/dist/es2019/ui/ContentStyles/media.js +1 -1
- package/dist/es2019/ui/ContentStyles/panel.js +2 -2
- package/dist/es2019/ui/ContentStyles/status.js +1 -1
- package/dist/es2019/ui/ContentStyles/tasks-and-decisions.js +1 -1
- package/dist/es2019/ui/ContextPanel/index.js +6 -5
- package/dist/es2019/ui/ErrorBoundary/index.js +1 -1
- package/dist/es2019/ui/Toolbar/ToolbarWithSizeDetector.js +3 -3
- package/dist/es2019/ui/ToolbarButton/index.js +1 -1
- package/dist/es2019/ui/ToolbarFeedback/index.js +10 -10
- package/dist/es2019/ui/ToolbarFeedback/styles.js +2 -2
- package/dist/es2019/ui/ToolbarHelp/index.js +1 -1
- package/dist/es2019/ui/WithHelpTrigger/index.js +2 -2
- package/dist/es2019/utils/document.js +1 -1
- package/dist/es2019/utils/extensions.js +1 -1
- package/dist/es2019/utils/performance/components/RenderTracking.js +1 -1
- package/dist/es2019/utils/performance/plugin-performance-observer.js +1 -1
- package/dist/es2019/utils/performance/plugin-performance-report.js +1 -1
- package/dist/es2019/utils/performance/simple-measure-to-entries.js +1 -1
- package/dist/es2019/utils/performance/track-transactions.js +1 -1
- package/dist/es2019/utils/prepare-extension-provider.js +1 -1
- package/dist/es2019/utils/prepare-quick-insert-provider.js +1 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/actions/index.js +1 -1
- package/dist/esm/composable-editor/editor-internal.js +2 -2
- package/dist/esm/composable-editor/editor.js +8 -8
- package/dist/esm/create-editor/ErrorBoundary.js +1 -1
- package/dist/esm/create-editor/ReactEditorView.js +19 -19
- package/dist/esm/create-editor/create-editor.js +1 -1
- package/dist/esm/create-editor/create-preset.js +1 -0
- package/dist/esm/create-editor/create-schema.js +2 -2
- package/dist/esm/create-editor/get-ui-component.js +1 -1
- package/dist/esm/editor.js +1 -1
- package/dist/esm/messages.js +1 -1
- package/dist/esm/presets/context.js +1 -1
- package/dist/esm/presets/default.js +20 -19
- package/dist/esm/presets/universal.js +13 -13
- package/dist/esm/test-utils.js +2 -2
- package/dist/esm/ui/Addon/Dropdown/styles.js +1 -1
- package/dist/esm/ui/Addon/DropdownItem/styles.js +1 -1
- package/dist/esm/ui/Addon/click-area-helper.js +3 -4
- package/dist/esm/ui/Appearance/Chromeless.js +3 -3
- package/dist/esm/ui/Appearance/Comment/Comment.js +13 -13
- package/dist/esm/ui/Appearance/Comment/Toolbar.js +1 -1
- package/dist/esm/ui/Appearance/FullPage/BeforeWrapper.js +1 -0
- package/dist/esm/ui/Appearance/FullPage/FullPage.js +3 -3
- package/dist/esm/ui/Appearance/FullPage/FullPageContentArea.js +5 -4
- package/dist/esm/ui/Appearance/FullPage/FullPageToolbar.js +4 -4
- package/dist/esm/ui/Appearance/FullPage/MainToolbar.js +1 -1
- package/dist/esm/ui/Appearance/FullPage/StyledComponents.js +3 -3
- package/dist/esm/ui/AppearanceComponents/Mobile.js +5 -5
- package/dist/esm/ui/ChromeCollapsed/index.js +2 -2
- package/dist/esm/ui/ChromeCollapsed/styles.js +1 -1
- package/dist/esm/ui/CollapsedEditor/index.js +2 -2
- package/dist/esm/ui/ContentStyles/code-block.js +2 -2
- package/dist/esm/ui/ContentStyles/date.js +1 -1
- package/dist/esm/ui/ContentStyles/expand.js +2 -2
- package/dist/esm/ui/ContentStyles/extension.js +1 -1
- package/dist/esm/ui/ContentStyles/index.js +19 -19
- package/dist/esm/ui/ContentStyles/layout.js +3 -3
- package/dist/esm/ui/ContentStyles/media.js +1 -1
- package/dist/esm/ui/ContentStyles/panel.js +2 -2
- package/dist/esm/ui/ContentStyles/status.js +1 -1
- package/dist/esm/ui/ContentStyles/tasks-and-decisions.js +1 -1
- package/dist/esm/ui/ContextPanel/index.js +6 -5
- package/dist/esm/ui/ErrorBoundary/index.js +1 -1
- package/dist/esm/ui/Toolbar/ToolbarWithSizeDetector.js +3 -3
- package/dist/esm/ui/ToolbarButton/index.js +1 -1
- package/dist/esm/ui/ToolbarFeedback/index.js +10 -10
- package/dist/esm/ui/ToolbarFeedback/styles.js +2 -2
- package/dist/esm/ui/ToolbarHelp/index.js +1 -1
- package/dist/esm/ui/WithHelpTrigger/index.js +2 -2
- package/dist/esm/utils/document.js +1 -1
- package/dist/esm/utils/extensions.js +1 -1
- package/dist/esm/utils/performance/components/RenderTracking.js +1 -1
- package/dist/esm/utils/performance/plugin-performance-observer.js +1 -1
- package/dist/esm/utils/performance/plugin-performance-report.js +1 -1
- package/dist/esm/utils/performance/simple-measure-to-entries.js +1 -1
- package/dist/esm/utils/performance/track-transactions.js +1 -1
- package/dist/esm/utils/prepare-extension-provider.js +1 -1
- package/dist/esm/utils/prepare-quick-insert-provider.js +1 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/CollapsedEditor/index.d.ts +1 -1
- package/dist/types/EditorWithActions/index.d.ts +1 -1
- package/dist/types/actions/index.d.ts +3 -3
- package/dist/types/composable-editor/editor-internal.d.ts +1 -1
- package/dist/types/composable-editor/hooks/useMemoEditorProps.d.ts +1 -1
- package/dist/types/create-editor/ErrorBoundary.d.ts +1 -1
- package/dist/types/create-editor/ReactEditorView.d.ts +13 -13
- package/dist/types/create-editor/create-editor.d.ts +1 -1
- package/dist/types/create-editor/create-plugins-list.d.ts +3 -3
- package/dist/types/create-editor/create-preset.d.ts +1 -1
- package/dist/types/create-editor/get-plugins.d.ts +2 -2
- package/dist/types/messages.d.ts +1 -1
- package/dist/types/presets/context.d.ts +1 -1
- package/dist/types/presets/default.d.ts +8 -8
- package/dist/types/presets/universal.d.ts +1 -1
- package/dist/types/presets/useUniversalPreset.d.ts +1 -1
- package/dist/types/test-utils.d.ts +3 -3
- package/dist/types/types/editor-appearance-component.d.ts +6 -6
- package/dist/types/types/editor-config.d.ts +1 -1
- package/dist/types/types/editor-instance.d.ts +1 -1
- package/dist/types/types/editor-props.d.ts +10 -10
- package/dist/types/types/pm-plugin-list.d.ts +4 -4
- package/dist/types/ui/Addon/Dropdown/index.d.ts +2 -2
- package/dist/types/ui/Addon/DropdownItem/index.d.ts +1 -1
- package/dist/types/ui/Addon/types.d.ts +1 -1
- package/dist/types/ui/Appearance/Comment/Comment.d.ts +1 -1
- package/dist/types/ui/Appearance/FullPage/BeforeWrapper.d.ts +1 -1
- package/dist/types/ui/Appearance/FullPage/FullPage.d.ts +1 -1
- package/dist/types/ui/Appearance/FullPage/FullPageContentArea.d.ts +6 -5
- package/dist/types/ui/Appearance/FullPage/FullPageToolbar.d.ts +5 -5
- package/dist/types/ui/Appearance/Mobile.d.ts +1 -1
- package/dist/types/ui/ChromeCollapsed/index.d.ts +1 -1
- package/dist/types/ui/ContentStyles/layout.d.ts +1 -1
- package/dist/types/ui/ContextPanel/index.d.ts +1 -1
- package/dist/types/ui/PluginSlot/index.d.ts +5 -5
- package/dist/types/ui/Toolbar/Toolbar.d.ts +1 -1
- package/dist/types/ui/Toolbar/ToolbarInner.d.ts +1 -1
- package/dist/types/ui/Toolbar/ToolbarWithSizeDetector.d.ts +1 -1
- package/dist/types/ui/Toolbar/toolbar-size.d.ts +1 -1
- package/dist/types/ui/Toolbar/toolbar-types.d.ts +4 -4
- package/dist/types/ui/ToolbarButton/index.d.ts +1 -1
- package/dist/types/ui/ToolbarFeedback/index.d.ts +0 -1
- package/dist/types/ui/ToolbarHelp/index.d.ts +1 -1
- package/dist/types/ui/WithEditorActions/index.d.ts +1 -1
- package/dist/types/ui/WithPluginState/index.d.ts +2 -1
- package/dist/types/utils/action.d.ts +3 -3
- package/dist/types/utils/document.d.ts +5 -5
- package/dist/types/utils/extensions.d.ts +3 -3
- package/dist/types/utils/index.d.ts +1 -1
- package/dist/types/utils/is-full-page.d.ts +1 -1
- package/dist/types/utils/node-width.d.ts +1 -1
- package/dist/types/utils/performance/components/RenderTracking.d.ts +1 -1
- package/dist/types/utils/performance/instrumented-plugin.d.ts +1 -1
- package/dist/types/utils/performance/plugin-performance-observer.d.ts +2 -2
- package/dist/types/utils/performance/plugin-performance-report.d.ts +1 -1
- package/dist/types/utils/prepare-quick-insert-provider.d.ts +2 -2
- package/dist/types-ts4.5/CollapsedEditor/index.d.ts +1 -1
- package/dist/types-ts4.5/EditorWithActions/index.d.ts +1 -1
- package/dist/types-ts4.5/actions/index.d.ts +3 -3
- package/dist/types-ts4.5/composable-editor/editor-internal.d.ts +1 -1
- package/dist/types-ts4.5/composable-editor/hooks/useMemoEditorProps.d.ts +1 -1
- package/dist/types-ts4.5/create-editor/ErrorBoundary.d.ts +1 -1
- package/dist/types-ts4.5/create-editor/ReactEditorView.d.ts +13 -13
- package/dist/types-ts4.5/create-editor/create-editor.d.ts +1 -1
- package/dist/types-ts4.5/create-editor/create-plugins-list.d.ts +3 -3
- package/dist/types-ts4.5/create-editor/create-preset.d.ts +1 -1
- package/dist/types-ts4.5/create-editor/get-plugins.d.ts +2 -2
- package/dist/types-ts4.5/messages.d.ts +1 -1
- package/dist/types-ts4.5/presets/context.d.ts +1 -1
- package/dist/types-ts4.5/presets/default.d.ts +8 -8
- package/dist/types-ts4.5/presets/universal.d.ts +1 -1
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +1 -1
- package/dist/types-ts4.5/test-utils.d.ts +3 -3
- package/dist/types-ts4.5/types/editor-appearance-component.d.ts +6 -6
- package/dist/types-ts4.5/types/editor-config.d.ts +1 -1
- package/dist/types-ts4.5/types/editor-instance.d.ts +1 -1
- package/dist/types-ts4.5/types/editor-props.d.ts +10 -10
- package/dist/types-ts4.5/types/pm-plugin-list.d.ts +4 -4
- package/dist/types-ts4.5/ui/Addon/Dropdown/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/Addon/DropdownItem/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/Addon/types.d.ts +1 -1
- package/dist/types-ts4.5/ui/Appearance/Comment/Comment.d.ts +1 -1
- package/dist/types-ts4.5/ui/Appearance/FullPage/BeforeWrapper.d.ts +1 -1
- package/dist/types-ts4.5/ui/Appearance/FullPage/FullPage.d.ts +1 -1
- package/dist/types-ts4.5/ui/Appearance/FullPage/FullPageContentArea.d.ts +6 -5
- package/dist/types-ts4.5/ui/Appearance/FullPage/FullPageToolbar.d.ts +5 -5
- package/dist/types-ts4.5/ui/Appearance/Mobile.d.ts +1 -1
- package/dist/types-ts4.5/ui/ChromeCollapsed/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/ContentStyles/layout.d.ts +1 -1
- package/dist/types-ts4.5/ui/ContextPanel/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/PluginSlot/index.d.ts +5 -5
- package/dist/types-ts4.5/ui/Toolbar/Toolbar.d.ts +1 -1
- package/dist/types-ts4.5/ui/Toolbar/ToolbarInner.d.ts +1 -1
- package/dist/types-ts4.5/ui/Toolbar/ToolbarWithSizeDetector.d.ts +1 -1
- package/dist/types-ts4.5/ui/Toolbar/toolbar-size.d.ts +1 -1
- package/dist/types-ts4.5/ui/Toolbar/toolbar-types.d.ts +4 -4
- package/dist/types-ts4.5/ui/ToolbarButton/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/ToolbarFeedback/index.d.ts +0 -1
- package/dist/types-ts4.5/ui/ToolbarHelp/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/WithEditorActions/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/WithPluginState/index.d.ts +2 -1
- package/dist/types-ts4.5/utils/action.d.ts +3 -3
- package/dist/types-ts4.5/utils/document.d.ts +5 -5
- package/dist/types-ts4.5/utils/extensions.d.ts +3 -3
- package/dist/types-ts4.5/utils/index.d.ts +1 -1
- package/dist/types-ts4.5/utils/is-full-page.d.ts +1 -1
- package/dist/types-ts4.5/utils/node-width.d.ts +1 -1
- package/dist/types-ts4.5/utils/performance/components/RenderTracking.d.ts +1 -1
- package/dist/types-ts4.5/utils/performance/instrumented-plugin.d.ts +1 -1
- package/dist/types-ts4.5/utils/performance/plugin-performance-observer.d.ts +2 -2
- package/dist/types-ts4.5/utils/performance/plugin-performance-report.d.ts +1 -1
- package/dist/types-ts4.5/utils/prepare-quick-insert-provider.d.ts +2 -2
- package/docs/0-intro.tsx +3 -2
- package/docs/1-legacy-editor.tsx +3 -2
- package/docs/2-labs.tsx +1 -1
- package/docs/3-autoformatting.tsx +1 -1
- package/docs/4-annotations.tsx +2 -2
- package/docs/editor-use-only.tsx +1 -0
- package/package.json +8 -5
|
@@ -1,21 +1,17 @@
|
|
|
1
1
|
import type { ReactElement } from 'react';
|
|
2
|
-
import type { Node, Schema } from '@atlaskit/editor-prosemirror/model';
|
|
3
|
-
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
4
2
|
import type { ActivityProvider } from '@atlaskit/activity-provider';
|
|
5
3
|
import type { CardOptions } from '@atlaskit/editor-common/card';
|
|
4
|
+
import type { CollabEditOptions } from '@atlaskit/editor-common/collab';
|
|
6
5
|
import type { ExtensionHandlers, ExtensionProvider } from '@atlaskit/editor-common/extensions';
|
|
7
6
|
import type { EditorPresetBuilder } from '@atlaskit/editor-common/preset';
|
|
8
7
|
import type { ContextIdentifierProvider, Providers, SearchProvider } from '@atlaskit/editor-common/provider-factory';
|
|
9
|
-
import type { AllEditorPresetPluginTypes,
|
|
8
|
+
import type { AllEditorPresetPluginTypes, FeedbackInfo, LinkingOptions, QuickInsertOptions, TextFormattingOptions, Transformer } from '@atlaskit/editor-common/types';
|
|
9
|
+
import type { UseStickyToolbarType } from '@atlaskit/editor-common/ui';
|
|
10
|
+
import type { MenuItem } from '@atlaskit/editor-common/ui-menu';
|
|
10
11
|
import type { ErrorReportingHandler } from '@atlaskit/editor-common/utils';
|
|
11
|
-
import type { PluginConfig as TablesPluginConfig } from '@atlaskit/editor-plugin-table/types';
|
|
12
|
-
import type { MentionProvider } from '@atlaskit/mention/resource';
|
|
13
|
-
import type { TaskDecisionProvider } from '@atlaskit/task-decision';
|
|
14
|
-
import type EditorActions from '../actions';
|
|
15
12
|
import type { AnnotationProviders } from '@atlaskit/editor-plugin-annotation';
|
|
16
13
|
import type { BlockTypePluginOptions } from '@atlaskit/editor-plugin-block-type';
|
|
17
14
|
import type { CodeBlockOptions } from '@atlaskit/editor-plugin-code-block';
|
|
18
|
-
import type { CollabEditOptions } from '@atlaskit/editor-common/collab';
|
|
19
15
|
import type { DatePluginConfig } from '@atlaskit/editor-plugin-date';
|
|
20
16
|
import type { FindReplaceOptions } from '@atlaskit/editor-plugin-find-replace';
|
|
21
17
|
import type { LayoutPluginOptions } from '@atlaskit/editor-plugin-layout';
|
|
@@ -23,15 +19,19 @@ import type { MediaOptions, MediaState } from '@atlaskit/editor-plugin-media/typ
|
|
|
23
19
|
import type { MentionPluginConfig } from '@atlaskit/editor-plugin-mentions';
|
|
24
20
|
import type { PanelPluginConfig } from '@atlaskit/editor-plugin-panel';
|
|
25
21
|
import type { PlaceholderTextOptions } from '@atlaskit/editor-plugin-placeholder-text';
|
|
22
|
+
import type { PluginConfig as TablesPluginConfig } from '@atlaskit/editor-plugin-table/types';
|
|
26
23
|
import type { TextColorPluginConfig } from '@atlaskit/editor-plugin-text-color';
|
|
27
|
-
import type {
|
|
24
|
+
import type { Node, Schema } from '@atlaskit/editor-prosemirror/model';
|
|
25
|
+
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
26
|
+
import type { MentionProvider } from '@atlaskit/mention/resource';
|
|
27
|
+
import type { TaskDecisionProvider } from '@atlaskit/task-decision';
|
|
28
|
+
import type EditorActions from '../actions';
|
|
28
29
|
import type { EditorAppearance } from './editor-appearance';
|
|
29
30
|
import type { EditorOnChangeHandler } from './editor-onchange';
|
|
30
31
|
import type { EditorPlugin } from './editor-plugin';
|
|
31
32
|
import type { EmptyStateHandler } from './empty-state-handler';
|
|
32
33
|
import type { ExtensionConfig } from './extension-config';
|
|
33
34
|
import type { PerformanceTracking } from './performance-tracking';
|
|
34
|
-
import type { UseStickyToolbarType } from '@atlaskit/editor-common/ui';
|
|
35
35
|
export type { UseStickyToolbarType };
|
|
36
36
|
export type ReactComponents = ReactElement<any> | ReactElement<any>[];
|
|
37
37
|
type ExtensionProviders = (ExtensionProvider | Promise<ExtensionProvider>)[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { TransactionTracker } from '../utils/performance/track-transactions';
|
|
2
|
-
import { EditorConfig } from './editor-config';
|
|
3
|
-
import { PerformanceTracking } from './performance-tracking';
|
|
4
|
-
import { PMPluginFactoryParams } from './pm-plugin';
|
|
1
|
+
import type { TransactionTracker } from '../utils/performance/track-transactions';
|
|
2
|
+
import type { EditorConfig } from './editor-config';
|
|
3
|
+
import type { PerformanceTracking } from './performance-tracking';
|
|
4
|
+
import type { PMPluginFactoryParams } from './pm-plugin';
|
|
5
5
|
export type PMPluginCreateConfig = PMPluginFactoryParams & {
|
|
6
6
|
editorConfig: EditorConfig;
|
|
7
7
|
performanceTracking?: PerformanceTracking;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { jsx } from '@emotion/react';
|
|
4
|
-
import
|
|
5
|
-
import
|
|
4
|
+
import type EditorActions from '../../../actions';
|
|
5
|
+
import type { RenderOnClickHandler } from '../../Addon/types';
|
|
6
6
|
export interface Props {
|
|
7
7
|
onClick: (actionOnClick: EditorActions, renderOnClick: RenderOnClickHandler) => void;
|
|
8
8
|
editorActions: EditorActions;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import EditorActions from '../../actions';
|
|
2
|
+
import type EditorActions from '../../actions';
|
|
3
3
|
export type RenderOnClickHandler = (editorActions: EditorActions, closePopup: () => void) => React.ReactElement<any>;
|
|
4
4
|
export interface AddonActions {
|
|
5
5
|
actionOnClick?: (editorActions: EditorActions) => void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import type { EditorAppearanceComponentProps } from '../../../types';
|
|
4
3
|
import type { WrappedComponentProps } from 'react-intl-next';
|
|
4
|
+
import type { EditorAppearanceComponentProps } from '../../../types';
|
|
5
5
|
export declare const CommentEditorWithIntl: React.FC<import("react-intl-next").WithIntlProps<EditorAppearanceComponentProps & WrappedComponentProps<"intl">>> & {
|
|
6
6
|
WrappedComponent: React.ComponentType<EditorAppearanceComponentProps & WrappedComponentProps<"intl">>;
|
|
7
7
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
|
+
import type { ReactElement } from 'react';
|
|
2
3
|
import { jsx } from '@emotion/react';
|
|
3
|
-
import { ReactElement } from 'react';
|
|
4
4
|
type ReactComponents = ReactElement<any> | ReactElement<any>[];
|
|
5
5
|
export declare const BeforePrimaryToolbarWrapper: (props: {
|
|
6
6
|
beforePrimaryToolbarComponents: ReactComponents | undefined;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { jsx } from '@emotion/react';
|
|
2
|
-
import { EditorAppearanceComponentProps } from '../../../types';
|
|
2
|
+
import type { EditorAppearanceComponentProps } from '../../../types';
|
|
3
3
|
export declare const FullPageEditor: (props: EditorAppearanceComponentProps) => jsx.JSX.Element;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
1
|
+
/** @jsx jsx */
|
|
3
2
|
import type { ReactElement } from 'react';
|
|
4
3
|
import React from 'react';
|
|
5
4
|
import type { WrappedComponentProps } from 'react-intl-next';
|
|
6
|
-
import type EditorActions from '../../../actions';
|
|
7
|
-
import type { EventDispatcher } from '../../../event-dispatcher';
|
|
8
|
-
import type { ReactComponents, EditorAppearance, UIComponentFactory, ContentComponents } from '../../../types';
|
|
9
5
|
import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
|
|
6
|
+
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
10
7
|
import type { ReactHookFactory } from '@atlaskit/editor-common/types';
|
|
8
|
+
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
9
|
+
import type EditorActions from '../../../actions';
|
|
10
|
+
import type { EventDispatcher } from '../../../event-dispatcher';
|
|
11
|
+
import type { ContentComponents, EditorAppearance, ReactComponents, UIComponentFactory } from '../../../types';
|
|
11
12
|
import type { FeatureFlags } from '../../../types/feature-flags';
|
|
12
13
|
interface FullPageEditorContentAreaProps {
|
|
13
14
|
appearance: EditorAppearance | undefined;
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import type { ReactElement } from 'react';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { jsx } from '@emotion/react';
|
|
5
|
-
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
6
|
-
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
7
5
|
import type { WrappedComponentProps } from 'react-intl-next';
|
|
8
|
-
import type { EditorAppearance, ToolbarUIComponentFactory, PrimaryToolbarComponents } from '../../../types';
|
|
9
|
-
import type { CollabEditOptions } from '@atlaskit/editor-common/collab';
|
|
10
6
|
import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
|
|
7
|
+
import type { CollabEditOptions } from '@atlaskit/editor-common/collab';
|
|
11
8
|
import type { EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
|
|
12
|
-
import type {
|
|
9
|
+
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
10
|
+
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
11
|
+
import type { EditorActions } from '../../../index';
|
|
12
|
+
import type { EditorAppearance, PrimaryToolbarComponents, ToolbarUIComponentFactory } from '../../../types';
|
|
13
13
|
import type { FeatureFlags } from '../../../types/feature-flags';
|
|
14
14
|
export interface FullPageToolbarProps {
|
|
15
15
|
appearance?: EditorAppearance;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { EditorAppearanceComponentProps } from '../../types';
|
|
2
|
+
import type { EditorAppearanceComponentProps } from '../../types';
|
|
3
3
|
export default function Mobile({ editorView, maxHeight, persistScrollGutter, editorDOMElement, disabled, contentComponents, editorActions, eventDispatcher, dispatchAnalyticsEvent, providerFactory, appearance, popupsMountPoint, popupsBoundariesElement, popupsScrollableElement, innerRef, pluginHooks, featureFlags, }: EditorAppearanceComponentProps): JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
3
|
+
import type { WrappedComponentProps } from 'react-intl-next';
|
|
4
4
|
export interface Props {
|
|
5
5
|
text?: string;
|
|
6
6
|
onFocus?: (e: React.FocusEvent<HTMLInputElement>) => void;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { LAYOUT_COLUMN_PADDING, LAYOUT_SECTION_MARGIN } from '@atlaskit/editor-common/styles';
|
|
2
2
|
export { LAYOUT_COLUMN_PADDING, LAYOUT_SECTION_MARGIN };
|
|
3
3
|
export declare const layoutStyles: import("@emotion/react").SerializedStyles;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { jsx } from '@emotion/react';
|
|
4
|
+
import type { BreakoutMarkAttrs } from '@atlaskit/adf-schema';
|
|
4
5
|
import type { WidthPluginState } from '@atlaskit/editor-plugin-width';
|
|
5
6
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
6
|
-
import type { BreakoutMarkAttrs } from '@atlaskit/adf-schema';
|
|
7
7
|
export type Props = {
|
|
8
8
|
visible: boolean;
|
|
9
9
|
children?: React.ReactElement;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { jsx } from '@emotion/react';
|
|
4
|
-
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
5
|
-
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
6
|
-
import type { EditorAppearance, UIComponentFactory } from '../../types';
|
|
7
|
-
import type { EventDispatcher } from '../../event-dispatcher';
|
|
8
|
-
import type EditorActions from '../../actions';
|
|
9
4
|
import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
|
|
5
|
+
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
10
6
|
import type { ReactHookFactory } from '@atlaskit/editor-common/types';
|
|
7
|
+
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
8
|
+
import type EditorActions from '../../actions';
|
|
9
|
+
import type { EventDispatcher } from '../../event-dispatcher';
|
|
10
|
+
import type { EditorAppearance, UIComponentFactory } from '../../types';
|
|
11
11
|
export interface Props {
|
|
12
12
|
items?: UIComponentFactory[];
|
|
13
13
|
pluginHooks?: ReactHookFactory[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { jsx } from '@emotion/react';
|
|
4
|
-
import { ToolbarInnerProps } from './toolbar-types';
|
|
4
|
+
import type { ToolbarInnerProps } from './toolbar-types';
|
|
5
5
|
export declare class ToolbarInner extends React.Component<ToolbarInnerProps> {
|
|
6
6
|
shouldComponentUpdate(nextProps: ToolbarInnerProps): boolean;
|
|
7
7
|
render(): jsx.JSX.Element | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/** @jsx jsx */
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { ToolbarWithSizeDetectorProps } from './toolbar-types';
|
|
3
|
+
import type { ToolbarWithSizeDetectorProps } from './toolbar-types';
|
|
4
4
|
export declare const ToolbarWithSizeDetector: React.FunctionComponent<ToolbarWithSizeDetectorProps>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EditorAppearance } from '../../types';
|
|
1
|
+
import type { EditorAppearance } from '../../types';
|
|
2
2
|
import { ToolbarSize } from './types';
|
|
3
3
|
export declare const toolbarSizeToWidth: (toolbarSize: ToolbarSize, appearance?: EditorAppearance) => number;
|
|
4
4
|
export declare const widthToToolbarSize: (toolbarWidth: number, appearance?: EditorAppearance) => ToolbarSize;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
|
|
2
|
+
import type { EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
|
|
2
3
|
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
4
|
+
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
5
|
+
import type EditorActions from '../../actions';
|
|
3
6
|
import type { EditorAppearance } from '../../types/editor-appearance';
|
|
4
7
|
import type { ToolbarSize, ToolbarUIComponentFactory } from './types';
|
|
5
|
-
import type { EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
|
|
6
|
-
import type EditorActions from '../../actions';
|
|
7
|
-
import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
|
|
8
8
|
export interface ToolbarBreakPoint {
|
|
9
9
|
width: number;
|
|
10
10
|
size: ToolbarSize;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TOOLBAR_BUTTON, ToolbarButton } from '@atlaskit/editor-common/ui-menu';
|
|
2
2
|
export type { ToolbarButtonRef } from '@atlaskit/editor-common/ui-menu';
|
|
3
3
|
export { TOOLBAR_BUTTON };
|
|
4
4
|
export default ToolbarButton;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { PositionType } from '@atlaskit/tooltip/types';
|
|
3
2
|
import type { WrappedComponentProps } from 'react-intl-next';
|
|
3
|
+
import type { PositionType } from '@atlaskit/tooltip/types';
|
|
4
4
|
interface Props {
|
|
5
5
|
title?: string;
|
|
6
6
|
titlePosition?: PositionType;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
|
-
import EditorActions from '../../actions';
|
|
3
|
+
import type EditorActions from '../../actions';
|
|
4
4
|
export interface WithEditorActionsProps {
|
|
5
5
|
render(actions: EditorActions): React.ReactElement<any> | null;
|
|
6
6
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { PerformanceOptions, PluginsConfig, Props, State } from '@atlaskit/editor-common/with-plugin-state';
|
|
2
|
+
import { WithPluginState } from '@atlaskit/editor-common/with-plugin-state';
|
|
2
3
|
export type { Props, State, PerformanceOptions, PluginsConfig };
|
|
3
4
|
export default WithPluginState;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { PublicPluginAPI, OptionalPlugin } from '@atlaskit/editor-common/types';
|
|
3
|
-
import type { ExtensionPlugin } from '@atlaskit/editor-plugin-extension';
|
|
1
|
+
import type { OptionalPlugin, PublicPluginAPI } from '@atlaskit/editor-common/types';
|
|
4
2
|
import type { ContextPanelPlugin } from '@atlaskit/editor-plugin-context-panel';
|
|
3
|
+
import type { ExtensionPlugin } from '@atlaskit/editor-plugin-extension';
|
|
4
|
+
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
5
5
|
export declare function __temporaryFixForConfigPanel(editorView: EditorView, api: PublicPluginAPI<[
|
|
6
6
|
OptionalPlugin<ExtensionPlugin>,
|
|
7
7
|
OptionalPlugin<ContextPanelPlugin>
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import type { BreakoutMarkAttrs } from '@atlaskit/adf-schema';
|
|
2
|
+
import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
|
|
3
|
+
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
4
|
+
import type { ReplaceRawValue, Transformer } from '@atlaskit/editor-common/types';
|
|
1
5
|
import type { Node, Schema } from '@atlaskit/editor-prosemirror/model';
|
|
2
6
|
import { Fragment } from '@atlaskit/editor-prosemirror/model';
|
|
3
|
-
import type {
|
|
4
|
-
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
5
|
-
import type { Transformer, ReplaceRawValue } from '@atlaskit/editor-common/types';
|
|
6
|
-
import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
|
|
7
|
-
import type { BreakoutMarkAttrs } from '@atlaskit/adf-schema';
|
|
7
|
+
import type { ReadonlyTransaction, Transaction } from '@atlaskit/editor-prosemirror/state';
|
|
8
8
|
export { isInEmptyLine } from '@atlaskit/editor-common/utils';
|
|
9
9
|
export declare function processRawFragmentValue(schema: Schema, value?: ReplaceRawValue[], providerFactory?: ProviderFactory, sanitizePrivateContent?: boolean, contentTransformer?: Transformer<string>, dispatchAnalyticsEvent?: DispatchAnalyticsEvent): Fragment | undefined;
|
|
10
10
|
export type ChangedFn = (node: Node, pos: number, parent: Node | null, index: number) => boolean | void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next/types';
|
|
1
2
|
import type { ExtensionProvider } from '@atlaskit/editor-common/extensions';
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import EditorActions from '../actions';
|
|
3
|
+
import type { QuickInsertProvider } from '@atlaskit/editor-common/provider-factory';
|
|
4
|
+
import type EditorActions from '../actions';
|
|
5
5
|
export declare function extensionProviderToQuickInsertProvider(extensionProvider: ExtensionProvider, editorActions: EditorActions, createAnalyticsEvent?: CreateUIAnalyticsEvent): Promise<QuickInsertProvider>;
|
|
6
6
|
export declare function combineQuickInsertProviders(quickInsertProviders: Array<QuickInsertProvider | Promise<QuickInsertProvider>>): Promise<QuickInsertProvider>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type { JSONDocNode } from '@atlaskit/editor-json-transformer';
|
|
1
2
|
import type { MarkType, Slice } from '@atlaskit/editor-prosemirror/model';
|
|
2
3
|
import type { EditorState } from '@atlaskit/editor-prosemirror/state';
|
|
3
|
-
import type { JSONDocNode } from '@atlaskit/editor-json-transformer';
|
|
4
4
|
export { isEmptyNode, isSelectionInsideLastNodeInDocument, checkNodeDown, insideTableCell, isInListItem, toJSON, nodeToJSON, } from '@atlaskit/editor-common/utils';
|
|
5
5
|
export { insideTable } from '@atlaskit/editor-common/core-utils';
|
|
6
6
|
export { nodesBetweenChanged, getNodesCount } from './document';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { EditorAppearance } from '../types';
|
|
1
|
+
import type { EditorAppearance } from '../types';
|
|
2
2
|
export declare function isFullPage(appearance?: EditorAppearance): boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Node as PMNode, MarkType } from '@atlaskit/editor-prosemirror/model';
|
|
2
1
|
import type { BreakoutMarkAttrs } from '@atlaskit/adf-schema';
|
|
2
|
+
import type { MarkType, Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
3
3
|
export { getParentNodeWidth } from '@atlaskit/editor-common/node-width';
|
|
4
4
|
/**
|
|
5
5
|
* Returns the breakout mode of a given node
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ACTION, ACTION_SUBJECT, FireAnalyticsCallback } from '@atlaskit/editor-common/analytics';
|
|
2
2
|
type RenderActions = ACTION.RE_RENDERED;
|
|
3
3
|
type RenderActionSubjects = ACTION_SUBJECT.EDITOR | ACTION_SUBJECT.REACT_EDITOR_VIEW;
|
|
4
4
|
export type RenderTrackingProps<ComponentProps> = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
|
|
1
2
|
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
2
3
|
import type { SafePluginSpec } from '@atlaskit/editor-prosemirror/state';
|
|
3
4
|
import type { EditorProps } from '../../types/editor-props';
|
|
4
5
|
import type { TransactionTracker } from './track-transactions';
|
|
5
|
-
import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
|
|
6
6
|
type InstrumentedPluginOptions = EditorProps['performanceTracking'] & {
|
|
7
7
|
dispatchAnalyticsEvent?: DispatchAnalyticsEvent;
|
|
8
8
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { NodesCount, PluginPerformanceReportData, PluginPerformanceReportOptions } from './plugin-performance-report';
|
|
2
|
-
import { TransactionTracker } from './track-transactions';
|
|
1
|
+
import type { NodesCount, PluginPerformanceReportData, PluginPerformanceReportOptions } from './plugin-performance-report';
|
|
2
|
+
import type { TransactionTracker } from './track-transactions';
|
|
3
3
|
export declare class PluginPerformanceObserver implements PerformanceObserver {
|
|
4
4
|
private callback;
|
|
5
5
|
private getNodeCounts;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { NodeCount, PluginMethodReport, PluginPerformanceReportData, PluginsReport } from '@atlaskit/editor-common/analytics';
|
|
2
2
|
export type { PluginMethodReport, PluginsReport, NodeCount, PluginPerformanceReportData, };
|
|
3
3
|
export interface OutlierReport {
|
|
4
4
|
stateApplyOutlier: number | undefined;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { ExtensionProvider } from '@atlaskit/editor-common/extensions';
|
|
2
1
|
import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next/types';
|
|
2
|
+
import type { ExtensionProvider } from '@atlaskit/editor-common/extensions';
|
|
3
3
|
import type { QuickInsertProvider } from '@atlaskit/editor-common/provider-factory';
|
|
4
|
-
import type EditorActions from '../actions';
|
|
5
4
|
import type { QuickInsertOptions } from '@atlaskit/editor-common/types';
|
|
5
|
+
import type EditorActions from '../actions';
|
|
6
6
|
/**
|
|
7
7
|
*
|
|
8
8
|
* Used to combine the quickInsert provider and extension provider (if available)
|
package/docs/0-intro.tsx
CHANGED
package/docs/1-legacy-editor.tsx
CHANGED
package/docs/2-labs.tsx
CHANGED
package/docs/4-annotations.tsx
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { token } from '@atlaskit/tokens';
|
|
2
1
|
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
|
|
3
|
-
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
4
2
|
import React from 'react';
|
|
5
3
|
|
|
6
4
|
import { code, md } from '@atlaskit/docs';
|
|
5
|
+
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
7
6
|
import { N20, N30 } from '@atlaskit/theme/colors';
|
|
7
|
+
import { token } from '@atlaskit/tokens';
|
|
8
8
|
|
|
9
9
|
import { Editor } from '../src';
|
|
10
10
|
|
package/docs/editor-use-only.tsx
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "191.3.
|
|
3
|
+
"version": "191.3.2",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@atlaskit/analytics-next": "^9.1.0",
|
|
47
47
|
"@atlaskit/analytics-next-stable-react-context": "1.0.1",
|
|
48
48
|
"@atlaskit/button": "^17.2.0",
|
|
49
|
-
"@atlaskit/editor-common": "^76.
|
|
49
|
+
"@atlaskit/editor-common": "^76.41.0",
|
|
50
50
|
"@atlaskit/editor-json-transformer": "^8.10.0",
|
|
51
51
|
"@atlaskit/editor-plugin-alignment": "^0.1.0",
|
|
52
52
|
"@atlaskit/editor-plugin-analytics": "^0.4.0",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"@atlaskit/editor-plugin-editor-disabled": "^0.2.0",
|
|
77
77
|
"@atlaskit/editor-plugin-emoji": "^1.0.0",
|
|
78
78
|
"@atlaskit/editor-plugin-expand": "^0.4.0",
|
|
79
|
-
"@atlaskit/editor-plugin-extension": "^0.
|
|
79
|
+
"@atlaskit/editor-plugin-extension": "^0.6.0",
|
|
80
80
|
"@atlaskit/editor-plugin-feature-flags": "^1.0.0",
|
|
81
81
|
"@atlaskit/editor-plugin-feedback-dialog": "^0.1.0",
|
|
82
82
|
"@atlaskit/editor-plugin-find-replace": "^0.1.0",
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
"@atlaskit/editor-plugin-selection-toolbar": "^0.1.0",
|
|
111
111
|
"@atlaskit/editor-plugin-status": "^0.2.0",
|
|
112
112
|
"@atlaskit/editor-plugin-submit-editor": "^0.1.0",
|
|
113
|
-
"@atlaskit/editor-plugin-table": "^
|
|
113
|
+
"@atlaskit/editor-plugin-table": "^6.0.0",
|
|
114
114
|
"@atlaskit/editor-plugin-tasks-and-decisions": "^0.2.0",
|
|
115
115
|
"@atlaskit/editor-plugin-text-color": "^0.1.0",
|
|
116
116
|
"@atlaskit/editor-plugin-text-formatting": "^0.4.0",
|
|
@@ -161,7 +161,7 @@
|
|
|
161
161
|
"@atlaskit/avatar": "^21.4.0",
|
|
162
162
|
"@atlaskit/checkbox": "^13.0.0",
|
|
163
163
|
"@atlaskit/code": "^15.1.0",
|
|
164
|
-
"@atlaskit/collab-provider": "9.
|
|
164
|
+
"@atlaskit/collab-provider": "9.22.0",
|
|
165
165
|
"@atlaskit/dropdown-menu": "^12.1.0",
|
|
166
166
|
"@atlaskit/editor-extension-dropbox": "^0.4.0",
|
|
167
167
|
"@atlaskit/editor-palette": "1.5.2",
|
|
@@ -217,6 +217,9 @@
|
|
|
217
217
|
},
|
|
218
218
|
"techstack": {
|
|
219
219
|
"@atlassian/frontend": {
|
|
220
|
+
"import-structure": [
|
|
221
|
+
"atlassian-conventions"
|
|
222
|
+
],
|
|
220
223
|
"circular-dependencies": [
|
|
221
224
|
"file-level"
|
|
222
225
|
]
|