@atlaskit/rovo-agent-components 1.17.0 → 1.18.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.
Files changed (72) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/cjs/common/ui/star-icon-button/index.js +3 -1
  3. package/dist/cjs/ui/agent-dropdown-menu/index.js +2 -4
  4. package/dist/es2019/common/ui/star-icon-button/index.js +3 -1
  5. package/dist/es2019/ui/agent-dropdown-menu/index.js +2 -4
  6. package/dist/esm/common/ui/star-icon-button/index.js +3 -1
  7. package/dist/esm/ui/agent-dropdown-menu/index.js +2 -4
  8. package/dist/types/common/ui/chat-icon/index.d.ts +2 -2
  9. package/dist/types/common/ui/hidden-icon/index.d.ts +2 -2
  10. package/dist/types/common/ui/link-icon-button/index.d.ts +2 -2
  11. package/dist/types/common/ui/show-icon/index.d.ts +2 -2
  12. package/dist/types/common/ui/star-icon-button/index.d.ts +2 -2
  13. package/dist/types/ui/agent-avatar/generated-avatars/assets/auto-dev.d.ts +2 -2
  14. package/dist/types/ui/agent-avatar/generated-avatars/assets/auto-fix.d.ts +2 -2
  15. package/dist/types/ui/agent-avatar/generated-avatars/assets/auto-review.d.ts +2 -2
  16. package/dist/types/ui/agent-avatar/generated-avatars/assets/backlog-buddy.d.ts +2 -2
  17. package/dist/types/ui/agent-avatar/generated-avatars/assets/comms-crafter.d.ts +2 -2
  18. package/dist/types/ui/agent-avatar/generated-avatars/assets/culture.d.ts +2 -2
  19. package/dist/types/ui/agent-avatar/generated-avatars/assets/customer-insight.d.ts +2 -2
  20. package/dist/types/ui/agent-avatar/generated-avatars/assets/decision-director.d.ts +2 -2
  21. package/dist/types/ui/agent-avatar/generated-avatars/assets/feature-flag-avatar.d.ts +2 -2
  22. package/dist/types/ui/agent-avatar/generated-avatars/assets/generic-avatar.d.ts +2 -2
  23. package/dist/types/ui/agent-avatar/generated-avatars/assets/hire-writer.d.ts +2 -2
  24. package/dist/types/ui/agent-avatar/generated-avatars/assets/marketing-message-maestro.d.ts +2 -2
  25. package/dist/types/ui/agent-avatar/generated-avatars/assets/my-user-manual.d.ts +2 -2
  26. package/dist/types/ui/agent-avatar/generated-avatars/assets/okr-oracle.d.ts +2 -2
  27. package/dist/types/ui/agent-avatar/generated-avatars/assets/ops-agent.d.ts +2 -2
  28. package/dist/types/ui/agent-avatar/generated-avatars/assets/pitch-perfector.d.ts +2 -2
  29. package/dist/types/ui/agent-avatar/generated-avatars/assets/product-requirement.d.ts +2 -2
  30. package/dist/types/ui/agent-avatar/generated-avatars/assets/release-notes.d.ts +2 -2
  31. package/dist/types/ui/agent-avatar/generated-avatars/assets/research-scout.d.ts +2 -2
  32. package/dist/types/ui/agent-avatar/generated-avatars/assets/social-media-scribe.d.ts +2 -2
  33. package/dist/types/ui/agent-avatar/generated-avatars/assets/team-connection.d.ts +2 -2
  34. package/dist/types/ui/agent-avatar/generated-avatars/index.d.ts +3 -3
  35. package/dist/types/ui/agent-avatar/index.d.ts +2 -2
  36. package/dist/types/ui/agent-conversation-starters/index.d.ts +3 -3
  37. package/dist/types/ui/agent-dropdown-menu/index.d.ts +2 -2
  38. package/dist/types/ui/agent-profile-info/agent-star-count/index.d.ts +2 -2
  39. package/dist/types/ui/agent-profile-info/index.d.ts +2 -2
  40. package/dist/types-ts4.5/common/ui/chat-icon/index.d.ts +2 -2
  41. package/dist/types-ts4.5/common/ui/hidden-icon/index.d.ts +2 -2
  42. package/dist/types-ts4.5/common/ui/link-icon-button/index.d.ts +2 -2
  43. package/dist/types-ts4.5/common/ui/show-icon/index.d.ts +2 -2
  44. package/dist/types-ts4.5/common/ui/star-icon-button/index.d.ts +2 -2
  45. package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/assets/auto-dev.d.ts +2 -2
  46. package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/assets/auto-fix.d.ts +2 -2
  47. package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/assets/auto-review.d.ts +2 -2
  48. package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/assets/backlog-buddy.d.ts +2 -2
  49. package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/assets/comms-crafter.d.ts +2 -2
  50. package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/assets/culture.d.ts +2 -2
  51. package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/assets/customer-insight.d.ts +2 -2
  52. package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/assets/decision-director.d.ts +2 -2
  53. package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/assets/feature-flag-avatar.d.ts +2 -2
  54. package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/assets/generic-avatar.d.ts +2 -2
  55. package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/assets/hire-writer.d.ts +2 -2
  56. package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/assets/marketing-message-maestro.d.ts +2 -2
  57. package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/assets/my-user-manual.d.ts +2 -2
  58. package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/assets/okr-oracle.d.ts +2 -2
  59. package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/assets/ops-agent.d.ts +2 -2
  60. package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/assets/pitch-perfector.d.ts +2 -2
  61. package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/assets/product-requirement.d.ts +2 -2
  62. package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/assets/release-notes.d.ts +2 -2
  63. package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/assets/research-scout.d.ts +2 -2
  64. package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/assets/social-media-scribe.d.ts +2 -2
  65. package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/assets/team-connection.d.ts +2 -2
  66. package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/index.d.ts +3 -3
  67. package/dist/types-ts4.5/ui/agent-avatar/index.d.ts +2 -2
  68. package/dist/types-ts4.5/ui/agent-conversation-starters/index.d.ts +3 -3
  69. package/dist/types-ts4.5/ui/agent-dropdown-menu/index.d.ts +2 -2
  70. package/dist/types-ts4.5/ui/agent-profile-info/agent-star-count/index.d.ts +2 -2
  71. package/dist/types-ts4.5/ui/agent-profile-info/index.d.ts +2 -2
  72. package/package.json +10 -18
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @atlaskit/rovo-agent-components
2
2
 
