hy-app 0.5.14 → 0.5.16

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.
Files changed (35) hide show
  1. package/components/hy-address-picker/hy-address-picker.vue +0 -1
  2. package/components/hy-button/hy-button.vue +7 -1
  3. package/components/hy-button/index.scss +22 -21
  4. package/components/hy-code-input/hy-code-input.vue +231 -231
  5. package/components/hy-code-input/props.ts +90 -88
  6. package/components/hy-config-provider/index.scss +1 -1
  7. package/components/hy-datetime-picker/hy-datetime-picker.vue +519 -521
  8. package/components/hy-icon/index.scss +1 -2
  9. package/components/hy-index-bar/hy-index-bar.vue +0 -12
  10. package/components/hy-index-bar/index.scss +1 -1
  11. package/components/hy-notify/hy-notify.vue +174 -174
  12. package/components/hy-picker/hy-picker.vue +0 -1
  13. package/components/hy-picker/index.scss +1 -1
  14. package/components/hy-skeleton/hy-skeleton.vue +142 -0
  15. package/components/hy-skeleton/index.scss +90 -0
  16. package/components/hy-skeleton/props.ts +46 -0
  17. package/components/hy-skeleton/typing.d.ts +31 -0
  18. package/components/hy-steps/hy-steps.vue +267 -267
  19. package/components/hy-steps/index.scss +7 -2
  20. package/components/hy-steps/typing.d.ts +25 -21
  21. package/components/hy-tabs/index.scss +1 -0
  22. package/components/hy-tag/hy-tag.vue +174 -174
  23. package/components/hy-tag/index.scss +3 -6
  24. package/components/hy-tag/props.ts +89 -89
  25. package/components/hy-text/hy-text.vue +1 -1
  26. package/components/hy-textarea/hy-textarea.vue +1 -1
  27. package/components/hy-textarea/index.scss +1 -4
  28. package/global.d.ts +2 -0
  29. package/index.scss +1 -1
  30. package/libs/css/iconfont.css +117 -119
  31. package/libs/css/theme.scss +1 -0
  32. package/libs/css/vars.scss +2 -0
  33. package/libs/utils/utils.ts +0 -1
  34. package/package.json +62 -3
  35. package/web-types.json +1 -1
@@ -1,88 +1,90 @@
1
- import type IProps from './typing'
2
- import type { CSSProperties, PropType } from 'vue'
3
-
4
- const codeInputProps = {
5
- /** 获取值 */
6
- modelValue: {
7
- type: [String, Number],
8
- required: true
9
- },
10
- /** 键盘弹起时,是否自动上推页面 */
11
- adjustPosition: {
12
- type: Boolean,
13
- default: true
14
- },
15
- /** 最大输入长度 */
16
- maxlength: {
17
- type: Number,
18
- default: 6
19
- },
20
- /** 显示border */
21
- border: {
22
- type: Boolean,
23
- default: true
24
- },
25
- /** 是否用圆点填充 */
26
- dot: {
27
- type: Boolean,
28
- default: false
29
- },
30
- /**
31
- * 示模式,box-盒子模式,line-底部横线模式
32
- * @values box,line
33
- * */
34
- mode: {
35
- type: String,
36
- default: 'box'
37
- },
38
- /** 是否细边框 */
39
- hairline: {
40
- type: Boolean,
41
- default: false
42
- },
43
- /** 字符间的距离 */
44
- space: {
45
- type: Number,
46
- default: 10
47
- },
48
- /** 是否自动获取焦点 */
49
- focus: {
50
- type: Boolean,
51
- default: false
52
- },
53
- /** 字体是否加粗 */
54
- bold: {
55
- type: Boolean,
56
- default: false
57
- },
58
- /** 字体颜色 */
59
- color: String,
60
- /** 字体大小,单位px */
61
- fontSize: {
62
- type: [String, Number],
63
- default: 18
64
- },
65
- /** 输入框的大小,宽等于高 */
66
- size: {
67
- type: [String, Number],
68
- default: 35
69
- },
70
- /** 是否隐藏原生键盘,如果想用自定义键盘的话,需设置此参数为true */
71
- disabledKeyboard: {
72
- type: Boolean,
73
- default: false
74
- },
75
- /** 边框和线条颜色 */
76
- borderColor: String,
77
- /** 是否禁止输入"."符号 */
78
- disabledDot: {
79
- type: Boolean,
80
- default: true
81
- },
82
- /** 定义需要用到的外部样式 */
83
- customStyle: {
84
- type: Object as PropType<CSSProperties>
85
- }
86
- }
87
-
88
- export default codeInputProps
1
+ import type IProps from './typing'
2
+ import type { CSSProperties, PropType } from 'vue'
3
+
4
+ const codeInputProps = {
5
+ /** 获取值 */
6
+ modelValue: {
7
+ type: [String, Number],
8
+ required: true
9
+ },
10
+ /** 键盘弹起时,是否自动上推页面 */
11
+ adjustPosition: {
12
+ type: Boolean,
13
+ default: true
14
+ },
15
+ /** 最大输入长度 */
16
+ maxlength: {
17
+ type: Number,
18
+ default: 6
19
+ },
20
+ /** 显示border */
21
+ border: {
22
+ type: Boolean,
23
+ default: true
24
+ },
25
+ /** 是否用圆点填充 */
26
+ dot: {
27
+ type: Boolean,
28
+ default: false
29
+ },
30
+ /**
31
+ * 示模式,box-盒子模式,line-底部横线模式
32
+ * @values box,line
33
+ * */
34
+ mode: {
35
+ type: String,
36
+ default: 'box'
37
+ },
38
+ /** 是否细边框 */
39
+ hairline: {
40
+ type: Boolean,
41
+ default: false
42
+ },
43
+ /** 字符间的距离 */
44
+ space: {
45
+ type: Number,
46
+ default: 10
47
+ },
48
+ /** 是否自动获取焦点 */
49
+ focus: {
50
+ type: Boolean,
51
+ default: false
52
+ },
53
+ /** 字体是否加粗 */
54
+ bold: {
55
+ type: Boolean,
56
+ default: false
57
+ },
58
+ /** 字体颜色 */
59
+ color: String,
60
+ /** 字体大小,单位px */
61
+ fontSize: {
62
+ type: [String, Number],
63
+ default: 18
64
+ },
65
+ /** 输入框的大小,宽等于高 */
66
+ size: {
67
+ type: [String, Number],
68
+ default: 35
69
+ },
70
+ /** 是否隐藏原生键盘,如果想用自定义键盘的话,需设置此参数为true */
71
+ disabledKeyboard: {
72
+ type: Boolean,
73
+ default: false
74
+ },
75
+ /** 边框和线条颜色 */
76
+ borderColor: String,
77
+ /** 是否禁止输入"."符号 */
78
+ disabledDot: {
79
+ type: Boolean,
80
+ default: true
81
+ },
82
+ /** 定义需要用到的外部样式 */
83
+ customStyle: {
84
+ type: Object as PropType<CSSProperties>
85
+ },
86
+ /** 自定义外部类名 */
87
+ customClass: String
88
+ }
89
+
90
+ export default codeInputProps
@@ -8,7 +8,7 @@
8
8
  height: calc(100vh - var(--window-top));
9
9
  height: calc(100vh - var(--window-top) - constant(safe-area-inset-bottom));
10
10
  height: calc(100vh - var(--window-top) - env(safe-area-inset-bottom));
11
- //overflow-y: auto;
11
+ overflow-y: auto;
12
12
  //overflow-x: hidden;
13
13
  background-color: $hy-background;
14
14
  color: $hy-text-color;