uview-pro 0.6.7 → 0.6.9

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,15 +1,37 @@
1
- ## 0.6.7(2026-07-02
1
+ ## 0.6.9(2026-07-15
2
2
 
3
- ### Features | 新功能
3
+ ### 🐛 Bug Fixes | Bug 修复
4
4
 
5
- - **u-input:** u-input新增confirm-hold属性,支持点击键盘右下角按钮保持键盘不收起(#170) ([27a57cd](https://github.com/anyup/uView-Pro/commit/27a57cdf0046a11b1a8a72c6fb44aecbe39b0c50))
6
- - **u-textarea:** u-textarea新增confirm-hold属性,支持点击键盘右下角按钮保持键盘不收起(#170) ([3244812](https://github.com/anyup/uView-Pro/commit/3244812c961ab3cf2011e2433740fd9be407d347))
7
- - **input,textarea:** 新增confirm-hold属性的使用示例(#170) ([b030a2d](https://github.com/anyup/uView-Pro/commit/b030a2dfd30099cda2e9e63e96fb9a2e00d2f639))
5
+ - **u-input:** 新增clear事件并在清空时触发(#175) ([103fadc](https://github.com/anyup/uView-Pro/commit/103fadc3649a9555ccb97682d04005ff63cc02f9))
6
+ - **u-input:** 修复input在readonly状态下在低版本安卓上无效的问题 ([fccacbd](https://github.com/anyup/uView-Pro/commit/fccacbda882b846af1445dfaf7868f2981e21cb5))
8
7
 
9
8
  ### 👥 Contributors
10
9
 
11
10
  <a href="https://github.com/anyup"><img src="https://github.com/anyup.png?size=40" width="40" height="40" alt="anyup" title="anyup"/></a>
12
11
 
12
+ ## 0.6.8(2026-07-03)
13
+
14
+ ### 🐛 Bug Fixes | Bug 修复
15
+
16
+ - **u-button:** 添加data-eventsync属性以修复事件同步问题(#172) ([cbec72a](https://github.com/anyup/uView-Pro/commit/cbec72ac1959630dd7cb436fc74944bf0ad6bddb))
17
+ - **u-input:** 修复输入框readonly状态下无效问题,调整z-index层级(#173) ([38eca40](https://github.com/anyup/uView-Pro/commit/38eca4023f2f0300b795e8eb786a22002cec67b3))
18
+
19
+ ### 👥 Contributors
20
+
21
+ <a href="https://github.com/anyup"><img src="https://github.com/anyup.png?size=40" width="40" height="40" alt="anyup" title="anyup"/></a>
22
+
23
+ ## 0.6.7(2026-07-02)
24
+
25
+ ### ✨ Features | 新功能
26
+
27
+ - **u-input:** u-input新增confirm-hold属性,支持点击键盘右下角按钮保持键盘不收起(#170) ([27a57cd](https://github.com/anyup/uView-Pro/commit/27a57cdf0046a11b1a8a72c6fb44aecbe39b0c50))
28
+ - **u-textarea:** u-textarea新增confirm-hold属性,支持点击键盘右下角按钮保持键盘不收起(#170) ([3244812](https://github.com/anyup/uView-Pro/commit/3244812c961ab3cf2011e2433740fd9be407d347))
29
+ - **input,textarea:** 新增confirm-hold属性的使用示例(#170) ([b030a2d](https://github.com/anyup/uView-Pro/commit/b030a2dfd30099cda2e9e63e96fb9a2e00d2f639))
30
+
31
+ ### 👥 Contributors
32
+
33
+ <a href="https://github.com/anyup"><img src="https://github.com/anyup.png?size=40" width="40" height="40" alt="anyup" title="anyup"/></a>
34
+
13
35
  ## 0.6.6(2026-06-10)
14
36
 
15
37
  ### 🐛 Bug Fixes | Bug 修复
@@ -3,6 +3,7 @@
3
3
  <button
4
4
  id="u-wave-btn"
5
5
  class="u-btn u-line-1 u-fix-ios-appearance"
6
+ data-eventsync="true"
6
7
  :class="[
7
8
  'u-size-' + size,
8
9
  plain ? 'u-btn--' + type + '--plain' : '',
@@ -133,7 +133,7 @@ import { InputProps } from './types';
133
133
  import type { SizeType } from '../../types/global';
134
134
 
135
135
  const props = defineProps(InputProps);
136
- const emit = defineEmits(['update:modelValue', 'input', 'blur', 'focus', 'confirm', 'click']);
136
+ const emit = defineEmits(['update:modelValue', 'input', 'blur', 'focus', 'confirm', 'click', 'clear']);
137
137
 
138
138
  const { t } = useLocale();
139
139
 
@@ -334,6 +334,7 @@ function onClear(event: any) {
334
334
  } catch (e) {
335
335
  console.log(e);
336
336
  }
337
+ emit('clear');
337
338
  handleInput({ detail: { value: '' } });
338
339
  }
339
340
 
@@ -358,8 +359,11 @@ defineExpose({
358
359
 
359
360
  &__readonly-overlay {
360
361
  position: absolute;
361
- inset: 0;
362
- z-index: 1;
362
+ top: 0;
363
+ right: 0;
364
+ bottom: 0;
365
+ left: 0;
366
+ z-index: 2;
363
367
  }
364
368
 
365
369
  &__input {
@@ -390,7 +394,7 @@ defineExpose({
390
394
  padding: 1px 4px;
391
395
  border-radius: 10px;
392
396
  line-height: 16px;
393
- z-index: 2;
397
+ z-index: 3;
394
398
  }
395
399
 
396
400
  &--border {
@@ -423,7 +427,7 @@ defineExpose({
423
427
 
424
428
  &__right-icon {
425
429
  position: relative;
426
- z-index: 2;
430
+ z-index: 3;
427
431
 
428
432
  &--select {
429
433
  transition: transform 0.4s;
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.6.7",
5
+ "version": "0.6.9",
6
6
  "description": "uView Pro是基于Vue3+TS的多平台UI框架,提供80+高质量组件、便捷工具和常用模板,支持多主题、暗黑模式、多语言,支持H5/APP/鸿蒙/小程序多端开发。已在鸿蒙应用商店上架,欢迎体验!",
7
7
  "main": "index.ts",
8
8
  "module": "index.ts",