@agentscope-ai/design 1.0.23 → 1.0.24-beta.1767669321337

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.
@@ -0,0 +1,12 @@
1
+
2
+
3
+ # Lo-fi 音乐生成 Demo
4
+
5
+ 该 Demo 展示了一个“可配置 + 可视化 + 可播放”的 Lo-fi 鼓机 Loop 生成流程:
6
+
7
+
8
+ - 通过配置(大调/小调、风格、氛围、BPM、Swing 等)生成结构化音乐数据
9
+ - 前端将结构化数据渲染为声音(合成鼓)并提供 16-step 鼓机网格可视化
10
+ - 提供频谱可视化,便于演示“生成结果 → 声音”的直观反馈
11
+
12
+ Lo-fi 生成与可视化
@@ -383,7 +383,7 @@
383
383
 
384
384
  "colorTextWhite": "#ffffff",
385
385
  "colorTextBlack": "#000000",
386
- "colorTextOnPrimary": "#ffffff",
386
+ "colorTextOnPrimary": "#000000",
387
387
  "colorFillDisable": "#898989",
388
388
  "colorPurple": "#615CED",
389
389
  "colorPurpleHover": "#8383F0",
@@ -1,59 +1,3 @@
1
1
  # 索引
2
2
 
3
- - [](components/commonComponents/Video/index.zh-CN.llms.txt)
4
- - [](components/commonComponents/Upload/index.zh-CN.llms.txt)
5
- - [](components/commonComponents/TimePicker/index.zh-CN.llms.txt)
6
- - [](components/commonComponents/Tooltip/index.zh-CN.llms.txt)
7
- - [](components/commonComponents/Tag/index.zh-CN.llms.txt)
8
- - [](components/commonComponents/Tabs/index.zh-CN.llms.txt)
9
- - [](components/commonComponents/Switch/index.zh-CN.llms.txt)
10
- - [](components/commonComponents/Table/index.zh-CN.llms.txt)
11
- - [](components/commonComponents/Steps/index.zh-CN.llms.txt)
12
- - [](components/commonComponents/Statistic/index.zh-CN.llms.txt)
13
- - [](components/commonComponents/Spinner/index.zh-CN.llms.txt)
14
- - [](components/commonComponents/Skeleton/index.zh-CN.llms.txt)
15
- - [](components/commonComponents/Slider/index.zh-CN.llms.txt)
16
- - [](components/commonComponents/Result/index.zh-CN.llms.txt)
17
- - [](components/commonComponents/Select/index.zh-CN.llms.txt)
18
- - [](components/commonComponents/RadioButton/index.zh-CN.llms.txt)
19
- - [](components/commonComponents/Radio/index.zh-CN.llms.txt)
20
- - [](components/commonComponents/Progress/index.zh-CN.llms.txt)
21
- - [](components/commonComponents/Popconfirm/index.zh-CN.llms.txt)
22
- - [](components/commonComponents/Notification/index.zh-CN.llms.txt)
23
- - [](components/commonComponents/PromptsEditor/index.zh-CN.llms.txt)
24
- - [](components/commonComponents/Popover/index.zh-CN.llms.txt)
25
- - [](components/commonComponents/Modal/index.zh-CN.llms.txt)
26
- - [](components/commonComponents/Pagination/index.zh-CN.llms.txt)
27
- - [](components/commonComponents/Message/index.zh-CN.llms.txt)
28
- - [](components/commonComponents/Input/index.zh-CN.llms.txt)
29
- - [](components/commonComponents/InputNumber/index.zh-CN.llms.txt)
30
- - [](components/commonComponents/Image/index.zh-CN.llms.txt)
31
- - [](components/commonComponents/IconButton/index.zh-CN.llms.txt)
32
- - [](components/commonComponents/FloatButton/index.zh-CN.llms.txt)
33
- - [](components/commonComponents/Form/index.zh-CN.llms.txt)
34
- - [](components/commonComponents/Dropdown/index.zh-CN.llms.txt)
35
- - [](components/commonComponents/Empty/index.zh-CN.llms.txt)
36
- - [](components/commonComponents/Drawer/index.zh-CN.llms.txt)
37
- - [](components/commonComponents/Descriptions/index.zh-CN.llms.txt)
38
- - [](components/commonComponents/DatePicker/index.zh-CN.llms.txt)
39
- - [](components/commonComponents/CollapsePanel/index.zh-CN.llms.txt)
40
- - [](components/commonComponents/CodeBlock/index.zh-CN.llms.txt)
41
- - [](components/commonComponents/Checkbox/index.zh-CN.llms.txt)
42
- - [](components/commonComponents/Collapse/index.zh-CN.llms.txt)
43
- - [](components/commonComponents/Button/index.zh-CN.llms.txt)
44
- - [](components/commonComponents/Card/index.zh-CN.llms.txt)
45
- - [](components/commonComponents/Breadcrumb/index.zh-CN.llms.txt)
46
- - [](components/commonComponents/Avatar/index.zh-CN.llms.txt)
47
- - [](components/commonComponents/Anchor/index.zh-CN.llms.txt)
48
- - [](components/commonComponents/Audio/index.zh-CN.llms.txt)
49
- - [](components/commonComponents/Alert/index.zh-CN.llms.txt)
50
- - [](components/commonComponents/AlertDialog/index.zh-CN.llms.txt)
51
- - [](docs/guide/theme.zh-CN.llms.txt)
52
- - [使用](docs/guide/iconfont.zh-CN.llms.txt)
53
- - [概述](docs/guide/overview.zh-CN.llms.txt)
54
- - [使用](docs/guide/sparkIcons.zh-CN.llms.txt)
55
- - [从零开始使用](docs/guide/fromScratch.zh-CN.llms.txt)
56
- - [从 Antd 迁移](docs/guide/fromAntd.zh-CN.llms.txt)
57
- - [Vibe 编程](docs/guide/vibe-coding.zh-CN.llms.txt)
58
- - [Tokens](docs/guide/tokens&variables.zh-CN.llms.txt)
59
- - [](docs/changelog/index.zh-CN.llms.txt)
3
+ - [](components/commonComponents/Button/index.zh-CN.llms.txt)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentscope-ai/design",
3
- "version": "1.0.23",
3
+ "version": "1.0.24-beta.1767669321337",
4
4
  "description": "AgentScope Spark Design - UI Library for AgentScope AI",
