@nutui/nutui-react-taro 2.0.0-alpha.0 → 2.0.0-alpha.10

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 (363) hide show
  1. package/CHANGELOG.md +137 -638
  2. package/dist/esm/ActionSheet.js +15 -16
  3. package/dist/esm/Address.js +19 -22
  4. package/dist/esm/Animate.js +7 -9
  5. package/dist/esm/AnimatingNumbers.js +8 -9
  6. package/dist/esm/Audio.js +18 -20
  7. package/dist/esm/Avatar.js +11 -12
  8. package/dist/esm/AvatarGroup.js +8 -13
  9. package/dist/esm/BackTop.js +9 -10
  10. package/dist/esm/Badge.js +7 -10
  11. package/dist/esm/Barrage.js +9 -10
  12. package/dist/esm/Button.js +8 -9
  13. package/dist/esm/Calendar.js +18 -21
  14. package/dist/esm/CalendarItem.js +11 -14
  15. package/dist/esm/Card.js +12 -13
  16. package/dist/esm/Cascader.js +16 -18
  17. package/dist/esm/Cell.js +7 -8
  18. package/dist/esm/CellGroup.js +7 -8
  19. package/dist/esm/Checkbox.js +9 -10
  20. package/dist/esm/CheckboxGroup.js +9 -10
  21. package/dist/esm/CircleProgress.js +8 -10
  22. package/dist/esm/Col.js +8 -8
  23. package/dist/esm/Collapse.js +8 -9
  24. package/dist/esm/CollapseItem.js +7 -8
  25. package/dist/esm/ConfigProvider.js +9 -9
  26. package/dist/esm/CountDown.js +8 -11
  27. package/dist/esm/DatePicker.js +20 -24
  28. package/dist/esm/Dialog.js +13 -15
  29. package/dist/esm/Divider.js +7 -7
  30. package/dist/esm/Drag.js +7 -9
  31. package/dist/esm/Elevator.js +9 -10
  32. package/dist/esm/Ellipsis.js +9 -11
  33. package/dist/esm/Empty.js +7 -11
  34. package/dist/esm/FixedNav.js +11 -14
  35. package/dist/esm/Form.js +10 -11
  36. package/dist/esm/FormItem.js +8 -9
  37. package/dist/esm/Grid.js +8 -11
  38. package/dist/esm/GridItem.js +7 -10
  39. package/dist/esm/Image.js +7 -10
  40. package/dist/esm/ImagePreview.js +18 -20
  41. package/dist/esm/Indicator.js +6 -7
  42. package/dist/esm/Infiniteloading.js +12 -15
  43. package/dist/esm/Input.js +11 -11
  44. package/dist/esm/InputNumber.js +9 -10
  45. package/dist/esm/Layout.js +5 -6
  46. package/dist/esm/Menu.js +8 -9
  47. package/dist/esm/MenuItem.js +13 -15
  48. package/dist/esm/NavBar.js +7 -11
  49. package/dist/esm/NoticeBar.js +9 -12
  50. package/dist/esm/Notify.js +8 -10
  51. package/dist/esm/NumberKeyboard.js +14 -19
  52. package/dist/esm/Overlay.js +8 -9
  53. package/dist/esm/Pagination.js +9 -12
  54. package/dist/esm/Picker.js +19 -23
  55. package/dist/esm/Popover.js +10 -11
  56. package/dist/esm/Popup.js +12 -15
  57. package/dist/esm/Price.js +6 -8
  58. package/dist/esm/Progress.js +7 -11
  59. package/dist/esm/PullToRefresh.js +9 -14
  60. package/dist/esm/Radio.js +9 -10
  61. package/dist/esm/RadioGroup.js +9 -10
  62. package/dist/esm/Range/style/index.js +1 -1
  63. package/dist/esm/Range.js +11 -16
  64. package/dist/esm/Rate.js +9 -10
  65. package/dist/esm/Row.js +8 -8
  66. package/dist/esm/SearchBar.js +11 -14
  67. package/dist/esm/ShortPassword.js +16 -19
  68. package/dist/esm/SideNavBar.js +14 -20
  69. package/dist/esm/SideNavBarItem.js +5 -6
  70. package/dist/esm/Signature.js +13 -16
  71. package/dist/esm/Skeleton.js +14 -13
  72. package/dist/esm/Step.js +8 -11
  73. package/dist/esm/Steps/style/index.js +1 -1
  74. package/dist/esm/Steps.js +8 -10
  75. package/dist/esm/Sticky.js +10 -12
  76. package/dist/esm/SubSideNavBar.js +6 -7
  77. package/dist/esm/Swipe.js +11 -12
  78. package/dist/esm/Swiper.js +8 -11
  79. package/dist/esm/SwiperItem.js +5 -10
  80. package/dist/esm/Switch.js +7 -8
  81. package/dist/esm/TabPane.js +6 -9
  82. package/dist/esm/Tabbar/style/index.js +1 -1
  83. package/dist/esm/Tabbar.js +10 -8
  84. package/dist/esm/TabbarItem.js +8 -10
  85. package/dist/esm/Table.js +9 -14
  86. package/dist/esm/Tabs.js +11 -12
  87. package/dist/esm/Tag.js +8 -9
  88. package/dist/esm/TextArea.js +11 -11
  89. package/dist/esm/TimeDetail.js +8 -11
  90. package/dist/esm/TimePannel.js +8 -11
  91. package/dist/esm/TimeSelect.js +18 -21
  92. package/dist/esm/Toast.js +9 -10
  93. package/dist/esm/TrendArrow.js +8 -9
  94. package/dist/esm/Uploader.js +14 -19
  95. package/dist/esm/UserContext-ab42ba7f.js +5 -0
  96. package/dist/esm/Video.js +8 -9
  97. package/dist/esm/VirtualList.js +8 -11
  98. package/dist/esm/WaterMark.js +10 -13
  99. package/dist/esm/actionsheet.taro-d2217152.js +61 -0
  100. package/dist/esm/address.taro-1a8ab3f1.js +470 -0
  101. package/dist/esm/animate.taro-c8b29242.js +44 -0
  102. package/dist/esm/animatingnumbers.taro-c2a52dbd.js +103 -0
  103. package/dist/esm/audio.taro-bbd39f93.js +185 -0
  104. package/dist/esm/avatar.taro-01536aff.js +100 -0
  105. package/dist/esm/avatargroup-ad5ffb46.js +34 -0
  106. package/dist/esm/backtop.taro-7de36464.js +48 -0
  107. package/dist/esm/badge.taro-872605bf.js +48 -0
  108. package/dist/esm/barrage.taro-c8cb9864.js +91 -0
  109. package/dist/esm/bem-cdccae08.js +5 -0
  110. package/dist/esm/button.taro-01eae688.js +72 -0
  111. package/dist/esm/calendar.taro-10a6cb11.js +70 -0
  112. package/dist/esm/calendaritem.taro-3e5f114e.js +732 -0
  113. package/dist/esm/can-use-dom-0e539bd3.js +4 -0
  114. package/dist/esm/card.taro-2080f4d2.js +51 -0
  115. package/dist/esm/cascader.taro-fb7a0230.js +471 -0
  116. package/dist/esm/cell.taro-4e31d1fa.js +48 -0
  117. package/dist/esm/cellgroup.taro-a790d91b.js +28 -0
  118. package/dist/esm/checkbox.taro-016074da.js +177 -0
  119. package/dist/esm/circleprogress.taro-7149e09d.js +104 -0
  120. package/dist/esm/col.taro-d6a46a7d.js +41 -0
  121. package/dist/esm/collapse.taro-3d997680.js +70 -0
  122. package/dist/esm/collapseitem-f4571575.js +76 -0
  123. package/dist/esm/configprovider.taro-25758d9f.js +462 -0
  124. package/dist/esm/context-ab42ba7f.js +5 -0
  125. package/dist/esm/context-d0fccf11.js +5 -0
  126. package/dist/esm/countdown.taro-22200811.js +210 -0
  127. package/dist/esm/datepicker.taro-65dbeceb.js +260 -0
  128. package/dist/esm/dialog.taro-290eb9a6.js +128 -0
  129. package/dist/esm/divider.taro-0cb5f894.js +31 -0
  130. package/dist/esm/drag.taro-48e1ff38.js +111 -0
  131. package/dist/esm/elevator.taro-df8fde9d.js +206 -0
  132. package/dist/esm/ellipsis.taro-f9688dd7.js +242 -0
  133. package/dist/esm/empty.taro-ca792f57.js +59 -0
  134. package/dist/esm/fixednav.taro-28e5f776.js +61 -0
  135. package/dist/esm/form.taro-b06754e8.js +182 -0
  136. package/dist/esm/formitem.taro-b326809d.js +108 -0
  137. package/dist/esm/grid.taro-fbbd8618.js +52 -0
  138. package/dist/esm/griditem.taro-b0c37077.js +85 -0
  139. package/dist/esm/image.taro-767aa000.js +65 -0
  140. package/dist/esm/imagepreview.taro-daa5a84f.js +180 -0
  141. package/dist/esm/index-e3184f19.js +9 -0
  142. package/dist/esm/indicator.taro-edbc71df.js +30 -0
  143. package/dist/esm/infiniteloading.taro-f8f23ac6.js +143 -0
  144. package/dist/esm/input.taro-27d686c9.js +164 -0
  145. package/dist/esm/inputnumber.taro-6657d2c1.js +197 -0
  146. package/dist/esm/layout.taro-9659a928.js +11 -0
  147. package/dist/esm/menu.taro-cd0fef41.js +122 -0
  148. package/dist/esm/menuitem.taro-6076bffa.js +142 -0
  149. package/dist/esm/navbar.taro-5e1a0835.js +61 -0
  150. package/dist/esm/noticebar.taro-2f02b2ad.js +369 -0
  151. package/dist/esm/notify.taro-5768403d.js +75 -0
  152. package/dist/esm/numberkeyboard.taro-ad8afaf9.js +136 -0
  153. package/dist/esm/nutui-react.es.js +206 -118
  154. package/dist/esm/offsetContext-f32a9246.js +5 -0
  155. package/dist/esm/overlay.taro-75012bd3.js +77 -0
  156. package/dist/esm/pagination.taro-63607c3b.js +94 -0
  157. package/dist/esm/picker.taro-0570ec32.js +481 -0
  158. package/dist/esm/popover.taro-ad483372.js +162 -0
  159. package/dist/esm/popup.taro-e756f3fc.js +150 -0
  160. package/dist/esm/price.taro-479f1b82.js +80 -0
  161. package/dist/esm/progress.taro-437b9f6a.js +66 -0
  162. package/dist/esm/pulltorefresh.taro-6afe4805.js +138 -0
  163. package/dist/esm/radio.taro-5d6ca4ad.js +153 -0
  164. package/dist/esm/range.taro-615e193a.js +259 -0
  165. package/dist/esm/rate.taro-78c66969.js +77 -0
  166. package/dist/esm/row.taro-8b7febd4.js +48 -0
  167. package/dist/esm/searchbar.taro-37ade36e.js +159 -0
  168. package/dist/esm/shortpassword.taro-f7292032.js +146 -0
  169. package/dist/esm/sidenavbar.taro-9f210df4.js +51 -0
  170. package/dist/esm/sidenavbaritem.taro-32a45ce6.js +12 -0
  171. package/dist/esm/signature.taro-c57469aa.js +146 -0
  172. package/dist/esm/skeleton.taro-9ff9baf4.js +71 -0
  173. package/dist/esm/step.taro-2f55e4f2.js +63 -0
  174. package/dist/esm/steps.taro-196c1f59.js +31 -0
  175. package/dist/esm/sticky.taro-f8ae8d5e.js +154 -0
  176. package/dist/esm/subsidenavbar.taro-abe07673.js +64 -0
  177. package/dist/esm/swipe.taro-de80fcd8.js +180 -0
  178. package/dist/esm/swiper.taro-4aeb8526.js +86 -0
  179. package/dist/esm/swiperitem.taro-ef7342e8.js +14 -0
  180. package/dist/esm/switch.taro-f0da73a3.js +44 -0
  181. package/dist/esm/tabbar.taro-18eee41f.js +55 -0
  182. package/dist/esm/tabbaritem.taro-89646ca1.js +47 -0
  183. package/dist/esm/table.taro-15a55c5d.js +100 -0
  184. package/dist/esm/tabpane.taro-f8d92ece.js +21 -0
  185. package/dist/esm/tabs.taro-66164782.js +146 -0
  186. package/dist/esm/tag.taro-1b4134a5.js +92 -0
  187. package/dist/esm/textarea.taro-c110565e.js +102 -0
  188. package/dist/esm/timedetail.taro-8d2acbbf.js +41 -0
  189. package/dist/esm/timepannel.taro-ee4c5dfa.js +22 -0
  190. package/dist/esm/timeselect.taro-069deedd.js +133 -0
  191. package/dist/esm/toast.taro-92c10e1d.js +114 -0
  192. package/dist/esm/trendarrow.taro-0cf43935.js +72 -0
  193. package/dist/esm/typings-11d83a22.js +7 -0
  194. package/dist/esm/uploader.taro-7e38fc37.js +519 -0
  195. package/dist/esm/use-client-rect-f317804e.js +10 -0
  196. package/dist/esm/use-props-value-7ac1b1b5.js +16 -0
  197. package/dist/esm/use-touch-ff43512c.js +69 -0
  198. package/dist/esm/video-5d106e33.js +73 -0
  199. package/dist/esm/virtuallist.taro-99f03769.js +195 -0
  200. package/dist/esm/watermark.taro-cef29c03.js +109 -0
  201. package/dist/locales/base.js +1 -1
  202. package/dist/locales/en-US.js +1 -1
  203. package/dist/locales/id-ID.js +1 -1
  204. package/dist/locales/zh-CN.js +1 -1
  205. package/dist/locales/zh-TW.js +1 -1
  206. package/dist/locales/zh-UG.js +1 -1
  207. package/dist/nutui.react.mjs +16980 -22641
  208. package/dist/nutui.react.umd.js +17061 -22738
  209. package/dist/packages/audio/audio.scss +2 -15
  210. package/dist/packages/badge/badge.scss +8 -18
  211. package/dist/packages/calendar/calendar.scss +0 -30
  212. package/dist/packages/cascader/cascader.scss +0 -26
  213. package/dist/packages/cellgroup/cellgroup.scss +20 -16
  214. package/dist/packages/checkbox/checkbox.scss +8 -11
  215. package/dist/packages/circleprogress/circleprogress.scss +0 -9
  216. package/dist/packages/dialog/dialog.scss +36 -65
  217. package/dist/packages/elevator/elevator.scss +2 -28
  218. package/dist/packages/empty/empty.scss +0 -9
  219. package/dist/packages/imagepreview/imagepreview.scss +52 -16
  220. package/dist/packages/input/input.scss +13 -180
  221. package/dist/packages/menu/menu.scss +44 -55
  222. package/dist/packages/menuitem/menuitem.scss +16 -26
  223. package/dist/packages/navbar/navbar.scss +16 -115
  224. package/dist/packages/noticebar/noticebar.scss +18 -19
  225. package/dist/packages/notify/notify.scss +1 -1
  226. package/dist/packages/numberkeyboard/numberkeyboard.scss +29 -77
  227. package/dist/packages/overlay/overlay.scss +11 -4
  228. package/dist/packages/picker/picker.scss +66 -137
  229. package/dist/packages/popup/popup.scss +0 -16
  230. package/dist/packages/price/price.scss +8 -0
  231. package/dist/packages/progress/progress.scss +19 -58
  232. package/dist/packages/pulltorefresh/pulltorefresh.scss +0 -8
  233. package/dist/packages/radio/radio.scss +13 -32
  234. package/dist/packages/radiogroup/radiogroup.scss +17 -51
  235. package/dist/packages/range/range.scss +24 -49
  236. package/dist/packages/row/row.scss +13 -31
  237. package/dist/packages/sidenavbar/sidenavbar.scss +0 -19
  238. package/dist/packages/step/step.scss +9 -62
  239. package/dist/packages/steps/steps.scss +2 -0
  240. package/dist/packages/swiper/swiper.scss +3 -18
  241. package/dist/packages/switch/switch.scss +13 -31
  242. package/dist/packages/tabbar/tabbar.scss +16 -22
  243. package/dist/packages/tabbaritem/tabbaritem.scss +9 -70
  244. package/dist/packages/table/table.scss +0 -56
  245. package/dist/packages/tabs/tabs.scss +196 -225
  246. package/dist/packages/textarea/textarea.scss +5 -12
  247. package/dist/packages/uploader/uploader.scss +2 -28
  248. package/dist/style.css +1 -1
  249. package/dist/style.mjs +1 -1
  250. package/dist/styles/themes/default.scss +17 -18
  251. package/dist/styles/variables-jmapp.scss +120 -240
  252. package/dist/styles/variables.scss +139 -252
  253. package/dist/types/index.d.ts +572 -722
  254. package/package.json +2 -2
  255. package/dist/esm/AvatarContext-c96afdcc.js +0 -5
  256. package/dist/esm/Icon.js +0 -64
  257. package/dist/esm/UserContext-0aac9a82.js +0 -5
  258. package/dist/esm/UserContext-e402e1a6.js +0 -5
  259. package/dist/esm/UserContext-e8176108.js +0 -5
  260. package/dist/esm/actionsheet.taro-b76a342e.js +0 -53
  261. package/dist/esm/address.taro-1812caeb.js +0 -461
  262. package/dist/esm/animate.taro-fb7986d6.js +0 -40
  263. package/dist/esm/animatingnumbers.taro-03e5d61d.js +0 -104
  264. package/dist/esm/audio.taro-f672a68c.js +0 -162
  265. package/dist/esm/avatar.taro-de157a1f.js +0 -105
  266. package/dist/esm/avatargroup-b476ac68.js +0 -34
  267. package/dist/esm/backtop.taro-ba271b8f.js +0 -52
  268. package/dist/esm/badge.taro-ae154f41.js +0 -50
  269. package/dist/esm/barrage.taro-80df08d3.js +0 -94
  270. package/dist/esm/bem-350c1702.js +0 -5
  271. package/dist/esm/button.taro-a1c9512f.js +0 -65
  272. package/dist/esm/calendar.taro-b6b147ca.js +0 -65
  273. package/dist/esm/calendaritem.taro-ae167e59.js +0 -787
  274. package/dist/esm/can-use-dom-3eeb5af4.js +0 -6
  275. package/dist/esm/card.taro-5e9b34c8.js +0 -33
  276. package/dist/esm/cascader.taro-9c0a1a38.js +0 -447
  277. package/dist/esm/cell.taro-26870740.js +0 -43
  278. package/dist/esm/cellgroup.taro-6e901b54.js +0 -24
  279. package/dist/esm/checkbox.taro-785c528b.js +0 -168
  280. package/dist/esm/circleprogress.taro-79854448.js +0 -109
  281. package/dist/esm/col.taro-53eed3cc.js +0 -41
  282. package/dist/esm/collapse.taro-35a8a0d6.js +0 -79
  283. package/dist/esm/collapseitem-690eb91c.js +0 -68
  284. package/dist/esm/configprovider-9960f0fb.js +0 -19
  285. package/dist/esm/configprovider.taro-c8c54556.js +0 -45
  286. package/dist/esm/countdown.taro-0e6bf7a2.js +0 -225
  287. package/dist/esm/datepicker.taro-439e2080.js +0 -275
  288. package/dist/esm/dialog.taro-00ac41fd.js +0 -118
  289. package/dist/esm/divider.taro-6c1657ce.js +0 -31
  290. package/dist/esm/drag.taro-79bb8744.js +0 -110
  291. package/dist/esm/elevator.taro-81a11ecc.js +0 -178
  292. package/dist/esm/ellipsis.taro-b6cda065.js +0 -241
  293. package/dist/esm/empty.taro-fde835ca.js +0 -62
  294. package/dist/esm/fixednav.taro-39fbd47a.js +0 -54
  295. package/dist/esm/form.taro-0d83f1e8.js +0 -179
  296. package/dist/esm/formitem.taro-0de07d1e.js +0 -89
  297. package/dist/esm/get-scroll-parent-b4a07e65.js +0 -25
  298. package/dist/esm/grid.taro-3797169c.js +0 -49
  299. package/dist/esm/griditem.taro-04f59ae1.js +0 -80
  300. package/dist/esm/image.taro-edb572bb.js +0 -64
  301. package/dist/esm/imagepreview.taro-867ee24a.js +0 -167
  302. package/dist/esm/index-5bcb0ff8.js +0 -7
  303. package/dist/esm/indicator.taro-c10334e8.js +0 -30
  304. package/dist/esm/infiniteloading.taro-73c9b8ca.js +0 -141
  305. package/dist/esm/input.taro-10ed5500.js +0 -237
  306. package/dist/esm/inputnumber.taro-108c4784.js +0 -199
  307. package/dist/esm/layout.taro-9046d093.js +0 -11
  308. package/dist/esm/menu.taro-54951911.js +0 -98
  309. package/dist/esm/menuitem.taro-86a6bb6c.js +0 -128
  310. package/dist/esm/navbar.taro-69f47d51.js +0 -77
  311. package/dist/esm/noticebar.taro-49e7441f.js +0 -427
  312. package/dist/esm/notify.taro-e17c6f82.js +0 -75
  313. package/dist/esm/numberkeyboard.taro-81b36e5e.js +0 -159
  314. package/dist/esm/offsetContext-c2a746fa.js +0 -5
  315. package/dist/esm/overlay.taro-ad0d4775.js +0 -75
  316. package/dist/esm/pagination.taro-60b22b27.js +0 -91
  317. package/dist/esm/picker.taro-5c9030a7.js +0 -423
  318. package/dist/esm/popover.taro-2a57eae4.js +0 -153
  319. package/dist/esm/popup.taro-124b9bab.js +0 -142
  320. package/dist/esm/price.taro-776ed16e.js +0 -83
  321. package/dist/esm/progress.taro-24392ef3.js +0 -88
  322. package/dist/esm/pulltorefresh.taro-d5fcfcb0.js +0 -181
  323. package/dist/esm/radio.taro-51e10152.js +0 -177
  324. package/dist/esm/range.taro-7a2b6ca1.js +0 -332
  325. package/dist/esm/rate.taro-57341aa9.js +0 -77
  326. package/dist/esm/row.taro-f64d4a13.js +0 -46
  327. package/dist/esm/searchbar.taro-eef468bb.js +0 -152
  328. package/dist/esm/shortpassword.taro-9a2c98ad.js +0 -119
  329. package/dist/esm/sidenavbar.taro-0265812f.js +0 -35
  330. package/dist/esm/sidenavbaritem.taro-bb80dbf4.js +0 -12
  331. package/dist/esm/signature.taro-f01b2b05.js +0 -143
  332. package/dist/esm/skeleton.taro-64e858a2.js +0 -62
  333. package/dist/esm/step.taro-2ec1f283.js +0 -58
  334. package/dist/esm/steps.taro-c82d2252.js +0 -30
  335. package/dist/esm/sticky.taro-b5bde7b1.js +0 -136
  336. package/dist/esm/subsidenavbar.taro-3cce8442.js +0 -63
  337. package/dist/esm/supports-passive-c85ef996.js +0 -18
  338. package/dist/esm/swipe.taro-350c9a94.js +0 -177
  339. package/dist/esm/swiper.taro-7a94e211.js +0 -451
  340. package/dist/esm/swiperitem-c9e3d0d5.js +0 -29
  341. package/dist/esm/switch.taro-34ca8228.js +0 -50
  342. package/dist/esm/tabbar.taro-9acfc2fa.js +0 -59
  343. package/dist/esm/tabbaritem.taro-42ba353f.js +0 -55
  344. package/dist/esm/table.taro-3946697c.js +0 -95
  345. package/dist/esm/tabpane.taro-4ca340ef.js +0 -23
  346. package/dist/esm/tabs.taro-be8cacb5.js +0 -140
  347. package/dist/esm/tag.taro-0c2567de.js +0 -92
  348. package/dist/esm/textarea.taro-a0f79515.js +0 -94
  349. package/dist/esm/timedetail.taro-fce4e614.js +0 -44
  350. package/dist/esm/timepannel.taro-fd3d008d.js +0 -22
  351. package/dist/esm/timeselect.taro-5b047850.js +0 -133
  352. package/dist/esm/toast.taro-e4f44812.js +0 -108
  353. package/dist/esm/trendarrow.taro-7cf90def.js +0 -70
  354. package/dist/esm/typings-d8491423.js +0 -6
  355. package/dist/esm/uploader.taro-0cca7e97.js +0 -496
  356. package/dist/esm/use-client-rect-1f8ed1fe.js +0 -18
  357. package/dist/esm/use-props-value-ae7ee726.js +0 -15
  358. package/dist/esm/use-touch-db24bb5c.js +0 -69
  359. package/dist/esm/video-7ed508cc.js +0 -67
  360. package/dist/esm/virtuallist.taro-35b9bd9a.js +0 -214
  361. package/dist/esm/watermark.taro-c780d360.js +0 -114
  362. package/dist/esm/zh-CN-b4f493ba.js +0 -131
  363. package/dist/packages/icon/icon.scss +0 -0
