@atlaskit/editor-plugin-media 0.3.9 → 0.3.11

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,18 @@
1
1
  # @atlaskit/editor-plugin-media
2
2
 
3
+ ## 0.3.11
4
+
5
+ ### Patch Changes
6
+
7
+ - [#42757](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42757) [`73c66d2c6db`](https://bitbucket.org/atlassian/atlassian-frontend/commits/73c66d2c6db) - remove media securedClipboard FF
8
+ - Updated dependencies
9
+
10
+ ## 0.3.10
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies
15
+
3
16
  ## 0.3.9
4
17
 
5
18
  ### Patch Changes
@@ -20,13 +20,11 @@ var ClipboardWrapper = exports.ClipboardWrapper = function ClipboardWrapper(_ref
20
20
  config = _ref2.config,
21
21
  pickerFacadeInstance = _ref2.pickerFacadeInstance;
22
22
  var clipboardConfig = Object.assign({}, config);
23
- if ((featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.securedClipboard) === true) {
24
- clipboardConfig.container = container;
25
- clipboardConfig.onPaste = function (event) {
26
- event.stopPropagation();
27
- return false;
28
- };
29
- }
23
+ clipboardConfig.container = container;
24
+ clipboardConfig.onPaste = function (event) {
25
+ event.stopPropagation();
26
+ return false;
27
+ };
30
28
  return /*#__PURE__*/_react.default.createElement(_mediaPicker.Clipboard, {
31
29
  mediaClientConfig: mediaClientConfig,
32
30
  config: clipboardConfig,
@@ -14,13 +14,11 @@ export const ClipboardWrapper = ({
14
14
  pickerFacadeInstance
15
15
  }) => {
16
16
  const clipboardConfig = Object.assign({}, config);
17
- if ((featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.securedClipboard) === true) {
18
- clipboardConfig.container = container;
19
- clipboardConfig.onPaste = event => {
20
- event.stopPropagation();
21
- return false;
22
- };
23
- }
17
+ clipboardConfig.container = container;
18
+ clipboardConfig.onPaste = event => {
19
+ event.stopPropagation();
20
+ return false;
21
+ };
24
22
  return /*#__PURE__*/React.createElement(Clipboard, {
25
23
  mediaClientConfig: mediaClientConfig,
26
24
  config: clipboardConfig,
@@ -13,13 +13,11 @@ export var ClipboardWrapper = function ClipboardWrapper(_ref) {
13
13
  config = _ref2.config,
14
14
  pickerFacadeInstance = _ref2.pickerFacadeInstance;
15
15
  var clipboardConfig = Object.assign({}, config);
16
- if ((featureFlags === null || featureFlags === void 0 ? void 0 : featureFlags.securedClipboard) === true) {
17
- clipboardConfig.container = container;
18
- clipboardConfig.onPaste = function (event) {
19
- event.stopPropagation();
20
- return false;
21
- };
22
- }
16
+ clipboardConfig.container = container;
17
+ clipboardConfig.onPaste = function (event) {
18
+ event.stopPropagation();
19
+ return false;
20
+ };
23
21
  return /*#__PURE__*/React.createElement(Clipboard, {
24
22
  mediaClientConfig: mediaClientConfig,
25
23
  config: clipboardConfig,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-media",
3
- "version": "0.3.9",
3
+ "version": "0.3.11",
4
4
  "description": "Media plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -35,10 +35,10 @@
35
35
  "@atlaskit/adf-schema": "^32.0.0",
36
36
  "@atlaskit/analytics-namespaced-context": "^6.7.0",
37
37
  "@atlaskit/analytics-next": "^9.1.0",
38
- "@atlaskit/button": "^16.11.0",
39
- "@atlaskit/editor-common": "^76.15.0",
38
+ "@atlaskit/button": "^16.13.0",
39
+ "@atlaskit/editor-common": "^76.18.0",
40
40
  "@atlaskit/editor-palette": "1.5.1",
41
- "@atlaskit/editor-plugin-analytics": "^0.2.0",
41
+ "@atlaskit/editor-plugin-analytics": "^0.3.0",
42
42
  "@atlaskit/editor-plugin-decorations": "^0.2.0",
43
43
  "@atlaskit/editor-plugin-editor-disabled": "^0.2.0",
44
44
  "@atlaskit/editor-plugin-feature-flags": "^1.0.0",
@@ -55,7 +55,7 @@
55
55
  "@atlaskit/media-card": "^77.2.0",
56
56
  "@atlaskit/media-client": "^25.0.0",
57
57
  "@atlaskit/media-client-react": "^1.3.0",
58
- "@atlaskit/media-common": "^9.0.0",
58
+ "@atlaskit/media-common": "^10.0.0",
59
59
  "@atlaskit/media-filmstrip": "^47.0.0",
60
60
  "@atlaskit/media-picker": "^66.2.0",
61
61
  "@atlaskit/media-ui": "^25.0.0",