@fluentui/react-shared-contexts
Advanced tools
Comparing version 0.0.0-nightlyfe9829e48120211112.1 to 0.0.0-nightlyff78d1e27a20220217.1
@@ -5,5 +5,5 @@ { | ||
{ | ||
"date": "Fri, 12 Nov 2021 04:20:24 GMT", | ||
"tag": "@fluentui/react-shared-contexts_v0.0.0-nightlyfe9829e48120211112.1", | ||
"version": "0.0.0-nightlyfe9829e48120211112.1", | ||
"date": "Thu, 17 Feb 2022 11:41:14 GMT", | ||
"tag": "@fluentui/react-shared-contexts_v0.0.0-nightlyff78d1e27a20220217.1", | ||
"version": "0.0.0-nightlyff78d1e27a20220217.1", | ||
"comments": { | ||
@@ -14,6 +14,85 @@ "prerelease": [ | ||
"package": "@fluentui/react-shared-contexts", | ||
"commit": "142a7cc99189d401f2f98ff0ee2f1db652df8b72", | ||
"commit": "966e16625ca79f990ad8ca408ba47857adc522b3", | ||
"comment": "Release nightly v9" | ||
}, | ||
{ | ||
"author": "beachball", | ||
"package": "@fluentui/react-shared-contexts", | ||
"comment": "Bump @fluentui/react-theme to v0.0.0-nightlyff78d1e27a20220217.1", | ||
"commit": "966e16625ca79f990ad8ca408ba47857adc522b3" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"date": "Thu, 10 Feb 2022 08:50:48 GMT", | ||
"tag": "@fluentui/react-shared-contexts_v9.0.0-rc.1", | ||
"version": "9.0.0-rc.1", | ||
"comments": { | ||
"prerelease": [ | ||
{ | ||
"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": "lingfangao@hotmail.com", | ||
"package": "@fluentui/react-shared-contexts", | ||
"commit": "c00913d50e2dd15bbfbb0757cefe43b192ff1d7f", | ||
"comment": "Bump Fluent UI packages to 9.0.0-rc" | ||
}, | ||
{ | ||
"author": "beachball", | ||
"package": "@fluentui/react-shared-contexts", | ||
"comment": "Bump @fluentui/react-theme to v9.0.0-rc.1", | ||
"commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8" | ||
} | ||
], | ||
"none": [ | ||
{ | ||
"author": "olfedias@microsoft.com", | ||
"package": "@fluentui/react-shared-contexts", | ||
"commit": "c061e98be4b4a718c72a144a1f60bb5515824612", | ||
"comment": "remove inline-style-expand-shorthand from tsconfigs" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"date": "Thu, 25 Nov 2021 08:34:16 GMT", | ||
"tag": "@fluentui/react-shared-contexts_v9.0.0-beta.4", | ||
"version": "9.0.0-beta.4", | ||
"comments": { | ||
"none": [ | ||
{ | ||
"author": "olfedias@microsoft.com", | ||
"package": "@fluentui/react-shared-contexts", | ||
"commit": "ba05e3ba0a8fec662323e2e39e628cf015dae3ef", | ||
"comment": "update tooling configs" | ||
} | ||
], | ||
"prerelease": [ | ||
{ | ||
"author": "beachball", | ||
"package": "@fluentui/react-shared-contexts", | ||
"comment": "Bump @fluentui/react-theme to v9.0.0-beta.4", | ||
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"date": "Fri, 12 Nov 2021 13:25:32 GMT", | ||
"tag": "@fluentui/react-shared-contexts_v9.0.0-beta.3", | ||
"version": "9.0.0-beta.3", | ||
"comments": { | ||
"prerelease": [ | ||
{ | ||
"author": "gcox@microsoft.com", | ||
@@ -27,5 +106,13 @@ "package": "@fluentui/react-shared-contexts", | ||
"package": "@fluentui/react-shared-contexts", | ||
"comment": "Bump @fluentui/react-theme to v0.0.0-nightlyfe9829e48120211112.1", | ||
"commit": "142a7cc99189d401f2f98ff0ee2f1db652df8b72" | ||
"comment": "Bump @fluentui/react-theme to v9.0.0-beta.3", | ||
"commit": "742342e52c65066f779232e4e1302fedf0dd460d" | ||
} | ||
], | ||
"none": [ | ||
{ | ||
"author": "lingfangao@hotmail.com", | ||
"package": "@fluentui/react-shared-contexts", | ||
"commit": "00f70581480b536e723fb69edf0ae617beac4807", | ||
"comment": "Remove beta release tag" | ||
} | ||
] | ||
@@ -32,0 +119,0 @@ } |
# Change Log - @fluentui/react-shared-contexts | ||
This log was last generated on Fri, 12 Nov 2021 04:20:24 GMT and should not be manually modified. | ||
This log was last generated on Thu, 17 Feb 2022 11:41:14 GMT and should not be manually modified. | ||
<!-- Start content --> | ||
## [0.0.0-nightlyfe9829e48120211112.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v0.0.0-nightlyfe9829e48120211112.1) | ||
## [0.0.0-nightlyff78d1e27a20220217.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v0.0.0-nightlyff78d1e27a20220217.1) | ||
Fri, 12 Nov 2021 04:20:24 GMT | ||
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-beta.2..@fluentui/react-shared-contexts_v0.0.0-nightlyfe9829e48120211112.1) | ||
Thu, 17 Feb 2022 11:41:14 GMT | ||
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-rc.1..@fluentui/react-shared-contexts_v0.0.0-nightlyff78d1e27a20220217.1) | ||
### Changes | ||
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/142a7cc99189d401f2f98ff0ee2f1db652df8b72) by email not defined) | ||
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/966e16625ca79f990ad8ca408ba47857adc522b3) by email not defined) | ||
- Bump @fluentui/react-theme to v0.0.0-nightlyff78d1e27a20220217.1 ([commit](https://github.com/microsoft/fluentui/commit/966e16625ca79f990ad8ca408ba47857adc522b3) by beachball) | ||
## [9.0.0-rc.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-rc.1) | ||
Thu, 10 Feb 2022 08:50:48 GMT | ||
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-beta.4..@fluentui/react-shared-contexts_v9.0.0-rc.1) | ||
### Changes | ||
- 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 Fluent UI packages to 9.0.0-rc ([PR #21623](https://github.com/microsoft/fluentui/pull/21623) by lingfangao@hotmail.com) | ||
- Bump @fluentui/react-theme to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball) | ||
## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-beta.4) | ||
Thu, 25 Nov 2021 08:34:16 GMT | ||
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-beta.3..@fluentui/react-shared-contexts_v9.0.0-beta.4) | ||
### Changes | ||
- Bump @fluentui/react-theme to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball) | ||
## [9.0.0-beta.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-beta.3) | ||
Fri, 12 Nov 2021 13:25:32 GMT | ||
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-beta.2..@fluentui/react-shared-contexts_v9.0.0-beta.3) | ||
### Changes | ||
- Updated beta and RC components to ES2019 ([PR #20405](https://github.com/microsoft/fluentui/pull/20405) by gcox@microsoft.com) | ||
- Bump @fluentui/react-theme to v0.0.0-nightlyfe9829e48120211112.1 ([commit](https://github.com/microsoft/fluentui/commit/142a7cc99189d401f2f98ff0ee2f1db652df8b72) by beachball) | ||
- Bump @fluentui/react-theme to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball) | ||
@@ -18,0 +48,0 @@ ## [9.0.0-beta.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-beta.2) |
@@ -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-nightlyfe9829e48120211112.1", | ||
"version": "0.0.0-nightlyff78d1e27a20220217.1", | ||
"description": "Fluent UI React Contexts shared by multiple components.", | ||
@@ -21,4 +21,5 @@ "main": "lib-commonjs/index.js", | ||
"docs": "api-extractor run --config=config/api-extractor.local.json --local", | ||
"build:local": "tsc -p . --module esnext --emitDeclarationOnly && node ../../scripts/typescript/normalize-import --output dist/react-shared-contexts/src && yarn docs", | ||
"test": "jest --passWithNoTests" | ||
"build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../scripts/typescript/normalize-import --output ./dist/packages/react-shared-contexts/src && yarn docs", | ||
"test": "jest --passWithNoTests", | ||
"type-check": "tsc -b tsconfig.json" | ||
}, | ||
@@ -38,3 +39,3 @@ "devDependencies": { | ||
"dependencies": { | ||
"@fluentui/react-theme": "0.0.0-nightlyfe9829e48120211112.1", | ||
"@fluentui/react-theme": "0.0.0-nightlyff78d1e27a20220217.1", | ||
"tslib": "^2.1.0" | ||
@@ -47,3 +48,2 @@ }, | ||
"beachball": { | ||
"tag": "beta", | ||
"disallowedChangeTypes": [ | ||
@@ -50,0 +50,0 @@ "major", |
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
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
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
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
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
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
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
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
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
90929
1450
115
+ Added@fluentui/react-theme@0.0.0-nightlyff78d1e27a20220217.1(transitive)
- Removed@fluentui/react-theme@0.0.0-nightlyfe9829e48120211112.1(transitive)
Updated@fluentui/react-theme@0.0.0-nightlyff78d1e27a20220217.1