shineout 3.8.8-beta.6 → 3.8.8-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 +20 -20
- 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.8-
|
|
525
|
+
version: '3.8.8-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.8-
|
|
12389
|
+
/* harmony default export */ var version = ('3.8.8-fix.1');
|
|
12390
12390
|
;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
|
|
12391
12391
|
|
|
12392
12392
|
|
|
@@ -17395,8 +17395,11 @@ var useCarouselStyle = styled(carousel_carousel, 'carousel');
|
|
|
17395
17395
|
'&:hover': {
|
|
17396
17396
|
borderColor: token.focusBorderColor
|
|
17397
17397
|
}
|
|
17398
|
-
}), "".concat(name, "Error"), defineProperty_default()(defineProperty_default()({
|
|
17399
|
-
|
|
17398
|
+
}), "".concat(name, "Error"), defineProperty_default()(defineProperty_default()({
|
|
17399
|
+
'&&': {
|
|
17400
|
+
borderColor: token.errorBorderColor
|
|
17401
|
+
}
|
|
17402
|
+
}, "&:not($".concat(name, "Disabled)"), {
|
|
17400
17403
|
background: token.errorBackgroundColor,
|
|
17401
17404
|
'&:hover': {
|
|
17402
17405
|
borderColor: token.errorHoverBorderColor,
|
|
@@ -17409,19 +17412,17 @@ var useCarouselStyle = styled(carousel_carousel, 'carousel');
|
|
|
17409
17412
|
// '[data-soui-role="input-group-separate"]&': {
|
|
17410
17413
|
// boxShadow: 'none',
|
|
17411
17414
|
// }
|
|
17412
|
-
})), "".concat(name, "Disabled"), {
|
|
17415
|
+
})), "".concat(name, "Disabled"), defineProperty_default()(defineProperty_default()({
|
|
17413
17416
|
color: token.disabledFontColor,
|
|
17414
17417
|
backgroundColor: token.disabledBackgroundColor,
|
|
17415
17418
|
borderColor: token.disabledBorderColor,
|
|
17416
17419
|
boxShadow: 'none',
|
|
17417
|
-
cursor: 'not-allowed'
|
|
17418
|
-
|
|
17419
|
-
|
|
17420
|
-
|
|
17421
|
-
|
|
17422
|
-
|
|
17423
|
-
}
|
|
17424
|
-
}), defineProperty_default()(defineProperty_default()(_ref, "".concat(name, "Underline"), {
|
|
17420
|
+
cursor: 'not-allowed'
|
|
17421
|
+
}, "&:not($".concat(name, "Error):hover"), {
|
|
17422
|
+
borderColor: token.disabledBorderColor
|
|
17423
|
+
}), '& *', {
|
|
17424
|
+
cursor: 'not-allowed'
|
|
17425
|
+
})), defineProperty_default()(defineProperty_default()(_ref, "".concat(name, "Underline"), {
|
|
17425
17426
|
'&&': {
|
|
17426
17427
|
borderLeftColor: 'transparent',
|
|
17427
17428
|
borderRightColor: 'transparent',
|
|
@@ -36383,19 +36384,18 @@ function useInputAble(props) {
|
|
|
36383
36384
|
var render = useRender(syncValue);
|
|
36384
36385
|
var shouldUseState = delay || !control;
|
|
36385
36386
|
var value = shouldUseState ? stateValue : valuePo;
|
|
36386
|
-
(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.
|
|
36387
|
-
if (context.timer) {
|
|
36388
|
-
clearTimeout(context.timer);
|
|
36389
|
-
context.timer = null;
|
|
36390
|
-
}
|
|
36387
|
+
(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useLayoutEffect)(function () {
|
|
36391
36388
|
if (delay && control && props.value !== stateValue) {
|
|
36392
36389
|
changeStateValue(props.value);
|
|
36390
|
+
} else if (context.timer) {
|
|
36391
|
+
clearTimeout(context.timer);
|
|
36392
|
+
context.timer = null;
|
|
36393
36393
|
}
|
|
36394
36394
|
}, [props.value, delay, control]);
|
|
36395
36395
|
var forceDelayChange = use_persist_fn(function () {
|
|
36396
|
-
if (context.
|
|
36396
|
+
if (context.delayChange) context.delayChange();
|
|
36397
|
+
if (context.timer) {
|
|
36397
36398
|
clearTimeout(context.timer);
|
|
36398
|
-
context.delayChange();
|
|
36399
36399
|
context.timer = null;
|
|
36400
36400
|
context.delayChange = null;
|
|
36401
36401
|
}
|
|
@@ -73379,7 +73379,7 @@ var upload_interface = __webpack_require__(8821);
|
|
|
73379
73379
|
|
|
73380
73380
|
|
|
73381
73381
|
/* harmony default export */ var src_0 = ({
|
|
73382
|
-
version: '3.8.8-
|
|
73382
|
+
version: '3.8.8-fix.1'
|
|
73383
73383
|
});
|
|
73384
73384
|
}();
|
|
73385
73385
|
/******/ return __webpack_exports__;
|