@tarojs/components 3.5.0-canary.1 → 3.5.0-theta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (456) hide show
  1. package/README.md +2 -0
  2. package/dist/cjs/{index-dd4b7ba3.js → index-13289aba.js} +62 -53
  3. package/dist/cjs/index-47a1959e.js +34 -0
  4. package/dist/{esm/index-3c78bcaf.js → cjs/index-f9d21cc5.js} +12 -1
  5. package/dist/cjs/loader.cjs.js +3 -3
  6. package/dist/cjs/taro-ad-core.cjs.entry.js +1 -1
  7. package/dist/cjs/taro-ad-custom-core.cjs.entry.js +1 -1
  8. package/dist/cjs/taro-audio-core.cjs.entry.js +1 -1
  9. package/dist/cjs/taro-block-core.cjs.entry.js +1 -1
  10. package/dist/cjs/taro-button-core.cjs.entry.js +3 -3
  11. package/dist/cjs/taro-camera-core.cjs.entry.js +1 -1
  12. package/dist/cjs/taro-canvas-core.cjs.entry.js +2 -2
  13. package/dist/cjs/taro-checkbox-core_2.cjs.entry.js +2 -2
  14. package/dist/cjs/taro-components.cjs.js +3 -3
  15. package/dist/cjs/taro-cover-image-core.cjs.entry.js +1 -1
  16. package/dist/cjs/taro-cover-view-core.cjs.entry.js +2 -2
  17. package/dist/cjs/taro-custom-wrapper-core.cjs.entry.js +1 -1
  18. package/dist/cjs/taro-editor-core.cjs.entry.js +1 -1
  19. package/dist/cjs/taro-form-core.cjs.entry.js +1 -1
  20. package/dist/cjs/taro-functional-page-navigator-core.cjs.entry.js +1 -1
  21. package/dist/cjs/taro-icon-core.cjs.entry.js +2 -2
  22. package/dist/cjs/taro-image-core.cjs.entry.js +3 -3
  23. package/dist/cjs/taro-input-core.cjs.entry.js +16 -19
  24. package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js +1 -1
  25. package/dist/cjs/taro-label-core.cjs.entry.js +1 -1
  26. package/dist/cjs/taro-live-player-core.cjs.entry.js +1 -1
  27. package/dist/cjs/taro-live-pusher-core.cjs.entry.js +1 -1
  28. package/dist/cjs/taro-map-core.cjs.entry.js +1 -1
  29. package/dist/cjs/taro-match-media-core.cjs.entry.js +1 -1
  30. package/dist/cjs/taro-movable-area-core.cjs.entry.js +1 -1
  31. package/dist/cjs/taro-movable-view-core.cjs.entry.js +1 -1
  32. package/dist/cjs/taro-navigation-bar-core.cjs.entry.js +1 -1
  33. package/dist/cjs/taro-navigator-core.cjs.entry.js +4 -4
  34. package/dist/cjs/taro-official-account-core.cjs.entry.js +1 -1
  35. package/dist/cjs/taro-open-data-core.cjs.entry.js +1 -1
  36. package/dist/cjs/taro-page-container-core.cjs.entry.js +1 -1
  37. package/dist/cjs/taro-page-meta-core.cjs.entry.js +1 -1
  38. package/dist/cjs/taro-picker-core_2.cjs.entry.js +2 -2
  39. package/dist/cjs/taro-picker-view-column-core.cjs.entry.js +80 -4
  40. package/dist/cjs/taro-picker-view-core.cjs.entry.js +72 -3
  41. package/dist/cjs/taro-progress-core.cjs.entry.js +1 -1
  42. package/dist/cjs/taro-pull-to-refresh.cjs.entry.js +15 -5
  43. package/dist/cjs/taro-radio-core_2.cjs.entry.js +1 -1
  44. package/dist/cjs/taro-rich-text-core.cjs.entry.js +2 -2
  45. package/dist/cjs/taro-scroll-view-core.cjs.entry.js +6 -14
  46. package/dist/cjs/taro-share-element-core.cjs.entry.js +1 -1
  47. package/dist/cjs/taro-slider-core.cjs.entry.js +1 -1
  48. package/dist/cjs/taro-slot-core.cjs.entry.js +1 -1
  49. package/dist/cjs/taro-swiper-core_2.cjs.entry.js +14 -17
  50. package/dist/cjs/taro-switch-core.cjs.entry.js +1 -1
  51. package/dist/cjs/taro-tabbar.cjs.entry.js +38 -38
  52. package/dist/cjs/taro-text-core.cjs.entry.js +3 -3
  53. package/dist/cjs/taro-textarea-core.cjs.entry.js +5 -3
  54. package/dist/cjs/taro-video-control_3.cjs.entry.js +27868 -224
  55. package/dist/cjs/taro-view-core.cjs.entry.js +5 -5
  56. package/dist/cjs/taro-voip-room-core.cjs.entry.js +1 -1
  57. package/dist/cjs/taro-web-view-core.cjs.entry.js +2 -2
  58. package/dist/collection/collection-manifest.json +2 -2
  59. package/dist/collection/components/button/style/index.css +49 -49
  60. package/dist/collection/components/canvas/canvas.js +1 -1
  61. package/dist/collection/components/canvas/style/index.css +6 -6
  62. package/dist/collection/components/checkbox/style/index.css +21 -23
  63. package/dist/collection/components/image/image.js +1 -1
  64. package/dist/collection/components/image/style/index.css +7 -4
  65. package/dist/collection/components/input/index.css +2 -2
  66. package/dist/collection/components/input/input.js +15 -23
  67. package/dist/collection/components/navigator/navigator.js +2 -2
  68. package/dist/collection/components/navigator/{navigator.css → style/index.css} +3 -3
  69. package/dist/collection/components/picker/style/index.css +2 -1
  70. package/dist/collection/components/picker-view/picker-view-column.js +218 -4
  71. package/dist/collection/components/picker-view/picker-view.js +217 -3
  72. package/dist/collection/components/picker-view/style/column.css +12 -0
  73. package/dist/collection/components/picker-view/style/index.css +28 -0
  74. package/dist/collection/components/pull-to-refresh/pull-to-refresh.js +13 -3
  75. package/dist/collection/components/pull-to-refresh/style/index.css +53 -49
  76. package/dist/collection/components/rich-text/rich-text.js +1 -1
  77. package/dist/collection/components/scroll-view/scroll-view.js +3 -11
  78. package/dist/collection/components/swiper/swiper.js +10 -13
  79. package/dist/collection/components/tabbar/style/index.css +9 -6
  80. package/dist/collection/components/tabbar/tabbar.js +13 -13
  81. package/dist/collection/components/text/style/index.css +0 -6
  82. package/dist/collection/components/textarea/style/index.css +5 -5
  83. package/dist/collection/components/textarea/textarea.js +3 -1
  84. package/dist/collection/components/video/style/index.css +88 -109
  85. package/dist/collection/components/video/utils.js +95 -109
  86. package/dist/collection/components/video/video-control.js +9 -9
  87. package/dist/collection/components/video/video.js +57 -9
  88. package/dist/collection/components/view/style/index.css +3 -5
  89. package/dist/collection/components/view/view.js +2 -2
  90. package/dist/collection/components/web-view/style/index.css +1 -1
  91. package/dist/collection/utils/index.js +23 -83
  92. package/dist/collection/utils/style.js +10 -0
  93. package/dist/collection/utils/url.js +67 -0
  94. package/dist/{cjs/index-b9715722.js → esm/index-1d8e8acd.js} +6 -2
  95. package/dist/esm/{index-5bd7cbab.js → index-26d8b479.js} +62 -53
  96. package/dist/esm/index-cad8203e.js +31 -0
  97. package/dist/esm/loader.js +3 -3
  98. package/dist/esm/taro-ad-core.entry.js +1 -1
  99. package/dist/esm/taro-ad-custom-core.entry.js +1 -1
  100. package/dist/esm/taro-audio-core.entry.js +1 -1
  101. package/dist/esm/taro-block-core.entry.js +1 -1
  102. package/dist/esm/taro-button-core.entry.js +3 -3
  103. package/dist/esm/taro-camera-core.entry.js +1 -1
  104. package/dist/esm/taro-canvas-core.entry.js +2 -2
  105. package/dist/esm/taro-checkbox-core_2.entry.js +2 -2
  106. package/dist/esm/taro-components.js +3 -3
  107. package/dist/esm/taro-cover-image-core.entry.js +1 -1
  108. package/dist/esm/taro-cover-view-core.entry.js +2 -2
  109. package/dist/esm/taro-custom-wrapper-core.entry.js +1 -1
  110. package/dist/esm/taro-editor-core.entry.js +1 -1
  111. package/dist/esm/taro-form-core.entry.js +1 -1
  112. package/dist/esm/taro-functional-page-navigator-core.entry.js +1 -1
  113. package/dist/esm/taro-icon-core.entry.js +2 -2
  114. package/dist/esm/taro-image-core.entry.js +3 -3
  115. package/dist/esm/taro-input-core.entry.js +16 -19
  116. package/dist/esm/taro-keyboard-accessory-core.entry.js +1 -1
  117. package/dist/esm/taro-label-core.entry.js +1 -1
  118. package/dist/esm/taro-live-player-core.entry.js +1 -1
  119. package/dist/esm/taro-live-pusher-core.entry.js +1 -1
  120. package/dist/esm/taro-map-core.entry.js +1 -1
  121. package/dist/esm/taro-match-media-core.entry.js +1 -1
  122. package/dist/esm/taro-movable-area-core.entry.js +1 -1
  123. package/dist/esm/taro-movable-view-core.entry.js +1 -1
  124. package/dist/esm/taro-navigation-bar-core.entry.js +1 -1
  125. package/dist/esm/taro-navigator-core.entry.js +4 -4
  126. package/dist/esm/taro-official-account-core.entry.js +1 -1
  127. package/dist/esm/taro-open-data-core.entry.js +1 -1
  128. package/dist/esm/taro-page-container-core.entry.js +1 -1
  129. package/dist/esm/taro-page-meta-core.entry.js +1 -1
  130. package/dist/esm/taro-picker-core_2.entry.js +2 -2
  131. package/dist/esm/taro-picker-view-column-core.entry.js +80 -4
  132. package/dist/esm/taro-picker-view-core.entry.js +72 -3
  133. package/dist/esm/taro-progress-core.entry.js +1 -1
  134. package/dist/esm/taro-pull-to-refresh.entry.js +15 -5
  135. package/dist/esm/taro-radio-core_2.entry.js +1 -1
  136. package/dist/esm/taro-rich-text-core.entry.js +2 -2
  137. package/dist/esm/taro-scroll-view-core.entry.js +5 -13
  138. package/dist/esm/taro-share-element-core.entry.js +1 -1
  139. package/dist/esm/taro-slider-core.entry.js +1 -1
  140. package/dist/esm/taro-slot-core.entry.js +1 -1
  141. package/dist/esm/taro-swiper-core_2.entry.js +11 -14
  142. package/dist/esm/taro-switch-core.entry.js +1 -1
  143. package/dist/esm/taro-tabbar.entry.js +38 -38
  144. package/dist/esm/taro-text-core.entry.js +3 -3
  145. package/dist/esm/taro-textarea-core.entry.js +5 -3
  146. package/dist/esm/taro-video-control_3.entry.js +27867 -223
  147. package/dist/esm/taro-view-core.entry.js +5 -5
  148. package/dist/esm/taro-voip-room-core.entry.js +1 -1
  149. package/dist/esm/taro-web-view-core.entry.js +2 -2
  150. package/dist/esm-es5/index-1d8e8acd.js +7 -0
  151. package/dist/esm-es5/{index-5bd7cbab.js → index-26d8b479.js} +1 -1
  152. package/dist/esm-es5/index-cad8203e.js +1 -0
  153. package/dist/esm-es5/loader.js +1 -1
  154. package/dist/esm-es5/taro-ad-core.entry.js +1 -1
  155. package/dist/esm-es5/taro-ad-custom-core.entry.js +1 -1
  156. package/dist/esm-es5/taro-audio-core.entry.js +1 -1
  157. package/dist/esm-es5/taro-block-core.entry.js +1 -1
  158. package/dist/esm-es5/taro-button-core.entry.js +1 -1
  159. package/dist/esm-es5/taro-camera-core.entry.js +1 -1
  160. package/dist/esm-es5/taro-canvas-core.entry.js +1 -1
  161. package/dist/esm-es5/taro-checkbox-core_2.entry.js +1 -1
  162. package/dist/esm-es5/taro-components.js +1 -1
  163. package/dist/esm-es5/taro-cover-image-core.entry.js +1 -1
  164. package/dist/esm-es5/taro-cover-view-core.entry.js +1 -1
  165. package/dist/esm-es5/taro-custom-wrapper-core.entry.js +1 -1
  166. package/dist/esm-es5/taro-editor-core.entry.js +1 -1
  167. package/dist/esm-es5/taro-form-core.entry.js +1 -1
  168. package/dist/esm-es5/taro-functional-page-navigator-core.entry.js +1 -1
  169. package/dist/esm-es5/taro-icon-core.entry.js +1 -1
  170. package/dist/esm-es5/taro-image-core.entry.js +1 -1
  171. package/dist/esm-es5/taro-input-core.entry.js +1 -1
  172. package/dist/esm-es5/taro-keyboard-accessory-core.entry.js +1 -1
  173. package/dist/esm-es5/taro-label-core.entry.js +1 -1
  174. package/dist/esm-es5/taro-live-player-core.entry.js +1 -1
  175. package/dist/esm-es5/taro-live-pusher-core.entry.js +1 -1
  176. package/dist/esm-es5/taro-map-core.entry.js +1 -1
  177. package/dist/esm-es5/taro-match-media-core.entry.js +1 -1
  178. package/dist/esm-es5/taro-movable-area-core.entry.js +1 -1
  179. package/dist/esm-es5/taro-movable-view-core.entry.js +1 -1
  180. package/dist/esm-es5/taro-navigation-bar-core.entry.js +1 -1
  181. package/dist/esm-es5/taro-navigator-core.entry.js +1 -1
  182. package/dist/esm-es5/taro-official-account-core.entry.js +1 -1
  183. package/dist/esm-es5/taro-open-data-core.entry.js +1 -1
  184. package/dist/esm-es5/taro-page-container-core.entry.js +1 -1
  185. package/dist/esm-es5/taro-page-meta-core.entry.js +1 -1
  186. package/dist/esm-es5/taro-picker-core_2.entry.js +1 -1
  187. package/dist/esm-es5/taro-picker-view-column-core.entry.js +1 -1
  188. package/dist/esm-es5/taro-picker-view-core.entry.js +1 -1
  189. package/dist/esm-es5/taro-progress-core.entry.js +1 -1
  190. package/dist/esm-es5/taro-pull-to-refresh.entry.js +1 -1
  191. package/dist/esm-es5/taro-radio-core_2.entry.js +1 -1
  192. package/dist/esm-es5/taro-rich-text-core.entry.js +1 -1
  193. package/dist/esm-es5/taro-scroll-view-core.entry.js +1 -1
  194. package/dist/esm-es5/taro-share-element-core.entry.js +1 -1
  195. package/dist/esm-es5/taro-slider-core.entry.js +1 -1
  196. package/dist/esm-es5/taro-slot-core.entry.js +1 -1
  197. package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -1
  198. package/dist/esm-es5/taro-switch-core.entry.js +1 -1
  199. package/dist/esm-es5/taro-tabbar.entry.js +1 -1
  200. package/dist/esm-es5/taro-text-core.entry.js +1 -1
  201. package/dist/esm-es5/taro-textarea-core.entry.js +1 -1
  202. package/dist/esm-es5/taro-video-control_3.entry.js +365 -1
  203. package/dist/esm-es5/taro-view-core.entry.js +1 -1
  204. package/dist/esm-es5/taro-voip-room-core.entry.js +1 -1
  205. package/dist/esm-es5/taro-web-view-core.entry.js +1 -1
  206. package/dist/taro-components/p-019591c8.system.entry.js +1 -0
  207. package/dist/taro-components/{p-8db237e0.entry.js → p-060858b1.entry.js} +1 -1
  208. package/dist/taro-components/{p-964692f7.system.entry.js → p-06e3d685.system.entry.js} +1 -1
  209. package/dist/taro-components/p-0996daee.entry.js +1 -0
  210. package/dist/taro-components/{p-94502fc3.entry.js → p-0ca42006.entry.js} +1 -1
  211. package/dist/taro-components/{p-3633bb84.entry.js → p-0d0b3677.entry.js} +1 -1
  212. package/dist/taro-components/{p-336f2b2a.system.entry.js → p-0d1e0e91.system.entry.js} +1 -1
  213. package/dist/taro-components/p-0ea13d67.system.entry.js +1 -0
  214. package/dist/taro-components/{p-cdffee54.system.entry.js → p-12deba0b.system.entry.js} +1 -1
  215. package/dist/taro-components/p-133e3ac4.entry.js +1 -0
  216. package/dist/taro-components/{p-5f8b5f62.entry.js → p-16aff829.entry.js} +1 -1
  217. package/dist/taro-components/{p-14dbbb42.entry.js → p-16c1e564.entry.js} +1 -1
  218. package/dist/taro-components/{p-0c2982fc.system.entry.js → p-178a3adf.system.entry.js} +1 -1
  219. package/dist/taro-components/p-1c0ebbd5.entry.js +1 -0
  220. package/dist/taro-components/p-1e0406ec.system.entry.js +1 -0
  221. package/dist/taro-components/p-1e516bd0.entry.js +1 -0
  222. package/dist/taro-components/p-2241b671.system.js +1 -0
  223. package/dist/taro-components/p-26e9ce75.entry.js +1 -0
  224. package/dist/taro-components/{p-98b47fc9.system.entry.js → p-2887213d.system.entry.js} +1 -1
  225. package/dist/taro-components/{p-3334ac67.system.entry.js → p-29b7c721.system.entry.js} +1 -1
  226. package/dist/taro-components/p-29bb3ebe.entry.js +1 -0
  227. package/dist/taro-components/{p-fdd73355.system.entry.js → p-2bd2ea9a.system.entry.js} +1 -1
  228. package/dist/taro-components/{p-e03fa2d5.system.entry.js → p-2e8a1479.system.entry.js} +1 -1
  229. package/dist/taro-components/{p-9a618935.system.entry.js → p-36f2c1e1.system.entry.js} +1 -1
  230. package/dist/taro-components/{p-fd8312e5.system.entry.js → p-372f53d8.system.entry.js} +1 -1
  231. package/dist/taro-components/p-38d7c2e8.system.entry.js +1 -0
  232. package/dist/taro-components/{p-cfbdd4e3.system.entry.js → p-3b801a38.system.entry.js} +1 -1
  233. package/dist/taro-components/p-3b85bb4b.system.entry.js +1 -0
  234. package/dist/taro-components/{p-59d38db0.entry.js → p-3bb72c08.entry.js} +1 -1
  235. package/dist/taro-components/{p-15bea37d.entry.js → p-3d3cd72f.entry.js} +1 -1
  236. package/dist/taro-components/p-4339ad63.system.entry.js +1 -0
  237. package/dist/taro-components/p-44a199e4.entry.js +1 -0
  238. package/dist/taro-components/{p-cfbfeee8.entry.js → p-45e6f8be.entry.js} +1 -1
  239. package/dist/taro-components/p-46b7f84e.entry.js +1 -0
  240. package/dist/taro-components/p-4793e6ba.system.entry.js +1 -0
  241. package/dist/taro-components/{p-74540410.entry.js → p-4c890c5d.entry.js} +1 -1
  242. package/dist/taro-components/p-53244eac.entry.js +1 -0
  243. package/dist/taro-components/p-5746d7ce.js +1 -0
  244. package/dist/taro-components/{p-1b790eb0.system.entry.js → p-5c2497a4.system.entry.js} +1 -1
  245. package/dist/taro-components/{p-df5a19b0.system.entry.js → p-5ff0e954.system.entry.js} +1 -1
  246. package/dist/taro-components/p-61f225ef.system.js +7 -0
  247. package/dist/taro-components/p-62608b28.system.entry.js +1 -0
  248. package/dist/taro-components/{p-0303f9e0.entry.js → p-62c64770.entry.js} +1 -1
  249. package/dist/taro-components/p-663d1bb9.system.js +1 -0
  250. package/dist/taro-components/{p-bd3fa355.system.entry.js → p-66b1d5f9.system.entry.js} +1 -1
  251. package/dist/taro-components/p-671defcd.entry.js +1 -0
  252. package/dist/taro-components/p-6f2f468b.entry.js +1 -0
  253. package/dist/taro-components/p-70313eed.entry.js +1 -0
  254. package/dist/taro-components/{p-b87cf623.entry.js → p-74013ace.entry.js} +1 -1
  255. package/dist/taro-components/{p-264b7229.system.entry.js → p-756d56d1.system.entry.js} +1 -1
  256. package/dist/taro-components/{p-fe156231.system.entry.js → p-75811f84.system.entry.js} +1 -1
  257. package/dist/taro-components/p-761d1085.entry.js +1 -0
  258. package/dist/taro-components/p-76724e58.js +7 -0
  259. package/dist/taro-components/{p-1e4f1702.system.entry.js → p-78676120.system.entry.js} +1 -1
  260. package/dist/taro-components/p-79b16736.system.entry.js +1 -0
  261. package/dist/taro-components/p-7b2049b7.entry.js +1 -0
  262. package/dist/taro-components/p-7dc268ee.entry.js +1 -0
  263. package/dist/taro-components/p-7f7aa688.entry.js +1 -0
  264. package/dist/taro-components/p-80abb865.entry.js +1 -0
  265. package/dist/taro-components/{p-55b0a30b.entry.js → p-81976128.entry.js} +1 -1
  266. package/dist/taro-components/p-81dc5b7b.entry.js +1 -0
  267. package/dist/taro-components/{p-99cb65a6.system.entry.js → p-828efe43.system.entry.js} +1 -1
  268. package/dist/taro-components/{p-7cdad34e.system.entry.js → p-831ebd02.system.entry.js} +1 -1
  269. package/dist/taro-components/{p-0ee69803.entry.js → p-832cc63a.entry.js} +1 -1
  270. package/dist/taro-components/{p-b2d01686.system.js → p-83adb645.system.js} +1 -1
  271. package/dist/taro-components/p-841a2031.system.entry.js +365 -0
  272. package/dist/taro-components/{p-b6d6c744.entry.js → p-86205110.entry.js} +1 -1
  273. package/dist/taro-components/{p-703dfad8.system.entry.js → p-8b23a081.system.entry.js} +1 -1
  274. package/dist/taro-components/{p-ffe63ce9.system.entry.js → p-8b30e18c.system.entry.js} +1 -1
  275. package/dist/taro-components/p-8ba35b31.system.entry.js +1 -0
  276. package/dist/taro-components/p-8ead6b19.entry.js +1 -0
  277. package/dist/taro-components/{p-ebf5b2eb.system.entry.js → p-8f466248.system.entry.js} +1 -1
  278. package/dist/taro-components/{p-cea9a198.system.entry.js → p-9130dfca.system.entry.js} +1 -1
  279. package/dist/taro-components/{p-8a5e67cb.entry.js → p-9151ef65.entry.js} +1 -1
  280. package/dist/taro-components/p-917830b4.system.entry.js +1 -0
  281. package/dist/taro-components/p-95e51d62.entry.js +1 -0
  282. package/dist/taro-components/p-9961074d.entry.js +1 -0
  283. package/dist/taro-components/{p-3643d8f7.system.entry.js → p-9b90554b.system.entry.js} +1 -1
  284. package/dist/taro-components/{p-06af26db.system.entry.js → p-9ce624a4.system.entry.js} +1 -1
  285. package/dist/taro-components/p-a097985b.entry.js +1 -0
  286. package/dist/taro-components/{p-7423fc3b.system.entry.js → p-a36bfe97.system.entry.js} +1 -1
  287. package/dist/taro-components/p-a4721ae0.js +1 -0
  288. package/dist/taro-components/{p-e6298500.entry.js → p-a74f4c26.entry.js} +1 -1
  289. package/dist/taro-components/{p-7d848382.system.entry.js → p-a838e0f7.system.entry.js} +1 -1
  290. package/dist/taro-components/p-a84098b5.system.entry.js +1 -0
  291. package/dist/taro-components/{p-8b2bf902.system.entry.js → p-a90bfe9d.system.entry.js} +1 -1
  292. package/dist/taro-components/{p-e2f6448d.system.entry.js → p-a9ab6434.system.entry.js} +1 -1
  293. package/dist/taro-components/{p-99ed3ed2.system.entry.js → p-ac398961.system.entry.js} +1 -1
  294. package/dist/taro-components/{p-4dbed323.entry.js → p-ac56ffed.entry.js} +1 -1
  295. package/dist/taro-components/{p-fc4939c6.system.entry.js → p-baa5019a.system.entry.js} +1 -1
  296. package/dist/taro-components/{p-fb0959c1.system.entry.js → p-c1458fbe.system.entry.js} +1 -1
  297. package/dist/taro-components/p-c7dd3c92.entry.js +1 -0
  298. package/dist/taro-components/p-c9b73495.entry.js +1 -0
  299. package/dist/taro-components/{p-8f90fca9.system.entry.js → p-ca7ad427.system.entry.js} +1 -1
  300. package/dist/taro-components/{p-8bc82aaa.entry.js → p-ce0489a6.entry.js} +1 -1
  301. package/dist/taro-components/{p-9d0ab7c4.entry.js → p-ce46f79d.entry.js} +1 -1
  302. package/dist/taro-components/{p-2d2f8064.entry.js → p-cfebd931.entry.js} +1 -1
  303. package/dist/taro-components/p-d2b6b891.entry.js +1 -0
  304. package/dist/taro-components/{p-9fc88fc1.system.entry.js → p-d56c45bf.system.entry.js} +1 -1
  305. package/dist/taro-components/{p-06bffead.entry.js → p-d636e22e.entry.js} +1 -1
  306. package/dist/taro-components/{p-b75d8a65.entry.js → p-d6c8f31d.entry.js} +1 -1
  307. package/dist/taro-components/p-d7e13592.entry.js +365 -0
  308. package/dist/taro-components/{p-0472e474.system.entry.js → p-de573939.system.entry.js} +1 -1
  309. package/dist/taro-components/p-e01af6c8.entry.js +1 -0
  310. package/dist/taro-components/{p-865c21b5.entry.js → p-e7dcb4d5.entry.js} +1 -1
  311. package/dist/taro-components/{p-527a38ee.system.entry.js → p-ec59899b.system.entry.js} +1 -1
  312. package/dist/taro-components/{p-d1c2481c.system.entry.js → p-f1da4ed7.system.entry.js} +1 -1
  313. package/dist/taro-components/p-fc226017.entry.js +1 -0
  314. package/dist/taro-components/{p-17039974.system.entry.js → p-fe252a81.system.entry.js} +1 -1
  315. package/dist/taro-components/taro-components.css +1 -1
  316. package/dist/taro-components/taro-components.esm.js +1 -1
  317. package/dist/taro-components/taro-components.js +1 -1
  318. package/dist/types/components/image/image.d.ts +1 -1
  319. package/dist/types/components/input/input.d.ts +0 -3
  320. package/dist/types/components/picker-view/picker-view-column.d.ts +15 -1
  321. package/dist/types/components/picker-view/picker-view.d.ts +24 -0
  322. package/dist/types/components/scroll-view/scroll-view.d.ts +1 -1
  323. package/dist/types/components/swiper/swiper.d.ts +2 -2
  324. package/dist/types/components/tabbar/tabbar.d.ts +3 -2
  325. package/dist/types/components/video/utils.d.ts +6 -0
  326. package/dist/types/components/video/video-control.d.ts +2 -2
  327. package/dist/types/components.d.ts +22 -0
  328. package/dist/types/home/runner/work/taro/taro/packages/taro-components/.stencil/types/props.d.ts +62 -0
  329. package/dist/types/props.js +1 -0
  330. package/dist/types/stencil-public-runtime.d.ts +6 -4
  331. package/dist/types/utils/index.d.ts +4 -8
  332. package/dist/types/utils/style.d.ts +1 -0
  333. package/dist/types/utils/url.d.ts +6 -0
  334. package/dist-h5/react/components/index.js +63 -0
  335. package/dist-h5/react/components/input.js +2 -2
  336. package/dist-h5/react/index.js +1 -46
  337. package/dist-h5/react/utils/reactify-wc.js +8 -5
  338. package/dist-h5/vue/components/index.js +60 -0
  339. package/dist-h5/vue/components/picker.js +2 -2
  340. package/dist-h5/vue/components/scroll-view.js +2 -2
  341. package/dist-h5/vue/createFormsComponent.js +2 -2
  342. package/dist-h5/vue/index.js +23 -26
  343. package/dist-h5/vue/mixins/listeners.js +2 -2
  344. package/dist-h5/vue3/components/icon.js +3 -0
  345. package/dist-h5/vue3/components/image.js +3 -0
  346. package/dist-h5/vue3/components/index.js +64 -0
  347. package/dist-h5/vue3/components/scroll-view.js +3 -0
  348. package/dist-h5/vue3/components/text.js +3 -0
  349. package/dist-h5/vue3/createComponent.js +3 -0
  350. package/dist-h5/vue3/createFormsComponent.js +6 -3
  351. package/dist-h5/vue3/forwardRef.js +11 -0
  352. package/dist-h5/vue3/index.js +12 -29
  353. package/package.json +26 -10
  354. package/types/Ad.d.ts +15 -15
  355. package/types/Audio.d.ts +3 -3
  356. package/types/Block.d.ts +5 -2
  357. package/types/Button.d.ts +49 -33
  358. package/types/Camera.d.ts +20 -20
  359. package/types/Canvas.d.ts +1 -1
  360. package/types/Checkbox.d.ts +5 -5
  361. package/types/CheckboxGroup.d.ts +4 -4
  362. package/types/CoverImage.d.ts +1 -1
  363. package/types/CoverView.d.ts +1 -1
  364. package/types/CustomWrapper.d.ts +2 -2
  365. package/types/Editor.d.ts +10 -10
  366. package/types/Form.d.ts +8 -8
  367. package/types/FunctionalPageNavigator.d.ts +4 -4
  368. package/types/Image.d.ts +2 -2
  369. package/types/Input.d.ts +41 -37
  370. package/types/KeyboardAccessory.d.ts +21 -8
  371. package/types/Label.d.ts +2 -2
  372. package/types/LivePlayer.d.ts +18 -18
  373. package/types/LivePusher.d.ts +14 -14
  374. package/types/Map.d.ts +33 -33
  375. package/types/MovableArea.d.ts +1 -1
  376. package/types/MovableView.d.ts +18 -18
  377. package/types/Navigator.d.ts +7 -7
  378. package/types/OfficialAccount.d.ts +7 -7
  379. package/types/OpenData.d.ts +10 -10
  380. package/types/PageContainer.d.ts +22 -22
  381. package/types/Picker.d.ts +5 -5
  382. package/types/PickerViewColumn.d.ts +5 -3
  383. package/types/Progress.d.ts +1 -1
  384. package/types/Radio.d.ts +6 -6
  385. package/types/RadioGroup.d.ts +2 -2
  386. package/types/RichText.d.ts +7 -2
  387. package/types/ScrollView.d.ts +9 -9
  388. package/types/ShareElement.d.ts +196 -3
  389. package/types/Slider.d.ts +1 -1
  390. package/types/Slot.d.ts +2 -2
  391. package/types/Swiper.d.ts +7 -7
  392. package/types/Switch.d.ts +3 -3
  393. package/types/Text.d.ts +2 -2
  394. package/types/Textarea.d.ts +21 -21
  395. package/types/Video.d.ts +23 -23
  396. package/types/View.d.ts +2 -2
  397. package/types/VoipRoom.d.ts +5 -5
  398. package/types/WebView.d.ts +6 -6
  399. package/types/common.d.ts +4 -2
  400. package/types/index.d.ts +53 -52
  401. package/types/index.vue3.d.ts +157 -0
  402. package/types/props.ts +72 -0
  403. package/virtual-list/memoize.js +1 -0
  404. package/virtual-list/react/createListComponent.js +4 -3
  405. package/virtual-list/react/index.js +2 -1
  406. package/virtual-list/timer.js +1 -1
  407. package/virtual-list/vue/index.js +1 -1
  408. package/vue3.d.ts +3 -0
  409. package/LICENSE +0 -21
  410. package/dist/esm-es5/index-3c78bcaf.js +0 -7
  411. package/dist/taro-components/p-04818461.system.entry.js +0 -1
  412. package/dist/taro-components/p-065ec61d.entry.js +0 -1
  413. package/dist/taro-components/p-11932905.entry.js +0 -1
  414. package/dist/taro-components/p-17cf8b5b.entry.js +0 -1
  415. package/dist/taro-components/p-2dc57c71.system.entry.js +0 -1
  416. package/dist/taro-components/p-32937866.entry.js +0 -1
  417. package/dist/taro-components/p-33ee636a.system.js +0 -1
  418. package/dist/taro-components/p-37cfdd8f.js +0 -7
  419. package/dist/taro-components/p-3c0230ba.entry.js +0 -1
  420. package/dist/taro-components/p-3dfb1807.entry.js +0 -1
  421. package/dist/taro-components/p-431197bc.entry.js +0 -1
  422. package/dist/taro-components/p-43de2f12.system.entry.js +0 -1
  423. package/dist/taro-components/p-50066d5e.system.entry.js +0 -1
  424. package/dist/taro-components/p-554e1039.entry.js +0 -1
  425. package/dist/taro-components/p-56618f09.entry.js +0 -1
  426. package/dist/taro-components/p-5c420456.entry.js +0 -1
  427. package/dist/taro-components/p-63ff7fa7.entry.js +0 -1
  428. package/dist/taro-components/p-7721e046.entry.js +0 -1
  429. package/dist/taro-components/p-83dedaa2.entry.js +0 -1
  430. package/dist/taro-components/p-92e95d3f.entry.js +0 -1
  431. package/dist/taro-components/p-94c20f60.system.js +0 -7
  432. package/dist/taro-components/p-95529dc0.entry.js +0 -1
  433. package/dist/taro-components/p-9dc9c615.system.entry.js +0 -1
  434. package/dist/taro-components/p-9eb7dfa8.entry.js +0 -1
  435. package/dist/taro-components/p-a1423df9.entry.js +0 -1
  436. package/dist/taro-components/p-abe415b4.system.entry.js +0 -1
  437. package/dist/taro-components/p-b15d0302.system.entry.js +0 -1
  438. package/dist/taro-components/p-b55fedc1.entry.js +0 -1
  439. package/dist/taro-components/p-b9280444.entry.js +0 -1
  440. package/dist/taro-components/p-c218c298.entry.js +0 -1
  441. package/dist/taro-components/p-c362734b.entry.js +0 -1
  442. package/dist/taro-components/p-cb395e7d.entry.js +0 -1
  443. package/dist/taro-components/p-cc818a13.entry.js +0 -1
  444. package/dist/taro-components/p-cf55a63c.entry.js +0 -1
  445. package/dist/taro-components/p-d394a61f.system.entry.js +0 -1
  446. package/dist/taro-components/p-d567b95e.entry.js +0 -1
  447. package/dist/taro-components/p-d5971476.entry.js +0 -1
  448. package/dist/taro-components/p-e0af1d0d.system.entry.js +0 -1
  449. package/dist/taro-components/p-e1040131.entry.js +0 -1
  450. package/dist/taro-components/p-e27798a4.entry.js +0 -1
  451. package/dist/taro-components/p-f05e1558.js +0 -1
  452. package/dist/taro-components/p-fb2252b7.system.entry.js +0 -1
  453. package/dist/taro-components/p-fcc1c676.system.entry.js +0 -1
  454. package/dist/taro-components/p-fd0d1168.system.entry.js +0 -1
  455. package/dist/taro-components/p-fde3a009.system.entry.js +0 -1
  456. package/dist-h5/vue/simpleComponents.js +0 -19
