@atlaskit/editor-common 110.10.2 → 110.10.3
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 +10 -0
- package/dist/cjs/analytics/types/enums.js +2 -0
- package/dist/cjs/code-block/index.js +0 -2
- package/dist/cjs/messages/syncBlock.js +5 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/ui/FloatingToolbar/styles.js +1 -4
- package/dist/cjs/ui-menu/ColorPickerButton/index.js +1 -3
- package/dist/es2019/analytics/types/enums.js +2 -0
- package/dist/es2019/code-block/index.js +0 -2
- package/dist/es2019/messages/syncBlock.js +5 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/ui/FloatingToolbar/styles.js +1 -4
- package/dist/es2019/ui-menu/ColorPickerButton/index.js +1 -3
- package/dist/esm/analytics/types/enums.js +2 -0
- package/dist/esm/code-block/index.js +0 -2
- package/dist/esm/messages/syncBlock.js +5 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/ui/FloatingToolbar/styles.js +1 -4
- package/dist/esm/ui-menu/ColorPickerButton/index.js +1 -3
- package/dist/types/analytics/types/ai-streaming.d.ts +15 -1
- package/dist/types/analytics/types/enums.d.ts +2 -0
- package/dist/types/messages/syncBlock.d.ts +5 -0
- package/dist/types-ts4.5/analytics/types/ai-streaming.d.ts +15 -1
- package/dist/types-ts4.5/analytics/types/enums.d.ts +2 -0
- package/dist/types-ts4.5/messages/syncBlock.d.ts +5 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 110.10.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`a48139f041cd4`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a48139f041cd4) -
|
|
8
|
+
[ux] EDITOR-1654 implement sync block ui for hovered, selected and delete states
|
|
9
|
+
- [`92b30d41852a0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/92b30d41852a0) -
|
|
10
|
+
EDITOR-1805 - analytics for invalid streaming command
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
|
|
3
13
|
## 110.10.2
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
|
@@ -189,6 +189,8 @@ var ACTION = exports.ACTION = /*#__PURE__*/function (ACTION) {
|
|
|
189
189
|
ACTION["SINGLE_COL_LAYOUT_DETECTED"] = "singleColumLayoutDetected";
|
|
190
190
|
ACTION["VIEW_MORE"] = "viewMore";
|
|
191
191
|
ACTION["LOCAL_ID_NOT_FOUND"] = "localIdNotFound";
|
|
192
|
+
ACTION["NO_DOC_CHANGE_FOUND"] = "noDocChangeFound";
|
|
193
|
+
ACTION["INVALID_COMMAND_FOUND"] = "invalidCommandFound";
|
|
192
194
|
/**
|
|
193
195
|
* used in Editor AI inline suggestion for a track event when a suggestion is inserted
|
|
194
196
|
* previously tracked events being used by Editor AI proactive suggestion
|
|
@@ -5,8 +5,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.updateCodeBlockWrappedStateNodeKeys = exports.transferCodeBlockWrappedValue = exports.setCodeBlockFoldState = exports.isCodeBlockWordWrapEnabled = exports.getCodeBlockFoldState = exports.defaultWordWrapState = exports.codeBlockWrappedStates = void 0;
|
|
7
7
|
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
8
|
-
/* eslint-disable @atlaskit/platform/ensure-feature-flag-prefix */
|
|
9
|
-
|
|
10
8
|
var defaultWordWrapState = exports.defaultWordWrapState = false;
|
|
11
9
|
var codeBlockWrappedStates = exports.codeBlockWrappedStates = new WeakMap();
|
|
12
10
|
|
|
@@ -30,5 +30,10 @@ var syncBlockMessages = exports.syncBlockMessages = (0, _reactIntlNext.defineMes
|
|
|
30
30
|
id: 'fabric.editor.syncBlockGroup',
|
|
31
31
|
defaultMessage: 'Sync Block Types',
|
|
32
32
|
description: 'aria-label for group of sync block the floating toolbar'
|
|
33
|
+
},
|
|
34
|
+
syncedBlockLabel: {
|
|
35
|
+
id: 'fabric.editor.syncedBlock',
|
|
36
|
+
defaultMessage: 'Synced block',
|
|
37
|
+
description: 'Label which appears above the synced block when it is selected'
|
|
33
38
|
}
|
|
34
39
|
});
|
|
@@ -16,7 +16,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
16
16
|
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); }
|
|
17
17
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
18
18
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
19
|
-
var packageVersion = "110.10.
|
|
19
|
+
var packageVersion = "110.10.2";
|
|
20
20
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
21
21
|
// Remove URL as it has UGC
|
|
22
22
|
// 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 = "110.10.
|
|
27
|
+
var packageVersion = "110.10.2";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var fadeIn = (0, _react2.keyframes)({
|
|
@@ -94,10 +94,7 @@ var colorVisualRefresh = {
|
|
|
94
94
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
95
95
|
var getButtonStyles = exports.getButtonStyles = function getButtonStyles(props) {
|
|
96
96
|
return {
|
|
97
|
-
background: getStyles(
|
|
98
|
-
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
99
|
-
(0, _platformFeatureFlags.fg)('platform-visual-refresh-icons') ? backgroundVisualRefresh : background, props),
|
|
100
|
-
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
97
|
+
background: getStyles((0, _platformFeatureFlags.fg)('platform-visual-refresh-icons') ? backgroundVisualRefresh : background, props),
|
|
101
98
|
color: getStyles((0, _platformFeatureFlags.fg)('platform-visual-refresh-icons') ? colorVisualRefresh : color, props)
|
|
102
99
|
};
|
|
103
100
|
};
|
|
@@ -266,9 +266,7 @@ var ColorPickerButton = function ColorPickerButton(props) {
|
|
|
266
266
|
}, (0, _react2.jsx)(_tooltip.default, {
|
|
267
267
|
content: title,
|
|
268
268
|
position: "top"
|
|
269
|
-
},
|
|
270
|
-
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
271
|
-
(0, _platformFeatureFlags.fg)('platform-visual-refresh-icons') ? (0, _react2.jsx)("div", {
|
|
269
|
+
}, (0, _platformFeatureFlags.fg)('platform-visual-refresh-icons') ? (0, _react2.jsx)("div", {
|
|
272
270
|
css: colorPickerButtonStyle
|
|
273
271
|
}, (0, _react2.jsx)(_new.default, {
|
|
274
272
|
appearance: 'subtle',
|
|
@@ -183,6 +183,8 @@ export let ACTION = /*#__PURE__*/function (ACTION) {
|
|
|
183
183
|
ACTION["SINGLE_COL_LAYOUT_DETECTED"] = "singleColumLayoutDetected";
|
|
184
184
|
ACTION["VIEW_MORE"] = "viewMore";
|
|
185
185
|
ACTION["LOCAL_ID_NOT_FOUND"] = "localIdNotFound";
|
|
186
|
+
ACTION["NO_DOC_CHANGE_FOUND"] = "noDocChangeFound";
|
|
187
|
+
ACTION["INVALID_COMMAND_FOUND"] = "invalidCommandFound";
|
|
186
188
|
/**
|
|
187
189
|
* used in Editor AI inline suggestion for a track event when a suggestion is inserted
|
|
188
190
|
* previously tracked events being used by Editor AI proactive suggestion
|
|
@@ -24,5 +24,10 @@ export const syncBlockMessages = defineMessages({
|
|
|
24
24
|
id: 'fabric.editor.syncBlockGroup',
|
|
25
25
|
defaultMessage: 'Sync Block Types',
|
|
26
26
|
description: 'aria-label for group of sync block the floating toolbar'
|
|
27
|
+
},
|
|
28
|
+
syncedBlockLabel: {
|
|
29
|
+
id: 'fabric.editor.syncedBlock',
|
|
30
|
+
defaultMessage: 'Synced block',
|
|
31
|
+
description: 'Label which appears above the synced block when it is selected'
|
|
27
32
|
}
|
|
28
33
|
});
|
|
@@ -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 = "110.10.
|
|
4
|
+
const packageVersion = "110.10.2";
|
|
5
5
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
6
6
|
// Remove URL as it has UGC
|
|
7
7
|
// 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 = "110.10.
|
|
17
|
+
const packageVersion = "110.10.2";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -85,9 +85,6 @@ const colorVisualRefresh = {
|
|
|
85
85
|
// Ignored via go/ees005
|
|
86
86
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
87
87
|
export const getButtonStyles = props => ({
|
|
88
|
-
background: getStyles(
|
|
89
|
-
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
90
|
-
fg('platform-visual-refresh-icons') ? backgroundVisualRefresh : background, props),
|
|
91
|
-
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
88
|
+
background: getStyles(fg('platform-visual-refresh-icons') ? backgroundVisualRefresh : background, props),
|
|
92
89
|
color: getStyles(fg('platform-visual-refresh-icons') ? colorVisualRefresh : color, props)
|
|
93
90
|
});
|
|
@@ -246,9 +246,7 @@ const ColorPickerButton = props => {
|
|
|
246
246
|
}, jsx(Tooltip, {
|
|
247
247
|
content: title,
|
|
248
248
|
position: "top"
|
|
249
|
-
},
|
|
250
|
-
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
251
|
-
fg('platform-visual-refresh-icons') ? jsx("div", {
|
|
249
|
+
}, fg('platform-visual-refresh-icons') ? jsx("div", {
|
|
252
250
|
css: colorPickerButtonStyle
|
|
253
251
|
}, jsx(Button, {
|
|
254
252
|
appearance: 'subtle',
|
|
@@ -183,6 +183,8 @@ export var ACTION = /*#__PURE__*/function (ACTION) {
|
|
|
183
183
|
ACTION["SINGLE_COL_LAYOUT_DETECTED"] = "singleColumLayoutDetected";
|
|
184
184
|
ACTION["VIEW_MORE"] = "viewMore";
|
|
185
185
|
ACTION["LOCAL_ID_NOT_FOUND"] = "localIdNotFound";
|
|
186
|
+
ACTION["NO_DOC_CHANGE_FOUND"] = "noDocChangeFound";
|
|
187
|
+
ACTION["INVALID_COMMAND_FOUND"] = "invalidCommandFound";
|
|
186
188
|
/**
|
|
187
189
|
* used in Editor AI inline suggestion for a track event when a suggestion is inserted
|
|
188
190
|
* previously tracked events being used by Editor AI proactive suggestion
|
|
@@ -24,5 +24,10 @@ export var syncBlockMessages = defineMessages({
|
|
|
24
24
|
id: 'fabric.editor.syncBlockGroup',
|
|
25
25
|
defaultMessage: 'Sync Block Types',
|
|
26
26
|
description: 'aria-label for group of sync block the floating toolbar'
|
|
27
|
+
},
|
|
28
|
+
syncedBlockLabel: {
|
|
29
|
+
id: 'fabric.editor.syncedBlock',
|
|
30
|
+
defaultMessage: 'Synced block',
|
|
31
|
+
description: 'Label which appears above the synced block when it is selected'
|
|
27
32
|
}
|
|
28
33
|
});
|
|
@@ -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 = "110.10.
|
|
10
|
+
var packageVersion = "110.10.2";
|
|
11
11
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
12
12
|
// Remove URL as it has UGC
|
|
13
13
|
// 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 = "110.10.
|
|
24
|
+
var packageVersion = "110.10.2";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -88,10 +88,7 @@ var colorVisualRefresh = {
|
|
|
88
88
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
89
89
|
export var getButtonStyles = function getButtonStyles(props) {
|
|
90
90
|
return {
|
|
91
|
-
background: getStyles(
|
|
92
|
-
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
93
|
-
fg('platform-visual-refresh-icons') ? backgroundVisualRefresh : background, props),
|
|
94
|
-
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
91
|
+
background: getStyles(fg('platform-visual-refresh-icons') ? backgroundVisualRefresh : background, props),
|
|
95
92
|
color: getStyles(fg('platform-visual-refresh-icons') ? colorVisualRefresh : color, props)
|
|
96
93
|
};
|
|
97
94
|
};
|
|
@@ -258,9 +258,7 @@ var ColorPickerButton = function ColorPickerButton(props) {
|
|
|
258
258
|
}, jsx(Tooltip, {
|
|
259
259
|
content: title,
|
|
260
260
|
position: "top"
|
|
261
|
-
},
|
|
262
|
-
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
263
|
-
fg('platform-visual-refresh-icons') ? jsx("div", {
|
|
261
|
+
}, fg('platform-visual-refresh-icons') ? jsx("div", {
|
|
264
262
|
css: colorPickerButtonStyle
|
|
265
263
|
}, jsx(Button, {
|
|
266
264
|
appearance: 'subtle',
|
|
@@ -4,6 +4,20 @@ type AILocalIdNotFoundErrorAEP = OperationalAEP<ACTION.LOCAL_ID_NOT_FOUND, ACTIO
|
|
|
4
4
|
docSize: number | undefined;
|
|
5
5
|
localId: string;
|
|
6
6
|
}>;
|
|
7
|
+
type AIStreamingNoDocChangeAEP = OperationalAEP<ACTION.NO_DOC_CHANGE_FOUND, ACTION_SUBJECT.AI_STREAMING, ACTION_SUBJECT_ID.EXPERIENCE_APPLICATION, {
|
|
8
|
+
command: Record<string, unknown> | undefined;
|
|
9
|
+
isSameDoc: boolean;
|
|
10
|
+
isSameDocIgnoreAttrs: boolean;
|
|
11
|
+
}>;
|
|
12
|
+
type AIStreamingInvalidCommandAEP = OperationalAEP<ACTION.INVALID_COMMAND_FOUND, ACTION_SUBJECT.AI_STREAMING, ACTION_SUBJECT_ID.EXPERIENCE_APPLICATION, {
|
|
13
|
+
ancestors?: string[];
|
|
14
|
+
command: Record<string, unknown>;
|
|
15
|
+
errorMessage?: string;
|
|
16
|
+
errorStack?: string;
|
|
17
|
+
fragments?: string[];
|
|
18
|
+
repaired: boolean;
|
|
19
|
+
success: boolean;
|
|
20
|
+
}>;
|
|
7
21
|
type AIStreamingUpdateStreamError = OperationalAEP<ACTION.ERRORED, ACTION_SUBJECT.AI_STREAMING, ACTION_SUBJECT_ID.UPDATE_STREAM, {
|
|
8
22
|
docSize: number;
|
|
9
23
|
errorMessage?: string;
|
|
@@ -27,5 +41,5 @@ type AIChangesRejectButtonClickedAEP = UIAEP<ACTION.CLICKED, ACTION_SUBJECT.BUTT
|
|
|
27
41
|
lastTriggeredFrom: string | undefined;
|
|
28
42
|
product: string | undefined;
|
|
29
43
|
}, undefined>;
|
|
30
|
-
export type AIStreamingEventPayload = AILocalIdNotFoundErrorAEP | AIStreamingUpdateStreamError | AIStreamingDiscardStreamError | AIChangesAcceptButtonClickedAEP | AIChangesRejectButtonClickedAEP;
|
|
44
|
+
export type AIStreamingEventPayload = AILocalIdNotFoundErrorAEP | AIStreamingNoDocChangeAEP | AIStreamingInvalidCommandAEP | AIStreamingUpdateStreamError | AIStreamingDiscardStreamError | AIChangesAcceptButtonClickedAEP | AIChangesRejectButtonClickedAEP;
|
|
31
45
|
export {};
|
|
@@ -182,6 +182,8 @@ export declare enum ACTION {
|
|
|
182
182
|
SINGLE_COL_LAYOUT_DETECTED = "singleColumLayoutDetected",
|
|
183
183
|
VIEW_MORE = "viewMore",
|
|
184
184
|
LOCAL_ID_NOT_FOUND = "localIdNotFound",
|
|
185
|
+
NO_DOC_CHANGE_FOUND = "noDocChangeFound",
|
|
186
|
+
INVALID_COMMAND_FOUND = "invalidCommandFound",
|
|
185
187
|
/**
|
|
186
188
|
* used in Editor AI inline suggestion for a track event when a suggestion is inserted
|
|
187
189
|
* previously tracked events being used by Editor AI proactive suggestion
|
|
@@ -4,6 +4,20 @@ type AILocalIdNotFoundErrorAEP = OperationalAEP<ACTION.LOCAL_ID_NOT_FOUND, ACTIO
|
|
|
4
4
|
docSize: number | undefined;
|
|
5
5
|
localId: string;
|
|
6
6
|
}>;
|
|
7
|
+
type AIStreamingNoDocChangeAEP = OperationalAEP<ACTION.NO_DOC_CHANGE_FOUND, ACTION_SUBJECT.AI_STREAMING, ACTION_SUBJECT_ID.EXPERIENCE_APPLICATION, {
|
|
8
|
+
command: Record<string, unknown> | undefined;
|
|
9
|
+
isSameDoc: boolean;
|
|
10
|
+
isSameDocIgnoreAttrs: boolean;
|
|
11
|
+
}>;
|
|
12
|
+
type AIStreamingInvalidCommandAEP = OperationalAEP<ACTION.INVALID_COMMAND_FOUND, ACTION_SUBJECT.AI_STREAMING, ACTION_SUBJECT_ID.EXPERIENCE_APPLICATION, {
|
|
13
|
+
ancestors?: string[];
|
|
14
|
+
command: Record<string, unknown>;
|
|
15
|
+
errorMessage?: string;
|
|
16
|
+
errorStack?: string;
|
|
17
|
+
fragments?: string[];
|
|
18
|
+
repaired: boolean;
|
|
19
|
+
success: boolean;
|
|
20
|
+
}>;
|
|
7
21
|
type AIStreamingUpdateStreamError = OperationalAEP<ACTION.ERRORED, ACTION_SUBJECT.AI_STREAMING, ACTION_SUBJECT_ID.UPDATE_STREAM, {
|
|
8
22
|
docSize: number;
|
|
9
23
|
errorMessage?: string;
|
|
@@ -27,5 +41,5 @@ type AIChangesRejectButtonClickedAEP = UIAEP<ACTION.CLICKED, ACTION_SUBJECT.BUTT
|
|
|
27
41
|
lastTriggeredFrom: string | undefined;
|
|
28
42
|
product: string | undefined;
|
|
29
43
|
}, undefined>;
|
|
30
|
-
export type AIStreamingEventPayload = AILocalIdNotFoundErrorAEP | AIStreamingUpdateStreamError | AIStreamingDiscardStreamError | AIChangesAcceptButtonClickedAEP | AIChangesRejectButtonClickedAEP;
|
|
44
|
+
export type AIStreamingEventPayload = AILocalIdNotFoundErrorAEP | AIStreamingNoDocChangeAEP | AIStreamingInvalidCommandAEP | AIStreamingUpdateStreamError | AIStreamingDiscardStreamError | AIChangesAcceptButtonClickedAEP | AIChangesRejectButtonClickedAEP;
|
|
31
45
|
export {};
|
|
@@ -182,6 +182,8 @@ export declare enum ACTION {
|
|
|
182
182
|
SINGLE_COL_LAYOUT_DETECTED = "singleColumLayoutDetected",
|
|
183
183
|
VIEW_MORE = "viewMore",
|
|
184
184
|
LOCAL_ID_NOT_FOUND = "localIdNotFound",
|
|
185
|
+
NO_DOC_CHANGE_FOUND = "noDocChangeFound",
|
|
186
|
+
INVALID_COMMAND_FOUND = "invalidCommandFound",
|
|
185
187
|
/**
|
|
186
188
|
* used in Editor AI inline suggestion for a track event when a suggestion is inserted
|
|
187
189
|
* previously tracked events being used by Editor AI proactive suggestion
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "110.10.
|
|
3
|
+
"version": "110.10.3",
|
|
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/"
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"@atlaskit/task-decision": "^19.2.0",
|
|
83
83
|
"@atlaskit/textfield": "^8.0.0",
|
|
84
84
|
"@atlaskit/theme": "^21.0.0",
|
|
85
|
-
"@atlaskit/tmp-editor-statsig": "^13.
|
|
85
|
+
"@atlaskit/tmp-editor-statsig": "^13.10.0",
|
|
86
86
|
"@atlaskit/tokens": "^6.4.0",
|
|
87
87
|
"@atlaskit/tooltip": "^20.5.0",
|
|
88
88
|
"@atlaskit/width-detector": "^5.0.0",
|