@atlaskit/editor-plugin-media-insert 9.2.7 → 10.0.1
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 +16 -0
- package/dist/cjs/ui/MediaFromURL.js +2 -2
- package/dist/cjs/ui/MediaInsertWrapper.js +1 -1
- package/dist/es2019/ui/MediaFromURL.js +2 -2
- package/dist/es2019/ui/MediaInsertWrapper.js +1 -1
- package/dist/esm/ui/MediaFromURL.js +2 -2
- package/dist/esm/ui/MediaInsertWrapper.js +1 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-media-insert
|
|
2
2
|
|
|
3
|
+
## 10.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`255837cfba315`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/255837cfba315) -
|
|
8
|
+
Internal changes to how border radius is applied.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 10.0.0
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [`9404b6c00034a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9404b6c00034a) -
|
|
16
|
+
this is fix the bug of insert button having submission type
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
3
19
|
## 9.2.7
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -37,7 +37,7 @@ var PreviewBoxStyles = (0, _primitives.xcss)({
|
|
|
37
37
|
borderWidth: 'border.width',
|
|
38
38
|
borderStyle: 'dashed',
|
|
39
39
|
borderColor: 'color.border',
|
|
40
|
-
borderRadius: '
|
|
40
|
+
borderRadius: 'radius.small',
|
|
41
41
|
height: '200px'
|
|
42
42
|
});
|
|
43
43
|
var PreviewImageStyles = (0, _primitives.xcss)({
|
|
@@ -385,7 +385,7 @@ function MediaFromURL(_ref) {
|
|
|
385
385
|
appearance: "subtle",
|
|
386
386
|
onClick: onCancel
|
|
387
387
|
}, strings.cancel), /*#__PURE__*/_react.default.createElement(_new.default, {
|
|
388
|
-
type: "
|
|
388
|
+
type: "button",
|
|
389
389
|
appearance: "primary",
|
|
390
390
|
isDisabled: isOnlyExternalLinks ? !input || !isValidInput(input, customizedUrlValidation) : !previewState.previewInfo && !previewState.warning,
|
|
391
391
|
onClick: function onClick() {
|
|
@@ -17,7 +17,7 @@ var styles = (0, _primitives.xcss)({
|
|
|
17
17
|
boxShadow: 'elevation.shadow.overflow',
|
|
18
18
|
width: '340px',
|
|
19
19
|
padding: 'space.200',
|
|
20
|
-
borderRadius: '
|
|
20
|
+
borderRadius: 'radius.small',
|
|
21
21
|
backgroundColor: 'elevation.surface.overlay'
|
|
22
22
|
});
|
|
23
23
|
var MediaInsertWrapper = exports.MediaInsertWrapper = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
@@ -20,7 +20,7 @@ const PreviewBoxStyles = xcss({
|
|
|
20
20
|
borderWidth: 'border.width',
|
|
21
21
|
borderStyle: 'dashed',
|
|
22
22
|
borderColor: 'color.border',
|
|
23
|
-
borderRadius: '
|
|
23
|
+
borderRadius: 'radius.small',
|
|
24
24
|
height: '200px'
|
|
25
25
|
});
|
|
26
26
|
const PreviewImageStyles = xcss({
|
|
@@ -342,7 +342,7 @@ export function MediaFromURL({
|
|
|
342
342
|
appearance: "subtle",
|
|
343
343
|
onClick: onCancel
|
|
344
344
|
}, strings.cancel), /*#__PURE__*/React.createElement(Button, {
|
|
345
|
-
type: "
|
|
345
|
+
type: "button",
|
|
346
346
|
appearance: "primary",
|
|
347
347
|
isDisabled: isOnlyExternalLinks ? !input || !isValidInput(input, customizedUrlValidation) : !previewState.previewInfo && !previewState.warning,
|
|
348
348
|
onClick: () => formProps.onSubmit()
|
|
@@ -9,7 +9,7 @@ const styles = xcss({
|
|
|
9
9
|
boxShadow: 'elevation.shadow.overflow',
|
|
10
10
|
width: '340px',
|
|
11
11
|
padding: 'space.200',
|
|
12
|
-
borderRadius: '
|
|
12
|
+
borderRadius: 'radius.small',
|
|
13
13
|
backgroundColor: 'elevation.surface.overlay'
|
|
14
14
|
});
|
|
15
15
|
export const MediaInsertWrapper = /*#__PURE__*/forwardRef(({
|
|
@@ -28,7 +28,7 @@ var PreviewBoxStyles = xcss({
|
|
|
28
28
|
borderWidth: 'border.width',
|
|
29
29
|
borderStyle: 'dashed',
|
|
30
30
|
borderColor: 'color.border',
|
|
31
|
-
borderRadius: '
|
|
31
|
+
borderRadius: 'radius.small',
|
|
32
32
|
height: '200px'
|
|
33
33
|
});
|
|
34
34
|
var PreviewImageStyles = xcss({
|
|
@@ -376,7 +376,7 @@ export function MediaFromURL(_ref) {
|
|
|
376
376
|
appearance: "subtle",
|
|
377
377
|
onClick: onCancel
|
|
378
378
|
}, strings.cancel), /*#__PURE__*/React.createElement(Button, {
|
|
379
|
-
type: "
|
|
379
|
+
type: "button",
|
|
380
380
|
appearance: "primary",
|
|
381
381
|
isDisabled: isOnlyExternalLinks ? !input || !isValidInput(input, customizedUrlValidation) : !previewState.previewInfo && !previewState.warning,
|
|
382
382
|
onClick: function onClick() {
|
|
@@ -9,7 +9,7 @@ var styles = xcss({
|
|
|
9
9
|
boxShadow: 'elevation.shadow.overflow',
|
|
10
10
|
width: '340px',
|
|
11
11
|
padding: 'space.200',
|
|
12
|
-
borderRadius: '
|
|
12
|
+
borderRadius: 'radius.small',
|
|
13
13
|
backgroundColor: 'elevation.surface.overlay'
|
|
14
14
|
});
|
|
15
15
|
export var MediaInsertWrapper = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-media-insert",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "10.0.1",
|
|
4
4
|
"description": "Media Insert plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@atlaskit/adf-schema": "^50.2.3",
|
|
25
25
|
"@atlaskit/button": "^23.4.0",
|
|
26
|
-
"@atlaskit/editor-plugin-analytics": "^
|
|
27
|
-
"@atlaskit/editor-plugin-media": "^
|
|
26
|
+
"@atlaskit/editor-plugin-analytics": "^4.0.0",
|
|
27
|
+
"@atlaskit/editor-plugin-media": "^6.0.0",
|
|
28
28
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
29
29
|
"@atlaskit/editor-shared-styles": "^3.6.0",
|
|
30
|
-
"@atlaskit/form": "^12.
|
|
30
|
+
"@atlaskit/form": "^12.4.0",
|
|
31
31
|
"@atlaskit/icon": "^28.1.0",
|
|
32
32
|
"@atlaskit/media-card": "^79.5.0",
|
|
33
33
|
"@atlaskit/media-client": "^35.3.0",
|
|
@@ -35,15 +35,15 @@
|
|
|
35
35
|
"@atlaskit/media-picker": "^70.0.0",
|
|
36
36
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
37
37
|
"@atlaskit/primitives": "^14.12.0",
|
|
38
|
-
"@atlaskit/section-message": "^8.
|
|
38
|
+
"@atlaskit/section-message": "^8.7.0",
|
|
39
39
|
"@atlaskit/tabs": "^18.1.0",
|
|
40
40
|
"@atlaskit/textfield": "^8.0.0",
|
|
41
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
41
|
+
"@atlaskit/tmp-editor-statsig": "^12.2.0",
|
|
42
42
|
"@babel/runtime": "^7.0.0",
|
|
43
43
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
|
-
"@atlaskit/editor-common": "^
|
|
46
|
+
"@atlaskit/editor-common": "^108.1.0",
|
|
47
47
|
"@atlaskit/tokens": "^6.1.0",
|
|
48
48
|
"react": "^18.2.0",
|
|
49
49
|
"react-dom": "^18.2.0"
|