@@ -2,8 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index$1 = require('./index-dd4b7ba3.js');
6
- const index$2 = require('./index-b9715722.js');
5
+ const index$1 = require('./index-13289aba.js');
6
+ const index$3 = require('./index-f9d21cc5.js');
7
+ const index$2 = require('./index-47a1959e.js');
7
8
 
8
9
  /**
9
10
  * SSR Window 3.0.0
@@ -9935,7 +9936,7 @@ let Swiper = class {
9935
9936
  });
9936
9937
  }
9937
9938
  };
9938
- this.handleSwiperLoop = debounce(() => {
9939
+ this.handleSwiperLoop = index$2.debounce(() => {
9939
9940
  if (this.swiper && this.circular) {
9940
9941
  // @ts-ignore
9941
9942
  this.swiper.loopDestroy();
@@ -9943,7 +9944,7 @@ let Swiper = class {
9943
9944
  this.swiper.loopCreate();
9944
9945
  }
9945
9946
  }, 500);
9946
- this.handleSwiperSize = debounce(() => {
9947
+ this.handleSwiperSize = index$2.debounce(() => {
9947
9948
  if (this.swiper && !this.circular) {
9948
9949
  this.swiper.updateSlides();
9949
9950
  }
@@ -10053,7 +10054,7 @@ let Swiper = class {
10053
10054
  (_f = (_e = this.observerLast) === null || _e === void 0 ? void 0 : _e.disconnect) === null || _f === void 0 ? void 0 : _f.call(_e);
10054
10055
  }
10055
10056
  handleInit() {
10056
- const { autoplay, current, interval, duration, circular, vertical, displayMultipleItems } = this;
10057
+ const { autoplay, circular, current, displayMultipleItems, duration, interval, vertical } = this;
10057
10058
  // eslint-disable-next-line @typescript-eslint/no-this-alias
10058
10059
  const that = this;
10059
10060
  const options = {
@@ -10071,7 +10072,7 @@ let Swiper = class {
10071
10072
  },
10072
10073
  // slideChange 事件在 swiper.slideTo 改写 current 时不触发,因此用 slideChangeTransitionEnd 事件代替
10073
10074
  slideChangeTransitionEnd(_swiper) {
10074
- if (circular) {
10075
+ if (that.circular) {
10075
10076
  if (_swiper.isBeginning || _swiper.isEnd) {
10076
10077
  _swiper.slideToLoop(this.realIndex, 0); // 更新下标
10077
10078
  return;
@@ -10093,7 +10094,12 @@ let Swiper = class {
10093
10094
  const className = target && typeof target.className === 'string' ? target.className : '';
10094
10095
  if (className.includes('taro_page') && target.style.display !== 'none') {
10095
10096
  if (that.autoplay && target.contains(_swiper.$el[0])) {
10096
- _swiper.slideTo(that.current);
10097
+ if (that.circular) {
10098
+ _swiper.slideToLoop(this.realIndex, 0); // 更新下标
10099
+ }
10100
+ else {
10101
+ _swiper.slideTo(this.realIndex);
10102
+ }
10097
10103
  }
10098
10104
  }
10099
10105
  }
@@ -10132,7 +10138,7 @@ let Swiper = class {
10132
10138
  return (index$1.h(index$1.Host, { class: `taro-swiper-${this._id}`, style: hostStyle }, index$1.h("div", { class: 'swiper-container', style: style }, index$1.h("style", { type: 'text/css' }, `
10133
10139
  .taro-swiper-${this._id} > .swiper-container > .swiper-pagination > .swiper-pagination-bullet { background: ${indicatorColor} }
10134
10140
  .taro-swiper-${this._id} > .swiper-container > .swiper-pagination > .swiper-pagination-bullet-active { background: ${indicatorActiveColor} }
10135
- `), index$1.h("div", { class: 'swiper-wrapper' }, index$1.h("slot", null)), index$1.h("div", { class: index$2.classnames('swiper-pagination', {
10141
+ `), index$1.h("div", { class: 'swiper-wrapper' }, index$1.h("slot", null)), index$1.h("div", { class: index$3.classnames('swiper-pagination', {
10136
10142
  'swiper-pagination-hidden': !indicatorDots,
10137
10143
  'swiper-pagination-bullets': indicatorDots
10138
10144
  }) }))));
@@ -10147,15 +10153,6 @@ let Swiper = class {
10147
10153
  "circular": ["watchCircular"]
10148
10154
  }; }
10149
10155
  };
10150
- function debounce(fn, delay) {
10151
- let timer;
10152
- return function (...arrs) {
10153
- clearTimeout(timer);
10154
- timer = setTimeout(function () {
10155
- fn(...arrs);
10156
- }, delay);
10157
- };
10158
- }
10159
10156
  Swiper.style = indexCss;
10160
10157
 
10161
10158
  let SwiperItem = class {
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-dd4b7ba3.js');
5
+ const index = require('./index-13289aba.js');
6
6
 
7
7
  const indexCss = "taro-switch-core{display:inline-block;width:52px;height:32px}taro-switch-core .weui-switch{display:block;width:100%;height:100%}";
8
8
 
@@ -2,14 +2,36 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index$1 = require('./index-dd4b7ba3.js');
5
+ const index$1 = require('./index-13289aba.js');
6
6
  const Taro = require('@tarojs/taro');
7
- const index = require('./index-b9715722.js');
7
+ const index = require('./index-f9d21cc5.js');
8
8
 
9
9
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
10
10
 
11
11
  const Taro__default = /*#__PURE__*/_interopDefaultLegacy(Taro);
