@atlaskit/editor-plugin-panel 4.3.6 → 4.3.7

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.3.7
4
+
5
+ ### Patch Changes
6
+
7
+ - [#139216](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/139216)
8
+ [`e8f596d2b1910`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e8f596d2b1910) -
9
+ [ux] Cleaned up platform_editor_controls_patch_1 FG
10
+ - Updated dependencies
11
+
3
12
  ## 4.3.6
4
13
 
5
14
  ### Patch Changes
@@ -26,7 +26,6 @@ var _successEditorSuccess = _interopRequireDefault(require("@atlaskit/icon/core/
26
26
  var _warningEditorWarning = _interopRequireDefault(require("@atlaskit/icon/core/migration/warning--editor-warning"));
27
27
  var _remove = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/remove"));
28
28
  var _removeEmoji = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/remove-emoji"));
29
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
30
29
  var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
31
30
  var _actions = require("../editor-actions/actions");
32
31
  var _utils2 = require("../pm-plugins/utils/utils");
@@ -287,12 +286,12 @@ var getToolbarItems = exports.getToolbarItems = function getToolbarItems(formatM
287
286
  });
288
287
  } else {
289
288
  var hoverDecorationProps = function hoverDecorationProps(nodeType, className) {
290
- return (0, _platformFeatureFlags.fg)('platform_editor_controls_patch_1') ? {
289
+ return {
291
290
  onMouseEnter: hoverDecoration === null || hoverDecoration === void 0 ? void 0 : hoverDecoration(nodeType, true, className),
292
291
  onMouseLeave: hoverDecoration === null || hoverDecoration === void 0 ? void 0 : hoverDecoration(nodeType, false, className),
293
292
  onFocus: hoverDecoration === null || hoverDecoration === void 0 ? void 0 : hoverDecoration(nodeType, true, className),
294
293
  onBlur: hoverDecoration === null || hoverDecoration === void 0 ? void 0 : hoverDecoration(nodeType, false, className)
295
- } : undefined;
294
+ };
296
295
  };
297
296
  var overflowMenuConfig = [{
298
297
  type: 'separator',
@@ -17,7 +17,6 @@ import SuccessIcon from '@atlaskit/icon/core/migration/success--editor-success';
17
17
  import WarningIcon from '@atlaskit/icon/core/migration/warning--editor-warning';
18
18
  import RemoveIcon from '@atlaskit/icon/glyph/editor/remove';
19
19
  import RemoveEmojiIcon from '@atlaskit/icon/glyph/editor/remove-emoji';
20
- import { fg } from '@atlaskit/platform-feature-flags';
21
20
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
22
21
  import { changePanelType, removePanel } from '../editor-actions/actions';
23
22
  import { findPanel } from '../pm-plugins/utils/utils';
@@ -266,12 +265,12 @@ export const getToolbarItems = (formatMessage, panelNodeType, isCustomPanelEnabl
266
265
  tabIndex: null
267
266
  });
268
267
  } else {
269
- const hoverDecorationProps = (nodeType, className) => fg('platform_editor_controls_patch_1') ? {
268
+ const hoverDecorationProps = (nodeType, className) => ({
270
269
  onMouseEnter: hoverDecoration === null || hoverDecoration === void 0 ? void 0 : hoverDecoration(nodeType, true, className),
271
270
  onMouseLeave: hoverDecoration === null || hoverDecoration === void 0 ? void 0 : hoverDecoration(nodeType, false, className),
272
271
  onFocus: hoverDecoration === null || hoverDecoration === void 0 ? void 0 : hoverDecoration(nodeType, true, className),
273
272
  onBlur: hoverDecoration === null || hoverDecoration === void 0 ? void 0 : hoverDecoration(nodeType, false, className)
274
- } : undefined;
273
+ });
275
274
  const overflowMenuConfig = [{
276
275
  type: 'separator',
277
276
  fullHeight: true
@@ -20,7 +20,6 @@ import SuccessIcon from '@atlaskit/icon/core/migration/success--editor-success';
20
20
  import WarningIcon from '@atlaskit/icon/core/migration/warning--editor-warning';
21
21
  import RemoveIcon from '@atlaskit/icon/glyph/editor/remove';
22
22
  import RemoveEmojiIcon from '@atlaskit/icon/glyph/editor/remove-emoji';
23
- import { fg } from '@atlaskit/platform-feature-flags';
24
23
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
25
24
  import { changePanelType, removePanel } from '../editor-actions/actions';
26
25
  import { findPanel } from '../pm-plugins/utils/utils';
@@ -277,12 +276,12 @@ export var getToolbarItems = function getToolbarItems(formatMessage, panelNodeTy
277
276
  });
278
277
  } else {
279
278
  var hoverDecorationProps = function hoverDecorationProps(nodeType, className) {
280
- return fg('platform_editor_controls_patch_1') ? {
279
+ return {
281
280
  onMouseEnter: hoverDecoration === null || hoverDecoration === void 0 ? void 0 : hoverDecoration(nodeType, true, className),
282
281
  onMouseLeave: hoverDecoration === null || hoverDecoration === void 0 ? void 0 : hoverDecoration(nodeType, false, className),
283
282
  onFocus: hoverDecoration === null || hoverDecoration === void 0 ? void 0 : hoverDecoration(nodeType, true, className),
284
283
  onBlur: hoverDecoration === null || hoverDecoration === void 0 ? void 0 : hoverDecoration(nodeType, false, className)
285
- } : undefined;
284
+ };
286
285
  };
287
286
  var overflowMenuConfig = [{
288
287
  type: 'separator',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-panel",
3
- "version": "4.3.6",
3
+ "version": "4.3.7",
4
4
  "description": "Panel plugin for @atlaskit/editor-core.",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -32,7 +32,7 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@atlaskit/adf-schema": "^47.6.0",
35
- "@atlaskit/editor-common": "^103.3.0",
35
+ "@atlaskit/editor-common": "^103.4.0",
36
36
  "@atlaskit/editor-palette": "^2.1.0",
37
37
  "@atlaskit/editor-plugin-analytics": "^2.2.0",
38
38
  "@atlaskit/editor-plugin-decorations": "^2.0.0",
@@ -99,9 +99,6 @@
99
99
  "platform_editor_nested_dnd_styles_changes": {
100
100
  "type": "boolean"
101
101
  },
102
- "platform_editor_controls_patch_1": {
103
- "type": "boolean"
104
- },
105
102
  "platform_editor_lcm_nested_panel_icon_fix": {
106
103
  "type": "boolean"
107
104
  }