@atlaskit/editor-core 191.7.15 → 192.1.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,21 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 192.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#72258](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72258) [`31cecb8f314b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/31cecb8f314b) - ECA11Y-78: removed feature flag
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies
12
+
13
+ ## 192.0.2
14
+
15
+ ### Patch Changes
16
+
17
+ - [#72701](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72701) [`607dd9ee70a7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/607dd9ee70a7) - Remove reference to base plugin in composable editor
18
+
3
19
  ## 191.7.15
4
20
 
5
21
  ### Patch Changes
@@ -16,7 +16,6 @@ var _analytics = require("@atlaskit/editor-common/analytics");
16
16
  var _hooks = require("@atlaskit/editor-common/hooks");
17
17
  var _ufo = require("@atlaskit/editor-common/ufo");
18
18
  var _utils = require("@atlaskit/editor-common/utils");
19
- var _base = require("@atlaskit/editor-plugins/base");
20
19
  var _actions = _interopRequireDefault(require("../actions"));
21
20
  var _featureFlagsFromProps = require("../create-editor/feature-flags-from-props");
22
21
  var _EditorContext = require("../ui/EditorContext");
@@ -147,12 +146,5 @@ ComposableEditor.propTypes = {
147
146
  return new Error('minHeight only supports editor appearance chromeless and comment for Editor');
148
147
  }
149
148
  return null;
150
- },
151
- preset: function preset(_ref2) {
152
- var _preset = _ref2.preset;
153
- if (!_preset.has(_base.basePlugin)) {
154
- return new Error('Presets must contain the base plugin');
155
- }
156
- return null;
157
149
  }
158
150
  };
@@ -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 = "191.7.15";
8
+ var version = exports.version = "192.1.0";
@@ -10,7 +10,6 @@ import { ACTION, fireAnalyticsEvent } from '@atlaskit/editor-common/analytics';
10
10
  import { useConstructor } from '@atlaskit/editor-common/hooks';
11
11
  import { EditorExperience, ExperienceStore } from '@atlaskit/editor-common/ufo';
12
12
  import { getAnalyticsAppearance, startMeasure, stopMeasure } from '@atlaskit/editor-common/utils';
13
- import { basePlugin } from '@atlaskit/editor-plugins/base';
14
13
  import EditorActions from '../actions';
15
14
  import { createFeatureFlagsFromProps } from '../create-editor/feature-flags-from-props';
16
15
  import { useEditorContext } from '../ui/EditorContext';
@@ -143,13 +142,5 @@ ComposableEditor.propTypes = {
143
142
  return new Error('minHeight only supports editor appearance chromeless and comment for Editor');
144
143
  }
145
144
  return null;
146
- },
147
- preset: ({
148
- preset
149
- }) => {
150
- if (!preset.has(basePlugin)) {
151
- return new Error('Presets must contain the base plugin');
152
- }
153
- return null;
154
145
  }
155
146
  };
@@ -1,2 +1,2 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "191.7.15";
2
+ export const version = "192.1.0";
@@ -10,7 +10,6 @@ import { ACTION, fireAnalyticsEvent } from '@atlaskit/editor-common/analytics';
10
10
  import { useConstructor } from '@atlaskit/editor-common/hooks';
11
11
  import { EditorExperience, ExperienceStore } from '@atlaskit/editor-common/ufo';
12
12
  import { getAnalyticsAppearance, startMeasure, stopMeasure } from '@atlaskit/editor-common/utils';
13
- import { basePlugin } from '@atlaskit/editor-plugins/base';
14
13
  import EditorActions from '../actions';
15
14
  import { createFeatureFlagsFromProps } from '../create-editor/feature-flags-from-props';
16
15
  import { useEditorContext } from '../ui/EditorContext';
@@ -140,12 +139,5 @@ ComposableEditor.propTypes = {
140
139
  return new Error('minHeight only supports editor appearance chromeless and comment for Editor');
141
140
  }
142
141
  return null;
143
- },
144
- preset: function preset(_ref2) {
145
- var _preset = _ref2.preset;
146
- if (!_preset.has(basePlugin)) {
147
- return new Error('Presets must contain the base plugin');
148
- }
149
- return null;
150
142
  }
151
143
  };
@@ -1,2 +1,2 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "191.7.15";
2
+ export var version = "192.1.0";
@@ -4,6 +4,5 @@ export declare function ComposableEditor(props: EditorNextProps): jsx.JSX.Elemen
4
4
  export declare namespace ComposableEditor {
5
5
  var propTypes: {
6
6
  minHeight: ({ appearance, minHeight, }: Pick<EditorNextProps, "appearance" | "minHeight">) => Error | null;
7
- preset: ({ preset }: Pick<EditorNextProps, "preset">) => Error | null;
8
7
  };
9
8
  }
@@ -4,6 +4,5 @@ export declare function ComposableEditor(props: EditorNextProps): jsx.JSX.Elemen
4
4
  export declare namespace ComposableEditor {
5
5
  var propTypes: {
6
6
  minHeight: ({ appearance, minHeight, }: Pick<EditorNextProps, "appearance" | "minHeight">) => Error | null;
7
- preset: ({ preset }: Pick<EditorNextProps, "preset">) => Error | null;
8
7
  };
9
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "191.7.15",
3
+ "version": "192.1.0",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -48,18 +48,18 @@
48
48
  "@atlaskit/button": "^17.3.0",
49
49
  "@atlaskit/editor-common": "^77.4.0",
50
50
  "@atlaskit/editor-json-transformer": "^8.10.0",
51
- "@atlaskit/editor-plugins": "^1.3.0",
51
+ "@atlaskit/editor-plugins": "^1.4.0",
52
52
  "@atlaskit/editor-prosemirror": "3.0.0",
53
53
  "@atlaskit/editor-shared-styles": "^2.9.0",
54
54
  "@atlaskit/emoji": "^67.6.0",
55
55
  "@atlaskit/icon": "^22.0.0",
56
- "@atlaskit/media-card": "^77.9.0",
56
+ "@atlaskit/media-card": "^77.10.0",
57
57
  "@atlaskit/mention": "^22.1.0",
58
58
  "@atlaskit/platform-feature-flags": "^0.2.0",
59
59
  "@atlaskit/spinner": "^16.0.0",
60
60
  "@atlaskit/task-decision": "^17.9.0",
61
61
  "@atlaskit/theme": "^12.6.0",
62
- "@atlaskit/tokens": "^1.36.0",
62
+ "@atlaskit/tokens": "^1.37.0",
63
63
  "@atlaskit/tooltip": "^18.1.0",
64
64
  "@atlaskit/ufo": "^0.2.0",
65
65
  "@atlaskit/width-detector": "^4.1.0",
@@ -77,7 +77,7 @@
77
77
  },
78
78
  "peerDependencies": {
79
79
  "@atlaskit/link-provider": "^1.6.2",
80
- "@atlaskit/media-core": "^34.1.2",
80
+ "@atlaskit/media-core": "^34.2.0",
81
81
  "react": "^16.8.0",
82
82
  "react-dom": "^16.8.0",
83
83
  "react-intl-next": "npm:react-intl@^5.18.1"
@@ -91,16 +91,16 @@
91
91
  "@atlaskit/checkbox": "^13.0.0",
92
92
  "@atlaskit/collab-provider": "9.22.7",
93
93
  "@atlaskit/dropdown-menu": "^12.5.0",
94
- "@atlaskit/editor-plugin-card": "^0.16.5",
95
- "@atlaskit/editor-plugin-editor-viewmode": "^0.1.15",
94
+ "@atlaskit/editor-plugin-card": "^1.0.0",
95
+ "@atlaskit/editor-plugin-editor-viewmode": "^1.0.0",
96
96
  "@atlaskit/editor-plugin-list": "^3.1.5",
97
- "@atlaskit/editor-plugin-paste": "^0.2.12",
97
+ "@atlaskit/editor-plugin-paste": "^1.0.0",
98
98
  "@atlaskit/editor-test-helpers": "*",
99
99
  "@atlaskit/flag": "^15.2.0",
100
100
  "@atlaskit/link-provider": "^1.7.0",
101
101
  "@atlaskit/link-test-helpers": "^6.2.0",
102
102
  "@atlaskit/logo": "^13.15.0",
103
- "@atlaskit/media-core": "^34.1.0",
103
+ "@atlaskit/media-core": "^34.2.0",
104
104
  "@atlaskit/media-integration-test-helpers": "^3.0.0",
105
105
  "@atlaskit/media-test-helpers": "^33.0.27",
106
106
  "@atlaskit/modal-dialog": "^12.10.0",
@@ -215,10 +215,6 @@
215
215
  "platform.editor.loom-integration": {
216
216
  "type": "boolean"
217
217
  },
218
- "platform.editor.a11y-media_er96o": {
219
- "type": "boolean",
220
- "referenceOnly": "true"
221
- },
222
218
  "platform.editor.allow-extended-panel": {
223
219
  "type": "boolean"
224
220
  },