12
12
 
13
+ const splitUrl = _url => {
14
+ let url = _url || '';
15
+ let pos;
16
+ const res = {
17
+ path: null,
18
+ query: null,
19
+ fragment: null
20
+ };
21
+ pos = url.indexOf('#');
22
+ if (pos > -1) {
23
+ res.fragment = url.substring(pos + 1);
24
+ url = url.substring(0, pos);
25
+ }
26
+ pos = url.indexOf('?');
27
+ if (pos > -1) {
28
+ res.query = url.substring(pos + 1);
29
+ url = url.substring(0, pos);
30
+ }
31
+ res.path = url;
32
+ return res;
33
+ };
34
+
13
35
  function isAbsolute(pathname) {
14
36
  return pathname.charAt(0) === '/';
15
37
  }
@@ -84,28 +106,6 @@ function resolvePathname(to, from) {
84
106
  return result;
85
107
  }
86
108
 
87
- const splitUrl = _url => {
88
- let url = _url || '';
89
- let pos;
90
- const res = {
91
- path: null,
92
- query: null,
93
- fragment: null
94
- };
95
- pos = url.indexOf('#');
96
- if (pos > -1) {
97
- res.fragment = url.substring(pos + 1);
98
- url = url.substring(0, pos);
99
- }
100
- pos = url.indexOf('?');
101
- if (pos > -1) {
102
- res.query = url.substring(pos + 1);
103
- url = url.substring(0, pos);
104
- }
105
- res.path = url;
106
- return res;
107
- };
108
-
109
109
  const TabbarItem = ({ index: index$2, isSelected = false, textColor, iconPath, badgeText, showRedDot = false, text, onSelect }) => {
110
110
  const className = index.classnames('weui-tabbar__item', {
111
111
  'weui-bar__item_on': isSelected
@@ -131,13 +131,14 @@ const TabbarItem = ({ index: index$2, isSelected = false, textColor, iconPath, b
131
131
  index$1.h("p", { class: 'weui-tabbar__label', style: { color: textColor } }, text)));
132
132
  };
133
133
 
134
- const indexCss = "html,body{height:100%}#app{height:100%}.taro-tabbar__border-white::before{border-top-color:#fff !important}.taro-tabbar__container{display:-ms-flexbox;display:flex;height:100%;-ms-flex-direction:column;flex-direction:column;overflow:hidden}.taro-tabbar__panel{-ms-flex:1;flex:1;position:relative;overflow:auto;-webkit-overflow-scrolling:auto}.taro-tabbar__tabbar{position:relative;height:50px;width:100%;-webkit-transition:bottom 0.2s, top 0.2s;transition:bottom 0.2s, top 0.2s}.taro-tabbar__tabbar-top{top:0}.taro-tabbar__tabbar-bottom{bottom:0}.taro-tabbar__tabbar-hide{display:none}.taro-tabbar__tabbar-slideout{top:-52px;-ms-flex:0 0;flex:0 0}.taro-tabbar__panel+.taro-tabbar__tabbar-slideout{top:auto;bottom:-52px}";
134
+ const indexCss = "html,body{height:100%}#app{height:100%}.taro-tabbar__border-white::before{border-top-color:#fff !important}.taro-tabbar__container{display:-ms-flexbox;display:flex;overflow:hidden;-ms-flex-direction:column;flex-direction:column;height:100%}.taro-tabbar__panel{overflow:auto;position:relative;-ms-flex:1;flex:1;-webkit-overflow-scrolling:auto}.taro-tabbar__tabbar{position:relative;width:100%;height:50px;-webkit-transition:bottom 0.2s, top 0.2s;transition:bottom 0.2s, top 0.2s}.taro-tabbar__tabbar-top{top:0}.taro-tabbar__tabbar-bottom{bottom:0;margin-bottom:constant(safe-area-inset-bottom);margin-bottom:env(safe-area-inset-bottom)}.taro-tabbar__tabbar-hide{display:none}.taro-tabbar__tabbar-slideout{top:-52px;-ms-flex:0 0;flex:0 0}.taro-tabbar__panel+.taro-tabbar__tabbar-slideout{top:auto;bottom:-52px}";
135
135
 
136
136
  // const removeLeadingSlash = str => str.replace(/^\.?\//, '')
137
137
  // const removeTrailingSearch = str => str.replace(/\?[\s\S]*$/, '')
138
- const addLeadingSlash = str => str[0] === '/' ? str : `/${str}`;
139
- const hasBasename = (path, prefix) => new RegExp('^' + prefix + '(\\/|\\?|#|$)', 'i').test(path);
140
- const stripBasename = (path, prefix) => hasBasename(path, prefix) ? path.substr(prefix.length) : path;
138
+ const addLeadingSlash = (str = '') => str[0] === '/' ? str : `/${str}`;
139
+ const hasBasename = (path = '', prefix = '') => new RegExp('^' + prefix + '(\\/|\\?|#|$)', 'i').test(path);
140
+ const stripBasename = (path = '', prefix = '') => hasBasename(path, prefix) ? path.substr(prefix.length) : path;
141
+ const stripSuffix = (path = '', suffix = '') => path.includes(suffix) ? path.substring(0, path.length - suffix.length) : path;
141
142
  const STATUS_SHOW = 0;
142
143
  const STATUS_HIDE = 1;
143
144
  const STATUS_SLIDEOUT = 2;
@@ -159,7 +160,7 @@ let Tabbar = class {
159
160
  const pathB = splitUrl(url).path;
160
161
  return pathA === pathB;
161
162
  });
162
- return customRoute.length ? customRoute[0][0] : url;
163
+ return stripSuffix(customRoute.length ? customRoute[0][0] : url, '.html');
163
164
  };
