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

rc-dialog

Package Overview
Dependencies
Maintainers
10
Versions
164
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-dialog - npm Package Compare versions

Comparing version 8.5.2 to 8.5.3

7

es/Dialog/index.js

@@ -9,2 +9,3 @@ import _extends from "@babel/runtime/helpers/esm/extends";

import contains from "rc-util/es/Dom/contains";
import pickAttrs from "rc-util/es/pickAttrs";
import Mask from './Mask';

@@ -161,5 +162,7 @@ import { getMotionName, getUUID } from '../util';

return /*#__PURE__*/React.createElement("div", {
return /*#__PURE__*/React.createElement("div", _extends({
className: "".concat(prefixCls, "-root")
}, /*#__PURE__*/React.createElement(Mask, {
}, pickAttrs(props, {
data: true
})), /*#__PURE__*/React.createElement(Mask, {
prefixCls: prefixCls,

@@ -166,0 +169,0 @@ visible: mask && visible,

@@ -26,2 +26,4 @@ "use strict";

var _pickAttrs = _interopRequireDefault(require("rc-util/lib/pickAttrs"));
var _Mask = _interopRequireDefault(require("./Mask"));

@@ -181,5 +183,7 @@

return /*#__PURE__*/React.createElement("div", {
return /*#__PURE__*/React.createElement("div", (0, _extends2.default)({
className: "".concat(prefixCls, "-root")
}, /*#__PURE__*/React.createElement(_Mask.default, {
}, (0, _pickAttrs.default)(props, {
data: true
})), /*#__PURE__*/React.createElement(_Mask.default, {
prefixCls: prefixCls,

@@ -186,0 +190,0 @@ visible: mask && visible,

{
"name": "rc-dialog",
"version": "8.5.2",
"version": "8.5.3",
"description": "dialog ui component for react",

@@ -34,3 +34,2 @@ "keywords": [

"docs:deploy": "gh-pages -d .doc",
"build": "father doc build --storybook",
"compile": "father build && lessc assets/index.less assets/index.css && lessc assets/bootstrap.less assets/bootstrap.css",

@@ -37,0 +36,0 @@ "deploy": "npm run docs:build && npm run docs:deploy",

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