@atlaskit/rovo-agent-components 0.4.2 → 0.6.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 +25 -0
- package/dist/cjs/common/ui/chat-pill/index.js +2 -2
- package/dist/cjs/ui/agent-profile-info/index.js +2 -2
- package/dist/cjs/ui/agent-profile-info/messages.js +6 -1
- package/dist/es2019/common/ui/chat-pill/index.js +2 -2
- package/dist/es2019/ui/agent-profile-info/index.js +2 -2
- package/dist/es2019/ui/agent-profile-info/messages.js +6 -1
- package/dist/esm/common/ui/chat-pill/index.js +2 -2
- package/dist/esm/ui/agent-profile-info/index.js +2 -2
- package/dist/esm/ui/agent-profile-info/messages.js +6 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/ui/agent-profile-info/index.d.ts +1 -0
- package/dist/types/ui/agent-profile-info/messages.d.ts +5 -0
- package/dist/types-ts4.5/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/agent-profile-info/index.d.ts +1 -0
- package/dist/types-ts4.5/ui/agent-profile-info/messages.d.ts +5 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# @atlaskit/rovo-agent-components
|
|
2
2
|
|
|
3
|
+
## 0.6.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#131981](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/131981)
|
|
8
|
+
[`ac354a1b52112`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ac354a1b52112) -
|
|
9
|
+
Adds streaming of LLM-generated contextual conversation starters
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#131981](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/131981)
|
|
14
|
+
[`32d80ef4b8f70`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32d80ef4b8f70) -
|
|
15
|
+
Change copy capitalization
|
|
16
|
+
|
|
17
|
+
## 0.5.0
|
|
18
|
+
|
|
19
|
+
### Minor Changes
|
|
20
|
+
|
|
21
|
+
- [`e1fa2f4a7dd08`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e1fa2f4a7dd08) -
|
|
22
|
+
[ux] Internal updates to typography.
|
|
23
|
+
|
|
24
|
+
### Patch Changes
|
|
25
|
+
|
|
26
|
+
- Updated dependencies
|
|
27
|
+
|
|
3
28
|
## 0.4.2
|
|
4
29
|
|
|
5
30
|
### Patch Changes
|
|
@@ -16,9 +16,9 @@ var buttonStyles = (0, _primitives.xcss)({
|
|
|
16
16
|
padding: 'space.100',
|
|
17
17
|
borderRadius: 'border.radius.200',
|
|
18
18
|
borderBottomRightRadius: "var(--ds-border-radius-050, 2px)",
|
|
19
|
+
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
20
|
+
fontWeight: "var(--ds-font-weight-medium, 500)",
|
|
19
21
|
lineHeight: '16px',
|
|
20
|
-
fontWeight: '500',
|
|
21
|
-
fontSize: '14px',
|
|
22
22
|
textOverflow: 'ellipsis',
|
|
23
23
|
whiteSpace: 'nowrap',
|
|
24
24
|
flexShrink: 1,
|
|
@@ -22,7 +22,7 @@ var clickableItemStyles = (0, _primitives.xcss)({
|
|
|
22
22
|
gap: 'space.050'
|
|
23
23
|
});
|
|
24
24
|
var countStyles = (0, _primitives.xcss)({
|
|
25
|
-
|
|
25
|
+
font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
26
26
|
display: 'flex',
|
|
27
27
|
alignItems: 'center',
|
|
28
28
|
gap: 'space.025'
|
|
@@ -75,7 +75,7 @@ var AgentProfileCreator = exports.AgentProfileCreator = function AgentProfileCre
|
|
|
75
75
|
return onCreatorLinkClick();
|
|
76
76
|
},
|
|
77
77
|
target: "_blank"
|
|
78
|
-
}, creator.name)
|
|
78
|
+
}, creator.name, ' ', creator.status === 'inactive' && formatMessage(_messages.messages.agentDeactivated))
|
|
79
79
|
});
|
|
80
80
|
}
|
|
81
81
|
if (creator.type === 'THIRD_PARTY') {
|
|
@@ -8,9 +8,14 @@ var _reactIntlNext = require("react-intl-next");
|
|
|
8
8
|
var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
|
|
9
9
|
agentCreatedBy: {
|
|
10
10
|
id: 'ai-mate.agent-profile-info.created-by',
|
|
11
|
-
defaultMessage: 'Rovo
|
|
11
|
+
defaultMessage: 'Rovo Agent by {creatorNameWithLink}',
|
|
12
12
|
description: 'Message to show who created this Rovo agent'
|
|
13
13
|
},
|
|
14
|
+
agentDeactivated: {
|
|
15
|
+
id: 'ai-mate.agent-profile-info.deactivated',
|
|
16
|
+
defaultMessage: '(deactivated)',
|
|
17
|
+
description: 'Message to show that this agent is deactivated'
|
|
18
|
+
},
|
|
14
19
|
starredCount: {
|
|
15
20
|
id: 'ai-mate.agent-profile-info.starred-count',
|
|
16
21
|
defaultMessage: '{count} starred',
|
|
@@ -7,9 +7,9 @@ const buttonStyles = xcss({
|
|
|
7
7
|
padding: 'space.100',
|
|
8
8
|
borderRadius: 'border.radius.200',
|
|
9
9
|
borderBottomRightRadius: "var(--ds-border-radius-050, 2px)",
|
|
10
|
+
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
11
|
+
fontWeight: "var(--ds-font-weight-medium, 500)",
|
|
10
12
|
lineHeight: '16px',
|
|
11
|
-
fontWeight: '500',
|
|
12
|
-
fontSize: '14px',
|
|
13
13
|
textOverflow: 'ellipsis',
|
|
14
14
|
whiteSpace: 'nowrap',
|
|
15
15
|
flexShrink: 1,
|
|
@@ -15,7 +15,7 @@ const clickableItemStyles = xcss({
|
|
|
15
15
|
gap: 'space.050'
|
|
16
16
|
});
|
|
17
17
|
const countStyles = xcss({
|
|
18
|
-
|
|
18
|
+
font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
19
19
|
display: 'flex',
|
|
20
20
|
alignItems: 'center',
|
|
21
21
|
gap: 'space.025'
|
|
@@ -68,7 +68,7 @@ export const AgentProfileCreator = ({
|
|
|
68
68
|
href: creator.profileLink,
|
|
69
69
|
onClick: () => onCreatorLinkClick(),
|
|
70
70
|
target: "_blank"
|
|
71
|
-
}, creator.name)
|
|
71
|
+
}, creator.name, ' ', creator.status === 'inactive' && formatMessage(messages.agentDeactivated))
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
74
|
if (creator.type === 'THIRD_PARTY') {
|
|
@@ -2,9 +2,14 @@ import { defineMessages } from 'react-intl-next';
|
|
|
2
2
|
export const messages = defineMessages({
|
|
3
3
|
agentCreatedBy: {
|
|
4
4
|
id: 'ai-mate.agent-profile-info.created-by',
|
|
5
|
-
defaultMessage: 'Rovo
|
|
5
|
+
defaultMessage: 'Rovo Agent by {creatorNameWithLink}',
|
|
6
6
|
description: 'Message to show who created this Rovo agent'
|
|
7
7
|
},
|
|
8
|
+
agentDeactivated: {
|
|
9
|
+
id: 'ai-mate.agent-profile-info.deactivated',
|
|
10
|
+
defaultMessage: '(deactivated)',
|
|
11
|
+
description: 'Message to show that this agent is deactivated'
|
|
12
|
+
},
|
|
8
13
|
starredCount: {
|
|
9
14
|
id: 'ai-mate.agent-profile-info.starred-count',
|
|
10
15
|
defaultMessage: '{count} starred',
|
|
@@ -9,9 +9,9 @@ var buttonStyles = xcss({
|
|
|
9
9
|
padding: 'space.100',
|
|
10
10
|
borderRadius: 'border.radius.200',
|
|
11
11
|
borderBottomRightRadius: "var(--ds-border-radius-050, 2px)",
|
|
12
|
+
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
13
|
+
fontWeight: "var(--ds-font-weight-medium, 500)",
|
|
12
14
|
lineHeight: '16px',
|
|
13
|
-
fontWeight: '500',
|
|
14
|
-
fontSize: '14px',
|
|
15
15
|
textOverflow: 'ellipsis',
|
|
16
16
|
whiteSpace: 'nowrap',
|
|
17
17
|
flexShrink: 1,
|
|
@@ -15,7 +15,7 @@ var clickableItemStyles = xcss({
|
|
|
15
15
|
gap: 'space.050'
|
|
16
16
|
});
|
|
17
17
|
var countStyles = xcss({
|
|
18
|
-
|
|
18
|
+
font: "var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, system-ui, \"Helvetica Neue\", sans-serif)",
|
|
19
19
|
display: 'flex',
|
|
20
20
|
alignItems: 'center',
|
|
21
21
|
gap: 'space.025'
|
|
@@ -68,7 +68,7 @@ export var AgentProfileCreator = function AgentProfileCreator(_ref) {
|
|
|
68
68
|
return onCreatorLinkClick();
|
|
69
69
|
},
|
|
70
70
|
target: "_blank"
|
|
71
|
-
}, creator.name)
|
|
71
|
+
}, creator.name, ' ', creator.status === 'inactive' && formatMessage(messages.agentDeactivated))
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
74
|
if (creator.type === 'THIRD_PARTY') {
|
|
@@ -2,9 +2,14 @@ import { defineMessages } from 'react-intl-next';
|
|
|
2
2
|
export var messages = defineMessages({
|
|
3
3
|
agentCreatedBy: {
|
|
4
4
|
id: 'ai-mate.agent-profile-info.created-by',
|
|
5
|
-
defaultMessage: 'Rovo
|
|
5
|
+
defaultMessage: 'Rovo Agent by {creatorNameWithLink}',
|
|
6
6
|
description: 'Message to show who created this Rovo agent'
|
|
7
7
|
},
|
|
8
|
+
agentDeactivated: {
|
|
9
|
+
id: 'ai-mate.agent-profile-info.deactivated',
|
|
10
|
+
defaultMessage: '(deactivated)',
|
|
11
|
+
description: 'Message to show that this agent is deactivated'
|
|
12
|
+
},
|
|
8
13
|
starredCount: {
|
|
9
14
|
id: 'ai-mate.agent-profile-info.starred-count',
|
|
10
15
|
defaultMessage: '{count} starred',
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { AgentProfileInfo, AgentProfileCreator, AgentStarCount } from './ui/agent-profile-info';
|
|
2
2
|
export { StarIconButton } from './common/ui/star-icon-button';
|
|
3
|
-
export { AgentConversationStarters, ConversationStarters, type AgentConversationStartersProps, getConversationStarters, } from './ui/agent-conversation-starters';
|
|
3
|
+
export { AgentConversationStarters, ConversationStarters, type AgentConversationStartersProps, type ConversationStartersProps, getConversationStarters, } from './ui/agent-conversation-starters';
|
|
4
4
|
export { ChatPill, type ChatPillProps } from './common/ui/chat-pill';
|
|
5
5
|
export { ChatPillIcon } from './common/ui/chat-icon';
|
|
6
6
|
export { ShowIcon } from './common/ui/show-icon';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { AgentProfileInfo, AgentProfileCreator, AgentStarCount } from './ui/agent-profile-info';
|
|
2
2
|
export { StarIconButton } from './common/ui/star-icon-button';
|
|
3
|
-
export { AgentConversationStarters, ConversationStarters, type AgentConversationStartersProps, getConversationStarters, } from './ui/agent-conversation-starters';
|
|
3
|
+
export { AgentConversationStarters, ConversationStarters, type AgentConversationStartersProps, type ConversationStartersProps, getConversationStarters, } from './ui/agent-conversation-starters';
|
|
4
4
|
export { ChatPill, type ChatPillProps } from './common/ui/chat-pill';
|
|
5
5
|
export { ChatPillIcon } from './common/ui/chat-icon';
|
|
6
6
|
export { ShowIcon } from './common/ui/show-icon';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/rovo-agent-components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.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",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@atlaskit/avatar": "^21.15.0",
|
|
40
40
|
"@atlaskit/button": "^20.1.0",
|
|
41
41
|
"@atlaskit/heading": "^2.4.3",
|
|
42
|
-
"@atlaskit/icon": "^22.
|
|
42
|
+
"@atlaskit/icon": "^22.15.0",
|
|
43
43
|
"@atlaskit/logo": "^14.2.0",
|
|
44
44
|
"@atlaskit/primitives": "^12.0.0",
|
|
45
45
|
"@atlaskit/skeleton": "^0.5.0",
|