Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@react-aria/listbox

Package Overview
Dependencies
Maintainers
2
Versions
831
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 3.0.0-nightly-ab9fd5c68-241126 to 3.0.0-nightly-adae13c78-241218

6

dist/useOption.main.js

@@ -69,2 +69,3 @@ var $87beb89ab4a308fd$exports = require("./utils.main.js");

} : undefined;
let id = (0, $87beb89ab4a308fd$exports.getItemId)(state, key);
let { itemProps: itemProps, isPressed: isPressed, isFocused: isFocused, hasAction: hasAction, allowsSelection: allowsSelection } = (0, $bOFHO$reactariaselection.useSelectableItem)({

@@ -80,3 +81,4 @@ selectionManager: state.selectionManager,

onAction: onAction || (item === null || item === void 0 ? void 0 : (_item_props = item.props) === null || _item_props === void 0 ? void 0 : _item_props.onAction) ? (0, $bOFHO$reactariautils.chain)(item === null || item === void 0 ? void 0 : (_item_props1 = item.props) === null || _item_props1 === void 0 ? void 0 : _item_props1.onAction, onAction) : undefined,
linkBehavior: data === null || data === void 0 ? void 0 : data.linkBehavior
linkBehavior: data === null || data === void 0 ? void 0 : data.linkBehavior,
id: id
});

@@ -99,3 +101,3 @@ let { hoverProps: hoverProps } = (0, $bOFHO$reactariainteractions.useHover)({

...(0, $bOFHO$reactariautils.mergeProps)(domProps, itemProps, hoverProps, linkProps),
id: (0, $87beb89ab4a308fd$exports.getItemId)(state, key)
id: id
},

@@ -102,0 +104,0 @@ labelProps: {

@@ -63,2 +63,3 @@ import {getItemId as $b1f0cad8af73213b$export$9145995848b05025, listData as $b1f0cad8af73213b$export$3585ede4d035bf14} from "./utils.module.js";

} : undefined;
let id = (0, $b1f0cad8af73213b$export$9145995848b05025)(state, key);
let { itemProps: itemProps, isPressed: isPressed, isFocused: isFocused, hasAction: hasAction, allowsSelection: allowsSelection } = (0, $fcwmx$useSelectableItem)({

@@ -74,3 +75,4 @@ selectionManager: state.selectionManager,

onAction: onAction || (item === null || item === void 0 ? void 0 : (_item_props = item.props) === null || _item_props === void 0 ? void 0 : _item_props.onAction) ? (0, $fcwmx$chain)(item === null || item === void 0 ? void 0 : (_item_props1 = item.props) === null || _item_props1 === void 0 ? void 0 : _item_props1.onAction, onAction) : undefined,
linkBehavior: data === null || data === void 0 ? void 0 : data.linkBehavior
linkBehavior: data === null || data === void 0 ? void 0 : data.linkBehavior,
id: id
});

@@ -93,3 +95,3 @@ let { hoverProps: hoverProps } = (0, $fcwmx$useHover)({

...(0, $fcwmx$mergeProps)(domProps, itemProps, hoverProps, linkProps),
id: (0, $b1f0cad8af73213b$export$9145995848b05025)(state, key)
id: id
},

@@ -96,0 +98,0 @@ labelProps: {

{
"name": "@react-aria/listbox",
"version": "3.0.0-nightly-ab9fd5c68-241126",
"version": "3.0.0-nightly-adae13c78-241218",
"description": "Spectrum UI components in React",

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

"dependencies": {
"@react-aria/interactions": "^3.0.0-nightly-ab9fd5c68-241126",
"@react-aria/label": "^3.0.0-nightly-ab9fd5c68-241126",
"@react-aria/selection": "^3.0.0-nightly-ab9fd5c68-241126",
"@react-aria/utils": "^3.0.0-nightly-ab9fd5c68-241126",
"@react-stately/collections": "^3.0.0-nightly-ab9fd5c68-241126",
"@react-stately/list": "^3.0.0-nightly-ab9fd5c68-241126",
"@react-types/listbox": "^3.0.0-nightly-ab9fd5c68-241126",
"@react-types/shared": "^3.0.0-nightly-ab9fd5c68-241126",
"@react-aria/interactions": "3.0.0-nightly-adae13c78-241218",
"@react-aria/label": "3.0.0-nightly-adae13c78-241218",
"@react-aria/selection": "3.0.0-nightly-adae13c78-241218",
"@react-aria/utils": "3.0.0-nightly-adae13c78-241218",
"@react-stately/collections": "3.0.0-nightly-adae13c78-241218",
"@react-stately/list": "3.0.0-nightly-adae13c78-241218",
"@react-types/listbox": "3.0.0-nightly-adae13c78-241218",
"@react-types/shared": "3.0.0-nightly-adae13c78-241218",
"@swc/helpers": "^0.5.0"

@@ -42,4 +42,3 @@ },

"access": "public"
},
"stableVersion": "3.13.6"
}
}

@@ -128,2 +128,3 @@ /*

let onAction = data?.onAction ? () => data?.onAction?.(key) : undefined;
let id = getItemId(state, key);
let {itemProps, isPressed, isFocused, hasAction, allowsSelection} = useSelectableItem({

@@ -139,3 +140,4 @@ selectionManager: state.selectionManager,

onAction: onAction || item?.props?.onAction ? chain(item?.props?.onAction, onAction) : undefined,
linkBehavior: data?.linkBehavior
linkBehavior: data?.linkBehavior,
id
});

@@ -161,3 +163,3 @@

...mergeProps(domProps, itemProps, hoverProps, linkProps),
id: getItemId(state, key)
id
},

@@ -164,0 +166,0 @@ labelProps: {

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc