@atlaskit/editor-common 104.1.4 → 105.0.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 +14 -0
- package/dist/cjs/analytics/types/enums.js +0 -7
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/styles/shared/smart-card.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/analytics/types/enums.js +0 -7
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/styles/shared/smart-card.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/analytics/types/enums.js +0 -7
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/styles/shared/smart-card.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/analytics/types/enums.d.ts +0 -7
- package/dist/types/analytics/types/general-events.d.ts +3 -16
- package/dist/types-ts4.5/analytics/types/enums.d.ts +0 -7
- package/dist/types-ts4.5/analytics/types/general-events.d.ts +3 -16
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 105.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [#152928](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/152928)
|
|
8
|
+
[`085c1eac95c8f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/085c1eac95c8f) -
|
|
9
|
+
[EDITOR-709] Removed unused analytics enums and types
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#153538](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/153538)
|
|
14
|
+
[`5c7cf4707fb42`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5c7cf4707fb42) -
|
|
15
|
+
[ux] Fix Smart Link AvatarGroup padding
|
|
16
|
+
|
|
3
17
|
## 104.1.4
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -55,7 +55,6 @@ var ACTION = exports.ACTION = /*#__PURE__*/function (ACTION) {
|
|
|
55
55
|
ACTION["EDITOR_CRASHED"] = "unhandledErrorCaught";
|
|
56
56
|
ACTION["EDITOR_CRASHED_ADDITIONAL_INFORMATION"] = "unhandledErrorCaughtAdditionalInfov2";
|
|
57
57
|
ACTION["EDITOR_MOUNTED"] = "mounted";
|
|
58
|
-
ACTION["EDITOR_TTI"] = "tti";
|
|
59
58
|
ACTION["EDITOR_CONTENT_RETRIEVAL_PERFORMED"] = "contentRetrievalPerformed";
|
|
60
59
|
ACTION["RE_RENDERED"] = "reRendered";
|
|
61
60
|
ACTION["ENDED"] = "ended";
|
|
@@ -81,10 +80,6 @@ var ACTION = exports.ACTION = /*#__PURE__*/function (ACTION) {
|
|
|
81
80
|
ACTION["INITIALISED_FRAGMENT_MARK"] = "initialisedFragmentMark";
|
|
82
81
|
ACTION["INPUT_PERF_SAMPLING"] = "inputPerfSampling";
|
|
83
82
|
ACTION["INPUT_PERF_SAMPLING_AVG"] = "inputPerfSamplingAvg";
|
|
84
|
-
ACTION["INPUT_PERF_SAMPLING_SINGLE_KEYPRESS"] = "inputPerfSamplingSingleKeypress";
|
|
85
|
-
ACTION["INPUT_PERF_SAMPLING_SINGLE_KEYPRESS_AVG"] = "inputPerfSamplingSingleKeypressAvg";
|
|
86
|
-
ACTION["INPUT_PERF_SAMPLING_RENDERED"] = "inputPerfSamplingRendered";
|
|
87
|
-
ACTION["INPUT_PERF_SAMPLING_RENDERED_AVG"] = "inputPerfSamplingRenderedAvg";
|
|
88
83
|
ACTION["INSERTED"] = "inserted";
|
|
89
84
|
ACTION["INVALID_DOCUMENT_ENCOUNTERED"] = "invalidDocumentEncountered";
|
|
90
85
|
ACTION["INVOKED"] = "invoked";
|
|
@@ -124,7 +119,6 @@ var ACTION = exports.ACTION = /*#__PURE__*/function (ACTION) {
|
|
|
124
119
|
ACTION["INDENTATION_MARKS_TRANSFORMED"] = "indentationMarksTransformed";
|
|
125
120
|
ACTION["INVALID_MEDIA_CONTENT_TRANSFORMED"] = "invalidMediaContentTransformed";
|
|
126
121
|
ACTION["TOGGLE_EXPAND"] = "toggleExpand";
|
|
127
|
-
ACTION["TRANSACTION_DISPATCHED"] = "transactionDispatched";
|
|
128
122
|
ACTION["TRANSACTION_MUTATED_AFTER_DISPATCH"] = "transactionMutatedAfterDispatched";
|
|
129
123
|
ACTION["TYPING_FINISHED"] = "typingFinished";
|
|
130
124
|
ACTION["TYPING_STARTED"] = "typingStarted";
|
|
@@ -156,7 +150,6 @@ var ACTION = exports.ACTION = /*#__PURE__*/function (ACTION) {
|
|
|
156
150
|
ACTION["REMOVE_ICON"] = "removedIcon";
|
|
157
151
|
ACTION["INVALID_PROSEMIRROR_DOCUMENT"] = "invalidProsemirrorDocument";
|
|
158
152
|
ACTION["DOCUMENT_PROCESSING_ERROR"] = "documentProcessingErrorV2";
|
|
159
|
-
ACTION["RENDERER_TTI"] = "tti";
|
|
160
153
|
ACTION["CRASHED"] = "unhandledErrorCaughtV2";
|
|
161
154
|
ACTION["SELECT_ALL_CAUGHT"] = "selectAllCaught";
|
|
162
155
|
ACTION["SELECT_ALL_ESCAPED"] = "selectAllEscaped";
|
|
@@ -17,7 +17,7 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
17
17
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
18
18
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
19
19
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
20
|
-
var packageVersion = "
|
|
20
|
+
var packageVersion = "105.0.0";
|
|
21
21
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
22
22
|
// Remove URL as it has UGC
|
|
23
23
|
// Ignored via go/ees007
|
|
@@ -14,5 +14,5 @@ var SmartCardSharedCssClassName = exports.SmartCardSharedCssClassName = {
|
|
|
14
14
|
};
|
|
15
15
|
var smartCardSharedStyles = exports.smartCardSharedStyles = "\n .".concat(SmartCardSharedCssClassName.BLOCK_CARD_CONTAINER, " {\n display: block;\n margin: ").concat(_editorSharedStyles.blockNodesVerticalMargin, " 0 0;\n max-width: ").concat(8 * 95, "px;\n }\n");
|
|
16
16
|
var getSmartCardSharedStyles = exports.getSmartCardSharedStyles = function getSmartCardSharedStyles() {
|
|
17
|
-
return "\n .".concat(SmartCardSharedCssClassName.BLOCK_CARD_CONTAINER, " {\n display: block;\n margin: ").concat(_editorSharedStyles.blockNodesVerticalMargin, " 0 0;\n max-width: ").concat(8 * 95, "px;\n }\n\n .").concat(SmartCardSharedCssClassName.
|
|
17
|
+
return "\n .".concat(SmartCardSharedCssClassName.BLOCK_CARD_CONTAINER, " {\n display: block;\n margin: ").concat(_editorSharedStyles.blockNodesVerticalMargin, " 0 0;\n max-width: ").concat(8 * 95, "px;\n }\n\n .").concat(SmartCardSharedCssClassName.BLOCK_CARD_CONTAINER, " {\n /* EDM-11991: Fix list plugin adding padding to ADS AvatarGroup start */\n ul, ol {\n padding-left: inherit;\n }\n /* EDM-11991: Fix list plugin add padding to ADS AvatarGroup end */\n }\n");
|
|
18
18
|
};
|
|
@@ -23,7 +23,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
23
23
|
* @jsx jsx
|
|
24
24
|
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
25
25
|
var packageName = "@atlaskit/editor-common";
|
|
26
|
-
var packageVersion = "
|
|
26
|
+
var packageVersion = "105.0.0";
|
|
27
27
|
var halfFocusRing = 1;
|
|
28
28
|
var dropOffset = '0, 8';
|
|
29
29
|
// Ignored via go/ees005
|
|
@@ -49,7 +49,6 @@ export let ACTION = /*#__PURE__*/function (ACTION) {
|
|
|
49
49
|
ACTION["EDITOR_CRASHED"] = "unhandledErrorCaught";
|
|
50
50
|
ACTION["EDITOR_CRASHED_ADDITIONAL_INFORMATION"] = "unhandledErrorCaughtAdditionalInfov2";
|
|
51
51
|
ACTION["EDITOR_MOUNTED"] = "mounted";
|
|
52
|
-
ACTION["EDITOR_TTI"] = "tti";
|
|
53
52
|
ACTION["EDITOR_CONTENT_RETRIEVAL_PERFORMED"] = "contentRetrievalPerformed";
|
|
54
53
|
ACTION["RE_RENDERED"] = "reRendered";
|
|
55
54
|
ACTION["ENDED"] = "ended";
|
|
@@ -75,10 +74,6 @@ export let ACTION = /*#__PURE__*/function (ACTION) {
|
|
|
75
74
|
ACTION["INITIALISED_FRAGMENT_MARK"] = "initialisedFragmentMark";
|
|
76
75
|
ACTION["INPUT_PERF_SAMPLING"] = "inputPerfSampling";
|
|
77
76
|
ACTION["INPUT_PERF_SAMPLING_AVG"] = "inputPerfSamplingAvg";
|
|
78
|
-
ACTION["INPUT_PERF_SAMPLING_SINGLE_KEYPRESS"] = "inputPerfSamplingSingleKeypress";
|
|
79
|
-
ACTION["INPUT_PERF_SAMPLING_SINGLE_KEYPRESS_AVG"] = "inputPerfSamplingSingleKeypressAvg";
|
|
80
|
-
ACTION["INPUT_PERF_SAMPLING_RENDERED"] = "inputPerfSamplingRendered";
|
|
81
|
-
ACTION["INPUT_PERF_SAMPLING_RENDERED_AVG"] = "inputPerfSamplingRenderedAvg";
|
|
82
77
|
ACTION["INSERTED"] = "inserted";
|
|
83
78
|
ACTION["INVALID_DOCUMENT_ENCOUNTERED"] = "invalidDocumentEncountered";
|
|
84
79
|
ACTION["INVOKED"] = "invoked";
|
|
@@ -118,7 +113,6 @@ export let ACTION = /*#__PURE__*/function (ACTION) {
|
|
|
118
113
|
ACTION["INDENTATION_MARKS_TRANSFORMED"] = "indentationMarksTransformed";
|
|
119
114
|
ACTION["INVALID_MEDIA_CONTENT_TRANSFORMED"] = "invalidMediaContentTransformed";
|
|
120
115
|
ACTION["TOGGLE_EXPAND"] = "toggleExpand";
|
|
121
|
-
ACTION["TRANSACTION_DISPATCHED"] = "transactionDispatched";
|
|
122
116
|
ACTION["TRANSACTION_MUTATED_AFTER_DISPATCH"] = "transactionMutatedAfterDispatched";
|
|
123
117
|
ACTION["TYPING_FINISHED"] = "typingFinished";
|
|
124
118
|
ACTION["TYPING_STARTED"] = "typingStarted";
|
|
@@ -150,7 +144,6 @@ export let ACTION = /*#__PURE__*/function (ACTION) {
|
|
|
150
144
|
ACTION["REMOVE_ICON"] = "removedIcon";
|
|
151
145
|
ACTION["INVALID_PROSEMIRROR_DOCUMENT"] = "invalidProsemirrorDocument";
|
|
152
146
|
ACTION["DOCUMENT_PROCESSING_ERROR"] = "documentProcessingErrorV2";
|
|
153
|
-
ACTION["RENDERER_TTI"] = "tti";
|
|
154
147
|
ACTION["CRASHED"] = "unhandledErrorCaughtV2";
|
|
155
148
|
ACTION["SELECT_ALL_CAUGHT"] = "selectAllCaught";
|
|
156
149
|
ACTION["SELECT_ALL_ESCAPED"] = "selectAllEscaped";
|
|
@@ -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 = "
|
|
4
|
+
const packageVersion = "105.0.0";
|
|
5
5
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
6
6
|
// Remove URL as it has UGC
|
|
7
7
|
// Ignored via go/ees007
|
|
@@ -20,7 +20,7 @@ export const getSmartCardSharedStyles = () => `
|
|
|
20
20
|
max-width: ${8 * 95}px;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
.${SmartCardSharedCssClassName.
|
|
23
|
+
.${SmartCardSharedCssClassName.BLOCK_CARD_CONTAINER} {
|
|
24
24
|
/* EDM-11991: Fix list plugin adding padding to ADS AvatarGroup start */
|
|
25
25
|
ul, ol {
|
|
26
26
|
padding-left: inherit;
|
|
@@ -13,7 +13,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
|
|
|
13
13
|
import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
14
14
|
import Layer from '../Layer';
|
|
15
15
|
const packageName = "@atlaskit/editor-common";
|
|
16
|
-
const packageVersion = "
|
|
16
|
+
const packageVersion = "105.0.0";
|
|
17
17
|
const halfFocusRing = 1;
|
|
18
18
|
const dropOffset = '0, 8';
|
|
19
19
|
// Ignored via go/ees005
|
|
@@ -49,7 +49,6 @@ export var ACTION = /*#__PURE__*/function (ACTION) {
|
|
|
49
49
|
ACTION["EDITOR_CRASHED"] = "unhandledErrorCaught";
|
|
50
50
|
ACTION["EDITOR_CRASHED_ADDITIONAL_INFORMATION"] = "unhandledErrorCaughtAdditionalInfov2";
|
|
51
51
|
ACTION["EDITOR_MOUNTED"] = "mounted";
|
|
52
|
-
ACTION["EDITOR_TTI"] = "tti";
|
|
53
52
|
ACTION["EDITOR_CONTENT_RETRIEVAL_PERFORMED"] = "contentRetrievalPerformed";
|
|
54
53
|
ACTION["RE_RENDERED"] = "reRendered";
|
|
55
54
|
ACTION["ENDED"] = "ended";
|
|
@@ -75,10 +74,6 @@ export var ACTION = /*#__PURE__*/function (ACTION) {
|
|
|
75
74
|
ACTION["INITIALISED_FRAGMENT_MARK"] = "initialisedFragmentMark";
|
|
76
75
|
ACTION["INPUT_PERF_SAMPLING"] = "inputPerfSampling";
|
|
77
76
|
ACTION["INPUT_PERF_SAMPLING_AVG"] = "inputPerfSamplingAvg";
|
|
78
|
-
ACTION["INPUT_PERF_SAMPLING_SINGLE_KEYPRESS"] = "inputPerfSamplingSingleKeypress";
|
|
79
|
-
ACTION["INPUT_PERF_SAMPLING_SINGLE_KEYPRESS_AVG"] = "inputPerfSamplingSingleKeypressAvg";
|
|
80
|
-
ACTION["INPUT_PERF_SAMPLING_RENDERED"] = "inputPerfSamplingRendered";
|
|
81
|
-
ACTION["INPUT_PERF_SAMPLING_RENDERED_AVG"] = "inputPerfSamplingRenderedAvg";
|
|
82
77
|
ACTION["INSERTED"] = "inserted";
|
|
83
78
|
ACTION["INVALID_DOCUMENT_ENCOUNTERED"] = "invalidDocumentEncountered";
|
|
84
79
|
ACTION["INVOKED"] = "invoked";
|
|
@@ -118,7 +113,6 @@ export var ACTION = /*#__PURE__*/function (ACTION) {
|
|
|
118
113
|
ACTION["INDENTATION_MARKS_TRANSFORMED"] = "indentationMarksTransformed";
|
|
119
114
|
ACTION["INVALID_MEDIA_CONTENT_TRANSFORMED"] = "invalidMediaContentTransformed";
|
|
120
115
|
ACTION["TOGGLE_EXPAND"] = "toggleExpand";
|
|
121
|
-
ACTION["TRANSACTION_DISPATCHED"] = "transactionDispatched";
|
|
122
116
|
ACTION["TRANSACTION_MUTATED_AFTER_DISPATCH"] = "transactionMutatedAfterDispatched";
|
|
123
117
|
ACTION["TYPING_FINISHED"] = "typingFinished";
|
|
124
118
|
ACTION["TYPING_STARTED"] = "typingStarted";
|
|
@@ -150,7 +144,6 @@ export var ACTION = /*#__PURE__*/function (ACTION) {
|
|
|
150
144
|
ACTION["REMOVE_ICON"] = "removedIcon";
|
|
151
145
|
ACTION["INVALID_PROSEMIRROR_DOCUMENT"] = "invalidProsemirrorDocument";
|
|
152
146
|
ACTION["DOCUMENT_PROCESSING_ERROR"] = "documentProcessingErrorV2";
|
|
153
|
-
ACTION["RENDERER_TTI"] = "tti";
|
|
154
147
|
ACTION["CRASHED"] = "unhandledErrorCaughtV2";
|
|
155
148
|
ACTION["SELECT_ALL_CAUGHT"] = "selectAllCaught";
|
|
156
149
|
ACTION["SELECT_ALL_ESCAPED"] = "selectAllEscaped";
|
|
@@ -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 = "
|
|
10
|
+
var packageVersion = "105.0.0";
|
|
11
11
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
12
12
|
// Remove URL as it has UGC
|
|
13
13
|
// Ignored via go/ees007
|
|
@@ -8,5 +8,5 @@ export var SmartCardSharedCssClassName = {
|
|
|
8
8
|
};
|
|
9
9
|
export var smartCardSharedStyles = "\n .".concat(SmartCardSharedCssClassName.BLOCK_CARD_CONTAINER, " {\n display: block;\n margin: ").concat(blockNodesVerticalMargin, " 0 0;\n max-width: ").concat(8 * 95, "px;\n }\n");
|
|
10
10
|
export var getSmartCardSharedStyles = function getSmartCardSharedStyles() {
|
|
11
|
-
return "\n .".concat(SmartCardSharedCssClassName.BLOCK_CARD_CONTAINER, " {\n display: block;\n margin: ").concat(blockNodesVerticalMargin, " 0 0;\n max-width: ").concat(8 * 95, "px;\n }\n\n .").concat(SmartCardSharedCssClassName.
|
|
11
|
+
return "\n .".concat(SmartCardSharedCssClassName.BLOCK_CARD_CONTAINER, " {\n display: block;\n margin: ").concat(blockNodesVerticalMargin, " 0 0;\n max-width: ").concat(8 * 95, "px;\n }\n\n .").concat(SmartCardSharedCssClassName.BLOCK_CARD_CONTAINER, " {\n /* EDM-11991: Fix list plugin adding padding to ADS AvatarGroup start */\n ul, ol {\n padding-left: inherit;\n }\n /* EDM-11991: Fix list plugin add padding to ADS AvatarGroup end */\n }\n");
|
|
12
12
|
};
|
|
@@ -20,7 +20,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
|
|
|
20
20
|
import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
21
21
|
import Layer from '../Layer';
|
|
22
22
|
var packageName = "@atlaskit/editor-common";
|
|
23
|
-
var packageVersion = "
|
|
23
|
+
var packageVersion = "105.0.0";
|
|
24
24
|
var halfFocusRing = 1;
|
|
25
25
|
var dropOffset = '0, 8';
|
|
26
26
|
// Ignored via go/ees005
|
|
@@ -48,7 +48,6 @@ export declare enum ACTION {
|
|
|
48
48
|
EDITOR_CRASHED = "unhandledErrorCaught",
|
|
49
49
|
EDITOR_CRASHED_ADDITIONAL_INFORMATION = "unhandledErrorCaughtAdditionalInfov2",
|
|
50
50
|
EDITOR_MOUNTED = "mounted",
|
|
51
|
-
EDITOR_TTI = "tti",
|
|
52
51
|
EDITOR_CONTENT_RETRIEVAL_PERFORMED = "contentRetrievalPerformed",
|
|
53
52
|
RE_RENDERED = "reRendered",
|
|
54
53
|
ENDED = "ended",
|
|
@@ -74,10 +73,6 @@ export declare enum ACTION {
|
|
|
74
73
|
INITIALISED_FRAGMENT_MARK = "initialisedFragmentMark",
|
|
75
74
|
INPUT_PERF_SAMPLING = "inputPerfSampling",
|
|
76
75
|
INPUT_PERF_SAMPLING_AVG = "inputPerfSamplingAvg",
|
|
77
|
-
INPUT_PERF_SAMPLING_SINGLE_KEYPRESS = "inputPerfSamplingSingleKeypress",
|
|
78
|
-
INPUT_PERF_SAMPLING_SINGLE_KEYPRESS_AVG = "inputPerfSamplingSingleKeypressAvg",
|
|
79
|
-
INPUT_PERF_SAMPLING_RENDERED = "inputPerfSamplingRendered",
|
|
80
|
-
INPUT_PERF_SAMPLING_RENDERED_AVG = "inputPerfSamplingRenderedAvg",
|
|
81
76
|
INSERTED = "inserted",
|
|
82
77
|
INVALID_DOCUMENT_ENCOUNTERED = "invalidDocumentEncountered",
|
|
83
78
|
INVOKED = "invoked",
|
|
@@ -117,7 +112,6 @@ export declare enum ACTION {
|
|
|
117
112
|
INDENTATION_MARKS_TRANSFORMED = "indentationMarksTransformed",
|
|
118
113
|
INVALID_MEDIA_CONTENT_TRANSFORMED = "invalidMediaContentTransformed",
|
|
119
114
|
TOGGLE_EXPAND = "toggleExpand",
|
|
120
|
-
TRANSACTION_DISPATCHED = "transactionDispatched",
|
|
121
115
|
TRANSACTION_MUTATED_AFTER_DISPATCH = "transactionMutatedAfterDispatched",
|
|
122
116
|
TYPING_FINISHED = "typingFinished",
|
|
123
117
|
TYPING_STARTED = "typingStarted",
|
|
@@ -149,7 +143,6 @@ export declare enum ACTION {
|
|
|
149
143
|
REMOVE_ICON = "removedIcon",
|
|
150
144
|
INVALID_PROSEMIRROR_DOCUMENT = "invalidProsemirrorDocument",
|
|
151
145
|
DOCUMENT_PROCESSING_ERROR = "documentProcessingErrorV2",
|
|
152
|
-
RENDERER_TTI = "tti",
|
|
153
146
|
CRASHED = "unhandledErrorCaughtV2",
|
|
154
147
|
SELECT_ALL_CAUGHT = "selectAllCaught",
|
|
155
148
|
SELECT_ALL_ESCAPED = "selectAllEscaped",
|
|
@@ -4,7 +4,6 @@ import type { PropsDifference, ShallowPropsDifference } from '../../utils';
|
|
|
4
4
|
import type { SEVERITY } from '../../utils/analytics';
|
|
5
5
|
import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, INPUT_METHOD } from './enums';
|
|
6
6
|
import type { AnnotationAEP } from './inline-comment-events';
|
|
7
|
-
import type { PluginPerformanceReportData } from './performance-report';
|
|
8
7
|
import type { OperationalAEP, OperationalAEPWithObjectId, TrackAEP, UIAEP } from './utils';
|
|
9
8
|
export declare enum PLATFORMS {
|
|
10
9
|
NATIVE = "mobileNative",
|
|
@@ -45,14 +44,6 @@ type EditorPerfAEP = OperationalAEPWithObjectId<ACTION.EDITOR_MOUNTED | ACTION.P
|
|
|
45
44
|
severity?: SEVERITY;
|
|
46
45
|
distortedDuration?: boolean;
|
|
47
46
|
}>;
|
|
48
|
-
type EditorTTIAEP = OperationalAEP<ACTION.EDITOR_TTI, ACTION_SUBJECT.EDITOR, undefined, {
|
|
49
|
-
tti: number;
|
|
50
|
-
ttiFromInvocation: number;
|
|
51
|
-
canceled: boolean;
|
|
52
|
-
ttiSeverity?: SEVERITY;
|
|
53
|
-
ttiFromInvocationSeverity?: SEVERITY;
|
|
54
|
-
distortedDuration: boolean;
|
|
55
|
-
}>;
|
|
56
47
|
type EditorContentRetrievalPerformedAEP = OperationalAEP<ACTION.EDITOR_CONTENT_RETRIEVAL_PERFORMED, ACTION_SUBJECT.EDITOR, undefined, {
|
|
57
48
|
success: boolean;
|
|
58
49
|
errorInfo?: string;
|
|
@@ -75,13 +66,13 @@ type SlowInputAEP = OperationalAEPWithObjectId<ACTION.SLOW_INPUT, ACTION_SUBJECT
|
|
|
75
66
|
nodeSize: number;
|
|
76
67
|
nodeCount?: Record<string, number>;
|
|
77
68
|
}>;
|
|
78
|
-
type
|
|
69
|
+
type InputPerfSamplingAEP = OperationalAEPWithObjectId<ACTION.INPUT_PERF_SAMPLING, ACTION_SUBJECT.EDITOR, undefined, {
|
|
79
70
|
time: number;
|
|
80
71
|
nodeSize: number;
|
|
81
72
|
nodeCount?: Record<string, number>;
|
|
82
73
|
severity?: SEVERITY;
|
|
83
74
|
}>;
|
|
84
|
-
type InputPerfSamplingAvgAEP = OperationalAEPWithObjectId<ACTION.INPUT_PERF_SAMPLING_AVG
|
|
75
|
+
type InputPerfSamplingAvgAEP = OperationalAEPWithObjectId<ACTION.INPUT_PERF_SAMPLING_AVG, ACTION_SUBJECT.EDITOR, undefined, {
|
|
85
76
|
mean: number;
|
|
86
77
|
median: number;
|
|
87
78
|
sampleSize: number;
|
|
@@ -89,10 +80,6 @@ type InputPerfSamplingAvgAEP = OperationalAEPWithObjectId<ACTION.INPUT_PERF_SAMP
|
|
|
89
80
|
nodeSize: number;
|
|
90
81
|
severity?: SEVERITY;
|
|
91
82
|
}>;
|
|
92
|
-
type DispatchedTransactionAEP = OperationalAEP<ACTION.TRANSACTION_DISPATCHED, ACTION_SUBJECT.EDITOR, undefined, {
|
|
93
|
-
report: PluginPerformanceReportData;
|
|
94
|
-
participants: number;
|
|
95
|
-
}>;
|
|
96
83
|
type TransactionMutatedAEP = OperationalAEP<ACTION.TRANSACTION_MUTATED_AFTER_DISPATCH, ACTION_SUBJECT.EDITOR, undefined, {
|
|
97
84
|
pluginKey: string;
|
|
98
85
|
}>;
|
|
@@ -209,5 +196,5 @@ type CopyLinkToAnchorButtonAEP = ButtonAEP<ACTION_SUBJECT_ID.COPY_LINK_TO_ANCHOR
|
|
|
209
196
|
extensionType?: string;
|
|
210
197
|
isLivePage?: boolean;
|
|
211
198
|
}>;
|
|
212
|
-
export type GeneralEventPayload<T = void> = AnnotateButtonAEP | AnnotationAEP | BrowserFreezePayload | ButtonFeedbackAEP | ButtonHelpAEP | ButtonUploadMediaAEP | ColorPickerAEP |
|
|
199
|
+
export type GeneralEventPayload<T = void> = AnnotateButtonAEP | AnnotationAEP | 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;
|
|
213
200
|
export {};
|
|
@@ -48,7 +48,6 @@ export declare enum ACTION {
|
|
|
48
48
|
EDITOR_CRASHED = "unhandledErrorCaught",
|
|
49
49
|
EDITOR_CRASHED_ADDITIONAL_INFORMATION = "unhandledErrorCaughtAdditionalInfov2",
|
|
50
50
|
EDITOR_MOUNTED = "mounted",
|
|
51
|
-
EDITOR_TTI = "tti",
|
|
52
51
|
EDITOR_CONTENT_RETRIEVAL_PERFORMED = "contentRetrievalPerformed",
|
|
53
52
|
RE_RENDERED = "reRendered",
|
|
54
53
|
ENDED = "ended",
|
|
@@ -74,10 +73,6 @@ export declare enum ACTION {
|
|
|
74
73
|
INITIALISED_FRAGMENT_MARK = "initialisedFragmentMark",
|
|
75
74
|
INPUT_PERF_SAMPLING = "inputPerfSampling",
|
|
76
75
|
INPUT_PERF_SAMPLING_AVG = "inputPerfSamplingAvg",
|
|
77
|
-
INPUT_PERF_SAMPLING_SINGLE_KEYPRESS = "inputPerfSamplingSingleKeypress",
|
|
78
|
-
INPUT_PERF_SAMPLING_SINGLE_KEYPRESS_AVG = "inputPerfSamplingSingleKeypressAvg",
|
|
79
|
-
INPUT_PERF_SAMPLING_RENDERED = "inputPerfSamplingRendered",
|
|
80
|
-
INPUT_PERF_SAMPLING_RENDERED_AVG = "inputPerfSamplingRenderedAvg",
|
|
81
76
|
INSERTED = "inserted",
|
|
82
77
|
INVALID_DOCUMENT_ENCOUNTERED = "invalidDocumentEncountered",
|
|
83
78
|
INVOKED = "invoked",
|
|
@@ -117,7 +112,6 @@ export declare enum ACTION {
|
|
|
117
112
|
INDENTATION_MARKS_TRANSFORMED = "indentationMarksTransformed",
|
|
118
113
|
INVALID_MEDIA_CONTENT_TRANSFORMED = "invalidMediaContentTransformed",
|
|
119
114
|
TOGGLE_EXPAND = "toggleExpand",
|
|
120
|
-
TRANSACTION_DISPATCHED = "transactionDispatched",
|
|
121
115
|
TRANSACTION_MUTATED_AFTER_DISPATCH = "transactionMutatedAfterDispatched",
|
|
122
116
|
TYPING_FINISHED = "typingFinished",
|
|
123
117
|
TYPING_STARTED = "typingStarted",
|
|
@@ -149,7 +143,6 @@ export declare enum ACTION {
|
|
|
149
143
|
REMOVE_ICON = "removedIcon",
|
|
150
144
|
INVALID_PROSEMIRROR_DOCUMENT = "invalidProsemirrorDocument",
|
|
151
145
|
DOCUMENT_PROCESSING_ERROR = "documentProcessingErrorV2",
|
|
152
|
-
RENDERER_TTI = "tti",
|
|
153
146
|
CRASHED = "unhandledErrorCaughtV2",
|
|
154
147
|
SELECT_ALL_CAUGHT = "selectAllCaught",
|
|
155
148
|
SELECT_ALL_ESCAPED = "selectAllEscaped",
|
|
@@ -4,7 +4,6 @@ import type { PropsDifference, ShallowPropsDifference } from '../../utils';
|
|
|
4
4
|
import type { SEVERITY } from '../../utils/analytics';
|
|
5
5
|
import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, INPUT_METHOD } from './enums';
|
|
6
6
|
import type { AnnotationAEP } from './inline-comment-events';
|
|
7
|
-
import type { PluginPerformanceReportData } from './performance-report';
|
|
8
7
|
import type { OperationalAEP, OperationalAEPWithObjectId, TrackAEP, UIAEP } from './utils';
|
|
9
8
|
export declare enum PLATFORMS {
|
|
10
9
|
NATIVE = "mobileNative",
|
|
@@ -45,14 +44,6 @@ type EditorPerfAEP = OperationalAEPWithObjectId<ACTION.EDITOR_MOUNTED | ACTION.P
|
|
|
45
44
|
severity?: SEVERITY;
|
|
46
45
|
distortedDuration?: boolean;
|
|
47
46
|
}>;
|
|
48
|
-
type EditorTTIAEP = OperationalAEP<ACTION.EDITOR_TTI, ACTION_SUBJECT.EDITOR, undefined, {
|
|
49
|
-
tti: number;
|
|
50
|
-
ttiFromInvocation: number;
|
|
51
|
-
canceled: boolean;
|
|
52
|
-
ttiSeverity?: SEVERITY;
|
|
53
|
-
ttiFromInvocationSeverity?: SEVERITY;
|
|
54
|
-
distortedDuration: boolean;
|
|
55
|
-
}>;
|
|
56
47
|
type EditorContentRetrievalPerformedAEP = OperationalAEP<ACTION.EDITOR_CONTENT_RETRIEVAL_PERFORMED, ACTION_SUBJECT.EDITOR, undefined, {
|
|
57
48
|
success: boolean;
|
|
58
49
|
errorInfo?: string;
|
|
@@ -75,13 +66,13 @@ type SlowInputAEP = OperationalAEPWithObjectId<ACTION.SLOW_INPUT, ACTION_SUBJECT
|
|
|
75
66
|
nodeSize: number;
|
|
76
67
|
nodeCount?: Record<string, number>;
|
|
77
68
|
}>;
|
|
78
|
-
type
|
|
69
|
+
type InputPerfSamplingAEP = OperationalAEPWithObjectId<ACTION.INPUT_PERF_SAMPLING, ACTION_SUBJECT.EDITOR, undefined, {
|
|
79
70
|
time: number;
|
|
80
71
|
nodeSize: number;
|
|
81
72
|
nodeCount?: Record<string, number>;
|
|
82
73
|
severity?: SEVERITY;
|
|
83
74
|
}>;
|
|
84
|
-
type InputPerfSamplingAvgAEP = OperationalAEPWithObjectId<ACTION.INPUT_PERF_SAMPLING_AVG
|
|
75
|
+
type InputPerfSamplingAvgAEP = OperationalAEPWithObjectId<ACTION.INPUT_PERF_SAMPLING_AVG, ACTION_SUBJECT.EDITOR, undefined, {
|
|
85
76
|
mean: number;
|
|
86
77
|
median: number;
|
|
87
78
|
sampleSize: number;
|
|
@@ -89,10 +80,6 @@ type InputPerfSamplingAvgAEP = OperationalAEPWithObjectId<ACTION.INPUT_PERF_SAMP
|
|
|
89
80
|
nodeSize: number;
|
|
90
81
|
severity?: SEVERITY;
|
|
91
82
|
}>;
|
|
92
|
-
type DispatchedTransactionAEP = OperationalAEP<ACTION.TRANSACTION_DISPATCHED, ACTION_SUBJECT.EDITOR, undefined, {
|
|
93
|
-
report: PluginPerformanceReportData;
|
|
94
|
-
participants: number;
|
|
95
|
-
}>;
|
|
96
83
|
type TransactionMutatedAEP = OperationalAEP<ACTION.TRANSACTION_MUTATED_AFTER_DISPATCH, ACTION_SUBJECT.EDITOR, undefined, {
|
|
97
84
|
pluginKey: string;
|
|
98
85
|
}>;
|
|
@@ -209,5 +196,5 @@ type CopyLinkToAnchorButtonAEP = ButtonAEP<ACTION_SUBJECT_ID.COPY_LINK_TO_ANCHOR
|
|
|
209
196
|
extensionType?: string;
|
|
210
197
|
isLivePage?: boolean;
|
|
211
198
|
}>;
|
|
212
|
-
export type GeneralEventPayload<T = void> = AnnotateButtonAEP | AnnotationAEP | BrowserFreezePayload | ButtonFeedbackAEP | ButtonHelpAEP | ButtonUploadMediaAEP | ColorPickerAEP |
|
|
199
|
+
export type GeneralEventPayload<T = void> = AnnotateButtonAEP | AnnotationAEP | 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;
|
|
213
200
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "105.0.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/"
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
"@atlaskit/emoji": "^69.1.0",
|
|
141
141
|
"@atlaskit/icon": "^26.0.0",
|
|
142
142
|
"@atlaskit/icon-object": "^7.1.0",
|
|
143
|
-
"@atlaskit/link-datasource": "^4.
|
|
143
|
+
"@atlaskit/link-datasource": "^4.10.0",
|
|
144
144
|
"@atlaskit/link-picker": "^3.2.0",
|
|
145
145
|
"@atlaskit/media-card": "^79.2.0",
|
|
146
146
|
"@atlaskit/media-client": "^33.0.0",
|
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
"@atlaskit/popper": "^7.0.0",
|
|
159
159
|
"@atlaskit/primitives": "^14.7.0",
|
|
160
160
|
"@atlaskit/profilecard": "^23.11.0",
|
|
161
|
-
"@atlaskit/react-ufo": "^3.
|
|
161
|
+
"@atlaskit/react-ufo": "^3.11.0",
|
|
162
162
|
"@atlaskit/section-message": "^8.2.0",
|
|
163
163
|
"@atlaskit/smart-card": "^37.1.0",
|
|
164
164
|
"@atlaskit/smart-user-picker": "^8.0.0",
|