intelicoreact 1.3.41 → 1.3.43

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.
@@ -450,7 +450,6 @@ const Dropdown = _ref => {
450
450
  onMouseDown: () => {
451
451
  if (!isOpen) {
452
452
  setIsSearchInputFocused(true);
453
- setIsOpen(true);
454
453
  }
455
454
  }
456
455
  }, attributesOfNativeInput)))), /*#__PURE__*/_react.default.createElement("div", {
@@ -640,7 +639,6 @@ const Dropdown = _ref => {
640
639
  onMouseDown: () => {
641
640
  if (!isOpen) {
642
641
  setIsSearchInputFocused(true);
643
- setIsOpen(true);
644
642
  }
645
643
  }
646
644
  }, attributesOfNativeInput, {
@@ -26,7 +26,8 @@ const Textarea = _ref => {
26
26
  className,
27
27
  isNotValidateASCII = false,
28
28
  testId = "",
29
- withAutoGrow
29
+ withAutoGrow,
30
+ onKeyDown = () => {}
30
31
  } = _ref;
31
32
  const handle = {
32
33
  change: val => {
@@ -49,7 +50,8 @@ const Textarea = _ref => {
49
50
  onChange: e => handle.change(e.target.value),
50
51
  placeholder: placeholder,
51
52
  disabled: disabled,
52
- onInput: withAutoGrow ? autoGrow : () => {}
53
+ onInput: withAutoGrow ? autoGrow : () => {},
54
+ onKeyDown: onKeyDown
53
55
  }));
54
56
  };
55
57
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intelicoreact",
3
- "version": "1.3.41",
3
+ "version": "1.3.43",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "files": [