@atlaskit/rovo-agent-components 2.7.2 → 2.8.1
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/chat-pill/index.compiled.css +1 -12
- package/dist/cjs/common/ui/chat-pill/index.js +2 -22
- package/dist/cjs/index.js +0 -6
- package/dist/es2019/common/ui/chat-pill/index.compiled.css +1 -12
- package/dist/es2019/common/ui/chat-pill/index.js +1 -18
- package/dist/es2019/index.js +1 -1
- package/dist/esm/common/ui/chat-pill/index.compiled.css +1 -12
- package/dist/esm/common/ui/chat-pill/index.js +1 -21
- package/dist/esm/index.js +1 -1
- package/dist/types/common/ui/chat-pill/index.d.ts +0 -4
- package/dist/types/index.d.ts +1 -2
- package/dist/types-ts4.5/common/ui/chat-pill/index.d.ts +0 -4
- package/dist/types-ts4.5/index.d.ts +1 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/rovo-agent-components
|
|
2
2
|
|
|
3
|
+
## 2.8.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 2.8.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [#145486](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/145486)
|
|
14
|
+
[`7a846609af2b9`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7a846609af2b9) -
|
|
15
|
+
Consolidate browse agents pill and conversation starter pill into single chat pill component
|
|
16
|
+
|
|
3
17
|
## 2.7.2
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -1,33 +1,22 @@
|
|
|
1
1
|
._11c82smr{font:var(--ds-font-body,normal 400 14px/20px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._2rkoiti9{border-radius:var(--ds-border-radius-100,4px)}
|
|
3
|
-
._2rkopd34{border-radius:var(--ds-border-radius-200,8px)}
|
|
4
3
|
._189ee4h9{border-width:var(--ds-border-width,1px)}
|
|
5
4
|
._18zrv77o{padding-inline:var(--ds-space-025,2px)}
|
|
6
5
|
._1dqonqa1{border-style:solid}
|
|
7
6
|
._1h6dmuej{border-color:var(--ds-border,#091e4224)}
|
|
8
|
-
._19bvu2gc{padding-left:var(--ds-space-100,8px)}
|
|
9
7
|
._19bvutpp{padding-left:var(--ds-space-150,9pt)}
|
|
10
|
-
._1bsb1osq{width:100%}
|
|
11
8
|
._1bto1l2s{text-overflow:ellipsis}
|
|
12
9
|
._1nmz1hna{word-break:break-word}
|
|
13
|
-
._1o0zgqwt{border-bottom-right-radius:var(--ds-border-radius-050,2px)}
|
|
14
10
|
._1o9zkb7n{flex-shrink:1}
|
|
15
|
-
._bfhk1j28{background-color:transparent}
|
|
16
11
|
._bfhksm61{background-color:var(--ds-background-neutral-subtle,#00000000)}
|
|
17
12
|
._ca0q12x7{padding-top:var(--ds-space-075,6px)}
|
|
18
|
-
._ca0qu2gc{padding-top:var(--ds-space-100,8px)}
|
|
19
13
|
._k48p1wq8{font-weight:var(--ds-font-weight-medium,500)}
|
|
20
14
|
._n3td12x7{padding-bottom:var(--ds-space-075,6px)}
|
|
21
|
-
._n3tdu2gc{padding-bottom:var(--ds-space-100,8px)}
|
|
22
15
|
._o5721jtm{white-space:pre-wrap}
|
|
23
16
|
._o5721q9c{white-space:nowrap}
|
|
24
|
-
._syaz1fxt{color:var(--ds-text,#172b4d)}
|
|
25
17
|
._syaz1gjq{color:var(--ds-text-subtle,#44546f)}
|
|
26
|
-
._u5f3u2gc{padding-right:var(--ds-space-100,8px)}
|
|
27
18
|
._u5f3utpp{padding-right:var(--ds-space-150,9pt)}
|
|
28
19
|
._vwz47vkz{line-height:1pc}
|
|
29
20
|
._y3gn1e5h{text-align:left}
|
|
30
|
-
._irr315ej:hover{background-color:var(--ds-background-neutral-hovered,#091e4224)}
|
|
31
21
|
._irr3166n:hover{background-color:var(--ds-background-neutral-subtle-hovered,#091e420f)}
|
|
32
|
-
._1di61dty:active{background-color:var(--ds-background-neutral-subtle-pressed,#091e4224)}
|
|
33
|
-
._1di6ip91:active{background-color:var(--ds-background-neutral-pressed,#091e424f)}
|
|
22
|
+
._1di61dty:active{background-color:var(--ds-background-neutral-subtle-pressed,#091e4224)}
|
|
@@ -6,7 +6,7 @@ var _typeof = require("@babel/runtime/helpers/typeof");
|
|
|
6
6
|
Object.defineProperty(exports, "__esModule", {
|
|
7
7
|
value: true
|
|
8
8
|
});
|
|
9
|
-
exports.
|
|
9
|
+
exports.ChatPill = exports.BrowseAgentsPill = void 0;
|
|
10
10
|
require("./index.compiled.css");
|
|
11
11
|
var _react = _interopRequireWildcard(require("react"));
|
|
12
12
|
var React = _react;
|
|
@@ -19,15 +19,13 @@ var _aiAgent = _interopRequireDefault(require("@atlaskit/icon/core/ai-agent"));
|
|
|
19
19
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
20
20
|
var _chatIcon = require("../chat-icon");
|
|
21
21
|
var _messages = _interopRequireDefault(require("./messages"));
|
|
22
|
-
var _excluded = ["children", "whiteSpacePreWrap", "renderIcon"]
|
|
23
|
-
_excluded2 = ["children", "whiteSpacePreWrap"];
|
|
22
|
+
var _excluded = ["children", "whiteSpacePreWrap", "renderIcon"];
|
|
24
23
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
25
24
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
26
25
|
var stylesCompiled = {
|
|
27
26
|
pillLineHeight: "_vwz47vkz"
|
|
28
27
|
};
|
|
29
28
|
var styles = {
|
|
30
|
-
conversationStarterPill: "_2rkopd34 _11c82smr _189ee4h9 _1dqonqa1 _1h6dmuej _syaz1fxt _ca0qu2gc _u5f3u2gc _n3tdu2gc _19bvu2gc _1o0zgqwt _k48p1wq8 _1bto1l2s _o5721q9c _1o9zkb7n _bfhk1j28 _1bsb1osq _irr315ej _1di6ip91",
|
|
31
29
|
button: "_2rkoiti9 _11c82smr _189ee4h9 _1dqonqa1 _1h6dmuej _syaz1gjq _ca0q12x7 _u5f3utpp _n3td12x7 _19bvutpp _k48p1wq8 _1bto1l2s _o5721q9c _1o9zkb7n _bfhksm61 _irr3166n _1di61dty",
|
|
32
30
|
buttonInline: "_18zrv77o",
|
|
33
31
|
queryText: "_1nmz1hna _y3gn1e5h",
|
|
@@ -71,22 +69,4 @@ var BrowseAgentsPill = exports.BrowseAgentsPill = /*#__PURE__*/(0, _react.forwar
|
|
|
71
69
|
}), /*#__PURE__*/React.createElement(_compiled.Box, {
|
|
72
70
|
xcss: styles.queryText
|
|
73
71
|
}, formatMessage(_messages.default.browseAgentsPillLabel)))));
|
|
74
|
-
});
|
|
75
|
-
var ConversationStarterPill = exports.ConversationStarterPill = /*#__PURE__*/(0, _react.forwardRef)(function (_ref2, ref) {
|
|
76
|
-
var children = _ref2.children,
|
|
77
|
-
_ref2$whiteSpacePreWr = _ref2.whiteSpacePreWrap,
|
|
78
|
-
whiteSpacePreWrap = _ref2$whiteSpacePreWr === void 0 ? true : _ref2$whiteSpacePreWr,
|
|
79
|
-
props = (0, _objectWithoutProperties2.default)(_ref2, _excluded2);
|
|
80
|
-
return /*#__PURE__*/React.createElement(_compiled.Pressable, (0, _extends2.default)({
|
|
81
|
-
ref: ref
|
|
82
|
-
}, props, {
|
|
83
|
-
xcss: styles.conversationStarterPill
|
|
84
|
-
}), /*#__PURE__*/React.createElement("div", {
|
|
85
|
-
className: (0, _runtime.ax)([stylesCompiled.pillLineHeight])
|
|
86
|
-
}, /*#__PURE__*/React.createElement(_compiled.Inline, {
|
|
87
|
-
space: "space.050",
|
|
88
|
-
xcss: styles.buttonInline
|
|
89
|
-
}, /*#__PURE__*/React.createElement(_chatIcon.ChatPillIcon, null), /*#__PURE__*/React.createElement(_compiled.Box, {
|
|
90
|
-
xcss: (0, _css.cx)(styles.queryText, whiteSpacePreWrap && styles.whiteSpacePreWrap)
|
|
91
|
-
}, children))));
|
|
92
72
|
});
|
package/dist/cjs/index.js
CHANGED
|
@@ -63,12 +63,6 @@ Object.defineProperty(exports, "ChatPillIcon", {
|
|
|
63
63
|
return _chatIcon.ChatPillIcon;
|
|
64
64
|
}
|
|
65
65
|
});
|
|
66
|
-
Object.defineProperty(exports, "ConversationStarterPill", {
|
|
67
|
-
enumerable: true,
|
|
68
|
-
get: function get() {
|
|
69
|
-
return _chatPill.ConversationStarterPill;
|
|
70
|
-
}
|
|
71
|
-
});
|
|
72
66
|
Object.defineProperty(exports, "ConversationStarters", {
|
|
73
67
|
enumerable: true,
|
|
74
68
|
get: function get() {
|
|
@@ -1,33 +1,22 @@
|
|
|
1
1
|
._11c82smr{font:var(--ds-font-body,normal 400 14px/20px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._2rkoiti9{border-radius:var(--ds-border-radius-100,4px)}
|
|
3
|
-
._2rkopd34{border-radius:var(--ds-border-radius-200,8px)}
|
|
4
3
|
._189ee4h9{border-width:var(--ds-border-width,1px)}
|
|
5
4
|
._18zrv77o{padding-inline:var(--ds-space-025,2px)}
|
|
6
5
|
._1dqonqa1{border-style:solid}
|
|
7
6
|
._1h6dmuej{border-color:var(--ds-border,#091e4224)}
|
|
8
|
-
._19bvu2gc{padding-left:var(--ds-space-100,8px)}
|
|
9
7
|
._19bvutpp{padding-left:var(--ds-space-150,9pt)}
|
|
10
|
-
._1bsb1osq{width:100%}
|
|
11
8
|
._1bto1l2s{text-overflow:ellipsis}
|
|
12
9
|
._1nmz1hna{word-break:break-word}
|
|
13
|
-
._1o0zgqwt{border-bottom-right-radius:var(--ds-border-radius-050,2px)}
|
|
14
10
|
._1o9zkb7n{flex-shrink:1}
|
|
15
|
-
._bfhk1j28{background-color:transparent}
|
|
16
11
|
._bfhksm61{background-color:var(--ds-background-neutral-subtle,#00000000)}
|
|
17
12
|
._ca0q12x7{padding-top:var(--ds-space-075,6px)}
|
|
18
|
-
._ca0qu2gc{padding-top:var(--ds-space-100,8px)}
|
|
19
13
|
._k48p1wq8{font-weight:var(--ds-font-weight-medium,500)}
|
|
20
14
|
._n3td12x7{padding-bottom:var(--ds-space-075,6px)}
|
|
21
|
-
._n3tdu2gc{padding-bottom:var(--ds-space-100,8px)}
|
|
22
15
|
._o5721jtm{white-space:pre-wrap}
|
|
23
16
|
._o5721q9c{white-space:nowrap}
|
|
24
|
-
._syaz1fxt{color:var(--ds-text,#172b4d)}
|
|
25
17
|
._syaz1gjq{color:var(--ds-text-subtle,#44546f)}
|
|
26
|
-
._u5f3u2gc{padding-right:var(--ds-space-100,8px)}
|
|
27
18
|
._u5f3utpp{padding-right:var(--ds-space-150,9pt)}
|
|
28
19
|
._vwz47vkz{line-height:1pc}
|
|
29
20
|
._y3gn1e5h{text-align:left}
|
|
30
|
-
._irr315ej:hover{background-color:var(--ds-background-neutral-hovered,#091e4224)}
|
|
31
21
|
._irr3166n:hover{background-color:var(--ds-background-neutral-subtle-hovered,#091e420f)}
|
|
32
|
-
._1di61dty:active{background-color:var(--ds-background-neutral-subtle-pressed,#091e4224)}
|
|
33
|
-
._1di6ip91:active{background-color:var(--ds-background-neutral-pressed,#091e424f)}
|
|
22
|
+
._1di61dty:active{background-color:var(--ds-background-neutral-subtle-pressed,#091e4224)}
|
|
@@ -14,7 +14,6 @@ const stylesCompiled = {
|
|
|
14
14
|
pillLineHeight: "_vwz47vkz"
|
|
15
15
|
};
|
|
16
16
|
const styles = {
|
|
17
|
-
conversationStarterPill: "_2rkopd34 _11c82smr _189ee4h9 _1dqonqa1 _1h6dmuej _syaz1fxt _ca0qu2gc _u5f3u2gc _n3tdu2gc _19bvu2gc _1o0zgqwt _k48p1wq8 _1bto1l2s _o5721q9c _1o9zkb7n _bfhk1j28 _1bsb1osq _irr315ej _1di6ip91",
|
|
18
17
|
button: "_2rkoiti9 _11c82smr _189ee4h9 _1dqonqa1 _1h6dmuej _syaz1gjq _ca0q12x7 _u5f3utpp _n3td12x7 _19bvutpp _k48p1wq8 _1bto1l2s _o5721q9c _1o9zkb7n _bfhksm61 _irr3166n _1di61dty",
|
|
19
18
|
buttonInline: "_18zrv77o",
|
|
20
19
|
queryText: "_1nmz1hna _y3gn1e5h",
|
|
@@ -56,20 +55,4 @@ export const BrowseAgentsPill = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
56
55
|
}), /*#__PURE__*/React.createElement(Box, {
|
|
57
56
|
xcss: styles.queryText
|
|
58
57
|
}, formatMessage(messages.browseAgentsPillLabel)))));
|
|
59
|
-
});
|
|
60
|
-
export const ConversationStarterPill = /*#__PURE__*/forwardRef(({
|
|
61
|
-
children,
|
|
62
|
-
whiteSpacePreWrap = true,
|
|
63
|
-
...props
|
|
64
|
-
}, ref) => /*#__PURE__*/React.createElement(Pressable, _extends({
|
|
65
|
-
ref: ref
|
|
66
|
-
}, props, {
|
|
67
|
-
xcss: styles.conversationStarterPill
|
|
68
|
-
}), /*#__PURE__*/React.createElement("div", {
|
|
69
|
-
className: ax([stylesCompiled.pillLineHeight])
|
|
70
|
-
}, /*#__PURE__*/React.createElement(Inline, {
|
|
71
|
-
space: "space.050",
|
|
72
|
-
xcss: styles.buttonInline
|
|
73
|
-
}, /*#__PURE__*/React.createElement(ChatPillIcon, null), /*#__PURE__*/React.createElement(Box, {
|
|
74
|
-
xcss: cx(styles.queryText, whiteSpacePreWrap && styles.whiteSpacePreWrap)
|
|
75
|
-
}, children)))));
|
|
58
|
+
});
|
package/dist/es2019/index.js
CHANGED
|
@@ -3,7 +3,7 @@ export { AgentStarCount } from './ui/agent-profile-info/agent-star-count';
|
|
|
3
3
|
export { StarIconButton } from './common/ui/star-icon-button';
|
|
4
4
|
export { LinkIconButton } from './common/ui/link-icon-button';
|
|
5
5
|
export { AgentConversationStarters, ConversationStarters, getConversationStarters } from './ui/agent-conversation-starters';
|
|
6
|
-
export { ChatPill, BrowseAgentsPill
|
|
6
|
+
export { ChatPill, BrowseAgentsPill } from './common/ui/chat-pill';
|
|
7
7
|
export { ChatPillIcon } from './common/ui/chat-icon';
|
|
8
8
|
export { ShowIcon } from './common/ui/show-icon';
|
|
9
9
|
export { HiddenIcon } from './common/ui/hidden-icon';
|
|
@@ -1,33 +1,22 @@
|
|
|
1
1
|
._11c82smr{font:var(--ds-font-body,normal 400 14px/20px ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
2
2
|
._2rkoiti9{border-radius:var(--ds-border-radius-100,4px)}
|
|
3
|
-
._2rkopd34{border-radius:var(--ds-border-radius-200,8px)}
|
|
4
3
|
._189ee4h9{border-width:var(--ds-border-width,1px)}
|
|
5
4
|
._18zrv77o{padding-inline:var(--ds-space-025,2px)}
|
|
6
5
|
._1dqonqa1{border-style:solid}
|
|
7
6
|
._1h6dmuej{border-color:var(--ds-border,#091e4224)}
|
|
8
|
-
._19bvu2gc{padding-left:var(--ds-space-100,8px)}
|
|
9
7
|
._19bvutpp{padding-left:var(--ds-space-150,9pt)}
|
|
10
|
-
._1bsb1osq{width:100%}
|
|
11
8
|
._1bto1l2s{text-overflow:ellipsis}
|
|
12
9
|
._1nmz1hna{word-break:break-word}
|
|
13
|
-
._1o0zgqwt{border-bottom-right-radius:var(--ds-border-radius-050,2px)}
|
|
14
10
|
._1o9zkb7n{flex-shrink:1}
|
|
15
|
-
._bfhk1j28{background-color:transparent}
|
|
16
11
|
._bfhksm61{background-color:var(--ds-background-neutral-subtle,#00000000)}
|
|
17
12
|
._ca0q12x7{padding-top:var(--ds-space-075,6px)}
|
|
18
|
-
._ca0qu2gc{padding-top:var(--ds-space-100,8px)}
|
|
19
13
|
._k48p1wq8{font-weight:var(--ds-font-weight-medium,500)}
|
|
20
14
|
._n3td12x7{padding-bottom:var(--ds-space-075,6px)}
|
|
21
|
-
._n3tdu2gc{padding-bottom:var(--ds-space-100,8px)}
|
|
22
15
|
._o5721jtm{white-space:pre-wrap}
|
|
23
16
|
._o5721q9c{white-space:nowrap}
|
|
24
|
-
._syaz1fxt{color:var(--ds-text,#172b4d)}
|
|
25
17
|
._syaz1gjq{color:var(--ds-text-subtle,#44546f)}
|
|
26
|
-
._u5f3u2gc{padding-right:var(--ds-space-100,8px)}
|
|
27
18
|
._u5f3utpp{padding-right:var(--ds-space-150,9pt)}
|
|
28
19
|
._vwz47vkz{line-height:1pc}
|
|
29
20
|
._y3gn1e5h{text-align:left}
|
|
30
|
-
._irr315ej:hover{background-color:var(--ds-background-neutral-hovered,#091e4224)}
|
|
31
21
|
._irr3166n:hover{background-color:var(--ds-background-neutral-subtle-hovered,#091e420f)}
|
|
32
|
-
._1di61dty:active{background-color:var(--ds-background-neutral-subtle-pressed,#091e4224)}
|
|
33
|
-
._1di6ip91:active{background-color:var(--ds-background-neutral-pressed,#091e424f)}
|
|
22
|
+
._1di61dty:active{background-color:var(--ds-background-neutral-subtle-pressed,#091e4224)}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
/* index.tsx generated by @compiled/babel-plugin v0.36.1 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
4
|
-
var _excluded = ["children", "whiteSpacePreWrap", "renderIcon"]
|
|
5
|
-
_excluded2 = ["children", "whiteSpacePreWrap"];
|
|
4
|
+
var _excluded = ["children", "whiteSpacePreWrap", "renderIcon"];
|
|
6
5
|
import "./index.compiled.css";
|
|
7
6
|
import * as React from 'react';
|
|
8
7
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -17,7 +16,6 @@ var stylesCompiled = {
|
|
|
17
16
|
pillLineHeight: "_vwz47vkz"
|
|
18
17
|
};
|
|
19
18
|
var styles = {
|
|
20
|
-
conversationStarterPill: "_2rkopd34 _11c82smr _189ee4h9 _1dqonqa1 _1h6dmuej _syaz1fxt _ca0qu2gc _u5f3u2gc _n3tdu2gc _19bvu2gc _1o0zgqwt _k48p1wq8 _1bto1l2s _o5721q9c _1o9zkb7n _bfhk1j28 _1bsb1osq _irr315ej _1di6ip91",
|
|
21
19
|
button: "_2rkoiti9 _11c82smr _189ee4h9 _1dqonqa1 _1h6dmuej _syaz1gjq _ca0q12x7 _u5f3utpp _n3td12x7 _19bvutpp _k48p1wq8 _1bto1l2s _o5721q9c _1o9zkb7n _bfhksm61 _irr3166n _1di61dty",
|
|
22
20
|
buttonInline: "_18zrv77o",
|
|
23
21
|
queryText: "_1nmz1hna _y3gn1e5h",
|
|
@@ -61,22 +59,4 @@ export var BrowseAgentsPill = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
61
59
|
}), /*#__PURE__*/React.createElement(Box, {
|
|
62
60
|
xcss: styles.queryText
|
|
63
61
|
}, formatMessage(messages.browseAgentsPillLabel)))));
|
|
64
|
-
});
|
|
65
|
-
export var ConversationStarterPill = /*#__PURE__*/forwardRef(function (_ref2, ref) {
|
|
66
|
-
var children = _ref2.children,
|
|
67
|
-
_ref2$whiteSpacePreWr = _ref2.whiteSpacePreWrap,
|
|
68
|
-
whiteSpacePreWrap = _ref2$whiteSpacePreWr === void 0 ? true : _ref2$whiteSpacePreWr,
|
|
69
|
-
props = _objectWithoutProperties(_ref2, _excluded2);
|
|
70
|
-
return /*#__PURE__*/React.createElement(Pressable, _extends({
|
|
71
|
-
ref: ref
|
|
72
|
-
}, props, {
|
|
73
|
-
xcss: styles.conversationStarterPill
|
|
74
|
-
}), /*#__PURE__*/React.createElement("div", {
|
|
75
|
-
className: ax([stylesCompiled.pillLineHeight])
|
|
76
|
-
}, /*#__PURE__*/React.createElement(Inline, {
|
|
77
|
-
space: "space.050",
|
|
78
|
-
xcss: styles.buttonInline
|
|
79
|
-
}, /*#__PURE__*/React.createElement(ChatPillIcon, null), /*#__PURE__*/React.createElement(Box, {
|
|
80
|
-
xcss: cx(styles.queryText, whiteSpacePreWrap && styles.whiteSpacePreWrap)
|
|
81
|
-
}, children))));
|
|
82
62
|
});
|
package/dist/esm/index.js
CHANGED
|
@@ -3,7 +3,7 @@ export { AgentStarCount } from './ui/agent-profile-info/agent-star-count';
|
|
|
3
3
|
export { StarIconButton } from './common/ui/star-icon-button';
|
|
4
4
|
export { LinkIconButton } from './common/ui/link-icon-button';
|
|
5
5
|
export { AgentConversationStarters, ConversationStarters, getConversationStarters } from './ui/agent-conversation-starters';
|
|
6
|
-
export { ChatPill, BrowseAgentsPill
|
|
6
|
+
export { ChatPill, BrowseAgentsPill } from './common/ui/chat-pill';
|
|
7
7
|
export { ChatPillIcon } from './common/ui/chat-icon';
|
|
8
8
|
export { ShowIcon } from './common/ui/show-icon';
|
|
9
9
|
export { HiddenIcon } from './common/ui/hidden-icon';
|
|
@@ -10,7 +10,3 @@ export declare const ChatPill: import("react").ForwardRefExoticComponent<Omit<Bu
|
|
|
10
10
|
} & import("react").RefAttributes<HTMLButtonElement>>;
|
|
11
11
|
export type BrowseAgentsPillProps = Omit<ButtonProps, 'iconBefore' | 'children'>;
|
|
12
12
|
export declare const BrowseAgentsPill: import("react").ForwardRefExoticComponent<BrowseAgentsPillProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
13
|
-
export declare const ConversationStarterPill: import("react").ForwardRefExoticComponent<Omit<ButtonProps, "iconBefore"> & {
|
|
14
|
-
whiteSpacePreWrap?: boolean | undefined;
|
|
15
|
-
renderIcon?: boolean | undefined;
|
|
16
|
-
} & import("react").RefAttributes<HTMLButtonElement>>;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -3,8 +3,7 @@ export { AgentStarCount } from './ui/agent-profile-info/agent-star-count';
|
|
|
3
3
|
export { StarIconButton } from './common/ui/star-icon-button';
|
|
4
4
|
export { LinkIconButton } from './common/ui/link-icon-button';
|
|
5
5
|
export { AgentConversationStarters, ConversationStarters, type AgentConversationStartersProps, type ConversationStarter, type StaticAgentConversationStarter, type ConversationStartersProps, getConversationStarters, } from './ui/agent-conversation-starters';
|
|
6
|
-
export { ChatPill, type ChatPillProps
|
|
7
|
-
export type { BrowseAgentsPillProps } from './common/ui/chat-pill';
|
|
6
|
+
export { ChatPill, BrowseAgentsPill, type ChatPillProps } from './common/ui/chat-pill';
|
|
8
7
|
export { ChatPillIcon } from './common/ui/chat-icon';
|
|
9
8
|
export { ShowIcon } from './common/ui/show-icon';
|
|
10
9
|
export { HiddenIcon } from './common/ui/hidden-icon';
|
|
@@ -10,7 +10,3 @@ export declare const ChatPill: import("react").ForwardRefExoticComponent<Omit<Bu
|
|
|
10
10
|
} & import("react").RefAttributes<HTMLButtonElement>>;
|
|
11
11
|
export type BrowseAgentsPillProps = Omit<ButtonProps, 'iconBefore' | 'children'>;
|
|
12
12
|
export declare const BrowseAgentsPill: import("react").ForwardRefExoticComponent<BrowseAgentsPillProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
13
|
-
export declare const ConversationStarterPill: import("react").ForwardRefExoticComponent<Omit<ButtonProps, "iconBefore"> & {
|
|
14
|
-
whiteSpacePreWrap?: boolean | undefined;
|
|
15
|
-
renderIcon?: boolean | undefined;
|
|
16
|
-
} & import("react").RefAttributes<HTMLButtonElement>>;
|
|
@@ -3,8 +3,7 @@ export { AgentStarCount } from './ui/agent-profile-info/agent-star-count';
|
|
|
3
3
|
export { StarIconButton } from './common/ui/star-icon-button';
|
|
4
4
|
export { LinkIconButton } from './common/ui/link-icon-button';
|
|
5
5
|
export { AgentConversationStarters, ConversationStarters, type AgentConversationStartersProps, type ConversationStarter, type StaticAgentConversationStarter, type ConversationStartersProps, getConversationStarters, } from './ui/agent-conversation-starters';
|
|
6
|
-
export { ChatPill, type ChatPillProps
|
|
7
|
-
export type { BrowseAgentsPillProps } from './common/ui/chat-pill';
|
|
6
|
+
export { ChatPill, BrowseAgentsPill, type ChatPillProps } from './common/ui/chat-pill';
|
|
8
7
|
export { ChatPillIcon } from './common/ui/chat-icon';
|
|
9
8
|
export { ShowIcon } from './common/ui/show-icon';
|
|
10
9
|
export { HiddenIcon } from './common/ui/hidden-icon';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/rovo-agent-components",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.8.1",
|
|
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",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@atlaskit/heading": "^5.2.0",
|
|
45
45
|
"@atlaskit/icon": "^25.6.0",
|
|
46
46
|
"@atlaskit/legacy-custom-icons": "^0.22.0",
|
|
47
|
-
"@atlaskit/logo": "^
|
|
47
|
+
"@atlaskit/logo": "^18.0.0",
|
|
48
48
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
49
49
|
"@atlaskit/primitives": "^14.6.0",
|
|
50
50
|
"@atlaskit/skeleton": "^2.0.0",
|