@atlaskit/editor-common 109.16.0 → 109.16.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,12 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 109.16.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`3e49f15a87d52`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3e49f15a87d52) -
8
+ Add analytics events for block menu discovery
9
+
3
10
  ## 109.16.0
4
11
 
5
12
  ### Minor Changes
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
@@ -334,6 +334,8 @@ var ACTION_SUBJECT = exports.ACTION_SUBJECT = /*#__PURE__*/function (ACTION_SUBJ
334
334
  ACTION_SUBJECT["OFFLINE_EDITING"] = "offlineEditing";
335
335
  ACTION_SUBJECT["TOOLBAR_DROPDOWN_MENU"] = "toolbarDropdownMenu";
336
336
  ACTION_SUBJECT["TOOLBAR_DROPDOWN_MENU_ITEM"] = "toolbarDropdownMenuItem";
337
+ ACTION_SUBJECT["BLOCK_MENU"] = "blockMenu";
338
+ ACTION_SUBJECT["BLOCK_MENU_ITEM"] = "blockMenuItem";
337
339
  return ACTION_SUBJECT;
338
340
  }({});
339
341
  var ACTION_SUBJECT_ID = exports.ACTION_SUBJECT_ID = /*#__PURE__*/function (ACTION_SUBJECT_ID) {
@@ -370,6 +372,12 @@ var ACTION_SUBJECT_ID = exports.ACTION_SUBJECT_ID = /*#__PURE__*/function (ACTIO
370
372
  ACTION_SUBJECT_ID["CODEBLOCK_WRAP"] = "codeBlockWrap";
371
373
  ACTION_SUBJECT_ID["COPY_BUTTON"] = "copyButton";
372
374
  ACTION_SUBJECT_ID["COPY_LINK_TO_ANCHOR"] = "copyLinkToAnchor";
375
+ ACTION_SUBJECT_ID["COPY_BLOCK"] = "copyBlock";
376
+ ACTION_SUBJECT_ID["COPY_LINK_TO_BLOCK"] = "copyLinkToBlock";
377
+ ACTION_SUBJECT_ID["DELETE_BLOCK"] = "deleteBlock";
378
+ ACTION_SUBJECT_ID["MOVE_UP_BLOCK"] = "moveUpBlock";
379
+ ACTION_SUBJECT_ID["MOVE_DOWN_BLOCK"] = "moveDownBlock";
380
+ ACTION_SUBJECT_ID["FORMAT_MENU"] = "formatMenu";
373
381
  ACTION_SUBJECT_ID["CREATE_INLINE_COMMENT_FROM_HIGHLIGHT_ACTIONS_MENU"] = "createInlineCommentFromHighlightActionsMenu";
374
382
  ACTION_SUBJECT_ID["DATE"] = "date";
375
383
  ACTION_SUBJECT_ID["DATE_DAY"] = "day";
@@ -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 = "109.15.1";
19
+ var packageVersion = "109.16.0";
20
20
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
21
21
  // Remove URL as it has UGC
22
22
  // 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 = "109.15.1";
27
+ var packageVersion = "109.16.0";
28
28
  var halfFocusRing = 1;
29
29
  var dropOffset = '0, 8';
30
30
  var fadeIn = (0, _react2.keyframes)({
@@ -0,0 +1 @@
1
+ export {};
@@ -328,6 +328,8 @@ export let ACTION_SUBJECT = /*#__PURE__*/function (ACTION_SUBJECT) {
328
328
  ACTION_SUBJECT["OFFLINE_EDITING"] = "offlineEditing";
329
329
  ACTION_SUBJECT["TOOLBAR_DROPDOWN_MENU"] = "toolbarDropdownMenu";
330
330
  ACTION_SUBJECT["TOOLBAR_DROPDOWN_MENU_ITEM"] = "toolbarDropdownMenuItem";
331
+ ACTION_SUBJECT["BLOCK_MENU"] = "blockMenu";
332
+ ACTION_SUBJECT["BLOCK_MENU_ITEM"] = "blockMenuItem";
331
333
  return ACTION_SUBJECT;
332
334
  }({});
333
335
  export let ACTION_SUBJECT_ID = /*#__PURE__*/function (ACTION_SUBJECT_ID) {
@@ -364,6 +366,12 @@ export let ACTION_SUBJECT_ID = /*#__PURE__*/function (ACTION_SUBJECT_ID) {
364
366
  ACTION_SUBJECT_ID["CODEBLOCK_WRAP"] = "codeBlockWrap";
365
367
  ACTION_SUBJECT_ID["COPY_BUTTON"] = "copyButton";
366
368
  ACTION_SUBJECT_ID["COPY_LINK_TO_ANCHOR"] = "copyLinkToAnchor";
369
+ ACTION_SUBJECT_ID["COPY_BLOCK"] = "copyBlock";
370
+ ACTION_SUBJECT_ID["COPY_LINK_TO_BLOCK"] = "copyLinkToBlock";
371
+ ACTION_SUBJECT_ID["DELETE_BLOCK"] = "deleteBlock";
372
+ ACTION_SUBJECT_ID["MOVE_UP_BLOCK"] = "moveUpBlock";
373
+ ACTION_SUBJECT_ID["MOVE_DOWN_BLOCK"] = "moveDownBlock";
374
+ ACTION_SUBJECT_ID["FORMAT_MENU"] = "formatMenu";
367
375
  ACTION_SUBJECT_ID["CREATE_INLINE_COMMENT_FROM_HIGHLIGHT_ACTIONS_MENU"] = "createInlineCommentFromHighlightActionsMenu";
368
376
  ACTION_SUBJECT_ID["DATE"] = "date";
369
377
  ACTION_SUBJECT_ID["DATE_DAY"] = "day";
@@ -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 = "109.15.1";
4
+ const packageVersion = "109.16.0";
5
5
  const sanitiseSentryEvents = (data, _hint) => {
6
6
  // Remove URL as it has UGC
7
7
  // 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 = "109.15.1";
17
+ const packageVersion = "109.16.0";
18
18
  const halfFocusRing = 1;
19
19
  const dropOffset = '0, 8';
20
20
  const fadeIn = keyframes({
@@ -0,0 +1 @@
1
+ export {};
@@ -328,6 +328,8 @@ export var ACTION_SUBJECT = /*#__PURE__*/function (ACTION_SUBJECT) {
328
328
  ACTION_SUBJECT["OFFLINE_EDITING"] = "offlineEditing";
329
329
  ACTION_SUBJECT["TOOLBAR_DROPDOWN_MENU"] = "toolbarDropdownMenu";
330
330
  ACTION_SUBJECT["TOOLBAR_DROPDOWN_MENU_ITEM"] = "toolbarDropdownMenuItem";
331
+ ACTION_SUBJECT["BLOCK_MENU"] = "blockMenu";
332
+ ACTION_SUBJECT["BLOCK_MENU_ITEM"] = "blockMenuItem";
331
333
  return ACTION_SUBJECT;
332
334
  }({});
333
335
  export var ACTION_SUBJECT_ID = /*#__PURE__*/function (ACTION_SUBJECT_ID) {
@@ -364,6 +366,12 @@ export var ACTION_SUBJECT_ID = /*#__PURE__*/function (ACTION_SUBJECT_ID) {
364
366
  ACTION_SUBJECT_ID["CODEBLOCK_WRAP"] = "codeBlockWrap";
365
367
  ACTION_SUBJECT_ID["COPY_BUTTON"] = "copyButton";
366
368
  ACTION_SUBJECT_ID["COPY_LINK_TO_ANCHOR"] = "copyLinkToAnchor";
369
+ ACTION_SUBJECT_ID["COPY_BLOCK"] = "copyBlock";
370
+ ACTION_SUBJECT_ID["COPY_LINK_TO_BLOCK"] = "copyLinkToBlock";
371
+ ACTION_SUBJECT_ID["DELETE_BLOCK"] = "deleteBlock";
372
+ ACTION_SUBJECT_ID["MOVE_UP_BLOCK"] = "moveUpBlock";
373
+ ACTION_SUBJECT_ID["MOVE_DOWN_BLOCK"] = "moveDownBlock";
374
+ ACTION_SUBJECT_ID["FORMAT_MENU"] = "formatMenu";
367
375
  ACTION_SUBJECT_ID["CREATE_INLINE_COMMENT_FROM_HIGHLIGHT_ACTIONS_MENU"] = "createInlineCommentFromHighlightActionsMenu";
368
376
  ACTION_SUBJECT_ID["DATE"] = "date";
369
377
  ACTION_SUBJECT_ID["DATE_DAY"] = "day";
@@ -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 = "109.15.1";
10
+ var packageVersion = "109.16.0";
11
11
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
12
12
  // Remove URL as it has UGC
13
13
  // 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 = "109.15.1";
24
+ var packageVersion = "109.16.0";
25
25
  var halfFocusRing = 1;
26
26
  var dropOffset = '0, 8';
27
27
  var fadeIn = keyframes({
@@ -50,4 +50,5 @@ export type { ActiveSessionEventPayload, ActiveSessionEventAttributes, } from '.
50
50
  export { type AIInlineSuggestionPayload, AI_SUGGESTION_TRIGGERED_FROM, } from './types/ai-inline-suggestion-events';
51
51
  export { type TelepointerClickPayload } from './types/telepointer-events';
52
52
  export { type NcsSessionStepEventAEP, type NcsSessionStepMetrics, } from './types/ncs-session-step-events';
53
+ export type { BlockMenuEventPayload } from './types/block-menu-events';
53
54
  export type { BreakoutEventPayload, BreakoutSupportedNodes } from './types/breakout-events';
@@ -0,0 +1,10 @@
1
+ import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, INPUT_METHOD } from './enums';
2
+ import type { UIAEP } from './utils';
3
+ export type BlockMenuActionSubjectId = ACTION_SUBJECT_ID.COPY_LINK_TO_BLOCK | ACTION_SUBJECT_ID.MOVE_UP_BLOCK | ACTION_SUBJECT_ID.MOVE_DOWN_BLOCK | ACTION_SUBJECT_ID.DELETE_BLOCK | ACTION_SUBJECT_ID.COPY_BLOCK | ACTION_SUBJECT_ID.FORMAT_MENU;
4
+ export type BlockMenuOpenedAEP = UIAEP<ACTION.OPENED, ACTION_SUBJECT.BLOCK_MENU, undefined, {
5
+ inputMethod: INPUT_METHOD.MOUSE | INPUT_METHOD.KEYBOARD;
6
+ }, undefined>;
7
+ export type BlockMenuItemClickedAEP = UIAEP<ACTION.CLICKED, ACTION_SUBJECT.BLOCK_MENU_ITEM, BlockMenuActionSubjectId, {
8
+ inputMethod: INPUT_METHOD.MOUSE | INPUT_METHOD.KEYBOARD;
9
+ }, undefined>;
10
+ export type BlockMenuEventPayload = BlockMenuOpenedAEP | BlockMenuItemClickedAEP;
@@ -320,7 +320,9 @@ export declare enum ACTION_SUBJECT {
320
320
  ALIGNMENT = "alignment",
321
321
  OFFLINE_EDITING = "offlineEditing",
322
322
  TOOLBAR_DROPDOWN_MENU = "toolbarDropdownMenu",
323
- TOOLBAR_DROPDOWN_MENU_ITEM = "toolbarDropdownMenuItem"
323
+ TOOLBAR_DROPDOWN_MENU_ITEM = "toolbarDropdownMenuItem",
324
+ BLOCK_MENU = "blockMenu",
325
+ BLOCK_MENU_ITEM = "blockMenuItem"
324
326
  }
325
327
  export declare enum ACTION_SUBJECT_ID {
326
328
  ACTION = "action",
@@ -356,6 +358,12 @@ export declare enum ACTION_SUBJECT_ID {
356
358
  CODEBLOCK_WRAP = "codeBlockWrap",
357
359
  COPY_BUTTON = "copyButton",
358
360
  COPY_LINK_TO_ANCHOR = "copyLinkToAnchor",
361
+ COPY_BLOCK = "copyBlock",
362
+ COPY_LINK_TO_BLOCK = "copyLinkToBlock",
363
+ DELETE_BLOCK = "deleteBlock",
364
+ MOVE_UP_BLOCK = "moveUpBlock",
365
+ MOVE_DOWN_BLOCK = "moveDownBlock",
366
+ FORMAT_MENU = "formatMenu",
359
367
  CREATE_INLINE_COMMENT_FROM_HIGHLIGHT_ACTIONS_MENU = "createInlineCommentFromHighlightActionsMenu",
360
368
  DATE = "date",
361
369
  DATE_DAY = "day",
@@ -13,6 +13,7 @@ import type { AIStreamingEventPayload } from './ai-streaming';
13
13
  import type { AIUnifiedEventPayload } from './ai-unified-events';
14
14
  import type { AlignmentEventPayload } from './alignment-events';
15
15
  import type { AvatarEventPayload } from './avatar';
16
+ import type { BlockMenuEventPayload } from './block-menu-events';
16
17
  import type { BreakoutEventPayload } from './breakout-events';
17
18
  import type { TextColorEventPayload } from './color-events';
18
19
  import type { ConfigPanelEventPayload } from './config-panel-events';
@@ -62,7 +63,7 @@ export type SimplifiedNode = {
62
63
  pos: number;
63
64
  type: string;
64
65
  };
65
- export type AnalyticsEventPayload<T = void> = AvatarEventPayload | GeneralEventPayload<T> | FormatEventPayload | SubstituteEventPayload | InsertEventPayload | NodeEventPayload | MoveContentEventPayload | MediaEventPayload | TableEventPayload | PasteEventPayload | CutCopyEventPayload | ErrorEventPayload | TextColorEventPayload | FindReplaceEventPayload | DateEventPayload | SelectionEventPayload | ListEventPayload | ConfigPanelEventPayload | ElementBrowserEventPayload | CreateLinkInlineDialogEventPayload | HighlightActionsEventPayload | UnsupportedContentPayload | ExtensionEventPayload | TransactionEventPayload | TypeAheadPayload | UnlinkToolbarAEP | EditLinkToolbarAEP | OpenSettingsToolbarAEP | CustomPanelEventPayload | FeatureExposureAEP | NewCollabSyncUpErrorAEP | UnsupportedContentTooltipPayload | ReferentialityEventPayload | LoomEventPayload | MBEEventPayload | HighlightEventPayload | DatasourceClickedPayload | ElementEventPayload | VisitedLinkAEP | ViewEventPayload | MediaUploadEventPayload | MentionEventPayload | EngagementPlatformEventPayload | NestedTableActionsEventPayload | AICommandPaletteEventPayload | AIDefinitionsEventPayload | AIEventPayload | AIStreamingEventPayload | AIProactiveEventPayload | AIUnifiedEventPayload | BreakoutEventPayload | ActiveSessionEventPayload | AIInlineSuggestionPayload | SelectionExtensionEventPayload | TelepointerClickPayload | SelectionToolbarEventPayload | AlignmentEventPayload | UndoRedoAEP | OfflineEditingEventPayload | NcsSessionStepEventAEP | FloatingToolbarOverflowEventPayload;
66
+ export type AnalyticsEventPayload<T = void> = AvatarEventPayload | GeneralEventPayload<T> | FormatEventPayload | SubstituteEventPayload | InsertEventPayload | NodeEventPayload | MoveContentEventPayload | MediaEventPayload | TableEventPayload | PasteEventPayload | CutCopyEventPayload | ErrorEventPayload | TextColorEventPayload | FindReplaceEventPayload | DateEventPayload | SelectionEventPayload | ListEventPayload | ConfigPanelEventPayload | ElementBrowserEventPayload | CreateLinkInlineDialogEventPayload | HighlightActionsEventPayload | UnsupportedContentPayload | ExtensionEventPayload | TransactionEventPayload | TypeAheadPayload | UnlinkToolbarAEP | EditLinkToolbarAEP | OpenSettingsToolbarAEP | CustomPanelEventPayload | FeatureExposureAEP | NewCollabSyncUpErrorAEP | UnsupportedContentTooltipPayload | ReferentialityEventPayload | LoomEventPayload | MBEEventPayload | HighlightEventPayload | DatasourceClickedPayload | ElementEventPayload | VisitedLinkAEP | ViewEventPayload | MediaUploadEventPayload | MentionEventPayload | EngagementPlatformEventPayload | NestedTableActionsEventPayload | AICommandPaletteEventPayload | AIDefinitionsEventPayload | AIEventPayload | AIStreamingEventPayload | AIProactiveEventPayload | AIUnifiedEventPayload | BreakoutEventPayload | ActiveSessionEventPayload | AIInlineSuggestionPayload | SelectionExtensionEventPayload | TelepointerClickPayload | SelectionToolbarEventPayload | AlignmentEventPayload | UndoRedoAEP | OfflineEditingEventPayload | NcsSessionStepEventAEP | FloatingToolbarOverflowEventPayload | BlockMenuEventPayload;
66
67
  type CustomPanelEventPayload = TrackAEP<ACTION.CHANGED_BACKGROUND_COLOR | ACTION.CHANGED_ICON | ACTION.REMOVE_ICON, ACTION_SUBJECT.PANEL, ACTION_SUBJECT_ID.PANEL, {
67
68
  newColor: string;
68
69
  previousColor: string;
@@ -50,4 +50,5 @@ export type { ActiveSessionEventPayload, ActiveSessionEventAttributes, } from '.
50
50
  export { type AIInlineSuggestionPayload, AI_SUGGESTION_TRIGGERED_FROM, } from './types/ai-inline-suggestion-events';
51
51
  export { type TelepointerClickPayload } from './types/telepointer-events';
52
52
  export { type NcsSessionStepEventAEP, type NcsSessionStepMetrics, } from './types/ncs-session-step-events';
53
+ export type { BlockMenuEventPayload } from './types/block-menu-events';
53
54
  export type { BreakoutEventPayload, BreakoutSupportedNodes } from './types/breakout-events';
@@ -0,0 +1,10 @@
1
+ import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, INPUT_METHOD } from './enums';
2
+ import type { UIAEP } from './utils';
3
+ export type BlockMenuActionSubjectId = ACTION_SUBJECT_ID.COPY_LINK_TO_BLOCK | ACTION_SUBJECT_ID.MOVE_UP_BLOCK | ACTION_SUBJECT_ID.MOVE_DOWN_BLOCK | ACTION_SUBJECT_ID.DELETE_BLOCK | ACTION_SUBJECT_ID.COPY_BLOCK | ACTION_SUBJECT_ID.FORMAT_MENU;
4
+ export type BlockMenuOpenedAEP = UIAEP<ACTION.OPENED, ACTION_SUBJECT.BLOCK_MENU, undefined, {
5
+ inputMethod: INPUT_METHOD.MOUSE | INPUT_METHOD.KEYBOARD;
6
+ }, undefined>;
7
+ export type BlockMenuItemClickedAEP = UIAEP<ACTION.CLICKED, ACTION_SUBJECT.BLOCK_MENU_ITEM, BlockMenuActionSubjectId, {
8
+ inputMethod: INPUT_METHOD.MOUSE | INPUT_METHOD.KEYBOARD;
9
+ }, undefined>;
10
+ export type BlockMenuEventPayload = BlockMenuOpenedAEP | BlockMenuItemClickedAEP;
@@ -320,7 +320,9 @@ export declare enum ACTION_SUBJECT {
320
320
  ALIGNMENT = "alignment",
321
321
  OFFLINE_EDITING = "offlineEditing",
322
322
  TOOLBAR_DROPDOWN_MENU = "toolbarDropdownMenu",
323
- TOOLBAR_DROPDOWN_MENU_ITEM = "toolbarDropdownMenuItem"
323
+ TOOLBAR_DROPDOWN_MENU_ITEM = "toolbarDropdownMenuItem",
324
+ BLOCK_MENU = "blockMenu",
325
+ BLOCK_MENU_ITEM = "blockMenuItem"
324
326
  }
325
327
  export declare enum ACTION_SUBJECT_ID {
326
328
  ACTION = "action",
@@ -356,6 +358,12 @@ export declare enum ACTION_SUBJECT_ID {
356
358
  CODEBLOCK_WRAP = "codeBlockWrap",
357
359
  COPY_BUTTON = "copyButton",
358
360
  COPY_LINK_TO_ANCHOR = "copyLinkToAnchor",
361
+ COPY_BLOCK = "copyBlock",
362
+ COPY_LINK_TO_BLOCK = "copyLinkToBlock",
363
+ DELETE_BLOCK = "deleteBlock",
364
+ MOVE_UP_BLOCK = "moveUpBlock",
365
+ MOVE_DOWN_BLOCK = "moveDownBlock",
366
+ FORMAT_MENU = "formatMenu",
359
367
  CREATE_INLINE_COMMENT_FROM_HIGHLIGHT_ACTIONS_MENU = "createInlineCommentFromHighlightActionsMenu",
360
368
  DATE = "date",
361
369
  DATE_DAY = "day",
@@ -13,6 +13,7 @@ import type { AIStreamingEventPayload } from './ai-streaming';
13
13
  import type { AIUnifiedEventPayload } from './ai-unified-events';
14
14
  import type { AlignmentEventPayload } from './alignment-events';
15
15
  import type { AvatarEventPayload } from './avatar';
16
+ import type { BlockMenuEventPayload } from './block-menu-events';
16
17
  import type { BreakoutEventPayload } from './breakout-events';
17
18
  import type { TextColorEventPayload } from './color-events';
18
19
  import type { ConfigPanelEventPayload } from './config-panel-events';
@@ -62,7 +63,7 @@ export type SimplifiedNode = {
62
63
  pos: number;
63
64
  type: string;
64
65
  };
65
- export type AnalyticsEventPayload<T = void> = AvatarEventPayload | GeneralEventPayload<T> | FormatEventPayload | SubstituteEventPayload | InsertEventPayload | NodeEventPayload | MoveContentEventPayload | MediaEventPayload | TableEventPayload | PasteEventPayload | CutCopyEventPayload | ErrorEventPayload | TextColorEventPayload | FindReplaceEventPayload | DateEventPayload | SelectionEventPayload | ListEventPayload | ConfigPanelEventPayload | ElementBrowserEventPayload | CreateLinkInlineDialogEventPayload | HighlightActionsEventPayload | UnsupportedContentPayload | ExtensionEventPayload | TransactionEventPayload | TypeAheadPayload | UnlinkToolbarAEP | EditLinkToolbarAEP | OpenSettingsToolbarAEP | CustomPanelEventPayload | FeatureExposureAEP | NewCollabSyncUpErrorAEP | UnsupportedContentTooltipPayload | ReferentialityEventPayload | LoomEventPayload | MBEEventPayload | HighlightEventPayload | DatasourceClickedPayload | ElementEventPayload | VisitedLinkAEP | ViewEventPayload | MediaUploadEventPayload | MentionEventPayload | EngagementPlatformEventPayload | NestedTableActionsEventPayload | AICommandPaletteEventPayload | AIDefinitionsEventPayload | AIEventPayload | AIStreamingEventPayload | AIProactiveEventPayload | AIUnifiedEventPayload | BreakoutEventPayload | ActiveSessionEventPayload | AIInlineSuggestionPayload | SelectionExtensionEventPayload | TelepointerClickPayload | SelectionToolbarEventPayload | AlignmentEventPayload | UndoRedoAEP | OfflineEditingEventPayload | NcsSessionStepEventAEP | FloatingToolbarOverflowEventPayload;
66
+ export type AnalyticsEventPayload<T = void> = AvatarEventPayload | GeneralEventPayload<T> | FormatEventPayload | SubstituteEventPayload | InsertEventPayload | NodeEventPayload | MoveContentEventPayload | MediaEventPayload | TableEventPayload | PasteEventPayload | CutCopyEventPayload | ErrorEventPayload | TextColorEventPayload | FindReplaceEventPayload | DateEventPayload | SelectionEventPayload | ListEventPayload | ConfigPanelEventPayload | ElementBrowserEventPayload | CreateLinkInlineDialogEventPayload | HighlightActionsEventPayload | UnsupportedContentPayload | ExtensionEventPayload | TransactionEventPayload | TypeAheadPayload | UnlinkToolbarAEP | EditLinkToolbarAEP | OpenSettingsToolbarAEP | CustomPanelEventPayload | FeatureExposureAEP | NewCollabSyncUpErrorAEP | UnsupportedContentTooltipPayload | ReferentialityEventPayload | LoomEventPayload | MBEEventPayload | HighlightEventPayload | DatasourceClickedPayload | ElementEventPayload | VisitedLinkAEP | ViewEventPayload | MediaUploadEventPayload | MentionEventPayload | EngagementPlatformEventPayload | NestedTableActionsEventPayload | AICommandPaletteEventPayload | AIDefinitionsEventPayload | AIEventPayload | AIStreamingEventPayload | AIProactiveEventPayload | AIUnifiedEventPayload | BreakoutEventPayload | ActiveSessionEventPayload | AIInlineSuggestionPayload | SelectionExtensionEventPayload | TelepointerClickPayload | SelectionToolbarEventPayload | AlignmentEventPayload | UndoRedoAEP | OfflineEditingEventPayload | NcsSessionStepEventAEP | FloatingToolbarOverflowEventPayload | BlockMenuEventPayload;
66
67
  type CustomPanelEventPayload = TrackAEP<ACTION.CHANGED_BACKGROUND_COLOR | ACTION.CHANGED_ICON | ACTION.REMOVE_ICON, ACTION_SUBJECT.PANEL, ACTION_SUBJECT_ID.PANEL, {
67
68
  newColor: string;
68
69
  previousColor: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "109.16.0",
3
+ "version": "109.16.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/"