shineout 3.3.7-beta.5 → 3.3.7-beta.6

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.7-beta.5'
479
+ version: '3.3.7-beta.6'
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.7-beta.5');
11971
+ /* harmony default export */ var version = ('3.3.7-beta.6');
11972
11972
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
11973
11973
 
11974
11974
 
@@ -55400,6 +55400,7 @@ var useTableLayout = function useTableLayout(props) {
55400
55400
  return;
55401
55401
  }
55402
55402
  context.clientWidth = scrollEl.clientWidth;
55403
+ if (scrollEl.clientHeight === 0) return;
55403
55404
  var overHeight = scrollEl.scrollHeight > scrollEl.clientHeight;
55404
55405
  var overWidth = scrollEl.scrollWidth > context.clientWidth;
55405
55406
  var newScrollBarWidth = overHeight ? scrollEl.offsetWidth - scrollEl.clientWidth : 0;
@@ -57712,7 +57713,7 @@ var emptyRef = {
57712
57713
  css: sticky === null || sticky === void 0 ? void 0 : sticky.css,
57713
57714
  parent: tableRef === null || tableRef === void 0 ? void 0 : tableRef.current
57714
57715
  };
57715
- var isRenderBaseTable = !virtual && !isScrollY && !props.sticky && ((_props$data3 = props.data) === null || _props$data3 === void 0 ? void 0 : _props$data3.length) && !((_props$style = props.style) !== null && _props$style !== void 0 && _props$style.height) && !props.height;
57716
+ var isRenderBaseTable = !isScrollY && !props.sticky && ((_props$data3 = props.data) === null || _props$data3 === void 0 ? void 0 : _props$data3.length) && !((_props$style = props.style) !== null && _props$style !== void 0 && _props$style.height) && !props.height;
57716
57717
  var headWrapperClass = classnames_default()(tableClasses === null || tableClasses === void 0 ? void 0 : tableClasses.headWrapper, isScrollY && scrollBarWidth && (tableClasses === null || tableClasses === void 0 ? void 0 : tableClasses.scrollY));
57717
57718
  var footWrapperClass = classnames_default()(tableClasses === null || tableClasses === void 0 ? void 0 : tableClasses.footWrapper, isScrollY && scrollBarWidth && (tableClasses === null || tableClasses === void 0 ? void 0 : tableClasses.scrollY));
57718
57719
  if (isRenderBaseTable) {
@@ -63977,7 +63978,7 @@ var upload_interface = __webpack_require__(8821);
63977
63978
 
63978
63979
 
63979
63980
  /* harmony default export */ var src_0 = ({
63980
- version: '3.3.7-beta.5'
63981
+ version: '3.3.7-beta.6'
63981
63982
  });
63982
63983
  }();
63983
63984
  /******/ return __webpack_exports__;