@atlaskit/rovo-agent-components 8.9.3 → 8.9.4
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 +8 -0
- package/dist/cjs/common/ui/link-icon-button/index.js +2 -2
- package/dist/cjs/common/ui/star-icon-button/index.js +2 -2
- package/dist/cjs/ui/agent-avatar/generated-avatars/assets/jira-task-planner-agent.js +30 -0
- package/dist/cjs/ui/agent-avatar/generated-avatars/index.js +15 -0
- package/dist/cjs/ui/agent-conversation-starters/index.js +2 -2
- package/dist/cjs/ui/agent-dropdown-menu/index.js +4 -3
- package/dist/es2019/common/ui/link-icon-button/index.js +1 -1
- package/dist/es2019/common/ui/star-icon-button/index.js +1 -1
- package/dist/es2019/ui/agent-avatar/generated-avatars/assets/jira-task-planner-agent.js +22 -0
- package/dist/es2019/ui/agent-avatar/generated-avatars/index.js +9 -0
- package/dist/es2019/ui/agent-conversation-starters/index.js +1 -1
- package/dist/es2019/ui/agent-dropdown-menu/index.js +2 -1
- package/dist/esm/common/ui/link-icon-button/index.js +1 -1
- package/dist/esm/common/ui/star-icon-button/index.js +1 -1
- package/dist/esm/ui/agent-avatar/generated-avatars/assets/jira-task-planner-agent.js +23 -0
- package/dist/esm/ui/agent-avatar/generated-avatars/index.js +13 -0
- package/dist/esm/ui/agent-conversation-starters/index.js +1 -1
- package/dist/esm/ui/agent-dropdown-menu/index.js +2 -1
- package/dist/types/common/ui/chat-pill/index.d.ts +1 -1
- package/dist/types/ui/agent-avatar/generated-avatars/assets/jira-task-planner-agent.d.ts +8 -0
- package/dist/types/ui/agent-dropdown-menu/index.d.ts +2 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/rovo-agent-components
|
|
2
2
|
|
|
3
|
+
## 8.9.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`2339c88f41eaa`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2339c88f41eaa) -
|
|
8
|
+
Adds the Jira Scoping Agent avatar behind the jira_ai_task_level_planning_ootb_agent rollout.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 8.9.3
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -12,7 +12,7 @@ var React = _interopRequireWildcard(require("react"));
|
|
|
12
12
|
var _runtime = require("@compiled/react/runtime");
|
|
13
13
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
14
14
|
var _reactIntl = require("react-intl");
|
|
15
|
-
var
|
|
15
|
+
var _button = _interopRequireDefault(require("@atlaskit/button/icon/button"));
|
|
16
16
|
var _css = require("@atlaskit/css");
|
|
17
17
|
var _link = _interopRequireDefault(require("@atlaskit/icon/core/link"));
|
|
18
18
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
@@ -30,7 +30,7 @@ var LinkIconButton = exports.LinkIconButton = function LinkIconButton(_ref) {
|
|
|
30
30
|
formatMessage = _useIntl.formatMessage;
|
|
31
31
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_compiled.Box, {
|
|
32
32
|
xcss: (0, _css.cx)(!visible && styles.hidden)
|
|
33
|
-
}, /*#__PURE__*/React.createElement(
|
|
33
|
+
}, /*#__PURE__*/React.createElement(_button.default, {
|
|
34
34
|
type: "button",
|
|
35
35
|
onClick: handleCopy,
|
|
36
36
|
icon: function icon(iconProps) {
|
|
@@ -14,7 +14,7 @@ var _runtime = require("@compiled/react/runtime");
|
|
|
14
14
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
15
15
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
16
16
|
var _reactIntl = require("react-intl");
|
|
17
|
-
var
|
|
17
|
+
var _button = _interopRequireDefault(require("@atlaskit/button/icon/button"));
|
|
18
18
|
var _css = require("@atlaskit/css");
|
|
19
19
|
var _starStarred = _interopRequireDefault(require("@atlaskit/icon/core/star-starred"));
|
|
20
20
|
var _starUnstarred = _interopRequireDefault(require("@atlaskit/icon/core/star-unstarred"));
|
|
@@ -38,7 +38,7 @@ var StarIconButton = exports.StarIconButton = function StarIconButton(_ref) {
|
|
|
38
38
|
setIsHovered = _useState2[1];
|
|
39
39
|
return /*#__PURE__*/React.createElement(_compiled.Box, {
|
|
40
40
|
xcss: (0, _css.cx)(!visible && styles.hidden)
|
|
41
|
-
}, /*#__PURE__*/React.createElement(
|
|
41
|
+
}, /*#__PURE__*/React.createElement(_button.default, {
|
|
42
42
|
appearance: "subtle",
|
|
43
43
|
spacing: "compact",
|
|
44
44
|
icon: function icon(iconProps) {
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = void 0;
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
/* eslint-disable @atlaskit/ui-styling-standard/enforce-style-prop */
|
|
10
|
+
var _default = exports.default = function _default(_ref) {
|
|
11
|
+
var size = _ref.size;
|
|
12
|
+
return /*#__PURE__*/_react.default.createElement("svg", {
|
|
13
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
14
|
+
width: size,
|
|
15
|
+
height: size,
|
|
16
|
+
viewBox: "0 0 32 32",
|
|
17
|
+
fill: "none"
|
|
18
|
+
}, /*#__PURE__*/_react.default.createElement("rect", {
|
|
19
|
+
width: size,
|
|
20
|
+
height: size,
|
|
21
|
+
fill: "#1868DB"
|
|
22
|
+
}), /*#__PURE__*/_react.default.createElement("g", {
|
|
23
|
+
transform: "translate(8 8)",
|
|
24
|
+
fill: "white"
|
|
25
|
+
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
26
|
+
d: "M5.59082 9.96875L2.59082 13.7188C2.44022 13.907 2.20758 14.0111 1.9668 13.999C1.75629 13.9883 1.56181 13.8895 1.42871 13.7295L1.375 13.6572L0 11.5322L1.25977 10.7178L2.06836 11.9678L4.41895 9.03125L5.59082 9.96875ZM5.59082 2.46875L2.59082 6.21875C2.44022 6.407 2.20758 6.51112 1.9668 6.49902C1.75629 6.48832 1.56181 6.38946 1.42871 6.22949L1.375 6.15723L3.31228e-07 4.03223L1.25977 3.21777L2.06836 4.46777L4.41895 1.53125L5.59082 2.46875Z"
|
|
27
|
+
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
28
|
+
d: "M16.0049 11V12.5L7.00488 12.5V11L16.0049 11ZM16.0049 3.5V5L7.00488 5V3.5L16.0049 3.5Z"
|
|
29
|
+
})));
|
|
30
|
+
};
|
|
@@ -220,6 +220,11 @@ var JiraWorkAgentAvatar = /*#__PURE__*/(0, _react.lazy)(function () {
|
|
|
220
220
|
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-rovo-avatar-JiraWorkAgentAvatar"*/'./assets/jira-work-agent'));
|
|
221
221
|
});
|
|
222
222
|
});
|
|
223
|
+
var JiraTaskPlannerAgentAvatar = /*#__PURE__*/(0, _react.lazy)(function () {
|
|
224
|
+
return Promise.resolve().then(function () {
|
|
225
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-rovo-avatar-JiraTaskPlannerAgentAvatar"*/'./assets/jira-task-planner-agent'));
|
|
226
|
+
});
|
|
227
|
+
});
|
|
223
228
|
var JiraCodingAgentAvatar = /*#__PURE__*/(0, _react.lazy)(function () {
|
|
224
229
|
return Promise.resolve().then(function () {
|
|
225
230
|
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-rovo-avatar-JiraCodingAgentAvatar"*/'./assets/jira-coding-agent'));
|
|
@@ -601,6 +606,16 @@ var outOfTheBoxAgentAvatar = {
|
|
|
601
606
|
},
|
|
602
607
|
color: blueColor
|
|
603
608
|
},
|
|
609
|
+
jira_task_planner_agent: {
|
|
610
|
+
getRender: function getRender(size) {
|
|
611
|
+
return /*#__PURE__*/_react.default.createElement(JiraTaskPlannerAgentAvatar, {
|
|
612
|
+
size: _avatarSizes.AVATAR_SIZES[size],
|
|
613
|
+
primaryColor: "",
|
|
614
|
+
secondaryColor: ""
|
|
615
|
+
});
|
|
616
|
+
},
|
|
617
|
+
color: blueColor
|
|
618
|
+
},
|
|
604
619
|
jira_intelligent_triage_agent: {
|
|
605
620
|
getRender: function getRender(size) {
|
|
606
621
|
return /*#__PURE__*/_react.default.createElement(JiraIntelligentTriageAgentAvatar, {
|
|
@@ -14,7 +14,7 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/h
|
|
|
14
14
|
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
|
|
15
15
|
var _react = _interopRequireWildcard(require("react"));
|
|
16
16
|
var _reactIntl = require("react-intl");
|
|
17
|
-
var
|
|
17
|
+
var _button = _interopRequireDefault(require("@atlaskit/button/icon/button"));
|
|
18
18
|
var _css = require("@atlaskit/css");
|
|
19
19
|
var _retry = _interopRequireDefault(require("@atlaskit/icon/core/retry"));
|
|
20
20
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
@@ -138,7 +138,7 @@ var ConversationStarters = exports.ConversationStarters = function ConversationS
|
|
|
138
138
|
grow: "fill",
|
|
139
139
|
alignInline: "end",
|
|
140
140
|
key: starter.message
|
|
141
|
-
}, chatPill, /*#__PURE__*/_react.default.createElement(
|
|
141
|
+
}, chatPill, /*#__PURE__*/_react.default.createElement(_button.default, {
|
|
142
142
|
icon: _retry.default,
|
|
143
143
|
onClick: onReloadButtonClick,
|
|
144
144
|
appearance: "subtle",
|
|
@@ -16,7 +16,8 @@ var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/
|
|
|
16
16
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
17
17
|
var _react = _interopRequireWildcard(require("react"));
|
|
18
18
|
var _reactIntl = require("react-intl");
|
|
19
|
-
var
|
|
19
|
+
var _button = _interopRequireDefault(require("@atlaskit/button/default/button"));
|
|
20
|
+
var _button2 = _interopRequireDefault(require("@atlaskit/button/icon/button"));
|
|
20
21
|
var _dropdownMenu = _interopRequireDefault(require("@atlaskit/dropdown-menu/dropdown-menu"));
|
|
21
22
|
var _dropdownMenuItem = _interopRequireDefault(require("@atlaskit/dropdown-menu/dropdown-menu-item"));
|
|
22
23
|
var _dropdownMenuItemGroup = _interopRequireDefault(require("@atlaskit/dropdown-menu/dropdown-menu-item-group"));
|
|
@@ -42,7 +43,7 @@ var ChatToAgentButton = exports.ChatToAgentButton = function ChatToAgentButton(_
|
|
|
42
43
|
formatMessage = _useIntl.formatMessage;
|
|
43
44
|
return /*#__PURE__*/_react.default.createElement(_compiled.Box, {
|
|
44
45
|
xcss: styles.chatToAgentButtonContainer
|
|
45
|
-
}, /*#__PURE__*/_react.default.createElement(
|
|
46
|
+
}, /*#__PURE__*/_react.default.createElement(_button.default, {
|
|
46
47
|
testId: "view-agent-modal-chat-to-agent-button",
|
|
47
48
|
shouldFitContainer: true,
|
|
48
49
|
onClick: onClick
|
|
@@ -170,7 +171,7 @@ var AgentDropdownMenu = exports.AgentDropdownMenu = function AgentDropdownMenu(_
|
|
|
170
171
|
trigger: function trigger(_ref4) {
|
|
171
172
|
var triggerRef = _ref4.triggerRef,
|
|
172
173
|
props = (0, _objectWithoutProperties2.default)(_ref4, _excluded);
|
|
173
|
-
return /*#__PURE__*/_react.default.createElement(
|
|
174
|
+
return /*#__PURE__*/_react.default.createElement(_button2.default, (0, _extends2.default)({}, props, {
|
|
174
175
|
icon: _showMoreHorizontal.default,
|
|
175
176
|
label: agentName ? formatMessage(_messages.default.moreActionsForLabel, {
|
|
176
177
|
agentName: agentName
|
|
@@ -4,7 +4,7 @@ import "./index.compiled.css";
|
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import { ax, ix } from "@compiled/react/runtime";
|
|
6
6
|
import { useIntl } from 'react-intl';
|
|
7
|
-
import
|
|
7
|
+
import IconButton from '@atlaskit/button/icon/button';
|
|
8
8
|
import { cx } from '@atlaskit/css';
|
|
9
9
|
import LinkIcon from '@atlaskit/icon/core/link';
|
|
10
10
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
@@ -5,7 +5,7 @@ import * as React from 'react';
|
|
|
5
5
|
import { ax, ix } from "@compiled/react/runtime";
|
|
6
6
|
import { useState } from 'react';
|
|
7
7
|
import { useIntl } from 'react-intl';
|
|
8
|
-
import
|
|
8
|
+
import IconButton from '@atlaskit/button/icon/button';
|
|
9
9
|
import { cx } from '@atlaskit/css';
|
|
10
10
|
import StarIconMigration from '@atlaskit/icon/core/star-starred';
|
|
11
11
|
import StarUnstarredIconMigration from '@atlaskit/icon/core/star-unstarred';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/* eslint-disable @atlaskit/ui-styling-standard/enforce-style-prop */
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export default (({
|
|
4
|
+
size
|
|
5
|
+
}) => /*#__PURE__*/React.createElement("svg", {
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
width: size,
|
|
8
|
+
height: size,
|
|
9
|
+
viewBox: "0 0 32 32",
|
|
10
|
+
fill: "none"
|
|
11
|
+
}, /*#__PURE__*/React.createElement("rect", {
|
|
12
|
+
width: size,
|
|
13
|
+
height: size,
|
|
14
|
+
fill: "#1868DB"
|
|
15
|
+
}), /*#__PURE__*/React.createElement("g", {
|
|
16
|
+
transform: "translate(8 8)",
|
|
17
|
+
fill: "white"
|
|
18
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
19
|
+
d: "M5.59082 9.96875L2.59082 13.7188C2.44022 13.907 2.20758 14.0111 1.9668 13.999C1.75629 13.9883 1.56181 13.8895 1.42871 13.7295L1.375 13.6572L0 11.5322L1.25977 10.7178L2.06836 11.9678L4.41895 9.03125L5.59082 9.96875ZM5.59082 2.46875L2.59082 6.21875C2.44022 6.407 2.20758 6.51112 1.9668 6.49902C1.75629 6.48832 1.56181 6.38946 1.42871 6.22949L1.375 6.15723L3.31228e-07 4.03223L1.25977 3.21777L2.06836 4.46777L4.41895 1.53125L5.59082 2.46875Z"
|
|
20
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
21
|
+
d: "M16.0049 11V12.5L7.00488 12.5V11L16.0049 11ZM16.0049 3.5V5L7.00488 5V3.5L16.0049 3.5Z"
|
|
22
|
+
}))));
|
|
@@ -61,6 +61,7 @@ const LovableAgentAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName:
|
|
|
61
61
|
const ReplitAgentAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName: "@atlaskit-rovo-avatar-ReplitAgentAvatar"*/'./assets/replit-agent'));
|
|
62
62
|
const RovoAgentAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName: "@atlaskit-rovo-avatar-RovoAgentAvatar"*/'./assets/rovo-agent'));
|
|
63
63
|
const JiraWorkAgentAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName: "@atlaskit-rovo-avatar-JiraWorkAgentAvatar"*/'./assets/jira-work-agent'));
|
|
64
|
+
const JiraTaskPlannerAgentAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName: "@atlaskit-rovo-avatar-JiraTaskPlannerAgentAvatar"*/'./assets/jira-task-planner-agent'));
|
|
64
65
|
const JiraCodingAgentAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName: "@atlaskit-rovo-avatar-JiraCodingAgentAvatar"*/'./assets/jira-coding-agent'));
|
|
65
66
|
const JiraIntelligentTriageAgentAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName: "@atlaskit-rovo-avatar-JiraIntelligentTriageAgentAvatar"*/'./assets/jira-intelligent-triage-agent'));
|
|
66
67
|
const JsmServiceTriageAgentAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName: "@atlaskit-rovo-avatar-JsmServiceTriageAgentAvatar"*/'./assets/jsm-service-triage-agent'));
|
|
@@ -364,6 +365,14 @@ const outOfTheBoxAgentAvatar = {
|
|
|
364
365
|
}),
|
|
365
366
|
color: blueColor
|
|
366
367
|
},
|
|
368
|
+
jira_task_planner_agent: {
|
|
369
|
+
getRender: size => /*#__PURE__*/React.createElement(JiraTaskPlannerAgentAvatar, {
|
|
370
|
+
size: AVATAR_SIZES[size],
|
|
371
|
+
primaryColor: "",
|
|
372
|
+
secondaryColor: ""
|
|
373
|
+
}),
|
|
374
|
+
color: blueColor
|
|
375
|
+
},
|
|
367
376
|
jira_intelligent_triage_agent: {
|
|
368
377
|
getRender: size => /*#__PURE__*/React.createElement(JiraIntelligentTriageAgentAvatar, {
|
|
369
378
|
size: AVATAR_SIZES[size],
|
|
@@ -4,7 +4,7 @@ import "./index.compiled.css";
|
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import React, { useMemo } from 'react';
|
|
6
6
|
import { useIntl } from 'react-intl';
|
|
7
|
-
import
|
|
7
|
+
import IconButton from '@atlaskit/button/icon/button';
|
|
8
8
|
import { cx } from '@atlaskit/css';
|
|
9
9
|
import RetryIcon from '@atlaskit/icon/core/retry';
|
|
10
10
|
import { Box, Inline, Pressable, Stack } from '@atlaskit/primitives/compiled';
|
|
@@ -4,7 +4,8 @@ import "./index.compiled.css";
|
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import React, { useEffect, useState } from 'react';
|
|
6
6
|
import { useIntl } from 'react-intl';
|
|
7
|
-
import Button
|
|
7
|
+
import Button from '@atlaskit/button/default/button';
|
|
8
|
+
import IconButton from '@atlaskit/button/icon/button';
|
|
8
9
|
import DropdownMenu from '@atlaskit/dropdown-menu/dropdown-menu';
|
|
9
10
|
import DropdownItem from '@atlaskit/dropdown-menu/dropdown-menu-item';
|
|
10
11
|
import DropdownItemGroup from '@atlaskit/dropdown-menu/dropdown-menu-item-group';
|
|
@@ -4,7 +4,7 @@ import "./index.compiled.css";
|
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
import { ax, ix } from "@compiled/react/runtime";
|
|
6
6
|
import { useIntl } from 'react-intl';
|
|
7
|
-
import
|
|
7
|
+
import IconButton from '@atlaskit/button/icon/button';
|
|
8
8
|
import { cx } from '@atlaskit/css';
|
|
9
9
|
import LinkIcon from '@atlaskit/icon/core/link';
|
|
10
10
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
@@ -6,7 +6,7 @@ import * as React from 'react';
|
|
|
6
6
|
import { ax, ix } from "@compiled/react/runtime";
|
|
7
7
|
import { useState } from 'react';
|
|
8
8
|
import { useIntl } from 'react-intl';
|
|
9
|
-
import
|
|
9
|
+
import IconButton from '@atlaskit/button/icon/button';
|
|
10
10
|
import { cx } from '@atlaskit/css';
|
|
11
11
|
import StarIconMigration from '@atlaskit/icon/core/star-starred';
|
|
12
12
|
import StarUnstarredIconMigration from '@atlaskit/icon/core/star-unstarred';
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/* eslint-disable @atlaskit/ui-styling-standard/enforce-style-prop */
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export default (function (_ref) {
|
|
4
|
+
var size = _ref.size;
|
|
5
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
width: size,
|
|
8
|
+
height: size,
|
|
9
|
+
viewBox: "0 0 32 32",
|
|
10
|
+
fill: "none"
|
|
11
|
+
}, /*#__PURE__*/React.createElement("rect", {
|
|
12
|
+
width: size,
|
|
13
|
+
height: size,
|
|
14
|
+
fill: "#1868DB"
|
|
15
|
+
}), /*#__PURE__*/React.createElement("g", {
|
|
16
|
+
transform: "translate(8 8)",
|
|
17
|
+
fill: "white"
|
|
18
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
19
|
+
d: "M5.59082 9.96875L2.59082 13.7188C2.44022 13.907 2.20758 14.0111 1.9668 13.999C1.75629 13.9883 1.56181 13.8895 1.42871 13.7295L1.375 13.6572L0 11.5322L1.25977 10.7178L2.06836 11.9678L4.41895 9.03125L5.59082 9.96875ZM5.59082 2.46875L2.59082 6.21875C2.44022 6.407 2.20758 6.51112 1.9668 6.49902C1.75629 6.48832 1.56181 6.38946 1.42871 6.22949L1.375 6.15723L3.31228e-07 4.03223L1.25977 3.21777L2.06836 4.46777L4.41895 1.53125L5.59082 2.46875Z"
|
|
20
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
21
|
+
d: "M16.0049 11V12.5L7.00488 12.5V11L16.0049 11ZM16.0049 3.5V5L7.00488 5V3.5L16.0049 3.5Z"
|
|
22
|
+
})));
|
|
23
|
+
});
|
|
@@ -137,6 +137,9 @@ var RovoAgentAvatar = /*#__PURE__*/lazy(function () {
|
|
|
137
137
|
var JiraWorkAgentAvatar = /*#__PURE__*/lazy(function () {
|
|
138
138
|
return import( /* webpackChunkName: "@atlaskit-rovo-avatar-JiraWorkAgentAvatar"*/'./assets/jira-work-agent');
|
|
139
139
|
});
|
|
140
|
+
var JiraTaskPlannerAgentAvatar = /*#__PURE__*/lazy(function () {
|
|
141
|
+
return import( /* webpackChunkName: "@atlaskit-rovo-avatar-JiraTaskPlannerAgentAvatar"*/'./assets/jira-task-planner-agent');
|
|
142
|
+
});
|
|
140
143
|
var JiraCodingAgentAvatar = /*#__PURE__*/lazy(function () {
|
|
141
144
|
return import( /* webpackChunkName: "@atlaskit-rovo-avatar-JiraCodingAgentAvatar"*/'./assets/jira-coding-agent');
|
|
142
145
|
});
|
|
@@ -512,6 +515,16 @@ var outOfTheBoxAgentAvatar = {
|
|
|
512
515
|
},
|
|
513
516
|
color: blueColor
|
|
514
517
|
},
|
|
518
|
+
jira_task_planner_agent: {
|
|
519
|
+
getRender: function getRender(size) {
|
|
520
|
+
return /*#__PURE__*/React.createElement(JiraTaskPlannerAgentAvatar, {
|
|
521
|
+
size: AVATAR_SIZES[size],
|
|
522
|
+
primaryColor: "",
|
|
523
|
+
secondaryColor: ""
|
|
524
|
+
});
|
|
525
|
+
},
|
|
526
|
+
color: blueColor
|
|
527
|
+
},
|
|
515
528
|
jira_intelligent_triage_agent: {
|
|
516
529
|
getRender: function getRender(size) {
|
|
517
530
|
return /*#__PURE__*/React.createElement(JiraIntelligentTriageAgentAvatar, {
|
|
@@ -7,7 +7,7 @@ import "./index.compiled.css";
|
|
|
7
7
|
import { ax, ix } from "@compiled/react/runtime";
|
|
8
8
|
import React, { useMemo } from 'react';
|
|
9
9
|
import { useIntl } from 'react-intl';
|
|
10
|
-
import
|
|
10
|
+
import IconButton from '@atlaskit/button/icon/button';
|
|
11
11
|
import { cx } from '@atlaskit/css';
|
|
12
12
|
import RetryIcon from '@atlaskit/icon/core/retry';
|
|
13
13
|
import { Box, Inline, Pressable, Stack } from '@atlaskit/primitives/compiled';
|
|
@@ -9,7 +9,8 @@ import { ax, ix } from "@compiled/react/runtime";
|
|
|
9
9
|
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
10
10
|
import React, { useEffect, useState } from 'react';
|
|
11
11
|
import { useIntl } from 'react-intl';
|
|
12
|
-
import Button
|
|
12
|
+
import Button from '@atlaskit/button/default/button';
|
|
13
|
+
import IconButton from '@atlaskit/button/icon/button';
|
|
13
14
|
import DropdownMenu from '@atlaskit/dropdown-menu/dropdown-menu';
|
|
14
15
|
import DropdownItem from '@atlaskit/dropdown-menu/dropdown-menu-item';
|
|
15
16
|
import DropdownItemGroup from '@atlaskit/dropdown-menu/dropdown-menu-item-group';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import { type ForwardRefExoticComponent, type RefAttributes } from 'react';
|
|
6
|
-
import {
|
|
6
|
+
import type { ButtonProps } from '@atlaskit/button/button';
|
|
7
7
|
export type ChatPillProps = Omit<ButtonProps, 'iconBefore'> & {
|
|
8
8
|
whiteSpacePreWrap?: boolean;
|
|
9
9
|
renderIcon?: boolean;
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import type UIAnalyticsEvent from '@atlaskit/analytics-next/UIAnalyticsEvent';
|
|
7
|
-
import { type ButtonProps
|
|
7
|
+
import { type ButtonProps } from '@atlaskit/button/default/button';
|
|
8
|
+
import IconButton from '@atlaskit/button/icon/button';
|
|
8
9
|
import DropdownMenu from '@atlaskit/dropdown-menu/dropdown-menu';
|
|
9
10
|
import type { DropdownMenuProps } from '@atlaskit/dropdown-menu/types';
|
|
10
11
|
import DropdownItem from '@atlaskit/dropdown-menu/dropdown-menu-item';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/rovo-agent-components",
|
|
3
|
-
"version": "8.9.
|
|
3
|
+
"version": "8.9.4",
|
|
4
4
|
"description": "This package host public components related to rovo agents, the components here are needed for other public atlaskit packages",
|
|
5
5
|
"repository": "https://bitbucket.org/atlassian/atlassian-frontend-monorepo",
|
|
6
6
|
"atlassian": {
|
|
@@ -32,10 +32,10 @@
|
|
|
32
32
|
],
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@atlaskit/afm-i18n-platform-ai-mate-rovo-agent-components": "2.223.0",
|
|
35
|
-
"@atlaskit/analytics-next": "^12.
|
|
35
|
+
"@atlaskit/analytics-next": "^12.4.0",
|
|
36
36
|
"@atlaskit/avatar": "^27.2.0",
|
|
37
37
|
"@atlaskit/button": "^25.2.0",
|
|
38
|
-
"@atlaskit/css": "^1.
|
|
38
|
+
"@atlaskit/css": "^1.1.0",
|
|
39
39
|
"@atlaskit/dropdown-menu": "^18.2.0",
|
|
40
40
|
"@atlaskit/feature-gate-js-client": "^6.0.0",
|
|
41
41
|
"@atlaskit/flag": "^18.4.0",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"@atlaskit/rovo-agent-analytics": "^6.2.0",
|
|
50
50
|
"@atlaskit/skeleton": "^4.3.0",
|
|
51
51
|
"@atlaskit/spinner": "^20.3.0",
|
|
52
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
52
|
+
"@atlaskit/tmp-editor-statsig": "^163.0.0",
|
|
53
53
|
"@atlaskit/tokens": "^16.8.0",
|
|
54
54
|
"@atlaskit/tooltip": "^24.2.0",
|
|
55
55
|
"@babel/runtime": "^7.0.0",
|