@nutui/nutui-react 2.6.18 → 2.6.20

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 (254) hide show
  1. package/CHANGELOG.md +32 -12
  2. package/dist/esm/ActionSheet.js +2 -1
  3. package/dist/esm/AnimatingNumbers.js +2 -2
  4. package/dist/esm/AvatarCropper.js +26 -26
  5. package/dist/esm/CalendarItem.js +5 -9
  6. package/dist/esm/CountDown.js +0 -2
  7. package/dist/esm/DatePicker.js +1 -1
  8. package/dist/esm/Dialog.js +4 -4
  9. package/dist/esm/Empty.js +0 -2
  10. package/dist/esm/InputNumber.js +1 -5
  11. package/dist/esm/Layout.js +1 -3
  12. package/dist/esm/Pagination.js +4 -8
  13. package/dist/esm/Uploader.js +2 -2
  14. package/dist/esm/cascader2.js +6 -1
  15. package/dist/esm/configprovider.taro.js +23 -0
  16. package/dist/esm/configprovider2.js +1 -134
  17. package/dist/esm/griditem2.js +0 -2
  18. package/dist/esm/menuitem2.js +2 -1
  19. package/dist/esm/merge-props.js +16 -0
  20. package/dist/esm/overlay2.js +3 -7
  21. package/dist/esm/popup2.js +4 -4
  22. package/dist/esm/zh-CN.js +141 -0
  23. package/dist/locales/base.d.ts +7 -0
  24. package/dist/locales/base.js +1 -1
  25. package/dist/locales/en-US.js +5 -1
  26. package/dist/locales/id-ID.js +5 -1
  27. package/dist/locales/tr-TR.js +5 -1
  28. package/dist/locales/zh-CN.js +5 -1
  29. package/dist/locales/zh-TW.js +5 -1
  30. package/dist/locales/zh-UG.js +5 -1
  31. package/dist/nutui.react.es.js +123 -91
  32. package/dist/nutui.react.umd.js +123 -91
  33. package/dist/packages/elevator/elevator.scss +1 -2
  34. package/dist/packages/popover/popover.scss +3 -3
  35. package/dist/packages/tabs/tabs.scss +3 -3
  36. package/dist/packages/uploader/uploader.scss +1 -2
  37. package/dist/types/index.d.ts +98 -98
  38. package/dist/types/locales/base.d.ts +7 -0
  39. package/dist/types/packages/actionsheet/actionsheet.d.ts +2 -2
  40. package/dist/types/packages/actionsheet/actionsheet.taro.d.ts +2 -2
  41. package/dist/types/packages/address/address.d.ts +2 -2
  42. package/dist/types/packages/address/address.taro.d.ts +2 -2
  43. package/dist/types/packages/address/customRender.d.ts +2 -2
  44. package/dist/types/packages/address/customRender.taro.d.ts +2 -2
  45. package/dist/types/packages/address/existRender.d.ts +1 -1
  46. package/dist/types/packages/address/existRender.taro.d.ts +1 -1
  47. package/dist/types/packages/animate/animate.d.ts +1 -1
  48. package/dist/types/packages/animate/animate.taro.d.ts +1 -1
  49. package/dist/types/packages/animatingnumbers/animatingnumbers.d.ts +2 -2
  50. package/dist/types/packages/animatingnumbers/animatingnumbers.taro.d.ts +2 -2
  51. package/dist/types/packages/audio/audio.d.ts +1 -2
  52. package/dist/types/packages/audio/audio.taro.d.ts +1 -1
  53. package/dist/types/packages/avatar/avatar.d.ts +2 -3
  54. package/dist/types/packages/avatar/avatar.taro.d.ts +2 -3
  55. package/dist/types/packages/avatarcropper/avatarcropper.d.ts +1 -1
  56. package/dist/types/packages/avatarcropper/avatarcropper.taro.d.ts +1 -1
  57. package/dist/types/packages/avatargroup/avatargroup.d.ts +1 -1
  58. package/dist/types/packages/avatargroup/avatargroup.taro.d.ts +1 -1
  59. package/dist/types/packages/avatargroup/context.d.ts +1 -1
  60. package/dist/types/packages/backtop/backtop.d.ts +1 -2
  61. package/dist/types/packages/backtop/backtop.taro.d.ts +1 -2
  62. package/dist/types/packages/barrage/barrage.d.ts +1 -1
  63. package/dist/types/packages/barrage/barrage.taro.d.ts +1 -1
  64. package/dist/types/packages/button/button.d.ts +1 -2
  65. package/dist/types/packages/button/button.taro.d.ts +1 -2
  66. package/dist/types/packages/calendar/calendar.d.ts +2 -2
  67. package/dist/types/packages/calendar/calendar.taro.d.ts +2 -2
  68. package/dist/types/packages/calendarcard/calendarcard.d.ts +2 -2
  69. package/dist/types/packages/calendarcard/calendarcard.taro.d.ts +2 -2
  70. package/dist/types/packages/calendaritem/calendaritem.d.ts +2 -2
  71. package/dist/types/packages/calendaritem/calendaritem.taro.d.ts +2 -2
  72. package/dist/types/packages/card/card.d.ts +1 -1
  73. package/dist/types/packages/card/card.taro.d.ts +1 -1
  74. package/dist/types/packages/cascader/cascader.d.ts +2 -2
  75. package/dist/types/packages/cascader/cascader.taro.d.ts +2 -2
  76. package/dist/types/packages/cell/cell.d.ts +2 -2
  77. package/dist/types/packages/cell/cell.taro.d.ts +2 -2
  78. package/dist/types/packages/cellgroup/context.d.ts +1 -1
  79. package/dist/types/packages/checkbox/checkbox.d.ts +3 -3
  80. package/dist/types/packages/checkbox/checkbox.taro.d.ts +3 -3
  81. package/dist/types/packages/checkboxgroup/checkboxgroup.d.ts +3 -3
  82. package/dist/types/packages/checkboxgroup/checkboxgroup.taro.d.ts +3 -3
  83. package/dist/types/packages/checkboxgroup/context.d.ts +1 -1
  84. package/dist/types/packages/circleprogress/circleprogress.d.ts +1 -1
  85. package/dist/types/packages/circleprogress/circleprogress.taro.d.ts +1 -1
  86. package/dist/types/packages/col/col.d.ts +1 -2
  87. package/dist/types/packages/col/col.taro.d.ts +1 -2
  88. package/dist/types/packages/collapse/collapse.d.ts +1 -1
  89. package/dist/types/packages/collapse/collapse.taro.d.ts +1 -1
  90. package/dist/types/packages/collapse/context.d.ts +1 -1
  91. package/dist/types/packages/collapseitem/collapseitem.d.ts +1 -1
  92. package/dist/types/packages/collapseitem/collapseitem.taro.d.ts +1 -1
  93. package/dist/types/packages/configprovider/configprovider.d.ts +1 -1
  94. package/dist/types/packages/configprovider/configprovider.taro.d.ts +1 -1
  95. package/dist/types/packages/countdown/countdown.d.ts +1 -1
  96. package/dist/types/packages/countdown/countdown.taro.d.ts +1 -1
  97. package/dist/types/packages/datepicker/datepicker.d.ts +2 -2
  98. package/dist/types/packages/datepicker/datepicker.taro.d.ts +2 -2
  99. package/dist/types/packages/dialog/config.d.ts +1 -2
  100. package/dist/types/packages/dialog/dialogwrap.d.ts +2 -2
  101. package/dist/types/packages/divider/divider.d.ts +1 -1
  102. package/dist/types/packages/divider/divider.taro.d.ts +1 -1
  103. package/dist/types/packages/drag/drag.d.ts +1 -1
  104. package/dist/types/packages/drag/drag.taro.d.ts +1 -1
  105. package/dist/types/packages/elevator/elevator.d.ts +1 -1
  106. package/dist/types/packages/elevator/elevator.taro.d.ts +1 -1
  107. package/dist/types/packages/ellipsis/ellipsis.d.ts +1 -1
  108. package/dist/types/packages/ellipsis/ellipsis.taro.d.ts +1 -1
  109. package/dist/types/packages/empty/empty.d.ts +2 -2
  110. package/dist/types/packages/empty/empty.taro.d.ts +2 -2
  111. package/dist/types/packages/fixednav/fixednav.d.ts +2 -2
  112. package/dist/types/packages/fixednav/fixednav.taro.d.ts +2 -2
  113. package/dist/types/packages/form/context.d.ts +1 -1
  114. package/dist/types/packages/form/form.d.ts +2 -2
  115. package/dist/types/packages/form/form.taro.d.ts +2 -2
  116. package/dist/types/packages/form/index.d.ts +2 -2
  117. package/dist/types/packages/form/index.taro.d.ts +2 -2
  118. package/dist/types/packages/formitem/formitem.d.ts +1 -1
  119. package/dist/types/packages/formitem/formitem.taro.d.ts +1 -1
  120. package/dist/types/packages/grid/grid.context.d.ts +1 -1
  121. package/dist/types/packages/grid/grid.d.ts +1 -1
  122. package/dist/types/packages/grid/grid.taro.context.d.ts +1 -1
  123. package/dist/types/packages/grid/grid.taro.d.ts +1 -1
  124. package/dist/types/packages/griditem/griditem.d.ts +1 -1
  125. package/dist/types/packages/griditem/griditem.taro.d.ts +1 -1
  126. package/dist/types/packages/image/image.d.ts +1 -1
  127. package/dist/types/packages/indicator/indicator.d.ts +1 -1
  128. package/dist/types/packages/indicator/indicator.taro.d.ts +1 -1
  129. package/dist/types/packages/infiniteloading/infiniteloading.d.ts +1 -1
  130. package/dist/types/packages/infiniteloading/infiniteloading.taro.d.ts +1 -1
  131. package/dist/types/packages/input/input.d.ts +1 -1
  132. package/dist/types/packages/input/input.taro.d.ts +1 -1
  133. package/dist/types/packages/inputnumber/inputnumber.d.ts +1 -1
  134. package/dist/types/packages/inputnumber/inputnumber.taro.d.ts +1 -1
  135. package/dist/types/packages/layout/layout.d.ts +1 -1
  136. package/dist/types/packages/layout/layout.taro.d.ts +1 -1
  137. package/dist/types/packages/loading/loading.d.ts +1 -1
  138. package/dist/types/packages/loading/loading.taro.d.ts +1 -1
  139. package/dist/types/packages/menu/menu.d.ts +2 -2
  140. package/dist/types/packages/menu/menu.taro.d.ts +2 -2
  141. package/dist/types/packages/menuitem/menuitem.d.ts +1 -1
  142. package/dist/types/packages/menuitem/menuitem.taro.d.ts +1 -1
  143. package/dist/types/packages/navbar/navbar.d.ts +1 -1
  144. package/dist/types/packages/navbar/navbar.taro.d.ts +1 -1
  145. package/dist/types/packages/noticebar/noticebar.d.ts +1 -1
  146. package/dist/types/packages/noticebar/noticebar.taro.d.ts +1 -1
  147. package/dist/types/packages/notify/Notification.d.ts +1 -1
  148. package/dist/types/packages/notify/index.d.ts +1 -1
  149. package/dist/types/packages/notify/notify.d.ts +1 -1
  150. package/dist/types/packages/numberkeyboard/numberkeyboard.d.ts +2 -2
  151. package/dist/types/packages/numberkeyboard/numberkeyboard.taro.d.ts +2 -2
  152. package/dist/types/packages/nutui.react.build.d.ts +197 -0
  153. package/dist/types/packages/nutui.react.d.ts +196 -196
  154. package/dist/types/packages/nutui.react.taro.d.ts +196 -196
  155. package/dist/types/packages/nutui.taro.react.build.d.ts +196 -196
  156. package/dist/types/packages/overlay/overlay.d.ts +1 -1
  157. package/dist/types/packages/overlay/overlay.taro.d.ts +1 -1
  158. package/dist/types/packages/pagination/pagination.d.ts +1 -1
  159. package/dist/types/packages/pagination/pagination.taro.d.ts +1 -1
  160. package/dist/types/packages/picker/index.d.ts +1 -1
  161. package/dist/types/packages/picker/index.taro.d.ts +1 -1
  162. package/dist/types/packages/picker/picker.d.ts +2 -2
  163. package/dist/types/packages/picker/picker.taro.d.ts +2 -2
  164. package/dist/types/packages/picker/pickerpanel.d.ts +1 -1
  165. package/dist/types/packages/picker/pickerpanel.taro.d.ts +1 -1
  166. package/dist/types/packages/popover/popover.d.ts +2 -2
  167. package/dist/types/packages/popover/popover.taro.d.ts +2 -2
  168. package/dist/types/packages/popup/popup.d.ts +2 -2
  169. package/dist/types/packages/popup/popup.taro.d.ts +2 -2
  170. package/dist/types/packages/progress/progress.d.ts +1 -1
  171. package/dist/types/packages/progress/progress.taro.d.ts +1 -1
  172. package/dist/types/packages/radio/radio.d.ts +3 -3
  173. package/dist/types/packages/radio/radio.taro.d.ts +3 -3
  174. package/dist/types/packages/radiogroup/context.d.ts +1 -1
  175. package/dist/types/packages/radiogroup/radiogroup.d.ts +1 -1
  176. package/dist/types/packages/radiogroup/radiogroup.taro.d.ts +1 -1
  177. package/dist/types/packages/range/range.d.ts +1 -1
  178. package/dist/types/packages/range/range.taro.d.ts +1 -1
  179. package/dist/types/packages/rate/rate.d.ts +1 -1
  180. package/dist/types/packages/rate/rate.taro.d.ts +1 -1
  181. package/dist/types/packages/row/UserContext.d.ts +1 -1
  182. package/dist/types/packages/row/row.d.ts +1 -2
  183. package/dist/types/packages/row/row.taro.d.ts +1 -2
  184. package/dist/types/packages/searchbar/searchbar.d.ts +15 -16
  185. package/dist/types/packages/searchbar/searchbar.taro.d.ts +1 -16
  186. package/dist/types/packages/shortpassword/shortpassword.d.ts +2 -2
  187. package/dist/types/packages/shortpassword/shortpassword.taro.d.ts +2 -2
  188. package/dist/types/packages/sidenavbar/context.d.ts +1 -1
  189. package/dist/types/packages/sidenavbar/sidenavbar.d.ts +1 -1
  190. package/dist/types/packages/sidenavbar/sidenavbar.taro.d.ts +1 -1
  191. package/dist/types/packages/sidenavbaritem/sidenavbaritem.d.ts +1 -1
  192. package/dist/types/packages/sidenavbaritem/sidenavbaritem.taro.d.ts +1 -1
  193. package/dist/types/packages/signature/signature.d.ts +1 -1
  194. package/dist/types/packages/signature/signature.taro.d.ts +1 -1
  195. package/dist/types/packages/space/space.d.ts +1 -1
  196. package/dist/types/packages/space/space.taro.d.ts +1 -1
  197. package/dist/types/packages/step/step.d.ts +1 -1
  198. package/dist/types/packages/step/step.taro.d.ts +1 -1
  199. package/dist/types/packages/steps/context.d.ts +1 -1
  200. package/dist/types/packages/steps/steps.d.ts +1 -1
  201. package/dist/types/packages/steps/steps.taro.d.ts +1 -1
  202. package/dist/types/packages/sticky/sticky.d.ts +1 -1
  203. package/dist/types/packages/sticky/sticky.taro.d.ts +1 -1
  204. package/dist/types/packages/subsidenavbar/subsidenavbar.d.ts +1 -1
  205. package/dist/types/packages/subsidenavbar/subsidenavbar.taro.d.ts +1 -1
  206. package/dist/types/packages/swipe/swipe.d.ts +1 -2
  207. package/dist/types/packages/swipe/swipe.taro.d.ts +1 -2
  208. package/dist/types/packages/swiper/context.d.ts +1 -1
  209. package/dist/types/packages/swiper/effects/default.d.ts +1 -1
  210. package/dist/types/packages/swiper/effects/focus.d.ts +1 -1
  211. package/dist/types/packages/swiper/index.d.ts +3 -3
  212. package/dist/types/packages/swiper/index.taro.d.ts +2 -2
  213. package/dist/types/packages/swiper/swiper.d.ts +2 -2
  214. package/dist/types/packages/swiper/swiper.taro.d.ts +1 -1
  215. package/dist/types/packages/swiperitem/swiperitem.d.ts +1 -1
  216. package/dist/types/packages/switch/switch.d.ts +1 -1
  217. package/dist/types/packages/switch/switch.taro.d.ts +1 -1
  218. package/dist/types/packages/tabbar/context.d.ts +1 -1
  219. package/dist/types/packages/tabbar/tabbar.d.ts +1 -1
  220. package/dist/types/packages/tabbar/tabbar.taro.d.ts +1 -1
  221. package/dist/types/packages/table/table.d.ts +1 -1
  222. package/dist/types/packages/table/table.taro.d.ts +1 -1
  223. package/dist/types/packages/table/types.d.ts +1 -1
  224. package/dist/types/packages/tabpane/tabpane.d.ts +1 -1
  225. package/dist/types/packages/tabpane/tabpane.taro.d.ts +1 -1
  226. package/dist/types/packages/tabs/tabs.d.ts +2 -2
  227. package/dist/types/packages/tabs/tabs.taro.d.ts +2 -2
  228. package/dist/types/packages/tag/tag.d.ts +1 -2
  229. package/dist/types/packages/tag/tag.taro.d.ts +1 -2
  230. package/dist/types/packages/textarea/textarea.d.ts +1 -2
  231. package/dist/types/packages/timedetail/timedetail.d.ts +2 -2
  232. package/dist/types/packages/timedetail/timedetail.taro.d.ts +2 -2
  233. package/dist/types/packages/toast/Notification.d.ts +1 -1
  234. package/dist/types/packages/toast/index.d.ts +1 -1
  235. package/dist/types/packages/toast/toast.d.ts +1 -1
  236. package/dist/types/packages/toast/toast.taro.d.ts +1 -1
  237. package/dist/types/packages/tour/tour.d.ts +2 -3
  238. package/dist/types/packages/tour/tour.taro.d.ts +2 -3
  239. package/dist/types/packages/trendarrow/trendarrow.d.ts +1 -1
  240. package/dist/types/packages/trendarrow/trendarrow.taro.d.ts +1 -1
  241. package/dist/types/packages/uploader/preview.d.ts +1 -1
  242. package/dist/types/packages/uploader/preview.taro.d.ts +1 -1
  243. package/dist/types/packages/uploader/uploader.d.ts +1 -1
  244. package/dist/types/packages/uploader/uploader.taro.d.ts +2 -5
  245. package/dist/types/packages/video/video.d.ts +1 -1
  246. package/dist/types/packages/virtuallist/virtuallist.d.ts +1 -1
  247. package/dist/types/packages/watermark/watermark.d.ts +1 -1
  248. package/dist/types/packages/watermark/watermark.taro.d.ts +1 -1
  249. package/dist/types/utils/merge-props.d.ts +9 -5
  250. package/dist/types/utils/render.d.ts +1 -1
  251. package/dist/types/utils/typings.d.ts +1 -1
  252. package/dist/types/utils/use-lock-scoll-taro.d.ts +1 -1
  253. package/dist/types/utils/use-touch.d.ts +1 -1
  254. package/package.json +2 -2
