@atlaskit/editor-plugin-media 12.6.1 → 12.7.0

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,10 +1,21 @@
1
1
  # @atlaskit/editor-plugin-media
2
2
 
3
+ ## 12.7.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`64bd49d58dcd8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/64bd49d58dcd8) -
8
+ Remove cc-maui-phase-2-loading fg references. Replace with cc-maui-phase-2
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies
13
+
3
14
  ## 12.6.1
4
15
 
5
16
  ### Patch Changes
6
17
 
7
- - [`06cac9d5b6b96`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/06cac9d5b6b96) -
18
+ - [`ebab8f80bfc40`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ebab8f80bfc40) -
8
19
  Cleanup dynamic config maui_ai_border_killswitch (resolved as false). Removed FeatureGates import
9
20
  and killswitch condition check.
10
21
  - Updated dependencies
@@ -115,7 +115,7 @@ function createAIGeneratingDecorationPlugin() {
115
115
  },
116
116
  apply: function apply(tr, pluginState, _oldState, newState) {
117
117
  // Disabled when gate/experiment off — drop decorations.
118
- if (!(0, _platformFeatureFlags.fg)('cc-maui-phase-2-loading') || !(0, _expValEquals.expValEquals)('cc-maui-experiment', 'isEnabled', true)) {
118
+ if (!(0, _platformFeatureFlags.fg)('cc-maui-phase-2') || !(0, _expValEquals.expValEquals)('cc-maui-experiment', 'isEnabled', true)) {
119
119
  if (pluginState.generatingMediaIds.size > 0) {
120
120
  return {
121
121
  generatingMediaIds: new Set(),
@@ -100,7 +100,7 @@ export function createAIGeneratingDecorationPlugin() {
100
100
  },
101
101
  apply(tr, pluginState, _oldState, newState) {
102
102
  // Disabled when gate/experiment off — drop decorations.
103
- if (!fg('cc-maui-phase-2-loading') || !expValEquals('cc-maui-experiment', 'isEnabled', true)) {
103
+ if (!fg('cc-maui-phase-2') || !expValEquals('cc-maui-experiment', 'isEnabled', true)) {
104
104
  if (pluginState.generatingMediaIds.size > 0) {
105
105
  return {
106
106
  generatingMediaIds: new Set(),
@@ -105,7 +105,7 @@ export function createAIGeneratingDecorationPlugin() {
105
105
  },
106
106
  apply: function apply(tr, pluginState, _oldState, newState) {
107
107
  // Disabled when gate/experiment off — drop decorations.
108
- if (!fg('cc-maui-phase-2-loading') || !expValEquals('cc-maui-experiment', 'isEnabled', true)) {
108
+ if (!fg('cc-maui-phase-2') || !expValEquals('cc-maui-experiment', 'isEnabled', true)) {
109
109
  if (pluginState.generatingMediaIds.size > 0) {
110
110
  return {
111
111
  generatingMediaIds: new Set(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-media",
3
- "version": "12.6.1",
3
+ "version": "12.7.0",
4
4
  "description": "Media plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -45,16 +45,16 @@
45
45
  "@atlaskit/editor-plugin-grid": "^10.2.0",
46
46
  "@atlaskit/editor-plugin-guideline": "^10.1.0",
47
47
  "@atlaskit/editor-plugin-interaction": "^19.1.0",
48
- "@atlaskit/editor-plugin-selection": "^10.0.0",
49
- "@atlaskit/editor-plugin-toolbar": "^7.2.0",
50
- "@atlaskit/editor-plugin-width": "^11.0.0",
48
+ "@atlaskit/editor-plugin-selection": "^10.1.0",
49
+ "@atlaskit/editor-plugin-toolbar": "^7.3.0",
50
+ "@atlaskit/editor-plugin-width": "^11.1.0",
51
51
  "@atlaskit/editor-prosemirror": "^7.3.0",
52
52
  "@atlaskit/editor-shared-styles": "^3.10.0",
53
53
  "@atlaskit/editor-tables": "^2.9.0",
54
54
  "@atlaskit/form": "^15.5.0",
55
55
  "@atlaskit/icon": "^34.5.0",
56
56
  "@atlaskit/icon-lab": "^6.9.0",
57
- "@atlaskit/media-card": "^80.4.0",
57
+ "@atlaskit/media-card": "^80.5.0",
58
58
  "@atlaskit/media-client": "^36.2.0",
59
59
  "@atlaskit/media-client-react": "^5.1.0",
60
60
  "@atlaskit/media-common": "^13.3.0",
@@ -162,7 +162,7 @@
162
162
  "platform_editor_media_disable_save_during_upload": {
163
163
  "type": "boolean"
164
164
  },
165
- "cc-maui-phase-2-loading": {
165
+ "cc-maui-phase-2": {
166
166
  "type": "boolean"
167
167
  }
168
168
  },