@ant-design/agentic-ui 2.1.0 → 2.2.0
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/dist/Hooks/useIntersectionOnce.d.ts +5 -0
- package/dist/Hooks/useIntersectionOnce.js +79 -0
- package/dist/Plugins/chart/AreaChart/index.js +20 -9
- package/dist/Plugins/chart/BarChart/index.js +12 -1
- package/dist/Plugins/chart/ChartMark/Area.js +21 -10
- package/dist/Plugins/chart/ChartMark/Bar.js +19 -8
- package/dist/Plugins/chart/ChartMark/Column.js +19 -8
- package/dist/Plugins/chart/ChartMark/Line.js +20 -9
- package/dist/Plugins/chart/ChartMark/Pie.js +12 -1
- package/dist/Plugins/chart/ChartRender.js +182 -48
- package/dist/Plugins/chart/DonutChart/index.js +12 -1
- package/dist/Plugins/chart/FunnelChart/index.d.ts +2 -0
- package/dist/Plugins/chart/FunnelChart/index.js +69 -18
- package/dist/Plugins/chart/LineChart/index.js +20 -9
- package/dist/Plugins/chart/RadarChart/index.js +19 -8
- package/dist/Plugins/chart/ScatterChart/index.js +12 -1
- package/dist/Plugins/chart/loadChartRuntime.d.ts +18 -0
- package/dist/Plugins/chart/loadChartRuntime.js +91 -0
- package/dist/Plugins/defaultPlugins.d.ts +3 -0
- package/dist/Plugins/defaultPlugins.js +2 -0
- package/dist/Plugins/mermaid/Mermaid.d.ts +5 -2
- package/dist/Plugins/mermaid/Mermaid.js +131 -38
- package/dist/Plugins/mermaid/index.js +1 -1
- package/dist/TaskList/index.js +2 -8
- package/dist/TaskList/style.js +1 -7
- package/package.json +3 -3
package/dist/TaskList/index.js
CHANGED
|
@@ -5,8 +5,8 @@ import classNames from "classnames";
|
|
|
5
5
|
import { useMergedState } from "rc-util";
|
|
6
6
|
import React, { memo, useCallback, useContext } from "react";
|
|
7
7
|
import { ActionIconBox } from "../Components/ActionIconBox";
|
|
8
|
-
import { I18nContext } from "../I18n";
|
|
9
8
|
import { Loading } from "../Components/Loading";
|
|
9
|
+
import { I18nContext } from "../I18n";
|
|
10
10
|
import { useStyle } from "./style";
|
|
11
11
|
var LOADING_SIZE = 16;
|
|
12
12
|
var buildClassName = (...args) => classNames(...args);
|
|
@@ -104,13 +104,7 @@ var TaskListItem = ({
|
|
|
104
104
|
loading: false,
|
|
105
105
|
onClick: handleToggle
|
|
106
106
|
},
|
|
107
|
-
/* @__PURE__ */ React.createElement(
|
|
108
|
-
ChevronUp,
|
|
109
|
-
{
|
|
110
|
-
className: buildClassName(`${prefixCls}-arrow`, hashId),
|
|
111
|
-
"data-testid": "task-list-arrow"
|
|
112
|
-
}
|
|
113
|
-
)
|
|
107
|
+
/* @__PURE__ */ React.createElement(ChevronUp, { "data-testid": "task-list-arrow" })
|
|
114
108
|
)
|
|
115
109
|
)
|
|
116
110
|
), !isCollapsed && /* @__PURE__ */ React.createElement("div", { className: buildClassName(`${prefixCls}-body`, hashId) }, /* @__PURE__ */ React.createElement("div", { className: buildClassName(`${prefixCls}-content`, hashId) }, item.content)))
|
package/dist/TaskList/style.js
CHANGED
|
@@ -101,13 +101,7 @@ var genStyle = (token) => {
|
|
|
101
101
|
flexShrink: 0,
|
|
102
102
|
width: 16,
|
|
103
103
|
height: 16,
|
|
104
|
-
|
|
105
|
-
cursor: "pointer",
|
|
106
|
-
transition: "all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)",
|
|
107
|
-
"&:hover": {
|
|
108
|
-
backgroundColor: "var(--color-gray-control-fill-hover)",
|
|
109
|
-
borderRadius: "var(--radius-control-sm)"
|
|
110
|
-
}
|
|
104
|
+
transition: "all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)"
|
|
111
105
|
}
|
|
112
106
|
},
|
|
113
107
|
"&-body": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ant-design/agentic-ui",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"description": "面向智能体的 UI 组件库,提供多步推理可视化、工具调用展示、任务执行协同等 Agentic UI 能力",
|
|
5
5
|
"repository": "git@github.com:ant-design/agentic-ui.git",
|
|
6
6
|
"license": "MIT",
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
"dev": "dumi dev",
|
|
18
18
|
"docs:build": "dumi build",
|
|
19
19
|
"doctor": "father doctor",
|
|
20
|
+
"generate:version": "node scripts/bumpVersion.js",
|
|
20
21
|
"lint": "npm run lint:es && npm run lint:css",
|
|
21
22
|
"lint:css": "stylelint \"{src,test}/**/*.{css,less}\"",
|
|
22
23
|
"lint:es": "eslint \"{src,test}/**/*.{js,jsx,ts,tsx}\"",
|
|
@@ -27,8 +28,7 @@
|
|
|
27
28
|
"start": "npm run dev",
|
|
28
29
|
"test": "vitest --run",
|
|
29
30
|
"test:coverage": "vitest --run --coverage",
|
|
30
|
-
"tsc": "tsc --noEmit"
|
|
31
|
-
"version": "node scripts/bumpVersion.js"
|
|
31
|
+
"tsc": "tsc --noEmit"
|
|
32
32
|
},
|
|
33
33
|
"lint-staged": {
|
|
34
34
|
"*.{js,jsx,ts,tsx}": [
|