@atlaskit/editor-plugin-media-insert 4.0.14 → 5.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,11 @@
1
1
  # @atlaskit/editor-plugin-media-insert
2
2
 
3
+ ## 5.0.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 4.0.14
4
10
 
5
11
  ### Patch Changes
@@ -162,6 +162,7 @@ var LocalMedia = exports.LocalMedia = /*#__PURE__*/_react.default.forwardRef(fun
162
162
  }, uploadState.error && /*#__PURE__*/_react.default.createElement(_sectionMessage.default, {
163
163
  appearance: "error"
164
164
  }, uploadState.error === 'upload_fail' ? strings.networkError : strings.genericError), /*#__PURE__*/_react.default.createElement(_new.default, {
165
+ id: "local-media-upload-button",
165
166
  iconBefore: function iconBefore() {
166
167
  return /*#__PURE__*/_react.default.createElement(_upload.default, {
167
168
  label: "",
@@ -151,6 +151,7 @@ export const LocalMedia = /*#__PURE__*/React.forwardRef(({
151
151
  }, uploadState.error && /*#__PURE__*/React.createElement(SectionMessage, {
152
152
  appearance: "error"
153
153
  }, uploadState.error === 'upload_fail' ? strings.networkError : strings.genericError), /*#__PURE__*/React.createElement(Button, {
154
+ id: "local-media-upload-button",
154
155
  iconBefore: () => /*#__PURE__*/React.createElement(UploadIcon, {
155
156
  label: "",
156
157
  LEGACY_fallbackIcon: UploadIconLegacy
@@ -152,6 +152,7 @@ export var LocalMedia = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
152
152
  }, uploadState.error && /*#__PURE__*/React.createElement(SectionMessage, {
153
153
  appearance: "error"
154
154
  }, uploadState.error === 'upload_fail' ? strings.networkError : strings.genericError), /*#__PURE__*/React.createElement(Button, {
155
+ id: "local-media-upload-button",
155
156
  iconBefore: function iconBefore() {
156
157
  return /*#__PURE__*/React.createElement(UploadIcon, {
157
158
  label: "",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-media-insert",
3
- "version": "4.0.14",
3
+ "version": "5.0.0",
4
4
  "description": "Media Insert plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -25,14 +25,14 @@
25
25
  "dependencies": {
26
26
  "@atlaskit/adf-schema": "^46.1.0",
27
27
  "@atlaskit/button": "^20.3.0",
28
- "@atlaskit/editor-common": "^98.0.0",
28
+ "@atlaskit/editor-common": "^99.0.0",
29
29
  "@atlaskit/editor-plugin-analytics": "^1.10.0",
30
- "@atlaskit/editor-plugin-media": "^1.43.0",
30
+ "@atlaskit/editor-plugin-media": "^1.44.0",
31
31
  "@atlaskit/editor-prosemirror": "6.2.1",
32
32
  "@atlaskit/editor-shared-styles": "^3.2.0",
33
33
  "@atlaskit/form": "^11.0.0",
34
- "@atlaskit/icon": "^23.1.0",
35
- "@atlaskit/media-card": "^78.17.0",
34
+ "@atlaskit/icon": "^23.3.0",
35
+ "@atlaskit/media-card": "^78.18.0",
36
36
  "@atlaskit/media-client": "^29.0.0",
37
37
  "@atlaskit/media-client-react": "^2.5.0",
38
38
  "@atlaskit/media-picker": "^67.0.0",
@@ -41,13 +41,14 @@
41
41
  "@atlaskit/section-message": "^6.8.0",
42
42
  "@atlaskit/tabs": "^17.0.0",
43
43
  "@atlaskit/textfield": "^6.7.0",
44
- "@atlaskit/tmp-editor-statsig": "^2.31.0",
44
+ "@atlaskit/tmp-editor-statsig": "^2.33.0",
45
45
  "@babel/runtime": "^7.0.0",
46
- "react": "^16.8.0",
47
46
  "react-intl-next": "npm:react-intl@^5.18.1"
48
47
  },
49
48
  "peerDependencies": {
50
- "@atlaskit/tokens": "^2.5.0"
49
+ "@atlaskit/tokens": "^3.0.0",
50
+ "react": "^16.8.0 || ^17.0.0 || ~18.2.0",
51
+ "react-dom": "^16.8.0 || ^17.0.0 || ~18.2.0"
51
52
  },
52
53
  "devDependencies": {
53
54
  "typescript": "~5.4.2"