@nutui/nutui-react 1.2.3-beta.4 → 1.3.1-beta.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 (334) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/dist/esm/Audio/style/index.js +4 -0
  3. package/dist/esm/Audio.js +293 -0
  4. package/dist/esm/Avatar.js +7 -5
  5. package/dist/esm/Calendar/style/index.js +1 -2
  6. package/dist/esm/Calendar.js +80 -33
  7. package/dist/esm/CalendarItem.js +440 -238
  8. package/dist/esm/Cascader/style/index.js +2 -0
  9. package/dist/esm/Cascader.js +788 -0
  10. package/dist/esm/CheckboxGroup.js +0 -1
  11. package/dist/esm/ConfigProvider.js +16 -0
  12. package/dist/esm/DatePicker.js +37 -6
  13. package/dist/esm/Dialog.js +9 -16
  14. package/dist/esm/Drag.js +1 -1
  15. package/dist/esm/Elevator.js +16 -5
  16. package/dist/esm/Grid/style/index.js +2 -0
  17. package/dist/esm/Grid.js +91 -0
  18. package/dist/esm/GridItem/style/index.js +2 -0
  19. package/dist/esm/GridItem.js +99 -0
  20. package/dist/esm/Icon/style/index.js +1 -0
  21. package/dist/esm/Icon.js +2 -2
  22. package/dist/esm/ImagePreview/style/index.js +2 -0
  23. package/dist/esm/ImagePreview.js +257 -0
  24. package/dist/esm/Input.js +8 -2
  25. package/dist/esm/InputNumber.js +11 -11
  26. package/dist/esm/Menu/style/index.js +3 -0
  27. package/dist/esm/Menu.js +153 -0
  28. package/dist/esm/MenuItem/style/index.js +3 -0
  29. package/dist/esm/MenuItem.js +197 -0
  30. package/dist/esm/NoticeBar.js +70 -30
  31. package/dist/esm/Notify.js +19 -4
  32. package/dist/esm/Picker.js +9 -4
  33. package/dist/esm/Popover.js +57 -80
  34. package/dist/esm/Price.js +14 -3
  35. package/dist/esm/Progress.js +1 -1
  36. package/dist/esm/Range.js +11 -48
  37. package/dist/esm/Swipe/style/index.js +2 -0
  38. package/dist/esm/Swipe.js +265 -0
  39. package/dist/esm/Swiper.js +2 -1
  40. package/dist/esm/TabPane.js +5 -33
  41. package/dist/esm/TabbarItem.js +1 -1
  42. package/dist/esm/Tabs.js +6 -196
  43. package/dist/esm/Tag.js +1 -1
  44. package/dist/esm/TextArea.js +48 -4
  45. package/dist/esm/Toast.js +24 -13
  46. package/dist/esm/Uploader.js +16 -6
  47. package/dist/esm/{icon-62bd7379.js → icon-8dc4de10.js} +9 -9
  48. package/dist/esm/nutui-react.es.js +8 -0
  49. package/dist/esm/render-4a3856cb.js +32 -0
  50. package/dist/esm/tabpane-c957ab14.js +33 -0
  51. package/dist/esm/tabs-a48583e9.js +196 -0
  52. package/dist/esm/useClientRect-839d18c5.js +44 -0
  53. package/dist/locales/base.d.ts +16 -0
  54. package/dist/locales/base.js +1 -1
  55. package/dist/locales/en-US.js +17 -1
  56. package/dist/locales/id-ID.js +17 -1
  57. package/dist/locales/zh-CN.js +17 -1
  58. package/dist/locales/zh-TW.js +17 -1
  59. package/dist/nutui.react.es.js +2639 -768
  60. package/dist/nutui.react.umd.js +2646 -767
  61. package/dist/packages/audio/audio.scss +80 -0
  62. package/dist/packages/calendar/calendar.scss +57 -36
  63. package/dist/packages/calendaritem/calendaritem.scss +0 -191
  64. package/dist/packages/cascader/cascader.scss +69 -0
  65. package/dist/packages/col/col.scss +2 -2
  66. package/dist/packages/collapseitem/collapseitem.scss +1 -2
  67. package/dist/packages/grid/grid.scss +10 -0
  68. package/dist/packages/griditem/griditem.scss +103 -0
  69. package/dist/packages/icon/icon.scss +104 -12
  70. package/dist/packages/imagepreview/imagepreview.scss +51 -0
  71. package/dist/packages/menu/menu.scss +72 -0
  72. package/dist/packages/menuitem/menuitem.scss +90 -0
  73. package/dist/packages/noticebar/noticebar.scss +31 -15
  74. package/dist/packages/notify/notify.scss +9 -0
  75. package/dist/packages/popover/popover.scss +205 -83
  76. package/dist/packages/popup/popup.scss +1 -1
  77. package/dist/packages/rate/rate.scss +14 -13
  78. package/dist/packages/searchbar/searchbar.scss +1 -0
  79. package/dist/packages/shortpassword/shortpassword.scss +6 -1
  80. package/dist/packages/swipe/swipe.scss +33 -0
  81. package/dist/packages/textarea/textarea.scss +16 -1
  82. package/dist/packages/toast/toast.scss +16 -13
  83. package/dist/style.css +1 -1
  84. package/dist/style.es.js +1 -1
  85. package/dist/styles/animation/icon.scss +245 -0
  86. package/dist/styles/animation/index.scss +1 -0
  87. package/dist/styles/font/config.json +169 -0
  88. package/dist/styles/font/demo_index.html +210 -3
  89. package/dist/styles/font/iconfont.css +39 -3
  90. package/dist/styles/font/iconfont.js +42 -40
  91. package/dist/styles/font/iconfont.json +63 -0
  92. package/dist/styles/font/iconfont.ttf +0 -0
  93. package/dist/styles/font/iconfont.woff +0 -0
  94. package/dist/styles/font/iconfont.woff2 +0 -0
  95. package/dist/styles/themes/default.scss +8 -0
  96. package/dist/styles/variables.scss +82 -15
  97. package/dist/types/actionsheet/actionsheet.taro.d.ts +20 -0
  98. package/dist/types/actionsheet/index.taro.d.ts +2 -0
  99. package/dist/types/address/address.taro.d.ts +34 -0
  100. package/dist/types/address/index.taro.d.ts +2 -0
  101. package/dist/types/animatingnumbers/animatingnumbers.taro.d.ts +12 -0
  102. package/dist/types/animatingnumbers/countup.taro.d.ts +11 -0
  103. package/dist/types/animatingnumbers/index.taro.d.ts +2 -0
  104. package/dist/types/audio/__test__/audio.spec.d.ts +1 -0
  105. package/dist/types/audio/audio.d.ts +18 -0
  106. package/dist/types/audio/audio.taro.d.ts +18 -0
  107. package/dist/types/audio/demo.d.ts +4 -0
  108. package/dist/types/audio/index.d.ts +2 -0
  109. package/dist/types/audio/index.taro.d.ts +2 -0
  110. package/dist/types/avatar/avatar.taro.d.ts +17 -0
  111. package/dist/types/avatar/index.taro.d.ts +2 -0
  112. package/dist/types/avatargroup/index.taro.d.ts +2 -0
  113. package/dist/types/backtop/__test__/backtop.spec.d.ts +1 -0
  114. package/dist/types/backtop/backtop.taro.d.ts +15 -0
  115. package/dist/types/backtop/index.taro.d.ts +2 -0
  116. package/dist/types/badge/badge.taro.d.ts +14 -0
  117. package/dist/types/badge/index.taro.d.ts +2 -0
  118. package/dist/types/barrage/barrage.taro.d.ts +12 -0
  119. package/dist/types/barrage/index.taro.d.ts +2 -0
  120. package/dist/types/button/button.taro.d.ts +20 -0
  121. package/dist/types/button/index.taro.d.ts +2 -0
  122. package/dist/types/calendar/__tests__/calendar.spec.d.ts +1 -0
  123. package/dist/types/calendar/calendar.d.ts +22 -2
  124. package/dist/types/calendar/calendar.taro.d.ts +14 -0
  125. package/dist/types/calendar/demo.d.ts +1 -0
  126. package/dist/types/calendar/index.taro.d.ts +2 -0
  127. package/dist/types/calendaritem/calendaritem.d.ts +21 -3
  128. package/dist/types/calendaritem/calendaritem.taro.d.ts +17 -0
  129. package/dist/types/calendaritem/index.taro.d.ts +2 -0
  130. package/dist/types/card/card.taro.d.ts +17 -0
  131. package/dist/types/card/index.taro.d.ts +2 -0
  132. package/dist/types/cascader/__tests__/cascader.spec.d.ts +1 -0
  133. package/dist/types/cascader/cascader.d.ts +25 -0
  134. package/dist/types/cascader/cascader.taro.d.ts +25 -0
  135. package/dist/types/cascader/cascaderItem.d.ts +25 -0
  136. package/dist/types/cascader/cascaderItem.taro.d.ts +25 -0
  137. package/dist/types/cascader/demo.d.ts +3 -0
  138. package/dist/types/cascader/helper.d.ts +4 -0
  139. package/dist/types/cascader/index.d.ts +2 -0
  140. package/dist/types/cascader/index.taro.d.ts +2 -0
  141. package/dist/types/cascader/tree.d.ts +12 -0
  142. package/dist/types/cascader/types.d.ts +28 -0
  143. package/dist/types/cell/cell.taro.d.ts +20 -0
  144. package/dist/types/cell/index.taro.d.ts +2 -0
  145. package/dist/types/cellgroup/cellgroup.taro.d.ts +10 -0
  146. package/dist/types/cellgroup/index.taro.d.ts +2 -0
  147. package/dist/types/checkbox/checkbox.d.ts +2 -2
  148. package/dist/types/checkbox/checkbox.taro.d.ts +19 -0
  149. package/dist/types/checkbox/index.taro.d.ts +2 -0
  150. package/dist/types/checkboxgroup/checkboxgroup.d.ts +2 -2
  151. package/dist/types/checkboxgroup/checkboxgroup.taro.d.ts +8 -0
  152. package/dist/types/checkboxgroup/index.taro.d.ts +2 -0
  153. package/dist/types/circleprogress/circleprogress.taro.d.ts +15 -0
  154. package/dist/types/circleprogress/index.taro.d.ts +2 -0
  155. package/dist/types/col/col.taro.d.ts +10 -0
  156. package/dist/types/col/index.taro.d.ts +2 -0
  157. package/dist/types/collapse/collapse.taro.d.ts +12 -0
  158. package/dist/types/collapse/index.taro.d.ts +2 -0
  159. package/dist/types/collapseitem/index.taro.d.ts +2 -0
  160. package/dist/types/configprovider/configprovider.taro.d.ts +12 -0
  161. package/dist/types/configprovider/index.taro.d.ts +2 -0
  162. package/dist/types/countdown/countdown.taro.d.ts +15 -0
  163. package/dist/types/countdown/index.taro.d.ts +2 -0
  164. package/dist/types/datepicker/datepicker.taro.d.ts +27 -0
  165. package/dist/types/datepicker/index.taro.d.ts +2 -0
  166. package/dist/types/dialog/__test__/dialog.spec.d.ts +1 -0
  167. package/dist/types/dialog/config.d.ts +3 -3
  168. package/dist/types/dialog/dialog.d.ts +2 -1
  169. package/dist/types/dialog/dialog.taro.d.ts +3 -0
  170. package/dist/types/dialog/index.taro.d.ts +2 -0
  171. package/dist/types/divider/divider.taro.d.ts +12 -0
  172. package/dist/types/divider/index.taro.d.ts +2 -0
  173. package/dist/types/drag/drag.taro.d.ts +14 -0
  174. package/dist/types/drag/index.taro.d.ts +2 -0
  175. package/dist/types/elevator/elevator.taro.d.ts +22 -0
  176. package/dist/types/elevator/index.taro.d.ts +2 -0
  177. package/dist/types/empty/empty.taro.d.ts +8 -0
  178. package/dist/types/empty/index.taro.d.ts +2 -0
  179. package/dist/types/fixednav/fixednav.d.ts +2 -2
  180. package/dist/types/fixednav/fixednav.taro.d.ts +22 -0
  181. package/dist/types/fixednav/index.taro.d.ts +2 -0
  182. package/dist/types/grid/__test__/grid.spec.d.ts +1 -0
  183. package/dist/types/grid/demo.d.ts +3 -0
  184. package/dist/types/grid/grid.d.ts +16 -0
  185. package/dist/types/grid/grid.taro.d.ts +16 -0
  186. package/dist/types/grid/index.d.ts +2 -0
  187. package/dist/types/grid/index.taro.d.ts +2 -0
  188. package/dist/types/griditem/griditem.d.ts +20 -0
  189. package/dist/types/griditem/griditem.taro.d.ts +20 -0
  190. package/dist/types/griditem/index.d.ts +2 -0
  191. package/dist/types/griditem/index.taro.d.ts +2 -0
  192. package/dist/types/icon/icon.d.ts +10 -5
  193. package/dist/types/icon/icon.taro.d.ts +18 -0
  194. package/dist/types/icon/index.taro.d.ts +2 -0
  195. package/dist/types/imagepreview/__test__/imagepreview.spec.d.ts +1 -0
  196. package/dist/types/imagepreview/demo.d.ts +3 -0
  197. package/dist/types/imagepreview/imagepreview.d.ts +26 -0
  198. package/dist/types/imagepreview/imagepreview.taro.d.ts +26 -0
  199. package/dist/types/imagepreview/index.d.ts +2 -0
  200. package/dist/types/imagepreview/index.taro.d.ts +2 -0
  201. package/dist/types/indicator/index.taro.d.ts +2 -0
  202. package/dist/types/indicator/indicator.taro.d.ts +10 -0
  203. package/dist/types/infiniteloading/index.taro.d.ts +2 -0
  204. package/dist/types/infiniteloading/infiniteloading.taro.d.ts +20 -0
  205. package/dist/types/input/__test__/input.spec.d.ts +1 -0
  206. package/dist/types/input/index.taro.d.ts +2 -0
  207. package/dist/types/input/input.taro.d.ts +57 -0
  208. package/dist/types/inputnumber/index.taro.d.ts +2 -0
  209. package/dist/types/inputnumber/inputnumber.taro.d.ts +22 -0
  210. package/dist/types/layout/index.taro.d.ts +2 -0
  211. package/dist/types/layout/layout.taro.d.ts +4 -0
  212. package/dist/types/menu/__test__/menu.spec.d.ts +1 -0
  213. package/dist/types/menu/demo.d.ts +4 -0
  214. package/dist/types/menu/index.d.ts +2 -0
  215. package/dist/types/menu/index.taro.d.ts +2 -0
  216. package/dist/types/menu/menu.d.ts +12 -0
  217. package/dist/types/menu/menu.taro.d.ts +12 -0
  218. package/dist/types/menuitem/index.d.ts +2 -0
  219. package/dist/types/menuitem/index.taro.d.ts +2 -0
  220. package/dist/types/menuitem/menuitem.d.ts +23 -0
  221. package/dist/types/menuitem/menuitem.taro.d.ts +23 -0
  222. package/dist/types/navbar/index.taro.d.ts +2 -0
  223. package/dist/types/navbar/navbar.taro.d.ts +21 -0
  224. package/dist/types/noticebar/demo.d.ts +1 -0
  225. package/dist/types/noticebar/index.taro.d.ts +2 -0
  226. package/dist/types/noticebar/noticebar.d.ts +1 -1
  227. package/dist/types/noticebar/noticebar.taro.d.ts +23 -0
  228. package/dist/types/notify/Notification.d.ts +8 -7
  229. package/dist/types/notify/__test__/notify.spec.d.ts +1 -0
  230. package/dist/types/notify/index.taro.d.ts +2 -0
  231. package/dist/types/notify/notify.d.ts +13 -0
  232. package/dist/types/notify/notify.taro.d.ts +23 -0
  233. package/dist/types/numberkeyboard/index.taro.d.ts +2 -0
  234. package/dist/types/numberkeyboard/numberkeyboard.taro.d.ts +20 -0
  235. package/dist/types/nutui.react.d.ts +95 -1
  236. package/dist/types/overlay/index.taro.d.ts +2 -0
  237. package/dist/types/overlay/overlay.taro.d.ts +12 -0
  238. package/dist/types/pagination/index.taro.d.ts +2 -0
  239. package/dist/types/pagination/pagination.taro.d.ts +19 -0
  240. package/dist/types/picker/doc.en.d.ts +142 -0
  241. package/dist/types/picker/index.taro.d.ts +2 -0
  242. package/dist/types/picker/picker.d.ts +3 -2
  243. package/dist/types/picker/picker.taro.d.ts +24 -0
  244. package/dist/types/picker/pickerSlot.d.ts +1 -0
  245. package/dist/types/popover/__tests__/popover.spec.d.ts +1 -0
  246. package/dist/types/popover/index.taro.d.ts +2 -0
  247. package/dist/types/popover/popover.d.ts +14 -7
  248. package/dist/types/popover/popover.taro.d.ts +21 -0
  249. package/dist/types/popup/index.taro.d.ts +2 -0
  250. package/dist/types/popup/popup.d.ts +1 -1
  251. package/dist/types/popup/popup.taro.d.ts +25 -0
  252. package/dist/types/price/index.taro.d.ts +2 -0
  253. package/dist/types/price/price.taro.d.ts +11 -0
  254. package/dist/types/progress/index.taro.d.ts +2 -0
  255. package/dist/types/progress/progress.taro.d.ts +26 -0
  256. package/dist/types/radio/index.taro.d.ts +2 -0
  257. package/dist/types/radio/radio.taro.d.ts +21 -0
  258. package/dist/types/radiogroup/index.taro.d.ts +2 -0
  259. package/dist/types/range/index.taro.d.ts +2 -0
  260. package/dist/types/range/range.taro.d.ts +25 -0
  261. package/dist/types/rate/index.taro.d.ts +2 -0
  262. package/dist/types/rate/rate.taro.d.ts +17 -0
  263. package/dist/types/row/index.taro.d.ts +2 -0
  264. package/dist/types/row/row.taro.d.ts +12 -0
  265. package/dist/types/searchbar/index.taro.d.ts +2 -0
  266. package/dist/types/searchbar/searchbar.taro.d.ts +60 -0
  267. package/dist/types/shortpassword/index.taro.d.ts +2 -0
  268. package/dist/types/shortpassword/shortpassword.taro.d.ts +21 -0
  269. package/dist/types/sidenavbar/index.taro.d.ts +2 -0
  270. package/dist/types/sidenavbar/sidenavbar.d.ts +14 -2
  271. package/dist/types/sidenavbar/sidenavbar.taro.d.ts +15 -0
  272. package/dist/types/sidenavbaritem/index.taro.d.ts +2 -0
  273. package/dist/types/sidenavbaritem/sidenavbaritem.d.ts +10 -2
  274. package/dist/types/sidenavbaritem/sidenavbaritem.taro.d.ts +11 -0
  275. package/dist/types/signature/index.taro.d.ts +2 -0
  276. package/dist/types/signature/signature.taro.d.ts +11 -0
  277. package/dist/types/skeleton/index.taro.d.ts +2 -0
  278. package/dist/types/skeleton/skeleton.taro.d.ts +19 -0
  279. package/dist/types/step/index.taro.d.ts +2 -0
  280. package/dist/types/steps/index.taro.d.ts +2 -0
  281. package/dist/types/steps/steps.taro.d.ts +10 -0
  282. package/dist/types/subsidenavbar/index.taro.d.ts +2 -0
  283. package/dist/types/subsidenavbar/subsidenavbar.d.ts +13 -3
  284. package/dist/types/subsidenavbar/subsidenavbar.taro.d.ts +13 -0
  285. package/dist/types/swipe/__tests__/swipe.spec.d.ts +1 -0
  286. package/dist/types/swipe/demo.d.ts +3 -0
  287. package/dist/types/swipe/index.d.ts +2 -0
  288. package/dist/types/swipe/index.taro.d.ts +2 -0
  289. package/dist/types/swipe/swipe.d.ts +41 -0
  290. package/dist/types/swipe/swipe.taro.d.ts +41 -0
  291. package/dist/types/swiper/index.taro.d.ts +2 -0
  292. package/dist/types/swiper/swiper.d.ts +1 -2
  293. package/dist/types/swiper/swiper.taro.d.ts +27 -0
  294. package/dist/types/swiperitem/index.taro.d.ts +2 -0
  295. package/dist/types/swiperitem/swiperitem.d.ts +1 -2
  296. package/dist/types/switch/index.taro.d.ts +2 -0
  297. package/dist/types/switch/switch.taro.d.ts +14 -0
  298. package/dist/types/tabbar/index.taro.d.ts +2 -0
  299. package/dist/types/tabbar/tabbar.taro.d.ts +14 -0
  300. package/dist/types/tabbaritem/index.taro.d.ts +2 -0
  301. package/dist/types/tabbaritem/tabbaritem.taro.d.ts +17 -0
  302. package/dist/types/table/index.taro.d.ts +2 -0
  303. package/dist/types/table/table.d.ts +2 -1
  304. package/dist/types/table/table.taro.d.ts +4 -0
  305. package/dist/types/table/types.d.ts +1 -1
  306. package/dist/types/tabpane/index.taro.d.ts +2 -0
  307. package/dist/types/tabpane/tabpane.taro.d.ts +10 -0
  308. package/dist/types/tabs/index.taro.d.ts +2 -0
  309. package/dist/types/tabs/tabs.taro.d.ts +30 -0
  310. package/dist/types/tag/index.taro.d.ts +2 -0
  311. package/dist/types/tag/tag.taro.d.ts +16 -0
  312. package/dist/types/textarea/__test__/textarea.spec.d.ts +1 -0
  313. package/dist/types/textarea/index.taro.d.ts +2 -0
  314. package/dist/types/textarea/textarea.taro.d.ts +18 -0
  315. package/dist/types/timedetail/index.taro.d.ts +2 -0
  316. package/dist/types/timedetail/timedetail.taro.d.ts +13 -0
  317. package/dist/types/timepannel/index.taro.d.ts +2 -0
  318. package/dist/types/timepannel/timepannel.taro.d.ts +8 -0
  319. package/dist/types/timeselect/index.taro.d.ts +2 -0
  320. package/dist/types/timeselect/timeselect.taro.d.ts +21 -0
  321. package/dist/types/toast/Notification.d.ts +6 -4
  322. package/dist/types/toast/__test__/toast.spec.d.ts +1 -0
  323. package/dist/types/toast/index.taro.d.ts +2 -0
  324. package/dist/types/toast/toast.d.ts +21 -0
  325. package/dist/types/toast/toast.taro.d.ts +29 -0
  326. package/dist/types/uploader/index.taro.d.ts +2 -0
  327. package/dist/types/uploader/uploader.d.ts +2 -2
  328. package/dist/types/uploader/uploader.taro.d.ts +68 -0
  329. package/dist/types/video/index.taro.d.ts +2 -0
  330. package/dist/types/virtuallist/index.taro.d.ts +2 -0
  331. package/dist/types/virtuallist/type.d.ts +1 -1
  332. package/dist/types/virtuallist/virtuallist.d.ts +2 -1
  333. package/dist/types/virtuallist/virtuallist.taro.d.ts +4 -0
  334. package/package.json +18 -7
