shineout 3.5.4-beta.16 → 3.5.4-beta.17

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
@@ -507,5 +507,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
507
507
  // 此文件由脚本自动生成,请勿直接修改。
508
508
  // This file was generated automatically by a script. Please do not modify it directly.
509
509
  var _default = exports.default = {
510
- version: '3.5.4-beta.16'
510
+ version: '3.5.4-beta.17'
511
511
  };
package/dist/shineout.js CHANGED
@@ -12040,7 +12040,7 @@ var handleStyle = function handleStyle(style) {
12040
12040
  };
12041
12041
  /* harmony default export */ var jss_style_handleStyle = (handleStyle);
12042
12042
  ;// CONCATENATED MODULE: ../shineout-style/src/version.ts
12043
- /* harmony default export */ var version = ('3.5.4-beta.16');
12043
+ /* harmony default export */ var version = ('3.5.4-beta.17');
12044
12044
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
12045
12045
 
12046
12046
 
@@ -37306,7 +37306,7 @@ var Scroll = function Scroll(props) {
37306
37306
  defaultHeight = _props$defaultHeight === void 0 ? 0 : _props$defaultHeight;
37307
37307
  var _useResize = useResize({
37308
37308
  targetRef: containerRef,
37309
- timer: 0
37309
+ timer: 100
37310
37310
  }),
37311
37311
  width = _useResize.width,
37312
37312
  h = _useResize.height;
@@ -37321,7 +37321,7 @@ var Scroll = function Scroll(props) {
37321
37321
  var containerStyle = defineProperty_default()(defineProperty_default()({
37322
37322
  height: '100%',
37323
37323
  width: '100%',
37324
- display: 'inline-block',
37324
+ display: 'inline-flex',
37325
37325
  overflow: 'hidden',
37326
37326
  position: 'sticky'
37327
37327
  }, isRtl ? 'right' : 'left', 0), "top", 0);
@@ -37409,7 +37409,12 @@ var Scroll = function Scroll(props) {
37409
37409
  style: containerStyle,
37410
37410
  ref: containerRef,
37411
37411
  onScroll: handleInnerScroll,
37412
- children: props.children
37412
+ children: /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
37413
+ style: objectSpread2_default()({
37414
+ flexGrow: 1
37415
+ }, props.childrenStyle),
37416
+ children: props.children
37417
+ })
37413
37418
  })), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
37414
37419
  style: placeStyle,
37415
37420
  children: "\xA0"
@@ -37587,6 +37592,9 @@ var VirtualList = function VirtualList(props) {
37587
37592
  height: height,
37588
37593
  scrollWidth: 0,
37589
37594
  scrollHeight: scrollHeight,
37595
+ childrenStyle: {
37596
+ width: '100%'
37597
+ },
37590
37598
  wrapperRef: wrapperRef,
37591
37599
  onScroll: handleScroll,
37592
37600
  onMouseMove: handleMouseMove,
@@ -60178,12 +60186,7 @@ var Tr = function Tr(props) {
60178
60186
  onClick: props.onCellClick ? function () {
60179
60187
  return handleCellClick(data[i].data, i);
60180
60188
  } : undefined,
60181
- children: isRowSpanTd ? /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
60182
- style: {
60183
- height: 0
60184
- },
60185
- children: $tdContent
60186
- }) : $tdContent
60189
+ children: $tdContent
60187
60190
  }, col.key);
60188
60191
  tds.push(td);
60189
60192
  if (data[i].colSpan) skip = data[i].colSpan - 1;
@@ -67165,7 +67168,7 @@ var upload_interface = __webpack_require__(8821);
67165
67168
 
67166
67169
 
67167
67170
  /* harmony default export */ var src_0 = ({
67168
- version: '3.5.4-beta.16'
67171
+ version: '3.5.4-beta.17'
67169
67172
  });
67170
67173
  }();
67171
67174
  /******/ return __webpack_exports__;