@atlaskit/editor-plugin-media 9.3.0 → 9.3.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,29 @@
1
1
  # @atlaskit/editor-plugin-media
2
2
 
3
+ ## 9.3.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`0457795b04c62`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0457795b04c62) -
8
+ EDITOR-4396 Media toolbar button doesn't when missing the mediaInsert Plugin
9
+
10
+ ## 9.3.2
11
+
12
+ ### Patch Changes
13
+
14
+ - [`f0aa021b562bb`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f0aa021b562bb) -
15
+ Updated with default media provider and handle optional view in media state
16
+ - Updated dependencies
17
+
18
+ ## 9.3.1
19
+
20
+ ### Patch Changes
21
+
22
+ - [`17e77ddc106cc`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/17e77ddc106cc) -
23
+ Added basic image modal tests for editor-plugin-media-editing Added image-edit-toolbar-button into
24
+ the editor media testing toolbar Imported media editing plugin into the editor test helper
25
+ - Updated dependencies
26
+
3
27
  ## 9.3.0
4
28
 
5
29
  ### Minor Changes
@@ -9,6 +9,8 @@ exports.mediaPlugin = void 0;
9
9
  var _react = _interopRequireWildcard(require("react"));
10
10
  var _analytics = require("@atlaskit/editor-common/analytics");
11
11
  var _hooks = require("@atlaskit/editor-common/hooks");
12
+ var _messages = require("@atlaskit/editor-common/messages");
13
+ var _quickInsert = require("@atlaskit/editor-common/quick-insert");
12
14
  var _safePlugin = require("@atlaskit/editor-common/safe-plugin");
13
15
  var _toolbarFlagCheck = require("@atlaskit/editor-common/toolbar-flag-check");
14
16
  var _state = require("@atlaskit/editor-prosemirror/state");
@@ -341,8 +343,35 @@ var mediaPlugin = exports.mediaPlugin = function mediaPlugin(_ref3) {
341
343
  });
342
344
  },
