@atlaskit/editor-presets 11.0.7 → 11.1.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,5 +1,23 @@
1
1
  # @atlaskit/editor-presets
2
2
 
3
+ ## 11.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`d3a7f9016da28`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d3a7f9016da28) -
8
+ Add media render lifecycle callbacks for Remix-generated media behind
9
+ cc-maui-add-mark-for-remix-generated-images.
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
15
+ ## 11.0.8
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies
20
+
3
21
  ## 11.0.7
4
22
 
5
23
  ### Patch Changes
@@ -56,6 +56,7 @@ function mediaPluginOptions(_ref) {
56
56
  // SECTION: From confluence/next/packages/full-page-editor/src/FullPageEditorComponent.tsx
57
57
  waitForMediaUpload: true,
58
58
  // END SECTION
59
- mediaViewerExtensions: options.mediaViewerExtensions
59
+ mediaViewerExtensions: options.mediaViewerExtensions,
60
+ onMediaRenderEvent: options.onMediaRenderEvent
60
61
  };
61
62
  }
@@ -51,6 +51,7 @@ export function mediaPluginOptions({
51
51
  // SECTION: From confluence/next/packages/full-page-editor/src/FullPageEditorComponent.tsx
52
52
  waitForMediaUpload: true,
53
53
  // END SECTION
54
- mediaViewerExtensions: options.mediaViewerExtensions
54
+ mediaViewerExtensions: options.mediaViewerExtensions,
55
+ onMediaRenderEvent: options.onMediaRenderEvent
55
56
  };
56
57
  }
@@ -50,6 +50,7 @@ export function mediaPluginOptions(_ref) {
50
50
  // SECTION: From confluence/next/packages/full-page-editor/src/FullPageEditorComponent.tsx
51
51
  waitForMediaUpload: true,
52
52
  // END SECTION
53
- mediaViewerExtensions: options.mediaViewerExtensions
53
+ mediaViewerExtensions: options.mediaViewerExtensions,
54
+ onMediaRenderEvent: options.onMediaRenderEvent
54
55
  };
55
56
  }
@@ -8,6 +8,7 @@ interface Props {
8
8
  createCommentExperience: MediaPluginOptions['createCommentExperience'];
9
9
  editorAppearance: FullPageEditorAppearance;
10
10
  mediaViewerExtensions: MediaPluginOptions['mediaViewerExtensions'];
11
+ onMediaRenderEvent?: MediaPluginOptions['onMediaRenderEvent'];
11
12
  };
12
13
  providers: {
13
14
  mediaProvider: Promise<MediaProvider> | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-presets",
3
- "version": "11.0.7",
3
+ "version": "11.1.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Public editor presets for Atlassian Editor containing base configurations for Confluence and other products",
6
6
  "publishConfig": {
@@ -78,7 +78,7 @@
78
78
  "@atlaskit/editor-plugin-list": "^19.0.0",
79
79
  "@atlaskit/editor-plugin-local-id": "^15.0.0",
80
80
  "@atlaskit/editor-plugin-loom": "^19.0.0",
81
- "@atlaskit/editor-plugin-media": "^19.1.0",
81
+ "@atlaskit/editor-plugin-media": "^19.2.0",
82
82
  "@atlaskit/editor-plugin-media-insert": "^32.0.0",
83
83
  "@atlaskit/editor-plugin-mentions": "^19.1.0",
84
84
  "@atlaskit/editor-plugin-metrics": "^18.0.0",
@@ -116,7 +116,7 @@
116
116
  "@atlaskit/editor-plugin-width": "^18.0.0",
117
117
  "@atlaskit/platform-feature-experiments": "^0.3.0",
118
118
  "@atlaskit/platform-feature-flags": "^2.2.0",
119
- "@atlaskit/tmp-editor-statsig": "^186.0.0",
119
+ "@atlaskit/tmp-editor-statsig": "^187.0.0",
120
120
  "@atlassian/ari": "^2.596.0",
121
121
  "@atlassian/editor-plugin-agent-managed-extension": "^7.0.0",
122
122
  "@babel/runtime": "^7.0.0"