@atlaskit/editor-plugin-media 1.42.7 → 1.42.9
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 +15 -0
- package/dist/cjs/plugin.js +1 -0
- package/dist/es2019/plugin.js +1 -0
- package/dist/esm/plugin.js +1 -0
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-media
|
|
2
2
|
|
|
3
|
+
## 1.42.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#171350](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/171350)
|
|
8
|
+
[`436dfb28a4833`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/436dfb28a4833) -
|
|
9
|
+
[ux] Support disabled type-ahead items while user is offline for media, emoji, and mentions.
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 1.42.8
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 1.42.7
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
package/dist/cjs/plugin.js
CHANGED
|
@@ -307,6 +307,7 @@ var mediaPlugin = exports.mediaPlugin = function mediaPlugin(_ref3) {
|
|
|
307
307
|
icon: function icon() {
|
|
308
308
|
return /*#__PURE__*/_react.default.createElement(_quickInsert.IconImages, null);
|
|
309
309
|
},
|
|
310
|
+
isDisabledOffline: true,
|
|
310
311
|
action: function action(insert, state) {
|
|
311
312
|
var _api$analytics4;
|
|
312
313
|
var pluginState = _main.stateKey.getState(state);
|
package/dist/es2019/plugin.js
CHANGED
|
@@ -304,6 +304,7 @@ export const mediaPlugin = ({
|
|
|
304
304
|
priority: 400,
|
|
305
305
|
keywords: ['attachment', 'gif', 'media', 'picture', 'image', 'video', 'file'],
|
|
306
306
|
icon: () => /*#__PURE__*/React.createElement(IconImages, null),
|
|
307
|
+
isDisabledOffline: true,
|
|
307
308
|
action(insert, state) {
|
|
308
309
|
var _api$analytics4;
|
|
309
310
|
const pluginState = stateKey.getState(state);
|
package/dist/esm/plugin.js
CHANGED
|
@@ -297,6 +297,7 @@ export var mediaPlugin = function mediaPlugin(_ref3) {
|
|
|
297
297
|
icon: function icon() {
|
|
298
298
|
return /*#__PURE__*/React.createElement(IconImages, null);
|
|
299
299
|
},
|
|
300
|
+
isDisabledOffline: true,
|
|
300
301
|
action: function action(insert, state) {
|
|
301
302
|
var _api$analytics4;
|
|
302
303
|
var pluginState = stateKey.getState(state);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-media",
|
|
3
|
-
"version": "1.42.
|
|
3
|
+
"version": "1.42.9",
|
|
4
4
|
"description": "Media plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@atlaskit/analytics-namespaced-context": "^6.12.0",
|
|
37
37
|
"@atlaskit/analytics-next": "^10.1.0",
|
|
38
38
|
"@atlaskit/button": "^20.3.0",
|
|
39
|
-
"@atlaskit/editor-common": "^95.
|
|
39
|
+
"@atlaskit/editor-common": "^95.10.0",
|
|
40
40
|
"@atlaskit/editor-palette": "1.6.3",
|
|
41
41
|
"@atlaskit/editor-plugin-analytics": "^1.10.0",
|
|
42
42
|
"@atlaskit/editor-plugin-annotation": "1.25.4",
|
|
@@ -49,25 +49,25 @@
|
|
|
49
49
|
"@atlaskit/editor-plugin-guideline": "^1.2.0",
|
|
50
50
|
"@atlaskit/editor-plugin-selection": "^1.5.0",
|
|
51
51
|
"@atlaskit/editor-plugin-width": "^1.3.0",
|
|
52
|
-
"@atlaskit/editor-prosemirror": "6.
|
|
52
|
+
"@atlaskit/editor-prosemirror": "6.2.1",
|
|
53
53
|
"@atlaskit/editor-shared-styles": "^3.2.0",
|
|
54
54
|
"@atlaskit/editor-tables": "^2.8.0",
|
|
55
|
-
"@atlaskit/form": "^10.
|
|
56
|
-
"@atlaskit/icon": "^22.
|
|
57
|
-
"@atlaskit/media-card": "^78.
|
|
58
|
-
"@atlaskit/media-client": "^28.
|
|
59
|
-
"@atlaskit/media-client-react": "^2.
|
|
55
|
+
"@atlaskit/form": "^10.6.0",
|
|
56
|
+
"@atlaskit/icon": "^22.28.0",
|
|
57
|
+
"@atlaskit/media-card": "^78.15.0",
|
|
58
|
+
"@atlaskit/media-client": "^28.5.0",
|
|
59
|
+
"@atlaskit/media-client-react": "^2.4.0",
|
|
60
60
|
"@atlaskit/media-common": "^11.7.0",
|
|
61
|
-
"@atlaskit/media-filmstrip": "^48.
|
|
61
|
+
"@atlaskit/media-filmstrip": "^48.1.0",
|
|
62
62
|
"@atlaskit/media-picker": "^67.0.0",
|
|
63
|
-
"@atlaskit/media-ui": "^
|
|
63
|
+
"@atlaskit/media-ui": "^27.0.0",
|
|
64
64
|
"@atlaskit/media-viewer": "^49.4.0",
|
|
65
65
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
66
66
|
"@atlaskit/primitives": "^13.3.0",
|
|
67
67
|
"@atlaskit/textfield": "^6.6.0",
|
|
68
68
|
"@atlaskit/theme": "^14.0.0",
|
|
69
69
|
"@atlaskit/tmp-editor-statsig": "^2.21.0",
|
|
70
|
-
"@atlaskit/tokens": "^2.
|
|
70
|
+
"@atlaskit/tokens": "^2.4.0",
|
|
71
71
|
"@atlaskit/tooltip": "^18.9.0",
|
|
72
72
|
"@babel/runtime": "^7.0.0",
|
|
73
73
|
"@emotion/react": "^11.7.1",
|