@nutui/nutui-react-taro 2.3.0-beta.0 → 2.3.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 (254) hide show
  1. package/CHANGELOG.md +91 -0
  2. package/dist/esm/ActionSheet/style/style.css +1 -1
  3. package/dist/esm/ActionSheet.js +2 -2
  4. package/dist/esm/Address/style/style.css +1 -1
  5. package/dist/esm/Address.js +4 -4
  6. package/dist/esm/AnimatingNumbers/style/style.css +1 -1
  7. package/dist/esm/AnimatingNumbers.js +4 -4
  8. package/dist/esm/Audio/style/style.css +1 -1
  9. package/dist/esm/Audio.js +2 -2
  10. package/dist/esm/Avatar/style/style.css +1 -1
  11. package/dist/esm/AvatarCropper.js +2 -2
  12. package/dist/esm/BackTop.js +1 -1
  13. package/dist/esm/Badge/style/style.css +1 -1
  14. package/dist/esm/Badge.js +1 -1
  15. package/dist/esm/Barrage.js +1 -1
  16. package/dist/esm/Button/style/style.css +1 -1
  17. package/dist/esm/Button.js +1 -1
  18. package/dist/esm/Calendar/style/style.css +1 -1
  19. package/dist/esm/Calendar.js +2 -2
  20. package/dist/esm/CalendarCard/style/style.css +1 -1
  21. package/dist/esm/Card/style/style.css +1 -1
  22. package/dist/esm/Card.js +3 -3
  23. package/dist/esm/Cascader/style/style.css +1 -1
  24. package/dist/esm/Cascader.js +4 -4
  25. package/dist/esm/Checkbox/style/style.css +1 -1
  26. package/dist/esm/Collapse/style/style.css +1 -1
  27. package/dist/esm/Collapse.js +2 -2
  28. package/dist/esm/CollapseItem/style/style.css +1 -1
  29. package/dist/esm/CollapseItem.js +1 -1
  30. package/dist/esm/CountDown.js +1 -1
  31. package/dist/esm/DatePicker/style/style.css +1 -1
  32. package/dist/esm/DatePicker.js +3 -3
  33. package/dist/esm/Dialog/style/style.css +1 -1
  34. package/dist/esm/Dialog.js +2 -2
  35. package/dist/esm/Divider/style/style.css +1 -1
  36. package/dist/esm/Divider.js +1 -1
  37. package/dist/esm/Elevator/style/style.css +1 -1
  38. package/dist/esm/Elevator.js +1 -1
  39. package/dist/esm/Empty.js +1 -1
  40. package/dist/esm/Form/style/style.css +1 -1
  41. package/dist/esm/Form.js +1 -1
  42. package/dist/esm/FormItem/style/style.css +1 -1
  43. package/dist/esm/FormItem.js +1 -1
  44. package/dist/esm/Grid/style/style.css +1 -1
  45. package/dist/esm/Grid.js +2 -2
  46. package/dist/esm/GridItem/style/style.css +1 -1
  47. package/dist/esm/GridItem.js +1 -1
  48. package/dist/esm/ImagePreview/style/style.css +1 -1
  49. package/dist/esm/ImagePreview.js +2 -2
  50. package/dist/esm/InfiniteLoading/style/style.css +1 -1
  51. package/dist/esm/InfiniteLoading.js +1 -1
  52. package/dist/esm/Menu.js +1 -1
  53. package/dist/esm/NoticeBar/style/style.css +1 -1
  54. package/dist/esm/NoticeBar.js +1 -1
  55. package/dist/esm/Notify/style/style.css +1 -1
  56. package/dist/esm/Notify.js +1 -1
  57. package/dist/esm/NumberKeyboard/style/style.css +1 -1
  58. package/dist/esm/NumberKeyboard.js +2 -2
  59. package/dist/esm/Pagination/style/style.css +1 -1
  60. package/dist/esm/Pagination.js +1 -1
  61. package/dist/esm/Picker/style/style.css +1 -1
  62. package/dist/esm/Picker.js +2 -2
  63. package/dist/esm/Popover/style/style.css +1 -1
  64. package/dist/esm/Popover.js +2 -2
  65. package/dist/esm/Popup/style/style.css +1 -1
  66. package/dist/esm/Popup.js +1 -1
  67. package/dist/esm/Price/style/style.css +1 -1
  68. package/dist/esm/Price.js +1 -1
  69. package/dist/esm/Progress/style/style.css +1 -1
  70. package/dist/esm/Progress.js +1 -1
  71. package/dist/esm/PullToRefresh/style/style.css +1 -1
  72. package/dist/esm/Radio/style/style.css +1 -1
  73. package/dist/esm/RadioGroup/style/style.css +1 -1
  74. package/dist/esm/Rate/style/style.css +1 -1
  75. package/dist/esm/Rate.js +1 -1
  76. package/dist/esm/SearchBar/style/style.css +1 -1
  77. package/dist/esm/SearchBar.js +1 -1
  78. package/dist/esm/ShortPassword/style/style.css +1 -1
  79. package/dist/esm/ShortPassword.js +2 -2
  80. package/dist/esm/SideNavBar/style/style.css +1 -1
  81. package/dist/esm/SideNavBar.js +2 -2
  82. package/dist/esm/SideNavBarItem/style/style.css +1 -1
  83. package/dist/esm/SideNavBarItem.js +1 -1
  84. package/dist/esm/Signature/style/style.css +1 -1
  85. package/dist/esm/Signature.js +1 -1
  86. package/dist/esm/Skeleton/style/style.css +1 -1
  87. package/dist/esm/Skeleton.js +1 -1
  88. package/dist/esm/Sticky/style/style.css +1 -1
  89. package/dist/esm/Sticky.js +1 -1
  90. package/dist/esm/SubSideNavBar/style/style.css +1 -1
  91. package/dist/esm/SubSideNavBar.js +1 -1
  92. package/dist/esm/Swiper/style/style.css +1 -1
  93. package/dist/esm/Swiper.js +3 -3
  94. package/dist/esm/Tabbar/style/style.css +1 -1
  95. package/dist/esm/Tabbar.js +3 -3
  96. package/dist/esm/TabbarItem/style/style.css +1 -1
  97. package/dist/esm/TabbarItem.js +2 -2
  98. package/dist/esm/Table/style/style.css +1 -1
  99. package/dist/esm/Table.js +1 -1
  100. package/dist/esm/Tabs/style/style.css +1 -1
  101. package/dist/esm/Tabs.js +1 -1
  102. package/dist/esm/Tag/style/style.css +1 -1
  103. package/dist/esm/Tag.js +1 -1
  104. package/dist/esm/TextArea/style/style.css +1 -1
  105. package/dist/esm/TextArea.js +1 -1
  106. package/dist/esm/TimeDetail/style/style.css +1 -1
  107. package/dist/esm/TimeDetail.js +1 -1
  108. package/dist/esm/TimeSelect/style/style.css +1 -1
  109. package/dist/esm/TimeSelect.js +3 -3
  110. package/dist/esm/Toast/style/style.css +1 -1
  111. package/dist/esm/Toast.js +1 -1
  112. package/dist/esm/Tour/style/style.css +1 -1
  113. package/dist/esm/Tour.js +3 -3
  114. package/dist/esm/Uploader/style/style.css +1 -1
  115. package/dist/esm/Uploader.js +3 -3
  116. package/dist/esm/{actionsheet.taro-JAoYHvlk.js → actionsheet.taro-1SIVktd6.js} +5 -5
  117. package/dist/esm/{address.taro-nO-_ydoA.js → address.taro-0oHDMjvi.js} +30 -21
  118. package/dist/esm/{audio.taro-y8NnIlRi.js → audio.taro-TwVp1boF.js} +6 -6
  119. package/dist/esm/{avatarcropper.taro-hP4XFcnl.js → avatarcropper.taro-xTaDqZuh.js} +1 -1
  120. package/dist/esm/{backtop.taro-XH0lVUOf.js → backtop.taro-Y3vOJiXq.js} +1 -1
  121. package/dist/esm/{badge.taro-n0aVp8h1.js → badge.taro-993L861f.js} +3 -3
  122. package/dist/esm/{barrage.taro-hFnjd1q2.js → barrage.taro-HsivAhbE.js} +4 -4
  123. package/dist/esm/{button.taro-5wKLCcpf.js → button.taro-kZJrygfW.js} +6 -6
  124. package/dist/esm/{calendar.taro-uEiqRsaN.js → calendar.taro-UTNDbfde.js} +1 -1
  125. package/dist/esm/{card.taro-UXyp3_T-.js → card.taro-p4PTy-IU.js} +2 -2
  126. package/dist/esm/{cascader.taro-jO6lnNxx.js → cascader.taro-TXNqGqoz.js} +8 -6
  127. package/dist/esm/{collapse.taro-j2-ajiXA.js → collapse.taro-l21-Cvji.js} +1 -1
  128. package/dist/esm/{collapseitem.taro-Pp7qD2-T.js → collapseitem.taro-9w-h_UP6.js} +8 -8
  129. package/dist/esm/{countdown.taro-XGxTdXji.js → countdown.taro-_7iZfeff.js} +1 -1
  130. package/dist/esm/{datepicker.taro-9itGFPcO.js → datepicker.taro-XBRswbnv.js} +1 -1
  131. package/dist/esm/{dialog.taro-OQ9TaCeb.js → dialog.taro-8KQTLwUg.js} +7 -7
  132. package/dist/esm/{divider.taro-BTFED42F.js → divider.taro-H5fKry4P.js} +5 -5
  133. package/dist/esm/{elevator.taro-hYAvey0f.js → elevator.taro-2nbUM3vH.js} +16 -16
  134. package/dist/esm/{empty.taro-GrEP0-Wl.js → empty.taro-9bGPftO1.js} +6 -6
  135. package/dist/esm/{formitem.taro-3OafV3pq.js → formitem.taro-4ofczzxA.js} +6 -5
  136. package/dist/esm/{grid.taro-sQueliqS.js → grid.taro-Hc4q01A_.js} +2 -2
  137. package/dist/esm/{griditem.taro-PbZrfD58.js → griditem.taro-RdNA-Wqv.js} +8 -8
  138. package/dist/esm/{imagepreview.taro-5rkFKsua.js → imagepreview.taro-RbAHvSoF.js} +1 -1
  139. package/dist/esm/{infiniteloading.taro-8E76rsYv.js → infiniteloading.taro-cQRDXtbb.js} +1 -1
  140. package/dist/esm/{menu.taro-R4u8Phdo.js → menu.taro-EytwZPzh.js} +1 -1
  141. package/dist/esm/{noticebar.taro-pMvrZ28h.js → noticebar.taro-bHnEzTvL.js} +11 -13
  142. package/dist/esm/{notify.taro-eql4R4Mx.js → notify.taro-mA9KS8qh.js} +3 -3
  143. package/dist/esm/{numberkeyboard.taro-QCdTmzbs.js → numberkeyboard.taro-5LPPRBFw.js} +2 -2
  144. package/dist/esm/nutui-react.es.js +54 -54
  145. package/dist/esm/{pagination.taro-wmqLpung.js → pagination.taro-RYmB2As4.js} +6 -6
  146. package/dist/esm/{picker.taro-LLmgNrcx.js → picker.taro-77giqVEH.js} +8 -6
  147. package/dist/esm/{popover.taro-A1iAWP4m.js → popover.taro-dXJi9liV.js} +3 -3
  148. package/dist/esm/{popup.taro-lBOaxa0-.js → popup.taro-KqkDIedA.js} +8 -6
  149. package/dist/esm/{price.taro-15WmWCW1.js → price.taro-Z1zR8YWV.js} +5 -5
  150. package/dist/esm/{progress.taro-EBhB1-Vj.js → progress.taro-pStvlrbA.js} +1 -1
  151. package/dist/esm/{rate.taro-8VBdo9ip.js → rate.taro-ZkOVGSDs.js} +3 -3
  152. package/dist/esm/{searchbar.taro-FsmNZ2Dx.js → searchbar.taro-Hmwspp92.js} +10 -10
  153. package/dist/esm/{shortpassword.taro-ag7hvctn.js → shortpassword.taro-641T08nE.js} +14 -14
  154. package/dist/esm/{sidenavbar.taro-ql4QEbJR.js → sidenavbar.taro-jJvAbDgx.js} +5 -5
  155. package/dist/esm/{sidenavbaritem.taro-TQ2PoDgR.js → sidenavbaritem.taro-AxJNRAdi.js} +1 -1
  156. package/dist/esm/{signature.taro-VciVow8A.js → signature.taro-y3qxnKMv.js} +1 -1
  157. package/dist/esm/{skeleton.taro-Ekd2x2Bf.js → skeleton.taro-Pg7WtP0e.js} +7 -7
  158. package/dist/esm/{sticky.taro-tOS_Ez6U.js → sticky.taro-MmKUU2Wv.js} +2 -2
  159. package/dist/esm/{subsidenavbar.taro-2qABjgZD.js → subsidenavbar.taro-Zy52MDDG.js} +6 -6
  160. package/dist/esm/{tabbar.taro-NpHMO2Nw.js → tabbar.taro-lM7-vxOz.js} +4 -4
  161. package/dist/esm/{tabbaritem.taro-L63nEc64.js → tabbaritem.taro-Q5uY6b9_.js} +2 -2
  162. package/dist/esm/{table.taro-R1qOsnvI.js → table.taro-NO-C8ayh.js} +11 -11
  163. package/dist/esm/{tabs.taro-Nk8l2XgP.js → tabs.taro-HezOZhRs.js} +1 -1
  164. package/dist/esm/{tag.taro-XwUNZZRQ.js → tag.taro-5KC_wObY.js} +5 -5
  165. package/dist/esm/{textarea.taro-xZdHw5kY.js → textarea.taro-VYqlTewy.js} +3 -3
  166. package/dist/esm/{timedetail.taro-U-5mkxbs.js → timedetail.taro-TF9Wcblh.js} +1 -1
  167. package/dist/esm/{timeselect.taro-Xo0BrEs_.js → timeselect.taro-HE0xZtNu.js} +4 -4
  168. package/dist/esm/{toast.taro-4n8ahzlt.js → toast.taro-eCBeePr8.js} +8 -8
  169. package/dist/esm/{tour.taro-1QD3qwN7.js → tour.taro-omnaIavI.js} +1 -1
  170. package/dist/esm/types/src/locales/zh-TW.d.ts +2 -2
  171. package/dist/esm/types/src/packages/animate/demo.d.ts +0 -1
  172. package/dist/esm/types/src/packages/animate/demo.taro.d.ts +0 -1
  173. package/dist/esm/types/src/packages/button/demo.d.ts +0 -1
  174. package/dist/esm/types/src/packages/button/demo.taro.d.ts +0 -1
  175. package/dist/esm/types/src/packages/configprovider/types.d.ts +1 -1
  176. package/dist/esm/types/src/packages/elevator/demo.d.ts +0 -1
  177. package/dist/esm/types/src/packages/elevator/demo.taro.d.ts +0 -1
  178. package/dist/esm/types/src/packages/infiniteloading/infiniteloading.taro.d.ts +1 -1
  179. package/dist/esm/types/src/packages/popup/demo.d.ts +0 -1
  180. package/dist/esm/types/src/packages/popup/demo.taro.d.ts +0 -1
  181. package/dist/esm/types/src/packages/range/demo.d.ts +0 -1
  182. package/dist/esm/types/src/packages/range/demo.taro.d.ts +0 -1
  183. package/dist/esm/types/src/packages/tabbar/demo.d.ts +0 -1
  184. package/dist/esm/types/src/packages/tabbar/demo.taro.d.ts +0 -1
  185. package/dist/esm/{uploader.taro-ukKw9zaG.js → uploader.taro-SAahCKRj.js} +20 -20
  186. package/dist/locales/base.js +1 -1
  187. package/dist/locales/en-US.js +1 -1
  188. package/dist/locales/id-ID.js +1 -1
  189. package/dist/locales/tr-TR.js +1 -1
  190. package/dist/locales/zh-CN.js +1 -1
  191. package/dist/locales/zh-TW.d.ts +2 -2
  192. package/dist/locales/zh-TW.js +19 -17
  193. package/dist/locales/zh-UG.js +1 -1
  194. package/dist/nutui.react.es.js +276 -280
  195. package/dist/nutui.react.umd.js +276 -280
  196. package/dist/packages/actionsheet/actionsheet.scss +4 -4
  197. package/dist/packages/animatingnumbers/countup.scss +5 -5
  198. package/dist/packages/audio/audio.scss +6 -6
  199. package/dist/packages/avatar/avatar.scss +1 -1
  200. package/dist/packages/badge/badge.scss +5 -5
  201. package/dist/packages/button/button.scss +66 -65
  202. package/dist/packages/calendar/calendar.scss +4 -5
  203. package/dist/packages/calendarcard/calendarcard.scss +3 -3
  204. package/dist/packages/card/card.scss +8 -8
  205. package/dist/packages/cascader/cascader.scss +7 -2
  206. package/dist/packages/checkbox/checkbox.scss +12 -1
  207. package/dist/packages/collapseitem/collapseitem.scss +9 -9
  208. package/dist/packages/dialog/dialog.scss +7 -7
  209. package/dist/packages/divider/divider.scss +7 -7
  210. package/dist/packages/elevator/elevator.scss +12 -12
  211. package/dist/packages/form/form.scss +4 -4
  212. package/dist/packages/formitem/formitem.scss +5 -5
  213. package/dist/packages/grid/grid.scss +1 -1
  214. package/dist/packages/griditem/griditem.scss +13 -13
  215. package/dist/packages/imagepreview/imagepreview.scss +1 -1
  216. package/dist/packages/infiniteloading/infiniteloading.scss +4 -4
  217. package/dist/packages/noticebar/noticebar.scss +38 -43
  218. package/dist/packages/notify/notify.scss +15 -8
  219. package/dist/packages/pagination/pagination.scss +9 -9
  220. package/dist/packages/picker/picker.scss +5 -5
  221. package/dist/packages/popover/popover.scss +20 -20
  222. package/dist/packages/popup/popup.scss +4 -4
  223. package/dist/packages/price/price.scss +7 -7
  224. package/dist/packages/progress/progress.scss +1 -1
  225. package/dist/packages/pulltorefresh/pulltorefresh.scss +2 -2
  226. package/dist/packages/radio/radio.scss +1 -1
  227. package/dist/packages/rate/rate.scss +7 -7
  228. package/dist/packages/searchbar/searchbar.scss +22 -18
  229. package/dist/packages/shortpassword/shortpassword.scss +11 -11
  230. package/dist/packages/sidenavbar/sidenavbar.scss +5 -5
  231. package/dist/packages/sidenavbaritem/sidenavbaritem.scss +2 -2
  232. package/dist/packages/signature/signature.scss +2 -2
  233. package/dist/packages/skeleton/skeleton.scss +5 -5
  234. package/dist/packages/sticky/sticky.scss +1 -1
  235. package/dist/packages/subsidenavbar/subsidenavbar.scss +4 -4
  236. package/dist/packages/swiper/swiper.scss +4 -4
  237. package/dist/packages/tabbar/tabbar.scss +3 -3
  238. package/dist/packages/tabbaritem/tabbaritem.scss +1 -1
  239. package/dist/packages/table/table.scss +22 -22
  240. package/dist/packages/tabs/tabs.scss +15 -10
  241. package/dist/packages/tag/tag.scss +10 -10
  242. package/dist/packages/textarea/textarea.scss +5 -5
  243. package/dist/packages/timedetail/timedetail.scss +1 -1
  244. package/dist/packages/timeselect/timeselect.scss +2 -2
  245. package/dist/packages/toast/toast.scss +8 -8
  246. package/dist/packages/uploader/uploader.scss +14 -14
  247. package/dist/style.css +1 -1
  248. package/dist/style.mjs +1 -1
  249. package/dist/styles/variables-jmapp.scss +43 -14
  250. package/dist/styles/variables.scss +43 -25
  251. package/dist/types/locales/zh-TW.d.ts +2 -2
  252. package/dist/types/packages/configprovider/types.d.ts +1 -1
  253. package/dist/types/packages/infiniteloading/infiniteloading.taro.d.ts +1 -1
  254. package/package.json +2 -2
