@uiw/react-checkbox
Advanced tools
Comparing version 4.4.1 to 4.5.0
@@ -39,2 +39,6 @@ "use strict"; | ||
if (values !== value) { | ||
setValues(value || []); | ||
} | ||
return /*#__PURE__*/_react.default.createElement("div", (0, _extends2.default)({}, other, { | ||
@@ -63,5 +67,5 @@ className: (0, _classnames.default)(prefixCls, className) | ||
}); | ||
setValues(val); | ||
} | ||
setValues(val); | ||
_onChange && _onChange(e, val); | ||
@@ -68,0 +72,0 @@ } |
@@ -24,2 +24,6 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
if (values !== value) { | ||
setValues(value || []); | ||
} | ||
return /*#__PURE__*/React.createElement("div", _extends({}, other, { | ||
@@ -49,5 +53,5 @@ className: classnames(prefixCls, className) | ||
}); | ||
setValues(val); | ||
} | ||
setValues(val); | ||
_onChange && _onChange(e, val); | ||
@@ -54,0 +58,0 @@ } |
{ | ||
"name": "@uiw/react-checkbox", | ||
"version": "4.4.1", | ||
"version": "4.5.0", | ||
"description": "Checkbox component", | ||
@@ -46,4 +46,4 @@ "author": "Kenny Wong <wowohoo@qq.com>", | ||
"dependencies": { | ||
"@uiw/react-radio": "^4.4.1", | ||
"@uiw/utils": "^4.4.1", | ||
"@uiw/react-radio": "^4.5.0", | ||
"@uiw/utils": "^4.5.0", | ||
"classnames": "2.2.6" | ||
@@ -59,3 +59,3 @@ }, | ||
}, | ||
"gitHead": "1c45ca41a3015e66b9c9108b7d3535f1533d13e7" | ||
"gitHead": "0449a884280afb11804c03620dcda29a4bd52023" | ||
} |
@@ -35,3 +35,3 @@ Checkbox 多选框 | ||
<!--DemoStart,noScroll,bgWhite,codePen--> | ||
<!--DemoStart,bgWhite,codePen--> | ||
```js | ||
@@ -38,0 +38,0 @@ import { Form, Checkbox, Row, Col, Button, Notify } from 'uiw'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
47167
481
Updated@uiw/react-radio@^4.5.0
Updated@uiw/utils@^4.5.0