@tarojs/components 4.0.0-beta.1 → 4.0.0-beta.11

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 (614) hide show
  1. package/LICENSE +14 -0
  2. package/dist/cjs/{index-5a8221ec.js → index-5b029707.js} +208 -2
  3. package/dist/cjs/{index-dfd8638f.js → index-8a70c333.js} +6 -0
  4. package/dist/cjs/loader.cjs.js +2 -2
  5. package/dist/cjs/taro-ad-core.cjs.entry.js +1 -1
  6. package/dist/cjs/taro-ad-custom-core.cjs.entry.js +1 -1
  7. package/dist/cjs/taro-animation-video-core.cjs.entry.js +1 -1
  8. package/dist/cjs/taro-animation-view-core.cjs.entry.js +1 -1
  9. package/dist/cjs/taro-ar-camera-core.cjs.entry.js +1 -1
  10. package/dist/cjs/taro-audio-core.cjs.entry.js +2 -2
  11. package/dist/cjs/taro-aweme-data-core.cjs.entry.js +1 -1
  12. package/dist/cjs/taro-block-core.cjs.entry.js +1 -1
  13. package/dist/cjs/taro-button-core.cjs.entry.js +3 -3
  14. package/dist/cjs/taro-camera-core.cjs.entry.js +1 -1
  15. package/dist/cjs/taro-canvas-core.cjs.entry.js +2 -2
  16. package/dist/cjs/taro-channel-live-core.cjs.entry.js +1 -1
  17. package/dist/cjs/taro-channel-video-core.cjs.entry.js +1 -1
  18. package/dist/cjs/taro-checkbox-core_2.cjs.entry.js +2 -2
  19. package/dist/cjs/taro-comment-detail-core.cjs.entry.js +1 -1
  20. package/dist/cjs/taro-comment-list-core.cjs.entry.js +1 -1
  21. package/dist/cjs/taro-components.cjs.js +2 -2
  22. package/dist/cjs/taro-contact-button-core.cjs.entry.js +1 -1
  23. package/dist/cjs/taro-cover-image-core.cjs.entry.js +2 -2
  24. package/dist/cjs/taro-cover-view-core.cjs.entry.js +2 -2
  25. package/dist/cjs/taro-custom-wrapper-core.cjs.entry.js +1 -1
  26. package/dist/cjs/taro-editor-core.cjs.entry.js +1 -1
  27. package/dist/cjs/taro-follow-swan-core.cjs.entry.js +1 -1
  28. package/dist/cjs/taro-form-core.cjs.entry.js +1 -1
  29. package/dist/cjs/taro-functional-page-navigator-core.cjs.entry.js +1 -1
  30. package/dist/cjs/taro-grid-view-core.cjs.entry.js +1 -1
  31. package/dist/cjs/taro-icon-core.cjs.entry.js +5 -2
  32. package/dist/cjs/taro-image-core.cjs.entry.js +7 -6
  33. package/dist/cjs/taro-inline-payment-panel-core.cjs.entry.js +1 -1
  34. package/dist/cjs/taro-input-core.cjs.entry.js +2 -2
  35. package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js +1 -1
  36. package/dist/cjs/taro-label-core.cjs.entry.js +1 -1
  37. package/dist/cjs/taro-lifestyle-core.cjs.entry.js +1 -1
  38. package/dist/cjs/taro-like-core.cjs.entry.js +1 -1
  39. package/dist/cjs/taro-list-view-core.cjs.entry.js +1 -1
  40. package/dist/cjs/taro-live-player-core.cjs.entry.js +1 -1
  41. package/dist/cjs/taro-live-pusher-core.cjs.entry.js +1 -1
  42. package/dist/cjs/taro-login-core.cjs.entry.js +1 -1
  43. package/dist/cjs/taro-lottie-core.cjs.entry.js +1 -1
  44. package/dist/cjs/taro-map-core.cjs.entry.js +1 -1
  45. package/dist/cjs/taro-match-media-core.cjs.entry.js +1 -1
  46. package/dist/cjs/taro-movable-area-core_2.cjs.entry.js +5 -4
  47. package/dist/cjs/taro-native-slot-core.cjs.entry.js +1 -1
  48. package/dist/cjs/taro-navigation-bar-core.cjs.entry.js +1 -1
  49. package/dist/cjs/taro-navigator-core.cjs.entry.js +2 -2
  50. package/dist/cjs/taro-official-account-core.cjs.entry.js +1 -1
  51. package/dist/cjs/taro-open-data-core.cjs.entry.js +1 -1
  52. package/dist/cjs/taro-page-container-core.cjs.entry.js +1 -1
  53. package/dist/cjs/taro-page-meta-core.cjs.entry.js +1 -1
  54. package/dist/cjs/taro-picker-core_2.cjs.entry.js +3 -3
  55. package/dist/cjs/taro-picker-view-column-core_2.cjs.entry.js +5 -5
  56. package/dist/cjs/taro-progress-core.cjs.entry.js +4 -1
  57. package/dist/cjs/taro-pull-to-refresh-core.cjs.entry.js +6 -3
  58. package/dist/cjs/taro-radio-core_2.cjs.entry.js +1 -1
  59. package/dist/cjs/taro-rich-text-core.cjs.entry.js +2 -2
  60. package/dist/cjs/taro-root-portal-core.cjs.entry.js +1 -1
  61. package/dist/cjs/taro-rtc-room-core.cjs.entry.js +1 -1
  62. package/dist/cjs/taro-rtc-room-item-core.cjs.entry.js +1 -1
  63. package/dist/cjs/taro-scroll-view-core.cjs.entry.js +4 -4
  64. package/dist/cjs/taro-share-element-core.cjs.entry.js +1 -1
  65. package/dist/cjs/taro-slider-core.cjs.entry.js +4 -1
  66. package/dist/cjs/taro-slot-core.cjs.entry.js +1 -1
  67. package/dist/cjs/taro-snapshot-core.cjs.entry.js +1 -1
  68. package/dist/cjs/taro-sticky-header-core.cjs.entry.js +1 -1
  69. package/dist/cjs/taro-sticky-section-core.cjs.entry.js +1 -1
  70. package/dist/cjs/taro-swiper-core_2.cjs.entry.js +23 -9865
  71. package/dist/cjs/taro-switch-core.cjs.entry.js +13 -12
  72. package/dist/cjs/taro-tab-item-core.cjs.entry.js +1 -1
  73. package/dist/cjs/taro-tabbar.cjs.entry.js +15 -87
  74. package/dist/cjs/taro-tabs-core.cjs.entry.js +1 -1
  75. package/dist/cjs/taro-text-core.cjs.entry.js +2 -2
  76. package/dist/cjs/taro-textarea-core.cjs.entry.js +12 -3
  77. package/dist/cjs/taro-video-control_3.cjs.entry.js +26 -6
  78. package/dist/cjs/taro-view-core.cjs.entry.js +3 -3
  79. package/dist/cjs/taro-voip-room-core.cjs.entry.js +1 -1
  80. package/dist/cjs/taro-web-view-core.cjs.entry.js +2 -2
  81. package/dist/collection/components/audio/style/index.css +1 -4
  82. package/dist/collection/components/button/style/index.css +1 -160
  83. package/dist/collection/components/canvas/style/index.css +1 -6
  84. package/dist/collection/components/checkbox/style/index.css +1 -39
  85. package/dist/collection/components/cover-image/style/index.css +1 -5
  86. package/dist/collection/components/cover-view/style/cover-view.css +1 -3
  87. package/dist/collection/components/icon/icon.js +10 -0
  88. package/dist/collection/components/icon/style/index.css +1 -0
  89. package/dist/collection/components/image/image.js +4 -3
  90. package/dist/collection/components/image/style/index.css +1 -73
  91. package/dist/collection/components/input/input.js +2 -2
  92. package/dist/collection/components/input/style/index.css +1 -0
  93. package/dist/collection/components/movable-area/area.css +1 -6
  94. package/dist/collection/components/movable-area/movable-area.js +2 -1
  95. package/dist/collection/components/movable-area/view.css +1 -8
  96. package/dist/collection/components/navigator/style/index.css +1 -3
  97. package/dist/collection/components/picker/style/index.css +1 -4
  98. package/dist/collection/components/picker-view/style/column.css +1 -12
  99. package/dist/collection/components/picker-view/style/index.css +1 -28
  100. package/dist/collection/components/progress/progress.js +10 -0
  101. package/dist/collection/components/progress/style/index.css +1 -0
  102. package/dist/collection/components/pull-to-refresh/pull-to-refresh.js +3 -0
  103. package/dist/collection/components/pull-to-refresh/style/index.css +1 -52
  104. package/dist/collection/components/rich-text/style/index.css +1 -16
  105. package/dist/collection/components/scroll-view/style/index.css +1 -17
  106. package/dist/collection/components/slider/slider.js +10 -0
  107. package/dist/collection/components/slider/style/index.css +1 -0
  108. package/dist/collection/components/swiper/style/index.css +2 -19
  109. package/dist/collection/components/swiper/swiper.js +4 -2
  110. package/dist/collection/components/switch/style/index.css +1 -10
  111. package/dist/collection/components/switch/switch.js +12 -12
  112. package/dist/collection/components/tabbar/style/index.css +1 -53
  113. package/dist/collection/components/tabbar/tabbar.js +1 -1
  114. package/dist/collection/components/text/style/index.css +1 -26
  115. package/dist/collection/components/textarea/style/index.css +1 -22
  116. package/dist/collection/components/textarea/textarea.js +11 -0
  117. package/dist/collection/components/video/style/index.css +1 -327
  118. package/dist/collection/components/view/style/index.css +1 -9
  119. package/dist/collection/components/web-view/style/index.css +1 -12
  120. package/dist/collection/utils/index.js +10 -0
  121. package/dist/components/index3.js +6 -1
  122. package/dist/components/taro-audio-core.js +1 -1
  123. package/dist/components/taro-button-core.js +1 -1
  124. package/dist/components/taro-canvas-core.js +1 -1
  125. package/dist/components/taro-checkbox-core.js +1 -1
  126. package/dist/components/taro-cover-image-core.js +1 -1
  127. package/dist/components/taro-icon-core.js +3 -0
  128. package/dist/components/taro-image-core.js +5 -4
  129. package/dist/components/taro-input-core.js +1 -1
  130. package/dist/components/taro-movable-area-core.js +3 -2
  131. package/dist/components/taro-movable-view-core.js +1 -1
  132. package/dist/components/taro-picker-core.js +1 -1
  133. package/dist/components/taro-picker-view-column-core.js +1 -1
  134. package/dist/components/taro-picker-view-core.js +1 -1
  135. package/dist/components/taro-progress-core.js +3 -0
  136. package/dist/components/taro-pull-to-refresh-core.js +4 -1
  137. package/dist/components/taro-rich-text-core.js +1 -1
  138. package/dist/components/taro-scroll-view-core.js +1 -1
  139. package/dist/components/taro-slider-core.js +3 -0
  140. package/dist/components/taro-swiper-core.js +9 -9855
  141. package/dist/components/taro-switch-core.js +13 -13
  142. package/dist/components/taro-tabbar.js +4 -77
  143. package/dist/components/taro-text-core.js +1 -1
  144. package/dist/components/taro-textarea-core.js +11 -2
  145. package/dist/components/taro-video-core.js +2 -2
  146. package/dist/components/taro-view-core.js +1 -1
  147. package/dist/components/taro-web-view-core.js +1 -1
  148. package/dist/esm/{index-d1b03e47.js → index-a00a7418.js} +6 -1
  149. package/dist/esm/{index-6bb77c5f.js → index-ab3c86da.js} +208 -2
  150. package/dist/esm/loader.js +3 -3
  151. package/dist/esm/taro-ad-core.entry.js +1 -1
  152. package/dist/esm/taro-ad-custom-core.entry.js +1 -1
  153. package/dist/esm/taro-animation-video-core.entry.js +1 -1
  154. package/dist/esm/taro-animation-view-core.entry.js +1 -1
  155. package/dist/esm/taro-ar-camera-core.entry.js +1 -1
  156. package/dist/esm/taro-audio-core.entry.js +2 -2
  157. package/dist/esm/taro-aweme-data-core.entry.js +1 -1
  158. package/dist/esm/taro-block-core.entry.js +1 -1
  159. package/dist/esm/taro-button-core.entry.js +3 -3
  160. package/dist/esm/taro-camera-core.entry.js +1 -1
  161. package/dist/esm/taro-canvas-core.entry.js +2 -2
  162. package/dist/esm/taro-channel-live-core.entry.js +1 -1
  163. package/dist/esm/taro-channel-video-core.entry.js +1 -1
  164. package/dist/esm/taro-checkbox-core_2.entry.js +2 -2
  165. package/dist/esm/taro-comment-detail-core.entry.js +1 -1
  166. package/dist/esm/taro-comment-list-core.entry.js +1 -1
  167. package/dist/esm/taro-components.js +3 -3
  168. package/dist/esm/taro-contact-button-core.entry.js +1 -1
  169. package/dist/esm/taro-cover-image-core.entry.js +2 -2
  170. package/dist/esm/taro-cover-view-core.entry.js +2 -2
  171. package/dist/esm/taro-custom-wrapper-core.entry.js +1 -1
  172. package/dist/esm/taro-editor-core.entry.js +1 -1
  173. package/dist/esm/taro-follow-swan-core.entry.js +1 -1
  174. package/dist/esm/taro-form-core.entry.js +1 -1
  175. package/dist/esm/taro-functional-page-navigator-core.entry.js +1 -1
  176. package/dist/esm/taro-grid-view-core.entry.js +1 -1
  177. package/dist/esm/taro-icon-core.entry.js +5 -2
  178. package/dist/esm/taro-image-core.entry.js +7 -6
  179. package/dist/esm/taro-inline-payment-panel-core.entry.js +1 -1
  180. package/dist/esm/taro-input-core.entry.js +2 -2
  181. package/dist/esm/taro-keyboard-accessory-core.entry.js +1 -1
  182. package/dist/esm/taro-label-core.entry.js +1 -1
  183. package/dist/esm/taro-lifestyle-core.entry.js +1 -1
  184. package/dist/esm/taro-like-core.entry.js +1 -1
  185. package/dist/esm/taro-list-view-core.entry.js +1 -1
  186. package/dist/esm/taro-live-player-core.entry.js +1 -1
  187. package/dist/esm/taro-live-pusher-core.entry.js +1 -1
  188. package/dist/esm/taro-login-core.entry.js +1 -1
  189. package/dist/esm/taro-lottie-core.entry.js +1 -1
  190. package/dist/esm/taro-map-core.entry.js +1 -1
  191. package/dist/esm/taro-match-media-core.entry.js +1 -1
  192. package/dist/esm/taro-movable-area-core_2.entry.js +5 -4
  193. package/dist/esm/taro-native-slot-core.entry.js +1 -1
  194. package/dist/esm/taro-navigation-bar-core.entry.js +1 -1
  195. package/dist/esm/taro-navigator-core.entry.js +2 -2
  196. package/dist/esm/taro-official-account-core.entry.js +1 -1
  197. package/dist/esm/taro-open-data-core.entry.js +1 -1
  198. package/dist/esm/taro-page-container-core.entry.js +1 -1
  199. package/dist/esm/taro-page-meta-core.entry.js +1 -1
  200. package/dist/esm/taro-picker-core_2.entry.js +3 -3
  201. package/dist/esm/taro-picker-view-column-core_2.entry.js +5 -5
  202. package/dist/esm/taro-progress-core.entry.js +4 -1
  203. package/dist/esm/taro-pull-to-refresh-core.entry.js +6 -3
  204. package/dist/esm/taro-radio-core_2.entry.js +1 -1
  205. package/dist/esm/taro-rich-text-core.entry.js +2 -2
  206. package/dist/esm/taro-root-portal-core.entry.js +1 -1
  207. package/dist/esm/taro-rtc-room-core.entry.js +1 -1
  208. package/dist/esm/taro-rtc-room-item-core.entry.js +1 -1
  209. package/dist/esm/taro-scroll-view-core.entry.js +4 -4
  210. package/dist/esm/taro-share-element-core.entry.js +1 -1
  211. package/dist/esm/taro-slider-core.entry.js +4 -1
  212. package/dist/esm/taro-slot-core.entry.js +1 -1
  213. package/dist/esm/taro-snapshot-core.entry.js +1 -1
  214. package/dist/esm/taro-sticky-header-core.entry.js +1 -1
  215. package/dist/esm/taro-sticky-section-core.entry.js +1 -1
  216. package/dist/esm/taro-swiper-core_2.entry.js +10 -9856
  217. package/dist/esm/taro-switch-core.entry.js +13 -12
  218. package/dist/esm/taro-tab-item-core.entry.js +1 -1
  219. package/dist/esm/taro-tabbar.entry.js +6 -79
  220. package/dist/esm/taro-tabs-core.entry.js +1 -1
  221. package/dist/esm/taro-text-core.entry.js +2 -2
  222. package/dist/esm/taro-textarea-core.entry.js +12 -3
  223. package/dist/esm/taro-video-control_3.entry.js +5 -5
  224. package/dist/esm/taro-view-core.entry.js +3 -3
  225. package/dist/esm/taro-voip-room-core.entry.js +1 -1
  226. package/dist/esm/taro-web-view-core.entry.js +2 -2
  227. package/dist/esm-es5/index-a00a7418.js +1 -0
  228. package/dist/esm-es5/index-ab3c86da.js +2 -0
  229. package/dist/esm-es5/loader.js +1 -1
  230. package/dist/esm-es5/taro-ad-core.entry.js +1 -1
  231. package/dist/esm-es5/taro-ad-custom-core.entry.js +1 -1
  232. package/dist/esm-es5/taro-animation-video-core.entry.js +1 -1
  233. package/dist/esm-es5/taro-animation-view-core.entry.js +1 -1
  234. package/dist/esm-es5/taro-ar-camera-core.entry.js +1 -1
  235. package/dist/esm-es5/taro-audio-core.entry.js +1 -1
  236. package/dist/esm-es5/taro-aweme-data-core.entry.js +1 -1
  237. package/dist/esm-es5/taro-block-core.entry.js +1 -1
  238. package/dist/esm-es5/taro-button-core.entry.js +1 -1
  239. package/dist/esm-es5/taro-camera-core.entry.js +1 -1
  240. package/dist/esm-es5/taro-canvas-core.entry.js +1 -1
  241. package/dist/esm-es5/taro-channel-live-core.entry.js +1 -1
  242. package/dist/esm-es5/taro-channel-video-core.entry.js +1 -1
  243. package/dist/esm-es5/taro-checkbox-core_2.entry.js +1 -1
  244. package/dist/esm-es5/taro-comment-detail-core.entry.js +1 -1
  245. package/dist/esm-es5/taro-comment-list-core.entry.js +1 -1
  246. package/dist/esm-es5/taro-components.js +1 -1
  247. package/dist/esm-es5/taro-contact-button-core.entry.js +1 -1
  248. package/dist/esm-es5/taro-cover-image-core.entry.js +1 -1
  249. package/dist/esm-es5/taro-cover-view-core.entry.js +1 -1
  250. package/dist/esm-es5/taro-custom-wrapper-core.entry.js +1 -1
  251. package/dist/esm-es5/taro-editor-core.entry.js +1 -1
  252. package/dist/esm-es5/taro-follow-swan-core.entry.js +1 -1
  253. package/dist/esm-es5/taro-form-core.entry.js +1 -1
  254. package/dist/esm-es5/taro-functional-page-navigator-core.entry.js +1 -1
  255. package/dist/esm-es5/taro-grid-view-core.entry.js +1 -1
  256. package/dist/esm-es5/taro-icon-core.entry.js +1 -1
  257. package/dist/esm-es5/taro-image-core.entry.js +1 -1
  258. package/dist/esm-es5/taro-inline-payment-panel-core.entry.js +1 -1
  259. package/dist/esm-es5/taro-input-core.entry.js +1 -1
  260. package/dist/esm-es5/taro-keyboard-accessory-core.entry.js +1 -1
  261. package/dist/esm-es5/taro-label-core.entry.js +1 -1
  262. package/dist/esm-es5/taro-lifestyle-core.entry.js +1 -1
  263. package/dist/esm-es5/taro-like-core.entry.js +1 -1
  264. package/dist/esm-es5/taro-list-view-core.entry.js +1 -1
  265. package/dist/esm-es5/taro-live-player-core.entry.js +1 -1
  266. package/dist/esm-es5/taro-live-pusher-core.entry.js +1 -1
  267. package/dist/esm-es5/taro-login-core.entry.js +1 -1
  268. package/dist/esm-es5/taro-lottie-core.entry.js +1 -1
  269. package/dist/esm-es5/taro-map-core.entry.js +1 -1
  270. package/dist/esm-es5/taro-match-media-core.entry.js +1 -1
  271. package/dist/esm-es5/taro-movable-area-core_2.entry.js +1 -1
  272. package/dist/esm-es5/taro-native-slot-core.entry.js +1 -1
  273. package/dist/esm-es5/taro-navigation-bar-core.entry.js +1 -1
  274. package/dist/esm-es5/taro-navigator-core.entry.js +1 -1
  275. package/dist/esm-es5/taro-official-account-core.entry.js +1 -1
  276. package/dist/esm-es5/taro-open-data-core.entry.js +1 -1
  277. package/dist/esm-es5/taro-page-container-core.entry.js +1 -1
  278. package/dist/esm-es5/taro-page-meta-core.entry.js +1 -1
  279. package/dist/esm-es5/taro-picker-core_2.entry.js +1 -1
  280. package/dist/esm-es5/taro-picker-view-column-core_2.entry.js +1 -1
  281. package/dist/esm-es5/taro-progress-core.entry.js +1 -1
  282. package/dist/esm-es5/taro-pull-to-refresh-core.entry.js +1 -1
  283. package/dist/esm-es5/taro-radio-core_2.entry.js +1 -1
  284. package/dist/esm-es5/taro-rich-text-core.entry.js +1 -1
  285. package/dist/esm-es5/taro-root-portal-core.entry.js +1 -1
  286. package/dist/esm-es5/taro-rtc-room-core.entry.js +1 -1
  287. package/dist/esm-es5/taro-rtc-room-item-core.entry.js +1 -1
  288. package/dist/esm-es5/taro-scroll-view-core.entry.js +1 -1
  289. package/dist/esm-es5/taro-share-element-core.entry.js +1 -1
  290. package/dist/esm-es5/taro-slider-core.entry.js +1 -1
  291. package/dist/esm-es5/taro-slot-core.entry.js +1 -1
  292. package/dist/esm-es5/taro-snapshot-core.entry.js +1 -1
  293. package/dist/esm-es5/taro-sticky-header-core.entry.js +1 -1
  294. package/dist/esm-es5/taro-sticky-section-core.entry.js +1 -1
  295. package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -1
  296. package/dist/esm-es5/taro-switch-core.entry.js +1 -1
  297. package/dist/esm-es5/taro-tab-item-core.entry.js +1 -1
  298. package/dist/esm-es5/taro-tabbar.entry.js +1 -1
  299. package/dist/esm-es5/taro-tabs-core.entry.js +1 -1
  300. package/dist/esm-es5/taro-text-core.entry.js +1 -1
  301. package/dist/esm-es5/taro-textarea-core.entry.js +1 -1
  302. package/dist/esm-es5/taro-video-control_3.entry.js +1 -1
  303. package/dist/esm-es5/taro-view-core.entry.js +1 -1
  304. package/dist/esm-es5/taro-voip-room-core.entry.js +1 -1
  305. package/dist/esm-es5/taro-web-view-core.entry.js +1 -1
  306. package/dist/hydrate/index.d.ts +217 -0
  307. package/dist/hydrate/index.js +13054 -0
  308. package/dist/hydrate/package.json +6 -0
  309. package/dist/taro-components/{p-028ad016.system.entry.js → p-0044961f.system.entry.js} +1 -1
  310. package/dist/taro-components/p-010faa87.system.js +1 -0
  311. package/dist/taro-components/{p-2713fc1a.entry.js → p-0132e803.entry.js} +1 -1
  312. package/dist/taro-components/{p-1411cd2e.system.entry.js → p-019124ae.system.entry.js} +1 -1
  313. package/dist/taro-components/{p-d86ce035.system.entry.js → p-04f97133.system.entry.js} +1 -1
  314. package/dist/taro-components/{p-e487b8b4.system.entry.js → p-069ae782.system.entry.js} +1 -1
  315. package/dist/taro-components/p-0d8a0733.entry.js +1 -0
  316. package/dist/taro-components/p-0f95be56.entry.js +1 -0
  317. package/dist/taro-components/p-0fe4660a.entry.js +1 -0
  318. package/dist/taro-components/{p-32b41faa.system.entry.js → p-1087c51a.system.entry.js} +1 -1
  319. package/dist/taro-components/{p-bbbe728b.system.entry.js → p-11c0dc59.system.entry.js} +1 -1
  320. package/dist/taro-components/p-12b967fd.entry.js +1 -0
  321. package/dist/taro-components/{p-20e38f24.entry.js → p-13bf0192.entry.js} +1 -1
  322. package/dist/taro-components/{p-1ac9622e.entry.js → p-13e80cf7.entry.js} +1 -1
  323. package/dist/taro-components/{p-8b604d50.entry.js → p-15c1ce79.entry.js} +1 -1
  324. package/dist/taro-components/p-16705ca9.entry.js +1 -0
  325. package/dist/taro-components/{p-6d7165eb.system.entry.js → p-194ace03.system.entry.js} +1 -1
  326. package/dist/taro-components/p-19b04eb7.entry.js +1 -0
  327. package/dist/taro-components/{p-346162b4.system.entry.js → p-19b993d8.system.entry.js} +1 -1
  328. package/dist/taro-components/p-1b1034dc.entry.js +1 -0
  329. package/dist/taro-components/p-22f6316e.entry.js +1 -0
  330. package/dist/taro-components/p-25636983.entry.js +1 -0
  331. package/dist/taro-components/{p-8c93f3e0.entry.js → p-28bc8a48.entry.js} +1 -1
  332. package/dist/taro-components/p-2b70c348.system.js +2 -0
  333. package/dist/taro-components/p-2d382d0e.entry.js +1 -0
  334. package/dist/taro-components/p-2ebc3182.entry.js +1 -0
  335. package/dist/taro-components/p-2f8ebd28.system.entry.js +1 -0
  336. package/dist/taro-components/p-317c4cad.entry.js +1 -0
  337. package/dist/taro-components/{p-b94dcfbe.entry.js → p-342a2594.entry.js} +1 -1
  338. package/dist/taro-components/p-3430d520.system.entry.js +1 -0
  339. package/dist/taro-components/{p-c968ea43.system.entry.js → p-36ea0ac1.system.entry.js} +1 -1
  340. package/dist/taro-components/{p-aae38fe8.entry.js → p-370cc947.entry.js} +1 -1
  341. package/dist/taro-components/p-378b504c.entry.js +1 -0
  342. package/dist/taro-components/{p-23f15c7b.entry.js → p-37bc198d.entry.js} +1 -1
  343. package/dist/taro-components/{p-4cc2e06e.entry.js → p-39b3e34d.entry.js} +1 -1
  344. package/dist/taro-components/{p-039e15a4.system.entry.js → p-3a0a05fd.system.entry.js} +1 -1
  345. package/dist/taro-components/{p-7ad33036.system.entry.js → p-3a3d40de.system.entry.js} +1 -1
  346. package/dist/taro-components/{p-1c1d9be8.entry.js → p-3d423adc.entry.js} +1 -1
  347. package/dist/taro-components/{p-3aaf0fb7.system.entry.js → p-3eedb8d7.system.entry.js} +1 -1
  348. package/dist/taro-components/p-43932446.entry.js +1 -0
  349. package/dist/taro-components/{p-25fffbbe.system.entry.js → p-46ccb393.system.entry.js} +1 -1
  350. package/dist/taro-components/p-477f8fbd.system.js +1 -0
  351. package/dist/taro-components/p-4824cc94.entry.js +1 -0
  352. package/dist/taro-components/p-48a84765.entry.js +1 -0
  353. package/dist/taro-components/p-49e9b2ff.entry.js +1 -0
  354. package/dist/taro-components/p-4a748c0d.entry.js +1 -0
  355. package/dist/taro-components/{p-9c566d7d.system.entry.js → p-4b5f75b9.system.entry.js} +1 -1
  356. package/dist/taro-components/p-4e63d3bd.entry.js +1 -0
  357. package/dist/taro-components/{p-70c81b7e.entry.js → p-4fcb258a.entry.js} +1 -1
  358. package/dist/taro-components/{p-0780df27.entry.js → p-4ffae31c.entry.js} +1 -1
  359. package/dist/taro-components/{p-a7ecb97a.entry.js → p-50b21f94.entry.js} +1 -1
  360. package/dist/taro-components/p-518a9b73.entry.js +1 -0
  361. package/dist/taro-components/{p-401743f9.system.entry.js → p-52ad5213.system.entry.js} +1 -1
  362. package/dist/taro-components/p-54b24e2f.system.entry.js +1 -0
  363. package/dist/taro-components/{p-cd34c92e.system.entry.js → p-55934653.system.entry.js} +1 -1
  364. package/dist/taro-components/{p-c3c69a95.system.entry.js → p-562eace8.system.entry.js} +1 -1
  365. package/dist/taro-components/p-5893c3ed.js +1 -0
  366. package/dist/taro-components/{p-fdccd9b3.system.entry.js → p-5a78fbdf.system.entry.js} +1 -1
  367. package/dist/taro-components/{p-f43ba9ed.entry.js → p-5b4de079.entry.js} +1 -1
  368. package/dist/taro-components/{p-feddde29.system.entry.js → p-5b86e66b.system.entry.js} +1 -1
  369. package/dist/taro-components/p-5bfdb5f3.entry.js +1 -0
  370. package/dist/taro-components/{p-dea67974.system.entry.js → p-5c0f97d3.system.entry.js} +1 -1
  371. package/dist/taro-components/{p-f8970571.entry.js → p-5dbabb65.entry.js} +1 -1
  372. package/dist/taro-components/p-5f4c6ca5.entry.js +1 -0
  373. package/dist/taro-components/{p-747bdbaa.system.entry.js → p-618ee593.system.entry.js} +1 -1
  374. package/dist/taro-components/p-62df5526.entry.js +1 -0
  375. package/dist/taro-components/{p-1eb875d0.system.entry.js → p-66029061.system.entry.js} +1 -1
  376. package/dist/taro-components/{p-443fe754.system.entry.js → p-69e70cd5.system.entry.js} +1 -1
  377. package/dist/taro-components/{p-3708575b.system.entry.js → p-6c06b440.system.entry.js} +1 -1
  378. package/dist/taro-components/{p-680ba5a1.system.entry.js → p-6f1034a6.system.entry.js} +1 -1
  379. package/dist/taro-components/p-6f3187bc.entry.js +1 -0
  380. package/dist/taro-components/p-6f8926e3.entry.js +1 -0
  381. package/dist/taro-components/{p-c7679d57.entry.js → p-756aa971.entry.js} +1 -1
  382. package/dist/taro-components/p-7615d8a6.system.entry.js +1 -0
  383. package/dist/taro-components/p-77e030e9.system.entry.js +1 -0
  384. package/dist/taro-components/p-7b3ce3af.system.entry.js +1 -0
  385. package/dist/taro-components/p-7b80637e.system.entry.js +1 -0
  386. package/dist/taro-components/p-7e3f0837.entry.js +1 -0
  387. package/dist/taro-components/p-7f3d9184.entry.js +1 -0
  388. package/dist/taro-components/p-80228985.entry.js +1 -0
  389. package/dist/taro-components/{p-6d1e33e1.system.entry.js → p-80fa706c.system.entry.js} +1 -1
  390. package/dist/taro-components/{p-58d410c6.system.entry.js → p-829157b1.system.entry.js} +1 -1
  391. package/dist/taro-components/p-82c5b9d3.entry.js +1 -0
  392. package/dist/taro-components/{p-72d7fae0.system.entry.js → p-82d52f00.system.entry.js} +1 -1
  393. package/dist/taro-components/p-8a6e93ed.entry.js +1 -0
  394. package/dist/taro-components/{p-7dee8f07.system.entry.js → p-8b7e37c9.system.entry.js} +1 -1
  395. package/dist/taro-components/{p-7de7d96c.entry.js → p-8bde1f48.entry.js} +1 -1
  396. package/dist/taro-components/{p-475f9ed3.system.entry.js → p-90ee19f8.system.entry.js} +1 -1
  397. package/dist/taro-components/{p-b4e3f72e.system.entry.js → p-923aa1c8.system.entry.js} +1 -1
  398. package/dist/taro-components/{p-6f45f110.entry.js → p-92b7b545.entry.js} +1 -1
  399. package/dist/taro-components/{p-4ff6ad99.system.entry.js → p-93b39a89.system.entry.js} +1 -1
  400. package/dist/taro-components/{p-f094089c.system.entry.js → p-970a4199.system.entry.js} +1 -1
  401. package/dist/taro-components/{p-810b9a86.system.entry.js → p-97177863.system.entry.js} +1 -1
  402. package/dist/taro-components/p-99440bcc.system.entry.js +1 -0
  403. package/dist/taro-components/{p-3967311b.system.entry.js → p-9f3e0019.system.entry.js} +1 -1
  404. package/dist/taro-components/{p-1c95795d.entry.js → p-a0f42e7f.entry.js} +1 -1
  405. package/dist/taro-components/p-a2f848cc.entry.js +1 -0
  406. package/dist/taro-components/{p-6c48d884.entry.js → p-a6790f39.entry.js} +1 -1
  407. package/dist/taro-components/{p-635fe530.system.entry.js → p-a997cf7c.system.entry.js} +1 -1
  408. package/dist/taro-components/p-aa11b00c.system.entry.js +1 -0
  409. package/dist/taro-components/{p-d8f78d99.system.entry.js → p-adee7f1b.system.entry.js} +1 -1
  410. package/dist/taro-components/{p-fff30a48.entry.js → p-ae99551a.entry.js} +1 -1
  411. package/dist/taro-components/p-aed23034.system.entry.js +1 -0
  412. package/dist/taro-components/p-b259a558.system.entry.js +1 -0
  413. package/dist/taro-components/{p-48c52124.entry.js → p-b3129dec.entry.js} +1 -1
  414. package/dist/taro-components/p-b3419d7f.system.entry.js +1 -0
  415. package/dist/taro-components/p-b43fa9b0.entry.js +1 -0
  416. package/dist/taro-components/p-b4707cdd.entry.js +1 -0
  417. package/dist/taro-components/{p-18ea7e10.system.entry.js → p-b655e854.system.entry.js} +1 -1
  418. package/dist/taro-components/{p-1d3ed211.system.entry.js → p-b66dfc82.system.entry.js} +1 -1
  419. package/dist/taro-components/{p-e769cea4.system.entry.js → p-ba241824.system.entry.js} +1 -1
  420. package/dist/taro-components/p-baea6a63.entry.js +1 -0
  421. package/dist/taro-components/p-bdafd94c.system.entry.js +1 -0
  422. package/dist/taro-components/p-be68ae6e.system.entry.js +1 -0
  423. package/dist/taro-components/p-c0d93f74.entry.js +1 -0
  424. package/dist/taro-components/{p-eab8a6b0.entry.js → p-c0f16127.entry.js} +1 -1
  425. package/dist/taro-components/{p-222573ad.entry.js → p-c253be9f.entry.js} +1 -1
  426. package/dist/taro-components/p-c2da52a5.entry.js +1 -0
  427. package/dist/taro-components/p-c58627f4.entry.js +1 -0
  428. package/dist/taro-components/p-c863ac7f.system.entry.js +1 -0
  429. package/dist/taro-components/{p-178cb282.system.entry.js → p-cee51d71.system.entry.js} +1 -1
  430. package/dist/taro-components/{p-0b6e9013.system.entry.js → p-d12b6a84.system.entry.js} +1 -1
  431. package/dist/taro-components/p-d184903b.entry.js +1 -0
  432. package/dist/taro-components/{p-d81577b8.system.entry.js → p-d1a095bd.system.entry.js} +1 -1
  433. package/dist/taro-components/p-d29a59cd.entry.js +1 -0
  434. package/dist/taro-components/p-da4c4cad.entry.js +1 -0
  435. package/dist/taro-components/p-dbeadc04.system.entry.js +1 -0
  436. package/dist/taro-components/{p-345cb56f.entry.js → p-dc366f18.entry.js} +1 -1
  437. package/dist/taro-components/p-dd7a128d.js +2 -0
  438. package/dist/taro-components/{p-f232cf02.entry.js → p-dde26531.entry.js} +1 -1
  439. package/dist/taro-components/{p-abd51173.system.entry.js → p-de1d495a.system.entry.js} +1 -1
  440. package/dist/taro-components/p-e23769c4.entry.js +1 -0
  441. package/dist/taro-components/{p-e7232d54.system.entry.js → p-e2694a79.system.entry.js} +1 -1
  442. package/dist/taro-components/p-e2a22cd1.entry.js +1 -0
  443. package/dist/taro-components/{p-6e1f0e6d.system.entry.js → p-e41ed824.system.entry.js} +1 -1
  444. package/dist/taro-components/p-e5a80896.system.entry.js +1 -0
  445. package/dist/taro-components/{p-edb9e04e.system.entry.js → p-e5b43c80.system.entry.js} +1 -1
  446. package/dist/taro-components/{p-46a9adcf.system.entry.js → p-e6a2f1bd.system.entry.js} +1 -1
  447. package/dist/taro-components/p-e8753c5c.entry.js +1 -0
  448. package/dist/taro-components/p-ead6e57b.entry.js +1 -0
  449. package/dist/taro-components/p-ec00e517.entry.js +1 -0
  450. package/dist/taro-components/p-ed081b3d.entry.js +1 -0
  451. package/dist/taro-components/{p-aa1ea71b.system.entry.js → p-eda34d91.system.entry.js} +1 -1
  452. package/dist/taro-components/{p-8d797863.system.entry.js → p-ee9d6467.system.entry.js} +1 -1
  453. package/dist/taro-components/{p-3d7626a9.system.entry.js → p-f0056aca.system.entry.js} +1 -1
  454. package/dist/taro-components/p-f470ce9f.system.entry.js +1 -0
  455. package/dist/taro-components/p-f662c928.entry.js +1 -0
  456. package/dist/taro-components/p-f7198b67.system.entry.js +1 -0
  457. package/dist/taro-components/{p-c2259653.system.entry.js → p-f782ee74.system.entry.js} +1 -1
  458. package/dist/taro-components/p-f94c0445.system.entry.js +1 -0
  459. package/dist/taro-components/p-f9a13a5c.entry.js +1 -0
  460. package/dist/taro-components/{p-67dcb636.system.entry.js → p-fbb789a4.system.entry.js} +1 -1
  461. package/dist/taro-components/{p-9f5ebe09.system.entry.js → p-fe1dd94f.system.entry.js} +1 -1
  462. package/dist/taro-components/{p-fbc2b53e.entry.js → p-fe8ee676.entry.js} +1 -1
  463. package/dist/taro-components/{p-03538d40.system.entry.js → p-ffaac078.system.entry.js} +1 -1
  464. package/dist/taro-components/taro-components.css +1 -5
  465. package/dist/taro-components/taro-components.esm.js +1 -1
  466. package/dist/taro-components/taro-components.js +1 -1
  467. package/dist/types/components/switch/switch.d.ts +3 -3
  468. package/dist/types/components/textarea/textarea.d.ts +1 -0
  469. package/dist/types/utils/index.d.ts +2 -0
  470. package/lib/react/react-component-lib/createComponent.js +3 -2
  471. package/lib/react/react-component-lib/createComponent.js.map +1 -1
  472. package/lib/react/react-component-lib/createOverlayComponent.js +1 -1
  473. package/lib/react/react-component-lib/utils/attachProps.d.ts +16 -7
  474. package/lib/react/react-component-lib/utils/attachProps.js +85 -9
  475. package/lib/react/react-component-lib/utils/attachProps.js.map +1 -1
  476. package/lib/react/react-component-lib/utils/index.js +1 -1
  477. package/lib/vue2/components-loader.js +1 -1
  478. package/package.json +16 -15
  479. package/types/Audio.d.ts +11 -11
  480. package/types/Button.d.ts +9 -9
  481. package/types/Canvas.d.ts +11 -11
  482. package/types/Checkbox.d.ts +8 -8
  483. package/types/CheckboxGroup.d.ts +3 -3
  484. package/types/CoverImage.d.ts +4 -4
  485. package/types/CoverView.d.ts +1 -1
  486. package/types/CustomWrapper.d.ts +1 -1
  487. package/types/Form.d.ts +4 -4
  488. package/types/Icon.d.ts +4 -4
  489. package/types/Image.d.ts +8 -8
  490. package/types/Input.d.ts +22 -17
  491. package/types/Label.d.ts +2 -2
  492. package/types/Map.d.ts +0 -2
  493. package/types/MovableArea.d.ts +2 -2
  494. package/types/MovableView.d.ts +18 -18
  495. package/types/NativeSlot.d.ts +1 -1
  496. package/types/Navigator.d.ts +8 -8
  497. package/types/PageMeta.d.ts +6 -0
  498. package/types/Picker.d.ts +49 -28
  499. package/types/PickerView.d.ts +6 -1
  500. package/types/PickerViewColumn.d.ts +1 -1
  501. package/types/Progress.d.ts +13 -13
  502. package/types/Radio.d.ts +7 -7
  503. package/types/RadioGroup.d.ts +2 -2
  504. package/types/RichText.d.ts +5 -5
  505. package/types/ScrollView.d.ts +13 -13
  506. package/types/ShareElement.d.ts +1 -0
  507. package/types/Slider.d.ts +18 -13
  508. package/types/Slot.d.ts +1 -1
  509. package/types/Swiper.d.ts +18 -20
  510. package/types/SwiperItem.d.ts +2 -2
  511. package/types/Switch.d.ts +12 -7
  512. package/types/Text.d.ts +4 -4
  513. package/types/Textarea.d.ts +18 -13
  514. package/types/Video.d.ts +30 -30
  515. package/types/View.d.ts +4 -4
  516. package/types/WebView.d.ts +4 -4
  517. package/types/common.d.ts +6 -1
  518. package/dist/cjs/hls-dfcad743.js +0 -25797
  519. package/dist/cjs/intersection-observer-dc4cfcef.js +0 -728
  520. package/dist/collection/components/input/index.css +0 -12
  521. package/dist/components/hls.js +0 -25795
  522. package/dist/components/intersection-observer.js +0 -726
  523. package/dist/esm/hls-268fc25b.js +0 -25795
  524. package/dist/esm/intersection-observer-8e4c7135.js +0 -726
  525. package/dist/esm-es5/hls-268fc25b.js +0 -1
  526. package/dist/esm-es5/index-6bb77c5f.js +0 -2
  527. package/dist/esm-es5/index-d1b03e47.js +0 -1
  528. package/dist/esm-es5/intersection-observer-8e4c7135.js +0 -1
  529. package/dist/taro-components/p-00113225.system.entry.js +0 -1
  530. package/dist/taro-components/p-0030841b.system.js +0 -1
  531. package/dist/taro-components/p-0910d414.entry.js +0 -1
  532. package/dist/taro-components/p-0e37fb54.entry.js +0 -1
  533. package/dist/taro-components/p-11c962b9.entry.js +0 -1
  534. package/dist/taro-components/p-139d64f1.entry.js +0 -1
  535. package/dist/taro-components/p-175edd50.entry.js +0 -1
  536. package/dist/taro-components/p-1f36cd5f.entry.js +0 -1
  537. package/dist/taro-components/p-1f88349b.entry.js +0 -1
  538. package/dist/taro-components/p-2145dccb.entry.js +0 -1
  539. package/dist/taro-components/p-215881b4.entry.js +0 -1
  540. package/dist/taro-components/p-2339a4d3.entry.js +0 -1
  541. package/dist/taro-components/p-277892fe.system.entry.js +0 -1
  542. package/dist/taro-components/p-27c756c5.system.entry.js +0 -1
  543. package/dist/taro-components/p-2aff4cdb.entry.js +0 -1
  544. package/dist/taro-components/p-2e2487bf.system.entry.js +0 -1
  545. package/dist/taro-components/p-332dc867.entry.js +0 -1
  546. package/dist/taro-components/p-333305e3.entry.js +0 -1
  547. package/dist/taro-components/p-35160fd2.entry.js +0 -1
  548. package/dist/taro-components/p-37edf3f6.entry.js +0 -1
  549. package/dist/taro-components/p-3ad92100.system.entry.js +0 -1
  550. package/dist/taro-components/p-3b1d2d37.system.js +0 -1
  551. package/dist/taro-components/p-3cd71da3.system.entry.js +0 -1
  552. package/dist/taro-components/p-4aeb3859.system.entry.js +0 -1
  553. package/dist/taro-components/p-4d609ebb.system.entry.js +0 -1
  554. package/dist/taro-components/p-4d89b685.entry.js +0 -1
  555. package/dist/taro-components/p-527c55ca.entry.js +0 -1
  556. package/dist/taro-components/p-550c350a.entry.js +0 -1
  557. package/dist/taro-components/p-5b028f1b.js +0 -1
  558. package/dist/taro-components/p-619b9fe5.system.entry.js +0 -1
  559. package/dist/taro-components/p-6df6fd58.entry.js +0 -1
  560. package/dist/taro-components/p-6f5e162d.entry.js +0 -1
  561. package/dist/taro-components/p-70bd0541.entry.js +0 -1
  562. package/dist/taro-components/p-728b6f8f.system.entry.js +0 -1
  563. package/dist/taro-components/p-72f327e1.js +0 -1
  564. package/dist/taro-components/p-79b675c8.entry.js +0 -1
  565. package/dist/taro-components/p-7b39971e.system.entry.js +0 -1
  566. package/dist/taro-components/p-7ba17143.entry.js +0 -1
  567. package/dist/taro-components/p-7be1f603.entry.js +0 -1
  568. package/dist/taro-components/p-7e90dfef.js +0 -2
  569. package/dist/taro-components/p-817b319c.system.entry.js +0 -1
  570. package/dist/taro-components/p-907d2fe0.entry.js +0 -1
  571. package/dist/taro-components/p-93a3d6ee.entry.js +0 -1
  572. package/dist/taro-components/p-9c91aee3.system.entry.js +0 -1
  573. package/dist/taro-components/p-9e788d33.entry.js +0 -1
  574. package/dist/taro-components/p-9feeee0f.system.entry.js +0 -1
  575. package/dist/taro-components/p-a3dad439.entry.js +0 -1
  576. package/dist/taro-components/p-a4ea7a51.system.entry.js +0 -1
  577. package/dist/taro-components/p-a54735cb.entry.js +0 -1
  578. package/dist/taro-components/p-a5adbf15.system.entry.js +0 -1
  579. package/dist/taro-components/p-a744e7aa.entry.js +0 -1
  580. package/dist/taro-components/p-b1977132.entry.js +0 -1
  581. package/dist/taro-components/p-b2ad9709.entry.js +0 -1
  582. package/dist/taro-components/p-b3780eab.system.entry.js +0 -1
  583. package/dist/taro-components/p-b69bcd43.entry.js +0 -1
  584. package/dist/taro-components/p-b9c2a210.system.entry.js +0 -1
  585. package/dist/taro-components/p-bb454378.entry.js +0 -1
  586. package/dist/taro-components/p-bd5177d3.system.js +0 -1
  587. package/dist/taro-components/p-bd6574cf.entry.js +0 -1
  588. package/dist/taro-components/p-bfea77f9.entry.js +0 -1
  589. package/dist/taro-components/p-c0a59843.entry.js +0 -1
  590. package/dist/taro-components/p-cb21f4f1.entry.js +0 -1
  591. package/dist/taro-components/p-cd0f3444.entry.js +0 -1
  592. package/dist/taro-components/p-cdd48677.system.js +0 -2
  593. package/dist/taro-components/p-d3c7f87d.js +0 -1
  594. package/dist/taro-components/p-d42968e9.system.entry.js +0 -1
  595. package/dist/taro-components/p-d55f870d.entry.js +0 -1
  596. package/dist/taro-components/p-daabfc6e.entry.js +0 -1
  597. package/dist/taro-components/p-dda03c84.entry.js +0 -1
  598. package/dist/taro-components/p-deff0bb8.entry.js +0 -1
  599. package/dist/taro-components/p-e6e3c1d7.entry.js +0 -1
  600. package/dist/taro-components/p-e82e16a1.entry.js +0 -1
  601. package/dist/taro-components/p-ee4da4db.system.js +0 -1
  602. package/dist/taro-components/p-f003caad.entry.js +0 -1
  603. package/dist/taro-components/p-f111303f.entry.js +0 -1
  604. package/dist/taro-components/p-f75d094e.system.entry.js +0 -1
  605. package/dist/taro-components/p-fbec1f96.entry.js +0 -1
  606. package/lib/react/node_modules/.pnpm/tslib@2.6.2/node_modules/tslib/tslib.es6.js +0 -373
  607. package/lib/react/node_modules/.pnpm/tslib@2.6.2/node_modules/tslib/tslib.es6.js.map +0 -1
  608. /package/dist/cjs/{index-b8c435ee.js → index-f6805218.js} +0 -0
  609. /package/dist/esm/{index-a74b6944.js → index-c3e4004b.js} +0 -0
  610. /package/dist/esm-es5/{index-a74b6944.js → index-c3e4004b.js} +0 -0
  611. /package/dist/taro-components/{p-34de4101.system.js → p-2ec68968.system.js} +0 -0
  612. /package/dist/taro-components/{p-19f218e6.js → p-de951a46.js} +0 -0
  613. /package/lib/vue2/node_modules/.pnpm/{vue-fragment@1.6.0_vue@2.7.15 → registry.npmjs.org_vue-fragment@1.6.0_vue@2.7.14}/node_modules/vue-fragment/dist/vue-fragment.esm.js +0 -0
  614. /package/lib/vue2/node_modules/.pnpm/{vue-fragment@1.6.0_vue@2.7.15 → registry.npmjs.org_vue-fragment@1.6.0_vue@2.7.14}/node_modules/vue-fragment/dist/vue-fragment.esm.js.map +0 -0
