@atlaskit/editor-plugin-media 1.14.1 → 1.14.3

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,17 @@
1
1
  # @atlaskit/editor-plugin-media
2
2
 
3
+ ## 1.14.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 1.14.2
10
+
11
+ ### Patch Changes
12
+
13
+ - [#88742](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/88742) [`6771cedeadd3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6771cedeadd3) - Add UI for comment badge in Renderer, clean up props
14
+
3
15
  ## 1.14.1
4
16
 
5
17
  ### Patch Changes
@@ -38,11 +38,12 @@ var CommentBadgeWrapper = function CommentBadgeWrapper(_ref) {
38
38
  }
39
39
  var mediaElement = view.domAtPos(pos + 1).node;
40
40
  return /*#__PURE__*/_react.default.createElement(_mediaSingle.CommentBadge, {
41
- view: view,
42
- mediaNode: mediaNode,
41
+ width: mediaNode.attrs.width,
42
+ height: mediaNode.attrs.height,
43
43
  onClick: onClick,
44
44
  mediaElement: mediaElement,
45
- intl: intl
45
+ intl: intl,
46
+ isEditor: true
46
47
  });
47
48
  };
48
49
  var CommentBadge = exports.CommentBadge = (0, _reactIntlNext.injectIntl)(CommentBadgeWrapper);
@@ -40,11 +40,12 @@ const CommentBadgeWrapper = ({
40
40
  }
41
41
  const mediaElement = view.domAtPos(pos + 1).node;
42
42
  return /*#__PURE__*/React.createElement(CommentBadgeComponent, {
43
- view: view,
44
- mediaNode: mediaNode,
43
+ width: mediaNode.attrs.width,
44
+ height: mediaNode.attrs.height,
45
45
  onClick: onClick,
46
46
  mediaElement: mediaElement,
47
- intl: intl
47
+ intl: intl,
48
+ isEditor: true
48
49
  });
49
50
  };
50
51
  export const CommentBadge = injectIntl(CommentBadgeWrapper);
@@ -29,11 +29,12 @@ var CommentBadgeWrapper = function CommentBadgeWrapper(_ref) {
29
29
  }
30
30
  var mediaElement = view.domAtPos(pos + 1).node;
31
31
  return /*#__PURE__*/React.createElement(CommentBadgeComponent, {
32
- view: view,
33
- mediaNode: mediaNode,
32
+ width: mediaNode.attrs.width,
33
+ height: mediaNode.attrs.height,
34
34
  onClick: onClick,
35
35
  mediaElement: mediaElement,
36
- intl: intl
36
+ intl: intl,
37
+ isEditor: true
37
38
  });
38
39
  };
39
40
  export var CommentBadge = injectIntl(CommentBadgeWrapper);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-media",
3
- "version": "1.14.1",
3
+ "version": "1.14.3",
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.11.0",
40
- "@atlaskit/editor-common": "^78.23.0",
40
+ "@atlaskit/editor-common": "^78.26.0",
41
41
  "@atlaskit/editor-palette": "1.5.3",
42
42
  "@atlaskit/editor-plugin-analytics": "^1.0.0",
43
- "@atlaskit/editor-plugin-annotation": "1.5.7",
43
+ "@atlaskit/editor-plugin-annotation": "1.5.8",
44
44
  "@atlaskit/editor-plugin-decorations": "^1.0.0",
45
45
  "@atlaskit/editor-plugin-editor-disabled": "^1.0.0",
46
46
  "@atlaskit/editor-plugin-editor-viewmode": "^1.0.0",
@@ -55,8 +55,8 @@
55
55
  "@atlaskit/editor-tables": "^2.6.0",
56
56
  "@atlaskit/form": "^9.1.0",
57
57
  "@atlaskit/icon": "^22.1.0",
58
- "@atlaskit/media-card": "^77.10.0",
59
- "@atlaskit/media-client": "^26.2.0",
58
+ "@atlaskit/media-card": "^77.11.0",
59
+ "@atlaskit/media-client": "^26.3.0",
60
60
  "@atlaskit/media-client-react": "^2.0.0",
61
61
  "@atlaskit/media-common": "^11.1.0",
62
62
  "@atlaskit/media-filmstrip": "^47.0.0",
@@ -68,7 +68,7 @@
68
68
  "@atlaskit/textfield": "^6.1.0",
69
69
  "@atlaskit/theme": "^12.7.0",
70
70
  "@atlaskit/tokens": "^1.43.0",
71
- "@atlaskit/tooltip": "^18.1.0",
71
+ "@atlaskit/tooltip": "^18.2.0",
72
72
  "@babel/runtime": "^7.0.0",
73
73
  "@emotion/react": "^11.7.1",
74
74
  "bind-event-listener": "^2.1.1",