@ant-design/agentic-ui 2.0.13 → 2.0.14

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.
Files changed (27) hide show
  1. package/README.md +12 -12
  2. package/dist/Bubble/AIBubble.js +3 -1
  3. package/dist/{ChatBoot → ChatBootPage}/ButtonTab.js +1 -1
  4. package/dist/{ChatBoot → ChatBootPage}/ButtonTabGroup.js +1 -1
  5. package/dist/{ChatBoot → ChatBootPage}/ButtonTabGroupStyle.js +1 -1
  6. package/dist/{ChatBoot → ChatBootPage}/ButtonTabStyle.js +1 -1
  7. package/dist/{ChatBoot → ChatBootPage}/CaseReply.js +1 -1
  8. package/dist/{ChatBoot → ChatBootPage}/CaseReplyStyle.js +1 -1
  9. package/dist/{ChatBoot → ChatBootPage}/Title.js +1 -1
  10. package/dist/{ChatBoot → ChatBootPage}/index.js +1 -1
  11. package/dist/{ChatBoot → ChatBootPage}/style.js +1 -1
  12. package/dist/{Welcome → WelcomeMessage}/index.d.ts +7 -4
  13. package/dist/{Welcome → WelcomeMessage}/index.js +3 -3
  14. package/dist/{Welcome → WelcomeMessage}/style.js +1 -1
  15. package/dist/index.d.ts +2 -2
  16. package/dist/index.js +2 -2
  17. package/package.json +1 -1
  18. /package/dist/{ChatBoot → ChatBootPage}/ButtonTab.d.ts +0 -0
  19. /package/dist/{ChatBoot → ChatBootPage}/ButtonTabGroup.d.ts +0 -0
  20. /package/dist/{ChatBoot → ChatBootPage}/ButtonTabGroupStyle.d.ts +0 -0
  21. /package/dist/{ChatBoot → ChatBootPage}/ButtonTabStyle.d.ts +0 -0
  22. /package/dist/{ChatBoot → ChatBootPage}/CaseReply.d.ts +0 -0
  23. /package/dist/{ChatBoot → ChatBootPage}/CaseReplyStyle.d.ts +0 -0
  24. /package/dist/{ChatBoot → ChatBootPage}/Title.d.ts +0 -0
  25. /package/dist/{ChatBoot → ChatBootPage}/index.d.ts +0 -0
  26. /package/dist/{ChatBoot → ChatBootPage}/style.d.ts +0 -0
  27. /package/dist/{Welcome → WelcomeMessage}/style.d.ts +0 -0
package/README.md CHANGED
@@ -153,12 +153,12 @@ import { MarkdownEditor } from '@ant-design/agentic-ui';
153
153
 
154
154
  ### 📋 布局与容器组件
155
155
 
156
- | 组件 | 描述 | 主要功能 |
157
- | ------------ | ------------ | ------------------------------------ |
158
- | `ChatLayout` | 聊天布局容器 | 标准聊天界面布局,支持左右栏、全屏等 |
159
- | `History` | 历史记录组件 | 会话历史管理,支持搜索、筛选、导出 |
160
- | `Welcome` | 欢迎页组件 | 应用启动欢迎页,展示功能介绍 |
161
- | `Quote` | 引用组件 | 引用消息或内容 |
156
+ | 组件 | 描述 | 主要功能 |
157
+ | ---------------- | ------------ | ------------------------------------ |
158
+ | `ChatLayout` | 聊天布局容器 | 标准聊天界面布局,支持左右栏、全屏等 |
159
+ | `History` | 历史记录组件 | 会话历史管理,支持搜索、筛选、导出 |
160
+ | `WelcomeMessage` | 欢迎语组件 | 应用启动欢迎语,展示功能介绍 |
161
+ | `Quote` | 引用组件 | 引用消息或内容 |
162
162
 
163
163
  ### 🎯 交互与反馈组件
164
164
 
@@ -172,12 +172,12 @@ import { MarkdownEditor } from '@ant-design/agentic-ui';
172
172
 
173
173
  ### 🧠 智能体专属组件
174
174
 
