intelicoreact 1.0.17 → 1.0.19

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.
@@ -285,7 +285,7 @@ var Dropdown = function Dropdown(_ref) {
285
285
 
286
286
  var sw = lc.getElementsByClassName('dropdown__list')[0];
287
287
  var swHeight = sw === null || sw === void 0 ? void 0 : (_sw$getBoundingClient = sw.getBoundingClientRect()) === null || _sw$getBoundingClient === void 0 ? void 0 : _sw$getBoundingClient.height;
288
- lc.style.width = "".concat(width, "px");
288
+ lc.style.minWidth = "".concat(width, "px");
289
289
  lc.style.left = "".concat(left, "px");
290
290
  lc.style.top = "".concat(windowHeight - top - height >= swHeight ? top + height : top - swHeight, "px");
291
291
  lc.style.maxHeight = "".concat(swHeight, "px");
@@ -288,7 +288,8 @@ var Input = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
288
288
  if (inputRef !== null && inputRef !== void 0 && inputRef.current && typeof isFocusDefault === 'boolean') setIsFocused(isFocusDefault);
289
289
  setEditing(isFocusDefault);
290
290
  }, [inputRef, isFocusDefault]);
291
- var renderInput = (0, _react.useMemo)(function () {
291
+
292
+ var renderInput = function renderInput() {
292
293
  var uniProps = _objectSpread(_objectSpread({
293
294
  className: (0, _classnames.default)('input', className, {
294
295
  'input--with-icon': icon
@@ -323,7 +324,8 @@ var Input = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
323
324
  if (uniProps.onFocus) uniProps.onFocus.apply(uniProps, arguments);
324
325
  }
325
326
  }));
326
- }, [formatedValue, type]);
327
+ };
328
+
327
329
  return /*#__PURE__*/_react.default.createElement("div", {
328
330
  className: (0, _classnames.default)("input__wrap", (0, _defineProperty2.default)({}, "input__wrap_focus", isFocused), (0, _defineProperty2.default)({}, "input__wrap_error", error || isToHighlightError), (0, _defineProperty2.default)({}, "input__wrap--disabled", disabled)),
329
331
  onMouseEnter: function onMouseEnter() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intelicoreact",
3
- "version": "1.0.17",
3
+ "version": "1.0.19",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "files": [