@atlaskit/editor-common 106.10.0 → 107.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,18 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 107.0.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#169011](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/169011)
8
+ [`1b40d3fe88977`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1b40d3fe88977) -
9
+ Added new attribute to MediaProvider: viewAndUploadMediaClientConfig. This config provides a Media
10
+ AuthProvider that supplies Download or Upload token on request.
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies
15
+
3
16
  ## 106.10.0
4
17
 
5
18
  ### Minor Changes
@@ -12,4 +12,9 @@ export type MediaProvider = {
12
12
  * Used for displaying Media Cards and downloading files.
13
13
  */
14
14
  viewMediaClientConfig: MediaClientConfig;
15
+ /**
16
+ * Used for displaying and downloading files OR uploading files. The operation will be determined by Media on each request.
17
+ * This will be a replacement for viewMediaClientConfig and uploadMediaClientConfig together
18
+ */
19
+ viewAndUploadMediaClientConfig?: MediaClientConfig;
15
20
  };
@@ -12,4 +12,9 @@ export type MediaProvider = {
12
12
  * Used for displaying Media Cards and downloading files.
13
13
  */
14
14
  viewMediaClientConfig: MediaClientConfig;
15
+ /**
16
+ * Used for displaying and downloading files OR uploading files. The operation will be determined by Media on each request.
17
+ * This will be a replacement for viewMediaClientConfig and uploadMediaClientConfig together
18
+ */
19
+ viewAndUploadMediaClientConfig?: MediaClientConfig;
15
20
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "106.10.0",
3
+ "version": "107.0.0",
4
4
  "description": "A package that contains common classes and components for editor and renderer",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -147,11 +147,11 @@
147
147
  "@atlaskit/link-datasource": "^4.11.0",
148
148
  "@atlaskit/link-picker": "^3.5.0",
149
149
  "@atlaskit/media-card": "^79.3.0",
150
- "@atlaskit/media-client": "^33.5.0",
150
+ "@atlaskit/media-client": "^34.0.0",
151
151
  "@atlaskit/media-client-react": "^4.1.0",
152
152
  "@atlaskit/media-common": "^12.2.0",
153
153
  "@atlaskit/media-file-preview": "^0.11.0",
154
- "@atlaskit/media-picker": "^69.0.0",
154
+ "@atlaskit/media-picker": "^70.0.0",
155
155
  "@atlaskit/media-ui": "^28.3.0",
156
156
  "@atlaskit/media-viewer": "^52.3.0",
157
157
  "@atlaskit/mention": "^24.2.0",
@@ -202,15 +202,15 @@
202
202
  "w3c-keyname": "^2.1.8"
203
203
  },
204
204
  "peerDependencies": {
205
- "@atlaskit/media-core": "^36.1.0",
205
+ "@atlaskit/media-core": "^37.0.0",
206
206
  "react": "^18.2.0",
207
207
  "react-dom": "^18.2.0",
208
208
  "react-intl-next": "npm:react-intl@^5.18.1"
209
209
  },
210
210
  "devDependencies": {
211
211
  "@af/visual-regression": "workspace:^",
212
- "@atlaskit/media-core": "^36.1.0",
213
- "@atlaskit/media-test-helpers": "^36.1.0",
212
+ "@atlaskit/media-core": "^37.0.0",
213
+ "@atlaskit/media-test-helpers": "^37.0.0",
214
214
  "@atlaskit/util-data-test": "^18.0.0",
215
215
  "@atlaskit/visual-regression": "workspace:^",
216
216
  "@testing-library/dom": "^10.1.0",