rc-select
Advanced tools
Comparing version 14.5.1 to 14.5.2
@@ -92,3 +92,3 @@ /** | ||
virtual?: boolean; | ||
direction?: "ltr" | "rtl"; | ||
direction?: 'ltr' | 'rtl'; | ||
listHeight?: number; | ||
@@ -95,0 +95,0 @@ listItemHeight?: number; |
@@ -165,3 +165,3 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
var optionLabel = option === null || option === void 0 ? void 0 : option[mergedFieldNames.label]; | ||
if (optionLabel !== undefined && optionLabel !== rawLabel) { | ||
if (optionLabel !== undefined && ! /*#__PURE__*/React.isValidElement(optionLabel) && ! /*#__PURE__*/React.isValidElement(rawLabel) && optionLabel !== rawLabel) { | ||
warning(false, '`label` of `value` is not same as `label` in Select options.'); | ||
@@ -168,0 +168,0 @@ } |
@@ -92,3 +92,3 @@ /** | ||
virtual?: boolean; | ||
direction?: "ltr" | "rtl"; | ||
direction?: 'ltr' | 'rtl'; | ||
listHeight?: number; | ||
@@ -95,0 +95,0 @@ listItemHeight?: number; |
@@ -144,3 +144,3 @@ "use strict"; | ||
var optionLabel = option === null || option === void 0 ? void 0 : option[mergedFieldNames.label]; | ||
if (optionLabel !== undefined && optionLabel !== rawLabel) { | ||
if (optionLabel !== undefined && ! /*#__PURE__*/React.isValidElement(optionLabel) && ! /*#__PURE__*/React.isValidElement(rawLabel) && optionLabel !== rawLabel) { | ||
(0, _warning.default)(false, '`label` of `value` is not same as `label` in Select options.'); | ||
@@ -147,0 +147,0 @@ } |
{ | ||
"name": "rc-select", | ||
"version": "14.5.1", | ||
"version": "14.5.2", | ||
"description": "React Select", | ||
@@ -5,0 +5,0 @@ "engines": { |
@@ -10,4 +10,5 @@ # rc-select | ||
[![build status][github-actions-image]][github-actions-url] | ||
[![Test coverage][codecov-image]][codecov-url] | ||
[![Codecov][codecov-image]][codecov-url] | ||
[![bundle size][bundlephobia-image]][bundlephobia-url] | ||
[![dumi][dumi-image]][dumi-url] | ||
@@ -30,2 +31,4 @@ [npm-image]: http://img.shields.io/npm/v/rc-select.svg?style=flat-square | ||
[bundlephobia-image]: https://badgen.net/bundlephobia/minzip/rc-select | ||
[dumi-url]: https://github.com/umijs/dumi | ||
[dumi-image]: https://img.shields.io/badge/docs%20by-dumi-blue?style=flat-square | ||
@@ -32,0 +35,0 @@ ## Screenshots |
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
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
324234
184