@atlaskit/rovo-agent-components 9.0.1 → 9.0.3
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 +17 -0
- package/dist/cjs/ui/agent-avatar/generated-avatars/assets/amplitude-agent-v2.js +28 -0
- package/dist/cjs/ui/agent-avatar/generated-avatars/index.js +15 -0
- package/dist/es2019/ui/agent-avatar/generated-avatars/assets/amplitude-agent-v2.js +21 -0
- package/dist/es2019/ui/agent-avatar/generated-avatars/index.js +9 -0
- package/dist/esm/ui/agent-avatar/generated-avatars/assets/amplitude-agent-v2.js +22 -0
- package/dist/esm/ui/agent-avatar/generated-avatars/index.js +13 -0
- package/dist/types/ui/agent-avatar/generated-avatars/assets/amplitude-agent-v2.d.ts +8 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/rovo-agent-components
|
|
2
2
|
|
|
3
|
+
## 9.0.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 9.0.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`421075b740424`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/421075b740424) -
|
|
14
|
+
Preserve the original Amplitude avatar for existing consumers and register the separate hexagonal
|
|
15
|
+
v2 avatar as `mcp_amplitude_agent_v2`. Match its avatar, brand, and Studio card cover colors to
|
|
16
|
+
the original Amplitude mappings. Declare the v2 avatar props locally to avoid a relative type
|
|
17
|
+
barrel import.
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
|
|
3
20
|
## 9.0.1
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
|
@@ -0,0 +1,28 @@
|
|
|
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
|
+
/* eslint-disable @atlaskit/ui-styling-standard/enforce-style-prop */
|
|
10
|
+
var _default = exports.default = function _default(_ref) {
|
|
11
|
+
var size = _ref.size;
|
|
12
|
+
return /*#__PURE__*/_react.default.createElement("svg", {
|
|
13
|
+
width: size,
|
|
14
|
+
height: size,
|
|
15
|
+
viewBox: "0 0 44 48",
|
|
16
|
+
fill: "none",
|
|
17
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
18
|
+
"aria-hidden": "true"
|
|
19
|
+
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
20
|
+
d: "M18.4941 1.94501C20.6623 0.687346 23.3374 0.685282 25.5078 1.93915L39.502 10.0231C41.6666 11.2739 43 13.5846 43 16.0847V31.0495C43 33.5496 41.6666 35.8603 39.502 37.111L25.502 45.1989C23.3353 46.4506 20.6647 46.4506 18.498 45.1989L4.49805 37.111C2.33335 35.8603 1 33.5496 1 31.0495V16.1257L1.00391 15.8923C1.08384 13.4869 2.39615 11.2842 4.4873 10.071L18.4941 1.94501Z",
|
|
21
|
+
fill: "#0052F2",
|
|
22
|
+
stroke: "white",
|
|
23
|
+
strokeWidth: "2"
|
|
24
|
+
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
25
|
+
d: "M33.2072 22.7759C30.9171 22.5953 27.8195 22.4862 24.9141 22.4204C24.0336 18.9815 22.161 12.7258 19.8492 12.7258C17.4321 12.7258 15.6614 17.4323 14.4721 22.294L11.1401 22.2465C10.5137 22.2376 10.0012 22.7428 10.0012 23.3692C10.0012 23.9893 10.5039 24.492 11.1241 24.492H13.9726C13.6361 26.0844 13.3814 27.4221 13.1865 28.677C13.1171 29.1236 13.4633 29.5265 13.9153 29.5265C14.2405 29.5265 14.5272 29.3135 14.6211 29.0021C15.2672 26.86 16.0206 24.4986 16.0206 24.4986H23.0908C24.0869 28.1367 25.4694 34.1907 27.8129 34.1907C29.8895 34.1907 30.9193 31.6517 31.7915 27.7401C31.9194 27.1667 32.055 26.6659 32.194 26.2279C32.2698 25.9889 32.0913 25.7453 31.8411 25.7433C31.6809 25.742 31.5393 25.8482 31.4838 25.9985C31.2437 26.6499 31.0346 27.2574 30.8784 27.6945C29.9251 30.3626 29.4349 32.0123 28.3804 32.0123C26.9868 32.0123 25.9735 26.7146 25.4209 24.4986H33.1385C33.615 24.4986 34.0012 24.1123 34.0012 23.6359C34.0012 23.186 33.6557 22.8113 33.2072 22.7759ZM16.5321 22.3201C17.655 17.9256 19.0124 14.8912 19.7644 14.8912C20.4435 14.8912 21.5752 18.9049 22.5153 22.3742C19.3254 22.323 16.7915 22.3203 16.5321 22.3201Z",
|
|
26
|
+
fill: "white"
|
|
27
|
+
}));
|
|
28
|
+
};
|
|
@@ -180,6 +180,11 @@ var AmplitudeAgentAvatar = /*#__PURE__*/(0, _react.lazy)(function () {
|
|
|
180
180
|
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-rovo-avatar-AmplitudeAgentAvatar"*/'./assets/amplitude-agent'));
|
|
181
181
|
});
|
|
182
182
|
});
|
|
183
|
+
var AmplitudeAgentAvatarV2 = /*#__PURE__*/(0, _react.lazy)(function () {
|
|
184
|
+
return Promise.resolve().then(function () {
|
|
185
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-rovo-avatar-AmplitudeAgentAvatarV2" */'./assets/amplitude-agent-v2'));
|
|
186
|
+
});
|
|
187
|
+
});
|
|
183
188
|
var BoxAgentAvatar = /*#__PURE__*/(0, _react.lazy)(function () {
|
|
184
189
|
return Promise.resolve().then(function () {
|
|
185
190
|
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-rovo-avatar-BoxAgentAvatar"*/'./assets/box-agent'));
|
|
@@ -551,6 +556,16 @@ var outOfTheBoxAgentAvatar = {
|
|
|
551
556
|
},
|
|
552
557
|
color: blueColor
|
|
553
558
|
},
|
|
559
|
+
mcp_amplitude_agent_v2: {
|
|
560
|
+
getRender: function getRender(size) {
|
|
561
|
+
return /*#__PURE__*/_react.default.createElement(AmplitudeAgentAvatarV2, {
|
|
562
|
+
size: _avatarSizes.AVATAR_SIZES[size],
|
|
563
|
+
primaryColor: "",
|
|
564
|
+
secondaryColor: ""
|
|
565
|
+
});
|
|
566
|
+
},
|
|
567
|
+
color: blueColor
|
|
568
|
+
},
|
|
554
569
|
mcp_box_agent: {
|
|
555
570
|
getRender: function getRender(size) {
|
|
556
571
|
return /*#__PURE__*/_react.default.createElement(BoxAgentAvatar, {
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/* eslint-disable @atlaskit/ui-styling-standard/enforce-style-prop */
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
export default (({
|
|
5
|
+
size
|
|
6
|
+
}) => /*#__PURE__*/React.createElement("svg", {
|
|
7
|
+
width: size,
|
|
8
|
+
height: size,
|
|
9
|
+
viewBox: "0 0 44 48",
|
|
10
|
+
fill: "none",
|
|
11
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
12
|
+
"aria-hidden": "true"
|
|
13
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
14
|
+
d: "M18.4941 1.94501C20.6623 0.687346 23.3374 0.685282 25.5078 1.93915L39.502 10.0231C41.6666 11.2739 43 13.5846 43 16.0847V31.0495C43 33.5496 41.6666 35.8603 39.502 37.111L25.502 45.1989C23.3353 46.4506 20.6647 46.4506 18.498 45.1989L4.49805 37.111C2.33335 35.8603 1 33.5496 1 31.0495V16.1257L1.00391 15.8923C1.08384 13.4869 2.39615 11.2842 4.4873 10.071L18.4941 1.94501Z",
|
|
15
|
+
fill: "#0052F2",
|
|
16
|
+
stroke: "white",
|
|
17
|
+
strokeWidth: "2"
|
|
18
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
19
|
+
d: "M33.2072 22.7759C30.9171 22.5953 27.8195 22.4862 24.9141 22.4204C24.0336 18.9815 22.161 12.7258 19.8492 12.7258C17.4321 12.7258 15.6614 17.4323 14.4721 22.294L11.1401 22.2465C10.5137 22.2376 10.0012 22.7428 10.0012 23.3692C10.0012 23.9893 10.5039 24.492 11.1241 24.492H13.9726C13.6361 26.0844 13.3814 27.4221 13.1865 28.677C13.1171 29.1236 13.4633 29.5265 13.9153 29.5265C14.2405 29.5265 14.5272 29.3135 14.6211 29.0021C15.2672 26.86 16.0206 24.4986 16.0206 24.4986H23.0908C24.0869 28.1367 25.4694 34.1907 27.8129 34.1907C29.8895 34.1907 30.9193 31.6517 31.7915 27.7401C31.9194 27.1667 32.055 26.6659 32.194 26.2279C32.2698 25.9889 32.0913 25.7453 31.8411 25.7433C31.6809 25.742 31.5393 25.8482 31.4838 25.9985C31.2437 26.6499 31.0346 27.2574 30.8784 27.6945C29.9251 30.3626 29.4349 32.0123 28.3804 32.0123C26.9868 32.0123 25.9735 26.7146 25.4209 24.4986H33.1385C33.615 24.4986 34.0012 24.1123 34.0012 23.6359C34.0012 23.186 33.6557 22.8113 33.2072 22.7759ZM16.5321 22.3201C17.655 17.9256 19.0124 14.8912 19.7644 14.8912C20.4435 14.8912 21.5752 18.9049 22.5153 22.3742C19.3254 22.323 16.7915 22.3203 16.5321 22.3201Z",
|
|
20
|
+
fill: "white"
|
|
21
|
+
})));
|
|
@@ -53,6 +53,7 @@ const JsmRequestResolverAgentAvatar = /*#__PURE__*/lazy(() => import( /* webpack
|
|
|
53
53
|
* OOTB Agents avatars - start
|
|
54
54
|
*/
|
|
55
55
|
const AmplitudeAgentAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName: "@atlaskit-rovo-avatar-AmplitudeAgentAvatar"*/'./assets/amplitude-agent'));
|
|
56
|
+
const AmplitudeAgentAvatarV2 = /*#__PURE__*/lazy(() => import( /* webpackChunkName: "@atlaskit-rovo-avatar-AmplitudeAgentAvatarV2" */'./assets/amplitude-agent-v2'));
|
|
56
57
|
const BoxAgentAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName: "@atlaskit-rovo-avatar-BoxAgentAvatar"*/'./assets/box-agent'));
|
|
57
58
|
const CanvaAgentAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName: "@atlaskit-rovo-avatar-CanvaAgentAvatar"*/'./assets/canva-agent'));
|
|
58
59
|
const FigmaAgentAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName: "@atlaskit-rovo-avatar-FigmaAgentAvatar"*/'./assets/figma-agent'));
|
|
@@ -312,6 +313,14 @@ const outOfTheBoxAgentAvatar = {
|
|
|
312
313
|
}),
|
|
313
314
|
color: blueColor
|
|
314
315
|
},
|
|
316
|
+
mcp_amplitude_agent_v2: {
|
|
317
|
+
getRender: size => /*#__PURE__*/React.createElement(AmplitudeAgentAvatarV2, {
|
|
318
|
+
size: AVATAR_SIZES[size],
|
|
319
|
+
primaryColor: "",
|
|
320
|
+
secondaryColor: ""
|
|
321
|
+
}),
|
|
322
|
+
color: blueColor
|
|
323
|
+
},
|
|
315
324
|
mcp_box_agent: {
|
|
316
325
|
getRender: size => /*#__PURE__*/React.createElement(BoxAgentAvatar, {
|
|
317
326
|
size: AVATAR_SIZES[size],
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/* eslint-disable @atlaskit/ui-styling-standard/enforce-style-prop */
|
|
2
|
+
|
|
3
|
+
import React from 'react';
|
|
4
|
+
export default (function (_ref) {
|
|
5
|
+
var size = _ref.size;
|
|
6
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
7
|
+
width: size,
|
|
8
|
+
height: size,
|
|
9
|
+
viewBox: "0 0 44 48",
|
|
10
|
+
fill: "none",
|
|
11
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
12
|
+
"aria-hidden": "true"
|
|
13
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
14
|
+
d: "M18.4941 1.94501C20.6623 0.687346 23.3374 0.685282 25.5078 1.93915L39.502 10.0231C41.6666 11.2739 43 13.5846 43 16.0847V31.0495C43 33.5496 41.6666 35.8603 39.502 37.111L25.502 45.1989C23.3353 46.4506 20.6647 46.4506 18.498 45.1989L4.49805 37.111C2.33335 35.8603 1 33.5496 1 31.0495V16.1257L1.00391 15.8923C1.08384 13.4869 2.39615 11.2842 4.4873 10.071L18.4941 1.94501Z",
|
|
15
|
+
fill: "#0052F2",
|
|
16
|
+
stroke: "white",
|
|
17
|
+
strokeWidth: "2"
|
|
18
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
19
|
+
d: "M33.2072 22.7759C30.9171 22.5953 27.8195 22.4862 24.9141 22.4204C24.0336 18.9815 22.161 12.7258 19.8492 12.7258C17.4321 12.7258 15.6614 17.4323 14.4721 22.294L11.1401 22.2465C10.5137 22.2376 10.0012 22.7428 10.0012 23.3692C10.0012 23.9893 10.5039 24.492 11.1241 24.492H13.9726C13.6361 26.0844 13.3814 27.4221 13.1865 28.677C13.1171 29.1236 13.4633 29.5265 13.9153 29.5265C14.2405 29.5265 14.5272 29.3135 14.6211 29.0021C15.2672 26.86 16.0206 24.4986 16.0206 24.4986H23.0908C24.0869 28.1367 25.4694 34.1907 27.8129 34.1907C29.8895 34.1907 30.9193 31.6517 31.7915 27.7401C31.9194 27.1667 32.055 26.6659 32.194 26.2279C32.2698 25.9889 32.0913 25.7453 31.8411 25.7433C31.6809 25.742 31.5393 25.8482 31.4838 25.9985C31.2437 26.6499 31.0346 27.2574 30.8784 27.6945C29.9251 30.3626 29.4349 32.0123 28.3804 32.0123C26.9868 32.0123 25.9735 26.7146 25.4209 24.4986H33.1385C33.615 24.4986 34.0012 24.1123 34.0012 23.6359C34.0012 23.186 33.6557 22.8113 33.2072 22.7759ZM16.5321 22.3201C17.655 17.9256 19.0124 14.8912 19.7644 14.8912C20.4435 14.8912 21.5752 18.9049 22.5153 22.3742C19.3254 22.323 16.7915 22.3203 16.5321 22.3201Z",
|
|
20
|
+
fill: "white"
|
|
21
|
+
}));
|
|
22
|
+
});
|
|
@@ -113,6 +113,9 @@ var JsmRequestResolverAgentAvatar = /*#__PURE__*/lazy(function () {
|
|
|
113
113
|
var AmplitudeAgentAvatar = /*#__PURE__*/lazy(function () {
|
|
114
114
|
return import( /* webpackChunkName: "@atlaskit-rovo-avatar-AmplitudeAgentAvatar"*/'./assets/amplitude-agent');
|
|
115
115
|
});
|
|
116
|
+
var AmplitudeAgentAvatarV2 = /*#__PURE__*/lazy(function () {
|
|
117
|
+
return import( /* webpackChunkName: "@atlaskit-rovo-avatar-AmplitudeAgentAvatarV2" */'./assets/amplitude-agent-v2');
|
|
118
|
+
});
|
|
116
119
|
var BoxAgentAvatar = /*#__PURE__*/lazy(function () {
|
|
117
120
|
return import( /* webpackChunkName: "@atlaskit-rovo-avatar-BoxAgentAvatar"*/'./assets/box-agent');
|
|
118
121
|
});
|
|
@@ -454,6 +457,16 @@ var outOfTheBoxAgentAvatar = {
|
|
|
454
457
|
},
|
|
455
458
|
color: blueColor
|
|
456
459
|
},
|
|
460
|
+
mcp_amplitude_agent_v2: {
|
|
461
|
+
getRender: function getRender(size) {
|
|
462
|
+
return /*#__PURE__*/React.createElement(AmplitudeAgentAvatarV2, {
|
|
463
|
+
size: AVATAR_SIZES[size],
|
|
464
|
+
primaryColor: "",
|
|
465
|
+
secondaryColor: ""
|
|
466
|
+
});
|
|
467
|
+
},
|
|
468
|
+
color: blueColor
|
|
469
|
+
},
|
|
457
470
|
mcp_box_agent: {
|
|
458
471
|
getRender: function getRender(size) {
|
|
459
472
|
return /*#__PURE__*/React.createElement(BoxAgentAvatar, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/rovo-agent-components",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.3",
|
|
4
4
|
"description": "This package host public components related to rovo agents, the components here are needed for other public atlaskit packages",
|
|
5
5
|
"repository": "https://bitbucket.org/atlassian/atlassian-frontend-monorepo",
|
|
6
6
|
"atlassian": {
|
|
@@ -45,14 +45,14 @@
|
|
|
45
45
|
"@atlaskit/heading": "^8.0.0",
|
|
46
46
|
"@atlaskit/icon": "^38.0.0",
|
|
47
47
|
"@atlaskit/link": "^5.1.0",
|
|
48
|
-
"@atlaskit/logo": "^23.
|
|
48
|
+
"@atlaskit/logo": "^23.3.0",
|
|
49
49
|
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
50
50
|
"@atlaskit/primitives": "^22.5.0",
|
|
51
51
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
52
52
|
"@atlaskit/rovo-agent-analytics": "^6.4.0",
|
|
53
53
|
"@atlaskit/skeleton": "^4.4.0",
|
|
54
54
|
"@atlaskit/spinner": "^20.4.0",
|
|
55
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
55
|
+
"@atlaskit/tmp-editor-statsig": "^208.0.0",
|
|
56
56
|
"@atlaskit/tokens": "^20.0.0",
|
|
57
57
|
"@atlaskit/tooltip": "^24.3.0",
|
|
58
58
|
"@babel/runtime": "^7.0.0",
|