@atlaskit/editor-plugin-media 18.0.2 → 18.0.3

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,13 @@
1
1
  # @atlaskit/editor-plugin-media
2
2
 
3
+ ## 18.0.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`53ad40b08a887`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/53ad40b08a887) -
8
+ Clean up platform_editor_video_caption_commit
9
+ - Updated dependencies
10
+
3
11
  ## 18.0.2
4
12
 
5
13
  ### Patch Changes
@@ -115,7 +115,7 @@ var MediaNode = exports.MediaNode = /*#__PURE__*/function (_Component) {
115
115
  });
116
116
  (0, _defineProperty2.default)(_this, "getMediaSettings", (0, _memoizeOne.default)(function (viewAndUploadMediaClientConfig, isViewOnly) {
117
117
  return {
118
- canUpdateVideoCaptions: (0, _fg.fg)('platform_media_video_captions') ? (0, _fg.fg)('platform_editor_video_caption_commit') ? !!viewAndUploadMediaClientConfig && !isViewOnly : !!viewAndUploadMediaClientConfig : false
118
+ canUpdateVideoCaptions: (0, _fg.fg)('platform_media_video_captions') ? !!viewAndUploadMediaClientConfig && !isViewOnly : false
119
119
  };
120
120
  }));
121
121
  (0, _defineProperty2.default)(_this, "onPreviewRender", function (fileId) {
@@ -85,7 +85,7 @@ export class MediaNode extends Component {
85
85
  });
86
86
  _defineProperty(this, "getMediaSettings", memoizeOne((viewAndUploadMediaClientConfig, isViewOnly) => {
87
87
  return {
88
- canUpdateVideoCaptions: fg('platform_media_video_captions') ? fg('platform_editor_video_caption_commit') ? !!viewAndUploadMediaClientConfig && !isViewOnly : !!viewAndUploadMediaClientConfig : false
88
+ canUpdateVideoCaptions: fg('platform_media_video_captions') ? !!viewAndUploadMediaClientConfig && !isViewOnly : false
89
89
  };
90
90
  }));
91
91
  _defineProperty(this, "onPreviewRender", fileId => {
@@ -107,7 +107,7 @@ export var MediaNode = /*#__PURE__*/function (_Component) {
107
107
  });
108
108
  _defineProperty(_this, "getMediaSettings", memoizeOne(function (viewAndUploadMediaClientConfig, isViewOnly) {
109
109
  return {
110
- canUpdateVideoCaptions: fg('platform_media_video_captions') ? fg('platform_editor_video_caption_commit') ? !!viewAndUploadMediaClientConfig && !isViewOnly : !!viewAndUploadMediaClientConfig : false
110
+ canUpdateVideoCaptions: fg('platform_media_video_captions') ? !!viewAndUploadMediaClientConfig && !isViewOnly : false
111
111
  };
112
112
  }));
113
113
  _defineProperty(_this, "onPreviewRender", function (fileId) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-media",
3
- "version": "18.0.2",
3
+ "version": "18.0.3",
4
4
  "description": "Media plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -23,7 +23,7 @@
23
23
  "dependencies": {
24
24
  "@atlaskit/adf-schema": "^57.1.0",
25
25
  "@atlaskit/analytics-namespaced-context": "^8.1.0",
26
- "@atlaskit/analytics-next": "^12.3.0",
26
+ "@atlaskit/analytics-next": "^12.4.0",
27
27
  "@atlaskit/button": "^25.2.0",
28
28
  "@atlaskit/editor-palette": "^3.4.0",
29
29
  "@atlaskit/editor-plugin-analytics": "^16.0.0",
@@ -72,7 +72,7 @@
72
72
  "uuid": "^3.1.0"
73
73
  },
74
74
  "peerDependencies": {
75
- "@atlaskit/editor-common": "^120.2.0",
75
+ "@atlaskit/editor-common": "^120.3.0",
76
76
  "@atlaskit/media-core": "^38.0.0",
77
77
  "react": "^18.2.0 || ^19.2.0",
78
78
  "react-dom": "^18.2.0 || ^19.2.0",
@@ -142,9 +142,6 @@
142
142
  "platform_media_video_captions": {
143
143
  "type": "boolean"
144
144
  },
145
- "platform_editor_video_caption_commit": {
146
- "type": "boolean"
147
- },
148
145
  "confluence_fe_create_inline_comment_exp_coverage_2": {
149
146
  "type": "boolean"
150
147
  },