uview-pro 0.3.11 → 0.3.12

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,17 @@
1
- ## 0.3.11(2025-11-10)
2
-
3
- ### ✨ Features | 新功能
4
-
5
- - Initial project setup with commitizen, cz-git, and conventional changelog
1
+ ## 0.3.12(2025-11-10)
6
2
 
7
3
  ### 🐛 Bug Fixes | Bug 修复
8
4
 
9
- ### 📝 Documentation | 文档
10
-
11
- ### 💄 Styles | 风格
12
-
13
- ### ♻️ Code Refactoring | 代码重构
14
-
15
- ### ⚡ Performance Improvements | 性能优化
16
-
17
- ### ✅ Tests | 测试
5
+ - **u-dropdown:** 修复下拉菜单激活颜色不正确的问题 ([d3cc1e8](https://github.com/anyup/uView-Pro/commit/d3cc1e87ff0951c5385da5e667a528d30b7fd1cf))
18
6
 
19
7
  ### 📦‍ Build System | 打包构建
20
8
 
21
- ### 👷 Continuous Integration | CI 配置
9
+ - **app-harmony:** 新增 HarmonyOS 构建配置 ([c18a537](https://github.com/anyup/uView-Pro/commit/c18a537d9bf4edcbe626290642225363486cfb1e))
10
+ - 更新项目版本号 ([8eaee77](https://github.com/anyup/uView-Pro/commit/8eaee7784fb348c5637b55b037f62ba51409a4f2))
22
11
 
23
- ### 🚀 Chore | 构建/工程依赖/工具
12
+ ### 👥 Contributors
24
13
 
25
- ### Revert | 回退
14
+ <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
15
 
27
16
  ## 0.3.10(2025-11-06)
28
17
 
@@ -252,6 +252,7 @@ onMounted(() => {
252
252
 
253
253
  // 暴露方法
254
254
  defineExpose({
255
+ props,
255
256
  init,
256
257
  close,
257
258
  open,
@@ -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}`);
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.11",
5
+ "version": "0.3.12",
6
6
  "description": "uView Pro,是全面支持Vue3的uni-app生态框架,80+精选组件已使用TypeScript重构,已全面支持uni-app Vue3.0",
7
7
  "main": "index.ts",
8
8
  "module": "index.ts",