@atlaskit/rovo-agent-components 9.9.7 → 9.9.8
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 +6 -0
- package/dist/cjs/common/ui/agent-chat-icon/index.js +2 -2
- package/dist/cjs/common/ui/chat-pill/index.js +9 -7
- package/dist/cjs/common/ui/link-icon-button/index.js +2 -2
- package/dist/cjs/common/ui/star-icon-button/index.js +2 -2
- package/dist/cjs/ui/agent-avatar/agent-avatar-skeleton/index.js +2 -2
- package/dist/cjs/ui/agent-avatar/generated-avatars/index.js +3 -3
- package/dist/cjs/ui/agent-avatar/index.js +4 -4
- package/dist/cjs/ui/agent-conversation-starters/ConversationStarters.js +12 -9
- package/dist/cjs/ui/agent-dropdown-menu/AgentDropdownMenu.js +2 -2
- package/dist/cjs/ui/agent-dropdown-menu/ChatToAgentButton.js +7 -6
- package/dist/cjs/ui/agent-menu-item-skeleton/index.js +2 -2
- package/dist/cjs/ui/agent-name-side-nav/index.js +2 -2
- package/dist/cjs/ui/agent-profile-info/agent-star-count/index.js +2 -2
- package/dist/cjs/ui/agent-verified/agent-verified-icon.js +2 -2
- package/dist/es2019/common/ui/agent-chat-icon/index.js +1 -1
- package/dist/es2019/common/ui/chat-pill/index.js +3 -1
- package/dist/es2019/common/ui/link-icon-button/index.js +1 -1
- package/dist/es2019/common/ui/star-icon-button/index.js +1 -1
- package/dist/es2019/ui/agent-avatar/agent-avatar-skeleton/index.js +1 -1
- package/dist/es2019/ui/agent-avatar/generated-avatars/index.js +1 -1
- package/dist/es2019/ui/agent-avatar/index.js +1 -1
- package/dist/es2019/ui/agent-conversation-starters/ConversationStarters.js +4 -1
- package/dist/es2019/ui/agent-dropdown-menu/AgentDropdownMenu.js +1 -1
- package/dist/es2019/ui/agent-dropdown-menu/ChatToAgentButton.js +2 -1
- package/dist/es2019/ui/agent-menu-item-skeleton/index.js +1 -1
- package/dist/es2019/ui/agent-name-side-nav/index.js +1 -1
- package/dist/es2019/ui/agent-profile-info/agent-star-count/index.js +1 -1
- package/dist/es2019/ui/agent-verified/agent-verified-icon.js +1 -1
- package/dist/esm/common/ui/agent-chat-icon/index.js +1 -1
- package/dist/esm/common/ui/chat-pill/index.js +3 -1
- package/dist/esm/common/ui/link-icon-button/index.js +1 -1
- package/dist/esm/common/ui/star-icon-button/index.js +1 -1
- package/dist/esm/ui/agent-avatar/agent-avatar-skeleton/index.js +1 -1
- package/dist/esm/ui/agent-avatar/generated-avatars/index.js +1 -1
- package/dist/esm/ui/agent-avatar/index.js +1 -1
- package/dist/esm/ui/agent-conversation-starters/ConversationStarters.js +4 -1
- package/dist/esm/ui/agent-dropdown-menu/AgentDropdownMenu.js +1 -1
- package/dist/esm/ui/agent-dropdown-menu/ChatToAgentButton.js +2 -1
- package/dist/esm/ui/agent-menu-item-skeleton/index.js +1 -1
- package/dist/esm/ui/agent-name-side-nav/index.js +1 -1
- package/dist/esm/ui/agent-profile-info/agent-star-count/index.js +1 -1
- package/dist/esm/ui/agent-verified/agent-verified-icon.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -10,12 +10,12 @@ require("./index.compiled.css");
|
|
|
10
10
|
var _runtime = require("@compiled/react/runtime");
|
|
11
11
|
var _react = _interopRequireDefault(require("react"));
|
|
12
12
|
var _rovoChat = _interopRequireDefault(require("@atlaskit/icon/core/rovo-chat"));
|
|
13
|
-
var
|
|
13
|
+
var _flex = require("@atlaskit/primitives/compiled/flex");
|
|
14
14
|
var styles = {
|
|
15
15
|
agentChatIcon: "_2rko1mok _189ee4h9 _1dqonqa1 _1h6d1l7x _1bsbzwfg _4t3izwfg"
|
|
16
16
|
};
|
|
17
17
|
var AgentChatIcon = exports.AgentChatIcon = function AgentChatIcon() {
|
|
18
|
-
return /*#__PURE__*/_react.default.createElement(
|
|
18
|
+
return /*#__PURE__*/_react.default.createElement(_flex.Flex, {
|
|
19
19
|
xcss: styles.agentChatIcon,
|
|
20
20
|
alignItems: "center",
|
|
21
21
|
justifyContent: "center"
|
|
@@ -16,7 +16,9 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/h
|
|
|
16
16
|
var _reactIntl = require("react-intl");
|
|
17
17
|
var _css = require("@atlaskit/css");
|
|
18
18
|
var _aiAgent = _interopRequireDefault(require("@atlaskit/icon/core/ai-agent"));
|
|
19
|
-
var
|
|
19
|
+
var _box = require("@atlaskit/primitives/compiled/box");
|
|
20
|
+
var _inline = require("@atlaskit/primitives/compiled/inline");
|
|
21
|
+
var _pressable = require("@atlaskit/primitives/compiled/pressable");
|
|
20
22
|
var _chatIcon = require("../chat-icon");
|
|
21
23
|
var _messages = _interopRequireDefault(require("./messages"));
|
|
22
24
|
var _excluded = ["children", "whiteSpacePreWrap", "renderIcon"];
|
|
@@ -38,35 +40,35 @@ var ChatPill = exports.ChatPill = /*#__PURE__*/(0, _react.forwardRef)(function (
|
|
|
38
40
|
_ref$renderIcon = _ref.renderIcon,
|
|
39
41
|
renderIcon = _ref$renderIcon === void 0 ? true : _ref$renderIcon,
|
|
40
42
|
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
41
|
-
return /*#__PURE__*/React.createElement(
|
|
43
|
+
return /*#__PURE__*/React.createElement(_pressable.Pressable, (0, _extends2.default)({
|
|
42
44
|
ref: ref
|
|
43
45
|
}, props, {
|
|
44
46
|
xcss: styles.button_motion
|
|
45
47
|
}), /*#__PURE__*/React.createElement("div", {
|
|
46
48
|
className: (0, _runtime.ax)([stylesCompiled.pillLineHeight])
|
|
47
|
-
}, /*#__PURE__*/React.createElement(
|
|
49
|
+
}, /*#__PURE__*/React.createElement(_inline.Inline, {
|
|
48
50
|
space: "space.075",
|
|
49
51
|
alignBlock: "baseline"
|
|
50
|
-
}, renderIcon ? /*#__PURE__*/React.createElement(_chatIcon.ChatPillIcon, null) : null, /*#__PURE__*/React.createElement(
|
|
52
|
+
}, renderIcon ? /*#__PURE__*/React.createElement(_chatIcon.ChatPillIcon, null) : null, /*#__PURE__*/React.createElement(_box.Box, {
|
|
51
53
|
xcss: (0, _css.cx)(styles.queryText, whiteSpacePreWrap && styles.whiteSpacePreWrap)
|
|
52
54
|
}, children))));
|
|
53
55
|
});
|
|
54
56
|
var BrowseAgentsPill = exports.BrowseAgentsPill = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
|
|
55
57
|
var _useIntl = (0, _reactIntl.useIntl)(),
|
|
56
58
|
formatMessage = _useIntl.formatMessage;
|
|
57
|
-
return /*#__PURE__*/React.createElement(
|
|
59
|
+
return /*#__PURE__*/React.createElement(_pressable.Pressable, (0, _extends2.default)({
|
|
58
60
|
ref: ref
|
|
59
61
|
}, props, {
|
|
60
62
|
xcss: styles.button_motion
|
|
61
63
|
}), /*#__PURE__*/React.createElement("div", {
|
|
62
64
|
className: (0, _runtime.ax)([stylesCompiled.pillLineHeight])
|
|
63
|
-
}, /*#__PURE__*/React.createElement(
|
|
65
|
+
}, /*#__PURE__*/React.createElement(_inline.Inline, {
|
|
64
66
|
space: "space.050",
|
|
65
67
|
xcss: styles.buttonInline
|
|
66
68
|
}, /*#__PURE__*/React.createElement(_aiAgent.default, {
|
|
67
69
|
color: "currentColor",
|
|
68
70
|
label: ""
|
|
69
|
-
}), /*#__PURE__*/React.createElement(
|
|
71
|
+
}), /*#__PURE__*/React.createElement(_box.Box, {
|
|
70
72
|
xcss: styles.queryText
|
|
71
73
|
}, formatMessage(_messages.default.browseAgentsPillLabel)))));
|
|
72
74
|
});
|
|
@@ -15,7 +15,7 @@ var _reactIntl = require("react-intl");
|
|
|
15
15
|
var _button = _interopRequireDefault(require("@atlaskit/button/icon/button"));
|
|
16
16
|
var _css = require("@atlaskit/css");
|
|
17
17
|
var _link = _interopRequireDefault(require("@atlaskit/icon/core/link"));
|
|
18
|
-
var
|
|
18
|
+
var _box = require("@atlaskit/primitives/compiled/box");
|
|
19
19
|
var _messages = _interopRequireDefault(require("./messages"));
|
|
20
20
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
21
21
|
var styles = {
|
|
@@ -28,7 +28,7 @@ var LinkIconButton = exports.LinkIconButton = function LinkIconButton(_ref) {
|
|
|
28
28
|
agentName = _ref.agentName;
|
|
29
29
|
var _useIntl = (0, _reactIntl.useIntl)(),
|
|
30
30
|
formatMessage = _useIntl.formatMessage;
|
|
31
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(
|
|
31
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(_box.Box, {
|
|
32
32
|
xcss: (0, _css.cx)(!visible && styles.hidden)
|
|
33
33
|
}, /*#__PURE__*/React.createElement(_button.default, {
|
|
34
34
|
type: "button",
|
|
@@ -18,7 +18,7 @@ var _button = _interopRequireDefault(require("@atlaskit/button/icon/button"));
|
|
|
18
18
|
var _css = require("@atlaskit/css");
|
|
19
19
|
var _starStarred = _interopRequireDefault(require("@atlaskit/icon/core/star-starred"));
|
|
20
20
|
var _starUnstarred = _interopRequireDefault(require("@atlaskit/icon/core/star-unstarred"));
|
|
21
|
-
var
|
|
21
|
+
var _box = require("@atlaskit/primitives/compiled/box");
|
|
22
22
|
var _messages = _interopRequireDefault(require("./messages"));
|
|
23
23
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
24
24
|
var styles = {
|
|
@@ -36,7 +36,7 @@ var StarIconButton = exports.StarIconButton = function StarIconButton(_ref) {
|
|
|
36
36
|
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
|
37
37
|
isHovered = _useState2[0],
|
|
38
38
|
setIsHovered = _useState2[1];
|
|
39
|
-
return /*#__PURE__*/React.createElement(
|
|
39
|
+
return /*#__PURE__*/React.createElement(_box.Box, {
|
|
40
40
|
xcss: (0, _css.cx)(!visible && styles.hidden)
|
|
41
41
|
}, /*#__PURE__*/React.createElement(_button.default, {
|
|
42
42
|
appearance: "subtle",
|
|
@@ -10,7 +10,7 @@ exports.AgentAvatarSkeleton = void 0;
|
|
|
10
10
|
var React = _interopRequireWildcard(require("react"));
|
|
11
11
|
var _runtime = require("@compiled/react/runtime");
|
|
12
12
|
var _avatarSizes = require("@atlaskit/avatar/avatar-sizes");
|
|
13
|
-
var
|
|
13
|
+
var _box = require("@atlaskit/primitives/compiled/box");
|
|
14
14
|
var _skeleton = _interopRequireDefault(require("@atlaskit/skeleton"));
|
|
15
15
|
var _index = require("../index");
|
|
16
16
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
@@ -26,7 +26,7 @@ var AgentAvatarSkeleton = exports.AgentAvatarSkeleton = function AgentAvatarSkel
|
|
|
26
26
|
color = _ref.color,
|
|
27
27
|
shimmeringEndColor = _ref.shimmeringEndColor,
|
|
28
28
|
testId = _ref.testId;
|
|
29
|
-
return /*#__PURE__*/React.createElement(
|
|
29
|
+
return /*#__PURE__*/React.createElement(_box.Box, {
|
|
30
30
|
style: {
|
|
31
31
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop, @atlaskit/ui-styling-standard/no-imported-style-values
|
|
32
32
|
width: _avatarSizes.AVATAR_SIZES[size],
|
|
@@ -14,7 +14,7 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
14
14
|
var _avatarSizes = require("@atlaskit/avatar/avatar-sizes");
|
|
15
15
|
var _css = require("@atlaskit/css");
|
|
16
16
|
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
17
|
-
var
|
|
17
|
+
var _box = require("@atlaskit/primitives/compiled/box");
|
|
18
18
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
19
19
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
20
20
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != (0, _typeof2.default)(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
@@ -1244,7 +1244,7 @@ var AgentBanner = exports.AgentBanner = function AgentBanner(_ref4) {
|
|
|
1244
1244
|
isRovoDev: isRovoDev
|
|
1245
1245
|
});
|
|
1246
1246
|
var isRemoteA2A = (0, _fg.fg)('jira_improve_agent_profile_for_a2a') && creatorType === 'REMOTE_A2A';
|
|
1247
|
-
return /*#__PURE__*/_react.default.createElement(
|
|
1247
|
+
return /*#__PURE__*/_react.default.createElement(_box.Box, {
|
|
1248
1248
|
xcss: (0, _css.cx)(styles.banner, fillSpace ? styles.bannerFillSpace : undefined, isRemoteA2A ? styles.bannerRemoteA2A : undefined),
|
|
1249
1249
|
style: {
|
|
1250
1250
|
backgroundColor: isRemoteA2A ? undefined : color.primary,
|
|
@@ -1257,7 +1257,7 @@ var GeneratedAvatar = exports.GeneratedAvatar = function GeneratedAvatar(props)
|
|
|
1257
1257
|
render = _getAvatarRender.render,
|
|
1258
1258
|
color = _getAvatarRender.color;
|
|
1259
1259
|
var onLoad = props.onLoad;
|
|
1260
|
-
return /*#__PURE__*/_react.default.createElement(
|
|
1260
|
+
return /*#__PURE__*/_react.default.createElement(_box.Box, {
|
|
1261
1261
|
xcss: styles.image,
|
|
1262
1262
|
style: {
|
|
1263
1263
|
backgroundColor: color.primary
|
|
@@ -17,7 +17,7 @@ var _avatar = _interopRequireDefault(require("@atlaskit/avatar/avatar"));
|
|
|
17
17
|
var _avatarContent = require("@atlaskit/avatar/avatar-content");
|
|
18
18
|
var _avatarSizes = require("@atlaskit/avatar/avatar-sizes");
|
|
19
19
|
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
20
|
-
var
|
|
20
|
+
var _box = require("@atlaskit/primitives/compiled/box");
|
|
21
21
|
var _generatedAvatars = require("./generated-avatars");
|
|
22
22
|
var _messages = require("./messages");
|
|
23
23
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
@@ -84,7 +84,7 @@ var AgentAvatar = exports.AgentAvatar = function AgentAvatar(_ref) {
|
|
|
84
84
|
}
|
|
85
85
|
return /*#__PURE__*/React.createElement(_avatar.default, adsAvatarProps, /*#__PURE__*/React.createElement(_avatarContent.AvatarContent, null, generatedAvatar));
|
|
86
86
|
}
|
|
87
|
-
return /*#__PURE__*/React.createElement(
|
|
87
|
+
return /*#__PURE__*/React.createElement(_box.Box, {
|
|
88
88
|
"aria-label": label,
|
|
89
89
|
xcss: styles.agentAvatar,
|
|
90
90
|
style: _objectSpread(_objectSpread({
|
|
@@ -102,9 +102,9 @@ var AgentAvatar = exports.AgentAvatar = function AgentAvatar(_ref) {
|
|
|
102
102
|
} : {})
|
|
103
103
|
}, /*#__PURE__*/React.createElement("div", {
|
|
104
104
|
className: (0, _runtime.ax)([stylesCompiled.innerShape])
|
|
105
|
-
}, /*#__PURE__*/React.createElement(
|
|
105
|
+
}, /*#__PURE__*/React.createElement(_box.Box, {
|
|
106
106
|
xcss: styles.avatarContentContainer
|
|
107
|
-
}, imgUrl ? /*#__PURE__*/React.createElement(
|
|
107
|
+
}, imgUrl ? /*#__PURE__*/React.createElement(_box.Box, {
|
|
108
108
|
as: "img",
|
|
109
109
|
xcss: styles.image,
|
|
110
110
|
src: imgUrl,
|
|
@@ -12,7 +12,10 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
12
12
|
var _button = _interopRequireDefault(require("@atlaskit/button/icon/button"));
|
|
13
13
|
var _css = require("@atlaskit/css");
|
|
14
14
|
var _retry = _interopRequireDefault(require("@atlaskit/icon/core/retry"));
|
|
15
|
-
var
|
|
15
|
+
var _box = require("@atlaskit/primitives/compiled/box");
|
|
16
|
+
var _inline = require("@atlaskit/primitives/compiled/inline");
|
|
17
|
+
var _pressable = require("@atlaskit/primitives/compiled/pressable");
|
|
18
|
+
var _stack = require("@atlaskit/primitives/compiled/stack");
|
|
16
19
|
var _agentChatIcon = require("../../common/ui/agent-chat-icon");
|
|
17
20
|
var _chatPill = require("../../common/ui/chat-pill");
|
|
18
21
|
var styles = {
|
|
@@ -34,31 +37,31 @@ var ConversationStarters = exports.ConversationStarters = function ConversationS
|
|
|
34
37
|
onBrowseAgentsClick = _ref.onBrowseAgentsClick,
|
|
35
38
|
_ref$refreshDesignEna = _ref.refreshDesignEnabled,
|
|
36
39
|
refreshDesignEnabled = _ref$refreshDesignEna === void 0 ? false : _ref$refreshDesignEna;
|
|
37
|
-
return /*#__PURE__*/_react.default.createElement(
|
|
40
|
+
return /*#__PURE__*/_react.default.createElement(_stack.Stack, {
|
|
38
41
|
as: "ul",
|
|
39
42
|
space: "space.050",
|
|
40
43
|
xcss: (0, _css.cx)(styles.conversationStartersList, refreshDesignEnabled && styles.conversationStartersListWithRefreshDesign)
|
|
41
44
|
}, starters.map(function (starter, index) {
|
|
42
45
|
var isLastStarter = index === starters.length - 1;
|
|
43
|
-
var chatPill = /*#__PURE__*/_react.default.createElement(
|
|
46
|
+
var chatPill = /*#__PURE__*/_react.default.createElement(_box.Box, {
|
|
44
47
|
as: "li",
|
|
45
48
|
key: starter.message,
|
|
46
49
|
xcss: refreshDesignEnabled && styles.conversationStaterItem
|
|
47
|
-
}, /*#__PURE__*/_react.default.createElement(
|
|
50
|
+
}, /*#__PURE__*/_react.default.createElement(_pressable.Pressable, {
|
|
48
51
|
xcss: styles.button_motion,
|
|
49
52
|
onClick: function onClick() {
|
|
50
53
|
return onConversationStarterClick(starter);
|
|
51
54
|
},
|
|
52
55
|
testId: "conversation-starter"
|
|
53
|
-
}, /*#__PURE__*/_react.default.createElement(
|
|
56
|
+
}, /*#__PURE__*/_react.default.createElement(_inline.Inline, {
|
|
54
57
|
space: "space.150",
|
|
55
58
|
alignBlock: "center"
|
|
56
|
-
}, /*#__PURE__*/_react.default.createElement(
|
|
59
|
+
}, /*#__PURE__*/_react.default.createElement(_box.Box, {
|
|
57
60
|
xcss: styles.conversationStarterIcon
|
|
58
|
-
}, /*#__PURE__*/_react.default.createElement(_agentChatIcon.AgentChatIcon, null)), /*#__PURE__*/_react.default.createElement(
|
|
61
|
+
}, /*#__PURE__*/_react.default.createElement(_agentChatIcon.AgentChatIcon, null)), /*#__PURE__*/_react.default.createElement(_box.Box, {
|
|
59
62
|
xcss: styles.conversationStarterText
|
|
60
63
|
}, starter.message))));
|
|
61
|
-
return isLastStarter && showReloadButton ? /*#__PURE__*/_react.default.createElement(
|
|
64
|
+
return isLastStarter && showReloadButton ? /*#__PURE__*/_react.default.createElement(_inline.Inline, {
|
|
62
65
|
space: "space.050",
|
|
63
66
|
grow: "fill",
|
|
64
67
|
alignInline: "end",
|
|
@@ -69,7 +72,7 @@ var ConversationStarters = exports.ConversationStarters = function ConversationS
|
|
|
69
72
|
appearance: "subtle",
|
|
70
73
|
label: ""
|
|
71
74
|
})) : chatPill;
|
|
72
|
-
}), !!onBrowseAgentsClick && /*#__PURE__*/_react.default.createElement(
|
|
75
|
+
}), !!onBrowseAgentsClick && /*#__PURE__*/_react.default.createElement(_box.Box, {
|
|
73
76
|
as: "li"
|
|
74
77
|
}, /*#__PURE__*/_react.default.createElement(_chatPill.BrowseAgentsPill, {
|
|
75
78
|
onClick: onBrowseAgentsClick
|
|
@@ -21,7 +21,7 @@ var _dropdownMenuItem = _interopRequireDefault(require("@atlaskit/dropdown-menu/
|
|
|
21
21
|
var _dropdownMenuItemGroup = _interopRequireDefault(require("@atlaskit/dropdown-menu/dropdown-menu-item-group"));
|
|
22
22
|
var _showMoreHorizontal = _interopRequireDefault(require("@atlaskit/icon/core/show-more-horizontal"));
|
|
23
23
|
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
24
|
-
var
|
|
24
|
+
var _inline = require("@atlaskit/primitives/compiled/inline");
|
|
25
25
|
var _spinner = _interopRequireDefault(require("@atlaskit/spinner/spinner"));
|
|
26
26
|
var _agentVerificationDropdownItem = require("../agent-verification-dropdown-item");
|
|
27
27
|
var _messages = _interopRequireDefault(require("./messages"));
|
|
@@ -221,7 +221,7 @@ var AgentDropdownMenu = exports.AgentDropdownMenu = function AgentDropdownMenu(_
|
|
|
221
221
|
};
|
|
222
222
|
}()),
|
|
223
223
|
isDisabled: isDuplicating
|
|
224
|
-
}, /*#__PURE__*/_react.default.createElement(
|
|
224
|
+
}, /*#__PURE__*/_react.default.createElement(_inline.Inline, {
|
|
225
225
|
space: "space.050"
|
|
226
226
|
}, isDuplicating && /*#__PURE__*/_react.default.createElement(_spinner.default, {
|
|
227
227
|
size: "small"
|
|
@@ -12,7 +12,8 @@ var React = _interopRequireWildcard(require("react"));
|
|
|
12
12
|
var _runtime = require("@compiled/react/runtime");
|
|
13
13
|
var _reactIntl = require("react-intl");
|
|
14
14
|
var _button = _interopRequireDefault(require("@atlaskit/button/default/button"));
|
|
15
|
-
var
|
|
15
|
+
var _box = require("@atlaskit/primitives/compiled/box");
|
|
16
|
+
var _inline = require("@atlaskit/primitives/compiled/inline");
|
|
16
17
|
var _chatIcon = require("../../common/ui/chat-icon");
|
|
17
18
|
var _messages = _interopRequireDefault(require("./messages"));
|
|
18
19
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
@@ -27,20 +28,20 @@ var ChatToAgentButton = exports.ChatToAgentButton = function ChatToAgentButton(_
|
|
|
27
28
|
var onClick = _ref.onClick;
|
|
28
29
|
var _useIntl = (0, _reactIntl.useIntl)(),
|
|
29
30
|
formatMessage = _useIntl.formatMessage;
|
|
30
|
-
return /*#__PURE__*/React.createElement(
|
|
31
|
+
return /*#__PURE__*/React.createElement(_box.Box, {
|
|
31
32
|
xcss: styles.chatToAgentButtonContainer
|
|
32
33
|
}, /*#__PURE__*/React.createElement(_button.default, {
|
|
33
34
|
testId: "view-agent-modal-chat-to-agent-button",
|
|
34
35
|
shouldFitContainer: true,
|
|
35
36
|
onClick: onClick
|
|
36
|
-
}, /*#__PURE__*/React.createElement(
|
|
37
|
+
}, /*#__PURE__*/React.createElement(_box.Box, {
|
|
37
38
|
xcss: styles.chatToAgentButtonWrapper
|
|
38
|
-
}, /*#__PURE__*/React.createElement(
|
|
39
|
+
}, /*#__PURE__*/React.createElement(_inline.Inline, {
|
|
39
40
|
space: "space.050",
|
|
40
41
|
xcss: styles.chatPillButtonInline
|
|
41
|
-
}, /*#__PURE__*/React.createElement(
|
|
42
|
+
}, /*#__PURE__*/React.createElement(_box.Box, {
|
|
42
43
|
xcss: styles.chatPillIconWrapper
|
|
43
|
-
}, /*#__PURE__*/React.createElement(_chatIcon.ChatPillIcon, null)), /*#__PURE__*/React.createElement(
|
|
44
|
+
}, /*#__PURE__*/React.createElement(_chatIcon.ChatPillIcon, null)), /*#__PURE__*/React.createElement(_box.Box, {
|
|
44
45
|
xcss: styles.chatPillText
|
|
45
46
|
}, formatMessage(_messages.default.chatToAgentButton))))));
|
|
46
47
|
};
|
|
@@ -9,7 +9,7 @@ exports.AgentMenuItemSkeleton = void 0;
|
|
|
9
9
|
require("./index.compiled.css");
|
|
10
10
|
var _runtime = require("@compiled/react/runtime");
|
|
11
11
|
var _react = _interopRequireDefault(require("react"));
|
|
12
|
-
var
|
|
12
|
+
var _box = require("@atlaskit/primitives/compiled/box");
|
|
13
13
|
var _skeleton = _interopRequireDefault(require("@atlaskit/skeleton"));
|
|
14
14
|
var _agentAvatarSkeleton = require("../agent-avatar/agent-avatar-skeleton");
|
|
15
15
|
var styles = {
|
|
@@ -27,7 +27,7 @@ var AgentMenuItemSkeleton = exports.AgentMenuItemSkeleton = function AgentMenuIt
|
|
|
27
27
|
skeletonAvatarSize = _ref$skeletonAvatarSi === void 0 ? 'small' : _ref$skeletonAvatarSi,
|
|
28
28
|
_ref$paddingHorizonta = _ref.paddingHorizontal,
|
|
29
29
|
paddingHorizontal = _ref$paddingHorizonta === void 0 ? "var(--ds-space-075, 6px)" : _ref$paddingHorizonta;
|
|
30
|
-
return /*#__PURE__*/_react.default.createElement(
|
|
30
|
+
return /*#__PURE__*/_react.default.createElement(_box.Box, {
|
|
31
31
|
key: "skeleton-container-".concat(index),
|
|
32
32
|
testId: "skeleton-container-".concat(index),
|
|
33
33
|
xcss: styles.skeletonContainer,
|
|
@@ -9,7 +9,7 @@ exports.AgentNameSideNav = void 0;
|
|
|
9
9
|
require("./index.compiled.css");
|
|
10
10
|
var _runtime = require("@compiled/react/runtime");
|
|
11
11
|
var _react = _interopRequireDefault(require("react"));
|
|
12
|
-
var
|
|
12
|
+
var _text = require("@atlaskit/primitives/compiled/text");
|
|
13
13
|
// This workaround prevents unwanted text truncation in LinkMenuItem caused by the current
|
|
14
14
|
// behavior in the ADS 'LinkMenuItem' component.
|
|
15
15
|
// More info: https://atlassian.slack.com/archives/C09FTFN0APN/p1770606423849489
|
|
@@ -19,7 +19,7 @@ var AgentNameSideNav = exports.AgentNameSideNav = function AgentNameSideNav(_ref
|
|
|
19
19
|
name = _ref.name;
|
|
20
20
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
21
21
|
className: (0, _runtime.ax)(["_zulp1b66 _1e0c1n7u _yv0e1ghl _4cvr1h6o"])
|
|
22
|
-
}, /*#__PURE__*/_react.default.createElement(
|
|
22
|
+
}, /*#__PURE__*/_react.default.createElement(_text.Text, {
|
|
23
23
|
maxLines: 1
|
|
24
24
|
}, name), children);
|
|
25
25
|
};
|
|
@@ -12,7 +12,7 @@ var React = _interopRequireWildcard(require("react"));
|
|
|
12
12
|
var _runtime = require("@compiled/react/runtime");
|
|
13
13
|
var _reactIntl = require("react-intl");
|
|
14
14
|
var _starUnstarred = _interopRequireDefault(require("@atlaskit/icon/core/star-unstarred"));
|
|
15
|
-
var
|
|
15
|
+
var _box = require("@atlaskit/primitives/compiled/box");
|
|
16
16
|
var _skeleton = _interopRequireDefault(require("@atlaskit/skeleton"));
|
|
17
17
|
var _messages = require("./messages");
|
|
18
18
|
var _utils = require("./utils");
|
|
@@ -28,7 +28,7 @@ var AgentStarCount = exports.AgentStarCount = function AgentStarCount(_ref) {
|
|
|
28
28
|
if ((starCount === null || starCount === undefined) && !isLoading) {
|
|
29
29
|
return null;
|
|
30
30
|
}
|
|
31
|
-
return /*#__PURE__*/React.createElement(
|
|
31
|
+
return /*#__PURE__*/React.createElement(_box.Box, {
|
|
32
32
|
xcss: styles.count
|
|
33
33
|
}, /*#__PURE__*/React.createElement(_starUnstarred.default, {
|
|
34
34
|
color: "currentColor",
|
|
@@ -12,7 +12,7 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
12
12
|
var _reactIntl = require("react-intl");
|
|
13
13
|
var _css = require("@atlaskit/css");
|
|
14
14
|
var _statusVerified = _interopRequireDefault(require("@atlaskit/icon/core/status-verified"));
|
|
15
|
-
var
|
|
15
|
+
var _flex = require("@atlaskit/primitives/compiled/flex");
|
|
16
16
|
var _Tooltip = _interopRequireDefault(require("@atlaskit/tooltip/Tooltip"));
|
|
17
17
|
var _messages = _interopRequireDefault(require("./messages"));
|
|
18
18
|
var styles = {
|
|
@@ -28,7 +28,7 @@ var AgentVerifiedIcon = exports.AgentVerifiedIcon = function AgentVerifiedIcon(_
|
|
|
28
28
|
formatMessage = _useIntl.formatMessage;
|
|
29
29
|
return /*#__PURE__*/_react.default.createElement(_Tooltip.default, {
|
|
30
30
|
content: formatMessage(_messages.default.verifiedAgentTooltip)
|
|
31
|
-
}, /*#__PURE__*/_react.default.createElement(
|
|
31
|
+
}, /*#__PURE__*/_react.default.createElement(_flex.Flex, {
|
|
32
32
|
justifyContent: "center",
|
|
33
33
|
alignItems: "center",
|
|
34
34
|
xcss: (0, _css.cx)(adjacentTextSize === 'body' && styles['body'], adjacentTextSize === 'headingMedium' && styles['headingMedium'], adjacentTextSize === 'headingLarge' && styles['headingLarge'], adjacentTextSize === 'textLarge' && styles['textLarge'])
|
|
@@ -3,7 +3,7 @@ import "./index.compiled.css";
|
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import RovoChatIcon from '@atlaskit/icon/core/rovo-chat';
|
|
6
|
-
import { Flex } from '@atlaskit/primitives/compiled';
|
|
6
|
+
import { Flex } from '@atlaskit/primitives/compiled/flex';
|
|
7
7
|
const styles = {
|
|
8
8
|
agentChatIcon: "_2rko1mok _189ee4h9 _1dqonqa1 _1h6d1l7x _1bsbzwfg _4t3izwfg"
|
|
9
9
|
};
|
|
@@ -7,7 +7,9 @@ import { forwardRef } from 'react';
|
|
|
7
7
|
import { useIntl } from 'react-intl';
|
|
8
8
|
import { cx } from '@atlaskit/css';
|
|
9
9
|
import AgentIcon from '@atlaskit/icon/core/ai-agent';
|
|
10
|
-
import { Box
|
|
10
|
+
import { Box } from '@atlaskit/primitives/compiled/box';
|
|
11
|
+
import { Inline } from '@atlaskit/primitives/compiled/inline';
|
|
12
|
+
import { Pressable } from '@atlaskit/primitives/compiled/pressable';
|
|
11
13
|
import { ChatPillIcon } from '../chat-icon';
|
|
12
14
|
import messages from './messages';
|
|
13
15
|
const stylesCompiled = {
|
|
@@ -7,7 +7,7 @@ import { useIntl } from 'react-intl';
|
|
|
7
7
|
import IconButton from '@atlaskit/button/icon/button';
|
|
8
8
|
import { cx } from '@atlaskit/css';
|
|
9
9
|
import LinkIcon from '@atlaskit/icon/core/link';
|
|
10
|
-
import { Box } from '@atlaskit/primitives/compiled';
|
|
10
|
+
import { Box } from '@atlaskit/primitives/compiled/box';
|
|
11
11
|
import messages from './messages';
|
|
12
12
|
const styles = {
|
|
13
13
|
hidden: "_tzy4idpf"
|
|
@@ -9,7 +9,7 @@ import IconButton from '@atlaskit/button/icon/button';
|
|
|
9
9
|
import { cx } from '@atlaskit/css';
|
|
10
10
|
import StarIconMigration from '@atlaskit/icon/core/star-starred';
|
|
11
11
|
import StarUnstarredIconMigration from '@atlaskit/icon/core/star-unstarred';
|
|
12
|
-
import { Box } from '@atlaskit/primitives/compiled';
|
|
12
|
+
import { Box } from '@atlaskit/primitives/compiled/box';
|
|
13
13
|
import messages from './messages';
|
|
14
14
|
const styles = {
|
|
15
15
|
hidden: "_tzy4idpf"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import { AVATAR_SIZES } from '@atlaskit/avatar/avatar-sizes';
|
|
5
|
-
import { Box } from '@atlaskit/primitives/compiled';
|
|
5
|
+
import { Box } from '@atlaskit/primitives/compiled/box';
|
|
6
6
|
import Skeleton from '@atlaskit/skeleton';
|
|
7
7
|
import { AGENT_AVATAR_CLIP_PATH } from '../index';
|
|
8
8
|
/**
|
|
@@ -5,7 +5,7 @@ import React, { lazy, Suspense, useEffect } from 'react';
|
|
|
5
5
|
import { AVATAR_SIZES } from '@atlaskit/avatar/avatar-sizes';
|
|
6
6
|
import { cx } from '@atlaskit/css';
|
|
7
7
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
8
|
-
import { Box } from '@atlaskit/primitives/compiled';
|
|
8
|
+
import { Box } from '@atlaskit/primitives/compiled/box';
|
|
9
9
|
const RefreshedCustomerInsightAvatar = /*#__PURE__*/lazy(() => import('./refreshed-assets/customer-insight'));
|
|
10
10
|
const RefreshedBacklogBuddyAvatar = /*#__PURE__*/lazy(() => import('./refreshed-assets/backlog-buddy'));
|
|
11
11
|
const RefreshedDecisionDirectorAvatar = /*#__PURE__*/lazy(() => import('./refreshed-assets/decision-director'));
|
|
@@ -8,7 +8,7 @@ import Avatar from '@atlaskit/avatar/avatar';
|
|
|
8
8
|
import { AvatarContent } from '@atlaskit/avatar/avatar-content';
|
|
9
9
|
import { AVATAR_SIZES } from '@atlaskit/avatar/avatar-sizes';
|
|
10
10
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
11
|
-
import { Box } from '@atlaskit/primitives/compiled';
|
|
11
|
+
import { Box } from '@atlaskit/primitives/compiled/box';
|
|
12
12
|
import { GeneratedAvatar } from './generated-avatars';
|
|
13
13
|
import { messages } from './messages';
|
|
14
14
|
export const AGENT_AVATAR_CLIP_PATH = `polygon(45% 1.33975%, 46.5798% 0.60307%, 48.26352% 0.15192%, 50% 0%, 51.73648% 0.15192%, 53.4202% 0.60307%, 55% 1.33975%, 89.64102% 21.33975%, 91.06889% 22.33956%, 92.30146% 23.57212%, 93.30127% 25%, 94.03794% 26.5798%, 94.48909% 28.26352%, 94.64102% 30%, 94.64102% 70%, 94.48909% 71.73648%, 94.03794% 73.4202%, 93.30127% 75%, 92.30146% 76.42788%, 91.06889% 77.66044%, 89.64102% 78.66025%, 55% 98.66025%, 53.4202% 99.39693%, 51.73648% 99.84808%, 50% 100%, 48.26352% 99.84808%, 46.5798% 99.39693%, 45% 98.66025%, 10.35898% 78.66025%, 8.93111% 77.66044%, 7.69854% 76.42788%, 6.69873% 75%, 5.96206% 73.4202%, 5.51091% 71.73648%, 5.35898% 70%, 5.35898% 30%, 5.51091% 28.26352%, 5.96206% 26.5798%, 6.69873% 25%, 7.69854% 23.57212%, 8.93111% 22.33956%, 10.35898% 21.33975%)`;
|
|
@@ -5,7 +5,10 @@ import React from 'react';
|
|
|
5
5
|
import IconButton from '@atlaskit/button/icon/button';
|
|
6
6
|
import { cx } from '@atlaskit/css';
|
|
7
7
|
import RetryIcon from '@atlaskit/icon/core/retry';
|
|
8
|
-
import { Box
|
|
8
|
+
import { Box } from '@atlaskit/primitives/compiled/box';
|
|
9
|
+
import { Inline } from '@atlaskit/primitives/compiled/inline';
|
|
10
|
+
import { Pressable } from '@atlaskit/primitives/compiled/pressable';
|
|
11
|
+
import { Stack } from '@atlaskit/primitives/compiled/stack';
|
|
9
12
|
import { AgentChatIcon } from '../../common/ui/agent-chat-icon';
|
|
10
13
|
import { BrowseAgentsPill } from '../../common/ui/chat-pill';
|
|
11
14
|
const styles = {
|
|
@@ -9,7 +9,7 @@ import DropdownItem from '@atlaskit/dropdown-menu/dropdown-menu-item';
|
|
|
9
9
|
import DropdownItemGroup from '@atlaskit/dropdown-menu/dropdown-menu-item-group';
|
|
10
10
|
import MoreIcon from '@atlaskit/icon/core/show-more-horizontal';
|
|
11
11
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
12
|
-
import { Inline } from '@atlaskit/primitives/compiled';
|
|
12
|
+
import { Inline } from '@atlaskit/primitives/compiled/inline';
|
|
13
13
|
import Spinner from '@atlaskit/spinner/spinner';
|
|
14
14
|
import { AgentVerificationDropdownItem } from '../agent-verification-dropdown-item';
|
|
15
15
|
import messages from './messages';
|
|
@@ -4,7 +4,8 @@ import * as React from 'react';
|
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import { useIntl } from 'react-intl';
|
|
6
6
|
import Button from '@atlaskit/button/default/button';
|
|
7
|
-
import { Box
|
|
7
|
+
import { Box } from '@atlaskit/primitives/compiled/box';
|
|
8
|
+
import { Inline } from '@atlaskit/primitives/compiled/inline';
|
|
8
9
|
import { ChatPillIcon } from '../../common/ui/chat-icon';
|
|
9
10
|
import messages from './messages';
|
|
10
11
|
const styles = {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import "./index.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React from 'react';
|
|
5
|
-
import { Box } from '@atlaskit/primitives/compiled';
|
|
5
|
+
import { Box } from '@atlaskit/primitives/compiled/box';
|
|
6
6
|
import Skeleton from '@atlaskit/skeleton';
|
|
7
7
|
import { AgentAvatarSkeleton } from '../agent-avatar/agent-avatar-skeleton';
|
|
8
8
|
const styles = {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import "./index.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React from 'react';
|
|
5
|
-
import { Text } from '@atlaskit/primitives/compiled';
|
|
5
|
+
import { Text } from '@atlaskit/primitives/compiled/text';
|
|
6
6
|
// This workaround prevents unwanted text truncation in LinkMenuItem caused by the current
|
|
7
7
|
// behavior in the ADS 'LinkMenuItem' component.
|
|
8
8
|
// More info: https://atlassian.slack.com/archives/C09FTFN0APN/p1770606423849489
|
|
@@ -4,7 +4,7 @@ import * as React from 'react';
|
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import { useIntl } from 'react-intl';
|
|
6
6
|
import StarIcon from '@atlaskit/icon/core/star-unstarred';
|
|
7
|
-
import { Box } from '@atlaskit/primitives/compiled';
|
|
7
|
+
import { Box } from '@atlaskit/primitives/compiled/box';
|
|
8
8
|
import Skeleton from '@atlaskit/skeleton';
|
|
9
9
|
import { messages } from './messages';
|
|
10
10
|
import { formatNumber } from './utils';
|
|
@@ -5,7 +5,7 @@ import React from 'react';
|
|
|
5
5
|
import { useIntl } from 'react-intl';
|
|
6
6
|
import { cx } from '@atlaskit/css';
|
|
7
7
|
import VerifiedIcon from '@atlaskit/icon/core/status-verified';
|
|
8
|
-
import { Flex } from '@atlaskit/primitives/compiled';
|
|
8
|
+
import { Flex } from '@atlaskit/primitives/compiled/flex';
|
|
9
9
|
import Tooltip from '@atlaskit/tooltip/Tooltip';
|
|
10
10
|
import messages from './messages';
|
|
11
11
|
const styles = {
|
|
@@ -3,7 +3,7 @@ import "./index.compiled.css";
|
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import RovoChatIcon from '@atlaskit/icon/core/rovo-chat';
|
|
6
|
-
import { Flex } from '@atlaskit/primitives/compiled';
|
|
6
|
+
import { Flex } from '@atlaskit/primitives/compiled/flex';
|
|
7
7
|
var styles = {
|
|
8
8
|
agentChatIcon: "_2rko1mok _189ee4h9 _1dqonqa1 _1h6d1l7x _1bsbzwfg _4t3izwfg"
|
|
9
9
|
};
|
|
@@ -9,7 +9,9 @@ import { forwardRef } from 'react';
|
|
|
9
9
|
import { useIntl } from 'react-intl';
|
|
10
10
|
import { cx } from '@atlaskit/css';
|
|
11
11
|
import AgentIcon from '@atlaskit/icon/core/ai-agent';
|
|
12
|
-
import { Box
|
|
12
|
+
import { Box } from '@atlaskit/primitives/compiled/box';
|
|
13
|
+
import { Inline } from '@atlaskit/primitives/compiled/inline';
|
|
14
|
+
import { Pressable } from '@atlaskit/primitives/compiled/pressable';
|
|
13
15
|
import { ChatPillIcon } from '../chat-icon';
|
|
14
16
|
import messages from './messages';
|
|
15
17
|
var stylesCompiled = {
|
|
@@ -7,7 +7,7 @@ import { useIntl } from 'react-intl';
|
|
|
7
7
|
import IconButton from '@atlaskit/button/icon/button';
|
|
8
8
|
import { cx } from '@atlaskit/css';
|
|
9
9
|
import LinkIcon from '@atlaskit/icon/core/link';
|
|
10
|
-
import { Box } from '@atlaskit/primitives/compiled';
|
|
10
|
+
import { Box } from '@atlaskit/primitives/compiled/box';
|
|
11
11
|
import messages from './messages';
|
|
12
12
|
var styles = {
|
|
13
13
|
hidden: "_tzy4idpf"
|
|
@@ -10,7 +10,7 @@ import IconButton from '@atlaskit/button/icon/button';
|
|
|
10
10
|
import { cx } from '@atlaskit/css';
|
|
11
11
|
import StarIconMigration from '@atlaskit/icon/core/star-starred';
|
|
12
12
|
import StarUnstarredIconMigration from '@atlaskit/icon/core/star-unstarred';
|
|
13
|
-
import { Box } from '@atlaskit/primitives/compiled';
|
|
13
|
+
import { Box } from '@atlaskit/primitives/compiled/box';
|
|
14
14
|
import messages from './messages';
|
|
15
15
|
var styles = {
|
|
16
16
|
hidden: "_tzy4idpf"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import { AVATAR_SIZES } from '@atlaskit/avatar/avatar-sizes';
|
|
5
|
-
import { Box } from '@atlaskit/primitives/compiled';
|
|
5
|
+
import { Box } from '@atlaskit/primitives/compiled/box';
|
|
6
6
|
import Skeleton from '@atlaskit/skeleton';
|
|
7
7
|
import { AGENT_AVATAR_CLIP_PATH } from '../index';
|
|
8
8
|
/**
|
|
@@ -8,7 +8,7 @@ import React, { lazy, Suspense, useEffect } from 'react';
|
|
|
8
8
|
import { AVATAR_SIZES } from '@atlaskit/avatar/avatar-sizes';
|
|
9
9
|
import { cx } from '@atlaskit/css';
|
|
10
10
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
11
|
-
import { Box } from '@atlaskit/primitives/compiled';
|
|
11
|
+
import { Box } from '@atlaskit/primitives/compiled/box';
|
|
12
12
|
var RefreshedCustomerInsightAvatar = /*#__PURE__*/lazy(function () {
|
|
13
13
|
return import('./refreshed-assets/customer-insight');
|
|
14
14
|
});
|
|
@@ -11,7 +11,7 @@ import Avatar from '@atlaskit/avatar/avatar';
|
|
|
11
11
|
import { AvatarContent } from '@atlaskit/avatar/avatar-content';
|
|
12
12
|
import { AVATAR_SIZES } from '@atlaskit/avatar/avatar-sizes';
|
|
13
13
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
14
|
-
import { Box } from '@atlaskit/primitives/compiled';
|
|
14
|
+
import { Box } from '@atlaskit/primitives/compiled/box';
|
|
15
15
|
import { GeneratedAvatar } from './generated-avatars';
|
|
16
16
|
import { messages } from './messages';
|
|
17
17
|
export var AGENT_AVATAR_CLIP_PATH = "polygon(45% 1.33975%, 46.5798% 0.60307%, 48.26352% 0.15192%, 50% 0%, 51.73648% 0.15192%, 53.4202% 0.60307%, 55% 1.33975%, 89.64102% 21.33975%, 91.06889% 22.33956%, 92.30146% 23.57212%, 93.30127% 25%, 94.03794% 26.5798%, 94.48909% 28.26352%, 94.64102% 30%, 94.64102% 70%, 94.48909% 71.73648%, 94.03794% 73.4202%, 93.30127% 75%, 92.30146% 76.42788%, 91.06889% 77.66044%, 89.64102% 78.66025%, 55% 98.66025%, 53.4202% 99.39693%, 51.73648% 99.84808%, 50% 100%, 48.26352% 99.84808%, 46.5798% 99.39693%, 45% 98.66025%, 10.35898% 78.66025%, 8.93111% 77.66044%, 7.69854% 76.42788%, 6.69873% 75%, 5.96206% 73.4202%, 5.51091% 71.73648%, 5.35898% 70%, 5.35898% 30%, 5.51091% 28.26352%, 5.96206% 26.5798%, 6.69873% 25%, 7.69854% 23.57212%, 8.93111% 22.33956%, 10.35898% 21.33975%)";
|
|
@@ -5,7 +5,10 @@ import React from 'react';
|
|
|
5
5
|
import IconButton from '@atlaskit/button/icon/button';
|
|
6
6
|
import { cx } from '@atlaskit/css';
|
|
7
7
|
import RetryIcon from '@atlaskit/icon/core/retry';
|
|
8
|
-
import { Box
|
|
8
|
+
import { Box } from '@atlaskit/primitives/compiled/box';
|
|
9
|
+
import { Inline } from '@atlaskit/primitives/compiled/inline';
|
|
10
|
+
import { Pressable } from '@atlaskit/primitives/compiled/pressable';
|
|
11
|
+
import { Stack } from '@atlaskit/primitives/compiled/stack';
|
|
9
12
|
import { AgentChatIcon } from '../../common/ui/agent-chat-icon';
|
|
10
13
|
import { BrowseAgentsPill } from '../../common/ui/chat-pill';
|
|
11
14
|
var styles = {
|
|
@@ -14,7 +14,7 @@ import DropdownItem from '@atlaskit/dropdown-menu/dropdown-menu-item';
|
|
|
14
14
|
import DropdownItemGroup from '@atlaskit/dropdown-menu/dropdown-menu-item-group';
|
|
15
15
|
import MoreIcon from '@atlaskit/icon/core/show-more-horizontal';
|
|
16
16
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
17
|
-
import { Inline } from '@atlaskit/primitives/compiled';
|
|
17
|
+
import { Inline } from '@atlaskit/primitives/compiled/inline';
|
|
18
18
|
import Spinner from '@atlaskit/spinner/spinner';
|
|
19
19
|
import { AgentVerificationDropdownItem } from '../agent-verification-dropdown-item';
|
|
20
20
|
import messages from './messages';
|
|
@@ -4,7 +4,8 @@ import * as React from 'react';
|
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import { useIntl } from 'react-intl';
|
|
6
6
|
import Button from '@atlaskit/button/default/button';
|
|
7
|
-
import { Box
|
|
7
|
+
import { Box } from '@atlaskit/primitives/compiled/box';
|
|
8
|
+
import { Inline } from '@atlaskit/primitives/compiled/inline';
|
|
8
9
|
import { ChatPillIcon } from '../../common/ui/chat-icon';
|
|
9
10
|
import messages from './messages';
|
|
10
11
|
var styles = {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import "./index.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React from 'react';
|
|
5
|
-
import { Box } from '@atlaskit/primitives/compiled';
|
|
5
|
+
import { Box } from '@atlaskit/primitives/compiled/box';
|
|
6
6
|
import Skeleton from '@atlaskit/skeleton';
|
|
7
7
|
import { AgentAvatarSkeleton } from '../agent-avatar/agent-avatar-skeleton';
|
|
8
8
|
var styles = {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import "./index.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React from 'react';
|
|
5
|
-
import { Text } from '@atlaskit/primitives/compiled';
|
|
5
|
+
import { Text } from '@atlaskit/primitives/compiled/text';
|
|
6
6
|
// This workaround prevents unwanted text truncation in LinkMenuItem caused by the current
|
|
7
7
|
// behavior in the ADS 'LinkMenuItem' component.
|
|
8
8
|
// More info: https://atlassian.slack.com/archives/C09FTFN0APN/p1770606423849489
|
|
@@ -4,7 +4,7 @@ import * as React from 'react';
|
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
5
5
|
import { useIntl } from 'react-intl';
|
|
6
6
|
import StarIcon from '@atlaskit/icon/core/star-unstarred';
|
|
7
|
-
import { Box } from '@atlaskit/primitives/compiled';
|
|
7
|
+
import { Box } from '@atlaskit/primitives/compiled/box';
|
|
8
8
|
import Skeleton from '@atlaskit/skeleton';
|
|
9
9
|
import { messages } from './messages';
|
|
10
10
|
import { formatNumber } from './utils';
|
|
@@ -5,7 +5,7 @@ import React from 'react';
|
|
|
5
5
|
import { useIntl } from 'react-intl';
|
|
6
6
|
import { cx } from '@atlaskit/css';
|
|
7
7
|
import VerifiedIcon from '@atlaskit/icon/core/status-verified';
|
|
8
|
-
import { Flex } from '@atlaskit/primitives/compiled';
|
|
8
|
+
import { Flex } from '@atlaskit/primitives/compiled/flex';
|
|
9
9
|
import Tooltip from '@atlaskit/tooltip/Tooltip';
|
|
10
10
|
import messages from './messages';
|
|
11
11
|
var styles = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/rovo-agent-components",
|
|
3
|
-
"version": "9.9.
|
|
3
|
+
"version": "9.9.8",
|
|
4
4
|
"description": "This package host public components related to rovo agents, the components here are needed for other public atlaskit packages",
|
|
5
5
|
"repository": "https://bitbucket.org/atlassian/atlassian-frontend-monorepo",
|
|
6
6
|
"atlassian": {
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"@atlaskit/rovo-agent-analytics": "^6.5.0",
|
|
55
55
|
"@atlaskit/skeleton": "^4.4.0",
|
|
56
56
|
"@atlaskit/spinner": "^20.4.0",
|
|
57
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
57
|
+
"@atlaskit/tmp-editor-statsig": "^230.0.0",
|
|
58
58
|
"@atlaskit/tokens": "^20.4.0",
|
|
59
59
|
"@atlaskit/tooltip": "^24.4.0",
|
|
60
60
|
"@babel/runtime": "^7.0.0",
|