Comparing version 1.0.1 to 1.0.2
# Changelog | ||
## 1.0.2 / 2017-11-07 | ||
* [[9502ec9](http://gitlab.alibaba-inc.com/nuke/mask/commit/9502ec9a593ff1e8641e68a89267a4e987eb7d37)] - `fix` change view to div | ||
## 1.0.1 / 2017-11-04 | ||
@@ -5,0 +9,0 @@ |
@@ -242,9 +242,8 @@ 'use strict'; | ||
return visible ? (0, _rax.createElement)( | ||
_nukeView2.default, | ||
_extends({ | ||
'div', | ||
_extends({}, others, { | ||
ref: function ref(n) { | ||
_this5.maskNode = (0, _rax.findDOMNode)(n); | ||
}, | ||
style: [styles.maskPosition, { opacity: this.state.styleOpacity }, style] | ||
}, others, { | ||
style: [styles.maskPosition, { opacity: this.state.styleOpacity }, style], | ||
onClick: function onClick(e) { | ||
@@ -265,2 +264,7 @@ return _this5.maskPress(e); | ||
maskPosition: { | ||
display: 'flex', | ||
boxSizing: 'border-box', | ||
flexDirection: 'column', | ||
alignContent: 'flex-start', | ||
flexShrink: 0, | ||
position: 'fixed', | ||
@@ -267,0 +271,0 @@ top: 0, |
{ | ||
"name": "nuke-mask", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "遮罩层", | ||
@@ -5,0 +5,0 @@ "main": "lib/index", |
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
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
28973
323
0