@agentscope-ai/design 1.0.27-beta.1769741632982 → 1.0.28-beta.1769761940248

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.
@@ -6,9 +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?: string) => void | |
14
- | extensions | 扩展 | Extension[] | [] |
13
+ | onChange | | (value: string) => void | |
@@ -6,11 +6,10 @@
6
6
  | 属性名 | 描述 | 类型 | 默认值 |
7
7
  |--------|--------|--------|--------|
8
8
  | maxLength | 可以输入内容的最大长度 | number | |
9
- | value | 输入的内容 | string | |
9
+ | value | 输入的内容 | string | (必填) |
10
10
  | className | 输入内容的类名 | string | |
11
11
  | onChange | 输入内容的回调 | (value: string) => void | |
12
12
  | variables | 可以插入的变量列表 | Array | |
13
13
  | onCreate | 新增变量的触发回调 | () => void | |
14
14
  | createBtnText | 新增变量的按钮文本 | string | |
15
15
  | tipsText | 提示文本,传入 false 时隐藏提示 | string \| React.ReactNode \| false | |
16
- | readOnly | 仅可读 | boolean | false |
@@ -6,7 +6,6 @@
6
6
  | 属性名 | 描述 | 类型 | 默认值 |
7
7
  |--------|--------|--------|--------|
8
8
  | type | 类型 | 'line' \| 'card' \| 'editable-card' \| 'segmented' | true |
9
- | className | 类名 | string | '' |
10
9
 
11
10
 
12
11
  <AntdApiRef url="https://ant.design/components/tabs-cn/#api"></AntdApiRef>
@@ -1,48 +1,5 @@
1
1
 
2
2
 
3
- ### 1.0.27
4
- `2025-01-27`
5
-
6
- ##### Changed
7
-
8
- - 补充 InputSearch 组件文档
9
-
10
- ##### Fixed
11
-
12
- - Table 组件在表头固定时,表头样式默认圆角改为直角
13
- - Empty 组件修复了引入多个 Empty 组件的情况下,可能导致的 svg 丢失的问题
14
- - 文档搜索白屏问题修复
15
-
16
- ### 1.0.26
17
- `2025-01-21`
18
-
19
- ##### Changed
20
-
21
- - Audio 组件探测逻辑重构、使用 useCallback 提升性能
22
- - Audio 与 Video 新增 SVG icons,支持在 FileIcon 组件中透出展示
23
- - 文档新增 icons 列表展示与复制功能
24
-
25
- ### 1.0.25
26
- `2025-01-07`
27
-
28
- ##### Fixed
29
-
30
- - 修复 Tooltip 弹出框内部样式优先级问题
31
-
32
- ### 1.0.24
33
- `2025-01-04`
34
-
35
- ##### Changed
36
-
37
- - Video 组件添加 enableFullscreen 参数,支持全屏播放
38
-
39
- ### 1.0.22
40
- `2025-12-29`
41
-
42
- ##### Changed
43
-
44
- - Carbon 主题修改 `colorTextOnPrimary` 颜色变量为 '#ffffff'
45
-
46
3
  ### 1.0.21
47
4
  `2025-12-25`
48
5
 
@@ -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",
@@ -6,8 +6,9 @@
6
6
 
7
7
  为了让 Cursor 和 Claude Code 等工具理解 Spark Design,我们支持 LLMs.txt 文件,使 Spark Design 的文档可供大型语言模型使用。
