@react-types/overlays 3.8.16 → 3.9.0

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.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/src/index.d.ts +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-types/overlays",
3
- "version": "3.8.16",
3
+ "version": "3.9.0",
4
4
  "description": "Spectrum UI components in React",
5
5
  "license": "Apache-2.0",
6
6
  "types": "src/index.d.ts",
@@ -9,7 +9,7 @@
9
9
  "url": "https://github.com/adobe/react-spectrum"
10
10
  },
11
11
  "dependencies": {
12
- "@react-types/shared": "^3.30.0"
12
+ "@react-types/shared": "^3.31.0"
13
13
  },
14
14
  "peerDependencies": {
15
15
  "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0-rc.1"
@@ -17,5 +17,5 @@
17
17
  "publishConfig": {
18
18
  "access": "public"
19
19
  },
20
- "gitHead": "265b4d7f107905ee1c6e87a8af1613ab440a6849"
20
+ "gitHead": "8b9348ff255e018b2dd9b27e2a45507cadfa1d35"
21
21
  }
package/src/index.d.ts CHANGED
@@ -73,7 +73,8 @@ export interface OverlayProps {
73
73
  onExiting?: () => void,
74
74
  onExited?: () => void,
75
75
  nodeRef: MutableRefObject<HTMLElement | null>,
76
- disableFocusManagement?: boolean
76
+ disableFocusManagement?: boolean,
77
+ shouldContainFocus?: boolean
77
78
  }
78
79
 
79
80
  export interface ModalProps extends StyleProps, Omit<OverlayProps, 'nodeRef'> {