@react-aria/gridlist
Advanced tools
Comparing version 3.0.0-nightly-c53ab48ec-250115 to 3.0.0-nightly-c78b24831-250206
@@ -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-c53ab48ec-250115", | ||
"version": "3.0.0-nightly-c78b24831-250206", | ||
"description": "Spectrum UI components in React", | ||
@@ -25,12 +25,12 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@react-aria/focus": "3.0.0-nightly-c53ab48ec-250115", | ||
"@react-aria/grid": "3.0.0-nightly-c53ab48ec-250115", | ||
"@react-aria/i18n": "3.0.0-nightly-c53ab48ec-250115", | ||
"@react-aria/interactions": "3.0.0-nightly-c53ab48ec-250115", | ||
"@react-aria/selection": "3.0.0-nightly-c53ab48ec-250115", | ||
"@react-aria/utils": "3.0.0-nightly-c53ab48ec-250115", | ||
"@react-stately/collections": "3.0.0-nightly-c53ab48ec-250115", | ||
"@react-stately/list": "3.0.0-nightly-c53ab48ec-250115", | ||
"@react-stately/tree": "3.0.0-nightly-c53ab48ec-250115", | ||
"@react-types/shared": "3.0.0-nightly-c53ab48ec-250115", | ||
"@react-aria/focus": "3.0.0-nightly-c78b24831-250206", | ||
"@react-aria/grid": "3.0.0-nightly-c78b24831-250206", | ||
"@react-aria/i18n": "3.0.0-nightly-c78b24831-250206", | ||
"@react-aria/interactions": "3.0.0-nightly-c78b24831-250206", | ||
"@react-aria/selection": "3.0.0-nightly-c78b24831-250206", | ||
"@react-aria/utils": "3.0.0-nightly-c78b24831-250206", | ||
"@react-stately/collections": "3.0.0-nightly-c78b24831-250206", | ||
"@react-stately/list": "3.0.0-nightly-c78b24831-250206", | ||
"@react-stately/tree": "3.0.0-nightly-c78b24831-250206", | ||
"@react-types/shared": "3.0.0-nightly-c78b24831-250206", | ||
"@swc/helpers": "^0.5.0" | ||
@@ -37,0 +37,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-c78b24831-250206(transitive)
+ Added@internationalized/message@3.0.0-nightly-c78b24831-250206(transitive)
+ Added@internationalized/number@3.0.0-nightly-c78b24831-250206(transitive)
+ Added@internationalized/string@3.0.0-nightly-c78b24831-250206(transitive)
+ Added@react-aria/focus@3.0.0-nightly-c78b24831-250206(transitive)
+ Added@react-aria/grid@3.0.0-nightly-c78b24831-250206(transitive)
+ Added@react-aria/i18n@3.0.0-nightly-c78b24831-250206(transitive)
+ Added@react-aria/interactions@3.0.0-nightly-c78b24831-250206(transitive)
+ Added@react-aria/live-announcer@3.0.0-nightly-c78b24831-250206(transitive)
+ Added@react-aria/selection@3.0.0-nightly-c78b24831-250206(transitive)
+ Added@react-aria/ssr@3.0.0-nightly-c78b24831-250206(transitive)
+ Added@react-aria/utils@3.0.0-nightly-c78b24831-250206(transitive)
+ Added@react-stately/collections@3.0.0-nightly-c78b24831-250206(transitive)
+ Added@react-stately/flags@3.0.0-nightly-c78b24831-250206(transitive)
+ Added@react-stately/grid@3.0.0-nightly-c78b24831-250206(transitive)
+ Added@react-stately/list@3.0.0-nightly-c78b24831-250206(transitive)
+ Added@react-stately/selection@3.0.0-nightly-c78b24831-250206(transitive)
+ Added@react-stately/tree@3.0.0-nightly-c78b24831-250206(transitive)
+ Added@react-stately/utils@3.0.0-nightly-c78b24831-250206(transitive)
+ Added@react-types/checkbox@3.0.0-nightly-c78b24831-250206(transitive)
+ Added@react-types/grid@3.0.0-nightly-c78b24831-250206(transitive)
+ Added@react-types/shared@3.0.0-nightly-c78b24831-250206(transitive)
- Removed@internationalized/date@3.0.0-nightly-c53ab48ec-250115(transitive)
- Removed@internationalized/message@3.0.0-nightly-c53ab48ec-250115(transitive)
- Removed@internationalized/number@3.0.0-nightly-c53ab48ec-250115(transitive)
- Removed@internationalized/string@3.0.0-nightly-c53ab48ec-250115(transitive)
- Removed@react-aria/focus@3.0.0-nightly-c53ab48ec-250115(transitive)
- Removed@react-aria/grid@3.0.0-nightly-c53ab48ec-250115(transitive)
- Removed@react-aria/i18n@3.0.0-nightly-c53ab48ec-250115(transitive)
- Removed@react-aria/interactions@3.0.0-nightly-c53ab48ec-250115(transitive)
- Removed@react-aria/live-announcer@3.0.0-nightly-c53ab48ec-250115(transitive)
- Removed@react-aria/selection@3.0.0-nightly-c53ab48ec-250115(transitive)
- Removed@react-aria/ssr@3.0.0-nightly-c53ab48ec-250115(transitive)
- Removed@react-aria/utils@3.0.0-nightly-c53ab48ec-250115(transitive)
- Removed@react-stately/collections@3.0.0-nightly-c53ab48ec-250115(transitive)
- Removed@react-stately/grid@3.0.0-nightly-c53ab48ec-250115(transitive)
- Removed@react-stately/list@3.0.0-nightly-c53ab48ec-250115(transitive)
- Removed@react-stately/selection@3.0.0-nightly-c53ab48ec-250115(transitive)
- Removed@react-stately/tree@3.0.0-nightly-c53ab48ec-250115(transitive)
- Removed@react-stately/utils@3.0.0-nightly-c53ab48ec-250115(transitive)
- Removed@react-types/checkbox@3.0.0-nightly-c53ab48ec-250115(transitive)
- Removed@react-types/grid@3.0.0-nightly-c53ab48ec-250115(transitive)
- Removed@react-types/shared@3.0.0-nightly-c53ab48ec-250115(transitive)
Updated@react-aria/interactions@3.0.0-nightly-c78b24831-250206
Updated@react-stately/collections@3.0.0-nightly-c78b24831-250206