🚀 Socket Launch Week 🚀 Day 5: Introducing Socket Fix.Learn More
Socket
Sign inDemoInstall
Socket

@react-aria/listbox

Package Overview
Dependencies
Maintainers
2
Versions
957
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-aria/listbox - npm Package Compare versions

Comparing version

to
3.0.0-nightly-2d8e30f4f-250415

2

dist/types.d.ts

@@ -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;

2

dist/useOption.main.js

@@ -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