Socket
Socket
Sign inDemoInstall

@fluentui/react-theme

Package Overview
Dependencies
Maintainers
12
Versions
729
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fluentui/react-theme - npm Package Compare versions

Comparing version 9.0.0-alpha.21 to 9.0.0-alpha.22

31

CHANGELOG.json

@@ -5,3 +5,32 @@ {

{
"date": "Fri, 20 Aug 2021 07:34:37 GMT",
"date": "Tue, 24 Aug 2021 07:32:28 GMT",
"tag": "@fluentui/react-theme_v9.0.0-alpha.22",
"version": "9.0.0-alpha.22",
"comments": {
"prerelease": [
{
"comment": "Updating TypeScript type-only imports/exports to use import/export type syntax.",
"author": "dzearing@hotmail.com",
"commit": "789a3733b128569190319fce3fe2b46900b24896",
"package": "@fluentui/react-theme"
}
],
"none": [
{
"comment": "Bump @fluentui/eslint-plugin to v1.4.1",
"author": "dzearing@hotmail.com",
"commit": "0abd957c8d4421018e6d792c2a4aa8876967392b",
"package": "@fluentui/react-theme"
},
{
"comment": "Bump @fluentui/scripts to v1.0.0",
"author": "dzearing@hotmail.com",
"commit": "0abd957c8d4421018e6d792c2a4aa8876967392b",
"package": "@fluentui/react-theme"
}
]
}
},
{
"date": "Fri, 20 Aug 2021 07:37:28 GMT",
"tag": "@fluentui/react-theme_v9.0.0-alpha.21",

@@ -8,0 +37,0 @@ "version": "9.0.0-alpha.21",

# Change Log - @fluentui/react-theme
This log was last generated on Fri, 20 Aug 2021 07:34:37 GMT and should not be manually modified.
This log was last generated on Tue, 24 Aug 2021 07:32:28 GMT and should not be manually modified.
<!-- Start content -->
## [9.0.0-alpha.22](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-alpha.22)
Tue, 24 Aug 2021 07:32:28 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-alpha.21..@fluentui/react-theme_v9.0.0-alpha.22)
### Changes
- Updating TypeScript type-only imports/exports to use import/export type syntax. ([PR #19471](https://github.com/microsoft/fluentui/pull/19471) by dzearing@hotmail.com)
## [9.0.0-alpha.21](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme_v9.0.0-alpha.21)
Fri, 20 Aug 2021 07:34:37 GMT
Fri, 20 Aug 2021 07:37:28 GMT
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme_v9.0.0-alpha.20..@fluentui/react-theme_v9.0.0-alpha.21)

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

2

lib-amd/alias/dark.d.ts

@@ -1,3 +0,3 @@

import { GlobalSharedColors, NeutralColorTokens, SharedColorTokens } from '../types';
import type { GlobalSharedColors, NeutralColorTokens, SharedColorTokens } from '../types';
export declare const neutralColorTokens: NeutralColorTokens;
export declare const generateSharedColorTokens: (globalSharedTokens: GlobalSharedColors) => Record<keyof GlobalSharedColors, SharedColorTokens>;

@@ -1,3 +0,3 @@

import { GlobalSharedColors, NeutralColorTokens, SharedColorTokens } from '../types';
import type { GlobalSharedColors, NeutralColorTokens, SharedColorTokens } from '../types';
export declare const neutralColorTokens: NeutralColorTokens;
export declare const generateSharedColorTokens: (globalSharedTokens: GlobalSharedColors) => Record<keyof GlobalSharedColors, SharedColorTokens>;

@@ -1,3 +0,3 @@

import { GlobalSharedColors, NeutralColorTokens, SharedColorTokens } from '../types';
import type { GlobalSharedColors, NeutralColorTokens, SharedColorTokens } from '../types';
export declare const neutralColorTokens: NeutralColorTokens;
export declare const generateSharedColorTokens: (globalSharedTokens: GlobalSharedColors) => Record<keyof GlobalSharedColors, SharedColorTokens>;

@@ -1,3 +0,3 @@

import { GlobalSharedColors, NeutralColorTokens, SharedColorTokens } from '../types';
import type { GlobalSharedColors, NeutralColorTokens, SharedColorTokens } from '../types';
export declare const neutralColorTokens: NeutralColorTokens;
export declare const generateSharedColorTokens: (globalSharedTokens: GlobalSharedColors) => Record<keyof GlobalSharedColors, SharedColorTokens>;

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

import { BorderRadius } from '../types';
import type { BorderRadius } from '../types';
export declare const borderRadius: BorderRadius;

@@ -1,4 +0,4 @@

import { BrandVariants, ProductBrandColors } from '../types';
import type { BrandVariants, ProductBrandColors } from '../types';
export declare const brandWeb: BrandVariants;
export declare const brandTeams: BrandVariants;
export declare const brandColors: ProductBrandColors;

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

import { GlobalSharedColors, Greys, AlphaColors } from '../types';
import type { GlobalSharedColors, Greys, AlphaColors } from '../types';
export declare const grey: Record<Greys, string>;

@@ -3,0 +3,0 @@ export declare const white = "#ffffff";

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

import { FontFamilies, FontSizes, FontWeights, LineHeights, TextAlignments } from '../types';
import type { FontFamilies, FontSizes, FontWeights, LineHeights, TextAlignments } from '../types';
export declare const fontSizes: FontSizes;

@@ -3,0 +3,0 @@ export declare const lineHeights: LineHeights;

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

import { StrokeWidths } from '../types';
import type { StrokeWidths } from '../types';
export declare const strokeWidths: StrokeWidths;

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

import { Theme, BrandVariants } from '../types';
import type { Theme, BrandVariants } from '../types';
export declare const createGlobalTheme: (brand: BrandVariants) => Theme['global'];

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

import { Theme } from '../../types';
import type { Theme } from '../../types';
export declare const teamsDarkTheme: Theme;

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

import { Theme } from '../../types';
import type { Theme } from '../../types';
export declare const teamsHighContrastTheme: Theme;

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

import { Theme } from '../../types';
import type { Theme } from '../../types';
export declare const teamsLightTheme: Theme;

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

import { Theme } from '../../types';
import type { Theme } from '../../types';
export declare const webDarkTheme: Theme;

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

import { Theme } from '../../types';
import type { Theme } from '../../types';
export declare const webHighContrastTheme: Theme;

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

import { Theme } from '../../types';
import type { Theme } from '../../types';
export declare const webLightTheme: Theme;

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

import { BrandVariants, Theme } from '../types';
import type { BrandVariants, Theme } from '../types';
export declare const createDarkTheme: (brand: BrandVariants) => Theme;

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

import { BrandVariants, Theme } from '../types';
import type { BrandVariants, Theme } from '../types';
export declare const createHighContrastTheme: (brand: BrandVariants) => Theme;

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

import { BrandVariants, Theme } from '../types';
import type { BrandVariants, Theme } from '../types';
export declare const createLightTheme: (brand: BrandVariants) => Theme;

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

import { BrandVariants, Theme } from '../types';
import type { BrandVariants, Theme } from '../types';
export declare const createTeamsDarkTheme: (brand: BrandVariants) => Theme;

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

import { PartialTheme, Theme } from '../types';
import type { PartialTheme, Theme } from '../types';
/**

@@ -3,0 +3,0 @@ * Simple deep merge function. Takes all arguments and returns a deep copy of the objects merged

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

import { ShadowLevelTokens } from '../types';
import type { ShadowLevelTokens } from '../types';
export declare function createShadowLevelTokens(ambientColor: string, keyColor: string): ShadowLevelTokens;

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

import { Theme } from '../types';
import type { Theme } from '../types';
export declare function themeToCSSVariables(theme: Theme): Record<string, string>;

@@ -1,3 +0,3 @@

import { GlobalSharedColors, NeutralColorTokens, SharedColorTokens } from '../types';
import type { GlobalSharedColors, NeutralColorTokens, SharedColorTokens } from '../types';
export declare const neutralColorTokens: NeutralColorTokens;
export declare const generateSharedColorTokens: (globalSharedTokens: GlobalSharedColors) => Record<keyof GlobalSharedColors, SharedColorTokens>;

@@ -1,3 +0,3 @@

import { GlobalSharedColors, NeutralColorTokens, SharedColorTokens } from '../types';
import type { GlobalSharedColors, NeutralColorTokens, SharedColorTokens } from '../types';
export declare const neutralColorTokens: NeutralColorTokens;
export declare const generateSharedColorTokens: (globalSharedTokens: GlobalSharedColors) => Record<keyof GlobalSharedColors, SharedColorTokens>;

@@ -1,3 +0,3 @@

import { GlobalSharedColors, NeutralColorTokens, SharedColorTokens } from '../types';
import type { GlobalSharedColors, NeutralColorTokens, SharedColorTokens } from '../types';
export declare const neutralColorTokens: NeutralColorTokens;
export declare const generateSharedColorTokens: (globalSharedTokens: GlobalSharedColors) => Record<keyof GlobalSharedColors, SharedColorTokens>;

@@ -1,3 +0,3 @@

import { GlobalSharedColors, NeutralColorTokens, SharedColorTokens } from '../types';
import type { GlobalSharedColors, NeutralColorTokens, SharedColorTokens } from '../types';
export declare const neutralColorTokens: NeutralColorTokens;
export declare const generateSharedColorTokens: (globalSharedTokens: GlobalSharedColors) => Record<keyof GlobalSharedColors, SharedColorTokens>;

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

import { BorderRadius } from '../types';
import type { BorderRadius } from '../types';
export declare const borderRadius: BorderRadius;

@@ -1,4 +0,4 @@

import { BrandVariants, ProductBrandColors } from '../types';
import type { BrandVariants, ProductBrandColors } from '../types';
export declare const brandWeb: BrandVariants;
export declare const brandTeams: BrandVariants;
export declare const brandColors: ProductBrandColors;

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

import { GlobalSharedColors, Greys, AlphaColors } from '../types';
import type { GlobalSharedColors, Greys, AlphaColors } from '../types';
export declare const grey: Record<Greys, string>;

@@ -3,0 +3,0 @@ export declare const white = "#ffffff";

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

import { FontFamilies, FontSizes, FontWeights, LineHeights, TextAlignments } from '../types';
import type { FontFamilies, FontSizes, FontWeights, LineHeights, TextAlignments } from '../types';
export declare const fontSizes: FontSizes;

@@ -3,0 +3,0 @@ export declare const lineHeights: LineHeights;

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

import { StrokeWidths } from '../types';
import type { StrokeWidths } from '../types';
export declare const strokeWidths: StrokeWidths;

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

import { Theme, BrandVariants } from '../types';
import type { Theme, BrandVariants } from '../types';
export declare const createGlobalTheme: (brand: BrandVariants) => Theme['global'];

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

import { Theme } from '../../types';
import type { Theme } from '../../types';
export declare const teamsDarkTheme: Theme;

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

import { Theme } from '../../types';
import type { Theme } from '../../types';
export declare const teamsHighContrastTheme: Theme;

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

import { Theme } from '../../types';
import type { Theme } from '../../types';
export declare const teamsLightTheme: Theme;

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

import { Theme } from '../../types';
import type { Theme } from '../../types';
export declare const webDarkTheme: Theme;

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

import { Theme } from '../../types';
import type { Theme } from '../../types';
export declare const webHighContrastTheme: Theme;

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

import { Theme } from '../../types';
import type { Theme } from '../../types';
export declare const webLightTheme: Theme;

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

import { BrandVariants, Theme } from '../types';
import type { BrandVariants, Theme } from '../types';
export declare const createDarkTheme: (brand: BrandVariants) => Theme;

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

import { BrandVariants, Theme } from '../types';
import type { BrandVariants, Theme } from '../types';
export declare const createHighContrastTheme: (brand: BrandVariants) => Theme;

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

import { BrandVariants, Theme } from '../types';
import type { BrandVariants, Theme } from '../types';
export declare const createLightTheme: (brand: BrandVariants) => Theme;

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

import { BrandVariants, Theme } from '../types';
import type { BrandVariants, Theme } from '../types';
export declare const createTeamsDarkTheme: (brand: BrandVariants) => Theme;

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

import { PartialTheme, Theme } from '../types';
import type { PartialTheme, Theme } from '../types';
/**

@@ -3,0 +3,0 @@ * Simple deep merge function. Takes all arguments and returns a deep copy of the objects merged

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

import { ShadowLevelTokens } from '../types';
import type { ShadowLevelTokens } from '../types';
export declare function createShadowLevelTokens(ambientColor: string, keyColor: string): ShadowLevelTokens;

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

import { Theme } from '../types';
import type { Theme } from '../types';
export declare function themeToCSSVariables(theme: Theme): Record<string, string>;

@@ -1,3 +0,3 @@

import { GlobalSharedColors, NeutralColorTokens, SharedColorTokens } from '../types';
import type { GlobalSharedColors, NeutralColorTokens, SharedColorTokens } from '../types';
export declare const neutralColorTokens: NeutralColorTokens;
export declare const generateSharedColorTokens: (globalSharedTokens: GlobalSharedColors) => Record<keyof GlobalSharedColors, SharedColorTokens>;

@@ -1,3 +0,3 @@

import { GlobalSharedColors, NeutralColorTokens, SharedColorTokens } from '../types';
import type { GlobalSharedColors, NeutralColorTokens, SharedColorTokens } from '../types';
export declare const neutralColorTokens: NeutralColorTokens;
export declare const generateSharedColorTokens: (globalSharedTokens: GlobalSharedColors) => Record<keyof GlobalSharedColors, SharedColorTokens>;

@@ -1,3 +0,3 @@

import { GlobalSharedColors, NeutralColorTokens, SharedColorTokens } from '../types';
import type { GlobalSharedColors, NeutralColorTokens, SharedColorTokens } from '../types';
export declare const neutralColorTokens: NeutralColorTokens;
export declare const generateSharedColorTokens: (globalSharedTokens: GlobalSharedColors) => Record<keyof GlobalSharedColors, SharedColorTokens>;

@@ -1,3 +0,3 @@

import { GlobalSharedColors, NeutralColorTokens, SharedColorTokens } from '../types';
import type { GlobalSharedColors, NeutralColorTokens, SharedColorTokens } from '../types';
export declare const neutralColorTokens: NeutralColorTokens;
export declare const generateSharedColorTokens: (globalSharedTokens: GlobalSharedColors) => Record<keyof GlobalSharedColors, SharedColorTokens>;

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

import { BorderRadius } from '../types';
import type { BorderRadius } from '../types';
export declare const borderRadius: BorderRadius;

@@ -1,4 +0,4 @@

import { BrandVariants, ProductBrandColors } from '../types';
import type { BrandVariants, ProductBrandColors } from '../types';
export declare const brandWeb: BrandVariants;
export declare const brandTeams: BrandVariants;
export declare const brandColors: ProductBrandColors;

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

import { GlobalSharedColors, Greys, AlphaColors } from '../types';
import type { GlobalSharedColors, Greys, AlphaColors } from '../types';
export declare const grey: Record<Greys, string>;

@@ -3,0 +3,0 @@ export declare const white = "#ffffff";

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

import { FontFamilies, FontSizes, FontWeights, LineHeights, TextAlignments } from '../types';
import type { FontFamilies, FontSizes, FontWeights, LineHeights, TextAlignments } from '../types';
export declare const fontSizes: FontSizes;

@@ -3,0 +3,0 @@ export declare const lineHeights: LineHeights;

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

import { StrokeWidths } from '../types';
import type { StrokeWidths } from '../types';
export declare const strokeWidths: StrokeWidths;

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

import { Theme, BrandVariants } from '../types';
import type { Theme, BrandVariants } from '../types';
export declare const createGlobalTheme: (brand: BrandVariants) => Theme['global'];

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

import { Theme } from '../../types';
import type { Theme } from '../../types';
export declare const teamsDarkTheme: Theme;

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

import { Theme } from '../../types';
import type { Theme } from '../../types';
export declare const teamsHighContrastTheme: Theme;

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

import { Theme } from '../../types';
import type { Theme } from '../../types';
export declare const teamsLightTheme: Theme;

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

import { Theme } from '../../types';
import type { Theme } from '../../types';
export declare const webDarkTheme: Theme;

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

import { Theme } from '../../types';
import type { Theme } from '../../types';
export declare const webHighContrastTheme: Theme;

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

import { Theme } from '../../types';
import type { Theme } from '../../types';
export declare const webLightTheme: Theme;

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

import { BrandVariants, Theme } from '../types';
import type { BrandVariants, Theme } from '../types';
export declare const createDarkTheme: (brand: BrandVariants) => Theme;

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

import { BrandVariants, Theme } from '../types';
import type { BrandVariants, Theme } from '../types';
export declare const createHighContrastTheme: (brand: BrandVariants) => Theme;

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

import { BrandVariants, Theme } from '../types';
import type { BrandVariants, Theme } from '../types';
export declare const createLightTheme: (brand: BrandVariants) => Theme;

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

import { BrandVariants, Theme } from '../types';
import type { BrandVariants, Theme } from '../types';
export declare const createTeamsDarkTheme: (brand: BrandVariants) => Theme;

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

import { PartialTheme, Theme } from '../types';
import type { PartialTheme, Theme } from '../types';
/**

@@ -3,0 +3,0 @@ * Simple deep merge function. Takes all arguments and returns a deep copy of the objects merged

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

import { ShadowLevelTokens } from '../types';
import type { ShadowLevelTokens } from '../types';
export declare function createShadowLevelTokens(ambientColor: string, keyColor: string): ShadowLevelTokens;

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

import { Theme } from '../types';
import type { Theme } from '../types';
export declare function themeToCSSVariables(theme: Theme): Record<string, string>;
{
"name": "@fluentui/react-theme",
"version": "9.0.0-alpha.21",
"version": "9.0.0-alpha.22",
"description": "Fluent UI themes",

@@ -28,3 +28,3 @@ "main": "lib-commonjs/index.js",

"devDependencies": {
"@fluentui/eslint-plugin": "^1.4.0",
"@fluentui/eslint-plugin": "^1.4.1",
"@fluentui/scripts": "^1.0.0",

@@ -31,0 +31,0 @@ "@types/react": "16.9.42",

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

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

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