@react-types/shared 3.0.0-nightly.2831 → 3.0.0-nightly.2833
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 +2 -2
- package/src/collections.d.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-types/shared",
|
|
3
|
-
"version": "3.0.0-nightly.
|
|
3
|
+
"version": "3.0.0-nightly.2833+b2d25ef23",
|
|
4
4
|
"description": "Spectrum UI components in React",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"types": "src/index.d.ts",
|
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
"publishConfig": {
|
|
15
15
|
"access": "public"
|
|
16
16
|
},
|
|
17
|
-
"gitHead": "
|
|
17
|
+
"gitHead": "b2d25ef23b827ec2427bf47b343e6dbd66326ed3"
|
|
18
18
|
}
|
package/src/collections.d.ts
CHANGED
|
@@ -71,9 +71,9 @@ export interface CollectionStateBase<T, C extends Collection<Node<T>> = Collecti
|
|
|
71
71
|
|
|
72
72
|
export interface Expandable {
|
|
73
73
|
/** The currently expanded keys in the collection (controlled). */
|
|
74
|
-
expandedKeys?:
|
|
74
|
+
expandedKeys?: Iterable<Key>,
|
|
75
75
|
/** The initial expanded keys in the collection (uncontrolled). */
|
|
76
|
-
defaultExpandedKeys?:
|
|
76
|
+
defaultExpandedKeys?: Iterable<Key>,
|
|
77
77
|
/** Handler that is called when items are expanded or collapsed. */
|
|
78
78
|
onExpandedChange?: (keys: Set<Key>) => any
|
|
79
79
|
}
|