3
+ ## 1.18.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#116674](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/116674)
8
+ [`c5129b867be43`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c5129b867be43) -
9
+ Cleanup FF
10
+
11
+ ## 1.17.1
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 1.17.0
4
18
 
5
19
  ### Minor Changes
@@ -54,7 +54,9 @@ var StarIconButton = exports.StarIconButton = function StarIconButton(_ref) {
54
54
  }) : /*#__PURE__*/_react.default.createElement(_starUnstarredStar.default, {
55
55
  LEGACY_size: "medium",
56
56
  spacing: "spacious",
57
- label: formatMessage(_messages.default.clickToFavouriteLabel),
57
+ label: formatMessage(_messages.default.clickToFavouriteLabel)
58
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage -- suppressed after fixing the eslint rule, as this wasn't reported before
59
+ ,
58
60
  color: 'var(--ds-text-accent-gray)'
59
61
  }));
60
62
  };
@@ -13,11 +13,9 @@ var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/
13
13
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
14
14
  var _react = _interopRequireWildcard(require("react"));
15
15
  var _reactIntlNext = require("react-intl-next");
16
- var _reactMagneticDi = require("react-magnetic-di");
17
16
  var _new = _interopRequireWildcard(require("@atlaskit/button/new"));
18
17
  var _dropdownMenu = _interopRequireWildcard(require("@atlaskit/dropdown-menu"));
19
18
  var _showMoreHorizontalMore = _interopRequireDefault(require("@atlaskit/icon/core/migration/show-more-horizontal--more"));
20
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
21
19
  var _primitives = require("@atlaskit/primitives");
22
20
  var _chatIcon = require("../../common/ui/chat-icon");
23
21
  var _messages = _interopRequireDefault(require("./messages"));
