@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.
@@ -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)))
@@ -101,13 +101,7 @@ var genStyle = (token) => {
101
101
  flexShrink: 0,
102
102
  width: 16,
103
103
  height: 16,
104
- color: "var(--color-gray-text-default)",
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.1.0",
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}": [