Socket
Book a DemoInstallSign in
Socket

@react-aria/dialog

Package Overview
Dependencies
Maintainers
2
Versions
1106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-aria/dialog - npm Package Compare versions

Comparing version

to
3.0.0-nightly-a8dbaf690-250812

3

dist/useDialog.main.js

@@ -39,3 +39,4 @@ var $HoXek$reactariautils = require("@react-aria/utils");

let timeout = setTimeout(()=>{
if (document.activeElement === ref.current) {
// Check that the dialog is still focused, or focused was lost to the body.
if (document.activeElement === ref.current || document.activeElement === document.body) {
isRefocusing.current = true;

@@ -42,0 +43,0 @@ if (ref.current) {

@@ -33,3 +33,4 @@ import {useSlotId as $i6df2$useSlotId, filterDOMProps as $i6df2$filterDOMProps} from "@react-aria/utils";

let timeout = setTimeout(()=>{
if (document.activeElement === ref.current) {
// Check that the dialog is still focused, or focused was lost to the body.
if (document.activeElement === ref.current || document.activeElement === document.body) {
isRefocusing.current = true;

@@ -36,0 +37,0 @@ if (ref.current) {

{
"name": "@react-aria/dialog",
"version": "3.0.0-nightly-a7b1a28e0-250707",
"version": "3.0.0-nightly-a8dbaf690-250812",
"description": "Spectrum UI components in React",

@@ -33,7 +33,7 @@ "license": "Apache-2.0",

"dependencies": {
"@react-aria/interactions": "3.0.0-nightly-a7b1a28e0-250707",
"@react-aria/overlays": "3.0.0-nightly-a7b1a28e0-250707",
"@react-aria/utils": "3.0.0-nightly-a7b1a28e0-250707",
"@react-types/dialog": "3.0.0-nightly-a7b1a28e0-250707",
"@react-types/shared": "3.0.0-nightly-a7b1a28e0-250707",
"@react-aria/interactions": "3.0.0-nightly-a8dbaf690-250812",
"@react-aria/overlays": "3.0.0-nightly-a8dbaf690-250812",
"@react-aria/utils": "3.0.0-nightly-a8dbaf690-250812",
"@react-types/dialog": "3.0.0-nightly-a8dbaf690-250812",
"@react-types/shared": "3.0.0-nightly-a8dbaf690-250812",
"@swc/helpers": "^0.5.0"

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

@@ -50,3 +50,4 @@ /*

let timeout = setTimeout(() => {
if (document.activeElement === ref.current) {
// Check that the dialog is still focused, or focused was lost to the body.
if (document.activeElement === ref.current || document.activeElement === document.body) {
isRefocusing.current = true;

@@ -53,0 +54,0 @@ if (ref.current) {

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

Sorry, the diff of this file is not supported yet