@tarojs/components 3.8.0-canary.0 → 4.0.0-alpha.2

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 (720) hide show
  1. package/LICENSE +14 -0
  2. package/dist/cjs/helper-ad6306f6.js +31 -0
  3. package/dist/cjs/{index-e751dfe3.js → index-5b029707.js} +208 -2
  4. package/dist/cjs/{index-dfd8638f.js → index-8a70c333.js} +6 -0
  5. package/dist/cjs/loader.cjs.js +2 -2
  6. package/dist/cjs/taro-ad-core.cjs.entry.js +2 -2
  7. package/dist/cjs/taro-ad-custom-core.cjs.entry.js +2 -2
  8. package/dist/cjs/taro-animation-video-core.cjs.entry.js +2 -2
  9. package/dist/cjs/taro-animation-view-core.cjs.entry.js +2 -2
  10. package/dist/cjs/taro-ar-camera-core.cjs.entry.js +2 -2
  11. package/dist/cjs/taro-audio-core.cjs.entry.js +2 -2
  12. package/dist/cjs/taro-aweme-data-core.cjs.entry.js +2 -2
  13. package/dist/cjs/taro-block-core.cjs.entry.js +1 -1
  14. package/dist/cjs/taro-button-core.cjs.entry.js +2 -2
  15. package/dist/cjs/taro-camera-core.cjs.entry.js +2 -2
  16. package/dist/cjs/taro-canvas-core.cjs.entry.js +15 -3
  17. package/dist/cjs/taro-channel-live-core.cjs.entry.js +2 -2
  18. package/dist/cjs/taro-channel-video-core.cjs.entry.js +2 -2
  19. package/dist/cjs/taro-checkbox-core_2.cjs.entry.js +2 -2
  20. package/dist/cjs/taro-comment-detail-core.cjs.entry.js +2 -2
  21. package/dist/cjs/taro-comment-list-core.cjs.entry.js +2 -2
  22. package/dist/cjs/taro-components.cjs.js +2 -2
  23. package/dist/cjs/taro-contact-button-core.cjs.entry.js +2 -2
  24. package/dist/cjs/taro-cover-image-core.cjs.entry.js +2 -2
  25. package/dist/cjs/taro-cover-view-core.cjs.entry.js +1 -1
  26. package/dist/cjs/taro-custom-wrapper-core.cjs.entry.js +1 -1
  27. package/dist/cjs/taro-editor-core.cjs.entry.js +2 -2
  28. package/dist/cjs/taro-follow-swan-core.cjs.entry.js +2 -2
  29. package/dist/cjs/taro-form-core.cjs.entry.js +1 -1
  30. package/dist/cjs/taro-functional-page-navigator-core.cjs.entry.js +2 -2
  31. package/dist/cjs/taro-grid-view-core.cjs.entry.js +2 -2
  32. package/dist/cjs/taro-icon-core.cjs.entry.js +4 -1
  33. package/dist/cjs/taro-image-core.cjs.entry.js +6 -5
  34. package/dist/cjs/taro-inline-payment-panel-core.cjs.entry.js +2 -2
  35. package/dist/cjs/taro-input-core.cjs.entry.js +2 -2
  36. package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js +2 -2
  37. package/dist/cjs/taro-label-core.cjs.entry.js +1 -1
  38. package/dist/cjs/taro-lifestyle-core.cjs.entry.js +2 -2
  39. package/dist/cjs/taro-like-core.cjs.entry.js +2 -2
  40. package/dist/cjs/taro-list-view-core.cjs.entry.js +2 -2
  41. package/dist/cjs/taro-live-player-core.cjs.entry.js +2 -2
  42. package/dist/cjs/taro-live-pusher-core.cjs.entry.js +2 -2
  43. package/dist/cjs/taro-login-core.cjs.entry.js +2 -2
  44. package/dist/cjs/taro-lottie-core.cjs.entry.js +2 -2
  45. package/dist/cjs/taro-map-core.cjs.entry.js +2 -2
  46. package/dist/cjs/taro-match-media-core.cjs.entry.js +2 -2
  47. package/dist/cjs/taro-movable-area-core_2.cjs.entry.js +5 -4
  48. package/dist/cjs/taro-native-slot-core.cjs.entry.js +2 -2
  49. package/dist/cjs/taro-navigation-bar-core.cjs.entry.js +2 -2
  50. package/dist/cjs/taro-navigator-core.cjs.entry.js +1 -1
  51. package/dist/cjs/taro-official-account-core.cjs.entry.js +2 -2
  52. package/dist/cjs/taro-open-data-core.cjs.entry.js +2 -2
  53. package/dist/cjs/taro-page-container-core.cjs.entry.js +2 -2
  54. package/dist/cjs/taro-page-meta-core.cjs.entry.js +2 -2
  55. package/dist/cjs/taro-picker-core_2.cjs.entry.js +33 -32
  56. package/dist/cjs/taro-picker-view-column-core_2.cjs.entry.js +39 -39
  57. package/dist/cjs/taro-progress-core.cjs.entry.js +4 -1
  58. package/dist/cjs/{taro-pull-to-refresh.cjs.entry.js → taro-pull-to-refresh-core.cjs.entry.js} +19 -14
  59. package/dist/cjs/taro-radio-core_2.cjs.entry.js +1 -1
  60. package/dist/cjs/taro-rich-text-core.cjs.entry.js +2 -2
  61. package/dist/cjs/taro-root-portal-core.cjs.entry.js +2 -2
  62. package/dist/cjs/taro-rtc-room-core.cjs.entry.js +2 -2
  63. package/dist/cjs/taro-rtc-room-item-core.cjs.entry.js +2 -2
  64. package/dist/cjs/taro-scroll-view-core.cjs.entry.js +15 -3
  65. package/dist/cjs/taro-share-element-core.cjs.entry.js +2 -2
  66. package/dist/cjs/taro-slider-core.cjs.entry.js +4 -1
  67. package/dist/cjs/taro-slot-core.cjs.entry.js +2 -2
  68. package/dist/cjs/taro-snapshot-core.cjs.entry.js +21 -0
  69. package/dist/cjs/taro-sticky-header-core.cjs.entry.js +2 -2
  70. package/dist/cjs/taro-sticky-section-core.cjs.entry.js +2 -2
  71. package/dist/cjs/taro-swiper-core_2.cjs.entry.js +112 -9922
  72. package/dist/cjs/taro-switch-core.cjs.entry.js +13 -12
  73. package/dist/cjs/taro-tab-item-core.cjs.entry.js +2 -2
  74. package/dist/cjs/taro-tabbar.cjs.entry.js +14 -98
  75. package/dist/cjs/taro-tabs-core.cjs.entry.js +2 -2
  76. package/dist/cjs/taro-text-core.cjs.entry.js +2 -2
  77. package/dist/cjs/taro-textarea-core.cjs.entry.js +12 -3
  78. package/dist/cjs/taro-video-control_3.cjs.entry.js +31 -7
  79. package/dist/cjs/taro-view-core.cjs.entry.js +5 -11
  80. package/dist/cjs/taro-voip-room-core.cjs.entry.js +2 -2
  81. package/dist/cjs/taro-web-view-core.cjs.entry.js +2 -2
  82. package/dist/collection/collection-manifest.json +1 -0
  83. package/dist/collection/components/audio/style/index.css +1 -4
  84. package/dist/collection/components/button/style/index.css +1 -160
  85. package/dist/collection/components/canvas/canvas.js +48 -2
  86. package/dist/collection/components/canvas/style/index.css +1 -6
  87. package/dist/collection/components/checkbox/style/index.css +1 -39
  88. package/dist/collection/components/cover-image/style/index.css +1 -5
  89. package/dist/collection/components/cover-view/style/cover-view.css +1 -3
  90. package/dist/collection/components/icon/icon.js +10 -0
  91. package/dist/collection/components/icon/style/index.css +1 -0
  92. package/dist/collection/components/image/image.js +4 -3
  93. package/dist/collection/components/image/style/index.css +1 -73
  94. package/dist/collection/components/input/input.js +2 -2
  95. package/dist/collection/components/input/style/index.css +1 -0
  96. package/dist/collection/components/movable-area/area.css +1 -6
  97. package/dist/collection/components/movable-area/movable-area.js +2 -1
  98. package/dist/collection/components/movable-area/view.css +1 -8
  99. package/dist/collection/components/navigator/style/index.css +1 -3
  100. package/dist/collection/components/picker/picker.js +31 -30
  101. package/dist/collection/components/picker/style/index.css +1 -4
  102. package/dist/collection/components/picker-view/picker-view-column.js +27 -55
  103. package/dist/collection/components/picker-view/picker-view.js +14 -2
  104. package/dist/collection/components/picker-view/style/column.css +1 -12
  105. package/dist/collection/components/picker-view/style/index.css +1 -28
  106. package/dist/collection/components/progress/progress.js +10 -0
  107. package/dist/collection/components/progress/style/index.css +1 -0
  108. package/dist/collection/components/pull-to-refresh/pull-to-refresh.js +17 -12
  109. package/dist/collection/components/pull-to-refresh/style/index.css +1 -52
  110. package/dist/collection/components/rich-text/style/index.css +1 -16
  111. package/dist/collection/components/scroll-view/scroll-view.js +18 -2
  112. package/dist/collection/components/scroll-view/style/index.css +1 -17
  113. package/dist/collection/components/slider/slider.js +10 -0
  114. package/dist/collection/components/slider/style/index.css +1 -0
  115. package/dist/collection/components/snapshot/snapshot.js +11 -0
  116. package/dist/collection/components/swiper/style/index.css +2 -19
  117. package/dist/collection/components/swiper/swiper-item.js +54 -33
  118. package/dist/collection/components/swiper/swiper.js +57 -26
  119. package/dist/collection/components/switch/style/index.css +1 -10
  120. package/dist/collection/components/switch/switch.js +12 -12
  121. package/dist/collection/components/tabbar/style/index.css +1 -49
  122. package/dist/collection/components/tabbar/tabbar-item.js +1 -1
  123. package/dist/collection/components/tabbar/tabbar.js +5 -5
  124. package/dist/collection/components/text/style/index.css +1 -26
  125. package/dist/collection/components/textarea/style/index.css +1 -22
  126. package/dist/collection/components/textarea/textarea.js +11 -0
  127. package/dist/collection/components/video/style/index.css +1 -326
  128. package/dist/collection/components/video/video.js +6 -2
  129. package/dist/collection/components/view/style/index.css +1 -9
  130. package/dist/collection/components/view/view.js +2 -9
  131. package/dist/collection/components/web-view/style/index.css +1 -12
  132. package/dist/collection/utils/helper.js +11 -0
  133. package/dist/collection/utils/index.js +10 -0
  134. package/dist/components/helper.js +12 -1
  135. package/dist/components/index.d.ts +2 -1
  136. package/dist/components/index.js +2 -1
  137. package/dist/components/index3.js +6 -1
  138. package/dist/components/taro-audio-core.js +1 -1
  139. package/dist/components/taro-button-core.js +1 -1
  140. package/dist/components/taro-canvas-core.js +17 -3
  141. package/dist/components/taro-checkbox-core.js +1 -1
  142. package/dist/components/taro-cover-image-core.js +1 -1
  143. package/dist/components/taro-icon-core.js +3 -0
  144. package/dist/components/taro-image-core.js +5 -4
  145. package/dist/components/taro-input-core.js +1 -1
  146. package/dist/components/taro-movable-area-core.js +3 -2
  147. package/dist/components/taro-movable-view-core.js +1 -1
  148. package/dist/components/taro-picker-core.js +32 -31
  149. package/dist/components/taro-picker-view-column-core.js +27 -37
  150. package/dist/components/taro-picker-view-core.js +12 -3
  151. package/dist/components/taro-progress-core.js +3 -0
  152. package/dist/components/taro-pull-to-refresh-core.d.ts +11 -0
  153. package/dist/components/{taro-pull-to-refresh.js → taro-pull-to-refresh-core.js} +22 -17
  154. package/dist/components/taro-rich-text-core.js +1 -1
  155. package/dist/components/taro-scroll-view-core.js +13 -2
  156. package/dist/components/taro-slider-core.js +3 -0
  157. package/dist/components/{taro-pull-to-refresh.d.ts → taro-snapshot-core.d.ts} +4 -4
  158. package/dist/components/taro-snapshot-core.js +33 -0
  159. package/dist/components/taro-swiper-core.js +62 -9879
  160. package/dist/components/taro-swiper-item-core.js +40 -36
  161. package/dist/components/taro-switch-core.js +13 -13
  162. package/dist/components/taro-tabbar.js +4 -89
  163. package/dist/components/taro-text-core.js +1 -1
  164. package/dist/components/taro-textarea-core.js +11 -2
  165. package/dist/components/taro-video-core.js +8 -4
  166. package/dist/components/taro-view-core.js +3 -10
  167. package/dist/components/taro-web-view-core.js +1 -1
  168. package/dist/esm/helper-8a85bb65.js +24 -0
  169. package/dist/esm/{index-d1b03e47.js → index-a00a7418.js} +6 -1
  170. package/dist/esm/{index-980f930f.js → index-ab3c86da.js} +208 -2
  171. package/dist/esm/loader.js +3 -3
  172. package/dist/esm/taro-ad-core.entry.js +2 -2
  173. package/dist/esm/taro-ad-custom-core.entry.js +2 -2
  174. package/dist/esm/taro-animation-video-core.entry.js +2 -2
  175. package/dist/esm/taro-animation-view-core.entry.js +2 -2
  176. package/dist/esm/taro-ar-camera-core.entry.js +2 -2
  177. package/dist/esm/taro-audio-core.entry.js +2 -2
  178. package/dist/esm/taro-aweme-data-core.entry.js +2 -2
  179. package/dist/esm/taro-block-core.entry.js +1 -1
  180. package/dist/esm/taro-button-core.entry.js +2 -2
  181. package/dist/esm/taro-camera-core.entry.js +2 -2
  182. package/dist/esm/taro-canvas-core.entry.js +15 -3
  183. package/dist/esm/taro-channel-live-core.entry.js +2 -2
  184. package/dist/esm/taro-channel-video-core.entry.js +2 -2
  185. package/dist/esm/taro-checkbox-core_2.entry.js +2 -2
  186. package/dist/esm/taro-comment-detail-core.entry.js +2 -2
  187. package/dist/esm/taro-comment-list-core.entry.js +2 -2
  188. package/dist/esm/taro-components.js +3 -3
  189. package/dist/esm/taro-contact-button-core.entry.js +2 -2
  190. package/dist/esm/taro-cover-image-core.entry.js +2 -2
  191. package/dist/esm/taro-cover-view-core.entry.js +1 -1
  192. package/dist/esm/taro-custom-wrapper-core.entry.js +1 -1
  193. package/dist/esm/taro-editor-core.entry.js +2 -2
  194. package/dist/esm/taro-follow-swan-core.entry.js +2 -2
  195. package/dist/esm/taro-form-core.entry.js +1 -1
  196. package/dist/esm/taro-functional-page-navigator-core.entry.js +2 -2
  197. package/dist/esm/taro-grid-view-core.entry.js +2 -2
  198. package/dist/esm/taro-icon-core.entry.js +4 -1
  199. package/dist/esm/taro-image-core.entry.js +6 -5
  200. package/dist/esm/taro-inline-payment-panel-core.entry.js +2 -2
  201. package/dist/esm/taro-input-core.entry.js +2 -2
  202. package/dist/esm/taro-keyboard-accessory-core.entry.js +2 -2
  203. package/dist/esm/taro-label-core.entry.js +1 -1
  204. package/dist/esm/taro-lifestyle-core.entry.js +2 -2
  205. package/dist/esm/taro-like-core.entry.js +2 -2
  206. package/dist/esm/taro-list-view-core.entry.js +2 -2
  207. package/dist/esm/taro-live-player-core.entry.js +2 -2
  208. package/dist/esm/taro-live-pusher-core.entry.js +2 -2
  209. package/dist/esm/taro-login-core.entry.js +2 -2
  210. package/dist/esm/taro-lottie-core.entry.js +2 -2
  211. package/dist/esm/taro-map-core.entry.js +2 -2
  212. package/dist/esm/taro-match-media-core.entry.js +2 -2
  213. package/dist/esm/taro-movable-area-core_2.entry.js +5 -4
  214. package/dist/esm/taro-native-slot-core.entry.js +2 -2
  215. package/dist/esm/taro-navigation-bar-core.entry.js +2 -2
  216. package/dist/esm/taro-navigator-core.entry.js +1 -1
  217. package/dist/esm/taro-official-account-core.entry.js +2 -2
  218. package/dist/esm/taro-open-data-core.entry.js +2 -2
  219. package/dist/esm/taro-page-container-core.entry.js +2 -2
  220. package/dist/esm/taro-page-meta-core.entry.js +2 -2
  221. package/dist/esm/taro-picker-core_2.entry.js +33 -32
  222. package/dist/esm/taro-picker-view-column-core_2.entry.js +39 -39
  223. package/dist/esm/taro-progress-core.entry.js +4 -1
  224. package/dist/esm/{taro-pull-to-refresh.entry.js → taro-pull-to-refresh-core.entry.js} +19 -14
  225. package/dist/esm/taro-radio-core_2.entry.js +1 -1
  226. package/dist/esm/taro-rich-text-core.entry.js +2 -2
  227. package/dist/esm/taro-root-portal-core.entry.js +2 -2
  228. package/dist/esm/taro-rtc-room-core.entry.js +2 -2
  229. package/dist/esm/taro-rtc-room-item-core.entry.js +2 -2
  230. package/dist/esm/taro-scroll-view-core.entry.js +15 -3
  231. package/dist/esm/taro-share-element-core.entry.js +2 -2
  232. package/dist/esm/taro-slider-core.entry.js +4 -1
  233. package/dist/esm/taro-slot-core.entry.js +2 -2
  234. package/dist/esm/taro-snapshot-core.entry.js +17 -0
  235. package/dist/esm/taro-sticky-header-core.entry.js +2 -2
  236. package/dist/esm/taro-sticky-section-core.entry.js +2 -2
  237. package/dist/esm/taro-swiper-core_2.entry.js +100 -9914
  238. package/dist/esm/taro-switch-core.entry.js +13 -12
  239. package/dist/esm/taro-tab-item-core.entry.js +2 -2
  240. package/dist/esm/taro-tabbar.entry.js +5 -90
  241. package/dist/esm/taro-tabs-core.entry.js +2 -2
  242. package/dist/esm/taro-text-core.entry.js +2 -2
  243. package/dist/esm/taro-textarea-core.entry.js +12 -3
  244. package/dist/esm/taro-video-control_3.entry.js +10 -6
  245. package/dist/esm/taro-view-core.entry.js +5 -11
  246. package/dist/esm/taro-voip-room-core.entry.js +2 -2
  247. package/dist/esm/taro-web-view-core.entry.js +2 -2
  248. package/dist/esm-es5/helper-8a85bb65.js +1 -0
  249. package/dist/esm-es5/index-a00a7418.js +1 -0
  250. package/dist/esm-es5/index-ab3c86da.js +2 -0
  251. package/dist/esm-es5/loader.js +1 -1
  252. package/dist/esm-es5/taro-ad-core.entry.js +1 -1
  253. package/dist/esm-es5/taro-ad-custom-core.entry.js +1 -1
  254. package/dist/esm-es5/taro-animation-video-core.entry.js +1 -1
  255. package/dist/esm-es5/taro-animation-view-core.entry.js +1 -1
  256. package/dist/esm-es5/taro-ar-camera-core.entry.js +1 -1
  257. package/dist/esm-es5/taro-audio-core.entry.js +1 -1
  258. package/dist/esm-es5/taro-aweme-data-core.entry.js +1 -1
  259. package/dist/esm-es5/taro-block-core.entry.js +1 -1
  260. package/dist/esm-es5/taro-button-core.entry.js +1 -1
  261. package/dist/esm-es5/taro-camera-core.entry.js +1 -1
  262. package/dist/esm-es5/taro-canvas-core.entry.js +1 -1
  263. package/dist/esm-es5/taro-channel-live-core.entry.js +1 -1
  264. package/dist/esm-es5/taro-channel-video-core.entry.js +1 -1
  265. package/dist/esm-es5/taro-checkbox-core_2.entry.js +1 -1
  266. package/dist/esm-es5/taro-comment-detail-core.entry.js +1 -1
  267. package/dist/esm-es5/taro-comment-list-core.entry.js +1 -1
  268. package/dist/esm-es5/taro-components.js +1 -1
  269. package/dist/esm-es5/taro-contact-button-core.entry.js +1 -1
  270. package/dist/esm-es5/taro-cover-image-core.entry.js +1 -1
  271. package/dist/esm-es5/taro-cover-view-core.entry.js +1 -1
  272. package/dist/esm-es5/taro-custom-wrapper-core.entry.js +1 -1
  273. package/dist/esm-es5/taro-editor-core.entry.js +1 -1
  274. package/dist/esm-es5/taro-follow-swan-core.entry.js +1 -1
  275. package/dist/esm-es5/taro-form-core.entry.js +1 -1
  276. package/dist/esm-es5/taro-functional-page-navigator-core.entry.js +1 -1
  277. package/dist/esm-es5/taro-grid-view-core.entry.js +1 -1
  278. package/dist/esm-es5/taro-icon-core.entry.js +1 -1
  279. package/dist/esm-es5/taro-image-core.entry.js +1 -1
  280. package/dist/esm-es5/taro-inline-payment-panel-core.entry.js +1 -1
  281. package/dist/esm-es5/taro-input-core.entry.js +1 -1
  282. package/dist/esm-es5/taro-keyboard-accessory-core.entry.js +1 -1
  283. package/dist/esm-es5/taro-label-core.entry.js +1 -1
  284. package/dist/esm-es5/taro-lifestyle-core.entry.js +1 -1
  285. package/dist/esm-es5/taro-like-core.entry.js +1 -1
  286. package/dist/esm-es5/taro-list-view-core.entry.js +1 -1
  287. package/dist/esm-es5/taro-live-player-core.entry.js +1 -1
  288. package/dist/esm-es5/taro-live-pusher-core.entry.js +1 -1
  289. package/dist/esm-es5/taro-login-core.entry.js +1 -1
  290. package/dist/esm-es5/taro-lottie-core.entry.js +1 -1
  291. package/dist/esm-es5/taro-map-core.entry.js +1 -1
  292. package/dist/esm-es5/taro-match-media-core.entry.js +1 -1
  293. package/dist/esm-es5/taro-movable-area-core_2.entry.js +1 -1
  294. package/dist/esm-es5/taro-native-slot-core.entry.js +1 -1
  295. package/dist/esm-es5/taro-navigation-bar-core.entry.js +1 -1
  296. package/dist/esm-es5/taro-navigator-core.entry.js +1 -1
  297. package/dist/esm-es5/taro-official-account-core.entry.js +1 -1
  298. package/dist/esm-es5/taro-open-data-core.entry.js +1 -1
  299. package/dist/esm-es5/taro-page-container-core.entry.js +1 -1
  300. package/dist/esm-es5/taro-page-meta-core.entry.js +1 -1
  301. package/dist/esm-es5/taro-picker-core_2.entry.js +1 -1
  302. package/dist/esm-es5/taro-picker-view-column-core_2.entry.js +1 -1
  303. package/dist/esm-es5/taro-progress-core.entry.js +1 -1
  304. package/dist/esm-es5/taro-pull-to-refresh-core.entry.js +1 -0
  305. package/dist/esm-es5/taro-radio-core_2.entry.js +1 -1
  306. package/dist/esm-es5/taro-rich-text-core.entry.js +1 -1
  307. package/dist/esm-es5/taro-root-portal-core.entry.js +1 -1
  308. package/dist/esm-es5/taro-rtc-room-core.entry.js +1 -1
  309. package/dist/esm-es5/taro-rtc-room-item-core.entry.js +1 -1
  310. package/dist/esm-es5/taro-scroll-view-core.entry.js +1 -1
  311. package/dist/esm-es5/taro-share-element-core.entry.js +1 -1
  312. package/dist/esm-es5/taro-slider-core.entry.js +1 -1
  313. package/dist/esm-es5/taro-slot-core.entry.js +1 -1
  314. package/dist/esm-es5/taro-snapshot-core.entry.js +1 -0
  315. package/dist/esm-es5/taro-sticky-header-core.entry.js +1 -1
  316. package/dist/esm-es5/taro-sticky-section-core.entry.js +1 -1
  317. package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -1
  318. package/dist/esm-es5/taro-switch-core.entry.js +1 -1
  319. package/dist/esm-es5/taro-tab-item-core.entry.js +1 -1
  320. package/dist/esm-es5/taro-tabbar.entry.js +1 -1
  321. package/dist/esm-es5/taro-tabs-core.entry.js +1 -1
  322. package/dist/esm-es5/taro-text-core.entry.js +1 -1
  323. package/dist/esm-es5/taro-textarea-core.entry.js +1 -1
  324. package/dist/esm-es5/taro-video-control_3.entry.js +1 -1
  325. package/dist/esm-es5/taro-view-core.entry.js +1 -1
  326. package/dist/esm-es5/taro-voip-room-core.entry.js +1 -1
  327. package/dist/esm-es5/taro-web-view-core.entry.js +1 -1
  328. package/dist/hydrate/index.d.ts +217 -0
  329. package/dist/hydrate/index.js +13054 -0
  330. package/dist/hydrate/package.json +6 -0
  331. package/dist/taro-components/p-0044961f.system.entry.js +1 -0
  332. package/dist/taro-components/p-010faa87.system.js +1 -0
  333. package/dist/taro-components/p-0132e803.entry.js +1 -0
  334. package/dist/taro-components/p-019124ae.system.entry.js +1 -0
  335. package/dist/taro-components/p-04f97133.system.entry.js +1 -0
  336. package/dist/taro-components/p-069ae782.system.entry.js +1 -0
  337. package/dist/taro-components/{p-2af69b72.entry.js → p-0d8a0733.entry.js} +1 -1
  338. package/dist/taro-components/p-0f95be56.entry.js +1 -0
  339. package/dist/taro-components/p-0fe4660a.entry.js +1 -0
  340. package/dist/taro-components/p-1087c51a.system.entry.js +1 -0
  341. package/dist/taro-components/p-11c0dc59.system.entry.js +1 -0
  342. package/dist/taro-components/p-12b967fd.entry.js +1 -0
  343. package/dist/taro-components/{p-43720011.entry.js → p-13bf0192.entry.js} +1 -1
  344. package/dist/taro-components/p-13e80cf7.entry.js +1 -0
  345. package/dist/taro-components/p-15c1ce79.entry.js +1 -0
  346. package/dist/taro-components/p-16705ca9.entry.js +1 -0
  347. package/dist/taro-components/{p-f420680c.system.entry.js → p-194ace03.system.entry.js} +1 -1
  348. package/dist/taro-components/p-19b04eb7.entry.js +1 -0
  349. package/dist/taro-components/{p-07302165.system.entry.js → p-19b993d8.system.entry.js} +1 -1
  350. package/dist/taro-components/p-1b1034dc.entry.js +1 -0
  351. package/dist/taro-components/p-22f6316e.entry.js +1 -0
  352. package/dist/taro-components/p-25636983.entry.js +1 -0
  353. package/dist/taro-components/p-28bc8a48.entry.js +1 -0
  354. package/dist/taro-components/p-2b70c348.system.js +2 -0
  355. package/dist/taro-components/p-2d382d0e.entry.js +1 -0
  356. package/dist/taro-components/p-2ebc3182.entry.js +1 -0
  357. package/dist/taro-components/p-2f8ebd28.system.entry.js +1 -0
  358. package/dist/taro-components/p-317c4cad.entry.js +1 -0
  359. package/dist/taro-components/{p-38ee526a.entry.js → p-342a2594.entry.js} +1 -1
  360. package/dist/taro-components/p-3430d520.system.entry.js +1 -0
  361. package/dist/taro-components/{p-f11c9c37.system.entry.js → p-36ea0ac1.system.entry.js} +1 -1
  362. package/dist/taro-components/p-370cc947.entry.js +1 -0
  363. package/dist/taro-components/p-378b504c.entry.js +1 -0
  364. package/dist/taro-components/{p-ebc7b6fc.entry.js → p-37bc198d.entry.js} +1 -1
  365. package/dist/taro-components/{p-bf0e0394.entry.js → p-39b3e34d.entry.js} +1 -1
  366. package/dist/taro-components/p-3a0a05fd.system.entry.js +1 -0
  367. package/dist/taro-components/p-3a3d40de.system.entry.js +1 -0
  368. package/dist/taro-components/p-3d423adc.entry.js +1 -0
  369. package/dist/taro-components/p-3eedb8d7.system.entry.js +1 -0
  370. package/dist/taro-components/p-43932446.entry.js +1 -0
  371. package/dist/taro-components/{p-ab726c20.system.entry.js → p-46ccb393.system.entry.js} +1 -1
  372. package/dist/taro-components/p-477f8fbd.system.js +1 -0
  373. package/dist/taro-components/p-4824cc94.entry.js +1 -0
  374. package/dist/taro-components/p-48a84765.entry.js +1 -0
  375. package/dist/taro-components/p-49e9b2ff.entry.js +1 -0
  376. package/dist/taro-components/p-4a748c0d.entry.js +1 -0
  377. package/dist/taro-components/{p-b5b30493.system.entry.js → p-4b5f75b9.system.entry.js} +1 -1
  378. package/dist/taro-components/p-4e63d3bd.entry.js +1 -0
  379. package/dist/taro-components/p-4fcb258a.entry.js +1 -0
  380. package/dist/taro-components/{p-9fe49bab.entry.js → p-4ffae31c.entry.js} +1 -1
  381. package/dist/taro-components/p-50b21f94.entry.js +1 -0
  382. package/dist/taro-components/p-518a9b73.entry.js +1 -0
  383. package/dist/taro-components/{p-085076c5.system.entry.js → p-52ad5213.system.entry.js} +1 -1
  384. package/dist/taro-components/p-54b24e2f.system.entry.js +1 -0
  385. package/dist/taro-components/{p-f534057e.system.entry.js → p-55934653.system.entry.js} +1 -1
  386. package/dist/taro-components/{p-0d7a705b.system.entry.js → p-562eace8.system.entry.js} +1 -1
  387. package/dist/taro-components/p-5893c3ed.js +1 -0
  388. package/dist/taro-components/p-5a78fbdf.system.entry.js +1 -0
  389. package/dist/taro-components/p-5b4de079.entry.js +1 -0
  390. package/dist/taro-components/p-5b86e66b.system.entry.js +1 -0
  391. package/dist/taro-components/p-5bfdb5f3.entry.js +1 -0
  392. package/dist/taro-components/{p-66b0b419.system.entry.js → p-5c0f97d3.system.entry.js} +1 -1
  393. package/dist/taro-components/{p-0fa96970.entry.js → p-5dbabb65.entry.js} +1 -1
  394. package/dist/taro-components/p-5f4c6ca5.entry.js +1 -0
  395. package/dist/taro-components/{p-9ac947ac.system.entry.js → p-618ee593.system.entry.js} +1 -1
  396. package/dist/taro-components/p-62df5526.entry.js +1 -0
  397. package/dist/taro-components/p-66029061.system.entry.js +1 -0
  398. package/dist/taro-components/p-69e70cd5.system.entry.js +1 -0
  399. package/dist/taro-components/{p-8201ee31.system.entry.js → p-6c06b440.system.entry.js} +1 -1
  400. package/dist/taro-components/p-6f1034a6.system.entry.js +1 -0
  401. package/dist/taro-components/p-6f3187bc.entry.js +1 -0
  402. package/dist/taro-components/p-6f8926e3.entry.js +1 -0
  403. package/dist/taro-components/p-756aa971.entry.js +1 -0
  404. package/dist/taro-components/p-7615d8a6.system.entry.js +1 -0
  405. package/dist/taro-components/p-77e030e9.system.entry.js +1 -0
  406. package/dist/taro-components/p-7b3ce3af.system.entry.js +1 -0
  407. package/dist/taro-components/p-7b80637e.system.entry.js +1 -0
  408. package/dist/taro-components/p-7e3f0837.entry.js +1 -0
  409. package/dist/taro-components/p-7f3d9184.entry.js +1 -0
  410. package/dist/taro-components/p-80228985.entry.js +1 -0
  411. package/dist/taro-components/{p-227e33fc.system.entry.js → p-80fa706c.system.entry.js} +1 -1
  412. package/dist/taro-components/{p-ebdd350f.system.entry.js → p-829157b1.system.entry.js} +1 -1
  413. package/dist/taro-components/p-82c5b9d3.entry.js +1 -0
  414. package/dist/taro-components/{p-5640e9f4.system.entry.js → p-82d52f00.system.entry.js} +1 -1
  415. package/dist/taro-components/p-8a6e93ed.entry.js +1 -0
  416. package/dist/taro-components/p-8b7e37c9.system.entry.js +1 -0
  417. package/dist/taro-components/p-8bde1f48.entry.js +1 -0
  418. package/dist/taro-components/p-8c3b906c.system.js +1 -0
  419. package/dist/taro-components/{p-6d4b7e5c.system.entry.js → p-90ee19f8.system.entry.js} +1 -1
  420. package/dist/taro-components/{p-fd7ff0f3.system.entry.js → p-923aa1c8.system.entry.js} +1 -1
  421. package/dist/taro-components/p-92b7b545.entry.js +1 -0
  422. package/dist/taro-components/{p-7e8e355b.system.entry.js → p-93b39a89.system.entry.js} +1 -1
  423. package/dist/taro-components/{p-fa0f6dab.system.entry.js → p-970a4199.system.entry.js} +1 -1
  424. package/dist/taro-components/p-97177863.system.entry.js +1 -0
  425. package/dist/taro-components/p-99440bcc.system.entry.js +1 -0
  426. package/dist/taro-components/p-9f3e0019.system.entry.js +1 -0
  427. package/dist/taro-components/p-a0f42e7f.entry.js +1 -0
  428. package/dist/taro-components/p-a2f848cc.entry.js +1 -0
  429. package/dist/taro-components/p-a6790f39.entry.js +1 -0
  430. package/dist/taro-components/p-a997cf7c.system.entry.js +1 -0
  431. package/dist/taro-components/p-aa11b00c.system.entry.js +1 -0
  432. package/dist/taro-components/p-adee7f1b.system.entry.js +1 -0
  433. package/dist/taro-components/p-ae99551a.entry.js +1 -0
  434. package/dist/taro-components/p-aed23034.system.entry.js +1 -0
  435. package/dist/taro-components/p-b259a558.system.entry.js +1 -0
  436. package/dist/taro-components/{p-30805bdf.entry.js → p-b3129dec.entry.js} +1 -1
  437. package/dist/taro-components/p-b3419d7f.system.entry.js +1 -0
  438. package/dist/taro-components/p-b43fa9b0.entry.js +1 -0
  439. package/dist/taro-components/p-b4707cdd.entry.js +1 -0
  440. package/dist/taro-components/p-b655e854.system.entry.js +1 -0
  441. package/dist/taro-components/{p-88d2b41b.system.entry.js → p-b66dfc82.system.entry.js} +1 -1
  442. package/dist/taro-components/p-ba241824.system.entry.js +1 -0
  443. package/dist/taro-components/p-baea6a63.entry.js +1 -0
  444. package/dist/taro-components/p-bdafd94c.system.entry.js +1 -0
  445. package/dist/taro-components/p-be68ae6e.system.entry.js +1 -0
  446. package/dist/taro-components/p-c0d93f74.entry.js +1 -0
  447. package/dist/taro-components/p-c0f16127.entry.js +1 -0
  448. package/dist/taro-components/p-c253be9f.entry.js +1 -0
  449. package/dist/taro-components/p-c2da52a5.entry.js +1 -0
  450. package/dist/taro-components/p-c58627f4.entry.js +1 -0
  451. package/dist/taro-components/p-c863ac7f.system.entry.js +1 -0
  452. package/dist/taro-components/p-cee51d71.system.entry.js +1 -0
  453. package/dist/taro-components/p-d12b6a84.system.entry.js +1 -0
  454. package/dist/taro-components/p-d184903b.entry.js +1 -0
  455. package/dist/taro-components/p-d1a095bd.system.entry.js +1 -0
  456. package/dist/taro-components/p-d29a59cd.entry.js +1 -0
  457. package/dist/taro-components/p-da4c4cad.entry.js +1 -0
  458. package/dist/taro-components/p-dbdb9de9.js +1 -0
  459. package/dist/taro-components/p-dbeadc04.system.entry.js +1 -0
  460. package/dist/taro-components/{p-b641e598.entry.js → p-dc366f18.entry.js} +1 -1
  461. package/dist/taro-components/p-dd7a128d.js +2 -0
  462. package/dist/taro-components/p-dde26531.entry.js +1 -0
  463. package/dist/taro-components/p-de1d495a.system.entry.js +1 -0
  464. package/dist/taro-components/p-e23769c4.entry.js +1 -0
  465. package/dist/taro-components/p-e2694a79.system.entry.js +1 -0
  466. package/dist/taro-components/p-e2a22cd1.entry.js +1 -0
  467. package/dist/taro-components/{p-898db637.system.entry.js → p-e41ed824.system.entry.js} +1 -1
  468. package/dist/taro-components/p-e5a80896.system.entry.js +1 -0
  469. package/dist/taro-components/p-e5b43c80.system.entry.js +1 -0
  470. package/dist/taro-components/{p-81f2ad70.system.entry.js → p-e6a2f1bd.system.entry.js} +1 -1
  471. package/dist/taro-components/p-e8753c5c.entry.js +1 -0
  472. package/dist/taro-components/{p-78e4805e.entry.js → p-ead6e57b.entry.js} +1 -1
  473. package/dist/taro-components/p-ec00e517.entry.js +1 -0
  474. package/dist/taro-components/p-ed081b3d.entry.js +1 -0
  475. package/dist/taro-components/{p-208e438c.system.entry.js → p-eda34d91.system.entry.js} +1 -1
  476. package/dist/taro-components/p-ee9d6467.system.entry.js +1 -0
  477. package/dist/taro-components/p-f0056aca.system.entry.js +1 -0
  478. package/dist/taro-components/p-f470ce9f.system.entry.js +1 -0
  479. package/dist/taro-components/p-f662c928.entry.js +1 -0
  480. package/dist/taro-components/p-f7198b67.system.entry.js +1 -0
  481. package/dist/taro-components/{p-473afc8e.system.entry.js → p-f782ee74.system.entry.js} +1 -1
  482. package/dist/taro-components/p-f94c0445.system.entry.js +1 -0
  483. package/dist/taro-components/p-f9a13a5c.entry.js +1 -0
  484. package/dist/taro-components/{p-0517f107.system.entry.js → p-fbb789a4.system.entry.js} +1 -1
  485. package/dist/taro-components/{p-b1d2b575.system.entry.js → p-fe1dd94f.system.entry.js} +1 -1
  486. package/dist/taro-components/p-fe8ee676.entry.js +1 -0
  487. package/dist/taro-components/p-ffaac078.system.entry.js +1 -0
  488. package/dist/taro-components/taro-components.css +1 -5
  489. package/dist/taro-components/taro-components.esm.js +1 -1
  490. package/dist/taro-components/taro-components.js +1 -1
  491. package/dist/types/components/canvas/canvas.d.ts +5 -2
  492. package/dist/types/components/picker-view/picker-view-column.d.ts +3 -3
  493. package/dist/types/components/picker-view/picker-view.d.ts +2 -0
  494. package/dist/types/components/scroll-view/scroll-view.d.ts +2 -0
  495. package/dist/types/components/snapshot/snapshot.d.ts +5 -0
  496. package/dist/types/components/swiper/swiper-item.d.ts +3 -0
  497. package/dist/types/components/swiper/swiper.d.ts +4 -3
  498. package/dist/types/components/switch/switch.d.ts +3 -3
  499. package/dist/types/components/tabbar/tabbar-item.d.ts +4 -4
  500. package/dist/types/components/tabbar/tabbar.d.ts +17 -16
  501. package/dist/types/components/textarea/textarea.d.ts +1 -0
  502. package/dist/types/components.d.ts +33 -15
  503. package/dist/types/utils/helper.d.ts +1 -0
  504. package/dist/types/utils/index.d.ts +2 -0
  505. package/lib/react/component-lib/reactify-wc.js +1 -1
  506. package/lib/react/component-lib/reactify-wc.js.map +1 -1
  507. package/lib/react/components.d.ts +3 -2
  508. package/lib/react/components.js +4 -3
  509. package/lib/react/components.js.map +1 -1
  510. package/lib/react/index.js +1 -1
  511. package/lib/react/react-component-lib/createComponent.js +3 -2
  512. package/lib/react/react-component-lib/createComponent.js.map +1 -1
  513. package/lib/react/react-component-lib/createOverlayComponent.js +1 -1
  514. package/lib/react/react-component-lib/createOverlayComponent.js.map +1 -1
  515. package/lib/react/react-component-lib/utils/attachProps.d.ts +16 -7
  516. package/lib/react/react-component-lib/utils/attachProps.js +104 -9
  517. package/lib/react/react-component-lib/utils/attachProps.js.map +1 -1
  518. package/lib/react/react-component-lib/utils/index.js +1 -1
  519. package/lib/vue2/components.d.ts +6 -2
  520. package/lib/vue2/components.js +10 -4
  521. package/lib/vue2/components.js.map +1 -1
  522. package/lib/vue2/index.js +1 -1
  523. package/lib/vue2/vue-component-lib/utils.js.map +1 -1
  524. package/lib/vue3/components.d.ts +6 -3
  525. package/lib/vue3/components.js +8 -4
  526. package/lib/vue3/components.js.map +1 -1
  527. package/lib/vue3/index.js +1 -1
  528. package/lib/vue3/vue-component-lib/utils.js.map +1 -1
  529. package/package.json +19 -21
  530. package/types/Audio.d.ts +11 -11
  531. package/types/Button.d.ts +44 -13
  532. package/types/Camera.d.ts +1 -1
  533. package/types/Canvas.d.ts +14 -14
  534. package/types/ChannelVideo.d.ts +2 -2
  535. package/types/Checkbox.d.ts +12 -7
  536. package/types/CheckboxGroup.d.ts +3 -3
  537. package/types/CoverImage.d.ts +4 -4
  538. package/types/CoverView.d.ts +1 -1
  539. package/types/CustomWrapper.d.ts +1 -1
  540. package/types/Form.d.ts +4 -4
  541. package/types/GridView.d.ts +1 -1
  542. package/types/Icon.d.ts +5 -5
  543. package/types/Image.d.ts +9 -8
  544. package/types/Input.d.ts +28 -23
  545. package/types/Label.d.ts +2 -2
  546. package/types/ListView.d.ts +1 -1
  547. package/types/LivePlayer.d.ts +11 -4
  548. package/types/Map.d.ts +44 -3
  549. package/types/MovableArea.d.ts +2 -2
  550. package/types/MovableView.d.ts +18 -18
  551. package/types/NativeSlot.d.ts +5 -3
  552. package/types/NavigationBar.d.ts +7 -1
  553. package/types/Navigator.d.ts +8 -8
  554. package/types/PageMeta.d.ts +46 -0
  555. package/types/Picker.d.ts +48 -27
  556. package/types/PickerView.d.ts +6 -1
  557. package/types/PickerViewColumn.d.ts +1 -1
  558. package/types/Progress.d.ts +13 -13
  559. package/types/Radio.d.ts +12 -7
  560. package/types/RadioGroup.d.ts +3 -3
  561. package/types/RichText.d.ts +5 -5
  562. package/types/ScrollView.d.ts +93 -15
  563. package/types/ShareElement.d.ts +2 -1
  564. package/types/Slider.d.ts +20 -15
  565. package/types/Slot.d.ts +5 -3
  566. package/types/Snapshot.d.ts +16 -0
  567. package/types/StickyHeader.d.ts +1 -1
  568. package/types/StickySection.d.ts +1 -1
  569. package/types/Swiper.d.ts +19 -17
  570. package/types/SwiperItem.d.ts +7 -2
  571. package/types/Switch.d.ts +12 -7
  572. package/types/Text.d.ts +5 -5
  573. package/types/Textarea.d.ts +21 -16
  574. package/types/Video.d.ts +45 -36
  575. package/types/View.d.ts +4 -4
  576. package/types/WebView.d.ts +4 -4
  577. package/types/common.d.ts +8 -2
  578. package/types/index.d.ts +8 -5
  579. package/types/index.vue3.d.ts +21 -7
  580. package/dist/cjs/helper-db78e01a.js +0 -19
  581. package/dist/cjs/hls-00fec546.js +0 -25673
  582. package/dist/cjs/intersection-observer-dc4cfcef.js +0 -728
  583. package/dist/collection/components/input/index.css +0 -12
  584. package/dist/components/hls.js +0 -25671
  585. package/dist/components/intersection-observer.js +0 -726
  586. package/dist/esm/helper-3d0ecf0f.js +0 -13
  587. package/dist/esm/hls-4018c7ea.js +0 -25671
  588. package/dist/esm/intersection-observer-8e4c7135.js +0 -726
  589. package/dist/esm-es5/helper-3d0ecf0f.js +0 -1
  590. package/dist/esm-es5/hls-4018c7ea.js +0 -1
  591. package/dist/esm-es5/index-980f930f.js +0 -2
  592. package/dist/esm-es5/index-d1b03e47.js +0 -1
  593. package/dist/esm-es5/intersection-observer-8e4c7135.js +0 -1
  594. package/dist/esm-es5/taro-pull-to-refresh.entry.js +0 -1
  595. package/dist/taro-components/p-0114a2e4.entry.js +0 -1
  596. package/dist/taro-components/p-01e163f8.system.entry.js +0 -1
  597. package/dist/taro-components/p-052da7f0.system.entry.js +0 -1
  598. package/dist/taro-components/p-0fe855c6.entry.js +0 -1
  599. package/dist/taro-components/p-117633e9.system.entry.js +0 -1
  600. package/dist/taro-components/p-137531b6.entry.js +0 -1
  601. package/dist/taro-components/p-139e6251.entry.js +0 -1
  602. package/dist/taro-components/p-1404c119.entry.js +0 -1
  603. package/dist/taro-components/p-15e45ed6.system.js +0 -1
  604. package/dist/taro-components/p-1974e52e.system.entry.js +0 -1
  605. package/dist/taro-components/p-1991cc1a.system.entry.js +0 -1
  606. package/dist/taro-components/p-1b3d41d3.system.entry.js +0 -1
  607. package/dist/taro-components/p-1c4e3899.entry.js +0 -1
  608. package/dist/taro-components/p-1e739fcb.system.entry.js +0 -1
  609. package/dist/taro-components/p-1f39576a.system.entry.js +0 -1
  610. package/dist/taro-components/p-204bd245.entry.js +0 -1
  611. package/dist/taro-components/p-2a071adf.system.entry.js +0 -1
  612. package/dist/taro-components/p-2d1b4dcc.system.entry.js +0 -1
  613. package/dist/taro-components/p-2de2a3fd.system.entry.js +0 -1
  614. package/dist/taro-components/p-3094bda6.system.entry.js +0 -1
  615. package/dist/taro-components/p-355e4dbc.entry.js +0 -1
  616. package/dist/taro-components/p-357ba712.system.entry.js +0 -1
  617. package/dist/taro-components/p-3b1d2d37.system.js +0 -1
  618. package/dist/taro-components/p-3d8c9dfb.entry.js +0 -1
  619. package/dist/taro-components/p-407ca16e.entry.js +0 -1
  620. package/dist/taro-components/p-416cc4dd.system.entry.js +0 -1
  621. package/dist/taro-components/p-425c209a.entry.js +0 -1
  622. package/dist/taro-components/p-43efbf30.js +0 -1
  623. package/dist/taro-components/p-469ee343.entry.js +0 -1
  624. package/dist/taro-components/p-46b8f89b.entry.js +0 -1
  625. package/dist/taro-components/p-478deb81.entry.js +0 -1
  626. package/dist/taro-components/p-486d0ec7.entry.js +0 -1
  627. package/dist/taro-components/p-50902cd0.entry.js +0 -1
  628. package/dist/taro-components/p-53ef8a6c.system.entry.js +0 -1
  629. package/dist/taro-components/p-5613907c.entry.js +0 -1
  630. package/dist/taro-components/p-57b9943c.system.entry.js +0 -1
  631. package/dist/taro-components/p-5c1e6b1c.system.entry.js +0 -1
  632. package/dist/taro-components/p-5dab46cd.system.entry.js +0 -1
  633. package/dist/taro-components/p-6127b1b6.system.entry.js +0 -1
  634. package/dist/taro-components/p-657cb6e4.system.entry.js +0 -1
  635. package/dist/taro-components/p-66f7eea6.entry.js +0 -1
  636. package/dist/taro-components/p-69cd1f2a.system.entry.js +0 -1
  637. package/dist/taro-components/p-6a96da58.js +0 -1
  638. package/dist/taro-components/p-6cde180b.entry.js +0 -1
  639. package/dist/taro-components/p-6db97374.entry.js +0 -1
  640. package/dist/taro-components/p-6e115968.entry.js +0 -1
  641. package/dist/taro-components/p-6f84e936.entry.js +0 -1
  642. package/dist/taro-components/p-71b54f06.entry.js +0 -1
  643. package/dist/taro-components/p-72b118b0.entry.js +0 -1
  644. package/dist/taro-components/p-72f327e1.js +0 -1
  645. package/dist/taro-components/p-79c3fde3.system.entry.js +0 -1
  646. package/dist/taro-components/p-7b3b8057.entry.js +0 -1
  647. package/dist/taro-components/p-7b68dee8.entry.js +0 -1
  648. package/dist/taro-components/p-7d635413.entry.js +0 -1
  649. package/dist/taro-components/p-7e6b54cb.system.js +0 -2
  650. package/dist/taro-components/p-7e998213.system.entry.js +0 -1
  651. package/dist/taro-components/p-801f09b8.entry.js +0 -1
  652. package/dist/taro-components/p-85a7daeb.system.entry.js +0 -1
  653. package/dist/taro-components/p-86280254.entry.js +0 -1
  654. package/dist/taro-components/p-8c0b740e.entry.js +0 -1
  655. package/dist/taro-components/p-90333d0a.system.entry.js +0 -1
  656. package/dist/taro-components/p-9046110a.entry.js +0 -1
  657. package/dist/taro-components/p-904df510.entry.js +0 -1
  658. package/dist/taro-components/p-907d9d01.system.entry.js +0 -1
  659. package/dist/taro-components/p-9137dcab.js +0 -2
  660. package/dist/taro-components/p-962f28cb.entry.js +0 -1
  661. package/dist/taro-components/p-968b7c1d.entry.js +0 -1
  662. package/dist/taro-components/p-982bb5bf.entry.js +0 -1
  663. package/dist/taro-components/p-98f9f50f.system.entry.js +0 -1
  664. package/dist/taro-components/p-9a5fbb2e.entry.js +0 -1
  665. package/dist/taro-components/p-9aeb7995.entry.js +0 -1
  666. package/dist/taro-components/p-9b6550fc.entry.js +0 -1
  667. package/dist/taro-components/p-9d9ede17.system.entry.js +0 -1
  668. package/dist/taro-components/p-9edea30f.system.entry.js +0 -1
  669. package/dist/taro-components/p-a1763153.entry.js +0 -1
  670. package/dist/taro-components/p-a20ecd3b.entry.js +0 -1
  671. package/dist/taro-components/p-a20fed0a.entry.js +0 -1
  672. package/dist/taro-components/p-a3a1a779.entry.js +0 -1
  673. package/dist/taro-components/p-a4882902.system.entry.js +0 -1
  674. package/dist/taro-components/p-a8565231.entry.js +0 -1
  675. package/dist/taro-components/p-a8925584.system.entry.js +0 -1
  676. package/dist/taro-components/p-a8e7cf87.entry.js +0 -1
  677. package/dist/taro-components/p-a940a65b.entry.js +0 -1
  678. package/dist/taro-components/p-af3fa859.system.entry.js +0 -1
  679. package/dist/taro-components/p-af8e521a.entry.js +0 -1
  680. package/dist/taro-components/p-af9ef8b4.entry.js +0 -1
  681. package/dist/taro-components/p-afb3895c.system.entry.js +0 -1
  682. package/dist/taro-components/p-b027181b.entry.js +0 -1
  683. package/dist/taro-components/p-b235e43c.entry.js +0 -1
  684. package/dist/taro-components/p-b4ea72ea.entry.js +0 -1
  685. package/dist/taro-components/p-b4f3d0ab.entry.js +0 -1
  686. package/dist/taro-components/p-b6d4634f.system.entry.js +0 -1
  687. package/dist/taro-components/p-ba3b2aa5.system.entry.js +0 -1
  688. package/dist/taro-components/p-bcf80126.system.entry.js +0 -1
  689. package/dist/taro-components/p-bd5177d3.system.js +0 -1
  690. package/dist/taro-components/p-bdc30301.entry.js +0 -1
  691. package/dist/taro-components/p-c1073ed6.system.entry.js +0 -1
  692. package/dist/taro-components/p-c11a42e0.entry.js +0 -1
  693. package/dist/taro-components/p-c39a46ca.system.entry.js +0 -1
  694. package/dist/taro-components/p-c4b8851b.entry.js +0 -1
  695. package/dist/taro-components/p-cc164fa3.entry.js +0 -1
  696. package/dist/taro-components/p-cc70bb7a.system.entry.js +0 -1
  697. package/dist/taro-components/p-ce33f1f3.entry.js +0 -1
  698. package/dist/taro-components/p-d34a6c04.entry.js +0 -1
  699. package/dist/taro-components/p-d3c7f87d.js +0 -1
  700. package/dist/taro-components/p-da239b8b.system.entry.js +0 -1
  701. package/dist/taro-components/p-dab28e1f.system.entry.js +0 -1
  702. package/dist/taro-components/p-e09451c5.system.entry.js +0 -1
  703. package/dist/taro-components/p-e33f3592.entry.js +0 -1
  704. package/dist/taro-components/p-e3480c4c.entry.js +0 -1
  705. package/dist/taro-components/p-e53508c1.system.entry.js +0 -1
  706. package/dist/taro-components/p-e6481671.system.entry.js +0 -1
  707. package/dist/taro-components/p-e67755f0.system.entry.js +0 -1
  708. package/dist/taro-components/p-e78775ce.system.js +0 -1
  709. package/dist/taro-components/p-eaa370a9.system.entry.js +0 -1
  710. package/dist/taro-components/p-ed331c06.system.js +0 -1
  711. package/dist/taro-components/p-f02b6f70.entry.js +0 -1
  712. package/dist/taro-components/p-f0340edf.entry.js +0 -1
  713. package/dist/taro-components/p-f533bc2f.entry.js +0 -1
  714. package/dist/taro-components/p-f6f6a996.system.entry.js +0 -1
  715. package/dist/taro-components/p-f7927285.system.entry.js +0 -1
  716. package/dist/taro-components/p-f7b32c6b.entry.js +0 -1
  717. package/dist/taro-components/p-fa6c022a.system.entry.js +0 -1
  718. package/dist/taro-components/p-fb983850.entry.js +0 -1
  719. package/lib/react/node_modules/.pnpm/registry.npmjs.org_tslib@2.5.0/node_modules/tslib/tslib.es6.js +0 -296
  720. package/lib/react/node_modules/.pnpm/registry.npmjs.org_tslib@2.5.0/node_modules/tslib/tslib.es6.js.map +0 -1
