@fluentui/react-shared-contexts
Advanced tools
Comparing version 0.0.0-nightly442708a36520211209.1 to 0.0.0-nightly4e6470c86320220127.1
@@ -5,5 +5,5 @@ { | ||
{ | ||
"date": "Thu, 09 Dec 2021 04:15:08 GMT", | ||
"tag": "@fluentui/react-shared-contexts_v0.0.0-nightly442708a36520211209.1", | ||
"version": "0.0.0-nightly442708a36520211209.1", | ||
"date": "Thu, 27 Jan 2022 04:17:44 GMT", | ||
"tag": "@fluentui/react-shared-contexts_v0.0.0-nightly4e6470c86320220127.1", | ||
"version": "0.0.0-nightly4e6470c86320220127.1", | ||
"comments": { | ||
@@ -14,11 +14,31 @@ "prerelease": [ | ||
"package": "@fluentui/react-shared-contexts", | ||
"commit": "20c96796031556594c49a5171b45f4ed191b06d9", | ||
"commit": "4288e9baaf65cf1338bb7b5682aca694d6e32e0d", | ||
"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-nightly442708a36520211209.1", | ||
"commit": "20c96796031556594c49a5171b45f4ed191b06d9" | ||
"comment": "Bump @fluentui/react-theme to v0.0.0-nightly4e6470c86320220127.1", | ||
"commit": "4288e9baaf65cf1338bb7b5682aca694d6e32e0d" | ||
} | ||
], | ||
"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 Thu, 09 Dec 2021 04:15:08 GMT and should not be manually modified. | ||
This log was last generated on Thu, 27 Jan 2022 04:17:44 GMT and should not be manually modified. | ||
<!-- Start content --> | ||
## [0.0.0-nightly442708a36520211209.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v0.0.0-nightly442708a36520211209.1) | ||
## [0.0.0-nightly4e6470c86320220127.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v0.0.0-nightly4e6470c86320220127.1) | ||
Thu, 09 Dec 2021 04:15:08 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-nightly442708a36520211209.1) | ||
Thu, 27 Jan 2022 04:17:44 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-nightly4e6470c86320220127.1) | ||
### Changes | ||
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/20c96796031556594c49a5171b45f4ed191b06d9) by email not defined) | ||
- Bump @fluentui/react-theme to v0.0.0-nightly442708a36520211209.1 ([commit](https://github.com/microsoft/fluentui/commit/20c96796031556594c49a5171b45f4ed191b06d9) by beachball) | ||
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/4288e9baaf65cf1338bb7b5682aca694d6e32e0d) 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-nightly4e6470c86320220127.1 ([commit](https://github.com/microsoft/fluentui/commit/4288e9baaf65cf1338bb7b5682aca694d6e32e0d) 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-nightly442708a36520211209.1", | ||
"version": "0.0.0-nightly4e6470c86320220127.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-nightly442708a36520211209.1", | ||
"@fluentui/react-theme": "0.0.0-nightly4e6470c86320220127.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-nightly4e6470c86320220127.1(transitive)
- Removed@fluentui/react-theme@0.0.0-nightly442708a36520211209.1(transitive)
Updated@fluentui/react-theme@0.0.0-nightly4e6470c86320220127.1