@agentscope-ai/design 1.0.16 → 1.0.17

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.
Files changed (54) hide show
  1. package/lib/antd/styles/button.style.js +13 -1
  2. package/lib/antd/styles/index.style.js +3 -1
  3. package/lib/antd/styles/tree.style.d.ts +6 -0
  4. package/lib/antd/styles/tree.style.js +18 -0
  5. package/lib/antd/themes/bailianDarkTheme.json +3 -1
  6. package/lib/antd/themes/bailianTheme.json +4 -2
  7. package/lib/antd/themes/carbonDarkTheme.json +3 -1
  8. package/lib/antd/themes/carbonTheme.json +3 -1
  9. package/lib/components/commonComponents/Audio/Control.d.ts +53 -0
  10. package/lib/components/commonComponents/{Video → Audio}/Control.js +18 -15
  11. package/lib/components/commonComponents/Audio/Control.style.d.ts +1 -0
  12. package/lib/components/commonComponents/Audio/Control.style.js +14 -0
  13. package/lib/components/commonComponents/Audio/index.d.ts +14 -0
  14. package/lib/components/commonComponents/Audio/index.js +165 -0
  15. package/lib/components/commonComponents/Audio/index.style.d.ts +1 -0
  16. package/lib/components/commonComponents/Audio/index.style.js +10 -0
  17. package/lib/components/commonComponents/Button/demo/demo1.js +7 -0
  18. package/lib/components/commonComponents/Button/index.js +2 -1
  19. package/lib/components/commonComponents/CollapsePanel/demo/demo1.js +1 -1
  20. package/lib/components/commonComponents/CollapsePanel/index.js +4 -4
  21. package/lib/components/commonComponents/EllipsisTip/index.d.ts +8 -1
  22. package/lib/components/commonComponents/EllipsisTip/index.js +33 -3
  23. package/lib/components/commonComponents/Empty/index.d.ts +6 -0
  24. package/lib/components/commonComponents/Empty/index.js +22 -7
  25. package/lib/components/commonComponents/Empty/index.style.js +1 -1
  26. package/lib/components/commonComponents/Pagination/index.js +33 -42
  27. package/lib/components/commonComponents/Pagination/index.style.js +1 -1
  28. package/lib/components/commonComponents/SliderSelector/index.d.ts +1 -1
  29. package/lib/components/commonComponents/SliderSelector/index.js +8 -4
  30. package/lib/components/commonComponents/Steps/index.js +2 -1
  31. package/lib/components/commonComponents/Steps/index.style.js +5 -1
  32. package/lib/components/commonComponents/Table/index.style.js +27 -1
  33. package/lib/components/commonComponents/Tabs/index.js +9 -8
  34. package/lib/components/commonComponents/Tooltip/demo/demo3.d.ts +3 -0
  35. package/lib/components/commonComponents/Tooltip/demo/demo3.js +25 -0
  36. package/lib/components/commonComponents/Tooltip/index.d.ts +7 -1
  37. package/lib/components/commonComponents/Tooltip/index.js +12 -1
  38. package/lib/components/commonComponents/Tooltip/index.style.js +1 -1
  39. package/lib/components/commonComponents/Video/index.d.ts +2 -6
  40. package/lib/components/commonComponents/Video/index.js +8 -8
  41. package/lib/components/commonComponents/Video/index.style.js +2 -6
  42. package/lib/components/mobileComponents/MobileDrawer/index.style.js +7 -1
  43. package/lib/index.d.ts +2 -1
  44. package/lib/index.js +1 -0
  45. package/lib/libs/env/index.d.ts +1 -1
  46. package/lib/typings.d.ts +12 -0
  47. package/llms/all.llms.txt +570 -561
  48. package/llms/components/commonComponents/Empty/index.zh-CN.llms.txt +1 -0
  49. package/llms/components/commonComponents/Tooltip/index.zh-CN.llms.txt +2 -1
  50. package/llms/docs/guide/tokens&variables.zh-CN.llms.txt +13 -5
  51. package/llms/index.llms.txt +47 -47
  52. package/package.json +3 -3
  53. package/scripts/mcp-docs-server.js +3 -3
  54. package/lib/components/commonComponents/Video/Control.d.ts +0 -19
