@react-types/list 3.0.0-nightly.3262 → 3.0.0-nightly.3268
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +5 -5
- package/src/index.d.ts +3 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-types/list",
|
|
3
|
-
"version": "3.0.0-nightly.
|
|
3
|
+
"version": "3.0.0-nightly.3268+5d6e7ed6f",
|
|
4
4
|
"description": "Spectrum UI components in React",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"types": "src/index.d.ts",
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
"url": "https://github.com/adobe/react-spectrum"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@react-spectrum/dnd": "3.0.0-nightly.
|
|
13
|
-
"@react-types/shared": "3.0.0-nightly.
|
|
12
|
+
"@react-spectrum/dnd": "3.0.0-nightly.3268+5d6e7ed6f",
|
|
13
|
+
"@react-types/shared": "3.0.0-nightly.1569+5d6e7ed6f"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"react": "^16.8.0 || ^17.0.0-rc.1"
|
|
16
|
+
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0"
|
|
17
17
|
},
|
|
18
18
|
"publishConfig": {
|
|
19
19
|
"access": "public"
|
|
20
20
|
},
|
|
21
|
-
"gitHead": "
|
|
21
|
+
"gitHead": "5d6e7ed6f3f6fc5ba381fc0e5a775b318e797140"
|
|
22
22
|
}
|
package/src/index.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ import {
|
|
|
14
14
|
AriaLabelingProps,
|
|
15
15
|
AsyncLoadable,
|
|
16
16
|
CollectionBase,
|
|
17
|
+
DisabledBehavior,
|
|
17
18
|
DOMProps,
|
|
18
19
|
LoadingState,
|
|
19
20
|
MultipleSelection,
|
|
@@ -54,6 +55,8 @@ export interface SpectrumListProps<T> extends AriaListProps<T>, StyleProps, Spec
|
|
|
54
55
|
* the collection's `selectionBehavior` prop and the interaction modality.
|
|
55
56
|
*/
|
|
56
57
|
onAction?: (key: string) => void,
|
|
58
|
+
/** Whether `disabledKeys` applies to all interactions, or only selection. */
|
|
59
|
+
disabledBehavior?: DisabledBehavior,
|
|
57
60
|
/**
|
|
58
61
|
* The drag hooks returned by `useDragHooks` used to enable drag and drop behavior for the ListView. See the
|
|
59
62
|
* [docs](https://react-spectrum.adobe.com/react-spectrum/useDragHooks.html) for more info.
|