@nutui/nutui-react 2.3.0-beta.0 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (203) hide show
  1. package/CHANGELOG.md +82 -0
  2. package/dist/esm/ActionSheet/style/style.css +1 -1
  3. package/dist/esm/ActionSheet.js +4 -4
  4. package/dist/esm/Address/style/style.css +1 -1
  5. package/dist/esm/Address.js +5 -3
  6. package/dist/esm/Animate.js +2 -3
  7. package/dist/esm/AnimatingNumbers/style/style.css +1 -1
  8. package/dist/esm/AnimatingNumbers.js +5 -5
  9. package/dist/esm/Audio/style/style.css +1 -1
  10. package/dist/esm/Audio.js +5 -5
  11. package/dist/esm/Avatar/style/style.css +1 -1
  12. package/dist/esm/Avatar.js +2 -2
  13. package/dist/esm/Badge/style/style.css +1 -1
  14. package/dist/esm/Button/style/style.css +1 -1
  15. package/dist/esm/Calendar/style/style.css +1 -1
  16. package/dist/esm/CalendarCard/style/style.css +1 -1
  17. package/dist/esm/CalendarItem.js +2 -3
  18. package/dist/esm/Card/style/style.css +1 -1
  19. package/dist/esm/Cascader/style/style.css +1 -1
  20. package/dist/esm/Checkbox/style/style.css +1 -1
  21. package/dist/esm/Collapse/style/style.css +1 -1
  22. package/dist/esm/CollapseItem/style/style.css +1 -1
  23. package/dist/esm/CountDown.js +1 -1
  24. package/dist/esm/DatePicker/style/style.css +1 -1
  25. package/dist/esm/DatePicker.js +2 -3
  26. package/dist/esm/Dialog/style/style.css +1 -1
  27. package/dist/esm/Dialog.js +6 -6
  28. package/dist/esm/Divider/style/style.css +1 -1
  29. package/dist/esm/Divider.js +1 -2
  30. package/dist/esm/Elevator/style/style.css +1 -1
  31. package/dist/esm/Elevator.js +12 -15
  32. package/dist/esm/Empty.js +1 -2
  33. package/dist/esm/Form/style/style.css +1 -1
  34. package/dist/esm/FormItem/style/style.css +1 -1
  35. package/dist/esm/Grid/style/style.css +1 -1
  36. package/dist/esm/Grid.js +1 -1
  37. package/dist/esm/GridItem/style/style.css +1 -1
  38. package/dist/esm/Image.js +1 -1
  39. package/dist/esm/ImagePreview/style/style.css +1 -1
  40. package/dist/esm/ImagePreview.js +2 -2
  41. package/dist/esm/InfiniteLoading/style/style.css +1 -1
  42. package/dist/esm/InfiniteLoading.js +3 -56
  43. package/dist/esm/InputNumber.js +1 -2
  44. package/dist/esm/Menu.js +6 -2
  45. package/dist/esm/NavBar.js +1 -2
  46. package/dist/esm/NoticeBar/style/style.css +1 -1
  47. package/dist/esm/NoticeBar.js +12 -16
  48. package/dist/esm/Notify/style/style.css +1 -1
  49. package/dist/esm/Notify.js +2 -3
  50. package/dist/esm/NumberKeyboard/style/style.css +1 -1
  51. package/dist/esm/NumberKeyboard.js +1 -0
  52. package/dist/esm/Pagination/style/style.css +1 -1
  53. package/dist/esm/Pagination.js +6 -6
  54. package/dist/esm/Picker/style/style.css +1 -1
  55. package/dist/esm/Picker.js +7 -5
  56. package/dist/esm/Popover/style/style.css +1 -1
  57. package/dist/esm/Popover.js +2 -2
  58. package/dist/esm/Popup/style/style.css +1 -1
  59. package/dist/esm/Price/style/style.css +1 -1
  60. package/dist/esm/Price.js +5 -5
  61. package/dist/esm/Progress/style/style.css +1 -1
  62. package/dist/esm/Progress.js +2 -3
  63. package/dist/esm/PullToRefresh/style/style.css +1 -1
  64. package/dist/esm/Radio/style/style.css +1 -1
  65. package/dist/esm/RadioGroup/style/style.css +1 -1
  66. package/dist/esm/Range.js +1 -2
  67. package/dist/esm/Rate/style/style.css +1 -1
  68. package/dist/esm/Rate.js +2 -2
  69. package/dist/esm/SearchBar/style/style.css +1 -1
  70. package/dist/esm/SearchBar.js +8 -8
  71. package/dist/esm/ShortPassword/style/style.css +1 -1
  72. package/dist/esm/ShortPassword.js +13 -13
  73. package/dist/esm/SideNavBar/style/style.css +1 -1
  74. package/dist/esm/SideNavBar.js +4 -4
  75. package/dist/esm/SideNavBarItem/style/style.css +1 -1
  76. package/dist/esm/SideNavBarItem.js +1 -1
  77. package/dist/esm/Signature/style/style.css +1 -1
  78. package/dist/esm/Signature.js +2 -2
  79. package/dist/esm/Skeleton/style/style.css +1 -1
  80. package/dist/esm/Skeleton.js +7 -7
  81. package/dist/esm/Steps.js +1 -2
  82. package/dist/esm/Sticky/style/style.css +1 -1
  83. package/dist/esm/Sticky.js +2 -3
  84. package/dist/esm/SubSideNavBar/style/style.css +1 -1
  85. package/dist/esm/SubSideNavBar.js +6 -6
  86. package/dist/esm/Swiper/style/style.css +1 -1
  87. package/dist/esm/Swiper.js +3 -5
  88. package/dist/esm/Tabbar/style/style.css +1 -1
  89. package/dist/esm/Tabbar.js +3 -3
  90. package/dist/esm/TabbarItem/style/style.css +1 -1
  91. package/dist/esm/Table/style/style.css +1 -1
  92. package/dist/esm/Table.js +9 -10
  93. package/dist/esm/Tabs/style/style.css +1 -1
  94. package/dist/esm/Tag/style/style.css +1 -1
  95. package/dist/esm/Tag.js +1 -2
  96. package/dist/esm/TextArea/style/style.css +1 -1
  97. package/dist/esm/TextArea.js +3 -3
  98. package/dist/esm/TimeDetail/style/style.css +1 -1
  99. package/dist/esm/TimeDetail.js +1 -1
  100. package/dist/esm/TimeSelect/style/style.css +1 -1
  101. package/dist/esm/TimeSelect.js +5 -8
  102. package/dist/esm/Toast/style/style.css +1 -1
  103. package/dist/esm/Toast.js +4 -4
  104. package/dist/esm/Tour/style/style.css +1 -1
  105. package/dist/esm/Uploader/style/style.css +1 -1
  106. package/dist/esm/Uploader.js +21 -21
  107. package/dist/esm/badge2.js +2 -2
  108. package/dist/esm/button2.js +1 -2
  109. package/dist/esm/cascader2.js +3 -3
  110. package/dist/esm/checkbox2.js +1 -2
  111. package/dist/esm/collapseitem2.js +7 -7
  112. package/dist/esm/context5.js +1 -1
  113. package/dist/esm/formitem2.js +8 -7
  114. package/dist/esm/griditem2.js +2 -3
  115. package/dist/esm/menuitem2.js +1 -2
  116. package/dist/esm/popup2.js +2 -3
  117. package/dist/esm/radio2.js +2 -4
  118. package/dist/esm/tabbaritem2.js +1 -1
  119. package/dist/esm/tabs2.js +2 -4
  120. package/dist/esm/types/src/locales/zh-TW.d.ts +2 -2
  121. package/dist/esm/types/src/packages/animate/demo.d.ts +0 -1
  122. package/dist/esm/types/src/packages/animate/demo.taro.d.ts +0 -1
  123. package/dist/esm/types/src/packages/button/demo.d.ts +0 -1
  124. package/dist/esm/types/src/packages/button/demo.taro.d.ts +0 -1
  125. package/dist/esm/types/src/packages/configprovider/types.d.ts +1 -1
  126. package/dist/esm/types/src/packages/elevator/demo.d.ts +0 -1
  127. package/dist/esm/types/src/packages/elevator/demo.taro.d.ts +0 -1
  128. package/dist/esm/types/src/packages/infiniteloading/infiniteloading.taro.d.ts +1 -1
  129. package/dist/esm/types/src/packages/popup/demo.d.ts +0 -1
  130. package/dist/esm/types/src/packages/popup/demo.taro.d.ts +0 -1
  131. package/dist/esm/types/src/packages/range/demo.d.ts +0 -1
  132. package/dist/esm/types/src/packages/range/demo.taro.d.ts +0 -1
  133. package/dist/esm/types/src/packages/tabbar/demo.d.ts +0 -1
  134. package/dist/esm/types/src/packages/tabbar/demo.taro.d.ts +0 -1
  135. package/dist/locales/base.js +1 -1
  136. package/dist/locales/en-US.js +1 -1
  137. package/dist/locales/id-ID.js +1 -1
  138. package/dist/locales/tr-TR.js +1 -1
  139. package/dist/locales/zh-CN.js +1 -1
  140. package/dist/locales/zh-TW.d.ts +2 -2
  141. package/dist/locales/zh-TW.js +19 -17
  142. package/dist/locales/zh-UG.js +1 -1
  143. package/dist/nutui.react.es.js +244 -291
  144. package/dist/nutui.react.umd.js +244 -291
  145. package/dist/packages/actionsheet/actionsheet.scss +4 -4
  146. package/dist/packages/animatingnumbers/countup.scss +5 -5
  147. package/dist/packages/audio/audio.scss +6 -6
  148. package/dist/packages/avatar/avatar.scss +1 -1
  149. package/dist/packages/badge/badge.scss +5 -5
  150. package/dist/packages/button/button.scss +66 -65
  151. package/dist/packages/calendar/calendar.scss +4 -5
  152. package/dist/packages/calendarcard/calendarcard.scss +3 -3
  153. package/dist/packages/card/card.scss +8 -8
  154. package/dist/packages/cascader/cascader.scss +2 -2
  155. package/dist/packages/checkbox/checkbox.scss +12 -1
  156. package/dist/packages/collapseitem/collapseitem.scss +9 -9
  157. package/dist/packages/dialog/dialog.scss +7 -7
  158. package/dist/packages/divider/divider.scss +7 -7
  159. package/dist/packages/elevator/elevator.scss +12 -12
  160. package/dist/packages/form/form.scss +4 -4
  161. package/dist/packages/formitem/formitem.scss +5 -5
  162. package/dist/packages/grid/grid.scss +1 -1
  163. package/dist/packages/griditem/griditem.scss +13 -13
  164. package/dist/packages/imagepreview/imagepreview.scss +1 -1
  165. package/dist/packages/infiniteloading/infiniteloading.scss +4 -4
  166. package/dist/packages/noticebar/noticebar.scss +38 -43
  167. package/dist/packages/notify/notify.scss +15 -8
  168. package/dist/packages/pagination/pagination.scss +9 -9
  169. package/dist/packages/picker/picker.scss +5 -5
  170. package/dist/packages/popover/popover.scss +20 -20
  171. package/dist/packages/popup/popup.scss +4 -4
  172. package/dist/packages/price/price.scss +7 -7
  173. package/dist/packages/progress/progress.scss +1 -1
  174. package/dist/packages/pulltorefresh/pulltorefresh.scss +2 -2
  175. package/dist/packages/radio/radio.scss +1 -1
  176. package/dist/packages/rate/rate.scss +7 -7
  177. package/dist/packages/searchbar/searchbar.scss +16 -16
  178. package/dist/packages/shortpassword/shortpassword.scss +11 -11
  179. package/dist/packages/sidenavbar/sidenavbar.scss +5 -5
  180. package/dist/packages/sidenavbaritem/sidenavbaritem.scss +2 -2
  181. package/dist/packages/signature/signature.scss +2 -2
  182. package/dist/packages/skeleton/skeleton.scss +5 -5
  183. package/dist/packages/sticky/sticky.scss +1 -1
  184. package/dist/packages/subsidenavbar/subsidenavbar.scss +4 -4
  185. package/dist/packages/swiper/swiper.scss +4 -4
  186. package/dist/packages/tabbar/tabbar.scss +3 -3
  187. package/dist/packages/tabbaritem/tabbaritem.scss +1 -1
  188. package/dist/packages/table/table.scss +22 -22
  189. package/dist/packages/tabs/tabs.scss +12 -7
  190. package/dist/packages/tag/tag.scss +10 -10
  191. package/dist/packages/textarea/textarea.scss +5 -5
  192. package/dist/packages/timedetail/timedetail.scss +1 -1
  193. package/dist/packages/timeselect/timeselect.scss +2 -2
  194. package/dist/packages/toast/toast.scss +8 -8
  195. package/dist/packages/uploader/uploader.scss +14 -14
  196. package/dist/style.css +1 -1
  197. package/dist/style.mjs +1 -1
  198. package/dist/styles/variables-jmapp.scss +1738 -870
  199. package/dist/styles/variables.scss +1705 -851
  200. package/dist/types/locales/zh-TW.d.ts +2 -2
  201. package/dist/types/packages/configprovider/types.d.ts +1 -1
  202. package/dist/types/packages/infiniteloading/infiniteloading.taro.d.ts +1 -1
  203. package/package.json +2 -2
