@fluentui/react-shared-contexts
Advanced tools
Comparing version 9.0.0-alpha.5 to 9.0.0-alpha.6
@@ -5,6 +5,36 @@ { | ||
{ | ||
"date": "Fri, 16 Apr 2021 18:06:48 GMT", | ||
"date": "Tue, 20 Apr 2021 07:29:23 GMT", | ||
"tag": "@fluentui/react-shared-contexts_v9.0.0-alpha.6", | ||
"version": "9.0.0-alpha.6", | ||
"comments": { | ||
"prerelease": [ | ||
{ | ||
"comment": "Rename internal document to targetDocument", | ||
"author": "lingfan.gao@microsoft.com", | ||
"commit": "01e2e2ce7b042308c503e642a1bb94ff371b7dd1", | ||
"package": "@fluentui/react-shared-contexts" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"date": "Mon, 19 Apr 2021 07:33:33 GMT", | ||
"tag": "@fluentui/react-shared-contexts_v9.0.0-alpha.5", | ||
"version": "9.0.0-alpha.5", | ||
"comments": { | ||
"none": [ | ||
{ | ||
"comment": "Bump @fluentui/react-theme to v9.0.0-alpha.8", | ||
"author": "elcraig@microsoft.com", | ||
"commit": "fdc32557d49e5d70ea7e4af8957102d415b44547", | ||
"package": "@fluentui/react-shared-contexts" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"date": "Fri, 16 Apr 2021 18:08:21 GMT", | ||
"tag": "@fluentui/react-shared-contexts_v9.0.0-alpha.5", | ||
"version": "9.0.0-alpha.5", | ||
"comments": { | ||
"prerelease": [ | ||
@@ -11,0 +41,0 @@ { |
# Change Log - @fluentui/react-shared-contexts | ||
This log was last generated on Fri, 16 Apr 2021 18:06:48 GMT and should not be manually modified. | ||
This log was last generated on Tue, 20 Apr 2021 07:29:23 GMT and should not be manually modified. | ||
<!-- Start content --> | ||
## [9.0.0-alpha.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.6) | ||
Tue, 20 Apr 2021 07:29:23 GMT | ||
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.5..@fluentui/react-shared-contexts_v9.0.0-alpha.6) | ||
### Changes | ||
- Rename internal document to targetDocument ([PR #17827](https://github.com/microsoft/fluentui/pull/17827) by lingfan.gao@microsoft.com) | ||
## [9.0.0-alpha.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.5) | ||
Fri, 16 Apr 2021 18:06:48 GMT | ||
Fri, 16 Apr 2021 18:08:21 GMT | ||
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.4..@fluentui/react-shared-contexts_v9.0.0-alpha.5) | ||
@@ -11,0 +20,0 @@ |
@@ -21,3 +21,3 @@ import * as React from 'react'; | ||
/** Provides the document, can be undefined during SSR render. */ | ||
document?: Document; | ||
targetDocument?: Document; | ||
} | ||
@@ -24,0 +24,0 @@ |
@@ -26,3 +26,3 @@ ## API Report File for "@fluentui/react-shared-contexts" | ||
dir: 'ltr' | 'rtl'; | ||
document?: Document; | ||
targetDocument?: Document; | ||
} | ||
@@ -29,0 +29,0 @@ |
@@ -5,3 +5,3 @@ define(["require", "exports", "react"], function (require, exports, React) { | ||
exports.ProviderContext = React.createContext({ | ||
document: typeof document === 'object' ? document : undefined, | ||
targetDocument: typeof document === 'object' ? document : undefined, | ||
dir: 'ltr', | ||
@@ -8,0 +8,0 @@ }); |
@@ -5,3 +5,3 @@ export interface ProviderContextValue { | ||
/** Provides the document, can be undefined during SSR render. */ | ||
document?: Document; | ||
targetDocument?: Document; | ||
} |
@@ -5,3 +5,3 @@ "use strict"; | ||
exports.ProviderContext = React.createContext({ | ||
document: typeof document === 'object' ? document : undefined, | ||
targetDocument: typeof document === 'object' ? document : undefined, | ||
dir: 'ltr', | ||
@@ -8,0 +8,0 @@ }); |
@@ -5,3 +5,3 @@ export interface ProviderContextValue { | ||
/** Provides the document, can be undefined during SSR render. */ | ||
document?: Document; | ||
targetDocument?: Document; | ||
} |
import * as React from 'react'; | ||
export var ProviderContext = React.createContext({ | ||
document: typeof document === 'object' ? document : undefined, | ||
targetDocument: typeof document === 'object' ? document : undefined, | ||
dir: 'ltr', | ||
@@ -5,0 +5,0 @@ }); |
@@ -5,3 +5,3 @@ export interface ProviderContextValue { | ||
/** Provides the document, can be undefined during SSR render. */ | ||
document?: Document; | ||
targetDocument?: Document; | ||
} |
{ | ||
"name": "@fluentui/react-shared-contexts", | ||
"version": "9.0.0-alpha.5", | ||
"version": "9.0.0-alpha.6", | ||
"description": "Fluent UI React Contexts shared by multiple components.", | ||
@@ -5,0 +5,0 @@ "main": "lib-commonjs/index.js", |
@@ -6,3 +6,3 @@ export interface ProviderContextValue { | ||
/** Provides the document, can be undefined during SSR render. */ | ||
document?: Document; | ||
targetDocument?: Document; | ||
} |
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
60030
807