@atlaskit/rovo-agent-components 3.12.1 → 3.14.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/agent-chat-icon/index.compiled.css +6 -0
- package/dist/cjs/common/ui/agent-chat-icon/index.js +26 -0
- package/dist/cjs/ui/agent-avatar/generated-avatars/assets/trial-guide.js +75 -0
- package/dist/cjs/ui/agent-avatar/generated-avatars/index.js +15 -0
- package/dist/cjs/ui/agent-conversation-starters/index.compiled.css +22 -3
- package/dist/cjs/ui/agent-conversation-starters/index.js +30 -12
- package/dist/cjs/ui/agent-profile-info/index.compiled.css +1 -0
- package/dist/cjs/ui/agent-profile-info/index.js +4 -3
- package/dist/es2019/common/ui/agent-chat-icon/index.compiled.css +6 -0
- package/dist/es2019/common/ui/agent-chat-icon/index.js +19 -0
- package/dist/es2019/ui/agent-avatar/generated-avatars/assets/trial-guide.js +67 -0
- package/dist/es2019/ui/agent-avatar/generated-avatars/index.js +9 -0
- package/dist/es2019/ui/agent-conversation-starters/index.compiled.css +22 -3
- package/dist/es2019/ui/agent-conversation-starters/index.js +22 -6
- package/dist/es2019/ui/agent-profile-info/index.compiled.css +1 -0
- package/dist/es2019/ui/agent-profile-info/index.js +4 -3
- package/dist/esm/common/ui/agent-chat-icon/index.compiled.css +6 -0
- package/dist/esm/common/ui/agent-chat-icon/index.js +19 -0
- package/dist/esm/ui/agent-avatar/generated-avatars/assets/trial-guide.js +68 -0
- package/dist/esm/ui/agent-avatar/generated-avatars/index.js +13 -0
- package/dist/esm/ui/agent-conversation-starters/index.compiled.css +22 -3
- package/dist/esm/ui/agent-conversation-starters/index.js +24 -6
- package/dist/esm/ui/agent-profile-info/index.compiled.css +1 -0
- package/dist/esm/ui/agent-profile-info/index.js +4 -3
- package/dist/types/common/ui/agent-chat-icon/index.d.ts +2 -0
- package/dist/types/ui/agent-avatar/generated-avatars/assets/trial-guide.d.ts +4 -0
- package/dist/types/ui/agent-conversation-starters/index.d.ts +3 -6
- package/dist/types-ts4.5/common/ui/agent-chat-icon/index.d.ts +2 -0
- package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/assets/trial-guide.d.ts +4 -0
- package/dist/types-ts4.5/ui/agent-conversation-starters/index.d.ts +3 -6
- package/package.json +7 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/rovo-agent-components
|
|
2
2
|
|
|
3
|
+
## 3.14.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`4e43c6db295d3`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/4e43c6db295d3) -
|
|
8
|
+
[ux] Refresh agent profile card UI
|
|
9
|
+
|
|
10
|
+
## 3.13.0
|
|
11
|
+
|
|
12
|
+
### Minor Changes
|
|
13
|
+
|
|
14
|
+
- [`302808899d1ae`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/302808899d1ae) -
|
|
15
|
+
LUNA-607: Added agent icon for Jira Trial Guide
|
|
16
|
+
|
|
3
17
|
## 3.12.1
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.AgentChatIcon = void 0;
|
|
9
|
+
require("./index.compiled.css");
|
|
10
|
+
var _runtime = require("@compiled/react/runtime");
|
|
11
|
+
var _react = _interopRequireDefault(require("react"));
|
|
12
|
+
var _rovoChat = _interopRequireDefault(require("@atlaskit/icon/core/rovo-chat"));
|
|
13
|
+
var _compiled = require("@atlaskit/primitives/compiled");
|
|
14
|
+
var styles = {
|
|
15
|
+
agentChatIcon: "_2rko1mok _189ee4h9 _1dqonqa1 _1h6d1l7x _1bsbzwfg _4t3izwfg"
|
|
16
|
+
};
|
|
17
|
+
var AgentChatIcon = exports.AgentChatIcon = function AgentChatIcon() {
|
|
18
|
+
return /*#__PURE__*/_react.default.createElement(_compiled.Flex, {
|
|
19
|
+
xcss: styles.agentChatIcon,
|
|
20
|
+
alignItems: "center",
|
|
21
|
+
justifyContent: "center"
|
|
22
|
+
}, /*#__PURE__*/_react.default.createElement(_rovoChat.default, {
|
|
23
|
+
label: "",
|
|
24
|
+
color: "var(--ds-icon-subtlest, #6B6E76)"
|
|
25
|
+
}));
|
|
26
|
+
};
|
|
@@ -0,0 +1,75 @@
|
|
|
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
|
+
primaryColor = _ref.primaryColor,
|
|
13
|
+
secondaryColor = _ref.secondaryColor;
|
|
14
|
+
return /*#__PURE__*/_react.default.createElement("svg", {
|
|
15
|
+
width: size,
|
|
16
|
+
height: size,
|
|
17
|
+
viewBox: "0 0 42 48",
|
|
18
|
+
fill: "none",
|
|
19
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
20
|
+
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
21
|
+
d: "M19.01 0.922148C20.24 0.212148 21.76 0.212148 23 0.922148L40 10.6921C41.24 11.4021 42.01 12.7321 42.01 14.1621V33.6721C42.01 35.1021 41.24 36.4221 40 37.1421L23 46.9121C21.77 47.6221 20.25 47.6221 19.01 46.9121L2.01 37.1321C0.77 36.4221 0 35.1021 0 33.6621V14.1621C0 12.7221 0.77 11.4021 2.01 10.6921L19.01 0.922148Z",
|
|
22
|
+
fill: primaryColor
|
|
23
|
+
}), /*#__PURE__*/_react.default.createElement("mask", {
|
|
24
|
+
id: "mask0_156_5162",
|
|
25
|
+
style: {
|
|
26
|
+
maskType: 'luminance'
|
|
27
|
+
},
|
|
28
|
+
maskUnits: "userSpaceOnUse",
|
|
29
|
+
x: "0",
|
|
30
|
+
y: "0",
|
|
31
|
+
width: "43",
|
|
32
|
+
height: "48"
|
|
33
|
+
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
34
|
+
d: "M19.05 1.02176C20.28 0.311758 21.8 0.311758 23.04 1.02176L40.04 10.7918C41.28 11.5018 42.05 12.8318 42.05 14.2618V33.7718C42.05 35.2018 41.28 36.5218 40.04 37.2418L23.04 47.0118C21.81 47.7218 20.29 47.7218 19.05 47.0118L2.05004 37.2318C0.810039 36.5218 0.0400391 35.1918 0.0400391 33.7618V14.2618C0.0400391 12.8318 0.810039 11.5118 2.05004 10.7918L19.05 1.02176Z",
|
|
35
|
+
fill: "white"
|
|
36
|
+
})), /*#__PURE__*/_react.default.createElement("g", {
|
|
37
|
+
mask: "url(#mask0_156_5162)"
|
|
38
|
+
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
39
|
+
d: "M9.49035 33.9721C9.78035 33.8521 9.78035 32.7421 9.49035 32.6221C9.08035 32.4521 8.66035 32.3721 8.11035 32.3621C7.49035 32.4121 7.33035 32.6421 6.91035 32.6221C6.20035 32.6221 4.99035 32.3121 4.70035 32.2321C4.66035 32.2221 4.61035 32.2221 4.57035 32.2321C4.26035 32.2721 2.92035 32.4421 1.75035 32.3621C0.930351 32.3621 0.420352 32.3621 0.160352 32.3621C-0.469648 32.3621 -0.929648 32.4821 -1.38965 32.6921C-1.63965 32.8121 -1.63965 33.7821 -1.38965 33.8921C-0.929648 34.1021 -0.459648 34.2221 0.160352 34.2221C0.400352 34.2221 0.910352 34.4921 1.63035 34.5321C1.75035 34.5321 1.86035 34.5221 1.98035 34.4821C2.98035 34.1221 4.27035 34.2221 4.27035 34.2221C4.27035 34.2221 6.20035 34.2221 7.02035 34.2221C7.63035 34.2221 7.93035 34.2221 8.11035 34.2221C8.66035 34.2221 9.09035 34.1221 9.49035 33.9621V33.9721Z",
|
|
40
|
+
fill: secondaryColor
|
|
41
|
+
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
42
|
+
d: "M3.19027 38.7917C3.30027 39.0917 4.41027 39.1217 4.54027 38.8217C4.72027 38.4017 4.82027 37.9617 4.84027 37.3917C4.80027 36.7417 4.58027 36.5817 4.61027 36.1417C4.63027 35.4017 4.97027 34.1617 5.06027 33.8617C5.07027 33.8217 5.08027 33.7717 5.07027 33.7317C5.04027 33.4117 4.90027 32.0117 5.01027 30.8117C5.03027 29.9617 5.04027 29.4317 5.05027 29.1617C5.05027 28.5117 4.96027 28.0217 4.76027 27.5417C4.65027 27.2817 3.68027 27.2517 3.56027 27.5117C3.34027 27.9817 3.21027 28.4617 3.18027 29.1117C3.18027 29.3617 2.89027 29.8817 2.83027 30.6217C2.82027 30.7417 2.83027 30.8617 2.87027 30.9817C3.21027 32.0217 3.07027 33.3617 3.07027 33.3617C3.07027 33.3617 3.01027 35.3617 2.99027 36.2117C2.98027 36.8517 2.97027 37.1517 2.97027 37.3417C2.97027 37.9117 3.04027 38.3617 3.19027 38.7817V38.7917Z",
|
|
43
|
+
fill: secondaryColor
|
|
44
|
+
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
45
|
+
d: "M8.01063 38.5713C8.31063 38.7313 9.14063 37.9813 9.01063 37.6613C8.82063 37.2113 8.57063 36.8013 8.16063 36.3413C7.65063 35.8613 7.36063 35.8913 7.06063 35.5213C6.52063 34.9313 5.84063 33.7313 5.68063 33.4313C5.66063 33.3913 5.63063 33.3513 5.59063 33.3213C5.33063 33.0913 4.18063 32.0913 3.36063 31.0813C2.74063 30.4013 2.35063 29.9913 2.15063 29.7713C1.67063 29.2613 1.23063 28.9513 0.730628 28.7113C0.450629 28.5813 -0.259372 29.2313 -0.159372 29.5213C0.0306285 30.0413 0.300628 30.5113 0.770628 31.0313C0.950629 31.2313 1.14063 31.8313 1.65063 32.4513C1.73063 32.5513 1.83063 32.6413 1.95063 32.7013C2.97063 33.2813 3.88063 34.4213 3.88063 34.4213C3.88063 34.4213 5.34063 36.0213 5.95063 36.6913C6.42063 37.2013 6.64063 37.4413 6.78063 37.5913C7.20063 38.0413 7.59063 38.3313 8.02063 38.5613L8.01063 38.5713Z",
|
|
46
|
+
fill: secondaryColor
|
|
47
|
+
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
48
|
+
d: "M8.84036 29.3721C8.99036 29.0621 8.21036 28.2621 7.90036 28.4121C7.46036 28.6121 7.05036 28.8921 6.61036 29.3121C6.15036 29.8421 6.18036 30.1221 5.83036 30.4421C5.26036 31.0021 4.07036 31.7321 3.79036 31.9021C3.75036 31.9321 3.71036 31.9621 3.68036 32.0021C3.46036 32.2721 2.50036 33.4521 1.51036 34.3121C0.850363 34.9621 0.450363 35.3621 0.240363 35.5721C-0.259637 36.0721 -0.549637 36.5221 -0.769637 37.0321C-0.889637 37.3121 -0.209637 38.0021 0.0703631 37.8921C0.590363 37.6821 1.04036 37.3921 1.55036 36.9121C1.75036 36.7221 2.34036 36.5121 2.95036 35.9821C3.05036 35.8921 3.13036 35.7921 3.19036 35.6721C3.74036 34.6321 4.85036 33.6821 4.85036 33.6821C4.85036 33.6821 6.40036 32.1621 7.06036 31.5221C7.55036 31.0421 7.79036 30.8021 7.93036 30.6621C8.37036 30.2221 8.65036 29.8221 8.86036 29.3821L8.84036 29.3721Z",
|
|
49
|
+
fill: secondaryColor
|
|
50
|
+
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
51
|
+
d: "M41.0902 9.13153C41.3002 9.01153 41.3002 7.90153 41.0902 7.78153C40.8002 7.61153 40.4902 7.53153 40.0902 7.52153C39.6402 7.57153 39.5302 7.80153 39.2302 7.78153C38.7202 7.78153 37.8502 7.47153 37.6402 7.39153C37.6102 7.38153 37.5802 7.38153 37.5502 7.39153C37.3302 7.43153 36.3602 7.60153 35.5202 7.52153C34.9302 7.52153 34.5602 7.52153 34.3702 7.52153C33.9202 7.52153 33.5802 7.64153 33.2502 7.85153C33.0702 7.97153 33.0702 8.94153 33.2502 9.05153C33.5802 9.26153 33.9202 9.38153 34.3702 9.38153C34.5402 9.38153 34.9102 9.65153 35.4202 9.69153C35.5002 9.69153 35.5902 9.68153 35.6702 9.64153C36.3902 9.28153 37.3202 9.38153 37.3202 9.38153C37.3202 9.38153 38.7102 9.38153 39.3002 9.38153C39.7402 9.38153 39.9502 9.38153 40.0902 9.38153C40.4902 9.38153 40.7902 9.28153 41.0902 9.12153V9.13153Z",
|
|
52
|
+
fill: secondaryColor
|
|
53
|
+
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
54
|
+
d: "M36.3905 12.4315C36.5005 12.6515 37.6205 12.6815 37.7405 12.4615C37.9105 12.1615 38.0105 11.8415 38.0305 11.4315C37.9905 10.9615 37.7605 10.8415 37.8005 10.5315C37.8105 10.0015 38.1505 9.11147 38.2305 8.89147C38.2405 8.86147 38.2505 8.83147 38.2405 8.79147C38.2005 8.56147 38.0605 7.55147 38.1605 6.68147C38.1705 6.07147 38.1805 5.69147 38.1805 5.49147C38.1805 5.02147 38.0805 4.67147 37.8805 4.32147C37.7705 4.13147 36.8005 4.10147 36.6805 4.29147C36.4605 4.63147 36.3405 4.97147 36.3205 5.44147C36.3205 5.62147 36.0405 5.99147 35.9805 6.53147C35.9805 6.62147 35.9805 6.70147 36.0305 6.79147C36.3705 7.54147 36.2505 8.51147 36.2505 8.51147C36.2505 8.51147 36.2105 9.95147 36.1905 10.5615C36.1905 11.0215 36.1805 11.2415 36.1705 11.3815C36.1705 11.7915 36.2505 12.1115 36.4105 12.4215L36.3905 12.4315Z",
|
|
55
|
+
fill: secondaryColor
|
|
56
|
+
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
57
|
+
d: "M39.9006 12.3919C40.1406 12.4819 40.9706 11.7319 40.9006 11.4819C40.8006 11.1319 40.6306 10.8119 40.3406 10.4819C39.9606 10.1419 39.7106 10.2119 39.5006 9.94188C39.1106 9.52188 38.6806 8.59188 38.5806 8.37188C38.5606 8.34188 38.5406 8.31188 38.5206 8.29188C38.3206 8.14188 37.4606 7.45188 36.8906 6.70188C36.4406 6.21188 36.1606 5.91188 36.0206 5.76188C35.6706 5.39188 35.3306 5.19188 34.9306 5.06188C34.7106 4.99188 33.9906 5.64188 34.0406 5.87188C34.1306 6.29188 34.3006 6.64188 34.6406 7.02188C34.7706 7.17188 34.8506 7.65188 35.2106 8.10188C35.2706 8.17188 35.3506 8.23188 35.4406 8.27188C36.2506 8.62188 36.8806 9.46188 36.8806 9.46188C36.8806 9.46188 37.9306 10.6119 38.3706 11.1019C38.7106 11.4619 38.8706 11.6419 38.9706 11.7519C39.2706 12.0719 39.5706 12.2719 39.9206 12.4019L39.9006 12.3919Z",
|
|
58
|
+
fill: secondaryColor
|
|
59
|
+
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
60
|
+
d: "M40.7404 5.77157C40.8204 5.52157 40.0404 4.73157 39.8004 4.81157C39.4504 4.92157 39.1404 5.10157 38.8204 5.41157C38.5004 5.80157 38.5704 6.05157 38.3104 6.27157C37.9004 6.67157 36.9904 7.13157 36.7604 7.24157C36.7304 7.26157 36.7004 7.28157 36.6804 7.31157C36.5304 7.51157 35.8704 8.40157 35.1404 9.00157C34.6704 9.47157 34.3804 9.75157 34.2204 9.91157C33.8604 10.2716 33.6704 10.6216 33.5604 11.0316C33.5004 11.2616 34.1704 11.9516 34.4004 11.8916C34.8104 11.7816 35.1604 11.6016 35.5304 11.2516C35.6704 11.1116 36.1504 11.0216 36.6004 10.6516C36.6704 10.5916 36.7304 10.5116 36.7604 10.4216C37.0804 9.60157 37.9004 8.94157 37.9004 8.94157C37.9004 8.94157 39.0204 7.85157 39.4904 7.39157C39.8404 7.04157 40.0104 6.87157 40.1204 6.77157C40.4304 6.45157 40.6204 6.15157 40.7404 5.80157V5.77157Z",
|
|
61
|
+
fill: secondaryColor
|
|
62
|
+
})), /*#__PURE__*/_react.default.createElement("path", {
|
|
63
|
+
d: "M15.7397 30.3625L16.7797 41.7425H25.7397L26.7897 30.3725L15.7397 30.3625Z",
|
|
64
|
+
fill: secondaryColor
|
|
65
|
+
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
66
|
+
d: "M8.93994 19.3425C8.93994 24.1625 11.7099 28.3325 15.7399 30.3525L16.0599 33.8925H26.4599L26.7799 30.3525C30.8099 28.3325 33.5799 24.1525 33.5799 19.3425C33.5799 12.5425 28.0599 7.02246 21.2599 7.02246C14.4599 7.02246 8.93994 12.5425 8.93994 19.3425Z",
|
|
67
|
+
fill: "white"
|
|
68
|
+
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
69
|
+
d: "M26.25 36.1426H16.27L16.74 41.7426H25.78L26.25 36.1426Z",
|
|
70
|
+
fill: "#101214"
|
|
71
|
+
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
72
|
+
d: "M22.8698 36.4926C23.1498 37.2026 23.6097 37.4326 23.8798 37.3026C24.1597 37.1726 24.2998 36.7526 24.1498 36.0926C23.7498 34.1826 23.4898 32.0626 23.2898 29.3726C23.1598 27.8526 23.1098 26.9026 23.0798 26.0726C23.0698 25.2626 23.0598 24.5326 23.2998 23.6126C23.3998 23.2426 23.5698 22.8226 23.7398 22.6526C23.8398 22.5326 24.3598 22.3126 24.6998 22.3126C24.8798 22.3026 25.0398 22.3326 25.1298 22.3726C25.2098 22.4126 25.2898 22.4826 25.3698 22.6126C25.5398 22.8526 25.5798 23.2826 25.4898 23.3626C25.4698 23.4626 25.1098 23.7226 24.8098 23.8926C24.6198 23.9726 24.4498 24.0526 24.2698 24.1226C24.0798 24.1826 23.8998 24.2326 23.7198 24.2826C23.0098 24.4626 22.4098 24.5226 22.0798 24.5626C21.8798 24.5626 21.6898 24.5926 21.4898 24.6226C21.1398 24.6726 20.4897 24.7226 19.6297 24.7026C18.7897 24.6526 17.7197 24.4926 16.8098 23.9926C16.3997 23.7026 16.0098 23.4226 15.7898 22.9626C15.5498 22.5026 15.4098 21.8826 15.4398 21.3926C15.4398 21.1726 15.5398 21.1626 15.6498 21.1926C16.0998 21.3326 16.7097 21.7226 17.1297 22.1226C18.3298 23.2126 18.4998 24.8126 18.6798 26.0626C18.8298 27.3326 18.8998 28.3226 18.9498 28.9626C19.0598 30.5126 19.1298 31.8626 19.1598 33.0926C19.1798 34.3126 19.1798 35.4826 18.9498 36.4026C18.8298 36.8626 18.8898 37.0526 18.9898 37.3426C19.0598 37.4626 19.1798 37.5326 19.4198 37.4726C19.6398 37.4126 19.8998 37.1826 20.0598 36.8526C20.6098 35.6426 20.7298 34.4326 20.8398 33.1326C20.9198 31.8226 20.9097 30.4226 20.7997 28.8226C20.7497 28.1926 20.7498 27.2626 20.6798 25.9826C20.6398 25.3426 20.5798 24.6126 20.3998 23.7726C20.2098 22.9426 19.8698 21.9526 19.1297 21.0726C18.6497 20.5026 18.0898 20.0726 17.4898 19.7426C17.1598 19.5626 16.8098 19.4026 16.3998 19.2826C16.2298 19.2326 15.8598 19.1326 15.5798 19.1326C15.2798 19.1026 14.9798 19.1526 14.7098 19.2626C14.1498 19.4526 13.7698 19.9826 13.5998 20.5426C13.4198 21.1926 13.4798 21.5426 13.5098 21.9626C13.5998 22.7726 13.8598 23.5026 14.2798 24.1726C14.4898 24.5126 14.7798 24.7726 15.0298 25.0526C15.3198 25.2726 15.5998 25.4926 15.8898 25.6626C17.0598 26.3126 18.1198 26.4826 18.8598 26.5926C19.2298 26.6426 19.5298 26.6826 19.7298 26.6826C19.9297 26.6926 20.0398 26.7026 20.0398 26.7026C20.0398 26.7026 20.6898 26.7426 21.7298 26.6426C22.7698 26.5326 24.1898 26.3226 25.7098 25.5226C25.8997 25.3926 26.0898 25.2626 26.2798 25.1326C26.4698 24.9826 26.6498 24.7726 26.8298 24.5826C26.9798 24.3226 27.1498 24.0526 27.2298 23.7326C27.2998 23.4126 27.2898 23.1126 27.2498 22.8426C27.1498 22.2926 26.9298 21.8026 26.5398 21.3726C26.1498 20.9226 25.4598 20.6626 24.9398 20.6626C24.3998 20.6426 23.9498 20.7626 23.5198 20.9226C23.3098 21.0126 23.1098 21.1026 22.8898 21.2526C22.6698 21.4126 22.4498 21.6326 22.3298 21.8226C21.8198 22.6126 21.7098 23.2626 21.5898 23.8126C21.2998 25.4626 21.3298 26.6326 21.3298 27.5426C21.3398 28.4426 21.3798 29.0526 21.4098 29.5226C21.6298 32.3426 22.0798 34.5126 22.8498 36.5126L22.8698 36.4926Z",
|
|
73
|
+
fill: "#101214"
|
|
74
|
+
}));
|
|
75
|
+
};
|
|
@@ -142,6 +142,11 @@ var WorkflowBuilderAvatar = /*#__PURE__*/(0, _react.lazy)(function () {
|
|
|
142
142
|
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-rovo-avatar-WorkflowBuilderAvatar"*/'./assets/workflow-builder'));
|
|
143
143
|
});
|
|
144
144
|
});
|
|
145
|
+
var TrialGuideAvatar = /*#__PURE__*/(0, _react.lazy)(function () {
|
|
146
|
+
return Promise.resolve().then(function () {
|
|
147
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-rovo-avatar-TrialGuideAvatar"*/'./assets/trial-guide'));
|
|
148
|
+
});
|
|
149
|
+
});
|
|
145
150
|
var yellowColor = exports.yellowColor = {
|
|
146
151
|
primary: '#FCA700',
|
|
147
152
|
secondary: '#FFC716'
|
|
@@ -311,6 +316,16 @@ var outOfTheBoxAgentAvatar = {
|
|
|
311
316
|
});
|
|
312
317
|
},
|
|
313
318
|
color: yellowColor
|
|
319
|
+
},
|
|
320
|
+
jira_trial_guide_agent: {
|
|
321
|
+
getRender: function getRender(size) {
|
|
322
|
+
return /*#__PURE__*/_react.default.createElement(TrialGuideAvatar, {
|
|
323
|
+
size: _avatar.AVATAR_SIZES[size],
|
|
324
|
+
primaryColor: blueColor.primary,
|
|
325
|
+
secondaryColor: blueColor.secondary
|
|
326
|
+
});
|
|
327
|
+
},
|
|
328
|
+
color: blueColor
|
|
314
329
|
}
|
|
315
330
|
};
|
|
316
331
|
|
|
@@ -1,5 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
.
|
|
1
|
+
._11c82smr{font:var(--ds-font-body,normal 400 14px/20px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
|
+
._2rko12b0{border-radius:var(--ds-radius-small,4px)}
|
|
3
|
+
._qtt8glyw{list-style:none}
|
|
4
|
+
._18m915vq{overflow-y:hidden}
|
|
5
|
+
._19bv12x7{padding-left:var(--ds-space-075,6px)}
|
|
6
|
+
._19bvidpf{padding-left:0}
|
|
7
|
+
._1bsb1osq{width:100%}
|
|
8
|
+
._1bto1l2s{text-overflow:ellipsis}
|
|
9
|
+
._1o9zidpf{flex-shrink:0}
|
|
10
|
+
._1o9zkb7n{flex-shrink:1}
|
|
11
|
+
._1reo15vq{overflow-x:hidden}
|
|
12
|
+
._1ul9idpf{min-width:0}
|
|
13
|
+
._bfhksm61{background-color:var(--ds-background-neutral-subtle,#00000000)}
|
|
14
|
+
._ca0q12x7{padding-top:var(--ds-space-075,6px)}
|
|
3
15
|
._ca0qidpf{padding-top:0}
|
|
16
|
+
._k48p1wq8{font-weight:var(--ds-font-weight-medium,500)}
|
|
17
|
+
._n3td12x7{padding-bottom:var(--ds-space-075,6px)}
|
|
4
18
|
._n3tdidpf{padding-bottom:0}
|
|
5
|
-
.
|
|
19
|
+
._o5721q9c{white-space:nowrap}
|
|
20
|
+
._syazazsu{color:var(--ds-text-subtle,#505258)}
|
|
21
|
+
._u5f312x7{padding-right:var(--ds-space-075,6px)}
|
|
22
|
+
._u5f3idpf{padding-right:0}
|
|
23
|
+
._irr31dpa:hover{background-color:var(--ds-background-neutral-subtle-hovered,#0515240f)}
|
|
24
|
+
._1di6fcek:active{background-color:var(--ds-background-neutral-subtle-pressed,#0b120e24)}
|
|
@@ -8,22 +8,28 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
8
8
|
});
|
|
9
9
|
exports.getConversationStarters = exports.ConversationStarters = exports.AgentConversationStarters = void 0;
|
|
10
10
|
require("./index.compiled.css");
|
|
11
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
12
|
-
var React = _react;
|
|
13
11
|
var _runtime = require("@compiled/react/runtime");
|
|
14
12
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
15
13
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
16
14
|
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
|
|
15
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
17
16
|
var _reactIntlNext = require("react-intl-next");
|
|
18
17
|
var _new = require("@atlaskit/button/new");
|
|
18
|
+
var _css = require("@atlaskit/css");
|
|
19
19
|
var _retry = _interopRequireDefault(require("@atlaskit/icon/core/retry"));
|
|
20
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
20
21
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
22
|
+
var _agentChatIcon = require("../../common/ui/agent-chat-icon");
|
|
21
23
|
var _chatPill = require("../../common/ui/chat-pill");
|
|
22
24
|
var _messages = require("./messages");
|
|
23
25
|
var _excluded = ["userDefinedConversationStarters", "isAgentDefault"];
|
|
24
26
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
25
27
|
var styles = {
|
|
26
|
-
conversationStartersList: "_qtt8glyw _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf"
|
|
28
|
+
conversationStartersList: "_qtt8glyw _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf",
|
|
29
|
+
conversationStartersListRefresh: "_1bsb1osq",
|
|
30
|
+
conversationStarterIcon: "_1o9zidpf",
|
|
31
|
+
conversationStarterText: "_1reo15vq _18m915vq _1bto1l2s _o5721q9c _1o9zkb7n _1ul9idpf",
|
|
32
|
+
button: "_11c82smr _2rko12b0 _syazazsu _ca0q12x7 _u5f312x7 _n3td12x7 _19bv12x7 _k48p1wq8 _1bto1l2s _o5721q9c _1o9zkb7n _1bsb1osq _bfhksm61 _irr31dpa _1di6fcek"
|
|
27
33
|
};
|
|
28
34
|
var getConversationStarters = exports.getConversationStarters = function getConversationStarters(_ref) {
|
|
29
35
|
var userDefinedConversationStartersParam = _ref.userDefinedConversationStarters,
|
|
@@ -89,7 +95,7 @@ var AgentConversationStarters = exports.AgentConversationStarters = function Age
|
|
|
89
95
|
};
|
|
90
96
|
});
|
|
91
97
|
}, [combinedConversationStarters, formatMessage]);
|
|
92
|
-
return /*#__PURE__*/
|
|
98
|
+
return /*#__PURE__*/_react.default.createElement(ConversationStarters, (0, _extends2.default)({
|
|
93
99
|
starters: starters
|
|
94
100
|
}, props));
|
|
95
101
|
};
|
|
@@ -101,36 +107,48 @@ var ConversationStarters = exports.ConversationStarters = function ConversationS
|
|
|
101
107
|
_ref3$onReloadButtonC = _ref3.onReloadButtonClick,
|
|
102
108
|
onReloadButtonClick = _ref3$onReloadButtonC === void 0 ? function () {} : _ref3$onReloadButtonC,
|
|
103
109
|
onBrowseAgentsClick = _ref3.onBrowseAgentsClick;
|
|
104
|
-
return /*#__PURE__*/
|
|
110
|
+
return /*#__PURE__*/_react.default.createElement(_compiled.Stack, {
|
|
105
111
|
as: "ul",
|
|
106
112
|
space: "space.050",
|
|
107
|
-
xcss: styles.conversationStartersList
|
|
113
|
+
xcss: (0, _css.cx)(styles.conversationStartersList, (0, _platformFeatureFlags.fg)('rovo_agent_empty_state_refresh') && styles.conversationStartersListRefresh)
|
|
108
114
|
}, starters.map(function (starter, index) {
|
|
109
115
|
var isLastStarter = index === starters.length - 1;
|
|
110
|
-
var chatPill = /*#__PURE__*/
|
|
116
|
+
var chatPill = /*#__PURE__*/_react.default.createElement(_compiled.Box, {
|
|
111
117
|
as: "li",
|
|
112
118
|
key: starter.message
|
|
113
|
-
}, /*#__PURE__*/
|
|
119
|
+
}, (0, _platformFeatureFlags.fg)('rovo_agent_empty_state_refresh') ? /*#__PURE__*/_react.default.createElement(_compiled.Pressable, {
|
|
120
|
+
xcss: styles.button,
|
|
121
|
+
onClick: function onClick() {
|
|
122
|
+
return onConversationStarterClick(starter);
|
|
123
|
+
}
|
|
124
|
+
}, /*#__PURE__*/_react.default.createElement(_compiled.Inline, {
|
|
125
|
+
space: "space.150",
|
|
126
|
+
alignBlock: "center"
|
|
127
|
+
}, /*#__PURE__*/_react.default.createElement(_compiled.Box, {
|
|
128
|
+
xcss: styles.conversationStarterIcon
|
|
129
|
+
}, /*#__PURE__*/_react.default.createElement(_agentChatIcon.AgentChatIcon, null)), /*#__PURE__*/_react.default.createElement(_compiled.Box, {
|
|
130
|
+
xcss: styles.conversationStarterText
|
|
131
|
+
}, starter.message))) : /*#__PURE__*/_react.default.createElement(_chatPill.ChatPill, {
|
|
114
132
|
testId: "conversation-starter",
|
|
115
133
|
key: starter.message,
|
|
116
134
|
onClick: function onClick() {
|
|
117
135
|
return onConversationStarterClick(starter);
|
|
118
136
|
}
|
|
119
137
|
}, starter.message));
|
|
120
|
-
return isLastStarter && showReloadButton ? /*#__PURE__*/
|
|
138
|
+
return isLastStarter && showReloadButton ? /*#__PURE__*/_react.default.createElement(_compiled.Inline, {
|
|
121
139
|
space: "space.050",
|
|
122
140
|
grow: "fill",
|
|
123
141
|
alignInline: "end",
|
|
124
142
|
key: starter.message
|
|
125
|
-
}, chatPill, /*#__PURE__*/
|
|
143
|
+
}, chatPill, /*#__PURE__*/_react.default.createElement(_new.IconButton, {
|
|
126
144
|
icon: _retry.default,
|
|
127
145
|
onClick: onReloadButtonClick,
|
|
128
146
|
appearance: "subtle",
|
|
129
147
|
label: ""
|
|
130
148
|
})) : chatPill;
|
|
131
|
-
}), !!onBrowseAgentsClick && /*#__PURE__*/
|
|
149
|
+
}), !!onBrowseAgentsClick && /*#__PURE__*/_react.default.createElement(_compiled.Box, {
|
|
132
150
|
as: "li"
|
|
133
|
-
}, /*#__PURE__*/
|
|
151
|
+
}, /*#__PURE__*/_react.default.createElement(_chatPill.BrowseAgentsPill, {
|
|
134
152
|
onClick: onBrowseAgentsClick
|
|
135
153
|
})));
|
|
136
154
|
};
|
|
@@ -24,6 +24,7 @@ var styles = {
|
|
|
24
24
|
clickableItem: "_zulp1b66 _1e0c1txw _4cvr1h6o",
|
|
25
25
|
name: "_1bah1yb4 _4cvr1y6m",
|
|
26
26
|
description: "_19pkze3t _otyru2gc _1i4qfg65 _1nmz1hna",
|
|
27
|
+
descriptionRefresh: "_1mouze3t _1i4qfg65 _1nmz1hna",
|
|
27
28
|
wrapper: "_otyru2gc",
|
|
28
29
|
tooltipWrapper: "_195gu2gc _1e0c116y _kqswh2mm _94n5v77o",
|
|
29
30
|
headingWrapper: "_kqswh2mm"
|
|
@@ -154,7 +155,7 @@ var AgentProfileInfo = exports.AgentProfileInfo = function AgentProfileInfo(_ref
|
|
|
154
155
|
formatMessage = _useIntl2.formatMessage;
|
|
155
156
|
return /*#__PURE__*/_react.default.createElement(_compiled.Stack, {
|
|
156
157
|
space: "space.100",
|
|
157
|
-
xcss: styles.wrapper
|
|
158
|
+
xcss: (0, _platformFeatureFlags.fg)('rovo_agent_empty_state_refresh') ? null : styles.wrapper
|
|
158
159
|
}, /*#__PURE__*/_react.default.createElement(_compiled.Inline, {
|
|
159
160
|
xcss: styles.name,
|
|
160
161
|
space: "space.100",
|
|
@@ -164,7 +165,7 @@ var AgentProfileInfo = exports.AgentProfileInfo = function AgentProfileInfo(_ref
|
|
|
164
165
|
alignBlock: "end"
|
|
165
166
|
}, /*#__PURE__*/_react.default.createElement(_heading.default, {
|
|
166
167
|
as: "h2",
|
|
167
|
-
size:
|
|
168
|
+
size: (0, _platformFeatureFlags.fg)('rovo_agent_empty_state_refresh') ? 'medium' : 'xlarge'
|
|
168
169
|
}, agentName), isHidden && /*#__PURE__*/_react.default.createElement(_compiled.Box, {
|
|
169
170
|
xcss: styles.tooltipWrapper
|
|
170
171
|
}, /*#__PURE__*/_react.default.createElement(_tooltip.default, {
|
|
@@ -176,7 +177,7 @@ var AgentProfileInfo = exports.AgentProfileInfo = function AgentProfileInfo(_ref
|
|
|
176
177
|
isStarred: isStarred,
|
|
177
178
|
handleToggle: onStarToggle
|
|
178
179
|
})), creatorRender, !!agentDescription && /*#__PURE__*/_react.default.createElement(_compiled.Box, {
|
|
179
|
-
xcss: styles.description,
|
|
180
|
+
xcss: (0, _platformFeatureFlags.fg)('rovo_agent_empty_state_refresh') ? styles.descriptionRefresh : styles.description,
|
|
180
181
|
as: "p"
|
|
181
182
|
}, agentDescription), starCountRender);
|
|
182
183
|
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
|
+
import "./index.compiled.css";
|
|
3
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
4
|
+
import React from 'react';
|
|
5
|
+
import RovoChatIcon from '@atlaskit/icon/core/rovo-chat';
|
|
6
|
+
import { Flex } from '@atlaskit/primitives/compiled';
|
|
7
|
+
const styles = {
|
|
8
|
+
agentChatIcon: "_2rko1mok _189ee4h9 _1dqonqa1 _1h6d1l7x _1bsbzwfg _4t3izwfg"
|
|
9
|
+
};
|
|
10
|
+
export const AgentChatIcon = () => {
|
|
11
|
+
return /*#__PURE__*/React.createElement(Flex, {
|
|
12
|
+
xcss: styles.agentChatIcon,
|
|
13
|
+
alignItems: "center",
|
|
14
|
+
justifyContent: "center"
|
|
15
|
+
}, /*#__PURE__*/React.createElement(RovoChatIcon, {
|
|
16
|
+
label: "",
|
|
17
|
+
color: "var(--ds-icon-subtlest, #6B6E76)"
|
|
18
|
+
}));
|
|
19
|
+
};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/* eslint-disable @atlaskit/ui-styling-standard/enforce-style-prop */
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export default (({
|
|
4
|
+
size,
|
|
5
|
+
primaryColor,
|
|
6
|
+
secondaryColor
|
|
7
|
+
}) => /*#__PURE__*/React.createElement("svg", {
|
|
8
|
+
width: size,
|
|
9
|
+
height: size,
|
|
10
|
+
viewBox: "0 0 42 48",
|
|
11
|
+
fill: "none",
|
|
12
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
13
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
14
|
+
d: "M19.01 0.922148C20.24 0.212148 21.76 0.212148 23 0.922148L40 10.6921C41.24 11.4021 42.01 12.7321 42.01 14.1621V33.6721C42.01 35.1021 41.24 36.4221 40 37.1421L23 46.9121C21.77 47.6221 20.25 47.6221 19.01 46.9121L2.01 37.1321C0.77 36.4221 0 35.1021 0 33.6621V14.1621C0 12.7221 0.77 11.4021 2.01 10.6921L19.01 0.922148Z",
|
|
15
|
+
fill: primaryColor
|
|
16
|
+
}), /*#__PURE__*/React.createElement("mask", {
|
|
17
|
+
id: "mask0_156_5162",
|
|
18
|
+
style: {
|
|
19
|
+
maskType: 'luminance'
|
|
20
|
+
},
|
|
21
|
+
maskUnits: "userSpaceOnUse",
|
|
22
|
+
x: "0",
|
|
23
|
+
y: "0",
|
|
24
|
+
width: "43",
|
|
25
|
+
height: "48"
|
|
26
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
27
|
+
d: "M19.05 1.02176C20.28 0.311758 21.8 0.311758 23.04 1.02176L40.04 10.7918C41.28 11.5018 42.05 12.8318 42.05 14.2618V33.7718C42.05 35.2018 41.28 36.5218 40.04 37.2418L23.04 47.0118C21.81 47.7218 20.29 47.7218 19.05 47.0118L2.05004 37.2318C0.810039 36.5218 0.0400391 35.1918 0.0400391 33.7618V14.2618C0.0400391 12.8318 0.810039 11.5118 2.05004 10.7918L19.05 1.02176Z",
|
|
28
|
+
fill: "white"
|
|
29
|
+
})), /*#__PURE__*/React.createElement("g", {
|
|
30
|
+
mask: "url(#mask0_156_5162)"
|
|
31
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
32
|
+
d: "M9.49035 33.9721C9.78035 33.8521 9.78035 32.7421 9.49035 32.6221C9.08035 32.4521 8.66035 32.3721 8.11035 32.3621C7.49035 32.4121 7.33035 32.6421 6.91035 32.6221C6.20035 32.6221 4.99035 32.3121 4.70035 32.2321C4.66035 32.2221 4.61035 32.2221 4.57035 32.2321C4.26035 32.2721 2.92035 32.4421 1.75035 32.3621C0.930351 32.3621 0.420352 32.3621 0.160352 32.3621C-0.469648 32.3621 -0.929648 32.4821 -1.38965 32.6921C-1.63965 32.8121 -1.63965 33.7821 -1.38965 33.8921C-0.929648 34.1021 -0.459648 34.2221 0.160352 34.2221C0.400352 34.2221 0.910352 34.4921 1.63035 34.5321C1.75035 34.5321 1.86035 34.5221 1.98035 34.4821C2.98035 34.1221 4.27035 34.2221 4.27035 34.2221C4.27035 34.2221 6.20035 34.2221 7.02035 34.2221C7.63035 34.2221 7.93035 34.2221 8.11035 34.2221C8.66035 34.2221 9.09035 34.1221 9.49035 33.9621V33.9721Z",
|
|
33
|
+
fill: secondaryColor
|
|
34
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
35
|
+
d: "M3.19027 38.7917C3.30027 39.0917 4.41027 39.1217 4.54027 38.8217C4.72027 38.4017 4.82027 37.9617 4.84027 37.3917C4.80027 36.7417 4.58027 36.5817 4.61027 36.1417C4.63027 35.4017 4.97027 34.1617 5.06027 33.8617C5.07027 33.8217 5.08027 33.7717 5.07027 33.7317C5.04027 33.4117 4.90027 32.0117 5.01027 30.8117C5.03027 29.9617 5.04027 29.4317 5.05027 29.1617C5.05027 28.5117 4.96027 28.0217 4.76027 27.5417C4.65027 27.2817 3.68027 27.2517 3.56027 27.5117C3.34027 27.9817 3.21027 28.4617 3.18027 29.1117C3.18027 29.3617 2.89027 29.8817 2.83027 30.6217C2.82027 30.7417 2.83027 30.8617 2.87027 30.9817C3.21027 32.0217 3.07027 33.3617 3.07027 33.3617C3.07027 33.3617 3.01027 35.3617 2.99027 36.2117C2.98027 36.8517 2.97027 37.1517 2.97027 37.3417C2.97027 37.9117 3.04027 38.3617 3.19027 38.7817V38.7917Z",
|
|
36
|
+
fill: secondaryColor
|
|
37
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
38
|
+
d: "M8.01063 38.5713C8.31063 38.7313 9.14063 37.9813 9.01063 37.6613C8.82063 37.2113 8.57063 36.8013 8.16063 36.3413C7.65063 35.8613 7.36063 35.8913 7.06063 35.5213C6.52063 34.9313 5.84063 33.7313 5.68063 33.4313C5.66063 33.3913 5.63063 33.3513 5.59063 33.3213C5.33063 33.0913 4.18063 32.0913 3.36063 31.0813C2.74063 30.4013 2.35063 29.9913 2.15063 29.7713C1.67063 29.2613 1.23063 28.9513 0.730628 28.7113C0.450629 28.5813 -0.259372 29.2313 -0.159372 29.5213C0.0306285 30.0413 0.300628 30.5113 0.770628 31.0313C0.950629 31.2313 1.14063 31.8313 1.65063 32.4513C1.73063 32.5513 1.83063 32.6413 1.95063 32.7013C2.97063 33.2813 3.88063 34.4213 3.88063 34.4213C3.88063 34.4213 5.34063 36.0213 5.95063 36.6913C6.42063 37.2013 6.64063 37.4413 6.78063 37.5913C7.20063 38.0413 7.59063 38.3313 8.02063 38.5613L8.01063 38.5713Z",
|
|
39
|
+
fill: secondaryColor
|
|
40
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
41
|
+
d: "M8.84036 29.3721C8.99036 29.0621 8.21036 28.2621 7.90036 28.4121C7.46036 28.6121 7.05036 28.8921 6.61036 29.3121C6.15036 29.8421 6.18036 30.1221 5.83036 30.4421C5.26036 31.0021 4.07036 31.7321 3.79036 31.9021C3.75036 31.9321 3.71036 31.9621 3.68036 32.0021C3.46036 32.2721 2.50036 33.4521 1.51036 34.3121C0.850363 34.9621 0.450363 35.3621 0.240363 35.5721C-0.259637 36.0721 -0.549637 36.5221 -0.769637 37.0321C-0.889637 37.3121 -0.209637 38.0021 0.0703631 37.8921C0.590363 37.6821 1.04036 37.3921 1.55036 36.9121C1.75036 36.7221 2.34036 36.5121 2.95036 35.9821C3.05036 35.8921 3.13036 35.7921 3.19036 35.6721C3.74036 34.6321 4.85036 33.6821 4.85036 33.6821C4.85036 33.6821 6.40036 32.1621 7.06036 31.5221C7.55036 31.0421 7.79036 30.8021 7.93036 30.6621C8.37036 30.2221 8.65036 29.8221 8.86036 29.3821L8.84036 29.3721Z",
|
|
42
|
+
fill: secondaryColor
|
|
43
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
44
|
+
d: "M41.0902 9.13153C41.3002 9.01153 41.3002 7.90153 41.0902 7.78153C40.8002 7.61153 40.4902 7.53153 40.0902 7.52153C39.6402 7.57153 39.5302 7.80153 39.2302 7.78153C38.7202 7.78153 37.8502 7.47153 37.6402 7.39153C37.6102 7.38153 37.5802 7.38153 37.5502 7.39153C37.3302 7.43153 36.3602 7.60153 35.5202 7.52153C34.9302 7.52153 34.5602 7.52153 34.3702 7.52153C33.9202 7.52153 33.5802 7.64153 33.2502 7.85153C33.0702 7.97153 33.0702 8.94153 33.2502 9.05153C33.5802 9.26153 33.9202 9.38153 34.3702 9.38153C34.5402 9.38153 34.9102 9.65153 35.4202 9.69153C35.5002 9.69153 35.5902 9.68153 35.6702 9.64153C36.3902 9.28153 37.3202 9.38153 37.3202 9.38153C37.3202 9.38153 38.7102 9.38153 39.3002 9.38153C39.7402 9.38153 39.9502 9.38153 40.0902 9.38153C40.4902 9.38153 40.7902 9.28153 41.0902 9.12153V9.13153Z",
|
|
45
|
+
fill: secondaryColor
|
|
46
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
47
|
+
d: "M36.3905 12.4315C36.5005 12.6515 37.6205 12.6815 37.7405 12.4615C37.9105 12.1615 38.0105 11.8415 38.0305 11.4315C37.9905 10.9615 37.7605 10.8415 37.8005 10.5315C37.8105 10.0015 38.1505 9.11147 38.2305 8.89147C38.2405 8.86147 38.2505 8.83147 38.2405 8.79147C38.2005 8.56147 38.0605 7.55147 38.1605 6.68147C38.1705 6.07147 38.1805 5.69147 38.1805 5.49147C38.1805 5.02147 38.0805 4.67147 37.8805 4.32147C37.7705 4.13147 36.8005 4.10147 36.6805 4.29147C36.4605 4.63147 36.3405 4.97147 36.3205 5.44147C36.3205 5.62147 36.0405 5.99147 35.9805 6.53147C35.9805 6.62147 35.9805 6.70147 36.0305 6.79147C36.3705 7.54147 36.2505 8.51147 36.2505 8.51147C36.2505 8.51147 36.2105 9.95147 36.1905 10.5615C36.1905 11.0215 36.1805 11.2415 36.1705 11.3815C36.1705 11.7915 36.2505 12.1115 36.4105 12.4215L36.3905 12.4315Z",
|
|
48
|
+
fill: secondaryColor
|
|
49
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
50
|
+
d: "M39.9006 12.3919C40.1406 12.4819 40.9706 11.7319 40.9006 11.4819C40.8006 11.1319 40.6306 10.8119 40.3406 10.4819C39.9606 10.1419 39.7106 10.2119 39.5006 9.94188C39.1106 9.52188 38.6806 8.59188 38.5806 8.37188C38.5606 8.34188 38.5406 8.31188 38.5206 8.29188C38.3206 8.14188 37.4606 7.45188 36.8906 6.70188C36.4406 6.21188 36.1606 5.91188 36.0206 5.76188C35.6706 5.39188 35.3306 5.19188 34.9306 5.06188C34.7106 4.99188 33.9906 5.64188 34.0406 5.87188C34.1306 6.29188 34.3006 6.64188 34.6406 7.02188C34.7706 7.17188 34.8506 7.65188 35.2106 8.10188C35.2706 8.17188 35.3506 8.23188 35.4406 8.27188C36.2506 8.62188 36.8806 9.46188 36.8806 9.46188C36.8806 9.46188 37.9306 10.6119 38.3706 11.1019C38.7106 11.4619 38.8706 11.6419 38.9706 11.7519C39.2706 12.0719 39.5706 12.2719 39.9206 12.4019L39.9006 12.3919Z",
|
|
51
|
+
fill: secondaryColor
|
|
52
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
53
|
+
d: "M40.7404 5.77157C40.8204 5.52157 40.0404 4.73157 39.8004 4.81157C39.4504 4.92157 39.1404 5.10157 38.8204 5.41157C38.5004 5.80157 38.5704 6.05157 38.3104 6.27157C37.9004 6.67157 36.9904 7.13157 36.7604 7.24157C36.7304 7.26157 36.7004 7.28157 36.6804 7.31157C36.5304 7.51157 35.8704 8.40157 35.1404 9.00157C34.6704 9.47157 34.3804 9.75157 34.2204 9.91157C33.8604 10.2716 33.6704 10.6216 33.5604 11.0316C33.5004 11.2616 34.1704 11.9516 34.4004 11.8916C34.8104 11.7816 35.1604 11.6016 35.5304 11.2516C35.6704 11.1116 36.1504 11.0216 36.6004 10.6516C36.6704 10.5916 36.7304 10.5116 36.7604 10.4216C37.0804 9.60157 37.9004 8.94157 37.9004 8.94157C37.9004 8.94157 39.0204 7.85157 39.4904 7.39157C39.8404 7.04157 40.0104 6.87157 40.1204 6.77157C40.4304 6.45157 40.6204 6.15157 40.7404 5.80157V5.77157Z",
|
|
54
|
+
fill: secondaryColor
|
|
55
|
+
})), /*#__PURE__*/React.createElement("path", {
|
|
56
|
+
d: "M15.7397 30.3625L16.7797 41.7425H25.7397L26.7897 30.3725L15.7397 30.3625Z",
|
|
57
|
+
fill: secondaryColor
|
|
58
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
59
|
+
d: "M8.93994 19.3425C8.93994 24.1625 11.7099 28.3325 15.7399 30.3525L16.0599 33.8925H26.4599L26.7799 30.3525C30.8099 28.3325 33.5799 24.1525 33.5799 19.3425C33.5799 12.5425 28.0599 7.02246 21.2599 7.02246C14.4599 7.02246 8.93994 12.5425 8.93994 19.3425Z",
|
|
60
|
+
fill: "white"
|
|
61
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
62
|
+
d: "M26.25 36.1426H16.27L16.74 41.7426H25.78L26.25 36.1426Z",
|
|
63
|
+
fill: "#101214"
|
|
64
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
65
|
+
d: "M22.8698 36.4926C23.1498 37.2026 23.6097 37.4326 23.8798 37.3026C24.1597 37.1726 24.2998 36.7526 24.1498 36.0926C23.7498 34.1826 23.4898 32.0626 23.2898 29.3726C23.1598 27.8526 23.1098 26.9026 23.0798 26.0726C23.0698 25.2626 23.0598 24.5326 23.2998 23.6126C23.3998 23.2426 23.5698 22.8226 23.7398 22.6526C23.8398 22.5326 24.3598 22.3126 24.6998 22.3126C24.8798 22.3026 25.0398 22.3326 25.1298 22.3726C25.2098 22.4126 25.2898 22.4826 25.3698 22.6126C25.5398 22.8526 25.5798 23.2826 25.4898 23.3626C25.4698 23.4626 25.1098 23.7226 24.8098 23.8926C24.6198 23.9726 24.4498 24.0526 24.2698 24.1226C24.0798 24.1826 23.8998 24.2326 23.7198 24.2826C23.0098 24.4626 22.4098 24.5226 22.0798 24.5626C21.8798 24.5626 21.6898 24.5926 21.4898 24.6226C21.1398 24.6726 20.4897 24.7226 19.6297 24.7026C18.7897 24.6526 17.7197 24.4926 16.8098 23.9926C16.3997 23.7026 16.0098 23.4226 15.7898 22.9626C15.5498 22.5026 15.4098 21.8826 15.4398 21.3926C15.4398 21.1726 15.5398 21.1626 15.6498 21.1926C16.0998 21.3326 16.7097 21.7226 17.1297 22.1226C18.3298 23.2126 18.4998 24.8126 18.6798 26.0626C18.8298 27.3326 18.8998 28.3226 18.9498 28.9626C19.0598 30.5126 19.1298 31.8626 19.1598 33.0926C19.1798 34.3126 19.1798 35.4826 18.9498 36.4026C18.8298 36.8626 18.8898 37.0526 18.9898 37.3426C19.0598 37.4626 19.1798 37.5326 19.4198 37.4726C19.6398 37.4126 19.8998 37.1826 20.0598 36.8526C20.6098 35.6426 20.7298 34.4326 20.8398 33.1326C20.9198 31.8226 20.9097 30.4226 20.7997 28.8226C20.7497 28.1926 20.7498 27.2626 20.6798 25.9826C20.6398 25.3426 20.5798 24.6126 20.3998 23.7726C20.2098 22.9426 19.8698 21.9526 19.1297 21.0726C18.6497 20.5026 18.0898 20.0726 17.4898 19.7426C17.1598 19.5626 16.8098 19.4026 16.3998 19.2826C16.2298 19.2326 15.8598 19.1326 15.5798 19.1326C15.2798 19.1026 14.9798 19.1526 14.7098 19.2626C14.1498 19.4526 13.7698 19.9826 13.5998 20.5426C13.4198 21.1926 13.4798 21.5426 13.5098 21.9626C13.5998 22.7726 13.8598 23.5026 14.2798 24.1726C14.4898 24.5126 14.7798 24.7726 15.0298 25.0526C15.3198 25.2726 15.5998 25.4926 15.8898 25.6626C17.0598 26.3126 18.1198 26.4826 18.8598 26.5926C19.2298 26.6426 19.5298 26.6826 19.7298 26.6826C19.9297 26.6926 20.0398 26.7026 20.0398 26.7026C20.0398 26.7026 20.6898 26.7426 21.7298 26.6426C22.7698 26.5326 24.1898 26.3226 25.7098 25.5226C25.8997 25.3926 26.0898 25.2626 26.2798 25.1326C26.4698 24.9826 26.6498 24.7726 26.8298 24.5826C26.9798 24.3226 27.1498 24.0526 27.2298 23.7326C27.2998 23.4126 27.2898 23.1126 27.2498 22.8426C27.1498 22.2926 26.9298 21.8026 26.5398 21.3726C26.1498 20.9226 25.4598 20.6626 24.9398 20.6626C24.3998 20.6426 23.9498 20.7626 23.5198 20.9226C23.3098 21.0126 23.1098 21.1026 22.8898 21.2526C22.6698 21.4126 22.4498 21.6326 22.3298 21.8226C21.8198 22.6126 21.7098 23.2626 21.5898 23.8126C21.2998 25.4626 21.3298 26.6326 21.3298 27.5426C21.3398 28.4426 21.3798 29.0526 21.4098 29.5226C21.6298 32.3426 22.0798 34.5126 22.8498 36.5126L22.8698 36.4926Z",
|
|
66
|
+
fill: "#101214"
|
|
67
|
+
})));
|
|
@@ -42,6 +42,7 @@ const RovoDevAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName: "@atl
|
|
|
42
42
|
const SocialMediaScribeAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName: "@atlaskit-rovo-avatar-SocialMediaScribeAvatar"*/'./assets/social-media-scribe'));
|
|
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
|
+
const TrialGuideAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName: "@atlaskit-rovo-avatar-TrialGuideAvatar"*/'./assets/trial-guide'));
|
|
45
46
|
export const yellowColor = {
|
|
46
47
|
primary: '#FCA700',
|
|
47
48
|
secondary: '#FFC716'
|
|
@@ -181,6 +182,14 @@ const outOfTheBoxAgentAvatar = {
|
|
|
181
182
|
secondaryColor: yellowColor.secondary
|
|
182
183
|
}),
|
|
183
184
|
color: yellowColor
|
|
185
|
+
},
|
|
186
|
+
jira_trial_guide_agent: {
|
|
187
|
+
getRender: size => /*#__PURE__*/React.createElement(TrialGuideAvatar, {
|
|
188
|
+
size: AVATAR_SIZES[size],
|
|
189
|
+
primaryColor: blueColor.primary,
|
|
190
|
+
secondaryColor: blueColor.secondary
|
|
191
|
+
}),
|
|
192
|
+
color: blueColor
|
|
184
193
|
}
|
|
185
194
|
};
|
|
186
195
|
|
|
@@ -1,5 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
.
|
|
1
|
+
._11c82smr{font:var(--ds-font-body,normal 400 14px/20px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
|
+
._2rko12b0{border-radius:var(--ds-radius-small,4px)}
|
|
3
|
+
._qtt8glyw{list-style:none}
|
|
4
|
+
._18m915vq{overflow-y:hidden}
|
|
5
|
+
._19bv12x7{padding-left:var(--ds-space-075,6px)}
|
|
6
|
+
._19bvidpf{padding-left:0}
|
|
7
|
+
._1bsb1osq{width:100%}
|
|
8
|
+
._1bto1l2s{text-overflow:ellipsis}
|
|
9
|
+
._1o9zidpf{flex-shrink:0}
|
|
10
|
+
._1o9zkb7n{flex-shrink:1}
|
|
11
|
+
._1reo15vq{overflow-x:hidden}
|
|
12
|
+
._1ul9idpf{min-width:0}
|
|
13
|
+
._bfhksm61{background-color:var(--ds-background-neutral-subtle,#00000000)}
|
|
14
|
+
._ca0q12x7{padding-top:var(--ds-space-075,6px)}
|
|
3
15
|
._ca0qidpf{padding-top:0}
|
|
16
|
+
._k48p1wq8{font-weight:var(--ds-font-weight-medium,500)}
|
|
17
|
+
._n3td12x7{padding-bottom:var(--ds-space-075,6px)}
|
|
4
18
|
._n3tdidpf{padding-bottom:0}
|
|
5
|
-
.
|
|
19
|
+
._o5721q9c{white-space:nowrap}
|
|
20
|
+
._syazazsu{color:var(--ds-text-subtle,#505258)}
|
|
21
|
+
._u5f312x7{padding-right:var(--ds-space-075,6px)}
|
|
22
|
+
._u5f3idpf{padding-right:0}
|
|
23
|
+
._irr31dpa:hover{background-color:var(--ds-background-neutral-subtle-hovered,#0515240f)}
|
|
24
|
+
._1di6fcek:active{background-color:var(--ds-background-neutral-subtle-pressed,#0b120e24)}
|
|
@@ -1,17 +1,23 @@
|
|
|
1
1
|
/* index.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import "./index.compiled.css";
|
|
4
|
-
import * as React from 'react';
|
|
5
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
6
|
-
import { useMemo } from 'react';
|
|
5
|
+
import React, { useMemo } from 'react';
|
|
7
6
|
import { useIntl } from 'react-intl-next';
|
|
8
7
|
import { IconButton } from '@atlaskit/button/new';
|
|
8
|
+
import { cx } from '@atlaskit/css';
|
|
9
9
|
import RetryIcon from '@atlaskit/icon/core/retry';
|
|
10
|
-
import {
|
|
10
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
11
|
+
import { Box, Inline, Pressable, Stack } from '@atlaskit/primitives/compiled';
|
|
12
|
+
import { AgentChatIcon } from '../../common/ui/agent-chat-icon';
|
|
11
13
|
import { BrowseAgentsPill, ChatPill } from '../../common/ui/chat-pill';
|
|
12
14
|
import { messages } from './messages';
|
|
13
15
|
const styles = {
|
|
14
|
-
conversationStartersList: "_qtt8glyw _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf"
|
|
16
|
+
conversationStartersList: "_qtt8glyw _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf",
|
|
17
|
+
conversationStartersListRefresh: "_1bsb1osq",
|
|
18
|
+
conversationStarterIcon: "_1o9zidpf",
|
|
19
|
+
conversationStarterText: "_1reo15vq _18m915vq _1bto1l2s _o5721q9c _1o9zkb7n _1ul9idpf",
|
|
20
|
+
button: "_11c82smr _2rko12b0 _syazazsu _ca0q12x7 _u5f312x7 _n3td12x7 _19bv12x7 _k48p1wq8 _1bto1l2s _o5721q9c _1o9zkb7n _1bsb1osq _bfhksm61 _irr31dpa _1di6fcek"
|
|
15
21
|
};
|
|
16
22
|
export const getConversationStarters = ({
|
|
17
23
|
userDefinedConversationStarters: userDefinedConversationStartersParam,
|
|
@@ -89,13 +95,23 @@ export const ConversationStarters = ({
|
|
|
89
95
|
return /*#__PURE__*/React.createElement(Stack, {
|
|
90
96
|
as: "ul",
|
|
91
97
|
space: "space.050",
|
|
92
|
-
xcss: styles.conversationStartersList
|
|
98
|
+
xcss: cx(styles.conversationStartersList, fg('rovo_agent_empty_state_refresh') && styles.conversationStartersListRefresh)
|
|
93
99
|
}, starters.map((starter, index) => {
|
|
94
100
|
const isLastStarter = index === starters.length - 1;
|
|
95
101
|
const chatPill = /*#__PURE__*/React.createElement(Box, {
|
|
96
102
|
as: "li",
|
|
97
103
|
key: starter.message
|
|
98
|
-
}, /*#__PURE__*/React.createElement(
|
|
104
|
+
}, fg('rovo_agent_empty_state_refresh') ? /*#__PURE__*/React.createElement(Pressable, {
|
|
105
|
+
xcss: styles.button,
|
|
106
|
+
onClick: () => onConversationStarterClick(starter)
|
|
107
|
+
}, /*#__PURE__*/React.createElement(Inline, {
|
|
108
|
+
space: "space.150",
|
|
109
|
+
alignBlock: "center"
|
|
110
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
111
|
+
xcss: styles.conversationStarterIcon
|
|
112
|
+
}, /*#__PURE__*/React.createElement(AgentChatIcon, null)), /*#__PURE__*/React.createElement(Box, {
|
|
113
|
+
xcss: styles.conversationStarterText
|
|
114
|
+
}, starter.message))) : /*#__PURE__*/React.createElement(ChatPill, {
|
|
99
115
|
testId: "conversation-starter",
|
|
100
116
|
key: starter.message,
|
|
101
117
|
onClick: () => onConversationStarterClick(starter)
|
|
@@ -17,6 +17,7 @@ const styles = {
|
|
|
17
17
|
clickableItem: "_zulp1b66 _1e0c1txw _4cvr1h6o",
|
|
18
18
|
name: "_1bah1yb4 _4cvr1y6m",
|
|
19
19
|
description: "_19pkze3t _otyru2gc _1i4qfg65 _1nmz1hna",
|
|
20
|
+
descriptionRefresh: "_1mouze3t _1i4qfg65 _1nmz1hna",
|
|
20
21
|
wrapper: "_otyru2gc",
|
|
21
22
|
tooltipWrapper: "_195gu2gc _1e0c116y _kqswh2mm _94n5v77o",
|
|
22
23
|
headingWrapper: "_kqswh2mm"
|
|
@@ -148,7 +149,7 @@ export const AgentProfileInfo = ({
|
|
|
148
149
|
} = useIntl();
|
|
149
150
|
return /*#__PURE__*/React.createElement(Stack, {
|
|
150
151
|
space: "space.100",
|
|
151
|
-
xcss: styles.wrapper
|
|
152
|
+
xcss: fg('rovo_agent_empty_state_refresh') ? null : styles.wrapper
|
|
152
153
|
}, /*#__PURE__*/React.createElement(Inline, {
|
|
153
154
|
xcss: styles.name,
|
|
154
155
|
space: "space.100",
|
|
@@ -158,7 +159,7 @@ export const AgentProfileInfo = ({
|
|
|
158
159
|
alignBlock: "end"
|
|
159
160
|
}, /*#__PURE__*/React.createElement(Heading, {
|
|
160
161
|
as: "h2",
|
|
161
|
-
size:
|
|
162
|
+
size: fg('rovo_agent_empty_state_refresh') ? 'medium' : 'xlarge'
|
|
162
163
|
}, agentName), isHidden && /*#__PURE__*/React.createElement(Box, {
|
|
163
164
|
xcss: styles.tooltipWrapper
|
|
164
165
|
}, /*#__PURE__*/React.createElement(Tooltip, {
|
|
@@ -170,7 +171,7 @@ export const AgentProfileInfo = ({
|
|
|
170
171
|
isStarred: isStarred,
|
|
171
172
|
handleToggle: onStarToggle
|
|
172
173
|
})), creatorRender, !!agentDescription && /*#__PURE__*/React.createElement(Box, {
|
|
173
|
-
xcss: styles.description,
|
|
174
|
+
xcss: fg('rovo_agent_empty_state_refresh') ? styles.descriptionRefresh : styles.description,
|
|
174
175
|
as: "p"
|
|
175
176
|
}, agentDescription), starCountRender);
|
|
176
177
|
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/* index.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
|
+
import "./index.compiled.css";
|
|
3
|
+
import { ax, ix } from "@compiled/react/runtime";
|
|
4
|
+
import React from 'react';
|
|
5
|
+
import RovoChatIcon from '@atlaskit/icon/core/rovo-chat';
|
|
6
|
+
import { Flex } from '@atlaskit/primitives/compiled';
|
|
7
|
+
var styles = {
|
|
8
|
+
agentChatIcon: "_2rko1mok _189ee4h9 _1dqonqa1 _1h6d1l7x _1bsbzwfg _4t3izwfg"
|
|
9
|
+
};
|
|
10
|
+
export var AgentChatIcon = function AgentChatIcon() {
|
|
11
|
+
return /*#__PURE__*/React.createElement(Flex, {
|
|
12
|
+
xcss: styles.agentChatIcon,
|
|
13
|
+
alignItems: "center",
|
|
14
|
+
justifyContent: "center"
|
|
15
|
+
}, /*#__PURE__*/React.createElement(RovoChatIcon, {
|
|
16
|
+
label: "",
|
|
17
|
+
color: "var(--ds-icon-subtlest, #6B6E76)"
|
|
18
|
+
}));
|
|
19
|
+
};
|
|
@@ -0,0 +1,68 @@
|
|
|
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
|
+
primaryColor = _ref.primaryColor,
|
|
6
|
+
secondaryColor = _ref.secondaryColor;
|
|
7
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
8
|
+
width: size,
|
|
9
|
+
height: size,
|
|
10
|
+
viewBox: "0 0 42 48",
|
|
11
|
+
fill: "none",
|
|
12
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
13
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
14
|
+
d: "M19.01 0.922148C20.24 0.212148 21.76 0.212148 23 0.922148L40 10.6921C41.24 11.4021 42.01 12.7321 42.01 14.1621V33.6721C42.01 35.1021 41.24 36.4221 40 37.1421L23 46.9121C21.77 47.6221 20.25 47.6221 19.01 46.9121L2.01 37.1321C0.77 36.4221 0 35.1021 0 33.6621V14.1621C0 12.7221 0.77 11.4021 2.01 10.6921L19.01 0.922148Z",
|
|
15
|
+
fill: primaryColor
|
|
16
|
+
}), /*#__PURE__*/React.createElement("mask", {
|
|
17
|
+
id: "mask0_156_5162",
|
|
18
|
+
style: {
|
|
19
|
+
maskType: 'luminance'
|
|
20
|
+
},
|
|
21
|
+
maskUnits: "userSpaceOnUse",
|
|
22
|
+
x: "0",
|
|
23
|
+
y: "0",
|
|
24
|
+
width: "43",
|
|
25
|
+
height: "48"
|
|
26
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
27
|
+
d: "M19.05 1.02176C20.28 0.311758 21.8 0.311758 23.04 1.02176L40.04 10.7918C41.28 11.5018 42.05 12.8318 42.05 14.2618V33.7718C42.05 35.2018 41.28 36.5218 40.04 37.2418L23.04 47.0118C21.81 47.7218 20.29 47.7218 19.05 47.0118L2.05004 37.2318C0.810039 36.5218 0.0400391 35.1918 0.0400391 33.7618V14.2618C0.0400391 12.8318 0.810039 11.5118 2.05004 10.7918L19.05 1.02176Z",
|
|
28
|
+
fill: "white"
|
|
29
|
+
})), /*#__PURE__*/React.createElement("g", {
|
|
30
|
+
mask: "url(#mask0_156_5162)"
|
|
31
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
32
|
+
d: "M9.49035 33.9721C9.78035 33.8521 9.78035 32.7421 9.49035 32.6221C9.08035 32.4521 8.66035 32.3721 8.11035 32.3621C7.49035 32.4121 7.33035 32.6421 6.91035 32.6221C6.20035 32.6221 4.99035 32.3121 4.70035 32.2321C4.66035 32.2221 4.61035 32.2221 4.57035 32.2321C4.26035 32.2721 2.92035 32.4421 1.75035 32.3621C0.930351 32.3621 0.420352 32.3621 0.160352 32.3621C-0.469648 32.3621 -0.929648 32.4821 -1.38965 32.6921C-1.63965 32.8121 -1.63965 33.7821 -1.38965 33.8921C-0.929648 34.1021 -0.459648 34.2221 0.160352 34.2221C0.400352 34.2221 0.910352 34.4921 1.63035 34.5321C1.75035 34.5321 1.86035 34.5221 1.98035 34.4821C2.98035 34.1221 4.27035 34.2221 4.27035 34.2221C4.27035 34.2221 6.20035 34.2221 7.02035 34.2221C7.63035 34.2221 7.93035 34.2221 8.11035 34.2221C8.66035 34.2221 9.09035 34.1221 9.49035 33.9621V33.9721Z",
|
|
33
|
+
fill: secondaryColor
|
|
34
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
35
|
+
d: "M3.19027 38.7917C3.30027 39.0917 4.41027 39.1217 4.54027 38.8217C4.72027 38.4017 4.82027 37.9617 4.84027 37.3917C4.80027 36.7417 4.58027 36.5817 4.61027 36.1417C4.63027 35.4017 4.97027 34.1617 5.06027 33.8617C5.07027 33.8217 5.08027 33.7717 5.07027 33.7317C5.04027 33.4117 4.90027 32.0117 5.01027 30.8117C5.03027 29.9617 5.04027 29.4317 5.05027 29.1617C5.05027 28.5117 4.96027 28.0217 4.76027 27.5417C4.65027 27.2817 3.68027 27.2517 3.56027 27.5117C3.34027 27.9817 3.21027 28.4617 3.18027 29.1117C3.18027 29.3617 2.89027 29.8817 2.83027 30.6217C2.82027 30.7417 2.83027 30.8617 2.87027 30.9817C3.21027 32.0217 3.07027 33.3617 3.07027 33.3617C3.07027 33.3617 3.01027 35.3617 2.99027 36.2117C2.98027 36.8517 2.97027 37.1517 2.97027 37.3417C2.97027 37.9117 3.04027 38.3617 3.19027 38.7817V38.7917Z",
|
|
36
|
+
fill: secondaryColor
|
|
37
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
38
|
+
d: "M8.01063 38.5713C8.31063 38.7313 9.14063 37.9813 9.01063 37.6613C8.82063 37.2113 8.57063 36.8013 8.16063 36.3413C7.65063 35.8613 7.36063 35.8913 7.06063 35.5213C6.52063 34.9313 5.84063 33.7313 5.68063 33.4313C5.66063 33.3913 5.63063 33.3513 5.59063 33.3213C5.33063 33.0913 4.18063 32.0913 3.36063 31.0813C2.74063 30.4013 2.35063 29.9913 2.15063 29.7713C1.67063 29.2613 1.23063 28.9513 0.730628 28.7113C0.450629 28.5813 -0.259372 29.2313 -0.159372 29.5213C0.0306285 30.0413 0.300628 30.5113 0.770628 31.0313C0.950629 31.2313 1.14063 31.8313 1.65063 32.4513C1.73063 32.5513 1.83063 32.6413 1.95063 32.7013C2.97063 33.2813 3.88063 34.4213 3.88063 34.4213C3.88063 34.4213 5.34063 36.0213 5.95063 36.6913C6.42063 37.2013 6.64063 37.4413 6.78063 37.5913C7.20063 38.0413 7.59063 38.3313 8.02063 38.5613L8.01063 38.5713Z",
|
|
39
|
+
fill: secondaryColor
|
|
40
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
41
|
+
d: "M8.84036 29.3721C8.99036 29.0621 8.21036 28.2621 7.90036 28.4121C7.46036 28.6121 7.05036 28.8921 6.61036 29.3121C6.15036 29.8421 6.18036 30.1221 5.83036 30.4421C5.26036 31.0021 4.07036 31.7321 3.79036 31.9021C3.75036 31.9321 3.71036 31.9621 3.68036 32.0021C3.46036 32.2721 2.50036 33.4521 1.51036 34.3121C0.850363 34.9621 0.450363 35.3621 0.240363 35.5721C-0.259637 36.0721 -0.549637 36.5221 -0.769637 37.0321C-0.889637 37.3121 -0.209637 38.0021 0.0703631 37.8921C0.590363 37.6821 1.04036 37.3921 1.55036 36.9121C1.75036 36.7221 2.34036 36.5121 2.95036 35.9821C3.05036 35.8921 3.13036 35.7921 3.19036 35.6721C3.74036 34.6321 4.85036 33.6821 4.85036 33.6821C4.85036 33.6821 6.40036 32.1621 7.06036 31.5221C7.55036 31.0421 7.79036 30.8021 7.93036 30.6621C8.37036 30.2221 8.65036 29.8221 8.86036 29.3821L8.84036 29.3721Z",
|
|
42
|
+
fill: secondaryColor
|
|
43
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
44
|
+
d: "M41.0902 9.13153C41.3002 9.01153 41.3002 7.90153 41.0902 7.78153C40.8002 7.61153 40.4902 7.53153 40.0902 7.52153C39.6402 7.57153 39.5302 7.80153 39.2302 7.78153C38.7202 7.78153 37.8502 7.47153 37.6402 7.39153C37.6102 7.38153 37.5802 7.38153 37.5502 7.39153C37.3302 7.43153 36.3602 7.60153 35.5202 7.52153C34.9302 7.52153 34.5602 7.52153 34.3702 7.52153C33.9202 7.52153 33.5802 7.64153 33.2502 7.85153C33.0702 7.97153 33.0702 8.94153 33.2502 9.05153C33.5802 9.26153 33.9202 9.38153 34.3702 9.38153C34.5402 9.38153 34.9102 9.65153 35.4202 9.69153C35.5002 9.69153 35.5902 9.68153 35.6702 9.64153C36.3902 9.28153 37.3202 9.38153 37.3202 9.38153C37.3202 9.38153 38.7102 9.38153 39.3002 9.38153C39.7402 9.38153 39.9502 9.38153 40.0902 9.38153C40.4902 9.38153 40.7902 9.28153 41.0902 9.12153V9.13153Z",
|
|
45
|
+
fill: secondaryColor
|
|
46
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
47
|
+
d: "M36.3905 12.4315C36.5005 12.6515 37.6205 12.6815 37.7405 12.4615C37.9105 12.1615 38.0105 11.8415 38.0305 11.4315C37.9905 10.9615 37.7605 10.8415 37.8005 10.5315C37.8105 10.0015 38.1505 9.11147 38.2305 8.89147C38.2405 8.86147 38.2505 8.83147 38.2405 8.79147C38.2005 8.56147 38.0605 7.55147 38.1605 6.68147C38.1705 6.07147 38.1805 5.69147 38.1805 5.49147C38.1805 5.02147 38.0805 4.67147 37.8805 4.32147C37.7705 4.13147 36.8005 4.10147 36.6805 4.29147C36.4605 4.63147 36.3405 4.97147 36.3205 5.44147C36.3205 5.62147 36.0405 5.99147 35.9805 6.53147C35.9805 6.62147 35.9805 6.70147 36.0305 6.79147C36.3705 7.54147 36.2505 8.51147 36.2505 8.51147C36.2505 8.51147 36.2105 9.95147 36.1905 10.5615C36.1905 11.0215 36.1805 11.2415 36.1705 11.3815C36.1705 11.7915 36.2505 12.1115 36.4105 12.4215L36.3905 12.4315Z",
|
|
48
|
+
fill: secondaryColor
|
|
49
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
50
|
+
d: "M39.9006 12.3919C40.1406 12.4819 40.9706 11.7319 40.9006 11.4819C40.8006 11.1319 40.6306 10.8119 40.3406 10.4819C39.9606 10.1419 39.7106 10.2119 39.5006 9.94188C39.1106 9.52188 38.6806 8.59188 38.5806 8.37188C38.5606 8.34188 38.5406 8.31188 38.5206 8.29188C38.3206 8.14188 37.4606 7.45188 36.8906 6.70188C36.4406 6.21188 36.1606 5.91188 36.0206 5.76188C35.6706 5.39188 35.3306 5.19188 34.9306 5.06188C34.7106 4.99188 33.9906 5.64188 34.0406 5.87188C34.1306 6.29188 34.3006 6.64188 34.6406 7.02188C34.7706 7.17188 34.8506 7.65188 35.2106 8.10188C35.2706 8.17188 35.3506 8.23188 35.4406 8.27188C36.2506 8.62188 36.8806 9.46188 36.8806 9.46188C36.8806 9.46188 37.9306 10.6119 38.3706 11.1019C38.7106 11.4619 38.8706 11.6419 38.9706 11.7519C39.2706 12.0719 39.5706 12.2719 39.9206 12.4019L39.9006 12.3919Z",
|
|
51
|
+
fill: secondaryColor
|
|
52
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
53
|
+
d: "M40.7404 5.77157C40.8204 5.52157 40.0404 4.73157 39.8004 4.81157C39.4504 4.92157 39.1404 5.10157 38.8204 5.41157C38.5004 5.80157 38.5704 6.05157 38.3104 6.27157C37.9004 6.67157 36.9904 7.13157 36.7604 7.24157C36.7304 7.26157 36.7004 7.28157 36.6804 7.31157C36.5304 7.51157 35.8704 8.40157 35.1404 9.00157C34.6704 9.47157 34.3804 9.75157 34.2204 9.91157C33.8604 10.2716 33.6704 10.6216 33.5604 11.0316C33.5004 11.2616 34.1704 11.9516 34.4004 11.8916C34.8104 11.7816 35.1604 11.6016 35.5304 11.2516C35.6704 11.1116 36.1504 11.0216 36.6004 10.6516C36.6704 10.5916 36.7304 10.5116 36.7604 10.4216C37.0804 9.60157 37.9004 8.94157 37.9004 8.94157C37.9004 8.94157 39.0204 7.85157 39.4904 7.39157C39.8404 7.04157 40.0104 6.87157 40.1204 6.77157C40.4304 6.45157 40.6204 6.15157 40.7404 5.80157V5.77157Z",
|
|
54
|
+
fill: secondaryColor
|
|
55
|
+
})), /*#__PURE__*/React.createElement("path", {
|
|
56
|
+
d: "M15.7397 30.3625L16.7797 41.7425H25.7397L26.7897 30.3725L15.7397 30.3625Z",
|
|
57
|
+
fill: secondaryColor
|
|
58
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
59
|
+
d: "M8.93994 19.3425C8.93994 24.1625 11.7099 28.3325 15.7399 30.3525L16.0599 33.8925H26.4599L26.7799 30.3525C30.8099 28.3325 33.5799 24.1525 33.5799 19.3425C33.5799 12.5425 28.0599 7.02246 21.2599 7.02246C14.4599 7.02246 8.93994 12.5425 8.93994 19.3425Z",
|
|
60
|
+
fill: "white"
|
|
61
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
62
|
+
d: "M26.25 36.1426H16.27L16.74 41.7426H25.78L26.25 36.1426Z",
|
|
63
|
+
fill: "#101214"
|
|
64
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
65
|
+
d: "M22.8698 36.4926C23.1498 37.2026 23.6097 37.4326 23.8798 37.3026C24.1597 37.1726 24.2998 36.7526 24.1498 36.0926C23.7498 34.1826 23.4898 32.0626 23.2898 29.3726C23.1598 27.8526 23.1098 26.9026 23.0798 26.0726C23.0698 25.2626 23.0598 24.5326 23.2998 23.6126C23.3998 23.2426 23.5698 22.8226 23.7398 22.6526C23.8398 22.5326 24.3598 22.3126 24.6998 22.3126C24.8798 22.3026 25.0398 22.3326 25.1298 22.3726C25.2098 22.4126 25.2898 22.4826 25.3698 22.6126C25.5398 22.8526 25.5798 23.2826 25.4898 23.3626C25.4698 23.4626 25.1098 23.7226 24.8098 23.8926C24.6198 23.9726 24.4498 24.0526 24.2698 24.1226C24.0798 24.1826 23.8998 24.2326 23.7198 24.2826C23.0098 24.4626 22.4098 24.5226 22.0798 24.5626C21.8798 24.5626 21.6898 24.5926 21.4898 24.6226C21.1398 24.6726 20.4897 24.7226 19.6297 24.7026C18.7897 24.6526 17.7197 24.4926 16.8098 23.9926C16.3997 23.7026 16.0098 23.4226 15.7898 22.9626C15.5498 22.5026 15.4098 21.8826 15.4398 21.3926C15.4398 21.1726 15.5398 21.1626 15.6498 21.1926C16.0998 21.3326 16.7097 21.7226 17.1297 22.1226C18.3298 23.2126 18.4998 24.8126 18.6798 26.0626C18.8298 27.3326 18.8998 28.3226 18.9498 28.9626C19.0598 30.5126 19.1298 31.8626 19.1598 33.0926C19.1798 34.3126 19.1798 35.4826 18.9498 36.4026C18.8298 36.8626 18.8898 37.0526 18.9898 37.3426C19.0598 37.4626 19.1798 37.5326 19.4198 37.4726C19.6398 37.4126 19.8998 37.1826 20.0598 36.8526C20.6098 35.6426 20.7298 34.4326 20.8398 33.1326C20.9198 31.8226 20.9097 30.4226 20.7997 28.8226C20.7497 28.1926 20.7498 27.2626 20.6798 25.9826C20.6398 25.3426 20.5798 24.6126 20.3998 23.7726C20.2098 22.9426 19.8698 21.9526 19.1297 21.0726C18.6497 20.5026 18.0898 20.0726 17.4898 19.7426C17.1598 19.5626 16.8098 19.4026 16.3998 19.2826C16.2298 19.2326 15.8598 19.1326 15.5798 19.1326C15.2798 19.1026 14.9798 19.1526 14.7098 19.2626C14.1498 19.4526 13.7698 19.9826 13.5998 20.5426C13.4198 21.1926 13.4798 21.5426 13.5098 21.9626C13.5998 22.7726 13.8598 23.5026 14.2798 24.1726C14.4898 24.5126 14.7798 24.7726 15.0298 25.0526C15.3198 25.2726 15.5998 25.4926 15.8898 25.6626C17.0598 26.3126 18.1198 26.4826 18.8598 26.5926C19.2298 26.6426 19.5298 26.6826 19.7298 26.6826C19.9297 26.6926 20.0398 26.7026 20.0398 26.7026C20.0398 26.7026 20.6898 26.7426 21.7298 26.6426C22.7698 26.5326 24.1898 26.3226 25.7098 25.5226C25.8997 25.3926 26.0898 25.2626 26.2798 25.1326C26.4698 24.9826 26.6498 24.7726 26.8298 24.5826C26.9798 24.3226 27.1498 24.0526 27.2298 23.7326C27.2998 23.4126 27.2898 23.1126 27.2498 22.8426C27.1498 22.2926 26.9298 21.8026 26.5398 21.3726C26.1498 20.9226 25.4598 20.6626 24.9398 20.6626C24.3998 20.6426 23.9498 20.7626 23.5198 20.9226C23.3098 21.0126 23.1098 21.1026 22.8898 21.2526C22.6698 21.4126 22.4498 21.6326 22.3298 21.8226C21.8198 22.6126 21.7098 23.2626 21.5898 23.8126C21.2998 25.4626 21.3298 26.6326 21.3298 27.5426C21.3398 28.4426 21.3798 29.0526 21.4098 29.5226C21.6298 32.3426 22.0798 34.5126 22.8498 36.5126L22.8698 36.4926Z",
|
|
66
|
+
fill: "#101214"
|
|
67
|
+
}));
|
|
68
|
+
});
|
|
@@ -87,6 +87,9 @@ var TeamConnectionAvatar = /*#__PURE__*/lazy(function () {
|
|
|
87
87
|
var WorkflowBuilderAvatar = /*#__PURE__*/lazy(function () {
|
|
88
88
|
return import( /* webpackChunkName: "@atlaskit-rovo-avatar-WorkflowBuilderAvatar"*/'./assets/workflow-builder');
|
|
89
89
|
});
|
|
90
|
+
var TrialGuideAvatar = /*#__PURE__*/lazy(function () {
|
|
91
|
+
return import( /* webpackChunkName: "@atlaskit-rovo-avatar-TrialGuideAvatar"*/'./assets/trial-guide');
|
|
92
|
+
});
|
|
90
93
|
export var yellowColor = {
|
|
91
94
|
primary: '#FCA700',
|
|
92
95
|
secondary: '#FFC716'
|
|
@@ -256,6 +259,16 @@ var outOfTheBoxAgentAvatar = {
|
|
|
256
259
|
});
|
|
257
260
|
},
|
|
258
261
|
color: yellowColor
|
|
262
|
+
},
|
|
263
|
+
jira_trial_guide_agent: {
|
|
264
|
+
getRender: function getRender(size) {
|
|
265
|
+
return /*#__PURE__*/React.createElement(TrialGuideAvatar, {
|
|
266
|
+
size: AVATAR_SIZES[size],
|
|
267
|
+
primaryColor: blueColor.primary,
|
|
268
|
+
secondaryColor: blueColor.secondary
|
|
269
|
+
});
|
|
270
|
+
},
|
|
271
|
+
color: blueColor
|
|
259
272
|
}
|
|
260
273
|
};
|
|
261
274
|
|
|
@@ -1,5 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
.
|
|
1
|
+
._11c82smr{font:var(--ds-font-body,normal 400 14px/20px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
|
+
._2rko12b0{border-radius:var(--ds-radius-small,4px)}
|
|
3
|
+
._qtt8glyw{list-style:none}
|
|
4
|
+
._18m915vq{overflow-y:hidden}
|
|
5
|
+
._19bv12x7{padding-left:var(--ds-space-075,6px)}
|
|
6
|
+
._19bvidpf{padding-left:0}
|
|
7
|
+
._1bsb1osq{width:100%}
|
|
8
|
+
._1bto1l2s{text-overflow:ellipsis}
|
|
9
|
+
._1o9zidpf{flex-shrink:0}
|
|
10
|
+
._1o9zkb7n{flex-shrink:1}
|
|
11
|
+
._1reo15vq{overflow-x:hidden}
|
|
12
|
+
._1ul9idpf{min-width:0}
|
|
13
|
+
._bfhksm61{background-color:var(--ds-background-neutral-subtle,#00000000)}
|
|
14
|
+
._ca0q12x7{padding-top:var(--ds-space-075,6px)}
|
|
3
15
|
._ca0qidpf{padding-top:0}
|
|
16
|
+
._k48p1wq8{font-weight:var(--ds-font-weight-medium,500)}
|
|
17
|
+
._n3td12x7{padding-bottom:var(--ds-space-075,6px)}
|
|
4
18
|
._n3tdidpf{padding-bottom:0}
|
|
5
|
-
.
|
|
19
|
+
._o5721q9c{white-space:nowrap}
|
|
20
|
+
._syazazsu{color:var(--ds-text-subtle,#505258)}
|
|
21
|
+
._u5f312x7{padding-right:var(--ds-space-075,6px)}
|
|
22
|
+
._u5f3idpf{padding-right:0}
|
|
23
|
+
._irr31dpa:hover{background-color:var(--ds-background-neutral-subtle-hovered,#0515240f)}
|
|
24
|
+
._1di6fcek:active{background-color:var(--ds-background-neutral-subtle-pressed,#0b120e24)}
|
|
@@ -4,17 +4,23 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
|
|
|
4
4
|
import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
|
|
5
5
|
var _excluded = ["userDefinedConversationStarters", "isAgentDefault"];
|
|
6
6
|
import "./index.compiled.css";
|
|
7
|
-
import * as React from 'react';
|
|
8
7
|
import { ax, ix } from "@compiled/react/runtime";
|
|
9
|
-
import { useMemo } from 'react';
|
|
8
|
+
import React, { useMemo } from 'react';
|
|
10
9
|
import { useIntl } from 'react-intl-next';
|
|
11
10
|
import { IconButton } from '@atlaskit/button/new';
|
|
11
|
+
import { cx } from '@atlaskit/css';
|
|
12
12
|
import RetryIcon from '@atlaskit/icon/core/retry';
|
|
13
|
-
import {
|
|
13
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
14
|
+
import { Box, Inline, Pressable, Stack } from '@atlaskit/primitives/compiled';
|
|
15
|
+
import { AgentChatIcon } from '../../common/ui/agent-chat-icon';
|
|
14
16
|
import { BrowseAgentsPill, ChatPill } from '../../common/ui/chat-pill';
|
|
15
17
|
import { messages } from './messages';
|
|
16
18
|
var styles = {
|
|
17
|
-
conversationStartersList: "_qtt8glyw _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf"
|
|
19
|
+
conversationStartersList: "_qtt8glyw _ca0qidpf _u5f3idpf _n3tdidpf _19bvidpf",
|
|
20
|
+
conversationStartersListRefresh: "_1bsb1osq",
|
|
21
|
+
conversationStarterIcon: "_1o9zidpf",
|
|
22
|
+
conversationStarterText: "_1reo15vq _18m915vq _1bto1l2s _o5721q9c _1o9zkb7n _1ul9idpf",
|
|
23
|
+
button: "_11c82smr _2rko12b0 _syazazsu _ca0q12x7 _u5f312x7 _n3td12x7 _19bv12x7 _k48p1wq8 _1bto1l2s _o5721q9c _1o9zkb7n _1bsb1osq _bfhksm61 _irr31dpa _1di6fcek"
|
|
18
24
|
};
|
|
19
25
|
export var getConversationStarters = function getConversationStarters(_ref) {
|
|
20
26
|
var userDefinedConversationStartersParam = _ref.userDefinedConversationStarters,
|
|
@@ -95,13 +101,25 @@ export var ConversationStarters = function ConversationStarters(_ref3) {
|
|
|
95
101
|
return /*#__PURE__*/React.createElement(Stack, {
|
|
96
102
|
as: "ul",
|
|
97
103
|
space: "space.050",
|
|
98
|
-
xcss: styles.conversationStartersList
|
|
104
|
+
xcss: cx(styles.conversationStartersList, fg('rovo_agent_empty_state_refresh') && styles.conversationStartersListRefresh)
|
|
99
105
|
}, starters.map(function (starter, index) {
|
|
100
106
|
var isLastStarter = index === starters.length - 1;
|
|
101
107
|
var chatPill = /*#__PURE__*/React.createElement(Box, {
|
|
102
108
|
as: "li",
|
|
103
109
|
key: starter.message
|
|
104
|
-
}, /*#__PURE__*/React.createElement(
|
|
110
|
+
}, fg('rovo_agent_empty_state_refresh') ? /*#__PURE__*/React.createElement(Pressable, {
|
|
111
|
+
xcss: styles.button,
|
|
112
|
+
onClick: function onClick() {
|
|
113
|
+
return onConversationStarterClick(starter);
|
|
114
|
+
}
|
|
115
|
+
}, /*#__PURE__*/React.createElement(Inline, {
|
|
116
|
+
space: "space.150",
|
|
117
|
+
alignBlock: "center"
|
|
118
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
119
|
+
xcss: styles.conversationStarterIcon
|
|
120
|
+
}, /*#__PURE__*/React.createElement(AgentChatIcon, null)), /*#__PURE__*/React.createElement(Box, {
|
|
121
|
+
xcss: styles.conversationStarterText
|
|
122
|
+
}, starter.message))) : /*#__PURE__*/React.createElement(ChatPill, {
|
|
105
123
|
testId: "conversation-starter",
|
|
106
124
|
key: starter.message,
|
|
107
125
|
onClick: function onClick() {
|
|
@@ -17,6 +17,7 @@ var styles = {
|
|
|
17
17
|
clickableItem: "_zulp1b66 _1e0c1txw _4cvr1h6o",
|
|
18
18
|
name: "_1bah1yb4 _4cvr1y6m",
|
|
19
19
|
description: "_19pkze3t _otyru2gc _1i4qfg65 _1nmz1hna",
|
|
20
|
+
descriptionRefresh: "_1mouze3t _1i4qfg65 _1nmz1hna",
|
|
20
21
|
wrapper: "_otyru2gc",
|
|
21
22
|
tooltipWrapper: "_195gu2gc _1e0c116y _kqswh2mm _94n5v77o",
|
|
22
23
|
headingWrapper: "_kqswh2mm"
|
|
@@ -147,7 +148,7 @@ export var AgentProfileInfo = function AgentProfileInfo(_ref3) {
|
|
|
147
148
|
formatMessage = _useIntl2.formatMessage;
|
|
148
149
|
return /*#__PURE__*/React.createElement(Stack, {
|
|
149
150
|
space: "space.100",
|
|
150
|
-
xcss: styles.wrapper
|
|
151
|
+
xcss: fg('rovo_agent_empty_state_refresh') ? null : styles.wrapper
|
|
151
152
|
}, /*#__PURE__*/React.createElement(Inline, {
|
|
152
153
|
xcss: styles.name,
|
|
153
154
|
space: "space.100",
|
|
@@ -157,7 +158,7 @@ export var AgentProfileInfo = function AgentProfileInfo(_ref3) {
|
|
|
157
158
|
alignBlock: "end"
|
|
158
159
|
}, /*#__PURE__*/React.createElement(Heading, {
|
|
159
160
|
as: "h2",
|
|
160
|
-
size:
|
|
161
|
+
size: fg('rovo_agent_empty_state_refresh') ? 'medium' : 'xlarge'
|
|
161
162
|
}, agentName), isHidden && /*#__PURE__*/React.createElement(Box, {
|
|
162
163
|
xcss: styles.tooltipWrapper
|
|
163
164
|
}, /*#__PURE__*/React.createElement(Tooltip, {
|
|
@@ -169,7 +170,7 @@ export var AgentProfileInfo = function AgentProfileInfo(_ref3) {
|
|
|
169
170
|
isStarred: isStarred,
|
|
170
171
|
handleToggle: onStarToggle
|
|
171
172
|
})), creatorRender, !!agentDescription && /*#__PURE__*/React.createElement(Box, {
|
|
172
|
-
xcss: styles.description,
|
|
173
|
+
xcss: fg('rovo_agent_empty_state_refresh') ? styles.descriptionRefresh : styles.description,
|
|
173
174
|
as: "p"
|
|
174
175
|
}, agentDescription), starCountRender);
|
|
175
176
|
};
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
1
|
+
import React from 'react';
|
|
5
2
|
import { type MessageDescriptor } from 'react-intl-next';
|
|
6
3
|
export type ConversationStarter = {
|
|
7
4
|
message: string;
|
|
@@ -27,7 +24,7 @@ export type AgentConversationStartersProps = {
|
|
|
27
24
|
userDefinedConversationStarters?: GetConversationStartersParams['userDefinedConversationStarters'];
|
|
28
25
|
isAgentDefault: GetConversationStartersParams['isAgentDefault'];
|
|
29
26
|
} & Omit<ConversationStartersProps, 'starters'>;
|
|
30
|
-
export declare const AgentConversationStarters: ({ userDefinedConversationStarters, isAgentDefault, ...props }: AgentConversationStartersProps) => JSX.Element;
|
|
27
|
+
export declare const AgentConversationStarters: ({ userDefinedConversationStarters, isAgentDefault, ...props }: AgentConversationStartersProps) => React.JSX.Element;
|
|
31
28
|
export type ConversationStartersProps = {
|
|
32
29
|
starters: ConversationStarter[];
|
|
33
30
|
onConversationStarterClick: (conversationStarter: ConversationStarter) => void;
|
|
@@ -35,5 +32,5 @@ export type ConversationStartersProps = {
|
|
|
35
32
|
onReloadButtonClick?: () => void;
|
|
36
33
|
onBrowseAgentsClick?: () => void;
|
|
37
34
|
};
|
|
38
|
-
export declare const ConversationStarters: ({ starters, onConversationStarterClick, showReloadButton, onReloadButtonClick, onBrowseAgentsClick, }: ConversationStartersProps) => JSX.Element;
|
|
35
|
+
export declare const ConversationStarters: ({ starters, onConversationStarterClick, showReloadButton, onReloadButtonClick, onBrowseAgentsClick, }: ConversationStartersProps) => React.JSX.Element;
|
|
39
36
|
export {};
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
1
|
+
import React from 'react';
|
|
5
2
|
import { type MessageDescriptor } from 'react-intl-next';
|
|
6
3
|
export type ConversationStarter = {
|
|
7
4
|
message: string;
|
|
@@ -27,7 +24,7 @@ export type AgentConversationStartersProps = {
|
|
|
27
24
|
userDefinedConversationStarters?: GetConversationStartersParams['userDefinedConversationStarters'];
|
|
28
25
|
isAgentDefault: GetConversationStartersParams['isAgentDefault'];
|
|
29
26
|
} & Omit<ConversationStartersProps, 'starters'>;
|
|
30
|
-
export declare const AgentConversationStarters: ({ userDefinedConversationStarters, isAgentDefault, ...props }: AgentConversationStartersProps) => JSX.Element;
|
|
27
|
+
export declare const AgentConversationStarters: ({ userDefinedConversationStarters, isAgentDefault, ...props }: AgentConversationStartersProps) => React.JSX.Element;
|
|
31
28
|
export type ConversationStartersProps = {
|
|
32
29
|
starters: ConversationStarter[];
|
|
33
30
|
onConversationStarterClick: (conversationStarter: ConversationStarter) => void;
|
|
@@ -35,5 +32,5 @@ export type ConversationStartersProps = {
|
|
|
35
32
|
onReloadButtonClick?: () => void;
|
|
36
33
|
onBrowseAgentsClick?: () => void;
|
|
37
34
|
};
|
|
38
|
-
export declare const ConversationStarters: ({ starters, onConversationStarterClick, showReloadButton, onReloadButtonClick, onBrowseAgentsClick, }: ConversationStartersProps) => JSX.Element;
|
|
35
|
+
export declare const ConversationStarters: ({ starters, onConversationStarterClick, showReloadButton, onReloadButtonClick, onBrowseAgentsClick, }: ConversationStartersProps) => React.JSX.Element;
|
|
39
36
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/rovo-agent-components",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.14.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",
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
"@atlaskit/link": "^3.2.0",
|
|
46
46
|
"@atlaskit/logo": "^19.9.0",
|
|
47
47
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
48
|
-
"@atlaskit/primitives": "^16.
|
|
48
|
+
"@atlaskit/primitives": "^16.4.0",
|
|
49
49
|
"@atlaskit/skeleton": "^2.1.0",
|
|
50
|
-
"@atlaskit/tokens": "^8.
|
|
50
|
+
"@atlaskit/tokens": "^8.4.0",
|
|
51
51
|
"@atlaskit/tooltip": "^20.10.0",
|
|
52
52
|
"@babel/runtime": "^7.0.0",
|
|
53
53
|
"@compiled/react": "^0.18.6",
|
|
@@ -63,6 +63,7 @@
|
|
|
63
63
|
"@af/visual-regression": "workspace:^",
|
|
64
64
|
"@atlaskit/ssr": "workspace:^",
|
|
65
65
|
"@atlassian/feature-flags-test-utils": "^1.0.0",
|
|
66
|
+
"@atlassian/testing-library": "^0.4.0",
|
|
66
67
|
"@testing-library/react": "^13.4.0",
|
|
67
68
|
"@testing-library/react-hooks": "^8.0.1",
|
|
68
69
|
"@testing-library/user-event": "^14.4.3",
|
|
@@ -124,6 +125,9 @@
|
|
|
124
125
|
},
|
|
125
126
|
"jira_ai_force_rovo_dev_avatar": {
|
|
126
127
|
"type": "boolean"
|
|
128
|
+
},
|
|
129
|
+
"rovo_agent_empty_state_refresh": {
|
|
130
|
+
"type": "boolean"
|
|
127
131
|
}
|
|
128
132
|
}
|
|
129
133
|
}
|