@nutui/nutui-react-taro 1.5.1 → 2.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (283) hide show
  1. package/CHANGELOG.md +24 -664
  2. package/dist/esm/ActionSheet.js +6 -6
  3. package/dist/esm/Address/style/index.js +0 -1
  4. package/dist/esm/Address.js +11 -12
  5. package/dist/esm/Audio/style/index.js +0 -1
  6. package/dist/esm/Audio.js +11 -12
  7. package/dist/esm/Avatar.js +2 -3
  8. package/dist/esm/AvatarGroup.js +3 -3
  9. package/dist/esm/BackTop/style/index.js +1 -1
  10. package/dist/esm/BackTop.js +4 -5
  11. package/dist/esm/Badge.js +2 -3
  12. package/dist/esm/Barrage.js +1 -1
  13. package/dist/esm/Button/style/index.js +1 -1
  14. package/dist/esm/Button.js +4 -5
  15. package/dist/esm/Calendar.js +10 -10
  16. package/dist/esm/CalendarItem.js +4 -4
  17. package/dist/esm/Card.js +4 -4
  18. package/dist/esm/Cascader.js +7 -7
  19. package/dist/esm/Cell/style/index.js +1 -1
  20. package/dist/esm/Cell.js +3 -6
  21. package/dist/esm/CellGroup.js +3 -3
  22. package/dist/esm/Checkbox/style/index.js +0 -1
  23. package/dist/esm/Checkbox.js +3 -3
  24. package/dist/esm/CheckboxGroup.js +3 -3
  25. package/dist/esm/Col.js +2 -1
  26. package/dist/esm/Collapse.js +1 -1
  27. package/dist/esm/CollapseItem/style/index.js +1 -1
  28. package/dist/esm/CollapseItem.js +1 -3
  29. package/dist/esm/ConfigProvider.js +3 -2
  30. package/dist/esm/CountDown.js +3 -3
  31. package/dist/esm/DatePicker.js +12 -14
  32. package/dist/esm/Dialog.js +6 -8
  33. package/dist/esm/Divider.js +1 -3
  34. package/dist/esm/Elevator.js +1 -1
  35. package/dist/esm/Ellipsis.js +4 -4
  36. package/dist/esm/Empty.js +3 -3
  37. package/dist/esm/FixedNav/style/index.js +0 -1
  38. package/dist/esm/FixedNav.js +6 -8
  39. package/dist/esm/Form.js +6 -9
  40. package/dist/esm/FormItem.js +4 -7
  41. package/dist/esm/Grid/style/index.js +1 -1
  42. package/dist/esm/Grid.js +4 -6
  43. package/dist/esm/GridItem.js +3 -8
  44. package/dist/esm/Icon.js +60 -4
  45. package/dist/esm/Image.js +4 -6
  46. package/dist/esm/ImagePreview.js +7 -7
  47. package/dist/esm/Indicator.js +1 -3
  48. package/dist/esm/Infiniteloading/style/index.js +1 -1
  49. package/dist/esm/Infiniteloading.js +4 -5
  50. package/dist/esm/Input/style/index.js +1 -1
  51. package/dist/esm/Input.js +5 -7
  52. package/dist/esm/InputNumber/style/index.js +1 -1
  53. package/dist/esm/InputNumber.js +4 -5
  54. package/dist/esm/Menu.js +3 -5
  55. package/dist/esm/MenuItem/style/index.js +0 -1
  56. package/dist/esm/MenuItem.js +6 -8
  57. package/dist/esm/NavBar/style/index.js +1 -1
  58. package/dist/esm/NavBar.js +3 -3
  59. package/dist/esm/NoticeBar/style/index.js +1 -1
  60. package/dist/esm/NoticeBar.js +4 -4
  61. package/dist/esm/NumberKeyboard.js +7 -7
  62. package/dist/esm/Overlay.js +2 -3
  63. package/dist/esm/Pagination.js +6 -5
  64. package/dist/esm/Picker.js +11 -12
  65. package/dist/esm/Popover/style/index.js +0 -1
  66. package/dist/esm/Popover.js +4 -7
  67. package/dist/esm/Popup/style/index.js +0 -1
  68. package/dist/esm/Popup.js +4 -6
  69. package/dist/esm/Progress/style/index.js +1 -1
  70. package/dist/esm/Progress.js +3 -3
  71. package/dist/esm/PullToRefresh.js +3 -3
  72. package/dist/esm/Radio/style/index.js +0 -1
  73. package/dist/esm/Radio.js +3 -3
  74. package/dist/esm/RadioGroup.js +3 -3
  75. package/dist/esm/Range.js +7 -7
  76. package/dist/esm/Rate/style/index.js +1 -1
  77. package/dist/esm/Rate.js +4 -5
  78. package/dist/esm/Row.js +2 -1
  79. package/dist/esm/SearchBar/style/index.js +1 -1
  80. package/dist/esm/SearchBar.js +5 -5
  81. package/dist/esm/ShortPassword/style/index.js +0 -1
  82. package/dist/esm/ShortPassword.js +7 -7
  83. package/dist/esm/SideNavBar.js +5 -10
  84. package/dist/esm/SideNavBarItem.js +1 -1
  85. package/dist/esm/Signature.js +7 -6
  86. package/dist/esm/Skeleton.js +3 -4
  87. package/dist/esm/Step/style/index.js +1 -1
  88. package/dist/esm/Step.js +2 -3
  89. package/dist/esm/Sticky.js +3 -4
  90. package/dist/esm/SubSideNavBar.js +1 -1
  91. package/dist/esm/Swipe.js +3 -3
  92. package/dist/esm/TabbarItem/style/index.js +1 -1
  93. package/dist/esm/TabbarItem.js +2 -3
  94. package/dist/esm/Table/style/index.js +1 -1
  95. package/dist/esm/Table.js +5 -5
  96. package/dist/esm/Tabs/style/index.js +1 -2
  97. package/dist/esm/Tabs.js +3 -3
  98. package/dist/esm/Tag/style/index.js +1 -1
  99. package/dist/esm/Tag.js +3 -5
  100. package/dist/esm/TextArea.js +3 -3
  101. package/dist/esm/TimeDetail.js +3 -3
  102. package/dist/esm/TimePannel.js +3 -3
  103. package/dist/esm/TimeSelect.js +10 -10
  104. package/dist/esm/Toast/style/index.js +1 -1
  105. package/dist/esm/Toast.js +2 -2
  106. package/dist/esm/TrendArrow/style/index.js +1 -1
  107. package/dist/esm/TrendArrow.js +2 -2
  108. package/dist/esm/Uploader/style/index.js +0 -1
  109. package/dist/esm/Uploader.js +8 -8
  110. package/dist/esm/Video.js +1 -1
  111. package/dist/esm/VirtualList.js +3 -3
  112. package/dist/esm/WaterMark.js +3 -3
  113. package/dist/esm/{actionsheet.taro-e6a51446.js → actionsheet.taro-10cc53ee.js} +5 -5
  114. package/dist/esm/{address.taro-3a9b6396.js → address.taro-632ca799.js} +24 -24
  115. package/dist/esm/{audio.taro-87ec8bf2.js → audio.taro-f672a68c.js} +7 -6
  116. package/dist/esm/{avatar.taro-3676f38f.js → avatar.taro-de157a1f.js} +8 -6
  117. package/dist/esm/{avatargroup-f3574510.js → avatargroup-b476ac68.js} +1 -1
  118. package/dist/esm/backtop.taro-ba271b8f.js +52 -0
  119. package/dist/esm/{badge.taro-a4e59c11.js → badge.taro-ae154f41.js} +4 -6
  120. package/dist/esm/{barrage.taro-0495a1b2.js → barrage.taro-80df08d3.js} +2 -2
  121. package/dist/esm/button.taro-a1c9512f.js +65 -0
  122. package/dist/esm/{calendar.taro-670842ea.js → calendar.taro-099cb4a2.js} +3 -3
  123. package/dist/esm/{calendaritem.taro-2a603571.js → calendaritem.taro-ae167e59.js} +3 -3
  124. package/dist/esm/{card.taro-e4c76dad.js → card.taro-5e9b34c8.js} +1 -1
  125. package/dist/esm/{cascader.taro-eb1fb011.js → cascader.taro-62e764a7.js} +17 -8
  126. package/dist/esm/cell.taro-26870740.js +43 -0
  127. package/dist/esm/cellgroup.taro-6e901b54.js +24 -0
  128. package/dist/esm/{checkbox.taro-6120e3e3.js → checkbox.taro-785c528b.js} +10 -13
  129. package/dist/esm/{col.taro-53eed3cc.js → col.taro-a99a9171.js} +3 -1
  130. package/dist/esm/{collapse.taro-1a9e4ba2.js → collapse.taro-35a8a0d6.js} +3 -7
  131. package/dist/esm/{collapseitem-4d0bc55d.js → collapseitem-690eb91c.js} +6 -21
  132. package/dist/esm/{configprovider-67d19d3a.js → configprovider-9960f0fb.js} +1 -1
  133. package/dist/esm/{configprovider.taro-8d71eb49.js → configprovider.taro-c8c54556.js} +5 -2
  134. package/dist/esm/{countdown.taro-dbcb9a4f.js → countdown.taro-0e6bf7a2.js} +1 -1
  135. package/dist/esm/{datepicker.taro-6e9b4b8f.js → datepicker.taro-0f2bcf42.js} +3 -3
  136. package/dist/esm/{dialog.taro-a3267d29.js → dialog.taro-00ac41fd.js} +5 -5
  137. package/dist/esm/divider.taro-6c1657ce.js +31 -0
  138. package/dist/esm/{elevator.taro-6019669e.js → elevator.taro-81a11ecc.js} +1 -1
  139. package/dist/esm/{ellipsis.taro-f15f26da.js → ellipsis.taro-b6cda065.js} +2 -2
  140. package/dist/esm/{empty.taro-04ae4389.js → empty.taro-fde835ca.js} +1 -1
  141. package/dist/esm/fixednav.taro-39fbd47a.js +54 -0
  142. package/dist/esm/{form.taro-0c8e7a39.js → form.taro-0d83f1e8.js} +3 -3
  143. package/dist/esm/{formitem.taro-190a3326.js → formitem.taro-0de07d1e.js} +2 -2
  144. package/dist/esm/{grid.taro-3503b82c.js → grid.taro-3797169c.js} +12 -24
  145. package/dist/esm/griditem.taro-04f59ae1.js +80 -0
  146. package/dist/esm/{image.taro-142cf512.js → image.taro-edb572bb.js} +4 -4
  147. package/dist/esm/{imagepreview.taro-c50bb0a3.js → imagepreview.taro-b88fcf41.js} +2 -2
  148. package/dist/esm/indicator.taro-c10334e8.js +30 -0
  149. package/dist/esm/{infiniteloading.taro-183bccbf.js → infiniteloading.taro-73c9b8ca.js} +12 -15
  150. package/dist/esm/{input.taro-97af6c96.js → input.taro-10ed5500.js} +18 -21
  151. package/dist/esm/inputnumber.taro-108c4784.js +199 -0
  152. package/dist/esm/{menu.taro-7e4038a1.js → menu.taro-54951911.js} +6 -7
  153. package/dist/esm/{menuitem.taro-96cc4f15.js → menuitem.taro-86a6bb6c.js} +8 -10
  154. package/dist/esm/{navbar.taro-777c4705.js → navbar.taro-69f47d51.js} +8 -10
  155. package/dist/esm/{noticebar.taro-4a23cdee.js → noticebar.taro-49e7441f.js} +10 -31
  156. package/dist/esm/{numberkeyboard.taro-1bc24744.js → numberkeyboard.taro-ed9b2149.js} +3 -3
  157. package/dist/esm/nutui-react.es.js +89 -90
  158. package/dist/esm/{overlay.taro-21e87fb1.js → overlay.taro-ad0d4775.js} +20 -14
  159. package/dist/esm/pagination.taro-60b22b27.js +91 -0
  160. package/dist/esm/{picker.taro-9ad1b7c5.js → picker.taro-5028afcb.js} +110 -160
  161. package/dist/esm/{popover.taro-ad5e76ea.js → popover.taro-2a57eae4.js} +12 -15
  162. package/dist/esm/{popup.taro-01676bff.js → popup.taro-020bf791.js} +38 -36
  163. package/dist/esm/{progress.taro-f0ce38e9.js → progress.taro-24392ef3.js} +5 -7
  164. package/dist/esm/{pulltorefresh.taro-a294f656.js → pulltorefresh.taro-d5fcfcb0.js} +1 -1
  165. package/dist/esm/{radio.taro-a6eff96c.js → radio.taro-51e10152.js} +16 -7
  166. package/dist/esm/{range.taro-d8fc7656.js → range.taro-7a2b6ca1.js} +4 -4
  167. package/dist/esm/rate.taro-57341aa9.js +77 -0
  168. package/dist/esm/{row.taro-f64d4a13.js → row.taro-75039d53.js} +5 -3
  169. package/dist/esm/{searchbar.taro-0c25927b.js → searchbar.taro-eef468bb.js} +7 -7
  170. package/dist/esm/{shortpassword.taro-9ee034f7.js → shortpassword.taro-681a33a1.js} +17 -9
  171. package/dist/esm/{sidenavbar.taro-c307b35e.js → sidenavbar.taro-d5c5b331.js} +1 -3
  172. package/dist/esm/{sidenavbaritem.taro-5a7965d0.js → sidenavbaritem.taro-bb80dbf4.js} +2 -2
  173. package/dist/esm/{signature.taro-ec4e713b.js → signature.taro-f01b2b05.js} +2 -2
  174. package/dist/esm/{skeleton.taro-76faf63f.js → skeleton.taro-64e858a2.js} +1 -1
  175. package/dist/esm/{step.taro-b7903e8c.js → step.taro-2ec1f283.js} +5 -6
  176. package/dist/esm/{sticky.taro-218bda37.js → sticky.taro-b5bde7b1.js} +15 -17
  177. package/dist/esm/{subsidenavbar.taro-69cb9752.js → subsidenavbar.taro-3cce8442.js} +2 -2
  178. package/dist/esm/{swipe.taro-ea35f07f.js → swipe.taro-350c9a94.js} +2 -2
  179. package/dist/esm/{tabbaritem.taro-bf517487.js → tabbaritem.taro-42ba353f.js} +4 -7
  180. package/dist/esm/{table.taro-91fc0c01.js → table.taro-3946697c.js} +7 -5
  181. package/dist/esm/{tabs.taro-6a7524a4.js → tabs.taro-be8cacb5.js} +4 -4
  182. package/dist/esm/{tag.taro-23ba0834.js → tag.taro-0c2567de.js} +10 -10
  183. package/dist/esm/{textarea.taro-442e7350.js → textarea.taro-a0f79515.js} +1 -1
  184. package/dist/esm/{timedetail.taro-5b2f2269.js → timedetail.taro-fce4e614.js} +1 -1
  185. package/dist/esm/{timepannel.taro-d6e40180.js → timepannel.taro-fd3d008d.js} +1 -1
  186. package/dist/esm/{timeselect.taro-a07036f4.js → timeselect.taro-a4b86771.js} +6 -6
  187. package/dist/esm/{toast.taro-d6c14811.js → toast.taro-e4f44812.js} +6 -7
  188. package/dist/esm/{trendarrow.taro-b8c5ccd9.js → trendarrow.taro-7cf90def.js} +5 -8
  189. package/dist/esm/typings-d8491423.js +6 -0
  190. package/dist/esm/{uploader.taro-5a53aa33.js → uploader.taro-2151eec6.js} +87 -83
  191. package/dist/esm/use-props-value-ae7ee726.js +15 -0
  192. package/dist/esm/{video-f1be8a91.js → video-7ed508cc.js} +4 -4
  193. package/dist/esm/{virtuallist.taro-f0b0270d.js → virtuallist.taro-35b9bd9a.js} +2 -2
  194. package/dist/esm/{watermark.taro-9ce2ae37.js → watermark.taro-c780d360.js} +1 -1
  195. package/dist/esm/{zh-CN-c779e6c1.js → zh-CN-b4f493ba.js} +2 -2
  196. package/dist/locales/base.d.ts +2 -2
  197. package/dist/locales/base.js +1 -1
  198. package/dist/locales/en-US.js +3 -3
  199. package/dist/locales/id-ID.js +3 -3
  200. package/dist/locales/zh-CN.js +3 -3
  201. package/dist/locales/zh-TW.js +3 -3
  202. package/dist/locales/zh-UG.js +3 -3
  203. package/dist/nutui.react.mjs +7933 -5114
  204. package/dist/nutui.react.umd.js +7927 -5108
  205. package/dist/packages/actionsheet/actionsheet.scss +10 -2
  206. package/dist/packages/audio/audio.scss +2 -15
  207. package/dist/packages/backtop/backtop.scss +0 -8
  208. package/dist/packages/badge/badge.scss +3 -4
  209. package/dist/packages/button/button.scss +80 -93
  210. package/dist/packages/calendar/calendar.scss +0 -30
  211. package/dist/packages/cell/cell.scss +18 -90
  212. package/dist/packages/cellgroup/cellgroup.scss +26 -20
  213. package/dist/packages/collapseitem/collapseitem.scss +0 -1
  214. package/dist/packages/dialog/dialog.scss +1 -1
  215. package/dist/packages/divider/divider.scss +3 -17
  216. package/dist/packages/grid/grid.scss +1 -0
  217. package/dist/packages/griditem/griditem.scss +2 -17
  218. package/dist/packages/icon/icon.scss +0 -132
  219. package/dist/packages/image/image.scss +0 -12
  220. package/dist/packages/indicator/indicator.scss +21 -39
  221. package/dist/packages/infiniteloading/infiniteloading.scss +4 -12
  222. package/dist/packages/input/input.scss +4 -0
  223. package/dist/packages/inputnumber/inputnumber.scss +10 -26
  224. package/dist/packages/menuitem/menuitem.scss +2 -0
  225. package/dist/packages/navbar/navbar.scss +4 -5
  226. package/dist/packages/overlay/overlay.scss +0 -19
  227. package/dist/packages/picker/picker.scss +97 -103
  228. package/dist/packages/popup/popup.scss +0 -16
  229. package/dist/packages/progress/progress.scss +0 -1
  230. package/dist/packages/radio/radio.scss +8 -0
  231. package/dist/packages/rate/rate.scss +29 -6
  232. package/dist/packages/row/row.scss +13 -31
  233. package/dist/packages/searchbar/searchbar.scss +0 -1
  234. package/dist/packages/shortpassword/shortpassword.scss +4 -1
  235. package/dist/packages/sidenavbar/sidenavbar.scss +0 -19
  236. package/dist/packages/step/step.scss +0 -1
  237. package/dist/packages/sticky/sticky.scss +1 -1
  238. package/dist/packages/swiper/swiper.scss +8 -0
  239. package/dist/packages/tabbaritem/tabbaritem.scss +0 -1
  240. package/dist/packages/table/table.scss +0 -1
  241. package/dist/packages/tag/tag.scss +9 -2
  242. package/dist/packages/timedetail/timedetail.scss +9 -3
  243. package/dist/packages/timeselect/timeselect.scss +1 -1
  244. package/dist/packages/toast/toast.scss +0 -1
  245. package/dist/packages/uploader/uploader.scss +2 -28
  246. package/dist/style.css +1 -1
  247. package/dist/style.mjs +1 -1
  248. package/dist/styles/font-jmapp/config.json +175 -0
  249. package/dist/styles/font-jmapp/demo.css +539 -0
  250. package/dist/styles/font-jmapp/demo_index.html +1821 -0
  251. package/dist/styles/font-jmapp/iconfont.css +299 -0
  252. package/dist/styles/font-jmapp/iconfont.eot +0 -0
  253. package/dist/styles/font-jmapp/iconfont.js +68 -0
  254. package/dist/styles/font-jmapp/iconfont.json +506 -0
  255. package/dist/styles/font-jmapp/iconfont.svg +356 -0
  256. package/dist/styles/font-jmapp/iconfont.ttf +0 -0
  257. package/dist/styles/font-jmapp/iconfont.woff +0 -0
  258. package/dist/styles/font-jmapp/iconfont.woff2 +0 -0
  259. package/dist/styles/theme-default.scss +1 -0
  260. package/dist/styles/theme-jmapp.scss +41 -0
  261. package/dist/styles/themes/default.scss +0 -1
  262. package/dist/styles/variables-jmapp.scss +2601 -0
  263. package/dist/styles/variables.scss +49 -73
  264. package/dist/types/index.d.ts +168 -267
  265. package/package.json +23 -154
  266. package/dist/esm/Icon/style/index.js +0 -4
  267. package/dist/esm/backtop.taro-66394a36.js +0 -48
  268. package/dist/esm/button.taro-9244d065.js +0 -100
  269. package/dist/esm/cell.taro-a10a74d3.js +0 -64
  270. package/dist/esm/cellgroup.taro-abe501bc.js +0 -25
  271. package/dist/esm/divider.taro-26d1d8b4.js +0 -35
  272. package/dist/esm/fixednav.taro-1f05acaf.js +0 -53
  273. package/dist/esm/grid.taro.context-c2bbfb4f.js +0 -8
  274. package/dist/esm/griditem.taro-cdb3f119.js +0 -98
  275. package/dist/esm/icon-296a1bec.js +0 -63
  276. package/dist/esm/icon.taro-296a1bec.js +0 -63
  277. package/dist/esm/indicator.taro-cba8b010.js +0 -37
  278. package/dist/esm/inputnumber.taro-91f65d17.js +0 -130
  279. package/dist/esm/pagination.taro-715a173b.js +0 -124
  280. package/dist/esm/rate.taro-6cdf03bd.js +0 -75
  281. package/dist/esm/typings-b9828dba.js +0 -9
  282. /package/dist/esm/{useClientRect-1f8ed1fe.js → use-client-rect-1f8ed1fe.js} +0 -0
  283. /package/dist/esm/{useTouch-db24bb5c.js → use-touch-db24bb5c.js} +0 -0
