Comparing version 0.3.1 to 0.3.2
@@ -0,1 +1,7 @@ | ||
## 0.3.2 (19 марта 2018) | ||
### Багфикс | ||
* Не выводится меню автокомплита в случае, если список опций пустой (`Autocomplete`) | ||
## 0.3.1 (16 марта 2018) | ||
@@ -2,0 +8,0 @@ |
@@ -27,2 +27,6 @@ 'use strict'; | ||
var _renderMenu = require('./render-menu'); | ||
var _renderMenu2 = _interopRequireDefault(_renderMenu); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -38,10 +42,2 @@ | ||
function renderMenu(items) { | ||
return _react2.default.createElement( | ||
'div', | ||
{ className: 'n3__autocomplete__menu' }, | ||
items | ||
); | ||
} | ||
var wrapperProps = { | ||
@@ -169,3 +165,3 @@ className: 'n3__autocomplete' | ||
renderItem: this.renderItem, | ||
renderMenu: renderMenu, | ||
renderMenu: _renderMenu2.default, | ||
inputProps: { | ||
@@ -172,0 +168,0 @@ className: inputClassName, |
{ | ||
"name": "@n3/kit", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"description": "React components for n3 interfaces", | ||
@@ -5,0 +5,0 @@ "main": "dist/n3kit.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
2060871
89
39850