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

@chakra-ui/focus-lock

Package Overview
Dependencies
Maintainers
4
Versions
258
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chakra-ui/focus-lock - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

16

CHANGELOG.md
# Change Log
## 1.1.2
### Patch Changes
- [`9c143bfe5`](https://github.com/chakra-ui/chakra-ui/commit/9c143bfe5bbf180929fabb0a1b4c18d40f7fd3fc)
Thanks [@segunadebayo](https://github.com/segunadebayo)! - Update focus utils
to use `nextTick` option since its default value is now false in the focus
utils
> `@internal` use only
- Updated dependencies
[[`e748219f3`](https://github.com/chakra-ui/chakra-ui/commit/e748219f300f0c51b0eb304fce38b014d7bcbc86),
[`91ef14839`](https://github.com/chakra-ui/chakra-ui/commit/91ef148397187010804eb8f30307d2ec94c32c5b)]:
- @chakra-ui/utils@1.4.0
## 1.1.1

@@ -4,0 +20,0 @@

4

dist/cjs/index.js

@@ -35,3 +35,5 @@ "use strict";

if (focusables.length === 0) {
(0, _utils.focus)(contentRef.current);
(0, _utils.focus)(contentRef.current, {
nextTick: true
});
}

@@ -38,0 +40,0 @@ }

@@ -23,3 +23,5 @@ import * as React from "react";

if (focusables.length === 0) {
focus(contentRef.current);
focus(contentRef.current, {
nextTick: true
});
}

@@ -26,0 +28,0 @@ }

{
"name": "@chakra-ui/focus-lock",
"version": "1.1.1",
"version": "1.1.2",
"description": "React focus lock for all Chakra components",

@@ -54,3 +54,3 @@ "keywords": [

"dependencies": {
"@chakra-ui/utils": "1.3.0",
"@chakra-ui/utils": "1.4.0",
"react-focus-lock": "2.5.0"

@@ -57,0 +57,0 @@ },

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