intelicoreact 0.3.64 → 0.3.66
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,9 @@ 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
|
|
296
|
-
}
|
|
294
|
+
className: (0, _classnames.default)('input', className, {
|
|
295
|
+
'input--with-icon': icon
|
|
296
|
+
}),
|
|
297
297
|
placeholder: placeholder,
|
|
298
298
|
value: formatedValue,
|
|
299
299
|
inputMode: isNumericMobileKeyboard ? 'numeric' : 'text',
|
|
@@ -15,15 +15,16 @@ var _io = require("react-icons/io5");
|
|
|
15
15
|
|
|
16
16
|
var _reactFeather = require("react-feather");
|
|
17
17
|
|
|
18
|
-
require("./Tag.scss");
|
|
19
|
-
|
|
20
18
|
var _utils = require("../../../Functions/utils");
|
|
21
19
|
|
|
20
|
+
require("./Tag.scss");
|
|
21
|
+
|
|
22
22
|
var Tag = function Tag(_ref) {
|
|
23
23
|
var className = _ref.className,
|
|
24
24
|
label = _ref.label,
|
|
25
25
|
warning = _ref.warning,
|
|
26
26
|
removeItem = _ref.removeItem,
|
|
27
|
+
noDismiss = _ref.noDismiss,
|
|
27
28
|
name = _ref.name,
|
|
28
29
|
_ref$onClick = _ref.onClick,
|
|
29
30
|
onClick = _ref$onClick === void 0 ? function () {} : _ref$onClick,
|
|
@@ -41,7 +42,7 @@ var Tag = function Tag(_ref) {
|
|
|
41
42
|
className: "advanced-tags--warning-icon mr5"
|
|
42
43
|
}), /*#__PURE__*/_react.default.createElement("span", {
|
|
43
44
|
className: "tag__label"
|
|
44
|
-
}, label || name), removeItem && /*#__PURE__*/_react.default.createElement("button", {
|
|
45
|
+
}, label || name), removeItem && !noDismiss && /*#__PURE__*/_react.default.createElement("button", {
|
|
45
46
|
"data-testid": testIdRemove,
|
|
46
47
|
onClick: function onClick() {
|
|
47
48
|
return removeItem();
|