intelicoreact 1.0.11 → 1.0.12
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.
|
@@ -325,7 +325,7 @@ var Input = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref) {
|
|
|
325
325
|
}));
|
|
326
326
|
}, [formatedValue, type]);
|
|
327
327
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
328
|
-
className: (0, _classnames.default)("input__wrap", (0, _defineProperty2.default)({}, "input__wrap_focus", isFocused), (0, _defineProperty2.default)({}, "input__wrap_error", error || isToHighlightError), (0, _defineProperty2.default)({}, "
|
|
328
|
+
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
329
|
onMouseEnter: function onMouseEnter() {
|
|
330
330
|
return setOnInputHover(true);
|
|
331
331
|
},
|
|
@@ -317,7 +317,7 @@ var NumericInput = function NumericInput(_ref) {
|
|
|
317
317
|
|
|
318
318
|
return /*#__PURE__*/_react.default.createElement("div", {
|
|
319
319
|
ref: wrapRef,
|
|
320
|
-
className: (0, _classnames.default)("input__wrap", (0, _defineProperty2.default)({}, "input__wrap_focus", isFocused), (0, _defineProperty2.default)({}, "input__wrap_error", error || isToHighlightError), (0, _defineProperty2.default)({}, "
|
|
320
|
+
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))
|
|
321
321
|
}, renderInput(), icon, withDelete && /*#__PURE__*/_react.default.createElement("span", {
|
|
322
322
|
className: (0, _classnames.default)("input__close", {
|
|
323
323
|
hidden: !inputValue
|