@uiw/react-overlay
Advanced tools
Comparing version 4.22.2 to 4.22.3
@@ -103,7 +103,7 @@ "use strict"; | ||
}, [visible]); | ||
var decoratedChild = (0, _typeof2["default"])(children) === 'object' ? /*#__PURE__*/(0, _react.cloneElement)(children, (0, _objectSpread2["default"])((0, _objectSpread2["default"])({}, dialogProps), {}, { | ||
var decoratedChild = (0, _typeof2["default"])(children) === 'object' ? ( /*#__PURE__*/(0, _react.cloneElement)(children, (0, _objectSpread2["default"])((0, _objectSpread2["default"])({}, dialogProps), {}, { | ||
style: (0, _objectSpread2["default"])((0, _objectSpread2["default"])({}, children.props.style), dialogProps.style), | ||
className: [children.props.className, "".concat(prefixCls, "-content")].filter(Boolean).join(' ').trim(), | ||
tabIndex: 0 | ||
})) : /*#__PURE__*/(0, _jsxRuntime.jsx)("span", (0, _objectSpread2["default"])((0, _objectSpread2["default"])({}, dialogProps), {}, { | ||
}))) : /*#__PURE__*/(0, _jsxRuntime.jsx)("span", (0, _objectSpread2["default"])((0, _objectSpread2["default"])({}, dialogProps), {}, { | ||
className: "".concat(prefixCls, "-content"), | ||
@@ -183,5 +183,5 @@ children: children | ||
}) | ||
}) : /*#__PURE__*/(0, _react.cloneElement)(decoratedChild, { | ||
}) : ( /*#__PURE__*/(0, _react.cloneElement)(decoratedChild, { | ||
'data-status': status | ||
})] | ||
}))] | ||
}); | ||
@@ -188,0 +188,0 @@ } |
@@ -72,7 +72,7 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
}, [visible]); | ||
var decoratedChild = typeof children === 'object' ? /*#__PURE__*/cloneElement(children, _extends({}, dialogProps, { | ||
var decoratedChild = typeof children === 'object' ? ( /*#__PURE__*/cloneElement(children, _extends({}, dialogProps, { | ||
style: _extends({}, children.props.style, dialogProps.style), | ||
className: [children.props.className, prefixCls + "-content"].filter(Boolean).join(' ').trim(), | ||
tabIndex: 0 | ||
})) : /*#__PURE__*/_jsx("span", _extends({}, dialogProps, { | ||
}))) : /*#__PURE__*/_jsx("span", _extends({}, dialogProps, { | ||
className: prefixCls + "-content", | ||
@@ -152,5 +152,5 @@ children: children | ||
}) | ||
}) : /*#__PURE__*/cloneElement(decoratedChild, { | ||
}) : ( /*#__PURE__*/cloneElement(decoratedChild, { | ||
'data-status': status | ||
})] | ||
}))] | ||
}); | ||
@@ -157,0 +157,0 @@ } |
{ | ||
"name": "@uiw/react-overlay", | ||
"version": "4.22.2", | ||
"version": "4.22.3", | ||
"description": "Overlay component", | ||
"author": "Kenny Wong <wowohoo@qq.com>", | ||
"funding": "https://jaywcjlove.github.io/#/sponsor", | ||
"homepage": "https://uiwjs.github.io/#/components/overlay", | ||
@@ -47,6 +48,6 @@ "repository": { | ||
"dependencies": { | ||
"@uiw/react-portal": "^4.22.2", | ||
"@uiw/utils": "^4.22.2", | ||
"@uiw/react-portal": "^4.22.3", | ||
"@uiw/utils": "^4.22.3", | ||
"react-transition-group": "~4.4.2" | ||
} | ||
} |
Overlay 基础弹出层 | ||
=== | ||
[![Buy me a coffee](https://img.shields.io/badge/Buy%20me%20a%20coffee-048754?logo=buymeacoffee)](https://jaywcjlove.github.io/#/sponsor) | ||
[![Open in unpkg](https://img.shields.io/badge/Open%20in-unpkg-blue)](https://uiwjs.github.io/npm-unpkg/#/pkg/@uiw/react-overlay/file/README.md) | ||
@@ -5,0 +6,0 @@ [![NPM Downloads](https://img.shields.io/npm/dm/@uiw/react-overlay.svg?style=flat)](https://www.npmjs.com/package/@uiw/react-overlay) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
46756
292
Updated@uiw/react-portal@^4.22.3
Updated@uiw/utils@^4.22.3