175
- | 组件 | 描述 | 主要功能 |
176
- | ---------------- | ------------- | ---------------------------- |
177
- | `ChatBoot` | 聊天引导组件 | 快速回复、案例推荐等引导功能 |
178
- | `SchemaEditor` | Schema 编辑器 | 结构化数据编辑 |
179
- | `SchemaForm` | Schema 表单 | 基于 Schema 自动生成表单 |
180
- | `SchemaRenderer` | Schema 渲染器 | 渲染结构化数据 |
175
+ | 组件 | 描述 | 主要功能 |
176
+ | ---------------- | -------------- | ---------------------------- |
177
+ | `ChatBootPage` | 对话启动页组件 | 快速回复、案例推荐等引导功能 |
178
+ | `SchemaEditor` | Schema 编辑器 | 结构化数据编辑 |
179
+ | `SchemaForm` | Schema 表单 | 基于 Schema 自动生成表单 |
180
+ | `SchemaRenderer` | Schema 渲染器 | 渲染结构化数据 |
181
181
 
182
182
  ### 🔌 插件组件
183
183
 
@@ -167,7 +167,9 @@ var AIBubble = memo((props) => {
167
167
  {
168
168
  style: __spreadValues({
169
169
  minWidth: standalone ? "min(296px,100%)" : "0px",
170
- paddingLeft: 12
170
+ paddingLeft: 12,
171
+ maxWidth: "100%",
172
+ width: "100%"
171
173
  }, styles == null ? void 0 : styles.bubbleListItemExtraStyle),
172
174
  className: cx(
173
175
  `${prefixClass}-bubble-after`,
@@ -1,4 +1,4 @@
1
- // src/ChatBoot/ButtonTab.tsx
1
+ // src/ChatBootPage/ButtonTab.tsx
2
2
  import React from "react";
3
3
  import { useStyle } from "./ButtonTabStyle";
4
4
  var ButtonTab = ({
@@ -1,4 +1,4 @@
1
- // src/ChatBoot/ButtonTabGroup.tsx
1
+ // src/ChatBootPage/ButtonTabGroup.tsx
2
2
  import React, { useState } from "react";
3
3
  import ButtonTab from "./ButtonTab";
4
4
  import { useStyle } from "./ButtonTabGroupStyle";
@@ -18,7 +18,7 @@ var __spreadValues = (a, b) => {
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
20
 
21
- // src/ChatBoot/ButtonTabGroupStyle.ts
21
+ // src/ChatBootPage/ButtonTabGroupStyle.ts
22
22
  import {
23
23
  useEditorStyleRegister
24
24
  } from "../Hooks/useStyle";
@@ -18,7 +18,7 @@ var __spreadValues = (a, b) => {
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
20
 
21
- // src/ChatBoot/ButtonTabStyle.ts
21
+ // src/ChatBootPage/ButtonTabStyle.ts
22
22
  import {
23
23
  useEditorStyleRegister
24
24
  } from "../Hooks/useStyle";
@@ -1,4 +1,4 @@
1
- // src/ChatBoot/CaseReply.tsx
1
+ // src/ChatBootPage/CaseReply.tsx
2
2
  import { ConfigProvider } from "antd";
3
3
  import classNames from "classnames";
4
4
  import React, { useContext, useState } from "react";
@@ -18,7 +18,7 @@ var __spreadValues = (a, b) => {
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
20
 
21
- // src/ChatBoot/CaseReplyStyle.ts
21
+ // src/ChatBootPage/CaseReplyStyle.ts
22
22
  import {
23
23
  useEditorStyleRegister
24
24
  } from "../Hooks/useStyle";
@@ -1,4 +1,4 @@
1
- // src/ChatBoot/Title.tsx
1
+ // src/ChatBootPage/Title.tsx
2
2
  import { ConfigProvider } from "antd";
3
3
  import classNames from "classnames";
4
4
  import React, { useContext } from "react";
@@ -1,4 +1,4 @@
1
- // src/ChatBoot/index.ts
1
+ // src/ChatBootPage/index.ts
2
2
  import { default as default2 } from "./Title";
3
3
  import { default as default3 } from "./CaseReply";
4
4
  import { default as default4 } from "./ButtonTab";
@@ -18,7 +18,7 @@ var __spreadValues = (a, b) => {
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
20
 
21
- // src/ChatBoot/style.ts
21
+ // src/ChatBootPage/style.ts
22
22
  import {
23
23
  useEditorStyleRegister
24
24
  } from "../Hooks/useStyle";
@@ -1,14 +1,17 @@
1
1
  import React from 'react';
2
- export interface WelcomeProps {
2
+ export interface WelcomeMessageProps {
3
3
  /** 标题 */
4
- title: React.ReactNode;
4
+ title?: React.ReactNode;
5
5
  /** 描述 */
6
6
  description?: React.ReactNode;
7
7
  /** 自定义样式类名,用于各个提示项的不同部分 */
8
- classNames?: Record<'title' | 'description', string>;
8
+ classNames?: {
9
+ title?: string;
10
+ description?: string;
11
+ };
9
12
  /** 自定义样式 */
10
13
  style?: React.CSSProperties;
11
14
  /** 自定义根节点样式类名 */
12
15
  rootClassName?: string;
13
16
  }
14
- export declare const Welcome: React.FC<WelcomeProps>;
17
+ export declare const WelcomeMessage: React.FC<WelcomeMessageProps>;
@@ -1,9 +1,9 @@
1
- // src/Welcome/index.tsx
1
+ // src/WelcomeMessage/index.tsx
2
2
  import { ConfigProvider } from "antd";
3
3
  import classnames from "classnames";
4
4
  import React, { useContext } from "react";
5
5
  import { useStyle } from "./style";
6
- var Welcome = ({
6
+ var WelcomeMessage = ({
7
7
  title,
8
8
  description,
9
9
  classNames,
@@ -27,5 +27,5 @@ var Welcome = ({
27
27
  );
28
28
  };
29
29
  export {
30
- Welcome
30
+ WelcomeMessage
31
31
  };
@@ -18,7 +18,7 @@ var __spreadValues = (a, b) => {
18
18
  };
19
19
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
20
 
21
- // src/Welcome/style.ts
21
+ // src/WelcomeMessage/style.ts
22
22
  import {
23
23
  useEditorStyleRegister
24
24
  } from "../Hooks/useStyle";
package/dist/index.d.ts CHANGED
@@ -4,7 +4,7 @@ export * from './AgentRunBar';
4
4
  export * from './Bubble';
5
5
  export * from './Bubble/List';
6
6
  export * from './Bubble/type';
7
- export * from './ChatBoot';
7
+ export * from './ChatBootPage';
8
8
  export * from './ChatLayout';
9
9
  export * from './Components/ActionIconBox';
10
10
  export * from './Components/Button';
@@ -47,7 +47,7 @@ export * from './Schema';
47
47
  export * from './TaskList';
48
48
  export * from './ThoughtChainList';
49
49
  export * from './ToolUseBar';
50
- export * from './Welcome';
50
+ export * from './WelcomeMessage';
51
51
  export * from './Workspace';
52
52
  export * from './Components/Robot';
53
53
  export { default as Robot } from './Components/Robot';
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@ export * from "./AgentRunBar";
4
4
  export * from "./Bubble";
5
5
  export * from "./Bubble/List";
6
6
  export * from "./Bubble/type";
7
- export * from "./ChatBoot";
7
+ export * from "./ChatBootPage";
8
8
  export * from "./ChatLayout";
9
9
  export * from "./Components/ActionIconBox";
10
10
  export * from "./Components/Button";
@@ -47,7 +47,7 @@ export * from "./Schema";
47
47
  export * from "./TaskList";
48
48
  export * from "./ThoughtChainList";
49
49
  export * from "./ToolUseBar";
50
- export * from "./Welcome";
50
+ export * from "./WelcomeMessage";
51
51
  export * from "./Workspace";
52
52
  export * from "./Components/Robot";
53
53
  import { default as default3 } from "./Components/Robot";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ant-design/agentic-ui",
3
- "version": "2.0.13",
3
+ "version": "2.0.14",
4
4
  "description": "面向智能体的 UI 组件库,提供多步推理可视化、工具调用展示、任务执行协同等 Agentic UI 能力",
5
5
  "repository": "git@github.com:ant-design/agentic-ui.git",
6
6
  "license": "MIT",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes