@atlaskit/rovo-agent-components 3.6.0 → 3.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 +7 -0
- package/README.md +4 -0
- package/dist/cjs/ui/agent-avatar/generated-avatars/assets/rovo-dev.js +33 -0
- package/dist/cjs/ui/agent-avatar/generated-avatars/index.js +19 -0
- package/dist/es2019/ui/agent-avatar/generated-avatars/assets/rovo-dev.js +25 -0
- package/dist/es2019/ui/agent-avatar/generated-avatars/index.js +15 -0
- package/dist/esm/ui/agent-avatar/generated-avatars/assets/rovo-dev.js +26 -0
- package/dist/esm/ui/agent-avatar/generated-avatars/index.js +17 -0
- package/dist/types/ui/agent-avatar/generated-avatars/assets/rovo-dev.d.ts +8 -0
- package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/assets/rovo-dev.d.ts +8 -0
- package/package.json +10 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @atlaskit/rovo-agent-components
|
|
2
2
|
|
|
3
|
+
## 3.7.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`ef771fd2f0150`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ef771fd2f0150) -
|
|
8
|
+
[ux] add RovoDev avatar into getAvatarRender based on agentNameId for TeamEU25
|
|
9
|
+
|
|
3
10
|
## 3.6.0
|
|
4
11
|
|
|
5
12
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -13,3 +13,7 @@ Detailed docs and example usage can be found [here](https://atlaskit.atlassian.c
|
|
|
13
13
|
This package was created mainly because there are other `@atlaskit/` packages that require some shared components
|
|
14
14
|
|
|
15
15
|
If possible, try build the components in `@atlassian/conversation-assistant-ui-components`, and only create one here if it's needed by other `@atlaskit/` packages
|
|
16
|
+
|
|
17
|
+
## Storybook locally
|
|
18
|
+
|
|
19
|
+
run `yarn start @atlaskit/rovo-agent-components` or `yarn start rovo-agent-components`
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = void 0;
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
var _default = exports.default = function _default(_ref) {
|
|
10
|
+
var size = _ref.size,
|
|
11
|
+
primaryColor = _ref.primaryColor,
|
|
12
|
+
secondaryColor = _ref.secondaryColor;
|
|
13
|
+
return /*#__PURE__*/_react.default.createElement("svg", {
|
|
14
|
+
width: size,
|
|
15
|
+
height: size,
|
|
16
|
+
viewBox: "0 0 55 55",
|
|
17
|
+
fill: "none",
|
|
18
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
19
|
+
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
20
|
+
d: "M24.519 0.843677C26.4682 -0.281225 28.8698 -0.281226 30.819 0.843676L49.189 11.445C51.1382 12.5699 52.339 14.6488 52.339 16.8986V38.1014C52.339 40.3512 51.1382 42.4301 49.189 43.555L30.819 54.1563C28.8698 55.2812 26.4683 55.2812 24.519 54.1563L6.14902 43.555C4.1998 42.4301 2.99902 40.3512 2.99902 38.1014V16.8986C2.99902 14.6488 4.1998 12.5699 6.14902 11.445L24.519 0.843677Z",
|
|
21
|
+
fill: "#94C748"
|
|
22
|
+
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
23
|
+
fillRule: "evenodd",
|
|
24
|
+
clipRule: "evenodd",
|
|
25
|
+
d: "M23.3318 13.9697L15.5293 18.4735C14.4398 19.0997 13.7715 20.2571 13.7715 21.5144V33.4974C13.7715 34.7498 14.4437 35.9122 15.5301 36.5388L17.38 37.6066L25.9098 42.5303C26.9767 43.1456 28.2896 43.1566 29.3652 42.563C29.3847 42.5479 29.4054 42.5339 29.4274 42.5213C30.1938 42.0792 30.7543 41.3703 31.0178 40.5513C31.1251 40.2128 31.1818 39.8551 31.1818 39.4889V34.8472L26.6669 32.2422L25.3659 31.4916C23.9377 30.6703 23.0613 29.152 23.0613 27.5059V15.5229C23.0613 15.0387 23.1379 14.5649 23.2823 14.1165C23.298 14.0672 23.3145 14.0183 23.3318 13.9697Z",
|
|
26
|
+
fill: "#101214"
|
|
27
|
+
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
28
|
+
fillRule: "evenodd",
|
|
29
|
+
clipRule: "evenodd",
|
|
30
|
+
d: "M29.4285 12.47C28.3616 11.8546 27.0488 11.8437 25.9731 12.4373C25.9537 12.4524 25.9305 12.4678 25.9085 12.4805C25.1429 12.9228 24.5833 13.6315 24.3202 14.4501C24.2132 14.7883 24.1566 15.1456 24.1566 15.5114V20.1531L28.5317 22.6774L29.9728 23.5089C31.4013 24.3301 32.277 25.8482 32.277 27.4944V39.4774C32.277 39.9623 32.2003 40.4367 32.0554 40.8857C32.0399 40.9343 32.0236 40.9826 32.0066 41.0306L39.809 36.5268C40.8986 35.9005 41.5669 34.7432 41.5669 33.4859V21.5029C41.5669 20.2505 40.8945 19.088 39.8082 18.4614L37.8186 17.313L29.4285 12.47Z",
|
|
31
|
+
fill: "#101214"
|
|
32
|
+
}));
|
|
33
|
+
};
|
|
@@ -12,6 +12,7 @@ var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
|
|
|
12
12
|
var _react = _interopRequireWildcard(require("react"));
|
|
13
13
|
var _avatar = require("@atlaskit/avatar");
|
|
14
14
|
var _css = require("@atlaskit/css");
|
|
15
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
15
16
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
16
17
|
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" != (0, _typeof2.default)(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
18
|
var styles = {
|
|
@@ -114,6 +115,11 @@ var ResearchScoutAvatar = /*#__PURE__*/(0, _react.lazy)(function () {
|
|
|
114
115
|
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-rovo-avatar-ResearchScoutAvatar"*/'./assets/research-scout'));
|
|
115
116
|
});
|
|
116
117
|
});
|
|
118
|
+
var RovoDevAvatar = /*#__PURE__*/(0, _react.lazy)(function () {
|
|
119
|
+
return Promise.resolve().then(function () {
|
|
120
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-rovo-avatar-RovoDevAvatar"*/'./assets/rovo-dev'));
|
|
121
|
+
});
|
|
122
|
+
});
|
|
117
123
|
var SocialMediaScribeAvatar = /*#__PURE__*/(0, _react.lazy)(function () {
|
|
118
124
|
return Promise.resolve().then(function () {
|
|
119
125
|
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-rovo-avatar-SocialMediaScribeAvatar"*/'./assets/social-media-scribe'));
|
|
@@ -327,11 +333,24 @@ var getNumberIdForAvatar = exports.getNumberIdForAvatar = function getNumberIdFo
|
|
|
327
333
|
}
|
|
328
334
|
return null;
|
|
329
335
|
};
|
|
336
|
+
var ROVO_DEV_AGENT_ID = '027f0676-e8e9-4939-8962-3850987d78bb';
|
|
330
337
|
var getAvatarRender = function getAvatarRender(_ref2) {
|
|
331
338
|
var agentNamedId = _ref2.agentNamedId,
|
|
332
339
|
agentId = _ref2.agentId,
|
|
333
340
|
agentIdentityAccountId = _ref2.agentIdentityAccountId,
|
|
334
341
|
size = _ref2.size;
|
|
342
|
+
//@TODO CRCS-3129: Remove Rovo Dev hardcoded icon after TeamEU demos
|
|
343
|
+
// Handle Rovo Dev agent avatar for TeamEU Demo
|
|
344
|
+
if (agentId === ROVO_DEV_AGENT_ID && (0, _platformFeatureFlags.fg)('jira_ai_force_rovo_dev_avatar')) {
|
|
345
|
+
return {
|
|
346
|
+
render: /*#__PURE__*/_react.default.createElement(RovoDevAvatar, {
|
|
347
|
+
size: _avatar.AVATAR_SIZES[size],
|
|
348
|
+
primaryColor: "",
|
|
349
|
+
secondaryColor: ""
|
|
350
|
+
}),
|
|
351
|
+
color: greenColor
|
|
352
|
+
};
|
|
353
|
+
}
|
|
335
354
|
if (typeof agentNamedId === 'string' && outOfTheBoxAgentAvatar[agentNamedId]) {
|
|
336
355
|
var ootbAvatarResult = outOfTheBoxAgentAvatar[agentNamedId];
|
|
337
356
|
return {
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export default (({
|
|
3
|
+
size,
|
|
4
|
+
primaryColor,
|
|
5
|
+
secondaryColor
|
|
6
|
+
}) => /*#__PURE__*/React.createElement("svg", {
|
|
7
|
+
width: size,
|
|
8
|
+
height: size,
|
|
9
|
+
viewBox: "0 0 55 55",
|
|
10
|
+
fill: "none",
|
|
11
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
12
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
13
|
+
d: "M24.519 0.843677C26.4682 -0.281225 28.8698 -0.281226 30.819 0.843676L49.189 11.445C51.1382 12.5699 52.339 14.6488 52.339 16.8986V38.1014C52.339 40.3512 51.1382 42.4301 49.189 43.555L30.819 54.1563C28.8698 55.2812 26.4683 55.2812 24.519 54.1563L6.14902 43.555C4.1998 42.4301 2.99902 40.3512 2.99902 38.1014V16.8986C2.99902 14.6488 4.1998 12.5699 6.14902 11.445L24.519 0.843677Z",
|
|
14
|
+
fill: "#94C748"
|
|
15
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
16
|
+
fillRule: "evenodd",
|
|
17
|
+
clipRule: "evenodd",
|
|
18
|
+
d: "M23.3318 13.9697L15.5293 18.4735C14.4398 19.0997 13.7715 20.2571 13.7715 21.5144V33.4974C13.7715 34.7498 14.4437 35.9122 15.5301 36.5388L17.38 37.6066L25.9098 42.5303C26.9767 43.1456 28.2896 43.1566 29.3652 42.563C29.3847 42.5479 29.4054 42.5339 29.4274 42.5213C30.1938 42.0792 30.7543 41.3703 31.0178 40.5513C31.1251 40.2128 31.1818 39.8551 31.1818 39.4889V34.8472L26.6669 32.2422L25.3659 31.4916C23.9377 30.6703 23.0613 29.152 23.0613 27.5059V15.5229C23.0613 15.0387 23.1379 14.5649 23.2823 14.1165C23.298 14.0672 23.3145 14.0183 23.3318 13.9697Z",
|
|
19
|
+
fill: "#101214"
|
|
20
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
21
|
+
fillRule: "evenodd",
|
|
22
|
+
clipRule: "evenodd",
|
|
23
|
+
d: "M29.4285 12.47C28.3616 11.8546 27.0488 11.8437 25.9731 12.4373C25.9537 12.4524 25.9305 12.4678 25.9085 12.4805C25.1429 12.9228 24.5833 13.6315 24.3202 14.4501C24.2132 14.7883 24.1566 15.1456 24.1566 15.5114V20.1531L28.5317 22.6774L29.9728 23.5089C31.4013 24.3301 32.277 25.8482 32.277 27.4944V39.4774C32.277 39.9623 32.2003 40.4367 32.0554 40.8857C32.0399 40.9343 32.0236 40.9826 32.0066 41.0306L39.809 36.5268C40.8986 35.9005 41.5669 34.7432 41.5669 33.4859V21.5029C41.5669 20.2505 40.8945 19.088 39.8082 18.4614L37.8186 17.313L29.4285 12.47Z",
|
|
24
|
+
fill: "#101214"
|
|
25
|
+
})));
|
|
@@ -4,6 +4,7 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
4
4
|
import React, { lazy, Suspense } from 'react';
|
|
5
5
|
import { AVATAR_SIZES } from '@atlaskit/avatar';
|
|
6
6
|
import { cx } from '@atlaskit/css';
|
|
7
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
7
8
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
8
9
|
const styles = {
|
|
9
10
|
image: "_5ral1dfr _4t3i1osq _1bsb1osq _1e0c1txw _1bah1h6o _4cvr1h6o",
|
|
@@ -29,6 +30,7 @@ const PitchPerfectorAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName
|
|
|
29
30
|
const ProductRequirementAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName: "@atlaskit-rovo-avatar-ProductRequirementAvatar"*/'./assets/product-requirement'));
|
|
30
31
|
const ReleaseNotesAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName: "@atlaskit-rovo-avatar-ReleaseNotesAvatar"*/'./assets/release-notes'));
|
|
31
32
|
const ResearchScoutAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName: "@atlaskit-rovo-avatar-ResearchScoutAvatar"*/'./assets/research-scout'));
|
|
33
|
+
const RovoDevAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName: "@atlaskit-rovo-avatar-RovoDevAvatar"*/'./assets/rovo-dev'));
|
|
32
34
|
const SocialMediaScribeAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName: "@atlaskit-rovo-avatar-SocialMediaScribeAvatar"*/'./assets/social-media-scribe'));
|
|
33
35
|
const TeamConnectionAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName: "@atlaskit-rovo-avatar-TeamConnectionAvatar"*/'./assets/team-connection'));
|
|
34
36
|
const WorkflowBuilderAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName: "@atlaskit-rovo-avatar-WorkflowBuilderAvatar"*/'./assets/workflow-builder'));
|
|
@@ -201,12 +203,25 @@ export const getNumberIdForAvatar = ({
|
|
|
201
203
|
}
|
|
202
204
|
return null;
|
|
203
205
|
};
|
|
206
|
+
const ROVO_DEV_AGENT_ID = '027f0676-e8e9-4939-8962-3850987d78bb';
|
|
204
207
|
const getAvatarRender = ({
|
|
205
208
|
agentNamedId,
|
|
206
209
|
agentId,
|
|
207
210
|
agentIdentityAccountId,
|
|
208
211
|
size
|
|
209
212
|
}) => {
|
|
213
|
+
//@TODO CRCS-3129: Remove Rovo Dev hardcoded icon after TeamEU demos
|
|
214
|
+
// Handle Rovo Dev agent avatar for TeamEU Demo
|
|
215
|
+
if (agentId === ROVO_DEV_AGENT_ID && fg('jira_ai_force_rovo_dev_avatar')) {
|
|
216
|
+
return {
|
|
217
|
+
render: /*#__PURE__*/React.createElement(RovoDevAvatar, {
|
|
218
|
+
size: AVATAR_SIZES[size],
|
|
219
|
+
primaryColor: "",
|
|
220
|
+
secondaryColor: ""
|
|
221
|
+
}),
|
|
222
|
+
color: greenColor
|
|
223
|
+
};
|
|
224
|
+
}
|
|
210
225
|
if (typeof agentNamedId === 'string' && outOfTheBoxAgentAvatar[agentNamedId]) {
|
|
211
226
|
const ootbAvatarResult = outOfTheBoxAgentAvatar[agentNamedId];
|
|
212
227
|
return {
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export default (function (_ref) {
|
|
3
|
+
var size = _ref.size,
|
|
4
|
+
primaryColor = _ref.primaryColor,
|
|
5
|
+
secondaryColor = _ref.secondaryColor;
|
|
6
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
7
|
+
width: size,
|
|
8
|
+
height: size,
|
|
9
|
+
viewBox: "0 0 55 55",
|
|
10
|
+
fill: "none",
|
|
11
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
12
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
13
|
+
d: "M24.519 0.843677C26.4682 -0.281225 28.8698 -0.281226 30.819 0.843676L49.189 11.445C51.1382 12.5699 52.339 14.6488 52.339 16.8986V38.1014C52.339 40.3512 51.1382 42.4301 49.189 43.555L30.819 54.1563C28.8698 55.2812 26.4683 55.2812 24.519 54.1563L6.14902 43.555C4.1998 42.4301 2.99902 40.3512 2.99902 38.1014V16.8986C2.99902 14.6488 4.1998 12.5699 6.14902 11.445L24.519 0.843677Z",
|
|
14
|
+
fill: "#94C748"
|
|
15
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
16
|
+
fillRule: "evenodd",
|
|
17
|
+
clipRule: "evenodd",
|
|
18
|
+
d: "M23.3318 13.9697L15.5293 18.4735C14.4398 19.0997 13.7715 20.2571 13.7715 21.5144V33.4974C13.7715 34.7498 14.4437 35.9122 15.5301 36.5388L17.38 37.6066L25.9098 42.5303C26.9767 43.1456 28.2896 43.1566 29.3652 42.563C29.3847 42.5479 29.4054 42.5339 29.4274 42.5213C30.1938 42.0792 30.7543 41.3703 31.0178 40.5513C31.1251 40.2128 31.1818 39.8551 31.1818 39.4889V34.8472L26.6669 32.2422L25.3659 31.4916C23.9377 30.6703 23.0613 29.152 23.0613 27.5059V15.5229C23.0613 15.0387 23.1379 14.5649 23.2823 14.1165C23.298 14.0672 23.3145 14.0183 23.3318 13.9697Z",
|
|
19
|
+
fill: "#101214"
|
|
20
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
21
|
+
fillRule: "evenodd",
|
|
22
|
+
clipRule: "evenodd",
|
|
23
|
+
d: "M29.4285 12.47C28.3616 11.8546 27.0488 11.8437 25.9731 12.4373C25.9537 12.4524 25.9305 12.4678 25.9085 12.4805C25.1429 12.9228 24.5833 13.6315 24.3202 14.4501C24.2132 14.7883 24.1566 15.1456 24.1566 15.5114V20.1531L28.5317 22.6774L29.9728 23.5089C31.4013 24.3301 32.277 25.8482 32.277 27.4944V39.4774C32.277 39.9623 32.2003 40.4367 32.0554 40.8857C32.0399 40.9343 32.0236 40.9826 32.0066 41.0306L39.809 36.5268C40.8986 35.9005 41.5669 34.7432 41.5669 33.4859V21.5029C41.5669 20.2505 40.8945 19.088 39.8082 18.4614L37.8186 17.313L29.4285 12.47Z",
|
|
24
|
+
fill: "#101214"
|
|
25
|
+
}));
|
|
26
|
+
});
|
|
@@ -4,6 +4,7 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
4
4
|
import React, { lazy, Suspense } from 'react';
|
|
5
5
|
import { AVATAR_SIZES } from '@atlaskit/avatar';
|
|
6
6
|
import { cx } from '@atlaskit/css';
|
|
7
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
7
8
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
8
9
|
var styles = {
|
|
9
10
|
image: "_5ral1dfr _4t3i1osq _1bsb1osq _1e0c1txw _1bah1h6o _4cvr1h6o",
|
|
@@ -67,6 +68,9 @@ var ReleaseNotesAvatar = /*#__PURE__*/lazy(function () {
|
|
|
67
68
|
var ResearchScoutAvatar = /*#__PURE__*/lazy(function () {
|
|
68
69
|
return import( /* webpackChunkName: "@atlaskit-rovo-avatar-ResearchScoutAvatar"*/'./assets/research-scout');
|
|
69
70
|
});
|
|
71
|
+
var RovoDevAvatar = /*#__PURE__*/lazy(function () {
|
|
72
|
+
return import( /* webpackChunkName: "@atlaskit-rovo-avatar-RovoDevAvatar"*/'./assets/rovo-dev');
|
|
73
|
+
});
|
|
70
74
|
var SocialMediaScribeAvatar = /*#__PURE__*/lazy(function () {
|
|
71
75
|
return import( /* webpackChunkName: "@atlaskit-rovo-avatar-SocialMediaScribeAvatar"*/'./assets/social-media-scribe');
|
|
72
76
|
});
|
|
@@ -274,11 +278,24 @@ export var getNumberIdForAvatar = function getNumberIdForAvatar(_ref) {
|
|
|
274
278
|
}
|
|
275
279
|
return null;
|
|
276
280
|
};
|
|
281
|
+
var ROVO_DEV_AGENT_ID = '027f0676-e8e9-4939-8962-3850987d78bb';
|
|
277
282
|
var getAvatarRender = function getAvatarRender(_ref2) {
|
|
278
283
|
var agentNamedId = _ref2.agentNamedId,
|
|
279
284
|
agentId = _ref2.agentId,
|
|
280
285
|
agentIdentityAccountId = _ref2.agentIdentityAccountId,
|
|
281
286
|
size = _ref2.size;
|
|
287
|
+
//@TODO CRCS-3129: Remove Rovo Dev hardcoded icon after TeamEU demos
|
|
288
|
+
// Handle Rovo Dev agent avatar for TeamEU Demo
|
|
289
|
+
if (agentId === ROVO_DEV_AGENT_ID && fg('jira_ai_force_rovo_dev_avatar')) {
|
|
290
|
+
return {
|
|
291
|
+
render: /*#__PURE__*/React.createElement(RovoDevAvatar, {
|
|
292
|
+
size: AVATAR_SIZES[size],
|
|
293
|
+
primaryColor: "",
|
|
294
|
+
secondaryColor: ""
|
|
295
|
+
}),
|
|
296
|
+
color: greenColor
|
|
297
|
+
};
|
|
298
|
+
}
|
|
282
299
|
if (typeof agentNamedId === 'string' && outOfTheBoxAgentAvatar[agentNamedId]) {
|
|
283
300
|
var ootbAvatarResult = outOfTheBoxAgentAvatar[agentNamedId];
|
|
284
301
|
return {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/rovo-agent-components",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.7.0",
|
|
4
4
|
"description": "This package host public components related to rovo agents, the components here are needed for other public atlaskit packages",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -34,20 +34,20 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@atlaskit/afm-i18n-platform-ai-mate-rovo-agent-components": "2.8.0",
|
|
36
36
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
37
|
-
"@atlaskit/avatar": "^25.
|
|
38
|
-
"@atlaskit/button": "^23.
|
|
37
|
+
"@atlaskit/avatar": "^25.3.0",
|
|
38
|
+
"@atlaskit/button": "^23.5.0",
|
|
39
39
|
"@atlaskit/css": "^0.14.0",
|
|
40
40
|
"@atlaskit/dropdown-menu": "^16.3.0",
|
|
41
41
|
"@atlaskit/heading": "^5.2.0",
|
|
42
|
-
"@atlaskit/icon": "^28.
|
|
42
|
+
"@atlaskit/icon": "^28.4.0",
|
|
43
43
|
"@atlaskit/legacy-custom-icons": "^0.22.0",
|
|
44
44
|
"@atlaskit/link": "^3.2.0",
|
|
45
|
-
"@atlaskit/logo": "^19.
|
|
45
|
+
"@atlaskit/logo": "^19.8.0",
|
|
46
46
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
47
47
|
"@atlaskit/primitives": "^14.15.0",
|
|
48
48
|
"@atlaskit/skeleton": "^2.1.0",
|
|
49
|
-
"@atlaskit/tokens": "^6.
|
|
50
|
-
"@atlaskit/tooltip": "^20.
|
|
49
|
+
"@atlaskit/tokens": "^6.4.0",
|
|
50
|
+
"@atlaskit/tooltip": "^20.5.0",
|
|
51
51
|
"@babel/runtime": "^7.0.0",
|
|
52
52
|
"@compiled/react": "^0.18.3",
|
|
53
53
|
"react-intl-next": "npm:react-intl@^5.18.1",
|
|
@@ -120,6 +120,9 @@
|
|
|
120
120
|
},
|
|
121
121
|
"agent_studio_fe_permissions_settings_m1": {
|
|
122
122
|
"type": "boolean"
|
|
123
|
+
},
|
|
124
|
+
"jira_ai_force_rovo_dev_avatar": {
|
|
125
|
+
"type": "boolean"
|
|
123
126
|
}
|
|
124
127
|
}
|
|
125
128
|
}
|