@@ -9,6 +9,8 @@ import Layout from './layout';
9
9
  import Col from './col';
10
10
  import Row from './row';
11
11
  import Divider from './divider';
12
+ import Grid from './grid';
13
+ import GridItem from './griditem';
12
14
  import NavBar from './navbar';
13
15
  import FixedNav from './fixednav';
14
16
  import Tabbar from './tabbar';
@@ -21,6 +23,8 @@ import Indicator from './indicator';
21
23
  import SideNavBar from './sidenavbar';
22
24
  import SubSideNavBar from './subsidenavbar';
23
25
  import SideNavBarItem from './sidenavbaritem';
26
+ import Menu from './menu';
27
+ import MenuItem from './menuitem';
24
28
  import Range from './range';
25
29
  import Calendar from './calendar';
26
30
  import Checkbox from './checkbox';
@@ -36,6 +40,7 @@ import Picker from './picker';
36
40
  import ShortPassword from './shortpassword';
37
41
  import TextArea from './textarea';
38
42
  import Uploader from './uploader';
43
+ import Cascader from './cascader';
39
44
  import SearchBar from './searchbar';
40
45
  import NumberKeyboard from './numberkeyboard';
41
46
  import ActionSheet from './actionsheet';
@@ -46,6 +51,7 @@ import Infiniteloading from './infiniteloading';
46
51
  import Notify from './notify';
