@atlaskit/editor-plugin-media 1.29.0 → 1.29.2
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,19 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-media
|
|
2
2
|
|
|
3
|
+
## 1.29.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 1.29.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#131711](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/131711)
|
|
14
|
+
[`00a61b846f2a1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/00a61b846f2a1) -
|
|
15
|
+
Cleanup FF platform.editor.media.fix-copy-paste-excel_62g4s
|
|
16
|
+
|
|
3
17
|
## 1.29.0
|
|
4
18
|
|
|
5
19
|
### Minor Changes
|
|
@@ -14,7 +14,6 @@ var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/ge
|
|
|
14
14
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
15
15
|
var _react = _interopRequireDefault(require("react"));
|
|
16
16
|
var _hooks = require("@atlaskit/editor-common/hooks");
|
|
17
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
18
17
|
var _BrowserWrapper = require("./BrowserWrapper");
|
|
19
18
|
var _ClipboardWrapper = require("./ClipboardWrapper");
|
|
20
19
|
var _DropzoneWrapper = require("./DropzoneWrapper");
|
|
@@ -40,7 +39,7 @@ var MediaPicker = function MediaPicker(_ref) {
|
|
|
40
39
|
* so editor-paste-plugin can use stopPropagation,
|
|
41
40
|
* as stopImmediatePropagation could cause race condition issues
|
|
42
41
|
*/
|
|
43
|
-
var container =
|
|
42
|
+
var container = editorParent;
|
|
44
43
|
var clipboard = focusState !== null && focusState !== void 0 && focusState.hasFocus ? /*#__PURE__*/_react.default.createElement(_ClipboardWrapper.ClipboardWrapper, {
|
|
45
44
|
mediaState: mediaState,
|
|
46
45
|
featureFlags: featureFlags,
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { useSharedPluginState } from '@atlaskit/editor-common/hooks';
|
|
4
|
-
import { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
|
5
4
|
import { BrowserWrapper } from './BrowserWrapper';
|
|
6
5
|
import { ClipboardWrapper } from './ClipboardWrapper';
|
|
7
6
|
import { DropzoneWrapper } from './DropzoneWrapper';
|
|
@@ -27,7 +26,7 @@ const MediaPicker = ({
|
|
|
27
26
|
* so editor-paste-plugin can use stopPropagation,
|
|
28
27
|
* as stopImmediatePropagation could cause race condition issues
|
|
29
28
|
*/
|
|
30
|
-
const container =
|
|
29
|
+
const container = editorParent;
|
|
31
30
|
const clipboard = focusState !== null && focusState !== void 0 && focusState.hasFocus ? /*#__PURE__*/React.createElement(ClipboardWrapper, {
|
|
32
31
|
mediaState: mediaState,
|
|
33
32
|
featureFlags: featureFlags,
|
|
@@ -9,7 +9,6 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
|
|
|
9
9
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { useSharedPluginState } from '@atlaskit/editor-common/hooks';
|
|
12
|
-
import { getBooleanFF } from '@atlaskit/platform-feature-flags';
|
|
13
12
|
import { BrowserWrapper } from './BrowserWrapper';
|
|
14
13
|
import { ClipboardWrapper } from './ClipboardWrapper';
|
|
15
14
|
import { DropzoneWrapper } from './DropzoneWrapper';
|
|
@@ -33,7 +32,7 @@ var MediaPicker = function MediaPicker(_ref) {
|
|
|
33
32
|
* so editor-paste-plugin can use stopPropagation,
|
|
34
33
|
* as stopImmediatePropagation could cause race condition issues
|
|
35
34
|
*/
|
|
36
|
-
var container =
|
|
35
|
+
var container = editorParent;
|
|
37
36
|
var clipboard = focusState !== null && focusState !== void 0 && focusState.hasFocus ? /*#__PURE__*/React.createElement(ClipboardWrapper, {
|
|
38
37
|
mediaState: mediaState,
|
|
39
38
|
featureFlags: featureFlags,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-media",
|
|
3
|
-
"version": "1.29.
|
|
3
|
+
"version": "1.29.2",
|
|
4
4
|
"description": "Media plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -36,27 +36,27 @@
|
|
|
36
36
|
"@atlaskit/adf-schema": "^40.8.1",
|
|
37
37
|
"@atlaskit/analytics-namespaced-context": "^6.11.0",
|
|
38
38
|
"@atlaskit/analytics-next": "^10.1.0",
|
|
39
|
-
"@atlaskit/button": "^20.
|
|
40
|
-
"@atlaskit/editor-common": "^87.
|
|
39
|
+
"@atlaskit/button": "^20.1.0",
|
|
40
|
+
"@atlaskit/editor-common": "^87.13.0",
|
|
41
41
|
"@atlaskit/editor-palette": "1.6.0",
|
|
42
42
|
"@atlaskit/editor-plugin-analytics": "^1.7.0",
|
|
43
|
-
"@atlaskit/editor-plugin-annotation": "1.19.
|
|
44
|
-
"@atlaskit/editor-plugin-decorations": "^1.
|
|
45
|
-
"@atlaskit/editor-plugin-editor-disabled": "^1.
|
|
43
|
+
"@atlaskit/editor-plugin-annotation": "1.19.1",
|
|
44
|
+
"@atlaskit/editor-plugin-decorations": "^1.3.0",
|
|
45
|
+
"@atlaskit/editor-plugin-editor-disabled": "^1.3.0",
|
|
46
46
|
"@atlaskit/editor-plugin-editor-viewmode": "^2.1.0",
|
|
47
|
-
"@atlaskit/editor-plugin-floating-toolbar": "^1.
|
|
47
|
+
"@atlaskit/editor-plugin-floating-toolbar": "^1.11.0",
|
|
48
48
|
"@atlaskit/editor-plugin-focus": "^1.3.0",
|
|
49
49
|
"@atlaskit/editor-plugin-grid": "^1.2.0",
|
|
50
50
|
"@atlaskit/editor-plugin-guideline": "^1.2.0",
|
|
51
|
-
"@atlaskit/editor-plugin-selection": "^1.
|
|
52
|
-
"@atlaskit/editor-plugin-width": "^1.
|
|
51
|
+
"@atlaskit/editor-plugin-selection": "^1.4.0",
|
|
52
|
+
"@atlaskit/editor-plugin-width": "^1.3.0",
|
|
53
53
|
"@atlaskit/editor-prosemirror": "5.0.1",
|
|
54
54
|
"@atlaskit/editor-shared-styles": "^2.13.0",
|
|
55
55
|
"@atlaskit/editor-tables": "^2.8.0",
|
|
56
56
|
"@atlaskit/form": "^10.5.0",
|
|
57
|
-
"@atlaskit/icon": "^22.
|
|
58
|
-
"@atlaskit/media-card": "^78.
|
|
59
|
-
"@atlaskit/media-client": "^27.
|
|
57
|
+
"@atlaskit/icon": "^22.14.0",
|
|
58
|
+
"@atlaskit/media-card": "^78.1.0",
|
|
59
|
+
"@atlaskit/media-client": "^27.4.0",
|
|
60
60
|
"@atlaskit/media-client-react": "^2.1.0",
|
|
61
61
|
"@atlaskit/media-common": "^11.4.0",
|
|
62
62
|
"@atlaskit/media-filmstrip": "^47.2.0",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"@atlaskit/primitives": "^12.0.0",
|
|
68
68
|
"@atlaskit/textfield": "^6.5.0",
|
|
69
69
|
"@atlaskit/theme": "^13.0.0",
|
|
70
|
-
"@atlaskit/tokens": "^1.
|
|
70
|
+
"@atlaskit/tokens": "^1.59.0",
|
|
71
71
|
"@atlaskit/tooltip": "^18.7.0",
|
|
72
72
|
"@babel/runtime": "^7.0.0",
|
|
73
73
|
"@emotion/react": "^11.7.1",
|
|
@@ -132,9 +132,6 @@
|
|
|
132
132
|
"type": "boolean",
|
|
133
133
|
"referenceOnly": "true"
|
|
134
134
|
},
|
|
135
|
-
"platform.editor.media.fix-copy-paste-excel_62g4s": {
|
|
136
|
-
"type": "boolean"
|
|
137
|
-
},
|
|
138
135
|
"platform.editor.media.preview-in-full-page": {
|
|
139
136
|
"type": "boolean"
|
|
140
137
|
},
|