@fluentui/react-shared-contexts
Advanced tools
Comparing version 0.0.0-nightly8c37bdfa2420220107.1 to 0.0.0-nightly8dfa71215620220118.1
@@ -5,5 +5,5 @@ { | ||
{ | ||
"date": "Fri, 07 Jan 2022 04:18:11 GMT", | ||
"tag": "@fluentui/react-shared-contexts_v0.0.0-nightly8c37bdfa2420220107.1", | ||
"version": "0.0.0-nightly8c37bdfa2420220107.1", | ||
"date": "Tue, 18 Jan 2022 04:14:48 GMT", | ||
"tag": "@fluentui/react-shared-contexts_v0.0.0-nightly8dfa71215620220118.1", | ||
"version": "0.0.0-nightly8dfa71215620220118.1", | ||
"comments": { | ||
@@ -14,10 +14,16 @@ "prerelease": [ | ||
"package": "@fluentui/react-shared-contexts", | ||
"commit": "a20e14c113697b61a1d2c17539c4e1e708ca7d44", | ||
"commit": "88cddfc0c80b8e37df557740279661f628c46698", | ||
"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": "beachball", | ||
"package": "@fluentui/react-shared-contexts", | ||
"comment": "Bump @fluentui/react-theme to v0.0.0-nightly8c37bdfa2420220107.1", | ||
"commit": "a20e14c113697b61a1d2c17539c4e1e708ca7d44" | ||
"comment": "Bump @fluentui/react-theme to v0.0.0-nightly8dfa71215620220118.1", | ||
"commit": "88cddfc0c80b8e37df557740279661f628c46698" | ||
} | ||
@@ -24,0 +30,0 @@ ] |
# Change Log - @fluentui/react-shared-contexts | ||
This log was last generated on Fri, 07 Jan 2022 04:18:11 GMT and should not be manually modified. | ||
This log was last generated on Tue, 18 Jan 2022 04:14:48 GMT and should not be manually modified. | ||
<!-- Start content --> | ||
## [0.0.0-nightly8c37bdfa2420220107.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v0.0.0-nightly8c37bdfa2420220107.1) | ||
## [0.0.0-nightly8dfa71215620220118.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v0.0.0-nightly8dfa71215620220118.1) | ||
Fri, 07 Jan 2022 04:18:11 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-nightly8c37bdfa2420220107.1) | ||
Tue, 18 Jan 2022 04:14:48 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-nightly8dfa71215620220118.1) | ||
### Changes | ||
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/a20e14c113697b61a1d2c17539c4e1e708ca7d44) by email not defined) | ||
- Bump @fluentui/react-theme to v0.0.0-nightly8c37bdfa2420220107.1 ([commit](https://github.com/microsoft/fluentui/commit/a20e14c113697b61a1d2c17539c4e1e708ca7d44) by beachball) | ||
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/88cddfc0c80b8e37df557740279661f628c46698) 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) | ||
- Bump @fluentui/react-theme to v0.0.0-nightly8dfa71215620220118.1 ([commit](https://github.com/microsoft/fluentui/commit/88cddfc0c80b8e37df557740279661f628c46698) by beachball) | ||
@@ -17,0 +18,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-nightly8c37bdfa2420220107.1", | ||
"version": "0.0.0-nightly8dfa71215620220118.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-nightly8c37bdfa2420220107.1", | ||
"@fluentui/react-theme": "0.0.0-nightly8dfa71215620220118.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
82578
115
1415
+ Added@fluentui/react-theme@0.0.0-nightly8dfa71215620220118.1(transitive)
- Removed@fluentui/react-theme@0.0.0-nightly8c37bdfa2420220107.1(transitive)
Updated@fluentui/react-theme@0.0.0-nightly8dfa71215620220118.1