@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.
- package/CHANGELOG.md +14 -0
- package/dist/cjs/common/ui/star-icon-button/index.js +3 -1
- package/dist/cjs/ui/agent-dropdown-menu/index.js +2 -4
- package/dist/es2019/common/ui/star-icon-button/index.js +3 -1
- package/dist/es2019/ui/agent-dropdown-menu/index.js +2 -4
- package/dist/esm/common/ui/star-icon-button/index.js +3 -1
- package/dist/esm/ui/agent-dropdown-menu/index.js +2 -4
- package/dist/types/common/ui/chat-icon/index.d.ts +2 -2
- package/dist/types/common/ui/hidden-icon/index.d.ts +2 -2
- package/dist/types/common/ui/link-icon-button/index.d.ts +2 -2
- package/dist/types/common/ui/show-icon/index.d.ts +2 -2
- package/dist/types/common/ui/star-icon-button/index.d.ts +2 -2
- package/dist/types/ui/agent-avatar/generated-avatars/assets/auto-dev.d.ts +2 -2
- package/dist/types/ui/agent-avatar/generated-avatars/assets/auto-fix.d.ts +2 -2
- package/dist/types/ui/agent-avatar/generated-avatars/assets/auto-review.d.ts +2 -2
- package/dist/types/ui/agent-avatar/generated-avatars/assets/backlog-buddy.d.ts +2 -2
- package/dist/types/ui/agent-avatar/generated-avatars/assets/comms-crafter.d.ts +2 -2
- package/dist/types/ui/agent-avatar/generated-avatars/assets/culture.d.ts +2 -2
- package/dist/types/ui/agent-avatar/generated-avatars/assets/customer-insight.d.ts +2 -2
- package/dist/types/ui/agent-avatar/generated-avatars/assets/decision-director.d.ts +2 -2
- package/dist/types/ui/agent-avatar/generated-avatars/assets/feature-flag-avatar.d.ts +2 -2
- package/dist/types/ui/agent-avatar/generated-avatars/assets/generic-avatar.d.ts +2 -2
- package/dist/types/ui/agent-avatar/generated-avatars/assets/hire-writer.d.ts +2 -2
- package/dist/types/ui/agent-avatar/generated-avatars/assets/marketing-message-maestro.d.ts +2 -2
- package/dist/types/ui/agent-avatar/generated-avatars/assets/my-user-manual.d.ts +2 -2
- package/dist/types/ui/agent-avatar/generated-avatars/assets/okr-oracle.d.ts +2 -2
- package/dist/types/ui/agent-avatar/generated-avatars/assets/ops-agent.d.ts +2 -2
- package/dist/types/ui/agent-avatar/generated-avatars/assets/pitch-perfector.d.ts +2 -2
- package/dist/types/ui/agent-avatar/generated-avatars/assets/product-requirement.d.ts +2 -2
- package/dist/types/ui/agent-avatar/generated-avatars/assets/release-notes.d.ts +2 -2
- package/dist/types/ui/agent-avatar/generated-avatars/assets/research-scout.d.ts +2 -2
- package/dist/types/ui/agent-avatar/generated-avatars/assets/social-media-scribe.d.ts +2 -2
- package/dist/types/ui/agent-avatar/generated-avatars/assets/team-connection.d.ts +2 -2
- package/dist/types/ui/agent-avatar/generated-avatars/index.d.ts +3 -3
- package/dist/types/ui/agent-avatar/index.d.ts +2 -2
- package/dist/types/ui/agent-conversation-starters/index.d.ts +3 -3
- package/dist/types/ui/agent-dropdown-menu/index.d.ts +2 -2
- package/dist/types/ui/agent-profile-info/agent-star-count/index.d.ts +2 -2
- package/dist/types/ui/agent-profile-info/index.d.ts +2 -2
- package/dist/types-ts4.5/common/ui/chat-icon/index.d.ts +2 -2
- package/dist/types-ts4.5/common/ui/hidden-icon/index.d.ts +2 -2
- package/dist/types-ts4.5/common/ui/link-icon-button/index.d.ts +2 -2
- package/dist/types-ts4.5/common/ui/show-icon/index.d.ts +2 -2
- package/dist/types-ts4.5/common/ui/star-icon-button/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/assets/auto-dev.d.ts +2 -2
- package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/assets/auto-fix.d.ts +2 -2
- package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/assets/auto-review.d.ts +2 -2
- package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/assets/backlog-buddy.d.ts +2 -2
- package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/assets/comms-crafter.d.ts +2 -2
- package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/assets/culture.d.ts +2 -2
- package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/assets/customer-insight.d.ts +2 -2
- package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/assets/decision-director.d.ts +2 -2
- package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/assets/feature-flag-avatar.d.ts +2 -2
- package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/assets/generic-avatar.d.ts +2 -2
- package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/assets/hire-writer.d.ts +2 -2
- package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/assets/marketing-message-maestro.d.ts +2 -2
- package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/assets/my-user-manual.d.ts +2 -2
- package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/assets/okr-oracle.d.ts +2 -2
- package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/assets/ops-agent.d.ts +2 -2
- package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/assets/pitch-perfector.d.ts +2 -2
- package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/assets/product-requirement.d.ts +2 -2
- package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/assets/release-notes.d.ts +2 -2
- package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/assets/research-scout.d.ts +2 -2
- package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/assets/social-media-scribe.d.ts +2 -2
- package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/assets/team-connection.d.ts +2 -2
- package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/index.d.ts +3 -3
- package/dist/types-ts4.5/ui/agent-avatar/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/agent-conversation-starters/index.d.ts +3 -3
- package/dist/types-ts4.5/ui/agent-dropdown-menu/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/agent-profile-info/agent-star-count/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/agent-profile-info/index.d.ts +2 -2
- 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 (
|
|
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 &&
|
|
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
|
|
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 &&
|
|
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 (
|
|
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 &&
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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 {};
|
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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;
|
package/dist/types-ts4.5/ui/agent-avatar/generated-avatars/assets/marketing-message-maestro.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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 {};
|
|
@@ -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.
|
|
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.
|
|
39
|
+
"@atlaskit/analytics-next": "10.3.1",
|
|
40
40
|
"@atlaskit/avatar": "^21.18.0",
|
|
41
|
-
"@atlaskit/button": "^20.
|
|
41
|
+
"@atlaskit/button": "^20.5.0",
|
|
42
42
|
"@atlaskit/dropdown-menu": "^12.26.0",
|
|
43
|
-
"@atlaskit/heading": "^4.
|
|
44
|
-
"@atlaskit/icon": "^23.
|
|
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.
|
|
47
|
-
"@atlaskit/platform-feature-flags": "^
|
|
48
|
-
"@atlaskit/primitives": "^13.
|
|
49
|
-
"@atlaskit/skeleton": "^1.
|
|
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.
|
|
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
|
}
|