@fluentui/theme
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -5,3 +5,18 @@ { | ||
{ | ||
"date": "Tue, 25 Aug 2020 12:31:34 GMT", | ||
"date": "Wed, 26 Aug 2020 12:31:49 GMT", | ||
"tag": "@fluentui/theme_v0.1.2", | ||
"version": "0.1.2", | ||
"comments": { | ||
"patch": [ | ||
{ | ||
"comment": "Fix Theme and PartialTheme typing.", | ||
"author": "xgao@microsoft.com", | ||
"commit": "e5f362d4c0dca7d9a7648d76b121d1d39331c59c", | ||
"package": "@fluentui/theme" | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"date": "Tue, 25 Aug 2020 12:36:19 GMT", | ||
"tag": "@fluentui/theme_v0.1.1", | ||
@@ -8,0 +23,0 @@ "version": "0.1.1", |
# Change Log - @fluentui/theme | ||
This log was last generated on Tue, 25 Aug 2020 12:31:34 GMT and should not be manually modified. | ||
This log was last generated on Wed, 26 Aug 2020 12:31:49 GMT and should not be manually modified. | ||
<!-- Start content --> | ||
## [0.1.2](https://github.com/microsoft/fluentui/tree/@fluentui/theme_v0.1.2) | ||
Wed, 26 Aug 2020 12:31:49 GMT | ||
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/theme_v0.1.1..@fluentui/theme_v0.1.2) | ||
### Patches | ||
- Fix Theme and PartialTheme typing. ([PR #14741](https://github.com/microsoft/fluentui/pull/14741) by xgao@microsoft.com) | ||
## [0.1.1](https://github.com/microsoft/fluentui/tree/@fluentui/theme_v0.1.1) | ||
Tue, 25 Aug 2020 12:31:34 GMT | ||
Tue, 25 Aug 2020 12:36:19 GMT | ||
@@ -11,0 +20,0 @@ ### Patches |
@@ -1,2 +0,2 @@ | ||
import { IPartialTheme } from './ITheme'; | ||
import { IPartialTheme, ITheme } from './ITheme'; | ||
import { IStyleFunctionOrObject } from '@uifabric/utilities'; | ||
@@ -68,11 +68,12 @@ /** | ||
} | ||
export interface ComponentStyles { | ||
[componentName: string]: { | ||
styles?: IStyleFunctionOrObject<any, any>; | ||
}; | ||
} | ||
/** | ||
* A prepared (fully expanded) theme object. | ||
*/ | ||
export interface Theme extends IPartialTheme { | ||
components?: { | ||
[componentName: string]: { | ||
styles?: IStyleFunctionOrObject<any, any>; | ||
}; | ||
}; | ||
export interface Theme extends ITheme { | ||
components?: ComponentStyles; | ||
tokens?: Tokens; | ||
@@ -84,4 +85,6 @@ stylesheets?: string[]; | ||
*/ | ||
export interface PartialTheme extends Omit<Theme, 'tokens'> { | ||
export interface PartialTheme extends IPartialTheme { | ||
components?: ComponentStyles; | ||
tokens?: RecursivePartial<Tokens>; | ||
stylesheets?: string[]; | ||
} |
define(["require", "exports", "@uifabric/set-version"], function (require, exports, set_version_1) { | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
set_version_1.setVersion('@fluentui/theme', '0.1.1'); | ||
set_version_1.setVersion('@fluentui/theme', '0.1.2'); | ||
}); | ||
//# sourceMappingURL=version.js.map |
@@ -1,2 +0,2 @@ | ||
import { IPartialTheme } from './ITheme'; | ||
import { IPartialTheme, ITheme } from './ITheme'; | ||
import { IStyleFunctionOrObject } from '@uifabric/utilities'; | ||
@@ -68,11 +68,12 @@ /** | ||
} | ||
export interface ComponentStyles { | ||
[componentName: string]: { | ||
styles?: IStyleFunctionOrObject<any, any>; | ||
}; | ||
} | ||
/** | ||
* A prepared (fully expanded) theme object. | ||
*/ | ||
export interface Theme extends IPartialTheme { | ||
components?: { | ||
[componentName: string]: { | ||
styles?: IStyleFunctionOrObject<any, any>; | ||
}; | ||
}; | ||
export interface Theme extends ITheme { | ||
components?: ComponentStyles; | ||
tokens?: Tokens; | ||
@@ -84,4 +85,6 @@ stylesheets?: string[]; | ||
*/ | ||
export interface PartialTheme extends Omit<Theme, 'tokens'> { | ||
export interface PartialTheme extends IPartialTheme { | ||
components?: ComponentStyles; | ||
tokens?: RecursivePartial<Tokens>; | ||
stylesheets?: string[]; | ||
} |
@@ -6,3 +6,3 @@ "use strict"; | ||
var set_version_1 = require("@uifabric/set-version"); | ||
set_version_1.setVersion('@fluentui/theme', '0.1.1'); | ||
set_version_1.setVersion('@fluentui/theme', '0.1.2'); | ||
//# sourceMappingURL=version.js.map |
@@ -1,2 +0,2 @@ | ||
import { IPartialTheme } from './ITheme'; | ||
import { IPartialTheme, ITheme } from './ITheme'; | ||
import { IStyleFunctionOrObject } from '@uifabric/utilities'; | ||
@@ -68,11 +68,12 @@ /** | ||
} | ||
export interface ComponentStyles { | ||
[componentName: string]: { | ||
styles?: IStyleFunctionOrObject<any, any>; | ||
}; | ||
} | ||
/** | ||
* A prepared (fully expanded) theme object. | ||
*/ | ||
export interface Theme extends IPartialTheme { | ||
components?: { | ||
[componentName: string]: { | ||
styles?: IStyleFunctionOrObject<any, any>; | ||
}; | ||
}; | ||
export interface Theme extends ITheme { | ||
components?: ComponentStyles; | ||
tokens?: Tokens; | ||
@@ -84,4 +85,6 @@ stylesheets?: string[]; | ||
*/ | ||
export interface PartialTheme extends Omit<Theme, 'tokens'> { | ||
export interface PartialTheme extends IPartialTheme { | ||
components?: ComponentStyles; | ||
tokens?: RecursivePartial<Tokens>; | ||
stylesheets?: string[]; | ||
} |
// Do not modify this file; it is generated as part of publish. | ||
// The checked in version is a placeholder only and will not be updated. | ||
import { setVersion } from '@uifabric/set-version'; | ||
setVersion('@fluentui/theme', '0.1.1'); | ||
setVersion('@fluentui/theme', '0.1.2'); | ||
//# sourceMappingURL=version.js.map |
{ | ||
"name": "@fluentui/theme", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Basic building blocks for Fluent UI React Component themes", | ||
@@ -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
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
343236
4754