@atlaskit/rovo-agent-components 3.20.0 → 3.21.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 CHANGED
@@ -1,5 +1,12 @@
1
1
  # @atlaskit/rovo-agent-components
2
2
 
3
+ ## 3.21.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`023f008de3d39`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/023f008de3d39) -
8
+ Added agent icon for rovo service agent
9
+
3
10
  ## 3.20.0
4
11
 
5
12
  ### Minor Changes
@@ -0,0 +1,49 @@
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: "45",
15
+ height: "50",
16
+ viewBox: "0 0 45 50",
17
+ fill: "none",
18
+ xmlns: "http://www.w3.org/2000/svg"
19
+ }, /*#__PURE__*/_react.default.createElement("path", {
20
+ d: "M19.2938 1.13426C21.0414 0.127121 23.1945 0.12712 24.9421 1.13426L41.4117 10.6258C43.1593 11.633 44.2359 13.4943 44.2359 15.5085V34.4917C44.2359 36.506 43.1593 38.3673 41.4117 39.3744L24.9421 48.866C23.1945 49.8731 21.0414 49.8731 19.2938 48.866L2.82414 39.3744C1.07656 38.3673 0 36.506 0 34.4917V15.5085C0 13.4943 1.07656 11.633 2.82414 10.6258L19.2938 1.13426Z",
21
+ fill: "#FFC716"
22
+ }), /*#__PURE__*/_react.default.createElement("path", {
23
+ d: "M20.4468 9.87926C21.5285 9.2834 22.8488 9.29435 23.9218 9.9121L32.3595 14.7735L34.3604 15.9264C35.4529 16.5553 36.1291 17.7223 36.1291 18.9794V31.0081C36.1291 32.2702 35.457 33.432 34.3613 34.0606L26.5145 38.5816C26.5317 38.5334 26.548 38.4849 26.5636 38.4361C26.7093 37.9854 26.7865 37.5092 26.7865 37.0224V24.9937C26.7865 23.3413 25.9057 21.8174 24.4692 20.9931L23.0198 20.1584L18.6199 17.6245V12.9651C18.6199 12.5979 18.6768 12.2392 18.7844 11.8997C19.049 11.078 19.6118 10.3667 20.3818 9.92259L20.3841 9.92124C20.4062 9.90853 20.4272 9.89442 20.4468 9.87926Z",
24
+ fill: "#101214"
25
+ }), /*#__PURE__*/_react.default.createElement("path", {
26
+ d: "M17.7904 11.4175L9.94363 15.9385C8.8479 16.5671 8.17578 17.7289 8.17578 18.991V31.0197C8.17578 32.2768 8.85186 33.4437 9.94434 34.0726L11.8048 35.1446L20.3831 40.087C21.4561 40.7046 22.7764 40.7156 23.8581 40.1198C23.8777 40.1047 23.8986 40.0906 23.9206 40.0779C24.6914 39.6342 25.2551 38.9226 25.5201 38.1005C25.628 37.7606 25.685 37.4016 25.685 37.034V32.3746L21.1444 29.7597L19.8361 29.0062C18.3998 28.1818 17.5184 26.6577 17.5184 25.0053V12.9767C17.5184 12.4906 17.5954 12.015 17.7407 11.5648C17.7564 11.5154 17.773 11.4663 17.7904 11.4175Z",
27
+ fill: "#101214"
28
+ }), /*#__PURE__*/_react.default.createElement("path", {
29
+ fillRule: "evenodd",
30
+ clipRule: "evenodd",
31
+ d: "M21.1444 29.7597L11.8048 35.1446L9.94434 34.0726C8.85186 33.4437 8.17578 32.2768 8.17578 31.0197V18.991C8.17578 17.7289 8.8479 16.5671 9.94363 15.9385L17.7904 11.4175C17.773 11.4663 17.7564 11.5154 17.7407 11.5648C17.5954 12.015 17.5184 12.4906 17.5184 12.9767V25.0053C17.5184 26.6577 18.3998 28.1818 19.8361 29.0062L21.1444 29.7597Z",
32
+ fill: "#101214"
33
+ }), /*#__PURE__*/_react.default.createElement("path", {
34
+ fillRule: "evenodd",
35
+ clipRule: "evenodd",
36
+ d: "M23.0198 20.1584L18.6199 17.6245V12.9651C18.6199 12.5979 18.6768 12.2392 18.7844 11.8997C19.049 11.078 19.6118 10.3667 20.3818 9.92259L20.3841 9.92124C20.4062 9.90853 20.4272 9.89442 20.4468 9.87926C21.5285 9.2834 22.8488 9.29435 23.9218 9.9121L32.3595 14.7735L23.0198 20.1584Z",
37
+ fill: "#101214"
38
+ }), /*#__PURE__*/_react.default.createElement("path", {
39
+ fillRule: "evenodd",
40
+ clipRule: "evenodd",
41
+ d: "M34.3604 15.9264L32.3595 14.7735L23.0198 20.1584L24.4692 20.9931C25.9057 21.8174 26.7865 23.3413 26.7865 24.9937V37.0224C26.7865 37.5092 26.7093 37.9854 26.5636 38.4361C26.548 38.4849 26.5317 38.5334 26.5145 38.5816L34.3613 34.0606C35.457 33.432 36.1291 32.2702 36.1291 31.0081V18.9794C36.1291 17.7223 35.4529 16.5553 34.3604 15.9264Z",
42
+ fill: "#101214"
43
+ }), /*#__PURE__*/_react.default.createElement("path", {
44
+ fillRule: "evenodd",
45
+ clipRule: "evenodd",
46
+ d: "M21.1444 29.7597L11.8048 35.1446L20.3831 40.087C21.4561 40.7046 22.7764 40.7156 23.8581 40.1198C23.8777 40.1047 23.8986 40.0906 23.9206 40.0779C24.6914 39.6342 25.2551 38.9226 25.5201 38.1005C25.628 37.7606 25.685 37.4016 25.685 37.034V32.3746L21.1444 29.7597Z",
47
+ fill: "#101214"
48
+ }));
49
+ };
@@ -147,6 +147,11 @@ var TrialGuideAvatar = /*#__PURE__*/(0, _react.lazy)(function () {
147
147
  return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-rovo-avatar-TrialGuideAvatar"*/'./assets/trial-guide'));
148
148
  });
