shineout 3.5.0 → 3.5.1-beta.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 CHANGED
@@ -500,5 +500,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
500
500
  // 此文件由脚本自动生成,请勿直接修改。
501
501
  // This file was generated automatically by a script. Please do not modify it directly.
502
502
  var _default = exports.default = {
503
- version: '3.5.0'
503
+ version: '3.5.1-beta.1'
504
504
  };
package/dist/shineout.js CHANGED
@@ -12002,7 +12002,7 @@ var handleStyle = function handleStyle(style) {
12002
12002
  };
12003
12003
  /* harmony default export */ var jss_style_handleStyle = (handleStyle);
12004
12004
  ;// CONCATENATED MODULE: ../shineout-style/src/version.ts
12005
- /* harmony default export */ var version = ('3.5.0');
12005
+ /* harmony default export */ var version = ('3.5.1-beta.1');
12006
12006
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
12007
12007
 
12008
12008
 
@@ -38759,7 +38759,20 @@ var result_Result = function Result(props) {
38759
38759
  results: result,
38760
38760
  datas: datas
38761
38761
  };
38762
- }, [props.value, props.data]);
38762
+ }, [props.value,
38763
+ // 必需:控制选中的值
38764
+ props.data,
38765
+ // 必需:数据源
38766
+ separator,
38767
+ // 必需:影响值的分割
38768
+ valueProp,
38769
+ // 必需:影响值的处理
38770
+ renderResultContentProp,
38771
+ // 必需:影响渲染方式
38772
+ renderResultItem,
38773
+ // 必需:渲染每个选项的方法
38774
+ getDataByValues // 必需:根据值获取数据的方法
38775
+ ]);
38763
38776
  var result = renderMultipleResult.results;
38764
38777
  var moreNumber = getCompressedBound();
38765
38778
  var renderMultipleResultMore = /*#__PURE__*/(0,jsx_runtime.jsx)(result_more, {
@@ -57720,7 +57733,16 @@ var useTableLayout = function useTableLayout(props) {
57720
57733
  checkScroll();
57721
57734
  checkFloat();
57722
57735
  }, [colgroup]);
57723
- var tableWidth = isNaN(Number(props.width)) ? undefined : typeof props.width === 'number' ? props.width + deltaXSum : props.width;
57736
+ var tableWidth = props.width;
57737
+ if (typeof props.width === 'string' && props.width.endsWith('%')) {
57738
+ tableWidth = props.width;
57739
+ } else if (typeof props.width === 'number') {
57740
+ tableWidth = props.width + deltaXSum;
57741
+ } else if (!isNaN(Number(props.width))) {
57742
+ tableWidth = props.width;
57743
+ } else {
57744
+ tableWidth = undefined;
57745
+ }
57724
57746
  return {
57725
57747
  isScrollX: !!isScrollX,
57726
57748
  isScrollY: !!isScrollY,
@@ -60981,13 +61003,15 @@ var Tabs = function Tabs(props) {
60981
61003
  setTimeout(function () {
60982
61004
  setPanelStyle({
60983
61005
  height: 0,
60984
- flex: autoFill ? 0 : 'none'
61006
+ flex: autoFill ? 0 : 'none',
61007
+ overflow: 'hidden'
60985
61008
  });
60986
61009
  }, 10);
60987
61010
  } else {
60988
61011
  if (panelHeight.current === 0) return;
60989
61012
  setPanelStyle({
60990
- height: panelHeight.current
61013
+ height: panelHeight.current,
61014
+ overflow: 'hidden'
60991
61015
  });
60992
61016
  setTimeout(function () {
60993
61017
  setPanelStyle({
@@ -66294,7 +66318,7 @@ var upload_interface = __webpack_require__(8821);
66294
66318
 
66295
66319
 
66296
66320
  /* harmony default export */ var src_0 = ({
66297
- version: '3.5.0'
66321
+ version: '3.5.1-beta.1'
66298
66322
  });
66299
66323
  }();
66300
66324
  /******/ return __webpack_exports__;