@nutui/nutui-react-taro 3.0.19-cpp.26-beta.4 → 3.0.19-cpp.27

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 (127) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/cjs/locales/base.d.ts +5 -0
  3. package/dist/cjs/locales/en-US.js +5 -0
  4. package/dist/cjs/locales/id-ID.js +5 -0
  5. package/dist/cjs/locales/ja-JP.js +6 -1
  6. package/dist/cjs/locales/tr-TR.js +5 -0
  7. package/dist/cjs/locales/zh-CN.js +5 -0
  8. package/dist/cjs/locales/zh-TW.js +5 -0
  9. package/dist/cjs/locales/zh-UG.js +5 -0
  10. package/dist/cjs/packages/actionsheet/style/style.harmony.css +7 -7
  11. package/dist/cjs/packages/address/address.d.ts +1 -1
  12. package/dist/cjs/packages/address/style/style.harmony.css +7 -7
  13. package/dist/cjs/packages/animatingnumbers/countup.js +3 -1
  14. package/dist/cjs/packages/avatar/avatar.js +32 -6
  15. package/dist/cjs/packages/badge/badge.js +16 -3
  16. package/dist/cjs/packages/button/button.d.ts +2 -21
  17. package/dist/cjs/packages/button/button.js +2 -3
  18. package/dist/cjs/packages/button/index.d.ts +0 -1
  19. package/dist/cjs/packages/calendar/style/style.harmony.css +7 -7
  20. package/dist/cjs/packages/cascader/style/style.harmony.css +7 -7
  21. package/dist/cjs/packages/datepicker/style/style.harmony.css +7 -7
  22. package/dist/cjs/packages/dialog/dialog.js +6 -2
  23. package/dist/cjs/packages/divider/divider.js +2 -2
  24. package/dist/cjs/packages/empty/empty.d.ts +4 -4
  25. package/dist/cjs/packages/image/image.js +11 -3
  26. package/dist/cjs/packages/imagepreview/style/style.harmony.css +7 -7
  27. package/dist/cjs/packages/input/input.js +10 -3
  28. package/dist/cjs/packages/numberkeyboard/style/style.harmony.css +7 -7
  29. package/dist/cjs/packages/picker/style/style.harmony.css +7 -7
  30. package/dist/cjs/packages/popover/style/style.harmony.css +7 -7
  31. package/dist/cjs/packages/popup/style/popup.scss +8 -7
  32. package/dist/cjs/packages/popup/style/style.css +7 -7
  33. package/dist/cjs/packages/popup/style/style.harmony.css +7 -7
  34. package/dist/cjs/packages/popup/style-jmapp/popup.scss +8 -7
  35. package/dist/cjs/packages/popup/style-jmapp/style.css +7 -7
  36. package/dist/cjs/packages/popup/style-jrkf/popup.scss +8 -7
  37. package/dist/cjs/packages/popup/style-jrkf/style.css +7 -7
  38. package/dist/cjs/packages/progress/progress.js +2 -4
  39. package/dist/cjs/packages/quickenter/quickenter.js +21 -15
  40. package/dist/cjs/packages/quickenter/style/quickenter.scss +10 -2
  41. package/dist/cjs/packages/quickenter/style/style.css +7 -1
  42. package/dist/cjs/packages/quickenter/style/style.harmony.css +13 -8
  43. package/dist/cjs/packages/quickenter/style-jmapp/quickenter.scss +10 -2
  44. package/dist/cjs/packages/quickenter/style-jmapp/style.css +7 -1
  45. package/dist/cjs/packages/quickenter/style-jrkf/quickenter.scss +10 -2
  46. package/dist/cjs/packages/quickenter/style-jrkf/style.css +7 -1
  47. package/dist/cjs/packages/resultpage/resultpage.js +2 -1
  48. package/dist/cjs/packages/searchbar/searchbar.js +23 -9
  49. package/dist/cjs/packages/shortpassword/style/style.harmony.css +7 -7
  50. package/dist/cjs/packages/swipe/swipe.d.ts +1 -1
  51. package/dist/cjs/packages/tabs/tabs.js +12 -5
  52. package/dist/cjs/packages/timeselect/style/style.harmony.css +7 -7
  53. package/dist/cjs/packages/tour/style/style.harmony.css +7 -7
  54. package/dist/cjs/types/spec/button/base.d.ts +2 -1
  55. package/dist/cjs/types/spec/button/taro.d.ts +5 -1
  56. package/dist/cjs/types/spec/quickenter/base.d.ts +1 -0
  57. package/dist/cjs/utils/taro/get-rect.js +4 -2
  58. package/dist/es/locales/base.d.ts +5 -0
  59. package/dist/es/locales/en-US.js +5 -0
  60. package/dist/es/locales/id-ID.js +5 -0
  61. package/dist/es/locales/ja-JP.js +6 -1
  62. package/dist/es/locales/tr-TR.js +5 -0
  63. package/dist/es/locales/zh-CN.js +5 -0
  64. package/dist/es/locales/zh-TW.js +5 -0
  65. package/dist/es/locales/zh-UG.js +5 -0
  66. package/dist/es/packages/actionsheet/style/style.harmony.css +7 -7
  67. package/dist/es/packages/address/address.d.ts +1 -1
  68. package/dist/es/packages/address/style/style.harmony.css +7 -7
  69. package/dist/es/packages/animatingnumbers/countup.js +3 -1
  70. package/dist/es/packages/avatar/avatar.js +32 -6
  71. package/dist/es/packages/badge/badge.js +16 -3
  72. package/dist/es/packages/button/button.d.ts +2 -21
  73. package/dist/es/packages/button/button.js +2 -4
  74. package/dist/es/packages/button/index.d.ts +0 -1
  75. package/dist/es/packages/calendar/style/style.harmony.css +7 -7
  76. package/dist/es/packages/cascader/style/style.harmony.css +7 -7
  77. package/dist/es/packages/datepicker/style/style.harmony.css +7 -7
  78. package/dist/es/packages/dialog/dialog.js +6 -2
  79. package/dist/es/packages/divider/divider.js +1 -1
  80. package/dist/es/packages/empty/empty.d.ts +4 -4
  81. package/dist/es/packages/image/image.js +11 -3
  82. package/dist/es/packages/imagepreview/style/style.harmony.css +7 -7
  83. package/dist/es/packages/input/input.js +10 -3
  84. package/dist/es/packages/numberkeyboard/style/style.harmony.css +7 -7
  85. package/dist/es/packages/picker/style/style.harmony.css +7 -7
  86. package/dist/es/packages/popover/style/style.harmony.css +7 -7
  87. package/dist/es/packages/popup/popup.js +1 -2
  88. package/dist/es/packages/popup/style/popup.scss +8 -7
  89. package/dist/es/packages/popup/style/style.css +7 -7
  90. package/dist/es/packages/popup/style/style.harmony.css +7 -7
  91. package/dist/es/packages/popup/style-jmapp/popup.scss +8 -7
  92. package/dist/es/packages/popup/style-jmapp/style.css +7 -7
  93. package/dist/es/packages/popup/style-jrkf/popup.scss +8 -7
  94. package/dist/es/packages/popup/style-jrkf/style.css +7 -7
  95. package/dist/es/packages/progress/progress.js +2 -4
  96. package/dist/es/packages/quickenter/quickenter.js +19 -13
  97. package/dist/es/packages/quickenter/style/quickenter.scss +10 -2
  98. package/dist/es/packages/quickenter/style/style.css +7 -1
  99. package/dist/es/packages/quickenter/style/style.harmony.css +13 -8
  100. package/dist/es/packages/quickenter/style-jmapp/quickenter.scss +10 -2
  101. package/dist/es/packages/quickenter/style-jmapp/style.css +7 -1
  102. package/dist/es/packages/quickenter/style-jrkf/quickenter.scss +10 -2
  103. package/dist/es/packages/quickenter/style-jrkf/style.css +7 -1
  104. package/dist/es/packages/resultpage/resultpage.js +2 -1
  105. package/dist/es/packages/searchbar/searchbar.js +23 -9
  106. package/dist/es/packages/shortpassword/style/style.harmony.css +7 -7
  107. package/dist/es/packages/swipe/swipe.d.ts +1 -1
  108. package/dist/es/packages/tabs/tabs.js +12 -5
  109. package/dist/es/packages/timeselect/style/style.harmony.css +7 -7
  110. package/dist/es/packages/tour/style/style.harmony.css +7 -7
  111. package/dist/es/types/spec/button/base.d.ts +2 -1
  112. package/dist/es/types/spec/button/taro.d.ts +5 -1
  113. package/dist/es/types/spec/quickenter/base.d.ts +1 -0
  114. package/dist/es/utils/taro/get-rect.js +4 -2
  115. package/dist/nutui.react.umd.js +1127 -102
  116. package/dist/style-jmapp.css +1 -1
  117. package/dist/style-jmapp.scss +34 -34
  118. package/dist/style-jrkf.css +1 -1
  119. package/dist/style-jrkf.scss +42 -42
  120. package/dist/style.css +1 -1
  121. package/dist/style.scss +36 -36
  122. package/dist/styles/jd-font.scss +2 -2
  123. package/dist/styles/themes/daojia.css +1 -1
  124. package/dist/styles/themes/dark-daojia.css +1 -1
  125. package/dist/styles/themes/dark.css +1 -1
  126. package/dist/styles/themes/default.css +1 -1
  127. package/package.json +1 -1
