@atlaskit/editor-core 221.3.1 → 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.
Files changed (45) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/cjs/ui/Appearance/Comment/Comment-compiled.compiled.css +30 -0
  3. package/dist/cjs/ui/Appearance/Comment/Comment-compiled.js +275 -0
  4. package/dist/cjs/ui/Appearance/Comment/Comment-emotion.js +357 -0
  5. package/dist/cjs/ui/Appearance/Comment/Comment.js +6 -344
  6. package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea-compiled.compiled.css +96 -0
  7. package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea-compiled.js +190 -0
  8. package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea-emotion.js +413 -0
  9. package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea.js +10 -402
  10. package/dist/cjs/ui/EditorContentContainer/EditorContentContainer-compiled.js +4 -3
  11. package/dist/cjs/ui/EditorContentContainer/EditorContentContainer-emotion.js +4 -2
  12. package/dist/cjs/ui/EditorContentContainer/styles/backgroundColorStyles.js +17 -6
  13. package/dist/cjs/version-wrapper.js +1 -1
  14. package/dist/es2019/ui/Appearance/Comment/Comment-compiled.compiled.css +30 -0
  15. package/dist/es2019/ui/Appearance/Comment/Comment-compiled.js +262 -0
  16. package/dist/es2019/ui/Appearance/Comment/Comment-emotion.js +344 -0
  17. package/dist/es2019/ui/Appearance/Comment/Comment.js +4 -337
  18. package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea-compiled.compiled.css +96 -0
  19. package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea-compiled.js +179 -0
  20. package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea-emotion.js +405 -0
  21. package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea.js +8 -400
  22. package/dist/es2019/ui/EditorContentContainer/EditorContentContainer-compiled.js +4 -3
  23. package/dist/es2019/ui/EditorContentContainer/EditorContentContainer-emotion.js +5 -3
  24. package/dist/es2019/ui/EditorContentContainer/styles/backgroundColorStyles.js +16 -5
  25. package/dist/es2019/version-wrapper.js +1 -1
  26. package/dist/esm/ui/Appearance/Comment/Comment-compiled.compiled.css +30 -0
  27. package/dist/esm/ui/Appearance/Comment/Comment-compiled.js +268 -0
  28. package/dist/esm/ui/Appearance/Comment/Comment-emotion.js +346 -0
  29. package/dist/esm/ui/Appearance/Comment/Comment.js +6 -339
  30. package/dist/esm/ui/Appearance/FullPage/FullPageContentArea-compiled.compiled.css +96 -0
  31. package/dist/esm/ui/Appearance/FullPage/FullPageContentArea-compiled.js +183 -0
  32. package/dist/esm/ui/Appearance/FullPage/FullPageContentArea-emotion.js +403 -0
  33. package/dist/esm/ui/Appearance/FullPage/FullPageContentArea.js +10 -398
  34. package/dist/esm/ui/EditorContentContainer/EditorContentContainer-compiled.js +4 -3
  35. package/dist/esm/ui/EditorContentContainer/EditorContentContainer-emotion.js +5 -3
  36. package/dist/esm/ui/EditorContentContainer/styles/backgroundColorStyles.js +16 -5
  37. package/dist/esm/version-wrapper.js +1 -1
  38. package/dist/types/ui/Appearance/Comment/Comment-compiled.d.ts +30 -0
  39. package/dist/types/ui/Appearance/Comment/Comment-emotion.d.ts +20 -0
  40. package/dist/types/ui/Appearance/Comment/Comment.d.ts +2 -20
  41. package/dist/types/ui/Appearance/FullPage/FullPageContentArea-compiled.d.ts +56 -0
  42. package/dist/types/ui/Appearance/FullPage/FullPageContentArea-emotion.d.ts +56 -0
  43. package/dist/types/ui/Appearance/FullPage/FullPageContentArea.d.ts +6 -54
  44. package/dist/types/ui/EditorContentContainer/styles/backgroundColorStyles.d.ts +7 -0
  45. package/package.json +4 -4
@@ -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
- export declare const FullPageContentArea: 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 {};
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "221.3.1",
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.4.0",
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",
@@ -103,7 +103,7 @@
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.1.0",
106
+ "@atlaskit/editor-plugin-paste": "^13.2.0",
107
107
  "@atlaskit/editor-test-helpers": "workspace:^",
108
108
  "@atlaskit/link-provider": "^5.0.0",
109
109
  "@atlaskit/linking-common": "^11.0.0",
@@ -112,7 +112,7 @@
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.0.0",
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",