@react-types/shared 3.29.0 → 3.29.1

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-types/shared",
3
- "version": "3.29.0",
3
+ "version": "3.29.1",
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": "9b66d270572f482948afee95622a85cdf68ed408"
17
+ "gitHead": "9c77d4e8267ed39469c65f65da94ece7be509874"
18
18
  }
@@ -20,7 +20,7 @@ export interface SingleSelection {
20
20
  /** The initial selected key in the collection (uncontrolled). */
21
21
  defaultSelectedKey?: Key,
22
22
  /** Handler that is called when the selection changes. */
23
- onSelectionChange?: (key: Key) => void
23
+ onSelectionChange?: (key: Key | null) => void
24
24
  }
25
25
 
26
26
  export type SelectionMode = 'none' | 'single' | 'multiple';