@atlaskit/rovo-agent-components 3.36.3 → 3.37.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 +13 -0
- package/dist/cjs/ui/agent-avatar/generated-avatars/assets/gamma-agent.js +47 -0
- package/dist/cjs/ui/agent-avatar/generated-avatars/index.js +15 -0
- package/dist/es2019/ui/agent-avatar/generated-avatars/assets/gamma-agent.js +39 -0
- package/dist/es2019/ui/agent-avatar/generated-avatars/index.js +9 -0
- package/dist/esm/ui/agent-avatar/generated-avatars/assets/gamma-agent.js +40 -0
- package/dist/esm/ui/agent-avatar/generated-avatars/index.js +13 -0
- package/dist/types/ui/agent-avatar/generated-avatars/assets/gamma-agent.d.ts +4 -0
- package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/assets/gamma-agent.d.ts +4 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/rovo-agent-components
|
|
2
2
|
|
|
3
|
+
## 3.37.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`aa072e4b28464`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/aa072e4b28464) -
|
|
8
|
+
Add avatar for Gamma agent (OOTB)
|
|
9
|
+
|
|
10
|
+
## 3.36.4
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
3
16
|
## 3.36.3
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -0,0 +1,47 @@
|
|
|
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 32 32",
|
|
16
|
+
fill: "none",
|
|
17
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
18
|
+
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
19
|
+
d: "M0 8C0 3.58172 3.58172 0 8 0H24C28.4183 0 32 3.58172 32 8V24C32 28.4183 28.4183 32 24 32H8C3.58172 32 0 28.4183 0 24V8Z",
|
|
20
|
+
fill: "url(#paint0_linear_3065_14463)"
|
|
21
|
+
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
22
|
+
d: "M20.9603 25.8061C20.5763 25.5076 20.0909 25.3479 19.6199 25.216C18.4751 24.9106 17.2868 24.7926 16.1057 24.7856C14.9247 24.7856 13.7364 24.9106 12.5915 25.216C12.1206 25.3479 11.6423 25.5076 11.2511 25.8061C10.5482 26.4101 11.4177 26.9377 11.9901 27.1321C13.3016 27.5903 14.7145 27.75 16.0985 27.75C17.4896 27.75 18.9026 27.5903 20.2068 27.1321C20.7792 26.9377 21.6487 26.4101 20.9459 25.8061H20.9603Z",
|
|
23
|
+
fill: "#FAF9F6"
|
|
24
|
+
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
25
|
+
d: "M10.4178 7.38115C9.25849 8.27671 8.389 9.39443 7.83833 10.6996C7.28041 12.0117 7.121 13.3932 7.35286 14.8095C7.58473 16.2188 8.18612 17.4892 9.13531 18.5722C10.0845 19.6552 11.2656 20.4605 12.6567 20.9673C14.0479 21.4741 15.5333 21.613 17.0621 21.3769L23.25 20.4397L21.6704 10.8801L14.4899 11.97L15.0406 15.2885L18.4243 14.7748L18.8736 17.4753L16.5984 17.8224C15.7941 17.9474 15.0044 17.8641 14.2653 17.5795C13.5262 17.2948 12.8886 16.8505 12.3886 16.2604C11.8887 15.6703 11.5626 14.9761 11.4395 14.1985C11.309 13.421 11.396 12.6712 11.6786 11.9562C11.9684 11.248 12.4249 10.6371 13.0408 10.1442C13.6566 9.6513 14.374 9.34583 15.1783 9.22087L21.2502 8.29754L20.6633 4.75L14.4754 5.68722C12.9466 5.91631 11.5771 6.49253 10.4178 7.38115Z",
|
|
26
|
+
fill: "#FAF9F6"
|
|
27
|
+
}), /*#__PURE__*/_react.default.createElement("defs", null, /*#__PURE__*/_react.default.createElement("linearGradient", {
|
|
28
|
+
id: "paint0_linear_3065_14463",
|
|
29
|
+
x1: "16",
|
|
30
|
+
y1: "32",
|
|
31
|
+
x2: "16",
|
|
32
|
+
y2: "9.3132e-09",
|
|
33
|
+
gradientUnits: "userSpaceOnUse"
|
|
34
|
+
}, /*#__PURE__*/_react.default.createElement("stop", {
|
|
35
|
+
offset: "0",
|
|
36
|
+
stopColor: "#84DFFF"
|
|
37
|
+
}), /*#__PURE__*/_react.default.createElement("stop", {
|
|
38
|
+
offset: "0.4",
|
|
39
|
+
stopColor: "#0042AC"
|
|
40
|
+
}), /*#__PURE__*/_react.default.createElement("stop", {
|
|
41
|
+
offset: "0.6",
|
|
42
|
+
stopColor: "#0042AC"
|
|
43
|
+
}), /*#__PURE__*/_react.default.createElement("stop", {
|
|
44
|
+
offset: "1",
|
|
45
|
+
stopColor: "#000B4F"
|
|
46
|
+
}))));
|
|
47
|
+
};
|
|
@@ -186,6 +186,11 @@ var IntercomAgentAvatar = /*#__PURE__*/(0, _react.lazy)(function () {
|
|
|
186
186
|
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-rovo-avatar-IntercomAgentAvatar"*/'./assets/intercom-agent'));
|
|
187
187
|
});
|
|
188
188
|
});
|
|
189
|
+
var GammaAgentAvatar = /*#__PURE__*/(0, _react.lazy)(function () {
|
|
190
|
+
return Promise.resolve().then(function () {
|
|
191
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-rovo-avatar-GammaAgentAvatar"*/'./assets/gamma-agent'));
|
|
192
|
+
});
|
|
193
|
+
});
|
|
189
194
|
/**
|
|
190
195
|
* OOTB Agents avatars - end
|
|
191
196
|
*/
|
|
@@ -443,6 +448,16 @@ var outOfTheBoxAgentAvatar = {
|
|
|
443
448
|
});
|
|
444
449
|
},
|
|
445
450
|
color: blueColor
|
|
451
|
+
},
|
|
452
|
+
mcp_gamma_agent: {
|
|
453
|
+
getRender: function getRender(size) {
|
|
454
|
+
return /*#__PURE__*/_react.default.createElement(GammaAgentAvatar, {
|
|
455
|
+
size: _avatar.AVATAR_SIZES[size],
|
|
456
|
+
primaryColor: "",
|
|
457
|
+
secondaryColor: ""
|
|
458
|
+
});
|
|
459
|
+
},
|
|
460
|
+
color: blueColor
|
|
446
461
|
}
|
|
447
462
|
};
|
|
448
463
|
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/* eslint-disable @atlaskit/ui-styling-standard/enforce-style-prop */
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export default (({
|
|
4
|
+
size
|
|
5
|
+
}) => /*#__PURE__*/React.createElement("svg", {
|
|
6
|
+
width: size,
|
|
7
|
+
height: size,
|
|
8
|
+
viewBox: "0 0 32 32",
|
|
9
|
+
fill: "none",
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
11
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
12
|
+
d: "M0 8C0 3.58172 3.58172 0 8 0H24C28.4183 0 32 3.58172 32 8V24C32 28.4183 28.4183 32 24 32H8C3.58172 32 0 28.4183 0 24V8Z",
|
|
13
|
+
fill: "url(#paint0_linear_3065_14463)"
|
|
14
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
15
|
+
d: "M20.9603 25.8061C20.5763 25.5076 20.0909 25.3479 19.6199 25.216C18.4751 24.9106 17.2868 24.7926 16.1057 24.7856C14.9247 24.7856 13.7364 24.9106 12.5915 25.216C12.1206 25.3479 11.6423 25.5076 11.2511 25.8061C10.5482 26.4101 11.4177 26.9377 11.9901 27.1321C13.3016 27.5903 14.7145 27.75 16.0985 27.75C17.4896 27.75 18.9026 27.5903 20.2068 27.1321C20.7792 26.9377 21.6487 26.4101 20.9459 25.8061H20.9603Z",
|
|
16
|
+
fill: "#FAF9F6"
|
|
17
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
18
|
+
d: "M10.4178 7.38115C9.25849 8.27671 8.389 9.39443 7.83833 10.6996C7.28041 12.0117 7.121 13.3932 7.35286 14.8095C7.58473 16.2188 8.18612 17.4892 9.13531 18.5722C10.0845 19.6552 11.2656 20.4605 12.6567 20.9673C14.0479 21.4741 15.5333 21.613 17.0621 21.3769L23.25 20.4397L21.6704 10.8801L14.4899 11.97L15.0406 15.2885L18.4243 14.7748L18.8736 17.4753L16.5984 17.8224C15.7941 17.9474 15.0044 17.8641 14.2653 17.5795C13.5262 17.2948 12.8886 16.8505 12.3886 16.2604C11.8887 15.6703 11.5626 14.9761 11.4395 14.1985C11.309 13.421 11.396 12.6712 11.6786 11.9562C11.9684 11.248 12.4249 10.6371 13.0408 10.1442C13.6566 9.6513 14.374 9.34583 15.1783 9.22087L21.2502 8.29754L20.6633 4.75L14.4754 5.68722C12.9466 5.91631 11.5771 6.49253 10.4178 7.38115Z",
|
|
19
|
+
fill: "#FAF9F6"
|
|
20
|
+
}), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
|
|
21
|
+
id: "paint0_linear_3065_14463",
|
|
22
|
+
x1: "16",
|
|
23
|
+
y1: "32",
|
|
24
|
+
x2: "16",
|
|
25
|
+
y2: "9.3132e-09",
|
|
26
|
+
gradientUnits: "userSpaceOnUse"
|
|
27
|
+
}, /*#__PURE__*/React.createElement("stop", {
|
|
28
|
+
offset: "0",
|
|
29
|
+
stopColor: "#84DFFF"
|
|
30
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
31
|
+
offset: "0.4",
|
|
32
|
+
stopColor: "#0042AC"
|
|
33
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
34
|
+
offset: "0.6",
|
|
35
|
+
stopColor: "#0042AC"
|
|
36
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
37
|
+
offset: "1",
|
|
38
|
+
stopColor: "#000B4F"
|
|
39
|
+
})))));
|
|
@@ -54,6 +54,7 @@ const CanvaAgentAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName: "@
|
|
|
54
54
|
const FigmaAgentAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName: "@atlaskit-rovo-avatar-FigmaAgentAvatar"*/'./assets/figma-agent'));
|
|
55
55
|
const HubSpotAgentAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName: "@atlaskit-rovo-avatar-HubSpotAgentAvatar"*/'./assets/hubspot-agent'));
|
|
56
56
|
const IntercomAgentAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName: "@atlaskit-rovo-avatar-IntercomAgentAvatar"*/'./assets/intercom-agent'));
|
|
57
|
+
const GammaAgentAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName: "@atlaskit-rovo-avatar-GammaAgentAvatar"*/'./assets/gamma-agent'));
|
|
57
58
|
/**
|
|
58
59
|
* OOTB Agents avatars - end
|
|
59
60
|
*/
|
|
@@ -265,6 +266,14 @@ const outOfTheBoxAgentAvatar = {
|
|
|
265
266
|
secondaryColor: ""
|
|
266
267
|
}),
|
|
267
268
|
color: blueColor
|
|
269
|
+
},
|
|
270
|
+
mcp_gamma_agent: {
|
|
271
|
+
getRender: size => /*#__PURE__*/React.createElement(GammaAgentAvatar, {
|
|
272
|
+
size: AVATAR_SIZES[size],
|
|
273
|
+
primaryColor: "",
|
|
274
|
+
secondaryColor: ""
|
|
275
|
+
}),
|
|
276
|
+
color: blueColor
|
|
268
277
|
}
|
|
269
278
|
};
|
|
270
279
|
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/* eslint-disable @atlaskit/ui-styling-standard/enforce-style-prop */
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export default (function (_ref) {
|
|
4
|
+
var size = _ref.size;
|
|
5
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
6
|
+
width: size,
|
|
7
|
+
height: size,
|
|
8
|
+
viewBox: "0 0 32 32",
|
|
9
|
+
fill: "none",
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
11
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
12
|
+
d: "M0 8C0 3.58172 3.58172 0 8 0H24C28.4183 0 32 3.58172 32 8V24C32 28.4183 28.4183 32 24 32H8C3.58172 32 0 28.4183 0 24V8Z",
|
|
13
|
+
fill: "url(#paint0_linear_3065_14463)"
|
|
14
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
15
|
+
d: "M20.9603 25.8061C20.5763 25.5076 20.0909 25.3479 19.6199 25.216C18.4751 24.9106 17.2868 24.7926 16.1057 24.7856C14.9247 24.7856 13.7364 24.9106 12.5915 25.216C12.1206 25.3479 11.6423 25.5076 11.2511 25.8061C10.5482 26.4101 11.4177 26.9377 11.9901 27.1321C13.3016 27.5903 14.7145 27.75 16.0985 27.75C17.4896 27.75 18.9026 27.5903 20.2068 27.1321C20.7792 26.9377 21.6487 26.4101 20.9459 25.8061H20.9603Z",
|
|
16
|
+
fill: "#FAF9F6"
|
|
17
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
18
|
+
d: "M10.4178 7.38115C9.25849 8.27671 8.389 9.39443 7.83833 10.6996C7.28041 12.0117 7.121 13.3932 7.35286 14.8095C7.58473 16.2188 8.18612 17.4892 9.13531 18.5722C10.0845 19.6552 11.2656 20.4605 12.6567 20.9673C14.0479 21.4741 15.5333 21.613 17.0621 21.3769L23.25 20.4397L21.6704 10.8801L14.4899 11.97L15.0406 15.2885L18.4243 14.7748L18.8736 17.4753L16.5984 17.8224C15.7941 17.9474 15.0044 17.8641 14.2653 17.5795C13.5262 17.2948 12.8886 16.8505 12.3886 16.2604C11.8887 15.6703 11.5626 14.9761 11.4395 14.1985C11.309 13.421 11.396 12.6712 11.6786 11.9562C11.9684 11.248 12.4249 10.6371 13.0408 10.1442C13.6566 9.6513 14.374 9.34583 15.1783 9.22087L21.2502 8.29754L20.6633 4.75L14.4754 5.68722C12.9466 5.91631 11.5771 6.49253 10.4178 7.38115Z",
|
|
19
|
+
fill: "#FAF9F6"
|
|
20
|
+
}), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
|
|
21
|
+
id: "paint0_linear_3065_14463",
|
|
22
|
+
x1: "16",
|
|
23
|
+
y1: "32",
|
|
24
|
+
x2: "16",
|
|
25
|
+
y2: "9.3132e-09",
|
|
26
|
+
gradientUnits: "userSpaceOnUse"
|
|
27
|
+
}, /*#__PURE__*/React.createElement("stop", {
|
|
28
|
+
offset: "0",
|
|
29
|
+
stopColor: "#84DFFF"
|
|
30
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
31
|
+
offset: "0.4",
|
|
32
|
+
stopColor: "#0042AC"
|
|
33
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
34
|
+
offset: "0.6",
|
|
35
|
+
stopColor: "#0042AC"
|
|
36
|
+
}), /*#__PURE__*/React.createElement("stop", {
|
|
37
|
+
offset: "1",
|
|
38
|
+
stopColor: "#000B4F"
|
|
39
|
+
}))));
|
|
40
|
+
});
|
|
@@ -115,6 +115,9 @@ var HubSpotAgentAvatar = /*#__PURE__*/lazy(function () {
|
|
|
115
115
|
var IntercomAgentAvatar = /*#__PURE__*/lazy(function () {
|
|
116
116
|
return import( /* webpackChunkName: "@atlaskit-rovo-avatar-IntercomAgentAvatar"*/'./assets/intercom-agent');
|
|
117
117
|
});
|
|
118
|
+
var GammaAgentAvatar = /*#__PURE__*/lazy(function () {
|
|
119
|
+
return import( /* webpackChunkName: "@atlaskit-rovo-avatar-GammaAgentAvatar"*/'./assets/gamma-agent');
|
|
120
|
+
});
|
|
118
121
|
/**
|
|
119
122
|
* OOTB Agents avatars - end
|
|
120
123
|
*/
|
|
@@ -372,6 +375,16 @@ var outOfTheBoxAgentAvatar = {
|
|
|
372
375
|
});
|
|
373
376
|
},
|
|
374
377
|
color: blueColor
|
|
378
|
+
},
|
|
379
|
+
mcp_gamma_agent: {
|
|
380
|
+
getRender: function getRender(size) {
|
|
381
|
+
return /*#__PURE__*/React.createElement(GammaAgentAvatar, {
|
|
382
|
+
size: AVATAR_SIZES[size],
|
|
383
|
+
primaryColor: "",
|
|
384
|
+
secondaryColor: ""
|
|
385
|
+
});
|
|
386
|
+
},
|
|
387
|
+
color: blueColor
|
|
375
388
|
}
|
|
376
389
|
};
|
|
377
390
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/rovo-agent-components",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.37.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",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"@atlaskit/afm-i18n-platform-ai-mate-rovo-agent-components": "2.10.0",
|
|
36
36
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
37
37
|
"@atlaskit/avatar": "^25.8.0",
|
|
38
|
-
"@atlaskit/button": "^23.
|
|
38
|
+
"@atlaskit/button": "^23.10.0",
|
|
39
39
|
"@atlaskit/css": "^0.19.0",
|
|
40
40
|
"@atlaskit/dropdown-menu": "^16.5.0",
|
|
41
41
|
"@atlaskit/flag": "^17.8.0",
|
|
@@ -45,12 +45,12 @@
|
|
|
45
45
|
"@atlaskit/logo": "^19.10.0",
|
|
46
46
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
47
47
|
"@atlaskit/primitives": "^18.0.0",
|
|
48
|
-
"@atlaskit/rovo-agent-analytics": "^0.
|
|
48
|
+
"@atlaskit/rovo-agent-analytics": "^0.19.0",
|
|
49
49
|
"@atlaskit/skeleton": "^2.1.0",
|
|
50
50
|
"@atlaskit/tokens": "^11.0.0",
|
|
51
51
|
"@atlaskit/tooltip": "^20.14.0",
|
|
52
52
|
"@babel/runtime": "^7.0.0",
|
|
53
|
-
"@compiled/react": "^0.
|
|
53
|
+
"@compiled/react": "^0.20.0",
|
|
54
54
|
"react-dom": "^18.2.0",
|
|
55
55
|
"react-intl-next": "npm:react-intl@^5.18.1",
|
|
56
56
|
"react-magnetic-di": "^3.1.4",
|