intelicoreact 0.3.64 → 0.3.65
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.
|
@@ -291,9 +291,7 @@ var Input = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
|
|
291
291
|
|
|
292
292
|
function renderInput() {
|
|
293
293
|
var uniProps = _objectSpread(_objectSpread({
|
|
294
|
-
className: (0, _classnames.default)(
|
|
295
|
-
'input--with-icon': icon && !action
|
|
296
|
-
}, className),
|
|
294
|
+
className: (0, _classnames.default)('input', className),
|
|
297
295
|
placeholder: placeholder,
|
|
298
296
|
value: formatedValue,
|
|
299
297
|
inputMode: isNumericMobileKeyboard ? 'numeric' : 'text',
|
|
@@ -334,7 +332,9 @@ var Input = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
|
|
334
332
|
onMouseLeave: function onMouseLeave() {
|
|
335
333
|
return setOnInputHover(false);
|
|
336
334
|
}
|
|
337
|
-
}, renderInput(), icon
|
|
335
|
+
}, renderInput(), icon && /*#__PURE__*/_react.default.createElement("div", {
|
|
336
|
+
className: "input__icon-wrapper"
|
|
337
|
+
}, icon), action, withDelete && onInputHover && /*#__PURE__*/_react.default.createElement("span", {
|
|
338
338
|
"data-testid": "icon-close",
|
|
339
339
|
className: (0, _classnames.default)("input__close", {
|
|
340
340
|
hidden: !(0, _fieldValueFormatters.getSafelyValue)(value)
|