shineout 3.4.6-beta.3 → 3.4.6-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
|
@@ -492,5 +492,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
492
492
|
// 此文件由脚本自动生成,请勿直接修改。
|
|
493
493
|
// This file was generated automatically by a script. Please do not modify it directly.
|
|
494
494
|
var _default = exports.default = {
|
|
495
|
-
version: '3.4.6-
|
|
495
|
+
version: '3.4.6-fix.1'
|
|
496
496
|
};
|
package/dist/shineout.js
CHANGED
|
@@ -11984,7 +11984,7 @@ var handleStyle = function handleStyle(style) {
|
|
|
11984
11984
|
};
|
|
11985
11985
|
/* harmony default export */ var jss_style_handleStyle = (handleStyle);
|
|
11986
11986
|
;// CONCATENATED MODULE: ../shineout-style/src/version.ts
|
|
11987
|
-
/* harmony default export */ var version = ('3.4.6-
|
|
11987
|
+
/* harmony default export */ var version = ('3.4.6-fix.1');
|
|
11988
11988
|
;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
|
|
11989
11989
|
|
|
11990
11990
|
|
|
@@ -32565,19 +32565,18 @@ function useInputAble(props) {
|
|
|
32565
32565
|
var render = useRender(syncValue);
|
|
32566
32566
|
var shouldUseState = delay || !control;
|
|
32567
32567
|
var value = shouldUseState ? stateValue : valuePo;
|
|
32568
|
-
(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.
|
|
32569
|
-
if (context.timer) {
|
|
32570
|
-
clearTimeout(context.timer);
|
|
32571
|
-
context.timer = null;
|
|
32572
|
-
}
|
|
32568
|
+
(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useLayoutEffect)(function () {
|
|
32573
32569
|
if (delay && control && props.value !== stateValue) {
|
|
32574
32570
|
changeStateValue(props.value);
|
|
32571
|
+
} else if (context.timer) {
|
|
32572
|
+
clearTimeout(context.timer);
|
|
32573
|
+
context.timer = null;
|
|
32575
32574
|
}
|
|
32576
32575
|
}, [props.value, delay, control]);
|
|
32577
32576
|
var forceDelayChange = use_persist_fn(function () {
|
|
32578
|
-
if (context.
|
|
32577
|
+
if (context.delayChange) context.delayChange();
|
|
32578
|
+
if (context.timer) {
|
|
32579
32579
|
clearTimeout(context.timer);
|
|
32580
|
-
context.delayChange();
|
|
32581
32580
|
context.timer = null;
|
|
32582
32581
|
context.delayChange = null;
|
|
32583
32582
|
}
|
|
@@ -65422,7 +65421,7 @@ var upload_interface = __webpack_require__(8821);
|
|
|
65422
65421
|
|
|
65423
65422
|
|
|
65424
65423
|
/* harmony default export */ var src_0 = ({
|
|
65425
|
-
version: '3.4.6-
|
|
65424
|
+
version: '3.4.6-fix.1'
|
|
65426
65425
|
});
|
|
65427
65426
|
}();
|
|
65428
65427
|
/******/ return __webpack_exports__;
|