rmc-dialog
Advanced tools
Comparing version 1.0.6 to 1.1.0
@@ -135,3 +135,3 @@ import _extends from 'babel-runtime/helpers/extends'; | ||
var maskTransition = this.getMaskTransitionName(); | ||
maskElement = React.createElement(LazyRenderBox, { style: this.getMaskStyle(), key: "mask-element", className: props.prefixCls + '-mask', hiddenClassName: props.prefixCls + '-mask-hidden', visible: props.visible }); | ||
maskElement = React.createElement(LazyRenderBox, _extends({ style: this.getMaskStyle(), key: "mask-element", className: props.prefixCls + '-mask', hiddenClassName: props.prefixCls + '-mask-hidden', visible: props.visible }, props.maskProps)); | ||
if (maskTransition) { | ||
@@ -138,0 +138,0 @@ maskElement = React.createElement(Animate, { key: "mask", showProp: "visible", transitionAppear: true, component: "", transitionName: maskTransition }, maskElement); |
@@ -26,4 +26,5 @@ /// <reference types="react" /> | ||
zIndex?: number; | ||
maskProps?: any; | ||
wrapProps?: any; | ||
} | ||
export default IDialogPropTypes; |
@@ -167,3 +167,3 @@ 'use strict'; | ||
var maskTransition = this.getMaskTransitionName(); | ||
maskElement = _react2['default'].createElement(_LazyRenderBox2['default'], { style: this.getMaskStyle(), key: "mask-element", className: props.prefixCls + '-mask', hiddenClassName: props.prefixCls + '-mask-hidden', visible: props.visible }); | ||
maskElement = _react2['default'].createElement(_LazyRenderBox2['default'], (0, _extends3['default'])({ style: this.getMaskStyle(), key: "mask-element", className: props.prefixCls + '-mask', hiddenClassName: props.prefixCls + '-mask-hidden', visible: props.visible }, props.maskProps)); | ||
if (maskTransition) { | ||
@@ -170,0 +170,0 @@ maskElement = _react2['default'].createElement(_rcAnimate2['default'], { key: "mask", showProp: "visible", transitionAppear: true, component: "", transitionName: maskTransition }, maskElement); |
@@ -26,4 +26,5 @@ /// <reference types="react" /> | ||
zIndex?: number; | ||
maskProps?: any; | ||
wrapProps?: any; | ||
} | ||
export default IDialogPropTypes; |
{ | ||
"name": "rmc-dialog", | ||
"version": "1.0.6", | ||
"version": "1.1.0", | ||
"description": "mobile dialog ui component for react", | ||
@@ -22,3 +22,3 @@ "keywords": [ | ||
}, | ||
"licenses": "MIT", | ||
"license": "MIT", | ||
"files": [ | ||
@@ -25,0 +25,0 @@ "lib", |
Sorry, the diff of this file is not supported yet
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
65841
1489
1