@agentscope-ai/design 1.0.26-beta.1768893648373 → 1.0.26-beta.1769162388973
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/lib/components/commonComponents/Audio/Control.style.js +1 -1
- package/lib/components/commonComponents/Empty/svg/Illustrate.js +117 -39
- package/lib/components/commonComponents/MediaPreview/demo/demo1.d.ts +1 -0
- package/lib/components/commonComponents/MediaPreview/demo/demo1.js +44 -0
- package/lib/components/commonComponents/MediaPreview/index.d.ts +23 -0
- package/lib/components/commonComponents/MediaPreview/index.js +352 -0
- package/lib/components/commonComponents/MediaPreview/index.style.d.ts +1 -0
- package/lib/components/commonComponents/MediaPreview/index.style.js +54 -0
- package/lib/components/commonComponents/Video/index.js +10 -5
- package/lib/index.d.ts +9 -8
- package/lib/index.js +7 -6
- package/llms/all.llms.txt +1365 -2512
- package/llms/components/commonComponents/CodeBlock/index.zh-CN.llms.txt +2 -2
- package/llms/components/commonComponents/FileIcon/index.zh-CN.llms.txt +28 -0
- package/llms/components/commonComponents/MediaPreview/index.zh-CN.llms.txt +21 -0
- package/llms/docs/changelog/index.zh-CN.llms.txt +30 -0
- package/llms/docs/guide/tokens&variables.zh-CN.llms.txt +1 -1
- package/llms/docs/guide/vibe-coding.zh-CN.llms.txt +2 -3
- package/llms/docs/icons/iconLibrary.zh-CN.llms.txt +308 -0
- package/llms/index.llms.txt +47 -48
- package/package.json +4 -4
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
| 属性名 | 描述 | 类型 | 默认值 |
|
|
7
7
|
|--------|--------|--------|--------|
|
|
8
8
|
| language | 语言 | string \| string[] | (必填) |
|
|
9
|
-
| value | 值 | string |
|
|
9
|
+
| value | 值 | string | |
|
|
10
10
|
| className | 类名 | string | |
|
|
11
11
|
| theme | 主题 | 'dark' \| 'light' | |
|
|
12
12
|
| readOnly | 只读 | boolean | |
|
|
13
|
-
| onChange | | (value
|
|
13
|
+
| onChange | | (value?: string) => void | |
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
<DemoTitle title="FileIcon" desc="用于展示不同文件类型的图标,也可通过 FileCard 展示文件信息。">
|
|
4
|
+
#### API
|
|
5
|
+
|
|
6
|
+
##### FileIcon Props
|
|
7
|
+
|
|
8
|
+
| 属性名 | 描述 | 类型 | 默认值 |
|
|
9
|
+
|--------|--------|--------|--------|
|
|
10
|
+
| src | | string | |
|
|
11
|
+
| image | | string | |
|
|
12
|
+
| type | | string | (必填) |
|
|
13
|
+
| size | | number | |
|
|
14
|
+
| style | | React.CSSProperties | |
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
##### FileCard Props
|
|
18
|
+
|
|
19
|
+
| 属性名 | 描述 | 类型 | 默认值 |
|
|
20
|
+
|--------|--------|--------|--------|
|
|
21
|
+
| iconSize | | number | |
|
|
22
|
+
| src | | string | |
|
|
23
|
+
| type | | string | (必填) |
|
|
24
|
+
| name | | string | (必填) |
|
|
25
|
+
| desc | | string | |
|
|
26
|
+
| size | | number | |
|
|
27
|
+
| width | | React.CSSProperties['width'] | |
|
|
28
|
+
| children | | React.ReactNode | |
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
<DemoTitle title="MediaPreview" desc="用于预览图片和视频的弹窗组件">
|
|
4
|
+
#### API
|
|
5
|
+
|
|
6
|
+
| 参数 | 说明 | 类型 | 默认值 |
|
|
7
|
+
|--------|--------|--------|--------|
|
|
8
|
+
| visible | 是否显示预览 | boolean | false |
|
|
9
|
+
| mediaList | 媒体列表 | MediaItem[] | [] |
|
|
10
|
+
| currentIndex | 当前选中的索引 | number | 0 |
|
|
11
|
+
| onClose | 关闭回调 | () => void | - |
|
|
12
|
+
| className | 自定义样式类名 | string | - |
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
#### MediaItem
|
|
16
|
+
|
|
17
|
+
| 参数 | 说明 | 类型 | 默认值 |
|
|
18
|
+
|--------|--------|--------|--------|
|
|
19
|
+
| type | 媒体类型 | 'image' \| 'video' | - |
|
|
20
|
+
| src | 媒体资源地址 | string | - |
|
|
21
|
+
| alt | 媒体替代文本 | string | - |
|
|
@@ -1,5 +1,35 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
+
### 1.0.26
|
|
4
|
+
`2025-01-21`
|
|
5
|
+
|
|
6
|
+
##### Changed
|
|
7
|
+
|
|
8
|
+
- Audio 组件探测逻辑重构、使用 useCallback 提升性能
|
|
9
|
+
- Audio 与 Video 新增 SVG icons,支持在 FileIcon 组件中透出展示
|
|
10
|
+
- 文档新增 icons 列表展示与复制功能
|
|
11
|
+
|
|
12
|
+
### 1.0.25
|
|
13
|
+
`2025-01-07`
|
|
14
|
+
|
|
15
|
+
##### Fixed
|
|
16
|
+
|
|
17
|
+
- 修复 Tooltip 弹出框内部样式优先级问题
|
|
18
|
+
|
|
19
|
+
### 1.0.24
|
|
20
|
+
`2025-01-04`
|
|
21
|
+
|
|
22
|
+
##### Changed
|
|
23
|
+
|
|
24
|
+
- Video 组件添加 enableFullscreen 参数,支持全屏播放
|
|
25
|
+
|
|
26
|
+
### 1.0.22
|
|
27
|
+
`2025-12-29`
|
|
28
|
+
|
|
29
|
+
##### Changed
|
|
30
|
+
|
|
31
|
+
- Carbon 主题修改 `colorTextOnPrimary` 颜色变量为 '#ffffff'
|
|
32
|
+
|
|
3
33
|
### 1.0.21
|
|
4
34
|
`2025-12-25`
|
|
5
35
|
|
|
@@ -6,9 +6,8 @@
|
|
|
6
6
|
|
|
7
7
|
为了让 Cursor 和 Claude Code 等工具理解 Spark Design,我们支持 LLMs.txt 文件,使 Spark Design 的文档可供大型语言模型使用。
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
- [
|
|
11
|
-
- [all.llms.txt](https://g.alicdn.com/code/npm/@ali/agentscope-ai-design/4.7.2/docs-dist/llms/all.llms.txt):Spark Design 的完整文档
|
|
9
|
+
- [index.llms.txt](https://unpkg.com/@agentscope-ai/design@1.0.26/llms/index.llms.txt):主要的 LLMs.txt 索引文件
|
|
10
|
+
- [all.llms.txt](https://unpkg.com/@agentscope-ai/design@1.0.26/llms/all.llms.txt):Spark Design 的完整文档
|
|
12
11
|
|
|
13
12
|
在 Cursor 中使用 @Docs 功能将 LLMs.txt 文件包含在您的项目中。[了解更多](https://docs.cursor.com/en/context/@-symbols/@-docs)
|
|
14
13
|
|
|
@@ -0,0 +1,308 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
# Icon Library
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
```tsx
|
|
8
|
+
import React, { useEffect, useMemo, useState } from 'react';
|
|
9
|
+
import * as SparkIcons from '@agentscope-ai/icons';
|
|
10
|
+
import { Input, Radio, message, copy } from '@agentscope-ai/design';
|
|
11
|
+
import { createStyles } from 'antd-style';
|
|
12
|
+
import { useLocale } from 'dumi';
|
|
13
|
+
import { SparkSearchLine } from '@agentscope-ai/icons';
|
|
14
|
+
import { categorizeIcon, ICON_CATEGORIES } from './iconCategories';
|
|
15
|
+
import $i18n from '@/i18n';
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Icons Library
|
|
19
|
+
* - 自动枚举并展示 @agentscope-ai/icons 的全部导出图标
|
|
20
|
+
* - 支持搜索、点击复制
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
interface IconItem {
|
|
24
|
+
/** 图标导出名称 */
|
|
25
|
+
name: string;
|
|
26
|
+
/** 图标 React 组件 */
|
|
27
|
+
Icon: React.ComponentType<any>;
|
|
28
|
+
/** 图标分类 */
|
|
29
|
+
category: string;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
type CopyMode = 'name' | 'import' | 'jsx';
|
|
33
|
+
|
|
34
|
+
const useStyles = createStyles(() => ({
|
|
35
|
+
container: {
|
|
36
|
+
position: 'relative',
|
|
37
|
+
padding: 16,
|
|
38
|
+
paddingTop: 72,
|
|
39
|
+
},
|
|
40
|
+
toolbar: {
|
|
41
|
+
position: 'fixed',
|
|
42
|
+
width: '100%',
|
|
43
|
+
padding: '16px',
|
|
44
|
+
top: 0,
|
|
45
|
+
left: 0,
|
|
46
|
+
display: 'flex',
|
|
47
|
+
gap: 12,
|
|
48
|
+
alignItems: 'center',
|
|
49
|
+
justifyContent: 'space-between',
|
|
50
|
+
flexWrap: 'wrap',
|
|
51
|
+
background: 'var(--sps-color-bg-base)',
|
|
52
|
+
borderBottom: '1px solid var(--sps-color-border-secondary)',
|
|
53
|
+
marginBottom: '16px',
|
|
54
|
+
},
|
|
55
|
+
toolbarLeft: {
|
|
56
|
+
display: 'flex',
|
|
57
|
+
gap: 12,
|
|
58
|
+
alignItems: 'center',
|
|
59
|
+
},
|
|
60
|
+
toolbarRight: {
|
|
61
|
+
display: 'flex',
|
|
62
|
+
gap: 12,
|
|
63
|
+
alignItems: 'center',
|
|
64
|
+
justifyContent: 'flex-end',
|
|
65
|
+
flexWrap: 'wrap',
|
|
66
|
+
},
|
|
67
|
+
search: {
|
|
68
|
+
maxWidth: 300,
|
|
69
|
+
},
|
|
70
|
+
count: {
|
|
71
|
+
color: 'var(--sps-color-text-tertiary)',
|
|
72
|
+
fontSize: 12,
|
|
73
|
+
},
|
|
74
|
+
groups: {
|
|
75
|
+
marginTop: 16,
|
|
76
|
+
display: 'flex',
|
|
77
|
+
flexDirection: 'column',
|
|
78
|
+
gap: 24,
|
|
79
|
+
},
|
|
80
|
+
groupTitle: {
|
|
81
|
+
fontSize: 14,
|
|
82
|
+
fontWeight: 600,
|
|
83
|
+
color: 'var(--sps-color-text-base)',
|
|
84
|
+
marginBottom: 12,
|
|
85
|
+
},
|
|
86
|
+
groupCount: {
|
|
87
|
+
marginLeft: 8,
|
|
88
|
+
fontSize: 12,
|
|
89
|
+
fontWeight: 400,
|
|
90
|
+
color: 'var(--sps-color-text-tertiary)',
|
|
91
|
+
},
|
|
92
|
+
grid: {
|
|
93
|
+
display: 'grid',
|
|
94
|
+
gridTemplateColumns: 'repeat(auto-fill, minmax(140px, 1fr))',
|
|
95
|
+
gap: 12,
|
|
96
|
+
},
|
|
97
|
+
card: {
|
|
98
|
+
padding: 12,
|
|
99
|
+
borderRadius: 8,
|
|
100
|
+
cursor: 'pointer',
|
|
101
|
+
border: '1px solid var(--sps-color-border-secondary)',
|
|
102
|
+
background: 'var(--sps-color-bg-base)',
|
|
103
|
+
},
|
|
104
|
+
iconWrap: {
|
|
105
|
+
width: 48,
|
|
106
|
+
height: 48,
|
|
107
|
+
display: 'flex',
|
|
108
|
+
alignItems: 'center',
|
|
109
|
+
justifyContent: 'center',
|
|
110
|
+
},
|
|
111
|
+
name: {
|
|
112
|
+
marginTop: 8,
|
|
113
|
+
fontSize: 12,
|
|
114
|
+
lineHeight: '16px',
|
|
115
|
+
color: 'var(--sps-color-text-tertiary)',
|
|
116
|
+
overflow: 'hidden',
|
|
117
|
+
textOverflow: 'ellipsis',
|
|
118
|
+
whiteSpace: 'nowrap',
|
|
119
|
+
width: '100%',
|
|
120
|
+
fontFamily:
|
|
121
|
+
'ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace',
|
|
122
|
+
},
|
|
123
|
+
}));
|
|
124
|
+
|
|
125
|
+
export default function IconLibrary() {
|
|
126
|
+
const { styles } = useStyles();
|
|
127
|
+
const locale = useLocale();
|
|
128
|
+
const [keyword, setKeyword] = useState<string>('');
|
|
129
|
+
const [copyMode, setCopyMode] = useState<CopyMode>('name');
|
|
130
|
+
|
|
131
|
+
useEffect(() => {
|
|
132
|
+
// 同步 dumi 站点语言到 $i18n($i18n 识别 zh-cn / en)
|
|
133
|
+
$i18n.updateLocale(locale.id === 'zh-CN' ? 'zh-cn' : 'en');
|
|
134
|
+
}, [locale.id]);
|
|
135
|
+
|
|
136
|
+
const excludedIcons = useMemo(
|
|
137
|
+
() =>
|
|
138
|
+
new Set([
|
|
139
|
+
'SparkDelete01LineCopy',
|
|
140
|
+
'SparkA2d2dFill',
|
|
141
|
+
'SparkA3d3dFill',
|
|
142
|
+
'SparkBoldLine1',
|
|
143
|
+
'SparkShanguangdengweikaiqiFlashlightOffLine',
|
|
144
|
+
'SparkZhinengshengchengAiGenerateLine',
|
|
145
|
+
'SparkQqkongjianQzoneFill',
|
|
146
|
+
'SparkAccountManagementFill',
|
|
147
|
+
]),
|
|
148
|
+
[],
|
|
149
|
+
);
|
|
150
|
+
|
|
151
|
+
const allIcons = useMemo<IconItem[]>(() => {
|
|
152
|
+
return Object.entries(SparkIcons)
|
|
153
|
+
.filter(([name, Icon]) => {
|
|
154
|
+
if (!name.startsWith('Spark')) return false;
|
|
155
|
+
if (excludedIcons.has(name)) return false;
|
|
156
|
+
return typeof Icon === 'function';
|
|
157
|
+
})
|
|
158
|
+
.map(([name, Icon]) => ({
|
|
159
|
+
name,
|
|
160
|
+
Icon: Icon as React.ComponentType<any>,
|
|
161
|
+
category: categorizeIcon(name),
|
|
162
|
+
}))
|
|
163
|
+
.sort((a, b) => a.name.localeCompare(b.name));
|
|
164
|
+
}, [excludedIcons]);
|
|
165
|
+
|
|
166
|
+
const filteredIcons = useMemo<IconItem[]>(() => {
|
|
167
|
+
const q = keyword.trim().toLowerCase();
|
|
168
|
+
if (!q) return allIcons;
|
|
169
|
+
return allIcons.filter((item) => item.name.toLowerCase().includes(q));
|
|
170
|
+
}, [allIcons, keyword]);
|
|
171
|
+
|
|
172
|
+
const groupedIcons = useMemo<Record<string, IconItem[]>>(() => {
|
|
173
|
+
return filteredIcons.reduce<Record<string, IconItem[]>>((acc, icon) => {
|
|
174
|
+
const key = icon.category;
|
|
175
|
+
if (!acc[key]) acc[key] = [];
|
|
176
|
+
acc[key].push(icon);
|
|
177
|
+
return acc;
|
|
178
|
+
}, {});
|
|
179
|
+
}, [filteredIcons]);
|
|
180
|
+
|
|
181
|
+
const orderedCategories = useMemo<string[]>(() => {
|
|
182
|
+
const configOrder = Object.keys(ICON_CATEGORIES);
|
|
183
|
+
const existing = new Set(Object.keys(groupedIcons));
|
|
184
|
+
const ordered = configOrder.filter((k) => existing.has(k));
|
|
185
|
+
const rest = Object.keys(groupedIcons)
|
|
186
|
+
.filter((k) => !configOrder.includes(k))
|
|
187
|
+
.sort((a, b) => a.localeCompare(b));
|
|
188
|
+
return [...ordered, ...rest];
|
|
189
|
+
}, [groupedIcons]);
|
|
190
|
+
|
|
191
|
+
const handleCopy = (item: IconItem) => {
|
|
192
|
+
let text = item.name;
|
|
193
|
+
if (copyMode === 'import') {
|
|
194
|
+
text = `import { ${item.name} } from '@agentscope-ai/icons';`;
|
|
195
|
+
}
|
|
196
|
+
if (copyMode === 'jsx') {
|
|
197
|
+
text = `<${item.name} style={{ fontSize: 24 }} />`;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
copy(text);
|
|
201
|
+
message.success(
|
|
202
|
+
$i18n.get({
|
|
203
|
+
id: 'docs.icons.IconLibrary.CopySuccess',
|
|
204
|
+
dm: '已复制',
|
|
205
|
+
}),
|
|
206
|
+
);
|
|
207
|
+
};
|
|
208
|
+
|
|
209
|
+
return (
|
|
210
|
+
<div className={styles.container}>
|
|
211
|
+
<div className={styles.toolbar}>
|
|
212
|
+
<div className={styles.toolbarLeft}>
|
|
213
|
+
<Input
|
|
214
|
+
placeholder={$i18n.get({
|
|
215
|
+
id: 'docs.icons.IconLibrary.SearchPlaceholder',
|
|
216
|
+
dm: '搜索图标(按导出名)',
|
|
217
|
+
})}
|
|
218
|
+
value={keyword}
|
|
219
|
+
onChange={(e) => setKeyword((e?.target as any)?.value || '')}
|
|
220
|
+
className={styles.search}
|
|
221
|
+
prefix={<SparkSearchLine style={{ fontSize: 16 }} />}
|
|
222
|
+
allowClear
|
|
223
|
+
/>
|
|
224
|
+
</div>
|
|
225
|
+
|
|
226
|
+
<div className={styles.toolbarRight}>
|
|
227
|
+
<div className={styles.count}>
|
|
228
|
+
{$i18n.get(
|
|
229
|
+
{
|
|
230
|
+
id: 'docs.icons.IconLibrary.TotalCount',
|
|
231
|
+
dm: '共 {count} 个',
|
|
232
|
+
},
|
|
233
|
+
{ count: String(filteredIcons.length) },
|
|
234
|
+
)}
|
|
235
|
+
</div>
|
|
236
|
+
<Radio.Group
|
|
237
|
+
value={copyMode}
|
|
238
|
+
onChange={(e) => setCopyMode(e.target.value)}
|
|
239
|
+
optionType="button"
|
|
240
|
+
buttonStyle="solid"
|
|
241
|
+
options={[
|
|
242
|
+
{
|
|
243
|
+
label: $i18n.get({
|
|
244
|
+
id: 'docs.icons.IconLibrary.CopyName',
|
|
245
|
+
dm: '复制名称',
|
|
246
|
+
}),
|
|
247
|
+
value: 'name',
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
label: $i18n.get({
|
|
251
|
+
id: 'docs.icons.IconLibrary.CopyImport',
|
|
252
|
+
dm: '复制 import',
|
|
253
|
+
}),
|
|
254
|
+
value: 'import',
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
label: $i18n.get({
|
|
258
|
+
id: 'docs.icons.IconLibrary.CopyJSX',
|
|
259
|
+
dm: '复制 JSX',
|
|
260
|
+
}),
|
|
261
|
+
value: 'jsx',
|
|
262
|
+
},
|
|
263
|
+
]}
|
|
264
|
+
/>
|
|
265
|
+
</div>
|
|
266
|
+
</div>
|
|
267
|
+
|
|
268
|
+
<div className={styles.groups}>
|
|
269
|
+
{orderedCategories.map((category) => {
|
|
270
|
+
const list = groupedIcons[category] || [];
|
|
271
|
+
return (
|
|
272
|
+
<div key={category}>
|
|
273
|
+
<div className={styles.groupTitle}>
|
|
274
|
+
{category}
|
|
275
|
+
<span className={styles.groupCount}>({list.length})</span>
|
|
276
|
+
</div>
|
|
277
|
+
|
|
278
|
+
<div className={styles.grid}>
|
|
279
|
+
{list.map((item) => {
|
|
280
|
+
const Icon = item.Icon;
|
|
281
|
+
return (
|
|
282
|
+
<div
|
|
283
|
+
key={item.name}
|
|
284
|
+
className={styles.card}
|
|
285
|
+
onClick={() => handleCopy(item)}
|
|
286
|
+
>
|
|
287
|
+
<div className={styles.iconWrap}>
|
|
288
|
+
<Icon style={{ fontSize: 24 }} />
|
|
289
|
+
</div>
|
|
290
|
+
<div className={styles.name} title={item.name}>
|
|
291
|
+
{item.name}
|
|
292
|
+
</div>
|
|
293
|
+
</div>
|
|
294
|
+
);
|
|
295
|
+
})}
|
|
296
|
+
</div>
|
|
297
|
+
</div>
|
|
298
|
+
);
|
|
299
|
+
})}
|
|
300
|
+
</div>
|
|
301
|
+
</div>
|
|
302
|
+
);
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
```
|
|
307
|
+
|
|
308
|
+
查看全部图标
|
package/llms/index.llms.txt
CHANGED
|
@@ -1,50 +1,49 @@
|
|
|
1
1
|
# 索引
|
|
2
2
|
|
|
3
|
-
- [
|
|
4
|
-
- [
|
|
5
|
-
- [
|
|
6
|
-
- [
|
|
7
|
-
- [
|
|
8
|
-
- [
|
|
9
|
-
- [
|
|
10
|
-
- [
|
|
11
|
-
- [
|
|
12
|
-
- [
|
|
13
|
-
- [
|
|
14
|
-
- [
|
|
15
|
-
- [
|
|
16
|
-
- [
|
|
17
|
-
- [
|
|
18
|
-
- [
|
|
19
|
-
- [
|
|
20
|
-
- [
|
|
21
|
-
- [
|
|
22
|
-
- [
|
|
23
|
-
- [
|
|
24
|
-
- [
|
|
25
|
-
- [
|
|
26
|
-
- [
|
|
27
|
-
- [
|
|
28
|
-
- [
|
|
29
|
-
- [
|
|
30
|
-
- [
|
|
31
|
-
- [
|
|
32
|
-
- [
|
|
33
|
-
- [
|
|
34
|
-
- [
|
|
35
|
-
- [
|
|
36
|
-
- [
|
|
37
|
-
- [
|
|
38
|
-
- [
|
|
39
|
-
- [
|
|
40
|
-
- [
|
|
41
|
-
- [
|
|
42
|
-
- [
|
|
43
|
-
- [
|
|
44
|
-
- [
|
|
45
|
-
- [
|
|
46
|
-
- [
|
|
47
|
-
- [
|
|
48
|
-
- [
|
|
49
|
-
- [
|
|
50
|
-
- [Video](https://unpkg.com/browse/@agentscope-ai/design@1.0.26/llms/components/commonComponents/Video/index.zh-CN.llms.txt)
|
|
3
|
+
- [](components/commonComponents/Upload/index.zh-CN.llms.txt)
|
|
4
|
+
- [](components/commonComponents/Tooltip/index.zh-CN.llms.txt)
|
|
5
|
+
- [](components/commonComponents/Video/index.zh-CN.llms.txt)
|
|
6
|
+
- [](components/commonComponents/TimePicker/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/Spinner/index.zh-CN.llms.txt)
|
|
13
|
+
- [](components/commonComponents/Statistic/index.zh-CN.llms.txt)
|
|
14
|
+
- [](components/commonComponents/Slider/index.zh-CN.llms.txt)
|
|
15
|
+
- [](components/commonComponents/Skeleton/index.zh-CN.llms.txt)
|
|
16
|
+
- [](components/commonComponents/Select/index.zh-CN.llms.txt)
|
|
17
|
+
- [](components/commonComponents/RadioButton/index.zh-CN.llms.txt)
|
|
18
|
+
- [](components/commonComponents/Result/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/Popover/index.zh-CN.llms.txt)
|
|
22
|
+
- [](components/commonComponents/Popconfirm/index.zh-CN.llms.txt)
|
|
23
|
+
- [](components/commonComponents/Modal/index.zh-CN.llms.txt)
|
|
24
|
+
- [](components/commonComponents/MediaPreview/index.zh-CN.llms.txt)
|
|
25
|
+
- [](components/commonComponents/Message/index.zh-CN.llms.txt)
|
|
26
|
+
- [](components/commonComponents/Pagination/index.zh-CN.llms.txt)
|
|
27
|
+
- [](components/commonComponents/Notification/index.zh-CN.llms.txt)
|
|
28
|
+
- [](components/commonComponents/InputNumber/index.zh-CN.llms.txt)
|
|
29
|
+
- [](components/commonComponents/PromptsEditor/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/Input/index.zh-CN.llms.txt)
|
|
33
|
+
- [](components/commonComponents/Form/index.zh-CN.llms.txt)
|
|
34
|
+
- [](components/commonComponents/FileIcon/index.zh-CN.llms.txt)
|
|
35
|
+
- [](components/commonComponents/Dropdown/index.zh-CN.llms.txt)
|
|
36
|
+
- [](components/commonComponents/Empty/index.zh-CN.llms.txt)
|
|
37
|
+
- [](components/commonComponents/FloatButton/index.zh-CN.llms.txt)
|
|
38
|
+
- [](components/commonComponents/Drawer/index.zh-CN.llms.txt)
|
|
39
|
+
- [](components/commonComponents/CollapsePanel/index.zh-CN.llms.txt)
|
|
40
|
+
- [](components/commonComponents/Descriptions/index.zh-CN.llms.txt)
|
|
41
|
+
- [](components/commonComponents/DatePicker/index.zh-CN.llms.txt)
|
|
42
|
+
- [](components/commonComponents/Collapse/index.zh-CN.llms.txt)
|
|
43
|
+
- [](components/commonComponents/CodeBlock/index.zh-CN.llms.txt)
|
|
44
|
+
- [](components/commonComponents/Card/index.zh-CN.llms.txt)
|
|
45
|
+
- [](components/commonComponents/Checkbox/index.zh-CN.llms.txt)
|
|
46
|
+
- [](components/commonComponents/Avatar/index.zh-CN.llms.txt)
|
|
47
|
+
- [](components/commonComponents/Button/index.zh-CN.llms.txt)
|
|
48
|
+
- [](components/commonComponents/Breadcrumb/index.zh-CN.llms.txt)
|
|
49
|
+
- [](components/commonComponents/Audio/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.26-beta.
|
|
3
|
+
"version": "1.0.26-beta.1769162388973",
|
|
4
4
|
"description": "AgentScope Spark Design - UI Library for AgentScope AI",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"@babel/preset-typescript": "^7.28.5",
|
|
94
94
|
"@jest/test-sequencer": "^29.7.0",
|
|
95
95
|
"@modelcontextprotocol/sdk": "1.17.3",
|
|
96
|
-
"@rc-component/util": "1.
|
|
96
|
+
"@rc-component/util": "1.2.1",
|
|
97
97
|
"@react-spring/web": "^9.7.5",
|
|
98
98
|
"@tailwindcss/postcss": "^4.0.6",
|
|
99
99
|
"@testing-library/dom": "^10.4.1",
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"@umijs/lint": "^4.0.0",
|
|
109
109
|
"@umijs/plugins": "^4.4.4",
|
|
110
110
|
"ahooks": "^3.8.1",
|
|
111
|
-
"antd": "^
|
|
111
|
+
"antd": "^5.23.0",
|
|
112
112
|
"babel-jest": "^29.7.0",
|
|
113
113
|
"classnames": "^2.5.1",
|
|
114
114
|
"conventional-changelog-cli": "^5.0.0",
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
},
|
|
145
145
|
"peerDependencies": {
|
|
146
146
|
"@rc-component/util": "1.2.1",
|
|
147
|
-
"antd": "^
|
|
147
|
+
"antd": "^5.18.0",
|
|
148
148
|
"classnames": "^2.5.1",
|
|
149
149
|
"react": ">=16.9.0",
|
|
150
150
|
"react-dom": ">=16.9.0"
|