@atlaskit/editor-core 220.4.2 → 220.4.4
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 +14 -0
- package/CollapsedEditor/package.json +1 -8
- package/ContextPanel/package.json +1 -8
- package/EditorContext/package.json +1 -8
- package/ReactEditorView/package.json +1 -8
- package/ToolbarHelp/package.json +1 -8
- package/ToolbarPortal/package.json +1 -8
- package/WithEditorActions/package.json +1 -8
- package/WithHelpTrigger/package.json +1 -8
- package/actions/package.json +1 -8
- package/appearance-editor-chromeless/package.json +1 -8
- package/appearance-editor-comment/package.json +1 -8
- package/appearance-editor-full-page/package.json +1 -8
- package/appearance-editor-full-width/package.json +1 -8
- package/command/package.json +1 -8
- package/composable-editor/package.json +1 -8
- package/create-plugins-list/package.json +1 -8
- package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea.js +9 -2
- package/dist/cjs/utils/outdatedBrowsers.js +4 -5
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea.js +9 -2
- package/dist/es2019/utils/outdatedBrowsers.js +4 -5
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/ui/Appearance/FullPage/FullPageContentArea.js +9 -2
- package/dist/esm/utils/outdatedBrowsers.js +4 -5
- package/dist/esm/version-wrapper.js +1 -1
- package/editor/package.json +1 -8
- package/editor-context/package.json +1 -8
- package/editor-instance/package.json +1 -8
- package/editor-props/package.json +1 -8
- package/exclude-from-hydration/package.json +1 -8
- package/feature-flags-from-props/package.json +1 -8
- package/getNodesCount/package.json +1 -8
- package/i18n/package.json +1 -8
- package/i18n-languages/package.json +1 -8
- package/labs-next/package.json +1 -8
- package/measure-enum/package.json +1 -8
- package/package.json +6 -3
- package/preset-default/package.json +1 -8
- package/preset-universal/package.json +1 -8
- package/preset-universal/universal/package.json +1 -8
- package/preset-universal/useUniversalPreset/package.json +1 -8
- package/test-utils/package.json +1 -8
- package/use-preset/package.json +1 -8
- package/use-preset-context/package.json +1 -8
- package/version-wrapper/package.json +1 -8
- package/dist/types-ts4.5/CollapsedEditor/index.d.ts +0 -26
- package/dist/types-ts4.5/actions/index.d.ts +0 -97
- package/dist/types-ts4.5/actions/isEmptyParagraph.d.ts +0 -5
- package/dist/types-ts4.5/actions/temp-is-empty-document.d.ts +0 -11
- package/dist/types-ts4.5/actions/temp-nodes-by-localids.d.ts +0 -7
- package/dist/types-ts4.5/actions/temp-to-json.d.ts +0 -3
- package/dist/types-ts4.5/composable-editor/BaseThemeWrapper.d.ts +0 -7
- package/dist/types-ts4.5/composable-editor/composable-editor.d.ts +0 -3
- package/dist/types-ts4.5/composable-editor/core-editor.d.ts +0 -15
- package/dist/types-ts4.5/composable-editor/editor-inp-metrics.d.ts +0 -1
- package/dist/types-ts4.5/composable-editor/editor-internal-compiled.d.ts +0 -15
- package/dist/types-ts4.5/composable-editor/editor-internal-emotion.d.ts +0 -15
- package/dist/types-ts4.5/composable-editor/editor-internal.d.ts +0 -38
- package/dist/types-ts4.5/composable-editor/hooks/useEditorMeasuresConstructor.d.ts +0 -10
- package/dist/types-ts4.5/composable-editor/hooks/useMeasureEditorMountTime.d.ts +0 -11
- package/dist/types-ts4.5/composable-editor/hooks/useMemoEditorProps.d.ts +0 -7
- package/dist/types-ts4.5/composable-editor/hooks/useProviderFactory.d.ts +0 -14
- package/dist/types-ts4.5/composable-editor/hooks/useProviders.d.ts +0 -40
- 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 -13
- package/dist/types-ts4.5/composable-editor.d.ts +0 -2
- package/dist/types-ts4.5/create-editor/ErrorBoundary.d.ts +0 -53
- package/dist/types-ts4.5/create-editor/ReactEditorView/focusEditorElement.d.ts +0 -1
- package/dist/types-ts4.5/create-editor/ReactEditorView/formatFullWidthAppearance.d.ts +0 -3
- package/dist/types-ts4.5/create-editor/ReactEditorView/getUAPrefix.d.ts +0 -1
- package/dist/types-ts4.5/create-editor/ReactEditorView/handleEditorFocus.d.ts +0 -2
- package/dist/types-ts4.5/create-editor/ReactEditorView/useDispatchTransaction.d.ts +0 -13
- package/dist/types-ts4.5/create-editor/ReactEditorView/useFireFullWidthEvent.d.ts +0 -3
- package/dist/types-ts4.5/create-editor/ReactEditorView.d.ts +0 -55
- package/dist/types-ts4.5/create-editor/WithEditorView.d.ts +0 -6
- package/dist/types-ts4.5/create-editor/addMetadataAttributes.d.ts +0 -16
- package/dist/types-ts4.5/create-editor/consts.d.ts +0 -3
- package/dist/types-ts4.5/create-editor/create-editor.d.ts +0 -3
- package/dist/types-ts4.5/create-editor/create-plugins-list.d.ts +0 -13
- package/dist/types-ts4.5/create-editor/create-schema.d.ts +0 -36
- package/dist/types-ts4.5/create-editor/create-universal-preset.d.ts +0 -7
- package/dist/types-ts4.5/create-editor/createErrorReporter.d.ts +0 -3
- package/dist/types-ts4.5/create-editor/createPMPlugins.d.ts +0 -3
- package/dist/types-ts4.5/create-editor/editorNativeAnchorSupportPlugin.d.ts +0 -3
- package/dist/types-ts4.5/create-editor/editorStateNotificationPlugin.d.ts +0 -13
- package/dist/types-ts4.5/create-editor/filter-plugins-for-reconfigure.d.ts +0 -19
- package/dist/types-ts4.5/create-editor/fixExcludes.d.ts +0 -6
- package/dist/types-ts4.5/create-editor/get-plugins.d.ts +0 -43
- package/dist/types-ts4.5/create-editor/get-ui-component.d.ts +0 -5
- package/dist/types-ts4.5/create-editor/getScrollGutterOptions.d.ts +0 -3
- package/dist/types-ts4.5/create-editor/messages.d.ts +0 -12
- package/dist/types-ts4.5/create-editor/preset-utils.d.ts +0 -2
- package/dist/types-ts4.5/create-editor/sortByRank.d.ts +0 -5
- package/dist/types-ts4.5/editor-appearances/ChromelessEditor.d.ts +0 -14
- package/dist/types-ts4.5/editor-appearances/CommentEditor.d.ts +0 -14
- package/dist/types-ts4.5/editor-appearances/FullPageEditor.d.ts +0 -19
- package/dist/types-ts4.5/editor-appearances/FullWidthEditor.d.ts +0 -18
- package/dist/types-ts4.5/editor-context.d.ts +0 -1
- package/dist/types-ts4.5/editor.d.ts +0 -24
- package/dist/types-ts4.5/entry-points/CollapsedEditor.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/ContextPanel.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/EditorContext.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/ReactEditorView.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/ToolbarHelp.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/ToolbarPortal.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/WithEditorActions.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/WithHelpTrigger.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/actions.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/appearance-editor-chromeless.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/appearance-editor-comment.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/appearance-editor-full-page.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/appearance-editor-full-width.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/command.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/create-plugins-list.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/editor-instance.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/editor-props.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/editor.d.ts +0 -11
- package/dist/types-ts4.5/entry-points/exclude-from-hydration.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/feature-flags-from-props.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/getNodesCount.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/i18n-languages.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/measure-enum.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/preset-universal-universal.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/preset-universal-useUniversalPreset.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/test-utils.d.ts +0 -5
- package/dist/types-ts4.5/entry-points/use-preset-context.d.ts +0 -2
- package/dist/types-ts4.5/entry-points/version-wrapper.d.ts +0 -1
- package/dist/types-ts4.5/i18n/cs.d.ts +0 -12
- package/dist/types-ts4.5/i18n/da.d.ts +0 -12
- package/dist/types-ts4.5/i18n/de.d.ts +0 -12
- package/dist/types-ts4.5/i18n/en.d.ts +0 -12
- package/dist/types-ts4.5/i18n/en_GB.d.ts +0 -12
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +0 -12
- package/dist/types-ts4.5/i18n/es.d.ts +0 -12
- package/dist/types-ts4.5/i18n/et.d.ts +0 -168
- package/dist/types-ts4.5/i18n/fi.d.ts +0 -12
- package/dist/types-ts4.5/i18n/fr.d.ts +0 -12
- package/dist/types-ts4.5/i18n/hr.d.ts +0 -12
- package/dist/types-ts4.5/i18n/hu.d.ts +0 -12
- package/dist/types-ts4.5/i18n/index.d.ts +0 -36
- package/dist/types-ts4.5/i18n/is.d.ts +0 -153
- package/dist/types-ts4.5/i18n/it.d.ts +0 -12
- package/dist/types-ts4.5/i18n/ja.d.ts +0 -12
- package/dist/types-ts4.5/i18n/ko.d.ts +0 -12
- package/dist/types-ts4.5/i18n/languages.d.ts +0 -39
- package/dist/types-ts4.5/i18n/nb.d.ts +0 -12
- package/dist/types-ts4.5/i18n/nl.d.ts +0 -12
- package/dist/types-ts4.5/i18n/pl.d.ts +0 -12
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +0 -12
- 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 -12
- package/dist/types-ts4.5/i18n/sk.d.ts +0 -12
- package/dist/types-ts4.5/i18n/sl.d.ts +0 -12
- package/dist/types-ts4.5/i18n/sr.d.ts +0 -12
- package/dist/types-ts4.5/i18n/sr_RS.d.ts +0 -12
- package/dist/types-ts4.5/i18n/sr_YR.d.ts +0 -12
- package/dist/types-ts4.5/i18n/sv.d.ts +0 -12
- package/dist/types-ts4.5/i18n/th.d.ts +0 -12
- package/dist/types-ts4.5/i18n/tr.d.ts +0 -12
- package/dist/types-ts4.5/i18n/uk.d.ts +0 -12
- package/dist/types-ts4.5/i18n/vi.d.ts +0 -12
- package/dist/types-ts4.5/i18n/zh.d.ts +0 -12
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +0 -12
- package/dist/types-ts4.5/index.d.ts +0 -34
- package/dist/types-ts4.5/isElementBySelectorInDocument.d.ts +0 -7
- package/dist/types-ts4.5/labs-next.d.ts +0 -1
- package/dist/types-ts4.5/nodeviews/types.d.ts +0 -12
- package/dist/types-ts4.5/preset-default.d.ts +0 -1
- package/dist/types-ts4.5/preset-universal.d.ts +0 -3
- package/dist/types-ts4.5/presets/context.d.ts +0 -15
- package/dist/types-ts4.5/presets/default-preset-type.d.ts +0 -87
- package/dist/types-ts4.5/presets/default.d.ts +0 -66
- package/dist/types-ts4.5/presets/universal.d.ts +0 -98
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +0 -8
- package/dist/types-ts4.5/setTextSelection.d.ts +0 -2
- package/dist/types-ts4.5/test-utils.d.ts +0 -24
- package/dist/types-ts4.5/ts-hack.d.ts +0 -10
- 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 -57
- package/dist/types-ts4.5/types/editor-config.d.ts +0 -21
- package/dist/types-ts4.5/types/editor-instance.d.ts +0 -19
- package/dist/types-ts4.5/types/editor-onchange.d.ts +0 -14
- package/dist/types-ts4.5/types/editor-props.d.ts +0 -317
- package/dist/types-ts4.5/types/extension-config.d.ts +0 -4
- package/dist/types-ts4.5/types/i18n.d.ts +0 -5
- package/dist/types-ts4.5/types/markdown-mode.d.ts +0 -11
- package/dist/types-ts4.5/types/pm-plugin-list.d.ts +0 -10
- package/dist/types-ts4.5/types/with-appearance-component.d.ts +0 -5
- package/dist/types-ts4.5/ui/Addon/ClickAreaBlock/clickAreaBlock-compiled.d.ts +0 -10
- package/dist/types-ts4.5/ui/Addon/ClickAreaBlock/clickAreaBlock-emotion.d.ts +0 -12
- package/dist/types-ts4.5/ui/Addon/ClickAreaBlock/contentComponentWrapper.d.ts +0 -6
- package/dist/types-ts4.5/ui/Addon/ClickAreaBlock/index.d.ts +0 -9
- package/dist/types-ts4.5/ui/Addon/checkForModal.d.ts +0 -10
- package/dist/types-ts4.5/ui/Addon/click-area-helper.d.ts +0 -3
- package/dist/types-ts4.5/ui/Addon/outsideProsemirrorEditorClickHandler.d.ts +0 -2
- package/dist/types-ts4.5/ui/Addon/types.d.ts +0 -16
- package/dist/types-ts4.5/ui/Appearance/Chromeless-compiled.d.ts +0 -18
- package/dist/types-ts4.5/ui/Appearance/Chromeless-emotion.d.ts +0 -18
- package/dist/types-ts4.5/ui/Appearance/Chromeless.d.ts +0 -22
- package/dist/types-ts4.5/ui/Appearance/ChromelessEditorContainer.d.ts +0 -9
- package/dist/types-ts4.5/ui/Appearance/Comment/Comment.d.ts +0 -20
- package/dist/types-ts4.5/ui/Appearance/Comment/CommentToolbar.d.ts +0 -21
- package/dist/types-ts4.5/ui/Appearance/Comment/Toolbar.d.ts +0 -12
- package/dist/types-ts4.5/ui/Appearance/FullPage/BeforeWrapper-compiled.d.ts +0 -16
- package/dist/types-ts4.5/ui/Appearance/FullPage/BeforeWrapper-emotion.d.ts +0 -16
- package/dist/types-ts4.5/ui/Appearance/FullPage/BeforeWrapper.d.ts +0 -6
- package/dist/types-ts4.5/ui/Appearance/FullPage/CustomToolbarWrapper-compiled.d.ts +0 -3
- package/dist/types-ts4.5/ui/Appearance/FullPage/CustomToolbarWrapper-emotion.d.ts +0 -14
- package/dist/types-ts4.5/ui/Appearance/FullPage/CustomToolbarWrapper.d.ts +0 -10
- package/dist/types-ts4.5/ui/Appearance/FullPage/CustomToolbarWrapperMigration.d.ts +0 -4
- package/dist/types-ts4.5/ui/Appearance/FullPage/FullPage-compiled.d.ts +0 -7
- package/dist/types-ts4.5/ui/Appearance/FullPage/FullPage-emotion.d.ts +0 -7
- package/dist/types-ts4.5/ui/Appearance/FullPage/FullPage.d.ts +0 -18
- package/dist/types-ts4.5/ui/Appearance/FullPage/FullPageContentArea.d.ts +0 -56
- package/dist/types-ts4.5/ui/Appearance/FullPage/FullPageToolbar.d.ts +0 -51
- package/dist/types-ts4.5/ui/Appearance/FullPage/FullPageToolbarNext.d.ts +0 -30
- package/dist/types-ts4.5/ui/Appearance/FullPage/MainToolbar-compiled.d.ts +0 -21
- package/dist/types-ts4.5/ui/Appearance/FullPage/MainToolbar-emotion.d.ts +0 -21
- package/dist/types-ts4.5/ui/Appearance/FullPage/MainToolbar.d.ts +0 -1
- package/dist/types-ts4.5/ui/Appearance/FullPage/MainToolbarIconBeforeMigration.d.ts +0 -4
- package/dist/types-ts4.5/ui/Appearance/FullPage/MainToolbarWrapper-compiled.d.ts +0 -19
- package/dist/types-ts4.5/ui/Appearance/FullPage/MainToolbarWrapper-emotion.d.ts +0 -19
- package/dist/types-ts4.5/ui/Appearance/FullPage/MainToolbarWrapper.d.ts +0 -3
- package/dist/types-ts4.5/ui/Appearance/FullPage/NonCustomToolbarWrapperMigration.d.ts +0 -4
- package/dist/types-ts4.5/ui/Appearance/FullPage/StyledComponents.d.ts +0 -5
- package/dist/types-ts4.5/ui/Appearance/FullPage/types.d.ts +0 -5
- package/dist/types-ts4.5/ui/ChromeCollapsed/ChromeCollapsed-compiled.d.ts +0 -13
- package/dist/types-ts4.5/ui/ChromeCollapsed/ChromeCollapsed-emotion.d.ts +0 -13
- 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 -2
- package/dist/types-ts4.5/ui/CollapsedEditor/index.d.ts +0 -19
- package/dist/types-ts4.5/ui/ContextPanel/index-compiled.d.ts +0 -25
- package/dist/types-ts4.5/ui/ContextPanel/index-emotion.d.ts +0 -15
- package/dist/types-ts4.5/ui/ContextPanel/index.d.ts +0 -24
- package/dist/types-ts4.5/ui/EditorContentContainer/EditorContentContainer-compiled.d.ts +0 -29
- package/dist/types-ts4.5/ui/EditorContentContainer/EditorContentContainer-emotion.d.ts +0 -32
- package/dist/types-ts4.5/ui/EditorContentContainer/EditorContentContainer.d.ts +0 -9
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/aiPanel.d.ts +0 -29
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/annotationStyles.d.ts +0 -8
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/backgroundColorStyles.d.ts +0 -15
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/baseStyles.d.ts +0 -43
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/blockMarksStyles.d.ts +0 -8
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/blockTypeStyles.d.ts +0 -71
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/codeBlockStyles.d.ts +0 -46
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/codeMarkStyles.d.ts +0 -15
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/commentEditorStyles.d.ts +0 -8
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/cursorStyles.d.ts +0 -8
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/dateStyles.d.ts +0 -32
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/editorUGCTokenStyles.d.ts +0 -40
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/embedCardStyles.d.ts +0 -8
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/emoji.d.ts +0 -42
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/expandStyles.d.ts +0 -59
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/extensionStyles.d.ts +0 -20
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/findReplaceStyles.d.ts +0 -36
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/firstBlockNodeStyles.d.ts +0 -8
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/floatingToolbarStyles.d.ts +0 -8
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/fontSizeStyles.d.ts +0 -8
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/fullPageEditorStyles.d.ts +0 -8
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/gapCursorStyles.d.ts +0 -22
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/gridStyles.d.ts +0 -8
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/indentationStyles.d.ts +0 -8
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/inlineNodeViewSharedStyles.d.ts +0 -8
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/layout.d.ts +0 -220
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/link.d.ts +0 -22
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/list.d.ts +0 -50
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/mediaStyles.d.ts +0 -36
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/mentions.d.ts +0 -36
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/overflowShadowStyles.d.ts +0 -8
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/panelStyles.d.ts +0 -43
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/paragraphStyles.d.ts +0 -36
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/placeholderStyles.d.ts +0 -29
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/resizerStyles.d.ts +0 -131
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/rule.d.ts +0 -15
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/scrollbarStyles.d.ts +0 -8
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/selectionStyles.d.ts +0 -74
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/selectionToolbarStyles.d.ts +0 -8
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/shadowStyles.d.ts +0 -29
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/smartCardStyles.d.ts +0 -98
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/statusStyles.d.ts +0 -50
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/syncBlockStyles.d.ts +0 -36
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/tableStyles.d.ts +0 -50
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/tasksAndDecisionsStyles.d.ts +0 -77
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/telepointerStyles.d.ts +0 -15
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/textColorStyles.d.ts +0 -8
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/textHighlightStyles.d.ts +0 -8
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/unsupportedStyles.d.ts +0 -18
- package/dist/types-ts4.5/ui/EditorContentContainer/styles/whitespaceStyles.d.ts +0 -8
- package/dist/types-ts4.5/ui/EditorContext/index.d.ts +0 -15
- package/dist/types-ts4.5/ui/ErrorBoundary/index.d.ts +0 -26
- package/dist/types-ts4.5/ui/ExcludeFromHydration/index.d.ts +0 -13
- package/dist/types-ts4.5/ui/IntlProviderIfMissingWrapper/IntlProviderIfMissingWrapper.d.ts +0 -6
- package/dist/types-ts4.5/ui/PluginSlot/PluginSlot-compiled.d.ts +0 -12
- package/dist/types-ts4.5/ui/PluginSlot/PluginSlot-emotion.d.ts +0 -12
- package/dist/types-ts4.5/ui/PluginSlot/index.d.ts +0 -26
- 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 -32
- package/dist/types-ts4.5/ui/Toolbar/ToolbarInner.d.ts +0 -11
- package/dist/types-ts4.5/ui/Toolbar/ToolbarPortal.d.ts +0 -21
- package/dist/types-ts4.5/ui/Toolbar/ToolbarWithSizeDetector.d.ts +0 -3
- package/dist/types-ts4.5/ui/Toolbar/getPrimaryToolbarComponents.d.ts +0 -7
- package/dist/types-ts4.5/ui/Toolbar/hooks.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 -33
- package/dist/types-ts4.5/ui/ToolbarHelp/index.d.ts +0 -14
- package/dist/types-ts4.5/ui/ToolbarHelp/messages.d.ts +0 -7
- package/dist/types-ts4.5/ui/WithEditorActions/index.d.ts +0 -9
- package/dist/types-ts4.5/ui/WithFlash/index.d.ts +0 -7
- package/dist/types-ts4.5/ui/WithFlash/withFlash-compiled.d.ts +0 -19
- package/dist/types-ts4.5/ui/WithFlash/withFlash-emotion.d.ts +0 -19
- package/dist/types-ts4.5/ui/WithHelpTrigger/index.d.ts +0 -14
- package/dist/types-ts4.5/use-preset.d.ts +0 -43
- package/dist/types-ts4.5/utils/action.d.ts +0 -3
- package/dist/types-ts4.5/utils/combineQuickInsertProviders.d.ts +0 -2
- package/dist/types-ts4.5/utils/deprecation-warnings.d.ts +0 -8
- package/dist/types-ts4.5/utils/editorDeprecationWarnings.d.ts +0 -2
- package/dist/types-ts4.5/utils/extensions.d.ts +0 -10
- package/dist/types-ts4.5/utils/feature-flags-from-props.d.ts +0 -7
- package/dist/types-ts4.5/utils/findChangedNodesFromTransaction.d.ts +0 -8
- package/dist/types-ts4.5/utils/getNodesCount.d.ts +0 -2
- package/dist/types-ts4.5/utils/getNodesCountWithExtensionKeys.d.ts +0 -12
- package/dist/types-ts4.5/utils/getNodesVisibleInViewport.d.ts +0 -5
- package/dist/types-ts4.5/utils/is-chromeless.d.ts +0 -2
- package/dist/types-ts4.5/utils/is-full-page.d.ts +0 -2
- package/dist/types-ts4.5/utils/isNodeVisible.d.ts +0 -5
- package/dist/types-ts4.5/utils/nodes-by-localIds.d.ts +0 -3
- package/dist/types-ts4.5/utils/outdatedBrowsers.d.ts +0 -1
- package/dist/types-ts4.5/utils/performance/components/RenderTracking.d.ts +0 -13
- package/dist/types-ts4.5/utils/performance/getTimeSince.d.ts +0 -8
- package/dist/types-ts4.5/utils/performance/measure-enum.d.ts +0 -7
- 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 -23
- package/dist/types-ts4.5/utils/performance/plugin-performance-report.d.ts +0 -47
- package/dist/types-ts4.5/utils/performance/safer-transactions.d.ts +0 -8
- 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/prepare-extension-provider.d.ts +0 -5
- package/dist/types-ts4.5/utils/prepare-quick-insert-provider.d.ts +0 -19
- package/dist/types-ts4.5/utils/toolbar.d.ts +0 -2
- package/dist/types-ts4.5/utils/validNode.d.ts +0 -2
- package/dist/types-ts4.5/utils/validateNodes.d.ts +0 -3
- package/dist/types-ts4.5/version-wrapper.d.ts +0 -2
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { AnalyticsEventPayload } from '@atlaskit/editor-common/analytics';
|
|
2
|
-
import type { Transaction } from '@atlaskit/editor-prosemirror/state';
|
|
3
|
-
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
4
|
-
import type { EditorViewStateUpdatedCallbackProps } from '../../types/editor-config';
|
|
5
|
-
import type { EditorOnChangeHandler } from '../../types/editor-onchange';
|
|
6
|
-
type DispatchTransaction = (view: EditorView | undefined, tr: Transaction) => void;
|
|
7
|
-
export declare const useDispatchTransaction: ({ onChange, dispatchAnalyticsEvent, onEditorViewUpdated, isRemoteReplaceDocumentTransaction, }: {
|
|
8
|
-
dispatchAnalyticsEvent: (payload: AnalyticsEventPayload) => void;
|
|
9
|
-
isRemoteReplaceDocumentTransaction?: (tr: Transaction) => boolean;
|
|
10
|
-
onChange: EditorOnChangeHandler | undefined;
|
|
11
|
-
onEditorViewUpdated: (params: EditorViewStateUpdatedCallbackProps) => void;
|
|
12
|
-
}) => DispatchTransaction;
|
|
13
|
-
export {};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import type { AnalyticsEventPayload } from '@atlaskit/editor-common/analytics';
|
|
2
|
-
import type { EditorAppearance } from '@atlaskit/editor-common/types';
|
|
3
|
-
export declare const useFireFullWidthEvent: (appearance: EditorAppearance | undefined, dispatchAnalyticsEvent: (payload: AnalyticsEventPayload) => void) => void;
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { WrappedComponentProps, WithIntlProps } from 'react-intl';
|
|
3
|
-
import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next/types';
|
|
4
|
-
import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
|
|
5
|
-
import { EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
|
|
6
|
-
import type { PortalProviderAPI } from '@atlaskit/editor-common/portal';
|
|
7
|
-
import type { AllEditorPresetPluginTypes, EditorPresetBuilder } from '@atlaskit/editor-common/preset';
|
|
8
|
-
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
9
|
-
import type { PublicPluginAPI, Transformer } from '@atlaskit/editor-common/types';
|
|
10
|
-
import { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
11
|
-
import type { EditorConfig } from '../types/editor-config';
|
|
12
|
-
import type { EditorNextProps, EditorProps } from '../types/editor-props';
|
|
13
|
-
export interface EditorViewProps extends WrappedComponentProps {
|
|
14
|
-
createAnalyticsEvent?: CreateUIAnalyticsEvent;
|
|
15
|
-
disabled?: boolean;
|
|
16
|
-
editorProps: (EditorProps | EditorNextProps) & {
|
|
17
|
-
preset?: EditorNextProps['preset'];
|
|
18
|
-
};
|
|
19
|
-
nodeViewPortalProviderAPI: PortalProviderAPI;
|
|
20
|
-
onEditorCreated: (instance: {
|
|
21
|
-
config: EditorConfig;
|
|
22
|
-
eventDispatcher: EventDispatcher;
|
|
23
|
-
transformer?: Transformer<string>;
|
|
24
|
-
view: EditorView;
|
|
25
|
-
}) => void;
|
|
26
|
-
onEditorDestroyed: (instance: {
|
|
27
|
-
config: EditorConfig;
|
|
28
|
-
eventDispatcher: EventDispatcher;
|
|
29
|
-
transformer?: Transformer<string>;
|
|
30
|
-
view: EditorView;
|
|
31
|
-
}) => void;
|
|
32
|
-
onSSRMeasure?: (measure: {
|
|
33
|
-
endTimestamp: number;
|
|
34
|
-
segmentName: string;
|
|
35
|
-
startTimestamp: number;
|
|
36
|
-
}) => void;
|
|
37
|
-
portalProviderAPI: PortalProviderAPI;
|
|
38
|
-
preset: EditorPresetBuilder<string[], AllEditorPresetPluginTypes[]>;
|
|
39
|
-
providerFactory: ProviderFactory;
|
|
40
|
-
render?: (props: {
|
|
41
|
-
config: EditorConfig;
|
|
42
|
-
dispatchAnalyticsEvent: DispatchAnalyticsEvent;
|
|
43
|
-
editor: JSX.Element;
|
|
44
|
-
editorAPI: PublicPluginAPI<any> | undefined;
|
|
45
|
-
editorRef: React.RefObject<HTMLDivElement>;
|
|
46
|
-
eventDispatcher: EventDispatcher;
|
|
47
|
-
transformer?: Transformer<string>;
|
|
48
|
-
view?: EditorView;
|
|
49
|
-
}) => JSX.Element;
|
|
50
|
-
}
|
|
51
|
-
export declare function ReactEditorView(props: EditorViewProps): React.JSX.Element;
|
|
52
|
-
declare const _default: React.FC<WithIntlProps<EditorViewProps>> & {
|
|
53
|
-
WrappedComponent: React.ComponentType<EditorViewProps>;
|
|
54
|
-
};
|
|
55
|
-
export default _default;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
3
|
-
export interface WithEditorViewInternalProps {
|
|
4
|
-
editorView?: EditorView | undefined;
|
|
5
|
-
}
|
|
6
|
-
export declare const WithEditorView: <P extends WithEditorViewInternalProps>(WrappedComponent: React.ComponentType<React.PropsWithChildren<P>>) => ((props: React.PropsWithChildren<Omit<P, keyof WithEditorViewInternalProps>>) => React.JSX.Element);
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { DOMOutputSpec, Mark as PMMark, Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
2
|
-
/**
|
|
3
|
-
* 🧱 Internal Helper Function: Editor FE Platform
|
|
4
|
-
*
|
|
5
|
-
* Adds generic metadata attributes to a DOMOutputSpec array based on the provided node or mark.
|
|
6
|
-
* This function ensures that the DOMOutputSpec is annotated with ProseMirror-specific metadata.
|
|
7
|
-
*
|
|
8
|
-
* @param {object} params - Parameters object.
|
|
9
|
-
* @param {PMNode | PMMark} params.nodeOrMark - The ProseMirror node or mark to extract metadata from.
|
|
10
|
-
* @param {DOMOutputSpec} params.domSpec - The DOMOutputSpec to which attributes will be added.
|
|
11
|
-
* @returns {DOMOutputSpec} The modified DOMOutputSpec with additional metadata.
|
|
12
|
-
*/
|
|
13
|
-
export declare const addMetadataAttributes: ({ nodeOrMark, domSpec, }: {
|
|
14
|
-
domSpec: DOMOutputSpec;
|
|
15
|
-
nodeOrMark: PMNode | PMMark;
|
|
16
|
-
}) => DOMOutputSpec;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next/types';
|
|
2
|
-
import type { EditorPluginInjectionAPI, EditorPresetBuilder } from '@atlaskit/editor-common/preset';
|
|
3
|
-
import type { EditorPlugin } from '@atlaskit/editor-common/types';
|
|
4
|
-
import type { DefaultPresetPluginOptions } from '../../src/presets/default';
|
|
5
|
-
import type { EditorPluginFeatureProps, EditorProps } from '../types/editor-props';
|
|
6
|
-
export declare function getDefaultPresetOptionsFromEditorProps(props: EditorProps, createAnalyticsEvent?: CreateUIAnalyticsEvent): DefaultPresetPluginOptions & Omit<EditorPluginFeatureProps, 'placeholder'>;
|
|
7
|
-
/**
|
|
8
|
-
* Maps EditorProps to EditorPlugins
|
|
9
|
-
*
|
|
10
|
-
* Note: The order that presets are added determines
|
|
11
|
-
* their placement in the editor toolbar.
|
|
12
|
-
*/
|
|
13
|
-
export default function createPluginsList(preset: EditorPresetBuilder<any, any>, props: Pick<EditorProps, 'allowBlockType'>, pluginInjectionAPI?: EditorPluginInjectionAPI): EditorPlugin[];
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import type { MarkConfig, NodeConfig } from '@atlaskit/editor-common/types';
|
|
2
|
-
import type { DOMOutputSpec, MarkSpec, NodeSpec, Mark as PMMark, Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
3
|
-
import { Schema } from '@atlaskit/editor-prosemirror/model';
|
|
4
|
-
type toDOMType = (node: PMNode | PMMark) => DOMOutputSpec;
|
|
5
|
-
/**
|
|
6
|
-
* 🧱 Internal Helper Function: Editor FE Platform
|
|
7
|
-
*
|
|
8
|
-
* Wraps a `toDOM` function with a proxy that automatically adds metadata attributes
|
|
9
|
-
* to the resulting DOMOutputSpec. This is useful for dynamically enhancing the output
|
|
10
|
-
* of a `toDOM` function with additional context.
|
|
11
|
-
*
|
|
12
|
-
* @param {function(PMNode | PMMark): DOMOutputSpec} toDOM - The original `toDOM` function.
|
|
13
|
-
* @returns {function(PMNode | PMMark): DOMOutputSpec} A proxied `toDOM` function that adds metadata attributes.
|
|
14
|
-
*/
|
|
15
|
-
export declare const wrapToDOMProxy: (toDOM: toDOMType) => toDOMType;
|
|
16
|
-
/**
|
|
17
|
-
* 🧱 Internal Helper Function: Editor FE Platform
|
|
18
|
-
*
|
|
19
|
-
* Wraps a NodeSpec or MarkSpec object with a proxy to enhance its `toDOM` method.
|
|
20
|
-
* This proxy automatically adds metadata attributes to the DOM output of the `toDOM` method,
|
|
21
|
-
* enriching the DOM representation with additional ProseMirror-specific metadata.
|
|
22
|
-
*
|
|
23
|
-
* For nodes thats use NodeViews, you can find the implementation of those attributes on this file:
|
|
24
|
-
* @see `packages/editor/editor-common/src/safe-plugin/index.ts`
|
|
25
|
-
*
|
|
26
|
-
* @template T
|
|
27
|
-
* @param {T} spec - The NodeSpec or MarkSpec object to be wrapped.
|
|
28
|
-
* @returns {T} A proxied NodeSpec or MarkSpec object where the `toDOM` method is enhanced
|
|
29
|
-
* with metadata attributes.
|
|
30
|
-
*/
|
|
31
|
-
export declare const wrapNodeSpecProxy: <T extends NodeSpec | MarkSpec>(spec: T) => T;
|
|
32
|
-
export declare function createSchema(editorConfig: {
|
|
33
|
-
marks: MarkConfig[];
|
|
34
|
-
nodes: NodeConfig[];
|
|
35
|
-
}): Schema<string, string>;
|
|
36
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { InitialPluginConfiguration } from '../presets/universal';
|
|
2
|
-
import type { EditorProps } from '../types/editor-props';
|
|
3
|
-
export declare function createUniversalPreset({ props, prevProps, initialPluginConfiguration, }: {
|
|
4
|
-
initialPluginConfiguration?: InitialPluginConfiguration;
|
|
5
|
-
prevProps?: EditorProps;
|
|
6
|
-
props: EditorProps;
|
|
7
|
-
}): any;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
2
|
-
import type { ReadonlyTransaction, EditorState } from '@atlaskit/editor-prosemirror/state';
|
|
3
|
-
import type { EditorViewStateUpdatedCallbackProps } from '../types/editor-config';
|
|
4
|
-
export type EditorStateNotificationPluginState = {
|
|
5
|
-
latestTransaction: ReadonlyTransaction | undefined;
|
|
6
|
-
};
|
|
7
|
-
export declare const createEditorStateNotificationPlugin: (onEditorStateUpdated: (props: {
|
|
8
|
-
newEditorState: EditorState;
|
|
9
|
-
oldEditorState: EditorState;
|
|
10
|
-
}) => void, onEditorViewStateUpdatedCallbacks: Array<{
|
|
11
|
-
callback: (props: EditorViewStateUpdatedCallbackProps) => void;
|
|
12
|
-
pluginName: string;
|
|
13
|
-
}>) => SafePlugin<EditorStateNotificationPluginState>;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { EditorPlugin } from '@atlaskit/editor-common/types';
|
|
2
|
-
import type { Schema } from '@atlaskit/editor-prosemirror/model';
|
|
3
|
-
export interface DroppedPlugin {
|
|
4
|
-
missingMarks: string[];
|
|
5
|
-
missingNodes: string[];
|
|
6
|
-
name: string;
|
|
7
|
-
}
|
|
8
|
-
export interface FilterPluginsForReconfigureResult {
|
|
9
|
-
dropped: DroppedPlugin[];
|
|
10
|
-
kept: EditorPlugin[];
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Used by `reconfigureState` to drop plugins from a freshly-built preset that
|
|
14
|
-
* declare schema nodes/marks the current schema doesn't have. Plugins already
|
|
15
|
-
* present before this reconfigure are kept untouched: they have demonstrably
|
|
16
|
-
* coexisted with the schema (e.g. tests that mock a stripped-down schema), so
|
|
17
|
-
* removing them now would be a regression.
|
|
18
|
-
*/
|
|
19
|
-
export declare function filterPluginsForReconfigure(editorPlugins: Array<EditorPlugin | undefined | null>, schema: Schema, previousPluginNames: ReadonlySet<string>): FilterPluginsForReconfigureResult;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import type { IntlShape } from 'react-intl';
|
|
2
|
-
import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
|
|
3
|
-
import type { Dispatch, EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
|
|
4
|
-
import type { PortalProviderAPI } from '@atlaskit/editor-common/portal';
|
|
5
|
-
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
6
|
-
import type { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
|
|
7
|
-
import type { FeatureFlags, MarkConfig, NodeConfig, ReactHookFactory, UIComponentFactory } from '@atlaskit/editor-common/types';
|
|
8
|
-
import type { Schema } from '@atlaskit/editor-prosemirror/model';
|
|
9
|
-
import type { EditorState, Transaction } from '@atlaskit/editor-prosemirror/state';
|
|
10
|
-
export type LightPMPluginFactoryParams = {
|
|
11
|
-
dispatch: Dispatch;
|
|
12
|
-
dispatchAnalyticsEvent: DispatchAnalyticsEvent;
|
|
13
|
-
eventDispatcher: EventDispatcher;
|
|
14
|
-
featureFlags: FeatureFlags;
|
|
15
|
-
getIntl: () => IntlShape;
|
|
16
|
-
nodeViewPortalProviderAPI: PortalProviderAPI;
|
|
17
|
-
portalProviderAPI: PortalProviderAPI;
|
|
18
|
-
prevProps?: Object;
|
|
19
|
-
props: Object;
|
|
20
|
-
providerFactory: ProviderFactory;
|
|
21
|
-
schema: Schema;
|
|
22
|
-
};
|
|
23
|
-
export type LightPMPluginFactory = (params: LightPMPluginFactoryParams) => SafePlugin | undefined;
|
|
24
|
-
export type LightPMPlugin = {
|
|
25
|
-
name: string;
|
|
26
|
-
plugin: LightPMPluginFactory;
|
|
27
|
-
};
|
|
28
|
-
export type OnEditorViewStateUpdated = (props: {
|
|
29
|
-
readonly newEditorState: Readonly<EditorState>;
|
|
30
|
-
readonly oldEditorState: Readonly<EditorState>;
|
|
31
|
-
readonly originalTransaction: Readonly<Transaction>;
|
|
32
|
-
readonly transactions: ReadonlyArray<Transaction>;
|
|
33
|
-
}) => void;
|
|
34
|
-
export interface LightEditorPlugin {
|
|
35
|
-
contentComponent?: UIComponentFactory;
|
|
36
|
-
marks?: () => MarkConfig[];
|
|
37
|
-
name: string;
|
|
38
|
-
nodes?: () => NodeConfig[];
|
|
39
|
-
onEditorViewStateUpdated?: OnEditorViewStateUpdated;
|
|
40
|
-
pluginsOptions?: Record<string, any>;
|
|
41
|
-
pmPlugins?: (pluginOptions?: any) => Array<LightPMPlugin>;
|
|
42
|
-
usePluginHook?: ReactHookFactory;
|
|
43
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { EditorAppearance } from '@atlaskit/editor-common/types';
|
|
2
|
-
import type { EditorAppearanceComponentProps } from '../types/editor-appearance-component';
|
|
3
|
-
type ReturnType = React.ComponentType<React.PropsWithChildren<EditorAppearanceComponentProps<any[]>>>;
|
|
4
|
-
export default function getUiComponent(appearance: EditorAppearance): ReturnType;
|
|
5
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { EditorNextProps } from '../types/editor-props';
|
|
3
|
-
export type ChromelessEditorProps = Pick<EditorNextProps, 'preset' | 'defaultValue' | 'assistiveLabel' | 'disabled' | 'shouldFocus' | 'quickInsert' | 'performanceTracking' | 'secondaryToolbarComponents' | 'featureFlags' | 'onChange' | 'onDestroy' | 'onEditorReady' | 'onSave' | 'onCancel' | 'mentionProvider' | 'contextIdentifierProvider' | 'searchProvider' | 'extensionProviders' | 'popupsMountPoint' | 'popupsBoundariesElement' | 'popupsScrollableElement'>;
|
|
4
|
-
/**
|
|
5
|
-
* Editor component based on `ComposableEditor` which sets the `appearance` to "chromeless".
|
|
6
|
-
*
|
|
7
|
-
* This has a performance benefit compared with `ComposableEditor` as it doesn't bundle unnecessary appearance code.
|
|
8
|
-
*
|
|
9
|
-
* Docs for `ComposableEditor` are also relevant: https://atlaskit.atlassian.com/packages/editor/editor-core
|
|
10
|
-
*
|
|
11
|
-
* @param props ChromelessEditorProps
|
|
12
|
-
* @returns Editor component
|
|
13
|
-
*/
|
|
14
|
-
export declare function ChromelessEditor(props: ChromelessEditorProps): React.JSX.Element;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { EditorNextProps } from '../types/editor-props';
|
|
3
|
-
export type CommentEditorProps = Pick<EditorNextProps, 'preset' | 'defaultValue' | 'assistiveLabel' | 'disabled' | 'shouldFocus' | 'quickInsert' | 'performanceTracking' | 'secondaryToolbarComponents' | 'featureFlags' | 'onChange' | 'onDestroy' | 'onEditorReady' | 'onSave' | 'onCancel' | 'mentionProvider' | 'contextIdentifierProvider' | 'searchProvider' | 'extensionProviders'>;
|
|
4
|
-
/**
|
|
5
|
-
* Editor component based on `ComposableEditor` which sets the `appearance` to "comment".
|
|
6
|
-
*
|
|
7
|
-
* This has a performance benefit compared with `ComposableEditor` as it doesn't bundle unnecessary appearance code.
|
|
8
|
-
*
|
|
9
|
-
* Docs for `ComposableEditor` are also relevant: https://atlaskit.atlassian.com/packages/editor/editor-core
|
|
10
|
-
*
|
|
11
|
-
* @param props CommentEditorProps
|
|
12
|
-
* @returns Editor component
|
|
13
|
-
*/
|
|
14
|
-
export declare function CommentEditor(props: CommentEditorProps): React.JSX.Element;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type EditorActions from '../actions';
|
|
3
|
-
import type { EditorNextProps } from '../types/editor-props';
|
|
4
|
-
export type FullPageEditorProps = Pick<EditorNextProps, 'preset' | 'defaultValue' | 'disabled' | 'mentionProvider' | 'performanceTracking' | 'contextIdentifierProvider' | 'searchProvider' | 'activityProvider' | 'annotationProviders' | 'collabEditProvider' | 'collabEdit' | 'contentMode' | 'taskDecisionProvider' | 'extensionProviders' | 'shouldFocus' | 'quickInsert' | 'secondaryToolbarComponents' | 'featureFlags' | 'primaryToolbarComponents' | 'contextPanel' | 'contentComponents' | 'primaryToolbarIconBefore' | 'sanitizePrivateContent' | '__livePage'> & {
|
|
5
|
-
appearance: 'full-page' | 'full-width' | 'max';
|
|
6
|
-
onChange?: () => void;
|
|
7
|
-
onEditorReady?: (editorActions: EditorActions) => void;
|
|
8
|
-
};
|
|
9
|
-
/**
|
|
10
|
-
* Editor component based on `ComposableEditor` which sets the `appearance` to "full-page".
|
|
11
|
-
*
|
|
12
|
-
* This has a performance benefit as it doesn't bundle unnecessary appearance code.
|
|
13
|
-
*
|
|
14
|
-
* Docs for `ComposableEditor` are also relevant: https://atlaskit.atlassian.com/packages/editor/editor-core
|
|
15
|
-
*
|
|
16
|
-
* @param props FullPageEditorProps
|
|
17
|
-
* @returns Editor component
|
|
18
|
-
*/
|
|
19
|
-
export declare function FullPageEditor(props: FullPageEditorProps): React.JSX.Element;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { EditorNextProps } from '../types/editor-props';
|
|
3
|
-
export type FullWidthEditorProps = Pick<EditorNextProps, 'preset' | 'defaultValue' | 'disabled' | 'mentionProvider' | 'performanceTracking' | 'contextIdentifierProvider' | 'searchProvider' | 'annotationProviders' | 'collabEditProvider' | 'collabEdit' | 'taskDecisionProvider' | 'extensionProviders' | 'shouldFocus' | 'quickInsert' | 'secondaryToolbarComponents' | 'featureFlags' | 'primaryToolbarComponents' | 'contextPanel' | 'contentComponents' | 'primaryToolbarIconBefore' | 'sanitizePrivateContent'> & {
|
|
4
|
-
onChange?: () => void;
|
|
5
|
-
onEditorReady?: () => void;
|
|
6
|
-
};
|
|
7
|
-
/**
|
|
8
|
-
* Editor component based on `ComposableEditor` which sets the `appearance` to "full-width".
|
|
9
|
-
*
|
|
10
|
-
* This has a performance benefit as it doesn't bundle unnecessary appearance code.
|
|
11
|
-
*
|
|
12
|
-
* Docs for `ComposableEditor` are also relevant: https://atlaskit.atlassian.com/packages/editor/editor-core
|
|
13
|
-
*
|
|
14
|
-
* @param props FullWidthEditorProps
|
|
15
|
-
* @returns Editor component
|
|
16
|
-
* @deprecated In favour of `FullPageEditor` with appearance "full-width"
|
|
17
|
-
*/
|
|
18
|
-
export declare function FullWidthEditor(props: FullWidthEditorProps): React.JSX.Element;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as EditorContext } from './ui/EditorContext';
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
import React from 'react';
|
|
6
|
-
import { jsx } from '@emotion/react';
|
|
7
|
-
import type { InitialPluginConfiguration } from './preset-universal';
|
|
8
|
-
import type { EditorProps } from './types/editor-props';
|
|
9
|
-
interface EditorPropsWithInitialPluginConfiguration extends EditorProps {
|
|
10
|
-
initialPluginConfiguration?: InitialPluginConfiguration;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* @deprecated - Please use the `ComposableEditor` component instead.
|
|
14
|
-
* We strongly encourage the use of custom presets, however your easiest migration path is to use the `useUniversalPreset` hook.
|
|
15
|
-
* The `ComposableEditor` component is a more flexible and customizable alternative to the `Editor` component.
|
|
16
|
-
* It allows you to create an editor with a custom set of plugins and configurations.
|
|
17
|
-
* For more information, see the documentation for the `ComposableEditor` component here: https://atlaskit.atlassian.com/packages/editor/editor-core
|
|
18
|
-
*/
|
|
19
|
-
export default class Editor extends React.Component<EditorPropsWithInitialPluginConfiguration> {
|
|
20
|
-
static defaultProps: EditorProps;
|
|
21
|
-
constructor(props: EditorPropsWithInitialPluginConfiguration);
|
|
22
|
-
render(): jsx.JSX.Element;
|
|
23
|
-
}
|
|
24
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as CollapsedEditor } from '../ui/CollapsedEditor/index';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { ContextPanel } from '../ui/ContextPanel/index';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as EditorContext } from '../ui/EditorContext/index';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { ReactEditorView } from '../create-editor/ReactEditorView';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as ToolbarHelp } from '../ui/ToolbarHelp/index';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { ToolbarPortalContextProvider, useToolbarPortal } from '../ui/Toolbar/ToolbarPortal';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as WithEditorActions } from '../ui/WithEditorActions/index';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as WithHelpTrigger } from '../ui/WithHelpTrigger/index';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as EditorActions } from '../actions/index';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { Command, CommandDispatch } from '../types/command';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { getDefaultPresetOptionsFromEditorProps } from '../create-editor/create-plugins-list';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { EditorInstance } from '../types/editor-instance';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { EditorProps } from '../types/editor-props';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export type { Command, CommandDispatch } from '../types/command';
|
|
2
|
-
export type { DomAtPos } from '../types/dom-at-pos';
|
|
3
|
-
export type { EditorAppearanceComponentProps } from '../types/editor-appearance-component';
|
|
4
|
-
export type { EditorConfig } from '../types/editor-config';
|
|
5
|
-
export type { EditorInstance } from '../types/editor-instance';
|
|
6
|
-
export type { EditorProps } from '../types/editor-props';
|
|
7
|
-
export type { ExtensionConfig } from '../types/extension-config';
|
|
8
|
-
export type { ExtensionProvidersProp } from '../types/editor-props';
|
|
9
|
-
export type { MessageDescriptor } from '../types/i18n';
|
|
10
|
-
export type { PMPluginCreateConfig } from '../types/pm-plugin-list';
|
|
11
|
-
export { default } from '../editor';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from '../ui/ExcludeFromHydration/index';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { createFeatureFlagsFromProps } from '../utils/feature-flags-from-props';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { getNodesCount } from '../utils/getNodesCount';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from '../i18n/languages';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as measurements } from '../utils/performance/measure-enum';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as useUniversalPreset } from '../presets/useUniversalPreset';
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { isElementBySelectorInDocument } from '../isElementBySelectorInDocument';
|
|
2
|
-
export { setTextSelection } from '../setTextSelection';
|
|
3
|
-
export { createPMSchemaAndPlugins } from '../test-utils';
|
|
4
|
-
export type { LightEditorConfig } from '../test-utils';
|
|
5
|
-
export type { LightEditorPlugin } from '../create-editor/get-plugins';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { name, version } from '../version-wrapper';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* NOTE:
|
|
3
|
-
*
|
|
4
|
-
* This file is automatically generated by Traduki 2.0.
|
|
5
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
-
*/
|
|
7
|
-
declare const _default: {
|
|
8
|
-
'fabric.editor.chromeCollapsedPlaceholder': string;
|
|
9
|
-
'fabric.editor.editorAssistiveLabel': string;
|
|
10
|
-
'fabric.editor.headingLink.toolbarHelpTitle': string;
|
|
11
|
-
};
|
|
12
|
-
export default _default;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* NOTE:
|
|
3
|
-
*
|
|
4
|
-
* This file is automatically generated by Traduki 2.0.
|
|
5
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
-
*/
|
|
7
|
-
declare const _default: {
|
|
8
|
-
'fabric.editor.chromeCollapsedPlaceholder': string;
|
|
9
|
-
'fabric.editor.editorAssistiveLabel': string;
|
|
10
|
-
'fabric.editor.headingLink.toolbarHelpTitle': string;
|
|
11
|
-
};
|
|
12
|
-
export default _default;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* NOTE:
|
|
3
|
-
*
|
|
4
|
-
* This file is automatically generated by Traduki 2.0.
|
|
5
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
-
*/
|
|
7
|
-
declare const _default: {
|
|
8
|
-
'fabric.editor.chromeCollapsedPlaceholder': string;
|
|
9
|
-
'fabric.editor.editorAssistiveLabel': string;
|
|
10
|
-
'fabric.editor.headingLink.toolbarHelpTitle': string;
|
|
11
|
-
};
|
|
12
|
-
export default _default;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* NOTE:
|
|
3
|
-
*
|
|
4
|
-
* This file is automatically generated by Traduki 2.0.
|
|
5
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
-
*/
|
|
7
|
-
declare const _default: {
|
|
8
|
-
'fabric.editor.chromeCollapsedPlaceholder': string;
|
|
9
|
-
'fabric.editor.editorAssistiveLabel': string;
|
|
10
|
-
'fabric.editor.headingLink.toolbarHelpTitle': string;
|
|
11
|
-
};
|
|
12
|
-
export default _default;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* NOTE:
|
|
3
|
-
*
|
|
4
|
-
* This file is automatically generated by Traduki 2.0.
|
|
5
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
-
*/
|
|
7
|
-
declare const _default: {
|
|
8
|
-
'fabric.editor.chromeCollapsedPlaceholder': string;
|
|
9
|
-
'fabric.editor.editorAssistiveLabel': string;
|
|
10
|
-
'fabric.editor.headingLink.toolbarHelpTitle': string;
|
|
11
|
-
};
|
|
12
|
-
export default _default;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* NOTE:
|
|
3
|
-
*
|
|
4
|
-
* This file is automatically generated by Traduki 2.0.
|
|
5
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
-
*/
|
|
7
|
-
declare const _default: {
|
|
8
|
-
'fabric.editor.chromeCollapsedPlaceholder': string;
|
|
9
|
-
'fabric.editor.editorAssistiveLabel': string;
|
|
10
|
-
'fabric.editor.headingLink.toolbarHelpTitle': string;
|
|
11
|
-
};
|
|
12
|
-
export default _default;
|