intelicoreact 1.3.15 → 1.3.16
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.
|
@@ -298,7 +298,7 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
298
298
|
var depend = getDepends(modalBtnTrigger);
|
|
299
299
|
|
|
300
300
|
var getMarkupForElement = function getMarkupForElement(item, index, optTestId) {
|
|
301
|
-
var _item$value, _item$value$toString, _item$value2, _item$value2$toString, _cn;
|
|
301
|
+
var _item$value, _item$value$toString, _item$value2, _item$value2$toString, _cn, _item$customMobileIco;
|
|
302
302
|
|
|
303
303
|
return /*#__PURE__*/_react.default.createElement("button", {
|
|
304
304
|
"data-testid": "dropdown--button--key-".concat(optTestId || (item === null || item === void 0 ? void 0 : (_item$value = item.value) === null || _item$value === void 0 ? void 0 : (_item$value$toString = _item$value.toString()) === null || _item$value$toString === void 0 ? void 0 : _item$value$toString.replace(/\s/, '-')) || (item === null || item === void 0 ? void 0 : item.key) || 'item', "--option"),
|
|
@@ -314,10 +314,10 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
314
314
|
dangerouslySetInnerHTML: {
|
|
315
315
|
__html: hightlightedText(item.label, item.postfix, item.description)
|
|
316
316
|
}
|
|
317
|
-
}), (item === null || item === void 0 ? void 0 : item.icon) || '', isMobile && /*#__PURE__*/_react.default.createElement(_RadioInput.default, {
|
|
317
|
+
}), (item === null || item === void 0 ? void 0 : item.icon) || '', isMobile ? (_item$customMobileIco = item === null || item === void 0 ? void 0 : item.customMobileIcon) !== null && _item$customMobileIco !== void 0 ? _item$customMobileIco : /*#__PURE__*/_react.default.createElement(_RadioInput.default, {
|
|
318
318
|
value: item.value,
|
|
319
319
|
checked: value
|
|
320
|
-
}));
|
|
320
|
+
}) : '');
|
|
321
321
|
};
|
|
322
322
|
|
|
323
323
|
var filteredOptionList = function filteredOptionList(filteredOption) {
|