hy-app 0.6.9 → 0.7.0

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 (82) hide show
  1. package/attributes.json +1 -1
  2. package/components/hy-avatar/hy-avatar.vue +12 -5
  3. package/components/hy-avatar/props.ts +4 -2
  4. package/components/hy-avatar/typing.d.ts +8 -1
  5. package/components/hy-calendar/hy-calendar.vue +1 -0
  6. package/components/hy-calendar/month.vue +25 -5
  7. package/components/hy-calendar/props.ts +1 -1
  8. package/components/hy-cascader/hy-cascader.vue +503 -0
  9. package/components/hy-cascader/index.scss +84 -0
  10. package/components/hy-cascader/props.ts +88 -0
  11. package/components/hy-cascader/typing.d.ts +34 -0
  12. package/components/hy-check-button/typing.d.ts +12 -7
  13. package/components/hy-code-input/hy-code-input.vue +33 -11
  14. package/components/hy-code-input/typing.d.ts +4 -0
  15. package/components/hy-config-provider/hy-config-provider.vue +58 -53
  16. package/components/hy-datetime-picker/props.ts +1 -1
  17. package/components/hy-datetime-picker/typing.d.ts +1 -1
  18. package/components/hy-dropdown/typing.d.ts +5 -0
  19. package/components/hy-form/typing.d.ts +6 -0
  20. package/components/hy-form-item/typing.d.ts +1 -1
  21. package/components/hy-grid/hy-grid.vue +12 -12
  22. package/components/hy-grid/index.scss +1 -2
  23. package/components/hy-grid/props.ts +7 -2
  24. package/components/hy-grid/typing.d.ts +1 -1
  25. package/components/hy-icon/typing.d.ts +52 -9
  26. package/components/hy-keyboard/constants.ts +83 -0
  27. package/components/hy-keyboard/hy-keyboard.vue +375 -0
  28. package/components/hy-keyboard/index.scss +73 -0
  29. package/components/hy-keyboard/key/index.scss +79 -0
  30. package/components/hy-keyboard/key/index.vue +91 -0
  31. package/components/hy-keyboard/key/types.ts +1 -0
  32. package/components/hy-keyboard/props.ts +108 -0
  33. package/components/hy-keyboard/typing.d.ts +18 -0
  34. package/components/hy-modal/typing.d.ts +2 -2
  35. package/components/hy-notice-bar/hy-column-notice.vue +54 -94
  36. package/components/hy-notice-bar/hy-notice-bar.vue +128 -96
  37. package/components/hy-notice-bar/hy-row-notice.vue +89 -121
  38. package/components/hy-notice-bar/props.ts +86 -85
  39. package/components/hy-notify/hy-notify.vue +9 -9
  40. package/components/hy-notify/typing.d.ts +22 -0
  41. package/components/hy-picker/hy-picker.vue +126 -149
  42. package/components/hy-picker/props.ts +4 -1
  43. package/components/hy-picker/typing.d.ts +22 -0
  44. package/components/hy-popup/index.scss +1 -0
  45. package/components/hy-price/hy-price.vue +52 -23
  46. package/components/hy-price/props.ts +54 -54
  47. package/components/hy-radio/props.ts +1 -1
  48. package/components/hy-radio/typing.d.ts +5 -1
  49. package/components/hy-rolling-num/typing.d.ts +1 -0
  50. package/components/hy-skeleton/index.scss +17 -0
  51. package/components/hy-steps/hy-steps.vue +1 -1
  52. package/components/hy-submit-bar/typing.d.ts +3 -3
  53. package/components/hy-swipe-action/hy-swipe-action.vue +34 -15
  54. package/components/hy-swipe-action/index.scss +0 -1
  55. package/components/hy-switch/typing.d.ts +4 -0
  56. package/components/hy-tabbar/props.ts +2 -1
  57. package/components/hy-tabbar/typing.d.ts +5 -4
  58. package/components/hy-tabs/hy-tabs.vue +338 -336
  59. package/components/hy-tabs/index.scss +6 -6
  60. package/components/hy-tabs/typing.d.ts +41 -33
  61. package/components/hy-textarea/hy-textarea.vue +2 -2
  62. package/components/hy-textarea/typing.d.ts +4 -0
  63. package/components/hy-toast/hy-toast.vue +14 -6
  64. package/components/hy-toast/typing.d.ts +42 -36
  65. package/components/hy-tooltip/hy-tooltip.vue +1 -1
  66. package/components/hy-tooltip/index.scss +1 -0
  67. package/components/hy-tooltip/props.ts +1 -1
  68. package/components/hy-upload/hy-upload.vue +16 -1
  69. package/components/hy-upload/index.scss +149 -144
  70. package/components/index.ts +6 -0
  71. package/global.d.ts +2 -0
  72. package/libs/config/icon.ts +442 -430
  73. package/libs/css/_function.scss +7 -13
  74. package/libs/css/iconfont.css +445 -441
  75. package/libs/css/theme.scss +1 -1
  76. package/libs/locale/lang/en-US.ts +4 -0
  77. package/libs/locale/lang/zh-CN.ts +4 -0
  78. package/libs/typing/index.ts +80 -0
  79. package/package.json +5 -2
  80. package/tags.json +1 -1
  81. package/web-types.json +1 -1
  82. package/components/hy-qrcode/qrcode.js.bak +0 -1434
@@ -44,22 +44,16 @@ $default-theme: #4d80f0 !default; // 正常色
44
44
  * @params $mix-color 自己设置的混色
45
45
  */
46
46
  @function themeColor($theme-color, $type: "", $mix-color: "") {
47
- @if $default-theme == #4d80f0 {
48
- @if $type=="dark" {
49
- @return darken($theme-color, 10%);
50
- }
51
-
52
- @else if $type=="light" {
53
- @return lighten($theme-color, 30%);
54
- }
55
-
56
- @else {
57
- @return $theme-color;
58
- }
47
+ @if $type=="dark" {
48
+ @return darken($theme-color, 10%);
49
+ }
50
+
51
+ @else if $type=="light" {
52
+ @return lighten($theme-color, 30%);
59
53
  }
60
54
 
61
55
  @else {
62
- @return $mix-color;
56
+ @return $theme-color;
63
57
  }
64
58
  }
65
59