uview-pro 0.3.11 → 0.3.13
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,28 +1,21 @@
|
|
|
1
|
-
## 0.3.
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
## 0.3.13(2025-11-11)
|
|
2
|
+
### Bug Fixes | Bug 修复
|
|
3
|
+
|
|
4
|
+
- **u-root-portal:** 修复根节点传送组件运行时报错问题 ([3c24a75](https://github.com/anyup/uView-Pro/commit/3c24a75de00982bbdc1388a413721377de4f1e3d))
|
|
5
|
+
## 0.3.12(2025-11-10)
|
|
6
6
|
|
|
7
7
|
### 🐛 Bug Fixes | Bug 修复
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
### 💄 Styles | 风格
|
|
12
|
-
|
|
13
|
-
### ♻️ Code Refactoring | 代码重构
|
|
14
|
-
|
|
15
|
-
### ⚡ Performance Improvements | 性能优化
|
|
16
|
-
|
|
17
|
-
### ✅ Tests | 测试
|
|
9
|
+
- **u-dropdown:** 修复下拉菜单激活颜色不正确的问题 ([d3cc1e8](https://github.com/anyup/uView-Pro/commit/d3cc1e87ff0951c5385da5e667a528d30b7fd1cf))
|
|
18
10
|
|
|
19
11
|
### 📦 Build System | 打包构建
|
|
20
12
|
|
|
21
|
-
|
|
13
|
+
- **app-harmony:** 新增 HarmonyOS 构建配置 ([c18a537](https://github.com/anyup/uView-Pro/commit/c18a537d9bf4edcbe626290642225363486cfb1e))
|
|
14
|
+
- 更新项目版本号 ([8eaee77](https://github.com/anyup/uView-Pro/commit/8eaee7784fb348c5637b55b037f62ba51409a4f2))
|
|
22
15
|
|
|
23
|
-
###
|
|
16
|
+
### 👥 Contributors
|
|
24
17
|
|
|
25
|
-
|
|
18
|
+
<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
19
|
|
|
27
20
|
## 0.3.10(2025-11-06)
|
|
28
21
|
|
|
@@ -79,9 +79,9 @@ const { parentExposed, emitToParent } = useChildren('u-dropdown-item', 'u-dropdo
|
|
|
79
79
|
// 当前项是否处于展开状态
|
|
80
80
|
const active = ref(false);
|
|
81
81
|
// 激活时左边文字和右边对勾图标的颜色
|
|
82
|
-
const activeColor = computed(() => parentExposed.value?.activeColor || $u.color.primary);
|
|
82
|
+
const activeColor = computed(() => parentExposed.value?.props?.activeColor || $u.color.primary);
|
|
83
83
|
// 未激活时左边文字和右边对勾图标的颜色
|
|
84
|
-
const inactiveColor = computed(() => parentExposed.value?.inactiveColor || $u.color.contentColor);
|
|
84
|
+
const inactiveColor = computed(() => parentExposed.value?.props?.inactiveColor || $u.color.contentColor);
|
|
85
85
|
|
|
86
86
|
// 监听props变化,通知父组件重新初始化
|
|
87
87
|
const propsChange = computed(() => `${props.title}-${props.disabled}`);
|
|
@@ -18,6 +18,12 @@
|
|
|
18
18
|
<!-- #endif -->
|
|
19
19
|
</template>
|
|
20
20
|
<script>
|
|
21
|
+
/**
|
|
22
|
+
* rootPortal 根节点传送
|
|
23
|
+
* @description 该组件一般用于使整个子树从页面中脱离出来,类似于在 CSS 中使用 fixed position 的效果。主要用于制作弹窗、弹出层等。
|
|
24
|
+
* @tutorial https://uviewpro.cn/zh/components/rootPortal.html
|
|
25
|
+
* @example <u-root-portal><view class="modal">这是一个全局弹窗</view></u-root-portal>
|
|
26
|
+
*/
|
|
21
27
|
export default {
|
|
22
28
|
name: 'u-root-portal',
|
|
23
29
|
options: {
|
|
@@ -29,14 +35,7 @@ export default {
|
|
|
29
35
|
}
|
|
30
36
|
};
|
|
31
37
|
</script>
|
|
32
|
-
<script lang="ts" setup>
|
|
33
|
-
/**
|
|
34
|
-
* rootPortal 根节点传送
|
|
35
|
-
* @description 该组件一般用于使整个子树从页面中脱离出来,类似于在 CSS 中使用 fixed position 的效果。主要用于制作弹窗、弹出层等。
|
|
36
|
-
* @tutorial https://uviewpro.cn/zh/components/rootPortal.html
|
|
37
|
-
* @example <u-root-portal><view class="modal">这是一个全局弹窗</view></u-root-portal>
|
|
38
|
-
*/
|
|
39
|
-
</script>
|
|
38
|
+
<script lang="ts" setup></script>
|
|
40
39
|
|
|
41
40
|
<!-- #ifdef APP-PLUS -->
|
|
42
41
|
<script module="render" lang="renderjs">
|
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全面重构的80+精选UI组件库",
|
|
5
|
-
"version": "0.3.
|
|
5
|
+
"version": "0.3.13",
|
|
6
6
|
"description": "uView Pro,是全面支持Vue3的uni-app生态框架,80+精选组件已使用TypeScript重构,已全面支持uni-app Vue3.0",
|
|
7
7
|
"main": "index.ts",
|
|
8
8
|
"module": "index.ts",
|