@fluentui/react-shared-contexts
Advanced tools
Comparing version 9.0.0-beta.2 to 9.0.0-beta.3
@@ -5,3 +5,32 @@ { | ||
{ | ||
"date": "Wed, 27 Oct 2021 12:12:32 GMT", | ||
"date": "Fri, 12 Nov 2021 12:33:42 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": "da10ba8b6cca0c4cf921dc176bb9b7ea57fde9fa" | ||
} | ||
], | ||
"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", | ||
"tag": "@fluentui/react-shared-contexts_v9.0.0-beta.2", | ||
@@ -8,0 +37,0 @@ "version": "9.0.0-beta.2", |
# Change Log - @fluentui/react-shared-contexts | ||
This log was last generated on Wed, 27 Oct 2021 12:12:32 GMT and should not be manually modified. | ||
This log was last generated on Fri, 12 Nov 2021 12:33:42 GMT and should not be manually modified. | ||
<!-- Start content --> | ||
## [9.0.0-beta.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-beta.3) | ||
Fri, 12 Nov 2021 12:33:42 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 #20593](https://github.com/microsoft/fluentui/pull/20593) by beachball) | ||
## [9.0.0-beta.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-beta.2) | ||
Wed, 27 Oct 2021 12:12:32 GMT | ||
Wed, 27 Oct 2021 12:14:24 GMT | ||
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-beta.1..@fluentui/react-shared-contexts_v9.0.0-beta.2) | ||
@@ -11,0 +21,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": "9.0.0-beta.2", | ||
"version": "9.0.0-beta.3", | ||
"description": "Fluent UI React Contexts shared by multiple components.", | ||
@@ -37,3 +37,3 @@ "main": "lib-commonjs/index.js", | ||
"dependencies": { | ||
"@fluentui/react-theme": "9.0.0-beta.2", | ||
"@fluentui/react-theme": "9.0.0-beta.3", | ||
"tslib": "^2.1.0" | ||
@@ -46,3 +46,2 @@ }, | ||
"beachball": { | ||
"tag": "beta", | ||
"disallowedChangeTypes": [ | ||
@@ -49,0 +48,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
80170
1382
+ Added@fluentui/react-theme@9.0.0-beta.3(transitive)
- Removed@fluentui/react-theme@9.0.0-beta.2(transitive)