shineout 3.7.6-beta.3 → 3.7.6-beta.4
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 +1 -1
- package/dist/shineout.js +8 -3
- package/dist/shineout.js.map +1 -1
- package/dist/shineout.min.js +1 -1
- package/dist/shineout.min.js.map +1 -1
- package/esm/index.js +1 -1
- package/package.json +5 -5
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.6-beta.
|
|
525
|
+
version: '3.7.6-beta.4'
|
|
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.6-beta.
|
|
12237
|
+
/* harmony default export */ var version = ('3.7.6-beta.4');
|
|
12238
12238
|
;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
|
|
12239
12239
|
|
|
12240
12240
|
|
|
@@ -32381,7 +32381,7 @@ var AvatarGroup = function AvatarGroup(props) {
|
|
|
32381
32381
|
children: childrenHidden
|
|
32382
32382
|
})
|
|
32383
32383
|
}))]
|
|
32384
|
-
}));
|
|
32384
|
+
}, "more-avatar"));
|
|
32385
32385
|
}
|
|
32386
32386
|
return /*#__PURE__*/(0,jsx_runtime.jsx)(AvatarProvider, {
|
|
32387
32387
|
shape: shape,
|
|
@@ -39997,6 +39997,7 @@ var VirtualList = function VirtualList(props) {
|
|
|
39997
39997
|
className = props.className,
|
|
39998
39998
|
lineHeight = props.lineHeight,
|
|
39999
39999
|
height = props.height,
|
|
40000
|
+
keepScrollTop = props.keepScrollTop,
|
|
40000
40001
|
keepScrollHeight = props.keepScrollHeight,
|
|
40001
40002
|
renderItem = props.renderItem,
|
|
40002
40003
|
customRenderItem = props.customRenderItem,
|
|
@@ -40193,6 +40194,7 @@ var VirtualList = function VirtualList(props) {
|
|
|
40193
40194
|
}, [startIndex]);
|
|
40194
40195
|
(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useLayoutEffect)(function () {
|
|
40195
40196
|
if (keepScrollHeight) return;
|
|
40197
|
+
if (keepScrollTop) return;
|
|
40196
40198
|
// 数据变化的时候清空掉 preIndex, 如果之前有缓存的index, setRowHeight 会有问题
|
|
40197
40199
|
setTop(0);
|
|
40198
40200
|
setStartIndex(0);
|
|
@@ -54288,6 +54290,7 @@ var list_List = function List(props) {
|
|
|
54288
54290
|
lineHeightProp = props.lineHeight,
|
|
54289
54291
|
threshold = props.threshold,
|
|
54290
54292
|
controlType = props.controlType,
|
|
54293
|
+
keepScrollTop = props.keepScrollTop,
|
|
54291
54294
|
hideCreateOption = props.hideCreateOption,
|
|
54292
54295
|
optionListRef = props.optionListRef,
|
|
54293
54296
|
isAnimationFinish = props.isAnimationFinish,
|
|
@@ -54463,6 +54466,7 @@ var list_List = function List(props) {
|
|
|
54463
54466
|
dynamicVirtual: dynamicVirtual,
|
|
54464
54467
|
tagClassName: styles.virtualList,
|
|
54465
54468
|
height: height,
|
|
54469
|
+
keepScrollTop: keepScrollTop,
|
|
54466
54470
|
onScroll: handleVirtualScroll,
|
|
54467
54471
|
lineHeight: lineHeight,
|
|
54468
54472
|
rowsInView: itemsInView,
|
|
@@ -56907,6 +56911,7 @@ function Select(props0) {
|
|
|
56907
56911
|
renderItem: renderItem,
|
|
56908
56912
|
controlType: controlType,
|
|
56909
56913
|
onLoadMore: onLoadMore,
|
|
56914
|
+
keepScrollTop: !!filterText ? false : true,
|
|
56910
56915
|
isAnimationFinish: isAnimationFinish,
|
|
56911
56916
|
threshold: threshold,
|
|
56912
56917
|
onControlTypeChange: setControlType,
|
|
@@ -71764,7 +71769,7 @@ var upload_interface = __webpack_require__(8821);
|
|
|
71764
71769
|
|
|
71765
71770
|
|
|
71766
71771
|
/* harmony default export */ var src_0 = ({
|
|
71767
|
-
version: '3.7.6-beta.
|
|
71772
|
+
version: '3.7.6-beta.4'
|
|
71768
71773
|
});
|
|
71769
71774
|
}();
|
|
71770
71775
|
/******/ return __webpack_exports__;
|