@atlaskit/editor-plugin-media 2.4.0 → 2.4.1

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-media
2
2
 
3
+ ## 2.4.1
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
  ## 2.4.0
4
13
 
5
14
  ### Minor Changes
@@ -799,12 +799,12 @@ var floatingToolbar = exports.floatingToolbar = function floatingToolbar(state,
799
799
  });
800
800
  }
801
801
  var hoverDecorationProps = function hoverDecorationProps(nodeType, className) {
802
- return (0, _platformFeatureFlags.fg)('platform_editor_controls_patch_1') ? {
802
+ return {
803
803
  onMouseEnter: hoverDecoration === null || hoverDecoration === void 0 ? void 0 : hoverDecoration(nodeType, true, className),
804
804
  onMouseLeave: hoverDecoration === null || hoverDecoration === void 0 ? void 0 : hoverDecoration(nodeType, false, className),
805
805
  onFocus: hoverDecoration === null || hoverDecoration === void 0 ? void 0 : hoverDecoration(nodeType, true, className),
806
806
  onBlur: hoverDecoration === null || hoverDecoration === void 0 ? void 0 : hoverDecoration(nodeType, false, className)
807
- } : undefined;
807
+ };
808
808
  };
809
809
  items.push({
810
810
  type: 'overflow-dropdown',
@@ -797,12 +797,12 @@ export const floatingToolbar = (state, intl, options = {}, pluginInjectionApi) =
797
797
  type: 'separator'
798
798
  });
799
799
  }
800
- const hoverDecorationProps = (nodeType, className) => fg('platform_editor_controls_patch_1') ? {
800
+ const hoverDecorationProps = (nodeType, className) => ({
801
801
  onMouseEnter: hoverDecoration === null || hoverDecoration === void 0 ? void 0 : hoverDecoration(nodeType, true, className),
802
802
  onMouseLeave: hoverDecoration === null || hoverDecoration === void 0 ? void 0 : hoverDecoration(nodeType, false, className),
803
803
  onFocus: hoverDecoration === null || hoverDecoration === void 0 ? void 0 : hoverDecoration(nodeType, true, className),
804
804
  onBlur: hoverDecoration === null || hoverDecoration === void 0 ? void 0 : hoverDecoration(nodeType, false, className)
805
- } : undefined;
805
+ });
806
806
  items.push({
807
807
  type: 'overflow-dropdown',
808
808
  id: 'media',
@@ -789,12 +789,12 @@ export var floatingToolbar = function floatingToolbar(state, intl) {
789
789
  });
790
790
  }
791
791
  var hoverDecorationProps = function hoverDecorationProps(nodeType, className) {
792
- return fg('platform_editor_controls_patch_1') ? {
792
+ return {
793
793
  onMouseEnter: hoverDecoration === null || hoverDecoration === void 0 ? void 0 : hoverDecoration(nodeType, true, className),
794
794
  onMouseLeave: hoverDecoration === null || hoverDecoration === void 0 ? void 0 : hoverDecoration(nodeType, false, className),
795
795
  onFocus: hoverDecoration === null || hoverDecoration === void 0 ? void 0 : hoverDecoration(nodeType, true, className),
796
796
  onBlur: hoverDecoration === null || hoverDecoration === void 0 ? void 0 : hoverDecoration(nodeType, false, className)
797
- } : undefined;
797
+ };
798
798
  };
799
799
  items.push({
800
800
  type: 'overflow-dropdown',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-media",
3
- "version": "2.4.0",
3
+ "version": "2.4.1",
4
4
  "description": "Media plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -174,9 +174,6 @@
174
174
  "platform_editor_multi_images_overridden_upload_fix": {
175
175
  "type": "boolean"
176
176
  },
177
- "platform_editor_controls_patch_1": {
178
- "type": "boolean"
179
- },
180
177
  "platform_editor_remove_media_inline_feature_flag": {
181
178
  "type": "boolean"
182
179
  },