@@ -1,196 +1,34 @@
1
- .nut-theme-dark {
2
- .nut-input {
3
- background: $dark4;
4
- &-label {
5
- color: $dark1;
6
- .label-string {
7
- color: $dark1;
8
- }
9
- }
10
- .input-text,
11
- &__text--readonly {
12
- color: $dark1;
13
- }
14
- &-left-icon,
15
- &-right-icon {
16
- i {
17
- color: $dark1;
18
- }
19
- }
20
- &-inner {
21
- .nut-input-clear {
22
- color: $dark1;
23
- }
24
- }
25
- }
26
- }
27
- input,
28
- textarea {
29
- font: inherit;
30
- }
31
-
32
1
  .nut-input {
33
2
  position: relative;
3
+ display: flex;
4
+ align-items: center;
5
+ flex: 1;
34
6
  width: 100%;
35
7
  padding: $input-padding;
36
- display: flex;
37
8
  line-height: 24px;
38
9
  background: $white;
39
10
  font-size: $input-font-size;
40
11
  box-sizing: border-box;
41
- &.center {
42
- align-items: center;
43
- }
44
- &.nut-input-border {
45
- border-bottom: 1px solid $input-border-bottom;
12
+ border-bottom: $input-border-bottom-width solid $input-border-bottom;
13
+
14
+ .nut-icon {
15
+ color: #c8c9cc;
46
16
  }
47
- input {
48
- width: 230px;
17
+
18
+ .nut-input-native {
19
+ width: 100%;
49
20
  color: $gray1;
50
21
  flex: 1;
51
- padding: 0 10px;
52
- padding-right: 35px;
53
- outline: 0 none;
54
- border: 0;
55
- text-decoration: none;
56
- }
57
- .label-string {
58
- color: $gray1;
59
- }
60
- &__clear {
61
- width: 16px;
62
- height: 16px;
63
- position: absolute;
64
- right: 15px;
65
- }
66
- &__disabled {
67
- color: $input-disabled-color !important;
68
- input:disabled {
69
- background: none;
70
- color: $input-disabled-color;
71
- cursor: not-allowed;
72
- opacity: 1;
73
- -webkit-text-fill-color: $input-disabled-color;
74
- }
75
- }
76
- &__require {
77
- color: $primary-color;
78
- display: inline-block;
79
- margin-right: 5px;
80
- }
81
-
82
- .input-text,
83
- &__text--readonly {
84
- width: 90%;
85
22
  padding: 0;
86
- line-height: inherit;
87
- text-align: left;
88
- outline: 0 none;
89
23
  border: 0;
24
+ outline: 0 none;
25
+ font: inherit;
90
26
  text-decoration: none;
91
- background: transparent;
92
- resize: none;
93
- color: $gray1;
94
- }
95
-
96
- &-label {
97
- width: 80px;
98
- overflow: hidden;
99
- margin-right: 6px;
100
- text-align: left;
101
- }
102
- &-value {
103
- flex: 1;
104
- vertical-align: middle;
105
27
  }
106
- &-right-mark {
107
- .nut-input-main-con {
108
- display: flex;
109
- align-items: center;
110
- justify-content: space-between;
111
- }
112
28
 
113
- .nut-input-inner {
114
- flex: 1;
115
- }
116
- .nut-input-button,
117
- .nut-input-right-icon {
118
- width: auto;
119
- }
120
- }
121
- &-inner {
122
- position: relative;
123
- display: flex;
124
- align-items: center;
125
- }
126
- &-box {
127
- position: relative;
128
- width: 100%;
129
- }
130
- &-disabled-mask {
131
- position: absolute;
132
- width: 100%;
133
- height: 100%;
134
- top: 0;
135
- left: 0;
136
- z-index: 2;
137
- }
138
- &-error-message {
139
- color: $input-required-color;
140
- font-size: 12px;
141
- }
142
- &-word-limit {
143
- display: flex;
144
- justify-content: flex-end;
145
- margin-top: 4px;
146
- color: #808080;
147
- font-size: 12px;
148
- }
149
- &-left-icon,
150
- &-right-icon {
151
- display: flex;
152
- align-items: center;
153
- font-size: 0;
154
- i {
155
- color: $gray1;
156
- }
157
- }
158
- &-clear,
159
- &-right-icon {
160
- margin-left: 4px;
161
- }
162
- &-left-icon {
163
- margin-right: 4px;
164
- }
165
- &-clear-box {
166
- height: 100%;
167
- .nut-input-clear {
168
- vertical-align: -2px;
169
- }
170
- }
171
- &-clear-wrap {
172
- width: 16px;
173
- height: 16px;
174
- }
175
- &-clear {
176
- width: 16px;
177
- height: 16px;
178
- color: #c8c9cc;
179
- cursor: pointer;
180
- }
181
- .nut-button {
182
- margin-left: 10px;
183
- }
184
- &.nut-input-required {
185
- &::before {
186
- position: absolute;
187
- left: 14px;
188
- color: $input-required-color;
189
- content: '*';
190
- }
191
- }
192
29
  &-disabled {
193
30
  color: $input-disabled-color !important;
31
+
194
32
  input:disabled {
195
33
  background: none;
196
34
  color: $input-disabled-color;
@@ -199,9 +37,4 @@ textarea {
199
37
  -webkit-text-fill-color: $input-disabled-color;
200
38
  }
201
39
  }
202
- &-error,
203
- &-error::placeholder {
204
- color: $input-required-color;
205
- -webkit-text-fill-color: $input-required-color;
206
- }
207
40
  }
@@ -1,16 +1,5 @@
1
1
  @import '../../styles/mixins/text-ellipsis.scss';
2
2
 
3
- .nut-theme-dark {
4
- .nut-menu {
5
- .nut-menu__bar {
6
- background-color: $dark6;
7
- .nut-menu__item {
8
- color: $gray6;
9
- }
10
- }
11
- }
12
- }
13
-
14
3
  .nut-menu {
15
4
  &.scroll-fixed {
16
5
  position: fixed;
@@ -18,58 +7,58 @@
18
7
  z-index: $menu-scroll-fixed-z-index;
19
8
  width: 100%;
20
9
  }
10
+ }
21
11
 
22
- .nut-menu-relative {
23
- position: relative;
24
- }
25
-
26
- .nut-menu__bar {
27
- position: relative;
28
- display: flex;
29
- line-height: $menu-bar-line-height;
30
- background-color: $white;
31
- box-shadow: $menu-bar-box-shadow;
12
+ .nut-menu-relative {
13
+ position: relative;
14
+ }
32
15
 
33
- &.opened {
34
- z-index: $menu-bar-opened-z-index;
35
- }
16
+ .nut-menu__bar {
17
+ position: relative;
18
+ display: flex;
19
+ line-height: $menu-bar-line-height;
20
+ background-color: $white;
21
+ box-shadow: $menu-bar-box-shadow;
36
22
 
37
- .nut-menu__item {
38
- flex: 1;
39
- text-align: center;
40
- font-size: $menu-item-font-size;
41
- color: $menu-item-text-color;
42
- min-width: 0;
23
+ &.opened {
24
+ z-index: $menu-bar-opened-z-index;
25
+ }
26
+ }
43
27
 
44
- &.active {
45
- color: $menu-item-active-text-color;
46
- }
28
+ .nut-menu__item {
29
+ flex: 1;
30
+ text-align: center;
31
+ font-size: $menu-item-font-size;
32
+ color: $menu-item-text-color;
33
+ min-width: 0;
47
34
 
48
- &.disabled {
49
- color: $menu-item-disabled-color;
50
- }
35
+ &.active {
36
+ color: $menu-item-active-text-color;
37
+ }
51
38
 
52
- .nut-menu__title-icon {
53
- transition: all 0.2s linear;
54
- }
39
+ &.disabled {
40
+ color: $menu-item-disabled-color;
41
+ }
42
+ }
55
43
 
56
- .nut-menu__title {
57
- display: flex;
58
- align-items: center;
59
- justify-content: center;
60
- max-width: 100%;
44
+ .nut-menu__title-icon {
45
+ transition: all 0.2s linear;
46
+ }
61
47
 
62
- .nut-menu__title-text {
63
- @include text-ellipsis;
64
- display: block;
65
- padding-left: $menu-title-text-padding-left;
66
- padding-right: $menu-title-text-padding-right;
67
- }
48
+ .nut-menu__title {
49
+ display: flex;
50
+ align-items: center;
51
+ justify-content: center;
52
+ max-width: 100%;
68
53
 
69
- &.active .nut-menu__title-icon {
70
- transform: rotate(180deg);
71
- }
72
- }
73
- }
54
+ &.active .nut-menu__title-icon {
55
+ transform: rotate(180deg);
74
56
  }
75
57
  }
58
+
59
+ .nut-menu__title-text {
60
+ @include text-ellipsis;
61
+ display: block;
62
+ padding-left: $menu-title-text-padding-left;
63
+ padding-right: $menu-title-text-padding-right;
64
+ }
@@ -1,14 +1,4 @@
1
1
 
2
- .nut-theme-dark {
3
- .nut-menu-item__content {
4
- background: $dark6;
5
-
6
- .nut-menu-item__option {
7
- color: $dark1;
8
- }
9
- }
10
- }
11
-
12
2
  .nut-menu-item__content {
13
3
  padding: $menu-item-content-padding;
14
4
  max-height: $menu-item-content-max-height;
@@ -22,25 +12,25 @@
22
12
  opacity: 0;
23
13
  position: fixed;
24
14
  }
15
+ }
25
16
 
26
- .nut-menu-item__option {
27
- color: $title-color;
28
- font-size: $font-size-2;
29
- padding-top: $menu-item-option-padding-top;
30
- padding-bottom: $menu-item-option-padding-bottom;
31
- display: flex;
32
- align-items: center;
17
+ .nut-menu-item__option {
18
+ color: $title-color;
19
+ font-size: $font-size-2;
20
+ padding-top: $menu-item-option-padding-top;
21
+ padding-bottom: $menu-item-option-padding-bottom;
22
+ display: flex;
23
+ align-items: center;
33
24
 
34
- &.active {
35
- font-weight: 500;
36
- color: $menu-item-active-text-color;
37
- }
25
+ &.active {
26
+ font-weight: 500;
27
+ color: $menu-item-active-text-color;
28
+ }
38
29
 
39
- i {
40
- margin-right: $menu-item-option-i-margin-right;
41
- display: inline-flex;
42
- align-items: center;
43
- }
30
+ i {
31
+ margin-right: $menu-item-option-i-margin-right;
32
+ display: inline-flex;
33
+ align-items: center;
44
34
  }
45
35
  }
46
36
 
@@ -1,36 +1,3 @@
1
- .nut-theme-dark {
2
- .nut-navbar {
3
- background: $dark5;
4
- color: $dark1;
5
- box-shadow: none;
6
-
7
- .title {
8
- color: $dark1;
9
- }
10
-
11
- &__left {
12
- color: $dark2;
13
-
14
- i {
15
- color: $dark2 !important;
16
- }
17
- }
18
-
19
- &__right {
20
- color: $dark1;
21
- }
22
-
23
- &--border {
24
- border-bottom: none;
25
- }
26
- }
27
-
28
- .nut-tabs__titles-item__text {
29
- background: $dark5;
30
- color: $dark1;
31
- }
32
- }
33
-
34
1
  .nut-navbar {
35
2
  width: $navbar-width;
36
3
  position: relative;
@@ -41,19 +8,11 @@
41
8
  padding: $navbar-padding;
42
9
  background: $navbar-background;
43
10
  box-shadow: $navbar-box-shadow;
44
- font-size: $navbar-title-base-font;
11
+ font-size: $navbar-font-size;
45
12
  color: $navbar-color;
46
13
  margin-bottom: $navbar-margin-bottom;
47
14
  overflow: hidden;
48
15
 
49
- &:active::before {
50
- opacity: 0.1;
51
- }
52
-
53
- &--border {
54
- border-bottom: 1px solid #eee;
55
- }
56
-
57
16
  &--fixed {
58
17
  position: fixed;
59
18
  top: 0;
@@ -71,29 +30,6 @@
71
30
  padding-top: env(safe-area-inset-top);
72
31
  }
73
32
 
74
- &--clickable {
75
- &::before {
76
- position: absolute;
77
- content: ' ';
78
- top: 50%;
79
- left: 50%;
80
- width: 100%;
81
- height: 100%;
82
- background-color: $black;
83
- border: inherit;
84
- border-color: $black;
85
- border-radius: inherit;
86
- transform: translate(-50%, -50%);
87
- opacity: 0;
88
- }
89
- }
90
-
91
- .nutui-iconfont {
92
- .nut-icon-left {
93
- text-align: left;
94
- }
95
- }
96
-
97
33
  &__title {
98
34
  min-width: 53%;
99
35
  margin: 0 auto;
@@ -101,35 +37,9 @@
101
37
  display: flex;
102
38
  align-items: center;
103
39
  justify-content: center;
104
-
105
- .title {
106
- min-width: $navbar-title-width;
107
- font-size: $navbar-title-font;
108
- font-weight: $navbar-title-font-weight;
109
- color: $navbar-title-font-color;
110
- display: -webkit-box;
111
- -webkit-box-orient: vertical;
112
- -webkit-line-clamp: 1;
113
- overflow: hidden;
114
- }
115
-
116
- &.icon {
117
- .icon {
118
- margin: $navbar-title-icon-margin;
119
- }
120
- }
121
-
122
- .nut-icon {
123
- display: inline;
124
- }
125
-
126
- &-description {
127
- font-size: $cell-description-font-size;
128
- }
129
-
130
- .text__title {
131
- display: inline-block;
132
- }
40
+ font-size: $navbar-title-font-size;
41
+ font-weight: $navbar-title-font-weight;
42
+ color: $navbar-title-font-color;
133
43
 
134
44
  .nut-tabs__titles {
135
45
  background: $white;
@@ -148,11 +58,9 @@
148
58
  display: none;
149
59
  }
150
60
 
151
- &__left {
152
- font-size: $cell-extra-font-size;
153
- color: $gray2;
61
+ &__left,
62
+ &__right {
154
63
  position: absolute;
155
- left: 0;
156
64
  top: 0;
157
65
  bottom: 0;
158
66
  display: flex;
@@ -161,24 +69,17 @@
161
69
  padding: 0 16px;
162
70
  }
163
71
 
164
- &__right {
165
- font-size: $cell-extra-font-size;
166
- color: $gray2;
167
- position: absolute;
168
- right: 0;
169
- top: 0;
170
- bottom: 0;
171
- display: flex;
172
- align-items: center;
173
- padding: 0 16px;
174
- cursor: pointer;
175
-
176
- .rightIcon {
177
- margin-left: 16px;
72
+ &__left {
73
+ left: 0;
74
+ &__back {
75
+ display: flex;
76
+ align-items: center;
77
+ justify-content: center;
78
+ margin-right: 10px;
178
79
  }
80
+ }
179
81
 
180
- .leftIcon {
181
- margin-left: 16px;
182
- }
82
+ &__right {
83
+ right: 0;
183
84
  }
184
85
  }
@@ -1,23 +1,6 @@
1
- .nut-theme-dark {
2
- .nut-noticebar {
3
- .wrap {
4
- .content {
5
- a {
6
- color: $noticebar-color;
7
- }
8
- }
9
- }
10
- .nut-noticebar-vertical {
11
- .horseLamp_list {
12
- .custom-item {
13
- color: $noticebar-color;
14
- }
15
- }
16
- }
17
- }
18
- }
19
1
  .nut-noticebar {
20
2
  width: 100%;
3
+
21
4
  .nut-noticebar-page {
22
5
  display: flex;
23
6
  padding: $noticebar-box-padding;
@@ -27,11 +10,14 @@
27
10
  align-items: center;
28
11
  background: $noticebar-background;
29
12
  color: $noticebar-color;
13
+
30
14
  &.wrapable {
31
15
  height: auto;
32
- padding: $noticebar-wrapable-padding;
16
+ padding: $noticebar-wrap-padding;
17
+
33
18
  .wrap {
34
19
  height: auto;
20
+
35
21
  .content {
36
22
  position: relative;
37
23
  white-space: normal;
@@ -44,12 +30,14 @@
44
30
  position: relative;
45
31
  padding-right: 40px;
46
32
  }
33
+
47
34
  .left-icon {
48
35
  height: $noticebar-left-icon-width;
49
36
  min-width: $noticebar-left-icon-width;
50
37
  margin: $noticebar-lefticon-margin;
51
38
  background-size: 100% 100%;
52
39
  }
40
+
53
41
  .right-icon {
54
42
  display: flex;
55
43
  align-items: center;
@@ -57,6 +45,7 @@
57
45
  width: $noticebar-right-icon-width;
58
46
  margin: $noticebar-righticon-margin;
59
47
  }
48
+
60
49
  .wrap {
61
50
  display: flex;
62
51
  flex: 1;
@@ -65,9 +54,11 @@
65
54
  overflow: hidden;
66
55
  position: relative;
67
56
  }
57
+
68
58
  .content {
69
59
  position: absolute;
70
60
  white-space: nowrap;
61
+
71
62
  &.nut-ellipsis {
72
63
  max-width: 100%;
73
64
  white-space: nowrap;
@@ -75,13 +66,16 @@
75
66
  text-overflow: ellipsis;
76
67
  }
77
68
  }
69
+
78
70
  // 只跑一次
79
71
  .play {
80
72
  animation: nut-notice-bar-play linear both running;
81
73
  }
74
+
82
75
  .play-infinite {
83
76
  animation: nut-notice-bar-play-infinite linear infinite both running;
84
77
  }
78
+
85
79
  .play-vertical {
86
80
  animation: nut-notice-bar-play-vertical linear infinite both running;
87
81
  }
@@ -98,6 +92,7 @@
98
92
  transform: translate3d(-100%, 0, 0);
99
93
  }
100
94
  }
95
+
101
96
  // 垂直方向的滚动
102
97
  @keyframes nut-notice-bar-play-vertical {
103
98
  to {
@@ -116,6 +111,7 @@
116
111
  padding: $noticebar-box-padding;
117
112
  background: $noticebar-background;
118
113
  color: $noticebar-color;
114
+
119
115
  .left-icon {
120
116
  height: $noticebar-left-icon-width;
121
117
  min-width: $noticebar-left-icon-width;
@@ -124,11 +120,13 @@
124
120
  display: flex;
125
121
  align-self: center;
126
122
  }
123
+
127
124
  .horseLamp_list {
128
125
  margin: 0;
129
126
  padding: 0;
130
127
  display: block;
131
128
  flex: 1;
129
+
132
130
  .horseLamp_list_item {
133
131
  display: flex;
134
132
  align-items: center;
@@ -136,6 +134,7 @@
136
134
  width: 100%;
137
135
  }
138
136
  }
137
+
139
138
  .nut-noticebar__inner {
140
139
  display: flex;
141
140
  height: 100%;
@@ -50,7 +50,7 @@
50
50
  text-align: center;
51
51
  word-wrap: break-word;
52
52
  height: $notify-height;
53
-
53
+ line-height: $notify-line-height;
54
54
  &--popup-top {
55
55
  position: fixed;
56
56
  top: 0;