@@ -34,6 +34,7 @@
34
34
  | className | 自定义空状态的类名 | string | |
35
35
  | style | 自定义空状态的样式 | React.CSSProperties | |
36
36
  | size | 自定义空状态的大小 | React.CSSProperties['width'] | |
37
+ | autoFit | 是否自适应容器宽度,当容器宽度小于 size 时自动缩放 | boolean | false |
37
38
 
38
39
 
39
40
  <AntdApiRef url="https://ant.design/components/empty-cn/#api"></AntdApiRef>
@@ -5,7 +5,8 @@
5
5
 
6
6
  | 属性名 | 描述 | 类型 | 默认值 |
7
7
  |--------|--------|--------|--------|
8
- | mode | 颜色模式 | 'dark' \| 'light' | 'light' |
8
+ | mode | 颜色模式 | 'dark' \| 'light' | 'dark' |
9
+ | maxHeight | 最大高度 | number \| string | '90vh' |
9
10
 
10
11
 
11
12
  <AntdApiRef url="https://ant.design/components/tooltip-cn/#api"></AntdApiRef>
@@ -15,7 +15,7 @@
15
15
  "borderRadiusXL": 12,
16
16
  "borderRadiusFull": 999,
17
17
  "wireframe": false,
18
- "colorPrimaryBg": "#F2F0FF",
18
+ "colorPrimaryBg": "rgba(97, 92, 237, 0.08)",
19
19
  "colorPrimaryBgHover": "#F2F0FF",
20
20
  "colorPrimaryBorder": "#E2DEFF",
21
21
  "colorPrimaryBorderHover": "#BCB5FF",
@@ -70,7 +70,9 @@
70
70
  "colorLink": "#615CED",
71
71
  "boxShadow": "0px 4px 6px 0px rgba(0, 0, 0, 0.08)",
72
72
  "boxShadowSecondary": "0px 12px 24px -16px rgba(0, 0, 0, 0.06),0px 8px 40px 0px rgba(0, 0, 0, 0.12),0px 0px 1px 0px rgba(0, 0, 0, 0.04)",
73
- "colorTextWhite": "#fff",
73
+
74
+ "colorTextWhite": "#ffffff",
75
+ "colorTextOnPrimary": "#ffffff",
74
76
  "colorFillDisable": "#DBDAE7",
75
77
  "colorPurple": "#615CED",
76
78
  "colorPurpleHover": "#8080FF",
@@ -172,7 +174,9 @@
172
174
  "colorLink": "#5551CC",
173
175
  "boxShadow": "0px 4px 6px 0px rgba(255, 255, 255, 0.08)",
174
176
  "boxShadowSecondary": "0px 12px 24px -16px rgba(255, 255, 255, 0.04),0px 8px 40px 0px rgba(255, 255, 255, 0.06),0px 0px 1px 0px rgba(255, 255, 255, 0.02)",
175
- "colorTextWhite": "#fff",
177
+
178
+ "colorTextWhite": "#fff",
179
+ "colorTextOnPrimary": "#fff",
176
180
  "colorFillDisable": "#8D8C98",
177
181
  "colorPurple": "#5551CC",
178
182
  "colorPurpleHover": "#8383F0",
@@ -275,7 +279,9 @@
275
279
  "colorLink": "rgba(0, 77, 255, 1)",
276
280
  "boxShadow": "0px 4px 6px 0px rgba(0, 0, 0, 0.08)",
277
281
  "boxShadowSecondary": "0px 12px 24px -16px rgba(0, 0, 0, 0.06),0px 8px 40px 0px rgba(0, 0, 0, 0.12),0px 0px 1px 0px rgba(0, 0, 0, 0.04)",
278
- "colorTextWhite": "rgba(255, 255, 255, 1)",
282
+
283
+ "colorTextWhite": "#ffffff",
284
+ "colorTextOnPrimary": "#ffffff",
279
285
  "colorFillDisable": "rgba(232, 232, 235, 1)",
280
286
  "colorPurple": "rgba(97, 92, 237, 1)",
281
287
  "colorPurpleHover": "#8080FF",
