@nutui/nutui 3.3.3 → 3.3.4

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 (195) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/nutui.es.js +1 -1
  3. package/dist/nutui.umd.js +2 -2
  4. package/dist/packages/_es/ActionSheet.js +1 -1
  5. package/dist/packages/_es/Address.js +1 -1
  6. package/dist/packages/_es/AddressList.js +1 -1
  7. package/dist/packages/_es/Animate.js +1 -1
  8. package/dist/packages/_es/Audio.js +1 -1
  9. package/dist/packages/_es/AudioOperate.js +1 -1
  10. package/dist/packages/_es/Avatar.js +1 -1
  11. package/dist/packages/_es/AvatarGroup.js +1 -1
  12. package/dist/packages/_es/BackTop.js +1 -1
  13. package/dist/packages/_es/Badge.js +6 -2
  14. package/dist/packages/_es/Barrage.js +1 -1
  15. package/dist/packages/_es/Button.js +1 -1
  16. package/dist/packages/_es/Calendar.js +7 -2
  17. package/dist/packages/_es/CalendarItem.js +1 -1
  18. package/dist/packages/_es/Card.js +1 -1
  19. package/dist/packages/_es/Cascader.js +1 -1
  20. package/dist/packages/_es/Category.js +1 -1
  21. package/dist/packages/_es/CategoryPane.js +1 -1
  22. package/dist/packages/_es/Cell.js +1 -1
  23. package/dist/packages/_es/CellGroup.js +1 -1
  24. package/dist/packages/_es/Checkbox.js +20 -6
  25. package/dist/packages/_es/CheckboxGroup.js +1 -1
  26. package/dist/packages/_es/CircleProgress.js +1 -1
  27. package/dist/packages/_es/Col.js +1 -1
  28. package/dist/packages/_es/Collapse.js +1 -1
  29. package/dist/packages/_es/CollapseItem.js +5 -6
  30. package/dist/packages/_es/Comment.js +1 -1
  31. package/dist/packages/_es/ConfigProvider.js +1 -1
  32. package/dist/packages/_es/CountDown.js +1 -1
  33. package/dist/packages/_es/CountUp.js +1 -1
  34. package/dist/packages/_es/DatePicker.js +1 -1
  35. package/dist/packages/_es/Dialog.js +4 -2
  36. package/dist/packages/_es/Divider.js +1 -1
  37. package/dist/packages/_es/Drag.js +1 -1
  38. package/dist/packages/_es/Ecard.js +1 -1
  39. package/dist/packages/_es/Elevator.js +1 -1
  40. package/dist/packages/_es/Ellipsis.js +1 -1
  41. package/dist/packages/_es/Empty.js +1 -1
  42. package/dist/packages/_es/FixedNav.js +1 -1
  43. package/dist/packages/_es/Form.js +1 -1
  44. package/dist/packages/_es/FormItem.js +1 -1
  45. package/dist/packages/_es/Grid.js +1 -1
  46. package/dist/packages/_es/GridItem.js +1 -1
  47. package/dist/packages/_es/Icon.js +1 -1
  48. package/dist/packages/_es/Image.js +1 -1
  49. package/dist/packages/_es/ImagePreview.js +1 -1
  50. package/dist/packages/_es/Indicator.js +1 -1
  51. package/dist/packages/_es/InfiniteLoading.js +1 -1
  52. package/dist/packages/_es/Input.js +2 -1
  53. package/dist/packages/_es/InputNumber.js +1 -1
  54. package/dist/packages/_es/Invoice.js +1 -1
  55. package/dist/packages/_es/Layout.js +1 -1
  56. package/dist/packages/_es/List.js +1 -1
  57. package/dist/packages/_es/Menu.js +1 -1
  58. package/dist/packages/_es/MenuItem.js +1 -1
  59. package/dist/packages/_es/Navbar.js +1 -1
  60. package/dist/packages/_es/NoticeBar.js +5 -6
  61. package/dist/packages/_es/Notify.js +1 -1
  62. package/dist/packages/_es/NumberKeyboard.js +1 -1
  63. package/dist/packages/_es/OverLay.js +1 -1
  64. package/dist/packages/_es/Pagination.js +1 -1
  65. package/dist/packages/_es/Picker.js +1 -1
  66. package/dist/packages/_es/Popover.js +1 -1
  67. package/dist/packages/_es/Popup.js +1 -1
  68. package/dist/packages/_es/Price.js +1 -1
  69. package/dist/packages/_es/Progress.js +1 -1
  70. package/dist/packages/_es/Radio.js +1 -1
  71. package/dist/packages/_es/RadioGroup.js +1 -1
  72. package/dist/packages/_es/Range.js +1 -1
  73. package/dist/packages/_es/Rate.js +1 -1
  74. package/dist/packages/_es/Row.js +1 -1
  75. package/dist/packages/_es/SearchBar.js +1 -1
  76. package/dist/packages/_es/ShortPassword.js +1 -1
  77. package/dist/packages/_es/SideNavBar.js +1 -1
  78. package/dist/packages/_es/SideNavBarItem.js +1 -1
  79. package/dist/packages/_es/Signature.js +2 -2
  80. package/dist/packages/_es/Skeleton.js +1 -1
  81. package/dist/packages/_es/Sku.js +2 -1
  82. package/dist/packages/_es/Step.js +1 -1
  83. package/dist/packages/_es/Steps.js +1 -1
  84. package/dist/packages/_es/Sticky.js +1 -1
  85. package/dist/packages/_es/SubSideNavBar.js +1 -1
  86. package/dist/packages/_es/Swipe.js +1 -1
  87. package/dist/packages/_es/Swiper.js +1 -1
  88. package/dist/packages/_es/SwiperItem.js +1 -1
  89. package/dist/packages/_es/Switch.js +1 -1
  90. package/dist/packages/_es/TabPane.js +1 -1
  91. package/dist/packages/_es/Tabbar.js +1 -1
  92. package/dist/packages/_es/TabbarItem.js +1 -1
  93. package/dist/packages/_es/Table.js +1 -1
  94. package/dist/packages/_es/Tabs.js +1 -1
  95. package/dist/packages/_es/Tag.js +1 -1
  96. package/dist/packages/_es/TextArea.js +1 -1
  97. package/dist/packages/_es/TimeDetail.js +1 -1
  98. package/dist/packages/_es/TimePannel.js +1 -1
  99. package/dist/packages/_es/TimeSelect.js +1 -1
  100. package/dist/packages/_es/Toast.js +1 -1
  101. package/dist/packages/_es/TrendArrow.js +1 -1
  102. package/dist/packages/_es/Uploader.js +1 -1
  103. package/dist/packages/_es/Video.js +1 -1
  104. package/dist/packages/_es/WaterMark.js +1 -1
  105. package/dist/packages/_es/common.js +1 -1
  106. package/dist/packages/_es/component.js +1 -1
  107. package/dist/packages/_es/index.js +1 -1
  108. package/dist/packages/_es/index2.js +1 -1
  109. package/dist/packages/_es/index3.js +1 -1
  110. package/dist/packages/_es/index4.js +1 -1
  111. package/dist/packages/_es/index5.js +9 -3
  112. package/dist/packages/_es/interceptor.js +1 -1
  113. package/dist/packages/_es/mountComponent.js +1 -1
  114. package/dist/packages/_es/plugin-vue_export-helper.js +1 -1
  115. package/dist/packages/_es/props.js +1 -1
  116. package/dist/packages/_es/pxCheck.js +1 -1
  117. package/dist/packages/_es/raf.js +1 -1
  118. package/dist/packages/actionsheet/index.scss +9 -5
  119. package/dist/packages/badge/index.scss +6 -0
  120. package/dist/packages/cell/index.scss +42 -3
  121. package/dist/packages/cellgroup/index.scss +3 -4
  122. package/dist/packages/checkbox/index.scss +28 -0
  123. package/dist/packages/collapseitem/index.scss +1 -1
  124. package/dist/packages/divider/index.scss +1 -1
  125. package/dist/packages/input/index.scss +12 -2
  126. package/dist/packages/locale/lang/baseLang.js +1 -1
  127. package/dist/packages/locale/lang/en-US.js +1 -1
  128. package/dist/packages/locale/lang/id-ID.js +1 -1
  129. package/dist/packages/locale/lang/index.js +1 -1
  130. package/dist/packages/locale/lang/zh-CN.js +1 -1
  131. package/dist/packages/locale/lang/zh-TW.js +1 -1
  132. package/dist/packages/numberkeyboard/index.scss +3 -2
  133. package/dist/packages/step/index.scss +19 -2
  134. package/dist/packages/swiper/index.scss +2 -2
  135. package/dist/packages/switch/index.scss +2 -2
  136. package/dist/packages/tabbaritem/index.scss +5 -4
  137. package/dist/packages/tabpane/index.scss +1 -1
  138. package/dist/packages/toast/index.scss +7 -1
  139. package/dist/smartips/attributes.json +8 -0
  140. package/dist/smartips/tags.json +3 -1
  141. package/dist/smartips/web-types.json +19 -1
  142. package/dist/style.css +1 -1
  143. package/dist/styles/font/demo_index.html +3 -3
  144. package/dist/styles/font/iconfont.css +3 -3
  145. package/dist/styles/themes/default.scss +51 -51
  146. package/dist/styles/themes/jdb.scss +51 -51
  147. package/dist/styles/themes/jddkh.scss +51 -51
  148. package/dist/styles/themes/jdt.scss +51 -51
  149. package/dist/styles/variables-jdb.scss +73 -4
  150. package/dist/styles/variables-jddkh.scss +70 -1
  151. package/dist/styles/variables-jdt.scss +122 -53
  152. package/dist/styles/variables.scss +70 -1
  153. package/dist/types/__VUE/actionsheet/index.vue.d.ts +1 -1
  154. package/dist/types/__VUE/address/index.vue.d.ts +2 -2
  155. package/dist/types/__VUE/audio/index.vue.d.ts +4 -4
  156. package/dist/types/__VUE/avatar/index.vue.d.ts +1 -1
  157. package/dist/types/__VUE/badge/index.vue.d.ts +10 -1
  158. package/dist/types/__VUE/button/index.vue.d.ts +1 -1
  159. package/dist/types/__VUE/calendaritem/index.vue.d.ts +4 -4
  160. package/dist/types/__VUE/cascader/index.vue.d.ts +1 -1
  161. package/dist/types/__VUE/cell/index.vue.d.ts +3 -3
  162. package/dist/types/__VUE/checkbox/common.d.ts +4 -0
  163. package/dist/types/__VUE/checkbox/index.vue.d.ts +9 -0
  164. package/dist/types/__VUE/collapseitem/index.vue.d.ts +0 -1
  165. package/dist/types/__VUE/countup/index.vue.d.ts +2 -2
  166. package/dist/types/__VUE/datepicker/index.vue.d.ts +1 -1
  167. package/dist/types/__VUE/dialog/index.vue.d.ts +2 -2
  168. package/dist/types/__VUE/fixednav/index.vue.d.ts +1 -1
  169. package/dist/types/__VUE/grid/index.vue.d.ts +1 -1
  170. package/dist/types/__VUE/image/index.vue.d.ts +1 -1
  171. package/dist/types/__VUE/imagepreview/imagePreviewItem.vue.d.ts +1 -1
  172. package/dist/types/__VUE/imagepreview/index.vue.d.ts +2 -2
  173. package/dist/types/__VUE/input/index.vue.d.ts +1 -1
  174. package/dist/types/__VUE/navbar/index.vue.d.ts +1 -1
  175. package/dist/types/__VUE/noticebar/index.vue.d.ts +4 -4
  176. package/dist/types/__VUE/notify/index.vue.d.ts +1 -1
  177. package/dist/types/__VUE/picker/Column.vue.d.ts +4 -4
  178. package/dist/types/__VUE/picker/index.vue.d.ts +5 -5
  179. package/dist/types/__VUE/popup/index.vue.d.ts +1 -1
  180. package/dist/types/__VUE/range/index.vue.d.ts +7 -7
  181. package/dist/types/__VUE/searchbar/index.vue.d.ts +1 -1
  182. package/dist/types/__VUE/skeleton/index.vue.d.ts +1 -1
  183. package/dist/types/__VUE/sku/index.vue.d.ts +1 -1
  184. package/dist/types/__VUE/step/index.vue.d.ts +1 -1
  185. package/dist/types/__VUE/sticky/index.vue.d.ts +1 -1
  186. package/dist/types/__VUE/swiper/index.vue.d.ts +2 -2
  187. package/dist/types/__VUE/tabbar/index.vue.d.ts +1 -1
  188. package/dist/types/__VUE/tabbaritem/index.vue.d.ts +1 -1
  189. package/dist/types/__VUE/timeselect/index.vue.d.ts +1 -1
  190. package/dist/types/__VUE/toast/index.vue.d.ts +1 -1
  191. package/dist/types/__VUE/uploader/index.vue.d.ts +2 -2
  192. package/dist/types/__VUE/video/index.vue.d.ts +2 -2
  193. package/dist/types/__VUE/watermark/index.vue.d.ts +2 -2
  194. package/dist/types/index.d.ts +1 -1
  195. package/package.json +1 -1
