@nutui/nutui-react-taro 3.0.19-cpp.26-beta.1 → 3.0.19-cpp.26-beta.3

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 (136) hide show
  1. package/dist/cjs/locales/base.d.ts +3 -0
  2. package/dist/cjs/locales/en-US.js +4 -1
  3. package/dist/cjs/locales/id-ID.js +4 -1
  4. package/dist/cjs/locales/ja-JP.js +4 -1
  5. package/dist/cjs/locales/tr-TR.js +4 -1
  6. package/dist/cjs/locales/zh-CN.js +4 -1
  7. package/dist/cjs/locales/zh-TW.js +4 -1
  8. package/dist/cjs/locales/zh-UG.js +4 -1
  9. package/dist/cjs/packages/actionsheet/style/style.harmony.css +19 -7
  10. package/dist/cjs/packages/address/style/style.harmony.css +19 -7
  11. package/dist/cjs/packages/calendar/style/style.harmony.css +19 -7
  12. package/dist/cjs/packages/cascader/style/style.harmony.css +19 -7
  13. package/dist/cjs/packages/configprovider/types.d.ts +1 -1
  14. package/dist/cjs/packages/datepicker/style/style.harmony.css +19 -7
  15. package/dist/cjs/packages/imagepreview/style/style.harmony.css +19 -7
  16. package/dist/cjs/packages/inputnumber/inputnumber.js +1 -1
  17. package/dist/cjs/packages/numberkeyboard/style/style.harmony.css +19 -7
  18. package/dist/cjs/packages/nutui.react.build.d.ts +3 -1
  19. package/dist/cjs/packages/nutui.react.build.js +18 -14
  20. package/dist/cjs/packages/nutui.react.d.ts +4 -1
  21. package/dist/cjs/packages/nutui.react.js +19 -14
  22. package/dist/cjs/packages/nutui.react.scss.d.ts +1 -0
  23. package/dist/cjs/packages/nutui.react.scss.js +1 -0
  24. package/dist/cjs/packages/overlay/overlay.js +11 -17
  25. package/dist/cjs/packages/picker/style/style.harmony.css +19 -7
  26. package/dist/cjs/packages/popover/style/style.harmony.css +19 -7
  27. package/dist/cjs/packages/popup/popup.js +171 -99
  28. package/dist/cjs/packages/popup/style/popup.scss +19 -8
  29. package/dist/cjs/packages/popup/style/style.css +19 -7
  30. package/dist/cjs/packages/popup/style/style.harmony.css +19 -7
  31. package/dist/cjs/packages/popup/style-jmapp/popup.scss +19 -8
  32. package/dist/cjs/packages/popup/style-jmapp/style.css +19 -7
  33. package/dist/cjs/packages/popup/style-jrkf/popup.scss +19 -8
  34. package/dist/cjs/packages/popup/style-jrkf/style.css +19 -7
  35. package/dist/cjs/packages/quickenter/index.d.ts +3 -0
  36. package/dist/cjs/packages/quickenter/index.js +13 -0
  37. package/dist/cjs/packages/quickenter/quickenter.d.ts +4 -0
  38. package/dist/cjs/packages/quickenter/quickenter.js +147 -0
  39. package/dist/cjs/packages/quickenter/style/css.js +2 -0
  40. package/dist/cjs/packages/quickenter/style/index.js +2 -0
  41. package/dist/cjs/packages/quickenter/style/quickenter.scss +112 -0
  42. package/dist/cjs/packages/quickenter/style/style.css +100 -0
  43. package/dist/cjs/packages/quickenter/style/style.harmony.css +501 -0
  44. package/dist/cjs/packages/quickenter/style-jmapp/css.js +2 -0
  45. package/dist/cjs/packages/quickenter/style-jmapp/index.js +2 -0
  46. package/dist/cjs/packages/quickenter/style-jmapp/quickenter.scss +112 -0
  47. package/dist/cjs/packages/quickenter/style-jmapp/style.css +100 -0
  48. package/dist/cjs/packages/quickenter/style-jrkf/css.js +2 -0
  49. package/dist/cjs/packages/quickenter/style-jrkf/index.js +2 -0
  50. package/dist/cjs/packages/quickenter/style-jrkf/quickenter.scss +112 -0
  51. package/dist/cjs/packages/quickenter/style-jrkf/style.css +100 -0
  52. package/dist/cjs/packages/shortpassword/style/style.harmony.css +19 -7
  53. package/dist/cjs/packages/timeselect/style/style.harmony.css +19 -7
  54. package/dist/cjs/packages/tour/style/style.harmony.css +19 -7
  55. package/dist/cjs/types/index.d.ts +3 -0
  56. package/dist/cjs/types/index.js +3 -0
  57. package/dist/cjs/types/spec/quickenter/base.d.ts +26 -0
  58. package/dist/cjs/types/spec/quickenter/base.js +4 -0
  59. package/dist/cjs/types/spec/quickenter/h5.d.ts +5 -0
  60. package/dist/cjs/types/spec/quickenter/h5.js +4 -0
  61. package/dist/cjs/types/spec/quickenter/taro.d.ts +5 -0
  62. package/dist/cjs/types/spec/quickenter/taro.js +4 -0
  63. package/dist/cjs/utils/taro/ConfigurableCSSTransition.d.ts +15 -0
  64. package/dist/cjs/utils/taro/ConfigurableCSSTransition.js +90 -0
  65. package/dist/es/locales/base.d.ts +3 -0
  66. package/dist/es/locales/en-US.js +4 -1
  67. package/dist/es/locales/id-ID.js +4 -1
  68. package/dist/es/locales/ja-JP.js +4 -1
  69. package/dist/es/locales/tr-TR.js +4 -1
  70. package/dist/es/locales/zh-CN.js +4 -1
  71. package/dist/es/locales/zh-TW.js +4 -1
  72. package/dist/es/locales/zh-UG.js +4 -1
  73. package/dist/es/packages/actionsheet/style/style.harmony.css +19 -7
  74. package/dist/es/packages/address/style/style.harmony.css +19 -7
  75. package/dist/es/packages/calendar/style/style.harmony.css +19 -7
  76. package/dist/es/packages/cascader/style/style.harmony.css +19 -7
  77. package/dist/es/packages/configprovider/types.d.ts +1 -1
  78. package/dist/es/packages/datepicker/style/style.harmony.css +19 -7
  79. package/dist/es/packages/imagepreview/style/style.harmony.css +19 -7
  80. package/dist/es/packages/inputnumber/inputnumber.js +1 -1
  81. package/dist/es/packages/numberkeyboard/style/style.harmony.css +19 -7
  82. package/dist/es/packages/nutui.react.build.d.ts +3 -1
  83. package/dist/es/packages/nutui.react.build.js +3 -1
  84. package/dist/es/packages/overlay/overlay.js +11 -17
  85. package/dist/es/packages/picker/style/style.harmony.css +19 -7
  86. package/dist/es/packages/popover/style/style.harmony.css +19 -7
  87. package/dist/es/packages/popup/popup.js +172 -101
  88. package/dist/es/packages/popup/style/popup.scss +19 -8
  89. package/dist/es/packages/popup/style/style.css +19 -7
  90. package/dist/es/packages/popup/style/style.harmony.css +19 -7
  91. package/dist/es/packages/popup/style-jmapp/popup.scss +19 -8
  92. package/dist/es/packages/popup/style-jmapp/style.css +19 -7
  93. package/dist/es/packages/popup/style-jrkf/popup.scss +19 -8
  94. package/dist/es/packages/popup/style-jrkf/style.css +19 -7
  95. package/dist/es/packages/quickenter/index.d.ts +3 -0
  96. package/dist/es/packages/quickenter/index.js +2 -0
  97. package/dist/es/packages/quickenter/quickenter.d.ts +4 -0
  98. package/dist/es/packages/quickenter/quickenter.js +135 -0
  99. package/dist/es/packages/quickenter/style/css.js +2 -0
  100. package/dist/es/packages/quickenter/style/index.js +2 -0
  101. package/dist/es/packages/quickenter/style/quickenter.scss +112 -0
  102. package/dist/es/packages/quickenter/style/style.css +100 -0
  103. package/dist/es/packages/quickenter/style/style.harmony.css +501 -0
  104. package/dist/es/packages/quickenter/style-jmapp/css.js +2 -0
  105. package/dist/es/packages/quickenter/style-jmapp/index.js +2 -0
  106. package/dist/es/packages/quickenter/style-jmapp/quickenter.scss +112 -0
  107. package/dist/es/packages/quickenter/style-jmapp/style.css +100 -0
  108. package/dist/es/packages/quickenter/style-jrkf/css.js +2 -0
  109. package/dist/es/packages/quickenter/style-jrkf/index.js +2 -0
  110. package/dist/es/packages/quickenter/style-jrkf/quickenter.scss +112 -0
  111. package/dist/es/packages/quickenter/style-jrkf/style.css +100 -0
  112. package/dist/es/packages/shortpassword/style/style.harmony.css +19 -7
  113. package/dist/es/packages/timeselect/style/style.harmony.css +19 -7
  114. package/dist/es/packages/tour/style/style.harmony.css +19 -7
  115. package/dist/es/types/index.d.ts +3 -0
  116. package/dist/es/types/index.js +3 -0
  117. package/dist/es/types/spec/quickenter/base.d.ts +44 -0
  118. package/dist/es/types/spec/quickenter/base.js +1 -0
  119. package/dist/es/types/spec/quickenter/h5.d.ts +5 -0
  120. package/dist/es/types/spec/quickenter/h5.js +1 -0
  121. package/dist/es/types/spec/quickenter/taro.d.ts +5 -0
  122. package/dist/es/types/spec/quickenter/taro.js +1 -0
  123. package/dist/es/utils/taro/ConfigurableCSSTransition.d.ts +15 -0
  124. package/dist/es/utils/taro/ConfigurableCSSTransition.js +79 -0
  125. package/dist/nutui.react.umd.js +583 -296
  126. package/dist/style-jmapp.css +1 -1
  127. package/dist/style-jmapp.scss +36 -35
  128. package/dist/style-jrkf.css +1 -1
  129. package/dist/style-jrkf.scss +38 -37
  130. package/dist/style.css +1 -1
  131. package/dist/style.scss +32 -31
  132. package/dist/styles/variables-daojia.scss +40 -0
  133. package/dist/styles/variables-jmapp.scss +40 -0
  134. package/dist/styles/variables-jrkf.scss +40 -0
  135. package/dist/styles/variables.scss +44 -0
  136. package/package.json +1 -1
