New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@react-stately/selection

Package Overview
Dependencies
Maintainers
2
Versions
915
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-stately/selection - npm Package Compare versions

Comparing version 3.0.0-nightly-f90799b33-241206 to 3.0.0-nightly-f90f4899f-250227

6

dist/SelectionManager.main.js

@@ -306,2 +306,8 @@ var $21c847070f1f9569$exports = require("./Selection.main.js");

}
withCollection(collection) {
return new $8112da6fa5bbc322$export$6c8a5aaad13c9852(collection, this.state, {
allowsCellSelection: this.allowsCellSelection,
layoutDelegate: this.layoutDelegate || undefined
});
}
constructor(collection, state, options){

@@ -308,0 +314,0 @@ this.collection = collection;

@@ -300,2 +300,8 @@ import {Selection as $e40ea825a81a3709$export$52baac22726c72bf} from "./Selection.module.js";

}
withCollection(collection) {
return new $d496c0a20b6e58ec$export$6c8a5aaad13c9852(collection, this.state, {
allowsCellSelection: this.allowsCellSelection,
layoutDelegate: this.layoutDelegate || undefined
});
}
constructor(collection, state, options){

@@ -302,0 +308,0 @@ this.collection = collection;

5

dist/types.d.ts

@@ -1,2 +0,2 @@

import { DisabledBehavior, FocusStrategy, Key, LongPressEvent, PressEvent, Selection, SelectionBehavior, SelectionMode, MultipleSelection, Collection, LayoutDelegate, Node } from "@react-types/shared";
import { Collection, DisabledBehavior, FocusStrategy, Key, LongPressEvent, Node, PressEvent, Selection, SelectionBehavior, SelectionMode, MultipleSelection, LayoutDelegate } from "@react-types/shared";
export interface FocusState {

@@ -94,2 +94,4 @@ /** Whether the collection is currently focused. */

getItemProps(key: Key): any;
/** The collection of nodes that the selection manager handles. */
collection: Collection<Node<unknown>>;
}

@@ -214,4 +216,5 @@ export interface MultipleSelectionStateProps extends MultipleSelection {

getItemProps(key: Key): any;
withCollection(collection: Collection<Node<unknown>>): SelectionManager;
}
//# sourceMappingURL=types.d.ts.map

11

package.json
{
"name": "@react-stately/selection",
"version": "3.0.0-nightly-f90799b33-241206",
"version": "3.0.0-nightly-f90f4899f-250227",
"description": "Spectrum UI components in React",

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

"dependencies": {
"@react-stately/collections": "^3.0.0-nightly-f90799b33-241206",
"@react-stately/utils": "^3.0.0-nightly-f90799b33-241206",
"@react-types/shared": "^3.0.0-nightly-f90799b33-241206",
"@react-stately/collections": "3.0.0-nightly-f90f4899f-250227",
"@react-stately/utils": "3.0.0-nightly-f90f4899f-250227",
"@react-types/shared": "3.0.0-nightly-f90f4899f-250227",
"@swc/helpers": "^0.5.0"

@@ -36,4 +36,3 @@ },

"access": "public"
},
"stableVersion": "3.18.0"
}
}

@@ -515,2 +515,9 @@ /*

}
withCollection(collection: Collection<Node<unknown>>) {
return new SelectionManager(collection, this.state, {
allowsCellSelection: this.allowsCellSelection,
layoutDelegate: this.layoutDelegate || undefined
});
}
}

@@ -13,3 +13,3 @@ /*

import {DisabledBehavior, FocusStrategy, Key, LongPressEvent, PressEvent, Selection, SelectionBehavior, SelectionMode} from '@react-types/shared';
import {Collection, DisabledBehavior, FocusStrategy, Key, LongPressEvent, Node, PressEvent, Selection, SelectionBehavior, SelectionMode} from '@react-types/shared';

@@ -111,3 +111,5 @@

/** Returns the props for the given item. */
getItemProps(key: Key): any
getItemProps(key: Key): any,
/** The collection of nodes that the selection manager handles. */
collection: Collection<Node<unknown>>
}

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