@@ -374,7 +380,9 @@
374
380
  "colorLink": "#4D7DFF",
375
381
  "boxShadow": "0px 4px 6px 0px rgba(255, 255, 255, 0.08)",
376
382
  "boxShadowSecondary": "0px 12px 24px -16px rgba(255, 255, 255, 0.06),0px 8px 40px 0px rgba(255, 255, 255, 0.12),0px 0px 1px 0px rgba(255, 255, 255, 0.04)",
377
- "colorTextWhite": "#FFFFFF",
383
+
384
+ "colorTextWhite": "#ffffff",
385
+ "colorTextOnPrimary": "#000000",
378
386
  "colorFillDisable": "#898989",
379
387
  "colorPurple": "#615CED",
380
388
  "colorPurpleHover": "#8383F0",
@@ -1,49 +1,49 @@
1
1
  # 索引
2
2
 
3
- - [Alert](https://unpkg.com/browse/@agentscope-ai/design@1.0.15/llms/components/commonComponents/Alert/index.zh-CN.llms.txt)
4
- - [AlertDialog](https://unpkg.com/browse/@agentscope-ai/design@1.0.15/llms/components/commonComponents/AlertDialog/index.zh-CN.llms.txt)
5
- - [Anchor](https://unpkg.com/browse/@agentscope-ai/design@1.0.15/llms/components/commonComponents/Anchor/index.zh-CN.llms.txt)
6
- - [Avatar](https://unpkg.com/browse/@agentscope-ai/design@1.0.15/llms/components/commonComponents/Avatar/index.zh-CN.llms.txt)
7
- - [Breadcrumb](https://unpkg.com/browse/@agentscope-ai/design@1.0.15/llms/components/commonComponents/Breadcrumb/index.zh-CN.llms.txt)
8
- - [Button](https://unpkg.com/browse/@agentscope-ai/design@1.0.15/llms/components/commonComponents/Button/index.zh-CN.llms.txt)
9
- - [Card](https://unpkg.com/browse/@agentscope-ai/design@1.0.15/llms/components/commonComponents/Card/index.zh-CN.llms.txt)
10
- - [Checkbox](https://unpkg.com/browse/@agentscope-ai/design@1.0.15/llms/components/commonComponents/Checkbox/index.zh-CN.llms.txt)
11
- - [CodeBlock](https://unpkg.com/browse/@agentscope-ai/design@1.0.15/llms/components/commonComponents/CodeBlock/index.zh-CN.llms.txt)
12
- - [Collapse](https://unpkg.com/browse/@agentscope-ai/design@1.0.15/llms/components/commonComponents/Collapse/index.zh-CN.llms.txt)
13
- - [CollapsePanel](https://unpkg.com/browse/@agentscope-ai/design@1.0.15/llms/components/commonComponents/CollapsePanel/index.zh-CN.llms.txt)
14
- - [DatePicker](https://unpkg.com/browse/@agentscope-ai/design@1.0.15/llms/components/commonComponents/DatePicker/index.zh-CN.llms.txt)
15
- - [Descriptions](https://unpkg.com/browse/@agentscope-ai/design@1.0.15/llms/components/commonComponents/Descriptions/index.zh-CN.llms.txt)
16
- - [Drawer](https://unpkg.com/browse/@agentscope-ai/design@1.0.15/llms/components/commonComponents/Drawer/index.zh-CN.llms.txt)
17
- - [Dropdown](https://unpkg.com/browse/@agentscope-ai/design@1.0.15/llms/components/commonComponents/Dropdown/index.zh-CN.llms.txt)
18
- - [Empty](https://unpkg.com/browse/@agentscope-ai/design@1.0.15/llms/components/commonComponents/Empty/index.zh-CN.llms.txt)
19
- - [FloatButton](https://unpkg.com/browse/@agentscope-ai/design@1.0.15/llms/components/commonComponents/FloatButton/index.zh-CN.llms.txt)
20
- - [Form](https://unpkg.com/browse/@agentscope-ai/design@1.0.15/llms/components/commonComponents/Form/index.zh-CN.llms.txt)
21
- - [IconButton](https://unpkg.com/browse/@agentscope-ai/design@1.0.15/llms/components/commonComponents/IconButton/index.zh-CN.llms.txt)
22
- - [Image](https://unpkg.com/browse/@agentscope-ai/design@1.0.15/llms/components/commonComponents/Image/index.zh-CN.llms.txt)
23
- - [Input](https://unpkg.com/browse/@agentscope-ai/design@1.0.15/llms/components/commonComponents/Input/index.zh-CN.llms.txt)
24
- - [InputNumber](https://unpkg.com/browse/@agentscope-ai/design@1.0.15/llms/components/commonComponents/InputNumber/index.zh-CN.llms.txt)
25
- - [Message](https://unpkg.com/browse/@agentscope-ai/design@1.0.15/llms/components/commonComponents/Message/index.zh-CN.llms.txt)
26
- - [Modal](https://unpkg.com/browse/@agentscope-ai/design@1.0.15/llms/components/commonComponents/Modal/index.zh-CN.llms.txt)
27
- - [Notification](https://unpkg.com/browse/@agentscope-ai/design@1.0.15/llms/components/commonComponents/Notification/index.zh-CN.llms.txt)
28
- - [Pagination](https://unpkg.com/browse/@agentscope-ai/design@1.0.15/llms/components/commonComponents/Pagination/index.zh-CN.llms.txt)
29
- - [Popconfirm](https://unpkg.com/browse/@agentscope-ai/design@1.0.15/llms/components/commonComponents/Popconfirm/index.zh-CN.llms.txt)
30
- - [Popover](https://unpkg.com/browse/@agentscope-ai/design@1.0.15/llms/components/commonComponents/Popover/index.zh-CN.llms.txt)
31
- - [Progress](https://unpkg.com/browse/@agentscope-ai/design@1.0.15/llms/components/commonComponents/Progress/index.zh-CN.llms.txt)
32
- - [PromptsEditor](https://unpkg.com/browse/@agentscope-ai/design@1.0.15/llms/components/commonComponents/PromptsEditor/index.zh-CN.llms.txt)
33
- - [Radio](https://unpkg.com/browse/@agentscope-ai/design@1.0.15/llms/components/commonComponents/Radio/index.zh-CN.llms.txt)
34
- - [RadioButton](https://unpkg.com/browse/@agentscope-ai/design@1.0.15/llms/components/commonComponents/RadioButton/index.zh-CN.llms.txt)
35
- - [Result](https://unpkg.com/browse/@agentscope-ai/design@1.0.15/llms/components/commonComponents/Result/index.zh-CN.llms.txt)
36
- - [Select](https://unpkg.com/browse/@agentscope-ai/design@1.0.15/llms/components/commonComponents/Select/index.zh-CN.llms.txt)
37
- - [Skeleton](https://unpkg.com/browse/@agentscope-ai/design@1.0.15/llms/components/commonComponents/Skeleton/index.zh-CN.llms.txt)
38
- - [Slider](https://unpkg.com/browse/@agentscope-ai/design@1.0.15/llms/components/commonComponents/Slider/index.zh-CN.llms.txt)
39
- - [Spinner](https://unpkg.com/browse/@agentscope-ai/design@1.0.15/llms/components/commonComponents/Spinner/index.zh-CN.llms.txt)
40
- - [Statistic](https://unpkg.com/browse/@agentscope-ai/design@1.0.15/llms/components/commonComponents/Statistic/index.zh-CN.llms.txt)
41
- - [Steps](https://unpkg.com/browse/@agentscope-ai/design@1.0.15/llms/components/commonComponents/Steps/index.zh-CN.llms.txt)
42
- - [Switch](https://unpkg.com/browse/@agentscope-ai/design@1.0.15/llms/components/commonComponents/Switch/index.zh-CN.llms.txt)
43
- - [Table](https://unpkg.com/browse/@agentscope-ai/design@1.0.15/llms/components/commonComponents/Table/index.zh-CN.llms.txt)
44
- - [Tabs](https://unpkg.com/browse/@agentscope-ai/design@1.0.15/llms/components/commonComponents/Tabs/index.zh-CN.llms.txt)
45
- - [Tag](https://unpkg.com/browse/@agentscope-ai/design@1.0.15/llms/components/commonComponents/Tag/index.zh-CN.llms.txt)
46
- - [TimePicker](https://unpkg.com/browse/@agentscope-ai/design@1.0.15/llms/components/commonComponents/TimePicker/index.zh-CN.llms.txt)
47
- - [Tooltip](https://unpkg.com/browse/@agentscope-ai/design@1.0.15/llms/components/commonComponents/Tooltip/index.zh-CN.llms.txt)
48
- - [Upload](https://unpkg.com/browse/@agentscope-ai/design@1.0.15/llms/components/commonComponents/Upload/index.zh-CN.llms.txt)
49
- - [Video](https://unpkg.com/browse/@agentscope-ai/design@1.0.15/llms/components/commonComponents/Video/index.zh-CN.llms.txt)
3
+ - [Alert](https://unpkg.com/browse/@agentscope-ai/design@1.0.17/llms/components/commonComponents/Alert/index.zh-CN.llms.txt)
4
+ - [AlertDialog](https://unpkg.com/browse/@agentscope-ai/design@1.0.17/llms/components/commonComponents/AlertDialog/index.zh-CN.llms.txt)
5
+ - [Anchor](https://unpkg.com/browse/@agentscope-ai/design@1.0.17/llms/components/commonComponents/Anchor/index.zh-CN.llms.txt)
6
+ - [Avatar](https://unpkg.com/browse/@agentscope-ai/design@1.0.17/llms/components/commonComponents/Avatar/index.zh-CN.llms.txt)
7
+ - [Breadcrumb](https://unpkg.com/browse/@agentscope-ai/design@1.0.17/llms/components/commonComponents/Breadcrumb/index.zh-CN.llms.txt)
8
+ - [Button](https://unpkg.com/browse/@agentscope-ai/design@1.0.17/llms/components/commonComponents/Button/index.zh-CN.llms.txt)
9
+ - [Card](https://unpkg.com/browse/@agentscope-ai/design@1.0.17/llms/components/commonComponents/Card/index.zh-CN.llms.txt)
10
+ - [Checkbox](https://unpkg.com/browse/@agentscope-ai/design@1.0.17/llms/components/commonComponents/Checkbox/index.zh-CN.llms.txt)
11
+ - [CodeBlock](https://unpkg.com/browse/@agentscope-ai/design@1.0.17/llms/components/commonComponents/CodeBlock/index.zh-CN.llms.txt)
12
+ - [Collapse](https://unpkg.com/browse/@agentscope-ai/design@1.0.17/llms/components/commonComponents/Collapse/index.zh-CN.llms.txt)
13
+ - [CollapsePanel](https://unpkg.com/browse/@agentscope-ai/design@1.0.17/llms/components/commonComponents/CollapsePanel/index.zh-CN.llms.txt)
14
+ - [DatePicker](https://unpkg.com/browse/@agentscope-ai/design@1.0.17/llms/components/commonComponents/DatePicker/index.zh-CN.llms.txt)
15
+ - [Descriptions](https://unpkg.com/browse/@agentscope-ai/design@1.0.17/llms/components/commonComponents/Descriptions/index.zh-CN.llms.txt)
16
+ - [Drawer](https://unpkg.com/browse/@agentscope-ai/design@1.0.17/llms/components/commonComponents/Drawer/index.zh-CN.llms.txt)
17
+ - [Dropdown](https://unpkg.com/browse/@agentscope-ai/design@1.0.17/llms/components/commonComponents/Dropdown/index.zh-CN.llms.txt)
18
+ - [Empty](https://unpkg.com/browse/@agentscope-ai/design@1.0.17/llms/components/commonComponents/Empty/index.zh-CN.llms.txt)
19
+ - [FloatButton](https://unpkg.com/browse/@agentscope-ai/design@1.0.17/llms/components/commonComponents/FloatButton/index.zh-CN.llms.txt)
20
+ - [Form](https://unpkg.com/browse/@agentscope-ai/design@1.0.17/llms/components/commonComponents/Form/index.zh-CN.llms.txt)
21
+ - [IconButton](https://unpkg.com/browse/@agentscope-ai/design@1.0.17/llms/components/commonComponents/IconButton/index.zh-CN.llms.txt)
22
+ - [Image](https://unpkg.com/browse/@agentscope-ai/design@1.0.17/llms/components/commonComponents/Image/index.zh-CN.llms.txt)
23
+ - [Input](https://unpkg.com/browse/@agentscope-ai/design@1.0.17/llms/components/commonComponents/Input/index.zh-CN.llms.txt)
24
+ - [InputNumber](https://unpkg.com/browse/@agentscope-ai/design@1.0.17/llms/components/commonComponents/InputNumber/index.zh-CN.llms.txt)
25
+ - [Message](https://unpkg.com/browse/@agentscope-ai/design@1.0.17/llms/components/commonComponents/Message/index.zh-CN.llms.txt)
26
+ - [Modal](https://unpkg.com/browse/@agentscope-ai/design@1.0.17/llms/components/commonComponents/Modal/index.zh-CN.llms.txt)
27
+ - [Notification](https://unpkg.com/browse/@agentscope-ai/design@1.0.17/llms/components/commonComponents/Notification/index.zh-CN.llms.txt)
28
+ - [Pagination](https://unpkg.com/browse/@agentscope-ai/design@1.0.17/llms/components/commonComponents/Pagination/index.zh-CN.llms.txt)
29
+ - [Popconfirm](https://unpkg.com/browse/@agentscope-ai/design@1.0.17/llms/components/commonComponents/Popconfirm/index.zh-CN.llms.txt)
30
+ - [Popover](https://unpkg.com/browse/@agentscope-ai/design@1.0.17/llms/components/commonComponents/Popover/index.zh-CN.llms.txt)
31
+ - [Progress](https://unpkg.com/browse/@agentscope-ai/design@1.0.17/llms/components/commonComponents/Progress/index.zh-CN.llms.txt)
32
+ - [PromptsEditor](https://unpkg.com/browse/@agentscope-ai/design@1.0.17/llms/components/commonComponents/PromptsEditor/index.zh-CN.llms.txt)
33
+ - [Radio](https://unpkg.com/browse/@agentscope-ai/design@1.0.17/llms/components/commonComponents/Radio/index.zh-CN.llms.txt)
34
+ - [RadioButton](https://unpkg.com/browse/@agentscope-ai/design@1.0.17/llms/components/commonComponents/RadioButton/index.zh-CN.llms.txt)
35
+ - [Result](https://unpkg.com/browse/@agentscope-ai/design@1.0.17/llms/components/commonComponents/Result/index.zh-CN.llms.txt)
36
+ - [Select](https://unpkg.com/browse/@agentscope-ai/design@1.0.17/llms/components/commonComponents/Select/index.zh-CN.llms.txt)
37
+ - [Skeleton](https://unpkg.com/browse/@agentscope-ai/design@1.0.17/llms/components/commonComponents/Skeleton/index.zh-CN.llms.txt)
38
+ - [Slider](https://unpkg.com/browse/@agentscope-ai/design@1.0.17/llms/components/commonComponents/Slider/index.zh-CN.llms.txt)
39
+ - [Spinner](https://unpkg.com/browse/@agentscope-ai/design@1.0.17/llms/components/commonComponents/Spinner/index.zh-CN.llms.txt)
40
+ - [Statistic](https://unpkg.com/browse/@agentscope-ai/design@1.0.17/llms/components/commonComponents/Statistic/index.zh-CN.llms.txt)
41
+ - [Steps](https://unpkg.com/browse/@agentscope-ai/design@1.0.17/llms/components/commonComponents/Steps/index.zh-CN.llms.txt)
42
+ - [Switch](https://unpkg.com/browse/@agentscope-ai/design@1.0.17/llms/components/commonComponents/Switch/index.zh-CN.llms.txt)
43
+ - [Table](https://unpkg.com/browse/@agentscope-ai/design@1.0.17/llms/components/commonComponents/Table/index.zh-CN.llms.txt)
44
+ - [Tabs](https://unpkg.com/browse/@agentscope-ai/design@1.0.17/llms/components/commonComponents/Tabs/index.zh-CN.llms.txt)
45
+ - [Tag](https://unpkg.com/browse/@agentscope-ai/design@1.0.17/llms/components/commonComponents/Tag/index.zh-CN.llms.txt)
46
+ - [TimePicker](https://unpkg.com/browse/@agentscope-ai/design@1.0.17/llms/components/commonComponents/TimePicker/index.zh-CN.llms.txt)
47
+ - [Tooltip](https://unpkg.com/browse/@agentscope-ai/design@1.0.17/llms/components/commonComponents/Tooltip/index.zh-CN.llms.txt)
48
+ - [Upload](https://unpkg.com/browse/@agentscope-ai/design@1.0.17/llms/components/commonComponents/Upload/index.zh-CN.llms.txt)
49
+ - [Video](https://unpkg.com/browse/@agentscope-ai/design@1.0.17/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.16",
3
+ "version": "1.0.17",
4
4
  "description": "AgentScope Spark Design - UI Library for AgentScope AI",
5
5
  "repository": {
6
6
  "type": "git",
@@ -67,7 +67,7 @@
67
67
  "ahooks": "^3.7.8",
68
68
  "antd-style": "^3.7.1",
69
69
  "dayjs": "^1.11.7",
70
- "dompurify": "^2.3.8",
70
+ "dompurify": "^2.3.12",
71
71
  "js-cookie": "^3.0.5",
72
72
  "lodash-es": "^4.17.21",
73
73
  "query-string": "^7.1.3",
@@ -97,7 +97,7 @@
97
97
  "@vitejs/plugin-react": "^4.3.3",
98
98
  "@vitejs/plugin-react-swc": "^3.7.1",
99
99
  "@vitest/coverage-istanbul": "2.1.4",
100
- "@vitest/ui": "2.1.4",
100
+ "@vitest/ui": "2.1.9",
101
101
  "ahooks": "^3.8.1",
102
102
  "antd": "^5.23.0",
103
103
  "classnames": "^2.5.1",
@@ -6257,7 +6257,7 @@ module.exports = __toCommonJS(mcp_exports);
6257
6257
  // package.json
6258
6258
  var package_default = {
6259
6259
  name: "@agentscope-ai/design",
6260
- version: "1.0.15-rc.0",
6260
+ version: "1.0.17",
6261
6261
  description: "AgentScope Spark Design - UI Library for AgentScope AI",
6262
6262
  repository: {
6263
6263
  type: "git",
@@ -6324,7 +6324,7 @@ var package_default = {
6324
6324
  ahooks: "^3.7.8",
6325
6325
  "antd-style": "^3.7.1",
6326
6326
  dayjs: "^1.11.7",
6327
- dompurify: "^2.3.8",
6327
+ dompurify: "^2.3.12",
6328
6328
  "js-cookie": "^3.0.5",
6329
6329
  "lodash-es": "^4.17.21",
6330
6330
  "query-string": "^7.1.3",
@@ -6354,7 +6354,7 @@ var package_default = {
6354
6354
  "@vitejs/plugin-react": "^4.3.3",
6355
6355
  "@vitejs/plugin-react-swc": "^3.7.1",
6356
6356
  "@vitest/coverage-istanbul": "2.1.4",
6357
- "@vitest/ui": "2.1.4",
6357
+ "@vitest/ui": "2.1.9",
6358
6358
  ahooks: "^3.8.1",
6359
6359
  antd: "^5.23.0",
6360
6360
  classnames: "^2.5.1",
@@ -1,19 +0,0 @@
1
- import React from 'react';
2
- interface VideoPlayerControllerProps {
3
- isPlaying: boolean;
4
- className?: string;
5
- currentTime?: number;
6
- duration?: number;
7
- enableAudio?: boolean;
8
- muted?: boolean;
9
- onMute?: () => void;
10
- onPlayPause?: () => void;
11
- onFullscreen?: () => void;
12
- onProgressClick?: (time: number) => void;
13
- }
14
- /**
15
- * 视频播放器控制器组件
16
- * 包含播放/暂停、音量控制、进度条、时间显示和全屏按钮
17
- */
18
- declare const VideoPlayerController: React.FC<VideoPlayerControllerProps>;
19
- export default VideoPlayerController;