@atlaskit/editor-common 115.4.0 → 115.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 115.5.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`75daf19dd12b0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/75daf19dd12b0) -
8
+ Add format code control for code blocks
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies
13
+
3
14
  ## 115.4.0
4
15
 
5
16
  ### Minor Changes
@@ -48,6 +48,31 @@ var codeBlockButtonMessages = exports.codeBlockButtonMessages = (0, _reactIntl.d
48
48
  defaultMessage: 'Hide line numbers',
49
49
  description: 'Tooltip for a code block toolbar button that hides line numbers. This is shown when line numbers are visible.'
50
50
  },
51
+ formatCode: {
52
+ id: 'fabric.editor.codeBlockFormatButton.formatCode',
53
+ defaultMessage: 'Format code',
54
+ description: 'Tooltip for a code block toolbar button that formats code block content.'
55
+ },
56
+ formatCodeUnavailable: {
57
+ id: 'fabric.editor.codeBlockFormatButton.formatCodeUnavailable',
58
+ defaultMessage: 'Formatting not available for this language',
59
+ description: 'Tooltip for a disabled code block toolbar button when formatting is not available for the selected language.'
60
+ },
61
+ formatCodeFailed: {
62
+ id: 'fabric.editor.codeBlockFormatButton.formatCodeFailed',
63
+ defaultMessage: 'Code formatting failed',
64
+ description: 'Title for an error flag shown when code formatting fails.'
65
+ },
66
+ formatCodeFailedDescription: {
67
+ id: 'fabric.editor.codeBlockFormatButton.formatCodeFailedDescription',
68
+ defaultMessage: 'Review the content or change the selected language.',
69
+ description: 'Description for an error flag shown when code formatting fails for a selected language.'
70
+ },
71
+ formatCodeFailedAutoDetectedDescription: {
72
+ id: 'fabric.editor.codeBlockFormatButton.formatCodeFailedAutoDetectedDescription',
73
+ defaultMessage: 'Review the content or select a specific language.',
74
+ description: 'Description for an error flag shown when code formatting fails for an automatically detected language.'
75
+ },
51
76
  selectLanguage: {
52
77
  id: 'fabric.editor.selectLanguage',
53
78
  defaultMessage: 'Select language',
@@ -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 _t2 in e) "default" !== _t2 && {}.hasOwnProperty.call(e, _t2) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t2)) && (i.get || i.set) ? o(f, _t2, i) : f[_t2] = e[_t2]); 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 = "115.3.0";
22
+ var packageVersion = "115.4.0";
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 = "115.3.0";
27
+ var packageVersion = "115.4.0";
28
28
  var halfFocusRing = 1;
29
29
  var dropOffset = '0, 8';
30
30
  var fadeIn = (0, _react2.keyframes)({
@@ -42,6 +42,31 @@ export const codeBlockButtonMessages = defineMessages({
42
42
  defaultMessage: 'Hide line numbers',
43
43
  description: 'Tooltip for a code block toolbar button that hides line numbers. This is shown when line numbers are visible.'
44
44
  },
45
+ formatCode: {
46
+ id: 'fabric.editor.codeBlockFormatButton.formatCode',
47
+ defaultMessage: 'Format code',
48
+ description: 'Tooltip for a code block toolbar button that formats code block content.'
49
+ },
50
+ formatCodeUnavailable: {
51
+ id: 'fabric.editor.codeBlockFormatButton.formatCodeUnavailable',
52
+ defaultMessage: 'Formatting not available for this language',
53
+ description: 'Tooltip for a disabled code block toolbar button when formatting is not available for the selected language.'
54
+ },
55
+ formatCodeFailed: {
56
+ id: 'fabric.editor.codeBlockFormatButton.formatCodeFailed',
57
+ defaultMessage: 'Code formatting failed',
58
+ description: 'Title for an error flag shown when code formatting fails.'
59
+ },
60
+ formatCodeFailedDescription: {
61
+ id: 'fabric.editor.codeBlockFormatButton.formatCodeFailedDescription',
62
+ defaultMessage: 'Review the content or change the selected language.',
63
+ description: 'Description for an error flag shown when code formatting fails for a selected language.'
64
+ },
65
+ formatCodeFailedAutoDetectedDescription: {
66
+ id: 'fabric.editor.codeBlockFormatButton.formatCodeFailedAutoDetectedDescription',
67
+ defaultMessage: 'Review the content or select a specific language.',
68
+ description: 'Description for an error flag shown when code formatting fails for an automatically detected language.'
69
+ },
45
70
  selectLanguage: {
46
71
  id: 'fabric.editor.selectLanguage',
47
72
  defaultMessage: 'Select language',
@@ -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 = "115.3.0";
7
+ const packageVersion = "115.4.0";
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 = "115.3.0";
17
+ const packageVersion = "115.4.0";
18
18
  const halfFocusRing = 1;
19
19
  const dropOffset = '0, 8';
20
20
  const fadeIn = keyframes({
@@ -42,6 +42,31 @@ export var codeBlockButtonMessages = defineMessages({
42
42
  defaultMessage: 'Hide line numbers',
43
43
  description: 'Tooltip for a code block toolbar button that hides line numbers. This is shown when line numbers are visible.'
44
44
  },
45
+ formatCode: {
46
+ id: 'fabric.editor.codeBlockFormatButton.formatCode',
47
+ defaultMessage: 'Format code',
48
+ description: 'Tooltip for a code block toolbar button that formats code block content.'
49
+ },
50
+ formatCodeUnavailable: {
51
+ id: 'fabric.editor.codeBlockFormatButton.formatCodeUnavailable',
52
+ defaultMessage: 'Formatting not available for this language',
53
+ description: 'Tooltip for a disabled code block toolbar button when formatting is not available for the selected language.'
54
+ },
55
+ formatCodeFailed: {
56
+ id: 'fabric.editor.codeBlockFormatButton.formatCodeFailed',
57
+ defaultMessage: 'Code formatting failed',
58
+ description: 'Title for an error flag shown when code formatting fails.'
59
+ },
60
+ formatCodeFailedDescription: {
61
+ id: 'fabric.editor.codeBlockFormatButton.formatCodeFailedDescription',
62
+ defaultMessage: 'Review the content or change the selected language.',
63
+ description: 'Description for an error flag shown when code formatting fails for a selected language.'
64
+ },
65
+ formatCodeFailedAutoDetectedDescription: {
66
+ id: 'fabric.editor.codeBlockFormatButton.formatCodeFailedAutoDetectedDescription',
67
+ defaultMessage: 'Review the content or select a specific language.',
68
+ description: 'Description for an error flag shown when code formatting fails for an automatically detected language.'
69
+ },
45
70
  selectLanguage: {
46
71
  id: 'fabric.editor.selectLanguage',
47
72
  defaultMessage: 'Select language',
@@ -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 = "115.3.0";
13
+ var packageVersion = "115.4.0";
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 = "115.3.0";
24
+ var packageVersion = "115.4.0";
25
25
  var halfFocusRing = 1;
26
26
  var dropOffset = '0, 8';
27
27
  var fadeIn = keyframes({
@@ -167,6 +167,16 @@ type CodeBlockLanguageAutoDetectedAEP = TrackAEP<ACTION.LANGUAGE_AUTO_DETECTED,
167
167
  detectionResult: 'detected' | 'noneDetected';
168
168
  language: string;
169
169
  }, undefined>;
170
+ type CodeBlockFormatCodeSuccessAEP = TrackAEP<ACTION.FORMATTED, ACTION_SUBJECT.CODE_BLOCK, undefined, {
171
+ language: string;
172
+ languageSource: 'auto-detected' | 'selected';
173
+ outcome: 'formatted' | 'unchanged';
174
+ }, undefined>;
175
+ type CodeBlockFormatCodeFailedAEP = TrackAEP<ACTION.ERRORED, ACTION_SUBJECT.CODE_BLOCK, undefined, {
176
+ errorType: 'formatter-execution-failed' | 'formatter-load-failed';
177
+ language: string;
178
+ languageSource: 'auto-detected' | 'selected';
179
+ }, undefined>;
170
180
  type MediaLinkTransformedAEP = OperationalAEP<ACTION.MEDIA_LINK_TRANSFORMED, ACTION_SUBJECT.EDITOR, undefined, undefined>;
171
181
  type MediaSingleWidthTransformedAEP = OperationalAEP<ACTION.MEDIA_SINGLE_WIDTH_TRANSFORMED, ACTION_SUBJECT.EDITOR, undefined, undefined>;
172
182
  type TextLinkCodeMarkTransformedAEP = OperationalAEP<ACTION.TEXT_LINK_MARK_TRANSFORMED, ACTION_SUBJECT.EDITOR, undefined, undefined>;
@@ -241,5 +251,5 @@ type ChangeToneMenuItemClickedAEP = UIAEP<ACTION.CLICKED, ACTION_SUBJECT.TOOLBAR
241
251
  type TranslateMenuItemClickedAEP = UIAEP<ACTION.CLICKED, ACTION_SUBJECT.TOOLBAR_DROPDOWN_MENU_ITEM, ACTION_SUBJECT_ID.AI_TRANSLATE, {
242
252
  inputMethod: INPUT_METHOD.TOOLBAR | INPUT_METHOD.FLOATING_TB;
243
253
  }>;
244
- 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 | CodeBlockLanguageAutoDetectedAEP | CodeBlockLanguageSelectedAEP | EditorContentRetrievalPerformedAEP | MediaLinkTransformedAEP | TextLinkCodeMarkTransformedAEP | DedupeMarksTransformedAEP | IndentationMarksTransformedAEP | NodesMissingContentTransformedAEP | InvalidProsemirrorDocumentErrorAEP | DocumentProcessingErrorAEP | InvalidMediaContentTransformedAEP | HeadingAnchorLinkButtonAEP | CollabStepsTrackerPayloadAEP | CollabOrganicChangesTrackerPayloadAEP | BlocksDragInitAEP | CodeBlockWordWrapToggleAEP | CodeBlockLineNumbersToggleAEP | RequestToEditAEP | SingleColumLayoutDetectedAEP | CopyLinkToAnchorButtonAEP | DockedPrimaryToolbarRenderedAEP | RovoMoreOptionsClickedAEP | AskRovoButtonClickedAEP | SmartLinkRovoButtonClickedAEP | SmartLinkSummarizeButtonClickedAEP | AIRemixButtonClickedAEP | ChangeToneMenuItemClickedAEP | TranslateMenuItemClickedAEP | MediaSingleWidthTransformedAEP;
254
+ 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 | CodeBlockLanguageAutoDetectedAEP | CodeBlockLanguageSelectedAEP | CodeBlockFormatCodeSuccessAEP | CodeBlockFormatCodeFailedAEP | EditorContentRetrievalPerformedAEP | MediaLinkTransformedAEP | TextLinkCodeMarkTransformedAEP | DedupeMarksTransformedAEP | IndentationMarksTransformedAEP | NodesMissingContentTransformedAEP | InvalidProsemirrorDocumentErrorAEP | DocumentProcessingErrorAEP | InvalidMediaContentTransformedAEP | HeadingAnchorLinkButtonAEP | CollabStepsTrackerPayloadAEP | CollabOrganicChangesTrackerPayloadAEP | BlocksDragInitAEP | CodeBlockWordWrapToggleAEP | CodeBlockLineNumbersToggleAEP | RequestToEditAEP | SingleColumLayoutDetectedAEP | CopyLinkToAnchorButtonAEP | DockedPrimaryToolbarRenderedAEP | RovoMoreOptionsClickedAEP | AskRovoButtonClickedAEP | SmartLinkRovoButtonClickedAEP | SmartLinkSummarizeButtonClickedAEP | AIRemixButtonClickedAEP | ChangeToneMenuItemClickedAEP | TranslateMenuItemClickedAEP | MediaSingleWidthTransformedAEP;
245
255
  export {};
@@ -24,6 +24,31 @@ export declare const codeBlockButtonMessages: {
24
24
  description: string;
25
25
  id: string;
26
26
  };
27
+ formatCode: {
28
+ defaultMessage: string;
29
+ description: string;
30
+ id: string;
31
+ };
32
+ formatCodeFailed: {
33
+ defaultMessage: string;
34
+ description: string;
35
+ id: string;
36
+ };
37
+ formatCodeFailedAutoDetectedDescription: {
38
+ defaultMessage: string;
39
+ description: string;
40
+ id: string;
41
+ };
42
+ formatCodeFailedDescription: {
43
+ defaultMessage: string;
44
+ description: string;
45
+ id: string;
46
+ };
47
+ formatCodeUnavailable: {
48
+ defaultMessage: string;
49
+ description: string;
50
+ id: string;
51
+ };
27
52
  hideLineNumbersLabel: {
28
53
  defaultMessage: string;
29
54
  description: string;
@@ -167,6 +167,16 @@ type CodeBlockLanguageAutoDetectedAEP = TrackAEP<ACTION.LANGUAGE_AUTO_DETECTED,
167
167
  detectionResult: 'detected' | 'noneDetected';
168
168
  language: string;
169
169
  }, undefined>;
170
+ type CodeBlockFormatCodeSuccessAEP = TrackAEP<ACTION.FORMATTED, ACTION_SUBJECT.CODE_BLOCK, undefined, {
171
+ language: string;
172
+ languageSource: 'auto-detected' | 'selected';
173
+ outcome: 'formatted' | 'unchanged';
174
+ }, undefined>;
175
+ type CodeBlockFormatCodeFailedAEP = TrackAEP<ACTION.ERRORED, ACTION_SUBJECT.CODE_BLOCK, undefined, {
176
+ errorType: 'formatter-execution-failed' | 'formatter-load-failed';
177
+ language: string;
178
+ languageSource: 'auto-detected' | 'selected';
179
+ }, undefined>;
170
180
  type MediaLinkTransformedAEP = OperationalAEP<ACTION.MEDIA_LINK_TRANSFORMED, ACTION_SUBJECT.EDITOR, undefined, undefined>;
171
181
  type MediaSingleWidthTransformedAEP = OperationalAEP<ACTION.MEDIA_SINGLE_WIDTH_TRANSFORMED, ACTION_SUBJECT.EDITOR, undefined, undefined>;
172
182
  type TextLinkCodeMarkTransformedAEP = OperationalAEP<ACTION.TEXT_LINK_MARK_TRANSFORMED, ACTION_SUBJECT.EDITOR, undefined, undefined>;
@@ -241,5 +251,5 @@ type ChangeToneMenuItemClickedAEP = UIAEP<ACTION.CLICKED, ACTION_SUBJECT.TOOLBAR
241
251
  type TranslateMenuItemClickedAEP = UIAEP<ACTION.CLICKED, ACTION_SUBJECT.TOOLBAR_DROPDOWN_MENU_ITEM, ACTION_SUBJECT_ID.AI_TRANSLATE, {
242
252
  inputMethod: INPUT_METHOD.TOOLBAR | INPUT_METHOD.FLOATING_TB;
243
253
  }>;
244
- 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 | CodeBlockLanguageAutoDetectedAEP | CodeBlockLanguageSelectedAEP | EditorContentRetrievalPerformedAEP | MediaLinkTransformedAEP | TextLinkCodeMarkTransformedAEP | DedupeMarksTransformedAEP | IndentationMarksTransformedAEP | NodesMissingContentTransformedAEP | InvalidProsemirrorDocumentErrorAEP | DocumentProcessingErrorAEP | InvalidMediaContentTransformedAEP | HeadingAnchorLinkButtonAEP | CollabStepsTrackerPayloadAEP | CollabOrganicChangesTrackerPayloadAEP | BlocksDragInitAEP | CodeBlockWordWrapToggleAEP | CodeBlockLineNumbersToggleAEP | RequestToEditAEP | SingleColumLayoutDetectedAEP | CopyLinkToAnchorButtonAEP | DockedPrimaryToolbarRenderedAEP | RovoMoreOptionsClickedAEP | AskRovoButtonClickedAEP | SmartLinkRovoButtonClickedAEP | SmartLinkSummarizeButtonClickedAEP | AIRemixButtonClickedAEP | ChangeToneMenuItemClickedAEP | TranslateMenuItemClickedAEP | MediaSingleWidthTransformedAEP;
254
+ 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 | CodeBlockLanguageAutoDetectedAEP | CodeBlockLanguageSelectedAEP | CodeBlockFormatCodeSuccessAEP | CodeBlockFormatCodeFailedAEP | EditorContentRetrievalPerformedAEP | MediaLinkTransformedAEP | TextLinkCodeMarkTransformedAEP | DedupeMarksTransformedAEP | IndentationMarksTransformedAEP | NodesMissingContentTransformedAEP | InvalidProsemirrorDocumentErrorAEP | DocumentProcessingErrorAEP | InvalidMediaContentTransformedAEP | HeadingAnchorLinkButtonAEP | CollabStepsTrackerPayloadAEP | CollabOrganicChangesTrackerPayloadAEP | BlocksDragInitAEP | CodeBlockWordWrapToggleAEP | CodeBlockLineNumbersToggleAEP | RequestToEditAEP | SingleColumLayoutDetectedAEP | CopyLinkToAnchorButtonAEP | DockedPrimaryToolbarRenderedAEP | RovoMoreOptionsClickedAEP | AskRovoButtonClickedAEP | SmartLinkRovoButtonClickedAEP | SmartLinkSummarizeButtonClickedAEP | AIRemixButtonClickedAEP | ChangeToneMenuItemClickedAEP | TranslateMenuItemClickedAEP | MediaSingleWidthTransformedAEP;
245
255
  export {};
@@ -24,6 +24,31 @@ export declare const codeBlockButtonMessages: {
24
24
  description: string;
25
25
  id: string;
26
26
  };
27
+ formatCode: {
28
+ defaultMessage: string;
29
+ description: string;
30
+ id: string;
31
+ };
32
+ formatCodeFailed: {
33
+ defaultMessage: string;
34
+ description: string;
35
+ id: string;
36
+ };
37
+ formatCodeFailedAutoDetectedDescription: {
38
+ defaultMessage: string;
39
+ description: string;
40
+ id: string;
41
+ };
42
+ formatCodeFailedDescription: {
43
+ defaultMessage: string;
44
+ description: string;
45
+ id: string;
46
+ };
47
+ formatCodeUnavailable: {
48
+ defaultMessage: string;
49
+ description: string;
50
+ id: string;
51
+ };
27
52
  hideLineNumbersLabel: {
28
53
  defaultMessage: string;
29
54
  description: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "115.4.0",
3
+ "version": "115.5.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/"