@atlaskit/editor-plugin-media 8.4.8 → 8.4.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 +24 -0
- package/dist/cjs/nodeviews/toDOM-fixes/mediaSingle.js +11 -2
- package/dist/cjs/pm-plugins/utils/media-files.js +12 -22
- package/dist/es2019/nodeviews/toDOM-fixes/mediaSingle.js +11 -2
- package/dist/es2019/pm-plugins/utils/media-files.js +12 -22
- package/dist/esm/nodeviews/toDOM-fixes/mediaSingle.js +11 -2
- package/dist/esm/pm-plugins/utils/media-files.js +12 -22
- package/package.json +8 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-media
|
|
2
2
|
|
|
3
|
+
## 8.4.11
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`a05464ea42678`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a05464ea42678) -
|
|
8
|
+
EDITOR-2791 bump adf-schema
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 8.4.10
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [`98517a05bfada`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/98517a05bfada) -
|
|
16
|
+
fix styling for full-width and wide media single
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
19
|
+
## 8.4.9
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- [`768cc7c86e0af`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/768cc7c86e0af) -
|
|
24
|
+
[FG-CLEANUP] platform_editor_track_media_fail_to_insert
|
|
25
|
+
- Updated dependencies
|
|
26
|
+
|
|
3
27
|
## 8.4.8
|
|
4
28
|
|
|
5
29
|
### Patch Changes
|
|
@@ -9,6 +9,7 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
|
9
9
|
var _adfSchema = require("@atlaskit/adf-schema");
|
|
10
10
|
var _lazyNodeView = require("@atlaskit/editor-common/lazy-node-view");
|
|
11
11
|
var _colors = require("@atlaskit/theme/colors");
|
|
12
|
+
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
12
13
|
var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
|
13
14
|
var _toDOMAttrs = require("./toDOMAttrs");
|
|
14
15
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -55,9 +56,17 @@ var mediaWidthCSSCalc = exports.mediaWidthCSSCalc = function mediaWidthCSSCalc(_
|
|
|
55
56
|
} else if (shouldHardCodePixelWidth) {
|
|
56
57
|
cssCalc = "min(".concat(mediaSingleDimensionWidth, "px, ").concat(fullContainerWidth, ")");
|
|
57
58
|
} else if (shouldUseBreakoutWideLogic) {
|
|
58
|
-
|
|
59
|
+
if ((0, _expValEquals.expValEquals)('platform_editor_media_vc_fixes', 'isEnabled', true)) {
|
|
60
|
+
cssCalc = "max(var(--ak-editor--line-length), min(var(--ak-editor--breakout-wide-layout-width), var(--ak-editor-max-container-width)))";
|
|
61
|
+
} else {
|
|
62
|
+
cssCalc = "max(var(--ak-editor--line-length), min(var(--ak-editor--breakout-wide-layout-width), calc(100cqw - var(--ak-editor--breakout-full-page-guttering-padding))))";
|
|
63
|
+
}
|
|
59
64
|
} else if (shouldUseBreakoutFullWidthLogic) {
|
|
60
|
-
|
|
65
|
+
if ((0, _expValEquals.expValEquals)('platform_editor_media_vc_fixes', 'isEnabled', true)) {
|
|
66
|
+
cssCalc = "max(var(--ak-editor--line-length), min(var(--ak-editor--full-width-layout-width), var(--ak-editor-max-container-width)))";
|
|
67
|
+
} else {
|
|
68
|
+
cssCalc = "max(var(--ak-editor--line-length), min(var(--ak-editor--full-width-layout-width), calc(100cqw - var(--ak-editor--breakout-full-page-guttering-padding))))";
|
|
69
|
+
}
|
|
61
70
|
} else {
|
|
62
71
|
cssCalc = "max(min(".concat(baseWidth, "px, min(100cqw, 100%)), ").concat(GUTTER_SIZE, ")");
|
|
63
72
|
}
|
|
@@ -11,7 +11,6 @@ var _utils = require("@atlaskit/editor-common/utils");
|
|
|
11
11
|
var _model = require("@atlaskit/editor-prosemirror/model");
|
|
12
12
|
var _transform = require("@atlaskit/editor-prosemirror/transform");
|
|
13
13
|
var _utils2 = require("@atlaskit/editor-prosemirror/utils");
|
|
14
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
15
14
|
var _isType = require("./is-type");
|
|
16
15
|
var _mediaCommon = require("./media-common");
|
|
17
16
|
var _mediaInline2 = require("./media-inline");
|
|
@@ -166,33 +165,24 @@ var insertMediaInlineNode = exports.insertMediaInlineNode = function insertMedia
|
|
|
166
165
|
|
|
167
166
|
// Delete the selection if a selection is made
|
|
168
167
|
var deleteRange = findDeleteRange(state);
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
try {
|
|
172
|
-
if (!deleteRange) {
|
|
173
|
-
tr.insert(pos, content);
|
|
174
|
-
} else {
|
|
175
|
-
tr.insert(pos, content).deleteRange(deleteRange.start, deleteRange.end);
|
|
176
|
-
}
|
|
177
|
-
if (hasInsertedNodeOfType(tr, 'mediaInline')) {
|
|
178
|
-
payload = getInsertMediaInlineAnalytics(mediaState, inputMethod, insertMediaVia);
|
|
179
|
-
} else {
|
|
180
|
-
payload = getFailToInsertAnalytics(mediaState, _analytics.ACTION_SUBJECT_ID.MEDIA_INLINE, inputMethod, insertMediaVia);
|
|
181
|
-
}
|
|
182
|
-
} catch (error) {
|
|
183
|
-
payload = getFailToInsertAnalytics(mediaState, _analytics.ACTION_SUBJECT_ID.MEDIA_INLINE, inputMethod, insertMediaVia,
|
|
184
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
185
|
-
error.toString());
|
|
186
|
-
}
|
|
187
|
-
editorAnalyticsAPI === null || editorAnalyticsAPI === void 0 || editorAnalyticsAPI.attachAnalyticsEvent(payload)(tr);
|
|
188
|
-
} else {
|
|
168
|
+
var payload;
|
|
169
|
+
try {
|
|
189
170
|
if (!deleteRange) {
|
|
190
171
|
tr.insert(pos, content);
|
|
191
172
|
} else {
|
|
192
173
|
tr.insert(pos, content).deleteRange(deleteRange.start, deleteRange.end);
|
|
193
174
|
}
|
|
194
|
-
|
|
175
|
+
if (hasInsertedNodeOfType(tr, 'mediaInline')) {
|
|
176
|
+
payload = getInsertMediaInlineAnalytics(mediaState, inputMethod, insertMediaVia);
|
|
177
|
+
} else {
|
|
178
|
+
payload = getFailToInsertAnalytics(mediaState, _analytics.ACTION_SUBJECT_ID.MEDIA_INLINE, inputMethod, insertMediaVia);
|
|
179
|
+
}
|
|
180
|
+
} catch (error) {
|
|
181
|
+
payload = getFailToInsertAnalytics(mediaState, _analytics.ACTION_SUBJECT_ID.MEDIA_INLINE, inputMethod, insertMediaVia,
|
|
182
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
183
|
+
error.toString());
|
|
195
184
|
}
|
|
185
|
+
editorAnalyticsAPI === null || editorAnalyticsAPI === void 0 || editorAnalyticsAPI.attachAnalyticsEvent(payload)(tr);
|
|
196
186
|
dispatch(tr);
|
|
197
187
|
return true;
|
|
198
188
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { mediaSingleSpec } from '@atlaskit/adf-schema';
|
|
2
2
|
import { convertToInlineCss } from '@atlaskit/editor-common/lazy-node-view';
|
|
3
3
|
import { N20, N50 } from '@atlaskit/theme/colors';
|
|
4
|
+
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
4
5
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
5
6
|
import { getAttrsFromNodeMediaSingle } from './toDOMAttrs';
|
|
6
7
|
const WRAPPED_LAYOUTS = ['wrap-left', 'wrap-right'];
|
|
@@ -46,9 +47,17 @@ export const mediaWidthCSSCalc = ({
|
|
|
46
47
|
} else if (shouldHardCodePixelWidth) {
|
|
47
48
|
cssCalc = `min(${mediaSingleDimensionWidth}px, ${fullContainerWidth})`;
|
|
48
49
|
} else if (shouldUseBreakoutWideLogic) {
|
|
49
|
-
|
|
50
|
+
if (expValEquals('platform_editor_media_vc_fixes', 'isEnabled', true)) {
|
|
51
|
+
cssCalc = `max(var(--ak-editor--line-length), min(var(--ak-editor--breakout-wide-layout-width), var(--ak-editor-max-container-width)))`;
|
|
52
|
+
} else {
|
|
53
|
+
cssCalc = `max(var(--ak-editor--line-length), min(var(--ak-editor--breakout-wide-layout-width), calc(100cqw - var(--ak-editor--breakout-full-page-guttering-padding))))`;
|
|
54
|
+
}
|
|
50
55
|
} else if (shouldUseBreakoutFullWidthLogic) {
|
|
51
|
-
|
|
56
|
+
if (expValEquals('platform_editor_media_vc_fixes', 'isEnabled', true)) {
|
|
57
|
+
cssCalc = `max(var(--ak-editor--line-length), min(var(--ak-editor--full-width-layout-width), var(--ak-editor-max-container-width)))`;
|
|
58
|
+
} else {
|
|
59
|
+
cssCalc = `max(var(--ak-editor--line-length), min(var(--ak-editor--full-width-layout-width), calc(100cqw - var(--ak-editor--breakout-full-page-guttering-padding))))`;
|
|
60
|
+
}
|
|
52
61
|
} else {
|
|
53
62
|
cssCalc = `max(min(${baseWidth}px, min(100cqw, 100%)), ${GUTTER_SIZE})`;
|
|
54
63
|
}
|
|
@@ -5,7 +5,6 @@ import { findFarthestParentNode, insideTableCell, isInLayoutColumn, isInListItem
|
|
|
5
5
|
import { Fragment } from '@atlaskit/editor-prosemirror/model';
|
|
6
6
|
import { ReplaceStep } from '@atlaskit/editor-prosemirror/transform';
|
|
7
7
|
import { canInsert, hasParentNode, safeInsert } from '@atlaskit/editor-prosemirror/utils';
|
|
8
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
8
|
import { isImage } from './is-type';
|
|
10
9
|
import { copyOptionalAttrsFromMediaState, isInsidePotentialEmptyParagraph, isSelectionNonMediaBlockNode, posOfMediaGroupNearby, posOfParentMediaGroup, posOfPrecedingMediaGroup } from './media-common';
|
|
11
10
|
import { isInSupportedInlineImageParent } from './media-inline';
|
|
@@ -175,33 +174,24 @@ export const insertMediaInlineNode = editorAnalyticsAPI => (view, mediaState, co
|
|
|
175
174
|
|
|
176
175
|
// Delete the selection if a selection is made
|
|
177
176
|
const deleteRange = findDeleteRange(state);
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
try {
|
|
181
|
-
if (!deleteRange) {
|
|
182
|
-
tr.insert(pos, content);
|
|
183
|
-
} else {
|
|
184
|
-
tr.insert(pos, content).deleteRange(deleteRange.start, deleteRange.end);
|
|
185
|
-
}
|
|
186
|
-
if (hasInsertedNodeOfType(tr, 'mediaInline')) {
|
|
187
|
-
payload = getInsertMediaInlineAnalytics(mediaState, inputMethod, insertMediaVia);
|
|
188
|
-
} else {
|
|
189
|
-
payload = getFailToInsertAnalytics(mediaState, ACTION_SUBJECT_ID.MEDIA_INLINE, inputMethod, insertMediaVia);
|
|
190
|
-
}
|
|
191
|
-
} catch (error) {
|
|
192
|
-
payload = getFailToInsertAnalytics(mediaState, ACTION_SUBJECT_ID.MEDIA_INLINE, inputMethod, insertMediaVia,
|
|
193
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
194
|
-
error.toString());
|
|
195
|
-
}
|
|
196
|
-
editorAnalyticsAPI === null || editorAnalyticsAPI === void 0 ? void 0 : editorAnalyticsAPI.attachAnalyticsEvent(payload)(tr);
|
|
197
|
-
} else {
|
|
177
|
+
let payload;
|
|
178
|
+
try {
|
|
198
179
|
if (!deleteRange) {
|
|
199
180
|
tr.insert(pos, content);
|
|
200
181
|
} else {
|
|
201
182
|
tr.insert(pos, content).deleteRange(deleteRange.start, deleteRange.end);
|
|
202
183
|
}
|
|
203
|
-
|
|
184
|
+
if (hasInsertedNodeOfType(tr, 'mediaInline')) {
|
|
185
|
+
payload = getInsertMediaInlineAnalytics(mediaState, inputMethod, insertMediaVia);
|
|
186
|
+
} else {
|
|
187
|
+
payload = getFailToInsertAnalytics(mediaState, ACTION_SUBJECT_ID.MEDIA_INLINE, inputMethod, insertMediaVia);
|
|
188
|
+
}
|
|
189
|
+
} catch (error) {
|
|
190
|
+
payload = getFailToInsertAnalytics(mediaState, ACTION_SUBJECT_ID.MEDIA_INLINE, inputMethod, insertMediaVia,
|
|
191
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
192
|
+
error.toString());
|
|
204
193
|
}
|
|
194
|
+
editorAnalyticsAPI === null || editorAnalyticsAPI === void 0 ? void 0 : editorAnalyticsAPI.attachAnalyticsEvent(payload)(tr);
|
|
205
195
|
dispatch(tr);
|
|
206
196
|
return true;
|
|
207
197
|
};
|
|
@@ -4,6 +4,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
4
4
|
import { mediaSingleSpec } from '@atlaskit/adf-schema';
|
|
5
5
|
import { convertToInlineCss } from '@atlaskit/editor-common/lazy-node-view';
|
|
6
6
|
import { N20, N50 } from '@atlaskit/theme/colors';
|
|
7
|
+
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
7
8
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
8
9
|
import { getAttrsFromNodeMediaSingle } from './toDOMAttrs';
|
|
9
10
|
var WRAPPED_LAYOUTS = ['wrap-left', 'wrap-right'];
|
|
@@ -48,9 +49,17 @@ export var mediaWidthCSSCalc = function mediaWidthCSSCalc(_ref) {
|
|
|
48
49
|
} else if (shouldHardCodePixelWidth) {
|
|
49
50
|
cssCalc = "min(".concat(mediaSingleDimensionWidth, "px, ").concat(fullContainerWidth, ")");
|
|
50
51
|
} else if (shouldUseBreakoutWideLogic) {
|
|
51
|
-
|
|
52
|
+
if (expValEquals('platform_editor_media_vc_fixes', 'isEnabled', true)) {
|
|
53
|
+
cssCalc = "max(var(--ak-editor--line-length), min(var(--ak-editor--breakout-wide-layout-width), var(--ak-editor-max-container-width)))";
|
|
54
|
+
} else {
|
|
55
|
+
cssCalc = "max(var(--ak-editor--line-length), min(var(--ak-editor--breakout-wide-layout-width), calc(100cqw - var(--ak-editor--breakout-full-page-guttering-padding))))";
|
|
56
|
+
}
|
|
52
57
|
} else if (shouldUseBreakoutFullWidthLogic) {
|
|
53
|
-
|
|
58
|
+
if (expValEquals('platform_editor_media_vc_fixes', 'isEnabled', true)) {
|
|
59
|
+
cssCalc = "max(var(--ak-editor--line-length), min(var(--ak-editor--full-width-layout-width), var(--ak-editor-max-container-width)))";
|
|
60
|
+
} else {
|
|
61
|
+
cssCalc = "max(var(--ak-editor--line-length), min(var(--ak-editor--full-width-layout-width), calc(100cqw - var(--ak-editor--breakout-full-page-guttering-padding))))";
|
|
62
|
+
}
|
|
54
63
|
} else {
|
|
55
64
|
cssCalc = "max(min(".concat(baseWidth, "px, min(100cqw, 100%)), ").concat(GUTTER_SIZE, ")");
|
|
56
65
|
}
|
|
@@ -5,7 +5,6 @@ import { findFarthestParentNode, insideTableCell, isInLayoutColumn, isInListItem
|
|
|
5
5
|
import { Fragment } from '@atlaskit/editor-prosemirror/model';
|
|
6
6
|
import { ReplaceStep } from '@atlaskit/editor-prosemirror/transform';
|
|
7
7
|
import { canInsert, hasParentNode, safeInsert } from '@atlaskit/editor-prosemirror/utils';
|
|
8
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
8
|
import { isImage } from './is-type';
|
|
10
9
|
import { copyOptionalAttrsFromMediaState, isInsidePotentialEmptyParagraph, isSelectionNonMediaBlockNode, posOfMediaGroupNearby, posOfParentMediaGroup, posOfPrecedingMediaGroup } from './media-common';
|
|
11
10
|
import { isInSupportedInlineImageParent } from './media-inline';
|
|
@@ -160,33 +159,24 @@ export var insertMediaInlineNode = function insertMediaInlineNode(editorAnalytic
|
|
|
160
159
|
|
|
161
160
|
// Delete the selection if a selection is made
|
|
162
161
|
var deleteRange = findDeleteRange(state);
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
try {
|
|
166
|
-
if (!deleteRange) {
|
|
167
|
-
tr.insert(pos, content);
|
|
168
|
-
} else {
|
|
169
|
-
tr.insert(pos, content).deleteRange(deleteRange.start, deleteRange.end);
|
|
170
|
-
}
|
|
171
|
-
if (hasInsertedNodeOfType(tr, 'mediaInline')) {
|
|
172
|
-
payload = getInsertMediaInlineAnalytics(mediaState, inputMethod, insertMediaVia);
|
|
173
|
-
} else {
|
|
174
|
-
payload = getFailToInsertAnalytics(mediaState, ACTION_SUBJECT_ID.MEDIA_INLINE, inputMethod, insertMediaVia);
|
|
175
|
-
}
|
|
176
|
-
} catch (error) {
|
|
177
|
-
payload = getFailToInsertAnalytics(mediaState, ACTION_SUBJECT_ID.MEDIA_INLINE, inputMethod, insertMediaVia,
|
|
178
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
179
|
-
error.toString());
|
|
180
|
-
}
|
|
181
|
-
editorAnalyticsAPI === null || editorAnalyticsAPI === void 0 || editorAnalyticsAPI.attachAnalyticsEvent(payload)(tr);
|
|
182
|
-
} else {
|
|
162
|
+
var payload;
|
|
163
|
+
try {
|
|
183
164
|
if (!deleteRange) {
|
|
184
165
|
tr.insert(pos, content);
|
|
185
166
|
} else {
|
|
186
167
|
tr.insert(pos, content).deleteRange(deleteRange.start, deleteRange.end);
|
|
187
168
|
}
|
|
188
|
-
|
|
169
|
+
if (hasInsertedNodeOfType(tr, 'mediaInline')) {
|
|
170
|
+
payload = getInsertMediaInlineAnalytics(mediaState, inputMethod, insertMediaVia);
|
|
171
|
+
} else {
|
|
172
|
+
payload = getFailToInsertAnalytics(mediaState, ACTION_SUBJECT_ID.MEDIA_INLINE, inputMethod, insertMediaVia);
|
|
173
|
+
}
|
|
174
|
+
} catch (error) {
|
|
175
|
+
payload = getFailToInsertAnalytics(mediaState, ACTION_SUBJECT_ID.MEDIA_INLINE, inputMethod, insertMediaVia,
|
|
176
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
177
|
+
error.toString());
|
|
189
178
|
}
|
|
179
|
+
editorAnalyticsAPI === null || editorAnalyticsAPI === void 0 || editorAnalyticsAPI.attachAnalyticsEvent(payload)(tr);
|
|
190
180
|
dispatch(tr);
|
|
191
181
|
return true;
|
|
192
182
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-media",
|
|
3
|
-
"version": "8.4.
|
|
3
|
+
"version": "8.4.11",
|
|
4
4
|
"description": "Media plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
],
|
|
30
30
|
"atlaskit:src": "src/index.ts",
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@atlaskit/adf-schema": "^51.
|
|
33
|
-
"@atlaskit/analytics-namespaced-context": "^7.
|
|
32
|
+
"@atlaskit/adf-schema": "^51.4.0",
|
|
33
|
+
"@atlaskit/analytics-namespaced-context": "^7.2.0",
|
|
34
34
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
35
35
|
"@atlaskit/button": "^23.6.0",
|
|
36
36
|
"@atlaskit/editor-palette": "^2.1.0",
|
|
@@ -49,12 +49,12 @@
|
|
|
49
49
|
"@atlaskit/editor-plugin-toolbar": "^3.4.0",
|
|
50
50
|
"@atlaskit/editor-plugin-width": "^7.0.0",
|
|
51
51
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
52
|
-
"@atlaskit/editor-shared-styles": "^3.
|
|
52
|
+
"@atlaskit/editor-shared-styles": "^3.10.0",
|
|
53
53
|
"@atlaskit/editor-tables": "^2.9.0",
|
|
54
54
|
"@atlaskit/form": "^14.2.0",
|
|
55
55
|
"@atlaskit/icon": "^29.0.0",
|
|
56
56
|
"@atlaskit/icon-lab": "^5.12.0",
|
|
57
|
-
"@atlaskit/media-card": "^79.
|
|
57
|
+
"@atlaskit/media-card": "^79.8.0",
|
|
58
58
|
"@atlaskit/media-client": "^35.6.0",
|
|
59
59
|
"@atlaskit/media-client-react": "^4.1.0",
|
|
60
60
|
"@atlaskit/media-common": "^12.3.0",
|
|
@@ -64,11 +64,11 @@
|
|
|
64
64
|
"@atlaskit/media-viewer": "^52.4.0",
|
|
65
65
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
66
66
|
"@atlaskit/primitives": "^16.1.0",
|
|
67
|
-
"@atlaskit/textfield": "^8.
|
|
67
|
+
"@atlaskit/textfield": "^8.1.0",
|
|
68
68
|
"@atlaskit/theme": "^21.0.0",
|
|
69
69
|
"@atlaskit/tmp-editor-statsig": "^13.38.0",
|
|
70
70
|
"@atlaskit/tokens": "^8.0.0",
|
|
71
|
-
"@atlaskit/tooltip": "^20.
|
|
71
|
+
"@atlaskit/tooltip": "^20.9.0",
|
|
72
72
|
"@babel/runtime": "^7.0.0",
|
|
73
73
|
"@emotion/react": "^11.7.1",
|
|
74
74
|
"bind-event-listener": "^3.0.0",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"uuid": "^3.1.0"
|
|
79
79
|
},
|
|
80
80
|
"peerDependencies": {
|
|
81
|
-
"@atlaskit/editor-common": "^110.
|
|
81
|
+
"@atlaskit/editor-common": "^110.32.0",
|
|
82
82
|
"@atlaskit/media-core": "^37.0.0",
|
|
83
83
|
"react": "^18.2.0",
|
|
84
84
|
"react-dom": "^18.2.0",
|
|
@@ -151,9 +151,6 @@
|
|
|
151
151
|
"platform_editor_ssr_media": {
|
|
152
152
|
"type": "boolean"
|
|
153
153
|
},
|
|
154
|
-
"platform_editor_track_media_fail_to_insert": {
|
|
155
|
-
"type": "boolean"
|
|
156
|
-
},
|
|
157
154
|
"confluence_frontend_preload_inline_comment_editor": {
|
|
158
155
|
"type": "boolean"
|
|
159
156
|
},
|