Comparing version 1.0.1 to 1.1.0
12
index.js
@@ -18,2 +18,6 @@ 'use strict'; | ||
var _PropTypes = require('prop-types'); | ||
var _PropTypes2 = _interopRequireDefault(_PropTypes); | ||
var _classnames = require('classnames'); | ||
@@ -268,9 +272,9 @@ | ||
// balloon的内容,可以是一个字符串,也可以是任意的html内容 | ||
content: _react.PropTypes.oneOfType([_react.PropTypes.object, _react.PropTypes.string]).isRequired, | ||
content: _PropTypes2.oneOfType([_PropTypes2.object, _PropTypes2.string]).isRequired, | ||
// balloon的展示位置 | ||
placement: _react.PropTypes.oneOf(['top', 'bottom', 'left', 'right', 'topLeft', 'topRight', 'bottomLeft', 'bottomRight', 'leftTop', 'rightTop', 'leftBottom', 'rightBottom']), | ||
placement: _PropTypes2.oneOf(['top', 'bottom', 'left', 'right', 'topLeft', 'topRight', 'bottomLeft', 'bottomRight', 'leftTop', 'rightTop', 'leftBottom', 'rightBottom']), | ||
// 提供让调用容器直接改变显隐的属性 | ||
visible: _react.PropTypes.bool, | ||
onVisibleChange: _react.PropTypes.func | ||
visible: _PropTypes2.bool, | ||
onVisibleChange: _PropTypes2.func | ||
}; | ||
@@ -277,0 +281,0 @@ |
{ | ||
"name": "m-balloon", | ||
"version": "1.0.1", | ||
"version": "1.1.0", | ||
"description": "m-balloon - simulate 'title' pop layer", | ||
@@ -29,7 +29,8 @@ "main": "index.js", | ||
"dependencies": { | ||
"react": "~15.2.0", | ||
"react-dom": "~15.2.0", | ||
"classnames": "~2.2.3", | ||
"m-base": "^1.0.0", | ||
"prop-types": "^15.5.8", | ||
"r-trigger": "^1.0.1", | ||
"classnames": "~2.2.3" | ||
"react": "^15.5.4", | ||
"react-dom": "^15.5.4" | ||
}, | ||
@@ -36,0 +37,0 @@ "keywords": [ |
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
30769
231
6
+ Addedprop-types@^15.5.8
+ Addedreact-dom@15.7.0(transitive)
- Removedreact@15.2.1(transitive)
- Removedreact-dom@15.2.1(transitive)
Updatedreact@^15.5.4
Updatedreact-dom@^15.5.4