package/types/Canvas.d.ts CHANGED
@@ -6,7 +6,7 @@ interface CanvasProps extends StandardProps<any, CanvasTouchEvent> {
6
6
  */
7
7
  type?: string
8
8
  /** canvas 组件的唯一标识符,若指定了 type 则无需再指定该属性
9
- * @supported weapp, swan, tt, qq, jd, h5
9
+ * @supported weapp, swan, tt, qq, jd, h5, harmony_hybrid
10
10
  */
11
11
  canvasId?: string
12
12
  /** 当在 canvas 中移动时且有绑定手势事件时,禁止屏幕滚动以及下拉刷新
@@ -14,41 +14,41 @@ interface CanvasProps extends StandardProps<any, CanvasTouchEvent> {
14
14
  * @supported weapp, alipay, swan, qq, jd
15
15
  */
16
16
  disableScroll?: boolean
17
- /** 用于透传 `WebComponents` 上的属性到内部 H5 标签上
18
- * @supported h5
19
- */
20
- nativeProps?: Record<string, unknown>
21
17
  /** 组件唯一标识符。
22
18
  * 注意:同一页面中的 id 不可重复。
23
- * @supported alipay
19
+ * @supported alipay, h5, harmony_hybrid
24
20
  */
25
21
  id?: string
26
22
  /**
27
- * @supported alipay
23
+ * @supported alipay, h5, harmony_hybrid
28
24
  */
29
25
  width?: string
30
26
  /**
31
- * @supported alipay
27
+ * @supported alipay, h5, harmony_hybrid
32
28
  */
33
29
  height?: string
30
+ /** 用于透传 `WebComponents` 上的属性到内部 H5 标签上
31
+ * @supported h5, harmony_hybrid
32
+ */
33
+ nativeProps?: Record<string, unknown>
34
34
  /** 手指触摸动作开始
35
- * @supported weapp, alipay, swan, tt, qq, jd
35
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, harmony_hybrid
36
36
  */
37
37
  onTouchStart?: CanvasTouchEventFunction
38
38
  /** 手指触摸后移动
39
- * @supported weapp, alipay, swan, tt, qq, jd
39
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, harmony_hybrid
40
40
  */
41
41
  onTouchMove?: CanvasTouchEventFunction
42
42
  /** 手指触摸动作结束
43
- * @supported weapp, alipay, swan, tt, qq, jd
43
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, harmony_hybrid
44
44
  */
45
45
  onTouchEnd?: CanvasTouchEventFunction
46
46
  /** 手指触摸动作被打断,如来电提醒,弹窗
47
- * @supported weapp, alipay, swan, tt, qq, jd
47
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, harmony_hybrid
48
48
  */
49
49
  onTouchCancel?: CanvasTouchEventFunction
50
50
  /** 手指长按 500ms 之后触发,触发了长按事件后进行移动不会触发屏幕的滚动
51
- * @supported weapp, alipay, swan, qq, jd, h5
51
+ * @supported weapp, alipay, swan, qq, jd, h5, harmony_hybrid
52
52
  */
53
53
  onLongTap?: CommonEventFunction
54
54
  /** 当发生错误时触发 error 事件,detail = {errMsg: 'something wrong'}
@@ -73,7 +73,7 @@ declare namespace CanvasProps {
73
73
  *
74
74
  * `<Canvas />` 组件的 RN 版本尚未实现。
75
75
  * @classification canvas
76
- * @supported weapp, alipay, swan, tt, qq, jd, h5
76
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, harmony_hybrid
77
77
  * @example_react
78
78
  * ```tsx
79
79
  * class App extends Components {
@@ -1,7 +1,7 @@
1
1
  import { ComponentType } from 'react'
2
2
  import { StandardProps, CommonEventFunction } from './common'
3
3
  interface ChannelVideoProps extends StandardProps {
4
- /** 视频 feedId
4
+ /** 仅视频号视频与小程序同主体时生效。若内嵌非同主体视频,请使用 feed-token。
5
5
  * @supported weapp
6
6
  */
7
7
  feedId: string
@@ -29,7 +29,7 @@ interface ChannelVideoProps extends StandardProps {
29
29
  * @default false
30
30
  */
31
31
  autoplay?: boolean
32
- /** 仅内嵌小程序非同主体视频号视频时使用,获取方式参考本指引。
32
+ /** 仅内嵌小程序非同主体视频号视频时使用,获取方式参考[本指引](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/channels-activity.html#feed-token)。
33
33
  * @supported weapp
34
34
  */
35
35
  feedToken?: string
@@ -2,25 +2,30 @@ import { ComponentType } from 'react'
2
2
  import { StandardProps, CommonEventFunction, FormItemProps } from './common'
3
3
  interface CheckboxProps extends StandardProps {
4
4
  /** `<Checkbox/>`标识,选中时触发`<CheckboxGroup/>`的 change 事件,并携带 `<Checkbox/>` 的 value
5
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
5
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
6
6
  */
7
7
  value: string
8
8
  /** 是否禁用
9
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
9
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
10
10
  * @default false
11
11
  */
12
12
  disabled?: boolean
13
13
  /** 当前是否选中,可用来设置默认选中
14
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
14
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
15
15
  * @default false
16
16
  */
17
17
  checked?: boolean
18
18
  /** checkbox的颜色,同 css 的 color
19
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
19
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
20
20
  */
21
21
  color?: string
22
+ /**
23
+ * Checkbox 的名字
24
+ * @supported h5, harmony, harmony_hybrid
25
+ */
26
+ name?: string
22
27
  /** 用于透传 `WebComponents` 上的属性到内部 H5 标签上
23
- * @supported h5
28
+ * @supported h5, harmony_hybrid
24
29
  */
25
30
  nativeProps?: Record<string, unknown>
26
31
  /** 无障碍访问,(属性)元素的额外描述
@@ -28,7 +33,7 @@ interface CheckboxProps extends StandardProps {
28
33
  */
29
34
  ariaLabel?: string
30
35
  /** 选中项发生变化时触发 change 事件,小程序无此 API
31
- * @supported alipay, h5, rn
36
+ * @supported alipay, h5, rn, harmony, harmony_hybrid
32
37
  */
33
38
  onChange?: CommonEventFunction<{
34
39
  value: string[]
@@ -36,7 +41,7 @@ interface CheckboxProps extends StandardProps {
36
41
  }
37
42
  /** 多选项目
38
43
  * @classification forms
39
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
44
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
40
45
  * @example_react
41
46
  * ```tsx
42
47
  * export default class PageCheckbox extends Component {
@@ -2,11 +2,11 @@ import { ComponentType } from 'react'
2
2
  import { StandardProps, CommonEventFunction, FormItemProps } from './common'
3
3
  interface CheckboxGroupProps extends StandardProps, FormItemProps {
4
4
  /** 表单组件中加上 name 来作为 key
5
- * @supported alipay, tt, h5
5
+ * @supported alipay, tt, h5, harmony_hybrid
6
6
  */
7
7
  name?: string
8
8
  /** `<CheckboxGroup/>` 中选中项发生改变是触发 change 事件
9
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
9
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
10
10
  */
11
11
  onChange?: CommonEventFunction<{
12
12
  value: string[]
@@ -14,7 +14,7 @@ interface CheckboxGroupProps extends StandardProps, FormItemProps {
14
14
  }
15
15
  /** 多项选择器,内部由多个checkbox组成
16
16
  * @classification forms
17
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
17
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
18
18
  * @example
19
19
  * ```tsx
20
20
  * export default class PageCheckbox extends Component {
@@ -2,7 +2,7 @@ import { ComponentType } from 'react'
2
2
  import { StandardProps, CommonEventFunction } from './common'
3
3
  interface CoverImageProps extends StandardProps {
4
4
  /** 图标路径,支持临时路径、网络地址、云文件ID。暂不支持base64格式。
5
- * @supported weapp, alipay, swan, qq, jd, h5
5
+ * @supported weapp, alipay, swan, qq, jd, h5, harmony_hybrid
6
6
  */
7
7
  src: string
8
8
  /** 格式固定为 https://servicewechat.com/{appid}/{version}/page-frame.html,其中 {appid} 为小程序的 appid,{version} 为小程序的版本号,版本号为 0 表示为开发版、体验版以及审核版本,版本号为 devtools 表示为开发者工具,其余为正式版本;
@@ -34,11 +34,11 @@ interface CoverImageProps extends StandardProps {
34
34
  */
35
35
  ariaLabel?: string
36
36
  /** 图片加载成功时触发
37
- * @supported weapp, swan, qq, jd, h5
37
+ * @supported weapp, swan, qq, jd, h5, harmony_hybrid
38
38
  */
39
39
  onLoad?: CommonEventFunction
40
40
  /** 图片加载失败时触发
41
- * @supported weapp, swan, qq, jd, h5
41
+ * @supported weapp, swan, qq, jd, h5, harmony_hybrid
42
42
  */
43
43
  onError?: CommonEventFunction
44
44
  /** 点击事件回调。
@@ -48,7 +48,7 @@ interface CoverImageProps extends StandardProps {
48
48
  }
49
49
  /** 覆盖在原生组件之上的图片视图。可覆盖的原生组件同cover-view,支持嵌套在cover-view里。
50
50
  * @classification viewContainer
51
- * @supported weapp, alipay, swan, qq, jd, h5, harmony
51
+ * @supported weapp, alipay, swan, qq, jd, h5, harmony_hybrid
52
52
  * @example_react
53
53
  * ```tsx
54
54
  * // js
@@ -117,7 +117,7 @@ interface CoverViewProps extends ViewProps {
117
117
  }
118
118
  /** 覆盖在原生组件之上的文本视图。可覆盖的原生组件包括 map、video、canvas、camera、live-player、live-pusher 只支持嵌套 cover-view、cover-image,可在 cover-view 中使用 button。
119
119
  * @classification viewContainer
120
- * @supported weapp, alipay, swan, qq, jd, h5
120
+ * @supported weapp, alipay, swan, qq, jd, h5, harmony_hybrid
121
121
  * @example_react
122
122
  * ```tsx
123
123
  * // js
@@ -7,7 +7,7 @@ interface CustomWrapperProps extends StandardProps {
7
7
  /** custom-wrapper 自定义组件包裹器
8
8
  * 当数据更新层级较深时,可用此组件将需要更新的区域包裹起来,这样更新层级将大大减少
9
9
  * @classification viewContainer
10
- * @supported weapp, swan, alipay, tt, jd, qq, h5
10
+ * @supported weapp, swan, alipay, tt, jd, qq, h5, harmony_hybrid
11
11
  * @example
12
12
  * ```tsx
13
13
  * import { Component } from 'react'
package/types/Form.d.ts CHANGED
@@ -3,7 +3,7 @@ import { StandardProps, CommonEventFunction } from './common'
3
3
  interface FormProps extends StandardProps {
4
4
  /** 是否返回 `formId` 用于发送模板消息。
5
5
  * @default false
6
- * @supported weapp, alipay, swan, qq, jd, h5
6
+ * @supported weapp, alipay, swan, qq, jd, h5, harmony_hybrid
7
7
  */
8
8
  reportSubmit?: boolean
9
9
  /** 等待一段时间(毫秒数)以确认 `formId` 是否生效。
@@ -43,11 +43,11 @@ interface FormProps extends StandardProps {
43
43
  */
44
44
  clueComponentId?: string
45
45
  /** 携带 form 中的数据触发 submit 事件
46
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
46
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
47
47
  */
48
48
  onSubmit?: CommonEventFunction<FormProps.onSubmitEventDetail>
49
49
  /** 表单重置时会触发 reset 事件
50
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
50
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
51
51
  */
52
52
  onReset?: CommonEventFunction
53
53
  }
@@ -69,7 +69,7 @@ declare namespace FormProps {
69
69
  *
70
70
  * 当点击 form 表单中 form-type 为 submit 的 button 组件时,会将表单组件中的 value 值进行提交,需要在表单组件中加上 name 来作为 key。
71
71
  * @classification forms
72
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
72
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
73
73
  * @example_react
74
74
  * ```tsx
75
75
  * class App extends Component {
@@ -29,7 +29,7 @@ interface GridViewProps extends StandardProps {
29
29
  }
30
30
  /**
31
31
  * 网格布局容器,仅支持作为 scroll-view 自定义模式下的直接子节点或 sticky-section 组件直接子节点。仅 Skyline 支持。
32
- * @classification viewContainer
32
+ * @classification skyline
33
33
  * @supported weapp
34
34
  * @see https://developers.weixin.qq.com/miniprogram/dev/component/grid-view.html
35
35
  */
package/types/Icon.d.ts CHANGED
@@ -2,16 +2,16 @@ import { ComponentType } from 'react'
2
2
  import { StandardProps } from './common'
3
3
  interface IconProps extends StandardProps {
4
4
  /** icon 的类型
5
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
5
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
6
6
  */
7
7
  type: keyof IconProps.TIconType
8
8
  /** icon 的大小,单位px
9
9
  * @default 23
10
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
10
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
11
11
  */
12
- size?: string
12
+ size?: number
13
13
  /** icon 的颜色,同 css 的 color
14
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
14
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
15
15
  */
16
16
  color?: string
17
17
  /** 无障碍访问,(属性)元素的额外描述
@@ -48,7 +48,7 @@ declare namespace IconProps {
48
48
  }
49
49
  /** 图标。组件属性的长度单位默认为 px
50
50
  * @classification base
51
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
51
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
52
52
  * @example_react
53
53
  * ```tsx
54
54
  * export default class PageView extends Component {
package/types/Image.d.ts CHANGED
@@ -2,13 +2,14 @@ import { ComponentType, ImgHTMLAttributes } from 'react'
2
2
  import { StandardProps, CommonEventFunction } from './common'
3
3
  interface ImageProps extends StandardProps {
4
4
  /** 图片资源地址
5
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
5
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
6
6
  */
7
7
  src: string
8
8
  /** 图片裁剪、缩放的模式
9
9
  * @default "scaleToFill"
10
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
10
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
11
11
  * @rn 部分支持 scaleToFill, aspectFit, aspectFill, widthFix
12
+ * @harmony 部分支持 scaleToFill, aspectFit, aspectFill, widthFix, heightFix
12
13
  */
13
14
  mode?: keyof ImageProps.Mode
14
15
  /** 默认不解析 webP 格式,只支持网络资源
@@ -23,7 +24,7 @@ interface ImageProps extends StandardProps {
23
24
  svg?: boolean
24
25
  /** 图片懒加载。只针对 page 与 scroll-view 下的 image 有效
25
26
  * @default false
26
- * @supported weapp, alipay, swan, tt, qq, h5
27
+ * @supported weapp, alipay, swan, tt, qq, h5, harmony_hybrid
27
28
  */
28
29
  lazyLoad?: boolean
29
30
  /** 开启长按图片显示识别小程序码菜单
@@ -33,11 +34,11 @@ interface ImageProps extends StandardProps {
33
34
  showMenuByLongpress?: boolean
34
35
  /**
35
36
  * 为 img 标签额外增加的属性
36
- * @supported h5
37
+ * @supported h5, harmony_hybrid
37
38
  */
38
39
  imgProps?: ImgHTMLAttributes<HTMLImageElement>
39
40
  /** 用于透传 `WebComponents` 上的属性到内部 H5 标签上
40
- * @supported h5
41
+ * @supported h5, harmony_hybrid
41
42
  */
42
43
  nativeProps?: Record<string, unknown>
43
44
  /** 默认图片地址,若设置默认图片地址,会先显示默认图片,等 src 对应的图片加载成功后,再渲染对应的图片。
@@ -66,11 +67,11 @@ interface ImageProps extends StandardProps {
66
67
  */
67
68
  fadeIn?: boolean
68
69
  /** 当错误发生时,发布到 AppService 的事件名,事件对象
69
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
70
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
70
71
  */
71
72
  onError?: CommonEventFunction<ImageProps.onErrorEventDetail>
72
73
  /** 当图片载入完毕时,发布到 AppService 的事件名,事件对象
73
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
74
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
74
75
  */
75
76
  onLoad?: CommonEventFunction<ImageProps.onLoadEventDetail>
76
77
  /** 点击图片时触发。
@@ -129,7 +130,7 @@ declare namespace ImageProps {
129
130
  *
130
131
  * **Note:** 为实现小程序的 `mode` 特性,在 H5 组件中使用一个 `div` 容器来对内部的 `img` 进行展示区域的裁剪,因此请勿使用元素选择器来重置 `img` 的样式!
131
132
  * @classification media
132
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
133
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
133
134
  * @example_react
134
135
  * ```tsx
135
136
  * export default class PageView extends Component {
package/types/Input.d.ts CHANGED
@@ -2,25 +2,30 @@ import { ComponentType } from 'react'
2
2
  import { StandardProps, CommonEventFunction, FormItemProps } from './common'
3
3
  interface InputProps extends StandardProps, FormItemProps {
4
4
  /** 输入框的初始内容
5
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
5
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
6
6
  */
7
7
  value?: string
8
+ /** 设置 React 非受控输入框的初始内容
9
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
10
+ * @unique
11
+ */
12
+ defaultValue?: string
8
13
  /** input 的类型
9
14
  * @default "text"
10
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
15
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
11
16
  */
12
17
  type?: keyof InputProps.Type
13
18
  /** 是否是密码类型
14
19
  * @default false
15
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
20
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
16
21
  */
17
22
  password?: boolean
18
23
  /** 输入框为空时占位符
19
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
24
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
20
25
  */
21
26
  placeholder?: string
22
27
  /** 指定 placeholder 的样式
23
- * @supported weapp, alipay, swan, tt, qq, jd, rn
28
+ * @supported weapp, alipay, swan, tt, qq, jd, rn, harmony
24
29
  */
25
30
  placeholderStyle?: string
26
31
  /** 指定 placeholder 的样式类
@@ -29,17 +34,17 @@ interface InputProps extends StandardProps, FormItemProps {
29
34
  */
30
35
  placeholderClass?: string
31
36
  /** 指定 placeholder 的文本颜色
32
- * @supported rn
37
+ * @supported rn, harmony
33
38
  */
34
39
  placeholderTextColor?: string
35
40
  /** 是否禁用
36
41
  * @default false
37
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
42
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
38
43
  */
39
44
  disabled?: boolean
40
45
  /** 最大输入长度,设置为 -1 的时候不限制最大长度
41
46
  * @default 140
42
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
47
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
43
48
  */
44
49
  maxlength?: number
45
50
  /** 指定光标与键盘的距离,单位 px 。取 input 距离底部的距离和 cursor-spacing 指定的距离的最小值作为光标与键盘的距离
@@ -50,18 +55,18 @@ interface InputProps extends StandardProps, FormItemProps {
50
55
  /** (即将废弃,请直接使用 focus )自动聚焦,拉起键盘
51
56
  * @default false
52
57
  * @deprecated
53
- * @supported weapp, qq, jd, h5
58
+ * @supported weapp, qq, jd, h5, harmony_hybrid
54
59
  */
55
60
  autoFocus?: boolean
56
61
  /** 获取焦点
57
62
  * @default false
58
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
63
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
59
64
  */
60
65
  focus?: boolean
61
66
  /** 设置键盘右下角按钮的文字,仅在type='text'时生效
62
67
  * @alipay confirm-type 与 enableNative 属性冲突,若希望 confirm-type 生效,enableNative 不能设定为 false,而且不能设定 always-system
63
68
  * @default done
64
- * @supported weapp, alipay, swan, tt, qq, jd, rn
69
+ * @supported weapp, alipay, swan, tt, qq, jd, rn, harmony
65
70
  */
66
71
  confirmType?: keyof InputProps.ConfirmType
67
72
  /** 点击键盘右下角按钮时是否保持键盘不收起
@@ -70,7 +75,7 @@ interface InputProps extends StandardProps, FormItemProps {
70
75
  */
71
76
  confirmHold?: boolean
72
77
  /** 指定focus时的光标位置
73
- * @supported weapp, alipay, swan, tt, qq, jd, rn
78
+ * @supported weapp, alipay, swan, tt, qq, jd, rn, harmony
74
79
  */
75
80
  cursor?: number
76
81
  /** 光标起始位置,自动聚集时有效,需与selection-end搭配使用
@@ -85,7 +90,7 @@ interface InputProps extends StandardProps, FormItemProps {
85
90
  selectionEnd?: number
86
91
  /** 键盘弹起时,是否自动上推页面
87
92
  * @default true
88
- * @supported weapp, swan, tt, qq, jd
93
+ * @supported weapp, swan, tt, qq, jd, harmony
89
94
  */
90
95
  adjustPosition?: boolean
91
96
  /** focus 时,点击页面的时候不收起键盘
@@ -144,7 +149,7 @@ interface InputProps extends StandardProps, FormItemProps {
144
149
  */
145
150
  controlled?: boolean
146
151
  /** 用于透传 `WebComponents` 上的属性到内部 H5 标签上
147
- * @supported h5
152
+ * @supported h5, harmony_hybrid
148
153
  */
149
154
  nativeProps?: Record<string, unknown>
150
155
  /** 组件名字,用于表单提交获取数据。
@@ -166,23 +171,23 @@ interface InputProps extends StandardProps, FormItemProps {
166
171
  */
167
172
  clueType?: number
168
173
  /** 当键盘输入时,触发input事件,event.detail = {value, cursor, keyCode},处理函数可以直接 return 一个字符串,将替换输入框的内容。
169
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
174
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
170
175
  */
171
176
  onInput?: CommonEventFunction<InputProps.inputEventDetail>
172
177
  /** 输入框聚焦时触发,event.detail = { value, height },height 为键盘高度
173
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
178
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
174
179
  */
175
180
  onFocus?: CommonEventFunction<InputProps.inputForceEventDetail>
176
181
  /** 输入框失去焦点时触发
177
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
182
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
178
183
  */
179
184
  onBlur?: CommonEventFunction<InputProps.inputValueEventDetail>
180
185
  /** 点击完成按钮时触发
181
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
186
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
182
187
  */
183
188
  onConfirm?: CommonEventFunction<InputProps.inputValueEventDetail>
184
189
  /** 键盘高度发生变化的时候触发此事件
185
- * @supported weapp, tt, qq
190
+ * @supported weapp, tt, qq, harmony
186
191
  */
187
192
  onKeyboardHeightChange?: CommonEventFunction<InputProps.onKeyboardHeightChangeEventDetail>
188
193
  /** 用户昵称审核完毕后触发,仅在 type 为 "nickname" 时有效,event.detail = { pass, timeout }
@@ -194,11 +199,11 @@ declare namespace InputProps {
194
199
  /** Input 类型 */
195
200
  interface Type {
196
201
  /** 文本输入键盘
197
- * @supported weapp, alipay, h5, rn
202
+ * @supported weapp, alipay, h5, rn, harmony_hybrid
198
203
  */
199
204
  text
200
205
  /** 数字输入键盘
201
- * @supported weapp, alipay, h5, rn
206
+ * @supported weapp, alipay, h5, rn, harmony_hybrid
202
207
  */
203
208
  number
204
209
  /** 身份证输入键盘
@@ -206,7 +211,7 @@ declare namespace InputProps {
206
211
  */
207
212
  idcard
208
213
  /** 带小数点的数字键盘
209
- * @supported weapp, alipay, h5, rn
214
+ * @supported weapp, alipay, h5, rn, harmony_hybrid
210
215
  */
211
216
  digit
212
217
  /** 密码安全输入键盘[指引](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/safe-password.html)
@@ -271,7 +276,7 @@ declare namespace InputProps {
271
276
  }
272
277
  /** 输入框。该组件是原生组件,使用时请注意相关限制
273
278
  * @classification forms
274
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
279
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
275
280
  * @example_react
276
281
  * ```tsx
277
282
  * class App extends Component {
package/types/Label.d.ts CHANGED
@@ -2,7 +2,7 @@ import { ComponentType } from 'react'
2
2
  import { StandardProps } from './common'
3
3
  interface LabelProps extends StandardProps {
4
4
  /** 绑定控件的 id
5
- * @supported weapp, alipay, swan, tt, qq, jd, h5
5
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, harmony, harmony_hybrid
6
6
  */
7
7
  for?: string
8
8
  }
@@ -10,7 +10,7 @@ interface LabelProps extends StandardProps {
10
10
  *
11
11
  * 使用for属性找到对应的id,或者将控件放在该标签下,当点击时,就会触发对应的控件。 for优先级高于内部控件,内部有多个控件的时候默认触发第一个控件。 目前可以绑定的控件有:button, checkbox, radio, switch。
12
12
  * @classification forms
13
- * @supported weapp, swan, alipay, tt, h5, rn, harmony
13
+ * @supported weapp, swan, alipay, tt, h5, rn, harmony, harmony_hybrid
14
14
  * @example_react
15
15
  * ```tsx
16
16
  * class App extends Components {
@@ -4,7 +4,7 @@ interface ListViewProps extends StandardProps {}
4
4
 
5
5
  /**
6
6
  * 列表布局容器,仅支持作为 scroll-view 自定义模式下的直接子节点或 sticky-section 组件直接子节点。仅 Skyline 支持。
7
- * @classification viewContainer
7
+ * @classification skyline
8
8
  * @supported weapp
9
9
  * @see https://developers.weixin.qq.com/miniprogram/dev/component/list-view.html
10
10
  */
@@ -61,10 +61,12 @@ interface LivePlayerProps extends StandardProps {
61
61
  */
62
62
  pictureInPictureMode?: ('push' | 'pop')[] | 'push' | 'pop' | ''
63
63
  /** 当跳转到其它微信原生页面时,是否自动暂停本页面的实时音视频播放
64
+ * @default true
64
65
  * @supported weapp, qq
65
66
  */
66
- autoPauseIfOpenNative?: string
67
- /** 格式固定为 https://servicewechat.com/{appid}/{version}/page-frame.html,其中 {appid} 为小程序的 appid,{version} 为小程序的版本号,版本号为 0 表示为开发版、体验版以及审核版本,版本号为 devtools 表示为开发者工具,其余为正式版本;
67
+ autoPauseIfOpenNative?: boolean
68
+ /** 格式固定为 https://servicewechat.com/{appid}/{version}/page-frame.html ,其中 {appid} 为小程序的 appid,{version} 为小程序的版本号,版本号为 0 表示为开发版、体验版以及审核版本,版本号为 devtools 表示为开发者工具,其余为正式版本;
69
+ * @default 'no-referrer'
68
70
  * @supported weapp
69
71
  */
70
72
  referrerPolicy?: 'origin' | 'no-referrer'
@@ -125,11 +127,16 @@ interface LivePlayerProps extends StandardProps {
125
127
  /** 用户选择投屏设备时触发 detail = { state: "success"/"fail" }
126
128
  * @supported weapp
127
129
  */
128
- onCastingUserSelect?: CommonEventFunction
130
+ onCastingUserSelect?: CommonEventFunction<{
131
+ state: 'success' | 'fail'
132
+ }>
129
133
  /** 投屏成功/失败时触发 detail = { type, state: "success"/"fail" }
130
134
  * @supported weapp
131
135
  */
132
- onCastingStateChange?: CommonEventFunction
136
+ onCastingStateChange?: CommonEventFunction<{
137
+ type: any
138
+ state: 'success' | 'fail'
139
+ }>
133
140
  /** 投屏被中断时触发
134
141
  * @supported weapp
135
142
  */
package/types/Map.d.ts CHANGED
@@ -30,8 +30,9 @@ interface MapProps extends StandardProps {
30
30
  * @supported weapp, alipay, swan, tt, qq, jd
31
31
  */
32
32
  markers?: MapProps.marker[]
33
- /** 标记点
33
+ /** **即将移除,请使用 markers**
34
34
  * @supported weapp
35
+ * @deprecated
35
36
  */
36
37
  covers?: any[]
37
38
  /** 路线
@@ -217,14 +218,38 @@ interface MapProps extends StandardProps {
217
218
  * @supported weapp, swan, qq
218
219
  */
219
220
  onPoiTap?: CommonEventFunction<MapProps.onPoiTapEventDetail>
221
+ /** 点击地图路线时触发,e.detail = {longitude, latitude}
222
+ * @supported weapp, swan, qq
223
+ */
224
+ onPolylineTap?: CommonEventFunction<MapProps.onPolylineTapEventDetail>
225
+ /** 地图能力生效时触发,e.detail = {ability, errCode, errMsg}
226
+ * @supported weapp
227
+ */
228
+ onAbilitySuccess?: CommonEventFunction<MapProps.onAbilityEventDetail>
229
+ /** 地图能力失败时触发,e.detail = {ability, errCode, errMsg}
230
+ * @supported weapp
231
+ */
232
+ onAbilityFailed?: CommonEventFunction<MapProps.onAbilityEventDetail>
233
+ /** 地图鉴权结果成功时触发,e.detail = {errCode, errMsg}
234
+ * @supported weapp
235
+ */
236
+ onAuthSuccess?: CommonEventFunction<{ errCode: number; errMsg: string }>
237
+ /** MapContext.moveAlong 插值动画时触发。e.detail = {markerId, longitude, latitude, animationStatus: "interpolating" | "complete"}
238
+ * @supported weapp
239
+ */
240
+ onInterpolatePoint?: CommonEventFunction<MapProps.onInterpolatePointEventDetail>
241
+ /** 组件错误时触发,例如创建或鉴权失败,e.detail = {longitude, latitude}
242
+ * @supported weapp
243
+ */
244
+ onError: CommonEventFunction<MapProps.point>
220
245
  /** 点击标记点对应的气泡时触发e.detail = {markerId}
221
246
  * @supported weapp, swan, tt, jd
222
247
  */
223
- onCallOutTap?: CommonEventFunction
248
+ onCallOutTap?: CommonEventFunction<MapProps.onCalloutTapEventDetail>
224
249
  /** 点击定位标时触发,e.detail = {longitude, latitude}
225
250
  * @supported weapp, tt
226
251
  */
227
- onAnchorPointTap?: CommonEventFunction
252
+ onAnchorPointTap?: CommonEventFunction<MapProps.point>
228
253
  /** 点击 panel 时触发。
229
254
  * @supported alipay
230
255
  */
@@ -612,6 +637,22 @@ declare namespace MapProps {
612
637
  longitude: number
613
638
  latitude: number
614
639
  }
640
+ interface onPolylineTapEventDetail {
641
+ polylineId: number
642
+ longitude: number
643
+ latitude: number
644
+ }
645
+ interface onAbilityEventDetail {
646
+ ability: string
647
+ errCode: number
648
+ errMsg: string
649
+ }
650
+ interface onInterpolatePointEventDetail {
651
+ markerId: number
652
+ longitude: number
653
+ latitude: number
654
+ animationStatus: 'interpolating' | 'complete'
655
+ }
615
656
  }
616
657
  /** 地图。相关api Taro.createMapContext。
617
658
  * @classification maps