164
165
  this.getSelectedIndex = (url) => {
165
166
  let foundIndex = -1;
@@ -195,14 +196,12 @@ let Tabbar = class {
195
196
  }
196
197
  };
197
198
  this.routerChangeHandler = (options) => {
198
- let toLocation;
199
+ var _a;
200
+ const to = (_a = options === null || options === void 0 ? void 0 : options.toLocation) === null || _a === void 0 ? void 0 : _a.path;
199
201
  let currentPage;
200
- if (options) {
201
- toLocation = options.toLocation;
202
- }
203
- if (toLocation && toLocation.path) {
204
- const tmpPath = addLeadingSlash(toLocation.path);
205
- currentPage = stripBasename(tmpPath === '/' ? this.homePage : tmpPath, this.conf.basename || '/');
202
+ if (typeof to === 'string') {
203
+ const routerBasename = this.conf.basename || '/';
204
+ currentPage = stripBasename(addLeadingSlash(to || this.homePage), routerBasename) || '/';
206
205
  }
207
206
  else {
208
207
  currentPage = this.getCurrentUrl();
@@ -361,7 +360,7 @@ let Tabbar = class {
361
360
  url = location.pathname;
362
361
  }
363
362
  const processedUrl = addLeadingSlash(stripBasename(url, routerBasename));
364
- return processedUrl === '/' ? this.homePage : processedUrl;
363
+ return decodeURI(processedUrl === '/' ? this.homePage : processedUrl);
365
364
  }
366
365
  bindEvent() {
367
366
  Taro__default['default'].eventCenter.on('__taroRouterChange', this.routerChangeHandler);
@@ -407,7 +406,8 @@ let Tabbar = class {
407
406
  [hideTabBarClassName]: shouldHideTabBar,
408
407
  [hideTabBarWithAnimationClassName]: shouldSlideout
409
408
  }) }, index$1.h("div", { class: containerCls, style: {
410
- backgroundColor: this.backgroundColor || ''
409
+ backgroundColor: this.backgroundColor || '',
410
+ height: 'inherit'
411
411
  } }, this.list.map((item, index) => {
412
412
  const isSelected = this.selectedIndex === index;
413
413
  let textColor;
@@ -2,10 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-dd4b7ba3.js');
6
- const index$1 = require('./index-b9715722.js');
5
+ const index = require('./index-13289aba.js');
6
+ const index$1 = require('./index-f9d21cc5.js');
7
7
 
8
- const indexCss = "taro-text-core{display:inline;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;white-space:pre-wrap}.taro-text__selectable{-moz-user-select:text;-webkit-user-select:text;-ms-user-select:text;user-select:text}";
8
+ const indexCss = "taro-text-core{display:inline;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:pre-wrap}.taro-text__selectable{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}";
9
9
 
10
10
  let Text = class {
11
11
  constructor(hostRef) {
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-dd4b7ba3.js');
5
+ const index = require('./index-13289aba.js');
6
6
 
7
- const indexCss = "taro-textarea-core{display:block;width:300px}taro-textarea-core .auto-height{height:auto}.taro-textarea{-webkit-appearance:none;cursor:auto;width:100%;height:150px;border:0;display:block;position:relative;line-height:1.5}.taro-textarea:focus{outline:none}";
7
+ const indexCss = "taro-textarea-core{display:block;width:300px}taro-textarea-core .auto-height{height:auto}.taro-textarea{display:block;position:relative;border:0;width:100%;height:150px;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:auto;line-height:1.5}.taro-textarea:focus{outline:none}";
8
8
 
9
9
  function fixControlledValue(value) {
10
10
  return value !== null && value !== void 0 ? value : '';
@@ -58,9 +58,10 @@ let Textarea = class {
58
58
  }
59
59
  };
60
60
  this.calculateContentHeight = (ta, scanAmount) => {
61
- let origHeight = ta.style.height, height = ta.offsetHeight, scrollHeight = ta.scrollHeight, overflow = ta.style.overflow;
61
+ let origHeight = ta.style.height, height = ta.offsetHeight, scrollHeight = ta.scrollHeight, overflow = ta.style.overflow, originMinHeight = ta.style.minHeight || null;
62
62
  /// only bother if the ta is bigger than content
63
63
  if (height >= scrollHeight) {
64
+ ta.style.minHeight = 0;
64
65
  /// check that our browser supports changing dimension
65
66
  /// calculations mid-way through a function call...
66
67
  ta.style.height = height + scanAmount + 'px';
@@ -81,6 +82,7 @@ let Textarea = class {
81
82
  ta.style.height = origHeight;
82
83
  /// put the overflow back
83
84
  ta.style.overflow = overflow;
85
+ ta.style.minHeight = originMinHeight;
84
86
  return height;
85
87
  }
86
88
  }