@atlaskit/editor-common 108.6.3 → 108.7.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 +8 -0
- package/dist/cjs/analytics/types/enums.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/enums.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/enums.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/enums.d.ts +2 -0
- package/dist/types/analytics/types/view-events.d.ts +13 -1
- package/dist/types-ts4.5/analytics/types/enums.d.ts +2 -0
- package/dist/types-ts4.5/analytics/types/view-events.d.ts +13 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 108.7.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`5323167beaba0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5323167beaba0) -
|
|
8
|
+
EDITOR-1477: Add "button viewed" events to AI floating toolbar entry point button render paths
|
|
9
|
+
(and fix existing Rovo engagement platform breakage) (behind fg platform_editor_ai_aifc_analytics)
|
|
10
|
+
|
|
3
11
|
## 108.6.3
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -341,6 +341,8 @@ var ACTION_SUBJECT_ID = exports.ACTION_SUBJECT_ID = /*#__PURE__*/function (ACTIO
|
|
|
341
341
|
ACTION_SUBJECT_ID["AI_PROMPT_LINK_PICKER_BUTTON"] = "aiPromptLinkPickerButton";
|
|
342
342
|
ACTION_SUBJECT_ID["AI_PROMPT_MENTION_BUTTON"] = "aiPromptMentionButton";
|
|
343
343
|
ACTION_SUBJECT_ID["AI_PROACTIVE_FEEDBACK_DIALOG"] = "aiProactiveFeedbackDialog";
|
|
344
|
+
ACTION_SUBJECT_ID["AI_ASK_ROVO_BUTTON"] = "aiAskRovoButton";
|
|
345
|
+
ACTION_SUBJECT_ID["AI_HERO_PROMPT_BUTTON"] = "aiHeroPromptButton";
|
|
344
346
|
ACTION_SUBJECT_ID["ALL"] = "all";
|
|
345
347
|
ACTION_SUBJECT_ID["ALT_TEXT"] = "altText";
|
|
346
348
|
ACTION_SUBJECT_ID["ANNOTATE_BUTTON"] = "annotateButton";
|
|
@@ -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 = "108.6.
|
|
19
|
+
var packageVersion = "108.6.3";
|
|
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 = "108.6.
|
|
27
|
+
var packageVersion = "108.6.3";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var fadeIn = (0, _react2.keyframes)({
|
|
@@ -335,6 +335,8 @@ export let ACTION_SUBJECT_ID = /*#__PURE__*/function (ACTION_SUBJECT_ID) {
|
|
|
335
335
|
ACTION_SUBJECT_ID["AI_PROMPT_LINK_PICKER_BUTTON"] = "aiPromptLinkPickerButton";
|
|
336
336
|
ACTION_SUBJECT_ID["AI_PROMPT_MENTION_BUTTON"] = "aiPromptMentionButton";
|
|
337
337
|
ACTION_SUBJECT_ID["AI_PROACTIVE_FEEDBACK_DIALOG"] = "aiProactiveFeedbackDialog";
|
|
338
|
+
ACTION_SUBJECT_ID["AI_ASK_ROVO_BUTTON"] = "aiAskRovoButton";
|
|
339
|
+
ACTION_SUBJECT_ID["AI_HERO_PROMPT_BUTTON"] = "aiHeroPromptButton";
|
|
338
340
|
ACTION_SUBJECT_ID["ALL"] = "all";
|
|
339
341
|
ACTION_SUBJECT_ID["ALT_TEXT"] = "altText";
|
|
340
342
|
ACTION_SUBJECT_ID["ANNOTATE_BUTTON"] = "annotateButton";
|
|
@@ -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 = "108.6.
|
|
4
|
+
const packageVersion = "108.6.3";
|
|
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 = "108.6.
|
|
17
|
+
const packageVersion = "108.6.3";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -335,6 +335,8 @@ export var ACTION_SUBJECT_ID = /*#__PURE__*/function (ACTION_SUBJECT_ID) {
|
|
|
335
335
|
ACTION_SUBJECT_ID["AI_PROMPT_LINK_PICKER_BUTTON"] = "aiPromptLinkPickerButton";
|
|
336
336
|
ACTION_SUBJECT_ID["AI_PROMPT_MENTION_BUTTON"] = "aiPromptMentionButton";
|
|
337
337
|
ACTION_SUBJECT_ID["AI_PROACTIVE_FEEDBACK_DIALOG"] = "aiProactiveFeedbackDialog";
|
|
338
|
+
ACTION_SUBJECT_ID["AI_ASK_ROVO_BUTTON"] = "aiAskRovoButton";
|
|
339
|
+
ACTION_SUBJECT_ID["AI_HERO_PROMPT_BUTTON"] = "aiHeroPromptButton";
|
|
338
340
|
ACTION_SUBJECT_ID["ALL"] = "all";
|
|
339
341
|
ACTION_SUBJECT_ID["ALT_TEXT"] = "altText";
|
|
340
342
|
ACTION_SUBJECT_ID["ANNOTATE_BUTTON"] = "annotateButton";
|
|
@@ -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 = "108.6.
|
|
10
|
+
var packageVersion = "108.6.3";
|
|
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 = "108.6.
|
|
24
|
+
var packageVersion = "108.6.3";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -327,6 +327,8 @@ export declare enum ACTION_SUBJECT_ID {
|
|
|
327
327
|
AI_PROMPT_LINK_PICKER_BUTTON = "aiPromptLinkPickerButton",
|
|
328
328
|
AI_PROMPT_MENTION_BUTTON = "aiPromptMentionButton",
|
|
329
329
|
AI_PROACTIVE_FEEDBACK_DIALOG = "aiProactiveFeedbackDialog",
|
|
330
|
+
AI_ASK_ROVO_BUTTON = "aiAskRovoButton",
|
|
331
|
+
AI_HERO_PROMPT_BUTTON = "aiHeroPromptButton",
|
|
330
332
|
ALL = "all",
|
|
331
333
|
ALT_TEXT = "altText",
|
|
332
334
|
ANNOTATE_BUTTON = "annotateButton",
|
|
@@ -7,4 +7,16 @@ export type ViewInlineCommentsButtonEventAEP = UIAEP<ACTION.VIEWED, ACTION_SUBJE
|
|
|
7
7
|
isNonTextInlineNodeInludedInComment: boolean;
|
|
8
8
|
mode: MODE.EDITOR;
|
|
9
9
|
}, undefined>;
|
|
10
|
-
export type
|
|
10
|
+
export type ViewAIRovoButtonEventAEP = UIAEP<ACTION.VIEWED, ACTION_SUBJECT.BUTTON, ACTION_SUBJECT_ID.AI_ASK_ROVO_BUTTON, {
|
|
11
|
+
inputMethod: INPUT_METHOD.FLOATING_TB;
|
|
12
|
+
mode: MODE.EDITOR;
|
|
13
|
+
selectionCharCount: number;
|
|
14
|
+
selectionWordCount: number;
|
|
15
|
+
}, undefined>;
|
|
16
|
+
export type ViewAIHeroPromptButtonEventAEP = UIAEP<ACTION.VIEWED, ACTION_SUBJECT.BUTTON, ACTION_SUBJECT_ID.AI_HERO_PROMPT_BUTTON, {
|
|
17
|
+
inputMethod: INPUT_METHOD.FLOATING_TB;
|
|
18
|
+
mode: MODE.EDITOR;
|
|
19
|
+
selectionCharCount: number;
|
|
20
|
+
selectionWordCount: number;
|
|
21
|
+
}, undefined>;
|
|
22
|
+
export type ViewEventPayload = ViewAIRovoButtonEventAEP | ViewAIHeroPromptButtonEventAEP | ViewInlineCommentsButtonEventAEP;
|
|
@@ -327,6 +327,8 @@ export declare enum ACTION_SUBJECT_ID {
|
|
|
327
327
|
AI_PROMPT_LINK_PICKER_BUTTON = "aiPromptLinkPickerButton",
|
|
328
328
|
AI_PROMPT_MENTION_BUTTON = "aiPromptMentionButton",
|
|
329
329
|
AI_PROACTIVE_FEEDBACK_DIALOG = "aiProactiveFeedbackDialog",
|
|
330
|
+
AI_ASK_ROVO_BUTTON = "aiAskRovoButton",
|
|
331
|
+
AI_HERO_PROMPT_BUTTON = "aiHeroPromptButton",
|
|
330
332
|
ALL = "all",
|
|
331
333
|
ALT_TEXT = "altText",
|
|
332
334
|
ANNOTATE_BUTTON = "annotateButton",
|
|
@@ -7,4 +7,16 @@ export type ViewInlineCommentsButtonEventAEP = UIAEP<ACTION.VIEWED, ACTION_SUBJE
|
|
|
7
7
|
isNonTextInlineNodeInludedInComment: boolean;
|
|
8
8
|
mode: MODE.EDITOR;
|
|
9
9
|
}, undefined>;
|
|
10
|
-
export type
|
|
10
|
+
export type ViewAIRovoButtonEventAEP = UIAEP<ACTION.VIEWED, ACTION_SUBJECT.BUTTON, ACTION_SUBJECT_ID.AI_ASK_ROVO_BUTTON, {
|
|
11
|
+
inputMethod: INPUT_METHOD.FLOATING_TB;
|
|
12
|
+
mode: MODE.EDITOR;
|
|
13
|
+
selectionCharCount: number;
|
|
14
|
+
selectionWordCount: number;
|
|
15
|
+
}, undefined>;
|
|
16
|
+
export type ViewAIHeroPromptButtonEventAEP = UIAEP<ACTION.VIEWED, ACTION_SUBJECT.BUTTON, ACTION_SUBJECT_ID.AI_HERO_PROMPT_BUTTON, {
|
|
17
|
+
inputMethod: INPUT_METHOD.FLOATING_TB;
|
|
18
|
+
mode: MODE.EDITOR;
|
|
19
|
+
selectionCharCount: number;
|
|
20
|
+
selectionWordCount: number;
|
|
21
|
+
}, undefined>;
|
|
22
|
+
export type ViewEventPayload = ViewAIRovoButtonEventAEP | ViewAIHeroPromptButtonEventAEP | ViewInlineCommentsButtonEventAEP;
|
package/package.json
CHANGED