shineout 3.8.10-beta.9 → 3.8.10
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.10
|
|
525
|
+
version: '3.8.10'
|
|
526
526
|
};
|
package/dist/shineout.js
CHANGED
|
@@ -12398,7 +12398,7 @@ var handleStyle = function handleStyle(style) {
|
|
|
12398
12398
|
};
|
|
12399
12399
|
/* harmony default export */ var jss_style_handleStyle = (handleStyle);
|
|
12400
12400
|
;// CONCATENATED MODULE: ../shineout-style/src/version.ts
|
|
12401
|
-
/* harmony default export */ var version = ('3.8.10
|
|
12401
|
+
/* harmony default export */ var version = ('3.8.10');
|
|
12402
12402
|
;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
|
|
12403
12403
|
|
|
12404
12404
|
|
|
@@ -36399,19 +36399,18 @@ function useInputAble(props) {
|
|
|
36399
36399
|
var render = useRender(syncValue);
|
|
36400
36400
|
var shouldUseState = delay || !control;
|
|
36401
36401
|
var value = shouldUseState ? stateValue : valuePo;
|
|
36402
|
-
(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.
|
|
36403
|
-
if (context.timer) {
|
|
36404
|
-
clearTimeout(context.timer);
|
|
36405
|
-
context.timer = null;
|
|
36406
|
-
}
|
|
36402
|
+
(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useLayoutEffect)(function () {
|
|
36407
36403
|
if (delay && control && props.value !== stateValue) {
|
|
36408
36404
|
changeStateValue(props.value);
|
|
36405
|
+
} else if (context.timer) {
|
|
36406
|
+
clearTimeout(context.timer);
|
|
36407
|
+
context.timer = null;
|
|
36409
36408
|
}
|
|
36410
36409
|
}, [props.value, delay, control]);
|
|
36411
36410
|
var forceDelayChange = use_persist_fn(function () {
|
|
36412
|
-
if (context.
|
|
36411
|
+
if (context.delayChange) context.delayChange();
|
|
36412
|
+
if (context.timer) {
|
|
36413
36413
|
clearTimeout(context.timer);
|
|
36414
|
-
context.delayChange();
|
|
36415
36414
|
context.timer = null;
|
|
36416
36415
|
context.delayChange = null;
|
|
36417
36416
|
}
|
|
@@ -73401,7 +73400,7 @@ var upload_interface = __webpack_require__(8821);
|
|
|
73401
73400
|
|
|
73402
73401
|
|
|
73403
73402
|
/* harmony default export */ var src_0 = ({
|
|
73404
|
-
version: '3.8.10
|
|
73403
|
+
version: '3.8.10'
|
|
73405
73404
|
});
|
|
73406
73405
|
}();
|
|
73407
73406
|
/******/ return __webpack_exports__;
|