@@ -251,6 +251,9 @@
251
251
  }
252
252
  }
253
253
  @keyframes popup-slide-top-exit {
254
+ from {
255
+ transform: translate3d(0, 0%, 0);
256
+ }
254
257
  to {
255
258
  transform: translate3d(0, -100%, 0);
256
259
  }
@@ -275,6 +278,9 @@
275
278
  }
276
279
  }
277
280
  @keyframes popup-slide-right-exit {
281
+ from {
282
+ transform: translate3d(0%, 0, 0);
283
+ }
278
284
  to {
279
285
  transform: translate3d(100%, 0, 0);
280
286
  }
@@ -285,7 +291,7 @@
285
291
  animation-name: popup-slide-right-enter;
286
292
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
287
293
  }
288
- .nut-popup-slide-right-exit {
294
+ .nut-popup-slide-right-exit-active {
289
295
  animation-fill-mode: both;
290
296
  animation-name: popup-slide-right-exit;
291
297
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
@@ -298,20 +304,23 @@
298
304
  transform: translate3d(0, 0%, 0);
299
305
  }
300
306
  }
301
- @keyframes slide-bottom-exit {
307
+ @keyframes popup-slide-bottom-exit {
308
+ from {
309
+ transform: translate3d(0, 0%, 0);
310
+ }
302
311
  to {
303
312
  transform: translate3d(0, 100%, 0);
304
313
  }
305
314
  }
306
315
  .nut-popup-slide-bottom-enter-active, .nut-popup-slide-bottom-appear-active {
307
- transform: translate(0, 0);
316
+ transform: translate3d(0, 0, 0);
308
317
  animation-fill-mode: both;
309
318
  animation-name: popup-slide-bottom-enter;
310
319
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
311
320
  }
312
- .nut-popup-slide-bottom-exit {
321
+ .nut-popup-slide-bottom-exit-active {
313
322
  animation-fill-mode: both;
314
- animation-name: slide-bottom-exit;
323
+ animation-name: popup-slide-bottom-exit;
315
324
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
316
325
  }
317
326
  @keyframes popup-slide-left-enter {
@@ -323,17 +332,20 @@
323
332
  }
324
333
  }
325
334
  @keyframes popup-slide-left-exit {
335
+ from {
336
+ transform: translate3d(0%, 0, 0);
337
+ }
326
338
  to {
327
339
  transform: translate3d(-100%, 0, 0);
328
340
  }
329
341
  }
330
342
  .nut-popup-slide-left-enter-active, .nut-popup-slide-left-appear-active {
331
- transform: translate(0, 0);
343
+ transform: translate3d(0, 0, 0);
332
344
  animation-fill-mode: both;
333
345
  animation-name: popup-slide-left-enter;
334
346
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
335
347
  }
336
- .nut-popup-slide-left-exit-active, .nut-popup-slide-left-exit-done {
348
+ .nut-popup-slide-left-exit-active {
337
349
  animation-fill-mode: both;
338
350
  animation-name: popup-slide-left-exit;
339
351
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
@@ -251,6 +251,9 @@
251
251
  }
252
252
  }
253
253
  @keyframes popup-slide-top-exit {
254
+ from {
255
+ transform: translate3d(0, 0%, 0);
256
+ }
254
257
  to {
255
258
  transform: translate3d(0, -100%, 0);
256
259
  }
@@ -275,6 +278,9 @@
275
278
  }
276
279
  }
