@atlaskit/editor-common 103.3.0 → 103.3.2

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.
Files changed (29) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/cjs/analytics/types/color-events.js +5 -0
  3. package/dist/cjs/analytics/types/enums.js +1 -0
  4. package/dist/cjs/monitoring/error.js +1 -1
  5. package/dist/cjs/ui/DropList/index.js +1 -1
  6. package/dist/es2019/analytics/types/enums.js +1 -0
  7. package/dist/es2019/monitoring/error.js +1 -1
  8. package/dist/es2019/ui/DropList/index.js +1 -1
  9. package/dist/esm/analytics/types/alignment-events.js +1 -0
  10. package/dist/esm/analytics/types/color-events.js +1 -0
  11. package/dist/esm/analytics/types/enums.js +1 -0
  12. package/dist/esm/monitoring/error.js +1 -1
  13. package/dist/esm/ui/DropList/index.js +1 -1
  14. package/dist/types/analytics/index.d.ts +1 -1
  15. package/dist/types/analytics/types/alignment-events.d.ts +8 -0
  16. package/dist/types/analytics/types/color-events.d.ts +7 -0
  17. package/dist/types/analytics/types/enums.d.ts +2 -1
  18. package/dist/types/analytics/types/events.d.ts +3 -2
  19. package/dist/types-ts4.5/analytics/index.d.ts +1 -1
  20. package/dist/types-ts4.5/analytics/types/alignment-events.d.ts +8 -0
  21. package/dist/types-ts4.5/analytics/types/color-events.d.ts +7 -0
  22. package/dist/types-ts4.5/analytics/types/enums.d.ts +2 -1
  23. package/dist/types-ts4.5/analytics/types/events.d.ts +3 -2
  24. package/package.json +2 -2
  25. package/dist/types/analytics/types/experimental-events.d.ts +0 -16
  26. package/dist/types-ts4.5/analytics/types/experimental-events.d.ts +0 -16
  27. /package/dist/cjs/analytics/types/{experimental-events.js → alignment-events.js} +0 -0
  28. /package/dist/es2019/analytics/types/{experimental-events.js → alignment-events.js} +0 -0
  29. /package/dist/{esm/analytics/types/experimental-events.js → es2019/analytics/types/color-events.js} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 103.3.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#139173](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/139173)