8
8
 
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 的完整文档
9
+
10
+ - [index.llms.txt](https://g.alicdn.com/code/npm/@ali/agentscope-ai-design/4.7.2/docs-dist/llms/index.llms.txt):主要的 LLMs.txt 索引文件
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 的完整文档
11
12
 
12
13
  在 Cursor 中使用 @Docs 功能将 LLMs.txt 文件包含在您的项目中。[了解更多](https://docs.cursor.com/en/context/@-symbols/@-docs)
13
14
 
@@ -1,55 +1,50 @@
1
1
  # 索引
2
2
 
3
- - [](components/commonComponents/Tooltip/index.zh-CN.llms.txt)
4
- - [](components/commonComponents/TimePicker/index.zh-CN.llms.txt)
5
- - [](components/commonComponents/Video/index.zh-CN.llms.txt)
6
- - [](components/commonComponents/Tag/index.zh-CN.llms.txt)
7
- - [](components/commonComponents/Upload/index.zh-CN.llms.txt)
8
- - [](components/commonComponents/Tabs/index.zh-CN.llms.txt)
9
- - [](components/commonComponents/Steps/index.zh-CN.llms.txt)
10
- - [](components/commonComponents/Statistic/index.zh-CN.llms.txt)
11
- - [](components/commonComponents/Spinner/index.zh-CN.llms.txt)
12
- - [](components/commonComponents/Switch/index.zh-CN.llms.txt)
13
- - [](components/commonComponents/Table/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/Result/index.zh-CN.llms.txt)
17
- - [](components/commonComponents/Select/index.zh-CN.llms.txt)
18
- - [](components/commonComponents/PromptsEditor/index.zh-CN.llms.txt)
19
- - [](components/commonComponents/Radio/index.zh-CN.llms.txt)
20
- - [](components/commonComponents/RadioButton/index.zh-CN.llms.txt)
21
- - [](components/commonComponents/Popover/index.zh-CN.llms.txt)
22
- - [](components/commonComponents/Progress/index.zh-CN.llms.txt)
23
- - [](components/commonComponents/Pagination/index.zh-CN.llms.txt)
24
- - [](components/commonComponents/Popconfirm/index.zh-CN.llms.txt)
25
- - [](components/commonComponents/Notification/index.zh-CN.llms.txt)
26
- - [](components/commonComponents/Message/index.zh-CN.llms.txt)
27
- - [](components/commonComponents/Modal/index.zh-CN.llms.txt)
28
- - [](components/commonComponents/InputNumber/index.zh-CN.llms.txt)
29
- - [](components/commonComponents/Input/index.zh-CN.llms.txt)
30
- - [](components/commonComponents/MediaPreview/index.zh-CN.llms.txt)
31
- - [](components/commonComponents/Image/index.zh-CN.llms.txt)
32
- - [](components/commonComponents/InputSearch/index.zh-CN.llms.txt)
33
- - [](components/commonComponents/IconButton/index.zh-CN.llms.txt)
34
- - [](components/commonComponents/Form/index.zh-CN.llms.txt)
35
- - [](components/commonComponents/FileIcon/index.zh-CN.llms.txt)
36
- - [](components/commonComponents/FloatButton/index.zh-CN.llms.txt)
37
- - [](components/commonComponents/Empty/index.zh-CN.llms.txt)
38
- - [](components/commonComponents/Dropdown/index.zh-CN.llms.txt)
39
- - [](components/commonComponents/Drawer/index.zh-CN.llms.txt)
40
- - [](components/commonComponents/Descriptions/index.zh-CN.llms.txt)
41
- - [](components/commonComponents/CollapsePanel/index.zh-CN.llms.txt)
42
- - [](components/commonComponents/Collapse/index.zh-CN.llms.txt)
43
- - [](components/commonComponents/DatePicker/index.zh-CN.llms.txt)
44
- - [](components/commonComponents/CodeBlock/index.zh-CN.llms.txt)
45
- - [](components/commonComponents/Card/index.zh-CN.llms.txt)
46
- - [](components/commonComponents/Checkbox/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/Avatar/index.zh-CN.llms.txt)
50
- - [](components/commonComponents/Audio/index.zh-CN.llms.txt)
51
- - [](components/commonComponents/Anchor/index.zh-CN.llms.txt)
52
- - [](components/commonComponents/AlertDialog/index.zh-CN.llms.txt)
53
- - [](components/commonComponents/Alert/index.zh-CN.llms.txt)
54
- - [使用](docs/guide/sparkIcons.zh-CN.llms.txt)
55
- - [Icon Library](docs/icons/iconLibrary.zh-CN.llms.txt)
3
+ - [Alert](https://unpkg.com/browse/@agentscope-ai/design@1.0.26/llms/components/commonComponents/Alert/index.zh-CN.llms.txt)
4
+ - [AlertDialog](https://unpkg.com/browse/@agentscope-ai/design@1.0.26/llms/components/commonComponents/AlertDialog/index.zh-CN.llms.txt)
5
+ - [Anchor](https://unpkg.com/browse/@agentscope-ai/design@1.0.26/llms/components/commonComponents/Anchor/index.zh-CN.llms.txt)
6
+ - [Audio](https://unpkg.com/browse/@agentscope-ai/design@1.0.26/llms/components/commonComponents/Audio/index.zh-CN.llms.txt)
7
+ - [Avatar](https://unpkg.com/browse/@agentscope-ai/design@1.0.26/llms/components/commonComponents/Avatar/index.zh-CN.llms.txt)
8
+ - [Breadcrumb](https://unpkg.com/browse/@agentscope-ai/design@1.0.26/llms/components/commonComponents/Breadcrumb/index.zh-CN.llms.txt)
9
+ - [Button](https://unpkg.com/browse/@agentscope-ai/design@1.0.26/llms/components/commonComponents/Button/index.zh-CN.llms.txt)
10
+ - [Card](https://unpkg.com/browse/@agentscope-ai/design@1.0.26/llms/components/commonComponents/Card/index.zh-CN.llms.txt)
11
+ - [Checkbox](https://unpkg.com/browse/@agentscope-ai/design@1.0.26/llms/components/commonComponents/Checkbox/index.zh-CN.llms.txt)
12
+ - [CodeBlock](https://unpkg.com/browse/@agentscope-ai/design@1.0.26/llms/components/commonComponents/CodeBlock/index.zh-CN.llms.txt)
13
+ - [Collapse](https://unpkg.com/browse/@agentscope-ai/design@1.0.26/llms/components/commonComponents/Collapse/index.zh-CN.llms.txt)
14
+ - [CollapsePanel](https://unpkg.com/browse/@agentscope-ai/design@1.0.26/llms/components/commonComponents/CollapsePanel/index.zh-CN.llms.txt)
15
+ - [DatePicker](https://unpkg.com/browse/@agentscope-ai/design@1.0.26/llms/components/commonComponents/DatePicker/index.zh-CN.llms.txt)
16
+ - [Descriptions](https://unpkg.com/browse/@agentscope-ai/design@1.0.26/llms/components/commonComponents/Descriptions/index.zh-CN.llms.txt)
17
+ - [Drawer](https://unpkg.com/browse/@agentscope-ai/design@1.0.26/llms/components/commonComponents/Drawer/index.zh-CN.llms.txt)
18
+ - [Dropdown](https://unpkg.com/browse/@agentscope-ai/design@1.0.26/llms/components/commonComponents/Dropdown/index.zh-CN.llms.txt)
19
+ - [Empty](https://unpkg.com/browse/@agentscope-ai/design@1.0.26/llms/components/commonComponents/Empty/index.zh-CN.llms.txt)
20
+ - [FloatButton](https://unpkg.com/browse/@agentscope-ai/design@1.0.26/llms/components/commonComponents/FloatButton/index.zh-CN.llms.txt)
21
+ - [Form](https://unpkg.com/browse/@agentscope-ai/design@1.0.26/llms/components/commonComponents/Form/index.zh-CN.llms.txt)
22
+ - [IconButton](https://unpkg.com/browse/@agentscope-ai/design@1.0.26/llms/components/commonComponents/IconButton/index.zh-CN.llms.txt)
23
+ - [Image](https://unpkg.com/browse/@agentscope-ai/design@1.0.26/llms/components/commonComponents/Image/index.zh-CN.llms.txt)
24
+ - [Input](https://unpkg.com/browse/@agentscope-ai/design@1.0.26/llms/components/commonComponents/Input/index.zh-CN.llms.txt)
25
+ - [InputNumber](https://unpkg.com/browse/@agentscope-ai/design@1.0.26/llms/components/commonComponents/InputNumber/index.zh-CN.llms.txt)
26
+ - [Message](https://unpkg.com/browse/@agentscope-ai/design@1.0.26/llms/components/commonComponents/Message/index.zh-CN.llms.txt)
27
+ - [Modal](https://unpkg.com/browse/@agentscope-ai/design@1.0.26/llms/components/commonComponents/Modal/index.zh-CN.llms.txt)
28
+ - [Notification](https://unpkg.com/browse/@agentscope-ai/design@1.0.26/llms/components/commonComponents/Notification/index.zh-CN.llms.txt)
29
+ - [Pagination](https://unpkg.com/browse/@agentscope-ai/design@1.0.26/llms/components/commonComponents/Pagination/index.zh-CN.llms.txt)
30
+ - [Popconfirm](https://unpkg.com/browse/@agentscope-ai/design@1.0.26/llms/components/commonComponents/Popconfirm/index.zh-CN.llms.txt)
31
+ - [Popover](https://unpkg.com/browse/@agentscope-ai/design@1.0.26/llms/components/commonComponents/Popover/index.zh-CN.llms.txt)
32
+ - [Progress](https://unpkg.com/browse/@agentscope-ai/design@1.0.26/llms/components/commonComponents/Progress/index.zh-CN.llms.txt)
33
+ - [PromptsEditor](https://unpkg.com/browse/@agentscope-ai/design@1.0.26/llms/components/commonComponents/PromptsEditor/index.zh-CN.llms.txt)
34
+ - [Radio](https://unpkg.com/browse/@agentscope-ai/design@1.0.26/llms/components/commonComponents/Radio/index.zh-CN.llms.txt)
35
+ - [RadioButton](https://unpkg.com/browse/@agentscope-ai/design@1.0.26/llms/components/commonComponents/RadioButton/index.zh-CN.llms.txt)
36
+ - [Result](https://unpkg.com/browse/@agentscope-ai/design@1.0.26/llms/components/commonComponents/Result/index.zh-CN.llms.txt)
37
+ - [Select](https://unpkg.com/browse/@agentscope-ai/design@1.0.26/llms/components/commonComponents/Select/index.zh-CN.llms.txt)
38
+ - [Skeleton](https://unpkg.com/browse/@agentscope-ai/design@1.0.26/llms/components/commonComponents/Skeleton/index.zh-CN.llms.txt)
39
+ - [Slider](https://unpkg.com/browse/@agentscope-ai/design@1.0.26/llms/components/commonComponents/Slider/index.zh-CN.llms.txt)
40
+ - [Spinner](https://unpkg.com/browse/@agentscope-ai/design@1.0.26/llms/components/commonComponents/Spinner/index.zh-CN.llms.txt)
41
+ - [Statistic](https://unpkg.com/browse/@agentscope-ai/design@1.0.26/llms/components/commonComponents/Statistic/index.zh-CN.llms.txt)
42
+ - [Steps](https://unpkg.com/browse/@agentscope-ai/design@1.0.26/llms/components/commonComponents/Steps/index.zh-CN.llms.txt)
43
+ - [Switch](https://unpkg.com/browse/@agentscope-ai/design@1.0.26/llms/components/commonComponents/Switch/index.zh-CN.llms.txt)
44
+ - [Table](https://unpkg.com/browse/@agentscope-ai/design@1.0.26/llms/components/commonComponents/Table/index.zh-CN.llms.txt)
45
+ - [Tabs](https://unpkg.com/browse/@agentscope-ai/design@1.0.26/llms/components/commonComponents/Tabs/index.zh-CN.llms.txt)
46
+ - [Tag](https://unpkg.com/browse/@agentscope-ai/design@1.0.26/llms/components/commonComponents/Tag/index.zh-CN.llms.txt)
47
+ - [TimePicker](https://unpkg.com/browse/@agentscope-ai/design@1.0.26/llms/components/commonComponents/TimePicker/index.zh-CN.llms.txt)
48
+ - [Tooltip](https://unpkg.com/browse/@agentscope-ai/design@1.0.26/llms/components/commonComponents/Tooltip/index.zh-CN.llms.txt)
49
+ - [Upload](https://unpkg.com/browse/@agentscope-ai/design@1.0.26/llms/components/commonComponents/Upload/index.zh-CN.llms.txt)
50
+ - [Video](https://unpkg.com/browse/@agentscope-ai/design@1.0.26/llms/components/commonComponents/Video/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.27-beta.1769741632982",
3
+ "version": "1.0.28-beta.1769761940248",
4
4
  "description": "AgentScope Spark Design - UI Library for AgentScope AI",
5
5
  "repository": {
6
6
  "type": "git",