@atlaskit/rovo-agent-components 3.40.0 → 3.42.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 +14 -0
- package/dist/cjs/common/ui/chat-pill/messages.js +3 -2
- package/dist/cjs/common/ui/link-icon-button/messages.js +3 -2
- package/dist/cjs/common/ui/star-icon-button/messages.js +3 -2
- package/dist/cjs/ui/agent-avatar/generated-avatars/assets/replit-agent.js +32 -0
- package/dist/cjs/ui/agent-avatar/generated-avatars/assets/rovo-agent.js +45 -0
- package/dist/cjs/ui/agent-avatar/generated-avatars/index.js +30 -0
- package/dist/cjs/ui/agent-dropdown-menu/messages.js +3 -2
- package/dist/cjs/ui/agent-verification-dropdown-item/messages.js +3 -2
- package/dist/cjs/ui/agent-verified/messages.js +3 -2
- package/dist/es2019/common/ui/chat-pill/messages.js +3 -2
- package/dist/es2019/common/ui/link-icon-button/messages.js +3 -2
- package/dist/es2019/common/ui/star-icon-button/messages.js +3 -2
- package/dist/es2019/ui/agent-avatar/generated-avatars/assets/replit-agent.js +24 -0
- package/dist/es2019/ui/agent-avatar/generated-avatars/assets/rovo-agent.js +37 -0
- package/dist/es2019/ui/agent-avatar/generated-avatars/index.js +18 -0
- package/dist/es2019/ui/agent-dropdown-menu/messages.js +3 -2
- package/dist/es2019/ui/agent-verification-dropdown-item/messages.js +3 -2
- package/dist/es2019/ui/agent-verified/messages.js +3 -2
- package/dist/esm/common/ui/chat-pill/messages.js +3 -2
- package/dist/esm/common/ui/link-icon-button/messages.js +3 -2
- package/dist/esm/common/ui/star-icon-button/messages.js +3 -2
- package/dist/esm/ui/agent-avatar/generated-avatars/assets/replit-agent.js +25 -0
- package/dist/esm/ui/agent-avatar/generated-avatars/assets/rovo-agent.js +38 -0
- package/dist/esm/ui/agent-avatar/generated-avatars/index.js +26 -0
- package/dist/esm/ui/agent-dropdown-menu/messages.js +3 -2
- package/dist/esm/ui/agent-verification-dropdown-item/messages.js +3 -2
- package/dist/esm/ui/agent-verified/messages.js +3 -2
- package/dist/types/common/ui/chat-pill/index.d.ts +8 -3
- package/dist/types/common/ui/chat-pill/messages.d.ts +2 -2
- package/dist/types/common/ui/link-icon-button/messages.d.ts +2 -2
- package/dist/types/common/ui/star-icon-button/messages.d.ts +2 -2
- package/dist/types/ui/agent-avatar/generated-avatars/assets/replit-agent.d.ts +4 -0
- package/dist/types/ui/agent-avatar/generated-avatars/assets/rovo-agent.d.ts +4 -0
- package/dist/types/ui/agent-dropdown-menu/messages.d.ts +35 -35
- package/dist/types/ui/agent-verification-dropdown-item/messages.d.ts +2 -2
- package/dist/types/ui/agent-verified/index.d.ts +2 -2
- package/dist/types/ui/agent-verified/messages.d.ts +2 -2
- package/dist/types-ts4.5/common/ui/chat-pill/index.d.ts +8 -3
- package/dist/types-ts4.5/common/ui/chat-pill/messages.d.ts +2 -2
- package/dist/types-ts4.5/common/ui/link-icon-button/messages.d.ts +2 -2
- package/dist/types-ts4.5/common/ui/star-icon-button/messages.d.ts +2 -2
- package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/assets/replit-agent.d.ts +4 -0
- package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/assets/rovo-agent.d.ts +4 -0
- package/dist/types-ts4.5/ui/agent-dropdown-menu/messages.d.ts +35 -35
- package/dist/types-ts4.5/ui/agent-verification-dropdown-item/messages.d.ts +2 -2
- package/dist/types-ts4.5/ui/agent-verified/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/agent-verified/messages.d.ts +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/rovo-agent-components
|
|
2
2
|
|
|
3
|
+
## 3.42.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`f502fb4f37f79`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f502fb4f37f79) -
|
|
8
|
+
[ux] add rovo agent logo
|
|
9
|
+
|
|
10
|
+
## 3.41.0
|
|
11
|
+
|
|
12
|
+
### Minor Changes
|
|
13
|
+
|
|
14
|
+
- [`8036cb29672c7`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8036cb29672c7) -
|
|
15
|
+
Add avatar for Replit agent (OOTB)
|
|
16
|
+
|
|
3
17
|
## 3.40.0
|
|
4
18
|
|
|
5
19
|
### Minor Changes
|
|
@@ -5,10 +5,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _reactIntlNext = require("react-intl-next");
|
|
8
|
-
var
|
|
8
|
+
var _default_1 = (0, _reactIntlNext.defineMessages)({
|
|
9
9
|
browseAgentsPillLabel: {
|
|
10
10
|
id: 'ai-mate.rovo-agent-components.browse-agents-pill.label',
|
|
11
11
|
defaultMessage: 'Browse Agents',
|
|
12
12
|
description: 'The label displayed on the browse agents pill'
|
|
13
13
|
}
|
|
14
|
-
});
|
|
14
|
+
});
|
|
15
|
+
var _default = exports.default = _default_1;
|
|
@@ -5,10 +5,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _reactIntlNext = require("react-intl-next");
|
|
8
|
-
var
|
|
8
|
+
var _default_1 = (0, _reactIntlNext.defineMessages)({
|
|
9
9
|
copyAgentLinkLabel: {
|
|
10
10
|
id: 'rovo-chat.browse-agents.copy-agent-label',
|
|
11
11
|
defaultMessage: 'Copy link to agent',
|
|
12
12
|
description: "Button label/aria label for copying agent link to clipboard. When clicked, copies the agent's URL to clipboard."
|
|
13
13
|
}
|
|
14
|
-
});
|
|
14
|
+
});
|
|
15
|
+
var _default = exports.default = _default_1;
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _reactIntlNext = require("react-intl-next");
|
|
8
|
-
var
|
|
8
|
+
var _default_1 = (0, _reactIntlNext.defineMessages)({
|
|
9
9
|
removeFromFavouritesLabel: {
|
|
10
10
|
id: 'rovo-chat.browse-agents.remove-from-favourites-label',
|
|
11
11
|
defaultMessage: 'Remove from favourites',
|
|
@@ -16,4 +16,5 @@ var _default = exports.default = (0, _reactIntlNext.defineMessages)({
|
|
|
16
16
|
defaultMessage: 'Not favourited, click to favourite',
|
|
17
17
|
description: 'Button label/aria label indicating agent is not favorited. Instructions to click the star button to add agent to favorites.'
|
|
18
18
|
}
|
|
19
|
-
});
|
|
19
|
+
});
|
|
20
|
+
var _default = exports.default = _default_1;
|
|
@@ -0,0 +1,32 @@
|
|
|
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
|
+
"aria-hidden": "true"
|
|
19
|
+
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
20
|
+
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",
|
|
21
|
+
fill: "#1C1D21"
|
|
22
|
+
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
23
|
+
d: "M16.2032 24.7882C16.2031 25.4524 15.6463 26 14.9716 26H9.23065C8.55611 25.9999 8.00008 25.4523 8 24.7882V20.7443C8.00001 20.0802 8.55607 19.5326 9.23065 19.5325H16.2032V24.7882Z",
|
|
24
|
+
fill: "#FD5402"
|
|
25
|
+
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
26
|
+
d: "M23.6809 12.4577C24.4037 12.4578 25 13.0551 25 13.7797V18.1911C24.9999 18.9282 24.4037 19.5129 23.6809 19.513H16.2103V12.4577H23.6809Z",
|
|
27
|
+
fill: "#FD5402"
|
|
28
|
+
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
29
|
+
d: "M14.9716 6C15.6582 6 16.2032 6.54905 16.2032 7.21449V12.4675H9.23065C8.54437 12.4674 8.00022 11.9191 8 11.2539V7.21449C8 6.53747 8.55606 6.00015 9.23065 6H14.9716Z",
|
|
30
|
+
fill: "#FD5402"
|
|
31
|
+
}));
|
|
32
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
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
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
14
|
+
width: size,
|
|
15
|
+
height: size,
|
|
16
|
+
viewBox: "0 0 55 55",
|
|
17
|
+
fill: "none"
|
|
18
|
+
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
19
|
+
d: "M24.6586 0.775609C26.5679 -0.277535 28.8982 -0.258187 30.792 0.833652L45.6848 9.42602L49.2164 11.4636C51.1447 12.5753 52.3382 14.6378 52.3382 16.8597V38.1199C52.3382 40.3506 51.1519 42.404 49.2179 43.5151L35.3682 51.5057C35.3985 51.4205 35.4274 51.3348 35.455 51.2486C35.712 50.452 35.8483 49.6103 35.8483 48.7499V27.4898C35.8483 24.5691 34.2938 21.8758 31.7582 20.4188L29.2001 18.9435L21.4341 14.4649V6.22962C21.4341 5.58069 21.5345 4.94678 21.7245 4.3467C22.1915 2.89436 23.1849 1.63706 24.5439 0.852196L24.548 0.849818C24.5869 0.827342 24.624 0.802413 24.6586 0.775609Z",
|
|
20
|
+
fill: "#FCA700"
|
|
21
|
+
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
22
|
+
d: "M19.97 3.4944L6.12029 11.485C4.1863 12.5961 3 14.6495 3 16.8802V38.1404C3 40.3623 4.19329 42.4247 6.12155 43.5363L9.40529 45.4309L24.5462 54.1664C26.44 55.2581 28.7704 55.2776 30.6796 54.2245C30.7142 54.1977 30.751 54.1729 30.79 54.1504C32.1504 53.3661 33.1453 52.1083 33.6131 50.6554C33.8035 50.0547 33.9041 49.4201 33.9041 48.7705V40.5352L25.89 35.9134L23.5806 34.5817C21.0455 33.1246 19.4899 30.4307 19.4899 27.5103V6.25013C19.4899 5.39096 19.6258 4.55039 19.8822 3.75482C19.91 3.66745 19.9393 3.58063 19.97 3.4944Z",
|
|
23
|
+
fill: "#FCA700"
|
|
24
|
+
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
25
|
+
fillRule: "evenodd",
|
|
26
|
+
clipRule: "evenodd",
|
|
27
|
+
d: "M25.89 35.9134L9.40529 45.4309L6.12155 43.5363C4.19329 42.4247 3 40.3623 3 38.1404V16.8802C3 14.6495 4.1863 12.5961 6.12029 11.485L19.97 3.4944C19.9393 3.58063 19.91 3.66745 19.8822 3.75482C19.6258 4.55039 19.4899 5.39096 19.4899 6.25013V27.5103C19.4899 30.4307 21.0455 33.1246 23.5806 34.5817L25.89 35.9134Z",
|
|
28
|
+
fill: "#1868DB"
|
|
29
|
+
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
30
|
+
fillRule: "evenodd",
|
|
31
|
+
clipRule: "evenodd",
|
|
32
|
+
d: "M29.2001 18.9435L21.4341 14.4649V6.22962C21.4341 5.58069 21.5345 4.94678 21.7245 4.3467C22.1915 2.89436 23.1849 1.63706 24.5439 0.852196L24.548 0.849818C24.5869 0.827342 24.624 0.802413 24.6586 0.775609C26.5679 -0.277535 28.8982 -0.258187 30.792 0.833652L45.6848 9.42602L29.2001 18.9435Z",
|
|
33
|
+
fill: "#FCA700"
|
|
34
|
+
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
35
|
+
fillRule: "evenodd",
|
|
36
|
+
clipRule: "evenodd",
|
|
37
|
+
d: "M49.2164 11.4636L45.6848 9.42602L29.2001 18.9435L31.7582 20.4188C34.2938 21.8758 35.8483 24.5691 35.8483 27.4898V48.7499C35.8483 49.6103 35.712 50.452 35.455 51.2486C35.4274 51.3348 35.3985 51.4205 35.3682 51.5057L49.2179 43.5151C51.1519 42.404 52.3382 40.3506 52.3382 38.1199V16.8597C52.3382 14.6378 51.1447 12.5753 49.2164 11.4636Z",
|
|
38
|
+
fill: "#AF59E0"
|
|
39
|
+
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
40
|
+
fillRule: "evenodd",
|
|
41
|
+
clipRule: "evenodd",
|
|
42
|
+
d: "M25.89 35.9134L9.40529 45.4309L24.5462 54.1664C26.44 55.2581 28.7704 55.2776 30.6796 54.2245C30.7142 54.1977 30.751 54.1729 30.79 54.1504C32.1504 53.3661 33.1453 52.1083 33.6131 50.6554C33.8035 50.0547 33.9041 49.4201 33.9041 48.7705V40.5352L25.89 35.9134Z",
|
|
43
|
+
fill: "#6A9A23"
|
|
44
|
+
}));
|
|
45
|
+
};
|
|
@@ -191,6 +191,16 @@ var GammaAgentAvatar = /*#__PURE__*/(0, _react.lazy)(function () {
|
|
|
191
191
|
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-rovo-avatar-GammaAgentAvatar"*/'./assets/gamma-agent'));
|
|
192
192
|
});
|
|
193
193
|
});
|
|
194
|
+
var ReplitAgentAvatar = /*#__PURE__*/(0, _react.lazy)(function () {
|
|
195
|
+
return Promise.resolve().then(function () {
|
|
196
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-rovo-avatar-ReplitAgentAvatar"*/'./assets/replit-agent'));
|
|
197
|
+
});
|
|
198
|
+
});
|
|
199
|
+
var RovoAgentAvatar = /*#__PURE__*/(0, _react.lazy)(function () {
|
|
200
|
+
return Promise.resolve().then(function () {
|
|
201
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-rovo-avatar-RovoAgentAvatar"*/'./assets/rovo-agent'));
|
|
202
|
+
});
|
|
203
|
+
});
|
|
194
204
|
/**
|
|
195
205
|
* OOTB Agents avatars - end
|
|
196
206
|
*/
|
|
@@ -458,6 +468,26 @@ var outOfTheBoxAgentAvatar = {
|
|
|
458
468
|
});
|
|
459
469
|
},
|
|
460
470
|
color: blueColor
|
|
471
|
+
},
|
|
472
|
+
mcp_replit_agent: {
|
|
473
|
+
getRender: function getRender(size) {
|
|
474
|
+
return /*#__PURE__*/_react.default.createElement(ReplitAgentAvatar, {
|
|
475
|
+
size: _avatar.AVATAR_SIZES[size],
|
|
476
|
+
primaryColor: "",
|
|
477
|
+
secondaryColor: ""
|
|
478
|
+
});
|
|
479
|
+
},
|
|
480
|
+
color: blueColor
|
|
481
|
+
},
|
|
482
|
+
rovo_agent: {
|
|
483
|
+
getRender: function getRender(size) {
|
|
484
|
+
return /*#__PURE__*/_react.default.createElement(RovoAgentAvatar, {
|
|
485
|
+
size: _avatar.AVATAR_SIZES[size],
|
|
486
|
+
primaryColor: "",
|
|
487
|
+
secondaryColor: ""
|
|
488
|
+
});
|
|
489
|
+
},
|
|
490
|
+
color: blueColor
|
|
461
491
|
}
|
|
462
492
|
};
|
|
463
493
|
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _reactIntlNext = require("react-intl-next");
|
|
8
|
-
var
|
|
8
|
+
var _default_1 = (0, _reactIntlNext.defineMessages)({
|
|
9
9
|
chatToAgentButton: {
|
|
10
10
|
id: 'rovo-chat.view-agent.chat-to-agent-button',
|
|
11
11
|
defaultMessage: 'Chat to Agent',
|
|
@@ -61,4 +61,5 @@ var _default = exports.default = (0, _reactIntlNext.defineMessages)({
|
|
|
61
61
|
defaultMessage: 'Use template',
|
|
62
62
|
description: 'Button to copy and use a template'
|
|
63
63
|
}
|
|
64
|
-
});
|
|
64
|
+
});
|
|
65
|
+
var _default = exports.default = _default_1;
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _reactIntlNext = require("react-intl-next");
|
|
8
|
-
var
|
|
8
|
+
var _default_1 = (0, _reactIntlNext.defineMessages)({
|
|
9
9
|
verifyAgentLabel: {
|
|
10
10
|
id: 'rovo-agent-components.agent-verification-dropdown-item.verify-agent',
|
|
11
11
|
defaultMessage: 'Verify agent',
|
|
@@ -41,4 +41,5 @@ var _default = exports.default = (0, _reactIntlNext.defineMessages)({
|
|
|
41
41
|
defaultMessage: 'An error occurred while updating agent verification status: {errorMessage}',
|
|
42
42
|
description: 'Description for error flag showing the error message'
|
|
43
43
|
}
|
|
44
|
-
});
|
|
44
|
+
});
|
|
45
|
+
var _default = exports.default = _default_1;
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _reactIntlNext = require("react-intl-next");
|
|
8
|
-
var
|
|
8
|
+
var _default_1 = (0, _reactIntlNext.defineMessages)({
|
|
9
9
|
verifiedAgentTooltip: {
|
|
10
10
|
id: 'agent-studio-ui-components.agent-verified.tooltip',
|
|
11
11
|
defaultMessage: 'This agent has been verified by your organization.',
|
|
@@ -16,4 +16,5 @@ var _default = exports.default = (0, _reactIntlNext.defineMessages)({
|
|
|
16
16
|
defaultMessage: 'Agent verified',
|
|
17
17
|
description: 'Verified icon label for the agent studio side navigation'
|
|
18
18
|
}
|
|
19
|
-
});
|
|
19
|
+
});
|
|
20
|
+
var _default = exports.default = _default_1;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { defineMessages } from 'react-intl-next';
|
|
2
|
-
|
|
2
|
+
const _default_1 = defineMessages({
|
|
3
3
|
browseAgentsPillLabel: {
|
|
4
4
|
id: 'ai-mate.rovo-agent-components.browse-agents-pill.label',
|
|
5
5
|
defaultMessage: 'Browse Agents',
|
|
6
6
|
description: 'The label displayed on the browse agents pill'
|
|
7
7
|
}
|
|
8
|
-
});
|
|
8
|
+
});
|
|
9
|
+
export default _default_1;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { defineMessages } from 'react-intl-next';
|
|
2
|
-
|
|
2
|
+
const _default_1 = defineMessages({
|
|
3
3
|
copyAgentLinkLabel: {
|
|
4
4
|
id: 'rovo-chat.browse-agents.copy-agent-label',
|
|
5
5
|
defaultMessage: 'Copy link to agent',
|
|
6
6
|
description: "Button label/aria label for copying agent link to clipboard. When clicked, copies the agent's URL to clipboard."
|
|
7
7
|
}
|
|
8
|
-
});
|
|
8
|
+
});
|
|
9
|
+
export default _default_1;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineMessages } from 'react-intl-next';
|
|
2
|
-
|
|
2
|
+
const _default_1 = defineMessages({
|
|
3
3
|
removeFromFavouritesLabel: {
|
|
4
4
|
id: 'rovo-chat.browse-agents.remove-from-favourites-label',
|
|
5
5
|
defaultMessage: 'Remove from favourites',
|
|
@@ -10,4 +10,5 @@ export default defineMessages({
|
|
|
10
10
|
defaultMessage: 'Not favourited, click to favourite',
|
|
11
11
|
description: 'Button label/aria label indicating agent is not favorited. Instructions to click the star button to add agent to favorites.'
|
|
12
12
|
}
|
|
13
|
-
});
|
|
13
|
+
});
|
|
14
|
+
export default _default_1;
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
"aria-hidden": "true"
|
|
12
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
13
|
+
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",
|
|
14
|
+
fill: "#1C1D21"
|
|
15
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
16
|
+
d: "M16.2032 24.7882C16.2031 25.4524 15.6463 26 14.9716 26H9.23065C8.55611 25.9999 8.00008 25.4523 8 24.7882V20.7443C8.00001 20.0802 8.55607 19.5326 9.23065 19.5325H16.2032V24.7882Z",
|
|
17
|
+
fill: "#FD5402"
|
|
18
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
19
|
+
d: "M23.6809 12.4577C24.4037 12.4578 25 13.0551 25 13.7797V18.1911C24.9999 18.9282 24.4037 19.5129 23.6809 19.513H16.2103V12.4577H23.6809Z",
|
|
20
|
+
fill: "#FD5402"
|
|
21
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
22
|
+
d: "M14.9716 6C15.6582 6 16.2032 6.54905 16.2032 7.21449V12.4675H9.23065C8.54437 12.4674 8.00022 11.9191 8 11.2539V7.21449C8 6.53747 8.55606 6.00015 9.23065 6H14.9716Z",
|
|
23
|
+
fill: "#FD5402"
|
|
24
|
+
})));
|
|
@@ -0,0 +1,37 @@
|
|
|
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
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
width: size,
|
|
8
|
+
height: size,
|
|
9
|
+
viewBox: "0 0 55 55",
|
|
10
|
+
fill: "none"
|
|
11
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
12
|
+
d: "M24.6586 0.775609C26.5679 -0.277535 28.8982 -0.258187 30.792 0.833652L45.6848 9.42602L49.2164 11.4636C51.1447 12.5753 52.3382 14.6378 52.3382 16.8597V38.1199C52.3382 40.3506 51.1519 42.404 49.2179 43.5151L35.3682 51.5057C35.3985 51.4205 35.4274 51.3348 35.455 51.2486C35.712 50.452 35.8483 49.6103 35.8483 48.7499V27.4898C35.8483 24.5691 34.2938 21.8758 31.7582 20.4188L29.2001 18.9435L21.4341 14.4649V6.22962C21.4341 5.58069 21.5345 4.94678 21.7245 4.3467C22.1915 2.89436 23.1849 1.63706 24.5439 0.852196L24.548 0.849818C24.5869 0.827342 24.624 0.802413 24.6586 0.775609Z",
|
|
13
|
+
fill: "#FCA700"
|
|
14
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
15
|
+
d: "M19.97 3.4944L6.12029 11.485C4.1863 12.5961 3 14.6495 3 16.8802V38.1404C3 40.3623 4.19329 42.4247 6.12155 43.5363L9.40529 45.4309L24.5462 54.1664C26.44 55.2581 28.7704 55.2776 30.6796 54.2245C30.7142 54.1977 30.751 54.1729 30.79 54.1504C32.1504 53.3661 33.1453 52.1083 33.6131 50.6554C33.8035 50.0547 33.9041 49.4201 33.9041 48.7705V40.5352L25.89 35.9134L23.5806 34.5817C21.0455 33.1246 19.4899 30.4307 19.4899 27.5103V6.25013C19.4899 5.39096 19.6258 4.55039 19.8822 3.75482C19.91 3.66745 19.9393 3.58063 19.97 3.4944Z",
|
|
16
|
+
fill: "#FCA700"
|
|
17
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
18
|
+
fillRule: "evenodd",
|
|
19
|
+
clipRule: "evenodd",
|
|
20
|
+
d: "M25.89 35.9134L9.40529 45.4309L6.12155 43.5363C4.19329 42.4247 3 40.3623 3 38.1404V16.8802C3 14.6495 4.1863 12.5961 6.12029 11.485L19.97 3.4944C19.9393 3.58063 19.91 3.66745 19.8822 3.75482C19.6258 4.55039 19.4899 5.39096 19.4899 6.25013V27.5103C19.4899 30.4307 21.0455 33.1246 23.5806 34.5817L25.89 35.9134Z",
|
|
21
|
+
fill: "#1868DB"
|
|
22
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
23
|
+
fillRule: "evenodd",
|
|
24
|
+
clipRule: "evenodd",
|
|
25
|
+
d: "M29.2001 18.9435L21.4341 14.4649V6.22962C21.4341 5.58069 21.5345 4.94678 21.7245 4.3467C22.1915 2.89436 23.1849 1.63706 24.5439 0.852196L24.548 0.849818C24.5869 0.827342 24.624 0.802413 24.6586 0.775609C26.5679 -0.277535 28.8982 -0.258187 30.792 0.833652L45.6848 9.42602L29.2001 18.9435Z",
|
|
26
|
+
fill: "#FCA700"
|
|
27
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
28
|
+
fillRule: "evenodd",
|
|
29
|
+
clipRule: "evenodd",
|
|
30
|
+
d: "M49.2164 11.4636L45.6848 9.42602L29.2001 18.9435L31.7582 20.4188C34.2938 21.8758 35.8483 24.5691 35.8483 27.4898V48.7499C35.8483 49.6103 35.712 50.452 35.455 51.2486C35.4274 51.3348 35.3985 51.4205 35.3682 51.5057L49.2179 43.5151C51.1519 42.404 52.3382 40.3506 52.3382 38.1199V16.8597C52.3382 14.6378 51.1447 12.5753 49.2164 11.4636Z",
|
|
31
|
+
fill: "#AF59E0"
|
|
32
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
33
|
+
fillRule: "evenodd",
|
|
34
|
+
clipRule: "evenodd",
|
|
35
|
+
d: "M25.89 35.9134L9.40529 45.4309L24.5462 54.1664C26.44 55.2581 28.7704 55.2776 30.6796 54.2245C30.7142 54.1977 30.751 54.1729 30.79 54.1504C32.1504 53.3661 33.1453 52.1083 33.6131 50.6554C33.8035 50.0547 33.9041 49.4201 33.9041 48.7705V40.5352L25.89 35.9134Z",
|
|
36
|
+
fill: "#6A9A23"
|
|
37
|
+
})));
|
|
@@ -55,6 +55,8 @@ const FigmaAgentAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName: "@
|
|
|
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
57
|
const GammaAgentAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName: "@atlaskit-rovo-avatar-GammaAgentAvatar"*/'./assets/gamma-agent'));
|
|
58
|
+
const ReplitAgentAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName: "@atlaskit-rovo-avatar-ReplitAgentAvatar"*/'./assets/replit-agent'));
|
|
59
|
+
const RovoAgentAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName: "@atlaskit-rovo-avatar-RovoAgentAvatar"*/'./assets/rovo-agent'));
|
|
58
60
|
/**
|
|
59
61
|
* OOTB Agents avatars - end
|
|
60
62
|
*/
|
|
@@ -274,6 +276,22 @@ const outOfTheBoxAgentAvatar = {
|
|
|
274
276
|
secondaryColor: ""
|
|
275
277
|
}),
|
|
276
278
|
color: blueColor
|
|
279
|
+
},
|
|
280
|
+
mcp_replit_agent: {
|
|
281
|
+
getRender: size => /*#__PURE__*/React.createElement(ReplitAgentAvatar, {
|
|
282
|
+
size: AVATAR_SIZES[size],
|
|
283
|
+
primaryColor: "",
|
|
284
|
+
secondaryColor: ""
|
|
285
|
+
}),
|
|
286
|
+
color: blueColor
|
|
287
|
+
},
|
|
288
|
+
rovo_agent: {
|
|
289
|
+
getRender: size => /*#__PURE__*/React.createElement(RovoAgentAvatar, {
|
|
290
|
+
size: AVATAR_SIZES[size],
|
|
291
|
+
primaryColor: "",
|
|
292
|
+
secondaryColor: ""
|
|
293
|
+
}),
|
|
294
|
+
color: blueColor
|
|
277
295
|
}
|
|
278
296
|
};
|
|
279
297
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineMessages } from 'react-intl-next';
|
|
2
|
-
|
|
2
|
+
const _default_1 = defineMessages({
|
|
3
3
|
chatToAgentButton: {
|
|
4
4
|
id: 'rovo-chat.view-agent.chat-to-agent-button',
|
|
5
5
|
defaultMessage: 'Chat to Agent',
|
|
@@ -55,4 +55,5 @@ export default defineMessages({
|
|
|
55
55
|
defaultMessage: 'Use template',
|
|
56
56
|
description: 'Button to copy and use a template'
|
|
57
57
|
}
|
|
58
|
-
});
|
|
58
|
+
});
|
|
59
|
+
export default _default_1;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineMessages } from 'react-intl-next';
|
|
2
|
-
|
|
2
|
+
const _default_1 = defineMessages({
|
|
3
3
|
verifyAgentLabel: {
|
|
4
4
|
id: 'rovo-agent-components.agent-verification-dropdown-item.verify-agent',
|
|
5
5
|
defaultMessage: 'Verify agent',
|
|
@@ -35,4 +35,5 @@ export default defineMessages({
|
|
|
35
35
|
defaultMessage: 'An error occurred while updating agent verification status: {errorMessage}',
|
|
36
36
|
description: 'Description for error flag showing the error message'
|
|
37
37
|
}
|
|
38
|
-
});
|
|
38
|
+
});
|
|
39
|
+
export default _default_1;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineMessages } from 'react-intl-next';
|
|
2
|
-
|
|
2
|
+
const _default_1 = defineMessages({
|
|
3
3
|
verifiedAgentTooltip: {
|
|
4
4
|
id: 'agent-studio-ui-components.agent-verified.tooltip',
|
|
5
5
|
defaultMessage: 'This agent has been verified by your organization.',
|
|
@@ -10,4 +10,5 @@ export default defineMessages({
|
|
|
10
10
|
defaultMessage: 'Agent verified',
|
|
11
11
|
description: 'Verified icon label for the agent studio side navigation'
|
|
12
12
|
}
|
|
13
|
-
});
|
|
13
|
+
});
|
|
14
|
+
export default _default_1;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { defineMessages } from 'react-intl-next';
|
|
2
|
-
|
|
2
|
+
var _default_1 = defineMessages({
|
|
3
3
|
browseAgentsPillLabel: {
|
|
4
4
|
id: 'ai-mate.rovo-agent-components.browse-agents-pill.label',
|
|
5
5
|
defaultMessage: 'Browse Agents',
|
|
6
6
|
description: 'The label displayed on the browse agents pill'
|
|
7
7
|
}
|
|
8
|
-
});
|
|
8
|
+
});
|
|
9
|
+
export default _default_1;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { defineMessages } from 'react-intl-next';
|
|
2
|
-
|
|
2
|
+
var _default_1 = defineMessages({
|
|
3
3
|
copyAgentLinkLabel: {
|
|
4
4
|
id: 'rovo-chat.browse-agents.copy-agent-label',
|
|
5
5
|
defaultMessage: 'Copy link to agent',
|
|
6
6
|
description: "Button label/aria label for copying agent link to clipboard. When clicked, copies the agent's URL to clipboard."
|
|
7
7
|
}
|
|
8
|
-
});
|
|
8
|
+
});
|
|
9
|
+
export default _default_1;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineMessages } from 'react-intl-next';
|
|
2
|
-
|
|
2
|
+
var _default_1 = defineMessages({
|
|
3
3
|
removeFromFavouritesLabel: {
|
|
4
4
|
id: 'rovo-chat.browse-agents.remove-from-favourites-label',
|
|
5
5
|
defaultMessage: 'Remove from favourites',
|
|
@@ -10,4 +10,5 @@ export default defineMessages({
|
|
|
10
10
|
defaultMessage: 'Not favourited, click to favourite',
|
|
11
11
|
description: 'Button label/aria label indicating agent is not favorited. Instructions to click the star button to add agent to favorites.'
|
|
12
12
|
}
|
|
13
|
-
});
|
|
13
|
+
});
|
|
14
|
+
export default _default_1;
|
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
"aria-hidden": "true"
|
|
12
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
13
|
+
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",
|
|
14
|
+
fill: "#1C1D21"
|
|
15
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
16
|
+
d: "M16.2032 24.7882C16.2031 25.4524 15.6463 26 14.9716 26H9.23065C8.55611 25.9999 8.00008 25.4523 8 24.7882V20.7443C8.00001 20.0802 8.55607 19.5326 9.23065 19.5325H16.2032V24.7882Z",
|
|
17
|
+
fill: "#FD5402"
|
|
18
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
19
|
+
d: "M23.6809 12.4577C24.4037 12.4578 25 13.0551 25 13.7797V18.1911C24.9999 18.9282 24.4037 19.5129 23.6809 19.513H16.2103V12.4577H23.6809Z",
|
|
20
|
+
fill: "#FD5402"
|
|
21
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
22
|
+
d: "M14.9716 6C15.6582 6 16.2032 6.54905 16.2032 7.21449V12.4675H9.23065C8.54437 12.4674 8.00022 11.9191 8 11.2539V7.21449C8 6.53747 8.55606 6.00015 9.23065 6H14.9716Z",
|
|
23
|
+
fill: "#FD5402"
|
|
24
|
+
}));
|
|
25
|
+
});
|
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
width: size,
|
|
8
|
+
height: size,
|
|
9
|
+
viewBox: "0 0 55 55",
|
|
10
|
+
fill: "none"
|
|
11
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
12
|
+
d: "M24.6586 0.775609C26.5679 -0.277535 28.8982 -0.258187 30.792 0.833652L45.6848 9.42602L49.2164 11.4636C51.1447 12.5753 52.3382 14.6378 52.3382 16.8597V38.1199C52.3382 40.3506 51.1519 42.404 49.2179 43.5151L35.3682 51.5057C35.3985 51.4205 35.4274 51.3348 35.455 51.2486C35.712 50.452 35.8483 49.6103 35.8483 48.7499V27.4898C35.8483 24.5691 34.2938 21.8758 31.7582 20.4188L29.2001 18.9435L21.4341 14.4649V6.22962C21.4341 5.58069 21.5345 4.94678 21.7245 4.3467C22.1915 2.89436 23.1849 1.63706 24.5439 0.852196L24.548 0.849818C24.5869 0.827342 24.624 0.802413 24.6586 0.775609Z",
|
|
13
|
+
fill: "#FCA700"
|
|
14
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
15
|
+
d: "M19.97 3.4944L6.12029 11.485C4.1863 12.5961 3 14.6495 3 16.8802V38.1404C3 40.3623 4.19329 42.4247 6.12155 43.5363L9.40529 45.4309L24.5462 54.1664C26.44 55.2581 28.7704 55.2776 30.6796 54.2245C30.7142 54.1977 30.751 54.1729 30.79 54.1504C32.1504 53.3661 33.1453 52.1083 33.6131 50.6554C33.8035 50.0547 33.9041 49.4201 33.9041 48.7705V40.5352L25.89 35.9134L23.5806 34.5817C21.0455 33.1246 19.4899 30.4307 19.4899 27.5103V6.25013C19.4899 5.39096 19.6258 4.55039 19.8822 3.75482C19.91 3.66745 19.9393 3.58063 19.97 3.4944Z",
|
|
16
|
+
fill: "#FCA700"
|
|
17
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
18
|
+
fillRule: "evenodd",
|
|
19
|
+
clipRule: "evenodd",
|
|
20
|
+
d: "M25.89 35.9134L9.40529 45.4309L6.12155 43.5363C4.19329 42.4247 3 40.3623 3 38.1404V16.8802C3 14.6495 4.1863 12.5961 6.12029 11.485L19.97 3.4944C19.9393 3.58063 19.91 3.66745 19.8822 3.75482C19.6258 4.55039 19.4899 5.39096 19.4899 6.25013V27.5103C19.4899 30.4307 21.0455 33.1246 23.5806 34.5817L25.89 35.9134Z",
|
|
21
|
+
fill: "#1868DB"
|
|
22
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
23
|
+
fillRule: "evenodd",
|
|
24
|
+
clipRule: "evenodd",
|
|
25
|
+
d: "M29.2001 18.9435L21.4341 14.4649V6.22962C21.4341 5.58069 21.5345 4.94678 21.7245 4.3467C22.1915 2.89436 23.1849 1.63706 24.5439 0.852196L24.548 0.849818C24.5869 0.827342 24.624 0.802413 24.6586 0.775609C26.5679 -0.277535 28.8982 -0.258187 30.792 0.833652L45.6848 9.42602L29.2001 18.9435Z",
|
|
26
|
+
fill: "#FCA700"
|
|
27
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
28
|
+
fillRule: "evenodd",
|
|
29
|
+
clipRule: "evenodd",
|
|
30
|
+
d: "M49.2164 11.4636L45.6848 9.42602L29.2001 18.9435L31.7582 20.4188C34.2938 21.8758 35.8483 24.5691 35.8483 27.4898V48.7499C35.8483 49.6103 35.712 50.452 35.455 51.2486C35.4274 51.3348 35.3985 51.4205 35.3682 51.5057L49.2179 43.5151C51.1519 42.404 52.3382 40.3506 52.3382 38.1199V16.8597C52.3382 14.6378 51.1447 12.5753 49.2164 11.4636Z",
|
|
31
|
+
fill: "#AF59E0"
|
|
32
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
33
|
+
fillRule: "evenodd",
|
|
34
|
+
clipRule: "evenodd",
|
|
35
|
+
d: "M25.89 35.9134L9.40529 45.4309L24.5462 54.1664C26.44 55.2581 28.7704 55.2776 30.6796 54.2245C30.7142 54.1977 30.751 54.1729 30.79 54.1504C32.1504 53.3661 33.1453 52.1083 33.6131 50.6554C33.8035 50.0547 33.9041 49.4201 33.9041 48.7705V40.5352L25.89 35.9134Z",
|
|
36
|
+
fill: "#6A9A23"
|
|
37
|
+
}));
|
|
38
|
+
});
|
|
@@ -118,6 +118,12 @@ var IntercomAgentAvatar = /*#__PURE__*/lazy(function () {
|
|
|
118
118
|
var GammaAgentAvatar = /*#__PURE__*/lazy(function () {
|
|
119
119
|
return import( /* webpackChunkName: "@atlaskit-rovo-avatar-GammaAgentAvatar"*/'./assets/gamma-agent');
|
|
120
120
|
});
|
|
121
|
+
var ReplitAgentAvatar = /*#__PURE__*/lazy(function () {
|
|
122
|
+
return import( /* webpackChunkName: "@atlaskit-rovo-avatar-ReplitAgentAvatar"*/'./assets/replit-agent');
|
|
123
|
+
});
|
|
124
|
+
var RovoAgentAvatar = /*#__PURE__*/lazy(function () {
|
|
125
|
+
return import( /* webpackChunkName: "@atlaskit-rovo-avatar-RovoAgentAvatar"*/'./assets/rovo-agent');
|
|
126
|
+
});
|
|
121
127
|
/**
|
|
122
128
|
* OOTB Agents avatars - end
|
|
123
129
|
*/
|
|
@@ -385,6 +391,26 @@ var outOfTheBoxAgentAvatar = {
|
|
|
385
391
|
});
|
|
386
392
|
},
|
|
387
393
|
color: blueColor
|
|
394
|
+
},
|
|
395
|
+
mcp_replit_agent: {
|
|
396
|
+
getRender: function getRender(size) {
|
|
397
|
+
return /*#__PURE__*/React.createElement(ReplitAgentAvatar, {
|
|
398
|
+
size: AVATAR_SIZES[size],
|
|
399
|
+
primaryColor: "",
|
|
400
|
+
secondaryColor: ""
|
|
401
|
+
});
|
|
402
|
+
},
|
|
403
|
+
color: blueColor
|
|
404
|
+
},
|
|
405
|
+
rovo_agent: {
|
|
406
|
+
getRender: function getRender(size) {
|
|
407
|
+
return /*#__PURE__*/React.createElement(RovoAgentAvatar, {
|
|
408
|
+
size: AVATAR_SIZES[size],
|
|
409
|
+
primaryColor: "",
|
|
410
|
+
secondaryColor: ""
|
|
411
|
+
});
|
|
412
|
+
},
|
|
413
|
+
color: blueColor
|
|
388
414
|
}
|
|
389
415
|
};
|
|
390
416
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineMessages } from 'react-intl-next';
|
|
2
|
-
|
|
2
|
+
var _default_1 = defineMessages({
|
|
3
3
|
chatToAgentButton: {
|
|
4
4
|
id: 'rovo-chat.view-agent.chat-to-agent-button',
|
|
5
5
|
defaultMessage: 'Chat to Agent',
|
|
@@ -55,4 +55,5 @@ export default defineMessages({
|
|
|
55
55
|
defaultMessage: 'Use template',
|
|
56
56
|
description: 'Button to copy and use a template'
|
|
57
57
|
}
|
|
58
|
-
});
|
|
58
|
+
});
|
|
59
|
+
export default _default_1;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineMessages } from 'react-intl-next';
|
|
2
|
-
|
|
2
|
+
var _default_1 = defineMessages({
|
|
3
3
|
verifyAgentLabel: {
|
|
4
4
|
id: 'rovo-agent-components.agent-verification-dropdown-item.verify-agent',
|
|
5
5
|
defaultMessage: 'Verify agent',
|
|
@@ -35,4 +35,5 @@ export default defineMessages({
|
|
|
35
35
|
defaultMessage: 'An error occurred while updating agent verification status: {errorMessage}',
|
|
36
36
|
description: 'Description for error flag showing the error message'
|
|
37
37
|
}
|
|
38
|
-
});
|
|
38
|
+
});
|
|
39
|
+
export default _default_1;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineMessages } from 'react-intl-next';
|
|
2
|
-
|
|
2
|
+
var _default_1 = defineMessages({
|
|
3
3
|
verifiedAgentTooltip: {
|
|
4
4
|
id: 'agent-studio-ui-components.agent-verified.tooltip',
|
|
5
5
|
defaultMessage: 'This agent has been verified by your organization.',
|
|
@@ -10,4 +10,5 @@ export default defineMessages({
|
|
|
10
10
|
defaultMessage: 'Agent verified',
|
|
11
11
|
description: 'Verified icon label for the agent studio side navigation'
|
|
12
12
|
}
|
|
13
|
-
});
|
|
13
|
+
});
|
|
14
|
+
export default _default_1;
|
|
@@ -1,11 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
import { type ForwardRefExoticComponent, type RefAttributes } from 'react';
|
|
1
6
|
import { type ButtonProps } from '@atlaskit/button';
|
|
2
7
|
export type ChatPillProps = Omit<ButtonProps, 'iconBefore'> & {
|
|
3
8
|
whiteSpacePreWrap?: boolean;
|
|
4
9
|
renderIcon?: boolean;
|
|
5
10
|
};
|
|
6
|
-
export declare const ChatPill:
|
|
11
|
+
export declare const ChatPill: ForwardRefExoticComponent<Omit<ButtonProps, 'iconBefore'> & {
|
|
7
12
|
whiteSpacePreWrap?: boolean;
|
|
8
13
|
renderIcon?: boolean;
|
|
9
|
-
} &
|
|
14
|
+
} & RefAttributes<HTMLButtonElement>>;
|
|
10
15
|
export type BrowseAgentsPillProps = Omit<ButtonProps, 'iconBefore' | 'children'>;
|
|
11
|
-
export declare const BrowseAgentsPill:
|
|
16
|
+
export declare const BrowseAgentsPill: ForwardRefExoticComponent<BrowseAgentsPillProps & RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const _default_1: {
|
|
2
2
|
removeFromFavouritesLabel: {
|
|
3
3
|
id: string;
|
|
4
4
|
defaultMessage: string;
|
|
@@ -10,4 +10,4 @@ declare const _default: {
|
|
|
10
10
|
description: string;
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
export default
|
|
13
|
+
export default _default_1;
|
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const _default_1: {
|
|
2
2
|
readonly chatToAgentButton: {
|
|
3
|
-
readonly id:
|
|
4
|
-
readonly defaultMessage:
|
|
5
|
-
readonly description:
|
|
3
|
+
readonly id: 'rovo-chat.view-agent.chat-to-agent-button';
|
|
4
|
+
readonly defaultMessage: 'Chat to Agent';
|
|
5
|
+
readonly description: 'Button to chat to agent';
|
|
6
6
|
};
|
|
7
7
|
readonly moreActionsLabel: {
|
|
8
|
-
readonly id:
|
|
9
|
-
readonly defaultMessage:
|
|
10
|
-
readonly description:
|
|
8
|
+
readonly id: 'rovo-chat.view-agent.more-actions-label';
|
|
9
|
+
readonly defaultMessage: 'More actions';
|
|
10
|
+
readonly description: 'More actions dropdown menu label';
|
|
11
11
|
};
|
|
12
12
|
readonly moreActionsForLabel: {
|
|
13
|
-
readonly id:
|
|
14
|
-
readonly defaultMessage:
|
|
15
|
-
readonly description:
|
|
13
|
+
readonly id: 'rovo-chat.view-agent.more-actions-for-label';
|
|
14
|
+
readonly defaultMessage: 'More actions for {agentName}';
|
|
15
|
+
readonly description: 'More actions dropdown menu label';
|
|
16
16
|
};
|
|
17
17
|
readonly duplicateAgent: {
|
|
18
|
-
readonly id:
|
|
19
|
-
readonly defaultMessage:
|
|
20
|
-
readonly description:
|
|
18
|
+
readonly id: 'rovo-chat.view-agent.duplicate-agent';
|
|
19
|
+
readonly defaultMessage: 'Duplicate Agent';
|
|
20
|
+
readonly description: 'Button to duplicate an agent';
|
|
21
21
|
};
|
|
22
22
|
readonly editAgent: {
|
|
23
|
-
readonly id:
|
|
24
|
-
readonly defaultMessage:
|
|
25
|
-
readonly description:
|
|
23
|
+
readonly id: 'rovo-chat.view-agent.edit-agent';
|
|
24
|
+
readonly defaultMessage: 'Edit Agent';
|
|
25
|
+
readonly description: 'Button to edit an agent';
|
|
26
26
|
};
|
|
27
27
|
readonly deleteAgent: {
|
|
28
|
-
readonly id:
|
|
29
|
-
readonly defaultMessage:
|
|
30
|
-
readonly description:
|
|
28
|
+
readonly id: 'rovo-chat.view-agent.delete-agent';
|
|
29
|
+
readonly defaultMessage: 'Delete Agent';
|
|
30
|
+
readonly description: 'Button to delete an agent';
|
|
31
31
|
};
|
|
32
32
|
readonly copyLinkToProfile: {
|
|
33
|
-
readonly id:
|
|
34
|
-
readonly defaultMessage:
|
|
35
|
-
readonly description:
|
|
33
|
+
readonly id: 'rovo-chat.view-agent.copy-link-to-profile';
|
|
34
|
+
readonly defaultMessage: 'Copy link';
|
|
35
|
+
readonly description: 'Button to copy the link to the agent profile';
|
|
36
36
|
};
|
|
37
37
|
readonly linkedCopiedToProfile: {
|
|
38
|
-
readonly id:
|
|
39
|
-
readonly defaultMessage:
|
|
40
|
-
readonly description:
|
|
38
|
+
readonly id: 'rovo-chat.view-agent.link-copied-to-profile';
|
|
39
|
+
readonly defaultMessage: 'Copied URL';
|
|
40
|
+
readonly description: 'Button confirming link to agent profile is copied';
|
|
41
41
|
};
|
|
42
42
|
readonly viewAgent: {
|
|
43
|
-
readonly id:
|
|
44
|
-
readonly defaultMessage:
|
|
45
|
-
readonly description:
|
|
43
|
+
readonly id: 'rovo-chat.view-agents.view-agent';
|
|
44
|
+
readonly defaultMessage: 'View Agent';
|
|
45
|
+
readonly description: 'Button to view an agent';
|
|
46
46
|
};
|
|
47
47
|
readonly viewAgentFullProfile: {
|
|
48
|
-
readonly id:
|
|
49
|
-
readonly defaultMessage:
|
|
50
|
-
readonly description:
|
|
48
|
+
readonly id: 'rovo-chat.view-agents.view-agent-full-profile';
|
|
49
|
+
readonly defaultMessage: 'View full profile';
|
|
50
|
+
readonly description: 'Button to view an agent full profile';
|
|
51
51
|
};
|
|
52
52
|
readonly useTemplateButton: {
|
|
53
|
-
readonly id:
|
|
54
|
-
readonly defaultMessage:
|
|
55
|
-
readonly description:
|
|
53
|
+
readonly id: 'rovo-chat.view-agents.use-template-button';
|
|
54
|
+
readonly defaultMessage: 'Use template';
|
|
55
|
+
readonly description: 'Button to copy and use a template';
|
|
56
56
|
};
|
|
57
57
|
};
|
|
58
|
-
export default
|
|
58
|
+
export default _default_1;
|
|
@@ -3,7 +3,7 @@ import type { agentVerified_AtlaskitRovoAgentComponents$key } from './__generate
|
|
|
3
3
|
export type AgentVerifiedProps = AgentVerifiedIconProps & {
|
|
4
4
|
agentRef: agentVerified_AtlaskitRovoAgentComponents$key | null;
|
|
5
5
|
};
|
|
6
|
-
export declare const AgentVerified: ({ agentRef, adjacentTextSize }: AgentVerifiedProps) => React.JSX.Element | null;
|
|
6
|
+
export declare const AgentVerified: ({ agentRef, adjacentTextSize, }: AgentVerifiedProps) => React.JSX.Element | null;
|
|
7
7
|
export type AgentVerifiedIconProps = {
|
|
8
8
|
/**
|
|
9
9
|
* Height matches line-height of adjacent text for proper vertical alignment
|
|
@@ -11,4 +11,4 @@ export type AgentVerifiedIconProps = {
|
|
|
11
11
|
*/
|
|
12
12
|
adjacentTextSize?: 'body' | 'textLarge' | 'headingMedium' | 'headingLarge';
|
|
13
13
|
};
|
|
14
|
-
export declare const AgentVerifiedIcon: ({ adjacentTextSize }: AgentVerifiedIconProps) => React.JSX.Element;
|
|
14
|
+
export declare const AgentVerifiedIcon: ({ adjacentTextSize, }: AgentVerifiedIconProps) => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const _default_1: {
|
|
2
2
|
verifiedAgentTooltip: {
|
|
3
3
|
id: string;
|
|
4
4
|
defaultMessage: string;
|
|
@@ -10,4 +10,4 @@ declare const _default: {
|
|
|
10
10
|
description: string;
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
export default
|
|
13
|
+
export default _default_1;
|
|
@@ -1,11 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
import { type ForwardRefExoticComponent, type RefAttributes } from 'react';
|
|
1
6
|
import { type ButtonProps } from '@atlaskit/button';
|
|
2
7
|
export type ChatPillProps = Omit<ButtonProps, 'iconBefore'> & {
|
|
3
8
|
whiteSpacePreWrap?: boolean;
|
|
4
9
|
renderIcon?: boolean;
|
|
5
10
|
};
|
|
6
|
-
export declare const ChatPill:
|
|
11
|
+
export declare const ChatPill: ForwardRefExoticComponent<Omit<ButtonProps, 'iconBefore'> & {
|
|
7
12
|
whiteSpacePreWrap?: boolean;
|
|
8
13
|
renderIcon?: boolean;
|
|
9
|
-
} &
|
|
14
|
+
} & RefAttributes<HTMLButtonElement>>;
|
|
10
15
|
export type BrowseAgentsPillProps = Omit<ButtonProps, 'iconBefore' | 'children'>;
|
|
11
|
-
export declare const BrowseAgentsPill:
|
|
16
|
+
export declare const BrowseAgentsPill: ForwardRefExoticComponent<BrowseAgentsPillProps & RefAttributes<HTMLButtonElement>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const _default_1: {
|
|
2
2
|
removeFromFavouritesLabel: {
|
|
3
3
|
id: string;
|
|
4
4
|
defaultMessage: string;
|
|
@@ -10,4 +10,4 @@ declare const _default: {
|
|
|
10
10
|
description: string;
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
export default
|
|
13
|
+
export default _default_1;
|
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const _default_1: {
|
|
2
2
|
readonly chatToAgentButton: {
|
|
3
|
-
readonly id:
|
|
4
|
-
readonly defaultMessage:
|
|
5
|
-
readonly description:
|
|
3
|
+
readonly id: 'rovo-chat.view-agent.chat-to-agent-button';
|
|
4
|
+
readonly defaultMessage: 'Chat to Agent';
|
|
5
|
+
readonly description: 'Button to chat to agent';
|
|
6
6
|
};
|
|
7
7
|
readonly moreActionsLabel: {
|
|
8
|
-
readonly id:
|
|
9
|
-
readonly defaultMessage:
|
|
10
|
-
readonly description:
|
|
8
|
+
readonly id: 'rovo-chat.view-agent.more-actions-label';
|
|
9
|
+
readonly defaultMessage: 'More actions';
|
|
10
|
+
readonly description: 'More actions dropdown menu label';
|
|
11
11
|
};
|
|
12
12
|
readonly moreActionsForLabel: {
|
|
13
|
-
readonly id:
|
|
14
|
-
readonly defaultMessage:
|
|
15
|
-
readonly description:
|
|
13
|
+
readonly id: 'rovo-chat.view-agent.more-actions-for-label';
|
|
14
|
+
readonly defaultMessage: 'More actions for {agentName}';
|
|
15
|
+
readonly description: 'More actions dropdown menu label';
|
|
16
16
|
};
|
|
17
17
|
readonly duplicateAgent: {
|
|
18
|
-
readonly id:
|
|
19
|
-
readonly defaultMessage:
|
|
20
|
-
readonly description:
|
|
18
|
+
readonly id: 'rovo-chat.view-agent.duplicate-agent';
|
|
19
|
+
readonly defaultMessage: 'Duplicate Agent';
|
|
20
|
+
readonly description: 'Button to duplicate an agent';
|
|
21
21
|
};
|
|
22
22
|
readonly editAgent: {
|
|
23
|
-
readonly id:
|
|
24
|
-
readonly defaultMessage:
|
|
25
|
-
readonly description:
|
|
23
|
+
readonly id: 'rovo-chat.view-agent.edit-agent';
|
|
24
|
+
readonly defaultMessage: 'Edit Agent';
|
|
25
|
+
readonly description: 'Button to edit an agent';
|
|
26
26
|
};
|
|
27
27
|
readonly deleteAgent: {
|
|
28
|
-
readonly id:
|
|
29
|
-
readonly defaultMessage:
|
|
30
|
-
readonly description:
|
|
28
|
+
readonly id: 'rovo-chat.view-agent.delete-agent';
|
|
29
|
+
readonly defaultMessage: 'Delete Agent';
|
|
30
|
+
readonly description: 'Button to delete an agent';
|
|
31
31
|
};
|
|
32
32
|
readonly copyLinkToProfile: {
|
|
33
|
-
readonly id:
|
|
34
|
-
readonly defaultMessage:
|
|
35
|
-
readonly description:
|
|
33
|
+
readonly id: 'rovo-chat.view-agent.copy-link-to-profile';
|
|
34
|
+
readonly defaultMessage: 'Copy link';
|
|
35
|
+
readonly description: 'Button to copy the link to the agent profile';
|
|
36
36
|
};
|
|
37
37
|
readonly linkedCopiedToProfile: {
|
|
38
|
-
readonly id:
|
|
39
|
-
readonly defaultMessage:
|
|
40
|
-
readonly description:
|
|
38
|
+
readonly id: 'rovo-chat.view-agent.link-copied-to-profile';
|
|
39
|
+
readonly defaultMessage: 'Copied URL';
|
|
40
|
+
readonly description: 'Button confirming link to agent profile is copied';
|
|
41
41
|
};
|
|
42
42
|
readonly viewAgent: {
|
|
43
|
-
readonly id:
|
|
44
|
-
readonly defaultMessage:
|
|
45
|
-
readonly description:
|
|
43
|
+
readonly id: 'rovo-chat.view-agents.view-agent';
|
|
44
|
+
readonly defaultMessage: 'View Agent';
|
|
45
|
+
readonly description: 'Button to view an agent';
|
|
46
46
|
};
|
|
47
47
|
readonly viewAgentFullProfile: {
|
|
48
|
-
readonly id:
|
|
49
|
-
readonly defaultMessage:
|
|
50
|
-
readonly description:
|
|
48
|
+
readonly id: 'rovo-chat.view-agents.view-agent-full-profile';
|
|
49
|
+
readonly defaultMessage: 'View full profile';
|
|
50
|
+
readonly description: 'Button to view an agent full profile';
|
|
51
51
|
};
|
|
52
52
|
readonly useTemplateButton: {
|
|
53
|
-
readonly id:
|
|
54
|
-
readonly defaultMessage:
|
|
55
|
-
readonly description:
|
|
53
|
+
readonly id: 'rovo-chat.view-agents.use-template-button';
|
|
54
|
+
readonly defaultMessage: 'Use template';
|
|
55
|
+
readonly description: 'Button to copy and use a template';
|
|
56
56
|
};
|
|
57
57
|
};
|
|
58
|
-
export default
|
|
58
|
+
export default _default_1;
|
|
@@ -3,7 +3,7 @@ import type { agentVerified_AtlaskitRovoAgentComponents$key } from './__generate
|
|
|
3
3
|
export type AgentVerifiedProps = AgentVerifiedIconProps & {
|
|
4
4
|
agentRef: agentVerified_AtlaskitRovoAgentComponents$key | null;
|
|
5
5
|
};
|
|
6
|
-
export declare const AgentVerified: ({ agentRef, adjacentTextSize }: AgentVerifiedProps) => React.JSX.Element | null;
|
|
6
|
+
export declare const AgentVerified: ({ agentRef, adjacentTextSize, }: AgentVerifiedProps) => React.JSX.Element | null;
|
|
7
7
|
export type AgentVerifiedIconProps = {
|
|
8
8
|
/**
|
|
9
9
|
* Height matches line-height of adjacent text for proper vertical alignment
|
|
@@ -11,4 +11,4 @@ export type AgentVerifiedIconProps = {
|
|
|
11
11
|
*/
|
|
12
12
|
adjacentTextSize?: 'body' | 'textLarge' | 'headingMedium' | 'headingLarge';
|
|
13
13
|
};
|
|
14
|
-
export declare const AgentVerifiedIcon: ({ adjacentTextSize }: AgentVerifiedIconProps) => React.JSX.Element;
|
|
14
|
+
export declare const AgentVerifiedIcon: ({ adjacentTextSize, }: AgentVerifiedIconProps) => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const _default_1: {
|
|
2
2
|
verifiedAgentTooltip: {
|
|
3
3
|
id: string;
|
|
4
4
|
defaultMessage: string;
|
|
@@ -10,4 +10,4 @@ declare const _default: {
|
|
|
10
10
|
description: string;
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
export default
|
|
13
|
+
export default _default_1;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/rovo-agent-components",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.42.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",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@atlaskit/avatar": "^25.8.0",
|
|
38
38
|
"@atlaskit/button": "^23.10.0",
|
|
39
39
|
"@atlaskit/css": "^0.19.0",
|
|
40
|
-
"@atlaskit/dropdown-menu": "^16.
|
|
40
|
+
"@atlaskit/dropdown-menu": "^16.6.0",
|
|
41
41
|
"@atlaskit/flag": "^17.8.0",
|
|
42
42
|
"@atlaskit/heading": "^5.3.0",
|
|
43
43
|
"@atlaskit/icon": "^32.0.0",
|