@tarojs/components 3.7.0-canary.6 → 3.8.0-canary.1

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 (710) hide show
  1. package/LICENSE +14 -0
  2. package/dist/cjs/{index-e751dfe3.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 +2 -2
  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 +1 -1
  25. package/dist/cjs/taro-custom-wrapper-core.cjs.entry.js +1 -1
  26. package/dist/cjs/taro-draggable-sheet-core.cjs.entry.js +21 -0
  27. package/dist/cjs/taro-editor-core.cjs.entry.js +1 -1
  28. package/dist/cjs/taro-follow-swan-core.cjs.entry.js +1 -1
  29. package/dist/cjs/taro-form-core.cjs.entry.js +1 -1
  30. package/dist/cjs/taro-functional-page-navigator-core.cjs.entry.js +1 -1
  31. package/dist/cjs/taro-grid-builder-core.cjs.entry.js +21 -0
  32. package/dist/cjs/taro-grid-view-core.cjs.entry.js +1 -1
  33. package/dist/cjs/taro-icon-core.cjs.entry.js +4 -1
  34. package/dist/cjs/taro-image-core.cjs.entry.js +6 -5
  35. package/dist/cjs/taro-inline-payment-panel-core.cjs.entry.js +1 -1
  36. package/dist/cjs/taro-input-core.cjs.entry.js +2 -2
  37. package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js +1 -1
  38. package/dist/cjs/taro-label-core.cjs.entry.js +1 -1
  39. package/dist/cjs/taro-lifestyle-core.cjs.entry.js +1 -1
  40. package/dist/cjs/taro-like-core.cjs.entry.js +1 -1
  41. package/dist/cjs/taro-list-builder-core.cjs.entry.js +21 -0
  42. package/dist/cjs/taro-list-view-core.cjs.entry.js +1 -1
  43. package/dist/cjs/taro-live-player-core.cjs.entry.js +1 -1
  44. package/dist/cjs/taro-live-pusher-core.cjs.entry.js +1 -1
  45. package/dist/cjs/taro-login-core.cjs.entry.js +1 -1
  46. package/dist/cjs/taro-lottie-core.cjs.entry.js +1 -1
  47. package/dist/cjs/taro-map-core.cjs.entry.js +1325 -6
  48. package/dist/cjs/taro-match-media-core.cjs.entry.js +1 -1
  49. package/dist/cjs/taro-movable-area-core_2.cjs.entry.js +8 -5
  50. package/dist/cjs/taro-native-slot-core.cjs.entry.js +1 -1
  51. package/dist/cjs/taro-navigation-bar-core.cjs.entry.js +1 -1
  52. package/dist/cjs/taro-navigator-core.cjs.entry.js +1 -1
  53. package/dist/cjs/taro-nested-scroll-body-core.cjs.entry.js +21 -0
  54. package/dist/cjs/taro-nested-scroll-header-core.cjs.entry.js +21 -0
  55. package/dist/cjs/taro-official-account-core.cjs.entry.js +1 -1
  56. package/dist/cjs/taro-open-container-core.cjs.entry.js +21 -0
  57. package/dist/cjs/taro-open-data-core.cjs.entry.js +1 -1
  58. package/dist/cjs/taro-page-container-core.cjs.entry.js +1 -1
  59. package/dist/cjs/taro-page-meta-core.cjs.entry.js +1 -1
  60. package/dist/cjs/taro-picker-core_2.cjs.entry.js +2 -2
  61. package/dist/cjs/taro-picker-view-column-core_2.cjs.entry.js +4 -4
  62. package/dist/cjs/taro-progress-core.cjs.entry.js +4 -1
  63. package/dist/cjs/{taro-pull-to-refresh.cjs.entry.js → taro-pull-to-refresh-core.cjs.entry.js} +19 -14
  64. package/dist/cjs/taro-radio-core_2.cjs.entry.js +1 -1
  65. package/dist/cjs/taro-rich-text-core.cjs.entry.js +2 -2
  66. package/dist/cjs/taro-root-portal-core.cjs.entry.js +1 -1
  67. package/dist/cjs/taro-rtc-room-core.cjs.entry.js +1 -1
  68. package/dist/cjs/taro-rtc-room-item-core.cjs.entry.js +1 -1
  69. package/dist/cjs/taro-scroll-view-core.cjs.entry.js +3 -3
  70. package/dist/cjs/taro-share-element-core.cjs.entry.js +1 -1
  71. package/dist/cjs/taro-slider-core.cjs.entry.js +4 -1
  72. package/dist/cjs/taro-slot-core.cjs.entry.js +1 -1
  73. package/dist/cjs/taro-snapshot-core.cjs.entry.js +1 -1
  74. package/dist/cjs/taro-span-core.cjs.entry.js +21 -0
  75. package/dist/cjs/taro-sticky-header-core.cjs.entry.js +1 -1
  76. package/dist/cjs/taro-sticky-section-core.cjs.entry.js +1 -1
  77. package/dist/cjs/taro-swiper-core_2.cjs.entry.js +127 -9916
  78. package/dist/cjs/taro-switch-core.cjs.entry.js +13 -12
  79. package/dist/cjs/taro-tab-item-core.cjs.entry.js +1 -1
  80. package/dist/cjs/taro-tabbar.cjs.entry.js +14 -86
  81. package/dist/cjs/taro-tabs-core.cjs.entry.js +1 -1
  82. package/dist/cjs/taro-text-core.cjs.entry.js +2 -2
  83. package/dist/cjs/taro-textarea-core.cjs.entry.js +12 -3
  84. package/dist/cjs/taro-video-control_3.cjs.entry.js +38 -8
  85. package/dist/cjs/taro-view-core.cjs.entry.js +2 -2
  86. package/dist/cjs/taro-voip-room-core.cjs.entry.js +1 -1
  87. package/dist/cjs/taro-web-view-core.cjs.entry.js +2 -2
  88. package/dist/collection/collection-manifest.json +7 -0
  89. package/dist/collection/components/audio/style/index.css +1 -4
  90. package/dist/collection/components/button/style/index.css +1 -160
  91. package/dist/collection/components/canvas/style/index.css +1 -6
  92. package/dist/collection/components/checkbox/style/index.css +1 -39
  93. package/dist/collection/components/cover-image/style/index.css +1 -5
  94. package/dist/collection/components/cover-view/style/cover-view.css +1 -3
  95. package/dist/collection/components/draggable-sheet/draggable-sheet.js +11 -0
  96. package/dist/collection/components/grid-builder/grid-builder.js +11 -0
  97. package/dist/collection/components/icon/icon.js +10 -0
  98. package/dist/collection/components/icon/style/index.css +1 -0
  99. package/dist/collection/components/image/image.js +4 -3
  100. package/dist/collection/components/image/style/index.css +1 -73
  101. package/dist/collection/components/input/input.js +2 -2
  102. package/dist/collection/components/input/style/index.css +1 -0
  103. package/dist/collection/components/list-builder/list-builder.js +11 -0
  104. package/dist/collection/components/map/map.js +1806 -4
  105. package/dist/collection/components/map/style/map.css +1 -0
  106. package/dist/collection/components/movable-area/area.css +1 -6
  107. package/dist/collection/components/movable-area/movable-area.js +2 -1
  108. package/dist/collection/components/movable-area/movable-view.js +3 -1
  109. package/dist/collection/components/movable-area/view.css +1 -8
  110. package/dist/collection/components/navigator/style/index.css +1 -3
  111. package/dist/collection/components/nested-scroll-body/nested-scroll-body.js +11 -0
  112. package/dist/collection/components/nested-scroll-header/nested-scroll-header.js +11 -0
  113. package/dist/collection/components/open-container/open-container.js +11 -0
  114. package/dist/collection/components/picker/style/index.css +1 -4
  115. package/dist/collection/components/picker-view/style/column.css +1 -12
  116. package/dist/collection/components/picker-view/style/index.css +1 -28
  117. package/dist/collection/components/progress/progress.js +10 -0
  118. package/dist/collection/components/progress/style/index.css +1 -0
  119. package/dist/collection/components/pull-to-refresh/pull-to-refresh.js +17 -12
  120. package/dist/collection/components/pull-to-refresh/style/index.css +1 -52
  121. package/dist/collection/components/rich-text/style/index.css +1 -16
  122. package/dist/collection/components/scroll-view/style/index.css +1 -17
  123. package/dist/collection/components/slider/slider.js +10 -0
  124. package/dist/collection/components/slider/style/index.css +1 -0
  125. package/dist/collection/components/span/span.js +11 -0
  126. package/dist/collection/components/swiper/style/index.css +2 -19
  127. package/dist/collection/components/swiper/swiper-item.js +54 -33
  128. package/dist/collection/components/swiper/swiper.js +90 -19
  129. package/dist/collection/components/switch/style/index.css +1 -10
  130. package/dist/collection/components/switch/switch.js +12 -12
  131. package/dist/collection/components/tabbar/style/index.css +1 -53
  132. package/dist/collection/components/tabbar/tabbar-item.js +1 -1
  133. package/dist/collection/components/tabbar/tabbar.js +5 -5
  134. package/dist/collection/components/text/style/index.css +1 -26
  135. package/dist/collection/components/textarea/style/index.css +1 -22
  136. package/dist/collection/components/textarea/textarea.js +11 -0
  137. package/dist/collection/components/video/style/index.css +1 -327
  138. package/dist/collection/components/video/video.js +9 -3
  139. package/dist/collection/components/view/style/index.css +1 -9
  140. package/dist/collection/components/web-view/style/index.css +1 -12
  141. package/dist/collection/utils/index.js +10 -0
  142. package/dist/components/index.d.ts +8 -1
  143. package/dist/components/index.js +8 -1
  144. package/dist/components/index3.js +6 -1
  145. package/dist/components/taro-audio-core.js +1 -1
  146. package/dist/components/taro-button-core.js +1 -1
  147. package/dist/components/taro-canvas-core.js +1 -1
  148. package/dist/components/taro-checkbox-core.js +1 -1
  149. package/dist/components/taro-cover-image-core.js +1 -1
  150. package/dist/components/taro-draggable-sheet-core.d.ts +11 -0
  151. package/dist/components/taro-draggable-sheet-core.js +33 -0
  152. package/dist/components/taro-grid-builder-core.d.ts +11 -0
  153. package/dist/components/taro-grid-builder-core.js +33 -0
  154. package/dist/components/taro-icon-core.js +3 -0
  155. package/dist/components/taro-image-core.js +5 -4
  156. package/dist/components/taro-input-core.js +1 -1
  157. package/dist/components/taro-list-builder-core.d.ts +11 -0
  158. package/dist/components/taro-list-builder-core.js +33 -0
  159. package/dist/components/taro-map-core.js +1349 -6
  160. package/dist/components/taro-movable-area-core.js +3 -2
  161. package/dist/components/taro-movable-view-core.js +4 -2
  162. package/dist/components/taro-nested-scroll-body-core.d.ts +11 -0
  163. package/dist/components/taro-nested-scroll-body-core.js +33 -0
  164. package/dist/components/taro-nested-scroll-header-core.d.ts +11 -0
  165. package/dist/components/taro-nested-scroll-header-core.js +33 -0
  166. package/dist/components/taro-open-container-core.d.ts +11 -0
  167. package/dist/components/taro-open-container-core.js +33 -0
  168. package/dist/components/taro-picker-core.js +1 -1
  169. package/dist/components/taro-picker-view-column-core.js +1 -1
  170. package/dist/components/taro-picker-view-core.js +1 -1
  171. package/dist/components/taro-progress-core.js +3 -0
  172. package/dist/components/taro-pull-to-refresh-core.d.ts +11 -0
  173. package/dist/components/{taro-pull-to-refresh.js → taro-pull-to-refresh-core.js} +22 -17
  174. package/dist/components/taro-rich-text-core.js +1 -1
  175. package/dist/components/taro-scroll-view-core.js +1 -1
  176. package/dist/components/taro-slider-core.js +3 -0
  177. package/dist/components/{taro-pull-to-refresh.d.ts → taro-span-core.d.ts} +4 -4
  178. package/dist/components/taro-span-core.js +33 -0
  179. package/dist/components/taro-swiper-core.js +76 -9872
  180. package/dist/components/taro-swiper-item-core.js +40 -36
  181. package/dist/components/taro-switch-core.js +13 -13
  182. package/dist/components/taro-tabbar.js +4 -77
  183. package/dist/components/taro-text-core.js +1 -1
  184. package/dist/components/taro-textarea-core.js +11 -2
  185. package/dist/components/taro-video-core.js +11 -5
  186. package/dist/components/taro-view-core.js +1 -1
  187. package/dist/components/taro-web-view-core.js +1 -1
  188. package/dist/esm/{index-d1b03e47.js → index-a00a7418.js} +6 -1
  189. package/dist/esm/{index-980f930f.js → index-ab3c86da.js} +208 -2
  190. package/dist/esm/loader.js +3 -3
  191. package/dist/esm/taro-ad-core.entry.js +1 -1
  192. package/dist/esm/taro-ad-custom-core.entry.js +1 -1
  193. package/dist/esm/taro-animation-video-core.entry.js +1 -1
  194. package/dist/esm/taro-animation-view-core.entry.js +1 -1
  195. package/dist/esm/taro-ar-camera-core.entry.js +1 -1
  196. package/dist/esm/taro-audio-core.entry.js +2 -2
  197. package/dist/esm/taro-aweme-data-core.entry.js +1 -1
  198. package/dist/esm/taro-block-core.entry.js +1 -1
  199. package/dist/esm/taro-button-core.entry.js +2 -2
  200. package/dist/esm/taro-camera-core.entry.js +1 -1
  201. package/dist/esm/taro-canvas-core.entry.js +2 -2
  202. package/dist/esm/taro-channel-live-core.entry.js +1 -1
  203. package/dist/esm/taro-channel-video-core.entry.js +1 -1
  204. package/dist/esm/taro-checkbox-core_2.entry.js +2 -2
  205. package/dist/esm/taro-comment-detail-core.entry.js +1 -1
  206. package/dist/esm/taro-comment-list-core.entry.js +1 -1
  207. package/dist/esm/taro-components.js +3 -3
  208. package/dist/esm/taro-contact-button-core.entry.js +1 -1
  209. package/dist/esm/taro-cover-image-core.entry.js +2 -2
  210. package/dist/esm/taro-cover-view-core.entry.js +1 -1
  211. package/dist/esm/taro-custom-wrapper-core.entry.js +1 -1
  212. package/dist/esm/taro-draggable-sheet-core.entry.js +17 -0
  213. package/dist/esm/taro-editor-core.entry.js +1 -1
  214. package/dist/esm/taro-follow-swan-core.entry.js +1 -1
  215. package/dist/esm/taro-form-core.entry.js +1 -1
  216. package/dist/esm/taro-functional-page-navigator-core.entry.js +1 -1
  217. package/dist/esm/taro-grid-builder-core.entry.js +17 -0
  218. package/dist/esm/taro-grid-view-core.entry.js +1 -1
  219. package/dist/esm/taro-icon-core.entry.js +4 -1
  220. package/dist/esm/taro-image-core.entry.js +6 -5
  221. package/dist/esm/taro-inline-payment-panel-core.entry.js +1 -1
  222. package/dist/esm/taro-input-core.entry.js +2 -2
  223. package/dist/esm/taro-keyboard-accessory-core.entry.js +1 -1
  224. package/dist/esm/taro-label-core.entry.js +1 -1
  225. package/dist/esm/taro-lifestyle-core.entry.js +1 -1
  226. package/dist/esm/taro-like-core.entry.js +1 -1
  227. package/dist/esm/taro-list-builder-core.entry.js +17 -0
  228. package/dist/esm/taro-list-view-core.entry.js +1 -1
  229. package/dist/esm/taro-live-player-core.entry.js +1 -1
  230. package/dist/esm/taro-live-pusher-core.entry.js +1 -1
  231. package/dist/esm/taro-login-core.entry.js +1 -1
  232. package/dist/esm/taro-lottie-core.entry.js +1 -1
  233. package/dist/esm/taro-map-core.entry.js +1321 -6
  234. package/dist/esm/taro-match-media-core.entry.js +1 -1
  235. package/dist/esm/taro-movable-area-core_2.entry.js +8 -5
  236. package/dist/esm/taro-native-slot-core.entry.js +1 -1
  237. package/dist/esm/taro-navigation-bar-core.entry.js +1 -1
  238. package/dist/esm/taro-navigator-core.entry.js +1 -1
  239. package/dist/esm/taro-nested-scroll-body-core.entry.js +17 -0
  240. package/dist/esm/taro-nested-scroll-header-core.entry.js +17 -0
  241. package/dist/esm/taro-official-account-core.entry.js +1 -1
  242. package/dist/esm/taro-open-container-core.entry.js +17 -0
  243. package/dist/esm/taro-open-data-core.entry.js +1 -1
  244. package/dist/esm/taro-page-container-core.entry.js +1 -1
  245. package/dist/esm/taro-page-meta-core.entry.js +1 -1
  246. package/dist/esm/taro-picker-core_2.entry.js +2 -2
  247. package/dist/esm/taro-picker-view-column-core_2.entry.js +4 -4
  248. package/dist/esm/taro-progress-core.entry.js +4 -1
  249. package/dist/esm/{taro-pull-to-refresh.entry.js → taro-pull-to-refresh-core.entry.js} +19 -14
  250. package/dist/esm/taro-radio-core_2.entry.js +1 -1
  251. package/dist/esm/taro-rich-text-core.entry.js +2 -2
  252. package/dist/esm/taro-root-portal-core.entry.js +1 -1
  253. package/dist/esm/taro-rtc-room-core.entry.js +1 -1
  254. package/dist/esm/taro-rtc-room-item-core.entry.js +1 -1
  255. package/dist/esm/taro-scroll-view-core.entry.js +3 -3
  256. package/dist/esm/taro-share-element-core.entry.js +1 -1
  257. package/dist/esm/taro-slider-core.entry.js +4 -1
  258. package/dist/esm/taro-slot-core.entry.js +1 -1
  259. package/dist/esm/taro-snapshot-core.entry.js +1 -1
  260. package/dist/esm/taro-span-core.entry.js +17 -0
  261. package/dist/esm/taro-sticky-header-core.entry.js +1 -1
  262. package/dist/esm/taro-sticky-section-core.entry.js +1 -1
  263. package/dist/esm/taro-swiper-core_2.entry.js +113 -9906
  264. package/dist/esm/taro-switch-core.entry.js +13 -12
  265. package/dist/esm/taro-tab-item-core.entry.js +1 -1
  266. package/dist/esm/taro-tabbar.entry.js +5 -78
  267. package/dist/esm/taro-tabs-core.entry.js +1 -1
  268. package/dist/esm/taro-text-core.entry.js +2 -2
  269. package/dist/esm/taro-textarea-core.entry.js +12 -3
  270. package/dist/esm/taro-video-control_3.entry.js +13 -7
  271. package/dist/esm/taro-view-core.entry.js +2 -2
  272. package/dist/esm/taro-voip-room-core.entry.js +1 -1
  273. package/dist/esm/taro-web-view-core.entry.js +2 -2
  274. package/dist/esm-es5/index-a00a7418.js +1 -0
  275. package/dist/esm-es5/index-ab3c86da.js +2 -0
  276. package/dist/esm-es5/loader.js +1 -1
  277. package/dist/esm-es5/taro-ad-core.entry.js +1 -1
  278. package/dist/esm-es5/taro-ad-custom-core.entry.js +1 -1
  279. package/dist/esm-es5/taro-animation-video-core.entry.js +1 -1
  280. package/dist/esm-es5/taro-animation-view-core.entry.js +1 -1
  281. package/dist/esm-es5/taro-ar-camera-core.entry.js +1 -1
  282. package/dist/esm-es5/taro-audio-core.entry.js +1 -1
  283. package/dist/esm-es5/taro-aweme-data-core.entry.js +1 -1
  284. package/dist/esm-es5/taro-block-core.entry.js +1 -1
  285. package/dist/esm-es5/taro-button-core.entry.js +1 -1
  286. package/dist/esm-es5/taro-camera-core.entry.js +1 -1
  287. package/dist/esm-es5/taro-canvas-core.entry.js +1 -1
  288. package/dist/esm-es5/taro-channel-live-core.entry.js +1 -1
  289. package/dist/esm-es5/taro-channel-video-core.entry.js +1 -1
  290. package/dist/esm-es5/taro-checkbox-core_2.entry.js +1 -1
  291. package/dist/esm-es5/taro-comment-detail-core.entry.js +1 -1
  292. package/dist/esm-es5/taro-comment-list-core.entry.js +1 -1
  293. package/dist/esm-es5/taro-components.js +1 -1
  294. package/dist/esm-es5/taro-contact-button-core.entry.js +1 -1
  295. package/dist/esm-es5/taro-cover-image-core.entry.js +1 -1
  296. package/dist/esm-es5/taro-cover-view-core.entry.js +1 -1
  297. package/dist/esm-es5/taro-custom-wrapper-core.entry.js +1 -1
  298. package/dist/esm-es5/taro-draggable-sheet-core.entry.js +1 -0
  299. package/dist/esm-es5/taro-editor-core.entry.js +1 -1
  300. package/dist/esm-es5/taro-follow-swan-core.entry.js +1 -1
  301. package/dist/esm-es5/taro-form-core.entry.js +1 -1
  302. package/dist/esm-es5/taro-functional-page-navigator-core.entry.js +1 -1
  303. package/dist/esm-es5/taro-grid-builder-core.entry.js +1 -0
  304. package/dist/esm-es5/taro-grid-view-core.entry.js +1 -1
  305. package/dist/esm-es5/taro-icon-core.entry.js +1 -1
  306. package/dist/esm-es5/taro-image-core.entry.js +1 -1
  307. package/dist/esm-es5/taro-inline-payment-panel-core.entry.js +1 -1
  308. package/dist/esm-es5/taro-input-core.entry.js +1 -1
  309. package/dist/esm-es5/taro-keyboard-accessory-core.entry.js +1 -1
  310. package/dist/esm-es5/taro-label-core.entry.js +1 -1
  311. package/dist/esm-es5/taro-lifestyle-core.entry.js +1 -1
  312. package/dist/esm-es5/taro-like-core.entry.js +1 -1
  313. package/dist/esm-es5/taro-list-builder-core.entry.js +1 -0
  314. package/dist/esm-es5/taro-list-view-core.entry.js +1 -1
  315. package/dist/esm-es5/taro-live-player-core.entry.js +1 -1
  316. package/dist/esm-es5/taro-live-pusher-core.entry.js +1 -1
  317. package/dist/esm-es5/taro-login-core.entry.js +1 -1
  318. package/dist/esm-es5/taro-lottie-core.entry.js +1 -1
  319. package/dist/esm-es5/taro-map-core.entry.js +1 -1
  320. package/dist/esm-es5/taro-match-media-core.entry.js +1 -1
  321. package/dist/esm-es5/taro-movable-area-core_2.entry.js +1 -1
  322. package/dist/esm-es5/taro-native-slot-core.entry.js +1 -1
  323. package/dist/esm-es5/taro-navigation-bar-core.entry.js +1 -1
  324. package/dist/esm-es5/taro-navigator-core.entry.js +1 -1
  325. package/dist/esm-es5/taro-nested-scroll-body-core.entry.js +1 -0
  326. package/dist/esm-es5/taro-nested-scroll-header-core.entry.js +1 -0
  327. package/dist/esm-es5/taro-official-account-core.entry.js +1 -1
  328. package/dist/esm-es5/taro-open-container-core.entry.js +1 -0
  329. package/dist/esm-es5/taro-open-data-core.entry.js +1 -1
  330. package/dist/esm-es5/taro-page-container-core.entry.js +1 -1
  331. package/dist/esm-es5/taro-page-meta-core.entry.js +1 -1
  332. package/dist/esm-es5/taro-picker-core_2.entry.js +1 -1
  333. package/dist/esm-es5/taro-picker-view-column-core_2.entry.js +1 -1
  334. package/dist/esm-es5/taro-progress-core.entry.js +1 -1
  335. package/dist/esm-es5/taro-pull-to-refresh-core.entry.js +1 -0
  336. package/dist/esm-es5/taro-radio-core_2.entry.js +1 -1
  337. package/dist/esm-es5/taro-rich-text-core.entry.js +1 -1
  338. package/dist/esm-es5/taro-root-portal-core.entry.js +1 -1
  339. package/dist/esm-es5/taro-rtc-room-core.entry.js +1 -1
  340. package/dist/esm-es5/taro-rtc-room-item-core.entry.js +1 -1
  341. package/dist/esm-es5/taro-scroll-view-core.entry.js +1 -1
  342. package/dist/esm-es5/taro-share-element-core.entry.js +1 -1
  343. package/dist/esm-es5/taro-slider-core.entry.js +1 -1
  344. package/dist/esm-es5/taro-slot-core.entry.js +1 -1
  345. package/dist/esm-es5/taro-snapshot-core.entry.js +1 -1
  346. package/dist/esm-es5/taro-span-core.entry.js +1 -0
  347. package/dist/esm-es5/taro-sticky-header-core.entry.js +1 -1
  348. package/dist/esm-es5/taro-sticky-section-core.entry.js +1 -1
  349. package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -1
  350. package/dist/esm-es5/taro-switch-core.entry.js +1 -1
  351. package/dist/esm-es5/taro-tab-item-core.entry.js +1 -1
  352. package/dist/esm-es5/taro-tabbar.entry.js +1 -1
  353. package/dist/esm-es5/taro-tabs-core.entry.js +1 -1
  354. package/dist/esm-es5/taro-text-core.entry.js +1 -1
  355. package/dist/esm-es5/taro-textarea-core.entry.js +1 -1
  356. package/dist/esm-es5/taro-video-control_3.entry.js +1 -1
  357. package/dist/esm-es5/taro-view-core.entry.js +1 -1
  358. package/dist/esm-es5/taro-voip-room-core.entry.js +1 -1
  359. package/dist/esm-es5/taro-web-view-core.entry.js +1 -1
  360. package/dist/hydrate/index.d.ts +217 -0
  361. package/dist/hydrate/index.js +14586 -0
  362. package/dist/hydrate/package.json +6 -0
  363. package/dist/taro-components/p-0044961f.system.entry.js +1 -0
  364. package/dist/taro-components/p-010faa87.system.js +1 -0
  365. package/dist/taro-components/{p-2da9c8fd.entry.js → p-0132e803.entry.js} +1 -1
  366. package/dist/taro-components/{p-be96eb59.system.entry.js → p-019124ae.system.entry.js} +1 -1
  367. package/dist/taro-components/p-04f97133.system.entry.js +1 -0
  368. package/dist/taro-components/{p-c1a3fecf.system.entry.js → p-069ae782.system.entry.js} +1 -1
  369. package/dist/taro-components/{p-f23cfdc8.entry.js → p-0d8a0733.entry.js} +1 -1
  370. package/dist/taro-components/p-0f95be56.entry.js +1 -0
  371. package/dist/taro-components/p-0fe4660a.entry.js +1 -0
  372. package/dist/taro-components/{p-15624788.system.entry.js → p-1087c51a.system.entry.js} +1 -1
  373. package/dist/taro-components/p-11c0dc59.system.entry.js +1 -0
  374. package/dist/taro-components/{p-1cf16dfa.entry.js → p-12b967fd.entry.js} +1 -1
  375. package/dist/taro-components/{p-43720011.entry.js → p-13bf0192.entry.js} +1 -1
  376. package/dist/taro-components/{p-ef322936.entry.js → p-13e80cf7.entry.js} +1 -1
  377. package/dist/taro-components/{p-9ea4f297.entry.js → p-15c1ce79.entry.js} +1 -1
  378. package/dist/taro-components/{p-00ed4bbb.entry.js → p-16705ca9.entry.js} +1 -1
  379. package/dist/taro-components/{p-f420680c.system.entry.js → p-194ace03.system.entry.js} +1 -1
  380. package/dist/taro-components/p-19b04eb7.entry.js +1 -0
  381. package/dist/taro-components/{p-92d04741.system.entry.js → p-19b993d8.system.entry.js} +1 -1
  382. package/dist/taro-components/p-1acf7537.entry.js +1 -0
  383. package/dist/taro-components/p-1d102ddb.system.entry.js +1 -0
  384. package/dist/taro-components/p-25636983.entry.js +1 -0
  385. package/dist/taro-components/{p-d2e0b15c.entry.js → p-28bc8a48.entry.js} +1 -1
  386. package/dist/taro-components/p-2b70c348.system.js +2 -0
  387. package/dist/taro-components/{p-64eb91f7.entry.js → p-2d382d0e.entry.js} +1 -1
  388. package/dist/taro-components/{p-0e8199b7.entry.js → p-2ebc3182.entry.js} +1 -1
  389. package/dist/taro-components/p-2f8ebd28.system.entry.js +1 -0
  390. package/dist/taro-components/p-317c4cad.entry.js +1 -0
  391. package/dist/taro-components/p-33980e67.entry.js +1 -0
  392. package/dist/taro-components/{p-38ee526a.entry.js → p-342a2594.entry.js} +1 -1
  393. package/dist/taro-components/p-3430d520.system.entry.js +1 -0
  394. package/dist/taro-components/p-34ba9330.system.entry.js +1 -0
  395. package/dist/taro-components/{p-b07cd197.system.entry.js → p-36ea0ac1.system.entry.js} +1 -1
  396. package/dist/taro-components/{p-29638de3.entry.js → p-370cc947.entry.js} +1 -1
  397. package/dist/taro-components/p-378b504c.entry.js +1 -0
  398. package/dist/taro-components/{p-ebc7b6fc.entry.js → p-37bc198d.entry.js} +1 -1
  399. package/dist/taro-components/{p-bf0e0394.entry.js → p-39b3e34d.entry.js} +1 -1
  400. package/dist/taro-components/p-3a0a05fd.system.entry.js +1 -0
  401. package/dist/taro-components/p-3a3d40de.system.entry.js +1 -0
  402. package/dist/taro-components/{p-a4951dd6.entry.js → p-3d423adc.entry.js} +1 -1
  403. package/dist/taro-components/p-3e4b5391.system.entry.js +1 -0
  404. package/dist/taro-components/p-3eedb8d7.system.entry.js +1 -0
  405. package/dist/taro-components/{p-84958ace.entry.js → p-43932446.entry.js} +1 -1
  406. package/dist/taro-components/p-4621b303.system.entry.js +1 -0
  407. package/dist/taro-components/{p-de96861c.system.entry.js → p-46ccb393.system.entry.js} +1 -1
  408. package/dist/taro-components/p-477f8fbd.system.js +1 -0
  409. package/dist/taro-components/p-4824cc94.entry.js +1 -0
  410. package/dist/taro-components/p-48a84765.entry.js +1 -0
  411. package/dist/taro-components/{p-e740320c.entry.js → p-49e9b2ff.entry.js} +1 -1
  412. package/dist/taro-components/{p-c0080d83.entry.js → p-4a748c0d.entry.js} +1 -1
  413. package/dist/taro-components/{p-b5b30493.system.entry.js → p-4b5f75b9.system.entry.js} +1 -1
  414. package/dist/taro-components/p-4c30ea10.entry.js +1 -0
  415. package/dist/taro-components/p-4e63d3bd.entry.js +1 -0
  416. package/dist/taro-components/{p-69c43a81.entry.js → p-4fcb258a.entry.js} +1 -1
  417. package/dist/taro-components/{p-9fe49bab.entry.js → p-4ffae31c.entry.js} +1 -1
  418. package/dist/taro-components/{p-a6e2dd48.entry.js → p-50b21f94.entry.js} +1 -1
  419. package/dist/taro-components/p-5186ab96.system.entry.js +1 -0
  420. package/dist/taro-components/p-518a9b73.entry.js +1 -0
  421. package/dist/taro-components/{p-085076c5.system.entry.js → p-52ad5213.system.entry.js} +1 -1
  422. package/dist/taro-components/{p-36d4407e.system.entry.js → p-55934653.system.entry.js} +1 -1
  423. package/dist/taro-components/p-55e54f2a.system.entry.js +1 -0
  424. package/dist/taro-components/{p-0d7a705b.system.entry.js → p-562eace8.system.entry.js} +1 -1
  425. package/dist/taro-components/p-5893c3ed.js +1 -0
  426. package/dist/taro-components/{p-a2141e85.system.entry.js → p-5a78fbdf.system.entry.js} +1 -1
  427. package/dist/taro-components/{p-22bf7daf.entry.js → p-5b4de079.entry.js} +1 -1
  428. package/dist/taro-components/p-5b86e66b.system.entry.js +1 -0
  429. package/dist/taro-components/p-5bfdb5f3.entry.js +1 -0
  430. package/dist/taro-components/{p-a74c970c.system.entry.js → p-5c0f97d3.system.entry.js} +1 -1
  431. package/dist/taro-components/{p-0fa96970.entry.js → p-5dbabb65.entry.js} +1 -1
  432. package/dist/taro-components/{p-a2d590ad.entry.js → p-5f4c6ca5.entry.js} +1 -1
  433. package/dist/taro-components/{p-5994d9f2.system.entry.js → p-618ee593.system.entry.js} +1 -1
  434. package/dist/taro-components/p-62df5526.entry.js +1 -0
  435. package/dist/taro-components/{p-600e89cc.system.entry.js → p-66029061.system.entry.js} +1 -1
  436. package/dist/taro-components/{p-7726b789.system.entry.js → p-69e70cd5.system.entry.js} +1 -1
  437. package/dist/taro-components/{p-c913b635.system.entry.js → p-6c06b440.system.entry.js} +1 -1
  438. package/dist/taro-components/p-6dd357b9.entry.js +1 -0
  439. package/dist/taro-components/{p-5e91398a.system.entry.js → p-6f1034a6.system.entry.js} +1 -1
  440. package/dist/taro-components/{p-bd4ed8b1.entry.js → p-6f3187bc.entry.js} +1 -1
  441. package/dist/taro-components/{p-b201ff38.entry.js → p-6f8926e3.entry.js} +1 -1
  442. package/dist/taro-components/p-6ffc9bda.system.entry.js +1 -0
  443. package/dist/taro-components/p-751d42cb.entry.js +1 -0
  444. package/dist/taro-components/{p-124ac21f.entry.js → p-756aa971.entry.js} +1 -1
  445. package/dist/taro-components/p-76c0f443.entry.js +1 -0
  446. package/dist/taro-components/p-77e030e9.system.entry.js +1 -0
  447. package/dist/taro-components/p-7b3ce3af.system.entry.js +1 -0
  448. package/dist/taro-components/p-7b80637e.system.entry.js +1 -0
  449. package/dist/taro-components/p-7bc6aa36.entry.js +1 -0
  450. package/dist/taro-components/p-7e3f0837.entry.js +1 -0
  451. package/dist/taro-components/{p-f4d86882.entry.js → p-7f3d9184.entry.js} +1 -1
  452. package/dist/taro-components/{p-065a10d7.entry.js → p-80228985.entry.js} +1 -1
  453. package/dist/taro-components/{p-fac4ce6f.system.entry.js → p-80fa706c.system.entry.js} +1 -1
  454. package/dist/taro-components/{p-6cde54e5.system.entry.js → p-829157b1.system.entry.js} +1 -1
  455. package/dist/taro-components/p-82c5b9d3.entry.js +1 -0
  456. package/dist/taro-components/{p-3004e71a.system.entry.js → p-82d52f00.system.entry.js} +1 -1
  457. package/dist/taro-components/p-87b0d22f.entry.js +1 -0
  458. package/dist/taro-components/{p-ad9b04e0.entry.js → p-8a6e93ed.entry.js} +1 -1
  459. package/dist/taro-components/p-8b7e37c9.system.entry.js +1 -0
  460. package/dist/taro-components/{p-f78823a1.entry.js → p-8bde1f48.entry.js} +1 -1
  461. package/dist/taro-components/p-8d838f20.entry.js +1 -0
  462. package/dist/taro-components/{p-519fbe84.system.entry.js → p-90ee19f8.system.entry.js} +1 -1
  463. package/dist/taro-components/{p-fd7ff0f3.system.entry.js → p-923aa1c8.system.entry.js} +1 -1
  464. package/dist/taro-components/{p-0ec2e88a.entry.js → p-92b7b545.entry.js} +1 -1
  465. package/dist/taro-components/{p-7e8e355b.system.entry.js → p-93b39a89.system.entry.js} +1 -1
  466. package/dist/taro-components/{p-9d76d7a9.system.entry.js → p-970a4199.system.entry.js} +1 -1
  467. package/dist/taro-components/{p-ce303d12.system.entry.js → p-97177863.system.entry.js} +1 -1
  468. package/dist/taro-components/p-99440bcc.system.entry.js +1 -0
  469. package/dist/taro-components/p-9f1b0ae1.entry.js +1 -0
  470. package/dist/taro-components/p-9f3e0019.system.entry.js +1 -0
  471. package/dist/taro-components/{p-76996fcb.entry.js → p-a2f848cc.entry.js} +1 -1
  472. package/dist/taro-components/{p-aa04f605.entry.js → p-a6790f39.entry.js} +1 -1
  473. package/dist/taro-components/p-a997cf7c.system.entry.js +1 -0
  474. package/dist/taro-components/p-aa11b00c.system.entry.js +1 -0
  475. package/dist/taro-components/p-adee7f1b.system.entry.js +1 -0
  476. package/dist/taro-components/{p-bc541cd8.entry.js → p-ae99551a.entry.js} +1 -1
  477. package/dist/taro-components/p-aed23034.system.entry.js +1 -0
  478. package/dist/taro-components/p-b0f12e64.system.entry.js +1 -0
  479. package/dist/taro-components/p-b259a558.system.entry.js +1 -0
  480. package/dist/taro-components/{p-30805bdf.entry.js → p-b3129dec.entry.js} +1 -1
  481. package/dist/taro-components/p-b3419d7f.system.entry.js +1 -0
  482. package/dist/taro-components/p-b4047b11.entry.js +1 -0
  483. package/dist/taro-components/{p-da3db323.entry.js → p-b43fa9b0.entry.js} +1 -1
  484. package/dist/taro-components/p-b4707cdd.entry.js +1 -0
  485. package/dist/taro-components/{p-ccc64042.system.entry.js → p-b655e854.system.entry.js} +1 -1
  486. package/dist/taro-components/{p-5870248f.system.entry.js → p-b66dfc82.system.entry.js} +1 -1
  487. package/dist/taro-components/p-ba241824.system.entry.js +1 -0
  488. package/dist/taro-components/{p-d9dcc6c6.entry.js → p-baea6a63.entry.js} +1 -1
  489. package/dist/taro-components/{p-f2c86846.entry.js → p-c0f16127.entry.js} +1 -1
  490. package/dist/taro-components/{p-8ccaf5e8.entry.js → p-c253be9f.entry.js} +1 -1
  491. package/dist/taro-components/p-c58627f4.entry.js +1 -0
  492. package/dist/taro-components/p-c76270f4.system.entry.js +1 -0
  493. package/dist/taro-components/p-c863ac7f.system.entry.js +1 -0
  494. package/dist/taro-components/p-cc993977.system.entry.js +1 -0
  495. package/dist/taro-components/p-cee51d71.system.entry.js +1 -0
  496. package/dist/taro-components/{p-1b789738.system.entry.js → p-d12b6a84.system.entry.js} +1 -1
  497. package/dist/taro-components/{p-a5a51112.entry.js → p-d184903b.entry.js} +1 -1
  498. package/dist/taro-components/p-d29a59cd.entry.js +1 -0
  499. package/dist/taro-components/p-d6bd1a5b.entry.js +1 -0
  500. package/dist/taro-components/{p-862b38b9.entry.js → p-da4c4cad.entry.js} +1 -1
  501. package/dist/taro-components/{p-b641e598.entry.js → p-dc366f18.entry.js} +1 -1
  502. package/dist/taro-components/p-dd7a128d.js +2 -0
  503. package/dist/taro-components/{p-d1756770.entry.js → p-dde26531.entry.js} +1 -1
  504. package/dist/taro-components/{p-a90221ab.system.entry.js → p-de1d495a.system.entry.js} +1 -1
  505. package/dist/taro-components/{p-f1304456.entry.js → p-e23769c4.entry.js} +1 -1
  506. package/dist/taro-components/p-e2694a79.system.entry.js +1 -0
  507. package/dist/taro-components/{p-fbb2446e.entry.js → p-e2a22cd1.entry.js} +1 -1
  508. package/dist/taro-components/{p-21c07cb3.system.entry.js → p-e41ed824.system.entry.js} +1 -1
  509. package/dist/taro-components/p-e5a80896.system.entry.js +1 -0
  510. package/dist/taro-components/p-e5b43c80.system.entry.js +1 -0
  511. package/dist/taro-components/{p-58cc2e6d.system.entry.js → p-e6a2f1bd.system.entry.js} +1 -1
  512. package/dist/taro-components/{p-78e4805e.entry.js → p-ead6e57b.entry.js} +1 -1
  513. package/dist/taro-components/p-ebbbdde5.entry.js +1 -0
  514. package/dist/taro-components/{p-4fc40739.entry.js → p-ec00e517.entry.js} +1 -1
  515. package/dist/taro-components/p-ec0d8c41.system.entry.js +1 -0
  516. package/dist/taro-components/p-ed081b3d.entry.js +1 -0
  517. package/dist/taro-components/{p-208e438c.system.entry.js → p-eda34d91.system.entry.js} +1 -1
  518. package/dist/taro-components/{p-9e03bc7a.system.entry.js → p-ee9d6467.system.entry.js} +1 -1
  519. package/dist/taro-components/p-f0056aca.system.entry.js +1 -0
  520. package/dist/taro-components/p-f470ce9f.system.entry.js +1 -0
  521. package/dist/taro-components/{p-24d9836e.entry.js → p-f662c928.entry.js} +1 -1
  522. package/dist/taro-components/p-f6743078.system.entry.js +1 -0
  523. package/dist/taro-components/p-f7198b67.system.entry.js +1 -0
  524. package/dist/taro-components/{p-473afc8e.system.entry.js → p-f782ee74.system.entry.js} +1 -1
  525. package/dist/taro-components/p-f94c0445.system.entry.js +1 -0
  526. package/dist/taro-components/p-f9a13a5c.entry.js +1 -0
  527. package/dist/taro-components/p-fa9dbb6f.system.entry.js +1 -0
  528. package/dist/taro-components/{p-8d990f1c.system.entry.js → p-fbb789a4.system.entry.js} +1 -1
  529. package/dist/taro-components/{p-b1d2b575.system.entry.js → p-fe1dd94f.system.entry.js} +1 -1
  530. package/dist/taro-components/{p-0e3b37e9.entry.js → p-fe8ee676.entry.js} +1 -1
  531. package/dist/taro-components/p-ffaac078.system.entry.js +1 -0
  532. package/dist/taro-components/taro-components.css +1 -5
  533. package/dist/taro-components/taro-components.esm.js +1 -1
  534. package/dist/taro-components/taro-components.js +1 -1
  535. package/dist/types/components/draggable-sheet/draggable-sheet.d.ts +5 -0
  536. package/dist/types/components/grid-builder/grid-builder.d.ts +5 -0
  537. package/dist/types/components/list-builder/list-builder.d.ts +5 -0
  538. package/dist/types/components/map/map.d.ts +145 -2
  539. package/dist/types/components/nested-scroll-body/nested-scroll-body.d.ts +5 -0
  540. package/dist/types/components/nested-scroll-header/nested-scroll-header.d.ts +5 -0
  541. package/dist/types/components/open-container/open-container.d.ts +5 -0
  542. package/dist/types/components/span/span.d.ts +5 -0
  543. package/dist/types/components/swiper/swiper-item.d.ts +3 -0
  544. package/dist/types/components/swiper/swiper.d.ts +6 -2
  545. package/dist/types/components/switch/switch.d.ts +3 -3
  546. package/dist/types/components/tabbar/tabbar-item.d.ts +4 -4
  547. package/dist/types/components/tabbar/tabbar.d.ts +15 -16
  548. package/dist/types/components/textarea/textarea.d.ts +1 -0
  549. package/dist/types/components.d.ts +330 -15
  550. package/dist/types/utils/index.d.ts +2 -0
  551. package/lib/react/components.d.ts +9 -2
  552. package/lib/react/components.js +10 -3
  553. package/lib/react/components.js.map +1 -1
  554. package/lib/react/index.js +1 -1
  555. package/lib/react/react-component-lib/createComponent.js +3 -2
  556. package/lib/react/react-component-lib/createComponent.js.map +1 -1
  557. package/lib/react/react-component-lib/createOverlayComponent.js +1 -1
  558. package/lib/react/react-component-lib/utils/attachProps.d.ts +16 -7
  559. package/lib/react/react-component-lib/utils/attachProps.js +86 -10
  560. package/lib/react/react-component-lib/utils/attachProps.js.map +1 -1
  561. package/lib/react/react-component-lib/utils/index.js +1 -1
  562. package/lib/vue2/components.d.ts +39 -3
  563. package/lib/vue2/components.js +56 -5
  564. package/lib/vue2/components.js.map +1 -1
  565. package/lib/vue2/index.js +1 -1
  566. package/lib/vue3/components.d.ts +10 -5
  567. package/lib/vue3/components.js +42 -5
  568. package/lib/vue3/components.js.map +1 -1
  569. package/lib/vue3/index.js +1 -1
  570. package/package.json +17 -11
  571. package/types/Audio.d.ts +11 -11
  572. package/types/Button.d.ts +9 -9
  573. package/types/Canvas.d.ts +11 -11
  574. package/types/Checkbox.d.ts +8 -8
  575. package/types/CheckboxGroup.d.ts +3 -3
  576. package/types/CoverImage.d.ts +4 -4
  577. package/types/CoverView.d.ts +1 -1
  578. package/types/CustomWrapper.d.ts +1 -1
  579. package/types/DraggableSheet.d.ts +47 -0
  580. package/types/Form.d.ts +4 -4
  581. package/types/GridBuilder.d.ts +72 -0
  582. package/types/GridView.d.ts +18 -4
  583. package/types/Icon.d.ts +4 -4
  584. package/types/Image.d.ts +8 -8
  585. package/types/Input.d.ts +22 -17
  586. package/types/Label.d.ts +2 -2
  587. package/types/ListBuilder.d.ts +55 -0
  588. package/types/ListView.d.ts +8 -1
  589. package/types/Map.d.ts +0 -2
  590. package/types/MovableArea.d.ts +2 -2
  591. package/types/MovableView.d.ts +18 -18
  592. package/types/NativeSlot.d.ts +1 -1
  593. package/types/Navigator.d.ts +8 -8
  594. package/types/NestedScrollBody.d.ts +15 -0
  595. package/types/NestedScrollHeader.d.ts +15 -0
  596. package/types/OpenContainer.d.ts +74 -0
  597. package/types/PageMeta.d.ts +6 -0
  598. package/types/Picker.d.ts +48 -27
  599. package/types/PickerView.d.ts +6 -1
  600. package/types/PickerViewColumn.d.ts +1 -1
  601. package/types/Progress.d.ts +13 -13
  602. package/types/Radio.d.ts +7 -7
  603. package/types/RadioGroup.d.ts +2 -2
  604. package/types/RichText.d.ts +6 -6
  605. package/types/Script.d.ts +37 -0
  606. package/types/ScrollView.d.ts +20 -14
  607. package/types/ShareElement.d.ts +1 -0
  608. package/types/Slider.d.ts +18 -13
  609. package/types/Slot.d.ts +1 -1
  610. package/types/Snapshot.d.ts +12 -3
  611. package/types/Span.d.ts +14 -0
  612. package/types/StickyHeader.d.ts +14 -1
  613. package/types/StickySection.d.ts +6 -0
  614. package/types/Swiper.d.ts +19 -19
  615. package/types/SwiperItem.d.ts +7 -2
  616. package/types/Switch.d.ts +12 -7
  617. package/types/Text.d.ts +20 -4
  618. package/types/Textarea.d.ts +18 -13
  619. package/types/Video.d.ts +30 -30
  620. package/types/View.d.ts +4 -4
  621. package/types/WebView.d.ts +4 -4
  622. package/types/common.d.ts +2 -1
  623. package/types/index.d.ts +8 -0
  624. package/types/index.vue3.d.ts +4 -0
  625. package/dist/cjs/hls-00fec546.js +0 -25673
  626. package/dist/cjs/intersection-observer-dc4cfcef.js +0 -728
  627. package/dist/collection/components/input/index.css +0 -12
  628. package/dist/components/hls.js +0 -25671
  629. package/dist/components/intersection-observer.js +0 -726
  630. package/dist/esm/hls-4018c7ea.js +0 -25671
  631. package/dist/esm/intersection-observer-8e4c7135.js +0 -726
  632. package/dist/esm-es5/hls-4018c7ea.js +0 -1
  633. package/dist/esm-es5/index-980f930f.js +0 -2
  634. package/dist/esm-es5/index-d1b03e47.js +0 -1
  635. package/dist/esm-es5/intersection-observer-8e4c7135.js +0 -1
  636. package/dist/esm-es5/taro-pull-to-refresh.entry.js +0 -1
  637. package/dist/taro-components/p-01e163f8.system.entry.js +0 -1
  638. package/dist/taro-components/p-06671eee.entry.js +0 -1
  639. package/dist/taro-components/p-08b7ecd7.system.entry.js +0 -1
  640. package/dist/taro-components/p-0a250d71.system.entry.js +0 -1
  641. package/dist/taro-components/p-0cedad18.system.entry.js +0 -1
  642. package/dist/taro-components/p-0fe855c6.entry.js +0 -1
  643. package/dist/taro-components/p-117633e9.system.entry.js +0 -1
  644. package/dist/taro-components/p-1e739fcb.system.entry.js +0 -1
  645. package/dist/taro-components/p-1f118969.system.entry.js +0 -1
  646. package/dist/taro-components/p-2a071adf.system.entry.js +0 -1
  647. package/dist/taro-components/p-32e9981a.system.entry.js +0 -1
  648. package/dist/taro-components/p-357ba712.system.entry.js +0 -1
  649. package/dist/taro-components/p-3b1d2d37.system.js +0 -1
  650. package/dist/taro-components/p-3f3abe55.system.entry.js +0 -1
  651. package/dist/taro-components/p-425c209a.entry.js +0 -1
  652. package/dist/taro-components/p-43efbf30.js +0 -1
  653. package/dist/taro-components/p-4cedbe5e.system.entry.js +0 -1
  654. package/dist/taro-components/p-4f1d180d.entry.js +0 -1
  655. package/dist/taro-components/p-5756cf00.system.entry.js +0 -1
  656. package/dist/taro-components/p-5ebc7010.system.entry.js +0 -1
  657. package/dist/taro-components/p-60faf73e.system.entry.js +0 -1
  658. package/dist/taro-components/p-657cb6e4.system.entry.js +0 -1
  659. package/dist/taro-components/p-6aa2ac6a.system.entry.js +0 -1
  660. package/dist/taro-components/p-6b454506.entry.js +0 -1
  661. package/dist/taro-components/p-7102ecf5.system.entry.js +0 -1
  662. package/dist/taro-components/p-72b118b0.entry.js +0 -1
  663. package/dist/taro-components/p-72f327e1.js +0 -1
  664. package/dist/taro-components/p-7b68dee8.entry.js +0 -1
  665. package/dist/taro-components/p-7bfc5f3d.entry.js +0 -1
  666. package/dist/taro-components/p-7e6b54cb.system.js +0 -2
  667. package/dist/taro-components/p-8ca82a56.entry.js +0 -1
  668. package/dist/taro-components/p-9137dcab.js +0 -2
  669. package/dist/taro-components/p-962f28cb.entry.js +0 -1
  670. package/dist/taro-components/p-99e16df8.entry.js +0 -1
  671. package/dist/taro-components/p-9a5fbb2e.entry.js +0 -1
  672. package/dist/taro-components/p-9b0298bf.entry.js +0 -1
  673. package/dist/taro-components/p-9dcba4a7.system.entry.js +0 -1
  674. package/dist/taro-components/p-9edea30f.system.entry.js +0 -1
  675. package/dist/taro-components/p-9eeba192.entry.js +0 -1
  676. package/dist/taro-components/p-9feff958.system.entry.js +0 -1
  677. package/dist/taro-components/p-a1763153.entry.js +0 -1
  678. package/dist/taro-components/p-a20fed0a.entry.js +0 -1
  679. package/dist/taro-components/p-a7d31b01.system.entry.js +0 -1
  680. package/dist/taro-components/p-a940a65b.entry.js +0 -1
  681. package/dist/taro-components/p-a94e3347.system.entry.js +0 -1
  682. package/dist/taro-components/p-b0fc8752.entry.js +0 -1
  683. package/dist/taro-components/p-bd5177d3.system.js +0 -1
  684. package/dist/taro-components/p-bf0c8449.system.entry.js +0 -1
  685. package/dist/taro-components/p-cb406f85.system.entry.js +0 -1
  686. package/dist/taro-components/p-d3c7f87d.js +0 -1
  687. package/dist/taro-components/p-d550aea9.system.entry.js +0 -1
  688. package/dist/taro-components/p-d5c8380d.system.entry.js +0 -1
  689. package/dist/taro-components/p-d867e333.system.entry.js +0 -1
  690. package/dist/taro-components/p-d8fe59c7.entry.js +0 -1
  691. package/dist/taro-components/p-dab28e1f.system.entry.js +0 -1
  692. package/dist/taro-components/p-dc5d65a0.system.entry.js +0 -1
  693. package/dist/taro-components/p-e09451c5.system.entry.js +0 -1
  694. package/dist/taro-components/p-e2cd5dd3.system.entry.js +0 -1
  695. package/dist/taro-components/p-e598f47b.entry.js +0 -1
  696. package/dist/taro-components/p-e6481671.system.entry.js +0 -1
  697. package/dist/taro-components/p-e67755f0.system.entry.js +0 -1
  698. package/dist/taro-components/p-e78775ce.system.js +0 -1
  699. package/dist/taro-components/p-e976c6c9.system.entry.js +0 -1
  700. package/dist/taro-components/p-ea0d5d4f.system.entry.js +0 -1
  701. package/dist/taro-components/p-ed331c06.system.js +0 -1
  702. package/dist/taro-components/p-eee6e075.system.entry.js +0 -1
  703. package/dist/taro-components/p-f02b6f70.entry.js +0 -1
  704. package/dist/taro-components/p-f0340edf.entry.js +0 -1
  705. package/dist/taro-components/p-f2235cbb.entry.js +0 -1
  706. package/dist/taro-components/p-f533bc2f.entry.js +0 -1
  707. package/dist/taro-components/p-f658de2e.entry.js +0 -1
  708. package/dist/taro-components/p-f6f6a996.system.entry.js +0 -1
  709. package/lib/react/node_modules/.pnpm/registry.npmjs.org_tslib@2.5.0/node_modules/tslib/tslib.es6.js +0 -296
  710. package/lib/react/node_modules/.pnpm/registry.npmjs.org_tslib@2.5.0/node_modules/tslib/tslib.es6.js.map +0 -1
@@ -1,3 +1,20 @@
1
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
2
+ if (kind === "a" && !f)
3
+ throw new TypeError("Private accessor was defined without a getter");
4
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
5
+ throw new TypeError("Cannot read private member from an object whose class did not declare it");
6
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
7
+ };
8
+ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {
9
+ if (kind === "m")
10
+ throw new TypeError("Private method is not writable");
11
+ if (kind === "a" && !f)
12
+ throw new TypeError("Private accessor was defined without a setter");
13
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
14
+ throw new TypeError("Cannot write private member to an object whose class did not declare it");
15
+ return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
16
+ };
17
+ var _Swiper_id, _Swiper_source;
1
18
  import { h, Host } from '@stencil/core';
