@atlaskit/editor-common 106.10.0 → 107.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 CHANGED
@@ -1,5 +1,24 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 107.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 107.0.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [#169011](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/169011)
14
+ [`1b40d3fe88977`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1b40d3fe88977) -
15
+ Added new attribute to MediaProvider: viewAndUploadMediaClientConfig. This config provides a Media
16
+ AuthProvider that supplies Download or Upload token on request.
17
+
18
+ ### Patch Changes
19
+
20
+ - Updated dependencies
21
+
3
22
  ## 106.10.0
4
23
 
5
24
  ### Minor Changes
@@ -16,7 +16,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
16
16
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
17
17
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
18
18
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
19
- var packageVersion = "106.10.0";
19
+ var packageVersion = "107.0.0";
20
20
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
21
21
  // Remove URL as it has UGC
22
22
  // Ignored via go/ees007
@@ -23,7 +23,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
23
23
  * @jsx jsx
24
24
  */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
25
25
  var packageName = "@atlaskit/editor-common";
26
- var packageVersion = "106.10.0";
26
+ var packageVersion = "107.0.0";
27
27
  var halfFocusRing = 1;
28
28
  var dropOffset = '0, 8';
29
29
  // Ignored via go/ees005
@@ -1,7 +1,7 @@
1
1
  import { isFedRamp } from './environment';
2
2
  const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
3
3
  const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
4
- const packageVersion = "106.10.0";
4
+ const packageVersion = "107.0.0";
5
5
  const sanitiseSentryEvents = (data, _hint) => {
6
6
  // Remove URL as it has UGC
7
7
  // Ignored via go/ees007
@@ -13,7 +13,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
13
13
  import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
14
14
  import Layer from '../Layer';
15
15
  const packageName = "@atlaskit/editor-common";
16
- const packageVersion = "106.10.0";
16
+ const packageVersion = "107.0.0";
17
17
  const halfFocusRing = 1;
18
18
  const dropOffset = '0, 8';
19
19
  // Ignored via go/ees005
@@ -7,7 +7,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
7
7
  import { isFedRamp } from './environment';
8
8
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
9
9
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
10
- var packageVersion = "106.10.0";
10
+ var packageVersion = "107.0.0";
11
11
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
12
12
  // Remove URL as it has UGC
13
13
  // Ignored via go/ees007
@@ -20,7 +20,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
20
20
  import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
21
21
  import Layer from '../Layer';
22
22
  var packageName = "@atlaskit/editor-common";
23
- var packageVersion = "106.10.0";
23
+ var packageVersion = "107.0.0";
24
24
  var halfFocusRing = 1;
25
25
  var dropOffset = '0, 8';
26
26
  // Ignored via go/ees005
@@ -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.1",
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/"
@@ -132,7 +132,7 @@
132
132
  "@atlaskit/button": "^23.2.0",
133
133
  "@atlaskit/code": "^17.2.0",
134
134
  "@atlaskit/codemod-utils": "^4.2.0",
135
- "@atlaskit/css": "^0.10.0",
135
+ "@atlaskit/css": "^0.11.0",
136
136
  "@atlaskit/custom-steps": "^0.11.0",
137
137
  "@atlaskit/dropdown-menu": "^16.1.0",
138
138
  "@atlaskit/editor-json-transformer": "^8.24.0",
@@ -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",
@@ -160,7 +160,7 @@
160
160
  "@atlaskit/platform-feature-flags": "^1.1.0",
161
161
  "@atlaskit/platform-feature-flags-react": "^0.2.0",
162
162
  "@atlaskit/popper": "^7.0.0",
163
- "@atlaskit/primitives": "^14.8.0",
163
+ "@atlaskit/primitives": "^14.9.0",
164
164
  "@atlaskit/profilecard": "^23.19.0",
165
165
  "@atlaskit/react-ufo": "^3.13.0",
166
166
  "@atlaskit/section-message": "^8.2.0",
@@ -170,8 +170,8 @@
170
170
  "@atlaskit/task-decision": "^19.2.0",
171
171
  "@atlaskit/textfield": "^8.0.0",
172
172
  "@atlaskit/theme": "^18.0.0",
173
- "@atlaskit/tmp-editor-statsig": "^7.1.0",
174
- "@atlaskit/tokens": "^5.2.0",
173
+ "@atlaskit/tmp-editor-statsig": "^7.2.0",
174
+ "@atlaskit/tokens": "^5.3.0",
175
175
  "@atlaskit/tooltip": "^20.3.0",
176
176
  "@atlaskit/width-detector": "^5.0.0",
177
177
  "@babel/runtime": "^7.0.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",