@atlaskit/editor-plugin-extension 5.5.3 → 5.5.5

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,20 @@
1
1
  # @atlaskit/editor-plugin-extension
2
2
 
3
+ ## 5.5.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 5.5.4
10
+
11
+ ### Patch Changes
12
+
13
+ - [#165113](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/165113)
14
+ [`867bcb05452bf`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/867bcb05452bf) -
15
+ Cleaned up platform_editor_controls_patch_analytics and platform_editor_controls_patch_analytics_2
16
+ - Updated dependencies
17
+
3
18
  ## 5.5.3
4
19
 
5
20
  ### Patch Changes
@@ -13,7 +13,6 @@ var _analytics = require("@atlaskit/editor-common/analytics");
13
13
  var _utils = require("@atlaskit/editor-common/utils");
14
14
  var _state = require("@atlaskit/editor-prosemirror/state");
15
15
  var _utils2 = require("@atlaskit/editor-prosemirror/utils");
16
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
17
16
  var _pluginFactory = require("../pm-plugins/plugin-factory");
18
17
  var _utils3 = require("../pm-plugins/utils");
19
18
  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; }
@@ -129,7 +128,7 @@ var removeSelectedNodeWithAnalytics = exports.removeSelectedNodeWithAnalytics =
129
128
  extensionType: node.attrs.extensionType,
130
129
  extensionKey: node.attrs.extensionKey,
131
130
  localId: node.attrs.localId,
132
- inputMethod: (0, _platformFeatureFlags.fg)('platform_editor_controls_patch_analytics_2') ? inputMethod : undefined
131
+ inputMethod: inputMethod
133
132
  }
134
133
  })(tr);
135
134
  }
@@ -151,7 +150,7 @@ var checkAndRemoveExtensionNode = exports.checkAndRemoveExtensionNode = function
151
150
  extensionKey: maybeMBENode.node.attrs.extensionKey,
152
151
  localId: maybeMBENode.node.attrs.localId,
153
152
  currentFramesCount: maybeMBENode.node.content.childCount,
154
- inputMethod: (0, _platformFeatureFlags.fg)('platform_editor_controls_patch_analytics_2') ? inputMethod : undefined
153
+ inputMethod: inputMethod
155
154
  }
156
155
  })(tr);
157
156
  }
@@ -168,7 +167,7 @@ var checkAndRemoveExtensionNode = exports.checkAndRemoveExtensionNode = function
168
167
  extensionType: bodiedExtensionNode.node.attrs.extensionType,
169
168
  extensionKey: bodiedExtensionNode.node.attrs.extensionKey,
170
169
  localId: bodiedExtensionNode.node.attrs.localId,
171
- inputMethod: (0, _platformFeatureFlags.fg)('platform_editor_controls_patch_analytics_2') ? inputMethod : undefined
170
+ inputMethod: inputMethod
172
171
  }
173
172
  })(tr);
174
173
  }
@@ -56,6 +56,7 @@ function makeMarkup(fragment, key) {
56
56
  key: key
57
57
  }, children);
58
58
  case 'CODE':
59
+ // eslint-disable-next-line @atlaskit/design-system/no-html-code
59
60
  return /*#__PURE__*/_react.default.createElement("code", {
60
61
  key: key
61
62
  }, children);
@@ -2,7 +2,6 @@ import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, TARGET_SELECTION
2
2
  import { removeConnectedNodes } from '@atlaskit/editor-common/utils';
3
3
  import { NodeSelection } from '@atlaskit/editor-prosemirror/state';
4
4
  import { findParentNodeOfType, removeParentNodeOfType, removeSelectedNode } from '@atlaskit/editor-prosemirror/utils';
5
- import { fg } from '@atlaskit/platform-feature-flags';
6
5
  import { createCommand } from '../pm-plugins/plugin-factory';
7
6
  import { getSelectedExtension } from '../pm-plugins/utils';
8
7
 
@@ -106,7 +105,7 @@ export const removeSelectedNodeWithAnalytics = (state, tr, analyticsApi, inputMe
106
105
  extensionType: node.attrs.extensionType,
107
106
  extensionKey: node.attrs.extensionKey,
108
107
  localId: node.attrs.localId,
109
- inputMethod: fg('platform_editor_controls_patch_analytics_2') ? inputMethod : undefined
108
+ inputMethod: inputMethod
110
109
  }
111
110
  })(tr);
112
111
  }
@@ -128,7 +127,7 @@ export const checkAndRemoveExtensionNode = (state, tr, analyticsApi, inputMethod
128
127
  extensionKey: maybeMBENode.node.attrs.extensionKey,
129
128
  localId: maybeMBENode.node.attrs.localId,
130
129
  currentFramesCount: maybeMBENode.node.content.childCount,
131
- inputMethod: fg('platform_editor_controls_patch_analytics_2') ? inputMethod : undefined
130
+ inputMethod
132
131
  }
133
132
  })(tr);
134
133
  }
@@ -145,7 +144,7 @@ export const checkAndRemoveExtensionNode = (state, tr, analyticsApi, inputMethod
145
144
  extensionType: bodiedExtensionNode.node.attrs.extensionType,
146
145
  extensionKey: bodiedExtensionNode.node.attrs.extensionKey,
147
146
  localId: bodiedExtensionNode.node.attrs.localId,
148
- inputMethod: fg('platform_editor_controls_patch_analytics_2') ? inputMethod : undefined
147
+ inputMethod
149
148
  }
150
149
  })(tr);
