Socket
Socket
Sign inDemoInstall

@fluentui/react-shared-contexts

Package Overview
Dependencies
Maintainers
12
Versions
781
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fluentui/react-shared-contexts - npm Package Compare versions

Comparing version 9.0.0-alpha.4 to 9.0.0-alpha.5

lib-amd/ThemeClassNameContext.d.ts

17

CHANGELOG.json

@@ -5,3 +5,18 @@ {

{
"date": "Thu, 08 Apr 2021 07:29:50 GMT",
"date": "Fri, 16 Apr 2021 18:06:48 GMT",
"tag": "@fluentui/react-shared-contexts_v9.0.0-alpha.5",
"version": "9.0.0-alpha.5",
"comments": {
"prerelease": [
{
"comment": "Add ThemeClassNameContext for CSS variable class",
"author": "lingfan.gao@microsoft.com",
"commit": "202f547fef3255f5c59ff4ad912c67b4978ef457",
"package": "@fluentui/react-shared-contexts"
}
]
}
},
{
"date": "Thu, 08 Apr 2021 07:33:06 GMT",
"tag": "@fluentui/react-shared-contexts_v9.0.0-alpha.4",

@@ -8,0 +23,0 @@ "version": "9.0.0-alpha.4",

# Change Log - @fluentui/react-shared-contexts
This log was last generated on Thu, 08 Apr 2021 07:29:50 GMT and should not be manually modified.
This log was last generated on Fri, 16 Apr 2021 18:06:48 GMT and should not be manually modified.
<!-- Start content -->
## [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
[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)
### Changes
- Add ThemeClassNameContext for CSS variable class ([PR #17794](https://github.com/microsoft/fluentui/pull/17794) by lingfan.gao@microsoft.com)
## [9.0.0-alpha.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.4)
Thu, 08 Apr 2021 07:29:50 GMT
Thu, 08 Apr 2021 07:33:06 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.3..@fluentui/react-shared-contexts_v9.0.0-alpha.4)

@@ -11,0 +20,0 @@

@@ -24,2 +24,9 @@ import * as React from 'react';

/**
* Used to provide a CSS class that applies theme css variables
*
* Useful for elements in the React tree (can read context) but not in the DOM Tree. E.g. Portals
*/
export declare const ThemeClassNameContext: React.Context<string>;
export declare const ThemeContext: React.Context<ThemeContextValue>;

@@ -36,2 +43,7 @@

/**
* @returns CSS class that applies css variables
*/
export declare function useThemeClassName(): string;
export { }

@@ -29,2 +29,5 @@ ## API Report File for "@fluentui/react-shared-contexts"

// @public
export const ThemeClassNameContext: React.Context<string>;
// @public (undocumented)

@@ -46,5 +49,8 @@ export const ThemeContext: React.Context<ThemeContextValue>;

// @public (undocumented)
export function useThemeClassName(): string;
// (No @packageDocumentation comment for this package)
```
export * from './MenuContext';
export * from './ThemeContext';
export * from './ThemeClassNameContext';
export * from './ProviderContext';

3

lib-amd/index.js

@@ -1,2 +0,2 @@

define(["require", "exports", "tslib", "./MenuContext", "./ThemeContext", "./ProviderContext"], function (require, exports, tslib_1, MenuContext_1, ThemeContext_1, ProviderContext_1) {
define(["require", "exports", "tslib", "./MenuContext", "./ThemeContext", "./ThemeClassNameContext", "./ProviderContext"], function (require, exports, tslib_1, MenuContext_1, ThemeContext_1, ThemeClassNameContext_1, ProviderContext_1) {
"use strict";

@@ -6,4 +6,5 @@ Object.defineProperty(exports, "__esModule", { value: true });

tslib_1.__exportStar(ThemeContext_1, exports);
tslib_1.__exportStar(ThemeClassNameContext_1, exports);
tslib_1.__exportStar(ProviderContext_1, exports);
});
//# sourceMappingURL=index.js.map
export * from './MenuContext';
export * from './ThemeContext';
export * from './ThemeClassNameContext';
export * from './ProviderContext';

@@ -6,3 +6,4 @@ "use strict";

tslib_1.__exportStar(require("./ThemeContext"), exports);
tslib_1.__exportStar(require("./ThemeClassNameContext"), exports);
tslib_1.__exportStar(require("./ProviderContext"), exports);
//# sourceMappingURL=index.js.map
export * from './MenuContext';
export * from './ThemeContext';
export * from './ThemeClassNameContext';
export * from './ProviderContext';
export * from './MenuContext';
export * from './ThemeContext';
export * from './ThemeClassNameContext';
export * from './ProviderContext';
//# sourceMappingURL=index.js.map
{
"name": "@fluentui/react-shared-contexts",
"version": "9.0.0-alpha.4",
"version": "9.0.0-alpha.5",
"description": "Fluent UI React Contexts shared by multiple components.",

@@ -5,0 +5,0 @@ "main": "lib-commonjs/index.js",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc