acud 1.0.6 → 1.0.9

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/dist/acud.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! acud v1.0.6 */
1
+ /*! acud v1.0.9 */
2
2
  (function webpackUniversalModuleDefinition(root, factory) {
3
3
  if(typeof exports === 'object' && typeof module === 'object')
4
4
  module.exports = factory(require("react"), require("react-dom"));
@@ -25423,7 +25423,8 @@ var Pagination = function Pagination(_a) {
25423
25423
  mini: isSmall
25424
25424
  }, 'rtl', direction === 'rtl'), className);
25425
25425
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_2__["createElement"](_rc_pagination__WEBPACK_IMPORTED_MODULE_7__["default"], Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({
25426
- showSizeChanger: showSizeChanger
25426
+ showSizeChanger: showSizeChanger,
25427
+ locale: _locale_zh_CN__WEBPACK_IMPORTED_MODULE_6__["default"]
25427
25428
  }, restProps, {
25428
25429
  prefixCls: prefixCls,
25429
25430
  selectPrefixCls: selectPrefixCls
@@ -25431,8 +25432,7 @@ var Pagination = function Pagination(_a) {
25431
25432
  className: extendedClassName,
25432
25433
  selectComponentClass: showSizeChanger ? _select__WEBPACK_IMPORTED_MODULE_8__["default"] : undefined,
25433
25434
  Option: Option,
25434
- showQuickJumper: showQuickJumper,
25435
- locale: _locale_zh_CN__WEBPACK_IMPORTED_MODULE_6__["default"]
25435
+ showQuickJumper: showQuickJumper
25436
25436
  }));
25437
25437
  };
25438
25438
 
@@ -25645,7 +25645,7 @@ var Options = function Options(_ref) {
25645
25645
  }, []);
25646
25646
  buildOptionText = react__WEBPACK_IMPORTED_MODULE_0___default.a.useCallback(function (value) {
25647
25647
  return "".concat(value, " ").concat(locale.items_per_page);
25648
- }, []);
25648
+ }, [locale]);
25649
25649
  var handleChangeSize = react__WEBPACK_IMPORTED_MODULE_0___default.a.useCallback(function (value) {
25650
25650
  changeSize(Number(value));
25651
25651
  }, [changeSize]);