uview-pro 0.5.5 → 0.5.6
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/changelog.md
CHANGED
|
@@ -1,19 +1,29 @@
|
|
|
1
|
-
## 0.5.
|
|
1
|
+
## 0.5.6(2026-02-04)
|
|
2
2
|
|
|
3
|
-
###
|
|
3
|
+
### 🐛 Bug Fixes | Bug 修复
|
|
4
4
|
|
|
5
|
-
- **
|
|
6
|
-
- **useModal:** 新增useModal函数式调用API和全局modal功能(#101) ([724edf3](https://github.com/anyup/uView-Pro/commit/724edf3cd69607a6d4e33954f8d2d701f9502ff3))
|
|
7
|
-
- **locale:** 新增语言配置的标签字段label和区域设置字段locale ([49ba6cb](https://github.com/anyup/uView-Pro/commit/49ba6cbea6b53712496e465dd40654af7608a02d))
|
|
8
|
-
|
|
9
|
-
### ♻️ Code Refactoring | 代码重构
|
|
10
|
-
|
|
11
|
-
- **demo:** 调整demo演示中吸顶组件默认偏移量为200 ([165da80](https://github.com/anyup/uView-Pro/commit/165da80eb9eec54cf1a5fa8511d82e2b3d11fed1))
|
|
5
|
+
- **vue-tsc:** 修复部分定时器ts类型定义错误问题(#124) ([dada764](https://github.com/anyup/uView-Pro/commit/dada764eaa6ea73402e8fa6d96a783ae2a68715a))
|
|
12
6
|
|
|
13
7
|
### 👥 Contributors
|
|
14
8
|
|
|
15
9
|
<a href="https://github.com/anyup"><img src="https://github.com/anyup.png?size=40" width="40" height="40" alt="anyup" title="anyup"/></a>
|
|
16
10
|
|
|
11
|
+
## 0.5.5(2026-02-02)
|
|
12
|
+
|
|
13
|
+
### ✨ Features | 新功能
|
|
14
|
+
|
|
15
|
+
- **u-toast:** 新增页面级toast功能并优化loading逻辑 ([4eae5b7](https://github.com/anyup/uView-Pro/commit/4eae5b7ef5d4494c4619bee383e62490994b4317))
|
|
16
|
+
- **useModal:** 新增useModal函数式调用API和全局modal功能(#101) ([724edf3](https://github.com/anyup/uView-Pro/commit/724edf3cd69607a6d4e33954f8d2d701f9502ff3))
|
|
17
|
+
- **locale:** 新增语言配置的标签字段label和区域设置字段locale ([49ba6cb](https://github.com/anyup/uView-Pro/commit/49ba6cbea6b53712496e465dd40654af7608a02d))
|
|
18
|
+
|
|
19
|
+
### ♻️ Code Refactoring | 代码重构
|
|
20
|
+
|
|
21
|
+
- **demo:** 调整demo演示中吸顶组件默认偏移量为200 ([165da80](https://github.com/anyup/uView-Pro/commit/165da80eb9eec54cf1a5fa8511d82e2b3d11fed1))
|
|
22
|
+
|
|
23
|
+
### 👥 Contributors
|
|
24
|
+
|
|
25
|
+
<a href="https://github.com/anyup"><img src="https://github.com/anyup.png?size=40" width="40" height="40" alt="anyup" title="anyup"/></a>
|
|
26
|
+
|
|
17
27
|
## 0.5.4(2026-01-30)
|
|
18
28
|
|
|
19
29
|
### 🐛 Bug Fixes | Bug 修复
|
|
@@ -120,7 +120,7 @@ const d = ref('00'); // 天
|
|
|
120
120
|
const h = ref('00'); // 小时
|
|
121
121
|
const i = ref('00'); // 分钟
|
|
122
122
|
const s = ref('00'); // 秒
|
|
123
|
-
const timer = ref<number | null>(null); //
|
|
123
|
+
const timer = ref<number | ReturnType<typeof setInterval> | null>(null); // 定时器
|
|
124
124
|
const seconds = ref(0);
|
|
125
125
|
|
|
126
126
|
/**
|
|
@@ -37,7 +37,7 @@ import { TopTipsProps } from './types';
|
|
|
37
37
|
|
|
38
38
|
const props = defineProps(TopTipsProps);
|
|
39
39
|
|
|
40
|
-
let timer: number | null = null; // 定时器
|
|
40
|
+
let timer: number | ReturnType<typeof setTimeout> | null = null; // 定时器
|
|
41
41
|
const isShow = ref(false); // 是否显示消息组件
|
|
42
42
|
const title = ref(''); // 组件中显示的消息内容
|
|
43
43
|
const type = ref<'primary' | 'success' | 'error' | 'warning' | 'info'>('primary'); // 消息的类型(颜色不同),primary,success,error,warning,info
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"id": "uview-pro",
|
|
3
3
|
"name": "uview-pro",
|
|
4
4
|
"displayName": "【支持鸿蒙】uView Pro|基于Vue3+TS的高质量UI组件库,支持多主题、暗黑模式、多语言",
|
|
5
|
-
"version": "0.5.
|
|
5
|
+
"version": "0.5.6",
|
|
6
6
|
"description": "uView Pro是基于Vue3+TS的多平台UI框架,提供80+高质量组件、便捷工具和常用模板,支持多主题、暗黑模式、多语言,支持H5/APP/鸿蒙/小程序多端开发。已在鸿蒙应用商店上架,欢迎体验!",
|
|
7
7
|
"main": "index.ts",
|
|
8
8
|
"module": "index.ts",
|