@@ -99,13 +99,12 @@
99
99
  &-item {
100
100
  display: block;
101
101
  padding: $elevator-bars-inner-item-padding;
102
+ cursor: pointer;
102
103
 
103
104
  &-active {
104
105
  font-weight: $font-weight-bold;
105
106
  color: $elevator-bars-active-color;
106
107
  }
107
-
108
- cursor: pointer;
109
108
  }
110
109
  }
111
110
  }
@@ -162,11 +162,11 @@
162
162
  }
163
163
 
164
164
  &-top-end {
165
+ right: 0;
165
166
  .nut-popover-arrow-top-end {
166
167
  right: 16px;
167
168
  transform: translateX(0%);
168
169
  }
169
- right: 0;
170
170
  }
171
171
 
172
172
  &-top-start {
@@ -186,12 +186,12 @@
186
186
  }
187
187
 
188
188
  &-bottom-end {
189
+ right: 0;
190
+
189
191
  .nut-popover-arrow-bottom-end {
190
192
  right: 16px;
191
193
  transform: translateX(0%);
192
194
  }
193
-
194
- right: 0;
195
195
  }
196
196
 
197
197
  &-bottom-start {
@@ -423,10 +423,10 @@
423
423
  }
424
424
 
425
425
  .nut-tabs-content {
426
+ display: flex;
427
+ box-sizing: border-box;
428
+
426
429
  &-wrap {
427
430
  overflow: hidden;
428
431
  }
429
-
430
- display: flex;
431
- box-sizing: border-box;
432
432
  }