8
+ [`fafd1374cc3a4`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/fafd1374cc3a4) -
9
+ [ED-27448] Remove experiment tracking for allowMoreTextColors experiment
10
+ - Updated dependencies
11
+
12
+ ## 103.3.1
13
+
14
+ ### Patch Changes
15
+
16
+ - [#139038](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/139038)
17
+ [`50d48758aba38`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/50d48758aba38) -
18
+ [ED-27448] Implement alignment updated event
19
+
3
20
  ## 103.3.0
4
21
 
5
22
  ### Minor Changes
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
@@ -317,6 +317,7 @@ var ACTION_SUBJECT = exports.ACTION_SUBJECT = /*#__PURE__*/function (ACTION_SUBJ
317
317
  ACTION_SUBJECT["EDITOR_PLUGIN_SELECTION_EXTENSION"] = "editorPluginSelectionExtension";
318
318
  ACTION_SUBJECT["AI_DEFINITIONS"] = "aiDefinitions";
319
319
  ACTION_SUBJECT["USER_PREFERENCES"] = "userPreferences";
320
+ ACTION_SUBJECT["ALIGNMENT"] = "alignment";
320
321
  return ACTION_SUBJECT;
321
322
  }({});
322
323
  var ACTION_SUBJECT_ID = exports.ACTION_SUBJECT_ID = /*#__PURE__*/function (ACTION_SUBJECT_ID) {
@@ -17,7 +17,7 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
17
17
  function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
18
18
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
19
19
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
20
- var packageVersion = "103.3.0";
20
+ var packageVersion = "103.3.2";
21
21
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
22
22
  // Remove URL as it has UGC
23
23
  // 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 = "103.3.0";
26
+ var packageVersion = "103.3.2";
27
27
  var halfFocusRing = 1;
28
28
  var dropOffset = '0, 8';
29
29
  // Ignored via go/ees005
@@ -311,6 +311,7 @@ export let ACTION_SUBJECT = /*#__PURE__*/function (ACTION_SUBJECT) {
311
311
  ACTION_SUBJECT["EDITOR_PLUGIN_SELECTION_EXTENSION"] = "editorPluginSelectionExtension";
312
312
  ACTION_SUBJECT["AI_DEFINITIONS"] = "aiDefinitions";
313
313
  ACTION_SUBJECT["USER_PREFERENCES"] = "userPreferences";
314
+ ACTION_SUBJECT["ALIGNMENT"] = "alignment";
314
315
  return ACTION_SUBJECT;
315
316
  }({});
316
317
  export let ACTION_SUBJECT_ID = /*#__PURE__*/function (ACTION_SUBJECT_ID) {
@@ -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 = "103.3.0";
4
+ const packageVersion = "103.3.2";
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 = "103.3.0";
16
+ const packageVersion = "103.3.2";
17
17
  const halfFocusRing = 1;
18
18
  const dropOffset = '0, 8';
19
19
  // Ignored via go/ees005
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -311,6 +311,7 @@ export var ACTION_SUBJECT = /*#__PURE__*/function (ACTION_SUBJECT) {
311
311
  ACTION_SUBJECT["EDITOR_PLUGIN_SELECTION_EXTENSION"] = "editorPluginSelectionExtension";
312
312
  ACTION_SUBJECT["AI_DEFINITIONS"] = "aiDefinitions";
313
313
  ACTION_SUBJECT["USER_PREFERENCES"] = "userPreferences";
314
+ ACTION_SUBJECT["ALIGNMENT"] = "alignment";
314
315
  return ACTION_SUBJECT;
315
316
  }({});
316
317
  export var ACTION_SUBJECT_ID = /*#__PURE__*/function (ACTION_SUBJECT_ID) {
@@ -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 = "103.3.0";
10
+ var packageVersion = "103.3.2";
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 = "103.3.0";
23
+ var packageVersion = "103.3.2";
24
24
  var halfFocusRing = 1;
25
25
  var dropOffset = '0, 8';
26
26
  // Ignored via go/ees005
@@ -18,7 +18,7 @@ export type { DispatchAnalyticsEvent } from './types/dispatch-analytics-event';
18
18
  export { DELETE_DIRECTION, LIST_TEXT_SCENARIOS, JOIN_SCENARIOS_WHEN_TYPING_TO_INSERT_LIST, OUTDENT_SCENARIOS, } from './types/list-events';
19
19
  export type { ListEventPayload, CommonListAnalyticsAttributes, RestartListsAttributesForListOutdented, } from './types/list-events';
20
20
  export type { CreateLinkInlineDialogActionType, CreateLinkInlineDialogEventPayload, RecentActivitiesPerfAEP, QuickSearchPerfAEP, ViewedCreateLinkInlineDialogAEP, DismissedCreateLinkInlineDialogAEP, EnteredTextLinkSearchInputAEP, ShownPreQuerySearchResultsAEP, ShownPostQuerySearchResultsAEP, HighlightedSearchResultsAEP, SelectedSearchResultsAEP, EditLinkToolbarAEP, UnlinkToolbarAEP, } from './types/link-tool-bar-events';
21
- export type { TextColorSelectedAttr, TextColorSelectedAEP, TextColorShowPaletteToggleAttr, TextColorShowPaletteToggleAEP, ExperimentalEventPayload, } from './types/experimental-events';
21
+ export type { TextColorShowPaletteToggleAEP, TextColorShowPaletteToggleAttr, } from './types/color-events';
22
22
  export { GAP_CURSOR_POSITION, TARGET_SELECTION_SOURCE } from './types/extension-events';
23
23
  export type { SelectionJson, ExtensionType, ExtensionEventPayload } from './types/extension-events';
24
24
  export type { AnnotationActionType, AnnotationAEP, AnnotationAEPAttributes, AnnotationDraftAEPAttributes, AnnotationResolvedAEPAttributes, } from './types/inline-comment-events';
@@ -0,0 +1,8 @@
1
+ import { ACTION, ACTION_SUBJECT, INPUT_METHOD, ACTION_SUBJECT_ID } from './enums';
2
+ import { TrackAEP } from './utils';
3
+ type AlignmentUpdatedAEP = TrackAEP<ACTION.UPDATED, ACTION_SUBJECT.ALIGNMENT, ACTION_SUBJECT_ID, {
4
+ alignmentType?: 'start' | 'end' | 'center';
5
+ inputMethod?: INPUT_METHOD.TOOLBAR | INPUT_METHOD.FLOATING_TB | INPUT_METHOD.SHORTCUT;
6
+ }, undefined>;
7
+ export type AlignmentEventPayload = AlignmentUpdatedAEP;
8
+ export {};
@@ -0,0 +1,7 @@
1
+ import { type ACTION, type ACTION_SUBJECT, type ACTION_SUBJECT_ID } from './enums';
2
+ import { type TrackAEP } from './utils';
3
+ export interface TextColorShowPaletteToggleAttr {
4
+ noSelect: boolean;
5
+ }
6
+ export type TextColorShowPaletteToggleAEP = TrackAEP<ACTION.OPENED | ACTION.CLOSED, ACTION_SUBJECT.TOOLBAR, ACTION_SUBJECT_ID.FORMAT_COLOR, TextColorShowPaletteToggleAttr, undefined>;
7
+ export type TextColorEventPayload = TextColorShowPaletteToggleAEP;
@@ -303,7 +303,8 @@ export declare enum ACTION_SUBJECT {
303
303
  EDITOR_PLUGIN_AI = "editorPluginAI",
304
304
  EDITOR_PLUGIN_SELECTION_EXTENSION = "editorPluginSelectionExtension",
305
305
  AI_DEFINITIONS = "aiDefinitions",
306
- USER_PREFERENCES = "userPreferences"
306
+ USER_PREFERENCES = "userPreferences",
307
+ ALIGNMENT = "alignment"
307
308
  }
308
309
  export declare enum ACTION_SUBJECT_ID {
309
310
  ACTION = "action",
@@ -10,8 +10,10 @@ import type { AIEventPayload } from './ai-events';
10
10
  import type { AIInlineSuggestionPayload } from './ai-inline-suggestion-events';
11
11
  import type { AIProactiveEventPayload } from './ai-proactive-events';
12
12
  import type { AIUnifiedEventPayload } from './ai-unified-events';
13
+ import { AlignmentEventPayload } from './alignment-events';
13
14
  import type { AvatarEventPayload } from './avatar';
14
15
  import { type BreakoutEventPayload } from './breakout-events';
16
+ import type { TextColorEventPayload } from './color-events';
15
17
  import type { ConfigPanelEventPayload } from './config-panel-events';
16
18
  import type { CutCopyEventPayload } from './cut-copy-events';
17
19
  import type { DatasourceClickedPayload } from './datasource-clicked-events';
@@ -20,7 +22,6 @@ import type { ElementBrowserEventPayload } from './element-browser-events';
20
22
  import type { ElementEventPayload } from './element-events';
21
23
  import type { EngagementPlatformEventPayload } from './engagement-platform-events';
22
24
  import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, CONTENT_COMPONENT, FLOATING_CONTROLS_TITLE } from './enums';
23
- import type { ExperimentalEventPayload } from './experimental-events';
24
25
  import type { ExtensionEventPayload } from './extension-events';
25
26
  import type { FindReplaceEventPayload } from './find-replace-events';
26
27
  import type { FormatEventPayload } from './format-events';
@@ -57,7 +58,7 @@ export type SimplifiedNode = {
57
58
  marks?: string[];
58
59
  content?: SimplifiedNode[];
59
60
  };
60
- export type AnalyticsEventPayload<T = void> = AvatarEventPayload | GeneralEventPayload<T> | FormatEventPayload | SubstituteEventPayload | InsertEventPayload | NodeEventPayload | MoveContentEventPayload | MediaEventPayload | TableEventPayload | PasteEventPayload | CutCopyEventPayload | ErrorEventPayload | ExperimentalEventPayload | 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 | AIProactiveEventPayload | AIUnifiedEventPayload | BreakoutEventPayload | ActiveSessionEventPayload | AIInlineSuggestionPayload | SelectionExtensionEventPayload | TelepointerClickPayload | SelectionToolbarEventPayload;
61
+ 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 | AIProactiveEventPayload | AIUnifiedEventPayload | BreakoutEventPayload | ActiveSessionEventPayload | AIInlineSuggestionPayload | SelectionExtensionEventPayload | TelepointerClickPayload | SelectionToolbarEventPayload | AlignmentEventPayload;
61
62
  type CustomPanelEventPayload = TrackAEP<ACTION.CHANGED_BACKGROUND_COLOR | ACTION.CHANGED_ICON | ACTION.REMOVE_ICON, ACTION_SUBJECT.PANEL, ACTION_SUBJECT_ID.PANEL, {
62
63
  previousColor: string;
63
64
  newColor: string;
@@ -18,7 +18,7 @@ export type { DispatchAnalyticsEvent } from './types/dispatch-analytics-event';
18
18
  export { DELETE_DIRECTION, LIST_TEXT_SCENARIOS, JOIN_SCENARIOS_WHEN_TYPING_TO_INSERT_LIST, OUTDENT_SCENARIOS, } from './types/list-events';
19
19
  export type { ListEventPayload, CommonListAnalyticsAttributes, RestartListsAttributesForListOutdented, } from './types/list-events';
20
20
  export type { CreateLinkInlineDialogActionType, CreateLinkInlineDialogEventPayload, RecentActivitiesPerfAEP, QuickSearchPerfAEP, ViewedCreateLinkInlineDialogAEP, DismissedCreateLinkInlineDialogAEP, EnteredTextLinkSearchInputAEP, ShownPreQuerySearchResultsAEP, ShownPostQuerySearchResultsAEP, HighlightedSearchResultsAEP, SelectedSearchResultsAEP, EditLinkToolbarAEP, UnlinkToolbarAEP, } from './types/link-tool-bar-events';
21
- export type { TextColorSelectedAttr, TextColorSelectedAEP, TextColorShowPaletteToggleAttr, TextColorShowPaletteToggleAEP, ExperimentalEventPayload, } from './types/experimental-events';
21
+ export type { TextColorShowPaletteToggleAEP, TextColorShowPaletteToggleAttr, } from './types/color-events';
22
22
  export { GAP_CURSOR_POSITION, TARGET_SELECTION_SOURCE } from './types/extension-events';
23
23
  export type { SelectionJson, ExtensionType, ExtensionEventPayload } from './types/extension-events';
24
24
  export type { AnnotationActionType, AnnotationAEP, AnnotationAEPAttributes, AnnotationDraftAEPAttributes, AnnotationResolvedAEPAttributes, } from './types/inline-comment-events';
@@ -0,0 +1,8 @@
1
+ import { ACTION, ACTION_SUBJECT, INPUT_METHOD, ACTION_SUBJECT_ID } from './enums';
2
+ import { TrackAEP } from './utils';
3
+ type AlignmentUpdatedAEP = TrackAEP<ACTION.UPDATED, ACTION_SUBJECT.ALIGNMENT, ACTION_SUBJECT_ID, {
4
+ alignmentType?: 'start' | 'end' | 'center';
5
+ inputMethod?: INPUT_METHOD.TOOLBAR | INPUT_METHOD.FLOATING_TB | INPUT_METHOD.SHORTCUT;
6
+ }, undefined>;
7
+ export type AlignmentEventPayload = AlignmentUpdatedAEP;
8
+ export {};
@@ -0,0 +1,7 @@
1
+ import { type ACTION, type ACTION_SUBJECT, type ACTION_SUBJECT_ID } from './enums';
2
+ import { type TrackAEP } from './utils';
3
+ export interface TextColorShowPaletteToggleAttr {
4
+ noSelect: boolean;
5
+ }
6
+ export type TextColorShowPaletteToggleAEP = TrackAEP<ACTION.OPENED | ACTION.CLOSED, ACTION_SUBJECT.TOOLBAR, ACTION_SUBJECT_ID.FORMAT_COLOR, TextColorShowPaletteToggleAttr, undefined>;
7
+ export type TextColorEventPayload = TextColorShowPaletteToggleAEP;
@@ -303,7 +303,8 @@ export declare enum ACTION_SUBJECT {
303
303
  EDITOR_PLUGIN_AI = "editorPluginAI",
304
304
  EDITOR_PLUGIN_SELECTION_EXTENSION = "editorPluginSelectionExtension",
305
305
  AI_DEFINITIONS = "aiDefinitions",
306
- USER_PREFERENCES = "userPreferences"
306
+ USER_PREFERENCES = "userPreferences",
307
+ ALIGNMENT = "alignment"
307
308
  }
308
309
  export declare enum ACTION_SUBJECT_ID {
309
310
  ACTION = "action",
@@ -10,8 +10,10 @@ import type { AIEventPayload } from './ai-events';
10
10
  import type { AIInlineSuggestionPayload } from './ai-inline-suggestion-events';
11
11
  import type { AIProactiveEventPayload } from './ai-proactive-events';
12
12
  import type { AIUnifiedEventPayload } from './ai-unified-events';
13
+ import { AlignmentEventPayload } from './alignment-events';
13
14
  import type { AvatarEventPayload } from './avatar';
14
15
  import { type BreakoutEventPayload } from './breakout-events';
16
+ import type { TextColorEventPayload } from './color-events';
15
17
  import type { ConfigPanelEventPayload } from './config-panel-events';
16
18
  import type { CutCopyEventPayload } from './cut-copy-events';
17
19
  import type { DatasourceClickedPayload } from './datasource-clicked-events';
@@ -20,7 +22,6 @@ import type { ElementBrowserEventPayload } from './element-browser-events';
20
22
  import type { ElementEventPayload } from './element-events';
21
23
  import type { EngagementPlatformEventPayload } from './engagement-platform-events';
22
24
  import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, CONTENT_COMPONENT, FLOATING_CONTROLS_TITLE } from './enums';
23
- import type { ExperimentalEventPayload } from './experimental-events';
24
25
  import type { ExtensionEventPayload } from './extension-events';
25
26
  import type { FindReplaceEventPayload } from './find-replace-events';
26
27
  import type { FormatEventPayload } from './format-events';
@@ -57,7 +58,7 @@ export type SimplifiedNode = {
57
58
  marks?: string[];
58
59
  content?: SimplifiedNode[];
59
60
  };
60
- export type AnalyticsEventPayload<T = void> = AvatarEventPayload | GeneralEventPayload<T> | FormatEventPayload | SubstituteEventPayload | InsertEventPayload | NodeEventPayload | MoveContentEventPayload | MediaEventPayload | TableEventPayload | PasteEventPayload | CutCopyEventPayload | ErrorEventPayload | ExperimentalEventPayload | 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 | AIProactiveEventPayload | AIUnifiedEventPayload | BreakoutEventPayload | ActiveSessionEventPayload | AIInlineSuggestionPayload | SelectionExtensionEventPayload | TelepointerClickPayload | SelectionToolbarEventPayload;
61
+ 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 | AIProactiveEventPayload | AIUnifiedEventPayload | BreakoutEventPayload | ActiveSessionEventPayload | AIInlineSuggestionPayload | SelectionExtensionEventPayload | TelepointerClickPayload | SelectionToolbarEventPayload | AlignmentEventPayload;
61
62
  type CustomPanelEventPayload = TrackAEP<ACTION.CHANGED_BACKGROUND_COLOR | ACTION.CHANGED_ICON | ACTION.REMOVE_ICON, ACTION_SUBJECT.PANEL, ACTION_SUBJECT_ID.PANEL, {
62
63
  previousColor: string;
63
64
  newColor: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "103.3.0",
3
+ "version": "103.3.2",
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/"
@@ -156,7 +156,7 @@
156
156
  "@atlaskit/primitives": "^14.4.0",
157
157
  "@atlaskit/profilecard": "^23.7.0",
158
158
  "@atlaskit/section-message": "^8.2.0",
159
- "@atlaskit/smart-card": "^36.4.0",
159
+ "@atlaskit/smart-card": "^36.5.0",
160
160
  "@atlaskit/smart-user-picker": "^8.0.0",
161
161
  "@atlaskit/spinner": "^18.0.0",
162
162
  "@atlaskit/task-decision": "^19.1.0",
@@ -1,16 +0,0 @@
1
- import { type ACTION, type ACTION_SUBJECT, type ACTION_SUBJECT_ID } from './enums';
2
- import { type TrackAEP } from './utils';
3
- type ExperimentalAEP<Action, ActionSubject, ActionSubjectId, Attributes> = TrackAEP<Action, ActionSubject, ActionSubjectId, Attributes & {
4
- experiment: string;
5
- experimentGroup: string;
6
- }, undefined>;
7
- export interface TextColorSelectedAttr {
8
- color: string;
9
- }
10
- export type TextColorSelectedAEP = ExperimentalAEP<ACTION.FORMATTED, ACTION_SUBJECT.TEXT, ACTION_SUBJECT_ID.FORMAT_COLOR, TextColorSelectedAttr>;
11
- export interface TextColorShowPaletteToggleAttr {
12
- noSelect: boolean;
13
- }
14
- export type TextColorShowPaletteToggleAEP = ExperimentalAEP<ACTION.OPENED | ACTION.CLOSED, ACTION_SUBJECT.TOOLBAR, ACTION_SUBJECT_ID.FORMAT_COLOR, TextColorShowPaletteToggleAttr>;
15
- export type ExperimentalEventPayload = TextColorSelectedAEP | TextColorShowPaletteToggleAEP;
16
- export {};
@@ -1,16 +0,0 @@
1
- import { type ACTION, type ACTION_SUBJECT, type ACTION_SUBJECT_ID } from './enums';
2
- import { type TrackAEP } from './utils';
3
- type ExperimentalAEP<Action, ActionSubject, ActionSubjectId, Attributes> = TrackAEP<Action, ActionSubject, ActionSubjectId, Attributes & {
4
- experiment: string;
5
- experimentGroup: string;
6
- }, undefined>;
7
- export interface TextColorSelectedAttr {
8
- color: string;
9
- }
10
- export type TextColorSelectedAEP = ExperimentalAEP<ACTION.FORMATTED, ACTION_SUBJECT.TEXT, ACTION_SUBJECT_ID.FORMAT_COLOR, TextColorSelectedAttr>;
11
- export interface TextColorShowPaletteToggleAttr {
12
- noSelect: boolean;
13
- }
14
- export type TextColorShowPaletteToggleAEP = ExperimentalAEP<ACTION.OPENED | ACTION.CLOSED, ACTION_SUBJECT.TOOLBAR, ACTION_SUBJECT_ID.FORMAT_COLOR, TextColorShowPaletteToggleAttr>;
15
- export type ExperimentalEventPayload = TextColorSelectedAEP | TextColorShowPaletteToggleAEP;
16
- export {};