5
5
  "repository": {
6
6
  "type": "git",
@@ -36,9 +36,13 @@
36
36
  "dumi:setup": "dumi setup",
37
37
  "prepare": "npm run dumi:setup",
38
38
  "start": "npm run dev",
39
- "test": "vitest",
40
39
  "release": "node scripts/publish.js",
41
- "release:beta": "node scripts/publish-beta.js"
40
+ "release:beta": "node scripts/publish-beta.js",
41
+ "test": "jest",
42
+ "test:ci": "jest --ci --coverage --watchAll=false",
43
+ "test:coverage": "jest --coverage",
44
+ "test:watch": "jest --watch",
45
+ "publish:manual": "npm run build && npm publish"
42
46
  },
43
47
  "dependencies": {
44
48
  "@agentscope-ai/icons": "^1.0.35",
@@ -82,24 +86,29 @@
82
86
  "@alibot/dumi-plugin-llms": "1.0.4",
83
87
  "@alibot/dumi-plugin-api-parser": "1.0.3",
84
88
  "@agentscope-ai/dumi-theme-spark": "0.0.99",
89
+ "@babel/core": "^7.28.5",
90
+ "@babel/preset-env": "^7.28.5",
91
+ "@babel/preset-react": "^7.28.5",
92
+ "@babel/preset-typescript": "^7.28.5",
93
+ "@jest/test-sequencer": "^29.7.0",
85
94
  "@modelcontextprotocol/sdk": "1.17.3",
86
95
  "@rc-component/util": "1.2.1",
87
96
  "@react-spring/web": "^9.7.5",
88
97
  "@tailwindcss/postcss": "^4.0.6",
98
+ "@testing-library/dom": "^10.4.1",
89
99
  "@testing-library/jest-dom": "^6.6.3",
90
100
  "@testing-library/react": "^16.0.1",
101
+ "@testing-library/user-event": "^14.6.1",
102
+ "@types/jest": "^29.5.14",
91
103
  "@types/less": "^3.0.6",
92
104
  "@types/lodash-es": "4.17.12",
93
105
  "@types/react": "^18.2.0",
94
106
  "@types/react-dom": "^18.2.0",
95
107
  "@umijs/lint": "^4.0.0",
96
108
  "@umijs/plugins": "^4.4.4",
97
- "@vitejs/plugin-react": "^4.3.3",
98
- "@vitejs/plugin-react-swc": "^3.7.1",
99
- "@vitest/coverage-istanbul": "2.1.4",
100
- "@vitest/ui": "2.1.9",
101
109
  "ahooks": "^3.8.1",
102
110
  "antd": "^5.23.0",
111
+ "babel-jest": "^29.7.0",
103
112
  "classnames": "^2.5.1",
104
113
  "conventional-changelog-cli": "^5.0.0",
105
114
  "debug": "^4.3.7",
@@ -110,6 +119,10 @@
110
119
  "father": "^4.1.0",
111
120
  "framer-motion": "^12.4.2",
112
121
  "husky": "^8.0.1",
122
+ "is-hotkey": "^0.2.0",
123
+ "jest": "^29.7.0",
124
+ "jest-environment-jsdom": "^29.7.0",
125
+ "jest-transform-stub": "^2.0.0",
113
126
  "jsdom": "^25.0.1",
114
127
  "locomotive-scroll": "^4.1.4",
115
128
  "motion": "^12.4.1",
@@ -122,9 +135,9 @@
122
135
  "replace": "^1.2.2",
123
136
  "semver": "^7.6.3",
124
137
  "tailwindcss": "^4.0.6",
138
+ "ts-jest": "^29.2.5",
125
139
  "ts-node": "^10.9.2",
126
140
  "typescript": "^5.6.3",
127
- "vitest": "^2.1.4",
128
141
  "yargs-parser": "^21.1.1",
129
142
  "zod": "^3.24.2"
130
143
  },