@atlaskit/editor-core 193.14.8 → 193.15.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,19 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 193.15.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#98696](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/98696)
8
+ [`08cf50e592b6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/08cf50e592b6) -
9
+ Added Table Alignment Feature Flag
10
+
11
+ ### Patch Changes
12
+
13
+ - [#97599](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97599)
14
+ [`32c3130b08fe`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c3130b08fe) -
15
+ [ED-22282] Bump adf-schema to 36.1.0
16
+
3
17
  ## 193.14.8
4
18
 
5
19
  ### Patch Changes
@@ -133,7 +133,8 @@ function createUniversalPreset(appearance, props, featureFlags, prevAppearance,
133
133
  allowContextualMenu: !isMobile,
134
134
  fullWidthEnabled: appearance === 'full-width',
135
135
  wasFullWidthEnabled: prevAppearance && prevAppearance === 'full-width',
136
- getEditorFeatureFlags: getEditorFeatureFlags
136
+ getEditorFeatureFlags: getEditorFeatureFlags,
137
+ isTableAlignmentEnabled: (0, _platformFeatureFlags.getBooleanFF)('platform.editor.table.allow-table-alignment') && isFullPage
137
138
  }], Boolean(props.allowTables)).maybeAdd([_tasksAndDecisions.tasksAndDecisionsPlugin, {
138
139
  allowNestedTasks: props.allowNestedTasks,
139
140
  consumeTabs: isFullPage,
@@ -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 = "193.14.8";
8
+ var version = exports.version = "193.15.0";
@@ -122,7 +122,8 @@ export default function createUniversalPreset(appearance, props, featureFlags, p
122
122
  allowContextualMenu: !isMobile,
123
123
  fullWidthEnabled: appearance === 'full-width',
124
124
  wasFullWidthEnabled: prevAppearance && prevAppearance === 'full-width',
125
- getEditorFeatureFlags
125
+ getEditorFeatureFlags,
126
+ isTableAlignmentEnabled: getBooleanFF('platform.editor.table.allow-table-alignment') && isFullPage
126
127
  }], Boolean(props.allowTables)).maybeAdd([tasksAndDecisionsPlugin, {
127
128
  allowNestedTasks: props.allowNestedTasks,
128
129
  consumeTabs: isFullPage,
@@ -1,2 +1,2 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "193.14.8";
2
+ export const version = "193.15.0";
@@ -125,7 +125,8 @@ export default function createUniversalPreset(appearance, props, featureFlags, p
125
125
  allowContextualMenu: !isMobile,
126
126
  fullWidthEnabled: appearance === 'full-width',
127
127
  wasFullWidthEnabled: prevAppearance && prevAppearance === 'full-width',
128
- getEditorFeatureFlags: getEditorFeatureFlags
128
+ getEditorFeatureFlags: getEditorFeatureFlags,
129
+ isTableAlignmentEnabled: getBooleanFF('platform.editor.table.allow-table-alignment') && isFullPage
129
130
  }], Boolean(props.allowTables)).maybeAdd([tasksAndDecisionsPlugin, {
130
131
  allowNestedTasks: props.allowNestedTasks,
131
132
  consumeTabs: isFullPage,
@@ -1,2 +1,2 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "193.14.8";
2
+ export var version = "193.15.0";
@@ -826,6 +826,9 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
826
826
  }>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"insertBlock", {
827
827
  pluginConfiguration: import("@atlaskit/editor-plugin-insert-block").InsertBlockOptions | undefined;
828
828
  dependencies: import("@atlaskit/editor-plugin-insert-block").InsertBlockPluginDependencies;
829
+ actions: {
830
+ toggleAdditionalMenu: () => void;
831
+ };
829
832
  }, import("@atlaskit/editor-plugin-insert-block").InsertBlockOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"toolbarListsIndentation", {
830
833
  pluginConfiguration: {
831
834
  showIndentationButtons: boolean;
@@ -843,6 +843,9 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
843
843
  }>>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"insertBlock", {
844
844
  pluginConfiguration: import("@atlaskit/editor-plugins/insert-block").InsertBlockOptions | undefined;
845
845
  dependencies: import("@atlaskit/editor-plugins/insert-block").InsertBlockPluginDependencies;
846
+ actions: {
847
+ toggleAdditionalMenu: () => void;
848
+ };
846
849
  }, import("@atlaskit/editor-plugins/insert-block").InsertBlockOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"toolbarListsIndentation", {
847
850
  pluginConfiguration: {
848
851
  showIndentationButtons: boolean;
@@ -829,6 +829,9 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
829
829
  }>>, import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"insertBlock", {
830
830
  pluginConfiguration: import("@atlaskit/editor-plugin-insert-block").InsertBlockOptions | undefined;
831
831
  dependencies: import("@atlaskit/editor-plugin-insert-block").InsertBlockPluginDependencies;
832
+ actions: {
833
+ toggleAdditionalMenu: () => void;
834
+ };
832
835
  }, import("@atlaskit/editor-plugin-insert-block").InsertBlockOptions | undefined>, import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"toolbarListsIndentation", {
833
836
  pluginConfiguration: {
834
837
  showIndentationButtons: boolean;
@@ -1084,6 +1084,9 @@ export declare function createPreset(props: EditorProps, prevProps?: EditorProps
1084
1084
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"insertBlock", {
1085
1085
  pluginConfiguration: import("@atlaskit/editor-plugin-insert-block").InsertBlockOptions | undefined;
1086
1086
  dependencies: import("@atlaskit/editor-plugin-insert-block").InsertBlockPluginDependencies;
1087
+ actions: {
1088
+ toggleAdditionalMenu: () => void;
1089
+ };
1087
1090
  }, import("@atlaskit/editor-plugin-insert-block").InsertBlockOptions | undefined>,
1088
1091
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"toolbarListsIndentation", {
1089
1092
  pluginConfiguration: {
@@ -1101,6 +1101,9 @@ export default function createUniversalPreset(appearance: EditorAppearance | und
1101
1101
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"insertBlock", {
1102
1102
  pluginConfiguration: import("@atlaskit/editor-plugins/insert-block").InsertBlockOptions | undefined;
1103
1103
  dependencies: import("@atlaskit/editor-plugins/insert-block").InsertBlockPluginDependencies;
1104
+ actions: {
1105
+ toggleAdditionalMenu: () => void;
1106
+ };
1104
1107
  }, import("@atlaskit/editor-plugins/insert-block").InsertBlockOptions | undefined>,
1105
1108
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"toolbarListsIndentation", {
1106
1109
  pluginConfiguration: {
@@ -1087,6 +1087,9 @@ export default function useUniversalPreset({ props }: PresetProps): import("@atl
1087
1087
  import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"insertBlock", {
1088
1088
  pluginConfiguration: import("@atlaskit/editor-plugin-insert-block").InsertBlockOptions | undefined;
1089
1089
  dependencies: import("@atlaskit/editor-plugin-insert-block").InsertBlockPluginDependencies;
1090
+ actions: {
1091
+ toggleAdditionalMenu: () => void;
1092
+ };
1090
1093
  }, import("@atlaskit/editor-plugin-insert-block").InsertBlockOptions | undefined>,
1091
1094
  import("@atlaskit/editor-plugin-clear-marks-on-empty-doc").ClearMarksOnEmptyDocPlugin<"toolbarListsIndentation", {
1092
1095
  pluginConfiguration: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "193.14.8",
3
+ "version": "193.15.0",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -40,13 +40,13 @@
40
40
  },
41
41
  "dependencies": {
42
42
  "@atlaskit/activity-provider": "^2.4.0",
43
- "@atlaskit/adf-schema": "^35.12.2",
43
+ "@atlaskit/adf-schema": "^36.1.0",
44
44
  "@atlaskit/analytics-namespaced-context": "^6.9.0",
45
45
  "@atlaskit/analytics-next": "^9.3.0",
46
46
  "@atlaskit/analytics-next-stable-react-context": "1.0.1",
47
47
  "@atlaskit/button": "^17.14.0",
48
48
  "@atlaskit/editor-common": "^79.2.0",
49
- "@atlaskit/editor-json-transformer": "^8.11.0",
49
+ "@atlaskit/editor-json-transformer": "^8.12.0",
50
50
  "@atlaskit/editor-plugins": "^2.5.0",
51
51
  "@atlaskit/editor-prosemirror": "4.0.1",
52
52
  "@atlaskit/editor-shared-styles": "^2.10.0",
@@ -57,8 +57,8 @@
57
57
  "@atlaskit/platform-feature-flags": "^0.2.0",
58
58
  "@atlaskit/spinner": "^16.1.0",
59
59
  "@atlaskit/task-decision": "^17.10.0",
60
- "@atlaskit/theme": "^12.7.0",
61
- "@atlaskit/tokens": "^1.45.0",
60
+ "@atlaskit/theme": "^12.8.0",
61
+ "@atlaskit/tokens": "^1.46.0",
62
62
  "@atlaskit/tooltip": "^18.3.0",
63
63
  "@atlaskit/ufo": "^0.2.0",
64
64
  "@atlaskit/width-detector": "^4.2.0",
@@ -87,10 +87,10 @@
87
87
  "@atlaskit/adf-utils": "^19.1.0",
88
88
  "@atlaskit/analytics-listeners": "^8.9.1",
89
89
  "@atlaskit/checkbox": "^13.3.0",
90
- "@atlaskit/collab-provider": "9.28.4",
90
+ "@atlaskit/collab-provider": "9.28.5",
91
91
  "@atlaskit/dropdown-menu": "^12.10.0",
92
- "@atlaskit/editor-plugin-annotation": "1.7.2",
93
- "@atlaskit/editor-plugin-card": "^1.10.0",
92
+ "@atlaskit/editor-plugin-annotation": "1.7.3",
93
+ "@atlaskit/editor-plugin-card": "^1.11.0",
94
94
  "@atlaskit/editor-plugin-editor-viewmode": "^1.1.0",
95
95
  "@atlaskit/editor-plugin-list": "^3.2.0",
96
96
  "@atlaskit/editor-plugin-paste": "^1.1.0",
@@ -106,7 +106,7 @@
106
106
  "@atlaskit/primitives": "^6.1.0",
107
107
  "@atlaskit/renderer": "^109.25.0",
108
108
  "@atlaskit/select": "^17.9.0",
109
- "@atlaskit/smart-card": "^26.62.0",
109
+ "@atlaskit/smart-card": "^26.63.0",
110
110
  "@atlaskit/synchrony-test-helpers": "^2.4.0",
111
111
  "@atlaskit/util-data-test": "^17.9.0",
112
112
  "@atlaskit/visual-regression": "*",
@@ -330,6 +330,9 @@
330
330
  },
331
331
  "platform.editor.react-18-portal": {
332
332
  "type": "boolean"
333
+ },
334
+ "platform.editor.table.allow-table-alignment": {
335
+ "type": "boolean"
333
336
  }
334
337
  },
335
338
  "stricter": {