homeflowjs 1.0.10 → 1.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "homeflowjs",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "sideEffects": [
5
5
  "modal/**/*",
6
6
  "user/default-profile/**/*",
@@ -109,6 +109,7 @@ class LocationInput extends Component {
109
109
  clearButtonClassName,
110
110
  pattern,
111
111
  name,
112
+ required,
112
113
  } = this.props;
113
114
 
114
115
  const inputProps = {
@@ -116,6 +117,7 @@ class LocationInput extends Component {
116
117
  placeholder,
117
118
  value: q,
118
119
  name,
120
+ required,
119
121
  onChange: this.onLocationChange,
120
122
  };
121
123
 
@@ -163,6 +165,7 @@ LocationInput.propTypes = {
163
165
  clearButton: PropTypes.bool,
164
166
  clearButtonClassName: PropTypes.string,
165
167
  name: PropTypes.string,
168
+ required: PropTypes.bool,
166
169
  };
167
170
 
168
171
  LocationInput.defaultProps = {
@@ -174,6 +177,7 @@ LocationInput.defaultProps = {
174
177
  clearButton: false,
175
178
  clearButtonClassName: '',
176
179
  name: 'Location search',
180
+ required: false,
177
181
  };
178
182
 
179
183
  const mapStateToProps = (state) => ({