@atlaskit/editor-core 221.3.0 → 221.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 +22 -0
- package/dist/cjs/create-editor/ReactEditorView.js +66 -9
- package/dist/cjs/ui/Appearance/Comment/Comment-compiled.compiled.css +30 -0
- package/dist/cjs/ui/Appearance/Comment/Comment-compiled.js +275 -0
- package/dist/cjs/ui/Appearance/Comment/Comment-emotion.js +357 -0
- package/dist/cjs/ui/Appearance/Comment/Comment.js +6 -344
- package/dist/cjs/ui/Appearance/FullPage/FullPage.js +1 -1
- package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea-compiled.compiled.css +96 -0
- package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea-compiled.js +190 -0
- package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea-emotion.js +413 -0
- package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea.js +10 -402
- package/dist/cjs/ui/Appearance/FullPage/FullPageToolbarNext.js +21 -2
- package/dist/cjs/ui/EditorContentContainer/EditorContentContainer-compiled.js +6 -5
- package/dist/cjs/ui/EditorContentContainer/EditorContentContainer-emotion.js +6 -4
- package/dist/cjs/ui/EditorContentContainer/styles/backgroundColorStyles.js +17 -6
- package/dist/cjs/ui/EditorContentContainer/styles/expandStyles.js +2 -2
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/create-editor/ReactEditorView.js +60 -9
- package/dist/es2019/ui/Appearance/Comment/Comment-compiled.compiled.css +30 -0
- package/dist/es2019/ui/Appearance/Comment/Comment-compiled.js +262 -0
- package/dist/es2019/ui/Appearance/Comment/Comment-emotion.js +344 -0
- package/dist/es2019/ui/Appearance/Comment/Comment.js +4 -337
- package/dist/es2019/ui/Appearance/FullPage/FullPage.js +1 -1
- package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea-compiled.compiled.css +96 -0
- package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea-compiled.js +179 -0
- package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea-emotion.js +405 -0
- package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea.js +8 -400
- package/dist/es2019/ui/Appearance/FullPage/FullPageToolbarNext.js +21 -2
- package/dist/es2019/ui/EditorContentContainer/EditorContentContainer-compiled.js +6 -5
- package/dist/es2019/ui/EditorContentContainer/EditorContentContainer-emotion.js +8 -6
- package/dist/es2019/ui/EditorContentContainer/styles/backgroundColorStyles.js +16 -5
- package/dist/es2019/ui/EditorContentContainer/styles/expandStyles.js +1 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/create-editor/ReactEditorView.js +66 -9
- package/dist/esm/ui/Appearance/Comment/Comment-compiled.compiled.css +30 -0
- package/dist/esm/ui/Appearance/Comment/Comment-compiled.js +268 -0
- package/dist/esm/ui/Appearance/Comment/Comment-emotion.js +346 -0
- package/dist/esm/ui/Appearance/Comment/Comment.js +6 -339
- package/dist/esm/ui/Appearance/FullPage/FullPage.js +1 -1
- package/dist/esm/ui/Appearance/FullPage/FullPageContentArea-compiled.compiled.css +96 -0
- package/dist/esm/ui/Appearance/FullPage/FullPageContentArea-compiled.js +183 -0
- package/dist/esm/ui/Appearance/FullPage/FullPageContentArea-emotion.js +403 -0
- package/dist/esm/ui/Appearance/FullPage/FullPageContentArea.js +10 -398
- package/dist/esm/ui/Appearance/FullPage/FullPageToolbarNext.js +21 -2
- package/dist/esm/ui/EditorContentContainer/EditorContentContainer-compiled.js +6 -5
- package/dist/esm/ui/EditorContentContainer/EditorContentContainer-emotion.js +8 -6
- package/dist/esm/ui/EditorContentContainer/styles/backgroundColorStyles.js +16 -5
- package/dist/esm/ui/EditorContentContainer/styles/expandStyles.js +1 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/ui/Appearance/Comment/Comment-compiled.d.ts +30 -0
- package/dist/types/ui/Appearance/Comment/Comment-emotion.d.ts +20 -0
- package/dist/types/ui/Appearance/Comment/Comment.d.ts +2 -20
- package/dist/types/ui/Appearance/FullPage/FullPageContentArea-compiled.d.ts +56 -0
- package/dist/types/ui/Appearance/FullPage/FullPageContentArea-emotion.d.ts +56 -0
- package/dist/types/ui/Appearance/FullPage/FullPageContentArea.d.ts +6 -54
- package/dist/types/ui/EditorContentContainer/styles/backgroundColorStyles.d.ts +7 -0
- package/dist/types/ui/EditorContentContainer/styles/expandStyles.d.ts +1 -1
- package/package.json +8 -8
|
@@ -39,14 +39,25 @@ export var backgroundColorStyles = css({
|
|
|
39
39
|
paddingBottom: 2,
|
|
40
40
|
boxDecorationBreak: 'clone'
|
|
41
41
|
},
|
|
42
|
-
// Don't show text highlight styling when there is a hyperlink
|
|
43
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
44
|
-
'a .fabric-background-color-mark': {
|
|
45
|
-
backgroundColor: 'unset'
|
|
46
|
-
},
|
|
47
42
|
// Don't show text highlight styling when there is an inline comment
|
|
48
43
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
49
44
|
'.fabric-background-color-mark .ak-editor-annotation': {
|
|
50
45
|
backgroundColor: 'unset'
|
|
51
46
|
}
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
51
|
+
* If you need to make changes here, also update the corresponding style in
|
|
52
|
+
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
53
|
+
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
54
|
+
*/
|
|
55
|
+
// Don't show text highlight styling when there is a hyperlink.
|
|
56
|
+
// Conditionally applied when the highlight-on-links experiment is off.
|
|
57
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/volt-strict-mode/no-multiple-exports
|
|
58
|
+
export var highlightLinksUnsetStyles = css({
|
|
59
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
60
|
+
'a .fabric-background-color-mark': {
|
|
61
|
+
backgroundColor: 'unset'
|
|
62
|
+
}
|
|
52
63
|
});
|
|
@@ -340,7 +340,7 @@ export var expandStylesMixin_fg_platform_editor_nested_dnd_styles_changes = css(
|
|
|
340
340
|
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
341
341
|
*/
|
|
342
342
|
// eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
|
|
343
|
-
export var
|
|
343
|
+
export var expandStylesMixin_chromeless_expand_fix = css({
|
|
344
344
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
345
345
|
'.ProseMirror > .ak-editor-expand': {
|
|
346
346
|
marginLeft: 0,
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Compiled branch of the `platform_editor_core_non_ecc_static_css` experiment.
|
|
7
|
+
* Used via `componentWithCondition` in `Comment.tsx`.
|
|
8
|
+
*
|
|
9
|
+
* Cleanup: delete this file once the experiment has shipped.
|
|
10
|
+
*/
|
|
11
|
+
import React from 'react';
|
|
12
|
+
import type { OptionalPlugin } from '@atlaskit/editor-common/types';
|
|
13
|
+
import type { BlockMenuPlugin } from '@atlaskit/editor-plugin-block-menu';
|
|
14
|
+
import type { MaxContentSizePlugin } from '@atlaskit/editor-plugins/max-content-size';
|
|
15
|
+
import type { MediaPlugin } from '@atlaskit/editor-plugins/media';
|
|
16
|
+
import type { PrimaryToolbarPlugin } from '@atlaskit/editor-plugins/primary-toolbar';
|
|
17
|
+
import type { ToolbarPlugin } from '@atlaskit/editor-plugins/toolbar';
|
|
18
|
+
import type { EditorAppearanceComponentProps } from '../../../types/editor-appearance-component';
|
|
19
|
+
type ComponentProps = EditorAppearanceComponentProps<[
|
|
20
|
+
OptionalPlugin<MediaPlugin>,
|
|
21
|
+
OptionalPlugin<MaxContentSizePlugin>,
|
|
22
|
+
OptionalPlugin<PrimaryToolbarPlugin>,
|
|
23
|
+
OptionalPlugin<ToolbarPlugin>,
|
|
24
|
+
OptionalPlugin<BlockMenuPlugin>
|
|
25
|
+
]>;
|
|
26
|
+
export declare const CommentEditorWithIntlCompiled: {
|
|
27
|
+
(props: ComponentProps): React.JSX.Element;
|
|
28
|
+
displayName: string;
|
|
29
|
+
};
|
|
30
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { jsx } from '@emotion/react';
|
|
2
|
+
import type { OptionalPlugin } from '@atlaskit/editor-common/types';
|
|
3
|
+
import type { BlockMenuPlugin } from '@atlaskit/editor-plugin-block-menu';
|
|
4
|
+
import type { MaxContentSizePlugin } from '@atlaskit/editor-plugins/max-content-size';
|
|
5
|
+
import type { MediaPlugin } from '@atlaskit/editor-plugins/media';
|
|
6
|
+
import type { PrimaryToolbarPlugin } from '@atlaskit/editor-plugins/primary-toolbar';
|
|
7
|
+
import type { ToolbarPlugin } from '@atlaskit/editor-plugins/toolbar';
|
|
8
|
+
import type { EditorAppearanceComponentProps } from '../../../types/editor-appearance-component';
|
|
9
|
+
type ComponentProps = EditorAppearanceComponentProps<[
|
|
10
|
+
OptionalPlugin<MediaPlugin>,
|
|
11
|
+
OptionalPlugin<MaxContentSizePlugin>,
|
|
12
|
+
OptionalPlugin<PrimaryToolbarPlugin>,
|
|
13
|
+
OptionalPlugin<ToolbarPlugin>,
|
|
14
|
+
OptionalPlugin<BlockMenuPlugin>
|
|
15
|
+
]>;
|
|
16
|
+
export declare const CommentEditorWithIntlEmotion: {
|
|
17
|
+
(props: ComponentProps): jsx.JSX.Element;
|
|
18
|
+
displayName: string;
|
|
19
|
+
};
|
|
20
|
+
export {};
|
|
@@ -1,20 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import type { BlockMenuPlugin } from '@atlaskit/editor-plugin-block-menu';
|
|
4
|
-
import type { MaxContentSizePlugin } from '@atlaskit/editor-plugins/max-content-size';
|
|
5
|
-
import type { MediaPlugin } from '@atlaskit/editor-plugins/media';
|
|
6
|
-
import type { PrimaryToolbarPlugin } from '@atlaskit/editor-plugins/primary-toolbar';
|
|
7
|
-
import type { ToolbarPlugin } from '@atlaskit/editor-plugins/toolbar';
|
|
8
|
-
import type { EditorAppearanceComponentProps } from '../../../types/editor-appearance-component';
|
|
9
|
-
type ComponentProps = EditorAppearanceComponentProps<[
|
|
10
|
-
OptionalPlugin<MediaPlugin>,
|
|
11
|
-
OptionalPlugin<MaxContentSizePlugin>,
|
|
12
|
-
OptionalPlugin<PrimaryToolbarPlugin>,
|
|
13
|
-
OptionalPlugin<ToolbarPlugin>,
|
|
14
|
-
OptionalPlugin<BlockMenuPlugin>
|
|
15
|
-
]>;
|
|
16
|
-
export declare const CommentEditorWithIntl: {
|
|
17
|
-
(props: ComponentProps): jsx.JSX.Element;
|
|
18
|
-
displayName: string;
|
|
19
|
-
};
|
|
20
|
-
export {};
|
|
1
|
+
import { CommentEditorWithIntlCompiled } from './Comment-compiled';
|
|
2
|
+
export declare const CommentEditorWithIntl: typeof CommentEditorWithIntlCompiled;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
import type { ReactElement } from 'react';
|
|
6
|
+
import React from 'react';
|
|
7
|
+
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
8
|
+
import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
|
|
9
|
+
import type { EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
|
|
10
|
+
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
11
|
+
import type { EditorAppearance, EditorContentMode, FeatureFlags, OptionalPlugin, PublicPluginAPI, ReactHookFactory, UIComponentFactory } from '@atlaskit/editor-common/types';
|
|
12
|
+
import type { BasePlugin } from '@atlaskit/editor-plugins/base';
|
|
13
|
+
import type { BlockMenuPlugin } from '@atlaskit/editor-plugins/block-menu';
|
|
14
|
+
import type { ContextPanelPlugin } from '@atlaskit/editor-plugins/context-panel';
|
|
15
|
+
import type { ViewMode } from '@atlaskit/editor-plugins/editor-viewmode';
|
|
16
|
+
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
17
|
+
import type EditorActions from '../../../actions';
|
|
18
|
+
import type { ContentComponents, ReactComponents } from '../../../types/editor-props';
|
|
19
|
+
import type { MarkdownModePlugin } from '../../../types/markdown-mode';
|
|
20
|
+
import type { ScrollContainerRefs } from './types';
|
|
21
|
+
type EditorAPI = PublicPluginAPI<[
|
|
22
|
+
OptionalPlugin<ContextPanelPlugin>,
|
|
23
|
+
BasePlugin,
|
|
24
|
+
OptionalPlugin<BlockMenuPlugin>,
|
|
25
|
+
OptionalPlugin<MarkdownModePlugin>
|
|
26
|
+
]>;
|
|
27
|
+
interface FullPageEditorContentAreaProps {
|
|
28
|
+
appearance: EditorAppearance | undefined;
|
|
29
|
+
contentComponents: UIComponentFactory[] | undefined;
|
|
30
|
+
contentMode: EditorContentMode | undefined;
|
|
31
|
+
contextPanel: ReactComponents | undefined;
|
|
32
|
+
customContentComponents: ContentComponents | undefined;
|
|
33
|
+
disabled: boolean | undefined;
|
|
34
|
+
dispatchAnalyticsEvent: DispatchAnalyticsEvent | undefined;
|
|
35
|
+
editorActions: EditorActions | undefined;
|
|
36
|
+
editorAPI: EditorAPI | undefined;
|
|
37
|
+
editorDOMElement: ReactElement;
|
|
38
|
+
editorView: EditorView;
|
|
39
|
+
eventDispatcher: EventDispatcher | undefined;
|
|
40
|
+
featureFlags?: FeatureFlags;
|
|
41
|
+
hasHadInteraction?: boolean;
|
|
42
|
+
isEditorToolbarHidden?: boolean;
|
|
43
|
+
pluginHooks: ReactHookFactory[] | undefined;
|
|
44
|
+
popupsBoundariesElement: HTMLElement | undefined;
|
|
45
|
+
popupsMountPoint: HTMLElement | undefined;
|
|
46
|
+
popupsScrollableElement: HTMLElement | undefined;
|
|
47
|
+
providerFactory: ProviderFactory;
|
|
48
|
+
viewMode: ViewMode | undefined;
|
|
49
|
+
wrapperElement: HTMLElement | null;
|
|
50
|
+
}
|
|
51
|
+
export declare const CONTENT_AREA_TEST_ID = "ak-editor-fp-content-area";
|
|
52
|
+
export declare const EDITOR_CONTAINER = "ak-editor-container";
|
|
53
|
+
export declare const FullPageContentAreaCompiled: React.ForwardRefExoticComponent<Omit<WithIntlProps<React.PropsWithChildren<FullPageEditorContentAreaProps & WrappedComponentProps & React.RefAttributes<ScrollContainerRefs>>>, 'ref'> & React.RefAttributes<any>> & {
|
|
54
|
+
WrappedComponent: React.ComponentType<FullPageEditorContentAreaProps & WrappedComponentProps & React.RefAttributes<ScrollContainerRefs>>;
|
|
55
|
+
};
|
|
56
|
+
export {};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
import type { ReactElement } from 'react';
|
|
6
|
+
import React from 'react';
|
|
7
|
+
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
8
|
+
import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
|
|
9
|
+
import type { EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
|
|
10
|
+
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
11
|
+
import type { EditorAppearance, EditorContentMode, FeatureFlags, OptionalPlugin, PublicPluginAPI, ReactHookFactory, UIComponentFactory } from '@atlaskit/editor-common/types';
|
|
12
|
+
import type { BasePlugin } from '@atlaskit/editor-plugins/base';
|
|
13
|
+
import type { BlockMenuPlugin } from '@atlaskit/editor-plugins/block-menu';
|
|
14
|
+
import type { ContextPanelPlugin } from '@atlaskit/editor-plugins/context-panel';
|
|
15
|
+
import type { ViewMode } from '@atlaskit/editor-plugins/editor-viewmode';
|
|
16
|
+
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
17
|
+
import type EditorActions from '../../../actions';
|
|
18
|
+
import type { ContentComponents, ReactComponents } from '../../../types/editor-props';
|
|
19
|
+
import type { MarkdownModePlugin } from '../../../types/markdown-mode';
|
|
20
|
+
import type { ScrollContainerRefs } from './types';
|
|
21
|
+
type EditorAPI = PublicPluginAPI<[
|
|
22
|
+
OptionalPlugin<ContextPanelPlugin>,
|
|
23
|
+
BasePlugin,
|
|
24
|
+
OptionalPlugin<BlockMenuPlugin>,
|
|
25
|
+
OptionalPlugin<MarkdownModePlugin>
|
|
26
|
+
]>;
|
|
27
|
+
interface FullPageEditorContentAreaProps {
|
|
28
|
+
appearance: EditorAppearance | undefined;
|
|
29
|
+
contentComponents: UIComponentFactory[] | undefined;
|
|
30
|
+
contentMode: EditorContentMode | undefined;
|
|
31
|
+
contextPanel: ReactComponents | undefined;
|
|
32
|
+
customContentComponents: ContentComponents | undefined;
|
|
33
|
+
disabled: boolean | undefined;
|
|
34
|
+
dispatchAnalyticsEvent: DispatchAnalyticsEvent | undefined;
|
|
35
|
+
editorActions: EditorActions | undefined;
|
|
36
|
+
editorAPI: EditorAPI | undefined;
|
|
37
|
+
editorDOMElement: ReactElement;
|
|
38
|
+
editorView: EditorView;
|
|
39
|
+
eventDispatcher: EventDispatcher | undefined;
|
|
40
|
+
featureFlags?: FeatureFlags;
|
|
41
|
+
hasHadInteraction?: boolean;
|
|
42
|
+
isEditorToolbarHidden?: boolean;
|
|
43
|
+
pluginHooks: ReactHookFactory[] | undefined;
|
|
44
|
+
popupsBoundariesElement: HTMLElement | undefined;
|
|
45
|
+
popupsMountPoint: HTMLElement | undefined;
|
|
46
|
+
popupsScrollableElement: HTMLElement | undefined;
|
|
47
|
+
providerFactory: ProviderFactory;
|
|
48
|
+
viewMode: ViewMode | undefined;
|
|
49
|
+
wrapperElement: HTMLElement | null;
|
|
50
|
+
}
|
|
51
|
+
export declare const CONTENT_AREA_TEST_ID = "ak-editor-fp-content-area";
|
|
52
|
+
export declare const EDITOR_CONTAINER = "ak-editor-container";
|
|
53
|
+
export declare const FullPageContentAreaEmotion: React.ForwardRefExoticComponent<Omit<WithIntlProps<React.PropsWithChildren<FullPageEditorContentAreaProps & WrappedComponentProps & React.RefAttributes<ScrollContainerRefs>>>, 'ref'> & React.RefAttributes<any>> & {
|
|
54
|
+
WrappedComponent: React.ComponentType<FullPageEditorContentAreaProps & WrappedComponentProps & React.RefAttributes<ScrollContainerRefs>>;
|
|
55
|
+
};
|
|
56
|
+
export {};
|
|
@@ -1,56 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
import type { ReactElement } from 'react';
|
|
6
|
-
import React from 'react';
|
|
7
|
-
import type { WithIntlProps, WrappedComponentProps } from 'react-intl';
|
|
8
|
-
import type { DispatchAnalyticsEvent } from '@atlaskit/editor-common/analytics';
|
|
9
|
-
import type { EventDispatcher } from '@atlaskit/editor-common/event-dispatcher';
|
|
10
|
-
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
11
|
-
import type { EditorAppearance, EditorContentMode, FeatureFlags, OptionalPlugin, PublicPluginAPI, ReactHookFactory, UIComponentFactory } from '@atlaskit/editor-common/types';
|
|
12
|
-
import type { BasePlugin } from '@atlaskit/editor-plugins/base';
|
|
13
|
-
import type { BlockMenuPlugin } from '@atlaskit/editor-plugins/block-menu';
|
|
14
|
-
import type { ContextPanelPlugin } from '@atlaskit/editor-plugins/context-panel';
|
|
15
|
-
import type { ViewMode } from '@atlaskit/editor-plugins/editor-viewmode';
|
|
16
|
-
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
17
|
-
import type EditorActions from '../../../actions';
|
|
18
|
-
import type { ContentComponents, ReactComponents } from '../../../types/editor-props';
|
|
19
|
-
import type { MarkdownModePlugin } from '../../../types/markdown-mode';
|
|
20
|
-
import type { ScrollContainerRefs } from './types';
|
|
21
|
-
type EditorAPI = PublicPluginAPI<[
|
|
22
|
-
OptionalPlugin<ContextPanelPlugin>,
|
|
23
|
-
BasePlugin,
|
|
24
|
-
OptionalPlugin<BlockMenuPlugin>,
|
|
25
|
-
OptionalPlugin<MarkdownModePlugin>
|
|
26
|
-
]>;
|
|
27
|
-
interface FullPageEditorContentAreaProps {
|
|
28
|
-
appearance: EditorAppearance | undefined;
|
|
29
|
-
contentComponents: UIComponentFactory[] | undefined;
|
|
30
|
-
contentMode: EditorContentMode | undefined;
|
|
31
|
-
contextPanel: ReactComponents | undefined;
|
|
32
|
-
customContentComponents: ContentComponents | undefined;
|
|
33
|
-
disabled: boolean | undefined;
|
|
34
|
-
dispatchAnalyticsEvent: DispatchAnalyticsEvent | undefined;
|
|
35
|
-
editorActions: EditorActions | undefined;
|
|
36
|
-
editorAPI: EditorAPI | undefined;
|
|
37
|
-
editorDOMElement: ReactElement;
|
|
38
|
-
editorView: EditorView;
|
|
39
|
-
eventDispatcher: EventDispatcher | undefined;
|
|
40
|
-
featureFlags?: FeatureFlags;
|
|
41
|
-
hasHadInteraction?: boolean;
|
|
42
|
-
isEditorToolbarHidden?: boolean;
|
|
43
|
-
pluginHooks: ReactHookFactory[] | undefined;
|
|
44
|
-
popupsBoundariesElement: HTMLElement | undefined;
|
|
45
|
-
popupsMountPoint: HTMLElement | undefined;
|
|
46
|
-
popupsScrollableElement: HTMLElement | undefined;
|
|
47
|
-
providerFactory: ProviderFactory;
|
|
48
|
-
viewMode: ViewMode | undefined;
|
|
49
|
-
wrapperElement: HTMLElement | null;
|
|
50
|
-
}
|
|
1
|
+
import { FullPageContentAreaCompiled } from './FullPageContentArea-compiled';
|
|
51
2
|
export declare const CONTENT_AREA_TEST_ID = "ak-editor-fp-content-area";
|
|
52
3
|
export declare const EDITOR_CONTAINER = "ak-editor-container";
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
4
|
+
/**
|
|
5
|
+
* Compiled migration WIP under platform_editor_core_non_ecc_static_css
|
|
6
|
+
* Please ensure both styles are updated
|
|
7
|
+
*/
|
|
8
|
+
export declare const FullPageContentArea: typeof FullPageContentAreaCompiled;
|
|
@@ -13,3 +13,10 @@ export declare const textHighlightPaddingStyles: SerializedStyles;
|
|
|
13
13
|
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
14
14
|
*/
|
|
15
15
|
export declare const backgroundColorStyles: SerializedStyles;
|
|
16
|
+
/**
|
|
17
|
+
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
18
|
+
* If you need to make changes here, also update the corresponding style in
|
|
19
|
+
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
20
|
+
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
21
|
+
*/
|
|
22
|
+
export declare const highlightLinksUnsetStyles: SerializedStyles;
|
|
@@ -49,7 +49,7 @@ export declare const expandStylesMixin_fg_platform_editor_nested_dnd_styles_chan
|
|
|
49
49
|
* packages/editor/editor-core/src/ui/EditorContentContainer/EditorContentContainer-compiled.tsx
|
|
50
50
|
* See EDITOR-7600 for more details: https://hello.jira.atlassian.cloud/jira/browse/EDITOR-7600
|
|
51
51
|
*/
|
|
52
|
-
export declare const
|
|
52
|
+
export declare const expandStylesMixin_chromeless_expand_fix: SerializedStyles;
|
|
53
53
|
/**
|
|
54
54
|
* @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_static_css
|
|
55
55
|
* If you need to make changes here, also update the corresponding style in
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "221.3.
|
|
3
|
+
"version": "221.3.2",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"@atlaskit/editor-ssr-renderer": "^7.0.0",
|
|
57
57
|
"@atlaskit/editor-toolbar": "^2.0.0",
|
|
58
58
|
"@atlaskit/editor-toolbar-model": "^1.0.0",
|
|
59
|
-
"@atlaskit/emoji": "^71.
|
|
59
|
+
"@atlaskit/emoji": "^71.5.0",
|
|
60
60
|
"@atlaskit/feature-gate-js-client": "^6.0.0",
|
|
61
61
|
"@atlaskit/icon": "^36.0.0",
|
|
62
62
|
"@atlaskit/link": "^4.0.0",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"@atlaskit/platform-feature-flags-react": "^1.0.0",
|
|
67
67
|
"@atlaskit/react-ufo": "^7.1.0",
|
|
68
68
|
"@atlaskit/task-decision": "^21.2.0",
|
|
69
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
69
|
+
"@atlaskit/tmp-editor-statsig": "^111.0.0",
|
|
70
70
|
"@atlaskit/tokens": "^15.0.0",
|
|
71
71
|
"@atlaskit/tooltip": "^23.0.0",
|
|
72
72
|
"@atlaskit/width-detector": "^6.0.0",
|
|
@@ -103,16 +103,16 @@
|
|
|
103
103
|
"@atlaskit/editor-plugin-annotation": "^12.0.0",
|
|
104
104
|
"@atlaskit/editor-plugin-card": "^18.0.0",
|
|
105
105
|
"@atlaskit/editor-plugin-list": "^14.1.0",
|
|
106
|
-
"@atlaskit/editor-plugin-paste": "^13.
|
|
106
|
+
"@atlaskit/editor-plugin-paste": "^13.2.0",
|
|
107
107
|
"@atlaskit/editor-test-helpers": "workspace:^",
|
|
108
108
|
"@atlaskit/link-provider": "^5.0.0",
|
|
109
|
-
"@atlaskit/linking-common": "^
|
|
109
|
+
"@atlaskit/linking-common": "^11.0.0",
|
|
110
110
|
"@atlaskit/logo": "^21.1.0",
|
|
111
111
|
"@atlaskit/media-core": "^38.0.0",
|
|
112
112
|
"@atlaskit/media-integration-test-helpers": "workspace:^",
|
|
113
113
|
"@atlaskit/media-test-helpers": "^42.0.0",
|
|
114
114
|
"@atlaskit/modal-dialog": "^16.0.0",
|
|
115
|
-
"@atlaskit/popper": "^8.
|
|
115
|
+
"@atlaskit/popper": "^8.1.0",
|
|
116
116
|
"@atlaskit/portal": "^6.0.0",
|
|
117
117
|
"@atlaskit/renderer": "^133.5.0",
|
|
118
118
|
"@atlaskit/section-message": "^9.1.0",
|
|
@@ -122,9 +122,9 @@
|
|
|
122
122
|
"@atlassian/a11y-jest-testing": "^0.12.0",
|
|
123
123
|
"@atlassian/a11y-playwright-testing": "^0.10.0",
|
|
124
124
|
"@atlassian/adf-schema-json": "^1.33.0",
|
|
125
|
-
"@atlassian/editor-rovo-bridge": "^10.
|
|
125
|
+
"@atlassian/editor-rovo-bridge": "^10.2.0",
|
|
126
126
|
"@atlassian/feature-flags-test-utils": "^1.1.0",
|
|
127
|
-
"@atlassian/search-client": "^1.
|
|
127
|
+
"@atlassian/search-client": "^1.17.0",
|
|
128
128
|
"@atlassian/search-provider": "^13.0.0",
|
|
129
129
|
"@atlassian/structured-docs-types": "workspace:^",
|
|
130
130
|
"@atlassian/user-profile-card": "^1.14.0",
|