rc-select
Advanced tools
Comparing version 14.4.2 to 14.4.3-0
@@ -91,7 +91,14 @@ import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray"; | ||
maxLength: combobox ? maxLength : undefined | ||
})), !combobox && item && !hasTextInput && /*#__PURE__*/React.createElement("span", { | ||
})), !combobox && item ? /*#__PURE__*/React.createElement("span", { | ||
className: "".concat(prefixCls, "-selection-item"), | ||
title: selectionTitle | ||
}, item.label), renderPlaceholder()); | ||
// 当 Select 已经选中选项时,还需 selection 隐藏但留在原地占位 | ||
// https://github.com/ant-design/ant-design/issues/27688 | ||
// https://github.com/ant-design/ant-design/issues/41530 | ||
, | ||
style: hasTextInput ? { | ||
visibility: 'hidden' | ||
} : undefined | ||
}, item.label) : null, renderPlaceholder()); | ||
}; | ||
export default SingleSelector; |
@@ -101,8 +101,15 @@ "use strict"; | ||
maxLength: combobox ? maxLength : undefined | ||
})), !combobox && item && !hasTextInput && /*#__PURE__*/React.createElement("span", { | ||
})), !combobox && item ? /*#__PURE__*/React.createElement("span", { | ||
className: "".concat(prefixCls, "-selection-item"), | ||
title: selectionTitle | ||
}, item.label), renderPlaceholder()); | ||
// 当 Select 已经选中选项时,还需 selection 隐藏但留在原地占位 | ||
// https://github.com/ant-design/ant-design/issues/27688 | ||
// https://github.com/ant-design/ant-design/issues/41530 | ||
, | ||
style: hasTextInput ? { | ||
visibility: 'hidden' | ||
} : undefined | ||
}, item.label) : null, renderPlaceholder()); | ||
}; | ||
var _default = SingleSelector; | ||
exports.default = _default; |
{ | ||
"name": "rc-select", | ||
"version": "14.4.2", | ||
"version": "14.4.3-0", | ||
"description": "React Select", | ||
@@ -5,0 +5,0 @@ "engines": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
322992
6863
1