shineout 3.7.8-beta.8 → 3.7.8-beta.9

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
@@ -522,5 +522,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
522
522
  // 此文件由脚本自动生成,请勿直接修改。
523
523
  // This file was generated automatically by a script. Please do not modify it directly.
524
524
  var _default = exports.default = {
525
- version: '3.7.8-beta.8'
525
+ version: '3.7.8-beta.9'
526
526
  };
package/dist/shineout.js CHANGED
@@ -12234,7 +12234,7 @@ var handleStyle = function handleStyle(style) {
12234
12234
  };
12235
12235
  /* harmony default export */ var jss_style_handleStyle = (handleStyle);
12236
12236
  ;// CONCATENATED MODULE: ../shineout-style/src/version.ts
12237
- /* harmony default export */ var version = ('3.7.8-beta.8');
12237
+ /* harmony default export */ var version = ('3.7.8-beta.9');
12238
12238
  ;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
12239
12239
 
12240
12240
 
@@ -31408,7 +31408,9 @@ var usePositionStyle = function usePositionStyle(config) {
31408
31408
  }
31409
31409
 
31410
31410
  // 当父元素的滚动容器滚动时,判断是否需要更新弹出层位置,包括是否隐藏弹出层(通过hideStyle隐藏,不是show状态)
31411
- context.prevParentPosition = parentElNewPosition;
31411
+ if (show) {
31412
+ context.prevParentPosition = parentElNewPosition;
31413
+ }
31412
31414
  });
31413
31415
  (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(updateStyle, [show, position, absolute, updateKey, fixedWidth, parentElNewPosition, popupElSize]);
31414
31416
  return {
@@ -55393,7 +55395,8 @@ var VirtualNode = function VirtualNode(props) {
55393
55395
  className: rootClass,
55394
55396
  dir: config.direction,
55395
55397
  style: {
55396
- paddingLeft: level * indent
55398
+ paddingLeft: level * indent,
55399
+ height: props.lineHeight
55397
55400
  },
55398
55401
  children: [$indents, /*#__PURE__*/(0,jsx_runtime.jsx)(tree_content, {
55399
55402
  virtual: true,
@@ -55677,7 +55680,8 @@ var TreeVirtual = function TreeVirtual(props) {
55677
55680
  onNodeClick: onNodeClick,
55678
55681
  onToggle: onToggle,
55679
55682
  onChange: onChange,
55680
- size: datum.size
55683
+ size: datum.size,
55684
+ lineHeight: lineHeight
55681
55685
  }, id);
55682
55686
  };
55683
55687
  return /*#__PURE__*/(0,jsx_runtime.jsx)(virtual_scroll_list, {
@@ -71859,7 +71863,7 @@ var upload_interface = __webpack_require__(8821);
71859
71863
 
71860
71864
 
71861
71865
  /* harmony default export */ var src_0 = ({
71862
- version: '3.7.8-beta.8'
71866
+ version: '3.7.8-beta.9'
71863
71867
  });
71864
71868
  }();
71865
71869
  /******/ return __webpack_exports__;