@fluentui/react-shared-contexts
Advanced tools
Comparing version 9.0.0-alpha.8 to 9.0.0-alpha.9
@@ -5,3 +5,18 @@ { | ||
{ | ||
"date": "Fri, 30 Apr 2021 07:35:40 GMT", | ||
"date": "Wed, 12 May 2021 07:33:00 GMT", | ||
"tag": "@fluentui/react-shared-contexts_v9.0.0-alpha.9", | ||
"version": "9.0.0-alpha.9", | ||
"comments": { | ||
"prerelease": [ | ||
{ | ||
"comment": "Add TooltipContext and TooltipManager interface", | ||
"author": "behowell@microsoft.com", | ||
"commit": "e0b7d62f54c1b6e7ff8847ec60307ebac692ff7e", | ||
"package": "@fluentui/react-shared-contexts" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"date": "Fri, 30 Apr 2021 07:42:23 GMT", | ||
"tag": "@fluentui/react-shared-contexts_v9.0.0-alpha.8", | ||
@@ -8,0 +23,0 @@ "version": "9.0.0-alpha.8", |
# Change Log - @fluentui/react-shared-contexts | ||
This log was last generated on Fri, 30 Apr 2021 07:35:40 GMT and should not be manually modified. | ||
This log was last generated on Wed, 12 May 2021 07:33:00 GMT and should not be manually modified. | ||
<!-- Start content --> | ||
## [9.0.0-alpha.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.9) | ||
Wed, 12 May 2021 07:33:00 GMT | ||
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.8..@fluentui/react-shared-contexts_v9.0.0-alpha.9) | ||
### Changes | ||
- Add TooltipContext and TooltipManager interface ([PR #18043](https://github.com/microsoft/fluentui/pull/18043) by behowell@microsoft.com) | ||
## [9.0.0-alpha.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.8) | ||
Fri, 30 Apr 2021 07:35:40 GMT | ||
Fri, 30 Apr 2021 07:42:23 GMT | ||
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.7..@fluentui/react-shared-contexts_v9.0.0-alpha.8) | ||
@@ -11,0 +20,0 @@ |
@@ -36,2 +36,22 @@ import * as React_2 from 'react'; | ||
/** | ||
* Context shared by all of the tooltips in the app | ||
* {@docCategory Tooltip} | ||
*/ | ||
export declare const TooltipContext: React_2.Context<TooltipContextType>; | ||
/** | ||
* The context provided by TooltipProvider | ||
* {@docCategory Tooltip} | ||
*/ | ||
export declare type TooltipContextType = { | ||
/** | ||
* When a tooltip is shown, it sets itself as the visibleTooltip. | ||
* The next tooltip to become visible can use it to hide the previous tooltip immediately. | ||
*/ | ||
visibleTooltip?: { | ||
hide: () => void; | ||
}; | ||
}; | ||
export declare function useFluent(): ProviderContextValue; | ||
@@ -38,0 +58,0 @@ |
@@ -39,2 +39,12 @@ ## API Report File for "@fluentui/react-shared-contexts" | ||
// @public | ||
export const TooltipContext: React_2.Context<TooltipContextType>; | ||
// @public | ||
export type TooltipContextType = { | ||
visibleTooltip?: { | ||
hide: () => void; | ||
}; | ||
}; | ||
// @public (undocumented) | ||
@@ -41,0 +51,0 @@ export function useFluent(): ProviderContextValue; |
export * from './MenuContext'; | ||
export * from './ThemeContext'; | ||
export * from './ThemeClassNameContext'; | ||
export * from './TooltipContext'; | ||
export * from './ProviderContext'; |
@@ -1,2 +0,2 @@ | ||
define(["require", "exports", "tslib", "./MenuContext", "./ThemeContext", "./ThemeClassNameContext", "./ProviderContext"], function (require, exports, tslib_1, MenuContext_1, ThemeContext_1, ThemeClassNameContext_1, ProviderContext_1) { | ||
define(["require", "exports", "tslib", "./MenuContext", "./ThemeContext", "./ThemeClassNameContext", "./TooltipContext", "./ProviderContext"], function (require, exports, tslib_1, MenuContext_1, ThemeContext_1, ThemeClassNameContext_1, TooltipContext_1, ProviderContext_1) { | ||
"use strict"; | ||
@@ -7,4 +7,5 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
tslib_1.__exportStar(ThemeClassNameContext_1, exports); | ||
tslib_1.__exportStar(TooltipContext_1, exports); | ||
tslib_1.__exportStar(ProviderContext_1, exports); | ||
}); | ||
//# sourceMappingURL=index.js.map |
export * from './MenuContext'; | ||
export * from './ThemeContext'; | ||
export * from './ThemeClassNameContext'; | ||
export * from './TooltipContext'; | ||
export * from './ProviderContext'; |
@@ -7,3 +7,4 @@ "use strict"; | ||
tslib_1.__exportStar(require("./ThemeClassNameContext"), exports); | ||
tslib_1.__exportStar(require("./TooltipContext"), exports); | ||
tslib_1.__exportStar(require("./ProviderContext"), exports); | ||
//# sourceMappingURL=index.js.map |
export * from './MenuContext'; | ||
export * from './ThemeContext'; | ||
export * from './ThemeClassNameContext'; | ||
export * from './TooltipContext'; | ||
export * from './ProviderContext'; |
export * from './MenuContext'; | ||
export * from './ThemeContext'; | ||
export * from './ThemeClassNameContext'; | ||
export * from './TooltipContext'; | ||
export * from './ProviderContext'; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@fluentui/react-shared-contexts", | ||
"version": "9.0.0-alpha.8", | ||
"version": "9.0.0-alpha.9", | ||
"description": "Fluent UI React Contexts shared by multiple components.", | ||
@@ -5,0 +5,0 @@ "main": "lib-commonjs/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
74799
184
1039