intelicoreact 0.1.21 → 0.1.22
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.
|
@@ -219,7 +219,13 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
219
219
|
className: (0, _classnames.default)(RC, className, {
|
|
220
220
|
disabled: disabled
|
|
221
221
|
}),
|
|
222
|
-
ref: dropdownRef
|
|
222
|
+
ref: dropdownRef,
|
|
223
|
+
onFocus: function onFocus() {
|
|
224
|
+
return setIsOpen(true);
|
|
225
|
+
},
|
|
226
|
+
onBlur: function onBlur() {
|
|
227
|
+
return setIsOpen(false);
|
|
228
|
+
}
|
|
223
229
|
}, /*#__PURE__*/_react.default.createElement("button", {
|
|
224
230
|
className: "".concat(RC, "__trigger input__wrap ").concat(isOpen ? 'input__wrap--focus' : '', " ").concat(!value ? 'placeholder' : '', " ").concat(error ? 'error' : ''),
|
|
225
231
|
onClick: function onClick() {
|
package/package.json
CHANGED