homeflowjs 0.13.26 → 0.13.27

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": "0.13.26",
3
+ "version": "0.13.27",
4
4
  "sideEffects": [
5
5
  "modal/**/*",
6
6
  "user/default-profile/**/*",
@@ -107,9 +107,11 @@ class LocationInput extends Component {
107
107
  placeholder,
108
108
  clearButton,
109
109
  clearButtonClassName,
110
+ pattern,
110
111
  } = this.props;
111
112
 
112
113
  const inputProps = {
114
+ pattern,
113
115
  placeholder,
114
116
  value: q,
115
117
  onChange: this.onLocationChange,
@@ -153,6 +155,7 @@ LocationInput.propTypes = {
153
155
  setSuggestions: PropTypes.func.isRequired,
154
156
  setSearchField: PropTypes.func.isRequired,
155
157
  placeholder: PropTypes.string,
158
+ pattern: PropTypes.string,
156
159
  className: PropTypes.string,
157
160
  search: PropTypes.object.isRequired,
158
161
  searchOnSelection: PropTypes.bool,
@@ -162,6 +165,7 @@ LocationInput.propTypes = {
162
165
 
163
166
  LocationInput.defaultProps = {
164
167
  placeholder: 'Enter a location...',
168
+ pattern: '',
165
169
  className: '',
166
170
  suggestions: [],
167
171
  searchOnSelection: false,