@atlaskit/editor-common 123.0.2 → 123.1.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,22 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 123.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`208977ffd8e5f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/208977ffd8e5f) -
8
+ Clean up feature gate `platform_editor_fix_limited_mode_leaking`
9
+ - Updated dependencies
10
+
11
+ ## 123.1.0
12
+
13
+ ### Minor Changes
14
+
15
+ - [`9461b21b24472`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9461b21b24472) -
16
+ Add the recovery:required provider event with a reason payload so Confluence can reset an NCS
17
+ document on request. NCS sends the event to the document's current socket. Rollout is controlled
18
+ by NCS emitting the event.
19
+
3
20
  ## 123.0.2
4
21
 
5
22
  ### Patch Changes
@@ -27,7 +27,7 @@ var NETWORK_FAILURE_REGEX = /^network failure/i;
27
27
  var RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
28
28
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
29
29
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
30
- var packageVersion = "123.0.1";
30
+ var packageVersion = "123.1.0";
31
31
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
32
32
  // Remove URL as it has UGC
33
33
  // Ignored via go/ees007
@@ -24,7 +24,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
24
24
  * @jsx jsx
25
25
  */ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
26
26
  var packageName = "@atlaskit/editor-common";
27
- var packageVersion = "123.0.1";
27
+ var packageVersion = "123.1.0";
28
28
  var halfFocusRing = 1;
29
29
  var dropOffset = '0, 8';
30
30
  var fadeIn = (0, _react2.keyframes)({
@@ -13,7 +13,7 @@ const NETWORK_FAILURE_REGEX = /^network failure/i;
13
13
  const RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
14
14
  const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
15
15
  const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
16
- const packageVersion = "123.0.1";
16
+ const packageVersion = "123.1.0";
17
17
  const sanitiseSentryEvents = (data, _hint) => {
18
18
  // Remove URL as it has UGC
19
19
  // Ignored via go/ees007
@@ -14,7 +14,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
14
14
  import { fg } from '@atlaskit/platform-feature-flags/fg';
15
15
  import Layer from '../Layer';
16
16
  const packageName = "@atlaskit/editor-common";
17
- const packageVersion = "123.0.1";
17
+ const packageVersion = "123.1.0";
18
18
  const halfFocusRing = 1;
19
19
  const dropOffset = '0, 8';
20
20
  const fadeIn = keyframes({
@@ -19,7 +19,7 @@ var NETWORK_FAILURE_REGEX = /^network failure/i;
19
19
  var RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
20
20
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
21
21
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
22
- var packageVersion = "123.0.1";
22
+ var packageVersion = "123.1.0";
23
23
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
24
24
  // Remove URL as it has UGC
25
25
  // Ignored via go/ees007
@@ -21,7 +21,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
21
21
  import { fg } from '@atlaskit/platform-feature-flags/fg';
22
22
  import Layer from '../Layer';
23
23
  var packageName = "@atlaskit/editor-common";
24
- var packageVersion = "123.0.1";
24
+ var packageVersion = "123.1.0";
25
25
  var halfFocusRing = 1;
26
26
  var dropOffset = '0, 8';
27
27
  var fadeIn = keyframes({
@@ -458,6 +458,10 @@ export type ConflictChanges = {
458
458
  export interface CollabEventConflictPayload extends ConflictChanges {
459
459
  offlineDoc: PMNode;
460
460
  }
461
+ export type CollabRecoveryRequiredPayload = {
462
+ /** NCS recovery reason, for example `steps_migration`. The socket identifies the document. */
463
+ reason: string;
464
+ };
461
465
  export interface CollabEvents {
462
466
  'commit-status': CollabCommitStatusEventPayload;
463
467
  connected: CollabConnectedPayload;
@@ -474,6 +478,8 @@ export interface CollabEvents {
474
478
  permission: CollabPermissionEventPayload;
475
479
  presence: CollabPresencePayload;
476
480
  'presence:changed': CollabPresenceActivityChangePayload;
481
+ /** NCS requests that the host product recover this document. */
482
+ 'recovery:required': CollabRecoveryRequiredPayload;
477
483
  telepointer: CollabTelepointerPayload;
478
484
  }
479
485
  export type SyncUpErrorFunction = (attributes: NewCollabSyncUpErrorAttributes) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "123.0.2",
3
+ "version": "123.1.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/"
@@ -47,7 +47,7 @@
47
47
  "@atlaskit/editor-prosemirror": "^9.0.0",
48
48
  "@atlaskit/editor-shared-styles": "^4.3.0",
49
49
  "@atlaskit/editor-tables": "^3.2.0",
50
- "@atlaskit/editor-toolbar": "^2.6.0",
50
+ "@atlaskit/editor-toolbar": "^2.7.0",
51
51
  "@atlaskit/editor-toolbar-model": "^1.2.0",
52
52
  "@atlaskit/editor-ui-control-model": "^2.9.0",
53
53
  "@atlaskit/emoji": "^72.4.0",
@@ -193,9 +193,6 @@
193
193
  "platform_editor_inline_node_virt_threshold_override": {
194
194
  "type": "boolean"
195
195
  },
196
- "platform_editor_fix_limited_mode_leaking": {
197
- "type": "boolean"
198
- },
199
196
  "confluence-issue-terminology-refresh": {
200
197
  "type": "boolean"
201
198
  },