@fluentui/react-shared-contexts
Advanced tools
Comparing version 0.0.0-nightly65dd5f749420211213.1 to 0.0.0-nightly6a6e258c4020220125.1
@@ -5,5 +5,5 @@ { | ||
{ | ||
"date": "Mon, 13 Dec 2021 04:16:34 GMT", | ||
"tag": "@fluentui/react-shared-contexts_v0.0.0-nightly65dd5f749420211213.1", | ||
"version": "0.0.0-nightly65dd5f749420211213.1", | ||
"date": "Tue, 25 Jan 2022 04:17:20 GMT", | ||
"tag": "@fluentui/react-shared-contexts_v0.0.0-nightly6a6e258c4020220125.1", | ||
"version": "0.0.0-nightly6a6e258c4020220125.1", | ||
"comments": { | ||
@@ -14,11 +14,31 @@ "prerelease": [ | ||
"package": "@fluentui/react-shared-contexts", | ||
"commit": "77618a4c1c41ffdcf3d5d21ea90d20af614da6f1", | ||
"commit": "1d41ec351a6d5902e871c87fcbaacf8db8ecb40d", | ||
"comment": "Release nightly v9" | ||
}, | ||
{ | ||
"author": "martinhochel@microsoft.com", | ||
"package": "@fluentui/react-shared-contexts", | ||
"commit": "ecfe4c4fdc306e9c484706f28457f440f55d3684", | ||
"comment": "make the ThemeContext TS API reflect runtime and remove redundant ThemeContextValue" | ||
}, | ||
{ | ||
"author": "behowell@microsoft.com", | ||
"package": "@fluentui/react-shared-contexts", | ||
"commit": "317209bb5cd57c40f35bc42060acb7e3cce5ec95", | ||
"comment": "Rename component hooks add the suffix _unstable, as their API has not been finalized yet" | ||
}, | ||
{ | ||
"author": "beachball", | ||
"package": "@fluentui/react-shared-contexts", | ||
"comment": "Bump @fluentui/react-theme to v0.0.0-nightly65dd5f749420211213.1", | ||
"commit": "77618a4c1c41ffdcf3d5d21ea90d20af614da6f1" | ||
"comment": "Bump @fluentui/react-theme to v0.0.0-nightly6a6e258c4020220125.1", | ||
"commit": "1d41ec351a6d5902e871c87fcbaacf8db8ecb40d" | ||
} | ||
], | ||
"none": [ | ||
{ | ||
"author": "olfedias@microsoft.com", | ||
"package": "@fluentui/react-shared-contexts", | ||
"commit": "c061e98be4b4a718c72a144a1f60bb5515824612", | ||
"comment": "remove inline-style-expand-shorthand from tsconfigs" | ||
} | ||
] | ||
@@ -25,0 +45,0 @@ } |
# Change Log - @fluentui/react-shared-contexts | ||
This log was last generated on Mon, 13 Dec 2021 04:16:34 GMT and should not be manually modified. | ||
This log was last generated on Tue, 25 Jan 2022 04:17:20 GMT and should not be manually modified. | ||
<!-- Start content --> | ||
## [0.0.0-nightly65dd5f749420211213.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v0.0.0-nightly65dd5f749420211213.1) | ||
## [0.0.0-nightly6a6e258c4020220125.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v0.0.0-nightly6a6e258c4020220125.1) | ||
Mon, 13 Dec 2021 04:16:34 GMT | ||
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-beta.4..@fluentui/react-shared-contexts_v0.0.0-nightly65dd5f749420211213.1) | ||
Tue, 25 Jan 2022 04:17:20 GMT | ||
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-beta.4..@fluentui/react-shared-contexts_v0.0.0-nightly6a6e258c4020220125.1) | ||
### Changes | ||
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/77618a4c1c41ffdcf3d5d21ea90d20af614da6f1) by email not defined) | ||
- Bump @fluentui/react-theme to v0.0.0-nightly65dd5f749420211213.1 ([commit](https://github.com/microsoft/fluentui/commit/77618a4c1c41ffdcf3d5d21ea90d20af614da6f1) by beachball) | ||
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/1d41ec351a6d5902e871c87fcbaacf8db8ecb40d) by email not defined) | ||
- make the ThemeContext TS API reflect runtime and remove redundant ThemeContextValue ([PR #21286](https://github.com/microsoft/fluentui/pull/21286) by martinhochel@microsoft.com) | ||
- Rename component hooks add the suffix _unstable, as their API has not been finalized yet ([PR #21365](https://github.com/microsoft/fluentui/pull/21365) by behowell@microsoft.com) | ||
- Bump @fluentui/react-theme to v0.0.0-nightly6a6e258c4020220125.1 ([commit](https://github.com/microsoft/fluentui/commit/1d41ec351a6d5902e871c87fcbaacf8db8ecb40d) by beachball) | ||
@@ -17,0 +19,0 @@ ## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-beta.4) |
@@ -30,7 +30,4 @@ import * as React_2 from 'react'; | ||
export declare const ThemeContext: React_2.Context<ThemeContextValue>; | ||
export declare const ThemeContext: React_2.Context<Theme | Partial<Theme> | undefined>; | ||
export declare interface ThemeContextValue extends Theme { | ||
} | ||
/** | ||
@@ -58,3 +55,3 @@ * Context shared by all of the tooltips in the app | ||
export declare function useTheme(): ThemeContextValue; | ||
export declare function useTheme(): Theme | Partial<Theme> | undefined; | ||
@@ -61,0 +58,0 @@ /** |
export * from './ThemeContext'; | ||
export * from './ThemeContext.types'; |
@@ -10,4 +10,2 @@ "use strict"; | ||
tslib_1.__exportStar(require("./ThemeContext"), exports); | ||
tslib_1.__exportStar(require("./ThemeContext.types"), exports); | ||
//# sourceMappingURL=index.js.map |
import * as React from 'react'; | ||
import type { ThemeContextValue } from './ThemeContext.types'; | ||
export declare const ThemeContext: React.Context<ThemeContextValue>; | ||
export declare function useTheme(): ThemeContextValue; | ||
import type { Theme } from '@fluentui/react-theme'; | ||
export declare const ThemeContext: React.Context<Theme | Partial<Theme> | undefined>; | ||
export declare function useTheme(): Theme | Partial<Theme> | undefined; |
@@ -10,3 +10,3 @@ "use strict"; | ||
exports.ThemeContext = /*#__PURE__*/React.createContext(null); | ||
exports.ThemeContext = /*#__PURE__*/React.createContext(undefined); | ||
@@ -13,0 +13,0 @@ function useTheme() { |
export * from './ThemeContext'; | ||
export * from './ThemeContext.types'; |
export * from './ThemeContext'; | ||
export * from './ThemeContext.types'; | ||
//# sourceMappingURL=index.js.map |
import * as React from 'react'; | ||
import type { ThemeContextValue } from './ThemeContext.types'; | ||
export declare const ThemeContext: React.Context<ThemeContextValue>; | ||
export declare function useTheme(): ThemeContextValue; | ||
import type { Theme } from '@fluentui/react-theme'; | ||
export declare const ThemeContext: React.Context<Theme | Partial<Theme> | undefined>; | ||
export declare function useTheme(): Theme | Partial<Theme> | undefined; |
import * as React from 'react'; | ||
export const ThemeContext = /*#__PURE__*/React.createContext(null); | ||
export const ThemeContext = /*#__PURE__*/React.createContext(undefined); | ||
export function useTheme() { | ||
@@ -4,0 +4,0 @@ return React.useContext(ThemeContext); |
{ | ||
"name": "@fluentui/react-shared-contexts", | ||
"version": "0.0.0-nightly65dd5f749420211213.1", | ||
"version": "0.0.0-nightly6a6e258c4020220125.1", | ||
"description": "Fluent UI React Contexts shared by multiple components.", | ||
@@ -38,3 +38,3 @@ "main": "lib-commonjs/index.js", | ||
"dependencies": { | ||
"@fluentui/react-theme": "0.0.0-nightly65dd5f749420211213.1", | ||
"@fluentui/react-theme": "0.0.0-nightly6a6e258c4020220125.1", | ||
"tslib": "^2.1.0" | ||
@@ -41,0 +41,0 @@ }, |
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
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
83372
1429
115
+ Added@fluentui/react-theme@0.0.0-nightly6a6e258c4020220125.1(transitive)
- Removed@fluentui/react-theme@0.0.0-nightly65dd5f749420211213.1(transitive)
Updated@fluentui/react-theme@0.0.0-nightly6a6e258c4020220125.1