@@ -2,59 +2,59 @@ import { ComponentType } from 'react'
2
2
  import { StandardProps, CommonEventFunction } from './common'
3
3
  interface ProgressProps extends StandardProps {
4
4
  /** 百分比 0~100
5
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
5
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
6
6
  */
7
7
  percent?: number
8
8
  /** 在进度条右侧显示百分比
9
9
  * @default false
10
- * @supported weapp, alipay, swan, qq, jd, h5, rn
10
+ * @supported weapp, alipay, swan, qq, jd, h5, rn, harmony_hybrid
11
11
  */
12
12
  showInfo?: boolean
13
13
  /** 圆角大小
14
14
  * @default 0
15
- * @supported weapp, swan, qq, jd, h5
15
+ * @supported weapp, swan, qq, jd, h5, harmony_hybrid
16
16
  */
17
17
  borderRadius?: number | string
18
18
  /** 右侧百分比字体大小
19
19
  * @default 16
20
- * @supported weapp, swan, qq, jd, h5
20
+ * @supported weapp, swan, qq, jd, h5, harmony_hybrid
21
21
  */
22
22
  fontSize?: number | string
23
23
  /** 进度条线的宽度
24
24
  * @default 6
25
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
25
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
26
26
  */
27
27
  strokeWidth?: number | string
28
28
  /** 进度条颜色 (请使用 activeColor)
29
29
  * @default "#09BB07"
30
- * @supported weapp, swan, qq, jd, h5
30
+ * @supported weapp, swan, qq, jd, h5, harmony_hybrid
31
31
  */
32
32
  color?: string
33
33
  /** 已选择的进度条的颜色
34
34
  * @default "#09BB07"
35
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
35
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
36
36
  */
37
37
  activeColor?: string
38
38
  /** 未选择的进度条的颜色
39
39
  * @default "#EBEBEB"
40
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
40
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
41
41
  */
42
42
  backgroundColor?: string
43
43
  /** 进度条从左往右的动画
44
44
  * @default false
45
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
45
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
46
46
  */
47
47
  active?: boolean
48
48
  /** backwards: 动画从头播
49
49
  *
50
50
  * forwards: 动画从上次结束点接着播
51
51
  * @default backwards
52
- * @supported weapp, swan, tt, qq, jd, h5, rn
52
+ * @supported weapp, swan, tt, qq, jd, h5, rn, harmony_hybrid
53
53
  */
54
54
  activeMode?: 'backwards' | 'forwards'
55
55
  /** 进度增加 1% 所需毫秒数
56
56
  * @default 30
57
- * @supported weapp, swan, tt, jd, h5
57
+ * @supported weapp, swan, tt, jd, h5, harmony_hybrid
58
58
  */
59
59
  duration?: number
60
60
  /** 无障碍访问,(属性)元素的额外描述
@@ -62,13 +62,13 @@ interface ProgressProps extends StandardProps {
62
62
  */
63
63
  ariaLabel?: string
64
64
  /** 动画完成事件
65
- * @supported weapp, tt, qq, jd, h5
65
+ * @supported weapp, tt, qq, jd, h5, harmony_hybrid
66
66
  */
67
67
  onActiveEnd?: CommonEventFunction
68
68
  }
