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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intelicoreact",
3
- "version": "0.1.21",
3
+ "version": "0.1.22",
4
4
  "description": "add useFormTools hook",
5
5
  "main": "dist/index.js",
6
6
  "files": ["dist/*", "node_modules/anme/*", "node_modules/moment/*", "node_modules/moment-timezone/*"],