shineout 3.8.8-beta.7 → 3.8.8-fix.1
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 +8 -9
- 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
|
@@ -522,5 +522,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
522
522
|
// 此文件由脚本自动生成,请勿直接修改。
|
|
523
523
|
// This file was generated automatically by a script. Please do not modify it directly.
|
|
524
524
|
var _default = exports.default = {
|
|
525
|
-
version: '3.8.8-
|
|
525
|
+
version: '3.8.8-fix.1'
|
|
526
526
|
};
|
package/dist/shineout.js
CHANGED
|
@@ -12386,7 +12386,7 @@ var handleStyle = function handleStyle(style) {
|
|
|
12386
12386
|
};
|
|
12387
12387
|
/* harmony default export */ var jss_style_handleStyle = (handleStyle);
|
|
12388
12388
|
;// CONCATENATED MODULE: ../shineout-style/src/version.ts
|
|
12389
|
-
/* harmony default export */ var version = ('3.8.8-
|
|
12389
|
+
/* harmony default export */ var version = ('3.8.8-fix.1');
|
|
12390
12390
|
;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
|
|
12391
12391
|
|
|
12392
12392
|
|
|
@@ -36384,19 +36384,18 @@ function useInputAble(props) {
|
|
|
36384
36384
|
var render = useRender(syncValue);
|
|
36385
36385
|
var shouldUseState = delay || !control;
|
|
36386
36386
|
var value = shouldUseState ? stateValue : valuePo;
|
|
36387
|
-
(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.
|
|
36388
|
-
if (context.timer) {
|
|
36389
|
-
clearTimeout(context.timer);
|
|
36390
|
-
context.timer = null;
|
|
36391
|
-
}
|
|
36387
|
+
(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useLayoutEffect)(function () {
|
|
36392
36388
|
if (delay && control && props.value !== stateValue) {
|
|
36393
36389
|
changeStateValue(props.value);
|
|
36390
|
+
} else if (context.timer) {
|
|
36391
|
+
clearTimeout(context.timer);
|
|
36392
|
+
context.timer = null;
|
|
36394
36393
|
}
|
|
36395
36394
|
}, [props.value, delay, control]);
|
|
36396
36395
|
var forceDelayChange = use_persist_fn(function () {
|
|
36397
|
-
if (context.
|
|
36396
|
+
if (context.delayChange) context.delayChange();
|
|
36397
|
+
if (context.timer) {
|
|
36398
36398
|
clearTimeout(context.timer);
|
|
36399
|
-
context.delayChange();
|
|
36400
36399
|
context.timer = null;
|
|
36401
36400
|
context.delayChange = null;
|
|
36402
36401
|
}
|
|
@@ -73380,7 +73379,7 @@ var upload_interface = __webpack_require__(8821);
|
|
|
73380
73379
|
|
|
73381
73380
|
|
|
73382
73381
|
/* harmony default export */ var src_0 = ({
|
|
73383
|
-
version: '3.8.8-
|
|
73382
|
+
version: '3.8.8-fix.1'
|
|
73384
73383
|
});
|
|
73385
73384
|
}();
|
|
73386
73385
|
/******/ return __webpack_exports__;
|