shineout 3.6.5 → 3.6.6-beta.2
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 +7 -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.
|
|
517
|
+
version: '3.6.6-beta.2'
|
|
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.
|
|
12220
|
+
/* harmony default export */ var version = ('3.6.6-beta.2');
|
|
12221
12221
|
;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
|
|
12222
12222
|
|
|
12223
12223
|
|
|
@@ -21762,9 +21762,6 @@ var modalStyle = objectSpread2_default()(objectSpread2_default()({
|
|
|
21762
21762
|
height: '100vh',
|
|
21763
21763
|
width: '100vw',
|
|
21764
21764
|
overflow: 'auto'
|
|
21765
|
-
},
|
|
21766
|
-
'& $body': {
|
|
21767
|
-
minHeight: 'auto'
|
|
21768
21765
|
}
|
|
21769
21766
|
},
|
|
21770
21767
|
wrapperZoom: {
|
|
@@ -53581,7 +53578,7 @@ var NodeContent = function NodeContent(props) {
|
|
|
53581
53578
|
var handleNodeCheck = function handleNodeCheck(_, checked) {
|
|
53582
53579
|
set(id, checked ? 1 : 0);
|
|
53583
53580
|
if (onChange) {
|
|
53584
|
-
onChange(getValue());
|
|
53581
|
+
onChange(getValue(), id);
|
|
53585
53582
|
}
|
|
53586
53583
|
};
|
|
53587
53584
|
var checked = getChecked(id);
|
|
@@ -63819,7 +63816,8 @@ var TabsPanel = function TabsPanel(props) {
|
|
|
63819
63816
|
active = _useTabsContext.active,
|
|
63820
63817
|
lazy = _useTabsContext.lazy,
|
|
63821
63818
|
setTabs = _useTabsContext.setTabs,
|
|
63822
|
-
color = _useTabsContext.color
|
|
63819
|
+
color = _useTabsContext.color,
|
|
63820
|
+
shape = _useTabsContext.shape;
|
|
63823
63821
|
var isActive = active === id;
|
|
63824
63822
|
var keekAlive = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)(false);
|
|
63825
63823
|
(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useLayoutEffect)(function () {
|
|
@@ -63828,7 +63826,7 @@ var TabsPanel = function TabsPanel(props) {
|
|
|
63828
63826
|
tab: tab,
|
|
63829
63827
|
disabled: props.disabled,
|
|
63830
63828
|
jssStyle: jssStyle,
|
|
63831
|
-
background: background,
|
|
63829
|
+
background: shape !== 'button' && shape !== 'fill' ? background : undefined,
|
|
63832
63830
|
color: props.color || (active === id ? color : undefined)
|
|
63833
63831
|
};
|
|
63834
63832
|
setTabs(function (prev) {
|
|
@@ -63857,7 +63855,7 @@ var TabsPanel = function TabsPanel(props) {
|
|
|
63857
63855
|
});
|
|
63858
63856
|
});
|
|
63859
63857
|
};
|
|
63860
|
-
}, [id, tab, color, active, props.disabled, props.jssStyle]);
|
|
63858
|
+
}, [id, tab, color, active, shape, props.disabled, props.jssStyle]);
|
|
63861
63859
|
if (!isActive && lazy && !keekAlive.current) {
|
|
63862
63860
|
return null;
|
|
63863
63861
|
}
|
|
@@ -70073,7 +70071,7 @@ var upload_interface = __webpack_require__(8821);
|
|
|
70073
70071
|
|
|
70074
70072
|
|
|
70075
70073
|
/* harmony default export */ var src_0 = ({
|
|
70076
|
-
version: '3.6.
|
|
70074
|
+
version: '3.6.6-beta.2'
|
|
70077
70075
|
});
|
|
70078
70076
|
}();
|
|
70079
70077
|
/******/ return __webpack_exports__;
|