@atlaskit/rovo-agent-components 3.14.0 → 3.15.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
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @atlaskit/rovo-agent-components
|
|
2
2
|
|
|
3
|
+
## 3.15.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`81f7a388b27a2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/81f7a388b27a2) -
|
|
8
|
+
clean up expandable_subsection_styling_fix fg and a11y_agents_fixes
|
|
9
|
+
|
|
3
10
|
## 3.14.0
|
|
4
11
|
|
|
5
12
|
### Minor Changes
|
|
@@ -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"));
|
|
@@ -156,7 +155,7 @@ var AgentDropdownMenu = exports.AgentDropdownMenu = function AgentDropdownMenu(_
|
|
|
156
155
|
props = (0, _objectWithoutProperties2.default)(_ref4, _excluded);
|
|
157
156
|
return /*#__PURE__*/_react.default.createElement(_new.IconButton, (0, _extends2.default)({}, props, {
|
|
158
157
|
icon: _showMoreHorizontalMore.default,
|
|
159
|
-
label: agentName
|
|
158
|
+
label: agentName ? formatMessage(_messages.default.moreActionsForLabel, {
|
|
160
159
|
agentName: agentName
|
|
161
160
|
}) : formatMessage(_messages.default.moreActionsLabel),
|
|
162
161
|
ref: triggerRef,
|
|
@@ -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';
|
|
@@ -117,7 +116,7 @@ export const AgentDropdownMenu = ({
|
|
|
117
116
|
...props
|
|
118
117
|
}) => /*#__PURE__*/React.createElement(IconButton, _extends({}, props, {
|
|
119
118
|
icon: MoreIcon,
|
|
120
|
-
label: agentName
|
|
119
|
+
label: agentName ? formatMessage(messages.moreActionsForLabel, {
|
|
121
120
|
agentName: agentName
|
|
122
121
|
}) : formatMessage(messages.moreActionsLabel),
|
|
123
122
|
ref: triggerRef,
|
|
@@ -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';
|
|
@@ -147,7 +146,7 @@ export var AgentDropdownMenu = function AgentDropdownMenu(_ref2) {
|
|
|
147
146
|
props = _objectWithoutProperties(_ref4, _excluded);
|
|
148
147
|
return /*#__PURE__*/React.createElement(IconButton, _extends({}, props, {
|
|
149
148
|
icon: MoreIcon,
|
|
150
|
-
label: agentName
|
|
149
|
+
label: agentName ? formatMessage(messages.moreActionsForLabel, {
|
|
151
150
|
agentName: agentName
|
|
152
151
|
}) : formatMessage(messages.moreActionsLabel),
|
|
153
152
|
ref: triggerRef,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/rovo-agent-components",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.15.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",
|
|
@@ -117,9 +117,6 @@
|
|
|
117
117
|
"should-render-to-parent-should-be-true-ai-mate": {
|
|
118
118
|
"type": "boolean"
|
|
119
119
|
},
|
|
120
|
-
"a11y_agents_fixes": {
|
|
121
|
-
"type": "boolean"
|
|
122
|
-
},
|
|
123
120
|
"agent_studio_permissions_settings_m3_profiles": {
|
|
124
121
|
"type": "boolean"
|
|
125
122
|
},
|