Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@uiw/react-overlay

Package Overview
Dependencies
Maintainers
2
Versions
172
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uiw/react-overlay - npm Package Compare versions

Comparing version 4.22.2 to 4.22.3

8

cjs/index.js

@@ -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)

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc