react-period-of-stay-input
Advanced tools
Comparing version 1.2.1 to 2.0.0-0
{ | ||
"name": "react-period-of-stay-input", | ||
"version": "1.2.1", | ||
"version": "2.0.0-0", | ||
"description": "React.js component for entering a period of stay in a hotel: check-in + check-out date", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -31,3 +31,3 @@ (function () { | ||
return React.DOM.div( | ||
{className: 'period-of-stay-input'}, | ||
{className: 'srch-form__form-group form-group--period-of-stay-input'}, | ||
this.valueInputs() | ||
@@ -41,6 +41,7 @@ ); | ||
return [ | ||
React.DOM.label( | ||
React.DOM.div( | ||
{className: 'period-of-stay-check-in', key: 0}, | ||
'Check-in day', | ||
React.DOM.label(null, 'Check-in day'), | ||
DateInput({ | ||
@@ -50,9 +51,14 @@ ref: 'checkIn', | ||
onChange: this.handleCheckInChange | ||
}) | ||
), | ||
}), | ||
React.DOM.label( | ||
React.DOM.span({className:'srch-form__help-block'}, 'Format: dd.mm.yyyy'), | ||
React.DOM.i({className:'fa fa-calendar srch-form__calendar-icon'}, '') | ||
), | ||
React.DOM.div( | ||
{className: 'period-of-stay-check-out', key: 1}, | ||
'Check-out day', | ||
React.DOM.label(null, 'Check-out day'), | ||
DateInput({ | ||
@@ -62,3 +68,6 @@ ref: 'checkOut', | ||
onChange: this.handleCheckOutChange | ||
}) | ||
}), | ||
React.DOM.span({className:'srch-form__help-block'}, 'Format: dd.mm.yyyy'), | ||
React.DOM.i({className:'fa fa-calendar srch-form__calendar-icon'}, '') | ||
), | ||
@@ -65,0 +74,0 @@ |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
113776
18
729
2