@@ -16,7 +16,7 @@
16
16
  display: none;
17
17
  }
18
18
 
19
- &__header {
19
+ &-header {
20
20
  position: relative;
21
21
  display: flex;
22
22
  width: 100%;
@@ -41,13 +41,13 @@
41
41
  }
42
42
  }
43
43
 
44
- &__title {
44
+ &-title {
45
45
  color: $collapse-item-color;
46
46
  display: flex;
47
47
  align-items: center;
48
48
  }
49
49
 
50
- &__extra {
50
+ &-extra {
51
51
  flex: 1;
52
52
  display: flex;
53
53
  justify-content: flex-end;
@@ -58,14 +58,14 @@
58
58
  color: $collapse-item-extra-color;
59
59
  }
60
60
 
61
- &__icon-box {
61
+ &-icon-box {
62
62
  display: flex;
63
63
  padding-right: 40px;
64
64
  position: relative;
65
65
  color: $color-text;
66
66
  }
67
67
 
68
- &__icon {
68
+ &-icon {
69
69
  display: flex;
70
70
  align-items: center;
71
71
  position: absolute;
@@ -76,19 +76,19 @@
76
76
  transition: transform 0.3s;
77
77
  }
78
78
 
79
- &__header.disabled {
79
+ &-header.disabled {
80
80
  color: $collapse-item-disabled-color;
81
81
 
82
- .nut-collapse-item__title {
82
+ .nut-collapse-item-title {
83
83
  color: $collapse-item-disabled-color;
84
84
  }
85
85
 
86
- .nut-collapse-item__icon {
86
+ .nut-collapse-item-icon {
87
87
  color: $collapse-item-disabled-color;
88
88
  }
89
89
  }
90
90
 
91
- &__content {
91
+ &-content {
92
92
  overflow: hidden;
93
93
  display: block;
94
94
  color: $collapse-wrapper-content-color;
@@ -14,7 +14,7 @@
14
14
  --nutui-overlay-zIndex: 1200;
15
15
  }
16
16
 
17
- &__outer {
17
+ &-outer {
18
18
  position: fixed;
19
19
  max-height: 100%;
20
20
  overflow-y: auto;
@@ -32,7 +32,7 @@
32
32
  animation-duration: 0.3s;
33
33
  }
34
34
 
35
- &__header {
35
+ &-header {
36
36
  display: block;
37
37
  text-align: center;
38
38
  font-size: $font-size-large;
@@ -41,7 +41,7 @@
41
41
  @include oneline-ellipsis();
42
42
  }
43
43
 
44
- &__content {
44
+ &-content {
45
45
  width: 100%;
46
46
  margin: $dialog-content-margin;
47
47
  max-height: $dialog-content-max-height;
@@ -54,7 +54,7 @@
54
54
  text-align: $dialog-content-text-align;
55
55
  }
56
56
 
57
- &__footer {
57
+ &-footer {
58
58
  display: flex;
59
59
  align-items: center;
60
60
  width: 100%;
@@ -67,11 +67,11 @@
67
67
  min-width: 100%;
68
68
  margin: 0;
69
69
 
70
- &.nut-dialog__footer-ok {
70
+ &.nut-dialog-footer-ok {
71
71
  order: 1;
72
72
  }
73
73
 
74
- &.nut-dialog__footer-cancel {
74
+ &.nut-dialog-footer-cancel {
75
75
  border: 0;
76
76
  color: $color-text;
77
77
  order: 2;
@@ -86,7 +86,7 @@
86
86
  min-width: $dialog-footer-button-min-width;
87
87
  }
88
88
 
89
- &-cancel.nut-dialog__footer-cancel {
89
+ &-cancel.nut-dialog-footer-cancel {
90
90
  margin-right: $dialog-footer-cancel-margin-right;
91
91
  }
92
92
 
@@ -17,9 +17,9 @@
17
17
  flex: 1;
18
18
  }
19
19
 
20
- &__center,
21
- &__left,
22
- &__right {
20
+ &-center,
21
+ &-left,
22
+ &-right {
23
23
  &::before {
24
24
  margin-right: $divider-spacing;
25
25
  }
@@ -29,26 +29,26 @@
29
29
  }
30
30
  }
31
31
 
32
- &__left {
32
+ &-left {
33
33
  &::before {
34
34
  max-width: $divider-side-width;
35
35
  }
36
36
  }
37
37
 
38
- &__right {
38
+ &-right {
39
39
  &::after {
40
40
  max-width: $divider-side-width;
41
41
  }
42
42
  }
43
43
 
44
- &__hairline {
44
+ &-hairline {
45
45
  &::before,
46
46
  &::after {
47
47
  transform: scaleY(0.5);
48
48
  }
49
49
  }
50
50
 
51
- &__vertical {
51
+ &-vertical {
52
52
  position: relative;
53
53
  top: $divider-vertical-top;
54
54
  display: inline-block;
@@ -4,7 +4,7 @@
4
4
  position: relative;
5
5
  overflow: hidden;
6
6
 
7
- &__list {
7
+ &-list {
8
8
  display: block;
9
9
  position: relative;
10
10
  top: 0;
@@ -12,7 +12,7 @@
12
12
  font-size: $elevator-list-font-size;
13
13
  color: $elevator-list-color;
14
14
 
15
- &__inner {
15
+ &-inner {
16
16
  height: 100%;
17
17
  width: 100%;
18
18
  display: block;
@@ -20,10 +20,10 @@
20
20
  overflow: auto;
21
21
  }
22
22
 
23
- &__item {
23
+ &-item {
24
24
  display: block;
25
25
 
26
- &__code {
26
+ &-code {
27
27
  display: flex;
28
28
  position: relative;
29
29
  height: $elevator-list-item-code-height;
@@ -37,20 +37,20 @@
37
37
  background-color: $elevator-list-item-code-background-color;
38
38
  }
39
39
 
40
- &__name {
40
+ &-name {
41
41
  display: flex;
42
42
  align-items: center;
43
43
  padding: $elevator-list-item-padding;
44
44
  height: $elevator-list-item-name-height;
45
45
  line-height: $elevator-list-item-name-line-height;
46
46
 
47
- &--highcolor {
47
+ &-highcolor {
48
48
  color: $color-primary;
49
49
  }
50
50
  }
51
51
  }
52
52
 
53
- &__fixed {
53
+ &-fixed {
54
54
  width: 100%;
55
55
  position: absolute;
56
56
  top: 0;
@@ -68,7 +68,7 @@
68
68
  }
69
69
  }
70
70
 
71
- &__code--current {
71
+ &-code-current {
72
72
  position: absolute;
73
73
  right: $elevator-list-item-code-current-right;
74
74
  top: $elevator-list-item-code-current-top;
@@ -82,7 +82,7 @@
82
82
  text-align: $elevator-list-item-code-current-text-align;
83
83
  }
84
84
 
85
- &__bars {
85
+ &-bars {
86
86
  position: absolute;
87
87
  right: $elevator-bars-right;
88
88
  top: $elevator-bars-top;
@@ -95,12 +95,12 @@
95
95
  text-align: center;
96
96
  z-index: $elevator-bars-z-index;
97
97
 
98
- &__inner {
99
- &__item {
98
+ &-inner {
99
+ &-item {
100
100
  display: block;
101
101
  padding: $elevator-bars-inner-item-padding;
102
102
 
103
- &--active {
103
+ &-active {
104
104
  font-weight: $font-weight-bold;
105
105
  color: $elevator-bars-active-color;
106
106
  }
@@ -1,12 +1,12 @@
1
1
 
2
- .form-layout-right .nut-form-item__label {
2
+ .form-layout-right .nut-form-item-label {
3
3
  text-align: right;
4
4
  font-size: 14px;
5
5
  padding-right: 24px;
6
6
  white-space: nowrap;
7
7
  }
8
8
 
9
- .form-layout-left .nut-form-item__label {
9
+ .form-layout-left .nut-form-item-label {
10
10
  position: relative;
11
11
  text-align: left;
12
12
  font-size: 14px;
@@ -27,14 +27,14 @@
27
27
  white-space: nowrap;
28
28
  }
29
29
 
30
- .form-layout-top .nut-form-item__label {
30
+ .form-layout-top .nut-form-item-label {
31
31
  padding-bottom: 4px;
32
32
  display: block;
33
33
  font-size: 14px;
34
34
  padding-right: 24px;
35
35
  }
36
36
 
37
- .form-layout-top .nut-form-item__body {
37
+ .form-layout-top .nut-form-item-body {
38
38
  margin-left: 0;
39
39
  width: 100%;
40
40
  }
@@ -11,7 +11,7 @@
11
11
  }
12
12
  }
13
13
 
14
- &__label {
14
+ &-label {
15
15
  font-size: $form-item-label-font-size;
16
16
  font-weight: normal;
17
17
  width: $form-item-label-width;
@@ -30,12 +30,12 @@
30
30
  }
31
31
  }
32
32
 
33
- &__body {
33
+ &-body {
34
34
  flex: 1;
35
35
  display: flex !important;
36
36
  flex-direction: column;
37
37
 
38
- &__slots {
38
+ &-slots {
39
39
  text-align: $form-item-body-slots-text-align;
40
40
 
41
41
  .nut-input {
@@ -61,14 +61,14 @@
61
61
  .nut-textarea {
62
62
  padding: 0 !important;
63
63
 
64
- .nut-textarea__textarea {
64
+ .nut-textarea-textarea {
65
65
  font: inherit;
66
66
  text-align: $form-item-body-input-text-align;
67
67
  }
68
68
  }
69
69
  }
70
70
 
71
- &__tips {
71
+ &-tips {
72
72
  text-align: $form-item-tip-text-align;
73
73
  font-size: $form-item-tip-font-size;
74
74
  color: $form-item-error-message-color;
@@ -4,7 +4,7 @@
4
4
  flex-wrap: wrap;
5
5
  border: 0 solid $grid-border-color;
6
6
 
7
- &__border {
7
+ &-border {
8
8
  border-top-width: 1px;
9
9
  border-left-width: 1px;
10
10
  }
@@ -5,7 +5,7 @@
5
5
 
6
6
  $block: &;
7
7
 
8
- &__text {
8
+ &-text {
9
9
  color: $grid-item-text-color;
10
10
  font-size: $grid-item-text-font-size;
11
11
  line-height: 1.5;
@@ -13,7 +13,7 @@
13
13
  margin: $grid-item-text-margin 0 0 0;
14
14
  }
15
15
 
16
- &__content {
16
+ &-content {
17
17
  display: flex;
18
18
  flex-direction: column;
19
19
  box-sizing: border-box;
@@ -22,53 +22,53 @@
22
22
  background: $grid-item-content-bg-color;
23
23
  border: 0 solid $grid-border-color;
24
24
 
25
- &--border {
25
+ &-border {
26
26
  border-right-width: 1px;
27
27
  border-bottom-width: 1px;
28
28
  }
29
29
 
30
- &--surround {
30
+ &-surround {
31
31
  border-top-width: 1px;
32
32
  border-left-width: 1px;
33
33
  }
34
34
 
35
- &--center {
35
+ &-center {
36
36
  align-items: center;
37
37
  justify-content: center;
38
38
  }
39
39
 
40
- &--square {
40
+ &-square {
41
41
  position: absolute;
42
42
  top: 0;
43
43
  right: 0;
44
44
  left: 0;
45
45
  }
46
46
 
47
- &--reverse {
47
+ &-reverse {
48
48
  flex-direction: column-reverse;
49
49
 
50
- #{$block}__text {
50
+ #{$block}-text {
51
51
  margin: 0 0 $grid-item-text-margin;
52
52
  }
53
53
  }
54
54
 
55
- &--horizontal {
55
+ &-horizontal {
56
56
  flex-direction: row;
57
57
 
58
- #{$block}__text {
58
+ #{$block}-text {
59
59
  margin: 0 0 0 $grid-item-text-margin;
60
60
  }
61
61
  }
62
62
 
63
- &--horizontal#{&}--reverse {
63
+ &-horizontal#{&}-reverse {
64
64
  flex-direction: row-reverse;
65
65
 
66
- #{$block}__text {
66
+ #{$block}-text {
67
67
  margin: 0 $grid-item-text-margin 0 0;
68
68
  }
69
69
  }
70
70
 
71
- &--clickable {
71
+ &-clickable {
72
72
  cursor: pointer;
73
73
 
74
74
  &::before {
@@ -17,7 +17,7 @@
17
17
  left: 0;
18
18
  right: 0;
19
19
  background: transparent;
20
- color: $color-title;
20
+ color: $white;
21
21
 
22
22
  .arrow {
23
23
  position: absolute;
@@ -21,8 +21,8 @@
21
21
  display: flex;
22
22
  justify-content: center;
23
23
  align-items: center;
24
- width: $pulltorefresh-top-icon-width;
25
- height: $pulltorefresh-top-icon-height;
24
+ width: $pulltorefresh-icon-width;
25
+ height: $pulltorefresh-icon-height;
26
26
  margin-bottom: 4px;
27
27
  }
28
28
  }
@@ -44,8 +44,8 @@
44
44
  align-items: center;
45
45
 
46
46
  &-icons {
47
- width: $infiniteloading-bottom-icon-size;
48
- height: $infiniteloading-bottom-icon-size;
47
+ width: $infiniteloading-icon-size;
48
+ height: $infiniteloading-icon-size;
49
49
  margin-right: 8px;
50
50
  }
51
51
  }
@@ -12,14 +12,14 @@
12
12
  color: $noticebar-color;
13
13
  border-radius: $noticebar-border-radius;
14
14
 
15
- &.wrapable {
15
+ &-wrapable {
16
16
  height: auto;
17
17
  padding: $noticebar-wrap-padding;
18
18
 
19
- .wrap {
19
+ .nut-noticebar-box-wrap {
20
20
  height: auto;
21
21
 
22
- .content {
22
+ .nut-noticebar-box-wrap-content {
23
23
  position: relative;
24
24
  white-space: normal;
25
25
  word-wrap: break-word;
@@ -27,12 +27,7 @@
27
27
  }
28
28
  }
29
29
 
30
- .withicon {
31
- position: relative;
32
- padding-right: 40px;
33
- }
34
-
35
- .left-icon {
30
+ &-left-icon {
36
31
  display: flex;
37
32
  height: $noticebar-left-icon-width;
38
33
  min-width: $noticebar-left-icon-width;
@@ -40,7 +35,7 @@
40
35
  background-size: 100% 100%;
41
36
  }
42
37
 
43
- .right-icon {
38
+ &-right-icon {
44
39
  display: flex;
45
40
  align-items: center;
46
41
  justify-content: center;
@@ -48,24 +43,24 @@
48
43
  margin-left: $noticebar-icon-gap;
49
44
  }
50
45
 
51
- .wrap {
46
+ &-wrap {
52
47
  display: flex;
53
48
  flex: 1;
54
49
  height: $noticebar-line-height;
55
50
  line-height: $noticebar-line-height;
56
51
  overflow: hidden;
57
52
  position: relative;
58
- }
59
-
60
- .content {
61
- position: absolute;
62
- white-space: nowrap;
63
53
 
64
- &.nut-ellipsis {
65
- max-width: 100%;
54
+ .nut-noticebar-box-wrap-content {
55
+ position: absolute;
66
56
  white-space: nowrap;
67
- overflow: hidden;
68
- text-overflow: ellipsis;
57
+
58
+ &.nut-ellipsis {
59
+ max-width: 100%;
60
+ white-space: nowrap;
61
+ overflow: hidden;
62
+ text-overflow: ellipsis;
63
+ }
69
64
  }
70
65
  }
71
66
 
@@ -82,24 +77,6 @@
82
77
  }
83
78
  }
84
79
 
85
- @keyframes nut-notice-bar-play {
86
- to {
87
- transform: translate3d(-100%, 0, 0);
88
- }
89
- }
90
-
91
- @keyframes nut-notice-bar-play-infinite {
92
- to {
93
- transform: translate3d(-100%, 0, 0);
94
- }
95
- }
96
-
97
- @keyframes nut-notice-bar-play-vertical {
98
- to {
99
- transform: translateY($noticebar-height);
100
- }
101
- }
102
-
103
80
  .nut-noticebar-vertical {
104
81
  position: relative;
105
82
  display: flex;
@@ -111,7 +88,7 @@
111
88
  background: $noticebar-background;
112
89
  color: $noticebar-color;
113
90
 
114
- .left-icon {
91
+ .nut-noticebar-box-left-icon {
115
92
  height: $noticebar-left-icon-width;
116
93
  min-width: $noticebar-left-icon-width;
117
94
  margin: $noticebar-icon-gap;
@@ -120,13 +97,13 @@
120
97
  align-self: center;
121
98
  }
122
99
 
123
- .horseLamp-list {
100
+ .nut-noticebar-box-horseLamp-list {
124
101
  margin: 0;
125
102
  padding: 0;
126
103
  display: block;
127
104
  flex: 1;
128
105
 
129
- .horseLamp-list-item {
106
+ &-item {
130
107
  display: flex;
131
108
  align-items: center;
132
109
  height: $noticebar-height;
@@ -134,7 +111,7 @@
134
111
  }
135
112
  }
136
113
 
137
- .nut-noticebar__inner {
114
+ .nut-noticebar-box-wrap {
138
115
  display: flex;
139
116
  height: 100%;
140
117
  width: 100%;
@@ -143,7 +120,7 @@
143
120
  flex-direction: column;
144
121
  }
145
122
 
146
- .go {
123
+ .nut-noticebar-box-right-icon {
147
124
  align-self: center;
148
125
  display: flex;
149
126
  justify-content: center;
@@ -151,4 +128,22 @@
151
128
  margin-left: $noticebar-icon-gap;
152
129
  }
153
130
  }
131
+
132
+ @keyframes nut-notice-bar-play {
133
+ to {
134
+ transform: translate3d(-100%, 0, 0);
135
+ }
136
+ }
137
+
138
+ @keyframes nut-notice-bar-play-infinite {
139
+ to {
140
+ transform: translate3d(-100%, 0, 0);
141
+ }
142
+ }
143
+
144
+ @keyframes nut-notice-bar-play-vertical {
145
+ to {
146
+ transform: translateY($noticebar-height);
147
+ }
148
+ }
154
149
  }
@@ -52,10 +52,9 @@
52
52
  white-space: pre-wrap;
53
53
  word-wrap: break-word;
54
54
  height: $notify-height;
55
- &--popup-top,
56
- &--popup-bottom {
55
+ &-popup-top,
56
+ &-popup-bottom {
57
57
  position: fixed;
58
- top: 0;
59
58
  left: 0;
60
59
  width: 100%;
61
60
  overflow-y: auto;
@@ -63,23 +62,31 @@
63
62
  z-index: 9999;
64
63
  }
65
64
 
66
- &--base {
65
+ &-popup-top {
66
+ top: 0;
67
+ }
68
+
69
+ &-popup-bottom {
70
+ bottom: 0;
71
+ }
72
+
73
+ &-base {
67
74
  background: $notify-base-background-color;
68
75
  }
69
76
 
70
- &--primary {
77
+ &-primary {
71
78
  background: $notify-primary-background-color;
72
79
  }
73
80
 
74
- &--success {
81
+ &-success {
75
82
  background: $notify-success-background-color;
76
83
  }
77
84
 
78
- &--danger {
85
+ &-danger {
79
86
  background: $notify-danger-background-color;
80
87
  }
81
88
 
82
- &--warning {
89
+ &-warning {
83
90
  background: $notify-warning-background-color;
84
91
  }
85
92
  }
@@ -3,20 +3,20 @@
3
3
  font-size: $pagination-font-size;
4
4
  color: $pagination-color;
5
5
 
6
- &__contain {
6
+ &-contain {
7
7
  display: flex;
8
8
  }
9
9
 
10
- &__simple {
10
+ &-simple {
11
11
  height: 39px;
12
12
  width: 124px;
13
13
  line-height: 39px;
14
14
  text-align: center;
15
15
  }
16
16
 
17
- &__prev,
18
- &__item,
19
- &__next {
17
+ &-prev,
18
+ &-item,
19
+ &-next {
20
20
  height: 39px;
21
21
  min-width: 39px;
22
22
  flex-shrink: 0;
@@ -30,13 +30,13 @@
30
30
  cursor: pointer;
31
31
  }
32
32
 
33
- &__prev,
34
- &__item {
33
+ &-prev,
34
+ &-item {
35
35
  border-right: none;
36
36
  }
37
37
 
38
- &__prev,
39
- &__next {
38
+ &-prev,
39
+ &-next {
40
40
  padding: $pagination-prev-next-padding;
41
41
  }
42
42