shineout 3.8.4-beta.9 → 3.8.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
|
@@ -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.4-
|
|
525
|
+
version: '3.8.4-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.4-
|
|
12389
|
+
/* harmony default export */ var version = ('3.8.4-fix.1');
|
|
12390
12390
|
;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
|
|
12391
12391
|
|
|
12392
12392
|
|
|
@@ -36317,19 +36317,18 @@ function useInputAble(props) {
|
|
|
36317
36317
|
var render = useRender(syncValue);
|
|
36318
36318
|
var shouldUseState = delay || !control;
|
|
36319
36319
|
var value = shouldUseState ? stateValue : valuePo;
|
|
36320
|
-
(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.
|
|
36321
|
-
if (context.timer) {
|
|
36322
|
-
clearTimeout(context.timer);
|
|
36323
|
-
context.timer = null;
|
|
36324
|
-
}
|
|
36320
|
+
(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useLayoutEffect)(function () {
|
|
36325
36321
|
if (delay && control && props.value !== stateValue) {
|
|
36326
36322
|
changeStateValue(props.value);
|
|
36323
|
+
} else if (context.timer) {
|
|
36324
|
+
clearTimeout(context.timer);
|
|
36325
|
+
context.timer = null;
|
|
36327
36326
|
}
|
|
36328
36327
|
}, [props.value, delay, control]);
|
|
36329
36328
|
var forceDelayChange = use_persist_fn(function () {
|
|
36330
|
-
if (context.
|
|
36329
|
+
if (context.delayChange) context.delayChange();
|
|
36330
|
+
if (context.timer) {
|
|
36331
36331
|
clearTimeout(context.timer);
|
|
36332
|
-
context.delayChange();
|
|
36333
36332
|
context.timer = null;
|
|
36334
36333
|
context.delayChange = null;
|
|
36335
36334
|
}
|
|
@@ -73279,7 +73278,7 @@ var upload_interface = __webpack_require__(8821);
|
|
|
73279
73278
|
|
|
73280
73279
|
|
|
73281
73280
|
/* harmony default export */ var src_0 = ({
|
|
73282
|
-
version: '3.8.4-
|
|
73281
|
+
version: '3.8.4-fix.1'
|
|
73283
73282
|
});
|
|
73284
73283
|
}();
|
|
73285
73284
|
/******/ return __webpack_exports__;
|