@chakra-ui/counter
Advanced tools
Comparing version 1.0.1 to 1.0.2
# Change Log | ||
## 1.0.2 | ||
### Patch Changes | ||
- Updated dependencies | ||
[[`e73878ee`](https://github.com/chakra-ui/chakra-ui/commit/e73878ee686c11d3f94ad6ac61b19ae9508d75a5)]: | ||
- @chakra-ui/utils@1.0.2 | ||
- @chakra-ui/hooks@1.0.2 | ||
## 1.0.1 | ||
@@ -4,0 +13,0 @@ |
@@ -89,3 +89,3 @@ "use strict"; | ||
update(next); | ||
}, [clamp, props.min, stepProp, update, value]); | ||
}, [clamp, stepProp, update, value]); | ||
var decrement = (0, _react.useCallback)(function (step) { | ||
@@ -106,3 +106,3 @@ if (step === void 0) { | ||
update(next); | ||
}, [clamp, props.min, stepProp, update, value]); | ||
}, [clamp, stepProp, update, value]); | ||
var reset = (0, _react.useCallback)(function () { | ||
@@ -109,0 +109,0 @@ var next; |
@@ -71,3 +71,3 @@ import { useControllableProp } from "@chakra-ui/hooks"; | ||
update(next); | ||
}, [clamp, props.min, stepProp, update, value]); | ||
}, [clamp, stepProp, update, value]); | ||
var decrement = useCallback(function (step) { | ||
@@ -88,3 +88,3 @@ if (step === void 0) { | ||
update(next); | ||
}, [clamp, props.min, stepProp, update, value]); | ||
}, [clamp, stepProp, update, value]); | ||
var reset = useCallback(() => { | ||
@@ -91,0 +91,0 @@ var next; |
{ | ||
"name": "@chakra-ui/counter", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "A React hook for managing counters", | ||
@@ -58,4 +58,4 @@ "keywords": [ | ||
"dependencies": { | ||
"@chakra-ui/hooks": "1.0.1", | ||
"@chakra-ui/utils": "1.0.1" | ||
"@chakra-ui/hooks": "1.0.2", | ||
"@chakra-ui/utils": "1.0.2" | ||
}, | ||
@@ -62,0 +62,0 @@ "peerDependencies": { |
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
38177
+ Added@chakra-ui/hooks@1.0.2(transitive)
+ Added@chakra-ui/utils@1.0.2(transitive)
- Removed@chakra-ui/hooks@1.0.1(transitive)
- Removed@chakra-ui/utils@1.0.1(transitive)
Updated@chakra-ui/hooks@1.0.2
Updated@chakra-ui/utils@1.0.2