Skip to content

Commit 478df69

Browse files
feat: optimize select & textScroll & components library code & docs
1 parent b8d7792 commit 478df69

File tree

7 files changed

+648
-643
lines changed

7 files changed

+648
-643
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
## Features
1818

19-
- The component library is implemented with `[email protected].18`+ `[email protected]` + `Vite@6.3.5` + `[email protected].0`.
19+
- The component library is implemented with `[email protected].20`+ `[email protected]` + `Vite@7.1.3` + `[email protected].1`.
2020
- Currently, it includes `67` basic UI components and `18` utility functions, with continuous exploration and updates ongoing...
2121
- Theme Customizable, all you need is to provide a theme color, then all the stuffs will be done by me.
2222
- By the way, they are all treeshakable.

README.zh-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
## 特性
1818

19-
- 组件库采用 `[email protected].18`+ `[email protected]` + `Vite@6.3.5` + `[email protected].0` 实现
19+
- 组件库采用 `[email protected].20`+ `[email protected]` + `Vite@7.1.3` + `[email protected].1` 实现
2020
- 目前共包含 `67` 个基础 `UI` 组件以及 `18` 个工具函数,并且持续探索更新中...
2121
- 主题可调,你只需提供一个主题色,剩下的都交给我
2222
- 顺便一提,它们全都可以 `treeshaking`

components/utils/resolver.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ const componentDependencies = {
9696
Select: ['Empty', 'Scrollbar'],
9797
Table: ['Checkbox', 'Ellipsis', 'Empty', 'Pagination', 'Input', 'Select', 'Radio', 'Scrollbar', 'Spin', 'Tooltip'],
9898
Tag: ['Space'],
99+
TextScroll: ['Ellipsis', 'Tooltip'],
99100
Upload: ['Image', 'Message', 'Space', 'Spin'],
100101
Waterfall: ['Spin']
101102
}
@@ -118,7 +119,7 @@ function getSideEffects(componentName: string, options?: VueAmazingUIResolverOpt
118119
if (componentName === 'DatePicker') {
119120
// 特殊处理 DatePicker 组件样式依赖文件
120121
sideEffects.push(
121-
`vue-amazing-ui/${type}/node_modules/.pnpm/@[email protected][email protected].18_typescript@5.9.2_/node_modules/@vuepic/vue-datepicker/dist/main.css`
122+
`vue-amazing-ui/${type}/node_modules/.pnpm/@[email protected][email protected].20_typescript@5.9.2_/node_modules/@vuepic/vue-datepicker/dist/main.css`
122123
)
123124
}
124125
if (componentName === 'Swiper') {

docs/guide/changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
对于新功能、新组件、`bug` 修复以及文档更新,您可以向 `main` 分支创建拉取请求或通过右下角邮箱地址联系我
66

7-
## <VersionDateTag date="2025-08-27">2.4.19</VersionDateTag>
7+
## <VersionDateTag date="2025-08-28">2.4.19</VersionDateTag>
88

99
- 优化并更新 [选择器 Select](https://themusecatcher.github.io/vue-amazing-ui/guide/components/select.html) 组件,新增 `placement` `flip` `to` 属性,支持:设置下拉面板弹出位置;下拉面板被浏览器窗口或最近可滚动父元素遮挡时自动调整弹出位置;下拉面板挂载的容器节点,默认挂载到 `body`
1010
- 优化并更新 [文字滚动 TextScroll](https://themusecatcher.github.io/vue-amazing-ui/guide/components/textscroll.html) 组件,属性 `amount` 新增 `false` 类型,用于支持所有文字平铺展示;新增 `ellipsis` `ellipsisProps` 属性,支持:文字超出时是否启用文本省略组件;配置文本省略组件属性

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ hero:
2121
features:
2222
- icon: 💡
2323
title: 最新技术
24-
details: '基于 [email protected].18[email protected]、Vite@6.3.5 等最新技术栈开发'
24+
details: '基于 [email protected].20[email protected]、Vite@7.1.3 等最新技术栈开发'
2525
- icon: 🚀
2626
title: 开箱即用
2727
details: 目前共包含 67 个基础 UI 组件以及 18 个工具函数,持续探索更新中

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
"@ant-design/colors": "^8.0.0",
7070
"@ctrl/tinycolor": "^4.1.0",
7171
"@vuepic/vue-datepicker": "^11.0.2",
72-
"@vueuse/core": "^13.6.0",
72+
"@vueuse/core": "^13.8.0",
7373
"date-fns": "^4.1.0",
7474
"qrcode": "^1.5.4",
7575
"seemly": "^0.3.10",
@@ -89,10 +89,10 @@
8989
"@vue/eslint-config-typescript": "^14.6.0",
9090
"@vue/tsconfig": "^0.7.0",
9191
"ant-design-vue": "^4.2.6",
92-
"eslint": "^9.33.0",
92+
"eslint": "^9.34.0",
9393
"eslint-plugin-vue": "^10.4.0",
9494
"husky": "^9.1.7",
95-
"less": "^4.4.0",
95+
"less": "^4.4.1",
9696
"lint-staged": "^16.1.5",
9797
"minimist": "^1.2.8",
9898
"naive-ui": "^2.42.0",
@@ -104,14 +104,14 @@
104104
"typescript": "^5.9.2",
105105
"unplugin-auto-import": "^20.0.0",
106106
"unplugin-vue-components": "^29.0.0",
107-
"vite": "^7.1.2",
107+
"vite": "^7.1.3",
108108
"vite-plugin-dts": "^4.5.4",
109-
"vite-plugin-vue-devtools": "^8.0.0",
109+
"vite-plugin-vue-devtools": "^8.0.1",
110110
"vitepress": "^1.6.4",
111-
"vue": "^3.5.18",
111+
"vue": "^3.5.20",
112112
"vue-amazing-ui": "2.4.18",
113113
"vue-router": "^4.5.1",
114-
"vue-tsc": "^3.0.5"
114+
"vue-tsc": "^3.0.6"
115115
},
116116
"license": "MIT",
117117
"bugs": {

0 commit comments

Comments
 (0)