@react-aria/gridlist
Advanced tools
Comparing version 3.0.0-nightly-7eae25e12-241205 to 3.0.0-nightly-801ef48a8-250207
@@ -1,2 +0,2 @@ | ||
import { AriaLabelingProps, CollectionBase, DisabledBehavior, DOMAttributes, DOMProps, Key, KeyboardDelegate, LayoutDelegate, MultipleSelection, RefObject, FocusableElement, Node } from "@react-types/shared"; | ||
import { AriaLabelingProps, CollectionBase, DisabledBehavior, DOMAttributes, DOMProps, FocusStrategy, Key, KeyboardDelegate, LayoutDelegate, MultipleSelection, RefObject, FocusableElement, Node } from "@react-types/shared"; | ||
import { ListState } from "@react-stately/list"; | ||
@@ -7,2 +7,4 @@ import { SelectableItemStates } from "@react-aria/selection"; | ||
export interface GridListProps<T> extends CollectionBase<T>, MultipleSelection { | ||
/** Whether to auto focus the gridlist or an option. */ | ||
autoFocus?: boolean | FocusStrategy; | ||
/** | ||
@@ -9,0 +11,0 @@ * Handler that is called when a user performs an action on an item. The exact user event depends on |
@@ -41,3 +41,4 @@ var $7db02799adae605d$exports = require("./utils.main.js"); | ||
shouldFocusWrap: props.shouldFocusWrap, | ||
linkBehavior: linkBehavior | ||
linkBehavior: linkBehavior, | ||
autoFocus: props.autoFocus | ||
}); | ||
@@ -44,0 +45,0 @@ let id = (0, $i2dnl$reactariautils.useId)(props.id); |
@@ -35,3 +35,4 @@ import {listMap as $ce9b18daab526bbd$export$5b9bb410392e3991} from "./utils.module.js"; | ||
shouldFocusWrap: props.shouldFocusWrap, | ||
linkBehavior: linkBehavior | ||
linkBehavior: linkBehavior, | ||
autoFocus: props.autoFocus | ||
}); | ||
@@ -38,0 +39,0 @@ let id = (0, $lnALe$useId)(props.id); |
{ | ||
"name": "@react-aria/gridlist", | ||
"version": "3.0.0-nightly-7eae25e12-241205", | ||
"version": "3.0.0-nightly-801ef48a8-250207", | ||
"description": "Spectrum UI components in React", | ||
@@ -25,12 +25,12 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@react-aria/focus": "^3.0.0-nightly-7eae25e12-241205", | ||
"@react-aria/grid": "^3.0.0-nightly-7eae25e12-241205", | ||
"@react-aria/i18n": "^3.0.0-nightly-7eae25e12-241205", | ||
"@react-aria/interactions": "^3.0.0-nightly-7eae25e12-241205", | ||
"@react-aria/selection": "^3.0.0-nightly-7eae25e12-241205", | ||
"@react-aria/utils": "^3.0.0-nightly-7eae25e12-241205", | ||
"@react-stately/collections": "^3.0.0-nightly-7eae25e12-241205", | ||
"@react-stately/list": "^3.0.0-nightly-7eae25e12-241205", | ||
"@react-stately/tree": "^3.0.0-nightly-7eae25e12-241205", | ||
"@react-types/shared": "^3.0.0-nightly-7eae25e12-241205", | ||
"@react-aria/focus": "3.0.0-nightly-801ef48a8-250207", | ||
"@react-aria/grid": "3.0.0-nightly-801ef48a8-250207", | ||
"@react-aria/i18n": "3.0.0-nightly-801ef48a8-250207", | ||
"@react-aria/interactions": "3.0.0-nightly-801ef48a8-250207", | ||
"@react-aria/selection": "3.0.0-nightly-801ef48a8-250207", | ||
"@react-aria/utils": "3.0.0-nightly-801ef48a8-250207", | ||
"@react-stately/collections": "3.0.0-nightly-801ef48a8-250207", | ||
"@react-stately/list": "3.0.0-nightly-801ef48a8-250207", | ||
"@react-stately/tree": "3.0.0-nightly-801ef48a8-250207", | ||
"@react-types/shared": "3.0.0-nightly-801ef48a8-250207", | ||
"@swc/helpers": "^0.5.0" | ||
@@ -44,4 +44,3 @@ }, | ||
"access": "public" | ||
}, | ||
"stableVersion": "3.10.0" | ||
} | ||
} |
@@ -19,2 +19,3 @@ /* | ||
DOMProps, | ||
FocusStrategy, | ||
Key, | ||
@@ -34,2 +35,4 @@ KeyboardDelegate, | ||
export interface GridListProps<T> extends CollectionBase<T>, MultipleSelection { | ||
/** Whether to auto focus the gridlist or an option. */ | ||
autoFocus?: boolean | FocusStrategy, | ||
/** | ||
@@ -118,3 +121,4 @@ * Handler that is called when a user performs an action on an item. The exact user event depends on | ||
shouldFocusWrap: props.shouldFocusWrap, | ||
linkBehavior | ||
linkBehavior, | ||
autoFocus: props.autoFocus | ||
}); | ||
@@ -121,0 +125,0 @@ |
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
160379
1792
+ Added@internationalized/date@3.0.0-nightly-801ef48a8-250207(transitive)
+ Added@internationalized/message@3.0.0-nightly-801ef48a8-250207(transitive)
+ Added@internationalized/number@3.0.0-nightly-801ef48a8-250207(transitive)
+ Added@internationalized/string@3.0.0-nightly-801ef48a8-250207(transitive)
+ Added@react-aria/focus@3.0.0-nightly-801ef48a8-250207(transitive)
+ Added@react-aria/grid@3.0.0-nightly-801ef48a8-250207(transitive)
+ Added@react-aria/i18n@3.0.0-nightly-801ef48a8-250207(transitive)
+ Added@react-aria/interactions@3.0.0-nightly-801ef48a8-250207(transitive)
+ Added@react-aria/live-announcer@3.0.0-nightly-801ef48a8-250207(transitive)
+ Added@react-aria/selection@3.0.0-nightly-801ef48a8-250207(transitive)
+ Added@react-aria/ssr@3.0.0-nightly-801ef48a8-250207(transitive)
+ Added@react-aria/utils@3.0.0-nightly-801ef48a8-250207(transitive)
+ Added@react-stately/collections@3.0.0-nightly-801ef48a8-250207(transitive)
+ Added@react-stately/flags@3.0.0-nightly-801ef48a8-250207(transitive)
+ Added@react-stately/grid@3.0.0-nightly-801ef48a8-250207(transitive)
+ Added@react-stately/list@3.0.0-nightly-801ef48a8-250207(transitive)
+ Added@react-stately/selection@3.0.0-nightly-801ef48a8-250207(transitive)
+ Added@react-stately/tree@3.0.0-nightly-801ef48a8-250207(transitive)
+ Added@react-stately/utils@3.0.0-nightly-801ef48a8-250207(transitive)
+ Added@react-types/checkbox@3.0.0-nightly-801ef48a8-250207(transitive)
+ Added@react-types/grid@3.0.0-nightly-801ef48a8-250207(transitive)
+ Added@react-types/shared@3.0.0-nightly-801ef48a8-250207(transitive)
- Removed@internationalized/date@3.7.0(transitive)
- Removed@internationalized/message@3.1.6(transitive)
- Removed@internationalized/number@3.6.0(transitive)
- Removed@internationalized/string@3.2.5(transitive)
- Removed@react-aria/focus@3.19.1(transitive)
- Removed@react-aria/grid@3.11.1(transitive)
- Removed@react-aria/i18n@3.12.5(transitive)
- Removed@react-aria/interactions@3.23.0(transitive)
- Removed@react-aria/live-announcer@3.4.1(transitive)
- Removed@react-aria/selection@3.22.0(transitive)
- Removed@react-aria/ssr@3.9.7(transitive)
- Removed@react-aria/utils@3.27.0(transitive)
- Removed@react-stately/collections@3.12.1(transitive)
- Removed@react-stately/grid@3.10.1(transitive)
- Removed@react-stately/list@3.11.2(transitive)
- Removed@react-stately/selection@3.19.0(transitive)
- Removed@react-stately/tree@3.8.7(transitive)
- Removed@react-stately/utils@3.10.5(transitive)
- Removed@react-types/checkbox@3.9.1(transitive)
- Removed@react-types/grid@3.2.11(transitive)
- Removed@react-types/shared@3.27.0(transitive)
Updated@react-aria/interactions@3.0.0-nightly-801ef48a8-250207
Updated@react-stately/collections@3.0.0-nightly-801ef48a8-250207