@tarojs/components 3.6.22 → 3.6.23-nightly.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 (591) hide show
  1. package/LICENSE +14 -0
  2. package/dist/cjs/{index-e751dfe3.js → index-dbbe9dde.js} +3 -0
  3. package/dist/cjs/loader.cjs.js +2 -2
  4. package/dist/cjs/taro-ad-core.cjs.entry.js +1 -1
  5. package/dist/cjs/taro-ad-custom-core.cjs.entry.js +1 -1
  6. package/dist/cjs/taro-animation-video-core.cjs.entry.js +1 -1
  7. package/dist/cjs/taro-animation-view-core.cjs.entry.js +1 -1
  8. package/dist/cjs/taro-ar-camera-core.cjs.entry.js +1 -1
  9. package/dist/cjs/taro-audio-core.cjs.entry.js +2 -2
  10. package/dist/cjs/taro-aweme-data-core.cjs.entry.js +1 -1
  11. package/dist/cjs/taro-block-core.cjs.entry.js +1 -1
  12. package/dist/cjs/taro-button-core.cjs.entry.js +2 -2
  13. package/dist/cjs/taro-camera-core.cjs.entry.js +1 -1
  14. package/dist/cjs/taro-canvas-core.cjs.entry.js +2 -2
  15. package/dist/cjs/taro-channel-live-core.cjs.entry.js +1 -1
  16. package/dist/cjs/taro-channel-video-core.cjs.entry.js +1 -1
  17. package/dist/cjs/taro-checkbox-core_2.cjs.entry.js +2 -2
  18. package/dist/cjs/taro-comment-detail-core.cjs.entry.js +1 -1
  19. package/dist/cjs/taro-comment-list-core.cjs.entry.js +1 -1
  20. package/dist/cjs/taro-components.cjs.js +2 -2
  21. package/dist/cjs/taro-contact-button-core.cjs.entry.js +1 -1
  22. package/dist/cjs/taro-cover-image-core.cjs.entry.js +2 -2
  23. package/dist/cjs/taro-cover-view-core.cjs.entry.js +1 -1
  24. package/dist/cjs/taro-custom-wrapper-core.cjs.entry.js +1 -1
  25. package/dist/cjs/taro-editor-core.cjs.entry.js +1 -1
  26. package/dist/cjs/taro-follow-swan-core.cjs.entry.js +1 -1
  27. package/dist/cjs/taro-form-core.cjs.entry.js +1 -1
  28. package/dist/cjs/taro-functional-page-navigator-core.cjs.entry.js +1 -1
  29. package/dist/cjs/taro-grid-view-core.cjs.entry.js +1 -1
  30. package/dist/cjs/taro-icon-core.cjs.entry.js +4 -1
  31. package/dist/cjs/taro-image-core.cjs.entry.js +2 -3
  32. package/dist/cjs/taro-inline-payment-panel-core.cjs.entry.js +1 -1
  33. package/dist/cjs/taro-input-core.cjs.entry.js +2 -2
  34. package/dist/cjs/taro-keyboard-accessory-core.cjs.entry.js +1 -1
  35. package/dist/cjs/taro-label-core.cjs.entry.js +1 -1
  36. package/dist/cjs/taro-lifestyle-core.cjs.entry.js +1 -1
  37. package/dist/cjs/taro-like-core.cjs.entry.js +1 -1
  38. package/dist/cjs/taro-list-view-core.cjs.entry.js +1 -1
  39. package/dist/cjs/taro-live-player-core.cjs.entry.js +1 -1
  40. package/dist/cjs/taro-live-pusher-core.cjs.entry.js +1 -1
  41. package/dist/cjs/taro-login-core.cjs.entry.js +1 -1
  42. package/dist/cjs/taro-lottie-core.cjs.entry.js +1 -1
  43. package/dist/cjs/taro-map-core.cjs.entry.js +1 -1
  44. package/dist/cjs/taro-match-media-core.cjs.entry.js +1 -1
  45. package/dist/cjs/taro-movable-area-core_2.cjs.entry.js +4 -4
  46. package/dist/cjs/taro-native-slot-core.cjs.entry.js +1 -1
  47. package/dist/cjs/taro-navigation-bar-core.cjs.entry.js +1 -1
  48. package/dist/cjs/taro-navigator-core.cjs.entry.js +1 -1
  49. package/dist/cjs/taro-official-account-core.cjs.entry.js +1 -1
  50. package/dist/cjs/taro-open-data-core.cjs.entry.js +1 -1
  51. package/dist/cjs/taro-page-container-core.cjs.entry.js +1 -1
  52. package/dist/cjs/taro-page-meta-core.cjs.entry.js +1 -1
  53. package/dist/cjs/taro-picker-core_2.cjs.entry.js +2 -2
  54. package/dist/cjs/taro-picker-view-column-core_2.cjs.entry.js +3 -3
  55. package/dist/cjs/taro-progress-core.cjs.entry.js +4 -1
  56. package/dist/cjs/taro-pull-to-refresh-core.cjs.entry.js +2 -2
  57. package/dist/cjs/taro-radio-core_2.cjs.entry.js +1 -1
  58. package/dist/cjs/taro-rich-text-core.cjs.entry.js +2 -2
  59. package/dist/cjs/taro-root-portal-core.cjs.entry.js +1 -1
  60. package/dist/cjs/taro-rtc-room-core.cjs.entry.js +1 -1
  61. package/dist/cjs/taro-rtc-room-item-core.cjs.entry.js +1 -1
  62. package/dist/cjs/taro-scroll-view-core.cjs.entry.js +2 -2
  63. package/dist/cjs/taro-share-element-core.cjs.entry.js +1 -1
  64. package/dist/cjs/taro-slider-core.cjs.entry.js +4 -1
  65. package/dist/cjs/taro-slot-core.cjs.entry.js +1 -1
  66. package/dist/cjs/taro-snapshot-core.cjs.entry.js +1 -1
  67. package/dist/cjs/taro-sticky-header-core.cjs.entry.js +1 -1
  68. package/dist/cjs/taro-sticky-section-core.cjs.entry.js +1 -1
  69. package/dist/cjs/taro-swiper-core_2.cjs.entry.js +23 -9865
  70. package/dist/cjs/taro-switch-core.cjs.entry.js +13 -12
  71. package/dist/cjs/taro-tab-item-core.cjs.entry.js +1 -1
  72. package/dist/cjs/taro-tabbar.cjs.entry.js +13 -85
  73. package/dist/cjs/taro-tabs-core.cjs.entry.js +1 -1
  74. package/dist/cjs/taro-text-core.cjs.entry.js +2 -2
  75. package/dist/cjs/taro-textarea-core.cjs.entry.js +12 -3
  76. package/dist/cjs/taro-video-control_3.cjs.entry.js +24 -4
  77. package/dist/cjs/taro-view-core.cjs.entry.js +2 -2
  78. package/dist/cjs/taro-voip-room-core.cjs.entry.js +1 -1
  79. package/dist/cjs/taro-web-view-core.cjs.entry.js +2 -2
  80. package/dist/collection/components/audio/style/index.css +1 -4
  81. package/dist/collection/components/button/style/index.css +1 -160
  82. package/dist/collection/components/canvas/style/index.css +1 -6
  83. package/dist/collection/components/checkbox/style/index.css +1 -39
  84. package/dist/collection/components/cover-image/style/index.css +1 -5
  85. package/dist/collection/components/cover-view/style/cover-view.css +1 -3
  86. package/dist/collection/components/icon/icon.js +10 -0
  87. package/dist/collection/components/icon/style/index.css +1 -0
  88. package/dist/collection/components/image/image.js +0 -1
  89. package/dist/collection/components/image/style/index.css +1 -73
  90. package/dist/collection/components/input/input.js +2 -2
  91. package/dist/collection/components/input/style/index.css +1 -0
  92. package/dist/collection/components/movable-area/area.css +1 -6
  93. package/dist/collection/components/movable-area/view.css +1 -8
  94. package/dist/collection/components/navigator/style/index.css +1 -3
  95. package/dist/collection/components/picker/style/index.css +1 -4
  96. package/dist/collection/components/picker-view/style/column.css +1 -12
  97. package/dist/collection/components/picker-view/style/index.css +1 -28
  98. package/dist/collection/components/progress/progress.js +10 -0
  99. package/dist/collection/components/progress/style/index.css +1 -0
  100. package/dist/collection/components/pull-to-refresh/style/index.css +1 -52
  101. package/dist/collection/components/rich-text/style/index.css +1 -16
  102. package/dist/collection/components/scroll-view/style/index.css +1 -17
  103. package/dist/collection/components/slider/slider.js +10 -0
  104. package/dist/collection/components/slider/style/index.css +1 -0
  105. package/dist/collection/components/swiper/style/index.css +2 -19
  106. package/dist/collection/components/swiper/swiper.js +4 -2
  107. package/dist/collection/components/switch/style/index.css +1 -10
  108. package/dist/collection/components/switch/switch.js +12 -12
  109. package/dist/collection/components/tabbar/style/index.css +1 -53
  110. package/dist/collection/components/tabbar/tabbar.js +1 -1
  111. package/dist/collection/components/text/style/index.css +1 -26
  112. package/dist/collection/components/textarea/style/index.css +1 -22
  113. package/dist/collection/components/textarea/textarea.js +11 -0
  114. package/dist/collection/components/video/style/index.css +1 -327
  115. package/dist/collection/components/view/style/index.css +1 -9
  116. package/dist/collection/components/web-view/style/index.css +1 -12
  117. package/dist/components/taro-audio-core.js +1 -1
  118. package/dist/components/taro-button-core.js +1 -1
  119. package/dist/components/taro-canvas-core.js +1 -1
  120. package/dist/components/taro-checkbox-core.js +1 -1
  121. package/dist/components/taro-cover-image-core.js +1 -1
  122. package/dist/components/taro-icon-core.js +3 -0
  123. package/dist/components/taro-image-core.js +1 -2
  124. package/dist/components/taro-input-core.js +1 -1
  125. package/dist/components/taro-movable-area-core.js +1 -1
  126. package/dist/components/taro-movable-view-core.js +1 -1
  127. package/dist/components/taro-picker-core.js +1 -1
  128. package/dist/components/taro-picker-view-column-core.js +1 -1
  129. package/dist/components/taro-picker-view-core.js +1 -1
  130. package/dist/components/taro-progress-core.js +3 -0
  131. package/dist/components/taro-pull-to-refresh-core.js +1 -1
  132. package/dist/components/taro-rich-text-core.js +1 -1
  133. package/dist/components/taro-scroll-view-core.js +1 -1
  134. package/dist/components/taro-slider-core.js +3 -0
  135. package/dist/components/taro-swiper-core.js +9 -9855
  136. package/dist/components/taro-switch-core.js +13 -13
  137. package/dist/components/taro-tabbar.js +3 -76
  138. package/dist/components/taro-text-core.js +1 -1
  139. package/dist/components/taro-textarea-core.js +11 -2
  140. package/dist/components/taro-video-core.js +2 -2
  141. package/dist/components/taro-view-core.js +1 -1
  142. package/dist/components/taro-web-view-core.js +1 -1
  143. package/dist/esm/{index-980f930f.js → index-486e187e.js} +3 -1
  144. package/dist/esm/loader.js +3 -3
  145. package/dist/esm/taro-ad-core.entry.js +1 -1
  146. package/dist/esm/taro-ad-custom-core.entry.js +1 -1
  147. package/dist/esm/taro-animation-video-core.entry.js +1 -1
  148. package/dist/esm/taro-animation-view-core.entry.js +1 -1
  149. package/dist/esm/taro-ar-camera-core.entry.js +1 -1
  150. package/dist/esm/taro-audio-core.entry.js +2 -2
  151. package/dist/esm/taro-aweme-data-core.entry.js +1 -1
  152. package/dist/esm/taro-block-core.entry.js +1 -1
  153. package/dist/esm/taro-button-core.entry.js +2 -2
  154. package/dist/esm/taro-camera-core.entry.js +1 -1
  155. package/dist/esm/taro-canvas-core.entry.js +2 -2
  156. package/dist/esm/taro-channel-live-core.entry.js +1 -1
  157. package/dist/esm/taro-channel-video-core.entry.js +1 -1
  158. package/dist/esm/taro-checkbox-core_2.entry.js +2 -2
  159. package/dist/esm/taro-comment-detail-core.entry.js +1 -1
  160. package/dist/esm/taro-comment-list-core.entry.js +1 -1
  161. package/dist/esm/taro-components.js +3 -3
  162. package/dist/esm/taro-contact-button-core.entry.js +1 -1
  163. package/dist/esm/taro-cover-image-core.entry.js +2 -2
  164. package/dist/esm/taro-cover-view-core.entry.js +1 -1
  165. package/dist/esm/taro-custom-wrapper-core.entry.js +1 -1
  166. package/dist/esm/taro-editor-core.entry.js +1 -1
  167. package/dist/esm/taro-follow-swan-core.entry.js +1 -1
  168. package/dist/esm/taro-form-core.entry.js +1 -1
  169. package/dist/esm/taro-functional-page-navigator-core.entry.js +1 -1
  170. package/dist/esm/taro-grid-view-core.entry.js +1 -1
  171. package/dist/esm/taro-icon-core.entry.js +4 -1
  172. package/dist/esm/taro-image-core.entry.js +2 -3
  173. package/dist/esm/taro-inline-payment-panel-core.entry.js +1 -1
  174. package/dist/esm/taro-input-core.entry.js +2 -2
  175. package/dist/esm/taro-keyboard-accessory-core.entry.js +1 -1
  176. package/dist/esm/taro-label-core.entry.js +1 -1
  177. package/dist/esm/taro-lifestyle-core.entry.js +1 -1
  178. package/dist/esm/taro-like-core.entry.js +1 -1
  179. package/dist/esm/taro-list-view-core.entry.js +1 -1
  180. package/dist/esm/taro-live-player-core.entry.js +1 -1
  181. package/dist/esm/taro-live-pusher-core.entry.js +1 -1
  182. package/dist/esm/taro-login-core.entry.js +1 -1
  183. package/dist/esm/taro-lottie-core.entry.js +1 -1
  184. package/dist/esm/taro-map-core.entry.js +1 -1
  185. package/dist/esm/taro-match-media-core.entry.js +1 -1
  186. package/dist/esm/taro-movable-area-core_2.entry.js +4 -4
  187. package/dist/esm/taro-native-slot-core.entry.js +1 -1
  188. package/dist/esm/taro-navigation-bar-core.entry.js +1 -1
  189. package/dist/esm/taro-navigator-core.entry.js +1 -1
  190. package/dist/esm/taro-official-account-core.entry.js +1 -1
  191. package/dist/esm/taro-open-data-core.entry.js +1 -1
  192. package/dist/esm/taro-page-container-core.entry.js +1 -1
  193. package/dist/esm/taro-page-meta-core.entry.js +1 -1
  194. package/dist/esm/taro-picker-core_2.entry.js +2 -2
  195. package/dist/esm/taro-picker-view-column-core_2.entry.js +3 -3
  196. package/dist/esm/taro-progress-core.entry.js +4 -1
  197. package/dist/esm/taro-pull-to-refresh-core.entry.js +2 -2
  198. package/dist/esm/taro-radio-core_2.entry.js +1 -1
  199. package/dist/esm/taro-rich-text-core.entry.js +2 -2
  200. package/dist/esm/taro-root-portal-core.entry.js +1 -1
  201. package/dist/esm/taro-rtc-room-core.entry.js +1 -1
  202. package/dist/esm/taro-rtc-room-item-core.entry.js +1 -1
  203. package/dist/esm/taro-scroll-view-core.entry.js +2 -2
  204. package/dist/esm/taro-share-element-core.entry.js +1 -1
  205. package/dist/esm/taro-slider-core.entry.js +4 -1
  206. package/dist/esm/taro-slot-core.entry.js +1 -1
  207. package/dist/esm/taro-snapshot-core.entry.js +1 -1
  208. package/dist/esm/taro-sticky-header-core.entry.js +1 -1
  209. package/dist/esm/taro-sticky-section-core.entry.js +1 -1
  210. package/dist/esm/taro-swiper-core_2.entry.js +8 -9854
  211. package/dist/esm/taro-switch-core.entry.js +13 -12
  212. package/dist/esm/taro-tab-item-core.entry.js +1 -1
  213. package/dist/esm/taro-tabbar.entry.js +4 -77
  214. package/dist/esm/taro-tabs-core.entry.js +1 -1
  215. package/dist/esm/taro-text-core.entry.js +2 -2
  216. package/dist/esm/taro-textarea-core.entry.js +12 -3
  217. package/dist/esm/taro-video-control_3.entry.js +3 -3
  218. package/dist/esm/taro-view-core.entry.js +2 -2
  219. package/dist/esm/taro-voip-room-core.entry.js +1 -1
  220. package/dist/esm/taro-web-view-core.entry.js +2 -2
  221. package/dist/esm-es5/index-486e187e.js +2 -0
  222. package/dist/esm-es5/loader.js +1 -1
  223. package/dist/esm-es5/taro-ad-core.entry.js +1 -1
  224. package/dist/esm-es5/taro-ad-custom-core.entry.js +1 -1
  225. package/dist/esm-es5/taro-animation-video-core.entry.js +1 -1
  226. package/dist/esm-es5/taro-animation-view-core.entry.js +1 -1
  227. package/dist/esm-es5/taro-ar-camera-core.entry.js +1 -1
  228. package/dist/esm-es5/taro-audio-core.entry.js +1 -1
  229. package/dist/esm-es5/taro-aweme-data-core.entry.js +1 -1
  230. package/dist/esm-es5/taro-block-core.entry.js +1 -1
  231. package/dist/esm-es5/taro-button-core.entry.js +1 -1
  232. package/dist/esm-es5/taro-camera-core.entry.js +1 -1
  233. package/dist/esm-es5/taro-canvas-core.entry.js +1 -1
  234. package/dist/esm-es5/taro-channel-live-core.entry.js +1 -1
  235. package/dist/esm-es5/taro-channel-video-core.entry.js +1 -1
  236. package/dist/esm-es5/taro-checkbox-core_2.entry.js +1 -1
  237. package/dist/esm-es5/taro-comment-detail-core.entry.js +1 -1
  238. package/dist/esm-es5/taro-comment-list-core.entry.js +1 -1
  239. package/dist/esm-es5/taro-components.js +1 -1
  240. package/dist/esm-es5/taro-contact-button-core.entry.js +1 -1
  241. package/dist/esm-es5/taro-cover-image-core.entry.js +1 -1
  242. package/dist/esm-es5/taro-cover-view-core.entry.js +1 -1
  243. package/dist/esm-es5/taro-custom-wrapper-core.entry.js +1 -1
  244. package/dist/esm-es5/taro-editor-core.entry.js +1 -1
  245. package/dist/esm-es5/taro-follow-swan-core.entry.js +1 -1
  246. package/dist/esm-es5/taro-form-core.entry.js +1 -1
  247. package/dist/esm-es5/taro-functional-page-navigator-core.entry.js +1 -1
  248. package/dist/esm-es5/taro-grid-view-core.entry.js +1 -1
  249. package/dist/esm-es5/taro-icon-core.entry.js +1 -1
  250. package/dist/esm-es5/taro-image-core.entry.js +1 -1
  251. package/dist/esm-es5/taro-inline-payment-panel-core.entry.js +1 -1
  252. package/dist/esm-es5/taro-input-core.entry.js +1 -1
  253. package/dist/esm-es5/taro-keyboard-accessory-core.entry.js +1 -1
  254. package/dist/esm-es5/taro-label-core.entry.js +1 -1
  255. package/dist/esm-es5/taro-lifestyle-core.entry.js +1 -1
  256. package/dist/esm-es5/taro-like-core.entry.js +1 -1
  257. package/dist/esm-es5/taro-list-view-core.entry.js +1 -1
  258. package/dist/esm-es5/taro-live-player-core.entry.js +1 -1
  259. package/dist/esm-es5/taro-live-pusher-core.entry.js +1 -1
  260. package/dist/esm-es5/taro-login-core.entry.js +1 -1
  261. package/dist/esm-es5/taro-lottie-core.entry.js +1 -1
  262. package/dist/esm-es5/taro-map-core.entry.js +1 -1
  263. package/dist/esm-es5/taro-match-media-core.entry.js +1 -1
  264. package/dist/esm-es5/taro-movable-area-core_2.entry.js +1 -1
  265. package/dist/esm-es5/taro-native-slot-core.entry.js +1 -1
  266. package/dist/esm-es5/taro-navigation-bar-core.entry.js +1 -1
  267. package/dist/esm-es5/taro-navigator-core.entry.js +1 -1
  268. package/dist/esm-es5/taro-official-account-core.entry.js +1 -1
  269. package/dist/esm-es5/taro-open-data-core.entry.js +1 -1
  270. package/dist/esm-es5/taro-page-container-core.entry.js +1 -1
  271. package/dist/esm-es5/taro-page-meta-core.entry.js +1 -1
  272. package/dist/esm-es5/taro-picker-core_2.entry.js +1 -1
  273. package/dist/esm-es5/taro-picker-view-column-core_2.entry.js +1 -1
  274. package/dist/esm-es5/taro-progress-core.entry.js +1 -1
  275. package/dist/esm-es5/taro-pull-to-refresh-core.entry.js +1 -1
  276. package/dist/esm-es5/taro-radio-core_2.entry.js +1 -1
  277. package/dist/esm-es5/taro-rich-text-core.entry.js +1 -1
  278. package/dist/esm-es5/taro-root-portal-core.entry.js +1 -1
  279. package/dist/esm-es5/taro-rtc-room-core.entry.js +1 -1
  280. package/dist/esm-es5/taro-rtc-room-item-core.entry.js +1 -1
  281. package/dist/esm-es5/taro-scroll-view-core.entry.js +1 -1
  282. package/dist/esm-es5/taro-share-element-core.entry.js +1 -1
  283. package/dist/esm-es5/taro-slider-core.entry.js +1 -1
  284. package/dist/esm-es5/taro-slot-core.entry.js +1 -1
  285. package/dist/esm-es5/taro-snapshot-core.entry.js +1 -1
  286. package/dist/esm-es5/taro-sticky-header-core.entry.js +1 -1
  287. package/dist/esm-es5/taro-sticky-section-core.entry.js +1 -1
  288. package/dist/esm-es5/taro-swiper-core_2.entry.js +1 -1
  289. package/dist/esm-es5/taro-switch-core.entry.js +1 -1
  290. package/dist/esm-es5/taro-tab-item-core.entry.js +1 -1
  291. package/dist/esm-es5/taro-tabbar.entry.js +1 -1
  292. package/dist/esm-es5/taro-tabs-core.entry.js +1 -1
  293. package/dist/esm-es5/taro-text-core.entry.js +1 -1
  294. package/dist/esm-es5/taro-textarea-core.entry.js +1 -1
  295. package/dist/esm-es5/taro-video-control_3.entry.js +1 -1
  296. package/dist/esm-es5/taro-view-core.entry.js +1 -1
  297. package/dist/esm-es5/taro-voip-room-core.entry.js +1 -1
  298. package/dist/esm-es5/taro-web-view-core.entry.js +1 -1
  299. package/dist/taro-components/{p-ebc7b6fc.entry.js → p-00d05751.entry.js} +1 -1
  300. package/dist/taro-components/p-014534ca.system.entry.js +1 -0
  301. package/dist/taro-components/p-015b3025.system.entry.js +1 -0
  302. package/dist/taro-components/{p-0d7a705b.system.entry.js → p-02dd30fa.system.entry.js} +1 -1
  303. package/dist/taro-components/{p-9e03bc7a.system.entry.js → p-040f15f2.system.entry.js} +1 -1
  304. package/dist/taro-components/p-06cf6b18.system.entry.js +1 -0
  305. package/dist/taro-components/{p-a74c970c.system.entry.js → p-07e94301.system.entry.js} +1 -1
  306. package/dist/taro-components/{p-5e91398a.system.entry.js → p-0cf04b3d.system.entry.js} +1 -1
  307. package/dist/taro-components/p-0e3d8ada.entry.js +1 -0
  308. package/dist/taro-components/p-101f49dd.entry.js +1 -0
  309. package/dist/taro-components/p-10d3c795.system.entry.js +1 -0
  310. package/dist/taro-components/{p-7e8e355b.system.entry.js → p-114f89d6.system.entry.js} +1 -1
  311. package/dist/taro-components/p-1182efdd.system.entry.js +1 -0
  312. package/dist/taro-components/{p-2da9c8fd.entry.js → p-128f9eb0.entry.js} +1 -1
  313. package/dist/taro-components/p-16954dd6.entry.js +1 -0
  314. package/dist/taro-components/{p-208e438c.system.entry.js → p-1b42ba7e.system.entry.js} +1 -1
  315. package/dist/taro-components/{p-e598f47b.entry.js → p-1ced140d.entry.js} +1 -1
  316. package/dist/taro-components/{p-fbb2446e.entry.js → p-1d25f4e3.entry.js} +1 -1
  317. package/dist/taro-components/{p-fd7ff0f3.system.entry.js → p-1e3d7899.system.entry.js} +1 -1
  318. package/dist/taro-components/{p-de96861c.system.entry.js → p-1ee83d63.system.entry.js} +1 -1
  319. package/dist/taro-components/p-2059cbc0.system.entry.js +1 -0
  320. package/dist/taro-components/{p-15624788.system.entry.js → p-205a0692.system.entry.js} +1 -1
  321. package/dist/taro-components/p-25bbf4aa.system.entry.js +1 -0
  322. package/dist/taro-components/{p-b07cd197.system.entry.js → p-26545e4e.system.entry.js} +1 -1
  323. package/dist/taro-components/p-28bf8423.system.entry.js +1 -0
  324. package/dist/taro-components/{p-3004e71a.system.entry.js → p-290fd78b.system.entry.js} +1 -1
  325. package/dist/taro-components/p-2bbdbe9c.system.entry.js +1 -0
  326. package/dist/taro-components/{p-a4951dd6.entry.js → p-2d6d4850.entry.js} +1 -1
  327. package/dist/taro-components/{p-9fe49bab.entry.js → p-2dea35fd.entry.js} +1 -1
  328. package/dist/taro-components/p-2f403f7f.entry.js +1 -0
  329. package/dist/taro-components/{p-a2d590ad.entry.js → p-2f683899.entry.js} +1 -1
  330. package/dist/taro-components/p-30623371.entry.js +1 -0
  331. package/dist/taro-components/{p-a2141e85.system.entry.js → p-34933f34.system.entry.js} +1 -1
  332. package/dist/taro-components/{p-92d04741.system.entry.js → p-352b6b6b.system.entry.js} +1 -1
  333. package/dist/taro-components/p-35cca0f9.entry.js +1 -0
  334. package/dist/taro-components/p-35e96af8.system.entry.js +1 -0
  335. package/dist/taro-components/{p-f78823a1.entry.js → p-37593ce7.entry.js} +1 -1
  336. package/dist/taro-components/p-387f300a.entry.js +1 -0
  337. package/dist/taro-components/p-3afbae36.entry.js +1 -0
  338. package/dist/taro-components/p-3bd04d38.entry.js +1 -0
  339. package/dist/taro-components/{p-21c07cb3.system.entry.js → p-3ca9aa19.system.entry.js} +1 -1
  340. package/dist/taro-components/{p-ce303d12.system.entry.js → p-3d76b46e.system.entry.js} +1 -1
  341. package/dist/taro-components/p-3dadbe4c.system.entry.js +1 -0
  342. package/dist/taro-components/{p-ef322936.entry.js → p-3e9bf572.entry.js} +1 -1
  343. package/dist/taro-components/{p-8ccaf5e8.entry.js → p-445810cb.entry.js} +1 -1
  344. package/dist/taro-components/p-449f60fa.entry.js +1 -0
  345. package/dist/taro-components/p-46661961.entry.js +1 -0
  346. package/dist/taro-components/{p-124ac21f.entry.js → p-48e5ddaa.entry.js} +1 -1
  347. package/dist/taro-components/{p-43720011.entry.js → p-4928ee37.entry.js} +1 -1
  348. package/dist/taro-components/{p-84958ace.entry.js → p-4cbd26dd.entry.js} +1 -1
  349. package/dist/taro-components/p-4e4ac1fe.system.entry.js +1 -0
  350. package/dist/taro-components/{p-d2e0b15c.entry.js → p-4e4cc6ab.entry.js} +1 -1
  351. package/dist/taro-components/{p-fac4ce6f.system.entry.js → p-50e1ba06.system.entry.js} +1 -1
  352. package/dist/taro-components/{p-a6e2dd48.entry.js → p-510a69b3.entry.js} +1 -1
  353. package/dist/taro-components/p-5307637c.system.entry.js +1 -0
  354. package/dist/taro-components/{p-5870248f.system.entry.js → p-54941baf.system.entry.js} +1 -1
  355. package/dist/taro-components/{p-0e3b37e9.entry.js → p-55be4215.entry.js} +1 -1
  356. package/dist/taro-components/{p-c913b635.system.entry.js → p-578f19ea.system.entry.js} +1 -1
  357. package/dist/taro-components/{p-a90221ab.system.entry.js → p-581e844d.system.entry.js} +1 -1
  358. package/dist/taro-components/p-5a1bb2d3.system.entry.js +1 -0
  359. package/dist/taro-components/{p-1cf16dfa.entry.js → p-5bb60b5e.entry.js} +1 -1
  360. package/dist/taro-components/p-600d9210.entry.js +1 -0
  361. package/dist/taro-components/p-6066e633.entry.js +1 -0
  362. package/dist/taro-components/p-61cb688a.entry.js +1 -0
  363. package/dist/taro-components/{p-5994d9f2.system.entry.js → p-6229bb7d.system.entry.js} +1 -1
  364. package/dist/taro-components/p-64f5abce.entry.js +1 -0
  365. package/dist/taro-components/p-67ff5a50.system.entry.js +1 -0
  366. package/dist/taro-components/p-69e747dc.entry.js +1 -0
  367. package/dist/taro-components/{p-7e6b54cb.system.js → p-6bbb639a.system.js} +2 -2
  368. package/dist/taro-components/p-6cf765b7.system.entry.js +1 -0
  369. package/dist/taro-components/{p-f2c86846.entry.js → p-6e9d509a.entry.js} +1 -1
  370. package/dist/taro-components/p-6f027b85.entry.js +1 -0
  371. package/dist/taro-components/p-72b954ce.system.entry.js +1 -0
  372. package/dist/taro-components/p-74129eac.entry.js +1 -0
  373. package/dist/taro-components/{p-473afc8e.system.entry.js → p-74b1be20.system.entry.js} +1 -1
  374. package/dist/taro-components/{p-58cc2e6d.system.entry.js → p-758e3319.system.entry.js} +1 -1
  375. package/dist/taro-components/{p-b5b30493.system.entry.js → p-75b927b4.system.entry.js} +1 -1
  376. package/dist/taro-components/p-764cd497.entry.js +1 -0
  377. package/dist/taro-components/p-7b6f6526.system.entry.js +1 -0
  378. package/dist/taro-components/p-7bd1345f.entry.js +1 -0
  379. package/dist/taro-components/{p-be96eb59.system.entry.js → p-7cecf08e.system.entry.js} +1 -1
  380. package/dist/taro-components/{p-6cde54e5.system.entry.js → p-7f084a29.system.entry.js} +1 -1
  381. package/dist/taro-components/{p-600e89cc.system.entry.js → p-80106cc2.system.entry.js} +1 -1
  382. package/dist/taro-components/{p-76996fcb.entry.js → p-80278124.entry.js} +1 -1
  383. package/dist/taro-components/p-83699a53.entry.js +1 -0
  384. package/dist/taro-components/{p-38ee526a.entry.js → p-846aa5ec.entry.js} +1 -1
  385. package/dist/taro-components/{p-e740320c.entry.js → p-861834ce.entry.js} +1 -1
  386. package/dist/taro-components/{p-d1756770.entry.js → p-870e0d9d.entry.js} +1 -1
  387. package/dist/taro-components/{p-69c43a81.entry.js → p-87422c88.entry.js} +1 -1
  388. package/dist/taro-components/p-88c5f0eb.system.entry.js +1 -0
  389. package/dist/taro-components/{p-22bf7daf.entry.js → p-8b70fd1d.entry.js} +1 -1
  390. package/dist/taro-components/{p-0e8199b7.entry.js → p-8d437a7f.entry.js} +1 -1
  391. package/dist/taro-components/{p-519fbe84.system.entry.js → p-8df92f90.system.entry.js} +1 -1
  392. package/dist/taro-components/p-8e45a207.system.entry.js +1 -0
  393. package/dist/taro-components/p-92daad3f.system.entry.js +1 -0
  394. package/dist/taro-components/{p-7726b789.system.entry.js → p-940d41e9.system.entry.js} +1 -1
  395. package/dist/taro-components/{p-78e4805e.entry.js → p-95058ee1.entry.js} +1 -1
  396. package/dist/taro-components/p-95e88e0f.entry.js +1 -0
  397. package/dist/taro-components/{p-b1d2b575.system.entry.js → p-9623f19c.system.entry.js} +1 -1
  398. package/dist/taro-components/p-96d3e67b.system.entry.js +1 -0
  399. package/dist/taro-components/{p-0ec2e88a.entry.js → p-970623a1.entry.js} +1 -1
  400. package/dist/taro-components/{p-24d9836e.entry.js → p-9890bb7b.entry.js} +1 -1
  401. package/dist/taro-components/{p-9137dcab.js → p-98b1fc13.js} +2 -2
  402. package/dist/taro-components/{p-8d990f1c.system.entry.js → p-9937cf08.system.entry.js} +1 -1
  403. package/dist/taro-components/p-9a5bfa2a.system.entry.js +1 -0
  404. package/dist/taro-components/{p-bc541cd8.entry.js → p-9b4e5578.entry.js} +1 -1
  405. package/dist/taro-components/{p-065a10d7.entry.js → p-9e138188.entry.js} +1 -1
  406. package/dist/taro-components/p-a197cbae.system.entry.js +1 -0
  407. package/dist/taro-components/p-a2a70581.system.entry.js +1 -0
  408. package/dist/taro-components/p-a61e195b.entry.js +1 -0
  409. package/dist/taro-components/p-a972aa1d.system.js +1 -0
  410. package/dist/taro-components/p-ae128150.entry.js +1 -0
  411. package/dist/taro-components/p-b04cdd9a.system.entry.js +1 -0
  412. package/dist/taro-components/p-b259b4ba.system.entry.js +1 -0
  413. package/dist/taro-components/{p-f2235cbb.entry.js → p-b317674b.entry.js} +1 -1
  414. package/dist/taro-components/p-b3b57aab.entry.js +1 -0
  415. package/dist/taro-components/p-b6694eb3.system.entry.js +1 -0
  416. package/dist/taro-components/p-b8858af9.system.entry.js +1 -0
  417. package/dist/taro-components/{p-da3db323.entry.js → p-b8e2465a.entry.js} +1 -1
  418. package/dist/taro-components/{p-c99e14b5.entry.js → p-b9f19e77.entry.js} +1 -1
  419. package/dist/taro-components/{p-bf0e0394.entry.js → p-ba195b39.entry.js} +1 -1
  420. package/dist/taro-components/{p-1b789738.system.entry.js → p-ba50342b.system.entry.js} +1 -1
  421. package/dist/taro-components/{p-0fa96970.entry.js → p-bb712e32.entry.js} +1 -1
  422. package/dist/taro-components/p-bb87373d.entry.js +1 -0
  423. package/dist/taro-components/{p-9ea4f297.entry.js → p-bba220a9.entry.js} +1 -1
  424. package/dist/taro-components/{p-f420680c.system.entry.js → p-bcf5d78a.system.entry.js} +1 -1
  425. package/dist/taro-components/p-bdd7b5a9.entry.js +1 -0
  426. package/dist/taro-components/p-bdee068b.system.entry.js +1 -0
  427. package/dist/taro-components/p-bf0d2c21.system.entry.js +1 -0
  428. package/dist/taro-components/{p-aa04f605.entry.js → p-c0f710ae.entry.js} +1 -1
  429. package/dist/taro-components/p-c11fcb25.system.entry.js +1 -0
  430. package/dist/taro-components/p-cbc19d63.entry.js +1 -0
  431. package/dist/taro-components/p-d03136d7.system.entry.js +1 -0
  432. package/dist/taro-components/p-d36f8c4f.entry.js +1 -0
  433. package/dist/taro-components/p-d60b66c2.entry.js +1 -0
  434. package/dist/taro-components/p-d78ab2de.system.entry.js +1 -0
  435. package/dist/taro-components/{p-36d4407e.system.entry.js → p-dbb47d14.system.entry.js} +1 -1
  436. package/dist/taro-components/p-dc6db06e.system.entry.js +1 -0
  437. package/dist/taro-components/{p-f1304456.entry.js → p-dc98486d.entry.js} +1 -1
  438. package/dist/taro-components/p-dca5e9ee.entry.js +1 -0
  439. package/dist/taro-components/{p-c1a3fecf.system.entry.js → p-de3e1cee.system.entry.js} +1 -1
  440. package/dist/taro-components/p-e09e8b51.system.entry.js +1 -0
  441. package/dist/taro-components/{p-8ca82a56.entry.js → p-e1c2e636.entry.js} +1 -1
  442. package/dist/taro-components/{p-30805bdf.entry.js → p-e25c2a22.entry.js} +1 -1
  443. package/dist/taro-components/{p-b641e598.entry.js → p-e26c787b.entry.js} +1 -1
  444. package/dist/taro-components/p-e457a83a.system.entry.js +1 -0
  445. package/dist/taro-components/{p-29638de3.entry.js → p-e7d82e00.entry.js} +1 -1
  446. package/dist/taro-components/{p-9d76d7a9.system.entry.js → p-ebf38559.system.entry.js} +1 -1
  447. package/dist/taro-components/p-eeb6aeb5.system.entry.js +1 -0
  448. package/dist/taro-components/p-ef0aff29.entry.js +1 -0
  449. package/dist/taro-components/p-f554428f.system.entry.js +1 -0
  450. package/dist/taro-components/p-fd1d75db.entry.js +1 -0
  451. package/dist/taro-components/{p-ccc64042.system.entry.js → p-ff7dfc5c.system.entry.js} +1 -1
  452. package/dist/taro-components/taro-components.css +1 -5
  453. package/dist/taro-components/taro-components.esm.js +1 -1
  454. package/dist/taro-components/taro-components.js +1 -1
  455. package/dist/types/components/switch/switch.d.ts +3 -3
  456. package/dist/types/components/tabbar/tabbar.d.ts +1 -1
  457. package/dist/types/components/textarea/textarea.d.ts +1 -0
  458. package/lib/react/react-component-lib/createComponent.js +3 -2
  459. package/lib/react/react-component-lib/createComponent.js.map +1 -1
  460. package/lib/react/react-component-lib/createOverlayComponent.js +1 -1
  461. package/lib/react/react-component-lib/utils/attachProps.d.ts +16 -7
  462. package/lib/react/react-component-lib/utils/attachProps.js +85 -9
  463. package/lib/react/react-component-lib/utils/attachProps.js.map +1 -1
  464. package/lib/react/react-component-lib/utils/index.js +1 -1
  465. package/package.json +10 -9
  466. package/types/Audio.d.ts +11 -11
  467. package/types/Button.d.ts +9 -9
  468. package/types/Canvas.d.ts +11 -11
  469. package/types/Checkbox.d.ts +8 -12
  470. package/types/CheckboxGroup.d.ts +3 -3
  471. package/types/CoverImage.d.ts +4 -4
  472. package/types/CoverView.d.ts +1 -1
  473. package/types/CustomWrapper.d.ts +1 -1
  474. package/types/Form.d.ts +4 -4
  475. package/types/Icon.d.ts +4 -4
  476. package/types/Image.d.ts +8 -8
  477. package/types/Input.d.ts +19 -18
  478. package/types/Label.d.ts +2 -2
  479. package/types/Map.d.ts +0 -2
  480. package/types/MovableArea.d.ts +2 -2
  481. package/types/MovableView.d.ts +18 -18
  482. package/types/NativeSlot.d.ts +1 -1
  483. package/types/Navigator.d.ts +8 -8
  484. package/types/Picker.d.ts +39 -27
  485. package/types/PickerView.d.ts +2 -1
  486. package/types/PickerViewColumn.d.ts +1 -1
  487. package/types/Progress.d.ts +13 -13
  488. package/types/Radio.d.ts +7 -11
  489. package/types/RadioGroup.d.ts +2 -2
  490. package/types/RichText.d.ts +5 -5
  491. package/types/ScrollView.d.ts +13 -13
  492. package/types/ShareElement.d.ts +1 -0
  493. package/types/Slider.d.ts +15 -14
  494. package/types/Slot.d.ts +1 -1
  495. package/types/Swiper.d.ts +18 -18
  496. package/types/SwiperItem.d.ts +2 -2
  497. package/types/Switch.d.ts +9 -8
  498. package/types/Text.d.ts +4 -4
  499. package/types/Textarea.d.ts +15 -14
  500. package/types/Video.d.ts +30 -30
  501. package/types/View.d.ts +4 -4
  502. package/types/WebView.d.ts +4 -4
  503. package/dist/cjs/hls-00fec546.js +0 -25673
  504. package/dist/cjs/intersection-observer-dc4cfcef.js +0 -728
  505. package/dist/collection/components/input/index.css +0 -12
  506. package/dist/components/hls.js +0 -25671
  507. package/dist/components/intersection-observer.js +0 -726
  508. package/dist/esm/hls-4018c7ea.js +0 -25671
  509. package/dist/esm/intersection-observer-8e4c7135.js +0 -726
  510. package/dist/esm-es5/hls-4018c7ea.js +0 -1
  511. package/dist/esm-es5/index-980f930f.js +0 -2
  512. package/dist/esm-es5/intersection-observer-8e4c7135.js +0 -1
  513. package/dist/taro-components/p-00ed4bbb.entry.js +0 -1
  514. package/dist/taro-components/p-01e163f8.system.entry.js +0 -1
  515. package/dist/taro-components/p-044adaab.system.entry.js +0 -1
  516. package/dist/taro-components/p-06671eee.entry.js +0 -1
  517. package/dist/taro-components/p-085076c5.system.entry.js +0 -1
  518. package/dist/taro-components/p-08b7ecd7.system.entry.js +0 -1
  519. package/dist/taro-components/p-0a250d71.system.entry.js +0 -1
  520. package/dist/taro-components/p-0cedad18.system.entry.js +0 -1
  521. package/dist/taro-components/p-0fe855c6.entry.js +0 -1
  522. package/dist/taro-components/p-117633e9.system.entry.js +0 -1
  523. package/dist/taro-components/p-1e739fcb.system.entry.js +0 -1
  524. package/dist/taro-components/p-1f118969.system.entry.js +0 -1
  525. package/dist/taro-components/p-2a071adf.system.entry.js +0 -1
  526. package/dist/taro-components/p-32e9981a.system.entry.js +0 -1
  527. package/dist/taro-components/p-357ba712.system.entry.js +0 -1
  528. package/dist/taro-components/p-3b1d2d37.system.js +0 -1
  529. package/dist/taro-components/p-3f3abe55.system.entry.js +0 -1
  530. package/dist/taro-components/p-425c209a.entry.js +0 -1
  531. package/dist/taro-components/p-43efbf30.js +0 -1
  532. package/dist/taro-components/p-4cedbe5e.system.entry.js +0 -1
  533. package/dist/taro-components/p-4fc40739.entry.js +0 -1
  534. package/dist/taro-components/p-5756cf00.system.entry.js +0 -1
  535. package/dist/taro-components/p-5e4dc8e0.entry.js +0 -1
  536. package/dist/taro-components/p-5ebc7010.system.entry.js +0 -1
  537. package/dist/taro-components/p-64eb91f7.entry.js +0 -1
  538. package/dist/taro-components/p-657cb6e4.system.entry.js +0 -1
  539. package/dist/taro-components/p-6aa2ac6a.system.entry.js +0 -1
  540. package/dist/taro-components/p-72b118b0.entry.js +0 -1
  541. package/dist/taro-components/p-72f327e1.js +0 -1
  542. package/dist/taro-components/p-7b68dee8.entry.js +0 -1
  543. package/dist/taro-components/p-7bfc5f3d.entry.js +0 -1
  544. package/dist/taro-components/p-862b38b9.entry.js +0 -1
  545. package/dist/taro-components/p-962f28cb.entry.js +0 -1
  546. package/dist/taro-components/p-99e16df8.entry.js +0 -1
  547. package/dist/taro-components/p-9a5fbb2e.entry.js +0 -1
  548. package/dist/taro-components/p-9b0298bf.entry.js +0 -1
  549. package/dist/taro-components/p-9dcba4a7.system.entry.js +0 -1
  550. package/dist/taro-components/p-9edea30f.system.entry.js +0 -1
  551. package/dist/taro-components/p-9eeba192.entry.js +0 -1
  552. package/dist/taro-components/p-9feff958.system.entry.js +0 -1
  553. package/dist/taro-components/p-a1763153.entry.js +0 -1
  554. package/dist/taro-components/p-a20fed0a.entry.js +0 -1
  555. package/dist/taro-components/p-a5a51112.entry.js +0 -1
  556. package/dist/taro-components/p-a7d31b01.system.entry.js +0 -1
  557. package/dist/taro-components/p-a940a65b.entry.js +0 -1
  558. package/dist/taro-components/p-a94e3347.system.entry.js +0 -1
  559. package/dist/taro-components/p-ad9b04e0.entry.js +0 -1
  560. package/dist/taro-components/p-b0fc8752.entry.js +0 -1
  561. package/dist/taro-components/p-b201ff38.entry.js +0 -1
  562. package/dist/taro-components/p-bd4ed8b1.entry.js +0 -1
  563. package/dist/taro-components/p-bf0c8449.system.entry.js +0 -1
  564. package/dist/taro-components/p-c0080d83.entry.js +0 -1
  565. package/dist/taro-components/p-cb406f85.system.entry.js +0 -1
  566. package/dist/taro-components/p-cbcaad0e.system.entry.js +0 -1
  567. package/dist/taro-components/p-d025a415.system.entry.js +0 -1
  568. package/dist/taro-components/p-d550aea9.system.entry.js +0 -1
  569. package/dist/taro-components/p-d867e333.system.entry.js +0 -1
  570. package/dist/taro-components/p-d9dcc6c6.entry.js +0 -1
  571. package/dist/taro-components/p-dab28e1f.system.entry.js +0 -1
  572. package/dist/taro-components/p-dadd02ca.entry.js +0 -1
  573. package/dist/taro-components/p-dc5d65a0.system.entry.js +0 -1
  574. package/dist/taro-components/p-e09451c5.system.entry.js +0 -1
  575. package/dist/taro-components/p-e2cd5dd3.system.entry.js +0 -1
  576. package/dist/taro-components/p-e6481671.system.entry.js +0 -1
  577. package/dist/taro-components/p-e67755f0.system.entry.js +0 -1
  578. package/dist/taro-components/p-e78775ce.system.js +0 -1
  579. package/dist/taro-components/p-e976c6c9.system.entry.js +0 -1
  580. package/dist/taro-components/p-ea0d5d4f.system.entry.js +0 -1
  581. package/dist/taro-components/p-ed331c06.system.js +0 -1
  582. package/dist/taro-components/p-eee6e075.system.entry.js +0 -1
  583. package/dist/taro-components/p-f02b6f70.entry.js +0 -1
  584. package/dist/taro-components/p-f0340edf.entry.js +0 -1
  585. package/dist/taro-components/p-f23cfdc8.entry.js +0 -1
  586. package/dist/taro-components/p-f4d86882.entry.js +0 -1
  587. package/dist/taro-components/p-f533bc2f.entry.js +0 -1
  588. package/dist/taro-components/p-f658de2e.entry.js +0 -1
  589. package/dist/taro-components/p-f6f6a996.system.entry.js +0 -1
  590. package/lib/react/node_modules/.pnpm/registry.npmjs.org_tslib@2.5.0/node_modules/tslib/tslib.es6.js +0 -296
  591. package/lib/react/node_modules/.pnpm/registry.npmjs.org_tslib@2.5.0/node_modules/tslib/tslib.es6.js.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tarojs/components",
