m-datetime-picker
Advanced tools
Comparing version 1.0.6 to 1.1.0
26
index.js
@@ -16,2 +16,6 @@ 'use strict'; | ||
var _PropTypes = require('prop-types'); | ||
var _PropTypes2 = _interopRequireDefault(_PropTypes); | ||
var _classnames = require('classnames'); | ||
@@ -255,14 +259,14 @@ | ||
DatetimePicker.propTypes = { | ||
onOpen: _react.PropTypes.func, | ||
onClose: _react.PropTypes.func, | ||
onChange: _react.PropTypes.func, | ||
defaultValue: _react.PropTypes.oneOfType([_react.PropTypes.number, _react.PropTypes.string]),// 默认的时间,timestamp,默认为现在 | ||
dateFormat: _react.PropTypes.string, // Y: 年, M: 月, d: 日期, H: 时, m: 分, s: 秒,如果格式不规范,可能会导致一些奇怪的结果 | ||
minDate: _react.PropTypes.string, // 起始日期, xxxx-xx-xx格式 | ||
maxDate: _react.PropTypes.string, // 最大日期,格式同上 | ||
onOpen: _PropTypes2.default.func, | ||
onClose: _PropTypes2.default.func, | ||
onChange: _PropTypes2.default.func, | ||
defaultValue: _PropTypes2.default.oneOfType([_PropTypes2.default.number, _PropTypes2.default.string]),// 默认的时间,timestamp,默认为现在 | ||
dateFormat: _PropTypes2.default.string, // Y: 年, M: 月, d: 日期, H: 时, m: 分, s: 秒,如果格式不规范,可能会导致一些奇怪的结果 | ||
minDate: _PropTypes2.default.string, // 起始日期, xxxx-xx-xx格式 | ||
maxDate: _PropTypes2.default.string, // 最大日期,格式同上 | ||
toolbar: _react.PropTypes.bool, | ||
toolbarTitle: _react.PropTypes.node, | ||
showSubmitBtn: _react.PropTypes.bool, | ||
showClearBtn: _react.PropTypes.bool | ||
toolbar: _PropTypes2.default.bool, | ||
toolbarTitle: _PropTypes2.default.node, | ||
showSubmitBtn: _PropTypes2.default.bool, | ||
showClearBtn: _PropTypes2.default.bool | ||
}; | ||
@@ -269,0 +273,0 @@ |
{ | ||
"name": "m-datetime-picker", | ||
"version": "1.0.6", | ||
"version": "1.1.0", | ||
"description": "m-datetime-picker 日期时间选择器,基于m-picker扩展来", | ||
@@ -29,4 +29,5 @@ "main": "index.js", | ||
"dependencies": { | ||
"react": "~15.2.0", | ||
"react-dom": "~15.2.0", | ||
"react": "~15.5.4", | ||
"react-dom": "~15.5.4", | ||
"prop-types": "^15.5.8", | ||
"m-base": "^1.0.0", | ||
@@ -33,0 +34,0 @@ "m-picker": "^1.0.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
25578
247
6
+ Addedprop-types@^15.5.8
- Removedreact@15.2.1(transitive)
- Removedreact-dom@15.2.1(transitive)
Updatedreact@~15.5.4
Updatedreact-dom@~15.5.4