@atlaskit/editor-plugin-media 8.1.1 → 8.1.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,15 @@
1
1
  # @atlaskit/editor-plugin-media
2
2
 
3
+ ## 8.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`ef001bf65d48f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ef001bf65d48f) -
8
+ Remove usage of `platform_editor_toolbar_aifc` inside editor packages - instead rely on checking
9
+ for new toolbar plugin option, make `enableNewToolbarExperience` mandatory for consumers to opt in
10
+ to new toolbar experience
11
+ - Updated dependencies
12
+
3
13
  ## 8.1.1
4
14
 
5
15
  ### Patch Changes
@@ -441,7 +441,7 @@ var generateMediaSingleFloatingToolbar = function generateMediaSingleFloatingToo
441
441
  }
442
442
 
443
443
  // A separator is needed regardless switcher is enabled or not
444
- if (Boolean(pluginInjectionApi === null || pluginInjectionApi === void 0 ? void 0 : pluginInjectionApi.toolbar) && (0, _experiments.editorExperiment)('platform_editor_toolbar_aifc', true)) {
444
+ if (Boolean(pluginInjectionApi === null || pluginInjectionApi === void 0 ? void 0 : pluginInjectionApi.toolbar)) {
445
445
  toolbarButtons.push({
446
446
  type: 'separator',
447
447
  fullHeight: true
@@ -429,7 +429,7 @@ const generateMediaSingleFloatingToolbar = (state, intl, options, pluginState, m
429
429
  }
430
430
 
431
431
  // A separator is needed regardless switcher is enabled or not
432
- if (Boolean(pluginInjectionApi === null || pluginInjectionApi === void 0 ? void 0 : pluginInjectionApi.toolbar) && editorExperiment('platform_editor_toolbar_aifc', true)) {
432
+ if (Boolean(pluginInjectionApi === null || pluginInjectionApi === void 0 ? void 0 : pluginInjectionApi.toolbar)) {
433
433
  toolbarButtons.push({
434
434
  type: 'separator',
435
435
  fullHeight: true
@@ -432,7 +432,7 @@ var generateMediaSingleFloatingToolbar = function generateMediaSingleFloatingToo
432
432
  }
433
433
 
434
434
  // A separator is needed regardless switcher is enabled or not
435
- if (Boolean(pluginInjectionApi === null || pluginInjectionApi === void 0 ? void 0 : pluginInjectionApi.toolbar) && editorExperiment('platform_editor_toolbar_aifc', true)) {
435
+ if (Boolean(pluginInjectionApi === null || pluginInjectionApi === void 0 ? void 0 : pluginInjectionApi.toolbar)) {
436
436
  toolbarButtons.push({
437
437
  type: 'separator',
438
438
  fullHeight: true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-media",
3
- "version": "8.1.1",
3
+ "version": "8.1.2",
4
4
  "description": "Media plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -46,10 +46,10 @@
46
46
  "@atlaskit/editor-plugin-guideline": "^6.0.0",
47
47
  "@atlaskit/editor-plugin-interaction": "^8.0.0",
48
48
  "@atlaskit/editor-plugin-selection": "^6.1.0",
49
- "@atlaskit/editor-plugin-toolbar": "^3.1.0",
49
+ "@atlaskit/editor-plugin-toolbar": "^3.2.0",
50
50
  "@atlaskit/editor-plugin-width": "^7.0.0",
51
51
  "@atlaskit/editor-prosemirror": "7.0.0",
52
- "@atlaskit/editor-shared-styles": "^3.6.0",
52
+ "@atlaskit/editor-shared-styles": "^3.7.0",
53
53
  "@atlaskit/editor-tables": "^2.9.0",
54
54
  "@atlaskit/form": "^14.2.0",
55
55
  "@atlaskit/icon": "^28.5.0",
@@ -66,7 +66,7 @@
66
66
  "@atlaskit/primitives": "^14.15.0",
67
67
  "@atlaskit/textfield": "^8.0.0",
68
68
  "@atlaskit/theme": "^21.0.0",
69
- "@atlaskit/tmp-editor-statsig": "^13.6.0",
69
+ "@atlaskit/tmp-editor-statsig": "^13.10.0",
70
70
  "@atlaskit/tokens": "^6.4.0",
71
71
  "@atlaskit/tooltip": "^20.5.0",
72
72
  "@babel/runtime": "^7.0.0",
@@ -78,7 +78,7 @@
78
78
  "uuid": "^3.1.0"
79
79
  },
80
80
  "peerDependencies": {
81
- "@atlaskit/editor-common": "^110.9.0",
81
+ "@atlaskit/editor-common": "^110.10.0",
82
82
  "@atlaskit/media-core": "^37.0.0",
83
83
  "react": "^18.2.0",
84
84
  "react-dom": "^18.2.0",