@fluentui/react-shared-contexts
Advanced tools
Comparing version 0.0.0-nightly050f89bf0020211102.1 to 0.0.0-nightly07d9ed6d1b20211221.1
@@ -5,5 +5,5 @@ { | ||
{ | ||
"date": "Tue, 02 Nov 2021 08:40:39 GMT", | ||
"tag": "@fluentui/react-shared-contexts_v0.0.0-nightly050f89bf0020211102.1", | ||
"version": "0.0.0-nightly050f89bf0020211102.1", | ||
"date": "Tue, 21 Dec 2021 04:16:37 GMT", | ||
"tag": "@fluentui/react-shared-contexts_v0.0.0-nightly07d9ed6d1b20211221.1", | ||
"version": "0.0.0-nightly07d9ed6d1b20211221.1", | ||
"comments": { | ||
@@ -14,3 +14,3 @@ "prerelease": [ | ||
"package": "@fluentui/react-shared-contexts", | ||
"commit": "40469cc9aef788dfd49e97df32d6aed267c2cc26", | ||
"commit": "6e6f95bef032550f051ca8b80e4674e69f9edaa8", | ||
"comment": "Release nightly v9" | ||
@@ -21,4 +21,4 @@ }, | ||
"package": "@fluentui/react-shared-contexts", | ||
"comment": "Bump @fluentui/react-theme to v0.0.0-nightly050f89bf0020211102.1", | ||
"commit": "40469cc9aef788dfd49e97df32d6aed267c2cc26" | ||
"comment": "Bump @fluentui/react-theme to v0.0.0-nightly07d9ed6d1b20211221.1", | ||
"commit": "6e6f95bef032550f051ca8b80e4674e69f9edaa8" | ||
} | ||
@@ -29,2 +29,54 @@ ] | ||
{ | ||
"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", | ||
"package": "@fluentui/react-shared-contexts", | ||
"commit": "c9bd5b5a02ae94a8239ce1b56cac2f0d0dbd3586", | ||
"comment": "Updated beta and RC components to ES2019" | ||
}, | ||
{ | ||
"author": "beachball", | ||
"package": "@fluentui/react-shared-contexts", | ||
"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" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"date": "Wed, 27 Oct 2021 12:14:24 GMT", | ||
@@ -31,0 +83,0 @@ "tag": "@fluentui/react-shared-contexts_v9.0.0-beta.2", |
# Change Log - @fluentui/react-shared-contexts | ||
This log was last generated on Tue, 02 Nov 2021 08:40:39 GMT and should not be manually modified. | ||
This log was last generated on Tue, 21 Dec 2021 04:16:37 GMT and should not be manually modified. | ||
<!-- Start content --> | ||
## [0.0.0-nightly050f89bf0020211102.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v0.0.0-nightly050f89bf0020211102.1) | ||
## [0.0.0-nightly07d9ed6d1b20211221.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v0.0.0-nightly07d9ed6d1b20211221.1) | ||
Tue, 02 Nov 2021 08:40:39 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-nightly050f89bf0020211102.1) | ||
Tue, 21 Dec 2021 04:16:37 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-nightly07d9ed6d1b20211221.1) | ||
### Changes | ||
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/40469cc9aef788dfd49e97df32d6aed267c2cc26) by email not defined) | ||
- Bump @fluentui/react-theme to v0.0.0-nightly050f89bf0020211102.1 ([commit](https://github.com/microsoft/fluentui/commit/40469cc9aef788dfd49e97df32d6aed267c2cc26) by beachball) | ||
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/6e6f95bef032550f051ca8b80e4674e69f9edaa8) by email not defined) | ||
- Bump @fluentui/react-theme to v0.0.0-nightly07d9ed6d1b20211221.1 ([commit](https://github.com/microsoft/fluentui/commit/6e6f95bef032550f051ca8b80e4674e69f9edaa8) 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 v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball) | ||
## [9.0.0-beta.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-beta.2) | ||
@@ -18,0 +37,0 @@ |
@@ -7,3 +7,3 @@ "use strict"; | ||
var tslib_1 = /*#__PURE__*/require("tslib"); | ||
const tslib_1 = /*#__PURE__*/require("tslib"); | ||
@@ -10,0 +10,0 @@ tslib_1.__exportStar(require("./MenuContext"), exports); |
@@ -7,5 +7,5 @@ "use strict"; | ||
var tslib_1 = /*#__PURE__*/require("tslib"); | ||
const tslib_1 = /*#__PURE__*/require("tslib"); | ||
tslib_1.__exportStar(require("./MenuContext/index"), exports); | ||
//# sourceMappingURL=MenuContext.js.map |
@@ -7,3 +7,3 @@ "use strict"; | ||
var tslib_1 = /*#__PURE__*/require("tslib"); | ||
const tslib_1 = /*#__PURE__*/require("tslib"); | ||
@@ -10,0 +10,0 @@ tslib_1.__exportStar(require("./MenuContext"), exports); |
@@ -8,7 +8,7 @@ "use strict"; | ||
var React = /*#__PURE__*/require("react"); | ||
const React = /*#__PURE__*/require("react"); | ||
exports.MenuContext = /*#__PURE__*/React.createContext({}); | ||
var useMenuContext = function () { | ||
const useMenuContext = () => { | ||
return React.useContext(exports.MenuContext); | ||
@@ -15,0 +15,0 @@ }; |
@@ -7,5 +7,5 @@ "use strict"; | ||
var tslib_1 = /*#__PURE__*/require("tslib"); | ||
const tslib_1 = /*#__PURE__*/require("tslib"); | ||
tslib_1.__exportStar(require("./ProviderContext/index"), exports); | ||
//# sourceMappingURL=ProviderContext.js.map |
@@ -7,3 +7,3 @@ "use strict"; | ||
var tslib_1 = /*#__PURE__*/require("tslib"); | ||
const tslib_1 = /*#__PURE__*/require("tslib"); | ||
@@ -10,0 +10,0 @@ tslib_1.__exportStar(require("./ProviderContext"), exports); |
@@ -8,3 +8,3 @@ "use strict"; | ||
var React = /*#__PURE__*/require("react"); | ||
const React = /*#__PURE__*/require("react"); | ||
@@ -11,0 +11,0 @@ exports.ProviderContext = /*#__PURE__*/React.createContext({ |
@@ -7,5 +7,5 @@ "use strict"; | ||
var tslib_1 = /*#__PURE__*/require("tslib"); | ||
const tslib_1 = /*#__PURE__*/require("tslib"); | ||
tslib_1.__exportStar(require("./ThemeClassNameContext/index"), exports); | ||
//# sourceMappingURL=ThemeClassNameContext.js.map |
@@ -7,5 +7,5 @@ "use strict"; | ||
var tslib_1 = /*#__PURE__*/require("tslib"); | ||
const tslib_1 = /*#__PURE__*/require("tslib"); | ||
tslib_1.__exportStar(require("./ThemeClassNameContext"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -8,3 +8,3 @@ "use strict"; | ||
var React = /*#__PURE__*/require("react"); | ||
const React = /*#__PURE__*/require("react"); | ||
/** | ||
@@ -11,0 +11,0 @@ * Used to provide a CSS class that applies theme css variables |
@@ -7,5 +7,5 @@ "use strict"; | ||
var tslib_1 = /*#__PURE__*/require("tslib"); | ||
const tslib_1 = /*#__PURE__*/require("tslib"); | ||
tslib_1.__exportStar(require("./ThemeContext/index"), exports); | ||
//# sourceMappingURL=ThemeContext.js.map |
@@ -7,3 +7,3 @@ "use strict"; | ||
var tslib_1 = /*#__PURE__*/require("tslib"); | ||
const tslib_1 = /*#__PURE__*/require("tslib"); | ||
@@ -10,0 +10,0 @@ tslib_1.__exportStar(require("./ThemeContext"), exports); |
@@ -8,3 +8,3 @@ "use strict"; | ||
var React = /*#__PURE__*/require("react"); | ||
const React = /*#__PURE__*/require("react"); | ||
@@ -11,0 +11,0 @@ exports.ThemeContext = /*#__PURE__*/React.createContext(null); |
@@ -7,5 +7,5 @@ "use strict"; | ||
var tslib_1 = /*#__PURE__*/require("tslib"); | ||
const tslib_1 = /*#__PURE__*/require("tslib"); | ||
tslib_1.__exportStar(require("./TooltipContext/index"), exports); | ||
//# sourceMappingURL=TooltipContext.js.map |
@@ -7,5 +7,5 @@ "use strict"; | ||
var tslib_1 = /*#__PURE__*/require("tslib"); | ||
const tslib_1 = /*#__PURE__*/require("tslib"); | ||
tslib_1.__exportStar(require("./TooltipContext"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -8,3 +8,3 @@ "use strict"; | ||
var React = /*#__PURE__*/require("react"); | ||
const React = /*#__PURE__*/require("react"); | ||
/** | ||
@@ -11,0 +11,0 @@ * Context shared by all of the tooltips in the app |
import * as React from 'react'; | ||
export var MenuContext = /*#__PURE__*/React.createContext({}); | ||
export var useMenuContext = function () { | ||
export const MenuContext = /*#__PURE__*/React.createContext({}); | ||
export const useMenuContext = () => { | ||
return React.useContext(MenuContext); | ||
}; | ||
//# sourceMappingURL=MenuContext.js.map |
import * as React from 'react'; | ||
export var ProviderContext = /*#__PURE__*/React.createContext({ | ||
export const ProviderContext = /*#__PURE__*/React.createContext({ | ||
targetDocument: typeof document === 'object' ? document : undefined, | ||
@@ -4,0 +4,0 @@ dir: 'ltr' |
@@ -8,3 +8,3 @@ import * as React from 'react'; | ||
export var ThemeClassNameContext = /*#__PURE__*/React.createContext(''); | ||
export const ThemeClassNameContext = /*#__PURE__*/React.createContext(''); | ||
/** | ||
@@ -11,0 +11,0 @@ * @returns CSS class that applies css variables |
import * as React from 'react'; | ||
export var ThemeContext = /*#__PURE__*/React.createContext(null); | ||
export const ThemeContext = /*#__PURE__*/React.createContext(null); | ||
export function useTheme() { | ||
@@ -4,0 +4,0 @@ return React.useContext(ThemeContext); |
@@ -6,3 +6,3 @@ import * as React from 'react'; | ||
export var TooltipContext = /*#__PURE__*/React.createContext({}); | ||
export const TooltipContext = /*#__PURE__*/React.createContext({}); | ||
//# sourceMappingURL=TooltipContext.js.map |
{ | ||
"name": "@fluentui/react-shared-contexts", | ||
"version": "0.0.0-nightly050f89bf0020211102.1", | ||
"version": "0.0.0-nightly07d9ed6d1b20211221.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-nightly050f89bf0020211102.1", | ||
"@fluentui/react-theme": "0.0.0-nightly07d9ed6d1b20211221.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
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
82923
1426
45
6
110329
21
271
+ Added@fluentui/react-theme@0.0.0-nightly07d9ed6d1b20211221.1(transitive)
- Removed@fluentui/react-theme@0.0.0-nightly050f89bf0020211102.1(transitive)
Updated@fluentui/react-theme@0.0.0-nightly07d9ed6d1b20211221.1