@atlaskit/editor-plugin-media-insert 9.2.7 → 10.0.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,13 @@
1
1
  # @atlaskit/editor-plugin-media-insert
2
2
 
3
+ ## 10.0.0
4
+
5
+ ### Patch Changes
6
+
7
+ - [`9404b6c00034a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9404b6c00034a) -
8
+ this is fix the bug of insert button having submission type
9
+ - Updated dependencies
10
+
3
11
  ## 9.2.7
4
12
 
5
13
  ### Patch Changes
@@ -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: "submit",
388
+ type: "button",
389
389
  appearance: "primary",
390
390
  isDisabled: isOnlyExternalLinks ? !input || !isValidInput(input, customizedUrlValidation) : !previewState.previewInfo && !previewState.warning,
391
391
  onClick: function onClick() {
@@ -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: "submit",
345
+ type: "button",
346
346
  appearance: "primary",
347
347
  isDisabled: isOnlyExternalLinks ? !input || !isValidInput(input, customizedUrlValidation) : !previewState.previewInfo && !previewState.warning,
348
348
  onClick: () => formProps.onSubmit()
@@ -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: "submit",
379
+ type: "button",
380
380
  appearance: "primary",
381
381
  isDisabled: isOnlyExternalLinks ? !input || !isValidInput(input, customizedUrlValidation) : !previewState.previewInfo && !previewState.warning,
382
382
  onClick: function onClick() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-media-insert",
3
- "version": "9.2.7",
3
+ "version": "10.0.0",
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": "^3.0.0",
27
- "@atlaskit/editor-plugin-media": "^5.4.0",
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.2.0",
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",
@@ -38,12 +38,12 @@
38
38
  "@atlaskit/section-message": "^8.6.0",
39
39
  "@atlaskit/tabs": "^18.1.0",
40
40
  "@atlaskit/textfield": "^8.0.0",
41
- "@atlaskit/tmp-editor-statsig": "^11.9.0",
41
+ "@atlaskit/tmp-editor-statsig": "^12.0.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": "^107.33.0",
46
+ "@atlaskit/editor-common": "^108.0.0",
47
47
  "@atlaskit/tokens": "^6.1.0",
48
48
  "react": "^18.2.0",
49
49
  "react-dom": "^18.2.0"