@atlaskit/rovo-agent-components 2.3.5 → 2.5.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 +16 -0
- package/dist/cjs/common/ui/chat-pill/index.compiled.css +9 -1
- package/dist/cjs/common/ui/chat-pill/index.js +3 -3
- package/dist/cjs/ui/agent-avatar/generated-avatars/index.js +34 -4
- package/dist/es2019/common/ui/chat-pill/index.compiled.css +9 -1
- package/dist/es2019/common/ui/chat-pill/index.js +3 -3
- package/dist/es2019/ui/agent-avatar/generated-avatars/index.js +28 -4
- package/dist/esm/common/ui/chat-pill/index.compiled.css +9 -1
- package/dist/esm/common/ui/chat-pill/index.js +3 -3
- package/dist/esm/ui/agent-avatar/generated-avatars/index.js +34 -4
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/rovo-agent-components
|
|
2
2
|
|
|
3
|
+
## 2.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#136047](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/136047)
|
|
8
|
+
[`8fea349c76752`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8fea349c76752) -
|
|
9
|
+
[ux] Icon changes for Ops Guide and RCA agent
|
|
10
|
+
|
|
11
|
+
## 2.4.0
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- [#134724](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/134724)
|
|
16
|
+
[`e04c15b164e87`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e04c15b164e87) -
|
|
17
|
+
Updating styles for chat buttons and visual refresh for SAIN for footer and followup prompts
|
|
18
|
+
|
|
3
19
|
## 2.3.5
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -1,25 +1,33 @@
|
|
|
1
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
|
+
._2rkoiti9{border-radius:var(--ds-border-radius-100,4px)}
|
|
2
3
|
._2rkopd34{border-radius:var(--ds-border-radius-200,8px)}
|
|
3
4
|
._189ee4h9{border-width:var(--ds-border-width,1px)}
|
|
4
5
|
._18zrv77o{padding-inline:var(--ds-space-025,2px)}
|
|
5
6
|
._1dqonqa1{border-style:solid}
|
|
6
7
|
._1h6dmuej{border-color:var(--ds-border,#091e4224)}
|
|
7
8
|
._19bvu2gc{padding-left:var(--ds-space-100,8px)}
|
|
9
|
+
._19bvutpp{padding-left:var(--ds-space-150,9pt)}
|
|
8
10
|
._1bsb1osq{width:100%}
|
|
9
11
|
._1bto1l2s{text-overflow:ellipsis}
|
|
10
12
|
._1nmz1hna{word-break:break-word}
|
|
11
13
|
._1o0zgqwt{border-bottom-right-radius:var(--ds-border-radius-050,2px)}
|
|
12
14
|
._1o9zkb7n{flex-shrink:1}
|
|
13
15
|
._bfhk1j28{background-color:transparent}
|
|
14
|
-
.
|
|
16
|
+
._bfhksm61{background-color:var(--ds-background-neutral-subtle,#00000000)}
|
|
17
|
+
._ca0q12x7{padding-top:var(--ds-space-075,6px)}
|
|
15
18
|
._ca0qu2gc{padding-top:var(--ds-space-100,8px)}
|
|
16
19
|
._k48p1wq8{font-weight:var(--ds-font-weight-medium,500)}
|
|
20
|
+
._n3td12x7{padding-bottom:var(--ds-space-075,6px)}
|
|
17
21
|
._n3tdu2gc{padding-bottom:var(--ds-space-100,8px)}
|
|
18
22
|
._o5721jtm{white-space:pre-wrap}
|
|
19
23
|
._o5721q9c{white-space:nowrap}
|
|
20
24
|
._syaz1fxt{color:var(--ds-text,#172b4d)}
|
|
25
|
+
._syaz1gjq{color:var(--ds-text-subtle,#44546f)}
|
|
21
26
|
._u5f3u2gc{padding-right:var(--ds-space-100,8px)}
|
|
27
|
+
._u5f3utpp{padding-right:var(--ds-space-150,9pt)}
|
|
22
28
|
._vwz47vkz{line-height:1pc}
|
|
23
29
|
._y3gn1e5h{text-align:left}
|
|
24
30
|
._irr315ej:hover{background-color:var(--ds-background-neutral-hovered,#091e4224)}
|
|
31
|
+
._irr3166n:hover{background-color:var(--ds-background-neutral-subtle-hovered,#091e420f)}
|
|
32
|
+
._1di61dty:active{background-color:var(--ds-background-neutral-subtle-pressed,#091e4224)}
|
|
25
33
|
._1di6ip91:active{background-color:var(--ds-background-neutral-pressed,#091e424f)}
|
|
@@ -28,7 +28,7 @@ var stylesCompiled = {
|
|
|
28
28
|
};
|
|
29
29
|
var styles = {
|
|
30
30
|
conversationStarterPill: "_2rkopd34 _11c82smr _189ee4h9 _1dqonqa1 _1h6dmuej _syaz1fxt _ca0qu2gc _u5f3u2gc _n3tdu2gc _19bvu2gc _1o0zgqwt _k48p1wq8 _1bto1l2s _o5721q9c _1o9zkb7n _bfhk1j28 _1bsb1osq _irr315ej _1di6ip91",
|
|
31
|
-
button: "
|
|
31
|
+
button: "_2rkoiti9 _11c82smr _189ee4h9 _1dqonqa1 _1h6dmuej _syaz1gjq _ca0q12x7 _u5f3utpp _n3td12x7 _19bvutpp _k48p1wq8 _1bto1l2s _o5721q9c _1o9zkb7n _bfhksm61 _irr3166n _1di61dty",
|
|
32
32
|
buttonInline: "_18zrv77o",
|
|
33
33
|
queryText: "_1nmz1hna _y3gn1e5h",
|
|
34
34
|
whiteSpacePreWrap: "_o5721jtm"
|
|
@@ -47,8 +47,8 @@ var ChatPill = exports.ChatPill = /*#__PURE__*/(0, _react.forwardRef)(function (
|
|
|
47
47
|
}), /*#__PURE__*/React.createElement("div", {
|
|
48
48
|
className: (0, _runtime.ax)([stylesCompiled.pillLineHeight])
|
|
49
49
|
}, /*#__PURE__*/React.createElement(_compiled.Inline, {
|
|
50
|
-
space: "space.
|
|
51
|
-
|
|
50
|
+
space: "space.075",
|
|
51
|
+
alignBlock: "baseline"
|
|
52
52
|
}, renderIcon ? /*#__PURE__*/React.createElement(_chatIcon.ChatPillIcon, null) : null, /*#__PURE__*/React.createElement(_compiled.Box, {
|
|
53
53
|
xcss: (0, _css.cx)(styles.queryText, whiteSpacePreWrap && styles.whiteSpacePreWrap)
|
|
54
54
|
}, children))));
|
|
@@ -150,6 +150,26 @@ 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_code_documentation_writer_agent: {
|
|
154
|
+
getRender: function getRender(size) {
|
|
155
|
+
return /*#__PURE__*/_react.default.createElement(SocialMediaScribeAvatar, {
|
|
156
|
+
size: _avatar.AVATAR_SIZES[size],
|
|
157
|
+
primaryColor: greenColor.primary,
|
|
158
|
+
secondaryColor: greenColor.secondary
|
|
159
|
+
});
|
|
160
|
+
},
|
|
161
|
+
color: greenColor
|
|
162
|
+
},
|
|
163
|
+
autodev_feature_flag_cleaner_agent: {
|
|
164
|
+
getRender: function getRender(size) {
|
|
165
|
+
return /*#__PURE__*/_react.default.createElement(FeatureFlagAvatar, {
|
|
166
|
+
size: _avatar.AVATAR_SIZES[size],
|
|
167
|
+
primaryColor: greenColor.primary,
|
|
168
|
+
secondaryColor: greenColor.secondary
|
|
169
|
+
});
|
|
170
|
+
},
|
|
171
|
+
color: greenColor
|
|
172
|
+
},
|
|
153
173
|
decision_director_agent: {
|
|
154
174
|
getRender: function getRender(size) {
|
|
155
175
|
return /*#__PURE__*/_react.default.createElement(DecisionDirectorAvatar, {
|
|
@@ -190,15 +210,15 @@ var outOfTheBoxAgentAvatar = {
|
|
|
190
210
|
},
|
|
191
211
|
color: greenColor
|
|
192
212
|
},
|
|
193
|
-
|
|
213
|
+
ops_guide_agent: {
|
|
194
214
|
getRender: function getRender(size) {
|
|
195
215
|
return /*#__PURE__*/_react.default.createElement(OpsAgentAvatar, {
|
|
196
216
|
size: _avatar.AVATAR_SIZES[size],
|
|
197
|
-
primaryColor:
|
|
198
|
-
secondaryColor:
|
|
217
|
+
primaryColor: yellowColor.primary,
|
|
218
|
+
secondaryColor: yellowColor.secondary
|
|
199
219
|
});
|
|
200
220
|
},
|
|
201
|
-
color:
|
|
221
|
+
color: yellowColor
|
|
202
222
|
},
|
|
203
223
|
jira_workflow_wizard_agent: {
|
|
204
224
|
getRender: function getRender(size) {
|
|
@@ -209,6 +229,16 @@ var outOfTheBoxAgentAvatar = {
|
|
|
209
229
|
});
|
|
210
230
|
},
|
|
211
231
|
color: blueColor
|
|
232
|
+
},
|
|
233
|
+
itops_rca_agent: {
|
|
234
|
+
getRender: function getRender(size) {
|
|
235
|
+
return /*#__PURE__*/_react.default.createElement(AutoReviewAvatar, {
|
|
236
|
+
size: _avatar.AVATAR_SIZES[size],
|
|
237
|
+
primaryColor: yellowColor.primary,
|
|
238
|
+
secondaryColor: yellowColor.secondary
|
|
239
|
+
});
|
|
240
|
+
},
|
|
241
|
+
color: yellowColor
|
|
212
242
|
}
|
|
213
243
|
};
|
|
214
244
|
|
|
@@ -1,25 +1,33 @@
|
|
|
1
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
|
+
._2rkoiti9{border-radius:var(--ds-border-radius-100,4px)}
|
|
2
3
|
._2rkopd34{border-radius:var(--ds-border-radius-200,8px)}
|
|
3
4
|
._189ee4h9{border-width:var(--ds-border-width,1px)}
|
|
4
5
|
._18zrv77o{padding-inline:var(--ds-space-025,2px)}
|
|
5
6
|
._1dqonqa1{border-style:solid}
|
|
6
7
|
._1h6dmuej{border-color:var(--ds-border,#091e4224)}
|
|
7
8
|
._19bvu2gc{padding-left:var(--ds-space-100,8px)}
|
|
9
|
+
._19bvutpp{padding-left:var(--ds-space-150,9pt)}
|
|
8
10
|
._1bsb1osq{width:100%}
|
|
9
11
|
._1bto1l2s{text-overflow:ellipsis}
|
|
10
12
|
._1nmz1hna{word-break:break-word}
|
|
11
13
|
._1o0zgqwt{border-bottom-right-radius:var(--ds-border-radius-050,2px)}
|
|
12
14
|
._1o9zkb7n{flex-shrink:1}
|
|
13
15
|
._bfhk1j28{background-color:transparent}
|
|
14
|
-
.
|
|
16
|
+
._bfhksm61{background-color:var(--ds-background-neutral-subtle,#00000000)}
|
|
17
|
+
._ca0q12x7{padding-top:var(--ds-space-075,6px)}
|
|
15
18
|
._ca0qu2gc{padding-top:var(--ds-space-100,8px)}
|
|
16
19
|
._k48p1wq8{font-weight:var(--ds-font-weight-medium,500)}
|
|
20
|
+
._n3td12x7{padding-bottom:var(--ds-space-075,6px)}
|
|
17
21
|
._n3tdu2gc{padding-bottom:var(--ds-space-100,8px)}
|
|
18
22
|
._o5721jtm{white-space:pre-wrap}
|
|
19
23
|
._o5721q9c{white-space:nowrap}
|
|
20
24
|
._syaz1fxt{color:var(--ds-text,#172b4d)}
|
|
25
|
+
._syaz1gjq{color:var(--ds-text-subtle,#44546f)}
|
|
21
26
|
._u5f3u2gc{padding-right:var(--ds-space-100,8px)}
|
|
27
|
+
._u5f3utpp{padding-right:var(--ds-space-150,9pt)}
|
|
22
28
|
._vwz47vkz{line-height:1pc}
|
|
23
29
|
._y3gn1e5h{text-align:left}
|
|
24
30
|
._irr315ej:hover{background-color:var(--ds-background-neutral-hovered,#091e4224)}
|
|
31
|
+
._irr3166n:hover{background-color:var(--ds-background-neutral-subtle-hovered,#091e420f)}
|
|
32
|
+
._1di61dty:active{background-color:var(--ds-background-neutral-subtle-pressed,#091e4224)}
|
|
25
33
|
._1di6ip91:active{background-color:var(--ds-background-neutral-pressed,#091e424f)}
|
|
@@ -15,7 +15,7 @@ const stylesCompiled = {
|
|
|
15
15
|
};
|
|
16
16
|
const styles = {
|
|
17
17
|
conversationStarterPill: "_2rkopd34 _11c82smr _189ee4h9 _1dqonqa1 _1h6dmuej _syaz1fxt _ca0qu2gc _u5f3u2gc _n3tdu2gc _19bvu2gc _1o0zgqwt _k48p1wq8 _1bto1l2s _o5721q9c _1o9zkb7n _bfhk1j28 _1bsb1osq _irr315ej _1di6ip91",
|
|
18
|
-
button: "
|
|
18
|
+
button: "_2rkoiti9 _11c82smr _189ee4h9 _1dqonqa1 _1h6dmuej _syaz1gjq _ca0q12x7 _u5f3utpp _n3td12x7 _19bvutpp _k48p1wq8 _1bto1l2s _o5721q9c _1o9zkb7n _bfhksm61 _irr3166n _1di61dty",
|
|
19
19
|
buttonInline: "_18zrv77o",
|
|
20
20
|
queryText: "_1nmz1hna _y3gn1e5h",
|
|
21
21
|
whiteSpacePreWrap: "_o5721jtm"
|
|
@@ -32,8 +32,8 @@ export const ChatPill = /*#__PURE__*/forwardRef(({
|
|
|
32
32
|
}), /*#__PURE__*/React.createElement("div", {
|
|
33
33
|
className: ax([stylesCompiled.pillLineHeight])
|
|
34
34
|
}, /*#__PURE__*/React.createElement(Inline, {
|
|
35
|
-
space: "space.
|
|
36
|
-
|
|
35
|
+
space: "space.075",
|
|
36
|
+
alignBlock: "baseline"
|
|
37
37
|
}, renderIcon ? /*#__PURE__*/React.createElement(ChatPillIcon, null) : null, /*#__PURE__*/React.createElement(Box, {
|
|
38
38
|
xcss: cx(styles.queryText, whiteSpacePreWrap && styles.whiteSpacePreWrap)
|
|
39
39
|
}, children)))));
|
|
@@ -52,6 +52,22 @@ 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_code_documentation_writer_agent: {
|
|
56
|
+
getRender: size => /*#__PURE__*/React.createElement(SocialMediaScribeAvatar, {
|
|
57
|
+
size: AVATAR_SIZES[size],
|
|
58
|
+
primaryColor: greenColor.primary,
|
|
59
|
+
secondaryColor: greenColor.secondary
|
|
60
|
+
}),
|
|
61
|
+
color: greenColor
|
|
62
|
+
},
|
|
63
|
+
autodev_feature_flag_cleaner_agent: {
|
|
64
|
+
getRender: size => /*#__PURE__*/React.createElement(FeatureFlagAvatar, {
|
|
65
|
+
size: AVATAR_SIZES[size],
|
|
66
|
+
primaryColor: greenColor.primary,
|
|
67
|
+
secondaryColor: greenColor.secondary
|
|
68
|
+
}),
|
|
69
|
+
color: greenColor
|
|
70
|
+
},
|
|
55
71
|
decision_director_agent: {
|
|
56
72
|
getRender: size => /*#__PURE__*/React.createElement(DecisionDirectorAvatar, {
|
|
57
73
|
size: AVATAR_SIZES[size],
|
|
@@ -84,13 +100,13 @@ const outOfTheBoxAgentAvatar = {
|
|
|
84
100
|
}),
|
|
85
101
|
color: greenColor
|
|
86
102
|
},
|
|
87
|
-
|
|
103
|
+
ops_guide_agent: {
|
|
88
104
|
getRender: size => /*#__PURE__*/React.createElement(OpsAgentAvatar, {
|
|
89
105
|
size: AVATAR_SIZES[size],
|
|
90
|
-
primaryColor:
|
|
91
|
-
secondaryColor:
|
|
106
|
+
primaryColor: yellowColor.primary,
|
|
107
|
+
secondaryColor: yellowColor.secondary
|
|
92
108
|
}),
|
|
93
|
-
color:
|
|
109
|
+
color: yellowColor
|
|
94
110
|
},
|
|
95
111
|
jira_workflow_wizard_agent: {
|
|
96
112
|
getRender: size => /*#__PURE__*/React.createElement(WorkflowBuilderAvatar, {
|
|
@@ -99,6 +115,14 @@ const outOfTheBoxAgentAvatar = {
|
|
|
99
115
|
secondaryColor: blueColor.secondary
|
|
100
116
|
}),
|
|
101
117
|
color: blueColor
|
|
118
|
+
},
|
|
119
|
+
itops_rca_agent: {
|
|
120
|
+
getRender: size => /*#__PURE__*/React.createElement(AutoReviewAvatar, {
|
|
121
|
+
size: AVATAR_SIZES[size],
|
|
122
|
+
primaryColor: yellowColor.primary,
|
|
123
|
+
secondaryColor: yellowColor.secondary
|
|
124
|
+
}),
|
|
125
|
+
color: yellowColor
|
|
102
126
|
}
|
|
103
127
|
};
|
|
104
128
|
|
|
@@ -1,25 +1,33 @@
|
|
|
1
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
|
+
._2rkoiti9{border-radius:var(--ds-border-radius-100,4px)}
|
|
2
3
|
._2rkopd34{border-radius:var(--ds-border-radius-200,8px)}
|
|
3
4
|
._189ee4h9{border-width:var(--ds-border-width,1px)}
|
|
4
5
|
._18zrv77o{padding-inline:var(--ds-space-025,2px)}
|
|
5
6
|
._1dqonqa1{border-style:solid}
|
|
6
7
|
._1h6dmuej{border-color:var(--ds-border,#091e4224)}
|
|
7
8
|
._19bvu2gc{padding-left:var(--ds-space-100,8px)}
|
|
9
|
+
._19bvutpp{padding-left:var(--ds-space-150,9pt)}
|
|
8
10
|
._1bsb1osq{width:100%}
|
|
9
11
|
._1bto1l2s{text-overflow:ellipsis}
|
|
10
12
|
._1nmz1hna{word-break:break-word}
|
|
11
13
|
._1o0zgqwt{border-bottom-right-radius:var(--ds-border-radius-050,2px)}
|
|
12
14
|
._1o9zkb7n{flex-shrink:1}
|
|
13
15
|
._bfhk1j28{background-color:transparent}
|
|
14
|
-
.
|
|
16
|
+
._bfhksm61{background-color:var(--ds-background-neutral-subtle,#00000000)}
|
|
17
|
+
._ca0q12x7{padding-top:var(--ds-space-075,6px)}
|
|
15
18
|
._ca0qu2gc{padding-top:var(--ds-space-100,8px)}
|
|
16
19
|
._k48p1wq8{font-weight:var(--ds-font-weight-medium,500)}
|
|
20
|
+
._n3td12x7{padding-bottom:var(--ds-space-075,6px)}
|
|
17
21
|
._n3tdu2gc{padding-bottom:var(--ds-space-100,8px)}
|
|
18
22
|
._o5721jtm{white-space:pre-wrap}
|
|
19
23
|
._o5721q9c{white-space:nowrap}
|
|
20
24
|
._syaz1fxt{color:var(--ds-text,#172b4d)}
|
|
25
|
+
._syaz1gjq{color:var(--ds-text-subtle,#44546f)}
|
|
21
26
|
._u5f3u2gc{padding-right:var(--ds-space-100,8px)}
|
|
27
|
+
._u5f3utpp{padding-right:var(--ds-space-150,9pt)}
|
|
22
28
|
._vwz47vkz{line-height:1pc}
|
|
23
29
|
._y3gn1e5h{text-align:left}
|
|
24
30
|
._irr315ej:hover{background-color:var(--ds-background-neutral-hovered,#091e4224)}
|
|
31
|
+
._irr3166n:hover{background-color:var(--ds-background-neutral-subtle-hovered,#091e420f)}
|
|
32
|
+
._1di61dty:active{background-color:var(--ds-background-neutral-subtle-pressed,#091e4224)}
|
|
25
33
|
._1di6ip91:active{background-color:var(--ds-background-neutral-pressed,#091e424f)}
|
|
@@ -18,7 +18,7 @@ var stylesCompiled = {
|
|
|
18
18
|
};
|
|
19
19
|
var styles = {
|
|
20
20
|
conversationStarterPill: "_2rkopd34 _11c82smr _189ee4h9 _1dqonqa1 _1h6dmuej _syaz1fxt _ca0qu2gc _u5f3u2gc _n3tdu2gc _19bvu2gc _1o0zgqwt _k48p1wq8 _1bto1l2s _o5721q9c _1o9zkb7n _bfhk1j28 _1bsb1osq _irr315ej _1di6ip91",
|
|
21
|
-
button: "
|
|
21
|
+
button: "_2rkoiti9 _11c82smr _189ee4h9 _1dqonqa1 _1h6dmuej _syaz1gjq _ca0q12x7 _u5f3utpp _n3td12x7 _19bvutpp _k48p1wq8 _1bto1l2s _o5721q9c _1o9zkb7n _bfhksm61 _irr3166n _1di61dty",
|
|
22
22
|
buttonInline: "_18zrv77o",
|
|
23
23
|
queryText: "_1nmz1hna _y3gn1e5h",
|
|
24
24
|
whiteSpacePreWrap: "_o5721jtm"
|
|
@@ -37,8 +37,8 @@ export var ChatPill = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
37
37
|
}), /*#__PURE__*/React.createElement("div", {
|
|
38
38
|
className: ax([stylesCompiled.pillLineHeight])
|
|
39
39
|
}, /*#__PURE__*/React.createElement(Inline, {
|
|
40
|
-
space: "space.
|
|
41
|
-
|
|
40
|
+
space: "space.075",
|
|
41
|
+
alignBlock: "baseline"
|
|
42
42
|
}, renderIcon ? /*#__PURE__*/React.createElement(ChatPillIcon, null) : null, /*#__PURE__*/React.createElement(Box, {
|
|
43
43
|
xcss: cx(styles.queryText, whiteSpacePreWrap && styles.whiteSpacePreWrap)
|
|
44
44
|
}, children))));
|
|
@@ -96,6 +96,26 @@ 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_code_documentation_writer_agent: {
|
|
100
|
+
getRender: function getRender(size) {
|
|
101
|
+
return /*#__PURE__*/React.createElement(SocialMediaScribeAvatar, {
|
|
102
|
+
size: AVATAR_SIZES[size],
|
|
103
|
+
primaryColor: greenColor.primary,
|
|
104
|
+
secondaryColor: greenColor.secondary
|
|
105
|
+
});
|
|
106
|
+
},
|
|
107
|
+
color: greenColor
|
|
108
|
+
},
|
|
109
|
+
autodev_feature_flag_cleaner_agent: {
|
|
110
|
+
getRender: function getRender(size) {
|
|
111
|
+
return /*#__PURE__*/React.createElement(FeatureFlagAvatar, {
|
|
112
|
+
size: AVATAR_SIZES[size],
|
|
113
|
+
primaryColor: greenColor.primary,
|
|
114
|
+
secondaryColor: greenColor.secondary
|
|
115
|
+
});
|
|
116
|
+
},
|
|
117
|
+
color: greenColor
|
|
118
|
+
},
|
|
99
119
|
decision_director_agent: {
|
|
100
120
|
getRender: function getRender(size) {
|
|
101
121
|
return /*#__PURE__*/React.createElement(DecisionDirectorAvatar, {
|
|
@@ -136,15 +156,15 @@ var outOfTheBoxAgentAvatar = {
|
|
|
136
156
|
},
|
|
137
157
|
color: greenColor
|
|
138
158
|
},
|
|
139
|
-
|
|
159
|
+
ops_guide_agent: {
|
|
140
160
|
getRender: function getRender(size) {
|
|
141
161
|
return /*#__PURE__*/React.createElement(OpsAgentAvatar, {
|
|
142
162
|
size: AVATAR_SIZES[size],
|
|
143
|
-
primaryColor:
|
|
144
|
-
secondaryColor:
|
|
163
|
+
primaryColor: yellowColor.primary,
|
|
164
|
+
secondaryColor: yellowColor.secondary
|
|
145
165
|
});
|
|
146
166
|
},
|
|
147
|
-
color:
|
|
167
|
+
color: yellowColor
|
|
148
168
|
},
|
|
149
169
|
jira_workflow_wizard_agent: {
|
|
150
170
|
getRender: function getRender(size) {
|
|
@@ -155,6 +175,16 @@ var outOfTheBoxAgentAvatar = {
|
|
|
155
175
|
});
|
|
156
176
|
},
|
|
157
177
|
color: blueColor
|
|
178
|
+
},
|
|
179
|
+
itops_rca_agent: {
|
|
180
|
+
getRender: function getRender(size) {
|
|
181
|
+
return /*#__PURE__*/React.createElement(AutoReviewAvatar, {
|
|
182
|
+
size: AVATAR_SIZES[size],
|
|
183
|
+
primaryColor: yellowColor.primary,
|
|
184
|
+
secondaryColor: yellowColor.secondary
|
|
185
|
+
});
|
|
186
|
+
},
|
|
187
|
+
color: yellowColor
|
|
158
188
|
}
|
|
159
189
|
};
|
|
160
190
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/rovo-agent-components",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.5.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",
|
|
@@ -42,13 +42,13 @@
|
|
|
42
42
|
"@atlaskit/css": "^0.10.0",
|
|
43
43
|
"@atlaskit/dropdown-menu": "^14.0.0",
|
|
44
44
|
"@atlaskit/heading": "^5.1.0",
|
|
45
|
-
"@atlaskit/icon": "^25.
|
|
45
|
+
"@atlaskit/icon": "^25.5.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.3.0",
|
|
50
50
|
"@atlaskit/skeleton": "^2.0.0",
|
|
51
|
-
"@atlaskit/tokens": "^4.
|
|
51
|
+
"@atlaskit/tokens": "^4.6.0",
|
|
52
52
|
"@atlaskit/tooltip": "^20.0.0",
|
|
53
53
|
"@babel/runtime": "^7.0.0",
|
|
54
54
|
"@compiled/react": "^0.18.3",
|