shineout 3.6.3-beta.8 → 3.6.3-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
|
@@ -514,5 +514,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
514
514
|
// 此文件由脚本自动生成,请勿直接修改。
|
|
515
515
|
// This file was generated automatically by a script. Please do not modify it directly.
|
|
516
516
|
var _default = exports.default = {
|
|
517
|
-
version: '3.6.3-
|
|
517
|
+
version: '3.6.3-fix.1'
|
|
518
518
|
};
|
package/dist/shineout.js
CHANGED
|
@@ -12217,7 +12217,7 @@ var handleStyle = function handleStyle(style) {
|
|
|
12217
12217
|
};
|
|
12218
12218
|
/* harmony default export */ var jss_style_handleStyle = (handleStyle);
|
|
12219
12219
|
;// CONCATENATED MODULE: ../shineout-style/src/version.ts
|
|
12220
|
-
/* harmony default export */ var version = ('3.6.3-
|
|
12220
|
+
/* harmony default export */ var version = ('3.6.3-fix.1');
|
|
12221
12221
|
;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
|
|
12222
12222
|
|
|
12223
12223
|
|
|
@@ -34837,19 +34837,18 @@ function useInputAble(props) {
|
|
|
34837
34837
|
var render = useRender(syncValue);
|
|
34838
34838
|
var shouldUseState = delay || !control;
|
|
34839
34839
|
var value = shouldUseState ? stateValue : valuePo;
|
|
34840
|
-
(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.
|
|
34841
|
-
if (context.timer) {
|
|
34842
|
-
clearTimeout(context.timer);
|
|
34843
|
-
context.timer = null;
|
|
34844
|
-
}
|
|
34840
|
+
(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useLayoutEffect)(function () {
|
|
34845
34841
|
if (delay && control && props.value !== stateValue) {
|
|
34846
34842
|
changeStateValue(props.value);
|
|
34843
|
+
} else if (context.timer) {
|
|
34844
|
+
clearTimeout(context.timer);
|
|
34845
|
+
context.timer = null;
|
|
34847
34846
|
}
|
|
34848
34847
|
}, [props.value, delay, control]);
|
|
34849
34848
|
var forceDelayChange = use_persist_fn(function () {
|
|
34850
|
-
if (context.
|
|
34849
|
+
if (context.delayChange) context.delayChange();
|
|
34850
|
+
if (context.timer) {
|
|
34851
34851
|
clearTimeout(context.timer);
|
|
34852
|
-
context.delayChange();
|
|
34853
34852
|
context.timer = null;
|
|
34854
34853
|
context.delayChange = null;
|
|
34855
34854
|
}
|
|
@@ -69862,7 +69861,7 @@ var upload_interface = __webpack_require__(8821);
|
|
|
69862
69861
|
|
|
69863
69862
|
|
|
69864
69863
|
/* harmony default export */ var src_0 = ({
|
|
69865
|
-
version: '3.6.3-
|
|
69864
|
+
version: '3.6.3-fix.1'
|
|
69866
69865
|
});
|
|
69867
69866
|
}();
|
|
69868
69867
|
/******/ return __webpack_exports__;
|