Socket
Socket
Sign inDemoInstall

@chakra-ui/button

Package Overview
Dependencies
Maintainers
4
Versions
456
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chakra-ui/button - npm Package Compare versions

Comparing version 1.4.2 to 1.4.3

9

CHANGELOG.md
# 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 @@

4

dist/cjs/button.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc