@react-aria/focus
Advanced tools
Comparing version 3.0.0-nightly.2806 to 3.0.0-nightly.2811
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
373543
4193