rc-cascader
Advanced tools
Comparing version 3.21.0 to 3.21.2
@@ -11,2 +11,3 @@ import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray"; | ||
values = _React$useContext.values; | ||
var firstValueCells = values[0]; | ||
@@ -21,7 +22,6 @@ // Record current dropdown active options | ||
if (open && !multiple) { | ||
var firstValueCells = values[0]; | ||
setActiveValueCells(firstValueCells || []); | ||
} | ||
}, /* eslint-disable react-hooks/exhaustive-deps */ | ||
[open] | ||
[open, firstValueCells] | ||
/* eslint-enable react-hooks/exhaustive-deps */); | ||
@@ -28,0 +28,0 @@ |
@@ -20,2 +20,3 @@ "use strict"; | ||
values = _React$useContext.values; | ||
var firstValueCells = values[0]; | ||
@@ -30,7 +31,6 @@ // Record current dropdown active options | ||
if (open && !multiple) { | ||
var firstValueCells = values[0]; | ||
setActiveValueCells(firstValueCells || []); | ||
} | ||
}, /* eslint-disable react-hooks/exhaustive-deps */ | ||
[open] | ||
[open, firstValueCells] | ||
/* eslint-enable react-hooks/exhaustive-deps */); | ||
@@ -37,0 +37,0 @@ |
{ | ||
"name": "rc-cascader", | ||
"version": "3.21.0", | ||
"version": "3.21.2", | ||
"description": "cascade select ui component for react", | ||
@@ -35,3 +35,3 @@ "keywords": [ | ||
"build": "dumi build", | ||
"deploy": "UMI_ENV=gh npm run build && gh-pages -d .doc", | ||
"deploy": "UMI_ENV=gh npm run build && gh-pages -d dist", | ||
"compile": "father build", | ||
@@ -54,3 +54,3 @@ "prepublishOnly": "npm run compile && np --no-cleanup --yolo --no-publish", | ||
"@types/warning": "^3.0.0", | ||
"@umijs/fabric": "^2.14.1", | ||
"@umijs/fabric": "^4.0.0", | ||
"cross-env": "^7.0.0", | ||
@@ -68,3 +68,3 @@ "dumi": "^2.1.10", | ||
"less": "^4.2.0", | ||
"np": "^7.6.0", | ||
"np": "^9.2.0", | ||
"prettier": "^3.1.0", | ||
@@ -81,3 +81,3 @@ "rc-form": "^2.4.0", | ||
"classnames": "^2.3.1", | ||
"rc-select": "~14.11.0-0", | ||
"rc-select": "~14.11.0", | ||
"rc-tree": "~5.8.1", | ||
@@ -84,0 +84,0 @@ "rc-util": "^5.37.0" |
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
188401
Updatedrc-select@~14.11.0