69
69
  /** 进度条。组件属性的长度单位默认为 px
70
70
  * @classification base
71
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
71
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
72
72
  * @example_react
73
73
  * ```tsx
74
74
  * export default class PageView extends Component {
package/types/Radio.d.ts CHANGED
@@ -2,17 +2,17 @@ import { ComponentType } from 'react'
2
2
  import { StandardProps, CommonEventFunction, FormItemProps } from './common'
3
3
  interface RadioProps extends StandardProps {
4
4
  /** `<Radio/>` 标识。当该`<Radio/>` 选中时,`<RadioGroup/>`的 change 事件会携带`<Radio/>`的 value
5
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
5
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
6
6
  */
7
7
  value?: string
8
8
  /** 当前是否选中
9
9
  * @default false
10
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
10
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
11
11
  */
12
12
  checked?: boolean
13
13
  /** 是否禁用
14
14
  * @default false
15
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
15
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
16
16
  */
17
17
  disabled?: boolean
18
18
  /** Radio 的颜色,同 css 的 color
@@ -22,11 +22,11 @@ interface RadioProps extends StandardProps {
22
22
  color?: string
23
23
  /**
24
24
  * Radio 的名字
25
- * @supported h5, harmony
25
+ * @supported h5, harmony, harmony_hybrid
26
26
  */
