@nutui/nutui 3.1.3 → 3.1.6
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.
- package/CHANGELOG.md +35 -0
- package/dist/nutui.d.ts +19 -1
- package/dist/nutui.es.js +10411 -3
- package/dist/nutui.umd.js +10479 -3
- package/dist/packages/address/index.scss +11 -71
- package/dist/packages/barrage/index.scss +4 -4
- package/dist/packages/calendar/index.scss +0 -3
- package/dist/packages/calendaritem/index.scss +0 -3
- package/dist/packages/checkbox/index.scss +9 -0
- package/dist/packages/circleprogress/index.scss +26 -13
- package/dist/packages/col/index.scss +0 -2
- package/dist/packages/countdown/index.scss +3 -0
- package/dist/packages/divider/index.scss +54 -0
- package/dist/packages/elevator/index.scss +72 -0
- package/dist/packages/input/index.scss +3 -0
- package/dist/packages/layout/index.scss +0 -0
- package/dist/packages/noticebar/index.scss +109 -0
- package/dist/packages/numberkeyboard/index.scss +108 -0
- package/dist/packages/overlay/index.scss +4 -0
- package/dist/packages/progress/index.scss +1 -1
- package/dist/packages/radio/index.scss +9 -0
- package/dist/packages/shortpassword/index.scss +24 -4
- package/dist/packages/signature/index.scss +14 -0
- package/dist/packages/swipe/index.scss +1 -1
- package/dist/packages/tab/index.scss +151 -158
- package/dist/style.css +1 -1
- package/dist/style.es.js +1 -0
- package/dist/styles/themes/default.scss +35 -28
- package/dist/styles/variables.scss +140 -131
- package/package.json +6 -7
|
@@ -13,11 +13,11 @@ $title-color2: #666666 !default;
|
|
|
13
13
|
$text-color: #808080 !default;
|
|
14
14
|
// 特殊禁用色
|
|
15
15
|
$disable-color: #cccccc !default;
|
|
16
|
-
$white: #fff;
|
|
17
|
-
$black: #000;
|
|
16
|
+
$white: #fff !default;
|
|
17
|
+
$black: #000 !default;
|
|
18
18
|
|
|
19
19
|
// padding
|
|
20
|
-
$padding-xs: 12px;
|
|
20
|
+
$padding-xs: 12px !default;
|
|
21
21
|
|
|
22
22
|
$font-family: PingFang SC, Microsoft YaHei, Helvetica, Hiragino Sans GB, SimSun,
|
|
23
23
|
sans-serif !default;
|
|
@@ -27,176 +27,176 @@ $animation-duration: 0.25s !default;
|
|
|
27
27
|
$animation-timing-fun: cubic-bezier(0.55, 0.085, 0.68, 0.53) !default;
|
|
28
28
|
|
|
29
29
|
// Font
|
|
30
|
-
$font-size-0: 10px;
|
|
31
|
-
$font-size-1: 12px;
|
|
32
|
-
$font-size-2: 14px;
|
|
33
|
-
$font-size-3: 16px;
|
|
34
|
-
$font-size-4: 18px;
|
|
35
|
-
$font-weight-bold: 400;
|
|
36
|
-
|
|
37
|
-
$font-size-small: $font-size-1;
|
|
38
|
-
$font-size-base: $font-size-2;
|
|
39
|
-
$font-size-large: $font-size-3;
|
|
30
|
+
$font-size-0: 10px !default;
|
|
31
|
+
$font-size-1: 12px !default;
|
|
32
|
+
$font-size-2: 14px !default;
|
|
33
|
+
$font-size-3: 16px !default;
|
|
34
|
+
$font-size-4: 18px !default;
|
|
35
|
+
$font-weight-bold: 400 !default;
|
|
36
|
+
|
|
37
|
+
$font-size-small: $font-size-1 !default;
|
|
38
|
+
$font-size-base: $font-size-2 !default;
|
|
39
|
+
$font-size-large: $font-size-3 !default;
|
|
40
40
|
$line-height-base: 1.5 !default;
|
|
41
41
|
// button
|
|
42
|
-
$button-border-radius: 25px;
|
|
43
|
-
$button-border-width: 1px;
|
|
44
|
-
$button-default-bg-color: $white;
|
|
45
|
-
$button-default-border-color: rgba(204, 204, 204, 1);
|
|
46
|
-
$button-default-color: rgba(102, 102, 102, 1);
|
|
47
|
-
$button-small-height: 28px;
|
|
48
|
-
$button-default-height: 38px;
|
|
49
|
-
$button-large-height: 48px;
|
|
50
|
-
$button-large-line-height: 46px;
|
|
51
|
-
$button-small-line-height: 26px;
|
|
52
|
-
$button-block-height: 48px;
|
|
53
|
-
$button-default-line-height: 36px;
|
|
54
|
-
$button-block-line-height: 46px;
|
|
55
|
-
$button-default-font-size: $font-size-2;
|
|
56
|
-
$button-disabled-opacity: 0.68;
|
|
57
|
-
$button-primary-color: $white;
|
|
58
|
-
$button-primary-border-color: $primary-color;
|
|
42
|
+
$button-border-radius: 25px !default;
|
|
43
|
+
$button-border-width: 1px !default;
|
|
44
|
+
$button-default-bg-color: $white !default;
|
|
45
|
+
$button-default-border-color: rgba(204, 204, 204, 1) !default;
|
|
46
|
+
$button-default-color: rgba(102, 102, 102, 1) !default;
|
|
47
|
+
$button-small-height: 28px !default;
|
|
48
|
+
$button-default-height: 38px !default;
|
|
49
|
+
$button-large-height: 48px !default;
|
|
50
|
+
$button-large-line-height: 46px !default;
|
|
51
|
+
$button-small-line-height: 26px !default;
|
|
52
|
+
$button-block-height: 48px !default;
|
|
53
|
+
$button-default-line-height: 36px !default;
|
|
54
|
+
$button-block-line-height: 46px !default;
|
|
55
|
+
$button-default-font-size: $font-size-2 !default;
|
|
56
|
+
$button-disabled-opacity: 0.68 !default;
|
|
57
|
+
$button-primary-color: $white !default;
|
|
58
|
+
$button-primary-border-color: $primary-color !default;
|
|
59
59
|
$button-primary-background-color: linear-gradient(
|
|
60
60
|
135deg,
|
|
61
61
|
$primary-color 0%,
|
|
62
62
|
$primary-color-end 100%
|
|
63
|
-
);
|
|
64
|
-
$button-info-color: $white;
|
|
65
|
-
$button-info-border-color: rgba(73, 106, 242, 1);
|
|
63
|
+
) !default;
|
|
64
|
+
$button-info-color: $white !default;
|
|
65
|
+
$button-info-border-color: rgba(73, 106, 242, 1) !default;
|
|
66
66
|
$button-info-background-color: linear-gradient(
|
|
67
67
|
315deg,
|
|
68
68
|
rgba(73, 143, 242, 1) 0%,
|
|
69
69
|
rgba(73, 101, 242, 1) 100%
|
|
70
|
-
);
|
|
71
|
-
$button-success-color: $white;
|
|
72
|
-
$button-success-border-color: rgba(38, 191, 38, 1);
|
|
70
|
+
) !default;
|
|
71
|
+
$button-success-color: $white !default;
|
|
72
|
+
$button-success-border-color: rgba(38, 191, 38, 1) !default;
|
|
73
73
|
$button-success-background-color: linear-gradient(
|
|
74
74
|
135deg,
|
|
75
75
|
rgba(38, 191, 38, 1) 0%,
|
|
76
76
|
rgba(39, 197, 48, 1) 45%,
|
|
77
77
|
rgba(40, 207, 63, 1) 83%,
|
|
78
78
|
rgba(41, 212, 70, 1) 100%
|
|
79
|
-
);
|
|
79
|
+
) !default;
|
|
80
80
|
|
|
81
|
-
$button-danger-color: $white;
|
|
82
|
-
$button-danger-border-color: rgba(250, 44, 25, 1);
|
|
83
|
-
$button-danger-background-color: rgba(250, 44, 25, 1);
|
|
84
|
-
$button-warning-color: $white;
|
|
85
|
-
$button-warning-border-color: rgba(255, 158, 13, 1);
|
|
81
|
+
$button-danger-color: $white !default;
|
|
82
|
+
$button-danger-border-color: rgba(250, 44, 25, 1) !default;
|
|
83
|
+
$button-danger-background-color: rgba(250, 44, 25, 1) !default;
|
|
84
|
+
$button-warning-color: $white !default;
|
|
85
|
+
$button-warning-border-color: rgba(255, 158, 13, 1) !default;
|
|
86
86
|
$button-warning-background-color: linear-gradient(
|
|
87
87
|
135deg,
|
|
88
88
|
rgba(255, 158, 13, 1) 0%,
|
|
89
89
|
rgba(255, 167, 13, 1) 45%,
|
|
90
90
|
rgba(255, 182, 13, 1) 83%,
|
|
91
91
|
rgba(255, 190, 13, 1) 100%
|
|
92
|
-
);
|
|
93
|
-
$button-plain-background-color: #fff;
|
|
94
|
-
$button-plain-background-color: $white;
|
|
92
|
+
) !default;
|
|
93
|
+
$button-plain-background-color: #fff !default;
|
|
94
|
+
$button-plain-background-color: $white !default;
|
|
95
95
|
|
|
96
96
|
// cell
|
|
97
97
|
|
|
98
|
-
$cell-color: $title-color2;
|
|
99
|
-
$cell-title-font: $font-size-2;
|
|
100
|
-
$cell-title-desc-font: $font-size-1;
|
|
101
|
-
$cell-desc-font: $font-size-2;
|
|
102
|
-
$cell-desc-color: $disable-color;
|
|
103
|
-
$cell-border-radius: 6px;
|
|
98
|
+
$cell-color: $title-color2 !default;
|
|
99
|
+
$cell-title-font: $font-size-2 !default;
|
|
100
|
+
$cell-title-desc-font: $font-size-1 !default;
|
|
101
|
+
$cell-desc-font: $font-size-2 !default;
|
|
102
|
+
$cell-desc-color: $disable-color !default;
|
|
103
|
+
$cell-border-radius: 6px !default;
|
|
104
104
|
|
|
105
105
|
// cell-group
|
|
106
106
|
|
|
107
|
-
$cell-group-title-padding: 0 10px;
|
|
108
|
-
$cell-group-title-color: #909ca4;
|
|
109
|
-
$cell-group-title-font-size: $font-size-2;
|
|
110
|
-
$cell-group-title-line-height: 20px;
|
|
111
|
-
$cell-group-background-color: $white;
|
|
107
|
+
$cell-group-title-padding: 0 10px !default;
|
|
108
|
+
$cell-group-title-color: #909ca4 !default;
|
|
109
|
+
$cell-group-title-font-size: $font-size-2 !default;
|
|
110
|
+
$cell-group-title-line-height: 20px !default;
|
|
111
|
+
$cell-group-background-color: $white !default;
|
|
112
112
|
|
|
113
113
|
// icon
|
|
114
114
|
|
|
115
|
-
$icon-height: 20px;
|
|
116
|
-
$icon-width: 20px;
|
|
117
|
-
$icon-line-height: 20px;
|
|
115
|
+
$icon-height: 20px !default;
|
|
116
|
+
$icon-width: 20px !default;
|
|
117
|
+
$icon-line-height: 20px !default;
|
|
118
118
|
|
|
119
119
|
// uploader
|
|
120
120
|
|
|
121
|
-
$uploader-width: 100px;
|
|
122
|
-
$uploader-height: 100px;
|
|
123
|
-
$uploader-background: #f7f8fa;
|
|
121
|
+
$uploader-width: 100px !default;
|
|
122
|
+
$uploader-height: 100px !default;
|
|
123
|
+
$uploader-background: #f7f8fa !default;
|
|
124
124
|
|
|
125
125
|
//input
|
|
126
|
-
$input-border-bottom: #eaf0fb;
|
|
127
|
-
$input-disabled-color: #c8c9cc;
|
|
126
|
+
$input-border-bottom: #eaf0fb !default;
|
|
127
|
+
$input-disabled-color: #c8c9cc !default;
|
|
128
128
|
|
|
129
129
|
// textarea
|
|
130
130
|
|
|
131
|
-
$textarea-font: $font-size-2;
|
|
132
|
-
$textarea-height: 100px;
|
|
133
|
-
$textarea-limit-color: $text-color;
|
|
134
|
-
$textarea-text-color: $title-color;
|
|
135
|
-
$textarea-disabled-color: $disable-color;
|
|
131
|
+
$textarea-font: $font-size-2 !default;
|
|
132
|
+
$textarea-height: 100px !default;
|
|
133
|
+
$textarea-limit-color: $text-color !default;
|
|
134
|
+
$textarea-text-color: $title-color !default;
|
|
135
|
+
$textarea-disabled-color: $disable-color !default;
|
|
136
136
|
|
|
137
137
|
// inputnumber
|
|
138
138
|
|
|
139
|
-
$inputnumber-icon-color: $title-color;
|
|
140
|
-
$inputnumber-icon-void-color: $disable-color;
|
|
141
|
-
$inputnumber-input-background-color: $help-color;
|
|
142
|
-
$inputnumber-input-border-radius: 4px;
|
|
143
|
-
$inputnumber-input-width: 40px;
|
|
144
|
-
$inputnumber-icon-size: 20px;
|
|
139
|
+
$inputnumber-icon-color: $title-color !default;
|
|
140
|
+
$inputnumber-icon-void-color: $disable-color !default;
|
|
141
|
+
$inputnumber-input-background-color: $help-color !default;
|
|
142
|
+
$inputnumber-input-border-radius: 4px !default;
|
|
143
|
+
$inputnumber-input-width: 40px !default;
|
|
144
|
+
$inputnumber-icon-size: 20px !default;
|
|
145
145
|
|
|
146
146
|
// actionsheet
|
|
147
147
|
$zindex-actionsheet: 10001 !default;
|
|
148
148
|
$body-background: #f6f6f6 !default;
|
|
149
149
|
$light-color: #f6f6f6 !default;
|
|
150
|
-
$font-size-base: $font-size-2;
|
|
151
|
-
$font-size-small: $font-size-1;
|
|
150
|
+
$font-size-base: $font-size-2 !default;
|
|
151
|
+
$font-size-small: $font-size-1 !default;
|
|
152
152
|
|
|
153
153
|
//shortpassword
|
|
154
|
-
$shortpsd-background-color: rgba(245, 245, 245, 1);
|
|
155
|
-
$shortpsd-border-color: #ddd;
|
|
156
|
-
$shortpsd-error: rgba(242, 39, 12, 1);
|
|
157
|
-
$shortpsd-forget: rgba(128, 128, 128, 1);
|
|
154
|
+
$shortpsd-background-color: rgba(245, 245, 245, 1) !default;
|
|
155
|
+
$shortpsd-border-color: #ddd !default;
|
|
156
|
+
$shortpsd-error: rgba(242, 39, 12, 1) !default;
|
|
157
|
+
$shortpsd-forget: rgba(128, 128, 128, 1) !default;
|
|
158
158
|
|
|
159
159
|
//price
|
|
160
|
-
$price-big-size: 24px;
|
|
160
|
+
$price-big-size: 24px !default;
|
|
161
161
|
|
|
162
162
|
//avatar
|
|
163
|
-
$avatar-square: 5px;
|
|
164
|
-
$avatar-large-width: 60px;
|
|
165
|
-
$avatar-large-height: 60px;
|
|
166
|
-
$avatar-small-width: 32px;
|
|
167
|
-
$avatar-small-height: 32px;
|
|
168
|
-
$avatar-normal-width: 40px;
|
|
169
|
-
$avatar-normal-height: 40px;
|
|
163
|
+
$avatar-square: 5px !default;
|
|
164
|
+
$avatar-large-width: 60px !default;
|
|
165
|
+
$avatar-large-height: 60px !default;
|
|
166
|
+
$avatar-small-width: 32px !default;
|
|
167
|
+
$avatar-small-height: 32px !default;
|
|
168
|
+
$avatar-normal-width: 40px !default;
|
|
169
|
+
$avatar-normal-height: 40px !default;
|
|
170
170
|
|
|
171
171
|
//switch
|
|
172
|
-
$switch-close-bg-color: #ebebeb;
|
|
173
|
-
$switch-close--cline-bg-color: #f0f0f0;
|
|
172
|
+
$switch-close-bg-color: #ebebeb !default;
|
|
173
|
+
$switch-close--cline-bg-color: #f0f0f0 !default;
|
|
174
174
|
|
|
175
175
|
//backtop
|
|
176
|
-
$backtop-border-color: #e0e0e0;
|
|
176
|
+
$backtop-border-color: #e0e0e0 !default;
|
|
177
177
|
|
|
178
178
|
// calendar
|
|
179
|
-
$calendar-primary-color: $primary-color;
|
|
180
|
-
$calendar-choose-color: #fef6f6;
|
|
181
|
-
$calendar-base-color: #333333;
|
|
182
|
-
$calendar-disable-color: #d1d0d0;
|
|
183
|
-
$calendar-title-font: $font-size-4;
|
|
184
|
-
$calendar-base-font: $font-size-3;
|
|
185
|
-
$calendar-text-font: $font-size-1;
|
|
186
|
-
$calendar-day-font: 18px;
|
|
179
|
+
$calendar-primary-color: $primary-color !default;
|
|
180
|
+
$calendar-choose-color: #fef6f6 !default;
|
|
181
|
+
$calendar-base-color: #333333 !default;
|
|
182
|
+
$calendar-disable-color: #d1d0d0 !default;
|
|
183
|
+
$calendar-title-font: $font-size-4 !default;
|
|
184
|
+
$calendar-base-font: $font-size-3 !default;
|
|
185
|
+
$calendar-text-font: $font-size-1 !default;
|
|
186
|
+
$calendar-day-font: 18px !default;
|
|
187
187
|
|
|
188
188
|
//overlay
|
|
189
|
-
$overlay-bg-color: rgba(0, 0, 0, 0.7);
|
|
189
|
+
$overlay-bg-color: rgba(0, 0, 0, 0.7) !default;
|
|
190
190
|
|
|
191
191
|
//popup
|
|
192
|
-
$popup-close-icon-margin: 16px;
|
|
193
|
-
$popup-border-radius: 20px;
|
|
192
|
+
$popup-close-icon-margin: 16px !default;
|
|
193
|
+
$popup-border-radius: 20px !default;
|
|
194
194
|
|
|
195
195
|
// Notify
|
|
196
|
-
$notify-text-color: $white;
|
|
197
|
-
$notify-padding: 12px 0;
|
|
198
|
-
$notify-font-size: 14px;
|
|
199
|
-
$notify-height: 44px;
|
|
196
|
+
$notify-text-color: $white !default;
|
|
197
|
+
$notify-padding: 12px 0 !default;
|
|
198
|
+
$notify-font-size: 14px !default;
|
|
199
|
+
$notify-height: 44px !default;
|
|
200
200
|
|
|
201
201
|
$notify-base-background-color: linear-gradient(
|
|
202
202
|
135deg,
|
|
@@ -204,78 +204,87 @@ $notify-base-background-color: linear-gradient(
|
|
|
204
204
|
rgba(250, 63, 25, 1) 45%,
|
|
205
205
|
rgba(250, 89, 25, 1) 83%,
|
|
206
206
|
rgba(250, 100, 25, 1) 100%
|
|
207
|
-
);
|
|
207
|
+
) !default;
|
|
208
208
|
$notify-primary-background-color: linear-gradient(
|
|
209
209
|
315deg,
|
|
210
210
|
rgba(73, 143, 242, 1) 0%,
|
|
211
211
|
rgba(73, 101, 242, 1) 100%
|
|
212
|
-
);
|
|
212
|
+
) !default;
|
|
213
213
|
$notify-success-background-color: linear-gradient(
|
|
214
214
|
135deg,
|
|
215
215
|
rgba(38, 191, 38, 1) 0%,
|
|
216
216
|
rgba(39, 197, 48, 1) 45%,
|
|
217
217
|
rgba(40, 207, 63, 1) 83%,
|
|
218
218
|
rgba(41, 212, 70, 1) 100%
|
|
219
|
-
);
|
|
220
|
-
$notify-danger-background-color: rgba(250, 50, 25, 1);
|
|
219
|
+
) !default;
|
|
220
|
+
$notify-danger-background-color: rgba(250, 50, 25, 1) !default;
|
|
221
221
|
$notify-warning-background-color: linear-gradient(
|
|
222
222
|
135deg,
|
|
223
223
|
rgba(255, 93, 13, 1) 0%,
|
|
224
224
|
rgba(255, 154, 13, 1) 100%
|
|
225
|
-
);
|
|
225
|
+
) !default;
|
|
226
226
|
|
|
227
227
|
// rate
|
|
228
228
|
|
|
229
|
-
$rate-icon-color: $primary-color;
|
|
230
|
-
$rate-icon-void-color: $disable-color;
|
|
229
|
+
$rate-icon-color: $primary-color !default;
|
|
230
|
+
$rate-icon-void-color: $disable-color !default;
|
|
231
231
|
|
|
232
232
|
// tabbar
|
|
233
233
|
|
|
234
|
-
$tabbar-active-color: $primary-color;
|
|
235
|
-
$tabbar-border-color: #eee;
|
|
234
|
+
$tabbar-active-color: $primary-color !default;
|
|
235
|
+
$tabbar-border-color: #eee !default;
|
|
236
236
|
|
|
237
237
|
//infiniteloading
|
|
238
|
-
$infinite-bottom-color: #c8c8c8;
|
|
238
|
+
$infinite-bottom-color: #c8c8c8 !default;
|
|
239
239
|
|
|
240
240
|
//range
|
|
241
|
-
$range-max: #333333;
|
|
242
|
-
$rang-bg-color: rgba($primary-color, 0.5);
|
|
241
|
+
$range-max: #333333 !default;
|
|
242
|
+
$rang-bg-color: rgba($primary-color, 0.5) !default;
|
|
243
243
|
$rang-bar-bg-color: linear-gradient(
|
|
244
244
|
135deg,
|
|
245
245
|
$primary-color 0%,
|
|
246
246
|
$primary-color-end 100%
|
|
247
|
-
);
|
|
247
|
+
) !default;
|
|
248
248
|
|
|
249
249
|
//address
|
|
250
250
|
$address-region-tab-line: linear-gradient(
|
|
251
251
|
90deg,
|
|
252
252
|
$primary-color 0%,
|
|
253
253
|
$primary-color-end 100%
|
|
254
|
-
);
|
|
254
|
+
) !default;
|
|
255
255
|
|
|
256
256
|
//steps
|
|
257
|
-
$step-wait-bg-color: #959fb1;
|
|
257
|
+
$step-wait-bg-color: #959fb1 !default;
|
|
258
258
|
|
|
259
259
|
// dialog
|
|
260
|
-
$dialog-width: 296px;
|
|
260
|
+
$dialog-width: 296px !default;
|
|
261
261
|
|
|
262
262
|
// checkbox
|
|
263
|
-
$checkbox-label-color: #1d1e1e;
|
|
264
|
-
$checkbox-label-disable-color: #999;
|
|
263
|
+
$checkbox-label-color: #1d1e1e !default;
|
|
264
|
+
$checkbox-label-disable-color: #999 !default;
|
|
265
|
+
$checkbox-icon-disable-color: #d6d6d6 !default;
|
|
265
266
|
|
|
266
267
|
//radio
|
|
267
|
-
$radio-label-color: #1d1e1e;
|
|
268
|
-
$radio-label-disable-color: #999;
|
|
268
|
+
$radio-label-color: #1d1e1e !default;
|
|
269
|
+
$radio-label-disable-color: #999 !default;
|
|
270
|
+
$radio-icon-disable-color: #d6d6d6 !default;
|
|
269
271
|
|
|
270
272
|
//fixednav
|
|
271
|
-
$fixednav-bg-color: $white;
|
|
272
|
-
$fixednav-font-color: $black;
|
|
273
|
-
$fixednav-index: 201;
|
|
273
|
+
$fixednav-bg-color: $white !default;
|
|
274
|
+
$fixednav-font-color: $black !default;
|
|
275
|
+
$fixednav-index: 201 !default;
|
|
274
276
|
$fixednav-btn-bg: linear-gradient(
|
|
275
277
|
135deg,
|
|
276
278
|
rgba(250, 25, 44, 1) 0%,
|
|
277
279
|
rgba(250, 63, 25, 1) 100%
|
|
278
|
-
);
|
|
280
|
+
) !default;
|
|
281
|
+
|
|
282
|
+
// NoticeBar
|
|
283
|
+
$noticeBar-font-size: 14px !default;
|
|
284
|
+
$noticeBar-height: 40px !default;
|
|
285
|
+
$noticeBar-line-height: 24px !default;
|
|
286
|
+
$noticeBar-left-icon-width: 16px !default;
|
|
287
|
+
$noticeBar-right-icon-width: 16px !default;
|
|
279
288
|
|
|
280
289
|
@import './mixins/index';
|
|
281
290
|
@import './animation/index';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nutui/nutui",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.6",
|
|
4
4
|
"description": "京东风格的轻量级移动端 Vue2、Vue3 组件库(支持小程序开发)",
|
|
5
5
|
"main": "dist/nutui.umd.js",
|
|
6
6
|
"module": "dist/nutui.es.js",
|
|
@@ -41,9 +41,8 @@
|
|
|
41
41
|
"build:site": "npm run checked && vite build",
|
|
42
42
|
"build:gh-pages": "npm run checked && vite build --base=/nutui/",
|
|
43
43
|
"build:site:oss": "npm run checked && vite build --base=/nutui/3x/",
|
|
44
|
-
"build": "npm run checked && vite build --config vite.config.build.ts && npm run generate:types && npm run generate:themes",
|
|
45
|
-
"build:taro:vue": "npm run checked:taro:vue && vite build --config vite.config.build.taro.vue.ts && npm run generate:types && npm run generate:themes",
|
|
46
|
-
"build:disperse": "vite build --config vite.config.build.disperse.ts",
|
|
44
|
+
"build": "npm run checked && vite build --config vite.config.build.ts && npm run generate:types && npm run generate:themes && vite build --config vite.config.build.css.ts",
|
|
45
|
+
"build:taro:vue": "npm run checked:taro:vue && vite build --config vite.config.build.taro.vue.ts && npm run generate:types && npm run generate:themes && vite build --config vite.config.build.css.ts",
|
|
47
46
|
"serve": "vite preview",
|
|
48
47
|
"upload": "yarn build:site:oss && node ./jd/upload.js",
|
|
49
48
|
"add": "node jd/createComponentMode.js",
|
|
@@ -64,6 +63,7 @@
|
|
|
64
63
|
}
|
|
65
64
|
},
|
|
66
65
|
"dependencies": {
|
|
66
|
+
"pinyin": "^2.10.2",
|
|
67
67
|
"sass": "^1.34.0",
|
|
68
68
|
"vue": "^3.0.5",
|
|
69
69
|
"vue-router": "^4.0.4"
|
|
@@ -81,17 +81,16 @@
|
|
|
81
81
|
"@vue/eslint-config-prettier": "^6.0.0",
|
|
82
82
|
"@vue/eslint-config-typescript": "^5.0.2",
|
|
83
83
|
"@vue/test-utils": "^2.0.0-rc.6",
|
|
84
|
+
"autoprefixer": "^10.3.4",
|
|
84
85
|
"axios": "^0.21.0",
|
|
85
86
|
"eslint": "^6.7.2",
|
|
86
87
|
"eslint-plugin-prettier": "^3.1.3",
|
|
87
88
|
"eslint-plugin-vue": "^7.0.0-0",
|
|
88
|
-
"front-matter": "^4.0.2",
|
|
89
89
|
"fs-extra": "^9.1.0",
|
|
90
90
|
"highlight.js": "^10.3.1",
|
|
91
91
|
"husky": "^6.0.0",
|
|
92
92
|
"jest": "^26.6.3",
|
|
93
93
|
"lint-staged": "^10.5.0",
|
|
94
|
-
"pinyin": "^2.10.2",
|
|
95
94
|
"prettier": "^2.0.0",
|
|
96
95
|
"standard-version": "^9.3.0",
|
|
97
96
|
"swiper": "6.5.1",
|
|
@@ -99,7 +98,7 @@
|
|
|
99
98
|
"ts-jest": "^26.5.5",
|
|
100
99
|
"typescript": "^4.1.5",
|
|
101
100
|
"vite": "^2.3.4",
|
|
102
|
-
"vite-plugin-md": "^0.
|
|
101
|
+
"vite-plugin-md": "^0.11.0",
|
|
103
102
|
"vue-jest": "^5.0.0-alpha.7"
|
|
104
103
|
},
|
|
105
104
|
"eslintConfig": {
|