@chakra-ui/button
Advanced tools
Comparing version 1.4.2 to 1.4.3
# Change Log | ||
## 1.4.3 | ||
### Patch Changes | ||
- [`87ffdd1cb`](https://github.com/chakra-ui/chakra-ui/commit/87ffdd1cb615e9d4bc8a9af66fb6ae9ef1563caf) | ||
Thanks [@segunadebayo](https://github.com/segunadebayo)! - Fix issue where | ||
composing `Button` with framer-motion's `motion` factory breaks | ||
animation/transition | ||
## 1.4.2 | ||
@@ -4,0 +13,0 @@ |
@@ -6,3 +6,3 @@ "use strict"; | ||
var _reactUtils = require("@chakra-ui/react-utils"); | ||
var _hooks = require("@chakra-ui/hooks"); | ||
@@ -97,3 +97,3 @@ var _system = require("@chakra-ui/system"); | ||
disabled: isDisabled || isLoading, | ||
ref: (0, _reactUtils.mergeRefs)(ref, _ref), | ||
ref: (0, _hooks.useMergeRefs)(ref, _ref), | ||
as: as, | ||
@@ -100,0 +100,0 @@ type: type != null ? type : defaultType, |
@@ -5,3 +5,3 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; } | ||
import { mergeRefs } from "@chakra-ui/react-utils"; | ||
import { useMergeRefs } from "@chakra-ui/hooks"; | ||
import { chakra, forwardRef, omitThemingProps, useStyleConfig } from "@chakra-ui/system"; | ||
@@ -78,3 +78,3 @@ import { cx, dataAttr, mergeWith, __DEV__ } from "@chakra-ui/utils"; | ||
disabled: isDisabled || isLoading, | ||
ref: mergeRefs(ref, _ref), | ||
ref: useMergeRefs(ref, _ref), | ||
as: as, | ||
@@ -81,0 +81,0 @@ type: type != null ? type : defaultType, |
{ | ||
"name": "@chakra-ui/button", | ||
"version": "1.4.2", | ||
"version": "1.4.3", | ||
"description": "A React component that is a base button.", | ||
@@ -57,7 +57,7 @@ "keywords": [ | ||
"devDependencies": { | ||
"@chakra-ui/system": "1.7.2", | ||
"@chakra-ui/system": "1.7.3", | ||
"react": "^17.0.1" | ||
}, | ||
"dependencies": { | ||
"@chakra-ui/react-utils": "1.1.2", | ||
"@chakra-ui/hooks": "1.6.0", | ||
"@chakra-ui/spinner": "1.1.12", | ||
@@ -64,0 +64,0 @@ "@chakra-ui/utils": "1.8.2" |
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
104325
+ Added@chakra-ui/hooks@1.6.0
+ Added@chakra-ui/hooks@1.6.0(transitive)
+ Addedcompute-scroll-into-view@1.0.14(transitive)
+ Addedcopy-to-clipboard@3.3.1(transitive)
+ Addedtoggle-selection@1.0.6(transitive)
- Removed@chakra-ui/react-utils@1.1.2