@@ -195,6 +195,7 @@
195
195
  width: 90%;
196
196
  font-size: 12px;
197
197
  color: $color-text;
198
+ @include moreline-ellipsis();
198
199
 
199
200
  &.error {
200
201
  color: red !important;
@@ -207,8 +208,6 @@
207
208
  .nut-icon-Link {
208
209
  flex-shrink: 0;
209
210
  }
210
-
211
- @include moreline-ellipsis();
212
211
  }
213
212
  }
214
213
  }
@@ -1,197 +1,197 @@
1
- import Button from './packages/button';
1
+ import { default as Button } from './packages/button';
2
+ import { default as Cell } from './packages/cell';
3
+ import { default as CellGroup } from './packages/cellgroup';
4
+ import { default as ConfigProvider } from './packages/configprovider';
5
+ import { default as Image } from './packages/image';
6
+ import { default as Overlay } from './packages/overlay';
7
+ import { default as Col } from './packages/col';
8
+ import { default as Divider } from './packages/divider';
9
+ import { default as Grid } from './packages/grid';
10
+ import { default as GridItem } from './packages/griditem';
11
+ import { default as Layout } from './packages/layout';
12
+ import { default as Row } from './packages/row';
13
+ import { default as Space } from './packages/space';
14
+ import { default as Sticky } from './packages/sticky';
15
+ import { default as SafeArea } from './packages/safearea';
16
+ import { default as BackTop } from './packages/backtop';
17
+ import { default as Elevator } from './packages/elevator';
18
+ import { default as FixedNav } from './packages/fixednav';
19
+ import { default as NavBar } from './packages/navbar';
20
+ import { default as SideNavBar } from './packages/sidenavbar';
21
+ import { default as SideNavBarItem } from './packages/sidenavbaritem';
22
+ import { default as SubSideNavBar } from './packages/subsidenavbar';
23
+ import { default as Tabbar } from './packages/tabbar';
24
+ import { default as TabbarItem } from './packages/tabbaritem';
25
+ import { default as TabPane } from './packages/tabpane';
26
+ import { default as Tabs } from './packages/tabs';
27
+ import { default as Address } from './packages/address';
28
+ import { default as Calendar } from './packages/calendar';
29
+ import { default as CalendarItem } from './packages/calendaritem';
30
+ import { default as CalendarCard } from './packages/calendarcard';
31
+ import { default as Cascader } from './packages/cascader';
32
+ import { default as Checkbox } from './packages/checkbox';
33
+ import { default as CheckboxGroup } from './packages/checkboxgroup';
34
+ import { default as DatePicker } from './packages/datepicker';
35
+ import { default as Form } from './packages/form';
36
+ import { default as FormItem } from './packages/formitem';
37
+ import { default as Input } from './packages/input';
38
+ import { default as InputNumber } from './packages/inputnumber';
39
+ import { default as Menu } from './packages/menu';
40
+ import { default as MenuItem } from './packages/menuitem';
41
+ import { default as NumberKeyboard } from './packages/numberkeyboard';
42
+ import { default as Picker } from './packages/picker';
43
+ import { default as Radio } from './packages/radio';
44
+ import { default as RadioGroup } from './packages/radiogroup';
45
+ import { default as Range } from './packages/range';
46
+ import { default as Rate } from './packages/rate';
47
+ import { default as SearchBar } from './packages/searchbar';
48
+ import { default as ShortPassword } from './packages/shortpassword';
49
+ import { default as Signature } from './packages/signature';
50
+ import { default as Switch } from './packages/switch';
51
+ import { default as TextArea } from './packages/textarea';
52
+ import { default as Uploader } from './packages/uploader';
53
+ import { default as ActionSheet } from './packages/actionsheet';
54
+ import { default as Badge } from './packages/badge';
55
+ import { default as Dialog } from './packages/dialog';
56
+ import { default as Drag } from './packages/drag';
57
+ import { default as Empty } from './packages/empty';
58
+ import { default as InfiniteLoading } from './packages/infiniteloading';
59
+ import { default as Loading } from './packages/loading';
60
+ import { default as NoticeBar } from './packages/noticebar';
61
+ import { default as Notify } from './packages/notify';
62
+ import { default as Popover } from './packages/popover';
63
+ import { default as Popup } from './packages/popup';
64
+ import { default as PullToRefresh } from './packages/pulltorefresh';
65
+ import { default as Skeleton } from './packages/skeleton';
66
+ import { default as Swipe } from './packages/swipe';
67
+ import { default as Toast } from './packages/toast';
68
+ import { default as Animate } from './packages/animate';
69
+ import { default as AnimatingNumbers } from './packages/animatingnumbers';
70
+ import { default as Audio } from './packages/audio';
71
+ import { default as Avatar } from './packages/avatar';
72
+ import { default as AvatarGroup } from './packages/avatargroup';
73
+ import { default as CircleProgress } from './packages/circleprogress';
74
+ import { default as Collapse } from './packages/collapse';
75
+ import { default as CollapseItem } from './packages/collapseitem';
76
+ import { default as CountDown } from './packages/countdown';
77
+ import { default as Ellipsis } from './packages/ellipsis';
78
+ import { default as ImagePreview } from './packages/imagepreview';
79
+ import { default as Indicator } from './packages/indicator';
80
+ import { default as Pagination } from './packages/pagination';
81
+ import { default as Price } from './packages/price';
82
+ import { default as Progress } from './packages/progress';
83
+ import { default as Step } from './packages/step';
84
+ import { default as Steps } from './packages/steps';
85
+ import { default as Swiper } from './packages/swiper';
86
+ import { default as SwiperItem } from './packages/swiperitem';
87
+ import { default as Table } from './packages/table';
88
+ import { default as Tag } from './packages/tag';
89
+ import { default as Tour } from './packages/tour';
90
+ import { default as Video } from './packages/video';
91
+ import { default as VirtualList } from './packages/virtuallist';
92
+ import { default as Barrage } from './packages/barrage';
93
+ import { default as Card } from './packages/card';
94
+ import { default as TimeDetail } from './packages/timedetail';
95
+ import { default as TimeSelect } from './packages/timeselect';
96
+ import { default as TrendArrow } from './packages/trendarrow';
97
+ import { default as WaterMark } from './packages/watermark';
98
+ import { default as AvatarCropper } from './packages/avatarcropper';
2
99
  export * from './packages/button';