@@ -3,7 +3,7 @@
3
3
  background-color: $color-background-overlay;
4
4
  width: 100%;
5
5
 
6
- &__control {
6
+ &-control {
7
7
  display: flex;
8
8
  height: $popup-title-height;
9
9
  font-size: $popup-title-font-size;
@@ -12,17 +12,17 @@
12
12
  padding: $popup-title-padding;
13
13
  }
14
14
 
15
- &__cancel-btn {
15
+ &-cancel-btn {
16
16
  color: $picker-title-cancel-color;
17
17
  font-size: $picker-title-cancel-font-size;
18
18
  }
19
19
 
20
- &__confirm-btn {
20
+ &-confirm-btn {
21
21
  color: $picker-title-ok-color;
22
22
  font-size: $picker-title-ok-font-size;
23
23
  }
24
24
 
25
- &__title {
25
+ &-title {
26
26
  flex: 1;
27
27
  overflow: hidden;
28
28
  text-overflow: ellipsis;
@@ -33,7 +33,7 @@
33
33
  font-weight: $popup-title-font-weight;
34
34
  }
35
35
 
36
- &__panel {
36
+ &-panel {
37
37
  display: flex;
38
38
  position: relative;
39
39
  }
@@ -23,17 +23,17 @@
23
23
  border-top-width: 0;
24
24
  margin-top: -8px;
25
25
 
26
- &.nut-popover-arrow--bottom {
26
+ &.nut-popover-arrow-bottom {
27
27
  left: 50%;
28
28
  transform: translateX(-50%);
29
29
  }
30
30
 
31
- &.nut-popover-arrow--bottom-start {
31
+ &.nut-popover-arrow-bottom-start {
32
32
  left: 16px;
33
33
  transform: translateX(0%);
34
34
  }
35
35
 
36
- &.nut-popover-arrow--bottom-end {
36
+ &.nut-popover-arrow-bottom-end {
37
37
  right: 16px;
38
38
  transform: translateX(0%);
39
39
  }
@@ -45,17 +45,17 @@
45
45
  border-right-width: 0;
46
46
  margin-right: -8px;
47
47
 
48
- &.nut-popover-arrow--left {
48
+ &.nut-popover-arrow-left {
49
49
  top: 50%;
50
50
  transform: translateY(-50%);
51
51
  }
52
52
 
53
- &.nut-popover-arrow--left-start {
53
+ &.nut-popover-arrow-left-start {
54
54
  top: 16px;
55
55
  transform: translateY(0%);
56
56
  }
57
57
 
58
- &.nut-popover-arrow--left-end {
58
+ &.nut-popover-arrow-left-end {
59
59
  bottom: 16px;
60
60
  transform: translateY(0%);
61
61
  }
@@ -67,17 +67,17 @@
67
67
  border-left-width: 0;
68
68
  margin-left: -8px;
69
69
 
70
- &.nut-popover-arrow--right {
70
+ &.nut-popover-arrow-right {
71
71
  top: 50%;
72
72
  transform: translateY(-50%);
73
73
  }
74
74
 
75
- &.nut-popover-arrow--right-start {
75
+ &.nut-popover-arrow-right-start {
76
76
  top: 16px;
77
77
  transform: translateY(0%);
78
78
  }
79
79
 
80
- &.nut-popover-arrow--right-end {
80
+ &.nut-popover-arrow-right-end {
81
81
  bottom: 16px;
82
82
  transform: translateY(0%);
83
83
  }
@@ -166,46 +166,46 @@
166
166
  }
167
167
  }
168
168
 
169
- &--top {
170
- .nut-popover-arrow--top {
169
+ &-top {
170
+ .nut-popover-arrow-top {
171
171
  left: 50%;
172
172
  transform: translateX(-50%);
173
173
  }
174
174
  }
175
175
 
176
- &--top-end {
177
- .nut-popover-arrow--top-end {
176
+ &-top-end {
177
+ .nut-popover-arrow-top-end {
178
178
  right: 16px;
179
179
  transform: translateX(0%);
180
180
  }
181
181
  right: 0;
182
182
  }
183
183
 
184
- &--top-start {
184
+ &-top-start {
185
185
  left: 0;
186
- .nut-popover-arrow--top-start {
186
+ .nut-popover-arrow-top-start {
187
187
  left: 16px;
188
188
  transform: translateX(0%);
189
189
  }
190
190
  }
191
191
 
192
- &--bottom-end {
192
+ &-bottom-end {
193
193
  right: 0;
194
194
  }
195
195
 
196
- &--left-end {
196
+ &-left-end {
197
197
  bottom: 0;
198
198
  }
199
199
 
200
- &--left-start {
200
+ &-left-start {
201
201
  top: 0;
202
202
  }
203
203
 
204
- &--right-end {
204
+ &-right-end {
205
205
  bottom: 0;
206
206
  }
207
207
 
208
- &--right-start {
208
+ &-right-start {
209
209
  top: 0;
210
210
  }
211
211
  }
@@ -1,7 +1,7 @@
1
1
 
2
2
  .nut-popup {
3
3
  position: fixed;
4
- min-height: 40%;
4
+ min-height: 32%;
5
5
  max-height: 100%;
6
6
  overflow-y: auto;
7
7
  background-color: $overlay-content-bg-color;
@@ -51,17 +51,17 @@
51
51
  opacity: 0.7;
52
52
  }
53
53
 
54
- &--top-left {
54
+ &-top-left {
55
55
  top: $popup-title-padding;
56
56
  left: $popup-title-padding;
57
57
  }
58
58
 
59
- &--bottom-left {
59
+ &-bottom-left {
60
60
  bottom: $popup-title-padding;
61
61
  left: $popup-title-padding;
62
62
  }
63
63
 
64
- &--bottom-right {
64
+ &-bottom-right {
65
65
  right: $popup-title-padding;
66
66
  bottom: $popup-title-padding;
67
67
  }
@@ -2,19 +2,19 @@
2
2
  font-size: $font-size-large;
3
3
  display: inline;
4
4
  color: $color-primary;
5
- &--line {
5
+ &-line {
6
6
  div {
7
7
  text-decoration: line-through;
8
8
  font-size: $price-line-font-size !important;
9
9
  color: $price-line-color !important;
10
10
  }
11
11
  }
12
- &__symbol,
13
- &__integer,
14
- &__decimal {
12
+ &-symbol,
13
+ &-integer,
14
+ &-decimal {
15
15
  display: inline-block;
16
16
  }
17
- &__symbol {
17
+ &-symbol {
18
18
  font-size: $price-symbol-medium-size;
19
19
  padding-right: $price-symbol-padding-right;
20
20
  &-large {
@@ -24,7 +24,7 @@
24
24
  font-size: $price-symbol-small-size;
25
25
  }
26
26
  }
27
- &__integer {
27
+ &-integer {
28
28
  font-size: $price-integer-medium-size;
29
29
  &-large {
30
30
  font-size: $price-integer-big-size;
@@ -33,7 +33,7 @@
33
33
  font-size: $price-integer-small-size;
34
34
  }
35
35
  }
36
- &__decimal {
36
+ &-decimal {
37
37
  font-size: $price-decimal-medium-size;
38
38
  &-large {
39
39
  font-size: $price-decimal-big-size;
@@ -41,7 +41,7 @@
41
41
  transition: all 0.4s;
42
42
  transform: translate(-50%);
43
43
 
44
- &__inner {
44
+ &-inner {
45
45
  display: flex;
46
46
  align-items: center;
47
47
  height: 100%;
@@ -16,8 +16,8 @@
16
16
  align-items: center;
17
17
 
18
18
  &-icons {
19
- width: $pulltorefresh-top-icon-width;
20
- height: $pulltorefresh-top-icon-height;
19
+ width: $pulltorefresh-icon-width;
20
+ height: $pulltorefresh-icon-height;
21
21
  margin-bottom: 4px;
22
22
  }
23
23
  }
@@ -23,7 +23,7 @@
23
23
  color: $radio-label-color;
24
24
 
25
25
  &-disabled {
26
- color: $color-text-disabled;
26
+ color: $radio-label-disable-color;
27
27
  }
28
28
  }
29
29
 
@@ -2,13 +2,13 @@
2
2
  display: flex;
3
3
 
4
4
  &.disabled {
5
- .nut-rate-item__icon {
5
+ .nut-rate-item-icon {
6
6
  cursor: not-allowed;
7
7
  }
8
8
  }
9
9
 
10
10
  &.readonly {
11
- .nut-rate-item__icon {
11
+ .nut-rate-item-icon {
12
12
  cursor: default;
13
13
  }
14
14
  }
@@ -23,7 +23,7 @@
23
23
  margin-right: 0;
24
24
  }
25
25
 
26
- &__half {
26
+ &-half {
27
27
  position: absolute;
28
28
  height: 100%;
29
29
  width: 50% !important;
@@ -32,22 +32,22 @@
32
32
  overflow: hidden;
33
33
  }
34
34
 
35
- &__icon {
35
+ &-icon {
36
36
  color: $rate-icon-color;
37
37
  cursor: pointer;
38
38
 
39
- &--disabled {
39
+ &-disabled {
40
40
  color: $rate-icon-inactive-color;
41
41
  }
42
42
 
43
- &.nut-rate-item__icon.nut-rate-item__icon--half {
43
+ &.nut-rate-item-icon.nut-rate-item-icon-half {
44
44
  position: absolute;
45
45
  left: 0;
46
46
  top: 0;
47
47
  overflow: hidden;
48
48
  }
49
49
 
50
- &.nut-rate-item__icon::before {
50
+ &.nut-rate-item-icon::before {
51
51
  position: relative;
52
52
  top: auto;
53
53
  left: auto;
@@ -9,7 +9,7 @@
9
9
  box-sizing: border-box;
10
10
  justify-content: center;
11
11
 
12
- &__content {
12
+ &-content {
13
13
  flex: 1;
14
14
  display: flex;
15
15
  align-items: center;
@@ -20,21 +20,21 @@
20
20
  border-radius: $searchbar-content-border-radius;
21
21
  }
22
22
 
23
- &__icon {
23
+ &-icon {
24
24
  display: flex;
25
25
  justify-content: center;
26
26
  align-items: center;
27
27
  }
28
28
 
29
- &__clear,
30
- &__rightin {
29
+ &-clear,
30
+ &-rightin {
31
31
  width: 16px;
32
32
  height: 16px;
33
33
  color: var(--nutui-black-5);
34
34
  }
35
35
 
36
- &__left,
37
- &__right {
36
+ &-left,
37
+ &-right {
38
38
  display: flex;
39
39
  &.nut-icon {
40
40
  width: 20px;
@@ -42,7 +42,7 @@
42
42
  }
43
43
  }
44
44
 
45
- &__left {
45
+ &-left {
46
46
  margin-right: $searchbar-gap;
47
47
  & > * {
48
48
  margin-right: $searchbar-gap;
@@ -52,7 +52,7 @@
52
52
  }
53
53
  }
54
54
 
55
- &__right {
55
+ &-right {
56
56
  margin-left: $searchbar-gap;
57
57
 
58
58
  & > * {
@@ -64,8 +64,8 @@
64
64
  }
65
65
  }
66
66
 
67
- &__left > text,
68
- &__left > view {
67
+ &-left > text,
68
+ &-left > view {
69
69
  margin-right: $searchbar-gap;
70
70
 
71
71
  &:last-child {
@@ -73,8 +73,8 @@
73
73
  }
74
74
  }
75
75
 
76
- &__right > text,
77
- &__right > view {
76
+ &-right > text,
77
+ &-right > view {
78
78
  margin-left: $searchbar-gap;
79
79
 
80
80
  &:first-child {
@@ -82,13 +82,13 @@
82
82
  }
83
83
  }
84
84
 
85
- &__input-box {
85
+ &-input-box {
86
86
  display: flex;
87
87
  align-items: center;
88
88
  flex: 1;
89
89
  }
90
90
 
91
- &__input {
91
+ &-input {
92
92
  border: 0;
93
93
  outline: 0;
94
94
  box-sizing: border-box;
@@ -103,11 +103,11 @@
103
103
  text-align: $searchbar-input-text-align;
104
104
  }
105
105
 
106
- &__round {
106
+ &-round {
107
107
  border-radius: $searchbar-content-round-border-radius;
108
108
  }
109
109
 
110
- &__disabled {
110
+ &-disabled {
111
111
  cursor: not-allowed;
112
112
  }
113
113
  }
@@ -1,12 +1,12 @@
1
1
 
2
2
  .nut-shortpassword {
3
- &__title {
3
+ &-title {
4
4
  line-height: 1;
5
5
  font-size: $font-size-large;
6
6
  color: $color-title;
7
7
  }
8
8
 
9
- &__description {
9
+ &-description {
10
10
  margin-top: 12px;
11
11
  margin-bottom: 24px;
12
12
  line-height: 1;
@@ -14,7 +14,7 @@
14
14
  color: $color-text;
15
15
  }
16
16
 
17
- &__input {
17
+ &-input {
18
18
  padding: 0 0 10px;
19
19
  text-align: center;
20
20
  position: relative;
@@ -50,13 +50,13 @@
50
50
  position: absolute;
51
51
  left: 0;
52
52
 
53
- &__li {
53
+ &-li {
54
54
  flex: 1;
55
55
  display: flex;
56
56
  justify-content: center;
57
57
  align-items: center;
58
58
 
59
- &__icon {
59
+ &-icon {
60
60
  height: 6px;
61
61
  width: 6px;
62
62
  border-radius: 50%;
@@ -67,19 +67,19 @@
67
67
  }
68
68
  }
69
69
 
70
- &__message {
70
+ &-message {
71
71
  margin-top: 9px;
72
72
  display: flex;
73
73
  justify-content: space-between;
74
74
  width: 247px;
75
75
 
76
- &__error {
76
+ &-error {
77
77
  line-height: 1;
78
78
  font-size: $font-size-xs;
79
79
  color: $shortpassword-error;
80
80
  }
81
81
 
82
- &__forget {
82
+ &-forget {
83
83
  line-height: 1;
84
84
  font-size: $font-size-small;
85
85
  color: $shortpassword-forget;
@@ -88,12 +88,12 @@
88
88
  }
89
89
  }
90
90
 
91
- &__footer {
91
+ &-footer {
92
92
  display: flex;
93
93
  justify-content: space-between;
94
94
  margin-top: 20px;
95
95
 
96
- &__cancel {
96
+ &-cancel {
97
97
  background: $white;
98
98
  border: 1px solid $color-primary;
99
99
  border-radius: 15px;
@@ -103,7 +103,7 @@
103
103
  color: $color-primary;
104
104
  }
105
105
 
106
- &__sure {
106
+ &-sure {
107
107
  background: linear-gradient(
108
108
  135deg,
109
109
  $color-primary 0%,
@@ -28,7 +28,7 @@
28
28
  border-right: 4px solid transparent;
29
29
  }
30
30
 
31
- &__title {
31
+ &-title {
32
32
  height: $sidenavbar-item-height;
33
33
  padding: $sidenavbar-title-padding;
34
34
  background: $sidenavbar-title-background;
@@ -37,21 +37,21 @@
37
37
  transition: transform 0.5s;
38
38
  }
39
39
 
40
- &__content {
40
+ &-content {
41
41
  position: relative;
42
42
  display: block;
43
43
  }
44
44
 
45
- &__list {
45
+ &-list {
46
46
  &.sidenavbar-show {
47
- .nut-sidenavbar__content {
47
+ .nut-sidenavbar-content {
48
48
  height: auto;
49
49
  overflow: inherit;
50
50
  }
51
51
  }
52
52
 
53
53
  &.sidenavbar-hide {
54
- .nut-sidenavbar__content {
54
+ .nut-sidenavbar-content {
55
55
  height: 0;
56
56
  overflow: hidden;
57
57
  }
@@ -1,12 +1,12 @@
1
1
  .nut-subsidenavbar {
2
- &__item {
2
+ &-item {
3
3
  height: $sidenavbar-item-height;
4
4
  color: $sidenavbar-sub-item-color;
5
5
  padding: $sidenavbar-sub-item-padding;
6
6
  box-sizing: border-box;
7
7
  }
8
8
 
9
- &__list {
9
+ &-list {
10
10
  background-color: $sidenavbar-sub-list-background;
11
11
  color: $sidenavbar-sub-list-color;
12
12
  }
@@ -8,7 +8,7 @@
8
8
  }
9
9
  }
10
10
 
11
- &__inner {
11
+ &-inner {
12
12
  display: flex;
13
13
  justify-content: center;
14
14
  align-items: center;
@@ -17,7 +17,7 @@
17
17
  background-color: $signature-background-color;
18
18
  }
19
19
 
20
- &__unsupport {
20
+ &-unsupport {
21
21
  font-size: $signature-font-size;
22
22
  }
23
23
  }
@@ -6,7 +6,7 @@
6
6
  vertical-align: middle;
7
7
  width: 100%;
8
8
 
9
- &__content {
9
+ &-content {
10
10
  display: flex;
11
11
 
12
12
  .avatar {
@@ -14,7 +14,7 @@
14
14
  background: $skeleton-background !important;
15
15
  }
16
16
 
17
- .nut-skeleton__block {
17
+ .nut-skeleton-block {
18
18
  width: $skeleton-line-width;
19
19
  height: $skeleton-line-height;
20
20
  background: $skeleton-background;
@@ -27,18 +27,18 @@
27
27
  display: flex;
28
28
  flex-direction: column;
29
29
 
30
- .nut-skeleton__title {
30
+ .nut-skeleton-title {
31
31
  width: 30%;
32
32
  height: $skeleton-line-height;
33
33
  background: $skeleton-background;
34
34
  }
35
- .nut-skeleton__block:last-child {
35
+ .nut-skeleton-block:last-child {
36
36
  width: 70%;
37
37
  }
38
38
  }
39
39
  }
40
40
 
41
- &__animation {
41
+ &-animation {
42
42
  position: absolute;
43
43
  top: 0;
44
44
  left: 0;
@@ -1,3 +1,3 @@
1
- .nut-sticky--fixed {
1
+ .nut-sticky-fixed {
2
2
  position: fixed;
3
3
  }
@@ -1,5 +1,5 @@
1
1
  .nut-subsidenavbar {
2
- &__title {
2
+ &-title {
3
3
  height: $sidenavbar-item-height;
4
4
  padding: $sidenavbar-sub-title-padding;
5
5
  box-sizing: border-box;
@@ -8,16 +8,16 @@
8
8
  box-sizing: border-box;
9
9
  }
10
10
 
11
- &__list {
11
+ &-list {
12
12
  &.sidenavbar-show {
13
- .nut-subsidenavbar__content {
13
+ .nut-subsidenavbar-content {
14
14
  height: auto;
15
15
  overflow: inherit;
16
16
  }
17
17
  }
18
18
 
19
19
  &.sidenavbar-hide {
20
- .nut-subsidenavbar__content {
20
+ .nut-subsidenavbar-content {
21
21
  height: 0;
22
22
  overflow: hidden;
23
23
  }
@@ -7,18 +7,18 @@
7
7
  box-sizing: content-box;
8
8
  overflow: hidden;
9
9
 
10
- &__inner {
10
+ &-inner {
11
11
  display: flex;
12
12
  height: 100%;
13
13
  }
14
14
 
15
- &__vertical {
15
+ &-vertical {
16
16
  -webkit-box-orient: vertical;
17
17
  -webkit-box-direction: normal;
18
18
  flex-direction: column;
19
19
  }
20
20
 
21
- &__indicator {
21
+ &-indicator {
22
22
  display: flex;
23
23
  position: absolute;
24
24
  left: 50%;
@@ -27,7 +27,7 @@
27
27
  z-index: 1;
28
28
  }
29
29
 
30
- &__indicator-vertical {
30
+ &-indicator-vertical {
31
31
  top: 50%;
32
32
  left: 12px;
33
33
  bottom: auto;