@atlaskit/editor-common 119.7.0 → 119.8.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 +12 -0
- package/dist/cjs/analytics/types/enums.js +1 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/analytics/types/enums.js +1 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/analytics/types/enums.js +1 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/analytics/types/ai-streaming.d.ts +4 -1
- package/dist/types/analytics/types/enums.d.ts +1 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 119.8.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`bbd0908b16b23`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/bbd0908b16b23) -
|
|
8
|
+
Under `platform_editor_local_id_reliability`, improve local ID reliability by validating blank IDs
|
|
9
|
+
and rescanning the document before Rovo reads it.
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 119.7.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
|
@@ -226,6 +226,7 @@ var ACTION = exports.ACTION = /*#__PURE__*/function (ACTION) {
|
|
|
226
226
|
ACTION["SINGLE_COL_LAYOUT_DETECTED"] = "singleColumLayoutDetected";
|
|
227
227
|
ACTION["VIEW_MORE"] = "viewMore";
|
|
228
228
|
ACTION["LOCAL_ID_NOT_FOUND"] = "localIdNotFound";
|
|
229
|
+
ACTION["LOCAL_IDS_REPAIRED"] = "localIdsRepaired";
|
|
229
230
|
ACTION["NO_DOC_CHANGE_FOUND"] = "noDocChangeFound";
|
|
230
231
|
ACTION["INVALID_COMMAND_FOUND"] = "invalidCommandFound";
|
|
231
232
|
ACTION["MEDIA_SINGLE_WIDTH_TRANSFORMED"] = "mediaSingleWidthTransformed";
|
|
@@ -28,7 +28,7 @@ var NETWORK_FAILURE_REGEX = /^network failure/i;
|
|
|
28
28
|
var RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
|
|
29
29
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
30
30
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
31
|
-
var packageVersion = "119.
|
|
31
|
+
var packageVersion = "119.7.0";
|
|
32
32
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
33
33
|
// Remove URL as it has UGC
|
|
34
34
|
// 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 = "119.
|
|
27
|
+
var packageVersion = "119.7.0";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var fadeIn = (0, _react2.keyframes)({
|
|
@@ -222,6 +222,7 @@ export let ACTION = /*#__PURE__*/function (ACTION) {
|
|
|
222
222
|
ACTION["SINGLE_COL_LAYOUT_DETECTED"] = "singleColumLayoutDetected";
|
|
223
223
|
ACTION["VIEW_MORE"] = "viewMore";
|
|
224
224
|
ACTION["LOCAL_ID_NOT_FOUND"] = "localIdNotFound";
|
|
225
|
+
ACTION["LOCAL_IDS_REPAIRED"] = "localIdsRepaired";
|
|
225
226
|
ACTION["NO_DOC_CHANGE_FOUND"] = "noDocChangeFound";
|
|
226
227
|
ACTION["INVALID_COMMAND_FOUND"] = "invalidCommandFound";
|
|
227
228
|
ACTION["MEDIA_SINGLE_WIDTH_TRANSFORMED"] = "mediaSingleWidthTransformed";
|
|
@@ -14,7 +14,7 @@ const NETWORK_FAILURE_REGEX = /^network failure/i;
|
|
|
14
14
|
const RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
|
|
15
15
|
const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
16
16
|
const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
17
|
-
const packageVersion = "119.
|
|
17
|
+
const packageVersion = "119.7.0";
|
|
18
18
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
19
19
|
// Remove URL as it has UGC
|
|
20
20
|
// 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 = "119.
|
|
17
|
+
const packageVersion = "119.7.0";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -222,6 +222,7 @@ export var ACTION = /*#__PURE__*/function (ACTION) {
|
|
|
222
222
|
ACTION["SINGLE_COL_LAYOUT_DETECTED"] = "singleColumLayoutDetected";
|
|
223
223
|
ACTION["VIEW_MORE"] = "viewMore";
|
|
224
224
|
ACTION["LOCAL_ID_NOT_FOUND"] = "localIdNotFound";
|
|
225
|
+
ACTION["LOCAL_IDS_REPAIRED"] = "localIdsRepaired";
|
|
225
226
|
ACTION["NO_DOC_CHANGE_FOUND"] = "noDocChangeFound";
|
|
226
227
|
ACTION["INVALID_COMMAND_FOUND"] = "invalidCommandFound";
|
|
227
228
|
ACTION["MEDIA_SINGLE_WIDTH_TRANSFORMED"] = "mediaSingleWidthTransformed";
|
|
@@ -20,7 +20,7 @@ var NETWORK_FAILURE_REGEX = /^network failure/i;
|
|
|
20
20
|
var RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
|
|
21
21
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
22
22
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
23
|
-
var packageVersion = "119.
|
|
23
|
+
var packageVersion = "119.7.0";
|
|
24
24
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
25
25
|
// Remove URL as it has UGC
|
|
26
26
|
// 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 = "119.
|
|
24
|
+
var packageVersion = "119.7.0";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -7,6 +7,9 @@ type AILocalIdNotFoundErrorAEP = OperationalAEP<ACTION.LOCAL_ID_NOT_FOUND, ACTIO
|
|
|
7
7
|
localIdStatusSize: number;
|
|
8
8
|
scrubbedLocalId: string;
|
|
9
9
|
}>;
|
|
10
|
+
type AILocalIdsRepairedAEP = OperationalAEP<ACTION.LOCAL_IDS_REPAIRED, ACTION_SUBJECT.AI_STREAMING, ACTION_SUBJECT_ID.EXPERIENCE_APPLICATION, {
|
|
11
|
+
repairedNodeCount: number;
|
|
12
|
+
}>;
|
|
10
13
|
type AIStreamingNoDocChangeAEP = OperationalAEP<ACTION.NO_DOC_CHANGE_FOUND, ACTION_SUBJECT.AI_STREAMING, ACTION_SUBJECT_ID.EXPERIENCE_APPLICATION, {
|
|
11
14
|
command: string;
|
|
12
15
|
isSameDoc: boolean;
|
|
@@ -51,5 +54,5 @@ type AIChangesRejectButtonClickedAEP = UIAEP<ACTION.CLICKED, ACTION_SUBJECT.BUTT
|
|
|
51
54
|
lastTriggeredFrom: string | undefined;
|
|
52
55
|
product: string | undefined;
|
|
53
56
|
}, undefined>;
|
|
54
|
-
export type AIStreamingEventPayload = AILocalIdNotFoundErrorAEP | AIStreamingNoDocChangeAEP | AIStreamingInvalidCommandAEP | AIStreamingUpdateStreamError | AIStreamingDiscardStreamError | AIChangesAcceptButtonClickedAEP | AIChangesRejectButtonClickedAEP;
|
|
57
|
+
export type AIStreamingEventPayload = AILocalIdNotFoundErrorAEP | AILocalIdsRepairedAEP | AIStreamingNoDocChangeAEP | AIStreamingInvalidCommandAEP | AIStreamingUpdateStreamError | AIStreamingDiscardStreamError | AIChangesAcceptButtonClickedAEP | AIChangesRejectButtonClickedAEP;
|
|
55
58
|
export {};
|
|
@@ -218,6 +218,7 @@ export declare enum ACTION {
|
|
|
218
218
|
SINGLE_COL_LAYOUT_DETECTED = "singleColumLayoutDetected",
|
|
219
219
|
VIEW_MORE = "viewMore",
|
|
220
220
|
LOCAL_ID_NOT_FOUND = "localIdNotFound",
|
|
221
|
+
LOCAL_IDS_REPAIRED = "localIdsRepaired",
|
|
221
222
|
NO_DOC_CHANGE_FOUND = "noDocChangeFound",
|
|
222
223
|
INVALID_COMMAND_FOUND = "invalidCommandFound",
|
|
223
224
|
MEDIA_SINGLE_WIDTH_TRANSFORMED = "mediaSingleWidthTransformed",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "119.
|
|
3
|
+
"version": "119.8.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/"
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@atlaskit/analytics-next": "^12.3.0",
|
|
38
38
|
"@atlaskit/atlassian-context": "^1.1.0",
|
|
39
39
|
"@atlaskit/browser-apis": "^1.2.0",
|
|
40
|
-
"@atlaskit/button": "^25.
|
|
40
|
+
"@atlaskit/button": "^25.1.0",
|
|
41
41
|
"@atlaskit/codemod-utils": "^5.0.0",
|
|
42
42
|
"@atlaskit/css": "^1.0.0",
|
|
43
43
|
"@atlaskit/custom-steps": "^1.0.0",
|