3
- "version": "3.6.22",
3
+ "version": "3.6.23-nightly.0",
4
4
  "description": "Taro 组件库",
5
5
  "browser": "dist/index.js",
6
6
  "main:h5": "dist/index.js",
@@ -33,13 +33,11 @@
33
33
  "@stencil/core": "^2.22.2",
34
34
  "classnames": "^2.2.5",
35
35
  "hls.js": "^1.1.5",
36
- "intersection-observer": "^0.7.0",
37
36
  "resolve-pathname": "^3.0.0",
37
+ "tslib": "^2.6.2",
38
38
  "swiper": "6.8.0",
39
- "weui": "^1.1.2",
40
- "@tarojs/components-advanced": "3.6.22",
41
- "@tarojs/router": "3.6.22",
42
- "@tarojs/taro": "3.6.22"
39
+ "@tarojs/components-advanced": "3.6.23-nightly.0",
40
+ "@tarojs/taro": "3.6.23-nightly.0"
43
41
  },
44
42
  "devDependencies": {
45
43
  "@babel/generator": "^7.20.0",
@@ -47,7 +45,6 @@
47
45
  "@babel/traverse": "^7.20.0",
48
46
  "@babel/types": "^7.20.0",
49
47
  "@stencil/react-output-target": "0.4.0",
50
- "@stencil/sass": "^2.0.0",
51
48
  "@stencil/vue-output-target": "0.7.0",
52
49
  "@types/jest": "^27.4.1",
53
50
  "@types/node": "^14.14.31",
@@ -55,9 +52,13 @@
55
52
  "csstype": "^3.1.1",
56
53
  "esbuild": "~0.19.5",
57
54
  "jquery": "^3.4.1",
55
+ "lightningcss": "^1.22.1",
58
56
  "lodash": "^4.17.21",
59
57
  "miniapp-types": "1.6.0",
60
58
  "puppeteer": "^19.2.0",
59
+ "rollup": "^3.8.1",
60
+ "rollup-plugin-node-externals": "^5.0.0",
61
+ "sass": "^1.58.3",
61
62
  "stencil-vue2-output-target": "0.0.4",
62
63
  "ts-node": "^10.9.1",
63
64
  "tsconfig-paths": "^3.14.1",
@@ -85,10 +86,10 @@
85
86
  "dev:library-vue2": "cross-env NODE_ENV=development pnpm --filter @tarojs/components-library-vue2 run dev",
86
87
  "dev:library-vue3": "cross-env NODE_ENV=development pnpm --filter @tarojs/components-library-vue3 run dev",
87
88
  "generate:lib": "mkdirp lib",
88
- "generate:stencil-config": "esbuild ./scripts/stencil/stencil.config.ts --bundle --platform=node --outfile=stencil.config.js",
89
+ "generate:stencil-config": "esbuild ./scripts/stencil/stencil.config.ts --external:lightningcss --bundle --platform=node --outfile=stencil.config.js",
89
90
  "sync:types": "pnpm run tsx --files scripts/json-schema-to-types.ts",
90
91
  "test": "cross-env NODE_ENV=test stencil test --spec --e2e",
91
- "test:ci": "pnpm test -- --ci --no-build",
92
+ "test:ci": "pnpm test -- --ci -i --coverage --silent --no-build",
92
93
  "test:coverage": "pnpm test -- --ci --screenshot --coverage",
93
94
  "test:watch": "pnpm test -- --screenshot --watch",
94
95
  "tsx": "ts-node --skipIgnore"
package/types/Audio.d.ts CHANGED
@@ -6,22 +6,22 @@ interface AudioProps extends StandardProps {
6
6
  */
7
7
  id?: string
8
8
  /** 要播放音频的资源地址
9
- * @supported weapp, swan, qq, h5
9
+ * @supported weapp, swan, qq, h5, harmony_hybrid
10
10
  */
11
11
  src?: string
12
12
  /** 是否循环播放
13
13
  * @default false
14
- * @supported weapp, swan, qq, h5
14
+ * @supported weapp, swan, qq, h5, harmony_hybrid
15
15
  */
16
16
  loop?: boolean
17
17
  /** 是否静音播放
18
18
  * @default false
19
- * @supported h5
19
+ * @supported h5, harmony_hybrid
20
20
  */
21
21
  muted?: boolean
22
22
  /** 是否显示默认控件
23
23
  * @default false
24
- * @supported weapp, swan, qq, h5
24
+ * @supported weapp, swan, qq, h5, harmony_hybrid
25
25
  */
26
26
  controls?: boolean
27
27
  /** 默认控件上的音频封面的图片资源地址,如果 controls 属性值为 false 则设置 poster 无效
@@ -39,27 +39,27 @@ interface AudioProps extends StandardProps {
39
39
  */
40
40
  author?: string
41
41
  /** 用于透传 `WebComponents` 上的属性到内部 H5 标签上
42
- * @supported h5
42
+ * @supported h5, harmony_hybrid
43
43
  */
44
44
  nativeProps?: Record<string, unknown>
45
45
  /** 当发生错误时触发 error 事件,detail = {errMsg: MediaError.code}
46
- * @supported weapp, swan, qq, h5
46
+ * @supported weapp, swan, qq, h5, harmony_hybrid
47
47
  */
48
48
  onError?: CommonEventFunction<AudioProps.onErrorEventDetail>
49
49
  /** 当开始/继续播放时触发play事件
50
- * @supported weapp, swan, qq, h5
50
+ * @supported weapp, swan, qq, h5, harmony_hybrid
51
51
  */
52
52
  onPlay?: CommonEventFunction
53
53
  /** 当暂停播放时触发 pause 事件
54
- * @supported weapp, swan, qq, h5
54
+ * @supported weapp, swan, qq, h5, harmony_hybrid
55
55
  */
56
56
  onPause?: CommonEventFunction
57
57
  /** 当播放进度改变时触发 timeupdate 事件,detail = {currentTime, duration}
58
- * @supported weapp, swan, qq, h5
58
+ * @supported weapp, swan, qq, h5, harmony_hybrid
59
59
  */
60
60
  onTimeUpdate?: CommonEventFunction<AudioProps.onTimeUpdateEventDetail>
61
61
  /** 当播放到末尾时触发 ended 事件
62
- * @supported weapp, swan, qq, h5
62
+ * @supported weapp, swan, qq, h5, harmony_hybrid
63
63
  */
64
64
  onEnded?: CommonEventFunction
65
65
  }
@@ -89,7 +89,7 @@ declare namespace AudioProps {
89
89
  /** 音频。1.6.0版本开始,该组件不再维护。建议使用能力更强的 Taro.createInnerAudioContext 接口
90
90
  * @classification media
91
91
  * @deprecated
92
- * @supported weapp, swan, qq, h5
92
+ * @supported weapp, swan, qq, h5, harmony_hybrid
93
93
  * @example_react
94
94
  * ```tsx
95
95
  * export default class PageView extends Component {
package/types/Button.d.ts CHANGED
@@ -3,27 +3,27 @@ import { StandardProps, CommonEventFunction } from './common'
3
3
  import { StyleProp, ViewStyle } from 'react-native'
4
4
  interface ButtonProps extends StandardProps {
5
5
  /** 按钮的大小
6
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
6
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
7
7
  * @default default
8
8
  */
9
9
  size?: keyof ButtonProps.Size
10
10
  /** 按钮的样式类型
11
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
11
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
12
12
  * @default default
13
13
  */
14
14
  type?: keyof ButtonProps.Type
15
15
  /** 按钮是否镂空,背景色透明
16
- * @supported weapp, alipay, swan, qq, jd, h5, rn
16
+ * @supported weapp, alipay, swan, qq, jd, h5, rn, harmony_hybrid
17
17
  * @default false
18
18
  */
19
19
  plain?: boolean
20
20
  /** 是否禁用
21
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
21
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
22
22
  * @default false
23
23
  */
24
24
  disabled?: boolean
25
25
  /** 名称前是否带 loading 图标
26
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
26
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
27
27
  * @default false
28
28
  */
29
29
  loading?: boolean
@@ -37,7 +37,7 @@ interface ButtonProps extends StandardProps {
37
37
  openType?: ButtonProps.OpenType
38
38
  /** 指定按下去的样式类。当 `hover-class="none"` 时,没有点击态效果
39
39
  * @default button-hover
40
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
40
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
41
41
  * @rn 支持 hoverStyle 属性,但框架未支持 hoverClass
42
42
  */
43
43
  hoverClass?: string
@@ -53,12 +53,12 @@ interface ButtonProps extends StandardProps {
53
53
  hoverStopPropagation?: boolean
54
54
  /** 按住后多久出现点击态,单位毫秒
55
55
  * @default 20
56
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
56
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
57
57
  */
58
58
  hoverStartTime?: number
59
59
  /** 手指松开后点击态保留时间,单位毫秒
60
60
  * @default 70
61
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
61
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
62
62
  */
63
63
  hoverStayTime?: number
64
64
  /** 指定返回用户信息的语言,zh_CN 简体中文,zh_TW 繁体中文,en 英文。
@@ -527,7 +527,7 @@ declare namespace ButtonProps {
527
527
  }
528
528
  /** 按钮
529
529
  * @classification forms
530
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
530
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
531
531
  * @example_react
532
532
  * ```tsx
533
533
  * export default class PageButton extends Component {
package/types/Canvas.d.ts CHANGED
@@ -6,7 +6,7 @@ interface CanvasProps extends StandardProps<any, CanvasTouchEvent> {
6
6
  */
7
7
  type?: string
8
8
  /** canvas 组件的唯一标识符,若指定了 type 则无需再指定该属性
9
- * @supported weapp, swan, tt, qq, jd, h5
9
+ * @supported weapp, swan, tt, qq, jd, h5, harmony_hybrid
10
10
  */
11
11
  canvasId?: string
12
12
  /** 当在 canvas 中移动时且有绑定手势事件时,禁止屏幕滚动以及下拉刷新
@@ -16,39 +16,39 @@ interface CanvasProps extends StandardProps<any, CanvasTouchEvent> {
16
16
  disableScroll?: boolean
17
17
  /** 组件唯一标识符。
18
18
  * 注意:同一页面中的 id 不可重复。
19
- * @supported alipay, h5
19
+ * @supported alipay, h5, harmony_hybrid
20
20
  */
21
21
  id?: string
22
22
  /**
23
- * @supported alipay, h5
23
+ * @supported alipay, h5, harmony_hybrid
24
24
  */
25
25
  width?: string
26
26
  /**
27
- * @supported alipay, h5
27
+ * @supported alipay, h5, harmony_hybrid
28
28
  */
29
29
  height?: string
30
30
  /** 用于透传 `WebComponents` 上的属性到内部 H5 标签上
31
- * @supported h5
31
+ * @supported h5, harmony_hybrid
32
32
  */
33
33
  nativeProps?: Record<string, unknown>
34
34
  /** 手指触摸动作开始
35
- * @supported weapp, alipay, swan, tt, qq, jd, h5
35
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, harmony_hybrid
36
36
  */
37
37
  onTouchStart?: CanvasTouchEventFunction
38
38
  /** 手指触摸后移动
39
- * @supported weapp, alipay, swan, tt, qq, jd, h5
39
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, harmony_hybrid
40
40
  */
41
41
  onTouchMove?: CanvasTouchEventFunction
42
42
  /** 手指触摸动作结束
43
- * @supported weapp, alipay, swan, tt, qq, jd, h5
43
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, harmony_hybrid
44
44
  */
45
45
  onTouchEnd?: CanvasTouchEventFunction
46
46
  /** 手指触摸动作被打断,如来电提醒,弹窗
47
- * @supported weapp, alipay, swan, tt, qq, jd, h5
47
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, harmony_hybrid
48
48
  */
49
49
  onTouchCancel?: CanvasTouchEventFunction
50
50
  /** 手指长按 500ms 之后触发,触发了长按事件后进行移动不会触发屏幕的滚动
51
- * @supported weapp, alipay, swan, qq, jd, h5
51
+ * @supported weapp, alipay, swan, qq, jd, h5, harmony_hybrid
52
52
  */
53
53
  onLongTap?: CommonEventFunction
54
54
  /** 当发生错误时触发 error 事件,detail = {errMsg: 'something wrong'}
@@ -73,7 +73,7 @@ declare namespace CanvasProps {
73
73
  *
74
74
  * `<Canvas />` 组件的 RN 版本尚未实现。
75
75
  * @classification canvas
76
- * @supported weapp, alipay, swan, tt, qq, jd, h5
76
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, harmony_hybrid
77
77
  * @example_react
78
78
  * ```tsx
79
79
  * class App extends Components {
@@ -2,34 +2,30 @@ import { ComponentType } from 'react'
2
2
  import { StandardProps, CommonEventFunction, FormItemProps } from './common'
3
3
  interface CheckboxProps extends StandardProps {
4
4
  /** `<Checkbox/>`标识,选中时触发`<CheckboxGroup/>`的 change 事件,并携带 `<Checkbox/>` 的 value
5
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
5
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
6
6
  */
7
7
  value: string
8
8
  /** 是否禁用
9
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
9
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
10
10
  * @default false
11
11
  */
12
12
  disabled?: boolean
13
13
  /** 当前是否选中,可用来设置默认选中
14
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
14
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
15
15
  * @default false
16
16
  */
17
17
  checked?: boolean
18
- /** 设置在 React 非受控状态下,当前是否选中
19
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
20
- */
21
- defaultChecked?: boolean
22
18
  /** checkbox的颜色,同 css 的 color
23
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
19
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
24
20
  */
25
21
  color?: string
26
22
  /**
27
23
  * Checkbox 的名字
28
- * @supported h5, harmony
24
+ * @supported h5, harmony, harmony_hybrid
29
25
  */
30
26
  name?: string
31
27
  /** 用于透传 `WebComponents` 上的属性到内部 H5 标签上
32
- * @supported h5
28
+ * @supported h5, harmony_hybrid
33
29
  */
34
30
  nativeProps?: Record<string, unknown>
35
31
  /** 无障碍访问,(属性)元素的额外描述
@@ -37,7 +33,7 @@ interface CheckboxProps extends StandardProps {
37
33
  */
38
34
  ariaLabel?: string
39
35
  /** 选中项发生变化时触发 change 事件,小程序无此 API
40
- * @supported alipay, h5, rn
36
+ * @supported alipay, h5, rn, harmony_hybrid
41
37
  */
42
38
  onChange?: CommonEventFunction<{
43
39
  value: string[]
@@ -45,7 +41,7 @@ interface CheckboxProps extends StandardProps {
45
41
  }
46
42
  /** 多选项目
47
43
  * @classification forms
48
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
44
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
49
45
  * @example_react
50
46
  * ```tsx
51
47
  * export default class PageCheckbox extends Component {
@@ -2,11 +2,11 @@ import { ComponentType } from 'react'
2
2
  import { StandardProps, CommonEventFunction, FormItemProps } from './common'
3
3
  interface CheckboxGroupProps extends StandardProps, FormItemProps {
4
4
  /** 表单组件中加上 name 来作为 key
5
- * @supported alipay, tt, h5
5
+ * @supported alipay, tt, h5, harmony_hybrid
6
6
  */
7
7
  name?: string
8
8
  /** `<CheckboxGroup/>` 中选中项发生改变是触发 change 事件
9
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
9
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
10
10
  */
11
11
  onChange?: CommonEventFunction<{
12
12
  value: string[]
@@ -14,7 +14,7 @@ interface CheckboxGroupProps extends StandardProps, FormItemProps {
14
14
  }
15
15
  /** 多项选择器,内部由多个checkbox组成
16
16
  * @classification forms
17
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
17
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
18
18
  * @example
19
19
  * ```tsx
20
20
  * export default class PageCheckbox extends Component {
@@ -2,7 +2,7 @@ import { ComponentType } from 'react'
2
2
  import { StandardProps, CommonEventFunction } from './common'
3
3
  interface CoverImageProps extends StandardProps {
4
4
  /** 图标路径,支持临时路径、网络地址、云文件ID。暂不支持base64格式。
5
- * @supported weapp, alipay, swan, qq, jd, h5
5
+ * @supported weapp, alipay, swan, qq, jd, h5, harmony_hybrid
6
6
  */
7
7
  src: string
8
8
  /** 格式固定为 https://servicewechat.com/{appid}/{version}/page-frame.html,其中 {appid} 为小程序的 appid,{version} 为小程序的版本号,版本号为 0 表示为开发版、体验版以及审核版本,版本号为 devtools 表示为开发者工具,其余为正式版本;
@@ -34,11 +34,11 @@ interface CoverImageProps extends StandardProps {
34
34
  */
35
35
  ariaLabel?: string
36
36
  /** 图片加载成功时触发
37
- * @supported weapp, swan, qq, jd, h5
37
+ * @supported weapp, swan, qq, jd, h5, harmony_hybrid
38
38
  */
39
39
  onLoad?: CommonEventFunction
40
40
  /** 图片加载失败时触发
41
- * @supported weapp, swan, qq, jd, h5
41
+ * @supported weapp, swan, qq, jd, h5, harmony_hybrid
42
42
  */
43
43
  onError?: CommonEventFunction
44
44
  /** 点击事件回调。
@@ -48,7 +48,7 @@ interface CoverImageProps extends StandardProps {
48
48
  }
49
49
  /** 覆盖在原生组件之上的图片视图。可覆盖的原生组件同cover-view,支持嵌套在cover-view里。
50
50
  * @classification viewContainer
51
- * @supported weapp, alipay, swan, qq, jd, h5, harmony
51
+ * @supported weapp, alipay, swan, qq, jd, h5, harmony, harmony_hybrid
52
52
  * @example_react
53
53
  * ```tsx
54
54
  * // js
@@ -117,7 +117,7 @@ interface CoverViewProps extends ViewProps {
117
117
  }
118
118
  /** 覆盖在原生组件之上的文本视图。可覆盖的原生组件包括 map、video、canvas、camera、live-player、live-pusher 只支持嵌套 cover-view、cover-image,可在 cover-view 中使用 button。
119
119
  * @classification viewContainer
120
- * @supported weapp, alipay, swan, qq, jd, h5
120
+ * @supported weapp, alipay, swan, qq, jd, h5, harmony_hybrid
121
121
  * @example_react
122
122
  * ```tsx
123
123
  * // js
@@ -7,7 +7,7 @@ interface CustomWrapperProps extends StandardProps {
7
7
  /** custom-wrapper 自定义组件包裹器
8
8
  * 当数据更新层级较深时,可用此组件将需要更新的区域包裹起来,这样更新层级将大大减少
9
9
  * @classification viewContainer
10
- * @supported weapp, swan, alipay, tt, jd, qq, h5
10
+ * @supported weapp, swan, alipay, tt, jd, qq, h5, harmony_hybrid
11
11
  * @example
12
12
  * ```tsx
13
13
  * import { Component } from 'react'
package/types/Form.d.ts CHANGED
@@ -3,7 +3,7 @@ import { StandardProps, CommonEventFunction } from './common'
3
3
  interface FormProps extends StandardProps {
4
4
  /** 是否返回 `formId` 用于发送模板消息。
5
5
  * @default false
6
- * @supported weapp, alipay, swan, qq, jd, h5
6
+ * @supported weapp, alipay, swan, qq, jd, h5, harmony_hybrid
7
7
  */
8
8
  reportSubmit?: boolean
9
9
  /** 等待一段时间(毫秒数)以确认 `formId` 是否生效。
@@ -43,11 +43,11 @@ interface FormProps extends StandardProps {
43
43
  */
44
44
  clueComponentId?: string
45
45
  /** 携带 form 中的数据触发 submit 事件
46
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
46
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
47
47
  */
48
48
  onSubmit?: CommonEventFunction<FormProps.onSubmitEventDetail>
49
49
  /** 表单重置时会触发 reset 事件
50
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
50
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
51
51
  */
52
52
  onReset?: CommonEventFunction
53
53
  }
@@ -69,7 +69,7 @@ declare namespace FormProps {
69
69
  *
70
70
  * 当点击 form 表单中 form-type 为 submit 的 button 组件时,会将表单组件中的 value 值进行提交,需要在表单组件中加上 name 来作为 key。
71
71
  * @classification forms
72
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
72
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
73
73
  * @example_react
74
74
  * ```tsx
75
75
  * class App extends Component {
package/types/Icon.d.ts CHANGED
@@ -2,16 +2,16 @@ import { ComponentType } from 'react'
2
2
  import { StandardProps } from './common'
3
3
  interface IconProps extends StandardProps {
4
4
  /** icon 的类型
5
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
5
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
6
6
  */
7
7
  type: keyof IconProps.TIconType
8
8
  /** icon 的大小,单位px
9
9
  * @default 23
10
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
10
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
11
11
  */
12
12
  size?: string
13
13
  /** icon 的颜色,同 css 的 color
14
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
14
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
15
15
  */
16
16
  color?: string
17
17
  /** 无障碍访问,(属性)元素的额外描述
@@ -48,7 +48,7 @@ declare namespace IconProps {
48
48
  }
49
49
  /** 图标。组件属性的长度单位默认为 px
50
50
  * @classification base
51
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
51
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
52
52
  * @example_react
53
53
  * ```tsx
54
54
  * export default class PageView extends Component {
package/types/Image.d.ts CHANGED
@@ -2,12 +2,12 @@ import { ComponentType, ImgHTMLAttributes } from 'react'
2
2
  import { StandardProps, CommonEventFunction } from './common'
3
3
  interface ImageProps extends StandardProps {
4
4
  /** 图片资源地址
5
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
5
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
6
6
  */
7
7
  src: string
8
8
  /** 图片裁剪、缩放的模式
9
9
  * @default "scaleToFill"
10
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
10
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
11
11
  * @rn 部分支持 scaleToFill, aspectFit, aspectFill, widthFix
12
12
  */
13
13
  mode?: keyof ImageProps.Mode
@@ -23,7 +23,7 @@ interface ImageProps extends StandardProps {
23
23
  svg?: boolean
24
24
  /** 图片懒加载。只针对 page 与 scroll-view 下的 image 有效
25
25
  * @default false
26
- * @supported weapp, alipay, swan, tt, qq, h5
26
+ * @supported weapp, alipay, swan, tt, qq, h5, harmony_hybrid
27
27
  */
28
28
  lazyLoad?: boolean
29
29
  /** 开启长按图片显示识别小程序码菜单
@@ -33,11 +33,11 @@ interface ImageProps extends StandardProps {
33
33
  showMenuByLongpress?: boolean
34
34
  /**
35
35
  * 为 img 标签额外增加的属性
36
- * @supported h5
36
+ * @supported h5, harmony_hybrid
37
37
  */
38
38
  imgProps?: ImgHTMLAttributes<HTMLImageElement>
39
39
  /** 用于透传 `WebComponents` 上的属性到内部 H5 标签上
40
- * @supported h5
40
+ * @supported h5, harmony_hybrid
41
41
  */
42
42
  nativeProps?: Record<string, unknown>
43
43
  /** 默认图片地址,若设置默认图片地址,会先显示默认图片,等 src 对应的图片加载成功后,再渲染对应的图片。
@@ -66,11 +66,11 @@ interface ImageProps extends StandardProps {
66
66
  */
67
67
  fadeIn?: boolean
68
68
  /** 当错误发生时,发布到 AppService 的事件名,事件对象
69
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
69
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
70
70
  */
71
71
  onError?: CommonEventFunction<ImageProps.onErrorEventDetail>
72
72
  /** 当图片载入完毕时,发布到 AppService 的事件名,事件对象
73
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
73
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
74
74
  */
75
75
  onLoad?: CommonEventFunction<ImageProps.onLoadEventDetail>
76
76
  /** 点击图片时触发。
@@ -129,7 +129,7 @@ declare namespace ImageProps {
129
129
  *
130
130
  * **Note:** 为实现小程序的 `mode` 特性,在 H5 组件中使用一个 `div` 容器来对内部的 `img` 进行展示区域的裁剪,因此请勿使用元素选择器来重置 `img` 的样式!
131
131
  * @classification media
132
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
132
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
133
133
  * @example_react
134
134
  * ```tsx
135
135
  * export default class PageView extends Component {
package/types/Input.d.ts CHANGED
@@ -2,25 +2,26 @@ import { ComponentType } from 'react'
2
2
  import { StandardProps, CommonEventFunction, FormItemProps } from './common'
3
3
  interface InputProps extends StandardProps, FormItemProps {
4
4
  /** 输入框的初始内容
5
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
5
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
6
6
  */
7
7
  value?: string
8
8
  /** 设置 React 非受控输入框的初始内容
9
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
9
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
10
+ * @unique
10
11
  */
11
12
  defaultValue?: string
12
13
  /** input 的类型
13
14
  * @default "text"
14
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
15
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
15
16
  */
16
17
  type?: keyof InputProps.Type
17
18
  /** 是否是密码类型
18
19
  * @default false
19
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
20
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
20
21
  */
21
22
  password?: boolean
22
23
  /** 输入框为空时占位符
23
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
24
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
24
25
  */
25
26
  placeholder?: string
26
27
  /** 指定 placeholder 的样式
@@ -38,12 +39,12 @@ interface InputProps extends StandardProps, FormItemProps {
38
39
  placeholderTextColor?: string
39
40
  /** 是否禁用
40
41
  * @default false
41
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
42
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
42
43
  */
43
44
  disabled?: boolean
44
45
  /** 最大输入长度,设置为 -1 的时候不限制最大长度
45
46
  * @default 140
46
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
47
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
47
48
  */
48
49
  maxlength?: number
49
50
  /** 指定光标与键盘的距离,单位 px 。取 input 距离底部的距离和 cursor-spacing 指定的距离的最小值作为光标与键盘的距离
@@ -54,12 +55,12 @@ interface InputProps extends StandardProps, FormItemProps {
54
55
  /** (即将废弃,请直接使用 focus )自动聚焦,拉起键盘
55
56
  * @default false
56
57
  * @deprecated
57
- * @supported weapp, qq, jd, h5
58
+ * @supported weapp, qq, jd, h5, harmony_hybrid
58
59
  */
59
60
  autoFocus?: boolean
60
61
  /** 获取焦点
61
62
  * @default false
62
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
63
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
63
64
  */
64
65
  focus?: boolean
65
66
  /** 设置键盘右下角按钮的文字,仅在type='text'时生效
@@ -148,7 +149,7 @@ interface InputProps extends StandardProps, FormItemProps {
148
149
  */
149
150
  controlled?: boolean
150
151
  /** 用于透传 `WebComponents` 上的属性到内部 H5 标签上
151
- * @supported h5
152
+ * @supported h5, harmony_hybrid
152
153
  */
153
154
  nativeProps?: Record<string, unknown>
154
155
  /** 组件名字,用于表单提交获取数据。
@@ -170,19 +171,19 @@ interface InputProps extends StandardProps, FormItemProps {
170
171
  */
171
172
  clueType?: number
172
173
  /** 当键盘输入时,触发input事件,event.detail = {value, cursor, keyCode},处理函数可以直接 return 一个字符串,将替换输入框的内容。
173
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
174
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
174
175
  */
175
176
  onInput?: CommonEventFunction<InputProps.inputEventDetail>
176
177
  /** 输入框聚焦时触发,event.detail = { value, height },height 为键盘高度
177
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
178
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
178
179
  */
179
180
  onFocus?: CommonEventFunction<InputProps.inputForceEventDetail>
180
181
  /** 输入框失去焦点时触发
181
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
182
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
182
183
  */
183
184
  onBlur?: CommonEventFunction<InputProps.inputValueEventDetail>
184
185
  /** 点击完成按钮时触发
185
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn
186
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony_hybrid
186
187
  */
187
188
  onConfirm?: CommonEventFunction<InputProps.inputValueEventDetail>
188
189
  /** 键盘高度发生变化的时候触发此事件
@@ -198,11 +199,11 @@ declare namespace InputProps {
198
199
  /** Input 类型 */
199
200
  interface Type {
200
201
  /** 文本输入键盘
201
- * @supported weapp, alipay, h5, rn
202
+ * @supported weapp, alipay, h5, rn, harmony_hybrid
202
203
  */
203
204
  text
204
205
  /** 数字输入键盘
205
- * @supported weapp, alipay, h5, rn
206
+ * @supported weapp, alipay, h5, rn, harmony_hybrid
206
207
  */
207
208
  number
208
209
  /** 身份证输入键盘
@@ -210,7 +211,7 @@ declare namespace InputProps {
210
211
  */
211
212
  idcard
212
213
  /** 带小数点的数字键盘
213
- * @supported weapp, alipay, h5, rn
214
+ * @supported weapp, alipay, h5, rn, harmony_hybrid
214
215
  */
215
216
  digit
216
217
  /** 密码安全输入键盘[指引](https://developers.weixin.qq.com/miniprogram/dev/framework/open-ability/safe-password.html)
@@ -275,7 +276,7 @@ declare namespace InputProps {
275
276
  }
276
277
  /** 输入框。该组件是原生组件,使用时请注意相关限制
277
278
  * @classification forms
278
- * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony
279
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, rn, harmony, harmony_hybrid
279
280
  * @example_react
280
281
  * ```tsx
281
282
  * class App extends Component {
package/types/Label.d.ts CHANGED
@@ -2,7 +2,7 @@ import { ComponentType } from 'react'
2
2
  import { StandardProps } from './common'
3
3
  interface LabelProps extends StandardProps {
4
4
  /** 绑定控件的 id
5
- * @supported weapp, alipay, swan, tt, qq, jd, h5
5
+ * @supported weapp, alipay, swan, tt, qq, jd, h5, harmony_hybrid
6
6
  */
7
7
  for?: string
8
8
  }
@@ -10,7 +10,7 @@ interface LabelProps extends StandardProps {
10
10
  *
11
11
  * 使用for属性找到对应的id,或者将控件放在该标签下,当点击时,就会触发对应的控件。 for优先级高于内部控件,内部有多个控件的时候默认触发第一个控件。 目前可以绑定的控件有:button, checkbox, radio, switch。
12
12
  * @classification forms
13
- * @supported weapp, swan, alipay, tt, h5, rn, harmony
13
+ * @supported weapp, swan, alipay, tt, h5, rn, harmony, harmony_hybrid
14
14
  * @example_react
15
15
  * ```tsx
16
16
  * class App extends Components {