3
- import Cell from './packages/cell';
4
100
  export * from './packages/cell';
5
- import CellGroup from './packages/cellgroup';
6
101
  export * from './packages/cellgroup';
7
- import ConfigProvider from './packages/configprovider';
8
102
  export * from './packages/configprovider';
9
- import Image from './packages/image';
10
103
  export * from './packages/image';
11
- import Overlay from './packages/overlay';
12
104
  export * from './packages/overlay';
13
- import Col from './packages/col';
14
105
  export * from './packages/col';
15
- import Divider from './packages/divider';
16
106
  export * from './packages/divider';
17
- import Grid from './packages/grid';
18
107
  export * from './packages/grid';
19
- import GridItem from './packages/griditem';
20
108
  export * from './packages/griditem';
21
- import Layout from './packages/layout';
22
109
  export * from './packages/layout';
23
- import Row from './packages/row';
24
110
  export * from './packages/row';
25
- import Space from './packages/space';
26
111
  export * from './packages/space';
27
- import Sticky from './packages/sticky';
28
112
  export * from './packages/sticky';
29
- import SafeArea from './packages/safearea';
30
113
  export * from './packages/safearea';
31
- import BackTop from './packages/backtop';
32
114
  export * from './packages/backtop';
33
- import Elevator from './packages/elevator';
34
115
  export * from './packages/elevator';