2
19
  import classNames from 'classnames';
3
20
  import SwiperJS from 'swiper/swiper-bundle.esm.js';
@@ -5,7 +22,8 @@ import { debounce } from '../../utils';
5
22
  let INSTANCE_ID = 0;
6
23
  export class Swiper {
7
24
  constructor() {
8
- this._id = INSTANCE_ID++;
25
+ _Swiper_id.set(this, INSTANCE_ID++);
26
+ _Swiper_source.set(this, '');
9
27
  this.handleSwiperLoopListen = () => {
10
28
  var _a, _b, _c;
11
29
  ((_a = this.observerFirst) === null || _a === void 0 ? void 0 : _a.disconnect) && this.observerFirst.disconnect();
@@ -42,19 +60,19 @@ export class Swiper {
42
60
  };
43
61
  this.handleSwiperLoopDebounce = debounce(this.handleSwiperLoop, 50);
44
62
  this.handleSwiperSizeDebounce = debounce(() => {
45
- if (this.swiper && !this.circular) {
63
+ if (this.swiper && this.swiper.$wrapperEl && !this.circular) {
46
64
  this.swiper.updateSlides();
47
65
  }
48
66
  }, 50);
49
67
  this.swiperWrapper = undefined;
50
68
  this.swiper = undefined;
51
69
  this.isWillLoadCalled = false;
52
- this.source = '';
53
70
  this.indicatorDots = false;
54
71
  this.indicatorColor = 'rgba(0, 0, 0, .3)';
55
72
  this.indicatorActiveColor = '#000000';
56
73
  this.autoplay = false;
57
74
  this.current = 0;
75
+ this.currentItemId = '';
58
76
  this.interval = 5000;
59
77
  this.duration = 500;
60
78
  this.circular = false;
@@ -69,7 +87,7 @@ export class Swiper {
69
87
  this.observerLast = undefined;
70
88
  }
71
89
  watchCurrent(newVal) {
72
- if (!this.isWillLoadCalled)
90
+ if (this.currentItemId || !this.isWillLoadCalled)
73
91
  return;
74
92
  const n = parseInt(newVal, 10);
75
93
  if (isNaN(n))
@@ -83,6 +101,25 @@ export class Swiper {
83
101
  this.swiper.slideTo(n); // 更新下标
84
102
  }
85
103
  }
104
+ watchCurrentItemId(newVal) {
105
+ var _a;
106
+ const wrapper = (_a = this.swiper.$wrapperEl) === null || _a === void 0 ? void 0 : _a[0];
107
+ let itemIdIndex = 0;
108
+ wrapper.querySelectorAll('taro-swiper-item-core:not(.swiper-slide-duplicate)').forEach((swiperItem, index) => {
109
+ // @ts-ignore
110
+ if (swiperItem.itemId && swiperItem.itemId === newVal) {
111
+ itemIdIndex = index;
112
+ }
113
+ });
114
+ if (this.circular) {
115
+ if (!this.swiper.isBeginning && !this.swiper.isEnd) {
116
+ this.swiper.slideToLoop(itemIdIndex); // 更新下标
117
+ }
118
+ }
119
+ else {
120
+ this.swiper.slideTo(itemIdIndex); // 更新下标
121
+ }
122
+ }
86
123
  watchAutoplay(newVal) {
87
124
  if (!this.isWillLoadCalled || !this.swiper)
88
125
  return;
@@ -170,7 +207,9 @@ export class Swiper {
170
207
  if (this.autoplay && !((_a = this.swiper.autoplay) === null || _a === void 0 ? void 0 : _a.running)) {
171
208
  (_b = this.swiper.autoplay) === null || _b === void 0 ? void 0 : _b.start();
172
209
  }
173
- this.swiper.update(); // 更新子元素
210
+ if (this.swiper.$el) {
211
+ this.swiper.update(); // 更新子元素
212
+ }
174
213
  }
175
214
  componentDidRender() {
176
215
  this.handleSwiperLoop();
@@ -185,15 +224,26 @@ export class Swiper {
185
224
  (_f = (_e = this.observerLast) === null || _e === void 0 ? void 0 : _e.disconnect) === null || _f === void 0 ? void 0 : _f.call(_e);
186
225
  }
187
226
  handleInit() {
188
- const { autoplay, circular, current, displayMultipleItems, duration, interval, vertical } = this;
227
+ const { autoplay, circular, current, currentItemId, displayMultipleItems, duration, interval, vertical } = this;
228
+ let initialSlide = circular ? current + 1 : current;
229
+ if (currentItemId) {
230
+ let itemIdIndex = 0;
231
+ this.el.querySelectorAll('taro-swiper-item-core:not(.swiper-slide-duplicate)').forEach((swiperItem, index) => {
232
+ // @ts-ignore
233
+ if (swiperItem.itemId && swiperItem.itemId === currentItemId) {
234
+ itemIdIndex = index;
235
+ }
236
+ });
237
+ initialSlide = circular ? itemIdIndex + 1 : itemIdIndex;
238
+ }
189
239
  // eslint-disable-next-line @typescript-eslint/no-this-alias
190
240
  const that = this;
191
241
  const options = {
192
- pagination: { el: `.taro-swiper-${this._id} > .swiper-container > .swiper-pagination` },
242
+ pagination: { el: `.taro-swiper-${__classPrivateFieldGet(this, _Swiper_id, "f")} > .swiper-container > .swiper-pagination` },
193
243
  direction: vertical ? 'vertical' : 'horizontal',
194
244
  loop: circular,
195
245
  slidesPerView: displayMultipleItems,
196
- initialSlide: circular ? current + 1 : current,
246
+ initialSlide: initialSlide,
197
247
  speed: duration,
198
248
  observer: true,
199
249
  observeParents: true,
@@ -217,22 +267,22 @@ export class Swiper {
217
267
  }
218
268
  that.onChange.emit({
219
269
  current: this.realIndex,
220
- source: that.source
270
+ source: __classPrivateFieldGet(that, _Swiper_source, "f"),
221
271
  });
222
272
  },
223
273
  touchEnd: () => {
224
- that.source = 'touch';
274
+ __classPrivateFieldSet(that, _Swiper_source, 'touch', "f");
225
275
  },
226
276
  autoplay() {
227
- that.source = 'autoplay';
277
+ __classPrivateFieldSet(that, _Swiper_source, 'autoplay', "f");
228
278
  },
229
279
  transitionEnd() {
230
280
  setTimeout(() => {
231
- that.source = '';
281
+ __classPrivateFieldSet(that, _Swiper_source, '', "f");
232
282
  });
233
283
  that.onAnimationFinish.emit({
234
284
  current: this.realIndex,
235
- source: ''
285
+ source: __classPrivateFieldGet(that, _Swiper_source, "f"),
236
286
  });
237
287
  },
238
288
  observerUpdate(_swiper, e) {
@@ -258,8 +308,8 @@ export class Swiper {
258
308
  disableOnInteraction: false
259
309
  };
260
310
  }
261
- this.swiper = new SwiperJS(`.taro-swiper-${this._id} > .swiper-container`, options);
262
- this.swiperWrapper = this.el.querySelector(`.taro-swiper-${this._id} > .swiper-container > .swiper-wrapper`);
311
+ this.swiper = new SwiperJS(`.taro-swiper-${__classPrivateFieldGet(this, _Swiper_id, "f")} > .swiper-container`, options);
312
+ this.swiperWrapper = this.el.querySelector(`.taro-swiper-${__classPrivateFieldGet(this, _Swiper_id, "f")} > .swiper-container > .swiper-wrapper`);
263
313
  }
264
314
  render() {
265
315
  const { vertical, indicatorDots, indicatorColor, indicatorActiveColor } = this;
@@ -281,9 +331,9 @@ export class Swiper {
281
331
  style.marginRight = `${nM}px`;
282
332
  style.marginLeft = `${pM}px`;
283
333
  }
284
- return (h(Host, { class: `taro-swiper-${this._id}`, style: hostStyle }, h("div", { class: 'swiper-container', style: style }, h("style", { type: 'text/css' }, `
285
- .taro-swiper-${this._id} > .swiper-container > .swiper-pagination > .swiper-pagination-bullet { background: ${indicatorColor} }
286
- .taro-swiper-${this._id} > .swiper-container > .swiper-pagination > .swiper-pagination-bullet-active { background: ${indicatorActiveColor} }
334
+ return (h(Host, { class: `taro-swiper-${__classPrivateFieldGet(this, _Swiper_id, "f")}`, style: hostStyle }, h("div", { class: 'swiper-container', style: style }, h("style", { type: 'text/css' }, `
335
+ .taro-swiper-${__classPrivateFieldGet(this, _Swiper_id, "f")} > .swiper-container > .swiper-pagination > .swiper-pagination-bullet { background: ${indicatorColor} }
336
+ .taro-swiper-${__classPrivateFieldGet(this, _Swiper_id, "f")} > .swiper-container > .swiper-pagination > .swiper-pagination-bullet-active { background: ${indicatorActiveColor} }
287
337
  `), h("div", { class: 'swiper-wrapper' }, h("slot", null)), h("div", { class: classNames('swiper-pagination', {
288
338
  'swiper-pagination-hidden': !indicatorDots,
289
339
  'swiper-pagination-bullets': indicatorDots
@@ -392,6 +442,24 @@ export class Swiper {
392
442
  "reflect": false,
393
443
  "defaultValue": "0"
394
444
  },
445
+ "currentItemId": {
446
+ "type": "string",
447
+ "mutable": false,
448
+ "complexType": {
449
+ "original": "string",
450
+ "resolved": "string",
451
+ "references": {}
452
+ },
453
+ "required": false,
454
+ "optional": false,
455
+ "docs": {
456
+ "tags": [],
457
+ "text": "\u5F53\u524D\u6240\u5728\u6ED1\u5757\u7684 item-id"
458
+ },
459
+ "attribute": "current-item-id",
460
+ "reflect": false,
461
+ "defaultValue": "''"
462
+ },
395
463
  "interval": {
396
464
  "type": "number",
397
465
  "mutable": false,
@@ -561,7 +629,6 @@ export class Swiper {
561
629
  "swiperWrapper": {},
562
630
  "swiper": {},
563
631
  "isWillLoadCalled": {},
564
- "source": {},
565
632
  "observer": {},
566
633
  "observerFirst": {},
567
634
  "observerLast": {}
@@ -605,6 +672,9 @@ export class Swiper {
605
672
  return [{
606
673
  "propName": "current",
607
674
  "methodName": "watchCurrent"
675
+ }, {
676
+ "propName": "currentItemId",
677
+ "methodName": "watchCurrentItemId"
608
678
  }, {
609
679
  "propName": "autoplay",
610
680
  "methodName": "watchAutoplay"
@@ -626,3 +696,4 @@ export class Swiper {
626
696
  }];
627
697
  }
628
698
  }
699
+ _Swiper_id = new WeakMap(), _Swiper_source = new WeakMap();
@@ -1,10 +1 @@
1
- taro-switch-core {
2
- display: inline-block;
3
- width: 52px;
4
- height: 32px;
5
- }
6
- taro-switch-core .weui-switch {
7
- display: block;
8
- width: 100%;
9
- height: 100%;
10
- }
1
+ .weui-cell_switch{padding-top:6.5px;padding-bottom:6.5px}.weui-switch{appearance:none}.weui-switch,.weui-switch-cp__box{box-sizing:border-box;background-color:#dfdfdf;border:1px solid #dfdfdf;border-radius:16px;outline:0;width:52px;height:32px;transition:background-color .1s,border .1s;position:relative}.weui-switch:before,.weui-switch-cp__box:before{content:" ";background-color:#fdfdfd;border-radius:15px;width:50px;height:30px;transition:transform .35s cubic-bezier(.45,1,.4,1);position:absolute;top:0;left:0}.weui-switch:after,.weui-switch-cp__box:after{content:" ";background-color:#fff;border-radius:15px;width:30px;height:30px;transition:transform .35s cubic-bezier(.4,.4,.25,1.35);position:absolute;top:0;left:0;box-shadow:0 1px 3px rgba(0,0,0,.4)}.weui-switch:checked,.weui-switch-cp__input:checked~.weui-switch-cp__box{background-color:#04be02;border-color:#04be02}.weui-switch:checked:before,.weui-switch-cp__input:checked~.weui-switch-cp__box:before{transform:scale(0)}.weui-switch:checked:after,.weui-switch-cp__input:checked~.weui-switch-cp__box:after{transform:translate(20px)}.weui-switch-cp__input{position:absolute;left:-9999px}.weui-switch-cp__box{display:block}taro-switch-core{width:52px;height:32px;display:inline-block}taro-switch-core .weui-switch{width:100%;height:100%;display:block}
@@ -4,7 +4,7 @@ export class Switch {
4
4
  this.switchChange = e => {
5
5
  e.stopPropagation();
6
6
  const value = e.target.checked;
7
- this.isChecked = value;
7
+ this.checked = value;
8
8
  this.onChange.emit({
9
9
  value
10
10
  });
@@ -15,34 +15,35 @@ export class Switch {
15
15
  this.name = undefined;
16
16
  this.disabled = false;
17
17
  this.nativeProps = {};
18
- this.isChecked = undefined;
19
18
  this.isWillLoadCalled = false;
20
19
  }
21
- function(newVal, oldVal) {
20
+ function(newValue) {
22
21
  if (!this.isWillLoadCalled)
23
22
  return;
24
- if (newVal !== oldVal)
25
- this.isChecked = newVal;
23
+ if (this.inputRef.checked !== newValue) {
24
+ this.inputRef.checked = newValue;
25
+ }
26
26
  }
27
27
  componentWillLoad() {
28
28
  this.isWillLoadCalled = true;
29
- this.isChecked = this.checked;
30
29
  }
31
30
  componentDidLoad() {
32
31
  Object.defineProperty(this.el, 'value', {
33
- get: () => this.isChecked,
32
+ get: () => this.checked,
34
33
  configurable: true
35
34
  });
36
35
  }
37
36
  render() {
38
- const { type, color, isChecked, name, disabled, nativeProps } = this;
39
- const style = isChecked
37
+ const { type, color, checked, name, disabled, nativeProps } = this;
38
+ const style = checked
40
39
  ? {
41
40
  borderColor: color || '04BE02',
42
41
  backgroundColor: color || '04BE02'
43
42
  }
44
43
  : {};
45
- return (h("input", Object.assign({ type: 'checkbox', class: `weui-${type}`, style: style, checked: isChecked, name: name, disabled: disabled, onChange: this.switchChange }, nativeProps)));
44
+ return (h("input", Object.assign({ ref: input => {
45
+ this.inputRef = input;
46
+ }, type: 'checkbox', class: `weui-${type}`, style: style, checked: checked, name: name, disabled: disabled, onChange: this.switchChange }, nativeProps)));
46
47
  }
47
48
  static get is() { return "taro-switch-core"; }
48
49
  static get originalStyleUrls() {
@@ -77,7 +78,7 @@ export class Switch {
77
78
  },
78
79
  "checked": {
79
80
  "type": "boolean",
80
- "mutable": false,
81
+ "mutable": true,
81
82
  "complexType": {
82
83
  "original": "boolean",
83
84
  "resolved": "boolean",
@@ -166,7 +167,6 @@ export class Switch {
166
167
  }
167
168
  static get states() {
168
169
  return {
169
- "isChecked": {},
170
170
  "isWillLoadCalled": {}
171
171
  };
172
172
  }
@@ -1,53 +1 @@
1
- html,
2
- body {
3
- height: 100%;
4
- }
5
-
6
- :root {
7
- --taro-tabbar-height: 50px;
8
- }
9
-
10
- #app {
11
- height: 100%;
12
- }
13
-
14
- .taro-tabbar__border-white::before {
15
- border-top-color: #fff !important;
16
- }
17
- .taro-tabbar__container {
18
- display: flex;
19
- overflow: hidden;
20
- flex-direction: column;
21
- height: 100%;
22
- }
23
- .taro-tabbar__panel {
24
- overflow: auto;
25
- position: relative;
26
- flex: 1;
27
- -webkit-overflow-scrolling: auto;
28
- }
29
- .taro-tabbar__tabbar {
30
- position: relative;
31
- width: 100%;
32
- height: var(--taro-tabbar-height);
33
- transition: bottom 0.2s, top 0.2s;
34
- }
35
- .taro-tabbar__tabbar-top {
36
- top: 0;
37
- }
38
- .taro-tabbar__tabbar-bottom {
39
- bottom: 0;
40
- margin-bottom: constant(safe-area-inset-bottom);
41
- margin-bottom: env(safe-area-inset-bottom);
42
- }
43
- .taro-tabbar__tabbar-hide {
44
- display: none;
45
- }
46
- .taro-tabbar__tabbar-slideout {
47
- top: -52px;
48
- flex: 0 0;
49
- }
50
- .taro-tabbar__panel + .taro-tabbar__tabbar-slideout {
51
- top: auto;
52
- bottom: -52px;
53
- }
1
+ .weui-tabbar{z-index:500;background-color:#f7f7fa;align-items:center;width:100%;display:flex;position:absolute;bottom:0}.weui-tabbar:before{content:" ";color:#c0bfc4;transform-origin:0 0;border-top:1px solid #c0bfc4;height:1px;position:absolute;top:0;left:0;right:0;transform:scaleY(.5)}.weui-tabbar__item{padding:5px 0;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom);color:#999;text-align:center;-webkit-tap-highlight-color:transparent;flex:1;font-size:0;display:block}.weui-tabbar__item.weui-bar__item_on .weui-tabbar__icon,.weui-tabbar__item.weui-bar__item_on .weui-tabbar__icon>i,.weui-tabbar__item.weui-bar__item_on .weui-tabbar__label{color:#09bb07}.weui-tabbar__icon{width:27px;height:27px;display:inline-block}.weui-tabbar__icon img{width:100%;height:100%}i.weui-tabbar__icon,.weui-tabbar__icon>i{color:#999;font-size:24px}.weui-tabbar__label{text-align:center;color:#999;font-size:10px;line-height:1.8}.weui-badge{color:#fff;text-align:center;vertical-align:middle;background-color:#f43530;border-radius:18px;min-width:8px;padding:.15em .4em;font-size:12px;line-height:1.2;display:inline-block}.weui-badge_dot{min-width:0;padding:.4em}html,body{height:100%}:root{--taro-tabbar-height:50px}#app{height:100%}.taro-tabbar__border-white:before{border-top-color:#fff!important}.taro-tabbar__container{flex-direction:column;height:100%;display:flex;overflow:hidden}.taro-tabbar__panel{-webkit-overflow-scrolling:auto;flex:1;position:relative;overflow:auto}.taro-tabbar__tabbar{height:var(--taro-tabbar-height);width:100%;transition:bottom .2s,top .2s;position:relative}.taro-tabbar__tabbar-top{top:0}.taro-tabbar__tabbar-bottom{margin-bottom:constant(safe-area-inset-bottom);margin-bottom:env(safe-area-inset-bottom);bottom:0}.taro-tabbar__tabbar-hide{display:none}.taro-tabbar__tabbar-slideout{flex:0 0;top:-52px}.taro-tabbar__panel+.taro-tabbar__tabbar-slideout{top:auto;bottom:-52px}
@@ -1,6 +1,6 @@
1
+ import classNames from 'classnames';
1
2
  import { h } from '@stencil/core';
2
3
  import Taro from '@tarojs/taro';
3
- import classNames from 'classnames';
4
4
  import { isVisible } from '../../utils';
5
5
  export const TabbarItem = ({ index, isSelected = false, textColor, iconPath, badgeText, showRedDot = false, pagePath, text, onSelect }) => {
6
6
  const className = classNames('weui-tabbar__item', {
@@ -1,6 +1,6 @@
1
1
  import { h, Host } from '@stencil/core';
2
+ import { addLeadingSlash, getCurrentPage, stripBasename, stripSuffix } from '@tarojs/runtime';
2
3
  import Taro from '@tarojs/taro';
3
- import { addLeadingSlash, getCurrentPage, stripBasename, stripSuffix } from '@tarojs/router/dist/utils';
4
4
  import classNames from 'classnames';
5
5
  import resolvePathname from 'resolve-pathname';
6
6
  import { splitUrl } from '../../utils';
@@ -300,11 +300,11 @@ export class Tabbar {
300
300
  "type": "unknown",
301
301
  "mutable": false,
302
302
  "complexType": {
303
- "original": "ITabBarConf",
304
- "resolved": "ITabBarConf",
303
+ "original": "Conf",
304
+ "resolved": "Conf",
305
305
  "references": {
306
- "ITabBarConf": {
307
- "location": "global"
306
+ "Conf": {
307
+ "location": "local"
308
308
  }
309
309
  }
310
310
  },
@@ -1,26 +1 @@
1
- taro-text-core {
2
- display: inline;
3
- user-select: none;
4
- }
5
- taro-text-core[selectable=true], taro-text-core[user-select=true] {
6
- display: inline-block;
7
- user-select: text;
8
- }
9
- taro-text-core[space] {
10
- white-space: pre-wrap;
11
- }
12
- taro-text-core[space=ensp] {
13
- word-spacing: 0.5em;
14
- }
15
- taro-text-core[space=nbsp] {
16
- word-spacing: 1em;
17
- }
18
- taro-text-core[number-of-lines] {
19
- --line-clamp: 2;
20
- display: -webkit-box;
21
- -webkit-box-orient: vertical;
22
- word-wrap: break-word;
23
- overflow: hidden;
24
- text-overflow: ellipsis;
25
- -webkit-line-clamp: var(--line-clamp);
26
- }
1
+ taro-text-core{user-select:none;display:inline}taro-text-core[selectable=true],taro-text-core[user-select=true]{user-select:text;display:inline-block}taro-text-core[space]{white-space:pre-wrap}taro-text-core[space=ensp]{word-spacing:.5em}taro-text-core[space=nbsp]{word-spacing:1em}taro-text-core[number-of-lines]{--line-clamp:2;word-wrap:break-word;text-overflow:ellipsis;-webkit-line-clamp:var(--line-clamp);-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}
@@ -1,22 +1 @@
1
- taro-textarea-core {
2
- display: block;
3
- width: 300px;
4
- }
5
-
6
- taro-textarea-core .auto-height {
7
- height: auto;
8
- }
9
-
10
- .taro-textarea {
11
- display: block;
12
- position: relative;
13
- border: 0;
14
- width: 100%;
15
- height: inherit;
16
- appearance: none;
17
- cursor: auto;
18
- line-height: 1.5;
19
- }
20
- .taro-textarea:focus {
21
- outline: none;
22
- }
1
+ taro-textarea-core{width:300px;display:block}taro-textarea-core .auto-height{height:auto}.taro-textarea{height:inherit;appearance:none;cursor:auto;border:0;width:100%;line-height:1.5;display:block;position:relative}.taro-textarea:focus{outline:none}
@@ -8,6 +8,7 @@ export class Textarea {
8
8
  e.stopPropagation();
9
9
  this.handleLineChange();
10
10
  const value = e.target.value || '';
11
+ this.value = value;
11
12
  this.onInput.emit({
12
13
  value,
13
14
  cursor: value.length
@@ -112,6 +113,13 @@ export class Textarea {
112
113
  (_a = this.textareaRef) === null || _a === void 0 ? void 0 : _a.focus();
113
114
  }
114
115
  }
116
+ watchValue(newValue) {
117
+ // hack: 在事件回调中,props.value 变化不知为何不会触发 Stencil 更新,因此这里手动更新一下
118
+ const value = fixControlledValue(newValue);
119
+ if (this.textareaRef.value !== value) {
120
+ this.textareaRef.value = value;
121
+ }
122
+ }
115
123
  async focus() {
116
124
  this.textareaRef.focus();
117
125
  }
@@ -422,6 +430,9 @@ export class Textarea {
422
430
  return [{
423
431
  "propName": "autoFocus",
424
432
  "methodName": "watchAutoFocus"
433
+ }, {
434
+ "propName": "value",
435
+ "methodName": "watchValue"
425
436
  }];
426
437
  }
427
438
  }