@atlaskit/rovo-agent-components 3.30.0 → 3.31.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 +7 -0
- package/dist/cjs/ui/agent-dropdown-menu/messages.js +0 -10
- package/dist/cjs/ui/agent-verification-dropdown-item/index.js +1 -1
- package/dist/cjs/ui/agent-verification-dropdown-item/messages.js +6 -6
- package/dist/es2019/ui/agent-dropdown-menu/messages.js +0 -10
- package/dist/es2019/ui/agent-verification-dropdown-item/index.js +1 -1
- package/dist/es2019/ui/agent-verification-dropdown-item/messages.js +6 -6
- package/dist/esm/ui/agent-dropdown-menu/messages.js +0 -10
- package/dist/esm/ui/agent-verification-dropdown-item/index.js +1 -1
- package/dist/esm/ui/agent-verification-dropdown-item/messages.js +6 -6
- package/dist/types/ui/agent-dropdown-menu/messages.d.ts +0 -10
- package/dist/types/ui/agent-verification-dropdown-item/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/agent-dropdown-menu/messages.d.ts +0 -10
- package/dist/types-ts4.5/ui/agent-verification-dropdown-item/index.d.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @atlaskit/rovo-agent-components
|
|
2
2
|
|
|
3
|
+
## 3.31.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`8f3aaeeed50ec`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8f3aaeeed50ec) -
|
|
8
|
+
Change copy from 'Unverify agent' to 'Remove verification'
|
|
9
|
+
|
|
3
10
|
## 3.30.0
|
|
4
11
|
|
|
5
12
|
### Minor Changes
|
|
@@ -60,15 +60,5 @@ var _default = exports.default = (0, _reactIntlNext.defineMessages)({
|
|
|
60
60
|
id: 'rovo-chat.view-agents.use-template-button',
|
|
61
61
|
defaultMessage: 'Use template',
|
|
62
62
|
description: 'Button to copy and use a template'
|
|
63
|
-
},
|
|
64
|
-
verifyAgent: {
|
|
65
|
-
id: 'rovo-chat.view-agents.verify-agent',
|
|
66
|
-
defaultMessage: 'Verify agent',
|
|
67
|
-
description: 'Button to verify an agent'
|
|
68
|
-
},
|
|
69
|
-
unverifyAgent: {
|
|
70
|
-
id: 'rovo-chat.view-agents.unverify-agent',
|
|
71
|
-
defaultMessage: 'Unverify agent',
|
|
72
|
-
description: 'Button to unverify an agent'
|
|
73
63
|
}
|
|
74
64
|
});
|
|
@@ -22,7 +22,7 @@ var _messages = _interopRequireDefault(require("./messages"));
|
|
|
22
22
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
23
23
|
/**
|
|
24
24
|
* A dropdown item for verifying or unverifying an agent.
|
|
25
|
-
* Renders "Verify agent" if the agent is not verified, or "
|
|
25
|
+
* Renders "Verify agent" if the agent is not verified, or "Remove verification" if it is.
|
|
26
26
|
* Returns null if the user doesn't have permission to govern agents or the feature flag is off.
|
|
27
27
|
*/
|
|
28
28
|
var AgentVerificationDropdownItem = exports.AgentVerificationDropdownItem = function AgentVerificationDropdownItem(_ref) {
|
|
@@ -13,8 +13,8 @@ var _default = exports.default = (0, _reactIntlNext.defineMessages)({
|
|
|
13
13
|
},
|
|
14
14
|
unverifyAgentLabel: {
|
|
15
15
|
id: 'rovo-agent-components.agent-verification-dropdown-item.unverify-agent',
|
|
16
|
-
defaultMessage: '
|
|
17
|
-
description: 'Label for
|
|
16
|
+
defaultMessage: 'Remove verification',
|
|
17
|
+
description: 'Label for remove verification dropdown menu item'
|
|
18
18
|
},
|
|
19
19
|
verifySuccessTitle: {
|
|
20
20
|
id: 'rovo-agent-components.agent-verification-dropdown-item.verify-success-title',
|
|
@@ -23,8 +23,8 @@ var _default = exports.default = (0, _reactIntlNext.defineMessages)({
|
|
|
23
23
|
},
|
|
24
24
|
unverifySuccessTitle: {
|
|
25
25
|
id: 'rovo-agent-components.agent-verification-dropdown-item.unverify-success-title',
|
|
26
|
-
defaultMessage: '
|
|
27
|
-
description: 'Title for success flag when agent is
|
|
26
|
+
defaultMessage: 'Verification removed',
|
|
27
|
+
description: 'Title for success flag when agent verification is removed'
|
|
28
28
|
},
|
|
29
29
|
verifyErrorTitle: {
|
|
30
30
|
id: 'rovo-agent-components.agent-verification-dropdown-item.verify-error-title',
|
|
@@ -33,8 +33,8 @@ var _default = exports.default = (0, _reactIntlNext.defineMessages)({
|
|
|
33
33
|
},
|
|
34
34
|
unverifyErrorTitle: {
|
|
35
35
|
id: 'rovo-agent-components.agent-verification-dropdown-item.unverify-error-title',
|
|
36
|
-
defaultMessage: 'Failed to
|
|
37
|
-
description: 'Title for error flag when
|
|
36
|
+
defaultMessage: 'Failed to remove verification',
|
|
37
|
+
description: 'Title for error flag when removing agent verification fails'
|
|
38
38
|
},
|
|
39
39
|
errorDescription: {
|
|
40
40
|
id: 'rovo-agent-components.agent-verification-dropdown-item.error-description',
|
|
@@ -54,15 +54,5 @@ export default defineMessages({
|
|
|
54
54
|
id: 'rovo-chat.view-agents.use-template-button',
|
|
55
55
|
defaultMessage: 'Use template',
|
|
56
56
|
description: 'Button to copy and use a template'
|
|
57
|
-
},
|
|
58
|
-
verifyAgent: {
|
|
59
|
-
id: 'rovo-chat.view-agents.verify-agent',
|
|
60
|
-
defaultMessage: 'Verify agent',
|
|
61
|
-
description: 'Button to verify an agent'
|
|
62
|
-
},
|
|
63
|
-
unverifyAgent: {
|
|
64
|
-
id: 'rovo-chat.view-agents.unverify-agent',
|
|
65
|
-
defaultMessage: 'Unverify agent',
|
|
66
|
-
description: 'Button to unverify an agent'
|
|
67
57
|
}
|
|
68
58
|
});
|
|
@@ -12,7 +12,7 @@ import { AgentActions, useRovoAgentActionAnalytics } from '@atlaskit/rovo-agent-
|
|
|
12
12
|
import messages from './messages';
|
|
13
13
|
/**
|
|
14
14
|
* A dropdown item for verifying or unverifying an agent.
|
|
15
|
-
* Renders "Verify agent" if the agent is not verified, or "
|
|
15
|
+
* Renders "Verify agent" if the agent is not verified, or "Remove verification" if it is.
|
|
16
16
|
* Returns null if the user doesn't have permission to govern agents or the feature flag is off.
|
|
17
17
|
*/
|
|
18
18
|
export const AgentVerificationDropdownItem = ({
|
|
@@ -7,8 +7,8 @@ export default defineMessages({
|
|
|
7
7
|
},
|
|
8
8
|
unverifyAgentLabel: {
|
|
9
9
|
id: 'rovo-agent-components.agent-verification-dropdown-item.unverify-agent',
|
|
10
|
-
defaultMessage: '
|
|
11
|
-
description: 'Label for
|
|
10
|
+
defaultMessage: 'Remove verification',
|
|
11
|
+
description: 'Label for remove verification dropdown menu item'
|
|
12
12
|
},
|
|
13
13
|
verifySuccessTitle: {
|
|
14
14
|
id: 'rovo-agent-components.agent-verification-dropdown-item.verify-success-title',
|
|
@@ -17,8 +17,8 @@ export default defineMessages({
|
|
|
17
17
|
},
|
|
18
18
|
unverifySuccessTitle: {
|
|
19
19
|
id: 'rovo-agent-components.agent-verification-dropdown-item.unverify-success-title',
|
|
20
|
-
defaultMessage: '
|
|
21
|
-
description: 'Title for success flag when agent is
|
|
20
|
+
defaultMessage: 'Verification removed',
|
|
21
|
+
description: 'Title for success flag when agent verification is removed'
|
|
22
22
|
},
|
|
23
23
|
verifyErrorTitle: {
|
|
24
24
|
id: 'rovo-agent-components.agent-verification-dropdown-item.verify-error-title',
|
|
@@ -27,8 +27,8 @@ export default defineMessages({
|
|
|
27
27
|
},
|
|
28
28
|
unverifyErrorTitle: {
|
|
29
29
|
id: 'rovo-agent-components.agent-verification-dropdown-item.unverify-error-title',
|
|
30
|
-
defaultMessage: 'Failed to
|
|
31
|
-
description: 'Title for error flag when
|
|
30
|
+
defaultMessage: 'Failed to remove verification',
|
|
31
|
+
description: 'Title for error flag when removing agent verification fails'
|
|
32
32
|
},
|
|
33
33
|
errorDescription: {
|
|
34
34
|
id: 'rovo-agent-components.agent-verification-dropdown-item.error-description',
|
|
@@ -54,15 +54,5 @@ export default defineMessages({
|
|
|
54
54
|
id: 'rovo-chat.view-agents.use-template-button',
|
|
55
55
|
defaultMessage: 'Use template',
|
|
56
56
|
description: 'Button to copy and use a template'
|
|
57
|
-
},
|
|
58
|
-
verifyAgent: {
|
|
59
|
-
id: 'rovo-chat.view-agents.verify-agent',
|
|
60
|
-
defaultMessage: 'Verify agent',
|
|
61
|
-
description: 'Button to verify an agent'
|
|
62
|
-
},
|
|
63
|
-
unverifyAgent: {
|
|
64
|
-
id: 'rovo-chat.view-agents.unverify-agent',
|
|
65
|
-
defaultMessage: 'Unverify agent',
|
|
66
|
-
description: 'Button to unverify an agent'
|
|
67
57
|
}
|
|
68
58
|
});
|
|
@@ -13,7 +13,7 @@ import { AgentActions, useRovoAgentActionAnalytics } from '@atlaskit/rovo-agent-
|
|
|
13
13
|
import messages from './messages';
|
|
14
14
|
/**
|
|
15
15
|
* A dropdown item for verifying or unverifying an agent.
|
|
16
|
-
* Renders "Verify agent" if the agent is not verified, or "
|
|
16
|
+
* Renders "Verify agent" if the agent is not verified, or "Remove verification" if it is.
|
|
17
17
|
* Returns null if the user doesn't have permission to govern agents or the feature flag is off.
|
|
18
18
|
*/
|
|
19
19
|
export var AgentVerificationDropdownItem = function AgentVerificationDropdownItem(_ref) {
|
|
@@ -7,8 +7,8 @@ export default defineMessages({
|
|
|
7
7
|
},
|
|
8
8
|
unverifyAgentLabel: {
|
|
9
9
|
id: 'rovo-agent-components.agent-verification-dropdown-item.unverify-agent',
|
|
10
|
-
defaultMessage: '
|
|
11
|
-
description: 'Label for
|
|
10
|
+
defaultMessage: 'Remove verification',
|
|
11
|
+
description: 'Label for remove verification dropdown menu item'
|
|
12
12
|
},
|
|
13
13
|
verifySuccessTitle: {
|
|
14
14
|
id: 'rovo-agent-components.agent-verification-dropdown-item.verify-success-title',
|
|
@@ -17,8 +17,8 @@ export default defineMessages({
|
|
|
17
17
|
},
|
|
18
18
|
unverifySuccessTitle: {
|
|
19
19
|
id: 'rovo-agent-components.agent-verification-dropdown-item.unverify-success-title',
|
|
20
|
-
defaultMessage: '
|
|
21
|
-
description: 'Title for success flag when agent is
|
|
20
|
+
defaultMessage: 'Verification removed',
|
|
21
|
+
description: 'Title for success flag when agent verification is removed'
|
|
22
22
|
},
|
|
23
23
|
verifyErrorTitle: {
|
|
24
24
|
id: 'rovo-agent-components.agent-verification-dropdown-item.verify-error-title',
|
|
@@ -27,8 +27,8 @@ export default defineMessages({
|
|
|
27
27
|
},
|
|
28
28
|
unverifyErrorTitle: {
|
|
29
29
|
id: 'rovo-agent-components.agent-verification-dropdown-item.unverify-error-title',
|
|
30
|
-
defaultMessage: 'Failed to
|
|
31
|
-
description: 'Title for error flag when
|
|
30
|
+
defaultMessage: 'Failed to remove verification',
|
|
31
|
+
description: 'Title for error flag when removing agent verification fails'
|
|
32
32
|
},
|
|
33
33
|
errorDescription: {
|
|
34
34
|
id: 'rovo-agent-components.agent-verification-dropdown-item.error-description',
|
|
@@ -54,15 +54,5 @@ declare const _default: {
|
|
|
54
54
|
readonly defaultMessage: "Use template";
|
|
55
55
|
readonly description: "Button to copy and use a template";
|
|
56
56
|
};
|
|
57
|
-
readonly verifyAgent: {
|
|
58
|
-
readonly id: "rovo-chat.view-agents.verify-agent";
|
|
59
|
-
readonly defaultMessage: "Verify agent";
|
|
60
|
-
readonly description: "Button to verify an agent";
|
|
61
|
-
};
|
|
62
|
-
readonly unverifyAgent: {
|
|
63
|
-
readonly id: "rovo-chat.view-agents.unverify-agent";
|
|
64
|
-
readonly defaultMessage: "Unverify agent";
|
|
65
|
-
readonly description: "Button to unverify an agent";
|
|
66
|
-
};
|
|
67
57
|
};
|
|
68
58
|
export default _default;
|
|
@@ -20,7 +20,7 @@ export type AgentVerificationDropdownItemProps = {
|
|
|
20
20
|
};
|
|
21
21
|
/**
|
|
22
22
|
* A dropdown item for verifying or unverifying an agent.
|
|
23
|
-
* Renders "Verify agent" if the agent is not verified, or "
|
|
23
|
+
* Renders "Verify agent" if the agent is not verified, or "Remove verification" if it is.
|
|
24
24
|
* Returns null if the user doesn't have permission to govern agents or the feature flag is off.
|
|
25
25
|
*/
|
|
26
26
|
export declare const AgentVerificationDropdownItem: ({ agentRef, userPermissionsRef, onClick, onVerificationSuccess, testId, }: AgentVerificationDropdownItemProps) => React.JSX.Element | null;
|
|
@@ -54,15 +54,5 @@ declare const _default: {
|
|
|
54
54
|
readonly defaultMessage: "Use template";
|
|
55
55
|
readonly description: "Button to copy and use a template";
|
|
56
56
|
};
|
|
57
|
-
readonly verifyAgent: {
|
|
58
|
-
readonly id: "rovo-chat.view-agents.verify-agent";
|
|
59
|
-
readonly defaultMessage: "Verify agent";
|
|
60
|
-
readonly description: "Button to verify an agent";
|
|
61
|
-
};
|
|
62
|
-
readonly unverifyAgent: {
|
|
63
|
-
readonly id: "rovo-chat.view-agents.unverify-agent";
|
|
64
|
-
readonly defaultMessage: "Unverify agent";
|
|
65
|
-
readonly description: "Button to unverify an agent";
|
|
66
|
-
};
|
|
67
57
|
};
|
|
68
58
|
export default _default;
|
|
@@ -20,7 +20,7 @@ export type AgentVerificationDropdownItemProps = {
|
|
|
20
20
|
};
|
|
21
21
|
/**
|
|
22
22
|
* A dropdown item for verifying or unverifying an agent.
|
|
23
|
-
* Renders "Verify agent" if the agent is not verified, or "
|
|
23
|
+
* Renders "Verify agent" if the agent is not verified, or "Remove verification" if it is.
|
|
24
24
|
* Returns null if the user doesn't have permission to govern agents or the feature flag is off.
|
|
25
25
|
*/
|
|
26
26
|
export declare const AgentVerificationDropdownItem: ({ agentRef, userPermissionsRef, onClick, onVerificationSuccess, testId, }: AgentVerificationDropdownItemProps) => 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.31.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",
|