intelicoreact 1.4.58 → 1.4.60
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.
|
@@ -32,6 +32,7 @@ const TagsDropdown = _ref => {
|
|
|
32
32
|
onChange,
|
|
33
33
|
className,
|
|
34
34
|
tagClassname,
|
|
35
|
+
listClassName,
|
|
35
36
|
onKeyPress = () => {},
|
|
36
37
|
placeholder,
|
|
37
38
|
label,
|
|
@@ -186,6 +187,7 @@ const TagsDropdown = _ref => {
|
|
|
186
187
|
const dropdownList = document.createElement("div");
|
|
187
188
|
dropdownList.setAttribute("id", dropdownId);
|
|
188
189
|
dropdownList.classList.add("tags-dropdown__container");
|
|
190
|
+
listClassName && dropdownList.classList.add(listClassName);
|
|
189
191
|
if (isMobile) {
|
|
190
192
|
dropdownList.addEventListener("click", e => {
|
|
191
193
|
if (e.target.id === dropdownId) setIsOpen(false);
|
|
@@ -26,7 +26,7 @@ const DoubleString = _ref => {
|
|
|
26
26
|
displayFormat = "MM.DD.YYYY"
|
|
27
27
|
} = {},
|
|
28
28
|
revert = false,
|
|
29
|
-
|
|
29
|
+
noTitle
|
|
30
30
|
} = _ref;
|
|
31
31
|
const computedValue = isFormatValueToDate ? (0, _moment.default)(value, parseFormat).format(displayFormat) : value;
|
|
32
32
|
const valueRef = (0, _react.useRef)(null);
|
|
@@ -61,14 +61,14 @@ const DoubleString = _ref => {
|
|
|
61
61
|
}, {
|
|
62
62
|
pointer: isUseOnClick
|
|
63
63
|
}),
|
|
64
|
-
title:
|
|
64
|
+
title: !noTitle && elemsWidth.valueWidth > 99 ? computedValue : ""
|
|
65
65
|
}, !revert ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, computedValue, valuePostfix && /*#__PURE__*/_react.default.createElement("span", {
|
|
66
66
|
className: (0, _classnames.default)("".concat(RC, "__value-postfix"))
|
|
67
67
|
}, valuePostfix)) : description), /*#__PURE__*/_react.default.createElement("p", {
|
|
68
68
|
ref: descriptionRef,
|
|
69
69
|
"data-testid": "doubleString--".concat(description, "--value"),
|
|
70
70
|
className: (0, _classnames.default)("".concat(RC, "__description")),
|
|
71
|
-
title: elemsWidth.descriptionWidth > 99 ? computedValue : ""
|
|
71
|
+
title: !noTitle && elemsWidth.descriptionWidth > 99 ? computedValue : ""
|
|
72
72
|
}, !revert ? description : /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, computedValue, valuePostfix && /*#__PURE__*/_react.default.createElement("span", {
|
|
73
73
|
className: (0, _classnames.default)("".concat(RC, "__value-postfix"))
|
|
74
74
|
}, valuePostfix))));
|