@nutui/nutui-react-taro 3.0.0 → 3.0.2
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 +24 -0
- package/dist/cjs/hooks/use-client-rect.js +1 -0
- package/dist/cjs/packages/actionsheet/style/style.css +12 -0
- package/dist/cjs/packages/address/style/style.css +12 -0
- package/dist/cjs/packages/calendar/style/style.css +12 -0
- package/dist/cjs/packages/cascader/style/style.css +12 -0
- package/dist/cjs/packages/configprovider/types.d.ts +1 -1
- package/dist/cjs/packages/datepicker/datepicker.js +8 -6
- package/dist/cjs/packages/datepicker/style/style.css +82 -0
- package/dist/cjs/packages/datepickerview/datepickerview.d.ts +3 -0
- package/dist/cjs/packages/datepickerview/datepickerview.js +119 -0
- package/dist/cjs/packages/datepickerview/index.d.ts +3 -0
- package/dist/cjs/packages/{subsidenavbar → datepickerview}/index.js +2 -2
- package/dist/cjs/packages/datepickerview/style/datepickerview.scss +4 -0
- package/dist/cjs/packages/datepickerview/style/index.js +2 -0
- package/dist/cjs/packages/datepickerview/style/style.css +78 -0
- package/dist/cjs/packages/datepickerview/style/style.harmony.css +8 -0
- package/dist/cjs/packages/datepickerview/types.d.ts +15 -0
- package/dist/cjs/packages/datepickerview/types.js +4 -0
- package/dist/cjs/packages/dialog/dialog.js +8 -3
- package/dist/cjs/packages/dialog/style/dialog.scss +0 -1
- package/dist/cjs/packages/dialog/style/style.css +0 -1
- package/dist/cjs/packages/dialog/style/style.harmony.css +0 -1
- package/dist/cjs/packages/drag/drag.js +33 -39
- package/dist/cjs/packages/drag/style/drag.scss +1 -0
- package/dist/cjs/packages/drag/style/style.css +1 -0
- package/dist/cjs/packages/drag/style/style.harmony.css +1 -0
- package/dist/cjs/packages/fixednav/fixednav.js +20 -14
- package/dist/cjs/packages/fixednav/style/fixednav.scss +0 -15
- package/dist/cjs/packages/fixednav/style/style.css +0 -14
- package/dist/cjs/packages/fixednav/style/style.harmony.css +0 -14
- package/dist/cjs/packages/form/form.d.ts +2 -0
- package/dist/cjs/packages/form/form.js +11 -2
- package/dist/cjs/packages/form/index.d.ts +2 -1
- package/dist/cjs/packages/form/index.js +1 -0
- package/dist/cjs/packages/form/style/form.scss +0 -66
- package/dist/cjs/packages/form/style/style.css +31 -21
- package/dist/cjs/packages/form/style/style.harmony.css +1 -67
- package/dist/cjs/packages/form/types.d.ts +2 -1
- package/dist/cjs/packages/form/useform.d.ts +2 -1
- package/dist/cjs/packages/form/useform.js +338 -247
- package/dist/cjs/packages/formitem/formitem.d.ts +1 -0
- package/dist/cjs/packages/formitem/formitem.js +57 -45
- package/dist/cjs/packages/formitem/style/formitem.scss +101 -21
- package/dist/cjs/packages/formitem/style/style.css +89 -12
- package/dist/cjs/packages/formitem/style/style.harmony.css +89 -12
- package/dist/cjs/packages/imagepreview/style/style.css +12 -0
- package/dist/cjs/packages/input/input.js +5 -2
- package/dist/cjs/packages/input/style/input.scss +6 -4
- package/dist/cjs/packages/input/style/style.css +4 -0
- package/dist/cjs/packages/input/style/style.harmony.css +8 -0
- package/dist/cjs/packages/numberkeyboard/style/style.css +12 -0
- package/dist/cjs/packages/nutui.react.build.d.ts +11 -15
- package/dist/cjs/packages/nutui.react.build.js +172 -180
- package/dist/cjs/packages/nutui.react.d.ts +16 -22
- package/dist/cjs/packages/nutui.react.js +177 -187
- package/dist/cjs/packages/nutui.react.scss.d.ts +5 -7
- package/dist/cjs/packages/nutui.react.scss.js +5 -7
- package/dist/cjs/packages/overlay/overlay.js +4 -5
- package/dist/cjs/packages/overlay/style/overlay.scss +0 -4
- package/dist/cjs/packages/picker/style/index.js +1 -0
- package/dist/cjs/packages/picker/style/style.css +82 -0
- package/dist/cjs/packages/popover/style/style.css +12 -0
- package/dist/cjs/packages/popup/popup.js +17 -11
- package/dist/cjs/packages/popup/style/popup.scss +12 -4
- package/dist/cjs/packages/popup/style/style.css +12 -0
- package/dist/cjs/packages/popup/style/style.harmony.css +12 -0
- package/dist/cjs/packages/shortpassword/shortpassword.js +5 -7
- package/dist/cjs/packages/shortpassword/style/shortpassword.scss +10 -0
- package/dist/cjs/packages/shortpassword/style/style.css +21 -0
- package/dist/cjs/packages/shortpassword/style/style.harmony.css +9 -0
- package/dist/cjs/packages/signature/signature.js +1 -1
- package/dist/cjs/packages/swipe/style/style.css +3 -3
- package/dist/cjs/packages/swipe/style/style.harmony.css +3 -3
- package/dist/cjs/packages/swipe/style/swipe.scss +7 -3
- package/dist/cjs/packages/swipe/swipe.js +14 -15
- package/dist/cjs/packages/tabbar/style/style.css +6 -0
- package/dist/cjs/packages/tabbaritem/style/style.css +6 -0
- package/dist/cjs/packages/tabbaritem/style/style.harmony.css +6 -0
- package/dist/cjs/packages/tabbaritem/style/tabbaritem.scss +6 -0
- package/dist/cjs/packages/tabs/tabs.js +6 -13
- package/dist/cjs/packages/textarea/textarea.js +1 -1
- package/dist/cjs/packages/timeselect/style/style.css +12 -0
- package/dist/cjs/packages/tour/style/style.css +12 -0
- package/dist/cjs/utils/get-rect-by-taro.d.ts +1 -1
- package/dist/cjs/utils/get-rect-by-taro.js +4 -1
- package/dist/cjs/utils/get-system-info.js +4 -5
- package/dist/cjs/utils/merge.d.ts +14 -0
- package/dist/cjs/utils/merge.js +98 -0
- package/dist/cjs/utils/platform-taro.js +4 -5
- package/dist/cjs/utils/to-array.d.ts +1 -0
- package/dist/cjs/utils/to-array.js +18 -0
- package/dist/es/hooks/use-client-rect.js +1 -0
- package/dist/es/packages/actionsheet/style/style.css +12 -0
- package/dist/es/packages/address/style/style.css +12 -0
- package/dist/es/packages/calendar/style/style.css +12 -0
- package/dist/es/packages/cascader/style/style.css +12 -0
- package/dist/es/packages/configprovider/types.d.ts +1 -1
- package/dist/es/packages/datepicker/datepicker.js +8 -6
- package/dist/es/packages/datepicker/style/style.css +82 -0
- package/dist/es/packages/datepickerview/datepickerview.d.ts +3 -0
- package/dist/es/packages/datepickerview/datepickerview.js +107 -0
- package/dist/es/packages/datepickerview/index.d.ts +3 -0
- package/dist/es/packages/datepickerview/index.js +2 -0
- package/dist/es/packages/datepickerview/style/datepickerview.scss +4 -0
- package/dist/es/packages/datepickerview/style/index.js +2 -0
- package/dist/es/packages/datepickerview/style/style.css +78 -0
- package/dist/es/packages/datepickerview/style/style.harmony.css +8 -0
- package/dist/es/packages/datepickerview/types.d.ts +15 -0
- package/dist/es/packages/datepickerview/types.js +1 -0
- package/dist/es/packages/dialog/dialog.js +8 -3
- package/dist/es/packages/dialog/style/dialog.scss +0 -1
- package/dist/es/packages/dialog/style/style.css +0 -1
- package/dist/es/packages/dialog/style/style.harmony.css +0 -1
- package/dist/es/packages/drag/drag.js +33 -39
- package/dist/es/packages/drag/style/drag.scss +1 -0
- package/dist/es/packages/drag/style/style.css +1 -0
- package/dist/es/packages/drag/style/style.harmony.css +1 -0
- package/dist/es/packages/fixednav/fixednav.js +20 -14
- package/dist/es/packages/fixednav/style/fixednav.scss +0 -15
- package/dist/es/packages/fixednav/style/style.css +0 -14
- package/dist/es/packages/fixednav/style/style.harmony.css +0 -14
- package/dist/es/packages/form/form.d.ts +10 -0
- package/dist/es/packages/form/form.js +11 -2
- package/dist/es/packages/form/index.d.ts +2 -1
- package/dist/es/packages/form/index.js +2 -1
- package/dist/es/packages/form/style/form.scss +0 -66
- package/dist/es/packages/form/style/style.css +31 -21
- package/dist/es/packages/form/style/style.harmony.css +1 -67
- package/dist/es/packages/form/types.d.ts +2 -1
- package/dist/es/packages/form/useform.d.ts +2 -1
- package/dist/es/packages/form/useform.js +336 -248
- package/dist/es/packages/formitem/formitem.d.ts +1 -0
- package/dist/es/packages/formitem/formitem.js +58 -46
- package/dist/es/packages/formitem/style/formitem.scss +101 -21
- package/dist/es/packages/formitem/style/style.css +89 -12
- package/dist/es/packages/formitem/style/style.harmony.css +89 -12
- package/dist/es/packages/imagepreview/style/style.css +12 -0
- package/dist/es/packages/input/input.js +5 -2
- package/dist/es/packages/input/style/input.scss +6 -4
- package/dist/es/packages/input/style/style.css +4 -0
- package/dist/es/packages/input/style/style.harmony.css +8 -0
- package/dist/es/packages/numberkeyboard/style/style.css +12 -0
- package/dist/es/packages/nutui.react.build.d.ts +11 -15
- package/dist/es/packages/nutui.react.build.js +11 -15
- package/dist/es/packages/overlay/overlay.js +4 -5
- package/dist/es/packages/overlay/style/overlay.scss +0 -4
- package/dist/es/packages/picker/style/index.js +1 -0
- package/dist/es/packages/picker/style/style.css +82 -0
- package/dist/es/packages/popover/style/style.css +12 -0
- package/dist/es/packages/popup/popup.js +17 -11
- package/dist/es/packages/popup/style/popup.scss +12 -4
- package/dist/es/packages/popup/style/style.css +12 -0
- package/dist/es/packages/popup/style/style.harmony.css +12 -0
- package/dist/es/packages/shortpassword/shortpassword.js +5 -7
- package/dist/es/packages/shortpassword/style/shortpassword.scss +10 -0
- package/dist/es/packages/shortpassword/style/style.css +21 -0
- package/dist/es/packages/shortpassword/style/style.harmony.css +9 -0
- package/dist/es/packages/signature/signature.js +2 -2
- package/dist/es/packages/swipe/style/style.css +3 -3
- package/dist/es/packages/swipe/style/style.harmony.css +3 -3
- package/dist/es/packages/swipe/style/swipe.scss +7 -3
- package/dist/es/packages/swipe/swipe.js +14 -15
- package/dist/es/packages/tabbar/style/style.css +6 -0
- package/dist/es/packages/tabbaritem/style/style.css +6 -0
- package/dist/es/packages/tabbaritem/style/style.harmony.css +6 -0
- package/dist/es/packages/tabbaritem/style/tabbaritem.scss +6 -0
- package/dist/es/packages/tabs/tabs.js +6 -13
- package/dist/es/packages/textarea/textarea.js +2 -2
- package/dist/es/packages/timeselect/style/style.css +12 -0
- package/dist/es/packages/tour/style/style.css +12 -0
- package/dist/es/utils/get-rect-by-taro.d.ts +1 -1
- package/dist/es/utils/get-rect-by-taro.js +4 -1
- package/dist/es/utils/get-system-info.js +4 -4
- package/dist/es/utils/merge.d.ts +14 -0
- package/dist/es/utils/merge.js +68 -0
- package/dist/es/utils/platform-taro.js +4 -4
- package/dist/es/utils/to-array.d.ts +1 -0
- package/dist/es/utils/to-array.js +8 -0
- package/dist/nutui.react.umd.js +5593 -5442
- package/dist/style.css +1 -1
- package/dist/style.scss +34 -36
- package/dist/styles/variables-jmapp.scss +0 -50
- package/dist/styles/variables-jrkf.scss +0 -50
- package/dist/styles/variables.scss +0 -49
- package/package.json +1 -1
- package/dist/cjs/packages/sidenavbar/context.d.ts +0 -1
- package/dist/cjs/packages/sidenavbar/context.js +0 -12
- package/dist/cjs/packages/sidenavbar/index.d.ts +0 -3
- package/dist/cjs/packages/sidenavbar/index.js +0 -12
- package/dist/cjs/packages/sidenavbar/sidenavbar.d.ts +0 -14
- package/dist/cjs/packages/sidenavbar/sidenavbar.js +0 -75
- package/dist/cjs/packages/sidenavbar/style/index.js +0 -2
- package/dist/cjs/packages/sidenavbar/style/sidenavbar.scss +0 -89
- package/dist/cjs/packages/sidenavbar/style/style.css +0 -443
- package/dist/cjs/packages/sidenavbar/style/style.harmony.css +0 -74
- package/dist/cjs/packages/sidenavbar/utils.d.ts +0 -3
- package/dist/cjs/packages/sidenavbar/utils.js +0 -23
- package/dist/cjs/packages/sidenavbaritem/index.d.ts +0 -3
- package/dist/cjs/packages/sidenavbaritem/index.js +0 -12
- package/dist/cjs/packages/sidenavbaritem/sidenavbaritem.d.ts +0 -11
- package/dist/cjs/packages/sidenavbaritem/sidenavbaritem.js +0 -34
- package/dist/cjs/packages/sidenavbaritem/style/index.js +0 -1
- package/dist/cjs/packages/sidenavbaritem/style/sidenavbaritem.scss +0 -13
- package/dist/cjs/packages/sidenavbaritem/style/style.css +0 -14
- package/dist/cjs/packages/sidenavbaritem/style/style.harmony.css +0 -14
- package/dist/cjs/packages/subsidenavbar/index.d.ts +0 -3
- package/dist/cjs/packages/subsidenavbar/style/css.js +0 -1
- package/dist/cjs/packages/subsidenavbar/style/index.js +0 -1
- package/dist/cjs/packages/subsidenavbar/style/style.css +0 -20
- package/dist/cjs/packages/subsidenavbar/style/style.harmony.css +0 -20
- package/dist/cjs/packages/subsidenavbar/style/subsidenavbar.scss +0 -26
- package/dist/cjs/packages/subsidenavbar/subsidenavbar.d.ts +0 -13
- package/dist/cjs/packages/subsidenavbar/subsidenavbar.js +0 -90
- package/dist/es/packages/sidenavbar/context.d.ts +0 -1
- package/dist/es/packages/sidenavbar/context.js +0 -2
- package/dist/es/packages/sidenavbar/index.d.ts +0 -3
- package/dist/es/packages/sidenavbar/index.js +0 -2
- package/dist/es/packages/sidenavbar/sidenavbar.d.ts +0 -38
- package/dist/es/packages/sidenavbar/sidenavbar.js +0 -63
- package/dist/es/packages/sidenavbar/style/css.js +0 -1
- package/dist/es/packages/sidenavbar/style/index.js +0 -2
- package/dist/es/packages/sidenavbar/style/sidenavbar.scss +0 -89
- package/dist/es/packages/sidenavbar/style/style.css +0 -443
- package/dist/es/packages/sidenavbar/style/style.harmony.css +0 -74
- package/dist/es/packages/sidenavbar/utils.d.ts +0 -3
- package/dist/es/packages/sidenavbar/utils.js +0 -14
- package/dist/es/packages/sidenavbaritem/index.d.ts +0 -3
- package/dist/es/packages/sidenavbaritem/index.js +0 -2
- package/dist/es/packages/sidenavbaritem/sidenavbaritem.d.ts +0 -11
- package/dist/es/packages/sidenavbaritem/sidenavbaritem.js +0 -23
- package/dist/es/packages/sidenavbaritem/style/css.js +0 -1
- package/dist/es/packages/sidenavbaritem/style/index.js +0 -1
- package/dist/es/packages/sidenavbaritem/style/sidenavbaritem.scss +0 -13
- package/dist/es/packages/sidenavbaritem/style/style.css +0 -14
- package/dist/es/packages/sidenavbaritem/style/style.harmony.css +0 -14
- package/dist/es/packages/subsidenavbar/index.d.ts +0 -3
- package/dist/es/packages/subsidenavbar/index.js +0 -2
- package/dist/es/packages/subsidenavbar/style/css.js +0 -1
- package/dist/es/packages/subsidenavbar/style/index.js +0 -1
- package/dist/es/packages/subsidenavbar/style/style.css +0 -20
- package/dist/es/packages/subsidenavbar/style/style.harmony.css +0 -20
- package/dist/es/packages/subsidenavbar/style/subsidenavbar.scss +0 -26
- package/dist/es/packages/subsidenavbar/subsidenavbar.d.ts +0 -13
- package/dist/es/packages/subsidenavbar/subsidenavbar.js +0 -79
- /package/dist/cjs/packages/{sidenavbar → datepickerview}/style/css.js +0 -0
- /package/dist/{cjs/packages/sidenavbaritem → es/packages/datepickerview}/style/css.js +0 -0
|
@@ -141,7 +141,6 @@
|
|
|
141
141
|
opacity: 0;
|
|
142
142
|
transform: scale(0.8);
|
|
143
143
|
}
|
|
144
|
-
|
|
145
144
|
to {
|
|
146
145
|
opacity: 1;
|
|
147
146
|
transform: scale(1);
|
|
@@ -153,7 +152,6 @@
|
|
|
153
152
|
opacity: 1;
|
|
154
153
|
transform: scale(1);
|
|
155
154
|
}
|
|
156
|
-
|
|
157
155
|
to {
|
|
158
156
|
opacity: 0;
|
|
159
157
|
transform: scale(0.8);
|
|
@@ -176,7 +174,6 @@
|
|
|
176
174
|
from {
|
|
177
175
|
opacity: 0;
|
|
178
176
|
}
|
|
179
|
-
|
|
180
177
|
to {
|
|
181
178
|
opacity: 1;
|
|
182
179
|
}
|
|
@@ -186,7 +183,6 @@
|
|
|
186
183
|
from {
|
|
187
184
|
opacity: 1;
|
|
188
185
|
}
|
|
189
|
-
|
|
190
186
|
to {
|
|
191
187
|
opacity: 0;
|
|
192
188
|
}
|
|
@@ -209,6 +205,9 @@
|
|
|
209
205
|
from {
|
|
210
206
|
transform: translate3d(0, -100%, 0);
|
|
211
207
|
}
|
|
208
|
+
to {
|
|
209
|
+
transform: translate3d(0, 0%, 0);
|
|
210
|
+
}
|
|
212
211
|
}
|
|
213
212
|
|
|
214
213
|
@keyframes popup-slide-top-exit {
|
|
@@ -236,6 +235,9 @@
|
|
|
236
235
|
from {
|
|
237
236
|
transform: translate3d(100%, 0, 0);
|
|
238
237
|
}
|
|
238
|
+
to {
|
|
239
|
+
transform: translate3d(0%, 0, 0);
|
|
240
|
+
}
|
|
239
241
|
}
|
|
240
242
|
|
|
241
243
|
@keyframes popup-slide-right-exit {
|
|
@@ -263,6 +265,9 @@
|
|
|
263
265
|
from {
|
|
264
266
|
transform: translate3d(0, 100%, 0);
|
|
265
267
|
}
|
|
268
|
+
to {
|
|
269
|
+
transform: translate3d(0, 0%, 0);
|
|
270
|
+
}
|
|
266
271
|
}
|
|
267
272
|
|
|
268
273
|
@keyframes slide-bottom-exit {
|
|
@@ -290,6 +295,9 @@
|
|
|
290
295
|
from {
|
|
291
296
|
transform: translate3d(-100%, 0, 0);
|
|
292
297
|
}
|
|
298
|
+
to {
|
|
299
|
+
transform: translate3d(0%, 0, 0);
|
|
300
|
+
}
|
|
293
301
|
}
|
|
294
302
|
|
|
295
303
|
@keyframes popup-slide-left-exit {
|
|
@@ -238,6 +238,9 @@
|
|
|
238
238
|
from {
|
|
239
239
|
transform: translate3d(0, -100%, 0);
|
|
240
240
|
}
|
|
241
|
+
to {
|
|
242
|
+
transform: translate3d(0, 0%, 0);
|
|
243
|
+
}
|
|
241
244
|
}
|
|
242
245
|
@keyframes popup-slide-top-exit {
|
|
243
246
|
to {
|
|
@@ -259,6 +262,9 @@
|
|
|
259
262
|
from {
|
|
260
263
|
transform: translate3d(100%, 0, 0);
|
|
261
264
|
}
|
|
265
|
+
to {
|
|
266
|
+
transform: translate3d(0%, 0, 0);
|
|
267
|
+
}
|
|
262
268
|
}
|
|
263
269
|
@keyframes popup-slide-right-exit {
|
|
264
270
|
to {
|
|
@@ -280,6 +286,9 @@
|
|
|
280
286
|
from {
|
|
281
287
|
transform: translate3d(0, 100%, 0);
|
|
282
288
|
}
|
|
289
|
+
to {
|
|
290
|
+
transform: translate3d(0, 0%, 0);
|
|
291
|
+
}
|
|
283
292
|
}
|
|
284
293
|
@keyframes slide-bottom-exit {
|
|
285
294
|
to {
|
|
@@ -301,6 +310,9 @@
|
|
|
301
310
|
from {
|
|
302
311
|
transform: translate3d(-100%, 0, 0);
|
|
303
312
|
}
|
|
313
|
+
to {
|
|
314
|
+
transform: translate3d(0%, 0, 0);
|
|
315
|
+
}
|
|
304
316
|
}
|
|
305
317
|
@keyframes popup-slide-left-exit {
|
|
306
318
|
to {
|
|
@@ -184,6 +184,9 @@
|
|
|
184
184
|
from {
|
|
185
185
|
transform: translate3d(0, -100%, 0);
|
|
186
186
|
}
|
|
187
|
+
to {
|
|
188
|
+
transform: translate3d(0, 0%, 0);
|
|
189
|
+
}
|
|
187
190
|
}
|
|
188
191
|
@keyframes popup-slide-top-exit {
|
|
189
192
|
to {
|
|
@@ -211,6 +214,9 @@
|
|
|
211
214
|
from {
|
|
212
215
|
transform: translate3d(100%, 0, 0);
|
|
213
216
|
}
|
|
217
|
+
to {
|
|
218
|
+
transform: translate3d(0%, 0, 0);
|
|
219
|
+
}
|
|
214
220
|
}
|
|
215
221
|
@keyframes popup-slide-right-exit {
|
|
216
222
|
to {
|
|
@@ -238,6 +244,9 @@
|
|
|
238
244
|
from {
|
|
239
245
|
transform: translate3d(0, 100%, 0);
|
|
240
246
|
}
|
|
247
|
+
to {
|
|
248
|
+
transform: translate3d(0, 0%, 0);
|
|
249
|
+
}
|
|
241
250
|
}
|
|
242
251
|
@keyframes slide-bottom-exit {
|
|
243
252
|
to {
|
|
@@ -265,6 +274,9 @@
|
|
|
265
274
|
from {
|
|
266
275
|
transform: translate3d(-100%, 0, 0);
|
|
267
276
|
}
|
|
277
|
+
to {
|
|
278
|
+
transform: translate3d(0%, 0, 0);
|
|
279
|
+
}
|
|
268
280
|
}
|
|
269
281
|
@keyframes popup-slide-left-exit {
|
|
270
282
|
to {
|
|
@@ -21,7 +21,7 @@ var defaultProps = _object_spread_props(_object_spread({}, ComponentDefaults), {
|
|
|
21
21
|
});
|
|
22
22
|
export var InternalShortPassword = function(props, ref) {
|
|
23
23
|
var locale = useConfig().locale;
|
|
24
|
-
var _ref = _object_spread({}, defaultProps, props), title = _ref.title, description = _ref.description, tips = _ref.tips, outerVisible = _ref.visible, value = _ref.value, error = _ref.error, hideFooter = _ref.hideFooter, length = _ref.length, plain = _ref.plain, style = _ref.style, className = _ref.className, closeable = _ref.closeable, autoFocus = _ref.autoFocus, onFocus = _ref.onFocus, onChange = _ref.onChange, onConfirm = _ref.onConfirm, onTips = _ref.onTips, onCancel = _ref.onCancel, onClose = _ref.onClose, onComplete = _ref.onComplete, onOverlayClick = _ref.onOverlayClick, onCloseIconClick = _ref.onCloseIconClick, rest = _object_without_properties(_ref, [
|
|
24
|
+
var _ref = _object_spread({}, defaultProps, props), title = _ref.title, description = _ref.description, tips = _ref.tips, outerVisible = _ref.visible, value = _ref.value, error = _ref.error, hideFooter = _ref.hideFooter, length = _ref.length, plain = _ref.plain, style = _ref.style, className = _ref.className, closeable = _ref.closeable, autoFocus = _ref.autoFocus, round = _ref.round, onFocus = _ref.onFocus, onChange = _ref.onChange, onConfirm = _ref.onConfirm, onTips = _ref.onTips, onCancel = _ref.onCancel, onClose = _ref.onClose, onComplete = _ref.onComplete, onOverlayClick = _ref.onOverlayClick, onCloseIconClick = _ref.onCloseIconClick, rest = _object_without_properties(_ref, [
|
|
25
25
|
"title",
|
|
26
26
|
"description",
|
|
27
27
|
"tips",
|
|
@@ -35,6 +35,7 @@ export var InternalShortPassword = function(props, ref) {
|
|
|
35
35
|
"className",
|
|
36
36
|
"closeable",
|
|
37
37
|
"autoFocus",
|
|
38
|
+
"round",
|
|
38
39
|
"onFocus",
|
|
39
40
|
"onChange",
|
|
40
41
|
"onConfirm",
|
|
@@ -98,15 +99,12 @@ export var InternalShortPassword = function(props, ref) {
|
|
|
98
99
|
onConfirm && onConfirm(inputValue);
|
|
99
100
|
};
|
|
100
101
|
return /*#__PURE__*/ React.createElement(Popup, _object_spread({
|
|
101
|
-
|
|
102
|
-
padding: '32px 24px 28px 24px',
|
|
103
|
-
borderRadius: '12px',
|
|
104
|
-
textAlign: 'center'
|
|
105
|
-
},
|
|
102
|
+
className: "".concat(classPrefix, "-popup"),
|
|
106
103
|
visible: visible,
|
|
107
104
|
closeable: true,
|
|
108
105
|
onOverlayClick: onClose,
|
|
109
|
-
onCloseIconClick: onClose
|
|
106
|
+
onCloseIconClick: onClose,
|
|
107
|
+
round: round
|
|
110
108
|
}, rest), /*#__PURE__*/ React.createElement(View, {
|
|
111
109
|
className: classNames(classPrefix, className),
|
|
112
110
|
style: style
|
|
@@ -1,11 +1,21 @@
|
|
|
1
1
|
.nut-shortpassword {
|
|
2
|
+
&-popup {
|
|
3
|
+
padding: 32px 24px 28px 24px;
|
|
4
|
+
border-radius: 12px;
|
|
5
|
+
text-align: center;
|
|
6
|
+
}
|
|
7
|
+
|
|
2
8
|
&-title {
|
|
9
|
+
display: flex;
|
|
10
|
+
justify-content: center;
|
|
3
11
|
line-height: 1;
|
|
4
12
|
font-size: $font-size-l;
|
|
5
13
|
color: $color-title;
|
|
6
14
|
}
|
|
7
15
|
|
|
8
16
|
&-description {
|
|
17
|
+
display: flex;
|
|
18
|
+
justify-content: center;
|
|
9
19
|
margin-top: 12px;
|
|
10
20
|
margin-bottom: 24px;
|
|
11
21
|
line-height: 1;
|
|
@@ -238,6 +238,9 @@
|
|
|
238
238
|
from {
|
|
239
239
|
transform: translate3d(0, -100%, 0);
|
|
240
240
|
}
|
|
241
|
+
to {
|
|
242
|
+
transform: translate3d(0, 0%, 0);
|
|
243
|
+
}
|
|
241
244
|
}
|
|
242
245
|
@keyframes popup-slide-top-exit {
|
|
243
246
|
to {
|
|
@@ -259,6 +262,9 @@
|
|
|
259
262
|
from {
|
|
260
263
|
transform: translate3d(100%, 0, 0);
|
|
261
264
|
}
|
|
265
|
+
to {
|
|
266
|
+
transform: translate3d(0%, 0, 0);
|
|
267
|
+
}
|
|
262
268
|
}
|
|
263
269
|
@keyframes popup-slide-right-exit {
|
|
264
270
|
to {
|
|
@@ -280,6 +286,9 @@
|
|
|
280
286
|
from {
|
|
281
287
|
transform: translate3d(0, 100%, 0);
|
|
282
288
|
}
|
|
289
|
+
to {
|
|
290
|
+
transform: translate3d(0, 0%, 0);
|
|
291
|
+
}
|
|
283
292
|
}
|
|
284
293
|
@keyframes slide-bottom-exit {
|
|
285
294
|
to {
|
|
@@ -301,6 +310,9 @@
|
|
|
301
310
|
from {
|
|
302
311
|
transform: translate3d(-100%, 0, 0);
|
|
303
312
|
}
|
|
313
|
+
to {
|
|
314
|
+
transform: translate3d(0%, 0, 0);
|
|
315
|
+
}
|
|
304
316
|
}
|
|
305
317
|
@keyframes popup-slide-left-exit {
|
|
306
318
|
to {
|
|
@@ -371,12 +383,21 @@
|
|
|
371
383
|
right: 0;
|
|
372
384
|
}
|
|
373
385
|
|
|
386
|
+
.nut-shortpassword-popup {
|
|
387
|
+
padding: 32px 24px 28px 24px;
|
|
388
|
+
border-radius: 12px;
|
|
389
|
+
text-align: center;
|
|
390
|
+
}
|
|
374
391
|
.nut-shortpassword-title {
|
|
392
|
+
display: flex;
|
|
393
|
+
justify-content: center;
|
|
375
394
|
line-height: 1;
|
|
376
395
|
font-size: var(--nutui-font-size-l, 16px);
|
|
377
396
|
color: var(--nutui-color-title, #1a1a1a);
|
|
378
397
|
}
|
|
379
398
|
.nut-shortpassword-description {
|
|
399
|
+
display: flex;
|
|
400
|
+
justify-content: center;
|
|
380
401
|
margin-top: 12px;
|
|
381
402
|
margin-bottom: 24px;
|
|
382
403
|
line-height: 1;
|
|
@@ -2,12 +2,21 @@
|
|
|
2
2
|
/* #endif */
|
|
3
3
|
/* #ifndef harmony */
|
|
4
4
|
/* #endif */
|
|
5
|
+
.nut-shortpassword-popup {
|
|
6
|
+
padding: 32px 24px 28px 24px;
|
|
7
|
+
border-radius: 12px;
|
|
8
|
+
text-align: center;
|
|
9
|
+
}
|
|
5
10
|
.nut-shortpassword-title {
|
|
11
|
+
display: flex;
|
|
12
|
+
justify-content: center;
|
|
6
13
|
line-height: 1;
|
|
7
14
|
font-size: 16px;
|
|
8
15
|
color: #1a1a1a;
|
|
9
16
|
}
|
|
10
17
|
.nut-shortpassword-description {
|
|
18
|
+
display: flex;
|
|
19
|
+
justify-content: center;
|
|
11
20
|
margin-top: 12px;
|
|
12
21
|
margin-bottom: 24px;
|
|
13
22
|
line-height: 1;
|
|
@@ -4,7 +4,7 @@ import { _ as _object_without_properties } from "@swc/helpers/_/_object_without_
|
|
|
4
4
|
import { _ as _sliced_to_array } from "@swc/helpers/_/_sliced_to_array";
|
|
5
5
|
import React, { useEffect, useImperativeHandle, useRef, useState } from "react";
|
|
6
6
|
import { getEnv, nextTick, createSelectorQuery, canvasToTempFilePath } from "@tarojs/taro";
|
|
7
|
-
import { View } from "@tarojs/components";
|
|
7
|
+
import { Canvas, View } from "@tarojs/components";
|
|
8
8
|
import { ComponentDefaults } from "../../utils/typings";
|
|
9
9
|
var defaultProps = _object_spread_props(_object_spread({}, ComponentDefaults), {
|
|
10
10
|
canvasId: 'spcanvas',
|
|
@@ -153,7 +153,7 @@ var InternalSignature = function(props, ref) {
|
|
|
153
153
|
onTouchStart: startEventHandler,
|
|
154
154
|
onTouchMove: moveEventHandler,
|
|
155
155
|
onTouchEnd: endEventHandler
|
|
156
|
-
}) : /*#__PURE__*/ React.createElement(
|
|
156
|
+
}) : /*#__PURE__*/ React.createElement(Canvas, {
|
|
157
157
|
id: canvasId,
|
|
158
158
|
ref: canvasRef,
|
|
159
159
|
"canvas-id": canvasId,
|
|
@@ -22,12 +22,12 @@
|
|
|
22
22
|
.nut-swipe-left, .nut-swipe-right {
|
|
23
23
|
position: absolute;
|
|
24
24
|
top: 0;
|
|
25
|
-
display: flex;
|
|
26
|
-
flex-direction: row;
|
|
27
25
|
}
|
|
28
26
|
.nut-swipe-left {
|
|
29
27
|
left: 0;
|
|
28
|
+
transform: translate(-100%, 0px);
|
|
30
29
|
}
|
|
31
30
|
.nut-swipe-right {
|
|
32
|
-
|
|
31
|
+
right: 0px;
|
|
32
|
+
transform: translate(100%, 0px);
|
|
33
33
|
}
|
|
@@ -22,12 +22,12 @@
|
|
|
22
22
|
.nut-swipe-left, .nut-swipe-right {
|
|
23
23
|
position: absolute;
|
|
24
24
|
top: 0;
|
|
25
|
-
display: flex;
|
|
26
|
-
flex-direction: row;
|
|
27
25
|
}
|
|
28
26
|
.nut-swipe-left {
|
|
29
27
|
left: 0;
|
|
28
|
+
transform: translate(-100%, 0px);
|
|
30
29
|
}
|
|
31
30
|
.nut-swipe-right {
|
|
32
|
-
|
|
31
|
+
right: 0px;
|
|
32
|
+
transform: translate(100%, 0px);
|
|
33
33
|
}
|
|
@@ -20,15 +20,19 @@
|
|
|
20
20
|
&-right {
|
|
21
21
|
position: absolute;
|
|
22
22
|
top: 0;
|
|
23
|
-
display: flex;
|
|
24
|
-
flex-direction: row;
|
|
23
|
+
//display: flex;
|
|
24
|
+
//flex-direction: row;
|
|
25
|
+
//flex-shrink: 0;
|
|
25
26
|
}
|
|
26
27
|
|
|
27
28
|
&-left {
|
|
28
29
|
left: 0;
|
|
30
|
+
transform: translate(-100%, 0px);
|
|
29
31
|
}
|
|
30
32
|
|
|
31
33
|
&-right {
|
|
32
|
-
left: 100%;
|
|
34
|
+
//left: 100%;
|
|
35
|
+
right: 0px;
|
|
36
|
+
transform: translate(100%, 0px);
|
|
33
37
|
}
|
|
34
38
|
}
|
|
@@ -6,12 +6,13 @@ import { _ as _ts_generator } from "@swc/helpers/_/_ts_generator";
|
|
|
6
6
|
import React, { forwardRef, useEffect, useImperativeHandle, useRef, useState } from "react";
|
|
7
7
|
import classNames from "classnames";
|
|
8
8
|
import { View } from "@tarojs/components";
|
|
9
|
+
import { useReady } from "@tarojs/taro";
|
|
9
10
|
import { useTouch } from "../../hooks/use-touch";
|
|
10
11
|
import { getRectByTaro } from "../../utils/get-rect-by-taro";
|
|
11
12
|
import { ComponentDefaults } from "../../utils/typings";
|
|
12
13
|
import { harmony } from "../../utils/platform-taro";
|
|
13
|
-
import pxTransform from "../../utils/px-transform";
|
|
14
14
|
import { useRefState } from "../../hooks/use-ref-state";
|
|
15
|
+
import useUuid from "../../hooks/use-uuid";
|
|
15
16
|
function preventDefault(event, isStopPropagation) {
|
|
16
17
|
if (typeof event.cancelable !== 'boolean' || event.cancelable) {
|
|
17
18
|
event.preventDefault();
|
|
@@ -26,8 +27,11 @@ var defaultProps = _object_spread_props(_object_spread({}, ComponentDefaults), {
|
|
|
26
27
|
export var Swipe = /*#__PURE__*/ forwardRef(function(props, instanceRef) {
|
|
27
28
|
var classPrefix = 'nut-swipe';
|
|
28
29
|
var touch = useTouch();
|
|
30
|
+
var uid = useUuid();
|
|
31
|
+
var leftId = "swipe-left-".concat(uid);
|
|
32
|
+
var rightId = "swipe-right-".concat(uid);
|
|
29
33
|
// 获取元素的时候要在页面 onReady 后,需要参考小程序的事件周期
|
|
30
|
-
|
|
34
|
+
useReady(function() {
|
|
31
35
|
var getWidth = /*#__PURE__*/ function() {
|
|
32
36
|
var _ref = _async_to_generator(function() {
|
|
33
37
|
var leftRect, rightRect;
|
|
@@ -40,7 +44,7 @@ export var Swipe = /*#__PURE__*/ forwardRef(function(props, instanceRef) {
|
|
|
40
44
|
];
|
|
41
45
|
return [
|
|
42
46
|
4,
|
|
43
|
-
getRectByTaro(leftWrapper.current)
|
|
47
|
+
getRectByTaro(leftWrapper.current, leftId)
|
|
44
48
|
];
|
|
45
49
|
case 1:
|
|
46
50
|
leftRect = _state.sent();
|
|
@@ -57,11 +61,10 @@ export var Swipe = /*#__PURE__*/ forwardRef(function(props, instanceRef) {
|
|
|
57
61
|
];
|
|
58
62
|
return [
|
|
59
63
|
4,
|
|
60
|
-
getRectByTaro(rightWrapper.current)
|
|
64
|
+
getRectByTaro(rightWrapper.current, rightId)
|
|
61
65
|
];
|
|
62
66
|
case 3:
|
|
63
67
|
rightRect = _state.sent();
|
|
64
|
-
console.log('actionWidth.current.left', rightRect.width);
|
|
65
68
|
rightRect && setActionWidth(function(v) {
|
|
66
69
|
return _object_spread_props(_object_spread({}, v), {
|
|
67
70
|
right: rightRect.width
|
|
@@ -82,7 +85,7 @@ export var Swipe = /*#__PURE__*/ forwardRef(function(props, instanceRef) {
|
|
|
82
85
|
setTimeout(function() {
|
|
83
86
|
return getWidth();
|
|
84
87
|
});
|
|
85
|
-
}
|
|
88
|
+
});
|
|
86
89
|
var _$_object_spread = _object_spread({}, defaultProps, props), children = _$_object_spread.children, className = _$_object_spread.className, style = _$_object_spread.style;
|
|
87
90
|
var root = useRef();
|
|
88
91
|
var opened = useRef(false);
|
|
@@ -110,7 +113,7 @@ export var Swipe = /*#__PURE__*/ forwardRef(function(props, instanceRef) {
|
|
|
110
113
|
}
|
|
111
114
|
};
|
|
112
115
|
var wrapperStyle = {
|
|
113
|
-
transform: "translate(".concat(state.offset, "
|
|
116
|
+
transform: "translate(".concat(state.offset).concat(!harmony() ? 'px' : '', ", 0)"),
|
|
114
117
|
transitionDuration: state.dragging ? '0s' : '.6s'
|
|
115
118
|
};
|
|
116
119
|
var onTouchStart = /*#__PURE__*/ function() {
|
|
@@ -119,14 +122,13 @@ export var Swipe = /*#__PURE__*/ forwardRef(function(props, instanceRef) {
|
|
|
119
122
|
return _ts_generator(this, function(_state) {
|
|
120
123
|
switch(_state.label){
|
|
121
124
|
case 0:
|
|
122
|
-
console.log('ontouchstart');
|
|
123
125
|
if (!leftWrapper.current) return [
|
|
124
126
|
3,
|
|
125
127
|
2
|
|
126
128
|
];
|
|
127
129
|
return [
|
|
128
130
|
4,
|
|
129
|
-
getRectByTaro(leftWrapper.current)
|
|
131
|
+
getRectByTaro(leftWrapper.current, leftId)
|
|
130
132
|
];
|
|
131
133
|
case 1:
|
|
132
134
|
leftRect = _state.sent();
|
|
@@ -143,7 +145,7 @@ export var Swipe = /*#__PURE__*/ forwardRef(function(props, instanceRef) {
|
|
|
143
145
|
];
|
|
144
146
|
return [
|
|
145
147
|
4,
|
|
146
|
-
getRectByTaro(rightWrapper.current)
|
|
148
|
+
getRectByTaro(rightWrapper.current, rightId)
|
|
147
149
|
];
|
|
148
150
|
case 3:
|
|
149
151
|
rightRect = _state.sent();
|
|
@@ -186,7 +188,7 @@ export var Swipe = /*#__PURE__*/ forwardRef(function(props, instanceRef) {
|
|
|
186
188
|
if (isEdge) {
|
|
187
189
|
preventDefault(event, true);
|
|
188
190
|
}
|
|
189
|
-
newState.offset = rangeCalculation(
|
|
191
|
+
newState.offset = rangeCalculation(touch.deltaX.current + startOffset.current, -actionWidth.current.right || 0, actionWidth.current.left || 0);
|
|
190
192
|
setState(newState);
|
|
191
193
|
}
|
|
192
194
|
};
|
|
@@ -253,13 +255,10 @@ export var Swipe = /*#__PURE__*/ forwardRef(function(props, instanceRef) {
|
|
|
253
255
|
var rightWrapper = useRef(null);
|
|
254
256
|
var renderActionContent = function(side) {
|
|
255
257
|
if (props["".concat(side, "Action")]) {
|
|
256
|
-
console.log('actionWidth xxx', actionWidth.current.left);
|
|
257
258
|
return /*#__PURE__*/ React.createElement(View, {
|
|
258
259
|
ref: side === 'left' ? leftWrapper : rightWrapper,
|
|
259
260
|
className: "".concat(classPrefix, "-").concat(side),
|
|
260
|
-
|
|
261
|
-
left: Number("".concat(-actionWidth.current.left))
|
|
262
|
-
} : {}),
|
|
261
|
+
id: side === 'left' ? leftId : rightId,
|
|
263
262
|
onClick: function(e) {
|
|
264
263
|
return handleOperate(e, side);
|
|
265
264
|
}
|
|
@@ -121,6 +121,12 @@
|
|
|
121
121
|
width: 22px;
|
|
122
122
|
height: 22px;
|
|
123
123
|
font-size: 22px;
|
|
124
|
+
/* #ifdef harmony*/
|
|
125
|
+
color: var(--nutui-tabbar-inactive-color, var(--nutui-color-title, #1a1a1a));
|
|
126
|
+
/* #endif*/
|
|
127
|
+
/* #ifndef harmony*/
|
|
128
|
+
color: inherit;
|
|
129
|
+
/* #endif*/
|
|
124
130
|
}
|
|
125
131
|
.nut-tabbar-item-icon-box-nav {
|
|
126
132
|
display: block;
|
|
@@ -121,6 +121,12 @@
|
|
|
121
121
|
width: 22px;
|
|
122
122
|
height: 22px;
|
|
123
123
|
font-size: 22px;
|
|
124
|
+
/* #ifdef harmony*/
|
|
125
|
+
color: var(--nutui-tabbar-inactive-color, var(--nutui-color-title, #1a1a1a));
|
|
126
|
+
/* #endif*/
|
|
127
|
+
/* #ifndef harmony*/
|
|
128
|
+
color: inherit;
|
|
129
|
+
/* #endif*/
|
|
124
130
|
}
|
|
125
131
|
.nut-tabbar-item-icon-box-nav {
|
|
126
132
|
display: block;
|
|
@@ -107,14 +107,9 @@ export var Tabs = function(props) {
|
|
|
107
107
|
var _useState = _sliced_to_array(useState(0), 2), scrollLeft = _useState[0], setScrollLeft = _useState[1];
|
|
108
108
|
var _useState1 = _sliced_to_array(useState(0), 2), scrollTop = _useState1[0], setScrollTop = _useState1[1];
|
|
109
109
|
var scrollDirection = function(to, direction) {
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
if (direction === 'horizontal') setScrollLeft(to);
|
|
114
|
-
else setScrollTop(to);
|
|
115
|
-
if (++count < frames) raf(animate);
|
|
116
|
-
}
|
|
117
|
-
animate();
|
|
110
|
+
// 使用ScrollView组件此处不需要手动raf scrollLeft
|
|
111
|
+
if (direction === 'horizontal') setScrollLeft(to);
|
|
112
|
+
else setScrollTop(to);
|
|
118
113
|
};
|
|
119
114
|
var scrollIntoView = function(index) {
|
|
120
115
|
raf(function() {
|
|
@@ -136,14 +131,11 @@ export var Tabs = function(props) {
|
|
|
136
131
|
return prev + curr.width;
|
|
137
132
|
}, 0);
|
|
138
133
|
to = left - (navRect.width - titleRect.width) / 2;
|
|
139
|
-
// to < 0 说明不需要进行滚动,页面元素已全部显示出来
|
|
140
|
-
if (to < 0) return;
|
|
141
|
-
to = rtl ? -to : to;
|
|
142
134
|
}
|
|
135
|
+
scrollDirection(to, direction);
|
|
143
136
|
nextTick(function() {
|
|
144
137
|
scrollWithAnimation.current = true;
|
|
145
138
|
});
|
|
146
|
-
scrollDirection(to, direction);
|
|
147
139
|
});
|
|
148
140
|
});
|
|
149
141
|
};
|
|
@@ -180,6 +172,7 @@ export var Tabs = function(props) {
|
|
|
180
172
|
scrollY: direction === 'vertical',
|
|
181
173
|
scrollLeft: scrollLeft,
|
|
182
174
|
scrollTop: scrollTop,
|
|
175
|
+
enhanced: true,
|
|
183
176
|
showScrollbar: false,
|
|
184
177
|
scrollWithAnimation: rtl && Taro.getEnv() !== 'WEB' ? false : scrollWithAnimation.current,
|
|
185
178
|
id: "nut-tabs-titles-".concat(name || uuid),
|
|
@@ -223,7 +216,7 @@ export var Tabs = function(props) {
|
|
|
223
216
|
if (!/*#__PURE__*/ React.isValidElement(child)) return null;
|
|
224
217
|
return /*#__PURE__*/ React.cloneElement(child, _object_spread_props(_object_spread({}, child.props), {
|
|
225
218
|
active: value === child.props.value,
|
|
226
|
-
autoHeightClassName: autoHeight && String(value) !== String(child.props.value || idx) ? 'inactive' :
|
|
219
|
+
autoHeightClassName: autoHeight && String(value) !== String(child.props.value || idx) ? 'inactive' : undefined
|
|
227
220
|
}));
|
|
228
221
|
}))));
|
|
229
222
|
};
|
|
@@ -6,7 +6,7 @@ import { _ as _sliced_to_array } from "@swc/helpers/_/_sliced_to_array";
|
|
|
6
6
|
import React, { useRef } from "react";
|
|
7
7
|
import classNames from "classnames";
|
|
8
8
|
import Taro from "@tarojs/taro";
|
|
9
|
-
import {
|
|
9
|
+
import { Textarea, View } from "@tarojs/components";
|
|
10
10
|
import { useConfig, useRtl } from "../configprovider/index";
|
|
11
11
|
import { ComponentDefaults } from "../../utils/typings";
|
|
12
12
|
import { usePropsValue } from "../../hooks/use-props-value";
|
|
@@ -103,7 +103,7 @@ export var TextArea = function(props) {
|
|
|
103
103
|
autoHeight: autoSize,
|
|
104
104
|
maxlength: maxLength,
|
|
105
105
|
placeholder: placeholder !== undefined ? placeholder : locale.placeholder
|
|
106
|
-
})), showCount && /*#__PURE__*/ React.createElement(
|
|
106
|
+
})), showCount && /*#__PURE__*/ React.createElement(View, {
|
|
107
107
|
className: classNames("".concat(classPrefix, "-limit"), _define_property({}, "".concat(classPrefix, "-limit-disabled"), disabled))
|
|
108
108
|
}, inputValue.length, "/", maxLength < 0 ? 0 : maxLength)));
|
|
109
109
|
};
|
|
@@ -238,6 +238,9 @@
|
|
|
238
238
|
from {
|
|
239
239
|
transform: translate3d(0, -100%, 0);
|
|
240
240
|
}
|
|
241
|
+
to {
|
|
242
|
+
transform: translate3d(0, 0%, 0);
|
|
243
|
+
}
|
|
241
244
|
}
|
|
242
245
|
@keyframes popup-slide-top-exit {
|
|
243
246
|
to {
|
|
@@ -259,6 +262,9 @@
|
|
|
259
262
|
from {
|
|
260
263
|
transform: translate3d(100%, 0, 0);
|
|
261
264
|
}
|
|
265
|
+
to {
|
|
266
|
+
transform: translate3d(0%, 0, 0);
|
|
267
|
+
}
|
|
262
268
|
}
|
|
263
269
|
@keyframes popup-slide-right-exit {
|
|
264
270
|
to {
|
|
@@ -280,6 +286,9 @@
|
|
|
280
286
|
from {
|
|
281
287
|
transform: translate3d(0, 100%, 0);
|
|
282
288
|
}
|
|
289
|
+
to {
|
|
290
|
+
transform: translate3d(0, 0%, 0);
|
|
291
|
+
}
|
|
283
292
|
}
|
|
284
293
|
@keyframes slide-bottom-exit {
|
|
285
294
|
to {
|
|
@@ -301,6 +310,9 @@
|
|
|
301
310
|
from {
|
|
302
311
|
transform: translate3d(-100%, 0, 0);
|
|
303
312
|
}
|
|
313
|
+
to {
|
|
314
|
+
transform: translate3d(0%, 0, 0);
|
|
315
|
+
}
|
|
304
316
|
}
|
|
305
317
|
@keyframes popup-slide-left-exit {
|
|
306
318
|
to {
|
|
@@ -238,6 +238,9 @@
|
|
|
238
238
|
from {
|
|
239
239
|
transform: translate3d(0, -100%, 0);
|
|
240
240
|
}
|
|
241
|
+
to {
|
|
242
|
+
transform: translate3d(0, 0%, 0);
|
|
243
|
+
}
|
|
241
244
|
}
|
|
242
245
|
@keyframes popup-slide-top-exit {
|
|
243
246
|
to {
|
|
@@ -259,6 +262,9 @@
|
|
|
259
262
|
from {
|
|
260
263
|
transform: translate3d(100%, 0, 0);
|
|
261
264
|
}
|
|
265
|
+
to {
|
|
266
|
+
transform: translate3d(0%, 0, 0);
|
|
267
|
+
}
|
|
262
268
|
}
|
|
263
269
|
@keyframes popup-slide-right-exit {
|
|
264
270
|
to {
|
|
@@ -280,6 +286,9 @@
|
|
|
280
286
|
from {
|
|
281
287
|
transform: translate3d(0, 100%, 0);
|
|
282
288
|
}
|
|
289
|
+
to {
|
|
290
|
+
transform: translate3d(0, 0%, 0);
|
|
291
|
+
}
|
|
283
292
|
}
|
|
284
293
|
@keyframes slide-bottom-exit {
|
|
285
294
|
to {
|
|
@@ -301,6 +310,9 @@
|
|
|
301
310
|
from {
|
|
302
311
|
transform: translate3d(-100%, 0, 0);
|
|
303
312
|
}
|
|
313
|
+
to {
|
|
314
|
+
transform: translate3d(0%, 0, 0);
|
|
315
|
+
}
|
|
304
316
|
}
|
|
305
317
|
@keyframes popup-slide-left-exit {
|
|
306
318
|
to {
|