@atlaskit/editor-common 112.16.1 → 112.17.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.
Files changed (29) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/cjs/ai-messages/ai-suggestions.js +0 -5
  3. package/dist/cjs/analytics/types/enums.js +2 -0
  4. package/dist/cjs/messages/syncBlock.js +11 -1
  5. package/dist/cjs/monitoring/error.js +1 -1
  6. package/dist/cjs/ui/DropList/index.js +1 -1
  7. package/dist/es2019/ai-messages/ai-suggestions.js +0 -5
  8. package/dist/es2019/analytics/types/enums.js +2 -0
  9. package/dist/es2019/messages/syncBlock.js +11 -1
  10. package/dist/es2019/monitoring/error.js +1 -1
  11. package/dist/es2019/ui/DropList/index.js +1 -1
  12. package/dist/esm/ai-messages/ai-suggestions.js +0 -5
  13. package/dist/esm/analytics/types/enums.js +2 -0
  14. package/dist/esm/messages/syncBlock.js +11 -1
  15. package/dist/esm/monitoring/error.js +1 -1
  16. package/dist/esm/ui/DropList/index.js +1 -1
  17. package/dist/types/ai-messages/ai-suggestions.d.ts +0 -5
  18. package/dist/types/analytics/types/enums.d.ts +2 -0
  19. package/dist/types/analytics/types/general-events.d.ts +3 -1
  20. package/dist/types/extensibility/extensionNodeView.d.ts +2 -2
  21. package/dist/types/messages/syncBlock.d.ts +10 -0
  22. package/dist/types/ui/MediaSingle/index.d.ts +1 -1
  23. package/dist/types-ts4.5/ai-messages/ai-suggestions.d.ts +0 -5
  24. package/dist/types-ts4.5/analytics/types/enums.d.ts +2 -0
  25. package/dist/types-ts4.5/analytics/types/general-events.d.ts +3 -1
  26. package/dist/types-ts4.5/extensibility/extensionNodeView.d.ts +2 -2
  27. package/dist/types-ts4.5/messages/syncBlock.d.ts +10 -0
  28. package/dist/types-ts4.5/ui/MediaSingle/index.d.ts +1 -1
  29. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 112.17.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`acf7e564adc80`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/acf7e564adc80) -
8
+ NO-ISSUE: Fix generate payload
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies
13
+
14
+ ## 112.16.2
15
+
16
+ ### Patch Changes
17
+
18
+ - [`c120ecfaba934`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c120ecfaba934) -
19
+ [ux] Update delete and unsync modal text for source with multiple references.
20
+ - Updated dependencies
21
+
3
22
  ## 112.16.1
4
23
 
5
24
  ### Patch Changes
@@ -66,11 +66,6 @@ var aiSuggestionsMessages = exports.aiSuggestionsMessages = (0, _reactIntlNext.d
66
66
  defaultMessage: 'Suggested edits (generate)',
67
67
  description: 'Quick insert: fetch AI suggestions by generating from the current document (ADF)'
68
68
  },
