shineout 3.2.6-beta.1 → 3.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/index.js +1 -1
- package/dist/shineout.js +6 -3
- package/dist/shineout.js.map +1 -1
- package/dist/shineout.min.js +1 -1
- package/dist/shineout.min.js.map +1 -1
- package/esm/index.js +1 -1
- package/package.json +5 -5
package/cjs/index.js
CHANGED
|
@@ -476,5 +476,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
476
476
|
// 此文件由脚本自动生成,请勿直接修改。
|
|
477
477
|
// This file was generated automatically by a script. Please do not modify it directly.
|
|
478
478
|
var _default = exports.default = {
|
|
479
|
-
version: '3.2.6
|
|
479
|
+
version: '3.2.6'
|
|
480
480
|
};
|
package/dist/shineout.js
CHANGED
|
@@ -11960,7 +11960,7 @@ var handleStyle = function handleStyle(style) {
|
|
|
11960
11960
|
};
|
|
11961
11961
|
/* harmony default export */ var jss_style_handleStyle = (handleStyle);
|
|
11962
11962
|
;// CONCATENATED MODULE: ../shineout-style/src/version.ts
|
|
11963
|
-
/* harmony default export */ var version = ('3.2.6
|
|
11963
|
+
/* harmony default export */ var version = ('3.2.6');
|
|
11964
11964
|
;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
|
|
11965
11965
|
|
|
11966
11966
|
|
|
@@ -50673,6 +50673,9 @@ var usePagination = function usePagination(props) {
|
|
|
50673
50673
|
(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
|
|
50674
50674
|
if (pageSizeProp !== pageSize) setPageSize(pageSizeProp);
|
|
50675
50675
|
}, [pageSizeProp]);
|
|
50676
|
+
(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
|
|
50677
|
+
if (currentProp !== undefined && currentProp !== current) setCurrent(currentProp);
|
|
50678
|
+
}, [currentProp]);
|
|
50676
50679
|
var handleChange = usePersistFn(function (c, size) {
|
|
50677
50680
|
if (c === current && size === undefined) return;
|
|
50678
50681
|
setCurrent(c);
|
|
@@ -50692,7 +50695,7 @@ var usePagination = function usePagination(props) {
|
|
|
50692
50695
|
return objectSpread2_default()({}, mergedEventHandlers);
|
|
50693
50696
|
};
|
|
50694
50697
|
return {
|
|
50695
|
-
current:
|
|
50698
|
+
current: current,
|
|
50696
50699
|
pageSize: pageSize,
|
|
50697
50700
|
total: total,
|
|
50698
50701
|
onChange: handleChange,
|
|
@@ -63121,7 +63124,7 @@ var upload_interface = __webpack_require__(4412);
|
|
|
63121
63124
|
|
|
63122
63125
|
|
|
63123
63126
|
/* harmony default export */ var src_0 = ({
|
|
63124
|
-
version: '3.2.6
|
|
63127
|
+
version: '3.2.6'
|
|
63125
63128
|
});
|
|
63126
63129
|
}();
|
|
63127
63130
|
/******/ return __webpack_exports__;
|