149
149
  });
150
+ var JsmRovoServiceAgentAvatar = /*#__PURE__*/(0, _react.lazy)(function () {
151
+ return Promise.resolve().then(function () {
152
+ return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-rovo-avatar-JsmRovoServiceAgentAvatar"*/'./assets/jsm-rovo-service-agent'));
153
+ });
154
+ });
150
155
  var yellowColor = exports.yellowColor = {
151
156
  primary: '#FCA700',
152
157
  secondary: '#FFC716'
@@ -326,6 +331,16 @@ var outOfTheBoxAgentAvatar = {
326
331
  });
327
332
  },
328
333
  color: blueColor
334
+ },
335
+ jsm_rovo_service_agent: {
336
+ getRender: function getRender(size) {
337
+ return /*#__PURE__*/_react.default.createElement(JsmRovoServiceAgentAvatar, {
338
+ size: _avatar.AVATAR_SIZES[size],
339
+ primaryColor: "",
340
+ secondaryColor: ""
341
+ });
342
+ },
343
+ color: yellowColor
329
344
  }
330
345
  };
331
346
 
@@ -0,0 +1,41 @@
1
+ import React from 'react';
2
+ export default (({
3
+ size: _size,
4
+ primaryColor: _primaryColor,
5
+ secondaryColor: _secondaryColor
6
+ }) => /*#__PURE__*/React.createElement("svg", {
7
+ width: "45",
8
+ height: "50",
9
+ viewBox: "0 0 45 50",
10
+ fill: "none",
11
+ xmlns: "http://www.w3.org/2000/svg"
12
+ }, /*#__PURE__*/React.createElement("path", {
13
+ d: "M19.2938 1.13426C21.0414 0.127121 23.1945 0.12712 24.9421 1.13426L41.4117 10.6258C43.1593 11.633 44.2359 13.4943 44.2359 15.5085V34.4917C44.2359 36.506 43.1593 38.3673 41.4117 39.3744L24.9421 48.866C23.1945 49.8731 21.0414 49.8731 19.2938 48.866L2.82414 39.3744C1.07656 38.3673 0 36.506 0 34.4917V15.5085C0 13.4943 1.07656 11.633 2.82414 10.6258L19.2938 1.13426Z",
14
+ fill: "#FFC716"
15
+ }), /*#__PURE__*/React.createElement("path", {
16
+ d: "M20.4468 9.87926C21.5285 9.2834 22.8488 9.29435 23.9218 9.9121L32.3595 14.7735L34.3604 15.9264C35.4529 16.5553 36.1291 17.7223 36.1291 18.9794V31.0081C36.1291 32.2702 35.457 33.432 34.3613 34.0606L26.5145 38.5816C26.5317 38.5334 26.548 38.4849 26.5636 38.4361C26.7093 37.9854 26.7865 37.5092 26.7865 37.0224V24.9937C26.7865 23.3413 25.9057 21.8174 24.4692 20.9931L23.0198 20.1584L18.6199 17.6245V12.9651C18.6199 12.5979 18.6768 12.2392 18.7844 11.8997C19.049 11.078 19.6118 10.3667 20.3818 9.92259L20.3841 9.92124C20.4062 9.90853 20.4272 9.89442 20.4468 9.87926Z",
17
+ fill: "#101214"
18
+ }), /*#__PURE__*/React.createElement("path", {
19
+ d: "M17.7904 11.4175L9.94363 15.9385C8.8479 16.5671 8.17578 17.7289 8.17578 18.991V31.0197C8.17578 32.2768 8.85186 33.4437 9.94434 34.0726L11.8048 35.1446L20.3831 40.087C21.4561 40.7046 22.7764 40.7156 23.8581 40.1198C23.8777 40.1047 23.8986 40.0906 23.9206 40.0779C24.6914 39.6342 25.2551 38.9226 25.5201 38.1005C25.628 37.7606 25.685 37.4016 25.685 37.034V32.3746L21.1444 29.7597L19.8361 29.0062C18.3998 28.1818 17.5184 26.6577 17.5184 25.0053V12.9767C17.5184 12.4906 17.5954 12.015 17.7407 11.5648C17.7564 11.5154 17.773 11.4663 17.7904 11.4175Z",
20
+ fill: "#101214"
21
+ }), /*#__PURE__*/React.createElement("path", {
22
+ fillRule: "evenodd",
23
+ clipRule: "evenodd",
24
+ d: "M21.1444 29.7597L11.8048 35.1446L9.94434 34.0726C8.85186 33.4437 8.17578 32.2768 8.17578 31.0197V18.991C8.17578 17.7289 8.8479 16.5671 9.94363 15.9385L17.7904 11.4175C17.773 11.4663 17.7564 11.5154 17.7407 11.5648C17.5954 12.015 17.5184 12.4906 17.5184 12.9767V25.0053C17.5184 26.6577 18.3998 28.1818 19.8361 29.0062L21.1444 29.7597Z",
25
+ fill: "#101214"
26
+ }), /*#__PURE__*/React.createElement("path", {
27
+ fillRule: "evenodd",
28
+ clipRule: "evenodd",
29
+ d: "M23.0198 20.1584L18.6199 17.6245V12.9651C18.6199 12.5979 18.6768 12.2392 18.7844 11.8997C19.049 11.078 19.6118 10.3667 20.3818 9.92259L20.3841 9.92124C20.4062 9.90853 20.4272 9.89442 20.4468 9.87926C21.5285 9.2834 22.8488 9.29435 23.9218 9.9121L32.3595 14.7735L23.0198 20.1584Z",
30
+ fill: "#101214"
31
+ }), /*#__PURE__*/React.createElement("path", {
32
+ fillRule: "evenodd",
33
+ clipRule: "evenodd",
34
+ d: "M34.3604 15.9264L32.3595 14.7735L23.0198 20.1584L24.4692 20.9931C25.9057 21.8174 26.7865 23.3413 26.7865 24.9937V37.0224C26.7865 37.5092 26.7093 37.9854 26.5636 38.4361C26.548 38.4849 26.5317 38.5334 26.5145 38.5816L34.3613 34.0606C35.457 33.432 36.1291 32.2702 36.1291 31.0081V18.9794C36.1291 17.7223 35.4529 16.5553 34.3604 15.9264Z",
35
+ fill: "#101214"
36
+ }), /*#__PURE__*/React.createElement("path", {
37
+ fillRule: "evenodd",
38
+ clipRule: "evenodd",
39
+ d: "M21.1444 29.7597L11.8048 35.1446L20.3831 40.087C21.4561 40.7046 22.7764 40.7156 23.8581 40.1198C23.8777 40.1047 23.8986 40.0906 23.9206 40.0779C24.6914 39.6342 25.2551 38.9226 25.5201 38.1005C25.628 37.7606 25.685 37.4016 25.685 37.034V32.3746L21.1444 29.7597Z",
40
+ fill: "#101214"
41
+ })));
@@ -43,6 +43,7 @@ const SocialMediaScribeAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkN
43
43
  const TeamConnectionAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName: "@atlaskit-rovo-avatar-TeamConnectionAvatar"*/'./assets/team-connection'));