@@ -26,8 +26,29 @@
26
26
  &--large {
27
27
  font-size: $cell-large-title-font;
28
28
  padding: $cell-large-padding;
29
+ line-height: $cell-large-line-height;
29
30
  .nut-cell__title-desc {
30
31
  font-size: $cell-large-title-desc-font;
32
+ line-height: $cell-large-title-desc-line-height;
33
+ }
34
+
35
+ .nut-cell__icon {
36
+ margin: $cell-default-large-icon-margin;
37
+
38
+ .nut-icon {
39
+ width: $cell-default-large-icon-size;
40
+ height: $cell-default-large-icon-size;
41
+ line-height: $cell-default-large-icon-size;
42
+ }
43
+
44
+ .nutui-iconfont {
45
+ font-size: $cell-default-large-icon-font-size;
46
+ }
47
+ }
48
+
49
+ .nut-cell__link.nut-icon {
50
+ height: $cell-large-icon-link-height;
51
+ line-height: $cell-large-icon-link-height;
31
52
  }
32
53
  }
33
54
 
@@ -72,7 +93,17 @@
72
93
  &__icon {
73
94
  display: flex;
74
95
  flex-direction: row;
75
- margin-right: $cell-default-icon-margin;
96
+ margin: $cell-default-icon-margin;
97
+
98
+ .nut-icon {
99
+ width: $cell-default-icon-size;
100
+ height: $cell-default-icon-size;
101
+ line-height: $cell-default-icon-size;
102
+ }
103
+
104
+ .nutui-iconfont {
105
+ font-size: $cell-default-icon-font-size;
106
+ }
76
107
  }
