intelicoreact 0.2.87 → 0.2.88
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.
|
@@ -49,7 +49,7 @@ var CheckboxInput = function CheckboxInput(_ref) {
|
|
|
49
49
|
ref: function ref(elem) {
|
|
50
50
|
if (elem) elem.indeterminate = isStark;
|
|
51
51
|
},
|
|
52
|
-
"data-testid": "checkbox--input--".concat(testId || id || key
|
|
52
|
+
"data-testid": "checkbox--input--".concat(testId || id || key)
|
|
53
53
|
})), /*#__PURE__*/_react.default.createElement("span", {
|
|
54
54
|
className: "checkbox-input__mark"
|
|
55
55
|
})), label && /*#__PURE__*/_react.default.createElement("div", {
|
|
@@ -183,7 +183,7 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
183
183
|
var _item$label2, _item$label2$toLowerC, _item$label2$toLowerC2, _item$label2$toLowerC3, _searchValue$toLowerC;
|
|
184
184
|
|
|
185
185
|
return item !== null && item !== void 0 && (_item$label2 = item.label) !== null && _item$label2 !== void 0 && (_item$label2$toLowerC = _item$label2.toLowerCase) !== null && _item$label2$toLowerC !== void 0 && (_item$label2$toLowerC2 = _item$label2$toLowerC.call(_item$label2)) !== null && _item$label2$toLowerC2 !== void 0 && (_item$label2$toLowerC3 = _item$label2$toLowerC2.includes) !== null && _item$label2$toLowerC3 !== void 0 && _item$label2$toLowerC3.call(_item$label2$toLowerC2, (searchValue === null || searchValue === void 0 ? void 0 : (_searchValue$toLowerC = searchValue.toLowerCase) === null || _searchValue$toLowerC === void 0 ? void 0 : _searchValue$toLowerC.call(searchValue)) || '') ? /*#__PURE__*/_react.default.createElement("button", {
|
|
186
|
-
"data-testid": "dropdown--".concat(optTestId ||
|
|
186
|
+
"data-testid": "dropdown--button--key-".concat(optTestId || (item === null || item === void 0 ? void 0 : item.value.replace(/\s/, '-')) || (item === null || item === void 0 ? void 0 : item.key) || 'item', "--option"),
|
|
187
187
|
key: item.value,
|
|
188
188
|
onClick: function onClick() {
|
|
189
189
|
return depend.onChange(item);
|