@atlaskit/editor-plugin-media 1.42.0 → 1.42.2

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,19 @@
1
1
  # @atlaskit/editor-plugin-media
2
2
 
3
+ ## 1.42.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#166487](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/166487)
8
+ [`9764cdca27869`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9764cdca27869) -
9
+ [ux] ED-25708 change all media cursors to pointer events in editor
10
+
11
+ ## 1.42.1
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 1.42.0
4
18
 
5
19
  ### Minor Changes
@@ -25,6 +25,9 @@ var forcedDimensionsStyles = (0, _react2.css)({
25
25
  width: '100%',
26
26
  position: 'relative'
27
27
  });
28
+ var pointerCursorStyle = (0, _react2.css)({
29
+ cursor: 'pointer'
30
+ });
28
31
  var MediaCardWrapper = exports.MediaCardWrapper = function MediaCardWrapper(_ref) {
29
32
  var dimensions = _ref.dimensions,
30
33
  children = _ref.children,
@@ -38,6 +41,7 @@ var MediaCardWrapper = exports.MediaCardWrapper = function MediaCardWrapper(_ref
38
41
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
39
42
  ,
40
43
  className: "media-card-wrapper",
44
+ css: pointerCursorStyle,
41
45
  style: {
42
46
  borderColor: "var(--custom-palette-color)",
43
47
  borderWidth: "".concat(calculatedBorderWidth, "px"),
@@ -17,6 +17,9 @@ const forcedDimensionsStyles = css({
17
17
  width: '100%',
18
18
  position: 'relative'
19
19
  });
20
+ const pointerCursorStyle = css({
21
+ cursor: 'pointer'
22
+ });
20
23
  export const MediaCardWrapper = ({
21
24
  dimensions,
22
25
  children,
@@ -30,6 +33,7 @@ export const MediaCardWrapper = ({
30
33
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
31
34
  ,
32
35
  className: "media-card-wrapper",
36
+ css: pointerCursorStyle,
33
37
  style: {
34
38
  borderColor: `var(--custom-palette-color)`,
35
39
  borderWidth: `${calculatedBorderWidth}px`,
@@ -17,6 +17,9 @@ var forcedDimensionsStyles = css({
17
17
  width: '100%',
18
18
  position: 'relative'
19
19
  });
20
+ var pointerCursorStyle = css({
21
+ cursor: 'pointer'
22
+ });
20
23
  export var MediaCardWrapper = function MediaCardWrapper(_ref) {
21
24
  var dimensions = _ref.dimensions,
22
25
  children = _ref.children,
@@ -30,6 +33,7 @@ export var MediaCardWrapper = function MediaCardWrapper(_ref) {
30
33
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
31
34
  ,
32
35
  className: "media-card-wrapper",
36
+ css: pointerCursorStyle,
33
37
  style: {
34
38
  borderColor: "var(--custom-palette-color)",
35
39
  borderWidth: "".concat(calculatedBorderWidth, "px"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-media",
3
- "version": "1.42.0",
3
+ "version": "1.42.2",
4
4
  "description": "Media plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -36,10 +36,10 @@
36
36
  "@atlaskit/analytics-namespaced-context": "^6.12.0",
37
37
  "@atlaskit/analytics-next": "^10.1.0",
38
38
  "@atlaskit/button": "^20.3.0",
39
- "@atlaskit/editor-common": "^94.23.0",
39
+ "@atlaskit/editor-common": "^95.1.0",
40
40
  "@atlaskit/editor-palette": "1.6.3",
41
41
  "@atlaskit/editor-plugin-analytics": "^1.10.0",
42
- "@atlaskit/editor-plugin-annotation": "1.24.0",
42
+ "@atlaskit/editor-plugin-annotation": "1.24.1",
43
43
  "@atlaskit/editor-plugin-decorations": "^1.3.0",
44
44
  "@atlaskit/editor-plugin-editor-disabled": "^1.3.0",
45
45
  "@atlaskit/editor-plugin-editor-viewmode": "^2.1.0",
@@ -53,7 +53,7 @@
53
53
  "@atlaskit/editor-shared-styles": "^3.2.0",
54
54
  "@atlaskit/editor-tables": "^2.8.0",
55
55
  "@atlaskit/form": "^10.5.0",
56
- "@atlaskit/icon": "^22.24.0",
56
+ "@atlaskit/icon": "^22.25.0",
57
57
  "@atlaskit/media-card": "^78.14.0",
58
58
  "@atlaskit/media-client": "^28.3.0",
59
59
  "@atlaskit/media-client-react": "^2.3.0",
@@ -66,8 +66,8 @@
66
66
  "@atlaskit/primitives": "^13.2.0",
67
67
  "@atlaskit/textfield": "^6.5.0",
68
68
  "@atlaskit/theme": "^14.0.0",
69
- "@atlaskit/tmp-editor-statsig": "^2.18.0",
70
- "@atlaskit/tokens": "^2.2.0",
69
+ "@atlaskit/tmp-editor-statsig": "^2.19.0",
70
+ "@atlaskit/tokens": "^2.3.0",
71
71
  "@atlaskit/tooltip": "^18.9.0",
72
72
  "@babel/runtime": "^7.0.0",
73
73
  "@emotion/react": "^11.7.1",