@atlaskit/editor-common 121.3.1 → 121.4.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 +16 -0
- package/dist/cjs/ai-messages/ai-suggestions.js +5 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/ai-messages/ai-suggestions.js +5 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/ai-messages/ai-suggestions.js +5 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/ai-messages/ai-suggestions.d.ts +5 -0
- package/dist/types/analytics/types/ai-suggestions-events.d.ts +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 121.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`e7479a7921ae3`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e7479a7921ae3) -
|
|
8
|
+
Add `suggestionsPanelHeader` to AI suggestions generation analytics entry points for the
|
|
9
|
+
`platform_editor_ai_content_suggested_edits` flow.
|
|
10
|
+
- [`d7c649899afbd`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d7c649899afbd) -
|
|
11
|
+
Show fallback author tooltips and render the Rovo suggestion avatar at 24px.
|
|
12
|
+
|
|
13
|
+
Add a localized Rovo author label for suggestion avatar accessibility and tooltip fallbacks.
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
3
19
|
## 121.3.1
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -141,6 +141,11 @@ var aiSuggestionsMessages = exports.aiSuggestionsMessages = (0, _reactIntl.defin
|
|
|
141
141
|
defaultMessage: 'Rovo',
|
|
142
142
|
description: 'Deprecated title for Rovo branding on the AI suggestions card'
|
|
143
143
|
},
|
|
144
|
+
cardRovoAuthorLabel: {
|
|
145
|
+
id: 'editor-common.ai-messages.ai-suggestions.cardRovoAuthorLabel',
|
|
146
|
+
defaultMessage: 'Rovo',
|
|
147
|
+
description: 'Accessible name and tooltip identity for suggestions without a named agent'
|
|
148
|
+
},
|
|
144
149
|
cardAuthorsTooltipLabel: {
|
|
145
150
|
id: 'fabric.editor.ai.suggestions.card.authorsTooltipLabel.non-final',
|
|
146
151
|
defaultMessage: '{agentName} with {userName}',
|
|
@@ -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 = "121.3.
|
|
30
|
+
var packageVersion = "121.3.1";
|
|
31
31
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
32
32
|
// Remove URL as it has UGC
|
|
33
33
|
// 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 = "121.3.
|
|
27
|
+
var packageVersion = "121.3.1";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var fadeIn = (0, _react2.keyframes)({
|
|
@@ -135,6 +135,11 @@ export const aiSuggestionsMessages = defineMessages({
|
|
|
135
135
|
defaultMessage: 'Rovo',
|
|
136
136
|
description: 'Deprecated title for Rovo branding on the AI suggestions card'
|
|
137
137
|
},
|
|
138
|
+
cardRovoAuthorLabel: {
|
|
139
|
+
id: 'editor-common.ai-messages.ai-suggestions.cardRovoAuthorLabel',
|
|
140
|
+
defaultMessage: 'Rovo',
|
|
141
|
+
description: 'Accessible name and tooltip identity for suggestions without a named agent'
|
|
142
|
+
},
|
|
138
143
|
cardAuthorsTooltipLabel: {
|
|
139
144
|
id: 'fabric.editor.ai.suggestions.card.authorsTooltipLabel.non-final',
|
|
140
145
|
defaultMessage: '{agentName} with {userName}',
|
|
@@ -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 = "121.3.
|
|
16
|
+
const packageVersion = "121.3.1";
|
|
17
17
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
18
18
|
// Remove URL as it has UGC
|
|
19
19
|
// Ignored via go/ees007
|
|
@@ -14,7 +14,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
|
14
14
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
15
15
|
import Layer from '../Layer';
|
|
16
16
|
const packageName = "@atlaskit/editor-common";
|
|
17
|
-
const packageVersion = "121.3.
|
|
17
|
+
const packageVersion = "121.3.1";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -135,6 +135,11 @@ export var aiSuggestionsMessages = defineMessages({
|
|
|
135
135
|
defaultMessage: 'Rovo',
|
|
136
136
|
description: 'Deprecated title for Rovo branding on the AI suggestions card'
|
|
137
137
|
},
|
|
138
|
+
cardRovoAuthorLabel: {
|
|
139
|
+
id: 'editor-common.ai-messages.ai-suggestions.cardRovoAuthorLabel',
|
|
140
|
+
defaultMessage: 'Rovo',
|
|
141
|
+
description: 'Accessible name and tooltip identity for suggestions without a named agent'
|
|
142
|
+
},
|
|
138
143
|
cardAuthorsTooltipLabel: {
|
|
139
144
|
id: 'fabric.editor.ai.suggestions.card.authorsTooltipLabel.non-final',
|
|
140
145
|
defaultMessage: '{agentName} with {userName}',
|
|
@@ -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 = "121.3.
|
|
22
|
+
var packageVersion = "121.3.1";
|
|
23
23
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
24
24
|
// Remove URL as it has UGC
|
|
25
25
|
// Ignored via go/ees007
|
|
@@ -21,7 +21,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
|
21
21
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
22
22
|
import Layer from '../Layer';
|
|
23
23
|
var packageName = "@atlaskit/editor-common";
|
|
24
|
-
var packageVersion = "121.3.
|
|
24
|
+
var packageVersion = "121.3.1";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -104,6 +104,11 @@ export declare const aiSuggestionsMessages: {
|
|
|
104
104
|
description: string;
|
|
105
105
|
id: string;
|
|
106
106
|
};
|
|
107
|
+
cardRovoAuthorLabel: {
|
|
108
|
+
defaultMessage: string;
|
|
109
|
+
description: string;
|
|
110
|
+
id: string;
|
|
111
|
+
};
|
|
107
112
|
/**
|
|
108
113
|
* @private
|
|
109
114
|
* @deprecated The suggestion card no longer displays a Rovo text label.
|
|
@@ -5,7 +5,7 @@ export type AiSuggestionsEntryPoint = 'primaryToolbar'
|
|
|
5
5
|
* Legacy entry point retained for the suggestions surface in the comments panel.
|
|
6
6
|
* Use `suggestionsPanelEmptyState` for the standalone suggestions panel.
|
|
7
7
|
*/
|
|
8
|
-
| 'commentsEmptyState' | 'suggestionsPanelEmptyState' | 'objectSidebarControl'
|
|
8
|
+
| 'commentsEmptyState' | 'suggestionsPanelEmptyState' | 'suggestionsPanelHeader' | 'objectSidebarControl'
|
|
9
9
|
/**
|
|
10
10
|
* Generation started automatically because a suggestions surface was opened
|
|
11
11
|
* with nothing to show — no explicit user action. Kept distinct from
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "121.
|
|
3
|
+
"version": "121.4.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/"
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"@atlaskit/feature-gate-js-client": "^6.0.0",
|
|
55
55
|
"@atlaskit/icon": "^37.6.0",
|
|
56
56
|
"@atlaskit/link": "^5.1.0",
|
|
57
|
-
"@atlaskit/link-datasource": "^6.
|
|
57
|
+
"@atlaskit/link-datasource": "^6.13.0",
|
|
58
58
|
"@atlaskit/link-picker": "^6.8.0",
|
|
59
59
|
"@atlaskit/media-card": "^81.10.0",
|
|
60
60
|
"@atlaskit/media-client": "^38.1.0",
|