@atlaskit/editor-core 221.5.0 → 221.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/cjs/create-editor/ReactEditorView.js +6 -0
  3. package/dist/cjs/ui/Appearance/Comment/Comment-compiled.compiled.css +30 -0
  4. package/dist/cjs/ui/Appearance/Comment/Comment-compiled.js +275 -0
  5. package/dist/cjs/ui/Appearance/Comment/Comment-emotion.js +357 -0
  6. package/dist/cjs/ui/Appearance/Comment/Comment.js +6 -344
  7. package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea-compiled.compiled.css +97 -0
  8. package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea-compiled.js +191 -0
  9. package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea-emotion.js +428 -0
  10. package/dist/cjs/ui/Appearance/FullPage/FullPageContentArea.js +10 -417
  11. package/dist/cjs/ui/Appearance/FullPage/StyledComponents.js +19 -18
  12. package/dist/cjs/version-wrapper.js +1 -1
  13. package/dist/es2019/create-editor/ReactEditorView.js +6 -0
  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 +97 -0
  19. package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea-compiled.js +180 -0
  20. package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea-emotion.js +420 -0
  21. package/dist/es2019/ui/Appearance/FullPage/FullPageContentArea.js +8 -415
  22. package/dist/es2019/ui/Appearance/FullPage/StyledComponents.js +18 -17
  23. package/dist/es2019/version-wrapper.js +1 -1
  24. package/dist/esm/create-editor/ReactEditorView.js +6 -0
  25. package/dist/esm/ui/Appearance/Comment/Comment-compiled.compiled.css +30 -0
  26. package/dist/esm/ui/Appearance/Comment/Comment-compiled.js +268 -0
  27. package/dist/esm/ui/Appearance/Comment/Comment-emotion.js +346 -0
  28. package/dist/esm/ui/Appearance/Comment/Comment.js +6 -339
  29. package/dist/esm/ui/Appearance/FullPage/FullPageContentArea-compiled.compiled.css +97 -0
  30. package/dist/esm/ui/Appearance/FullPage/FullPageContentArea-compiled.js +184 -0
  31. package/dist/esm/ui/Appearance/FullPage/FullPageContentArea-emotion.js +418 -0
  32. package/dist/esm/ui/Appearance/FullPage/FullPageContentArea.js +10 -413
  33. package/dist/esm/ui/Appearance/FullPage/StyledComponents.js +18 -17
  34. package/dist/esm/version-wrapper.js +1 -1
  35. package/dist/types/ui/Appearance/Comment/Comment-compiled.d.ts +30 -0
  36. package/dist/types/ui/Appearance/Comment/Comment-emotion.d.ts +20 -0
  37. package/dist/types/ui/Appearance/Comment/Comment.d.ts +2 -20
  38. package/dist/types/ui/Appearance/FullPage/FullPageContentArea-compiled.d.ts +56 -0
  39. package/dist/types/ui/Appearance/FullPage/FullPageContentArea-emotion.d.ts +56 -0
  40. package/dist/types/ui/Appearance/FullPage/FullPageContentArea.d.ts +6 -54
  41. package/dist/types/ui/Appearance/FullPage/StyledComponents.d.ts +15 -1
  42. package/package.json +9 -6
@@ -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;
@@ -1,5 +1,19 @@
1
1
  import type { SerializedStyles } from '@emotion/react';
2
+ /**
3
+ * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_non_ecc_static_css
4
+ * If you need to make changes here, also update the corresponding style in
5
+ * packages/editor/editor-core/src/ui/Appearance/FullPage/FullPage-compiled.tsx
6
+ */
2
7
  export declare const fullPageEditorWrapper: SerializedStyles;
8
+ /**
9
+ * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_non_ecc_static_css
10
+ * If you need to make changes here, also update the corresponding style in
11
+ * packages/editor/editor-core/src/ui/Appearance/FullPage/FullPageContentArea-compiled.tsx
12
+ */
3
13
  export declare const contentAreaWrapper: SerializedStyles;
14
+ /**
15
+ * @deprecated This style has been migrated to Compiled CSS, under experiment platform_editor_core_non_ecc_static_css
16
+ * If you need to make changes here, also update the corresponding style in
17
+ * packages/editor/editor-core/src/ui/Appearance/FullPage/FullPageContentArea-compiled.tsx
18
+ */
4
19
  export declare const sidebarArea: SerializedStyles;
5
- export declare const editorContentAreaHideContainer: SerializedStyles;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "221.5.0",
3
+ "version": "221.5.2",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -43,7 +43,7 @@
43
43
  "@atlaskit/analytics-namespaced-context": "^8.1.0",
44
44
  "@atlaskit/analytics-next": "^12.1.0",
45
45
  "@atlaskit/analytics-next-stable-react-context": "1.0.1",
46
- "@atlaskit/button": "^24.2.0",
46
+ "@atlaskit/button": "^24.3.0",
47
47
  "@atlaskit/css": "^1.0.0",
48
48
  "@atlaskit/editor-json-transformer": "^9.0.0",
49
49
  "@atlaskit/editor-performance-metrics": "^3.1.0",
@@ -67,8 +67,8 @@
67
67
  "@atlaskit/react-compiler-gating": "^0.2.0",
68
68
  "@atlaskit/react-ufo": "^7.3.0",
69
69
  "@atlaskit/task-decision": "^21.4.0",
70
- "@atlaskit/tmp-editor-statsig": "^114.0.0",
71
- "@atlaskit/tokens": "^15.1.0",
70
+ "@atlaskit/tmp-editor-statsig": "^114.4.0",
71
+ "@atlaskit/tokens": "^15.2.0",
72
72
  "@atlaskit/tooltip": "^23.1.0",
73
73
  "@atlaskit/width-detector": "^6.1.0",
74
74
  "@babel/runtime": "^7.0.0",
@@ -85,7 +85,7 @@
85
85
  "uuid": "^3.1.0"
86
86
  },
87
87
  "peerDependencies": {
88
- "@atlaskit/editor-common": "^116.15.0",
88
+ "@atlaskit/editor-common": "^116.17.0",
89
89
  "@atlaskit/link-provider": "^5.1.0",
90
90
  "@atlaskit/media-core": "^38.0.0",
91
91
  "react": "^18.2.0",
@@ -124,7 +124,7 @@
124
124
  "@atlassian/adf-schema-json": "^1.33.0",
125
125
  "@atlassian/editor-rovo-bridge": "^10.2.0",
126
126
  "@atlassian/feature-flags-test-utils": "^1.1.0",
127
- "@atlassian/search-client": "^1.19.0",
127
+ "@atlassian/search-client": "^1.21.0",
128
128
  "@atlassian/search-provider": "^13.0.0",
129
129
  "@atlassian/structured-docs-types": "workspace:^",
130
130
  "@atlassian/user-profile-card": "^1.15.0",
@@ -167,6 +167,9 @@
167
167
  "platform_editor_reconfigure_filter_plugins": {
168
168
  "type": "boolean"
169
169
  },
170
+ "platform_editor_reconfigure_reconcile_plugin_api": {
171
+ "type": "boolean"
172
+ },
170
173
  "platform_editor_md_mvp_layout": {
171
174
  "type": "boolean"
172
175
  },