@atlaskit/editor-core 194.0.6 → 194.0.10

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,35 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 194.0.10
4
+
5
+ ### Patch Changes
6
+
7
+ - [#116760](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/116760)
8
+ [`2e309117f02c6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2e309117f02c6) -
9
+ [ED-23062] Clean up feature flag for highlight palette dark mode improvements
10
+ - [#117916](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/117916)
11
+ [`49fc126d779b0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/49fc126d779b0) -
12
+ ECA11Y-111: A11y table resizing feature flag removal
13
+ - [#117920](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/117920)
14
+ [`b3da4fa9c20d9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b3da4fa9c20d9) -
15
+ Cleanup of table FF
16
+ - Updated dependencies
17
+
18
+ ## 194.0.9
19
+
20
+ ### Patch Changes
21
+
22
+ - [`666ab2fb8703d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/666ab2fb8703d) -
23
+ Mark media prop as deprecated on ComposableEditor as it is no longer required.
24
+ - [`7c716627bd4f4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7c716627bd4f4) -
25
+ Table Drag move column/row logic FF cleanup
26
+ - [#117111](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/117111)
27
+ [`6f06e433f9724`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6f06e433f9724) -
28
+ Remove option for "appearance" from `editor-plugin-code-block`. This configuration is completely
29
+ unused and has no effect. It is safe to remove if you are currently using this prop for
30
+ configuration.
31
+ - Updated dependencies
32
+
3
33
  ## 194.0.6
4
34
 
5
35
  ### Patch Changes
@@ -96,7 +96,6 @@ function getDefaultPresetOptionsFromEditorProps(props, createAnalyticsEvent
96
96
  },
97
97
  codeBlock: _objectSpread(_objectSpread({}, props.codeBlock), {}, {
98
98
  useLongPressSelection: false,
99
- appearance: props.appearance,
100
99
  allowCompositionInputOverride: isMobile
101
100
  })
102
101
  });
@@ -69,9 +69,7 @@ function createDefaultPreset(options) {
69
69
  return false;
70
70
  }).add([_hyperlink.hyperlinkPlugin, options.hyperlinkOptions]).add([_textFormatting.textFormattingPlugin, options.textFormatting]).add(_width.widthPlugin).add([_quickInsert.quickInsertPlugin, options.quickInsert]).add([_placeholder.placeholderPlugin, options.placeholder]).add(_unsupportedContent.unsupportedContentPlugin).add(_editorDisabled.editorDisabledPlugin).add([_submitEditor.submitEditorPlugin, options.submitEditor]).add(_copyButton.copyButtonPlugin).add(_floatingToolbar.floatingToolbarPlugin).add([_selection.selectionPlugin, _objectSpread(_objectSpread({}, options.selection), {}, {
71
71
  __livePage: options.__livePage
72
- })]).add([_codeBlock.codeBlockPlugin, options.codeBlock || {
73
- appearance: 'full-page'
74
- }]);
72
+ })]).add([_codeBlock.codeBlockPlugin, options.codeBlock]);
75
73
  return preset;
76
74
  }
77
75
  function useDefaultPreset(props) {
@@ -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.0.6";
8
+ var version = exports.version = "194.0.10";
@@ -85,7 +85,6 @@ export function getDefaultPresetOptionsFromEditorProps(props, createAnalyticsEve
85
85
  codeBlock: {
86
86
  ...props.codeBlock,
87
87
  useLongPressSelection: false,
88
- appearance: props.appearance,
89
88
  allowCompositionInputOverride: isMobile
90
89
  }
91
90
  };
@@ -60,9 +60,7 @@ export function createDefaultPreset(options) {
60
60
  }).add([hyperlinkPlugin, options.hyperlinkOptions]).add([textFormattingPlugin, options.textFormatting]).add(widthPlugin).add([quickInsertPlugin, options.quickInsert]).add([placeholderPlugin, options.placeholder]).add(unsupportedContentPlugin).add(editorDisabledPlugin).add([submitEditorPlugin, options.submitEditor]).add(copyButtonPlugin).add(floatingToolbarPlugin).add([selectionPlugin, {
61
61
  ...options.selection,
62
62
  __livePage: options.__livePage
63
- }]).add([codeBlockPlugin, options.codeBlock || {
64
- appearance: 'full-page'
65
- }]);
63
+ }]).add([codeBlockPlugin, options.codeBlock]);
66
64
  return preset;
67
65
  }
68
66
  export function useDefaultPreset(props) {
@@ -1,2 +1,2 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "194.0.6";
2
+ export const version = "194.0.10";
@@ -87,7 +87,6 @@ export function getDefaultPresetOptionsFromEditorProps(props, createAnalyticsEve
87
87
  },
88
88
  codeBlock: _objectSpread(_objectSpread({}, props.codeBlock), {}, {
89
89
  useLongPressSelection: false,
90
- appearance: props.appearance,
91
90
  allowCompositionInputOverride: isMobile
92
91
  })
93
92
  });
@@ -63,9 +63,7 @@ export function createDefaultPreset(options) {
63
63
  return false;
64
64
  }).add([hyperlinkPlugin, options.hyperlinkOptions]).add([textFormattingPlugin, options.textFormatting]).add(widthPlugin).add([quickInsertPlugin, options.quickInsert]).add([placeholderPlugin, options.placeholder]).add(unsupportedContentPlugin).add(editorDisabledPlugin).add([submitEditorPlugin, options.submitEditor]).add(copyButtonPlugin).add(floatingToolbarPlugin).add([selectionPlugin, _objectSpread(_objectSpread({}, options.selection), {}, {
65
65
  __livePage: options.__livePage
66
- })]).add([codeBlockPlugin, options.codeBlock || {
67
- appearance: 'full-page'
68
- }]);
66
+ })]).add([codeBlockPlugin, options.codeBlock]);
69
67
  return preset;
70
68
  }
71
69
  export function useDefaultPreset(props) {
@@ -1,2 +1,2 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "194.0.6";
2
+ export var version = "194.0.10";
@@ -145,7 +145,6 @@ export interface EditorSharedPropsWithPlugins {
145
145
  */
146
146
  performanceTracking?: PerformanceTracking;
147
147
  sanitizePrivateContent?: boolean;
148
- media?: MediaOptions;
149
148
  collabEdit?: CollabEditOptions;
150
149
  primaryToolbarComponents?: PrimaryToolbarComponents;
151
150
  allowUndoRedoButtons?: boolean;
@@ -187,6 +186,16 @@ export interface EditorNextProps extends EditorBaseProps, EditorSharedPropsWithP
187
186
  * preset.add([cardPlugin, { ...linking.smartLinks, linkPicker: linking.linkPicker }])
188
187
  */
189
188
  linking?: LinkingOptions;
189
+ /**
190
+ * @deprecated
191
+ * This prop is no longer required and will be removed soon.
192
+ * Configuration of this parameter should be done via `editor-plugin-media` or the `universal` preset.
193
+ *
194
+ * Example:
195
+ * // In preset creation you can pass the props passed to the editor like this:
196
+ * preset.add([mediaPlugin, mediaOptions])
197
+ */
198
+ media?: MediaOptions;
190
199
  }
191
200
  export interface EditorProviderProps {
192
201
  activityProvider?: Promise<ActivityProvider>;
@@ -295,4 +304,5 @@ export interface EditorPluginFeatureProps {
295
304
  * Configure and extend editor linking behaviour
296
305
  */
297
306
  linking?: LinkingOptions;
307
+ media?: MediaOptions;
298
308
  }
@@ -145,7 +145,6 @@ export interface EditorSharedPropsWithPlugins {
145
145
  */
146
146
  performanceTracking?: PerformanceTracking;
147
147
  sanitizePrivateContent?: boolean;
148
- media?: MediaOptions;
149
148
  collabEdit?: CollabEditOptions;
150
149
  primaryToolbarComponents?: PrimaryToolbarComponents;
151
150
  allowUndoRedoButtons?: boolean;
@@ -187,6 +186,16 @@ export interface EditorNextProps extends EditorBaseProps, EditorSharedPropsWithP
187
186
  * preset.add([cardPlugin, { ...linking.smartLinks, linkPicker: linking.linkPicker }])
188
187
  */
189
188
  linking?: LinkingOptions;
189
+ /**
190
+ * @deprecated
191
+ * This prop is no longer required and will be removed soon.
192
+ * Configuration of this parameter should be done via `editor-plugin-media` or the `universal` preset.
193
+ *
194
+ * Example:
195
+ * // In preset creation you can pass the props passed to the editor like this:
196
+ * preset.add([mediaPlugin, mediaOptions])
197
+ */
198
+ media?: MediaOptions;
190
199
  }
191
200
  export interface EditorProviderProps {
192
201
  activityProvider?: Promise<ActivityProvider>;
@@ -295,4 +304,5 @@ export interface EditorPluginFeatureProps {
295
304
  * Configure and extend editor linking behaviour
296
305
  */
297
306
  linking?: LinkingOptions;
307
+ media?: MediaOptions;
298
308
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "194.0.6",
3
+ "version": "194.0.10",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -44,13 +44,13 @@
44
44
  "@atlaskit/analytics-namespaced-context": "^6.10.0",
45
45
  "@atlaskit/analytics-next": "^9.3.0",
46
46
  "@atlaskit/analytics-next-stable-react-context": "1.0.1",
47
- "@atlaskit/button": "^18.1.0",
48
- "@atlaskit/editor-common": "^84.0.0",
49
- "@atlaskit/editor-plugins": "^3.3.0",
47
+ "@atlaskit/button": "^18.2.0",
48
+ "@atlaskit/editor-common": "^84.2.0",
49
+ "@atlaskit/editor-plugins": "^3.4.0",
50
50
  "@atlaskit/editor-prosemirror": "4.0.1",
51
51
  "@atlaskit/editor-shared-styles": "^2.12.0",
52
52
  "@atlaskit/emoji": "^67.6.0",
53
- "@atlaskit/icon": "^22.5.0",
53
+ "@atlaskit/icon": "^22.6.0",
54
54
  "@atlaskit/media-card": "^78.0.0",
55
55
  "@atlaskit/mention": "^23.2.0",
56
56
  "@atlaskit/platform-feature-flags": "^0.3.0",
@@ -99,7 +99,7 @@
99
99
  "@atlaskit/media-integration-test-helpers": "^3.0.0",
100
100
  "@atlaskit/media-test-helpers": "^33.0.27",
101
101
  "@atlaskit/modal-dialog": "^12.14.0",
102
- "@atlaskit/primitives": "^10.0.0",
102
+ "@atlaskit/primitives": "^10.1.0",
103
103
  "@atlaskit/renderer": "^109.40.0",
104
104
  "@atlaskit/smart-card": "^27.9.0",
105
105
  "@atlaskit/synchrony-test-helpers": "^2.4.0",
@@ -107,7 +107,7 @@
107
107
  "@atlaskit/util-data-test": "^17.9.0",
108
108
  "@atlaskit/visual-regression": "*",
109
109
  "@atlassian/adf-schema-json": "^1.16.0",
110
- "@atlassian/search-provider": "2.4.89",
110
+ "@atlassian/search-provider": "2.4.91",
111
111
  "@emotion/jest": "^11.8.0",
112
112
  "@storybook/addon-knobs": "^5.3.18",
113
113
  "@testing-library/react": "^12.1.5",
@@ -161,18 +161,10 @@
161
161
  "type": "boolean",
162
162
  "referenceOnly": "true"
163
163
  },
164
- "platform.editor.a11y-table-resizing_uapcv": {
165
- "type": "boolean",
166
- "referenceOnly": "true"
167
- },
168
164
  "platform.editor.a11y-help-dialog-shortcut-keys-position_aghfg": {
169
165
  "type": "boolean",
170
166
  "referenceOnly": "true"
171
167
  },
172
- "platform.editor.resizer.prevent-contenteditable": {
173
- "type": "boolean",
174
- "referenceOnly": "true"
175
- },
176
168
  "platform.linking-platform.datasource-assets_objects_remove_beta": {
177
169
  "type": "boolean",
178
170
  "referenceOnly": "true"
@@ -184,10 +176,6 @@
184
176
  "platform.editor.table-sticky-scrollbar": {
185
177
  "type": "boolean"
186
178
  },
187
- "platform.editor.table.drag-move-options-logic-update_fp7xw": {
188
- "type": "boolean",
189
- "referenceOnly": "true"
190
- },
191
179
  "platform.media-experience.card-views-refactor_b91lr": {
192
180
  "type": "boolean",
193
181
  "referenceOnly": "true"
@@ -324,10 +312,6 @@
324
312
  "platform.editor.core.increase-full-page-guttering": {
325
313
  "type": "boolean"
326
314
  },
327
- "platform.editor.dynamic-palette-borders": {
328
- "type": "boolean",
329
- "referenceOnly": "true"
330
- },
331
315
  "platform.editor.refactor-highlight-toolbar_mo0pj": {
332
316
  "type": "boolean",
333
317
  "referenceOnly": "true"