shineout 3.8.6-beta.1 → 3.8.6-beta.3
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 +14 -9
- 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.8.6-beta.
|
|
525
|
+
version: '3.8.6-beta.3'
|
|
526
526
|
};
|
package/dist/shineout.js
CHANGED
|
@@ -12386,7 +12386,7 @@ var handleStyle = function handleStyle(style) {
|
|
|
12386
12386
|
};
|
|
12387
12387
|
/* harmony default export */ var jss_style_handleStyle = (handleStyle);
|
|
12388
12388
|
;// CONCATENATED MODULE: ../shineout-style/src/version.ts
|
|
12389
|
-
/* harmony default export */ var version = ('3.8.6-beta.
|
|
12389
|
+
/* harmony default export */ var version = ('3.8.6-beta.3');
|
|
12390
12390
|
;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
|
|
12391
12391
|
|
|
12392
12392
|
|
|
@@ -19271,9 +19271,9 @@ var dividerStyle = {
|
|
|
19271
19271
|
position: 'relative',
|
|
19272
19272
|
top: '50%',
|
|
19273
19273
|
width: '50%',
|
|
19274
|
-
|
|
19274
|
+
borderTopWidth: "".concat(src.dividerBorderWidth),
|
|
19275
|
+
borderTopStyle: 'solid',
|
|
19275
19276
|
borderTopColor: 'inherit',
|
|
19276
|
-
borderBottom: 0,
|
|
19277
19277
|
transform: 'translateY(50%)',
|
|
19278
19278
|
content: '""',
|
|
19279
19279
|
'$wrapperDashed&': {
|
|
@@ -31498,7 +31498,8 @@ var usePositionStyle = function usePositionStyle(config) {
|
|
|
31498
31498
|
scrollElRef = _ref.scrollElRef,
|
|
31499
31499
|
updateKey = _ref.updateKey,
|
|
31500
31500
|
adjust = _ref.adjust,
|
|
31501
|
-
offset = _ref.offset
|
|
31501
|
+
offset = _ref.offset,
|
|
31502
|
+
checkPosition = _ref.checkPosition;
|
|
31502
31503
|
// 初次渲染无样式的时候, 隐藏展示
|
|
31503
31504
|
var _useState = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useState)(hideStyle),
|
|
31504
31505
|
_useState2 = slicedToArray_default()(_useState, 2),
|
|
@@ -31524,7 +31525,7 @@ var usePositionStyle = function usePositionStyle(config) {
|
|
|
31524
31525
|
context = _React$useRef.current;
|
|
31525
31526
|
var parentElNewPosition = useCheckElementPosition(parentElRef, {
|
|
31526
31527
|
scrollContainer: scrollElRef === null || scrollElRef === void 0 ? void 0 : scrollElRef.current,
|
|
31527
|
-
enable: show && adjust
|
|
31528
|
+
enable: show && (adjust || checkPosition)
|
|
31528
31529
|
});
|
|
31529
31530
|
var parentElBorderWidth = useCheckElementBorderWidth(parentElRef, {
|
|
31530
31531
|
direction: 'horizontal',
|
|
@@ -32507,7 +32508,9 @@ var AbsoluteList = function AbsoluteList(props) {
|
|
|
32507
32508
|
_props$destroy = props.destroy,
|
|
32508
32509
|
destroy = _props$destroy === void 0 ? false : _props$destroy,
|
|
32509
32510
|
_props$lazy = props.lazy,
|
|
32510
|
-
lazy = _props$lazy === void 0 ? true : _props$lazy
|
|
32511
|
+
lazy = _props$lazy === void 0 ? true : _props$lazy,
|
|
32512
|
+
_props$checkPosition = props.checkPosition,
|
|
32513
|
+
checkPosition = _props$checkPosition === void 0 ? false : _props$checkPosition;
|
|
32511
32514
|
var _useContext = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useContext)(absolute_context),
|
|
32512
32515
|
defaultAbsolute = _useContext.absolute,
|
|
32513
32516
|
scrollElRefContext = _useContext.scrollElRef;
|
|
@@ -32547,7 +32550,8 @@ var AbsoluteList = function AbsoluteList(props) {
|
|
|
32547
32550
|
popupGap: popupGap,
|
|
32548
32551
|
adjust: adjust,
|
|
32549
32552
|
offset: offset,
|
|
32550
|
-
onAdjust: onAdjust
|
|
32553
|
+
onAdjust: onAdjust,
|
|
32554
|
+
checkPosition: checkPosition
|
|
32551
32555
|
}),
|
|
32552
32556
|
style = _usePositionStyle.style;
|
|
32553
32557
|
var childStyle = children.props.style;
|
|
@@ -33571,7 +33575,8 @@ var Tooltip = function Tooltip(props) {
|
|
|
33571
33575
|
fixedWidth: false,
|
|
33572
33576
|
popupGap: popupGap,
|
|
33573
33577
|
zIndex: zIndex,
|
|
33574
|
-
adjust:
|
|
33578
|
+
adjust: popsitionProps === 'auto',
|
|
33579
|
+
checkPosition: true,
|
|
33575
33580
|
updateKey: updateKey,
|
|
33576
33581
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", objectSpread2_default()(objectSpread2_default()({
|
|
33577
33582
|
className: classnames_default()(className, tooltipClasses === null || tooltipClasses === void 0 ? void 0 : tooltipClasses.rootClass, tooltipClasses === null || tooltipClasses === void 0 ? void 0 : tooltipClasses.wrapper, open && (tooltipClasses === null || tooltipClasses === void 0 ? void 0 : tooltipClasses.wrapperOpen)),
|
|
@@ -73290,7 +73295,7 @@ var upload_interface = __webpack_require__(8821);
|
|
|
73290
73295
|
|
|
73291
73296
|
|
|
73292
73297
|
/* harmony default export */ var src_0 = ({
|
|
73293
|
-
version: '3.8.6-beta.
|
|
73298
|
+
version: '3.8.6-beta.3'
|
|
73294
73299
|
});
|
|
73295
73300
|
}();
|
|
73296
73301
|
/******/ return __webpack_exports__;
|