47
52
  import Switch from './switch';
48
53
  import Toast from './toast';
54
+ import Swipe from './swipe';
49
55
  import CircleProgress from './circleprogress';
50
56
  import NoticeBar from './noticebar';
51
57
  import Steps from './steps';
@@ -68,6 +74,8 @@ import VirtualList from './virtuallist';
68
74
  import Table from './table';
69
75
  import Video from './video';
70
76
  import Progress from './progress';
77
+ import Audio from './audio';
78
+ import ImagePreview from './imagepreview';
71
79
  import Address from './address';
72
80
  import Barrage from './barrage';
73
81
  import Signature from './signature';
@@ -75,4 +83,90 @@ import Card from './card';
75
83
  import TimePannel from './timepannel';
76
84
  import TimeDetail from './timedetail';
77
85
  import TimeSelect from './timeselect';
78
- export { Button, Cell, CellGroup, Icon, Overlay, Popup, ConfigProvider, Layout, Col, Row, Divider, NavBar, FixedNav, Tabbar, TabbarItem, Elevator, Pagination, Tabs, TabPane, Indicator, SideNavBar, SubSideNavBar, SideNavBarItem, Range, Calendar, Checkbox, CheckboxGroup, DatePicker, InputNumber, Input, Radio, RadioGroup, Rate, CalendarItem, Picker, ShortPassword, TextArea, Uploader, SearchBar, NumberKeyboard, ActionSheet, BackTop, Drag, Dialog, Infiniteloading, Notify, Switch, Toast, CircleProgress, NoticeBar, Steps, Step, Swiper, SwiperItem, Avatar, AvatarGroup, Price, Badge, Tag, Popover, Skeleton, CountDown, Collapse, CollapseItem, AnimatingNumbers, Empty, VirtualList, Table, Video, Progress, Address, Barrage, Signature, Card, TimePannel, TimeDetail, TimeSelect };
86
+ export { Button, Cell, CellGroup, Icon, Overlay, Popup, ConfigProvider, Layout, Col, Row, Divider, Grid, GridItem, NavBar, FixedNav, Tabbar, TabbarItem, Elevator, Pagination, Tabs, TabPane, Indicator, SideNavBar, SubSideNavBar, SideNavBarItem, Menu, MenuItem, Range, Calendar, Checkbox, CheckboxGroup, DatePicker, InputNumber, Input, Radio, RadioGroup, Rate, CalendarItem, Picker, ShortPassword, TextArea, Uploader, Cascader, SearchBar, NumberKeyboard, ActionSheet, BackTop, Drag, Dialog, Infiniteloading, Notify, Switch, Toast, Swipe, CircleProgress, NoticeBar, Steps, Step, Swiper, SwiperItem, Avatar, AvatarGroup, Price, Badge, Tag, Popover, Skeleton, CountDown, Collapse, CollapseItem, AnimatingNumbers, Empty, VirtualList, Table, Video, Progress, Audio, ImagePreview, Address, Barrage, Signature, Card, TimePannel, TimeDetail, TimeSelect };
87
+
88
+ export type { ButtonProps } from './button/button';
89
+ export type { CellProps } from './cell/cell';
90
+ export type { CellGroupProps } from './cellgroup/cellgroup';
91
+ export type { IconProps } from './icon/icon';
92
+ export type { OverlayProps } from './overlay/overlay';
93
+ export type { PopupProps } from './popup/popup';
94
+ export type { ConfigProviderProps } from './configprovider/configprovider';
95
+ export type { LayoutProps } from './layout/layout';
96
+ export type { ColProps } from './col/col';
97
+ export type { RowProps } from './row/row';
98
+ export type { DividerProps } from './divider/divider';
99
+ export type { GridProps } from './grid/grid';
100
+ export type { GridItemProps } from './griditem/griditem';
101
+ export type { NavBarProps } from './navbar/navbar';
102
+ export type { FixedNavProps } from './fixednav/fixednav';
103
+ export type { TabbarProps } from './tabbar/tabbar';
104
+ export type { TabbarItemProps } from './tabbaritem/tabbaritem';
105
+ export type { ElevatorProps } from './elevator/elevator';
106
+ export type { PaginationProps } from './pagination/pagination';
107
+ export type { TabsProps } from './tabs/tabs';
108
+ export type { TabPaneProps } from './tabpane/tabpane';
109
+ export type { IndicatorProps } from './indicator/indicator';
110
+ export type { SideNavBarProps } from './sidenavbar/sidenavbar';
111
+ export type { SubSideNavBarProps } from './subsidenavbar/subsidenavbar';
112
+ export type { SideNavBarItemProps } from './sidenavbaritem/sidenavbaritem';
113
+ export type { MenuProps } from './menu/menu';
114
+ export type { MenuItemProps } from './menuitem/menuitem';
115
+ export type { RangeProps } from './range/range';
116
+ export type { CalendarProps } from './calendar/calendar';
117
+ export type { CheckboxProps } from './checkbox/checkbox';
118
+ export type { CheckboxGroupProps } from './checkboxgroup/checkboxgroup';
119
+ export type { DatePickerProps } from './datepicker/datepicker';
120
+ export type { InputNumberProps } from './inputnumber/inputnumber';
121
+ export type { InputProps } from './input/input';
122
+ export type { RadioProps } from './radio/radio';
123
+ export type { RadioGroupProps } from './radiogroup/radiogroup';
124
+ export type { RateProps } from './rate/rate';
125
+ export type { CalendarItemProps } from './calendaritem/calendaritem';
126
+ export type { PickerProps } from './picker/picker';
127
+ export type { ShortPasswordProps } from './shortpassword/shortpassword';
128
+ export type { TextAreaProps } from './textarea/textarea';
129
+ export type { UploaderProps } from './uploader/uploader';
130
+ export type { CascaderProps } from './cascader/cascader';
131
+ export type { SearchBarProps } from './searchbar/searchbar';
132
+ export type { NumberKeyboardProps } from './numberkeyboard/numberkeyboard';
133
+ export type { ActionSheetProps } from './actionsheet/actionsheet';
134
+ export type { BackTopProps } from './backtop/backtop';
135
+ export type { DragProps } from './drag/drag';
136
+ export type { DialogProps } from './dialog/dialog';
137
+ export type { InfiniteloadingProps } from './infiniteloading/infiniteloading';
138
+ export type { NotifyProps } from './notify/notify';
139
+ export type { SwitchProps } from './switch/switch';
140
+ export type { ToastProps } from './toast/toast';
141
+ export type { SwipeProps } from './swipe/swipe';
142
+ export type { CircleProgressProps } from './circleprogress/circleprogress';
143
+ export type { NoticeBarProps } from './noticebar/noticebar';
144
+ export type { StepsProps } from './steps/steps';
145
+ export type { StepProps } from './step/step';
146
+ export type { SwiperProps } from './swiper/swiper';
147
+ export type { SwiperItemProps } from './swiperitem/swiperitem';
148
+ export type { AvatarProps } from './avatar/avatar';
149
+ export type { AvatarGroupProps } from './avatargroup/avatargroup';
150
+ export type { PriceProps } from './price/price';
151
+ export type { BadgeProps } from './badge/badge';
152
+ export type { TagProps } from './tag/tag';
153
+ export type { PopoverProps } from './popover/popover';
154
+ export type { SkeletonProps } from './skeleton/skeleton';
155
+ export type { CountDownProps } from './countdown/countdown';
156
+ export type { CollapseProps } from './collapse/collapse';
157
+ export type { CollapseItemProps } from './collapseitem/collapseitem';
158
+ export type { AnimatingNumbersProps } from './animatingnumbers/animatingnumbers';
159
+ export type { EmptyProps } from './empty/empty';
160
+ export type { VirtualListProps } from './virtuallist/virtuallist';
161
+ export type { TableProps } from './table/table';
162
+ export type { VideoProps } from './video/video';
163
+ export type { ProgressProps } from './progress/progress';
164
+ export type { AudioProps } from './audio/audio';
165
+ export type { ImagePreviewProps } from './imagepreview/imagepreview';
166
+ export type { AddressProps } from './address/address';
167
+ export type { BarrageProps } from './barrage/barrage';
168
+ export type { SignatureProps } from './signature/signature';
169
+ export type { CardProps } from './card/card';
170
+ export type { TimePannelProps } from './timepannel/timepannel';
171
+ export type { TimeDetailProps } from './timedetail/timedetail';
172
+ export type { TimeSelectProps } from './timeselect/timeselect';
@@ -0,0 +1,2 @@
1
+ import { Overlay } from './overlay.taro';
2
+ export default Overlay;
@@ -0,0 +1,12 @@
1
+ import React, { FunctionComponent } from 'react';
2
+ export interface OverlayProps {
3
+ zIndex: number;
4
+ duration: number;
5
+ overlayClass: string;
6
+ overlayStyle: React.CSSProperties;
7
+ closeOnClickOverlay: boolean;
8
+ visible: boolean;
9
+ lockScroll: boolean;
10
+ }
11
+ export declare const defaultOverlayProps: OverlayProps;
12
+ export declare const Overlay: FunctionComponent<Partial<OverlayProps> & React.HTMLAttributes<HTMLDivElement>>;
@@ -0,0 +1,2 @@
1
+ import { Pagination } from './pagination.taro';
2
+ export default Pagination;
@@ -0,0 +1,19 @@
1
+ import React, { FunctionComponent } from 'react';
2
+ export interface PaginationProps {
3
+ defaultValue: number;
4
+ modelValue: number;
5
+ mode: 'multi' | 'simple';
6
+ prevText?: React.ReactNode;
7
+ nextText?: React.ReactNode;
8
+ pageCount: string | number;
9
+ totalItems: string | number;
10
+ itemsPerPage: string | number;
11
+ showPageSize: string | number;
12
+ forceEllipses: boolean;
13
+ pageNodeRender: (page: any) => React.ReactNode;
14
+ onChange: (currPage: number) => void;
15
+ updatecurrent: (currPage: number) => void;
16
+ style?: React.CSSProperties;
17
+ className?: string;
18
+ }
19
+ export declare const Pagination: FunctionComponent<Partial<PaginationProps> & Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'>>;
@@ -0,0 +1,142 @@
1
+ export declare const Internation: {
2
+ 'zh-CN': {
3
+ basic: string;
4
+ chooseCity: string;
5
+ defaultSelected: string;
6
+ tileDesc: string;
7
+ multipleColumns: string;
8
+ chooseTime: string;
9
+ cascade: string;
10
+ async: string;
11
+ custom: string;
12
+ validTime: string;
13
+ chooseDate: string;
14
+ always: string;
15
+ monday: string;
16
+ tuesday: string;
17
+ wednesday: string;
18
+ thursday: string;
19
+ friday: string;
20
+ morning: string;
21
+ afternoon: string;
22
+ evening: string;
23
+ nanJing: string;
24
+ wuXi: string;
25
+ zangZu: string;
26
+ beiJing: string;
27
+ lianYunGang: string;
28
+ zheJiang: string;
29
+ jiangSu: string;
30
+ daQing: string;
31
+ suiHua: string;
32
+ weiFang: string;
33
+ anshi: string;
34
+ wlmq: string;
35
+ hangZhou: string;
36
+ chaoYang: string;
37
+ haiDian: string;
38
+ daXing: string;
39
+ dongCheng: string;
40
+ xiCheng: string;
41
+ fengTai: string;
42
+ shangHai: string;
43
+ huangPu: string;
44
+ changNing: string;
45
+ puTuo: string;
46
+ yangPu: string;
47
+ puDong: string;
48
+ };
49
+ 'zh-TW': {
50
+ basic: string;
51
+ chooseCity: string;
52
+ defaultSelected: string;
53
+ tileDesc: string;
54
+ multipleColumns: string;
55
+ chooseTime: string;
56
+ cascade: string;
57
+ async: string;
58
+ custom: string;
59
+ chooseDate: string;
60
+ always: string;
61
+ monday: string;
62
+ tuesday: string;
63
+ wednesday: string;
64
+ thursday: string;
65
+ friday: string;
66
+ morning: string;
67
+ afternoon: string;
68
+ evening: string;
69
+ nanJing: string;
70
+ wuXi: string;
71
+ zangZu: string;
72
+ beiJing: string;
73
+ lianYunGang: string;
74
+ zheJiang: string;
75
+ jiangSu: string;
76
+ daQing: string;
77
+ suiHua: string;
78
+ weiFang: string;
79
+ anshi: string;
80
+ wlmq: string;
81
+ hangZhou: string;
82
+ chaoYang: string;
83
+ haiDian: string;
84
+ daXing: string;
85
+ dongCheng: string;
86
+ xiCheng: string;
87
+ fengTai: string;
88
+ shangHai: string;
89
+ huangPu: string;
90
+ changNing: string;
91
+ puTuo: string;
92
+ yangPu: string;
93
+ puDong: string;
94
+ };
95
+ 'en-US': {
96
+ basic: string;
97
+ chooseCity: string;
98
+ defaultSelected: string;
99
+ tileDesc: string;
100
+ multipleColumns: string;
101
+ chooseTime: string;
102
+ cascade: string;
103
+ async: string;
104
+ custom: string;
105
+ validTime: string;
106
+ chooseDate: string;
107
+ always: string;
108
+ monday: string;
109
+ tuesday: string;
110
+ wednesday: string;
111
+ thursday: string;
112
+ friday: string;
113
+ morning: string;
114
+ afternoon: string;
115
+ evening: string;
116
+ nanJing: string;
117
+ wuXi: string;
118
+ zangZu: string;
119
+ beiJing: string;
120
+ lianYunGang: string;
121
+ zheJiang: string;
122
+ jiangSu: string;
123
+ daQing: string;
124
+ suiHua: string;
125
+ weiFang: string;
126
+ anshi: string;
127
+ wlmq: string;
128
+ hangZhou: string;
129
+ chaoYang: string;
130
+ haiDian: string;
131
+ daXing: string;
132
+ dongCheng: string;
133
+ xiCheng: string;
134
+ fengTai: string;
135
+ shangHai: string;
136
+ huangPu: string;
137
+ changNing: string;
138
+ puTuo: string;
139
+ yangPu: string;
140
+ puDong: string;
141
+ };
142
+ };
@@ -0,0 +1,2 @@
1
+ import Picker from './picker.taro';
2
+ export default Picker;
@@ -6,7 +6,7 @@ export interface PickerOption {
6
6
  children?: PickerOption[];
7
7
  className?: string | number;
8
8
  }