69
- fetchFromSavedContent: {
70
- id: 'fabric.editor.ai.suggestions.quickInsert.fromSavedContent.non-final',
71
- defaultMessage: 'Suggested edits (ERS)',
72
- description: 'Quick insert: fetch AI suggestions using saved content (ERS)'
73
- },
74
69
  fetchGenerateFromAdf: {
75
70
  id: 'fabric.editor.ai.suggestions.quickInsert.generateFromAdf.non-final',
76
71
  defaultMessage: 'Suggested edits (generate from ADF)',
@@ -531,6 +531,8 @@ var ACTION_SUBJECT_ID = exports.ACTION_SUBJECT_ID = /*#__PURE__*/function (ACTIO
531
531
  ACTION_SUBJECT_ID["SECTION"] = "section";
532
532
  ACTION_SUBJECT_ID["SMART_LINK"] = "smartLink";
533
533
  ACTION_SUBJECT_ID["SMART_LINK_TOOLBAR"] = "smartLinkToolbar";
534
+ ACTION_SUBJECT_ID["SMART_LINK_ROVO_BUTTON"] = "smartLinkRovoButton";
535
+ ACTION_SUBJECT_ID["SMART_LINK_SUMMARIZE_BUTTON"] = "smartLinkSummarizeButton";
534
536
  ACTION_SUBJECT_ID["STATUS"] = "status";
535
537
  ACTION_SUBJECT_ID["SYMBOL"] = "symbol";
536
538
  ACTION_SUBJECT_ID["TABLE"] = "table";
@@ -131,6 +131,11 @@ var syncBlockMessages = exports.syncBlockMessages = (0, _reactIntlNext.defineMes
131
131
  defaultMessage: 'If you delete this synced block, it will become an “Unsynced block” in other locations. This action is permanent and cannot be undone.',
132
132
  description: 'Description of delete confirmation modal that appears when user tries to delete source synced block'
133
133
  },
134
+ deletionConfirmationModalDescriptionNew: {
135
+ id: 'fabric.editor.deletionConfirmationModalDescriptionNew',
136
+ defaultMessage: 'If you delete this synced block, it will appear as an empty "Unsynced block" in {syncBlockCount, plural, one {1 other synced location} other {# locations}}. This action is permanent and cannot be undone.',
137
+ description: 'Description of delete confirmation modal that appears when user tries to delete source synced block with multiple references'
138
+ },
134
139
  deletionConfirmationModalDescriptionNoRef: {
135
140
  id: 'fabric.editor.deletionConfirmationModalDescriptionNoRef',
136
141
  defaultMessage: 'Your content will no longer appear, and the synced block will be deleted. This action is permanent and cannot be undone.',
@@ -350,7 +355,12 @@ var syncBlockMessages = exports.syncBlockMessages = (0, _reactIntlNext.defineMes
350
355
  },
351
356
  unsyncConfirmModalDescriptionMultiple: {
352
357
  id: 'fabric.editor.unsyncConfirmModalDescriptionMultiple',
353
- defaultMessage: 'Your content will stay here. In {syncBlockCount, plural, one {1 other synced location} other {# other synced locations}} it will appear as an Unsynced block”. This action is permanent and cannot be undone.',
358
+ defaultMessage: 'Your content will stay here. In {syncBlockCount, plural, one {1 other synced location} other {# other synced locations}} it will appear as an "Unsynced block". This action is permanent and cannot be undone.',
359
+ description: 'Description of unsync confirmation modal that appears when user tries to unsync source synced block with multiple references'
360
+ },
361
+ unsyncConfirmModalDescriptionMultipleNew: {
362
+ id: 'fabric.editor.unsyncConfirmModalDescriptionMultipleNew',
363
+ defaultMessage: 'Your content will stay here. In {syncBlockCount, plural, one {1 other synced location} other {# other synced locations}} it will appear as an empty "Unsynced block". This action is permanent and cannot be undone.',
354
364
  description: 'Description of unsync confirmation modal that appears when user tries to unsync source synced block with multiple references'
355
365
  },
356
366
  cannotPasteSyncedBlockTitle: {
@@ -19,7 +19,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
19
19
  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); }
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 = "112.16.0";
22
+ var packageVersion = "112.16.2";
23
23
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
24
24
  // Remove URL as it has UGC
25
25
  // 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 = "112.16.0";
27
+ var packageVersion = "112.16.2";
28
28
  var halfFocusRing = 1;
29
29
  var dropOffset = '0, 8';
30
30
  var fadeIn = (0, _react2.keyframes)({
@@ -60,11 +60,6 @@ export const aiSuggestionsMessages = defineMessages({
60
60
  defaultMessage: 'Suggested edits (generate)',
61
61
  description: 'Quick insert: fetch AI suggestions by generating from the current document (ADF)'
62
62
  },
63
- fetchFromSavedContent: {
64
- id: 'fabric.editor.ai.suggestions.quickInsert.fromSavedContent.non-final',
65
- defaultMessage: 'Suggested edits (ERS)',
66
- description: 'Quick insert: fetch AI suggestions using saved content (ERS)'
67
- },
68
63
  fetchGenerateFromAdf: {
69
64
  id: 'fabric.editor.ai.suggestions.quickInsert.generateFromAdf.non-final',
70
65
  defaultMessage: 'Suggested edits (generate from ADF)',
@@ -525,6 +525,8 @@ export let ACTION_SUBJECT_ID = /*#__PURE__*/function (ACTION_SUBJECT_ID) {
525
525
  ACTION_SUBJECT_ID["SECTION"] = "section";
526
526
  ACTION_SUBJECT_ID["SMART_LINK"] = "smartLink";
527
527
  ACTION_SUBJECT_ID["SMART_LINK_TOOLBAR"] = "smartLinkToolbar";
528
+ ACTION_SUBJECT_ID["SMART_LINK_ROVO_BUTTON"] = "smartLinkRovoButton";
529
+ ACTION_SUBJECT_ID["SMART_LINK_SUMMARIZE_BUTTON"] = "smartLinkSummarizeButton";
528
530
  ACTION_SUBJECT_ID["STATUS"] = "status";
529
531
  ACTION_SUBJECT_ID["SYMBOL"] = "symbol";
530
532
  ACTION_SUBJECT_ID["TABLE"] = "table";
@@ -125,6 +125,11 @@ export const syncBlockMessages = defineMessages({
125
125
  defaultMessage: 'If you delete this synced block, it will become an “Unsynced block” in other locations. This action is permanent and cannot be undone.',
126
126
  description: 'Description of delete confirmation modal that appears when user tries to delete source synced block'
127
127
  },
128
+ deletionConfirmationModalDescriptionNew: {
129
+ id: 'fabric.editor.deletionConfirmationModalDescriptionNew',
130
+ defaultMessage: 'If you delete this synced block, it will appear as an empty "Unsynced block" in {syncBlockCount, plural, one {1 other synced location} other {# locations}}. This action is permanent and cannot be undone.',
131
+ description: 'Description of delete confirmation modal that appears when user tries to delete source synced block with multiple references'
132
+ },
128
133
  deletionConfirmationModalDescriptionNoRef: {
129
134
  id: 'fabric.editor.deletionConfirmationModalDescriptionNoRef',
130
135
  defaultMessage: 'Your content will no longer appear, and the synced block will be deleted. This action is permanent and cannot be undone.',
@@ -344,7 +349,12 @@ export const syncBlockMessages = defineMessages({
344
349
  },
345
350
  unsyncConfirmModalDescriptionMultiple: {
346
351
  id: 'fabric.editor.unsyncConfirmModalDescriptionMultiple',
347
- defaultMessage: 'Your content will stay here. In {syncBlockCount, plural, one {1 other synced location} other {# other synced locations}} it will appear as an Unsynced block”. This action is permanent and cannot be undone.',
352
+ defaultMessage: 'Your content will stay here. In {syncBlockCount, plural, one {1 other synced location} other {# other synced locations}} it will appear as an "Unsynced block". This action is permanent and cannot be undone.',
353
+ description: 'Description of unsync confirmation modal that appears when user tries to unsync source synced block with multiple references'
354
+ },
355
+ unsyncConfirmModalDescriptionMultipleNew: {
356
+ id: 'fabric.editor.unsyncConfirmModalDescriptionMultipleNew',
357
+ defaultMessage: 'Your content will stay here. In {syncBlockCount, plural, one {1 other synced location} other {# other synced locations}} it will appear as an empty "Unsynced block". This action is permanent and cannot be undone.',
348
358
  description: 'Description of unsync confirmation modal that appears when user tries to unsync source synced block with multiple references'
349
359
  },
350
360
  cannotPasteSyncedBlockTitle: {
@@ -4,7 +4,7 @@ import { isFedRamp } from './environment';
4
4
  import { normaliseSentryBreadcrumbs, SERIALIZABLE_ATTRIBUTES } from './normalise-sentry-breadcrumbs';
5
5
  const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
6
6
  const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
7
- const packageVersion = "112.16.0";
7
+ const packageVersion = "112.16.2";
8
8
  const sanitiseSentryEvents = (data, _hint) => {
9
9
  // Remove URL as it has UGC
10
10
  // 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 = "112.16.0";
17
+ const packageVersion = "112.16.2";
18
18
  const halfFocusRing = 1;
19
19
  const dropOffset = '0, 8';
20
20
  const fadeIn = keyframes({
@@ -60,11 +60,6 @@ export var aiSuggestionsMessages = defineMessages({
60
60
  defaultMessage: 'Suggested edits (generate)',
61
61
  description: 'Quick insert: fetch AI suggestions by generating from the current document (ADF)'
62
62
  },
63
- fetchFromSavedContent: {
64
- id: 'fabric.editor.ai.suggestions.quickInsert.fromSavedContent.non-final',
65
- defaultMessage: 'Suggested edits (ERS)',
66
- description: 'Quick insert: fetch AI suggestions using saved content (ERS)'
67
- },
68
63
  fetchGenerateFromAdf: {
69
64
  id: 'fabric.editor.ai.suggestions.quickInsert.generateFromAdf.non-final',
70
65
  defaultMessage: 'Suggested edits (generate from ADF)',
@@ -525,6 +525,8 @@ export var ACTION_SUBJECT_ID = /*#__PURE__*/function (ACTION_SUBJECT_ID) {
525
525
  ACTION_SUBJECT_ID["SECTION"] = "section";
526
526
  ACTION_SUBJECT_ID["SMART_LINK"] = "smartLink";
527
527
  ACTION_SUBJECT_ID["SMART_LINK_TOOLBAR"] = "smartLinkToolbar";
528
+ ACTION_SUBJECT_ID["SMART_LINK_ROVO_BUTTON"] = "smartLinkRovoButton";
529
+ ACTION_SUBJECT_ID["SMART_LINK_SUMMARIZE_BUTTON"] = "smartLinkSummarizeButton";
528
530
  ACTION_SUBJECT_ID["STATUS"] = "status";
529
531
  ACTION_SUBJECT_ID["SYMBOL"] = "symbol";
530
532
  ACTION_SUBJECT_ID["TABLE"] = "table";
@@ -125,6 +125,11 @@ export var syncBlockMessages = defineMessages({
125
125
  defaultMessage: 'If you delete this synced block, it will become an “Unsynced block” in other locations. This action is permanent and cannot be undone.',
126
126
  description: 'Description of delete confirmation modal that appears when user tries to delete source synced block'
127
127
  },
128
+ deletionConfirmationModalDescriptionNew: {
129
+ id: 'fabric.editor.deletionConfirmationModalDescriptionNew',
130
+ defaultMessage: 'If you delete this synced block, it will appear as an empty "Unsynced block" in {syncBlockCount, plural, one {1 other synced location} other {# locations}}. This action is permanent and cannot be undone.',
131
+ description: 'Description of delete confirmation modal that appears when user tries to delete source synced block with multiple references'
132
+ },
128
133
  deletionConfirmationModalDescriptionNoRef: {
129
134
  id: 'fabric.editor.deletionConfirmationModalDescriptionNoRef',
130
135
  defaultMessage: 'Your content will no longer appear, and the synced block will be deleted. This action is permanent and cannot be undone.',
@@ -344,7 +349,12 @@ export var syncBlockMessages = defineMessages({
344
349
  },
345
350
  unsyncConfirmModalDescriptionMultiple: {
346
351
  id: 'fabric.editor.unsyncConfirmModalDescriptionMultiple',
347
- defaultMessage: 'Your content will stay here. In {syncBlockCount, plural, one {1 other synced location} other {# other synced locations}} it will appear as an Unsynced block”. This action is permanent and cannot be undone.',
352
+ defaultMessage: 'Your content will stay here. In {syncBlockCount, plural, one {1 other synced location} other {# other synced locations}} it will appear as an "Unsynced block". This action is permanent and cannot be undone.',
353
+ description: 'Description of unsync confirmation modal that appears when user tries to unsync source synced block with multiple references'
354
+ },
355
+ unsyncConfirmModalDescriptionMultipleNew: {
356
+ id: 'fabric.editor.unsyncConfirmModalDescriptionMultipleNew',
357
+ defaultMessage: 'Your content will stay here. In {syncBlockCount, plural, one {1 other synced location} other {# other synced locations}} it will appear as an empty "Unsynced block". This action is permanent and cannot be undone.',
348
358
  description: 'Description of unsync confirmation modal that appears when user tries to unsync source synced block with multiple references'
349
359
  },
350
360
  cannotPasteSyncedBlockTitle: {
@@ -10,7 +10,7 @@ import { isFedRamp } from './environment';
10
10
  import { normaliseSentryBreadcrumbs, SERIALIZABLE_ATTRIBUTES } from './normalise-sentry-breadcrumbs';
11
11
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
12
12
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
13
- var packageVersion = "112.16.0";
13
+ var packageVersion = "112.16.2";
14
14
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
15
15
  // Remove URL as it has UGC
16
16
  // 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 = "112.16.0";
24
+ var packageVersion = "112.16.2";
25
25
  var halfFocusRing = 1;
26
26
  var dropOffset = '0, 8';
27
27
  var fadeIn = keyframes({
@@ -39,11 +39,6 @@ export declare const aiSuggestionsMessages: {
39
39
  description: string;
40
40
  id: string;
41
41
  };
42
- fetchFromSavedContent: {
43
- defaultMessage: string;
44
- description: string;
45
- id: string;
46
- };
47
42
  fetchGenerateFromAdf: {
48
43
  defaultMessage: string;
49
44
  description: string;
@@ -516,6 +516,8 @@ export declare enum ACTION_SUBJECT_ID {
516
516
  SECTION = "section",
517
517
  SMART_LINK = "smartLink",
518
518
  SMART_LINK_TOOLBAR = "smartLinkToolbar",
519
+ SMART_LINK_ROVO_BUTTON = "smartLinkRovoButton",
520
+ SMART_LINK_SUMMARIZE_BUTTON = "smartLinkSummarizeButton",
519
521
  STATUS = "status",
520
522
  SYMBOL = "symbol",
521
523
  TABLE = "table",
@@ -211,11 +211,13 @@ type RovoMoreOptionsClickedAEP = ButtonAEP<ACTION_SUBJECT_ID.AI_MORE_ROVO_OPTION
211
211
  type AskRovoButtonClickedAEP = ButtonAEP<ACTION_SUBJECT_ID.AI_ASK_ROVO_BUTTON, {
212
212
  inputMethod: INPUT_METHOD.TOOLBAR | INPUT_METHOD.FLOATING_TB;
213
213
  }>;
214
+ type SmartLinkRovoButtonClickedAEP = ButtonAEP<ACTION_SUBJECT_ID.SMART_LINK_ROVO_BUTTON, undefined>;
215
+ type SmartLinkSummarizeButtonClickedAEP = ButtonAEP<ACTION_SUBJECT_ID.SMART_LINK_SUMMARIZE_BUTTON, undefined>;
214
216
  type ChangeToneMenuItemClickedAEP = UIAEP<ACTION.CLICKED, ACTION_SUBJECT.TOOLBAR_DROPDOWN_MENU_ITEM, ACTION_SUBJECT_ID.AI_CHANGE_TONE, {
215
217
  inputMethod: INPUT_METHOD.TOOLBAR | INPUT_METHOD.FLOATING_TB;
216
218
  }>;
217
219
  type TranslateMenuItemClickedAEP = UIAEP<ACTION.CLICKED, ACTION_SUBJECT.TOOLBAR_DROPDOWN_MENU_ITEM, ACTION_SUBJECT_ID.AI_TRANSLATE, {
218
220
  inputMethod: INPUT_METHOD.TOOLBAR | INPUT_METHOD.FLOATING_TB;
219
221
  }>;
220
- export type GeneralEventPayload<T = void> = AnnotateButtonAEP | AnnotationAEP | AnnotationErrorAEP | BrowserFreezePayload | ButtonFeedbackAEP | ButtonHelpAEP | ButtonUploadMediaAEP | ColorPickerAEP | EditorPerfAEP | EditorRenderedAEP<T> | EditorStartAEP | EditorStopAEP | ExpandToggleAEP | FeedbackAEP | FullWidthModeAEP | HelpQuickInsertAEP | InputPerfSamplingAEP | InputPerfSamplingAvgAEP | PickerEmojiAEP | PickerImageAEP | PickerMediaInsertAEP | PickerMediaInsertClosedAEP | PickerMediaInsertCancelledAEP | ReactNodeViewRenderedAEP | RichMediaLayoutAEP | SelectionAEP | SlowInputAEP | TransactionMutatedAEP | UploadExternalFailedAEP | WithPluginStateCalledAEP | CodeBlockLanguageSelectedAEP | EditorContentRetrievalPerformedAEP | MediaLinkTransformedAEP | TextLinkCodeMarkTransformedAEP | DedupeMarksTransformedAEP | IndentationMarksTransformedAEP | NodesMissingContentTransformedAEP | InvalidProsemirrorDocumentErrorAEP | DocumentProcessingErrorAEP | InvalidMediaContentTransformedAEP | HeadingAnchorLinkButtonAEP | CollabStepsTrackerPayloadAEP | CollabOrganicChangesTrackerPayloadAEP | BlocksDragInitAEP | CodeBlockWordWrapToggleAEP | RequestToEditAEP | SingleColumLayoutDetectedAEP | CopyLinkToAnchorButtonAEP | DockedPrimaryToolbarRenderedAEP | RovoMoreOptionsClickedAEP | AskRovoButtonClickedAEP | ChangeToneMenuItemClickedAEP | TranslateMenuItemClickedAEP | MediaSingleWidthTransformedAEP;
222
+ export type GeneralEventPayload<T = void> = AnnotateButtonAEP | AnnotationAEP | AnnotationErrorAEP | BrowserFreezePayload | ButtonFeedbackAEP | ButtonHelpAEP | ButtonUploadMediaAEP | ColorPickerAEP | EditorPerfAEP | EditorRenderedAEP<T> | EditorStartAEP | EditorStopAEP | ExpandToggleAEP | FeedbackAEP | FullWidthModeAEP | HelpQuickInsertAEP | InputPerfSamplingAEP | InputPerfSamplingAvgAEP | PickerEmojiAEP | PickerImageAEP | PickerMediaInsertAEP | PickerMediaInsertClosedAEP | PickerMediaInsertCancelledAEP | ReactNodeViewRenderedAEP | RichMediaLayoutAEP | SelectionAEP | SlowInputAEP | TransactionMutatedAEP | UploadExternalFailedAEP | WithPluginStateCalledAEP | CodeBlockLanguageSelectedAEP | EditorContentRetrievalPerformedAEP | MediaLinkTransformedAEP | TextLinkCodeMarkTransformedAEP | DedupeMarksTransformedAEP | IndentationMarksTransformedAEP | NodesMissingContentTransformedAEP | InvalidProsemirrorDocumentErrorAEP | DocumentProcessingErrorAEP | InvalidMediaContentTransformedAEP | HeadingAnchorLinkButtonAEP | CollabStepsTrackerPayloadAEP | CollabOrganicChangesTrackerPayloadAEP | BlocksDragInitAEP | CodeBlockWordWrapToggleAEP | RequestToEditAEP | SingleColumLayoutDetectedAEP | CopyLinkToAnchorButtonAEP | DockedPrimaryToolbarRenderedAEP | RovoMoreOptionsClickedAEP | AskRovoButtonClickedAEP | SmartLinkRovoButtonClickedAEP | SmartLinkSummarizeButtonClickedAEP | ChangeToneMenuItemClickedAEP | TranslateMenuItemClickedAEP | MediaSingleWidthTransformedAEP;
221
223
  export {};
@@ -40,11 +40,11 @@ export declare class ExtensionNode<AdditionalParams = unknown> extends ReactNode
40
40
  */
41
41
  stopEvent(event: Event): boolean;
42
42
  getContentDOM(): {
43
- dom: HTMLDivElement;
44
43
  contentDOM: HTMLDivElement;
45
- } | {
46
44
  dom: HTMLDivElement;
45
+ } | {
47
46
  contentDOM?: undefined;
47
+ dom: HTMLDivElement;
48
48
  } | undefined;
49
49
  render(props: {
50
50
  extensionHandlers: ExtensionHandlers;
@@ -89,6 +89,11 @@ export declare const syncBlockMessages: {
89
89
  description: string;
90
90
  id: string;
91
91
  };
92
+ deletionConfirmationModalDescriptionNew: {
93
+ defaultMessage: string;
94
+ description: string;
95
+ id: string;
96
+ };
92
97
  deletionConfirmationModalDescriptionNoRef: {
93
98
  defaultMessage: string;
94
99
  description: string;
@@ -379,6 +384,11 @@ export declare const syncBlockMessages: {
379
384
  description: string;
380
385
  id: string;
381
386
  };
387
+ unsyncConfirmModalDescriptionMultipleNew: {
388
+ defaultMessage: string;
389
+ description: string;
390
+ id: string;
391
+ };
382
392
  unsyncConfirmModalDescriptionSingle: {
383
393
  defaultMessage: string;
384
394
  description: string;
@@ -17,6 +17,7 @@ export interface Props {
17
17
  handleMediaSingleRef?: React.RefObject<HTMLDivElement>;
18
18
  hasFallbackContainer?: boolean;
19
19
  height: number;
20
+ isInRenderer?: boolean;
20
21
  isInsideOfInlineExtension?: boolean;
21
22
  isLoading?: boolean;
22
23
  layout: MediaSingleLayout;
@@ -29,7 +30,6 @@ export interface Props {
29
30
  */
30
31
  pctWidth?: number;
31
32
  size?: MediaSingleSize;
32
- isInRenderer?: boolean;
33
33
  width?: number;
34
34
  }
35
35
  /**
@@ -39,11 +39,6 @@ export declare const aiSuggestionsMessages: {
39
39
  description: string;
40
40
  id: string;
41
41
  };
42
- fetchFromSavedContent: {
43
- defaultMessage: string;
44
- description: string;
45
- id: string;
46
- };
47
42
  fetchGenerateFromAdf: {
48
43
  defaultMessage: string;
49
44
  description: string;
@@ -516,6 +516,8 @@ export declare enum ACTION_SUBJECT_ID {
516
516
  SECTION = "section",
517
517
  SMART_LINK = "smartLink",
518
518
  SMART_LINK_TOOLBAR = "smartLinkToolbar",
519
+ SMART_LINK_ROVO_BUTTON = "smartLinkRovoButton",
520
+ SMART_LINK_SUMMARIZE_BUTTON = "smartLinkSummarizeButton",
519
521
  STATUS = "status",
520
522
  SYMBOL = "symbol",
521
523
  TABLE = "table",
@@ -211,11 +211,13 @@ type RovoMoreOptionsClickedAEP = ButtonAEP<ACTION_SUBJECT_ID.AI_MORE_ROVO_OPTION
211
211
  type AskRovoButtonClickedAEP = ButtonAEP<ACTION_SUBJECT_ID.AI_ASK_ROVO_BUTTON, {
212
212
  inputMethod: INPUT_METHOD.TOOLBAR | INPUT_METHOD.FLOATING_TB;
213
213
  }>;
214
+ type SmartLinkRovoButtonClickedAEP = ButtonAEP<ACTION_SUBJECT_ID.SMART_LINK_ROVO_BUTTON, undefined>;
215
+ type SmartLinkSummarizeButtonClickedAEP = ButtonAEP<ACTION_SUBJECT_ID.SMART_LINK_SUMMARIZE_BUTTON, undefined>;
214
216
  type ChangeToneMenuItemClickedAEP = UIAEP<ACTION.CLICKED, ACTION_SUBJECT.TOOLBAR_DROPDOWN_MENU_ITEM, ACTION_SUBJECT_ID.AI_CHANGE_TONE, {
215
217
  inputMethod: INPUT_METHOD.TOOLBAR | INPUT_METHOD.FLOATING_TB;
216
218
  }>;
217
219
  type TranslateMenuItemClickedAEP = UIAEP<ACTION.CLICKED, ACTION_SUBJECT.TOOLBAR_DROPDOWN_MENU_ITEM, ACTION_SUBJECT_ID.AI_TRANSLATE, {
218
220
  inputMethod: INPUT_METHOD.TOOLBAR | INPUT_METHOD.FLOATING_TB;
219
221
  }>;
220
- export type GeneralEventPayload<T = void> = AnnotateButtonAEP | AnnotationAEP | AnnotationErrorAEP | BrowserFreezePayload | ButtonFeedbackAEP | ButtonHelpAEP | ButtonUploadMediaAEP | ColorPickerAEP | EditorPerfAEP | EditorRenderedAEP<T> | EditorStartAEP | EditorStopAEP | ExpandToggleAEP | FeedbackAEP | FullWidthModeAEP | HelpQuickInsertAEP | InputPerfSamplingAEP | InputPerfSamplingAvgAEP | PickerEmojiAEP | PickerImageAEP | PickerMediaInsertAEP | PickerMediaInsertClosedAEP | PickerMediaInsertCancelledAEP | ReactNodeViewRenderedAEP | RichMediaLayoutAEP | SelectionAEP | SlowInputAEP | TransactionMutatedAEP | UploadExternalFailedAEP | WithPluginStateCalledAEP | CodeBlockLanguageSelectedAEP | EditorContentRetrievalPerformedAEP | MediaLinkTransformedAEP | TextLinkCodeMarkTransformedAEP | DedupeMarksTransformedAEP | IndentationMarksTransformedAEP | NodesMissingContentTransformedAEP | InvalidProsemirrorDocumentErrorAEP | DocumentProcessingErrorAEP | InvalidMediaContentTransformedAEP | HeadingAnchorLinkButtonAEP | CollabStepsTrackerPayloadAEP | CollabOrganicChangesTrackerPayloadAEP | BlocksDragInitAEP | CodeBlockWordWrapToggleAEP | RequestToEditAEP | SingleColumLayoutDetectedAEP | CopyLinkToAnchorButtonAEP | DockedPrimaryToolbarRenderedAEP | RovoMoreOptionsClickedAEP | AskRovoButtonClickedAEP | ChangeToneMenuItemClickedAEP | TranslateMenuItemClickedAEP | MediaSingleWidthTransformedAEP;
222
+ export type GeneralEventPayload<T = void> = AnnotateButtonAEP | AnnotationAEP | AnnotationErrorAEP | BrowserFreezePayload | ButtonFeedbackAEP | ButtonHelpAEP | ButtonUploadMediaAEP | ColorPickerAEP | EditorPerfAEP | EditorRenderedAEP<T> | EditorStartAEP | EditorStopAEP | ExpandToggleAEP | FeedbackAEP | FullWidthModeAEP | HelpQuickInsertAEP | InputPerfSamplingAEP | InputPerfSamplingAvgAEP | PickerEmojiAEP | PickerImageAEP | PickerMediaInsertAEP | PickerMediaInsertClosedAEP | PickerMediaInsertCancelledAEP | ReactNodeViewRenderedAEP | RichMediaLayoutAEP | SelectionAEP | SlowInputAEP | TransactionMutatedAEP | UploadExternalFailedAEP | WithPluginStateCalledAEP | CodeBlockLanguageSelectedAEP | EditorContentRetrievalPerformedAEP | MediaLinkTransformedAEP | TextLinkCodeMarkTransformedAEP | DedupeMarksTransformedAEP | IndentationMarksTransformedAEP | NodesMissingContentTransformedAEP | InvalidProsemirrorDocumentErrorAEP | DocumentProcessingErrorAEP | InvalidMediaContentTransformedAEP | HeadingAnchorLinkButtonAEP | CollabStepsTrackerPayloadAEP | CollabOrganicChangesTrackerPayloadAEP | BlocksDragInitAEP | CodeBlockWordWrapToggleAEP | RequestToEditAEP | SingleColumLayoutDetectedAEP | CopyLinkToAnchorButtonAEP | DockedPrimaryToolbarRenderedAEP | RovoMoreOptionsClickedAEP | AskRovoButtonClickedAEP | SmartLinkRovoButtonClickedAEP | SmartLinkSummarizeButtonClickedAEP | ChangeToneMenuItemClickedAEP | TranslateMenuItemClickedAEP | MediaSingleWidthTransformedAEP;
221
223
  export {};
@@ -40,11 +40,11 @@ export declare class ExtensionNode<AdditionalParams = unknown> extends ReactNode
40
40
  */
41
41
  stopEvent(event: Event): boolean;
42
42
  getContentDOM(): {
43
- dom: HTMLDivElement;
44
43
  contentDOM: HTMLDivElement;
45
- } | {
46
44
  dom: HTMLDivElement;
45
+ } | {
47
46
  contentDOM?: undefined;
47
+ dom: HTMLDivElement;
48
48
  } | undefined;
49
49
  render(props: {
50
50
  extensionHandlers: ExtensionHandlers;
@@ -89,6 +89,11 @@ export declare const syncBlockMessages: {
89
89
  description: string;
90
90
  id: string;
91
91
  };
92
+ deletionConfirmationModalDescriptionNew: {
93
+ defaultMessage: string;
94
+ description: string;
95
+ id: string;
96
+ };
92
97
  deletionConfirmationModalDescriptionNoRef: {
93
98
  defaultMessage: string;
94
99
  description: string;
@@ -379,6 +384,11 @@ export declare const syncBlockMessages: {
379
384
  description: string;
380
385
  id: string;
381
386
  };
387
+ unsyncConfirmModalDescriptionMultipleNew: {
388
+ defaultMessage: string;
389
+ description: string;
390
+ id: string;
391
+ };
382
392
  unsyncConfirmModalDescriptionSingle: {
383
393
  defaultMessage: string;
384
394
  description: string;
@@ -17,6 +17,7 @@ export interface Props {
17
17
  handleMediaSingleRef?: React.RefObject<HTMLDivElement>;
18
18
  hasFallbackContainer?: boolean;
19
19
  height: number;
20
+ isInRenderer?: boolean;
20
21
  isInsideOfInlineExtension?: boolean;
21
22
  isLoading?: boolean;
22
23
  layout: MediaSingleLayout;
@@ -29,7 +30,6 @@ export interface Props {
29
30
  */
30
31
  pctWidth?: number;
31
32
  size?: MediaSingleSize;
32
- isInRenderer?: boolean;
33
33
  width?: number;
34
34
  }
35
35
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "112.16.1",
3
+ "version": "112.17.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/"
@@ -75,12 +75,12 @@
75
75
  "@atlaskit/prosemirror-history": "^0.2.0",
76
76
  "@atlaskit/react-ufo": "^5.10.0",
77
77
  "@atlaskit/section-message": "^8.12.0",
78
- "@atlaskit/smart-card": "^43.29.0",
78
+ "@atlaskit/smart-card": "^43.30.0",
79
79
  "@atlaskit/smart-user-picker": "^9.2.0",
80
80
  "@atlaskit/spinner": "^19.0.0",
81
81
  "@atlaskit/task-decision": "^19.3.0",
82
82
  "@atlaskit/textfield": "^8.2.0",
83
- "@atlaskit/tmp-editor-statsig": "^54.0.0",
83
+ "@atlaskit/tmp-editor-statsig": "^54.2.0",
84
84
  "@atlaskit/tokens": "^11.4.0",
85
85
  "@atlaskit/tooltip": "^21.1.0",
86
86
  "@atlaskit/width-detector": "^5.0.0",