@flodesk/grain 6.5.3 → 6.5.4
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.
|
@@ -111,7 +111,7 @@ export var Autocomplete = function Autocomplete(_ref2) {
|
|
|
111
111
|
var filteredOptions = getFilteredOptions(query, options);
|
|
112
112
|
var noResults = !Boolean(filteredOptions.length);
|
|
113
113
|
var fieldMarginTop = label || hint ? fieldVars.gap : undefined;
|
|
114
|
-
return ___EmotionJSX(Combobox, {
|
|
114
|
+
return ___EmotionJSX("div", null, ___EmotionJSX(Combobox, {
|
|
115
115
|
value: selectedOption,
|
|
116
116
|
onChange: handleChange
|
|
117
117
|
}, label && ___EmotionJSX(Combobox.Label, {
|
|
@@ -156,7 +156,7 @@ export var Autocomplete = function Autocomplete(_ref2) {
|
|
|
156
156
|
isDisabled: option.isDisabled
|
|
157
157
|
}, option.content);
|
|
158
158
|
}));
|
|
159
|
-
}), noResults && ___EmotionJSX(EmptyState, null)))));
|
|
159
|
+
}), noResults && ___EmotionJSX(EmptyState, null))))));
|
|
160
160
|
};
|
|
161
161
|
Autocomplete.propTypes = {
|
|
162
162
|
options: PropTypes.array,
|