@atlaskit/editor-plugin-media 1.6.1 → 1.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,5 +1,21 @@
1
1
  # @atlaskit/editor-plugin-media
2
2
 
3
+ ## 1.7.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#63691](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/63691) [`02293e70771b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/02293e70771b) - add allowWidthDetector option to be used to skip width detector in renderer, to make media single works in inline extension like excerpt include
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies
12
+
13
+ ## 1.6.2
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies
18
+
3
19
  ## 1.6.1
4
20
 
5
21
  ### Patch Changes
@@ -392,7 +392,8 @@ var ResizableMediaSingle = exports.default = /*#__PURE__*/function (_React$Compo
392
392
  layout: layout,
393
393
  isResized: !!pctWidth,
394
394
  containerWidth: containerWidth || origWidth,
395
- fullWidthMode: fullWidthMode
395
+ fullWidthMode: fullWidthMode,
396
+ width: origWidth
396
397
  })
397
398
  }, (0, _react2.jsx)(_ui.Resizer, (0, _extends2.default)({}, this.props, {
398
399
  displayGrid: this.displayGrid,
@@ -318,7 +318,8 @@ export default class ResizableMediaSingle extends React.Component {
318
318
  layout,
319
319
  isResized: !!pctWidth,
320
320
  containerWidth: containerWidth || origWidth,
321
- fullWidthMode
321
+ fullWidthMode,
322
+ width: origWidth
322
323
  })
323
324
  }, jsx(Resizer, _extends({}, this.props, {
324
325
  displayGrid: this.displayGrid,
@@ -386,7 +386,8 @@ var ResizableMediaSingle = /*#__PURE__*/function (_React$Component) {
386
386
  layout: layout,
387
387
  isResized: !!pctWidth,
388
388
  containerWidth: containerWidth || origWidth,
389
- fullWidthMode: fullWidthMode
389
+ fullWidthMode: fullWidthMode,
390
+ width: origWidth
390
391
  })
391
392
  }, jsx(Resizer, _extends({}, this.props, {
392
393
  displayGrid: this.displayGrid,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-media",
3
- "version": "1.6.1",
3
+ "version": "1.7.0",
4
4
  "description": "Media plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -37,10 +37,10 @@
37
37
  "@atlaskit/analytics-namespaced-context": "^6.9.0",
38
38
  "@atlaskit/analytics-next": "^9.2.0",
39
39
  "@atlaskit/button": "^17.6.0",
40
- "@atlaskit/editor-common": "^78.10.0",
40
+ "@atlaskit/editor-common": "^78.11.0",
41
41
  "@atlaskit/editor-palette": "1.5.2",
42
42
  "@atlaskit/editor-plugin-analytics": "^1.0.0",
43
- "@atlaskit/editor-plugin-annotation": "1.0.2",
43
+ "@atlaskit/editor-plugin-annotation": "1.1.0",
44
44
  "@atlaskit/editor-plugin-decorations": "^1.0.0",
45
45
  "@atlaskit/editor-plugin-editor-disabled": "^1.0.0",
46
46
  "@atlaskit/editor-plugin-floating-toolbar": "^1.2.0",