shineout 3.3.3-beta.4 → 3.3.3-beta.5

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 CHANGED
@@ -476,5 +476,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
476
476
  // 此文件由脚本自动生成,请勿直接修改。
477
477
  // This file was generated automatically by a script. Please do not modify it directly.
478
478
  var _default = exports.default = {
479
- version: '3.3.3-beta.4'
479
+ version: '3.3.3-beta.5'
480
480
  };
package/dist/shineout.js CHANGED
@@ -11968,7 +11968,7 @@ var handleStyle = function handleStyle(style) {
11968
11968
  };
11969
11969
  /* harmony default export */ var jss_style_handleStyle = (handleStyle);
11970
11970
  ;// CONCATENATED MODULE: ../shineout-style/src/version.ts
11971
- /* harmony default export */ var version = ('3.3.3-beta.4');
11971
+ /* harmony default export */ var version = ('3.3.3-beta.5');
11972
11972
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
11973
11973
 
11974
11974
 
@@ -19673,13 +19673,15 @@ var collapseWidth = src.menuCollapseWidth;
19673
19673
  var transitionFunc = 'ease-out';
19674
19674
  var menuStyle = {
19675
19675
  wrapper: {
19676
- height: '100%',
19677
19676
  width: '100%',
19678
19677
  backgroundColor: src.menuItemBackgroundColor,
19679
19678
  transition: "width ".concat(animationDuration, " ").concat(transitionFunc),
19680
19679
  color: src.menuFontColor,
19681
19680
  display: 'flex',
19682
- flexDirection: 'column'
19681
+ flexDirection: 'column',
19682
+ '&:not([data-soui-mode=horizontal])': {
19683
+ height: '100%'
19684
+ }
19683
19685
  },
19684
19686
  wrapperLight: {},
19685
19687
  wrapperDark: {
@@ -57858,6 +57860,11 @@ var Tab = function Tab(props, ref) {
57858
57860
  };
57859
57861
  var handleClick = function handleClick() {
57860
57862
  if (disabled) return;
57863
+ if (isLink(tab)) {
57864
+ if (tab.props.onClick && typeof tab.props.onClick === 'function') {
57865
+ tab.props.onClick();
57866
+ }
57867
+ }
57861
57868
  onChange === null || onChange === void 0 || onChange(id);
57862
57869
  };
57863
57870
  var renderCardTab = function renderCardTab() {
@@ -63654,7 +63661,7 @@ var upload_interface = __webpack_require__(8821);
63654
63661
 
63655
63662
 
63656
63663
  /* harmony default export */ var src_0 = ({
63657
- version: '3.3.3-beta.4'
63664
+ version: '3.3.3-beta.5'
63658
63665
  });
63659
63666
  }();
63660
63667
  /******/ return __webpack_exports__;