Comparing version 1.1.2 to 1.2.0
20
index.js
@@ -18,2 +18,6 @@ 'use strict'; | ||
var _PropTypes = require('prop-types'); | ||
var _PropTypes2 = _interopRequireDefault(_PropTypes); | ||
var _classnames = require('classnames'); | ||
@@ -194,12 +198,12 @@ | ||
Dialog.propTypes = { | ||
title: _react.PropTypes.string, | ||
content: _react.PropTypes.string.isRequired, | ||
withCloseIcon: _react.PropTypes.bool, | ||
hasFoot: _react.PropTypes.bool, | ||
okBtnClass: _react.PropTypes.string, | ||
okText: _react.PropTypes.string, | ||
cancelText: _react.PropTypes.string, | ||
onOk: _react.PropTypes.func | ||
title: _PropTypes2.string, | ||
content: _PropTypes2.string.isRequired, | ||
withCloseIcon: _PropTypes2.bool, | ||
hasFoot: _PropTypes2.bool, | ||
okBtnClass: _PropTypes2.string, | ||
okText: _PropTypes2.string, | ||
cancelText: _PropTypes2.string, | ||
onOk: _PropTypes2.func | ||
}; | ||
exports.default = Dialog; | ||
module.exports = exports['default']; |
{ | ||
"name": "m-dialog", | ||
"version": "1.1.2", | ||
"version": "1.2.0", | ||
"description": "m-dialog 移动端模态对话框", | ||
@@ -33,5 +33,6 @@ "main": "index.js", | ||
"dependencies": { | ||
"react": "~15.2.0", | ||
"react": "^15.5.4", | ||
"prop-types": "^15.5.8", | ||
"m-base": "^1.0.5", | ||
"m-mask": "^1.0.0", | ||
"m-mask": "^1.1.0", | ||
"classnames": "~2.2.3" | ||
@@ -38,0 +39,0 @@ }, |
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
28505
171
5
+ Addedprop-types@^15.5.8
+ Addedcreate-react-class@15.7.0(transitive)
+ Addedreact@15.7.0(transitive)
- Removedreact@15.2.1(transitive)
Updatedm-mask@^1.1.0
Updatedreact@^15.5.4