@react-aria/listbox
Advanced tools
Comparing version
@@ -41,4 +41,2 @@ import { Key, DOMAttributes, KeyboardDelegate, LayoutDelegate, RefObject, FocusableElement } from "@react-types/shared"; | ||
shouldUseVirtualFocus?: boolean; | ||
/** Whether selection should occur on press up instead of press down. */ | ||
shouldSelectOnPressUp?: boolean; | ||
/** Whether options should be focused when the user hovers over them. */ | ||
@@ -45,0 +43,0 @@ shouldFocusOnHover?: boolean; |
@@ -108,3 +108,3 @@ var $87beb89ab4a308fd$exports = require("./utils.main.js"); | ||
isFocused: isFocused, | ||
isFocusVisible: isFocused && (0, $bOFHO$reactariainteractions.isFocusVisible)(), | ||
isFocusVisible: isFocused && state.selectionManager.isFocused && (0, $bOFHO$reactariainteractions.isFocusVisible)(), | ||
isSelected: isSelected, | ||
@@ -111,0 +111,0 @@ isDisabled: isDisabled, |
@@ -102,3 +102,3 @@ import {getItemId as $b1f0cad8af73213b$export$9145995848b05025, listData as $b1f0cad8af73213b$export$3585ede4d035bf14} from "./utils.module.js"; | ||
isFocused: isFocused, | ||
isFocusVisible: isFocused && (0, $fcwmx$isFocusVisible)(), | ||
isFocusVisible: isFocused && state.selectionManager.isFocused && (0, $fcwmx$isFocusVisible)(), | ||
isSelected: isSelected, | ||
@@ -105,0 +105,0 @@ isDisabled: isDisabled, |
{ | ||
"name": "@react-aria/listbox", | ||
"version": "3.0.0-nightly-2a1c28b83-250122", | ||
"version": "3.0.0-nightly-2d8e30f4f-250415", | ||
"description": "Spectrum UI components in React", | ||
@@ -25,10 +25,10 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@react-aria/interactions": "3.0.0-nightly-2a1c28b83-250122", | ||
"@react-aria/label": "3.0.0-nightly-2a1c28b83-250122", | ||
"@react-aria/selection": "3.0.0-nightly-2a1c28b83-250122", | ||
"@react-aria/utils": "3.0.0-nightly-2a1c28b83-250122", | ||
"@react-stately/collections": "3.0.0-nightly-2a1c28b83-250122", | ||
"@react-stately/list": "3.0.0-nightly-2a1c28b83-250122", | ||
"@react-types/listbox": "3.0.0-nightly-2a1c28b83-250122", | ||
"@react-types/shared": "3.0.0-nightly-2a1c28b83-250122", | ||
"@react-aria/interactions": "3.0.0-nightly-2d8e30f4f-250415", | ||
"@react-aria/label": "3.0.0-nightly-2d8e30f4f-250415", | ||
"@react-aria/selection": "3.0.0-nightly-2d8e30f4f-250415", | ||
"@react-aria/utils": "3.0.0-nightly-2d8e30f4f-250415", | ||
"@react-stately/collections": "3.0.0-nightly-2d8e30f4f-250415", | ||
"@react-stately/list": "3.0.0-nightly-2d8e30f4f-250415", | ||
"@react-types/listbox": "3.0.0-nightly-2d8e30f4f-250415", | ||
"@react-types/shared": "3.0.0-nightly-2d8e30f4f-250415", | ||
"@swc/helpers": "^0.5.0" | ||
@@ -35,0 +35,0 @@ }, |
@@ -51,5 +51,2 @@ /* | ||
/** Whether selection should occur on press up instead of press down. */ | ||
shouldSelectOnPressUp?: boolean, | ||
/** Whether options should be focused when the user hovers over them. */ | ||
@@ -56,0 +53,0 @@ shouldFocusOnHover?: boolean, |
@@ -170,3 +170,3 @@ /* | ||
isFocused, | ||
isFocusVisible: isFocused && isFocusVisible(), | ||
isFocusVisible: isFocused && state.selectionManager.isFocused && isFocusVisible(), | ||
isSelected, | ||
@@ -173,0 +173,0 @@ isDisabled, |
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
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
110603
-0.21%1283
-0.31%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
Updated
Updated