@atlaskit/editor-plugin-extension 5.2.3 → 5.2.4

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-extension
2
2
 
3
+ ## 5.2.4
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
  ## 5.2.3
4
13
 
5
14
  ### Patch Changes
@@ -311,12 +311,12 @@ var getToolbarConfig = exports.getToolbarConfig = function getToolbarConfig(_ref
311
311
  }
312
312
  var hoverDecorationProps = function hoverDecorationProps(nodeType, className) {
313
313
  var _hoverDecoration, _hoverDecoration2, _hoverDecoration3, _hoverDecoration4;
314
- return (0, _platformFeatureFlags.fg)('platform_editor_controls_patch_1') ? {
314
+ return {
315
315
  onMouseEnter: (_hoverDecoration = hoverDecoration) === null || _hoverDecoration === void 0 ? void 0 : _hoverDecoration(nodeType, true, className),
316
316
  onMouseLeave: (_hoverDecoration2 = hoverDecoration) === null || _hoverDecoration2 === void 0 ? void 0 : _hoverDecoration2(nodeType, false, className),
317
317
  onFocus: (_hoverDecoration3 = hoverDecoration) === null || _hoverDecoration3 === void 0 ? void 0 : _hoverDecoration3(nodeType, true, className),
318
318
  onBlur: (_hoverDecoration4 = hoverDecoration) === null || _hoverDecoration4 === void 0 ? void 0 : _hoverDecoration4(nodeType, false, className)
319
- } : undefined;
319
+ };
320
320
  };
321
321
  return {
322
322
  title: 'Extension floating controls',
@@ -307,12 +307,12 @@ export const getToolbarConfig = ({
307
307
  }
308
308
  const hoverDecorationProps = (nodeType, className) => {
309
309
  var _hoverDecoration, _hoverDecoration2, _hoverDecoration3, _hoverDecoration4;
310
- return fg('platform_editor_controls_patch_1') ? {
310
+ return {
311
311
  onMouseEnter: (_hoverDecoration = hoverDecoration) === null || _hoverDecoration === void 0 ? void 0 : _hoverDecoration(nodeType, true, className),
312
312
  onMouseLeave: (_hoverDecoration2 = hoverDecoration) === null || _hoverDecoration2 === void 0 ? void 0 : _hoverDecoration2(nodeType, false, className),
313
313
  onFocus: (_hoverDecoration3 = hoverDecoration) === null || _hoverDecoration3 === void 0 ? void 0 : _hoverDecoration3(nodeType, true, className),
314
314
  onBlur: (_hoverDecoration4 = hoverDecoration) === null || _hoverDecoration4 === void 0 ? void 0 : _hoverDecoration4(nodeType, false, className)
315
- } : undefined;
315
+ };
316
316
  };
317
317
  return {
318
318
  title: 'Extension floating controls',
@@ -305,12 +305,12 @@ export var getToolbarConfig = function getToolbarConfig(_ref) {
305
305
  }
306
306
  var hoverDecorationProps = function hoverDecorationProps(nodeType, className) {
307
307
  var _hoverDecoration, _hoverDecoration2, _hoverDecoration3, _hoverDecoration4;
308
- return fg('platform_editor_controls_patch_1') ? {
308
+ return {
309
309
  onMouseEnter: (_hoverDecoration = hoverDecoration) === null || _hoverDecoration === void 0 ? void 0 : _hoverDecoration(nodeType, true, className),
310
310
  onMouseLeave: (_hoverDecoration2 = hoverDecoration) === null || _hoverDecoration2 === void 0 ? void 0 : _hoverDecoration2(nodeType, false, className),
311
311
  onFocus: (_hoverDecoration3 = hoverDecoration) === null || _hoverDecoration3 === void 0 ? void 0 : _hoverDecoration3(nodeType, true, className),
312
312
  onBlur: (_hoverDecoration4 = hoverDecoration) === null || _hoverDecoration4 === void 0 ? void 0 : _hoverDecoration4(nodeType, false, className)
313
- } : undefined;
313
+ };
314
314
  };
315
315
  return {
316
316
  title: 'Extension floating controls',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-extension",
3
- "version": "5.2.3",
3
+ "version": "5.2.4",
4
4
  "description": "editor-plugin-extension plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -32,13 +32,13 @@
32
32
  "@atlaskit/button": "^23.0.0",
33
33
  "@atlaskit/checkbox": "^17.0.0",
34
34
  "@atlaskit/datetime-picker": "^17.0.0",
35
- "@atlaskit/editor-common": "^103.3.0",
35
+ "@atlaskit/editor-common": "^103.4.0",
36
36
  "@atlaskit/editor-json-transformer": "^8.24.0",
37
37
  "@atlaskit/editor-plugin-analytics": "^2.2.0",
38
- "@atlaskit/editor-plugin-context-identifier": "^2.0.0",
38
+ "@atlaskit/editor-plugin-context-identifier": "^2.1.0",
39
39
  "@atlaskit/editor-plugin-context-panel": "^4.0.0",
40
40
  "@atlaskit/editor-plugin-decorations": "^2.0.0",
41
- "@atlaskit/editor-plugin-feature-flags": "^1.3.0",
41
+ "@atlaskit/editor-plugin-feature-flags": "^1.4.0",
42
42
  "@atlaskit/editor-plugin-width": "^3.0.0",
43
43
  "@atlaskit/editor-prosemirror": "7.0.0",
44
44
  "@atlaskit/editor-shared-styles": "^3.4.0",
@@ -121,9 +121,6 @@
121
121
  "platform_editor_extension_deprecation_status": {
122
122
  "type": "boolean"
123
123
  },
124
- "platform_editor_controls_patch_1": {
125
- "type": "boolean"
126
- },
127
124
  "platform_editor_controls_patch_2": {
128
125
  "type": "boolean"
129
126
  }