shineout 3.6.1-beta.7 → 3.6.1-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 +10 -11
- 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.1-
|
|
517
|
+
version: '3.6.1-fix.1'
|
|
518
518
|
};
|
package/dist/shineout.js
CHANGED
|
@@ -12139,7 +12139,7 @@ var handleStyle = function handleStyle(style) {
|
|
|
12139
12139
|
};
|
|
12140
12140
|
/* harmony default export */ var jss_style_handleStyle = (handleStyle);
|
|
12141
12141
|
;// CONCATENATED MODULE: ../shineout-style/src/version.ts
|
|
12142
|
-
/* harmony default export */ var version = ('3.6.1-
|
|
12142
|
+
/* harmony default export */ var version = ('3.6.1-fix.1');
|
|
12143
12143
|
;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
|
|
12144
12144
|
|
|
12145
12145
|
|
|
@@ -15111,7 +15111,7 @@ var treeTokens = {
|
|
|
15111
15111
|
treeContentHoverBackgroundColor: 'Neutral-fill-2',
|
|
15112
15112
|
treeContentHoverFontColor: 'Neutral-text-5',
|
|
15113
15113
|
treeContentActiveBackgroundColor: 'Brand-1',
|
|
15114
|
-
treeContentActiveFontColor: 'Brand-
|
|
15114
|
+
treeContentActiveFontColor: 'Brand-6',
|
|
15115
15115
|
treeContentActiveBorderRadius: 'Radius-2',
|
|
15116
15116
|
treeContentDisabledBackgroundColor: 'Transprent',
|
|
15117
15117
|
treeContentDisabledFontColor: 'Neutral-text-5',
|
|
@@ -33500,7 +33500,7 @@ var Card = function Card(props) {
|
|
|
33500
33500
|
collapsed: realCollapsed,
|
|
33501
33501
|
collapsible: collapsible,
|
|
33502
33502
|
onCollapse: handleCollapsed,
|
|
33503
|
-
handleDragMouseDown: moveInfo.handleMouseDown
|
|
33503
|
+
handleDragMouseDown: props.moveable ? moveInfo.handleMouseDown : undefined
|
|
33504
33504
|
};
|
|
33505
33505
|
}, [realCollapsed, collapsible]);
|
|
33506
33506
|
var alwaysShowShadow = props.shadow && props.shadow !== 'hover';
|
|
@@ -34706,19 +34706,18 @@ function useInputAble(props) {
|
|
|
34706
34706
|
var render = useRender(syncValue);
|
|
34707
34707
|
var shouldUseState = delay || !control;
|
|
34708
34708
|
var value = shouldUseState ? stateValue : valuePo;
|
|
34709
|
-
(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.
|
|
34710
|
-
if (context.timer) {
|
|
34711
|
-
clearTimeout(context.timer);
|
|
34712
|
-
context.timer = null;
|
|
34713
|
-
}
|
|
34709
|
+
(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useLayoutEffect)(function () {
|
|
34714
34710
|
if (delay && control && props.value !== stateValue) {
|
|
34715
34711
|
changeStateValue(props.value);
|
|
34712
|
+
} else if (context.timer) {
|
|
34713
|
+
clearTimeout(context.timer);
|
|
34714
|
+
context.timer = null;
|
|
34716
34715
|
}
|
|
34717
34716
|
}, [props.value, delay, control]);
|
|
34718
34717
|
var forceDelayChange = use_persist_fn(function () {
|
|
34719
|
-
if (context.
|
|
34718
|
+
if (context.delayChange) context.delayChange();
|
|
34719
|
+
if (context.timer) {
|
|
34720
34720
|
clearTimeout(context.timer);
|
|
34721
|
-
context.delayChange();
|
|
34722
34721
|
context.timer = null;
|
|
34723
34722
|
context.delayChange = null;
|
|
34724
34723
|
}
|
|
@@ -69696,7 +69695,7 @@ var upload_interface = __webpack_require__(8821);
|
|
|
69696
69695
|
|
|
69697
69696
|
|
|
69698
69697
|
/* harmony default export */ var src_0 = ({
|
|
69699
|
-
version: '3.6.1-
|
|
69698
|
+
version: '3.6.1-fix.1'
|
|
69700
69699
|
});
|
|
69701
69700
|
}();
|
|
69702
69701
|
/******/ return __webpack_exports__;
|