@ant-design/agentic-ui 2.24.4 → 2.24.5

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.
@@ -452,9 +452,9 @@ var BUTTON_TITLE_STYLE = {
452
452
  };
453
453
  var ButtonContent = function(param) {
454
454
  var title = param.title;
455
- return /*#__PURE__*/ React.createElement(React.Fragment, null, /*#__PURE__*/ React.createElement(Paperclip, null), title !== null && /*#__PURE__*/ React.createElement("div", {
455
+ return /*#__PURE__*/ React.createElement(React.Fragment, null, /*#__PURE__*/ React.createElement(Paperclip, null), title !== null && title ? /*#__PURE__*/ React.createElement("div", {
456
456
  style: BUTTON_TITLE_STYLE
457
- }, title));
457
+ }, title) : null);
458
458
  };
459
459
  /**
460
460
  * 附件上传按钮组件
@@ -69,6 +69,7 @@ var genStyle = function(token) {
69
69
  alignItems: 'center',
70
70
  lineHeight: '32px',
71
71
  cursor: 'pointer',
72
+ marginLeft: 4,
72
73
  '&&-disabled': {
73
74
  cursor: 'not-allowed',
74
75
  opacity: 1
@@ -253,7 +253,7 @@ var genStyle = function(token) {
253
253
  zIndex: 99,
254
254
  bottom: 12,
255
255
  display: 'flex',
256
- gap: '8px',
256
+ gap: '4px',
257
257
  alignItems: 'center',
258
258
  font: 'var(--font-text-body-base)',
259
259
  color: 'var(--color-gray-text-default)'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ant-design/agentic-ui",
3
- "version": "2.24.4",
3
+ "version": "2.24.5",
4
4
  "description": "面向智能体的 UI 组件库,提供多步推理可视化、工具调用展示、任务执行协同等 Agentic UI 能力",
5
5
  "repository": "git@github.com:ant-design/agentic-ui.git",
6
6
  "license": "MIT",