Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
Socket
Socket
Sign inDemoInstall

@react-stately/selection

Package Overview
Dependencies
5
Maintainers
2
Versions
703
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.0-nightly.2816 to 3.0.0-nightly.2821

4

dist/main.js

@@ -417,2 +417,6 @@ var $83d9f$reactstatelyutils = require("@react-stately/utils");

}
getItemProps(key) {
var _this_collection_getItem;
return (_this_collection_getItem = this.collection.getItem(key)) === null || _this_collection_getItem === void 0 ? void 0 : _this_collection_getItem.props;
}
constructor(collection, state, options){

@@ -419,0 +423,0 @@ this.collection = collection;

@@ -410,2 +410,6 @@ import {useControlledState as $Qsto2$useControlledState} from "@react-stately/utils";

}
getItemProps(key) {
var _this_collection_getItem;
return (_this_collection_getItem = this.collection.getItem(key)) === null || _this_collection_getItem === void 0 ? void 0 : _this_collection_getItem.props;
}
constructor(collection, state, options){

@@ -412,0 +416,0 @@ this.collection = collection;

@@ -92,2 +92,4 @@ import { DisabledBehavior, FocusStrategy, Key, LongPressEvent, PressEvent, Selection, SelectionBehavior, SelectionMode, MultipleSelection, Collection, Node } from "@react-types/shared";

isLink(key: Key): boolean;
/** Returns the props for the given item. */
getItemProps(key: Key): any;
}

@@ -209,4 +211,5 @@ export interface MultipleSelectionStateProps extends MultipleSelection {

isLink(key: Key): boolean;
getItemProps(key: Key): any;
}
//# sourceMappingURL=types.d.ts.map

10

package.json
{
"name": "@react-stately/selection",
"version": "3.0.0-nightly.2816+3ebcc660d",
"version": "3.0.0-nightly.2821+23182926f",
"description": "Spectrum UI components in React",

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

"dependencies": {
"@react-stately/collections": "3.0.0-nightly.2816+3ebcc660d",
"@react-stately/utils": "3.0.0-nightly.2816+3ebcc660d",
"@react-types/shared": "3.0.0-nightly.2816+3ebcc660d",
"@react-stately/collections": "3.0.0-nightly.2821+23182926f",
"@react-stately/utils": "3.0.0-nightly.2821+23182926f",
"@react-types/shared": "3.0.0-nightly.2821+23182926f",
"@swc/helpers": "^0.5.0"

@@ -37,3 +37,3 @@ },

},
"gitHead": "3ebcc660dd5abfae62ec9002a938916828ce05aa"
"gitHead": "23182926f918b70199e01d735a09d73438c944be"
}

@@ -497,2 +497,6 @@ /*

}
getItemProps(key: Key) {
return this.collection.getItem(key)?.props;
}
}

@@ -108,3 +108,5 @@ /*

/** Returns whether the given key is a hyperlink. */
isLink(key: Key): boolean
isLink(key: Key): boolean,
/** Returns the props for the given item. */
getItemProps(key: Key): any
}

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc