@atlaskit/editor-common 110.46.1 → 110.46.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 +16 -0
- package/dist/cjs/analytics/types/enums.js +1 -0
- package/dist/cjs/messages/find-replace.js +5 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/quick-insert/messages.js +10 -0
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/ui/HoverLinkOverlay/index.js +2 -2
- package/dist/es2019/analytics/types/enums.js +1 -0
- package/dist/es2019/messages/find-replace.js +5 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/quick-insert/messages.js +10 -0
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/ui/HoverLinkOverlay/index.js +2 -2
- package/dist/esm/analytics/types/enums.js +1 -0
- package/dist/esm/messages/find-replace.js +5 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/quick-insert/messages.js +10 -0
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/ui/HoverLinkOverlay/index.js +2 -2
- package/dist/types/analytics/types/enums.d.ts +1 -0
- package/dist/types/analytics/types/general-events.d.ts +4 -1
- package/dist/types/messages/find-replace.d.ts +5 -0
- package/dist/types/quick-insert/messages.d.ts +10 -0
- package/dist/types-ts4.5/analytics/types/enums.d.ts +1 -0
- package/dist/types-ts4.5/analytics/types/general-events.d.ts +4 -1
- package/dist/types-ts4.5/messages/find-replace.d.ts +5 -0
- package/dist/types-ts4.5/quick-insert/messages.d.ts +10 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 110.46.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`53aef9589ca55`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/53aef9589ca55) -
|
|
8
|
+
[EDITOR-3786] Make sure that for any check of `cc_editor_ai_content_mode` &&
|
|
9
|
+
`platform_editor_content_mode_button_mvp` in the code we are also checking
|
|
10
|
+
`confluence_compact_text_format`
|
|
11
|
+
- [`06de6cb74b477`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/06de6cb74b477) -
|
|
12
|
+
[ux] [ENGHEALTH-47507] internationalise strings behind feature gate platform_editor_dec_a11y_fixes
|
|
13
|
+
- [`c32dc3155a31a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c32dc3155a31a) -
|
|
14
|
+
Added an organic changes monitor which will reported anayltics when an organic change occurs. The
|
|
15
|
+
new analytic will contain extra information regarding only the transaction which caused the
|
|
16
|
+
organic change.
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
3
19
|
## 110.46.1
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -166,6 +166,7 @@ var ACTION = exports.ACTION = /*#__PURE__*/function (ACTION) {
|
|
|
166
166
|
ACTION["SORT_COLUMN_NOT_ALLOWED"] = "sortColumnNotAllowed";
|
|
167
167
|
ACTION["NCS_SESSION_STEP_METRICS"] = "ncsSessionStepMetrics";
|
|
168
168
|
ACTION["STEPS_TRACKED"] = "stepsTracked";
|
|
169
|
+
ACTION["ORGANIC_CHANGES_TRACKED"] = "organicChangesTracked";
|
|
169
170
|
ACTION["STEPS_FILTERED"] = "stepsFiltered";
|
|
170
171
|
ACTION["CREATE_NOT_ALLOWED"] = "createNotAllowed";
|
|
171
172
|
ACTION["UNSUPPORTED_CONTENT_LEVELS_TRACKING_SUCCEEDED"] = "unsupportedContentLevelsTrackingSucceeded";
|
|
@@ -26,6 +26,11 @@ var findReplaceMessages = exports.findReplaceMessages = (0, _reactIntlNext.defin
|
|
|
26
26
|
defaultMessage: 'Find previous',
|
|
27
27
|
description: 'Locate the previous occurrence of the word or phrase that was searched for'
|
|
28
28
|
},
|
|
29
|
+
findReplaceDialogAriaLabel: {
|
|
30
|
+
id: 'fabric.editor.findReplaceDialogAriaLabel',
|
|
31
|
+
defaultMessage: 'Find and Replace',
|
|
32
|
+
description: 'Aria label for the "Find and Replace" dialog'
|
|
33
|
+
},
|
|
29
34
|
closeFindReplaceDialog: {
|
|
30
35
|
id: 'fabric.editor.closeFindReplaceDialog',
|
|
31
36
|
defaultMessage: 'Close',
|
|
@@ -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 = "110.46.
|
|
22
|
+
var packageVersion = "110.46.1";
|
|
23
23
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
24
24
|
// Remove URL as it has UGC
|
|
25
25
|
// Ignored via go/ees007
|
|
@@ -11,6 +11,16 @@ var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
|
|
|
11
11
|
defaultMessage: 'Help',
|
|
12
12
|
description: 'Element browser help button label'
|
|
13
13
|
},
|
|
14
|
+
insert: {
|
|
15
|
+
id: 'fabric.editor.elementbrowser.modal.insert',
|
|
16
|
+
defaultMessage: 'Insert',
|
|
17
|
+
description: 'Element browser insert button label'
|
|
18
|
+
},
|
|
19
|
+
close: {
|
|
20
|
+
id: 'fabric.editor.elementbrowser.modal.close',
|
|
21
|
+
defaultMessage: 'Close',
|
|
22
|
+
description: 'Element browser close button label'
|
|
23
|
+
},
|
|
14
24
|
all: {
|
|
15
25
|
id: 'fabric.editor.elementbrowser.categorylist.category-all',
|
|
16
26
|
defaultMessage: 'All',
|
|
@@ -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 = "110.46.
|
|
27
|
+
var packageVersion = "110.46.1";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var fadeIn = (0, _react2.keyframes)({
|
|
@@ -273,7 +273,7 @@ var HoverLinkOverlayOriginal = function HoverLinkOverlayOriginal(_ref) {
|
|
|
273
273
|
href: url,
|
|
274
274
|
target: "_blank",
|
|
275
275
|
style: {
|
|
276
|
-
paddingBlock: compactPadding ? '1px' : (0, _expValEquals.expValEquals)('cc_editor_ai_content_mode', 'variant', 'test') && (0, _platformFeatureFlags.fg)('platform_editor_content_mode_button_mvp') ? DYNAMIC_PADDING_BLOCK : "var(--ds-space-025, 2px)"
|
|
276
|
+
paddingBlock: compactPadding ? '1px' : (0, _expValEquals.expValEquals)('confluence_compact_text_format', 'isEnabled', true) || (0, _expValEquals.expValEquals)('cc_editor_ai_content_mode', 'variant', 'test') && (0, _platformFeatureFlags.fg)('platform_editor_content_mode_button_mvp') ? DYNAMIC_PADDING_BLOCK : "var(--ds-space-025, 2px)"
|
|
277
277
|
},
|
|
278
278
|
onClick: handleClick,
|
|
279
279
|
testId: "inline-card-hoverlink-overlay"
|
|
@@ -412,7 +412,7 @@ var HoverLinkOverlayNew = function HoverLinkOverlayNew(_ref2) {
|
|
|
412
412
|
href: url,
|
|
413
413
|
target: "_blank",
|
|
414
414
|
style: {
|
|
415
|
-
paddingBlock: compactPadding ? '1px' : (0, _expValEquals.expValEquals)('cc_editor_ai_content_mode', 'variant', 'test') && (0, _platformFeatureFlags.fg)('platform_editor_content_mode_button_mvp') ? DYNAMIC_PADDING_BLOCK : "var(--ds-space-025, 2px)"
|
|
415
|
+
paddingBlock: compactPadding ? '1px' : (0, _expValEquals.expValEquals)('confluence_compact_text_format', 'isEnabled', true) || (0, _expValEquals.expValEquals)('cc_editor_ai_content_mode', 'variant', 'test') && (0, _platformFeatureFlags.fg)('platform_editor_content_mode_button_mvp') ? DYNAMIC_PADDING_BLOCK : "var(--ds-space-025, 2px)"
|
|
416
416
|
},
|
|
417
417
|
onClick: handleClick,
|
|
418
418
|
testId: "inline-card-hoverlink-overlay"
|
|
@@ -160,6 +160,7 @@ export let ACTION = /*#__PURE__*/function (ACTION) {
|
|
|
160
160
|
ACTION["SORT_COLUMN_NOT_ALLOWED"] = "sortColumnNotAllowed";
|
|
161
161
|
ACTION["NCS_SESSION_STEP_METRICS"] = "ncsSessionStepMetrics";
|
|
162
162
|
ACTION["STEPS_TRACKED"] = "stepsTracked";
|
|
163
|
+
ACTION["ORGANIC_CHANGES_TRACKED"] = "organicChangesTracked";
|
|
163
164
|
ACTION["STEPS_FILTERED"] = "stepsFiltered";
|
|
164
165
|
ACTION["CREATE_NOT_ALLOWED"] = "createNotAllowed";
|
|
165
166
|
ACTION["UNSUPPORTED_CONTENT_LEVELS_TRACKING_SUCCEEDED"] = "unsupportedContentLevelsTrackingSucceeded";
|
|
@@ -20,6 +20,11 @@ export const findReplaceMessages = defineMessages({
|
|
|
20
20
|
defaultMessage: 'Find previous',
|
|
21
21
|
description: 'Locate the previous occurrence of the word or phrase that was searched for'
|
|
22
22
|
},
|
|
23
|
+
findReplaceDialogAriaLabel: {
|
|
24
|
+
id: 'fabric.editor.findReplaceDialogAriaLabel',
|
|
25
|
+
defaultMessage: 'Find and Replace',
|
|
26
|
+
description: 'Aria label for the "Find and Replace" dialog'
|
|
27
|
+
},
|
|
23
28
|
closeFindReplaceDialog: {
|
|
24
29
|
id: 'fabric.editor.closeFindReplaceDialog',
|
|
25
30
|
defaultMessage: 'Close',
|
|
@@ -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 = "110.46.
|
|
7
|
+
const packageVersion = "110.46.1";
|
|
8
8
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
9
9
|
// Remove URL as it has UGC
|
|
10
10
|
// Ignored via go/ees007
|
|
@@ -5,6 +5,16 @@ export const messages = defineMessages({
|
|
|
5
5
|
defaultMessage: 'Help',
|
|
6
6
|
description: 'Element browser help button label'
|
|
7
7
|
},
|
|
8
|
+
insert: {
|
|
9
|
+
id: 'fabric.editor.elementbrowser.modal.insert',
|
|
10
|
+
defaultMessage: 'Insert',
|
|
11
|
+
description: 'Element browser insert button label'
|
|
12
|
+
},
|
|
13
|
+
close: {
|
|
14
|
+
id: 'fabric.editor.elementbrowser.modal.close',
|
|
15
|
+
defaultMessage: 'Close',
|
|
16
|
+
description: 'Element browser close button label'
|
|
17
|
+
},
|
|
8
18
|
all: {
|
|
9
19
|
id: 'fabric.editor.elementbrowser.categorylist.category-all',
|
|
10
20
|
defaultMessage: 'All',
|
|
@@ -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 = "110.46.
|
|
17
|
+
const packageVersion = "110.46.1";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -249,7 +249,7 @@ const HoverLinkOverlayOriginal = ({
|
|
|
249
249
|
href: url,
|
|
250
250
|
target: "_blank",
|
|
251
251
|
style: {
|
|
252
|
-
paddingBlock: compactPadding ? '1px' : expValEquals('cc_editor_ai_content_mode', 'variant', 'test') && fg('platform_editor_content_mode_button_mvp') ? DYNAMIC_PADDING_BLOCK : "var(--ds-space-025, 2px)"
|
|
252
|
+
paddingBlock: compactPadding ? '1px' : expValEquals('confluence_compact_text_format', 'isEnabled', true) || expValEquals('cc_editor_ai_content_mode', 'variant', 'test') && fg('platform_editor_content_mode_button_mvp') ? DYNAMIC_PADDING_BLOCK : "var(--ds-space-025, 2px)"
|
|
253
253
|
},
|
|
254
254
|
onClick: handleClick,
|
|
255
255
|
testId: "inline-card-hoverlink-overlay"
|
|
@@ -374,7 +374,7 @@ const HoverLinkOverlayNew = ({
|
|
|
374
374
|
href: url,
|
|
375
375
|
target: "_blank",
|
|
376
376
|
style: {
|
|
377
|
-
paddingBlock: compactPadding ? '1px' : expValEquals('cc_editor_ai_content_mode', 'variant', 'test') && fg('platform_editor_content_mode_button_mvp') ? DYNAMIC_PADDING_BLOCK : "var(--ds-space-025, 2px)"
|
|
377
|
+
paddingBlock: compactPadding ? '1px' : expValEquals('confluence_compact_text_format', 'isEnabled', true) || expValEquals('cc_editor_ai_content_mode', 'variant', 'test') && fg('platform_editor_content_mode_button_mvp') ? DYNAMIC_PADDING_BLOCK : "var(--ds-space-025, 2px)"
|
|
378
378
|
},
|
|
379
379
|
onClick: handleClick,
|
|
380
380
|
testId: "inline-card-hoverlink-overlay"
|
|
@@ -160,6 +160,7 @@ export var ACTION = /*#__PURE__*/function (ACTION) {
|
|
|
160
160
|
ACTION["SORT_COLUMN_NOT_ALLOWED"] = "sortColumnNotAllowed";
|
|
161
161
|
ACTION["NCS_SESSION_STEP_METRICS"] = "ncsSessionStepMetrics";
|
|
162
162
|
ACTION["STEPS_TRACKED"] = "stepsTracked";
|
|
163
|
+
ACTION["ORGANIC_CHANGES_TRACKED"] = "organicChangesTracked";
|
|
163
164
|
ACTION["STEPS_FILTERED"] = "stepsFiltered";
|
|
164
165
|
ACTION["CREATE_NOT_ALLOWED"] = "createNotAllowed";
|
|
165
166
|
ACTION["UNSUPPORTED_CONTENT_LEVELS_TRACKING_SUCCEEDED"] = "unsupportedContentLevelsTrackingSucceeded";
|
|
@@ -20,6 +20,11 @@ export var findReplaceMessages = defineMessages({
|
|
|
20
20
|
defaultMessage: 'Find previous',
|
|
21
21
|
description: 'Locate the previous occurrence of the word or phrase that was searched for'
|
|
22
22
|
},
|
|
23
|
+
findReplaceDialogAriaLabel: {
|
|
24
|
+
id: 'fabric.editor.findReplaceDialogAriaLabel',
|
|
25
|
+
defaultMessage: 'Find and Replace',
|
|
26
|
+
description: 'Aria label for the "Find and Replace" dialog'
|
|
27
|
+
},
|
|
23
28
|
closeFindReplaceDialog: {
|
|
24
29
|
id: 'fabric.editor.closeFindReplaceDialog',
|
|
25
30
|
defaultMessage: 'Close',
|
|
@@ -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 = "110.46.
|
|
13
|
+
var packageVersion = "110.46.1";
|
|
14
14
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
15
15
|
// Remove URL as it has UGC
|
|
16
16
|
// Ignored via go/ees007
|
|
@@ -5,6 +5,16 @@ export var messages = defineMessages({
|
|
|
5
5
|
defaultMessage: 'Help',
|
|
6
6
|
description: 'Element browser help button label'
|
|
7
7
|
},
|
|
8
|
+
insert: {
|
|
9
|
+
id: 'fabric.editor.elementbrowser.modal.insert',
|
|
10
|
+
defaultMessage: 'Insert',
|
|
11
|
+
description: 'Element browser insert button label'
|
|
12
|
+
},
|
|
13
|
+
close: {
|
|
14
|
+
id: 'fabric.editor.elementbrowser.modal.close',
|
|
15
|
+
defaultMessage: 'Close',
|
|
16
|
+
description: 'Element browser close button label'
|
|
17
|
+
},
|
|
8
18
|
all: {
|
|
9
19
|
id: 'fabric.editor.elementbrowser.categorylist.category-all',
|
|
10
20
|
defaultMessage: 'All',
|
|
@@ -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 = "110.46.
|
|
24
|
+
var packageVersion = "110.46.1";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -259,7 +259,7 @@ var HoverLinkOverlayOriginal = function HoverLinkOverlayOriginal(_ref) {
|
|
|
259
259
|
href: url,
|
|
260
260
|
target: "_blank",
|
|
261
261
|
style: {
|
|
262
|
-
paddingBlock: compactPadding ? '1px' : expValEquals('cc_editor_ai_content_mode', 'variant', 'test') && fg('platform_editor_content_mode_button_mvp') ? DYNAMIC_PADDING_BLOCK : "var(--ds-space-025, 2px)"
|
|
262
|
+
paddingBlock: compactPadding ? '1px' : expValEquals('confluence_compact_text_format', 'isEnabled', true) || expValEquals('cc_editor_ai_content_mode', 'variant', 'test') && fg('platform_editor_content_mode_button_mvp') ? DYNAMIC_PADDING_BLOCK : "var(--ds-space-025, 2px)"
|
|
263
263
|
},
|
|
264
264
|
onClick: handleClick,
|
|
265
265
|
testId: "inline-card-hoverlink-overlay"
|
|
@@ -398,7 +398,7 @@ var HoverLinkOverlayNew = function HoverLinkOverlayNew(_ref2) {
|
|
|
398
398
|
href: url,
|
|
399
399
|
target: "_blank",
|
|
400
400
|
style: {
|
|
401
|
-
paddingBlock: compactPadding ? '1px' : expValEquals('cc_editor_ai_content_mode', 'variant', 'test') && fg('platform_editor_content_mode_button_mvp') ? DYNAMIC_PADDING_BLOCK : "var(--ds-space-025, 2px)"
|
|
401
|
+
paddingBlock: compactPadding ? '1px' : expValEquals('confluence_compact_text_format', 'isEnabled', true) || expValEquals('cc_editor_ai_content_mode', 'variant', 'test') && fg('platform_editor_content_mode_button_mvp') ? DYNAMIC_PADDING_BLOCK : "var(--ds-space-025, 2px)"
|
|
402
402
|
},
|
|
403
403
|
onClick: handleClick,
|
|
404
404
|
testId: "inline-card-hoverlink-overlay"
|
|
@@ -159,6 +159,7 @@ export declare enum ACTION {
|
|
|
159
159
|
SORT_COLUMN_NOT_ALLOWED = "sortColumnNotAllowed",
|
|
160
160
|
NCS_SESSION_STEP_METRICS = "ncsSessionStepMetrics",
|
|
161
161
|
STEPS_TRACKED = "stepsTracked",
|
|
162
|
+
ORGANIC_CHANGES_TRACKED = "organicChangesTracked",
|
|
162
163
|
STEPS_FILTERED = "stepsFiltered",
|
|
163
164
|
CREATE_NOT_ALLOWED = "createNotAllowed",
|
|
164
165
|
UNSUPPORTED_CONTENT_LEVELS_TRACKING_SUCCEEDED = "unsupportedContentLevelsTrackingSucceeded",
|
|
@@ -179,6 +179,9 @@ type InvalidMediaContentTransformedAEP = OperationalAEP<ACTION.INVALID_MEDIA_CON
|
|
|
179
179
|
type CollabStepsTrackerPayloadAEP = OperationalAEP<ACTION.STEPS_TRACKED | ACTION.STEPS_FILTERED, ACTION_SUBJECT.COLLAB, undefined, {
|
|
180
180
|
steps: unknown[];
|
|
181
181
|
}>;
|
|
182
|
+
type CollabOrganicChangesTrackerPayloadAEP = OperationalAEP<ACTION.ORGANIC_CHANGES_TRACKED, ACTION_SUBJECT.COLLAB, undefined, {
|
|
183
|
+
organicChanges: unknown[];
|
|
184
|
+
}>;
|
|
182
185
|
type BlocksDragInitAEP = OperationalAEP<ACTION.BLOCKS_DRAG_INIT, ACTION_SUBJECT.EDITOR, undefined, {
|
|
183
186
|
duration: number;
|
|
184
187
|
nodesCount: number | undefined;
|
|
@@ -214,5 +217,5 @@ type ChangeToneMenuItemClickedAEP = UIAEP<ACTION.CLICKED, ACTION_SUBJECT.TOOLBAR
|
|
|
214
217
|
type TranslateMenuItemClickedAEP = UIAEP<ACTION.CLICKED, ACTION_SUBJECT.TOOLBAR_DROPDOWN_MENU_ITEM, ACTION_SUBJECT_ID.AI_TRANSLATE, {
|
|
215
218
|
inputMethod: INPUT_METHOD.TOOLBAR | INPUT_METHOD.FLOATING_TB;
|
|
216
219
|
}>;
|
|
217
|
-
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 | BlocksDragInitAEP | CodeBlockWordWrapToggleAEP | RequestToEditAEP | SingleColumLayoutDetectedAEP | CopyLinkToAnchorButtonAEP | DockedPrimaryToolbarRenderedAEP | RovoMoreOptionsClickedAEP | AskRovoButtonClickedAEP | ChangeToneMenuItemClickedAEP | TranslateMenuItemClickedAEP | MediaSingleWidthTransformedAEP;
|
|
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;
|
|
218
221
|
export {};
|
|
@@ -19,6 +19,11 @@ export declare const findReplaceMessages: {
|
|
|
19
19
|
defaultMessage: string;
|
|
20
20
|
description: string;
|
|
21
21
|
};
|
|
22
|
+
findReplaceDialogAriaLabel: {
|
|
23
|
+
id: string;
|
|
24
|
+
defaultMessage: string;
|
|
25
|
+
description: string;
|
|
26
|
+
};
|
|
22
27
|
closeFindReplaceDialog: {
|
|
23
28
|
id: string;
|
|
24
29
|
defaultMessage: string;
|
|
@@ -4,6 +4,16 @@ export declare const messages: {
|
|
|
4
4
|
defaultMessage: string;
|
|
5
5
|
description: string;
|
|
6
6
|
};
|
|
7
|
+
insert: {
|
|
8
|
+
id: string;
|
|
9
|
+
defaultMessage: string;
|
|
10
|
+
description: string;
|
|
11
|
+
};
|
|
12
|
+
close: {
|
|
13
|
+
id: string;
|
|
14
|
+
defaultMessage: string;
|
|
15
|
+
description: string;
|
|
16
|
+
};
|
|
7
17
|
all: {
|
|
8
18
|
id: string;
|
|
9
19
|
defaultMessage: string;
|
|
@@ -159,6 +159,7 @@ export declare enum ACTION {
|
|
|
159
159
|
SORT_COLUMN_NOT_ALLOWED = "sortColumnNotAllowed",
|
|
160
160
|
NCS_SESSION_STEP_METRICS = "ncsSessionStepMetrics",
|
|
161
161
|
STEPS_TRACKED = "stepsTracked",
|
|
162
|
+
ORGANIC_CHANGES_TRACKED = "organicChangesTracked",
|
|
162
163
|
STEPS_FILTERED = "stepsFiltered",
|
|
163
164
|
CREATE_NOT_ALLOWED = "createNotAllowed",
|
|
164
165
|
UNSUPPORTED_CONTENT_LEVELS_TRACKING_SUCCEEDED = "unsupportedContentLevelsTrackingSucceeded",
|
|
@@ -179,6 +179,9 @@ type InvalidMediaContentTransformedAEP = OperationalAEP<ACTION.INVALID_MEDIA_CON
|
|
|
179
179
|
type CollabStepsTrackerPayloadAEP = OperationalAEP<ACTION.STEPS_TRACKED | ACTION.STEPS_FILTERED, ACTION_SUBJECT.COLLAB, undefined, {
|
|
180
180
|
steps: unknown[];
|
|
181
181
|
}>;
|
|
182
|
+
type CollabOrganicChangesTrackerPayloadAEP = OperationalAEP<ACTION.ORGANIC_CHANGES_TRACKED, ACTION_SUBJECT.COLLAB, undefined, {
|
|
183
|
+
organicChanges: unknown[];
|
|
184
|
+
}>;
|
|
182
185
|
type BlocksDragInitAEP = OperationalAEP<ACTION.BLOCKS_DRAG_INIT, ACTION_SUBJECT.EDITOR, undefined, {
|
|
183
186
|
duration: number;
|
|
184
187
|
nodesCount: number | undefined;
|
|
@@ -214,5 +217,5 @@ type ChangeToneMenuItemClickedAEP = UIAEP<ACTION.CLICKED, ACTION_SUBJECT.TOOLBAR
|
|
|
214
217
|
type TranslateMenuItemClickedAEP = UIAEP<ACTION.CLICKED, ACTION_SUBJECT.TOOLBAR_DROPDOWN_MENU_ITEM, ACTION_SUBJECT_ID.AI_TRANSLATE, {
|
|
215
218
|
inputMethod: INPUT_METHOD.TOOLBAR | INPUT_METHOD.FLOATING_TB;
|
|
216
219
|
}>;
|
|
217
|
-
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 | BlocksDragInitAEP | CodeBlockWordWrapToggleAEP | RequestToEditAEP | SingleColumLayoutDetectedAEP | CopyLinkToAnchorButtonAEP | DockedPrimaryToolbarRenderedAEP | RovoMoreOptionsClickedAEP | AskRovoButtonClickedAEP | ChangeToneMenuItemClickedAEP | TranslateMenuItemClickedAEP | MediaSingleWidthTransformedAEP;
|
|
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;
|
|
218
221
|
export {};
|
|
@@ -19,6 +19,11 @@ export declare const findReplaceMessages: {
|
|
|
19
19
|
defaultMessage: string;
|
|
20
20
|
description: string;
|
|
21
21
|
};
|
|
22
|
+
findReplaceDialogAriaLabel: {
|
|
23
|
+
id: string;
|
|
24
|
+
defaultMessage: string;
|
|
25
|
+
description: string;
|
|
26
|
+
};
|
|
22
27
|
closeFindReplaceDialog: {
|
|
23
28
|
id: string;
|
|
24
29
|
defaultMessage: string;
|
|
@@ -4,6 +4,16 @@ export declare const messages: {
|
|
|
4
4
|
defaultMessage: string;
|
|
5
5
|
description: string;
|
|
6
6
|
};
|
|
7
|
+
insert: {
|
|
8
|
+
id: string;
|
|
9
|
+
defaultMessage: string;
|
|
10
|
+
description: string;
|
|
11
|
+
};
|
|
12
|
+
close: {
|
|
13
|
+
id: string;
|
|
14
|
+
defaultMessage: string;
|
|
15
|
+
description: string;
|
|
16
|
+
};
|
|
7
17
|
all: {
|
|
8
18
|
id: string;
|
|
9
19
|
defaultMessage: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "110.46.
|
|
3
|
+
"version": "110.46.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/"
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"@atlaskit/task-decision": "^19.2.0",
|
|
82
82
|
"@atlaskit/textfield": "^8.2.0",
|
|
83
83
|
"@atlaskit/theme": "^21.0.0",
|
|
84
|
-
"@atlaskit/tmp-editor-statsig": "^15.
|
|
84
|
+
"@atlaskit/tmp-editor-statsig": "^15.15.0",
|
|
85
85
|
"@atlaskit/tokens": "^8.6.0",
|
|
86
86
|
"@atlaskit/tooltip": "^20.11.0",
|
|
87
87
|
"@atlaskit/width-detector": "^5.0.0",
|