44
44
  const WorkflowBuilderAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName: "@atlaskit-rovo-avatar-WorkflowBuilderAvatar"*/'./assets/workflow-builder'));
45
45
  const TrialGuideAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName: "@atlaskit-rovo-avatar-TrialGuideAvatar"*/'./assets/trial-guide'));
46
+ const JsmRovoServiceAgentAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName: "@atlaskit-rovo-avatar-JsmRovoServiceAgentAvatar"*/'./assets/jsm-rovo-service-agent'));
46
47
  export const yellowColor = {
47
48
  primary: '#FCA700',
48
49
  secondary: '#FFC716'
@@ -190,6 +191,14 @@ const outOfTheBoxAgentAvatar = {
190
191
  secondaryColor: blueColor.secondary
191
192
  }),
192
193
  color: blueColor
194
+ },
195
+ jsm_rovo_service_agent: {
196
+ getRender: size => /*#__PURE__*/React.createElement(JsmRovoServiceAgentAvatar, {
197
+ size: AVATAR_SIZES[size],
198
+ primaryColor: "",
199
+ secondaryColor: ""
200
+ }),
201
+ color: yellowColor
193
202
  }
194
203
  };
195
204
 
@@ -0,0 +1,42 @@
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: "45",
8
+ height: "50",
9
+ viewBox: "0 0 45 50",
10
+ fill: "none",
11
+ xmlns: "http://www.w3.org/2000/svg"
12
+ }, /*#__PURE__*/React.createElement("path", {
13
+ d: "M19.2938 1.13426C21.0414 0.127121 23.1945 0.12712 24.9421 1.13426L41.4117 10.6258C43.1593 11.633 44.2359 13.4943 44.2359 15.5085V34.4917C44.2359 36.506 43.1593 38.3673 41.4117 39.3744L24.9421 48.866C23.1945 49.8731 21.0414 49.8731 19.2938 48.866L2.82414 39.3744C1.07656 38.3673 0 36.506 0 34.4917V15.5085C0 13.4943 1.07656 11.633 2.82414 10.6258L19.2938 1.13426Z",
14
+ fill: "#FFC716"
15
+ }), /*#__PURE__*/React.createElement("path", {
16
+ d: "M20.4468 9.87926C21.5285 9.2834 22.8488 9.29435 23.9218 9.9121L32.3595 14.7735L34.3604 15.9264C35.4529 16.5553 36.1291 17.7223 36.1291 18.9794V31.0081C36.1291 32.2702 35.457 33.432 34.3613 34.0606L26.5145 38.5816C26.5317 38.5334 26.548 38.4849 26.5636 38.4361C26.7093 37.9854 26.7865 37.5092 26.7865 37.0224V24.9937C26.7865 23.3413 25.9057 21.8174 24.4692 20.9931L23.0198 20.1584L18.6199 17.6245V12.9651C18.6199 12.5979 18.6768 12.2392 18.7844 11.8997C19.049 11.078 19.6118 10.3667 20.3818 9.92259L20.3841 9.92124C20.4062 9.90853 20.4272 9.89442 20.4468 9.87926Z",
17
+ fill: "#101214"
18
+ }), /*#__PURE__*/React.createElement("path", {
19
+ d: "M17.7904 11.4175L9.94363 15.9385C8.8479 16.5671 8.17578 17.7289 8.17578 18.991V31.0197C8.17578 32.2768 8.85186 33.4437 9.94434 34.0726L11.8048 35.1446L20.3831 40.087C21.4561 40.7046 22.7764 40.7156 23.8581 40.1198C23.8777 40.1047 23.8986 40.0906 23.9206 40.0779C24.6914 39.6342 25.2551 38.9226 25.5201 38.1005C25.628 37.7606 25.685 37.4016 25.685 37.034V32.3746L21.1444 29.7597L19.8361 29.0062C18.3998 28.1818 17.5184 26.6577 17.5184 25.0053V12.9767C17.5184 12.4906 17.5954 12.015 17.7407 11.5648C17.7564 11.5154 17.773 11.4663 17.7904 11.4175Z",
20
+ fill: "#101214"
21
+ }), /*#__PURE__*/React.createElement("path", {
22
+ fillRule: "evenodd",
23
+ clipRule: "evenodd",
24
+ d: "M21.1444 29.7597L11.8048 35.1446L9.94434 34.0726C8.85186 33.4437 8.17578 32.2768 8.17578 31.0197V18.991C8.17578 17.7289 8.8479 16.5671 9.94363 15.9385L17.7904 11.4175C17.773 11.4663 17.7564 11.5154 17.7407 11.5648C17.5954 12.015 17.5184 12.4906 17.5184 12.9767V25.0053C17.5184 26.6577 18.3998 28.1818 19.8361 29.0062L21.1444 29.7597Z",
25
+ fill: "#101214"
26
+ }), /*#__PURE__*/React.createElement("path", {
27
+ fillRule: "evenodd",
28
+ clipRule: "evenodd",
29
+ d: "M23.0198 20.1584L18.6199 17.6245V12.9651C18.6199 12.5979 18.6768 12.2392 18.7844 11.8997C19.049 11.078 19.6118 10.3667 20.3818 9.92259L20.3841 9.92124C20.4062 9.90853 20.4272 9.89442 20.4468 9.87926C21.5285 9.2834 22.8488 9.29435 23.9218 9.9121L32.3595 14.7735L23.0198 20.1584Z",
30
+ fill: "#101214"
31
+ }), /*#__PURE__*/React.createElement("path", {
32
+ fillRule: "evenodd",
33
+ clipRule: "evenodd",
34
+ d: "M34.3604 15.9264L32.3595 14.7735L23.0198 20.1584L24.4692 20.9931C25.9057 21.8174 26.7865 23.3413 26.7865 24.9937V37.0224C26.7865 37.5092 26.7093 37.9854 26.5636 38.4361C26.548 38.4849 26.5317 38.5334 26.5145 38.5816L34.3613 34.0606C35.457 33.432 36.1291 32.2702 36.1291 31.0081V18.9794C36.1291 17.7223 35.4529 16.5553 34.3604 15.9264Z",
35
+ fill: "#101214"
36
+ }), /*#__PURE__*/React.createElement("path", {
37
+ fillRule: "evenodd",
38
+ clipRule: "evenodd",
39
+ d: "M21.1444 29.7597L11.8048 35.1446L20.3831 40.087C21.4561 40.7046 22.7764 40.7156 23.8581 40.1198C23.8777 40.1047 23.8986 40.0906 23.9206 40.0779C24.6914 39.6342 25.2551 38.9226 25.5201 38.1005C25.628 37.7606 25.685 37.4016 25.685 37.034V32.3746L21.1444 29.7597Z",
40
+ fill: "#101214"
41
+ }));
42
+ });
@@ -90,6 +90,9 @@ var WorkflowBuilderAvatar = /*#__PURE__*/lazy(function () {
90
90
  var TrialGuideAvatar = /*#__PURE__*/lazy(function () {
91
91
  return import( /* webpackChunkName: "@atlaskit-rovo-avatar-TrialGuideAvatar"*/'./assets/trial-guide');
92
92
  });
93
+ var JsmRovoServiceAgentAvatar = /*#__PURE__*/lazy(function () {
94
+ return import( /* webpackChunkName: "@atlaskit-rovo-avatar-JsmRovoServiceAgentAvatar"*/'./assets/jsm-rovo-service-agent');
95
+ });
93
96
  export var yellowColor = {
94
97
  primary: '#FCA700',
95
98
  secondary: '#FFC716'
@@ -269,6 +272,16 @@ var outOfTheBoxAgentAvatar = {
269
272
  });
270
273
  },
271
274
  color: blueColor
275
+ },
276
+ jsm_rovo_service_agent: {
277
+ getRender: function getRender(size) {
278
+ return /*#__PURE__*/React.createElement(JsmRovoServiceAgentAvatar, {
279
+ size: AVATAR_SIZES[size],
280
+ primaryColor: "",
281
+ secondaryColor: ""
282
+ });
283
+ },
284
+ color: yellowColor
272
285
  }
273
286
  };
274
287
 
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import type { AvatarIconProps } from './types';
3
+ declare const _default: ({ size: _size, primaryColor: _primaryColor, secondaryColor: _secondaryColor, }: AvatarIconProps) => React.JSX.Element;
4
+ export default _default;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import type { AvatarIconProps } from './types';
3
+ declare const _default: ({ size: _size, primaryColor: _primaryColor, secondaryColor: _secondaryColor, }: AvatarIconProps) => React.JSX.Element;
4
+ export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/rovo-agent-components",
3
- "version": "3.20.0",
3
+ "version": "3.21.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",