@atlaskit/editor-common 134.6.2 → 134.7.1
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/ai-suggestions-events.js +2 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/analytics/types/ai-suggestions-events.js +2 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/analytics/types/ai-suggestions-events.js +2 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/analytics/types/ai-suggestions-events.d.ts +3 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 134.7.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 134.7.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [`3e09cc46e3481`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3e09cc46e3481) -
|
|
14
|
+
Add the `CONTEXTUAL_NUDGE` AI suggestions entry point so analytics can tell reviews started from
|
|
15
|
+
the contextual nudge's call to action apart from other entry points.
|
|
16
|
+
|
|
3
17
|
## 134.6.2
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -22,6 +22,8 @@ var AiSuggestionsEntryPointValue = exports.AiSuggestionsEntryPointValue = /*#__P
|
|
|
22
22
|
AiSuggestionsEntryPointValue["SUGGESTIONS_PANEL_MOUNT"] = "suggestionsPanelMount";
|
|
23
23
|
/** The "Review" button on the follow-up card after the last suggestion is actioned. */
|
|
24
24
|
AiSuggestionsEntryPointValue["FOLLOW_UP_CARD"] = "followUpCard";
|
|
25
|
+
/** The call to action on the contextual nudge that points at the Review suggestions button. */
|
|
26
|
+
AiSuggestionsEntryPointValue["CONTEXTUAL_NUDGE"] = "contextualNudge";
|
|
25
27
|
return AiSuggestionsEntryPointValue;
|
|
26
28
|
}({});
|
|
27
29
|
var AiSuggestionsRightRailEntryPointValue = exports.AiSuggestionsRightRailEntryPointValue = /*#__PURE__*/function (AiSuggestionsRightRailEntryPointValue) {
|
|
@@ -27,7 +27,7 @@ var NETWORK_FAILURE_REGEX = /^network failure/i;
|
|
|
27
27
|
var RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
|
|
28
28
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
29
29
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
30
|
-
var packageVersion = "134.
|
|
30
|
+
var packageVersion = "134.7.0";
|
|
31
31
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
32
32
|
// Remove URL as it has UGC
|
|
33
33
|
// Ignored via go/ees007
|
|
@@ -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 = "134.
|
|
26
|
+
var packageVersion = "134.7.0";
|
|
27
27
|
var halfFocusRing = 1;
|
|
28
28
|
var dropOffset = '0, 8';
|
|
29
29
|
// Ignored via go/ees005
|
|
@@ -16,6 +16,8 @@ export let AiSuggestionsEntryPointValue = /*#__PURE__*/function (AiSuggestionsEn
|
|
|
16
16
|
AiSuggestionsEntryPointValue["SUGGESTIONS_PANEL_MOUNT"] = "suggestionsPanelMount";
|
|
17
17
|
/** The "Review" button on the follow-up card after the last suggestion is actioned. */
|
|
18
18
|
AiSuggestionsEntryPointValue["FOLLOW_UP_CARD"] = "followUpCard";
|
|
19
|
+
/** The call to action on the contextual nudge that points at the Review suggestions button. */
|
|
20
|
+
AiSuggestionsEntryPointValue["CONTEXTUAL_NUDGE"] = "contextualNudge";
|
|
19
21
|
return AiSuggestionsEntryPointValue;
|
|
20
22
|
}({});
|
|
21
23
|
export let AiSuggestionsRightRailEntryPointValue = /*#__PURE__*/function (AiSuggestionsRightRailEntryPointValue) {
|
|
@@ -13,7 +13,7 @@ const NETWORK_FAILURE_REGEX = /^network failure/i;
|
|
|
13
13
|
const RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
|
|
14
14
|
const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
15
15
|
const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
16
|
-
const packageVersion = "134.
|
|
16
|
+
const packageVersion = "134.7.0";
|
|
17
17
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
18
18
|
// Remove URL as it has UGC
|
|
19
19
|
// Ignored via go/ees007
|
|
@@ -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 = "134.
|
|
16
|
+
const packageVersion = "134.7.0";
|
|
17
17
|
const halfFocusRing = 1;
|
|
18
18
|
const dropOffset = '0, 8';
|
|
19
19
|
// Ignored via go/ees005
|
|
@@ -16,6 +16,8 @@ export var AiSuggestionsEntryPointValue = /*#__PURE__*/function (AiSuggestionsEn
|
|
|
16
16
|
AiSuggestionsEntryPointValue["SUGGESTIONS_PANEL_MOUNT"] = "suggestionsPanelMount";
|
|
17
17
|
/** The "Review" button on the follow-up card after the last suggestion is actioned. */
|
|
18
18
|
AiSuggestionsEntryPointValue["FOLLOW_UP_CARD"] = "followUpCard";
|
|
19
|
+
/** The call to action on the contextual nudge that points at the Review suggestions button. */
|
|
20
|
+
AiSuggestionsEntryPointValue["CONTEXTUAL_NUDGE"] = "contextualNudge";
|
|
19
21
|
return AiSuggestionsEntryPointValue;
|
|
20
22
|
}({});
|
|
21
23
|
export var AiSuggestionsRightRailEntryPointValue = /*#__PURE__*/function (AiSuggestionsRightRailEntryPointValue) {
|
|
@@ -19,7 +19,7 @@ var NETWORK_FAILURE_REGEX = /^network failure/i;
|
|
|
19
19
|
var RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
|
|
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 = "134.
|
|
22
|
+
var packageVersion = "134.7.0";
|
|
23
23
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
24
24
|
// Remove URL as it has UGC
|
|
25
25
|
// Ignored via go/ees007
|
|
@@ -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 = "134.
|
|
23
|
+
var packageVersion = "134.7.0";
|
|
24
24
|
var halfFocusRing = 1;
|
|
25
25
|
var dropOffset = '0, 8';
|
|
26
26
|
// Ignored via go/ees005
|
|
@@ -17,7 +17,9 @@ export declare enum AiSuggestionsEntryPointValue {
|
|
|
17
17
|
*/
|
|
18
18
|
SUGGESTIONS_PANEL_MOUNT = "suggestionsPanelMount",
|
|
19
19
|
/** The "Review" button on the follow-up card after the last suggestion is actioned. */
|
|
20
|
-
FOLLOW_UP_CARD = "followUpCard"
|
|
20
|
+
FOLLOW_UP_CARD = "followUpCard",
|
|
21
|
+
/** The call to action on the contextual nudge that points at the Review suggestions button. */
|
|
22
|
+
CONTEXTUAL_NUDGE = "contextualNudge"
|
|
21
23
|
}
|
|
22
24
|
export type AiSuggestionsEntryPoint = `${AiSuggestionsEntryPointValue}`;
|
|
23
25
|
export type AiSuggestionInteractionPoint = 'sidebar' | 'card' | 'statusBar';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "134.
|
|
3
|
+
"version": "134.7.1",
|
|
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/"
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"@atlaskit/task-decision": "^21.14.0",
|
|
86
86
|
"@atlaskit/teams-app-config": "^3.1.0",
|
|
87
87
|
"@atlaskit/textfield": "^10.3.0",
|
|
88
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
88
|
+
"@atlaskit/tmp-editor-statsig": "^254.0.0",
|
|
89
89
|
"@atlaskit/tokens": "^20.9.0",
|
|
90
90
|
"@atlaskit/tooltip": "^24.4.0",
|
|
91
91
|
"@atlaskit/width-detector": "^7.2.0",
|