@atlaskit/rovo-agent-components 2.11.3 → 2.11.4

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,11 @@
1
1
  # @atlaskit/rovo-agent-components
2
2
 
3
+ ## 2.11.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 2.11.3
4
10
 
5
11
  ### Patch Changes
@@ -19,6 +19,7 @@ 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");
22
23
  var _compiled = require("@atlaskit/primitives/compiled");
23
24
  var _chatIcon = require("../../common/ui/chat-icon");
24
25
  var _messages = _interopRequireDefault(require("./messages"));
@@ -183,7 +184,8 @@ var AgentDropdownMenu = exports.AgentDropdownMenu = function AgentDropdownMenu(_
183
184
  if (!args.isOpen) {
184
185
  setHasBeenCopied(false);
185
186
  }
186
- }
187
+ },
188
+ shouldRenderToParent: (0, _platformFeatureFlags.fg)('should-render-to-parent-should-be-true-ai-mate')
187
189
  }, /*#__PURE__*/_react.default.createElement(_dropdownMenu.DropdownItemGroup, null, showViewAgentOption && /*#__PURE__*/_react.default.createElement(_dropdownMenu.DropdownItem, {
188
190
  onClick: onViewAgentClick
189
191
  }, formatMessage(_messages.default.viewAgent)), doesAgentHaveIdentityAccountId && onViewAgentFullProfileClick && /*#__PURE__*/_react.default.createElement(_dropdownMenu.DropdownItem, {
@@ -7,6 +7,7 @@ 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';
10
11
  import { Box, Inline } from '@atlaskit/primitives/compiled';
11
12
  import { ChatPillIcon } from '../../common/ui/chat-icon';
12
13
  import messages from './messages';
@@ -140,7 +141,8 @@ export const AgentDropdownMenu = ({
140
141
  if (!args.isOpen) {
141
142
  setHasBeenCopied(false);
142
143
  }
143
- }
144
+ },
145
+ shouldRenderToParent: fg('should-render-to-parent-should-be-true-ai-mate')
144
146
  }, /*#__PURE__*/React.createElement(DropdownItemGroup, null, showViewAgentOption && /*#__PURE__*/React.createElement(DropdownItem, {
145
147
  onClick: onViewAgentClick
146
148
  }, formatMessage(messages.viewAgent)), doesAgentHaveIdentityAccountId && onViewAgentFullProfileClick && /*#__PURE__*/React.createElement(DropdownItem, {
@@ -12,6 +12,7 @@ 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';
15
16
  import { Box, Inline } from '@atlaskit/primitives/compiled';
16
17
  import { ChatPillIcon } from '../../common/ui/chat-icon';
17
18
  import messages from './messages';
@@ -174,7 +175,8 @@ export var AgentDropdownMenu = function AgentDropdownMenu(_ref2) {
174
175
  if (!args.isOpen) {
175
176
  setHasBeenCopied(false);
176
177
  }
177
- }
178
+ },
179
+ shouldRenderToParent: fg('should-render-to-parent-should-be-true-ai-mate')
178
180
  }, /*#__PURE__*/React.createElement(DropdownItemGroup, null, showViewAgentOption && /*#__PURE__*/React.createElement(DropdownItem, {
179
181
  onClick: onViewAgentClick
180
182
  }, formatMessage(messages.viewAgent)), doesAgentHaveIdentityAccountId && onViewAgentFullProfileClick && /*#__PURE__*/React.createElement(DropdownItem, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/rovo-agent-components",
3
- "version": "2.11.3",
3
+ "version": "2.11.4",
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,15 +42,15 @@
42
42
  "@atlaskit/css": "^0.10.0",
43
43
  "@atlaskit/dropdown-menu": "^16.0.0",
44
44
  "@atlaskit/heading": "^5.2.0",
45
- "@atlaskit/icon": "^26.4.0",
45
+ "@atlaskit/icon": "^27.0.0",
46
46
  "@atlaskit/legacy-custom-icons": "^0.22.0",
47
47
  "@atlaskit/link": "^3.2.0",
48
- "@atlaskit/logo": "^19.0.0",
48
+ "@atlaskit/logo": "^19.1.0",
49
49
  "@atlaskit/platform-feature-flags": "^1.1.0",
50
50
  "@atlaskit/primitives": "^14.8.0",
51
51
  "@atlaskit/skeleton": "^2.0.0",
52
- "@atlaskit/tokens": "^5.0.0",
53
- "@atlaskit/tooltip": "^20.2.0",
52
+ "@atlaskit/tokens": "^5.2.0",
53
+ "@atlaskit/tooltip": "^20.3.0",
54
54
  "@babel/runtime": "^7.0.0",
55
55
  "@compiled/react": "^0.18.3",
56
56
  "react-intl-next": "npm:react-intl@^5.18.1",
@@ -116,6 +116,9 @@
116
116
  },
117
117
  "dst-a11y__replace-anchor-with-link__ai-mate": {
118
118
  "type": "boolean"
119
+ },
120
+ "should-render-to-parent-should-be-true-ai-mate": {
121
+ "type": "boolean"
119
122
  }
120
123
  }
121
124
  }