@@ -1,132 +0,0 @@
1
- @import '../../styles/mixins/index.scss';
2
- @import '../../styles/animation/index.scss';
3
-
4
- .nut-icon {
5
- display: inline-block;
6
- position: relative;
7
- width: $icon-width;
8
- height: $icon-height;
9
- line-height: $icon-line-height;
10
- text-align: right;
11
-
12
- &::before {
13
- position: absolute;
14
- top: 50%;
15
- left: 50%;
16
- transform: translate(-50%, -50%);
17
- }
18
-
19
- &__img {
20
- width: $icon-width;
21
- height: $icon-height;
22
- object-fit: contain;
23
- }
24
- &-loading,
25
- &-loading1 {
26
- display: inline-block;
27
- animation: rotation 1s infinite linear;
28
- }
29
-
30
- --animate-duration: 1s;
31
- --animate-delay: 0s;
32
-
33
- &-am-infinite {
34
- -webkit-animation-iteration-count: infinite;
35
- -webkit-animation-direction: alternate;
36
- animation-iteration-count: infinite;
37
- animation-direction: alternate;
38
- }
39
- &-am-jump {
40
- -webkit-animation-name: nutJumpOne;
41
- -webkit-animation-duration: var(--animate-duration);
42
- -webkit-animation-timing-function: ease;
43
- -webkit-animation-delay: var(--animate-delay);
44
-
45
- animation-name: nutJumpOne;
46
- animation-duration: var(--animate-duration);
47
- animation-timing-function: ease;
48
- animation-delay: var(--animate-delay);
49
-
50
- &.nut-icon-am-infinite {
51
- -webkit-animation-name: nutJump;
52
- animation-name: nutJump;
53
- }
54
- }
55
-
56
- &-am-rotate {
57
- -webkit-animation-name: rotation;
58
- -webkit-animation-duration: var(--animate-duration);
59
- -webkit-animation-timing-function: linear;
60
- -webkit-animation-delay: var(--animate-delay);
61
-
62
- animation-name: rotation;
63
- animation-duration: var(--animate-duration);
64
- animation-timing-function: linear;
65
- animation-delay: var(--animate-delay);
66
-
67
- &.nut-icon-am-infinite {
68
- -webkit-animation-direction: normal;
69
- animation-direction: normal;
70
- }
71
- }
72
- &-am-blink {
73
- -webkit-animation-name: nutBlink;
74
- -webkit-animation-duration: var(--animate-duration);
75
- -webkit-animation-timing-function: ease-in-out;
76
- -webkit-animation-delay: var(--animate-delay);
77
-
78
- animation-name: nutBlink;
79
- animation-duration: var(--animate-duration);
80
- animation-timing-function: linear;
81
- animation-delay: var(--animate-delay);
82
- }
83
- &-am-breathe {
84
- -webkit-animation-name: nutBreathe;
85
- -webkit-animation-duration: var(--animate-duration);
86
- -webkit-animation-timing-function: ease-in-out;
87
- -webkit-animation-delay: var(--animate-delay);
88
-
89
- animation-name: nutBreathe;
90
- animation-duration: var(--animate-duration);
91
- animation-timing-function: ease-in-out;
92
- animation-delay: var(--animate-delay);
93
- }
94
- &-am-flash {
95
- -webkit-animation-name: nutFlash;
96
- -webkit-animation-duration: var(--animate-duration);
97
- -webkit-animation-timing-function: ease-in-out;
98
- -webkit-animation-delay: var(--animate-delay);
99
-
100
- animation-name: nutFlash;
101
- animation-duration: var(--animate-duration);
102
- animation-timing-function: ease-in-out;
103
- animation-delay: var(--animate-delay);
104
- }
105
- &-am-bounce {
106
- -webkit-animation-name: nutBounce;
107
- -webkit-animation-duration: var(--animate-duration);
108
- -webkit-animation-timing-function: ease-in-out;
109
- -webkit-animation-delay: var(--animate-delay);
110
- animation-name: nutBounce;
111
- animation-duration: var(--animate-duration);
112
- animation-timing-function: ease-in-out;
113
- animation-delay: var(--animate-delay);
114
-
115
- &.nut-icon-am-infinite {
116
- -webkit-animation-direction: normal;
117
- animation-direction: normal;
118
- }
119
- }
120
-
121
- &-am-shake {
122
- -webkit-animation-name: nutShake;
123
- -webkit-animation-duration: var(--animate-duration);
124
- -webkit-animation-timing-function: ease-in-out;
125
- -webkit-animation-delay: var(--animate-delay);
126
-
127
- animation-name: nutShake;
128
- animation-duration: var(--animate-duration);
129
- animation-timing-function: ease-in-out;
130
- animation-delay: var(--animate-delay);
131
- }
132
- }
@@ -1,15 +1,3 @@
1
- .nut-theme-dark {
2
- .nut-image {
3
- .nut-img-loading {
4
- background: $mask-color;
5
- }
6
-
7
- .nut-img-error {
8
- background: $mask-color;
9
- }
10
- }
11
- }
12
-
13
1
  .nut-image {
14
2
  display: block;
15
3
  position: relative;
@@ -1,34 +1,16 @@
1
- .nut-theme-dark {
2
- .nut-indicator {
3
- .nut-indicator__number {
4
- border: none;
5
- }
6
- }
7
- }
8
1
  .nut-indicator {
9
- &__block {
10
- display: block;
11
- width: 100%;
12
- }
13
- &__align__left {
14
- text-align: left;
15
- }
16
- &__align__right {
17
- text-align: right;
18
- }
19
- &__align__center {
20
- text-align: center;
21
- }
22
- &__dot,
23
- &__number {
2
+ &__dot {
24
3
  margin: 0 $indicator-dot-margin;
4
+
25
5
  &:first-child {
26
- margin-left: $indicator-dot-first-margin;
6
+ margin-left: 0px;
27
7
  }
8
+
28
9
  &:last-child {
29
- margin-right: $indicator-dot-last-margin;
10
+ margin-right: 0px;
30
11
  }
31
12
  }
13
+
32
14
  &__dot {
33
15
  display: inline-block;
34
16
  vertical-align: middle;
@@ -37,34 +19,34 @@
37
19
  border-radius: 50%;
38
20
  background-color: $indicator-dot-color;
39
21
  }
40
- &__number {
41
- display: inline-block;
42
- position: relative;
43
- width: $indicator-size;
44
- height: $indicator-size;
45
- text-align: center;
46
- font-size: $indicator-number-font-size;
47
- line-height: $indicator-size;
48
- color: $indicator-white;
49
- vertical-align: middle;
50
- border: 1px solid $indicator-white;
51
- border-radius: 50%;
22
+
23
+ &__active {
24
+ width: $indicator-dot-active-size;
25
+ border-radius: $indicator-border-size;
52
26
  background-color: $indicator-color;
53
- box-shadow: 0 0 1px 1px $indicator-color;
54
27
  }
28
+
55
29
  &__vertical {
56
30
  display: flex;
57
31
  flex-direction: column;
58
32
  align-items: center;
59
33
  justify-content: center;
34
+
60
35
  .nut-indicator__dot {
61
36
  margin: $indicator-dot-vertical-margin 0;
37
+
62
38
  &:first-child {
63
- margin-top: $indicator-dot-first-margin;
39
+ margin-top: 0px;
64
40
  }
41
+
65
42
  &:last-child {
66
- margin-bottom: $indicator-dot-last-margin;
43
+ margin-bottom: 0px;
67
44
  }
68
45
  }
46
+
47
+ .nut-indicator__active {
48
+ width: $indicator-dot-size;
49
+ height: $indicator-dot-active-size;
50
+ }
69
51
  }
70
52
  }
@@ -30,11 +30,6 @@
30
30
  flex-direction: column;
31
31
  align-items: center;
32
32
  justify-content: center;
33
-
34
- .top-img {
35
- width: 28px;
36
- height: 24px;
37
- }
38
33
  .top-text {
39
34
  font-size: 10px;
40
35
  color: $text-color;
@@ -47,19 +42,16 @@
47
42
  }
48
43
  }
49
44
  .nut-infinite-bottom {
50
- display: block;
45
+ display: flex;
46
+ align-items: center;
47
+ justify-content: center;
51
48
  width: 100%;
52
- padding-top: 16px;
49
+ padding-top: 6px;
53
50
  font-size: $font-size-small;
54
51
  color: $infiniteloading-bottom-color;
55
52
  text-align: center;
56
53
 
57
54
  .bottom-box {
58
- .bottom-img {
59
- margin-right: 5px;
60
- width: 28px;
61
- height: 24px;
62
- }
63
55
  .bottom-text {
64
56
  font-size: 10px;
65
57
  color: $text-color;
@@ -168,6 +168,10 @@ textarea {
168
168
  vertical-align: -2px;
169
169
  }
170
170
  }
171
+ &-clear-wrap {
172
+ width: 16px;
173
+ height: 16px;
174
+ }
171
175
  &-clear {
172
176
  width: 16px;
173
177
  height: 16px;
@@ -1,29 +1,3 @@
1
-
2
- .nut-theme-dark {
3
- .nut-inputnumber {
4
- &__icon {
5
- color: $dark1;
6
-
7
- &--disabled {
8
- color: $dark2;
9
- }
10
- }
11
-
12
- input,
13
- &__text--readonly {
14
- background-color: $dark4;
15
- color: $dark1;
16
- border: 1px solid $dark2;
17
- }
18
-
19
- &--disabled {
20
- input {
21
- color: $dark3 !important;
22
- }
23
- }
24
- }
25
- }
26
-
27
1
  .nut-inputnumber {
28
2
  display: $inputnumber-display;
29
3
  align-items: center;
@@ -77,3 +51,13 @@
77
51
  appearance: none;
78
52
  }
79
53
  }
54
+
55
+ .icon-minus {
56
+ --nut-icon-width: 20px;
57
+ --nut-icon-height: 20px;
58
+ }
59
+
60
+ .icon-plus {
61
+ --nut-icon-width: 20px;
62
+ --nut-icon-height: 20px;
63
+ }
@@ -38,6 +38,8 @@
38
38
 
39
39
  i {
40
40
  margin-right: $menu-item-option-i-margin-right;
41
+ display: inline-flex;
42
+ align-items: center;
41
43
  }
42
44
  }
43
45
  }
@@ -1,4 +1,3 @@
1
-
2
1
  .nut-theme-dark {
3
2
  .nut-navbar {
4
3
  background: $dark5;
@@ -124,8 +123,8 @@
124
123
  display: inline;
125
124
  }
126
125
 
127
- &-desc {
128
- font-size: $cell-title-desc-font;
126
+ &-description {
127
+ font-size: $cell-description-font-size;
129
128
  }
130
129
 
131
130
  .text__title {
@@ -150,7 +149,7 @@
150
149
  }
151
150
 
152
151
  &__left {
153
- font-size: $cell-desc-font;
152
+ font-size: $cell-extra-font-size;
154
153
  color: $gray2;
155
154
  position: absolute;
156
155
  left: 0;
@@ -163,7 +162,7 @@
163
162
  }
164
163
 
165
164
  &__right {
166
- font-size: $cell-desc-font;
165
+ font-size: $cell-extra-font-size;
167
166
  color: $gray2;
168
167
  position: absolute;
169
168
  right: 0;
@@ -1,22 +1,3 @@
1
- .nut-theme-dark {
2
- .nut-overlay {
3
- position: fixed;
4
- top: 0;
5
- left: 0;
6
- width: 100%;
7
- height: 100%;
8
- background: $dark7;
9
- }
10
- .overlay-fade-enter-active {
11
- .wrapper {
12
- .content {
13
- background-color: $dark2;
14
- color: $white;
15
- }
16
- }
17
- }
18
- }
19
-
20
1
  .nut-overlay {
21
2
  position: fixed;
22
3
  top: 0;
@@ -88,45 +88,45 @@
88
88
  align-items: center;
89
89
  justify-content: space-between;
90
90
  padding: $picker-bar-button-padding;
91
- }
92
91
 
93
- .nut-picker__cancel-btn {
94
- color: $picker-cancel-color;
95
- font-size: $picker-bar-cancel-font-size;
96
- }
92
+ .nut-picker__cancel-btn {
93
+ color: $picker-cancel-color;
94
+ font-size: $picker-bar-cancel-font-size;
95
+ }
97
96
 
98
- .nut-picker__confirm-btn {
99
- color: $picker-ok-color;
100
- font-size: $picker-bar-ok-font-size;
101
- }
97
+ .nut-picker__confirm-btn {
98
+ color: $picker-ok-color;
99
+ font-size: $picker-bar-ok-font-size;
100
+ }
102
101
 
103
- .nut-picker__title {
104
- flex: 1;
105
- overflow: hidden;
106
- text-overflow: ellipsis;
107
- white-space: nowrap;
108
- text-align: center;
109
- color: $picker-bar-title-color;
110
- font-size: $picker-bar-title-font-size;
111
- font-weight: $picker-bar-title-font-weight;
102
+ .nut-picker__title {
103
+ flex: 1;
104
+ overflow: hidden;
105
+ text-overflow: ellipsis;
106
+ white-space: nowrap;
107
+ text-align: center;
108
+ color: $picker-bar-title-color;
109
+ font-size: $picker-bar-title-font-size;
110
+ font-weight: $picker-bar-title-font-weight;
111
+ }
112
112
  }
113
113
 
114
114
  .nut-picker__panel {
115
115
  display: flex;
116
116
  position: relative;
117
- }
118
117
 
119
- .nut-picker-indicator {
120
- position: absolute;
121
- top: 108px;
122
- height: $picker-item-height;
123
- width: 100%;
124
- border: $picker-item-active-line-border;
125
- border-left: 0;
126
- border-right: 0;
127
- color: $picker-item-text-color;
128
- font-size: $picker-item-text-font-size;
129
- z-index: 3;
118
+ .nut-picker-indicator {
119
+ position: absolute;
120
+ top: 108px;
121
+ height: $picker-item-height;
122
+ width: 100%;
123
+ border: $picker-item-active-line-border;
124
+ border-left: 0;
125
+ border-right: 0;
126
+ color: $picker-item-text-color;
127
+ font-size: $picker-item-text-font-size;
128
+ z-index: 3;
129
+ }
130
130
  }
131
131
 
132
132
  .nut-picker-list {
@@ -135,89 +135,83 @@
135
135
  height: $picker-list-height;
136
136
  overflow: hidden;
137
137
  text-align: center;
138
- }
139
-
140
- .nut-picker-list-panel {
141
- transform-style: preserve-3d;
142
- }
143
138
 
144
- .nut-picker-mask {
145
- position: absolute;
146
- top: 0;
147
- left: 0;
148
- right: 0;
149
- bottom: 0;
150
- background-image: $picker-mask-bg-img;
151
- background-position: top, bottom;
152
- background-size: 100% 108px;
153
- background-repeat: no-repeat;
154
- z-index: 3;
155
- }
139
+ .nut-picker-list-panel {
140
+ transform-style: preserve-3d;
141
+ }
156
142
 
157
- .picker-view-panel {
158
- height: $picker-list-height;
159
- flex-grow: 1;
160
- }
143
+ .nut-picker-mask {
144
+ position: absolute;
145
+ top: 0;
146
+ left: 0;
147
+ right: 0;
148
+ bottom: 0;
149
+ background-image: $picker-mask-bg-img;
150
+ background-position: top, bottom;
151
+ background-size: 100% 108px;
152
+ background-repeat: no-repeat;
153
+ z-index: 3;
154
+ }
161
155
 
162
- .nut-picker-content,
163
- .nut-picker-roller {
164
- position: absolute;
165
- top: 108px;
166
- width: 100%;
167
- height: $picker-item-height;
168
- }
156
+ .nut-picker-content,
157
+ .nut-picker-roller {
158
+ position: absolute;
159
+ top: 108px;
160
+ width: 100%;
161
+ height: $picker-item-height;
162
+ }
169
163
 
170
- .nut-picker-content {
171
- background: #fff;
172
- z-index: 2;
173
- overflow: hidden;
174
- }
164
+ .nut-picker-content {
165
+ background: #fff;
166
+ z-index: 2;
167
+ overflow: hidden;
168
+ }
175
169
 
176
- .nut-picker-item,
177
- .nut-picker-roller-item {
178
- white-space: nowrap;
179
- overflow: hidden;
180
- text-overflow: ellipsis;
181
- height: $picker-item-height;
182
- line-height: $picker-item-height;
183
- color: $picker-item-text-color;
184
- font-size: $picker-item-text-font-size;
185
- text-align: center;
186
- }
170
+ .nut-picker-item,
171
+ .nut-picker-roller-item {
172
+ white-space: nowrap;
173
+ overflow: hidden;
174
+ text-overflow: ellipsis;
175
+ height: $picker-item-height;
176
+ line-height: $picker-item-height;
177
+ color: $picker-item-text-color;
178
+ font-size: $picker-item-text-font-size;
179
+ text-align: center;
180
+ }
187
181
 
188
- .nut-picker-item {
189
- font-size: 16px;
190
- background: #fff;
191
- }
182
+ .nut-picker-item {
183
+ font-size: 16px;
184
+ background: #fff;
185
+ }
192
186
 
193
- .nut-picker-roller {
194
- z-index: 1;
195
- transform-style: preserve-3d;
196
- }
187
+ .nut-picker-roller {
188
+ z-index: 1;
189
+ transform-style: preserve-3d;
197
190
 
198
- .nut-picker-roller-item {
199
- backface-visibility: hidden;
200
- -moz-backface-visibility: hidden;
201
- -webkit-backface-visibility: hidden;
202
- position: absolute;
203
- top: 0;
204
- width: 100%;
205
- color: $gray1;
206
- }
191
+ .nut-picker-roller-item {
192
+ backface-visibility: hidden;
193
+ -moz-backface-visibility: hidden;
194
+ -webkit-backface-visibility: hidden;
195
+ position: absolute;
196
+ top: 0;
197
+ width: 100%;
198
+ color: $gray1;
199
+ }
207
200
 
208
- .nut-picker-roller-item-title {
209
- display: block;
210
- width: 100%;
211
- height: 36px;
212
- line-height: 36px;
213
- text-align: center;
214
- color: $gray1;
215
- font-size: $picker-bar-title-font-size;
216
- }
201
+ .nut-picker-roller-item-title {
202
+ display: block;
203
+ width: 100%;
204
+ height: 36px;
205
+ line-height: 36px;
206
+ color: $gray1;
207
+ font-size: $picker-bar-title-font-size;
208
+ }
217
209
 
218
- .nut-picker-roller-item-hidden {
219
- visibility: hidden;
220
- opacity: 0;
210
+ .nut-picker-roller-item-hidden {
211
+ visibility: hidden;
212
+ opacity: 0;
213
+ }
214
+ }
221
215
  }
222
216
 
223
217
  .nut-picker-placeholder {
@@ -1,20 +1,4 @@
1
1
 
2
- .nut-theme-dark {
3
- .nut-popup {
4
- background: $dark6;
5
- }
6
-
7
- .nut-popup {
8
- &__close-icon {
9
- color: $dark1;
10
- }
11
- }
12
-
13
- .nut-popup-slide-center-enter-done {
14
- color: $dark1;
15
- }
16
- }
17
-
18
2
  .nut-popup {
19
3
  position: fixed;
20
4
  max-height: 100%;
@@ -1,4 +1,3 @@
1
-
2
1
  .nut-theme-dark {
3
2
  .nut-progress {
4
3
  &-text {