@atlaskit/editor-common 103.3.1 → 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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
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
+
3
12
  ## 103.3.1
4
13
 
5
14
  ### Patch Changes
@@ -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.1";
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.1";
26
+ var packageVersion = "103.3.2";
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 = "103.3.1";
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.1";
16
+ const packageVersion = "103.3.2";
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 = "103.3.1";
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.1";
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,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;
@@ -13,6 +13,7 @@ import type { AIUnifiedEventPayload } from './ai-unified-events';
13
13
  import { AlignmentEventPayload } from './alignment-events';
14
14
  import type { AvatarEventPayload } from './avatar';
15
15
  import { type BreakoutEventPayload } from './breakout-events';
16
+ import type { TextColorEventPayload } from './color-events';
16
17
  import type { ConfigPanelEventPayload } from './config-panel-events';
17
18
  import type { CutCopyEventPayload } from './cut-copy-events';
18
19
  import type { DatasourceClickedPayload } from './datasource-clicked-events';
@@ -21,7 +22,6 @@ import type { ElementBrowserEventPayload } from './element-browser-events';
21
22
  import type { ElementEventPayload } from './element-events';
22
23
  import type { EngagementPlatformEventPayload } from './engagement-platform-events';
23
24
  import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, CONTENT_COMPONENT, FLOATING_CONTROLS_TITLE } from './enums';
24
- import type { ExperimentalEventPayload } from './experimental-events';
25
25
  import type { ExtensionEventPayload } from './extension-events';
26
26
  import type { FindReplaceEventPayload } from './find-replace-events';
27
27
  import type { FormatEventPayload } from './format-events';
@@ -58,7 +58,7 @@ export type SimplifiedNode = {
58
58
  marks?: string[];
59
59
  content?: SimplifiedNode[];
60
60
  };
61
- 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 | AlignmentEventPayload;
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;
62
62
  type CustomPanelEventPayload = TrackAEP<ACTION.CHANGED_BACKGROUND_COLOR | ACTION.CHANGED_ICON | ACTION.REMOVE_ICON, ACTION_SUBJECT.PANEL, ACTION_SUBJECT_ID.PANEL, {
63
63
  previousColor: string;
64
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,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;
@@ -13,6 +13,7 @@ import type { AIUnifiedEventPayload } from './ai-unified-events';
13
13
  import { AlignmentEventPayload } from './alignment-events';
14
14
  import type { AvatarEventPayload } from './avatar';
15
15
  import { type BreakoutEventPayload } from './breakout-events';
16
+ import type { TextColorEventPayload } from './color-events';
16
17
  import type { ConfigPanelEventPayload } from './config-panel-events';
17
18
  import type { CutCopyEventPayload } from './cut-copy-events';
18
19
  import type { DatasourceClickedPayload } from './datasource-clicked-events';
@@ -21,7 +22,6 @@ import type { ElementBrowserEventPayload } from './element-browser-events';
21
22
  import type { ElementEventPayload } from './element-events';
22
23
  import type { EngagementPlatformEventPayload } from './engagement-platform-events';
23
24
  import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, CONTENT_COMPONENT, FLOATING_CONTROLS_TITLE } from './enums';
24
- import type { ExperimentalEventPayload } from './experimental-events';
25
25
  import type { ExtensionEventPayload } from './extension-events';
26
26
  import type { FindReplaceEventPayload } from './find-replace-events';
27
27
  import type { FormatEventPayload } from './format-events';
@@ -58,7 +58,7 @@ export type SimplifiedNode = {
58
58
  marks?: string[];
59
59
  content?: SimplifiedNode[];
60
60
  };
61
- 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 | AlignmentEventPayload;
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;
62
62
  type CustomPanelEventPayload = TrackAEP<ACTION.CHANGED_BACKGROUND_COLOR | ACTION.CHANGED_ICON | ACTION.REMOVE_ICON, ACTION_SUBJECT.PANEL, ACTION_SUBJECT_ID.PANEL, {
63
63
  previousColor: string;
64
64
  newColor: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "103.3.1",
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 {};