@fluentui/react-tooltip 9.74.3-experimental.esm.20260709-49ee7a20cf.0 → 9.74.7-experimental.cli-api.20261006-ccaa611d58.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.
- package/CHANGELOG.md +40 -13
- package/dist/index.d.cts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/metadata/api/api-root.json +1 -0
- package/dist/metadata/index.json +1 -0
- package/lib/components/Tooltip/Tooltip.types.js.map +1 -1
- package/lib/components/Tooltip/useTooltipBase.js +11 -1
- package/lib/components/Tooltip/useTooltipBase.js.map +1 -1
- package/lib/components/Tooltip/useTooltipStyles.styles.js +6 -2
- package/lib/components/Tooltip/useTooltipStyles.styles.js.map +1 -1
- package/lib/components/Tooltip/useTooltipStyles.styles.raw.js +5 -1
- package/lib/components/Tooltip/useTooltipStyles.styles.raw.js.map +1 -1
- package/lib-commonjs/components/Tooltip/Tooltip.types.cjs.map +1 -1
- package/lib-commonjs/components/Tooltip/useTooltipBase.cjs +11 -1
- package/lib-commonjs/components/Tooltip/useTooltipBase.cjs.map +1 -1
- package/lib-commonjs/components/Tooltip/useTooltipStyles.styles.cjs +7 -1
- package/lib-commonjs/components/Tooltip/useTooltipStyles.styles.cjs.map +1 -1
- package/lib-commonjs/components/Tooltip/useTooltipStyles.styles.raw.cjs +5 -1
- package/lib-commonjs/components/Tooltip/useTooltipStyles.styles.raw.cjs.map +1 -1
- package/package.json +20 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,25 +1,52 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-tooltip
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
<!-- This log was last generated on Tue, 06 Oct 2026 11:40:17 GMT and should not be manually modified. -->
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
-
## [9.74.
|
|
7
|
+
## [9.74.7-experimental.cli-api.20261006-ccaa611d58.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-tooltip_v9.74.7-experimental.cli-api.20261006-ccaa611d58.0)
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tooltip_v9.10.
|
|
9
|
+
Tue, 06 Oct 2026 11:40:17 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tooltip_v9.10.5..@fluentui/react-tooltip_v9.74.7-experimental.cli-api.20261006-ccaa611d58.0)
|
|
11
11
|
|
|
12
12
|
### Changes
|
|
13
13
|
|
|
14
|
-
- Release 9.74.
|
|
15
|
-
- Bump @fluentui/keyboard-keys to v9.74.
|
|
16
|
-
- Bump @fluentui/react-jsx-runtime to v9.74.
|
|
17
|
-
- Bump @fluentui/react-portal to v9.74.
|
|
18
|
-
- Bump @fluentui/react-positioning to v9.74.
|
|
19
|
-
- Bump @fluentui/react-shared-contexts to v9.74.
|
|
20
|
-
- Bump @fluentui/react-tabster to v9.74.
|
|
21
|
-
- Bump @fluentui/react-theme to v9.74.
|
|
22
|
-
- Bump @fluentui/react-utilities to v9.74.
|
|
14
|
+
- Release 9.74.7-experimental.cli-api.20261006-ccaa611d58 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by 257645319+office-ogx-auth-helper[bot]@users.noreply.github.com)
|
|
15
|
+
- Bump @fluentui/keyboard-keys to v9.74.7-experimental.cli-api.20261006-ccaa611d58.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
16
|
+
- Bump @fluentui/react-jsx-runtime to v9.74.7-experimental.cli-api.20261006-ccaa611d58.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
17
|
+
- Bump @fluentui/react-portal to v9.74.7-experimental.cli-api.20261006-ccaa611d58.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
18
|
+
- Bump @fluentui/react-positioning to v9.74.7-experimental.cli-api.20261006-ccaa611d58.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
19
|
+
- Bump @fluentui/react-shared-contexts to v9.74.7-experimental.cli-api.20261006-ccaa611d58.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
20
|
+
- Bump @fluentui/react-tabster to v9.74.7-experimental.cli-api.20261006-ccaa611d58.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
21
|
+
- Bump @fluentui/react-theme to v9.74.7-experimental.cli-api.20261006-ccaa611d58.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
22
|
+
- Bump @fluentui/react-utilities to v9.74.7-experimental.cli-api.20261006-ccaa611d58.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
23
|
+
|
|
24
|
+
## [9.10.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-tooltip_v9.10.5)
|
|
25
|
+
|
|
26
|
+
Tue, 11 Aug 2026 17:20:14 GMT
|
|
27
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tooltip_v9.10.4..@fluentui/react-tooltip_v9.10.5)
|
|
28
|
+
|
|
29
|
+
### Patches
|
|
30
|
+
|
|
31
|
+
- Ship ESM-first (type:module): valid ESM under lib/, CommonJS under lib-commonjs/*.cjs, and drop the `node` export condition - bare-Node `import` resolves ESM, `require` resolves CJS; node-targeted bundlers tree-shake. ([PR #36327](https://github.com/microsoft/fluentui/pull/36327) by martinhochel@microsoft.com)
|
|
32
|
+
- Bump @fluentui/keyboard-keys to v9.0.9 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
33
|
+
- Bump @fluentui/react-jsx-runtime to v9.4.5 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
34
|
+
- Bump @fluentui/react-portal to v9.8.15 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
35
|
+
- Bump @fluentui/react-positioning to v9.23.1 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
36
|
+
- Bump @fluentui/react-shared-contexts to v9.26.3 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
37
|
+
- Bump @fluentui/react-tabster to v9.26.17 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
38
|
+
- Bump @fluentui/react-theme to v9.2.2 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
39
|
+
- Bump @fluentui/react-utilities to v9.26.6 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
40
|
+
|
|
41
|
+
## [9.10.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-tooltip_v9.10.4)
|
|
42
|
+
|
|
43
|
+
Tue, 04 Aug 2026 10:12:12 GMT
|
|
44
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-tooltip_v9.10.3..@fluentui/react-tooltip_v9.10.4)
|
|
45
|
+
|
|
46
|
+
### Patches
|
|
47
|
+
|
|
48
|
+
- fix: hide Tooltip when its trigger scrolls outside an overflow container ([PR #36386](https://github.com/microsoft/fluentui/pull/36386) by paulmardling@microsoft.com)
|
|
49
|
+
- Bump @fluentui/react-positioning to v9.23.0 ([PR #36453](https://github.com/microsoft/fluentui/pull/36453) by beachball)
|
|
23
50
|
|
|
24
51
|
## [9.10.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-tooltip_v9.10.3)
|
|
25
52
|
|
package/dist/index.d.cts
CHANGED
|
@@ -117,6 +117,10 @@ export declare type TooltipSlots = {
|
|
|
117
117
|
*/
|
|
118
118
|
export declare type TooltipState = ComponentState<TooltipSlots> & Pick<TooltipProps, 'mountNode' | 'relationship'> & Required<Pick<TooltipProps, 'appearance' | 'hideDelay' | 'positioning' | 'showDelay' | 'visible' | 'withArrow'>> & {
|
|
119
119
|
children?: JSXElement | null;
|
|
120
|
+
/**
|
|
121
|
+
* Whether positioning has determined that the tooltip or its target is outside its clipping boundary.
|
|
122
|
+
*/
|
|
123
|
+
hidden?: boolean;
|
|
120
124
|
/**
|
|
121
125
|
* Whether the tooltip should be rendered to the DOM.
|
|
122
126
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -117,6 +117,10 @@ export declare type TooltipSlots = {
|
|
|
117
117
|
*/
|
|
118
118
|
export declare type TooltipState = ComponentState<TooltipSlots> & Pick<TooltipProps, 'mountNode' | 'relationship'> & Required<Pick<TooltipProps, 'appearance' | 'hideDelay' | 'positioning' | 'showDelay' | 'visible' | 'withArrow'>> & {
|
|
119
119
|
children?: JSXElement | null;
|
|
120
|
+
/**
|
|
121
|
+
* Whether positioning has determined that the tooltip or its target is outside its clipping boundary.
|
|
122
|
+
*/
|
|
123
|
+
hidden?: boolean;
|
|
120
124
|
/**
|
|
121
125
|
* Whether the tooltip should be rendered to the DOM.
|
|
122
126
|
*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"completeness":{"status":"complete"},"declarationInputs":[{"conditions":["types","import"],"fingerprint":{"algorithm":"sha256","value":"c14e26eec2ef1777d6ac7c81662213c8da996108a9bd885064ea745e5d56ac66"},"path":"dist/index.d.ts"},{"conditions":["types","require"],"fingerprint":{"algorithm":"sha256","value":"c14e26eec2ef1777d6ac7c81662213c8da996108a9bd885064ea745e5d56ac66"},"path":"dist/index.d.cts"}],"dependencyInputs":[{"conditions":["types","import"],"declarationFingerprint":{"algorithm":"sha256","value":"0ff1b165090b491f5e1407ae680b9a0bc3806dc56827ec85f93c57390491e732"},"declarationPath":"index.d.ts","entrypoint":".","package":{"name":"@types/react","version":"19.2.2"},"requested":"react"},{"conditions":["types","import"],"declarationFingerprint":{"algorithm":"sha256","value":"4fd3f3422b2d2a3dfd5cdd0f387b3a8ec45f006c6ea896a4cb41264c2100bb2c"},"declarationPath":"lib/lib.dom.d.ts","entrypoint":".","package":{"name":"typescript","version":"5.7.3"},"requested":"typescript"},{"conditions":["types","import"],"declarationFingerprint":{"algorithm":"sha256","value":"a625fbcb53deaf3ef94c69672e2f386bb65bc9224c41b7a26f4976e70d89bfeb"},"declarationPath":"dist/index.d.ts","entrypoint":".","package":{"name":"@fluentui/react-positioning","version":"9.74.7-experimental.cli-api.20261006-ccaa611d58.0"},"requested":"@fluentui/react-positioning"},{"conditions":["types","import"],"declarationFingerprint":{"algorithm":"sha256","value":"acaae36652346e6e081a605eed966b610baa5ee4c5478815dc525c43f973d594"},"declarationPath":"dist/index.d.ts","entrypoint":".","package":{"name":"@fluentui/react-portal","version":"9.74.7-experimental.cli-api.20261006-ccaa611d58.0"},"requested":"@fluentui/react-portal"},{"conditions":["types","import"],"declarationFingerprint":{"algorithm":"sha256","value":"eb27b444251c8b068b168c5e0aa338fe952e84f28d9632a03f93ad292ca6b2f2"},"declarationPath":"dist/index.d.ts","entrypoint":".","package":{"name":"@fluentui/react-utilities","version":"9.74.7-experimental.cli-api.20261006-ccaa611d58.0"},"requested":"@fluentui/react-utilities"},{"conditions":["types","require"],"declarationFingerprint":{"algorithm":"sha256","value":"0ff1b165090b491f5e1407ae680b9a0bc3806dc56827ec85f93c57390491e732"},"declarationPath":"index.d.ts","entrypoint":".","package":{"name":"@types/react","version":"19.2.2"},"requested":"react"},{"conditions":["types","require"],"declarationFingerprint":{"algorithm":"sha256","value":"4fd3f3422b2d2a3dfd5cdd0f387b3a8ec45f006c6ea896a4cb41264c2100bb2c"},"declarationPath":"lib/lib.dom.d.ts","entrypoint":".","package":{"name":"typescript","version":"5.7.3"},"requested":"typescript"},{"conditions":["types","require"],"declarationFingerprint":{"algorithm":"sha256","value":"a625fbcb53deaf3ef94c69672e2f386bb65bc9224c41b7a26f4976e70d89bfeb"},"declarationPath":"dist/index.d.cts","entrypoint":".","package":{"name":"@fluentui/react-positioning","version":"9.74.7-experimental.cli-api.20261006-ccaa611d58.0"},"requested":"@fluentui/react-positioning"},{"conditions":["types","require"],"declarationFingerprint":{"algorithm":"sha256","value":"acaae36652346e6e081a605eed966b610baa5ee4c5478815dc525c43f973d594"},"declarationPath":"dist/index.d.cts","entrypoint":".","package":{"name":"@fluentui/react-portal","version":"9.74.7-experimental.cli-api.20261006-ccaa611d58.0"},"requested":"@fluentui/react-portal"},{"conditions":["types","require"],"declarationFingerprint":{"algorithm":"sha256","value":"eb27b444251c8b068b168c5e0aa338fe952e84f28d9632a03f93ad292ca6b2f2"},"declarationPath":"dist/index.d.cts","entrypoint":".","package":{"name":"@fluentui/react-utilities","version":"9.74.7-experimental.cli-api.20261006-ccaa611d58.0"},"requested":"@fluentui/react-utilities"}],"diagnostics":[],"generator":{"name":"@fluentui/api-metadata","version":"0.0.0"},"kind":"api-record","package":{"name":"@fluentui/react-tooltip","version":"9.74.7-experimental.cli-api.20261006-ccaa611d58.0"},"recordId":"api:root","schema":{"major":1,"revision":5},"symbols":[{"classifications":[{"confidence":"heuristic","evidence":["no stronger product facet matched"],"facet":"utility"}],"declarations":[{"documentation":"Data for the Tooltip's onVisibleChange event.","id":"symbol:OnVisibleChangeData:declaration:0","kind":"type-alias","namespaces":["type"],"relationships":[{"kind":"alias","type":{"references":[{"end":264,"start":251,"status":"resolved","target":{"entrypoint":".","export":"KeyboardEvent","kind":"dependency","namespace":"type","package":"typescript"}}],"text":"{\n visible: boolean;\n /**\n * The event object, if this visibility change was triggered by a keyboard event on the document element\n * (such as Escape to hide the visible tooltip). Otherwise undefined.\n */\n documentKeyboardEvent?: KeyboardEvent;\n}"}}],"source":{"end":913,"file":"dist/index.d.ts","start":603},"type":{"references":[{"end":286,"start":273,"status":"resolved","target":{"entrypoint":".","export":"KeyboardEvent","kind":"dependency","namespace":"type","package":"typescript"}}],"text":"OnVisibleChangeData = {\n visible: boolean;\n /**\n * The event object, if this visibility change was triggered by a keyboard event on the document element\n * (such as Escape to hide the visible tooltip). Otherwise undefined.\n */\n documentKeyboardEvent?: KeyboardEvent;\n}"}}],"effectiveType":{"members":[{"declarationPackages":["@fluentui/react-tooltip"],"documentation":"The event object, if this visibility change was triggered by a keyboard event on the document element\n(such as Escape to hide the visible tooltip). Otherwise undefined.","kind":"property","name":"documentKeyboardEvent","optional":true,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:OnVisibleChangeData"}],"status":{"status":"complete"},"type":{"references":[],"text":"KeyboardEvent"}},{"declarationPackages":["@fluentui/react-tooltip"],"kind":"property","name":"visible","optional":false,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:OnVisibleChangeData"}],"status":{"status":"complete"},"type":{"references":[],"text":"boolean"}}],"signatures":[],"status":{"reasons":["checker-rendered effective type expressions do not include semantic reference spans"],"status":"partial"},"type":{"references":[],"text":"OnVisibleChangeData"}},"fingerprint":{"algorithm":"sha256","value":"ff033f49ada859d90ac74860a4df412a7fe949dc1f432217e40536171c746bdb"},"id":"symbol:OnVisibleChangeData","name":"OnVisibleChangeData","namespaces":["type"],"relationships":[{"kind":"alias","type":{"references":[{"end":264,"start":251,"status":"resolved","target":{"entrypoint":".","export":"KeyboardEvent","kind":"dependency","namespace":"type","package":"typescript"}}],"text":"{\n visible: boolean;\n /**\n * The event object, if this visibility change was triggered by a keyboard event on the document element\n * (such as Escape to hide the visible tooltip). Otherwise undefined.\n */\n documentKeyboardEvent?: KeyboardEvent;\n}"}}],"type":{"references":[{"end":286,"start":273,"status":"resolved","target":{"entrypoint":".","export":"KeyboardEvent","kind":"dependency","namespace":"type","package":"typescript"}}],"text":"OnVisibleChangeData = {\n visible: boolean;\n /**\n * The event object, if this visibility change was triggered by a keyboard event on the document element\n * (such as Escape to hide the visible tooltip). Otherwise undefined.\n */\n documentKeyboardEvent?: KeyboardEvent;\n}"}},{"classifications":[{"confidence":"heuristic","evidence":["export name follows the renderX convention"],"facet":"render"}],"declarations":[{"documentation":"Render the final JSX of Tooltip","id":"symbol:renderTooltip_unstable:declaration:0","kind":"variable","namespaces":["value"],"signatures":[{"documentation":"Render the final JSX of Tooltip","id":"signature:call:0","kind":"call","overload":0,"parameters":[{"name":"state","optional":false,"rest":false,"type":{"references":[],"text":"TooltipBaseState"}}],"returnType":{"references":[],"text":"JSXElement"},"source":{"end":1042,"file":"dist/index.d.ts","start":1003},"typeParameters":[]}],"source":{"end":1042,"file":"dist/index.d.ts","start":979},"type":{"references":[{"end":24,"start":8,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipBaseState"}},{"end":39,"start":29,"status":"resolved","target":{"entrypoint":".","export":"JSXElement","kind":"dependency","namespace":"type","package":"@fluentui/react-utilities"}}],"text":"(state: TooltipBaseState) => JSXElement"}}],"effectiveType":{"members":[],"signatures":[{"documentation":"Render the final JSX of Tooltip","id":"signature:call:0","kind":"call","overload":0,"parameters":[{"name":"state","optional":false,"rest":false,"type":{"references":[],"text":"TooltipBaseState"}}],"returnType":{"references":[],"text":"JSXElement"},"source":{"end":1042,"file":"dist/index.d.ts","start":1003},"typeParameters":[]}],"status":{"reasons":["checker-rendered effective type expressions do not include semantic reference spans"],"status":"partial"},"type":{"references":[],"text":"(state: TooltipBaseState) => JSXElement"}},"fingerprint":{"algorithm":"sha256","value":"a3133cd7f06aaccd197695ebea567e5a76ee3ed3734b1cf309c9537c6d46918d"},"id":"symbol:renderTooltip_unstable","name":"renderTooltip_unstable","namespaces":["value"],"relationships":[],"type":{"references":[{"end":24,"start":8,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipBaseState"}},{"end":39,"start":29,"status":"resolved","target":{"entrypoint":".","export":"JSXElement","kind":"dependency","namespace":"type","package":"@fluentui/react-utilities"}}],"text":"(state: TooltipBaseState) => JSXElement"}},{"classifications":[{"confidence":"heuristic","evidence":["no stronger product facet matched"],"facet":"utility"}],"declarations":[{"documentation":"A tooltip provides light weight contextual information on top of its target element.","id":"symbol:Tooltip:declaration:0","kind":"variable","namespaces":["value"],"signatures":[{"id":"signature:call:0","kind":"call","overload":0,"parameters":[{"name":"props","optional":false,"rest":false,"type":{"references":[],"text":"TooltipProps"}}],"returnType":{"references":[],"text":"React_2.ReactNode | Promise<React_2.ReactNode>"},"typeParameters":[]}],"source":{"end":1195,"file":"dist/index.d.ts","start":1162},"type":{"references":[{"end":10,"start":0,"status":"resolved","target":{"entrypoint":".","export":"*","kind":"dependency","namespace":"type","package":"react"}},{"end":23,"start":11,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipProps"}}],"text":"React_2.FC<TooltipProps>"}}],"effectiveType":{"members":[{"declarationPackages":["@types/react"],"documentation":"Used in debugging messages. You might want to set it\nexplicitly if you want to display a different name for\ndebugging purposes.","kind":"property","name":"displayName","optional":true,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:Tooltip"}],"status":{"status":"complete"},"type":{"references":[],"text":"string"}},{"declarationPackages":["@types/react"],"deprecated":"Only kept in types for backwards compatibility. Will be removed in a future major release.","documentation":"Ignored by React.","kind":"property","name":"propTypes","optional":true,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:Tooltip"}],"status":{"status":"complete"},"type":{"references":[],"text":"any"}}],"signatures":[{"id":"signature:call:0","kind":"call","overload":0,"parameters":[{"name":"props","optional":false,"rest":false,"type":{"references":[],"text":"TooltipProps"}}],"returnType":{"references":[],"text":"React_2.ReactNode | Promise<React_2.ReactNode>"},"typeParameters":[]}],"status":{"reasons":["checker-rendered effective type expressions do not include semantic reference spans"],"status":"partial"},"type":{"references":[],"text":"React_2.FC<TooltipProps>"}},"fingerprint":{"algorithm":"sha256","value":"f749b317d052716d80c5ebd8ca215e5a57772ba299ea5699ced9166e8d527b10"},"id":"symbol:Tooltip","name":"Tooltip","namespaces":["value"],"relationships":[],"type":{"references":[{"end":10,"start":0,"status":"resolved","target":{"entrypoint":".","export":"*","kind":"dependency","namespace":"type","package":"react"}},{"end":23,"start":11,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipProps"}}],"text":"React_2.FC<TooltipProps>"}},{"classifications":[{"confidence":"heuristic","evidence":["export name ends with Props"],"facet":"props"}],"declarations":[{"id":"symbol:TooltipBaseProps:declaration:0","kind":"type-alias","namespaces":["type"],"relationships":[{"kind":"alias","type":{"references":[{"end":17,"start":5,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipProps"}}],"text":"Omit<TooltipProps, 'appearance'>"}}],"source":{"end":1270,"file":"dist/index.d.ts","start":1198},"type":{"references":[{"end":36,"start":24,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipProps"}}],"text":"TooltipBaseProps = Omit<TooltipProps, 'appearance'>"}}],"effectiveType":{"members":[{"declarationPackages":["@fluentui/react-utilities"],"kind":"property","name":"children","optional":true,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipBaseProps"}],"status":{"status":"complete"},"type":{"references":[],"text":"React_2.ReactElement<unknown, string | React_2.JSXElementConstructor<any>> | ((props: TooltipTriggerProps) => React_2.ReactElement | null)"}},{"declarationPackages":["@fluentui/react-tooltip"],"documentation":"The text or JSX content of the tooltip.","kind":"property","name":"content","optional":false,"presentation":{"basis":"declaration","kind":"slot","nullable":false,"slotType":{"entrypoint":".","export":"Slot","kind":"dependency","namespace":"type","package":"@fluentui/react-utilities"},"summary":"NonNullable<Slot<'div'>>","targets":[{"kind":"intrinsic","name":"div","role":"default"}]},"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipBaseProps"}],"status":{"status":"complete"},"type":{"references":[],"text":"NonNullable<WithSlotShorthandValue<{ as?: \"div\"; } & Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, \"children\"> & { children?: any; }>>"}},{"declarationPackages":["@fluentui/react-tooltip"],"defaultValue":"250","documentation":"Delay before the tooltip is hidden, in milliseconds.","kind":"property","name":"hideDelay","optional":true,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipBaseProps"}],"status":{"status":"complete"},"type":{"references":[],"text":"number"}},{"declarationPackages":["@fluentui/react-portal"],"defaultValue":"a new element on document.body without any styling","documentation":"Where the portal children are mounted on DOM","kind":"property","name":"mountNode","optional":true,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipBaseProps"}],"status":{"status":"complete"},"type":{"references":[],"text":"HTMLElement | { element?: HTMLElement | null; className?: string; }"}},{"declarationPackages":["@fluentui/react-tooltip"],"documentation":"Notification when the visibility of the tooltip is changing.\n\n**Note**: for backwards compatibility, `event` will be undefined if this was triggered by a keyboard event on\nthe document element. Use `data.documentKeyboardEvent` if the keyboard event object is needed.","kind":"property","name":"onVisibleChange","optional":true,"readonly":false,"signatures":[{"id":"signature:call:0","kind":"call","overload":0,"parameters":[{"name":"event","optional":false,"rest":false,"type":{"references":[],"text":"React_2.PointerEvent<HTMLElement> | React_2.FocusEvent<HTMLElement, Element>"}},{"name":"data","optional":false,"rest":false,"type":{"references":[],"text":"OnVisibleChangeData"}}],"returnType":{"references":[],"text":"void"},"source":{"end":2446,"file":"dist/index.d.ts","start":2323},"typeParameters":[]}],"sources":[{"kind":"local","symbol":"symbol:TooltipBaseProps"}],"status":{"status":"complete"},"type":{"references":[],"text":"(event: React_2.PointerEvent<HTMLElement> | React_2.FocusEvent<HTMLElement> | undefined, data: OnVisibleChangeData) => void"}},{"declarationPackages":["@fluentui/react-tooltip"],"defaultValue":"above","documentation":"Configure the positioning of the tooltip","kind":"property","name":"positioning","optional":true,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipBaseProps"}],"status":{"status":"complete"},"type":{"references":[],"text":"PositioningShorthand"}},{"declarationPackages":["@fluentui/react-tooltip"],"documentation":"(Required) Specifies whether this tooltip is acting as the description or label of its trigger element.\n\n* `label` - The tooltip sets the trigger's aria-label or aria-labelledby attribute. This is useful for buttons\n displaying only an icon, for example.\n* `description` - The tooltip sets the trigger's aria-description or aria-describedby attribute.\n* `inaccessible` - No aria attributes are set on the trigger. This makes the tooltip's content inaccessible to\n screen readers, and should only be used if the tooltip's text is available by some other means.","kind":"property","name":"relationship","optional":false,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipBaseProps"}],"status":{"status":"complete"},"type":{"references":[],"text":"\"label\" | \"description\" | \"inaccessible\""}},{"declarationPackages":["@fluentui/react-tooltip"],"defaultValue":"250","documentation":"Delay before the tooltip is shown, in milliseconds.","kind":"property","name":"showDelay","optional":true,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipBaseProps"}],"status":{"status":"complete"},"type":{"references":[],"text":"number"}},{"declarationPackages":["@fluentui/react-tooltip"],"defaultValue":"false","documentation":"Control the tooltip's visibility programatically.\n\nThis can be used in conjunction with onVisibleChange to modify the tooltip's show and hide behavior.\n\nIf not provided, the visibility will be controlled by the tooltip itself, based on hover and focus events on the\ntrigger (child) element.","kind":"property","name":"visible","optional":true,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipBaseProps"}],"status":{"status":"complete"},"type":{"references":[],"text":"boolean"}},{"declarationPackages":["@fluentui/react-tooltip"],"defaultValue":"false","documentation":"Render an arrow pointing to the target element","kind":"property","name":"withArrow","optional":true,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipBaseProps"}],"status":{"status":"complete"},"type":{"references":[],"text":"boolean"}}],"signatures":[],"status":{"reasons":["checker-rendered effective type expressions do not include semantic reference spans"],"status":"partial"},"type":{"references":[],"text":"TooltipBaseProps"}},"fingerprint":{"algorithm":"sha256","value":"98710942f9d73f6105fbf0c2058d74e2aa81a850f0681c3696fcdb8cc811f3b2"},"id":"symbol:TooltipBaseProps","name":"TooltipBaseProps","namespaces":["type"],"relationships":[{"kind":"alias","type":{"references":[{"end":17,"start":5,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipProps"}}],"text":"Omit<TooltipProps, 'appearance'>"}}],"type":{"references":[{"end":36,"start":24,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipProps"}}],"text":"TooltipBaseProps = Omit<TooltipProps, 'appearance'>"}},{"classifications":[{"confidence":"heuristic","evidence":["export name ends with State"],"facet":"state"}],"declarations":[{"id":"symbol:TooltipBaseState:declaration:0","kind":"type-alias","namespaces":["type"],"relationships":[{"kind":"alias","type":{"references":[{"end":17,"start":5,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipState"}}],"text":"Omit<TooltipState, 'appearance'>"}}],"source":{"end":1344,"file":"dist/index.d.ts","start":1272},"type":{"references":[{"end":36,"start":24,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipState"}}],"text":"TooltipBaseState = Omit<TooltipState, 'appearance'>"}}],"effectiveType":{"members":[{"declarationPackages":["@fluentui/react-tooltip"],"documentation":"CSS class for the arrow element","kind":"property","name":"arrowClassName","optional":true,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipBaseState"}],"status":{"status":"complete"},"type":{"references":[],"text":"string"}},{"declarationPackages":["@fluentui/react-tooltip"],"documentation":"Ref to the arrow element","kind":"property","name":"arrowRef","optional":true,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipBaseState"}],"status":{"status":"complete"},"type":{"references":[],"text":"React_2.Ref<HTMLDivElement>"}},{"declarationPackages":["@fluentui/react-tooltip"],"kind":"property","name":"children","optional":true,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipBaseState"}],"status":{"status":"complete"},"type":{"references":[],"text":"JSXElement"}},{"declarationPackages":["@fluentui/react-utilities"],"deprecated":"The base element type for each slot.\nThis property is deprecated and will be removed in a future version.\nThe slot base element type is declared through `slot.*(slotShorthand, {elementType: ElementType})` instead.","kind":"property","name":"components","optional":false,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipBaseState"}],"status":{"status":"complete"},"type":{"references":[],"text":"{ content: React_2.ElementType<any, keyof React_2.JSX.IntrinsicElements>; }"}},{"declarationPackages":["@fluentui/react-tooltip"],"documentation":"The text or JSX content of the tooltip.","kind":"property","name":"content","optional":false,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipBaseState"}],"status":{"status":"complete"},"type":{"references":[],"text":"Omit<{ as?: \"div\"; } & Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, \"children\"> & { children?: any; }, \"children\"> & { children?: any; }"}},{"declarationPackages":["@fluentui/react-tooltip"],"documentation":"Whether positioning has determined that the tooltip or its target is outside its clipping boundary.","kind":"property","name":"hidden","optional":true,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipBaseState"}],"status":{"status":"complete"},"type":{"references":[],"text":"boolean"}},{"declarationPackages":["@fluentui/react-tooltip"],"defaultValue":"250","documentation":"Delay before the tooltip is hidden, in milliseconds.","kind":"property","name":"hideDelay","optional":false,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipBaseState"}],"status":{"status":"complete"},"type":{"references":[],"text":"number"}},{"declarationPackages":["@fluentui/react-portal"],"defaultValue":"a new element on document.body without any styling","documentation":"Where the portal children are mounted on DOM","kind":"property","name":"mountNode","optional":true,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipBaseState"}],"status":{"status":"complete"},"type":{"references":[],"text":"HTMLElement | { element?: HTMLElement | null; className?: string; }"}},{"declarationPackages":["@fluentui/react-tooltip"],"defaultValue":"above","documentation":"Configure the positioning of the tooltip","kind":"property","name":"positioning","optional":false,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipBaseState"}],"status":{"status":"complete"},"type":{"references":[],"text":"PositioningShorthand"}},{"declarationPackages":["@fluentui/react-tooltip"],"documentation":"(Required) Specifies whether this tooltip is acting as the description or label of its trigger element.\n\n* `label` - The tooltip sets the trigger's aria-label or aria-labelledby attribute. This is useful for buttons\n displaying only an icon, for example.\n* `description` - The tooltip sets the trigger's aria-description or aria-describedby attribute.\n* `inaccessible` - No aria attributes are set on the trigger. This makes the tooltip's content inaccessible to\n screen readers, and should only be used if the tooltip's text is available by some other means.","kind":"property","name":"relationship","optional":false,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipBaseState"}],"status":{"status":"complete"},"type":{"references":[],"text":"\"label\" | \"description\" | \"inaccessible\""}},{"declarationPackages":["@fluentui/react-tooltip"],"documentation":"Whether the tooltip should be rendered to the DOM.","kind":"property","name":"shouldRenderTooltip","optional":true,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipBaseState"}],"status":{"status":"complete"},"type":{"references":[],"text":"boolean"}},{"declarationPackages":["@fluentui/react-tooltip"],"defaultValue":"250","documentation":"Delay before the tooltip is shown, in milliseconds.","kind":"property","name":"showDelay","optional":false,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipBaseState"}],"status":{"status":"complete"},"type":{"references":[],"text":"number"}},{"declarationPackages":["@fluentui/react-tooltip"],"defaultValue":"false","documentation":"Control the tooltip's visibility programatically.\n\nThis can be used in conjunction with onVisibleChange to modify the tooltip's show and hide behavior.\n\nIf not provided, the visibility will be controlled by the tooltip itself, based on hover and focus events on the\ntrigger (child) element.","kind":"property","name":"visible","optional":false,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipBaseState"}],"status":{"status":"complete"},"type":{"references":[],"text":"boolean"}},{"declarationPackages":["@fluentui/react-tooltip"],"defaultValue":"false","documentation":"Render an arrow pointing to the target element","kind":"property","name":"withArrow","optional":false,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipBaseState"}],"status":{"status":"complete"},"type":{"references":[],"text":"boolean"}}],"signatures":[],"status":{"reasons":["checker-rendered effective type expressions do not include semantic reference spans"],"status":"partial"},"type":{"references":[],"text":"TooltipBaseState"}},"fingerprint":{"algorithm":"sha256","value":"51f8d118319984fa91377e51e057bb1276e55ffd48dee93cbf817f17f83b067c"},"id":"symbol:TooltipBaseState","name":"TooltipBaseState","namespaces":["type"],"relationships":[{"kind":"alias","type":{"references":[{"end":17,"start":5,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipState"}}],"text":"Omit<TooltipState, 'appearance'>"}}],"type":{"references":[{"end":36,"start":24,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipState"}}],"text":"TooltipBaseState = Omit<TooltipState, 'appearance'>"}},{"classifications":[{"confidence":"heuristic","evidence":["no stronger product facet matched"],"facet":"utility"}],"declarations":[{"id":"symbol:tooltipClassNames:declaration:0","kind":"variable","namespaces":["value"],"source":{"end":1414,"file":"dist/index.d.ts","start":1367},"type":{"references":[{"end":14,"start":0,"status":"resolved","target":{"entrypoint":".","export":"SlotClassNames","kind":"dependency","namespace":"type","package":"@fluentui/react-utilities"}},{"end":27,"start":15,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipSlots"}}],"text":"SlotClassNames<TooltipSlots>"}}],"effectiveType":{"members":[{"declarationPackages":["@fluentui/react-tooltip"],"documentation":"The text or JSX content of the tooltip.","kind":"property","name":"content","optional":false,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:tooltipClassNames"}],"status":{"status":"complete"},"type":{"references":[],"text":"string"}}],"signatures":[],"status":{"reasons":["checker-rendered effective type expressions do not include semantic reference spans"],"status":"partial"},"type":{"references":[],"text":"SlotClassNames<TooltipSlots>"}},"fingerprint":{"algorithm":"sha256","value":"9d6cbe0aab85252e031b9b05027cc5da33d1741dcd9c5c85d2f6d25328169fca"},"id":"symbol:tooltipClassNames","name":"tooltipClassNames","namespaces":["value"],"relationships":[],"type":{"references":[{"end":14,"start":0,"status":"resolved","target":{"entrypoint":".","export":"SlotClassNames","kind":"dependency","namespace":"type","package":"@fluentui/react-utilities"}},{"end":27,"start":15,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipSlots"}}],"text":"SlotClassNames<TooltipSlots>"}},{"classifications":[{"confidence":"heuristic","evidence":["export name ends with Props"],"facet":"props"}],"declarations":[{"documentation":"Properties for Tooltip","id":"symbol:TooltipProps:declaration:0","kind":"type-alias","namespaces":["type"],"relationships":[{"kind":"alias","type":{"references":[{"end":14,"start":0,"status":"resolved","target":{"entrypoint":".","export":"ComponentProps","kind":"dependency","namespace":"type","package":"@fluentui/react-utilities"}},{"end":27,"start":15,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipSlots"}},{"end":43,"start":31,"status":"resolved","target":{"entrypoint":".","export":"TriggerProps","kind":"dependency","namespace":"type","package":"@fluentui/react-utilities"}},{"end":63,"start":44,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipTriggerProps"}},{"end":83,"start":72,"status":"resolved","target":{"entrypoint":".","export":"PortalProps","kind":"dependency","namespace":"type","package":"@fluentui/react-portal"}},{"end":865,"start":845,"status":"resolved","target":{"entrypoint":".","export":"*","kind":"dependency","namespace":"type","package":"react"}},{"end":877,"start":866,"status":"resolved","target":{"entrypoint":".","export":"HTMLElement","kind":"dependency","namespace":"type","package":"typescript"}},{"end":899,"start":881,"status":"resolved","target":{"entrypoint":".","export":"*","kind":"dependency","namespace":"type","package":"react"}},{"end":911,"start":900,"status":"resolved","target":{"entrypoint":".","export":"HTMLElement","kind":"dependency","namespace":"type","package":"typescript"}},{"end":951,"start":932,"status":"resolved","target":{"kind":"local","symbol":"symbol:OnVisibleChangeData"}},{"end":1093,"start":1073,"status":"resolved","target":{"entrypoint":".","export":"PositioningShorthand","kind":"dependency","namespace":"type","package":"@fluentui/react-positioning"}}],"text":"ComponentProps<TooltipSlots> & TriggerProps<TooltipTriggerProps> & Pick<PortalProps, 'mountNode'> & {\n /**\n * The tooltip's visual appearance.\n * * `normal` - Uses the theme's background and text colors.\n * * `inverted` - Higher contrast variant that uses the theme's inverted colors.\n *\n * @default normal\n */\n appearance?: 'normal' | 'inverted';\n /**\n * Delay before the tooltip is hidden, in milliseconds.\n *\n * @default 250\n */\n hideDelay?: number;\n /**\n * Notification when the visibility of the tooltip is changing.\n *\n * **Note**: for backwards compatibility, `event` will be undefined if this was triggered by a keyboard event on\n * the document element. Use `data.documentKeyboardEvent` if the keyboard event object is needed.\n */\n onVisibleChange?: (event: React_2.PointerEvent<HTMLElement> | React_2.FocusEvent<HTMLElement> | undefined, data: OnVisibleChangeData) => void;\n /**\n * Configure the positioning of the tooltip\n *\n * @default above\n */\n positioning?: PositioningShorthand;\n /**\n * (Required) Specifies whether this tooltip is acting as the description or label of its trigger element.\n *\n * * `label` - The tooltip sets the trigger's aria-label or aria-labelledby attribute. This is useful for buttons\n * displaying only an icon, for example.\n * * `description` - The tooltip sets the trigger's aria-description or aria-describedby attribute.\n * * `inaccessible` - No aria attributes are set on the trigger. This makes the tooltip's content inaccessible to\n * screen readers, and should only be used if the tooltip's text is available by some other means.\n */\n relationship: 'label' | 'description' | 'inaccessible';\n /**\n * Delay before the tooltip is shown, in milliseconds.\n *\n * @default 250\n */\n showDelay?: number;\n /**\n * Control the tooltip's visibility programatically.\n *\n * This can be used in conjunction with onVisibleChange to modify the tooltip's show and hide behavior.\n *\n * If not provided, the visibility will be controlled by the tooltip itself, based on hover and focus events on the\n * trigger (child) element.\n *\n * @default false\n */\n visible?: boolean;\n /**\n * Render an arrow pointing to the target element\n *\n * @default false\n */\n withArrow?: boolean;\n}"}},{"kind":"intersection","type":{"references":[{"end":14,"start":0,"status":"resolved","target":{"entrypoint":".","export":"ComponentProps","kind":"dependency","namespace":"type","package":"@fluentui/react-utilities"}},{"end":27,"start":15,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipSlots"}},{"end":43,"start":31,"status":"resolved","target":{"entrypoint":".","export":"TriggerProps","kind":"dependency","namespace":"type","package":"@fluentui/react-utilities"}},{"end":63,"start":44,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipTriggerProps"}},{"end":83,"start":72,"status":"resolved","target":{"entrypoint":".","export":"PortalProps","kind":"dependency","namespace":"type","package":"@fluentui/react-portal"}},{"end":865,"start":845,"status":"resolved","target":{"entrypoint":".","export":"*","kind":"dependency","namespace":"type","package":"react"}},{"end":877,"start":866,"status":"resolved","target":{"entrypoint":".","export":"HTMLElement","kind":"dependency","namespace":"type","package":"typescript"}},{"end":899,"start":881,"status":"resolved","target":{"entrypoint":".","export":"*","kind":"dependency","namespace":"type","package":"react"}},{"end":911,"start":900,"status":"resolved","target":{"entrypoint":".","export":"HTMLElement","kind":"dependency","namespace":"type","package":"typescript"}},{"end":951,"start":932,"status":"resolved","target":{"kind":"local","symbol":"symbol:OnVisibleChangeData"}},{"end":1093,"start":1073,"status":"resolved","target":{"entrypoint":".","export":"PositioningShorthand","kind":"dependency","namespace":"type","package":"@fluentui/react-positioning"}}],"text":"ComponentProps<TooltipSlots> & TriggerProps<TooltipTriggerProps> & Pick<PortalProps, 'mountNode'> & {\n /**\n * The tooltip's visual appearance.\n * * `normal` - Uses the theme's background and text colors.\n * * `inverted` - Higher contrast variant that uses the theme's inverted colors.\n *\n * @default normal\n */\n appearance?: 'normal' | 'inverted';\n /**\n * Delay before the tooltip is hidden, in milliseconds.\n *\n * @default 250\n */\n hideDelay?: number;\n /**\n * Notification when the visibility of the tooltip is changing.\n *\n * **Note**: for backwards compatibility, `event` will be undefined if this was triggered by a keyboard event on\n * the document element. Use `data.documentKeyboardEvent` if the keyboard event object is needed.\n */\n onVisibleChange?: (event: React_2.PointerEvent<HTMLElement> | React_2.FocusEvent<HTMLElement> | undefined, data: OnVisibleChangeData) => void;\n /**\n * Configure the positioning of the tooltip\n *\n * @default above\n */\n positioning?: PositioningShorthand;\n /**\n * (Required) Specifies whether this tooltip is acting as the description or label of its trigger element.\n *\n * * `label` - The tooltip sets the trigger's aria-label or aria-labelledby attribute. This is useful for buttons\n * displaying only an icon, for example.\n * * `description` - The tooltip sets the trigger's aria-description or aria-describedby attribute.\n * * `inaccessible` - No aria attributes are set on the trigger. This makes the tooltip's content inaccessible to\n * screen readers, and should only be used if the tooltip's text is available by some other means.\n */\n relationship: 'label' | 'description' | 'inaccessible';\n /**\n * Delay before the tooltip is shown, in milliseconds.\n *\n * @default 250\n */\n showDelay?: number;\n /**\n * Control the tooltip's visibility programatically.\n *\n * This can be used in conjunction with onVisibleChange to modify the tooltip's show and hide behavior.\n *\n * If not provided, the visibility will be controlled by the tooltip itself, based on hover and focus events on the\n * trigger (child) element.\n *\n * @default false\n */\n visible?: boolean;\n /**\n * Render an arrow pointing to the target element\n *\n * @default false\n */\n withArrow?: boolean;\n}"}},{"kind":"union","type":{"references":[],"text":"'normal' | 'inverted'"}},{"kind":"union","type":{"references":[{"end":20,"start":0,"status":"resolved","target":{"entrypoint":".","export":"*","kind":"dependency","namespace":"type","package":"react"}},{"end":32,"start":21,"status":"resolved","target":{"entrypoint":".","export":"HTMLElement","kind":"dependency","namespace":"type","package":"typescript"}},{"end":54,"start":36,"status":"resolved","target":{"entrypoint":".","export":"*","kind":"dependency","namespace":"type","package":"react"}},{"end":66,"start":55,"status":"resolved","target":{"entrypoint":".","export":"HTMLElement","kind":"dependency","namespace":"type","package":"typescript"}}],"text":"React_2.PointerEvent<HTMLElement> | React_2.FocusEvent<HTMLElement> | undefined"}},{"kind":"union","type":{"references":[],"text":"'label' | 'description' | 'inaccessible'"}}],"source":{"end":3919,"file":"dist/index.d.ts","start":1451},"type":{"references":[{"end":29,"start":15,"status":"resolved","target":{"entrypoint":".","export":"ComponentProps","kind":"dependency","namespace":"type","package":"@fluentui/react-utilities"}},{"end":42,"start":30,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipSlots"}},{"end":58,"start":46,"status":"resolved","target":{"entrypoint":".","export":"TriggerProps","kind":"dependency","namespace":"type","package":"@fluentui/react-utilities"}},{"end":78,"start":59,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipTriggerProps"}},{"end":98,"start":87,"status":"resolved","target":{"entrypoint":".","export":"PortalProps","kind":"dependency","namespace":"type","package":"@fluentui/react-portal"}},{"end":880,"start":860,"status":"resolved","target":{"entrypoint":".","export":"*","kind":"dependency","namespace":"type","package":"react"}},{"end":892,"start":881,"status":"resolved","target":{"entrypoint":".","export":"HTMLElement","kind":"dependency","namespace":"type","package":"typescript"}},{"end":914,"start":896,"status":"resolved","target":{"entrypoint":".","export":"*","kind":"dependency","namespace":"type","package":"react"}},{"end":926,"start":915,"status":"resolved","target":{"entrypoint":".","export":"HTMLElement","kind":"dependency","namespace":"type","package":"typescript"}},{"end":966,"start":947,"status":"resolved","target":{"kind":"local","symbol":"symbol:OnVisibleChangeData"}},{"end":1108,"start":1088,"status":"resolved","target":{"entrypoint":".","export":"PositioningShorthand","kind":"dependency","namespace":"type","package":"@fluentui/react-positioning"}}],"text":"TooltipProps = ComponentProps<TooltipSlots> & TriggerProps<TooltipTriggerProps> & Pick<PortalProps, 'mountNode'> & {\n /**\n * The tooltip's visual appearance.\n * * `normal` - Uses the theme's background and text colors.\n * * `inverted` - Higher contrast variant that uses the theme's inverted colors.\n *\n * @default normal\n */\n appearance?: 'normal' | 'inverted';\n /**\n * Delay before the tooltip is hidden, in milliseconds.\n *\n * @default 250\n */\n hideDelay?: number;\n /**\n * Notification when the visibility of the tooltip is changing.\n *\n * **Note**: for backwards compatibility, `event` will be undefined if this was triggered by a keyboard event on\n * the document element. Use `data.documentKeyboardEvent` if the keyboard event object is needed.\n */\n onVisibleChange?: (event: React_2.PointerEvent<HTMLElement> | React_2.FocusEvent<HTMLElement> | undefined, data: OnVisibleChangeData) => void;\n /**\n * Configure the positioning of the tooltip\n *\n * @default above\n */\n positioning?: PositioningShorthand;\n /**\n * (Required) Specifies whether this tooltip is acting as the description or label of its trigger element.\n *\n * * `label` - The tooltip sets the trigger's aria-label or aria-labelledby attribute. This is useful for buttons\n * displaying only an icon, for example.\n * * `description` - The tooltip sets the trigger's aria-description or aria-describedby attribute.\n * * `inaccessible` - No aria attributes are set on the trigger. This makes the tooltip's content inaccessible to\n * screen readers, and should only be used if the tooltip's text is available by some other means.\n */\n relationship: 'label' | 'description' | 'inaccessible';\n /**\n * Delay before the tooltip is shown, in milliseconds.\n *\n * @default 250\n */\n showDelay?: number;\n /**\n * Control the tooltip's visibility programatically.\n *\n * This can be used in conjunction with onVisibleChange to modify the tooltip's show and hide behavior.\n *\n * If not provided, the visibility will be controlled by the tooltip itself, based on hover and focus events on the\n * trigger (child) element.\n *\n * @default false\n */\n visible?: boolean;\n /**\n * Render an arrow pointing to the target element\n *\n * @default false\n */\n withArrow?: boolean;\n}"}}],"effectiveType":{"members":[{"declarationPackages":["@fluentui/react-tooltip"],"defaultValue":"normal","documentation":"The tooltip's visual appearance.\n* `normal` - Uses the theme's background and text colors.\n* `inverted` - Higher contrast variant that uses the theme's inverted colors.","kind":"property","name":"appearance","optional":true,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipProps"}],"status":{"status":"complete"},"type":{"references":[],"text":"\"normal\" | \"inverted\""}},{"declarationPackages":["@fluentui/react-utilities"],"kind":"property","name":"children","optional":true,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipProps"}],"status":{"status":"complete"},"type":{"references":[],"text":"React_2.ReactElement<unknown, string | React_2.JSXElementConstructor<any>> | ((props: TooltipTriggerProps) => React_2.ReactElement | null)"}},{"declarationPackages":["@fluentui/react-tooltip"],"documentation":"The text or JSX content of the tooltip.","kind":"property","name":"content","optional":false,"presentation":{"basis":"declaration","kind":"slot","nullable":false,"slotType":{"entrypoint":".","export":"Slot","kind":"dependency","namespace":"type","package":"@fluentui/react-utilities"},"summary":"NonNullable<Slot<'div'>>","targets":[{"kind":"intrinsic","name":"div","role":"default"}]},"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipProps"}],"status":{"status":"complete"},"type":{"references":[],"text":"NonNullable<WithSlotShorthandValue<{ as?: \"div\"; } & Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, \"children\"> & { children?: any; }>>"}},{"declarationPackages":["@fluentui/react-tooltip"],"defaultValue":"250","documentation":"Delay before the tooltip is hidden, in milliseconds.","kind":"property","name":"hideDelay","optional":true,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipProps"}],"status":{"status":"complete"},"type":{"references":[],"text":"number"}},{"declarationPackages":["@fluentui/react-portal"],"defaultValue":"a new element on document.body without any styling","documentation":"Where the portal children are mounted on DOM","kind":"property","name":"mountNode","optional":true,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipProps"}],"status":{"status":"complete"},"type":{"references":[],"text":"HTMLElement | { element?: HTMLElement | null; className?: string; }"}},{"declarationPackages":["@fluentui/react-tooltip"],"documentation":"Notification when the visibility of the tooltip is changing.\n\n**Note**: for backwards compatibility, `event` will be undefined if this was triggered by a keyboard event on\nthe document element. Use `data.documentKeyboardEvent` if the keyboard event object is needed.","kind":"property","name":"onVisibleChange","optional":true,"readonly":false,"signatures":[{"id":"signature:call:0","kind":"call","overload":0,"parameters":[{"name":"event","optional":false,"rest":false,"type":{"references":[],"text":"React_2.PointerEvent<HTMLElement> | React_2.FocusEvent<HTMLElement, Element>"}},{"name":"data","optional":false,"rest":false,"type":{"references":[],"text":"OnVisibleChangeData"}}],"returnType":{"references":[],"text":"void"},"source":{"end":2446,"file":"dist/index.d.ts","start":2323},"typeParameters":[]}],"sources":[{"kind":"local","symbol":"symbol:TooltipProps"}],"status":{"status":"complete"},"type":{"references":[],"text":"(event: React_2.PointerEvent<HTMLElement> | React_2.FocusEvent<HTMLElement> | undefined, data: OnVisibleChangeData) => void"}},{"declarationPackages":["@fluentui/react-tooltip"],"defaultValue":"above","documentation":"Configure the positioning of the tooltip","kind":"property","name":"positioning","optional":true,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipProps"}],"status":{"status":"complete"},"type":{"references":[],"text":"PositioningShorthand"}},{"declarationPackages":["@fluentui/react-tooltip"],"documentation":"(Required) Specifies whether this tooltip is acting as the description or label of its trigger element.\n\n* `label` - The tooltip sets the trigger's aria-label or aria-labelledby attribute. This is useful for buttons\n displaying only an icon, for example.\n* `description` - The tooltip sets the trigger's aria-description or aria-describedby attribute.\n* `inaccessible` - No aria attributes are set on the trigger. This makes the tooltip's content inaccessible to\n screen readers, and should only be used if the tooltip's text is available by some other means.","kind":"property","name":"relationship","optional":false,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipProps"}],"status":{"status":"complete"},"type":{"references":[],"text":"\"label\" | \"description\" | \"inaccessible\""}},{"declarationPackages":["@fluentui/react-tooltip"],"defaultValue":"250","documentation":"Delay before the tooltip is shown, in milliseconds.","kind":"property","name":"showDelay","optional":true,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipProps"}],"status":{"status":"complete"},"type":{"references":[],"text":"number"}},{"declarationPackages":["@fluentui/react-tooltip"],"defaultValue":"false","documentation":"Control the tooltip's visibility programatically.\n\nThis can be used in conjunction with onVisibleChange to modify the tooltip's show and hide behavior.\n\nIf not provided, the visibility will be controlled by the tooltip itself, based on hover and focus events on the\ntrigger (child) element.","kind":"property","name":"visible","optional":true,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipProps"}],"status":{"status":"complete"},"type":{"references":[],"text":"boolean"}},{"declarationPackages":["@fluentui/react-tooltip"],"defaultValue":"false","documentation":"Render an arrow pointing to the target element","kind":"property","name":"withArrow","optional":true,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipProps"}],"status":{"status":"complete"},"type":{"references":[],"text":"boolean"}}],"signatures":[],"status":{"reasons":["checker-rendered effective type expressions do not include semantic reference spans"],"status":"partial"},"type":{"references":[],"text":"TooltipProps"}},"fingerprint":{"algorithm":"sha256","value":"2c8f69d769478ef7a31e7446362ad67fdd54aebb041e8d66242df900b4e071d6"},"id":"symbol:TooltipProps","name":"TooltipProps","namespaces":["type"],"relationships":[{"kind":"alias","type":{"references":[{"end":14,"start":0,"status":"resolved","target":{"entrypoint":".","export":"ComponentProps","kind":"dependency","namespace":"type","package":"@fluentui/react-utilities"}},{"end":27,"start":15,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipSlots"}},{"end":43,"start":31,"status":"resolved","target":{"entrypoint":".","export":"TriggerProps","kind":"dependency","namespace":"type","package":"@fluentui/react-utilities"}},{"end":63,"start":44,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipTriggerProps"}},{"end":83,"start":72,"status":"resolved","target":{"entrypoint":".","export":"PortalProps","kind":"dependency","namespace":"type","package":"@fluentui/react-portal"}},{"end":865,"start":845,"status":"resolved","target":{"entrypoint":".","export":"*","kind":"dependency","namespace":"type","package":"react"}},{"end":877,"start":866,"status":"resolved","target":{"entrypoint":".","export":"HTMLElement","kind":"dependency","namespace":"type","package":"typescript"}},{"end":899,"start":881,"status":"resolved","target":{"entrypoint":".","export":"*","kind":"dependency","namespace":"type","package":"react"}},{"end":911,"start":900,"status":"resolved","target":{"entrypoint":".","export":"HTMLElement","kind":"dependency","namespace":"type","package":"typescript"}},{"end":951,"start":932,"status":"resolved","target":{"kind":"local","symbol":"symbol:OnVisibleChangeData"}},{"end":1093,"start":1073,"status":"resolved","target":{"entrypoint":".","export":"PositioningShorthand","kind":"dependency","namespace":"type","package":"@fluentui/react-positioning"}}],"text":"ComponentProps<TooltipSlots> & TriggerProps<TooltipTriggerProps> & Pick<PortalProps, 'mountNode'> & {\n /**\n * The tooltip's visual appearance.\n * * `normal` - Uses the theme's background and text colors.\n * * `inverted` - Higher contrast variant that uses the theme's inverted colors.\n *\n * @default normal\n */\n appearance?: 'normal' | 'inverted';\n /**\n * Delay before the tooltip is hidden, in milliseconds.\n *\n * @default 250\n */\n hideDelay?: number;\n /**\n * Notification when the visibility of the tooltip is changing.\n *\n * **Note**: for backwards compatibility, `event` will be undefined if this was triggered by a keyboard event on\n * the document element. Use `data.documentKeyboardEvent` if the keyboard event object is needed.\n */\n onVisibleChange?: (event: React_2.PointerEvent<HTMLElement> | React_2.FocusEvent<HTMLElement> | undefined, data: OnVisibleChangeData) => void;\n /**\n * Configure the positioning of the tooltip\n *\n * @default above\n */\n positioning?: PositioningShorthand;\n /**\n * (Required) Specifies whether this tooltip is acting as the description or label of its trigger element.\n *\n * * `label` - The tooltip sets the trigger's aria-label or aria-labelledby attribute. This is useful for buttons\n * displaying only an icon, for example.\n * * `description` - The tooltip sets the trigger's aria-description or aria-describedby attribute.\n * * `inaccessible` - No aria attributes are set on the trigger. This makes the tooltip's content inaccessible to\n * screen readers, and should only be used if the tooltip's text is available by some other means.\n */\n relationship: 'label' | 'description' | 'inaccessible';\n /**\n * Delay before the tooltip is shown, in milliseconds.\n *\n * @default 250\n */\n showDelay?: number;\n /**\n * Control the tooltip's visibility programatically.\n *\n * This can be used in conjunction with onVisibleChange to modify the tooltip's show and hide behavior.\n *\n * If not provided, the visibility will be controlled by the tooltip itself, based on hover and focus events on the\n * trigger (child) element.\n *\n * @default false\n */\n visible?: boolean;\n /**\n * Render an arrow pointing to the target element\n *\n * @default false\n */\n withArrow?: boolean;\n}"}},{"kind":"intersection","type":{"references":[{"end":14,"start":0,"status":"resolved","target":{"entrypoint":".","export":"ComponentProps","kind":"dependency","namespace":"type","package":"@fluentui/react-utilities"}},{"end":27,"start":15,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipSlots"}},{"end":43,"start":31,"status":"resolved","target":{"entrypoint":".","export":"TriggerProps","kind":"dependency","namespace":"type","package":"@fluentui/react-utilities"}},{"end":63,"start":44,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipTriggerProps"}},{"end":83,"start":72,"status":"resolved","target":{"entrypoint":".","export":"PortalProps","kind":"dependency","namespace":"type","package":"@fluentui/react-portal"}},{"end":865,"start":845,"status":"resolved","target":{"entrypoint":".","export":"*","kind":"dependency","namespace":"type","package":"react"}},{"end":877,"start":866,"status":"resolved","target":{"entrypoint":".","export":"HTMLElement","kind":"dependency","namespace":"type","package":"typescript"}},{"end":899,"start":881,"status":"resolved","target":{"entrypoint":".","export":"*","kind":"dependency","namespace":"type","package":"react"}},{"end":911,"start":900,"status":"resolved","target":{"entrypoint":".","export":"HTMLElement","kind":"dependency","namespace":"type","package":"typescript"}},{"end":951,"start":932,"status":"resolved","target":{"kind":"local","symbol":"symbol:OnVisibleChangeData"}},{"end":1093,"start":1073,"status":"resolved","target":{"entrypoint":".","export":"PositioningShorthand","kind":"dependency","namespace":"type","package":"@fluentui/react-positioning"}}],"text":"ComponentProps<TooltipSlots> & TriggerProps<TooltipTriggerProps> & Pick<PortalProps, 'mountNode'> & {\n /**\n * The tooltip's visual appearance.\n * * `normal` - Uses the theme's background and text colors.\n * * `inverted` - Higher contrast variant that uses the theme's inverted colors.\n *\n * @default normal\n */\n appearance?: 'normal' | 'inverted';\n /**\n * Delay before the tooltip is hidden, in milliseconds.\n *\n * @default 250\n */\n hideDelay?: number;\n /**\n * Notification when the visibility of the tooltip is changing.\n *\n * **Note**: for backwards compatibility, `event` will be undefined if this was triggered by a keyboard event on\n * the document element. Use `data.documentKeyboardEvent` if the keyboard event object is needed.\n */\n onVisibleChange?: (event: React_2.PointerEvent<HTMLElement> | React_2.FocusEvent<HTMLElement> | undefined, data: OnVisibleChangeData) => void;\n /**\n * Configure the positioning of the tooltip\n *\n * @default above\n */\n positioning?: PositioningShorthand;\n /**\n * (Required) Specifies whether this tooltip is acting as the description or label of its trigger element.\n *\n * * `label` - The tooltip sets the trigger's aria-label or aria-labelledby attribute. This is useful for buttons\n * displaying only an icon, for example.\n * * `description` - The tooltip sets the trigger's aria-description or aria-describedby attribute.\n * * `inaccessible` - No aria attributes are set on the trigger. This makes the tooltip's content inaccessible to\n * screen readers, and should only be used if the tooltip's text is available by some other means.\n */\n relationship: 'label' | 'description' | 'inaccessible';\n /**\n * Delay before the tooltip is shown, in milliseconds.\n *\n * @default 250\n */\n showDelay?: number;\n /**\n * Control the tooltip's visibility programatically.\n *\n * This can be used in conjunction with onVisibleChange to modify the tooltip's show and hide behavior.\n *\n * If not provided, the visibility will be controlled by the tooltip itself, based on hover and focus events on the\n * trigger (child) element.\n *\n * @default false\n */\n visible?: boolean;\n /**\n * Render an arrow pointing to the target element\n *\n * @default false\n */\n withArrow?: boolean;\n}"}},{"kind":"union","type":{"references":[],"text":"'normal' | 'inverted'"}},{"kind":"union","type":{"references":[{"end":20,"start":0,"status":"resolved","target":{"entrypoint":".","export":"*","kind":"dependency","namespace":"type","package":"react"}},{"end":32,"start":21,"status":"resolved","target":{"entrypoint":".","export":"HTMLElement","kind":"dependency","namespace":"type","package":"typescript"}},{"end":54,"start":36,"status":"resolved","target":{"entrypoint":".","export":"*","kind":"dependency","namespace":"type","package":"react"}},{"end":66,"start":55,"status":"resolved","target":{"entrypoint":".","export":"HTMLElement","kind":"dependency","namespace":"type","package":"typescript"}}],"text":"React_2.PointerEvent<HTMLElement> | React_2.FocusEvent<HTMLElement> | undefined"}},{"kind":"union","type":{"references":[],"text":"'label' | 'description' | 'inaccessible'"}}],"type":{"references":[{"end":29,"start":15,"status":"resolved","target":{"entrypoint":".","export":"ComponentProps","kind":"dependency","namespace":"type","package":"@fluentui/react-utilities"}},{"end":42,"start":30,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipSlots"}},{"end":58,"start":46,"status":"resolved","target":{"entrypoint":".","export":"TriggerProps","kind":"dependency","namespace":"type","package":"@fluentui/react-utilities"}},{"end":78,"start":59,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipTriggerProps"}},{"end":98,"start":87,"status":"resolved","target":{"entrypoint":".","export":"PortalProps","kind":"dependency","namespace":"type","package":"@fluentui/react-portal"}},{"end":880,"start":860,"status":"resolved","target":{"entrypoint":".","export":"*","kind":"dependency","namespace":"type","package":"react"}},{"end":892,"start":881,"status":"resolved","target":{"entrypoint":".","export":"HTMLElement","kind":"dependency","namespace":"type","package":"typescript"}},{"end":914,"start":896,"status":"resolved","target":{"entrypoint":".","export":"*","kind":"dependency","namespace":"type","package":"react"}},{"end":926,"start":915,"status":"resolved","target":{"entrypoint":".","export":"HTMLElement","kind":"dependency","namespace":"type","package":"typescript"}},{"end":966,"start":947,"status":"resolved","target":{"kind":"local","symbol":"symbol:OnVisibleChangeData"}},{"end":1108,"start":1088,"status":"resolved","target":{"entrypoint":".","export":"PositioningShorthand","kind":"dependency","namespace":"type","package":"@fluentui/react-positioning"}}],"text":"TooltipProps = ComponentProps<TooltipSlots> & TriggerProps<TooltipTriggerProps> & Pick<PortalProps, 'mountNode'> & {\n /**\n * The tooltip's visual appearance.\n * * `normal` - Uses the theme's background and text colors.\n * * `inverted` - Higher contrast variant that uses the theme's inverted colors.\n *\n * @default normal\n */\n appearance?: 'normal' | 'inverted';\n /**\n * Delay before the tooltip is hidden, in milliseconds.\n *\n * @default 250\n */\n hideDelay?: number;\n /**\n * Notification when the visibility of the tooltip is changing.\n *\n * **Note**: for backwards compatibility, `event` will be undefined if this was triggered by a keyboard event on\n * the document element. Use `data.documentKeyboardEvent` if the keyboard event object is needed.\n */\n onVisibleChange?: (event: React_2.PointerEvent<HTMLElement> | React_2.FocusEvent<HTMLElement> | undefined, data: OnVisibleChangeData) => void;\n /**\n * Configure the positioning of the tooltip\n *\n * @default above\n */\n positioning?: PositioningShorthand;\n /**\n * (Required) Specifies whether this tooltip is acting as the description or label of its trigger element.\n *\n * * `label` - The tooltip sets the trigger's aria-label or aria-labelledby attribute. This is useful for buttons\n * displaying only an icon, for example.\n * * `description` - The tooltip sets the trigger's aria-description or aria-describedby attribute.\n * * `inaccessible` - No aria attributes are set on the trigger. This makes the tooltip's content inaccessible to\n * screen readers, and should only be used if the tooltip's text is available by some other means.\n */\n relationship: 'label' | 'description' | 'inaccessible';\n /**\n * Delay before the tooltip is shown, in milliseconds.\n *\n * @default 250\n */\n showDelay?: number;\n /**\n * Control the tooltip's visibility programatically.\n *\n * This can be used in conjunction with onVisibleChange to modify the tooltip's show and hide behavior.\n *\n * If not provided, the visibility will be controlled by the tooltip itself, based on hover and focus events on the\n * trigger (child) element.\n *\n * @default false\n */\n visible?: boolean;\n /**\n * Render an arrow pointing to the target element\n *\n * @default false\n */\n withArrow?: boolean;\n}"}},{"classifications":[{"confidence":"heuristic","evidence":["export name ends with Slots"],"facet":"slots"}],"declarations":[{"documentation":"Slot properties for Tooltip","id":"symbol:TooltipSlots:declaration:0","kind":"type-alias","namespaces":["type"],"relationships":[{"kind":"alias","type":{"references":[{"end":94,"start":90,"status":"resolved","target":{"entrypoint":".","export":"Slot","kind":"dependency","namespace":"type","package":"@fluentui/react-utilities"}}],"text":"{\n /**\n * The text or JSX content of the tooltip.\n */\n content: NonNullable<Slot<'div'>>;\n}"}}],"source":{"end":4101,"file":"dist/index.d.ts","start":3960},"type":{"references":[{"end":109,"start":105,"status":"resolved","target":{"entrypoint":".","export":"Slot","kind":"dependency","namespace":"type","package":"@fluentui/react-utilities"}}],"text":"TooltipSlots = {\n /**\n * The text or JSX content of the tooltip.\n */\n content: NonNullable<Slot<'div'>>;\n}"}}],"effectiveType":{"members":[{"declarationPackages":["@fluentui/react-tooltip"],"documentation":"The text or JSX content of the tooltip.","kind":"property","name":"content","optional":false,"presentation":{"basis":"declaration","kind":"slot","nullable":false,"slotType":{"entrypoint":".","export":"Slot","kind":"dependency","namespace":"type","package":"@fluentui/react-utilities"},"summary":"NonNullable<Slot<'div'>>","targets":[{"kind":"intrinsic","name":"div","role":"default"}]},"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipSlots"}],"status":{"status":"complete"},"type":{"references":[],"text":"NonNullable<WithSlotShorthandValue<{ as?: \"div\"; } & Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, \"children\"> & { children?: any; }>>"}}],"signatures":[],"status":{"reasons":["checker-rendered effective type expressions do not include semantic reference spans"],"status":"partial"},"type":{"references":[],"text":"TooltipSlots"}},"fingerprint":{"algorithm":"sha256","value":"521c001091091d723ad32a0c72115146f5c351c40ea5b965b32938fe2a616914"},"id":"symbol:TooltipSlots","name":"TooltipSlots","namespaces":["type"],"relationships":[{"kind":"alias","type":{"references":[{"end":94,"start":90,"status":"resolved","target":{"entrypoint":".","export":"Slot","kind":"dependency","namespace":"type","package":"@fluentui/react-utilities"}}],"text":"{\n /**\n * The text or JSX content of the tooltip.\n */\n content: NonNullable<Slot<'div'>>;\n}"}}],"type":{"references":[{"end":109,"start":105,"status":"resolved","target":{"entrypoint":".","export":"Slot","kind":"dependency","namespace":"type","package":"@fluentui/react-utilities"}}],"text":"TooltipSlots = {\n /**\n * The text or JSX content of the tooltip.\n */\n content: NonNullable<Slot<'div'>>;\n}"}},{"classifications":[{"confidence":"heuristic","evidence":["export name ends with State"],"facet":"state"}],"declarations":[{"documentation":"State used in rendering Tooltip","id":"symbol:TooltipState:declaration:0","kind":"type-alias","namespaces":["type"],"relationships":[{"kind":"alias","type":{"references":[{"end":14,"start":0,"status":"resolved","target":{"entrypoint":".","export":"ComponentState","kind":"dependency","namespace":"type","package":"@fluentui/react-utilities"}},{"end":27,"start":15,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipSlots"}},{"end":48,"start":36,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipProps"}},{"end":108,"start":96,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipProps"}},{"end":224,"start":214,"status":"resolved","target":{"entrypoint":".","export":"JSXElement","kind":"dependency","namespace":"type","package":"@fluentui/react-utilities"}},{"end":561,"start":550,"status":"resolved","target":{"entrypoint":".","export":"*","kind":"dependency","namespace":"type","package":"react"}},{"end":576,"start":562,"status":"resolved","target":{"entrypoint":".","export":"HTMLDivElement","kind":"dependency","namespace":"type","package":"typescript"}}],"text":"ComponentState<TooltipSlots> & Pick<TooltipProps, 'mountNode' | 'relationship'> & Required<Pick<TooltipProps, 'appearance' | 'hideDelay' | 'positioning' | 'showDelay' | 'visible' | 'withArrow'>> & {\n children?: JSXElement | null;\n /**\n * Whether positioning has determined that the tooltip or its target is outside its clipping boundary.\n */\n hidden?: boolean;\n /**\n * Whether the tooltip should be rendered to the DOM.\n */\n shouldRenderTooltip?: boolean;\n /**\n * Ref to the arrow element\n */\n arrowRef?: React_2.Ref<HTMLDivElement>;\n /**\n * CSS class for the arrow element\n */\n arrowClassName?: string;\n}"}},{"kind":"intersection","type":{"references":[{"end":14,"start":0,"status":"resolved","target":{"entrypoint":".","export":"ComponentState","kind":"dependency","namespace":"type","package":"@fluentui/react-utilities"}},{"end":27,"start":15,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipSlots"}},{"end":48,"start":36,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipProps"}},{"end":108,"start":96,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipProps"}},{"end":224,"start":214,"status":"resolved","target":{"entrypoint":".","export":"JSXElement","kind":"dependency","namespace":"type","package":"@fluentui/react-utilities"}},{"end":561,"start":550,"status":"resolved","target":{"entrypoint":".","export":"*","kind":"dependency","namespace":"type","package":"react"}},{"end":576,"start":562,"status":"resolved","target":{"entrypoint":".","export":"HTMLDivElement","kind":"dependency","namespace":"type","package":"typescript"}}],"text":"ComponentState<TooltipSlots> & Pick<TooltipProps, 'mountNode' | 'relationship'> & Required<Pick<TooltipProps, 'appearance' | 'hideDelay' | 'positioning' | 'showDelay' | 'visible' | 'withArrow'>> & {\n children?: JSXElement | null;\n /**\n * Whether positioning has determined that the tooltip or its target is outside its clipping boundary.\n */\n hidden?: boolean;\n /**\n * Whether the tooltip should be rendered to the DOM.\n */\n shouldRenderTooltip?: boolean;\n /**\n * Ref to the arrow element\n */\n arrowRef?: React_2.Ref<HTMLDivElement>;\n /**\n * CSS class for the arrow element\n */\n arrowClassName?: string;\n}"}},{"kind":"union","type":{"references":[],"text":"'mountNode' | 'relationship'"}},{"kind":"union","type":{"references":[],"text":"'appearance' | 'hideDelay' | 'positioning' | 'showDelay' | 'visible' | 'withArrow'"}},{"kind":"union","type":{"references":[{"end":10,"start":0,"status":"resolved","target":{"entrypoint":".","export":"JSXElement","kind":"dependency","namespace":"type","package":"@fluentui/react-utilities"}}],"text":"JSXElement | null"}}],"source":{"end":4846,"file":"dist/index.d.ts","start":4146},"type":{"references":[{"end":29,"start":15,"status":"resolved","target":{"entrypoint":".","export":"ComponentState","kind":"dependency","namespace":"type","package":"@fluentui/react-utilities"}},{"end":42,"start":30,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipSlots"}},{"end":63,"start":51,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipProps"}},{"end":123,"start":111,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipProps"}},{"end":239,"start":229,"status":"resolved","target":{"entrypoint":".","export":"JSXElement","kind":"dependency","namespace":"type","package":"@fluentui/react-utilities"}},{"end":576,"start":565,"status":"resolved","target":{"entrypoint":".","export":"*","kind":"dependency","namespace":"type","package":"react"}},{"end":591,"start":577,"status":"resolved","target":{"entrypoint":".","export":"HTMLDivElement","kind":"dependency","namespace":"type","package":"typescript"}}],"text":"TooltipState = ComponentState<TooltipSlots> & Pick<TooltipProps, 'mountNode' | 'relationship'> & Required<Pick<TooltipProps, 'appearance' | 'hideDelay' | 'positioning' | 'showDelay' | 'visible' | 'withArrow'>> & {\n children?: JSXElement | null;\n /**\n * Whether positioning has determined that the tooltip or its target is outside its clipping boundary.\n */\n hidden?: boolean;\n /**\n * Whether the tooltip should be rendered to the DOM.\n */\n shouldRenderTooltip?: boolean;\n /**\n * Ref to the arrow element\n */\n arrowRef?: React_2.Ref<HTMLDivElement>;\n /**\n * CSS class for the arrow element\n */\n arrowClassName?: string;\n}"}}],"effectiveType":{"members":[{"declarationPackages":["@fluentui/react-tooltip"],"defaultValue":"normal","documentation":"The tooltip's visual appearance.\n* `normal` - Uses the theme's background and text colors.\n* `inverted` - Higher contrast variant that uses the theme's inverted colors.","kind":"property","name":"appearance","optional":false,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipState"}],"status":{"status":"complete"},"type":{"references":[],"text":"\"normal\" | \"inverted\""}},{"declarationPackages":["@fluentui/react-tooltip"],"documentation":"CSS class for the arrow element","kind":"property","name":"arrowClassName","optional":true,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipState"}],"status":{"status":"complete"},"type":{"references":[],"text":"string"}},{"declarationPackages":["@fluentui/react-tooltip"],"documentation":"Ref to the arrow element","kind":"property","name":"arrowRef","optional":true,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipState"}],"status":{"status":"complete"},"type":{"references":[],"text":"React_2.Ref<HTMLDivElement>"}},{"declarationPackages":["@fluentui/react-tooltip"],"kind":"property","name":"children","optional":true,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipState"}],"status":{"status":"complete"},"type":{"references":[],"text":"JSXElement"}},{"declarationPackages":["@fluentui/react-utilities"],"deprecated":"The base element type for each slot.\nThis property is deprecated and will be removed in a future version.\nThe slot base element type is declared through `slot.*(slotShorthand, {elementType: ElementType})` instead.","kind":"property","name":"components","optional":false,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipState"}],"status":{"status":"complete"},"type":{"references":[],"text":"{ content: React_2.ElementType<any, keyof React_2.JSX.IntrinsicElements>; }"}},{"declarationPackages":["@fluentui/react-tooltip"],"documentation":"The text or JSX content of the tooltip.","kind":"property","name":"content","optional":false,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipState"}],"status":{"status":"complete"},"type":{"references":[],"text":"Omit<{ as?: \"div\"; } & Omit<React_2.DetailedHTMLProps<React_2.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, \"children\"> & { children?: any; }, \"children\"> & { children?: any; }"}},{"declarationPackages":["@fluentui/react-tooltip"],"documentation":"Whether positioning has determined that the tooltip or its target is outside its clipping boundary.","kind":"property","name":"hidden","optional":true,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipState"}],"status":{"status":"complete"},"type":{"references":[],"text":"boolean"}},{"declarationPackages":["@fluentui/react-tooltip"],"defaultValue":"250","documentation":"Delay before the tooltip is hidden, in milliseconds.","kind":"property","name":"hideDelay","optional":false,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipState"}],"status":{"status":"complete"},"type":{"references":[],"text":"number"}},{"declarationPackages":["@fluentui/react-portal"],"defaultValue":"a new element on document.body without any styling","documentation":"Where the portal children are mounted on DOM","kind":"property","name":"mountNode","optional":true,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipState"}],"status":{"status":"complete"},"type":{"references":[],"text":"HTMLElement | { element?: HTMLElement | null; className?: string; }"}},{"declarationPackages":["@fluentui/react-tooltip"],"defaultValue":"above","documentation":"Configure the positioning of the tooltip","kind":"property","name":"positioning","optional":false,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipState"}],"status":{"status":"complete"},"type":{"references":[],"text":"PositioningShorthand"}},{"declarationPackages":["@fluentui/react-tooltip"],"documentation":"(Required) Specifies whether this tooltip is acting as the description or label of its trigger element.\n\n* `label` - The tooltip sets the trigger's aria-label or aria-labelledby attribute. This is useful for buttons\n displaying only an icon, for example.\n* `description` - The tooltip sets the trigger's aria-description or aria-describedby attribute.\n* `inaccessible` - No aria attributes are set on the trigger. This makes the tooltip's content inaccessible to\n screen readers, and should only be used if the tooltip's text is available by some other means.","kind":"property","name":"relationship","optional":false,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipState"}],"status":{"status":"complete"},"type":{"references":[],"text":"\"label\" | \"description\" | \"inaccessible\""}},{"declarationPackages":["@fluentui/react-tooltip"],"documentation":"Whether the tooltip should be rendered to the DOM.","kind":"property","name":"shouldRenderTooltip","optional":true,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipState"}],"status":{"status":"complete"},"type":{"references":[],"text":"boolean"}},{"declarationPackages":["@fluentui/react-tooltip"],"defaultValue":"250","documentation":"Delay before the tooltip is shown, in milliseconds.","kind":"property","name":"showDelay","optional":false,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipState"}],"status":{"status":"complete"},"type":{"references":[],"text":"number"}},{"declarationPackages":["@fluentui/react-tooltip"],"defaultValue":"false","documentation":"Control the tooltip's visibility programatically.\n\nThis can be used in conjunction with onVisibleChange to modify the tooltip's show and hide behavior.\n\nIf not provided, the visibility will be controlled by the tooltip itself, based on hover and focus events on the\ntrigger (child) element.","kind":"property","name":"visible","optional":false,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipState"}],"status":{"status":"complete"},"type":{"references":[],"text":"boolean"}},{"declarationPackages":["@fluentui/react-tooltip"],"defaultValue":"false","documentation":"Render an arrow pointing to the target element","kind":"property","name":"withArrow","optional":false,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipState"}],"status":{"status":"complete"},"type":{"references":[],"text":"boolean"}}],"signatures":[],"status":{"reasons":["checker-rendered effective type expressions do not include semantic reference spans"],"status":"partial"},"type":{"references":[],"text":"TooltipState"}},"fingerprint":{"algorithm":"sha256","value":"a28347bcd20ec737cf6dda54b21c038d546318375d9710fa96de241b9bb147b4"},"id":"symbol:TooltipState","name":"TooltipState","namespaces":["type"],"relationships":[{"kind":"alias","type":{"references":[{"end":14,"start":0,"status":"resolved","target":{"entrypoint":".","export":"ComponentState","kind":"dependency","namespace":"type","package":"@fluentui/react-utilities"}},{"end":27,"start":15,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipSlots"}},{"end":48,"start":36,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipProps"}},{"end":108,"start":96,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipProps"}},{"end":224,"start":214,"status":"resolved","target":{"entrypoint":".","export":"JSXElement","kind":"dependency","namespace":"type","package":"@fluentui/react-utilities"}},{"end":561,"start":550,"status":"resolved","target":{"entrypoint":".","export":"*","kind":"dependency","namespace":"type","package":"react"}},{"end":576,"start":562,"status":"resolved","target":{"entrypoint":".","export":"HTMLDivElement","kind":"dependency","namespace":"type","package":"typescript"}}],"text":"ComponentState<TooltipSlots> & Pick<TooltipProps, 'mountNode' | 'relationship'> & Required<Pick<TooltipProps, 'appearance' | 'hideDelay' | 'positioning' | 'showDelay' | 'visible' | 'withArrow'>> & {\n children?: JSXElement | null;\n /**\n * Whether positioning has determined that the tooltip or its target is outside its clipping boundary.\n */\n hidden?: boolean;\n /**\n * Whether the tooltip should be rendered to the DOM.\n */\n shouldRenderTooltip?: boolean;\n /**\n * Ref to the arrow element\n */\n arrowRef?: React_2.Ref<HTMLDivElement>;\n /**\n * CSS class for the arrow element\n */\n arrowClassName?: string;\n}"}},{"kind":"intersection","type":{"references":[{"end":14,"start":0,"status":"resolved","target":{"entrypoint":".","export":"ComponentState","kind":"dependency","namespace":"type","package":"@fluentui/react-utilities"}},{"end":27,"start":15,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipSlots"}},{"end":48,"start":36,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipProps"}},{"end":108,"start":96,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipProps"}},{"end":224,"start":214,"status":"resolved","target":{"entrypoint":".","export":"JSXElement","kind":"dependency","namespace":"type","package":"@fluentui/react-utilities"}},{"end":561,"start":550,"status":"resolved","target":{"entrypoint":".","export":"*","kind":"dependency","namespace":"type","package":"react"}},{"end":576,"start":562,"status":"resolved","target":{"entrypoint":".","export":"HTMLDivElement","kind":"dependency","namespace":"type","package":"typescript"}}],"text":"ComponentState<TooltipSlots> & Pick<TooltipProps, 'mountNode' | 'relationship'> & Required<Pick<TooltipProps, 'appearance' | 'hideDelay' | 'positioning' | 'showDelay' | 'visible' | 'withArrow'>> & {\n children?: JSXElement | null;\n /**\n * Whether positioning has determined that the tooltip or its target is outside its clipping boundary.\n */\n hidden?: boolean;\n /**\n * Whether the tooltip should be rendered to the DOM.\n */\n shouldRenderTooltip?: boolean;\n /**\n * Ref to the arrow element\n */\n arrowRef?: React_2.Ref<HTMLDivElement>;\n /**\n * CSS class for the arrow element\n */\n arrowClassName?: string;\n}"}},{"kind":"union","type":{"references":[],"text":"'mountNode' | 'relationship'"}},{"kind":"union","type":{"references":[],"text":"'appearance' | 'hideDelay' | 'positioning' | 'showDelay' | 'visible' | 'withArrow'"}},{"kind":"union","type":{"references":[{"end":10,"start":0,"status":"resolved","target":{"entrypoint":".","export":"JSXElement","kind":"dependency","namespace":"type","package":"@fluentui/react-utilities"}}],"text":"JSXElement | null"}}],"type":{"references":[{"end":29,"start":15,"status":"resolved","target":{"entrypoint":".","export":"ComponentState","kind":"dependency","namespace":"type","package":"@fluentui/react-utilities"}},{"end":42,"start":30,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipSlots"}},{"end":63,"start":51,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipProps"}},{"end":123,"start":111,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipProps"}},{"end":239,"start":229,"status":"resolved","target":{"entrypoint":".","export":"JSXElement","kind":"dependency","namespace":"type","package":"@fluentui/react-utilities"}},{"end":576,"start":565,"status":"resolved","target":{"entrypoint":".","export":"*","kind":"dependency","namespace":"type","package":"react"}},{"end":591,"start":577,"status":"resolved","target":{"entrypoint":".","export":"HTMLDivElement","kind":"dependency","namespace":"type","package":"typescript"}}],"text":"TooltipState = ComponentState<TooltipSlots> & Pick<TooltipProps, 'mountNode' | 'relationship'> & Required<Pick<TooltipProps, 'appearance' | 'hideDelay' | 'positioning' | 'showDelay' | 'visible' | 'withArrow'>> & {\n children?: JSXElement | null;\n /**\n * Whether positioning has determined that the tooltip or its target is outside its clipping boundary.\n */\n hidden?: boolean;\n /**\n * Whether the tooltip should be rendered to the DOM.\n */\n shouldRenderTooltip?: boolean;\n /**\n * Ref to the arrow element\n */\n arrowRef?: React_2.Ref<HTMLDivElement>;\n /**\n * CSS class for the arrow element\n */\n arrowClassName?: string;\n}"}},{"classifications":[{"confidence":"heuristic","evidence":["export name ends with Props"],"facet":"props"}],"declarations":[{"documentation":"The properties that are added to the child of the Tooltip","id":"symbol:TooltipTriggerProps:declaration:0","kind":"type-alias","namespaces":["type"],"relationships":[{"kind":"alias","type":{"references":[{"end":23,"start":12,"status":"resolved","target":{"entrypoint":".","export":"*","kind":"dependency","namespace":"type","package":"react"}},{"end":65,"start":43,"status":"resolved","target":{"entrypoint":".","export":"*","kind":"dependency","namespace":"type","package":"react"}},{"end":77,"start":66,"status":"resolved","target":{"entrypoint":".","export":"HTMLElement","kind":"dependency","namespace":"type","package":"typescript"}}],"text":"{\n ref?: React_2.Ref<unknown>;\n} & Pick<React_2.HTMLAttributes<HTMLElement>, 'aria-describedby' | 'aria-label' | 'aria-labelledby' | 'onBlur' | 'onFocus' | 'onPointerEnter' | 'onPointerLeave' | 'aria-haspopup' | 'aria-expanded'>"}},{"kind":"intersection","type":{"references":[{"end":23,"start":12,"status":"resolved","target":{"entrypoint":".","export":"*","kind":"dependency","namespace":"type","package":"react"}},{"end":65,"start":43,"status":"resolved","target":{"entrypoint":".","export":"*","kind":"dependency","namespace":"type","package":"react"}},{"end":77,"start":66,"status":"resolved","target":{"entrypoint":".","export":"HTMLElement","kind":"dependency","namespace":"type","package":"typescript"}}],"text":"{\n ref?: React_2.Ref<unknown>;\n} & Pick<React_2.HTMLAttributes<HTMLElement>, 'aria-describedby' | 'aria-label' | 'aria-labelledby' | 'onBlur' | 'onFocus' | 'onPointerEnter' | 'onPointerLeave' | 'aria-haspopup' | 'aria-expanded'>"}},{"kind":"union","type":{"references":[],"text":"'aria-describedby' | 'aria-label' | 'aria-labelledby' | 'onBlur' | 'onFocus' | 'onPointerEnter' | 'onPointerLeave' | 'aria-haspopup' | 'aria-expanded'"}}],"source":{"end":5191,"file":"dist/index.d.ts","start":4917},"type":{"references":[{"end":45,"start":34,"status":"resolved","target":{"entrypoint":".","export":"*","kind":"dependency","namespace":"type","package":"react"}},{"end":87,"start":65,"status":"resolved","target":{"entrypoint":".","export":"*","kind":"dependency","namespace":"type","package":"react"}},{"end":99,"start":88,"status":"resolved","target":{"entrypoint":".","export":"HTMLElement","kind":"dependency","namespace":"type","package":"typescript"}}],"text":"TooltipTriggerProps = {\n ref?: React_2.Ref<unknown>;\n} & Pick<React_2.HTMLAttributes<HTMLElement>, 'aria-describedby' | 'aria-label' | 'aria-labelledby' | 'onBlur' | 'onFocus' | 'onPointerEnter' | 'onPointerLeave' | 'aria-haspopup' | 'aria-expanded'>"}}],"effectiveType":{"members":[{"declarationPackages":["@types/react"],"documentation":"Identifies the element (or elements) that describes the object.","kind":"property","name":"aria-describedby","optional":true,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipTriggerProps"}],"status":{"status":"complete"},"type":{"references":[],"text":"string"}},{"declarationPackages":["@types/react"],"documentation":"Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.","kind":"property","name":"aria-expanded","optional":true,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipTriggerProps"}],"status":{"status":"complete"},"type":{"references":[],"text":"false | true | \"false\" | \"true\""}},{"declarationPackages":["@types/react"],"documentation":"Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.","kind":"property","name":"aria-haspopup","optional":true,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipTriggerProps"}],"status":{"status":"complete"},"type":{"references":[],"text":"boolean | \"dialog\" | \"menu\" | \"false\" | \"true\" | \"listbox\" | \"tree\" | \"grid\""}},{"declarationPackages":["@types/react"],"documentation":"Defines a string value that labels the current element.","kind":"property","name":"aria-label","optional":true,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipTriggerProps"}],"status":{"status":"complete"},"type":{"references":[],"text":"string"}},{"declarationPackages":["@types/react"],"documentation":"Identifies the element (or elements) that labels the current element.","kind":"property","name":"aria-labelledby","optional":true,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipTriggerProps"}],"status":{"status":"complete"},"type":{"references":[],"text":"string"}},{"declarationPackages":["@types/react"],"kind":"property","name":"onBlur","optional":true,"readonly":false,"signatures":[{"id":"signature:call:0","kind":"call","overload":0,"parameters":[{"name":"event","optional":false,"rest":false,"type":{"references":[],"text":"React_2.FocusEvent<HTMLElement, Element>"}}],"returnType":{"references":[],"text":"void"},"typeParameters":[]}],"sources":[{"kind":"local","symbol":"symbol:TooltipTriggerProps"}],"status":{"status":"complete"},"type":{"references":[],"text":"React_2.FocusEventHandler<HTMLElement>"}},{"declarationPackages":["@types/react"],"kind":"property","name":"onFocus","optional":true,"readonly":false,"signatures":[{"id":"signature:call:0","kind":"call","overload":0,"parameters":[{"name":"event","optional":false,"rest":false,"type":{"references":[],"text":"React_2.FocusEvent<HTMLElement, Element>"}}],"returnType":{"references":[],"text":"void"},"typeParameters":[]}],"sources":[{"kind":"local","symbol":"symbol:TooltipTriggerProps"}],"status":{"status":"complete"},"type":{"references":[],"text":"React_2.FocusEventHandler<HTMLElement>"}},{"declarationPackages":["@types/react"],"kind":"property","name":"onPointerEnter","optional":true,"readonly":false,"signatures":[{"id":"signature:call:0","kind":"call","overload":0,"parameters":[{"name":"event","optional":false,"rest":false,"type":{"references":[],"text":"React_2.PointerEvent<HTMLElement>"}}],"returnType":{"references":[],"text":"void"},"typeParameters":[]}],"sources":[{"kind":"local","symbol":"symbol:TooltipTriggerProps"}],"status":{"status":"complete"},"type":{"references":[],"text":"React_2.PointerEventHandler<HTMLElement>"}},{"declarationPackages":["@types/react"],"kind":"property","name":"onPointerLeave","optional":true,"readonly":false,"signatures":[{"id":"signature:call:0","kind":"call","overload":0,"parameters":[{"name":"event","optional":false,"rest":false,"type":{"references":[],"text":"React_2.PointerEvent<HTMLElement>"}}],"returnType":{"references":[],"text":"void"},"typeParameters":[]}],"sources":[{"kind":"local","symbol":"symbol:TooltipTriggerProps"}],"status":{"status":"complete"},"type":{"references":[],"text":"React_2.PointerEventHandler<HTMLElement>"}},{"declarationPackages":["@fluentui/react-tooltip"],"kind":"property","name":"ref","optional":true,"readonly":false,"sources":[{"kind":"local","symbol":"symbol:TooltipTriggerProps"}],"status":{"status":"complete"},"type":{"references":[],"text":"React_2.Ref<unknown>"}}],"signatures":[],"status":{"reasons":["checker-rendered effective type expressions do not include semantic reference spans"],"status":"partial"},"type":{"references":[],"text":"TooltipTriggerProps"}},"fingerprint":{"algorithm":"sha256","value":"8fcac28d0c13bb58ba51def99b6a9e32b10655e52b19e4acd3797698fade12a2"},"id":"symbol:TooltipTriggerProps","name":"TooltipTriggerProps","namespaces":["type"],"relationships":[{"kind":"alias","type":{"references":[{"end":23,"start":12,"status":"resolved","target":{"entrypoint":".","export":"*","kind":"dependency","namespace":"type","package":"react"}},{"end":65,"start":43,"status":"resolved","target":{"entrypoint":".","export":"*","kind":"dependency","namespace":"type","package":"react"}},{"end":77,"start":66,"status":"resolved","target":{"entrypoint":".","export":"HTMLElement","kind":"dependency","namespace":"type","package":"typescript"}}],"text":"{\n ref?: React_2.Ref<unknown>;\n} & Pick<React_2.HTMLAttributes<HTMLElement>, 'aria-describedby' | 'aria-label' | 'aria-labelledby' | 'onBlur' | 'onFocus' | 'onPointerEnter' | 'onPointerLeave' | 'aria-haspopup' | 'aria-expanded'>"}},{"kind":"intersection","type":{"references":[{"end":23,"start":12,"status":"resolved","target":{"entrypoint":".","export":"*","kind":"dependency","namespace":"type","package":"react"}},{"end":65,"start":43,"status":"resolved","target":{"entrypoint":".","export":"*","kind":"dependency","namespace":"type","package":"react"}},{"end":77,"start":66,"status":"resolved","target":{"entrypoint":".","export":"HTMLElement","kind":"dependency","namespace":"type","package":"typescript"}}],"text":"{\n ref?: React_2.Ref<unknown>;\n} & Pick<React_2.HTMLAttributes<HTMLElement>, 'aria-describedby' | 'aria-label' | 'aria-labelledby' | 'onBlur' | 'onFocus' | 'onPointerEnter' | 'onPointerLeave' | 'aria-haspopup' | 'aria-expanded'>"}},{"kind":"union","type":{"references":[],"text":"'aria-describedby' | 'aria-label' | 'aria-labelledby' | 'onBlur' | 'onFocus' | 'onPointerEnter' | 'onPointerLeave' | 'aria-haspopup' | 'aria-expanded'"}}],"type":{"references":[{"end":45,"start":34,"status":"resolved","target":{"entrypoint":".","export":"*","kind":"dependency","namespace":"type","package":"react"}},{"end":87,"start":65,"status":"resolved","target":{"entrypoint":".","export":"*","kind":"dependency","namespace":"type","package":"react"}},{"end":99,"start":88,"status":"resolved","target":{"entrypoint":".","export":"HTMLElement","kind":"dependency","namespace":"type","package":"typescript"}}],"text":"TooltipTriggerProps = {\n ref?: React_2.Ref<unknown>;\n} & Pick<React_2.HTMLAttributes<HTMLElement>, 'aria-describedby' | 'aria-label' | 'aria-labelledby' | 'onBlur' | 'onFocus' | 'onPointerEnter' | 'onPointerLeave' | 'aria-haspopup' | 'aria-expanded'>"}},{"classifications":[{"confidence":"heuristic","evidence":["export name follows the useX hook convention"],"facet":"hook"}],"declarations":[{"documentation":"Create the state required to render Tooltip.\n\nThe returned state can be modified with hooks such as useTooltipStyles_unstable,\nbefore being passed to renderTooltip_unstable.","id":"symbol:useTooltip_unstable:declaration:0","kind":"variable","namespaces":["value"],"signatures":[{"documentation":"Create the state required to render Tooltip.\n\nThe returned state can be modified with hooks such as useTooltipStyles_unstable,\nbefore being passed to renderTooltip_unstable.","id":"signature:call:0","kind":"call","overload":0,"parameters":[{"name":"props","optional":false,"rest":false,"type":{"references":[],"text":"TooltipProps"}}],"returnType":{"references":[],"text":"TooltipState"},"source":{"end":5522,"file":"dist/index.d.ts","start":5485},"typeParameters":[]}],"source":{"end":5522,"file":"dist/index.d.ts","start":5464},"type":{"references":[{"end":20,"start":8,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipProps"}},{"end":37,"start":25,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipState"}}],"text":"(props: TooltipProps) => TooltipState"}}],"effectiveType":{"members":[],"signatures":[{"documentation":"Create the state required to render Tooltip.\n\nThe returned state can be modified with hooks such as useTooltipStyles_unstable,\nbefore being passed to renderTooltip_unstable.","id":"signature:call:0","kind":"call","overload":0,"parameters":[{"name":"props","optional":false,"rest":false,"type":{"references":[],"text":"TooltipProps"}}],"returnType":{"references":[],"text":"TooltipState"},"source":{"end":5522,"file":"dist/index.d.ts","start":5485},"typeParameters":[]}],"status":{"reasons":["checker-rendered effective type expressions do not include semantic reference spans"],"status":"partial"},"type":{"references":[],"text":"(props: TooltipProps) => TooltipState"}},"fingerprint":{"algorithm":"sha256","value":"bbeca9187bceaa98374fd95322b7eddbb6e1407a4ba46d53e40989c5492987e3"},"id":"symbol:useTooltip_unstable","name":"useTooltip_unstable","namespaces":["value"],"relationships":[],"type":{"references":[{"end":20,"start":8,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipProps"}},{"end":37,"start":25,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipState"}}],"text":"(props: TooltipProps) => TooltipState"}},{"classifications":[{"confidence":"heuristic","evidence":["export name follows the useX hook convention"],"facet":"hook"}],"declarations":[{"documentation":"Create the state required to render Tooltip.\n\nThe returned state can be modified with hooks such as useTooltipStyles_unstable,\nbefore being passed to renderTooltip_unstable.","id":"symbol:useTooltipBase_unstable:declaration:0","kind":"variable","namespaces":["value"],"signatures":[{"documentation":"Create the state required to render Tooltip.\n\nThe returned state can be modified with hooks such as useTooltipStyles_unstable,\nbefore being passed to renderTooltip_unstable.","id":"signature:call:0","kind":"call","overload":0,"parameters":[{"name":"props","optional":false,"rest":false,"type":{"references":[],"text":"TooltipBaseProps"}}],"returnType":{"references":[],"text":"TooltipBaseState"},"source":{"end":5866,"file":"dist/index.d.ts","start":5821},"typeParameters":[]}],"source":{"end":5866,"file":"dist/index.d.ts","start":5796},"type":{"references":[{"end":24,"start":8,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipBaseProps"}},{"end":45,"start":29,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipBaseState"}}],"text":"(props: TooltipBaseProps) => TooltipBaseState"}}],"effectiveType":{"members":[],"signatures":[{"documentation":"Create the state required to render Tooltip.\n\nThe returned state can be modified with hooks such as useTooltipStyles_unstable,\nbefore being passed to renderTooltip_unstable.","id":"signature:call:0","kind":"call","overload":0,"parameters":[{"name":"props","optional":false,"rest":false,"type":{"references":[],"text":"TooltipBaseProps"}}],"returnType":{"references":[],"text":"TooltipBaseState"},"source":{"end":5866,"file":"dist/index.d.ts","start":5821},"typeParameters":[]}],"status":{"reasons":["checker-rendered effective type expressions do not include semantic reference spans"],"status":"partial"},"type":{"references":[],"text":"(props: TooltipBaseProps) => TooltipBaseState"}},"fingerprint":{"algorithm":"sha256","value":"8658c3c844f760c8f59a0c13d8d7b0e66ee85ba99bdad136d4599b16a0efa0ce"},"id":"symbol:useTooltipBase_unstable","name":"useTooltipBase_unstable","namespaces":["value"],"relationships":[],"type":{"references":[{"end":24,"start":8,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipBaseProps"}},{"end":45,"start":29,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipBaseState"}}],"text":"(props: TooltipBaseProps) => TooltipBaseState"}},{"classifications":[{"confidence":"heuristic","evidence":["export name follows the useX hook convention"],"facet":"hook"}],"declarations":[{"documentation":"Apply styling to the Tooltip slots based on the state","id":"symbol:useTooltipStyles_unstable:declaration:0","kind":"variable","namespaces":["value"],"signatures":[{"documentation":"Apply styling to the Tooltip slots based on the state","id":"signature:call:0","kind":"call","overload":0,"parameters":[{"name":"state","optional":false,"rest":false,"type":{"references":[],"text":"TooltipState"}}],"returnType":{"references":[],"text":"TooltipState"},"source":{"end":6019,"file":"dist/index.d.ts","start":5982},"typeParameters":[]}],"source":{"end":6019,"file":"dist/index.d.ts","start":5955},"type":{"references":[{"end":20,"start":8,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipState"}},{"end":37,"start":25,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipState"}}],"text":"(state: TooltipState) => TooltipState"}}],"effectiveType":{"members":[],"signatures":[{"documentation":"Apply styling to the Tooltip slots based on the state","id":"signature:call:0","kind":"call","overload":0,"parameters":[{"name":"state","optional":false,"rest":false,"type":{"references":[],"text":"TooltipState"}}],"returnType":{"references":[],"text":"TooltipState"},"source":{"end":6019,"file":"dist/index.d.ts","start":5982},"typeParameters":[]}],"status":{"reasons":["checker-rendered effective type expressions do not include semantic reference spans"],"status":"partial"},"type":{"references":[],"text":"(state: TooltipState) => TooltipState"}},"fingerprint":{"algorithm":"sha256","value":"dc7b60aeb34092c6c85e3586f63a40432c08c034a9c29553de6eff67a9344f24"},"id":"symbol:useTooltipStyles_unstable","name":"useTooltipStyles_unstable","namespaces":["value"],"relationships":[],"type":{"references":[{"end":20,"start":8,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipState"}},{"end":37,"start":25,"status":"resolved","target":{"kind":"local","symbol":"symbol:TooltipState"}}],"text":"(state: TooltipState) => TooltipState"}}]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"capabilities":{"api":{"status":"supported"},"effectiveTypes":{"reasons":["checker-derived type strings do not carry semantic reference spans"],"status":"partial"},"guidance":{"reasons":["guidance is outside the declaration generator MVP"],"status":"unsupported"},"search":{"reasons":["search is outside the declaration generator MVP"],"status":"unsupported"}},"completeness":{"api":{"status":"complete"},"guidance":{"reasons":["not generated"],"status":"unavailable"},"search":{"reasons":["not generated"],"status":"unavailable"}},"declarationInputs":[{"conditions":["types","require"],"fingerprint":{"algorithm":"sha256","value":"c14e26eec2ef1777d6ac7c81662213c8da996108a9bd885064ea745e5d56ac66"},"path":"dist/index.d.cts"},{"conditions":["types","import"],"fingerprint":{"algorithm":"sha256","value":"c14e26eec2ef1777d6ac7c81662213c8da996108a9bd885064ea745e5d56ac66"},"path":"dist/index.d.ts"}],"diagnostics":[],"exports":[{"classifications":[{"confidence":"heuristic","evidence":["no stronger product facet matched"],"facet":"utility"}],"conditions":["types","import"],"declarationInputs":["dist/index.d.ts"],"entrypoint":".","export":"OnVisibleChangeData","exportKind":"named","id":"route:root:OnVisibleChangeData:type:types-import","namespace":"type","target":{"kind":"local","record":"api:root","symbol":"symbol:OnVisibleChangeData"},"typeOnly":true},{"classifications":[{"confidence":"heuristic","evidence":["no stronger product facet matched"],"facet":"utility"}],"conditions":["types","require"],"declarationInputs":["dist/index.d.cts"],"entrypoint":".","export":"OnVisibleChangeData","exportKind":"named","id":"route:root:OnVisibleChangeData:type:types-require","namespace":"type","target":{"kind":"local","record":"api:root","symbol":"symbol:OnVisibleChangeData"},"typeOnly":true},{"classifications":[{"confidence":"heuristic","evidence":["export name follows the renderX convention"],"facet":"render"}],"conditions":["types","import"],"declarationInputs":["dist/index.d.ts"],"entrypoint":".","export":"renderTooltip_unstable","exportKind":"named","id":"route:root:renderTooltip_unstable:value:types-import","namespace":"value","target":{"kind":"local","record":"api:root","symbol":"symbol:renderTooltip_unstable"},"typeOnly":false},{"classifications":[{"confidence":"heuristic","evidence":["export name follows the renderX convention"],"facet":"render"}],"conditions":["types","require"],"declarationInputs":["dist/index.d.cts"],"entrypoint":".","export":"renderTooltip_unstable","exportKind":"named","id":"route:root:renderTooltip_unstable:value:types-require","namespace":"value","target":{"kind":"local","record":"api:root","symbol":"symbol:renderTooltip_unstable"},"typeOnly":false},{"classifications":[{"confidence":"heuristic","evidence":["no stronger product facet matched"],"facet":"utility"}],"conditions":["types","import"],"declarationInputs":["dist/index.d.ts"],"entrypoint":".","export":"Tooltip","exportKind":"named","id":"route:root:Tooltip:value:types-import","namespace":"value","target":{"kind":"local","record":"api:root","symbol":"symbol:Tooltip"},"typeOnly":false},{"classifications":[{"confidence":"heuristic","evidence":["no stronger product facet matched"],"facet":"utility"}],"conditions":["types","require"],"declarationInputs":["dist/index.d.cts"],"entrypoint":".","export":"Tooltip","exportKind":"named","id":"route:root:Tooltip:value:types-require","namespace":"value","target":{"kind":"local","record":"api:root","symbol":"symbol:Tooltip"},"typeOnly":false},{"classifications":[{"confidence":"heuristic","evidence":["export name ends with Props"],"facet":"props"}],"conditions":["types","import"],"declarationInputs":["dist/index.d.ts"],"entrypoint":".","export":"TooltipBaseProps","exportKind":"named","id":"route:root:TooltipBaseProps:type:types-import","namespace":"type","target":{"kind":"local","record":"api:root","symbol":"symbol:TooltipBaseProps"},"typeOnly":true},{"classifications":[{"confidence":"heuristic","evidence":["export name ends with Props"],"facet":"props"}],"conditions":["types","require"],"declarationInputs":["dist/index.d.cts"],"entrypoint":".","export":"TooltipBaseProps","exportKind":"named","id":"route:root:TooltipBaseProps:type:types-require","namespace":"type","target":{"kind":"local","record":"api:root","symbol":"symbol:TooltipBaseProps"},"typeOnly":true},{"classifications":[{"confidence":"heuristic","evidence":["export name ends with State"],"facet":"state"}],"conditions":["types","import"],"declarationInputs":["dist/index.d.ts"],"entrypoint":".","export":"TooltipBaseState","exportKind":"named","id":"route:root:TooltipBaseState:type:types-import","namespace":"type","target":{"kind":"local","record":"api:root","symbol":"symbol:TooltipBaseState"},"typeOnly":true},{"classifications":[{"confidence":"heuristic","evidence":["export name ends with State"],"facet":"state"}],"conditions":["types","require"],"declarationInputs":["dist/index.d.cts"],"entrypoint":".","export":"TooltipBaseState","exportKind":"named","id":"route:root:TooltipBaseState:type:types-require","namespace":"type","target":{"kind":"local","record":"api:root","symbol":"symbol:TooltipBaseState"},"typeOnly":true},{"classifications":[{"confidence":"heuristic","evidence":["no stronger product facet matched"],"facet":"utility"}],"conditions":["types","import"],"declarationInputs":["dist/index.d.ts"],"entrypoint":".","export":"tooltipClassNames","exportKind":"named","id":"route:root:tooltipClassNames:value:types-import","namespace":"value","target":{"kind":"local","record":"api:root","symbol":"symbol:tooltipClassNames"},"typeOnly":false},{"classifications":[{"confidence":"heuristic","evidence":["no stronger product facet matched"],"facet":"utility"}],"conditions":["types","require"],"declarationInputs":["dist/index.d.cts"],"entrypoint":".","export":"tooltipClassNames","exportKind":"named","id":"route:root:tooltipClassNames:value:types-require","namespace":"value","target":{"kind":"local","record":"api:root","symbol":"symbol:tooltipClassNames"},"typeOnly":false},{"classifications":[{"confidence":"heuristic","evidence":["export name ends with Props"],"facet":"props"}],"conditions":["types","import"],"declarationInputs":["dist/index.d.ts"],"entrypoint":".","export":"TooltipProps","exportKind":"named","id":"route:root:TooltipProps:type:types-import","namespace":"type","target":{"kind":"local","record":"api:root","symbol":"symbol:TooltipProps"},"typeOnly":true},{"classifications":[{"confidence":"heuristic","evidence":["export name ends with Props"],"facet":"props"}],"conditions":["types","require"],"declarationInputs":["dist/index.d.cts"],"entrypoint":".","export":"TooltipProps","exportKind":"named","id":"route:root:TooltipProps:type:types-require","namespace":"type","target":{"kind":"local","record":"api:root","symbol":"symbol:TooltipProps"},"typeOnly":true},{"classifications":[{"confidence":"heuristic","evidence":["export name ends with Slots"],"facet":"slots"}],"conditions":["types","import"],"declarationInputs":["dist/index.d.ts"],"entrypoint":".","export":"TooltipSlots","exportKind":"named","id":"route:root:TooltipSlots:type:types-import","namespace":"type","target":{"kind":"local","record":"api:root","symbol":"symbol:TooltipSlots"},"typeOnly":true},{"classifications":[{"confidence":"heuristic","evidence":["export name ends with Slots"],"facet":"slots"}],"conditions":["types","require"],"declarationInputs":["dist/index.d.cts"],"entrypoint":".","export":"TooltipSlots","exportKind":"named","id":"route:root:TooltipSlots:type:types-require","namespace":"type","target":{"kind":"local","record":"api:root","symbol":"symbol:TooltipSlots"},"typeOnly":true},{"classifications":[{"confidence":"heuristic","evidence":["export name ends with State"],"facet":"state"}],"conditions":["types","import"],"declarationInputs":["dist/index.d.ts"],"entrypoint":".","export":"TooltipState","exportKind":"named","id":"route:root:TooltipState:type:types-import","namespace":"type","target":{"kind":"local","record":"api:root","symbol":"symbol:TooltipState"},"typeOnly":true},{"classifications":[{"confidence":"heuristic","evidence":["export name ends with State"],"facet":"state"}],"conditions":["types","require"],"declarationInputs":["dist/index.d.cts"],"entrypoint":".","export":"TooltipState","exportKind":"named","id":"route:root:TooltipState:type:types-require","namespace":"type","target":{"kind":"local","record":"api:root","symbol":"symbol:TooltipState"},"typeOnly":true},{"classifications":[{"confidence":"heuristic","evidence":["export name ends with Props"],"facet":"props"}],"conditions":["types","import"],"declarationInputs":["dist/index.d.ts"],"entrypoint":".","export":"TooltipTriggerProps","exportKind":"named","id":"route:root:TooltipTriggerProps:type:types-import","namespace":"type","target":{"kind":"local","record":"api:root","symbol":"symbol:TooltipTriggerProps"},"typeOnly":true},{"classifications":[{"confidence":"heuristic","evidence":["export name ends with Props"],"facet":"props"}],"conditions":["types","require"],"declarationInputs":["dist/index.d.cts"],"entrypoint":".","export":"TooltipTriggerProps","exportKind":"named","id":"route:root:TooltipTriggerProps:type:types-require","namespace":"type","target":{"kind":"local","record":"api:root","symbol":"symbol:TooltipTriggerProps"},"typeOnly":true},{"classifications":[{"confidence":"heuristic","evidence":["export name follows the useX hook convention"],"facet":"hook"}],"conditions":["types","import"],"declarationInputs":["dist/index.d.ts"],"entrypoint":".","export":"useTooltip_unstable","exportKind":"named","id":"route:root:useTooltip_unstable:value:types-import","namespace":"value","target":{"kind":"local","record":"api:root","symbol":"symbol:useTooltip_unstable"},"typeOnly":false},{"classifications":[{"confidence":"heuristic","evidence":["export name follows the useX hook convention"],"facet":"hook"}],"conditions":["types","require"],"declarationInputs":["dist/index.d.cts"],"entrypoint":".","export":"useTooltip_unstable","exportKind":"named","id":"route:root:useTooltip_unstable:value:types-require","namespace":"value","target":{"kind":"local","record":"api:root","symbol":"symbol:useTooltip_unstable"},"typeOnly":false},{"classifications":[{"confidence":"heuristic","evidence":["export name follows the useX hook convention"],"facet":"hook"}],"conditions":["types","import"],"declarationInputs":["dist/index.d.ts"],"entrypoint":".","export":"useTooltipBase_unstable","exportKind":"named","id":"route:root:useTooltipBase_unstable:value:types-import","namespace":"value","target":{"kind":"local","record":"api:root","symbol":"symbol:useTooltipBase_unstable"},"typeOnly":false},{"classifications":[{"confidence":"heuristic","evidence":["export name follows the useX hook convention"],"facet":"hook"}],"conditions":["types","require"],"declarationInputs":["dist/index.d.cts"],"entrypoint":".","export":"useTooltipBase_unstable","exportKind":"named","id":"route:root:useTooltipBase_unstable:value:types-require","namespace":"value","target":{"kind":"local","record":"api:root","symbol":"symbol:useTooltipBase_unstable"},"typeOnly":false},{"classifications":[{"confidence":"heuristic","evidence":["export name follows the useX hook convention"],"facet":"hook"}],"conditions":["types","import"],"declarationInputs":["dist/index.d.ts"],"entrypoint":".","export":"useTooltipStyles_unstable","exportKind":"named","id":"route:root:useTooltipStyles_unstable:value:types-import","namespace":"value","target":{"kind":"local","record":"api:root","symbol":"symbol:useTooltipStyles_unstable"},"typeOnly":false},{"classifications":[{"confidence":"heuristic","evidence":["export name follows the useX hook convention"],"facet":"hook"}],"conditions":["types","require"],"declarationInputs":["dist/index.d.cts"],"entrypoint":".","export":"useTooltipStyles_unstable","exportKind":"named","id":"route:root:useTooltipStyles_unstable:value:types-require","namespace":"value","target":{"kind":"local","record":"api:root","symbol":"symbol:useTooltipStyles_unstable"},"typeOnly":false}],"generator":{"name":"@fluentui/api-metadata","version":"0.0.0"},"kind":"package-index","package":{"name":"@fluentui/react-tooltip","version":"9.74.7-experimental.cli-api.20261006-ccaa611d58.0"},"records":[{"fingerprint":{"algorithm":"sha256","value":"0503288d7782923fe190e5902570f56f9dc3b54907600da6aa78d3e476d543e4"},"id":"api:root","kind":"api","path":"api/api-root.json","symbols":["symbol:OnVisibleChangeData","symbol:renderTooltip_unstable","symbol:Tooltip","symbol:TooltipBaseProps","symbol:TooltipBaseState","symbol:tooltipClassNames","symbol:TooltipProps","symbol:TooltipSlots","symbol:TooltipState","symbol:TooltipTriggerProps","symbol:useTooltip_unstable","symbol:useTooltipBase_unstable","symbol:useTooltipStyles_unstable"]}],"schema":{"major":1,"revision":5},"system":"fluent-v9"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/Tooltip/Tooltip.types.ts"],"sourcesContent":["import type * as React from 'react';\nimport type { PositioningShorthand } from '@fluentui/react-positioning';\nimport type { ComponentProps, ComponentState, JSXElement, Slot, TriggerProps } from '@fluentui/react-utilities';\nimport type { PortalProps } from '@fluentui/react-portal';\n\n/**\n * Slot properties for Tooltip\n */\nexport type TooltipSlots = {\n /**\n * The text or JSX content of the tooltip.\n */\n content: NonNullable<Slot<'div'>>;\n};\n\n/**\n * The properties that are added to the child of the Tooltip\n */\nexport type TooltipChildProps = {\n ref?: React.Ref<unknown>;\n} & Pick<\n React.HTMLAttributes<HTMLElement>,\n | 'aria-describedby'\n | 'aria-label'\n | 'aria-labelledby'\n | 'onBlur'\n | 'onFocus'\n | 'onPointerEnter'\n | 'onPointerLeave'\n | 'aria-haspopup'\n | 'aria-expanded'\n>;\n\n/**\n * Data for the Tooltip's onVisibleChange event.\n */\nexport type OnVisibleChangeData = {\n visible: boolean;\n\n /**\n * The event object, if this visibility change was triggered by a keyboard event on the document element\n * (such as Escape to hide the visible tooltip). Otherwise undefined.\n */\n documentKeyboardEvent?: KeyboardEvent;\n};\n\n/**\n * Properties for Tooltip\n */\nexport type TooltipProps = ComponentProps<TooltipSlots> &\n TriggerProps<TooltipChildProps> &\n Pick<PortalProps, 'mountNode'> & {\n /**\n * The tooltip's visual appearance.\n * * `normal` - Uses the theme's background and text colors.\n * * `inverted` - Higher contrast variant that uses the theme's inverted colors.\n *\n * @default normal\n */\n appearance?: 'normal' | 'inverted';\n /**\n * Delay before the tooltip is hidden, in milliseconds.\n *\n * @default 250\n */\n hideDelay?: number;\n\n /**\n * Notification when the visibility of the tooltip is changing.\n *\n * **Note**: for backwards compatibility, `event` will be undefined if this was triggered by a keyboard event on\n * the document element. Use `data.documentKeyboardEvent` if the keyboard event object is needed.\n */\n // eslint-disable-next-line @nx/workspace-consistent-callback-type -- can't change type of existing callback\n onVisibleChange?: (\n event: React.PointerEvent<HTMLElement> | React.FocusEvent<HTMLElement> | undefined,\n data: OnVisibleChangeData,\n ) => void;\n\n /**\n * Configure the positioning of the tooltip\n *\n * @default above\n */\n positioning?: PositioningShorthand;\n\n /**\n * (Required) Specifies whether this tooltip is acting as the description or label of its trigger element.\n *\n * * `label` - The tooltip sets the trigger's aria-label or aria-labelledby attribute. This is useful for buttons\n * displaying only an icon, for example.\n * * `description` - The tooltip sets the trigger's aria-description or aria-describedby attribute.\n * * `inaccessible` - No aria attributes are set on the trigger. This makes the tooltip's content inaccessible to\n * screen readers, and should only be used if the tooltip's text is available by some other means.\n */\n relationship: 'label' | 'description' | 'inaccessible';\n\n /**\n * Delay before the tooltip is shown, in milliseconds.\n *\n * @default 250\n */\n showDelay?: number;\n\n /**\n * Control the tooltip's visibility programatically.\n *\n * This can be used in conjunction with onVisibleChange to modify the tooltip's show and hide behavior.\n *\n * If not provided, the visibility will be controlled by the tooltip itself, based on hover and focus events on the\n * trigger (child) element.\n *\n * @default false\n */\n visible?: boolean;\n\n /**\n * Render an arrow pointing to the target element\n *\n * @default false\n */\n withArrow?: boolean;\n };\n\nexport type TooltipBaseProps = Omit<TooltipProps, 'appearance'>;\n\n/**\n * State used in rendering Tooltip\n */\nexport type TooltipState = ComponentState<TooltipSlots> &\n Pick<TooltipProps, 'mountNode' | 'relationship'> &\n Required<Pick<TooltipProps, 'appearance' | 'hideDelay' | 'positioning' | 'showDelay' | 'visible' | 'withArrow'>> & {\n children?: JSXElement | null;\n\n /**\n * Whether the tooltip should be rendered to the DOM.\n */\n shouldRenderTooltip?: boolean;\n\n /**\n * Ref to the arrow element\n */\n arrowRef?: React.Ref<HTMLDivElement>;\n\n /**\n * CSS class for the arrow element\n */\n arrowClassName?: string;\n };\n\nexport type TooltipBaseState = Omit<TooltipState, 'appearance'>;\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../src/components/Tooltip/Tooltip.types.ts"],"sourcesContent":["import type * as React from 'react';\nimport type { PositioningShorthand } from '@fluentui/react-positioning';\nimport type { ComponentProps, ComponentState, JSXElement, Slot, TriggerProps } from '@fluentui/react-utilities';\nimport type { PortalProps } from '@fluentui/react-portal';\n\n/**\n * Slot properties for Tooltip\n */\nexport type TooltipSlots = {\n /**\n * The text or JSX content of the tooltip.\n */\n content: NonNullable<Slot<'div'>>;\n};\n\n/**\n * The properties that are added to the child of the Tooltip\n */\nexport type TooltipChildProps = {\n ref?: React.Ref<unknown>;\n} & Pick<\n React.HTMLAttributes<HTMLElement>,\n | 'aria-describedby'\n | 'aria-label'\n | 'aria-labelledby'\n | 'onBlur'\n | 'onFocus'\n | 'onPointerEnter'\n | 'onPointerLeave'\n | 'aria-haspopup'\n | 'aria-expanded'\n>;\n\n/**\n * Data for the Tooltip's onVisibleChange event.\n */\nexport type OnVisibleChangeData = {\n visible: boolean;\n\n /**\n * The event object, if this visibility change was triggered by a keyboard event on the document element\n * (such as Escape to hide the visible tooltip). Otherwise undefined.\n */\n documentKeyboardEvent?: KeyboardEvent;\n};\n\n/**\n * Properties for Tooltip\n */\nexport type TooltipProps = ComponentProps<TooltipSlots> &\n TriggerProps<TooltipChildProps> &\n Pick<PortalProps, 'mountNode'> & {\n /**\n * The tooltip's visual appearance.\n * * `normal` - Uses the theme's background and text colors.\n * * `inverted` - Higher contrast variant that uses the theme's inverted colors.\n *\n * @default normal\n */\n appearance?: 'normal' | 'inverted';\n /**\n * Delay before the tooltip is hidden, in milliseconds.\n *\n * @default 250\n */\n hideDelay?: number;\n\n /**\n * Notification when the visibility of the tooltip is changing.\n *\n * **Note**: for backwards compatibility, `event` will be undefined if this was triggered by a keyboard event on\n * the document element. Use `data.documentKeyboardEvent` if the keyboard event object is needed.\n */\n // eslint-disable-next-line @nx/workspace-consistent-callback-type -- can't change type of existing callback\n onVisibleChange?: (\n event: React.PointerEvent<HTMLElement> | React.FocusEvent<HTMLElement> | undefined,\n data: OnVisibleChangeData,\n ) => void;\n\n /**\n * Configure the positioning of the tooltip\n *\n * @default above\n */\n positioning?: PositioningShorthand;\n\n /**\n * (Required) Specifies whether this tooltip is acting as the description or label of its trigger element.\n *\n * * `label` - The tooltip sets the trigger's aria-label or aria-labelledby attribute. This is useful for buttons\n * displaying only an icon, for example.\n * * `description` - The tooltip sets the trigger's aria-description or aria-describedby attribute.\n * * `inaccessible` - No aria attributes are set on the trigger. This makes the tooltip's content inaccessible to\n * screen readers, and should only be used if the tooltip's text is available by some other means.\n */\n relationship: 'label' | 'description' | 'inaccessible';\n\n /**\n * Delay before the tooltip is shown, in milliseconds.\n *\n * @default 250\n */\n showDelay?: number;\n\n /**\n * Control the tooltip's visibility programatically.\n *\n * This can be used in conjunction with onVisibleChange to modify the tooltip's show and hide behavior.\n *\n * If not provided, the visibility will be controlled by the tooltip itself, based on hover and focus events on the\n * trigger (child) element.\n *\n * @default false\n */\n visible?: boolean;\n\n /**\n * Render an arrow pointing to the target element\n *\n * @default false\n */\n withArrow?: boolean;\n };\n\nexport type TooltipBaseProps = Omit<TooltipProps, 'appearance'>;\n\n/**\n * State used in rendering Tooltip\n */\nexport type TooltipState = ComponentState<TooltipSlots> &\n Pick<TooltipProps, 'mountNode' | 'relationship'> &\n Required<Pick<TooltipProps, 'appearance' | 'hideDelay' | 'positioning' | 'showDelay' | 'visible' | 'withArrow'>> & {\n children?: JSXElement | null;\n\n /**\n * Whether positioning has determined that the tooltip or its target is outside its clipping boundary.\n */\n hidden?: boolean;\n\n /**\n * Whether the tooltip should be rendered to the DOM.\n */\n shouldRenderTooltip?: boolean;\n\n /**\n * Ref to the arrow element\n */\n arrowRef?: React.Ref<HTMLDivElement>;\n\n /**\n * CSS class for the arrow element\n */\n arrowClassName?: string;\n };\n\nexport type TooltipBaseState = Omit<TooltipState, 'appearance'>;\n"],"names":[],"mappings":"AA2JA,WAAgE"}
|
|
@@ -23,6 +23,7 @@ import { Escape } from "@fluentui/keyboard-keys";
|
|
|
23
23
|
state: props.visible,
|
|
24
24
|
initialState: false
|
|
25
25
|
});
|
|
26
|
+
const [hidden, setHidden] = React.useState(false);
|
|
26
27
|
const { children, content, withArrow = false, positioning = 'above', onVisibleChange, relationship, showDelay = 250, hideDelay = 250, mountNode } = props;
|
|
27
28
|
const state = {
|
|
28
29
|
withArrow,
|
|
@@ -31,6 +32,7 @@ import { Escape } from "@fluentui/keyboard-keys";
|
|
|
31
32
|
hideDelay,
|
|
32
33
|
relationship,
|
|
33
34
|
visible,
|
|
35
|
+
hidden,
|
|
34
36
|
shouldRenderTooltip: visible,
|
|
35
37
|
mountNode,
|
|
36
38
|
// Slots
|
|
@@ -45,13 +47,21 @@ import { Escape } from "@fluentui/keyboard-keys";
|
|
|
45
47
|
})
|
|
46
48
|
};
|
|
47
49
|
state.content.id = useId('tooltip-', state.content.id);
|
|
50
|
+
const resolvedPositioning = resolvePositioningShorthand(state.positioning);
|
|
51
|
+
const onPositioningEnd = useEventCallback((event)=>{
|
|
52
|
+
var _resolvedPositioning_onPositioningEnd;
|
|
53
|
+
const { escaped, referenceHidden } = event.detail;
|
|
54
|
+
setHidden(escaped || referenceHidden);
|
|
55
|
+
(_resolvedPositioning_onPositioningEnd = resolvedPositioning.onPositioningEnd) === null || _resolvedPositioning_onPositioningEnd === void 0 ? void 0 : _resolvedPositioning_onPositioningEnd.call(resolvedPositioning, event);
|
|
56
|
+
});
|
|
48
57
|
const positioningOptions = {
|
|
49
58
|
enabled: state.visible,
|
|
50
59
|
arrowPadding: 2 * tooltipBorderRadius,
|
|
51
60
|
position: 'above',
|
|
52
61
|
align: 'center',
|
|
53
62
|
offset: 4,
|
|
54
|
-
...
|
|
63
|
+
...resolvedPositioning,
|
|
64
|
+
onPositioningEnd
|
|
55
65
|
};
|
|
56
66
|
if (state.withArrow) {
|
|
57
67
|
positioningOptions.offset = mergeArrowOffset(positioningOptions.offset, arrowHeight);
|