@@ -110,7 +108,7 @@ var AgentDropdownMenu = exports.AgentDropdownMenu = function AgentDropdownMenu(_
110
108
  return _regenerator.default.wrap(function _callee$(_context) {
111
109
  while (1) switch (_context.prev = _context.next) {
112
110
  case 0:
113
- if (!(!loadAgentPermissions || !(0, _platformFeatureFlags.fg)('rovo_use_agent_permissions'))) {
111
+ if (loadAgentPermissions) {
114
112
  _context.next = 4;
115
113
  break;
116
114
  }
@@ -199,7 +197,7 @@ var AgentDropdownMenu = exports.AgentDropdownMenu = function AgentDropdownMenu(_
199
197
  }
200
198
  }, /*#__PURE__*/_react.default.createElement(_dropdownMenu.DropdownItemGroup, null, showViewAgentOption && /*#__PURE__*/_react.default.createElement(_dropdownMenu.DropdownItem, {
201
199
  onClick: onViewAgentClick
202
- }, formatMessage(_messages.default.viewAgent)), doesAgentHaveIdentityAccountId && onViewAgentFullProfileClick && (0, _platformFeatureFlags.fg)('rovo_agent_profile_page') && /*#__PURE__*/_react.default.createElement(_dropdownMenu.DropdownItem, {
200
+ }, formatMessage(_messages.default.viewAgent)), doesAgentHaveIdentityAccountId && onViewAgentFullProfileClick && /*#__PURE__*/_react.default.createElement(_dropdownMenu.DropdownItem, {
203
201
  onClick: onViewAgentFullProfileClick
204
202
  }, formatMessage(_messages.default.viewAgentFullProfile)), !isForgeAgent && /*#__PURE__*/_react.default.createElement(_dropdownMenu.DropdownItem, {
205
203
  onClick: onDuplicateAgent
@@ -37,7 +37,9 @@ export const StarIconButton = ({
37
37
  }) : /*#__PURE__*/React.createElement(StarIcon, {
38
38
  LEGACY_size: "medium",
39
39
  spacing: "spacious",
40
- label: formatMessage(messages.clickToFavouriteLabel),
40
+ label: formatMessage(messages.clickToFavouriteLabel)
41
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage -- suppressed after fixing the eslint rule, as this wasn't reported before
42
+ ,
41
43
  color: 'var(--ds-text-accent-gray)'
42
44
  }));
43
45
  };
@@ -1,11 +1,9 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React, { useEffect, useState } from 'react';
3
3
  import { useIntl } from 'react-intl-next';
4
- import { di } from 'react-magnetic-di';
5
4
  import Button, { IconButton } from '@atlaskit/button/new';
6
5
  import DropdownMenu, { DropdownItem, DropdownItemGroup } from '@atlaskit/dropdown-menu';
7
6
  import MoreIcon from '@atlaskit/icon/core/migration/show-more-horizontal--more';
8
- import { fg } from '@atlaskit/platform-feature-flags';
9
7
  import { Box, Inline, xcss } from '@atlaskit/primitives';
10
8
  import { ChatPillIcon } from '../../common/ui/chat-icon';
11
9
  import messages from './messages';
@@ -81,7 +79,7 @@ export const AgentDropdownMenu = ({
81
79
  const [permissions, setPermissions] = useState();
82
80
  useEffect(() => {
83
81
  const fetchData = async () => {
84
- if (!loadAgentPermissions || !fg('rovo_use_agent_permissions')) {
82
+ if (!loadAgentPermissions) {
85
83
  const canEditDelete = isAgentCreatedByUser && !isForgeAgent;
86
84
  setPermissions({
87
85
  isEditEnabled: canEditDelete,
@@ -155,7 +153,7 @@ export const AgentDropdownMenu = ({
155
153
  }
156
154
  }, /*#__PURE__*/React.createElement(DropdownItemGroup, null, showViewAgentOption && /*#__PURE__*/React.createElement(DropdownItem, {
157
155
  onClick: onViewAgentClick
158
- }, formatMessage(messages.viewAgent)), doesAgentHaveIdentityAccountId && onViewAgentFullProfileClick && fg('rovo_agent_profile_page') && /*#__PURE__*/React.createElement(DropdownItem, {
156
+ }, formatMessage(messages.viewAgent)), doesAgentHaveIdentityAccountId && onViewAgentFullProfileClick && /*#__PURE__*/React.createElement(DropdownItem, {
159
157
  onClick: onViewAgentFullProfileClick
160
158
  }, formatMessage(messages.viewAgentFullProfile)), !isForgeAgent && /*#__PURE__*/React.createElement(DropdownItem, {
161
159
  onClick: onDuplicateAgent
@@ -44,7 +44,9 @@ export var StarIconButton = function StarIconButton(_ref) {
44
44
  }) : /*#__PURE__*/React.createElement(StarIcon, {
45
45
  LEGACY_size: "medium",
46
46
  spacing: "spacious",
47
- label: formatMessage(messages.clickToFavouriteLabel),
47
+ label: formatMessage(messages.clickToFavouriteLabel)
48
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage -- suppressed after fixing the eslint rule, as this wasn't reported before
49
+ ,
48
50
  color: 'var(--ds-text-accent-gray)'
49
51
  }));
50
52
  };
@@ -6,11 +6,9 @@ var _excluded = ["triggerRef"];
6
6
  import _regeneratorRuntime from "@babel/runtime/regenerator";
7
7
  import React, { useEffect, useState } from 'react';
8
8
  import { useIntl } from 'react-intl-next';
9
- import { di } from 'react-magnetic-di';
10
9
  import Button, { IconButton } from '@atlaskit/button/new';
11
10
  import DropdownMenu, { DropdownItem, DropdownItemGroup } from '@atlaskit/dropdown-menu';
12
11
  import MoreIcon from '@atlaskit/icon/core/migration/show-more-horizontal--more';
13
- import { fg } from '@atlaskit/platform-feature-flags';
14
12
  import { Box, Inline, xcss } from '@atlaskit/primitives';
15
13
  import { ChatPillIcon } from '../../common/ui/chat-icon';
16
14
  import messages from './messages';
@@ -100,7 +98,7 @@ export var AgentDropdownMenu = function AgentDropdownMenu(_ref2) {
100
98
  return _regeneratorRuntime.wrap(function _callee$(_context) {
101
99
  while (1) switch (_context.prev = _context.next) {
102
100
  case 0:
103
- if (!(!loadAgentPermissions || !fg('rovo_use_agent_permissions'))) {
101
+ if (loadAgentPermissions) {
104
102
  _context.next = 4;
105
103
  break;
106
104
  }
@@ -189,7 +187,7 @@ export var AgentDropdownMenu = function AgentDropdownMenu(_ref2) {
189
187
  }
190
188
  }, /*#__PURE__*/React.createElement(DropdownItemGroup, null, showViewAgentOption && /*#__PURE__*/React.createElement(DropdownItem, {
191
189
  onClick: onViewAgentClick
192
- }, formatMessage(messages.viewAgent)), doesAgentHaveIdentityAccountId && onViewAgentFullProfileClick && fg('rovo_agent_profile_page') && /*#__PURE__*/React.createElement(DropdownItem, {
190
+ }, formatMessage(messages.viewAgent)), doesAgentHaveIdentityAccountId && onViewAgentFullProfileClick && /*#__PURE__*/React.createElement(DropdownItem, {
193
191
  onClick: onViewAgentFullProfileClick
194
192
  }, formatMessage(messages.viewAgentFullProfile)), !isForgeAgent && /*#__PURE__*/React.createElement(DropdownItem, {
195
193
  onClick: onDuplicateAgent
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type IconProps } from '@atlaskit/icon';
3
- export declare const ChatPillIcon: (props: Omit<IconProps, 'label' | 'glyph'>) => JSX.Element;
3
+ export declare const ChatPillIcon: (props: Omit<IconProps, 'label' | 'glyph'>) => React.JSX.Element;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type IconProps } from '@atlaskit/icon';
3
- export declare const HiddenIcon: (props: Omit<IconProps, 'glyph'>) => JSX.Element;
3
+ export declare const HiddenIcon: (props: Omit<IconProps, 'glyph'>) => React.JSX.Element;
@@ -1,5 +1,5 @@
1
- import { type KeyboardEvent, type MouseEvent } from 'react';
1
+ import React, { type KeyboardEvent, type MouseEvent } from 'react';
2
2
  export declare const LinkIconButton: ({ handleCopy, visible, }: {
3
3
  handleCopy: (e: MouseEvent<Element, globalThis.MouseEvent> | KeyboardEvent<Element>) => void;
4
4
  visible?: boolean | undefined;
5
- }) => JSX.Element;
5
+ }) => React.JSX.Element;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type IconProps } from '@atlaskit/icon';
3
- export declare const ShowIcon: (props: Omit<IconProps, 'glyph'>) => JSX.Element;
3
+ export declare const ShowIcon: (props: Omit<IconProps, 'glyph'>) => React.JSX.Element;
@@ -1,6 +1,6 @@
1
- import { type KeyboardEvent, type MouseEvent } from 'react';
1
+ import React, { type KeyboardEvent, type MouseEvent } from 'react';
2
2
  export declare const StarIconButton: ({ isStarred, handleToggle, visible, }: {
3
3
  isStarred: boolean;
4
4
  handleToggle: (e: MouseEvent<Element, globalThis.MouseEvent> | KeyboardEvent<Element>) => void;
5
5
  visible?: boolean | undefined;
6
- }) => JSX.Element;
6
+ }) => React.JSX.Element;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type AvatarIconProps } from './types';
3
- declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => JSX.Element;
3
+ declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => React.JSX.Element;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type AvatarIconProps } from './types';
3
- declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => JSX.Element;
3
+ declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => React.JSX.Element;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type AvatarIconProps } from './types';
3
- declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => JSX.Element;
3
+ declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => React.JSX.Element;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type AvatarIconProps } from './types';
3
- declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => JSX.Element;
3
+ declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => React.JSX.Element;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type AvatarIconProps } from './types';
3
- declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => JSX.Element;
3
+ declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => React.JSX.Element;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type AvatarIconProps } from './types';
3
- declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => JSX.Element;
3
+ declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => React.JSX.Element;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type AvatarIconProps } from './types';
3
- declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => JSX.Element;
3
+ declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => React.JSX.Element;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type AvatarIconProps } from './types';
3
- declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => JSX.Element;
3
+ declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => React.JSX.Element;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type AvatarIconProps } from './types';
3
- declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => JSX.Element;
3
+ declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => React.JSX.Element;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type AvatarIconProps } from './types';
3
- declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => JSX.Element;
3
+ declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => React.JSX.Element;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type AvatarIconProps } from './types';
3
- declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => JSX.Element;
3
+ declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => React.JSX.Element;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type AvatarIconProps } from './types';
3
- declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => JSX.Element;
3
+ declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => React.JSX.Element;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type AvatarIconProps } from './types';
3
- declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => JSX.Element;
3
+ declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => React.JSX.Element;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type AvatarIconProps } from './types';
3
- declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => JSX.Element;
3
+ declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => React.JSX.Element;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type AvatarIconProps } from './types';
3
- declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => JSX.Element;
3
+ declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => React.JSX.Element;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type AvatarIconProps } from './types';
3
- declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => JSX.Element;
3
+ declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => React.JSX.Element;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type AvatarIconProps } from './types';
3
- declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => JSX.Element;
3
+ declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => React.JSX.Element;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type AvatarIconProps } from './types';
3
- declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => JSX.Element;
3
+ declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => React.JSX.Element;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type AvatarIconProps } from './types';
3
- declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => JSX.Element;
3
+ declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => React.JSX.Element;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type AvatarIconProps } from './types';
3
- declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => JSX.Element;
3
+ declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => React.JSX.Element;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type AvatarIconProps } from './types';
3
- declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => JSX.Element;
3
+ declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => React.JSX.Element;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type SizeType } from '@atlaskit/avatar';
3
3
  export declare const TOTAL_AVATAR_COMBINATIONS: number;
4
4
  type GeneratedAvatarProps = {
@@ -19,6 +19,6 @@ export declare const getNumberIdForAvatar: ({ agentIdentityAccountId, agentId, }
19
19
  export declare const AgentBanner: ({ agentNamedId, agentId, agentIdentityAccountId, height, fillSpace, }: Pick<GeneratedAvatarProps, "agentIdentityAccountId" | "agentId" | "agentNamedId"> & {
20
20
  height?: number | undefined;
21
21
  fillSpace?: boolean | undefined;
22
- }) => JSX.Element;
23
- export declare const GeneratedAvatar: (props: GeneratedAvatarProps) => JSX.Element;
22
+ }) => React.JSX.Element;
23
+ export declare const GeneratedAvatar: (props: GeneratedAvatarProps) => React.JSX.Element;
24
24
  export {};
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type SizeType } from '@atlaskit/avatar';
3
3
  type AgentAvatarProps = {
4
4
  imageUrl?: string;
@@ -12,5 +12,5 @@ type AgentAvatarProps = {
12
12
  isForgeAgent?: boolean;
13
13
  forgeAgentIconUrl?: string | null;
14
14
  };
15
- export declare const AgentAvatar: ({ imageUrl, size, label, name, agentId, agentIdentityAccountId, agentNamedId, showBorder, isForgeAgent, forgeAgentIconUrl, }: AgentAvatarProps) => JSX.Element;
15
+ export declare const AgentAvatar: ({ imageUrl, size, label, name, agentId, agentIdentityAccountId, agentNamedId, showBorder, isForgeAgent, forgeAgentIconUrl, }: AgentAvatarProps) => React.JSX.Element;
16
16
  export {};
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type MessageDescriptor } from 'react-intl-next';
3
3
  export type ConversationStarter = {
4
4
  message: string;
@@ -24,7 +24,7 @@ export type AgentConversationStartersProps = {
24
24
  userDefinedConversationStarters?: GetConversationStartersParams['userDefinedConversationStarters'];
25
25
  isAgentDefault: GetConversationStartersParams['isAgentDefault'];
26
26
  } & Omit<ConversationStartersProps, 'starters'>;
27
- export declare const AgentConversationStarters: ({ userDefinedConversationStarters, isAgentDefault, ...props }: AgentConversationStartersProps) => JSX.Element;
27
+ export declare const AgentConversationStarters: ({ userDefinedConversationStarters, isAgentDefault, ...props }: AgentConversationStartersProps) => React.JSX.Element;
28
28
  export type ConversationStartersProps = {
29
29
  starters: ConversationStarter[];
30
30
  onConversationStarterClick: (conversationStarter: ConversationStarter) => void;
@@ -32,5 +32,5 @@ export type ConversationStartersProps = {
32
32
  onReloadButtonClick?: () => void;
33
33
  onBrowseAgentsClick?: () => void;
34
34
  };
35
- export declare const ConversationStarters: ({ starters, onConversationStarterClick, showReloadButton, onReloadButtonClick, onBrowseAgentsClick, }: ConversationStartersProps) => JSX.Element;
35
+ export declare const ConversationStarters: ({ starters, onConversationStarterClick, showReloadButton, onReloadButtonClick, onBrowseAgentsClick, }: ConversationStartersProps) => React.JSX.Element;
36
36
  export {};
@@ -5,7 +5,7 @@ import DropdownMenu, { DropdownItem } from '@atlaskit/dropdown-menu';
5
5
  type ChatToAgentButtonProps = {
6
6
  onClick: ButtonProps['onClick'];
7
7
  };
8
- export declare const ChatToAgentButton: ({ onClick }: ChatToAgentButtonProps) => JSX.Element;
8
+ export declare const ChatToAgentButton: ({ onClick }: ChatToAgentButtonProps) => React.JSX.Element;
9
9
  type ViewAgentOptionProps = {
10
10
  showViewAgentOption: true;
11
11
  onViewAgentClick: React.ComponentProps<typeof DropdownItem>['onClick'];
@@ -39,5 +39,5 @@ type AgentDropdownMenuProps = {
39
39
  loadPermissionsOnMount?: boolean;
40
40
  shouldTriggerStopPropagation?: boolean;
41
41
  } & ViewAgentOptionProps & ViewAgentFullProfileProps;
42
- export declare const AgentDropdownMenu: ({ isAgentCreatedByUser, onEditAgent, onCopyAgent, onDuplicateAgent, onDeleteAgent, onViewAgentFullProfileClick, isForgeAgent, showViewAgentOption, onViewAgentClick, onDropdownTriggerClick, spacing, appearance, dropdownMenuTestId, doesAgentHaveIdentityAccountId, loadAgentPermissions, loadPermissionsOnMount, shouldTriggerStopPropagation, }: AgentDropdownMenuProps) => JSX.Element;
42
+ export declare const AgentDropdownMenu: ({ isAgentCreatedByUser, onEditAgent, onCopyAgent, onDuplicateAgent, onDeleteAgent, onViewAgentFullProfileClick, isForgeAgent, showViewAgentOption, onViewAgentClick, onDropdownTriggerClick, spacing, appearance, dropdownMenuTestId, doesAgentHaveIdentityAccountId, loadAgentPermissions, loadPermissionsOnMount, shouldTriggerStopPropagation, }: AgentDropdownMenuProps) => React.JSX.Element;
43
43
  export {};
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  export declare const AgentStarCount: ({ starCount, isLoading, }: {
3
3
  starCount: number | null | undefined;
4
4
  isLoading: boolean;
5
- }) => JSX.Element | null;
5
+ }) => React.JSX.Element | null;
@@ -19,7 +19,7 @@ export declare const AgentProfileCreator: ({ creator, onCreatorLinkClick, isLoad
19
19
  } | undefined;
20
20
  isLoading: boolean;
21
21
  onCreatorLinkClick: () => void;
22
- }) => JSX.Element | null;
22
+ }) => React.JSX.Element | null;
23
23
  export declare const AgentProfileInfo: ({ agentName, agentDescription, creatorRender, starCountRender, isStarred, isHidden, onStarToggle, }: {
24
24
  agentName: string;
25
25
  agentDescription?: string | null | undefined;
@@ -28,4 +28,4 @@ export declare const AgentProfileInfo: ({ agentName, agentDescription, creatorRe
28
28
  isStarred: boolean;
29
29
  isHidden: boolean;
30
30
  onStarToggle: () => void;
31
- }) => JSX.Element;
31
+ }) => React.JSX.Element;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type IconProps } from '@atlaskit/icon';
3
- export declare const ChatPillIcon: (props: Omit<IconProps, 'label' | 'glyph'>) => JSX.Element;
3
+ export declare const ChatPillIcon: (props: Omit<IconProps, 'label' | 'glyph'>) => React.JSX.Element;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type IconProps } from '@atlaskit/icon';
3
- export declare const HiddenIcon: (props: Omit<IconProps, 'glyph'>) => JSX.Element;
3
+ export declare const HiddenIcon: (props: Omit<IconProps, 'glyph'>) => React.JSX.Element;
@@ -1,5 +1,5 @@
1
- import { type KeyboardEvent, type MouseEvent } from 'react';
1
+ import React, { type KeyboardEvent, type MouseEvent } from 'react';
2
2
  export declare const LinkIconButton: ({ handleCopy, visible, }: {
3
3
  handleCopy: (e: MouseEvent<Element, globalThis.MouseEvent> | KeyboardEvent<Element>) => void;
4
4
  visible?: boolean | undefined;
5
- }) => JSX.Element;
5
+ }) => React.JSX.Element;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type IconProps } from '@atlaskit/icon';
3
- export declare const ShowIcon: (props: Omit<IconProps, 'glyph'>) => JSX.Element;
3
+ export declare const ShowIcon: (props: Omit<IconProps, 'glyph'>) => React.JSX.Element;
@@ -1,6 +1,6 @@
1
- import { type KeyboardEvent, type MouseEvent } from 'react';
1
+ import React, { type KeyboardEvent, type MouseEvent } from 'react';
2
2
  export declare const StarIconButton: ({ isStarred, handleToggle, visible, }: {
3
3
  isStarred: boolean;
4
4
  handleToggle: (e: MouseEvent<Element, globalThis.MouseEvent> | KeyboardEvent<Element>) => void;
5
5
  visible?: boolean | undefined;
6
- }) => JSX.Element;
6
+ }) => React.JSX.Element;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type AvatarIconProps } from './types';
3
- declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => JSX.Element;
3
+ declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => React.JSX.Element;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type AvatarIconProps } from './types';
3
- declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => JSX.Element;
3
+ declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => React.JSX.Element;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type AvatarIconProps } from './types';
3
- declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => JSX.Element;
3
+ declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => React.JSX.Element;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type AvatarIconProps } from './types';
3
- declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => JSX.Element;
3
+ declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => React.JSX.Element;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type AvatarIconProps } from './types';
3
- declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => JSX.Element;
3
+ declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => React.JSX.Element;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type AvatarIconProps } from './types';
3
- declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => JSX.Element;
3
+ declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => React.JSX.Element;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type AvatarIconProps } from './types';
3
- declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => JSX.Element;
3
+ declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => React.JSX.Element;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type AvatarIconProps } from './types';
3
- declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => JSX.Element;
3
+ declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => React.JSX.Element;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type AvatarIconProps } from './types';
3
- declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => JSX.Element;
3
+ declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => React.JSX.Element;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type AvatarIconProps } from './types';
3
- declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => JSX.Element;
3
+ declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => React.JSX.Element;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type AvatarIconProps } from './types';
3
- declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => JSX.Element;
3
+ declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => React.JSX.Element;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type AvatarIconProps } from './types';
3
- declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => JSX.Element;
3
+ declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => React.JSX.Element;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type AvatarIconProps } from './types';
3
- declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => JSX.Element;
3
+ declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => React.JSX.Element;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type AvatarIconProps } from './types';
3
- declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => JSX.Element;
3
+ declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => React.JSX.Element;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type AvatarIconProps } from './types';
3
- declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => JSX.Element;
3
+ declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => React.JSX.Element;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type AvatarIconProps } from './types';
3
- declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => JSX.Element;
3
+ declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => React.JSX.Element;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type AvatarIconProps } from './types';
3
- declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => JSX.Element;
3
+ declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => React.JSX.Element;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type AvatarIconProps } from './types';
3
- declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => JSX.Element;
3
+ declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => React.JSX.Element;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type AvatarIconProps } from './types';
3
- declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => JSX.Element;
3
+ declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => React.JSX.Element;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type AvatarIconProps } from './types';
3
- declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => JSX.Element;
3
+ declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => React.JSX.Element;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type AvatarIconProps } from './types';
3
- declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => JSX.Element;
3
+ declare const _default: ({ size, primaryColor, secondaryColor }: AvatarIconProps) => React.JSX.Element;
4
4
  export default _default;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type SizeType } from '@atlaskit/avatar';
