@react-types/dialog 3.5.8-nightly.4430 → 3.5.8-nightly.4440

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 +4 -4
  2. package/src/index.d.ts +2 -14
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-types/dialog",
3
- "version": "3.5.8-nightly.4430+d766af60c",
3
+ "version": "3.5.8-nightly.4440+cdb2fe212",
4
4
  "description": "Spectrum UI components in React",
5
5
  "license": "Apache-2.0",
6
6
  "types": "src/index.d.ts",
@@ -9,8 +9,8 @@
9
9
  "url": "https://github.com/adobe/react-spectrum"
10
10
  },
11
11
  "dependencies": {
12
- "@react-types/overlays": "3.8.5-nightly.4430+d766af60c",
13
- "@react-types/shared": "3.0.0-nightly.2718+d766af60c"
12
+ "@react-types/overlays": "3.8.5-nightly.4440+cdb2fe212",
13
+ "@react-types/shared": "3.0.0-nightly.2728+cdb2fe212"
14
14
  },
15
15
  "peerDependencies": {
16
16
  "react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0"
@@ -18,5 +18,5 @@
18
18
  "publishConfig": {
19
19
  "access": "public"
20
20
  },
21
- "gitHead": "d766af60ce5252ecd95c62645ae881c7fb9174ab"
21
+ "gitHead": "cdb2fe21213d9e8b03d782d82bda07742ab3afbd"
22
22
  }
package/src/index.d.ts CHANGED
@@ -35,13 +35,7 @@ export interface SpectrumDialogTriggerProps extends OverlayTriggerProps, Positio
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. */
38
- isKeyboardDismissDisabled?: boolean,
39
- /**
40
- * The container element in which the dialogs' overlay portal will be placed. This may have unknown behavior depending on where it is portal-ed to.
41
- * Make sure to test in mobile and desktop environments.
42
- * @default document.body
43
- */
44
- UNSTABLE_portalContainer?: Element
38
+ isKeyboardDismissDisabled?: boolean
45
39
  }
46
40
 
47
41
  export interface SpectrumDialogContainerProps {
@@ -57,13 +51,7 @@ export interface SpectrumDialogContainerProps {
57
51
  /** Whether the Dialog is dismissable. See the [Dialog docs](Dialog.html#dismissable-dialogs) for more details. */
58
52
  isDismissable?: boolean,
59
53
  /** Whether pressing the escape key to close the dialog should be disabled. */
60
- isKeyboardDismissDisabled?: boolean,
61
- /**
62
- * The container element in which the dialogs' overlay portal will be placed. This may have unknown behavior depending on where it is portal-ed to.
63
- * Make sure to test in mobile and desktop environments.
64
- * @default document.body
65
- */
66
- UNSTABLE_portalContainer?: Element
54
+ isKeyboardDismissDisabled?: boolean
67
55
  }
68
56
 
69
57
  export interface AriaDialogProps extends DOMProps, AriaLabelingProps {