@atlaskit/rovo-agent-components 3.19.0 → 3.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/agent-verified/package.json +17 -0
- package/dist/cjs/ui/agent-avatar/generated-avatars/assets/jsm-rovo-service-agent.js +49 -0
- package/dist/cjs/ui/agent-avatar/generated-avatars/index.js +15 -0
- package/dist/cjs/ui/agent-verified/__generated__/agentVerified_AtlaskitRovoAgentComponents.graphql.js +29 -0
- package/dist/cjs/ui/agent-verified/agent-verified.stories.js +36 -0
- package/dist/cjs/ui/agent-verified/index.js +32 -0
- package/dist/cjs/ui/agent-verified/messages.js +19 -0
- package/dist/es2019/ui/agent-avatar/generated-avatars/assets/jsm-rovo-service-agent.js +41 -0
- package/dist/es2019/ui/agent-avatar/generated-avatars/index.js +9 -0
- package/dist/es2019/ui/agent-verified/__generated__/agentVerified_AtlaskitRovoAgentComponents.graphql.js +23 -0
- package/dist/es2019/ui/agent-verified/agent-verified.stories.js +23 -0
- package/dist/es2019/ui/agent-verified/index.js +26 -0
- package/dist/es2019/ui/agent-verified/messages.js +13 -0
- package/dist/esm/ui/agent-avatar/generated-avatars/assets/jsm-rovo-service-agent.js +42 -0
- package/dist/esm/ui/agent-avatar/generated-avatars/index.js +13 -0
- package/dist/esm/ui/agent-verified/__generated__/agentVerified_AtlaskitRovoAgentComponents.graphql.js +23 -0
- package/dist/esm/ui/agent-verified/agent-verified.stories.js +29 -0
- package/dist/esm/ui/agent-verified/index.js +25 -0
- package/dist/esm/ui/agent-verified/messages.js +13 -0
- package/dist/types/ui/agent-avatar/generated-avatars/assets/jsm-rovo-service-agent.d.ts +4 -0
- package/dist/types/ui/agent-verified/__generated__/agentVerified_AtlaskitRovoAgentComponents.graphql.d.ts +18 -0
- package/dist/types/ui/agent-verified/index.d.ts +7 -0
- package/dist/types/ui/agent-verified/messages.d.ts +13 -0
- package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/assets/jsm-rovo-service-agent.d.ts +4 -0
- package/dist/types-ts4.5/ui/agent-verified/__generated__/agentVerified_AtlaskitRovoAgentComponents.graphql.d.ts +18 -0
- package/dist/types-ts4.5/ui/agent-verified/index.d.ts +7 -0
- package/dist/types-ts4.5/ui/agent-verified/messages.d.ts +13 -0
- package/package.json +9 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atlaskit/rovo-agent-components
|
|
2
2
|
|
|
3
|
+
## 3.21.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`023f008de3d39`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/023f008de3d39) -
|
|
8
|
+
Added agent icon for rovo service agent
|
|
9
|
+
|
|
10
|
+
## 3.20.0
|
|
11
|
+
|
|
12
|
+
### Minor Changes
|
|
13
|
+
|
|
14
|
+
- [`85b20848660df`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/85b20848660df) -
|
|
15
|
+
[ux] Display agent verified icon
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
3
21
|
## 3.19.0
|
|
4
22
|
|
|
5
23
|
### Minor Changes
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/rovo-agent-components/agent-verified",
|
|
3
|
+
"main": "../dist/cjs/ui/agent-verified/index.js",
|
|
4
|
+
"module": "../dist/esm/ui/agent-verified/index.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/ui/agent-verified/index.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../dist/types/ui/agent-verified/index.d.ts",
|
|
10
|
+
"typesVersions": {
|
|
11
|
+
">=4.5 <5.9": {
|
|
12
|
+
"*": [
|
|
13
|
+
"../dist/types-ts4.5/ui/agent-verified/index.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = void 0;
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
var _default = exports.default = function _default(_ref) {
|
|
10
|
+
var _size = _ref.size,
|
|
11
|
+
_primaryColor = _ref.primaryColor,
|
|
12
|
+
_secondaryColor = _ref.secondaryColor;
|
|
13
|
+
return /*#__PURE__*/_react.default.createElement("svg", {
|
|
14
|
+
width: "45",
|
|
15
|
+
height: "50",
|
|
16
|
+
viewBox: "0 0 45 50",
|
|
17
|
+
fill: "none",
|
|
18
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
19
|
+
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
20
|
+
d: "M19.2938 1.13426C21.0414 0.127121 23.1945 0.12712 24.9421 1.13426L41.4117 10.6258C43.1593 11.633 44.2359 13.4943 44.2359 15.5085V34.4917C44.2359 36.506 43.1593 38.3673 41.4117 39.3744L24.9421 48.866C23.1945 49.8731 21.0414 49.8731 19.2938 48.866L2.82414 39.3744C1.07656 38.3673 0 36.506 0 34.4917V15.5085C0 13.4943 1.07656 11.633 2.82414 10.6258L19.2938 1.13426Z",
|
|
21
|
+
fill: "#FFC716"
|
|
22
|
+
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
23
|
+
d: "M20.4468 9.87926C21.5285 9.2834 22.8488 9.29435 23.9218 9.9121L32.3595 14.7735L34.3604 15.9264C35.4529 16.5553 36.1291 17.7223 36.1291 18.9794V31.0081C36.1291 32.2702 35.457 33.432 34.3613 34.0606L26.5145 38.5816C26.5317 38.5334 26.548 38.4849 26.5636 38.4361C26.7093 37.9854 26.7865 37.5092 26.7865 37.0224V24.9937C26.7865 23.3413 25.9057 21.8174 24.4692 20.9931L23.0198 20.1584L18.6199 17.6245V12.9651C18.6199 12.5979 18.6768 12.2392 18.7844 11.8997C19.049 11.078 19.6118 10.3667 20.3818 9.92259L20.3841 9.92124C20.4062 9.90853 20.4272 9.89442 20.4468 9.87926Z",
|
|
24
|
+
fill: "#101214"
|
|
25
|
+
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
26
|
+
d: "M17.7904 11.4175L9.94363 15.9385C8.8479 16.5671 8.17578 17.7289 8.17578 18.991V31.0197C8.17578 32.2768 8.85186 33.4437 9.94434 34.0726L11.8048 35.1446L20.3831 40.087C21.4561 40.7046 22.7764 40.7156 23.8581 40.1198C23.8777 40.1047 23.8986 40.0906 23.9206 40.0779C24.6914 39.6342 25.2551 38.9226 25.5201 38.1005C25.628 37.7606 25.685 37.4016 25.685 37.034V32.3746L21.1444 29.7597L19.8361 29.0062C18.3998 28.1818 17.5184 26.6577 17.5184 25.0053V12.9767C17.5184 12.4906 17.5954 12.015 17.7407 11.5648C17.7564 11.5154 17.773 11.4663 17.7904 11.4175Z",
|
|
27
|
+
fill: "#101214"
|
|
28
|
+
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
29
|
+
fillRule: "evenodd",
|
|
30
|
+
clipRule: "evenodd",
|
|
31
|
+
d: "M21.1444 29.7597L11.8048 35.1446L9.94434 34.0726C8.85186 33.4437 8.17578 32.2768 8.17578 31.0197V18.991C8.17578 17.7289 8.8479 16.5671 9.94363 15.9385L17.7904 11.4175C17.773 11.4663 17.7564 11.5154 17.7407 11.5648C17.5954 12.015 17.5184 12.4906 17.5184 12.9767V25.0053C17.5184 26.6577 18.3998 28.1818 19.8361 29.0062L21.1444 29.7597Z",
|
|
32
|
+
fill: "#101214"
|
|
33
|
+
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
34
|
+
fillRule: "evenodd",
|
|
35
|
+
clipRule: "evenodd",
|
|
36
|
+
d: "M23.0198 20.1584L18.6199 17.6245V12.9651C18.6199 12.5979 18.6768 12.2392 18.7844 11.8997C19.049 11.078 19.6118 10.3667 20.3818 9.92259L20.3841 9.92124C20.4062 9.90853 20.4272 9.89442 20.4468 9.87926C21.5285 9.2834 22.8488 9.29435 23.9218 9.9121L32.3595 14.7735L23.0198 20.1584Z",
|
|
37
|
+
fill: "#101214"
|
|
38
|
+
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
39
|
+
fillRule: "evenodd",
|
|
40
|
+
clipRule: "evenodd",
|
|
41
|
+
d: "M34.3604 15.9264L32.3595 14.7735L23.0198 20.1584L24.4692 20.9931C25.9057 21.8174 26.7865 23.3413 26.7865 24.9937V37.0224C26.7865 37.5092 26.7093 37.9854 26.5636 38.4361C26.548 38.4849 26.5317 38.5334 26.5145 38.5816L34.3613 34.0606C35.457 33.432 36.1291 32.2702 36.1291 31.0081V18.9794C36.1291 17.7223 35.4529 16.5553 34.3604 15.9264Z",
|
|
42
|
+
fill: "#101214"
|
|
43
|
+
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
44
|
+
fillRule: "evenodd",
|
|
45
|
+
clipRule: "evenodd",
|
|
46
|
+
d: "M21.1444 29.7597L11.8048 35.1446L20.3831 40.087C21.4561 40.7046 22.7764 40.7156 23.8581 40.1198C23.8777 40.1047 23.8986 40.0906 23.9206 40.0779C24.6914 39.6342 25.2551 38.9226 25.5201 38.1005C25.628 37.7606 25.685 37.4016 25.685 37.034V32.3746L21.1444 29.7597Z",
|
|
47
|
+
fill: "#101214"
|
|
48
|
+
}));
|
|
49
|
+
};
|
|
@@ -147,6 +147,11 @@ var TrialGuideAvatar = /*#__PURE__*/(0, _react.lazy)(function () {
|
|
|
147
147
|
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-rovo-avatar-TrialGuideAvatar"*/'./assets/trial-guide'));
|
|
148
148
|
});
|
|
149
149
|
});
|
|
150
|
+
var JsmRovoServiceAgentAvatar = /*#__PURE__*/(0, _react.lazy)(function () {
|
|
151
|
+
return Promise.resolve().then(function () {
|
|
152
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-rovo-avatar-JsmRovoServiceAgentAvatar"*/'./assets/jsm-rovo-service-agent'));
|
|
153
|
+
});
|
|
154
|
+
});
|
|
150
155
|
var yellowColor = exports.yellowColor = {
|
|
151
156
|
primary: '#FCA700',
|
|
152
157
|
secondary: '#FFC716'
|
|
@@ -326,6 +331,16 @@ var outOfTheBoxAgentAvatar = {
|
|
|
326
331
|
});
|
|
327
332
|
},
|
|
328
333
|
color: blueColor
|
|
334
|
+
},
|
|
335
|
+
jsm_rovo_service_agent: {
|
|
336
|
+
getRender: function getRender(size) {
|
|
337
|
+
return /*#__PURE__*/_react.default.createElement(JsmRovoServiceAgentAvatar, {
|
|
338
|
+
size: _avatar.AVATAR_SIZES[size],
|
|
339
|
+
primaryColor: "",
|
|
340
|
+
secondaryColor: ""
|
|
341
|
+
});
|
|
342
|
+
},
|
|
343
|
+
color: yellowColor
|
|
329
344
|
}
|
|
330
345
|
};
|
|
331
346
|
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
/**
|
|
8
|
+
* @generated SignedSource<<80d05744924cbc0bdc011e1a63323c52>>
|
|
9
|
+
* @lightSyntaxTransform
|
|
10
|
+
* @nogrep
|
|
11
|
+
* @codegen-command: yarn relay
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
/* tslint:disable */
|
|
15
|
+
/* eslint-disable */
|
|
16
|
+
// @ts-nocheck
|
|
17
|
+
|
|
18
|
+
var node = {
|
|
19
|
+
"argumentDefinitions": [],
|
|
20
|
+
"kind": "Fragment",
|
|
21
|
+
"name": "agentVerified_AtlaskitRovoAgentComponents",
|
|
22
|
+
"selections": [{
|
|
23
|
+
"kind": "ScalarField",
|
|
24
|
+
"name": "isVerified"
|
|
25
|
+
}],
|
|
26
|
+
"type": "AgentStudioAssistant"
|
|
27
|
+
};
|
|
28
|
+
node.hash = "7c196c0efd61b63c8a3de1c1b32e11ec";
|
|
29
|
+
var _default = exports.default = node;
|
|
@@ -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 = exports.MediumSize = exports.Default = void 0;
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
var _reactMagneticDi = require("react-magnetic-di");
|
|
10
|
+
var _reactRelay = require("react-relay");
|
|
11
|
+
var _storybookDecorators = require("@atlassian/agent-studio-test-utils/storybook-decorators");
|
|
12
|
+
var _index = require("./index");
|
|
13
|
+
var commonDeps = [(0, _reactMagneticDi.injectable)(_reactRelay.useFragment, function () {
|
|
14
|
+
return {
|
|
15
|
+
isVerified: true
|
|
16
|
+
};
|
|
17
|
+
})];
|
|
18
|
+
var meta = {
|
|
19
|
+
decorators: [(0, _storybookDecorators.withUseIntl)(), (0, _storybookDecorators.withDi)(commonDeps)]
|
|
20
|
+
};
|
|
21
|
+
var _default = exports.default = meta;
|
|
22
|
+
var Default = exports.Default = {
|
|
23
|
+
render: function render() {
|
|
24
|
+
return /*#__PURE__*/_react.default.createElement(_index.AgentVerified, {
|
|
25
|
+
agentRef: {}
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
var MediumSize = exports.MediumSize = {
|
|
30
|
+
render: function render() {
|
|
31
|
+
return /*#__PURE__*/_react.default.createElement(_index.AgentVerified, {
|
|
32
|
+
agentRef: {},
|
|
33
|
+
size: "medium"
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.AgentVerified = void 0;
|
|
8
|
+
var _agentVerified_AtlaskitRovoAgentComponents2 = _interopRequireDefault(require("./__generated__/agentVerified_AtlaskitRovoAgentComponents.graphql"));
|
|
9
|
+
var _react = _interopRequireDefault(require("react"));
|
|
10
|
+
var _reactIntlNext = require("react-intl-next");
|
|
11
|
+
var _reactRelay = require("react-relay");
|
|
12
|
+
var _statusVerified = _interopRequireDefault(require("@atlaskit/icon/core/status-verified"));
|
|
13
|
+
var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
|
|
14
|
+
var _messages = _interopRequireDefault(require("./messages"));
|
|
15
|
+
var AgentVerified = exports.AgentVerified = function AgentVerified(_ref) {
|
|
16
|
+
var agentRef = _ref.agentRef,
|
|
17
|
+
_ref$size = _ref.size,
|
|
18
|
+
size = _ref$size === void 0 ? 'small' : _ref$size;
|
|
19
|
+
var _useIntl = (0, _reactIntlNext.useIntl)(),
|
|
20
|
+
formatMessage = _useIntl.formatMessage;
|
|
21
|
+
var data = (0, _reactRelay.useFragment)(_agentVerified_AtlaskitRovoAgentComponents2.default, agentRef);
|
|
22
|
+
if (!(data !== null && data !== void 0 && data.isVerified)) {
|
|
23
|
+
return null;
|
|
24
|
+
}
|
|
25
|
+
return /*#__PURE__*/_react.default.createElement(_tooltip.default, {
|
|
26
|
+
content: formatMessage(_messages.default.verifiedAgentTooltip)
|
|
27
|
+
}, /*#__PURE__*/_react.default.createElement(_statusVerified.default, {
|
|
28
|
+
color: "var(--ds-icon-accent-blue, #357DE8)",
|
|
29
|
+
label: formatMessage(_messages.default.verifiedIconLabel),
|
|
30
|
+
size: size
|
|
31
|
+
}));
|
|
32
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _reactIntlNext = require("react-intl-next");
|
|
8
|
+
var _default = exports.default = (0, _reactIntlNext.defineMessages)({
|
|
9
|
+
verifiedAgentTooltip: {
|
|
10
|
+
id: 'agent-studio-ui-components.agent-verified.tooltip',
|
|
11
|
+
defaultMessage: 'This agent has been verified by your organization.',
|
|
12
|
+
description: 'Verified icon tooltip shown when hovering over the verified icon'
|
|
13
|
+
},
|
|
14
|
+
verifiedIconLabel: {
|
|
15
|
+
id: 'agent-studio-ui-components.agent-verified.label',
|
|
16
|
+
defaultMessage: 'Agent verified',
|
|
17
|
+
description: 'Verified icon label for the agent studio side navigation'
|
|
18
|
+
}
|
|
19
|
+
});
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export default (({
|
|
3
|
+
size: _size,
|
|
4
|
+
primaryColor: _primaryColor,
|
|
5
|
+
secondaryColor: _secondaryColor
|
|
6
|
+
}) => /*#__PURE__*/React.createElement("svg", {
|
|
7
|
+
width: "45",
|
|
8
|
+
height: "50",
|
|
9
|
+
viewBox: "0 0 45 50",
|
|
10
|
+
fill: "none",
|
|
11
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
12
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
13
|
+
d: "M19.2938 1.13426C21.0414 0.127121 23.1945 0.12712 24.9421 1.13426L41.4117 10.6258C43.1593 11.633 44.2359 13.4943 44.2359 15.5085V34.4917C44.2359 36.506 43.1593 38.3673 41.4117 39.3744L24.9421 48.866C23.1945 49.8731 21.0414 49.8731 19.2938 48.866L2.82414 39.3744C1.07656 38.3673 0 36.506 0 34.4917V15.5085C0 13.4943 1.07656 11.633 2.82414 10.6258L19.2938 1.13426Z",
|
|
14
|
+
fill: "#FFC716"
|
|
15
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
16
|
+
d: "M20.4468 9.87926C21.5285 9.2834 22.8488 9.29435 23.9218 9.9121L32.3595 14.7735L34.3604 15.9264C35.4529 16.5553 36.1291 17.7223 36.1291 18.9794V31.0081C36.1291 32.2702 35.457 33.432 34.3613 34.0606L26.5145 38.5816C26.5317 38.5334 26.548 38.4849 26.5636 38.4361C26.7093 37.9854 26.7865 37.5092 26.7865 37.0224V24.9937C26.7865 23.3413 25.9057 21.8174 24.4692 20.9931L23.0198 20.1584L18.6199 17.6245V12.9651C18.6199 12.5979 18.6768 12.2392 18.7844 11.8997C19.049 11.078 19.6118 10.3667 20.3818 9.92259L20.3841 9.92124C20.4062 9.90853 20.4272 9.89442 20.4468 9.87926Z",
|
|
17
|
+
fill: "#101214"
|
|
18
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
19
|
+
d: "M17.7904 11.4175L9.94363 15.9385C8.8479 16.5671 8.17578 17.7289 8.17578 18.991V31.0197C8.17578 32.2768 8.85186 33.4437 9.94434 34.0726L11.8048 35.1446L20.3831 40.087C21.4561 40.7046 22.7764 40.7156 23.8581 40.1198C23.8777 40.1047 23.8986 40.0906 23.9206 40.0779C24.6914 39.6342 25.2551 38.9226 25.5201 38.1005C25.628 37.7606 25.685 37.4016 25.685 37.034V32.3746L21.1444 29.7597L19.8361 29.0062C18.3998 28.1818 17.5184 26.6577 17.5184 25.0053V12.9767C17.5184 12.4906 17.5954 12.015 17.7407 11.5648C17.7564 11.5154 17.773 11.4663 17.7904 11.4175Z",
|
|
20
|
+
fill: "#101214"
|
|
21
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
22
|
+
fillRule: "evenodd",
|
|
23
|
+
clipRule: "evenodd",
|
|
24
|
+
d: "M21.1444 29.7597L11.8048 35.1446L9.94434 34.0726C8.85186 33.4437 8.17578 32.2768 8.17578 31.0197V18.991C8.17578 17.7289 8.8479 16.5671 9.94363 15.9385L17.7904 11.4175C17.773 11.4663 17.7564 11.5154 17.7407 11.5648C17.5954 12.015 17.5184 12.4906 17.5184 12.9767V25.0053C17.5184 26.6577 18.3998 28.1818 19.8361 29.0062L21.1444 29.7597Z",
|
|
25
|
+
fill: "#101214"
|
|
26
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
27
|
+
fillRule: "evenodd",
|
|
28
|
+
clipRule: "evenodd",
|
|
29
|
+
d: "M23.0198 20.1584L18.6199 17.6245V12.9651C18.6199 12.5979 18.6768 12.2392 18.7844 11.8997C19.049 11.078 19.6118 10.3667 20.3818 9.92259L20.3841 9.92124C20.4062 9.90853 20.4272 9.89442 20.4468 9.87926C21.5285 9.2834 22.8488 9.29435 23.9218 9.9121L32.3595 14.7735L23.0198 20.1584Z",
|
|
30
|
+
fill: "#101214"
|
|
31
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
32
|
+
fillRule: "evenodd",
|
|
33
|
+
clipRule: "evenodd",
|
|
34
|
+
d: "M34.3604 15.9264L32.3595 14.7735L23.0198 20.1584L24.4692 20.9931C25.9057 21.8174 26.7865 23.3413 26.7865 24.9937V37.0224C26.7865 37.5092 26.7093 37.9854 26.5636 38.4361C26.548 38.4849 26.5317 38.5334 26.5145 38.5816L34.3613 34.0606C35.457 33.432 36.1291 32.2702 36.1291 31.0081V18.9794C36.1291 17.7223 35.4529 16.5553 34.3604 15.9264Z",
|
|
35
|
+
fill: "#101214"
|
|
36
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
37
|
+
fillRule: "evenodd",
|
|
38
|
+
clipRule: "evenodd",
|
|
39
|
+
d: "M21.1444 29.7597L11.8048 35.1446L20.3831 40.087C21.4561 40.7046 22.7764 40.7156 23.8581 40.1198C23.8777 40.1047 23.8986 40.0906 23.9206 40.0779C24.6914 39.6342 25.2551 38.9226 25.5201 38.1005C25.628 37.7606 25.685 37.4016 25.685 37.034V32.3746L21.1444 29.7597Z",
|
|
40
|
+
fill: "#101214"
|
|
41
|
+
})));
|
|
@@ -43,6 +43,7 @@ const SocialMediaScribeAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkN
|
|
|
43
43
|
const TeamConnectionAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName: "@atlaskit-rovo-avatar-TeamConnectionAvatar"*/'./assets/team-connection'));
|
|
44
44
|
const WorkflowBuilderAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName: "@atlaskit-rovo-avatar-WorkflowBuilderAvatar"*/'./assets/workflow-builder'));
|
|
45
45
|
const TrialGuideAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName: "@atlaskit-rovo-avatar-TrialGuideAvatar"*/'./assets/trial-guide'));
|
|
46
|
+
const JsmRovoServiceAgentAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName: "@atlaskit-rovo-avatar-JsmRovoServiceAgentAvatar"*/'./assets/jsm-rovo-service-agent'));
|
|
46
47
|
export const yellowColor = {
|
|
47
48
|
primary: '#FCA700',
|
|
48
49
|
secondary: '#FFC716'
|
|
@@ -190,6 +191,14 @@ const outOfTheBoxAgentAvatar = {
|
|
|
190
191
|
secondaryColor: blueColor.secondary
|
|
191
192
|
}),
|
|
192
193
|
color: blueColor
|
|
194
|
+
},
|
|
195
|
+
jsm_rovo_service_agent: {
|
|
196
|
+
getRender: size => /*#__PURE__*/React.createElement(JsmRovoServiceAgentAvatar, {
|
|
197
|
+
size: AVATAR_SIZES[size],
|
|
198
|
+
primaryColor: "",
|
|
199
|
+
secondaryColor: ""
|
|
200
|
+
}),
|
|
201
|
+
color: yellowColor
|
|
193
202
|
}
|
|
194
203
|
};
|
|
195
204
|
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @generated SignedSource<<80d05744924cbc0bdc011e1a63323c52>>
|
|
3
|
+
* @lightSyntaxTransform
|
|
4
|
+
* @nogrep
|
|
5
|
+
* @codegen-command: yarn relay
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/* tslint:disable */
|
|
9
|
+
/* eslint-disable */
|
|
10
|
+
// @ts-nocheck
|
|
11
|
+
|
|
12
|
+
const node = {
|
|
13
|
+
"argumentDefinitions": [],
|
|
14
|
+
"kind": "Fragment",
|
|
15
|
+
"name": "agentVerified_AtlaskitRovoAgentComponents",
|
|
16
|
+
"selections": [{
|
|
17
|
+
"kind": "ScalarField",
|
|
18
|
+
"name": "isVerified"
|
|
19
|
+
}],
|
|
20
|
+
"type": "AgentStudioAssistant"
|
|
21
|
+
};
|
|
22
|
+
node.hash = "7c196c0efd61b63c8a3de1c1b32e11ec";
|
|
23
|
+
export default node;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { injectable } from 'react-magnetic-di';
|
|
3
|
+
import { useFragment } from 'react-relay';
|
|
4
|
+
import { withDi, withUseIntl } from '@atlassian/agent-studio-test-utils/storybook-decorators';
|
|
5
|
+
import { AgentVerified } from './index';
|
|
6
|
+
const commonDeps = [injectable(useFragment, () => ({
|
|
7
|
+
isVerified: true
|
|
8
|
+
}))];
|
|
9
|
+
const meta = {
|
|
10
|
+
decorators: [withUseIntl(), withDi(commonDeps)]
|
|
11
|
+
};
|
|
12
|
+
export default meta;
|
|
13
|
+
export const Default = {
|
|
14
|
+
render: () => /*#__PURE__*/React.createElement(AgentVerified, {
|
|
15
|
+
agentRef: {}
|
|
16
|
+
})
|
|
17
|
+
};
|
|
18
|
+
export const MediumSize = {
|
|
19
|
+
render: () => /*#__PURE__*/React.createElement(AgentVerified, {
|
|
20
|
+
agentRef: {},
|
|
21
|
+
size: "medium"
|
|
22
|
+
})
|
|
23
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import _agentVerified_AtlaskitRovoAgentComponents from "./__generated__/agentVerified_AtlaskitRovoAgentComponents.graphql";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { useIntl } from 'react-intl-next';
|
|
4
|
+
import { graphql, useFragment } from 'react-relay';
|
|
5
|
+
import VerifiedIcon from '@atlaskit/icon/core/status-verified';
|
|
6
|
+
import Tooltip from '@atlaskit/tooltip';
|
|
7
|
+
import messages from './messages';
|
|
8
|
+
export const AgentVerified = ({
|
|
9
|
+
agentRef,
|
|
10
|
+
size = 'small'
|
|
11
|
+
}) => {
|
|
12
|
+
const {
|
|
13
|
+
formatMessage
|
|
14
|
+
} = useIntl();
|
|
15
|
+
const data = useFragment(_agentVerified_AtlaskitRovoAgentComponents, agentRef);
|
|
16
|
+
if (!(data !== null && data !== void 0 && data.isVerified)) {
|
|
17
|
+
return null;
|
|
18
|
+
}
|
|
19
|
+
return /*#__PURE__*/React.createElement(Tooltip, {
|
|
20
|
+
content: formatMessage(messages.verifiedAgentTooltip)
|
|
21
|
+
}, /*#__PURE__*/React.createElement(VerifiedIcon, {
|
|
22
|
+
color: "var(--ds-icon-accent-blue, #357DE8)",
|
|
23
|
+
label: formatMessage(messages.verifiedIconLabel),
|
|
24
|
+
size: size
|
|
25
|
+
}));
|
|
26
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { defineMessages } from 'react-intl-next';
|
|
2
|
+
export default defineMessages({
|
|
3
|
+
verifiedAgentTooltip: {
|
|
4
|
+
id: 'agent-studio-ui-components.agent-verified.tooltip',
|
|
5
|
+
defaultMessage: 'This agent has been verified by your organization.',
|
|
6
|
+
description: 'Verified icon tooltip shown when hovering over the verified icon'
|
|
7
|
+
},
|
|
8
|
+
verifiedIconLabel: {
|
|
9
|
+
id: 'agent-studio-ui-components.agent-verified.label',
|
|
10
|
+
defaultMessage: 'Agent verified',
|
|
11
|
+
description: 'Verified icon label for the agent studio side navigation'
|
|
12
|
+
}
|
|
13
|
+
});
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export default (function (_ref) {
|
|
3
|
+
var _size = _ref.size,
|
|
4
|
+
_primaryColor = _ref.primaryColor,
|
|
5
|
+
_secondaryColor = _ref.secondaryColor;
|
|
6
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
7
|
+
width: "45",
|
|
8
|
+
height: "50",
|
|
9
|
+
viewBox: "0 0 45 50",
|
|
10
|
+
fill: "none",
|
|
11
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
12
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
13
|
+
d: "M19.2938 1.13426C21.0414 0.127121 23.1945 0.12712 24.9421 1.13426L41.4117 10.6258C43.1593 11.633 44.2359 13.4943 44.2359 15.5085V34.4917C44.2359 36.506 43.1593 38.3673 41.4117 39.3744L24.9421 48.866C23.1945 49.8731 21.0414 49.8731 19.2938 48.866L2.82414 39.3744C1.07656 38.3673 0 36.506 0 34.4917V15.5085C0 13.4943 1.07656 11.633 2.82414 10.6258L19.2938 1.13426Z",
|
|
14
|
+
fill: "#FFC716"
|
|
15
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
16
|
+
d: "M20.4468 9.87926C21.5285 9.2834 22.8488 9.29435 23.9218 9.9121L32.3595 14.7735L34.3604 15.9264C35.4529 16.5553 36.1291 17.7223 36.1291 18.9794V31.0081C36.1291 32.2702 35.457 33.432 34.3613 34.0606L26.5145 38.5816C26.5317 38.5334 26.548 38.4849 26.5636 38.4361C26.7093 37.9854 26.7865 37.5092 26.7865 37.0224V24.9937C26.7865 23.3413 25.9057 21.8174 24.4692 20.9931L23.0198 20.1584L18.6199 17.6245V12.9651C18.6199 12.5979 18.6768 12.2392 18.7844 11.8997C19.049 11.078 19.6118 10.3667 20.3818 9.92259L20.3841 9.92124C20.4062 9.90853 20.4272 9.89442 20.4468 9.87926Z",
|
|
17
|
+
fill: "#101214"
|
|
18
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
19
|
+
d: "M17.7904 11.4175L9.94363 15.9385C8.8479 16.5671 8.17578 17.7289 8.17578 18.991V31.0197C8.17578 32.2768 8.85186 33.4437 9.94434 34.0726L11.8048 35.1446L20.3831 40.087C21.4561 40.7046 22.7764 40.7156 23.8581 40.1198C23.8777 40.1047 23.8986 40.0906 23.9206 40.0779C24.6914 39.6342 25.2551 38.9226 25.5201 38.1005C25.628 37.7606 25.685 37.4016 25.685 37.034V32.3746L21.1444 29.7597L19.8361 29.0062C18.3998 28.1818 17.5184 26.6577 17.5184 25.0053V12.9767C17.5184 12.4906 17.5954 12.015 17.7407 11.5648C17.7564 11.5154 17.773 11.4663 17.7904 11.4175Z",
|
|
20
|
+
fill: "#101214"
|
|
21
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
22
|
+
fillRule: "evenodd",
|
|
23
|
+
clipRule: "evenodd",
|
|
24
|
+
d: "M21.1444 29.7597L11.8048 35.1446L9.94434 34.0726C8.85186 33.4437 8.17578 32.2768 8.17578 31.0197V18.991C8.17578 17.7289 8.8479 16.5671 9.94363 15.9385L17.7904 11.4175C17.773 11.4663 17.7564 11.5154 17.7407 11.5648C17.5954 12.015 17.5184 12.4906 17.5184 12.9767V25.0053C17.5184 26.6577 18.3998 28.1818 19.8361 29.0062L21.1444 29.7597Z",
|
|
25
|
+
fill: "#101214"
|
|
26
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
27
|
+
fillRule: "evenodd",
|
|
28
|
+
clipRule: "evenodd",
|
|
29
|
+
d: "M23.0198 20.1584L18.6199 17.6245V12.9651C18.6199 12.5979 18.6768 12.2392 18.7844 11.8997C19.049 11.078 19.6118 10.3667 20.3818 9.92259L20.3841 9.92124C20.4062 9.90853 20.4272 9.89442 20.4468 9.87926C21.5285 9.2834 22.8488 9.29435 23.9218 9.9121L32.3595 14.7735L23.0198 20.1584Z",
|
|
30
|
+
fill: "#101214"
|
|
31
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
32
|
+
fillRule: "evenodd",
|
|
33
|
+
clipRule: "evenodd",
|
|
34
|
+
d: "M34.3604 15.9264L32.3595 14.7735L23.0198 20.1584L24.4692 20.9931C25.9057 21.8174 26.7865 23.3413 26.7865 24.9937V37.0224C26.7865 37.5092 26.7093 37.9854 26.5636 38.4361C26.548 38.4849 26.5317 38.5334 26.5145 38.5816L34.3613 34.0606C35.457 33.432 36.1291 32.2702 36.1291 31.0081V18.9794C36.1291 17.7223 35.4529 16.5553 34.3604 15.9264Z",
|
|
35
|
+
fill: "#101214"
|
|
36
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
37
|
+
fillRule: "evenodd",
|
|
38
|
+
clipRule: "evenodd",
|
|
39
|
+
d: "M21.1444 29.7597L11.8048 35.1446L20.3831 40.087C21.4561 40.7046 22.7764 40.7156 23.8581 40.1198C23.8777 40.1047 23.8986 40.0906 23.9206 40.0779C24.6914 39.6342 25.2551 38.9226 25.5201 38.1005C25.628 37.7606 25.685 37.4016 25.685 37.034V32.3746L21.1444 29.7597Z",
|
|
40
|
+
fill: "#101214"
|
|
41
|
+
}));
|
|
42
|
+
});
|
|
@@ -90,6 +90,9 @@ var WorkflowBuilderAvatar = /*#__PURE__*/lazy(function () {
|
|
|
90
90
|
var TrialGuideAvatar = /*#__PURE__*/lazy(function () {
|
|
91
91
|
return import( /* webpackChunkName: "@atlaskit-rovo-avatar-TrialGuideAvatar"*/'./assets/trial-guide');
|
|
92
92
|
});
|
|
93
|
+
var JsmRovoServiceAgentAvatar = /*#__PURE__*/lazy(function () {
|
|
94
|
+
return import( /* webpackChunkName: "@atlaskit-rovo-avatar-JsmRovoServiceAgentAvatar"*/'./assets/jsm-rovo-service-agent');
|
|
95
|
+
});
|
|
93
96
|
export var yellowColor = {
|
|
94
97
|
primary: '#FCA700',
|
|
95
98
|
secondary: '#FFC716'
|
|
@@ -269,6 +272,16 @@ var outOfTheBoxAgentAvatar = {
|
|
|
269
272
|
});
|
|
270
273
|
},
|
|
271
274
|
color: blueColor
|
|
275
|
+
},
|
|
276
|
+
jsm_rovo_service_agent: {
|
|
277
|
+
getRender: function getRender(size) {
|
|
278
|
+
return /*#__PURE__*/React.createElement(JsmRovoServiceAgentAvatar, {
|
|
279
|
+
size: AVATAR_SIZES[size],
|
|
280
|
+
primaryColor: "",
|
|
281
|
+
secondaryColor: ""
|
|
282
|
+
});
|
|
283
|
+
},
|
|
284
|
+
color: yellowColor
|
|
272
285
|
}
|
|
273
286
|
};
|
|
274
287
|
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @generated SignedSource<<80d05744924cbc0bdc011e1a63323c52>>
|
|
3
|
+
* @lightSyntaxTransform
|
|
4
|
+
* @nogrep
|
|
5
|
+
* @codegen-command: yarn relay
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
/* tslint:disable */
|
|
9
|
+
/* eslint-disable */
|
|
10
|
+
// @ts-nocheck
|
|
11
|
+
|
|
12
|
+
var node = {
|
|
13
|
+
"argumentDefinitions": [],
|
|
14
|
+
"kind": "Fragment",
|
|
15
|
+
"name": "agentVerified_AtlaskitRovoAgentComponents",
|
|
16
|
+
"selections": [{
|
|
17
|
+
"kind": "ScalarField",
|
|
18
|
+
"name": "isVerified"
|
|
19
|
+
}],
|
|
20
|
+
"type": "AgentStudioAssistant"
|
|
21
|
+
};
|
|
22
|
+
node.hash = "7c196c0efd61b63c8a3de1c1b32e11ec";
|
|
23
|
+
export default node;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { injectable } from 'react-magnetic-di';
|
|
3
|
+
import { useFragment } from 'react-relay';
|
|
4
|
+
import { withDi, withUseIntl } from '@atlassian/agent-studio-test-utils/storybook-decorators';
|
|
5
|
+
import { AgentVerified } from './index';
|
|
6
|
+
var commonDeps = [injectable(useFragment, function () {
|
|
7
|
+
return {
|
|
8
|
+
isVerified: true
|
|
9
|
+
};
|
|
10
|
+
})];
|
|
11
|
+
var meta = {
|
|
12
|
+
decorators: [withUseIntl(), withDi(commonDeps)]
|
|
13
|
+
};
|
|
14
|
+
export default meta;
|
|
15
|
+
export var Default = {
|
|
16
|
+
render: function render() {
|
|
17
|
+
return /*#__PURE__*/React.createElement(AgentVerified, {
|
|
18
|
+
agentRef: {}
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
export var MediumSize = {
|
|
23
|
+
render: function render() {
|
|
24
|
+
return /*#__PURE__*/React.createElement(AgentVerified, {
|
|
25
|
+
agentRef: {},
|
|
26
|
+
size: "medium"
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import _agentVerified_AtlaskitRovoAgentComponents from "./__generated__/agentVerified_AtlaskitRovoAgentComponents.graphql";
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { useIntl } from 'react-intl-next';
|
|
4
|
+
import { graphql, useFragment } from 'react-relay';
|
|
5
|
+
import VerifiedIcon from '@atlaskit/icon/core/status-verified';
|
|
6
|
+
import Tooltip from '@atlaskit/tooltip';
|
|
7
|
+
import messages from './messages';
|
|
8
|
+
export var AgentVerified = function AgentVerified(_ref) {
|
|
9
|
+
var agentRef = _ref.agentRef,
|
|
10
|
+
_ref$size = _ref.size,
|
|
11
|
+
size = _ref$size === void 0 ? 'small' : _ref$size;
|
|
12
|
+
var _useIntl = useIntl(),
|
|
13
|
+
formatMessage = _useIntl.formatMessage;
|
|
14
|
+
var data = useFragment(_agentVerified_AtlaskitRovoAgentComponents, agentRef);
|
|
15
|
+
if (!(data !== null && data !== void 0 && data.isVerified)) {
|
|
16
|
+
return null;
|
|
17
|
+
}
|
|
18
|
+
return /*#__PURE__*/React.createElement(Tooltip, {
|
|
19
|
+
content: formatMessage(messages.verifiedAgentTooltip)
|
|
20
|
+
}, /*#__PURE__*/React.createElement(VerifiedIcon, {
|
|
21
|
+
color: "var(--ds-icon-accent-blue, #357DE8)",
|
|
22
|
+
label: formatMessage(messages.verifiedIconLabel),
|
|
23
|
+
size: size
|
|
24
|
+
}));
|
|
25
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { defineMessages } from 'react-intl-next';
|
|
2
|
+
export default defineMessages({
|
|
3
|
+
verifiedAgentTooltip: {
|
|
4
|
+
id: 'agent-studio-ui-components.agent-verified.tooltip',
|
|
5
|
+
defaultMessage: 'This agent has been verified by your organization.',
|
|
6
|
+
description: 'Verified icon tooltip shown when hovering over the verified icon'
|
|
7
|
+
},
|
|
8
|
+
verifiedIconLabel: {
|
|
9
|
+
id: 'agent-studio-ui-components.agent-verified.label',
|
|
10
|
+
defaultMessage: 'Agent verified',
|
|
11
|
+
description: 'Verified icon label for the agent studio side navigation'
|
|
12
|
+
}
|
|
13
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @generated SignedSource<<80d05744924cbc0bdc011e1a63323c52>>
|
|
3
|
+
* @lightSyntaxTransform
|
|
4
|
+
* @nogrep
|
|
5
|
+
* @codegen-command: yarn relay
|
|
6
|
+
*/
|
|
7
|
+
import type { ReaderFragment } from 'relay-runtime';
|
|
8
|
+
import type { FragmentRefs } from "relay-runtime";
|
|
9
|
+
export type agentVerified_AtlaskitRovoAgentComponents$data = {
|
|
10
|
+
readonly isVerified: boolean | null | undefined;
|
|
11
|
+
readonly " $fragmentType": "agentVerified_AtlaskitRovoAgentComponents";
|
|
12
|
+
};
|
|
13
|
+
export type agentVerified_AtlaskitRovoAgentComponents$key = {
|
|
14
|
+
readonly " $data"?: agentVerified_AtlaskitRovoAgentComponents$data;
|
|
15
|
+
readonly " $fragmentSpreads": FragmentRefs<"agentVerified_AtlaskitRovoAgentComponents">;
|
|
16
|
+
};
|
|
17
|
+
declare const node: ReaderFragment;
|
|
18
|
+
export default node;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { IconSize } from '@atlaskit/icon';
|
|
3
|
+
import type { agentVerified_AtlaskitRovoAgentComponents$key } from './__generated__/agentVerified_AtlaskitRovoAgentComponents.graphql';
|
|
4
|
+
export declare const AgentVerified: ({ agentRef, size, }: {
|
|
5
|
+
agentRef: agentVerified_AtlaskitRovoAgentComponents$key | null;
|
|
6
|
+
size?: IconSize;
|
|
7
|
+
}) => React.JSX.Element | null;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @generated SignedSource<<80d05744924cbc0bdc011e1a63323c52>>
|
|
3
|
+
* @lightSyntaxTransform
|
|
4
|
+
* @nogrep
|
|
5
|
+
* @codegen-command: yarn relay
|
|
6
|
+
*/
|
|
7
|
+
import type { ReaderFragment } from 'relay-runtime';
|
|
8
|
+
import type { FragmentRefs } from "relay-runtime";
|
|
9
|
+
export type agentVerified_AtlaskitRovoAgentComponents$data = {
|
|
10
|
+
readonly isVerified: boolean | null | undefined;
|
|
11
|
+
readonly " $fragmentType": "agentVerified_AtlaskitRovoAgentComponents";
|
|
12
|
+
};
|
|
13
|
+
export type agentVerified_AtlaskitRovoAgentComponents$key = {
|
|
14
|
+
readonly " $data"?: agentVerified_AtlaskitRovoAgentComponents$data;
|
|
15
|
+
readonly " $fragmentSpreads": FragmentRefs<"agentVerified_AtlaskitRovoAgentComponents">;
|
|
16
|
+
};
|
|
17
|
+
declare const node: ReaderFragment;
|
|
18
|
+
export default node;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { IconSize } from '@atlaskit/icon';
|
|
3
|
+
import type { agentVerified_AtlaskitRovoAgentComponents$key } from './__generated__/agentVerified_AtlaskitRovoAgentComponents.graphql';
|
|
4
|
+
export declare const AgentVerified: ({ agentRef, size, }: {
|
|
5
|
+
agentRef: agentVerified_AtlaskitRovoAgentComponents$key | null;
|
|
6
|
+
size?: IconSize;
|
|
7
|
+
}) => React.JSX.Element | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/rovo-agent-components",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.21.0",
|
|
4
4
|
"description": "This package host public components related to rovo agents, the components here are needed for other public atlaskit packages",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -51,7 +51,8 @@
|
|
|
51
51
|
"@compiled/react": "^0.18.6",
|
|
52
52
|
"react-dom": "^18.2.0",
|
|
53
53
|
"react-intl-next": "npm:react-intl@^5.18.1",
|
|
54
|
-
"react-magnetic-di": "^3.1.4"
|
|
54
|
+
"react-magnetic-di": "^3.1.4",
|
|
55
|
+
"react-relay": "npm:atl-react-relay@0.0.0-main-39e79f66"
|
|
55
56
|
},
|
|
56
57
|
"peerDependencies": {
|
|
57
58
|
"react": "^18.2.0"
|
|
@@ -60,6 +61,7 @@
|
|
|
60
61
|
"@af/integration-testing": "workspace:^",
|
|
61
62
|
"@af/visual-regression": "workspace:^",
|
|
62
63
|
"@atlaskit/ssr": "workspace:^",
|
|
64
|
+
"@atlassian/agent-studio-test-utils": "workspace:^",
|
|
63
65
|
"@atlassian/feature-flags-test-utils": "^1.0.0",
|
|
64
66
|
"@atlassian/testing-library": "^0.4.0",
|
|
65
67
|
"@testing-library/react": "^16.3.0",
|
|
@@ -104,6 +106,11 @@
|
|
|
104
106
|
]
|
|
105
107
|
}
|
|
106
108
|
},
|
|
109
|
+
"techstackIgnore": {
|
|
110
|
+
"stricter": [
|
|
111
|
+
"@atlassian/tangerine/project-structure"
|
|
112
|
+
]
|
|
113
|
+
},
|
|
107
114
|
"platform-feature-flags": {
|
|
108
115
|
"rovo_chat_bugfix_agent_avatar_squish": {
|
|
109
116
|
"type": "boolean"
|