3
3
  export declare const TOTAL_AVATAR_COMBINATIONS: number;
4
4
  type GeneratedAvatarProps = {
@@ -19,6 +19,6 @@ export declare const getNumberIdForAvatar: ({ agentIdentityAccountId, agentId, }
19
19
  export declare const AgentBanner: ({ agentNamedId, agentId, agentIdentityAccountId, height, fillSpace, }: Pick<GeneratedAvatarProps, "agentIdentityAccountId" | "agentId" | "agentNamedId"> & {
20
20
  height?: number | undefined;
21
21
  fillSpace?: boolean | undefined;
22
- }) => JSX.Element;
23
- export declare const GeneratedAvatar: (props: GeneratedAvatarProps) => JSX.Element;
22
+ }) => React.JSX.Element;
23
+ export declare const GeneratedAvatar: (props: GeneratedAvatarProps) => React.JSX.Element;
24
24
  export {};
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type SizeType } from '@atlaskit/avatar';
3
3
  type AgentAvatarProps = {
4
4
  imageUrl?: string;
@@ -12,5 +12,5 @@ type AgentAvatarProps = {
12
12
  isForgeAgent?: boolean;
13
13
  forgeAgentIconUrl?: string | null;
14
14
  };
15
- export declare const AgentAvatar: ({ imageUrl, size, label, name, agentId, agentIdentityAccountId, agentNamedId, showBorder, isForgeAgent, forgeAgentIconUrl, }: AgentAvatarProps) => JSX.Element;
15
+ export declare const AgentAvatar: ({ imageUrl, size, label, name, agentId, agentIdentityAccountId, agentNamedId, showBorder, isForgeAgent, forgeAgentIconUrl, }: AgentAvatarProps) => React.JSX.Element;
16
16
  export {};
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { type MessageDescriptor } from 'react-intl-next';
3
3
  export type ConversationStarter = {
4
4
  message: string;
@@ -24,7 +24,7 @@ export type AgentConversationStartersProps = {
24
24
  userDefinedConversationStarters?: GetConversationStartersParams['userDefinedConversationStarters'];
25
25
  isAgentDefault: GetConversationStartersParams['isAgentDefault'];
26
26
  } & Omit<ConversationStartersProps, 'starters'>;
27
- export declare const AgentConversationStarters: ({ userDefinedConversationStarters, isAgentDefault, ...props }: AgentConversationStartersProps) => JSX.Element;
27
+ export declare const AgentConversationStarters: ({ userDefinedConversationStarters, isAgentDefault, ...props }: AgentConversationStartersProps) => React.JSX.Element;
28
28
  export type ConversationStartersProps = {
29
29
  starters: ConversationStarter[];
30
30
  onConversationStarterClick: (conversationStarter: ConversationStarter) => void;
@@ -32,5 +32,5 @@ export type ConversationStartersProps = {
32
32
  onReloadButtonClick?: () => void;
33
33
  onBrowseAgentsClick?: () => void;
34
34
  };
35
- export declare const ConversationStarters: ({ starters, onConversationStarterClick, showReloadButton, onReloadButtonClick, onBrowseAgentsClick, }: ConversationStartersProps) => JSX.Element;
35
+ export declare const ConversationStarters: ({ starters, onConversationStarterClick, showReloadButton, onReloadButtonClick, onBrowseAgentsClick, }: ConversationStartersProps) => React.JSX.Element;
36
36
  export {};
@@ -5,7 +5,7 @@ import DropdownMenu, { DropdownItem } from '@atlaskit/dropdown-menu';
5
5
  type ChatToAgentButtonProps = {
6
6
  onClick: ButtonProps['onClick'];
7
7
  };
8
- export declare const ChatToAgentButton: ({ onClick }: ChatToAgentButtonProps) => JSX.Element;
8
+ export declare const ChatToAgentButton: ({ onClick }: ChatToAgentButtonProps) => React.JSX.Element;
9
9
  type ViewAgentOptionProps = {
10
10
  showViewAgentOption: true;
11
11
  onViewAgentClick: React.ComponentProps<typeof DropdownItem>['onClick'];
@@ -39,5 +39,5 @@ type AgentDropdownMenuProps = {
39
39
  loadPermissionsOnMount?: boolean;
40
40
  shouldTriggerStopPropagation?: boolean;
41
41
  } & ViewAgentOptionProps & ViewAgentFullProfileProps;
42
- export declare const AgentDropdownMenu: ({ isAgentCreatedByUser, onEditAgent, onCopyAgent, onDuplicateAgent, onDeleteAgent, onViewAgentFullProfileClick, isForgeAgent, showViewAgentOption, onViewAgentClick, onDropdownTriggerClick, spacing, appearance, dropdownMenuTestId, doesAgentHaveIdentityAccountId, loadAgentPermissions, loadPermissionsOnMount, shouldTriggerStopPropagation, }: AgentDropdownMenuProps) => JSX.Element;
42
+ export declare const AgentDropdownMenu: ({ isAgentCreatedByUser, onEditAgent, onCopyAgent, onDuplicateAgent, onDeleteAgent, onViewAgentFullProfileClick, isForgeAgent, showViewAgentOption, onViewAgentClick, onDropdownTriggerClick, spacing, appearance, dropdownMenuTestId, doesAgentHaveIdentityAccountId, loadAgentPermissions, loadPermissionsOnMount, shouldTriggerStopPropagation, }: AgentDropdownMenuProps) => React.JSX.Element;
43
43
  export {};
@@ -1,5 +1,5 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  export declare const AgentStarCount: ({ starCount, isLoading, }: {
3
3
  starCount: number | null | undefined;
4
4
  isLoading: boolean;
5
- }) => JSX.Element | null;
5
+ }) => React.JSX.Element | null;
@@ -19,7 +19,7 @@ export declare const AgentProfileCreator: ({ creator, onCreatorLinkClick, isLoad
19
19
  } | undefined;
20
20
  isLoading: boolean;
21
21
  onCreatorLinkClick: () => void;
22
- }) => JSX.Element | null;
22
+ }) => React.JSX.Element | null;
23
23
  export declare const AgentProfileInfo: ({ agentName, agentDescription, creatorRender, starCountRender, isStarred, isHidden, onStarToggle, }: {
24
24
  agentName: string;
25
25
  agentDescription?: string | null | undefined;
@@ -28,4 +28,4 @@ export declare const AgentProfileInfo: ({ agentName, agentDescription, creatorRe
28
28
  isStarred: boolean;
29
29
  isHidden: boolean;
30
30
  onStarToggle: () => void;
31
- }) => JSX.Element;
31
+ }) => React.JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/rovo-agent-components",
3
- "version": "1.17.0",
3
+ "version": "1.18.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",
@@ -36,19 +36,19 @@
36
36
  ".": "./src/index.ts"
