@atlaskit/editor-plugin-media 10.2.1 → 10.2.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,20 @@
1
1
  # @atlaskit/editor-plugin-media
2
2
 
3
+ ## 10.2.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 10.2.2
10
+
11
+ ### Patch Changes
12
+
13
+ - [`b42704f7ca9d8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b42704f7ca9d8) -
14
+ Clean up stale feature flag `platform_editor_media_insert_check` (final value: `true`). The
15
+ flag-gated code paths are now the default behaviour — media insert popup is shown via
16
+ `mediaInsert` plugin when available, falling back to the legacy `showMediaPicker`.
17
+
3
18
  ## 10.2.1
4
19
 
5
20
  ### Patch Changes
@@ -363,7 +363,7 @@ var mediaPlugin = exports.mediaPlugin = function mediaPlugin(_ref3) {
363
363
  pluginsOptions: {
364
364
  quickInsert: function quickInsert(_ref12) {
365
365
  var formatMessage = _ref12.formatMessage;
366
- return !(api !== null && api !== void 0 && api.mediaInsert) && (0, _platformFeatureFlags.fg)('platform_editor_media_insert_check') ? [{
366
+ return !(api !== null && api !== void 0 && api.mediaInsert) ? [{
367
367
  id: 'media',
368
368
  title: formatMessage(_messages.toolbarInsertBlockMessages.mediaFiles),
369
369
  description: formatMessage(_messages.toolbarInsertBlockMessages.mediaFilesDescription),
@@ -361,7 +361,7 @@ export const mediaPlugin = ({
361
361
  pluginsOptions: {
362
362
  quickInsert: ({
363
363
  formatMessage
364
- }) => !(api !== null && api !== void 0 && api.mediaInsert) && fg('platform_editor_media_insert_check') ? [{
364
+ }) => !(api !== null && api !== void 0 && api.mediaInsert) ? [{
365
365
  id: 'media',
366
366
  title: formatMessage(messages.mediaFiles),
367
367
  description: formatMessage(messages.mediaFilesDescription),
@@ -354,7 +354,7 @@ export var mediaPlugin = function mediaPlugin(_ref3) {
354
354
  pluginsOptions: {
355
355
  quickInsert: function quickInsert(_ref12) {
356
356
  var formatMessage = _ref12.formatMessage;
357
- return !(api !== null && api !== void 0 && api.mediaInsert) && fg('platform_editor_media_insert_check') ? [{
357
+ return !(api !== null && api !== void 0 && api.mediaInsert) ? [{
358
358
  id: 'media',
359
359
  title: formatMessage(messages.mediaFiles),
360
360
  description: formatMessage(messages.mediaFilesDescription),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-media",
3
- "version": "10.2.1",
3
+ "version": "10.2.3",
4
4
  "description": "Media plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -65,7 +65,7 @@
65
65
  "@atlaskit/platform-feature-flags": "^1.1.0",
66
66
  "@atlaskit/primitives": "^18.1.0",
67
67
  "@atlaskit/textfield": "^8.3.0",
68
- "@atlaskit/theme": "^22.0.0",
68
+ "@atlaskit/theme": "^23.0.0",
69
69
  "@atlaskit/tmp-editor-statsig": "^55.0.0",
70
70
  "@atlaskit/tokens": "^11.4.0",
71
71
  "@atlaskit/tooltip": "^21.1.0",
@@ -157,9 +157,6 @@
157
157
  "jira_kuro-jjj_disable_auto_focus_after_img_upload": {
158
158
  "type": "boolean"
159
159
  },
160
- "platform_editor_media_insert_check": {
161
- "type": "boolean"
162
- },
163
160
  "confluence_fe_create_inline_comment_exp_coverage_2": {
164
161
  "type": "boolean"
165
162
  },