@react-stately/selection
Advanced tools
Comparing version 3.0.0-nightly-326f48154-241216 to 3.0.0-nightly-3e1c5183f-250123
@@ -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>>; | ||
} | ||
@@ -96,0 +98,0 @@ export interface MultipleSelectionStateProps extends MultipleSelection { |
{ | ||
"name": "@react-stately/selection", | ||
"version": "3.0.0-nightly-326f48154-241216", | ||
"version": "3.0.0-nightly-3e1c5183f-250123", | ||
"description": "Spectrum UI components in React", | ||
@@ -25,5 +25,5 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@react-stately/collections": "3.0.0-nightly-326f48154-241216", | ||
"@react-stately/utils": "3.0.0-nightly-326f48154-241216", | ||
"@react-types/shared": "3.0.0-nightly-326f48154-241216", | ||
"@react-stately/collections": "3.0.0-nightly-3e1c5183f-250123", | ||
"@react-stately/utils": "3.0.0-nightly-3e1c5183f-250123", | ||
"@react-types/shared": "3.0.0-nightly-3e1c5183f-250123", | ||
"@swc/helpers": "^0.5.0" | ||
@@ -30,0 +30,0 @@ }, |
@@ -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
172059
2256
+ Added@react-stately/collections@3.0.0-nightly-3e1c5183f-250123(transitive)
+ Added@react-stately/utils@3.0.0-nightly-3e1c5183f-250123(transitive)
+ Added@react-types/shared@3.0.0-nightly-3e1c5183f-250123(transitive)
- Removed@react-stately/collections@3.0.0-nightly-326f48154-241216(transitive)
- Removed@react-stately/utils@3.0.0-nightly-326f48154-241216(transitive)
- Removed@react-types/shared@3.0.0-nightly-326f48154-241216(transitive)
Updated@react-stately/collections@3.0.0-nightly-3e1c5183f-250123