@atlaskit/editor-plugin-extension 9.2.2 → 9.2.3

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,13 @@
1
1
  # @atlaskit/editor-plugin-extension
2
2
 
3
+ ## 9.2.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`3797699385665`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3797699385665) -
8
+ [FG-CLEANUP] platform_editor_update_extension_local_id_on_reset
9
+ - Updated dependencies
10
+
3
11
  ## 9.2.2
4
12
 
5
13
  ### Patch Changes
@@ -11,7 +11,6 @@ var _steps = require("@atlaskit/adf-schema/steps");
11
11
  var _safePlugin = require("@atlaskit/editor-common/safe-plugin");
12
12
  var _utils = require("@atlaskit/editor-common/utils");
13
13
  var _state = require("@atlaskit/editor-prosemirror/state");
14
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
15
14
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
16
15
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
17
16
  var pluginKey = new _state.PluginKey('extensionUniqueIdPlugin');
@@ -38,7 +37,7 @@ var createPlugin = exports.createPlugin = function createPlugin() {
38
37
  // There are instances where the localId will be reset to null on publish due to extension
39
38
  // not existing in the Storage format (eg. Legacy Content Extensions) or not having a localId
40
39
  // eslint-disable-next-line @atlaskit/platform/no-preconditioning
41
- (0, _platformFeatureFlags.fg)('platform_editor_update_extension_local_id_on_reset') && step instanceof _steps.SetAttrsStep &&
40
+ step instanceof _steps.SetAttrsStep &&
42
41
  // @ts-expect-error Bad ProseMirror step types
43
42
  ((_step$attrs = step.attrs) === null || _step$attrs === void 0 ? void 0 : _step$attrs.localId) === null;
44
43
  });
@@ -3,7 +3,6 @@ import { SetAttrsStep } from '@atlaskit/adf-schema/steps';
3
3
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
4
4
  import { stepAddsOneOf } from '@atlaskit/editor-common/utils';
5
5
  import { PluginKey } from '@atlaskit/editor-prosemirror/state';
6
- import { fg } from '@atlaskit/platform-feature-flags';
7
6
  const pluginKey = new PluginKey('extensionUniqueIdPlugin');
8
7
  const createPlugin = () => new SafePlugin({
9
8
  appendTransaction: (transactions, _oldState, newState) => {
@@ -28,7 +27,7 @@ const createPlugin = () => new SafePlugin({
28
27
  // There are instances where the localId will be reset to null on publish due to extension
29
28
  // not existing in the Storage format (eg. Legacy Content Extensions) or not having a localId
30
29
  // eslint-disable-next-line @atlaskit/platform/no-preconditioning
31
- fg('platform_editor_update_extension_local_id_on_reset') && step instanceof SetAttrsStep &&
30
+ step instanceof SetAttrsStep &&
32
31
  // @ts-expect-error Bad ProseMirror step types
33
32
  ((_step$attrs = step.attrs) === null || _step$attrs === void 0 ? void 0 : _step$attrs.localId) === null;
34
33
  });
@@ -6,7 +6,6 @@ import { SetAttrsStep } from '@atlaskit/adf-schema/steps';
6
6
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
7
7
  import { stepAddsOneOf } from '@atlaskit/editor-common/utils';
8
8
  import { PluginKey } from '@atlaskit/editor-prosemirror/state';
9
- import { fg } from '@atlaskit/platform-feature-flags';
10
9
  var pluginKey = new PluginKey('extensionUniqueIdPlugin');
11
10
  var createPlugin = function createPlugin() {
12
11
  return new SafePlugin({
@@ -31,7 +30,7 @@ var createPlugin = function createPlugin() {
31
30
  // There are instances where the localId will be reset to null on publish due to extension
32
31
  // not existing in the Storage format (eg. Legacy Content Extensions) or not having a localId
33
32
  // eslint-disable-next-line @atlaskit/platform/no-preconditioning
34
- fg('platform_editor_update_extension_local_id_on_reset') && step instanceof SetAttrsStep &&
33
+ step instanceof SetAttrsStep &&
35
34
  // @ts-expect-error Bad ProseMirror step types
36
35
  ((_step$attrs = step.attrs) === null || _step$attrs === void 0 ? void 0 : _step$attrs.localId) === null;
37
36
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-extension",
3
- "version": "9.2.2",
3
+ "version": "9.2.3",
4
4
  "description": "editor-plugin-extension plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -49,14 +49,14 @@
49
49
  "@atlaskit/primitives": "^16.1.0",
50
50
  "@atlaskit/radio": "^8.3.0",
51
51
  "@atlaskit/section-message": "^8.9.0",
52
- "@atlaskit/select": "^21.3.0",
52
+ "@atlaskit/select": "^21.4.0",
53
53
  "@atlaskit/smart-user-picker": "^8.4.0",
54
54
  "@atlaskit/spinner": "^19.0.0",
55
55
  "@atlaskit/tabs": "^18.2.0",
56
- "@atlaskit/textarea": "^8.0.0",
57
- "@atlaskit/textfield": "^8.0.0",
56
+ "@atlaskit/textarea": "^8.1.0",
57
+ "@atlaskit/textfield": "^8.1.0",
58
58
  "@atlaskit/theme": "^21.0.0",
59
- "@atlaskit/tmp-editor-statsig": "^13.35.0",
59
+ "@atlaskit/tmp-editor-statsig": "^13.38.0",
60
60
  "@atlaskit/toggle": "^15.1.0",
61
61
  "@atlaskit/tokens": "^8.0.0",
62
62
  "@atlaskit/tooltip": "^20.8.0",
@@ -70,7 +70,7 @@
70
70
  "uuid": "^3.1.0"
71
71
  },
72
72
  "peerDependencies": {
73
- "@atlaskit/editor-common": "^110.27.0",
73
+ "@atlaskit/editor-common": "^110.29.0",
74
74
  "react": "^18.2.0",
75
75
  "react-intl-next": "npm:react-intl@^5.18.1"
76
76
  },
@@ -114,9 +114,6 @@
114
114
  "platform_editor_ai_object_sidebar_injection": {
115
115
  "type": "boolean"
116
116
  },
117
- "platform_editor_update_extension_local_id_on_reset": {
118
- "type": "boolean"
119
- },
120
117
  "dst-a11y__replace-anchor-with-link__editor-core-ex": {
121
118
  "type": "boolean"
122
119
  }