@atlaskit/rovo-agent-components 5.2.0 → 5.2.2
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 +26 -0
- package/dist/cjs/ui/agent-avatar/generated-avatars/assets/jira-coding-agent.js +25 -0
- package/dist/cjs/ui/agent-avatar/generated-avatars/assets/jira-intelligent-triage-agent.js +36 -0
- package/dist/cjs/ui/agent-avatar/generated-avatars/index.js +30 -0
- package/dist/es2019/ui/agent-avatar/generated-avatars/assets/jira-coding-agent.js +17 -0
- package/dist/es2019/ui/agent-avatar/generated-avatars/assets/jira-intelligent-triage-agent.js +28 -0
- package/dist/es2019/ui/agent-avatar/generated-avatars/index.js +18 -0
- package/dist/esm/ui/agent-avatar/generated-avatars/assets/jira-coding-agent.js +18 -0
- package/dist/esm/ui/agent-avatar/generated-avatars/assets/jira-intelligent-triage-agent.js +29 -0
- package/dist/esm/ui/agent-avatar/generated-avatars/index.js +26 -0
- package/dist/types/ui/agent-avatar/generated-avatars/assets/jira-coding-agent.d.ts +4 -0
- package/dist/types/ui/agent-avatar/generated-avatars/assets/jira-intelligent-triage-agent.d.ts +4 -0
- package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/assets/jira-coding-agent.d.ts +4 -0
- package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/assets/jira-intelligent-triage-agent.d.ts +4 -0
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @atlaskit/rovo-agent-components
|
|
2
2
|
|
|
3
|
+
## 5.2.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`6b637cd3a7ff3`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6b637cd3a7ff3) -
|
|
8
|
+
Fix Jira Coding Agent profilecard showing old green Rovo Dev avatar and banner.
|
|
9
|
+
|
|
10
|
+
The `creator_type` field for the Jira Coding Agent is still `'ROVO_DEV'` (not updated at the
|
|
11
|
+
source), which caused `isRovoDev` to be `true` and the profilecard to render the legacy green
|
|
12
|
+
avatar and banner header.
|
|
13
|
+
|
|
14
|
+
When the `devai-rdij-to-jira-coding-agent` gate is enabled, the `isRovoDev` check now also
|
|
15
|
+
verifies the agent name is `'rovo dev'` (case-insensitive). If the name is anything else (e.g.
|
|
16
|
+
`'Jira Coding Agent'`), `isRovoDev` is `false` and the agent falls through to the named-avatar
|
|
17
|
+
lookup via `external_config_reference`.
|
|
18
|
+
|
|
19
|
+
A new `jira_coding_agent` entry has been added to `outOfTheBoxAgentAvatar` with a Jira icon on a
|
|
20
|
+
blue hexagon background, matching the backfilled identity avatar.
|
|
21
|
+
|
|
22
|
+
## 5.2.1
|
|
23
|
+
|
|
24
|
+
### Patch Changes
|
|
25
|
+
|
|
26
|
+
- [`704255fb1bd8d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/704255fb1bd8d) -
|
|
27
|
+
Adding avatar for triage agent
|
|
28
|
+
|
|
3
29
|
## 5.2.0
|
|
4
30
|
|
|
5
31
|
### Minor Changes
|
|
@@ -0,0 +1,25 @@
|
|
|
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 55 55",
|
|
16
|
+
fill: "none",
|
|
17
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
18
|
+
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
19
|
+
d: "M24.519 0.843677C26.4682 -0.281225 28.8698 -0.281226 30.819 0.843676L49.189 11.445C51.1382 12.5699 52.339 14.6488 52.339 16.8986V38.1014C52.339 40.3512 51.1382 42.4301 49.189 43.555L30.819 54.1563C28.8698 55.2812 26.4683 55.2812 24.519 54.1563L6.14902 43.555C4.1998 42.4301 2.99902 40.3512 2.99902 38.1014V16.8986C2.99902 14.6488 4.1998 12.5699 6.14902 11.445L24.519 0.843677Z",
|
|
20
|
+
fill: "#1868DB"
|
|
21
|
+
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
22
|
+
d: "M20.7101 34.6572H18.0055C13.9264 34.6572 11.0001 32.1587 11.0001 28.5002H25.5429C26.2966 28.5002 26.7844 29.0356 26.7844 29.7941V44.4281C23.1487 44.4281 20.7101 41.4835 20.7101 37.3788V34.6572ZM27.8928 27.3848H25.1882C21.1091 27.3848 18.1828 24.9309 18.1828 21.2724H32.7256C33.4794 21.2724 34.0114 21.7632 34.0114 22.5217V37.1557C30.3757 37.1557 27.8928 34.2111 27.8928 30.1064V27.3848ZM35.1199 20.157H32.4153C28.3362 20.157 25.4099 17.6585 25.4099 14H39.9527C40.7064 14 41.1942 14.5354 41.1942 15.2492V29.8833C37.5585 29.8833 35.1199 26.9386 35.1199 22.834V20.157Z",
|
|
23
|
+
fill: "white"
|
|
24
|
+
}));
|
|
25
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = void 0;
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
var _default = exports.default = function _default(_ref) {
|
|
10
|
+
var size = _ref.size,
|
|
11
|
+
_primaryColor = _ref.primaryColor,
|
|
12
|
+
_secondaryColor = _ref.secondaryColor;
|
|
13
|
+
return /*#__PURE__*/_react.default.createElement("svg", {
|
|
14
|
+
width: size,
|
|
15
|
+
height: size,
|
|
16
|
+
viewBox: "0 0 128 128",
|
|
17
|
+
fill: "none",
|
|
18
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
19
|
+
"aria-hidden": "true"
|
|
20
|
+
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
21
|
+
d: "M57.6 3.69504C61.5603 1.40854 66.4397 1.40854 70.4 3.69504L113.026 28.305C116.986 30.5915 119.426 34.8171 119.426 39.3901V88.6099C119.426 93.1829 116.986 97.4085 113.026 99.695L70.4 124.305C66.4397 126.591 61.5603 126.591 57.6 124.305L14.9744 99.695C11.014 97.4085 8.57438 93.1829 8.57438 88.6099V39.3901C8.57438 34.8171 11.014 30.5915 14.9744 28.305L57.6 3.69504Z",
|
|
22
|
+
fill: "#1868DB"
|
|
23
|
+
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
24
|
+
d: "M92.8836 88.8629C93.4815 89.4609 93.8177 90.2716 93.8177 91.1173C93.8177 91.9629 93.4815 92.7737 92.8836 93.3717L82.2552 104L77.7465 99.4913L82.932 94.3058H73.1422C70.5822 94.3055 68.3057 93.2969 66.4307 91.3242L62.8858 87.8053L66.996 82.7527L71.1572 86.9883C71.8018 87.5742 72.5027 87.9285 73.1422 87.9288H82.932L77.7465 82.7433L82.2552 78.2346L92.8836 88.8629Z",
|
|
25
|
+
fill: "white"
|
|
26
|
+
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
27
|
+
d: "M93.8088 64.0405C93.8088 63.1948 93.4727 62.384 92.8747 61.7861L82.2463 51.1577L77.7376 55.6665L82.9231 60.8519H66.2535V67.229H82.9231L77.7376 72.4144L82.2463 76.9232L92.8747 66.2948C93.4727 65.6969 93.8088 64.8861 93.8088 64.0405Z",
|
|
28
|
+
fill: "white"
|
|
29
|
+
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
30
|
+
d: "M92.8841 34.6283C94.1293 35.8735 94.1293 37.8919 92.8841 39.1371L82.2557 49.7654L77.7469 45.2567L82.9324 40.0712H70.8385C70.199 40.0715 69.5937 40.3597 69.1903 40.8559L50.1792 64.0574C48.5649 66.0443 46.1422 67.1999 43.5822 67.2002H27.8047V60.8232H43.5822C44.2216 60.8229 44.827 60.5347 45.2304 60.0385L64.2414 36.837C65.8558 34.8501 68.2785 33.6945 70.8385 33.6942H82.9324L77.7469 28.5087L82.2557 24L92.8841 34.6283Z",
|
|
31
|
+
fill: "white"
|
|
32
|
+
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
33
|
+
d: "M69.7413 74.4749C69.7413 75.7883 68.9203 76.9626 67.6864 77.4127L63.0966 79.085C62.519 79.2957 62.0621 79.7526 61.8515 80.3302L60.1791 84.92C59.7292 86.1535 58.5552 86.9749 57.2413 86.9749C55.9279 86.9749 54.7535 86.1539 54.3035 84.92L52.6311 80.3302C52.4204 79.7526 51.9635 79.2957 51.386 79.085L46.7961 77.4127C45.7157 77.0186 44.9516 76.0695 44.7779 74.9591L44.7413 74.4749L44.7779 73.9906C44.9517 72.8797 45.7162 71.9309 46.7961 71.537L51.386 69.8647C51.9635 69.654 52.4204 69.1971 52.6311 68.6196L54.3035 64.0297L54.5069 63.5862C55.0503 62.6046 56.0896 61.9763 57.2372 61.9749L57.7214 62.0115C58.6749 62.1594 59.5084 62.7421 59.9757 63.5862L60.1791 64.0297L61.8515 68.6196C62.0621 69.1971 62.519 69.654 63.0966 69.8647L67.6864 71.537C68.921 71.9874 69.7413 73.1622 69.7413 74.4749Z",
|
|
34
|
+
fill: "white"
|
|
35
|
+
}));
|
|
36
|
+
};
|
|
@@ -212,6 +212,16 @@ var JiraWorkAgentAvatar = /*#__PURE__*/(0, _react.lazy)(function () {
|
|
|
212
212
|
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-rovo-avatar-JiraWorkAgentAvatar"*/'./assets/jira-work-agent'));
|
|
213
213
|
});
|
|
214
214
|
});
|
|
215
|
+
var JiraCodingAgentAvatar = /*#__PURE__*/(0, _react.lazy)(function () {
|
|
216
|
+
return Promise.resolve().then(function () {
|
|
217
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-rovo-avatar-JiraCodingAgentAvatar"*/'./assets/jira-coding-agent'));
|
|
218
|
+
});
|
|
219
|
+
});
|
|
220
|
+
var JiraIntelligentTriageAgentAvatar = /*#__PURE__*/(0, _react.lazy)(function () {
|
|
221
|
+
return Promise.resolve().then(function () {
|
|
222
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-rovo-avatar-JiraIntelligentTriageAgentAvatar"*/'./assets/jira-intelligent-triage-agent'));
|
|
223
|
+
});
|
|
224
|
+
});
|
|
215
225
|
/**
|
|
216
226
|
* OOTB Agents avatars - end
|
|
217
227
|
*/
|
|
@@ -529,6 +539,26 @@ var outOfTheBoxAgentAvatar = {
|
|
|
529
539
|
});
|
|
530
540
|
},
|
|
531
541
|
color: blueColor
|
|
542
|
+
},
|
|
543
|
+
jira_intelligent_triage_agent: {
|
|
544
|
+
getRender: function getRender(size) {
|
|
545
|
+
return /*#__PURE__*/_react.default.createElement(JiraIntelligentTriageAgentAvatar, {
|
|
546
|
+
size: _avatar.AVATAR_SIZES[size],
|
|
547
|
+
primaryColor: "",
|
|
548
|
+
secondaryColor: ""
|
|
549
|
+
});
|
|
550
|
+
},
|
|
551
|
+
color: blueColor
|
|
552
|
+
},
|
|
553
|
+
jira_coding_agent: {
|
|
554
|
+
getRender: function getRender(size) {
|
|
555
|
+
return /*#__PURE__*/_react.default.createElement(JiraCodingAgentAvatar, {
|
|
556
|
+
size: _avatar.AVATAR_SIZES[size],
|
|
557
|
+
primaryColor: "",
|
|
558
|
+
secondaryColor: ""
|
|
559
|
+
});
|
|
560
|
+
},
|
|
561
|
+
color: blueColor
|
|
532
562
|
}
|
|
533
563
|
};
|
|
534
564
|
|
|
@@ -0,0 +1,17 @@
|
|
|
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 55 55",
|
|
9
|
+
fill: "none",
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
11
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
12
|
+
d: "M24.519 0.843677C26.4682 -0.281225 28.8698 -0.281226 30.819 0.843676L49.189 11.445C51.1382 12.5699 52.339 14.6488 52.339 16.8986V38.1014C52.339 40.3512 51.1382 42.4301 49.189 43.555L30.819 54.1563C28.8698 55.2812 26.4683 55.2812 24.519 54.1563L6.14902 43.555C4.1998 42.4301 2.99902 40.3512 2.99902 38.1014V16.8986C2.99902 14.6488 4.1998 12.5699 6.14902 11.445L24.519 0.843677Z",
|
|
13
|
+
fill: "#1868DB"
|
|
14
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
15
|
+
d: "M20.7101 34.6572H18.0055C13.9264 34.6572 11.0001 32.1587 11.0001 28.5002H25.5429C26.2966 28.5002 26.7844 29.0356 26.7844 29.7941V44.4281C23.1487 44.4281 20.7101 41.4835 20.7101 37.3788V34.6572ZM27.8928 27.3848H25.1882C21.1091 27.3848 18.1828 24.9309 18.1828 21.2724H32.7256C33.4794 21.2724 34.0114 21.7632 34.0114 22.5217V37.1557C30.3757 37.1557 27.8928 34.2111 27.8928 30.1064V27.3848ZM35.1199 20.157H32.4153C28.3362 20.157 25.4099 17.6585 25.4099 14H39.9527C40.7064 14 41.1942 14.5354 41.1942 15.2492V29.8833C37.5585 29.8833 35.1199 26.9386 35.1199 22.834V20.157Z",
|
|
16
|
+
fill: "white"
|
|
17
|
+
})));
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export default (({
|
|
3
|
+
size,
|
|
4
|
+
primaryColor: _primaryColor,
|
|
5
|
+
secondaryColor: _secondaryColor
|
|
6
|
+
}) => /*#__PURE__*/React.createElement("svg", {
|
|
7
|
+
width: size,
|
|
8
|
+
height: size,
|
|
9
|
+
viewBox: "0 0 128 128",
|
|
10
|
+
fill: "none",
|
|
11
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
12
|
+
"aria-hidden": "true"
|
|
13
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
14
|
+
d: "M57.6 3.69504C61.5603 1.40854 66.4397 1.40854 70.4 3.69504L113.026 28.305C116.986 30.5915 119.426 34.8171 119.426 39.3901V88.6099C119.426 93.1829 116.986 97.4085 113.026 99.695L70.4 124.305C66.4397 126.591 61.5603 126.591 57.6 124.305L14.9744 99.695C11.014 97.4085 8.57438 93.1829 8.57438 88.6099V39.3901C8.57438 34.8171 11.014 30.5915 14.9744 28.305L57.6 3.69504Z",
|
|
15
|
+
fill: "#1868DB"
|
|
16
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
17
|
+
d: "M92.8836 88.8629C93.4815 89.4609 93.8177 90.2716 93.8177 91.1173C93.8177 91.9629 93.4815 92.7737 92.8836 93.3717L82.2552 104L77.7465 99.4913L82.932 94.3058H73.1422C70.5822 94.3055 68.3057 93.2969 66.4307 91.3242L62.8858 87.8053L66.996 82.7527L71.1572 86.9883C71.8018 87.5742 72.5027 87.9285 73.1422 87.9288H82.932L77.7465 82.7433L82.2552 78.2346L92.8836 88.8629Z",
|
|
18
|
+
fill: "white"
|
|
19
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
20
|
+
d: "M93.8088 64.0405C93.8088 63.1948 93.4727 62.384 92.8747 61.7861L82.2463 51.1577L77.7376 55.6665L82.9231 60.8519H66.2535V67.229H82.9231L77.7376 72.4144L82.2463 76.9232L92.8747 66.2948C93.4727 65.6969 93.8088 64.8861 93.8088 64.0405Z",
|
|
21
|
+
fill: "white"
|
|
22
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
23
|
+
d: "M92.8841 34.6283C94.1293 35.8735 94.1293 37.8919 92.8841 39.1371L82.2557 49.7654L77.7469 45.2567L82.9324 40.0712H70.8385C70.199 40.0715 69.5937 40.3597 69.1903 40.8559L50.1792 64.0574C48.5649 66.0443 46.1422 67.1999 43.5822 67.2002H27.8047V60.8232H43.5822C44.2216 60.8229 44.827 60.5347 45.2304 60.0385L64.2414 36.837C65.8558 34.8501 68.2785 33.6945 70.8385 33.6942H82.9324L77.7469 28.5087L82.2557 24L92.8841 34.6283Z",
|
|
24
|
+
fill: "white"
|
|
25
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
26
|
+
d: "M69.7413 74.4749C69.7413 75.7883 68.9203 76.9626 67.6864 77.4127L63.0966 79.085C62.519 79.2957 62.0621 79.7526 61.8515 80.3302L60.1791 84.92C59.7292 86.1535 58.5552 86.9749 57.2413 86.9749C55.9279 86.9749 54.7535 86.1539 54.3035 84.92L52.6311 80.3302C52.4204 79.7526 51.9635 79.2957 51.386 79.085L46.7961 77.4127C45.7157 77.0186 44.9516 76.0695 44.7779 74.9591L44.7413 74.4749L44.7779 73.9906C44.9517 72.8797 45.7162 71.9309 46.7961 71.537L51.386 69.8647C51.9635 69.654 52.4204 69.1971 52.6311 68.6196L54.3035 64.0297L54.5069 63.5862C55.0503 62.6046 56.0896 61.9763 57.2372 61.9749L57.7214 62.0115C58.6749 62.1594 59.5084 62.7421 59.9757 63.5862L60.1791 64.0297L61.8515 68.6196C62.0621 69.1971 62.519 69.654 63.0966 69.8647L67.6864 71.537C68.921 71.9874 69.7413 73.1622 69.7413 74.4749Z",
|
|
27
|
+
fill: "white"
|
|
28
|
+
})));
|
|
@@ -60,6 +60,8 @@ const LovableAgentAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName:
|
|
|
60
60
|
const ReplitAgentAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName: "@atlaskit-rovo-avatar-ReplitAgentAvatar"*/'./assets/replit-agent'));
|
|
61
61
|
const RovoAgentAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName: "@atlaskit-rovo-avatar-RovoAgentAvatar"*/'./assets/rovo-agent'));
|
|
62
62
|
const JiraWorkAgentAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName: "@atlaskit-rovo-avatar-JiraWorkAgentAvatar"*/'./assets/jira-work-agent'));
|
|
63
|
+
const JiraCodingAgentAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName: "@atlaskit-rovo-avatar-JiraCodingAgentAvatar"*/'./assets/jira-coding-agent'));
|
|
64
|
+
const JiraIntelligentTriageAgentAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName: "@atlaskit-rovo-avatar-JiraIntelligentTriageAgentAvatar"*/'./assets/jira-intelligent-triage-agent'));
|
|
63
65
|
/**
|
|
64
66
|
* OOTB Agents avatars - end
|
|
65
67
|
*/
|
|
@@ -319,6 +321,22 @@ const outOfTheBoxAgentAvatar = {
|
|
|
319
321
|
secondaryColor: ""
|
|
320
322
|
}),
|
|
321
323
|
color: blueColor
|
|
324
|
+
},
|
|
325
|
+
jira_intelligent_triage_agent: {
|
|
326
|
+
getRender: size => /*#__PURE__*/React.createElement(JiraIntelligentTriageAgentAvatar, {
|
|
327
|
+
size: AVATAR_SIZES[size],
|
|
328
|
+
primaryColor: "",
|
|
329
|
+
secondaryColor: ""
|
|
330
|
+
}),
|
|
331
|
+
color: blueColor
|
|
332
|
+
},
|
|
333
|
+
jira_coding_agent: {
|
|
334
|
+
getRender: size => /*#__PURE__*/React.createElement(JiraCodingAgentAvatar, {
|
|
335
|
+
size: AVATAR_SIZES[size],
|
|
336
|
+
primaryColor: "",
|
|
337
|
+
secondaryColor: ""
|
|
338
|
+
}),
|
|
339
|
+
color: blueColor
|
|
322
340
|
}
|
|
323
341
|
};
|
|
324
342
|
|
|
@@ -0,0 +1,18 @@
|
|
|
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 55 55",
|
|
9
|
+
fill: "none",
|
|
10
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
11
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
12
|
+
d: "M24.519 0.843677C26.4682 -0.281225 28.8698 -0.281226 30.819 0.843676L49.189 11.445C51.1382 12.5699 52.339 14.6488 52.339 16.8986V38.1014C52.339 40.3512 51.1382 42.4301 49.189 43.555L30.819 54.1563C28.8698 55.2812 26.4683 55.2812 24.519 54.1563L6.14902 43.555C4.1998 42.4301 2.99902 40.3512 2.99902 38.1014V16.8986C2.99902 14.6488 4.1998 12.5699 6.14902 11.445L24.519 0.843677Z",
|
|
13
|
+
fill: "#1868DB"
|
|
14
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
15
|
+
d: "M20.7101 34.6572H18.0055C13.9264 34.6572 11.0001 32.1587 11.0001 28.5002H25.5429C26.2966 28.5002 26.7844 29.0356 26.7844 29.7941V44.4281C23.1487 44.4281 20.7101 41.4835 20.7101 37.3788V34.6572ZM27.8928 27.3848H25.1882C21.1091 27.3848 18.1828 24.9309 18.1828 21.2724H32.7256C33.4794 21.2724 34.0114 21.7632 34.0114 22.5217V37.1557C30.3757 37.1557 27.8928 34.2111 27.8928 30.1064V27.3848ZM35.1199 20.157H32.4153C28.3362 20.157 25.4099 17.6585 25.4099 14H39.9527C40.7064 14 41.1942 14.5354 41.1942 15.2492V29.8833C37.5585 29.8833 35.1199 26.9386 35.1199 22.834V20.157Z",
|
|
16
|
+
fill: "white"
|
|
17
|
+
}));
|
|
18
|
+
});
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export default (function (_ref) {
|
|
3
|
+
var size = _ref.size,
|
|
4
|
+
_primaryColor = _ref.primaryColor,
|
|
5
|
+
_secondaryColor = _ref.secondaryColor;
|
|
6
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
7
|
+
width: size,
|
|
8
|
+
height: size,
|
|
9
|
+
viewBox: "0 0 128 128",
|
|
10
|
+
fill: "none",
|
|
11
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
12
|
+
"aria-hidden": "true"
|
|
13
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
14
|
+
d: "M57.6 3.69504C61.5603 1.40854 66.4397 1.40854 70.4 3.69504L113.026 28.305C116.986 30.5915 119.426 34.8171 119.426 39.3901V88.6099C119.426 93.1829 116.986 97.4085 113.026 99.695L70.4 124.305C66.4397 126.591 61.5603 126.591 57.6 124.305L14.9744 99.695C11.014 97.4085 8.57438 93.1829 8.57438 88.6099V39.3901C8.57438 34.8171 11.014 30.5915 14.9744 28.305L57.6 3.69504Z",
|
|
15
|
+
fill: "#1868DB"
|
|
16
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
17
|
+
d: "M92.8836 88.8629C93.4815 89.4609 93.8177 90.2716 93.8177 91.1173C93.8177 91.9629 93.4815 92.7737 92.8836 93.3717L82.2552 104L77.7465 99.4913L82.932 94.3058H73.1422C70.5822 94.3055 68.3057 93.2969 66.4307 91.3242L62.8858 87.8053L66.996 82.7527L71.1572 86.9883C71.8018 87.5742 72.5027 87.9285 73.1422 87.9288H82.932L77.7465 82.7433L82.2552 78.2346L92.8836 88.8629Z",
|
|
18
|
+
fill: "white"
|
|
19
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
20
|
+
d: "M93.8088 64.0405C93.8088 63.1948 93.4727 62.384 92.8747 61.7861L82.2463 51.1577L77.7376 55.6665L82.9231 60.8519H66.2535V67.229H82.9231L77.7376 72.4144L82.2463 76.9232L92.8747 66.2948C93.4727 65.6969 93.8088 64.8861 93.8088 64.0405Z",
|
|
21
|
+
fill: "white"
|
|
22
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
23
|
+
d: "M92.8841 34.6283C94.1293 35.8735 94.1293 37.8919 92.8841 39.1371L82.2557 49.7654L77.7469 45.2567L82.9324 40.0712H70.8385C70.199 40.0715 69.5937 40.3597 69.1903 40.8559L50.1792 64.0574C48.5649 66.0443 46.1422 67.1999 43.5822 67.2002H27.8047V60.8232H43.5822C44.2216 60.8229 44.827 60.5347 45.2304 60.0385L64.2414 36.837C65.8558 34.8501 68.2785 33.6945 70.8385 33.6942H82.9324L77.7469 28.5087L82.2557 24L92.8841 34.6283Z",
|
|
24
|
+
fill: "white"
|
|
25
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
26
|
+
d: "M69.7413 74.4749C69.7413 75.7883 68.9203 76.9626 67.6864 77.4127L63.0966 79.085C62.519 79.2957 62.0621 79.7526 61.8515 80.3302L60.1791 84.92C59.7292 86.1535 58.5552 86.9749 57.2413 86.9749C55.9279 86.9749 54.7535 86.1539 54.3035 84.92L52.6311 80.3302C52.4204 79.7526 51.9635 79.2957 51.386 79.085L46.7961 77.4127C45.7157 77.0186 44.9516 76.0695 44.7779 74.9591L44.7413 74.4749L44.7779 73.9906C44.9517 72.8797 45.7162 71.9309 46.7961 71.537L51.386 69.8647C51.9635 69.654 52.4204 69.1971 52.6311 68.6196L54.3035 64.0297L54.5069 63.5862C55.0503 62.6046 56.0896 61.9763 57.2372 61.9749L57.7214 62.0115C58.6749 62.1594 59.5084 62.7421 59.9757 63.5862L60.1791 64.0297L61.8515 68.6196C62.0621 69.1971 62.519 69.654 63.0966 69.8647L67.6864 71.537C68.921 71.9874 69.7413 73.1622 69.7413 74.4749Z",
|
|
27
|
+
fill: "white"
|
|
28
|
+
}));
|
|
29
|
+
});
|
|
@@ -131,6 +131,12 @@ var RovoAgentAvatar = /*#__PURE__*/lazy(function () {
|
|
|
131
131
|
var JiraWorkAgentAvatar = /*#__PURE__*/lazy(function () {
|
|
132
132
|
return import( /* webpackChunkName: "@atlaskit-rovo-avatar-JiraWorkAgentAvatar"*/'./assets/jira-work-agent');
|
|
133
133
|
});
|
|
134
|
+
var JiraCodingAgentAvatar = /*#__PURE__*/lazy(function () {
|
|
135
|
+
return import( /* webpackChunkName: "@atlaskit-rovo-avatar-JiraCodingAgentAvatar"*/'./assets/jira-coding-agent');
|
|
136
|
+
});
|
|
137
|
+
var JiraIntelligentTriageAgentAvatar = /*#__PURE__*/lazy(function () {
|
|
138
|
+
return import( /* webpackChunkName: "@atlaskit-rovo-avatar-JiraIntelligentTriageAgentAvatar"*/'./assets/jira-intelligent-triage-agent');
|
|
139
|
+
});
|
|
134
140
|
/**
|
|
135
141
|
* OOTB Agents avatars - end
|
|
136
142
|
*/
|
|
@@ -448,6 +454,26 @@ var outOfTheBoxAgentAvatar = {
|
|
|
448
454
|
});
|
|
449
455
|
},
|
|
450
456
|
color: blueColor
|
|
457
|
+
},
|
|
458
|
+
jira_intelligent_triage_agent: {
|
|
459
|
+
getRender: function getRender(size) {
|
|
460
|
+
return /*#__PURE__*/React.createElement(JiraIntelligentTriageAgentAvatar, {
|
|
461
|
+
size: AVATAR_SIZES[size],
|
|
462
|
+
primaryColor: "",
|
|
463
|
+
secondaryColor: ""
|
|
464
|
+
});
|
|
465
|
+
},
|
|
466
|
+
color: blueColor
|
|
467
|
+
},
|
|
468
|
+
jira_coding_agent: {
|
|
469
|
+
getRender: function getRender(size) {
|
|
470
|
+
return /*#__PURE__*/React.createElement(JiraCodingAgentAvatar, {
|
|
471
|
+
size: AVATAR_SIZES[size],
|
|
472
|
+
primaryColor: "",
|
|
473
|
+
secondaryColor: ""
|
|
474
|
+
});
|
|
475
|
+
},
|
|
476
|
+
color: blueColor
|
|
451
477
|
}
|
|
452
478
|
};
|
|
453
479
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/rovo-agent-components",
|
|
3
|
-
"version": "5.2.
|
|
3
|
+
"version": "5.2.2",
|
|
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,17 +45,17 @@
|
|
|
45
45
|
"@atlaskit/button": "^23.11.0",
|
|
46
46
|
"@atlaskit/css": "^0.19.0",
|
|
47
47
|
"@atlaskit/dropdown-menu": "^16.10.0",
|
|
48
|
-
"@atlaskit/flag": "^17.
|
|
48
|
+
"@atlaskit/flag": "^17.13.0",
|
|
49
49
|
"@atlaskit/heading": "^5.4.0",
|
|
50
50
|
"@atlaskit/icon": "^35.4.0",
|
|
51
51
|
"@atlaskit/link": "^3.4.0",
|
|
52
|
-
"@atlaskit/logo": "^20.
|
|
52
|
+
"@atlaskit/logo": "^20.2.0",
|
|
53
53
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
54
54
|
"@atlaskit/primitives": "^19.0.0",
|
|
55
|
-
"@atlaskit/rovo-agent-analytics": "^2.
|
|
55
|
+
"@atlaskit/rovo-agent-analytics": "^2.3.0",
|
|
56
56
|
"@atlaskit/skeleton": "^2.1.0",
|
|
57
57
|
"@atlaskit/spinner": "^19.1.0",
|
|
58
|
-
"@atlaskit/tokens": "^13.
|
|
58
|
+
"@atlaskit/tokens": "^13.3.0",
|
|
59
59
|
"@atlaskit/tooltip": "^22.6.0",
|
|
60
60
|
"@babel/runtime": "^7.0.0",
|
|
61
61
|
"@compiled/react": "^0.20.0",
|