35
- import FixedNav from './packages/fixednav';
36
116
  export * from './packages/fixednav';
37
- import NavBar from './packages/navbar';
38
117
  export * from './packages/navbar';
39
- import SideNavBar from './packages/sidenavbar';
40
118
  export * from './packages/sidenavbar';
41
- import SideNavBarItem from './packages/sidenavbaritem';
42
119
  export * from './packages/sidenavbaritem';
43
- import SubSideNavBar from './packages/subsidenavbar';
44
120
  export * from './packages/subsidenavbar';
45
- import Tabbar from './packages/tabbar';
46
121
  export * from './packages/tabbar';
47
- import TabbarItem from './packages/tabbaritem';
48
122
  export * from './packages/tabbaritem';
49
- import TabPane from './packages/tabpane';
50
123
  export * from './packages/tabpane';
51
- import Tabs from './packages/tabs';
52
124
  export * from './packages/tabs';
53
- import Address from './packages/address';
54
125
  export * from './packages/address';
55
- import Calendar from './packages/calendar';
56
126
  export * from './packages/calendar';
57
- import CalendarItem from './packages/calendaritem';
58
127
  export * from './packages/calendaritem';
59
- import CalendarCard from './packages/calendarcard';
60
128
  export * from './packages/calendarcard';
61
- import Cascader from './packages/cascader';
62
129
  export * from './packages/cascader';
63
- import Checkbox from './packages/checkbox';
64
130
  export * from './packages/checkbox';
65
- import CheckboxGroup from './packages/checkboxgroup';
66
131
  export * from './packages/checkboxgroup';
67
- import DatePicker from './packages/datepicker';
68
132
  export * from './packages/datepicker';
69
- import Form from './packages/form';
70
133
  export * from './packages/form';
71
- import FormItem from './packages/formitem';
72
134
  export * from './packages/formitem';
73
- import Input from './packages/input';
74
135
  export * from './packages/input';
