shineout 3.6.4-beta.8 → 3.6.4-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.4-
|
|
517
|
+
version: '3.6.4-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.4-
|
|
12220
|
+
/* harmony default export */ var version = ('3.6.4-fix.1');
|
|
12221
12221
|
;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
|
|
12222
12222
|
|
|
12223
12223
|
|
|
@@ -34916,19 +34916,18 @@ function useInputAble(props) {
|
|
|
34916
34916
|
var render = useRender(syncValue);
|
|
34917
34917
|
var shouldUseState = delay || !control;
|
|
34918
34918
|
var value = shouldUseState ? stateValue : valuePo;
|
|
34919
|
-
(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.
|
|
34920
|
-
if (context.timer) {
|
|
34921
|
-
clearTimeout(context.timer);
|
|
34922
|
-
context.timer = null;
|
|
34923
|
-
}
|
|
34919
|
+
(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useLayoutEffect)(function () {
|
|
34924
34920
|
if (delay && control && props.value !== stateValue) {
|
|
34925
34921
|
changeStateValue(props.value);
|
|
34922
|
+
} else if (context.timer) {
|
|
34923
|
+
clearTimeout(context.timer);
|
|
34924
|
+
context.timer = null;
|
|
34926
34925
|
}
|
|
34927
34926
|
}, [props.value, delay, control]);
|
|
34928
34927
|
var forceDelayChange = use_persist_fn(function () {
|
|
34929
|
-
if (context.
|
|
34928
|
+
if (context.delayChange) context.delayChange();
|
|
34929
|
+
if (context.timer) {
|
|
34930
34930
|
clearTimeout(context.timer);
|
|
34931
|
-
context.delayChange();
|
|
34932
34931
|
context.timer = null;
|
|
34933
34932
|
context.delayChange = null;
|
|
34934
34933
|
}
|
|
@@ -69975,7 +69974,7 @@ var upload_interface = __webpack_require__(8821);
|
|
|
69975
69974
|
|
|
69976
69975
|
|
|
69977
69976
|
/* harmony default export */ var src_0 = ({
|
|
69978
|
-
version: '3.6.4-
|
|
69977
|
+
version: '3.6.4-fix.1'
|
|
69979
69978
|
});
|
|
69980
69979
|
}();
|
|
69981
69980
|
/******/ return __webpack_exports__;
|