@ant-design/agentic-ui 2.13.0 → 2.14.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.
|
@@ -71,15 +71,15 @@ var canRenderThoughtChain = function(placement, role, thoughtChainEnabled) {
|
|
|
71
71
|
if (thoughtChainEnabled === false) return false;
|
|
72
72
|
return true;
|
|
73
73
|
};
|
|
74
|
-
/**
|
|
75
|
-
* BubbleBeforeNode 组件
|
|
76
|
-
*
|
|
77
|
-
* 在聊天气泡之前渲染思维链或任务列表,显示AI的思考过程
|
|
78
|
-
*
|
|
79
|
-
* @example
|
|
80
|
-
* ```tsx
|
|
81
|
-
* <BubbleBeforeNode bubble={bubbleData} />
|
|
82
|
-
* ```
|
|
74
|
+
/**
|
|
75
|
+
* BubbleBeforeNode 组件
|
|
76
|
+
*
|
|
77
|
+
* 在聊天气泡之前渲染思维链或任务列表,显示AI的思考过程
|
|
78
|
+
*
|
|
79
|
+
* @example
|
|
80
|
+
* ```tsx
|
|
81
|
+
* <BubbleBeforeNode bubble={bubbleData} />
|
|
82
|
+
* ```
|
|
83
83
|
*/ export var BubbleBeforeNode = function(param) {
|
|
84
84
|
var bubble = param.bubble, className = param.className, style = param.style;
|
|
85
85
|
var _context_thoughtChain, _originData_extra, _context_thoughtChain1, _context_thoughtChain2;
|
package/dist/ChatLayout/style.js
CHANGED
|
@@ -51,6 +51,7 @@ function _object_spread_props(target, source) {
|
|
|
51
51
|
return target;
|
|
52
52
|
}
|
|
53
53
|
import { resetComponent, useEditorStyleRegister } from "../Hooks/useStyle";
|
|
54
|
+
var MOBILE_PADDING = 'var(--padding-1x)';
|
|
54
55
|
var genStyle = function(token) {
|
|
55
56
|
return _define_property({}, token.componentCls, {
|
|
56
57
|
display: 'flex',
|
|
@@ -198,6 +199,22 @@ var genStyle = function(token) {
|
|
|
198
199
|
zIndex: 100,
|
|
199
200
|
borderBottomLeftRadius: 'var(--radius-xl)',
|
|
200
201
|
borderBottomRightRadius: 'var(--radius-xl)'
|
|
202
|
+
},
|
|
203
|
+
'@media (max-width: 768px)': {
|
|
204
|
+
'&-header': {
|
|
205
|
+
padding: "0 ".concat(MOBILE_PADDING)
|
|
206
|
+
},
|
|
207
|
+
'&-content': {
|
|
208
|
+
'&-scrollable': {
|
|
209
|
+
paddingTop: MOBILE_PADDING,
|
|
210
|
+
paddingLeft: MOBILE_PADDING,
|
|
211
|
+
paddingRight: MOBILE_PADDING,
|
|
212
|
+
paddingBottom: '144px'
|
|
213
|
+
}
|
|
214
|
+
},
|
|
215
|
+
'&-footer': {
|
|
216
|
+
padding: MOBILE_PADDING
|
|
217
|
+
}
|
|
201
218
|
}
|
|
202
219
|
});
|
|
203
220
|
};
|
|
@@ -152,7 +152,8 @@ var genStyle = function(token) {
|
|
|
152
152
|
boxSizing: 'border-box'
|
|
153
153
|
},
|
|
154
154
|
'&:active,&.active': {
|
|
155
|
-
outline: '1px solid transparent'
|
|
155
|
+
outline: '1px solid transparent',
|
|
156
|
+
outlineColor: 'var(--mif-active-outline-color, transparent)'
|
|
156
157
|
},
|
|
157
158
|
'&-enlarged': (_obj = {}, _define_property(_obj, "".concat(token.componentCls, "-editor"), {
|
|
158
159
|
flex: 1,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ant-design/agentic-ui",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.14.1",
|
|
4
4
|
"description": "面向智能体的 UI 组件库,提供多步推理可视化、工具调用展示、任务执行协同等 Agentic UI 能力",
|
|
5
5
|
"repository": "git@github.com:ant-design/agentic-ui.git",
|
|
6
6
|
"license": "MIT",
|
|
@@ -165,4 +165,4 @@
|
|
|
165
165
|
"authors": [
|
|
166
166
|
"qixian.cs@outlook.com"
|
|
167
167
|
]
|
|
168
|
-
}
|
|
168
|
+
}
|