@luminati-io/uikit 3.4.0 → 3.4.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -39749,7 +39749,7 @@ var ItemList = function ItemList(props) {
39749
39749
  onRemove: function onRemove() {
39750
39750
  return _onRemove(val);
39751
39751
  },
39752
- showRemove: !isItemDisabled && !isItemDisabled(val)
39752
+ showRemove: !isItemDisabled || !isItemDisabled(val)
39753
39753
  });
39754
39754
  }), extra > 0 && /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_1___default().createElement(Item, {
39755
39755
  key: "extra",
@@ -39942,7 +39942,7 @@ var TextboxList = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().forw
39942
39942
  }, [value, onRemove, onChange]);
39943
39943
  var handleIsItemDisabled = (0,react__WEBPACK_IMPORTED_MODULE_0__.useCallback)(function (val) {
39944
39944
  if (disabled) return true;
39945
- return !isItemDisabled && !isItemDisabled(val);
39945
+ return isItemDisabled ? isItemDisabled(val) : false;
39946
39946
  }, [disabled, isItemDisabled]);
39947
39947
  var labelId = (0,_hooks__WEBPACK_IMPORTED_MODULE_2__.useLabelId)(props.id);
39948
39948
  return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default().createElement(_layout__WEBPACK_IMPORTED_MODULE_3__.Flex, _extends({