27
27
  name?: string
28
28
  /** 用于透传 `WebComponents` 上的属性到内部 H5 标签上
29
- * @supported h5
29
+ * @supported h5, harmony_hybrid
30
30
  */
31
31
  nativeProps?: Record<string, unknown>
32
32
  /** 无障碍访问,(属性)元素的额外描述
@@ -34,7 +34,7 @@ interface RadioProps extends StandardProps {
34
34
  */
35
35
  ariaLabel?: string
36
36
  /** <radio-group/> 中的选中项发生变化时触发 change 事件
37
- * @supported h5, rn, harmony
37
+ * @supported h5, rn, harmony, harmony_hybrid
38
38
  */
39
39
  onChange?: CommonEventFunction<{
40
40
  value?: string
@@ -42,7 +42,7 @@ interface RadioProps extends StandardProps {
42
42
  }
43
43
  /** 单选项目
44
44
  * @classification forms
45
- * @supported weapp, alipay, swan, tt, qq, h5, rn, harmony
45
+ * @supported weapp, alipay, swan, tt, qq, h5, rn, harmony, harmony_hybrid
46
46
  * @example_react
47
47
  * ```tsx
48
48
  * export default class PageRadio extends Component {
@@ -6,7 +6,7 @@ interface RadioGroupProps extends StandardProps, FormItemProps {
6
6
  */
7
7
  name?: string
8
8
  /** RadioGroup 中选中项发生改变时触发 change 事件,detail = {value:[选中的radio的value的数组]}
9
- * @supported weapp, alipay, swan, tt, qq, jd, h5
9
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, harmony_hybrid
10
10
  */
11
11
  onChange?: CommonEventFunction
12
12
  }