9
- export interface IPickerProps {
9
+ export interface PickerProps {
10
10
  isVisible: boolean;
11
11
  title?: string;
12
12
  listData: (PickerOption | PickerOption[])[];
@@ -14,10 +14,11 @@ export interface IPickerProps {
14
14
  className?: '';
15
15
  style?: React.CSSProperties;
16
16
  threeDimensional?: boolean;
17
+ swipeDuration: number | string;
17
18
  onConfirm?: (selectedValue: (string | number)[], selectedOptions: PickerOption[]) => void;
18
19
  onClose?: (selectedValue: (string | number)[], selectedOptions: PickerOption[]) => void;
19
20
  onCloseUpdate?: (selectedValue: (string | number)[], list: PickerOption[], pickerRef: RefObject<HTMLDivElement>) => void;
20
21
  onChange?: (index: number, value: (string | number)[], selectedOptions: PickerOption[]) => void;
21
22
  }
22
- declare const Picker: React.ForwardRefExoticComponent<Partial<IPickerProps> & React.RefAttributes<unknown>>;
23
+ declare const Picker: React.ForwardRefExoticComponent<Partial<PickerProps> & React.RefAttributes<unknown>>;
23
24
  export default Picker;
@@ -0,0 +1,24 @@
1
+ import React, { RefObject } from 'react';
2
+ export interface PickerOption {
3
+ text: string | number;
4
+ value: string | number;
5
+ disabled?: string;
6
+ children?: PickerOption[];
7
+ className?: string | number;
8
+ }
9
+ export interface PickerProps {
10
+ isVisible: boolean;
11
+ title?: string;
12
+ listData: (PickerOption | PickerOption[])[];
13
+ defaultValueData?: (number | string)[];
14
+ className?: '';
15
+ style?: React.CSSProperties;
16
+ threeDimensional?: boolean;
17
+ swipeDuration: number | string;
18
+ onConfirm?: (selectedValue: (string | number)[], selectedOptions: PickerOption[]) => void;
19
+ onClose?: (selectedValue: (string | number)[], selectedOptions: PickerOption[]) => void;
20
+ onCloseUpdate?: (selectedValue: (string | number)[], list: PickerOption[], pickerRef: RefObject<HTMLDivElement>) => void;
21
+ onChange?: (index: number, value: (string | number)[], selectedOptions: PickerOption[]) => void;
22
+ }
23
+ declare const Picker: React.ForwardRefExoticComponent<Partial<PickerProps> & React.RefAttributes<unknown>>;
24
+ export default Picker;
@@ -5,6 +5,7 @@ interface IPickerSlotProps {
5
5
  defaultValue?: string | number;
6
6
  listData?: PickerOption[];
7
7
  threeDimensional: boolean;
8
+ swipeDuration: number | string;
8
9
  chooseItem?: (val: PickerOption, idx: number) => void;
9
10
  }
10
11
  declare const PickerSlot: React.ForwardRefExoticComponent<Partial<IPickerSlotProps> & React.RefAttributes<unknown>>;
@@ -0,0 +1 @@
1
+ import '@testing-library/jest-dom';
@@ -0,0 +1,2 @@
1
+ import { Popover } from './popover.taro';
2
+ export default Popover;
@@ -1,14 +1,21 @@
1
1
  import React, { CSSProperties, FunctionComponent } from 'react';
2
+ export declare type PopoverTheme = 'light' | 'dark';
3
+ export declare type PopoverLocation = 'bottom' | 'top' | 'left' | 'right' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end' | 'right-start' | 'right-end';
4
+ export interface List {
5
+ name: string;
6
+ icon?: string;
7
+ disabled?: boolean;
8
+ }
2
9
  export interface PopoverProps {
3
- list: Array<any>;
4
- theme: string;
5
- location: string;
10
+ list: List[];
11
+ theme: PopoverTheme;
12
+ location: PopoverLocation | string;
6
13
  visible: boolean;
14
+ offset: string | number;
7
15
  className: string;
8
16
  style?: CSSProperties;
9
- onClick: (e: MouseEvent) => void;
10
17
  children?: React.ReactNode;
18
+ onClick: (e: React.MouseEvent) => void;
19
+ onChoose: (item: List, index: number) => void;
11
20
  }
12
- export declare function findDOMNode<T = HTMLElement>(node: React.ReactInstance | HTMLElement): T;
13
- export declare type PopoverType = 'default' | 'primary' | 'success' | 'warning' | 'danger';
14
- export declare const Popover: FunctionComponent<Partial<PopoverProps>>;
21
+ export declare const Popover: FunctionComponent<Partial<PopoverProps> & React.HTMLAttributes<HTMLDivElement>>;
@@ -0,0 +1,21 @@
1
+ import React, { CSSProperties, FunctionComponent } from 'react';
2
+ export declare type PopoverTheme = 'light' | 'dark';
3
+ export declare type PopoverLocation = 'bottom' | 'top' | 'left' | 'right' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end' | 'right-start' | 'right-end';
4
+ export interface List {
5
+ name: string;
6
+ icon?: string;
7
+ disabled?: boolean;
8
+ }
9
+ export interface PopoverProps {
10
+ list: List[];
11
+ theme: PopoverTheme;
12
+ location: PopoverLocation | string;
13
+ visible: boolean;
14
+ offset: string | number;
15
+ className: string;
16
+ style?: CSSProperties;
17
+ children?: React.ReactNode;
18
+ onClick: (e: React.MouseEvent) => void;
19
+ onChoose: (item: List, index: number) => void;
20
+ }
21
+ export declare const Popover: FunctionComponent<Partial<PopoverProps> & React.HTMLAttributes<HTMLDivElement>>;
@@ -0,0 +1,2 @@
1
+ import { Popup } from './popup.taro';
2
+ export default Popup;
@@ -1,7 +1,7 @@
1
1
  import React, { FunctionComponent, MouseEvent } from 'react';
2
2
  import { OverlayProps } from '../overlay/overlay';
3
3
  declare type Teleport = HTMLElement | (() => HTMLElement) | null;
4
- interface PopupProps extends OverlayProps {
4
+ export interface PopupProps extends OverlayProps {
5
5
  position: string;
6
6
  transition: string;
7
7
  style: React.CSSProperties;
@@ -0,0 +1,25 @@
1
+ import React, { FunctionComponent, MouseEvent } from 'react';
2
+ import { OverlayProps } from '../overlay/overlay';
3
+ declare type Teleport = HTMLElement | (() => HTMLElement) | null;
4
+ export interface PopupProps extends OverlayProps {
5
+ position: string;
6
+ transition: string;
7
+ style: React.CSSProperties;
8
+ popClass: string;
9
+ closeable: boolean;
10
+ closeIconPosition: string;
11
+ closeIcon: string;
12
+ destroyOnClose: boolean;
13
+ teleport: Teleport;
14
+ overlay: boolean;
15
+ round: boolean;
16
+ onOpen: () => void;
17
+ onClose: () => void;
18
+ onClick: (e: MouseEvent) => void;
19
+ onOpened: (e: HTMLElement) => void;
20
+ onClosed: (e: HTMLElement) => void;
21
+ onClickOverlay: (e: MouseEvent) => void;
22
+ onClickCloseIcon: (e: MouseEvent) => void;
23
+ }
24
+ export declare const Popup: FunctionComponent<Partial<PopupProps> & React.HTMLAttributes<HTMLDivElement>>;
25
+ export {};
@@ -0,0 +1,2 @@
1
+ import { Price } from './price.taro';
2
+ export default Price;
@@ -0,0 +1,11 @@
1
+ import React, { FunctionComponent } from 'react';
2
+ export interface PriceProps {
3
+ price: number | string;
4
+ needSymbol: boolean;
5
+ symbol: string;
6
+ decimalDigits: number;
7
+ thousands: boolean;
8
+ className: string;
9
+ style: React.CSSProperties;
10
+ }
11
+ export declare const Price: FunctionComponent<Partial<PriceProps>>;
@@ -0,0 +1,2 @@
1
+ import { Progress } from './progress.taro';
2
+ export default Progress;
@@ -0,0 +1,26 @@
1
+ import React, { FunctionComponent, CSSProperties, ReactNode } from 'react';
2
+ export declare type ProgressSize = 'small' | 'base' | 'large';
3
+ export declare type TextType = 'icon' | 'text';
4
+ export interface ProgressProps {
5
+ className: string;
6
+ style: CSSProperties;
7
+ isShowPercentage: boolean;
8
+ percentage: number;
9
+ fillColor: string;
10
+ strokeColor: string;
11
+ strokeWidth: string;
12
+ size: ProgressSize;
13
+ textColor: string;
14
+ textWidth: string;
15
+ showText: boolean;
16
+ textInside: boolean;
17
+ textBackground: string;
18
+ textType: TextType;
19
+ status: boolean;
20
+ iconName: string;
21
+ iconColor: string;
22
+ iconSize: string;
23
+ rounded: boolean | string;
24
+ children: ReactNode;
25
+ }
26
+ export declare const Progress: FunctionComponent<Partial<ProgressProps> & React.HTMLAttributes<HTMLDivElement>>;
@@ -0,0 +1,2 @@
1
+ import { Radio } from './radio.taro';
2
+ export default Radio;
@@ -0,0 +1,21 @@
1
+ import React, { FunctionComponent, MouseEventHandler } from 'react';
2
+ import RadioGroup from '../radiogroup';
3
+ declare type Shape = 'button' | 'round';
4
+ declare type Position = 'right' | 'left';
5
+ export interface RadioProps {
6
+ className: string;
7
+ style: React.CSSProperties;
8
+ disabled: boolean;
9
+ checked: boolean;
10
+ shape: Shape;
11
+ textPosition: Position;
12
+ value: string | number | boolean;
13
+ iconName: string;
14
+ iconActiveName: string;
15
+ iconSize: string | number;
16
+ onChange: MouseEventHandler<HTMLDivElement>;
17
+ }
18
+ export declare const Radio: FunctionComponent<Partial<RadioProps> & React.HTMLAttributes<HTMLDivElement>> & {
19
+ RadioGroup: typeof RadioGroup;
20
+ };
21
+ export {};
@@ -0,0 +1,2 @@
1
+ import { RadioGroup } from './radiogroup';
2
+ export default RadioGroup;
@@ -0,0 +1,2 @@
1
+ import { Range } from './range.taro';
2
+ export default Range;
@@ -0,0 +1,25 @@
1
+ import React, { FunctionComponent, CSSProperties } from 'react';
2
+ declare type SliderValue = number | number[];
3
+ export interface RangeProps {
4
+ className: string;
5
+ style: CSSProperties;
6
+ range: boolean;
7
+ disabled: boolean;
8
+ activeColor: string;
9
+ inactiveColor: string;
10
+ buttonColor: string;
11
+ hiddenRange: boolean;
12
+ hiddenTag: boolean;
13
+ min: number | string;
14
+ max: number | string;
15
+ step: number | string;
16
+ modelValue: SliderValue;
17
+ button: React.ReactNode;
18
+ vertical: boolean;
19
+ marks: Record<string, unknown>;
20
+ change?: (value: number) => void;
21
+ dragStart?: () => void;
22
+ dragEnd?: () => void;
23
+ }
24
+ export declare const Range: FunctionComponent<Partial<RangeProps> & Omit<React.HTMLAttributes<HTMLDivElement>, 'onClick'>>;
25
+ export {};
@@ -0,0 +1,2 @@
1
+ import { Rate } from './rate.taro';
2
+ export default Rate;
@@ -0,0 +1,17 @@
1
+ import { FunctionComponent } from 'react';
2
+ export interface RateProps {
3
+ count: string | number;
4
+ modelValue: string | number;
5
+ minimizeValue: string | number;
6
+ iconSize: string | number;
7
+ activeColor: string;
8
+ voidColor: string;
9
+ checkedIcon: string;
10
+ uncheckedIcon: string;
11
+ disabled: boolean;
12
+ readonly: boolean;
13
+ allowHalf: boolean;
14
+ spacing: string | number;
15
+ change: (val: number) => void;
16
+ }
17
+ export declare const Rate: FunctionComponent<Partial<RateProps>>;
@@ -0,0 +1,2 @@
1
+ import { Row } from './row.taro';
2
+ export default Row;
@@ -0,0 +1,12 @@
1
+ import React, { FunctionComponent } from 'react';
2
+ declare type EventType = 'row' | 'col';
3
+ export interface RowProps {
4
+ type: string;
5
+ justify: string;
6
+ align: string;
7
+ wrap: string;
8
+ gutter: string | number;
9
+ onClick: (e: any, type: EventType) => void;
10
+ }
11
+ export declare const Row: FunctionComponent<Partial<RowProps> & Omit<React.HTMLAttributes<HTMLDivElement>, 'onClick'>>;
12
+ export {};
@@ -0,0 +1,2 @@
1
+ import { SearchBar } from './searchbar.taro';
2
+ export default SearchBar;