shineout 3.6.0 → 3.6.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 +1 -1
- package/dist/shineout.js +32 -10
- 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
|
@@ -514,5 +514,5 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
|
514
514
|
// 此文件由脚本自动生成,请勿直接修改。
|
|
515
515
|
// This file was generated automatically by a script. Please do not modify it directly.
|
|
516
516
|
var _default = exports.default = {
|
|
517
|
-
version: '3.6.
|
|
517
|
+
version: '3.6.1-beta.1'
|
|
518
518
|
};
|
package/dist/shineout.js
CHANGED
|
@@ -12139,7 +12139,7 @@ var handleStyle = function handleStyle(style) {
|
|
|
12139
12139
|
};
|
|
12140
12140
|
/* harmony default export */ var jss_style_handleStyle = (handleStyle);
|
|
12141
12141
|
;// CONCATENATED MODULE: ../shineout-style/src/version.ts
|
|
12142
|
-
/* harmony default export */ var version = ('3.6.
|
|
12142
|
+
/* harmony default export */ var version = ('3.6.1-beta.1');
|
|
12143
12143
|
;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
|
|
12144
12144
|
|
|
12145
12145
|
|
|
@@ -16944,7 +16944,7 @@ var useCarouselStyle = styled(carousel_carousel, 'carousel');
|
|
|
16944
16944
|
borderRadius: 0,
|
|
16945
16945
|
boxShadow: 'none',
|
|
16946
16946
|
backgroundColor: 'transparent',
|
|
16947
|
-
|
|
16947
|
+
flex: 1,
|
|
16948
16948
|
minWidth: 0
|
|
16949
16949
|
},
|
|
16950
16950
|
'[data-soui-role="input-group"] [data-soui-input-border] + &': {
|
|
@@ -64789,6 +64789,7 @@ var TransferListHeader = function TransferListHeader(props) {
|
|
|
64789
64789
|
|
|
64790
64790
|
|
|
64791
64791
|
|
|
64792
|
+
|
|
64792
64793
|
var TransferList = function TransferList(props) {
|
|
64793
64794
|
var _jssStyle$transfer;
|
|
64794
64795
|
var jssStyle = props.jssStyle,
|
|
@@ -64834,13 +64835,34 @@ var TransferList = function TransferList(props) {
|
|
|
64834
64835
|
setAddonHeight = _useState2[1];
|
|
64835
64836
|
var listContainerRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)(null);
|
|
64836
64837
|
(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useLayoutEffect)(function () {
|
|
64837
|
-
if (!listContainerRef.current) return;
|
|
64838
|
-
var
|
|
64839
|
-
|
|
64840
|
-
|
|
64841
|
-
|
|
64842
|
-
|
|
64843
|
-
|
|
64838
|
+
if (!listContainerRef.current || !window.ResizeObserver) return;
|
|
64839
|
+
var resizeObserver = new ResizeObserver(function (entries) {
|
|
64840
|
+
var _iterator = createForOfIteratorHelper_default()(entries),
|
|
64841
|
+
_step;
|
|
64842
|
+
try {
|
|
64843
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
64844
|
+
var entry = _step.value;
|
|
64845
|
+
if (entry.target === listContainerRef.current) {
|
|
64846
|
+
var $list = listContainerRef.current.querySelector(".".concat(styles.list));
|
|
64847
|
+
var containerBottom = listContainerRef.current.getBoundingClientRect().bottom;
|
|
64848
|
+
var listBottom = ($list === null || $list === void 0 ? void 0 : $list.getBoundingClientRect().bottom) || containerBottom;
|
|
64849
|
+
if (containerBottom - listBottom > 1) {
|
|
64850
|
+
setAddonHeight(containerBottom - listBottom - 1);
|
|
64851
|
+
}
|
|
64852
|
+
}
|
|
64853
|
+
}
|
|
64854
|
+
} catch (err) {
|
|
64855
|
+
_iterator.e(err);
|
|
64856
|
+
} finally {
|
|
64857
|
+
_iterator.f();
|
|
64858
|
+
}
|
|
64859
|
+
});
|
|
64860
|
+
resizeObserver.observe(listContainerRef.current);
|
|
64861
|
+
return function () {
|
|
64862
|
+
if (!listContainerRef.current) return;
|
|
64863
|
+
resizeObserver.unobserve(listContainerRef.current);
|
|
64864
|
+
resizeObserver.disconnect();
|
|
64865
|
+
};
|
|
64844
64866
|
}, []);
|
|
64845
64867
|
var listHeight = listHeightProp + addonHeight;
|
|
64846
64868
|
var getLineHeight = function getLineHeight() {
|
|
@@ -69638,7 +69660,7 @@ var upload_interface = __webpack_require__(8821);
|
|
|
69638
69660
|
|
|
69639
69661
|
|
|
69640
69662
|
/* harmony default export */ var src_0 = ({
|
|
69641
|
-
version: '3.6.
|
|
69663
|
+
version: '3.6.1-beta.1'
|
|
69642
69664
|
});
|
|
69643
69665
|
}();
|
|
69644
69666
|
/******/ return __webpack_exports__;
|