343
345
  pluginsOptions: {
344
- quickInsert: function quickInsert() {
345
- return [];
346
+ quickInsert: function quickInsert(_ref12) {
347
+ var formatMessage = _ref12.formatMessage;
348
+ return !(api !== null && api !== void 0 && api.mediaInsert) && (0, _platformFeatureFlags.fg)('platform_editor_media_insert_check') ? [{
349
+ id: 'media',
350
+ title: formatMessage(_messages.toolbarInsertBlockMessages.mediaFiles),
351
+ description: formatMessage(_messages.toolbarInsertBlockMessages.mediaFilesDescription),
352
+ priority: 400,
353
+ keywords: ['attachment', 'gif', 'media', 'picture', 'image', 'video', 'file'],
354
+ icon: function icon() {
355
+ return /*#__PURE__*/_react.default.createElement(_quickInsert.IconImages, null);
356
+ },
357
+ isDisabledOffline: true,
358
+ action: function action(insert, state) {
359
+ var _api$analytics6;
360
+ var pluginState = _pluginKey.stateKey.getState(state);
361
+ pluginState === null || pluginState === void 0 || pluginState.showMediaPicker();
362
+ var tr = insert('');
363
+ api === null || api === void 0 || (_api$analytics6 = api.analytics) === null || _api$analytics6 === void 0 || _api$analytics6.actions.attachAnalyticsEvent({
364
+ action: _analytics.ACTION.OPENED,
365
+ actionSubject: _analytics.ACTION_SUBJECT.PICKER,
366
+ actionSubjectId: _analytics.ACTION_SUBJECT_ID.PICKER_CLOUD,
367
+ attributes: {
368
+ inputMethod: _analytics.INPUT_METHOD.QUICK_INSERT
369
+ },
370
+ eventType: _analytics.EVENT_TYPE.UI
371
+ })(tr);
372
+ return tr;
373
+ }
374
+ }] : [];
346
375
  },
347
376
  floatingToolbar: function floatingToolbar(state, intl, providerFactory) {
348
377
  var _api$editorViewMode;
@@ -145,6 +145,10 @@ var MediaNodeView = /*#__PURE__*/function (_SelectionBasedNodeVi) {
145
145
  height: height
146
146
  };
147
147
  var isSelectedAndInteracted = _this.nodeInsideSelection() && interactionState !== 'hasNotHadInteraction';
148
+ var mediaProviderToUse = mediaProvider;
149
+ if (!mediaProviderToUse && (0, _expValEquals.expValEquals)('platform_editor_ssr_renderer', 'isEnabled', true)) {
150
+ mediaProviderToUse = mediaOptions.syncProvider ? Promise.resolve(mediaOptions.syncProvider) : mediaOptions.provider;
151
+ }
148
152
  return /*#__PURE__*/_react.default.createElement(_media.default, {
149
153
  api: pluginInjectionApi,
150
154
  view: _this.view,
@@ -154,7 +158,7 @@ var MediaNodeView = /*#__PURE__*/function (_SelectionBasedNodeVi) {
154
158
  originalDimensions: originalDimensions,
155
159
  maxDimensions: maxDimensions,
156
160
  url: url,
157
- mediaProvider: mediaProvider,
161
+ mediaProvider: mediaProviderToUse,
158
162
  contextIdentifierProvider: contextIdentifierProvider,
159
163
  mediaOptions: mediaOptions,
160
164
  onExternalImageLoaded: _this.onExternalImageLoaded,
@@ -418,7 +418,13 @@ var MediaPluginStateImplementation = exports.MediaPluginStateImplementation = /*
418
418
  return true;
419
419
  });
420
420
  (0, _defineProperty2.default)(this, "selectedMediaContainerNode", function () {
421
- var selection = _this.view.state.selection;
421
+ var selection;
422
+ if ((0, _expValEquals.expValEquals)('platform_editor_ssr_renderer', 'isEnabled', true)) {
423
+ var _this$view;
424
+ selection = (_this$view = _this.view) === null || _this$view === void 0 || (_this$view = _this$view.state) === null || _this$view === void 0 ? void 0 : _this$view.selection;
425
+ } else {
426
+ selection = _this.view.state.selection;
427
+ }
422
428
  if (selection instanceof _state2.NodeSelection && _this.isMediaSchemaNode(selection.node)) {
423
429
  return selection.node;
424
430
  }
@@ -430,9 +436,9 @@ var MediaPluginStateImplementation = exports.MediaPluginStateImplementation = /*
430
436
  return;
431
437
  }
432
438
  _this.showDropzone = isActive;
433
- var _this$view = _this.view,
434
- dispatch = _this$view.dispatch,
435
- state = _this$view.state;
439
+ var _this$view2 = _this.view,
440
+ dispatch = _this$view2.dispatch,
441
+ state = _this$view2.state;
436
442
  var tr = state.tr,
437
443
  selection = state.selection,
438
444
  doc = state.doc;
@@ -46,8 +46,7 @@ var IconWrapperComponent = function IconWrapperComponent(props) {
46
46
  return (0, _react.jsx)("div", {
47
47
  css: iconWrapperStyles
48
48
  }, (0, _react.jsx)(_file.default, {
49
- label: intl.formatMessage(dropPlaceholderLabel),
50
- LEGACY_size: "medium"
49
+ label: intl.formatMessage(dropPlaceholderLabel)
51
50
  }));
52
51
  };
53
52
  var IntlIconWrapper = (0, _reactIntlNext.injectIntl)(IconWrapperComponent);
@@ -582,7 +582,10 @@ var generateMediaSingleFloatingToolbar = function generateMediaSingleFloatingToo
582
582
  mediaPluginState: pluginState
583
583
  })) !== null && _handleShowImageEdito !== void 0 ? _handleShowImageEdito : false;
584
584
  },
585
- supportsViewMode: false
585
+ // Making the button more accessible
586
+ supportsViewMode: false,
587
+ isRadioButton: true,
588
+ selected: false
586
589
  });
587
590
  }
588
591
  }
@@ -1,6 +1,8 @@
1
1
  import React, { useMemo } from 'react';
2
- import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE } from '@atlaskit/editor-common/analytics';
2
+ import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
3
3
  import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
4
+ import { toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/messages';
5
+ import { IconImages } from '@atlaskit/editor-common/quick-insert';
4
6
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
5
7
  import { areToolbarFlagsEnabled } from '@atlaskit/editor-common/toolbar-flag-check';
6
8
  import { NodeSelection, PluginKey } from '@atlaskit/editor-prosemirror/state';
@@ -340,7 +342,33 @@ export const mediaPlugin = ({
340
342
  });
341
343
  },
342
344
  pluginsOptions: {
343
- quickInsert: () => [],
345
+ quickInsert: ({
346
+ formatMessage
347
+ }) => !(api !== null && api !== void 0 && api.mediaInsert) && fg('platform_editor_media_insert_check') ? [{
348
+ id: 'media',
349
+ title: formatMessage(messages.mediaFiles),
350
+ description: formatMessage(messages.mediaFilesDescription),
351
+ priority: 400,
352
+ keywords: ['attachment', 'gif', 'media', 'picture', 'image', 'video', 'file'],
353
+ icon: () => /*#__PURE__*/React.createElement(IconImages, null),
354
+ isDisabledOffline: true,
355
+ action(insert, state) {
356
+ var _api$analytics6;
357
+ const pluginState = stateKey.getState(state);
358
+ pluginState === null || pluginState === void 0 ? void 0 : pluginState.showMediaPicker();
359
+ const tr = insert('');
360
+ api === null || api === void 0 ? void 0 : (_api$analytics6 = api.analytics) === null || _api$analytics6 === void 0 ? void 0 : _api$analytics6.actions.attachAnalyticsEvent({
361
+ action: ACTION.OPENED,
362
+ actionSubject: ACTION_SUBJECT.PICKER,
363
+ actionSubjectId: ACTION_SUBJECT_ID.PICKER_CLOUD,
364
+ attributes: {
365
+ inputMethod: INPUT_METHOD.QUICK_INSERT
366
+ },
367
+ eventType: EVENT_TYPE.UI
368
+ })(tr);
369
+ return tr;
370
+ }
371
+ }] : [],
344
372
  floatingToolbar: (state, intl, providerFactory) => {
345
373
  var _api$editorViewMode, _api$editorViewMode$s;
346
374
  return floatingToolbar(state, intl, {
@@ -134,6 +134,10 @@ class MediaNodeView extends SelectionBasedNodeView {
134
134
  height
135
135
  };
136
136
  const isSelectedAndInteracted = this.nodeInsideSelection() && interactionState !== 'hasNotHadInteraction';
137
+ let mediaProviderToUse = mediaProvider;
138
+ if (!mediaProviderToUse && expValEquals('platform_editor_ssr_renderer', 'isEnabled', true)) {
139
+ mediaProviderToUse = mediaOptions.syncProvider ? Promise.resolve(mediaOptions.syncProvider) : mediaOptions.provider;
140
+ }
137
141
  return /*#__PURE__*/React.createElement(MediaNode, {
138
142
  api: pluginInjectionApi,
139
143
  view: this.view,
@@ -143,7 +147,7 @@ class MediaNodeView extends SelectionBasedNodeView {
143
147
  originalDimensions: originalDimensions,
144
148
  maxDimensions: maxDimensions,
145
149
  url: url,
146
- mediaProvider: mediaProvider,
150
+ mediaProvider: mediaProviderToUse,
147
151
  contextIdentifierProvider: contextIdentifierProvider,
148
152
  mediaOptions: mediaOptions,
149
153
  onExternalImageLoaded: this.onExternalImageLoaded,
@@ -389,9 +389,15 @@ export class MediaPluginStateImplementation {
389
389
  return true;
390
390
  });
391
391
  _defineProperty(this, "selectedMediaContainerNode", () => {
392
- const {
393
- selection
394
- } = this.view.state;
392
+ let selection;
393
+ if (expValEquals('platform_editor_ssr_renderer', 'isEnabled', true)) {
394
+ var _this$view, _this$view$state;
395
+ selection = (_this$view = this.view) === null || _this$view === void 0 ? void 0 : (_this$view$state = _this$view.state) === null || _this$view$state === void 0 ? void 0 : _this$view$state.selection;
396
+ } else {
397
+ ({
398
+ selection
399
+ } = this.view.state);
400
+ }
395
401
  if (selection instanceof NodeSelection && this.isMediaSchemaNode(selection.node)) {
396
402
  return selection.node;
397
403
  }
@@ -42,8 +42,7 @@ const IconWrapperComponent = props => {
42
42
  return jsx("div", {
43
43
  css: iconWrapperStyles
44
44
  }, jsx(DocumentFilledIcon, {
45
- label: intl.formatMessage(dropPlaceholderLabel),
46
- LEGACY_size: "medium"
45
+ label: intl.formatMessage(dropPlaceholderLabel)
47
46
  }));
48
47
  };
49
48
  const IntlIconWrapper = injectIntl(IconWrapperComponent);
@@ -581,7 +581,10 @@ const generateMediaSingleFloatingToolbar = (state, intl, options, pluginState, m
581
581
  mediaPluginState: pluginState
582
582
  })) !== null && _handleShowImageEdito !== void 0 ? _handleShowImageEdito : false;
583
583
  },
584
- supportsViewMode: false
584
+ // Making the button more accessible
585
+ supportsViewMode: false,
586
+ isRadioButton: true,
587
+ selected: false
585
588
  });
586
589
  }
587
590
  }
@@ -1,6 +1,8 @@
1
1
  import React, { useMemo } from 'react';
2
- import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE } from '@atlaskit/editor-common/analytics';
2
+ import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
3
3
  import { useSharedPluginStateWithSelector } from '@atlaskit/editor-common/hooks';
4
+ import { toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/messages';
5
+ import { IconImages } from '@atlaskit/editor-common/quick-insert';
4
6
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
5
7
  import { areToolbarFlagsEnabled } from '@atlaskit/editor-common/toolbar-flag-check';
6
8
  import { NodeSelection, PluginKey } from '@atlaskit/editor-prosemirror/state';
@@ -332,8 +334,35 @@ export var mediaPlugin = function mediaPlugin(_ref3) {
332
334
  });
333
335
  },
334
336
  pluginsOptions: {
335
- quickInsert: function quickInsert() {
336
- return [];
337
+ quickInsert: function quickInsert(_ref12) {
338
+ var formatMessage = _ref12.formatMessage;
339
+ return !(api !== null && api !== void 0 && api.mediaInsert) && fg('platform_editor_media_insert_check') ? [{
340
+ id: 'media',
341
+ title: formatMessage(messages.mediaFiles),
342
+ description: formatMessage(messages.mediaFilesDescription),
343
+ priority: 400,
344
+ keywords: ['attachment', 'gif', 'media', 'picture', 'image', 'video', 'file'],
345
+ icon: function icon() {
346
+ return /*#__PURE__*/React.createElement(IconImages, null);
347
+ },
348
+ isDisabledOffline: true,
349
+ action: function action(insert, state) {
350
+ var _api$analytics6;
351
+ var pluginState = stateKey.getState(state);
352
+ pluginState === null || pluginState === void 0 || pluginState.showMediaPicker();
353
+ var tr = insert('');
354
+ api === null || api === void 0 || (_api$analytics6 = api.analytics) === null || _api$analytics6 === void 0 || _api$analytics6.actions.attachAnalyticsEvent({
355
+ action: ACTION.OPENED,
356
+ actionSubject: ACTION_SUBJECT.PICKER,
357
+ actionSubjectId: ACTION_SUBJECT_ID.PICKER_CLOUD,
358
+ attributes: {
359
+ inputMethod: INPUT_METHOD.QUICK_INSERT
360
+ },
361
+ eventType: EVENT_TYPE.UI
362
+ })(tr);
363
+ return tr;
364
+ }
365
+ }] : [];
337
366
  },
338
367
  floatingToolbar: function floatingToolbar(state, intl, providerFactory) {
339
368
  var _api$editorViewMode;
@@ -139,6 +139,10 @@ var MediaNodeView = /*#__PURE__*/function (_SelectionBasedNodeVi) {
139
139
  height: height
140
140
  };
141
141
  var isSelectedAndInteracted = _this.nodeInsideSelection() && interactionState !== 'hasNotHadInteraction';
142
+ var mediaProviderToUse = mediaProvider;
143
+ if (!mediaProviderToUse && expValEquals('platform_editor_ssr_renderer', 'isEnabled', true)) {
144
+ mediaProviderToUse = mediaOptions.syncProvider ? Promise.resolve(mediaOptions.syncProvider) : mediaOptions.provider;
145
+ }
142
146
  return /*#__PURE__*/React.createElement(MediaNode, {
143
147
  api: pluginInjectionApi,
144
148
  view: _this.view,
@@ -148,7 +152,7 @@ var MediaNodeView = /*#__PURE__*/function (_SelectionBasedNodeVi) {
148
152
  originalDimensions: originalDimensions,
149
153
  maxDimensions: maxDimensions,
150
154
  url: url,
151
- mediaProvider: mediaProvider,
155
+ mediaProvider: mediaProviderToUse,
152
156
  contextIdentifierProvider: contextIdentifierProvider,
153
157
  mediaOptions: mediaOptions,
154
158
  onExternalImageLoaded: _this.onExternalImageLoaded,
@@ -410,7 +410,13 @@ export var MediaPluginStateImplementation = /*#__PURE__*/function () {
410
410
  return true;
411
411
  });
412
412
  _defineProperty(this, "selectedMediaContainerNode", function () {
413
- var selection = _this.view.state.selection;
413
+ var selection;
414
+ if (expValEquals('platform_editor_ssr_renderer', 'isEnabled', true)) {
415
+ var _this$view;
416
+ selection = (_this$view = _this.view) === null || _this$view === void 0 || (_this$view = _this$view.state) === null || _this$view === void 0 ? void 0 : _this$view.selection;
417
+ } else {
418
+ selection = _this.view.state.selection;
419
+ }
414
420
  if (selection instanceof NodeSelection && _this.isMediaSchemaNode(selection.node)) {
415
421
  return selection.node;
416
422
  }
@@ -422,9 +428,9 @@ export var MediaPluginStateImplementation = /*#__PURE__*/function () {
422
428
  return;
423
429
  }
424
430
  _this.showDropzone = isActive;
425
- var _this$view = _this.view,
426
- dispatch = _this$view.dispatch,
427
- state = _this$view.state;
431
+ var _this$view2 = _this.view,
432
+ dispatch = _this$view2.dispatch,
433
+ state = _this$view2.state;
428
434
  var tr = state.tr,
429
435
  selection = state.selection,
430
436
  doc = state.doc;
@@ -38,8 +38,7 @@ var IconWrapperComponent = function IconWrapperComponent(props) {
38
38
  return jsx("div", {
39
39
  css: iconWrapperStyles
40
40
  }, jsx(DocumentFilledIcon, {
41
- label: intl.formatMessage(dropPlaceholderLabel),
42
- LEGACY_size: "medium"
41
+ label: intl.formatMessage(dropPlaceholderLabel)
43
42
  }));
44
43
  };
45
44
  var IntlIconWrapper = injectIntl(IconWrapperComponent);
@@ -573,7 +573,10 @@ var generateMediaSingleFloatingToolbar = function generateMediaSingleFloatingToo
573
573
  mediaPluginState: pluginState
574
574
  })) !== null && _handleShowImageEdito !== void 0 ? _handleShowImageEdito : false;
575
575
  },
576
- supportsViewMode: false
576
+ // Making the button more accessible
577
+ supportsViewMode: false,
578
+ isRadioButton: true,
579
+ selected: false
577
580
  });
578
581
  }
579
582
  }
@@ -23,6 +23,7 @@ import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
23
23
  import type { MediaPluginState } from './pm-plugins/types';
24
24
  import type { InsertMediaAsMediaSingle } from './pm-plugins/utils/media-single';
25
25
  import type { MediaOptions } from './types';
26
+ type MediaInsertPlugin = NextEditorPlugin<'mediaInsert', any>;
26
27
  export type MediaPluginDependencies = [
27
28
  OptionalPlugin<AnalyticsPlugin>,
28
29
  OptionalPlugin<ContextIdentifierPlugin>,
@@ -34,6 +35,7 @@ export type MediaPluginDependencies = [
34
35
  FloatingToolbarPlugin,
35
36
  EditorDisabledPlugin,
36
37
  FocusPlugin,
38
+ OptionalPlugin<MediaInsertPlugin>,
37
39
  OptionalPlugin<InteractionPlugin>,
38
40
  SelectionPlugin,
39
41
  OptionalPlugin<AnnotationPlugin>,
@@ -84,3 +86,4 @@ export type MediaNextEditorPluginType = NextEditorPlugin<'media', {
84
86
  pluginConfiguration: MediaOptions | undefined;
85
87
  sharedState: MediaPluginState | null;
86
88
  }>;
89
+ export {};
@@ -23,6 +23,7 @@ import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
23
23
  import type { MediaPluginState } from './pm-plugins/types';
24
24
  import type { InsertMediaAsMediaSingle } from './pm-plugins/utils/media-single';
25
25
  import type { MediaOptions } from './types';
26
+ type MediaInsertPlugin = NextEditorPlugin<'mediaInsert', any>;
26
27
  export type MediaPluginDependencies = [
27
28
  OptionalPlugin<AnalyticsPlugin>,
28
29
  OptionalPlugin<ContextIdentifierPlugin>,
@@ -34,6 +35,7 @@ export type MediaPluginDependencies = [
34
35
  FloatingToolbarPlugin,
35
36
  EditorDisabledPlugin,
36
37
  FocusPlugin,
38
+ OptionalPlugin<MediaInsertPlugin>,
37
39
  OptionalPlugin<InteractionPlugin>,
38
40
  SelectionPlugin,
39
41
  OptionalPlugin<AnnotationPlugin>,
@@ -84,3 +86,4 @@ export type MediaNextEditorPluginType = NextEditorPlugin<'media', {
84
86
  pluginConfiguration: MediaOptions | undefined;
85
87
  sharedState: MediaPluginState | null;
86
88
  }>;
89
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-media",
3
- "version": "9.3.0",
3
+ "version": "9.3.3",
4
4
  "description": "Media plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -51,24 +51,24 @@
51
51
  "@atlaskit/editor-prosemirror": "^7.2.0",
52
52
  "@atlaskit/editor-shared-styles": "^3.10.0",
53
53
  "@atlaskit/editor-tables": "^2.9.0",
54
- "@atlaskit/form": "^15.2.0",
54
+ "@atlaskit/form": "^15.3.0",
55
55
  "@atlaskit/icon": "^29.4.0",
56
- "@atlaskit/icon-lab": "^5.13.0",
57
- "@atlaskit/media-card": "^79.12.0",
56
+ "@atlaskit/icon-lab": "^5.14.0",
57
+ "@atlaskit/media-card": "^79.13.0",
58
58
  "@atlaskit/media-client": "^35.7.0",
59
59
  "@atlaskit/media-client-react": "^4.1.0",
60
60
  "@atlaskit/media-common": "^12.3.0",
61
61
  "@atlaskit/media-filmstrip": "^51.1.0",
62
62
  "@atlaskit/media-picker": "^70.1.0",
63
63
  "@atlaskit/media-ui": "^28.7.0",
64
- "@atlaskit/media-viewer": "^52.5.0",
64
+ "@atlaskit/media-viewer": "^52.6.0",
65
65
  "@atlaskit/platform-feature-flags": "^1.1.0",
66
66
  "@atlaskit/primitives": "^17.0.0",
67
67
  "@atlaskit/textfield": "^8.2.0",
68
68
  "@atlaskit/theme": "^21.0.0",
69
- "@atlaskit/tmp-editor-statsig": "^16.8.0",
69
+ "@atlaskit/tmp-editor-statsig": "^16.14.0",
70
70
  "@atlaskit/tokens": "^9.1.0",
71
- "@atlaskit/tooltip": "^20.12.0",
71
+ "@atlaskit/tooltip": "^20.13.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": "^111.6.0",
81
+ "@atlaskit/editor-common": "^111.7.0",
82
82
  "@atlaskit/media-core": "^37.0.0",
83
83
  "react": "^18.2.0",
84
84
  "react-dom": "^18.2.0",
@@ -159,6 +159,9 @@
159
159
  },
160
160
  "jira_kuro-jjj_disable_auto_focus_after_img_upload": {
161
161
  "type": "boolean"
162
+ },
163
+ "platform_editor_media_insert_check": {
164
+ "type": "boolean"
162
165
  }
163
166
  },
164
167
  "stricter": {