Socket
Socket
Sign inDemoInstall

@react-aria/focus

Package Overview
Dependencies
6
Maintainers
2
Versions
694
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.0-nightly.2806 to 3.0.0-nightly.2811

3

dist/main.js

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

function $d5156037ad898a4d$var$isAttributeVisible(element, childElement) {
return !element.hasAttribute("hidden") && (element.nodeName === "DETAILS" && childElement && childElement.nodeName !== "SUMMARY" ? element.hasAttribute("open") : true);
return !element.hasAttribute("hidden") && // Ignore HiddenSelect when tree walking.
!(element.hasAttribute("data-a11y-ignore") && element.getAttribute("aria-hidden") === "true") && (element.nodeName === "DETAILS" && childElement && childElement.nodeName !== "SUMMARY" ? element.hasAttribute("open") : true);
}

@@ -103,0 +104,0 @@ function $d5156037ad898a4d$export$e989c0fffaa6b27a(element, childElement) {

@@ -80,3 +80,4 @@ import {useLayoutEffect as $6nfFC$useLayoutEffect, getOwnerDocument as $6nfFC$getOwnerDocument, runAfterTransition as $6nfFC$runAfterTransition, focusWithoutScrolling as $6nfFC$focusWithoutScrolling, getOwnerWindow as $6nfFC$getOwnerWindow, mergeProps as $6nfFC$mergeProps, useSyncRef as $6nfFC$useSyncRef, useObjectRef as $6nfFC$useObjectRef} from "@react-aria/utils";

function $645f2e67b85a24c9$var$isAttributeVisible(element, childElement) {
return !element.hasAttribute("hidden") && (element.nodeName === "DETAILS" && childElement && childElement.nodeName !== "SUMMARY" ? element.hasAttribute("open") : true);
return !element.hasAttribute("hidden") && // Ignore HiddenSelect when tree walking.
!(element.hasAttribute("data-a11y-ignore") && element.getAttribute("aria-hidden") === "true") && (element.nodeName === "DETAILS" && childElement && childElement.nodeName !== "SUMMARY" ? element.hasAttribute("open") : true);
}

@@ -83,0 +84,0 @@ function $645f2e67b85a24c9$export$e989c0fffaa6b27a(element, childElement) {

{
"name": "@react-aria/focus",
"version": "3.0.0-nightly.2806+1293adf00",
"version": "3.0.0-nightly.2811+784737eff",
"description": "Spectrum UI components in React",

@@ -25,5 +25,5 @@ "license": "Apache-2.0",

"dependencies": {
"@react-aria/interactions": "3.0.0-nightly.2806+1293adf00",
"@react-aria/utils": "3.0.0-nightly.2806+1293adf00",
"@react-types/shared": "3.0.0-nightly.2806+1293adf00",
"@react-aria/interactions": "3.0.0-nightly.2811+784737eff",
"@react-aria/utils": "3.0.0-nightly.2811+784737eff",
"@react-types/shared": "3.0.0-nightly.2811+784737eff",
"@swc/helpers": "^0.5.0",

@@ -38,3 +38,3 @@ "clsx": "^2.0.0"

},
"gitHead": "1293adf00a11ecac84ec9ab19af7dcea970af2b2"
"gitHead": "784737effd44b9d5e2b1316e690da44555eafd7e"
}

@@ -46,2 +46,4 @@ /*

!element.hasAttribute('hidden') &&
// Ignore HiddenSelect when tree walking.
!(element.hasAttribute('data-a11y-ignore') && element.getAttribute('aria-hidden') === 'true') &&
(element.nodeName === 'DETAILS' &&

@@ -48,0 +50,0 @@ childElement &&

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc