shineout 3.1.16 → 3.1.17
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 +5 -5
- 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.1.
|
|
479
|
+
version: '3.1.17'
|
|
480
480
|
};
|
package/dist/shineout.js
CHANGED
|
@@ -11949,7 +11949,7 @@ var handleStyle = function handleStyle(style) {
|
|
|
11949
11949
|
};
|
|
11950
11950
|
/* harmony default export */ var jss_style_handleStyle = (handleStyle);
|
|
11951
11951
|
;// CONCATENATED MODULE: ../shineout-style/src/version.ts
|
|
11952
|
-
/* harmony default export */ var version = ('3.1.
|
|
11952
|
+
/* harmony default export */ var version = ('3.1.17');
|
|
11953
11953
|
;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
|
|
11954
11954
|
|
|
11955
11955
|
|
|
@@ -36005,8 +36005,8 @@ var result_Result = function Result(props) {
|
|
|
36005
36005
|
var handleResetMore = function handleResetMore() {
|
|
36006
36006
|
if (!compressed) return;
|
|
36007
36007
|
if (isCompressedBound()) return;
|
|
36008
|
-
setShouldResetMore(true);
|
|
36009
36008
|
setMore(-1);
|
|
36009
|
+
setShouldResetMore(true);
|
|
36010
36010
|
};
|
|
36011
36011
|
(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
|
|
36012
36012
|
if (!focus && mounted.current) {
|
|
@@ -36018,7 +36018,7 @@ var result_Result = function Result(props) {
|
|
|
36018
36018
|
mounted.current = true;
|
|
36019
36019
|
}, [focus]);
|
|
36020
36020
|
(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useLayoutEffect)(function () {
|
|
36021
|
-
|
|
36021
|
+
handleResetMore();
|
|
36022
36022
|
}, [valueProp, data]);
|
|
36023
36023
|
(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useLayoutEffect)(function () {
|
|
36024
36024
|
if (shouldResetMore && more === -1 && compressed && resultRef.current && (props.value || []).length) {
|
|
@@ -36031,7 +36031,7 @@ var result_Result = function Result(props) {
|
|
|
36031
36031
|
} else {
|
|
36032
36032
|
setShouldResetMore(false);
|
|
36033
36033
|
}
|
|
36034
|
-
} else {
|
|
36034
|
+
} else if (shouldResetMore) {
|
|
36035
36035
|
setShouldResetMore(false);
|
|
36036
36036
|
}
|
|
36037
36037
|
}, [shouldResetMore]);
|
|
@@ -62335,7 +62335,7 @@ var upload_interface = __webpack_require__(4412);
|
|
|
62335
62335
|
|
|
62336
62336
|
|
|
62337
62337
|
/* harmony default export */ var src_0 = ({
|
|
62338
|
-
version: '3.1.
|
|
62338
|
+
version: '3.1.17'
|
|
62339
62339
|
});
|
|
62340
62340
|
}();
|
|
62341
62341
|
/******/ return __webpack_exports__;
|