@atlaskit/editor-core 194.4.0 → 194.5.0

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,26 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 194.5.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#124190](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/124190)
8
+ [`9ab9c4ca2b9df`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9ab9c4ca2b9df) -
9
+ Clean-up platform.editor.refactor-highlight-toolbar_mo0pj feature flag
10
+ - [#124209](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/124209)
11
+ [`8aa1792f12ed3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8aa1792f12ed3) -
12
+ bump @atlaskit/editor-prosemirror to 5.0.0, bump @atlaskit/adf-schema to 40.1.0
13
+
14
+ ### Patch Changes
15
+
16
+ - [#123552](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/123552)
17
+ [`ee13728534201`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ee13728534201) -
18
+ Update feature gate for editor-core editor-plugins
19
+ - [#122783](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/122783)
20
+ [`c64ead15aa9d7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c64ead15aa9d7) -
21
+ [ux] Enabled table alignment in comment editor
22
+ - Updated dependencies
23
+
3
24
  ## 194.4.0
4
25
 
5
26
  ### Minor Changes
@@ -140,7 +140,7 @@ function createUniversalPreset(appearance, props, featureFlags, prevAppearance,
140
140
  fullWidthEnabled: appearance === 'full-width',
141
141
  wasFullWidthEnabled: prevAppearance && prevAppearance === 'full-width',
142
142
  getEditorFeatureFlags: getEditorFeatureFlags,
143
- isTableAlignmentEnabled: (0, _platformFeatureFlags.fg)('platform.editor.table.allow-table-alignment') && isFullPage,
143
+ isTableAlignmentEnabled: (0, _platformFeatureFlags.fg)('platform.editor.table.allow-table-alignment') && (isFullPage || isComment && (0, _platformFeatureFlags.fg)('platform_editor_table_support_in_comment')),
144
144
  isNewColumnResizingEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableNewColumnResizing) && isFullPage,
145
145
  isCommentEditor: isComment
146
146
  }], Boolean(props.allowTables)).maybeAdd([_tasksAndDecisions.tasksAndDecisionsPlugin, {
@@ -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 = "194.4.0";
8
+ var version = exports.version = "194.5.0";
@@ -129,7 +129,7 @@ export default function createUniversalPreset(appearance, props, featureFlags, p
129
129
  fullWidthEnabled: appearance === 'full-width',
130
130
  wasFullWidthEnabled: prevAppearance && prevAppearance === 'full-width',
131
131
  getEditorFeatureFlags,
132
- isTableAlignmentEnabled: fg('platform.editor.table.allow-table-alignment') && isFullPage,
132
+ isTableAlignmentEnabled: fg('platform.editor.table.allow-table-alignment') && (isFullPage || isComment && fg('platform_editor_table_support_in_comment')),
133
133
  isNewColumnResizingEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableNewColumnResizing) && isFullPage,
134
134
  isCommentEditor: isComment
135
135
  }], Boolean(props.allowTables)).maybeAdd([tasksAndDecisionsPlugin, {
@@ -1,2 +1,2 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "194.4.0";
2
+ export const version = "194.5.0";
@@ -132,7 +132,7 @@ export default function createUniversalPreset(appearance, props, featureFlags, p
132
132
  fullWidthEnabled: appearance === 'full-width',
133
133
  wasFullWidthEnabled: prevAppearance && prevAppearance === 'full-width',
134
134
  getEditorFeatureFlags: getEditorFeatureFlags,
135
- isTableAlignmentEnabled: fg('platform.editor.table.allow-table-alignment') && isFullPage,
135
+ isTableAlignmentEnabled: fg('platform.editor.table.allow-table-alignment') && (isFullPage || isComment && fg('platform_editor_table_support_in_comment')),
136
136
  isNewColumnResizingEnabled: (featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.tableNewColumnResizing) && isFullPage,
137
137
  isCommentEditor: isComment
138
138
  }], Boolean(props.allowTables)).maybeAdd([tasksAndDecisionsPlugin, {
@@ -1,2 +1,2 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "194.4.0";
2
+ export var version = "194.5.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "194.4.0",
3
+ "version": "194.5.0",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -45,9 +45,9 @@
45
45
  "@atlaskit/analytics-next": "^9.3.0",
46
46
  "@atlaskit/analytics-next-stable-react-context": "1.0.1",
47
47
  "@atlaskit/button": "^19.1.0",
48
- "@atlaskit/editor-common": "^86.7.0",
49
- "@atlaskit/editor-plugins": "^3.4.0",
50
- "@atlaskit/editor-prosemirror": "4.0.1",
48
+ "@atlaskit/editor-common": "^86.8.0",
49
+ "@atlaskit/editor-plugins": "^3.5.0",
50
+ "@atlaskit/editor-prosemirror": "5.0.1",
51
51
  "@atlaskit/editor-shared-styles": "^2.13.0",
52
52
  "@atlaskit/emoji": "^67.6.0",
53
53
  "@atlaskit/icon": "^22.7.0",
@@ -80,18 +80,18 @@
80
80
  "react-intl-next": "npm:react-intl@^5.18.1"
81
81
  },
82
82
  "devDependencies": {
83
- "@af/editor-examples-helpers": "0.0.18",
83
+ "@af/editor-examples-helpers": "0.1.0",
84
84
  "@af/editor-libra": "*",
85
85
  "@af/visual-regression": "*",
86
- "@atlaskit/adf-utils": "^19.5.0",
86
+ "@atlaskit/adf-utils": "^19.6.0",
87
87
  "@atlaskit/analytics-listeners": "^8.10.0",
88
- "@atlaskit/collab-provider": "9.35.0",
89
- "@atlaskit/editor-json-transformer": "^8.16.0",
90
- "@atlaskit/editor-plugin-annotation": "1.17.0",
91
- "@atlaskit/editor-plugin-card": "^2.7.0",
92
- "@atlaskit/editor-plugin-editor-viewmode": "^2.0.0",
93
- "@atlaskit/editor-plugin-list": "^3.6.0",
94
- "@atlaskit/editor-plugin-paste": "^1.6.0",
88
+ "@atlaskit/collab-provider": "9.36.0",
89
+ "@atlaskit/editor-json-transformer": "^8.17.0",
90
+ "@atlaskit/editor-plugin-annotation": "1.18.0",
91
+ "@atlaskit/editor-plugin-card": "^2.8.0",
92
+ "@atlaskit/editor-plugin-editor-viewmode": "^2.1.0",
93
+ "@atlaskit/editor-plugin-list": "^3.7.0",
94
+ "@atlaskit/editor-plugin-paste": "^1.7.0",
95
95
  "@atlaskit/editor-test-helpers": "*",
96
96
  "@atlaskit/link-provider": "^1.13.0",
97
97
  "@atlaskit/logo": "^14.1.0",
@@ -99,10 +99,10 @@
99
99
  "@atlaskit/media-integration-test-helpers": "^3.0.0",
100
100
  "@atlaskit/media-test-helpers": "^34.0.0",
101
101
  "@atlaskit/modal-dialog": "^12.14.0",
102
- "@atlaskit/primitives": "^11.0.0",
103
- "@atlaskit/renderer": "^109.43.0",
104
- "@atlaskit/smart-card": "^27.10.0",
105
- "@atlaskit/synchrony-test-helpers": "^2.4.0",
102
+ "@atlaskit/primitives": "^11.1.0",
103
+ "@atlaskit/renderer": "^109.44.0",
104
+ "@atlaskit/smart-card": "^27.11.0",
105
+ "@atlaskit/synchrony-test-helpers": "^2.5.0",
106
106
  "@atlaskit/toggle": "^13.2.0",
107
107
  "@atlaskit/util-data-test": "^17.9.0",
108
108
  "@atlaskit/visual-regression": "*",
@@ -277,10 +277,6 @@
277
277
  "platform.editor.core.increase-full-page-guttering": {
278
278
  "type": "boolean"
279
279
  },
280
- "platform.editor.refactor-highlight-toolbar_mo0pj": {
281
- "type": "boolean",
282
- "referenceOnly": "true"
283
- },
284
280
  "platform.editor.no-telecursors-for-viewmode-users_hok8o": {
285
281
  "type": "boolean",
286
282
  "referenceOnly": "true"
@@ -340,6 +336,10 @@
340
336
  "platform_editor_migration_icon_and_typography": {
341
337
  "type": "boolean",
342
338
  "referenceOnly": true
339
+ },
340
+ "platform_editor_element_drag_and_drop_ed_24372": {
341
+ "type": "boolean",
342
+ "referenceOnly": true
343
343
  }
344
344
  },
345
345
  "stricter": {