@atlaskit/editor-common 118.2.0 → 118.3.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,23 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 118.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`716685b30ef93`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/716685b30ef93) -
8
+ Correlate rendered agent mention results with picker selection sessions.
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies
13
+
14
+ ## 118.2.1
15
+
16
+ ### Patch Changes
17
+
18
+ - [`0b4753c0a8c07`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0b4753c0a8c07) -
19
+ Clean up feature gates from completed rollout
20
+
3
21
  ## 118.2.0
4
22
 
5
23
  ### Minor Changes
@@ -28,7 +28,7 @@ var NETWORK_FAILURE_REGEX = /^network failure/i;
28
28
  var RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
29
29
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
30
30
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
31
- var packageVersion = "118.1.3";
31
+ var packageVersion = "118.2.1";
32
32
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
33
33
  // Remove URL as it has UGC
34
34
  // 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 = "118.1.3";
27
+ var packageVersion = "118.2.1";
28
28
  var halfFocusRing = 1;
29
29
  var dropOffset = '0, 8';
30
30
  var fadeIn = (0, _react2.keyframes)({
@@ -14,7 +14,7 @@ const NETWORK_FAILURE_REGEX = /^network failure/i;
14
14
  const RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
15
15
  const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
16
16
  const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
17
- const packageVersion = "118.1.3";
17
+ const packageVersion = "118.2.1";
18
18
  const sanitiseSentryEvents = (data, _hint) => {
19
19
  // Remove URL as it has UGC
20
20
  // Ignored via go/ees007
@@ -14,7 +14,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
14
14
  import { fg } from '@atlaskit/platform-feature-flags';
15
15
  import Layer from '../Layer';
16
16
  const packageName = "@atlaskit/editor-common";
17
- const packageVersion = "118.1.3";
17
+ const packageVersion = "118.2.1";
18
18
  const halfFocusRing = 1;
19
19
  const dropOffset = '0, 8';
20
20
  const fadeIn = keyframes({
@@ -20,7 +20,7 @@ var NETWORK_FAILURE_REGEX = /^network failure/i;
20
20
  var RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
21
21
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
22
22
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
23
- var packageVersion = "118.1.3";
23
+ var packageVersion = "118.2.1";
24
24
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
25
25
  // Remove URL as it has UGC
26
26
  // Ignored via go/ees007
@@ -21,7 +21,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
21
21
  import { fg } from '@atlaskit/platform-feature-flags';
22
22
  import Layer from '../Layer';
23
23
  var packageName = "@atlaskit/editor-common";
24
- var packageVersion = "118.1.3";
24
+ var packageVersion = "118.2.1";
25
25
  var halfFocusRing = 1;
26
26
  var dropOffset = '0, 8';
27
27
  var fadeIn = keyframes({
@@ -66,6 +66,7 @@ type MentionTypeaheadRenderedPayload = OperationalAEP<ACTION.RENDERED, ACTION_SU
66
66
  agentsShown?: boolean;
67
67
  componentName: string;
68
68
  duration: number;
69
+ mentionTypeaheadSessionId: string;
69
70
  queryLength?: number;
70
71
  spaceInQuery?: boolean;
71
72
  teams: Array<{
@@ -24,7 +24,7 @@ type SyncedBlockErrorAttributes = {
24
24
  sourceProduct?: string;
25
25
  /**
26
26
  * Categorical failure cause for dashboard grouping. Only emitted when the
27
- * `platform_editor_blocks_patch_3` gate is enabled (EDITOR-7796 / EDITOR-7862).
27
+ * Populated when error attribution data is available (EDITOR-7796 / EDITOR-7862).
28
28
  */
29
29
  reason?: SyncedBlockErrorReasonAttribute;
30
30
  /** Backend HTTP status code when the failure came from a `BlockError`. */
@@ -59,7 +59,7 @@ export type SyncedBlockDeletionReasonAttribute = 'source-block-deleted' | 'sourc
59
59
  * (block selected then typed/pasted over), `other` (non-direct/code-dispatched).
60
60
  */
61
61
  export type SyncedBlockDeletionMechanismAttribute = 'undo' | 'redo' | 'deleteButton' | 'keyboardDelete' | 'selectionReplaced' | 'other';
62
- /** Delete-success enrichment, only populated behind `platform_editor_blocks_patch_4`. */
62
+ /** Delete-success enrichment with additional attributes like deletion reason and mechanism. */
63
63
  type SyncedBlockDeleteSuccessAttributes = SyncedBlockSuccessAttributes & {
64
64
  deletionReason?: SyncedBlockDeletionReasonAttribute;
65
65
  mechanism?: SyncedBlockDeletionMechanismAttribute;
@@ -128,8 +128,7 @@ type SyncedBlockSourceInfoOrphanedAttributes = {
128
128
  /**
129
129
  * Operational event fired when `updateCacheWithSourceInfo` runs but the
130
130
  * underlying cache entry for the resource has been deleted while the source-info
131
- * request was in flight. With the hardened cache deletion guards introduced in
132
- * `platform_synced_block_patch_14` this should be unreachable in practice — if
131
+ * request was in flight. This should be unreachable in practice if
133
132
  * this event fires in production it indicates an unhandled race condition
134
133
  * that needs investigation (e.g. EDITOR-7403).
135
134
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "118.2.0",
3
+ "version": "118.3.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/"