@atlaskit/mention 30.8.0 → 30.9.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 +19 -0
- package/dist/cjs/components/Mention/MentionInternal.js +1 -1
- package/dist/cjs/components/MentionAvatar/index.js +1 -1
- package/dist/cjs/util/package-version.js +1 -1
- package/dist/es2019/components/Mention/MentionInternal.js +1 -1
- package/dist/es2019/components/MentionAvatar/index.js +1 -1
- package/dist/es2019/util/package-version.js +1 -1
- package/dist/esm/components/Mention/MentionInternal.js +1 -1
- package/dist/esm/components/MentionAvatar/index.js +1 -1
- package/dist/esm/util/package-version.js +1 -1
- package/package.json +8 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @atlaskit/mention
|
|
2
2
|
|
|
3
|
+
## 30.9.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`3d2733c4e7948`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3d2733c4e7948) -
|
|
8
|
+
Update i18n NPM package versions for editor,editor-extensions,activity-platform,media,elements
|
|
9
|
+
(Group 3)
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
15
|
+
## 30.8.1
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- [`a756e0d4e879f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a756e0d4e879f) -
|
|
20
|
+
Render hexagonal agent avatars in mention pickers when canvas-rovo-comment-sessions is enabled.
|
|
21
|
+
|
|
3
22
|
## 30.8.0
|
|
4
23
|
|
|
5
24
|
### Minor Changes
|
|
@@ -32,7 +32,7 @@ var MentionAvatar = exports.MentionAvatar = function MentionAvatar(_ref) {
|
|
|
32
32
|
|
|
33
33
|
// Agent providers can request GraphQL `identityAccount { picture }` and pass it as
|
|
34
34
|
// `avatarUrl`; this component only applies the hexagon agent shape.
|
|
35
|
-
var shouldRenderAgentMentionAvatar = (0, _isAppMention.isAppMention)(mention) && mention.appType === 'agent' && (0, _isExperimentEnabled.isExperimentEnabled)('rovo_chat_mention_agents');
|
|
35
|
+
var shouldRenderAgentMentionAvatar = (0, _isAppMention.isAppMention)(mention) && mention.appType === 'agent' && ((0, _isExperimentEnabled.isExperimentEnabled)('rovo_chat_mention_agents') || (0, _fg.fg)('canvas-rovo-comment-sessions'));
|
|
36
36
|
var avatarAppearance = shouldRenderAgentMentionAvatar ? 'hexagon' : (0, _fg.fg)('jira_ai_agent_avatar_issue_view_comment_mentions') ? (0, _getAppearance.default)(appType) : undefined;
|
|
37
37
|
return /*#__PURE__*/_react.default.createElement(_avatar.default, {
|
|
38
38
|
src: avatarUrl,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* MentionInternal.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* MentionInternal.tsx generated by @compiled/babel-plugin v3.0.4 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
4
4
|
import "./MentionInternal.compiled.css";
|
|
@@ -29,7 +29,7 @@ export const MentionAvatar = ({
|
|
|
29
29
|
|
|
30
30
|
// Agent providers can request GraphQL `identityAccount { picture }` and pass it as
|
|
31
31
|
// `avatarUrl`; this component only applies the hexagon agent shape.
|
|
32
|
-
const shouldRenderAgentMentionAvatar = isAppMention(mention) && mention.appType === 'agent' && isExperimentEnabled('rovo_chat_mention_agents');
|
|
32
|
+
const shouldRenderAgentMentionAvatar = isAppMention(mention) && mention.appType === 'agent' && (isExperimentEnabled('rovo_chat_mention_agents') || fg('canvas-rovo-comment-sessions'));
|
|
33
33
|
const avatarAppearance = shouldRenderAgentMentionAvatar ? 'hexagon' : fg('jira_ai_agent_avatar_issue_view_comment_mentions') ? getAppearanceForAppType(appType) : undefined;
|
|
34
34
|
return /*#__PURE__*/React.createElement(Avatar, {
|
|
35
35
|
src: avatarUrl,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export const packageVersion = "30.
|
|
1
|
+
export const packageVersion = "30.8.1";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* MentionInternal.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* MentionInternal.tsx generated by @compiled/babel-plugin v3.0.4 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
4
4
|
import _createClass from "@babel/runtime/helpers/createClass";
|
|
@@ -25,7 +25,7 @@ export var MentionAvatar = function MentionAvatar(_ref) {
|
|
|
25
25
|
|
|
26
26
|
// Agent providers can request GraphQL `identityAccount { picture }` and pass it as
|
|
27
27
|
// `avatarUrl`; this component only applies the hexagon agent shape.
|
|
28
|
-
var shouldRenderAgentMentionAvatar = isAppMention(mention) && mention.appType === 'agent' && isExperimentEnabled('rovo_chat_mention_agents');
|
|
28
|
+
var shouldRenderAgentMentionAvatar = isAppMention(mention) && mention.appType === 'agent' && (isExperimentEnabled('rovo_chat_mention_agents') || fg('canvas-rovo-comment-sessions'));
|
|
29
29
|
var avatarAppearance = shouldRenderAgentMentionAvatar ? 'hexagon' : fg('jira_ai_agent_avatar_issue_view_comment_mentions') ? getAppearanceForAppType(appType) : undefined;
|
|
30
30
|
return /*#__PURE__*/React.createElement(Avatar, {
|
|
31
31
|
src: avatarUrl,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export var packageVersion = "30.
|
|
1
|
+
export var packageVersion = "30.8.1";
|
package/package.json
CHANGED
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"access": "public"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@atlaskit/afm-i18n-platform-elements-mention": "2.
|
|
32
|
+
"@atlaskit/afm-i18n-platform-elements-mention": "2.306.0",
|
|
33
33
|
"@atlaskit/analytics-gas-types": "^6.2.0",
|
|
34
34
|
"@atlaskit/analytics-next": "^12.6.0",
|
|
35
35
|
"@atlaskit/avatar": "^30.1.0",
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
"@atlaskit/tag": "^17.1.0",
|
|
47
47
|
"@atlaskit/teams-avatar": "^4.2.0",
|
|
48
48
|
"@atlaskit/tmp-editor-statsig": "^260.0.0",
|
|
49
|
-
"@atlaskit/tokens": "^20.
|
|
49
|
+
"@atlaskit/tokens": "^20.11.0",
|
|
50
50
|
"@atlaskit/tooltip": "^24.4.0",
|
|
51
51
|
"@atlaskit/ufo": "^2.0.0",
|
|
52
|
-
"@atlaskit/user-picker": "^14.
|
|
52
|
+
"@atlaskit/user-picker": "^14.7.0",
|
|
53
53
|
"@atlaskit/util-service-support": "^7.4.0",
|
|
54
54
|
"@babel/runtime": "^7.0.0",
|
|
55
55
|
"@compiled/react": "^1.0.2",
|
|
@@ -108,6 +108,10 @@
|
|
|
108
108
|
"platform_editor_mention_avatar_observability": {
|
|
109
109
|
"type": "boolean"
|
|
110
110
|
},
|
|
111
|
+
"canvas-rovo-comment-sessions": {
|
|
112
|
+
"type": "boolean",
|
|
113
|
+
"referenceOnly": true
|
|
114
|
+
},
|
|
111
115
|
"rovo_chat_mention_agents": {
|
|
112
116
|
"type": "experiment",
|
|
113
117
|
"referenceOnly": true
|
|
@@ -130,5 +134,5 @@
|
|
|
130
134
|
"*.compiled.css"
|
|
131
135
|
],
|
|
132
136
|
"types": "dist/types/index.d.ts",
|
|
133
|
-
"version": "30.
|
|
137
|
+
"version": "30.9.0"
|
|
134
138
|
}
|