77
108
 
78
109
  &__title {
@@ -80,7 +111,9 @@
80
111
  flex-direction: column;
81
112
  flex: 1;
82
113
  &-desc {
114
+ line-height: $cell-title-desc-line-height;
83
115
  font-size: $cell-title-desc-font;
116
+ color: $cell-title-desc-color;
84
117
  }
85
118
  }
86
119
  &__value {
@@ -93,7 +126,13 @@
93
126
  color: $cell-color;
94
127
  }
95
128
  }
96
- &__link {
97
- color: #979797;
129
+ &__link.nut-icon {
130
+ color: $cell-icon-link-color;
131
+ margin: $cell-icon-link-margin;
132
+ width: $cell-icon-link-width;
133
+ min-width: 1em;
134
+ height: $cell-icon-link-height;
135
+ line-height: $cell-icon-link-height;
136
+ font-size: $cell-icon-link-font-size;
98
137
  }
99
138
  }
@@ -5,9 +5,9 @@
5
5
  padding: $cell-group-title-padding;
6
6
  color: $cell-group-title-color;
7
7
  font-size: $cell-group-title-font-size;
8
+ font-weight: $cell-group-title-font-weight;
8
9
  line-height: $cell-group-title-line-height;
9
- margin-top: 30px;
10
- margin-bottom: 10px;
10
+ margin: $cell-group-title-margin;
11
11
  }
