@atlaskit/rovo-agent-components 2.6.0 → 2.7.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 +8 -0
- package/dist/cjs/ui/agent-avatar/generated-avatars/index.js +65 -5
- package/dist/cjs/ui/agent-dropdown-menu/index.js +1 -2
- package/dist/es2019/ui/agent-avatar/generated-avatars/index.js +52 -4
- package/dist/es2019/ui/agent-dropdown-menu/index.js +1 -2
- package/dist/esm/ui/agent-avatar/generated-avatars/index.js +64 -4
- package/dist/esm/ui/agent-dropdown-menu/index.js +1 -2
- package/dist/types/ui/agent-avatar/generated-avatars/index.d.ts +16 -0
- package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/index.d.ts +16 -0
- package/package.json +4 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/rovo-agent-components
|
|
2
2
|
|
|
3
|
+
## 2.7.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#141670](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/141670)
|
|
8
|
+
[`0e2aed24db654`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0e2aed24db654) -
|
|
9
|
+
Feature gate cleanup for 'rovo_chat_add_template_tab_to_modal'
|
|
10
|
+
|
|
3
11
|
## 2.6.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
|
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports.getNumberIdForAvatar = exports.TOTAL_AVATAR_COMBINATIONS = exports.GeneratedAvatar = exports.AgentBanner = void 0;
|
|
8
|
+
exports.yellowColor = exports.purpleColor = exports.greenColor = exports.getNumberIdForAvatar = exports.blueColor = exports.TOTAL_AVATAR_COMBINATIONS = exports.GeneratedAvatar = exports.AgentBanner = void 0;
|
|
9
9
|
require("./index.compiled.css");
|
|
10
10
|
var _runtime = require("@compiled/react/runtime");
|
|
11
11
|
var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
|
|
@@ -130,19 +130,19 @@ var WorkflowBuilderAvatar = /*#__PURE__*/(0, _react.lazy)(function () {
|
|
|
130
130
|
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-rovo-avatar-WorkflowBuilderAvatar"*/'./assets/workflow-builder'));
|
|
131
131
|
});
|
|
132
132
|
});
|
|
133
|
-
var yellowColor = {
|
|
133
|
+
var yellowColor = exports.yellowColor = {
|
|
134
134
|
primary: '#FCA700',
|
|
135
135
|
secondary: '#FFC716'
|
|
136
136
|
};
|
|
137
|
-
var purpleColor = {
|
|
137
|
+
var purpleColor = exports.purpleColor = {
|
|
138
138
|
primary: '#BF63F3',
|
|
139
139
|
secondary: '#D8A0F7'
|
|
140
140
|
};
|
|
141
|
-
var greenColor = {
|
|
141
|
+
var greenColor = exports.greenColor = {
|
|
142
142
|
primary: '#82B536',
|
|
143
143
|
secondary: '#B3DF72'
|
|
144
144
|
};
|
|
145
|
-
var blueColor = {
|
|
145
|
+
var blueColor = exports.blueColor = {
|
|
146
146
|
primary: '#357DE8',
|
|
147
147
|
secondary: '#669DF1'
|
|
148
148
|
};
|
|
@@ -150,6 +150,66 @@ var colorList = [yellowColor, purpleColor, greenColor, blueColor];
|
|
|
150
150
|
var avatarList = [CustomerInsightAvatar, BacklogBuddyAvatar, DecisionDirectorAvatar, CommsCrafterAvatar, AutoDevAvatar, OkrOracleAvatar, CultureAvatar, SocialMediaScribeAvatar, TeamConnectionAvatar, HireWriterAvatar, OpsAgentAvatar, ResearchScoutAvatar, ReleaseNotesAvatar, MyUserManualAvatar, PitchPerfectorAvatar, AutoDevAvatar, AutoFixAvatar, AutoReviewAvatar, MarketingMessageMaestroAvatar, FeatureFlagAvatar, ProductRequirementAvatar];
|
|
151
151
|
var TOTAL_AVATAR_COMBINATIONS = exports.TOTAL_AVATAR_COMBINATIONS = avatarList.length * colorList.length;
|
|
152
152
|
var outOfTheBoxAgentAvatar = {
|
|
153
|
+
autodev_template_unit_test_creator: {
|
|
154
|
+
getRender: function getRender(size) {
|
|
155
|
+
return /*#__PURE__*/_react.default.createElement(AutoFixAvatar, {
|
|
156
|
+
size: _avatar.AVATAR_SIZES[size],
|
|
157
|
+
primaryColor: greenColor.primary,
|
|
158
|
+
secondaryColor: greenColor.secondary
|
|
159
|
+
});
|
|
160
|
+
},
|
|
161
|
+
color: greenColor
|
|
162
|
+
},
|
|
163
|
+
autodev_template_migration_config_changer_agent: {
|
|
164
|
+
getRender: function getRender(size) {
|
|
165
|
+
return /*#__PURE__*/_react.default.createElement(OpsAgentAvatar, {
|
|
166
|
+
size: _avatar.AVATAR_SIZES[size],
|
|
167
|
+
primaryColor: greenColor.primary,
|
|
168
|
+
secondaryColor: greenColor.secondary
|
|
169
|
+
});
|
|
170
|
+
},
|
|
171
|
+
color: greenColor
|
|
172
|
+
},
|
|
173
|
+
autodev_template_vulnerable_dependency_updater_agent: {
|
|
174
|
+
getRender: function getRender(size) {
|
|
175
|
+
return /*#__PURE__*/_react.default.createElement(MarketingMessageMaestroAvatar, {
|
|
176
|
+
size: _avatar.AVATAR_SIZES[size],
|
|
177
|
+
primaryColor: greenColor.primary,
|
|
178
|
+
secondaryColor: greenColor.secondary
|
|
179
|
+
});
|
|
180
|
+
},
|
|
181
|
+
color: greenColor
|
|
182
|
+
},
|
|
183
|
+
autodev_template_code_standardizer_agent: {
|
|
184
|
+
getRender: function getRender(size) {
|
|
185
|
+
return /*#__PURE__*/_react.default.createElement(MyUserManualAvatar, {
|
|
186
|
+
size: _avatar.AVATAR_SIZES[size],
|
|
187
|
+
primaryColor: greenColor.primary,
|
|
188
|
+
secondaryColor: greenColor.secondary
|
|
189
|
+
});
|
|
190
|
+
},
|
|
191
|
+
color: greenColor
|
|
192
|
+
},
|
|
193
|
+
autodev_template_code_observer_agent: {
|
|
194
|
+
getRender: function getRender(size) {
|
|
195
|
+
return /*#__PURE__*/_react.default.createElement(ResearchScoutAvatar, {
|
|
196
|
+
size: _avatar.AVATAR_SIZES[size],
|
|
197
|
+
primaryColor: greenColor.primary,
|
|
198
|
+
secondaryColor: greenColor.secondary
|
|
199
|
+
});
|
|
200
|
+
},
|
|
201
|
+
color: greenColor
|
|
202
|
+
},
|
|
203
|
+
autodev_template_code_accessibility_checker_agent: {
|
|
204
|
+
getRender: function getRender(size) {
|
|
205
|
+
return /*#__PURE__*/_react.default.createElement(HireWriterAvatar, {
|
|
206
|
+
size: _avatar.AVATAR_SIZES[size],
|
|
207
|
+
primaryColor: greenColor.primary,
|
|
208
|
+
secondaryColor: greenColor.secondary
|
|
209
|
+
});
|
|
210
|
+
},
|
|
211
|
+
color: greenColor
|
|
212
|
+
},
|
|
153
213
|
autodev_code_documentation_writer_agent: {
|
|
154
214
|
getRender: function getRender(size) {
|
|
155
215
|
return /*#__PURE__*/_react.default.createElement(SocialMediaScribeAvatar, {
|
|
@@ -19,7 +19,6 @@ var _reactIntlNext = require("react-intl-next");
|
|
|
19
19
|
var _new = _interopRequireWildcard(require("@atlaskit/button/new"));
|
|
20
20
|
var _dropdownMenu = _interopRequireWildcard(require("@atlaskit/dropdown-menu"));
|
|
21
21
|
var _showMoreHorizontalMore = _interopRequireDefault(require("@atlaskit/icon/core/migration/show-more-horizontal--more"));
|
|
22
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
23
22
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
24
23
|
var _chatIcon = require("../../common/ui/chat-icon");
|
|
25
24
|
var _messages = _interopRequireDefault(require("./messages"));
|
|
@@ -192,7 +191,7 @@ var AgentDropdownMenu = exports.AgentDropdownMenu = function AgentDropdownMenu(_
|
|
|
192
191
|
onClick: onViewAgentFullProfileClick
|
|
193
192
|
}, formatMessage(_messages.default.viewAgentFullProfile)), !isForgeAgent && /*#__PURE__*/_react.default.createElement(_dropdownMenu.DropdownItem, {
|
|
194
193
|
onClick: onDuplicateAgent
|
|
195
|
-
}, isAutodevTemplateAgent
|
|
194
|
+
}, isAutodevTemplateAgent ? formatMessage(_messages.default.useTemplateButton) : formatMessage(_messages.default.duplicateAgent)), /*#__PURE__*/_react.default.createElement(_dropdownMenu.DropdownItem, {
|
|
196
195
|
onClick: function onClick(e) {
|
|
197
196
|
e.stopPropagation();
|
|
198
197
|
setHasBeenCopied(true);
|
|
@@ -32,19 +32,19 @@ const ResearchScoutAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName:
|
|
|
32
32
|
const SocialMediaScribeAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName: "@atlaskit-rovo-avatar-SocialMediaScribeAvatar"*/'./assets/social-media-scribe'));
|
|
33
33
|
const TeamConnectionAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName: "@atlaskit-rovo-avatar-TeamConnectionAvatar"*/'./assets/team-connection'));
|
|
34
34
|
const WorkflowBuilderAvatar = /*#__PURE__*/lazy(() => import( /* webpackChunkName: "@atlaskit-rovo-avatar-WorkflowBuilderAvatar"*/'./assets/workflow-builder'));
|
|
35
|
-
const yellowColor = {
|
|
35
|
+
export const yellowColor = {
|
|
36
36
|
primary: '#FCA700',
|
|
37
37
|
secondary: '#FFC716'
|
|
38
38
|
};
|
|
39
|
-
const purpleColor = {
|
|
39
|
+
export const purpleColor = {
|
|
40
40
|
primary: '#BF63F3',
|
|
41
41
|
secondary: '#D8A0F7'
|
|
42
42
|
};
|
|
43
|
-
const greenColor = {
|
|
43
|
+
export const greenColor = {
|
|
44
44
|
primary: '#82B536',
|
|
45
45
|
secondary: '#B3DF72'
|
|
46
46
|
};
|
|
47
|
-
const blueColor = {
|
|
47
|
+
export const blueColor = {
|
|
48
48
|
primary: '#357DE8',
|
|
49
49
|
secondary: '#669DF1'
|
|
50
50
|
};
|
|
@@ -52,6 +52,54 @@ const colorList = [yellowColor, purpleColor, greenColor, blueColor];
|
|
|
52
52
|
const avatarList = [CustomerInsightAvatar, BacklogBuddyAvatar, DecisionDirectorAvatar, CommsCrafterAvatar, AutoDevAvatar, OkrOracleAvatar, CultureAvatar, SocialMediaScribeAvatar, TeamConnectionAvatar, HireWriterAvatar, OpsAgentAvatar, ResearchScoutAvatar, ReleaseNotesAvatar, MyUserManualAvatar, PitchPerfectorAvatar, AutoDevAvatar, AutoFixAvatar, AutoReviewAvatar, MarketingMessageMaestroAvatar, FeatureFlagAvatar, ProductRequirementAvatar];
|
|
53
53
|
export const TOTAL_AVATAR_COMBINATIONS = avatarList.length * colorList.length;
|
|
54
54
|
const outOfTheBoxAgentAvatar = {
|
|
55
|
+
autodev_template_unit_test_creator: {
|
|
56
|
+
getRender: size => /*#__PURE__*/React.createElement(AutoFixAvatar, {
|
|
57
|
+
size: AVATAR_SIZES[size],
|
|
58
|
+
primaryColor: greenColor.primary,
|
|
59
|
+
secondaryColor: greenColor.secondary
|
|
60
|
+
}),
|
|
61
|
+
color: greenColor
|
|
62
|
+
},
|
|
63
|
+
autodev_template_migration_config_changer_agent: {
|
|
64
|
+
getRender: size => /*#__PURE__*/React.createElement(OpsAgentAvatar, {
|
|
65
|
+
size: AVATAR_SIZES[size],
|
|
66
|
+
primaryColor: greenColor.primary,
|
|
67
|
+
secondaryColor: greenColor.secondary
|
|
68
|
+
}),
|
|
69
|
+
color: greenColor
|
|
70
|
+
},
|
|
71
|
+
autodev_template_vulnerable_dependency_updater_agent: {
|
|
72
|
+
getRender: size => /*#__PURE__*/React.createElement(MarketingMessageMaestroAvatar, {
|
|
73
|
+
size: AVATAR_SIZES[size],
|
|
74
|
+
primaryColor: greenColor.primary,
|
|
75
|
+
secondaryColor: greenColor.secondary
|
|
76
|
+
}),
|
|
77
|
+
color: greenColor
|
|
78
|
+
},
|
|
79
|
+
autodev_template_code_standardizer_agent: {
|
|
80
|
+
getRender: size => /*#__PURE__*/React.createElement(MyUserManualAvatar, {
|
|
81
|
+
size: AVATAR_SIZES[size],
|
|
82
|
+
primaryColor: greenColor.primary,
|
|
83
|
+
secondaryColor: greenColor.secondary
|
|
84
|
+
}),
|
|
85
|
+
color: greenColor
|
|
86
|
+
},
|
|
87
|
+
autodev_template_code_observer_agent: {
|
|
88
|
+
getRender: size => /*#__PURE__*/React.createElement(ResearchScoutAvatar, {
|
|
89
|
+
size: AVATAR_SIZES[size],
|
|
90
|
+
primaryColor: greenColor.primary,
|
|
91
|
+
secondaryColor: greenColor.secondary
|
|
92
|
+
}),
|
|
93
|
+
color: greenColor
|
|
94
|
+
},
|
|
95
|
+
autodev_template_code_accessibility_checker_agent: {
|
|
96
|
+
getRender: size => /*#__PURE__*/React.createElement(HireWriterAvatar, {
|
|
97
|
+
size: AVATAR_SIZES[size],
|
|
98
|
+
primaryColor: greenColor.primary,
|
|
99
|
+
secondaryColor: greenColor.secondary
|
|
100
|
+
}),
|
|
101
|
+
color: greenColor
|
|
102
|
+
},
|
|
55
103
|
autodev_code_documentation_writer_agent: {
|
|
56
104
|
getRender: size => /*#__PURE__*/React.createElement(SocialMediaScribeAvatar, {
|
|
57
105
|
size: AVATAR_SIZES[size],
|
|
@@ -7,7 +7,6 @@ import { useIntl } from 'react-intl-next';
|
|
|
7
7
|
import Button, { IconButton } from '@atlaskit/button/new';
|
|
8
8
|
import DropdownMenu, { DropdownItem, DropdownItemGroup } from '@atlaskit/dropdown-menu';
|
|
9
9
|
import MoreIcon from '@atlaskit/icon/core/migration/show-more-horizontal--more';
|
|
10
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
11
10
|
import { Box, Inline } from '@atlaskit/primitives/compiled';
|
|
12
11
|
import { ChatPillIcon } from '../../common/ui/chat-icon';
|
|
13
12
|
import messages from './messages';
|
|
@@ -148,7 +147,7 @@ export const AgentDropdownMenu = ({
|
|
|
148
147
|
onClick: onViewAgentFullProfileClick
|
|
149
148
|
}, formatMessage(messages.viewAgentFullProfile)), !isForgeAgent && /*#__PURE__*/React.createElement(DropdownItem, {
|
|
150
149
|
onClick: onDuplicateAgent
|
|
151
|
-
}, isAutodevTemplateAgent
|
|
150
|
+
}, isAutodevTemplateAgent ? formatMessage(messages.useTemplateButton) : formatMessage(messages.duplicateAgent)), /*#__PURE__*/React.createElement(DropdownItem, {
|
|
152
151
|
onClick: e => {
|
|
153
152
|
e.stopPropagation();
|
|
154
153
|
setHasBeenCopied(true);
|
|
@@ -76,19 +76,19 @@ var TeamConnectionAvatar = /*#__PURE__*/lazy(function () {
|
|
|
76
76
|
var WorkflowBuilderAvatar = /*#__PURE__*/lazy(function () {
|
|
77
77
|
return import( /* webpackChunkName: "@atlaskit-rovo-avatar-WorkflowBuilderAvatar"*/'./assets/workflow-builder');
|
|
78
78
|
});
|
|
79
|
-
var yellowColor = {
|
|
79
|
+
export var yellowColor = {
|
|
80
80
|
primary: '#FCA700',
|
|
81
81
|
secondary: '#FFC716'
|
|
82
82
|
};
|
|
83
|
-
var purpleColor = {
|
|
83
|
+
export var purpleColor = {
|
|
84
84
|
primary: '#BF63F3',
|
|
85
85
|
secondary: '#D8A0F7'
|
|
86
86
|
};
|
|
87
|
-
var greenColor = {
|
|
87
|
+
export var greenColor = {
|
|
88
88
|
primary: '#82B536',
|
|
89
89
|
secondary: '#B3DF72'
|
|
90
90
|
};
|
|
91
|
-
var blueColor = {
|
|
91
|
+
export var blueColor = {
|
|
92
92
|
primary: '#357DE8',
|
|
93
93
|
secondary: '#669DF1'
|
|
94
94
|
};
|
|
@@ -96,6 +96,66 @@ var colorList = [yellowColor, purpleColor, greenColor, blueColor];
|
|
|
96
96
|
var avatarList = [CustomerInsightAvatar, BacklogBuddyAvatar, DecisionDirectorAvatar, CommsCrafterAvatar, AutoDevAvatar, OkrOracleAvatar, CultureAvatar, SocialMediaScribeAvatar, TeamConnectionAvatar, HireWriterAvatar, OpsAgentAvatar, ResearchScoutAvatar, ReleaseNotesAvatar, MyUserManualAvatar, PitchPerfectorAvatar, AutoDevAvatar, AutoFixAvatar, AutoReviewAvatar, MarketingMessageMaestroAvatar, FeatureFlagAvatar, ProductRequirementAvatar];
|
|
97
97
|
export var TOTAL_AVATAR_COMBINATIONS = avatarList.length * colorList.length;
|
|
98
98
|
var outOfTheBoxAgentAvatar = {
|
|
99
|
+
autodev_template_unit_test_creator: {
|
|
100
|
+
getRender: function getRender(size) {
|
|
101
|
+
return /*#__PURE__*/React.createElement(AutoFixAvatar, {
|
|
102
|
+
size: AVATAR_SIZES[size],
|
|
103
|
+
primaryColor: greenColor.primary,
|
|
104
|
+
secondaryColor: greenColor.secondary
|
|
105
|
+
});
|
|
106
|
+
},
|
|
107
|
+
color: greenColor
|
|
108
|
+
},
|
|
109
|
+
autodev_template_migration_config_changer_agent: {
|
|
110
|
+
getRender: function getRender(size) {
|
|
111
|
+
return /*#__PURE__*/React.createElement(OpsAgentAvatar, {
|
|
112
|
+
size: AVATAR_SIZES[size],
|
|
113
|
+
primaryColor: greenColor.primary,
|
|
114
|
+
secondaryColor: greenColor.secondary
|
|
115
|
+
});
|
|
116
|
+
},
|
|
117
|
+
color: greenColor
|
|
118
|
+
},
|
|
119
|
+
autodev_template_vulnerable_dependency_updater_agent: {
|
|
120
|
+
getRender: function getRender(size) {
|
|
121
|
+
return /*#__PURE__*/React.createElement(MarketingMessageMaestroAvatar, {
|
|
122
|
+
size: AVATAR_SIZES[size],
|
|
123
|
+
primaryColor: greenColor.primary,
|
|
124
|
+
secondaryColor: greenColor.secondary
|
|
125
|
+
});
|
|
126
|
+
},
|
|
127
|
+
color: greenColor
|
|
128
|
+
},
|
|
129
|
+
autodev_template_code_standardizer_agent: {
|
|
130
|
+
getRender: function getRender(size) {
|
|
131
|
+
return /*#__PURE__*/React.createElement(MyUserManualAvatar, {
|
|
132
|
+
size: AVATAR_SIZES[size],
|
|
133
|
+
primaryColor: greenColor.primary,
|
|
134
|
+
secondaryColor: greenColor.secondary
|
|
135
|
+
});
|
|
136
|
+
},
|
|
137
|
+
color: greenColor
|
|
138
|
+
},
|
|
139
|
+
autodev_template_code_observer_agent: {
|
|
140
|
+
getRender: function getRender(size) {
|
|
141
|
+
return /*#__PURE__*/React.createElement(ResearchScoutAvatar, {
|
|
142
|
+
size: AVATAR_SIZES[size],
|
|
143
|
+
primaryColor: greenColor.primary,
|
|
144
|
+
secondaryColor: greenColor.secondary
|
|
145
|
+
});
|
|
146
|
+
},
|
|
147
|
+
color: greenColor
|
|
148
|
+
},
|
|
149
|
+
autodev_template_code_accessibility_checker_agent: {
|
|
150
|
+
getRender: function getRender(size) {
|
|
151
|
+
return /*#__PURE__*/React.createElement(HireWriterAvatar, {
|
|
152
|
+
size: AVATAR_SIZES[size],
|
|
153
|
+
primaryColor: greenColor.primary,
|
|
154
|
+
secondaryColor: greenColor.secondary
|
|
155
|
+
});
|
|
156
|
+
},
|
|
157
|
+
color: greenColor
|
|
158
|
+
},
|
|
99
159
|
autodev_code_documentation_writer_agent: {
|
|
100
160
|
getRender: function getRender(size) {
|
|
101
161
|
return /*#__PURE__*/React.createElement(SocialMediaScribeAvatar, {
|
|
@@ -12,7 +12,6 @@ import { useIntl } from 'react-intl-next';
|
|
|
12
12
|
import Button, { IconButton } from '@atlaskit/button/new';
|
|
13
13
|
import DropdownMenu, { DropdownItem, DropdownItemGroup } from '@atlaskit/dropdown-menu';
|
|
14
14
|
import MoreIcon from '@atlaskit/icon/core/migration/show-more-horizontal--more';
|
|
15
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
16
15
|
import { Box, Inline } from '@atlaskit/primitives/compiled';
|
|
17
16
|
import { ChatPillIcon } from '../../common/ui/chat-icon';
|
|
18
17
|
import messages from './messages';
|
|
@@ -182,7 +181,7 @@ export var AgentDropdownMenu = function AgentDropdownMenu(_ref2) {
|
|
|
182
181
|
onClick: onViewAgentFullProfileClick
|
|
183
182
|
}, formatMessage(messages.viewAgentFullProfile)), !isForgeAgent && /*#__PURE__*/React.createElement(DropdownItem, {
|
|
184
183
|
onClick: onDuplicateAgent
|
|
185
|
-
}, isAutodevTemplateAgent
|
|
184
|
+
}, isAutodevTemplateAgent ? formatMessage(messages.useTemplateButton) : formatMessage(messages.duplicateAgent)), /*#__PURE__*/React.createElement(DropdownItem, {
|
|
186
185
|
onClick: function onClick(e) {
|
|
187
186
|
e.stopPropagation();
|
|
188
187
|
setHasBeenCopied(true);
|
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { type SizeType } from '@atlaskit/avatar';
|
|
3
|
+
export declare const yellowColor: {
|
|
4
|
+
primary: string;
|
|
5
|
+
secondary: string;
|
|
6
|
+
};
|
|
7
|
+
export declare const purpleColor: {
|
|
8
|
+
primary: string;
|
|
9
|
+
secondary: string;
|
|
10
|
+
};
|
|
11
|
+
export declare const greenColor: {
|
|
12
|
+
primary: string;
|
|
13
|
+
secondary: string;
|
|
14
|
+
};
|
|
15
|
+
export declare const blueColor: {
|
|
16
|
+
primary: string;
|
|
17
|
+
secondary: string;
|
|
18
|
+
};
|
|
3
19
|
export declare const TOTAL_AVATAR_COMBINATIONS: number;
|
|
4
20
|
type GeneratedAvatarProps = {
|
|
5
21
|
agentNamedId?: string;
|
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { type SizeType } from '@atlaskit/avatar';
|
|
3
|
+
export declare const yellowColor: {
|
|
4
|
+
primary: string;
|
|
5
|
+
secondary: string;
|
|
6
|
+
};
|
|
7
|
+
export declare const purpleColor: {
|
|
8
|
+
primary: string;
|
|
9
|
+
secondary: string;
|
|
10
|
+
};
|
|
11
|
+
export declare const greenColor: {
|
|
12
|
+
primary: string;
|
|
13
|
+
secondary: string;
|
|
14
|
+
};
|
|
15
|
+
export declare const blueColor: {
|
|
16
|
+
primary: string;
|
|
17
|
+
secondary: string;
|
|
18
|
+
};
|
|
3
19
|
export declare const TOTAL_AVATAR_COMBINATIONS: number;
|
|
4
20
|
type GeneratedAvatarProps = {
|
|
5
21
|
agentNamedId?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/rovo-agent-components",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.7.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",
|
|
@@ -41,12 +41,12 @@
|
|
|
41
41
|
"@atlaskit/button": "^23.0.0",
|
|
42
42
|
"@atlaskit/css": "^0.10.0",
|
|
43
43
|
"@atlaskit/dropdown-menu": "^14.0.0",
|
|
44
|
-
"@atlaskit/heading": "^5.
|
|
45
|
-
"@atlaskit/icon": "^25.
|
|
44
|
+
"@atlaskit/heading": "^5.2.0",
|
|
45
|
+
"@atlaskit/icon": "^25.6.0",
|
|
46
46
|
"@atlaskit/legacy-custom-icons": "^0.22.0",
|
|
47
47
|
"@atlaskit/logo": "^16.0.0",
|
|
48
48
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
49
|
-
"@atlaskit/primitives": "^14.
|
|
49
|
+
"@atlaskit/primitives": "^14.4.0",
|
|
50
50
|
"@atlaskit/skeleton": "^2.0.0",
|
|
51
51
|
"@atlaskit/tokens": "^4.7.0",
|
|
52
52
|
"@atlaskit/tooltip": "^20.0.0",
|
|
@@ -110,9 +110,6 @@
|
|
|
110
110
|
}
|
|
111
111
|
},
|
|
112
112
|
"platform-feature-flags": {
|
|
113
|
-
"rovo_chat_add_template_tab_to_modal": {
|
|
114
|
-
"type": "boolean"
|
|
115
|
-
},
|
|
116
113
|
"rovo_chat_bugfix_agent_avatar_squish": {
|
|
117
114
|
"type": "boolean"
|
|
118
115
|
}
|