37
37
  },
38
38
  "dependencies": {
39
- "@atlaskit/analytics-next": "10.3.0",
39
+ "@atlaskit/analytics-next": "10.3.1",
40
40
  "@atlaskit/avatar": "^21.18.0",
41
- "@atlaskit/button": "^20.4.0",
41
+ "@atlaskit/button": "^20.5.0",
42
42
  "@atlaskit/dropdown-menu": "^12.26.0",
43
- "@atlaskit/heading": "^4.1.0",
44
- "@atlaskit/icon": "^23.5.0",
43
+ "@atlaskit/heading": "^4.3.0",
44
+ "@atlaskit/icon": "^23.10.0",
45
45
  "@atlaskit/legacy-custom-icons": "^0.21.0",
46
- "@atlaskit/logo": "^15.2.0",
47
- "@atlaskit/platform-feature-flags": "^0.3.0",
48
- "@atlaskit/primitives": "^13.4.0",
49
- "@atlaskit/skeleton": "^1.1.0",
46
+ "@atlaskit/logo": "^15.4.0",
47
+ "@atlaskit/platform-feature-flags": "^1.1.0",
48
+ "@atlaskit/primitives": "^13.6.0",
49
+ "@atlaskit/skeleton": "^1.2.0",
50
50
  "@atlaskit/tokens": "^3.3.0",
51
- "@atlaskit/tooltip": "^19.1.0",
51
+ "@atlaskit/tooltip": "^19.2.0",
52
52
  "@babel/runtime": "^7.0.0",
53
53
  "react-intl-next": "npm:react-intl@^5.18.1",
54
54
  "react-magnetic-di": "^3.1.4"
@@ -106,13 +106,5 @@
106
106
  "import-no-extraneous-disable-for-examples-and-docs"
107
107
  ]
108
108
  }
109
- },
110
- "platform-feature-flags": {
111
- "rovo_agent_profile_page": {
112
- "type": "boolean"
113
- },
114
- "rovo_use_agent_permissions": {
115
- "type": "boolean"
116
- }
117
109
  }
118
110
  }