12
12
  &__desc {
13
13
  display: inherit;
@@ -15,8 +15,7 @@
15
15
  color: $cell-group-desc-color;
16
16
  font-size: $cell-group-desc-font-size;
17
17
  line-height: $cell-group-desc-line-height;
18
- margin-top: 10px;
19
- margin-bottom: 10px;
18
+ margin: $cell-group-desc-margin;
20
19
  }
21
20
  &__warp {
22
21
  display: inherit;
@@ -6,6 +6,14 @@
6
6
  color: $checkbox-label-disable-color;
7
7
  }
8
8
  }
9
+ &__button {
10
+ background: $dark-background;
11
+ color: $dark-color;
12
+ &--disabled {
13
+ color: $checkbox-label-disable-color;
14
+ border: 1px solid $checkbox-label-disable-color;
15
+ }
16
+ }
9
17
  }
10
18
  }
11
19
  .nut-checkbox {
@@ -18,6 +26,26 @@
18
26
  margin-left: 0;
19
27
  }
20
28
  }
29
+ &__button {
30
+ display: inline-flex;
31
+ align-items: center;
32
+ padding: $checkbox-button-padding;
33
+ font-size: $checkbox-button-font-size;
34
+ background: $checkbox-label-button-bg-color;
35
+ border-radius: $checkbox-button-border-radius;
36
+ color: $checkbox-label-color;
37
+ box-sizing: border-box;
38
+ border: 1px solid $checkbox-label-button-border-color;
39
+ &--active {
40
+ background: $checkbox-label-button-bg-active-color;
41
+ color: $checkbox-label-font-active-color;
42
+ border: 1px solid $checkbox-label-button-border-active-color;
43
+ }
44
+ &--disabled {
45
+ color: $checkbox-label-disable-color;
46
+ border: none;
47
+ }
48
+ }
21
49
  &__label {
22
50
  flex: 1;
23
51
  margin-left: $checkbox-label-margin-left;
@@ -73,7 +73,7 @@
73
73
  .subTitle {
74
74
  position: absolute;
75
75
  top: 50%;
76
- right: 60px;
76
+ right: $collapse-item-sub-title-right;
77
77
  margin-top: -12px;
78
78
  color: $collapse-item-sub-title-color;
79
79
  }
@@ -8,7 +8,7 @@
8
8
  &::before,
9
9
  &::after {
10
10
  content: '';
11
- border: $divider-line-height solid currentColor;
11
+ border: $divider-line-height solid $divider-border-color;
12
12
  border-width: $divider-line-height 0 0;
13
13
  height: $divider-line-height;
14
14
  flex: 1;
@@ -26,9 +26,9 @@ textarea {
26
26
  .nut-input {
27
27
  position: relative;
28
28
  width: 100%;
29
- padding: 10px 25px;
29
+ padding: $input-padding;
30
30
  display: flex;
31
- line-height: 24px;
31
+ line-height: $input-line-height;
32
32
  background: $white;
33
33
  font-size: $input-font-size;
34
34
  box-sizing: border-box;
@@ -39,6 +39,10 @@ textarea {
39
39
  border-bottom: 1px solid $input-border-bottom;
40
40
  }
41
41
 
42
+ .input-text::placeholder {
43
+ color: $input-placeholder-color;
44
+ }
45
+
42
46
  .input-text,
43
47
  &__text--readonly {
44
48
  width: 90%;
@@ -58,6 +62,7 @@ textarea {
58
62
  overflow: hidden;
59
63
  margin-right: 6px;
60
64
  text-align: left;
65
+ color: $input-label-color;
61
66
  .label-string {
62
67
  // overflow: hidden;
63
68
  // white-space: nowrap;
@@ -143,6 +148,11 @@ textarea {
143
148
  -webkit-text-fill-color: $input-disabled-color;
144
149
  }
145
150
  }
151
+ &-readonly {
152
+ input {
153
+ color: $input-readonly-color;
154
+ }
155
+ }
146
156
  &-error,
147
157
  &-error::placeholder {
148
158
  color: $input-required-color;
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.3.3 Wed Jan 18 2023 12:19:04 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.3.4 Fri Feb 10 2023 17:20:30 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.3.3 Wed Jan 18 2023 12:19:04 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.3.4 Fri Feb 10 2023 17:20:30 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.3.3 Wed Jan 18 2023 12:19:04 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.3.4 Fri Feb 10 2023 17:20:30 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.3.3 Wed Jan 18 2023 12:19:04 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.3.4 Fri Feb 10 2023 17:20:30 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.3.3 Wed Jan 18 2023 12:19:04 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.3.4 Fri Feb 10 2023 17:20:30 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @nutui/nutui v3.3.3 Wed Jan 18 2023 12:19:04 GMT+0800 (中国标准时间)
2
+ * @nutui/nutui v3.3.4 Fri Feb 10 2023 17:20:30 GMT+0800 (中国标准时间)
3
3
  * (c) 2022 @jdf2e.
4
4
  * Released under the MIT License.
5
5
  */
@@ -44,7 +44,7 @@
44
44
 
45
45
  .number-board-body {
46
46
  display: flex;
47
- padding: 6px 0 0 6px;
47
+ padding: $numberkeyboard-body-padding;
48
48
 
49
49
  .number-board {
50
50
  display: flex;
@@ -57,7 +57,7 @@
57
57
  flex: 1;
58
58
  flex-basis: 33%;
59
59
  box-sizing: border-box;
60
- padding: 0 6px 6px 0;
60
+ padding: $numberkeyboard-wrapper-padding;
61
61
 
62
62
  .key {
63
63
  display: flex;
@@ -69,6 +69,7 @@
69
69
  background-color: $numberkeyboard-key-background-color;
70
70
  color: $numberkeyboard-key-font-size-color;
71
71
  border-radius: $numberkeyboard-key-border-radius;
72
+ box-shadow: $numberkeyboard-key-box-shadow;
72
73
  cursor: pointer;
73
74
  }
74
75
 
@@ -54,11 +54,13 @@
54
54
  &-title {
55
55
  display: block;
56
56
  margin-bottom: $steps-base-title-margin-bottom;
57
+ line-height: $steps-base-title-line-height;
57
58
  font-size: $steps-base-title-font-size;
58
59
  color: $steps-base-title-color;
59
60
  }
60
61
  &-content {
61
62
  display: block;
63
+ line-height: $steps-base-content-line-height;
62
64
  font-size: $steps-base-content-font-size;
63
65
  color: $steps-base-content-color;
64
66
  }
@@ -114,12 +116,16 @@
114
116
  color: $steps-wait-icon-color;
115
117
  }
116
118
  }
119
+ .nut-step-title {
120
+ color: $steps-wait-title-color;
121
+ }
117
122
  .nut-step-content {
118
123
  color: $steps-wait-content-color;
119
124
  }
120
125
  }
121
126
  }
122
127
  .nut-steps-horizontal {
128
+ padding: $steps-horizontal-padding;
123
129
  &.nut-steps-dot {
124
130
  .nut-step-head {
125
131
  margin-top: 7px;
@@ -172,6 +178,7 @@
172
178
  }
173
179
  }
174
180
  .nut-steps-vertical {
181
+ padding: $steps-vertical-padding;
175
182
  .nut-step {
176
183
  display: flex;
177
184
  height: 33.34%;
@@ -181,13 +188,23 @@
181
188
  display: inline-block;
182
189
  width: 1px;
183
190
  height: 100%;
184
- background: #909ca4;
191
+ background: $steps-base-line-color;
185
192
  }
186
193
  .nut-step-main {
187
194
  display: inline-block;
188
- padding-left: 6%;
195
+ padding: $steps-vertical-main-padding;
189
196
  text-align: left;
190
197
  }
198
+ .nut-step-title {
199
+ line-height: $steps-vertical-title-line-height;
200
+ font-size: $steps-vertical-title-font-size;
201
+ }
202
+ .nut-step-icon {
203
+ width: $steps-vertical-icon-width;
204
+ height: $steps-vertical-icon-height;
205
+ line-height: $steps-vertical-icon-line-height;
206
+ font-size: $steps-vertical-icon-font-size;
207
+ }
191
208
  &.nut-steps-dot {
192
209
  .nut-step-head {
193
210
  margin-top: 7px;
@@ -20,7 +20,7 @@
20
20
  display: flex;
21
21
  position: absolute;
22
22
  left: 50%;
23
- bottom: 12px;
23
+ bottom: $swiper-pagination-item-position;
24
24
  transform: translateX(-50%);
25
25
  i {
26
26
  width: $swiper-pagination-item-width;
@@ -34,7 +34,7 @@
34
34
  }
35
35
  &-pagination-vertical {
36
36
  top: 50%;
37
- left: 12px;
37
+ left: $swiper-pagination-item-position;
38
38
  bottom: auto;
39
39
  flex-direction: column;
40
40
  -webkit-box-orient: vertical;
@@ -26,10 +26,10 @@
26
26
  color: $white;
27
27
  font-size: $font-size-1;
28
28
  &.open {
29
- transform: translateX(-16px);
29
+ transform: $switch-label-open-transform;
30
30
  }
31
31
  &.close {
32
- transform: translateX(16px);
32
+ transform: $switch-label-close-transform;
33
33
  }
34
34
  }
35
35
  }
@@ -16,7 +16,7 @@
16
16
  align-items: center;
17
17
 
18
18
  &__icon--unactive {
19
- color: $black;
19
+ color: $tabbar-unactive-color;
20
20
  }
21
21
 
22
22
  &_icon-box {
@@ -32,8 +32,9 @@
32
32
  border: 1px solid $white;
33
33
  border-radius: 7px;
34
34
  text-align: center;
35
- top: -2px;
36
- right: -7px;
35
+ top: $tabbar-tips-nums-top;
36
+ right: $tabbar-tips-nums-right;
37
+ left: $tabbar-tips-nums-left;
37
38
  box-shadow: 0 0 0 1px $white;
38
39
  font-size: $font-size-1;
39
40
  color: $white;
@@ -52,7 +53,7 @@
52
53
  color: #fff;
53
54
  top: 0;
54
55
  right: 0;
55
- transform: translate(50%, -50%);
56
+ transform: $tabbar-tips-dot-transform;
56
57
  }
57
58
 
58
59
  &_num {
@@ -8,7 +8,7 @@
8
8
  flex-shrink: 0;
9
9
  display: block;
10
10
  background-color: #fff;
11
- padding: 24px 20px;
11
+ padding: $tabs-tabpane-padding;
12
12
  box-sizing: border-box;
13
13
  overflow: auto;
14
14
  height: 100%;
@@ -37,7 +37,7 @@
37
37
  &-inner {
38
38
  display: inline-block;
39
39
  font-size: $toast-text-font-size;
40
- min-width: 40%;
40
+ min-width: $toast-min-width;
41
41
  max-width: 65%;
42
42
  text-align: center;
43
43
  padding: $toast-inner-padding;
@@ -47,13 +47,19 @@
47
47
  color: $toast-font-color;
48
48
  }
49
49
  &-text {
50
+ display: block;
50
51
  font-size: $toast-text-font-size;
52
+ line-height: $toast-text-line-height;
51
53
  &:empty {
52
54
  margin-bottom: -8px;
53
55
  }
54
56
  }
55
57
  &-title {
56
58
  font-size: $toast-title-font-size;
59
+ line-height: $toast-title-line-height;
60
+ & + .nut-toast-text {
61
+ margin-top: $toast-title-margin-bottom;
62
+ }
57
63
  &:empty {
58
64
  margin-bottom: -8px;
59
65
  }
@@ -239,6 +239,10 @@
239
239
  "type": "boolean",
240
240
  "description": "属性说明:是否为小点,默认值:`false`"
241
241
  },
242
+ "nut-badge/bubble": {
243
+ "type": "boolean",
244
+ "description": "属性说明:是否为气泡形状,默认值:`false`"
245
+ },
242
246
  "nut-badge/hidden": {
243
247
  "type": "boolean",
244
248
  "description": "属性说明:是否隐藏,默认值:`false`"
@@ -531,6 +535,10 @@
531
535
  "type": "boolean",
532
536
  "description": "属性说明:当前是否支持半选状态,一般用在全选操作中,默认值:`false`"
533
537
  },
538
+ "nut-checkbox/shape ": {
539
+ "type": "string",
540
+ "description": "属性说明:形状,可选值:`button`、`round`,默认值:`round`"
541
+ },
534
542
  "nut-circleprogress/progress": {
535
543
  "type": "number,string",
536
544
  "description": "属性说明:百分比,默认值:必传项,无默认值"
@@ -93,6 +93,7 @@
93
93
  "max",
94
94
  "z-index",
95
95
  "dot",
96
+ "bubble",
96
97
  "hidden",
97
98
  "top",
98
99
  "right",
@@ -197,7 +198,8 @@
197
198
  "icon-class-prefix",
198
199
  "icon-font-class-name",
199
200
  "label",
200
- "indeterminate"
201
+ "indeterminate",
202
+ "shape "
201
203
  ]
202
204
  },
203
205
  "nut-circleprogress": {
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "framework": "vue",
4
4
  "name": "NutUI",
5
- "version": "3.3.3",
5
+ "version": "3.3.4",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "tags": [
@@ -607,6 +607,15 @@
607
607
  "kind": "expression"
608
608
  }
609
609
  },
610
+ {
611
+ "name": "bubble",
612
+ "default": "`false`",
613
+ "description": "是否为气泡形状",
614
+ "value": {
615
+ "type": "boolean",
616
+ "kind": "expression"
617
+ }
618
+ },
610
619
  {
611
620
  "name": "hidden",
612
621
  "default": "`false`",
@@ -1319,6 +1328,15 @@
1319
1328
  "type": "boolean",
1320
1329
  "kind": "expression"
1321
1330
  }
1331
+ },
1332
+ {
1333
+ "name": "shape ",
1334
+ "default": "`round`",
1335
+ "description": "形状,可选值:`button`、`round`",
1336
+ "value": {
1337
+ "type": "string",
1338
+ "kind": "expression"
1339
+ }
1322
1340
  }
1323
1341
  ]
1324
1342
  },