@atlaskit/editor-core 215.21.2 → 215.21.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 CHANGED
@@ -1,5 +1,21 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 215.21.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [`fa963aec58f3d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/fa963aec58f3d) -
8
+ EDITOR-3064 Clean up feature gate platform_editor_split_list_item_for_gap_cursor
9
+ - Updated dependencies
10
+
11
+ ## 215.21.3
12
+
13
+ ### Patch Changes
14
+
15
+ - [`31417f38e1e12`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/31417f38e1e12) -
16
+ Update toolbar experiments configuration
17
+ - Updated dependencies
18
+
3
19
  ## 215.21.2
4
20
 
5
21
  ### Patch Changes
@@ -28,6 +28,9 @@
28
28
  {
29
29
  "path": "../../activity-provider/afm-cc/tsconfig.json"
30
30
  },
31
+ {
32
+ "path": "../../adf-schema/afm-cc/tsconfig.json"
33
+ },
31
34
  {
32
35
  "path": "../../../analytics/analytics-namespaced-context/afm-cc/tsconfig.json"
33
36
  },
@@ -55,6 +58,9 @@
55
58
  {
56
59
  "path": "../../editor-plugins/afm-cc/tsconfig.json"
57
60
  },
61
+ {
62
+ "path": "../../editor-prosemirror/afm-cc/tsconfig.json"
63
+ },
58
64
  {
59
65
  "path": "../../editor-shared-styles/afm-cc/tsconfig.json"
60
66
  },
@@ -28,6 +28,9 @@
28
28
  {
29
29
  "path": "../../activity-provider/afm-jira/tsconfig.json"
30
30
  },
31
+ {
32
+ "path": "../../adf-schema/afm-jira/tsconfig.json"
33
+ },
31
34
  {
32
35
  "path": "../../../analytics/analytics-namespaced-context/afm-jira/tsconfig.json"
33
36
  },
@@ -55,6 +58,9 @@
55
58
  {
56
59
  "path": "../../editor-plugins/afm-jira/tsconfig.json"
57
60
  },
61
+ {
62
+ "path": "../../editor-prosemirror/afm-jira/tsconfig.json"
63
+ },
58
64
  {
59
65
  "path": "../../editor-shared-styles/afm-jira/tsconfig.json"
60
66
  },
@@ -28,6 +28,9 @@
28
28
  {
29
29
  "path": "../../activity-provider/afm-products/tsconfig.json"
30
30
  },
31
+ {
32
+ "path": "../../adf-schema/afm-products/tsconfig.json"
33
+ },
31
34
  {
32
35
  "path": "../../../analytics/analytics-namespaced-context/afm-products/tsconfig.json"
33
36
  },
@@ -55,6 +58,9 @@
55
58
  {
56
59
  "path": "../../editor-plugins/afm-products/tsconfig.json"
57
60
  },
61
+ {
62
+ "path": "../../editor-prosemirror/afm-products/tsconfig.json"
63
+ },
58
64
  {
59
65
  "path": "../../editor-shared-styles/afm-products/tsconfig.json"
60
66
  },
@@ -104,7 +104,7 @@ var FullPageToolbarNext = exports.FullPageToolbarNext = function FullPageToolbar
104
104
  showKeyline: showKeyline || ContextPanelWidth > 0
105
105
  }, beforeIcon && /*#__PURE__*/_react.default.createElement("div", {
106
106
  className: (0, _runtime.ax)([styles.mainToolbarIconBefore, (0, _expValEquals.expValEquals)('platform_editor_toolbar_support_custom_components', 'isEnabled', true) && styles.mainToolbarIconBeforeNew])
107
- }, beforeIcon), (0, _expValEquals.expValEquals)('platform_editor_toolbar_support_custom_components', 'isEnabled', true) ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(FirstChildWrapper, null, toolbarDockingPosition !== 'none' && components && (0, _toolbar2.isToolbar)(toolbar) && (!(0, _expValEquals.expValEquals)('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) || editorView && (!(0, _expValEquals.expValEquals)('platform_editor_hydratable_ui', 'isEnabled', true) || !(0, _coreUtils.isSSR)())) && /*#__PURE__*/_react.default.createElement(_Toolbar.ToolbarNext, {
107
+ }, beforeIcon), (0, _expValEquals.expValEquals)('platform_editor_toolbar_support_custom_components', 'isEnabled', true) ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(FirstChildWrapper, null, toolbarDockingPosition !== 'none' && components && (0, _toolbar2.isToolbar)(toolbar) && (!(0, _expValEquals.expValEquals)('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) || editorView && ((0, _expValEquals.expValEquals)('platform_editor_toolbar_delay_render_fix', 'isEnabled', true) ? !(0, _coreUtils.isSSR)() : !(0, _expValEquals.expValEquals)('platform_editor_hydratable_ui', 'isEnabled', true) || !(0, _coreUtils.isSSR)())) && /*#__PURE__*/_react.default.createElement(_Toolbar.ToolbarNext, {
108
108
  toolbar: toolbar,
109
109
  components: components,
110
110
  editorView: editorView,
@@ -117,7 +117,7 @@ var FullPageToolbarNext = exports.FullPageToolbarNext = function FullPageToolbar
117
117
  }, !!customPrimaryToolbarComponents && 'before' in customPrimaryToolbarComponents && /*#__PURE__*/_react.default.createElement("div", {
118
118
  "data-testid": 'before-primary-toolbar-components-plugin',
119
119
  className: (0, _runtime.ax)([styles.beforePrimaryToolbarComponents])
120
- }, customPrimaryToolbarComponents.before), !!customPrimaryToolbarComponents && 'after' in customPrimaryToolbarComponents ? customPrimaryToolbarComponents.after : customPrimaryToolbarComponents)), (0, _platformFeatureFlags.fg)('platform_editor_toolbar_aifc_patch_7') && /*#__PURE__*/_react.default.createElement(_ToolbarPortal.ToolbarPortalMountPoint, null)) : toolbarDockingPosition !== 'none' && components && (0, _toolbar2.isToolbar)(toolbar) && (!(0, _expValEquals.expValEquals)('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) || editorView && (!(0, _expValEquals.expValEquals)('platform_editor_hydratable_ui', 'isEnabled', true) || !(0, _coreUtils.isSSR)())) && /*#__PURE__*/_react.default.createElement(_Toolbar.ToolbarNext, {
120
+ }, customPrimaryToolbarComponents.before), !!customPrimaryToolbarComponents && 'after' in customPrimaryToolbarComponents ? customPrimaryToolbarComponents.after : customPrimaryToolbarComponents)), (0, _platformFeatureFlags.fg)('platform_editor_toolbar_aifc_patch_7') && /*#__PURE__*/_react.default.createElement(_ToolbarPortal.ToolbarPortalMountPoint, null)) : toolbarDockingPosition !== 'none' && components && (0, _toolbar2.isToolbar)(toolbar) && (!(0, _expValEquals.expValEquals)('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) || editorView && ((0, _expValEquals.expValEquals)('platform_editor_toolbar_delay_render_fix', 'isEnabled', true) ? !(0, _coreUtils.isSSR)() : !(0, _expValEquals.expValEquals)('platform_editor_hydratable_ui', 'isEnabled', true) || !(0, _coreUtils.isSSR)())) && /*#__PURE__*/_react.default.createElement(_Toolbar.ToolbarNext, {
121
121
  toolbar: toolbar,
122
122
  components: components,
123
123
  editorView: editorView,
@@ -5,4 +5,4 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.version = exports.name = void 0;
7
7
  var name = exports.name = "@atlaskit/editor-core";
8
- var version = exports.version = "215.21.1";
8
+ var version = exports.version = "215.21.3";
@@ -99,7 +99,7 @@ export const FullPageToolbarNext = ({
99
99
  showKeyline: showKeyline || ContextPanelWidth > 0
100
100
  }, beforeIcon && /*#__PURE__*/React.createElement("div", {
101
101
  className: ax([styles.mainToolbarIconBefore, expValEquals('platform_editor_toolbar_support_custom_components', 'isEnabled', true) && styles.mainToolbarIconBeforeNew])
102
- }, beforeIcon), expValEquals('platform_editor_toolbar_support_custom_components', 'isEnabled', true) ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(FirstChildWrapper, null, toolbarDockingPosition !== 'none' && components && isToolbar(toolbar) && (!expValEquals('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) || editorView && (!expValEquals('platform_editor_hydratable_ui', 'isEnabled', true) || !isSSR())) && /*#__PURE__*/React.createElement(ToolbarNext, {
102
+ }, beforeIcon), expValEquals('platform_editor_toolbar_support_custom_components', 'isEnabled', true) ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(FirstChildWrapper, null, toolbarDockingPosition !== 'none' && components && isToolbar(toolbar) && (!expValEquals('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) || editorView && (expValEquals('platform_editor_toolbar_delay_render_fix', 'isEnabled', true) ? !isSSR() : !expValEquals('platform_editor_hydratable_ui', 'isEnabled', true) || !isSSR())) && /*#__PURE__*/React.createElement(ToolbarNext, {
103
103
  toolbar: toolbar,
104
104
  components: components,
105
105
  editorView: editorView,
@@ -112,7 +112,7 @@ export const FullPageToolbarNext = ({
112
112
  }, !!customPrimaryToolbarComponents && 'before' in customPrimaryToolbarComponents && /*#__PURE__*/React.createElement("div", {
113
113
  "data-testid": 'before-primary-toolbar-components-plugin',
114
114
  className: ax([styles.beforePrimaryToolbarComponents])
115
- }, customPrimaryToolbarComponents.before), !!customPrimaryToolbarComponents && 'after' in customPrimaryToolbarComponents ? customPrimaryToolbarComponents.after : customPrimaryToolbarComponents)), fg('platform_editor_toolbar_aifc_patch_7') && /*#__PURE__*/React.createElement(ToolbarPortalMountPoint, null)) : toolbarDockingPosition !== 'none' && components && isToolbar(toolbar) && (!expValEquals('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) || editorView && (!expValEquals('platform_editor_hydratable_ui', 'isEnabled', true) || !isSSR())) && /*#__PURE__*/React.createElement(ToolbarNext, {
115
+ }, customPrimaryToolbarComponents.before), !!customPrimaryToolbarComponents && 'after' in customPrimaryToolbarComponents ? customPrimaryToolbarComponents.after : customPrimaryToolbarComponents)), fg('platform_editor_toolbar_aifc_patch_7') && /*#__PURE__*/React.createElement(ToolbarPortalMountPoint, null)) : toolbarDockingPosition !== 'none' && components && isToolbar(toolbar) && (!expValEquals('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) || editorView && (expValEquals('platform_editor_toolbar_delay_render_fix', 'isEnabled', true) ? !isSSR() : !expValEquals('platform_editor_hydratable_ui', 'isEnabled', true) || !isSSR())) && /*#__PURE__*/React.createElement(ToolbarNext, {
116
116
  toolbar: toolbar,
117
117
  components: components,
118
118
  editorView: editorView,
@@ -1,2 +1,2 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "215.21.1";
2
+ export const version = "215.21.3";
@@ -96,7 +96,7 @@ export var FullPageToolbarNext = function FullPageToolbarNext(_ref4) {
96
96
  showKeyline: showKeyline || ContextPanelWidth > 0
97
97
  }, beforeIcon && /*#__PURE__*/React.createElement("div", {
98
98
  className: ax([styles.mainToolbarIconBefore, expValEquals('platform_editor_toolbar_support_custom_components', 'isEnabled', true) && styles.mainToolbarIconBeforeNew])
99
- }, beforeIcon), expValEquals('platform_editor_toolbar_support_custom_components', 'isEnabled', true) ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(FirstChildWrapper, null, toolbarDockingPosition !== 'none' && components && isToolbar(toolbar) && (!expValEquals('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) || editorView && (!expValEquals('platform_editor_hydratable_ui', 'isEnabled', true) || !isSSR())) && /*#__PURE__*/React.createElement(ToolbarNext, {
99
+ }, beforeIcon), expValEquals('platform_editor_toolbar_support_custom_components', 'isEnabled', true) ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(FirstChildWrapper, null, toolbarDockingPosition !== 'none' && components && isToolbar(toolbar) && (!expValEquals('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) || editorView && (expValEquals('platform_editor_toolbar_delay_render_fix', 'isEnabled', true) ? !isSSR() : !expValEquals('platform_editor_hydratable_ui', 'isEnabled', true) || !isSSR())) && /*#__PURE__*/React.createElement(ToolbarNext, {
100
100
  toolbar: toolbar,
101
101
  components: components,
102
102
  editorView: editorView,
@@ -109,7 +109,7 @@ export var FullPageToolbarNext = function FullPageToolbarNext(_ref4) {
109
109
  }, !!customPrimaryToolbarComponents && 'before' in customPrimaryToolbarComponents && /*#__PURE__*/React.createElement("div", {
110
110
  "data-testid": 'before-primary-toolbar-components-plugin',
111
111
  className: ax([styles.beforePrimaryToolbarComponents])
112
- }, customPrimaryToolbarComponents.before), !!customPrimaryToolbarComponents && 'after' in customPrimaryToolbarComponents ? customPrimaryToolbarComponents.after : customPrimaryToolbarComponents)), fg('platform_editor_toolbar_aifc_patch_7') && /*#__PURE__*/React.createElement(ToolbarPortalMountPoint, null)) : toolbarDockingPosition !== 'none' && components && isToolbar(toolbar) && (!expValEquals('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) || editorView && (!expValEquals('platform_editor_hydratable_ui', 'isEnabled', true) || !isSSR())) && /*#__PURE__*/React.createElement(ToolbarNext, {
112
+ }, customPrimaryToolbarComponents.before), !!customPrimaryToolbarComponents && 'after' in customPrimaryToolbarComponents ? customPrimaryToolbarComponents.after : customPrimaryToolbarComponents)), fg('platform_editor_toolbar_aifc_patch_7') && /*#__PURE__*/React.createElement(ToolbarPortalMountPoint, null)) : toolbarDockingPosition !== 'none' && components && isToolbar(toolbar) && (!expValEquals('platform_editor_toolbar_aifc_patch_3', 'isEnabled', true) || editorView && (expValEquals('platform_editor_toolbar_delay_render_fix', 'isEnabled', true) ? !isSSR() : !expValEquals('platform_editor_hydratable_ui', 'isEnabled', true) || !isSSR())) && /*#__PURE__*/React.createElement(ToolbarNext, {
113
113
  toolbar: toolbar,
114
114
  components: components,
115
115
  editorView: editorView,
@@ -1,2 +1,2 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "215.21.1";
2
+ export var version = "215.21.3";
@@ -51,6 +51,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
51
51
  }, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"syncedBlock", {
52
52
  actions: {
53
53
  flushBodiedSyncBlocks: () => Promise<boolean>;
54
+ flushSyncedBlocks: () => Promise<boolean>;
54
55
  };
55
56
  commands: {
56
57
  copySyncedBlockReferenceToClipboard: () => import("@atlaskit/editor-common/types").EditorCommand;
@@ -124,6 +124,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
124
124
  }, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"syncedBlock", {
125
125
  actions: {
126
126
  flushBodiedSyncBlocks: () => Promise<boolean>;
127
+ flushSyncedBlocks: () => Promise<boolean>;
127
128
  };
128
129
  commands: {
129
130
  copySyncedBlockReferenceToClipboard: () => import("@atlaskit/editor-common/types").EditorCommand;
@@ -51,6 +51,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
51
51
  }, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"syncedBlock", {
52
52
  actions: {
53
53
  flushBodiedSyncBlocks: () => Promise<boolean>;
54
+ flushSyncedBlocks: () => Promise<boolean>;
54
55
  };
55
56
  commands: {
56
57
  copySyncedBlockReferenceToClipboard: () => import("@atlaskit/editor-common/types").EditorCommand;
@@ -149,6 +149,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
149
149
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"syncedBlock", {
150
150
  actions: {
151
151
  flushBodiedSyncBlocks: () => Promise<boolean>;
152
+ flushSyncedBlocks: () => Promise<boolean>;
152
153
  };
153
154
  commands: {
154
155
  copySyncedBlockReferenceToClipboard: () => import("@atlaskit/editor-common/types").EditorCommand;
@@ -222,6 +222,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
222
222
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"syncedBlock", {
223
223
  actions: {
224
224
  flushBodiedSyncBlocks: () => Promise<boolean>;
225
+ flushSyncedBlocks: () => Promise<boolean>;
225
226
  };
226
227
  commands: {
227
228
  copySyncedBlockReferenceToClipboard: () => import("@atlaskit/editor-common/types").EditorCommand;
@@ -149,6 +149,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
149
149
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"syncedBlock", {
150
150
  actions: {
151
151
  flushBodiedSyncBlocks: () => Promise<boolean>;
152
+ flushSyncedBlocks: () => Promise<boolean>;
152
153
  };
153
154
  commands: {
154
155
  copySyncedBlockReferenceToClipboard: () => import("@atlaskit/editor-common/types").EditorCommand;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "215.21.2",
3
+ "version": "215.21.4",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -39,7 +39,7 @@
39
39
  },
40
40
  "dependencies": {
41
41
  "@atlaskit/activity-provider": "^2.5.0",
42
- "@atlaskit/adf-schema": "^51.5.1",
42
+ "@atlaskit/adf-schema": "^51.5.0",
43
43
  "@atlaskit/afm-i18n-platform-editor-editor-core": "2.10.0",
44
44
  "@atlaskit/analytics-namespaced-context": "^7.2.0",
45
45
  "@atlaskit/analytics-next": "^11.1.0",
@@ -51,21 +51,21 @@
51
51
  "@atlaskit/editor-plugin-quick-insert": "^6.1.0",
52
52
  "@atlaskit/editor-plugin-user-preferences": "^4.0.0",
53
53
  "@atlaskit/editor-plugins": "^11.1.0",
54
- "@atlaskit/editor-prosemirror": "7.0.0",
54
+ "@atlaskit/editor-prosemirror": "^7.2.0",
55
55
  "@atlaskit/editor-shared-styles": "^3.10.0",
56
56
  "@atlaskit/editor-ssr-renderer": "^1.3.0",
57
57
  "@atlaskit/editor-toolbar": "^0.18.0",
58
58
  "@atlaskit/editor-toolbar-model": "^0.2.0",
59
59
  "@atlaskit/emoji": "^69.9.0",
60
- "@atlaskit/icon": "^29.0.0",
60
+ "@atlaskit/icon": "^29.1.0",
61
61
  "@atlaskit/link": "^3.2.0",
62
62
  "@atlaskit/media-card": "^79.10.0",
63
63
  "@atlaskit/mention": "^24.4.0",
64
64
  "@atlaskit/platform-feature-flags": "^1.1.0",
65
65
  "@atlaskit/platform-feature-flags-react": "^0.4.0",
66
- "@atlaskit/react-ufo": "^4.15.0",
66
+ "@atlaskit/react-ufo": "^4.16.0",
67
67
  "@atlaskit/task-decision": "^19.2.0",
68
- "@atlaskit/tmp-editor-statsig": "^15.9.0",
68
+ "@atlaskit/tmp-editor-statsig": "^15.10.0",
69
69
  "@atlaskit/tokens": "^8.4.0",
70
70
  "@atlaskit/tooltip": "^20.11.0",
71
71
  "@atlaskit/width-detector": "^5.0.0",
@@ -82,7 +82,7 @@
82
82
  "uuid": "^3.1.0"
83
83
  },
84
84
  "peerDependencies": {
85
- "@atlaskit/editor-common": "^110.41.0",
85
+ "@atlaskit/editor-common": "^110.42.0",
86
86
  "@atlaskit/link-provider": "^4.0.0",
87
87
  "@atlaskit/media-core": "^37.0.0",
88
88
  "react": "^18.2.0",
@@ -105,12 +105,12 @@
105
105
  "@atlaskit/media-integration-test-helpers": "workspace:^",
106
106
  "@atlaskit/media-test-helpers": "^39.0.0",
107
107
  "@atlaskit/modal-dialog": "^14.8.0",
108
- "@atlaskit/renderer": "^124.18.0",
108
+ "@atlaskit/renderer": "^124.19.0",
109
109
  "@atlaskit/section-message": "^8.10.0",
110
110
  "@atlaskit/synchrony-test-helpers": "workspace:^",
111
111
  "@atlaskit/toggle": "^15.2.0",
112
112
  "@atlaskit/util-data-test": "^18.3.0",
113
- "@atlassian/adf-schema-json": "^1.31.0",
113
+ "@atlassian/adf-schema-json": "^1.33.0",
114
114
  "@atlassian/feature-flags-test-utils": "^1.0.0",
115
115
  "@atlassian/search-provider": "^7.0.0",
116
116
  "@emotion/jest": "^11.8.0",
@@ -263,10 +263,6 @@
263
263
  "type": "boolean",
264
264
  "referenceOnly": true
265
265
  },
266
- "platform_editor_split_list_item_for_gap_cursor": {
267
- "type": "boolean",
268
- "referenceOnly": true
269
- },
270
266
  "platform_editor_paste_full_table_inside_empty_cell": {
271
267
  "type": "boolean",
272
268
  "referenceOnly": true