@atlaskit/editor-plugin-media 5.3.1 → 5.4.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,16 @@
1
1
  # @atlaskit/editor-plugin-media
2
2
 
3
+ ## 5.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`180ac73668d0b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/180ac73668d0b) -
8
+ Debounced media single rendering
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies
13
+
3
14
  ## 5.3.1
4
15
 
5
16
  ### Patch Changes
@@ -334,8 +334,6 @@ var ReactMediaSingleNode = exports.ReactMediaSingleNode = function ReactMediaSin
334
334
  isCopyPasteEnabled: mediaOptions.isCopyPasteEnabled,
335
335
  pluginInjectionApi: pluginInjectionApi,
336
336
  editorAppearance: mediaOptions.editorAppearance
337
- }, undefined, undefined,
338
- // @portal-render-immediately
339
- true).init();
337
+ }).init();
340
338
  };
341
339
  };
@@ -285,7 +285,5 @@ export const ReactMediaSingleNode = (portalProviderAPI, eventDispatcher, provide
285
285
  isCopyPasteEnabled: mediaOptions.isCopyPasteEnabled,
286
286
  pluginInjectionApi,
287
287
  editorAppearance: mediaOptions.editorAppearance
288
- }, undefined, undefined,
289
- // @portal-render-immediately
290
- true).init();
288
+ }).init();
291
289
  };
@@ -330,8 +330,6 @@ export var ReactMediaSingleNode = function ReactMediaSingleNode(portalProviderAP
330
330
  isCopyPasteEnabled: mediaOptions.isCopyPasteEnabled,
331
331
  pluginInjectionApi: pluginInjectionApi,
332
332
  editorAppearance: mediaOptions.editorAppearance
333
- }, undefined, undefined,
334
- // @portal-render-immediately
335
- true).init();
333
+ }).init();
336
334
  };
337
335
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-media",
3
- "version": "5.3.1",
3
+ "version": "5.4.0",
4
4
  "description": "Media plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -28,10 +28,6 @@
28
28
  "*.compiled.css"
29
29
  ],
30
30
  "atlaskit:src": "src/index.ts",
31
- "af:exports": {
32
- ".": "./src/index.ts",
33
- "./types": "./src/types/index.ts"
34
- },
35
31
  "dependencies": {
36
32
  "@atlaskit/adf-schema": "^50.2.2",
37
33
  "@atlaskit/analytics-namespaced-context": "^7.0.0",
@@ -81,7 +77,7 @@
81
77
  "uuid": "^3.1.0"
82
78
  },
83
79
  "peerDependencies": {
84
- "@atlaskit/editor-common": "^107.31.0",
80
+ "@atlaskit/editor-common": "^107.32.0",
85
81
  "@atlaskit/media-core": "^37.0.0",
86
82
  "react": "^18.2.0",
87
83
  "react-dom": "^18.2.0",