@keboola/indigo-ui
Advanced tools
Comparing version 5.6.0 to 5.6.1
@@ -75,18 +75,21 @@ 'use strict'; | ||
return _react2.default.createElement( | ||
'form', | ||
'div', | ||
{ | ||
className: (0, _classnames2.default)("searchbar", _defineProperty({}, 'searchbar-' + this.props.theme, !!this.props.theme), this.props.className), | ||
onSubmit: this.handleSubmit | ||
className: (0, _classnames2.default)("searchbar", _defineProperty({}, 'searchbar-' + this.props.theme, !!this.props.theme), this.props.className) | ||
}, | ||
_react2.default.createElement(_reactBootstrap.FormControl, { | ||
value: this.state.query, | ||
placeholder: this.props.placeholder, | ||
onChange: this.handleChange, | ||
onKeyDown: this.handleKeyDown, | ||
className: 'searchbar-input', | ||
type: 'text', | ||
autoFocus: true, | ||
inputRef: this.props.inputRef | ||
}), | ||
_react2.default.createElement(_icons2.default.Search, { className: 'searchbar-icon icon-size-20' }), | ||
_react2.default.createElement( | ||
'form', | ||
{ onSubmit: this.handleSubmit, className: 'searchbar-form' }, | ||
_react2.default.createElement(_reactBootstrap.FormControl, { | ||
value: this.state.query, | ||
placeholder: this.props.placeholder, | ||
onChange: this.handleChange, | ||
onKeyDown: this.handleKeyDown, | ||
className: 'searchbar-input', | ||
type: 'text', | ||
autoFocus: true, | ||
inputRef: this.props.inputRef | ||
}), | ||
_react2.default.createElement(_icons2.default.Search, { className: 'searchbar-icon icon-size-20' }) | ||
), | ||
this.props.additionalActions && _react2.default.createElement( | ||
@@ -93,0 +96,0 @@ 'div', |
{ | ||
"name": "@keboola/indigo-ui", | ||
"description": "Keboola UI library", | ||
"version": "5.6.0", | ||
"version": "5.6.1", | ||
"dependencies": { | ||
@@ -6,0 +6,0 @@ "bootstrap": "^3.3.7", |
Sorry, the diff of this file is not supported yet
6704071
2377