react-input-completion
Advanced tools
Comparing version 0.0.6 to 0.0.7
{ | ||
"name": "react-input-completion", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "A cross-browser autocomplete component for React", | ||
@@ -5,0 +5,0 @@ "repository": "https://www.github.com/imcnally/react-input-completion", |
@@ -11,2 +11,4 @@ 'use strict'; | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } | ||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } } | ||
@@ -18,2 +20,4 @@ | ||
var _react2 = _interopRequireDefault(_react); | ||
var keys = { | ||
@@ -88,3 +92,3 @@ down: 'ArrowDown', | ||
return React.createElement( | ||
return _react2['default'].createElement( | ||
'li', | ||
@@ -96,3 +100,3 @@ { 'aria-selected': isSelected, className: 'ric-fb-option', key: index, onMouseDown: onMouseDown, role: 'option' }, | ||
return React.createElement( | ||
return _react2['default'].createElement( | ||
'ul', | ||
@@ -112,6 +116,6 @@ { 'aria-multiselectable': 'false', className: 'ric-fb-options', role: 'listbox', | ||
var options = this.props.options.map(function (option, index) { | ||
return React.createElement('option', { key: index, value: option }); | ||
return _react2['default'].createElement('option', { key: index, value: option }); | ||
}); | ||
return React.createElement( | ||
return _react2['default'].createElement( | ||
'datalist', | ||
@@ -203,3 +207,3 @@ { id: this.props.name }, | ||
value: function render() { | ||
return React.createElement( | ||
return _react2['default'].createElement( | ||
'section', | ||
@@ -206,0 +210,0 @@ null, |
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
17797
236