@react-types/tooltip 3.4.7-nightly.4427 → 3.4.7-nightly.4430

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 +7 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-types/tooltip",
3
- "version": "3.4.7-nightly.4427+bd477d203",
3
+ "version": "3.4.7-nightly.4430+d766af60c",
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.4427+bd477d203",
13
- "@react-types/shared": "3.0.0-nightly.2715+bd477d203"
12
+ "@react-types/overlays": "3.8.5-nightly.4430+d766af60c",
13
+ "@react-types/shared": "3.0.0-nightly.2718+d766af60c"
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": "bd477d20344f491144dc34b9bd114070c2e9b10b"
21
+ "gitHead": "d766af60ce5252ecd95c62645ae881c7fb9174ab"
22
22
  }
package/src/index.d.ts CHANGED
@@ -46,7 +46,13 @@ export interface SpectrumTooltipTriggerProps extends Omit<TooltipTriggerProps, '
46
46
  * anchor element.
47
47
  * @default 7
48
48
  */
49
- offset?: number
49
+ offset?: number,
50
+ /**
51
+ * The container element in which the menu's overlay or tray portal will be placed. This may have unknown behavior depending on where it is portal-ed to.
52
+ * Make sure to test in mobile and desktop environments.
53
+ * @default document.body
54
+ */
55
+ UNSTABLE_portalContainer?: Element
50
56
  }
51
57
 
52
58
  export interface TooltipProps {