@react-types/dialog 3.5.11-nightly.4673 → 3.5.11-nightly.4681
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 +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-types/dialog",
|
|
3
|
-
"version": "3.5.11-nightly.
|
|
3
|
+
"version": "3.5.11-nightly.4681+2fd87d9f1",
|
|
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-types/overlays": "3.8.8-nightly.
|
|
13
|
-
"@react-types/shared": "3.0.0-nightly.
|
|
12
|
+
"@react-types/overlays": "3.8.8-nightly.4681+2fd87d9f1",
|
|
13
|
+
"@react-types/shared": "3.0.0-nightly.2969+2fd87d9f1"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0"
|
|
16
|
+
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0"
|
|
17
17
|
},
|
|
18
18
|
"publishConfig": {
|
|
19
19
|
"access": "public"
|
|
20
20
|
},
|
|
21
|
-
"gitHead": "
|
|
21
|
+
"gitHead": "2fd87d9f1d894e6b00a595cce73c6e8828029132"
|
|
22
22
|
}
|
package/src/index.d.ts
CHANGED
|
@@ -31,7 +31,7 @@ export interface SpectrumDialogTriggerProps extends OverlayTriggerProps, Positio
|
|
|
31
31
|
*/
|
|
32
32
|
hideArrow?: boolean,
|
|
33
33
|
/** The ref of the element the Dialog should visually attach itself to. Defaults to the trigger button if not defined. */
|
|
34
|
-
targetRef?: RefObject<HTMLElement>,
|
|
34
|
+
targetRef?: RefObject<HTMLElement | null>,
|
|
35
35
|
/** Whether a modal type Dialog should be dismissable. */
|
|
36
36
|
isDismissable?: boolean,
|
|
37
37
|
/** Whether pressing the escape key to close the dialog should be disabled. */
|