@@ -17,7 +17,7 @@ declare namespace RadioGroupProps {
17
17
  }
18
18
  /** 单项选择器,内部由多个 Radio 组成。
19
19
  * @classification forms
20
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
20
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
21
21
  * @see https://developers.weixin.qq.com/miniprogram/dev/component/radio-group.html
22
22
  */
23
23
  declare const RadioGroup: ComponentType<RadioGroupProps>
@@ -3,20 +3,20 @@ import { CommonEventFunction, StandardProps } from './common'
3
3
  interface RichTextProps extends StandardProps {
4
4
  /** 文本是否可选,该属性会使节点显示为 block
5
5
  * @default false
6
- * @supported weapp, h5
6
+ * @supported weapp, h5, harmony_hybrid
7
7
  */
8
8
  userSelect?: boolean
9
9
  /** 节点列表/ HTML String
10
- * @supported weapp, alipay, swan, tt, qq, h5, rn, harmony
10
+ * @supported weapp, alipay, swan, tt, qq, h5, rn, harmony, harmony_hybrid
11
11
  */
12
12
  nodes?: Nodes
13
13
  /** 显示连续空格
14
- * @supported weapp, alipay, tt, qq, h5, rn
14
+ * @supported weapp, alipay, tt, qq, h5, rn, harmony_hybrid
15
15
  */
16
16
  space?: keyof RichTextProps.TSpace
17
17
  /** 富文本是否可以长按选中,可用于复制,粘贴,长按搜索等场景
18
18
  * @default false(基础库 3.150.1 以前版本)true(基础库 3.150.1 及以后版本)
19
- * @supported swan, h5
19
+ * @supported swan, h5, harmony_hybrid
20
20
  */
21
21
  selectable?: string
22
22
  /** 阻止长按图片时弹起默认菜单(将该属性设置为image-menu-prevent或image-menu-prevent="true"),只在初始化时有效,不能动态变更;若不想阻止弹起默认菜单,则不需要设置此属性
@@ -99,7 +99,7 @@ declare namespace RichTextProps {
99
99
  }
100
100
  /** 富文本
101
101
  * @classification base
102
- * @supported weapp, swan, alipay, tt, h5, rn, harmony
102
+ * @supported weapp, swan, alipay, tt, h5, rn, harmony, harmony_hybrid
103
103
  * @example_react
104
104
  * ```tsx
105
105
  * class App extends Components {
@@ -3,40 +3,40 @@ import { BaseEventOrigFunction, CommonEventFunction, StandardProps } from './com
3
3
  interface ScrollViewProps extends StandardProps {
4
4
  /** 允许横向滚动
5
5
  * @default false
6
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
6
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
7
7
  * @rn 二选一
8
8
  */
9
9
  scrollX?: boolean
10
10
  /** 允许纵向滚动
11
11
  * @default false
12
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
12
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
13
13
  * @rn 二选一
14
14
  */
15
15
  scrollY?: boolean
16
16
  /** 距顶部/左边多远时(单位px),触发 scrolltoupper 事件
17
17
  * @default 50
18
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
18
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
19
19
  */
20
20
  upperThreshold?: number
21
21
  /** 距底部/右边多远时(单位px),触发 scrolltolower 事件
22
22
  * @default 50
23
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
23
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
24
24
  */
25
25
  lowerThreshold?: number
26
26
  /** 设置竖向滚动条位置
27
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
27
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
28
28
  */
29
29
  scrollTop?: number
30
30
  /** 设置横向滚动条位置
31
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
31
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
32
32
  */
33
33
  scrollLeft?: number
34
34
  /** 值应为某子元素id(id不能以数字开头)。设置哪个方向可滚动,则在哪个方向滚动到该元素
35
- * @supported weapp, alipay, swan, tt, qq, jd, h5
35
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, harmony_hybrid
36
36
  */
37
37
  scrollIntoView?: string
38
38
  /** 在设置滚动条位置时使用动画过渡
39
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
39
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
40
40
  * @default false
41
41
  */
42
42
  scrollWithAnimation?: boolean
@@ -172,7 +172,7 @@ interface ScrollViewProps extends StandardProps {
172
172
  * center - 目标节点显示在视口中间
173
173
  * end - 目标节点显示在视口结束处
174
174
  * nearest - 目标节点在就近的视口边缘显示,若节点已在视口内则不触发滚动
175
- * @supported weapp, h5
175
+ * @supported weapp, h5, harmony_hybrid
176
176
  * @default 'start'
177
177
  */
178
178
  scrollIntoViewAlignment?: 'start' | 'center' | 'end' | 'nearest'
@@ -212,15 +212,15 @@ interface ScrollViewProps extends StandardProps {
212
212
  */
213
213
  refresherTwoLevelPinned?: boolean
214
214
  /** 滚动到顶部/左边,会触发 scrolltoupper 事件
215
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
215
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
216
216
  */
217
217
  onScrollToUpper?: CommonEventFunction
218
218
  /** 滚动到底部/右边,会触发 scrolltolower 事件
219
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
219
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
220
220
  */
221
221
  onScrollToLower?: CommonEventFunction
222
222
  /** 滚动时触发
223
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
223
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
224
224
  */
225
225
  onScroll?: BaseEventOrigFunction<ScrollViewProps.onScrollDetail>
226
226
  /** 滚动开始事件
@@ -337,7 +337,7 @@ declare namespace ScrollViewProps {
337
337
  * H5 中 ScrollView 组件是通过一个高度(或宽度)固定的容器内部滚动来实现的,因此务必正确的设置容器的高度。例如: 如果 ScrollView 的高度将 body 撑开,就会同时存在两个滚动条(body 下的滚动条,以及 ScrollView 的滚动条)。
338
338
  * 微信小程序 中 ScrollView 组件如果设置 scrollX 横向滚动时,并且子元素为多个时(单个子元素时设置固定宽度则可以正常横向滚动),需要通过 WXSS 设置 `white-space: nowrap` 来保证元素不换行,并对 ScrollView 内部元素设置 `display: inline-block` 来使其能够横向滚动。
339
339
  * @classification viewContainer
340
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
340
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
341
341
  * @example_react
342
342
  * ```tsx
343
343
  * export default class PageView extends Component {
@@ -8,6 +8,7 @@ interface ShareElementProps extends StandardProps {
8
8
  key?: string
9
9
  /** 映射标记
10
10
  * @supported weapp
11
+ * @unique
11
12
  */
12
13
  mapkey?: string
13
14
  /** 映射标记
package/types/Slider.d.ts CHANGED
@@ -3,29 +3,34 @@ import { StandardProps, CommonEventFunction, FormItemProps } from './common'
3
3
  interface SliderProps extends StandardProps, FormItemProps {
4
4
  /** 最小值
5
5
  * @default 0
6
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
6
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
7
7
  */
8
8
  min?: number
9
9
  /** 最大值
10
10
  * @default 100
11
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
11
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
12
12
  */
13
13
  max?: number
14
14
  /** 步长,取值必须大于 0,并且可被(max - min)整除
15
15
  * @default 1
16
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
16
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
17
17
  */
18
18
  step?: number
19
19
  /** 是否禁用
20
20
  * @default false
21
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
21
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
22
22
  */
23
23
  disabled?: boolean
24
24
  /** 当前取值
25
25
  * @default 0
26
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
26
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
27
27
  */
28
28
  value?: number
29
+ /** 设置 React 非受控状态下的初始取值
30
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
31
+ * @unique
32
+ */
33
+ defaultValue?: string
29
34
  /** 背景条的颜色(请使用 backgroundColor)
30
35
  * @default "#e9e9e9"
31
36
  * @supported weapp, tt, qq, jd, harmony
@@ -38,27 +43,27 @@ interface SliderProps extends StandardProps, FormItemProps {
38
43
  selectedColor?: string
39
44
  /** 已选择的颜色
40
45
  * @default "#1aad19"
41
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
46
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
42
47
  */
43
48
  activeColor?: string
44
49
  /** 背景条的颜色
45
50
  * @default "#e9e9e9"
46
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
51
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
47
52
  */
48
53
  backgroundColor?: string
49
54
  /** 滑块的大小,取值范围为 12 - 28
50
55
  * @default 28
51
- * @supported weapp, swan, tt, qq, jd, h5, harmony
56
+ * @supported weapp, swan, tt, qq, jd, h5, harmony, harmony_hybrid
52
57
  */
53
58
  blockSize?: number
54
59
  /** 滑块的颜色
55
60
  * @default "#ffffff"
56
- * @supported weapp, swan, tt, qq, jd, h5, rn, harmony
61
+ * @supported weapp, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
57
62
  */
58
63
  blockColor?: string
59
64
  /** 是否显示当前 value
60
65
  * @default false
61
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
66
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
62
67
  */
63
68
  showValue?: boolean
64
69
  /** 组件名字,用于表单提交获取数据。
@@ -84,11 +89,11 @@ interface SliderProps extends StandardProps, FormItemProps {
84
89
  */
85
90
  ariaLabel?: string
86
91
  /** 完成一次拖动后触发的事件
87
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
92
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
88
93
  */
89
94
  onChange?: CommonEventFunction<SliderProps.onChangeEventDetail>
90
95
  /** 拖动过程中触发的事件
91
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
96
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
92
97
  */
93
98
  onChanging?: CommonEventFunction<SliderProps.onChangeEventDetail>
94
99
  }
@@ -99,7 +104,7 @@ declare namespace SliderProps {
99
104
  }
100
105
  /** 滑动选择器
101
106
  * @classification forms
102
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
107
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
103
108
  * @example_react
104
109
  * ```tsx
105
110
  * export default class PageView extends Component {
package/types/Slot.d.ts CHANGED
@@ -17,7 +17,7 @@ interface SlotProps extends StandardProps {
17
17
 
18
18
  /** slot 插槽
19
19
  * @classification viewContainer
20
- * @supported weapp, swan, alipay, tt, jd, qq, h5
20
+ * @supported weapp, swan, alipay, tt, jd, qq, h5, harmony_hybrid
21
21
  * @example
22
22
  * ```tsx
23
23
  * import { Slot, View, Text } from '@tarojs/components'
package/types/Swiper.d.ts CHANGED
@@ -3,65 +3,63 @@ import { StandardProps, CommonEventFunction } from './common'
3
3
  interface SwiperProps extends StandardProps {
4
4
  /** 是否显示面板指示点
5
5
  * @default false
6
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
6
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
7
7
  */
8
8
  indicatorDots?: boolean
9
9
  /** 指示点颜色
10
10
  * @default "rgba(0, 0, 0, .3)"
11
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
11
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
12
12
  */
13
13
  indicatorColor?: string
14
14
  /** 当前选中的指示点颜色
15
15
  * @default "#000000"
16
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
16
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
17
17
  */
18
18
  indicatorActiveColor?: string
19
19
  /** 是否自动切换
20
20
  * @default false
21
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
21
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
22
22
  */
23
23
  autoplay?: boolean
24
24
  /** 当前所在滑块的 index
25
25
  * @default 0
26
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
26
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
27
27
  */
28
28
  current?: number
29
29
  /** 当前所在滑块的 item-id ,不能与 current 被同时指定
30
- * @supported tt
30
+ * @supported swan, tt, qq, jd
31
31
  * @weapp deprecated
32
32
  * @default ""
33
- * @supported tt
34
- * @weapp deprecated
35
33
  */
36
34
  currentItemId?: string
37
35
  /** 自动切换时间间隔
38
36
  * @default 5000
39
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
37
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
40
38
  */
41
39
  interval?: number
42
40
  /** 滑动动画时长
43
41
  * @default 500
44
- * @supported weapp, alipay, swan, tt, qq, jd, h5, harmony
42
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, harmony, harmony_hybrid
45
43
  */
46
44
  duration?: number
47
45
  /** 是否采用衔接滑动
48
46
  * @default false
49
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
47
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
50
48
  */
51
49
  circular?: boolean
52
50
  /** 滑动方向是否为纵向
53
51
  * @default false
54
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
52
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
55
53
  */
56
54
  vertical?: boolean
57
55
  /** 前边距,可用于露出前一项的一小部分,接受 px 和 rpx 值
58
56
  * @default "0px"
59
- * @supported weapp, alipay, swan, tt, qq, jd, h5
57
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, harmony_hybrid
60
58
  */
61
59
  previousMargin?: string
62
60
  /** 后边距,可用于露出后一项的一小部分,接受 px 和 rpx 值
63
61
  * @default "0px"
64
- * @supported weapp, alipay, swan, tt, qq, jd, h5
62
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, harmony_hybrid
65
63
  */
66
64
  nextMargin?: string
67
65
  /**
@@ -72,7 +70,7 @@ interface SwiperProps extends StandardProps {
72
70
  snapToEdge?: boolean
73
71
  /** 同时显示的滑块数量
74
72
  * @default 1
75
- * @supported weapp, alipay, swan, tt, qq, jd, h5
73
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, harmony_hybrid
76
74
  */
77
75
  displayMultipleItems?: number
78
76
  /** 是否跳过未显示的滑块布局,设为 true 可优化复杂情况下的滑动性能,但会丢失隐藏状态滑块的布局信息
@@ -92,12 +90,12 @@ interface SwiperProps extends StandardProps {
92
90
  disableTouch?: boolean
93
91
  /** 是否启用缩放
94
92
  * @default false
95
- * @supported h5
93
+ * @supported h5, harmony_hybrid
96
94
  */
97
95
  zoom?: boolean
98
96
  /** 是否开启全屏
99
97
  * @default false
100
- * @supported h5
98
+ * @supported h5, harmony_hybrid
101
99
  */
102
100
  full?: boolean
103
101
  /** swiper-item 可见时的 class。
@@ -154,7 +152,7 @@ interface SwiperProps extends StandardProps {
154
152
  */
155
153
  cacheExtent?: number
156
154
  /** current 改变时会触发 change 事件
157
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
155
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
158
156
  */
159
157
  onChange?: CommonEventFunction<SwiperProps.onChangeEventDetail>
160
158
  /** swiper-item 的位置发生改变时会触发 transition 事件
@@ -162,7 +160,7 @@ interface SwiperProps extends StandardProps {
162
160
  */
163
161
  onTransition?: CommonEventFunction<SwiperProps.onTransitionEventDetail>
164
162
  /** 动画结束时会触发 animationfinish 事件
165
- * @supported weapp, swan, tt, qq, jd, h5, rn
163
+ * @supported weapp, swan, tt, qq, jd, h5, rn, harmony_hybrid
166
164
  */
167
165
  onAnimationFinish?: SwiperProps['onChange']
168
166
  /** 动画结束时会触发 animationEnd 事件
@@ -217,7 +215,7 @@ declare namespace SwiperProps {
217
215
  /** 滑块视图容器。其中只可放置 swiper-item 组件,否则会导致未定义的行为。
218
216
  * > 不要为 `SwiperItem` 设置 **style** 属性,可以通过 class 设置样式。[7147](https://github.com/NervJS/taro/issues/7147)
219
217
  * @classification viewContainer
220
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
218
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
221
219
  * @example_react
222
220
  * ```tsx
223
221
  * class App extends Component {
@@ -2,7 +2,7 @@ import { ComponentType } from 'react'
2
2
  import { StandardProps } from './common'
3
3
  interface SwiperItemProps extends StandardProps {
4
4
  /** 该 swiper-item 的标识符
5
- * @supported weapp, swan, tt, jd, h5, rn, harmony
5
+ * @supported weapp, swan, tt, jd, h5, rn, harmony, harmony_hybrid
6
6
  */
7
7
  itemId?: string
8
8
  /** 是否跳过未显示的滑块布局,设为 true 可优化复杂情况下的滑动性能,但会丢失隐藏状态滑块的布局信息
@@ -19,7 +19,7 @@ interface SwiperItemProps extends StandardProps {
19
19
  /** 仅可放置在 swiper 组件中,宽高自动设置为100%
20
20
  * > 不要为 `SwiperItem` 设置 **style** 属性,可以通过 class 设置样式。[7147](https://github.com/NervJS/taro/issues/7147)
21
21
  * @classification viewContainer
22
- * @supported weapp, alipay, swan, tt, jd, h5, rn, harmony
22
+ * @supported weapp, alipay, swan, tt, jd, h5, rn, harmony, harmony_hybrid
23
23
  * @example_react
24
24
  * ```tsx
25
25
  * class App extends Component {
package/types/Switch.d.ts CHANGED
@@ -3,26 +3,31 @@ import { StandardProps, CommonEventFunction, FormItemProps } from './common'
3
3
  interface SwitchProps extends StandardProps, FormItemProps {
4
4
  /** 是否选中
5
5
  * @default false
6
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
6
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
7
7
  */
8
8
  checked?: boolean
9
+ /** 设置在 React 非受控状态下,当前是否选中
10
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
11
+ * @unique
12
+ */
13
+ defaultChecked?: boolean
9
14
  /** 是否禁用
10
15
  * @default false
11
- * @supported weapp, alipay, swan, tt, qq, h5, rn, harmony
16
+ * @supported weapp, alipay, swan, tt, qq, h5, rn, harmony, harmony_hybrid
12
17
  */
13
18
  disabled?: boolean
14
19
  /** 样式,有效值:switch, checkbox
15
20
  * @default "switch"
16
- * @supported weapp, swan, tt, qq, jd, h5, rn, harmony
21
+ * @supported weapp, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
17
22
  */
18
23
  type?: 'switch' | 'checkbox'
19
24
  /** switch 的颜色,同 css 的 color
20
25
  * @default "#04BE02"
21
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
26
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
22
27
  */
23
28
  color?: string
24
29
  /** 用于透传 `WebComponents` 上的属性到内部 H5 标签上
25
- * @supported h5
30
+ * @supported h5, harmony_hybrid
26
31
  */
27
32
  nativeProps?: Record<string, unknown>
28
33
  /** 组件名字,用于表单提交获取数据。
@@ -39,7 +44,7 @@ interface SwitchProps extends StandardProps, FormItemProps {
39
44
  */
40
45
  ariaLabel?: string
41
46
  /** checked 改变时触发 change 事件
42
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
47
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
43
48
  */
44
49
  onChange?: CommonEventFunction<SwitchProps.onChangeEventDetail>
45
50
  }
@@ -84,7 +89,7 @@ declare namespace SwitchProps {
84
89
  * </view>
85
90
  * </template>
86
91
  * ```
87
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
92
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
88
93
  * @see https://developers.weixin.qq.com/miniprogram/dev/component/switch.html
89
94
  */
90
95
  declare const Switch: ComponentType<SwitchProps>
package/types/Text.d.ts CHANGED
@@ -3,16 +3,16 @@ import { StandardProps } from './common'
3
3
  interface TextProps extends StandardProps {
4
4
  /** 文本是否可选
5
5
  * @default false
6
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
6
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
7
7
  */
8
8
  selectable?: boolean
9
9
  /** 文本是否可选,该属性会使文本节点显示为 inline-block
10
10
  * @default false
11
- * @supported weapp, h5
11
+ * @supported weapp, h5, harmony_hybrid
12
12
  */
13
13
  userSelect?: boolean
14
14
  /** 显示连续空格
15
- * @supported weapp, alipay, swan, tt, qq, jd, h5
15
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, harmony_hybrid
16
16
  */
17
17
  space?: keyof TextProps.TSpace
18
18
  /** 是否解码
@@ -43,7 +43,7 @@ declare namespace TextProps {
43
43
  }
44
44
  /** 文本
45
45
  * @classification base
46
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
46
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
47
47
  * @example_react
48
48
  * ```tsx
49
49
  * export default class PageView extends Component {