Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

@chakra-ui/checkbox

Package Overview
Dependencies
Maintainers
4
Versions
535
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chakra-ui/checkbox - npm Package Compare versions

Comparing version 1.5.4 to 1.5.5-next.0

19

CHANGELOG.md
# Change Log
## 1.5.5-next.0
### Patch Changes
- [`4c1071969`](https://github.com/chakra-ui/chakra-ui/commit/4c1071969a9b41a952b374f9990ac0bb89d24fa0)
[#4437](https://github.com/chakra-ui/chakra-ui/pull/4437) Thanks
[@Toxiapo](https://github.com/Toxiapo)! - Remove code that was added as a
workaround for pre-releases of React concurrent mode.
- Updated dependencies
[[`4c1071969`](https://github.com/chakra-ui/chakra-ui/commit/4c1071969a9b41a952b374f9990ac0bb89d24fa0),
[`d3d85956c`](https://github.com/chakra-ui/chakra-ui/commit/d3d85956c776b4768cfe21dabcf9292e01875d74),
[`43f66097b`](https://github.com/chakra-ui/chakra-ui/commit/43f66097b39f1c37a4627dd6ca8a85555f35b95c)]:
- @chakra-ui/utils@1.8.2-next.0
- @chakra-ui/system@1.7.2-next.0
- @chakra-ui/hooks@1.5.5-next.0
- @chakra-ui/react-utils@1.1.3-next.0
- @chakra-ui/visually-hidden@1.0.14-next.0
## 1.5.4

@@ -4,0 +23,0 @@

6

dist/cjs/use-checkbox.js

@@ -219,6 +219,2 @@ "use strict";

var onFocus = function onFocus() {
(0, _utils.scheduleMicrotask)(setFocused.on);
};
return _extends({}, props, {

@@ -232,3 +228,3 @@ ref: (0, _reactUtils.mergeRefs)(inputRef, forwardedRef),

onBlur: (0, _utils.callAllHandlers)(props.onBlur, onBlurProp, setFocused.off),
onFocus: (0, _utils.callAllHandlers)(props.onFocus, onFocusProp, onFocus),
onFocus: (0, _utils.callAllHandlers)(props.onFocus, onFocusProp, setFocused.on),
onKeyDown: (0, _utils.callAllHandlers)(props.onKeyDown, onKeyDown),

@@ -235,0 +231,0 @@ onKeyUp: (0, _utils.callAllHandlers)(props.onKeyUp, onKeyUp),

@@ -7,3 +7,3 @@ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }

import { mergeRefs } from "@chakra-ui/react-utils";
import { callAllHandlers, dataAttr, focus, scheduleMicrotask, warn } from "@chakra-ui/utils";
import { callAllHandlers, dataAttr, focus, warn } from "@chakra-ui/utils";
import { visuallyHiddenStyle } from "@chakra-ui/visually-hidden";

@@ -191,6 +191,2 @@ import { useCallback, useRef, useState } from "react";

var onFocus = () => {
scheduleMicrotask(setFocused.on);
};
return _extends({}, props, {

@@ -204,3 +200,3 @@ ref: mergeRefs(inputRef, forwardedRef),

onBlur: callAllHandlers(props.onBlur, onBlurProp, setFocused.off),
onFocus: callAllHandlers(props.onFocus, onFocusProp, onFocus),
onFocus: callAllHandlers(props.onFocus, onFocusProp, setFocused.on),
onKeyDown: callAllHandlers(props.onKeyDown, onKeyDown),

@@ -207,0 +203,0 @@ onKeyUp: callAllHandlers(props.onKeyUp, onKeyUp),

{
"name": "@chakra-ui/checkbox",
"version": "1.5.4",
"version": "1.5.5-next.0",
"description": "A React Checkbox component for use in forms",

@@ -40,3 +40,4 @@ "keywords": [

"type": "git",
"url": "git+https://github.com/chakra-ui/chakra-ui.git"
"url": "git+https://github.com/chakra-ui/chakra-ui.git",
"directory": "packages/checkbox"
},

@@ -61,9 +62,9 @@ "bugs": {

"dependencies": {
"@chakra-ui/hooks": "1.5.4",
"@chakra-ui/react-utils": "1.1.2",
"@chakra-ui/utils": "1.8.1",
"@chakra-ui/visually-hidden": "1.0.13"
"@chakra-ui/hooks": "1.5.5-next.0",
"@chakra-ui/react-utils": "1.1.3-next.0",
"@chakra-ui/utils": "1.8.2-next.0",
"@chakra-ui/visually-hidden": "1.0.14-next.0"
},
"devDependencies": {
"@chakra-ui/system": "1.7.1",
"@chakra-ui/system": "1.7.2-next.0",
"framer-motion": "^4.0.0",

@@ -73,3 +74,3 @@ "react": "^17.0.1"

"peerDependencies": {
"@chakra-ui/system": ">=1.0.0",
"@chakra-ui/system": ">=1.7.2-next.0",
"framer-motion": "3.x || 4.x",

@@ -76,0 +77,0 @@ "react": ">=16.8.6"

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

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