151
150
  }
@@ -51,6 +51,7 @@ function makeMarkup(fragment, key) {
51
51
  key: key
52
52
  }, children);
53
53
  case 'CODE':
54
+ // eslint-disable-next-line @atlaskit/design-system/no-html-code
54
55
  return /*#__PURE__*/React.createElement("code", {
55
56
  key: key
56
57
  }, children);
@@ -5,7 +5,6 @@ import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, TARGET_SELECTION
5
5
  import { removeConnectedNodes } from '@atlaskit/editor-common/utils';
6
6
  import { NodeSelection } from '@atlaskit/editor-prosemirror/state';
7
7
  import { findParentNodeOfType, removeParentNodeOfType, removeSelectedNode } from '@atlaskit/editor-prosemirror/utils';
8
- import { fg } from '@atlaskit/platform-feature-flags';
9
8
  import { createCommand } from '../pm-plugins/plugin-factory';
10
9
  import { getSelectedExtension } from '../pm-plugins/utils';
11
10
 
@@ -120,7 +119,7 @@ export var removeSelectedNodeWithAnalytics = function removeSelectedNodeWithAnal
120
119
  extensionType: node.attrs.extensionType,
121
120
  extensionKey: node.attrs.extensionKey,
122
121
  localId: node.attrs.localId,
123
- inputMethod: fg('platform_editor_controls_patch_analytics_2') ? inputMethod : undefined
122
+ inputMethod: inputMethod
124
123
  }
125
124
  })(tr);
126
125
  }
@@ -142,7 +141,7 @@ export var checkAndRemoveExtensionNode = function checkAndRemoveExtensionNode(st
142
141
  extensionKey: maybeMBENode.node.attrs.extensionKey,
143
142
  localId: maybeMBENode.node.attrs.localId,
144
143
  currentFramesCount: maybeMBENode.node.content.childCount,
145
- inputMethod: fg('platform_editor_controls_patch_analytics_2') ? inputMethod : undefined
144
+ inputMethod: inputMethod
146
145
  }
147
146
  })(tr);
148
147
  }
@@ -159,7 +158,7 @@ export var checkAndRemoveExtensionNode = function checkAndRemoveExtensionNode(st
159
158
  extensionType: bodiedExtensionNode.node.attrs.extensionType,
160
159
  extensionKey: bodiedExtensionNode.node.attrs.extensionKey,
161
160
  localId: bodiedExtensionNode.node.attrs.localId,
162
- inputMethod: fg('platform_editor_controls_patch_analytics_2') ? inputMethod : undefined
161
+ inputMethod: inputMethod
163
162
  }
164
163
  })(tr);
165
164
  }
@@ -49,6 +49,7 @@ function makeMarkup(fragment, key) {
49
49
  key: key
50
50
  }, children);
51
51
  case 'CODE':
52
+ // eslint-disable-next-line @atlaskit/design-system/no-html-code
52
53
  return /*#__PURE__*/React.createElement("code", {
53
54
  key: key
54
55
  }, children);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-extension",
3
- "version": "5.5.3",
3
+ "version": "5.5.5",
4
4
  "description": "editor-plugin-extension plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -32,7 +32,7 @@
32
32
  "@atlaskit/button": "^23.2.0",
33
33
  "@atlaskit/checkbox": "^17.1.0",
34
34
  "@atlaskit/datetime-picker": "^17.0.0",
35
- "@atlaskit/editor-common": "^106.1.0",
35
+ "@atlaskit/editor-common": "^106.5.0",
36
36
  "@atlaskit/editor-json-transformer": "^8.24.0",
37
37
  "@atlaskit/editor-plugin-analytics": "^2.3.0",
38
38
  "@atlaskit/editor-plugin-connectivity": "^2.0.0",
@@ -53,17 +53,17 @@
53
53
  "@atlaskit/primitives": "^14.8.0",
54
54
  "@atlaskit/radio": "^8.1.0",
55
55
  "@atlaskit/section-message": "^8.2.0",
56
- "@atlaskit/select": "^20.6.0",
56
+ "@atlaskit/select": "^20.7.0",
57
57
  "@atlaskit/smart-user-picker": "^8.0.0",
58
58
  "@atlaskit/spinner": "^18.0.0",
59
59
  "@atlaskit/tabs": "^18.1.0",
60
60
  "@atlaskit/textarea": "^8.0.0",
61
61
  "@atlaskit/textfield": "^8.0.0",
62
62
  "@atlaskit/theme": "^18.0.0",
63
- "@atlaskit/tmp-editor-statsig": "^5.8.0",
63
+ "@atlaskit/tmp-editor-statsig": "^6.0.0",
64
64
  "@atlaskit/toggle": "^15.0.0",
65
- "@atlaskit/tokens": "^5.0.0",
66
- "@atlaskit/tooltip": "^20.2.0",
65
+ "@atlaskit/tokens": "^5.1.0",
66
+ "@atlaskit/tooltip": "^20.3.0",
67
67
  "@babel/runtime": "^7.0.0",
68
68
  "@emotion/react": "^11.7.1",
69
69
  "bind-event-listener": "^3.0.0",
@@ -127,9 +127,6 @@
127
127
  "platform_editor_controls_patch_2": {
128
128
  "type": "boolean"
129
129
  },
130
- "platform_editor_controls_patch_analytics_2": {
131
- "type": "boolean"
132
- },
133
130
  "platform_editor_controls_patch_8": {
134
131
  "type": "boolean"
135
132
  },