@atlaskit/editor-plugin-media-insert 3.2.4 → 3.2.5

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,14 @@
1
1
  # @atlaskit/editor-plugin-media-insert
2
2
 
3
+ ## 3.2.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [#157006](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/157006)
8
+ [`6d448d5eee86b`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6d448d5eee86b) -
9
+ [ux] [ED-25440] Fix text alignment styles for media popup when rendered from the toolbar
10
+ - Updated dependencies
11
+
3
12
  ## 3.2.4
4
13
 
5
14
  ### Patch Changes
@@ -44,8 +44,7 @@ var PreviewImageStyles = (0, _primitives.xcss)({
44
44
  height: '200px'
45
45
  });
46
46
  var FormStyles = (0, _primitives.xcss)({
47
- flexGrow: 1,
48
- whiteSpace: 'normal'
47
+ flexGrow: 1
49
48
  });
50
49
  var INITIAL_PREVIEW_STATE = Object.freeze({
51
50
  isLoading: false,
@@ -8,6 +8,9 @@ exports.MediaInsertWrapper = void 0;
8
8
  var _react = _interopRequireDefault(require("react"));
9
9
  var _primitives = require("@atlaskit/primitives");
10
10
  var styles = (0, _primitives.xcss)({
11
+ /* Reset inherited styles from toolbar */
12
+ whiteSpace: 'initial',
13
+ textAlign: 'initial',
11
14
  boxShadow: 'elevation.shadow.overflow',
12
15
  width: '340px',
13
16
  padding: 'space.200',
@@ -25,8 +25,7 @@ const PreviewImageStyles = xcss({
25
25
  height: '200px'
26
26
  });
27
27
  const FormStyles = xcss({
28
- flexGrow: 1,
29
- whiteSpace: 'normal'
28
+ flexGrow: 1
30
29
  });
31
30
  const INITIAL_PREVIEW_STATE = Object.freeze({
32
31
  isLoading: false,
@@ -1,6 +1,9 @@
1
1
  import React from 'react';
2
2
  import { Box, xcss } from '@atlaskit/primitives';
3
3
  const styles = xcss({
4
+ /* Reset inherited styles from toolbar */
5
+ whiteSpace: 'initial',
6
+ textAlign: 'initial',
4
7
  boxShadow: 'elevation.shadow.overflow',
5
8
  width: '340px',
6
9
  padding: 'space.200',
@@ -33,8 +33,7 @@ var PreviewImageStyles = xcss({
33
33
  height: '200px'
34
34
  });
35
35
  var FormStyles = xcss({
36
- flexGrow: 1,
37
- whiteSpace: 'normal'
36
+ flexGrow: 1
38
37
  });
39
38
  var INITIAL_PREVIEW_STATE = Object.freeze({
40
39
  isLoading: false,
@@ -1,6 +1,9 @@
1
1
  import React from 'react';
2
2
  import { Box, xcss } from '@atlaskit/primitives';
3
3
  var styles = xcss({
4
+ /* Reset inherited styles from toolbar */
5
+ whiteSpace: 'initial',
6
+ textAlign: 'initial',
4
7
  boxShadow: 'elevation.shadow.overflow',
5
8
  width: '340px',
6
9
  padding: 'space.200',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-media-insert",
3
- "version": "3.2.4",
3
+ "version": "3.2.5",
4
4
  "description": "Media Insert plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -24,15 +24,15 @@
24
24
  },
25
25
  "dependencies": {
26
26
  "@atlaskit/adf-schema": "^42.3.1",
27
- "@atlaskit/button": "^20.2.0",
28
- "@atlaskit/editor-common": "^94.0.0",
27
+ "@atlaskit/button": "^20.3.0",
28
+ "@atlaskit/editor-common": "^94.5.0",
29
29
  "@atlaskit/editor-plugin-analytics": "^1.10.0",
30
- "@atlaskit/editor-plugin-media": "^1.37.0",
30
+ "@atlaskit/editor-plugin-media": "^1.38.0",
31
31
  "@atlaskit/editor-prosemirror": "6.0.0",
32
- "@atlaskit/editor-shared-styles": "^3.0.0",
32
+ "@atlaskit/editor-shared-styles": "^3.1.0",
33
33
  "@atlaskit/form": "^10.5.3",
34
- "@atlaskit/icon": "^22.23.0",
35
- "@atlaskit/media-card": "^78.7.0",
34
+ "@atlaskit/icon": "^22.24.0",
35
+ "@atlaskit/media-card": "^78.9.0",
36
36
  "@atlaskit/media-client": "^28.0.0",
37
37
  "@atlaskit/media-client-react": "^2.2.0",
38
38
  "@atlaskit/media-picker": "^66.7.0",