shineout 3.7.3-beta.8 → 3.7.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
|
@@ -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.7.3-
|
|
525
|
+
version: '3.7.3-fix.1'
|
|
526
526
|
};
|
package/dist/shineout.js
CHANGED
|
@@ -12234,7 +12234,7 @@ var handleStyle = function handleStyle(style) {
|
|
|
12234
12234
|
};
|
|
12235
12235
|
/* harmony default export */ var jss_style_handleStyle = (handleStyle);
|
|
12236
12236
|
;// CONCATENATED MODULE: ../shineout-style/src/version.ts
|
|
12237
|
-
/* harmony default export */ var version = ('3.7.3-
|
|
12237
|
+
/* harmony default export */ var version = ('3.7.3-fix.1');
|
|
12238
12238
|
;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
|
|
12239
12239
|
|
|
12240
12240
|
|
|
@@ -35525,19 +35525,18 @@ function useInputAble(props) {
|
|
|
35525
35525
|
var render = useRender(syncValue);
|
|
35526
35526
|
var shouldUseState = delay || !control;
|
|
35527
35527
|
var value = shouldUseState ? stateValue : valuePo;
|
|
35528
|
-
(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.
|
|
35529
|
-
if (context.timer) {
|
|
35530
|
-
clearTimeout(context.timer);
|
|
35531
|
-
context.timer = null;
|
|
35532
|
-
}
|
|
35528
|
+
(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useLayoutEffect)(function () {
|
|
35533
35529
|
if (delay && control && props.value !== stateValue) {
|
|
35534
35530
|
changeStateValue(props.value);
|
|
35531
|
+
} else if (context.timer) {
|
|
35532
|
+
clearTimeout(context.timer);
|
|
35533
|
+
context.timer = null;
|
|
35535
35534
|
}
|
|
35536
35535
|
}, [props.value, delay, control]);
|
|
35537
35536
|
var forceDelayChange = use_persist_fn(function () {
|
|
35538
|
-
if (context.
|
|
35537
|
+
if (context.delayChange) context.delayChange();
|
|
35538
|
+
if (context.timer) {
|
|
35539
35539
|
clearTimeout(context.timer);
|
|
35540
|
-
context.delayChange();
|
|
35541
35540
|
context.timer = null;
|
|
35542
35541
|
context.delayChange = null;
|
|
35543
35542
|
}
|
|
@@ -71615,7 +71614,7 @@ var upload_interface = __webpack_require__(8821);
|
|
|
71615
71614
|
|
|
71616
71615
|
|
|
71617
71616
|
/* harmony default export */ var src_0 = ({
|
|
71618
|
-
version: '3.7.3-
|
|
71617
|
+
version: '3.7.3-fix.1'
|
|
71619
71618
|
});
|
|
71620
71619
|
}();
|
|
71621
71620
|
/******/ return __webpack_exports__;
|