rc-dialog
Advanced tools
Comparing version 8.5.2 to 8.5.3
@@ -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", |
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
1477
61303
37