@@ -21,6 +21,7 @@ var _components = require("@tarojs/components");
21
21
  var _iconsreacttaro = require("@nutui/icons-react-taro");
22
22
  var _classnames = /*#__PURE__*/ _interop_require_default._(require("classnames"));
23
23
  var _pxtransform = require("../../utils/taro/px-transform");
24
+ var _index = require("../configprovider/index");
24
25
  var defaultProps = {
25
26
  src: '',
26
27
  error: true,
@@ -42,6 +43,7 @@ var Image = function Image(props) {
42
43
  ]);
43
44
  var _useState = (0, _sliced_to_array._)((0, _react.useState)(true), 2), innerLoading = _useState[0], setInnerLoading = _useState[1];
44
45
  var _useState1 = (0, _sliced_to_array._)((0, _react.useState)(false), 2), isError = _useState1[0], setIsError = _useState1[1];
46
+ var locale = (0, _index.useConfig)().locale;
45
47
  var pxCheck = function pxCheck(value) {
46
48
  return Number.isNaN(Number(value)) ? String(value) : (0, _pxtransform.pxTransform)(+value);
47
49
  };
@@ -74,8 +76,11 @@ var Image = function Image(props) {
74
76
  if (!isError) return null;
75
77
  if (typeof error === 'boolean' && error === true && !innerLoading) {
76
78
  return /*#__PURE__*/ _react.default.createElement(_components.View, {
77
- className: "".concat(classPrefix, "-error")
78
- }, /*#__PURE__*/ _react.default.createElement(_iconsreacttaro.ImageError, null));
79
+ className: "".concat(classPrefix, "-error"),
80
+ ariaLabel: locale.image.errorTip || ''
81
+ }, /*#__PURE__*/ _react.default.createElement(_iconsreacttaro.ImageError, {
82
+ ariaHidden: true
83
+ }));
79
84
  }
80
85
  if (/*#__PURE__*/ _react.default.isValidElement(error) && !innerLoading) {
81
86
  return /*#__PURE__*/ _react.default.createElement(_components.View, {
@@ -86,7 +91,8 @@ var Image = function Image(props) {
86
91
  }, [
87
92
  error,
88
93
  isError,
89
- innerLoading
94
+ innerLoading,
95
+ locale
90
96
  ]);
91
97
  var renderLoading = (0, _react.useCallback)(function() {
92
98
  if (!loading) return null;
@@ -112,6 +118,8 @@ var Image = function Image(props) {
112
118
  className: (0, _classnames.default)("".concat(classPrefix, "-default"), className && "".concat(className, "-image"), (0, _define_property._)({}, "".concat(classPrefix, "-error"), isError)),
113
119
  style: imgStyle,
114
120
  src: src,
121
+ // @ts-ignore
122
+ ariaHidden: isError,
115
123
  onLoad: function onLoad(e) {
116
124
  return handleLoad(e);
117
125
  },
@@ -291,7 +291,7 @@
291
291
  animation-name: popup-slide-right-enter;
292
292
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
293
293
  }
294
- .nut-popup-slide-right-exit-active {
294
+ .nut-popup-slide-right-exit {
295
295
  animation-fill-mode: both;
296
296
  animation-name: popup-slide-right-exit;
297
297
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
@@ -304,7 +304,7 @@
304
304
  transform: translate3d(0, 0%, 0);
305
305
  }
306
306
  }
307
- @keyframes popup-slide-bottom-exit {
307
+ @keyframes slide-bottom-exit {
308
308
  from {
309
309
  transform: translate3d(0, 0%, 0);
310
310
  }
@@ -313,14 +313,14 @@
313
313
  }
314
314
  }
315
315
  .nut-popup-slide-bottom-enter-active, .nut-popup-slide-bottom-appear-active {
316
- transform: translate3d(0, 0, 0);
316
+ transform: translate(0, 0);
317
317
  animation-fill-mode: both;
318
318
  animation-name: popup-slide-bottom-enter;
319
319
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
320
320
  }
321
- .nut-popup-slide-bottom-exit-active {
321
+ .nut-popup-slide-bottom-exit {
322
322
  animation-fill-mode: both;
323
- animation-name: popup-slide-bottom-exit;
323
+ animation-name: slide-bottom-exit;
324
324
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
325
325
  }
326
326
  @keyframes popup-slide-left-enter {
@@ -340,12 +340,12 @@
340
340
  }
341
341
  }
342
342
  .nut-popup-slide-left-enter-active, .nut-popup-slide-left-appear-active {
343
- transform: translate3d(0, 0, 0);
343
+ transform: translate(0, 0);
344
344
  animation-fill-mode: both;
345
345
  animation-name: popup-slide-left-enter;
346
346
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
347
347
  }
348
- .nut-popup-slide-left-exit-active {
348
+ .nut-popup-slide-left-exit-active, .nut-popup-slide-left-exit-done {
349
349
  animation-fill-mode: both;
350
350
  animation-name: popup-slide-left-exit;
351
351
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
@@ -202,7 +202,9 @@ var Input = /*#__PURE__*/ (0, _react.forwardRef)(function(props, ref) {
202
202
  confirmType: confirmType,
203
203
  onBlur: handleBlur,
204
204
  onFocus: handleFocus,
205
- onInput: handleInput
205
+ onInput: handleInput,
206
+ ariaLabel: props.ariaLabel || // eslint-disable-next-line no-nested-ternary
207
+ (value ? undefined : placeholder === undefined ? locale.placeholder : placeholder)
206
208
  })), /*#__PURE__*/ _react.default.createElement(_components.View, {
207
209
  style: {
208
210
  display: clearable && !readOnly && active && value.length > 0 ? 'flex' : 'none',
@@ -215,8 +217,13 @@ var Input = /*#__PURE__*/ (0, _react.forwardRef)(function(props, ref) {
215
217
  setValue('');
216
218
  onClear === null || onClear === void 0 ? void 0 : onClear('');
217
219
  }
218
- }
219
- }, clearIcon || /*#__PURE__*/ _react.default.createElement(_iconsreacttaro.MaskClose, {
220
+ },
221
+ ariaRole: "button",
222
+ ariaLabel: locale.clear || '清除'
223
+ }, clearIcon ? /*#__PURE__*/ _react.default.cloneElement(clearIcon, {
224
+ ariaHidden: true
225
+ }) : /*#__PURE__*/ _react.default.createElement(_iconsreacttaro.MaskClose, {
226
+ ariaHidden: true,
220
227
  className: "nut-input-clear"
221
228
  })));
222
229
  });
@@ -291,7 +291,7 @@
291
291
  animation-name: popup-slide-right-enter;
292
292
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
293
293
  }
294
- .nut-popup-slide-right-exit-active {
294
+ .nut-popup-slide-right-exit {
295
295
  animation-fill-mode: both;
296
296
  animation-name: popup-slide-right-exit;
297
297
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
@@ -304,7 +304,7 @@
304
304
  transform: translate3d(0, 0%, 0);
305
305
  }
306
306
  }
307
- @keyframes popup-slide-bottom-exit {
307
+ @keyframes slide-bottom-exit {
308
308
  from {
309
309
  transform: translate3d(0, 0%, 0);
310
310
  }
@@ -313,14 +313,14 @@
313
313
  }
314
314
  }
315
315
  .nut-popup-slide-bottom-enter-active, .nut-popup-slide-bottom-appear-active {
316
- transform: translate3d(0, 0, 0);
316
+ transform: translate(0, 0);
317
317
  animation-fill-mode: both;
318
318
  animation-name: popup-slide-bottom-enter;
319
319
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
320
320
  }
321
- .nut-popup-slide-bottom-exit-active {
321
+ .nut-popup-slide-bottom-exit {
322
322
  animation-fill-mode: both;
323
- animation-name: popup-slide-bottom-exit;
323
+ animation-name: slide-bottom-exit;
324
324
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
325
325
  }
326
326
  @keyframes popup-slide-left-enter {
@@ -340,12 +340,12 @@
340
340
  }
341
341
  }
342
342
  .nut-popup-slide-left-enter-active, .nut-popup-slide-left-appear-active {
343
- transform: translate3d(0, 0, 0);
343
+ transform: translate(0, 0);
344
344
  animation-fill-mode: both;
345
345
  animation-name: popup-slide-left-enter;
346
346
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
347
347
  }
348
- .nut-popup-slide-left-exit-active {
348
+ .nut-popup-slide-left-exit-active, .nut-popup-slide-left-exit-done {
349
349
  animation-fill-mode: both;
350
350
  animation-name: popup-slide-left-exit;
351
351
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
@@ -291,7 +291,7 @@
291
291
  animation-name: popup-slide-right-enter;
292
292
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
293
293
  }
294
- .nut-popup-slide-right-exit-active {
294
+ .nut-popup-slide-right-exit {
295
295
  animation-fill-mode: both;
296
296
  animation-name: popup-slide-right-exit;
297
297
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
@@ -304,7 +304,7 @@
304
304
  transform: translate3d(0, 0%, 0);
305
305
  }
306
306
  }
307
- @keyframes popup-slide-bottom-exit {
307
+ @keyframes slide-bottom-exit {
308
308
  from {
309
309
  transform: translate3d(0, 0%, 0);
310
310
  }
@@ -313,14 +313,14 @@
313
313
  }
314
314
  }
315
315
  .nut-popup-slide-bottom-enter-active, .nut-popup-slide-bottom-appear-active {
316
- transform: translate3d(0, 0, 0);
316
+ transform: translate(0, 0);
317
317
  animation-fill-mode: both;
318
318
  animation-name: popup-slide-bottom-enter;
319
319
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
320
320
  }
321
- .nut-popup-slide-bottom-exit-active {
321
+ .nut-popup-slide-bottom-exit {
322
322
  animation-fill-mode: both;
323
- animation-name: popup-slide-bottom-exit;
323
+ animation-name: slide-bottom-exit;
324
324
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
325
325
  }
326
326
  @keyframes popup-slide-left-enter {
@@ -340,12 +340,12 @@
340
340
  }
341
341
  }
342
342
  .nut-popup-slide-left-enter-active, .nut-popup-slide-left-appear-active {
343
- transform: translate3d(0, 0, 0);
343
+ transform: translate(0, 0);
344
344
  animation-fill-mode: both;
345
345
  animation-name: popup-slide-left-enter;
346
346
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
347
347
  }
348
- .nut-popup-slide-left-exit-active {
348
+ .nut-popup-slide-left-exit-active, .nut-popup-slide-left-exit-done {
349
349
  animation-fill-mode: both;
350
350
  animation-name: popup-slide-left-exit;
351
351
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
@@ -291,7 +291,7 @@
291
291
  animation-name: popup-slide-right-enter;
292
292
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
293
293
  }
294
- .nut-popup-slide-right-exit-active {
294
+ .nut-popup-slide-right-exit {
295
295
  animation-fill-mode: both;
296
296
  animation-name: popup-slide-right-exit;
297
297
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
@@ -304,7 +304,7 @@
304
304
  transform: translate3d(0, 0%, 0);
305
305
  }
306
306
  }
307
- @keyframes popup-slide-bottom-exit {
307
+ @keyframes slide-bottom-exit {
308
308
  from {
309
309
  transform: translate3d(0, 0%, 0);
310
310
  }
@@ -313,14 +313,14 @@
313
313
  }
314
314
  }
315
315
  .nut-popup-slide-bottom-enter-active, .nut-popup-slide-bottom-appear-active {
316
- transform: translate3d(0, 0, 0);
316
+ transform: translate(0, 0);
317
317
  animation-fill-mode: both;
318
318
  animation-name: popup-slide-bottom-enter;
319
319
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
320
320
  }
321
- .nut-popup-slide-bottom-exit-active {
321
+ .nut-popup-slide-bottom-exit {
322
322
  animation-fill-mode: both;
323
- animation-name: popup-slide-bottom-exit;
323
+ animation-name: slide-bottom-exit;
324
324
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
325
325
  }
326
326
  @keyframes popup-slide-left-enter {
@@ -340,12 +340,12 @@
340
340
  }
341
341
  }
342
342
  .nut-popup-slide-left-enter-active, .nut-popup-slide-left-appear-active {
343
- transform: translate3d(0, 0, 0);
343
+ transform: translate(0, 0);
344
344
  animation-fill-mode: both;
345
345
  animation-name: popup-slide-left-enter;
346
346
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
347
347
  }
348
- .nut-popup-slide-left-exit-active {
348
+ .nut-popup-slide-left-exit-active, .nut-popup-slide-left-exit-done {
349
349
  animation-fill-mode: both;
350
350
  animation-name: popup-slide-left-exit;
351
351
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
@@ -268,7 +268,7 @@
268
268
  animation-duration: $popup-animation-duration;
269
269
  }
270
270
 
271
- &-right-exit-active {
271
+ &-right-exit {
272
272
  animation-fill-mode: both;
273
273
  animation-name: popup-slide-right-exit;
274
274
  animation-duration: $popup-animation-duration;
@@ -284,7 +284,7 @@
284
284
  }
285
285
  }
286
286
 
287
- @keyframes popup-slide-bottom-exit {
287
+ @keyframes slide-bottom-exit {
288
288
  from {
289
289
  transform: translate3d(0, 0%, 0);
290
290
  }
@@ -295,15 +295,15 @@
295
295
 
296
296
  &-bottom-enter-active,
297
297
  &-bottom-appear-active {
298
- transform: translate3d(0, 0, 0);
298
+ transform: translate(0, 0);
299
299
  animation-fill-mode: both;
300
300
  animation-name: popup-slide-bottom-enter;
301
301
  animation-duration: $popup-animation-duration;
302
302
  }
303
303
 
304
- &-bottom-exit-active {
304
+ &-bottom-exit {
305
305
  animation-fill-mode: both;
306
- animation-name: popup-slide-bottom-exit;
306
+ animation-name: slide-bottom-exit;
307
307
  animation-duration: $popup-animation-duration;
308
308
  }
309
309
 
@@ -328,13 +328,14 @@
328
328
 
329
329
  &-left-enter-active,
330
330
  &-left-appear-active {
331
- transform: translate3d(0, 0, 0);
331
+ transform: translate(0, 0);
332
332
  animation-fill-mode: both;
333
333
  animation-name: popup-slide-left-enter;
334
334
  animation-duration: $popup-animation-duration;
335
335
  }
336
336
 
337
- &-left-exit-active {
337
+ &-left-exit-active,
338
+ &-left-exit-done {
338
339
  animation-fill-mode: both;
339
340
  animation-name: popup-slide-left-exit;
340
341
  animation-duration: $popup-animation-duration;
@@ -237,7 +237,7 @@
237
237
  animation-name: popup-slide-right-enter;
238
238
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
239
239
  }
240
- .nut-popup-slide-right-exit-active {
240
+ .nut-popup-slide-right-exit {
241
241
  animation-fill-mode: both;
242
242
  animation-name: popup-slide-right-exit;
243
243
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
@@ -250,7 +250,7 @@
250
250
  transform: translate3d(0, 0%, 0);
251
251
  }
252
252
  }
253
- @keyframes popup-slide-bottom-exit {
253
+ @keyframes slide-bottom-exit {
254
254
  from {
255
255
  transform: translate3d(0, 0%, 0);
256
256
  }
@@ -259,14 +259,14 @@
259
259
  }
260
260
  }
261
261
  .nut-popup-slide-bottom-enter-active, .nut-popup-slide-bottom-appear-active {
262
- transform: translate3d(0, 0, 0);
262
+ transform: translate(0, 0);
263
263
  animation-fill-mode: both;
264
264
  animation-name: popup-slide-bottom-enter;
265
265
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
266
266
  }
267
- .nut-popup-slide-bottom-exit-active {
267
+ .nut-popup-slide-bottom-exit {
268
268
  animation-fill-mode: both;
269
- animation-name: popup-slide-bottom-exit;
269
+ animation-name: slide-bottom-exit;
270
270
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
271
271
  }
272
272
  @keyframes popup-slide-left-enter {
@@ -286,12 +286,12 @@
286
286
  }
287
287
  }
288
288
  .nut-popup-slide-left-enter-active, .nut-popup-slide-left-appear-active {
289
- transform: translate3d(0, 0, 0);
289
+ transform: translate(0, 0);
290
290
  animation-fill-mode: both;
291
291
  animation-name: popup-slide-left-enter;
292
292
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
293
293
  }
294
- .nut-popup-slide-left-exit-active {
294
+ .nut-popup-slide-left-exit-active, .nut-popup-slide-left-exit-done {
295
295
  animation-fill-mode: both;
296
296
  animation-name: popup-slide-left-exit;
297
297
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
@@ -291,7 +291,7 @@
291
291
  animation-name: popup-slide-right-enter;
292
292
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
293
293
  }
294
- .nut-popup-slide-right-exit-active {
294
+ .nut-popup-slide-right-exit {
295
295
  animation-fill-mode: both;
296
296
  animation-name: popup-slide-right-exit;
297
297
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
@@ -304,7 +304,7 @@
304
304
  transform: translate3d(0, 0%, 0);
305
305
  }
306
306
  }
307
- @keyframes popup-slide-bottom-exit {
307
+ @keyframes slide-bottom-exit {
308
308
  from {
309
309
  transform: translate3d(0, 0%, 0);
310
310
  }
@@ -313,14 +313,14 @@
313
313
  }
314
314
  }
315
315
  .nut-popup-slide-bottom-enter-active, .nut-popup-slide-bottom-appear-active {
316
- transform: translate3d(0, 0, 0);
316
+ transform: translate(0, 0);
317
317
  animation-fill-mode: both;
318
318
  animation-name: popup-slide-bottom-enter;
319
319
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
320
320
  }
321
- .nut-popup-slide-bottom-exit-active {
321
+ .nut-popup-slide-bottom-exit {
322
322
  animation-fill-mode: both;
323
- animation-name: popup-slide-bottom-exit;
323
+ animation-name: slide-bottom-exit;
324
324
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
325
325
  }
326
326
  @keyframes popup-slide-left-enter {
@@ -340,12 +340,12 @@
340
340
  }
341
341
  }
342
342
  .nut-popup-slide-left-enter-active, .nut-popup-slide-left-appear-active {
343
- transform: translate3d(0, 0, 0);
343
+ transform: translate(0, 0);
344
344
  animation-fill-mode: both;
345
345
  animation-name: popup-slide-left-enter;
346
346
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
347
347
  }
348
- .nut-popup-slide-left-exit-active {
348
+ .nut-popup-slide-left-exit-active, .nut-popup-slide-left-exit-done {
349
349
  animation-fill-mode: both;
350
350
  animation-name: popup-slide-left-exit;
351
351
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
@@ -268,7 +268,7 @@
268
268
  animation-duration: $popup-animation-duration;
269
269
  }
270
270
 
271
- &-right-exit-active {
271
+ &-right-exit {
272
272
  animation-fill-mode: both;
273
273
  animation-name: popup-slide-right-exit;
274
274
  animation-duration: $popup-animation-duration;
@@ -284,7 +284,7 @@
284
284
  }
285
285
  }
286
286
 
287
- @keyframes popup-slide-bottom-exit {
287
+ @keyframes slide-bottom-exit {
288
288
  from {
289
289
  transform: translate3d(0, 0%, 0);
290
290
  }
@@ -295,15 +295,15 @@
295
295
 
296
296
  &-bottom-enter-active,
297
297
  &-bottom-appear-active {
298
- transform: translate3d(0, 0, 0);
298
+ transform: translate(0, 0);
299
299
  animation-fill-mode: both;
300
300
  animation-name: popup-slide-bottom-enter;
301
301
  animation-duration: $popup-animation-duration;
302
302
  }
303
303
 
304
- &-bottom-exit-active {
304
+ &-bottom-exit {
305
305
  animation-fill-mode: both;
306
- animation-name: popup-slide-bottom-exit;
306
+ animation-name: slide-bottom-exit;
307
307
  animation-duration: $popup-animation-duration;
308
308
  }
309
309
 
@@ -328,13 +328,14 @@
328
328
 
329
329
  &-left-enter-active,
330
330
  &-left-appear-active {
331
- transform: translate3d(0, 0, 0);
331
+ transform: translate(0, 0);
332
332
  animation-fill-mode: both;
333
333
  animation-name: popup-slide-left-enter;
334
334
  animation-duration: $popup-animation-duration;
335
335
  }
336
336
 
337
- &-left-exit-active {
337
+ &-left-exit-active,
338
+ &-left-exit-done {
338
339
  animation-fill-mode: both;
339
340
  animation-name: popup-slide-left-exit;
340
341
  animation-duration: $popup-animation-duration;
@@ -237,7 +237,7 @@
237
237
  animation-name: popup-slide-right-enter;
238
238
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
239
239
  }
240
- .nut-popup-slide-right-exit-active {
240
+ .nut-popup-slide-right-exit {
241
241
  animation-fill-mode: both;
242
242
  animation-name: popup-slide-right-exit;
243
243
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
@@ -250,7 +250,7 @@
250
250
  transform: translate3d(0, 0%, 0);
251
251
  }
252
252
  }
253
- @keyframes popup-slide-bottom-exit {
253
+ @keyframes slide-bottom-exit {
254
254
  from {
255
255
  transform: translate3d(0, 0%, 0);
256
256
  }
@@ -259,14 +259,14 @@
259
259
  }
260
260
  }
261
261
  .nut-popup-slide-bottom-enter-active, .nut-popup-slide-bottom-appear-active {
262
- transform: translate3d(0, 0, 0);
262
+ transform: translate(0, 0);
263
263
  animation-fill-mode: both;
264
264
  animation-name: popup-slide-bottom-enter;
265
265
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
266
266
  }
267
- .nut-popup-slide-bottom-exit-active {
267
+ .nut-popup-slide-bottom-exit {
268
268
  animation-fill-mode: both;
269
- animation-name: popup-slide-bottom-exit;
269
+ animation-name: slide-bottom-exit;
270
270
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
271
271
  }
272
272
  @keyframes popup-slide-left-enter {
@@ -286,12 +286,12 @@
286
286
  }
287
287
  }
288
288
  .nut-popup-slide-left-enter-active, .nut-popup-slide-left-appear-active {
289
- transform: translate3d(0, 0, 0);
289
+ transform: translate(0, 0);
290
290
  animation-fill-mode: both;
291
291
  animation-name: popup-slide-left-enter;
292
292
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
293
293
  }
294
- .nut-popup-slide-left-exit-active {
294
+ .nut-popup-slide-left-exit-active, .nut-popup-slide-left-exit-done {
295
295
  animation-fill-mode: both;
296
296
  animation-name: popup-slide-left-exit;
297
297
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
@@ -268,7 +268,7 @@
268
268
  animation-duration: $popup-animation-duration;
269
269
  }
270
270
 
271
- &-right-exit-active {
271
+ &-right-exit {
272
272
  animation-fill-mode: both;
273
273
  animation-name: popup-slide-right-exit;
274
274
  animation-duration: $popup-animation-duration;
@@ -284,7 +284,7 @@
284
284
  }
285
285
  }
286
286
 
287
- @keyframes popup-slide-bottom-exit {
287
+ @keyframes slide-bottom-exit {
288
288
  from {
289
289
  transform: translate3d(0, 0%, 0);
290
290
  }
@@ -295,15 +295,15 @@
295
295
 
296
296
  &-bottom-enter-active,
297
297
  &-bottom-appear-active {
298
- transform: translate3d(0, 0, 0);
298
+ transform: translate(0, 0);
299
299
  animation-fill-mode: both;
300
300
  animation-name: popup-slide-bottom-enter;
301
301
  animation-duration: $popup-animation-duration;
302
302
  }
303
303
 
304
- &-bottom-exit-active {
304
+ &-bottom-exit {
305
305
  animation-fill-mode: both;
306
- animation-name: popup-slide-bottom-exit;
306
+ animation-name: slide-bottom-exit;
307
307
  animation-duration: $popup-animation-duration;
308
308
  }
309
309
 
@@ -328,13 +328,14 @@
328
328
 
329
329
  &-left-enter-active,
330
330
  &-left-appear-active {
331
- transform: translate3d(0, 0, 0);
331
+ transform: translate(0, 0);
332
332
  animation-fill-mode: both;
333
333
  animation-name: popup-slide-left-enter;
334
334
  animation-duration: $popup-animation-duration;
335
335
  }
336
336
 
337
- &-left-exit-active {
337
+ &-left-exit-active,
338
+ &-left-exit-done {
338
339
  animation-fill-mode: both;
339
340
  animation-name: popup-slide-left-exit;
340
341
  animation-duration: $popup-animation-duration;
@@ -237,7 +237,7 @@
237
237
  animation-name: popup-slide-right-enter;
238
238
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
239
239
  }
240
- .nut-popup-slide-right-exit-active {
240
+ .nut-popup-slide-right-exit {
241
241
  animation-fill-mode: both;
242
242
  animation-name: popup-slide-right-exit;
243
243
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
@@ -250,7 +250,7 @@
250
250
  transform: translate3d(0, 0%, 0);
251
251
  }
252
252
  }
253
- @keyframes popup-slide-bottom-exit {
253
+ @keyframes slide-bottom-exit {
254
254
  from {
255
255
  transform: translate3d(0, 0%, 0);
256
256
  }
@@ -259,14 +259,14 @@
259
259
  }
260
260
  }
261
261
  .nut-popup-slide-bottom-enter-active, .nut-popup-slide-bottom-appear-active {
262
- transform: translate3d(0, 0, 0);
262
+ transform: translate(0, 0);
263
263
  animation-fill-mode: both;
264
264
  animation-name: popup-slide-bottom-enter;
265
265
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
266
266
  }
267
- .nut-popup-slide-bottom-exit-active {
267
+ .nut-popup-slide-bottom-exit {
268
268
  animation-fill-mode: both;
269
- animation-name: popup-slide-bottom-exit;
269
+ animation-name: slide-bottom-exit;
270
270
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
271
271
  }
272
272
  @keyframes popup-slide-left-enter {
@@ -286,12 +286,12 @@
286
286
  }
287
287
  }
288
288
  .nut-popup-slide-left-enter-active, .nut-popup-slide-left-appear-active {
289
- transform: translate3d(0, 0, 0);
289
+ transform: translate(0, 0);
290
290
  animation-fill-mode: both;
291
291
  animation-name: popup-slide-left-enter;
292
292
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
293
293
  }
294
- .nut-popup-slide-left-exit-active {
294
+ .nut-popup-slide-left-exit-active, .nut-popup-slide-left-exit-done {
295
295
  animation-fill-mode: both;
296
296
  animation-name: popup-slide-left-exit;
297
297
  animation-duration: var(--nutui-popup-animation-duration, 0.3s);
@@ -33,7 +33,7 @@ var defaultProps = (0, _object_spread_props._)((0, _object_spread._)({}, _typing
33
33
  });
34
34
  var Progress = function Progress(props) {
35
35
  var rtl = (0, _index.useRtl)();
36
- var _ref = (0, _object_spread._)({}, defaultProps, props), className = _ref.className, style = _ref.style, percent = _ref.percent, background = _ref.background, color = _ref.color, strokeWidth = _ref.strokeWidth, showText = _ref.showText, animated = _ref.animated, children = _ref.children, lazy = _ref.lazy, delay = _ref.delay, showInfo = _ref.showInfo, borderRadius = _ref.borderRadius, fontSize = _ref.fontSize, activeColor = _ref.activeColor, backgroundColor = _ref.backgroundColor, active = _ref.active, activeMode = _ref.activeMode, duration = _ref.duration, ariaLabel = _ref.ariaLabel, onActiveEnd = _ref.onActiveEnd, rest = (0, _object_without_properties._)(_ref, [
36
+ var _ref = (0, _object_spread._)({}, defaultProps, props), className = _ref.className, style = _ref.style, percent = _ref.percent, background = _ref.background, color = _ref.color, strokeWidth = _ref.strokeWidth, showText = _ref.showText, animated = _ref.animated, children = _ref.children, lazy = _ref.lazy, delay = _ref.delay, showInfo = _ref.showInfo, borderRadius = _ref.borderRadius, fontSize = _ref.fontSize, activeColor = _ref.activeColor, backgroundColor = _ref.backgroundColor, active = _ref.active, activeMode = _ref.activeMode, duration = _ref.duration, onActiveEnd = _ref.onActiveEnd, rest = (0, _object_without_properties._)(_ref, [
37
37
  "className",
38
38
  "style",
39
39
  "percent",
@@ -53,7 +53,6 @@ var Progress = function Progress(props) {
53
53
  "active",
54
54
  "activeMode",
55
55
  "duration",
56
- "ariaLabel",
57
56
  "onActiveEnd"
58
57
  ]);
59
58
  var classPrefix = 'nut-progress';
@@ -220,8 +219,7 @@ var Progress = function Progress(props) {
220
219
  ref: progressRef,
221
220
  id: selector,
222
221
  className: (0, _classnames.default)(classPrefix, className),
223
- style: style,
224
- "aria-label": ariaLabel
222
+ style: style
225
223
  }, rest), /*#__PURE__*/ _react.default.createElement(_components.View, {
226
224
  className: "".concat(classPrefix, "-outer"),
227
225
  style: stylesOuter