75
- import InputNumber from './packages/inputnumber';
76
136
  export * from './packages/inputnumber';
77
- import Menu from './packages/menu';
78
137
  export * from './packages/menu';
79
- import MenuItem from './packages/menuitem';
80
138
  export * from './packages/menuitem';
81
- import NumberKeyboard from './packages/numberkeyboard';
82
139
  export * from './packages/numberkeyboard';
83
- import Picker from './packages/picker';
84
140
  export * from './packages/picker';
85
- import Radio from './packages/radio';
86
141
  export * from './packages/radio';
87
- import RadioGroup from './packages/radiogroup';
88
142
  export * from './packages/radiogroup';
89
- import Range from './packages/range';
90
143
  export * from './packages/range';
91
- import Rate from './packages/rate';
92
144
  export * from './packages/rate';
93
- import SearchBar from './packages/searchbar';
94
145
  export * from './packages/searchbar';
95
- import ShortPassword from './packages/shortpassword';
96
146
  export * from './packages/shortpassword';
97
- import Signature from './packages/signature';
98
147
  export * from './packages/signature';
99
- import Switch from './packages/switch';
100
148
  export * from './packages/switch';
101
- import TextArea from './packages/textarea';
102
149
  export * from './packages/textarea';
103
- import Uploader from './packages/uploader';
104
150
  export * from './packages/uploader';
105
- import ActionSheet from './packages/actionsheet';
106
151
  export * from './packages/actionsheet';
107
- import Badge from './packages/badge';
108
152
  export * from './packages/badge';
109
- import Dialog from './packages/dialog';
110
153
  export * from './packages/dialog';
111
- import Drag from './packages/drag';
112
154
  export * from './packages/drag';
113
- import Empty from './packages/empty';
114
155
  export * from './packages/empty';
115
- import InfiniteLoading from './packages/infiniteloading';
116
156
  export * from './packages/infiniteloading';
117
- import Loading from './packages/loading';
118
157
  export * from './packages/loading';
119
- import NoticeBar from './packages/noticebar';
120
158
  export * from './packages/noticebar';
121
- import Notify from './packages/notify';
122
159
  export * from './packages/notify';
123
- import Popover from './packages/popover';
124
160
  export * from './packages/popover';
125
- import Popup from './packages/popup';
126
161
  export * from './packages/popup';
127
- import PullToRefresh from './packages/pulltorefresh';
128
162
  export * from './packages/pulltorefresh';
129
- import Skeleton from './packages/skeleton';
130
163
  export * from './packages/skeleton';
131
- import Swipe from './packages/swipe';
132
164
  export * from './packages/swipe';
133
- import Toast from './packages/toast';
134
165
  export * from './packages/toast';
135
- import Animate from './packages/animate';
136
166
  export * from './packages/animate';
137
- import AnimatingNumbers from './packages/animatingnumbers';
138
167
  export * from './packages/animatingnumbers';
139
- import Audio from './packages/audio';
140
168
  export * from './packages/audio';
141
- import Avatar from './packages/avatar';
142
169
  export * from './packages/avatar';
143
- import AvatarGroup from './packages/avatargroup';
144
170
  export * from './packages/avatargroup';
145
- import CircleProgress from './packages/circleprogress';
146
171
  export * from './packages/circleprogress';
147
- import Collapse from './packages/collapse';
148
172
  export * from './packages/collapse';
149
- import CollapseItem from './packages/collapseitem';
150
173
  export * from './packages/collapseitem';
151
- import CountDown from './packages/countdown';
152
174
  export * from './packages/countdown';
153
- import Ellipsis from './packages/ellipsis';
154
175
  export * from './packages/ellipsis';
155
- import ImagePreview from './packages/imagepreview';
156
176
  export * from './packages/imagepreview';
157
- import Indicator from './packages/indicator';
158
177
  export * from './packages/indicator';
159
- import Pagination from './packages/pagination';
160
178
  export * from './packages/pagination';
161
- import Price from './packages/price';
162
179
  export * from './packages/price';
163
- import Progress from './packages/progress';
164
180
  export * from './packages/progress';
165
- import Step from './packages/step';
166
181
  export * from './packages/step';
167
- import Steps from './packages/steps';
168
182
  export * from './packages/steps';
169
- import Swiper from './packages/swiper';
170
183
  export * from './packages/swiper';
171
- import SwiperItem from './packages/swiperitem';
172
184
  export * from './packages/swiperitem';
173
- import Table from './packages/table';
174
185
  export * from './packages/table';
175
- import Tag from './packages/tag';
176
186
  export * from './packages/tag';
177
- import Tour from './packages/tour';
178
187
  export * from './packages/tour';
179
- import Video from './packages/video';
180
188
  export * from './packages/video';
181
- import VirtualList from './packages/virtuallist';
182
189
  export * from './packages/virtuallist';
183
- import Barrage from './packages/barrage';
184
190
  export * from './packages/barrage';
185
- import Card from './packages/card';
186
191
  export * from './packages/card';
187
- import TimeDetail from './packages/timedetail';
188
192
  export * from './packages/timedetail';
189
- import TimeSelect from './packages/timeselect';
190
193
  export * from './packages/timeselect';
191
- import TrendArrow from './packages/trendarrow';
192
194
  export * from './packages/trendarrow';
193
- import WaterMark from './packages/watermark';
194
195
  export * from './packages/watermark';
195
- import AvatarCropper from './packages/avatarcropper';
196
196
  export * from './packages/avatarcropper';
197
197
  export { Button, Cell, CellGroup, ConfigProvider, Image, Overlay, Col, Divider, Grid, GridItem, Layout, Row, Space, Sticky, SafeArea, BackTop, Elevator, FixedNav, NavBar, SideNavBar, SideNavBarItem, SubSideNavBar, Tabbar, TabbarItem, TabPane, Tabs, Address, Calendar, CalendarItem, CalendarCard, Cascader, Checkbox, CheckboxGroup, DatePicker, Form, FormItem, Input, InputNumber, Menu, MenuItem, NumberKeyboard, Picker, Radio, RadioGroup, Range, Rate, SearchBar, ShortPassword, Signature, Switch, TextArea, Uploader, ActionSheet, Badge, Dialog, Drag, Empty, InfiniteLoading, Loading, NoticeBar, Notify, Popover, Popup, PullToRefresh, Skeleton, Swipe, Toast, Animate, AnimatingNumbers, Audio, Avatar, AvatarGroup, CircleProgress, Collapse, CollapseItem, CountDown, Ellipsis, ImagePreview, Indicator, Pagination, Price, Progress, Step, Steps, Swiper, SwiperItem, Table, Tag, Tour, Video, VirtualList, Barrage, Card, TimeDetail, TimeSelect, TrendArrow, WaterMark, AvatarCropper };