277
280
  @keyframes popup-slide-right-exit {
281
+ from {
282
+ transform: translate3d(0%, 0, 0);
283
+ }
278
284
  to {
279
285
  transform: translate3d(100%, 0, 0);
280
286
  }
@@ -285,7 +291,7 @@
285
291
  animation-name: popup-slide-right-enter;
286
292
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
287
293
  }
288
- .nut-popup-slide-right-exit {
294
+ .nut-popup-slide-right-exit-active {
289
295
  animation-fill-mode: both;
290
296
  animation-name: popup-slide-right-exit;
291
297
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
@@ -298,20 +304,23 @@
298
304
  transform: translate3d(0, 0%, 0);
299
305
  }
300
306
  }
301
- @keyframes slide-bottom-exit {
307
+ @keyframes popup-slide-bottom-exit {
308
+ from {
309
+ transform: translate3d(0, 0%, 0);
310
+ }
302
311
  to {
303
312
  transform: translate3d(0, 100%, 0);
304
313
  }
305
314
  }
306
315
  .nut-popup-slide-bottom-enter-active, .nut-popup-slide-bottom-appear-active {
307
- transform: translate(0, 0);
316
+ transform: translate3d(0, 0, 0);
308
317
  animation-fill-mode: both;
309
318
  animation-name: popup-slide-bottom-enter;
310
319
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
311
320
  }
312
- .nut-popup-slide-bottom-exit {
321
+ .nut-popup-slide-bottom-exit-active {
313
322
  animation-fill-mode: both;
314
- animation-name: slide-bottom-exit;
323
+ animation-name: popup-slide-bottom-exit;
315
324
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
316
325
  }
317
326
  @keyframes popup-slide-left-enter {
@@ -323,17 +332,20 @@
323
332
  }
324
333
  }
325
334
  @keyframes popup-slide-left-exit {
335
+ from {
336
+ transform: translate3d(0%, 0, 0);
337
+ }
326
338
  to {
327
339
  transform: translate3d(-100%, 0, 0);
328
340
  }
329
341
  }
330
342
  .nut-popup-slide-left-enter-active, .nut-popup-slide-left-appear-active {
331
- transform: translate(0, 0);
343
+ transform: translate3d(0, 0, 0);
332
344
  animation-fill-mode: both;
333
345
  animation-name: popup-slide-left-enter;
334
346
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
335
347
  }
336
- .nut-popup-slide-left-exit-active, .nut-popup-slide-left-exit-done {
348
+ .nut-popup-slide-left-exit-active {
337
349
  animation-fill-mode: both;
338
350
  animation-name: popup-slide-left-exit;
339
351
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
@@ -230,7 +230,7 @@ export var InputNumber = function(props) {
230
230
  className: classNames("".concat(classPrefix, "-icon ").concat(classPrefix, "-icon-minus"), _define_property({}, "".concat(classPrefix, "-icon-disabled"), Number(shadowValue) <= Number(min) || disabled))
231
231
  })), /*#__PURE__*/ React.createElement("input", {
232
232
  className: classNames("".concat(classPrefix, "-input"), _define_property({}, "".concat(classPrefix, "-input-disabled"), disabled)),
233
- type: type,
233
+ type: formatter ? 'text' : type,
234
234
  ref: inputRef,
235
235
  inputMode: type === 'digit' ? 'decimal' : 'numeric',
236
236
  disabled: disabled,
@@ -251,6 +251,9 @@
251
251
  }
252
252
  }
253
253
  @keyframes popup-slide-top-exit {
254
+ from {
255
+ transform: translate3d(0, 0%, 0);
256
+ }
254
257
  to {
255
258
  transform: translate3d(0, -100%, 0);
256
259
  }
@@ -275,6 +278,9 @@
275
278
  }
276
279
  }
277
280
  @keyframes popup-slide-right-exit {
281
+ from {
282
+ transform: translate3d(0%, 0, 0);
283
+ }
278
284
  to {
279
285
  transform: translate3d(100%, 0, 0);
280
286
  }
@@ -285,7 +291,7 @@
285
291
  animation-name: popup-slide-right-enter;
286
292
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
287
293
  }
288
- .nut-popup-slide-right-exit {
294
+ .nut-popup-slide-right-exit-active {
289
295
  animation-fill-mode: both;
290
296
  animation-name: popup-slide-right-exit;
291
297
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
@@ -298,20 +304,23 @@
298
304
  transform: translate3d(0, 0%, 0);
299
305
  }
300
306
  }
301
- @keyframes slide-bottom-exit {
307
+ @keyframes popup-slide-bottom-exit {
308
+ from {
309
+ transform: translate3d(0, 0%, 0);
310
+ }
302
311
  to {
303
312
  transform: translate3d(0, 100%, 0);
304
313
  }
305
314
  }
306
315
  .nut-popup-slide-bottom-enter-active, .nut-popup-slide-bottom-appear-active {
307
- transform: translate(0, 0);
316
+ transform: translate3d(0, 0, 0);
308
317
  animation-fill-mode: both;
309
318
  animation-name: popup-slide-bottom-enter;
310
319
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
311
320
  }
312
- .nut-popup-slide-bottom-exit {
321
+ .nut-popup-slide-bottom-exit-active {
313
322
  animation-fill-mode: both;
314
- animation-name: slide-bottom-exit;
323
+ animation-name: popup-slide-bottom-exit;
315
324
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
316
325
  }
317
326
  @keyframes popup-slide-left-enter {
@@ -323,17 +332,20 @@
323
332
  }
324
333
  }
325
334
  @keyframes popup-slide-left-exit {
335
+ from {
336
+ transform: translate3d(0%, 0, 0);
337
+ }
326
338
  to {
327
339
  transform: translate3d(-100%, 0, 0);
328
340
  }
329
341
  }
330
342
  .nut-popup-slide-left-enter-active, .nut-popup-slide-left-appear-active {
331
- transform: translate(0, 0);
343
+ transform: translate3d(0, 0, 0);
332
344
  animation-fill-mode: both;
333
345
  animation-name: popup-slide-left-enter;
334
346
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
335
347
  }
336
- .nut-popup-slide-left-exit-active, .nut-popup-slide-left-exit-done {
348
+ .nut-popup-slide-left-exit-active {
337
349
  animation-fill-mode: both;
338
350
  animation-name: popup-slide-left-exit;
339
351
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
@@ -192,6 +192,8 @@ import Video from "./video/index";
192
192
  export * from "./video/index";
193
193
  import VirtualList from "./virtuallist/index";
194
194
  export * from "./virtuallist/index";
195
+ import QuickEnter from "./quickenter/index";
196
+ export * from "./quickenter/index";
195
197
  import AvatarCropper from "./avatarcropper/index";
196
198
  export * from "./avatarcropper/index";
197
199
  import Barrage from "./barrage/index";
@@ -209,4 +211,4 @@ export * from "./watermark/index";
209
211
  export * from "../types";
210
212
  export * from "../utils/index";
211
213
  export * from "../hooks/index";
212
- export { Button, Cell, CellGroup, ConfigProvider, Image, Overlay, Divider, Grid, GridItem, Layout, Col, Row, SafeArea, Space, Sticky, BackTop, Elevator, FixedNav, HoverButton, HoverButtonItem, NavBar, SideBar, SideBarItem, Tabbar, TabbarItem, TabPane, Tabs, Address, Calendar, CalendarItem, CalendarCard, Cascader, Checkbox, CheckboxGroup, DatePicker, DatePickerView, Form, FormItem, Input, InputNumber, Menu, MenuItem, NumberKeyboard, Picker, PickerView, Radio, RadioGroup, Range, Rate, SearchBar, ShortPassword, Signature, Switch, TextArea, Uploader, ActionSheet, Badge, Dialog, Drag, Empty, InfiniteLoading, Loading, NoticeBar, Notify, Popover, Popup, PullToRefresh, ResultPage, Skeleton, Swipe, Toast, Animate, AnimatingNumbers, Audio, Avatar, AvatarGroup, CircleProgress, Collapse, CollapseItem, CountDown, Ellipsis, ImagePreview, Indicator, Lottie, Pagination, Price, Progress, Segmented, Step, Steps, Swiper, SwiperItem, Table, Tag, Tour, Video, VirtualList, AvatarCropper, Barrage, Card, TimeDetail, TimeSelect, TrendArrow, WaterMark };
214
+ export { Button, Cell, CellGroup, ConfigProvider, Image, Overlay, Divider, Grid, GridItem, Layout, Col, Row, SafeArea, Space, Sticky, BackTop, Elevator, FixedNav, HoverButton, HoverButtonItem, NavBar, SideBar, SideBarItem, Tabbar, TabbarItem, TabPane, Tabs, Address, Calendar, CalendarItem, CalendarCard, Cascader, Checkbox, CheckboxGroup, DatePicker, DatePickerView, Form, FormItem, Input, InputNumber, Menu, MenuItem, NumberKeyboard, Picker, PickerView, Radio, RadioGroup, Range, Rate, SearchBar, ShortPassword, Signature, Switch, TextArea, Uploader, ActionSheet, Badge, Dialog, Drag, Empty, InfiniteLoading, Loading, NoticeBar, Notify, Popover, Popup, PullToRefresh, ResultPage, Skeleton, Swipe, Toast, Animate, AnimatingNumbers, Audio, Avatar, AvatarGroup, CircleProgress, Collapse, CollapseItem, CountDown, Ellipsis, ImagePreview, Indicator, Lottie, Pagination, Price, Progress, Segmented, Step, Steps, Swiper, SwiperItem, Table, Tag, Tour, Video, VirtualList, QuickEnter, AvatarCropper, Barrage, Card, TimeDetail, TimeSelect, TrendArrow, WaterMark };
@@ -192,6 +192,8 @@ import Video from "./video/index";
192
192
  export * from "./video/index";
193
193
  import VirtualList from "./virtuallist/index";
194
194
  export * from "./virtuallist/index";
195
+ import QuickEnter from "./quickenter/index";
196
+ export * from "./quickenter/index";
195
197
  import AvatarCropper from "./avatarcropper/index";
196
198
  export * from "./avatarcropper/index";
197
199
  import Barrage from "./barrage/index";
@@ -209,4 +211,4 @@ export * from "./watermark/index";
209
211
  export * from "../types";
210
212
  export * from "../utils/index";
211
213
  export * from "../hooks/index";
212
- export { Button, Cell, CellGroup, ConfigProvider, Image, Overlay, Divider, Grid, GridItem, Layout, Col, Row, SafeArea, Space, Sticky, BackTop, Elevator, FixedNav, HoverButton, HoverButtonItem, NavBar, SideBar, SideBarItem, Tabbar, TabbarItem, TabPane, Tabs, Address, Calendar, CalendarItem, CalendarCard, Cascader, Checkbox, CheckboxGroup, DatePicker, DatePickerView, Form, FormItem, Input, InputNumber, Menu, MenuItem, NumberKeyboard, Picker, PickerView, Radio, RadioGroup, Range, Rate, SearchBar, ShortPassword, Signature, Switch, TextArea, Uploader, ActionSheet, Badge, Dialog, Drag, Empty, InfiniteLoading, Loading, NoticeBar, Notify, Popover, Popup, PullToRefresh, ResultPage, Skeleton, Swipe, Toast, Animate, AnimatingNumbers, Audio, Avatar, AvatarGroup, CircleProgress, Collapse, CollapseItem, CountDown, Ellipsis, ImagePreview, Indicator, Lottie, Pagination, Price, Progress, Segmented, Step, Steps, Swiper, SwiperItem, Table, Tag, Tour, Video, VirtualList, AvatarCropper, Barrage, Card, TimeDetail, TimeSelect, TrendArrow, WaterMark };
214
+ export { Button, Cell, CellGroup, ConfigProvider, Image, Overlay, Divider, Grid, GridItem, Layout, Col, Row, SafeArea, Space, Sticky, BackTop, Elevator, FixedNav, HoverButton, HoverButtonItem, NavBar, SideBar, SideBarItem, Tabbar, TabbarItem, TabPane, Tabs, Address, Calendar, CalendarItem, CalendarCard, Cascader, Checkbox, CheckboxGroup, DatePicker, DatePickerView, Form, FormItem, Input, InputNumber, Menu, MenuItem, NumberKeyboard, Picker, PickerView, Radio, RadioGroup, Range, Rate, SearchBar, ShortPassword, Signature, Switch, TextArea, Uploader, ActionSheet, Badge, Dialog, Drag, Empty, InfiniteLoading, Loading, NoticeBar, Notify, Popover, Popup, PullToRefresh, ResultPage, Skeleton, Swipe, Toast, Animate, AnimatingNumbers, Audio, Avatar, AvatarGroup, CircleProgress, Collapse, CollapseItem, CountDown, Ellipsis, ImagePreview, Indicator, Lottie, Pagination, Price, Progress, Segmented, Step, Steps, Swiper, SwiperItem, Table, Tag, Tour, Video, VirtualList, QuickEnter, AvatarCropper, Barrage, Card, TimeDetail, TimeSelect, TrendArrow, WaterMark };
@@ -7,6 +7,7 @@ import classNames from "classnames";
7
7
  import { View } from "@tarojs/components";
8
8
  import { ComponentDefaults } from "../../utils/typings";
9
9
  import { useLockScrollTaro } from "../../hooks/taro/use-lock-scoll";
10
+ import ConfigurableCSSTransition from "../../utils/taro/ConfigurableCSSTransition";
10
11
  export var defaultOverlayProps = _object_spread_props(_object_spread({}, ComponentDefaults), {
11
12
  zIndex: 1000,
12
13
  duration: 300,
@@ -52,27 +53,20 @@ export var Overlay = function(props) {
52
53
  return /*#__PURE__*/ React.createElement(View, _object_spread_props(_object_spread({
53
54
  ref: nodeRef,
54
55
  className: classes,
55
- style: _object_spread_props(_object_spread({}, styles), {
56
- display: innerVisible ? 'block' : 'none'
57
- })
56
+ style: styles
58
57
  }, rest), {
59
58
  catchMove: lockScroll,
60
59
  onClick: handleClick
61
60
  }), children);
62
61
  };
63
- return /*#__PURE__*/ React.createElement(React.Fragment, null, renderOverlay());
64
- // return (
65
- // <CSSTransition
66
- // nodeRef={nodeRef}
67
- // classNames={`${classPrefix}-slide`}
68
- // unmountOnExit
69
- // timeout={duration}
70
- // in={innerVisible}
71
- // onEntered={afterShow}
72
- // onExited={afterClose}
73
- // >
74
- // {renderOverlay()}
75
- // </CSSTransition>
76
- // )
62
+ return /*#__PURE__*/ React.createElement(ConfigurableCSSTransition, {
63
+ nodeRef: nodeRef,
64
+ classNames: "".concat(classPrefix, "-slide"),
65
+ unmountOnExit: true,
66
+ timeout: Number(duration),
67
+ in: innerVisible,
68
+ onEntered: afterShow,
69
+ onExited: afterClose
70
+ }, renderOverlay());
77
71
  };
78
72
  Overlay.displayName = 'NutOverlay';
@@ -251,6 +251,9 @@
251
251
  }
252
252
  }
253
253
  @keyframes popup-slide-top-exit {
254
+ from {
255
+ transform: translate3d(0, 0%, 0);
256
+ }
254
257
  to {
255
258
  transform: translate3d(0, -100%, 0);
256
259
  }
@@ -275,6 +278,9 @@
275
278
  }
276
279
  }
277
280
  @keyframes popup-slide-right-exit {
281
+ from {
282
+ transform: translate3d(0%, 0, 0);
283
+ }
278
284
  to {
279
285
  transform: translate3d(100%, 0, 0);
280
286
  }
@@ -285,7 +291,7 @@
285
291
  animation-name: popup-slide-right-enter;
286
292
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
287
293
  }
288
- .nut-popup-slide-right-exit {
294
+ .nut-popup-slide-right-exit-active {
289
295
  animation-fill-mode: both;
290
296
  animation-name: popup-slide-right-exit;
291
297
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
@@ -298,20 +304,23 @@
298
304
  transform: translate3d(0, 0%, 0);
299
305
  }
300
306
  }
301
- @keyframes slide-bottom-exit {
307
+ @keyframes popup-slide-bottom-exit {
308
+ from {
309
+ transform: translate3d(0, 0%, 0);
310
+ }
302
311
  to {
303
312
  transform: translate3d(0, 100%, 0);
304
313
  }
305
314
  }
306
315
  .nut-popup-slide-bottom-enter-active, .nut-popup-slide-bottom-appear-active {
307
- transform: translate(0, 0);
316
+ transform: translate3d(0, 0, 0);
308
317
  animation-fill-mode: both;
309
318
  animation-name: popup-slide-bottom-enter;
310
319
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
311
320
  }
312
- .nut-popup-slide-bottom-exit {
321
+ .nut-popup-slide-bottom-exit-active {
313
322
  animation-fill-mode: both;
314
- animation-name: slide-bottom-exit;
323
+ animation-name: popup-slide-bottom-exit;
315
324
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
316
325
  }
317
326
  @keyframes popup-slide-left-enter {
@@ -323,17 +332,20 @@
323
332
  }
324
333
  }
325
334
  @keyframes popup-slide-left-exit {
335
+ from {
336
+ transform: translate3d(0%, 0, 0);
337
+ }
326
338
  to {
327
339
  transform: translate3d(-100%, 0, 0);
328
340
  }
329
341
  }
330
342
  .nut-popup-slide-left-enter-active, .nut-popup-slide-left-appear-active {
331
- transform: translate(0, 0);
343
+ transform: translate3d(0, 0, 0);
332
344
  animation-fill-mode: both;
333
345
  animation-name: popup-slide-left-enter;
334
346
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
335
347
  }
336
- .nut-popup-slide-left-exit-active, .nut-popup-slide-left-exit-done {
348
+ .nut-popup-slide-left-exit-active {
337
349
  animation-fill-mode: both;
338
350
  animation-name: popup-slide-left-exit;
339
351
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
@@ -251,6 +251,9 @@
251
251
  }
252
252
  }
253
253
  @keyframes popup-slide-top-exit {
254
+ from {
255
+ transform: translate3d(0, 0%, 0);
256
+ }
254
257
  to {
255
258
  transform: translate3d(0, -100%, 0);
256
259
  }
@@ -275,6 +278,9 @@
275
278
  }
276
279
  }
277
280
  @keyframes popup-slide-right-exit {
281
+ from {
282
+ transform: translate3d(0%, 0, 0);
283
+ }
278
284
  to {
279
285
  transform: translate3d(100%, 0, 0);
280
286
  }
@@ -285,7 +291,7 @@
285
291
  animation-name: popup-slide-right-enter;
286
292
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
287
293
  }
288
- .nut-popup-slide-right-exit {
294
+ .nut-popup-slide-right-exit-active {
289
295
  animation-fill-mode: both;
290
296
  animation-name: popup-slide-right-exit;
291
297
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
@@ -298,20 +304,23 @@
298
304
  transform: translate3d(0, 0%, 0);
299
305
  }
300
306
  }
301
- @keyframes slide-bottom-exit {
307
+ @keyframes popup-slide-bottom-exit {
308
+ from {
309
+ transform: translate3d(0, 0%, 0);
310
+ }
302
311
  to {
303
312
  transform: translate3d(0, 100%, 0);
304
313
  }
305
314
  }
306
315
  .nut-popup-slide-bottom-enter-active, .nut-popup-slide-bottom-appear-active {
307
- transform: translate(0, 0);
316
+ transform: translate3d(0, 0, 0);
308
317
  animation-fill-mode: both;
309
318
  animation-name: popup-slide-bottom-enter;
310
319
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
311
320
  }
312
- .nut-popup-slide-bottom-exit {
321
+ .nut-popup-slide-bottom-exit-active {
313
322
  animation-fill-mode: both;
314
- animation-name: slide-bottom-exit;
323
+ animation-name: popup-slide-bottom-exit;
315
324
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
316
325
  }
317
326
  @keyframes popup-slide-left-enter {
@@ -323,17 +332,20 @@
323
332
  }
324
333
  }
325
334
  @keyframes popup-slide-left-exit {
335
+ from {
336
+ transform: translate3d(0%, 0, 0);
337
+ }
326
338
  to {
327
339
  transform: translate3d(-100%, 0, 0);
328
340
  }
329
341
  }
330
342
  .nut-popup-slide-left-enter-active, .nut-popup-slide-left-appear-active {
331
- transform: translate(0, 0);
343
+ transform: translate3d(0, 0, 0);
332
344
  animation-fill-mode: both;
333
345
  animation-name: popup-slide-left-enter;
334
346
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
335
347
  }
336
- .nut-popup-slide-left-exit-active, .nut-popup-slide-left-exit-done {
348
+ .nut-popup-slide-left-exit-active {
337
349
  animation-fill-mode: both;
338
350
  animation-name: popup-slide-left-exit;
339
351
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);