react-date-time-group
Advanced tools
Comparing version 4.1.0 to 4.2.0
# Changelog | ||
## V4.2.0 | ||
- Add showMonthDropdown prop for showing a month dropdown | ||
- Add showYearDropdown prop for showing a year dropdown | ||
- Update react-datepicker from 0.23.1 to 0.39.0 | ||
## v4.1.0 | ||
@@ -4,0 +9,0 @@ - Update react-time-select from 2.2.1 to 2.3.0. |
@@ -38,3 +38,5 @@ 'use strict'; | ||
timeId: React.PropTypes.string, | ||
seperateHourMins: React.PropTypes.bool | ||
seperateHourMins: React.PropTypes.bool, | ||
showMonthDropdown: React.PropTypes.bool, | ||
showYearDropdown: React.PropTypes.bool | ||
}, | ||
@@ -141,2 +143,5 @@ | ||
React.createElement(DatePicker, { | ||
fixedHeight: true, | ||
showMonthDropdown: this.props.showMonthDropdown, | ||
showYearDropdown: this.props.showYearDropdown, | ||
name: this.props.dateName, | ||
@@ -143,0 +148,0 @@ selected: moment(this.props.value), |
@@ -47,3 +47,5 @@ 'use strict'; | ||
dateId="dateWithDateOptions" | ||
timeId="timeWithDateOptions" /> | ||
timeId="timeWithDateOptions" | ||
showMonthDropdown={true} | ||
showYearDropdown={true} /> | ||
@@ -50,0 +52,0 @@ <h1>Options for time (value shared with "Events")</h1> |
{ | ||
"name": "react-date-time-group", | ||
"version": "4.1.0", | ||
"version": "4.2.0", | ||
"description": "Datepicker with optional time", | ||
@@ -26,3 +26,3 @@ "main": "dist/DateTimeGroup.js", | ||
"react-bootstrap": "^0.28.2", | ||
"react-datepicker": "^0.23.1", | ||
"react-datepicker": "0.39.0", | ||
"react-dom": "^0.14.2", | ||
@@ -45,3 +45,3 @@ "react-time-select": "^2.2.1" | ||
"istanbul": "^0.4.2", | ||
"jsdom": "^3.1.2", | ||
"jsdom": "^11.2.0", | ||
"less": "2.7.2", | ||
@@ -48,0 +48,0 @@ "make-up": "^7.1.0", |
@@ -27,2 +27,4 @@ # react-date-time-group | ||
- __dateId__ - Optional id for the date field. | ||
- __showMonthDropdown__ - Show a month dropdown on the calendar. | ||
- __showYearDropdown__ - Shows a year dropdown on the calendar. | ||
@@ -29,0 +31,0 @@ ### Time options |
@@ -36,3 +36,5 @@ 'use strict'; | ||
timeId: React.PropTypes.string, | ||
seperateHourMins: React.PropTypes.bool | ||
seperateHourMins: React.PropTypes.bool, | ||
showMonthDropdown: React.PropTypes.bool, | ||
showYearDropdown: React.PropTypes.bool | ||
}, | ||
@@ -132,2 +134,5 @@ | ||
<DatePicker | ||
fixedHeight={true} | ||
showMonthDropdown={this.props.showMonthDropdown} | ||
showYearDropdown={this.props.showYearDropdown} | ||
name={this.props.dateName} | ||
@@ -153,1 +158,2 @@ selected={moment(this.props.value)} | ||
module.exports = DateTimeGroup; | ||
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
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
1694758
40909
53
19
+ Addedcreate-react-class@15.7.0(transitive)
+ Addedreact-datepicker@0.39.0(transitive)
+ Addedreact-onclickoutside@5.11.1(transitive)
- Removedreact-datepicker@0.23.2(transitive)
- Removedreact-onclickoutside@4.9.0(transitive)
- Removedreact-tether@0.3.3(transitive)
Updatedreact-datepicker@0.39.0