@@ -6,6 +6,8 @@ export interface BaseLang {
6
6
  noData: string;
7
7
  placeholder: string;
8
8
  select: string;
9
+ edit: string;
10
+ reset: string;
9
11
  video: {
10
12
  errorTip: string;
11
13
  clickRetry: string;
@@ -43,6 +45,7 @@ export interface BaseLang {
43
45
  tips: string;
44
46
  };
45
47
  uploader: {
48
+ list: string;
46
49
  ready: string;
47
50
  readyUpload: string;
48
51
  waitingUpload: string;
@@ -109,6 +112,10 @@ export interface BaseLang {
109
112
  mute: string;
110
113
  tips: string;
111
114
  };
115
+ avatarCropper: {
116
+ rotate: string;
117
+ selectImage: string;
118
+ };
112
119
  datepicker: {
113
120
  year: string;
114
121
  month: string;
@@ -1,5 +1,5 @@
1
- import React, { FunctionComponent, ReactNode } from 'react';
2
- import { PopupProps } from '../../packages/popup/index';
1
+ import { default as React, FunctionComponent, ReactNode } from 'react';
2
+ import { PopupProps } from '../popup/index';
3
3
  export type ActionSheetOption<T> = {
4
4
  [key: string]: T;
5
5
  };
@@ -1,5 +1,5 @@
1
- import React, { FunctionComponent, ReactNode } from 'react';
2
- import { PopupProps } from '../../packages/popup/index.taro';
1
+ import { default as React, FunctionComponent, ReactNode } from 'react';
2
+ import { PopupProps } from '../popup/index.taro';
3
3
  export type ActionSheetOption<T> = {
4
4
  [key: string]: T;
5
5
  };
@@ -1,6 +1,6 @@
1
- import React, { ForwardRefRenderFunction } from 'react';
1
+ import { default as React, ForwardRefRenderFunction } from 'react';
2
2
  import { AddressList } from './types';
3
- import { CascaderOption, CascaderOptionKey, CascaderProps, CascaderValue } from '../../packages/cascader/index';
3
+ import { CascaderOption, CascaderOptionKey, CascaderProps, CascaderValue } from '../cascader/index';
4
4
  type AddressRef = {
5
5
  open: () => void;
6
6
  close: () => void;
@@ -1,6 +1,6 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  import { AddressList } from './types';
3
- import { CascaderOption, CascaderOptionKey, CascaderProps, CascaderValue } from '../../packages/cascader/index.taro';
3
+ import { CascaderOption, CascaderOptionKey, CascaderProps, CascaderValue } from '../cascader/index.taro';
4
4
  type AddressRef = {
5
5
  open: () => void;
6
6
  close: () => void;
@@ -1,5 +1,5 @@
1
- import React, { FunctionComponent } from 'react';
2
- import { CascaderProps, CascaderOption, CascaderValue, CascaderOptionKey } from '../../packages/cascader/index';
1
+ import { default as React, FunctionComponent } from 'react';
2
+ import { CascaderProps, CascaderOption, CascaderValue, CascaderOptionKey } from '../cascader/index';
3
3
  export interface AddressProps extends CascaderProps {
4
4
  visible: boolean;
5
5
  type: string;
@@ -1,5 +1,5 @@
1
- import React, { FunctionComponent } from 'react';
2
- import { CascaderProps, CascaderOption, CascaderValue, CascaderOptionKey } from '../../packages/cascader/index.taro';
1
+ import { default as React, FunctionComponent } from 'react';
2
+ import { CascaderProps, CascaderOption, CascaderValue, CascaderOptionKey } from '../cascader/index.taro';
3
3
  export interface AddressProps extends CascaderProps {
4
4
  visible: boolean;
5
5
  type: string;
@@ -1,4 +1,4 @@
1
- import React, { FunctionComponent, ReactNode } from 'react';
1
+ import { default as React, FunctionComponent, ReactNode } from 'react';
2
2
  import { AddressList } from './types';
3
3
  export interface ExistRenderProps {
4
4
  type: string;
@@ -1,4 +1,4 @@
1
- import React, { FunctionComponent, ReactNode } from 'react';
1
+ import { default as React, FunctionComponent, ReactNode } from 'react';
2
2
  import { AddressList } from './types';
3
3
  export interface ExistRenderProps {
4
4
  type: string;
@@ -1,4 +1,4 @@
1
- import React, { FunctionComponent } from 'react';
1
+ import { default as React, FunctionComponent } from 'react';
2
2
  import { AnimateType, AnimateAction } from './types';
3
3
  import { BasicComponent } from '../../utils/typings';
4
4
  export interface AnimateProps extends BasicComponent {
@@ -1,4 +1,4 @@
1
- import React, { FunctionComponent } from 'react';
1
+ import { default as React, FunctionComponent } from 'react';
2
2
  import { AnimateType, AnimateAction } from './types';
3
3
  import { BasicComponent } from '../../utils/typings';
4
4
  export interface AnimateProps extends BasicComponent {
@@ -1,10 +1,10 @@
1
- import React, { Component } from 'react';
1
+ import { default as React, Component } from 'react';
2
2
  export interface AnimatingNumbersProps {
3
3
  }
4
4
  export declare class AnimatingNumbers extends Component<AnimatingNumbersProps, unknown> {
5
5
  static defaultProps: AnimatingNumbersProps;
6
6
  static displayName: string;
7
- static CountUp: React.FunctionComponent<Partial<import("./countup").CountUpProps>>;
7
+ static CountUp: React.FunctionComponent<Partial<import('./countup').CountUpProps>>;
8
8
  constructor(props: AnimatingNumbersProps);
9
9
  render(): React.JSX.Element;
10
10
  }
@@ -1,10 +1,10 @@
1
- import React, { Component } from 'react';
1
+ import { default as React, Component } from 'react';
2
2
  export interface AnimatingNumbersProps {
3
3
  }
4
4
  export declare class AnimatingNumbers extends Component<AnimatingNumbersProps, unknown> {
5
5
  static defaultProps: AnimatingNumbersProps;
6
6
  static displayName: string;
7
- static CountUp: React.FunctionComponent<Partial<import("./countup.taro").CountUpProps>>;
7
+ static CountUp: React.FunctionComponent<Partial<import('./countup.taro').CountUpProps>>;
8
8
  constructor(props: AnimatingNumbersProps);
9
9
  render(): React.JSX.Element;
10
10
  }
@@ -1,5 +1,4 @@
1
- import React, { FunctionComponent } from 'react';
2
- import type { SyntheticEvent } from 'react';
1
+ import { default as React, FunctionComponent, SyntheticEvent } from 'react';
3
2
  import { BasicComponent } from '../../utils/typings';
4
3
  export interface AudioProps extends BasicComponent {
5
4
  /**
@@ -1,4 +1,4 @@
1
- import React, { CSSProperties, FunctionComponent } from 'react';
1
+ import { default as React, CSSProperties, FunctionComponent } from 'react';
2
2
  import { InnerAudioContext } from '@tarojs/taro';
3
3
  import { BasicComponent } from '../../utils/typings';
4
4
  export interface AudioProps extends BasicComponent {
@@ -1,7 +1,6 @@
1
- import React, { FunctionComponent } from 'react';
2
- import type { MouseEvent } from 'react';
1
+ import { default as React, FunctionComponent, MouseEvent } from 'react';
3
2
  import { BasicComponent } from '../../utils/typings';
4
- import AvatarGroup from '../../packages/avatargroup';
3
+ import { default as AvatarGroup } from '../avatargroup';
5
4
  export interface AvatarProps extends BasicComponent {
6
5
  /**
7
6
  * 设置头像的大小
@@ -1,7 +1,6 @@
1
- import React, { FunctionComponent } from 'react';
2
- import type { MouseEvent } from 'react';
1
+ import { default as React, FunctionComponent, MouseEvent } from 'react';
3
2
  import { BasicComponent } from '../../utils/typings';
4
- import AvatarGroup from '../../packages/avatargroup/index.taro';
3
+ import { default as AvatarGroup } from '../avatargroup/index.taro';
5
4
  export interface AvatarProps extends BasicComponent {
6
5
  size: string;
7
6
  icon: React.ReactNode;
@@ -1,4 +1,4 @@
1
- import React, { FunctionComponent } from 'react';
1
+ import { default as React, FunctionComponent } from 'react';
2
2
  import { BasicComponent } from '../../utils/typings';
3
3
  export type AvatarCropperToolbarPosition = 'top' | 'bottom';
4
4
  export type AvatarCropperShape = 'square' | 'round';
@@ -1,4 +1,4 @@
1
- import React, { FunctionComponent } from 'react';
1
+ import { default as React, FunctionComponent } from 'react';
2
2
  import { BasicComponent } from '../../utils/typings';
3
3
  export type AvatarCropperToolbarPosition = 'top' | 'bottom';
4
4
  export type AvatarCropperSizeType = 'original' | 'compressed';
@@ -1,4 +1,4 @@
1
- import React, { FunctionComponent } from 'react';
1
+ import { default as React, FunctionComponent } from 'react';
2
2
  import { BasicComponent } from '../../utils/typings';
3
3
  export interface AvatarGroupProps extends BasicComponent {
4
4
  /**
@@ -1,4 +1,4 @@
1
- import React, { FunctionComponent } from 'react';
1
+ import { default as React, FunctionComponent } from 'react';
2
2
  import { BasicComponent } from '../../utils/typings';
3
3
  export interface AvatarGroupProps extends BasicComponent {
4
4
  maxContent: string;
@@ -1 +1 @@
1
- export declare const AvatarContext: import("react").Context<{}>;
1
+ export declare const AvatarContext: import('react').Context<{}>;
@@ -1,5 +1,4 @@
1
- import React, { FunctionComponent } from 'react';
2
- import type { MouseEvent } from 'react';
1
+ import { default as React, FunctionComponent, MouseEvent } from 'react';
3
2
  import { BasicComponent } from '../../utils/typings';
4
3
  export interface BackTopProps extends BasicComponent {
5
4
  /**
@@ -1,5 +1,4 @@
1
- import React, { FunctionComponent } from 'react';
2
- import type { MouseEvent } from 'react';
1
+ import { default as React, FunctionComponent, MouseEvent } from 'react';
3
2
  import { BasicComponent } from '../../utils/typings';
4
3
  export interface BackTopProps extends BasicComponent {
5
4
  threshold: number;
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  import { BasicComponent } from '../../utils/typings';
3
3
  export interface BarrageProps extends BasicComponent {
4
4
  /**
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
2
  import { BasicComponent } from '../../utils/typings';
3
3
  export interface BarrageProps extends BasicComponent {
4
4
  list: Array<string>;
@@ -1,5 +1,4 @@
1
- import React from 'react';
2
- import type { MouseEvent } from 'react';
1
+ import { default as React, MouseEvent } from 'react';
3
2
  import { BasicComponent } from '../../utils/typings';
4
3
  export type ButtonType = 'default' | 'primary' | 'info' | 'success' | 'warning' | 'danger';
5
4
  export type ButtonSize = 'xlarge' | 'large' | 'normal' | 'small' | 'mini';
@@ -1,5 +1,4 @@
1
- import React from 'react';
2
- import type { MouseEvent } from 'react';
1
+ import { default as React, MouseEvent } from 'react';
3
2
  import { ButtonProps as MiniProgramButtonProps } from '@tarojs/components';
4
3
  import { BasicComponent } from '../../utils/typings';
5
4
  type OmitMiniProgramButtonProps = Omit<MiniProgramButtonProps, 'size' | 'type' | 'onClick' | 'style'>;