@atlaskit/editor-plugin-panel 4.4.5 → 4.4.6

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,14 @@
1
1
  # @atlaskit/editor-plugin-panel
2
2
 
3
+ ## 4.4.6
4
+
5
+ ### Patch Changes
6
+
7
+ - [#165113](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/165113)
8
+ [`867bcb05452bf`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/867bcb05452bf) -
9
+ Cleaned up platform_editor_controls_patch_analytics and platform_editor_controls_patch_analytics_2
10
+ - Updated dependencies
11
+
3
12
  ## 4.4.5
4
13
 
5
14
  ### Patch Changes
@@ -15,7 +15,6 @@ var _panel = require("@atlaskit/editor-common/panel");
15
15
  var _utils = require("@atlaskit/editor-common/utils");
16
16
  var _state = require("@atlaskit/editor-prosemirror/state");
17
17
  var _utils2 = require("@atlaskit/editor-prosemirror/utils");
18
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
19
18
  var _utils3 = require("../pm-plugins/utils/utils");
20
19
  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; }
21
20
  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; }
@@ -27,7 +26,7 @@ var removePanel = exports.removePanel = function removePanel(editorAnalyticsAPI)
27
26
  action: _analytics.ACTION.DELETED,
28
27
  actionSubject: _analytics.ACTION_SUBJECT.PANEL,
29
28
  attributes: {
30
- inputMethod: (0, _platformFeatureFlags.fg)('platform_editor_controls_patch_analytics_2') ? _analytics.INPUT_METHOD.FLOATING_TB : _analytics.INPUT_METHOD.TOOLBAR
29
+ inputMethod: _analytics.INPUT_METHOD.FLOATING_TB
31
30
  },
32
31
  eventType: _analytics.EVENT_TYPE.TRACK
33
32
  };
@@ -5,7 +5,6 @@ import { getPanelTypeBackgroundNoTokens } from '@atlaskit/editor-common/panel';
5
5
  import { wrapSelectionIn } from '@atlaskit/editor-common/utils';
6
6
  import { NodeSelection } from '@atlaskit/editor-prosemirror/state';
7
7
  import { findParentNodeOfType, findSelectedNodeOfType, removeParentNodeOfType, removeSelectedNode } from '@atlaskit/editor-prosemirror/utils';
8
- import { fg } from '@atlaskit/platform-feature-flags';
9
8
  import { findPanel } from '../pm-plugins/utils/utils';
10
9
  export const removePanel = editorAnalyticsAPI => (state, dispatch) => {
11
10
  const {
@@ -18,7 +17,7 @@ export const removePanel = editorAnalyticsAPI => (state, dispatch) => {
18
17
  action: ACTION.DELETED,
19
18
  actionSubject: ACTION_SUBJECT.PANEL,
20
19
  attributes: {
21
- inputMethod: fg('platform_editor_controls_patch_analytics_2') ? INPUT_METHOD.FLOATING_TB : INPUT_METHOD.TOOLBAR
20
+ inputMethod: INPUT_METHOD.FLOATING_TB
22
21
  },
23
22
  eventType: EVENT_TYPE.TRACK
24
23
  };
@@ -8,7 +8,6 @@ import { getPanelTypeBackgroundNoTokens } from '@atlaskit/editor-common/panel';
8
8
  import { wrapSelectionIn } from '@atlaskit/editor-common/utils';
9
9
  import { NodeSelection } from '@atlaskit/editor-prosemirror/state';
10
10
  import { findParentNodeOfType, findSelectedNodeOfType, removeParentNodeOfType, removeSelectedNode } from '@atlaskit/editor-prosemirror/utils';
11
- import { fg } from '@atlaskit/platform-feature-flags';
12
11
  import { findPanel } from '../pm-plugins/utils/utils';
13
12
  export var removePanel = function removePanel(editorAnalyticsAPI) {
14
13
  return function (state, dispatch) {
@@ -18,7 +17,7 @@ export var removePanel = function removePanel(editorAnalyticsAPI) {
18
17
  action: ACTION.DELETED,
19
18
  actionSubject: ACTION_SUBJECT.PANEL,
20
19
  attributes: {
21
- inputMethod: fg('platform_editor_controls_patch_analytics_2') ? INPUT_METHOD.FLOATING_TB : INPUT_METHOD.TOOLBAR
20
+ inputMethod: INPUT_METHOD.FLOATING_TB
22
21
  },
23
22
  eventType: EVENT_TYPE.TRACK
24
23
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-panel",
3
- "version": "4.4.5",
3
+ "version": "4.4.6",
4
4
  "description": "Panel plugin for @atlaskit/editor-core.",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -32,19 +32,19 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@atlaskit/adf-schema": "^47.6.0",
35
- "@atlaskit/editor-common": "^106.1.0",
35
+ "@atlaskit/editor-common": "^106.3.0",
36
36
  "@atlaskit/editor-palette": "^2.1.0",
37
37
  "@atlaskit/editor-plugin-analytics": "^2.3.0",
38
38
  "@atlaskit/editor-plugin-decorations": "^2.0.0",
39
39
  "@atlaskit/editor-plugin-emoji": "^3.7.0",
40
40
  "@atlaskit/editor-prosemirror": "7.0.0",
41
41
  "@atlaskit/editor-shared-styles": "^3.4.0",
42
- "@atlaskit/emoji": "^69.2.0",
42
+ "@atlaskit/emoji": "^69.3.0",
43
43
  "@atlaskit/icon": "^26.4.0",
44
44
  "@atlaskit/platform-feature-flags": "^1.1.0",
45
45
  "@atlaskit/theme": "^18.0.0",
46
- "@atlaskit/tmp-editor-statsig": "^5.10.0",
47
- "@atlaskit/tokens": "^5.0.0",
46
+ "@atlaskit/tmp-editor-statsig": "^5.14.0",
47
+ "@atlaskit/tokens": "^5.1.0",
48
48
  "@babel/runtime": "^7.0.0",
49
49
  "uuid": "^3.1.0"
50
50
  },
@@ -99,9 +99,6 @@
99
99
  "platform_editor_lcm_nested_panel_icon_fix": {
100
100
  "type": "boolean"
101
101
  },
102
- "platform_editor_controls_patch_analytics_2": {
103
- "type": "boolean"
104
- },
105
102
  "platform_editor_controls_patch_8": {
106
103
  "type": "boolean"
107
104
  }