allaw-ui 0.1.46 → 0.1.47

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.
@@ -158,6 +158,7 @@ function ComboBox(_a, ref) {
158
158
  React.createElement("div", { ref: chevronRef, className: "combo-box-chevron ".concat(isHovered ? "combo-box-hovered" : ""), onClick: handleChevronClick },
159
159
  React.createElement("i", { className: "allaw-icon-".concat(isInputValid ? "chevron-down" : "close") }))),
160
160
  isOpen &&
161
+ filteredItems.length > 0 &&
161
162
  createPortal(React.createElement("div", { ref: listRef, className: "combo-box-list", style: {
162
163
  top: "".concat(listPosition.top, "px"),
163
164
  left: "".concat(listPosition.left, "px"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "allaw-ui",
3
- "version": "0.1.46",
3
+ "version": "0.1.47",
4
4
  "description": "Composants UI pour l'application Allaw",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",